decocms 4.321.5 → 4.321.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/dist/client/assets/{AlertCircle-CjhgF3vK.js → AlertCircle-CG7tfapy.js} +1 -1
  2. package/dist/client/assets/{AreaChart-B4JKGcdS.js → AreaChart-CZiIuPwc.js} +1 -1
  3. package/dist/client/assets/{ArrowLeft-DjieScGW.js → ArrowLeft-Dexv6rHk.js} +1 -1
  4. package/dist/client/assets/{ArrowUp-DOewE1qv.js → ArrowUp-CxKA4POx.js} +1 -1
  5. package/dist/client/assets/{Check-D5XzCZva.js → Check-Jn0qXgT0.js} +1 -1
  6. package/dist/client/assets/{CheckCircle-iUtdabgI.js → CheckCircle-BnpxIwzg.js} +1 -1
  7. package/dist/client/assets/{ChevronRight-BkCMOd4C.js → ChevronRight-CKftPemQ.js} +1 -1
  8. package/dist/client/assets/{ChevronSelectorVertical-C7ueTKUo.js → ChevronSelectorVertical-BPOo032l.js} +1 -1
  9. package/dist/client/assets/{ChevronUp-rYvSsRjP.js → ChevronUp-BCwuiyHj.js} +1 -1
  10. package/dist/client/assets/{Copy01-D5UYujbX.js → Copy01-jXW2eGyY.js} +1 -1
  11. package/dist/client/assets/{CreditCard01-3vvlQGFk.js → CreditCard01-Zn4AjX46.js} +1 -1
  12. package/dist/client/assets/{DotsVertical-D1_N6gFC.js → DotsVertical-C65YDOa_.js} +1 -1
  13. package/dist/client/assets/{Download01-hGLAd0mm.js → Download01-BpcIjY9x.js} +1 -1
  14. package/dist/client/assets/{ErrorBarContext-o-Fkq2Ln.js → ErrorBarContext-3KuuNxaa.js} +1 -1
  15. package/dist/client/assets/{Eye-msF77noH.js → Eye-DvBjB5D4.js} +1 -1
  16. package/dist/client/assets/{GitBranch01-CfKitZQX.js → GitBranch01-Bde_Ik_K.js} +1 -1
  17. package/dist/client/assets/{Globe01-Cmz_gJoO.js → Globe01-D2uoGclE.js} +1 -1
  18. package/dist/client/assets/{HardDrive-CdioWthT.js → HardDrive-CBqO3DS3.js} +1 -1
  19. package/dist/client/assets/{Image01-Db6iL1L-.js → Image01-0uExgWAI.js} +1 -1
  20. package/dist/client/assets/{Key01-D2vuY6hS.js → Key01-BiKWCM1S.js} +1 -1
  21. package/dist/client/assets/{Link01-BkSSEygv.js → Link01-C7a_h6ys.js} +1 -1
  22. package/dist/client/assets/{LinkExternal01-C9li9a1P.js → LinkExternal01-D_IXdPPU.js} +1 -1
  23. package/dist/client/assets/{Monitor01-BxqJ2lfk.js → Monitor01-CKYtARge.js} +1 -1
  24. package/dist/client/assets/{Package-sAm7St0O.js → Package-D0PXqO6P.js} +1 -1
  25. package/dist/client/assets/{Palette-D3vbkhAB.js → Palette-CQVEzzhe.js} +1 -1
  26. package/dist/client/assets/{Play-4YhTSJF0.js → Play-CONIoWIl.js} +1 -1
  27. package/dist/client/assets/{Plus-BKIxzM6s.js → Plus-D7VA57q5.js} +1 -1
  28. package/dist/client/assets/{SearchMd-DjN-DKoK.js → SearchMd-C1loDEwy.js} +1 -1
  29. package/dist/client/assets/{Sector-BLtiNIir.js → Sector-DWJi3JDL.js} +1 -1
  30. package/dist/client/assets/{Settings02-CniOGh2R.js → Settings02-DfFNQquZ.js} +1 -1
  31. package/dist/client/assets/{Share07-BJIuab_2.js → Share07-8oXDBqwk.js} +1 -1
  32. package/dist/client/assets/{Shield01-Bi6Wt_Bu.js → Shield01-CrPC_5gY.js} +1 -1
  33. package/dist/client/assets/{Stars01-DF4f96O4.js → Stars01-BTmtR5If.js} +1 -1
  34. package/dist/client/assets/{Sun-Ccd3Vvd3.js → Sun-N_eYVUUU.js} +1 -1
  35. package/dist/client/assets/{Tool01-BuNvOC1h.js → Tool01-CtOHcy0Y.js} +1 -1
  36. package/dist/client/assets/{Tool02-DpNDBEil.js → Tool02-DHxIusmd.js} +1 -1
  37. package/dist/client/assets/{Trash01-DXHCqEe6.js → Trash01-CHla-FrA.js} +1 -1
  38. package/dist/client/assets/{TrendUp01-DaIUMzmz.js → TrendUp01-BctNF4vg.js} +1 -1
  39. package/dist/client/assets/{Upload01-CPO6AwG4.js → Upload01-VP9EBYtl.js} +1 -1
  40. package/dist/client/assets/{User01-mzLrMAfi.js → User01-8XeMepHg.js} +1 -1
  41. package/dist/client/assets/{UserSquare-vGUnOUu5.js → UserSquare-BEv1iIj5.js} +1 -1
  42. package/dist/client/assets/{Users01-Dtk1qxXT.js → Users01-CvPFHBcf.js} +1 -1
  43. package/dist/client/assets/{Users03-B7DS8i2Z.js → Users03-cesUeOsp.js} +1 -1
  44. package/dist/client/assets/{XCircle-D0IscWfB.js → XCircle-DZJkY1-f.js} +1 -1
  45. package/dist/client/assets/{XClose-Bw26wZe2.js → XClose-mJWP0IZB.js} +1 -1
  46. package/dist/client/assets/{Zap-BxV_wNn9.js → Zap-JQtzyV8B.js} +1 -1
  47. package/dist/client/assets/{ZoomOut-CXTlcyBa.js → ZoomOut-D8t79aO2.js} +1 -1
  48. package/dist/client/assets/{access-gate-VXc3n5Tl.js → access-gate-DhjnuxYh.js} +1 -1
  49. package/dist/client/assets/{agent-icon-BQA3BxVU.js → agent-icon-Dsw04fQF.js} +1 -1
  50. package/dist/client/assets/{agents-list-DAAaYRTV.js → agents-list-BazgXeqr.js} +1 -1
  51. package/dist/client/assets/{ai-providers-BK3I1K8S.js → ai-providers-C59crxe5.js} +1 -1
  52. package/dist/client/assets/{alert-COnOFEuN.js → alert-CctLdkUH.js} +1 -1
  53. package/dist/client/assets/{alert-dialog-C2u5xYM5.js → alert-dialog-BU3enZKF.js} +1 -1
  54. package/dist/client/assets/{analytics-tab-BF3qnd05.js → analytics-tab-BAIQskOJ.js} +1 -1
  55. package/dist/client/assets/api-keys-8w-9P3dp.js +1 -0
  56. package/dist/client/assets/{api-keys-k31q4uJT.js → api-keys-CwZoIgmV.js} +1 -1
  57. package/dist/client/assets/{app-editor-CBQYggH6.js → app-editor-Bvzl_qDB.js} +1 -1
  58. package/dist/client/assets/{auth-cfubGdj3.js → auth-Ctf1zdSk.js} +1 -1
  59. package/dist/client/assets/{auth-catchall-CXsAwLpp.js → auth-catchall-DfbKNMqE.js} +1 -1
  60. package/dist/client/assets/{auth-entry-Cp-9Vl-Z.js → auth-entry-BsXiAQoR.js} +1 -1
  61. package/dist/client/assets/{auth-split-layout-CVD6XG6e.js → auth-split-layout-BwXlZwBP.js} +1 -1
  62. package/dist/client/assets/{authenticate-and-persist-oauth-BwmApcxP.js → authenticate-and-persist-oauth-UjkEE9k3.js} +1 -1
  63. package/dist/client/assets/{automation-list-row-tSPFX-ed.js → automation-list-row-CakAIrvQ.js} +1 -1
  64. package/dist/client/assets/{automation-runs-DQXBuaQh.js → automation-runs-BP4svOKv.js} +1 -1
  65. package/dist/client/assets/{automations-DZtzLDko.js → automations-47G1qGwp.js} +1 -1
  66. package/dist/client/assets/{avatar-65M-tykE.js → avatar-ayySA21l.js} +1 -1
  67. package/dist/client/assets/{badge-BlkJw9ZT.js → badge-BJg3YTbr.js} +1 -1
  68. package/dist/client/assets/{block-document-D7S4AfrT.js → block-document-DOFjntDc.js} +1 -1
  69. package/dist/client/assets/{breadcrumb-1tRgR6ke.js → breadcrumb-B5Tcv0Uh.js} +1 -1
  70. package/dist/client/assets/{buckets-DQgYHPnt.js → buckets-DCKwVcGS.js} +1 -1
  71. package/dist/client/assets/{bulk-category-panel-BAYz2_C9.js → bulk-category-panel-BWY_YPZV.js} +1 -1
  72. package/dist/client/assets/{capability-load-error-DiWeeuLw.js → capability-load-error-BERy8yZe.js} +1 -1
  73. package/dist/client/assets/{cards-BQ5m1ZaL.js → cards-D9Ttj2cE.js} +1 -1
  74. package/dist/client/assets/{category-editor-Dp4gJGUo.js → category-editor-BPZKWEN1.js} +1 -1
  75. package/dist/client/assets/{cdn-tab-DSB7ZS0h.js → cdn-tab-BU_7vQmo.js} +1 -1
  76. package/dist/client/assets/{chart-BSRtxUXr.js → chart-DxN2Cs4Z.js} +1 -1
  77. package/dist/client/assets/{chat-context-DKWUJJQk.js → chat-context-ffF_r7RU.js} +1 -1
  78. package/dist/client/assets/{checkbox-C6unHBB5.js → checkbox-DmweFMZg.js} +1 -1
  79. package/dist/client/assets/{choose-editor-MOqcOH7b.js → choose-editor-ChPKiRJQ.js} +1 -1
  80. package/dist/client/assets/{cli-auth-success-CqFfKIh9.js → cli-auth-success-3b6OvqFq.js} +1 -1
  81. package/dist/client/assets/{client-icons-DzX9Vbzz.js → client-icons-DX-H77xu.js} +1 -1
  82. package/dist/client/assets/{collection-detail-C31CzNrH.js → collection-detail-CDYBCwYK.js} +1 -1
  83. package/dist/client/assets/{collection-display-button-4eZzlNhD.js → collection-display-button-COCZggWW.js} +1 -1
  84. package/dist/client/assets/{collection-search-7lVLJWOB.js → collection-search-DUFT-3aZ.js} +1 -1
  85. package/dist/client/assets/{collection-table-wrapper-BrisTU0i.js → collection-table-wrapper-CSMTQGj2.js} +1 -1
  86. package/dist/client/assets/{collection-tabs-D9skai09.js → collection-tabs-aHnkLK94.js} +1 -1
  87. package/dist/client/assets/{command-CiqpOqS9.js → command-CEQjEkRa.js} +1 -1
  88. package/dist/client/assets/{commerce-onboarding-DMDBByMY.js → commerce-onboarding-BVWKpNBX.js} +1 -1
  89. package/dist/client/assets/{connect-BzlWBjZm.js → connect-C6lph8Iz.js} +1 -1
  90. package/dist/client/assets/{connect-layout-BjHZtb1k.js → connect-layout-CS-AhNLB.js} +1 -1
  91. package/dist/client/assets/{connection-card-CExTxSsL.js → connection-card-Bwgx5OMm.js} +1 -1
  92. package/dist/client/assets/{connection-detail-DatPU092.js → connection-detail-DCF5hqwD.js} +1 -1
  93. package/dist/client/assets/{connection-form-helpers-CuPBBiAF.js → connection-form-helpers-Cs1EiOkG.js} +1 -1
  94. package/dist/client/assets/{connection-LSXDLhvc.js → connection-qt8m11-c.js} +1 -1
  95. package/dist/client/assets/{connections-Bg6qG3Ax.js → connections-C_jYcs4m.js} +1 -1
  96. package/dist/client/assets/{create-organization-dialog-Bn2HCOk4.js → create-organization-dialog--WflCODd.js} +1 -1
  97. package/dist/client/assets/{decopilot-sse-pool-CZGi6xG2.js → decopilot-sse-pool-Cp5pr9Ve.js} +1 -1
  98. package/dist/client/assets/{dialog-B49rrPcE.js → dialog-DDd8wUS7.js} +1 -1
  99. package/dist/client/assets/{domain-settings-CVN9LhLH.js → domain-settings-b-Gf934e.js} +1 -1
  100. package/dist/client/assets/{drawer-CXWN5aFX.js → drawer-CxFI5tCn.js} +1 -1
  101. package/dist/client/assets/{dropdown-menu-DIF5PQaU.js → dropdown-menu-C3Gdadki.js} +1 -1
  102. package/dist/client/assets/{e2e-tab-ChQwMMQw.js → e2e-tab-9O9jlog6.js} +1 -1
  103. package/dist/client/assets/{editor-BCbV0AET.js → editor-B0M9C5II.js} +1 -1
  104. package/dist/client/assets/{empty-state-BW8HBeBv.js → empty-state-Cs8gUH2e.js} +1 -1
  105. package/dist/client/assets/{empty-state-BJDGKBD3.js → empty-state-L8hCXC--.js} +1 -1
  106. package/dist/client/assets/{extract-connection-data-CkOzL4EZ.js → extract-connection-data-C2Ocp5Tk.js} +1 -1
  107. package/dist/client/assets/{file-explorer-DrjG_dkv.js → file-explorer-DTbMKDAB.js} +1 -1
  108. package/dist/client/assets/{file-type-icon-DOGxWp7T.js → file-type-icon-C5mq72Tm.js} +1 -1
  109. package/dist/client/assets/{folder-icon-CrwX1TKL.js → folder-icon-Dt2zI1nQ.js} +1 -1
  110. package/dist/client/assets/{form-DW1iRzK_.js → form-DR4f8DO7.js} +1 -1
  111. package/dist/client/assets/{general-DO74QmpP.js → general-uVPlw24q.js} +1 -1
  112. package/dist/client/assets/{github-repo-picker-DBMeVgPY.js → github-repo-picker-Dyu49H5P.js} +1 -1
  113. package/dist/client/assets/{hooks-BduZvxu6.js → hooks-J2gbnuVW.js} +1 -1
  114. package/dist/client/assets/{hosting-tab-BwMW6-cj.js → hosting-tab-StoCQBLo.js} +1 -1
  115. package/dist/client/assets/{index-fhNPvwoK.js → index--9Kt6-Xb.js} +1 -1
  116. package/dist/client/assets/{index-CZ1vtr8q.js → index-B7iA3R9e.js} +1 -1
  117. package/dist/client/assets/{index-Ds9_YQQm.js → index-CAw6g9tV.js} +2 -2
  118. package/dist/client/assets/{index-BSFs19PU.js → index-CP6R9dTL.js} +1 -1
  119. package/dist/client/assets/{index-CeMxrEOa.js → index-DH6qLcGa.js} +6 -6
  120. package/dist/client/assets/{index-Czq-ZgYT.js → index-DNghV_Kw.js} +1 -1
  121. package/dist/client/assets/{index-Dq833TiR.js → index-DU91evk-.js} +1 -1
  122. package/dist/client/assets/{index-BWAN2gi-.js → index-DaThHROC.js} +1 -1
  123. package/dist/client/assets/{index-CplzrnNp.js → index-DahqZ1Pw.js} +1 -1
  124. package/dist/client/assets/{index-BOvZXmG5.js → index-hsED2j2G.js} +1 -1
  125. package/dist/client/assets/{index-redirect-CPrLxGcH.js → index-redirect-1FO2ZwBa.js} +1 -1
  126. package/dist/client/assets/{infra-billing-kpC_vP6b.js → infra-billing-HsGxVjhH.js} +1 -1
  127. package/dist/client/assets/{input-CBtN_PPx.js → input-CRq9rZYf.js} +1 -1
  128. package/dist/client/assets/{integration-icon-Dxw_FbSX.js → integration-icon-gY5UnY38.js} +1 -1
  129. package/dist/client/assets/{invite-member-dialog-Cu3x-0JT.js → invite-member-dialog-RPIPoLmq.js} +1 -1
  130. package/dist/client/assets/{label-B8I1KhDR.js → label-ByckMHtZ.js} +1 -1
  131. package/dist/client/assets/{layout-BhRI7lH-.js → layout-C0m5fUEQ.js} +1 -1
  132. package/dist/client/assets/{login-CwG5hnUr.js → login-nfCx3aQb.js} +1 -1
  133. package/dist/client/assets/{markdown-Bj8bPaFr.js → markdown-C1VdpJ5j.js} +1 -1
  134. package/dist/client/assets/{mcp-oauth-CL6Q-kht.js → mcp-oauth-DwPFIejs.js} +1 -1
  135. package/dist/client/assets/{members-CERkIR2N.js → members-BA8vVu_F.js} +1 -1
  136. package/dist/client/assets/{monaco-editor-B806dXX7.js → monaco-editor-DhRI2q0D.js} +1 -1
  137. package/dist/client/assets/{monitoring-stats-row-C2A8X1H1.js → monitoring-stats-row-DLrfuurv.js} +1 -1
  138. package/dist/client/assets/{multi-select-BP8V6T_m.js → multi-select-BFhmckl1.js} +1 -1
  139. package/dist/client/assets/{oauth-callback-B3e62S4Z.js → oauth-callback-CWLRFYZ2.js} +1 -1
  140. package/dist/client/assets/{oauth-callback-ai-provider-BeU5aWSG.js → oauth-callback-ai-provider-RePfP1QM.js} +1 -1
  141. package/dist/client/assets/{onboarding-Ct4A_Jz9.js → onboarding-BneVgO60.js} +1 -1
  142. package/dist/client/assets/org-layout-CpgEGfxv.js +1 -0
  143. package/dist/client/assets/{organization-choice-CLLN-ACi.js → organization-choice-BqV4sYyS.js} +1 -1
  144. package/dist/client/assets/{orgs-CQQFJ08X.js → orgs-DEjfIaJ0.js} +1 -1
  145. package/dist/client/assets/{page-seo-form-71yQnW9g.js → page-seo-form-D-Eqo-mJ.js} +1 -1
  146. package/dist/client/assets/{popover-BKkJ1_Xg.js → popover-BIPtCsqc.js} +1 -1
  147. package/dist/client/assets/{post-calendar-ClavelB2.js → post-calendar-Chm7CCue.js} +1 -1
  148. package/dist/client/assets/{post-editor-Ds6d5h9N.js → post-editor-vBEo0v-g.js} +1 -1
  149. package/dist/client/assets/{primitives-CtpDwLvA.js → primitives-CmYrjVpf.js} +1 -1
  150. package/dist/client/assets/{profile-DO4qkKsK.js → profile-Ce2FGBxd.js} +1 -1
  151. package/dist/client/assets/{project-app-view-Cpin65jK.js → project-app-view-lSJv2DSd.js} +1 -1
  152. package/dist/client/assets/{prompts-nePHaw8G.js → prompts-Dt2G3dg0.js} +1 -1
  153. package/dist/client/assets/record-editor-BC2iQPGE.js +1 -0
  154. package/dist/client/assets/redirect-editor-C7uuK_jN.js +1 -0
  155. package/dist/client/assets/registry-DwUHQ8Lv.js +2 -0
  156. package/dist/client/assets/{registry-layout-lsA6ndEN.js → registry-layout-D1fFgR3o.js} +1 -1
  157. package/dist/client/assets/{reports-z8c0XEWP.js → reports-DILtNiYy.js} +1 -1
  158. package/dist/client/assets/{require-capability-CXqHSbCc.js → require-capability-DMuYJppW.js} +1 -1
  159. package/dist/client/assets/{required-auth-layout-BIgCtLKM.js → required-auth-layout-632Nlbdk.js} +1 -1
  160. package/dist/client/assets/{reset-password-DpPr5niQ.js → reset-password-Dt0s206r.js} +1 -1
  161. package/dist/client/assets/{review-settings-Cp01VqYx.js → review-settings-BSEiFN9m.js} +1 -1
  162. package/dist/client/assets/{roles-BApIuR8C.js → roles-Ca_cW6OU.js} +1 -1
  163. package/dist/client/assets/{schema-CSzKWh-e.js → schema-BoK0jTZh.js} +1 -1
  164. package/dist/client/assets/{scroll-area-BSFqWPow.js → scroll-area-BI805ul_.js} +1 -1
  165. package/dist/client/assets/{search-input-CfcUKbcR.js → search-input-CFyqYOfd.js} +1 -1
  166. package/dist/client/assets/{secrets-BtAWzVgG.js → secrets-hJRzyq6I.js} +1 -1
  167. package/dist/client/assets/{sections-editor-CkyqVakM.js → sections-editor-CVFGArcx.js} +1 -1
  168. package/dist/client/assets/{select-YGToc2er.js → select-Bnv10Fl8.js} +1 -1
  169. package/dist/client/assets/{select-model-Gm2aIKeG.js → select-model-NQ0mnVuK.js} +1 -1
  170. package/dist/client/assets/{self-tool-result-D1fWp3qG.js → self-tool-result-Dc4tPK9T.js} +1 -1
  171. package/dist/client/assets/{seo-editor-BbrItmvh.js → seo-editor-DlfpOYSl.js} +1 -1
  172. package/dist/client/assets/settings-layout-CypSCfpP.js +1 -0
  173. package/dist/client/assets/{settings-sidebar-CEa69wW9.js → settings-sidebar-BGOdVjou.js} +1 -1
  174. package/dist/client/assets/{shell-controls-Cpk05Xlw.js → shell-controls-B8r3Mj0T.js} +1 -1
  175. package/dist/client/assets/{shell-layout-BStzIFKM.js → shell-layout-X5sLDjab.js} +1 -1
  176. package/dist/client/assets/{skill-preview-BgXO28GZ.js → skill-preview-DL4gp0ne.js} +1 -1
  177. package/dist/client/assets/{skills-Bnft56YJ.js → skills-BLjeFnB6.js} +1 -1
  178. package/dist/client/assets/{sso-Cfv5bRYB.js → sso-DmCj3IPC.js} +1 -1
  179. package/dist/client/assets/{store-6e8Le4X5.js → store-h_GKYo0A.js} +1 -1
  180. package/dist/client/assets/store-registry-Cre8_0ZD.js +2 -0
  181. package/dist/client/assets/{switch-DXic8Uh_.js → switch-DlPMc1e_.js} +1 -1
  182. package/dist/client/assets/{synced-repos-BX3OCOkU.js → synced-repos-BhYGq1he.js} +1 -1
  183. package/dist/client/assets/{table-BCojuEdb.js → table-D_mk2-gB.js} +1 -1
  184. package/dist/client/assets/{tabs-CgB53moJ.js → tabs-xquvO62b.js} +1 -1
  185. package/dist/client/assets/{task-board-BILXt1or.js → task-board-DHq8t-_N.js} +1 -1
  186. package/dist/client/assets/{task-route-DDbV2QN2.js → task-route-DWU-0q6w.js} +1 -1
  187. package/dist/client/assets/{tasks-CsYew1RZ.js → tasks-68OUM7rF.js} +1 -1
  188. package/dist/client/assets/{textarea-BZQ-H9le.js → textarea-BClvRA4H.js} +1 -1
  189. package/dist/client/assets/{thread-intent-VOG1y4W9.js → thread-intent-C3PV-LRn.js} +1 -1
  190. package/dist/client/assets/{thread-route-CYj4FJe7.js → thread-route-CxY5TjeM.js} +1 -1
  191. package/dist/client/assets/{toggle-group-B4zTvBSA.js → toggle-group-d_5STaVP.js} +1 -1
  192. package/dist/client/assets/{toolbar-CG1eQp71.js → toolbar-D-SXcT0t.js} +1 -1
  193. package/dist/client/assets/{toolbar-icon-button-BI33A1DT.js → toolbar-icon-button-DSBvSnFI.js} +1 -1
  194. package/dist/client/assets/{track-B9IGnryN.js → track-Cc1S4yMy.js} +1 -1
  195. package/dist/client/assets/{types-D8EuE9Mj.js → types-B2KcVByH.js} +1 -1
  196. package/dist/client/assets/{use-ai-providers-BtViIKA8.js → use-ai-providers-CiO6eVCB.js} +1 -1
  197. package/dist/client/assets/{use-automations-Dd66jMcH.js → use-automations-VoPscQxA.js} +1 -1
  198. package/dist/client/assets/{use-autosave-BnjvVAx3.js → use-autosave-D-iSKxnB.js} +1 -1
  199. package/dist/client/assets/{use-connection-D-P-oJeL.js → use-connection-GI8Focwr.js} +1 -1
  200. package/dist/client/assets/{use-copy-D7YVH85a.js → use-copy-C0nulXNR.js} +1 -1
  201. package/dist/client/assets/{use-create-virtual-mcp-BqJwGUXr.js → use-create-virtual-mcp-D-L0PRaI.js} +1 -1
  202. package/dist/client/assets/{use-debounced-autosave-dNIsOT-E.js → use-debounced-autosave-DJCeP_ec.js} +1 -1
  203. package/dist/client/assets/{use-debounced-value-CQvHGF7W.js → use-debounced-value-CozflcUh.js} +1 -1
  204. package/dist/client/assets/{use-decopilot-events-DDJx3VDP.js → use-decopilot-events-Bs4lGo6F.js} +1 -1
  205. package/dist/client/assets/{use-delete-connection-DyDPErD6.js → use-delete-connection-T3Xjf9fU.js} +1 -1
  206. package/dist/client/assets/{use-deployment-admin-DTead3D9.js → use-deployment-admin-R-YLZcXi.js} +1 -1
  207. package/dist/client/assets/{use-destination-route-DzHgzZDH.js → use-destination-route-C5lOfatk.js} +1 -1
  208. package/dist/client/assets/{use-file-configs-Etx2upQ_.js → use-file-configs-CjjmtK39.js} +1 -1
  209. package/dist/client/assets/{use-infinite-scroll-CpGR8CTM.js → use-infinite-scroll-DHeLsiAD.js} +1 -1
  210. package/dist/client/assets/{use-join-requests-B74l_G0c.js → use-join-requests-DP9WJAb0.js} +1 -1
  211. package/dist/client/assets/{use-mcp-auth-status-B1LLuxQZ.js → use-mcp-auth-status-Dj0-A5Wa.js} +1 -1
  212. package/dist/client/assets/{use-mcp-client-BzmGxRuq.js → use-mcp-client-BJohqqSd.js} +1 -1
  213. package/dist/client/assets/{use-mcp-prompts-B9ZjCxIV.js → use-mcp-prompts-DW-tAvJg.js} +1 -1
  214. package/dist/client/assets/{use-mcp-tools-BElJHPUX.js → use-mcp-tools-vt3UNphZ.js} +1 -1
  215. package/dist/client/assets/{use-members-DZQLsJGr.js → use-members-C7ip6O59.js} +1 -1
  216. package/dist/client/assets/{use-navigate-to-agent-LzLdBs0e.js → use-navigate-to-agent-wxTo_2Wv.js} +1 -1
  217. package/dist/client/assets/{use-org-auth-client-Cp3G9WC1.js → use-org-auth-client-DVDqxM9c.js} +1 -1
  218. package/dist/client/assets/{use-org-sso-CWXniPVe.js → use-org-sso-3md051eT.js} +1 -1
  219. package/dist/client/assets/{use-organization-roles-D-A39N_h.js → use-organization-roles-C7--at-2.js} +1 -1
  220. package/dist/client/assets/{use-organization-settings-CpiPY2sA.js → use-organization-settings-Dh58cpUx.js} +1 -1
  221. package/dist/client/assets/{use-panel-navigate-Dev670TY.js → use-panel-navigate-9qdFpFC-.js} +1 -1
  222. package/dist/client/assets/{use-project-scope-BAnUVA3r.js → use-project-scope-NvD131m4.js} +1 -1
  223. package/dist/client/assets/{use-registry-connections-RuRoPZjO.js → use-registry-connections-DtpIh4N8.js} +1 -1
  224. package/dist/client/assets/{use-secrets-BZQygYLJ.js → use-secrets-N0I1WQgn.js} +1 -1
  225. package/dist/client/assets/{use-section-preview-base-Dbp7FR8A.js → use-section-preview-base-DWl2Cfr4.js} +1 -1
  226. package/dist/client/assets/{use-status-sounds-a-r3lT4g.js → use-status-sounds-BpKA8nWD.js} +1 -1
  227. package/dist/client/assets/{use-tags-CziB3qDr.js → use-tags-EBwNPMg8.js} +1 -1
  228. package/dist/client/assets/{use-view-mode-B2sjpoVQ.js → use-view-mode-CGTPphEX.js} +1 -1
  229. package/dist/client/assets/{use-virtual-mcp-C2SUHuV8.js → use-virtual-mcp-B2TPjUHz.js} +1 -1
  230. package/dist/client/assets/useInfiniteQuery-Nq5i14p1.js +1 -0
  231. package/dist/client/assets/useSuspenseInfiniteQuery-ByY64uZl.js +1 -0
  232. package/dist/client/assets/{users-BtGMynxT.js → users-BPvwZmZl.js} +1 -1
  233. package/dist/client/assets/{variant-calendar-B5DPyQ2J.js → variant-calendar-CodpU1lu.js} +1 -1
  234. package/dist/client/assets/{view-mode-toggle-D5oruA9V.js → view-mode-toggle-Ct7J-xLH.js} +1 -1
  235. package/dist/client/index.html +1 -1
  236. package/dist/server/cli.js +450 -450
  237. package/dist/server/server.js +312 -312
  238. package/package.json +1 -1
  239. package/dist/client/assets/api-keys-BSfQHEUl.js +0 -1
  240. package/dist/client/assets/org-layout-DKVs--x0.js +0 -1
  241. package/dist/client/assets/record-editor-B8zpMto0.js +0 -1
  242. package/dist/client/assets/redirect-editor-Q_hMRPu2.js +0 -1
  243. package/dist/client/assets/registry-Bid5M6jp.js +0 -2
  244. package/dist/client/assets/settings-layout-C1fOKdd9.js +0 -1
  245. package/dist/client/assets/store-registry-T8JvcFLm.js +0 -2
  246. package/dist/client/assets/useInfiniteQuery-n7OKFVHh.js +0 -1
  247. package/dist/client/assets/useSuspenseInfiniteQuery-BpKA0laV.js +0 -1
