zenml-nightly 0.57.1.dev20240523__py3-none-any.whl → 0.58.0.dev20240528__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 (116) hide show
  1. README.md +1 -1
  2. RELEASE_NOTES.md +88 -0
  3. zenml/VERSION +1 -1
  4. zenml/cli/base.py +15 -16
  5. zenml/client.py +11 -1
  6. zenml/config/__init__.py +2 -0
  7. zenml/config/compiler.py +2 -2
  8. zenml/config/pipeline_configurations.py +2 -0
  9. zenml/config/pipeline_run_configuration.py +2 -0
  10. zenml/config/retry_config.py +27 -0
  11. zenml/config/server_config.py +13 -9
  12. zenml/config/step_configurations.py +2 -0
  13. zenml/constants.py +1 -0
  14. zenml/integrations/kubernetes/flavors/kubernetes_orchestrator_flavor.py +2 -0
  15. zenml/integrations/kubernetes/orchestrators/kubernetes_orchestrator.py +14 -0
  16. zenml/integrations/kubernetes/orchestrators/manifest_utils.py +4 -0
  17. zenml/integrations/mlflow/steps/mlflow_deployer.py +1 -1
  18. zenml/integrations/slack/alerters/slack_alerter.py +0 -2
  19. zenml/model/model.py +77 -45
  20. zenml/models/v2/core/model_version.py +1 -1
  21. zenml/models/v2/core/pipeline_run.py +12 -0
  22. zenml/models/v2/core/step_run.py +12 -0
  23. zenml/models/v2/misc/server_models.py +9 -3
  24. zenml/new/pipelines/run_utils.py +8 -2
  25. zenml/new/steps/step_context.py +6 -6
  26. zenml/new/steps/step_decorator.py +5 -0
  27. zenml/orchestrators/step_launcher.py +71 -53
  28. zenml/orchestrators/step_runner.py +28 -134
  29. zenml/orchestrators/utils.py +158 -1
  30. zenml/steps/base_step.py +16 -9
  31. zenml/utils/dashboard_utils.py +4 -8
  32. zenml/zen_server/dashboard/assets/{404-DtHkZQ2t.js → 404-DIgYOHj5.js} +1 -1
  33. zenml/zen_server/dashboard/assets/{@reactflow-BfgHyCG7.js → @reactflow-CF_wPv-n.js} +1 -1
  34. zenml/zen_server/dashboard/assets/{AwarenessChannel--3KuLcwp.js → AwarenessChannel-CqRB1HO9.js} +1 -1
  35. zenml/zen_server/dashboard/assets/{Cards-BzhQtXRm.js → Cards-DuJ8uYGM.js} +1 -1
  36. zenml/zen_server/dashboard/assets/{CodeSnippet-DpWTCS7Y.js → CodeSnippet-CBFcxTGW.js} +1 -1
  37. zenml/zen_server/dashboard/assets/Commands-BQb0_PAa.js +1 -0
  38. zenml/zen_server/dashboard/assets/CopyButton-BOFZCr5Z.js +2 -0
  39. zenml/zen_server/dashboard/assets/{CsvVizualization-B9nkywOx.js → CsvVizualization-D4QRvdDk.js} +1 -1
  40. zenml/zen_server/dashboard/assets/{Error-BbzLqrpR.js → Error-C9i5GdiH.js} +1 -1
  41. zenml/zen_server/dashboard/assets/{Helpbox-SS5TXXFE.js → Helpbox-CnuWjxcc.js} +1 -1
  42. zenml/zen_server/dashboard/assets/{Infobox-CV3EG_9t.js → Infobox-DV6YqO5N.js} +1 -1
  43. zenml/zen_server/dashboard/assets/{InlineAvatar-wz4SSxG5.js → InlineAvatar-DE_1-SDN.js} +1 -1
  44. zenml/zen_server/dashboard/assets/{PageHeader-Bz7qVuF9.js → PageHeader-D7r1Jb6H.js} +1 -1
  45. zenml/zen_server/dashboard/assets/{Pagination-BEP_9EMH.js → Pagination-0-Hv-4DJ.js} +1 -1
  46. zenml/zen_server/dashboard/assets/{SetPassword-B0yU0HIe.js → SetPassword-074iDZCm.js} +1 -1
  47. zenml/zen_server/dashboard/assets/SuccessStep-DEeKB0Wq.js +1 -0
  48. zenml/zen_server/dashboard/assets/{UpdatePasswordSchemas-yy-qBmO9.js → UpdatePasswordSchemas-4be5el9x.js} +1 -1
  49. zenml/zen_server/dashboard/assets/{cloud-only-DhayG_Yj.js → cloud-only-lInATL8-.js} +1 -1
  50. zenml/zen_server/dashboard/assets/connectors-video-C9qY4syJ.svg +21 -0
  51. zenml/zen_server/dashboard/assets/{index-Bbgc_ynV.css → index-D4zsM9tz.css} +1 -1
  52. zenml/zen_server/dashboard/assets/{index-UnEiujvd.js → index-DKgtNG83.js} +3 -3
  53. zenml/zen_server/dashboard/assets/{login-mutation-uNylFM6V.js → login-mutation-BfEeVmSl.js} +1 -1
  54. zenml/zen_server/dashboard/assets/{not-found-CvNr1Owb.js → not-found-an_3Z-Ep.js} +1 -1
  55. zenml/zen_server/dashboard/assets/page-0AGNIDYi.js +1 -0
  56. zenml/zen_server/dashboard/assets/{page-1rE3Idho.js → page-68OLHx44.js} +2 -2
  57. zenml/zen_server/dashboard/assets/page-6Gp_NCQL.js +14 -0
  58. zenml/zen_server/dashboard/assets/{page-BAuah6Do.js → page-B90yVxNb.js} +1 -1
  59. zenml/zen_server/dashboard/assets/page-Ba5l9-eg.js +1 -0
  60. zenml/zen_server/dashboard/assets/{page-BCpiaYh8.js → page-BiyORkbM.js} +1 -1
  61. zenml/zen_server/dashboard/assets/{page-DIZKf8ZO.js → page-Bjj9GHVF.js} +1 -1
  62. zenml/zen_server/dashboard/assets/{page-CM80cPrr.js → page-BnrWbXYJ.js} +1 -1
  63. zenml/zen_server/dashboard/assets/{page-CjxYF1Om.js → page-C0opS_t4.js} +1 -1
  64. zenml/zen_server/dashboard/assets/{page-BldrIvaZ.js → page-C1Jl09zF.js} +1 -1
  65. zenml/zen_server/dashboard/assets/{page-BVZ01rdG.js → page-C6Xn5o3F.js} +1 -1
  66. zenml/zen_server/dashboard/assets/page-CUqLUGbU.js +1 -0
  67. zenml/zen_server/dashboard/assets/page-CWpGAjSi.js +1 -0
  68. zenml/zen_server/dashboard/assets/{page-Btc7hKsa.js → page-Cea5XeRB.js} +1 -1
  69. zenml/zen_server/dashboard/assets/{page-BBUhx49Q.js → page-DFQa6C6e.js} +1 -1
  70. zenml/zen_server/dashboard/assets/page-DVAcOIuw.js +1 -0
  71. zenml/zen_server/dashboard/assets/{page-aQgPR2HA.js → page-Dn87PjPv.js} +1 -1
  72. zenml/zen_server/dashboard/assets/{page-sPFYi62U.js → page-GXA0bsIT.js} +1 -1
  73. zenml/zen_server/dashboard/assets/{page-PQQVONmL.js → page-NTQrxRsu.js} +2 -2
  74. zenml/zen_server/dashboard/assets/page-NlxFzoaz.js +1 -0
  75. zenml/zen_server/dashboard/assets/page-ZJ5Cy_-x.js +1 -0
  76. zenml/zen_server/dashboard/assets/{update-server-settings-mutation-B8N8nrWI.js → update-server-settings-mutation-CdcOI8-c.js} +1 -1
  77. zenml/zen_server/dashboard/assets/url-DLJUVIKc.js +1 -0
  78. zenml/zen_server/dashboard/index.html +4 -4
  79. zenml/zen_server/dashboard_legacy/asset-manifest.json +4 -4
  80. zenml/zen_server/dashboard_legacy/index.html +1 -1
  81. zenml/zen_server/dashboard_legacy/{precache-manifest.36c2742fac555eaab6995df9d81c08ab.js → precache-manifest.05e51e85bd64770b2708d408a88d7028.js} +4 -4
  82. zenml/zen_server/dashboard_legacy/service-worker.js +1 -1
  83. zenml/zen_server/dashboard_legacy/static/js/{main.1c1aaa11.chunk.js → main.41d438ec.chunk.js} +2 -2
  84. zenml/zen_server/dashboard_legacy/static/js/{main.1c1aaa11.chunk.js.map → main.41d438ec.chunk.js.map} +1 -1
  85. zenml/zen_server/deploy/helm/Chart.yaml +1 -1
  86. zenml/zen_server/deploy/helm/README.md +2 -2
  87. zenml/zen_server/deploy/helm/templates/_environment.tpl +5 -5
  88. zenml/zen_server/deploy/helm/values.yaml +13 -9
  89. zenml/zen_server/pipeline_deployment/utils.py +6 -2
  90. zenml/zen_server/routers/auth_endpoints.py +4 -4
  91. zenml/zen_server/zen_server_api.py +1 -1
  92. zenml/zen_stores/base_zen_store.py +2 -2
  93. zenml/zen_stores/migrations/versions/0.58.0_release.py +23 -0
  94. zenml/zen_stores/schemas/artifact_schemas.py +11 -2
  95. zenml/zen_stores/schemas/pipeline_run_schemas.py +12 -0
  96. zenml/zen_stores/schemas/step_run_schemas.py +17 -1
  97. zenml/zen_stores/sql_zen_store.py +9 -5
  98. {zenml_nightly-0.57.1.dev20240523.dist-info → zenml_nightly-0.58.0.dev20240528.dist-info}/METADATA +4 -4
  99. {zenml_nightly-0.57.1.dev20240523.dist-info → zenml_nightly-0.58.0.dev20240528.dist-info}/RECORD +102 -101
  100. zenml/zen_server/dashboard/assets/Commands-fpiuAaZ1.js +0 -1
  101. zenml/zen_server/dashboard/assets/CopyButton-DVKNxLl5.js +0 -2
  102. zenml/zen_server/dashboard/assets/SuccessStep-B8Qhr2kK.js +0 -1
  103. zenml/zen_server/dashboard/assets/VideoModal-qB9JWw-2.js +0 -1
  104. zenml/zen_server/dashboard/assets/page-3NFpYOpt.js +0 -1
  105. zenml/zen_server/dashboard/assets/page-BE7NJ8PH.js +0 -1
  106. zenml/zen_server/dashboard/assets/page-BTYWG9gF.js +0 -1
  107. zenml/zen_server/dashboard/assets/page-BuBHmjwQ.js +0 -1
  108. zenml/zen_server/dashboard/assets/page-C-Jw_wjv.js +0 -1
  109. zenml/zen_server/dashboard/assets/page-CeMgQAs7.js +0 -14
  110. zenml/zen_server/dashboard/assets/page-X0_g3JVr.js +0 -1
  111. zenml/zen_server/dashboard/assets/page-ijCkM2BW.js +0 -1
  112. zenml/zen_server/dashboard/assets/refresh-CdiBx6nL.js +0 -1
  113. zenml/zen_server/dashboard/assets/url-BxOqGmlk.js +0 -1
  114. {zenml_nightly-0.57.1.dev20240523.dist-info → zenml_nightly-0.58.0.dev20240528.dist-info}/LICENSE +0 -0
  115. {zenml_nightly-0.57.1.dev20240523.dist-info → zenml_nightly-0.58.0.dev20240528.dist-info}/WHEEL +0 -0
  116. {zenml_nightly-0.57.1.dev20240523.dist-info → zenml_nightly-0.58.0.dev20240528.dist-info}/entry_points.txt +0 -0
