zenml-nightly 0.81.0.dev20250428__py3-none-any.whl → 0.81.0.dev20250430__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.
- zenml/VERSION +1 -1
- zenml/cli/model.py +2 -7
- zenml/client.py +17 -2
- zenml/config/build_configuration.py +4 -0
- zenml/config/docker_settings.py +1 -1
- zenml/config/resource_settings.py +1 -1
- zenml/config/strict_base_model.py +1 -1
- zenml/entrypoints/base_entrypoint_configuration.py +1 -1
- zenml/environment.py +37 -34
- zenml/exceptions.py +0 -78
- zenml/integrations/aws/__init__.py +1 -1
- zenml/integrations/evidently/__init__.py +1 -0
- zenml/integrations/evidently/metrics.py +1 -1
- zenml/integrations/evidently/tests.py +1 -1
- zenml/integrations/gcp/flavors/vertex_orchestrator_flavor.py +6 -0
- zenml/integrations/gcp/orchestrators/vertex_orchestrator.py +49 -28
- zenml/integrations/kubeflow/orchestrators/kubeflow_orchestrator.py +7 -29
- zenml/integrations/kubernetes/flavors/kubernetes_orchestrator_flavor.py +6 -0
- zenml/integrations/kubernetes/orchestrators/kubernetes_orchestrator.py +12 -5
- zenml/integrations/kubernetes/orchestrators/kubernetes_orchestrator_entrypoint.py +31 -18
- zenml/integrations/kubernetes/orchestrators/manifest_utils.py +21 -0
- zenml/integrations/kubernetes/pod_settings.py +6 -1
- zenml/integrations/numpy/__init__.py +4 -1
- zenml/integrations/numpy/materializers/numpy_materializer.py +75 -6
- zenml/integrations/pandas/materializers/pandas_materializer.py +118 -22
- zenml/integrations/tekton/orchestrators/tekton_orchestrator.py +8 -28
- zenml/models/v2/core/model_version.py +28 -33
- zenml/models/v2/core/pipeline_deployment.py +4 -4
- zenml/models/v2/core/pipeline_run.py +5 -12
- zenml/models/v2/core/user.py +1 -1
- zenml/orchestrators/dag_runner.py +50 -14
- zenml/secret/base_secret.py +1 -1
- zenml/stack/stack_component.py +1 -1
- zenml/stack/utils.py +1 -1
- zenml/utils/code_utils.py +1 -1
- zenml/zen_server/dashboard/assets/{404-o3nB5iwI.js → 404-D4aYbspS.js} +1 -1
- zenml/zen_server/dashboard/assets/{@react-router-BGgzhn5D.js → @react-router-CNP6g_RL.js} +1 -1
- zenml/zen_server/dashboard/assets/{AlertDialogDropdownItem-C_qWs-4u.js → AlertDialogDropdownItem-CRZjthRL.js} +1 -1
- zenml/zen_server/dashboard/assets/{CodeSnippet-nRnOvbOJ.js → CodeSnippet-Di-loaZu.js} +1 -1
- zenml/zen_server/dashboard/assets/CollapsibleCard-Dr5zb5T5.js +1 -0
- zenml/zen_server/dashboard/assets/{Commands-BwBzFj-5.js → Commands-CD9Y7FOE.js} +1 -1
- zenml/zen_server/dashboard/assets/{ComponentBadge-CMx2DbsV.js → ComponentBadge-BgGnzcLu.js} +1 -1
- zenml/zen_server/dashboard/assets/{ComponentIcon-CSxdApv8.js → ComponentIcon-B_7Y_oV-.js} +1 -1
- zenml/zen_server/dashboard/assets/{CsvVizualization-lxB2iyEh.js → CsvVizualization-CDrjL6bW.js} +1 -1
- zenml/zen_server/dashboard/assets/{DeleteAlertDialog-Bp0o-UXZ.js → DeleteAlertDialog-9RTDnEx3.js} +1 -1
- zenml/zen_server/dashboard/assets/DialogItem-0fWTH7ki.js +1 -0
- zenml/zen_server/dashboard/assets/{Error-DRhVeVHQ.js → Error-vBjUYjb-.js} +1 -1
- zenml/zen_server/dashboard/assets/{ExecutionStatus-HnZXi9bW.js → ExecutionStatus-B-ysY113.js} +1 -1
- zenml/zen_server/dashboard/assets/{Helpbox-Dsr3ZYcL.js → Helpbox-Dt3q7NGd.js} +1 -1
- zenml/zen_server/dashboard/assets/{Infobox-C4Op55B8.js → Infobox-Bai0JtFs.js} +1 -1
- zenml/zen_server/dashboard/assets/{InlineAvatar-CrAwe7Pl.js → InlineAvatar-Cpj0lVRQ.js} +1 -1
- zenml/zen_server/dashboard/assets/NestedCollapsible-DbhKdWx-.js +1 -0
- zenml/zen_server/dashboard/assets/{Partials-DjTM0Oe-.js → Partials-BNBtCjuT.js} +1 -1
- zenml/zen_server/dashboard/assets/ProBadge-3vtouJQf.js +1 -0
- zenml/zen_server/dashboard/assets/{ProCta-BYSSivgY.js → ProCta-BoTLdAdV.js} +1 -1
- zenml/zen_server/dashboard/assets/{ProviderIcon-B8W7AGNk.js → ProviderIcon-kkODO9tx.js} +1 -1
- zenml/zen_server/dashboard/assets/{ProviderRadio-BWFJPEY2.js → ProviderRadio-26EB5tY-.js} +1 -1
- zenml/zen_server/dashboard/assets/RunSelector-j0C_TPVp.js +1 -0
- zenml/zen_server/dashboard/assets/RunsBody-DexNouV4.js +1 -0
- zenml/zen_server/dashboard/assets/SearchField-DMCywawn.js +1 -0
- zenml/zen_server/dashboard/assets/{SecretTooltip-CCn9HfEh.js → SecretTooltip-LLGP7AIC.js} +1 -1
- zenml/zen_server/dashboard/assets/{SetPassword-BDFVwnNB.js → SetPassword-CBHW-Su8.js} +1 -1
- zenml/zen_server/dashboard/assets/StackList-S-9I1R4n.js +1 -0
- zenml/zen_server/dashboard/assets/Tabs-C2ufJX4t.js +1 -0
- zenml/zen_server/dashboard/assets/Tick-ay3Bgtro.js +1 -0
- zenml/zen_server/dashboard/assets/{UpdatePasswordSchemas-3gg2tC-H.js → UpdatePasswordSchemas-p3RX0P-Q.js} +1 -1
- zenml/zen_server/dashboard/assets/{UsageReason-DOMAzO02.js → UsageReason-C8sD2bOU.js} +1 -1
- zenml/zen_server/dashboard/assets/{Wizard-BSH_lIfi.js → Wizard-DIllc07n.js} +1 -1
- zenml/zen_server/dashboard/assets/{WizardFooter-CnM-50jL.js → WizardFooter-dNDpuero.js} +1 -1
- zenml/zen_server/dashboard/assets/{all-pipeline-runs-query-D9XfZpmV.js → all-pipeline-runs-query-BUT1PiTp.js} +1 -1
- zenml/zen_server/dashboard/assets/{configuration-form-Ci_QlfZC.js → configuration-form-DBZSb0FV.js} +1 -1
- zenml/zen_server/dashboard/assets/{create-stack-CoQ5SEJL.js → create-stack-BXLyjE58.js} +1 -1
- zenml/zen_server/dashboard/assets/{delete-run-B5xUZwdP.js → delete-run-DzcYxUnd.js} +1 -1
- zenml/zen_server/dashboard/assets/dots-horizontal-BGRJCPCs.js +1 -0
- zenml/zen_server/dashboard/assets/{flavor-select-DOLAl-S4.js → flavor-select-BTEwByv6.js} +1 -1
- zenml/zen_server/dashboard/assets/{form-schemas-BaEJ1z87.js → form-schemas-BJN_25Ua.js} +1 -1
- zenml/zen_server/dashboard/assets/{index-e8udi7QT.js → index-8uhUi12k.js} +1 -1
- zenml/zen_server/dashboard/assets/{index-hsSXyS3H.js → index-BygJE88j.js} +8 -8
- zenml/zen_server/dashboard/assets/{index-ojAuWXMf.js → index-D9-ukAem.js} +1 -1
- zenml/zen_server/dashboard/assets/index-DmTFrHJm.css +1 -0
- zenml/zen_server/dashboard/assets/{index-BoWZ9rXk.js → index-wYtmKLnQ.js} +1 -1
- zenml/zen_server/dashboard/assets/{login-mutation-CwraNa5G.js → login-mutation-DywLqguW.js} +1 -1
- zenml/zen_server/dashboard/assets/{not-found-BuK1QrF2.js → not-found-BOoklIG4.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-0AIX3VK8.js → page--hSXKqyG.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-CIDo1Ajk.js → page-2BsNK_sZ.js} +1 -1
- zenml/zen_server/dashboard/assets/page-4nVakAEl.js +1 -0
- zenml/zen_server/dashboard/assets/{page-CjRoKEQs.js → page-8AzB83Py.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BQVPbNps.js → page-B0r9dBEU.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-hVng6ANV.js → page-B1Uq1S1Q.js} +1 -1
- zenml/zen_server/dashboard/assets/page-B3DscprQ.js +1 -0
- zenml/zen_server/dashboard/assets/{page-KRP_w5zH.js → page-B7Aj2XbV.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-CZgeF_wQ.js → page-BE8jdyaM.js} +1 -1
- zenml/zen_server/dashboard/assets/page-BIYqUwTI.js +1 -0
- zenml/zen_server/dashboard/assets/page-BTzhAVEn.js +1 -0
- zenml/zen_server/dashboard/assets/{page-_Zt6UwiG.js → page-ByXQN8A-.js} +1 -1
- zenml/zen_server/dashboard/assets/page-CI4a9CXs.js +1 -0
- zenml/zen_server/dashboard/assets/page-CPLlVRXx.js +6 -0
- zenml/zen_server/dashboard/assets/page-CSQOpvvK.js +3 -0
- zenml/zen_server/dashboard/assets/{page-DwIlrsF0.js → page-Ccnk_5ji.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-C-6XUKSp.js → page-Ci_n_x3a.js} +1 -1
- zenml/zen_server/dashboard/assets/page-D-ry_oLs.js +1 -0
- zenml/zen_server/dashboard/assets/{page-DbEn9V9E.js → page-D2TtSfnb.js} +1 -1
- zenml/zen_server/dashboard/assets/page-DHnkTzqs.js +1 -0
- zenml/zen_server/dashboard/assets/{page-B5clbTo4.js → page-DP2Ed-2m.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-C30HZCTR.js → page-D_5R6E7b.js} +1 -1
- zenml/zen_server/dashboard/assets/page-DfTsntQI.js +1 -0
- zenml/zen_server/dashboard/assets/page-DkY7AIhj.js +1 -0
- zenml/zen_server/dashboard/assets/page-DmteSSj6.js +1 -0
- zenml/zen_server/dashboard/assets/page-Dt3wHeWX.js +1 -0
- zenml/zen_server/dashboard/assets/page-EXvws1ss.js +1 -0
- zenml/zen_server/dashboard/assets/{page-Czj8fu8q.js → page-K9yjbnd4.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-DHDeVaMO.js → page-RV8wpZ_4.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-DLVtrRa5.js → page-bUVHi7DE.js} +1 -1
- zenml/zen_server/dashboard/assets/page-cOEvFs_l.js +1 -0
- zenml/zen_server/dashboard/assets/page-kzSGEVUs.js +1 -0
- zenml/zen_server/dashboard/assets/{page-C7buw8xJ.js → page-uDGvpa5g.js} +2 -2
- zenml/zen_server/dashboard/assets/{page-BbygQpf-.js → page-uN0n_DE2.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-CgJcperk.js → page-xa1EAPcI.js} +1 -1
- zenml/zen_server/dashboard/assets/{persist-xOAq24Bm.js → persist-CEeDYHW5.js} +1 -1
- zenml/zen_server/dashboard/assets/{persist-DLvsEXh0.js → persist-SSTTV5q0.js} +1 -1
- zenml/zen_server/dashboard/assets/{service-MHyqhRgp.js → service-BRoAA1Kq.js} +1 -1
- zenml/zen_server/dashboard/assets/sharedSchema-BACERDat.js +14 -0
- zenml/zen_server/dashboard/assets/{stack-detail-query-C1GoxBeK.js → stack-detail-query-ihiJr6nq.js} +1 -1
- zenml/zen_server/dashboard/assets/{update-server-settings-mutation-DduehrZn.js → update-server-settings-mutation-CK6COmw9.js} +1 -1
- zenml/zen_server/dashboard/index.html +4 -4
- zenml/zen_server/deploy/daemon/daemon_zen_server.py +1 -1
- zenml/zen_server/deploy/docker/docker_zen_server.py +1 -1
- zenml/zen_server/exceptions.py +0 -2
- zenml/zen_server/routers/model_versions_endpoints.py +10 -19
- zenml/zen_server/routers/runs_endpoints.py +7 -1
- zenml/zen_stores/schemas/pipeline_deployment_schemas.py +20 -3
- zenml/zen_stores/schemas/pipeline_run_schemas.py +21 -1
- zenml/zen_stores/secrets_stores/hashicorp_secrets_store.py +1 -1
- zenml/zen_stores/secrets_stores/sql_secrets_store.py +1 -1
- zenml/zen_stores/sql_zen_store.py +10 -34
- {zenml_nightly-0.81.0.dev20250428.dist-info → zenml_nightly-0.81.0.dev20250430.dist-info}/METADATA +2 -2
- {zenml_nightly-0.81.0.dev20250428.dist-info → zenml_nightly-0.81.0.dev20250430.dist-info}/RECORD +140 -139
- zenml/zen_server/dashboard/assets/CollapsibleCard-9sSz7n1R.js +0 -1
- zenml/zen_server/dashboard/assets/DialogItem-DHw2ihTx.js +0 -1
- zenml/zen_server/dashboard/assets/NestedCollapsible-Ce1bmT8N.js +0 -1
- zenml/zen_server/dashboard/assets/ProBadge-CDEqgzh8.js +0 -1
- zenml/zen_server/dashboard/assets/RunSelector-DoL_gMHJ.js +0 -1
- zenml/zen_server/dashboard/assets/RunsBody-B6mBjv-_.js +0 -1
- zenml/zen_server/dashboard/assets/SearchField-DHl5flXv.js +0 -1
- zenml/zen_server/dashboard/assets/StackList-dhdUtky3.js +0 -1
- zenml/zen_server/dashboard/assets/Tabs-BuZG8ft1.js +0 -1
- zenml/zen_server/dashboard/assets/Tick-C4gtED35.js +0 -1
- zenml/zen_server/dashboard/assets/index-6mLFgFwe.css +0 -1
- zenml/zen_server/dashboard/assets/page-3lW9eIer.js +0 -1
- zenml/zen_server/dashboard/assets/page-9PzQok8O.js +0 -1
- zenml/zen_server/dashboard/assets/page-BEibNYiA.js +0 -6
- zenml/zen_server/dashboard/assets/page-BOE2XBFy.js +0 -1
- zenml/zen_server/dashboard/assets/page-Bki79xdd.js +0 -1
- zenml/zen_server/dashboard/assets/page-BnKwJnOb.js +0 -1
- zenml/zen_server/dashboard/assets/page-CBGeo-7W.js +0 -2
- zenml/zen_server/dashboard/assets/page-Co-FJ5ds.js +0 -1
- zenml/zen_server/dashboard/assets/page-Cu8vuohQ.js +0 -1
- zenml/zen_server/dashboard/assets/page-D0QcEBi1.js +0 -1
- zenml/zen_server/dashboard/assets/page-DKY_U5Sz.js +0 -1
- zenml/zen_server/dashboard/assets/page-DQHU5o_C.js +0 -1
- zenml/zen_server/dashboard/assets/page-DpY1koQY.js +0 -1
- zenml/zen_server/dashboard/assets/page-DrS4WOup.js +0 -1
- zenml/zen_server/dashboard/assets/page-HIAPXq4w.js +0 -1
- zenml/zen_server/dashboard/assets/page-Jw2QAdxa.js +0 -1
- zenml/zen_server/dashboard/assets/sharedSchema-CQA5lnlU.js +0 -14
- {zenml_nightly-0.81.0.dev20250428.dist-info → zenml_nightly-0.81.0.dev20250430.dist-info}/LICENSE +0 -0
- {zenml_nightly-0.81.0.dev20250428.dist-info → zenml_nightly-0.81.0.dev20250430.dist-info}/WHEEL +0 -0
- {zenml_nightly-0.81.0.dev20250428.dist-info → zenml_nightly-0.81.0.dev20250430.dist-info}/entry_points.txt +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
import{r as p,j as e}from"./@radix-C7hRs6Kx.js";import{a8 as m,a9 as c,aa as d,ab as x,m as b}from"./index-hsSXyS3H.js";import{S as f}from"./chevron-down-A-rmltmI.js";function g({title:r,children:s,initialOpen:o=!1,className:l,contentClassName:t,intent:n="primary"}){const[a,i]=p.useState(o);return e.jsxs(m,{className:l,open:a,onOpenChange:i,children:[e.jsx(c,{intent:n,children:e.jsxs(d,{className:"flex w-full items-center gap-[10px]",children:[e.jsx(f,{className:` ${a?"":"-rotate-90"} h-5 w-5 rounded-md fill-neutral-500 transition-transform duration-200 hover:bg-neutral-200`}),r]})}),e.jsx(x,{className:b("space-y-3 border-t border-theme-border-moderate bg-theme-surface-primary px-5 py-3",t),children:s})]})}export{g as C};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as m,j as e}from"./@radix-C7hRs6Kx.js";import{ak as p,al as d,ah as g}from"./index-hsSXyS3H.js";const h=m.forwardRef((r,a)=>{const{triggerChildren:n,children:i,onSelect:o,onOpenChange:t,icon:x,open:s,...l}=r;return e.jsxs(p,{open:s,onOpenChange:t,children:[e.jsx(d,{asChild:!0,children:e.jsx(g,{...l,className:"hover:cursor-pointer",icon:r.icon,ref:a,onSelect:c=>{c.preventDefault(),o&&o()},children:n})}),i]})});h.displayName="DialogItem";export{h as D};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{j as e}from"./@radix-C7hRs6Kx.js";import{a as c,c as d,i as x}from"./type-guards-CaeD8wHO.js";import{m as f,Z as g,T as u,G as N,H as b,J as y}from"./index-hsSXyS3H.js";import{C as F}from"./CodeSnippet-nRnOvbOJ.js";import{C as O}from"./CollapsibleCard-9sSz7n1R.js";function J({children:i,className:a,...l}){return e.jsx("dt",{...l,className:f("col-span-1 flex min-w-0 items-center truncate text-theme-text-secondary",a),children:i})}function K({children:i,className:a,...l}){return e.jsx("dd",{...l,className:f("col-span-2 flex h-6 w-full min-w-0 items-center truncate text-neutral-700",a),children:i})}function C({label:i,value:a}){return e.jsxs(e.Fragment,{children:[e.jsx(J,{children:i}),e.jsx(K,{children:a})]})}function w({title:i,data:a,intent:l="primary",isInitialOpen:o=!1,contentClassName:n,children:t,className:T}){const m={},j={},p={},V=/^<class\s+'.*'>$/;for(const[r,s]of Object.entries(a||{}))x(s)?m[r]=s:d(s)?p[r]=s:j[r]=s;const h=Object.entries(j);return h.sort((r,s)=>r[0].localeCompare(s[0])),e.jsxs(O,{contentClassName:n,className:T,initialOpen:o,intent:l,title:i,children:[Object.keys(a||{}).length===0?e.jsx("p",{children:"Not available"}):e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("dl",{className:"grid grid-cols-1 gap-x-[10px] gap-y-2 md:grid-cols-3 md:gap-y-4",children:h.map(([r,s])=>e.jsx(C,{label:e.jsx(u,{children:e.jsxs(N,{children:[e.jsx(b,{className:"cursor-default truncate",children:r}),e.jsx(y,{className:"max-w-[480px]",children:r})]})}),value:e.jsx(e.Fragment,{children:c(s)&&V.test(s)?e.jsx(F,{className:"py-1",highlightCode:!0,code:s}):s===null?e.jsx("div",{children:"null"}):c(s)&&g(s)?e.jsx("a",{className:"underline transition-all duration-200 hover:decoration-transparent",href:s,target:"_blank",rel:"noopener noreferrer",children:s}):e.jsx("div",{className:"whitespace-normal",children:c(s)?s:JSON.stringify(s)})})},r))}),Object.entries(p).map(([r,s])=>e.jsx(S,{title:r,value:s},r)),Object.entries(m).map(([r,s])=>e.jsx(w,{intent:"secondary",title:r,data:s},r))]}),t]})}function S({title:i,value:a}){const l=a.filter(n=>!d(n)&&!x(n)||n===null),o=a.filter(n=>d(n)||x(n));return e.jsx(e.Fragment,{children:e.jsxs(O,{intent:"secondary",title:i,children:[l.length>0&&e.jsx("dl",{className:"grid grid-cols-1 gap-x-[10px] gap-y-2 truncate md:grid-cols-3 md:gap-y-4",children:Object.entries(l).map(([n,t])=>e.jsx(C,{label:e.jsx(u,{children:e.jsxs(N,{children:[e.jsx(b,{className:"cursor-default truncate",children:n}),e.jsx(y,{className:"max-w-[480px]",children:n})]})}),value:e.jsx("div",{className:"py-1",children:t===null?e.jsx("div",{children:"null"}):c(t)&&g(t)?e.jsx("a",{className:"underline transition-all duration-200 hover:decoration-transparent",href:t,target:"_blank",rel:"noopener noreferrer",children:t}):e.jsx("div",{className:"whitespace-normal",children:c(t)?t:JSON.stringify(t)})})},n))}),o.length>0&&e.jsx("ul",{className:"space-y-4",children:o.map((n,t)=>e.jsx("li",{children:e.jsx(w,{intent:"secondary",title:t,data:n},t)},t))})]},i)})}export{C as K,w as N,K as V,J as a};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{j as e}from"./@radix-C7hRs6Kx.js";import{U as o}from"./index-hsSXyS3H.js";function a(){return e.jsx(o,{color:"yellow",rounded:!1,className:"rounded-md",children:e.jsx("span",{className:"font-semibold uppercase",children:"Pro"})})}export{a as P};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as a,j as e}from"./@radix-C7hRs6Kx.js";import{S as p}from"./trash-BWSZ7NRK.js";import{D as x,a as D}from"./DeleteAlertDialog-Bp0o-UXZ.js";import{f as j,t as R,v as C,h as w,D as b,w as y,x as S,y as v,C as A}from"./index-hsSXyS3H.js";import{A as O}from"./AlertDialogDropdownItem-C_qWs-4u.js";import{u as k}from"./delete-run-B5xUZwdP.js";import{c as T}from"./@tanstack-CSxjHCME.js";const g=a.createContext(null);function z({children:t}){const[s,r]=a.useState([]),l=T(),{toast:n}=j(),u=k(),o=async i=>{try{const c=i.map(f=>u.mutateAsync({runId:f}));await Promise.all(c),n({description:"Deleted successfully.",status:"success",emphasis:"subtle",rounded:!0}),await l.invalidateQueries({queryKey:["runs"]}),r([])}catch(c){console.error("Failed to delete some runs:",c)}};return e.jsx(g.Provider,{value:{selectedRuns:s,setSelectedRuns:r,bulkDeleteRuns:o},children:t})}function h(){const t=a.useContext(g);if(!t)throw new Error("useRunsSelectorContext must be used within a RunsSelectorProvider");return t}function N(){const[t,s]=a.useState(!1),{bulkDeleteRuns:r,selectedRuns:l}=h();async function n(){await r(l),s(!1)}return e.jsxs(R,{open:t,onOpenChange:s,children:[e.jsx(C,{children:e.jsxs(w,{className:"rounded-sharp border-none bg-white",size:"md",emphasis:"subtle",intent:"secondary",children:[e.jsx(p,{className:"h-5 w-5 shrink-0 gap-1 fill-neutral-400"}),"Delete"]})}),e.jsx(x,{title:`Delete Run${l.length>=2?"s":""}`,handleDelete:n,children:e.jsxs(D,{children:[e.jsx("p",{children:"Are you sure?"}),e.jsx("p",{children:"This action cannot be undone."})]})})]})}function F(){const{selectedRuns:t}=h();return e.jsxs("div",{className:"flex items-center divide-x divide-theme-border-moderate overflow-hidden rounded-md border border-theme-border-moderate",children:[e.jsx("div",{className:"bg-primary-25 px-2 py-1 font-semibold text-theme-text-brand",children:`${t==null?void 0:t.length} Run${(t==null?void 0:t.length)>1?"s":""} selected`}),e.jsx(N,{})]})}function H({id:t}){const[s,r]=a.useState(!1),[l,n]=a.useState(!1),u=a.useRef(null),o=a.useRef(null),{bulkDeleteRuns:i}=h();async function c(){await i([t]),m(!1)}function f(){o.current=u.current}function m(d){if(d===!1){n(!1),setTimeout(()=>{r(d)},200);return}r(d)}return e.jsxs(b,{onOpenChange:n,open:l,children:[e.jsx(y,{ref:u,children:e.jsx(S,{className:"h-4 w-4 fill-theme-text-tertiary"})}),e.jsx(v,{hidden:s,onCloseAutoFocus:d=>{o.current&&(o.current.focus(),o.current=null,d.preventDefault())},align:"end",sideOffset:7,children:e.jsx(O,{onSelect:f,open:s,onOpenChange:m,triggerChildren:"Delete",icon:e.jsx(p,{fill:"red"}),children:e.jsx(x,{title:"Delete Run",handleDelete:c,children:e.jsxs(D,{children:[e.jsx("p",{children:"Are you sure?"}),e.jsx("p",{children:"This action cannot be undone."})]})})})})]})}const Q=({id:t})=>{const{selectedRuns:s,setSelectedRuns:r}=h(),l=(n,u)=>{r(o=>n?[...o,u]:o.filter(i=>i!==u))};return e.jsx(A,{id:t,onCheckedChange:n=>l(n,t),checked:s.includes(t),className:"h-3 w-3"})};export{z as R,Q as a,H as b,F as c,h as u};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{j as s}from"./@radix-C7hRs6Kx.js";import{S as x}from"./refresh-CM5T3QeU.js";import{S as h,P as j}from"./SearchField-DHl5flXv.js";import{u as f}from"./all-pipeline-runs-query-D9XfZpmV.js";import{M as g,r as o,T as b,G as v,H as y,J as N,K as m,L as u,z as i,h as S,N as P,S as p}from"./index-hsSXyS3H.js";import{a as R,b as T,u as k,c as F}from"./RunSelector-DoL_gMHJ.js";import{D as w}from"./DisplayDate-CYVBBSgr.js";import{g as C,E as D}from"./ExecutionStatus-HnZXi9bW.js";import{I as E}from"./InlineAvatar-CrAwe7Pl.js";import{L as l,d as _}from"./@react-router-BGgzhn5D.js";const A=[{id:"check",header:"",meta:{width:"1%"},accessorFn:e=>({id:e.id}),cell:({getValue:e})=>{const{id:a}=e();return s.jsx(R,{id:a})}},{id:"name",header:"Run",accessorFn:e=>{var a;return{id:e.id,name:e.name,status:(a=e.body)==null?void 0:a.status}},cell:({getValue:e})=>{const{name:a,status:t,id:r}=e();return s.jsxs("div",{className:"group/copybutton flex items-center gap-2",children:[s.jsx(g,{className:`h-5 w-5 ${C(t)}`}),s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx(l,{to:o.runs.detail(r),className:"flex items-center gap-1",children:s.jsx("span",{className:"text-text-md font-semibold text-theme-text-primary",children:a})}),s.jsx(b,{children:s.jsxs(v,{children:[s.jsx(y,{className:"hover:text-theme-text-brand hover:underline",children:s.jsx(D,{status:t})}),s.jsx(N,{className:"z-20 capitalize",children:t})]})}),s.jsx(m,{copyText:a})]}),s.jsxs(l,{to:o.runs.detail(r),className:"flex items-center gap-1",children:[s.jsx("p",{className:"text-text-xs text-theme-text-secondary",children:r.split("-")[0]}),s.jsx(m,{copyText:r})]})]})]})}},{id:"pipeline",header:"Pipeline",accessorFn:e=>{var a,t;return(t=(a=e.body)==null?void 0:a.pipeline)==null?void 0:t.name},cell:({getValue:e})=>{const a=e();return a?s.jsx(l,{to:o.pipelines.namespace(a),children:s.jsx(u,{color:"purple",className:"inline-flex items-center gap-0.5 truncate",rounded:!1,emphasis:"subtle",children:a})}):null}},{id:"stack",header:"Stack",accessorFn:e=>{var a,t,r,n;return{name:(t=(a=e.body)==null?void 0:a.stack)==null?void 0:t.name,id:(n=(r=e.body)==null?void 0:r.stack)==null?void 0:n.id}},cell:({getValue:e})=>{const{name:a,id:t}=e();return!a||!t?null:s.jsx(u,{rounded:!1,className:"inline-block",color:"turquoise",emphasis:"subtle",children:a})}},{id:"created-at",header:"Created at",accessorFn:e=>{var a;return{date:(a=e.body)==null?void 0:a.created}},cell:({getValue:e})=>{const{date:a}=e();return s.jsx(w,{dateString:a})}},{id:"author",header:"Author",accessorFn:e=>{var a,t,r,n,d;return{name:((r=(t=(a=e.body)==null?void 0:a.user)==null?void 0:t.body)==null?void 0:r.full_name)||((d=(n=e.body)==null?void 0:n.user)==null?void 0:d.name)}},cell:({getValue:e})=>{const{name:a}=e();return s.jsx(E,{username:a})}},{id:"admin_actions",header:"",meta:{width:"5%"},cell:({row:e})=>s.jsx(T,{id:e.original.id})}],c=1,z=i.object({page:i.coerce.number().min(c).optional().default(c).catch(c),name:i.string().optional(),operator:i.enum(["and","or"]).optional(),status:i.enum(["pending","running","completed"]).optional()});function B(){const[e]=_(),{page:a,name:t,operator:r,status:n}=z.parse({page:e.get("page")||void 0,name:e.get("name")||void 0,operator:e.get("operator")||void 0,status:e.get("status")||void 0});return{page:a,name:t,logical_operator:r,status:n}}function $({fixedQueryParams:e={}}){const{selectedRuns:a}=k(),t=B(),{data:r,refetch:n}=f({params:{...t,sort_by:"desc:updated",...e}});return s.jsxs("div",{className:"mt-5 flex flex-col gap-5",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[a.length?s.jsx(F,{}):s.jsx(h,{searchParams:t}),s.jsx("div",{className:"flex justify-between",children:s.jsxs(S,{intent:"primary",emphasis:"subtle",size:"md",onClick:()=>n(),children:[s.jsx(x,{className:"h-5 w-5 fill-theme-text-brand"}),"Refresh"]})})]}),s.jsxs("div",{className:"flex flex-col items-center gap-5",children:[s.jsx("div",{className:"w-full",children:r?s.jsx(P,{columns:A,data:r.items}):s.jsx(p,{className:"h-[500px] w-full"})}),r?r.total_pages>1&&s.jsx(j,{searchParams:t,paginate:r}):s.jsx(p,{className:"h-[36px] w-[300px]"})]})]})}export{$ as R};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as l,j as e}from"./@radix-C7hRs6Kx.js";import{aU as C,q as b,m as w,x as S,I as j}from"./index-hsSXyS3H.js";import{S as E}from"./chevron-right-double-uNWbJT-C.js";import{a as v,d as N}from"./@react-router-BGgzhn5D.js";import{d as L}from"./index-DR30v9MZ.js";const P=a=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},l.createElement("g",{id:"chevron-left-double"},l.createElement("path",{id:"Icon (Stroke)",fillRule:"evenodd",clipRule:"evenodd",d:"M11.7071 6.29289C12.0976 6.68342 12.0976 7.31658 11.7071 7.70711L7.41421 12L11.7071 16.2929C12.0976 16.6834 12.0976 17.3166 11.7071 17.7071C11.3166 18.0976 10.6834 18.0976 10.2929 17.7071L5.29289 12.7071C4.90237 12.3166 4.90237 11.6834 5.29289 11.2929L10.2929 6.29289C10.6834 5.90237 11.3166 5.90237 11.7071 6.29289ZM18.7071 6.29289C19.0976 6.68342 19.0976 7.31658 18.7071 7.70711L14.4142 12L18.7071 16.2929C19.0976 16.6834 19.0976 17.3166 18.7071 17.7071C18.3166 18.0976 17.6834 18.0976 17.2929 17.7071L12.2929 12.7071C11.9024 12.3166 11.9024 11.6834 12.2929 11.2929L17.2929 6.29289C17.6834 5.90237 18.3166 5.90237 18.7071 6.29289Z"}))),R=a=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},l.createElement("g",{id:"chevron-left"},l.createElement("path",{id:"Icon (Stroke)",fillRule:"evenodd",clipRule:"evenodd",d:"M15.7071 5.29289C16.0976 5.68342 16.0976 6.31658 15.7071 6.70711L10.4142 12L15.7071 17.2929C16.0976 17.6834 16.0976 18.3166 15.7071 18.7071C15.3166 19.0976 14.6834 19.0976 14.2929 18.7071L8.29289 12.7071C7.90237 12.3166 7.90237 11.6834 8.29289 11.2929L14.2929 5.29289C14.6834 4.90237 15.3166 4.90237 15.7071 5.29289Z"})));function z({paginate:a,searchParams:c,inMemoryHandler:i}){const m=v(),{index:s,total_pages:d}=a;function u(n){if(i){i(n);return}const o=new URLSearchParams(b(c));o.set("page",n.toString()),m(`?${o.toString()}`,{preventScrollReset:!1})}const f=()=>{const n=[];let p=!1,g=!1;for(let t=1;t<=d;t++){const r=t>1&&t<d&&Math.abs(t-s)>1;(t===1||t===d||r||Math.abs(t-s)<=1)&&(r?t<s&&!p?(n.push(e.jsx(x,{},"ellipsis-left")),p=!0):t>s&&!g&&(n.push(e.jsx(x,{},"ellipsis-right")),g=!0):n.push(e.jsx(h,{"aria-label":`Go to page ${t}`,"aria-current":t===s,className:`${t===s?"!bg-primary-500 text-theme-text-negative":""}`,onClick:()=>u(t),disabled:t===s,children:t},t)))}return n};return e.jsx("nav",{role:"navigation","aria-label":"Pagination Navigation",children:e.jsxs("ul",{className:"flex gap-1",children:[e.jsx("li",{children:e.jsx(h,{disabled:s===1,onClick:()=>u(1),"aria-label":"Go to first page",children:e.jsx(P,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),e.jsx("li",{children:e.jsx(h,{disabled:s===1,onClick:()=>u(s-1),"aria-label":"Go to previous page",children:e.jsx(R,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),f().map((n,o)=>e.jsx("li",{children:n},o)),e.jsx("li",{children:e.jsx(h,{disabled:s===d,onClick:()=>u(s+1),"aria-label":"Go to next page",children:e.jsx(C,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),e.jsx("li",{children:e.jsx(h,{disabled:s===d,onClick:()=>u(d),"aria-label":"Go to last page",children:e.jsx(E,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})})]})})}function x(){return e.jsx("div",{className:"flex h-[36px] w-[36px] items-center justify-center rounded-sm border border-theme-border-moderate",children:e.jsx(S,{className:"h-4 w-4"})})}const h=l.forwardRef(({className:a,...c},i)=>e.jsx("button",{...c,ref:i,className:w("group/button flex h-[36px] w-[36px] items-center justify-center rounded-sm border border-neutral-300 hover:bg-neutral-200 active:border-neutral-400 active:bg-neutral-300 disabled:pointer-events-none disabled:bg-theme-surface-primary ",a)}));h.displayName="PaginationButton";const y=a=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...a},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18C12.8859 18 14.5977 17.2542 15.8564 16.0414C15.8827 16.0072 15.9115 15.9742 15.9429 15.9429C15.9742 15.9115 16.0072 15.8827 16.0414 15.8564C17.2542 14.5977 18 12.8859 18 11C18 7.13401 14.866 4 11 4ZM18.0319 16.6177C19.2635 15.078 20 13.125 20 11C20 6.02944 15.9706 2 11 2C6.02944 2 2 6.02944 2 11C2 15.9706 6.02944 20 11 20C13.125 20 15.078 19.2635 16.6177 18.0319L20.2929 21.7071C20.6834 22.0976 21.3166 22.0976 21.7071 21.7071C22.0976 21.3166 22.0976 20.6834 21.7071 20.2929L18.0319 16.6177Z"})),k=["equals:","contains:","startswith:","endswith:","gte:","gt:","lte:","lt:"];function B(a){const c=k.find(i=>a.startsWith(i));return c?a.slice(c.length):a}const M=l.forwardRef(({searchParams:a,searchContains:c=!0,inMemoryHandler:i,...m},s)=>{const d=v(),[u]=N(),[f,n]=l.useState(B(a.name||"")||""),o=l.useMemo(()=>L(p,500),[]);l.useEffect(()=>()=>{o.cancel()},[o]);function p(t){if(i){i(t);return}const r=new URLSearchParams({...Object.fromEntries(u),...b(a)});r.delete("logical_operator"),t?(r.set("name",c?`contains:${t}`:`${t}`),r.set("operator","or"),r.set("page","1")):(r.delete("name"),r.delete("operator")),d(`?${r.toString()}`,{preventScrollReset:!0,replace:!0})}function g(t){const{value:r}=t.target;n(r),o(r)}return e.jsxs("div",{className:"relative",children:[e.jsx(j,{className:"pl-[36px]",...m,ref:s,value:f,onChange:g,placeholder:"Search...",inputSize:"md"}),e.jsx("div",{className:"absolute inset-y-0 left-0 flex items-center pl-1",children:e.jsx(y,{className:"size-4 fill-neutral-400"})})]})});M.displayName="SearchField";export{z as P,M as S};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{j as e,r as l}from"./@radix-C7hRs6Kx.js";import{S as I}from"./plus-COjQg3AG.js";import{S as z}from"./refresh-CM5T3QeU.js";import{S as O,P as R}from"./SearchField-DHl5flXv.js";import{s as g}from"./index-e8udi7QT.js";import{z as u,a1 as F,a4 as L,a5 as _,a6 as M,S as h,A as C,b as D,K as p,B as U,_ as q,r as f,ae as B,am as H,an as Q,ao as $,o as K,F as W,p as G,f as J,i as V,au as X,av as Y,aw as Z,ax as ee,h as j,D as v,w as se,x as te,y as ae,aK as re,az as ne,N as ie}from"./index-hsSXyS3H.js";import{a as w,b as le,c as ce}from"./@tanstack-CSxjHCME.js";import{d as oe,L as N,a as de}from"./@react-router-BGgzhn5D.js";import{D as me}from"./DisplayDate-CYVBBSgr.js";import{I as xe}from"./InlineAvatar-CrAwe7Pl.js";import{C as b}from"./CodeSnippet-nRnOvbOJ.js";import{C as ue}from"./CollapsibleCard-9sSz7n1R.js";import{S as he}from"./chevron-right-double-uNWbJT-C.js";import{e as S}from"./components-Br2ezRib.js";import{N as k}from"./NumberBox-D2A7ENHb.js";import{C as pe}from"./ComponentBadge-CMx2DbsV.js";import{S as fe}from"./trash-BWSZ7NRK.js";import{D as je}from"./DialogItem-DHw2ihTx.js";import{I as ge}from"./Infobox-C4Op55B8.js";import{A as ye}from"./AlertDialogDropdownItem-C_qWs-4u.js";const y=1,Ne=u.object({page:u.coerce.number().min(y).optional().default(y).catch(y),name:u.string().optional(),operator:u.enum(["and","or"]).optional()});function be(){const[t]=oe(),{page:s,name:a,operator:r}=Ne.parse({page:t.get("page")||void 0,name:t.get("name")||void 0});return{page:s,name:a,logical_operator:r}}function we(){return e.jsx("div",{className:"flex h-9 items-center border-b border-theme-border-moderate bg-theme-surface-primary px-4 py-3",children:e.jsxs(F,{className:"focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",children:[e.jsx(he,{className:"h-5 w-5 fill-neutral-500"}),e.jsx("span",{className:"sr-only",children:"Close"})]})})}const A=l.createContext(null);function ve({children:t}){const[s,a]=l.useState([]);return e.jsx(A.Provider,{value:{integrations:s,setIntegrations:a},children:t})}function T(){const t=l.useContext(A);if(t===null)throw new Error("useIntegrationsContext must be used within an AuthProvider");return t}function Se({children:t,stackId:s,stackName:a}){return e.jsxs(L,{children:[e.jsx(_,{children:t}),e.jsx(M,{className:"w-[1000px] overflow-y-auto",children:e.jsxs(ve,{children:[e.jsx(we,{}),e.jsx(ke,{stackId:s}),e.jsx(Ae,{name:a}),e.jsx(Ce,{stackId:s})]})})]})}function ke({stackId:t}){const s=w({...g.stackDetail(t)});return s.isError?null:s.isPending?e.jsx("div",{className:"p-5",children:e.jsx(h,{className:"h-6 w-full"})}):e.jsxs("div",{className:"flex items-center space-x-2 border-b border-theme-border-moderate bg-theme-surface-primary p-5",children:[e.jsx(C,{type:"square",size:"lg",children:e.jsx(D,{size:"lg",children:s.data.name[0]})}),e.jsxs("div",{children:[e.jsxs("div",{className:"group/copybutton flex items-center gap-0.5",children:[e.jsx("p",{className:"mb-0.5 text-text-sm text-theme-text-secondary",children:s.data.id}),e.jsx(p,{copyText:s.data.id})]}),e.jsx("div",{className:"flex items-center gap-1",children:e.jsx("h2",{className:"text-display-xs font-semibold",children:s.data.name})})]})]})}function Ce({stackId:t}){var n;const{setIntegrations:s}=T(),a=w({...g.stackDetail(t)});if(l.useEffect(()=>{var d;if(!a.data)return;const c=S((d=a.data.metadata)==null?void 0:d.components).map(o=>{var m;return(m=o.body)==null?void 0:m.integration}).filter(o=>!!o&&o!=="built-in"&&o!=="custom");c.length>=1&&s(o=>Array.from(new Set([...o,...c])))},[a.data]),a.isError)return null;if(a.isPending)return e.jsx("div",{className:"p-5",children:e.jsx(h,{className:"h-[300px] w-full"})});const r=S((n=a.data.metadata)==null?void 0:n.components);return e.jsx("ul",{className:"space-y-5 p-5",children:r.map(i=>e.jsx("li",{children:e.jsx(De,{component:i})},i.id))})}function De({component:t}){var s,a,r,n;return e.jsxs(U,{className:"flex items-center justify-between p-5",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx("img",{width:32,height:32,alt:`${(s=t.body)==null?void 0:s.flavor_name} logo`,src:q(((a=t.body)==null?void 0:a.logo_url)||"")}),e.jsxs("div",{children:[e.jsx(N,{to:f.components.detail(t.id),className:"text-text-xl",children:t.name}),e.jsxs("div",{className:"group/copybutton flex items-center gap-0.5",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:t.id.split("-")[0]}),e.jsx(p,{copyText:t.id})]})]})]}),e.jsx(N,{to:f.components.overview,children:e.jsx(pe,{type:((r=t.body)==null?void 0:r.type)||"orchestrator",children:B(((n=t.body)==null?void 0:n.type)||"")})})]})}function Ae({name:t}){const{integrations:s}=T();return e.jsx("section",{className:"px-5 pt-5",children:e.jsx(ue,{title:e.jsx("span",{className:"text-text-lg",children:"Set this stack"}),initialOpen:!0,children:e.jsxs("ul",{className:"space-y-5",children:[e.jsxs("li",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(k,{children:"1"}),e.jsx("p",{className:"font-semibold",children:"Set your stack"})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:"Set the stack as active on your client"}),e.jsx(b,{codeClasses:"whitespace-pre-wrap",wrap:!0,code:`zenml stack set ${t}`})]})]}),s.length>=1&&e.jsxs("li",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(k,{children:"2"}),e.jsx("p",{className:"font-semibold",children:"Install the integrations"})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:"Install the required integrations to run pipelines in your stack"}),e.jsx(b,{codeClasses:"whitespace-pre-wrap",wrap:!0,code:`zenml integration install ${s.join(" ")}`})]})]})]})})})}const P=l.forwardRef(({closeModal:t,name:s,...a},r)=>e.jsxs(H,{...a,ref:r,children:[e.jsx(Q,{children:e.jsx($,{children:"Update Stack"})}),e.jsxs("div",{className:"space-y-5 p-7",children:[e.jsx(Te,{action:"update"}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:"Update a stack"}),e.jsx(b,{codeClasses:"whitespace-pre-wrap",wrap:!0,code:`zenml stack update ${s} -o NEW_ORCHESTRATOR_NAME`})]})]})]}));P.displayName="UpdateStackDialog";function Te({action:t}){function s(){switch(t){case"delete":return"delete";case"update":return"update";case"describe":return"get details of"}}return e.jsx(ge,{children:e.jsx("div",{className:"flex w-full flex-wrap justify-between gap-2",children:e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"truncate text-text-sm font-semibold",children:"We are working on the new Stacks experience."}),e.jsxs("p",{className:"truncate text-text-sm",children:["Meanwhile you can use the CLI to ",s()," your stack."]})]})})})}async function Pe({stackId:t},s){const a=K(G.stacks.detail(t)),r=await fetch(a,{method:"DELETE",credentials:"include",headers:{"Content-Type":"application/json"}});if(!r.ok){const n=await r.json().then(i=>Array.isArray(i.detail)?i.detail[1]:i.detail).catch(()=>`Error while deleting stack ${t}`);throw new W({status:r.status,statusText:r.statusText,message:n})}return r.json()}function Ee(t){return le({...t,mutationFn:async({stackId:s})=>Pe({stackId:s})})}function Ie(t){const{toast:s}=J(),a=ce(),r=de(),n=Ee({onSuccess:async()=>{a.invalidateQueries({queryKey:g.all}),r(f.stacks.overview)},onError:c=>{s({status:"error",emphasis:"subtle",icon:e.jsx(V,{className:"h-5 w-5 shrink-0 fill-error-700"}),description:c.message,rounded:!0})}});function i(){n.mutate({stackId:t})}return{handleDelete:i,deleteStack:n}}const E=l.forwardRef(({closeModal:t,name:s,stackId:a,...r},n)=>{const{handleDelete:i,deleteStack:c}=Ie(a);return e.jsxs(X,{...r,className:"p-0",ref:n,children:[e.jsxs(Y,{className:"m-0 py-2 pl-5 pr-3 text-text-lg font-semibold",children:["Delete ",s]}),e.jsx("div",{className:"border-y border-theme-border-moderate px-5 py-5",children:e.jsxs(Z,{children:["Are you sure you want to delete this stack? ",e.jsx("br",{}),"This action cannot be undone."]})}),e.jsxs("div",{className:"flex justify-end gap-3 px-5 py-3",children:[e.jsx(ee,{onClick:()=>t==null?void 0:t(),asChild:!0,children:e.jsx(j,{intent:"secondary",children:"Cancel"})}),e.jsxs(j,{disabled:c.isPending,type:"button",onClick:()=>i(),intent:"danger",children:[c.isPending&&e.jsx("div",{role:"alert","aria-busy":"true",className:"full h-[20px] w-[20px] animate-spin rounded-rounded border-2 border-theme-text-negative border-b-theme-text-error"}),"Delete"]})]})]})});E.displayName="DeleteStackDialog";function ze({name:t,id:s}){const[a,r]=l.useState(!1),[n,i]=l.useState(!1),c=l.useRef(null),d=l.useRef(null);function o(){d.current=c.current}function m(x){r(x),x===!1&&i(!1)}return e.jsx(v,{open:n,onOpenChange:i,children:e.jsxs(v,{children:[e.jsx(se,{className:"z-10",ref:c,children:e.jsx(te,{className:"h-5 w-5 fill-theme-text-secondary"})}),e.jsxs(ae,{hidden:a,onCloseAutoFocus:x=>{d.current&&(d.current.focus(),d.current=null,x.preventDefault())},className:"z-10",align:"end",sideOffset:1,children:[e.jsx(je,{onSelect:o,onOpenChange:m,icon:e.jsx(re,{className:"h-3 w-3 !fill-neutral-400"}),triggerChildren:"Update",children:e.jsx(P,{name:t,className:"lg:min-w-[600px]",closeModal:()=>m(!1)})}),e.jsx(ye,{onSelect:o,onOpenChange:m,icon:e.jsx(fe,{className:"h-3 w-3 !fill-neutral-400"}),triggerChildren:"Delete",children:e.jsx(E,{stackId:s,name:t,className:"lg:min-w-[600px]",closeModal:()=>m(!1)})})]})]})})}function Oe(){const t=[{id:"name",header:"Stack",accessorFn:s=>({name:s.name,id:s.id}),cell:({getValue:s})=>{const{name:a,id:r}=s();return e.jsxs("div",{className:"group/copybutton flex items-center gap-2",children:[e.jsx(C,{type:"square",size:"md",children:e.jsx(D,{size:"md",children:a[0]})}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(Se,{stackName:a,stackId:r,children:e.jsx("h2",{className:"text-text-md font-semibold",children:a})}),e.jsx(p,{copyText:a})]}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("p",{className:"text-text-xs text-theme-text-secondary",children:r.split("-")[0]}),e.jsx(p,{copyText:r})]})]})]})}},{id:"created",header:"Created at",accessorFn:s=>{var a;return(a=s.body)==null?void 0:a.created},cell:({getValue:s})=>e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:e.jsx(me,{dateString:s()})})},{id:"author",header:"Author",accessorFn:s=>{var a;return{author:(a=s.body)==null?void 0:a.user}},cell:({getValue:s})=>{const{author:a}=s();return a?e.jsx(xe,{username:ne(a)}):null}},{id:"actions",header:"",accessorFn:s=>({name:s.name,id:s.id}),cell:({getValue:s})=>{const{id:a,name:r}=s();return e.jsx(ze,{name:r,id:a})}}];return l.useMemo(()=>t,[])}function ss({fixedQueryParams:t={}}){const s=be(),a=Oe(),{refetch:r,data:n}=w({...g.stackList({...s,sort_by:"desc:updated",...t}),throwOnError:!0});return e.jsx("section",{children:e.jsxs("div",{className:"flex flex-col gap-5",children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-y-4",children:[e.jsx(O,{searchParams:s}),e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs(j,{intent:"primary",emphasis:"subtle",size:"md",onClick:()=>r(),children:[e.jsx(z,{className:"h-5 w-5 fill-theme-text-brand"}),"Refresh"]}),e.jsx(j,{size:"md",asChild:!0,children:e.jsxs(N,{to:f.stacks.create.index,children:[e.jsx(I,{className:"h-5 w-5 shrink-0 fill-white"}),e.jsx("span",{children:"New Stack"})]})})]})]}),e.jsxs("div",{className:"flex flex-col items-center gap-5",children:[e.jsx("div",{className:"w-full",children:n?e.jsx(ie,{columns:a,data:n.items}):e.jsx(h,{className:"h-[500px] w-full"})}),n?n.total_pages>1&&e.jsx(R,{searchParams:s,paginate:n}):e.jsx(h,{className:"h-[36px] w-[300px]"})]})]})})}export{ss as S};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{j as a,r as b}from"./@radix-C7hRs6Kx.js";import{aP as j,S as v,a8 as N,a9 as C,aa as S,ab as y,L as T,_ as w,az as P,z as f,O as k,P as D,R as g,aQ as E,af as I,M as O,V as x}from"./index-hsSXyS3H.js";import{S as R}from"./chevron-down-A-rmltmI.js";import{K as i,N as U}from"./NestedCollapsible-Ce1bmT8N.js";import{D as h}from"./DisplayDate-CYVBBSgr.js";import{I as z}from"./InlineAvatar-CrAwe7Pl.js";import{d as L,a as M}from"./@react-router-BGgzhn5D.js";function V({componentId:t}){return a.jsxs("section",{className:"grid grid-cols-1 gap-5 @5xl:grid-cols-2",children:[a.jsx("div",{children:a.jsx(_,{componentId:t})}),a.jsx("div",{children:a.jsx(A,{componentId:t})})]})}function _({componentId:t}){var d,u,n,l,p;const[e,r]=b.useState(!0),s=j(t);if(s.isError)return null;if(s.isPending)return a.jsx(v,{className:"h-[150px] w-full"});const o=(d=s.data.body)==null?void 0:d.user,c=(u=s.data.body)==null?void 0:u.created,m=(n=s.data.body)==null?void 0:n.updated;return a.jsxs(N,{open:e,onOpenChange:r,children:[a.jsx(C,{className:"flex items-center gap-[10px]",children:a.jsxs(S,{className:"flex w-full items-center",children:[a.jsx(R,{className:` ${e?"":"-rotate-90"} mr-2 h-5 w-5 rounded-md fill-neutral-500 transition-transform duration-200 hover:bg-neutral-200`}),"Basic Parameters"]})}),a.jsx(y,{className:"border-t border-theme-border-moderate bg-theme-surface-primary px-5 py-3",children:a.jsxs("dl",{className:"grid grid-cols-1 gap-x-[10px] gap-y-2 md:grid-cols-3 md:gap-y-4",children:[a.jsx(i,{label:"Component Name",value:s.data.name}),a.jsx(i,{label:"Flavor",value:a.jsxs(T,{rounded:!1,className:"w-fit gap-0.5 text-theme-text-primary",color:"grey",emphasis:"minimal",children:[a.jsx("img",{width:20,height:20,src:w(((l=s.data.body)==null?void 0:l.logo_url)||""),alt:"Flavor Icon of Component"}),a.jsx("p",{className:"truncate",children:(p=s.data.body)==null?void 0:p.flavor_name})]})}),a.jsx(i,{label:"Author",value:o?a.jsx(z,{username:P(o)}):"Not available"}),a.jsx(i,{label:"Updated",value:m?a.jsx(h,{dateString:m}):"Not available"}),a.jsx(i,{label:"Created",value:c?a.jsx(h,{dateString:c}):"Not available"})]})})]})}function A({componentId:t}){var r;const e=j(t);return e.isError?null:e.isPending?a.jsx(v,{className:"h-[150px] w-full"}):a.jsx(U,{isInitialOpen:!0,intent:"primary",title:"Configuration",data:(r=e.data.metadata)==null?void 0:r.configuration})}const B=f.object({tab:f.enum(["configuration","stacks","runs"]).optional().default("configuration").catch("configuration")});function F(){const[t]=L(),{tab:e}=B.parse({tab:t.get("tab")||void 0});return e}function W({componentId:t,isPanel:e,stacksTabContent:r,runsTabContent:s}){const[o,c]=b.useState("configuration"),m=F(),d=M();function u(n){if(e){c(n);return}const l=new URLSearchParams;l.set("tab",n),d(`?${l.toString()}`)}return a.jsx("div",{className:"p-5",children:a.jsxs(k,{value:e?o:m,onValueChange:u,children:[a.jsxs(D,{children:[a.jsxs(g,{className:"flex items-center gap-2 text-text-md",value:"configuration",children:[a.jsx(E,{className:"h-5 w-5 shrink-0 fill-theme-text-tertiary group-data-[state=active]/trigger:fill-theme-surface-strong"}),a.jsx("span",{children:"Configuration"})]}),a.jsxs(g,{className:"flex items-center gap-2 text-text-md",value:"stacks",children:[a.jsx(I,{className:"h-5 w-5 fill-theme-text-tertiary group-data-[state=active]/trigger:fill-theme-surface-strong"}),a.jsx("span",{children:"Stacks"})]}),a.jsxs(g,{className:"flex items-center gap-2 text-text-md",value:"runs",children:[a.jsx(O,{className:"h-5 w-5 fill-theme-text-tertiary group-data-[state=active]/trigger:fill-theme-surface-strong"}),a.jsx("span",{children:"Runs"})]})]}),a.jsx(x,{className:"m-0 mt-5 border-0 bg-transparent p-0",value:"configuration",children:a.jsx(V,{componentId:t})}),a.jsx(x,{className:"m-0 mt-5 border-0 bg-transparent p-0",value:"stacks",children:r}),a.jsx(x,{className:"m-0 mt-5 border-0 bg-transparent p-0",value:"runs",children:s})]})})}export{W as S};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{j as s}from"./@radix-C7hRs6Kx.js";import{bd as c,m as i}from"./index-hsSXyS3H.js";import{S as m}from"./check-DK77doTf.js";function n({tickClasses:r,...o}){return s.jsx(c,{...o,children:s.jsx(m,{className:i("h-4 w-4 fill-success-300",r)})})}export{n as T};
|
@@ -1 +0,0 @@
|
|
1
|
-
@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-cyrillic-ext-400-normal-Dc4VJyIJ.woff2) format("woff2"),url(/assets/inter-cyrillic-ext-400-normal-BPnxn4xp.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-cyrillic-400-normal-BLGc9T1a.woff2) format("woff2"),url(/assets/inter-cyrillic-400-normal-ZzOtrSSW.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-greek-ext-400-normal-Bput3-QP.woff2) format("woff2"),url(/assets/inter-greek-ext-400-normal-DCpCPQOf.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-greek-400-normal-DxZsaF_h.woff2) format("woff2"),url(/assets/inter-greek-400-normal-BZzXV7-1.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-vietnamese-400-normal-DMkecbls.woff2) format("woff2"),url(/assets/inter-vietnamese-400-normal-BUNmGMP1.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-latin-ext-400-normal-hnt3BR84.woff2) format("woff2"),url(/assets/inter-latin-ext-400-normal-C1t-h-pH.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-latin-400-normal-BOOGhInR.woff2) format("woff2"),url(/assets/inter-latin-400-normal-gitzw0hO.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-cyrillic-ext-500-normal-BShVwWPj.woff2) format("woff2"),url(/assets/inter-cyrillic-ext-500-normal-CUiC4oBV.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-cyrillic-500-normal-D4Vwzodn.woff2) format("woff2"),url(/assets/inter-cyrillic-500-normal-DH2hs3aW.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-greek-ext-500-normal-B6guLgqG.woff2) format("woff2"),url(/assets/inter-greek-ext-500-normal-M2hEX8vc.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-greek-500-normal-CeQXL5ds.woff2) format("woff2"),url(/assets/inter-greek-500-normal-d_eO-yCQ.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-vietnamese-500-normal-DOriooB6.woff2) format("woff2"),url(/assets/inter-vietnamese-500-normal-DQPw2Hwd.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-latin-ext-500-normal-CIS2RHJS.woff2) format("woff2"),url(/assets/inter-latin-ext-500-normal-UMdmhHu2.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-latin-500-normal-D2bGa7uu.woff2) format("woff2"),url(/assets/inter-latin-500-normal-deR1Tlfd.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-cyrillic-ext-600-normal-CaqZN2hq.woff2) format("woff2"),url(/assets/inter-cyrillic-ext-600-normal-Bt9VVOA-.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-cyrillic-600-normal-BGBWG807.woff2) format("woff2"),url(/assets/inter-cyrillic-600-normal-BuzJQFbW.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-greek-ext-600-normal-Cnui8OiR.woff2) format("woff2"),url(/assets/inter-greek-ext-600-normal-C9WLioJ8.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-greek-600-normal-Dhlb-90d.woff2) format("woff2"),url(/assets/inter-greek-600-normal-CwicyhtI.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-vietnamese-600-normal-Cc8MFFhd.woff2) format("woff2"),url(/assets/inter-vietnamese-600-normal-Cm6aH8_k.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-latin-ext-600-normal-BnYJhD27.woff2) format("woff2"),url(/assets/inter-latin-ext-600-normal-CAF0vJDd.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-latin-600-normal-D273HNI0.woff2) format("woff2"),url(/assets/inter-latin-600-normal-B5cFAncS.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--color-primary-900: 258 66% 7%;--color-primary-800: 259 66% 14%;--color-primary-700: 259 68% 21%;--color-primary-600: 260 67% 28%;--color-primary-500: 259 67% 35%;--color-primary-400: 260 89% 60%;--color-primary-300: 260 89% 68%;--color-primary-200: 260 89% 76%;--color-primary-100: 260 90% 84%;--color-primary-050: 259 90% 92%;--color-primary-025: 259 90% 96%;--color-neutral-900: 221 39% 11%;--color-neutral-800: 215 28% 17%;--color-neutral-700: 217 19% 27%;--color-neutral-600: 215 14% 34%;--color-neutral-500: 220 9% 46%;--color-neutral-400: 218 11% 65%;--color-neutral-300: 216 12% 84%;--color-neutral-200: 220 13% 91%;--color-neutral-100: 220 14% 96%;--color-neutral-050: 210 20% 98%;--color-neutral-000: 0 0% 100%;--color-error-900: 4 59% 19%;--color-error-800: 3 58% 29%;--color-error-700: 4 59% 39%;--color-error-600: 4 59% 48%;--color-error-500: 4 81% 58%;--color-error-400: 4 81% 65%;--color-error-300: 4 82% 72%;--color-error-200: 3 81% 79%;--color-error-100: 4 81% 86%;--color-error-050: 3 81% 92%;--color-warning-900: 32 93% 17%;--color-warning-800: 33 92% 25%;--color-warning-700: 32 92% 34%;--color-warning-600: 33 93% 42%;--color-warning-500: 32 95% 51%;--color-warning-400: 32 95% 59%;--color-warning-300: 32 95% 67%;--color-warning-200: 33 95% 75%;--color-warning-100: 32 95% 84%;--color-warning-050: 33 96% 90%;--color-success-900: 137 75% 14%;--color-success-800: 137 75% 22%;--color-success-700: 137 74% 29%;--color-success-600: 137 75% 36%;--color-success-500: 137 74% 43%;--color-success-400: 137 56% 53%;--color-success-300: 137 56% 62%;--color-success-200: 137 56% 71%;--color-success-100: 137 57% 81%;--color-success-050: 137 55% 89%;--color-blue-900: 208 88% 10%;--color-blue-800: 209 88% 17%;--color-blue-700: 208 89% 25%;--color-blue-600: 208 89% 33%;--color-blue-500: 209 89% 42%;--color-blue-400: 209 90% 50%;--color-blue-300: 209 90% 58%;--color-blue-200: 208 89% 67%;--color-blue-100: 208 89% 75%;--color-blue-050: 209 90% 84%;--color-blue-025: 208 88% 90%;--color-teal-900: 180 61% 8%;--color-teal-800: 180 59% 14%;--color-teal-700: 180 60% 20%;--color-teal-600: 180 61% 27%;--color-teal-500: 180 60% 34%;--color-teal-400: 180 60% 41%;--color-teal-300: 180 41% 51%;--color-teal-200: 180 42% 60%;--color-teal-100: 180 41% 70%;--color-teal-050: 180 41% 80%;--color-teal-025: 180 41% 88%;--color-turquoise-900: 192 57% 9%;--color-turquoise-800: 190 57% 15%;--color-turquoise-700: 189 58% 22%;--color-turquoise-600: 190 58% 30%;--color-turquoise-500: 189 57% 37%;--color-turquoise-400: 190 58% 44%;--color-turquoise-300: 190 46% 54%;--color-turquoise-200: 190 46% 63%;--color-turquoise-100: 189 45% 72%;--color-turquoise-050: 190 45% 81%;--color-turquoise-025: 192 46% 89%;--color-lime-900: 96 60% 11%;--color-lime-800: 96 61% 18%;--color-lime-700: 96 60% 27%;--color-lime-600: 96 60% 36%;--color-lime-500: 96 60% 45%;--color-lime-400: 96 72% 54%;--color-lime-300: 96 71% 62%;--color-lime-200: 96 72% 70%;--color-lime-100: 96 71% 77%;--color-lime-050: 96 72% 85%;--color-lime-025: 96 70% 91%;--color-magenta-900: 337 61% 12%;--color-magenta-800: 338 61% 20%;--color-magenta-700: 338 60% 30%;--color-magenta-600: 338 60% 40%;--color-magenta-500: 338 60% 50%;--color-magenta-400: 338 90% 60%;--color-magenta-300: 338 91% 67%;--color-magenta-200: 338 90% 73%;--color-magenta-100: 338 90% 80%;--color-magenta-050: 338 91% 87%;--color-magenta-025: 337 90% 92%;--color-orange-900: 19 61% 12%;--color-orange-800: 19 61% 20%;--color-orange-700: 19 60% 30%;--color-orange-600: 19 60% 40%;--color-orange-500: 19 60% 50%;--color-orange-400: 19 90% 60%;--color-orange-300: 19 91% 67%;--color-orange-200: 19 90% 73%;--color-orange-100: 19 90% 80%;--color-orange-050: 19 91% 87%;--color-orange-025: 19 90% 92%;--color-text-primary: var(--color-primary-900);--color-text-secondary: var(--color-neutral-500);--color-text-tertiary: var(--color-neutral-400);--color-text-negative: var(--color-neutral-000);--color-text-brand: var(--color-primary-500);--color-text-error: var(--color-error-500);--color-text-warning: var(--color-warning-500);--color-text-success: var(--color-success-500);--color-surface-primary: var(--color-neutral-000);--color-surface-secondary: var(--color-neutral-050);--color-surface-tertiary: var(--color-neutral-100);--color-surface-strong: var(--color-primary-400);--color-border-minimal: var(--color-neutral-100);--color-border-moderate: var(--color-neutral-200);--color-border-bold: var(--color-neutral-500)}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,input:where(:not([type])):focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: hsl(var(--color-blue-600) / var(--tw-ring-opacity, 1));--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:hsl(var(--color-blue-600) / var(--tw-border-opacity, 1))}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:hsl(var(--color-blue-600) / var(--tw-text-opacity, 1));background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: hsl(var(--color-blue-600) / var(--tw-ring-opacity, 1));--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=checkbox]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=radio]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){[type=checkbox]:indeterminate{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.\!prose{color:var(--tw-prose-body)!important;max-width:65ch!important}.\!prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em!important;margin-bottom:1.25em!important}.\!prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead)!important;font-size:1.25em!important;line-height:1.6!important;margin-top:1.2em!important;margin-bottom:1.2em!important}.\!prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links)!important;text-decoration:underline!important;font-weight:500!important}.\!prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold)!important;font-weight:600!important}.\!prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit!important}.\!prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit!important}.\!prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit!important}.\!prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal!important;margin-top:1.25em!important;margin-bottom:1.25em!important;padding-inline-start:1.625em!important}.\!prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha!important}.\!prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha!important}.\!prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha!important}.\!prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha!important}.\!prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman!important}.\!prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman!important}.\!prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman!important}.\!prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman!important}.\!prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal!important}.\!prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc!important;margin-top:1.25em!important;margin-bottom:1.25em!important;padding-inline-start:1.625em!important}.\!prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400!important;color:var(--tw-prose-counters)!important}.\!prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)!important}.\!prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings)!important;font-weight:600!important;margin-top:1.25em!important}.\!prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr)!important;border-top-width:1px!important;margin-top:3em!important;margin-bottom:3em!important}.\!prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500!important;font-style:italic!important;color:var(--tw-prose-quotes)!important;border-inline-start-width:.25rem!important;border-inline-start-color:var(--tw-prose-quote-borders)!important;quotes:"“""”""‘""’"!important;margin-top:1.6em!important;margin-bottom:1.6em!important;padding-inline-start:1em!important}.\!prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote!important}.\!prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote!important}.\!prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings)!important;font-weight:800!important;font-size:2.25em!important;margin-top:0!important;margin-bottom:.8888889em!important;line-height:1.1111111!important}.\!prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900!important;color:inherit!important}.\!prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings)!important;font-weight:700!important;font-size:1.5em!important;margin-top:2em!important;margin-bottom:1em!important;line-height:1.3333333!important}.\!prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800!important;color:inherit!important}.\!prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings)!important;font-weight:600!important;font-size:1.25em!important;margin-top:1.6em!important;margin-bottom:.6em!important;line-height:1.6!important}.\!prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700!important;color:inherit!important}.\!prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings)!important;font-weight:600!important;margin-top:1.5em!important;margin-bottom:.5em!important;line-height:1.5!important}.\!prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700!important;color:inherit!important}.\!prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em!important;margin-bottom:2em!important}.\!prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block!important;margin-top:2em!important;margin-bottom:2em!important}.\!prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em!important;margin-bottom:2em!important}.\!prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500!important;font-family:inherit!important;color:var(--tw-prose-kbd)!important;box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%)!important;font-size:.875em!important;border-radius:.3125rem!important;padding-top:.1875em!important;padding-inline-end:.375em!important;padding-bottom:.1875em!important;padding-inline-start:.375em!important}.\!prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code)!important;font-weight:600!important;font-size:.875em!important}.\!prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"!important}.\!prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"!important}.\!prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit!important}.\!prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit!important}.\!prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit!important;font-size:.875em!important}.\!prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit!important;font-size:.9em!important}.\!prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit!important}.\!prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit!important}.\!prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit!important}.\!prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code)!important;background-color:var(--tw-prose-pre-bg)!important;overflow-x:auto!important;font-weight:400!important;font-size:.875em!important;line-height:1.7142857!important;margin-top:1.7142857em!important;margin-bottom:1.7142857em!important;border-radius:.375rem!important;padding-top:.8571429em!important;padding-inline-end:1.1428571em!important;padding-bottom:.8571429em!important;padding-inline-start:1.1428571em!important}.\!prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent!important;border-width:0!important;border-radius:0!important;padding:0!important;font-weight:inherit!important;color:inherit!important;font-size:inherit!important;font-family:inherit!important;line-height:inherit!important}.\!prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none!important}.\!prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none!important}.\!prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%!important;table-layout:auto!important;margin-top:2em!important;margin-bottom:2em!important;font-size:.875em!important;line-height:1.7142857!important}.\!prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px!important;border-bottom-color:var(--tw-prose-th-borders)!important}.\!prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings)!important;font-weight:600!important;vertical-align:bottom!important;padding-inline-end:.5714286em!important;padding-bottom:.5714286em!important;padding-inline-start:.5714286em!important}.\!prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px!important;border-bottom-color:var(--tw-prose-td-borders)!important}.\!prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0!important}.\!prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline!important}.\!prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px!important;border-top-color:var(--tw-prose-th-borders)!important}.\!prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top!important}.\!prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start!important}.\!prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0!important;margin-bottom:0!important}.\!prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions)!important;font-size:.875em!important;line-height:1.4285714!important;margin-top:.8571429em!important}.\!prose{--tw-prose-body: #374151 !important;--tw-prose-headings: #111827 !important;--tw-prose-lead: #4b5563 !important;--tw-prose-links: #111827 !important;--tw-prose-bold: #111827 !important;--tw-prose-counters: #6b7280 !important;--tw-prose-bullets: #d1d5db !important;--tw-prose-hr: #e5e7eb !important;--tw-prose-quotes: #111827 !important;--tw-prose-quote-borders: #e5e7eb !important;--tw-prose-captions: #6b7280 !important;--tw-prose-kbd: #111827 !important;--tw-prose-kbd-shadows: 17 24 39 !important;--tw-prose-code: #111827 !important;--tw-prose-pre-code: #e5e7eb !important;--tw-prose-pre-bg: #1f2937 !important;--tw-prose-th-borders: #d1d5db !important;--tw-prose-td-borders: #e5e7eb !important;--tw-prose-invert-body: #d1d5db !important;--tw-prose-invert-headings: #fff !important;--tw-prose-invert-lead: #9ca3af !important;--tw-prose-invert-links: #fff !important;--tw-prose-invert-bold: #fff !important;--tw-prose-invert-counters: #9ca3af !important;--tw-prose-invert-bullets: #4b5563 !important;--tw-prose-invert-hr: #374151 !important;--tw-prose-invert-quotes: #f3f4f6 !important;--tw-prose-invert-quote-borders: #374151 !important;--tw-prose-invert-captions: #9ca3af !important;--tw-prose-invert-kbd: #fff !important;--tw-prose-invert-kbd-shadows: 255 255 255 !important;--tw-prose-invert-code: #fff !important;--tw-prose-invert-pre-code: #d1d5db !important;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%) !important;--tw-prose-invert-th-borders: #4b5563 !important;--tw-prose-invert-td-borders: #374151 !important;font-size:1rem!important;line-height:1.75!important}.\!prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0!important;margin-bottom:0!important}.\!prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em!important;margin-bottom:.5em!important}.\!prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em!important}.\!prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em!important}.\!prose :where(.\!prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em!important;margin-bottom:.75em!important}.\!prose :where(.\!prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em!important}.\!prose :where(.\!prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em!important}.\!prose :where(.\!prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em!important}.\!prose :where(.\!prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em!important}.\!prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em!important;margin-bottom:.75em!important}.\!prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em!important;margin-bottom:1.25em!important}.\!prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em!important;padding-inline-start:1.625em!important}.\!prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0!important}.\!prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0!important}.\!prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0!important}.\!prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0!important}.\!prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0!important}.\!prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0!important}.\!prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em!important;padding-inline-end:.5714286em!important;padding-bottom:.5714286em!important;padding-inline-start:.5714286em!important}.\!prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0!important}.\!prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0!important}.\!prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em!important;margin-bottom:2em!important}.\!prose :where(.\!prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0!important}.\!prose :where(.\!prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0!important}[type=radio]:checked{background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='%237A3EF4' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='5'/%3E%3C/svg%3E")}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0rem;right:0rem;bottom:0rem;left:0rem}.inset-x-0{left:0rem;right:0rem}.inset-y-0{top:0rem;bottom:0rem}.inset-y-1{top:.5rem;bottom:.5rem}.bottom-0{bottom:0rem}.left-0{left:0rem}.left-2{left:.75rem}.left-4{left:1.25rem}.left-\[50\%\]{left:50%}.right-0{right:0rem}.right-2{right:.75rem}.right-3{right:1rem}.right-4{right:1.25rem}.right-\[-12px\]{right:-12px}.top-0{top:0rem}.top-2{top:.75rem}.top-3{top:1rem}.top-4{top:1.25rem}.top-9{top:4rem}.top-\[-12px\]{top:-12px}.top-\[128px\]{top:128px}.top-\[50\%\]{top:50%}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\[9999\]{z-index:9999}.col-span-1{grid-column:span 1 / span 1}.col-span-2{grid-column:span 2 / span 2}.col-span-3{grid-column:span 3 / span 3}.col-span-4{grid-column:span 4 / span 4}.m-0{margin:0rem}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:1rem;margin-bottom:1rem}.my-5{margin-top:1.5rem;margin-bottom:1.5rem}.my-9{margin-top:4rem;margin-bottom:4rem}.mb-0\.5{margin-bottom:.25rem}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:.75rem}.mb-3{margin-bottom:1rem}.mb-4{margin-bottom:1.25rem}.mb-5{margin-bottom:1.5rem}.mb-7{margin-bottom:2.5rem}.ml-1{margin-left:.5rem}.ml-2{margin-left:.75rem}.ml-5{margin-left:1.5rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.5rem}.mr-2{margin-right:.75rem}.mr-4{margin-right:1.25rem}.mt-0\.5{margin-top:.25rem}.mt-10{margin-top:4.5rem}.mt-2{margin-top:.75rem}.mt-3{margin-top:1rem}.mt-4{margin-top:1.25rem}.mt-5{margin-top:1.5rem}.mt-auto{margin-top:auto}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.aspect-video{aspect-ratio:16 / 9}.size-3{width:1rem;height:1rem}.size-4{width:1.25rem;height:1.25rem}.size-5{width:1.5rem;height:1.5rem}.size-6{width:2rem;height:2rem}.h-0{height:0rem}.h-0\.5{height:.25rem}.h-1{height:.5rem}.h-12{height:6rem}.h-2{height:.75rem}.h-3{height:1rem}.h-4{height:1.25rem}.h-5{height:1.5rem}.h-6{height:2rem}.h-7{height:2.5rem}.h-8{height:3rem}.h-9{height:4rem}.h-\[100px\]{height:100px}.h-\[10px\]{height:10px}.h-\[110px\]{height:110px}.h-\[120px\]{height:120px}.h-\[140px\]{height:140px}.h-\[150px\]{height:150px}.h-\[180px\]{height:180px}.h-\[1px\]{height:1px}.h-\[200\]{height:200}.h-\[200px\]{height:200px}.h-\[20px\]{height:20px}.h-\[250px\]{height:250px}.h-\[28px\]{height:28px}.h-\[300px\]{height:300px}.h-\[32px\]{height:32px}.h-\[350px\]{height:350px}.h-\[36px\]{height:36px}.h-\[40px\]{height:40px}.h-\[48px\]{height:48px}.h-\[500px\]{height:500px}.h-\[50px\]{height:50px}.h-\[56px\]{height:56px}.h-\[60px\]{height:60px}.h-\[70px\]{height:70px}.h-\[96px\]{height:96px}.h-\[calc\(100vh_-_270px\)\]{height:calc(100vh - 270px)}.h-\[calc\(100vh_-_4rem_-_4rem_-_2px\)\]{height:calc(100vh - 8rem - 2px)}.h-\[calc\(100vh_-_4rem_-_4rem_-_4rem_-_2px\)\]{height:calc(100vh - 12rem - 2px)}.h-\[calc\(100vh_-_64px\)\]{height:calc(100vh - 64px)}.h-\[calc\(100vh_-_64px_-_64px\)\]{height:calc(100vh - 128px)}.h-\[var\(--outer-circle\)\]{height:var(--outer-circle)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.max-h-\[300px\]{max-height:300px}.max-h-\[70vh\]{max-height:70vh}.max-h-\[80px\]{max-height:80px}.max-h-screen{max-height:100vh}.min-h-8{min-height:3rem}.min-h-\[160px\]{min-height:160px}.min-h-\[620px\]{min-height:620px}.min-h-screen{min-height:100vh}.w-0{width:0rem}.w-1{width:.5rem}.w-1\/2{width:50%}.w-10{width:4.5rem}.w-12{width:6rem}.w-2{width:.75rem}.w-3{width:1rem}.w-3\/4{width:75%}.w-4{width:1.25rem}.w-5{width:1.5rem}.w-6{width:2rem}.w-7{width:2.5rem}.w-8{width:3rem}.w-9{width:4rem}.w-\[1000px\]{width:1000px}.w-\[100px\]{width:100px}.w-\[10px\]{width:10px}.w-\[110px\]{width:110px}.w-\[120px\]{width:120px}.w-\[140px\]{width:140px}.w-\[150px\]{width:150px}.w-\[16rem\]{width:16rem}.w-\[180px\]{width:180px}.w-\[200px\]{width:200px}.w-\[20px\]{width:20px}.w-\[220px\]{width:220px}.w-\[250px\]{width:250px}.w-\[28px\]{width:28px}.w-\[3\/4\]{width:3/4}.w-\[300px\]{width:300px}.w-\[36px\]{width:36px}.w-\[480px\]{width:480px}.w-\[60px\]{width:60px}.w-\[70px\]{width:70px}.w-\[90px\]{width:90px}.w-\[90vw\]{width:90vw}.w-\[96px\]{width:96px}.w-\[var\(--outer-circle\)\]{width:var(--outer-circle)}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-min{width:-moz-min-content;width:min-content}.min-w-0{min-width:0rem}.min-w-\[160px\]{min-width:160px}.min-w-\[500px\]{min-width:500px}.min-w-\[540px\]{min-width:540px}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.\!max-w-none{max-width:none!important}.max-w-\[1000px\]{max-width:1000px}.max-w-\[300px\]{max-width:300px}.max-w-\[450px\]{max-width:450px}.max-w-\[480px\]{max-width:480px}.max-w-\[500px\]{max-width:500px}.max-w-\[540px\]{max-width:540px}.max-w-\[570px\]{max-width:570px}.max-w-\[600px\]{max-width:600px}.max-w-\[700px\]{max-width:700px}.max-w-\[744px\]{max-width:744px}.max-w-\[800px\]{max-width:800px}.max-w-fit{max-width:-moz-fit-content;max-width:fit-content}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.-translate-x-3\/4{--tw-translate-x: -75%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[-50\%\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[30\%\]{--tw-translate-x: 30%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[15\%\]{--tw-translate-y: 15%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-\[5deg\]{--tw-rotate: -5deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-\[40\%\]{--tw-scale-x: 40%;--tw-scale-y: 40%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.animate-spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin-slow{animation:spin 2s linear infinite}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.list-inside{list-style-position:inside}.list-\[square\]{list-style-type:square}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\.5{gap:.25rem}.gap-1{gap:.5rem}.gap-2{gap:.75rem}.gap-3{gap:1rem}.gap-4{gap:1.25rem}.gap-5{gap:1.5rem}.gap-6{gap:2rem}.gap-7{gap:2.5rem}.gap-8{gap:3rem}.gap-\[10px\]{gap:10px}.gap-\[20px\]{gap:20px}.gap-x-2{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-7{-moz-column-gap:2.5rem;column-gap:2.5rem}.gap-x-\[10px\]{-moz-column-gap:10px;column-gap:10px}.gap-y-0\.5{row-gap:.25rem}.gap-y-1{row-gap:.5rem}.gap-y-2{row-gap:.75rem}.gap-y-4{row-gap:1.25rem}.gap-y-5{row-gap:1.5rem}.-space-x-\[7px\]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-7px * var(--tw-space-x-reverse));margin-left:calc(-7px * calc(1 - var(--tw-space-x-reverse)))}.space-x-0\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.5rem * var(--tw-space-x-reverse));margin-left:calc(1.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0rem * var(--tw-space-y-reverse))}.space-y-0\.25>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-7>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2.5rem * var(--tw-space-y-reverse))}.divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-neutral-300>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:hsl(var(--color-neutral-300) / var(--tw-divide-opacity, 1))}.divide-theme-border-moderate>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:hsl(var(--color-border-moderate) / var(--tw-divide-opacity, 1))}.self-start{align-self:flex-start}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-x-clip{overflow-x:clip}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded-\[4px\]{border-radius:4px}.rounded-\[inherit\]{border-radius:inherit}.rounded-md{border-radius:.5rem}.rounded-rounded{border-radius:9999px}.rounded-sharp{border-radius:0}.rounded-sm{border-radius:.25rem}.rounded-b-md{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-t-md{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-\[2px\]{border-width:2px}.border-\[3px\]{border-width:3px}.border-\[7px\]{border-width:7px}.border-x{border-left-width:1px;border-right-width:1px}.border-y{border-top-width:1px;border-bottom-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-none{border-style:none}.\!border-theme-border-bold{--tw-border-opacity: 1 !important;border-color:hsl(var(--color-border-bold) / var(--tw-border-opacity, 1))!important}.border-\[\#D0D5DD\]{--tw-border-opacity: 1;border-color:rgb(208 213 221 / var(--tw-border-opacity, 1))}.border-blue-100{--tw-border-opacity: 1;border-color:hsl(var(--color-blue-100) / var(--tw-border-opacity, 1))}.border-error-200{--tw-border-opacity: 1;border-color:hsl(var(--color-error-200) / var(--tw-border-opacity, 1))}.border-error-300{--tw-border-opacity: 1;border-color:hsl(var(--color-error-300) / var(--tw-border-opacity, 1))}.border-error-600{--tw-border-opacity: 1;border-color:hsl(var(--color-error-600) / var(--tw-border-opacity, 1))}.border-lime-100{--tw-border-opacity: 1;border-color:hsl(var(--color-lime-100) / var(--tw-border-opacity, 1))}.border-magenta-100{--tw-border-opacity: 1;border-color:hsl(var(--color-magenta-100) / var(--tw-border-opacity, 1))}.border-neutral-300{--tw-border-opacity: 1;border-color:hsl(var(--color-neutral-300) / var(--tw-border-opacity, 1))}.border-orange-100{--tw-border-opacity: 1;border-color:hsl(var(--color-orange-100) / var(--tw-border-opacity, 1))}.border-primary-100{--tw-border-opacity: 1;border-color:hsl(var(--color-primary-100) / var(--tw-border-opacity, 1))}.border-primary-400{--tw-border-opacity: 1;border-color:hsl(var(--color-primary-400) / var(--tw-border-opacity, 1))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.border-success-200{--tw-border-opacity: 1;border-color:hsl(var(--color-success-200) / var(--tw-border-opacity, 1))}.border-success-300{--tw-border-opacity: 1;border-color:hsl(var(--color-success-300) / var(--tw-border-opacity, 1))}.border-teal-100{--tw-border-opacity: 1;border-color:hsl(var(--color-teal-100) / var(--tw-border-opacity, 1))}.border-theme-border-bold{--tw-border-opacity: 1;border-color:hsl(var(--color-border-bold) / var(--tw-border-opacity, 1))}.border-theme-border-minimal{--tw-border-opacity: 1;border-color:hsl(var(--color-border-minimal) / var(--tw-border-opacity, 1))}.border-theme-border-moderate{--tw-border-opacity: 1;border-color:hsl(var(--color-border-moderate) / var(--tw-border-opacity, 1))}.border-theme-text-negative{--tw-border-opacity: 1;border-color:hsl(var(--color-text-negative) / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-turquoise-100{--tw-border-opacity: 1;border-color:hsl(var(--color-turquoise-100) / var(--tw-border-opacity, 1))}.border-warning-100{--tw-border-opacity: 1;border-color:hsl(var(--color-warning-100) / var(--tw-border-opacity, 1))}.border-warning-200{--tw-border-opacity: 1;border-color:hsl(var(--color-warning-200) / var(--tw-border-opacity, 1))}.border-warning-300{--tw-border-opacity: 1;border-color:hsl(var(--color-warning-300) / var(--tw-border-opacity, 1))}.border-warning-50{--tw-border-opacity: 1;border-color:hsl(var(--color-warning-050) / var(--tw-border-opacity, 1))}.border-b-theme-surface-strong{--tw-border-opacity: 1;border-bottom-color:hsl(var(--color-surface-strong) / var(--tw-border-opacity, 1))}.border-b-theme-text-brand{--tw-border-opacity: 1;border-bottom-color:hsl(var(--color-text-brand) / var(--tw-border-opacity, 1))}.border-b-theme-text-error{--tw-border-opacity: 1;border-bottom-color:hsl(var(--color-text-error) / var(--tw-border-opacity, 1))}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.\!bg-primary-500{--tw-bg-opacity: 1 !important;background-color:hsl(var(--color-primary-500) / var(--tw-bg-opacity, 1))!important}.bg-\[\#DEE2E6\]{--tw-bg-opacity: 1;background-color:rgb(222 226 230 / var(--tw-bg-opacity, 1))}.bg-\[\#FFF6EA\]{--tw-bg-opacity: 1;background-color:rgb(255 246 234 / var(--tw-bg-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-black\/10{background-color:#0000001a}.bg-blue-25{--tw-bg-opacity: 1;background-color:hsl(var(--color-blue-025) / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:hsl(var(--color-blue-050) / var(--tw-bg-opacity, 1))}.bg-blue-500{--tw-bg-opacity: 1;background-color:hsl(var(--color-blue-500) / var(--tw-bg-opacity, 1))}.bg-error-100{--tw-bg-opacity: 1;background-color:hsl(var(--color-error-100) / var(--tw-bg-opacity, 1))}.bg-error-50{--tw-bg-opacity: 1;background-color:hsl(var(--color-error-050) / var(--tw-bg-opacity, 1))}.bg-error-600{--tw-bg-opacity: 1;background-color:hsl(var(--color-error-600) / var(--tw-bg-opacity, 1))}.bg-lime-100{--tw-bg-opacity: 1;background-color:hsl(var(--color-lime-100) / var(--tw-bg-opacity, 1))}.bg-lime-25{--tw-bg-opacity: 1;background-color:hsl(var(--color-lime-025) / var(--tw-bg-opacity, 1))}.bg-lime-700{--tw-bg-opacity: 1;background-color:hsl(var(--color-lime-700) / var(--tw-bg-opacity, 1))}.bg-magenta-100{--tw-bg-opacity: 1;background-color:hsl(var(--color-magenta-100) / var(--tw-bg-opacity, 1))}.bg-magenta-25{--tw-bg-opacity: 1;background-color:hsl(var(--color-magenta-025) / var(--tw-bg-opacity, 1))}.bg-magenta-500{--tw-bg-opacity: 1;background-color:hsl(var(--color-magenta-500) / var(--tw-bg-opacity, 1))}.bg-neutral-100{--tw-bg-opacity: 1;background-color:hsl(var(--color-neutral-100) / var(--tw-bg-opacity, 1))}.bg-neutral-200{--tw-bg-opacity: 1;background-color:hsl(var(--color-neutral-200) / var(--tw-bg-opacity, 1))}.bg-neutral-300{--tw-bg-opacity: 1;background-color:hsl(var(--color-neutral-300) / var(--tw-bg-opacity, 1))}.bg-neutral-50\/50{background-color:hsl(var(--color-neutral-050) / .5)}.bg-neutral-600{--tw-bg-opacity: 1;background-color:hsl(var(--color-neutral-600) / var(--tw-bg-opacity, 1))}.bg-neutral-900\/20{background-color:hsl(var(--color-neutral-900) / .2)}.bg-orange-100{--tw-bg-opacity: 1;background-color:hsl(var(--color-orange-100) / var(--tw-bg-opacity, 1))}.bg-orange-25{--tw-bg-opacity: 1;background-color:hsl(var(--color-orange-025) / var(--tw-bg-opacity, 1))}.bg-orange-400{--tw-bg-opacity: 1;background-color:hsl(var(--color-orange-400) / var(--tw-bg-opacity, 1))}.bg-primary-100{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-100) / var(--tw-bg-opacity, 1))}.bg-primary-25{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-025) / var(--tw-bg-opacity, 1))}.bg-primary-300{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-300) / var(--tw-bg-opacity, 1))}.bg-primary-400{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-400) / var(--tw-bg-opacity, 1))}.bg-primary-50{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-050) / var(--tw-bg-opacity, 1))}.bg-primary-500{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-500) / var(--tw-bg-opacity, 1))}.bg-success-100{--tw-bg-opacity: 1;background-color:hsl(var(--color-success-100) / var(--tw-bg-opacity, 1))}.bg-success-50{--tw-bg-opacity: 1;background-color:hsl(var(--color-success-050) / var(--tw-bg-opacity, 1))}.bg-success-600{--tw-bg-opacity: 1;background-color:hsl(var(--color-success-600) / var(--tw-bg-opacity, 1))}.bg-success-700{--tw-bg-opacity: 1;background-color:hsl(var(--color-success-700) / var(--tw-bg-opacity, 1))}.bg-teal-100{--tw-bg-opacity: 1;background-color:hsl(var(--color-teal-100) / var(--tw-bg-opacity, 1))}.bg-teal-25{--tw-bg-opacity: 1;background-color:hsl(var(--color-teal-025) / var(--tw-bg-opacity, 1))}.bg-teal-600{--tw-bg-opacity: 1;background-color:hsl(var(--color-teal-600) / var(--tw-bg-opacity, 1))}.bg-theme-border-moderate{--tw-bg-opacity: 1;background-color:hsl(var(--color-border-moderate) / var(--tw-bg-opacity, 1))}.bg-theme-surface-primary{--tw-bg-opacity: 1;background-color:hsl(var(--color-surface-primary) / var(--tw-bg-opacity, 1))}.bg-theme-surface-secondary{--tw-bg-opacity: 1;background-color:hsl(var(--color-surface-secondary) / var(--tw-bg-opacity, 1))}.bg-theme-surface-strong{--tw-bg-opacity: 1;background-color:hsl(var(--color-surface-strong) / var(--tw-bg-opacity, 1))}.bg-theme-surface-tertiary{--tw-bg-opacity: 1;background-color:hsl(var(--color-surface-tertiary) / var(--tw-bg-opacity, 1))}.bg-theme-text-primary{--tw-bg-opacity: 1;background-color:hsl(var(--color-text-primary) / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-turquoise-100{--tw-bg-opacity: 1;background-color:hsl(var(--color-turquoise-100) / var(--tw-bg-opacity, 1))}.bg-turquoise-25{--tw-bg-opacity: 1;background-color:hsl(var(--color-turquoise-025) / var(--tw-bg-opacity, 1))}.bg-turquoise-500{--tw-bg-opacity: 1;background-color:hsl(var(--color-turquoise-500) / var(--tw-bg-opacity, 1))}.bg-warning-200{--tw-bg-opacity: 1;background-color:hsl(var(--color-warning-200) / var(--tw-bg-opacity, 1))}.bg-warning-400{--tw-bg-opacity: 1;background-color:hsl(var(--color-warning-400) / var(--tw-bg-opacity, 1))}.bg-warning-50{--tw-bg-opacity: 1;background-color:hsl(var(--color-warning-050) / var(--tw-bg-opacity, 1))}.bg-warning-600{--tw-bg-opacity: 1;background-color:hsl(var(--color-warning-600) / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\/40{background-color:#fff6}.bg-white\/70{background-color:#ffffffb3}.bg-\[conic-gradient\(hsl\(var\(--color-primary-400\)\)_var\(--value\)\,hsl\(var\(--color-primary-050\)\)_var\(--value\)\)\]{background-image:conic-gradient(hsl(var(--color-primary-400)) var(--value),hsl(var(--color-primary-050)) var(--value))}.bg-gradient-light{background-image:linear-gradient(to bottom,#f4f0ff,#fff)}.\!fill-neutral-400{fill:hsl(var(--color-neutral-400) / 1)!important}.fill-blue-400{fill:hsl(var(--color-blue-400) / 1)}.fill-current{fill:currentColor}.fill-error-500{fill:hsl(var(--color-error-500) / 1)}.fill-error-700{fill:hsl(var(--color-error-700) / 1)}.fill-inherit{fill:inherit}.fill-neutral-200{fill:hsl(var(--color-neutral-200) / 1)}.fill-neutral-300{fill:hsl(var(--color-neutral-300) / 1)}.fill-neutral-400{fill:hsl(var(--color-neutral-400) / 1)}.fill-neutral-500{fill:hsl(var(--color-neutral-500) / 1)}.fill-primary-400{fill:hsl(var(--color-primary-400) / 1)}.fill-primary-600{fill:hsl(var(--color-primary-600) / 1)}.fill-primary-900{fill:hsl(var(--color-primary-900) / 1)}.fill-success-300{fill:hsl(var(--color-success-300) / 1)}.fill-success-400{fill:hsl(var(--color-success-400) / 1)}.fill-success-500{fill:hsl(var(--color-success-500) / 1)}.fill-success-700{fill:hsl(var(--color-success-700) / 1)}.fill-teal-400{fill:hsl(var(--color-teal-400) / 1)}.fill-theme-surface-strong{fill:hsl(var(--color-surface-strong) / 1)}.fill-theme-text-brand{fill:hsl(var(--color-text-brand) / 1)}.fill-theme-text-negative{fill:hsl(var(--color-text-negative) / 1)}.fill-theme-text-primary{fill:hsl(var(--color-text-primary) / 1)}.fill-theme-text-secondary{fill:hsl(var(--color-text-secondary) / 1)}.fill-theme-text-success{fill:hsl(var(--color-text-success) / 1)}.fill-theme-text-tertiary{fill:hsl(var(--color-text-tertiary) / 1)}.fill-theme-text-warning{fill:hsl(var(--color-text-warning) / 1)}.fill-turquoise-400{fill:hsl(var(--color-turquoise-400) / 1)}.fill-warning-300{fill:hsl(var(--color-warning-300) / 1)}.fill-warning-400{fill:hsl(var(--color-warning-400) / 1)}.fill-warning-500{fill:hsl(var(--color-warning-500) / 1)}.fill-warning-700{fill:hsl(var(--color-warning-700) / 1)}.fill-white{fill:#fff}.stroke-primary-400{stroke:hsl(var(--color-primary-400) / 1)}.stroke-theme-text-tertiary{stroke:hsl(var(--color-text-tertiary) / 1)}.object-contain{-o-object-fit:contain;object-fit:contain}.p-0{padding:0rem}.p-0\.25{padding:.125rem}.p-0\.5{padding:.25rem}.p-1{padding:.5rem}.p-2{padding:.75rem}.p-3{padding:1rem}.p-4{padding:1.25rem}.p-5{padding:1.5rem}.p-6{padding:2rem}.p-7{padding:2.5rem}.p-8{padding:3rem}.p-9{padding:4rem}.p-\[1px\]{padding:1px}.px-0\.5{padding-left:.25rem;padding-right:.25rem}.px-1{padding-left:.5rem;padding-right:.5rem}.px-2{padding-left:.75rem;padding-right:.75rem}.px-3{padding-left:1rem;padding-right:1rem}.px-4{padding-left:1.25rem;padding-right:1.25rem}.px-5{padding-left:1.5rem;padding-right:1.5rem}.px-6{padding-left:2rem;padding-right:2rem}.px-7{padding-left:2.5rem;padding-right:2.5rem}.px-8{padding-left:3rem;padding-right:3rem}.py-0\.25{padding-top:.125rem;padding-bottom:.125rem}.py-0\.5{padding-top:.25rem;padding-bottom:.25rem}.py-1{padding-top:.5rem;padding-bottom:.5rem}.py-12{padding-top:6rem;padding-bottom:6rem}.py-2{padding-top:.75rem;padding-bottom:.75rem}.py-3{padding-top:1rem;padding-bottom:1rem}.py-4{padding-top:1.25rem;padding-bottom:1.25rem}.py-5{padding-top:1.5rem;padding-bottom:1.5rem}.py-7{padding-top:2.5rem;padding-bottom:2.5rem}.py-9{padding-top:4rem;padding-bottom:4rem}.pb-1{padding-bottom:.5rem}.pb-5{padding-bottom:1.5rem}.pb-6{padding-bottom:2rem}.pl-1{padding-left:.5rem}.pl-2{padding-left:.75rem}.pl-3{padding-left:1rem}.pl-4{padding-left:1.25rem}.pl-5{padding-left:1.5rem}.pl-8{padding-left:3rem}.pl-9{padding-left:4rem}.pl-\[30px\]{padding-left:30px}.pl-\[36px\]{padding-left:36px}.pl-\[60px\]{padding-left:60px}.pr-1{padding-right:.5rem}.pr-10{padding-right:4.5rem}.pr-12{padding-right:6rem}.pr-2{padding-right:.75rem}.pr-3{padding-right:1rem}.pr-4{padding-right:1.25rem}.pr-5{padding-right:1.5rem}.pr-6{padding-right:2rem}.pr-8{padding-right:3rem}.pt-5{padding-top:1.5rem}.pt-7{padding-top:2.5rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:Inter,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-display-lg{font-size:3rem;line-height:3.75rem;letter-spacing:-.06rem}.text-display-md{font-size:2.25rem;line-height:2.75rem;letter-spacing:-.045rem}.text-display-sm{font-size:1.875rem;line-height:2.375rem}.text-display-xl{font-size:3.75rem;line-height:4.5rem}.text-display-xs{font-size:1.5rem;line-height:2rem}.text-text-lg{font-size:1.125rem;line-height:1.75rem}.text-text-md{font-size:1rem;line-height:1.5rem}.text-text-sm{font-size:.875rem;line-height:1.25rem}.text-text-xl{font-size:1.25rem;line-height:1.875rem}.text-text-xs{font-size:.75rem;line-height:1.125rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.leading-5{line-height:1.25rem}.tracking-widest{letter-spacing:.1em}.text-blue-600{--tw-text-opacity: 1;color:hsl(var(--color-blue-600) / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:hsl(var(--color-blue-700) / var(--tw-text-opacity, 1))}.text-current{color:currentColor}.text-error-500{--tw-text-opacity: 1;color:hsl(var(--color-error-500) / var(--tw-text-opacity, 1))}.text-error-700{--tw-text-opacity: 1;color:hsl(var(--color-error-700) / var(--tw-text-opacity, 1))}.text-error-800{--tw-text-opacity: 1;color:hsl(var(--color-error-800) / var(--tw-text-opacity, 1))}.text-error-900{--tw-text-opacity: 1;color:hsl(var(--color-error-900) / var(--tw-text-opacity, 1))}.text-lime-700{--tw-text-opacity: 1;color:hsl(var(--color-lime-700) / var(--tw-text-opacity, 1))}.text-lime-800{--tw-text-opacity: 1;color:hsl(var(--color-lime-800) / var(--tw-text-opacity, 1))}.text-magenta-600{--tw-text-opacity: 1;color:hsl(var(--color-magenta-600) / var(--tw-text-opacity, 1))}.text-magenta-700{--tw-text-opacity: 1;color:hsl(var(--color-magenta-700) / var(--tw-text-opacity, 1))}.text-neutral-400{--tw-text-opacity: 1;color:hsl(var(--color-neutral-400) / var(--tw-text-opacity, 1))}.text-neutral-500{--tw-text-opacity: 1;color:hsl(var(--color-neutral-500) / var(--tw-text-opacity, 1))}.text-neutral-700{--tw-text-opacity: 1;color:hsl(var(--color-neutral-700) / var(--tw-text-opacity, 1))}.text-neutral-900{--tw-text-opacity: 1;color:hsl(var(--color-neutral-900) / var(--tw-text-opacity, 1))}.text-orange-600{--tw-text-opacity: 1;color:hsl(var(--color-orange-600) / var(--tw-text-opacity, 1))}.text-orange-700{--tw-text-opacity: 1;color:hsl(var(--color-orange-700) / var(--tw-text-opacity, 1))}.text-primary-400{--tw-text-opacity: 1;color:hsl(var(--color-primary-400) / var(--tw-text-opacity, 1))}.text-primary-500{--tw-text-opacity: 1;color:hsl(var(--color-primary-500) / var(--tw-text-opacity, 1))}.text-primary-600{--tw-text-opacity: 1;color:hsl(var(--color-primary-600) / var(--tw-text-opacity, 1))}.text-primary-900{--tw-text-opacity: 1;color:hsl(var(--color-primary-900) / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-success-800{--tw-text-opacity: 1;color:hsl(var(--color-success-800) / var(--tw-text-opacity, 1))}.text-success-900{--tw-text-opacity: 1;color:hsl(var(--color-success-900) / var(--tw-text-opacity, 1))}.text-teal-600{--tw-text-opacity: 1;color:hsl(var(--color-teal-600) / var(--tw-text-opacity, 1))}.text-teal-700{--tw-text-opacity: 1;color:hsl(var(--color-teal-700) / var(--tw-text-opacity, 1))}.text-theme-surface-primary{--tw-text-opacity: 1;color:hsl(var(--color-surface-primary) / var(--tw-text-opacity, 1))}.text-theme-surface-strong{--tw-text-opacity: 1;color:hsl(var(--color-surface-strong) / var(--tw-text-opacity, 1))}.text-theme-text-brand{--tw-text-opacity: 1;color:hsl(var(--color-text-brand) / var(--tw-text-opacity, 1))}.text-theme-text-error{--tw-text-opacity: 1;color:hsl(var(--color-text-error) / var(--tw-text-opacity, 1))}.text-theme-text-negative{--tw-text-opacity: 1;color:hsl(var(--color-text-negative) / var(--tw-text-opacity, 1))}.text-theme-text-primary{--tw-text-opacity: 1;color:hsl(var(--color-text-primary) / var(--tw-text-opacity, 1))}.text-theme-text-secondary{--tw-text-opacity: 1;color:hsl(var(--color-text-secondary) / var(--tw-text-opacity, 1))}.text-theme-text-success{--tw-text-opacity: 1;color:hsl(var(--color-text-success) / var(--tw-text-opacity, 1))}.text-theme-text-tertiary{--tw-text-opacity: 1;color:hsl(var(--color-text-tertiary) / var(--tw-text-opacity, 1))}.text-theme-text-warning{--tw-text-opacity: 1;color:hsl(var(--color-text-warning) / var(--tw-text-opacity, 1))}.text-turquoise-600{--tw-text-opacity: 1;color:hsl(var(--color-turquoise-600) / var(--tw-text-opacity, 1))}.text-turquoise-700{--tw-text-opacity: 1;color:hsl(var(--color-turquoise-700) / var(--tw-text-opacity, 1))}.text-warning-900{--tw-text-opacity: 1;color:hsl(var(--color-warning-900) / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.decoration-theme-text-tertiary{text-decoration-color:hsl(var(--color-text-tertiary) / 1)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-90{opacity:.9}.mix-blend-multiply{mix-blend-mode:multiply}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0px 0px 4px 0px rgba(0, 0, 0, .1);--tw-shadow-colored: 0px 0px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-none{transition-property:none}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.fade-out-0{--tw-exit-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.duration-100{animation-duration:.1s}.duration-150{animation-duration:.15s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.running{animation-play-state:running}.paused{animation-play-state:paused}.\@container{container-type:inline-size}.layout-container{margin-left:auto;margin-right:auto;width:91.666667%;max-width:1440px}.link{text-decoration-line:underline;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;animation-duration:.15s}.link:hover{text-decoration-color:transparent}.\[animation-duration\:_5s\]{animation-duration:5s}.marker\:text-primary-200 *::marker{color:hsl(var(--color-primary-200))}.marker\:text-primary-200::marker{color:hsl(var(--color-primary-200))}.placeholder\:font-mono::-moz-placeholder{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.placeholder\:font-mono::placeholder{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.placeholder\:text-theme-text-secondary::-moz-placeholder{--tw-text-opacity: 1;color:hsl(var(--color-text-secondary) / var(--tw-text-opacity, 1))}.placeholder\:text-theme-text-secondary::placeholder{--tw-text-opacity: 1;color:hsl(var(--color-text-secondary) / var(--tw-text-opacity, 1))}.placeholder\:text-theme-text-tertiary::-moz-placeholder{--tw-text-opacity: 1;color:hsl(var(--color-text-tertiary) / var(--tw-text-opacity, 1))}.placeholder\:text-theme-text-tertiary::placeholder{--tw-text-opacity: 1;color:hsl(var(--color-text-tertiary) / var(--tw-text-opacity, 1))}.after\:h-\[var\(--inner-circle\)\]:after{content:var(--tw-content);height:var(--inner-circle)}.after\:w-\[var\(--inner-circle\)\]:after{content:var(--tw-content);width:var(--inner-circle)}.after\:rounded-rounded:after{content:var(--tw-content);border-radius:9999px}.after\:bg-theme-surface-primary:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:hsl(var(--color-surface-primary) / var(--tw-bg-opacity, 1))}.after\:content-\[\'\'\]:after{--tw-content: "";content:var(--tw-content)}.first\:pt-0:first-child{padding-top:0rem}.last\:pb-0:last-child{padding-bottom:0rem}.hover\:w-\[220px\]:hover{width:220px}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:border-neutral-400:hover{--tw-border-opacity: 1;border-color:hsl(var(--color-neutral-400) / var(--tw-border-opacity, 1))}.hover\:border-primary-400:hover{--tw-border-opacity: 1;border-color:hsl(var(--color-primary-400) / var(--tw-border-opacity, 1))}.hover\:border-theme-border-bold:hover{--tw-border-opacity: 1;border-color:hsl(var(--color-border-bold) / var(--tw-border-opacity, 1))}.hover\:bg-error-50:hover{--tw-bg-opacity: 1;background-color:hsl(var(--color-error-050) / var(--tw-bg-opacity, 1))}.hover\:bg-error-500:hover{--tw-bg-opacity: 1;background-color:hsl(var(--color-error-500) / var(--tw-bg-opacity, 1))}.hover\:bg-neutral-100:hover{--tw-bg-opacity: 1;background-color:hsl(var(--color-neutral-100) / var(--tw-bg-opacity, 1))}.hover\:bg-neutral-200:hover{--tw-bg-opacity: 1;background-color:hsl(var(--color-neutral-200) / var(--tw-bg-opacity, 1))}.hover\:bg-neutral-300:hover{--tw-bg-opacity: 1;background-color:hsl(var(--color-neutral-300) / var(--tw-bg-opacity, 1))}.hover\:bg-primary-100:hover{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-100) / var(--tw-bg-opacity, 1))}.hover\:bg-primary-400:hover{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-400) / var(--tw-bg-opacity, 1))}.hover\:bg-primary-50:hover{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-050) / var(--tw-bg-opacity, 1))}.hover\:bg-theme-surface-primary:hover{--tw-bg-opacity: 1;background-color:hsl(var(--color-surface-primary) / var(--tw-bg-opacity, 1))}.hover\:bg-theme-surface-secondary:hover{--tw-bg-opacity: 1;background-color:hsl(var(--color-surface-secondary) / var(--tw-bg-opacity, 1))}.hover\:bg-warning-400:hover{--tw-bg-opacity: 1;background-color:hsl(var(--color-warning-400) / var(--tw-bg-opacity, 1))}.hover\:text-purple-900:hover{--tw-text-opacity: 1;color:rgb(88 28 135 / var(--tw-text-opacity, 1))}.hover\:text-theme-text-brand:hover{--tw-text-opacity: 1;color:hsl(var(--color-text-brand) / var(--tw-text-opacity, 1))}.hover\:underline:hover{text-decoration-line:underline}.hover\:decoration-transparent:hover{text-decoration-color:transparent}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-sm:hover{--tw-shadow: 0px 0px 4px 0px rgba(0, 0, 0, .1);--tw-shadow-colored: 0px 0px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:ring-4:hover{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.hover\:ring-theme-surface-tertiary:hover{--tw-ring-opacity: 1;--tw-ring-color: hsl(var(--color-surface-tertiary) / var(--tw-ring-opacity, 1))}.focus\:border-neutral-500:focus{--tw-border-opacity: 1;border-color:hsl(var(--color-neutral-500) / var(--tw-border-opacity, 1))}.focus\:bg-theme-surface-tertiary:focus{--tw-bg-opacity: 1;background-color:hsl(var(--color-surface-tertiary) / var(--tw-bg-opacity, 1))}.focus\:shadow-sm:focus{--tw-shadow: 0px 0px 4px 0px rgba(0, 0, 0, .1);--tw-shadow-colored: 0px 0px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-0:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-primary-500:focus{--tw-ring-opacity: 1;--tw-ring-color: hsl(var(--color-primary-500) / var(--tw-ring-opacity, 1))}.focus\:ring-theme-surface-strong:focus{--tw-ring-opacity: 1;--tw-ring-color: hsl(var(--color-surface-strong) / var(--tw-ring-opacity, 1))}.focus\:ring-theme-surface-tertiary:focus{--tw-ring-opacity: 1;--tw-ring-color: hsl(var(--color-surface-tertiary) / var(--tw-ring-opacity, 1))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.active\:border-neutral-400:active{--tw-border-opacity: 1;border-color:hsl(var(--color-neutral-400) / var(--tw-border-opacity, 1))}.active\:bg-error-100:active{--tw-bg-opacity: 1;background-color:hsl(var(--color-error-100) / var(--tw-bg-opacity, 1))}.active\:bg-error-600:active{--tw-bg-opacity: 1;background-color:hsl(var(--color-error-600) / var(--tw-bg-opacity, 1))}.active\:bg-neutral-300:active{--tw-bg-opacity: 1;background-color:hsl(var(--color-neutral-300) / var(--tw-bg-opacity, 1))}.active\:bg-neutral-400:active{--tw-bg-opacity: 1;background-color:hsl(var(--color-neutral-400) / var(--tw-bg-opacity, 1))}.active\:bg-primary-100:active{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-100) / var(--tw-bg-opacity, 1))}.active\:bg-primary-200:active{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-200) / var(--tw-bg-opacity, 1))}.active\:bg-primary-500:active{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-500) / var(--tw-bg-opacity, 1))}.active\:bg-theme-surface-tertiary:active{--tw-bg-opacity: 1;background-color:hsl(var(--color-surface-tertiary) / var(--tw-bg-opacity, 1))}.active\:bg-warning-500:active{--tw-bg-opacity: 1;background-color:hsl(var(--color-warning-500) / var(--tw-bg-opacity, 1))}.active\:ring-4:active{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.active\:ring-\[\#E4D8FD\]:active{--tw-ring-opacity: 1;--tw-ring-color: rgb(228 216 253 / var(--tw-ring-opacity, 1))}.active\:ring-\[\#E5E7EB\]:active{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity, 1))}.active\:ring-error-50:active{--tw-ring-opacity: 1;--tw-ring-color: hsl(var(--color-error-050) / var(--tw-ring-opacity, 1))}.active\:ring-neutral-100:active{--tw-ring-opacity: 1;--tw-ring-color: hsl(var(--color-neutral-100) / var(--tw-ring-opacity, 1))}.active\:ring-warning-50:active{--tw-ring-opacity: 1;--tw-ring-color: hsl(var(--color-warning-050) / var(--tw-ring-opacity, 1))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-error-100:disabled{--tw-border-opacity: 1;border-color:hsl(var(--color-error-100) / var(--tw-border-opacity, 1))}.disabled\:border-neutral-300:disabled{--tw-border-opacity: 1;border-color:hsl(var(--color-neutral-300) / var(--tw-border-opacity, 1))}.disabled\:border-primary-100:disabled{--tw-border-opacity: 1;border-color:hsl(var(--color-primary-100) / var(--tw-border-opacity, 1))}.disabled\:bg-error-100:disabled{--tw-bg-opacity: 1;background-color:hsl(var(--color-error-100) / var(--tw-bg-opacity, 1))}.disabled\:bg-neutral-100:disabled{--tw-bg-opacity: 1;background-color:hsl(var(--color-neutral-100) / var(--tw-bg-opacity, 1))}.disabled\:bg-primary-50:disabled{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-050) / var(--tw-bg-opacity, 1))}.disabled\:bg-theme-surface-primary:disabled{--tw-bg-opacity: 1;background-color:hsl(var(--color-surface-primary) / var(--tw-bg-opacity, 1))}.disabled\:text-error-100:disabled{--tw-text-opacity: 1;color:hsl(var(--color-error-100) / var(--tw-text-opacity, 1))}.disabled\:text-neutral-300:disabled{--tw-text-opacity: 1;color:hsl(var(--color-neutral-300) / var(--tw-text-opacity, 1))}.disabled\:text-neutral-400:disabled{--tw-text-opacity: 1;color:hsl(var(--color-neutral-400) / var(--tw-text-opacity, 1))}.disabled\:text-primary-100:disabled{--tw-text-opacity: 1;color:hsl(var(--color-primary-100) / var(--tw-text-opacity, 1))}.disabled\:opacity-50:disabled{opacity:.5}.group\/copybutton:hover .group-hover\/copybutton\:visible{visibility:visible}.group:hover .group-hover\:mb-2{margin-bottom:.75rem}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:flex{display:flex}.group:hover .group-hover\:h-5{height:1.5rem}.group\/copybutton:hover .group-hover\/copybutton\:opacity-100,.group:hover .group-hover\:opacity-100{opacity:1}.group\/button:disabled .group-disabled\/button\:fill-neutral-300{fill:hsl(var(--color-neutral-300) / 1)}.group.white-close .group-\[\.white-close\]\:fill-white{fill:#fff}.group.white-close .group-\[\.white-close\]\:text-theme-text-negative{--tw-text-opacity: 1;color:hsl(var(--color-text-negative) / var(--tw-text-opacity, 1))}.peer:checked~.peer-checked\:border-primary-100{--tw-border-opacity: 1;border-color:hsl(var(--color-primary-100) / var(--tw-border-opacity, 1))}.peer:checked~.peer-checked\:border-primary-400{--tw-border-opacity: 1;border-color:hsl(var(--color-primary-400) / var(--tw-border-opacity, 1))}.peer:checked~.peer-checked\:bg-primary-25{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-025) / var(--tw-bg-opacity, 1))}.peer:checked~.peer-checked\:shadow-sm{--tw-shadow: 0px 0px 4px 0px rgba(0, 0, 0, .1);--tw-shadow-colored: 0px 0px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.peer:focus-visible~.peer-focus-visible\:border-primary-100{--tw-border-opacity: 1;border-color:hsl(var(--color-primary-100) / var(--tw-border-opacity, 1))}.peer:disabled~.peer-disabled\:cursor-default{cursor:default}.peer:disabled~.peer-disabled\:bg-neutral-50{--tw-bg-opacity: 1;background-color:hsl(var(--color-neutral-050) / var(--tw-bg-opacity, 1))}.data-\[disabled\=true\]\:pointer-events-none[data-disabled=true],.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[success\=true\]\:max-w-\[800px\][data-success=true]{max-width:800px}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y: .5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x: .5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=checked\]\:translate-x-3[data-state=checked]{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel]{--tw-translate-x: 0rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--tw-translate-x: var(--radix-toast-swipe-end-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--tw-translate-x: var(--radix-toast-swipe-move-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[error\=true\]\:border-error-500[data-error=true]{--tw-border-opacity: 1;border-color:hsl(var(--color-error-500) / var(--tw-border-opacity, 1))}.data-\[error\=true\]\:border-theme-text-error[data-error=true]{--tw-border-opacity: 1;border-color:hsl(var(--color-text-error) / var(--tw-border-opacity, 1))}.data-\[failed\=true\]\:border-error-200[data-failed=true]{--tw-border-opacity: 1;border-color:hsl(var(--color-error-200) / var(--tw-border-opacity, 1))}.data-\[filled\=true\]\:border-success-400[data-filled=true]{--tw-border-opacity: 1;border-color:hsl(var(--color-success-400) / var(--tw-border-opacity, 1))}.data-\[selected\=true\]\:border-primary-500[data-selected=true]{--tw-border-opacity: 1;border-color:hsl(var(--color-primary-500) / var(--tw-border-opacity, 1))}.data-\[selected\=true\]\:border-theme-border-bold[data-selected=true]{--tw-border-opacity: 1;border-color:hsl(var(--color-border-bold) / var(--tw-border-opacity, 1))}.data-\[state\=checked\]\:border-theme-surface-strong[data-state=checked],.data-\[state\=selected\]\:border-theme-surface-strong[data-state=selected]{--tw-border-opacity: 1;border-color:hsl(var(--color-surface-strong) / var(--tw-border-opacity, 1))}.data-\[failed\=true\]\:bg-error-50[data-failed=true]{--tw-bg-opacity: 1;background-color:hsl(var(--color-error-050) / var(--tw-bg-opacity, 1))}.data-\[filled\=true\]\:bg-theme-surface-primary[data-filled=true]{--tw-bg-opacity: 1;background-color:hsl(var(--color-surface-primary) / var(--tw-bg-opacity, 1))}.data-\[selected\=true\]\:bg-primary-25[data-selected=true]{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-025) / var(--tw-bg-opacity, 1))}.data-\[selected\=true\]\:bg-primary-500[data-selected=true]{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-500) / var(--tw-bg-opacity, 1))}.data-\[state\=active\]\:bg-theme-surface-primary[data-state=active]{--tw-bg-opacity: 1;background-color:hsl(var(--color-surface-primary) / var(--tw-bg-opacity, 1))}.data-\[state\=checked\]\:bg-primary-400[data-state=checked]{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-400) / var(--tw-bg-opacity, 1))}.data-\[state\=checked\]\:bg-primary-50[data-state=checked]{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-050) / var(--tw-bg-opacity, 1))}.data-\[state\=checked\]\:bg-theme-surface-strong[data-state=checked]{--tw-bg-opacity: 1;background-color:hsl(var(--color-surface-strong) / var(--tw-bg-opacity, 1))}.data-\[state\=checked\]\:data-\[half\=true\]\:bg-primary-50[data-half=true][data-state=checked]{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-050) / var(--tw-bg-opacity, 1))}.data-\[state\=unchecked\]\:bg-neutral-100[data-state=unchecked]{--tw-bg-opacity: 1;background-color:hsl(var(--color-neutral-100) / var(--tw-bg-opacity, 1))}.data-\[state\=unchecked\]\:bg-neutral-200[data-state=unchecked]{--tw-bg-opacity: 1;background-color:hsl(var(--color-neutral-200) / var(--tw-bg-opacity, 1))}.data-\[failed\=true\]\:text-theme-text-error[data-failed=true]{--tw-text-opacity: 1;color:hsl(var(--color-text-error) / var(--tw-text-opacity, 1))}.data-\[selected\=true\]\:text-theme-text-brand[data-selected=true],.data-\[state\=active\]\:text-theme-text-brand[data-state=active]{--tw-text-opacity: 1;color:hsl(var(--color-text-brand) / var(--tw-text-opacity, 1))}.data-\[state\=checked\]\:data-\[disabled\]\:text-theme-surface-primary[data-disabled][data-state=checked]{--tw-text-opacity: 1;color:hsl(var(--color-surface-primary) / var(--tw-text-opacity, 1))}.data-\[disabled\=true\]\:opacity-50[data-disabled=true],.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[selected\=true\]\:shadow-md[data-selected=true]{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[state\=active\]\:shadow-inner[data-state=active]{--tw-shadow: inset 0 -2px 0 0,0 2px 0 0;--tw-shadow-colored: inset 0 -2px 0 0 var(--tw-shadow-color), 0 2px 0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[state\=active\]\:shadow-primary-400[data-state=active]{--tw-shadow-color: hsl(var(--color-primary-400) / 1);--tw-shadow: var(--tw-shadow-colored)}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed],.data-\[swipe\=end\]\:animate-out[data-swipe=end]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=closed\]\:fade-out-80[data-state=closed]{--tw-exit-opacity: .8}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.75rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .75rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.75rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .75rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed],.data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed]{--tw-exit-translate-x: 100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-top-full[data-state=open]{--tw-enter-translate-y: -100%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.hover\:data-\[state\=inactive\]\:shadow-inner[data-state=inactive]:hover{--tw-shadow: inset 0 -2px 0 0,0 2px 0 0;--tw-shadow-colored: inset 0 -2px 0 0 var(--tw-shadow-color), 0 2px 0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:data-\[state\=inactive\]\:shadow-neutral-200[data-state=inactive]:hover{--tw-shadow-color: hsl(var(--color-neutral-200) / 1);--tw-shadow: var(--tw-shadow-colored)}.data-\[state\=checked\]\:active\:border-primary-200:active[data-state=checked]{--tw-border-opacity: 1;border-color:hsl(var(--color-primary-200) / var(--tw-border-opacity, 1))}.data-\[state\=checked\]\:active\:bg-primary-200:active[data-state=checked]{--tw-bg-opacity: 1;background-color:hsl(var(--color-primary-200) / var(--tw-bg-opacity, 1))}.disabled\:data-\[state\=checked\]\:border-neutral-300[data-state=checked]:disabled{--tw-border-opacity: 1;border-color:hsl(var(--color-neutral-300) / var(--tw-border-opacity, 1))}.data-\[state\=checked\]\:disabled\:bg-primary-400\/30:disabled[data-state=checked]{background-color:hsl(var(--color-primary-400) / .3)}.disabled\:data-\[state\=checked\]\:bg-neutral-300[data-state=checked]:disabled{--tw-bg-opacity: 1;background-color:hsl(var(--color-neutral-300) / var(--tw-bg-opacity, 1))}.disabled\:data-\[state\=checked\]\:data-\[half\=true\]\:bg-primary-50\/30[data-half=true][data-state=checked]:disabled{background-color:hsl(var(--color-primary-050) / .3)}.disabled\:data-\[state\=unchecked\]\:bg-neutral-100\/30[data-state=unchecked]:disabled{background-color:hsl(var(--color-neutral-100) / .3)}.disabled\:data-\[state\=unchecked\]\:opacity-30[data-state=unchecked]:disabled{opacity:.3}.group[data-selected=true] .group-data-\[selected\=true\]\:bg-white\/20{background-color:#fff3}.group\/trigger[data-state=active] .group-data-\[state\=active\]\/trigger\:bg-theme-surface-primary{--tw-bg-opacity: 1;background-color:hsl(var(--color-surface-primary) / var(--tw-bg-opacity, 1))}.group[data-selected=true] .group-data-\[selected\=true\]\:fill-theme-text-negative{fill:hsl(var(--color-text-negative) / 1)}.group\/trigger[data-state=active] .group-data-\[state\=active\]\/trigger\:fill-theme-surface-strong{fill:hsl(var(--color-surface-strong) / 1)}.group[data-selected=true] .group-data-\[selected\=true\]\:text-theme-text-negative{--tw-text-opacity: 1;color:hsl(var(--color-text-negative) / var(--tw-text-opacity, 1))}.group[data-selected=true] .group-data-\[selected\=true\]\:text-white\/70{color:#ffffffb3}.group\/trigger[data-state=active] .group-data-\[state\=active\]\/trigger\:shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.group\/trigger[data-state=active] .data-\[error\=false\]\:data-\[filled\=false\]\:group-data-\[state\=active\]\/trigger\:border-theme-border-bold[data-filled=false][data-error=false]{--tw-border-opacity: 1;border-color:hsl(var(--color-border-bold) / var(--tw-border-opacity, 1))}@container (min-width: 64rem){.\@5xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion: reduce){.motion-reduce\:animate-none{animation:none}}@media (min-width: 640px){.sm\:right-0{right:0rem}.sm\:top-7{top:2.5rem}.sm\:h-7{height:2.5rem}.sm\:max-w-\[640px\]{max-width:640px}.sm\:flex-row{flex-direction:row}.sm\:flex-col{flex-direction:column}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:text-left{text-align:left}.data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state=open]{--tw-enter-translate-y: 100%}}@media (min-width: 768px){.md\:w-2\/3{width:66.666667%}.md\:w-full{width:100%}.md\:max-w-3xl{max-width:48rem}.md\:max-w-\[480px\]{max-width:480px}.md\:translate-y-\[30\%\]{--tw-translate-y: 30%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-y-4{row-gap:1.25rem}}@media (min-width: 1024px){.lg\:col-span-1{grid-column:span 1 / span 1}.lg\:col-span-2{grid-column:span 2 / span 2}.lg\:col-span-3{grid-column:span 3 / span 3}.lg\:block{display:block}.lg\:w-1\/3{width:33.333333%}.lg\:w-2\/3{width:66.666667%}.lg\:w-\[200px\]{width:200px}.lg\:w-\[700px\]{width:700px}.lg\:w-full{width:100%}.lg\:min-w-\[600px\]{min-width:600px}.lg\:min-w-\[700px\]{min-width:700px}.lg\:max-w-\[1000px\]{max-width:1000px}.lg\:max-w-\[900px\]{max-width:900px}.lg\:flex-row{flex-direction:row}.lg\:flex-col{flex-direction:column}.lg\:items-start{align-items:flex-start}.lg\:gap-\[100px\]{gap:100px}.lg\:px-0{padding-left:0rem;padding-right:0rem}.lg\:px-10{padding-left:4.5rem;padding-right:4.5rem}}@media (min-width: 1280px){.xl\:block{display:block}.xl\:w-1\/2{width:50%}.xl\:w-1\/3{width:33.333333%}.xl\:max-w-\[1080px\]{max-width:1080px}.xl\:-translate-y-\[5\%\]{--tw-translate-y: -5%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:flex-row{flex-direction:row}.xl\:flex-row-reverse{flex-direction:row-reverse}.xl\:divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.xl\:divide-y-0>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(0px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(0px * var(--tw-divide-y-reverse))}.xl\:divide-x-reverse>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 1}.xl\:pl-\[200px\]{padding-left:200px}}@media (min-width: 1536px){.\32xl\:block{display:block}.\32xl\:-translate-x-\[60\%\]{--tw-translate-x: -60%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\32xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.\32xl\:pl-\[300px\]{padding-left:300px}}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0rem}.\[\&\>\*\]\:\!block>*{display:block!important}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y: 2px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>div\]\:w-full>div{width:100%}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.75rem;padding-right:.75rem}.\[\&_\[cmdk-group-heading\]\]\:py-2 [cmdk-group-heading]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-group-heading\]\]\:text-text-sm [cmdk-group-heading]{font-size:.875rem;line-height:1.25rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:font-semibold [cmdk-group-heading]{font-weight:600}.\[\&_\[cmdk-group-heading\]\]\:text-theme-text-secondary [cmdk-group-heading]{--tw-text-opacity: 1;color:hsl(var(--color-text-secondary) / var(--tw-text-opacity, 1))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0rem}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.75rem;padding-right:.75rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.5rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:6rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.75rem;padding-right:.75rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:1rem;padding-bottom:1rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.5rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.5rem}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1.25rem;height:1.25rem}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0px}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{j as e}from"./@radix-C7hRs6Kx.js";import{u as m,S as c,A as x,a as d,g as f,b as u,r,c as v,d as h,l as p,az as g}from"./index-hsSXyS3H.js";import{u as j,h as N,O as b}from"./@react-router-BGgzhn5D.js";import{I as w}from"./InlineAvatar-CrAwe7Pl.js";import"./@tanstack-CSxjHCME.js";import"./@reactflow-CQi1Z1Wq.js";function y({children:s,isActiveOverride:t,...a}){const n=j(),i=t?t(n.pathname):!1;return e.jsx(N,{...a,className:({isActive:l})=>` ${i||l?"bg-primary-50 text-theme-text-brand":"hover:bg-neutral-200"} block rounded-md px-4 py-1 text-text-sm font-semibold `,children:s})}function o({items:s}){return e.jsx("nav",{className:"flex w-full flex-col items-center",children:e.jsx("ul",{className:"flex w-full flex-row flex-wrap items-center gap-1 lg:flex-col lg:items-start",children:s.map(t=>e.jsx("li",{className:"lg:w-full",children:e.jsx(y,{end:!0,to:t.href,isActiveOverride:t.isActiveOverride,children:t.name})},t.name))})})}function S(){var n,i,l;const{data:s,isError:t,isPending:a}=m({throwOnError:!0});return a?e.jsx(c,{className:"h-9 w-full"}):t?null:e.jsxs("div",{className:"flex w-full items-center gap-2 rounded-md border border-theme-border-moderate bg-theme-surface-primary p-2",children:[e.jsxs(x,{size:"md",type:"square",children:[e.jsx(d,{src:f(((n=s.body)==null?void 0:n.server_name)||"default")}),e.jsx(u,{size:"md",children:((i=s.body)==null?void 0:i.server_name[0])||"D"})]}),e.jsx("p",{className:"truncate text-text-sm font-semibold",children:(l=s.body)==null?void 0:l.server_name})]})}function A(){function s(){return[{name:"General",href:r.settings.general},{name:"Members",href:r.settings.members},{name:"API Tokens",href:r.settings.apiTokens},{name:"Repositories",href:r.settings.repositories.overview},{name:"Secrets",href:r.settings.secrets.overview,isActiveOverride:a=>a.startsWith(r.settings.secrets.overview)},{name:"Connectors",href:r.settings.connectors.overview},{name:"Service Accounts",href:r.settings.service_accounts.overview,isActiveOverride:a=>a.startsWith(r.settings.service_accounts.overview)},{name:"Notifications",href:r.settings.notifications}]}const t=s();return e.jsx(o,{items:t})}function I(){function s(){return[{name:"Profile",href:r.settings.profile}]}const t=s();return e.jsx(o,{items:t})}function k(){const{data:s,isPending:t,isError:a}=v();return t?e.jsx(c,{className:"h-[70px] w-full"}):a?null:e.jsxs("div",{className:"rounded-md border border-theme-border-moderate bg-theme-surface-primary p-3",children:[e.jsxs("div",{className:"mb-2 flex items-center",children:[e.jsx(h,{className:"h-4 w-4 fill-theme-text-brand"}),e.jsx("p",{className:"ml-2 text-text-sm font-semibold",children:"Open source"})]}),e.jsxs("p",{className:"mb-1 text-text-sm text-theme-text-tertiary",children:["ZenML v",s.version]}),e.jsxs("p",{className:"text-text-sm text-theme-text-tertiary",children:["UI Version ","v0.31.3"]})]})}function z(){const{data:s}=p();return e.jsxs("div",{className:"layout-container flex flex-col gap-7 pt-5 lg:flex-row lg:px-10",children:[e.jsxs("div",{className:"flex shrink-0 flex-col gap-4 lg:w-[200px]",children:[e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx("p",{className:"text-text-xs font-semibold uppercase text-theme-text-tertiary",children:"Server"}),e.jsx(S,{}),e.jsx(A,{})]}),s?e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx("p",{className:"text-text-xs font-semibold uppercase text-theme-text-tertiary",children:"Account"}),e.jsx(w,{username:g(s)})]}):e.jsx(c,{className:"h-[70px] w-full"}),e.jsx("div",{className:"flex flex-col gap-4",children:e.jsx(I,{})}),e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx("p",{className:"text-text-xs font-semibold uppercase text-theme-text-tertiary",children:"Version"}),e.jsx(k,{})]})]}),e.jsx("div",{className:"w-full",children:e.jsx(b,{})})]})}export{z as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{j as o}from"./@radix-C7hRs6Kx.js";import{S as r}from"./Tabs-BuZG8ft1.js";import{R as m}from"./RunsBody-B6mBjv-_.js";import{R as i}from"./RunSelector-DoL_gMHJ.js";import{S as p}from"./StackList-dhdUtky3.js";import{b as s}from"./@react-router-BGgzhn5D.js";import"./index-hsSXyS3H.js";import"./@tanstack-CSxjHCME.js";import"./@reactflow-CQi1Z1Wq.js";import"./chevron-down-A-rmltmI.js";import"./NestedCollapsible-Ce1bmT8N.js";import"./type-guards-CaeD8wHO.js";import"./CodeSnippet-nRnOvbOJ.js";import"./CollapsibleCard-9sSz7n1R.js";import"./DisplayDate-CYVBBSgr.js";import"./InlineAvatar-CrAwe7Pl.js";import"./refresh-CM5T3QeU.js";import"./SearchField-DHl5flXv.js";import"./chevron-right-double-uNWbJT-C.js";import"./index-DR30v9MZ.js";import"./all-pipeline-runs-query-D9XfZpmV.js";import"./ExecutionStatus-HnZXi9bW.js";import"./check-circle-mvyzYvIW.js";import"./trash-BWSZ7NRK.js";import"./DeleteAlertDialog-Bp0o-UXZ.js";import"./zod-C0xYeTvL.js";import"./index.esm-D7jFlf5N.js";import"./AlertDialogDropdownItem-C_qWs-4u.js";import"./delete-run-B5xUZwdP.js";import"./plus-COjQg3AG.js";import"./index-e8udi7QT.js";import"./stack-detail-query-C1GoxBeK.js";import"./components-Br2ezRib.js";import"./NumberBox-D2A7ENHb.js";import"./ComponentBadge-CMx2DbsV.js";import"./ComponentIcon-CSxdApv8.js";import"./layout-h3cbx8WZ.js";import"./rocket-Cf-B-XOR.js";import"./DialogItem-DHw2ihTx.js";import"./Infobox-C4Op55B8.js";function U(){const{componentId:t}=s();return o.jsx("div",{className:"@container",children:o.jsx(r,{isPanel:!1,stacksTabContent:o.jsx(p,{fixedQueryParams:{component_id:t}}),runsTabContent:o.jsx(i,{children:o.jsx(m,{fixedQueryParams:{stack_component:t}})}),componentId:t})})}export{U as default};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import{r as l,j as e}from"./@radix-C7hRs6Kx.js";import{b as p,u as D,a as v,S,E as C}from"./SecretTooltip-CCn9HfEh.js";import{a as f,c as N}from"./@tanstack-CSxjHCME.js";import{au as b,aL as w,av as k,I as j,aM as E,ax as T,h,at as K,aN as A,D as V,w as O,x as L,y as B,S as z,ak as F,al as I,N as Q,n as R,B as q,K as M}from"./index-hsSXyS3H.js";import{S as P}from"./key-icon-DO4DPJHZ.js";import{S as H}from"./trash-BWSZ7NRK.js";import{A as _}from"./AlertDialogDropdownItem-C_qWs-4u.js";import{b as $}from"./@react-router-BGgzhn5D.js";import"./plus-COjQg3AG.js";import"./zod-C0xYeTvL.js";import"./index.esm-D7jFlf5N.js";import"./CodeSnippet-nRnOvbOJ.js";import"./@reactflow-CQi1Z1Wq.js";function U({secretId:s,keyName:r}){const{data:t,isLoading:a,isError:u}=f({...p.secretDetail(s)}),i=N(),{mutate:c}=D({onError(d){K(d)&&A({status:"error",emphasis:"subtle",description:d.message,rounded:!0})},onSuccess(){i.invalidateQueries({queryKey:["secrets"]}),i.invalidateQueries({queryKey:["secretDetail",s]})}}),[n,m]=l.useState(""),x=()=>{var d;if(t){const g={...(d=t.body)==null?void 0:d.values};delete g[r];const y={name:t.name,scope:"workspace",values:g};c({id:s,body:y})}};function o(d){m(d.target.value)}return a?e.jsx("div",{children:"Loading..."}):u?e.jsx("div",{children:"Error loading secret details"}):e.jsxs(b,{children:[e.jsx(w,{children:e.jsx(k,{children:"Delete Key"})}),e.jsxs("div",{className:"gap-5 p-5",children:[e.jsx("p",{className:"text-text-md text-theme-text-secondary",children:"Are you sure you want to delete this key?"}),e.jsx("p",{className:"text-text-md text-theme-text-secondary",children:"This action cannot be undone."}),e.jsx("h3",{className:"font-inter text-sm mb-1 mt-4 text-left font-medium leading-5",children:"Please type DELETE to confirm"}),e.jsx(j,{name:"key",onChange:o,className:"w-full",required:!0,value:n})]}),e.jsxs(E,{className:"gap-[10px]",children:[e.jsx(T,{asChild:!0,children:e.jsx(h,{size:"sm",intent:"secondary",children:"Cancel"})}),e.jsx(h,{intent:"danger",type:"button",onClick:x,disabled:n!=="DELETE",children:"Delete"})]})]})}function G({secretId:s,keyName:r}){const[t,a]=l.useState(!1),[u,i]=l.useState(!1),c=l.useRef(null),n=l.useRef(null);function m(){n.current=c.current}function x(o){if(o===!1){a(!1),setTimeout(()=>{i(o)},200);return}i(o)}return e.jsxs(V,{onOpenChange:a,open:t,children:[e.jsx(O,{ref:c,children:e.jsx(L,{className:"h-4 w-4 fill-theme-text-tertiary"})}),e.jsx(B,{hidden:u,onCloseAutoFocus:o=>{n.current&&(n.current.focus(),n.current=null,o.preventDefault())},align:"end",sideOffset:7,children:e.jsx(_,{onSelect:m,onOpenChange:x,triggerChildren:"Delete ",icon:e.jsx(H,{}),children:e.jsx(U,{secretId:s,keyName:r})})})]})}const J=({value:s})=>{const[r,t]=l.useState(!1),a=typeof s=="string"?s:"",u="•".repeat(a.length);return e.jsxs("div",{className:"flex items-center gap-2 space-x-2",children:[e.jsx(S,{onClick:()=>t(!r),className:"h-4 w-4 flex-shrink-0"}),e.jsx("span",{children:r?a:u})]})};function W(s,r){return[{id:"key",header:"Key",accessorKey:"key",cell:({row:t})=>{const a=`from zenml.client import Client
|
2
|
-
secret = Client().get_secret("${r}")
|
3
|
-
|
4
|
-
# 'secret.secret_values' will contain a dictionary with all key-value pairs within your secret.
|
5
|
-
secret.secret_values["${t.original.key}"]
|
6
|
-
`;return e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(P,{className:"h-5 w-5 flex-shrink-0 fill-primary-400"}),e.jsx("div",{className:"flex flex-col",children:e.jsx("div",{className:"flex items-center space-x-1",children:e.jsxs("div",{className:"flex items-center space-x-1",children:[e.jsx("span",{className:"text-text-md font-semibold text-theme-text-primary",children:t.original.key}),e.jsx(v,{code:a})]})})})]})}},{id:"value",header:"Value",accessorKey:"value",cell:({row:t})=>e.jsx(J,{value:t.getValue("value")})},{id:"actions",header:"",cell:({row:t})=>e.jsx(G,{secretId:s,keyName:t.original.key})}]}function X({secretId:s}){var c;const[r,t]=l.useState(""),a=f({...p.secretDetail(s)});if(a.isPending)return e.jsx(z,{className:"h-[200px] w-full"});if(a.isError)return e.jsx("div",{children:a.error.message});const i=Object.entries(((c=a.data.body)==null?void 0:c.values)||{}).map(([n,m])=>({key:n,value:m})).filter(n=>n.key.toLowerCase().includes(r.toLowerCase()));return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"mb-4 flex flex-wrap items-center justify-between gap-2",children:[e.jsx(j,{type:"text",placeholder:"Search Keys...",value:r,onChange:n=>t(n.target.value),inputSize:"md"}),e.jsxs(F,{children:[e.jsx(I,{asChild:!0,children:e.jsx(h,{size:"sm",intent:"primary",children:"Edit Keys"})}),e.jsx(C,{secretId:s,isSecretNameEditable:!1,dialogTitle:"Edit keys"})]})]}),e.jsx("div",{className:"w-full",children:e.jsx(Q,{columns:W(s,a.data.name),data:i})})]})}function ue(){const{secretId:s}=$(),{setCurrentBreadcrumbData:r}=R(),{data:t}=f({...p.secretDetail(s||"")});return l.useEffect(()=>{t&&r({segment:"secretsDetail",data:{name:t.name,id:t.id}})},[t]),e.jsx(e.Fragment,{children:e.jsxs(q,{className:"space-y-5 p-5",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-text-xl font-semibold",children:t==null?void 0:t.name}),e.jsxs("div",{className:"group/copybutton flex items-center space-x-1",children:[e.jsx("div",{className:"text-theme-text-secondary",children:s==null?void 0:s.slice(0,8)}),e.jsx(M,{copyText:s})]})]}),e.jsx(X,{secretId:s||""})]})})}export{ue as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as x,j as e}from"./@radix-C7hRs6Kx.js";import{ak as I,al as ne,h as y,am as E,an as _,ao as q,f as v,I as K,ar as z,as as B,at as D,j as C,o as S,F as k,p as T,t as Q,v as ae,C as re,s as V,z as N,aq as $,T as ie,G as oe,H as ce,a2 as le,J as de,S as b,D as ue,w as me,x as xe,y as he,ah as pe,au as ye,aL as fe,av as je,aM as ge,ax as Ae,B as H,N as be,n as ve,U as De}from"./index-hsSXyS3H.js";import{c as j,b as P,a as F}from"./@tanstack-CSxjHCME.js";import{s as g,A as G,d as Ne,u as Ke,b as O,a as L}from"./service-MHyqhRgp.js";import{P as we,S as Ce}from"./SearchField-DHl5flXv.js";import{t as U}from"./zod-C0xYeTvL.js";import{u as J,C as w}from"./index.esm-D7jFlf5N.js";import{S as Y}from"./trash-BWSZ7NRK.js";import{D as Z,a as W}from"./DeleteAlertDialog-Bp0o-UXZ.js";import{S as X}from"./key-icon-DO4DPJHZ.js";import{D as M}from"./DisplayDate-CYVBBSgr.js";import{i as Se,a as ke}from"./dates-3pMLCNrD.js";import{S as Te}from"./refresh-CM5T3QeU.js";import{A as Pe}from"./AlertDialogDropdownItem-C_qWs-4u.js";import{I as Fe}from"./Infobox-C4Op55B8.js";import{b as R}from"./@react-router-BGgzhn5D.js";import"./@reactflow-CQi1Z1Wq.js";import"./CodeSnippet-nRnOvbOJ.js";import"./Tick-C4gtED35.js";import"./check-DK77doTf.js";import"./chevron-right-double-uNWbJT-C.js";import"./index-DR30v9MZ.js";function ee({serviceAccountId:t,isFallback:s}){const n=j(),[a,r]=x.useState(!1),[i,o]=x.useState(""),l=!!i;function m(){return l?e.jsx(G,{value:i}):e.jsx(Oe,{isFallback:s,serviceAccountId:t,setApikeyValue:o})}return e.jsx(e.Fragment,{children:e.jsxs(I,{open:a,onOpenChange:c=>{s&&!c&&n.invalidateQueries({queryKey:g.apiKeysKey(t)}),r(c),o("")},children:[e.jsx(ne,{asChild:!0,children:e.jsx(y,{className:"shrink-0",intent:"primary",size:"sm",children:"Generate API Key"})}),e.jsxs(E,{"data-success":l,className:"mx-auto overflow-x-auto transition-none data-[success=true]:max-w-[800px]",children:[e.jsx(_,{children:e.jsx(q,{children:l?"API Key Created Successfully":"Generate API Key"})}),m()]})]})})}function Oe({serviceAccountId:t,setApikeyValue:s,isFallback:n}){const{toast:a}=v(),r=j(),{handleSubmit:i,control:o,formState:{isValid:l},reset:m}=J({resolver:U(Ne),defaultValues:{name:"",description:""}}),{mutate:c}=Ke({onError(u){D(u)&&a({status:"error",emphasis:"subtle",description:u.message,rounded:!0})},onSuccess(u){var f;n||r.invalidateQueries({queryKey:g.apiKeysKey(t)}),s(((f=u.body)==null?void 0:f.key)||""),m()}});function d(u){c({serviceAccountId:t,body:{name:u.name,description:u.description}})}return e.jsxs(e.Fragment,{children:[e.jsxs("form",{id:"create-secret-form",className:"space-y-5 p-7",onSubmit:i(d),children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("label",{className:"font-inter text-sm text-left font-medium leading-5",children:"Name:"}),e.jsx(w,{name:"name",control:o,render:({field:u})=>e.jsx(K,{...u,className:"w-full",required:!0,placeholder:"Add name"})})]}),e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("label",{className:"font-inter text-sm text-left font-medium leading-5",children:"Description:"}),e.jsx(w,{name:"description",control:o,render:({field:u})=>e.jsx(K,{...u,className:"w-full",placeholder:"Add description"})})]})]}),e.jsxs(z,{className:"gap-[10px]",children:[e.jsx(B,{asChild:!0,children:e.jsx(y,{size:"sm",intent:"secondary",children:"Cancel"})}),e.jsx(y,{intent:"primary",disabled:!l,type:"submit",form:"create-secret-form",children:"Generate Key"})]})]})}async function Re(t,s){const n=S(T.serviceAccounts.apiKeys.detail(t,s)),a=await C(n,{method:"DELETE",headers:{"Content-Type":"application/json"}});if(!a.ok){const r=await a.json().then(i=>Array.isArray(i.detail)?i.detail[1]:i.detail).catch(()=>`Failed to delete api key ${s}`);throw new k({status:a.status,statusText:a.statusText,message:r})}return a.json()}function Me(t){return P({...t,mutationFn:async({serviceAccountId:s,apiKeyId:n})=>{await Re(s,n)}})}const te=x.createContext(null);function Ie({children:t}){const[s,n]=x.useState([]),a=j(),{toast:r}=v(),i=Me(),o=async(l,m)=>{try{const c=l.map(d=>i.mutateAsync({apiKeyId:d,serviceAccountId:m}));await Promise.all(c),r({description:"Deleted successfully.",status:"success",emphasis:"subtle",rounded:!0}),await a.invalidateQueries({queryKey:g.apiKeysKey(m)}),n([])}catch(c){D(c)&&r({status:"error",emphasis:"subtle",description:c.message,rounded:!0})}};return e.jsx(te.Provider,{value:{selectedApiKeys:s,setSelectedApiKeys:n,bulkDeleteApiKeys:o},children:t})}function A(){const t=x.useContext(te);if(!t)throw new Error("useServiceAccountSelectorContext must be used within a ServiceAccountsSelectorProvider");return t}function Ee({serviceAccountId:t}){const[s,n]=x.useState(!1),{bulkDeleteApiKeys:a,selectedApiKeys:r}=A();async function i(){await a(r,t),n(!1)}return e.jsxs(Q,{open:s,onOpenChange:n,children:[e.jsx(ae,{asChild:!0,children:e.jsxs(y,{className:"rounded-sharp border-none bg-white",size:"md",emphasis:"subtle",intent:"secondary",children:[e.jsx(Y,{className:"h-5 w-5 shrink-0 gap-1 fill-neutral-400"}),"Delete"]})}),e.jsx(Z,{title:`Delete Api Key${r.length>=2?"s":""}`,handleDelete:i,children:e.jsxs(W,{children:[e.jsx("p",{children:"Are you sure?"}),e.jsx("p",{children:"This action cannot be undone."})]})})]})}function _e({serviceAccountId:t}){const{selectedApiKeys:s}=A();return e.jsxs("div",{className:"flex items-center divide-x divide-theme-border-moderate overflow-hidden rounded-md border border-theme-border-moderate",children:[e.jsx("div",{className:"bg-primary-25 px-2 py-1 font-semibold text-theme-text-brand",children:`${s==null?void 0:s.length} Api Key${(s==null?void 0:s.length)>1?"s":""} selected`}),e.jsx(Ee,{serviceAccountId:t})]})}const qe=({id:t})=>{const{selectedApiKeys:s,setSelectedApiKeys:n}=A(),a=(r,i)=>{n(o=>r?[...o,i]:o.filter(l=>l!==i))};return e.jsx(re,{id:t,onCheckedChange:r=>a(r,t),checked:s.includes(t),className:"h-3 w-3"})};async function ze({apiKeyId:t,body:s,serviceAccountId:n}){const a=S(T.serviceAccounts.apiKeys.rotate(n,t)),r=await C(a,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(r.status===404&&V(),!r.ok){const i=await r.json().then(o=>Array.isArray(o.detail)?o.detail[1]:o.detail).catch(()=>`Failed to rotate key ${t}`);throw new k({status:r.status,statusText:r.statusText,message:i})}return r.json()}function Be(t){return P({...t,mutationFn:async({serviceAccountId:s,apiKeyId:n,body:a})=>ze({serviceAccountId:s,apiKeyId:n,body:a})})}const Qe=N.object({enableRetention:N.boolean(),rotateMinutes:N.coerce.number().int().min(1).optional()}).refine(t=>!(t.enableRetention&&!t.rotateMinutes));function Ve({serviceAccountId:t,apiKeyId:s,open:n,setOpen:a}){const[r,i]=x.useState(""),o=!!r;function l(){return o?e.jsx(G,{value:r}):e.jsx($e,{setApiKeyValue:i,apiKeyId:s,serviceAccountId:t})}return e.jsx(I,{open:n,onOpenChange:m=>{a(m),i("")},children:e.jsxs(E,{className:"mx-auto max-w-[800px] overflow-x-auto",children:[e.jsx(_,{children:e.jsx(q,{children:"Rotate API Key"})}),l()]})})}function $e({apiKeyId:t,serviceAccountId:s,setApiKeyValue:n}){const{toast:a}=v(),r=j(),{control:i,watch:o,register:l,handleSubmit:m,formState:{errors:c,isValid:d}}=J({resolver:U(Qe),defaultValues:{enableRetention:!1,rotateMinutes:void 0}});function u(p){const h={retain_period_minutes:p.rotateMinutes};f({serviceAccountId:s,apiKeyId:t,body:h})}const{mutate:f}=Be({onError(p){D(p)&&a({status:"error",emphasis:"subtle",description:p.message,rounded:!0})},onSuccess(p){var h;a({description:"The API key has been rotated successfully.",status:"success",emphasis:"subtle",rounded:!0}),n(((h=p.body)==null?void 0:h.key)||""),r.invalidateQueries({queryKey:[...g.apiKeysKey(s)]})}});return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"space-y-5 p-7",children:[e.jsx(He,{apiKeyId:t,serviceAccountId:s}),e.jsx(Ge,{}),e.jsxs("form",{onSubmit:m(u),id:"retention-form",children:[e.jsxs("div",{className:"flex items-center gap-1 rounded-t-md border bg-theme-surface-secondary p-1",children:[e.jsx(w,{control:i,name:"enableRetention",render:({field:{onChange:p,value:h}})=>e.jsx($,{className:"data-[state=unchecked]:bg-neutral-200",checked:h,id:"enable-retention",onCheckedChange:se=>p(!!se)})}),"Include Retention Period",e.jsx(ie,{children:e.jsxs(oe,{children:[e.jsx(ce,{asChild:!0,children:e.jsxs("button",{type:"button",children:[e.jsx(le,{className:"h-4 w-4 shrink-0 fill-theme-text-tertiary"}),e.jsx("div",{className:"sr-only",children:"Info tooltip"})]})}),e.jsx(de,{className:"z-50 flex max-w-[480px] bg-black",children:e.jsx("p",{className:"text-text-xs text-white",children:"To minimize disruption, you can set a retention period for your current key. Enter the duration(in minutes) you'd like the old key to remain active alongside the new one."})})]})})]}),e.jsxs("fieldset",{disabled:!o("enableRetention"),className:"space-y-5 rounded-b-md border-x border-b p-5 text-text-md text-theme-text-primary",children:[e.jsx("p",{className:"text-text-md text-theme-text-primary",children:"Keep the current key working for the next"}),e.jsxs("div",{children:[e.jsx("label",{className:"text-text-sm text-theme-text-primary",htmlFor:"retention-minutes",children:"Minutes"}),e.jsx(K,{id:"retention-minutes",...l("rotateMinutes"),disabled:!o("enableRetention"),placeholder:"0"}),c.rotateMinutes&&e.jsx("p",{className:"text-text-sm text-theme-text-error",children:c.rotateMinutes.message})]})]})]})]}),e.jsxs(z,{className:"gap-[10px]",children:[e.jsx(B,{asChild:!0,children:e.jsx(y,{size:"sm",intent:"secondary",children:"Cancel"})}),e.jsx(y,{intent:"primary",disabled:!d,size:"sm",form:"retention-form",children:"Rotate Key"})]})]})}function He({apiKeyId:t,serviceAccountId:s}){var i;const{data:n,isPending:a,isError:r}=F({...O.ApiKeysDetail(s,t),throwOnError:!0});return a?e.jsx(b,{className:"h-8 w-full"}):r?null:e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(X,{className:"h-5 w-5 flex-shrink-0 fill-primary-400"}),e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("p",{children:n&&n.name}),e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:n&&((i=n.metadata)==null?void 0:i.description)})]})]})}function Ge(){return e.jsxs(Fe,{children:[e.jsx("strong",{children:"Your current API Key will be deactivated."})," This means any processes or integrations using the old key will no longer function once the new key is generated."]})}function Le({serviceAccountId:t,apiKeyId:s}){const[n,a]=x.useState(!1),[r,i]=x.useState(!1),[o,l]=x.useState(!1),m=x.useRef(null),c=x.useRef(null),{bulkDeleteApiKeys:d}=A();function u(){c.current=m.current}function f(h){l(h),h||a(!1)}async function p(){await d([s],t),f(!1)}return e.jsxs(e.Fragment,{children:[e.jsx(Ve,{setOpen:i,open:r,serviceAccountId:t,apiKeyId:s}),e.jsxs(ue,{onOpenChange:a,open:n,children:[e.jsx(me,{ref:m,children:e.jsx(xe,{className:"h-5 w-5 fill-theme-text-secondary"})}),e.jsxs(he,{hidden:o,onCloseAutoFocus:h=>{c.current&&(c.current.focus(),c.current=null,h.preventDefault())},align:"end",sideOffset:7,children:[e.jsx(pe,{className:"px-3",onClick:()=>i(!0),icon:e.jsx(Te,{}),children:e.jsx("span",{children:"Rotate"})}),e.jsx(Pe,{onSelect:u,open:o,onOpenChange:f,triggerChildren:"Delete",icon:e.jsx(Y,{fill:"red"}),children:e.jsx(Z,{title:"Delete API Key",handleDelete:p,children:e.jsxs(W,{children:[e.jsx("p",{children:"Are you sure?"}),e.jsx("p",{children:"This action cannot be undone."})]})})})]})]})]})}async function Ue({apiKeyId:t,body:s,serviceAccountId:n}){const a=S(T.serviceAccounts.apiKeys.detail(n,t)),r=await C(a,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(r.status===404&&V(),!r.ok){const i=await r.json().then(o=>Array.isArray(o.detail)?o.detail[0]:o.detail||"An error occurred").catch(()=>`Failed to update key ${t}`);throw new k({status:r.status,statusText:r.statusText,message:i})}return r.json()}function Je(t){return P({...t,mutationFn:async({serviceAccountId:s,apiKeyId:n,body:a})=>{await Ue({serviceAccountId:s,apiKeyId:n,body:a})}})}function Ye({isActive:t,serviceAccountId:s,apiKeyId:n}){const{toast:a}=v(),r=j(),[i,o]=x.useState(!1),{mutate:l}=Je({onError(d){D(d)&&a({status:"error",emphasis:"subtle",description:d.message,rounded:!0})},onSuccess(){r.invalidateQueries({queryKey:g.apiKeysKey(s)})}});function m(d){d?c(d):o(!0)}async function c(d){l({serviceAccountId:s,apiKeyId:n,body:{active:d}})}return e.jsxs(e.Fragment,{children:[e.jsx(Q,{open:i,onOpenChange:o,children:e.jsxs(ye,{children:[e.jsx(fe,{children:e.jsx(je,{children:"Deactivate API Key"})}),e.jsxs("div",{className:"p-5 text-text-md text-theme-text-secondary",children:[e.jsx("p",{children:"Are you sure?"}),e.jsx("p",{children:"You won't be able to use this API Key to authenticate with the server anymore."})]}),e.jsxs(ge,{className:"gap-[10px]",children:[e.jsx(Ae,{asChild:!0,children:e.jsx(y,{size:"sm",intent:"secondary",children:"Cancel"})}),e.jsx(y,{onClick:()=>c(!1).then(d=>o(!1)),intent:"primary",type:"button",children:"Deactivate"})]})]})}),e.jsx($,{checked:t,onCheckedChange:m})]})}function Ze(){return[{id:"check",header:"",meta:{width:"1%"},accessorFn:t=>{var s;return String((s=t.body)==null?void 0:s.service_account.id)},cell:({row:t})=>e.jsx(qe,{id:t.original.id})},{id:"name",header:"Name",accessorFn:t=>({name:t.name}),cell:({row:t})=>{var s;return e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(X,{className:"h-5 w-5 flex-shrink-0 fill-primary-400"}),e.jsxs("div",{className:"group/copybutton flex flex-col",children:[e.jsx("div",{className:"flex flex-row items-center space-x-1",children:e.jsx("div",{className:"flex items-center space-x-1 text-text-md font-semibold text-theme-text-primary",children:t.original.name})}),e.jsx("div",{className:"flex items-center gap-1 text-text-sm text-theme-text-secondary",children:(s=t.original.metadata)==null?void 0:s.description})]})]})}},{id:"last-login",header:"Last Login",accessorFn:t=>{var s;return(s=t.metadata)==null?void 0:s.last_login},cell:({row:t})=>{var s,n;return(s=t.original.metadata)!=null&&s.last_login?e.jsx("p",{children:e.jsx(M,{short:!0,dateString:(n=t.original.metadata)==null?void 0:n.last_login})}):e.jsx("p",{children:"Never"})}},{id:"last-rotated",header:"Last Rotated",accessorFn:t=>{var s;return(s=t.metadata)==null?void 0:s.last_rotated},cell:({row:t})=>{var i;const s=(i=t.original.metadata)==null?void 0:i.last_rotated;if(!s)return e.jsx("p",{children:"Never"});const n=new Date(`${s}Z`),a=Se(n),r=ke(n);return e.jsxs("div",{children:[e.jsx("p",{children:e.jsx(M,{short:!0,dateString:s})}),(a||r)&&e.jsx("p",{className:`${r?"text-theme-text-error":"text-theme-text-warning"} text-text-xs`,children:r?"More than 1 year old":"More than 6 months old"})]})}},{id:"active",header:"Active",accessorFn:t=>{var s;return(s=t.body)==null?void 0:s.active},cell:({row:t})=>{var s,n;return e.jsx(Ye,{isActive:!!((s=t.original.body)!=null&&s.active),serviceAccountId:((n=t.original.body)==null?void 0:n.service_account.id)||"",apiKeyId:t.original.id})}},{id:"actions",header:"",meta:{width:"5%"},cell:({row:t})=>{var n;const s=(n=t.original.body)==null?void 0:n.service_account.id;return s?e.jsx("div",{className:"flex items-center justify-end",children:e.jsx(Le,{serviceAccountId:s,apiKeyId:t.original.id})}):null}}]}function We(){const{serviceAccountId:t}=R();return e.jsxs(H,{className:"flex flex-col items-center justify-center space-y-4 p-9",children:[e.jsxs("div",{className:"space-y-2 text-center",children:[e.jsx("p",{className:"text-display-xs font-semibold text-theme-text-primary",children:"This service account doesn't have any API Keys yet"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Generate your first API Key to enable secure interactions with the ZenML Server."})]}),e.jsx(ee,{isFallback:!0,serviceAccountId:t})]})}function Xe(){const{serviceAccountId:t}=R(),s=L(),n=x.useMemo(()=>Ze(),[]),{data:a}=F({...O.serviceAccountApiKeys(t,{...s,sort_by:"desc:created",hydrate:!0})});return a&&(a==null?void 0:a.items.length)<1&&!s.name?e.jsx(We,{}):e.jsxs(Ie,{children:[e.jsx(et,{serviceAccountId:t}),e.jsxs("div",{className:"flex flex-col items-center gap-5",children:[e.jsx("div",{className:"w-full",children:a?e.jsx(be,{columns:n,data:a.items}):e.jsx(b,{className:"h-[500px] w-full"})}),a?a.total_pages>1&&e.jsx(we,{searchParams:s,paginate:a}):e.jsx(b,{className:"h-[36px] w-[300px]"})]})]})}function et({serviceAccountId:t}){const s=L(),{selectedApiKeys:n}=A();return e.jsxs("div",{className:"mb-4 flex flex-wrap items-center justify-between gap-2",children:[n.length?e.jsx(_e,{serviceAccountId:t}):e.jsx("div",{className:"flex items-center gap-2",children:e.jsx(Ce,{searchParams:s})}),e.jsx(ee,{isFallback:!1,serviceAccountId:t})]})}function Nt(){return e.jsxs(H,{className:"space-y-5 p-5",children:[e.jsxs("div",{children:[e.jsx(tt,{}),e.jsx("h1",{className:"my-5 text-text-lg font-semibold",children:"API Keys"})]}),e.jsx(Xe,{})]})}function tt(){var r,i,o;const{setCurrentBreadcrumbData:t}=ve(),{serviceAccountId:s}=R(),n=F({...O.serviceAccountDetail(s),throwOnError:!0});if(x.useEffect(()=>{n.data&&t({segment:"service_account_detail",data:n.data})},[n.data,t]),n.isPending)return e.jsx(b,{className:"h-9 w-full"});if(n.isError)return null;const a=n.data;return e.jsxs("div",{className:"space-y-1",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("p",{className:"text-text-xl font-semibold",children:a.name}),e.jsx(De,{size:"sm",color:(r=a.body)!=null&&r.active?"light-purple":"light-grey",className:"text-text-xs font-semibold uppercase",children:(i=a.body)!=null&&i.active?"active":"inactive"})]}),e.jsx("p",{className:"text-text-md text-theme-text-secondary ",children:(o=a.metadata)==null?void 0:o.description})]})}export{tt as APIKeyHeader,Nt as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{j as e,r as j}from"./@radix-C7hRs6Kx.js";import{W as f,E as g,z as o,M as b,r as c,T as y,G as N,H as v,J as P,K as p,L as u,h as R,N as S,S as x,n as T}from"./index-hsSXyS3H.js";import{d as k,L as l,b as h}from"./@react-router-BGgzhn5D.js";import{S as C}from"./refresh-CM5T3QeU.js";import{u as _}from"./all-pipeline-runs-query-D9XfZpmV.js";import{S as E,P as w}from"./SearchField-DHl5flXv.js";import{D}from"./DisplayDate-CYVBBSgr.js";import{g as F,E as A}from"./ExecutionStatus-HnZXi9bW.js";import{I as B}from"./InlineAvatar-CrAwe7Pl.js";import{a as I,b as z,u as L,c as G,R as H}from"./RunSelector-DoL_gMHJ.js";import"./@tanstack-CSxjHCME.js";import"./@reactflow-CQi1Z1Wq.js";import"./chevron-right-double-uNWbJT-C.js";import"./index-DR30v9MZ.js";import"./check-circle-mvyzYvIW.js";import"./trash-BWSZ7NRK.js";import"./DeleteAlertDialog-Bp0o-UXZ.js";import"./zod-C0xYeTvL.js";import"./index.esm-D7jFlf5N.js";import"./AlertDialogDropdownItem-C_qWs-4u.js";import"./delete-run-B5xUZwdP.js";function U({namespace:s}){return e.jsx(f,{children:e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(g,{className:"h-5 w-5 fill-neutral-400"}),e.jsx("h1",{className:"text-display-xs font-semibold",children:decodeURIComponent(s)})]})})}const d=1,q=o.object({page:o.coerce.number().min(d).optional().default(d).catch(d),name:o.string().optional(),operator:o.enum(["and","or"]).optional()});function J(){const[s]=k(),{page:a,name:t,operator:r}=q.parse({page:s.get("page")||void 0,name:s.get("name")||void 0});return{page:a,name:t,logical_operator:r}}function K(){return[{id:"check",header:"",meta:{width:"1%"},accessorFn:s=>({id:s.id}),cell:({getValue:s})=>{const{id:a}=s();return e.jsx(I,{id:a})}},{id:"run",header:"Run",accessorFn:s=>{var a;return{name:s.name,id:s.id,status:(a=s.body)==null?void 0:a.status}},cell:({getValue:s})=>{const{name:a,status:t,id:r}=s();return e.jsxs("div",{className:"group/copybutton flex items-center gap-2",children:[e.jsx(b,{className:`h-5 w-5 shrink-0 ${F(t)}`}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(l,{to:c.runs.detail(r),className:"flex items-center gap-1",children:e.jsx("h2",{className:"text-text-md font-semibold",children:a})}),e.jsx(y,{children:e.jsxs(N,{children:[e.jsx(v,{className:"hover:text-theme-text-brand hover:underline",children:e.jsx(A,{status:t})}),e.jsx(P,{className:"z-20 capitalize",children:t})]})}),e.jsx(p,{copyText:a})]}),e.jsxs(l,{to:c.runs.detail(r),className:"flex items-center gap-1",children:[e.jsx("p",{className:"text-text-xs text-theme-text-secondary",children:r.split("-")[0]}),e.jsx(p,{copyText:r})]})]})]})}},{id:"stack",header:"Stack",accessorFn:s=>{var a,t,r,n;return{name:(t=(a=s.body)==null?void 0:a.stack)==null?void 0:t.name,id:(n=(r=s.body)==null?void 0:r.stack)==null?void 0:n.id}},cell:({getValue:s})=>{const{name:a,id:t}=s();return!a||!t?null:e.jsx(l,{to:c.stacks.overview,children:e.jsx(u,{rounded:!1,className:"inline-block",color:"turquoise",emphasis:"subtle",children:a})})}},{id:"repository",header:"Repository",accessorFn:s=>{var a,t,r,n,i,m;return{name:(r=(t=(a=s.body)==null?void 0:a.code_reference)==null?void 0:t.body)==null?void 0:r.code_repository.name,id:(m=(i=(n=s.body)==null?void 0:n.code_reference)==null?void 0:i.body)==null?void 0:m.code_repository.id}},cell:({getValue:s})=>{const{name:a,id:t}=s();return!a||!t?null:e.jsx("div",{children:e.jsx(u,{rounded:!1,className:"inline-block",color:"grey",emphasis:"subtle",children:a})})}},{id:"created",header:"Created at",accessorFn:s=>{var a;return(a=s.body)==null?void 0:a.created},cell:({getValue:s})=>e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:e.jsx(D,{dateString:s()})})},{id:"author",header:"Author",accessorFn:s=>{var a;return{author:(a=s.body)==null?void 0:a.user}},cell:({getValue:s})=>{const{author:a}=s();return e.jsx(B,{username:a.name})}},{id:"admin_actions",header:"",meta:{width:"5%"},cell:({row:s})=>e.jsx(z,{id:s.original.id})}]}function M(){const{namespace:s}=h(),a=J(),t=K(),{selectedRuns:r}=L(),{data:n,refetch:i}=_({params:{pipeline_name:decodeURIComponent(s),...a,sort_by:"desc:updated"}},{throwOnError:!0});return e.jsxs("div",{className:"flex flex-col gap-5 p-5",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[r.length?e.jsx(G,{}):e.jsx(E,{searchParams:a}),e.jsxs(R,{intent:"primary",emphasis:"subtle",size:"md",onClick:()=>i(),children:[e.jsx(C,{className:"h-5 w-5 fill-theme-text-brand"}),"Refresh"]})]}),e.jsxs("div",{className:"flex flex-col items-center gap-5",children:[e.jsx("div",{className:"w-full",children:n?e.jsx(S,{columns:t,data:n.items}):e.jsx(x,{className:"h-[500px] w-full"})}),n?n.total_pages>1&&e.jsx(w,{searchParams:a,paginate:n}):e.jsx(x,{className:"h-[36px] w-[300px]"})]})]})}function ue(){const{namespace:s}=h(),{setCurrentBreadcrumbData:a}=T();return j.useEffect(()=>{s&&a({segment:"pipeline_detail",data:{name:s}})},[s]),e.jsx("div",{children:e.jsxs(H,{children:[e.jsx(U,{namespace:s}),e.jsx(M,{})]})})}export{ue as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as o,j as e}from"./@radix-C7hRs6Kx.js";import{o as j,p as C,q as M,j as y,s as T,F as b,ak as F,al as E,h,am as P,an as U,ao as k,ap as O,f as v,I,aq as R,ar as _,as as q,at as H,i as D,z as m,au as z,av as Z,aw as B,ax as K,ay as Q,D as V,w as L,x as G,y as J,az as $,U as w,l as W,S as f,N as X,B as Y}from"./index-hsSXyS3H.js";import{S as ee,P as se}from"./SearchField-DHl5flXv.js";import{a as te,b as N,c as A}from"./@tanstack-CSxjHCME.js";import{C as ae}from"./CodeSnippet-nRnOvbOJ.js";import{u as re}from"./index.esm-D7jFlf5N.js";import{D as ne}from"./DisplayDate-CYVBBSgr.js";import{I as ie}from"./InlineAvatar-CrAwe7Pl.js";import{A as oe}from"./AlertDialogDropdownItem-C_qWs-4u.js";import{d as le}from"./@react-router-BGgzhn5D.js";import"./@reactflow-CQi1Z1Wq.js";import"./chevron-right-double-uNWbJT-C.js";import"./index-DR30v9MZ.js";function ce({params:a}){return["users",a]}async function de({params:a}){const s=j(C.users.all+"?"+M(a)),t=await y(s,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&T(),!t.ok)throw new b({message:"Error while fetching users",status:t.status,statusText:t.statusText});return t.json()}function ue(a,s){return te({queryKey:ce(a),queryFn:()=>de(a),...s})}const me=a=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 4C8.06703 4 6.50002 5.567 6.50002 7.5C6.50002 9.433 8.06703 11 10 11C11.933 11 13.5 9.433 13.5 7.5C13.5 5.567 11.933 4 10 4ZM4.50002 7.5C4.50002 4.46243 6.96246 2 10 2C13.0376 2 15.5 4.46243 15.5 7.5C15.5 10.5376 13.0376 13 10 13C6.96246 13 4.50002 10.5376 4.50002 7.5ZM19 14C19.5523 14 20 14.4477 20 15V17H22C22.5523 17 23 17.4477 23 18C23 18.5523 22.5523 19 22 19H20V21C20 21.5523 19.5523 22 19 22C18.4477 22 18 21.5523 18 21V19H16C15.4477 19 15 18.5523 15 18C15 17.4477 15.4477 17 16 17H18V15C18 14.4477 18.4477 14 19 14ZM7.32629 14.5C7.38335 14.5 7.44125 14.5 7.50003 14.5H12C12.5523 14.5 13 14.9477 13 15.5C13 16.0523 12.5523 16.5 12 16.5H7.50003C6.03171 16.5 5.51923 16.5109 5.12917 16.6292C4.17036 16.92 3.42005 17.6703 3.1292 18.6291C3.01088 19.0192 3.00002 19.5317 3.00002 21C3.00002 21.5523 2.55231 22 2.00002 22C1.44774 22 1.00002 21.5523 1.00002 21C1.00002 20.9412 1 20.8833 0.99998 20.8263C0.999526 19.599 0.999216 18.761 1.21532 18.0486C1.70007 16.4506 2.95059 15.2 4.54859 14.7153C5.261 14.4992 6.09902 14.4995 7.32629 14.5Z"}));async function he(a){const s=j(C.users.all),t=await y(s,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(!t.ok){const r=await t.json().then(n=>n.detail).catch(()=>"Failed to create User");throw new b({status:t.status,statusText:t.statusText,message:r})}return t.json()}function xe(a){return N({mutationFn:async s=>he(s),...a})}function pe(){const[a,s]=o.useState(!1),[t,r]=o.useState(null);return e.jsxs(F,{open:a,onOpenChange:n=>{s(n),r(null)},children:[e.jsx(E,{asChild:!0,children:e.jsx(h,{className:"shrink-0",intent:"primary",children:"Add Member"})}),e.jsxs(P,{className:"",children:[e.jsx(U,{children:e.jsx(k,{children:" Add a New Member"})}),t?e.jsx(ge,{name:t.name,token:O(t)}):e.jsx(fe,{setSuccessMember:r})]})]})}m.object({username:m.string(),isAdmin:m.boolean()});function fe({setSuccessMember:a}){const{toast:s}=v(),t=A(),{mutate:r,isPending:n}=xe({onError(d){H(d)&&s({status:"error",emphasis:"subtle",icon:e.jsx(D,{className:"h-5 w-5 shrink-0 fill-error-700"}),description:d.message,rounded:!0})},onSuccess(d){a(d),t.invalidateQueries({queryKey:["users"]})}}),c=o.useId(),l=o.useId(),{register:i,handleSubmit:x,watch:p,setValue:u}=re();function S(d){r({is_admin:d.isAdmin,name:d.username})}return e.jsxs(e.Fragment,{children:[e.jsx("form",{id:"create-user-form",onSubmit:x(S),className:"space-y-5 p-7",children:e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("label",{htmlFor:c,className:"text-text-sm",children:"Username"}),e.jsx(I,{...i("username"),id:c,className:"w-full"})]}),e.jsxs("div",{className:"flex gap-5",children:[e.jsx("label",{htmlFor:l,className:"text-text-md",children:"Add user as an Admin"}),e.jsx(R,{onCheckedChange:d=>u("isAdmin",!!d),...i("isAdmin",{value:!1}),id:l})]})]})}),e.jsxs(_,{className:"gap-[10px]",children:[e.jsx(q,{asChild:!0,children:e.jsx(h,{size:"sm",intent:"secondary",children:"Cancel"})}),e.jsx(h,{disabled:!p("username")||n,form:"create-user-form",size:"sm",children:"Generate Token"})]})]})}function ge({token:a,name:s}){return e.jsxs("div",{className:"space-y-5 overflow-hidden p-7 text-center",children:[e.jsx(me,{className:"m-auto mb-5 h-[110px] w-[110px] fill-success-500"}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-text-lg font-semibold text-theme-text-primary",children:`The user ${s} was created successfully!`}),e.jsx("p",{className:"text-text-md text-theme-text-secondary",children:"Share the invitation link with the user to complete the registration."})]}),e.jsx(ae,{className:"mx-auto",code:a})]})}const je=a=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.9681 6.38231C3.73647 7.92199 3 9.87499 3 12C3 16.9706 7.02944 21 12 21C14.125 21 16.078 20.2635 17.6177 19.0319L4.9681 6.38231ZM6.38231 4.9681L19.0319 17.6177C20.2635 16.078 21 14.125 21 12C21 7.02944 16.9706 3 12 3C9.87499 3 7.92199 3.73647 6.38231 4.9681ZM1 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"}));async function Ce(a){const s=j(C.users.detail(a)),t=await y(s,{method:"DELETE",headers:{"Content-Type":"application/json"}});if(!t.ok){const r=await t.json().then(n=>n.detail).catch(()=>"Failed to delete User");throw new b({status:t.status,statusText:t.statusText,message:r})}return t.json()}function ye(a){return N({mutationFn:async s=>Ce(s),...a})}function be({userId:a,name:s}){const{toast:t}=v(),r=A(),{isPending:n,mutate:c}=ye({onSuccess(){r.invalidateQueries({queryKey:["users"]})},onError:i=>{i instanceof Error&&t({status:"error",emphasis:"subtle",icon:e.jsx(D,{className:"h-5 w-5 shrink-0 fill-error-700"}),description:i.message,rounded:!0})}});function l(){c(a)}return e.jsxs(z,{className:"p-0",children:[e.jsx(Z,{className:"py-2 pl-5 pr-3 text-text-lg font-semibold",children:"Delete Member"}),e.jsx("div",{className:"border-y border-theme-border-moderate px-5 py-5",children:e.jsxs(B,{children:["Deleting ",e.jsx("strong",{children:s})," cannot be undone."]})}),e.jsxs("div",{className:"flex justify-end gap-3 px-5 py-3",children:[e.jsx(K,{asChild:!0,children:e.jsx(h,{intent:"secondary",children:"Cancel"})}),e.jsx(Q,{asChild:!0,children:e.jsx(h,{onClick:l,disabled:n,intent:"danger",children:"Delete"})})]})]})}function we({userId:a,name:s}){const[t,r]=o.useState(!1),[n,c]=o.useState(!1),l=o.useRef(null),i=o.useRef(null);function x(){i.current=l.current}function p(u){if(u===!1){c(!1),setTimeout(()=>{r(u)},200);return}r(u)}return e.jsxs(V,{onOpenChange:c,open:n,children:[e.jsx(L,{ref:l,children:e.jsx(G,{className:"h-4 w-4 fill-theme-text-tertiary"})}),e.jsx(J,{hidden:t,onCloseAutoFocus:u=>{i.current&&(i.current.focus(),i.current=null,u.preventDefault())},align:"end",sideOffset:7,children:e.jsx(oe,{onSelect:x,onOpenChange:p,triggerChildren:"Remove Member",icon:e.jsx(je,{fill:"red"}),children:e.jsx(be,{name:s,userId:a})})})]})}function ve({isAdmin:a}){return[{id:"name",accessorFn:s=>{var t;return{name:s.name,is_admin:!!((t=s.body)!=null&&t.is_admin)}},cell:({getValue:s})=>{const{name:t,is_admin:r}=s();return e.jsxs("div",{className:"flex",children:[e.jsx(ie,{username:t}),r&&e.jsx("div",{children:e.jsx(w,{className:"ml-2 capitalize",size:"xs",color:"purple",children:"Admin"})})]})},header:"User"},{accessorKey:"status",header:"Status",accessorFn:s=>{var t;return{status:(t=s.body)==null?void 0:t.active}},cell:({getValue:s})=>{const{status:t}=s();return e.jsx(w,{className:"capitalize",color:t?"green":"grey",children:t?"Active":"Inactive"})}},{id:"created",header:"Created",accessorFn:s=>{var t;return(t=s.body)==null?void 0:t.created},cell:({getValue:s})=>e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:e.jsx(ne,{dateString:s()})})},...a?[{id:"actions",header:"",accessorFn:s=>({id:s.id,name:$(s)}),meta:{width:"5%"},cell:({getValue:s})=>{const{id:t,name:r}=s();return e.jsx(we,{name:r,userId:t})}}]:[]]}const g=1,De=m.object({page:m.coerce.number().min(g).optional().default(g).catch(g),name:m.string().optional(),operator:m.enum(["and","or"]).optional()});function Ne(){const[a]=le(),{page:s,name:t,operator:r}=De.parse({page:a.get("page")||void 0,name:a.get("name")||void 0,operator:a.get("operator")||void 0});return{page:s,name:t,logical_operator:r}}function Ae(){var l,i;const a=Ne(),{data:s,isError:t}=ue({params:{...a,sort_by:"desc:created"}},{throwOnError:!0}),{data:r,isPending:n,isError:c}=W();return t||c?null:n?e.jsx(f,{className:"h-[350px]"}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[e.jsx(ee,{searchParams:a}),((l=r.body)==null?void 0:l.is_admin)&&e.jsx(pe,{})]}),e.jsxs("div",{className:"flex flex-col items-center gap-5",children:[e.jsx("div",{className:"w-full",children:s?e.jsx(X,{columns:ve({isAdmin:(i=r.body)==null?void 0:i.is_admin}),data:s.items}):e.jsx(f,{className:"h-[250px] w-full"})}),s?s.total_pages>1&&e.jsx(se,{searchParams:a,paginate:s}):e.jsx(f,{className:"h-[36px] w-[300px]"})]})]})}function He(){return e.jsxs(Y,{className:"flex flex-col gap-4 p-5",children:[e.jsx("h1",{className:"text-text-xl font-semibold",children:"Members"}),e.jsx(Ae,{})]})}export{He as default};
|