@@ -1 +1 @@
1
- import{c as N,f as E,u as x,eN as O,d as R,y as k,eO as A}from"./index-Ds9_YQQm.js";import{u as L,D as o}from"./use-destination-route-DzHgzZDH.js";const F={board:o.tasks,files:o.library,reports:o.reports,overview:o.home,discover:o.discover};function w(){const e=N.c(5);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={strict:!1},e[0]=t):t=e[0];const a=E(t);let c;e[1]===Symbol.for("react.memo_cache_sentinel")?(c={strict:!1},e[1]=c):c=e[1];const s=x(c);let r;return e[2]!==a.panel||e[3]!==s?(r=O(a.panel,s),e[2]=a.panel,e[3]=s,e[4]=r):r=e[4],r}function B(){const e=N.c(15),t=R();let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a={strict:!1},e[0]=a):a=e[0];const c=E(a);let s;e[1]===Symbol.for("react.memo_cache_sentinel")?(s={strict:!1},e[1]=s):s=e[1];const r=x(s).virtualmcpid,i=c.org??"",b=L()===o.agents,d=c.taskId;let h;e[2]!==d?(h=(m,f,n)=>u=>{const l=f?{...u}:{thread:u.thread,sidepanel:u.sidepanel};return d&&(l.thread=d),{...n?.search?n.search(l):l,...m,mainpanel:void 0}},e[2]=d,e[3]=h):h=e[3];const y=h;let g;e[4]!==r||e[5]!==t||e[6]!==y||e[7]!==b||e[8]!==i?(g=(m,f)=>{const{panel:n,payload:u}=k(m),l=f?.replace??!0,T=!!n&&A(n),I=y(u,b&&!T,f);if(n&&T){const p=F[n];if(p===o.tasks){t({to:p,params:{org:i,taskKey:void 0},search:I,replace:l});return}t({to:p,params:{org:i},search:I,replace:l});return}const D=f?.virtualmcpid??r;t({to:o.agents,params:{org:i,panel:n},search:p=>({...I(p),virtualmcpid:D}),replace:l})},e[4]=r,e[5]=t,e[6]=y,e[7]=b,e[8]=i,e[9]=g):g=e[9];const P=g;let _;e[10]!==t?(_=m=>t({to:".",search:U,replace:m?.replace??!0}),e[10]=t,e[11]=_):_=e[11];const S=_;let v;return e[12]!==S||e[13]!==P?(v={openPanel:P,closePanel:S},e[12]=S,e[13]=P,e[14]=v):v=e[14],v}function U(e){return{...e,mainpanel:!1}}export{B as a,w as u};
1
+ import{c as N,f as E,u as x,eN as O,d as R,y as k,eO as A}from"./index-CAw6g9tV.js";import{u as L,D as o}from"./use-destination-route-C5lOfatk.js";const F={board:o.tasks,files:o.library,reports:o.reports,overview:o.home,discover:o.discover};function w(){const e=N.c(5);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={strict:!1},e[0]=t):t=e[0];const a=E(t);let c;e[1]===Symbol.for("react.memo_cache_sentinel")?(c={strict:!1},e[1]=c):c=e[1];const s=x(c);let r;return e[2]!==a.panel||e[3]!==s?(r=O(a.panel,s),e[2]=a.panel,e[3]=s,e[4]=r):r=e[4],r}function B(){const e=N.c(15),t=R();let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a={strict:!1},e[0]=a):a=e[0];const c=E(a);let s;e[1]===Symbol.for("react.memo_cache_sentinel")?(s={strict:!1},e[1]=s):s=e[1];const r=x(s).virtualmcpid,i=c.org??"",b=L()===o.agents,d=c.taskId;let h;e[2]!==d?(h=(m,f,n)=>u=>{const l=f?{...u}:{thread:u.thread,sidepanel:u.sidepanel};return d&&(l.thread=d),{...n?.search?n.search(l):l,...m,mainpanel:void 0}},e[2]=d,e[3]=h):h=e[3];const y=h;let g;e[4]!==r||e[5]!==t||e[6]!==y||e[7]!==b||e[8]!==i?(g=(m,f)=>{const{panel:n,payload:u}=k(m),l=f?.replace??!0,T=!!n&&A(n),I=y(u,b&&!T,f);if(n&&T){const p=F[n];if(p===o.tasks){t({to:p,params:{org:i,taskKey:void 0},search:I,replace:l});return}t({to:p,params:{org:i},search:I,replace:l});return}const D=f?.virtualmcpid??r;t({to:o.agents,params:{org:i,panel:n},search:p=>({...I(p),virtualmcpid:D}),replace:l})},e[4]=r,e[5]=t,e[6]=y,e[7]=b,e[8]=i,e[9]=g):g=e[9];const P=g;let _;e[10]!==t?(_=m=>t({to:".",search:U,replace:m?.replace??!0}),e[10]=t,e[11]=_):_=e[11];const S=_;let v;return e[12]!==S||e[13]!==P?(v={openPanel:P,closePanel:S},e[12]=S,e[13]=P,e[14]=v):v=e[14],v}function U(e){return{...e,mainpanel:!1}}export{B as a,w as u};
@@ -1 +1 @@
1
- import{c as g,u as b,d as I}from"./index-Ds9_YQQm.js";import{i as S,e as A}from"./constants-DNuUCxmW.js";import{e as P,f as j}from"./use-virtual-mcp-C2SUHuV8.js";import{r as p}from"./github-repo-BpKUwJal.js";const R={switcher:"tour-layout-switcher",nav:"tour-layout-nav",tasks:"tour-layout-tasks",projects:"tour-layout-projects",account:"tour-layout-account",recentActivity:"tour-layout-recent-activity",siteEditor:"tour-layout-site-editor",surfaceTabs:"tour-layout-surface-tabs",branchPicker:"tour-layout-branch-picker",automations:"tour-layout-automations",settings:"tour-layout-settings"};function $(t){return`[data-tour="${R[t]}"]`}function E(t){if(typeof t!="object"||t===null)return!1;const o=t.githubRepo?.url;return typeof o=="string"&&o.length>0}function D(t){return p(t).status==="attached"}function G(t){const e=p(t).status;return e==="attached"||e==="detached"}function k(t){const e=new Set;for(const o of t??[]){const n=o.metadata?.liveAgentId;typeof n=="string"&&n&&e.add(o.id)}return e}function M(t,e){if(!t)return null;const o=t.metadata?.liveAgentId;if(typeof o=="string"&&o)return{mode:"dev",targetId:o};const n=(e??[]).find(s=>s.metadata?.liveAgentId===t.id);return n?{mode:"live",targetId:n.id}:null}const C=1;function h(t){const e=t??[],o=k(e);return e.filter(n=>!o.has(n.id)&&!S(n.id)&&!A(n.id))}function _(t){const e=p(t);return e.status==="none"?null:`${e.repo.owner}/${e.repo.name}`}function T(){const t=g.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e={strict:!1},t[0]=e):e=t[0],b(e).virtualmcpid??null}function x(){const t=g.c(12),e=I(),o=P(),n=h(o),s=T(),v=n.find(r=>r.id===s)??null;let a;t[0]!==o||t[1]!==s?(a=s&&o.length>0&&!o.some(r=>r.id===s)?s:null,t[0]=o,t[1]=s,t[2]=a):a=t[2];const m=j(a),c=v??h(m?[m]:[])[0]??null;let u;t[3]!==e?(u=r=>e({to:".",search:y=>({...y,virtualmcpid:r??void 0})}),t[3]=e,t[4]=u):u=t[4];const l=u,d=_(c),f=n.length>=C;let i;return t[5]!==c||t[6]!==n||t[7]!==s||t[8]!==l||t[9]!==d||t[10]!==f?(i={scopeId:s,project:c,repo:d,projects:n,hasProjects:f,setScope:l},t[5]=c,t[6]=n,t[7]=s,t[8]=l,t[9]=d,t[10]=f,t[11]=i):i=t[11],i}export{R as L,T as a,E as b,D as c,G as d,M as f,k as g,$ as l,_ as p,h as s,x as u};
1
+ import{c as g,u as b,d as I}from"./index-CAw6g9tV.js";import{i as S,e as A}from"./constants-DNuUCxmW.js";import{e as P,f as j}from"./use-virtual-mcp-B2TPjUHz.js";import{r as p}from"./github-repo-BpKUwJal.js";const R={switcher:"tour-layout-switcher",nav:"tour-layout-nav",tasks:"tour-layout-tasks",projects:"tour-layout-projects",account:"tour-layout-account",recentActivity:"tour-layout-recent-activity",siteEditor:"tour-layout-site-editor",surfaceTabs:"tour-layout-surface-tabs",branchPicker:"tour-layout-branch-picker",automations:"tour-layout-automations",settings:"tour-layout-settings"};function $(t){return`[data-tour="${R[t]}"]`}function E(t){if(typeof t!="object"||t===null)return!1;const o=t.githubRepo?.url;return typeof o=="string"&&o.length>0}function D(t){return p(t).status==="attached"}function G(t){const e=p(t).status;return e==="attached"||e==="detached"}function k(t){const e=new Set;for(const o of t??[]){const n=o.metadata?.liveAgentId;typeof n=="string"&&n&&e.add(o.id)}return e}function M(t,e){if(!t)return null;const o=t.metadata?.liveAgentId;if(typeof o=="string"&&o)return{mode:"dev",targetId:o};const n=(e??[]).find(s=>s.metadata?.liveAgentId===t.id);return n?{mode:"live",targetId:n.id}:null}const C=1;function h(t){const e=t??[],o=k(e);return e.filter(n=>!o.has(n.id)&&!S(n.id)&&!A(n.id))}function _(t){const e=p(t);return e.status==="none"?null:`${e.repo.owner}/${e.repo.name}`}function T(){const t=g.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e={strict:!1},t[0]=e):e=t[0],b(e).virtualmcpid??null}function x(){const t=g.c(12),e=I(),o=P(),n=h(o),s=T(),v=n.find(r=>r.id===s)??null;let a;t[0]!==o||t[1]!==s?(a=s&&o.length>0&&!o.some(r=>r.id===s)?s:null,t[0]=o,t[1]=s,t[2]=a):a=t[2];const m=j(a),c=v??h(m?[m]:[])[0]??null;let u;t[3]!==e?(u=r=>e({to:".",search:y=>({...y,virtualmcpid:r??void 0})}),t[3]=e,t[4]=u):u=t[4];const l=u,d=_(c),f=n.length>=C;let i;return t[5]!==c||t[6]!==n||t[7]!==s||t[8]!==l||t[9]!==d||t[10]!==f?(i={scopeId:s,project:c,repo:d,projects:n,hasProjects:f,setScope:l},t[5]=c,t[6]=n,t[7]=s,t[8]=l,t[9]=d,t[10]=f,t[11]=i):i=t[11],i}export{R as L,T as a,E as b,D as c,G as d,M as f,k as g,$ as l,_ as p,h as s,x as u};
@@ -1 +1 @@
1
- import{c as C,W as R}from"./index-Ds9_YQQm.js";import{u as p}from"./use-connection-D-P-oJeL.js";import{W as a}from"./constants-DNuUCxmW.js";import{h as y}from"./use-organization-settings-CpiPY2sA.js";function M(){const e=C.c(19),{org:i}=R(),o=y();let l;e[0]!==i.id?(l=a.REGISTRY(i.id),e[0]=i.id,e[1]=l):l=e[1];const d=l;let f;e[2]!==i.id?(f=a.COMMUNITY_REGISTRY(i.id),e[2]=i.id,e[3]=f):f=e[3];const g=f;let r;e[4]!==g||e[5]!==d?(r=[d,g],e[4]=g,e[5]=d,e[6]=r):r=e[6];let t;if(e[7]!==o||e[8]!==r){if(t=new Set(r),o?.registries){let s;e[10]!==o.registries?(s=Object.keys(o.registries),e[10]=o.registries,e[11]=s):s=e[11];for(const u of s)t.add(u)}e[7]=o,e[8]=r,e[9]=t}else t=e[9];const m=p();let n;e[12]!==m?(n=m??[],e[12]=m,e[13]=n):n=e[13];let c;if(e[14]!==t||e[15]!==n){let s;e[17]!==t?(s=u=>t.has(u.id),e[17]=t,e[18]=s):s=e[18],c=n.filter(s),e[14]=t,e[15]=n,e[16]=c}else c=e[16];return c}export{M as u};
1
+ import{c as C,W as R}from"./index-CAw6g9tV.js";import{u as p}from"./use-connection-GI8Focwr.js";import{W as a}from"./constants-DNuUCxmW.js";import{h as y}from"./use-organization-settings-Dh58cpUx.js";function M(){const e=C.c(19),{org:i}=R(),o=y();let l;e[0]!==i.id?(l=a.REGISTRY(i.id),e[0]=i.id,e[1]=l):l=e[1];const d=l;let f;e[2]!==i.id?(f=a.COMMUNITY_REGISTRY(i.id),e[2]=i.id,e[3]=f):f=e[3];const g=f;let r;e[4]!==g||e[5]!==d?(r=[d,g],e[4]=g,e[5]=d,e[6]=r):r=e[6];let t;if(e[7]!==o||e[8]!==r){if(t=new Set(r),o?.registries){let s;e[10]!==o.registries?(s=Object.keys(o.registries),e[10]=o.registries,e[11]=s):s=e[11];for(const u of s)t.add(u)}e[7]=o,e[8]=r,e[9]=t}else t=e[9];const m=p();let n;e[12]!==m?(n=m??[],e[12]=m,e[13]=n):n=e[13];let c;if(e[14]!==t||e[15]!==n){let s;e[17]!==t?(s=u=>t.has(u.id),e[17]=t,e[18]=s):s=e[18],c=n.filter(s),e[14]=t,e[15]=n,e[16]=c}else c=e[16];return c}export{M as u};
@@ -1 +1 @@
1
- import{c as u,W as c,a7 as r,K as l,x as d,n as f,e as S}from"./index-Ds9_YQQm.js";function C(){const e=u.c(7),{org:n}=c(),a=r();let i;e[0]!==n.id?(i=l.secrets(n.id),e[0]=n.id,e[1]=i):i=e[1];let t;e[2]!==a?(t=async()=>await a.call("SECRET_LIST",{}),e[2]=a,e[3]=t):t=e[3];let s;e[4]!==i||e[5]!==t?(s={queryKey:i,staleTime:6e4,queryFn:t},e[4]=i,e[5]=t,e[6]=s):s=e[6];const{data:o}=d(s);return o.secrets}function m(){const e=u.c(8),{org:n}=c(),a=r(),i=f();let t;e[0]!==a?(t=async y=>await a.call("SECRET_CREATE",{...y}),e[0]=a,e[1]=t):t=e[1];let s;e[2]!==n||e[3]!==i?(s=()=>{i.invalidateQueries({queryKey:l.secrets(n.id)})},e[2]=n,e[3]=i,e[4]=s):s=e[4];let o;return e[5]!==t||e[6]!==s?(o={mutationFn:t,onSuccess:s},e[5]=t,e[6]=s,e[7]=o):o=e[7],S(o)}export{m as a,C as u};
1
+ import{c as u,W as c,a7 as r,K as l,x as d,n as f,e as S}from"./index-CAw6g9tV.js";function C(){const e=u.c(7),{org:n}=c(),a=r();let i;e[0]!==n.id?(i=l.secrets(n.id),e[0]=n.id,e[1]=i):i=e[1];let t;e[2]!==a?(t=async()=>await a.call("SECRET_LIST",{}),e[2]=a,e[3]=t):t=e[3];let s;e[4]!==i||e[5]!==t?(s={queryKey:i,staleTime:6e4,queryFn:t},e[4]=i,e[5]=t,e[6]=s):s=e[6];const{data:o}=d(s);return o.secrets}function m(){const e=u.c(8),{org:n}=c(),a=r(),i=f();let t;e[0]!==a?(t=async y=>await a.call("SECRET_CREATE",{...y}),e[0]=a,e[1]=t):t=e[1];let s;e[2]!==n||e[3]!==i?(s=()=>{i.invalidateQueries({queryKey:l.secrets(n.id)})},e[2]=n,e[3]=i,e[4]=s):s=e[4];let o;return e[5]!==t||e[6]!==s?(o={mutationFn:t,onSuccess:s},e[5]=t,e[6]=s,e[7]=o):o=e[7],S(o)}export{m as a,C as u};
@@ -1 +1 @@
1
- import{c as q,b as K,r as w,j as s,l as Q}from"./index-Ds9_YQQm.js";import{ah as _}from"./agent-icon-BQA3BxVU.js";import{i as Y}from"./SearchMd-DjN-DKoK.js";import{D as Z,b as ee,d as te,c as se}from"./dialog-B49rrPcE.js";import{I as re}from"./input-CBtN_PPx.js";import{k as le,l as oe,m as ie,o as X,G as ne,p as ce,q as ae}from"./index-CeMxrEOa.js";const fe=12,D=new Set,F=new Set;function ue(){for(const r of F)r()}function de(r){return D.has(r)?!0:D.size>=fe?!1:(D.add(r),!0)}function J(r){D.delete(r)&&ue()}function me(r){return F.add(r),()=>{F.delete(r)}}function ve(r,e){const t=w.useRef(!1),[d,i]=w.useState(!1),o=w.useRef(null),f=w.useRef(null),c=w.useRef(null),l=w.useRef(r);l.current=r;const[a]=w.useState(()=>{const n=()=>{c.current?.(),c.current=null},u=()=>t.current?!0:de(e)?(t.current=!0,i(!0),n(),!0):!1;return v=>{if(f.current=v,o.current&&(o.current.disconnect(),o.current=null),n(),!v){t.current&&(J(e),t.current=!1,i(!1));return}queueMicrotask(()=>{if(f.current!==v)return;const x=new IntersectionObserver(m=>{if(m[0]?.isIntersecting??!1){!u()&&!c.current&&(c.current=me(()=>{f.current===v&&u()}));return}n(),t.current&&(J(e),t.current=!1,i(!1))},{root:l.current.current,rootMargin:"160px 0px"});x.observe(v),o.current=x})}});return{ref:a,iframeActive:d}}function pe(r){const e=q.c(8),{previewUrl:t,title:d,scrollRootRef:i,slotId:o}=r,{ref:f,iframeActive:c}=ve(i,o),[l,a]=w.useState(!1);let n;e[0]!==c||e[1]!==l||e[2]!==t||e[3]!==d?(n=c?s.jsxs(s.Fragment,{children:[!l&&s.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-muted/40",children:s.jsx(_,{className:"h-8 w-8 animate-pulse text-muted-foreground/40"})}),s.jsx("iframe",{src:t,title:`Preview ${d}`,sandbox:"allow-scripts allow-same-origin",referrerPolicy:"no-referrer",className:"pointer-events-none h-[200%] w-[200%] origin-top-left scale-50 border-0 bg-white",tabIndex:-1,onLoad:()=>a(!0)})]}):s.jsx("div",{className:"flex h-full items-center justify-center",children:s.jsx(_,{className:"h-8 w-8 text-muted-foreground/30"})}),e[0]=c,e[1]=l,e[2]=t,e[3]=d,e[4]=n):n=e[4];let u;return e[5]!==f||e[6]!==n?(u=s.jsx("div",{ref:f,className:"relative aspect-[16/10] w-full overflow-hidden bg-muted/40",children:n}),e[5]=f,e[6]=n,e[7]=u):u=e[7],u}function xe(r){const e=q.c(26),{entry:t,previewUrl:d,scrollRootRef:i,onSelect:o}=r,f=t.isSavedBlock&&"border-global-section/35 hover:bg-global-section/8";let c;e[0]!==f?(c=Q("group flex flex-col overflow-hidden rounded-lg border bg-card text-left transition-colors","hover:border-primary/40 hover:bg-accent/30",f),e[0]=f,e[1]=c):c=e[1];let l;e[2]!==t.resolveType||e[3]!==t.title||e[4]!==d||e[5]!==i?(l=s.jsx(pe,{previewUrl:d,title:t.title,scrollRootRef:i,slotId:t.resolveType}),e[2]=t.resolveType,e[3]=t.title,e[4]=d,e[5]=i,e[6]=l):l=e[6];let a;e[7]!==t.isSavedBlock?(a=t.isSavedBlock?{color:ne}:void 0,e[7]=t.isSavedBlock,e[8]=a):a=e[8];let n;e[9]!==a?(n=s.jsx(_,{className:"h-4 w-4 shrink-0",style:a}),e[9]=a,e[10]=n):n=e[10];let u;e[11]!==t.title?(u=s.jsx("p",{className:"truncate text-sm font-medium",children:t.title}),e[11]=t.title,e[12]=u):u=e[12];let v;e[13]!==t.description?(v=t.description&&s.jsx("p",{className:"truncate text-xs text-muted-foreground",children:t.description}),e[13]=t.description,e[14]=v):v=e[14];let x;e[15]!==u||e[16]!==v?(x=s.jsxs("div",{className:"min-w-0 flex-1",children:[u,v]}),e[15]=u,e[16]=v,e[17]=x):x=e[17];let m;e[18]!==n||e[19]!==x?(m=s.jsxs("div",{className:"flex items-center gap-2 border-t px-3 py-2.5",children:[n,x]}),e[18]=n,e[19]=x,e[20]=m):m=e[20];let h;return e[21]!==o||e[22]!==c||e[23]!==l||e[24]!==m?(h=s.jsxs("button",{type:"button",onClick:o,className:c,children:[l,m]}),e[21]=o,e[22]=c,e[23]=l,e[24]=m,e[25]=h):h=e[25],h}function Ne(r){const e=q.c(51),{open:t,onOpenChange:d,meta:i,decofile:o,previewBaseUrl:f,onSelect:c}=r,l=K(),[a,n]=w.useState(""),[u,v]=w.useState(t),x=w.useRef(null);t!==u&&(v(t),t&&n(""));let m,h,S,b,j,N,R,y,g,C,T;if(e[0]!==o||e[1]!==i||e[2]!==d||e[3]!==c||e[4]!==t||e[5]!==f||e[6]!==a||e[7]!==l){const z=t&&i&&o?le(i,o):[],W=i?oe(i):"",G=o?ie(o):void 0,H=new Map;if(t&&W)for(const p of z)H.set(p.resolveType,X(f,W,p.previewBlock,G));const M=a.trim().toLowerCase(),V=M?z.filter(p=>p.title.toLowerCase().includes(M)||p.resolveType.toLowerCase().includes(M)||p.description?.toLowerCase().includes(M)):z;h=Z,C=t,T=d,m=ee,R="top-3 right-3",y="flex h-[90vh] max-h-[90vh] w-[96vw] max-w-[96vw] sm:max-w-[96vw] flex-col gap-0 overflow-hidden p-0";let U;e[19]!==l?(U=l("sectionsEditor.addSectionModal.title"),e[19]=l,e[20]=U):U=e[20];let A;e[21]!==U?(A=s.jsx(te,{children:U}),e[21]=U,e[22]=A):A=e[22];let O;e[23]===Symbol.for("react.memo_cache_sentinel")?(O=s.jsx(Y,{size:14,className:"pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-muted-foreground"}),e[23]=O):O=e[23];let $;e[24]===Symbol.for("react.memo_cache_sentinel")?($=p=>n(p.target.value),e[24]=$):$=e[24];let B;e[25]!==l?(B=l("sectionsEditor.addSectionModal.searchPlaceholder"),e[25]=l,e[26]=B):B=e[26];let k;e[27]!==a||e[28]!==B?(k=s.jsxs("div",{className:"relative pt-2",children:[O,s.jsx(re,{value:a,onChange:$,placeholder:B,className:"h-9 pl-8"})]}),e[27]=a,e[28]=B,e[29]=k):k=e[29],e[30]!==A||e[31]!==k?(g=s.jsxs(se,{className:"shrink-0 border-b px-4 py-3 text-left",children:[A,k]}),e[30]=A,e[31]=k,e[32]=g):g=e[32],j=x,N="min-h-0 flex-1 overflow-y-auto",S="p-4",b=V.length===0?s.jsx("p",{className:"py-8 text-center text-sm text-muted-foreground",children:l("sectionsEditor.addSectionModal.noSectionsFound")}):s.jsx("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",children:V.map(p=>s.jsx(xe,{entry:p,scrollRootRef:x,previewUrl:H.get(p.resolveType)??X(f,W,p.previewBlock,G),onSelect:()=>c(p)},p.resolveType))}),e[0]=o,e[1]=i,e[2]=d,e[3]=c,e[4]=t,e[5]=f,e[6]=a,e[7]=l,e[8]=m,e[9]=h,e[10]=S,e[11]=b,e[12]=j,e[13]=N,e[14]=R,e[15]=y,e[16]=g,e[17]=C,e[18]=T}else m=e[8],h=e[9],S=e[10],b=e[11],j=e[12],N=e[13],R=e[14],y=e[15],g=e[16],C=e[17],T=e[18];let P;e[33]!==S||e[34]!==b?(P=s.jsx("div",{className:S,children:b}),e[33]=S,e[34]=b,e[35]=P):P=e[35];let I;e[36]!==P||e[37]!==j||e[38]!==N?(I=s.jsx("div",{ref:j,className:N,children:P}),e[36]=P,e[37]=j,e[38]=N,e[39]=I):I=e[39];let L;e[40]!==m||e[41]!==I||e[42]!==R||e[43]!==y||e[44]!==g?(L=s.jsxs(m,{closeButtonClassName:R,className:y,children:[g,I]}),e[40]=m,e[41]=I,e[42]=R,e[43]=y,e[44]=g,e[45]=L):L=e[45];let E;return e[46]!==h||e[47]!==L||e[48]!==C||e[49]!==T?(E=s.jsx(h,{open:C,onOpenChange:T,children:L}),e[46]=h,e[47]=L,e[48]=C,e[49]=T,e[50]=E):E=e[50],E}function Re(r){const e=q.c(4),{previewServerUrl:t,runtime:d}=ce(r.virtualMcpId),i=d==="cms";let o;return e[0]!==i||e[1]!==r.sandboxUrl||e[2]!==t?(o=ae({sandboxUrl:r.sandboxUrl,previewServerUrl:t,fastPreviewActive:i}),e[0]=i,e[1]=r.sandboxUrl,e[2]=t,e[3]=o):o=e[3],o}export{Ne as A,Re as u};
1
+ import{c as q,b as K,r as w,j as s,l as Q}from"./index-CAw6g9tV.js";import{ah as _}from"./agent-icon-Dsw04fQF.js";import{i as Y}from"./SearchMd-C1loDEwy.js";import{D as Z,b as ee,d as te,c as se}from"./dialog-DDd8wUS7.js";import{I as re}from"./input-CRq9rZYf.js";import{k as le,l as oe,m as ie,o as X,G as ne,p as ce,q as ae}from"./index-DH6qLcGa.js";const fe=12,D=new Set,F=new Set;function ue(){for(const r of F)r()}function de(r){return D.has(r)?!0:D.size>=fe?!1:(D.add(r),!0)}function J(r){D.delete(r)&&ue()}function me(r){return F.add(r),()=>{F.delete(r)}}function ve(r,e){const t=w.useRef(!1),[d,i]=w.useState(!1),o=w.useRef(null),f=w.useRef(null),c=w.useRef(null),l=w.useRef(r);l.current=r;const[a]=w.useState(()=>{const n=()=>{c.current?.(),c.current=null},u=()=>t.current?!0:de(e)?(t.current=!0,i(!0),n(),!0):!1;return v=>{if(f.current=v,o.current&&(o.current.disconnect(),o.current=null),n(),!v){t.current&&(J(e),t.current=!1,i(!1));return}queueMicrotask(()=>{if(f.current!==v)return;const x=new IntersectionObserver(m=>{if(m[0]?.isIntersecting??!1){!u()&&!c.current&&(c.current=me(()=>{f.current===v&&u()}));return}n(),t.current&&(J(e),t.current=!1,i(!1))},{root:l.current.current,rootMargin:"160px 0px"});x.observe(v),o.current=x})}});return{ref:a,iframeActive:d}}function pe(r){const e=q.c(8),{previewUrl:t,title:d,scrollRootRef:i,slotId:o}=r,{ref:f,iframeActive:c}=ve(i,o),[l,a]=w.useState(!1);let n;e[0]!==c||e[1]!==l||e[2]!==t||e[3]!==d?(n=c?s.jsxs(s.Fragment,{children:[!l&&s.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-muted/40",children:s.jsx(_,{className:"h-8 w-8 animate-pulse text-muted-foreground/40"})}),s.jsx("iframe",{src:t,title:`Preview ${d}`,sandbox:"allow-scripts allow-same-origin",referrerPolicy:"no-referrer",className:"pointer-events-none h-[200%] w-[200%] origin-top-left scale-50 border-0 bg-white",tabIndex:-1,onLoad:()=>a(!0)})]}):s.jsx("div",{className:"flex h-full items-center justify-center",children:s.jsx(_,{className:"h-8 w-8 text-muted-foreground/30"})}),e[0]=c,e[1]=l,e[2]=t,e[3]=d,e[4]=n):n=e[4];let u;return e[5]!==f||e[6]!==n?(u=s.jsx("div",{ref:f,className:"relative aspect-[16/10] w-full overflow-hidden bg-muted/40",children:n}),e[5]=f,e[6]=n,e[7]=u):u=e[7],u}function xe(r){const e=q.c(26),{entry:t,previewUrl:d,scrollRootRef:i,onSelect:o}=r,f=t.isSavedBlock&&"border-global-section/35 hover:bg-global-section/8";let c;e[0]!==f?(c=Q("group flex flex-col overflow-hidden rounded-lg border bg-card text-left transition-colors","hover:border-primary/40 hover:bg-accent/30",f),e[0]=f,e[1]=c):c=e[1];let l;e[2]!==t.resolveType||e[3]!==t.title||e[4]!==d||e[5]!==i?(l=s.jsx(pe,{previewUrl:d,title:t.title,scrollRootRef:i,slotId:t.resolveType}),e[2]=t.resolveType,e[3]=t.title,e[4]=d,e[5]=i,e[6]=l):l=e[6];let a;e[7]!==t.isSavedBlock?(a=t.isSavedBlock?{color:ne}:void 0,e[7]=t.isSavedBlock,e[8]=a):a=e[8];let n;e[9]!==a?(n=s.jsx(_,{className:"h-4 w-4 shrink-0",style:a}),e[9]=a,e[10]=n):n=e[10];let u;e[11]!==t.title?(u=s.jsx("p",{className:"truncate text-sm font-medium",children:t.title}),e[11]=t.title,e[12]=u):u=e[12];let v;e[13]!==t.description?(v=t.description&&s.jsx("p",{className:"truncate text-xs text-muted-foreground",children:t.description}),e[13]=t.description,e[14]=v):v=e[14];let x;e[15]!==u||e[16]!==v?(x=s.jsxs("div",{className:"min-w-0 flex-1",children:[u,v]}),e[15]=u,e[16]=v,e[17]=x):x=e[17];let m;e[18]!==n||e[19]!==x?(m=s.jsxs("div",{className:"flex items-center gap-2 border-t px-3 py-2.5",children:[n,x]}),e[18]=n,e[19]=x,e[20]=m):m=e[20];let h;return e[21]!==o||e[22]!==c||e[23]!==l||e[24]!==m?(h=s.jsxs("button",{type:"button",onClick:o,className:c,children:[l,m]}),e[21]=o,e[22]=c,e[23]=l,e[24]=m,e[25]=h):h=e[25],h}function Ne(r){const e=q.c(51),{open:t,onOpenChange:d,meta:i,decofile:o,previewBaseUrl:f,onSelect:c}=r,l=K(),[a,n]=w.useState(""),[u,v]=w.useState(t),x=w.useRef(null);t!==u&&(v(t),t&&n(""));let m,h,S,b,j,N,R,y,g,C,T;if(e[0]!==o||e[1]!==i||e[2]!==d||e[3]!==c||e[4]!==t||e[5]!==f||e[6]!==a||e[7]!==l){const z=t&&i&&o?le(i,o):[],W=i?oe(i):"",G=o?ie(o):void 0,H=new Map;if(t&&W)for(const p of z)H.set(p.resolveType,X(f,W,p.previewBlock,G));const M=a.trim().toLowerCase(),V=M?z.filter(p=>p.title.toLowerCase().includes(M)||p.resolveType.toLowerCase().includes(M)||p.description?.toLowerCase().includes(M)):z;h=Z,C=t,T=d,m=ee,R="top-3 right-3",y="flex h-[90vh] max-h-[90vh] w-[96vw] max-w-[96vw] sm:max-w-[96vw] flex-col gap-0 overflow-hidden p-0";let U;e[19]!==l?(U=l("sectionsEditor.addSectionModal.title"),e[19]=l,e[20]=U):U=e[20];let A;e[21]!==U?(A=s.jsx(te,{children:U}),e[21]=U,e[22]=A):A=e[22];let O;e[23]===Symbol.for("react.memo_cache_sentinel")?(O=s.jsx(Y,{size:14,className:"pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-muted-foreground"}),e[23]=O):O=e[23];let $;e[24]===Symbol.for("react.memo_cache_sentinel")?($=p=>n(p.target.value),e[24]=$):$=e[24];let B;e[25]!==l?(B=l("sectionsEditor.addSectionModal.searchPlaceholder"),e[25]=l,e[26]=B):B=e[26];let k;e[27]!==a||e[28]!==B?(k=s.jsxs("div",{className:"relative pt-2",children:[O,s.jsx(re,{value:a,onChange:$,placeholder:B,className:"h-9 pl-8"})]}),e[27]=a,e[28]=B,e[29]=k):k=e[29],e[30]!==A||e[31]!==k?(g=s.jsxs(se,{className:"shrink-0 border-b px-4 py-3 text-left",children:[A,k]}),e[30]=A,e[31]=k,e[32]=g):g=e[32],j=x,N="min-h-0 flex-1 overflow-y-auto",S="p-4",b=V.length===0?s.jsx("p",{className:"py-8 text-center text-sm text-muted-foreground",children:l("sectionsEditor.addSectionModal.noSectionsFound")}):s.jsx("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",children:V.map(p=>s.jsx(xe,{entry:p,scrollRootRef:x,previewUrl:H.get(p.resolveType)??X(f,W,p.previewBlock,G),onSelect:()=>c(p)},p.resolveType))}),e[0]=o,e[1]=i,e[2]=d,e[3]=c,e[4]=t,e[5]=f,e[6]=a,e[7]=l,e[8]=m,e[9]=h,e[10]=S,e[11]=b,e[12]=j,e[13]=N,e[14]=R,e[15]=y,e[16]=g,e[17]=C,e[18]=T}else m=e[8],h=e[9],S=e[10],b=e[11],j=e[12],N=e[13],R=e[14],y=e[15],g=e[16],C=e[17],T=e[18];let P;e[33]!==S||e[34]!==b?(P=s.jsx("div",{className:S,children:b}),e[33]=S,e[34]=b,e[35]=P):P=e[35];let I;e[36]!==P||e[37]!==j||e[38]!==N?(I=s.jsx("div",{ref:j,className:N,children:P}),e[36]=P,e[37]=j,e[38]=N,e[39]=I):I=e[39];let L;e[40]!==m||e[41]!==I||e[42]!==R||e[43]!==y||e[44]!==g?(L=s.jsxs(m,{closeButtonClassName:R,className:y,children:[g,I]}),e[40]=m,e[41]=I,e[42]=R,e[43]=y,e[44]=g,e[45]=L):L=e[45];let E;return e[46]!==h||e[47]!==L||e[48]!==C||e[49]!==T?(E=s.jsx(h,{open:C,onOpenChange:T,children:L}),e[46]=h,e[47]=L,e[48]=C,e[49]=T,e[50]=E):E=e[50],E}function Re(r){const e=q.c(4),{previewServerUrl:t,runtime:d}=ce(r.virtualMcpId),i=d==="cms";let o;return e[0]!==i||e[1]!==r.sandboxUrl||e[2]!==t?(o=ae({sandboxUrl:r.sandboxUrl,previewServerUrl:t,fastPreviewActive:i}),e[0]=i,e[1]=r.sandboxUrl,e[2]=t,e[3]=o):o=e[3],o}export{Ne as A,Re as u};
@@ -1 +1 @@
1
- import{c as r,v as u}from"./index-Ds9_YQQm.js";import{p as i,q as c}from"./question-004-sINsf4GQ.js";import{u as f}from"./use-decopilot-events-DDJx3VDP.js";const p=new Set(["completed","failed","requires_action"]);function q(s){const e=r.c(5),[n]=u();let t;e[0]!==n?(t=o=>{n.enableSounds&&p.has(o.data.status)&&i(c.dataUri).catch(l)},e[0]=n,e[1]=t):t=e[1];let a;e[2]!==s||e[3]!==t?(a={orgSlug:s,onTaskStatus:t},e[2]=s,e[3]=t,e[4]=a):a=e[4],f(a)}function l(s){console.warn("[status-sounds] playback failed:",s)}export{q as u};
1
+ import{c as r,v as u}from"./index-CAw6g9tV.js";import{p as i,q as c}from"./question-004-sINsf4GQ.js";import{u as f}from"./use-decopilot-events-Bs4lGo6F.js";const p=new Set(["completed","failed","requires_action"]);function q(s){const e=r.c(5),[n]=u();let t;e[0]!==n?(t=o=>{n.enableSounds&&p.has(o.data.status)&&i(c.dataUri).catch(l)},e[0]=n,e[1]=t):t=e[1];let a;e[2]!==s||e[3]!==t?(a={orgSlug:s,onTaskStatus:t},e[2]=s,e[3]=t,e[4]=a):a=e[4],f(a)}function l(s){console.warn("[status-sounds] playback failed:",s)}export{q as u};
@@ -1 +1 @@
1
- import{c as u,W as f,a7 as y,m,n as g,e as T,K as l,t as E}from"./index-Ds9_YQQm.js";function K(){const e=u.c(7),{locator:t}=f(),o=y();let n;e[0]!==t?(n=l.tags(t),e[0]=t,e[1]=n):n=e[1];let s;e[2]!==o?(s=async()=>{const{tags:r}=await o.call("TAGS_LIST",{});return r},e[2]=o,e[3]=s):s=e[3];let a;return e[4]!==n||e[5]!==s?(a={queryKey:n,queryFn:s,staleTime:3e4},e[4]=n,e[5]=s,e[6]=a):a=e[6],m(a)}function p(){const e=u.c(8),t=g(),{locator:o}=f(),n=y();let s;e[0]!==n?(s=async c=>{const{tag:i}=await n.call("TAGS_CREATE",typeof c=="string"?{name:c}:c);return i},e[0]=n,e[1]=s):s=e[1];let a;e[2]!==o||e[3]!==t?(a=()=>{t.invalidateQueries({queryKey:l.tags(o)})},e[2]=o,e[3]=t,e[4]=a):a=e[4];let r;return e[5]!==s||e[6]!==a?(r={mutationFn:s,onSuccess:a,onError:S},e[5]=s,e[6]=a,e[7]=r):r=e[7],T(r)}function S(e){E.error(e instanceof Error?e.message:"Failed to create tag")}function C(){const e=u.c(8),t=g(),{locator:o}=f(),n=y();let s;e[0]!==n?(s=async c=>{await n.call("TAGS_DELETE",{tagId:c})},e[0]=n,e[1]=s):s=e[1];let a;e[2]!==o||e[3]!==t?(a=()=>{t.invalidateQueries({queryKey:l.tags(o)}),t.invalidateQueries({queryKey:l.taskBoardItems(o)})},e[2]=o,e[3]=t,e[4]=a):a=e[4];let r;return e[5]!==s||e[6]!==a?(r={mutationFn:s,onSuccess:a,onError:q},e[5]=s,e[6]=a,e[7]=r):r=e[7],T(r)}function q(e){E.error(e instanceof Error?e.message:"Failed to delete tag")}function M(e){const t=u.c(10),{locator:o}=f(),n=y();let s;t[0]!==o||t[1]!==e?(s=l.memberTags(o,e),t[0]=o,t[1]=e,t[2]=s):s=t[2];let a;t[3]!==e||t[4]!==n?(a=async()=>{const{tags:i}=await n.call("MEMBER_TAGS_GET",{memberId:e});return i},t[3]=e,t[4]=n,t[5]=a):a=t[5];const r=!!e;let c;return t[6]!==s||t[7]!==a||t[8]!==r?(c={queryKey:s,queryFn:a,staleTime:3e4,enabled:r},t[6]=s,t[7]=a,t[8]=r,t[9]=c):c=t[9],m(c)}function A(){const e=u.c(8),t=g(),{locator:o}=f(),n=y();let s;e[0]!==n?(s=async c=>{const{memberId:i,tagIds:d}=c;return await n.call("MEMBER_TAGS_SET",{memberId:i,tagIds:d})},e[0]=n,e[1]=s):s=e[1];let a;e[2]!==o||e[3]!==t?(a=(c,i)=>{t.invalidateQueries({queryKey:l.memberTags(o,i.memberId)})},e[2]=o,e[3]=t,e[4]=a):a=e[4];let r;return e[5]!==s||e[6]!==a?(r={mutationFn:s,onSuccess:a,onError:_},e[5]=s,e[6]=a,e[7]=r):r=e[7],T(r)}function _(e){E.error(e instanceof Error?e.message:"Failed to update member tags")}export{p as a,C as b,M as c,A as d,K as u};
1
+ import{c as u,W as f,a7 as y,m,n as g,e as T,K as l,t as E}from"./index-CAw6g9tV.js";function K(){const e=u.c(7),{locator:t}=f(),o=y();let n;e[0]!==t?(n=l.tags(t),e[0]=t,e[1]=n):n=e[1];let s;e[2]!==o?(s=async()=>{const{tags:r}=await o.call("TAGS_LIST",{});return r},e[2]=o,e[3]=s):s=e[3];let a;return e[4]!==n||e[5]!==s?(a={queryKey:n,queryFn:s,staleTime:3e4},e[4]=n,e[5]=s,e[6]=a):a=e[6],m(a)}function p(){const e=u.c(8),t=g(),{locator:o}=f(),n=y();let s;e[0]!==n?(s=async c=>{const{tag:i}=await n.call("TAGS_CREATE",typeof c=="string"?{name:c}:c);return i},e[0]=n,e[1]=s):s=e[1];let a;e[2]!==o||e[3]!==t?(a=()=>{t.invalidateQueries({queryKey:l.tags(o)})},e[2]=o,e[3]=t,e[4]=a):a=e[4];let r;return e[5]!==s||e[6]!==a?(r={mutationFn:s,onSuccess:a,onError:S},e[5]=s,e[6]=a,e[7]=r):r=e[7],T(r)}function S(e){E.error(e instanceof Error?e.message:"Failed to create tag")}function C(){const e=u.c(8),t=g(),{locator:o}=f(),n=y();let s;e[0]!==n?(s=async c=>{await n.call("TAGS_DELETE",{tagId:c})},e[0]=n,e[1]=s):s=e[1];let a;e[2]!==o||e[3]!==t?(a=()=>{t.invalidateQueries({queryKey:l.tags(o)}),t.invalidateQueries({queryKey:l.taskBoardItems(o)})},e[2]=o,e[3]=t,e[4]=a):a=e[4];let r;return e[5]!==s||e[6]!==a?(r={mutationFn:s,onSuccess:a,onError:q},e[5]=s,e[6]=a,e[7]=r):r=e[7],T(r)}function q(e){E.error(e instanceof Error?e.message:"Failed to delete tag")}function M(e){const t=u.c(10),{locator:o}=f(),n=y();let s;t[0]!==o||t[1]!==e?(s=l.memberTags(o,e),t[0]=o,t[1]=e,t[2]=s):s=t[2];let a;t[3]!==e||t[4]!==n?(a=async()=>{const{tags:i}=await n.call("MEMBER_TAGS_GET",{memberId:e});return i},t[3]=e,t[4]=n,t[5]=a):a=t[5];const r=!!e;let c;return t[6]!==s||t[7]!==a||t[8]!==r?(c={queryKey:s,queryFn:a,staleTime:3e4,enabled:r},t[6]=s,t[7]=a,t[8]=r,t[9]=c):c=t[9],m(c)}function A(){const e=u.c(8),t=g(),{locator:o}=f(),n=y();let s;e[0]!==n?(s=async c=>{const{memberId:i,tagIds:d}=c;return await n.call("MEMBER_TAGS_SET",{memberId:i,tagIds:d})},e[0]=n,e[1]=s):s=e[1];let a;e[2]!==o||e[3]!==t?(a=(c,i)=>{t.invalidateQueries({queryKey:l.memberTags(o,i.memberId)})},e[2]=o,e[3]=t,e[4]=a):a=e[4];let r;return e[5]!==s||e[6]!==a?(r={mutationFn:s,onSuccess:a,onError:_},e[5]=s,e[6]=a,e[7]=r):r=e[7],T(r)}function _(e){E.error(e instanceof Error?e.message:"Failed to update member tags")}export{p as a,C as b,M as c,A as d,K as u};
@@ -1 +1 @@
1
- import{c as p,I as w,r as f}from"./index-Ds9_YQQm.js";function I(M,b){const e=p.c(12),d=b===void 0?"cards":b,o=w(),g=f.useRef(o),s=M?`deco-view-mode-${M}`:"deco-view-mode";let i;e[0]!==d||e[1]!==s?(i=()=>{const r=globalThis.localStorage?.getItem(s);return r==="cards"||r==="table"?r:d},e[0]=d,e[1]=s,e[2]=i):i=e[2];const[t,m]=f.useState(i);let l;e[3]!==s?(l=r=>{m(r),globalThis.localStorage?.setItem(s,r)},e[3]=s,e[4]=l):l=e[4];const u=l;let c,a;e[5]!==o||e[6]!==t?(c=()=>{!g.current&&o&&t==="table"&&m("cards"),g.current=o},a=[o,t],e[5]=o,e[6]=t,e[7]=c,e[8]=a):(c=e[7],a=e[8]),f.useEffect(c,a);let n;return e[9]!==u||e[10]!==t?(n=[t,u],e[9]=u,e[10]=t,e[11]=n):n=e[11],n}export{I as u};
1
+ import{c as p,I as w,r as f}from"./index-CAw6g9tV.js";function I(M,b){const e=p.c(12),d=b===void 0?"cards":b,o=w(),g=f.useRef(o),s=M?`deco-view-mode-${M}`:"deco-view-mode";let i;e[0]!==d||e[1]!==s?(i=()=>{const r=globalThis.localStorage?.getItem(s);return r==="cards"||r==="table"?r:d},e[0]=d,e[1]=s,e[2]=i):i=e[2];const[t,m]=f.useState(i);let l;e[3]!==s?(l=r=>{m(r),globalThis.localStorage?.setItem(s,r)},e[3]=s,e[4]=l):l=e[4];const u=l;let c,a;e[5]!==o||e[6]!==t?(c=()=>{!g.current&&o&&t==="table"&&m("cards"),g.current=o},a=[o,t],e[5]=o,e[6]=t,e[7]=c,e[8]=a):(c=e[7],a=e[8]),f.useEffect(c,a);let n;return e[9]!==u||e[10]!==t?(n=[t,u],e[9]=u,e[10]=t,e[11]=n):n=e[11],n}export{I as u};
@@ -1 +1 @@
1
- import{c as C,W as I,eP as S,c9 as _,K as A,eQ as y,m as M,eR as L,c8 as T,eS as U}from"./index-Ds9_YQQm.js";import{u as p,e as V,m as R}from"./use-mcp-client-BzmGxRuq.js";import{S as g}from"./constants-DNuUCxmW.js";function h(o){const t=C.c(5);let e;t[0]!==o?(e=o===void 0?{}:o,t[0]=o,t[1]=e):e=t[1];const n=e,{org:s}=I();let i;t[2]!==s.id||t[3]!==s.slug?(i={connectionId:g,orgId:s.id,orgSlug:s.slug},t[2]=s.id,t[3]=s.slug,t[4]=i):i=t[4];const l=p(i);return S(s.id,"VIRTUAL_MCP",l,n)}function O(o){const t=C.c(14);let e;t[0]!==o?(e={},t[0]=o,t[1]=e):e=t[1];const n=e,{org:s}=I();let i;t[2]!==s.id||t[3]!==s.slug?(i={connectionId:g,orgId:s.id,orgSlug:s.slug},t[2]=s.id,t[3]=s.slug,t[4]=i):i=t[4];const l=V(i);let c;t[5]!==l||t[6]!==n||t[7]!==s.id?(c=L(s.id,"VIRTUAL_MCP",l,n),t[5]=l,t[6]=n,t[7]=s.id,t[8]=c):c=t[8];const r=!!l;let u;t[9]!==c||t[10]!==r?(u={...c,enabled:r},t[9]=c,t[10]=r,t[11]=u):u=t[11];const{data:d}=M(u);let a;return t[12]!==d?(a=d??[],t[12]=d,t[13]=a):a=t[13],a}function w(o){const t=C.c(10),{org:e}=I();let n;t[0]!==e.id||t[1]!==e.slug?(n={connectionId:g,orgId:e.id,orgSlug:e.slug},t[0]=e.id,t[1]=e.slug,t[2]=n):n=t[2];const s=V(n),i=o??void 0;let l;t[3]!==s||t[4]!==e.id||t[5]!==i?(l=y(e.id,"VIRTUAL_MCP",i,s),t[3]=s,t[4]=e.id,t[5]=i,t[6]=l):l=t[6];const c=!!s&&!!o;let r;t[7]!==l||t[8]!==c?(r={...l,enabled:c},t[7]=l,t[8]=c,t[9]=r):r=t[9];const{data:u}=M(r);return u?.item??null}async function E(o,t,e={}){const n=await o.fetchQuery(R({connectionId:g,orgId:t.id,orgSlug:t.slug})),s=L(t.id,"VIRTUAL_MCP",n,e);return s.select(await o.fetchQuery(s))}function k(o){const t=C.c(18);let e;t[0]!==o?(e={},t[0]=o,t[1]=e):e=t[1];const n=e,{org:s}=I();let i;t[2]!==s.id||t[3]!==s.slug?(i={connectionId:g,orgId:s.id,orgSlug:s.slug},t[2]=s.id,t[3]=s.slug,t[4]=i):i=t[4];const l=V(i);let c;t[5]!==l||t[6]!==n||t[7]!==s.id?(c=U(s.id,"VIRTUAL_MCP",l,n),t[5]=l,t[6]=n,t[7]=s.id,t[8]=c):c=t[8];const r=!!l;let u;t[9]!==c||t[10]!==r?(u={...c,enabled:r},t[9]=c,t[10]=r,t[11]=u):u=t[11];const{data:d}=M(u);let a;t[12]!==d?.items?(a=d?.items??[],t[12]=d?.items,t[13]=a):a=t[13];const P=d?.totalCount,m=d?.hasMore;let f;return t[14]!==a||t[15]!==P||t[16]!==m?(f={items:a,totalCount:P,hasMore:m},t[14]=a,t[15]=P,t[16]=m,t[17]=f):f=t[17],f}function v(o){const t=C.c(3),{org:e}=I();let n;t[0]!==e.id||t[1]!==e.slug?(n={connectionId:g,orgId:e.id,orgSlug:e.slug},t[0]=e.id,t[1]=e.slug,t[2]=n):n=t[2];const s=p(n);return T(e.id,"VIRTUAL_MCP",o??void 0,s)}function x(o){const t=C.c(15),{org:e}=I();let n;t[0]!==e.id||t[1]!==e.slug?(n={connectionId:g,orgId:e.id,orgSlug:e.slug},t[0]=e.id,t[1]=e.slug,t[2]=n):n=t[2];const s=p(n);let i,l,c;t[3]!==o||t[4]!==e.id?(i=[...o].sort(),c=M,l=A.virtualMcpLastUsed(e.id,i),t[3]=o,t[4]=e.id,t[5]=i,t[6]=l,t[7]=c):(i=t[5],l=t[6],c=t[7]);const r=i.length>0;let u;t[8]!==s||t[9]!==i?(u=async()=>{const P=(await s.callTool({name:"VIRTUAL_MCP_LAST_USED_LIST",arguments:{ids:i}})).structuredContent??{items:[]},m=new Map;for(const f of P.items)m.set(f.id,f);return m},t[8]=s,t[9]=i,t[10]=u):u=t[10];let d;return t[11]!==l||t[12]!==r||t[13]!==u?(d={queryKey:l,enabled:r,staleTime:3e4,queryFn:u},t[11]=l,t[12]=r,t[13]=u,t[14]=d):d=t[14],c(d)}function B(){const o=C.c(3),{org:t}=I();let e;o[0]!==t.id||o[1]!==t.slug?(e={connectionId:g,orgId:t.id,orgSlug:t.slug},o[0]=t.id,o[1]=t.slug,o[2]=e):e=o[2];const n=p(e);return _(t.id,"VIRTUAL_MCP",n)}export{B as a,h as b,x as c,k as d,O as e,w as f,E as g,v as u};
1
+ import{c as C,W as I,eP as S,c9 as _,K as A,eQ as y,m as M,eR as L,c8 as T,eS as U}from"./index-CAw6g9tV.js";import{u as p,e as V,m as R}from"./use-mcp-client-BJohqqSd.js";import{S as g}from"./constants-DNuUCxmW.js";function h(o){const t=C.c(5);let e;t[0]!==o?(e=o===void 0?{}:o,t[0]=o,t[1]=e):e=t[1];const n=e,{org:s}=I();let i;t[2]!==s.id||t[3]!==s.slug?(i={connectionId:g,orgId:s.id,orgSlug:s.slug},t[2]=s.id,t[3]=s.slug,t[4]=i):i=t[4];const l=p(i);return S(s.id,"VIRTUAL_MCP",l,n)}function O(o){const t=C.c(14);let e;t[0]!==o?(e={},t[0]=o,t[1]=e):e=t[1];const n=e,{org:s}=I();let i;t[2]!==s.id||t[3]!==s.slug?(i={connectionId:g,orgId:s.id,orgSlug:s.slug},t[2]=s.id,t[3]=s.slug,t[4]=i):i=t[4];const l=V(i);let c;t[5]!==l||t[6]!==n||t[7]!==s.id?(c=L(s.id,"VIRTUAL_MCP",l,n),t[5]=l,t[6]=n,t[7]=s.id,t[8]=c):c=t[8];const r=!!l;let u;t[9]!==c||t[10]!==r?(u={...c,enabled:r},t[9]=c,t[10]=r,t[11]=u):u=t[11];const{data:d}=M(u);let a;return t[12]!==d?(a=d??[],t[12]=d,t[13]=a):a=t[13],a}function w(o){const t=C.c(10),{org:e}=I();let n;t[0]!==e.id||t[1]!==e.slug?(n={connectionId:g,orgId:e.id,orgSlug:e.slug},t[0]=e.id,t[1]=e.slug,t[2]=n):n=t[2];const s=V(n),i=o??void 0;let l;t[3]!==s||t[4]!==e.id||t[5]!==i?(l=y(e.id,"VIRTUAL_MCP",i,s),t[3]=s,t[4]=e.id,t[5]=i,t[6]=l):l=t[6];const c=!!s&&!!o;let r;t[7]!==l||t[8]!==c?(r={...l,enabled:c},t[7]=l,t[8]=c,t[9]=r):r=t[9];const{data:u}=M(r);return u?.item??null}async function E(o,t,e={}){const n=await o.fetchQuery(R({connectionId:g,orgId:t.id,orgSlug:t.slug})),s=L(t.id,"VIRTUAL_MCP",n,e);return s.select(await o.fetchQuery(s))}function k(o){const t=C.c(18);let e;t[0]!==o?(e={},t[0]=o,t[1]=e):e=t[1];const n=e,{org:s}=I();let i;t[2]!==s.id||t[3]!==s.slug?(i={connectionId:g,orgId:s.id,orgSlug:s.slug},t[2]=s.id,t[3]=s.slug,t[4]=i):i=t[4];const l=V(i);let c;t[5]!==l||t[6]!==n||t[7]!==s.id?(c=U(s.id,"VIRTUAL_MCP",l,n),t[5]=l,t[6]=n,t[7]=s.id,t[8]=c):c=t[8];const r=!!l;let u;t[9]!==c||t[10]!==r?(u={...c,enabled:r},t[9]=c,t[10]=r,t[11]=u):u=t[11];const{data:d}=M(u);let a;t[12]!==d?.items?(a=d?.items??[],t[12]=d?.items,t[13]=a):a=t[13];const P=d?.totalCount,m=d?.hasMore;let f;return t[14]!==a||t[15]!==P||t[16]!==m?(f={items:a,totalCount:P,hasMore:m},t[14]=a,t[15]=P,t[16]=m,t[17]=f):f=t[17],f}function v(o){const t=C.c(3),{org:e}=I();let n;t[0]!==e.id||t[1]!==e.slug?(n={connectionId:g,orgId:e.id,orgSlug:e.slug},t[0]=e.id,t[1]=e.slug,t[2]=n):n=t[2];const s=p(n);return T(e.id,"VIRTUAL_MCP",o??void 0,s)}function x(o){const t=C.c(15),{org:e}=I();let n;t[0]!==e.id||t[1]!==e.slug?(n={connectionId:g,orgId:e.id,orgSlug:e.slug},t[0]=e.id,t[1]=e.slug,t[2]=n):n=t[2];const s=p(n);let i,l,c;t[3]!==o||t[4]!==e.id?(i=[...o].sort(),c=M,l=A.virtualMcpLastUsed(e.id,i),t[3]=o,t[4]=e.id,t[5]=i,t[6]=l,t[7]=c):(i=t[5],l=t[6],c=t[7]);const r=i.length>0;let u;t[8]!==s||t[9]!==i?(u=async()=>{const P=(await s.callTool({name:"VIRTUAL_MCP_LAST_USED_LIST",arguments:{ids:i}})).structuredContent??{items:[]},m=new Map;for(const f of P.items)m.set(f.id,f);return m},t[8]=s,t[9]=i,t[10]=u):u=t[10];let d;return t[11]!==l||t[12]!==r||t[13]!==u?(d={queryKey:l,enabled:r,staleTime:3e4,queryFn:u},t[11]=l,t[12]=r,t[13]=u,t[14]=d):d=t[14],c(d)}function B(){const o=C.c(3),{org:t}=I();let e;o[0]!==t.id||o[1]!==t.slug?(e={connectionId:g,orgId:t.id,orgSlug:t.slug},o[0]=t.id,o[1]=t.slug,o[2]=e):e=o[2];const n=p(e);return _(t.id,"VIRTUAL_MCP",n)}export{B as a,h as b,x as c,k as d,O as e,w as f,E as g,v as u};
@@ -0,0 +1 @@
1
+ import{I as u}from"./use-infinite-scroll-DHeLsiAD.js";import{fg as i}from"./index-CAw6g9tV.js";function t(e,r){return i(e,u,r)}export{t as u};
@@ -0,0 +1 @@
1
+ import{I as s}from"./use-infinite-scroll-DHeLsiAD.js";import{fg as u,bU as n}from"./index-CAw6g9tV.js";function a(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{a as u};
@@ -1 +1 @@
1
- import{c as V,b as q,r as z,a as O,m as Y,e as $,j as t,P as I,K as J,t as Q,B as W}from"./index-Ds9_YQQm.js";import{C as G}from"./collection-table-wrapper-BrisTU0i.js";import{E as L}from"./empty-state-BJDGKBD3.js";import{S as H}from"./search-input-CfcUKbcR.js";import{A as X}from"./avatar-65M-tykE.js";import{B as D}from"./badge-BlkJw9ZT.js";import{u as Z}from"./use-debounced-value-CQvHGF7W.js";import{a as K}from"./admin-fetch-CCSvjTk1.js";import{f as ee}from"./format-time-BnbuEtat.js";import{g as se}from"./get-initials-D-f_fDFw.js";import"./table-BCojuEdb.js";import"./ArrowUp-DOewE1qv.js";import"./SearchMd-DjN-DKoK.js";import"./User01-mzLrMAfi.js";import"./differenceInSeconds-NQ4PDo0z.js";function ve(){const e=V.c(58),s=q(),[r,M]=z.useState("");let N;e[0]!==r?(N=r.trim(),e[0]=r,e[1]=N):N=e[1];const a=Z(N,300),{data:R}=O.useSession(),P=R?.user?.id;let n;e[2]!==a?(n=J.deploymentAdminUsers(a),e[2]=a,e[3]=n):n=e[3];let l;e[4]!==a?(l=()=>{const i=new URLSearchParams({limit:"100"});return a&&i.set("searchValue",a),K(`/api/_admin/users?${i}`)},e[4]=a,e[5]=l):l=e[5];let y;e[6]!==n||e[7]!==l?(y={queryKey:n,queryFn:l},e[6]=n,e[7]=l,e[8]=y):y=e[8];const{data:k,isLoading:_,isError:A}=Y(y);let C;e[9]===Symbol.for("react.memo_cache_sentinel")?(C=ie,e[9]=C):C=e[9];let w;e[10]!==s?(w={mutationFn:ae,onSuccess:C,onError:i=>{Q.error(i instanceof Error?i.message:s("admin.users.failedToImpersonate"))}},e[10]=s,e[11]=w):w=e[11];const E=$(w);let b;e[12]!==k?.users?(b=k?.users??[],e[12]=k?.users,e[13]=b):b=e[13];const B=b;let o;e[14]!==s?(o=s("admin.users.columnUser"),e[14]=s,e[15]=o):o=e[15];let m;e[16]!==s?(m=i=>t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx(X,{url:i.image??void 0,fallback:se(i.name),shape:"circle",size:"sm"}),t.jsxs("div",{className:"min-w-0",children:[t.jsx("div",{className:"text-sm font-medium text-foreground truncate",children:i.name||s("admin.users.unknown")}),t.jsx("div",{className:"text-sm text-muted-foreground truncate",children:i.email})]})]}),e[16]=s,e[17]=m):m=e[17];let d;e[18]!==o||e[19]!==m?(d={id:"user",header:o,render:m,cellClassName:"flex-1 min-w-0"},e[18]=o,e[19]=m,e[20]=d):d=e[20];let c;e[21]!==s?(c=s("admin.users.columnEmail"),e[21]=s,e[22]=c):c=e[22];let u;e[23]!==s?(u=i=>i.emailVerified?t.jsx(D,{variant:"outline",className:"text-success border-success/20",children:s("admin.users.verified")}):t.jsx(D,{variant:"outline",className:"text-muted-foreground",children:s("admin.users.unverified")}),e[23]=s,e[24]=u):u=e[24];let f;e[25]!==c||e[26]!==u?(f={id:"verified",header:c,render:u,cellClassName:"w-28 shrink-0"},e[25]=c,e[26]=u,e[27]=f):f=e[27];let p;e[28]!==s?(p=s("admin.users.columnCreated"),e[28]=s,e[29]=p):p=e[29];let h;e[30]!==p?(h={id:"created",header:p,render:te,cellClassName:"w-48 shrink-0"},e[30]=p,e[31]=h):h=e[31];let x;e[32]!==P||e[33]!==E||e[34]!==s?(x={id:"actions",header:"",render:i=>t.jsx(W,{variant:"outline",size:"sm",disabled:i.id===P||E.isPending,onClick:()=>E.mutate(i.id),children:s("admin.users.impersonate")}),cellClassName:"w-32 shrink-0"},e[32]=P,e[33]=E,e[34]=s,e[35]=x):x=e[35];let T;e[36]!==f||e[37]!==h||e[38]!==x||e[39]!==d?(T=[d,f,h,x],e[36]=f,e[37]=h,e[38]=x,e[39]=d,e[40]=T):T=e[40];const F=T;let j;e[41]!==s?(j=s("admin.users.searchPlaceholder"),e[41]=s,e[42]=j):j=e[42];let g;e[43]!==r||e[44]!==j?(g=t.jsx(H,{value:r,onChange:M,placeholder:j,className:"w-full md:w-[375px]"}),e[43]=r,e[44]=j,e[45]=g):g=e[45];let S;e[46]!==a||e[47]!==A||e[48]!==s?(S=A?t.jsx(L,{title:s("admin.users.failedToLoadTitle"),description:s("admin.users.failedToLoadDescription")}):t.jsx(L,{title:s("admin.users.noUsersFoundTitle"),description:a?s("admin.users.noUsersMatchSearch",{search:a}):s("admin.users.noUsersYet")}),e[46]=a,e[47]=A,e[48]=s,e[49]=S):S=e[49];let v;e[50]!==F||e[51]!==_||e[52]!==S||e[53]!==B?(v=t.jsx(G,{columns:F,data:B,isLoading:_,emptyState:S}),e[50]=F,e[51]=_,e[52]=S,e[53]=B,e[54]=v):v=e[54];let U;return e[55]!==g||e[56]!==v?(U=t.jsx(I,{children:t.jsx(I.Content,{children:t.jsx(I.Body,{children:t.jsxs("div",{className:"flex flex-col gap-6",children:[g,v]})})})}),e[55]=g,e[56]=v,e[57]=U):U=e[57],U}function te(e){return t.jsx("span",{className:"text-sm text-foreground",children:ee(e.createdAt)})}function ie(){window.location.href="/"}function ae(e){return K("/api/_admin/impersonate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({userId:e})})}export{ve as default};
1
+ import{c as V,b as q,r as z,a as O,m as Y,e as $,j as t,P as I,K as J,t as Q,B as W}from"./index-CAw6g9tV.js";import{C as G}from"./collection-table-wrapper-CSMTQGj2.js";import{E as L}from"./empty-state-L8hCXC--.js";import{S as H}from"./search-input-CFyqYOfd.js";import{A as X}from"./avatar-ayySA21l.js";import{B as D}from"./badge-BJg3YTbr.js";import{u as Z}from"./use-debounced-value-CozflcUh.js";import{a as K}from"./admin-fetch-CCSvjTk1.js";import{f as ee}from"./format-time-BnbuEtat.js";import{g as se}from"./get-initials-D-f_fDFw.js";import"./table-D_mk2-gB.js";import"./ArrowUp-CxKA4POx.js";import"./SearchMd-C1loDEwy.js";import"./User01-8XeMepHg.js";import"./differenceInSeconds-NQ4PDo0z.js";function ve(){const e=V.c(58),s=q(),[r,M]=z.useState("");let N;e[0]!==r?(N=r.trim(),e[0]=r,e[1]=N):N=e[1];const a=Z(N,300),{data:R}=O.useSession(),P=R?.user?.id;let n;e[2]!==a?(n=J.deploymentAdminUsers(a),e[2]=a,e[3]=n):n=e[3];let l;e[4]!==a?(l=()=>{const i=new URLSearchParams({limit:"100"});return a&&i.set("searchValue",a),K(`/api/_admin/users?${i}`)},e[4]=a,e[5]=l):l=e[5];let y;e[6]!==n||e[7]!==l?(y={queryKey:n,queryFn:l},e[6]=n,e[7]=l,e[8]=y):y=e[8];const{data:k,isLoading:_,isError:A}=Y(y);let C;e[9]===Symbol.for("react.memo_cache_sentinel")?(C=ie,e[9]=C):C=e[9];let w;e[10]!==s?(w={mutationFn:ae,onSuccess:C,onError:i=>{Q.error(i instanceof Error?i.message:s("admin.users.failedToImpersonate"))}},e[10]=s,e[11]=w):w=e[11];const E=$(w);let b;e[12]!==k?.users?(b=k?.users??[],e[12]=k?.users,e[13]=b):b=e[13];const B=b;let o;e[14]!==s?(o=s("admin.users.columnUser"),e[14]=s,e[15]=o):o=e[15];let m;e[16]!==s?(m=i=>t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx(X,{url:i.image??void 0,fallback:se(i.name),shape:"circle",size:"sm"}),t.jsxs("div",{className:"min-w-0",children:[t.jsx("div",{className:"text-sm font-medium text-foreground truncate",children:i.name||s("admin.users.unknown")}),t.jsx("div",{className:"text-sm text-muted-foreground truncate",children:i.email})]})]}),e[16]=s,e[17]=m):m=e[17];let d;e[18]!==o||e[19]!==m?(d={id:"user",header:o,render:m,cellClassName:"flex-1 min-w-0"},e[18]=o,e[19]=m,e[20]=d):d=e[20];let c;e[21]!==s?(c=s("admin.users.columnEmail"),e[21]=s,e[22]=c):c=e[22];let u;e[23]!==s?(u=i=>i.emailVerified?t.jsx(D,{variant:"outline",className:"text-success border-success/20",children:s("admin.users.verified")}):t.jsx(D,{variant:"outline",className:"text-muted-foreground",children:s("admin.users.unverified")}),e[23]=s,e[24]=u):u=e[24];let f;e[25]!==c||e[26]!==u?(f={id:"verified",header:c,render:u,cellClassName:"w-28 shrink-0"},e[25]=c,e[26]=u,e[27]=f):f=e[27];let p;e[28]!==s?(p=s("admin.users.columnCreated"),e[28]=s,e[29]=p):p=e[29];let h;e[30]!==p?(h={id:"created",header:p,render:te,cellClassName:"w-48 shrink-0"},e[30]=p,e[31]=h):h=e[31];let x;e[32]!==P||e[33]!==E||e[34]!==s?(x={id:"actions",header:"",render:i=>t.jsx(W,{variant:"outline",size:"sm",disabled:i.id===P||E.isPending,onClick:()=>E.mutate(i.id),children:s("admin.users.impersonate")}),cellClassName:"w-32 shrink-0"},e[32]=P,e[33]=E,e[34]=s,e[35]=x):x=e[35];let T;e[36]!==f||e[37]!==h||e[38]!==x||e[39]!==d?(T=[d,f,h,x],e[36]=f,e[37]=h,e[38]=x,e[39]=d,e[40]=T):T=e[40];const F=T;let j;e[41]!==s?(j=s("admin.users.searchPlaceholder"),e[41]=s,e[42]=j):j=e[42];let g;e[43]!==r||e[44]!==j?(g=t.jsx(H,{value:r,onChange:M,placeholder:j,className:"w-full md:w-[375px]"}),e[43]=r,e[44]=j,e[45]=g):g=e[45];let S;e[46]!==a||e[47]!==A||e[48]!==s?(S=A?t.jsx(L,{title:s("admin.users.failedToLoadTitle"),description:s("admin.users.failedToLoadDescription")}):t.jsx(L,{title:s("admin.users.noUsersFoundTitle"),description:a?s("admin.users.noUsersMatchSearch",{search:a}):s("admin.users.noUsersYet")}),e[46]=a,e[47]=A,e[48]=s,e[49]=S):S=e[49];let v;e[50]!==F||e[51]!==_||e[52]!==S||e[53]!==B?(v=t.jsx(G,{columns:F,data:B,isLoading:_,emptyState:S}),e[50]=F,e[51]=_,e[52]=S,e[53]=B,e[54]=v):v=e[54];let U;return e[55]!==g||e[56]!==v?(U=t.jsx(I,{children:t.jsx(I.Content,{children:t.jsx(I.Body,{children:t.jsxs("div",{className:"flex flex-col gap-6",children:[g,v]})})})}),e[55]=g,e[56]=v,e[57]=U):U=e[57],U}function te(e){return t.jsx("span",{className:"text-sm text-foreground",children:ee(e.createdAt)})}function ie(){window.location.href="/"}function ae(e){return K("/api/_admin/impersonate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({userId:e})})}export{ve as default};
@@ -1 +1 @@
1
- import{c as K,b as X,r as Z,j as n,l as rt,a1 as ut,a4 as ht,B as tt,a2 as xt}from"./index-Ds9_YQQm.js";import{y as gt,a4 as at,aF as bt}from"./agent-icon-BQA3BxVU.js";import{i as vt}from"./ChevronRight-BkCMOd4C.js";import{L as yt}from"./label-B8I1KhDR.js";import{S as lt}from"./scroll-area-BSFqWPow.js";import{S as jt}from"./switch-DXic8Uh_.js";import{V as Tt}from"./view-mode-toggle-D5oruA9V.js";import{bv as ct,bw as mt,bx as Nt,by as _t,bz as kt,bA as U,bB as wt}from"./index-CeMxrEOa.js";import"./AlertCircle-CjhgF3vK.js";import"./Tool01-BuNvOC1h.js";import"./ArrowUp-DOewE1qv.js";import"./ArrowLeft-DjieScGW.js";import"./Tool02-DpNDBEil.js";import"./XCircle-D0IscWfB.js";import"./TrendUp01-DaIUMzmz.js";import"./ZoomOut-CXTlcyBa.js";import"./Users03-B7DS8i2Z.js";import"./CheckCircle-iUtdabgI.js";import"./Check-D5XzCZva.js";import"./ChevronUp-rYvSsRjP.js";import"./ChevronSelectorVertical-C7ueTKUo.js";import"./DotsVertical-D1_N6gFC.js";import"./UserSquare-vGUnOUu5.js";import"./Copy01-D5UYujbX.js";import"./CreditCard01-3vvlQGFk.js";import"./Download01-hGLAd0mm.js";import"./Settings02-CniOGh2R.js";import"./Eye-msF77noH.js";import"./Share07-BJIuab_2.js";import"./GitBranch01-CfKitZQX.js";import"./Globe01-Cmz_gJoO.js";import"./XClose-Bw26wZe2.js";import"./HardDrive-CdioWthT.js";import"./Image01-Db6iL1L-.js";import"./Key01-D2vuY6hS.js";import"./Link01-BkSSEygv.js";import"./LinkExternal01-C9li9a1P.js";import"./Monitor01-BxqJ2lfk.js";import"./Sun-Ccd3Vvd3.js";import"./Package-sAm7St0O.js";import"./Palette-D3vbkhAB.js";import"./Play-4YhTSJF0.js";import"./Plus-BKIxzM6s.js";import"./SearchMd-DjN-DKoK.js";import"./Shield01-Bi6Wt_Bu.js";import"./Stars01-DF4f96O4.js";import"./Trash01-DXHCqEe6.js";import"./Upload01-CPO6AwG4.js";import"./User01-mzLrMAfi.js";import"./Users01-Dtk1qxXT.js";import"./Zap-BxV_wNn9.js";import"./select-YGToc2er.js";import"./chat-context-DKWUJJQk.js";import"./use-panel-navigate-Dev670TY.js";import"./use-destination-route-DzHgzZDH.js";import"./thread-route-CYj4FJe7.js";import"./dialog-B49rrPcE.js";import"./constants-DNuUCxmW.js";import"./thread-intent-VOG1y4W9.js";import"./slugify-CEUa2lfQ.js";import"./hooks-BduZvxu6.js";import"./use-mcp-client-BzmGxRuq.js";import"./auth-cfubGdj3.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./decopilot-sse-pool-CZGi6xG2.js";import"./task-board-BILXt1or.js";import"./schema-CSzKWh-e.js";import"./use-is-desktop-app-BNujXJc_.js";import"./use-virtual-mcp-C2SUHuV8.js";import"./use-ai-providers-BtViIKA8.js";import"./location-oTTXFrSF.js";import"./use-decopilot-events-DDJx3VDP.js";import"./use-organization-settings-CpiPY2sA.js";import"./automation-runs-DQXBuaQh.js";import"./useInfiniteQuery-n7OKFVHh.js";import"./use-infinite-scroll-CpGR8CTM.js";import"./use-connection-D-P-oJeL.js";import"./table-BCojuEdb.js";import"./empty-state-BJDGKBD3.js";import"./use-members-DZQLsJGr.js";import"./use-org-auth-client-Cp3G9WC1.js";import"./use-automations-Dd66jMcH.js";import"./useSuspenseInfiniteQuery-BpKA0laV.js";import"./avatar-65M-tykE.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-D7YVH85a.js";import"./markdown-Bj8bPaFr.js";import"./monaco-editor-B806dXX7.js";import"./editor-BCbV0AET.js";import"./types-D8EuE9Mj.js";import"./shell-layout-BStzIFKM.js";import"./use-project-scope-BAnUVA3r.js";import"./github-repo-BpKUwJal.js";import"./command-CiqpOqS9.js";import"./index-Dq833TiR.js";import"./required-auth-layout-BIgCtLKM.js";import"./use-org-sso-CWXniPVe.js";import"./integration-icon-Dxw_FbSX.js";import"./use-navigate-to-agent-LzLdBs0e.js";import"./use-mcp-prompts-B9ZjCxIV.js";import"./form-DW1iRzK_.js";import"./input-CBtN_PPx.js";import"./file-type-icon-DOGxWp7T.js";import"./drawer-CXWN5aFX.js";import"./collection-search-7lVLJWOB.js";import"./use-mcp-tools-BElJHPUX.js";import"./tabs-CgB53moJ.js";import"./toggle-group-B4zTvBSA.js";import"./task-route-DDbV2QN2.js";import"./toolbar-icon-button-BI33A1DT.js";import"./popover-BKkJ1_Xg.js";import"./github-repo-picker-DBMeVgPY.js";import"./use-debounced-value-CQvHGF7W.js";import"./authenticate-and-persist-oauth-BwmApcxP.js";import"./mcp-oauth-CL6Q-kht.js";import"./extract-connection-data-CkOzL4EZ.js";import"./metadata-dUsYcpuu.js";import"./connection-LSXDLhvc.js";import"./provision-repo-scoped-github-connection-WQFARyHG.js";import"./connection-card-CExTxSsL.js";import"./use-registry-connections-RuRoPZjO.js";import"./retry-CErkP7V6.js";import"./connection-slug-CITJ0kGN.js";import"./textarea-BZQ-H9le.js";import"./connection-form-helpers-CuPBBiAF.js";import"./collection-tabs-D9skai09.js";import"./badge-BlkJw9ZT.js";import"./dropdown-menu-DIF5PQaU.js";import"./get-initials-D-f_fDFw.js";import"./select-model-Gm2aIKeG.js";import"./checkbox-C6unHBB5.js";import"./ai-providers-logos-DD3qZ33J.js";import"./folder-icon-CrwX1TKL.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-a-r3lT4g.js";import"./toolbar-CG1eQp71.js";import"./use-file-configs-Etx2upQ_.js";import"./site-slug-uya6Wp4-.js";import"./skill-preview-BgXO28GZ.js";import"./pt-BR-CLy76QW2.js";import"./alert-dialog-C2u5xYM5.js";import"./use-debounced-autosave-dNIsOT-E.js";import"./search-input-CfcUKbcR.js";import"./use-mcp-auth-status-B1LLuxQZ.js";import"./use-secrets-BZQygYLJ.js";import"./client-icons-DzX9Vbzz.js";import"./connect-layout-BjHZtb1k.js";import"./self-tool-result-D1fWp3qG.js";import"./track-B9IGnryN.js";import"./use-tags-CziB3qDr.js";import"./breadcrumb-1tRgR6ke.js";import"./safe-image-url-D5z803Ot.js";import"./automation-list-row-tSPFX-ed.js";import"./site-error--i37Vnuw.js";import"./cards-BQ5m1ZaL.js";const Et=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),St=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Ct=new Date(-864e13),Mt=new Date(864e13),At=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,$t=/\/flags\/multivariate\.ts$/;function Lt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function Rt(e){if(!e||typeof e!="object")return null;const{start:t,end:r}=e,o=typeof t=="string",s=typeof r=="string";if(!o&&!s)return null;const i=o?new Date(t):Ct,a=s?new Date(r):Mt;return Number.isNaN(i.getTime())||Number.isNaN(a.getTime())||o&&s&&a.getTime()<=i.getTime()?null:{start:i,end:a,openStart:!o,openEnd:!s}}function pt(e,t){if(!e||typeof e!="object")return;const r=e.__resolveType;if(typeof r=="string"){if(Et.has(r)){const o=Rt(e);o&&t.push(o);return}if(St.has(r)){const o=e.matchers;if(Array.isArray(o))for(const s of o)pt(s,t)}}}function Dt(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!At.test(t))return!1;const r=e.variants;return Array.isArray(r)}function Ot(e){if(typeof e=="string"){const c=e.trim();if(c.length===0)return null;try{const m=new URL(c).pathname.split("/").filter(Boolean),p=m[m.length-1];if(p)return decodeURIComponent(p)}catch{}return c.length>80?`${c.slice(0,77)}…`:c}if(!e||typeof e!="object")return null;const t=e,r=t.config,s=t.desktop?.media,i=[t.title,t.name,t.label,t.alt,r?.title,r?.name,r?.typeAlert?.message,s?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const c of i)if(typeof c=="string"&&c.trim().length>0)return c.trim();const a=t.__resolveType;if(typeof a=="string"){const l=(a.split("/").pop()??a).replace(/\.(tsx?|jsx?)$/i,"");if(l.length>0)return l}return null}function Pt(e){const t=[];for(let r=0;r<e.length;r++){const o=e[r];typeof o=="number"?t.length>0?t[t.length-1]+=`[${o}]`:t.push(`[${o}]`):t.push(o)}return t.join(" · ")}function Q(e,t,r,o,s){if(Dt(e)){const i=e.variants,a=e.__resolveType,c=$t.test(a)?"":Pt(o);i.forEach((l,m)=>{if(!l||typeof l!="object")return;const p=l,h=[];if(pt(p.rule,h),h.length===0)return;const g=Ot(p.value)??(c||r);for(const u of h)s.push({blockKey:t,blockLabel:r,innerPath:c,variantIndex:m,start:u.start,end:u.end,openStart:u.openStart,openEnd:u.openEnd,label:g,flagResolveType:a})});for(let l=0;l<i.length;l++){const m=i[l];m&&typeof m=="object"&&Q(m.value,t,r,[...o,"variants",l,"value"],s)}return}if(Array.isArray(e)){for(let i=0;i<e.length;i++)Q(e[i],t,r,[...o,i],s);return}if(e&&typeof e=="object")for(const[i,a]of Object.entries(e))i!=="__resolveType"&&Q(a,t,r,[...o,i],s)}function It(e){if(!e)return[];const t=[];for(const[r,o]of Object.entries(e))Q(o,r,Lt(r),[],t);return t.sort((r,o)=>r.start.getTime()-o.start.getTime())}function Vt(e){const t=[...new Set(e)].sort(),r=new Map;return t.forEach((o,s)=>{const i=s*137.508%360;r.set(o,{bg:`oklch(0.62 0.14 ${i})`,text:"white",border:`oklch(0.50 0.14 ${i})`})}),r}const Bt={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function dt(e,t){return e.get(t)??Bt}const ot=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Ht(e,t){const r=e.openStart?t("sandbox.variantCalendar.always"):ot.format(e.start),o=e.openEnd?t("sandbox.variantCalendar.ongoing"):ot.format(e.end);return`${r} → ${o}`}function Ft(e){const t=K.c(18),{variant:r}=e,o=X();let s;t[0]!==r.blockLabel?(s=n.jsx("div",{className:"font-semibold",children:r.blockLabel}),t[0]=r.blockLabel,t[1]=s):s=t[1];let i;t[2]!==r.innerPath?(i=r.innerPath&&n.jsx("div",{className:"text-muted-foreground",children:r.innerPath}),t[2]=r.innerPath,t[3]=i):i=t[3];let a;t[4]!==r.blockLabel||t[5]!==r.innerPath||t[6]!==r.label?(a=r.label!==r.blockLabel&&r.label!==r.innerPath&&n.jsx("div",{className:"text-muted-foreground",children:r.label}),t[4]=r.blockLabel,t[5]=r.innerPath,t[6]=r.label,t[7]=a):a=t[7];let c;t[8]!==o||t[9]!==r?(c=Ht(r,o),t[8]=o,t[9]=r,t[10]=c):c=t[10];let l;t[11]!==c?(l=n.jsx("div",{className:"mt-1",children:c}),t[11]=c,t[12]=l):l=t[12];let m;return t[13]!==s||t[14]!==i||t[15]!==a||t[16]!==l?(m=n.jsx(xt,{children:n.jsxs("div",{className:"text-xs",children:[s,i,a,l]})}),t[13]=s,t[14]=i,t[15]=a,t[16]=l,t[17]=m):m=t[17],m}const nt=16;function zt(e,t){const r=e?"transparent":"#000 0",o=t?"transparent":"#000 100%";if(!(!e&&!t))return`linear-gradient(to right, ${r}, #000 ${nt}px, #000 calc(100% - ${nt}px), ${o})`}function ft(e){const t=K.c(26),{variant:r,color:o,style:s,children:i,fadeStart:a,fadeEnd:c}=e,l=a===void 0?!1:a,m=c===void 0?!1:c;let p;t[0]!==m||t[1]!==l?(p=zt(l,m),t[0]=m,t[1]=l,t[2]=p):p=t[2];const h=p;let f;t[3]!==l?(f=l&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t[3]=l,t[4]=f):f=t[4];let g;t[5]!==m?(g=m&&{borderTopRightRadius:0,borderBottomRightRadius:0},t[5]=m,t[6]=g):g=t[6];let u;t[7]!==h?(u=h&&{maskImage:h,WebkitMaskImage:h},t[7]=h,t[8]=u):u=t[8];let x;t[9]!==o.bg||t[10]!==o.text||t[11]!==s||t[12]!==f||t[13]!==g||t[14]!==u?(x={background:o.bg,color:o.text,borderRadius:4,...f,...g,...u,...s},t[9]=o.bg,t[10]=o.text,t[11]=s,t[12]=f,t[13]=g,t[14]=u,t[15]=x):x=t[15];let b;t[16]!==i?(b=n.jsx("span",{className:"truncate",children:i}),t[16]=i,t[17]=b):b=t[17];let E;t[18]!==x||t[19]!==b?(E=n.jsx(ut,{asChild:!0,children:n.jsx("div",{className:"absolute flex items-center px-2 text-[11px] font-medium truncate cursor-default",style:x,children:b})}),t[18]=x,t[19]=b,t[20]=E):E=t[20];let T;t[21]!==r?(T=n.jsx(Ft,{variant:r}),t[21]=r,t[22]=T):T=t[22];let d;return t[23]!==T||t[24]!==E?(d=n.jsxs(ht,{children:[E,T]}),t[23]=T,t[24]=E,t[25]=d):d=t[25],d}function tn(e){const t=K.c(72),{decofile:r}=e,o=X(),[s,i]=Z.useState("calendar"),[a,c]=Z.useState(Kt),[l,m]=Z.useState(!1);let p,h,f;if(t[0]!==r||t[1]!==l){const I=It(r);p=I.filter(Ut).length,f=l?I:I.filter(Gt),h=Vt(f.map(Wt)),t[0]=r,t[1]=l,t[2]=p,t[3]=h,t[4]=f}else p=t[2],h=t[3],f=t[4];const g=h;let u;t[5]===Symbol.for("react.memo_cache_sentinel")?(u=()=>c(mt(new Date)),t[5]=u):u=t[5];const x=u;let b;t[6]!==s?(b=()=>c(I=>s==="calendar"?U(I,-1):U(I,-3)),t[6]=s,t[7]=b):b=t[7];const E=b;let T;t[8]!==s?(T=()=>c(I=>s==="calendar"?U(I,1):U(I,3)),t[8]=s,t[9]=T):T=t[9];const d=T;let v;t[10]!==o?(v=o("sandbox.variantCalendar.today"),t[10]=o,t[11]=v):v=t[11];let y;t[12]!==v?(y=n.jsx(tt,{variant:"outline",size:"sm",onClick:x,children:v}),t[12]=v,t[13]=y):y=t[13];let N;t[14]!==o?(N=o("sandbox.variantCalendar.previous"),t[14]=o,t[15]=N):N=t[15];let A;t[16]===Symbol.for("react.memo_cache_sentinel")?(A=n.jsx(gt,{size:16}),t[16]=A):A=t[16];let _;t[17]!==E||t[18]!==N?(_=n.jsx(tt,{variant:"ghost",size:"icon",className:"size-8",onClick:E,"aria-label":N,children:A}),t[17]=E,t[18]=N,t[19]=_):_=t[19];let k;t[20]!==o?(k=o("sandbox.variantCalendar.next"),t[20]=o,t[21]=k):k=t[21];let C;t[22]===Symbol.for("react.memo_cache_sentinel")?(C=n.jsx(vt,{size:16}),t[22]=C):C=t[22];let $;t[23]!==d||t[24]!==k?($=n.jsx(tt,{variant:"ghost",size:"icon",className:"size-8",onClick:d,"aria-label":k,children:C}),t[23]=d,t[24]=k,t[25]=$):$=t[25];const L=ct[a.getMonth()];let M;t[26]!==a?(M=a.getFullYear(),t[26]=a,t[27]=M):M=t[27];let w;t[28]!==L||t[29]!==M?(w=n.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[L," ",M]}),t[28]=L,t[29]=M,t[30]=w):w=t[30];let j;t[31]!==$||t[32]!==w||t[33]!==y||t[34]!==_?(j=n.jsxs("div",{className:"flex items-center gap-2",children:[y,_,$,w]}),t[31]=$,t[32]=w,t[33]=y,t[34]=_,t[35]=j):j=t[35];let R;t[36]!==p||t[37]!==l||t[38]!==o?(R=p>0&&n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(jt,{id:"show-ongoing",checked:l,onCheckedChange:m}),n.jsx(yt,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:o("sandbox.variantCalendar.showOngoing",{count:p})})]}),t[36]=p,t[37]=l,t[38]=o,t[39]=R):R=t[39];let H;t[40]===Symbol.for("react.memo_cache_sentinel")?(H=n.jsx(at,{}),t[40]=H):H=t[40];let V;t[41]!==o?(V=o("sandbox.variantCalendar.calendarMode"),t[41]=o,t[42]=V):V=t[42];let S;t[43]!==V?(S={value:"calendar",icon:H,label:V},t[43]=V,t[44]=S):S=t[44];let F;t[45]===Symbol.for("react.memo_cache_sentinel")?(F=n.jsx(bt,{}),t[45]=F):F=t[45];let D;t[46]!==o?(D=o("sandbox.variantCalendar.timelineMode"),t[46]=o,t[47]=D):D=t[47];let O;t[48]!==D?(O={value:"timeline",icon:F,label:D},t[48]=D,t[49]=O):O=t[49];let P;t[50]!==S||t[51]!==O?(P=[S,O],t[50]=S,t[51]=O,t[52]=P):P=t[52];let B;t[53]!==P||t[54]!==s?(B=n.jsx(Tt,{value:s,onValueChange:i,options:P}),t[53]=P,t[54]=s,t[55]=B):B=t[55];let z;t[56]!==R||t[57]!==B?(z=n.jsxs("div",{className:"flex items-center gap-4",children:[R,B]}),t[56]=R,t[57]=B,t[58]=z):z=t[58];let W;t[59]!==j||t[60]!==z?(W=n.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[j,z]}),t[59]=j,t[60]=z,t[61]=W):W=t[61];let G;t[62]!==g||t[63]!==a||t[64]!==p||t[65]!==l||t[66]!==f||t[67]!==s?(G=f.length===0?n.jsx(Yt,{hiddenOngoing:l?0:p}):s==="calendar"?n.jsx(Jt,{monthStart:a,variants:f,colorMap:g}):n.jsx(te,{monthStart:a,variants:f,colorMap:g}),t[62]=g,t[63]=a,t[64]=p,t[65]=l,t[66]=f,t[67]=s,t[68]=G):G=t[68];let q;return t[69]!==W||t[70]!==G?(q=n.jsxs("div",{className:"flex h-full w-full flex-col",children:[W,G]}),t[69]=W,t[70]=G,t[71]=q):q=t[71],q}function Wt(e){return e.blockKey}function Gt(e){return!e.openEnd}function Ut(e){return e.openEnd}function Kt(){return mt(new Date)}function Yt(e){const t=K.c(4),{hiddenOngoing:r}=e,o=r===void 0?0:r,s=X();let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=n.jsx(at,{size:24,className:"text-muted-foreground/60"}),t[0]=i):i=t[0];let a;return t[1]!==o||t[2]!==s?(a=n.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[i,o>0?n.jsxs(n.Fragment,{children:[n.jsx("div",{children:s("sandbox.variantCalendar.noDatedVariants")}),n.jsx("div",{className:"text-xs text-muted-foreground/80",children:s("sandbox.variantCalendar.hiddenOngoingVariants",{count:o})})]}):n.jsxs(n.Fragment,{children:[n.jsx("div",{children:s("sandbox.variantCalendar.noScheduledVariants")}),n.jsx("div",{className:"text-xs text-muted-foreground/80",children:s("sandbox.variantCalendar.dateMatcherInfo")})]})]}),t[1]=o,t[2]=s,t[3]=a):a=t[3],a}const et=20,it=2,st=28,qt=6;function Jt(e){const t=K.c(17),{monthStart:r,variants:o,colorMap:s}=e;let i,a,c,l,m;if(t[0]!==s||t[1]!==r||t[2]!==o){const f=Nt(r),g=_t(new Date);i=lt,m="flex-1 min-h-0",a="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(c=n.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:wt.map(Xt)}),t[8]=c):c=t[8],l=f.map((u,x)=>{const b=kt(u,o),E=b.reduce(Qt,0),T=st+E*(et+it)+8;return n.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:T},children:[u.map((d,v)=>{const y=d.getMonth()===r.getMonth(),N=d.getTime()===g.getTime();return n.jsx("div",{className:rt("border-r last:border-r-0 px-2 pt-1.5 text-xs",y?"bg-background":"bg-muted/30 text-muted-foreground"),children:n.jsx("span",{className:rt("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",N&&"bg-primary text-primary-foreground font-semibold"),children:d.getDate()})},v)}),b.map((d,v)=>{const y=dt(s,d.variant.blockKey),N=st+d.lane*(et+it),A=d.leftUnits/7*100,_=d.widthUnits/7*100,k=d.variant.openStart&&x===0,C=d.variant.openEnd&&x===f.length-1;return n.jsxs(ft,{variant:d.variant,color:y,fadeStart:k,fadeEnd:C,style:{top:N,left:`calc(${A}% + 2px)`,width:`calc(${_}% - 4px)`,minWidth:qt,height:et},children:[d.variant.blockLabel,d.variant.label!==d.variant.blockLabel&&n.jsxs("span",{className:"opacity-70",children:[" · ",d.variant.label]})]},`${x}-${v}`)})]},x)}),t[0]=s,t[1]=r,t[2]=o,t[3]=i,t[4]=a,t[5]=c,t[6]=l,t[7]=m}else i=t[3],a=t[4],c=t[5],l=t[6],m=t[7];let p;t[9]!==a||t[10]!==c||t[11]!==l?(p=n.jsxs("div",{className:a,children:[c,l]}),t[9]=a,t[10]=c,t[11]=l,t[12]=p):p=t[12];let h;return t[13]!==i||t[14]!==m||t[15]!==p?(h=n.jsx(i,{className:m,children:p}),t[13]=i,t[14]=m,t[15]=p,t[16]=h):h=t[16],h}function Qt(e,t){return Math.max(e,t.lane+1)}function Xt(e){return n.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const J=4,Zt=32,Y=240;function te(e){const t=K.c(23),{monthStart:r,variants:o,colorMap:s}=e,i=r,a=U(r,J),c=new Date,l=new Map;for(const w of o){const j=l.get(w.blockKey)??[];j.push(w),l.set(w.blockKey,j)}const m=Array.from(l.entries()).sort(oe),p=a.getTime()-i.getTime(),h=w=>(Math.max(i.getTime(),Math.min(a.getTime(),w.getTime()))-i.getTime())/p*100;let f;t[0]!==i?(f=(w,j)=>U(i,j),t[0]=i,t[1]=f):f=t[1];const g=Array.from({length:J},f),u=c.getTime()>=i.getTime()&&c.getTime()<=a.getTime()?h(c):null,x=X(),b=lt,E="flex-1 min-h-0",T="min-w-[900px] relative";let d;t[2]===Symbol.for("react.memo_cache_sentinel")?(d={width:Y},t[2]=d):d=t[2];let v;t[3]!==x?(v=x("sandbox.variantCalendar.variantBlock"),t[3]=x,t[4]=v):v=t[4];let y;t[5]!==v?(y=n.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:d,children:v}),t[5]=v,t[6]=y):y=t[6];let N;t[7]===Symbol.for("react.memo_cache_sentinel")?(N={gridTemplateColumns:`repeat(${J}, minmax(0, 1fr))`},t[7]=N):N=t[7];const A=g.map(re);let _;t[8]!==A?(_=n.jsx("div",{className:"flex-1 grid",style:N,children:A}),t[8]=A,t[9]=_):_=t[9];let k;t[10]!==y||t[11]!==_?(k=n.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[y,_]}),t[10]=y,t[11]=_,t[12]=k):k=t[12];let C;t[13]!==x||t[14]!==u?(C=u!==null&&n.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${Y}px + (100% - ${Y}px) * ${u} / 100)`},children:n.jsx("span",{className:"absolute -top-0.5 -translate-x-1/2 rounded-sm bg-primary px-1.5 py-px text-[10px] font-medium text-primary-foreground",children:x("sandbox.variantCalendar.todayLabel")})}),t[13]=x,t[14]=u,t[15]=C):C=t[15];const $=m.map(w=>{const[j,R]=w,H=dt(s,j),V=R[0]?.blockLabel??j;return n.jsxs("div",{children:[n.jsx("div",{className:"flex items-center bg-muted/40 border-b text-xs font-semibold uppercase tracking-wide text-muted-foreground",style:{height:28},children:n.jsx("div",{className:"px-3 truncate",style:{width:Y},children:V})}),R.map((S,F)=>n.jsxs("div",{className:"flex border-b items-center",style:{height:Zt},children:[n.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:Y},children:[n.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:H.bg}}),n.jsx("span",{className:"truncate text-foreground/80",children:S.label})]}),n.jsxs("div",{className:"relative flex-1 h-full",children:[n.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${J}, minmax(0, 1fr))`},children:g.map(ee)}),(()=>{const D=Math.max(S.start.getTime(),i.getTime()),O=Math.min(S.end.getTime(),a.getTime());if(O<=D)return null;const P=h(new Date(D)),B=h(new Date(O))-P;return n.jsx(ft,{variant:S,color:H,fadeStart:S.openStart,fadeEnd:S.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${P}%`,width:`calc(${B}% - 2px)`,height:22},children:S.label})})()]})]},F))]},j)});let L;t[16]!==k||t[17]!==C||t[18]!==$?(L=n.jsxs("div",{className:T,children:[k,C,$]}),t[16]=k,t[17]=C,t[18]=$,t[19]=L):L=t[19];let M;return t[20]!==b||t[21]!==L?(M=n.jsx(b,{className:E,children:L}),t[20]=b,t[21]=L,t[22]=M):M=t[22],M}function ee(e,t){return n.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function re(e,t){return n.jsxs("div",{className:"px-2 py-2 text-xs uppercase tracking-wide text-muted-foreground border-r last:border-r-0",children:[ct[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function oe(e,t){return e[0].localeCompare(t[0])}export{tn as VariantCalendar};
1
+ import{c as K,b as X,r as Z,j as n,l as rt,a1 as ut,a4 as ht,B as tt,a2 as xt}from"./index-CAw6g9tV.js";import{y as gt,a4 as at,aF as bt}from"./agent-icon-Dsw04fQF.js";import{i as vt}from"./ChevronRight-CKftPemQ.js";import{L as yt}from"./label-ByckMHtZ.js";import{S as lt}from"./scroll-area-BI805ul_.js";import{S as jt}from"./switch-DlPMc1e_.js";import{V as Tt}from"./view-mode-toggle-Ct7J-xLH.js";import{bv as ct,bw as mt,bx as Nt,by as _t,bz as kt,bA as U,bB as wt}from"./index-DH6qLcGa.js";import"./AlertCircle-CG7tfapy.js";import"./Tool01-CtOHcy0Y.js";import"./ArrowUp-CxKA4POx.js";import"./ArrowLeft-Dexv6rHk.js";import"./Tool02-DHxIusmd.js";import"./XCircle-DZJkY1-f.js";import"./TrendUp01-BctNF4vg.js";import"./ZoomOut-D8t79aO2.js";import"./Users03-cesUeOsp.js";import"./CheckCircle-BnpxIwzg.js";import"./Check-Jn0qXgT0.js";import"./ChevronUp-BCwuiyHj.js";import"./ChevronSelectorVertical-BPOo032l.js";import"./DotsVertical-C65YDOa_.js";import"./UserSquare-BEv1iIj5.js";import"./Copy01-jXW2eGyY.js";import"./CreditCard01-Zn4AjX46.js";import"./Download01-BpcIjY9x.js";import"./Settings02-DfFNQquZ.js";import"./Eye-DvBjB5D4.js";import"./Share07-8oXDBqwk.js";import"./GitBranch01-Bde_Ik_K.js";import"./Globe01-D2uoGclE.js";import"./XClose-mJWP0IZB.js";import"./HardDrive-CBqO3DS3.js";import"./Image01-0uExgWAI.js";import"./Key01-BiKWCM1S.js";import"./Link01-C7a_h6ys.js";import"./LinkExternal01-D_IXdPPU.js";import"./Monitor01-CKYtARge.js";import"./Sun-N_eYVUUU.js";import"./Package-D0PXqO6P.js";import"./Palette-CQVEzzhe.js";import"./Play-CONIoWIl.js";import"./Plus-D7VA57q5.js";import"./SearchMd-C1loDEwy.js";import"./Shield01-CrPC_5gY.js";import"./Stars01-BTmtR5If.js";import"./Trash01-CHla-FrA.js";import"./Upload01-VP9EBYtl.js";import"./User01-8XeMepHg.js";import"./Users01-CvPFHBcf.js";import"./Zap-JQtzyV8B.js";import"./select-Bnv10Fl8.js";import"./chat-context-ffF_r7RU.js";import"./use-panel-navigate-9qdFpFC-.js";import"./use-destination-route-C5lOfatk.js";import"./thread-route-CxY5TjeM.js";import"./dialog-DDd8wUS7.js";import"./constants-DNuUCxmW.js";import"./thread-intent-C3PV-LRn.js";import"./slugify-CEUa2lfQ.js";import"./hooks-J2gbnuVW.js";import"./use-mcp-client-BJohqqSd.js";import"./auth-Ctf1zdSk.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./decopilot-sse-pool-Cp5pr9Ve.js";import"./task-board-DHq8t-_N.js";import"./schema-BoK0jTZh.js";import"./use-is-desktop-app-BNujXJc_.js";import"./use-virtual-mcp-B2TPjUHz.js";import"./use-ai-providers-CiO6eVCB.js";import"./location-oTTXFrSF.js";import"./use-decopilot-events-Bs4lGo6F.js";import"./use-organization-settings-Dh58cpUx.js";import"./automation-runs-BP4svOKv.js";import"./useInfiniteQuery-Nq5i14p1.js";import"./use-infinite-scroll-DHeLsiAD.js";import"./use-connection-GI8Focwr.js";import"./table-D_mk2-gB.js";import"./empty-state-L8hCXC--.js";import"./use-members-C7ip6O59.js";import"./use-org-auth-client-DVDqxM9c.js";import"./use-automations-VoPscQxA.js";import"./useSuspenseInfiniteQuery-ByY64uZl.js";import"./avatar-ayySA21l.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-C0nulXNR.js";import"./markdown-C1VdpJ5j.js";import"./monaco-editor-DhRI2q0D.js";import"./editor-B0M9C5II.js";import"./types-B2KcVByH.js";import"./shell-layout-X5sLDjab.js";import"./use-project-scope-NvD131m4.js";import"./github-repo-BpKUwJal.js";import"./command-CEQjEkRa.js";import"./index-DU91evk-.js";import"./required-auth-layout-632Nlbdk.js";import"./use-org-sso-3md051eT.js";import"./integration-icon-gY5UnY38.js";import"./use-navigate-to-agent-wxTo_2Wv.js";import"./use-mcp-prompts-DW-tAvJg.js";import"./form-DR4f8DO7.js";import"./input-CRq9rZYf.js";import"./file-type-icon-C5mq72Tm.js";import"./drawer-CxFI5tCn.js";import"./collection-search-DUFT-3aZ.js";import"./use-mcp-tools-vt3UNphZ.js";import"./tabs-xquvO62b.js";import"./toggle-group-d_5STaVP.js";import"./task-route-DWU-0q6w.js";import"./toolbar-icon-button-DSBvSnFI.js";import"./popover-BIPtCsqc.js";import"./github-repo-picker-Dyu49H5P.js";import"./use-debounced-value-CozflcUh.js";import"./authenticate-and-persist-oauth-UjkEE9k3.js";import"./mcp-oauth-DwPFIejs.js";import"./extract-connection-data-C2Ocp5Tk.js";import"./metadata-dUsYcpuu.js";import"./connection-qt8m11-c.js";import"./provision-repo-scoped-github-connection-WQFARyHG.js";import"./connection-card-Bwgx5OMm.js";import"./use-registry-connections-DtpIh4N8.js";import"./retry-CErkP7V6.js";import"./connection-slug-CITJ0kGN.js";import"./textarea-BClvRA4H.js";import"./connection-form-helpers-Cs1EiOkG.js";import"./collection-tabs-aHnkLK94.js";import"./badge-BJg3YTbr.js";import"./dropdown-menu-C3Gdadki.js";import"./get-initials-D-f_fDFw.js";import"./select-model-NQ0mnVuK.js";import"./checkbox-DmweFMZg.js";import"./ai-providers-logos-DD3qZ33J.js";import"./folder-icon-Dt2zI1nQ.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-BpKA8nWD.js";import"./toolbar-D-SXcT0t.js";import"./use-file-configs-CjjmtK39.js";import"./site-slug-uya6Wp4-.js";import"./skill-preview-DL4gp0ne.js";import"./pt-BR-CLy76QW2.js";import"./alert-dialog-BU3enZKF.js";import"./use-debounced-autosave-DJCeP_ec.js";import"./search-input-CFyqYOfd.js";import"./use-mcp-auth-status-Dj0-A5Wa.js";import"./use-secrets-N0I1WQgn.js";import"./client-icons-DX-H77xu.js";import"./connect-layout-CS-AhNLB.js";import"./self-tool-result-Dc4tPK9T.js";import"./track-Cc1S4yMy.js";import"./use-tags-EBwNPMg8.js";import"./breadcrumb-B5Tcv0Uh.js";import"./safe-image-url-D5z803Ot.js";import"./automation-list-row-CakAIrvQ.js";import"./site-error--i37Vnuw.js";import"./cards-D9Ttj2cE.js";const Et=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),St=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Ct=new Date(-864e13),Mt=new Date(864e13),At=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,$t=/\/flags\/multivariate\.ts$/;function Lt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function Rt(e){if(!e||typeof e!="object")return null;const{start:t,end:r}=e,o=typeof t=="string",s=typeof r=="string";if(!o&&!s)return null;const i=o?new Date(t):Ct,a=s?new Date(r):Mt;return Number.isNaN(i.getTime())||Number.isNaN(a.getTime())||o&&s&&a.getTime()<=i.getTime()?null:{start:i,end:a,openStart:!o,openEnd:!s}}function pt(e,t){if(!e||typeof e!="object")return;const r=e.__resolveType;if(typeof r=="string"){if(Et.has(r)){const o=Rt(e);o&&t.push(o);return}if(St.has(r)){const o=e.matchers;if(Array.isArray(o))for(const s of o)pt(s,t)}}}function Dt(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!At.test(t))return!1;const r=e.variants;return Array.isArray(r)}function Ot(e){if(typeof e=="string"){const c=e.trim();if(c.length===0)return null;try{const m=new URL(c).pathname.split("/").filter(Boolean),p=m[m.length-1];if(p)return decodeURIComponent(p)}catch{}return c.length>80?`${c.slice(0,77)}…`:c}if(!e||typeof e!="object")return null;const t=e,r=t.config,s=t.desktop?.media,i=[t.title,t.name,t.label,t.alt,r?.title,r?.name,r?.typeAlert?.message,s?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const c of i)if(typeof c=="string"&&c.trim().length>0)return c.trim();const a=t.__resolveType;if(typeof a=="string"){const l=(a.split("/").pop()??a).replace(/\.(tsx?|jsx?)$/i,"");if(l.length>0)return l}return null}function Pt(e){const t=[];for(let r=0;r<e.length;r++){const o=e[r];typeof o=="number"?t.length>0?t[t.length-1]+=`[${o}]`:t.push(`[${o}]`):t.push(o)}return t.join(" · ")}function Q(e,t,r,o,s){if(Dt(e)){const i=e.variants,a=e.__resolveType,c=$t.test(a)?"":Pt(o);i.forEach((l,m)=>{if(!l||typeof l!="object")return;const p=l,h=[];if(pt(p.rule,h),h.length===0)return;const g=Ot(p.value)??(c||r);for(const u of h)s.push({blockKey:t,blockLabel:r,innerPath:c,variantIndex:m,start:u.start,end:u.end,openStart:u.openStart,openEnd:u.openEnd,label:g,flagResolveType:a})});for(let l=0;l<i.length;l++){const m=i[l];m&&typeof m=="object"&&Q(m.value,t,r,[...o,"variants",l,"value"],s)}return}if(Array.isArray(e)){for(let i=0;i<e.length;i++)Q(e[i],t,r,[...o,i],s);return}if(e&&typeof e=="object")for(const[i,a]of Object.entries(e))i!=="__resolveType"&&Q(a,t,r,[...o,i],s)}function It(e){if(!e)return[];const t=[];for(const[r,o]of Object.entries(e))Q(o,r,Lt(r),[],t);return t.sort((r,o)=>r.start.getTime()-o.start.getTime())}function Vt(e){const t=[...new Set(e)].sort(),r=new Map;return t.forEach((o,s)=>{const i=s*137.508%360;r.set(o,{bg:`oklch(0.62 0.14 ${i})`,text:"white",border:`oklch(0.50 0.14 ${i})`})}),r}const Bt={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function dt(e,t){return e.get(t)??Bt}const ot=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Ht(e,t){const r=e.openStart?t("sandbox.variantCalendar.always"):ot.format(e.start),o=e.openEnd?t("sandbox.variantCalendar.ongoing"):ot.format(e.end);return`${r} → ${o}`}function Ft(e){const t=K.c(18),{variant:r}=e,o=X();let s;t[0]!==r.blockLabel?(s=n.jsx("div",{className:"font-semibold",children:r.blockLabel}),t[0]=r.blockLabel,t[1]=s):s=t[1];let i;t[2]!==r.innerPath?(i=r.innerPath&&n.jsx("div",{className:"text-muted-foreground",children:r.innerPath}),t[2]=r.innerPath,t[3]=i):i=t[3];let a;t[4]!==r.blockLabel||t[5]!==r.innerPath||t[6]!==r.label?(a=r.label!==r.blockLabel&&r.label!==r.innerPath&&n.jsx("div",{className:"text-muted-foreground",children:r.label}),t[4]=r.blockLabel,t[5]=r.innerPath,t[6]=r.label,t[7]=a):a=t[7];let c;t[8]!==o||t[9]!==r?(c=Ht(r,o),t[8]=o,t[9]=r,t[10]=c):c=t[10];let l;t[11]!==c?(l=n.jsx("div",{className:"mt-1",children:c}),t[11]=c,t[12]=l):l=t[12];let m;return t[13]!==s||t[14]!==i||t[15]!==a||t[16]!==l?(m=n.jsx(xt,{children:n.jsxs("div",{className:"text-xs",children:[s,i,a,l]})}),t[13]=s,t[14]=i,t[15]=a,t[16]=l,t[17]=m):m=t[17],m}const nt=16;function zt(e,t){const r=e?"transparent":"#000 0",o=t?"transparent":"#000 100%";if(!(!e&&!t))return`linear-gradient(to right, ${r}, #000 ${nt}px, #000 calc(100% - ${nt}px), ${o})`}function ft(e){const t=K.c(26),{variant:r,color:o,style:s,children:i,fadeStart:a,fadeEnd:c}=e,l=a===void 0?!1:a,m=c===void 0?!1:c;let p;t[0]!==m||t[1]!==l?(p=zt(l,m),t[0]=m,t[1]=l,t[2]=p):p=t[2];const h=p;let f;t[3]!==l?(f=l&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t[3]=l,t[4]=f):f=t[4];let g;t[5]!==m?(g=m&&{borderTopRightRadius:0,borderBottomRightRadius:0},t[5]=m,t[6]=g):g=t[6];let u;t[7]!==h?(u=h&&{maskImage:h,WebkitMaskImage:h},t[7]=h,t[8]=u):u=t[8];let x;t[9]!==o.bg||t[10]!==o.text||t[11]!==s||t[12]!==f||t[13]!==g||t[14]!==u?(x={background:o.bg,color:o.text,borderRadius:4,...f,...g,...u,...s},t[9]=o.bg,t[10]=o.text,t[11]=s,t[12]=f,t[13]=g,t[14]=u,t[15]=x):x=t[15];let b;t[16]!==i?(b=n.jsx("span",{className:"truncate",children:i}),t[16]=i,t[17]=b):b=t[17];let E;t[18]!==x||t[19]!==b?(E=n.jsx(ut,{asChild:!0,children:n.jsx("div",{className:"absolute flex items-center px-2 text-[11px] font-medium truncate cursor-default",style:x,children:b})}),t[18]=x,t[19]=b,t[20]=E):E=t[20];let T;t[21]!==r?(T=n.jsx(Ft,{variant:r}),t[21]=r,t[22]=T):T=t[22];let d;return t[23]!==T||t[24]!==E?(d=n.jsxs(ht,{children:[E,T]}),t[23]=T,t[24]=E,t[25]=d):d=t[25],d}function tn(e){const t=K.c(72),{decofile:r}=e,o=X(),[s,i]=Z.useState("calendar"),[a,c]=Z.useState(Kt),[l,m]=Z.useState(!1);let p,h,f;if(t[0]!==r||t[1]!==l){const I=It(r);p=I.filter(Ut).length,f=l?I:I.filter(Gt),h=Vt(f.map(Wt)),t[0]=r,t[1]=l,t[2]=p,t[3]=h,t[4]=f}else p=t[2],h=t[3],f=t[4];const g=h;let u;t[5]===Symbol.for("react.memo_cache_sentinel")?(u=()=>c(mt(new Date)),t[5]=u):u=t[5];const x=u;let b;t[6]!==s?(b=()=>c(I=>s==="calendar"?U(I,-1):U(I,-3)),t[6]=s,t[7]=b):b=t[7];const E=b;let T;t[8]!==s?(T=()=>c(I=>s==="calendar"?U(I,1):U(I,3)),t[8]=s,t[9]=T):T=t[9];const d=T;let v;t[10]!==o?(v=o("sandbox.variantCalendar.today"),t[10]=o,t[11]=v):v=t[11];let y;t[12]!==v?(y=n.jsx(tt,{variant:"outline",size:"sm",onClick:x,children:v}),t[12]=v,t[13]=y):y=t[13];let N;t[14]!==o?(N=o("sandbox.variantCalendar.previous"),t[14]=o,t[15]=N):N=t[15];let A;t[16]===Symbol.for("react.memo_cache_sentinel")?(A=n.jsx(gt,{size:16}),t[16]=A):A=t[16];let _;t[17]!==E||t[18]!==N?(_=n.jsx(tt,{variant:"ghost",size:"icon",className:"size-8",onClick:E,"aria-label":N,children:A}),t[17]=E,t[18]=N,t[19]=_):_=t[19];let k;t[20]!==o?(k=o("sandbox.variantCalendar.next"),t[20]=o,t[21]=k):k=t[21];let C;t[22]===Symbol.for("react.memo_cache_sentinel")?(C=n.jsx(vt,{size:16}),t[22]=C):C=t[22];let $;t[23]!==d||t[24]!==k?($=n.jsx(tt,{variant:"ghost",size:"icon",className:"size-8",onClick:d,"aria-label":k,children:C}),t[23]=d,t[24]=k,t[25]=$):$=t[25];const L=ct[a.getMonth()];let M;t[26]!==a?(M=a.getFullYear(),t[26]=a,t[27]=M):M=t[27];let w;t[28]!==L||t[29]!==M?(w=n.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[L," ",M]}),t[28]=L,t[29]=M,t[30]=w):w=t[30];let j;t[31]!==$||t[32]!==w||t[33]!==y||t[34]!==_?(j=n.jsxs("div",{className:"flex items-center gap-2",children:[y,_,$,w]}),t[31]=$,t[32]=w,t[33]=y,t[34]=_,t[35]=j):j=t[35];let R;t[36]!==p||t[37]!==l||t[38]!==o?(R=p>0&&n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(jt,{id:"show-ongoing",checked:l,onCheckedChange:m}),n.jsx(yt,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:o("sandbox.variantCalendar.showOngoing",{count:p})})]}),t[36]=p,t[37]=l,t[38]=o,t[39]=R):R=t[39];let H;t[40]===Symbol.for("react.memo_cache_sentinel")?(H=n.jsx(at,{}),t[40]=H):H=t[40];let V;t[41]!==o?(V=o("sandbox.variantCalendar.calendarMode"),t[41]=o,t[42]=V):V=t[42];let S;t[43]!==V?(S={value:"calendar",icon:H,label:V},t[43]=V,t[44]=S):S=t[44];let F;t[45]===Symbol.for("react.memo_cache_sentinel")?(F=n.jsx(bt,{}),t[45]=F):F=t[45];let D;t[46]!==o?(D=o("sandbox.variantCalendar.timelineMode"),t[46]=o,t[47]=D):D=t[47];let O;t[48]!==D?(O={value:"timeline",icon:F,label:D},t[48]=D,t[49]=O):O=t[49];let P;t[50]!==S||t[51]!==O?(P=[S,O],t[50]=S,t[51]=O,t[52]=P):P=t[52];let B;t[53]!==P||t[54]!==s?(B=n.jsx(Tt,{value:s,onValueChange:i,options:P}),t[53]=P,t[54]=s,t[55]=B):B=t[55];let z;t[56]!==R||t[57]!==B?(z=n.jsxs("div",{className:"flex items-center gap-4",children:[R,B]}),t[56]=R,t[57]=B,t[58]=z):z=t[58];let W;t[59]!==j||t[60]!==z?(W=n.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[j,z]}),t[59]=j,t[60]=z,t[61]=W):W=t[61];let G;t[62]!==g||t[63]!==a||t[64]!==p||t[65]!==l||t[66]!==f||t[67]!==s?(G=f.length===0?n.jsx(Yt,{hiddenOngoing:l?0:p}):s==="calendar"?n.jsx(Jt,{monthStart:a,variants:f,colorMap:g}):n.jsx(te,{monthStart:a,variants:f,colorMap:g}),t[62]=g,t[63]=a,t[64]=p,t[65]=l,t[66]=f,t[67]=s,t[68]=G):G=t[68];let q;return t[69]!==W||t[70]!==G?(q=n.jsxs("div",{className:"flex h-full w-full flex-col",children:[W,G]}),t[69]=W,t[70]=G,t[71]=q):q=t[71],q}function Wt(e){return e.blockKey}function Gt(e){return!e.openEnd}function Ut(e){return e.openEnd}function Kt(){return mt(new Date)}function Yt(e){const t=K.c(4),{hiddenOngoing:r}=e,o=r===void 0?0:r,s=X();let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=n.jsx(at,{size:24,className:"text-muted-foreground/60"}),t[0]=i):i=t[0];let a;return t[1]!==o||t[2]!==s?(a=n.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[i,o>0?n.jsxs(n.Fragment,{children:[n.jsx("div",{children:s("sandbox.variantCalendar.noDatedVariants")}),n.jsx("div",{className:"text-xs text-muted-foreground/80",children:s("sandbox.variantCalendar.hiddenOngoingVariants",{count:o})})]}):n.jsxs(n.Fragment,{children:[n.jsx("div",{children:s("sandbox.variantCalendar.noScheduledVariants")}),n.jsx("div",{className:"text-xs text-muted-foreground/80",children:s("sandbox.variantCalendar.dateMatcherInfo")})]})]}),t[1]=o,t[2]=s,t[3]=a):a=t[3],a}const et=20,it=2,st=28,qt=6;function Jt(e){const t=K.c(17),{monthStart:r,variants:o,colorMap:s}=e;let i,a,c,l,m;if(t[0]!==s||t[1]!==r||t[2]!==o){const f=Nt(r),g=_t(new Date);i=lt,m="flex-1 min-h-0",a="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(c=n.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:wt.map(Xt)}),t[8]=c):c=t[8],l=f.map((u,x)=>{const b=kt(u,o),E=b.reduce(Qt,0),T=st+E*(et+it)+8;return n.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:T},children:[u.map((d,v)=>{const y=d.getMonth()===r.getMonth(),N=d.getTime()===g.getTime();return n.jsx("div",{className:rt("border-r last:border-r-0 px-2 pt-1.5 text-xs",y?"bg-background":"bg-muted/30 text-muted-foreground"),children:n.jsx("span",{className:rt("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",N&&"bg-primary text-primary-foreground font-semibold"),children:d.getDate()})},v)}),b.map((d,v)=>{const y=dt(s,d.variant.blockKey),N=st+d.lane*(et+it),A=d.leftUnits/7*100,_=d.widthUnits/7*100,k=d.variant.openStart&&x===0,C=d.variant.openEnd&&x===f.length-1;return n.jsxs(ft,{variant:d.variant,color:y,fadeStart:k,fadeEnd:C,style:{top:N,left:`calc(${A}% + 2px)`,width:`calc(${_}% - 4px)`,minWidth:qt,height:et},children:[d.variant.blockLabel,d.variant.label!==d.variant.blockLabel&&n.jsxs("span",{className:"opacity-70",children:[" · ",d.variant.label]})]},`${x}-${v}`)})]},x)}),t[0]=s,t[1]=r,t[2]=o,t[3]=i,t[4]=a,t[5]=c,t[6]=l,t[7]=m}else i=t[3],a=t[4],c=t[5],l=t[6],m=t[7];let p;t[9]!==a||t[10]!==c||t[11]!==l?(p=n.jsxs("div",{className:a,children:[c,l]}),t[9]=a,t[10]=c,t[11]=l,t[12]=p):p=t[12];let h;return t[13]!==i||t[14]!==m||t[15]!==p?(h=n.jsx(i,{className:m,children:p}),t[13]=i,t[14]=m,t[15]=p,t[16]=h):h=t[16],h}function Qt(e,t){return Math.max(e,t.lane+1)}function Xt(e){return n.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const J=4,Zt=32,Y=240;function te(e){const t=K.c(23),{monthStart:r,variants:o,colorMap:s}=e,i=r,a=U(r,J),c=new Date,l=new Map;for(const w of o){const j=l.get(w.blockKey)??[];j.push(w),l.set(w.blockKey,j)}const m=Array.from(l.entries()).sort(oe),p=a.getTime()-i.getTime(),h=w=>(Math.max(i.getTime(),Math.min(a.getTime(),w.getTime()))-i.getTime())/p*100;let f;t[0]!==i?(f=(w,j)=>U(i,j),t[0]=i,t[1]=f):f=t[1];const g=Array.from({length:J},f),u=c.getTime()>=i.getTime()&&c.getTime()<=a.getTime()?h(c):null,x=X(),b=lt,E="flex-1 min-h-0",T="min-w-[900px] relative";let d;t[2]===Symbol.for("react.memo_cache_sentinel")?(d={width:Y},t[2]=d):d=t[2];let v;t[3]!==x?(v=x("sandbox.variantCalendar.variantBlock"),t[3]=x,t[4]=v):v=t[4];let y;t[5]!==v?(y=n.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:d,children:v}),t[5]=v,t[6]=y):y=t[6];let N;t[7]===Symbol.for("react.memo_cache_sentinel")?(N={gridTemplateColumns:`repeat(${J}, minmax(0, 1fr))`},t[7]=N):N=t[7];const A=g.map(re);let _;t[8]!==A?(_=n.jsx("div",{className:"flex-1 grid",style:N,children:A}),t[8]=A,t[9]=_):_=t[9];let k;t[10]!==y||t[11]!==_?(k=n.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[y,_]}),t[10]=y,t[11]=_,t[12]=k):k=t[12];let C;t[13]!==x||t[14]!==u?(C=u!==null&&n.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${Y}px + (100% - ${Y}px) * ${u} / 100)`},children:n.jsx("span",{className:"absolute -top-0.5 -translate-x-1/2 rounded-sm bg-primary px-1.5 py-px text-[10px] font-medium text-primary-foreground",children:x("sandbox.variantCalendar.todayLabel")})}),t[13]=x,t[14]=u,t[15]=C):C=t[15];const $=m.map(w=>{const[j,R]=w,H=dt(s,j),V=R[0]?.blockLabel??j;return n.jsxs("div",{children:[n.jsx("div",{className:"flex items-center bg-muted/40 border-b text-xs font-semibold uppercase tracking-wide text-muted-foreground",style:{height:28},children:n.jsx("div",{className:"px-3 truncate",style:{width:Y},children:V})}),R.map((S,F)=>n.jsxs("div",{className:"flex border-b items-center",style:{height:Zt},children:[n.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:Y},children:[n.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:H.bg}}),n.jsx("span",{className:"truncate text-foreground/80",children:S.label})]}),n.jsxs("div",{className:"relative flex-1 h-full",children:[n.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${J}, minmax(0, 1fr))`},children:g.map(ee)}),(()=>{const D=Math.max(S.start.getTime(),i.getTime()),O=Math.min(S.end.getTime(),a.getTime());if(O<=D)return null;const P=h(new Date(D)),B=h(new Date(O))-P;return n.jsx(ft,{variant:S,color:H,fadeStart:S.openStart,fadeEnd:S.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${P}%`,width:`calc(${B}% - 2px)`,height:22},children:S.label})})()]})]},F))]},j)});let L;t[16]!==k||t[17]!==C||t[18]!==$?(L=n.jsxs("div",{className:T,children:[k,C,$]}),t[16]=k,t[17]=C,t[18]=$,t[19]=L):L=t[19];let M;return t[20]!==b||t[21]!==L?(M=n.jsx(b,{className:E,children:L}),t[20]=b,t[21]=L,t[22]=M):M=t[22],M}function ee(e,t){return n.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function re(e,t){return n.jsxs("div",{className:"px-2 py-2 text-xs uppercase tracking-wide text-muted-foreground border-r last:border-r-0",children:[ct[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function oe(e,t){return e[0].localeCompare(t[0])}export{tn as VariantCalendar};
@@ -1 +1 @@
1
- import{c as $,r as C,l as f,j as i,a4 as k,a1 as I,a2 as P}from"./index-Ds9_YQQm.js";const M={sm:{button:"size-7",buttonWithLabel:"h-7",icon:"size-4"},md:{button:"size-9",buttonWithLabel:"h-9",icon:"size-5"},lg:{button:"size-12",buttonWithLabel:"h-12",icon:"size-6"}};function A(E){const t=$.c(27),{value:s,onValueChange:y,options:o,size:L,fullWidth:R,className:z}=E,_=L===void 0?"sm":L,m=R===void 0?!1:R;let h;t[0]===Symbol.for("react.memo_cache_sentinel")?(h=[],t[0]=h):h=t[0];const T=C.useRef(h);let x;t[1]===Symbol.for("react.memo_cache_sentinel")?(x={left:0,width:0,opacity:0},t[1]=x):x=t[1];const[d,S]=C.useState(x);let g,p;t[2]!==o||t[3]!==s?(g=()=>{const e=o.findIndex(j=>j.value===s),b=T.current[e];b&&S({left:b.offsetLeft,width:b.offsetWidth,opacity:1})},p=[s,o],t[2]=o,t[3]=s,t[4]=g,t[5]=p):(g=t[4],p=t[5]),C.useEffect(g,p);const l=M[_];let n;t[6]!==z?(n=f("relative flex gap-0 bg-muted rounded-lg",z),t[6]=z,t[7]=n):n=t[7];let a;t[8]!==l||t[9]!==m||t[10]!==y||t[11]!==o||t[12]!==s?(a=o.map((e,b)=>{const j=i.jsxs("button",{ref:V=>{T.current[b]=V},type:"button",onClick:()=>y(e.value),"aria-label":e.label,className:f("relative z-10 flex items-center justify-center gap-2 rounded-lg transition-colors [transition-timing-function:var(--ease-out-cubic)] duration-200",m?"flex-1 h-12 px-4":e.label?f(l.buttonWithLabel,"px-3"):l.button),children:[i.jsx("span",{className:f("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",l.icon,s===e.value?"text-foreground":"text-muted-foreground"),children:e.icon}),e.label&&i.jsx("span",{className:f("text-xs transition-colors ease-out duration-200 whitespace-nowrap",s===e.value?"text-foreground":"text-muted-foreground"),children:e.label})]},e.value);return e.tooltip?i.jsxs(k,{children:[i.jsx(I,{asChild:!0,children:j}),i.jsx(P,{side:"bottom",children:e.tooltip})]},e.value):j}),t[8]=l,t[9]=m,t[10]=y,t[11]=o,t[12]=s,t[13]=a):a=t[13];const w=m?"h-12":l.button;let r;t[14]!==w?(r=f("absolute z-0 bg-background rounded-lg border-shadow transition-all [transition-timing-function:var(--ease-out-cubic)] duration-200",w),t[14]=w,t[15]=r):r=t[15];const W=`${d.left}px`,N=`${d.width}px`;let c;t[16]!==d.opacity||t[17]!==W||t[18]!==N?(c={left:W,width:N,opacity:d.opacity},t[16]=d.opacity,t[17]=W,t[18]=N,t[19]=c):c=t[19];let u;t[20]!==r||t[21]!==c?(u=i.jsx("div",{className:r,style:c}),t[20]=r,t[21]=c,t[22]=u):u=t[22];let v;return t[23]!==u||t[24]!==n||t[25]!==a?(v=i.jsxs("div",{className:n,children:[a,u]}),t[23]=u,t[24]=n,t[25]=a,t[26]=v):v=t[26],v}export{A as V};
1
+ import{c as $,r as C,l as f,j as i,a4 as k,a1 as I,a2 as P}from"./index-CAw6g9tV.js";const M={sm:{button:"size-7",buttonWithLabel:"h-7",icon:"size-4"},md:{button:"size-9",buttonWithLabel:"h-9",icon:"size-5"},lg:{button:"size-12",buttonWithLabel:"h-12",icon:"size-6"}};function A(E){const t=$.c(27),{value:s,onValueChange:y,options:o,size:L,fullWidth:R,className:z}=E,_=L===void 0?"sm":L,m=R===void 0?!1:R;let h;t[0]===Symbol.for("react.memo_cache_sentinel")?(h=[],t[0]=h):h=t[0];const T=C.useRef(h);let x;t[1]===Symbol.for("react.memo_cache_sentinel")?(x={left:0,width:0,opacity:0},t[1]=x):x=t[1];const[d,S]=C.useState(x);let g,p;t[2]!==o||t[3]!==s?(g=()=>{const e=o.findIndex(j=>j.value===s),b=T.current[e];b&&S({left:b.offsetLeft,width:b.offsetWidth,opacity:1})},p=[s,o],t[2]=o,t[3]=s,t[4]=g,t[5]=p):(g=t[4],p=t[5]),C.useEffect(g,p);const l=M[_];let n;t[6]!==z?(n=f("relative flex gap-0 bg-muted rounded-lg",z),t[6]=z,t[7]=n):n=t[7];let a;t[8]!==l||t[9]!==m||t[10]!==y||t[11]!==o||t[12]!==s?(a=o.map((e,b)=>{const j=i.jsxs("button",{ref:V=>{T.current[b]=V},type:"button",onClick:()=>y(e.value),"aria-label":e.label,className:f("relative z-10 flex items-center justify-center gap-2 rounded-lg transition-colors [transition-timing-function:var(--ease-out-cubic)] duration-200",m?"flex-1 h-12 px-4":e.label?f(l.buttonWithLabel,"px-3"):l.button),children:[i.jsx("span",{className:f("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",l.icon,s===e.value?"text-foreground":"text-muted-foreground"),children:e.icon}),e.label&&i.jsx("span",{className:f("text-xs transition-colors ease-out duration-200 whitespace-nowrap",s===e.value?"text-foreground":"text-muted-foreground"),children:e.label})]},e.value);return e.tooltip?i.jsxs(k,{children:[i.jsx(I,{asChild:!0,children:j}),i.jsx(P,{side:"bottom",children:e.tooltip})]},e.value):j}),t[8]=l,t[9]=m,t[10]=y,t[11]=o,t[12]=s,t[13]=a):a=t[13];const w=m?"h-12":l.button;let r;t[14]!==w?(r=f("absolute z-0 bg-background rounded-lg border-shadow transition-all [transition-timing-function:var(--ease-out-cubic)] duration-200",w),t[14]=w,t[15]=r):r=t[15];const W=`${d.left}px`,N=`${d.width}px`;let c;t[16]!==d.opacity||t[17]!==W||t[18]!==N?(c={left:W,width:N,opacity:d.opacity},t[16]=d.opacity,t[17]=W,t[18]=N,t[19]=c):c=t[19];let u;t[20]!==r||t[21]!==c?(u=i.jsx("div",{className:r,style:c}),t[20]=r,t[21]=c,t[22]=u):u=t[22];let v;return t[23]!==u||t[24]!==n||t[25]!==a?(v=i.jsxs("div",{className:n,children:[a,u]}),t[23]=u,t[24]=n,t[25]=a,t[26]=v):v=t[26],v}export{A as V};
@@ -50,7 +50,7 @@
50
50
  <meta name="twitter:description" content="Hire specialized agents, give them access to your tools, and let them deliver real projects — with planning, verification, and observability built in." />
51
51
  <meta name="twitter:image" content="/og-image.png" />
52
52
  <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
53
- <script type="module" crossorigin src="/assets/index-Ds9_YQQm.js"></script>
53
+ <script type="module" crossorigin src="/assets/index-CAw6g9tV.js"></script>
54
54
  <link rel="stylesheet" crossorigin href="/assets/index-DrotPsL6.css">
55
55
  </head>
56
56
  <body>