@@ -1 +1 @@
1
- import{j as e}from"./@tanstack-GFKzItNf.js";import{t as v}from"./zod-DueGCdzx.js";import{I as w,ar as g,h as j,q as L,ak as b,al as M,am as V,an as S,ao as Z,av as H}from"./index-UnEiujvd.js";import{r as l}from"./@radix-BrEjOMvl.js";import{u as y,C as N}from"./index.esm-DNxbrOmx.js";import{d as E,p as F,A as R}from"./SuccessStep-B8Qhr2kK.js";import{S as k,a as P}from"./file-text-Bp-4kjON.js";import{S as B}from"./play-circle-DsngbHkK.js";function l1({email:s,fullName:a,submitHandler:i}){const c=l.useId(),r=l.useId(),o=l.useId(),{register:m,handleSubmit:d,control:C,watch:n,formState:{isValid:x}}=y({resolver:v(E),defaultValues:{fullName:a||"",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:d(i),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:c,className:"text-text-sm",children:"Full Name (optional)"}),e.jsx(w,{...m("fullName"),id:c,className:"w-full"})]}),e.jsxs("div",{className:"space-y-0.5",children:[e.jsxs("label",{htmlFor:r,className:"text-text-sm",children:["Email ",!n("getUpdates")&&e.jsx(e.Fragment,{children:"(optional)"})]}),e.jsx(w,{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(N,{control:C,name:"getUpdates",render:({field:{onChange:t,value:p}})=>e.jsx(g,{checked:p,onCheckedChange:h=>t(!!h),id:o})}),e.jsx("label",{htmlFor:o,className:"text-text-sm",children:"I want to receive news and recommendations about how to use ZenML"})]}),e.jsx(j,{disabled:!x,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 U=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},l.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"})),_=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},l.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"})),I=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},l.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"})),u=l.forwardRef(({children:s,className:a,id:i,...c},r)=>e.jsxs("div",{className:"min-h-[160px] min-w-[160px]",children:[e.jsx("input",{id:i,...c,ref:r,className:L("peer sr-only",a),type:"radio"}),e.jsx("label",{htmlFor:i,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 hover:cursor-pointer peer-checked:border-primary-100 peer-checked:bg-primary-25 peer-focus-visible:border-primary-100",children:s})]}));u.displayName="UseRadioButton";const A=["0","1-5","6-25","26-99","100+"];function s1({submitHandler:s,user:a}){var m,d,C,n;const{control:i,handleSubmit:c,register:r,formState:{isValid:o}}=y({defaultValues:{primaryUse:(d=(m=a==null?void 0:a.metadata)==null?void 0:m.user_metadata)==null?void 0:d.primary_use,amountProductionModels:(n=(C=a==null?void 0:a.metadata)==null?void 0:C.user_metadata)==null?void 0:n.models_production},resolver:v(F)});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:c(s),className:"space-y-5",children:[e.jsxs("div",{className:"grid grid-cols-1 gap-[20px] md:grid-cols-3",children:[e.jsxs(u,{id:"use-personal",...r("primaryUse"),value:"personal",children:[e.jsx(I,{className:"h-7 w-7 fill-primary-400"}),e.jsx("span",{children:"Personal"})]}),e.jsxs(u,{...r("primaryUse"),id:"use-work",value:"work",children:[e.jsx(U,{className:"h-7 w-7 fill-primary-400"}),e.jsx("span",{children:"Work"})]}),e.jsxs(u,{...r("primaryUse"),id:"use-student",value:"student",children:[e.jsx(_,{className:"h-7 w-7 fill-primary-400"}),e.jsx("span",{children:"Student"})]})]}),e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("label",{htmlFor:"amount-select",className:"font-semibold",children:"How many models do you have in production?"}),e.jsx(N,{name:"amountProductionModels",control:i,render:({field:{ref:x,onChange:t,...p}})=>e.jsxs(b,{...p,onValueChange:t,children:[e.jsx(M,{id:"amount-select",className:"w-full border border-neutral-300 bg-theme-surface-primary px-2 text-left text-text-md",children:e.jsx(V,{placeholder:"Select a range"})}),e.jsx(S,{className:"",children:A.map((h,f)=>e.jsx(Z,{value:h,children:e.jsx("div",{className:"flex items-center gap-1",children:h})},f))})]})})]}),e.jsx(j,{disabled:!o,className:"w-full text-center",size:"md",children:e.jsx("span",{className:"w-full",children:"Continue"})})]})]})}const z=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"#0A66C2",xmlns:"http://www.w3.org/2000/svg",...s},l.createElement("path",{d:"M19.0409 18.8729H16.0776V14.2779C16.0776 13.1821 16.0578 11.7716 14.5363 11.7716C12.9929 11.7716 12.7567 12.9654 12.7567 14.1981V18.8726H9.79336V9.42332H12.6382V10.7147H12.678C12.9627 10.2327 13.3741 9.83617 13.8684 9.56738C14.3627 9.29859 14.9214 9.16757 15.4849 9.18828C18.4884 9.18828 19.0422 11.1444 19.0422 13.6892L19.0409 18.8729ZM6.44969 8.13167C6.10957 8.13173 5.77706 8.03192 5.49422 7.84487C5.21139 7.65782 4.99094 7.39193 4.86073 7.08081C4.73051 6.7697 4.69638 6.42734 4.76268 6.09703C4.82897 5.76672 4.99271 5.46329 5.23317 5.22511C5.47363 4.98694 5.78002 4.82471 6.11359 4.75895C6.44716 4.69319 6.79293 4.72685 7.10719 4.85567C7.42144 4.98449 7.69006 5.20269 7.87907 5.48267C8.06808 5.76265 8.16901 6.09184 8.16907 6.42861C8.16911 6.65222 8.12466 6.87365 8.03827 7.08025C7.95189 7.28685 7.82527 7.47458 7.66561 7.63273C7.50595 7.79087 7.31638 7.91633 7.10775 8.00193C6.89913 8.08754 6.67552 8.13163 6.44969 8.13167ZM7.93137 18.8729H4.96491V9.42332H7.93137V18.8729ZM20.5183 2.00135H3.47583C3.08901 1.99703 2.71626 2.14494 2.43953 2.41258C2.1628 2.68023 2.00472 3.04571 2 3.42871V20.3734C2.00456 20.7565 2.16255 21.1223 2.43927 21.3902C2.71599 21.6581 3.08882 21.8063 3.47583 21.8022H20.5183C20.9061 21.8071 21.28 21.6593 21.5578 21.3914C21.8356 21.1234 21.9946 20.7573 22 20.3734V3.42749C21.9945 3.04373 21.8353 2.67783 21.5575 2.41019C21.2797 2.14255 20.9059 1.99506 20.5183 2.00013"})),T=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},l.createElement("g",{clipPath:"url(#clip0_1732_1425)"},l.createElement("path",{d:"M17.743 3H20.7952L14.1285 10.6707L22 21.0723H15.8153L10.996 14.7671L5.45382 21.0723H2.40161L9.5502 12.8795L2 3H8.34538L12.7229 8.78313L17.743 3ZM16.6586 19.2249H18.3454L7.42169 4.72691H5.5743L16.6586 19.2249Z",fill:"#7A3EF4"})),l.createElement("defs",null,l.createElement("clipPath",{id:"clip0_1732_1425"},l.createElement("rect",{width:20,height:18.0723,fill:"white",transform:"translate(2 3)"})))),W=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},l.createElement("g",{clipPath:"url(#clip0_1732_1440)"},l.createElement("path",{d:"M22 2H2V22H22V2Z",fill:"#7A3EF4"}),l.createElement("path",{d:"M14.0344 6.71565C14.2078 7.45081 14.868 7.99846 15.6562 7.99846C16.5766 7.99846 17.3226 7.25237 17.3226 6.33206C17.3226 5.41174 16.5766 4.66565 15.6562 4.66565C14.8516 4.66565 14.1805 5.23596 14.0242 5.99456C12.6765 6.13909 11.6242 7.28206 11.6242 8.66721C11.6242 8.67034 11.6242 8.67268 11.6242 8.67581C10.1586 8.73752 8.8203 9.15471 7.7578 9.81331C7.36327 9.50784 6.86796 9.32581 6.33046 9.32581C5.04061 9.32581 3.9953 10.3711 3.9953 11.661C3.9953 12.5969 4.5453 13.4031 5.33983 13.7758C5.41718 16.4867 8.37108 18.6672 12.0047 18.6672C15.6383 18.6672 18.5961 16.4844 18.6695 13.7711C19.4578 13.3961 20.0031 12.5922 20.0031 11.6617C20.0031 10.3719 18.9578 9.32659 17.668 9.32659C17.1328 9.32659 16.6398 9.50706 16.2461 9.81018C15.1742 9.1469 13.8211 8.72971 12.3406 8.67424C12.3406 8.6719 12.3406 8.67034 12.3406 8.66799C12.3406 7.67581 13.0781 6.85237 14.0344 6.71721V6.71565ZM7.66405 13.143C7.70311 12.2961 8.26561 11.6461 8.91952 11.6461C9.57343 11.6461 10.0734 12.3328 10.0344 13.1797C9.9953 14.0266 9.50702 14.3344 8.85233 14.3344C8.19764 14.3344 7.62499 13.9899 7.66405 13.143ZM15.0906 11.6461C15.7453 11.6461 16.3078 12.2961 16.3461 13.143C16.3851 13.9899 15.8117 14.3344 15.1578 14.3344C14.5039 14.3344 14.0148 14.0274 13.9758 13.1797C13.9367 12.3328 14.4359 11.6461 15.0906 11.6461ZM14.3125 15.1024C14.4351 15.1149 14.5133 15.2422 14.4656 15.3563C14.0633 16.318 13.1133 16.9938 12.0047 16.9938C10.8961 16.9938 9.94686 16.318 9.54374 15.3563C9.49608 15.2422 9.57421 15.1149 9.69686 15.1024C10.4156 15.0297 11.193 14.9899 12.0047 14.9899C12.8164 14.9899 13.593 15.0297 14.3125 15.1024Z",fill:"white"})),l.createElement("defs",null,l.createElement("clipPath",{id:"clip0_1732_1440"},l.createElement("rect",{width:20,height:20,fill:"white",transform:"translate(2 2)"})))),D=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...s},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 4C7.84315 4 6.5 5.34315 6.5 7C6.5 8.65685 7.84315 10 9.5 10C11.1569 10 12.5 8.65685 12.5 7C12.5 5.34315 11.1569 4 9.5 4ZM4.5 7C4.5 4.23858 6.73858 2 9.5 2C12.2614 2 14.5 4.23858 14.5 7C14.5 9.76142 12.2614 12 9.5 12C6.73858 12 4.5 9.76142 4.5 7ZM14.5731 2.91554C14.7803 2.40361 15.3633 2.1566 15.8752 2.36382C17.7058 3.10481 19 4.90006 19 7C19 9.09994 17.7058 10.8952 15.8752 11.6362C15.3633 11.8434 14.7803 11.5964 14.5731 11.0845C14.3658 10.5725 14.6129 9.98953 15.1248 9.7823C16.2261 9.33652 17 8.25744 17 7C17 5.74256 16.2261 4.66348 15.1248 4.2177C14.6129 4.01047 14.3658 3.42748 14.5731 2.91554ZM7.96448 14H11.0355C11.9373 14 12.6647 14 13.2567 14.0404C13.8654 14.0819 14.4037 14.1695 14.9134 14.3806C16.1386 14.8881 17.1119 15.8614 17.6194 17.0866C17.8305 17.5963 17.9181 18.1346 17.9596 18.7433C18 19.3353 18 20.0627 18 20.9645V21C18 21.5523 17.5523 22 17 22C16.4477 22 16 21.5523 16 21C16 20.0544 15.9995 19.3953 15.9643 18.8794C15.9297 18.3725 15.865 18.0773 15.7716 17.8519C15.4672 17.1169 14.8831 16.5328 14.1481 16.2284C13.9227 16.135 13.6275 16.0703 13.1206 16.0357C12.6047 16.0005 11.9456 16 11 16H8C7.05444 16 6.39534 16.0005 5.87945 16.0357C5.37254 16.0703 5.07733 16.135 4.85195 16.2284C4.11687 16.5328 3.53284 17.1169 3.22836 17.8519C3.135 18.0773 3.07033 18.3725 3.03574 18.8794C3.00054 19.3953 3 20.0544 3 21C3 21.5523 2.55229 22 2 22C1.44772 22 1 21.5523 1 21L1 20.9645C0.999993 20.0627 0.999988 19.3353 1.04038 18.7433C1.08191 18.1346 1.16948 17.5963 1.3806 17.0866C1.88807 15.8614 2.86144 14.8881 4.08658 14.3806C4.59628 14.1695 5.13456 14.0819 5.74331 14.0404C6.33531 14 7.06272 14 7.96448 14ZM18.0316 14.8768C18.1692 14.3419 18.7144 14.0199 19.2493 14.1576C21.4056 14.7126 23 16.6688 23 19V21C23 21.5523 22.5523 22 22 22C21.4477 22 21 21.5523 21 21V19C21 17.6035 20.0449 16.4275 18.7507 16.0945C18.2159 15.9568 17.8939 15.4116 18.0316 14.8768Z"})),O=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},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"})),X=[{channel:"LinkedIn",icon:e.jsx(z,{className:"h-5 w-5 fill-primary-400"})},{channel:"X / Twitter",icon:e.jsx(T,{className:"h-5 w-5"})},{channel:"Newsletter",icon:e.jsx(k,{className:"h-5 w-5 fill-primary-400"})},{channel:"Webinar",icon:e.jsx(B,{className:"h-5 w-5 fill-primary-400"})},{channel:"Reddit",icon:e.jsx(W,{className:"h-5 w-5"})},{channel:"Conference",icon:e.jsx(H,{className:"h-5 w-5 fill-primary-400"})},{channel:"Recommendation",icon:e.jsx(D,{className:"h-5 w-5 fill-primary-400"})},{channel:"Blog",icon:e.jsx(P,{className:"h-5 w-5 fill-primary-400"})},{channel:"Google / Search Engine",icon:e.jsx(O,{className:"h-5 w-5 fill-primary-400"})}];function a1({submitHandler:s}){const{register:a,setValue:i,watch:c,handleSubmit:r,unregister:o,control:m,formState:{isValid:d}}=y({resolver:v(R),defaultValues:{channels:[]}}),C=c("other");return l.useEffect(()=>{C?a("otherVal"):o("otherVal")},[a,o,C]),e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-display-xs font-semibold",children:"How did you hear about us?"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Select all the applicable options"})]}),e.jsxs("form",{onSubmit:r(s),className:"space-y-5",children:[e.jsxs("div",{className:"grid w-full grid-cols-1 gap-[20px] md:grid-cols-2 xl:min-w-[700px]",children:[e.jsx(N,{control:m,name:"channels",render:({field:{onChange:n,value:x}})=>e.jsx(e.Fragment,{children:X.map((t,p)=>e.jsxs("div",{className:"flex items-center gap-1 rounded-md bg-theme-surface-primary pl-3",children:[e.jsx(g,{onCheckedChange:h=>{n(h?[...x,t.channel]:x.filter(f=>f!==t.channel))},value:t.channel,className:"h-3 w-3",id:t.channel}),e.jsxs("label",{className:"flex w-full items-center gap-1 py-3 pr-3 text-theme-text-secondary hover:cursor-pointer",htmlFor:t.channel,children:[t.icon,t.channel]})]},p))})}),e.jsxs("div",{className:"flex items-center rounded-md bg-theme-surface-primary pl-3",children:[e.jsx(g,{onCheckedChange:n=>i("other",!!n),...a("other",{value:!1}),className:"mr-2 h-3 w-3",id:"other"}),e.jsx("label",{className:"w-full py-3 pr-3 text-theme-text-secondary hover:cursor-pointer",htmlFor:"other",children:"Other (specify)"})]}),C&&e.jsx(w,{inputSize:"lg",...a("otherVal"),placeholder:"Specify...",className:"w-full border-theme-border-minimal"})]}),e.jsx(j,{disabled:!d,type:"submit",className:"w-full text-center",size:"md",children:e.jsx("span",{className:"w-full",children:"Continue"})})]})]})}export{l1 as A,s1 as P,a1 as a};
1
+ import{j as e}from"./@tanstack-GFKzItNf.js";import{t as v}from"./zod-DueGCdzx.js";import{I as w,ar as g,h as j,q as L,ak as b,al as M,am as V,an as S,ao as Z,av as H}from"./index-DKgtNG83.js";import{r as l}from"./@radix-BrEjOMvl.js";import{u as y,C as N}from"./index.esm-DNxbrOmx.js";import{d as E,p as F,A as R}from"./SuccessStep-DEeKB0Wq.js";import{S as k,a as P}from"./file-text-Bp-4kjON.js";import{S as B}from"./play-circle-DsngbHkK.js";function l1({email:s,fullName:a,submitHandler:i}){const c=l.useId(),r=l.useId(),o=l.useId(),{register:m,handleSubmit:d,control:C,watch:n,formState:{isValid:x}}=y({resolver:v(E),defaultValues:{fullName:a||"",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:d(i),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:c,className:"text-text-sm",children:"Full Name (optional)"}),e.jsx(w,{...m("fullName"),id:c,className:"w-full"})]}),e.jsxs("div",{className:"space-y-0.5",children:[e.jsxs("label",{htmlFor:r,className:"text-text-sm",children:["Email ",!n("getUpdates")&&e.jsx(e.Fragment,{children:"(optional)"})]}),e.jsx(w,{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(N,{control:C,name:"getUpdates",render:({field:{onChange:t,value:p}})=>e.jsx(g,{checked:p,onCheckedChange:h=>t(!!h),id:o})}),e.jsx("label",{htmlFor:o,className:"text-text-sm",children:"I want to receive news and recommendations about how to use ZenML"})]}),e.jsx(j,{disabled:!x,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 U=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},l.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"})),_=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},l.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"})),I=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},l.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"})),u=l.forwardRef(({children:s,className:a,id:i,...c},r)=>e.jsxs("div",{className:"min-h-[160px] min-w-[160px]",children:[e.jsx("input",{id:i,...c,ref:r,className:L("peer sr-only",a),type:"radio"}),e.jsx("label",{htmlFor:i,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 hover:cursor-pointer peer-checked:border-primary-100 peer-checked:bg-primary-25 peer-focus-visible:border-primary-100",children:s})]}));u.displayName="UseRadioButton";const A=["0","1-5","6-25","26-99","100+"];function s1({submitHandler:s,user:a}){var m,d,C,n;const{control:i,handleSubmit:c,register:r,formState:{isValid:o}}=y({defaultValues:{primaryUse:(d=(m=a==null?void 0:a.metadata)==null?void 0:m.user_metadata)==null?void 0:d.primary_use,amountProductionModels:(n=(C=a==null?void 0:a.metadata)==null?void 0:C.user_metadata)==null?void 0:n.models_production},resolver:v(F)});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:c(s),className:"space-y-5",children:[e.jsxs("div",{className:"grid grid-cols-1 gap-[20px] md:grid-cols-3",children:[e.jsxs(u,{id:"use-personal",...r("primaryUse"),value:"personal",children:[e.jsx(I,{className:"h-7 w-7 fill-primary-400"}),e.jsx("span",{children:"Personal"})]}),e.jsxs(u,{...r("primaryUse"),id:"use-work",value:"work",children:[e.jsx(U,{className:"h-7 w-7 fill-primary-400"}),e.jsx("span",{children:"Work"})]}),e.jsxs(u,{...r("primaryUse"),id:"use-student",value:"student",children:[e.jsx(_,{className:"h-7 w-7 fill-primary-400"}),e.jsx("span",{children:"Student"})]})]}),e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("label",{htmlFor:"amount-select",className:"font-semibold",children:"How many models do you have in production?"}),e.jsx(N,{name:"amountProductionModels",control:i,render:({field:{ref:x,onChange:t,...p}})=>e.jsxs(b,{...p,onValueChange:t,children:[e.jsx(M,{id:"amount-select",className:"w-full border border-neutral-300 bg-theme-surface-primary px-2 text-left text-text-md",children:e.jsx(V,{placeholder:"Select a range"})}),e.jsx(S,{className:"",children:A.map((h,f)=>e.jsx(Z,{value:h,children:e.jsx("div",{className:"flex items-center gap-1",children:h})},f))})]})})]}),e.jsx(j,{disabled:!o,className:"w-full text-center",size:"md",children:e.jsx("span",{className:"w-full",children:"Continue"})})]})]})}const z=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"#0A66C2",xmlns:"http://www.w3.org/2000/svg",...s},l.createElement("path",{d:"M19.0409 18.8729H16.0776V14.2779C16.0776 13.1821 16.0578 11.7716 14.5363 11.7716C12.9929 11.7716 12.7567 12.9654 12.7567 14.1981V18.8726H9.79336V9.42332H12.6382V10.7147H12.678C12.9627 10.2327 13.3741 9.83617 13.8684 9.56738C14.3627 9.29859 14.9214 9.16757 15.4849 9.18828C18.4884 9.18828 19.0422 11.1444 19.0422 13.6892L19.0409 18.8729ZM6.44969 8.13167C6.10957 8.13173 5.77706 8.03192 5.49422 7.84487C5.21139 7.65782 4.99094 7.39193 4.86073 7.08081C4.73051 6.7697 4.69638 6.42734 4.76268 6.09703C4.82897 5.76672 4.99271 5.46329 5.23317 5.22511C5.47363 4.98694 5.78002 4.82471 6.11359 4.75895C6.44716 4.69319 6.79293 4.72685 7.10719 4.85567C7.42144 4.98449 7.69006 5.20269 7.87907 5.48267C8.06808 5.76265 8.16901 6.09184 8.16907 6.42861C8.16911 6.65222 8.12466 6.87365 8.03827 7.08025C7.95189 7.28685 7.82527 7.47458 7.66561 7.63273C7.50595 7.79087 7.31638 7.91633 7.10775 8.00193C6.89913 8.08754 6.67552 8.13163 6.44969 8.13167ZM7.93137 18.8729H4.96491V9.42332H7.93137V18.8729ZM20.5183 2.00135H3.47583C3.08901 1.99703 2.71626 2.14494 2.43953 2.41258C2.1628 2.68023 2.00472 3.04571 2 3.42871V20.3734C2.00456 20.7565 2.16255 21.1223 2.43927 21.3902C2.71599 21.6581 3.08882 21.8063 3.47583 21.8022H20.5183C20.9061 21.8071 21.28 21.6593 21.5578 21.3914C21.8356 21.1234 21.9946 20.7573 22 20.3734V3.42749C21.9945 3.04373 21.8353 2.67783 21.5575 2.41019C21.2797 2.14255 20.9059 1.99506 20.5183 2.00013"})),T=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},l.createElement("g",{clipPath:"url(#clip0_1732_1425)"},l.createElement("path",{d:"M17.743 3H20.7952L14.1285 10.6707L22 21.0723H15.8153L10.996 14.7671L5.45382 21.0723H2.40161L9.5502 12.8795L2 3H8.34538L12.7229 8.78313L17.743 3ZM16.6586 19.2249H18.3454L7.42169 4.72691H5.5743L16.6586 19.2249Z",fill:"#7A3EF4"})),l.createElement("defs",null,l.createElement("clipPath",{id:"clip0_1732_1425"},l.createElement("rect",{width:20,height:18.0723,fill:"white",transform:"translate(2 3)"})))),W=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},l.createElement("g",{clipPath:"url(#clip0_1732_1440)"},l.createElement("path",{d:"M22 2H2V22H22V2Z",fill:"#7A3EF4"}),l.createElement("path",{d:"M14.0344 6.71565C14.2078 7.45081 14.868 7.99846 15.6562 7.99846C16.5766 7.99846 17.3226 7.25237 17.3226 6.33206C17.3226 5.41174 16.5766 4.66565 15.6562 4.66565C14.8516 4.66565 14.1805 5.23596 14.0242 5.99456C12.6765 6.13909 11.6242 7.28206 11.6242 8.66721C11.6242 8.67034 11.6242 8.67268 11.6242 8.67581C10.1586 8.73752 8.8203 9.15471 7.7578 9.81331C7.36327 9.50784 6.86796 9.32581 6.33046 9.32581C5.04061 9.32581 3.9953 10.3711 3.9953 11.661C3.9953 12.5969 4.5453 13.4031 5.33983 13.7758C5.41718 16.4867 8.37108 18.6672 12.0047 18.6672C15.6383 18.6672 18.5961 16.4844 18.6695 13.7711C19.4578 13.3961 20.0031 12.5922 20.0031 11.6617C20.0031 10.3719 18.9578 9.32659 17.668 9.32659C17.1328 9.32659 16.6398 9.50706 16.2461 9.81018C15.1742 9.1469 13.8211 8.72971 12.3406 8.67424C12.3406 8.6719 12.3406 8.67034 12.3406 8.66799C12.3406 7.67581 13.0781 6.85237 14.0344 6.71721V6.71565ZM7.66405 13.143C7.70311 12.2961 8.26561 11.6461 8.91952 11.6461C9.57343 11.6461 10.0734 12.3328 10.0344 13.1797C9.9953 14.0266 9.50702 14.3344 8.85233 14.3344C8.19764 14.3344 7.62499 13.9899 7.66405 13.143ZM15.0906 11.6461C15.7453 11.6461 16.3078 12.2961 16.3461 13.143C16.3851 13.9899 15.8117 14.3344 15.1578 14.3344C14.5039 14.3344 14.0148 14.0274 13.9758 13.1797C13.9367 12.3328 14.4359 11.6461 15.0906 11.6461ZM14.3125 15.1024C14.4351 15.1149 14.5133 15.2422 14.4656 15.3563C14.0633 16.318 13.1133 16.9938 12.0047 16.9938C10.8961 16.9938 9.94686 16.318 9.54374 15.3563C9.49608 15.2422 9.57421 15.1149 9.69686 15.1024C10.4156 15.0297 11.193 14.9899 12.0047 14.9899C12.8164 14.9899 13.593 15.0297 14.3125 15.1024Z",fill:"white"})),l.createElement("defs",null,l.createElement("clipPath",{id:"clip0_1732_1440"},l.createElement("rect",{width:20,height:20,fill:"white",transform:"translate(2 2)"})))),D=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...s},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 4C7.84315 4 6.5 5.34315 6.5 7C6.5 8.65685 7.84315 10 9.5 10C11.1569 10 12.5 8.65685 12.5 7C12.5 5.34315 11.1569 4 9.5 4ZM4.5 7C4.5 4.23858 6.73858 2 9.5 2C12.2614 2 14.5 4.23858 14.5 7C14.5 9.76142 12.2614 12 9.5 12C6.73858 12 4.5 9.76142 4.5 7ZM14.5731 2.91554C14.7803 2.40361 15.3633 2.1566 15.8752 2.36382C17.7058 3.10481 19 4.90006 19 7C19 9.09994 17.7058 10.8952 15.8752 11.6362C15.3633 11.8434 14.7803 11.5964 14.5731 11.0845C14.3658 10.5725 14.6129 9.98953 15.1248 9.7823C16.2261 9.33652 17 8.25744 17 7C17 5.74256 16.2261 4.66348 15.1248 4.2177C14.6129 4.01047 14.3658 3.42748 14.5731 2.91554ZM7.96448 14H11.0355C11.9373 14 12.6647 14 13.2567 14.0404C13.8654 14.0819 14.4037 14.1695 14.9134 14.3806C16.1386 14.8881 17.1119 15.8614 17.6194 17.0866C17.8305 17.5963 17.9181 18.1346 17.9596 18.7433C18 19.3353 18 20.0627 18 20.9645V21C18 21.5523 17.5523 22 17 22C16.4477 22 16 21.5523 16 21C16 20.0544 15.9995 19.3953 15.9643 18.8794C15.9297 18.3725 15.865 18.0773 15.7716 17.8519C15.4672 17.1169 14.8831 16.5328 14.1481 16.2284C13.9227 16.135 13.6275 16.0703 13.1206 16.0357C12.6047 16.0005 11.9456 16 11 16H8C7.05444 16 6.39534 16.0005 5.87945 16.0357C5.37254 16.0703 5.07733 16.135 4.85195 16.2284C4.11687 16.5328 3.53284 17.1169 3.22836 17.8519C3.135 18.0773 3.07033 18.3725 3.03574 18.8794C3.00054 19.3953 3 20.0544 3 21C3 21.5523 2.55229 22 2 22C1.44772 22 1 21.5523 1 21L1 20.9645C0.999993 20.0627 0.999988 19.3353 1.04038 18.7433C1.08191 18.1346 1.16948 17.5963 1.3806 17.0866C1.88807 15.8614 2.86144 14.8881 4.08658 14.3806C4.59628 14.1695 5.13456 14.0819 5.74331 14.0404C6.33531 14 7.06272 14 7.96448 14ZM18.0316 14.8768C18.1692 14.3419 18.7144 14.0199 19.2493 14.1576C21.4056 14.7126 23 16.6688 23 19V21C23 21.5523 22.5523 22 22 22C21.4477 22 21 21.5523 21 21V19C21 17.6035 20.0449 16.4275 18.7507 16.0945C18.2159 15.9568 17.8939 15.4116 18.0316 14.8768Z"})),O=s=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},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"})),X=[{channel:"LinkedIn",icon:e.jsx(z,{className:"h-5 w-5 fill-primary-400"})},{channel:"X / Twitter",icon:e.jsx(T,{className:"h-5 w-5"})},{channel:"Newsletter",icon:e.jsx(k,{className:"h-5 w-5 fill-primary-400"})},{channel:"Webinar",icon:e.jsx(B,{className:"h-5 w-5 fill-primary-400"})},{channel:"Reddit",icon:e.jsx(W,{className:"h-5 w-5"})},{channel:"Conference",icon:e.jsx(H,{className:"h-5 w-5 fill-primary-400"})},{channel:"Recommendation",icon:e.jsx(D,{className:"h-5 w-5 fill-primary-400"})},{channel:"Blog",icon:e.jsx(P,{className:"h-5 w-5 fill-primary-400"})},{channel:"Google / Search Engine",icon:e.jsx(O,{className:"h-5 w-5 fill-primary-400"})}];function a1({submitHandler:s}){const{register:a,setValue:i,watch:c,handleSubmit:r,unregister:o,control:m,formState:{isValid:d}}=y({resolver:v(R),defaultValues:{channels:[]}}),C=c("other");return l.useEffect(()=>{C?a("otherVal"):o("otherVal")},[a,o,C]),e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-display-xs font-semibold",children:"How did you hear about us?"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Select all the applicable options"})]}),e.jsxs("form",{onSubmit:r(s),className:"space-y-5",children:[e.jsxs("div",{className:"grid w-full grid-cols-1 gap-[20px] md:grid-cols-2 xl:min-w-[700px]",children:[e.jsx(N,{control:m,name:"channels",render:({field:{onChange:n,value:x}})=>e.jsx(e.Fragment,{children:X.map((t,p)=>e.jsxs("div",{className:"flex items-center gap-1 rounded-md bg-theme-surface-primary pl-3",children:[e.jsx(g,{onCheckedChange:h=>{n(h?[...x,t.channel]:x.filter(f=>f!==t.channel))},value:t.channel,className:"h-3 w-3",id:t.channel}),e.jsxs("label",{className:"flex w-full items-center gap-1 py-3 pr-3 text-theme-text-secondary hover:cursor-pointer",htmlFor:t.channel,children:[t.icon,t.channel]})]},p))})}),e.jsxs("div",{className:"flex items-center rounded-md bg-theme-surface-primary pl-3",children:[e.jsx(g,{onCheckedChange:n=>i("other",!!n),...a("other",{value:!1}),className:"mr-2 h-3 w-3",id:"other"}),e.jsx("label",{className:"w-full py-3 pr-3 text-theme-text-secondary hover:cursor-pointer",htmlFor:"other",children:"Other (specify)"})]}),C&&e.jsx(w,{inputSize:"lg",...a("otherVal"),placeholder:"Specify...",className:"w-full border-theme-border-minimal"})]}),e.jsx(j,{disabled:!d,type:"submit",className:"w-full text-center",size:"md",children:e.jsx("span",{className:"w-full",children:"Continue"})})]})]})}export{l1 as A,s1 as P,a1 as a};
@@ -1 +1 @@
1
- import{j as e}from"./@tanstack-GFKzItNf.js";import{B as a,d as i,p as n}from"./index-UnEiujvd.js";import{r as l}from"./@radix-BrEjOMvl.js";import{S as c,a as o}from"./file-text-Bp-4kjON.js";import{S as m}from"./terminal-Cb3ce-nr.js";const x=t=>l.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},l.createElement("path",{d:"M6.20195 14.6383C6.20195 15.7947 5.25733 16.7393 4.10098 16.7393C2.94463 16.7393 2 15.7947 2 14.6383C2 13.482 2.94463 12.5374 4.10098 12.5374H6.20195V14.6383Z",fill:"#E01E5A"}),l.createElement("path",{d:"M7.26056 14.6383C7.26056 13.482 8.20518 12.5374 9.36154 12.5374C10.5179 12.5374 11.4625 13.482 11.4625 14.6383V19.8989C11.4625 21.0553 10.5179 21.9999 9.36154 21.9999C8.20518 21.9999 7.26056 21.0553 7.26056 19.8989V14.6383Z",fill:"#E01E5A"}),l.createElement("path",{d:"M9.36154 6.20195C8.20518 6.20195 7.26056 5.25733 7.26056 4.10098C7.26056 2.94463 8.20518 2 9.36154 2C10.5179 2 11.4625 2.94463 11.4625 4.10098V6.20195H9.36154Z",fill:"#36C5F0"}),l.createElement("path",{d:"M9.36156 7.26062C10.5179 7.26062 11.4625 8.20525 11.4625 9.3616C11.4625 10.5179 10.5179 11.4626 9.36156 11.4626H4.10098C2.94463 11.4626 2 10.5179 2 9.3616C2 8.20525 2.94463 7.26062 4.10098 7.26062H9.36156Z",fill:"#36C5F0"}),l.createElement("path",{d:"M17.798 9.3616C17.798 8.20525 18.7426 7.26062 19.8989 7.26062C21.0553 7.26062 21.9999 8.20525 21.9999 9.3616C21.9999 10.5179 21.0553 11.4626 19.8989 11.4626H17.798V9.3616Z",fill:"#2EB67D"}),l.createElement("path",{d:"M16.7394 9.36156C16.7394 10.5179 15.7948 11.4625 14.6385 11.4625C13.4821 11.4625 12.5375 10.5179 12.5375 9.36156V4.10098C12.5375 2.94463 13.4821 2 14.6385 2C15.7948 2 16.7394 2.94463 16.7394 4.10098V9.36156Z",fill:"#2EB67D"}),l.createElement("path",{d:"M14.6384 17.7981C15.7947 17.7981 16.7394 18.7427 16.7394 19.8991C16.7394 21.0554 15.7947 22 14.6384 22C13.482 22 12.5374 21.0554 12.5374 19.8991V17.7981H14.6384Z",fill:"#ECB22E"}),l.createElement("path",{d:"M14.6385 16.7393C13.4821 16.7393 12.5375 15.7947 12.5375 14.6383C12.5375 13.482 13.4821 12.5374 14.6385 12.5374H19.899C21.0554 12.5374 22 13.482 22 14.6383C22 15.7947 21.0554 16.7393 19.899 16.7393H14.6385Z",fill:"#ECB22E"})),d=t=>l.createElement("svg",{viewBox:"0 0 60 60",fill:"black",xmlns:"http://www.w3.org/2000/svg",...t},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.8968 2.5L35 2.5C35.663 2.5 36.2989 2.76339 36.7678 3.23224L51.7678 18.2322C52.2366 18.7011 52.5 19.337 52.5 20V43.1033C52.5 45.1157 52.5001 46.7766 52.3895 48.1296C52.2747 49.5348 52.0283 50.8266 51.4101 52.0399C50.4513 53.9215 48.9215 55.4513 47.0399 56.4101C45.8266 57.0283 44.5348 57.2747 43.1296 57.3895C41.7766 57.5001 40.1157 57.5 38.1033 57.5H21.8967C19.8843 57.5 18.2234 57.5001 16.8704 57.3895C15.4652 57.2747 14.1734 57.0283 12.9601 56.4101C11.0785 55.4513 9.54867 53.9215 8.58994 52.0399C7.97171 50.8266 7.7253 49.5348 7.61049 48.1296C7.49994 46.7766 7.49997 45.1157 7.5 43.1032V16.8968C7.49997 14.8843 7.49994 13.2234 7.61049 11.8704C7.7253 10.4652 7.97171 9.17344 8.58994 7.9601C9.54867 6.07848 11.0785 4.54867 12.9601 3.58994C14.1734 2.97171 15.4652 2.7253 16.8704 2.61049C18.2234 2.49994 19.8843 2.49997 21.8968 2.5ZM17.2776 7.59388C16.1816 7.68343 15.621 7.84575 15.2301 8.04497C14.2892 8.52434 13.5243 9.28924 13.045 10.23C12.8457 10.621 12.6834 11.1816 12.5939 12.2776C12.5019 13.4028 12.5 14.8586 12.5 17V43C12.5 45.1414 12.5019 46.5972 12.5939 47.7224C12.6834 48.8184 12.8457 49.3789 13.045 49.7699C13.5243 50.7108 14.2892 51.4757 15.2301 51.955C15.621 52.1543 16.1816 52.3166 17.2776 52.4061C18.4028 52.4981 19.8586 52.5 22 52.5H38C40.1415 52.5 41.5972 52.4981 42.7224 52.4061C43.8184 52.3166 44.379 52.1543 44.77 51.955C45.7108 51.4757 46.4757 50.7108 46.955 49.7699C47.1543 49.3789 47.3166 48.8184 47.4061 47.7224C47.4981 46.5972 47.5 45.1414 47.5 43V22.5002L38.9203 22.5002C38.2893 22.5003 37.6748 22.5003 37.1544 22.4578C36.5829 22.4111 35.9086 22.301 35.23 21.9552C34.2892 21.4758 33.5243 20.7109 33.045 19.7701C32.6992 19.0916 32.5891 18.4172 32.5424 17.8458C32.4998 17.3253 32.4999 16.7109 32.5 16.0799L32.5 7.5H22C19.8586 7.5 18.4028 7.50195 17.2776 7.59388ZM37.5 11.0355L43.9646 17.5002H39C38.2587 17.5002 37.8531 17.4982 37.5616 17.4744C37.55 17.4735 37.539 17.4725 37.5286 17.4716C37.5277 17.4612 37.5267 17.4502 37.5258 17.4386C37.5019 17.1471 37.5 16.7415 37.5 16.0002V11.0355ZM30.4548 28.7949C29.7284 28.6703 28.9814 28.8068 28.346 29.1803C27.7106 29.5537 27.2278 30.14 26.9833 30.8352C26.5251 32.1377 25.0978 32.8221 23.7953 32.3639C22.4929 31.9057 21.8084 30.4785 22.2666 29.176C22.903 27.3668 24.1592 25.8413 25.8126 24.8696C27.466 23.8979 29.4099 23.5427 31.3001 23.8669C33.1903 24.1911 34.9048 25.1738 36.1399 26.641C37.3746 28.1078 38.0506 29.9642 38.048 31.8815C38.0469 35.081 35.6802 37.1377 34.1244 38.1749C33.2702 38.7444 32.4338 39.1608 31.8208 39.4332C31.5108 39.571 31.2489 39.6759 31.0587 39.7484C30.9634 39.7847 30.8855 39.8131 30.8279 39.8336L30.7568 39.8585L30.7331 39.8666L30.7244 39.8695L30.7209 39.8707C30.7201 39.8709 30.7178 39.8717 29.9633 37.6083L30.7178 39.8717C29.4079 40.3083 27.9921 39.6004 27.5555 38.2906C27.1197 36.983 27.8243 35.5698 29.1298 35.1306L29.1528 35.1225C29.1775 35.1137 29.2204 35.0982 29.2788 35.076C29.396 35.0313 29.5732 34.9606 29.7901 34.8642C30.2311 34.6682 30.7999 34.382 31.3509 34.0147C32.6051 33.1785 33.048 32.4256 33.048 31.8792L33.048 31.8755C33.0491 31.1385 32.7894 30.4248 32.3147 29.861C31.8401 29.2972 31.1812 28.9195 30.4548 28.7949ZM27.5 45C27.5 43.6193 28.6193 42.5 30 42.5H30.025C31.4057 42.5 32.525 43.6193 32.525 45C32.525 46.3807 31.4057 47.5 30.025 47.5H30C28.6193 47.5 27.5 46.3807 27.5 45Z"})),h=t=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...t},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5971 1.18505C11.8629 1.13038 12.1371 1.13038 12.4029 1.18505C12.7102 1.24824 12.9848 1.40207 13.2032 1.52436C13.2235 1.53575 13.2433 1.54687 13.2627 1.55761L20.6627 5.66872C20.6831 5.68009 20.7042 5.6917 20.7258 5.70359C20.9569 5.8309 21.2476 5.99097 21.4707 6.23315C21.6637 6.44253 21.8097 6.6907 21.899 6.96105C22.0024 7.27375 22.0011 7.60553 22.0002 7.8694C22.0001 7.89406 22 7.91813 22 7.94153V16.0586C22 16.082 22.0001 16.1061 22.0002 16.1308C22.0011 16.3946 22.0024 16.7264 21.899 17.0391C21.8097 17.3095 21.6637 17.5576 21.4707 17.767C21.2476 18.0092 20.9569 18.1693 20.7258 18.2966C20.7042 18.3085 20.6831 18.3201 20.6627 18.3314L13.2627 22.4426C13.2433 22.4533 13.2235 22.4644 13.2032 22.4758C12.9848 22.5981 12.7102 22.7519 12.4029 22.8151C12.1371 22.8698 11.8629 22.8698 11.5971 22.8151C11.2898 22.7519 11.0152 22.5981 10.7968 22.4758C10.7765 22.4644 10.7567 22.4533 10.7373 22.4426L3.33733 18.3314C3.31688 18.3201 3.2958 18.3085 3.2742 18.2966C3.04307 18.1693 2.75245 18.0092 2.52927 17.767C2.33632 17.5576 2.1903 17.3095 2.10097 17.0391C1.99765 16.7264 1.99886 16.3946 1.99982 16.1308C1.99991 16.1061 2 16.082 2 16.0586V7.94153C2 7.91813 1.99991 7.89406 1.99982 7.8694C1.99886 7.60553 1.99765 7.27375 2.10097 6.96105C2.1903 6.6907 2.33632 6.44253 2.52927 6.23315C2.75244 5.99097 3.04306 5.8309 3.27419 5.7036C3.29579 5.6917 3.31687 5.68009 3.33733 5.66872L10.7373 1.55761C10.7567 1.54687 10.7765 1.53575 10.7968 1.52436C11.0152 1.40207 11.2898 1.24824 11.5971 1.18505ZM12 3.14907L11.9952 3.15136C11.9375 3.1792 11.8602 3.22173 11.7086 3.30592L5.05914 7.00008L12 10.8561L18.9408 7.00006L12.2914 3.30592C12.1398 3.22173 12.0625 3.1792 12.0048 3.15136L12 3.14907ZM20 8.69955V16.0586C20 16.2416 19.9996 16.3353 19.9955 16.4031C19.9954 16.4051 19.9951 16.4088 19.9951 16.4088C19.9951 16.4088 19.992 16.4108 19.9903 16.4119C19.933 16.4484 19.8513 16.4943 19.6914 16.5831L13 20.3006L13 12.5885L20 8.69955ZM11 12.5885L4 8.69959V16.0586C4 16.2416 4.00042 16.3353 4.0045 16.4031C4.00462 16.4051 4.00487 16.4088 4.00487 16.4088C4.00487 16.4088 4.00802 16.4108 4.0097 16.4119C4.067 16.4484 4.14866 16.4943 4.30862 16.5831L11 20.3006L11 12.5885Z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.62585 4.01444C6.89406 3.53166 7.50286 3.35771 7.98565 3.62593L16.9856 8.62593C17.4684 8.89414 17.6424 9.50294 17.3742 9.98573C17.1059 10.4685 16.4971 10.6425 16.0144 10.3742L7.01436 5.37424C6.53158 5.10603 6.35763 4.49722 6.62585 4.01444Z"}));function w(){const t=[{text:"Connect with Slack",href:"https://zenml.io/slack",icon:e.jsx(x,{className:"h-5 w-5"})},{text:"Send us a message",href:"mailto:cloud@zenml.io",icon:e.jsx(c,{className:"h-5 w-5 fill-primary-600"})}];return e.jsxs(a,{className:"flex w-full flex-col overflow-hidden",children:[e.jsx("div",{className:"flex h-[120px] items-center justify-center bg-primary-50 ",children:e.jsx(i,{className:"h-[60px] w-[60px]"})}),e.jsxs("div",{className:"p-5",children:[e.jsx("p",{className:"mb-0.5 text-text-lg font-semibold",children:"Need support?"}),e.jsx("p",{className:"mb-2 text-theme-text-secondary",children:"Schedule a call with us, connect with our Slack community or send us a message."}),e.jsx("ul",{className:"space-y-1",children:t.map((s,C)=>e.jsx("li",{children:e.jsx(r,{href:s.href,text:s.text,icon:s.icon})},C))})]})]})}function j(){const t=[{text:"Browse our docs",href:"https://docs.zenml.io",icon:e.jsx(o,{className:"h-5 w-5 fill-primary-600"})},{text:"Discover projects",href:"https://github.com/zenml-io/zenml-projects",icon:e.jsx(h,{className:"h-5 w-5 fill-primary-600"})},{text:"Navigate our examples",href:"https://github.com/zenml-io/zenml/tree/main/examples/",icon:e.jsx(m,{className:"h-5 w-5 fill-primary-600"})},{text:"Read our blog",href:"https://zenml.io/blog",icon:e.jsx(n,{className:"h-5 w-5 fill-primary-600"})}];return e.jsxs(a,{className:"flex w-full flex-col overflow-hidden",children:[e.jsx("div",{className:"flex h-[120px] items-center justify-center bg-turquoise-25",children:e.jsx(d,{className:"h-[60px] w-[60px] fill-teal-400"})}),e.jsxs("div",{className:"p-5",children:[e.jsx("p",{className:"mb-0.5 text-text-lg font-semibold",children:"Resources"}),e.jsx("p",{className:"mb-2 text-theme-text-secondary",children:"Need help? Follow our extensive documentation to get started."}),e.jsx("ul",{className:"space-y-1",children:t.map((s,C)=>e.jsx("li",{children:e.jsx(r,{href:s.href,text:s.text,icon:s.icon})},C))})]})]})}function r({href:t,text:s,icon:C}){return e.jsxs("a",{className:"inline-flex items-center gap-1 font-semibold text-primary-600 underline transition-all duration-200 hover:decoration-transparent",target:"_blank",href:t,rel:"noopener noreferrer",children:[C&&C,s]})}export{w as F,j as R};
1
+ import{j as e}from"./@tanstack-GFKzItNf.js";import{B as a,d as i,p as n}from"./index-DKgtNG83.js";import{r as l}from"./@radix-BrEjOMvl.js";import{S as c,a as o}from"./file-text-Bp-4kjON.js";import{S as m}from"./terminal-Cb3ce-nr.js";const x=t=>l.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},l.createElement("path",{d:"M6.20195 14.6383C6.20195 15.7947 5.25733 16.7393 4.10098 16.7393C2.94463 16.7393 2 15.7947 2 14.6383C2 13.482 2.94463 12.5374 4.10098 12.5374H6.20195V14.6383Z",fill:"#E01E5A"}),l.createElement("path",{d:"M7.26056 14.6383C7.26056 13.482 8.20518 12.5374 9.36154 12.5374C10.5179 12.5374 11.4625 13.482 11.4625 14.6383V19.8989C11.4625 21.0553 10.5179 21.9999 9.36154 21.9999C8.20518 21.9999 7.26056 21.0553 7.26056 19.8989V14.6383Z",fill:"#E01E5A"}),l.createElement("path",{d:"M9.36154 6.20195C8.20518 6.20195 7.26056 5.25733 7.26056 4.10098C7.26056 2.94463 8.20518 2 9.36154 2C10.5179 2 11.4625 2.94463 11.4625 4.10098V6.20195H9.36154Z",fill:"#36C5F0"}),l.createElement("path",{d:"M9.36156 7.26062C10.5179 7.26062 11.4625 8.20525 11.4625 9.3616C11.4625 10.5179 10.5179 11.4626 9.36156 11.4626H4.10098C2.94463 11.4626 2 10.5179 2 9.3616C2 8.20525 2.94463 7.26062 4.10098 7.26062H9.36156Z",fill:"#36C5F0"}),l.createElement("path",{d:"M17.798 9.3616C17.798 8.20525 18.7426 7.26062 19.8989 7.26062C21.0553 7.26062 21.9999 8.20525 21.9999 9.3616C21.9999 10.5179 21.0553 11.4626 19.8989 11.4626H17.798V9.3616Z",fill:"#2EB67D"}),l.createElement("path",{d:"M16.7394 9.36156C16.7394 10.5179 15.7948 11.4625 14.6385 11.4625C13.4821 11.4625 12.5375 10.5179 12.5375 9.36156V4.10098C12.5375 2.94463 13.4821 2 14.6385 2C15.7948 2 16.7394 2.94463 16.7394 4.10098V9.36156Z",fill:"#2EB67D"}),l.createElement("path",{d:"M14.6384 17.7981C15.7947 17.7981 16.7394 18.7427 16.7394 19.8991C16.7394 21.0554 15.7947 22 14.6384 22C13.482 22 12.5374 21.0554 12.5374 19.8991V17.7981H14.6384Z",fill:"#ECB22E"}),l.createElement("path",{d:"M14.6385 16.7393C13.4821 16.7393 12.5375 15.7947 12.5375 14.6383C12.5375 13.482 13.4821 12.5374 14.6385 12.5374H19.899C21.0554 12.5374 22 13.482 22 14.6383C22 15.7947 21.0554 16.7393 19.899 16.7393H14.6385Z",fill:"#ECB22E"})),d=t=>l.createElement("svg",{viewBox:"0 0 60 60",fill:"black",xmlns:"http://www.w3.org/2000/svg",...t},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.8968 2.5L35 2.5C35.663 2.5 36.2989 2.76339 36.7678 3.23224L51.7678 18.2322C52.2366 18.7011 52.5 19.337 52.5 20V43.1033C52.5 45.1157 52.5001 46.7766 52.3895 48.1296C52.2747 49.5348 52.0283 50.8266 51.4101 52.0399C50.4513 53.9215 48.9215 55.4513 47.0399 56.4101C45.8266 57.0283 44.5348 57.2747 43.1296 57.3895C41.7766 57.5001 40.1157 57.5 38.1033 57.5H21.8967C19.8843 57.5 18.2234 57.5001 16.8704 57.3895C15.4652 57.2747 14.1734 57.0283 12.9601 56.4101C11.0785 55.4513 9.54867 53.9215 8.58994 52.0399C7.97171 50.8266 7.7253 49.5348 7.61049 48.1296C7.49994 46.7766 7.49997 45.1157 7.5 43.1032V16.8968C7.49997 14.8843 7.49994 13.2234 7.61049 11.8704C7.7253 10.4652 7.97171 9.17344 8.58994 7.9601C9.54867 6.07848 11.0785 4.54867 12.9601 3.58994C14.1734 2.97171 15.4652 2.7253 16.8704 2.61049C18.2234 2.49994 19.8843 2.49997 21.8968 2.5ZM17.2776 7.59388C16.1816 7.68343 15.621 7.84575 15.2301 8.04497C14.2892 8.52434 13.5243 9.28924 13.045 10.23C12.8457 10.621 12.6834 11.1816 12.5939 12.2776C12.5019 13.4028 12.5 14.8586 12.5 17V43C12.5 45.1414 12.5019 46.5972 12.5939 47.7224C12.6834 48.8184 12.8457 49.3789 13.045 49.7699C13.5243 50.7108 14.2892 51.4757 15.2301 51.955C15.621 52.1543 16.1816 52.3166 17.2776 52.4061C18.4028 52.4981 19.8586 52.5 22 52.5H38C40.1415 52.5 41.5972 52.4981 42.7224 52.4061C43.8184 52.3166 44.379 52.1543 44.77 51.955C45.7108 51.4757 46.4757 50.7108 46.955 49.7699C47.1543 49.3789 47.3166 48.8184 47.4061 47.7224C47.4981 46.5972 47.5 45.1414 47.5 43V22.5002L38.9203 22.5002C38.2893 22.5003 37.6748 22.5003 37.1544 22.4578C36.5829 22.4111 35.9086 22.301 35.23 21.9552C34.2892 21.4758 33.5243 20.7109 33.045 19.7701C32.6992 19.0916 32.5891 18.4172 32.5424 17.8458C32.4998 17.3253 32.4999 16.7109 32.5 16.0799L32.5 7.5H22C19.8586 7.5 18.4028 7.50195 17.2776 7.59388ZM37.5 11.0355L43.9646 17.5002H39C38.2587 17.5002 37.8531 17.4982 37.5616 17.4744C37.55 17.4735 37.539 17.4725 37.5286 17.4716C37.5277 17.4612 37.5267 17.4502 37.5258 17.4386C37.5019 17.1471 37.5 16.7415 37.5 16.0002V11.0355ZM30.4548 28.7949C29.7284 28.6703 28.9814 28.8068 28.346 29.1803C27.7106 29.5537 27.2278 30.14 26.9833 30.8352C26.5251 32.1377 25.0978 32.8221 23.7953 32.3639C22.4929 31.9057 21.8084 30.4785 22.2666 29.176C22.903 27.3668 24.1592 25.8413 25.8126 24.8696C27.466 23.8979 29.4099 23.5427 31.3001 23.8669C33.1903 24.1911 34.9048 25.1738 36.1399 26.641C37.3746 28.1078 38.0506 29.9642 38.048 31.8815C38.0469 35.081 35.6802 37.1377 34.1244 38.1749C33.2702 38.7444 32.4338 39.1608 31.8208 39.4332C31.5108 39.571 31.2489 39.6759 31.0587 39.7484C30.9634 39.7847 30.8855 39.8131 30.8279 39.8336L30.7568 39.8585L30.7331 39.8666L30.7244 39.8695L30.7209 39.8707C30.7201 39.8709 30.7178 39.8717 29.9633 37.6083L30.7178 39.8717C29.4079 40.3083 27.9921 39.6004 27.5555 38.2906C27.1197 36.983 27.8243 35.5698 29.1298 35.1306L29.1528 35.1225C29.1775 35.1137 29.2204 35.0982 29.2788 35.076C29.396 35.0313 29.5732 34.9606 29.7901 34.8642C30.2311 34.6682 30.7999 34.382 31.3509 34.0147C32.6051 33.1785 33.048 32.4256 33.048 31.8792L33.048 31.8755C33.0491 31.1385 32.7894 30.4248 32.3147 29.861C31.8401 29.2972 31.1812 28.9195 30.4548 28.7949ZM27.5 45C27.5 43.6193 28.6193 42.5 30 42.5H30.025C31.4057 42.5 32.525 43.6193 32.525 45C32.525 46.3807 31.4057 47.5 30.025 47.5H30C28.6193 47.5 27.5 46.3807 27.5 45Z"})),h=t=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...t},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5971 1.18505C11.8629 1.13038 12.1371 1.13038 12.4029 1.18505C12.7102 1.24824 12.9848 1.40207 13.2032 1.52436C13.2235 1.53575 13.2433 1.54687 13.2627 1.55761L20.6627 5.66872C20.6831 5.68009 20.7042 5.6917 20.7258 5.70359C20.9569 5.8309 21.2476 5.99097 21.4707 6.23315C21.6637 6.44253 21.8097 6.6907 21.899 6.96105C22.0024 7.27375 22.0011 7.60553 22.0002 7.8694C22.0001 7.89406 22 7.91813 22 7.94153V16.0586C22 16.082 22.0001 16.1061 22.0002 16.1308C22.0011 16.3946 22.0024 16.7264 21.899 17.0391C21.8097 17.3095 21.6637 17.5576 21.4707 17.767C21.2476 18.0092 20.9569 18.1693 20.7258 18.2966C20.7042 18.3085 20.6831 18.3201 20.6627 18.3314L13.2627 22.4426C13.2433 22.4533 13.2235 22.4644 13.2032 22.4758C12.9848 22.5981 12.7102 22.7519 12.4029 22.8151C12.1371 22.8698 11.8629 22.8698 11.5971 22.8151C11.2898 22.7519 11.0152 22.5981 10.7968 22.4758C10.7765 22.4644 10.7567 22.4533 10.7373 22.4426L3.33733 18.3314C3.31688 18.3201 3.2958 18.3085 3.2742 18.2966C3.04307 18.1693 2.75245 18.0092 2.52927 17.767C2.33632 17.5576 2.1903 17.3095 2.10097 17.0391C1.99765 16.7264 1.99886 16.3946 1.99982 16.1308C1.99991 16.1061 2 16.082 2 16.0586V7.94153C2 7.91813 1.99991 7.89406 1.99982 7.8694C1.99886 7.60553 1.99765 7.27375 2.10097 6.96105C2.1903 6.6907 2.33632 6.44253 2.52927 6.23315C2.75244 5.99097 3.04306 5.8309 3.27419 5.7036C3.29579 5.6917 3.31687 5.68009 3.33733 5.66872L10.7373 1.55761C10.7567 1.54687 10.7765 1.53575 10.7968 1.52436C11.0152 1.40207 11.2898 1.24824 11.5971 1.18505ZM12 3.14907L11.9952 3.15136C11.9375 3.1792 11.8602 3.22173 11.7086 3.30592L5.05914 7.00008L12 10.8561L18.9408 7.00006L12.2914 3.30592C12.1398 3.22173 12.0625 3.1792 12.0048 3.15136L12 3.14907ZM20 8.69955V16.0586C20 16.2416 19.9996 16.3353 19.9955 16.4031C19.9954 16.4051 19.9951 16.4088 19.9951 16.4088C19.9951 16.4088 19.992 16.4108 19.9903 16.4119C19.933 16.4484 19.8513 16.4943 19.6914 16.5831L13 20.3006L13 12.5885L20 8.69955ZM11 12.5885L4 8.69959V16.0586C4 16.2416 4.00042 16.3353 4.0045 16.4031C4.00462 16.4051 4.00487 16.4088 4.00487 16.4088C4.00487 16.4088 4.00802 16.4108 4.0097 16.4119C4.067 16.4484 4.14866 16.4943 4.30862 16.5831L11 20.3006L11 12.5885Z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.62585 4.01444C6.89406 3.53166 7.50286 3.35771 7.98565 3.62593L16.9856 8.62593C17.4684 8.89414 17.6424 9.50294 17.3742 9.98573C17.1059 10.4685 16.4971 10.6425 16.0144 10.3742L7.01436 5.37424C6.53158 5.10603 6.35763 4.49722 6.62585 4.01444Z"}));function w(){const t=[{text:"Connect with Slack",href:"https://zenml.io/slack",icon:e.jsx(x,{className:"h-5 w-5"})},{text:"Send us a message",href:"mailto:cloud@zenml.io",icon:e.jsx(c,{className:"h-5 w-5 fill-primary-600"})}];return e.jsxs(a,{className:"flex w-full flex-col overflow-hidden",children:[e.jsx("div",{className:"flex h-[120px] items-center justify-center bg-primary-50 ",children:e.jsx(i,{className:"h-[60px] w-[60px]"})}),e.jsxs("div",{className:"p-5",children:[e.jsx("p",{className:"mb-0.5 text-text-lg font-semibold",children:"Need support?"}),e.jsx("p",{className:"mb-2 text-theme-text-secondary",children:"Schedule a call with us, connect with our Slack community or send us a message."}),e.jsx("ul",{className:"space-y-1",children:t.map((s,C)=>e.jsx("li",{children:e.jsx(r,{href:s.href,text:s.text,icon:s.icon})},C))})]})]})}function j(){const t=[{text:"Browse our docs",href:"https://docs.zenml.io",icon:e.jsx(o,{className:"h-5 w-5 fill-primary-600"})},{text:"Discover projects",href:"https://github.com/zenml-io/zenml-projects",icon:e.jsx(h,{className:"h-5 w-5 fill-primary-600"})},{text:"Navigate our examples",href:"https://github.com/zenml-io/zenml/tree/main/examples/",icon:e.jsx(m,{className:"h-5 w-5 fill-primary-600"})},{text:"Read our blog",href:"https://zenml.io/blog",icon:e.jsx(n,{className:"h-5 w-5 fill-primary-600"})}];return e.jsxs(a,{className:"flex w-full flex-col overflow-hidden",children:[e.jsx("div",{className:"flex h-[120px] items-center justify-center bg-turquoise-25",children:e.jsx(d,{className:"h-[60px] w-[60px] fill-teal-400"})}),e.jsxs("div",{className:"p-5",children:[e.jsx("p",{className:"mb-0.5 text-text-lg font-semibold",children:"Resources"}),e.jsx("p",{className:"mb-2 text-theme-text-secondary",children:"Need help? Follow our extensive documentation to get started."}),e.jsx("ul",{className:"space-y-1",children:t.map((s,C)=>e.jsx("li",{children:e.jsx(r,{href:s.href,text:s.text,icon:s.icon})},C))})]})]})}function r({href:t,text:s,icon:C}){return e.jsxs("a",{className:"inline-flex items-center gap-1 font-semibold text-primary-600 underline transition-all duration-200 hover:decoration-transparent",target:"_blank",href:t,rel:"noopener noreferrer",children:[C&&C,s]})}export{w as F,j as R};
@@ -1,4 +1,4 @@
1
- import{j as E}from"./@tanstack-GFKzItNf.js";import{c as N,g as te,r as Y}from"./@radix-BrEjOMvl.js";import{q as X}from"./index-UnEiujvd.js";import{S as ae}from"./copy-B8yRmO5i.js";var J={exports:{}};(function(A){var R=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
1
+ import{j as E}from"./@tanstack-GFKzItNf.js";import{c as N,g as te,r as Y}from"./@radix-BrEjOMvl.js";import{q as X}from"./index-DKgtNG83.js";import{S as ae}from"./copy-B8yRmO5i.js";var J={exports:{}};(function(A){var R=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
2
2
  * Prism: Lightweight, robust, elegant syntax highlighting
3
3
  *
4
4
  * @license MIT <https://opensource.org/licenses/MIT>
@@ -0,0 +1 @@
1
+ import{j as e}from"./@tanstack-GFKzItNf.js";import{U as o,V as a,h as r,W as c,Y as d,a0 as n,a1 as m}from"./index-DKgtNG83.js";import{S as x}from"./play-circle-DsngbHkK.js";import{C as h}from"./CodeSnippet-CBFcxTGW.js";function f({videoLink:s,isButton:t=!0,buttonText:l,fallbackImage:i}){return e.jsxs(o,{children:[t?e.jsx(a,{asChild:!0,children:e.jsxs(r,{className:"mt-5 h-auto gap-1 px-2 py-1 sm:h-7",size:"md",children:[e.jsx(x,{className:"h-5 w-5 shrink-0 fill-white"}),l??e.jsx(e.Fragment,{children:"Watch the Quickstart Guide (3 min)"})]})}):e.jsx(a,{children:i}),e.jsxs(c,{className:"max-w-[1000px]",children:[e.jsx("div",{className:"flex items-center justify-between border-b border-theme-border-moderate py-2 pl-5 pr-3",children:e.jsx(d,{className:"text-text-lg",children:"Get Started"})}),e.jsx("div",{className:"",children:e.jsx("iframe",{className:"aspect-video w-full overflow-hidden",src:s,allowFullScreen:!0,allow:"fullscreen"})}),e.jsx(n,{children:e.jsx(m,{asChild:!0,children:e.jsx(r,{size:"md",children:"Close"})})})]})]})}function w(s){return e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:s.description}),e.jsx(h,{codeClasses:"whitespace-pre-wrap",wrap:!0,code:s.command})]})}export{f as V,w as g};
@@ -0,0 +1,2 @@
1
+ import{r as t}from"./@radix-BrEjOMvl.js";import{j as r}from"./@tanstack-GFKzItNf.js";import{q as u,i as d,w as p,x as g,y as m,E as f}from"./index-DKgtNG83.js";import{S as v}from"./check-circle-GxOo3117.js";import{S as h}from"./copy-B8yRmO5i.js";const x=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{id:"refresh-cw-01"},t.createElement("path",{id:"Icon (Stroke)",fillRule:"evenodd",clipRule:"evenodd",d:"M2 12C2 6.47715 6.47715 2 12 2C14.7624 2 17.2648 3.12139 19.0735 4.93138C19.7132 5.57146 20.3981 6.36248 21 7.09444V4C21 3.44772 21.4477 3 22 3C22.5523 3 23 3.44772 23 4V10C23 10.5523 22.5523 11 22 11H16C15.4477 11 15 10.5523 15 10C15 9.44772 15.4477 9 16 9H19.9692C19.277 8.13128 18.4165 7.10335 17.6588 6.34511C16.2098 4.89514 14.2104 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C15.6457 20 18.7243 17.5605 19.6874 14.2227C19.8406 13.6921 20.3948 13.3861 20.9255 13.5392C21.4561 13.6923 21.7622 14.2466 21.609 14.7773C20.4055 18.9481 16.5605 22 12 22C6.47715 22 2 17.5228 2 12Z"}))),N=x,w=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.6569 6.34315C14.5327 3.21895 9.46734 3.21895 6.34315 6.34315C5.23515 7.45114 4.52139 8.80057 4.19904 10.2213C4.07684 10.7599 3.54115 11.0974 3.00256 10.9752C2.46396 10.853 2.12641 10.3173 2.24862 9.77873C2.652 8.00086 3.54638 6.31149 4.92893 4.92893C8.83418 1.02369 15.1658 1.02369 19.0711 4.92893C19.8691 5.72692 20.5003 6.3951 21 6.95359V4C21 3.44772 21.4477 3 22 3C22.5523 3 23 3.44772 23 4V10C23 10.5523 22.5523 11 22 11H16C15.4477 11 15 10.5523 15 10C15 9.44772 15.4477 9 16 9H20.1257C19.6137 8.38306 18.8352 7.52152 17.6569 6.34315ZM20.9974 13.0248C21.536 13.147 21.8736 13.6827 21.7514 14.2213C21.348 15.9991 20.4536 17.6885 19.0711 19.0711C15.1658 22.9763 8.83418 22.9763 4.92893 19.0711C4.13094 18.2731 3.49975 17.6049 3 17.0464V20C3 20.5523 2.55228 21 2 21C1.44772 21 1 20.5523 1 20V14C1 13.4477 1.44772 13 2 13H8C8.55228 13 9 13.4477 9 14C9 14.5523 8.55228 15 8 15H3.87429C4.38627 15.6169 5.16477 16.4785 6.34315 17.6569C9.46734 20.781 14.5327 20.781 17.6569 17.6569C18.7648 16.5489 19.4786 15.1994 19.801 13.7787C19.9232 13.2401 20.4588 12.9026 20.9974 13.0248Z"})),y=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},t.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 12ZM10.7071 8.29289C11.0976 8.68342 11.0976 9.31658 10.7071 9.70711L8.41421 12L10.7071 14.2929C11.0976 14.6834 11.0976 15.3166 10.7071 15.7071C10.3166 16.0976 9.68342 16.0976 9.29289 15.7071L6.29289 12.7071C5.90237 12.3166 5.90237 11.6834 6.29289 11.2929L9.29289 8.29289C9.68342 7.90237 10.3166 7.90237 10.7071 8.29289ZM16.2071 8.29289C16.5976 8.68342 16.5976 9.31658 16.2071 9.70711L13.9142 12L16.2071 14.2929C16.5976 14.6834 16.5976 15.3166 16.2071 15.7071C15.8166 16.0976 15.1834 16.0976 14.7929 15.7071L11.7929 12.7071C11.4024 12.3166 11.4024 11.6834 11.7929 11.2929L14.7929 8.29289C15.1834 7.90237 15.8166 7.90237 16.2071 8.29289Z"})),b=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},t.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 12Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 12C6 11.1716 6.67157 10.5 7.5 10.5C8.32843 10.5 9 11.1716 9 12C9 12.8284 8.32843 13.5 7.5 13.5C6.67157 13.5 6 12.8284 6 12ZM10.5 12C10.5 11.1716 11.1716 10.5 12 10.5C12.8284 10.5 13.5 11.1716 13.5 12C13.5 12.8284 12.8284 13.5 12 13.5C11.1716 13.5 10.5 12.8284 10.5 12ZM15 12C15 11.1716 15.6716 10.5 16.5 10.5C17.3284 10.5 18 11.1716 18 12C18 12.8284 17.3284 13.5 16.5 13.5C15.6716 13.5 15 12.8284 15 12Z"}));function E(e){if(!e)return null;switch(e){case"completed":return"fill-success-500";case"failed":return"fill-error-500";case"initializing":return"fill-primary-400";case"cached":return"fill-neutral-400";case"running":return"fill-warning-500"}}function T(e){if(!e)return null;switch(e){case"completed":return"bg-success-50";case"failed":return"bg-error-50";case"initializing":return"bg-primary-50";case"cached":return"bg-theme-surface-tertiary";case"running":return"bg-warning-50"}}function k(e){if(!e)return"grey";switch(e){case"completed":return"green";case"failed":return"red";case"initializing":return"purple";case"cached":return"grey";case"running":return"yellow"}}function L({status:e,className:i}){if(!e)return null;const n=u("h-4 w-4",E(e),i);switch(e){case"completed":return r.jsx(v,{className:n});case"failed":return r.jsx(d,{className:n});case"initializing":return r.jsx(w,{className:n});case"cached":return r.jsx(y,{className:n});case"running":return r.jsx(b,{className:n})}}function z({copyText:e,isVisible:i,copyTitle:n}){const a=t.useRef(null),[c,o]=t.useState(!1),s=i?n:"Copy to Clipboard",C=()=>{navigator.clipboard&&(navigator.clipboard.writeText(e),o(!0),setTimeout(()=>{o(!1)},2e3))};return r.jsx(p,{children:r.jsxs(g,{delayDuration:200,children:[r.jsxs(m,{className:`${i?"":"invisible opacity-0 group-hover/copybutton:opacity-100"} h-4 w-4 rounded-sm p-0.25 transition-all
2
+ duration-200 hover:bg-theme-surface-primary active:bg-neutral-300 group-hover/copybutton:visible `,onClick:l=>{l.preventDefault(),C()},ref:a,children:[r.jsx("span",{className:"sr-only",children:"Copy to Clipboard"}),r.jsx(h,{className:`${i?"h-5 w-5":"h-3 w-3"} pointer-events-none fill-theme-text-tertiary`})]}),r.jsx(f,{onPointerDownOutside:l=>{l.currentTarget===a.current&&l.preventDefault()},className:"z-50 rounded-md bg-theme-text-primary px-3 py-2 text-text-xs text-theme-text-negative shadow-lg",sideOffset:5,children:c?"Copied!":s})]})})}export{z as C,L as E,N as R,k as a,T as b,E as g};
@@ -1,4 +1,4 @@
1
- import{j as V}from"./@tanstack-GFKzItNf.js";import{c as we,r as pe}from"./@radix-BrEjOMvl.js";import{aF as Ce,aG as xe,aH as ke,aI as Re,aJ as Oe,aK as Te}from"./index-UnEiujvd.js";import"./@react-router-CCpyfPW-.js";import"./@reactflow-BfgHyCG7.js";var be={exports:{}};/* @license
1
+ import{j as V}from"./@tanstack-GFKzItNf.js";import{c as we,r as pe}from"./@radix-BrEjOMvl.js";import{aF as Ce,aG as xe,aH as ke,aI as Re,aJ as Oe,aK as Te}from"./index-DKgtNG83.js";import"./@react-router-CCpyfPW-.js";import"./@reactflow-CF_wPv-n.js";var be={exports:{}};/* @license
2
2
  Papa Parse
3
3
  v5.4.1
4
4
  https://github.com/mholt/PapaParse
@@ -1 +1 @@
1
- import{j as e}from"./@tanstack-GFKzItNf.js";import{i as r,p as a}from"./index-UnEiujvd.js";import{E as l}from"./EmptyState-CPJglRv0.js";function c({err:t,isAlertCircle:s=!1}){return e.jsx(l,{icon:s?e.jsx(r,{className:"h-[120px] w-[120px] fill-neutral-300"}):e.jsx(a,{className:"h-[120px] w-[120px] fill-neutral-300"}),children:e.jsx("div",{className:"text-center",children:e.jsx("p",{className:"text-text-lg text-theme-text-secondary",children:t.message})})})}export{c as E};
1
+ import{j as e}from"./@tanstack-GFKzItNf.js";import{i as r,p as a}from"./index-DKgtNG83.js";import{E as l}from"./EmptyState-CPJglRv0.js";function c({err:t,isAlertCircle:s=!1}){return e.jsx(l,{icon:s?e.jsx(r,{className:"h-[120px] w-[120px] fill-neutral-300"}):e.jsx(a,{className:"h-[120px] w-[120px] fill-neutral-300"}),children:e.jsx("div",{className:"text-center",children:e.jsx("p",{className:"text-text-lg text-theme-text-secondary",children:t.message})})})}export{c as E};
@@ -1 +1 @@
1
- import{j as e}from"./@tanstack-GFKzItNf.js";import{B as t,as as a}from"./index-UnEiujvd.js";import{H as l}from"./help-hEyYkC3q.js";function m({link:s,text:r="Do you need help?"}){return e.jsxs(t,{className:"flex w-full flex-wrap items-center justify-between p-2",children:[e.jsxs("div",{className:"flex items-center gap-[10px]",children:[e.jsx("div",{className:"flex h-7 w-7 items-center justify-center rounded-sm bg-teal-25",children:e.jsx(l,{className:"h-5 w-5 fill-teal-400"})}),e.jsx("p",{children:r})]}),e.jsx("a",{target:"_blank",rel:"noopener noreferrer",className:a({intent:"primary",emphasis:"subtle",size:"md"}),href:s,children:"Browse our docs"})]})}export{m as H};
1
+ import{j as e}from"./@tanstack-GFKzItNf.js";import{B as t,as as a}from"./index-DKgtNG83.js";import{H as l}from"./help-hEyYkC3q.js";function m({link:s,text:r="Do you need help?"}){return e.jsxs(t,{className:"flex w-full flex-wrap items-center justify-between p-2",children:[e.jsxs("div",{className:"flex items-center gap-[10px]",children:[e.jsx("div",{className:"flex h-7 w-7 items-center justify-center rounded-sm bg-teal-25",children:e.jsx(l,{className:"h-5 w-5 fill-teal-400"})}),e.jsx("p",{children:r})]}),e.jsx("a",{target:"_blank",rel:"noopener noreferrer",className:a({intent:"primary",emphasis:"subtle",size:"md"}),href:s,children:"Browse our docs"})]})}export{m as H};
@@ -1 +1 @@
1
- import{j as r}from"./@tanstack-GFKzItNf.js";import{r as t}from"./@radix-BrEjOMvl.js";import{q as o,at as i}from"./index-UnEiujvd.js";const m=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.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 12ZM11 8C11 7.44772 11.4477 7 12 7H12.01C12.5623 7 13.01 7.44772 13.01 8C13.01 8.55228 12.5623 9 12.01 9H12C11.4477 9 11 8.55228 11 8ZM12 11C12.5523 11 13 11.4477 13 12V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V12C11 11.4477 11.4477 11 12 11Z"})),l=i("flex items-center text-text-sm rounded-md border px-4 py-3",{variants:{intent:{primary:"border-primary-400 bg-primary-25",neutral:"border-theme-border-moderate"}},defaultVariants:{intent:"primary"}});function p({children:e,className:a,intent:n,...s}){return r.jsxs("div",{...s,className:o(l({intent:n}),a),children:[r.jsx(m,{className:"mr-4 h-5 w-5 shrink-0 fill-theme-text-brand"}),r.jsx("div",{className:"w-full min-w-0",children:e})]})}export{p as I,m as S};
1
+ import{j as r}from"./@tanstack-GFKzItNf.js";import{r as t}from"./@radix-BrEjOMvl.js";import{q as o,at as i}from"./index-DKgtNG83.js";const m=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.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 12ZM11 8C11 7.44772 11.4477 7 12 7H12.01C12.5623 7 13.01 7.44772 13.01 8C13.01 8.55228 12.5623 9 12.01 9H12C11.4477 9 11 8.55228 11 8ZM12 11C12.5523 11 13 11.4477 13 12V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V12C11 11.4477 11.4477 11 12 11Z"})),l=i("flex items-center text-text-sm rounded-md border px-4 py-3",{variants:{intent:{primary:"border-primary-400 bg-primary-25",neutral:"border-theme-border-moderate"}},defaultVariants:{intent:"primary"}});function p({children:e,className:a,intent:n,...s}){return r.jsxs("div",{...s,className:o(l({intent:n}),a),children:[r.jsx(m,{className:"mr-4 h-5 w-5 shrink-0 fill-theme-text-brand"}),r.jsx("div",{className:"w-full min-w-0",children:e})]})}export{p as I,m as S};
@@ -1 +1 @@
1
- import{j as e}from"./@tanstack-GFKzItNf.js";import{A as s,b as a}from"./index-UnEiujvd.js";function m({username:t}){return e.jsxs("div",{className:"inline-flex items-center gap-1",children:[e.jsx(s,{size:"sm",children:e.jsx(a,{size:"sm",children:t[0]})}),e.jsx("p",{className:"text-text-sm font-semibold text-theme-text-primary",children:t})]})}export{m as I};
1
+ import{j as e}from"./@tanstack-GFKzItNf.js";import{A as s,b as a}from"./index-DKgtNG83.js";function m({username:t}){return e.jsxs("div",{className:"inline-flex items-center gap-1",children:[e.jsx(s,{size:"sm",children:e.jsx(a,{size:"sm",children:t[0]})}),e.jsx("p",{className:"text-text-sm font-semibold text-theme-text-primary",children:t})]})}export{m as I};
@@ -1 +1 @@
1
- import{j as a}from"./@tanstack-GFKzItNf.js";import{q as m}from"./index-UnEiujvd.js";function p({children:r,className:e,...o}){return a.jsx("div",{...o,className:m("border-b border-theme-border-moderate bg-theme-surface-primary px-5 py-3",e),children:r})}export{p as P};
1
+ import{j as a}from"./@tanstack-GFKzItNf.js";import{q as m}from"./index-DKgtNG83.js";function p({children:r,className:e,...o}){return a.jsx("div",{...o,className:m("border-b border-theme-border-moderate bg-theme-surface-primary px-5 py-3",e),children:r})}export{p as P};
@@ -1 +1 @@
1
- import{j as a}from"./@tanstack-GFKzItNf.js";import{I as D,ah as G,q as F}from"./index-UnEiujvd.js";import{g as Z,c as j,r as d}from"./@radix-BrEjOMvl.js";import{o as k}from"./url-BxOqGmlk.js";import{b as A,a as I}from"./@react-router-CCpyfPW-.js";import{D as W}from"./chevron-right-double-Dfr12EKG.js";var _="Expected a function",T=NaN,q="[object Symbol]",z=/^\s+|\s+$/g,H=/^[-+]0x[0-9a-f]+$/i,Q=/^0b[01]+$/i,U=/^0o[0-7]+$/i,V=parseInt,X=typeof j=="object"&&j&&j.Object===Object&&j,J=typeof self=="object"&&self&&self.Object===Object&&self,K=X||J||Function("return this")(),Y=Object.prototype,ee=Y.toString,te=Math.max,re=Math.min,w=function(){return K.Date.now()};function ne(e,r,o){var n,u,f,m,i,l,g=0,h=!1,t=!1,c=!0;if(typeof e!="function")throw new TypeError(_);r=P(r)||0,y(o)&&(h=!!o.leading,t="maxWait"in o,f=t?te(P(o.maxWait)||0,r):f,c="trailing"in o?!!o.trailing:c);function C(s){var p=n,x=u;return n=u=void 0,g=s,m=e.apply(x,p),m}function M(s){return g=s,i=setTimeout(v,r),h?C(s):m}function $(s){var p=s-l,x=s-g,N=r-p;return t?re(N,f-x):N}function E(s){var p=s-l,x=s-g;return l===void 0||p>=r||p<0||t&&x>=f}function v(){var s=w();if(E(s))return L(s);i=setTimeout(v,$(s))}function L(s){return i=void 0,c&&n?C(s):(n=u=void 0,m)}function B(){i!==void 0&&clearTimeout(i),g=0,n=l=u=i=void 0}function O(){return i===void 0?m:L(w())}function S(){var s=w(),p=E(s);if(n=arguments,u=this,l=s,p){if(i===void 0)return M(l);if(t)return i=setTimeout(v,r),C(l)}return i===void 0&&(i=setTimeout(v,r)),m}return S.cancel=B,S.flush=O,S}function y(e){var r=typeof e;return!!e&&(r=="object"||r=="function")}function ie(e){return!!e&&typeof e=="object"}function ae(e){return typeof e=="symbol"||ie(e)&&ee.call(e)==q}function P(e){if(typeof e=="number")return e;if(ae(e))return T;if(y(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=y(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=e.replace(z,"");var o=Q.test(e);return o||U.test(e)?V(e.slice(2),o?2:8):H.test(e)?T:+e}var se=ne;const oe=Z(se),le=["equals:","contains:","startswith:","endswith:","gte:","gt:","lte:","lt:"];function ce(e){const r=le.find(o=>e.startsWith(o));return r?e.slice(r.length):e}const ue=d.forwardRef(({searchParams:e,searchContains:r=!0,...o},n)=>{const{pathname:u}=A(),f=I(),[m,i]=d.useState(ce(e.name||"")||""),l=d.useMemo(()=>oe(g,500),[]);d.useEffect(()=>()=>{l.cancel()},[l]);function g(t){const c=new URLSearchParams(k(e));c.delete("logical_operator"),t?(c.set("name",r?`contains:${t}`:`${t}`),c.set("operator","or"),c.set("page","1")):(c.delete("name"),c.delete("operator")),f(`${u}?${c.toString()}`,{preventScrollReset:!0,replace:!0})}function h(t){const{value:c}=t.target;i(c),l(c)}return a.jsx(D,{...o,ref:n,value:m,onChange:h,placeholder:"Search...",inputSize:"md"})});ue.displayName="SearchField";const de=e=>d.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e},d.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",fill:"black"})),fe=e=>d.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("g",{id:"chevron-left-double"},d.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"}))),me=fe,ge=e=>d.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("g",{id:"chevron-left"},d.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"}))),pe=ge;function Se({paginate:e,searchParams:r}){const o=I(),{index:n,total_pages:u}=e;function f(i){const l=new URLSearchParams(k(r));l.set("page",i.toString()),o(`?${l.toString()}`,{preventScrollReset:!1})}const m=()=>{const i=[];let g=!1,h=!1;for(let t=1;t<=u;t++){const c=t>1&&t<u&&Math.abs(t-n)>1;(t===1||t===u||c||Math.abs(t-n)<=1)&&(c?t<n&&!g?(i.push(a.jsx(R,{},"ellipsis-left")),g=!0):t>n&&!h&&(i.push(a.jsx(R,{},"ellipsis-right")),h=!0):i.push(a.jsx(b,{"aria-label":`Go to page ${t}`,"aria-current":t===n,className:`${t===n?"!bg-primary-500 text-theme-text-negative":""}`,onClick:()=>f(t),disabled:t===n,children:t},t)))}return i};return a.jsx("nav",{role:"navigation","aria-label":"Pagination Navigation",children:a.jsxs("ul",{className:"flex gap-1",children:[a.jsx("li",{children:a.jsx(b,{disabled:n===1,onClick:()=>f(1),"aria-label":"Go to first page",children:a.jsx(me,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),a.jsx("li",{children:a.jsx(b,{disabled:n===1,onClick:()=>f(n-1),"aria-label":"Go to previous page",children:a.jsx(pe,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),m().map((i,l)=>a.jsx("li",{children:i},l)),a.jsx("li",{children:a.jsx(b,{disabled:n===u,onClick:()=>f(n+1),"aria-label":"Go to next page",children:a.jsx(G,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),a.jsx("li",{children:a.jsx(b,{disabled:n===u,onClick:()=>f(u),"aria-label":"Go to last page",children:a.jsx(W,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})})]})})}function R(){return a.jsx("div",{className:"flex h-[36px] w-[36px] items-center justify-center rounded-sm border border-theme-border-moderate",children:a.jsx(de,{className:"h-4 w-4"})})}const b=d.forwardRef(({className:e,...r},o)=>a.jsx("button",{...r,ref:o,className:F("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 ",e)}));b.displayName="PaginationButton";export{Se as P,ue as S,de as a};
1
+ import{j as a}from"./@tanstack-GFKzItNf.js";import{I as D,ah as G,q as F}from"./index-DKgtNG83.js";import{g as Z,c as j,r as d}from"./@radix-BrEjOMvl.js";import{o as k}from"./url-DLJUVIKc.js";import{b as A,a as I}from"./@react-router-CCpyfPW-.js";import{D as W}from"./chevron-right-double-Dfr12EKG.js";var _="Expected a function",T=NaN,q="[object Symbol]",z=/^\s+|\s+$/g,H=/^[-+]0x[0-9a-f]+$/i,Q=/^0b[01]+$/i,U=/^0o[0-7]+$/i,V=parseInt,X=typeof j=="object"&&j&&j.Object===Object&&j,J=typeof self=="object"&&self&&self.Object===Object&&self,K=X||J||Function("return this")(),Y=Object.prototype,ee=Y.toString,te=Math.max,re=Math.min,w=function(){return K.Date.now()};function ne(e,r,o){var n,u,f,m,i,l,g=0,h=!1,t=!1,c=!0;if(typeof e!="function")throw new TypeError(_);r=P(r)||0,y(o)&&(h=!!o.leading,t="maxWait"in o,f=t?te(P(o.maxWait)||0,r):f,c="trailing"in o?!!o.trailing:c);function C(s){var p=n,x=u;return n=u=void 0,g=s,m=e.apply(x,p),m}function M(s){return g=s,i=setTimeout(v,r),h?C(s):m}function $(s){var p=s-l,x=s-g,N=r-p;return t?re(N,f-x):N}function E(s){var p=s-l,x=s-g;return l===void 0||p>=r||p<0||t&&x>=f}function v(){var s=w();if(E(s))return L(s);i=setTimeout(v,$(s))}function L(s){return i=void 0,c&&n?C(s):(n=u=void 0,m)}function B(){i!==void 0&&clearTimeout(i),g=0,n=l=u=i=void 0}function O(){return i===void 0?m:L(w())}function S(){var s=w(),p=E(s);if(n=arguments,u=this,l=s,p){if(i===void 0)return M(l);if(t)return i=setTimeout(v,r),C(l)}return i===void 0&&(i=setTimeout(v,r)),m}return S.cancel=B,S.flush=O,S}function y(e){var r=typeof e;return!!e&&(r=="object"||r=="function")}function ie(e){return!!e&&typeof e=="object"}function ae(e){return typeof e=="symbol"||ie(e)&&ee.call(e)==q}function P(e){if(typeof e=="number")return e;if(ae(e))return T;if(y(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=y(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=e.replace(z,"");var o=Q.test(e);return o||U.test(e)?V(e.slice(2),o?2:8):H.test(e)?T:+e}var se=ne;const oe=Z(se),le=["equals:","contains:","startswith:","endswith:","gte:","gt:","lte:","lt:"];function ce(e){const r=le.find(o=>e.startsWith(o));return r?e.slice(r.length):e}const ue=d.forwardRef(({searchParams:e,searchContains:r=!0,...o},n)=>{const{pathname:u}=A(),f=I(),[m,i]=d.useState(ce(e.name||"")||""),l=d.useMemo(()=>oe(g,500),[]);d.useEffect(()=>()=>{l.cancel()},[l]);function g(t){const c=new URLSearchParams(k(e));c.delete("logical_operator"),t?(c.set("name",r?`contains:${t}`:`${t}`),c.set("operator","or"),c.set("page","1")):(c.delete("name"),c.delete("operator")),f(`${u}?${c.toString()}`,{preventScrollReset:!0,replace:!0})}function h(t){const{value:c}=t.target;i(c),l(c)}return a.jsx(D,{...o,ref:n,value:m,onChange:h,placeholder:"Search...",inputSize:"md"})});ue.displayName="SearchField";const de=e=>d.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e},d.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",fill:"black"})),fe=e=>d.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("g",{id:"chevron-left-double"},d.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"}))),me=fe,ge=e=>d.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("g",{id:"chevron-left"},d.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"}))),pe=ge;function Se({paginate:e,searchParams:r}){const o=I(),{index:n,total_pages:u}=e;function f(i){const l=new URLSearchParams(k(r));l.set("page",i.toString()),o(`?${l.toString()}`,{preventScrollReset:!1})}const m=()=>{const i=[];let g=!1,h=!1;for(let t=1;t<=u;t++){const c=t>1&&t<u&&Math.abs(t-n)>1;(t===1||t===u||c||Math.abs(t-n)<=1)&&(c?t<n&&!g?(i.push(a.jsx(R,{},"ellipsis-left")),g=!0):t>n&&!h&&(i.push(a.jsx(R,{},"ellipsis-right")),h=!0):i.push(a.jsx(b,{"aria-label":`Go to page ${t}`,"aria-current":t===n,className:`${t===n?"!bg-primary-500 text-theme-text-negative":""}`,onClick:()=>f(t),disabled:t===n,children:t},t)))}return i};return a.jsx("nav",{role:"navigation","aria-label":"Pagination Navigation",children:a.jsxs("ul",{className:"flex gap-1",children:[a.jsx("li",{children:a.jsx(b,{disabled:n===1,onClick:()=>f(1),"aria-label":"Go to first page",children:a.jsx(me,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),a.jsx("li",{children:a.jsx(b,{disabled:n===1,onClick:()=>f(n-1),"aria-label":"Go to previous page",children:a.jsx(pe,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),m().map((i,l)=>a.jsx("li",{children:i},l)),a.jsx("li",{children:a.jsx(b,{disabled:n===u,onClick:()=>f(n+1),"aria-label":"Go to next page",children:a.jsx(G,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),a.jsx("li",{children:a.jsx(b,{disabled:n===u,onClick:()=>f(u),"aria-label":"Go to last page",children:a.jsx(W,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})})]})})}function R(){return a.jsx("div",{className:"flex h-[36px] w-[36px] items-center justify-center rounded-sm border border-theme-border-moderate",children:a.jsx(de,{className:"h-4 w-4"})})}const b=d.forwardRef(({className:e,...r},o)=>a.jsx("button",{...r,ref:o,className:F("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 ",e)}));b.displayName="PaginationButton";export{Se as P,ue as S,de as a};
@@ -1 +1 @@
1
- import{j as s}from"./@tanstack-GFKzItNf.js";import{I as a,h as p}from"./index-UnEiujvd.js";import{u as w}from"./index.esm-DNxbrOmx.js";import{t as h}from"./zod-DueGCdzx.js";import{P as u}from"./PasswordChecker-C2ImqlTr.js";import{g as f}from"./SuccessStep-B8Qhr2kK.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:h(f(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(u,{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"./@tanstack-GFKzItNf.js";import{I as a,h as p}from"./index-DKgtNG83.js";import{u as w}from"./index.esm-DNxbrOmx.js";import{t as h}from"./zod-DueGCdzx.js";import{P as u}from"./PasswordChecker-C2ImqlTr.js";import{g as f}from"./SuccessStep-DEeKB0Wq.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:h(f(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(u,{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};
@@ -0,0 +1 @@
1
+ import{j as t}from"./@tanstack-GFKzItNf.js";import{r as n}from"./@radix-BrEjOMvl.js";import{z as r,B as u,h as p,r as d}from"./index-DKgtNG83.js";import{a as x}from"./UpdatePasswordSchemas-4be5el9x.js";import{S as h}from"./check-circle-GxOo3117.js";import{u as f}from"./url-DLJUVIKc.js";import{f as g,L as S}from"./@react-router-CCpyfPW-.js";const l=n.createContext(null);function E({children:e,initialStep:s=1}){const[o,a]=n.useState(s);return t.jsx(l.Provider,{value:{surveyStep:o,setSurveyStep:a},children:e})}function w(){const e=n.useContext(l);if(e===null)throw new Error("useSurveyContext must be used within an SurveyProvider");return e}function F({stepAmount:e}){const{surveyStep:s}=w();return s>e?null:t.jsx("ol",{className:"flex flex-wrap justify-center gap-1 pb-5","aria-label":"progress",children:Array.from({length:e},(o,a)=>t.jsx("li",{"aria-current":s===a+1?"step":void 0,className:`h-0.5 w-[90px] rounded-rounded ${s===a+1?"bg-primary-100":s>a?"bg-primary-300":"bg-neutral-200"}`},a))})}const R=r.object({fullName:r.union([r.string(),r.literal("")]),email:r.union([r.string().email(),r.literal("")]),getUpdates:r.boolean()}).refine(e=>e.getUpdates?e.email!=="":!0),U=r.object({primaryUse:r.string().min(1),amountProductionModels:r.string().min(1)}),k=r.object({channels:r.string().array().min(1),other:r.boolean(),otherVal:r.string().optional()}).refine(e=>e.other?e.otherVal!=="":!0),z=r.object({serverName:r.string().optional()});function y(e=!1){return x.extend({username:r.string()}).refine(s=>s.newPassword===s.confirmPassword,{path:["confirmPassword"],message:"Passwords do not match"}).refine(s=>e?s.username.length>0:!0)}y();const v=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2929 4.29289C11.6834 3.90237 12.3166 3.90237 12.7071 4.29289L19.7071 11.2929C20.0976 11.6834 20.0976 12.3166 19.7071 12.7071L12.7071 19.7071C12.3166 20.0976 11.6834 20.0976 11.2929 19.7071C10.9024 19.3166 10.9024 18.6834 11.2929 18.2929L16.5858 13H5C4.44772 13 4 12.5523 4 12C4 11.4477 4.44772 11 5 11H16.5858L11.2929 5.70711C10.9024 5.31658 10.9024 4.68342 11.2929 4.29289Z"}));function A({username:e,subHeader:s,displayBody:o=!0}){const[a]=g(),i=a.get("redirect"),m=i&&`${window.location.origin}${i}`,c=f.safeParse(m);return t.jsxs(u,{className:"flex max-w-[540px] flex-col items-center justify-center space-y-7 px-7 py-9",children:[t.jsx(h,{className:"h-[120px] w-[120px] fill-theme-text-success"}),t.jsxs("div",{className:"space-y-3 text-center",children:[t.jsxs("p",{className:"text-display-xs font-semibold",children:["Congratulations!",t.jsx("br",{}),s]}),o&&t.jsxs("p",{className:"text-theme-text-secondary",children:["You can log in to the dashboard with your username"," ",t.jsx("span",{className:"font-semibold text-theme-text-primary",children:e})," and your password to start exploring!"]}),t.jsx(p,{className:"inline-flex",size:"md",intent:"primary",asChild:!0,children:t.jsxs(S,{to:c.success?c.data:d.home,children:[t.jsx("span",{children:"Go to Dashboard"}),t.jsx(v,{className:"h-5 w-5 fill-white"})]})})]})]})}export{k as A,F as S,A as a,E as b,z as c,R as d,y as g,U as p,w as u};
@@ -1 +1 @@
1
- import{z as s}from"./index-UnEiujvd.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-DKgtNG83.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}from"./@tanstack-GFKzItNf.js";import{B as l,as as r}from"./index-UnEiujvd.js";const s=["Managed ZenML server on your VPC or hosted on our servers","Social SSO, RBAC, and User Management","CI/CD/CT, Artifact Control Plane and more!"],c=["Model Control Plane Dashboard",...s],m=["Artifact Control Plane Dashboard",...s];function x({features:t,image:a}){return e.jsxs(l,{className:"relative overflow-hidden px-7 py-5",children:[e.jsxs("div",{className:"max-w-[450px] space-y-4",children:[e.jsx("p",{className:"text-display-xs font-semibold",children:"Access Advanced Model Management Features with ZenML Cloud"}),e.jsx("ul",{className:"space-y-2",children:t.map((n,o)=>e.jsx("li",{className:"text-text-md text-theme-text-secondary",children:n},o))}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx("a",{href:"https://zenml.io/pricing",target:"_blank",rel:"noopener noreferrer",className:r({intent:"primary",size:"md"}),children:"Start the free trial"}),e.jsx("a",{href:"https://www.zenml.io/cloud",target:"_blank",rel:"noopener noreferrer",className:r({intent:"primary",size:"md",emphasis:"minimal"}),children:"Learn more"})]})]}),e.jsx("img",{className:"absolute right-0 top-0 hidden translate-x-[45%] translate-y-[10%] rounded-md border border-theme-border-moderate lg:block",src:a.src,alt:a.alt})]})}export{x as C,m as a,c as m};
1
+ import{j as e}from"./@tanstack-GFKzItNf.js";import{B as l,as as r}from"./index-DKgtNG83.js";const s=["Managed ZenML server on your VPC or hosted on our servers","Social SSO, RBAC, and User Management","CI/CD/CT, Artifact Control Plane and more!"],c=["Model Control Plane Dashboard",...s],m=["Artifact Control Plane Dashboard",...s];function x({features:t,image:a}){return e.jsxs(l,{className:"relative overflow-hidden px-7 py-5",children:[e.jsxs("div",{className:"max-w-[450px] space-y-4",children:[e.jsx("p",{className:"text-display-xs font-semibold",children:"Access Advanced Model Management Features with ZenML Cloud"}),e.jsx("ul",{className:"space-y-2",children:t.map((n,o)=>e.jsx("li",{className:"text-text-md text-theme-text-secondary",children:n},o))}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx("a",{href:"https://zenml.io/pricing",target:"_blank",rel:"noopener noreferrer",className:r({intent:"primary",size:"md"}),children:"Start the free trial"}),e.jsx("a",{href:"https://www.zenml.io/cloud",target:"_blank",rel:"noopener noreferrer",className:r({intent:"primary",size:"md",emphasis:"minimal"}),children:"Learn more"})]})]}),e.jsx("img",{className:"absolute right-0 top-0 hidden translate-x-[45%] translate-y-[10%] rounded-md border border-theme-border-moderate lg:block",src:a.src,alt:a.alt})]})}export{x as C,m as a,c as m};
@@ -0,0 +1,21 @@
1
+ <svg width="350" height="240" viewBox="0 0 350 240" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path
3
+ d="M20 28C20 23.5817 23.5817 20 28 20H64C68.4183 20 72 23.5817 72 28V64C72 68.4183 68.4183 72 64 72H28C23.5817 72 20 68.4183 20 64V28Z"
4
+ fill="#AF8BF8" />
5
+ <path fill-rule="evenodd" clip-rule="evenodd"
6
+ d="M37.3296 34.3334C37.342 34.3334 37.3544 34.3334 37.3668 34.3334H38.3002C38.3126 34.3334 38.325 34.3334 38.3374 34.3334C38.6318 34.3333 38.9186 34.3333 39.1614 34.3531C39.4281 34.3749 39.7428 34.4264 40.0595 34.5877C40.4985 34.8114 40.8555 35.1684 41.0792 35.6074C41.2405 35.9241 41.2919 36.2388 41.3137 36.5054C41.318 36.5573 41.3213 36.6112 41.3239 36.6667L50.6764 36.6667C50.679 36.6112 50.6824 36.5573 50.6866 36.5054C50.7084 36.2388 50.7598 35.9241 50.9212 35.6074C51.1449 35.1684 51.5018 34.8114 51.9409 34.5877C52.2575 34.4264 52.5722 34.3749 52.8389 34.3531C53.0818 34.3333 53.3685 34.3333 53.663 34.3334H54.6707C54.9652 34.3333 55.2519 34.3333 55.4948 34.3531C55.7615 34.3749 56.0762 34.4264 56.3928 34.5877C56.8319 34.8114 57.1888 35.1684 57.4125 35.6074C57.5739 35.9241 57.6253 36.2388 57.6471 36.5054C57.6669 36.7483 57.6669 37.035 57.6668 37.3295V38.3373C57.6669 38.6317 57.6669 38.9185 57.6471 39.1613C57.6253 39.428 57.5739 39.7427 57.4125 40.0594C57.1888 40.4984 56.8319 40.8554 56.3928 41.0791C56.0762 41.2404 55.7615 41.2918 55.4948 41.3136C55.4429 41.3178 55.389 41.3212 55.3335 41.3238V50.6763C55.389 50.6789 55.4429 50.6822 55.4948 50.6865C55.7615 50.7083 56.0762 50.7597 56.3928 50.921C56.8319 51.1447 57.1888 51.5017 57.4125 51.9407C57.5739 52.2574 57.6253 52.5721 57.6471 52.8388C57.6669 53.0816 57.6669 53.3684 57.6668 53.6628V54.6706C57.6669 54.9651 57.6669 55.2518 57.6471 55.4946C57.6253 55.7613 57.5739 56.076 57.4125 56.3927C57.1888 56.8317 56.8319 57.1887 56.3928 57.4124C56.0762 57.5737 55.7615 57.6252 55.4948 57.6469C55.2519 57.6668 54.9652 57.6668 54.6707 57.6667H53.6629C53.3685 57.6668 53.0817 57.6668 52.8389 57.6469C52.5722 57.6252 52.2575 57.5737 51.9409 57.4124C51.5018 57.1887 51.1449 56.8317 50.9212 56.3927C50.7598 56.076 50.7084 55.7613 50.6866 55.4946C50.6824 55.4428 50.679 55.3889 50.6764 55.3334H41.3239C41.3213 55.3889 41.318 55.4428 41.3137 55.4946C41.2919 55.7613 41.2405 56.076 41.0792 56.3927C40.8555 56.8317 40.4985 57.1887 40.0595 57.4124C39.7428 57.5737 39.4281 57.6252 39.1614 57.6469C38.9186 57.6668 38.6318 57.6668 38.3374 57.6667H37.3296C37.0352 57.6668 36.7484 57.6668 36.5056 57.6469C36.2389 57.6252 35.9242 57.5737 35.6075 57.4124C35.1685 57.1887 34.8115 56.8317 34.5878 56.3927C34.4265 56.076 34.3751 55.7613 34.3533 55.4946C34.3334 55.2518 34.3335 54.965 34.3335 54.6706V53.6628C34.3335 53.3684 34.3334 53.0816 34.3533 52.8388C34.3751 52.5721 34.4265 52.2574 34.5878 51.9407C34.8115 51.5017 35.1685 51.1447 35.6075 50.921C35.9242 50.7597 36.2389 50.7083 36.5056 50.6865C36.5574 50.6822 36.6113 50.6789 36.6668 50.6763V41.3238C36.6113 41.3212 36.5574 41.3178 36.5056 41.3136C36.2389 41.2918 35.9242 41.2404 35.6075 41.0791C35.1685 40.8554 34.8115 40.4984 34.5878 40.0594C34.4265 39.7427 34.3751 39.428 34.3533 39.1613C34.3334 38.9185 34.3335 38.6317 34.3335 38.3373C34.3335 38.3249 34.3335 38.3125 34.3335 38.3V37.3667C34.3335 37.3543 34.3335 37.3419 34.3335 37.3295C34.3335 37.0351 34.3334 36.7483 34.3533 36.5054C34.3751 36.2388 34.4265 35.9241 34.5878 35.6074C34.8115 35.1684 35.1685 34.8114 35.6075 34.5877C35.9242 34.4264 36.2389 34.3749 36.5056 34.3531C36.7484 34.3333 37.0352 34.3333 37.3296 34.3334ZM39.0002 41.3238V50.6763C39.0557 50.6789 39.1096 50.6822 39.1614 50.6865C39.4281 50.7083 39.7428 50.7597 40.0595 50.921C40.4985 51.1447 40.8555 51.5017 41.0792 51.9407C41.2405 52.2574 41.2919 52.5721 41.3137 52.8388C41.318 52.8907 41.3213 52.9445 41.3239 53H50.6764C50.679 52.9445 50.6824 52.8907 50.6866 52.8388C50.7084 52.5721 50.7598 52.2574 50.9212 51.9407C51.1449 51.5017 51.5018 51.1447 51.9409 50.921C52.2575 50.7597 52.5722 50.7083 52.8389 50.6865C52.8908 50.6822 52.9446 50.6789 53.0002 50.6763V41.3238C52.9446 41.3212 52.8908 41.3178 52.8389 41.3136C52.5722 41.2918 52.2575 41.2404 51.9409 41.0791C51.5018 40.8554 51.1449 40.4984 50.9212 40.0594C50.7598 39.7427 50.7084 39.428 50.6866 39.1613C50.6824 39.1094 50.679 39.0556 50.6764 39L41.3239 39C41.3213 39.0556 41.318 39.1094 41.3137 39.1613C41.2919 39.428 41.2405 39.7427 41.0792 40.0594C40.8555 40.4984 40.4985 40.8554 40.0595 41.0791C39.7428 41.2404 39.4281 41.2918 39.1614 41.3136C39.1096 41.3178 39.0557 41.3212 39.0002 41.3238ZM39.0002 37.3667C39.0002 37.0208 38.9993 36.8315 38.9881 36.6955C38.9877 36.69 38.9873 36.6849 38.9868 36.6801C38.982 36.6796 38.9768 36.6792 38.9714 36.6787C38.8354 36.6676 38.6461 36.6667 38.3002 36.6667H37.3668C37.0209 36.6667 36.8316 36.6676 36.6956 36.6787C36.6902 36.6792 36.685 36.6796 36.6802 36.6801C36.6797 36.6849 36.6793 36.69 36.6789 36.6955C36.6677 36.8315 36.6668 37.0208 36.6668 37.3667V38.3C36.6668 38.646 36.6677 38.8353 36.6789 38.9713C36.6793 38.9767 36.6797 38.9818 36.6802 38.9867C36.685 38.9871 36.6902 38.9876 36.6956 38.988C36.8316 38.9991 37.0209 39 37.3668 39H38.3002C38.6461 39 38.8354 38.9991 38.9714 38.988C38.9768 38.9876 38.982 38.9871 38.9868 38.9867C38.9873 38.9818 38.9877 38.9767 38.9881 38.9713C38.9993 38.8353 39.0002 38.646 39.0002 38.3V37.3667ZM53.0002 38.3C53.0002 38.646 53.0011 38.8353 53.0122 38.9713C53.0126 38.9767 53.0131 38.9818 53.0135 38.9867C53.0184 38.9871 53.0235 38.9876 53.0289 38.988C53.1649 38.9991 53.3542 39 53.7002 39H54.6335C54.9795 39 55.1687 38.9991 55.3048 38.988C55.3102 38.9876 55.3153 38.9871 55.3201 38.9867C55.3206 38.9818 55.321 38.9767 55.3215 38.9713C55.3326 38.8353 55.3335 38.646 55.3335 38.3V37.3667C55.3335 37.0208 55.3326 36.8315 55.3215 36.6955C55.321 36.69 55.3206 36.6849 55.3201 36.6801C55.3153 36.6796 55.3102 36.6792 55.3048 36.6787C55.1687 36.6676 54.9795 36.6667 54.6335 36.6667H53.7002C53.3542 36.6667 53.1649 36.6676 53.0289 36.6787C53.0235 36.6792 53.0184 36.6796 53.0135 36.6801C53.0131 36.6849 53.0126 36.69 53.0122 36.6955C53.0011 36.8315 53.0002 37.0208 53.0002 37.3667V38.3ZM53.7002 53C53.3542 53 53.1649 53.001 53.0289 53.0121C53.0235 53.0125 53.0184 53.013 53.0135 53.0134C53.0131 53.0182 53.0126 53.0234 53.0122 53.0288C53.0011 53.1648 53.0002 53.3541 53.0002 53.7V54.6334C53.0002 54.9793 53.0011 55.1686 53.0122 55.3046C53.0126 55.3101 53.0131 55.3152 53.0135 55.32C53.0184 55.3205 53.0235 55.3209 53.0289 55.3214C53.1649 55.3325 53.3542 55.3334 53.7002 55.3334H54.6335C54.9795 55.3334 55.1687 55.3325 55.3048 55.3214C55.3102 55.3209 55.3153 55.3205 55.3201 55.32C55.3206 55.3152 55.321 55.3101 55.3215 55.3046C55.3326 55.1686 55.3335 54.9793 55.3335 54.6334V53.7C55.3335 53.3541 55.3326 53.1648 55.3215 53.0288C55.321 53.0234 55.3206 53.0182 55.3201 53.0134C55.3153 53.013 55.3102 53.0125 55.3048 53.0121C55.1687 53.001 54.9795 53 54.6335 53H53.7002ZM39.0002 53.7C39.0002 53.3541 38.9993 53.1648 38.9881 53.0288C38.9877 53.0234 38.9873 53.0182 38.9868 53.0134C38.982 53.013 38.9768 53.0125 38.9714 53.0121C38.8354 53.001 38.6461 53 38.3002 53H37.3668C37.0209 53 36.8316 53.001 36.6956 53.0121C36.6902 53.0125 36.685 53.013 36.6802 53.0134C36.6797 53.0182 36.6793 53.0234 36.6789 53.0288C36.6677 53.1648 36.6668 53.3541 36.6668 53.7V54.6334C36.6668 54.9793 36.6677 55.1686 36.6789 55.3046C36.6793 55.3101 36.6797 55.3152 36.6802 55.32C36.685 55.3205 36.6902 55.3209 36.6956 55.3214C36.8316 55.3325 37.0209 55.3334 37.3668 55.3334H38.3002C38.6461 55.3334 38.8354 55.3325 38.9714 55.3214C38.9768 55.3209 38.982 55.3205 38.9868 55.32C38.9873 55.3152 38.9877 55.3101 38.9881 55.3046C38.9993 55.1686 39.0002 54.9793 39.0002 54.6334V53.7Z"
7
+ fill="white" />
8
+ <path
9
+ d="M96.568 59.384C94.8827 59.384 93.3147 59.0747 91.864 58.456C90.4347 57.8373 89.1867 56.984 88.12 55.896C87.0747 54.7867 86.2533 53.4853 85.656 51.992C85.0587 50.4987 84.76 48.856 84.76 47.064C84.76 45.2933 85.048 43.6613 85.624 42.168C86.2213 40.6533 87.0533 39.352 88.12 38.264C89.1867 37.1547 90.4347 36.3013 91.864 35.704C93.2933 35.0853 94.8613 34.776 96.568 34.776C98.2533 34.776 99.7573 35.064 101.08 35.64C102.424 36.216 103.555 36.9733 104.472 37.912C105.389 38.8293 106.051 39.832 106.456 40.92L103.064 42.52C102.552 41.24 101.731 40.2053 100.6 39.416C99.4907 38.6053 98.1467 38.2 96.568 38.2C94.9893 38.2 93.592 38.5733 92.376 39.32C91.16 40.0667 90.2107 41.1013 89.528 42.424C88.8667 43.7467 88.536 45.2933 88.536 47.064C88.536 48.8347 88.8667 50.392 89.528 51.736C90.2107 53.0587 91.16 54.0933 92.376 54.84C93.592 55.5653 94.9893 55.928 96.568 55.928C98.1467 55.928 99.4907 55.5333 100.6 54.744C101.731 53.9547 102.552 52.92 103.064 51.64L106.456 53.24C106.051 54.3067 105.389 55.3093 104.472 56.248C103.555 57.1867 102.424 57.944 101.08 58.52C99.7573 59.096 98.2533 59.384 96.568 59.384ZM117.067 59.384C115.403 59.384 113.877 58.9893 112.491 58.2C111.125 57.4107 110.037 56.3333 109.227 54.968C108.416 53.6027 108.011 52.056 108.011 50.328C108.011 48.5787 108.416 47.032 109.227 45.688C110.037 44.3227 111.125 43.256 112.491 42.488C113.856 41.6987 115.381 41.304 117.067 41.304C118.773 41.304 120.299 41.6987 121.643 42.488C123.008 43.256 124.085 44.3227 124.875 45.688C125.685 47.032 126.091 48.5787 126.091 50.328C126.091 52.0773 125.685 53.6347 124.875 55C124.064 56.3653 122.976 57.4427 121.611 58.232C120.245 59 118.731 59.384 117.067 59.384ZM117.067 56.024C118.091 56.024 118.997 55.7787 119.787 55.288C120.576 54.7973 121.195 54.1253 121.643 53.272C122.112 52.3973 122.347 51.416 122.347 50.328C122.347 49.24 122.112 48.2693 121.643 47.416C121.195 46.5627 120.576 45.8907 119.787 45.4C118.997 44.9093 118.091 44.664 117.067 44.664C116.064 44.664 115.157 44.9093 114.347 45.4C113.557 45.8907 112.928 46.5627 112.459 47.416C112.011 48.2693 111.787 49.24 111.787 50.328C111.787 51.416 112.011 52.3973 112.459 53.272C112.928 54.1253 113.557 54.7973 114.347 55.288C115.157 55.7787 116.064 56.024 117.067 56.024ZM128.661 59V41.688H132.117V45.08L131.701 44.632C132.127 43.544 132.81 42.7227 133.749 42.168C134.687 41.592 135.775 41.304 137.013 41.304C138.293 41.304 139.423 41.5813 140.405 42.136C141.386 42.6907 142.154 43.4587 142.709 44.44C143.263 45.4213 143.541 46.552 143.541 47.832V59H139.957V48.792C139.957 47.9173 139.797 47.1813 139.477 46.584C139.157 45.9653 138.698 45.496 138.101 45.176C137.525 44.8347 136.863 44.664 136.117 44.664C135.37 44.664 134.698 44.8347 134.101 45.176C133.525 45.496 133.077 45.9653 132.757 46.584C132.437 47.2027 132.277 47.9387 132.277 48.792V59H128.661ZM146.451 59V41.688H149.907V45.08L149.491 44.632C149.917 43.544 150.6 42.7227 151.539 42.168C152.477 41.592 153.565 41.304 154.803 41.304C156.083 41.304 157.213 41.5813 158.195 42.136C159.176 42.6907 159.944 43.4587 160.499 44.44C161.053 45.4213 161.331 46.552 161.331 47.832V59H157.747V48.792C157.747 47.9173 157.587 47.1813 157.267 46.584C156.947 45.9653 156.488 45.496 155.891 45.176C155.315 44.8347 154.653 44.664 153.907 44.664C153.16 44.664 152.488 44.8347 151.891 45.176C151.315 45.496 150.867 45.9653 150.547 46.584C150.227 47.2027 150.067 47.9387 150.067 48.792V59H146.451ZM172.369 59.384C170.641 59.384 169.105 58.9893 167.761 58.2C166.438 57.3893 165.403 56.3013 164.657 54.936C163.91 53.5493 163.537 52.0027 163.537 50.296C163.537 48.5467 163.91 47 164.657 45.656C165.425 44.312 166.449 43.256 167.729 42.488C169.009 41.6987 170.459 41.304 172.081 41.304C173.382 41.304 174.545 41.528 175.569 41.976C176.593 42.424 177.457 43.0427 178.161 43.832C178.865 44.6 179.398 45.4853 179.761 46.488C180.145 47.4907 180.337 48.5573 180.337 49.688C180.337 49.9653 180.326 50.2533 180.305 50.552C180.283 50.8507 180.241 51.128 180.177 51.384H166.385V48.504H178.129L176.401 49.816C176.614 48.7707 176.539 47.8427 176.177 47.032C175.835 46.2 175.302 45.5493 174.577 45.08C173.873 44.5893 173.041 44.344 172.081 44.344C171.121 44.344 170.267 44.5893 169.521 45.08C168.774 45.5493 168.198 46.232 167.793 47.128C167.387 48.0027 167.227 49.0693 167.313 50.328C167.206 51.5013 167.366 52.5253 167.793 53.4C168.241 54.2747 168.859 54.9573 169.649 55.448C170.459 55.9387 171.377 56.184 172.401 56.184C173.446 56.184 174.331 55.9493 175.057 55.48C175.803 55.0107 176.39 54.4027 176.817 53.656L179.761 55.096C179.419 55.9067 178.886 56.6427 178.161 57.304C177.457 57.944 176.603 58.456 175.601 58.84C174.619 59.2027 173.542 59.384 172.369 59.384ZM191.13 59.384C189.402 59.384 187.866 58.9893 186.522 58.2C185.199 57.3893 184.143 56.3013 183.354 54.936C182.586 53.5707 182.202 52.024 182.202 50.296C182.202 48.5893 182.586 47.0533 183.354 45.688C184.122 44.3227 185.178 43.256 186.522 42.488C187.866 41.6987 189.402 41.304 191.13 41.304C192.303 41.304 193.402 41.5173 194.426 41.944C195.45 42.3493 196.335 42.9147 197.082 43.64C197.85 44.3653 198.415 45.208 198.778 46.168L195.61 47.64C195.247 46.744 194.66 46.0293 193.85 45.496C193.06 44.9413 192.154 44.664 191.13 44.664C190.148 44.664 189.263 44.9093 188.474 45.4C187.706 45.8693 187.098 46.5413 186.65 47.416C186.202 48.2693 185.978 49.24 185.978 50.328C185.978 51.416 186.202 52.3973 186.65 53.272C187.098 54.1253 187.706 54.7973 188.474 55.288C189.263 55.7787 190.148 56.024 191.13 56.024C192.175 56.024 193.082 55.7573 193.85 55.224C194.639 54.6693 195.226 53.9333 195.61 53.016L198.778 54.52C198.436 55.4373 197.882 56.2693 197.114 57.016C196.367 57.7413 195.482 58.3173 194.458 58.744C193.434 59.1707 192.324 59.384 191.13 59.384ZM208.84 59.192C207.027 59.192 205.619 58.68 204.616 57.656C203.613 56.632 203.112 55.192 203.112 53.336V44.952H200.072V41.688H200.552C201.363 41.688 201.992 41.4533 202.44 40.984C202.888 40.5147 203.112 39.8747 203.112 39.064V37.72H206.728V41.688H210.664V44.952H206.728V53.176C206.728 53.7733 206.824 54.2853 207.016 54.712C207.208 55.1173 207.517 55.4373 207.944 55.672C208.371 55.8853 208.925 55.992 209.608 55.992C209.779 55.992 209.971 55.9813 210.184 55.96C210.397 55.9387 210.6 55.9173 210.792 55.896V59C210.493 59.0427 210.163 59.0853 209.8 59.128C209.437 59.1707 209.117 59.192 208.84 59.192ZM221.4 59.384C219.736 59.384 218.211 58.9893 216.824 58.2C215.459 57.4107 214.371 56.3333 213.56 54.968C212.75 53.6027 212.344 52.056 212.344 50.328C212.344 48.5787 212.75 47.032 213.56 45.688C214.371 44.3227 215.459 43.256 216.824 42.488C218.19 41.6987 219.715 41.304 221.4 41.304C223.107 41.304 224.632 41.6987 225.976 42.488C227.342 43.256 228.419 44.3227 229.208 45.688C230.019 47.032 230.424 48.5787 230.424 50.328C230.424 52.0773 230.019 53.6347 229.208 55C228.398 56.3653 227.31 57.4427 225.944 58.232C224.579 59 223.064 59.384 221.4 59.384ZM221.4 56.024C222.424 56.024 223.331 55.7787 224.12 55.288C224.91 54.7973 225.528 54.1253 225.976 53.272C226.446 52.3973 226.68 51.416 226.68 50.328C226.68 49.24 226.446 48.2693 225.976 47.416C225.528 46.5627 224.91 45.8907 224.12 45.4C223.331 44.9093 222.424 44.664 221.4 44.664C220.398 44.664 219.491 44.9093 218.68 45.4C217.891 45.8907 217.262 46.5627 216.792 47.416C216.344 48.2693 216.12 49.24 216.12 50.328C216.12 51.416 216.344 52.3973 216.792 53.272C217.262 54.1253 217.891 54.7973 218.68 55.288C219.491 55.7787 220.398 56.024 221.4 56.024ZM232.995 59V41.688H236.451V45.176L236.131 44.664C236.515 43.5333 237.133 42.7227 237.987 42.232C238.84 41.72 239.864 41.464 241.059 41.464H242.115V44.76H240.611C239.416 44.76 238.445 45.1333 237.699 45.88C236.973 46.6053 236.611 47.6507 236.611 49.016V59H232.995ZM250.028 59.384C248.258 59.384 246.7 58.9467 245.356 58.072C244.034 57.1973 243.106 56.024 242.572 54.552L245.356 53.24C245.826 54.2213 246.466 55 247.276 55.576C248.108 56.152 249.026 56.44 250.028 56.44C250.882 56.44 251.575 56.248 252.108 55.864C252.642 55.48 252.908 54.9573 252.908 54.296C252.908 53.8693 252.791 53.528 252.556 53.272C252.322 52.9947 252.023 52.7707 251.66 52.6C251.319 52.4293 250.967 52.3013 250.604 52.216L247.884 51.448C246.391 51.0213 245.271 50.3813 244.524 49.528C243.799 48.6533 243.436 47.64 243.436 46.488C243.436 45.4427 243.703 44.536 244.236 43.768C244.77 42.9787 245.506 42.3707 246.444 41.944C247.383 41.5173 248.439 41.304 249.612 41.304C251.191 41.304 252.599 41.6987 253.836 42.488C255.074 43.256 255.948 44.3333 256.46 45.72L253.676 47.032C253.335 46.2 252.791 45.5387 252.044 45.048C251.319 44.5573 250.498 44.312 249.58 44.312C248.791 44.312 248.162 44.504 247.692 44.888C247.223 45.2507 246.988 45.7307 246.988 46.328C246.988 46.7333 247.095 47.0747 247.308 47.352C247.522 47.608 247.799 47.8213 248.14 47.992C248.482 48.1413 248.834 48.2693 249.196 48.376L252.012 49.208C253.442 49.6133 254.54 50.2533 255.308 51.128C256.076 51.9813 256.46 53.0053 256.46 54.2C256.46 55.224 256.183 56.1307 255.628 56.92C255.095 57.688 254.348 58.296 253.388 58.744C252.428 59.1707 251.308 59.384 250.028 59.384Z"
10
+ fill="#431D93" />
11
+ <path
12
+ d="M184.408 207.192C183.661 207.192 182.968 207.053 182.328 206.776C181.688 206.488 181.144 206.099 180.696 205.608C180.248 205.117 179.917 204.552 179.704 203.912L181.304 203.24C181.592 203.976 182.013 204.541 182.568 204.936C183.123 205.331 183.763 205.528 184.488 205.528C184.915 205.528 185.288 205.464 185.608 205.336C185.928 205.197 186.173 205.005 186.344 204.76C186.525 204.515 186.616 204.232 186.616 203.912C186.616 203.475 186.493 203.128 186.248 202.872C186.003 202.616 185.64 202.413 185.16 202.264L182.92 201.56C182.024 201.283 181.341 200.861 180.872 200.296C180.403 199.72 180.168 199.048 180.168 198.28C180.168 197.608 180.333 197.021 180.664 196.52C180.995 196.008 181.448 195.608 182.024 195.32C182.611 195.032 183.277 194.888 184.024 194.888C184.739 194.888 185.389 195.016 185.976 195.272C186.563 195.517 187.064 195.859 187.48 196.296C187.907 196.733 188.216 197.24 188.408 197.816L186.84 198.504C186.605 197.875 186.237 197.389 185.736 197.048C185.245 196.707 184.675 196.536 184.024 196.536C183.629 196.536 183.283 196.605 182.984 196.744C182.685 196.872 182.451 197.064 182.28 197.32C182.12 197.565 182.04 197.853 182.04 198.184C182.04 198.568 182.163 198.909 182.408 199.208C182.653 199.507 183.027 199.731 183.528 199.88L185.608 200.536C186.557 200.824 187.272 201.24 187.752 201.784C188.232 202.317 188.472 202.984 188.472 203.784C188.472 204.445 188.296 205.032 187.944 205.544C187.603 206.056 187.128 206.461 186.52 206.76C185.912 207.048 185.208 207.192 184.408 207.192ZM193.999 207.096C193.093 207.096 192.389 206.84 191.887 206.328C191.386 205.816 191.135 205.096 191.135 204.168V199.976H189.615V198.344H189.855C190.261 198.344 190.575 198.227 190.799 197.992C191.023 197.757 191.135 197.437 191.135 197.032V196.36H192.943V198.344H194.911V199.976H192.943V204.088C192.943 204.387 192.991 204.643 193.087 204.856C193.183 205.059 193.338 205.219 193.551 205.336C193.765 205.443 194.042 205.496 194.383 205.496C194.469 205.496 194.565 205.491 194.671 205.48C194.778 205.469 194.879 205.459 194.975 205.448V207C194.826 207.021 194.661 207.043 194.479 207.064C194.298 207.085 194.138 207.096 193.999 207.096ZM199.094 207.192C198.507 207.192 197.99 207.091 197.542 206.888C197.104 206.675 196.763 206.387 196.518 206.024C196.272 205.651 196.15 205.213 196.15 204.712C196.15 204.243 196.251 203.821 196.454 203.448C196.667 203.075 196.992 202.76 197.43 202.504C197.867 202.248 198.416 202.067 199.078 201.96L202.086 201.464V202.888L199.43 203.352C198.95 203.437 198.598 203.592 198.374 203.816C198.15 204.029 198.038 204.307 198.038 204.648C198.038 204.979 198.16 205.251 198.406 205.464C198.662 205.667 198.987 205.768 199.382 205.768C199.872 205.768 200.299 205.661 200.662 205.448C201.035 205.235 201.323 204.952 201.526 204.6C201.728 204.237 201.83 203.837 201.83 203.4V201.176C201.83 200.749 201.67 200.403 201.35 200.136C201.04 199.859 200.624 199.72 200.102 199.72C199.622 199.72 199.2 199.848 198.838 200.104C198.486 200.349 198.224 200.669 198.054 201.064L196.55 200.312C196.71 199.885 196.971 199.512 197.334 199.192C197.696 198.861 198.118 198.605 198.598 198.424C199.088 198.243 199.606 198.152 200.15 198.152C200.832 198.152 201.435 198.28 201.958 198.536C202.491 198.792 202.902 199.149 203.19 199.608C203.488 200.056 203.638 200.579 203.638 201.176V207H201.91V205.432L202.278 205.48C202.075 205.832 201.814 206.136 201.494 206.392C201.184 206.648 200.827 206.845 200.422 206.984C200.027 207.123 199.584 207.192 199.094 207.192ZM205.592 207V198.344H207.32V200.088L207.16 199.832C207.352 199.267 207.661 198.861 208.088 198.616C208.514 198.36 209.026 198.232 209.624 198.232H210.152V199.88H209.4C208.802 199.88 208.317 200.067 207.944 200.44C207.581 200.803 207.4 201.325 207.4 202.008V207H205.592ZM215.129 207.096C214.222 207.096 213.518 206.84 213.017 206.328C212.515 205.816 212.265 205.096 212.265 204.168V199.976H210.745V198.344H210.985C211.39 198.344 211.705 198.227 211.929 197.992C212.153 197.757 212.265 197.437 212.265 197.032V196.36H214.073V198.344H216.041V199.976H214.073V204.088C214.073 204.387 214.121 204.643 214.217 204.856C214.313 205.059 214.467 205.219 214.681 205.336C214.894 205.443 215.171 205.496 215.513 205.496C215.598 205.496 215.694 205.491 215.801 205.48C215.907 205.469 216.009 205.459 216.105 205.448V207C215.955 207.021 215.79 207.043 215.609 207.064C215.427 207.085 215.267 207.096 215.129 207.096ZM221.617 207.192C220.753 207.192 219.985 206.995 219.313 206.6C218.652 206.195 218.134 205.651 217.761 204.968C217.388 204.275 217.201 203.501 217.201 202.648C217.201 201.773 217.388 201 217.761 200.328C218.145 199.656 218.657 199.128 219.297 198.744C219.937 198.349 220.662 198.152 221.473 198.152C222.124 198.152 222.705 198.264 223.217 198.488C223.729 198.712 224.161 199.021 224.513 199.416C224.865 199.8 225.132 200.243 225.313 200.744C225.505 201.245 225.601 201.779 225.601 202.344C225.601 202.483 225.596 202.627 225.585 202.776C225.574 202.925 225.553 203.064 225.521 203.192H218.625V201.752H224.497L223.633 202.408C223.74 201.885 223.702 201.421 223.521 201.016C223.35 200.6 223.084 200.275 222.721 200.04C222.369 199.795 221.953 199.672 221.473 199.672C220.993 199.672 220.566 199.795 220.193 200.04C219.82 200.275 219.532 200.616 219.329 201.064C219.126 201.501 219.046 202.035 219.089 202.664C219.036 203.251 219.116 203.763 219.329 204.2C219.553 204.637 219.862 204.979 220.257 205.224C220.662 205.469 221.121 205.592 221.633 205.592C222.156 205.592 222.598 205.475 222.961 205.24C223.334 205.005 223.628 204.701 223.841 204.328L225.313 205.048C225.142 205.453 224.876 205.821 224.513 206.152C224.161 206.472 223.734 206.728 223.233 206.92C222.742 207.101 222.204 207.192 221.617 207.192ZM227.205 207V198.344H228.933V200.088L228.773 199.832C228.965 199.267 229.275 198.861 229.701 198.616C230.128 198.36 230.64 198.232 231.237 198.232H231.765V199.88H231.013C230.416 199.88 229.931 200.067 229.557 200.44C229.195 200.803 229.013 201.325 229.013 202.008V207H227.205ZM241.239 207.192C240.396 207.192 239.612 207.037 238.887 206.728C238.172 206.419 237.543 205.992 236.999 205.448C236.466 204.893 236.05 204.243 235.751 203.496C235.452 202.749 235.303 201.928 235.303 201.032C235.303 200.147 235.447 199.331 235.735 198.584C236.034 197.827 236.45 197.176 236.983 196.632C237.516 196.077 238.14 195.651 238.855 195.352C239.57 195.043 240.354 194.888 241.207 194.888C242.05 194.888 242.802 195.032 243.463 195.32C244.135 195.608 244.7 195.987 245.159 196.456C245.618 196.915 245.948 197.416 246.151 197.96L244.471 198.776C244.226 198.125 243.82 197.603 243.255 197.208C242.69 196.803 242.007 196.6 241.207 196.6C240.418 196.6 239.719 196.787 239.111 197.16C238.503 197.533 238.028 198.051 237.687 198.712C237.356 199.373 237.191 200.147 237.191 201.032C237.191 201.917 237.362 202.696 237.703 203.368C238.055 204.029 238.535 204.547 239.143 204.92C239.751 205.283 240.45 205.464 241.239 205.464C241.9 205.464 242.503 205.331 243.047 205.064C243.602 204.787 244.044 204.403 244.375 203.912C244.706 203.411 244.871 202.829 244.871 202.168V201.352L245.719 202.12H241.207V200.52H246.743V201.64C246.743 202.515 246.594 203.299 246.295 203.992C245.996 204.675 245.591 205.256 245.079 205.736C244.567 206.216 243.98 206.579 243.319 206.824C242.658 207.069 241.964 207.192 241.239 207.192ZM251.423 207.192C250.772 207.192 250.201 207.048 249.711 206.76C249.22 206.461 248.836 206.051 248.559 205.528C248.292 204.995 248.159 204.381 248.159 203.688V198.344H249.967V203.528C249.967 203.923 250.047 204.269 250.207 204.568C250.367 204.867 250.591 205.101 250.879 205.272C251.167 205.432 251.497 205.512 251.871 205.512C252.255 205.512 252.591 205.427 252.879 205.256C253.167 205.085 253.391 204.845 253.551 204.536C253.721 204.227 253.807 203.864 253.807 203.448V198.344H255.599V207H253.887V205.304L254.079 205.528C253.876 206.061 253.54 206.472 253.071 206.76C252.601 207.048 252.052 207.192 251.423 207.192ZM257.55 207V198.344H259.358V207H257.55ZM257.55 197.16V195.08H259.358V197.16H257.55ZM265.312 207.192C264.48 207.192 263.733 206.995 263.072 206.6C262.421 206.195 261.904 205.651 261.52 204.968C261.146 204.285 260.96 203.517 260.96 202.664C260.96 201.811 261.152 201.043 261.536 200.36C261.92 199.677 262.437 199.139 263.088 198.744C263.738 198.349 264.474 198.152 265.296 198.152C265.989 198.152 266.602 198.291 267.136 198.568C267.669 198.845 268.09 199.229 268.4 199.72L268.128 200.136V194.888H269.92V207H268.208V205.24L268.416 205.576C268.117 206.099 267.69 206.499 267.136 206.776C266.581 207.053 265.973 207.192 265.312 207.192ZM265.488 205.512C265.989 205.512 266.437 205.389 266.832 205.144C267.237 204.899 267.552 204.563 267.776 204.136C268.01 203.699 268.128 203.208 268.128 202.664C268.128 202.12 268.01 201.635 267.776 201.208C267.552 200.781 267.237 200.445 266.832 200.2C266.437 199.955 265.989 199.832 265.488 199.832C264.986 199.832 264.533 199.955 264.128 200.2C263.722 200.445 263.408 200.781 263.184 201.208C262.96 201.635 262.848 202.12 262.848 202.664C262.848 203.208 262.96 203.699 263.184 204.136C263.408 204.563 263.717 204.899 264.112 205.144C264.517 205.389 264.976 205.512 265.488 205.512ZM275.934 207.192C275.07 207.192 274.302 206.995 273.63 206.6C272.969 206.195 272.452 205.651 272.078 204.968C271.705 204.275 271.518 203.501 271.518 202.648C271.518 201.773 271.705 201 272.078 200.328C272.462 199.656 272.974 199.128 273.614 198.744C274.254 198.349 274.98 198.152 275.79 198.152C276.441 198.152 277.022 198.264 277.534 198.488C278.046 198.712 278.478 199.021 278.83 199.416C279.182 199.8 279.449 200.243 279.63 200.744C279.822 201.245 279.918 201.779 279.918 202.344C279.918 202.483 279.913 202.627 279.902 202.776C279.892 202.925 279.87 203.064 279.838 203.192H272.942V201.752H278.814L277.95 202.408C278.057 201.885 278.02 201.421 277.838 201.016C277.668 200.6 277.401 200.275 277.038 200.04C276.686 199.795 276.27 199.672 275.79 199.672C275.31 199.672 274.884 199.795 274.51 200.04C274.137 200.275 273.849 200.616 273.646 201.064C273.444 201.501 273.364 202.035 273.406 202.664C273.353 203.251 273.433 203.763 273.646 204.2C273.87 204.637 274.18 204.979 274.574 205.224C274.98 205.469 275.438 205.592 275.95 205.592C276.473 205.592 276.916 205.475 277.278 205.24C277.652 205.005 277.945 204.701 278.158 204.328L279.63 205.048C279.46 205.453 279.193 205.821 278.83 206.152C278.478 206.472 278.052 206.728 277.55 206.92C277.06 207.101 276.521 207.192 275.934 207.192Z"
13
+ fill="#7A3EF4" />
14
+ <path
15
+ d="M175 150C191.569 150 205 136.569 205 120C205 103.431 191.569 90 175 90C158.431 90 145 103.431 145 120C145 136.569 158.431 150 175 150Z"
16
+ fill="#431D93" />
17
+ <path d="M167.047 132.996V109.203L186.703 121.099L167.047 132.996Z" fill="white" />
18
+ <path
19
+ d="M325.834 205.218C326.558 203.009 326.814 200.674 326.586 198.361C326.357 196.049 325.649 193.809 324.506 191.785L313.04 191.495V191.351L324.076 191.072C322.743 188.974 320.96 187.198 318.856 185.874L310 185.652V185.509L317.871 185.31C314.646 183.581 310.941 182.962 307.329 183.549C303.717 184.136 300.398 185.895 297.886 188.556L307.791 188.807V188.95L297.294 189.213C294.732 192.223 293.328 196.048 293.334 200C293.334 200.179 293.334 200.353 293.342 200.528C293.342 200.54 293.342 200.552 293.342 200.563L297.299 200.664V200.807L293.356 200.907C293.356 200.919 293.356 200.931 293.356 200.942C293.5 203.543 294.255 206.073 295.56 208.328L302.154 208.495V208.638L295.842 208.798C297.39 211.284 299.563 213.319 302.145 214.702C302.35 214.814 302.558 214.919 302.769 215.021V201.176H304.368C304.429 201.176 304.49 201.188 304.547 201.212C304.604 201.235 304.656 201.27 304.699 201.313C304.743 201.357 304.777 201.409 304.801 201.465C304.824 201.522 304.836 201.583 304.836 201.645V215.851C308.193 216.939 311.807 216.939 315.164 215.851V201.645C315.164 201.583 315.176 201.522 315.2 201.465C315.223 201.409 315.258 201.357 315.301 201.313C315.345 201.27 315.396 201.235 315.453 201.212C315.51 201.188 315.571 201.176 315.633 201.176H317.23V215.023C317.438 214.922 317.645 214.817 317.848 214.708C319.478 213.837 320.952 212.702 322.209 211.347L318.07 211.242V211.099L322.536 210.986C323.906 209.425 324.972 207.622 325.678 205.669L319.718 205.517V205.374L325.834 205.218ZM319.542 200.737H300.458L300.113 199.359H302.769V197.882H303.311C303.505 197.882 303.697 197.92 303.876 197.995C304.055 198.069 304.217 198.177 304.354 198.314C304.491 198.451 304.599 198.614 304.673 198.793C304.747 198.972 304.785 199.164 304.785 199.357H308.967V197.39H298.836C298.638 195.816 297.704 194.587 297.704 194.587C300.458 195.225 310 195.275 310 195.275C310 195.275 319.542 195.225 322.295 194.587C322.295 194.587 321.362 195.816 321.164 197.39H311.033V199.358H315.216C315.216 199.164 315.254 198.972 315.328 198.793C315.402 198.614 315.511 198.452 315.648 198.315C315.785 198.178 315.948 198.069 316.127 197.995C316.306 197.921 316.497 197.883 316.691 197.883H317.233V199.358H319.889L319.542 200.737Z"
20
+ fill="#431D93" />
21
+ </svg>