@decocms/mesh 2.128.1 → 2.128.2
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.
- package/dist/client/assets/{AlertCircle-CaPfxn3C.js → AlertCircle-Ci70K_EZ.js} +1 -1
- package/dist/client/assets/{AlertOctagon-B5iYjR93.js → AlertOctagon-CqLqdISi.js} +1 -1
- package/dist/client/assets/{AlertTriangle-1uU5MO4w.js → AlertTriangle-D2guHjVq.js} +1 -1
- package/dist/client/assets/{ArrowDown-DsW1Eb5l.js → ArrowDown-BB4lqZfQ.js} +1 -1
- package/dist/client/assets/{ArrowLeft-CEZe13-6.js → ArrowLeft-DOvB9XQA.js} +1 -1
- package/dist/client/assets/{ArrowUp-D2lHxHC0.js → ArrowUp-ByjI1wop.js} +1 -1
- package/dist/client/assets/{Check-CNoR-j0D.js → Check-Dnxirgog.js} +1 -1
- package/dist/client/assets/{CheckCircle-B_iOOOi5.js → CheckCircle-DNKireMY.js} +1 -1
- package/dist/client/assets/{CheckDone01-DZ1AA_qO.js → CheckDone01-BQB-AnYZ.js} +1 -1
- package/dist/client/assets/{CheckVerified02-6DtynON5.js → CheckVerified02-I-XS300S.js} +1 -1
- package/dist/client/assets/{ChevronDown-DDUkuJSI.js → ChevronDown-DlCNAUXg.js} +1 -1
- package/dist/client/assets/{ChevronRight-Dq1pi9_8.js → ChevronRight-BjXZnVl8.js} +1 -1
- package/dist/client/assets/{Clock-CJvImEPo.js → Clock-CuTVdxgk.js} +1 -1
- package/dist/client/assets/{Code01-Dp2ndQJy.js → Code01-D62OImsE.js} +1 -1
- package/dist/client/assets/{Container-CCeNjYn2.js → Container-NYiiZyd6.js} +1 -1
- package/dist/client/assets/{Copy01-RjPsr5Yq.js → Copy01--WUANgtG.js} +1 -1
- package/dist/client/assets/{Dataflow03-3EFz_Pqx.js → Dataflow03-r1iydeQd.js} +1 -1
- package/dist/client/assets/{DotsHorizontal-BDtH5i5G.js → DotsHorizontal-CIJOriRT.js} +1 -1
- package/dist/client/assets/{DotsVertical-CkRccH5v.js → DotsVertical-CdVqSSOc.js} +1 -1
- package/dist/client/assets/{Download01-DhJCYd_N.js → Download01-CB8jg-CL.js} +1 -1
- package/dist/client/assets/{Edit01-C0sWbrc5.js → Edit01-DK-8NMEI.js} +1 -1
- package/dist/client/assets/{Eye-BBNVO3YR.js → Eye-broatAu7.js} +1 -1
- package/dist/client/assets/{File02-DXl-RK2i.js → File02-D0NaH0bX.js} +1 -1
- package/dist/client/assets/{File06-CB3c3yZj.js → File06-WXzmRYLt.js} +1 -1
- package/dist/client/assets/{FilterLines-BJ3xwD8I.js → FilterLines-frJ-GsBz.js} +1 -1
- package/dist/client/assets/{Globe01-BxOyewJG.js → Globe01-VgVHGjyC.js} +1 -1
- package/dist/client/assets/{Globe02-CfLtvFEl.js → Globe02-C0qeWKnK.js} +1 -1
- package/dist/client/assets/{Grid01-CMH937lS.js → Grid01-Dyv_Ip5i.js} +1 -1
- package/dist/client/assets/{Hash02-IiiEpqGT.js → Hash02-oBjA0qJC.js} +1 -1
- package/dist/client/assets/{Home02-CNjYL6mi.js → Home02-DX25irYw.js} +1 -1
- package/dist/client/assets/{Image01-BmKEBk7-.js → Image01-Dv4Xx4Vn.js} +1 -1
- package/dist/client/assets/{Inbox01-CiLy_BJW.js → Inbox01-Bh1zeW2m.js} +1 -1
- package/dist/client/assets/{InfoCircle-ByejukJg.js → InfoCircle-C7uLV_XX.js} +1 -1
- package/dist/client/assets/{Key01-D_13sBSP.js → Key01-DVkykkuH.js} +1 -1
- package/dist/client/assets/{LinkExternal01-BaKJsP-2.js → LinkExternal01-D9NBeY0S.js} +1 -1
- package/dist/client/assets/{List-bsjOduRj.js → List-C9ntvlpP.js} +1 -1
- package/dist/client/assets/{Loading01-BenmUPTz.js → Loading01-D2eBBNoh.js} +1 -1
- package/dist/client/assets/{Lock01-QIRQE8KG.js → Lock01-ep_v0VnB.js} +1 -1
- package/dist/client/assets/{Play-DPohv_lI.js → Play-DfNy_KGK.js} +1 -1
- package/dist/client/assets/{Plus-CccL6_os.js → Plus-CoFNXdPs.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-BSHMD8fB.js → RefreshCcw01-J5wqqeG_.js} +1 -1
- package/dist/client/assets/{RefreshCw01-DXWxqV8p.js → RefreshCw01-CyeiQkso.js} +1 -1
- package/dist/client/assets/{Rows03-D1kEgSST.js → Rows03-D7jJRDVm.js} +1 -1
- package/dist/client/assets/{Save01-DldT27-P.js → Save01-DCBihulA.js} +1 -1
- package/dist/client/assets/{SearchMd-kecplaeW.js → SearchMd-WqvhRztL.js} +1 -1
- package/dist/client/assets/{Settings01-l1kDjmbW.js → Settings01-CF0yl6Tz.js} +1 -1
- package/dist/client/assets/{Shield01-Bg5UNZil.js → Shield01-BVTU_rBf.js} +1 -1
- package/dist/client/assets/{Terminal-CwBIn_x1.js → Terminal-BWI5ji_M.js} +1 -1
- package/dist/client/assets/{Tool01-Dr4UqaAS.js → Tool01-uNfJ4BgB.js} +1 -1
- package/dist/client/assets/{Trash01-CJZCr3-k.js → Trash01-Bilx6R4T.js} +1 -1
- package/dist/client/assets/{Upload01-DA5gvKBL.js → Upload01-yL5uy1IO.js} +1 -1
- package/dist/client/assets/{Users03-D6YkU_jx.js → Users03-ELQ8CczK.js} +1 -1
- package/dist/client/assets/{X-B1k82Jhs.js → X-DlPknjOM.js} +1 -1
- package/dist/client/assets/{XCircle-BT0kxiLI.js → XCircle-aBox2-uz.js} +1 -1
- package/dist/client/assets/{XClose-Cv3F5mwJ.js → XClose-Baiitjul.js} +1 -1
- package/dist/client/assets/{agent-connections-preview-B23ltexW.js → agent-connections-preview-Dn72V1xG.js} +1 -1
- package/dist/client/assets/agent-detail-Dy29kukR.js +2 -0
- package/dist/client/assets/{agents-B3jsv5iD.js → agents-KAvJ30x5.js} +1 -1
- package/dist/client/assets/{alert-dialog-CYCO2MA5.js → alert-dialog-DrmsJmsN.js} +3 -3
- package/dist/client/assets/{auth-catchall-h6JRuE0a.js → auth-catchall-DmQOOeQy.js} +1 -1
- package/dist/client/assets/{avatar-Bl5i9zwr.js → avatar-DjSt5kfT.js} +1 -1
- package/dist/client/assets/{badge-DXHCP5OP.js → badge-Dj7JdmaJ.js} +1 -1
- package/dist/client/assets/{binder-CS_yOr4A.js → binder--zY5y66H.js} +1 -1
- package/dist/client/assets/{breadcrumb-BHrNXGL_.js → breadcrumb-DmYstfbP.js} +1 -1
- package/dist/client/assets/{button-DNOMjlw1.js → button-D10odSSz.js} +1 -1
- package/dist/client/assets/{card-embddh0w.js → card-9y5GtFsZ.js} +1 -1
- package/dist/client/assets/{chart-Cpt8uTn8.js → chart-Bp3LQrS9.js} +5 -5
- package/dist/client/assets/{checkbox-CgdhuYDr.js → checkbox-D2YWMWVu.js} +1 -1
- package/dist/client/assets/{circle-alert-CwoOzB1J.js → circle-alert-B7z6aEqV.js} +1 -1
- package/dist/client/assets/{collection-detail-B-GRQ7WP.js → collection-detail-Nf6HLmBW.js} +1 -1
- package/dist/client/assets/{collection-search-Dij7M3eR.js → collection-search-BAmI-gVt.js} +1 -1
- package/dist/client/assets/{collection-tab-BGtGamq-.js → collection-tab-CQQXE46p.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-Di2aVhzJ.js → collection-table-wrapper-fcFg8ybt.js} +1 -1
- package/dist/client/assets/{collection-tabs-BLqB_I52.js → collection-tabs-D2IJ4sD1.js} +1 -1
- package/dist/client/assets/{command-VPWz6yCH.js → command-BMl6YeZX.js} +1 -1
- package/dist/client/assets/{connect-DnGl27xs.js → connect-ezzuoZk1.js} +1 -1
- package/dist/client/assets/{connection-card-7519d_wg.js → connection-card-BPNLF3Zq.js} +1 -1
- package/dist/client/assets/{connection-detail-faJFOyTd.js → connection-detail-B931e97h.js} +1 -1
- package/dist/client/assets/{connections-DBgbzkoP.js → connections-Du--7tHh.js} +1 -1
- package/dist/client/assets/{constants-CauHKhPd.js → constants-V7-3C38y.js} +1 -1
- package/dist/client/assets/constants-wwWYqq9s.js +1 -0
- package/dist/client/assets/context-BBfuJWes.js +23 -0
- package/dist/client/assets/{create-organization-dialog-B2DTbOJW.js → create-organization-dialog-3HZ9Fapi.js} +1 -1
- package/dist/client/assets/{create-project-dialog-CXSasNC5.js → create-project-dialog-D87AirfP.js} +1 -1
- package/dist/client/assets/deco-constants-BmtTfZbQ.js +1 -0
- package/dist/client/assets/{dialog-tjq4prSB.js → dialog-bLBl7se3.js} +1 -1
- package/dist/client/assets/{dropdown-menu-CDF20v4R.js → dropdown-menu-D6LMimH3.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-BN-x5HXB.js → dynamic-plugin-layout-Dl6SpfCc.js} +1 -1
- package/dist/client/assets/{editable-thread-title-CXjzntr3.js → editable-thread-title-C5iprBiE.js} +1 -1
- package/dist/client/assets/{empty-state-c_HHy7av.js → empty-state-CPu-zZBv.js} +1 -1
- package/dist/client/assets/{env-vars-editor-BGNug8lu.js → env-vars-editor-DflzxmJb.js} +1 -1
- package/dist/client/assets/{error-boundary-CucmhBcD.js → error-boundary-apRp8Xmr.js} +1 -1
- package/dist/client/assets/{extract-connection-data-C7kbemIz.js → extract-connection-data-DyTSTIQR.js} +1 -1
- package/dist/client/assets/{file-browser-C0H5-uyP.js → file-browser-D4rvNQn-.js} +2 -2
- package/dist/client/assets/{form-D7HuAr0C.js → form-CSWi3me2.js} +1 -1
- package/dist/client/assets/{grid-view-BBcdY4St.js → grid-view-CIKn_gai.js} +1 -1
- package/dist/client/assets/{home-DrVqMz__.js → home-urEawFOR.js} +1 -1
- package/dist/client/assets/{index-CsRpfkk4.js → index-BpUpHsNU.js} +1 -1
- package/dist/client/assets/{index-J3TfxMCz.js → index-BsrQAmtK.js} +1 -1
- package/dist/client/assets/{index-BeJrcWGY.js → index-CI36RmtE.js} +1 -1
- package/dist/client/assets/index-CJXotA7N.css +1 -0
- package/dist/client/assets/{index-Db98kGBs.js → index-CW4zTmBX.js} +1 -1
- package/dist/client/assets/{index-BV174PTU.js → index-CX1TvU3T.js} +1 -1
- package/dist/client/assets/{index-Cjy7CaTp.js → index-DTB_8xm9.js} +56 -56
- package/dist/client/assets/index-h05RWZry.js +1 -0
- package/dist/client/assets/{index-DsF1iQsY.js → index-kTXXfvC-.js} +1 -1
- package/dist/client/assets/{index-B8U4oUft.js → index-uOrjFt6t.js} +3 -3
- package/dist/client/assets/{infiniteQueryObserver-PmENlY0V.js → infiniteQueryObserver-DS9VDnBa.js} +1 -1
- package/dist/client/assets/{input-D2d-Emv3.js → input-C8Cn3OQt.js} +1 -1
- package/dist/client/assets/{integration-icon-BY5Cit6Q.js → integration-icon-CHvqhFEd.js} +1 -1
- package/dist/client/assets/{label-D08OQxZj.js → label-D84F6EwM.js} +1 -1
- package/dist/client/assets/{layout-Nk6QxhEo.js → layout-14xmCS52.js} +1 -1
- package/dist/client/assets/{localstorage-keys-BWo6heuU.js → localstorage-keys-r_mW6Lq0.js} +1 -1
- package/dist/client/assets/{login-ammpgNB-.js → login-D-_vmeEI.js} +1 -1
- package/dist/client/assets/{markdown-CrEo0zo3.js → markdown-BD6zDSJc.js} +1 -1
- package/dist/client/assets/{mcp-oauth-CGFvHR1L.js → mcp-oauth-CDj0bpnF.js} +1 -1
- package/dist/client/assets/{mcp-server-card-BgC5xBqX.js → mcp-server-card-B4JV-Q1h.js} +1 -1
- package/dist/client/assets/{mcp-server-detail-C1iBlkhh.js → mcp-server-detail-CsXpfhbo.js} +2 -2
- package/dist/client/assets/{members-vALqpZBg.js → members-B0_Xg_uw.js} +1 -1
- package/dist/client/assets/{monitoring-C5YeQkMd.js → monitoring-FEHIw1jG.js} +1 -1
- package/dist/client/assets/{monitoring-dashboard-edit-Gi5op0JF.js → monitoring-dashboard-edit-D9Ku98yT.js} +1 -1
- package/dist/client/assets/{monitoring-dashboard-view-DGOfuIsH.js → monitoring-dashboard-view-eE4UAi9y.js} +1 -1
- package/dist/client/assets/{oauth-callback-CIreGoVm.js → oauth-callback-AmREHdz2.js} +1 -1
- package/dist/client/assets/page-383FaDV2.js +1 -0
- package/dist/client/assets/{page-M1GUNvPi.js → page-thqQ0ll8.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-CX-GSe7g.js → plugin-empty-state-Bi8TKl0X.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-pCPRfw9D.js → plugin-empty-state-OjZLLHuW.js} +1 -1
- package/dist/client/assets/{plugin-header-Dpl-nWNH.js → plugin-header-DqYSY5WD.js} +1 -1
- package/dist/client/assets/{plugin-header-DcwxELEy.js → plugin-header-NOGbkpim.js} +1 -1
- package/dist/client/assets/{popover-1pDZke8G.js → popover-B_SzRtKR.js} +1 -1
- package/dist/client/assets/{project-layout-COemS-HZ.js → project-layout-DxcVceRu.js} +1 -1
- package/dist/client/assets/{projects-list-agwDKNpz.js → projects-list-FULLceFc.js} +1 -1
- package/dist/client/assets/{ranking-layout-D6armJHc.js → ranking-layout-B_B3SLxi.js} +1 -1
- package/dist/client/assets/{readme-viewer-aEVGsFwJ.js → readme-viewer-DAvIfvua.js} +1 -1
- package/dist/client/assets/{registry-layout-BQn-d1Q_.js → registry-layout-BcVc2nNS.js} +1 -1
- package/dist/client/assets/{registry-utils-Bj-tsnj0.js → registry-utils-CwZm8daW.js} +1 -1
- package/dist/client/assets/{reports-layout-pf1vxPuS.js → reports-layout-Cb_9di8U.js} +1 -1
- package/dist/client/assets/{reset-password-Bxri-VSu.js → reset-password-tNDIWT24.js} +1 -1
- package/dist/client/assets/{resizable-CZx8NP8B.js → resizable-BvPyhOvU.js} +1 -1
- package/dist/client/assets/{save-actions-DZmNMOM9.js → save-actions-DTbCJcwB.js} +1 -1
- package/dist/client/assets/{scroll-area-BTlDAldz.js → scroll-area-BbTrJsHn.js} +4 -4
- package/dist/client/assets/{select-BKzhwzg_.js → select-BZB4uvGm.js} +1 -1
- package/dist/client/assets/{shell-layout-BNxaant4.js → shell-layout-BHmLkMzR.js} +2 -2
- package/dist/client/assets/{skeleton-DhHG9XPa.js → skeleton-B9aXeb5e.js} +1 -1
- package/dist/client/assets/{spinner-hCOTG5OP.js → spinner-BeYA_hqO.js} +1 -1
- package/dist/client/assets/{store-invite-DRY5-ZDN.js → store-invite-CBtJIAbW.js} +1 -1
- package/dist/client/assets/{switch-_VxGKoS-.js → switch-CkEMQ9Z5.js} +1 -1
- package/dist/client/assets/{table-BbGaMdz9.js → table-D_a-Z4Fv.js} +1 -1
- package/dist/client/assets/{tabs-Bg1eVN3B.js → tabs-Cqye-vZ-.js} +1 -1
- package/dist/client/assets/{tasks-XhvCS1ff.js → tasks-DbmObaDD.js} +1 -1
- package/dist/client/assets/{textarea-CELaJsBT.js → textarea-CLWsfk4l.js} +1 -1
- package/dist/client/assets/{time-range-picker-B9_Se7lJ.js → time-range-picker-jCfxVj6J.js} +1 -1
- package/dist/client/assets/{toggle-group-DPDzwsxc.js → toggle-group-BUoI214e.js} +1 -1
- package/dist/client/assets/{tools-list-D9iiqq_n.js → tools-list-jE6c8Z18.js} +1 -1
- package/dist/client/assets/{tooltip-BgZ5grAL.js → tooltip-CooOHv4u.js} +1 -1
- package/dist/client/assets/{topbar-portal-C1s-Q-XZ.js → topbar-portal-CjBmYjs5.js} +1 -1
- package/dist/client/assets/{types-C7RPRzYy.js → types-jYkZj_oN.js} +1 -1
- package/dist/client/assets/{use-binding-Cq9QDcCj.js → use-binding-9lQePXv2.js} +1 -1
- package/dist/client/assets/{use-connection-D_Im8tPZ.js → use-connection-DqGqpr6W.js} +1 -1
- package/dist/client/assets/{use-copy-BCgna2SV.js → use-copy-CvA2en_g.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-ChuMXSuv.js → use-create-virtual-mcp-DJv6y6EJ.js} +1 -1
- package/dist/client/assets/{use-deco-chat-open-DgLUrTRx.js → use-deco-chat-open-DeWcxP9f.js} +1 -1
- package/dist/client/assets/{use-install-from-registry-Cj4kk5_m.js → use-install-from-registry-iT6pKCDG.js} +1 -1
- package/dist/client/assets/{use-list-state-DhEYDQ24.js → use-list-state-0IvPs7yX.js} +1 -1
- package/dist/client/assets/{use-llm-DkcXIkqW.js → use-llm-CDYsARAu.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-P6WWdW2F.js → use-mcp-prompts-B9LoAxha.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-C9P7hJ3v.js → use-mcp-tools-DuTyW4Xm.js} +1 -1
- package/dist/client/assets/{use-members-gSpJkGMf.js → use-members-ByAHJbqb.js} +1 -1
- package/dist/client/assets/{use-mobile-BBJ98in5.js → use-mobile-DA9mzCuy.js} +1 -1
- package/dist/client/assets/{use-project-CtQnqV6R.js → use-project-Cr1TKfdV.js} +1 -1
- package/dist/client/assets/use-settings-modal-DVxljFTz.js +1 -0
- package/dist/client/assets/{use-view-mode-DNd13MXV.js → use-view-mode-DJ9lvNoA.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-DFtQ1pa4.js → use-virtual-mcp-B7YffSTv.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-D4-rTdBB.js +1 -0
- package/dist/client/assets/{useMutation-BTa4icV6.js → useMutation-BYvhr9Wj.js} +1 -1
- package/dist/client/assets/useQuery-Vrc6Li_H.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-D3F1c8oY.js +1 -0
- package/dist/client/assets/{workflow-qF8c0_Lg.js → workflow-CsBV4dNN.js} +1 -1
- package/dist/client/index.html +2 -2
- package/package.json +1 -1
- package/dist/client/assets/agent-detail-DzzlkE76.js +0 -2
- package/dist/client/assets/constants-BkNMmXhs.js +0 -1
- package/dist/client/assets/context-D2hiiV-T.js +0 -23
- package/dist/client/assets/deco-constants-peSNyB6P.js +0 -1
- package/dist/client/assets/index-Dak_LVfw.js +0 -1
- package/dist/client/assets/index-Tb7qPLHt.css +0 -1
- package/dist/client/assets/page-BsH9eRyV.js +0 -1
- package/dist/client/assets/use-settings-modal-BCHG7EyJ.js +0 -1
- package/dist/client/assets/useInfiniteQuery-Cytlc_cY.js +0 -1
- package/dist/client/assets/useQuery-CMPAZTWF.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DA2W3hYk.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ranking-layout-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ranking-layout-B_B3SLxi.js","assets/binder--zY5y66H.js","assets/useQuery-Vrc6Li_H.js","assets/use-connection-DqGqpr6W.js","assets/useMutation-BYvhr9Wj.js","assets/constants-V7-3C38y.js","assets/topbar-portal-CjBmYjs5.js","assets/button-D10odSSz.js","assets/Loading01-D2eBBNoh.js","assets/Settings01-CF0yl6Tz.js","assets/dialog-bLBl7se3.js","assets/X-DlPknjOM.js","assets/dropdown-menu-D6LMimH3.js","assets/Check-Dnxirgog.js","assets/ChevronRight-BjXZnVl8.js","assets/input-C8Cn3OQt.js","assets/switch-CkEMQ9Z5.js","assets/DotsVertical-CdVqSSOc.js","assets/Plus-CoFNXdPs.js","assets/SearchMd-WqvhRztL.js","assets/AlertCircle-Ci70K_EZ.js","assets/ArrowLeft-DOvB9XQA.js","assets/Clock-CuTVdxgk.js","assets/table-D_a-Z4Fv.js","assets/markdown-BD6zDSJc.js","assets/ArrowDown-BB4lqZfQ.js","assets/ArrowUp-ByjI1wop.js","assets/CheckVerified02-I-XS300S.js","assets/File02-D0NaH0bX.js","assets/Hash02-oBjA0qJC.js","assets/Rows03-D7jJRDVm.js","assets/CheckCircle-DNKireMY.js","assets/InfoCircle-C7uLV_XX.js","assets/XCircle-aBox2-uz.js","assets/ChevronDown-DlCNAUXg.js","assets/file-browser-D4rvNQn-.js","assets/useInfiniteQuery-D4-rTdBB.js","assets/infiniteQueryObserver-DS9VDnBa.js","assets/checkbox-D2YWMWVu.js","assets/Download01-CB8jg-CL.js","assets/Grid01-Dyv_Ip5i.js","assets/Home02-DX25irYw.js","assets/List-C9ntvlpP.js","assets/Trash01-Bilx6R4T.js","assets/Upload01-yL5uy1IO.js","assets/plugin-header-NOGbkpim.js","assets/registry-layout-BcVc2nNS.js","assets/Container-NYiiZyd6.js","assets/badge-Dj7JdmaJ.js","assets/toggle-group-BUoI214e.js","assets/use-view-mode-DJ9lvNoA.js","assets/use-mobile-DA9mzCuy.js","assets/FilterLines-frJ-GsBz.js","assets/Globe01-VgVHGjyC.js","assets/alert-dialog-DrmsJmsN.js","assets/card-9y5GtFsZ.js","assets/label-D84F6EwM.js","assets/select-BZB4uvGm.js","assets/index-kTXXfvC-.js","assets/textarea-CLWsfk4l.js","assets/use-copy-CvA2en_g.js","assets/RefreshCcw01-J5wqqeG_.js","assets/Eye-broatAu7.js","assets/LinkExternal01-D9NBeY0S.js","assets/popover-B_SzRtKR.js","assets/Copy01--WUANgtG.js","assets/Save01-DCBihulA.js","assets/Key01-DVkykkuH.js","assets/tooltip-CooOHv4u.js","assets/mcp-oauth-CDj0bpnF.js","assets/Play-DfNy_KGK.js","assets/reports-layout-Cb_9di8U.js","assets/CheckDone01-BQB-AnYZ.js","assets/Inbox01-Bh1zeW2m.js","assets/plugin-header-DqYSY5WD.js","assets/Dataflow03-r1iydeQd.js","assets/plugin-empty-state-OjZLLHuW.js","assets/login-D-_vmeEI.js","assets/reset-password-tNDIWT24.js","assets/connect-ezzuoZk1.js","assets/circle-alert-B7z6aEqV.js","assets/oauth-callback-AmREHdz2.js","assets/shell-layout-BHmLkMzR.js","assets/index-DTB_8xm9.js","assets/context-BBfuJWes.js","assets/use-virtual-mcp-B7YffSTv.js","assets/decopilot-events-Brt4gAR6.js","assets/use-llm-CDYsARAu.js","assets/use-binding-9lQePXv2.js","assets/localstorage-keys-r_mW6Lq0.js","assets/error-boundary-apRp8Xmr.js","assets/AlertTriangle-D2guHjVq.js","assets/skeleton-B9aXeb5e.js","assets/File06-WXzmRYLt.js","assets/Image01-Dv4Xx4Vn.js","assets/useSuspenseInfiniteQuery-D3F1c8oY.js","assets/spinner-BeYA_hqO.js","assets/use-mcp-prompts-B9LoAxha.js","assets/form-CSWi3me2.js","assets/usage-B8eRkRZY.js","assets/Edit01-DK-8NMEI.js","assets/Users03-ELQ8CczK.js","assets/tabs-Cqye-vZ-.js","assets/use-deco-chat-open-DeWcxP9f.js","assets/Code01-D62OImsE.js","assets/integration-icon-CHvqhFEd.js","assets/use-create-virtual-mcp-DJv6y6EJ.js","assets/marked.esm-BaswSlok.js","assets/types-jYkZj_oN.js","assets/Globe02-C0qeWKnK.js","assets/RefreshCw01-CyeiQkso.js","assets/XClose-Baiitjul.js","assets/collection-search-BAmI-gVt.js","assets/deco-constants-BmtTfZbQ.js","assets/generate-id-Dyweu44Y.js","assets/index-CX1TvU3T.js","assets/editable-thread-title-C5iprBiE.js","assets/create-project-dialog-D87AirfP.js","assets/use-settings-modal-DVxljFTz.js","assets/use-project-Cr1TKfdV.js","assets/avatar-DjSt5kfT.js","assets/create-organization-dialog-3HZ9Fapi.js","assets/Shield01-BVTU_rBf.js","assets/use-mcp-tools-DuTyW4Xm.js","assets/resizable-BvPyhOvU.js","assets/home-urEawFOR.js","assets/project-layout-DxcVceRu.js","assets/use-install-from-registry-iT6pKCDG.js","assets/extract-connection-data-DyTSTIQR.js","assets/constants-wwWYqq9s.js","assets/github-icon-Dp3wHhYE.js","assets/registry-utils-CwZm8daW.js","assets/chart-Bp3LQrS9.js","assets/index-CW4zTmBX.js","assets/use-members-ByAHJbqb.js","assets/page-383FaDV2.js","assets/tasks-DbmObaDD.js","assets/collection-table-wrapper-fcFg8ybt.js","assets/use-list-state-0IvPs7yX.js","assets/format-time-CMKyl-GC.js","assets/differenceInSeconds-NQ4PDo0z.js","assets/breadcrumb-DmYstfbP.js","assets/AlertOctagon-CqLqdISi.js","assets/projects-list-FULLceFc.js","assets/formatDistanceToNow-Cb2QZZJn.js","assets/members-B0_Xg_uw.js","assets/DotsHorizontal-CIJOriRT.js","assets/Lock01-ep_v0VnB.js","assets/command-BMl6YeZX.js","assets/index-h05RWZry.js","assets/connections-Du--7tHh.js","assets/connection-card-BPNLF3Zq.js","assets/Terminal-BWI5ji_M.js","assets/env-vars-editor-DflzxmJb.js","assets/connection-detail-B931e97h.js","assets/save-actions-DTbCJcwB.js","assets/index-BpUpHsNU.js","assets/index-BsrQAmtK.js","assets/collection-tabs-D2IJ4sD1.js","assets/layout-14xmCS52.js","assets/collection-tab-CQQXE46p.js","assets/empty-state-CPu-zZBv.js","assets/readme-viewer-DAvIfvua.js","assets/readme-viewer-DWnTz46N.css","assets/tools-list-jE6c8Z18.js","assets/collection-detail-Nf6HLmBW.js","assets/scroll-area-BbTrJsHn.js","assets/Tool01-uNfJ4BgB.js","assets/monitoring-FEHIw1jG.js","assets/time-range-picker-jCfxVj6J.js","assets/monitoring-dashboard-view-eE4UAi9y.js","assets/monitoring-dashboard-edit-D9Ku98yT.js","assets/page-thqQ0ll8.js","assets/slugify-CEUa2lfQ.js","assets/mcp-server-card-B4JV-Q1h.js","assets/mcp-server-detail-CsXpfhbo.js","assets/agents-KAvJ30x5.js","assets/agent-connections-preview-Dn72V1xG.js","assets/agent-detail-Dy29kukR.js","assets/workflow-CsBV4dNN.js","assets/dynamic-plugin-layout-Dl6SpfCc.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
function P5(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const a in r)if(a!=="default"&&!(a in e)){const i=Object.getOwnPropertyDescriptor(r,a);i&&Object.defineProperty(e,a,i.get?i:{enumerable:!0,get:()=>r[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const c of i.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&r(c)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();const D5="modulepreload",L5=function(e){return"/"+e},VR={},xt=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){let c=function(f){return Promise.all(f.map(m=>Promise.resolve(m).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),d=u?.nonce||u?.getAttribute("nonce");a=c(n.map(f=>{if(f=L5(f),f in VR)return;VR[f]=!0;const m=f.endsWith(".css"),p=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${f}"]${p}`))return;const g=document.createElement("link");if(g.rel=m?"stylesheet":D5,m||(g.as="script"),g.crossOrigin="",g.href=f,d&&g.setAttribute("nonce",d),document.head.appendChild(g),m)return new Promise((y,b)=>{g.addEventListener("load",y),g.addEventListener("error",()=>b(Error(`Unable to preload CSS for ${f}`)))})}))}function i(c){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=c,window.dispatchEvent(u),!u.defaultPrevented)throw c}return a.then(c=>{for(const u of c||[])u.status==="rejected"&&i(u.reason);return t().catch(i)})};var voe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ja(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yy={exports:{}},hu={};var FR;function j5(){if(FR)return hu;FR=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,a,i){var c=null;if(i!==void 0&&(c=""+i),a.key!==void 0&&(c=""+a.key),"key"in a){i={};for(var u in a)u!=="key"&&(i[u]=a[u])}else i=a;return a=i.ref,{$$typeof:e,type:r,key:c,ref:a!==void 0?a:null,props:i}}return hu.Fragment=t,hu.jsx=n,hu.jsxs=n,hu}var BR;function $5(){return BR||(BR=1,yy.exports=j5()),yy.exports}var x=$5(),_y={exports:{}},pu={},by={exports:{}},Sy={};var qR;function U5(){return qR||(qR=1,(function(e){function t(F,J){var ae=F.length;F.push(J);e:for(;0<ae;){var fe=ae-1>>>1,K=F[fe];if(0<a(K,J))F[fe]=J,F[ae]=K,ae=fe;else break e}}function n(F){return F.length===0?null:F[0]}function r(F){if(F.length===0)return null;var J=F[0],ae=F.pop();if(ae!==J){F[0]=ae;e:for(var fe=0,K=F.length,P=K>>>1;fe<P;){var q=2*(fe+1)-1,B=F[q],L=q+1,$=F[L];if(0>a(B,ae))L<K&&0>a($,B)?(F[fe]=$,F[L]=ae,fe=L):(F[fe]=B,F[q]=ae,fe=q);else if(L<K&&0>a($,ae))F[fe]=$,F[L]=ae,fe=L;else break e}}return J}function a(F,J){var ae=F.sortIndex-J.sortIndex;return ae!==0?ae:F.id-J.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var c=Date,u=c.now();e.unstable_now=function(){return c.now()-u}}var d=[],f=[],m=1,p=null,g=3,y=!1,b=!1,w=!1,S=!1,R=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;function C(F){for(var J=n(f);J!==null;){if(J.callback===null)r(f);else if(J.startTime<=F)r(f),J.sortIndex=J.expirationTime,t(d,J);else break;J=n(f)}}function O(F){if(w=!1,C(F),!b)if(n(d)!==null)b=!0,I||(I=!0,Z());else{var J=n(f);J!==null&&ie(O,J.startTime-F)}}var I=!1,M=-1,D=5,z=-1;function Q(){return S?!0:!(e.unstable_now()-z<D)}function V(){if(S=!1,I){var F=e.unstable_now();z=F;var J=!0;try{e:{b=!1,w&&(w=!1,E(M),M=-1),y=!0;var ae=g;try{t:{for(C(F),p=n(d);p!==null&&!(p.expirationTime>F&&Q());){var fe=p.callback;if(typeof fe=="function"){p.callback=null,g=p.priorityLevel;var K=fe(p.expirationTime<=F);if(F=e.unstable_now(),typeof K=="function"){p.callback=K,C(F),J=!0;break t}p===n(d)&&r(d),C(F)}else r(d);p=n(d)}if(p!==null)J=!0;else{var P=n(f);P!==null&&ie(O,P.startTime-F),J=!1}}break e}finally{p=null,g=ae,y=!1}J=void 0}}finally{J?Z():I=!1}}}var Z;if(typeof T=="function")Z=function(){T(V)};else if(typeof MessageChannel<"u"){var U=new MessageChannel,ee=U.port2;U.port1.onmessage=V,Z=function(){ee.postMessage(null)}}else Z=function(){R(V,0)};function ie(F,J){M=R(function(){F(e.unstable_now())},J)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(F){F.callback=null},e.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<F?Math.floor(1e3/F):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_next=function(F){switch(g){case 1:case 2:case 3:var J=3;break;default:J=g}var ae=g;g=J;try{return F()}finally{g=ae}},e.unstable_requestPaint=function(){S=!0},e.unstable_runWithPriority=function(F,J){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var ae=g;g=F;try{return J()}finally{g=ae}},e.unstable_scheduleCallback=function(F,J,ae){var fe=e.unstable_now();switch(typeof ae=="object"&&ae!==null?(ae=ae.delay,ae=typeof ae=="number"&&0<ae?fe+ae:fe):ae=fe,F){case 1:var K=-1;break;case 2:K=250;break;case 5:K=1073741823;break;case 4:K=1e4;break;default:K=5e3}return K=ae+K,F={id:m++,callback:J,priorityLevel:F,startTime:ae,expirationTime:K,sortIndex:-1},ae>fe?(F.sortIndex=ae,t(f,F),n(d)===null&&F===n(f)&&(w?(E(M),M=-1):w=!0,ie(O,ae-fe))):(F.sortIndex=K,t(d,F),b||y||(b=!0,I||(I=!0,Z()))),F},e.unstable_shouldYield=Q,e.unstable_wrapCallback=function(F){var J=g;return function(){var ae=g;g=J;try{return F.apply(this,arguments)}finally{g=ae}}}})(Sy)),Sy}var HR;function z5(){return HR||(HR=1,by.exports=U5()),by.exports}var wy={exports:{}},Je={};var GR;function V5(){if(GR)return Je;GR=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),g=Symbol.iterator;function y(P){return P===null||typeof P!="object"?null:(P=g&&P[g]||P["@@iterator"],typeof P=="function"?P:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,S={};function R(P,q,B){this.props=P,this.context=q,this.refs=S,this.updater=B||b}R.prototype.isReactComponent={},R.prototype.setState=function(P,q){if(typeof P!="object"&&typeof P!="function"&&P!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,P,q,"setState")},R.prototype.forceUpdate=function(P){this.updater.enqueueForceUpdate(this,P,"forceUpdate")};function E(){}E.prototype=R.prototype;function T(P,q,B){this.props=P,this.context=q,this.refs=S,this.updater=B||b}var C=T.prototype=new E;C.constructor=T,w(C,R.prototype),C.isPureReactComponent=!0;var O=Array.isArray;function I(){}var M={H:null,A:null,T:null,S:null},D=Object.prototype.hasOwnProperty;function z(P,q,B){var L=B.ref;return{$$typeof:e,type:P,key:q,ref:L!==void 0?L:null,props:B}}function Q(P,q){return z(P.type,q,P.props)}function V(P){return typeof P=="object"&&P!==null&&P.$$typeof===e}function Z(P){var q={"=":"=0",":":"=2"};return"$"+P.replace(/[=:]/g,function(B){return q[B]})}var U=/\/+/g;function ee(P,q){return typeof P=="object"&&P!==null&&P.key!=null?Z(""+P.key):q.toString(36)}function ie(P){switch(P.status){case"fulfilled":return P.value;case"rejected":throw P.reason;default:switch(typeof P.status=="string"?P.then(I,I):(P.status="pending",P.then(function(q){P.status==="pending"&&(P.status="fulfilled",P.value=q)},function(q){P.status==="pending"&&(P.status="rejected",P.reason=q)})),P.status){case"fulfilled":return P.value;case"rejected":throw P.reason}}throw P}function F(P,q,B,L,$){var X=typeof P;(X==="undefined"||X==="boolean")&&(P=null);var ge=!1;if(P===null)ge=!0;else switch(X){case"bigint":case"string":case"number":ge=!0;break;case"object":switch(P.$$typeof){case e:case t:ge=!0;break;case m:return ge=P._init,F(ge(P._payload),q,B,L,$)}}if(ge)return $=$(P),ge=L===""?"."+ee(P,0):L,O($)?(B="",ge!=null&&(B=ge.replace(U,"$&/")+"/"),F($,q,B,"",function(Ne){return Ne})):$!=null&&(V($)&&($=Q($,B+($.key==null||P&&P.key===$.key?"":(""+$.key).replace(U,"$&/")+"/")+ge)),q.push($)),1;ge=0;var _e=L===""?".":L+":";if(O(P))for(var Ie=0;Ie<P.length;Ie++)L=P[Ie],X=_e+ee(L,Ie),ge+=F(L,q,B,X,$);else if(Ie=y(P),typeof Ie=="function")for(P=Ie.call(P),Ie=0;!(L=P.next()).done;)L=L.value,X=_e+ee(L,Ie++),ge+=F(L,q,B,X,$);else if(X==="object"){if(typeof P.then=="function")return F(ie(P),q,B,L,$);throw q=String(P),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(P).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return ge}function J(P,q,B){if(P==null)return P;var L=[],$=0;return F(P,L,"","",function(X){return q.call(B,X,$++)}),L}function ae(P){if(P._status===-1){var q=P._result;q=q(),q.then(function(B){(P._status===0||P._status===-1)&&(P._status=1,P._result=B)},function(B){(P._status===0||P._status===-1)&&(P._status=2,P._result=B)}),P._status===-1&&(P._status=0,P._result=q)}if(P._status===1)return P._result.default;throw P._result}var fe=typeof reportError=="function"?reportError:function(P){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof P=="object"&&P!==null&&typeof P.message=="string"?String(P.message):String(P),error:P});if(!window.dispatchEvent(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",P);return}console.error(P)},K={map:J,forEach:function(P,q,B){J(P,function(){q.apply(this,arguments)},B)},count:function(P){var q=0;return J(P,function(){q++}),q},toArray:function(P){return J(P,function(q){return q})||[]},only:function(P){if(!V(P))throw Error("React.Children.only expected to receive a single React element child.");return P}};return Je.Activity=p,Je.Children=K,Je.Component=R,Je.Fragment=n,Je.Profiler=a,Je.PureComponent=T,Je.StrictMode=r,Je.Suspense=d,Je.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M,Je.__COMPILER_RUNTIME={__proto__:null,c:function(P){return M.H.useMemoCache(P)}},Je.cache=function(P){return function(){return P.apply(null,arguments)}},Je.cacheSignal=function(){return null},Je.cloneElement=function(P,q,B){if(P==null)throw Error("The argument must be a React element, but you passed "+P+".");var L=w({},P.props),$=P.key;if(q!=null)for(X in q.key!==void 0&&($=""+q.key),q)!D.call(q,X)||X==="key"||X==="__self"||X==="__source"||X==="ref"&&q.ref===void 0||(L[X]=q[X]);var X=arguments.length-2;if(X===1)L.children=B;else if(1<X){for(var ge=Array(X),_e=0;_e<X;_e++)ge[_e]=arguments[_e+2];L.children=ge}return z(P.type,$,L)},Je.createContext=function(P){return P={$$typeof:c,_currentValue:P,_currentValue2:P,_threadCount:0,Provider:null,Consumer:null},P.Provider=P,P.Consumer={$$typeof:i,_context:P},P},Je.createElement=function(P,q,B){var L,$={},X=null;if(q!=null)for(L in q.key!==void 0&&(X=""+q.key),q)D.call(q,L)&&L!=="key"&&L!=="__self"&&L!=="__source"&&($[L]=q[L]);var ge=arguments.length-2;if(ge===1)$.children=B;else if(1<ge){for(var _e=Array(ge),Ie=0;Ie<ge;Ie++)_e[Ie]=arguments[Ie+2];$.children=_e}if(P&&P.defaultProps)for(L in ge=P.defaultProps,ge)$[L]===void 0&&($[L]=ge[L]);return z(P,X,$)},Je.createRef=function(){return{current:null}},Je.forwardRef=function(P){return{$$typeof:u,render:P}},Je.isValidElement=V,Je.lazy=function(P){return{$$typeof:m,_payload:{_status:-1,_result:P},_init:ae}},Je.memo=function(P,q){return{$$typeof:f,type:P,compare:q===void 0?null:q}},Je.startTransition=function(P){var q=M.T,B={};M.T=B;try{var L=P(),$=M.S;$!==null&&$(B,L),typeof L=="object"&&L!==null&&typeof L.then=="function"&&L.then(I,fe)}catch(X){fe(X)}finally{q!==null&&B.types!==null&&(q.types=B.types),M.T=q}},Je.unstable_useCacheRefresh=function(){return M.H.useCacheRefresh()},Je.use=function(P){return M.H.use(P)},Je.useActionState=function(P,q,B){return M.H.useActionState(P,q,B)},Je.useCallback=function(P,q){return M.H.useCallback(P,q)},Je.useContext=function(P){return M.H.useContext(P)},Je.useDebugValue=function(){},Je.useDeferredValue=function(P,q){return M.H.useDeferredValue(P,q)},Je.useEffect=function(P,q){return M.H.useEffect(P,q)},Je.useEffectEvent=function(P){return M.H.useEffectEvent(P)},Je.useId=function(){return M.H.useId()},Je.useImperativeHandle=function(P,q,B){return M.H.useImperativeHandle(P,q,B)},Je.useInsertionEffect=function(P,q){return M.H.useInsertionEffect(P,q)},Je.useLayoutEffect=function(P,q){return M.H.useLayoutEffect(P,q)},Je.useMemo=function(P,q){return M.H.useMemo(P,q)},Je.useOptimistic=function(P,q){return M.H.useOptimistic(P,q)},Je.useReducer=function(P,q,B){return M.H.useReducer(P,q,B)},Je.useRef=function(P){return M.H.useRef(P)},Je.useState=function(P){return M.H.useState(P)},Je.useSyncExternalStore=function(P,q,B){return M.H.useSyncExternalStore(P,q,B)},Je.useTransition=function(){return M.H.useTransition()},Je.version="19.2.4",Je}var ZR;function Us(){return ZR||(ZR=1,wy.exports=V5()),wy.exports}var Ey={exports:{}},tr={};var KR;function F5(){if(KR)return tr;KR=1;var e=Us();function t(d){var f="https://react.dev/errors/"+d;if(1<arguments.length){f+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)f+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+d+"; visit "+f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},a=Symbol.for("react.portal");function i(d,f,m){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:p==null?null:""+p,children:d,containerInfo:f,implementation:m}}var c=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(d,f){if(d==="font")return"";if(typeof f=="string")return f==="use-credentials"?f:""}return tr.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,tr.createPortal=function(d,f){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!f||f.nodeType!==1&&f.nodeType!==9&&f.nodeType!==11)throw Error(t(299));return i(d,f,null,m)},tr.flushSync=function(d){var f=c.T,m=r.p;try{if(c.T=null,r.p=2,d)return d()}finally{c.T=f,r.p=m,r.d.f()}},tr.preconnect=function(d,f){typeof d=="string"&&(f?(f=f.crossOrigin,f=typeof f=="string"?f==="use-credentials"?f:"":void 0):f=null,r.d.C(d,f))},tr.prefetchDNS=function(d){typeof d=="string"&&r.d.D(d)},tr.preinit=function(d,f){if(typeof d=="string"&&f&&typeof f.as=="string"){var m=f.as,p=u(m,f.crossOrigin),g=typeof f.integrity=="string"?f.integrity:void 0,y=typeof f.fetchPriority=="string"?f.fetchPriority:void 0;m==="style"?r.d.S(d,typeof f.precedence=="string"?f.precedence:void 0,{crossOrigin:p,integrity:g,fetchPriority:y}):m==="script"&&r.d.X(d,{crossOrigin:p,integrity:g,fetchPriority:y,nonce:typeof f.nonce=="string"?f.nonce:void 0})}},tr.preinitModule=function(d,f){if(typeof d=="string")if(typeof f=="object"&&f!==null){if(f.as==null||f.as==="script"){var m=u(f.as,f.crossOrigin);r.d.M(d,{crossOrigin:m,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0})}}else f==null&&r.d.M(d)},tr.preload=function(d,f){if(typeof d=="string"&&typeof f=="object"&&f!==null&&typeof f.as=="string"){var m=f.as,p=u(m,f.crossOrigin);r.d.L(d,m,{crossOrigin:p,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0,type:typeof f.type=="string"?f.type:void 0,fetchPriority:typeof f.fetchPriority=="string"?f.fetchPriority:void 0,referrerPolicy:typeof f.referrerPolicy=="string"?f.referrerPolicy:void 0,imageSrcSet:typeof f.imageSrcSet=="string"?f.imageSrcSet:void 0,imageSizes:typeof f.imageSizes=="string"?f.imageSizes:void 0,media:typeof f.media=="string"?f.media:void 0})}},tr.preloadModule=function(d,f){if(typeof d=="string")if(f){var m=u(f.as,f.crossOrigin);r.d.m(d,{as:typeof f.as=="string"&&f.as!=="script"?f.as:void 0,crossOrigin:m,integrity:typeof f.integrity=="string"?f.integrity:void 0})}else r.d.m(d)},tr.requestFormReset=function(d){r.d.r(d)},tr.unstable_batchedUpdates=function(d,f){return d(f)},tr.useFormState=function(d,f,m){return c.H.useFormState(d,f,m)},tr.useFormStatus=function(){return c.H.useHostTransitionStatus()},tr.version="19.2.4",tr}var WR;function LC(){if(WR)return Ey.exports;WR=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Ey.exports=F5(),Ey.exports}var YR;function B5(){if(YR)return pu;YR=1;var e=z5(),t=Us(),n=LC();function r(o){var s="https://react.dev/errors/"+o;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)s+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+o+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)}function i(o){var s=o,l=o;if(o.alternate)for(;s.return;)s=s.return;else{o=s;do s=o,(s.flags&4098)!==0&&(l=s.return),o=s.return;while(o)}return s.tag===3?l:null}function c(o){if(o.tag===13){var s=o.memoizedState;if(s===null&&(o=o.alternate,o!==null&&(s=o.memoizedState)),s!==null)return s.dehydrated}return null}function u(o){if(o.tag===31){var s=o.memoizedState;if(s===null&&(o=o.alternate,o!==null&&(s=o.memoizedState)),s!==null)return s.dehydrated}return null}function d(o){if(i(o)!==o)throw Error(r(188))}function f(o){var s=o.alternate;if(!s){if(s=i(o),s===null)throw Error(r(188));return s!==o?null:o}for(var l=o,h=s;;){var v=l.return;if(v===null)break;var _=v.alternate;if(_===null){if(h=v.return,h!==null){l=h;continue}break}if(v.child===_.child){for(_=v.child;_;){if(_===l)return d(v),o;if(_===h)return d(v),s;_=_.sibling}throw Error(r(188))}if(l.return!==h.return)l=v,h=_;else{for(var N=!1,j=v.child;j;){if(j===l){N=!0,l=v,h=_;break}if(j===h){N=!0,h=v,l=_;break}j=j.sibling}if(!N){for(j=_.child;j;){if(j===l){N=!0,l=_,h=v;break}if(j===h){N=!0,h=_,l=v;break}j=j.sibling}if(!N)throw Error(r(189))}}if(l.alternate!==h)throw Error(r(190))}if(l.tag!==3)throw Error(r(188));return l.stateNode.current===l?o:s}function m(o){var s=o.tag;if(s===5||s===26||s===27||s===6)return o;for(o=o.child;o!==null;){if(s=m(o),s!==null)return s;o=o.sibling}return null}var p=Object.assign,g=Symbol.for("react.element"),y=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),T=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),z=Symbol.for("react.activity"),Q=Symbol.for("react.memo_cache_sentinel"),V=Symbol.iterator;function Z(o){return o===null||typeof o!="object"?null:(o=V&&o[V]||o["@@iterator"],typeof o=="function"?o:null)}var U=Symbol.for("react.client.reference");function ee(o){if(o==null)return null;if(typeof o=="function")return o.$$typeof===U?null:o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case w:return"Fragment";case R:return"Profiler";case S:return"StrictMode";case O:return"Suspense";case I:return"SuspenseList";case z:return"Activity"}if(typeof o=="object")switch(o.$$typeof){case b:return"Portal";case T:return o.displayName||"Context";case E:return(o._context.displayName||"Context")+".Consumer";case C:var s=o.render;return o=o.displayName,o||(o=s.displayName||s.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case M:return s=o.displayName||null,s!==null?s:ee(o.type)||"Memo";case D:s=o._payload,o=o._init;try{return ee(o(s))}catch{}}return null}var ie=Array.isArray,F=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae={pending:!1,data:null,method:null,action:null},fe=[],K=-1;function P(o){return{current:o}}function q(o){0>K||(o.current=fe[K],fe[K]=null,K--)}function B(o,s){K++,fe[K]=o.current,o.current=s}var L=P(null),$=P(null),X=P(null),ge=P(null);function _e(o,s){switch(B(X,s),B($,o),B(L,null),s.nodeType){case 9:case 11:o=(o=s.documentElement)&&(o=o.namespaceURI)?uR(o):0;break;default:if(o=s.tagName,s=s.namespaceURI)s=uR(s),o=dR(s,o);else switch(o){case"svg":o=1;break;case"math":o=2;break;default:o=0}}q(L),B(L,o)}function Ie(){q(L),q($),q(X)}function Ne(o){o.memoizedState!==null&&B(ge,o);var s=L.current,l=dR(s,o.type);s!==l&&(B($,o),B(L,l))}function H(o){$.current===o&&(q(L),q($)),ge.current===o&&(q(ge),lu._currentValue=ae)}var re,be;function pe(o){if(re===void 0)try{throw Error()}catch(l){var s=l.stack.trim().match(/\n( *(at )?)/);re=s&&s[1]||"",be=-1<l.stack.indexOf(`
|
|
3
3
|
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
4
4
|
`+re+o+be}var ce=!1;function Ce(o,s){if(!o||ce)return"";ce=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var h={DetermineComponentFrameRoot:function(){try{if(s){var Te=function(){throw Error()};if(Object.defineProperty(Te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Te,[])}catch(ve){var he=ve}Reflect.construct(o,[],Te)}else{try{Te.call()}catch(ve){he=ve}o.call(Te.prototype)}}else{try{throw Error()}catch(ve){he=ve}(Te=o())&&typeof Te.catch=="function"&&Te.catch(function(){})}}catch(ve){if(ve&&he&&typeof ve.stack=="string")return[ve.stack,he.stack]}return[null,null]}};h.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var v=Object.getOwnPropertyDescriptor(h.DetermineComponentFrameRoot,"name");v&&v.configurable&&Object.defineProperty(h.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var _=h.DetermineComponentFrameRoot(),N=_[0],j=_[1];if(N&&j){var W=N.split(`
|
|
@@ -193,7 +193,7 @@ ${r}
|
|
|
193
193
|
return {
|
|
194
194
|
result: input.example
|
|
195
195
|
}
|
|
196
|
-
}`},config:Zte,outputSchema:{type:"object",properties:{result:{type:"string",description:"The result of the step"}},required:["result"],description:"The output of the step. This is a JSON Schema describing the expected output of the step."}},Kte=og("workflow_execution",oP),Wte=[...Gte,...Kte],Xoe=[...Wte],Joe=og("workflow_execution",oP),ag=St(["passing","warning","failing","info"]),Yte=Y({label:k().describe("Metric label (e.g. 'LCP', 'Performance')"),value:rt([Se(),k()]).describe("Current metric value"),unit:k().optional().describe("Unit of measurement (e.g. 's', 'ms', 'score')"),previousValue:rt([Se(),k()]).optional().describe("Previous value for delta comparison"),status:ag.optional().describe("Status of this individual metric")}),Qte=Y({label:k().describe("Short name of the criterion"),description:k().optional().describe("Longer explanation"),status:ag.optional().describe("Status of this individual criterion (passing/warning/failing/info)")}),Xte=Y({position:Se().describe("Current rank position"),reference_position:Se().optional().describe("Previous rank position before reordering. Used to compute delta automatically (delta = reference_position - position)."),delta:Se().optional().describe("Explicit change in position. Ignored when reference_position is provided."),label:k().describe("Item name"),image:k().describe("URL of the item image"),values:me(rt([k(),Se()])).describe("Values matching columns"),note:rt([k(),ut(k(),rt([k(),Se()]))]).optional().describe("Inline annotation or structured key-value metrics")}),Jte=Cb("type",[Y({type:De("markdown"),content:k().describe("Markdown content")}),Y({type:De("metrics"),title:k().optional().describe("Section title"),items:me(Yte).describe("Metric items")}),Y({type:De("table"),title:k().optional().describe("Section title"),columns:me(k()).describe("Column headers"),rows:me(me(rt([k(),Se(),bl()]))).describe("Table rows")}),Y({type:De("criteria"),title:k().optional().describe("Section title"),items:me(Qte).describe("List of criteria items")}),Y({type:De("note"),content:k().describe("The note text")}),Y({type:De("ranked-list"),title:k().optional().describe("Section title"),rows:me(Xte).describe("Ranked items")})]),aP=St(["unread","read","dismissed"]),sP=Y({id:k().describe("Unique report identifier"),collectionId:k().describe("Collection identifier used to scope reports"),title:k().describe("Report title"),category:k().describe("Report category (e.g. 'performance', 'security', 'accessibility')"),status:ag.describe("Overall report status"),summary:k().describe("One-line summary of findings"),updatedAt:k().describe("ISO 8601 timestamp of last update"),source:k().optional().describe("Agent or service that generated the report (e.g. 'security-auditor', 'performance-monitor')"),tags:me(k()).optional().describe("Free-form tags for filtering (e.g. 'homepage', 'api', 'ci')"),lifecycleStatus:aP.optional().describe("Inbox lifecycle status of the report (default: unread)")}),ene=sP.extend({sections:me(Jte).describe("Ordered content sections")});function eae(e){const t=[];let n=0;for(;n<e.length;){const r=e[n],a=e[n+1];if(r.type==="criteria"&&a?.type==="metrics"||r.type==="metrics"&&a?.type==="criteria"){const c=r.type==="criteria",u=c?r:a,d=c?a:r,f=c?n:n+1,m=c?n+1:n;t.push({type:"side-by-side",left:u,right:d,leftIdx:f,rightIdx:m}),n+=2}else t.push({type:"single",section:r,idx:n}),n+=1}return t}const tne=Y({category:k().optional().describe("Filter by category (e.g. 'performance', 'security')"),status:ag.optional().describe("Filter by report status")}),nne=Y({reports:me(sP).describe("List of report summaries")}),rne=Y({id:k().describe("Report identifier")}),one=ene,ane=Y({reportId:k().describe("Report identifier"),lifecycleStatus:aP.describe("New lifecycle status for the report")}),sne=Y({success:qe().describe("Whether the operation succeeded"),message:k().optional().describe("Human-readable result message")}),ine=[{name:"REPORTS_LIST",inputSchema:tne,outputSchema:nne},{name:"REPORTS_GET",inputSchema:rne,outputSchema:one},{name:"REPORTS_UPDATE_STATUS",inputSchema:ane,outputSchema:sne,opt:!0}],sg=Y({id:Se().int(),farmCollectionId:k(),decoCollectionId:k().optional(),title:k(),isEnabled:qe()}),cne=Y({id:Se().int().optional(),label:k(),value:rt([Se(),k()]),unit:k().optional(),status:k().optional()}),lne=Y({id:Se().int().optional(),label:k(),description:k().optional()}),une=Y({id:Se().int().optional(),productId:rt([Se().int(),k().min(1)]).optional(),product_id:rt([Se().int(),k().min(1)]).optional(),ProductId:rt([Se().int(),k().min(1)]).optional(),position:Se().int(),delta:Se().optional(),label:k(),image:k().optional(),sessions:Se().optional(),selectRate:Se().optional(),addToCartRate:Se().optional(),purchaseRate:Se().optional(),valueSelectRate:k().optional(),valueAvailability:k().optional()}),dne=Y({id:Se().int().optional(),reportId:Se().int().optional(),type:St(["metrics","criteria","note","ranked-list"]),title:k().nullable().optional(),content:k().nullable().optional(),position:Se().int().optional(),metricItems:me(cne).optional(),criteriaItems:me(lne).optional(),rankedItems:me(une).optional()}),iP=Y({id:Se().int(),collectionId:Se().int(),title:k(),category:k().optional(),status:k().optional(),summary:k(),source:k().optional(),tags:me(k()).optional(),updatedAt:k()}),fne=iP.extend({sections:me(dne)}),hne=Y({isEnabled:qe().optional(),limit:Se().int().min(1).max(200).optional(),offset:Se().int().min(0).optional()}),pne=Y({success:qe(),total:Se().int().optional(),items:me(sg).optional(),error:k().optional()}),mne=Y({id:Se().int()}),gne=Y({success:qe(),item:sg.optional(),error:k().optional()}),vne=Y({farmCollectionId:k().min(1),decoCollectionId:k().optional(),title:k().min(1),isEnabled:qe().optional()}),yne=Y({success:qe(),item:sg.optional(),error:k().optional()}),_ne=Y({id:Se().int(),farmCollectionId:k().min(1),decoCollectionId:k().optional(),title:k().min(1).optional(),isEnabled:qe().optional()}),bne=Y({success:qe(),item:sg.optional(),error:k().optional()}),Sne=Y({collectionId:Se().int().optional(),limit:Se().int().min(1).max(200).optional(),offset:Se().int().min(0).optional()}),wne=Y({success:qe(),total:Se().int().optional(),items:me(iP).optional(),error:k().optional()}),Ene=Y({id:Se().int()}),Rne=Y({success:qe(),item:fne.optional(),error:k().optional()}),xne=[{name:"collection_list",inputSchema:hne,outputSchema:pne},{name:"collection_get",inputSchema:mne,outputSchema:gne,opt:!0},{name:"collection_create",inputSchema:vne,outputSchema:yne},{name:"collection_update",inputSchema:_ne,outputSchema:bne},{name:"report_list",inputSchema:Sne,outputSchema:wne},{name:"report_get",inputSchema:Ene,outputSchema:Rne}],cP=Y({Page:Se().optional(),PageSize:Se().optional(),Total:Se().optional(),Pages:Se().optional()}),lP=Y({Id:Se(),Name:k(),Searchable:qe(),Highlight:qe(),DateFrom:k().nullable().optional(),DateTo:k().nullable().optional(),TotalSku:Se().optional(),TotalProducts:Se().optional()}),Tne=Y({ProductId:Se(),SkuId:Se().optional(),ProductName:k(),Position:Se().optional()});Y({page:Se().int().positive().optional(),pageSize:Se().int().positive().optional()});Y({Data:me(lP),Paging:cP.optional()});Y({collectionId:Se().int().positive()});Y({collectionId:Se().int().positive(),page:Se().int().positive().optional(),pageSize:Se().int().positive().optional()});Y({Data:me(Tne),Paging:cP.optional()});Y({words:k().min(1)});Y({Data:me(lP)});Y({subCollectionId:Se().int().positive(),skuId:Se().int().positive()});Y({SubCollectionId:Se(),SkuId:Se()});Y({subCollectionId:Se().int().positive(),skuId:Se().int().positive()});Y({success:qe()});const One=Y({collectionId:rt([k().min(1),Se().int().positive()]),productIds:me(rt([k().min(1),Se().int().positive()])).min(1).describe("Ordered VTEX product IDs")}),Cne=Y({}).passthrough(),tae=[{name:"VTEX_REORDER_COLLECTION",inputSchema:One,outputSchema:Cne}],uP=({size:e=24,color:t="currentColor",...n})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},A.createElement("path",{d:"M18 20V10m-6 10V4M6 20v-6"}));uP.displayName="BarChart01";const dP=({size:e=24,color:t="currentColor",...n})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},A.createElement("path",{d:"M20 12.5V6.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 2 16.88 2 15.2 2H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 4.28 4 5.12 4 6.8v10.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 22 7.12 22 8.8 22H12m2-11H8m2 4H8m8-8H8m6.5 12 2 2 4.5-4.5"}));dP.displayName="FileCheck02";const fP=({size:e=24,color:t="currentColor",...n})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},A.createElement("path",{d:"m13 7-1.116-2.231c-.32-.642-.481-.963-.72-1.198a2 2 0 0 0-.748-.462C10.1 3 9.74 3 9.022 3H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 4.52 2 5.08 2 6.2V7m0 0h15.2c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C22 9.28 22 10.12 22 11.8v4.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 21 18.88 21 17.2 21H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 18.72 2 17.88 2 16.2V7Z"}));fP.displayName="Folder";const hP=({size:e=24,color:t="currentColor",...n})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},A.createElement("path",{d:"M20.5 7.278 12 12m0 0L3.5 7.278M12 12v9.5m9-5.441V7.942c0-.343 0-.514-.05-.667a1 1 0 0 0-.215-.364c-.109-.119-.258-.202-.558-.368l-7.4-4.111c-.284-.158-.425-.237-.575-.267a1 1 0 0 0-.403 0c-.15.03-.292.11-.576.267l-7.4 4.11c-.3.167-.45.25-.558.369a1 1 0 0 0-.215.364C3 7.428 3 7.599 3 7.942v8.117c0 .342 0 .514.05.666a1 1 0 0 0 .215.364c.109.119.258.202.558.368l7.4 4.111c.284.158.425.237.576.268.133.027.27.027.402 0 .15-.031.292-.11.576-.268l7.4-4.11c.3-.167.45-.25.558-.369a.999.999 0 0 0 .215-.364c.05-.152.05-.324.05-.666ZM16.5 9.5l-9-5"}));hP.displayName="Package";const Ane=A.lazy(()=>xt(()=>import("./ranking-layout-D6armJHc.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34]))),Ine={id:"collection-reorder-ranking",description:"View collection reorder ranking reports",binding:xne,LayoutComponent:Ane,setup:e=>{e.registerSidebarGroup({id:"commerce",label:"Commerce",items:[{icon:x.jsx(uP,{size:16}),label:"Collection Ranking"}]})}};function _C(e,t,n,r){return e?e.startsWith("/")?`/${t}/${n}/${r}${e}`:e:`/${t}/${n}/${r}`}function kne(e){return{createRoutes:e,useParams:t=>Xc({strict:!1}),useSearch:t=>Em({strict:!1}),useNavigate:()=>{const t=yl(),{org:n,project:r,pluginId:a}=Xc({strict:!1});return i=>{const c=_C(i.to,n,r,a);return t({...i,to:c,params:{org:n,project:r,pluginId:a,...i.params}})}},useLocation:()=>uL(),Link:function(n){const{org:r,project:a,pluginId:i}=Xc({strict:!1}),c=_C(n.to,r,a,i);return x.jsx(xm,{...n,to:c,params:{org:r,project:a,pluginId:i,...n.params}})},_types:{routes:void 0,routeIds:void 0}}}var At;(function(e){e.assertEqual=a=>{};function t(a){}e.assertIs=t;function n(a){throw new Error}e.assertNever=n,e.arrayToEnum=a=>{const i={};for(const c of a)i[c]=c;return i},e.getValidEnumValues=a=>{const i=e.objectKeys(a).filter(u=>typeof a[a[u]]!="number"),c={};for(const u of i)c[u]=a[u];return e.objectValues(c)},e.objectValues=a=>e.objectKeys(a).map(function(i){return a[i]}),e.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const i=[];for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&i.push(c);return i},e.find=(a,i)=>{for(const c of a)if(i(c))return c},e.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&Number.isFinite(a)&&Math.floor(a)===a;function r(a,i=" | "){return a.map(c=>typeof c=="string"?`'${c}'`:c).join(i)}e.joinValues=r,e.jsonStringifyReplacer=(a,i)=>typeof i=="bigint"?i.toString():i})(At||(At={}));var bC;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(bC||(bC={}));const Fe=At.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),ws=e=>{switch(typeof e){case"undefined":return Fe.undefined;case"string":return Fe.string;case"number":return Number.isNaN(e)?Fe.nan:Fe.number;case"boolean":return Fe.boolean;case"function":return Fe.function;case"bigint":return Fe.bigint;case"symbol":return Fe.symbol;case"object":return Array.isArray(e)?Fe.array:e===null?Fe.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Fe.promise:typeof Map<"u"&&e instanceof Map?Fe.map:typeof Set<"u"&&e instanceof Set?Fe.set:typeof Date<"u"&&e instanceof Date?Fe.date:Fe.object;default:return Fe.unknown}},ke=At.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class La extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(i){return i.message},r={_errors:[]},a=i=>{for(const c of i.issues)if(c.code==="invalid_union")c.unionErrors.map(a);else if(c.code==="invalid_return_type")a(c.returnTypeError);else if(c.code==="invalid_arguments")a(c.argumentsError);else if(c.path.length===0)r._errors.push(n(c));else{let u=r,d=0;for(;d<c.path.length;){const f=c.path[d];d===c.path.length-1?(u[f]=u[f]||{_errors:[]},u[f]._errors.push(n(c))):u[f]=u[f]||{_errors:[]},u=u[f],d++}}};return a(this),r}static assert(t){if(!(t instanceof La))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,At.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const a of this.issues)if(a.path.length>0){const i=a.path[0];n[i]=n[i]||[],n[i].push(t(a))}else r.push(t(a));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}La.create=e=>new La(e);const nb=(e,t)=>{let n;switch(e.code){case ke.invalid_type:e.received===Fe.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case ke.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,At.jsonStringifyReplacer)}`;break;case ke.unrecognized_keys:n=`Unrecognized key(s) in object: ${At.joinValues(e.keys,", ")}`;break;case ke.invalid_union:n="Invalid input";break;case ke.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${At.joinValues(e.options)}`;break;case ke.invalid_enum_value:n=`Invalid enum value. Expected ${At.joinValues(e.options)}, received '${e.received}'`;break;case ke.invalid_arguments:n="Invalid function arguments";break;case ke.invalid_return_type:n="Invalid function return type";break;case ke.invalid_date:n="Invalid date";break;case ke.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:At.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case ke.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case ke.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case ke.custom:n="Invalid input";break;case ke.invalid_intersection_types:n="Intersection results could not be merged";break;case ke.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case ke.not_finite:n="Number must be finite";break;default:n=t.defaultError,At.assertNever(e)}return{message:n}};let Nne=nb;function Mne(){return Nne}const Pne=e=>{const{data:t,path:n,errorMaps:r,issueData:a}=e,i=[...n,...a.path||[]],c={...a,path:i};if(a.message!==void 0)return{...a,path:i,message:a.message};let u="";const d=r.filter(f=>!!f).slice().reverse();for(const f of d)u=f(c,{data:t,defaultError:u}).message;return{...a,path:i,message:u}};function Le(e,t){const n=Mne(),r=Pne({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===nb?void 0:nb].filter(a=>!!a)});e.common.issues.push(r)}class Wr{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const a of n){if(a.status==="aborted")return tt;a.status==="dirty"&&t.dirty(),r.push(a.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const a of n){const i=await a.key,c=await a.value;r.push({key:i,value:c})}return Wr.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const a of n){const{key:i,value:c}=a;if(i.status==="aborted"||c.status==="aborted")return tt;i.status==="dirty"&&t.dirty(),c.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof c.value<"u"||a.alwaysSet)&&(r[i.value]=c.value)}return{status:t.value,value:r}}}const tt=Object.freeze({status:"aborted"}),Du=e=>({status:"dirty",value:e}),_o=e=>({status:"valid",value:e}),SC=e=>e.status==="aborted",wC=e=>e.status==="dirty",hl=e=>e.status==="valid",hm=e=>typeof Promise<"u"&&e instanceof Promise;var He;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(He||(He={}));class js{constructor(t,n,r,a){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=a}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const EC=(e,t)=>{if(hl(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new La(e.common.issues);return this._error=n,this._error}}};function mt(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:a}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:a}:{errorMap:(c,u)=>{const{message:d}=e;return c.code==="invalid_enum_value"?{message:d??u.defaultError}:typeof u.data>"u"?{message:d??r??u.defaultError}:c.code!=="invalid_type"?{message:u.defaultError}:{message:d??n??u.defaultError}},description:a}}class Tt{get description(){return this._def.description}_getType(t){return ws(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:ws(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Wr,ctx:{common:t.parent.common,data:t.data,parsedType:ws(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(hm(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){const r={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ws(t)},a=this._parseSync({data:t,path:r.path,parent:r});return EC(r,a)}"~validate"(t){const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ws(t)};if(!this["~standard"].async)try{const r=this._parseSync({data:t,path:[],parent:n});return hl(r)?{value:r.value}:{issues:n.common.issues}}catch(r){r?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(r=>hl(r)?{value:r.value}:{issues:n.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ws(t)},a=this._parse({data:t,path:r.path,parent:r}),i=await(hm(a)?a:Promise.resolve(a));return EC(r,i)}refine(t,n){const r=a=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(a):n;return this._refinement((a,i)=>{const c=t(a),u=()=>i.addIssue({code:ke.custom,...r(a)});return typeof Promise<"u"&&c instanceof Promise?c.then(d=>d?!0:(u(),!1)):c?!0:(u(),!1)})}refinement(t,n){return this._refinement((r,a)=>t(r)?!0:(a.addIssue(typeof n=="function"?n(r,a):n),!1))}_refinement(t){return new ml({schema:this,typeName:nt.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return Ns.create(this,this._def)}nullable(){return gl.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ta.create(this)}promise(){return vm.create(this,this._def)}or(t){return mm.create([this,t],this._def)}and(t){return gm.create(this,t,this._def)}transform(t){return new ml({...mt(this._def),schema:this,typeName:nt.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new ab({...mt(this._def),innerType:this,defaultValue:n,typeName:nt.ZodDefault})}brand(){return new rre({typeName:nt.ZodBranded,type:this,...mt(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new sb({...mt(this._def),innerType:this,catchValue:n,typeName:nt.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return W1.create(this,t)}readonly(){return ib.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Dne=/^c[^\s-]{8,}$/i,Lne=/^[0-9a-z]+$/,jne=/^[0-9A-HJKMNP-TV-Z]{26}$/i,$ne=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Une=/^[a-z0-9_-]{21}$/i,zne=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Vne=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Fne=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Bne="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let q0;const qne=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Hne=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Gne=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Zne=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Kne=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Wne=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,pP="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",Yne=new RegExp(`^${pP}$`);function mP(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function Qne(e){return new RegExp(`^${mP(e)}$`)}function Xne(e){let t=`${pP}T${mP(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function Jne(e,t){return!!((t==="v4"||!t)&&qne.test(e)||(t==="v6"||!t)&&Gne.test(e))}function ere(e,t){if(!zne.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),a=JSON.parse(atob(r));return!(typeof a!="object"||a===null||"typ"in a&&a?.typ!=="JWT"||!a.alg||t&&a.alg!==t)}catch{return!1}}function tre(e,t){return!!((t==="v4"||!t)&&Hne.test(e)||(t==="v6"||!t)&&Zne.test(e))}class Ts extends Tt{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Fe.string){const i=this._getOrReturnCtx(t);return Le(i,{code:ke.invalid_type,expected:Fe.string,received:i.parsedType}),tt}const r=new Wr;let a;for(const i of this._def.checks)if(i.kind==="min")t.data.length<i.value&&(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="max")t.data.length>i.value&&(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){const c=t.data.length>i.value,u=t.data.length<i.value;(c||u)&&(a=this._getOrReturnCtx(t,a),c?Le(a,{code:ke.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):u&&Le(a,{code:ke.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),r.dirty())}else if(i.kind==="email")Fne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"email",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="emoji")q0||(q0=new RegExp(Bne,"u")),q0.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"emoji",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="uuid")$ne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"uuid",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="nanoid")Une.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"nanoid",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid")Dne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"cuid",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid2")Lne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"cuid2",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="ulid")jne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"ulid",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="url")try{new URL(t.data)}catch{a=this._getOrReturnCtx(t,a),Le(a,{validation:"url",code:ke.invalid_string,message:i.message}),r.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"regex",code:ke.invalid_string,message:i.message}),r.dirty())):i.kind==="trim"?t.data=t.data.trim():i.kind==="includes"?t.data.includes(i.value,i.position)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),r.dirty()):i.kind==="toLowerCase"?t.data=t.data.toLowerCase():i.kind==="toUpperCase"?t.data=t.data.toUpperCase():i.kind==="startsWith"?t.data.startsWith(i.value)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:{startsWith:i.value},message:i.message}),r.dirty()):i.kind==="endsWith"?t.data.endsWith(i.value)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:{endsWith:i.value},message:i.message}),r.dirty()):i.kind==="datetime"?Xne(i).test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:"datetime",message:i.message}),r.dirty()):i.kind==="date"?Yne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:"date",message:i.message}),r.dirty()):i.kind==="time"?Qne(i).test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:"time",message:i.message}),r.dirty()):i.kind==="duration"?Vne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"duration",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="ip"?Jne(t.data,i.version)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"ip",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="jwt"?ere(t.data,i.alg)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"jwt",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="cidr"?tre(t.data,i.version)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"cidr",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="base64"?Kne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"base64",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="base64url"?Wne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"base64url",code:ke.invalid_string,message:i.message}),r.dirty()):At.assertNever(i);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(a=>t.test(a),{validation:n,code:ke.invalid_string,...He.errToObj(r)})}_addCheck(t){return new Ts({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...He.errToObj(t)})}url(t){return this._addCheck({kind:"url",...He.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...He.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...He.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...He.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...He.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...He.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...He.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...He.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...He.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...He.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...He.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...He.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:t?.offset??!1,local:t?.local??!1,...He.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof t?.precision>"u"?null:t?.precision,...He.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...He.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...He.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n?.position,...He.errToObj(n?.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...He.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...He.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...He.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...He.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...He.errToObj(n)})}nonempty(t){return this.min(1,He.errToObj(t))}trim(){return new Ts({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Ts({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Ts({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}Ts.create=e=>new Ts({checks:[],typeName:nt.ZodString,coerce:e?.coerce??!1,...mt(e)});function nre(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,a=n>r?n:r,i=Number.parseInt(e.toFixed(a).replace(".","")),c=Number.parseInt(t.toFixed(a).replace(".",""));return i%c/10**a}class ud extends Tt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Fe.number){const i=this._getOrReturnCtx(t);return Le(i,{code:ke.invalid_type,expected:Fe.number,received:i.parsedType}),tt}let r;const a=new Wr;for(const i of this._def.checks)i.kind==="int"?At.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.invalid_type,expected:"integer",received:"float",message:i.message}),a.dirty()):i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),a.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),a.dirty()):i.kind==="multipleOf"?nre(t.data,i.value)!==0&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.not_multiple_of,multipleOf:i.value,message:i.message}),a.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.not_finite,message:i.message}),a.dirty()):At.assertNever(i);return{status:a.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,He.toString(n))}gt(t,n){return this.setLimit("min",t,!1,He.toString(n))}lte(t,n){return this.setLimit("max",t,!0,He.toString(n))}lt(t,n){return this.setLimit("max",t,!1,He.toString(n))}setLimit(t,n,r,a){return new ud({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:He.toString(a)}]})}_addCheck(t){return new ud({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:He.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:He.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:He.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:He.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:He.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:He.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:He.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:He.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:He.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&At.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}}ud.create=e=>new ud({checks:[],typeName:nt.ZodNumber,coerce:e?.coerce||!1,...mt(e)});class dd extends Tt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==Fe.bigint)return this._getInvalidInput(t);let r;const a=new Wr;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),a.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),a.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.not_multiple_of,multipleOf:i.value,message:i.message}),a.dirty()):At.assertNever(i);return{status:a.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return Le(n,{code:ke.invalid_type,expected:Fe.bigint,received:n.parsedType}),tt}gte(t,n){return this.setLimit("min",t,!0,He.toString(n))}gt(t,n){return this.setLimit("min",t,!1,He.toString(n))}lte(t,n){return this.setLimit("max",t,!0,He.toString(n))}lt(t,n){return this.setLimit("max",t,!1,He.toString(n))}setLimit(t,n,r,a){return new dd({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:He.toString(a)}]})}_addCheck(t){return new dd({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:He.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:He.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:He.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:He.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:He.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}dd.create=e=>new dd({checks:[],typeName:nt.ZodBigInt,coerce:e?.coerce??!1,...mt(e)});class rb extends Tt{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Fe.boolean){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.boolean,received:r.parsedType}),tt}return _o(t.data)}}rb.create=e=>new rb({typeName:nt.ZodBoolean,coerce:e?.coerce||!1,...mt(e)});class pm extends Tt{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Fe.date){const i=this._getOrReturnCtx(t);return Le(i,{code:ke.invalid_type,expected:Fe.date,received:i.parsedType}),tt}if(Number.isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return Le(i,{code:ke.invalid_date}),tt}const r=new Wr;let a;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()<i.value&&(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),r.dirty()):i.kind==="max"?t.data.getTime()>i.value&&(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):At.assertNever(i);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new pm({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:He.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:He.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}pm.create=e=>new pm({checks:[],coerce:e?.coerce||!1,typeName:nt.ZodDate,...mt(e)});class RC extends Tt{_parse(t){if(this._getType(t)!==Fe.symbol){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.symbol,received:r.parsedType}),tt}return _o(t.data)}}RC.create=e=>new RC({typeName:nt.ZodSymbol,...mt(e)});class xC extends Tt{_parse(t){if(this._getType(t)!==Fe.undefined){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.undefined,received:r.parsedType}),tt}return _o(t.data)}}xC.create=e=>new xC({typeName:nt.ZodUndefined,...mt(e)});class TC extends Tt{_parse(t){if(this._getType(t)!==Fe.null){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.null,received:r.parsedType}),tt}return _o(t.data)}}TC.create=e=>new TC({typeName:nt.ZodNull,...mt(e)});class OC extends Tt{constructor(){super(...arguments),this._any=!0}_parse(t){return _o(t.data)}}OC.create=e=>new OC({typeName:nt.ZodAny,...mt(e)});class CC extends Tt{constructor(){super(...arguments),this._unknown=!0}_parse(t){return _o(t.data)}}CC.create=e=>new CC({typeName:nt.ZodUnknown,...mt(e)});class $s extends Tt{_parse(t){const n=this._getOrReturnCtx(t);return Le(n,{code:ke.invalid_type,expected:Fe.never,received:n.parsedType}),tt}}$s.create=e=>new $s({typeName:nt.ZodNever,...mt(e)});class AC extends Tt{_parse(t){if(this._getType(t)!==Fe.undefined){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.void,received:r.parsedType}),tt}return _o(t.data)}}AC.create=e=>new AC({typeName:nt.ZodVoid,...mt(e)});class ta extends Tt{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),a=this._def;if(n.parsedType!==Fe.array)return Le(n,{code:ke.invalid_type,expected:Fe.array,received:n.parsedType}),tt;if(a.exactLength!==null){const c=n.data.length>a.exactLength.value,u=n.data.length<a.exactLength.value;(c||u)&&(Le(n,{code:c?ke.too_big:ke.too_small,minimum:u?a.exactLength.value:void 0,maximum:c?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),r.dirty())}if(a.minLength!==null&&n.data.length<a.minLength.value&&(Le(n,{code:ke.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),r.dirty()),a.maxLength!==null&&n.data.length>a.maxLength.value&&(Le(n,{code:ke.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((c,u)=>a.type._parseAsync(new js(n,c,n.path,u)))).then(c=>Wr.mergeArray(r,c));const i=[...n.data].map((c,u)=>a.type._parseSync(new js(n,c,n.path,u)));return Wr.mergeArray(r,i)}get element(){return this._def.type}min(t,n){return new ta({...this._def,minLength:{value:t,message:He.toString(n)}})}max(t,n){return new ta({...this._def,maxLength:{value:t,message:He.toString(n)}})}length(t,n){return new ta({...this._def,exactLength:{value:t,message:He.toString(n)}})}nonempty(t){return this.min(1,t)}}ta.create=(e,t)=>new ta({type:e,minLength:null,maxLength:null,exactLength:null,typeName:nt.ZodArray,...mt(t)});function Hc(e){if(e instanceof Sn){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Ns.create(Hc(r))}return new Sn({...e._def,shape:()=>t})}else return e instanceof ta?new ta({...e._def,type:Hc(e.element)}):e instanceof Ns?Ns.create(Hc(e.unwrap())):e instanceof gl?gl.create(Hc(e.unwrap())):e instanceof Di?Di.create(e.items.map(t=>Hc(t))):e}class Sn extends Tt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=At.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==Fe.object){const f=this._getOrReturnCtx(t);return Le(f,{code:ke.invalid_type,expected:Fe.object,received:f.parsedType}),tt}const{status:r,ctx:a}=this._processInputParams(t),{shape:i,keys:c}=this._getCached(),u=[];if(!(this._def.catchall instanceof $s&&this._def.unknownKeys==="strip"))for(const f in a.data)c.includes(f)||u.push(f);const d=[];for(const f of c){const m=i[f],p=a.data[f];d.push({key:{status:"valid",value:f},value:m._parse(new js(a,p,a.path,f)),alwaysSet:f in a.data})}if(this._def.catchall instanceof $s){const f=this._def.unknownKeys;if(f==="passthrough")for(const m of u)d.push({key:{status:"valid",value:m},value:{status:"valid",value:a.data[m]}});else if(f==="strict")u.length>0&&(Le(a,{code:ke.unrecognized_keys,keys:u}),r.dirty());else if(f!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const f=this._def.catchall;for(const m of u){const p=a.data[m];d.push({key:{status:"valid",value:m},value:f._parse(new js(a,p,a.path,m)),alwaysSet:m in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const f=[];for(const m of d){const p=await m.key,g=await m.value;f.push({key:p,value:g,alwaysSet:m.alwaysSet})}return f}).then(f=>Wr.mergeObjectSync(r,f)):Wr.mergeObjectSync(r,d)}get shape(){return this._def.shape()}strict(t){return He.errToObj,new Sn({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{const a=this._def.errorMap?.(n,r).message??r.defaultError;return n.code==="unrecognized_keys"?{message:He.errToObj(t).message??a}:{message:a}}}:{}})}strip(){return new Sn({...this._def,unknownKeys:"strip"})}passthrough(){return new Sn({...this._def,unknownKeys:"passthrough"})}extend(t){return new Sn({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Sn({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:nt.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new Sn({...this._def,catchall:t})}pick(t){const n={};for(const r of At.objectKeys(t))t[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new Sn({...this._def,shape:()=>n})}omit(t){const n={};for(const r of At.objectKeys(this.shape))t[r]||(n[r]=this.shape[r]);return new Sn({...this._def,shape:()=>n})}deepPartial(){return Hc(this)}partial(t){const n={};for(const r of At.objectKeys(this.shape)){const a=this.shape[r];t&&!t[r]?n[r]=a:n[r]=a.optional()}return new Sn({...this._def,shape:()=>n})}required(t){const n={};for(const r of At.objectKeys(this.shape))if(t&&!t[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof Ns;)i=i._def.innerType;n[r]=i}return new Sn({...this._def,shape:()=>n})}keyof(){return gP(At.objectKeys(this.shape))}}Sn.create=(e,t)=>new Sn({shape:()=>e,unknownKeys:"strip",catchall:$s.create(),typeName:nt.ZodObject,...mt(t)});Sn.strictCreate=(e,t)=>new Sn({shape:()=>e,unknownKeys:"strict",catchall:$s.create(),typeName:nt.ZodObject,...mt(t)});Sn.lazycreate=(e,t)=>new Sn({shape:e,unknownKeys:"strip",catchall:$s.create(),typeName:nt.ZodObject,...mt(t)});class mm extends Tt{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function a(i){for(const u of i)if(u.result.status==="valid")return u.result;for(const u of i)if(u.result.status==="dirty")return n.common.issues.push(...u.ctx.common.issues),u.result;const c=i.map(u=>new La(u.ctx.common.issues));return Le(n,{code:ke.invalid_union,unionErrors:c}),tt}if(n.common.async)return Promise.all(r.map(async i=>{const c={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:c}),ctx:c}})).then(a);{let i;const c=[];for(const d of r){const f={...n,common:{...n.common,issues:[]},parent:null},m=d._parseSync({data:n.data,path:n.path,parent:f});if(m.status==="valid")return m;m.status==="dirty"&&!i&&(i={result:m,ctx:f}),f.common.issues.length&&c.push(f.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;const u=c.map(d=>new La(d));return Le(n,{code:ke.invalid_union,unionErrors:u}),tt}}get options(){return this._def.options}}mm.create=(e,t)=>new mm({options:e,typeName:nt.ZodUnion,...mt(t)});function ob(e,t){const n=ws(e),r=ws(t);if(e===t)return{valid:!0,data:e};if(n===Fe.object&&r===Fe.object){const a=At.objectKeys(t),i=At.objectKeys(e).filter(u=>a.indexOf(u)!==-1),c={...e,...t};for(const u of i){const d=ob(e[u],t[u]);if(!d.valid)return{valid:!1};c[u]=d.data}return{valid:!0,data:c}}else if(n===Fe.array&&r===Fe.array){if(e.length!==t.length)return{valid:!1};const a=[];for(let i=0;i<e.length;i++){const c=e[i],u=t[i],d=ob(c,u);if(!d.valid)return{valid:!1};a.push(d.data)}return{valid:!0,data:a}}else return n===Fe.date&&r===Fe.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class gm extends Tt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),a=(i,c)=>{if(SC(i)||SC(c))return tt;const u=ob(i.value,c.value);return u.valid?((wC(i)||wC(c))&&n.dirty(),{status:n.value,value:u.data}):(Le(r,{code:ke.invalid_intersection_types}),tt)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,c])=>a(i,c)):a(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}gm.create=(e,t,n)=>new gm({left:e,right:t,typeName:nt.ZodIntersection,...mt(n)});class Di extends Tt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Fe.array)return Le(r,{code:ke.invalid_type,expected:Fe.array,received:r.parsedType}),tt;if(r.data.length<this._def.items.length)return Le(r,{code:ke.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),tt;!this._def.rest&&r.data.length>this._def.items.length&&(Le(r,{code:ke.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...r.data].map((c,u)=>{const d=this._def.items[u]||this._def.rest;return d?d._parse(new js(r,c,r.path,u)):null}).filter(c=>!!c);return r.common.async?Promise.all(i).then(c=>Wr.mergeArray(n,c)):Wr.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new Di({...this._def,rest:t})}}Di.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Di({items:e,typeName:nt.ZodTuple,rest:null,...mt(t)})};class IC extends Tt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Fe.map)return Le(r,{code:ke.invalid_type,expected:Fe.map,received:r.parsedType}),tt;const a=this._def.keyType,i=this._def.valueType,c=[...r.data.entries()].map(([u,d],f)=>({key:a._parse(new js(r,u,r.path,[f,"key"])),value:i._parse(new js(r,d,r.path,[f,"value"]))}));if(r.common.async){const u=new Map;return Promise.resolve().then(async()=>{for(const d of c){const f=await d.key,m=await d.value;if(f.status==="aborted"||m.status==="aborted")return tt;(f.status==="dirty"||m.status==="dirty")&&n.dirty(),u.set(f.value,m.value)}return{status:n.value,value:u}})}else{const u=new Map;for(const d of c){const f=d.key,m=d.value;if(f.status==="aborted"||m.status==="aborted")return tt;(f.status==="dirty"||m.status==="dirty")&&n.dirty(),u.set(f.value,m.value)}return{status:n.value,value:u}}}}IC.create=(e,t,n)=>new IC({valueType:t,keyType:e,typeName:nt.ZodMap,...mt(n)});class fd extends Tt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Fe.set)return Le(r,{code:ke.invalid_type,expected:Fe.set,received:r.parsedType}),tt;const a=this._def;a.minSize!==null&&r.data.size<a.minSize.value&&(Le(r,{code:ke.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),n.dirty()),a.maxSize!==null&&r.data.size>a.maxSize.value&&(Le(r,{code:ke.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),n.dirty());const i=this._def.valueType;function c(d){const f=new Set;for(const m of d){if(m.status==="aborted")return tt;m.status==="dirty"&&n.dirty(),f.add(m.value)}return{status:n.value,value:f}}const u=[...r.data.values()].map((d,f)=>i._parse(new js(r,d,r.path,f)));return r.common.async?Promise.all(u).then(d=>c(d)):c(u)}min(t,n){return new fd({...this._def,minSize:{value:t,message:He.toString(n)}})}max(t,n){return new fd({...this._def,maxSize:{value:t,message:He.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}fd.create=(e,t)=>new fd({valueType:e,minSize:null,maxSize:null,typeName:nt.ZodSet,...mt(t)});class kC extends Tt{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}kC.create=(e,t)=>new kC({getter:e,typeName:nt.ZodLazy,...mt(t)});class NC extends Tt{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return Le(n,{received:n.data,code:ke.invalid_literal,expected:this._def.value}),tt}return{status:"valid",value:t.data}}get value(){return this._def.value}}NC.create=(e,t)=>new NC({value:e,typeName:nt.ZodLiteral,...mt(t)});function gP(e,t){return new pl({values:e,typeName:nt.ZodEnum,...mt(t)})}class pl extends Tt{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return Le(n,{expected:At.joinValues(r),received:n.parsedType,code:ke.invalid_type}),tt}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return Le(n,{received:n.data,code:ke.invalid_enum_value,options:r}),tt}return _o(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return pl.create(t,{...this._def,...n})}exclude(t,n=this._def){return pl.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}pl.create=gP;class MC extends Tt{_parse(t){const n=At.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==Fe.string&&r.parsedType!==Fe.number){const a=At.objectValues(n);return Le(r,{expected:At.joinValues(a),received:r.parsedType,code:ke.invalid_type}),tt}if(this._cache||(this._cache=new Set(At.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const a=At.objectValues(n);return Le(r,{received:r.data,code:ke.invalid_enum_value,options:a}),tt}return _o(t.data)}get enum(){return this._def.values}}MC.create=(e,t)=>new MC({values:e,typeName:nt.ZodNativeEnum,...mt(t)});class vm extends Tt{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Fe.promise&&n.common.async===!1)return Le(n,{code:ke.invalid_type,expected:Fe.promise,received:n.parsedType}),tt;const r=n.parsedType===Fe.promise?n.data:Promise.resolve(n.data);return _o(r.then(a=>this._def.type.parseAsync(a,{path:n.path,errorMap:n.common.contextualErrorMap})))}}vm.create=(e,t)=>new vm({type:e,typeName:nt.ZodPromise,...mt(t)});class ml extends Tt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===nt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),a=this._def.effect||null,i={addIssue:c=>{Le(r,c),c.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),a.type==="preprocess"){const c=a.transform(r.data,i);if(r.common.async)return Promise.resolve(c).then(async u=>{if(n.value==="aborted")return tt;const d=await this._def.schema._parseAsync({data:u,path:r.path,parent:r});return d.status==="aborted"?tt:d.status==="dirty"||n.value==="dirty"?Du(d.value):d});{if(n.value==="aborted")return tt;const u=this._def.schema._parseSync({data:c,path:r.path,parent:r});return u.status==="aborted"?tt:u.status==="dirty"||n.value==="dirty"?Du(u.value):u}}if(a.type==="refinement"){const c=u=>{const d=a.refinement(u,i);if(r.common.async)return Promise.resolve(d);if(d instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return u};if(r.common.async===!1){const u=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return u.status==="aborted"?tt:(u.status==="dirty"&&n.dirty(),c(u.value),{status:n.value,value:u.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(u=>u.status==="aborted"?tt:(u.status==="dirty"&&n.dirty(),c(u.value).then(()=>({status:n.value,value:u.value}))))}if(a.type==="transform")if(r.common.async===!1){const c=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!hl(c))return tt;const u=a.transform(c.value,i);if(u instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:u}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(c=>hl(c)?Promise.resolve(a.transform(c.value,i)).then(u=>({status:n.value,value:u})):tt);At.assertNever(a)}}ml.create=(e,t,n)=>new ml({schema:e,typeName:nt.ZodEffects,effect:t,...mt(n)});ml.createWithPreprocess=(e,t,n)=>new ml({schema:t,effect:{type:"preprocess",transform:e},typeName:nt.ZodEffects,...mt(n)});class Ns extends Tt{_parse(t){return this._getType(t)===Fe.undefined?_o(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Ns.create=(e,t)=>new Ns({innerType:e,typeName:nt.ZodOptional,...mt(t)});class gl extends Tt{_parse(t){return this._getType(t)===Fe.null?_o(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}gl.create=(e,t)=>new gl({innerType:e,typeName:nt.ZodNullable,...mt(t)});class ab extends Tt{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===Fe.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}ab.create=(e,t)=>new ab({innerType:e,typeName:nt.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...mt(t)});class sb extends Tt{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},a=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return hm(a)?a.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new La(r.common.issues)},input:r.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new La(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}sb.create=(e,t)=>new sb({innerType:e,typeName:nt.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...mt(t)});class PC extends Tt{_parse(t){if(this._getType(t)!==Fe.nan){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.nan,received:r.parsedType}),tt}return{status:"valid",value:t.data}}}PC.create=e=>new PC({typeName:nt.ZodNaN,...mt(e)});class rre extends Tt{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class W1 extends Tt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?tt:i.status==="dirty"?(n.dirty(),Du(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{const a=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?tt:a.status==="dirty"?(n.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:r.path,parent:r})}}static create(t,n){return new W1({in:t,out:n,typeName:nt.ZodPipeline})}}class ib extends Tt{_parse(t){const n=this._def.innerType._parse(t),r=a=>(hl(a)&&(a.value=Object.freeze(a.value)),a);return hm(n)?n.then(a=>r(a)):r(n)}unwrap(){return this._def.innerType}}ib.create=(e,t)=>new ib({innerType:e,typeName:nt.ZodReadonly,...mt(t)});var nt;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(nt||(nt={}));const ore=Ts.create,are=rb.create;$s.create;ta.create;const sre=Sn.create;mm.create;gm.create;Di.create;const ire=pl.create;vm.create;Ns.create;gl.create;const cre=sre({path:ore().optional().default(""),flat:are().optional().default(!1),view:ire(["table","grid"]).optional().default("grid")}),lre=kne(e=>{const{createRoute:t,lazyRouteComponent:n}=e.routing;return[t({getParentRoute:()=>e.parentRoute,path:"/",component:n(()=>xt(()=>import("./file-browser-C0H5-uyP.js").then(a=>a.b),__vite__mapDeps([35,6,36,37,7,38,13,20,14,39,28,40,41,42,8,43,44,4]))),validateSearch:cre})]}),ure=A.lazy(()=>xt(()=>import("./plugin-header-DcwxELEy.js"),__vite__mapDeps([45,13,34]))),dre=A.lazy(()=>xt(()=>import("./plugin-empty-state-CX-GSe7g.js"),[])),fre={id:"object-storage",description:"Browse and manage files in S3-compatible object storage",binding:jte,renderHeader:e=>x.jsx(ure,{...e}),renderEmptyState:()=>x.jsx(dre,{}),setup:e=>{const{registerSidebarGroup:t,registerPluginRoutes:n}=e;t({id:"object-storage",label:"Object Storage",items:[{icon:x.jsx(fP,{size:16}),label:"File browser"}],defaultExpanded:!0});const r=lre.createRoutes(e);n(r)}},hre="private-registry",pre="Organization private MCP registry with CRUD and Store integration",nae=`
|
|
196
|
+
}`},config:Zte,outputSchema:{type:"object",properties:{result:{type:"string",description:"The result of the step"}},required:["result"],description:"The output of the step. This is a JSON Schema describing the expected output of the step."}},Kte=og("workflow_execution",oP),Wte=[...Gte,...Kte],Xoe=[...Wte],Joe=og("workflow_execution",oP),ag=St(["passing","warning","failing","info"]),Yte=Y({label:k().describe("Metric label (e.g. 'LCP', 'Performance')"),value:rt([Se(),k()]).describe("Current metric value"),unit:k().optional().describe("Unit of measurement (e.g. 's', 'ms', 'score')"),previousValue:rt([Se(),k()]).optional().describe("Previous value for delta comparison"),status:ag.optional().describe("Status of this individual metric")}),Qte=Y({label:k().describe("Short name of the criterion"),description:k().optional().describe("Longer explanation"),status:ag.optional().describe("Status of this individual criterion (passing/warning/failing/info)")}),Xte=Y({position:Se().describe("Current rank position"),reference_position:Se().optional().describe("Previous rank position before reordering. Used to compute delta automatically (delta = reference_position - position)."),delta:Se().optional().describe("Explicit change in position. Ignored when reference_position is provided."),label:k().describe("Item name"),image:k().describe("URL of the item image"),values:me(rt([k(),Se()])).describe("Values matching columns"),note:rt([k(),ut(k(),rt([k(),Se()]))]).optional().describe("Inline annotation or structured key-value metrics")}),Jte=Cb("type",[Y({type:De("markdown"),content:k().describe("Markdown content")}),Y({type:De("metrics"),title:k().optional().describe("Section title"),items:me(Yte).describe("Metric items")}),Y({type:De("table"),title:k().optional().describe("Section title"),columns:me(k()).describe("Column headers"),rows:me(me(rt([k(),Se(),bl()]))).describe("Table rows")}),Y({type:De("criteria"),title:k().optional().describe("Section title"),items:me(Qte).describe("List of criteria items")}),Y({type:De("note"),content:k().describe("The note text")}),Y({type:De("ranked-list"),title:k().optional().describe("Section title"),rows:me(Xte).describe("Ranked items")})]),aP=St(["unread","read","dismissed"]),sP=Y({id:k().describe("Unique report identifier"),collectionId:k().describe("Collection identifier used to scope reports"),title:k().describe("Report title"),category:k().describe("Report category (e.g. 'performance', 'security', 'accessibility')"),status:ag.describe("Overall report status"),summary:k().describe("One-line summary of findings"),updatedAt:k().describe("ISO 8601 timestamp of last update"),source:k().optional().describe("Agent or service that generated the report (e.g. 'security-auditor', 'performance-monitor')"),tags:me(k()).optional().describe("Free-form tags for filtering (e.g. 'homepage', 'api', 'ci')"),lifecycleStatus:aP.optional().describe("Inbox lifecycle status of the report (default: unread)")}),ene=sP.extend({sections:me(Jte).describe("Ordered content sections")});function eae(e){const t=[];let n=0;for(;n<e.length;){const r=e[n],a=e[n+1];if(r.type==="criteria"&&a?.type==="metrics"||r.type==="metrics"&&a?.type==="criteria"){const c=r.type==="criteria",u=c?r:a,d=c?a:r,f=c?n:n+1,m=c?n+1:n;t.push({type:"side-by-side",left:u,right:d,leftIdx:f,rightIdx:m}),n+=2}else t.push({type:"single",section:r,idx:n}),n+=1}return t}const tne=Y({category:k().optional().describe("Filter by category (e.g. 'performance', 'security')"),status:ag.optional().describe("Filter by report status")}),nne=Y({reports:me(sP).describe("List of report summaries")}),rne=Y({id:k().describe("Report identifier")}),one=ene,ane=Y({reportId:k().describe("Report identifier"),lifecycleStatus:aP.describe("New lifecycle status for the report")}),sne=Y({success:qe().describe("Whether the operation succeeded"),message:k().optional().describe("Human-readable result message")}),ine=[{name:"REPORTS_LIST",inputSchema:tne,outputSchema:nne},{name:"REPORTS_GET",inputSchema:rne,outputSchema:one},{name:"REPORTS_UPDATE_STATUS",inputSchema:ane,outputSchema:sne,opt:!0}],sg=Y({id:Se().int(),farmCollectionId:k(),decoCollectionId:k().optional(),title:k(),isEnabled:qe()}),cne=Y({id:Se().int().optional(),label:k(),value:rt([Se(),k()]),unit:k().optional(),status:k().optional()}),lne=Y({id:Se().int().optional(),label:k(),description:k().optional()}),une=Y({id:Se().int().optional(),productId:rt([Se().int(),k().min(1)]).optional(),product_id:rt([Se().int(),k().min(1)]).optional(),ProductId:rt([Se().int(),k().min(1)]).optional(),position:Se().int(),delta:Se().optional(),label:k(),image:k().optional(),sessions:Se().optional(),selectRate:Se().optional(),addToCartRate:Se().optional(),purchaseRate:Se().optional(),valueSelectRate:k().optional(),valueAvailability:k().optional()}),dne=Y({id:Se().int().optional(),reportId:Se().int().optional(),type:St(["metrics","criteria","note","ranked-list"]),title:k().nullable().optional(),content:k().nullable().optional(),position:Se().int().optional(),metricItems:me(cne).optional(),criteriaItems:me(lne).optional(),rankedItems:me(une).optional()}),iP=Y({id:Se().int(),collectionId:Se().int(),title:k(),category:k().optional(),status:k().optional(),summary:k(),source:k().optional(),tags:me(k()).optional(),updatedAt:k()}),fne=iP.extend({sections:me(dne)}),hne=Y({isEnabled:qe().optional(),limit:Se().int().min(1).max(200).optional(),offset:Se().int().min(0).optional()}),pne=Y({success:qe(),total:Se().int().optional(),items:me(sg).optional(),error:k().optional()}),mne=Y({id:Se().int()}),gne=Y({success:qe(),item:sg.optional(),error:k().optional()}),vne=Y({farmCollectionId:k().min(1),decoCollectionId:k().optional(),title:k().min(1),isEnabled:qe().optional()}),yne=Y({success:qe(),item:sg.optional(),error:k().optional()}),_ne=Y({id:Se().int(),farmCollectionId:k().min(1),decoCollectionId:k().optional(),title:k().min(1).optional(),isEnabled:qe().optional()}),bne=Y({success:qe(),item:sg.optional(),error:k().optional()}),Sne=Y({collectionId:Se().int().optional(),limit:Se().int().min(1).max(200).optional(),offset:Se().int().min(0).optional()}),wne=Y({success:qe(),total:Se().int().optional(),items:me(iP).optional(),error:k().optional()}),Ene=Y({id:Se().int()}),Rne=Y({success:qe(),item:fne.optional(),error:k().optional()}),xne=[{name:"collection_list",inputSchema:hne,outputSchema:pne},{name:"collection_get",inputSchema:mne,outputSchema:gne,opt:!0},{name:"collection_create",inputSchema:vne,outputSchema:yne},{name:"collection_update",inputSchema:_ne,outputSchema:bne},{name:"report_list",inputSchema:Sne,outputSchema:wne},{name:"report_get",inputSchema:Ene,outputSchema:Rne}],cP=Y({Page:Se().optional(),PageSize:Se().optional(),Total:Se().optional(),Pages:Se().optional()}),lP=Y({Id:Se(),Name:k(),Searchable:qe(),Highlight:qe(),DateFrom:k().nullable().optional(),DateTo:k().nullable().optional(),TotalSku:Se().optional(),TotalProducts:Se().optional()}),Tne=Y({ProductId:Se(),SkuId:Se().optional(),ProductName:k(),Position:Se().optional()});Y({page:Se().int().positive().optional(),pageSize:Se().int().positive().optional()});Y({Data:me(lP),Paging:cP.optional()});Y({collectionId:Se().int().positive()});Y({collectionId:Se().int().positive(),page:Se().int().positive().optional(),pageSize:Se().int().positive().optional()});Y({Data:me(Tne),Paging:cP.optional()});Y({words:k().min(1)});Y({Data:me(lP)});Y({subCollectionId:Se().int().positive(),skuId:Se().int().positive()});Y({SubCollectionId:Se(),SkuId:Se()});Y({subCollectionId:Se().int().positive(),skuId:Se().int().positive()});Y({success:qe()});const One=Y({collectionId:rt([k().min(1),Se().int().positive()]),productIds:me(rt([k().min(1),Se().int().positive()])).min(1).describe("Ordered VTEX product IDs")}),Cne=Y({}).passthrough(),tae=[{name:"VTEX_REORDER_COLLECTION",inputSchema:One,outputSchema:Cne}],uP=({size:e=24,color:t="currentColor",...n})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},A.createElement("path",{d:"M18 20V10m-6 10V4M6 20v-6"}));uP.displayName="BarChart01";const dP=({size:e=24,color:t="currentColor",...n})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},A.createElement("path",{d:"M20 12.5V6.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 2 16.88 2 15.2 2H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 4.28 4 5.12 4 6.8v10.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 22 7.12 22 8.8 22H12m2-11H8m2 4H8m8-8H8m6.5 12 2 2 4.5-4.5"}));dP.displayName="FileCheck02";const fP=({size:e=24,color:t="currentColor",...n})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},A.createElement("path",{d:"m13 7-1.116-2.231c-.32-.642-.481-.963-.72-1.198a2 2 0 0 0-.748-.462C10.1 3 9.74 3 9.022 3H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 4.52 2 5.08 2 6.2V7m0 0h15.2c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C22 9.28 22 10.12 22 11.8v4.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 21 18.88 21 17.2 21H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 18.72 2 17.88 2 16.2V7Z"}));fP.displayName="Folder";const hP=({size:e=24,color:t="currentColor",...n})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},A.createElement("path",{d:"M20.5 7.278 12 12m0 0L3.5 7.278M12 12v9.5m9-5.441V7.942c0-.343 0-.514-.05-.667a1 1 0 0 0-.215-.364c-.109-.119-.258-.202-.558-.368l-7.4-4.111c-.284-.158-.425-.237-.575-.267a1 1 0 0 0-.403 0c-.15.03-.292.11-.576.267l-7.4 4.11c-.3.167-.45.25-.558.369a1 1 0 0 0-.215.364C3 7.428 3 7.599 3 7.942v8.117c0 .342 0 .514.05.666a1 1 0 0 0 .215.364c.109.119.258.202.558.368l7.4 4.111c.284.158.425.237.576.268.133.027.27.027.402 0 .15-.031.292-.11.576-.268l7.4-4.11c.3-.167.45-.25.558-.369a.999.999 0 0 0 .215-.364c.05-.152.05-.324.05-.666ZM16.5 9.5l-9-5"}));hP.displayName="Package";const Ane=A.lazy(()=>xt(()=>import("./ranking-layout-B_B3SLxi.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34]))),Ine={id:"collection-reorder-ranking",description:"View collection reorder ranking reports",binding:xne,LayoutComponent:Ane,setup:e=>{e.registerSidebarGroup({id:"commerce",label:"Commerce",items:[{icon:x.jsx(uP,{size:16}),label:"Collection Ranking"}]})}};function _C(e,t,n,r){return e?e.startsWith("/")?`/${t}/${n}/${r}${e}`:e:`/${t}/${n}/${r}`}function kne(e){return{createRoutes:e,useParams:t=>Xc({strict:!1}),useSearch:t=>Em({strict:!1}),useNavigate:()=>{const t=yl(),{org:n,project:r,pluginId:a}=Xc({strict:!1});return i=>{const c=_C(i.to,n,r,a);return t({...i,to:c,params:{org:n,project:r,pluginId:a,...i.params}})}},useLocation:()=>uL(),Link:function(n){const{org:r,project:a,pluginId:i}=Xc({strict:!1}),c=_C(n.to,r,a,i);return x.jsx(xm,{...n,to:c,params:{org:r,project:a,pluginId:i,...n.params}})},_types:{routes:void 0,routeIds:void 0}}}var At;(function(e){e.assertEqual=a=>{};function t(a){}e.assertIs=t;function n(a){throw new Error}e.assertNever=n,e.arrayToEnum=a=>{const i={};for(const c of a)i[c]=c;return i},e.getValidEnumValues=a=>{const i=e.objectKeys(a).filter(u=>typeof a[a[u]]!="number"),c={};for(const u of i)c[u]=a[u];return e.objectValues(c)},e.objectValues=a=>e.objectKeys(a).map(function(i){return a[i]}),e.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const i=[];for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&i.push(c);return i},e.find=(a,i)=>{for(const c of a)if(i(c))return c},e.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&Number.isFinite(a)&&Math.floor(a)===a;function r(a,i=" | "){return a.map(c=>typeof c=="string"?`'${c}'`:c).join(i)}e.joinValues=r,e.jsonStringifyReplacer=(a,i)=>typeof i=="bigint"?i.toString():i})(At||(At={}));var bC;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(bC||(bC={}));const Fe=At.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),ws=e=>{switch(typeof e){case"undefined":return Fe.undefined;case"string":return Fe.string;case"number":return Number.isNaN(e)?Fe.nan:Fe.number;case"boolean":return Fe.boolean;case"function":return Fe.function;case"bigint":return Fe.bigint;case"symbol":return Fe.symbol;case"object":return Array.isArray(e)?Fe.array:e===null?Fe.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Fe.promise:typeof Map<"u"&&e instanceof Map?Fe.map:typeof Set<"u"&&e instanceof Set?Fe.set:typeof Date<"u"&&e instanceof Date?Fe.date:Fe.object;default:return Fe.unknown}},ke=At.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class La extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(i){return i.message},r={_errors:[]},a=i=>{for(const c of i.issues)if(c.code==="invalid_union")c.unionErrors.map(a);else if(c.code==="invalid_return_type")a(c.returnTypeError);else if(c.code==="invalid_arguments")a(c.argumentsError);else if(c.path.length===0)r._errors.push(n(c));else{let u=r,d=0;for(;d<c.path.length;){const f=c.path[d];d===c.path.length-1?(u[f]=u[f]||{_errors:[]},u[f]._errors.push(n(c))):u[f]=u[f]||{_errors:[]},u=u[f],d++}}};return a(this),r}static assert(t){if(!(t instanceof La))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,At.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const a of this.issues)if(a.path.length>0){const i=a.path[0];n[i]=n[i]||[],n[i].push(t(a))}else r.push(t(a));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}La.create=e=>new La(e);const nb=(e,t)=>{let n;switch(e.code){case ke.invalid_type:e.received===Fe.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case ke.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,At.jsonStringifyReplacer)}`;break;case ke.unrecognized_keys:n=`Unrecognized key(s) in object: ${At.joinValues(e.keys,", ")}`;break;case ke.invalid_union:n="Invalid input";break;case ke.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${At.joinValues(e.options)}`;break;case ke.invalid_enum_value:n=`Invalid enum value. Expected ${At.joinValues(e.options)}, received '${e.received}'`;break;case ke.invalid_arguments:n="Invalid function arguments";break;case ke.invalid_return_type:n="Invalid function return type";break;case ke.invalid_date:n="Invalid date";break;case ke.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:At.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case ke.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case ke.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case ke.custom:n="Invalid input";break;case ke.invalid_intersection_types:n="Intersection results could not be merged";break;case ke.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case ke.not_finite:n="Number must be finite";break;default:n=t.defaultError,At.assertNever(e)}return{message:n}};let Nne=nb;function Mne(){return Nne}const Pne=e=>{const{data:t,path:n,errorMaps:r,issueData:a}=e,i=[...n,...a.path||[]],c={...a,path:i};if(a.message!==void 0)return{...a,path:i,message:a.message};let u="";const d=r.filter(f=>!!f).slice().reverse();for(const f of d)u=f(c,{data:t,defaultError:u}).message;return{...a,path:i,message:u}};function Le(e,t){const n=Mne(),r=Pne({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===nb?void 0:nb].filter(a=>!!a)});e.common.issues.push(r)}class Wr{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const a of n){if(a.status==="aborted")return tt;a.status==="dirty"&&t.dirty(),r.push(a.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const a of n){const i=await a.key,c=await a.value;r.push({key:i,value:c})}return Wr.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const a of n){const{key:i,value:c}=a;if(i.status==="aborted"||c.status==="aborted")return tt;i.status==="dirty"&&t.dirty(),c.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof c.value<"u"||a.alwaysSet)&&(r[i.value]=c.value)}return{status:t.value,value:r}}}const tt=Object.freeze({status:"aborted"}),Du=e=>({status:"dirty",value:e}),_o=e=>({status:"valid",value:e}),SC=e=>e.status==="aborted",wC=e=>e.status==="dirty",hl=e=>e.status==="valid",hm=e=>typeof Promise<"u"&&e instanceof Promise;var He;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(He||(He={}));class js{constructor(t,n,r,a){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=a}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const EC=(e,t)=>{if(hl(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new La(e.common.issues);return this._error=n,this._error}}};function mt(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:a}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:a}:{errorMap:(c,u)=>{const{message:d}=e;return c.code==="invalid_enum_value"?{message:d??u.defaultError}:typeof u.data>"u"?{message:d??r??u.defaultError}:c.code!=="invalid_type"?{message:u.defaultError}:{message:d??n??u.defaultError}},description:a}}class Tt{get description(){return this._def.description}_getType(t){return ws(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:ws(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Wr,ctx:{common:t.parent.common,data:t.data,parsedType:ws(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(hm(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){const r={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ws(t)},a=this._parseSync({data:t,path:r.path,parent:r});return EC(r,a)}"~validate"(t){const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ws(t)};if(!this["~standard"].async)try{const r=this._parseSync({data:t,path:[],parent:n});return hl(r)?{value:r.value}:{issues:n.common.issues}}catch(r){r?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(r=>hl(r)?{value:r.value}:{issues:n.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ws(t)},a=this._parse({data:t,path:r.path,parent:r}),i=await(hm(a)?a:Promise.resolve(a));return EC(r,i)}refine(t,n){const r=a=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(a):n;return this._refinement((a,i)=>{const c=t(a),u=()=>i.addIssue({code:ke.custom,...r(a)});return typeof Promise<"u"&&c instanceof Promise?c.then(d=>d?!0:(u(),!1)):c?!0:(u(),!1)})}refinement(t,n){return this._refinement((r,a)=>t(r)?!0:(a.addIssue(typeof n=="function"?n(r,a):n),!1))}_refinement(t){return new ml({schema:this,typeName:nt.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return Ns.create(this,this._def)}nullable(){return gl.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ta.create(this)}promise(){return vm.create(this,this._def)}or(t){return mm.create([this,t],this._def)}and(t){return gm.create(this,t,this._def)}transform(t){return new ml({...mt(this._def),schema:this,typeName:nt.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new ab({...mt(this._def),innerType:this,defaultValue:n,typeName:nt.ZodDefault})}brand(){return new rre({typeName:nt.ZodBranded,type:this,...mt(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new sb({...mt(this._def),innerType:this,catchValue:n,typeName:nt.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return W1.create(this,t)}readonly(){return ib.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Dne=/^c[^\s-]{8,}$/i,Lne=/^[0-9a-z]+$/,jne=/^[0-9A-HJKMNP-TV-Z]{26}$/i,$ne=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Une=/^[a-z0-9_-]{21}$/i,zne=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Vne=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Fne=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Bne="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let q0;const qne=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Hne=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Gne=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Zne=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Kne=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Wne=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,pP="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",Yne=new RegExp(`^${pP}$`);function mP(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function Qne(e){return new RegExp(`^${mP(e)}$`)}function Xne(e){let t=`${pP}T${mP(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function Jne(e,t){return!!((t==="v4"||!t)&&qne.test(e)||(t==="v6"||!t)&&Gne.test(e))}function ere(e,t){if(!zne.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),a=JSON.parse(atob(r));return!(typeof a!="object"||a===null||"typ"in a&&a?.typ!=="JWT"||!a.alg||t&&a.alg!==t)}catch{return!1}}function tre(e,t){return!!((t==="v4"||!t)&&Hne.test(e)||(t==="v6"||!t)&&Zne.test(e))}class Ts extends Tt{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Fe.string){const i=this._getOrReturnCtx(t);return Le(i,{code:ke.invalid_type,expected:Fe.string,received:i.parsedType}),tt}const r=new Wr;let a;for(const i of this._def.checks)if(i.kind==="min")t.data.length<i.value&&(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="max")t.data.length>i.value&&(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){const c=t.data.length>i.value,u=t.data.length<i.value;(c||u)&&(a=this._getOrReturnCtx(t,a),c?Le(a,{code:ke.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):u&&Le(a,{code:ke.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),r.dirty())}else if(i.kind==="email")Fne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"email",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="emoji")q0||(q0=new RegExp(Bne,"u")),q0.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"emoji",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="uuid")$ne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"uuid",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="nanoid")Une.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"nanoid",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid")Dne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"cuid",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid2")Lne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"cuid2",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="ulid")jne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"ulid",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="url")try{new URL(t.data)}catch{a=this._getOrReturnCtx(t,a),Le(a,{validation:"url",code:ke.invalid_string,message:i.message}),r.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"regex",code:ke.invalid_string,message:i.message}),r.dirty())):i.kind==="trim"?t.data=t.data.trim():i.kind==="includes"?t.data.includes(i.value,i.position)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),r.dirty()):i.kind==="toLowerCase"?t.data=t.data.toLowerCase():i.kind==="toUpperCase"?t.data=t.data.toUpperCase():i.kind==="startsWith"?t.data.startsWith(i.value)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:{startsWith:i.value},message:i.message}),r.dirty()):i.kind==="endsWith"?t.data.endsWith(i.value)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:{endsWith:i.value},message:i.message}),r.dirty()):i.kind==="datetime"?Xne(i).test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:"datetime",message:i.message}),r.dirty()):i.kind==="date"?Yne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:"date",message:i.message}),r.dirty()):i.kind==="time"?Qne(i).test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:"time",message:i.message}),r.dirty()):i.kind==="duration"?Vne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"duration",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="ip"?Jne(t.data,i.version)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"ip",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="jwt"?ere(t.data,i.alg)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"jwt",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="cidr"?tre(t.data,i.version)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"cidr",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="base64"?Kne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"base64",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="base64url"?Wne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"base64url",code:ke.invalid_string,message:i.message}),r.dirty()):At.assertNever(i);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(a=>t.test(a),{validation:n,code:ke.invalid_string,...He.errToObj(r)})}_addCheck(t){return new Ts({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...He.errToObj(t)})}url(t){return this._addCheck({kind:"url",...He.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...He.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...He.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...He.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...He.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...He.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...He.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...He.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...He.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...He.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...He.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...He.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:t?.offset??!1,local:t?.local??!1,...He.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof t?.precision>"u"?null:t?.precision,...He.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...He.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...He.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n?.position,...He.errToObj(n?.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...He.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...He.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...He.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...He.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...He.errToObj(n)})}nonempty(t){return this.min(1,He.errToObj(t))}trim(){return new Ts({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Ts({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Ts({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}Ts.create=e=>new Ts({checks:[],typeName:nt.ZodString,coerce:e?.coerce??!1,...mt(e)});function nre(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,a=n>r?n:r,i=Number.parseInt(e.toFixed(a).replace(".","")),c=Number.parseInt(t.toFixed(a).replace(".",""));return i%c/10**a}class ud extends Tt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Fe.number){const i=this._getOrReturnCtx(t);return Le(i,{code:ke.invalid_type,expected:Fe.number,received:i.parsedType}),tt}let r;const a=new Wr;for(const i of this._def.checks)i.kind==="int"?At.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.invalid_type,expected:"integer",received:"float",message:i.message}),a.dirty()):i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),a.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),a.dirty()):i.kind==="multipleOf"?nre(t.data,i.value)!==0&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.not_multiple_of,multipleOf:i.value,message:i.message}),a.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.not_finite,message:i.message}),a.dirty()):At.assertNever(i);return{status:a.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,He.toString(n))}gt(t,n){return this.setLimit("min",t,!1,He.toString(n))}lte(t,n){return this.setLimit("max",t,!0,He.toString(n))}lt(t,n){return this.setLimit("max",t,!1,He.toString(n))}setLimit(t,n,r,a){return new ud({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:He.toString(a)}]})}_addCheck(t){return new ud({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:He.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:He.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:He.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:He.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:He.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:He.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:He.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:He.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:He.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&At.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}}ud.create=e=>new ud({checks:[],typeName:nt.ZodNumber,coerce:e?.coerce||!1,...mt(e)});class dd extends Tt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==Fe.bigint)return this._getInvalidInput(t);let r;const a=new Wr;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),a.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),a.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.not_multiple_of,multipleOf:i.value,message:i.message}),a.dirty()):At.assertNever(i);return{status:a.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return Le(n,{code:ke.invalid_type,expected:Fe.bigint,received:n.parsedType}),tt}gte(t,n){return this.setLimit("min",t,!0,He.toString(n))}gt(t,n){return this.setLimit("min",t,!1,He.toString(n))}lte(t,n){return this.setLimit("max",t,!0,He.toString(n))}lt(t,n){return this.setLimit("max",t,!1,He.toString(n))}setLimit(t,n,r,a){return new dd({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:He.toString(a)}]})}_addCheck(t){return new dd({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:He.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:He.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:He.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:He.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:He.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}dd.create=e=>new dd({checks:[],typeName:nt.ZodBigInt,coerce:e?.coerce??!1,...mt(e)});class rb extends Tt{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Fe.boolean){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.boolean,received:r.parsedType}),tt}return _o(t.data)}}rb.create=e=>new rb({typeName:nt.ZodBoolean,coerce:e?.coerce||!1,...mt(e)});class pm extends Tt{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Fe.date){const i=this._getOrReturnCtx(t);return Le(i,{code:ke.invalid_type,expected:Fe.date,received:i.parsedType}),tt}if(Number.isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return Le(i,{code:ke.invalid_date}),tt}const r=new Wr;let a;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()<i.value&&(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),r.dirty()):i.kind==="max"?t.data.getTime()>i.value&&(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):At.assertNever(i);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new pm({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:He.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:He.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}pm.create=e=>new pm({checks:[],coerce:e?.coerce||!1,typeName:nt.ZodDate,...mt(e)});class RC extends Tt{_parse(t){if(this._getType(t)!==Fe.symbol){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.symbol,received:r.parsedType}),tt}return _o(t.data)}}RC.create=e=>new RC({typeName:nt.ZodSymbol,...mt(e)});class xC extends Tt{_parse(t){if(this._getType(t)!==Fe.undefined){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.undefined,received:r.parsedType}),tt}return _o(t.data)}}xC.create=e=>new xC({typeName:nt.ZodUndefined,...mt(e)});class TC extends Tt{_parse(t){if(this._getType(t)!==Fe.null){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.null,received:r.parsedType}),tt}return _o(t.data)}}TC.create=e=>new TC({typeName:nt.ZodNull,...mt(e)});class OC extends Tt{constructor(){super(...arguments),this._any=!0}_parse(t){return _o(t.data)}}OC.create=e=>new OC({typeName:nt.ZodAny,...mt(e)});class CC extends Tt{constructor(){super(...arguments),this._unknown=!0}_parse(t){return _o(t.data)}}CC.create=e=>new CC({typeName:nt.ZodUnknown,...mt(e)});class $s extends Tt{_parse(t){const n=this._getOrReturnCtx(t);return Le(n,{code:ke.invalid_type,expected:Fe.never,received:n.parsedType}),tt}}$s.create=e=>new $s({typeName:nt.ZodNever,...mt(e)});class AC extends Tt{_parse(t){if(this._getType(t)!==Fe.undefined){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.void,received:r.parsedType}),tt}return _o(t.data)}}AC.create=e=>new AC({typeName:nt.ZodVoid,...mt(e)});class ta extends Tt{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),a=this._def;if(n.parsedType!==Fe.array)return Le(n,{code:ke.invalid_type,expected:Fe.array,received:n.parsedType}),tt;if(a.exactLength!==null){const c=n.data.length>a.exactLength.value,u=n.data.length<a.exactLength.value;(c||u)&&(Le(n,{code:c?ke.too_big:ke.too_small,minimum:u?a.exactLength.value:void 0,maximum:c?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),r.dirty())}if(a.minLength!==null&&n.data.length<a.minLength.value&&(Le(n,{code:ke.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),r.dirty()),a.maxLength!==null&&n.data.length>a.maxLength.value&&(Le(n,{code:ke.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((c,u)=>a.type._parseAsync(new js(n,c,n.path,u)))).then(c=>Wr.mergeArray(r,c));const i=[...n.data].map((c,u)=>a.type._parseSync(new js(n,c,n.path,u)));return Wr.mergeArray(r,i)}get element(){return this._def.type}min(t,n){return new ta({...this._def,minLength:{value:t,message:He.toString(n)}})}max(t,n){return new ta({...this._def,maxLength:{value:t,message:He.toString(n)}})}length(t,n){return new ta({...this._def,exactLength:{value:t,message:He.toString(n)}})}nonempty(t){return this.min(1,t)}}ta.create=(e,t)=>new ta({type:e,minLength:null,maxLength:null,exactLength:null,typeName:nt.ZodArray,...mt(t)});function Hc(e){if(e instanceof Sn){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Ns.create(Hc(r))}return new Sn({...e._def,shape:()=>t})}else return e instanceof ta?new ta({...e._def,type:Hc(e.element)}):e instanceof Ns?Ns.create(Hc(e.unwrap())):e instanceof gl?gl.create(Hc(e.unwrap())):e instanceof Di?Di.create(e.items.map(t=>Hc(t))):e}class Sn extends Tt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=At.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==Fe.object){const f=this._getOrReturnCtx(t);return Le(f,{code:ke.invalid_type,expected:Fe.object,received:f.parsedType}),tt}const{status:r,ctx:a}=this._processInputParams(t),{shape:i,keys:c}=this._getCached(),u=[];if(!(this._def.catchall instanceof $s&&this._def.unknownKeys==="strip"))for(const f in a.data)c.includes(f)||u.push(f);const d=[];for(const f of c){const m=i[f],p=a.data[f];d.push({key:{status:"valid",value:f},value:m._parse(new js(a,p,a.path,f)),alwaysSet:f in a.data})}if(this._def.catchall instanceof $s){const f=this._def.unknownKeys;if(f==="passthrough")for(const m of u)d.push({key:{status:"valid",value:m},value:{status:"valid",value:a.data[m]}});else if(f==="strict")u.length>0&&(Le(a,{code:ke.unrecognized_keys,keys:u}),r.dirty());else if(f!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const f=this._def.catchall;for(const m of u){const p=a.data[m];d.push({key:{status:"valid",value:m},value:f._parse(new js(a,p,a.path,m)),alwaysSet:m in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const f=[];for(const m of d){const p=await m.key,g=await m.value;f.push({key:p,value:g,alwaysSet:m.alwaysSet})}return f}).then(f=>Wr.mergeObjectSync(r,f)):Wr.mergeObjectSync(r,d)}get shape(){return this._def.shape()}strict(t){return He.errToObj,new Sn({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{const a=this._def.errorMap?.(n,r).message??r.defaultError;return n.code==="unrecognized_keys"?{message:He.errToObj(t).message??a}:{message:a}}}:{}})}strip(){return new Sn({...this._def,unknownKeys:"strip"})}passthrough(){return new Sn({...this._def,unknownKeys:"passthrough"})}extend(t){return new Sn({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Sn({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:nt.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new Sn({...this._def,catchall:t})}pick(t){const n={};for(const r of At.objectKeys(t))t[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new Sn({...this._def,shape:()=>n})}omit(t){const n={};for(const r of At.objectKeys(this.shape))t[r]||(n[r]=this.shape[r]);return new Sn({...this._def,shape:()=>n})}deepPartial(){return Hc(this)}partial(t){const n={};for(const r of At.objectKeys(this.shape)){const a=this.shape[r];t&&!t[r]?n[r]=a:n[r]=a.optional()}return new Sn({...this._def,shape:()=>n})}required(t){const n={};for(const r of At.objectKeys(this.shape))if(t&&!t[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof Ns;)i=i._def.innerType;n[r]=i}return new Sn({...this._def,shape:()=>n})}keyof(){return gP(At.objectKeys(this.shape))}}Sn.create=(e,t)=>new Sn({shape:()=>e,unknownKeys:"strip",catchall:$s.create(),typeName:nt.ZodObject,...mt(t)});Sn.strictCreate=(e,t)=>new Sn({shape:()=>e,unknownKeys:"strict",catchall:$s.create(),typeName:nt.ZodObject,...mt(t)});Sn.lazycreate=(e,t)=>new Sn({shape:e,unknownKeys:"strip",catchall:$s.create(),typeName:nt.ZodObject,...mt(t)});class mm extends Tt{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function a(i){for(const u of i)if(u.result.status==="valid")return u.result;for(const u of i)if(u.result.status==="dirty")return n.common.issues.push(...u.ctx.common.issues),u.result;const c=i.map(u=>new La(u.ctx.common.issues));return Le(n,{code:ke.invalid_union,unionErrors:c}),tt}if(n.common.async)return Promise.all(r.map(async i=>{const c={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:c}),ctx:c}})).then(a);{let i;const c=[];for(const d of r){const f={...n,common:{...n.common,issues:[]},parent:null},m=d._parseSync({data:n.data,path:n.path,parent:f});if(m.status==="valid")return m;m.status==="dirty"&&!i&&(i={result:m,ctx:f}),f.common.issues.length&&c.push(f.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;const u=c.map(d=>new La(d));return Le(n,{code:ke.invalid_union,unionErrors:u}),tt}}get options(){return this._def.options}}mm.create=(e,t)=>new mm({options:e,typeName:nt.ZodUnion,...mt(t)});function ob(e,t){const n=ws(e),r=ws(t);if(e===t)return{valid:!0,data:e};if(n===Fe.object&&r===Fe.object){const a=At.objectKeys(t),i=At.objectKeys(e).filter(u=>a.indexOf(u)!==-1),c={...e,...t};for(const u of i){const d=ob(e[u],t[u]);if(!d.valid)return{valid:!1};c[u]=d.data}return{valid:!0,data:c}}else if(n===Fe.array&&r===Fe.array){if(e.length!==t.length)return{valid:!1};const a=[];for(let i=0;i<e.length;i++){const c=e[i],u=t[i],d=ob(c,u);if(!d.valid)return{valid:!1};a.push(d.data)}return{valid:!0,data:a}}else return n===Fe.date&&r===Fe.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class gm extends Tt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),a=(i,c)=>{if(SC(i)||SC(c))return tt;const u=ob(i.value,c.value);return u.valid?((wC(i)||wC(c))&&n.dirty(),{status:n.value,value:u.data}):(Le(r,{code:ke.invalid_intersection_types}),tt)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,c])=>a(i,c)):a(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}gm.create=(e,t,n)=>new gm({left:e,right:t,typeName:nt.ZodIntersection,...mt(n)});class Di extends Tt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Fe.array)return Le(r,{code:ke.invalid_type,expected:Fe.array,received:r.parsedType}),tt;if(r.data.length<this._def.items.length)return Le(r,{code:ke.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),tt;!this._def.rest&&r.data.length>this._def.items.length&&(Le(r,{code:ke.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...r.data].map((c,u)=>{const d=this._def.items[u]||this._def.rest;return d?d._parse(new js(r,c,r.path,u)):null}).filter(c=>!!c);return r.common.async?Promise.all(i).then(c=>Wr.mergeArray(n,c)):Wr.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new Di({...this._def,rest:t})}}Di.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Di({items:e,typeName:nt.ZodTuple,rest:null,...mt(t)})};class IC extends Tt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Fe.map)return Le(r,{code:ke.invalid_type,expected:Fe.map,received:r.parsedType}),tt;const a=this._def.keyType,i=this._def.valueType,c=[...r.data.entries()].map(([u,d],f)=>({key:a._parse(new js(r,u,r.path,[f,"key"])),value:i._parse(new js(r,d,r.path,[f,"value"]))}));if(r.common.async){const u=new Map;return Promise.resolve().then(async()=>{for(const d of c){const f=await d.key,m=await d.value;if(f.status==="aborted"||m.status==="aborted")return tt;(f.status==="dirty"||m.status==="dirty")&&n.dirty(),u.set(f.value,m.value)}return{status:n.value,value:u}})}else{const u=new Map;for(const d of c){const f=d.key,m=d.value;if(f.status==="aborted"||m.status==="aborted")return tt;(f.status==="dirty"||m.status==="dirty")&&n.dirty(),u.set(f.value,m.value)}return{status:n.value,value:u}}}}IC.create=(e,t,n)=>new IC({valueType:t,keyType:e,typeName:nt.ZodMap,...mt(n)});class fd extends Tt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Fe.set)return Le(r,{code:ke.invalid_type,expected:Fe.set,received:r.parsedType}),tt;const a=this._def;a.minSize!==null&&r.data.size<a.minSize.value&&(Le(r,{code:ke.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),n.dirty()),a.maxSize!==null&&r.data.size>a.maxSize.value&&(Le(r,{code:ke.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),n.dirty());const i=this._def.valueType;function c(d){const f=new Set;for(const m of d){if(m.status==="aborted")return tt;m.status==="dirty"&&n.dirty(),f.add(m.value)}return{status:n.value,value:f}}const u=[...r.data.values()].map((d,f)=>i._parse(new js(r,d,r.path,f)));return r.common.async?Promise.all(u).then(d=>c(d)):c(u)}min(t,n){return new fd({...this._def,minSize:{value:t,message:He.toString(n)}})}max(t,n){return new fd({...this._def,maxSize:{value:t,message:He.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}fd.create=(e,t)=>new fd({valueType:e,minSize:null,maxSize:null,typeName:nt.ZodSet,...mt(t)});class kC extends Tt{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}kC.create=(e,t)=>new kC({getter:e,typeName:nt.ZodLazy,...mt(t)});class NC extends Tt{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return Le(n,{received:n.data,code:ke.invalid_literal,expected:this._def.value}),tt}return{status:"valid",value:t.data}}get value(){return this._def.value}}NC.create=(e,t)=>new NC({value:e,typeName:nt.ZodLiteral,...mt(t)});function gP(e,t){return new pl({values:e,typeName:nt.ZodEnum,...mt(t)})}class pl extends Tt{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return Le(n,{expected:At.joinValues(r),received:n.parsedType,code:ke.invalid_type}),tt}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return Le(n,{received:n.data,code:ke.invalid_enum_value,options:r}),tt}return _o(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return pl.create(t,{...this._def,...n})}exclude(t,n=this._def){return pl.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}pl.create=gP;class MC extends Tt{_parse(t){const n=At.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==Fe.string&&r.parsedType!==Fe.number){const a=At.objectValues(n);return Le(r,{expected:At.joinValues(a),received:r.parsedType,code:ke.invalid_type}),tt}if(this._cache||(this._cache=new Set(At.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const a=At.objectValues(n);return Le(r,{received:r.data,code:ke.invalid_enum_value,options:a}),tt}return _o(t.data)}get enum(){return this._def.values}}MC.create=(e,t)=>new MC({values:e,typeName:nt.ZodNativeEnum,...mt(t)});class vm extends Tt{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Fe.promise&&n.common.async===!1)return Le(n,{code:ke.invalid_type,expected:Fe.promise,received:n.parsedType}),tt;const r=n.parsedType===Fe.promise?n.data:Promise.resolve(n.data);return _o(r.then(a=>this._def.type.parseAsync(a,{path:n.path,errorMap:n.common.contextualErrorMap})))}}vm.create=(e,t)=>new vm({type:e,typeName:nt.ZodPromise,...mt(t)});class ml extends Tt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===nt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),a=this._def.effect||null,i={addIssue:c=>{Le(r,c),c.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),a.type==="preprocess"){const c=a.transform(r.data,i);if(r.common.async)return Promise.resolve(c).then(async u=>{if(n.value==="aborted")return tt;const d=await this._def.schema._parseAsync({data:u,path:r.path,parent:r});return d.status==="aborted"?tt:d.status==="dirty"||n.value==="dirty"?Du(d.value):d});{if(n.value==="aborted")return tt;const u=this._def.schema._parseSync({data:c,path:r.path,parent:r});return u.status==="aborted"?tt:u.status==="dirty"||n.value==="dirty"?Du(u.value):u}}if(a.type==="refinement"){const c=u=>{const d=a.refinement(u,i);if(r.common.async)return Promise.resolve(d);if(d instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return u};if(r.common.async===!1){const u=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return u.status==="aborted"?tt:(u.status==="dirty"&&n.dirty(),c(u.value),{status:n.value,value:u.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(u=>u.status==="aborted"?tt:(u.status==="dirty"&&n.dirty(),c(u.value).then(()=>({status:n.value,value:u.value}))))}if(a.type==="transform")if(r.common.async===!1){const c=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!hl(c))return tt;const u=a.transform(c.value,i);if(u instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:u}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(c=>hl(c)?Promise.resolve(a.transform(c.value,i)).then(u=>({status:n.value,value:u})):tt);At.assertNever(a)}}ml.create=(e,t,n)=>new ml({schema:e,typeName:nt.ZodEffects,effect:t,...mt(n)});ml.createWithPreprocess=(e,t,n)=>new ml({schema:t,effect:{type:"preprocess",transform:e},typeName:nt.ZodEffects,...mt(n)});class Ns extends Tt{_parse(t){return this._getType(t)===Fe.undefined?_o(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Ns.create=(e,t)=>new Ns({innerType:e,typeName:nt.ZodOptional,...mt(t)});class gl extends Tt{_parse(t){return this._getType(t)===Fe.null?_o(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}gl.create=(e,t)=>new gl({innerType:e,typeName:nt.ZodNullable,...mt(t)});class ab extends Tt{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===Fe.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}ab.create=(e,t)=>new ab({innerType:e,typeName:nt.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...mt(t)});class sb extends Tt{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},a=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return hm(a)?a.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new La(r.common.issues)},input:r.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new La(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}sb.create=(e,t)=>new sb({innerType:e,typeName:nt.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...mt(t)});class PC extends Tt{_parse(t){if(this._getType(t)!==Fe.nan){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.nan,received:r.parsedType}),tt}return{status:"valid",value:t.data}}}PC.create=e=>new PC({typeName:nt.ZodNaN,...mt(e)});class rre extends Tt{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class W1 extends Tt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?tt:i.status==="dirty"?(n.dirty(),Du(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{const a=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?tt:a.status==="dirty"?(n.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:r.path,parent:r})}}static create(t,n){return new W1({in:t,out:n,typeName:nt.ZodPipeline})}}class ib extends Tt{_parse(t){const n=this._def.innerType._parse(t),r=a=>(hl(a)&&(a.value=Object.freeze(a.value)),a);return hm(n)?n.then(a=>r(a)):r(n)}unwrap(){return this._def.innerType}}ib.create=(e,t)=>new ib({innerType:e,typeName:nt.ZodReadonly,...mt(t)});var nt;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(nt||(nt={}));const ore=Ts.create,are=rb.create;$s.create;ta.create;const sre=Sn.create;mm.create;gm.create;Di.create;const ire=pl.create;vm.create;Ns.create;gl.create;const cre=sre({path:ore().optional().default(""),flat:are().optional().default(!1),view:ire(["table","grid"]).optional().default("grid")}),lre=kne(e=>{const{createRoute:t,lazyRouteComponent:n}=e.routing;return[t({getParentRoute:()=>e.parentRoute,path:"/",component:n(()=>xt(()=>import("./file-browser-D4rvNQn-.js").then(a=>a.b),__vite__mapDeps([35,6,36,37,7,38,13,20,14,39,28,40,41,42,8,43,44,4]))),validateSearch:cre})]}),ure=A.lazy(()=>xt(()=>import("./plugin-header-NOGbkpim.js"),__vite__mapDeps([45,13,34]))),dre=A.lazy(()=>xt(()=>import("./plugin-empty-state-Bi8TKl0X.js"),[])),fre={id:"object-storage",description:"Browse and manage files in S3-compatible object storage",binding:jte,renderHeader:e=>x.jsx(ure,{...e}),renderEmptyState:()=>x.jsx(dre,{}),setup:e=>{const{registerSidebarGroup:t,registerPluginRoutes:n}=e;t({id:"object-storage",label:"Object Storage",items:[{icon:x.jsx(fP,{size:16}),label:"File browser"}],defaultExpanded:!0});const r=lre.createRoutes(e);n(r)}},hre="private-registry",pre="Organization private MCP registry with CRUD and Store integration",nae=`
|
|
197
197
|
You are an MCP tool tester running automated integration checks.
|
|
198
198
|
|
|
199
199
|
Goal:
|
|
@@ -215,4 +215,4 @@ At the end, provide a concise summary of:
|
|
|
215
215
|
- What failed
|
|
216
216
|
- What could not be tested and why
|
|
217
217
|
- If some tool needs user-specific context (email/account/tenant), explicitly output a "CONTEXT_REQUIRED" note with what is needed.
|
|
218
|
-
`.trim(),mre=A.lazy(()=>xt(()=>import("./registry-layout-BQn-d1Q_.js"),__vite__mapDeps([46,7,31,47,9,2,4,5,36,37,48,15,12,13,14,23,49,50,51,17,52,53,8,19,10,11,20,39,44,54,55,43,56,57,58,34,16,59,21,60,61,38,62,63,33,3,64,65,66,67,18,68,69,70]))),gre={id:hre,description:pre,LayoutComponent:mre,setup:e=>{e.registerSidebarGroup({id:"private-registry",label:"Private Registry",items:[{icon:x.jsx(hP,{size:16}),label:"Registry"}],defaultExpanded:!0})}},vre=A.lazy(()=>xt(()=>import("./reports-layout-pf1vxPuS.js"),__vite__mapDeps([71,1,2,3,4,5,6,8,9,13,34,7,20,21,72,22,65,73,31,32,33,23,24,25,26,27,14,28,29,30,48,55,57,58]))),yre={id:"reports",description:"View automated reports with actionable insights",binding:ine,LayoutComponent:vre,setup:e=>{e.registerSidebarGroup({id:"observability",label:"Observability",items:[{icon:x.jsx(dP,{size:16}),label:"Reports"}]})}},_re="user-sandbox",bre="Create embeddable integration flows for platform end-users";var Sre=(e,t,n,r,a,i,c,u)=>{let d=document.documentElement,f=["light","dark"];function m(y){(Array.isArray(e)?e:[e]).forEach(b=>{let w=b==="class",S=w&&i?a.map(R=>i[R]||R):a;w?(d.classList.remove(...S),d.classList.add(i&&i[y]?i[y]:y)):d.setAttribute(b,y)}),p(y)}function p(y){u&&f.includes(y)&&(d.style.colorScheme=y)}function g(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)m(r);else try{let y=localStorage.getItem(t)||n,b=c&&y==="system"?g():y;m(b)}catch{}},wre=A.createContext(void 0),Ere={setTheme:e=>{},themes:[]},rae=()=>{var e;return(e=A.useContext(wre))!=null?e:Ere};A.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:a,defaultTheme:i,value:c,themes:u,nonce:d,scriptProps:f})=>{let m=JSON.stringify([n,t,i,e,u,c,r,a]).slice(1,-1);return A.createElement("script",{...f,suppressHydrationWarning:!0,nonce:typeof window>"u"?d:"",dangerouslySetInnerHTML:{__html:`(${Sre.toString()})(${m})`}})});const hd="org-admin",Rre={from({org:e,project:t}){if(e?.includes("/")||t.includes("/"))throw new Error("Org or project cannot contain slashes");return`${e}/${t}`},parse(e){e.startsWith("/")&&(e=e.slice(1));const[t,n]=e.split("/");if(!t||!n)throw new Error("Invalid locator");return{org:t,project:n}},isOrgAdminProject(e){return e.split("/")[1]===hd},adminProject(e){return`${e}/${hd}`}},vP=A.createContext(void 0),oae=()=>{const e=A.useContext(vP);if(!e)throw new Error("useProjectContext must be used within a ProjectContextProvider");return e},aae=e=>{const t=vl.c(10),{children:n,org:r,project:a}=e;let i;t[0]!==r.slug||t[1]!==a.slug?(i=Rre.from({org:r.slug,project:a.slug}),t[0]=r.slug,t[1]=a.slug,t[2]=i):i=t[2];const c=i;let u;t[3]!==c||t[4]!==r||t[5]!==a?(u={org:r,project:a,locator:c},t[3]=c,t[4]=r,t[5]=a,t[6]=u):u=t[6];const d=u;let f;return t[7]!==n||t[8]!==d?(f=x.jsx(vP.Provider,{value:d,children:n}),t[7]=n,t[8]=d,t[9]=f):f=t[9],f},xre=Y({authorizationEndpoint:k().url(),tokenEndpoint:k().url(),introspectionEndpoint:k().url().optional(),clientId:k(),clientSecret:k().optional(),scopes:me(k()),grantType:St(["authorization_code","client_credentials"])}),Tre=Y({title:k().optional(),readOnlyHint:qe().optional(),destructiveHint:qe().optional(),idempotentHint:qe().optional(),openWorldHint:qe().optional()}),Ore=Y({name:k(),description:k().optional(),inputSchema:ut(k(),at()),outputSchema:ut(k(),at()).optional(),annotations:Tre.optional(),_meta:ut(k(),at()).optional()}),Cre=Y({headers:ut(k(),k()).optional()}),Are=Y({command:k().describe("Command to run (e.g., 'npx', 'node')"),args:me(k()).optional().describe("Command arguments"),cwd:k().optional().describe("Working directory"),envVars:ut(k(),k()).optional().describe("Environment variables (encrypted in storage)")}),yP=Y({id:k().describe("Unique identifier for the connection"),title:k().describe("Human-readable name for the connection"),created_at:k().describe("When the connection was created"),updated_at:k().describe("When the connection was last updated"),created_by:k().describe("User ID who created the connection"),updated_by:k().optional().describe("User ID who last updated the connection"),organization_id:k().describe("Organization ID this connection belongs to"),description:k().nullable().describe("Description of the connection"),icon:k().nullable().describe("Icon URL for the connection"),app_name:k().nullable().describe("Associated app name"),app_id:k().nullable().describe("Associated app ID"),connection_type:St(["HTTP","SSE","Websocket","STDIO","VIRTUAL"]).describe("Type of connection"),connection_url:k().nullable().describe("URL for HTTP/SSE/WebSocket connections. virtual://$id for VIRTUAL. Null for STDIO."),connection_token:k().nullable().describe("Authentication token (for HTTP connections)"),connection_headers:rt([Are,Cre]).nullable().describe("Connection parameters. HTTP: { headers }. STDIO: { command, args, cwd, envVars }"),oauth_config:xre.nullable().describe("OAuth configuration"),configuration_state:ut(k(),at()).nullable().describe("Configuration state (decrypted)"),configuration_scopes:me(k()).nullable().optional().describe("Configuration scopes"),metadata:ut(k(),at()).nullable().describe("Additional metadata (includes repository info)"),tools:me(Ore).nullable().describe("Discovered tools from MCP"),bindings:me(k()).nullable().describe("Detected bindings"),status:St(["active","inactive","error"]).describe("Current status")});yP.omit({created_at:!0,updated_at:!0,created_by:!0,updated_by:!0,organization_id:!0,tools:!0,bindings:!0,status:!0}).partial({id:!0,description:!0,icon:!0,app_name:!0,app_id:!0,connection_url:!0,connection_token:!0,connection_headers:!0,oauth_config:!0,configuration_state:!0,configuration_scopes:!0,metadata:!0}).extend({icon:k().nullish()});yP.partial();function sae(e){return e!=null&&"command"in e}function iae(e){return!e||!e.startsWith("virtual://")?null:e.replace("virtual://","")}const Lu=Y({connection_id:k().describe("Connection ID"),selected_tools:me(k()).nullable().describe("Selected tool names. null = all tools included, array = only these tools included"),selected_resources:me(k()).nullable().describe("Selected resource URIs or patterns. Supports * and ** wildcards for pattern matching. null = all resources included, array = only these resources included"),selected_prompts:me(k()).nullable().describe("Selected prompt names. null = all prompts included, array = only these prompts included")}),_P=Lu.extend({selected_tools:Lu.shape.selected_tools.optional(),selected_resources:Lu.shape.selected_resources.optional(),selected_prompts:Lu.shape.selected_prompts.optional()}),cae=Y({id:k().describe("Unique identifier"),title:k().describe("Human-readable name"),description:k().nullable().describe("Description"),icon:k().nullable().describe("Icon URL"),created_at:k().describe("Creation timestamp"),updated_at:k().describe("Last update timestamp"),created_by:k().describe("User ID who created this item"),updated_by:k().optional().describe("User ID who last updated this item"),organization_id:k().describe("Organization ID this item belongs to"),status:St(["active","inactive"]).describe("Current status"),metadata:Y({instructions:k().nullable().describe("Instructions also used as system prompt")}).loose().describe("Metadata"),connections:me(Lu).describe("Connections with their selected tools, resources, and prompts")});Y({title:k().min(1).max(255).describe("Name for the virtual MCP"),description:k().nullable().optional().describe("Optional description"),icon:k().nullish().describe("Optional icon URL"),status:St(["active","inactive"]).optional().default("active").describe("Initial status"),metadata:Y({instructions:k().nullable().optional().describe("MCP server instructions")}).nullable().optional().describe("Additional metadata including MCP server instructions"),connections:me(_P).describe("Connections to include/exclude (can be empty for exclusion mode)")});Y({title:k().min(1).max(255).optional().describe("New name"),description:k().nullable().optional().describe("New description (null to clear)"),icon:k().nullish().describe("New icon URL"),status:St(["active","inactive"]).optional().describe("New status"),metadata:Y({instructions:k().nullable().optional().describe("MCP server instructions")}).nullable().optional().describe("Additional metadata including MCP server instructions"),connections:me(_P).optional().describe("New connections (replaces existing)")});var DC;(function(e){e.Completable="McpCompletable"})(DC||(DC={}));const Ire=[],kre={id:_re,description:bre,binding:Ire},Nre="workflows",Mre="Create workflows for platform end-users",Pre=A.lazy(()=>xt(()=>import("./plugin-header-Dpl-nWNH.js"),__vite__mapDeps([74,13,34,75]))),Dre=A.lazy(()=>xt(()=>import("./plugin-empty-state-pCPRfw9D.js"),__vite__mapDeps([76,75]))),Lre={id:Nre,description:Mre,binding:[],renderHeader:e=>x.jsx(Pre,{...e}),renderEmptyState:()=>x.jsx(Dre,{})},jre=[fre,yre,Ine,kre,gre,Lre],Hs=Q6({component:()=>x.jsx(OY,{children:x.jsx(A.Suspense,{fallback:x.jsx(dM,{}),children:x.jsx(gA,{})})})}),$re=jt({getParentRoute:()=>Hs,path:"/login",component:Gt(()=>xt(()=>import("./login-ammpgNB-.js"),__vite__mapDeps([77,4,7,15]))),validateSearch:go(()=>Y({next:k().optional(),client_id:k().optional(),redirect_uri:k().optional(),response_type:k().optional(),state:k().optional(),scope:k().optional(),code_challenge:k().optional(),code_challenge_method:k().optional()}))}),Ure=jt({getParentRoute:()=>Hs,path:"/reset-password",component:Gt(()=>xt(()=>import("./reset-password-Bxri-VSu.js"),__vite__mapDeps([78,4,7,15]))),validateSearch:go(()=>Y({token:k().optional(),error:k().optional()}))}),zre=jt({getParentRoute:()=>Hs,path:"/auth/$pathname",component:Gt(()=>xt(()=>import("./auth-catchall-h6JRuE0a.js"),[]))}),Vre=jt({getParentRoute:()=>Hs,path:"/connect/$sessionId",component:Gt(()=>xt(()=>import("./connect-DnGl27xs.js"),__vite__mapDeps([79,2,4,7,55,69,80])))}),Fre=jt({getParentRoute:()=>Hs,path:"/store/$appName",component:Gt(()=>xt(()=>import("./store-invite-DRY5-ZDN.js"),[])),validateSearch:go(()=>Y({serverName:k().optional()}))}),Bre=jt({getParentRoute:()=>Hs,path:"/oauth/callback",component:Gt(()=>xt(()=>import("./oauth-callback-CIreGoVm.js"),__vite__mapDeps([81,8,69])))}),ig=jt({getParentRoute:()=>Hs,id:"shell",component:Gt(()=>xt(()=>import("./shell-layout-BNxaant4.js"),__vite__mapDeps([82,83,7,84,5,85,3,4,86,87,88,1,2,89,90,91,92,15,64,57,58,13,34,93,40,94,61,19,9,95,37,96,68,97,10,11,98,56,99,47,100,26,101,102,33,20,103,21,60,48,104,105,106,107,14,65,108,24,109,62,110,111,112,113,8,114,22,43,115,51,116,18,117,59,118,72,75,41,119,120,12,121,54,53,63,122,73,123,124])))}),qre=jt({getParentRoute:()=>ig,path:"/",component:Gt(()=>xt(()=>import("./home-DrVqMz__.js"),__vite__mapDeps([125,55,7,120,20,13,18,19,112,15,121,54,98,56,96,4])))}),Hre=jt({getParentRoute:()=>ig,path:"/$org",beforeLoad:({params:e})=>{throw _m({to:"/$org/$project",params:{org:e.org,project:hd}})}}),Jn=jt({getParentRoute:()=>ig,path:"/$org/$project",component:Gt(()=>xt(()=>import("./project-layout-COemS-HZ.js"),__vite__mapDeps([126,119,2,5,7,10,11,92,89,4,118,120,107,9,68,58,13,65,16,57,34,105,122,72,98,56,15,44,59,54,47,3,88,1,127,128,129,130,131,114,8,18,132,133,48,103,20,61,123,134]))),validateSearch:Y({settings:k().optional()})}),Gre=jt({getParentRoute:()=>Jn,path:"/",component:Gt(()=>xt(()=>import("./page-BsH9eRyV.js"),__vite__mapDeps([135,83,7,84,5,85,3,4,86,87,88,1,2,89,90,91,92,15,64,57,58,13,34,93,40,94,61,19,9,95,37,96,68,97,10,11,98,56,99,47,100,26,101,102,33,20,103,21,60,48,104,105,106,107,14,65,108,24,109,62,110,111,112,113,8,114,22,43,116,115,51,18])))}),Zre=jt({getParentRoute:()=>Jn,path:"/tasks",component:Gt(()=>xt(()=>import("./tasks-XhvCS1ff.js"),__vite__mapDeps([136,137,7,12,13,14,25,26,40,42,68,58,23,113,8,19,15,90,91,115,51,11,138,120,2,5,50,139,140,141,48,20,142,72,22,84,85,3,4,86,87,88,1,89,92,64,57,34,93,94,61,9,95,37])))}),Kre=jt({getParentRoute:()=>Jn,path:"/settings",beforeLoad:({params:e})=>{const t=e.project===hd;throw _m({to:"/$org/$project",params:e,search:{settings:t?"org.general":`project:${e.project}:general`}})},component:()=>null}),Vo=({params:e})=>{if(e.project!==hd)throw _m({to:"/$org/$project",params:{org:e.org,project:e.project}})},Wre=jt({getParentRoute:()=>Jn,path:"/projects",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./projects-list-agwDKNpz.js"),__vite__mapDeps([143,119,2,5,115,51,7,11,68,58,113,8,19,15,120,144,140,117,4,10,98,56,59,13,141,14])))}),Yre=jt({getParentRoute:()=>Jn,path:"/members",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./members-vALqpZBg.js"),__vite__mapDeps([145,137,7,12,13,14,25,26,40,42,68,58,23,113,8,19,15,115,51,11,141,99,47,38,21,3,4,5,134,2,87,88,1,120,48,54,10,146,147,18,43,16,90,91,98,56,57,34,59,55,17,67,122,112,148,149,64])))}),Qre=jt({getParentRoute:()=>Jn,path:"/mcps",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./connections-DBgbzkoP.js"),__vite__mapDeps([150,114,137,7,12,13,14,25,26,40,42,68,58,23,113,8,19,15,151,55,99,47,48,20,31,90,91,115,51,11,138,120,2,5,50,88,1,131,54,141,10,98,56,57,34,59,3,4,123,17,62,110,152,43,139,140,153,18]))),validateSearch:go(()=>Y({action:St(["create"]).optional()}))}),Xre=jt({getParentRoute:()=>Jn,path:"/mcps/$connectionId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./connection-detail-faJFOyTd.js"),__vite__mapDeps([154,113,7,8,19,15,90,91,153,18,43,109,155,66,88,1,156,69,5,123,2,4,93,67,3,129,131,128,130,114,127,57,58,13,34,133,80,157,149,83,84,85,86,87,89,92,64,40,94,61,9,95,37,96,68,97,10,11,98,56,99,47,100,26,101,102,33,20,103,21,60,48,104,105,106,107,14,65,108,24,62,110,111,112,22,141,158,159,115,51,160,137,12,25,42,23,55,17,161,73,138,120,50,54,31,152,144,140,162,163,164]))),validateSearch:go(()=>Y({tab:k().optional()}))}),Jre=jt({getParentRoute:()=>Jn,path:"/mcps/$connectionId/$collectionName/$itemId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./collection-detail-B-GRQ7WP.js"),__vite__mapDeps([165,113,7,8,19,15,90,91,3,4,5,98,56,59,159,115,51,11,68,58,155,66,83,84,85,86,87,88,1,2,89,92,64,57,13,34,93,40,94,61,9,95,37,96,97,10,99,47,100,26,101,102,33,20,103,21,60,48,104,105,106,107,14,65,108,24,109,62,110,111,112,114,22,43,70,141,156,69,123,67,129,131,128,130,127,18,133,80,157,149,164,137,12,25,42,23,55,166,161,124,142,146,167]))),validateSearch:go(()=>Y({replayId:k().optional()}))}),eoe=jt({getParentRoute:()=>Jn,path:"/monitoring",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./monitoring-C5YeQkMd.js"),__vite__mapDeps([168,113,7,8,19,15,115,51,11,68,58,141,14,90,91,169,48,64,13,65,39,52,67,70,166,96,57,34,22,99,47,23,132,133,5,17,18,43,151,55,12,54,134,95,37,3,4,85,105,40,38,148,149,59,158,16,56,123,2]))),validateSearch:go(()=>Y({tab:St(["logs","dashboards"]).default("logs"),from:k().default("now-30m"),to:k().default("now"),connectionId:me(k()).optional().default([]),virtualMcpId:me(k()).optional().default([]),tool:k().default(""),status:St(["all","success","errors"]).default("all"),search:k().default(""),page:Se().optional(),streaming:qe().default(!0),propertyFilters:k().default(""),hideSystem:qe().default(!1)}))}),toe=jt({getParentRoute:()=>Jn,path:"/monitoring/dashboards/$dashboardId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./monitoring-dashboard-view-DGOfuIsH.js"),__vite__mapDeps([170,5,7,169,48,64,68,58,13,65,39,52,67,70,166,96,57,34,22,14,15,111,90,91,159,115,51,11,141,59,105,40,18,43,112])))}),noe=jt({getParentRoute:()=>Jn,path:"/monitoring/dashboards/$dashboardId/edit",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./monitoring-dashboard-edit-Gi5op0JF.js"),__vite__mapDeps([171,90,7,91,3,4,5,15,99,47,38,13,64,34,57,58,29,70,18,111,43,49,159,115,51,11,68,155,66,8,141,14])))}),bP=jt({getParentRoute:()=>Jn,path:"/store",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./page-M1GUNvPi.js"),__vite__mapDeps([172,115,51,7,11,68,58,141,14,91,52,73,8,111,19,2,36,37,131,5,3,4,173,113,15,174,27,110,147,18,152,55,99,47,130,64,13,34,112,88,1,89,90])))}),roe=jt({getParentRoute:()=>bP,path:"/$appName",component:Gt(()=>xt(()=>import("./mcp-server-detail-C1iBlkhh.js"),__vite__mapDeps([175,20,8,115,51,7,11,68,58,99,47,31,34,18,12,13,14,63,113,19,15,162,2,93,130,163,108,164,137,25,26,40,42,23,48,55,109,91,62,110,111,159,158,174,27,147,152,141,88,1,3,4,5,123,89,128,129,131,114,173,32]))),validateSearch:go(()=>Y({registryId:k().optional(),serverName:k().optional(),itemId:k().optional()}))}),ooe=jt({getParentRoute:()=>Jn,path:"/agents",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./agents-B3jsv5iD.js"),__vite__mapDeps([176,137,7,12,13,14,25,26,40,42,68,58,23,113,8,19,15,115,51,11,141,151,55,99,47,90,91,138,120,2,5,50,106,85,3,4,54,17,62,43,102,177,139,140]))),validateSearch:go(()=>Y({action:St(["create"]).optional()}))}),aoe=jt({getParentRoute:()=>Jn,path:"/agents/$agentId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./agent-detail-DzzlkE76.js"),__vite__mapDeps([178,84,5,85,3,4,86,87,88,1,2,89,90,7,91,92,15,64,57,58,13,34,93,40,94,61,19,9,95,37,113,8,99,47,104,48,16,59,68,14,28,70,18,167,102,141,159,115,51,11,155,66,164,137,12,25,26,42,23,55,109,62,110,111,38,10,103,123,97,173,157,105,65,32,67,177]))),validateSearch:go(()=>Y({tab:k().optional()}))}),soe=jt({getParentRoute:()=>Jn,path:"/workflows",component:Gt(()=>xt(()=>import("./workflow-qF8c0_Lg.js"),__vite__mapDeps([179,5,160,114,137,7,12,13,14,25,26,40,42,68,58,23,113,8,19,15,55,99,47,65,17,101,62,43,161,73,138,120,2,50,51,129,54,3,4,18,159,115,11,90,91,141,88,1,61,75])))}),SP=jt({getParentRoute:()=>Jn,path:"/$pluginId",component:Gt(()=>xt(()=>import("./dynamic-plugin-layout-BN-x5HXB.js"),__vite__mapDeps([180,8,1,6,2,3,4,5,9,7,115,51,11,68,58])))}),ioe=[],coe=[],wP=[];jre.forEach(e=>{if(!e.setup)return;const t={parentRoute:SP,routing:{createRoute:jt,lazyRouteComponent:Gt},registerRootSidebarItem:n=>ioe.push({pluginId:e.id,...n}),registerSidebarGroup:n=>coe.push({pluginId:e.id,...n}),registerPluginRoutes:n=>{wP.push(...n)}};e.setup(t)});const loe=SP.addChildren(wP),uoe=bP.addChildren([roe]),doe=[Gre,Zre,Kre,Wre,Yre,Qre,Xre,Jre,eoe,toe,noe,uoe,ooe,aoe,soe,loe],foe=Jn.addChildren(doe),hoe=ig.addChildren([qre,Hre,foe]),poe=Hs.addChildren([hoe,$re,Ure,zre,Bre,Vre,Fre]),moe=sL({routeTree:poe}),goe=document.getElementById("root");H5.createRoot(goe).render(x.jsx(A.StrictMode,{children:x.jsx(lL,{router:moe})}));export{DG as $,qoe as A,_d as B,yP as C,rn as D,An as E,ZV as F,lt as G,RN as H,_H as I,za as J,KC as K,Rre as L,Ui as M,Eoe as N,hd as O,aae as P,iZ as Q,yH as R,dM as S,dN as T,ID as U,cae as V,TD as W,Roe as X,rg as Y,Rm as Z,fP as _,Em as a,nD as a$,Ioe as a0,HB as a1,Moe as a2,Poe as a3,Noe as a4,qB as a5,Doe as a6,koe as a7,CG as a8,AG as a9,HG as aA,GG as aB,qG as aC,gA as aD,xm as aE,jre as aF,wN as aG,aH,qb as aI,hN as aJ,Pk as aK,Hb as aL,nd as aM,xk as aN,Bb as aO,Fb as aP,sH as aQ,iH as aR,Aoe as aS,Coe as aT,Ooe as aU,pd as aV,G0 as aW,Ku as aX,hD as aY,Zn as aZ,Or as a_,IG as aa,kG as ab,NG as ac,joe as ad,Loe as ae,Uoe as af,$oe as ag,zoe as ah,Voe as ai,Foe as aj,lD as ak,jee as al,Fee as am,Woe as an,xi as ao,cx as ap,boe as aq,_oe as ar,E4 as as,x4 as at,Soe as au,me as av,St as aw,Is as ax,xd as ay,yd as az,yl as b,uP as b$,b$ as b0,AA as b1,We as b2,et as b3,ar as b4,cb as b5,ht as b6,GX as b7,O1 as b8,dX as b9,rt as bA,qe as bB,De as bC,at as bD,go as bE,bl as bF,Joe as bG,Xoe as bH,rr as bI,le as bJ,Do as bK,Qk as bL,Lo as bM,Jee as bN,WM as bO,ja as bP,lre as bQ,xt as bR,rae as bS,nV as bT,yoe as bU,fr as bV,hre as bW,BV as bX,dP as bY,eae as bZ,ine as b_,sX as ba,jQ as bb,$Q as bc,zQ as bd,WQ as be,Xm as bf,NM as bg,RM as bh,xM as bi,TM as bj,OM as bk,CM as bl,IM as bm,Hu as bn,vM as bo,z1 as bp,JQ as bq,eX as br,kM as bs,Qm as bt,og as bu,ut as bv,Gr as bw,zI as bx,Kn as by,Se as bz,vl as c,xne as c0,tae as c1,ioe as c2,coe as c3,PW as c4,Qee as c5,cU as c6,Toe as c7,YI as c8,Cb as c9,Nq as cA,voe as cB,$C as cC,_D as cD,wD as cE,OD as cF,ED as cG,RD as cH,AD as cI,lx as cJ,CD as cK,xD as cL,iJ as cM,pt as cN,ZM as cO,JJ as cP,gW as cQ,Us as cR,Koe as cS,xoe as ca,nae as cb,Ma as cc,woe as cd,Qoe as ce,zV as cf,$V as cg,PV as ch,rk as ci,Ir as cj,$G as ck,dA as cl,hA as cm,nO as cn,Fq as co,jo as cp,rd as cq,Jb as cr,ll as cs,Ls as ct,Va as cu,$o as cv,tN as cw,qq as cx,Zq as cy,Hq as cz,kj as d,Xc as e,Hoe as f,Boe as g,Goe as h,sae as i,x as j,oa as k,ra as l,vD as m,ZC as n,Y as o,iae as p,HV as q,A as r,k as s,mT as t,oae as u,_k as v,GV as w,uk as x,mF as y,Xk as z};
|
|
218
|
+
`.trim(),mre=A.lazy(()=>xt(()=>import("./registry-layout-BcVc2nNS.js"),__vite__mapDeps([46,7,31,47,9,2,4,5,36,37,48,15,12,13,14,23,49,50,51,17,52,53,8,19,10,11,20,39,44,54,55,43,56,57,58,34,16,59,21,60,61,38,62,63,33,3,64,65,66,67,18,68,69,70]))),gre={id:hre,description:pre,LayoutComponent:mre,setup:e=>{e.registerSidebarGroup({id:"private-registry",label:"Private Registry",items:[{icon:x.jsx(hP,{size:16}),label:"Registry"}],defaultExpanded:!0})}},vre=A.lazy(()=>xt(()=>import("./reports-layout-Cb_9di8U.js"),__vite__mapDeps([71,1,2,3,4,5,6,8,9,13,34,7,20,21,72,22,65,73,31,32,33,23,24,25,26,27,14,28,29,30,48,55,57,58]))),yre={id:"reports",description:"View automated reports with actionable insights",binding:ine,LayoutComponent:vre,setup:e=>{e.registerSidebarGroup({id:"observability",label:"Observability",items:[{icon:x.jsx(dP,{size:16}),label:"Reports"}]})}},_re="user-sandbox",bre="Create embeddable integration flows for platform end-users";var Sre=(e,t,n,r,a,i,c,u)=>{let d=document.documentElement,f=["light","dark"];function m(y){(Array.isArray(e)?e:[e]).forEach(b=>{let w=b==="class",S=w&&i?a.map(R=>i[R]||R):a;w?(d.classList.remove(...S),d.classList.add(i&&i[y]?i[y]:y)):d.setAttribute(b,y)}),p(y)}function p(y){u&&f.includes(y)&&(d.style.colorScheme=y)}function g(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)m(r);else try{let y=localStorage.getItem(t)||n,b=c&&y==="system"?g():y;m(b)}catch{}},wre=A.createContext(void 0),Ere={setTheme:e=>{},themes:[]},rae=()=>{var e;return(e=A.useContext(wre))!=null?e:Ere};A.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:a,defaultTheme:i,value:c,themes:u,nonce:d,scriptProps:f})=>{let m=JSON.stringify([n,t,i,e,u,c,r,a]).slice(1,-1);return A.createElement("script",{...f,suppressHydrationWarning:!0,nonce:typeof window>"u"?d:"",dangerouslySetInnerHTML:{__html:`(${Sre.toString()})(${m})`}})});const hd="org-admin",Rre={from({org:e,project:t}){if(e?.includes("/")||t.includes("/"))throw new Error("Org or project cannot contain slashes");return`${e}/${t}`},parse(e){e.startsWith("/")&&(e=e.slice(1));const[t,n]=e.split("/");if(!t||!n)throw new Error("Invalid locator");return{org:t,project:n}},isOrgAdminProject(e){return e.split("/")[1]===hd},adminProject(e){return`${e}/${hd}`}},vP=A.createContext(void 0),oae=()=>{const e=A.useContext(vP);if(!e)throw new Error("useProjectContext must be used within a ProjectContextProvider");return e},aae=e=>{const t=vl.c(10),{children:n,org:r,project:a}=e;let i;t[0]!==r.slug||t[1]!==a.slug?(i=Rre.from({org:r.slug,project:a.slug}),t[0]=r.slug,t[1]=a.slug,t[2]=i):i=t[2];const c=i;let u;t[3]!==c||t[4]!==r||t[5]!==a?(u={org:r,project:a,locator:c},t[3]=c,t[4]=r,t[5]=a,t[6]=u):u=t[6];const d=u;let f;return t[7]!==n||t[8]!==d?(f=x.jsx(vP.Provider,{value:d,children:n}),t[7]=n,t[8]=d,t[9]=f):f=t[9],f},xre=Y({authorizationEndpoint:k().url(),tokenEndpoint:k().url(),introspectionEndpoint:k().url().optional(),clientId:k(),clientSecret:k().optional(),scopes:me(k()),grantType:St(["authorization_code","client_credentials"])}),Tre=Y({title:k().optional(),readOnlyHint:qe().optional(),destructiveHint:qe().optional(),idempotentHint:qe().optional(),openWorldHint:qe().optional()}),Ore=Y({name:k(),description:k().optional(),inputSchema:ut(k(),at()),outputSchema:ut(k(),at()).optional(),annotations:Tre.optional(),_meta:ut(k(),at()).optional()}),Cre=Y({headers:ut(k(),k()).optional()}),Are=Y({command:k().describe("Command to run (e.g., 'npx', 'node')"),args:me(k()).optional().describe("Command arguments"),cwd:k().optional().describe("Working directory"),envVars:ut(k(),k()).optional().describe("Environment variables (encrypted in storage)")}),yP=Y({id:k().describe("Unique identifier for the connection"),title:k().describe("Human-readable name for the connection"),created_at:k().describe("When the connection was created"),updated_at:k().describe("When the connection was last updated"),created_by:k().describe("User ID who created the connection"),updated_by:k().optional().describe("User ID who last updated the connection"),organization_id:k().describe("Organization ID this connection belongs to"),description:k().nullable().describe("Description of the connection"),icon:k().nullable().describe("Icon URL for the connection"),app_name:k().nullable().describe("Associated app name"),app_id:k().nullable().describe("Associated app ID"),connection_type:St(["HTTP","SSE","Websocket","STDIO","VIRTUAL"]).describe("Type of connection"),connection_url:k().nullable().describe("URL for HTTP/SSE/WebSocket connections. virtual://$id for VIRTUAL. Null for STDIO."),connection_token:k().nullable().describe("Authentication token (for HTTP connections)"),connection_headers:rt([Are,Cre]).nullable().describe("Connection parameters. HTTP: { headers }. STDIO: { command, args, cwd, envVars }"),oauth_config:xre.nullable().describe("OAuth configuration"),configuration_state:ut(k(),at()).nullable().describe("Configuration state (decrypted)"),configuration_scopes:me(k()).nullable().optional().describe("Configuration scopes"),metadata:ut(k(),at()).nullable().describe("Additional metadata (includes repository info)"),tools:me(Ore).nullable().describe("Discovered tools from MCP"),bindings:me(k()).nullable().describe("Detected bindings"),status:St(["active","inactive","error"]).describe("Current status")});yP.omit({created_at:!0,updated_at:!0,created_by:!0,updated_by:!0,organization_id:!0,tools:!0,bindings:!0,status:!0}).partial({id:!0,description:!0,icon:!0,app_name:!0,app_id:!0,connection_url:!0,connection_token:!0,connection_headers:!0,oauth_config:!0,configuration_state:!0,configuration_scopes:!0,metadata:!0}).extend({icon:k().nullish()});yP.partial();function sae(e){return e!=null&&"command"in e}function iae(e){return!e||!e.startsWith("virtual://")?null:e.replace("virtual://","")}const Lu=Y({connection_id:k().describe("Connection ID"),selected_tools:me(k()).nullable().describe("Selected tool names. null = all tools included, array = only these tools included"),selected_resources:me(k()).nullable().describe("Selected resource URIs or patterns. Supports * and ** wildcards for pattern matching. null = all resources included, array = only these resources included"),selected_prompts:me(k()).nullable().describe("Selected prompt names. null = all prompts included, array = only these prompts included")}),_P=Lu.extend({selected_tools:Lu.shape.selected_tools.optional(),selected_resources:Lu.shape.selected_resources.optional(),selected_prompts:Lu.shape.selected_prompts.optional()}),cae=Y({id:k().describe("Unique identifier"),title:k().describe("Human-readable name"),description:k().nullable().describe("Description"),icon:k().nullable().describe("Icon URL"),created_at:k().describe("Creation timestamp"),updated_at:k().describe("Last update timestamp"),created_by:k().describe("User ID who created this item"),updated_by:k().optional().describe("User ID who last updated this item"),organization_id:k().describe("Organization ID this item belongs to"),status:St(["active","inactive"]).describe("Current status"),metadata:Y({instructions:k().nullable().describe("Instructions also used as system prompt")}).loose().describe("Metadata"),connections:me(Lu).describe("Connections with their selected tools, resources, and prompts")});Y({title:k().min(1).max(255).describe("Name for the virtual MCP"),description:k().nullable().optional().describe("Optional description"),icon:k().nullish().describe("Optional icon URL"),status:St(["active","inactive"]).optional().default("active").describe("Initial status"),metadata:Y({instructions:k().nullable().optional().describe("MCP server instructions")}).nullable().optional().describe("Additional metadata including MCP server instructions"),connections:me(_P).describe("Connections to include/exclude (can be empty for exclusion mode)")});Y({title:k().min(1).max(255).optional().describe("New name"),description:k().nullable().optional().describe("New description (null to clear)"),icon:k().nullish().describe("New icon URL"),status:St(["active","inactive"]).optional().describe("New status"),metadata:Y({instructions:k().nullable().optional().describe("MCP server instructions")}).nullable().optional().describe("Additional metadata including MCP server instructions"),connections:me(_P).optional().describe("New connections (replaces existing)")});var DC;(function(e){e.Completable="McpCompletable"})(DC||(DC={}));const Ire=[],kre={id:_re,description:bre,binding:Ire},Nre="workflows",Mre="Create workflows for platform end-users",Pre=A.lazy(()=>xt(()=>import("./plugin-header-DqYSY5WD.js"),__vite__mapDeps([74,13,34,75]))),Dre=A.lazy(()=>xt(()=>import("./plugin-empty-state-OjZLLHuW.js"),__vite__mapDeps([76,75]))),Lre={id:Nre,description:Mre,binding:[],renderHeader:e=>x.jsx(Pre,{...e}),renderEmptyState:()=>x.jsx(Dre,{})},jre=[fre,yre,Ine,kre,gre,Lre],Hs=Q6({component:()=>x.jsx(OY,{children:x.jsx(A.Suspense,{fallback:x.jsx(dM,{}),children:x.jsx(gA,{})})})}),$re=jt({getParentRoute:()=>Hs,path:"/login",component:Gt(()=>xt(()=>import("./login-D-_vmeEI.js"),__vite__mapDeps([77,4,7,15]))),validateSearch:go(()=>Y({next:k().optional(),client_id:k().optional(),redirect_uri:k().optional(),response_type:k().optional(),state:k().optional(),scope:k().optional(),code_challenge:k().optional(),code_challenge_method:k().optional()}))}),Ure=jt({getParentRoute:()=>Hs,path:"/reset-password",component:Gt(()=>xt(()=>import("./reset-password-tNDIWT24.js"),__vite__mapDeps([78,4,7,15]))),validateSearch:go(()=>Y({token:k().optional(),error:k().optional()}))}),zre=jt({getParentRoute:()=>Hs,path:"/auth/$pathname",component:Gt(()=>xt(()=>import("./auth-catchall-DmQOOeQy.js"),[]))}),Vre=jt({getParentRoute:()=>Hs,path:"/connect/$sessionId",component:Gt(()=>xt(()=>import("./connect-ezzuoZk1.js"),__vite__mapDeps([79,2,4,7,55,69,80])))}),Fre=jt({getParentRoute:()=>Hs,path:"/store/$appName",component:Gt(()=>xt(()=>import("./store-invite-CBtJIAbW.js"),[])),validateSearch:go(()=>Y({serverName:k().optional()}))}),Bre=jt({getParentRoute:()=>Hs,path:"/oauth/callback",component:Gt(()=>xt(()=>import("./oauth-callback-AmREHdz2.js"),__vite__mapDeps([81,8,69])))}),ig=jt({getParentRoute:()=>Hs,id:"shell",component:Gt(()=>xt(()=>import("./shell-layout-BHmLkMzR.js"),__vite__mapDeps([82,83,7,84,5,85,3,4,86,87,88,1,2,89,90,91,92,15,64,57,58,13,34,93,40,94,61,19,9,95,37,96,68,97,10,11,98,56,99,26,100,101,33,20,102,21,60,48,103,104,105,47,106,14,65,107,24,108,62,109,110,111,112,8,113,114,22,43,115,51,116,18,117,59,118,72,75,41,119,120,12,121,54,53,63,122,73,123,124])))}),qre=jt({getParentRoute:()=>ig,path:"/",component:Gt(()=>xt(()=>import("./home-urEawFOR.js"),__vite__mapDeps([125,55,7,120,20,13,18,19,111,15,121,54,98,56,96,4])))}),Hre=jt({getParentRoute:()=>ig,path:"/$org",beforeLoad:({params:e})=>{throw _m({to:"/$org/$project",params:{org:e.org,project:hd}})}}),Jn=jt({getParentRoute:()=>ig,path:"/$org/$project",component:Gt(()=>xt(()=>import("./project-layout-DxcVceRu.js"),__vite__mapDeps([126,119,2,5,7,10,11,92,89,4,118,120,9,68,58,13,65,16,57,34,104,122,72,98,56,15,44,59,54,47,3,88,1,127,128,129,130,131,114,8,18,132,133,48,102,20,61,123,113,134]))),validateSearch:Y({settings:k().optional()})}),Gre=jt({getParentRoute:()=>Jn,path:"/",component:Gt(()=>xt(()=>import("./page-383FaDV2.js"),__vite__mapDeps([135,83,7,84,5,85,3,4,86,87,88,1,2,89,90,91,92,15,64,57,58,13,34,93,40,94,61,19,9,95,37,96,68,97,10,11,98,56,99,26,100,101,33,20,102,21,60,48,103,104,105,47,106,14,65,107,24,108,62,109,110,111,112,8,113,114,22,43,116,115,51,18])))}),Zre=jt({getParentRoute:()=>Jn,path:"/tasks",component:Gt(()=>xt(()=>import("./tasks-DbmObaDD.js"),__vite__mapDeps([136,137,7,12,13,14,25,26,40,42,68,58,23,112,8,19,15,90,91,115,51,11,138,120,2,5,50,139,140,141,48,20,142,72,22,84,85,3,4,86,87,88,1,89,92,64,57,34,93,94,61,9,95,37])))}),Kre=jt({getParentRoute:()=>Jn,path:"/settings",beforeLoad:({params:e})=>{const t=e.project===hd;throw _m({to:"/$org/$project",params:e,search:{settings:t?"org.general":`project:${e.project}:general`}})},component:()=>null}),Vo=({params:e})=>{if(e.project!==hd)throw _m({to:"/$org/$project",params:{org:e.org,project:e.project}})},Wre=jt({getParentRoute:()=>Jn,path:"/projects",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./projects-list-FULLceFc.js"),__vite__mapDeps([143,119,2,5,115,51,7,11,68,58,112,8,19,15,120,144,140,117,4,10,98,56,59,13,141,14])))}),Yre=jt({getParentRoute:()=>Jn,path:"/members",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./members-B0_Xg_uw.js"),__vite__mapDeps([145,137,7,12,13,14,25,26,40,42,68,58,23,112,8,19,15,115,51,11,141,105,47,38,21,3,4,5,134,2,87,88,1,120,48,54,10,146,147,18,43,16,90,91,98,56,57,34,59,55,17,67,122,111,148,149,64])))}),Qre=jt({getParentRoute:()=>Jn,path:"/mcps",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./connections-Du--7tHh.js"),__vite__mapDeps([150,114,137,7,12,13,14,25,26,40,42,68,58,23,112,8,19,15,151,55,105,47,48,20,31,90,91,115,51,11,138,120,2,5,50,88,1,131,54,141,10,98,56,57,34,59,3,4,123,17,62,109,152,43,139,140,153,18]))),validateSearch:go(()=>Y({action:St(["create"]).optional()}))}),Xre=jt({getParentRoute:()=>Jn,path:"/mcps/$connectionId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./connection-detail-B931e97h.js"),__vite__mapDeps([154,112,7,8,19,15,90,91,153,18,43,108,155,66,88,1,156,69,5,123,2,4,93,67,3,129,131,128,130,114,127,57,58,13,34,133,80,157,149,83,84,85,86,87,89,92,64,40,94,61,9,95,37,96,68,97,10,11,98,56,99,26,100,101,33,20,102,21,60,48,103,104,105,47,106,14,65,107,24,62,109,110,111,113,22,141,158,159,115,51,160,137,12,25,42,23,55,17,161,73,138,120,50,54,31,152,144,140,162,163,164]))),validateSearch:go(()=>Y({tab:k().optional()}))}),Jre=jt({getParentRoute:()=>Jn,path:"/mcps/$connectionId/$collectionName/$itemId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./collection-detail-Nf6HLmBW.js"),__vite__mapDeps([165,112,7,8,19,15,90,91,3,4,5,98,56,59,159,115,51,11,68,58,155,66,83,84,85,86,87,88,1,2,89,92,64,57,13,34,93,40,94,61,9,95,37,96,97,10,99,26,100,101,33,20,102,21,60,48,103,104,105,47,106,14,65,107,24,108,62,109,110,111,113,114,22,43,70,141,156,69,123,67,129,131,128,130,127,18,133,80,157,149,164,137,12,25,42,23,55,166,161,124,142,146,167]))),validateSearch:go(()=>Y({replayId:k().optional()}))}),eoe=jt({getParentRoute:()=>Jn,path:"/monitoring",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./monitoring-FEHIw1jG.js"),__vite__mapDeps([168,112,7,8,19,15,115,51,11,68,58,141,14,90,91,169,48,64,13,65,39,52,67,70,166,96,57,34,22,105,47,23,132,133,5,17,18,43,151,55,12,54,134,95,37,3,4,85,104,40,38,148,149,59,158,16,56,123,2]))),validateSearch:go(()=>Y({tab:St(["logs","dashboards"]).default("logs"),from:k().default("now-30m"),to:k().default("now"),connectionId:me(k()).optional().default([]),virtualMcpId:me(k()).optional().default([]),tool:k().default(""),status:St(["all","success","errors"]).default("all"),search:k().default(""),page:Se().optional(),streaming:qe().default(!0),propertyFilters:k().default(""),hideSystem:qe().default(!1)}))}),toe=jt({getParentRoute:()=>Jn,path:"/monitoring/dashboards/$dashboardId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./monitoring-dashboard-view-eE4UAi9y.js"),__vite__mapDeps([170,5,7,169,48,64,68,58,13,65,39,52,67,70,166,96,57,34,22,14,15,110,90,91,159,115,51,11,141,59,104,40,18,43,111])))}),noe=jt({getParentRoute:()=>Jn,path:"/monitoring/dashboards/$dashboardId/edit",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./monitoring-dashboard-edit-D9Ku98yT.js"),__vite__mapDeps([171,90,7,91,3,4,5,15,105,47,38,13,64,34,57,58,29,70,18,110,43,49,159,115,51,11,68,155,66,8,141,14])))}),bP=jt({getParentRoute:()=>Jn,path:"/store",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./page-thqQ0ll8.js"),__vite__mapDeps([172,115,51,7,11,68,58,141,14,91,52,73,8,110,19,2,36,37,131,5,3,4,173,112,15,174,27,109,147,18,152,55,105,47,130,64,13,34,111,88,1,89,90])))}),roe=jt({getParentRoute:()=>bP,path:"/$appName",component:Gt(()=>xt(()=>import("./mcp-server-detail-CsXpfhbo.js"),__vite__mapDeps([175,20,8,115,51,7,11,68,58,105,47,31,34,18,12,13,14,63,112,19,15,162,2,93,130,163,107,164,137,25,26,40,42,23,48,55,108,91,62,109,110,159,158,174,27,147,152,141,88,1,3,4,5,123,89,128,129,131,114,173,32]))),validateSearch:go(()=>Y({registryId:k().optional(),serverName:k().optional(),itemId:k().optional()}))}),ooe=jt({getParentRoute:()=>Jn,path:"/agents",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./agents-KAvJ30x5.js"),__vite__mapDeps([176,137,7,12,13,14,25,26,40,42,68,58,23,112,8,19,15,115,51,11,141,151,55,105,47,90,91,138,120,2,5,50,106,85,3,4,54,17,62,43,101,177,139,140]))),validateSearch:go(()=>Y({action:St(["create"]).optional()}))}),aoe=jt({getParentRoute:()=>Jn,path:"/agents/$agentId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./agent-detail-Dy29kukR.js"),__vite__mapDeps([178,84,5,85,3,4,86,87,88,1,2,89,90,7,91,92,15,64,57,58,13,34,93,40,94,61,19,9,95,37,112,8,105,47,103,48,16,59,68,14,28,70,18,167,101,141,159,115,51,11,155,66,164,137,12,25,26,42,23,55,108,62,109,110,38,10,102,123,97,173,157,104,65,32,67,177]))),validateSearch:go(()=>Y({tab:k().optional()}))}),soe=jt({getParentRoute:()=>Jn,path:"/workflows",component:Gt(()=>xt(()=>import("./workflow-CsBV4dNN.js"),__vite__mapDeps([179,5,160,114,137,7,12,13,14,25,26,40,42,68,58,23,112,8,19,15,55,105,47,65,17,100,62,43,161,73,138,120,2,50,51,129,54,3,4,18,159,115,11,90,91,141,88,1,61,75])))}),SP=jt({getParentRoute:()=>Jn,path:"/$pluginId",component:Gt(()=>xt(()=>import("./dynamic-plugin-layout-Dl6SpfCc.js"),__vite__mapDeps([180,8,1,6,2,3,4,5,9,7,115,51,11,68,58])))}),ioe=[],coe=[],wP=[];jre.forEach(e=>{if(!e.setup)return;const t={parentRoute:SP,routing:{createRoute:jt,lazyRouteComponent:Gt},registerRootSidebarItem:n=>ioe.push({pluginId:e.id,...n}),registerSidebarGroup:n=>coe.push({pluginId:e.id,...n}),registerPluginRoutes:n=>{wP.push(...n)}};e.setup(t)});const loe=SP.addChildren(wP),uoe=bP.addChildren([roe]),doe=[Gre,Zre,Kre,Wre,Yre,Qre,Xre,Jre,eoe,toe,noe,uoe,ooe,aoe,soe,loe],foe=Jn.addChildren(doe),hoe=ig.addChildren([qre,Hre,foe]),poe=Hs.addChildren([hoe,$re,Ure,zre,Bre,Vre,Fre]),moe=sL({routeTree:poe}),goe=document.getElementById("root");H5.createRoot(goe).render(x.jsx(A.StrictMode,{children:x.jsx(lL,{router:moe})}));export{DG as $,qoe as A,_d as B,yP as C,rn as D,An as E,ZV as F,lt as G,RN as H,_H as I,za as J,KC as K,Rre as L,Ui as M,Eoe as N,hd as O,aae as P,iZ as Q,yH as R,dM as S,dN as T,ID as U,cae as V,TD as W,Roe as X,rg as Y,Rm as Z,fP as _,Em as a,b$ as a$,Ioe as a0,HB as a1,Moe as a2,Poe as a3,Noe as a4,qB as a5,Doe as a6,koe as a7,CG as a8,AG as a9,GG as aA,qG as aB,gA as aC,xm as aD,jre as aE,wN as aF,aH as aG,qb as aH,hN as aI,Pk as aJ,Hb as aK,nd as aL,xk as aM,Bb as aN,Fb as aO,sH as aP,iH as aQ,Aoe as aR,Coe as aS,Ooe as aT,pd as aU,G0 as aV,Ku as aW,hD as aX,Zn as aY,Or as aZ,nD as a_,IG as aa,kG as ab,NG as ac,joe as ad,Loe as ae,Uoe as af,$oe as ag,zoe as ah,Voe as ai,Foe as aj,lD as ak,jee as al,Fee as am,Woe as an,xi as ao,cx as ap,boe as aq,_oe as ar,E4 as as,x4 as at,Soe as au,me as av,St as aw,Is as ax,yd as ay,HG as az,yl as b,xne as b$,AA as b0,We as b1,et as b2,ar as b3,cb as b4,ht as b5,GX as b6,O1 as b7,dX as b8,sX as b9,qe as bA,De as bB,at as bC,go as bD,bl as bE,Joe as bF,Xoe as bG,rr as bH,le as bI,Do as bJ,Qk as bK,Lo as bL,Jee as bM,WM as bN,ja as bO,lre as bP,xt as bQ,rae as bR,nV as bS,yoe as bT,fr as bU,hre as bV,BV as bW,dP as bX,eae as bY,ine as bZ,uP as b_,jQ as ba,$Q as bb,zQ as bc,WQ as bd,Xm as be,NM as bf,RM as bg,xM as bh,TM as bi,OM as bj,CM as bk,IM as bl,Hu as bm,vM as bn,z1 as bo,JQ as bp,eX as bq,kM as br,Qm as bs,og as bt,ut as bu,Gr as bv,zI as bw,Kn as bx,Se as by,rt as bz,vl as c,tae as c0,ioe as c1,coe as c2,PW as c3,Qee as c4,cU as c5,Toe as c6,YI as c7,Cb as c8,xoe as c9,voe as cA,$C as cB,_D as cC,wD as cD,OD as cE,ED as cF,RD as cG,AD as cH,lx as cI,CD as cJ,xD as cK,iJ as cL,pt as cM,ZM as cN,JJ as cO,gW as cP,Us as cQ,Koe as cR,nae as ca,Ma as cb,woe as cc,Qoe as cd,zV as ce,$V as cf,PV as cg,rk as ch,Ir as ci,$G as cj,dA as ck,hA as cl,nO as cm,Fq as cn,jo as co,rd as cp,Jb as cq,ll as cr,Ls as cs,Va as ct,$o as cu,tN as cv,qq as cw,Zq as cx,Hq as cy,Nq as cz,kj as d,Xc as e,Hoe as f,Boe as g,Goe as h,sae as i,x as j,oa as k,ra as l,vD as m,ZC as n,Y as o,iae as p,HV as q,A as r,k as s,mT as t,oae as u,_k as v,GV as w,uk as x,mF as y,Xk as z};
|
package/dist/client/assets/{infiniteQueryObserver-PmENlY0V.js → infiniteQueryObserver-DS9VDnBa.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ak as d,ap as f,aq as v,ar as b}from"./index-
|
|
1
|
+
import{ak as d,ap as f,aq as v,ar as b}from"./index-uOrjFt6t.js";var N=class extends d{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:f()})}getOptimisticResult(e){return e.behavior=f(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){const{state:s}=e,i=super.createResult(e,t),{isFetching:a,isRefetching:P,isError:c,isRefetchError:g}=i,r=s.fetchMeta?.fetchMore?.direction,h=c&&r==="forward",o=a&&r==="forward",n=c&&r==="backward",u=a&&r==="backward";return{...i,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:b(t,s.data),hasPreviousPage:v(t,s.data),isFetchNextPageError:h,isFetchingNextPage:o,isFetchPreviousPageError:n,isFetchingPreviousPage:u,isRefetchError:g&&!h&&!n,isRefetching:P&&!o&&!u}}};export{N as I};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as s,j as a}from"./index-
|
|
1
|
+
import{c as s,j as a}from"./index-uOrjFt6t.js";import{c as d}from"./button-D10odSSz.js";function p(l){const e=s.c(10);let i,r,t;e[0]!==l?({className:i,type:t,...r}=l,e[0]=l,e[1]=i,e[2]=r,e[3]=t):(i=e[1],r=e[2],t=e[3]);let n;e[4]!==i?(n=d("file:text-foreground text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-10 w-full min-w-0 rounded-lg border bg-transparent px-3 py-1 text-base transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] bg-background","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",i),e[4]=i,e[5]=n):n=e[5];let o;return e[6]!==r||e[7]!==n||e[8]!==t?(o=a.jsx("input",{type:t,"data-slot":"input",className:n,...r}),e[6]=r,e[7]=n,e[8]=t,e[9]=o):o=e[9],o}export{p as I};
|