zenml-nightly 0.80.1.dev20250408__py3-none-any.whl → 0.80.1.dev20250409__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/integration.py +36 -0
- zenml/client.py +6 -0
- zenml/config/step_configurations.py +3 -2
- zenml/constants.py +1 -1
- zenml/entrypoints/step_entrypoint_configuration.py +2 -0
- zenml/integrations/airflow/orchestrators/airflow_orchestrator.py +7 -2
- zenml/integrations/aws/orchestrators/sagemaker_orchestrator.py +2 -0
- zenml/integrations/azure/orchestrators/azureml_orchestrator.py +2 -0
- zenml/integrations/databricks/orchestrators/databricks_orchestrator.py +3 -1
- zenml/integrations/gcp/orchestrators/vertex_orchestrator.py +2 -0
- zenml/integrations/hyperai/orchestrators/hyperai_orchestrator.py +3 -1
- zenml/integrations/kubeflow/orchestrators/kubeflow_orchestrator.py +3 -1
- zenml/integrations/kubernetes/flavors/kubernetes_orchestrator_flavor.py +12 -0
- zenml/integrations/kubernetes/orchestrators/kube_utils.py +3 -0
- zenml/integrations/kubernetes/orchestrators/kubernetes_orchestrator.py +4 -1
- zenml/integrations/kubernetes/orchestrators/kubernetes_orchestrator_entrypoint.py +164 -19
- zenml/integrations/kubernetes/orchestrators/kubernetes_orchestrator_entrypoint_configuration.py +8 -1
- zenml/integrations/lightning/orchestrators/lightning_orchestrator.py +3 -1
- zenml/integrations/mlflow/__init__.py +0 -27
- zenml/integrations/mlflow/services/mlflow_deployment.py +25 -7
- zenml/integrations/seldon/services/seldon_deployment.py +1 -1
- zenml/integrations/skypilot/orchestrators/skypilot_base_vm_orchestrator.py +3 -1
- zenml/integrations/tekton/orchestrators/tekton_orchestrator.py +3 -1
- zenml/integrations/vllm/services/vllm_deployment.py +1 -1
- zenml/model/model.py +3 -1
- zenml/models/__init__.py +5 -0
- zenml/models/v2/core/run_template.py +32 -1
- zenml/orchestrators/base_orchestrator.py +3 -0
- zenml/orchestrators/dag_runner.py +48 -15
- zenml/orchestrators/local/local_orchestrator.py +3 -1
- zenml/orchestrators/local_docker/local_docker_orchestrator.py +3 -1
- zenml/utils/secret_utils.py +2 -2
- zenml/zen_server/dashboard/assets/{404-2I8egBQu.js → 404-CYPi9d8E.js} +1 -1
- zenml/zen_server/dashboard/assets/@radix-C7hRs6Kx.js +95 -0
- zenml/zen_server/dashboard/assets/{@react-router-BUo5vhN4.js → @react-router-BGgzhn5D.js} +5 -5
- zenml/zen_server/dashboard/assets/@reactflow-CQi1Z1Wq.js +17 -0
- zenml/zen_server/dashboard/assets/@tanstack-CSxjHCME.js +22 -0
- zenml/zen_server/dashboard/assets/{AlertDialogDropdownItem-D7KZcPFw.js → AlertDialogDropdownItem-Dn8bgaXG.js} +1 -1
- zenml/zen_server/dashboard/assets/{CodeSnippet-DUkCnBpQ.js → CodeSnippet-CSINAl3I.js} +1 -1
- zenml/zen_server/dashboard/assets/{CollapsibleCard-B5-5Plnd.js → CollapsibleCard-CQOb53t9.js} +1 -1
- zenml/zen_server/dashboard/assets/{Commands-CbOMmarC.js → Commands-CPleXvse.js} +1 -1
- zenml/zen_server/dashboard/assets/{ComponentBadge-FrujKBC6.js → ComponentBadge-CIFj0W7T.js} +1 -1
- zenml/zen_server/dashboard/assets/{ComponentIcon-Dx5fBrDX.js → ComponentIcon-D3JHFhJU.js} +1 -1
- zenml/zen_server/dashboard/assets/{CsvVizualization-B8E3p9we.js → CsvVizualization-Cklc1Vb5.js} +6 -6
- zenml/zen_server/dashboard/assets/{DeleteAlertDialog-BgTZbbAt.js → DeleteAlertDialog-Bzq-uSd7.js} +1 -1
- zenml/zen_server/dashboard/assets/{DialogItem-CNWLiJcc.js → DialogItem-zjMgCmCl.js} +1 -1
- zenml/zen_server/dashboard/assets/{DisplayDate-C5Aw-Yca.js → DisplayDate-CYVBBSgr.js} +1 -1
- zenml/zen_server/dashboard/assets/{EmptyState-DpbfQBDE.js → EmptyState-M1jafpg6.js} +1 -1
- zenml/zen_server/dashboard/assets/{Error-BkUP4Luv.js → Error-kdeNHm_o.js} +1 -1
- zenml/zen_server/dashboard/assets/{ExecutionStatus-CD8Vj7sp.js → ExecutionStatus-UE6Rbmtk.js} +1 -1
- zenml/zen_server/dashboard/assets/{Helpbox-DIx6mDOH.js → Helpbox-CeM-FPQl.js} +1 -1
- zenml/zen_server/dashboard/assets/{Infobox-BHEdNmME.js → Infobox-CD0fDbYF.js} +1 -1
- zenml/zen_server/dashboard/assets/{InlineAvatar-Bin9UPKJ.js → InlineAvatar-CrHWwlf4.js} +1 -1
- zenml/zen_server/dashboard/assets/{Lock-tO9Z41I9.js → Lock-DW-0_M0o.js} +1 -1
- zenml/zen_server/dashboard/assets/{MarkdownVisualization-C3JLiPCY.js → MarkdownVisualization-URCyUPcZ.js} +2 -2
- zenml/zen_server/dashboard/assets/{NestedCollapsible-Da-k0Mff.js → NestedCollapsible-DfTTGG8u.js} +1 -1
- zenml/zen_server/dashboard/assets/{NumberBox-BvBJYxCu.js → NumberBox-D2A7ENHb.js} +1 -1
- zenml/zen_server/dashboard/assets/Partials-DggkUpWp.js +1 -0
- zenml/zen_server/dashboard/assets/{PasswordChecker-B4Uw6BJZ.js → PasswordChecker-lYTOtNom.js} +1 -1
- zenml/zen_server/dashboard/assets/ProBadge-BCdprj69.js +1 -0
- zenml/zen_server/dashboard/assets/{ProCta-7_FtpX3I.js → ProCta-szzPO0Y7.js} +1 -1
- zenml/zen_server/dashboard/assets/{ProviderIcon-CxeziA5a.js → ProviderIcon-MdqWDO6-.js} +1 -1
- zenml/zen_server/dashboard/assets/{ProviderRadio-DPmZHff_.js → ProviderRadio-B4CB4vzP.js} +1 -1
- zenml/zen_server/dashboard/assets/{RunSelector-BVKB4Z8F.js → RunSelector-Bhb83FyB.js} +1 -1
- zenml/zen_server/dashboard/assets/{RunsBody-Cj4sIqQB.js → RunsBody-Csn2VEOE.js} +1 -1
- zenml/zen_server/dashboard/assets/{SearchField-DjAOZic5.js → SearchField-Cce00eQL.js} +1 -1
- zenml/zen_server/dashboard/assets/{SecretTooltip-mMAAP4dM.js → SecretTooltip-DaDLBVj-.js} +1 -1
- zenml/zen_server/dashboard/assets/{SetPassword-B0o5kSJU.js → SetPassword-tX6fom1Y.js} +1 -1
- zenml/zen_server/dashboard/assets/{StackList-5UB8LoEq.js → StackList-CQt1xGRh.js} +1 -1
- zenml/zen_server/dashboard/assets/{Tabs-AuhCyzle.js → Tabs-CCQyIqRb.js} +1 -1
- zenml/zen_server/dashboard/assets/{Tick-CHW0jc8Y.js → Tick-D63_jhf1.js} +1 -1
- zenml/zen_server/dashboard/assets/{UpdatePasswordSchemas-Bauivjf-.js → UpdatePasswordSchemas-CbbvoGYV.js} +1 -1
- zenml/zen_server/dashboard/assets/{UsageReason-Dr5ca5M4.js → UsageReason-C2cNrUeS.js} +1 -1
- zenml/zen_server/dashboard/assets/{Wizard-XEp9rGmf.js → Wizard-BVkN2a2x.js} +1 -1
- zenml/zen_server/dashboard/assets/WizardFooter-Bk7gIKiS.js +1 -0
- zenml/zen_server/dashboard/assets/{all-pipeline-runs-query-COvsm3bC.js → all-pipeline-runs-query-BLclwQSi.js} +1 -1
- zenml/zen_server/dashboard/assets/{arrow-left-B2hyhFky.js → arrow-left-CwgF2MEM.js} +1 -1
- zenml/zen_server/dashboard/assets/{check-DZ0KAh3W.js → check-DK77doTf.js} +1 -1
- zenml/zen_server/dashboard/assets/{check-circle-DyCCYTA0.js → check-circle-mvyzYvIW.js} +1 -1
- zenml/zen_server/dashboard/assets/{chevron-down-A3PXOshS.js → chevron-down-A-rmltmI.js} +1 -1
- zenml/zen_server/dashboard/assets/{chevron-right-double-zKz7rAaU.js → chevron-right-double-uNWbJT-C.js} +1 -1
- zenml/zen_server/dashboard/assets/{clock-k5T5tYrt.js → clock-CPA5cYxq.js} +1 -1
- zenml/zen_server/dashboard/assets/{code-browser-DvB0W2Ix.js → code-browser-j2EpcxIA.js} +1 -1
- zenml/zen_server/dashboard/assets/{configuration-form-BJUCr0wl.js → configuration-form-CjrAp0GS.js} +1 -1
- zenml/zen_server/dashboard/assets/{create-stack-B2c98UlP.js → create-stack-Bd2JdQer.js} +1 -1
- zenml/zen_server/dashboard/assets/delete-run-Cwpxu1-d.js +1 -0
- zenml/zen_server/dashboard/assets/{docker-B3Sqzd8J.js → docker-BuDBFEDL.js} +1 -1
- zenml/zen_server/dashboard/assets/{file-text-CgxVzNph.js → file-text-BdxZdjP_.js} +1 -1
- zenml/zen_server/dashboard/assets/{flavor-select-D8CranSY.js → flavor-select-c0w-6o9w.js} +1 -1
- zenml/zen_server/dashboard/assets/{form-schemas-Bm-dTV3L.js → form-schemas-B5Ax1SZf.js} +1 -1
- zenml/zen_server/dashboard/assets/{gcp-0u4le6mC.js → gcp-CHNvgEss.js} +1 -1
- zenml/zen_server/dashboard/assets/{help-CfT0tY2I.js → help-DyMolRxD.js} +1 -1
- zenml/zen_server/dashboard/assets/index-BW-KaQ2p.js +1 -0
- zenml/zen_server/dashboard/assets/{index-DPjvk73v.js → index-Be2jLIYM.js} +8 -8
- zenml/zen_server/dashboard/assets/{index-D-n6tspq.js → index-CjdtNrfJ.js} +1 -1
- zenml/zen_server/dashboard/assets/{index-BVVKxTWC.js → index-DR30v9MZ.js} +1 -1
- zenml/zen_server/dashboard/assets/{index-CzhJC6pc.js → index-d_40qKeY.js} +1 -1
- zenml/zen_server/dashboard/assets/index.esm-D7jFlf5N.js +1 -0
- zenml/zen_server/dashboard/assets/{key-icon-CjwWwoOU.js → key-icon-DO4DPJHZ.js} +1 -1
- zenml/zen_server/dashboard/assets/{kubernetes-eA-Y6gE7.js → kubernetes-D6OUjwSK.js} +1 -1
- zenml/zen_server/dashboard/assets/{layout-3_rgDUxf.js → layout-h3cbx8WZ.js} +1 -1
- zenml/zen_server/dashboard/assets/{link-external-BYm_zH_8.js → link-external-DUhCSKNm.js} +1 -1
- zenml/zen_server/dashboard/assets/{login-mutation-D6uiKsKk.js → login-mutation-DOajKct8.js} +1 -1
- zenml/zen_server/dashboard/assets/{logs-D6_diV2k.js → logs-B5n0U7tB.js} +1 -1
- zenml/zen_server/dashboard/assets/{not-found-DFrksY0r.js → not-found-DolTp0dr.js} +1 -1
- zenml/zen_server/dashboard/assets/{package-BOms6B-A.js → package-D1Mhqeh8.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-DBNBYSwq.js → page-48DMcIQw.js} +2 -2
- zenml/zen_server/dashboard/assets/{page-DOzFoJuo.js → page-B32kCGPe.js} +1 -1
- zenml/zen_server/dashboard/assets/page-BAjhc2bs.js +1 -0
- zenml/zen_server/dashboard/assets/{page-D5GZlpKq.js → page-BBNrvxC1.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-DF9q7ySu.js → page-BEAx6ZvH.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-DDvwWgKP.js → page-BRfeowe0.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BJ15SGwt.js → page-BbRtQC2E.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-D2F0Rvak.js → page-BgUR_5z3.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-D0Zt2-7X.js → page-BiAjLLww.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-B80TE04v.js → page-BkPPfNfG.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-DkJfgcDi.js → page-BmTf1Lf1.js} +2 -2
- zenml/zen_server/dashboard/assets/{page-CAKBSE9f.js → page-BuZC8z6N.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BwAFqFCf.js → page-C4zMMcaH.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BnUwQBeg.js → page-CKVbEdX2.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BXh1mF-D.js → page-CPRymOIS.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BMZaECzB.js → page-CaTJVICi.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-NIWnUdVg.js → page-CmzmFF4S.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BIseZTJt.js → page-CwAbTnvK.js} +2 -2
- zenml/zen_server/dashboard/assets/{page-BeFiRx31.js → page-D-MjLTXS.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-B1Un9vAU.js → page-D3m9-YWJ.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-DhNnHHmX.js → page-DCpZju6a.js} +1 -1
- zenml/zen_server/dashboard/assets/page-DEUeF3mO.js +1 -0
- zenml/zen_server/dashboard/assets/{page-B150LbzG.js → page-DWOAh8Pp.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-EhqRFAZc.js → page-DezabeEO.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BTvnIFGR.js → page-DivlNKt9.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BqQ6y8Hb.js → page-DmOcZO8U.js} +1 -1
- zenml/zen_server/dashboard/assets/page-DnY59jOg.js +1 -0
- zenml/zen_server/dashboard/assets/{page-DaHH2ZEF.js → page-Dv3qtvm8.js} +1 -1
- zenml/zen_server/dashboard/assets/page-P81CcE2L.js +1 -0
- zenml/zen_server/dashboard/assets/{page-Dd-0y3SU.js → page-a1c6o4vv.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BJrZsPSh.js → page-bS5tHLDW.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-C11vPVkH.js → page-gRfUvR0E.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-BZUxCBoD.js → page-hNHJPQtK.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-kYlFrH53.js → page-ir7Scz2Y.js} +1 -1
- zenml/zen_server/dashboard/assets/{page-ygCPGHAV.js → page-mtwS5oci.js} +1 -1
- zenml/zen_server/dashboard/assets/{persist-DHGuHP2H.js → persist-BUqILw7G.js} +1 -1
- zenml/zen_server/dashboard/assets/{persist-C5RlwSq6.js → persist-BbdfLc0W.js} +1 -1
- zenml/zen_server/dashboard/assets/{plus-CoKtHiA9.js → plus-COjQg3AG.js} +1 -1
- zenml/zen_server/dashboard/assets/{react-error-boundary.esm-BkGIR1Du.js → react-error-boundary.esm-fyoUBS25.js} +1 -1
- zenml/zen_server/dashboard/assets/{refresh-CupyU1Vs.js → refresh-CM5T3QeU.js} +1 -1
- zenml/zen_server/dashboard/assets/{rocket-k68ONPDS.js → rocket-Cf-B-XOR.js} +1 -1
- zenml/zen_server/dashboard/assets/{service-Do7yitqe.js → service-CV2zjc-p.js} +1 -1
- zenml/zen_server/dashboard/assets/{sharedSchema-i_9Y4WcA.js → sharedSchema-DpGc9kQg.js} +1 -1
- zenml/zen_server/dashboard/assets/stack-detail-query-BpzLZjvw.js +1 -0
- zenml/zen_server/dashboard/assets/{terminal-square-URAPn9DB.js → terminal-square-DMtel8mb.js} +1 -1
- zenml/zen_server/dashboard/assets/{tick-circle-AaVBszPn.js → tick-circle-m94Aa6Zt.js} +1 -1
- zenml/zen_server/dashboard/assets/{trash-B_JgTgqd.js → trash-BWSZ7NRK.js} +1 -1
- zenml/zen_server/dashboard/assets/update-server-settings-mutation-Dv6qHtK9.js +1 -0
- zenml/zen_server/dashboard/assets/{zod-CRNUMWWg.js → zod-C0xYeTvL.js} +1 -1
- zenml/zen_server/dashboard/index.html +6 -6
- zenml/zen_server/template_execution/utils.py +53 -33
- zenml/zen_stores/migrations/versions/6611d4bcc95b_add_hidden_option_for_templates.py +47 -0
- zenml/zen_stores/schemas/run_template_schemas.py +7 -0
- {zenml_nightly-0.80.1.dev20250408.dist-info → zenml_nightly-0.80.1.dev20250409.dist-info}/METADATA +2 -2
- {zenml_nightly-0.80.1.dev20250408.dist-info → zenml_nightly-0.80.1.dev20250409.dist-info}/RECORD +165 -164
- zenml/zen_server/dashboard/assets/@radix-AvWw-1nd.js +0 -95
- zenml/zen_server/dashboard/assets/@reactflow-BHoFKFSZ.js +0 -17
- zenml/zen_server/dashboard/assets/@tanstack-CcI3lvwB.js +0 -22
- zenml/zen_server/dashboard/assets/Partials-TNaYjHsV.js +0 -1
- zenml/zen_server/dashboard/assets/ProBadge-BfPp-B97.js +0 -1
- zenml/zen_server/dashboard/assets/WizardFooter-BtL1Gi1k.js +0 -1
- zenml/zen_server/dashboard/assets/delete-run-Do3XyF4W.js +0 -1
- zenml/zen_server/dashboard/assets/index-eIIP-0dQ.js +0 -1
- zenml/zen_server/dashboard/assets/index.esm-cf-8NBxV.js +0 -1
- zenml/zen_server/dashboard/assets/page-B-uHUFcm.js +0 -1
- zenml/zen_server/dashboard/assets/page-B0Llmzo_.js +0 -1
- zenml/zen_server/dashboard/assets/page-BzlVs5tC.js +0 -1
- zenml/zen_server/dashboard/assets/page-CPe9nQSo.js +0 -1
- zenml/zen_server/dashboard/assets/stack-detail-query-omCumL7U.js +0 -1
- zenml/zen_server/dashboard/assets/update-server-settings-mutation-B4eE33z-.js +0 -1
- {zenml_nightly-0.80.1.dev20250408.dist-info → zenml_nightly-0.80.1.dev20250409.dist-info}/LICENSE +0 -0
- {zenml_nightly-0.80.1.dev20250408.dist-info → zenml_nightly-0.80.1.dev20250409.dist-info}/WHEEL +0 -0
- {zenml_nightly-0.80.1.dev20250408.dist-info → zenml_nightly-0.80.1.dev20250409.dist-info}/entry_points.txt +0 -0
@@ -1 +1 @@
|
|
1
|
-
import{j as o}from"./@radix-
|
1
|
+
import{j as o}from"./@radix-C7hRs6Kx.js";function s({dateString:t,short:n=!1}){const e=new Date(`${t}Z`);return o.jsx(o.Fragment,{children:n?i(e):e.toLocaleString()})}function i(t){const n={month:"short",day:"numeric",year:"numeric"},e={hour:"numeric",minute:"numeric",hour12:!1},r=t.toLocaleDateString("en-US",n),a=t.toLocaleTimeString("en-US",e);return`${r} ${a}`}export{s as D};
|
@@ -1 +1 @@
|
|
1
|
-
import{j as l}from"./@radix-
|
1
|
+
import{j as l}from"./@radix-C7hRs6Kx.js";function n({children:e,icon:t}){return l.jsxs("section",{className:"layout-container flex h-full w-full flex-1 flex-col items-center justify-center gap-5",children:[t,e]})}export{n as E};
|
@@ -1 +1 @@
|
|
1
|
-
import{j as e}from"./@radix-
|
1
|
+
import{j as e}from"./@radix-C7hRs6Kx.js";import{i as r,X as a}from"./index-Be2jLIYM.js";import{E as l}from"./EmptyState-M1jafpg6.js";function c({err:t,isAlertCircle:s=!1}){return e.jsx(l,{icon:s?e.jsx(r,{className:"h-[120px] w-[120px] fill-neutral-300"}):e.jsx(a,{className:"h-[120px] w-[120px] fill-neutral-300"}),children:e.jsx("div",{className:"text-center",children:e.jsx("p",{className:"text-text-lg text-theme-text-secondary",children:t.message})})})}export{c as E};
|
zenml/zen_server/dashboard/assets/{ExecutionStatus-CD8Vj7sp.js → ExecutionStatus-UE6Rbmtk.js}
RENAMED
@@ -1 +1 @@
|
|
1
|
-
import{r,j as t}from"./@radix-
|
1
|
+
import{r,j as t}from"./@radix-C7hRs6Kx.js";import{m as a,i as l}from"./index-Be2jLIYM.js";import{S as c}from"./check-circle-mvyzYvIW.js";const s=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.6569 6.34315C14.5327 3.21895 9.46734 3.21895 6.34315 6.34315C5.23515 7.45114 4.52139 8.80057 4.19904 10.2213C4.07684 10.7599 3.54115 11.0974 3.00256 10.9752C2.46396 10.853 2.12641 10.3173 2.24862 9.77873C2.652 8.00086 3.54638 6.31149 4.92893 4.92893C8.83418 1.02369 15.1658 1.02369 19.0711 4.92893C19.8691 5.72692 20.5003 6.3951 21 6.95359V4C21 3.44772 21.4477 3 22 3C22.5523 3 23 3.44772 23 4V10C23 10.5523 22.5523 11 22 11H16C15.4477 11 15 10.5523 15 10C15 9.44772 15.4477 9 16 9H20.1257C19.6137 8.38306 18.8352 7.52152 17.6569 6.34315ZM20.9974 13.0248C21.536 13.147 21.8736 13.6827 21.7514 14.2213C21.348 15.9991 20.4536 17.6885 19.0711 19.0711C15.1658 22.9763 8.83418 22.9763 4.92893 19.0711C4.13094 18.2731 3.49975 17.6049 3 17.0464V20C3 20.5523 2.55228 21 2 21C1.44772 21 1 20.5523 1 20V14C1 13.4477 1.44772 13 2 13H8C8.55228 13 9 13.4477 9 14C9 14.5523 8.55228 15 8 15H3.87429C4.38627 15.6169 5.16477 16.4785 6.34315 17.6569C9.46734 20.781 14.5327 20.781 17.6569 17.6569C18.7648 16.5489 19.4786 15.1994 19.801 13.7787C19.9232 13.2401 20.4588 12.9026 20.9974 13.0248Z"})),C=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM10.7071 8.29289C11.0976 8.68342 11.0976 9.31658 10.7071 9.70711L8.41421 12L10.7071 14.2929C11.0976 14.6834 11.0976 15.3166 10.7071 15.7071C10.3166 16.0976 9.68342 16.0976 9.29289 15.7071L6.29289 12.7071C5.90237 12.3166 5.90237 11.6834 6.29289 11.2929L9.29289 8.29289C9.68342 7.90237 10.3166 7.90237 10.7071 8.29289ZM16.2071 8.29289C16.5976 8.68342 16.5976 9.31658 16.2071 9.70711L13.9142 12L16.2071 14.2929C16.5976 14.6834 16.5976 15.3166 16.2071 15.7071C15.8166 16.0976 15.1834 16.0976 14.7929 15.7071L11.7929 12.7071C11.4024 12.3166 11.4024 11.6834 11.7929 11.2929L14.7929 8.29289C15.1834 7.90237 15.8166 7.90237 16.2071 8.29289Z"})),o=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12Z"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 12C6 11.1716 6.67157 10.5 7.5 10.5C8.32843 10.5 9 11.1716 9 12C9 12.8284 8.32843 13.5 7.5 13.5C6.67157 13.5 6 12.8284 6 12ZM10.5 12C10.5 11.1716 11.1716 10.5 12 10.5C12.8284 10.5 13.5 11.1716 13.5 12C13.5 12.8284 12.8284 13.5 12 13.5C11.1716 13.5 10.5 12.8284 10.5 12ZM15 12C15 11.1716 15.6716 10.5 16.5 10.5C17.3284 10.5 18 11.1716 18 12C18 12.8284 17.3284 13.5 16.5 13.5C15.6716 13.5 15 12.8284 15 12Z"}));function u(e){if(!e)return null;switch(e){case"completed":return"fill-success-500";case"failed":return"fill-error-500";case"initializing":return"fill-primary-400";case"cached":return"fill-neutral-400";case"running":return"fill-warning-500"}}function f(e){if(!e)return null;switch(e){case"completed":return"bg-success-50";case"failed":return"bg-error-50";case"initializing":return"bg-primary-50";case"cached":return"bg-theme-surface-tertiary";case"running":return"bg-warning-50"}}function p(e){if(!e)return"grey";switch(e){case"completed":return"green";case"failed":return"red";case"initializing":return"purple";case"cached":return"grey";case"running":return"yellow"}}function w({status:e,className:i}){if(!e)return null;const n=a("h-4 shrink-0 w-4",u(e),i);switch(e){case"completed":return t.jsx(c,{className:n});case"failed":return t.jsx(l,{className:n});case"initializing":return t.jsx(o,{className:n});case"cached":return t.jsx(C,{className:n});case"running":return t.jsx(s,{className:a("animate-spin [animation-duration:_5s] motion-reduce:animate-none",n)})}}export{w as E,p as a,f as b,u as g};
|
@@ -1 +1 @@
|
|
1
|
-
import{j as e}from"./@radix-
|
1
|
+
import{j as e}from"./@radix-C7hRs6Kx.js";import{B as t,bc as a}from"./index-Be2jLIYM.js";import{S as l}from"./help-DyMolRxD.js";function m({link:s,text:r="Do you need help?"}){return e.jsxs(t,{className:"flex w-full flex-wrap items-center justify-between p-2",children:[e.jsxs("div",{className:"flex items-center gap-[10px]",children:[e.jsx("div",{className:"flex h-7 w-7 items-center justify-center rounded-sm bg-teal-25",children:e.jsx(l,{className:"h-5 w-5 fill-teal-400"})}),e.jsx("p",{children:r})]}),e.jsx("a",{target:"_blank",rel:"noopener noreferrer",className:a({intent:"primary",emphasis:"subtle",size:"md"}),href:s,children:"Browse our docs"})]})}export{m as H};
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,j as r}from"./@radix-
|
1
|
+
import{r as t,j as r}from"./@radix-C7hRs6Kx.js";import{m as i,ba as o,a2 as l,i as m}from"./index-Be2jLIYM.js";const c=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M12 8C12.5523 8 13 8.44771 13 9V14C13 14.5523 12.5523 15 12 15C11.4477 15 11 14.5523 11 14V9C11 8.44771 11.4477 8 12 8Z"}),t.createElement("path",{d:"M12 18C12.5523 18 13 17.5523 13 17C13 16.4477 12.5523 16 12 16C11.4477 16 11 16.4477 11 17C11 17.5523 11.4477 18 12 18Z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.2476 2.11111C11.0074 0.729566 12.9926 0.729561 13.7524 2.11111L23.0612 19.0361C23.7943 20.369 22.8299 21.9999 21.3087 21.9999H2.69127C1.17006 21.9999 0.205733 20.369 0.938833 19.0361L10.2476 2.11111ZM21.3087 19.9999L12 3.07495L2.69126 19.9999L21.3087 19.9999Z"})),d=o("flex items-center text-text-sm rounded-md border px-4 py-3",{variants:{intent:{primary:"border-primary-400 bg-primary-25",warning:"bg-[#FFF6EA] border-theme-border-moderate",neutral:"border-theme-border-moderate",error:"bg-error-50 border-error-300"}},defaultVariants:{intent:"primary"}});function h({children:e,className:n,intent:a,...s}){return r.jsxs("div",{...s,className:i(d({intent:a}),n),children:[r.jsx(x,{intent:a}),r.jsx("div",{className:"w-full min-w-0",children:e})]})}function x({intent:e}){switch(e){case"warning":return r.jsx(c,{className:"mr-4 h-5 w-5 shrink-0 fill-warning-700"});case"error":return r.jsx(m,{className:"mr-4 h-5 w-5 shrink-0 fill-error-700"});default:return r.jsx(l,{className:"mr-4 h-5 w-5 shrink-0 fill-theme-text-brand"})}}export{h as I};
|
@@ -1 +1 @@
|
|
1
|
-
import{j as e}from"./@radix-
|
1
|
+
import{j as e}from"./@radix-C7hRs6Kx.js";import{A as s,b as a}from"./index-Be2jLIYM.js";function m({username:t}){return e.jsxs("div",{className:"inline-flex items-center gap-1",children:[e.jsx(s,{size:"sm",children:e.jsx(a,{size:"sm",children:t[0]})}),e.jsx("p",{className:"text-text-sm font-semibold text-theme-text-primary",children:t})]})}export{m as I};
|
@@ -1 +1 @@
|
|
1
|
-
import{r as C}from"./@radix-
|
1
|
+
import{r as C}from"./@radix-C7hRs6Kx.js";const l=e=>C.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 8C6 4.68629 8.68629 2 12 2C15.3137 2 18 4.68629 18 8V9.15032C18.2826 9.21225 18.5539 9.30243 18.816 9.43597C19.5686 9.81947 20.1805 10.4314 20.564 11.184C20.8113 11.6694 20.9099 12.1861 20.9558 12.7482C21 13.2894 21 13.9537 21 14.7587V16.2413C21 17.0463 21 17.7106 20.9558 18.2518C20.9099 18.8139 20.8113 19.3306 20.564 19.816C20.1805 20.5686 19.5686 21.1805 18.816 21.564C18.3306 21.8113 17.8139 21.9099 17.2518 21.9558C16.7106 22 16.0463 22 15.2413 22H8.75868C7.95372 22 7.28936 22 6.74817 21.9558C6.18608 21.9099 5.66937 21.8113 5.18404 21.564C4.43139 21.1805 3.81947 20.5686 3.43597 19.816C3.18868 19.3306 3.09012 18.8139 3.04419 18.2518C2.99998 17.7106 2.99999 17.0463 3 16.2413V14.7587C2.99999 13.9537 2.99998 13.2894 3.04419 12.7482C3.09012 12.1861 3.18868 11.6694 3.43597 11.184C3.81947 10.4314 4.43139 9.81947 5.18404 9.43597C5.44614 9.30243 5.71739 9.21225 6 9.15032V8ZM8 9.00163C8.23771 8.99999 8.4904 9 8.7587 9H15.2413C15.5096 9 15.7623 8.99999 16 9.00163V8C16 5.79086 14.2091 4 12 4C9.79086 4 8 5.79086 8 8V9.00163ZM6.91104 11.0376C6.47262 11.0734 6.24842 11.1383 6.09202 11.218C5.7157 11.4097 5.40973 11.7157 5.21799 12.092C5.1383 12.2484 5.07337 12.4726 5.03755 12.911C5.00078 13.3611 5 13.9434 5 14.8V16.2C5 17.0566 5.00078 17.6389 5.03755 18.089C5.07337 18.5274 5.1383 18.7516 5.21799 18.908C5.40973 19.2843 5.7157 19.5903 6.09202 19.782C6.24842 19.8617 6.47262 19.9266 6.91104 19.9624C7.36113 19.9992 7.94342 20 8.8 20H15.2C16.0566 20 16.6389 19.9992 17.089 19.9624C17.5274 19.9266 17.7516 19.8617 17.908 19.782C18.2843 19.5903 18.5903 19.2843 18.782 18.908C18.8617 18.7516 18.9266 18.5274 18.9624 18.089C18.9992 17.6389 19 17.0566 19 16.2V14.8C19 13.9434 18.9992 13.3611 18.9624 12.911C18.9266 12.4726 18.8617 12.2484 18.782 12.092C18.5903 11.7157 18.2843 11.4097 17.908 11.218C17.7516 11.1383 17.5274 11.0734 17.089 11.0376C16.6389 11.0008 16.0566 11 15.2 11H8.8C7.94342 11 7.36113 11.0008 6.91104 11.0376ZM12 13.5C12.5523 13.5 13 13.9477 13 14.5V16.5C13 17.0523 12.5523 17.5 12 17.5C11.4477 17.5 11 17.0523 11 16.5V14.5C11 13.9477 11.4477 13.5 12 13.5Z"}));export{l as S};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import{g as wt,j as Un}from"./@radix-AvWw-1nd.js";function fr(n,e){const t={};return(n[n.length-1]===""?[...n,""]:n).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const hr=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,mr=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,dr={};function _e(n,e){return(dr.jsx?mr:hr).test(n)}const gr=/[ \t\n\f\r]/g;function yr(n){return typeof n=="object"?n.type==="text"?Be(n.value):!1:Be(n)}function Be(n){return n.replace(gr,"")===""}class Nn{constructor(e,t,r){this.property=e,this.normal=t,r&&(this.space=r)}}Nn.prototype.property={};Nn.prototype.normal={};Nn.prototype.space=null;function St(n,e){const t={},r={};let i=-1;for(;++i<n.length;)Object.assign(t,n[i].property),Object.assign(r,n[i].normal);return new Nn(t,r,e)}function ce(n){return n.toLowerCase()}class tn{constructor(e,t){this.property=e,this.attribute=t}}tn.prototype.space=null;tn.prototype.boolean=!1;tn.prototype.booleanish=!1;tn.prototype.overloadedBoolean=!1;tn.prototype.number=!1;tn.prototype.commaSeparated=!1;tn.prototype.spaceSeparated=!1;tn.prototype.commaOrSpaceSeparated=!1;tn.prototype.mustUseProperty=!1;tn.prototype.defined=!1;let xr=0;const v=wn(),$=wn(),Ct=wn(),k=wn(),U=wn(),An=wn(),Z=wn();function wn(){return 2**++xr}const pe=Object.freeze(Object.defineProperty({__proto__:null,boolean:v,booleanish:$,commaOrSpaceSeparated:Z,commaSeparated:An,number:k,overloadedBoolean:Ct,spaceSeparated:U},Symbol.toStringTag,{value:"Module"})),Jn=Object.keys(pe);class ke extends tn{constructor(e,t,r,i){let l=-1;if(super(e,t),je(this,"space",i),typeof r=="number")for(;++l<Jn.length;){const o=Jn[l];je(this,Jn[l],(r&pe[o])===pe[o])}}}ke.prototype.defined=!0;function je(n,e,t){t&&(n[e]=t)}const kr={}.hasOwnProperty;function Tn(n){const e={},t={};let r;for(r in n.properties)if(kr.call(n.properties,r)){const i=n.properties[r],l=new ke(r,n.transform(n.attributes||{},r),i,n.space);n.mustUseProperty&&n.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),e[r]=l,t[ce(r)]=r,t[ce(l.attribute)]=r}return new Nn(e,t,n.space)}const Et=Tn({space:"xlink",transform(n,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),It=Tn({space:"xml",transform(n,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function At(n,e){return e in n?n[e]:e}function Pt(n,e){return At(n,e.toLowerCase())}const Tt=Tn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Pt,properties:{xmlns:null,xmlnsXLink:null}}),zt=Tn({transform(n,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:$,ariaAutoComplete:null,ariaBusy:$,ariaChecked:$,ariaColCount:k,ariaColIndex:k,ariaColSpan:k,ariaControls:U,ariaCurrent:null,ariaDescribedBy:U,ariaDetails:null,ariaDisabled:$,ariaDropEffect:U,ariaErrorMessage:null,ariaExpanded:$,ariaFlowTo:U,ariaGrabbed:$,ariaHasPopup:null,ariaHidden:$,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:U,ariaLevel:k,ariaLive:null,ariaModal:$,ariaMultiLine:$,ariaMultiSelectable:$,ariaOrientation:null,ariaOwns:U,ariaPlaceholder:null,ariaPosInSet:k,ariaPressed:$,ariaReadOnly:$,ariaRelevant:null,ariaRequired:$,ariaRoleDescription:U,ariaRowCount:k,ariaRowIndex:k,ariaRowSpan:k,ariaSelected:$,ariaSetSize:k,ariaSort:null,ariaValueMax:k,ariaValueMin:k,ariaValueNow:k,ariaValueText:null,role:null}}),br=Tn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Pt,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:An,acceptCharset:U,accessKey:U,action:null,allow:null,allowFullScreen:v,allowPaymentRequest:v,allowUserMedia:v,alt:null,as:null,async:v,autoCapitalize:null,autoComplete:U,autoFocus:v,autoPlay:v,blocking:U,capture:null,charSet:null,checked:v,cite:null,className:U,cols:k,colSpan:null,content:null,contentEditable:$,controls:v,controlsList:U,coords:k|An,crossOrigin:null,data:null,dateTime:null,decoding:null,default:v,defer:v,dir:null,dirName:null,disabled:v,download:Ct,draggable:$,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:v,formTarget:null,headers:U,height:k,hidden:v,high:k,href:null,hrefLang:null,htmlFor:U,httpEquiv:U,id:null,imageSizes:null,imageSrcSet:null,inert:v,inputMode:null,integrity:null,is:null,isMap:v,itemId:null,itemProp:U,itemRef:U,itemScope:v,itemType:U,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:v,low:k,manifest:null,max:null,maxLength:k,media:null,method:null,min:null,minLength:k,multiple:v,muted:v,name:null,nonce:null,noModule:v,noValidate:v,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:v,optimum:k,pattern:null,ping:U,placeholder:null,playsInline:v,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:v,referrerPolicy:null,rel:U,required:v,reversed:v,rows:k,rowSpan:k,sandbox:U,scope:null,scoped:v,seamless:v,selected:v,shadowRootClonable:v,shadowRootDelegatesFocus:v,shadowRootMode:null,shape:null,size:k,sizes:null,slot:null,span:k,spellCheck:$,src:null,srcDoc:null,srcLang:null,srcSet:null,start:k,step:null,style:null,tabIndex:k,target:null,title:null,translate:null,type:null,typeMustMatch:v,useMap:null,value:$,width:k,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:U,axis:null,background:null,bgColor:null,border:k,borderColor:null,bottomMargin:k,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:v,declare:v,event:null,face:null,frame:null,frameBorder:null,hSpace:k,leftMargin:k,link:null,longDesc:null,lowSrc:null,marginHeight:k,marginWidth:k,noResize:v,noHref:v,noShade:v,noWrap:v,object:null,profile:null,prompt:null,rev:null,rightMargin:k,rules:null,scheme:null,scrolling:$,standby:null,summary:null,text:null,topMargin:k,valueType:null,version:null,vAlign:null,vLink:null,vSpace:k,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:v,disableRemotePlayback:v,prefix:null,property:null,results:k,security:null,unselectable:null}}),wr=Tn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:At,properties:{about:Z,accentHeight:k,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:k,amplitude:k,arabicForm:null,ascent:k,attributeName:null,attributeType:null,azimuth:k,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:k,by:null,calcMode:null,capHeight:k,className:U,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:k,diffuseConstant:k,direction:null,display:null,dur:null,divisor:k,dominantBaseline:null,download:v,dx:null,dy:null,edgeMode:null,editable:null,elevation:k,enableBackground:null,end:null,event:null,exponent:k,externalResourcesRequired:null,fill:null,fillOpacity:k,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:An,g2:An,glyphName:An,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:k,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:k,horizOriginX:k,horizOriginY:k,id:null,ideographic:k,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:k,k,k1:k,k2:k,k3:k,k4:k,kernelMatrix:Z,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:k,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:k,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:k,overlineThickness:k,paintOrder:null,panose1:null,path:null,pathLength:k,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:U,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:k,pointsAtY:k,pointsAtZ:k,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Z,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Z,rev:Z,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Z,requiredFeatures:Z,requiredFonts:Z,requiredFormats:Z,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:k,specularExponent:k,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:k,strikethroughThickness:k,string:null,stroke:null,strokeDashArray:Z,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:k,strokeOpacity:k,strokeWidth:null,style:null,surfaceScale:k,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Z,tabIndex:k,tableValues:null,target:null,targetX:k,targetY:k,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Z,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:k,underlineThickness:k,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:k,values:null,vAlphabetic:k,vMathematical:k,vectorEffect:null,vHanging:k,vIdeographic:k,version:null,vertAdvY:k,vertOriginX:k,vertOriginY:k,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:k,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Sr=/^data[-\w.:]+$/i,He=/-[a-z]/g,Cr=/[A-Z]/g;function Er(n,e){const t=ce(e);let r=e,i=tn;if(t in n.normal)return n.property[n.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&Sr.test(e)){if(e.charAt(4)==="-"){const l=e.slice(5).replace(He,Ar);r="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=e.slice(4);if(!He.test(l)){let o=l.replace(Cr,Ir);o.charAt(0)!=="-"&&(o="-"+o),e="data"+o}}i=ke}return new i(r,e)}function Ir(n){return"-"+n.toLowerCase()}function Ar(n){return n.charAt(1).toUpperCase()}const Pr={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Tr=St([It,Et,Tt,zt,br],"html"),be=St([It,Et,Tt,zt,wr],"svg");function zr(n){return n.join(" ").trim()}var En={},Gn,Ue;function Lr(){if(Ue)return Gn;Ue=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,e=/\n/g,t=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,a=/^\s+|\s+$/g,s=`
|
1
|
+
import{g as wt,j as Un}from"./@radix-C7hRs6Kx.js";function fr(n,e){const t={};return(n[n.length-1]===""?[...n,""]:n).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const hr=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,mr=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,dr={};function _e(n,e){return(dr.jsx?mr:hr).test(n)}const gr=/[ \t\n\f\r]/g;function yr(n){return typeof n=="object"?n.type==="text"?Be(n.value):!1:Be(n)}function Be(n){return n.replace(gr,"")===""}class Nn{constructor(e,t,r){this.property=e,this.normal=t,r&&(this.space=r)}}Nn.prototype.property={};Nn.prototype.normal={};Nn.prototype.space=null;function St(n,e){const t={},r={};let i=-1;for(;++i<n.length;)Object.assign(t,n[i].property),Object.assign(r,n[i].normal);return new Nn(t,r,e)}function ce(n){return n.toLowerCase()}class tn{constructor(e,t){this.property=e,this.attribute=t}}tn.prototype.space=null;tn.prototype.boolean=!1;tn.prototype.booleanish=!1;tn.prototype.overloadedBoolean=!1;tn.prototype.number=!1;tn.prototype.commaSeparated=!1;tn.prototype.spaceSeparated=!1;tn.prototype.commaOrSpaceSeparated=!1;tn.prototype.mustUseProperty=!1;tn.prototype.defined=!1;let xr=0;const v=wn(),$=wn(),Ct=wn(),k=wn(),U=wn(),An=wn(),Z=wn();function wn(){return 2**++xr}const pe=Object.freeze(Object.defineProperty({__proto__:null,boolean:v,booleanish:$,commaOrSpaceSeparated:Z,commaSeparated:An,number:k,overloadedBoolean:Ct,spaceSeparated:U},Symbol.toStringTag,{value:"Module"})),Jn=Object.keys(pe);class ke extends tn{constructor(e,t,r,i){let l=-1;if(super(e,t),je(this,"space",i),typeof r=="number")for(;++l<Jn.length;){const o=Jn[l];je(this,Jn[l],(r&pe[o])===pe[o])}}}ke.prototype.defined=!0;function je(n,e,t){t&&(n[e]=t)}const kr={}.hasOwnProperty;function Tn(n){const e={},t={};let r;for(r in n.properties)if(kr.call(n.properties,r)){const i=n.properties[r],l=new ke(r,n.transform(n.attributes||{},r),i,n.space);n.mustUseProperty&&n.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),e[r]=l,t[ce(r)]=r,t[ce(l.attribute)]=r}return new Nn(e,t,n.space)}const Et=Tn({space:"xlink",transform(n,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),It=Tn({space:"xml",transform(n,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function At(n,e){return e in n?n[e]:e}function Pt(n,e){return At(n,e.toLowerCase())}const Tt=Tn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Pt,properties:{xmlns:null,xmlnsXLink:null}}),zt=Tn({transform(n,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:$,ariaAutoComplete:null,ariaBusy:$,ariaChecked:$,ariaColCount:k,ariaColIndex:k,ariaColSpan:k,ariaControls:U,ariaCurrent:null,ariaDescribedBy:U,ariaDetails:null,ariaDisabled:$,ariaDropEffect:U,ariaErrorMessage:null,ariaExpanded:$,ariaFlowTo:U,ariaGrabbed:$,ariaHasPopup:null,ariaHidden:$,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:U,ariaLevel:k,ariaLive:null,ariaModal:$,ariaMultiLine:$,ariaMultiSelectable:$,ariaOrientation:null,ariaOwns:U,ariaPlaceholder:null,ariaPosInSet:k,ariaPressed:$,ariaReadOnly:$,ariaRelevant:null,ariaRequired:$,ariaRoleDescription:U,ariaRowCount:k,ariaRowIndex:k,ariaRowSpan:k,ariaSelected:$,ariaSetSize:k,ariaSort:null,ariaValueMax:k,ariaValueMin:k,ariaValueNow:k,ariaValueText:null,role:null}}),br=Tn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Pt,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:An,acceptCharset:U,accessKey:U,action:null,allow:null,allowFullScreen:v,allowPaymentRequest:v,allowUserMedia:v,alt:null,as:null,async:v,autoCapitalize:null,autoComplete:U,autoFocus:v,autoPlay:v,blocking:U,capture:null,charSet:null,checked:v,cite:null,className:U,cols:k,colSpan:null,content:null,contentEditable:$,controls:v,controlsList:U,coords:k|An,crossOrigin:null,data:null,dateTime:null,decoding:null,default:v,defer:v,dir:null,dirName:null,disabled:v,download:Ct,draggable:$,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:v,formTarget:null,headers:U,height:k,hidden:v,high:k,href:null,hrefLang:null,htmlFor:U,httpEquiv:U,id:null,imageSizes:null,imageSrcSet:null,inert:v,inputMode:null,integrity:null,is:null,isMap:v,itemId:null,itemProp:U,itemRef:U,itemScope:v,itemType:U,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:v,low:k,manifest:null,max:null,maxLength:k,media:null,method:null,min:null,minLength:k,multiple:v,muted:v,name:null,nonce:null,noModule:v,noValidate:v,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:v,optimum:k,pattern:null,ping:U,placeholder:null,playsInline:v,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:v,referrerPolicy:null,rel:U,required:v,reversed:v,rows:k,rowSpan:k,sandbox:U,scope:null,scoped:v,seamless:v,selected:v,shadowRootClonable:v,shadowRootDelegatesFocus:v,shadowRootMode:null,shape:null,size:k,sizes:null,slot:null,span:k,spellCheck:$,src:null,srcDoc:null,srcLang:null,srcSet:null,start:k,step:null,style:null,tabIndex:k,target:null,title:null,translate:null,type:null,typeMustMatch:v,useMap:null,value:$,width:k,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:U,axis:null,background:null,bgColor:null,border:k,borderColor:null,bottomMargin:k,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:v,declare:v,event:null,face:null,frame:null,frameBorder:null,hSpace:k,leftMargin:k,link:null,longDesc:null,lowSrc:null,marginHeight:k,marginWidth:k,noResize:v,noHref:v,noShade:v,noWrap:v,object:null,profile:null,prompt:null,rev:null,rightMargin:k,rules:null,scheme:null,scrolling:$,standby:null,summary:null,text:null,topMargin:k,valueType:null,version:null,vAlign:null,vLink:null,vSpace:k,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:v,disableRemotePlayback:v,prefix:null,property:null,results:k,security:null,unselectable:null}}),wr=Tn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:At,properties:{about:Z,accentHeight:k,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:k,amplitude:k,arabicForm:null,ascent:k,attributeName:null,attributeType:null,azimuth:k,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:k,by:null,calcMode:null,capHeight:k,className:U,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:k,diffuseConstant:k,direction:null,display:null,dur:null,divisor:k,dominantBaseline:null,download:v,dx:null,dy:null,edgeMode:null,editable:null,elevation:k,enableBackground:null,end:null,event:null,exponent:k,externalResourcesRequired:null,fill:null,fillOpacity:k,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:An,g2:An,glyphName:An,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:k,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:k,horizOriginX:k,horizOriginY:k,id:null,ideographic:k,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:k,k,k1:k,k2:k,k3:k,k4:k,kernelMatrix:Z,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:k,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:k,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:k,overlineThickness:k,paintOrder:null,panose1:null,path:null,pathLength:k,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:U,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:k,pointsAtY:k,pointsAtZ:k,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Z,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Z,rev:Z,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Z,requiredFeatures:Z,requiredFonts:Z,requiredFormats:Z,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:k,specularExponent:k,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:k,strikethroughThickness:k,string:null,stroke:null,strokeDashArray:Z,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:k,strokeOpacity:k,strokeWidth:null,style:null,surfaceScale:k,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Z,tabIndex:k,tableValues:null,target:null,targetX:k,targetY:k,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Z,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:k,underlineThickness:k,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:k,values:null,vAlphabetic:k,vMathematical:k,vectorEffect:null,vHanging:k,vIdeographic:k,version:null,vertAdvY:k,vertOriginX:k,vertOriginY:k,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:k,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Sr=/^data[-\w.:]+$/i,He=/-[a-z]/g,Cr=/[A-Z]/g;function Er(n,e){const t=ce(e);let r=e,i=tn;if(t in n.normal)return n.property[n.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&Sr.test(e)){if(e.charAt(4)==="-"){const l=e.slice(5).replace(He,Ar);r="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=e.slice(4);if(!He.test(l)){let o=l.replace(Cr,Ir);o.charAt(0)!=="-"&&(o="-"+o),e="data"+o}}i=ke}return new i(r,e)}function Ir(n){return"-"+n.toLowerCase()}function Ar(n){return n.charAt(1).toUpperCase()}const Pr={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Tr=St([It,Et,Tt,zt,br],"html"),be=St([It,Et,Tt,zt,wr],"svg");function zr(n){return n.join(" ").trim()}var En={},Gn,Ue;function Lr(){if(Ue)return Gn;Ue=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,e=/\n/g,t=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,a=/^\s+|\s+$/g,s=`
|
2
2
|
`,u="/",c="*",p="",d="comment",f="declaration";Gn=function(b,A){if(typeof b!="string")throw new TypeError("First argument must be a string");if(!b)return[];A=A||{};var x=1,C=1;function E(T){var I=T.match(e);I&&(x+=I.length);var O=T.lastIndexOf(s);C=~O?T.length-O:C+T.length}function M(){var T={line:x,column:C};return function(I){return I.position=new F(T),V(),I}}function F(T){this.start=T,this.end={line:x,column:C},this.source=A.source}F.prototype.content=b;function y(T){var I=new Error(A.source+":"+x+":"+C+": "+T);if(I.reason=T,I.filename=A.source,I.line=x,I.column=C,I.source=b,!A.silent)throw I}function R(T){var I=T.exec(b);if(I){var O=I[0];return E(O),b=b.slice(O.length),I}}function V(){R(t)}function B(T){var I;for(T=T||[];I=j();)I!==!1&&T.push(I);return T}function j(){var T=M();if(!(u!=b.charAt(0)||c!=b.charAt(1))){for(var I=2;p!=b.charAt(I)&&(c!=b.charAt(I)||u!=b.charAt(I+1));)++I;if(I+=2,p===b.charAt(I-1))return y("End of comment missing");var O=b.slice(2,I-2);return C+=2,E(O),b=b.slice(I),C+=2,T({type:d,comment:O})}}function z(){var T=M(),I=R(r);if(I){if(j(),!R(i))return y("property missing ':'");var O=R(l),W=T({type:f,property:w(I[0].replace(n,p)),value:O?w(O[0].replace(n,p)):p});return R(o),W}}function P(){var T=[];B(T);for(var I;I=z();)I!==!1&&(T.push(I),B(T));return T}return V(),P()};function w(b){return b?b.replace(a,p):p}return Gn}var qe;function Or(){if(qe)return En;qe=1;var n=En&&En.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(En,"__esModule",{value:!0});var e=n(Lr());function t(r,i){var l=null;if(!r||typeof r!="string")return l;var o=(0,e.default)(r),a=typeof i=="function";return o.forEach(function(s){if(s.type==="declaration"){var u=s.property,c=s.value;a?i(u,c,s):c&&(l=l||{},l[u]=c)}}),l}return En.default=t,En}var Dr=Or();const Ve=wt(Dr),vr=Ve.default||Ve,Lt=Ot("end"),we=Ot("start");function Ot(n){return e;function e(t){const r=t&&t.position&&t.position[n]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Fr(n){const e=we(n),t=Lt(n);if(e&&t)return{start:e,end:t}}function Fn(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?$e(n.position):"start"in n||"end"in n?$e(n):"line"in n||"column"in n?fe(n):""}function fe(n){return We(n&&n.line)+":"+We(n&&n.column)}function $e(n){return fe(n&&n.start)+"-"+fe(n&&n.end)}function We(n){return n&&typeof n=="number"?n:1}class Y extends Error{constructor(e,t,r){super(),typeof t=="string"&&(r=t,t=void 0);let i="",l={},o=!1;if(t&&("line"in t&&"column"in t?l={place:t}:"start"in t&&"end"in t?l={place:t}:"type"in t?l={ancestors:[t],place:t.position}:l={...t}),typeof e=="string"?i=e:!l.cause&&e&&(o=!0,i=e.message,l.cause=e),!l.ruleId&&!l.source&&typeof r=="string"){const s=r.indexOf(":");s===-1?l.ruleId=r:(l.source=r.slice(0,s),l.ruleId=r.slice(s+1))}if(!l.place&&l.ancestors&&l.ancestors){const s=l.ancestors[l.ancestors.length-1];s&&(l.place=s.position)}const a=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=a?a.line:void 0,this.name=Fn(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=o&&l.cause&&typeof l.cause.stack=="string"?l.cause.stack:"",this.actual,this.expected,this.note,this.url}}Y.prototype.file="";Y.prototype.name="";Y.prototype.reason="";Y.prototype.message="";Y.prototype.stack="";Y.prototype.column=void 0;Y.prototype.line=void 0;Y.prototype.ancestors=void 0;Y.prototype.cause=void 0;Y.prototype.fatal=void 0;Y.prototype.place=void 0;Y.prototype.ruleId=void 0;Y.prototype.source=void 0;const Se={}.hasOwnProperty,Rr=new Map,Mr=/[A-Z]/g,Nr=/-([a-z])/g,_r=new Set(["table","tbody","thead","tfoot","tr"]),Br=new Set(["td","th"]),Dt="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function jr(n,e){if(!e||e.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const t=e.filePath||void 0;let r;if(e.development){if(typeof e.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Xr(t,e.jsxDEV)}else{if(typeof e.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof e.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=Qr(t,e.jsx,e.jsxs)}const i={Fragment:e.Fragment,ancestors:[],components:e.components||{},create:r,elementAttributeNameCase:e.elementAttributeNameCase||"react",evaluater:e.createEvaluater?e.createEvaluater():void 0,filePath:t,ignoreInvalidStyle:e.ignoreInvalidStyle||!1,passKeys:e.passKeys!==!1,passNode:e.passNode||!1,schema:e.space==="svg"?be:Tr,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1},l=vt(i,n,void 0);return l&&typeof l!="string"?l:i.create(n,i.Fragment,{children:l||void 0},void 0)}function vt(n,e,t){if(e.type==="element")return Hr(n,e,t);if(e.type==="mdxFlowExpression"||e.type==="mdxTextExpression")return Ur(n,e);if(e.type==="mdxJsxFlowElement"||e.type==="mdxJsxTextElement")return Vr(n,e,t);if(e.type==="mdxjsEsm")return qr(n,e);if(e.type==="root")return $r(n,e,t);if(e.type==="text")return Wr(n,e)}function Hr(n,e,t){const r=n.schema;let i=r;e.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=be,n.schema=i),n.ancestors.push(e);const l=Rt(n,e.tagName,!1),o=Yr(n,e);let a=Ee(n,e);return _r.has(e.tagName)&&(a=a.filter(function(s){return typeof s=="string"?!yr(s):!0})),Ft(n,o,l,e),Ce(o,a),n.ancestors.pop(),n.schema=r,n.create(e,l,o,t)}function Ur(n,e){if(e.data&&e.data.estree&&n.evaluater){const r=e.data.estree.body[0];return r.type,n.evaluater.evaluateExpression(r.expression)}Mn(n,e.position)}function qr(n,e){if(e.data&&e.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(e.data.estree);Mn(n,e.position)}function Vr(n,e,t){const r=n.schema;let i=r;e.name==="svg"&&r.space==="html"&&(i=be,n.schema=i),n.ancestors.push(e);const l=e.name===null?n.Fragment:Rt(n,e.name,!0),o=Kr(n,e),a=Ee(n,e);return Ft(n,o,l,e),Ce(o,a),n.ancestors.pop(),n.schema=r,n.create(e,l,o,t)}function $r(n,e,t){const r={};return Ce(r,Ee(n,e)),n.create(e,n.Fragment,r,t)}function Wr(n,e){return e.value}function Ft(n,e,t,r){typeof t!="string"&&t!==n.Fragment&&n.passNode&&(e.node=r)}function Ce(n,e){if(e.length>0){const t=e.length>1?e:e[0];t&&(n.children=t)}}function Qr(n,e,t){return r;function r(i,l,o,a){const u=Array.isArray(o.children)?t:e;return a?u(l,o,a):u(l,o)}}function Xr(n,e){return t;function t(r,i,l,o){const a=Array.isArray(l.children),s=we(r);return e(i,l,o,a,{columnNumber:s?s.column-1:void 0,fileName:n,lineNumber:s?s.line:void 0},void 0)}}function Yr(n,e){const t={};let r,i;for(i in e.properties)if(i!=="children"&&Se.call(e.properties,i)){const l=Jr(n,i,e.properties[i]);if(l){const[o,a]=l;n.tableCellAlignToStyle&&o==="align"&&typeof a=="string"&&Br.has(e.tagName)?r=a:t[o]=a}}if(r){const l=t.style||(t.style={});l[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return t}function Kr(n,e){const t={};for(const r of e.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&n.evaluater){const l=r.data.estree.body[0];l.type;const o=l.expression;o.type;const a=o.properties[0];a.type,Object.assign(t,n.evaluater.evaluateExpression(a.argument))}else Mn(n,e.position);else{const i=r.name;let l;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&n.evaluater){const a=r.value.data.estree.body[0];a.type,l=n.evaluater.evaluateExpression(a.expression)}else Mn(n,e.position);else l=r.value===null?!0:r.value;t[i]=l}return t}function Ee(n,e){const t=[];let r=-1;const i=n.passKeys?new Map:Rr;for(;++r<e.children.length;){const l=e.children[r];let o;if(n.passKeys){const s=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(s){const u=i.get(s)||0;o=s+"-"+u,i.set(s,u+1)}}const a=vt(n,l,o);a!==void 0&&t.push(a)}return t}function Jr(n,e,t){const r=Er(n.schema,e);if(!(t==null||typeof t=="number"&&Number.isNaN(t))){if(Array.isArray(t)&&(t=r.commaSeparated?fr(t):zr(t)),r.property==="style"){let i=typeof t=="object"?t:Gr(n,String(t));return n.stylePropertyNameCase==="css"&&(i=Zr(i)),["style",i]}return[n.elementAttributeNameCase==="react"&&r.space?Pr[r.property]||r.property:r.attribute,t]}}function Gr(n,e){const t={};try{vr(e,r)}catch(i){if(!n.ignoreInvalidStyle){const l=i,o=new Y("Cannot parse `style` attribute",{ancestors:n.ancestors,cause:l,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw o.file=n.filePath||void 0,o.url=Dt+"#cannot-parse-style-attribute",o}}return t;function r(i,l){let o=i;o.slice(0,2)!=="--"&&(o.slice(0,4)==="-ms-"&&(o="ms-"+o.slice(4)),o=o.replace(Nr,ei)),t[o]=l}}function Rt(n,e,t){let r;if(!t)r={type:"Literal",value:e};else if(e.includes(".")){const i=e.split(".");let l=-1,o;for(;++l<i.length;){const a=_e(i[l])?{type:"Identifier",name:i[l]}:{type:"Literal",value:i[l]};o=o?{type:"MemberExpression",object:o,property:a,computed:!!(l&&a.type==="Literal"),optional:!1}:a}r=o}else r=_e(e)&&!/^[a-z]/.test(e)?{type:"Identifier",name:e}:{type:"Literal",value:e};if(r.type==="Literal"){const i=r.value;return Se.call(n.components,i)?n.components[i]:i}if(n.evaluater)return n.evaluater.evaluateExpression(r);Mn(n)}function Mn(n,e){const t=new Y("Cannot handle MDX estrees without `createEvaluater`",{ancestors:n.ancestors,place:e,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw t.file=n.filePath||void 0,t.url=Dt+"#cannot-handle-mdx-estrees-without-createevaluater",t}function Zr(n){const e={};let t;for(t in n)Se.call(n,t)&&(e[ni(t)]=n[t]);return e}function ni(n){let e=n.replace(Mr,ti);return e.slice(0,3)==="ms-"&&(e="-"+e),e}function ei(n,e){return e.toUpperCase()}function ti(n){return"-"+n.toLowerCase()}const Zn={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},ri={};function ii(n,e){const t=ri,r=typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,i=typeof t.includeHtml=="boolean"?t.includeHtml:!0;return Mt(n,r,i)}function Mt(n,e,t){if(li(n)){if("value"in n)return n.type==="html"&&!t?"":n.value;if(e&&"alt"in n&&n.alt)return n.alt;if("children"in n)return Qe(n.children,e,t)}return Array.isArray(n)?Qe(n,e,t):""}function Qe(n,e,t){const r=[];let i=-1;for(;++i<n.length;)r[i]=Mt(n[i],e,t);return r.join("")}function li(n){return!!(n&&typeof n=="object")}const Xe=document.createElement("i");function Ie(n){const e="&"+n+";";Xe.innerHTML=e;const t=Xe.textContent;return t.charCodeAt(t.length-1)===59&&n!=="semi"||t===e?!1:t}function cn(n,e,t,r){const i=n.length;let l=0,o;if(e<0?e=-e>i?0:i+e:e=e>i?i:e,t=t>0?t:0,r.length<1e4)o=Array.from(r),o.unshift(e,t),n.splice(...o);else for(t&&n.splice(e,t);l<r.length;)o=r.slice(l,l+1e4),o.unshift(e,0),n.splice(...o),l+=1e4,e+=1e4}function en(n,e){return n.length>0?(cn(n,n.length,0,e),n):e}const Ye={}.hasOwnProperty;function oi(n){const e={};let t=-1;for(;++t<n.length;)ai(e,n[t]);return e}function ai(n,e){let t;for(t in e){const i=(Ye.call(n,t)?n[t]:void 0)||(n[t]={}),l=e[t];let o;if(l)for(o in l){Ye.call(i,o)||(i[o]=[]);const a=l[o];ui(i[o],Array.isArray(a)?a:a?[a]:[])}}}function ui(n,e){let t=-1;const r=[];for(;++t<e.length;)(e[t].add==="after"?n:r).push(e[t]);cn(n,0,0,r)}function Nt(n,e){const t=Number.parseInt(n,e);return t<9||t===11||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"�":String.fromCodePoint(t)}function Pn(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const sn=yn(/[A-Za-z]/),nn=yn(/[\dA-Za-z]/),si=yn(/[#-'*+\--9=?A-Z^-~]/);function he(n){return n!==null&&(n<32||n===127)}const me=yn(/\d/),ci=yn(/[\dA-Fa-f]/),pi=yn(/[!-/:-@[-`{-~]/);function L(n){return n!==null&&n<-2}function J(n){return n!==null&&(n<0||n===32)}function _(n){return n===-2||n===-1||n===32}const fi=yn(new RegExp("\\p{P}|\\p{S}","u")),hi=yn(/\s/);function yn(n){return e;function e(t){return t!==null&&t>-1&&n.test(String.fromCharCode(t))}}function zn(n){const e=[];let t=-1,r=0,i=0;for(;++t<n.length;){const l=n.charCodeAt(t);let o="";if(l===37&&nn(n.charCodeAt(t+1))&&nn(n.charCodeAt(t+2)))i=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(o=String.fromCharCode(l));else if(l>55295&&l<57344){const a=n.charCodeAt(t+1);l<56320&&a>56319&&a<57344?(o=String.fromCharCode(l,a),i=1):o="�"}else o=String.fromCharCode(l);o&&(e.push(n.slice(r,t),encodeURIComponent(o)),r=t+i+1,o=""),i&&(t+=i,i=0)}return e.join("")+n.slice(r)}function q(n,e,t,r){const i=r?r-1:Number.POSITIVE_INFINITY;let l=0;return o;function o(s){return _(s)?(n.enter(t),a(s)):e(s)}function a(s){return _(s)&&l++<i?(n.consume(s),a):(n.exit(t),e(s))}}const mi={tokenize:di};function di(n){const e=n.attempt(this.parser.constructs.contentInitial,r,i);let t;return e;function r(a){if(a===null){n.consume(a);return}return n.enter("lineEnding"),n.consume(a),n.exit("lineEnding"),q(n,e,"linePrefix")}function i(a){return n.enter("paragraph"),l(a)}function l(a){const s=n.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=s),t=s,o(a)}function o(a){if(a===null){n.exit("chunkText"),n.exit("paragraph"),n.consume(a);return}return L(a)?(n.consume(a),n.exit("chunkText"),l):(n.consume(a),o)}}const gi={tokenize:yi},Ke={tokenize:xi};function yi(n){const e=this,t=[];let r=0,i,l,o;return a;function a(E){if(r<t.length){const M=t[r];return e.containerState=M[1],n.attempt(M[0].continuation,s,u)(E)}return u(E)}function s(E){if(r++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&C();const M=e.events.length;let F=M,y;for(;F--;)if(e.events[F][0]==="exit"&&e.events[F][1].type==="chunkFlow"){y=e.events[F][1].end;break}x(r);let R=M;for(;R<e.events.length;)e.events[R][1].end=Object.assign({},y),R++;return cn(e.events,F+1,0,e.events.slice(M)),e.events.length=R,u(E)}return a(E)}function u(E){if(r===t.length){if(!i)return d(E);if(i.currentConstruct&&i.currentConstruct.concrete)return w(E);e.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},n.check(Ke,c,p)(E)}function c(E){return i&&C(),x(r),d(E)}function p(E){return e.parser.lazy[e.now().line]=r!==t.length,o=e.now().offset,w(E)}function d(E){return e.containerState={},n.attempt(Ke,f,w)(E)}function f(E){return r++,t.push([e.currentConstruct,e.containerState]),d(E)}function w(E){if(E===null){i&&C(),x(0),n.consume(E);return}return i=i||e.parser.flow(e.now()),n.enter("chunkFlow",{contentType:"flow",previous:l,_tokenizer:i}),b(E)}function b(E){if(E===null){A(n.exit("chunkFlow"),!0),x(0),n.consume(E);return}return L(E)?(n.consume(E),A(n.exit("chunkFlow")),r=0,e.interrupt=void 0,a):(n.consume(E),b)}function A(E,M){const F=e.sliceStream(E);if(M&&F.push(null),E.previous=l,l&&(l.next=E),l=E,i.defineSkip(E.start),i.write(F),e.parser.lazy[E.start.line]){let y=i.events.length;for(;y--;)if(i.events[y][1].start.offset<o&&(!i.events[y][1].end||i.events[y][1].end.offset>o))return;const R=e.events.length;let V=R,B,j;for(;V--;)if(e.events[V][0]==="exit"&&e.events[V][1].type==="chunkFlow"){if(B){j=e.events[V][1].end;break}B=!0}for(x(r),y=R;y<e.events.length;)e.events[y][1].end=Object.assign({},j),y++;cn(e.events,V+1,0,e.events.slice(R)),e.events.length=y}}function x(E){let M=t.length;for(;M-- >E;){const F=t[M];e.containerState=F[1],F[0].exit.call(e,n)}t.length=E}function C(){i.write([null]),l=void 0,i=void 0,e.containerState._closeFlow=void 0}}function xi(n,e,t){return q(n,n.attempt(this.parser.constructs.document,e,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Je(n){if(n===null||J(n)||hi(n))return 1;if(fi(n))return 2}function Ae(n,e,t){const r=[];let i=-1;for(;++i<n.length;){const l=n[i].resolveAll;l&&!r.includes(l)&&(e=l(e,t),r.push(l))}return e}const de={name:"attention",tokenize:bi,resolveAll:ki};function ki(n,e){let t=-1,r,i,l,o,a,s,u,c;for(;++t<n.length;)if(n[t][0]==="enter"&&n[t][1].type==="attentionSequence"&&n[t][1]._close){for(r=t;r--;)if(n[r][0]==="exit"&&n[r][1].type==="attentionSequence"&&n[r][1]._open&&e.sliceSerialize(n[r][1]).charCodeAt(0)===e.sliceSerialize(n[t][1]).charCodeAt(0)){if((n[r][1]._close||n[t][1]._open)&&(n[t][1].end.offset-n[t][1].start.offset)%3&&!((n[r][1].end.offset-n[r][1].start.offset+n[t][1].end.offset-n[t][1].start.offset)%3))continue;s=n[r][1].end.offset-n[r][1].start.offset>1&&n[t][1].end.offset-n[t][1].start.offset>1?2:1;const p=Object.assign({},n[r][1].end),d=Object.assign({},n[t][1].start);Ge(p,-s),Ge(d,s),o={type:s>1?"strongSequence":"emphasisSequence",start:p,end:Object.assign({},n[r][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},n[t][1].start),end:d},l={type:s>1?"strongText":"emphasisText",start:Object.assign({},n[r][1].end),end:Object.assign({},n[t][1].start)},i={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},n[r][1].end=Object.assign({},o.start),n[t][1].start=Object.assign({},a.end),u=[],n[r][1].end.offset-n[r][1].start.offset&&(u=en(u,[["enter",n[r][1],e],["exit",n[r][1],e]])),u=en(u,[["enter",i,e],["enter",o,e],["exit",o,e],["enter",l,e]]),u=en(u,Ae(e.parser.constructs.insideSpan.null,n.slice(r+1,t),e)),u=en(u,[["exit",l,e],["enter",a,e],["exit",a,e],["exit",i,e]]),n[t][1].end.offset-n[t][1].start.offset?(c=2,u=en(u,[["enter",n[t][1],e],["exit",n[t][1],e]])):c=0,cn(n,r-1,t-r+3,u),t=r+u.length-c-2;break}}for(t=-1;++t<n.length;)n[t][1].type==="attentionSequence"&&(n[t][1].type="data");return n}function bi(n,e){const t=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Je(r);let l;return o;function o(s){return l=s,n.enter("attentionSequence"),a(s)}function a(s){if(s===l)return n.consume(s),a;const u=n.exit("attentionSequence"),c=Je(s),p=!c||c===2&&i||t.includes(s),d=!i||i===2&&c||t.includes(r);return u._open=!!(l===42?p:p&&(i||!d)),u._close=!!(l===42?d:d&&(c||!p)),e(s)}}function Ge(n,e){n.column+=e,n.offset+=e,n._bufferIndex+=e}const wi={name:"autolink",tokenize:Si};function Si(n,e,t){let r=0;return i;function i(f){return n.enter("autolink"),n.enter("autolinkMarker"),n.consume(f),n.exit("autolinkMarker"),n.enter("autolinkProtocol"),l}function l(f){return sn(f)?(n.consume(f),o):u(f)}function o(f){return f===43||f===45||f===46||nn(f)?(r=1,a(f)):u(f)}function a(f){return f===58?(n.consume(f),r=0,s):(f===43||f===45||f===46||nn(f))&&r++<32?(n.consume(f),a):(r=0,u(f))}function s(f){return f===62?(n.exit("autolinkProtocol"),n.enter("autolinkMarker"),n.consume(f),n.exit("autolinkMarker"),n.exit("autolink"),e):f===null||f===32||f===60||he(f)?t(f):(n.consume(f),s)}function u(f){return f===64?(n.consume(f),c):si(f)?(n.consume(f),u):t(f)}function c(f){return nn(f)?p(f):t(f)}function p(f){return f===46?(n.consume(f),r=0,c):f===62?(n.exit("autolinkProtocol").type="autolinkEmail",n.enter("autolinkMarker"),n.consume(f),n.exit("autolinkMarker"),n.exit("autolink"),e):d(f)}function d(f){if((f===45||nn(f))&&r++<63){const w=f===45?d:p;return n.consume(f),w}return t(f)}}const Qn={tokenize:Ci,partial:!0};function Ci(n,e,t){return r;function r(l){return _(l)?q(n,i,"linePrefix")(l):i(l)}function i(l){return l===null||L(l)?e(l):t(l)}}const _t={name:"blockQuote",tokenize:Ei,continuation:{tokenize:Ii},exit:Ai};function Ei(n,e,t){const r=this;return i;function i(o){if(o===62){const a=r.containerState;return a.open||(n.enter("blockQuote",{_container:!0}),a.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(o),n.exit("blockQuoteMarker"),l}return t(o)}function l(o){return _(o)?(n.enter("blockQuotePrefixWhitespace"),n.consume(o),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),e):(n.exit("blockQuotePrefix"),e(o))}}function Ii(n,e,t){const r=this;return i;function i(o){return _(o)?q(n,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):l(o)}function l(o){return n.attempt(_t,e,t)(o)}}function Ai(n){n.exit("blockQuote")}const Bt={name:"characterEscape",tokenize:Pi};function Pi(n,e,t){return r;function r(l){return n.enter("characterEscape"),n.enter("escapeMarker"),n.consume(l),n.exit("escapeMarker"),i}function i(l){return pi(l)?(n.enter("characterEscapeValue"),n.consume(l),n.exit("characterEscapeValue"),n.exit("characterEscape"),e):t(l)}}const jt={name:"characterReference",tokenize:Ti};function Ti(n,e,t){const r=this;let i=0,l,o;return a;function a(p){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(p),n.exit("characterReferenceMarker"),s}function s(p){return p===35?(n.enter("characterReferenceMarkerNumeric"),n.consume(p),n.exit("characterReferenceMarkerNumeric"),u):(n.enter("characterReferenceValue"),l=31,o=nn,c(p))}function u(p){return p===88||p===120?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(p),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),l=6,o=ci,c):(n.enter("characterReferenceValue"),l=7,o=me,c(p))}function c(p){if(p===59&&i){const d=n.exit("characterReferenceValue");return o===nn&&!Ie(r.sliceSerialize(d))?t(p):(n.enter("characterReferenceMarker"),n.consume(p),n.exit("characterReferenceMarker"),n.exit("characterReference"),e)}return o(p)&&i++<l?(n.consume(p),c):t(p)}}const Ze={tokenize:Li,partial:!0},nt={name:"codeFenced",tokenize:zi,concrete:!0};function zi(n,e,t){const r=this,i={tokenize:F,partial:!0};let l=0,o=0,a;return s;function s(y){return u(y)}function u(y){const R=r.events[r.events.length-1];return l=R&&R[1].type==="linePrefix"?R[2].sliceSerialize(R[1],!0).length:0,a=y,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),c(y)}function c(y){return y===a?(o++,n.consume(y),c):o<3?t(y):(n.exit("codeFencedFenceSequence"),_(y)?q(n,p,"whitespace")(y):p(y))}function p(y){return y===null||L(y)?(n.exit("codeFencedFence"),r.interrupt?e(y):n.check(Ze,b,M)(y)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),d(y))}function d(y){return y===null||L(y)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),p(y)):_(y)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),q(n,f,"whitespace")(y)):y===96&&y===a?t(y):(n.consume(y),d)}function f(y){return y===null||L(y)?p(y):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),w(y))}function w(y){return y===null||L(y)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),p(y)):y===96&&y===a?t(y):(n.consume(y),w)}function b(y){return n.attempt(i,M,A)(y)}function A(y){return n.enter("lineEnding"),n.consume(y),n.exit("lineEnding"),x}function x(y){return l>0&&_(y)?q(n,C,"linePrefix",l+1)(y):C(y)}function C(y){return y===null||L(y)?n.check(Ze,b,M)(y):(n.enter("codeFlowValue"),E(y))}function E(y){return y===null||L(y)?(n.exit("codeFlowValue"),C(y)):(n.consume(y),E)}function M(y){return n.exit("codeFenced"),e(y)}function F(y,R,V){let B=0;return j;function j(O){return y.enter("lineEnding"),y.consume(O),y.exit("lineEnding"),z}function z(O){return y.enter("codeFencedFence"),_(O)?q(y,P,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(O):P(O)}function P(O){return O===a?(y.enter("codeFencedFenceSequence"),T(O)):V(O)}function T(O){return O===a?(B++,y.consume(O),T):B>=o?(y.exit("codeFencedFenceSequence"),_(O)?q(y,I,"whitespace")(O):I(O)):V(O)}function I(O){return O===null||L(O)?(y.exit("codeFencedFence"),R(O)):V(O)}}}function Li(n,e,t){const r=this;return i;function i(o){return o===null?t(o):(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),l)}function l(o){return r.parser.lazy[r.now().line]?t(o):e(o)}}const ne={name:"codeIndented",tokenize:Di},Oi={tokenize:vi,partial:!0};function Di(n,e,t){const r=this;return i;function i(u){return n.enter("codeIndented"),q(n,l,"linePrefix",5)(u)}function l(u){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?o(u):t(u)}function o(u){return u===null?s(u):L(u)?n.attempt(Oi,o,s)(u):(n.enter("codeFlowValue"),a(u))}function a(u){return u===null||L(u)?(n.exit("codeFlowValue"),o(u)):(n.consume(u),a)}function s(u){return n.exit("codeIndented"),e(u)}}function vi(n,e,t){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?t(o):L(o)?(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),i):q(n,l,"linePrefix",5)(o)}function l(o){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(o):L(o)?i(o):t(o)}}const Fi={name:"codeText",tokenize:Ni,resolve:Ri,previous:Mi};function Ri(n){let e=n.length-4,t=3,r,i;if((n[t][1].type==="lineEnding"||n[t][1].type==="space")&&(n[e][1].type==="lineEnding"||n[e][1].type==="space")){for(r=t;++r<e;)if(n[r][1].type==="codeTextData"){n[t][1].type="codeTextPadding",n[e][1].type="codeTextPadding",t+=2,e-=2;break}}for(r=t-1,e++;++r<=e;)i===void 0?r!==e&&n[r][1].type!=="lineEnding"&&(i=r):(r===e||n[r][1].type==="lineEnding")&&(n[i][1].type="codeTextData",r!==i+2&&(n[i][1].end=n[r-1][1].end,n.splice(i+2,r-i-2),e-=r-i-2,r=i+2),i=void 0);return n}function Mi(n){return n!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Ni(n,e,t){let r=0,i,l;return o;function o(p){return n.enter("codeText"),n.enter("codeTextSequence"),a(p)}function a(p){return p===96?(n.consume(p),r++,a):(n.exit("codeTextSequence"),s(p))}function s(p){return p===null?t(p):p===32?(n.enter("space"),n.consume(p),n.exit("space"),s):p===96?(l=n.enter("codeTextSequence"),i=0,c(p)):L(p)?(n.enter("lineEnding"),n.consume(p),n.exit("lineEnding"),s):(n.enter("codeTextData"),u(p))}function u(p){return p===null||p===32||p===96||L(p)?(n.exit("codeTextData"),s(p)):(n.consume(p),u)}function c(p){return p===96?(n.consume(p),i++,c):i===r?(n.exit("codeTextSequence"),n.exit("codeText"),e(p)):(l.type="codeTextData",u(p))}}function Ht(n){const e={};let t=-1,r,i,l,o,a,s,u;for(;++t<n.length;){for(;t in e;)t=e[t];if(r=n[t],t&&r[1].type==="chunkFlow"&&n[t-1][1].type==="listItemPrefix"&&(s=r[1]._tokenizer.events,l=0,l<s.length&&s[l][1].type==="lineEndingBlank"&&(l+=2),l<s.length&&s[l][1].type==="content"))for(;++l<s.length&&s[l][1].type!=="content";)s[l][1].type==="chunkText"&&(s[l][1]._isInFirstContentOfListItem=!0,l++);if(r[0]==="enter")r[1].contentType&&(Object.assign(e,_i(n,t)),t=e[t],u=!0);else if(r[1]._container){for(l=t,i=void 0;l--&&(o=n[l],o[1].type==="lineEnding"||o[1].type==="lineEndingBlank");)o[0]==="enter"&&(i&&(n[i][1].type="lineEndingBlank"),o[1].type="lineEnding",i=l);i&&(r[1].end=Object.assign({},n[i][1].start),a=n.slice(i,t),a.unshift(r),cn(n,i,t-i+1,a))}}return!u}function _i(n,e){const t=n[e][1],r=n[e][2];let i=e-1;const l=[],o=t._tokenizer||r.parser[t.contentType](t.start),a=o.events,s=[],u={};let c,p,d=-1,f=t,w=0,b=0;const A=[b];for(;f;){for(;n[++i][1]!==f;);l.push(i),f._tokenizer||(c=r.sliceStream(f),f.next||c.push(null),p&&o.defineSkip(f.start),f._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(c),f._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),p=f,f=f.next}for(f=t;++d<a.length;)a[d][0]==="exit"&&a[d-1][0]==="enter"&&a[d][1].type===a[d-1][1].type&&a[d][1].start.line!==a[d][1].end.line&&(b=d+1,A.push(b),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(o.events=[],f?(f._tokenizer=void 0,f.previous=void 0):A.pop(),d=A.length;d--;){const x=a.slice(A[d],A[d+1]),C=l.pop();s.unshift([C,C+x.length-1]),cn(n,C,2,x)}for(d=-1;++d<s.length;)u[w+s[d][0]]=w+s[d][1],w+=s[d][1]-s[d][0]-1;return u}const Bi={tokenize:Ui,resolve:Hi},ji={tokenize:qi,partial:!0};function Hi(n){return Ht(n),n}function Ui(n,e){let t;return r;function r(a){return n.enter("content"),t=n.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?l(a):L(a)?n.check(ji,o,l)(a):(n.consume(a),i)}function l(a){return n.exit("chunkContent"),n.exit("content"),e(a)}function o(a){return n.consume(a),n.exit("chunkContent"),t.next=n.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,i}}function qi(n,e,t){const r=this;return i;function i(o){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),q(n,l,"linePrefix")}function l(o){if(o===null||L(o))return t(o);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(o):n.interrupt(r.parser.constructs.flow,t,e)(o)}}function Ut(n,e,t,r,i,l,o,a,s){const u=s||Number.POSITIVE_INFINITY;let c=0;return p;function p(x){return x===60?(n.enter(r),n.enter(i),n.enter(l),n.consume(x),n.exit(l),d):x===null||x===32||x===41||he(x)?t(x):(n.enter(r),n.enter(o),n.enter(a),n.enter("chunkString",{contentType:"string"}),b(x))}function d(x){return x===62?(n.enter(l),n.consume(x),n.exit(l),n.exit(i),n.exit(r),e):(n.enter(a),n.enter("chunkString",{contentType:"string"}),f(x))}function f(x){return x===62?(n.exit("chunkString"),n.exit(a),d(x)):x===null||x===60||L(x)?t(x):(n.consume(x),x===92?w:f)}function w(x){return x===60||x===62||x===92?(n.consume(x),f):f(x)}function b(x){return!c&&(x===null||x===41||J(x))?(n.exit("chunkString"),n.exit(a),n.exit(o),n.exit(r),e(x)):c<u&&x===40?(n.consume(x),c++,b):x===41?(n.consume(x),c--,b):x===null||x===32||x===40||he(x)?t(x):(n.consume(x),x===92?A:b)}function A(x){return x===40||x===41||x===92?(n.consume(x),b):b(x)}}function qt(n,e,t,r,i,l){const o=this;let a=0,s;return u;function u(f){return n.enter(r),n.enter(i),n.consume(f),n.exit(i),n.enter(l),c}function c(f){return a>999||f===null||f===91||f===93&&!s||f===94&&!a&&"_hiddenFootnoteSupport"in o.parser.constructs?t(f):f===93?(n.exit(l),n.enter(i),n.consume(f),n.exit(i),n.exit(r),e):L(f)?(n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),c):(n.enter("chunkString",{contentType:"string"}),p(f))}function p(f){return f===null||f===91||f===93||L(f)||a++>999?(n.exit("chunkString"),c(f)):(n.consume(f),s||(s=!_(f)),f===92?d:p)}function d(f){return f===91||f===92||f===93?(n.consume(f),a++,p):p(f)}}function Vt(n,e,t,r,i,l){let o;return a;function a(d){return d===34||d===39||d===40?(n.enter(r),n.enter(i),n.consume(d),n.exit(i),o=d===40?41:d,s):t(d)}function s(d){return d===o?(n.enter(i),n.consume(d),n.exit(i),n.exit(r),e):(n.enter(l),u(d))}function u(d){return d===o?(n.exit(l),s(o)):d===null?t(d):L(d)?(n.enter("lineEnding"),n.consume(d),n.exit("lineEnding"),q(n,u,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===o||d===null||L(d)?(n.exit("chunkString"),u(d)):(n.consume(d),d===92?p:c)}function p(d){return d===o||d===92?(n.consume(d),c):c(d)}}function Rn(n,e){let t;return r;function r(i){return L(i)?(n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),t=!0,r):_(i)?q(n,r,t?"linePrefix":"lineSuffix")(i):e(i)}}const Vi={name:"definition",tokenize:Wi},$i={tokenize:Qi,partial:!0};function Wi(n,e,t){const r=this;let i;return l;function l(f){return n.enter("definition"),o(f)}function o(f){return qt.call(r,n,a,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function a(f){return i=Pn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),f===58?(n.enter("definitionMarker"),n.consume(f),n.exit("definitionMarker"),s):t(f)}function s(f){return J(f)?Rn(n,u)(f):u(f)}function u(f){return Ut(n,c,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function c(f){return n.attempt($i,p,p)(f)}function p(f){return _(f)?q(n,d,"whitespace")(f):d(f)}function d(f){return f===null||L(f)?(n.exit("definition"),r.parser.defined.push(i),e(f)):t(f)}}function Qi(n,e,t){return r;function r(a){return J(a)?Rn(n,i)(a):t(a)}function i(a){return Vt(n,l,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function l(a){return _(a)?q(n,o,"whitespace")(a):o(a)}function o(a){return a===null||L(a)?e(a):t(a)}}const Xi={name:"hardBreakEscape",tokenize:Yi};function Yi(n,e,t){return r;function r(l){return n.enter("hardBreakEscape"),n.consume(l),i}function i(l){return L(l)?(n.exit("hardBreakEscape"),e(l)):t(l)}}const Ki={name:"headingAtx",tokenize:Gi,resolve:Ji};function Ji(n,e){let t=n.length-2,r=3,i,l;return n[r][1].type==="whitespace"&&(r+=2),t-2>r&&n[t][1].type==="whitespace"&&(t-=2),n[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&n[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(i={type:"atxHeadingText",start:n[r][1].start,end:n[t][1].end},l={type:"chunkText",start:n[r][1].start,end:n[t][1].end,contentType:"text"},cn(n,r,t-r+1,[["enter",i,e],["enter",l,e],["exit",l,e],["exit",i,e]])),n}function Gi(n,e,t){let r=0;return i;function i(c){return n.enter("atxHeading"),l(c)}function l(c){return n.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&r++<6?(n.consume(c),o):c===null||J(c)?(n.exit("atxHeadingSequence"),a(c)):t(c)}function a(c){return c===35?(n.enter("atxHeadingSequence"),s(c)):c===null||L(c)?(n.exit("atxHeading"),e(c)):_(c)?q(n,a,"whitespace")(c):(n.enter("atxHeadingText"),u(c))}function s(c){return c===35?(n.consume(c),s):(n.exit("atxHeadingSequence"),a(c))}function u(c){return c===null||c===35||J(c)?(n.exit("atxHeadingText"),a(c)):(n.consume(c),u)}}const Zi=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],et=["pre","script","style","textarea"],nl={name:"htmlFlow",tokenize:il,resolveTo:rl,concrete:!0},el={tokenize:ol,partial:!0},tl={tokenize:ll,partial:!0};function rl(n){let e=n.length;for(;e--&&!(n[e][0]==="enter"&&n[e][1].type==="htmlFlow"););return e>1&&n[e-2][1].type==="linePrefix"&&(n[e][1].start=n[e-2][1].start,n[e+1][1].start=n[e-2][1].start,n.splice(e-2,2)),n}function il(n,e,t){const r=this;let i,l,o,a,s;return u;function u(m){return c(m)}function c(m){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(m),p}function p(m){return m===33?(n.consume(m),d):m===47?(n.consume(m),l=!0,b):m===63?(n.consume(m),i=3,r.interrupt?e:h):sn(m)?(n.consume(m),o=String.fromCharCode(m),A):t(m)}function d(m){return m===45?(n.consume(m),i=2,f):m===91?(n.consume(m),i=5,a=0,w):sn(m)?(n.consume(m),i=4,r.interrupt?e:h):t(m)}function f(m){return m===45?(n.consume(m),r.interrupt?e:h):t(m)}function w(m){const on="CDATA[";return m===on.charCodeAt(a++)?(n.consume(m),a===on.length?r.interrupt?e:P:w):t(m)}function b(m){return sn(m)?(n.consume(m),o=String.fromCharCode(m),A):t(m)}function A(m){if(m===null||m===47||m===62||J(m)){const on=m===47,xn=o.toLowerCase();return!on&&!l&&et.includes(xn)?(i=1,r.interrupt?e(m):P(m)):Zi.includes(o.toLowerCase())?(i=6,on?(n.consume(m),x):r.interrupt?e(m):P(m)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(m):l?C(m):E(m))}return m===45||nn(m)?(n.consume(m),o+=String.fromCharCode(m),A):t(m)}function x(m){return m===62?(n.consume(m),r.interrupt?e:P):t(m)}function C(m){return _(m)?(n.consume(m),C):j(m)}function E(m){return m===47?(n.consume(m),j):m===58||m===95||sn(m)?(n.consume(m),M):_(m)?(n.consume(m),E):j(m)}function M(m){return m===45||m===46||m===58||m===95||nn(m)?(n.consume(m),M):F(m)}function F(m){return m===61?(n.consume(m),y):_(m)?(n.consume(m),F):E(m)}function y(m){return m===null||m===60||m===61||m===62||m===96?t(m):m===34||m===39?(n.consume(m),s=m,R):_(m)?(n.consume(m),y):V(m)}function R(m){return m===s?(n.consume(m),s=null,B):m===null||L(m)?t(m):(n.consume(m),R)}function V(m){return m===null||m===34||m===39||m===47||m===60||m===61||m===62||m===96||J(m)?F(m):(n.consume(m),V)}function B(m){return m===47||m===62||_(m)?E(m):t(m)}function j(m){return m===62?(n.consume(m),z):t(m)}function z(m){return m===null||L(m)?P(m):_(m)?(n.consume(m),z):t(m)}function P(m){return m===45&&i===2?(n.consume(m),W):m===60&&i===1?(n.consume(m),Q):m===62&&i===4?(n.consume(m),ln):m===63&&i===3?(n.consume(m),h):m===93&&i===5?(n.consume(m),pn):L(m)&&(i===6||i===7)?(n.exit("htmlFlowData"),n.check(el,fn,T)(m)):m===null||L(m)?(n.exit("htmlFlowData"),T(m)):(n.consume(m),P)}function T(m){return n.check(tl,I,fn)(m)}function I(m){return n.enter("lineEnding"),n.consume(m),n.exit("lineEnding"),O}function O(m){return m===null||L(m)?T(m):(n.enter("htmlFlowData"),P(m))}function W(m){return m===45?(n.consume(m),h):P(m)}function Q(m){return m===47?(n.consume(m),o="",rn):P(m)}function rn(m){if(m===62){const on=o.toLowerCase();return et.includes(on)?(n.consume(m),ln):P(m)}return sn(m)&&o.length<8?(n.consume(m),o+=String.fromCharCode(m),rn):P(m)}function pn(m){return m===93?(n.consume(m),h):P(m)}function h(m){return m===62?(n.consume(m),ln):m===45&&i===2?(n.consume(m),h):P(m)}function ln(m){return m===null||L(m)?(n.exit("htmlFlowData"),fn(m)):(n.consume(m),ln)}function fn(m){return n.exit("htmlFlow"),e(m)}}function ll(n,e,t){const r=this;return i;function i(o){return L(o)?(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),l):t(o)}function l(o){return r.parser.lazy[r.now().line]?t(o):e(o)}}function ol(n,e,t){return r;function r(i){return n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),n.attempt(Qn,e,t)}}const al={name:"htmlText",tokenize:ul};function ul(n,e,t){const r=this;let i,l,o;return a;function a(h){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(h),s}function s(h){return h===33?(n.consume(h),u):h===47?(n.consume(h),F):h===63?(n.consume(h),E):sn(h)?(n.consume(h),V):t(h)}function u(h){return h===45?(n.consume(h),c):h===91?(n.consume(h),l=0,w):sn(h)?(n.consume(h),C):t(h)}function c(h){return h===45?(n.consume(h),f):t(h)}function p(h){return h===null?t(h):h===45?(n.consume(h),d):L(h)?(o=p,Q(h)):(n.consume(h),p)}function d(h){return h===45?(n.consume(h),f):p(h)}function f(h){return h===62?W(h):h===45?d(h):p(h)}function w(h){const ln="CDATA[";return h===ln.charCodeAt(l++)?(n.consume(h),l===ln.length?b:w):t(h)}function b(h){return h===null?t(h):h===93?(n.consume(h),A):L(h)?(o=b,Q(h)):(n.consume(h),b)}function A(h){return h===93?(n.consume(h),x):b(h)}function x(h){return h===62?W(h):h===93?(n.consume(h),x):b(h)}function C(h){return h===null||h===62?W(h):L(h)?(o=C,Q(h)):(n.consume(h),C)}function E(h){return h===null?t(h):h===63?(n.consume(h),M):L(h)?(o=E,Q(h)):(n.consume(h),E)}function M(h){return h===62?W(h):E(h)}function F(h){return sn(h)?(n.consume(h),y):t(h)}function y(h){return h===45||nn(h)?(n.consume(h),y):R(h)}function R(h){return L(h)?(o=R,Q(h)):_(h)?(n.consume(h),R):W(h)}function V(h){return h===45||nn(h)?(n.consume(h),V):h===47||h===62||J(h)?B(h):t(h)}function B(h){return h===47?(n.consume(h),W):h===58||h===95||sn(h)?(n.consume(h),j):L(h)?(o=B,Q(h)):_(h)?(n.consume(h),B):W(h)}function j(h){return h===45||h===46||h===58||h===95||nn(h)?(n.consume(h),j):z(h)}function z(h){return h===61?(n.consume(h),P):L(h)?(o=z,Q(h)):_(h)?(n.consume(h),z):B(h)}function P(h){return h===null||h===60||h===61||h===62||h===96?t(h):h===34||h===39?(n.consume(h),i=h,T):L(h)?(o=P,Q(h)):_(h)?(n.consume(h),P):(n.consume(h),I)}function T(h){return h===i?(n.consume(h),i=void 0,O):h===null?t(h):L(h)?(o=T,Q(h)):(n.consume(h),T)}function I(h){return h===null||h===34||h===39||h===60||h===61||h===96?t(h):h===47||h===62||J(h)?B(h):(n.consume(h),I)}function O(h){return h===47||h===62||J(h)?B(h):t(h)}function W(h){return h===62?(n.consume(h),n.exit("htmlTextData"),n.exit("htmlText"),e):t(h)}function Q(h){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(h),n.exit("lineEnding"),rn}function rn(h){return _(h)?q(n,pn,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h):pn(h)}function pn(h){return n.enter("htmlTextData"),o(h)}}const Pe={name:"labelEnd",tokenize:ml,resolveTo:hl,resolveAll:fl},sl={tokenize:dl},cl={tokenize:gl},pl={tokenize:yl};function fl(n){let e=-1;for(;++e<n.length;){const t=n[e][1];(t.type==="labelImage"||t.type==="labelLink"||t.type==="labelEnd")&&(n.splice(e+1,t.type==="labelImage"?4:2),t.type="data",e++)}return n}function hl(n,e){let t=n.length,r=0,i,l,o,a;for(;t--;)if(i=n[t][1],l){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;n[t][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(n[t][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(l=t,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=t);const s={type:n[l][1].type==="labelLink"?"link":"image",start:Object.assign({},n[l][1].start),end:Object.assign({},n[n.length-1][1].end)},u={type:"label",start:Object.assign({},n[l][1].start),end:Object.assign({},n[o][1].end)},c={type:"labelText",start:Object.assign({},n[l+r+2][1].end),end:Object.assign({},n[o-2][1].start)};return a=[["enter",s,e],["enter",u,e]],a=en(a,n.slice(l+1,l+r+3)),a=en(a,[["enter",c,e]]),a=en(a,Ae(e.parser.constructs.insideSpan.null,n.slice(l+r+4,o-3),e)),a=en(a,[["exit",c,e],n[o-2],n[o-1],["exit",u,e]]),a=en(a,n.slice(o+1)),a=en(a,[["exit",s,e]]),cn(n,l,n.length,a),n}function ml(n,e,t){const r=this;let i=r.events.length,l,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){l=r.events[i][1];break}return a;function a(d){return l?l._inactive?p(d):(o=r.parser.defined.includes(Pn(r.sliceSerialize({start:l.end,end:r.now()}))),n.enter("labelEnd"),n.enter("labelMarker"),n.consume(d),n.exit("labelMarker"),n.exit("labelEnd"),s):t(d)}function s(d){return d===40?n.attempt(sl,c,o?c:p)(d):d===91?n.attempt(cl,c,o?u:p)(d):o?c(d):p(d)}function u(d){return n.attempt(pl,c,p)(d)}function c(d){return e(d)}function p(d){return l._balanced=!0,t(d)}}function dl(n,e,t){return r;function r(p){return n.enter("resource"),n.enter("resourceMarker"),n.consume(p),n.exit("resourceMarker"),i}function i(p){return J(p)?Rn(n,l)(p):l(p)}function l(p){return p===41?c(p):Ut(n,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function o(p){return J(p)?Rn(n,s)(p):c(p)}function a(p){return t(p)}function s(p){return p===34||p===39||p===40?Vt(n,u,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):c(p)}function u(p){return J(p)?Rn(n,c)(p):c(p)}function c(p){return p===41?(n.enter("resourceMarker"),n.consume(p),n.exit("resourceMarker"),n.exit("resource"),e):t(p)}}function gl(n,e,t){const r=this;return i;function i(a){return qt.call(r,n,l,o,"reference","referenceMarker","referenceString")(a)}function l(a){return r.parser.defined.includes(Pn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?e(a):t(a)}function o(a){return t(a)}}function yl(n,e,t){return r;function r(l){return n.enter("reference"),n.enter("referenceMarker"),n.consume(l),n.exit("referenceMarker"),i}function i(l){return l===93?(n.enter("referenceMarker"),n.consume(l),n.exit("referenceMarker"),n.exit("reference"),e):t(l)}}const xl={name:"labelStartImage",tokenize:kl,resolveAll:Pe.resolveAll};function kl(n,e,t){const r=this;return i;function i(a){return n.enter("labelImage"),n.enter("labelImageMarker"),n.consume(a),n.exit("labelImageMarker"),l}function l(a){return a===91?(n.enter("labelMarker"),n.consume(a),n.exit("labelMarker"),n.exit("labelImage"),o):t(a)}function o(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(a):e(a)}}const bl={name:"labelStartLink",tokenize:wl,resolveAll:Pe.resolveAll};function wl(n,e,t){const r=this;return i;function i(o){return n.enter("labelLink"),n.enter("labelMarker"),n.consume(o),n.exit("labelMarker"),n.exit("labelLink"),l}function l(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(o):e(o)}}const ee={name:"lineEnding",tokenize:Sl};function Sl(n,e){return t;function t(r){return n.enter("lineEnding"),n.consume(r),n.exit("lineEnding"),q(n,e,"linePrefix")}}const qn={name:"thematicBreak",tokenize:Cl};function Cl(n,e,t){let r=0,i;return l;function l(u){return n.enter("thematicBreak"),o(u)}function o(u){return i=u,a(u)}function a(u){return u===i?(n.enter("thematicBreakSequence"),s(u)):r>=3&&(u===null||L(u))?(n.exit("thematicBreak"),e(u)):t(u)}function s(u){return u===i?(n.consume(u),r++,s):(n.exit("thematicBreakSequence"),_(u)?q(n,a,"whitespace")(u):a(u))}}const K={name:"list",tokenize:Al,continuation:{tokenize:Pl},exit:zl},El={tokenize:Ll,partial:!0},Il={tokenize:Tl,partial:!0};function Al(n,e,t){const r=this,i=r.events[r.events.length-1];let l=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return a;function a(f){const w=r.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(w==="listUnordered"?!r.containerState.marker||f===r.containerState.marker:me(f)){if(r.containerState.type||(r.containerState.type=w,n.enter(w,{_container:!0})),w==="listUnordered")return n.enter("listItemPrefix"),f===42||f===45?n.check(qn,t,u)(f):u(f);if(!r.interrupt||f===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),s(f)}return t(f)}function s(f){return me(f)&&++o<10?(n.consume(f),s):(!r.interrupt||o<2)&&(r.containerState.marker?f===r.containerState.marker:f===41||f===46)?(n.exit("listItemValue"),u(f)):t(f)}function u(f){return n.enter("listItemMarker"),n.consume(f),n.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||f,n.check(Qn,r.interrupt?t:c,n.attempt(El,d,p))}function c(f){return r.containerState.initialBlankLine=!0,l++,d(f)}function p(f){return _(f)?(n.enter("listItemPrefixWhitespace"),n.consume(f),n.exit("listItemPrefixWhitespace"),d):t(f)}function d(f){return r.containerState.size=l+r.sliceSerialize(n.exit("listItemPrefix"),!0).length,e(f)}}function Pl(n,e,t){const r=this;return r.containerState._closeFlow=void 0,n.check(Qn,i,l);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,q(n,e,"listItemIndent",r.containerState.size+1)(a)}function l(a){return r.containerState.furtherBlankLines||!_(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,n.attempt(Il,e,o)(a))}function o(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,q(n,n.attempt(K,e,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function Tl(n,e,t){const r=this;return q(n,i,"listItemIndent",r.containerState.size+1);function i(l){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?e(l):t(l)}}function zl(n){n.exit(this.containerState.type)}function Ll(n,e,t){const r=this;return q(n,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(l){const o=r.events[r.events.length-1];return!_(l)&&o&&o[1].type==="listItemPrefixWhitespace"?e(l):t(l)}}const tt={name:"setextUnderline",tokenize:Dl,resolveTo:Ol};function Ol(n,e){let t=n.length,r,i,l;for(;t--;)if(n[t][0]==="enter"){if(n[t][1].type==="content"){r=t;break}n[t][1].type==="paragraph"&&(i=t)}else n[t][1].type==="content"&&n.splice(t,1),!l&&n[t][1].type==="definition"&&(l=t);const o={type:"setextHeading",start:Object.assign({},n[i][1].start),end:Object.assign({},n[n.length-1][1].end)};return n[i][1].type="setextHeadingText",l?(n.splice(i,0,["enter",o,e]),n.splice(l+1,0,["exit",n[r][1],e]),n[r][1].end=Object.assign({},n[l][1].end)):n[r][1]=o,n.push(["exit",o,e]),n}function Dl(n,e,t){const r=this;let i;return l;function l(u){let c=r.events.length,p;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){p=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||p)?(n.enter("setextHeadingLine"),i=u,o(u)):t(u)}function o(u){return n.enter("setextHeadingLineSequence"),a(u)}function a(u){return u===i?(n.consume(u),a):(n.exit("setextHeadingLineSequence"),_(u)?q(n,s,"lineSuffix")(u):s(u))}function s(u){return u===null||L(u)?(n.exit("setextHeadingLine"),e(u)):t(u)}}const vl={tokenize:Fl};function Fl(n){const e=this,t=n.attempt(Qn,r,n.attempt(this.parser.constructs.flowInitial,i,q(n,n.attempt(this.parser.constructs.flow,i,n.attempt(Bi,i)),"linePrefix")));return t;function r(l){if(l===null){n.consume(l);return}return n.enter("lineEndingBlank"),n.consume(l),n.exit("lineEndingBlank"),e.currentConstruct=void 0,t}function i(l){if(l===null){n.consume(l);return}return n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),e.currentConstruct=void 0,t}}const Rl={resolveAll:Wt()},Ml=$t("string"),Nl=$t("text");function $t(n){return{tokenize:e,resolveAll:Wt(n==="text"?_l:void 0)};function e(t){const r=this,i=this.parser.constructs[n],l=t.attempt(i,o,a);return o;function o(c){return u(c)?l(c):a(c)}function a(c){if(c===null){t.consume(c);return}return t.enter("data"),t.consume(c),s}function s(c){return u(c)?(t.exit("data"),l(c)):(t.consume(c),s)}function u(c){if(c===null)return!0;const p=i[c];let d=-1;if(p)for(;++d<p.length;){const f=p[d];if(!f.previous||f.previous.call(r,r.previous))return!0}return!1}}}function Wt(n){return e;function e(t,r){let i=-1,l;for(;++i<=t.length;)l===void 0?t[i]&&t[i][1].type==="data"&&(l=i,i++):(!t[i]||t[i][1].type!=="data")&&(i!==l+2&&(t[l][1].end=t[i-1][1].end,t.splice(l+2,i-l-2),i=l+2),l=void 0);return n?n(t,r):t}}function _l(n,e){let t=0;for(;++t<=n.length;)if((t===n.length||n[t][1].type==="lineEnding")&&n[t-1][1].type==="data"){const r=n[t-1][1],i=e.sliceStream(r);let l=i.length,o=-1,a=0,s;for(;l--;){const u=i[l];if(typeof u=="string"){for(o=u.length;u.charCodeAt(o-1)===32;)a++,o--;if(o)break;o=-1}else if(u===-2)s=!0,a++;else if(u!==-1){l++;break}}if(a){const u={type:t===n.length||s||a<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-a,offset:r.end.offset-a,_index:r.start._index+l,_bufferIndex:l?o:r.start._bufferIndex+o},end:Object.assign({},r.end)};r.end=Object.assign({},u.start),r.start.offset===r.end.offset?Object.assign(r,u):(n.splice(t,0,["enter",u,e],["exit",u,e]),t+=2)}t++}return n}function Bl(n,e,t){let r=Object.assign(t?Object.assign({},t):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},l=[];let o=[],a=[];const s={consume:C,enter:E,exit:M,attempt:R(F),check:R(y),interrupt:R(y,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:n,sliceStream:f,sliceSerialize:d,now:w,defineSkip:b,write:p};let c=e.tokenize.call(u,s);return e.resolveAll&&l.push(e),u;function p(z){return o=en(o,z),A(),o[o.length-1]!==null?[]:(V(e,0),u.events=Ae(l,u.events,u),u.events)}function d(z,P){return Hl(f(z),P)}function f(z){return jl(o,z)}function w(){const{line:z,column:P,offset:T,_index:I,_bufferIndex:O}=r;return{line:z,column:P,offset:T,_index:I,_bufferIndex:O}}function b(z){i[z.line]=z.column,j()}function A(){let z;for(;r._index<o.length;){const P=o[r._index];if(typeof P=="string")for(z=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===z&&r._bufferIndex<P.length;)x(P.charCodeAt(r._bufferIndex));else x(P)}}function x(z){c=c(z)}function C(z){L(z)?(r.line++,r.column=1,r.offset+=z===-3?2:1,j()):z!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=z}function E(z,P){const T=P||{};return T.type=z,T.start=w(),u.events.push(["enter",T,u]),a.push(T),T}function M(z){const P=a.pop();return P.end=w(),u.events.push(["exit",P,u]),P}function F(z,P){V(z,P.from)}function y(z,P){P.restore()}function R(z,P){return T;function T(I,O,W){let Q,rn,pn,h;return Array.isArray(I)?fn(I):"tokenize"in I?fn([I]):ln(I);function ln(X){return Ln;function Ln(dn){const Sn=dn!==null&&X[dn],kn=dn!==null&&X.null,Kn=[...Array.isArray(Sn)?Sn:Sn?[Sn]:[],...Array.isArray(kn)?kn:kn?[kn]:[]];return fn(Kn)(dn)}}function fn(X){return Q=X,rn=0,X.length===0?W:m(X[rn])}function m(X){return Ln;function Ln(dn){return h=B(),pn=X,X.partial||(u.currentConstruct=X),X.name&&u.parser.constructs.disable.null.includes(X.name)?xn():X.tokenize.call(P?Object.assign(Object.create(u),P):u,s,on,xn)(dn)}}function on(X){return z(pn,h),O}function xn(X){return h.restore(),++rn<Q.length?m(Q[rn]):W}}}function V(z,P){z.resolveAll&&!l.includes(z)&&l.push(z),z.resolve&&cn(u.events,P,u.events.length-P,z.resolve(u.events.slice(P),u)),z.resolveTo&&(u.events=z.resolveTo(u.events,u))}function B(){const z=w(),P=u.previous,T=u.currentConstruct,I=u.events.length,O=Array.from(a);return{restore:W,from:I};function W(){r=z,u.previous=P,u.currentConstruct=T,u.events.length=I,a=O,j()}}function j(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function jl(n,e){const t=e.start._index,r=e.start._bufferIndex,i=e.end._index,l=e.end._bufferIndex;let o;if(t===i)o=[n[t].slice(r,l)];else{if(o=n.slice(t,i),r>-1){const a=o[0];typeof a=="string"?o[0]=a.slice(r):o.shift()}l>0&&o.push(n[i].slice(0,l))}return o}function Hl(n,e){let t=-1;const r=[];let i;for(;++t<n.length;){const l=n[t];let o;if(typeof l=="string")o=l;else switch(l){case-5:{o="\r";break}case-4:{o=`
|
3
3
|
`;break}case-3:{o=`\r
|
4
4
|
`;break}case-2:{o=e?" ":" ";break}case-1:{if(!e&&i)continue;o=" ";break}default:o=String.fromCharCode(l)}i=l===-2,r.push(o)}return r.join("")}const Ul={42:K,43:K,45:K,48:K,49:K,50:K,51:K,52:K,53:K,54:K,55:K,56:K,57:K,62:_t},ql={91:Vi},Vl={[-2]:ne,[-1]:ne,32:ne},$l={35:Ki,42:qn,45:[tt,qn],60:nl,61:tt,95:qn,96:nt,126:nt},Wl={38:jt,92:Bt},Ql={[-5]:ee,[-4]:ee,[-3]:ee,33:xl,38:jt,42:de,60:[wi,al],91:bl,92:[Xi,Bt],93:Pe,95:de,96:Fi},Xl={null:[de,Rl]},Yl={null:[42,95]},Kl={null:[]},Jl=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Yl,contentInitial:ql,disable:Kl,document:Ul,flow:$l,flowInitial:Vl,insideSpan:Xl,string:Wl,text:Ql},Symbol.toStringTag,{value:"Module"}));function Gl(n){const t=oi([Jl,...(n||{}).extensions||[]]),r={defined:[],lazy:{},constructs:t,content:i(mi),document:i(gi),flow:i(vl),string:i(Ml),text:i(Nl)};return r;function i(l){return o;function o(a){return Bl(r,l,a)}}}function Zl(n){for(;!Ht(n););return n}const rt=/[\0\t\n\r]/g;function no(){let n=1,e="",t=!0,r;return i;function i(l,o,a){const s=[];let u,c,p,d,f;for(l=e+(typeof l=="string"?l.toString():new TextDecoder(o||void 0).decode(l)),p=0,e="",t&&(l.charCodeAt(0)===65279&&p++,t=void 0);p<l.length;){if(rt.lastIndex=p,u=rt.exec(l),d=u&&u.index!==void 0?u.index:l.length,f=l.charCodeAt(d),!u){e=l.slice(p);break}if(f===10&&p===d&&r)s.push(-3),r=void 0;else switch(r&&(s.push(-5),r=void 0),p<d&&(s.push(l.slice(p,d)),n+=d-p),f){case 0:{s.push(65533),n++;break}case 9:{for(c=Math.ceil(n/4)*4,s.push(-2);n++<c;)s.push(-1);break}case 10:{s.push(-4),n=1;break}default:r=!0,n=1}p=d+1}return a&&(r&&s.push(-5),e&&s.push(e),s.push(null)),s}}const eo=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function to(n){return n.replace(eo,ro)}function ro(n,e,t){if(e)return e;if(t.charCodeAt(0)===35){const i=t.charCodeAt(1),l=i===120||i===88;return Nt(t.slice(l?2:1),l?16:10)}return Ie(t)||n}const Qt={}.hasOwnProperty;function io(n,e,t){return typeof e!="string"&&(t=e,e=void 0),lo(t)(Zl(Gl(t).document().write(no()(n,e,!0))))}function lo(n){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(Me),autolinkProtocol:B,autolinkEmail:B,atxHeading:l(ve),blockQuote:l(Sn),characterEscape:B,characterReference:B,codeFenced:l(kn),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:l(kn,o),codeText:l(Kn,o),codeTextData:B,data:B,codeFlowValue:B,definition:l(ir),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:l(lr),hardBreakEscape:l(Fe),hardBreakTrailing:l(Fe),htmlFlow:l(Re,o),htmlFlowData:B,htmlText:l(Re,o),htmlTextData:B,image:l(or),label:o,link:l(Me),listItem:l(ar),listItemValue:d,listOrdered:l(Ne,p),listUnordered:l(Ne),paragraph:l(ur),reference:m,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:l(ve),strong:l(sr),thematicBreak:l(pr)},exit:{atxHeading:s(),atxHeadingSequence:F,autolink:s(),autolinkEmail:dn,autolinkProtocol:Ln,blockQuote:s(),characterEscapeValue:j,characterReferenceMarkerHexadecimal:xn,characterReferenceMarkerNumeric:xn,characterReferenceValue:X,codeFenced:s(A),codeFencedFence:b,codeFencedFenceInfo:f,codeFencedFenceMeta:w,codeFlowValue:j,codeIndented:s(x),codeText:s(O),codeTextData:j,data:j,definition:s(),definitionDestinationString:M,definitionLabelString:C,definitionTitleString:E,emphasis:s(),hardBreakEscape:s(P),hardBreakTrailing:s(P),htmlFlow:s(T),htmlFlowData:j,htmlText:s(I),htmlTextData:j,image:s(Q),label:pn,labelText:rn,lineEnding:z,link:s(W),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:on,resourceDestinationString:h,resourceTitleString:ln,resource:fn,setextHeading:s(V),setextHeadingLineSequence:R,setextHeadingText:y,strong:s(),thematicBreak:s()}};Xt(e,(n||{}).mdastExtensions||[]);const t={};return r;function r(g){let S={type:"root",children:[]};const D={stack:[S],tokenStack:[],config:e,enter:a,exit:u,buffer:o,resume:c,data:t},N=[];let H=-1;for(;++H<g.length;)if(g[H][1].type==="listOrdered"||g[H][1].type==="listUnordered")if(g[H][0]==="enter")N.push(H);else{const an=N.pop();H=i(g,an,H)}for(H=-1;++H<g.length;){const an=e[g[H][0]];Qt.call(an,g[H][1].type)&&an[g[H][1].type].call(Object.assign({sliceSerialize:g[H][2].sliceSerialize},D),g[H][1])}if(D.tokenStack.length>0){const an=D.tokenStack[D.tokenStack.length-1];(an[1]||it).call(D,void 0,an[0])}for(S.position={start:gn(g.length>0?g[0][1].start:{line:1,column:1,offset:0}),end:gn(g.length>0?g[g.length-2][1].end:{line:1,column:1,offset:0})},H=-1;++H<e.transforms.length;)S=e.transforms[H](S)||S;return S}function i(g,S,D){let N=S-1,H=-1,an=!1,bn,hn,On,Dn;for(;++N<=D;){const G=g[N];switch(G[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{G[0]==="enter"?H++:H--,Dn=void 0;break}case"lineEndingBlank":{G[0]==="enter"&&(bn&&!Dn&&!H&&!On&&(On=N),Dn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Dn=void 0}if(!H&&G[0]==="enter"&&G[1].type==="listItemPrefix"||H===-1&&G[0]==="exit"&&(G[1].type==="listUnordered"||G[1].type==="listOrdered")){if(bn){let Cn=N;for(hn=void 0;Cn--;){const mn=g[Cn];if(mn[1].type==="lineEnding"||mn[1].type==="lineEndingBlank"){if(mn[0]==="exit")continue;hn&&(g[hn][1].type="lineEndingBlank",an=!0),mn[1].type="lineEnding",hn=Cn}else if(!(mn[1].type==="linePrefix"||mn[1].type==="blockQuotePrefix"||mn[1].type==="blockQuotePrefixWhitespace"||mn[1].type==="blockQuoteMarker"||mn[1].type==="listItemIndent"))break}On&&(!hn||On<hn)&&(bn._spread=!0),bn.end=Object.assign({},hn?g[hn][1].start:G[1].end),g.splice(hn||N,0,["exit",bn,G[2]]),N++,D++}if(G[1].type==="listItemPrefix"){const Cn={type:"listItem",_spread:!1,start:Object.assign({},G[1].start),end:void 0};bn=Cn,g.splice(N,0,["enter",Cn,G[2]]),N++,D++,On=void 0,Dn=!0}}}return g[S][1]._spread=an,D}function l(g,S){return D;function D(N){a.call(this,g(N),N),S&&S.call(this,N)}}function o(){this.stack.push({type:"fragment",children:[]})}function a(g,S,D){this.stack[this.stack.length-1].children.push(g),this.stack.push(g),this.tokenStack.push([S,D]),g.position={start:gn(S.start),end:void 0}}function s(g){return S;function S(D){g&&g.call(this,D),u.call(this,D)}}function u(g,S){const D=this.stack.pop(),N=this.tokenStack.pop();if(N)N[0].type!==g.type&&(S?S.call(this,g,N[0]):(N[1]||it).call(this,g,N[0]));else throw new Error("Cannot close `"+g.type+"` ("+Fn({start:g.start,end:g.end})+"): it’s not open");D.position.end=gn(g.end)}function c(){return ii(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function d(g){if(this.data.expectingFirstListItemValue){const S=this.stack[this.stack.length-2];S.start=Number.parseInt(this.sliceSerialize(g),10),this.data.expectingFirstListItemValue=void 0}}function f(){const g=this.resume(),S=this.stack[this.stack.length-1];S.lang=g}function w(){const g=this.resume(),S=this.stack[this.stack.length-1];S.meta=g}function b(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function A(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function x(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g.replace(/(\r?\n|\r)$/g,"")}function C(g){const S=this.resume(),D=this.stack[this.stack.length-1];D.label=S,D.identifier=Pn(this.sliceSerialize(g)).toLowerCase()}function E(){const g=this.resume(),S=this.stack[this.stack.length-1];S.title=g}function M(){const g=this.resume(),S=this.stack[this.stack.length-1];S.url=g}function F(g){const S=this.stack[this.stack.length-1];if(!S.depth){const D=this.sliceSerialize(g).length;S.depth=D}}function y(){this.data.setextHeadingSlurpLineEnding=!0}function R(g){const S=this.stack[this.stack.length-1];S.depth=this.sliceSerialize(g).codePointAt(0)===61?1:2}function V(){this.data.setextHeadingSlurpLineEnding=void 0}function B(g){const D=this.stack[this.stack.length-1].children;let N=D[D.length-1];(!N||N.type!=="text")&&(N=cr(),N.position={start:gn(g.start),end:void 0},D.push(N)),this.stack.push(N)}function j(g){const S=this.stack.pop();S.value+=this.sliceSerialize(g),S.position.end=gn(g.end)}function z(g){const S=this.stack[this.stack.length-1];if(this.data.atHardBreak){const D=S.children[S.children.length-1];D.position.end=gn(g.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(S.type)&&(B.call(this,g),j.call(this,g))}function P(){this.data.atHardBreak=!0}function T(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g}function I(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g}function O(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g}function W(){const g=this.stack[this.stack.length-1];if(this.data.inReference){const S=this.data.referenceType||"shortcut";g.type+="Reference",g.referenceType=S,delete g.url,delete g.title}else delete g.identifier,delete g.label;this.data.referenceType=void 0}function Q(){const g=this.stack[this.stack.length-1];if(this.data.inReference){const S=this.data.referenceType||"shortcut";g.type+="Reference",g.referenceType=S,delete g.url,delete g.title}else delete g.identifier,delete g.label;this.data.referenceType=void 0}function rn(g){const S=this.sliceSerialize(g),D=this.stack[this.stack.length-2];D.label=to(S),D.identifier=Pn(S).toLowerCase()}function pn(){const g=this.stack[this.stack.length-1],S=this.resume(),D=this.stack[this.stack.length-1];if(this.data.inReference=!0,D.type==="link"){const N=g.children;D.children=N}else D.alt=S}function h(){const g=this.resume(),S=this.stack[this.stack.length-1];S.url=g}function ln(){const g=this.resume(),S=this.stack[this.stack.length-1];S.title=g}function fn(){this.data.inReference=void 0}function m(){this.data.referenceType="collapsed"}function on(g){const S=this.resume(),D=this.stack[this.stack.length-1];D.label=S,D.identifier=Pn(this.sliceSerialize(g)).toLowerCase(),this.data.referenceType="full"}function xn(g){this.data.characterReferenceType=g.type}function X(g){const S=this.sliceSerialize(g),D=this.data.characterReferenceType;let N;D?(N=Nt(S,D==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):N=Ie(S);const H=this.stack.pop();H.value+=N,H.position.end=gn(g.end)}function Ln(g){j.call(this,g);const S=this.stack[this.stack.length-1];S.url=this.sliceSerialize(g)}function dn(g){j.call(this,g);const S=this.stack[this.stack.length-1];S.url="mailto:"+this.sliceSerialize(g)}function Sn(){return{type:"blockquote",children:[]}}function kn(){return{type:"code",lang:null,meta:null,value:""}}function Kn(){return{type:"inlineCode",value:""}}function ir(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function lr(){return{type:"emphasis",children:[]}}function ve(){return{type:"heading",depth:0,children:[]}}function Fe(){return{type:"break"}}function Re(){return{type:"html",value:""}}function or(){return{type:"image",title:null,url:"",alt:null}}function Me(){return{type:"link",title:null,url:"",children:[]}}function Ne(g){return{type:"list",ordered:g.type==="listOrdered",start:null,spread:g._spread,children:[]}}function ar(g){return{type:"listItem",spread:g._spread,checked:null,children:[]}}function ur(){return{type:"paragraph",children:[]}}function sr(){return{type:"strong",children:[]}}function cr(){return{type:"text",value:""}}function pr(){return{type:"thematicBreak"}}}function gn(n){return{line:n.line,column:n.column,offset:n.offset}}function Xt(n,e){let t=-1;for(;++t<e.length;){const r=e[t];Array.isArray(r)?Xt(n,r):oo(n,r)}}function oo(n,e){let t;for(t in e)if(Qt.call(e,t))switch(t){case"canContainEols":{const r=e[t];r&&n[t].push(...r);break}case"transforms":{const r=e[t];r&&n[t].push(...r);break}case"enter":case"exit":{const r=e[t];r&&Object.assign(n[t],r);break}}}function it(n,e){throw n?new Error("Cannot close `"+n.type+"` ("+Fn({start:n.start,end:n.end})+"): a different token (`"+e.type+"`, "+Fn({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+Fn({start:e.start,end:e.end})+") is still open")}function ao(n){const e=this;e.parser=t;function t(r){return io(r,{...e.data("settings"),...n,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}function uo(n,e){const t={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(e),!0)};return n.patch(e,t),n.applyData(e,t)}function so(n,e){const t={type:"element",tagName:"br",properties:{},children:[]};return n.patch(e,t),[n.applyData(e,t),{type:"text",value:`
|
@@ -7,7 +7,7 @@ import{g as wt,j as Un}from"./@radix-AvWw-1nd.js";function fr(n,e){const t={};re
|
|
7
7
|
`}),c.type==="element"&&c.tagName==="p"&&!i?o.push(...c.children):o.push(c)}const s=r[r.length-1];s&&(i||s.type!=="element"||s.tagName!=="p")&&o.push({type:"text",value:`
|
8
8
|
`});const u={type:"element",tagName:"li",properties:l,children:o};return n.patch(e,u),n.applyData(e,u)}function Co(n){let e=!1;if(n.type==="list"){e=n.spread||!1;const t=n.children;let r=-1;for(;!e&&++r<t.length;)e=Kt(t[r])}return e}function Kt(n){const e=n.spread;return e??n.children.length>1}function Eo(n,e){const t={},r=n.all(e);let i=-1;for(typeof e.start=="number"&&e.start!==1&&(t.start=e.start);++i<r.length;){const o=r[i];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){t.className=["contains-task-list"];break}}const l={type:"element",tagName:e.ordered?"ol":"ul",properties:t,children:n.wrap(r,!0)};return n.patch(e,l),n.applyData(e,l)}function Io(n,e){const t={type:"element",tagName:"p",properties:{},children:n.all(e)};return n.patch(e,t),n.applyData(e,t)}function Ao(n,e){const t={type:"root",children:n.wrap(n.all(e))};return n.patch(e,t),n.applyData(e,t)}function Po(n,e){const t={type:"element",tagName:"strong",properties:{},children:n.all(e)};return n.patch(e,t),n.applyData(e,t)}function To(n,e){const t=n.all(e),r=t.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:n.wrap([r],!0)};n.patch(e.children[0],o),i.push(o)}if(t.length>0){const o={type:"element",tagName:"tbody",properties:{},children:n.wrap(t,!0)},a=we(e.children[1]),s=Lt(e.children[e.children.length-1]);a&&s&&(o.position={start:a,end:s}),i.push(o)}const l={type:"element",tagName:"table",properties:{},children:n.wrap(i,!0)};return n.patch(e,l),n.applyData(e,l)}function zo(n,e,t){const r=t?t.children:void 0,l=(r?r.indexOf(e):1)===0?"th":"td",o=t&&t.type==="table"?t.align:void 0,a=o?o.length:e.children.length;let s=-1;const u=[];for(;++s<a;){const p=e.children[s],d={},f=o?o[s]:void 0;f&&(d.align=f);let w={type:"element",tagName:l,properties:d,children:[]};p&&(w.children=n.all(p),n.patch(p,w),w=n.applyData(p,w)),u.push(w)}const c={type:"element",tagName:"tr",properties:{},children:n.wrap(u,!0)};return n.patch(e,c),n.applyData(e,c)}function Lo(n,e){const t={type:"element",tagName:"td",properties:{},children:n.all(e)};return n.patch(e,t),n.applyData(e,t)}const lt=9,ot=32;function Oo(n){const e=String(n),t=/\r?\n|\r/g;let r=t.exec(e),i=0;const l=[];for(;r;)l.push(at(e.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=t.exec(e);return l.push(at(e.slice(i),i>0,!1)),l.join("")}function at(n,e,t){let r=0,i=n.length;if(e){let l=n.codePointAt(r);for(;l===lt||l===ot;)r++,l=n.codePointAt(r)}if(t){let l=n.codePointAt(i-1);for(;l===lt||l===ot;)i--,l=n.codePointAt(i-1)}return i>r?n.slice(r,i):""}function Do(n,e){const t={type:"text",value:Oo(String(e.value))};return n.patch(e,t),n.applyData(e,t)}function vo(n,e){const t={type:"element",tagName:"hr",properties:{},children:[]};return n.patch(e,t),n.applyData(e,t)}const Fo={blockquote:uo,break:so,code:co,delete:po,emphasis:fo,footnoteReference:ho,heading:mo,html:go,imageReference:yo,image:xo,inlineCode:ko,linkReference:bo,link:wo,listItem:So,list:Eo,paragraph:Io,root:Ao,strong:Po,table:To,tableCell:Lo,tableRow:zo,text:Do,thematicBreak:vo,toml:Bn,yaml:Bn,definition:Bn,footnoteDefinition:Bn};function Bn(){}const Jt=-1,Xn=0,Vn=1,$n=2,Te=3,ze=4,Le=5,Oe=6,Gt=7,Zt=8,ut=typeof self=="object"?self:globalThis,Ro=(n,e)=>{const t=(i,l)=>(n.set(l,i),i),r=i=>{if(n.has(i))return n.get(i);const[l,o]=e[i];switch(l){case Xn:case Jt:return t(o,i);case Vn:{const a=t([],i);for(const s of o)a.push(r(s));return a}case $n:{const a=t({},i);for(const[s,u]of o)a[r(s)]=r(u);return a}case Te:return t(new Date(o),i);case ze:{const{source:a,flags:s}=o;return t(new RegExp(a,s),i)}case Le:{const a=t(new Map,i);for(const[s,u]of o)a.set(r(s),r(u));return a}case Oe:{const a=t(new Set,i);for(const s of o)a.add(r(s));return a}case Gt:{const{name:a,message:s}=o;return t(new ut[a](s),i)}case Zt:return t(BigInt(o),i);case"BigInt":return t(Object(BigInt(o)),i)}return t(new ut[l](o),i)};return r},st=n=>Ro(new Map,n)(0),In="",{toString:Mo}={},{keys:No}=Object,vn=n=>{const e=typeof n;if(e!=="object"||!n)return[Xn,e];const t=Mo.call(n).slice(8,-1);switch(t){case"Array":return[Vn,In];case"Object":return[$n,In];case"Date":return[Te,In];case"RegExp":return[ze,In];case"Map":return[Le,In];case"Set":return[Oe,In]}return t.includes("Array")?[Vn,t]:t.includes("Error")?[Gt,t]:[$n,t]},jn=([n,e])=>n===Xn&&(e==="function"||e==="symbol"),_o=(n,e,t,r)=>{const i=(o,a)=>{const s=r.push(o)-1;return t.set(a,s),s},l=o=>{if(t.has(o))return t.get(o);let[a,s]=vn(o);switch(a){case Xn:{let c=o;switch(s){case"bigint":a=Zt,c=o.toString();break;case"function":case"symbol":if(n)throw new TypeError("unable to serialize "+s);c=null;break;case"undefined":return i([Jt],o)}return i([a,c],o)}case Vn:{if(s)return i([s,[...o]],o);const c=[],p=i([a,c],o);for(const d of o)c.push(l(d));return p}case $n:{if(s)switch(s){case"BigInt":return i([s,o.toString()],o);case"Boolean":case"Number":case"String":return i([s,o.valueOf()],o)}if(e&&"toJSON"in o)return l(o.toJSON());const c=[],p=i([a,c],o);for(const d of No(o))(n||!jn(vn(o[d])))&&c.push([l(d),l(o[d])]);return p}case Te:return i([a,o.toISOString()],o);case ze:{const{source:c,flags:p}=o;return i([a,{source:c,flags:p}],o)}case Le:{const c=[],p=i([a,c],o);for(const[d,f]of o)(n||!(jn(vn(d))||jn(vn(f))))&&c.push([l(d),l(f)]);return p}case Oe:{const c=[],p=i([a,c],o);for(const d of o)(n||!jn(vn(d)))&&c.push(l(d));return p}}const{message:u}=o;return i([a,{name:s,message:u}],o)};return l},ct=(n,{json:e,lossy:t}={})=>{const r=[];return _o(!(e||t),!!e,new Map,r)(n),r},Wn=typeof structuredClone=="function"?(n,e)=>e&&("json"in e||"lossy"in e)?st(ct(n,e)):structuredClone(n):(n,e)=>st(ct(n,e));function Bo(n,e){const t=[{type:"text",value:"↩"}];return e>1&&t.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),t}function jo(n,e){return"Back to reference "+(n+1)+(e>1?"-"+e:"")}function Ho(n){const e=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",t=n.options.footnoteBackContent||Bo,r=n.options.footnoteBackLabel||jo,i=n.options.footnoteLabel||"Footnotes",l=n.options.footnoteLabelTagName||"h2",o=n.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let s=-1;for(;++s<n.footnoteOrder.length;){const u=n.footnoteById.get(n.footnoteOrder[s]);if(!u)continue;const c=n.all(u),p=String(u.identifier).toUpperCase(),d=zn(p.toLowerCase());let f=0;const w=[],b=n.footnoteCounts.get(p);for(;b!==void 0&&++f<=b;){w.length>0&&w.push({type:"text",value:" "});let C=typeof t=="string"?t:t(s,f);typeof C=="string"&&(C={type:"text",value:C}),w.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+d+(f>1?"-"+f:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(s,f),className:["data-footnote-backref"]},children:Array.isArray(C)?C:[C]})}const A=c[c.length-1];if(A&&A.type==="element"&&A.tagName==="p"){const C=A.children[A.children.length-1];C&&C.type==="text"?C.value+=" ":A.children.push({type:"text",value:" "}),A.children.push(...w)}else c.push(...w);const x={type:"element",tagName:"li",properties:{id:e+"fn-"+d},children:n.wrap(c,!0)};n.patch(u,x),a.push(x)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...Wn(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
|
9
9
|
`},{type:"element",tagName:"ol",properties:{},children:n.wrap(a,!0)},{type:"text",value:`
|
10
|
-
`}]}}const nr=function(n){if(n==null)return $o;if(typeof n=="function")return Yn(n);if(typeof n=="object")return Array.isArray(n)?Uo(n):qo(n);if(typeof n=="string")return Vo(n);throw new Error("Expected function, string, or object as test")};function Uo(n){const e=[];let t=-1;for(;++t<n.length;)e[t]=nr(n[t]);return Yn(r);function r(...i){let l=-1;for(;++l<e.length;)if(e[l].apply(this,i))return!0;return!1}}function qo(n){const e=n;return Yn(t);function t(r){const i=r;let l;for(l in n)if(i[l]!==e[l])return!1;return!0}}function Vo(n){return Yn(e);function e(t){return t&&t.type===n}}function Yn(n){return e;function e(t,r,i){return!!(Wo(t)&&n.call(this,t,typeof r=="number"?r:void 0,i||void 0))}}function $o(){return!0}function Wo(n){return n!==null&&typeof n=="object"&&"type"in n}const er=[],Qo=!0,pt=!1,Xo="skip";function Yo(n,e,t,r){let i;typeof e=="function"&&typeof t!="function"?(r=t,t=e):i=e;const l=nr(i),o=r?-1:1;a(n,void 0,[])();function a(s,u,c){const p=s&&typeof s=="object"?s:{};if(typeof p.type=="string"){const f=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(d,"name",{value:"node ("+(s.type+(f?"<"+f+">":""))+")"})}return d;function d(){let f=er,w,b,A;if((!e||l(s,u,c[c.length-1]||void 0))&&(f=Ko(t(s,c)),f[0]===pt))return f;if("children"in s&&s.children){const x=s;if(x.children&&f[0]!==Xo)for(b=(r?x.children.length:-1)+o,A=c.concat(x);b>-1&&b<x.children.length;){const C=x.children[b];if(w=a(C,b,A)(),w[0]===pt)return w;b=typeof w[1]=="number"?w[1]:b+o}}return f}}}function Ko(n){return Array.isArray(n)?n:typeof n=="number"?[Qo,n]:n==null?er:[n]}function tr(n,e,t,r){let i,l,o;typeof e=="function"
|
10
|
+
`}]}}const nr=function(n){if(n==null)return $o;if(typeof n=="function")return Yn(n);if(typeof n=="object")return Array.isArray(n)?Uo(n):qo(n);if(typeof n=="string")return Vo(n);throw new Error("Expected function, string, or object as test")};function Uo(n){const e=[];let t=-1;for(;++t<n.length;)e[t]=nr(n[t]);return Yn(r);function r(...i){let l=-1;for(;++l<e.length;)if(e[l].apply(this,i))return!0;return!1}}function qo(n){const e=n;return Yn(t);function t(r){const i=r;let l;for(l in n)if(i[l]!==e[l])return!1;return!0}}function Vo(n){return Yn(e);function e(t){return t&&t.type===n}}function Yn(n){return e;function e(t,r,i){return!!(Wo(t)&&n.call(this,t,typeof r=="number"?r:void 0,i||void 0))}}function $o(){return!0}function Wo(n){return n!==null&&typeof n=="object"&&"type"in n}const er=[],Qo=!0,pt=!1,Xo="skip";function Yo(n,e,t,r){let i;typeof e=="function"&&typeof t!="function"?(r=t,t=e):i=e;const l=nr(i),o=r?-1:1;a(n,void 0,[])();function a(s,u,c){const p=s&&typeof s=="object"?s:{};if(typeof p.type=="string"){const f=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(d,"name",{value:"node ("+(s.type+(f?"<"+f+">":""))+")"})}return d;function d(){let f=er,w,b,A;if((!e||l(s,u,c[c.length-1]||void 0))&&(f=Ko(t(s,c)),f[0]===pt))return f;if("children"in s&&s.children){const x=s;if(x.children&&f[0]!==Xo)for(b=(r?x.children.length:-1)+o,A=c.concat(x);b>-1&&b<x.children.length;){const C=x.children[b];if(w=a(C,b,A)(),w[0]===pt)return w;b=typeof w[1]=="number"?w[1]:b+o}}return f}}}function Ko(n){return Array.isArray(n)?n:typeof n=="number"?[Qo,n]:n==null?er:[n]}function tr(n,e,t,r){let i,l,o;typeof e=="function"?(l=void 0,o=e,i=t):(l=e,o=t,i=r),Yo(n,l,a,i);function a(s,u){const c=u[u.length-1],p=c?c.children.indexOf(s):void 0;return o(s,p,c)}}const ge={}.hasOwnProperty,Jo={};function Go(n,e){const t=e||Jo,r=new Map,i=new Map,l=new Map,o={...Fo,...t.handlers},a={all:u,applyData:na,definitionById:r,footnoteById:i,footnoteCounts:l,footnoteOrder:[],handlers:o,one:s,options:t,patch:Zo,wrap:ta};return tr(n,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const p=c.type==="definition"?r:i,d=String(c.identifier).toUpperCase();p.has(d)||p.set(d,c)}}),a;function s(c,p){const d=c.type,f=a.handlers[d];if(ge.call(a.handlers,d)&&f)return f(a,c,p);if(a.options.passThrough&&a.options.passThrough.includes(d)){if("children"in c){const{children:b,...A}=c,x=Wn(A);return x.children=a.all(c),x}return Wn(c)}return(a.options.unknownHandler||ea)(a,c,p)}function u(c){const p=[];if("children"in c){const d=c.children;let f=-1;for(;++f<d.length;){const w=a.one(d[f],c);if(w){if(f&&d[f-1].type==="break"&&(!Array.isArray(w)&&w.type==="text"&&(w.value=ft(w.value)),!Array.isArray(w)&&w.type==="element")){const b=w.children[0];b&&b.type==="text"&&(b.value=ft(b.value))}Array.isArray(w)?p.push(...w):p.push(w)}}}return p}}function Zo(n,e){n.position&&(e.position=Fr(n))}function na(n,e){let t=e;if(n&&n.data){const r=n.data.hName,i=n.data.hChildren,l=n.data.hProperties;if(typeof r=="string")if(t.type==="element")t.tagName=r;else{const o="children"in t?t.children:[t];t={type:"element",tagName:r,properties:{},children:o}}t.type==="element"&&l&&Object.assign(t.properties,Wn(l)),"children"in t&&t.children&&i!==null&&i!==void 0&&(t.children=i)}return t}function ea(n,e){const t=e.data||{},r="value"in e&&!(ge.call(t,"hProperties")||ge.call(t,"hChildren"))?{type:"text",value:e.value}:{type:"element",tagName:"div",properties:{},children:n.all(e)};return n.patch(e,r),n.applyData(e,r)}function ta(n,e){const t=[];let r=-1;for(e&&t.push({type:"text",value:`
|
11
11
|
`});++r<n.length;)r&&t.push({type:"text",value:`
|
12
12
|
`}),t.push(n[r]);return e&&n.length>0&&t.push({type:"text",value:`
|
13
13
|
`}),t}function ft(n){let e=0,t=n.charCodeAt(e);for(;t===9||t===32;)e++,t=n.charCodeAt(e);return n.slice(e)}function ht(n,e){const t=Go(n,e),r=t.one(n,void 0),i=Ho(t),l=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&l.children.push({type:"text",value:`
|
zenml/zen_server/dashboard/assets/{NestedCollapsible-Da-k0Mff.js → NestedCollapsible-DfTTGG8u.js}
RENAMED
@@ -1 +1 @@
|
|
1
|
-
import{j as e}from"./@radix-
|
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-Be2jLIYM.js";import{C as F}from"./CodeSnippet-CSINAl3I.js";import{C as O}from"./CollapsibleCard-CQOb53t9.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 +1 @@
|
|
1
|
-
import{j as e}from"./@radix-
|
1
|
+
import{j as e}from"./@radix-C7hRs6Kx.js";function s({children:t}){return e.jsx("div",{className:"flex h-7 w-7 items-center justify-center rounded-sm bg-primary-100 text-text-lg font-semibold text-theme-text-brand",children:t})}export{s as N};
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as p,j as e}from"./@radix-C7hRs6Kx.js";import{S as L}from"./package-D1Mhqeh8.js";import{I as v}from"./Infobox-CD0fDbYF.js";import{b as R,C as T}from"./index.esm-D7jFlf5N.js";import{T as S}from"./Tick-D63_jhf1.js";import{b7 as O,b8 as H,b9 as V,aj as E,S as y,$ as z,A as M,b as B,h as W,B as G,aC as F,aD as Y,aE as q,aF as Q,aG as $}from"./index-Be2jLIYM.js";import{C as c}from"./ComponentBadge-CIFj0W7T.js";import{s as w}from"./index-CjdtNrfJ.js";import{g as J}from"./ProviderRadio-B4CB4vzP.js";import{a as N}from"./@tanstack-CSxjHCME.js";import{S as D}from"./logs-B5n0U7tB.js";import{C as k}from"./CodeSnippet-CSINAl3I.js";import{N as _}from"./NumberBox-D2A7ENHb.js";import{p as K,s as U}from"./persist-BUqILw7G.js";import{S as X}from"./link-external-DUhCSKNm.js";import{C as ee}from"./ProviderIcon-MdqWDO6-.js";const P=p.createContext(null);function Ee({children:a}){const{success:t,data:s}=K(),[r,n]=p.useState(!1),[l,i]=p.useState(!!t),[o,h]=p.useState(t?{location:s.location,provider:s.provider,stackName:s.stackName}:{}),[x,u]=p.useState(t?s.timestamp:""),m=p.useRef(null);return e.jsx(P.Provider,{value:{isNextButtonDisabled:r,setIsNextButtonDisabled:n,data:o,setData:h,isLoading:l,setIsLoading:i,formRef:m,timestamp:x,setTimestamp:u},children:a})}function A(){const a=p.useContext(P);if(a===null)throw new Error("useNewInfraFormContext must be used within an AuthProvider");return a}const re=a=>p.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM12 4.5C12.5523 4.5 13 4.94772 13 5.5V6H13.1667C15.0076 6 16.5 7.49238 16.5 9.33333C16.5 9.88562 16.0523 10.3333 15.5 10.3333C14.9477 10.3333 14.5 9.88562 14.5 9.33333C14.5 8.59695 13.903 8 13.1667 8H11C10.1716 8 9.5 8.67157 9.5 9.5C9.5 10.3284 10.1716 11 11 11H13C14.933 11 16.5 12.567 16.5 14.5C16.5 16.433 14.933 18 13 18V18.5C13 19.0523 12.5523 19.5 12 19.5C11.4477 19.5 11 19.0523 11 18.5V18H10.8333C8.99238 18 7.5 16.5076 7.5 14.6667C7.5 14.1144 7.94772 13.6667 8.5 13.6667C9.05228 13.6667 9.5 14.1144 9.5 14.6667C9.5 15.403 10.097 16 10.8333 16H13C13.8284 16 14.5 15.3284 14.5 14.5C14.5 13.6716 13.8284 13 13 13H11C9.067 13 7.5 11.433 7.5 9.5C7.5 7.567 9.067 6 11 6V5.5C11 4.94772 11.4477 4.5 12 4.5Z"})),ae=a=>p.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.16145 4L18.8385 4C19.3657 3.99998 19.8205 3.99997 20.195 4.03057C20.5904 4.06287 20.9836 4.13419 21.362 4.32698C21.9265 4.6146 22.3854 5.07354 22.673 5.63803C22.8658 6.01641 22.9371 6.40963 22.9694 6.80498C23 7.17954 23 7.6343 23 8.16144V15.8386C23 16.3657 23 16.8205 22.9694 17.195C22.9371 17.5904 22.8658 17.9836 22.673 18.362C22.3854 18.9265 21.9265 19.3854 21.362 19.673C20.9836 19.8658 20.5904 19.9371 20.195 19.9694C19.8205 20 19.3657 20 18.8386 20L5.16148 20C4.63432 20 4.17955 20 3.80497 19.9694C3.40963 19.9371 3.01641 19.8658 2.63803 19.673C2.07354 19.3854 1.6146 18.9265 1.32698 18.362C1.13419 17.9836 1.06287 17.5904 1.03057 17.195C0.999967 16.8205 0.999983 16.3657 1 15.8385L1 10.0006C1 10.0004 1 10.0008 1 10.0006C1 10.0004 1 9.99958 1 9.99937L1 8.16146C0.999983 7.63431 0.999968 7.17955 1.03057 6.80497C1.06287 6.40963 1.13419 6.01641 1.32698 5.63803C1.6146 5.07354 2.07354 4.6146 2.63803 4.32698C3.01641 4.13419 3.40963 4.06287 3.80497 4.03057C4.17955 3.99997 4.63431 3.99998 5.16145 4ZM3 11V15.8C3 16.3766 3.00078 16.7488 3.02393 17.0322C3.04612 17.3038 3.0838 17.4045 3.109 17.454C3.20487 17.6422 3.35785 17.7951 3.54601 17.891C3.59546 17.9162 3.69617 17.9539 3.96784 17.9761C4.25117 17.9992 4.62345 18 5.2 18L18.8 18C19.3766 18 19.7488 17.9992 20.0322 17.9761C20.3038 17.9539 20.4045 17.9162 20.454 17.891C20.6422 17.7951 20.7951 17.6422 20.891 17.454C20.9162 17.4045 20.9539 17.3038 20.9761 17.0322C20.9992 16.7488 21 16.3766 21 15.8V11H3ZM21 9H3V8.2C3 7.62345 3.00078 7.25117 3.02393 6.96784C3.04612 6.69617 3.0838 6.59546 3.109 6.54601C3.20487 6.35785 3.35785 6.20487 3.54601 6.109C3.59546 6.0838 3.69617 6.04612 3.96784 6.02393C4.25118 6.00078 4.62345 6 5.2 6L18.8 6C19.3766 6 19.7488 6.00078 20.0322 6.02393C20.3038 6.04613 20.4045 6.0838 20.454 6.109C20.6422 6.20487 20.7951 6.35785 20.891 6.54601C20.9162 6.59546 20.9539 6.69617 20.9761 6.96784C20.9992 7.25118 21 7.62345 21 8.2V9ZM5 14C5 13.4477 5.44772 13 6 13H11C11.5523 13 12 13.4477 12 14C12 14.5523 11.5523 15 11 15H6C5.44772 15 5 14.5523 5 14Z"}));function I({provider:a}){return e.jsxs(O,{children:[e.jsx(H,{className:"block",children:e.jsxs(v,{intent:"warning",children:["This will give ZenML permissions and create secret keys for secure ZenML -",">"," ",J(a)," communication. You can revoke these permissions at any time."]})}),e.jsx(V,{sideOffset:0,className:"w-auto p-5",children:e.jsx(E,{viewportClassName:"max-h-[300px]",children:e.jsx(te,{provider:a})})})]})}function te({provider:a}){const{isPending:t,isError:s,error:r,data:n}=N(w.stackDeploymentInfo({provider:a}));if(t)return e.jsx(y,{className:"h-[100px] w-full"});if(s)return e.jsx("p",{children:r.message});const l=Object.entries(n.permissions);return e.jsx("ul",{className:"space-y-2 pr-3 text-text-sm",children:l.map(([i,o])=>e.jsxs("li",{className:"flex flex-col gap-1",children:[e.jsx("p",{children:i}),e.jsx("ul",{className:"list-inside list-[square] pl-4 text-neutral-400 marker:text-primary-200",children:o.map((h,x)=>e.jsx("li",{children:h},x))})]},i))})}function se({stackName:a,isLoading:t,isSuccess:s,components:r,displayPermissions:n=!1}){var l,i,o,h,x,u,m,g,f,j,C,b;return e.jsxs("div",{className:"divide-y divide-theme-border-moderate overflow-hidden rounded-md border border-theme-border-moderate",children:[e.jsxs("div",{className:"flex items-center gap-3 bg-theme-surface-secondary p-5 text-text-lg font-semibold",children:[t&&e.jsx(z,{className:"h-5 w-5 shrink-0 border-[3px]"}),s&&e.jsx(S,{className:"h-5 w-5",tickClasses:"w-3 h-3"}),e.jsx(M,{type:"square",size:"lg",children:e.jsx(B,{size:"lg",children:a[0]})}),a]}),e.jsxs("div",{className:"space-y-1 py-3 pl-9 pr-5",children:[e.jsx(d,{title:((l=r==null?void 0:r.connector)==null?void 0:l.name)||"IAM Role",isLoading:t,isSuccess:s,subtitle:((i=r==null?void 0:r.connector)==null?void 0:i.id)||"Manage access to AWS resources",badge:e.jsx(c,{type:"annotator",children:"Service Connector"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/service_connector/iam.webp",alt:"IAM logo"}}),n&&e.jsx(I,{provider:"aws"})]}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((o=r==null?void 0:r.artifactStore)==null?void 0:o.name)||"S3 Bucket",subtitle:((h=r==null?void 0:r.artifactStore)==null?void 0:h.id)||"Artifact storage for ML pipelines",badge:e.jsx(c,{type:"artifact_store",children:"Artifact Store"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/artifact_store/aws.png",alt:"S3 logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((x=r==null?void 0:r.registry)==null?void 0:x.name)||"ECR Repository",subtitle:((u=r==null?void 0:r.registry)==null?void 0:u.id)||"Container image storage",badge:e.jsx(c,{type:"container_registry",children:"Container Registry"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/container_registry/aws.png",alt:"ECR logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((m=r==null?void 0:r.orchestrator)==null?void 0:m.name)||"SageMaker",isLoading:t,isSuccess:s,subtitle:((g=r==null?void 0:r.orchestrator)==null?void 0:g.id)||"ML Workflow orchestration",badge:e.jsx(c,{type:"orchestrator",children:"Orchestrator"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/orchestrator/sagemaker.png",alt:"Sagemaker logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((f=r==null?void 0:r.operator)==null?void 0:f.name)||"Sagemaker Step Operator",subtitle:((j=r==null?void 0:r.operator)==null?void 0:j.id)||"Execute individual steps",badge:e.jsx(c,{type:"step_operator",children:"Step Operator"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/step_operator/sagemaker.png",alt:"Sagemaker step operator logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((C=r==null?void 0:r.imageBuilder)==null?void 0:C.name)||"AWS Image Builder",subtitle:((b=r==null?void 0:r.imageBuilder)==null?void 0:b.id)||"Build and manage container images",badge:e.jsx(c,{type:"image_builder",children:"Image Builder"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/image_builder/aws.png",alt:"AWS Image Builder logo"}})})]})}function le({stackName:a,isLoading:t,isSuccess:s,components:r,displayPermissions:n=!1}){var l,i,o,h,x,u,m,g,f,j,C,b;return e.jsxs("div",{className:"divide-y divide-theme-border-moderate overflow-hidden rounded-md border border-theme-border-moderate",children:[e.jsxs("div",{className:"flex items-center gap-3 bg-theme-surface-secondary p-5 text-text-lg font-semibold",children:[t&&e.jsx(z,{className:"h-5 w-5 shrink-0 border-[3px]"}),s&&e.jsx(S,{className:"h-5 w-5",tickClasses:"w-3 h-3"}),e.jsx(M,{type:"square",size:"lg",children:e.jsx(B,{size:"lg",children:a[0]})}),a]}),e.jsxs("div",{className:"space-y-1 py-3 pl-9 pr-5",children:[e.jsx(d,{title:((l=r==null?void 0:r.connector)==null?void 0:l.name)||"Service Account",isLoading:t,isSuccess:s,subtitle:((i=r==null?void 0:r.connector)==null?void 0:i.id)||"Manage access to GCP resources",badge:e.jsx(c,{type:"annotator",children:"Service Connector"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/service_connector/gcp-iam.webp",alt:"Service Account logo"}}),n&&e.jsx(I,{provider:"gcp"})]}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((o=r==null?void 0:r.artifactStore)==null?void 0:o.name)||"GCS Bucket",subtitle:((h=r==null?void 0:r.artifactStore)==null?void 0:h.id)||"Artifact storage for ML pipelines",badge:e.jsx(c,{type:"artifact_store",children:"Artifact Store"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/artifact_store/gcp.png",alt:"GCS logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((x=r==null?void 0:r.registry)==null?void 0:x.name)||"Google Artifact Registry",subtitle:((u=r==null?void 0:r.registry)==null?void 0:u.id)||"Container image storage",badge:e.jsx(c,{type:"container_registry",children:"Container Registry"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/container_registry/gcp.png",alt:"Google Artifact Registry logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((m=r==null?void 0:r.orchestrator)==null?void 0:m.name)||"Vertex AI",isLoading:t,isSuccess:s,subtitle:((g=r==null?void 0:r.orchestrator)==null?void 0:g.id)||"ML Workflow orchestration",badge:e.jsx(c,{type:"orchestrator",children:"Orchestrator"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/orchestrator/vertexai.png",alt:"VertexAI logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((f=r==null?void 0:r.imageBuilder)==null?void 0:f.name)||"Cloud Build",isLoading:t,isSuccess:s,subtitle:((j=r==null?void 0:r.imageBuilder)==null?void 0:j.id)||"Build, test, and deploy images",badge:e.jsx(c,{type:"image_builder",children:"Image Builder"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/image_builder/gcp.png",alt:"Cloud Build logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((C=r==null?void 0:r.operator)==null?void 0:C.name)||"Vertex Step Operator",subtitle:((b=r==null?void 0:r.operator)==null?void 0:b.id)||"Execute individual steps",badge:e.jsx(c,{type:"step_operator",children:"Step Operator"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/step_operator/vertexai.png",alt:"Vertex step operator logo"}})})]})}function ie(){return e.jsx(v,{className:"border-warning-300 bg-warning-50",intent:"warning",children:'The Cloud Shell session will warn you that the ZenML GitHub repository is untrusted. We recommend that you review the contents of the repository and then check the "Trust repo" checkbox to proceed with the deployment, otherwise the Cloud Shell session will not be authenticated to access your GCP projects.'})}function ce(){const{data:a}=A(),t=N({...w.stackDeploymentConfig({provider:"gcp",stack_name:a.stackName,location:a.location})});return t.isError?null:t.isPending?e.jsx(y,{className:"h-[200px] w-full"}):e.jsxs("section",{className:"space-y-5 border-t border-theme-border-moderate pt-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(D,{className:"h-5 w-5 fill-primary-400"}),"Configuration"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"You will be asked to provide the following configuration values during the deployment process."})]}),e.jsx(k,{fullWidth:!0,highlightCode:!0,codeClasses:"whitespace-pre-wrap word-break-all",wrap:!0,code:t.data.configuration||""})]})}function De(){const{data:a}=A();return e.jsxs("div",{className:"space-y-5",children:[e.jsx(v,{children:"This will provision and register a basic ZenML stack with all the necessary resources and credentials required to run pipelines."}),a.provider!=="azure"&&e.jsxs("div",{children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-1",children:[e.jsx(ee,{provider:a.provider,className:"h-5 w-5"}),e.jsx("p",{className:"text-text-lg font-semibold",children:"Deploy the Stack"})]}),e.jsx("p",{className:"text-theme-text-secondary",children:"Deploy the stack from your browser by clicking the button below:"})]}),a.provider==="gcp"&&e.jsx(ie,{}),a.provider!=="azure"&&e.jsx(Z,{setTimestampBool:!0}),a.provider==="gcp"&&e.jsx(ce,{}),a.provider==="azure"&&e.jsx(oe,{displayInfobox:!0})]})}function Z({setTimestampBool:a,children:t}){const{data:s,setTimestamp:r,setIsLoading:n}=A(),l=N({...w.stackDeploymentConfig({provider:s.provider,location:s.location,stack_name:s.stackName})});if(l.isError)return null;if(l.isPending)return e.jsx(y,{className:"h-[48px] w-[100px]"});function i(){const o=new Date().toISOString().slice(0,-1);a&&r(o),U({location:s.location||"",provider:s.provider||"aws",stackName:s.stackName,timestamp:o}),n(!0)}return e.jsx(W,{asChild:!0,className:"w-fit gap-3 whitespace-nowrap",size:"lg",onClick:()=>i(),children:e.jsxs("a",{href:l.data.deployment_url,target:"_blank",rel:"noopener noreferrer",children:[t||e.jsxs("div",{children:["Deploy in ",e.jsx("span",{className:"uppercase",children:s.provider})]}),e.jsx(X,{className:"h-5 w-5 shrink-0 fill-white"})]})})}function de({stackName:a,isLoading:t,isSuccess:s,components:r,displayPermissions:n=!1}){var l,i,o,h,x,u,m,g,f,j;return e.jsxs("div",{className:"divide-y divide-theme-border-moderate overflow-hidden rounded-md border border-theme-border-moderate",children:[e.jsxs("div",{className:"flex items-center gap-3 bg-theme-surface-secondary p-5 text-text-lg font-semibold",children:[t&&e.jsx(z,{className:"h-5 w-5 shrink-0 border-[3px]"}),s&&e.jsx(S,{className:"h-5 w-5",tickClasses:"w-3 h-3"}),e.jsx(M,{type:"square",size:"lg",children:e.jsx(B,{size:"lg",children:a[0]})}),a]}),e.jsxs("div",{className:"space-y-1 py-3 pl-9 pr-5",children:[e.jsx(d,{title:((l=r==null?void 0:r.connector)==null?void 0:l.name)||"Azure Service Principal",isLoading:t,isSuccess:s,subtitle:((i=r==null?void 0:r.connector)==null?void 0:i.id)||"Manage access to Azure resources",badge:e.jsx(c,{type:"annotator",children:"Service Connector"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/service_connector/azure-service-principal.webp",alt:"Service Principal logo"}}),n&&e.jsx(I,{provider:"azure"})]}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((o=r==null?void 0:r.artifactStore)==null?void 0:o.name)||"Azure Blob Storage",subtitle:((h=r==null?void 0:r.artifactStore)==null?void 0:h.id)||"Artifact storage for ML pipelines",badge:e.jsx(c,{type:"artifact_store",children:"Artifact Store"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/artifact_store/azure.png",alt:"Blob Storage logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((x=r==null?void 0:r.registry)==null?void 0:x.name)||"Azure Container Registry",subtitle:((u=r==null?void 0:r.registry)==null?void 0:u.id)||"Container image storage",badge:e.jsx(c,{type:"container_registry",children:"Container Registry"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/container_registry/azure.png",alt:"Azure Container Registry logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((m=r==null?void 0:r.orchestrator)==null?void 0:m.name)||"Azure ML",isLoading:t,isSuccess:s,subtitle:((g=r==null?void 0:r.orchestrator)==null?void 0:g.id)||"ML Workflow orchestration",badge:e.jsx(c,{type:"orchestrator",children:"Orchestrator"}),img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/orchestrator/azureml.png",alt:"Azure ML logo"}})}),e.jsx("div",{className:"py-3 pl-9 pr-5",children:e.jsx(d,{title:((f=r==null?void 0:r.operator)==null?void 0:f.name)||"Azure Step Operator",subtitle:((j=r==null?void 0:r.operator)==null?void 0:j.id)||"Execute individual steps",badge:e.jsx(c,{type:"step_operator",children:"Step Operator"}),isLoading:t,isSuccess:s,img:{src:"https://public-flavor-logos.s3.eu-central-1.amazonaws.com/step_operator/azureml.png",alt:"Azure Step Operator logo"}})})]})}function oe({displayInfobox:a=!1}){return e.jsxs("section",{className:"space-y-5",children:[e.jsx(pe,{}),e.jsx(ne,{displayInfobox:a}),e.jsx(xe,{}),e.jsx(he,{})]})}function ne({displayInfobox:a=!1}){return e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(_,{children:"1"}),e.jsx("span",{className:"text-text-lg font-semibold",children:"Open the Azure Cloud Shell Console"})]}),e.jsx("p",{className:"text-theme-text-secondary",children:"Deploy the stack using the Azure Cloud Shell console."})]}),e.jsx(Z,{setTimestampBool:!0,children:e.jsx("span",{className:"text-text-lg font-semibold",children:"Open the Azure Cloud Shell"})}),a&&e.jsx(v,{className:"border-warning-300 bg-warning-50",intent:"warning",children:"After the Terraform deployment is complete, you can close the Cloud Shell session and return to the dashboard to view details about the associated ZenML stack automatically registered with ZenML."})]})}function xe(){return e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(_,{children:"2"}),e.jsx("span",{className:"text-text-lg font-semibold",children:"Create a file with the following configuration"})]}),e.jsxs("p",{className:"text-theme-text-secondary",children:["Create a file named ",e.jsx("code",{className:"font-mono text-primary-400",children:"main.tf"})," in the Cloud Shell and copy and paste the Terraform configuration below into it."]})]}),e.jsx(ue,{})]})}function he(){return e.jsxs("div",{className:"space-y-5",children:[e.jsx("div",{className:"space-y-1",children:e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(_,{children:"3"}),e.jsx("span",{className:"text-text-lg font-semibold",children:"Run the following commands"})]})}),e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-text-sm text-theme-text-secondary",children:"Initialize the Terraform configuration."}),e.jsx(k,{code:"terraform init --upgrade"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"mb-1 text-text-sm text-theme-text-secondary",children:"Run terraform apply to deploy the ZenML stack to Azure."}),e.jsx(k,{code:"terraform apply"})]})]})}function ue(){const{data:a}=A(),t=N({...w.stackDeploymentConfig({provider:"azure",stack_name:a.stackName,location:a.location}),enabled:!!a.stackName});return t.isError?null:t.isPending?e.jsx(y,{className:"h-[200px] w-full"}):e.jsx(k,{fullWidth:!0,highlightCode:!0,codeClasses:"whitespace-pre-wrap word-break-all",wrap:!0,code:t.data.configuration||""})}function pe(){return e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(D,{className:"h-5 w-5 fill-primary-400"}),"Configuration"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"You will be asked to provide the following configuration values during the deployment process."})]})}function me({componentProps:a,type:t}){switch(t){case"aws":return e.jsx(se,{...a});case"gcp":return e.jsx(le,{...a});case"azure":return e.jsx(de,{...a})}}function d({img:a,title:t,subtitle:s,badge:r,isSuccess:n,isLoading:l}){return e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[l&&e.jsx(z,{className:"h-5 w-5 shrink-0 border-[3px]"}),n&&e.jsx(S,{className:"h-5 w-5",tickClasses:"w-3 h-3"}),e.jsx("img",{width:"40",height:"40",alt:a.alt,src:a.src}),e.jsxs("div",{children:[e.jsx("p",{className:"text-text-lg font-semibold",children:t}),e.jsx("p",{className:"text-theme-text-secondary",children:s})]})]}),r]})}function Pe({provider:a}){function t(){let s="#";switch(a){case"aws":s="https://calculator.aws/#/";break;case"gcp":s="https://cloud.google.com/products/calculator";break;case"azure":s="https://azure.microsoft.com/en-us/pricing/calculator/";break}return e.jsx("a",{href:s,target:"_blank",rel:"noopener noreferrer",className:"link",children:"official pricing calculator"})}return e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(re,{className:"h-5 w-5 fill-primary-400"}),"Estimated Cost"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"These are rough estimates and actual costs may vary based on your usage."})]}),e.jsxs(G,{className:"flex items-start gap-[10px] p-3",children:[e.jsx("div",{className:"content-center rounded-sm bg-blue-25 p-1",children:e.jsx(ae,{className:"h-5 w-5 fill-blue-400"})}),e.jsxs("div",{children:[e.jsxs("p",{children:["A small training job would cost around:"," ",e.jsx("span",{className:"font-semibold text-theme-text-success",children:"$0.60"})]}),e.jsxs("p",{className:"text-text-xs text-theme-text-secondary",children:["Please use the ",e.jsx(t,{})," for a detailed estimate"]})]})]})]})}const ge=a=>p.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C8.13401 3 5 6.13401 5 10C5 11.8921 5.85317 13.678 7.29228 15.5467C8.50741 17.1245 10.0627 18.6673 11.7323 20.3233C11.8212 20.4115 11.9105 20.5 12 20.5889C12.0895 20.5 12.1788 20.4115 12.2677 20.3233C13.9373 18.6673 15.4926 17.1245 16.7077 15.5467C18.1468 13.678 19 11.8921 19 10C19 6.13401 15.866 3 12 3ZM3 10C3 5.02944 7.02944 1 12 1C16.9706 1 21 5.02944 21 10C21 12.5262 19.8532 14.7402 18.2923 16.767C16.988 18.4607 15.3185 20.1156 13.6508 21.7689C13.3354 22.0816 13.02 22.3943 12.7071 22.7071C12.3166 23.0976 11.6834 23.0976 11.2929 22.7071C10.98 22.3943 10.6646 22.0816 10.3492 21.7689C8.68147 20.1156 7.01205 18.4607 5.70772 16.767C4.14683 14.7402 3 12.5262 3 10ZM12 8C10.8954 8 10 8.89543 10 10C10 11.1046 10.8954 12 12 12C13.1046 12 14 11.1046 14 10C14 8.89543 13.1046 8 12 8ZM8 10C8 7.79086 9.79086 6 12 6C14.2091 6 16 7.79086 16 10C16 12.2091 14.2091 14 12 14C9.79086 14 8 12.2091 8 10Z"}));function fe({provider:a}){const{control:t}=R(),{isPending:s,isError:r,data:n}=N({...w.stackDeploymentInfo({provider:a})});if(r)return null;if(s)return e.jsx(y,{className:"h-[40px] w-[100px]"});const l=Object.entries(n.locations);return e.jsx(T,{control:t,name:"region",render:({field:{onChange:i,ref:o,...h}})=>e.jsxs(F,{...h,onValueChange:i,children:[e.jsx(Y,{className:"border border-neutral-300 text-left text-text-md",children:e.jsx(q,{className:"flex items-center gap-2",placeholder:"Select your Location"})}),e.jsx(Q,{children:e.jsx(E,{viewportClassName:"max-h-[300px]",children:l.map(([x,u])=>e.jsxs($,{value:u,children:[x," - ",e.jsx("span",{className:"text-theme-text-secondary",children:u})]},x))})})]})})}function Ze({provider:a}){return e.jsxs("div",{className:"space-y-5 border-b border-theme-border-moderate pb-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(ge,{className:"h-5 w-5 fill-primary-400"}),"Choose Your Location"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"Select where you want to deploy your cloud infrastructure for optimal performance and compliance."})]}),e.jsx(fe,{provider:a})]})}function Le({provider:a}){const{watch:t}=R();return e.jsxs("div",{className:"space-y-5 border-b border-theme-border-moderate pb-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(L,{className:"h-5 w-5 fill-primary-400"}),"Review Your Stack Components"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"The following components will be created for your ZenML stack."})]}),e.jsx(me,{type:a,componentProps:{displayPermissions:!0,stackName:t("stackName")}}),e.jsx(v,{children:"These resources create a basic ZenML stack for ML workflow management. ZenML supports highly flexible stacks. You can build advanced stacks at any time, combining your preferred tools and components for more complex MLOps."})]})}export{oe as A,me as C,Z as D,Pe as E,ce as G,Ee as N,Ze as R,Le as a,De as b,A as u};
|
zenml/zen_server/dashboard/assets/{PasswordChecker-B4Uw6BJZ.js → PasswordChecker-lYTOtNom.js}
RENAMED
@@ -1 +1 @@
|
|
1
|
-
import{j as s}from"./@radix-
|
1
|
+
import{j as s}from"./@radix-C7hRs6Kx.js";const a={uppercase:"Password must contain at least one uppercase letter",lowercase:"Password must contain at least one lowercase letter",number:"Password must contain at least one number",special:"Password must contain at least one special character",length:"Password must be at least 8 characters"};function l({errors:c,val:t}){const e=n(c||{});function r(o){return t?e.includes(o)?"text-theme-text-error":"text-theme-text-success":"text-theme-text-secondary"}return s.jsxs("div",{className:"space-y-1 rounded-md border border-theme-border-moderate bg-theme-surface-secondary px-5 py-3 text-text-xs text-theme-text-secondary",children:[s.jsx("p",{className:"text-text-sm text-theme-text-primary",children:"Password criteria"}),s.jsxs("div",{children:[s.jsx("p",{className:r(a.length),children:"Minimum 8 characters"}),s.jsx("p",{className:r(a.number),children:"Must Contain one Numeric value"}),s.jsx("p",{className:r(a.uppercase),children:"Must include upper cases"}),s.jsx("p",{className:r(a.lowercase),children:"Must include lower cases"}),s.jsx("p",{className:r(a.special),children:"Must include one special character (!,@,#...)"})]})]})}function n(c){const t=[];return Object.values(c).forEach(e=>{typeof e=="string"?t.push(e):Array.isArray(e)?t.push(...e):typeof e=="object"&&e!==null&&t.push(...n(e))}),t}export{l as P};
|
@@ -0,0 +1 @@
|
|
1
|
+
import{j as e}from"./@radix-C7hRs6Kx.js";import{U as o}from"./index-Be2jLIYM.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 +1 @@
|
|
1
|
-
import{j as e}from"./@radix-
|
1
|
+
import{j as e}from"./@radix-C7hRs6Kx.js";import{m as a,U as l,h as i,r as d}from"./index-Be2jLIYM.js";import{S as c}from"./check-DK77doTf.js";import{L as m}from"./@react-router-BGgzhn5D.js";function g({className:s,...r}){return e.jsx("div",{className:a("flex items-center overflow-hidden rounded-md border border-warning-100 bg-theme-surface-primary px-7 py-5",s),...r})}function j({className:s,...r}){return e.jsx("h2",{className:a("text-display-xs font-semibold",s),...r})}function w(){return e.jsxs("div",{className:"flex w-fit gap-2 rounded-md bg-[#FFF6EA] px-3 py-1",children:[e.jsx("p",{children:"Instantly access Pro features while keeping your existing setup"}),e.jsx(l,{color:"yellow",rounded:!0,size:"sm",className:"font-semibold uppercase",children:"New"})]})}function b({className:s,features:r,...t}){return e.jsx("ul",{...t,className:a("grid grid-cols-1 gap-x-7 gap-y-5 md:grid-cols-2"),children:r.map((n,o)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(u,{}),e.jsxs("div",{children:[e.jsx("p",{className:"font-semibold",children:n.title}),e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:n.subtitle})]})]},o))})}function N(){return e.jsxs("div",{className:"flex w-fit flex-wrap gap-2",children:[e.jsx(i,{asChild:!0,className:"truncate bg-warning-600 hover:bg-warning-400 active:bg-warning-500 active:ring-warning-50",size:"md",children:e.jsx(m,{to:d.upgrade,children:"Try Pro Features"})}),e.jsx(i,{asChild:!0,intent:"secondary",className:"w-fit truncate",emphasis:"minimal",size:"md",children:e.jsx("a",{href:"https://www.zenml.io/pro",target:"_blank",rel:"noopener noreferrer",children:"Learn More"})})]})}function y({className:s,...r}){return e.jsx("img",{className:a("hidden w-full shrink-0 rounded-md border border-theme-border-moderate 2xl:block",s),...r})}function u(){return e.jsx("div",{className:"flex aspect-square h-5 w-5 shrink-0 items-center justify-center rounded-rounded bg-warning-400",children:e.jsx(c,{className:"h-3 w-3 shrink-0 fill-white"})})}export{g as P,u as T,j as a,w as b,b as c,N as d,y as e};
|
@@ -1 +1 @@
|
|
1
|
-
import{j as r}from"./@radix-
|
1
|
+
import{j as r}from"./@radix-C7hRs6Kx.js";import{S as o,a as m,b as n}from"./gcp-CHNvgEss.js";import{m as t}from"./index-Be2jLIYM.js";function x({provider:c,className:e,...s}){const a=t("w-5 h-5 shrink-0",e);switch(c){case"aws":return r.jsx(n,{...s,className:a});case"azure":return r.jsx(m,{...s,className:a});case"gcp":return r.jsx(o,{...s,className:a})}}export{x as C};
|
@@ -1 +1 @@
|
|
1
|
-
import{r as c,j as e}from"./@radix-
|
1
|
+
import{r as c,j as e}from"./@radix-C7hRs6Kx.js";import{m as i,h as d,r as m,af as u,I as x,U as p}from"./index-Be2jLIYM.js";import{T as f}from"./Tick-D63_jhf1.js";import{c as h}from"./persist-BUqILw7G.js";import{a as j}from"./@react-router-BGgzhn5D.js";import{b as N}from"./index.esm-D7jFlf5N.js";const o=c.createContext(null);function P({children:t,initialStep:r=0,maxSteps:s}){const[a,n]=c.useState(r);return e.jsx(o.Provider,{value:{currentStep:a,setCurrentStep:n,maxSteps:s},children:t})}function l(){const t=c.useContext(o);if(t===null)throw new Error("useWizardContext must be used within a WizardProvider");return t}function W({entries:t}){return e.jsx("aside",{className:"whitespace-nowrap p-2 text-text-sm",children:e.jsx("ul",{className:"space-y-5",children:t.map((r,s)=>e.jsx("li",{children:e.jsx(y,{index:s,children:r})},s))})})}function y({index:t,children:r}){const{currentStep:s}=l(),a=i("font-semibold flex items-center gap-1",{"text-theme-text-tertiary":t<s,"text-theme-text-secondary":t>s});return e.jsxs("div",{className:a,children:[e.jsx(b,{index:t}),e.jsx("span",{children:r})]})}function b({index:t}){const{currentStep:r}=l(),s=t+1;if(r>t)return e.jsx(f,{className:"h-5 w-5",tickClasses:"w-3 h-3"});if(r===t)return e.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded-rounded bg-primary-300 text-white",children:s});if(r<t)return e.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded-rounded bg-neutral-300 text-white",children:s})}function B(){const t=j();function r(){h(),t(m.stacks.create.index)}return e.jsx(d,{onClick:()=>r(),intent:"secondary",size:"md",children:"Cancel"})}function I(t){switch(t){case"aws":return"AWS";case"azure":return"Azure";case"gcp":return"GCP";default:return"Provider"}}function R(){var s;const{register:t,formState:{errors:r}}=N();return e.jsxs("section",{className:"space-y-5 border-b border-theme-border-moderate pb-5",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"flex items-center gap-1 text-text-lg font-semibold",children:[e.jsx(u,{className:"h-5 w-5 fill-primary-400"}),"Select a name for your Stack"]}),e.jsx("p",{className:"text-theme-text-secondary",children:"Please select a name for your stack, that is not used already."})]}),e.jsx("div",{className:"flex items-center space-x-2",children:e.jsxs("div",{className:"space-y-1",children:[e.jsx(x,{className:`${r.stackName?"border-red-500":""}`,placeholder:"zenml-remote-stack",...t("stackName")}),r.stackName&&e.jsx("p",{className:"text-text-xs text-red-500",children:(s=r.stackName.message)==null?void 0:s.toString()})]})})]})}const v=c.forwardRef(({children:t,className:r,id:s,...a},n)=>e.jsxs("div",{className:"min-h-[160px] min-w-[160px]",children:[e.jsx("input",{id:s,...a,ref:n,className:i("peer sr-only",r),type:"radio"}),e.jsx("label",{htmlFor:s,className:"flex h-full w-full flex-col items-start justify-center space-y-5 rounded-md border border-theme-border-minimal bg-theme-surface-primary p-5 text-text-lg text-theme-text-secondary hover:cursor-pointer peer-checked:border-primary-100 peer-checked:bg-primary-25 peer-focus-visible:border-primary-100 peer-disabled:cursor-default peer-disabled:bg-neutral-50",children:t})]}));v.displayName="CloudProviderRadioButton";function E({icon:t,title:r,subtitle:s,comingSoon:a}){return e.jsxs("div",{className:"space-y-1 text-left",children:[t,e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("p",{className:"text-text-lg font-semibold text-theme-text-primary",children:r}),a&&e.jsx(p,{className:"font-semibold",color:"purple",size:"sm",children:"Coming Soon"})]}),e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:s})]})}export{v as C,W as L,E as P,R as S,P as W,B as a,I as g,l as u};
|