decocms 4.173.1 → 4.174.0

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 (221) hide show
  1. package/dist/client/assets/{AlertCircle-DOvnzHgs.js → AlertCircle-BMrG6Q3q.js} +1 -1
  2. package/dist/client/assets/{AreaChart-DZPyPmWG.js → AreaChart-DER6Besk.js} +1 -1
  3. package/dist/client/assets/{ArrowUp-DuR9Uq1w.js → ArrowUp-4IIgP0L_.js} +1 -1
  4. package/dist/client/assets/{ArrowUpRight-C5EYfY6W.js → ArrowUpRight-CcI6oneR.js} +1 -1
  5. package/dist/client/assets/{Check-Bzli7gZq.js → Check-DL28qYLv.js} +1 -1
  6. package/dist/client/assets/{CheckCircle-CfR1dp3F.js → CheckCircle-45OPHDAm.js} +1 -1
  7. package/dist/client/assets/{ChevronDown-BED2phk3.js → ChevronDown-CLApi1GU.js} +1 -1
  8. package/dist/client/assets/{ChevronRight-IWvlAaxR.js → ChevronRight-BZcGdPPu.js} +1 -1
  9. package/dist/client/assets/{ChevronUp-BZdIyI6J.js → ChevronUp-DXUe6HUC.js} +1 -1
  10. package/dist/client/assets/{Copy01-Bp1v4K69.js → Copy01-Ch3uicUJ.js} +1 -1
  11. package/dist/client/assets/{CpuChip01-DPDvRZVu.js → CpuChip01-mfupBrQ9.js} +1 -1
  12. package/dist/client/assets/{DotsVertical-THP8DDNL.js → DotsVertical--QEENIoe.js} +1 -1
  13. package/dist/client/assets/{Eye-Lzn9_1L8.js → Eye-CuiC1YEK.js} +1 -1
  14. package/dist/client/assets/{FilterLines-MypOxYpP.js → FilterLines-BdHEUEp4.js} +1 -1
  15. package/dist/client/assets/{HardDrive-D0aHCIZK.js → HardDrive-mg64VmsI.js} +1 -1
  16. package/dist/client/assets/{Key01-BDqDSYjT.js → Key01-BedcWFKF.js} +1 -1
  17. package/dist/client/assets/{LayoutLeft-BxUN5GeT.js → LayoutLeft-DuGqI_-e.js} +1 -1
  18. package/dist/client/assets/{LinkExternal01-BqruCVzQ.js → LinkExternal01-OlKAhlLc.js} +1 -1
  19. package/dist/client/assets/{LogOut01-BaM9ZbMY.js → LogOut01-DOWiOwoB.js} +1 -1
  20. package/dist/client/assets/{Monitor01-BoXT3hLm.js → Monitor01-CEe9pUG4.js} +1 -1
  21. package/dist/client/assets/{Palette-Dune3gwU.js → Palette-4AarA8jQ.js} +1 -1
  22. package/dist/client/assets/{Play-ar98Q3op.js → Play-PqmKB1NH.js} +1 -1
  23. package/dist/client/assets/{Plus-6tGNx6Lk.js → Plus-DMkJEYW1.js} +1 -1
  24. package/dist/client/assets/{SearchLg-CGRQJypl.js → SearchLg-DwS7Ave5.js} +1 -1
  25. package/dist/client/assets/{SearchMd-3KD3P9Bm.js → SearchMd-Chg8WyLO.js} +1 -1
  26. package/dist/client/assets/{Settings02-qUS7AD77.js → Settings02-BNBy9y6j.js} +1 -1
  27. package/dist/client/assets/{Shield01-BMFVoKQh.js → Shield01-DxvDnd9u.js} +1 -1
  28. package/dist/client/assets/{Star01-jUaueu8d.js → Star01-Bkuzmq6T.js} +1 -1
  29. package/dist/client/assets/{Stars01-CbKD523y.js → Stars01-BiHw0-dR.js} +1 -1
  30. package/dist/client/assets/{Stars02-CsxMGPOf.js → Stars02-hxIC2M0T.js} +1 -1
  31. package/dist/client/assets/{Sun-BH_XP1ey.js → Sun-D2tXZWa3.js} +1 -1
  32. package/dist/client/assets/{SwitchHorizontal01-Dyxgxnj0.js → SwitchHorizontal01-DChn9M5N.js} +1 -1
  33. package/dist/client/assets/{Tool01-S3qPOMuC.js → Tool01-CW6f8x6a.js} +1 -1
  34. package/dist/client/assets/{Tool02-BYcbwL2n.js → Tool02-C2uvJ0_5.js} +1 -1
  35. package/dist/client/assets/{Trash01-CdkTOfqr.js → Trash01-Iu22zhy5.js} +1 -1
  36. package/dist/client/assets/{TrendUp01-CYN9gtWs.js → TrendUp01-xxfqGf4g.js} +1 -1
  37. package/dist/client/assets/{Upload01-C6LV3Je0.js → Upload01-CNXHx8v7.js} +1 -1
  38. package/dist/client/assets/{User01-SXNu3kQj.js → User01-DIpMwsLn.js} +1 -1
  39. package/dist/client/assets/{Users01-BcYSpvbX.js → Users01-R0IatXLs.js} +1 -1
  40. package/dist/client/assets/{Users03-DehY3-Bg.js → Users03-DWr2ItOS.js} +1 -1
  41. package/dist/client/assets/{X-CoWPWbIb.js → X-CSK_gmpR.js} +1 -1
  42. package/dist/client/assets/{XCircle-45QMCtc2.js → XCircle-JuobGDLK.js} +1 -1
  43. package/dist/client/assets/{XClose-CWZyT2SJ.js → XClose-yOvU0CVb.js} +1 -1
  44. package/dist/client/assets/{Zap-kjVln0V-.js → Zap-CFe5lQb5.js} +1 -1
  45. package/dist/client/assets/{ZapSquare-BIWWH4Xl.js → ZapSquare-BDlkPp1D.js} +1 -1
  46. package/dist/client/assets/{access-gate-D1fpYHHI.js → access-gate-CTClev6J.js} +1 -1
  47. package/dist/client/assets/{add-section-modal-C40ToMy-.js → add-section-modal-B85gnKv7.js} +1 -1
  48. package/dist/client/assets/{agent-icon-Bkvi_GYh.js → agent-icon-zg1FB87E.js} +1 -1
  49. package/dist/client/assets/{agents-list-o0ynObO5.js → agents-list-BK5PpGSU.js} +1 -1
  50. package/dist/client/assets/{ai-providers-Rxo2pKga.js → ai-providers-bVTJImQX.js} +1 -1
  51. package/dist/client/assets/{alert-CR2d6Brc.js → alert-DCRV72pZ.js} +1 -1
  52. package/dist/client/assets/{alert-dialog-CtoEIRPm.js → alert-dialog-CrckeSOi.js} +1 -1
  53. package/dist/client/assets/{app-editor-pycJOtri.js → app-editor-84je7vIi.js} +1 -1
  54. package/dist/client/assets/{auth-B_5d574T.js → auth-CE5CgI1C.js} +1 -1
  55. package/dist/client/assets/{auth-catchall-Nxezn2Xg.js → auth-catchall-BOVBFHKy.js} +1 -1
  56. package/dist/client/assets/{auth-entry-C6gOLXSv.js → auth-entry-CgS4SeH7.js} +1 -1
  57. package/dist/client/assets/{auth-split-layout-Cz5P1sOs.js → auth-split-layout-D9TzvmES.js} +1 -1
  58. package/dist/client/assets/{authenticate-and-persist-oauth-BBO-tHc1.js → authenticate-and-persist-oauth-BPUcFFy5.js} +1 -1
  59. package/dist/client/assets/{automation-list-row-jXyl9WLl.js → automation-list-row-DDpz3BfN.js} +1 -1
  60. package/dist/client/assets/{automation-runs-C9C7XENw.js → automation-runs-DlTzSe_v.js} +1 -1
  61. package/dist/client/assets/{automations-D0HJ6n7G.js → automations-cC1oDdCV.js} +1 -1
  62. package/dist/client/assets/{avatar-zXC9s3fK.js → avatar-Dr3sZ0Rp.js} +1 -1
  63. package/dist/client/assets/{badge-B0jamfFQ.js → badge-J_ODnJlr.js} +1 -1
  64. package/dist/client/assets/{block-document-D7Pqzoli.js → block-document-DYqNf9yx.js} +1 -1
  65. package/dist/client/assets/{brand-context-Dtw93uRW.js → brand-context-ilUsaMsk.js} +1 -1
  66. package/dist/client/assets/{buckets-CHB3sqQu.js → buckets-BaEwCW7F.js} +1 -1
  67. package/dist/client/assets/{bulk-category-panel-BuUbHRDk.js → bulk-category-panel-Cqn2s1fk.js} +1 -1
  68. package/dist/client/assets/{calendar-Dl6l9zOc.js → calendar-Cn8FbpZi.js} +1 -1
  69. package/dist/client/assets/{capability-load-error-C4ryp5ok.js → capability-load-error-BZfkmzll.js} +1 -1
  70. package/dist/client/assets/{card-BKdBMYd0.js → card-DilIct9p.js} +1 -1
  71. package/dist/client/assets/{category-editor-A3Z3ZEPE.js → category-editor-BCyBqTUU.js} +1 -1
  72. package/dist/client/assets/{chat-context-BtqgwqcK.js → chat-context-Dm0iBURd.js} +1 -1
  73. package/dist/client/assets/{checkbox-C6UDWP6w.js → checkbox-KJQDTloZ.js} +1 -1
  74. package/dist/client/assets/{cli-auth-success-J47rKBpi.js → cli-auth-success-BhfeseKS.js} +1 -1
  75. package/dist/client/assets/{collection-detail-CUKpA9vR.js → collection-detail-Csp1WpNi.js} +1 -1
  76. package/dist/client/assets/{collection-display-button-DW81ECYd.js → collection-display-button-0MP3pDD_.js} +1 -1
  77. package/dist/client/assets/{collection-search-BU0HroKx.js → collection-search-DABWxs6f.js} +1 -1
  78. package/dist/client/assets/{collection-table-wrapper-dS12ubEg.js → collection-table-wrapper-DB_7U_Ey.js} +1 -1
  79. package/dist/client/assets/{collection-tabs-Bi_juZJo.js → collection-tabs-CJBiJyS1.js} +1 -1
  80. package/dist/client/assets/{command-Dzn1gLfp.js → command-CzO9K7g8.js} +1 -1
  81. package/dist/client/assets/{commerce-onboarding-Cyss7xef.js → commerce-onboarding-DjQFwLML.js} +1 -1
  82. package/dist/client/assets/{companions-core-v_0-7Mek.js → companions-core-BeKOdVgX.js} +1 -1
  83. package/dist/client/assets/{connect-ByFjHbWj.js → connect-9gHHANha.js} +1 -1
  84. package/dist/client/assets/{connection-omjZRoM7.js → connection-CG3ZfiWw.js} +1 -1
  85. package/dist/client/assets/{connection-card-q85_Vx1l.js → connection-card-DxAjqRi-.js} +1 -1
  86. package/dist/client/assets/{connection-detail-DWKbIplF.js → connection-detail-BI-BZwPK.js} +1 -1
  87. package/dist/client/assets/{connection-form-helpers-ejmlzKzd.js → connection-form-helpers-DNPVgiYR.js} +1 -1
  88. package/dist/client/assets/{connections-CsG9LEG7.js → connections-C-S3IVHw.js} +1 -1
  89. package/dist/client/assets/{decopilot-sse-pool-D5yQ_ajo.js → decopilot-sse-pool-CRtbD5U0.js} +1 -1
  90. package/dist/client/assets/{dialog-BIf32hl1.js → dialog-CACSNmpv.js} +1 -1
  91. package/dist/client/assets/{domain-settings-6afDWtR0.js → domain-settings-Ci-kwB5Q.js} +1 -1
  92. package/dist/client/assets/{drawer-rTVc1InN.js → drawer-B87OU9s-.js} +1 -1
  93. package/dist/client/assets/{dropdown-menu-3NNdMF9y.js → dropdown-menu-Dkr-1rRj.js} +1 -1
  94. package/dist/client/assets/{empty-state-BVTFCAaS.js → empty-state-D2c4dpAC.js} +1 -1
  95. package/dist/client/assets/{extract-connection-data-TUjbmMmX.js → extract-connection-data-Qbba03wG.js} +1 -1
  96. package/dist/client/assets/{file-explorer-Cxgnm6v-.js → file-explorer-vUI5UmdI.js} +1 -1
  97. package/dist/client/assets/{form-CSMbulsR.js → form-CUU9PO08.js} +1 -1
  98. package/dist/client/assets/{general-b5ktfuDM.js → general-Dz4HY3ZB.js} +1 -1
  99. package/dist/client/assets/{github-repo-picker-BUjk2ORd.js → github-repo-picker-DoZFNvpQ.js} +1 -1
  100. package/dist/client/assets/{hooks-BpSDs_Cc.js → hooks-BTJASxzD.js} +1 -1
  101. package/dist/client/assets/{index-CCVllcwQ.js → index-5B8HsTdT.js} +1 -1
  102. package/dist/client/assets/{index-C0dLrtNu.js → index-BQc9at9_.js} +1 -1
  103. package/dist/client/assets/{index-DJJCDeSA.js → index-BkgOm_vX.js} +3 -3
  104. package/dist/client/assets/{index-BtU2aE4S.js → index-Bs42oN3n.js} +5 -5
  105. package/dist/client/assets/{index-Ii4a8xV-.js → index-COGIeKdJ.js} +1 -1
  106. package/dist/client/assets/{index-DUExY5Y6.js → index-D4SuadGD.js} +1 -1
  107. package/dist/client/assets/{index-DkrcNMXN.js → index-DO2V5UoS.js} +1 -1
  108. package/dist/client/assets/{index-mq9vzqxO.js → index-DpPikUie.js} +1 -1
  109. package/dist/client/assets/{index-u2MRuP3Q.js → index-JYPmQekB.js} +1 -1
  110. package/dist/client/assets/{index-DAgJMwBl.js → index-ilzGb4m3.js} +1 -1
  111. package/dist/client/assets/{index-redirect-CBu7-Xa5.js → index-redirect-BEEe5Orz.js} +1 -1
  112. package/dist/client/assets/{index-CvPf7aBJ.js → index-v_XSle2D.js} +5 -5
  113. package/dist/client/assets/{input-DC0goD4E.js → input-DKAvq9fB.js} +1 -1
  114. package/dist/client/assets/{integration-icon-B2e8Y8YG.js → integration-icon-DOqcgUnb.js} +1 -1
  115. package/dist/client/assets/{invite-member-dialog-BmuNIuOh.js → invite-member-dialog-Dlbn0V82.js} +1 -1
  116. package/dist/client/assets/{label-Bke0hdIg.js → label-cJ1dhHrU.js} +1 -1
  117. package/dist/client/assets/{layout-7gJ5t8ex.js → layout-DaquTDCe.js} +1 -1
  118. package/dist/client/assets/{login-9_jgWeBC.js → login-D4ITrQ18.js} +1 -1
  119. package/dist/client/assets/{mcp-oauth-Dl_EP9jj.js → mcp-oauth-DTXhX7qG.js} +1 -1
  120. package/dist/client/assets/{members-D9mamLsv.js → members-CsJQEUZM.js} +1 -1
  121. package/dist/client/assets/{monaco-editor-CJvmVTAP.js → monaco-editor-DH_lJjmH.js} +1 -1
  122. package/dist/client/assets/{monitoring-stats-row-CkjkNdBZ.js → monitoring-stats-row-CWHULl7U.js} +1 -1
  123. package/dist/client/assets/{multi-select-DrBibkq5.js → multi-select-2Mkv4GjQ.js} +1 -1
  124. package/dist/client/assets/{oauth-callback-ai-provider-DkdtgWO6.js → oauth-callback-ai-provider-CShrOsbO.js} +1 -1
  125. package/dist/client/assets/{oauth-callback-7gbsohzR.js → oauth-callback-jII7lPO_.js} +1 -1
  126. package/dist/client/assets/{onboarding-_MvaL5Nh.js → onboarding-DJZeG2Xw.js} +1 -1
  127. package/dist/client/assets/{org-layout-B9EgPqLK.js → org-layout-CtFEOGeq.js} +1 -1
  128. package/dist/client/assets/{organization-choice-6DIePStX.js → organization-choice-0C3Dy-N_.js} +1 -1
  129. package/dist/client/assets/{orgs-grT2oICy.js → orgs-CwD-Pu-8.js} +1 -1
  130. package/dist/client/assets/{page-seo-form-CmFz6owZ.js → page-seo-form-jxlb7iNY.js} +1 -1
  131. package/dist/client/assets/{popover-BOLuL8zy.js → popover-DEjHmeIQ.js} +1 -1
  132. package/dist/client/assets/{post-editor-DYL-AIWC.js → post-editor-DemZf75X.js} +1 -1
  133. package/dist/client/assets/{primitives-Yv68ZS63.js → primitives-CKi-a3RP.js} +1 -1
  134. package/dist/client/assets/{profile-DbswoX7i.js → profile-DE6pGHFG.js} +1 -1
  135. package/dist/client/assets/project-app-view-3EW0fOtn.js +1 -0
  136. package/dist/client/assets/record-editor-CAjYt2X9.js +1 -0
  137. package/dist/client/assets/{redirect-editor-BdE8cnZ0.js → redirect-editor-OTb-Tgsk.js} +1 -1
  138. package/dist/client/assets/registry--1SG_InJ.js +2 -0
  139. package/dist/client/assets/{registry-layout-DJMvNfBi.js → registry-layout-mf6eQ_L5.js} +1 -1
  140. package/dist/client/assets/{reports-BsANnZLp.js → reports-CW67o7EX.js} +1 -1
  141. package/dist/client/assets/{require-capability-BZwoghy3.js → require-capability-G8kcDsya.js} +1 -1
  142. package/dist/client/assets/{required-auth-layout-BUzjznAp.js → required-auth-layout-DLOQSona.js} +1 -1
  143. package/dist/client/assets/{reset-password-F00-Fmse.js → reset-password-BdjrGopG.js} +1 -1
  144. package/dist/client/assets/{roles-EotFNJ-G.js → roles-14Mlxgn3.js} +1 -1
  145. package/dist/client/assets/{search-input-N6tMGH4J.js → search-input-B0QJzNlM.js} +1 -1
  146. package/dist/client/assets/{secrets-CgtgGGQj.js → secrets-BvRqz9h4.js} +1 -1
  147. package/dist/client/assets/{sections-editor-CUW0Vg2J.js → sections-editor-5vohyASR.js} +1 -1
  148. package/dist/client/assets/{select-BMb3HCRx.js → select-CvnDjS8O.js} +1 -1
  149. package/dist/client/assets/{select-model-BmI0DruV.js → select-model-CLztRScQ.js} +1 -1
  150. package/dist/client/assets/{self-tool-result-bm5NQA8U.js → self-tool-result-BJdDTfbq.js} +1 -1
  151. package/dist/client/assets/{seo-editor-jpGsxacc.js → seo-editor-BArRWMkY.js} +1 -1
  152. package/dist/client/assets/{settings-layout-Dt9S90Sw.js → settings-layout-IYFUyzri.js} +1 -1
  153. package/dist/client/assets/{settings-section-Y3Vcaozy.js → settings-section-BeHSNUuC.js} +1 -1
  154. package/dist/client/assets/{shell-controls-CUXnBTO9.js → shell-controls-tRdnWNnM.js} +1 -1
  155. package/dist/client/assets/{shell-layout-cBKFQr1n.js → shell-layout-Dl2bFB69.js} +1 -1
  156. package/dist/client/assets/{sidebar-DcEOQaWA.js → sidebar-UQpC4MeY.js} +1 -1
  157. package/dist/client/assets/{skeleton-pwG-IX0e.js → skeleton-E-7WpJa9.js} +1 -1
  158. package/dist/client/assets/{spinner-C4gpewC4.js → spinner-xdZXslri.js} +1 -1
  159. package/dist/client/assets/{sso-eBQrlGh3.js → sso-DHA6xnNo.js} +1 -1
  160. package/dist/client/assets/{store-B-4Mwyut.js → store-BlD7ZIt0.js} +1 -1
  161. package/dist/client/assets/store-registry-CHwA9SS6.js +2 -0
  162. package/dist/client/assets/{studio-tools-F8FRo5HC.js → studio-tools-BWPNAaUr.js} +1 -1
  163. package/dist/client/assets/{switch-D-86cuG-.js → switch-CEgMa8_q.js} +1 -1
  164. package/dist/client/assets/{tab-id-CCHBOSVB.js → tab-id-Bv3UTGeO.js} +1 -1
  165. package/dist/client/assets/{table-Dtp2tPsW.js → table-1x7E59Ji.js} +1 -1
  166. package/dist/client/assets/{tabs-DEDsBXc-.js → tabs-FaiUxsx0.js} +1 -1
  167. package/dist/client/assets/{textarea-wK__Wf4S.js → textarea-BppiBHuU.js} +1 -1
  168. package/dist/client/assets/{toggle-group-tNZPwHFi.js → toggle-group-D2C8W1oW.js} +1 -1
  169. package/dist/client/assets/{toolbar-DBdf3wvu.js → toolbar-BTkRKi2T.js} +1 -1
  170. package/dist/client/assets/{tooltip-B21dFACH.js → tooltip-MfpKaD0S.js} +1 -1
  171. package/dist/client/assets/{use-ai-providers-hiPsiP0T.js → use-ai-providers-CNWyrwNY.js} +1 -1
  172. package/dist/client/assets/{use-automations-CZ9vomGf.js → use-automations-oAcPQu_L.js} +1 -1
  173. package/dist/client/assets/{use-autosave-BFSvD9ZT.js → use-autosave-_XzUOYIB.js} +1 -1
  174. package/dist/client/assets/{use-capability-DJxOnICJ.js → use-capability-CnmljLtm.js} +1 -1
  175. package/dist/client/assets/{use-clock-tick-pLNPxfgU.js → use-clock-tick-CyF2F1Zx.js} +1 -1
  176. package/dist/client/assets/{use-connection-C5LfY0hr.js → use-connection-CamfwgIo.js} +1 -1
  177. package/dist/client/assets/{use-copy-B-lB6Q21.js → use-copy-dUKzEPDv.js} +1 -1
  178. package/dist/client/assets/{use-create-virtual-mcp-CPv1cUoE.js → use-create-virtual-mcp-DYVwD5z3.js} +1 -1
  179. package/dist/client/assets/{use-debounced-autosave-KiITPNPl.js → use-debounced-autosave-DIkeA_ka.js} +1 -1
  180. package/dist/client/assets/{use-debounced-value-CHU1BJga.js → use-debounced-value-Bswbiyyf.js} +1 -1
  181. package/dist/client/assets/{use-deco-credits-P_MQ814M.js → use-deco-credits-DFcSqdM1.js} +1 -1
  182. package/dist/client/assets/{use-decopilot-events-DY91l02j.js → use-decopilot-events-B7jKbW5N.js} +1 -1
  183. package/dist/client/assets/{use-delete-connection-i5Snpszi.js → use-delete-connection-CzZZobJi.js} +1 -1
  184. package/dist/client/assets/{use-deployment-admin-DacLwv_A.js → use-deployment-admin-tS35_-UA.js} +1 -1
  185. package/dist/client/assets/{use-file-configs-D8loXViC.js → use-file-configs-CGfTmygS.js} +1 -1
  186. package/dist/client/assets/{use-infinite-scroll-DO8LS-0E.js → use-infinite-scroll-D9x_Nrci.js} +1 -1
  187. package/dist/client/assets/{use-join-requests-2hqw1eOy.js → use-join-requests-CRLmCt1j.js} +1 -1
  188. package/dist/client/assets/{use-mcp-auth-status-DK4NJJMb.js → use-mcp-auth-status-DjFxCjpz.js} +1 -1
  189. package/dist/client/assets/{use-mcp-client-BPHrvMYe.js → use-mcp-client-BJHDi2Oz.js} +1 -1
  190. package/dist/client/assets/{use-mcp-tools-BfL9IiO_.js → use-mcp-tools-MsDBzVNw.js} +1 -1
  191. package/dist/client/assets/{use-members-aaN8TZtJ.js → use-members-BUmNWrrD.js} +1 -1
  192. package/dist/client/assets/{use-mobile-C866y3BZ.js → use-mobile-fl5xn8aJ.js} +1 -1
  193. package/dist/client/assets/{use-navigate-to-agent-C-1OOLwJ.js → use-navigate-to-agent-B5wMhz8r.js} +1 -1
  194. package/dist/client/assets/{use-org-auth-client-DK4nNdcp.js → use-org-auth-client-D-HwHAMj.js} +1 -1
  195. package/dist/client/assets/{use-org-sso-CZMxG2jy.js → use-org-sso-Cx6UQA6r.js} +1 -1
  196. package/dist/client/assets/{use-organization-roles-Duq1f6od.js → use-organization-roles-BaP_4MWy.js} +1 -1
  197. package/dist/client/assets/{use-organization-settings-6bCKAr37.js → use-organization-settings-CwdjYthP.js} +1 -1
  198. package/dist/client/assets/{use-registry-connections-CGQ8K3xE.js → use-registry-connections-hY5hD_wO.js} +1 -1
  199. package/dist/client/assets/{use-secrets-CiXkyhP8.js → use-secrets-DLT8GsdN.js} +1 -1
  200. package/dist/client/assets/{use-status-sounds-BF7svmgp.js → use-status-sounds-DPn2NSeV.js} +1 -1
  201. package/dist/client/assets/{use-tags-BpxNmrmb.js → use-tags-BTksoQpU.js} +1 -1
  202. package/dist/client/assets/{use-view-mode-oZSWh4UF.js → use-view-mode-BvRGPQBs.js} +1 -1
  203. package/dist/client/assets/{use-virtual-mcp-CL1C5YZc.js → use-virtual-mcp-Bq01sjVo.js} +1 -1
  204. package/dist/client/assets/useInfiniteQuery-peXbfdMb.js +1 -0
  205. package/dist/client/assets/{useQueries-gX4Viwg2.js → useQueries-D4s8oVmv.js} +1 -1
  206. package/dist/client/assets/{useRouterState-CusY3NnR.js → useRouterState-Tj6ptd7f.js} +1 -1
  207. package/dist/client/assets/useSuspenseInfiniteQuery-Cf46mjER.js +1 -0
  208. package/dist/client/assets/{users--M1AoJTv.js → users-LEUvFOUu.js} +1 -1
  209. package/dist/client/assets/{variant-calendar--RzHRbik.js → variant-calendar-CL21sTg2.js} +1 -1
  210. package/dist/client/assets/{view-mode-toggle-Dogmolfq.js → view-mode-toggle-B1DRzQmz.js} +1 -1
  211. package/dist/client/index.html +1 -1
  212. package/dist/server/cli.js +518 -514
  213. package/dist/server/migrate.js +21 -21
  214. package/dist/server/server.js +339 -335
  215. package/package.json +1 -1
  216. package/dist/client/assets/project-app-view-DziJYhpa.js +0 -1
  217. package/dist/client/assets/record-editor-BiBIRb1q.js +0 -1
  218. package/dist/client/assets/registry-C6Wnqsm4.js +0 -2
  219. package/dist/client/assets/store-registry-DnHDjb4p.js +0 -2
  220. package/dist/client/assets/useInfiniteQuery-Ci7bR1F6.js +0 -1
  221. package/dist/client/assets/useSuspenseInfiniteQuery-X5rB57Ef.js +0 -1
@@ -1 +1 @@
1
- import{c as K,b as tt,r as et,j as s,m as ot,B as nt}from"./index-DJJCDeSA.js";import{w as vt,_ as dt,h as yt}from"./agent-icon-Bkvi_GYh.js";import{i as Tt}from"./ChevronRight-IWvlAaxR.js";import{L as jt}from"./label-Bke0hdIg.js";import{l as ft}from"./automation-runs-C9C7XENw.js";import{S as wt}from"./switch-D-86cuG-.js";import{T as Nt,c as kt,a as Mt}from"./tooltip-B21dFACH.js";import{V as _t}from"./view-mode-toggle-Dogmolfq.js";import"./AlertCircle-DOvnzHgs.js";import"./Tool01-S3qPOMuC.js";import"./ArrowUp-DuR9Uq1w.js";import"./Settings02-qUS7AD77.js";import"./Tool02-BYcbwL2n.js";import"./XCircle-45QMCtc2.js";import"./ArrowUpRight-C5EYfY6W.js";import"./TrendUp01-CYN9gtWs.js";import"./ZapSquare-BIWWH4Xl.js";import"./Users03-DehY3-Bg.js";import"./CheckCircle-CfR1dp3F.js";import"./Check-Bzli7gZq.js";import"./ChevronDown-BED2phk3.js";import"./ChevronUp-BZdIyI6J.js";import"./DotsVertical-THP8DDNL.js";import"./Stars02-CsxMGPOf.js";import"./Copy01-Bp1v4K69.js";import"./CpuChip01-DPDvRZVu.js";import"./Eye-Lzn9_1L8.js";import"./FilterLines-MypOxYpP.js";import"./Star01-jUaueu8d.js";import"./Palette-Dune3gwU.js";import"./SwitchHorizontal01-Dyxgxnj0.js";import"./HardDrive-D0aHCIZK.js";import"./Key01-BDqDSYjT.js";import"./LayoutLeft-BxUN5GeT.js";import"./LinkExternal01-BqruCVzQ.js";import"./LogOut01-BaM9ZbMY.js";import"./Monitor01-BoXT3hLm.js";import"./Sun-BH_XP1ey.js";import"./Play-ar98Q3op.js";import"./Plus-6tGNx6Lk.js";import"./SearchLg-CGRQJypl.js";import"./SearchMd-3KD3P9Bm.js";import"./Shield01-BMFVoKQh.js";import"./Stars01-CbKD523y.js";import"./Trash01-CdkTOfqr.js";import"./Upload01-C6LV3Je0.js";import"./User01-SXNu3kQj.js";import"./Users01-BcYSpvbX.js";import"./XClose-CWZyT2SJ.js";import"./X-CoWPWbIb.js";import"./Zap-kjVln0V-.js";import"./select-BMb3HCRx.js";import"./useInfiniteQuery-Ci7bR1F6.js";import"./use-infinite-scroll-DO8LS-0E.js";import"./use-connection-C5LfY0hr.js";import"./use-mcp-client-BPHrvMYe.js";import"./auth-B_5d574T.js";import"./use-virtual-mcp-CL1C5YZc.js";import"./card-BKdBMYd0.js";import"./sidebar-DcEOQaWA.js";import"./use-mobile-C866y3BZ.js";import"./table-Dtp2tPsW.js";import"./empty-state-BVTFCAaS.js";import"./use-members-aaN8TZtJ.js";import"./use-org-auth-client-DK4nNdcp.js";import"./use-clock-tick-pLNPxfgU.js";import"./use-automations-CZ9vomGf.js";import"./studio-tools-F8FRo5HC.js";import"./useSuspenseInfiniteQuery-X5rB57Ef.js";import"./avatar-zXC9s3fK.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-B-lB6Q21.js";import"./calendar-Dl6l9zOc.js";import"./dialog-BIf32hl1.js";import"./tab-id-CCHBOSVB.js";import"./hooks-BpSDs_Cc.js";import"./decopilot-sse-pool-D5yQ_ajo.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./chat-context-BtqgwqcK.js";import"./use-is-desktop-app-BNujXJc_.js";import"./use-ai-providers-hiPsiP0T.js";import"./use-decopilot-events-DY91l02j.js";import"./use-organization-settings-6bCKAr37.js";import"./monaco-editor-CJvmVTAP.js";import"./spinner-C4gpewC4.js";import"./index-DAgJMwBl.js";import"./shell-layout-cBKFQr1n.js";import"./required-auth-layout-BUzjznAp.js";import"./use-org-sso-CZMxG2jy.js";import"./integration-icon-B2e8Y8YG.js";import"./use-navigate-to-agent-C-1OOLwJ.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-DZPyPmWG.js";import"./form-CSMbulsR.js";import"./input-DC0goD4E.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),Dt=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:n}=e,r=typeof t=="string",i=typeof n=="string";if(!r&&!i)return null;const o=r?new Date(t):Ct,a=i?new Date(n):Dt;return Number.isNaN(o.getTime())||Number.isNaN(a.getTime())||r&&i&&a.getTime()<=o.getTime()?null:{start:o,end:a,openStart:!r,openEnd:!i}}function pt(e,t){if(!e||typeof e!="object")return;const n=e.__resolveType;if(typeof n=="string"){if(Et.has(n)){const r=Rt(e);r&&t.push(r);return}if(St.has(n)){const r=e.matchers;if(Array.isArray(r))for(const i of r)pt(i,t)}}}function Ot(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!At.test(t))return!1;const n=e.variants;return Array.isArray(n)}function It(e){if(typeof e=="string"){const m=e.trim();if(m.length===0)return null;try{const c=new URL(m).pathname.split("/").filter(Boolean),d=c[c.length-1];if(d)return decodeURIComponent(d)}catch{}return m.length>80?`${m.slice(0,77)}…`:m}if(!e||typeof e!="object")return null;const t=e,n=t.config,i=t.desktop?.media,o=[t.title,t.name,t.label,t.alt,n?.title,n?.name,n?.typeAlert?.message,i?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const m of o)if(typeof m=="string"&&m.trim().length>0)return m.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 n=0;n<e.length;n++){const r=e[n];typeof r=="number"?t.length>0?t[t.length-1]+=`[${r}]`:t.push(`[${r}]`):t.push(r)}return t.join(" · ")}function X(e,t,n,r,i){if(Ot(e)){const o=e.variants,a=e.__resolveType,m=$t.test(a)?"":Pt(r);o.forEach((l,c)=>{if(!l||typeof l!="object")return;const d=l,p=[];if(pt(d.rule,p),p.length===0)return;const x=It(d.value)??(m||n);for(const h of p)i.push({blockKey:t,blockLabel:n,innerPath:m,variantIndex:c,start:h.start,end:h.end,openStart:h.openStart,openEnd:h.openEnd,label:x,flagResolveType:a})});for(let l=0;l<o.length;l++){const c=o[l];c&&typeof c=="object"&&X(c.value,t,n,[...r,"variants",l,"value"],i)}return}if(Array.isArray(e)){for(let o=0;o<e.length;o++)X(e[o],t,n,[...r,o],i);return}if(e&&typeof e=="object")for(const[o,a]of Object.entries(e))o!=="__resolveType"&&X(a,t,n,[...r,o],i)}function Ft(e){if(!e)return[];const t=[];for(const[n,r]of Object.entries(e))X(r,n,Lt(n),[],t);return t.sort((n,r)=>n.start.getTime()-r.start.getTime())}function Vt(e){const t=[...new Set(e)].sort(),n=new Map;return t.forEach((r,i)=>{const o=i*137.508%360;n.set(r,{bg:`oklch(0.62 0.14 ${o})`,text:"white",border:`oklch(0.50 0.14 ${o})`})}),n}const Ht={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function ut(e,t){return e.get(t)??Ht}const Bt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ht=["January","February","March","April","May","June","July","August","September","October","November","December"],gt=1440*60*1e3;function B(e){const t=new Date(e);return t.setHours(0,0,0,0),t}function xt(e){return new Date(e.getFullYear(),e.getMonth(),1)}function G(e,t){return new Date(e.getFullYear(),e.getMonth()+t,1)}function Z(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function st(e,t){return Math.round((B(e).getTime()-B(t).getTime())/gt)}function Wt(e){const t=(e.getTime()-B(e).getTime())/gt;return Math.min(Math.max(t,0),1)}function it(e,t){return st(e,t)+Wt(e)}function zt(e){const t=Z(e,-e.getDay()),n=[];for(let r=0;r<6;r++){const i=[];for(let o=0;o<7;o++)i.push(Z(t,r*7+o));n.push(i)}for(;n.length>0&&n[n.length-1].every(r=>r.getMonth()!==e.getMonth());)n.pop();return n}function Ut(e,t){const n=B(e[0]),r=Z(n,7),i=n.getTime(),o=r.getTime(),a=[];for(const c of t){const d=B(c.start),p=B(c.end);if(p.getTime()<n.getTime()||d.getTime()>=r.getTime())continue;const u=d.getTime()<n.getTime()?n:d,x=p.getTime()>=r.getTime()?Z(r,-1):p,h=st(u,n),g=st(x,u)+1;if(g<=0)continue;const b=Math.max(c.start.getTime(),i),j=Math.min(c.end.getTime(),o),v=it(new Date(b),n),f=Math.max(it(new Date(j),n)-v,0);f<=0||a.push({variant:c,startCol:h,span:g,leftUnits:v,widthUnits:f})}a.sort((c,d)=>c.startCol-d.startCol||d.span-c.span||c.variant.blockKey.localeCompare(d.variant.blockKey));const m=[],l=[];for(const c of a){let d=m.findIndex(p=>p<=c.startCol);d===-1&&(d=m.length,m.push(0)),m[d]=c.startCol+c.span,l.push({...c,lane:d})}return l}const at=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Yt(e,t){const n=e.openStart?t("sandbox.variantCalendar.always"):at.format(e.start),r=e.openEnd?t("sandbox.variantCalendar.ongoing"):at.format(e.end);return`${n} → ${r}`}function Gt(e){const t=K.c(18),{variant:n}=e,r=tt();let i;t[0]!==n.blockLabel?(i=s.jsx("div",{className:"font-semibold",children:n.blockLabel}),t[0]=n.blockLabel,t[1]=i):i=t[1];let o;t[2]!==n.innerPath?(o=n.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:n.innerPath}),t[2]=n.innerPath,t[3]=o):o=t[3];let a;t[4]!==n.blockLabel||t[5]!==n.innerPath||t[6]!==n.label?(a=n.label!==n.blockLabel&&n.label!==n.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:n.label}),t[4]=n.blockLabel,t[5]=n.innerPath,t[6]=n.label,t[7]=a):a=t[7];let m;t[8]!==r||t[9]!==n?(m=Yt(n,r),t[8]=r,t[9]=n,t[10]=m):m=t[10];let l;t[11]!==m?(l=s.jsx("div",{className:"mt-1",children:m}),t[11]=m,t[12]=l):l=t[12];let c;return t[13]!==i||t[14]!==o||t[15]!==a||t[16]!==l?(c=s.jsx(Mt,{children:s.jsxs("div",{className:"text-xs",children:[i,o,a,l]})}),t[13]=i,t[14]=o,t[15]=a,t[16]=l,t[17]=c):c=t[17],c}const lt=16;function Kt(e,t){const n=e?"transparent":"#000 0",r=t?"transparent":"#000 100%";if(!(!e&&!t))return`linear-gradient(to right, ${n}, #000 ${lt}px, #000 calc(100% - ${lt}px), ${r})`}function bt(e){const t=K.c(26),{variant:n,color:r,style:i,children:o,fadeStart:a,fadeEnd:m}=e,l=a===void 0?!1:a,c=m===void 0?!1:m;let d;t[0]!==c||t[1]!==l?(d=Kt(l,c),t[0]=c,t[1]=l,t[2]=d):d=t[2];const p=d;let u;t[3]!==l?(u=l&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t[3]=l,t[4]=u):u=t[4];let x;t[5]!==c?(x=c&&{borderTopRightRadius:0,borderBottomRightRadius:0},t[5]=c,t[6]=x):x=t[6];let h;t[7]!==p?(h=p&&{maskImage:p,WebkitMaskImage:p},t[7]=p,t[8]=h):h=t[8];let g;t[9]!==r.bg||t[10]!==r.text||t[11]!==i||t[12]!==u||t[13]!==x||t[14]!==h?(g={background:r.bg,color:r.text,borderRadius:4,...u,...x,...h,...i},t[9]=r.bg,t[10]=r.text,t[11]=i,t[12]=u,t[13]=x,t[14]=h,t[15]=g):g=t[15];let b;t[16]!==o?(b=s.jsx("span",{className:"truncate",children:o}),t[16]=o,t[17]=b):b=t[17];let j;t[18]!==g||t[19]!==b?(j=s.jsx(Nt,{asChild:!0,children:s.jsx("div",{className:"absolute flex items-center px-2 text-[11px] font-medium truncate cursor-default",style:g,children:b})}),t[18]=g,t[19]=b,t[20]=j):j=t[20];let v;t[21]!==n?(v=s.jsx(Gt,{variant:n}),t[21]=n,t[22]=v):v=t[22];let f;return t[23]!==v||t[24]!==j?(f=s.jsxs(kt,{children:[j,v]}),t[23]=v,t[24]=j,t[25]=f):f=t[25],f}function Zn(e){const t=K.c(72),{decofile:n}=e,r=tt(),[i,o]=et.useState("calendar"),[a,m]=et.useState(Xt),[l,c]=et.useState(!1);let d,p,u;if(t[0]!==n||t[1]!==l){const P=Ft(n);d=P.filter(Qt).length,u=l?P:P.filter(qt),p=Vt(u.map(Jt)),t[0]=n,t[1]=l,t[2]=d,t[3]=p,t[4]=u}else d=t[2],p=t[3],u=t[4];const x=p;let h;t[5]===Symbol.for("react.memo_cache_sentinel")?(h=()=>m(xt(new Date)),t[5]=h):h=t[5];const g=h;let b;t[6]!==i?(b=()=>m(P=>i==="calendar"?G(P,-1):G(P,-3)),t[6]=i,t[7]=b):b=t[7];const j=b;let v;t[8]!==i?(v=()=>m(P=>i==="calendar"?G(P,1):G(P,3)),t[8]=i,t[9]=v):v=t[9];const f=v;let y;t[10]!==r?(y=r("sandbox.variantCalendar.today"),t[10]=r,t[11]=y):y=t[11];let T;t[12]!==y?(T=s.jsx(nt,{variant:"outline",size:"sm",onClick:g,children:y}),t[12]=y,t[13]=T):T=t[13];let N;t[14]!==r?(N=r("sandbox.variantCalendar.previous"),t[14]=r,t[15]=N):N=t[15];let D;t[16]===Symbol.for("react.memo_cache_sentinel")?(D=s.jsx(vt,{size:16}),t[16]=D):D=t[16];let k;t[17]!==j||t[18]!==N?(k=s.jsx(nt,{variant:"ghost",size:"icon",className:"size-8",onClick:j,"aria-label":N,children:D}),t[17]=j,t[18]=N,t[19]=k):k=t[19];let M;t[20]!==r?(M=r("sandbox.variantCalendar.next"),t[20]=r,t[21]=M):M=t[21];let S;t[22]===Symbol.for("react.memo_cache_sentinel")?(S=s.jsx(Tt,{size:16}),t[22]=S):S=t[22];let A;t[23]!==f||t[24]!==M?(A=s.jsx(nt,{variant:"ghost",size:"icon",className:"size-8",onClick:f,"aria-label":M,children:S}),t[23]=f,t[24]=M,t[25]=A):A=t[25];const $=ht[a.getMonth()];let C;t[26]!==a?(C=a.getFullYear(),t[26]=a,t[27]=C):C=t[27];let _;t[28]!==$||t[29]!==C?(_=s.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[$," ",C]}),t[28]=$,t[29]=C,t[30]=_):_=t[30];let w;t[31]!==A||t[32]!==_||t[33]!==T||t[34]!==k?(w=s.jsxs("div",{className:"flex items-center gap-2",children:[T,k,A,_]}),t[31]=A,t[32]=_,t[33]=T,t[34]=k,t[35]=w):w=t[35];let L;t[36]!==d||t[37]!==l||t[38]!==r?(L=d>0&&s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(wt,{id:"show-ongoing",checked:l,onCheckedChange:c}),s.jsx(jt,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:r("sandbox.variantCalendar.showOngoing",{count:d})})]}),t[36]=d,t[37]=l,t[38]=r,t[39]=L):L=t[39];let H;t[40]===Symbol.for("react.memo_cache_sentinel")?(H=s.jsx(dt,{}),t[40]=H):H=t[40];let F;t[41]!==r?(F=r("sandbox.variantCalendar.calendarMode"),t[41]=r,t[42]=F):F=t[42];let E;t[43]!==F?(E={value:"calendar",icon:H,label:F},t[43]=F,t[44]=E):E=t[44];let W;t[45]===Symbol.for("react.memo_cache_sentinel")?(W=s.jsx(yt,{}),t[45]=W):W=t[45];let R;t[46]!==r?(R=r("sandbox.variantCalendar.timelineMode"),t[46]=r,t[47]=R):R=t[47];let O;t[48]!==R?(O={value:"timeline",icon:W,label:R},t[48]=R,t[49]=O):O=t[49];let I;t[50]!==E||t[51]!==O?(I=[E,O],t[50]=E,t[51]=O,t[52]=I):I=t[52];let V;t[53]!==I||t[54]!==i?(V=s.jsx(_t,{value:i,onValueChange:o,options:I}),t[53]=I,t[54]=i,t[55]=V):V=t[55];let z;t[56]!==L||t[57]!==V?(z=s.jsxs("div",{className:"flex items-center gap-4",children:[L,V]}),t[56]=L,t[57]=V,t[58]=z):z=t[58];let U;t[59]!==w||t[60]!==z?(U=s.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[w,z]}),t[59]=w,t[60]=z,t[61]=U):U=t[61];let Y;t[62]!==x||t[63]!==a||t[64]!==d||t[65]!==l||t[66]!==u||t[67]!==i?(Y=u.length===0?s.jsx(Zt,{hiddenOngoing:l?0:d}):i==="calendar"?s.jsx(ee,{monthStart:a,variants:u,colorMap:x}):s.jsx(oe,{monthStart:a,variants:u,colorMap:x}),t[62]=x,t[63]=a,t[64]=d,t[65]=l,t[66]=u,t[67]=i,t[68]=Y):Y=t[68];let q;return t[69]!==U||t[70]!==Y?(q=s.jsxs("div",{className:"flex h-full w-full flex-col",children:[U,Y]}),t[69]=U,t[70]=Y,t[71]=q):q=t[71],q}function Jt(e){return e.blockKey}function qt(e){return!e.openEnd}function Qt(e){return e.openEnd}function Xt(){return xt(new Date)}function Zt(e){const t=K.c(4),{hiddenOngoing:n}=e,r=n===void 0?0:n,i=tt();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(dt,{size:24,className:"text-muted-foreground/60"}),t[0]=o):o=t[0];let a;return t[1]!==r||t[2]!==i?(a=s.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[o,r>0?s.jsxs(s.Fragment,{children:[s.jsx("div",{children:i("sandbox.variantCalendar.noDatedVariants")}),s.jsx("div",{className:"text-xs text-muted-foreground/80",children:i("sandbox.variantCalendar.hiddenOngoingVariants",{count:r})})]}):s.jsxs(s.Fragment,{children:[s.jsx("div",{children:i("sandbox.variantCalendar.noScheduledVariants")}),s.jsx("div",{className:"text-xs text-muted-foreground/80",children:i("sandbox.variantCalendar.dateMatcherInfo")})]})]}),t[1]=r,t[2]=i,t[3]=a):a=t[3],a}const rt=20,ct=2,mt=28,te=6;function ee(e){const t=K.c(17),{monthStart:n,variants:r,colorMap:i}=e;let o,a,m,l,c;if(t[0]!==i||t[1]!==n||t[2]!==r){const u=zt(n),x=B(new Date);o=ft,c="flex-1 min-h-0",a="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:Bt.map(re)}),t[8]=m):m=t[8],l=u.map((h,g)=>{const b=Ut(h,r),j=b.reduce(ne,0),v=mt+j*(rt+ct)+8;return s.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:v},children:[h.map((f,y)=>{const T=f.getMonth()===n.getMonth(),N=f.getTime()===x.getTime();return s.jsx("div",{className:ot("border-r last:border-r-0 px-2 pt-1.5 text-xs",T?"bg-background":"bg-muted/30 text-muted-foreground"),children:s.jsx("span",{className:ot("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",N&&"bg-primary text-primary-foreground font-semibold"),children:f.getDate()})},y)}),b.map((f,y)=>{const T=ut(i,f.variant.blockKey),N=mt+f.lane*(rt+ct),D=f.leftUnits/7*100,k=f.widthUnits/7*100,M=f.variant.openStart&&g===0,S=f.variant.openEnd&&g===u.length-1;return s.jsxs(bt,{variant:f.variant,color:T,fadeStart:M,fadeEnd:S,style:{top:N,left:`calc(${D}% + 2px)`,width:`calc(${k}% - 4px)`,minWidth:te,height:rt},children:[f.variant.blockLabel,f.variant.label!==f.variant.blockLabel&&s.jsxs("span",{className:"opacity-70",children:[" · ",f.variant.label]})]},`${g}-${y}`)})]},g)}),t[0]=i,t[1]=n,t[2]=r,t[3]=o,t[4]=a,t[5]=m,t[6]=l,t[7]=c}else o=t[3],a=t[4],m=t[5],l=t[6],c=t[7];let d;t[9]!==a||t[10]!==m||t[11]!==l?(d=s.jsxs("div",{className:a,children:[m,l]}),t[9]=a,t[10]=m,t[11]=l,t[12]=d):d=t[12];let p;return t[13]!==o||t[14]!==c||t[15]!==d?(p=s.jsx(o,{className:c,children:d}),t[13]=o,t[14]=c,t[15]=d,t[16]=p):p=t[16],p}function ne(e,t){return Math.max(e,t.lane+1)}function re(e){return s.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const Q=4,se=32,J=240;function oe(e){const t=K.c(23),{monthStart:n,variants:r,colorMap:i}=e,o=n,a=G(n,Q),m=new Date,l=new Map;for(const _ of r){const w=l.get(_.blockKey)??[];w.push(_),l.set(_.blockKey,w)}const c=Array.from(l.entries()).sort(le),d=a.getTime()-o.getTime(),p=_=>(Math.max(o.getTime(),Math.min(a.getTime(),_.getTime()))-o.getTime())/d*100;let u;t[0]!==o?(u=(_,w)=>G(o,w),t[0]=o,t[1]=u):u=t[1];const x=Array.from({length:Q},u),h=m.getTime()>=o.getTime()&&m.getTime()<=a.getTime()?p(m):null,g=tt(),b=ft,j="flex-1 min-h-0",v="min-w-[900px] relative";let f;t[2]===Symbol.for("react.memo_cache_sentinel")?(f={width:J},t[2]=f):f=t[2];let y;t[3]!==g?(y=g("sandbox.variantCalendar.variantBlock"),t[3]=g,t[4]=y):y=t[4];let T;t[5]!==y?(T=s.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:f,children:y}),t[5]=y,t[6]=T):T=t[6];let N;t[7]===Symbol.for("react.memo_cache_sentinel")?(N={gridTemplateColumns:`repeat(${Q}, minmax(0, 1fr))`},t[7]=N):N=t[7];const D=x.map(ae);let k;t[8]!==D?(k=s.jsx("div",{className:"flex-1 grid",style:N,children:D}),t[8]=D,t[9]=k):k=t[9];let M;t[10]!==T||t[11]!==k?(M=s.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[T,k]}),t[10]=T,t[11]=k,t[12]=M):M=t[12];let S;t[13]!==g||t[14]!==h?(S=h!==null&&s.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${J}px + (100% - ${J}px) * ${h} / 100)`},children:s.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:g("sandbox.variantCalendar.todayLabel")})}),t[13]=g,t[14]=h,t[15]=S):S=t[15];const A=c.map(_=>{const[w,L]=_,H=ut(i,w),F=L[0]?.blockLabel??w;return s.jsxs("div",{children:[s.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:s.jsx("div",{className:"px-3 truncate",style:{width:J},children:F})}),L.map((E,W)=>s.jsxs("div",{className:"flex border-b items-center",style:{height:se},children:[s.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:J},children:[s.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:H.bg}}),s.jsx("span",{className:"truncate text-foreground/80",children:E.label})]}),s.jsxs("div",{className:"relative flex-1 h-full",children:[s.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${Q}, minmax(0, 1fr))`},children:x.map(ie)}),(()=>{const R=Math.max(E.start.getTime(),o.getTime()),O=Math.min(E.end.getTime(),a.getTime());if(O<=R)return null;const I=p(new Date(R)),V=p(new Date(O))-I;return s.jsx(bt,{variant:E,color:H,fadeStart:E.openStart,fadeEnd:E.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${I}%`,width:`calc(${V}% - 2px)`,height:22},children:E.label})})()]})]},W))]},w)});let $;t[16]!==M||t[17]!==S||t[18]!==A?($=s.jsxs("div",{className:v,children:[M,S,A]}),t[16]=M,t[17]=S,t[18]=A,t[19]=$):$=t[19];let C;return t[20]!==b||t[21]!==$?(C=s.jsx(b,{className:j,children:$}),t[20]=b,t[21]=$,t[22]=C):C=t[22],C}function ie(e,t){return s.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function ae(e,t){return s.jsxs("div",{className:"px-2 py-2 text-xs uppercase tracking-wide text-muted-foreground border-r last:border-r-0",children:[ht[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function le(e,t){return e[0].localeCompare(t[0])}export{Zn as VariantCalendar};
1
+ import{c as K,b as tt,r as et,j as s,m as ot,B as nt}from"./index-BkgOm_vX.js";import{w as vt,_ as dt,h as yt}from"./agent-icon-zg1FB87E.js";import{i as Tt}from"./ChevronRight-BZcGdPPu.js";import{L as jt}from"./label-cJ1dhHrU.js";import{l as ft}from"./automation-runs-DlTzSe_v.js";import{S as wt}from"./switch-CEgMa8_q.js";import{T as Nt,c as kt,a as Mt}from"./tooltip-MfpKaD0S.js";import{V as _t}from"./view-mode-toggle-B1DRzQmz.js";import"./AlertCircle-BMrG6Q3q.js";import"./Tool01-CW6f8x6a.js";import"./ArrowUp-4IIgP0L_.js";import"./Settings02-BNBy9y6j.js";import"./Tool02-C2uvJ0_5.js";import"./XCircle-JuobGDLK.js";import"./ArrowUpRight-CcI6oneR.js";import"./TrendUp01-xxfqGf4g.js";import"./ZapSquare-BDlkPp1D.js";import"./Users03-DWr2ItOS.js";import"./CheckCircle-45OPHDAm.js";import"./Check-DL28qYLv.js";import"./ChevronDown-CLApi1GU.js";import"./ChevronUp-DXUe6HUC.js";import"./DotsVertical--QEENIoe.js";import"./Stars02-hxIC2M0T.js";import"./Copy01-Ch3uicUJ.js";import"./CpuChip01-mfupBrQ9.js";import"./Eye-CuiC1YEK.js";import"./FilterLines-BdHEUEp4.js";import"./Star01-Bkuzmq6T.js";import"./Palette-4AarA8jQ.js";import"./SwitchHorizontal01-DChn9M5N.js";import"./HardDrive-mg64VmsI.js";import"./Key01-BedcWFKF.js";import"./LayoutLeft-DuGqI_-e.js";import"./LinkExternal01-OlKAhlLc.js";import"./LogOut01-DOWiOwoB.js";import"./Monitor01-CEe9pUG4.js";import"./Sun-D2tXZWa3.js";import"./Play-PqmKB1NH.js";import"./Plus-DMkJEYW1.js";import"./SearchLg-DwS7Ave5.js";import"./SearchMd-Chg8WyLO.js";import"./Shield01-DxvDnd9u.js";import"./Stars01-BiHw0-dR.js";import"./Trash01-Iu22zhy5.js";import"./Upload01-CNXHx8v7.js";import"./User01-DIpMwsLn.js";import"./Users01-R0IatXLs.js";import"./XClose-yOvU0CVb.js";import"./X-CSK_gmpR.js";import"./Zap-CFe5lQb5.js";import"./select-CvnDjS8O.js";import"./useInfiniteQuery-peXbfdMb.js";import"./use-infinite-scroll-D9x_Nrci.js";import"./use-connection-CamfwgIo.js";import"./use-mcp-client-BJHDi2Oz.js";import"./auth-CE5CgI1C.js";import"./use-virtual-mcp-Bq01sjVo.js";import"./card-DilIct9p.js";import"./sidebar-UQpC4MeY.js";import"./use-mobile-fl5xn8aJ.js";import"./table-1x7E59Ji.js";import"./empty-state-D2c4dpAC.js";import"./use-members-BUmNWrrD.js";import"./use-org-auth-client-D-HwHAMj.js";import"./use-clock-tick-CyF2F1Zx.js";import"./use-automations-oAcPQu_L.js";import"./studio-tools-BWPNAaUr.js";import"./useSuspenseInfiniteQuery-Cf46mjER.js";import"./avatar-Dr3sZ0Rp.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-dUKzEPDv.js";import"./calendar-Cn8FbpZi.js";import"./dialog-CACSNmpv.js";import"./tab-id-Bv3UTGeO.js";import"./hooks-BTJASxzD.js";import"./decopilot-sse-pool-CRtbD5U0.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./chat-context-Dm0iBURd.js";import"./use-is-desktop-app-BNujXJc_.js";import"./use-ai-providers-CNWyrwNY.js";import"./use-decopilot-events-B7jKbW5N.js";import"./use-organization-settings-CwdjYthP.js";import"./monaco-editor-DH_lJjmH.js";import"./spinner-xdZXslri.js";import"./index-ilzGb4m3.js";import"./shell-layout-Dl2bFB69.js";import"./required-auth-layout-DLOQSona.js";import"./use-org-sso-Cx6UQA6r.js";import"./integration-icon-DOqcgUnb.js";import"./use-navigate-to-agent-B5wMhz8r.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-DER6Besk.js";import"./form-CUU9PO08.js";import"./input-DKAvq9fB.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),Dt=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:n}=e,r=typeof t=="string",i=typeof n=="string";if(!r&&!i)return null;const o=r?new Date(t):Ct,a=i?new Date(n):Dt;return Number.isNaN(o.getTime())||Number.isNaN(a.getTime())||r&&i&&a.getTime()<=o.getTime()?null:{start:o,end:a,openStart:!r,openEnd:!i}}function pt(e,t){if(!e||typeof e!="object")return;const n=e.__resolveType;if(typeof n=="string"){if(Et.has(n)){const r=Rt(e);r&&t.push(r);return}if(St.has(n)){const r=e.matchers;if(Array.isArray(r))for(const i of r)pt(i,t)}}}function Ot(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!At.test(t))return!1;const n=e.variants;return Array.isArray(n)}function It(e){if(typeof e=="string"){const m=e.trim();if(m.length===0)return null;try{const c=new URL(m).pathname.split("/").filter(Boolean),d=c[c.length-1];if(d)return decodeURIComponent(d)}catch{}return m.length>80?`${m.slice(0,77)}…`:m}if(!e||typeof e!="object")return null;const t=e,n=t.config,i=t.desktop?.media,o=[t.title,t.name,t.label,t.alt,n?.title,n?.name,n?.typeAlert?.message,i?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const m of o)if(typeof m=="string"&&m.trim().length>0)return m.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 n=0;n<e.length;n++){const r=e[n];typeof r=="number"?t.length>0?t[t.length-1]+=`[${r}]`:t.push(`[${r}]`):t.push(r)}return t.join(" · ")}function X(e,t,n,r,i){if(Ot(e)){const o=e.variants,a=e.__resolveType,m=$t.test(a)?"":Pt(r);o.forEach((l,c)=>{if(!l||typeof l!="object")return;const d=l,p=[];if(pt(d.rule,p),p.length===0)return;const x=It(d.value)??(m||n);for(const h of p)i.push({blockKey:t,blockLabel:n,innerPath:m,variantIndex:c,start:h.start,end:h.end,openStart:h.openStart,openEnd:h.openEnd,label:x,flagResolveType:a})});for(let l=0;l<o.length;l++){const c=o[l];c&&typeof c=="object"&&X(c.value,t,n,[...r,"variants",l,"value"],i)}return}if(Array.isArray(e)){for(let o=0;o<e.length;o++)X(e[o],t,n,[...r,o],i);return}if(e&&typeof e=="object")for(const[o,a]of Object.entries(e))o!=="__resolveType"&&X(a,t,n,[...r,o],i)}function Ft(e){if(!e)return[];const t=[];for(const[n,r]of Object.entries(e))X(r,n,Lt(n),[],t);return t.sort((n,r)=>n.start.getTime()-r.start.getTime())}function Vt(e){const t=[...new Set(e)].sort(),n=new Map;return t.forEach((r,i)=>{const o=i*137.508%360;n.set(r,{bg:`oklch(0.62 0.14 ${o})`,text:"white",border:`oklch(0.50 0.14 ${o})`})}),n}const Ht={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function ut(e,t){return e.get(t)??Ht}const Bt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ht=["January","February","March","April","May","June","July","August","September","October","November","December"],gt=1440*60*1e3;function B(e){const t=new Date(e);return t.setHours(0,0,0,0),t}function xt(e){return new Date(e.getFullYear(),e.getMonth(),1)}function G(e,t){return new Date(e.getFullYear(),e.getMonth()+t,1)}function Z(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function st(e,t){return Math.round((B(e).getTime()-B(t).getTime())/gt)}function Wt(e){const t=(e.getTime()-B(e).getTime())/gt;return Math.min(Math.max(t,0),1)}function it(e,t){return st(e,t)+Wt(e)}function zt(e){const t=Z(e,-e.getDay()),n=[];for(let r=0;r<6;r++){const i=[];for(let o=0;o<7;o++)i.push(Z(t,r*7+o));n.push(i)}for(;n.length>0&&n[n.length-1].every(r=>r.getMonth()!==e.getMonth());)n.pop();return n}function Ut(e,t){const n=B(e[0]),r=Z(n,7),i=n.getTime(),o=r.getTime(),a=[];for(const c of t){const d=B(c.start),p=B(c.end);if(p.getTime()<n.getTime()||d.getTime()>=r.getTime())continue;const u=d.getTime()<n.getTime()?n:d,x=p.getTime()>=r.getTime()?Z(r,-1):p,h=st(u,n),g=st(x,u)+1;if(g<=0)continue;const b=Math.max(c.start.getTime(),i),j=Math.min(c.end.getTime(),o),v=it(new Date(b),n),f=Math.max(it(new Date(j),n)-v,0);f<=0||a.push({variant:c,startCol:h,span:g,leftUnits:v,widthUnits:f})}a.sort((c,d)=>c.startCol-d.startCol||d.span-c.span||c.variant.blockKey.localeCompare(d.variant.blockKey));const m=[],l=[];for(const c of a){let d=m.findIndex(p=>p<=c.startCol);d===-1&&(d=m.length,m.push(0)),m[d]=c.startCol+c.span,l.push({...c,lane:d})}return l}const at=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Yt(e,t){const n=e.openStart?t("sandbox.variantCalendar.always"):at.format(e.start),r=e.openEnd?t("sandbox.variantCalendar.ongoing"):at.format(e.end);return`${n} → ${r}`}function Gt(e){const t=K.c(18),{variant:n}=e,r=tt();let i;t[0]!==n.blockLabel?(i=s.jsx("div",{className:"font-semibold",children:n.blockLabel}),t[0]=n.blockLabel,t[1]=i):i=t[1];let o;t[2]!==n.innerPath?(o=n.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:n.innerPath}),t[2]=n.innerPath,t[3]=o):o=t[3];let a;t[4]!==n.blockLabel||t[5]!==n.innerPath||t[6]!==n.label?(a=n.label!==n.blockLabel&&n.label!==n.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:n.label}),t[4]=n.blockLabel,t[5]=n.innerPath,t[6]=n.label,t[7]=a):a=t[7];let m;t[8]!==r||t[9]!==n?(m=Yt(n,r),t[8]=r,t[9]=n,t[10]=m):m=t[10];let l;t[11]!==m?(l=s.jsx("div",{className:"mt-1",children:m}),t[11]=m,t[12]=l):l=t[12];let c;return t[13]!==i||t[14]!==o||t[15]!==a||t[16]!==l?(c=s.jsx(Mt,{children:s.jsxs("div",{className:"text-xs",children:[i,o,a,l]})}),t[13]=i,t[14]=o,t[15]=a,t[16]=l,t[17]=c):c=t[17],c}const lt=16;function Kt(e,t){const n=e?"transparent":"#000 0",r=t?"transparent":"#000 100%";if(!(!e&&!t))return`linear-gradient(to right, ${n}, #000 ${lt}px, #000 calc(100% - ${lt}px), ${r})`}function bt(e){const t=K.c(26),{variant:n,color:r,style:i,children:o,fadeStart:a,fadeEnd:m}=e,l=a===void 0?!1:a,c=m===void 0?!1:m;let d;t[0]!==c||t[1]!==l?(d=Kt(l,c),t[0]=c,t[1]=l,t[2]=d):d=t[2];const p=d;let u;t[3]!==l?(u=l&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t[3]=l,t[4]=u):u=t[4];let x;t[5]!==c?(x=c&&{borderTopRightRadius:0,borderBottomRightRadius:0},t[5]=c,t[6]=x):x=t[6];let h;t[7]!==p?(h=p&&{maskImage:p,WebkitMaskImage:p},t[7]=p,t[8]=h):h=t[8];let g;t[9]!==r.bg||t[10]!==r.text||t[11]!==i||t[12]!==u||t[13]!==x||t[14]!==h?(g={background:r.bg,color:r.text,borderRadius:4,...u,...x,...h,...i},t[9]=r.bg,t[10]=r.text,t[11]=i,t[12]=u,t[13]=x,t[14]=h,t[15]=g):g=t[15];let b;t[16]!==o?(b=s.jsx("span",{className:"truncate",children:o}),t[16]=o,t[17]=b):b=t[17];let j;t[18]!==g||t[19]!==b?(j=s.jsx(Nt,{asChild:!0,children:s.jsx("div",{className:"absolute flex items-center px-2 text-[11px] font-medium truncate cursor-default",style:g,children:b})}),t[18]=g,t[19]=b,t[20]=j):j=t[20];let v;t[21]!==n?(v=s.jsx(Gt,{variant:n}),t[21]=n,t[22]=v):v=t[22];let f;return t[23]!==v||t[24]!==j?(f=s.jsxs(kt,{children:[j,v]}),t[23]=v,t[24]=j,t[25]=f):f=t[25],f}function Zn(e){const t=K.c(72),{decofile:n}=e,r=tt(),[i,o]=et.useState("calendar"),[a,m]=et.useState(Xt),[l,c]=et.useState(!1);let d,p,u;if(t[0]!==n||t[1]!==l){const P=Ft(n);d=P.filter(Qt).length,u=l?P:P.filter(qt),p=Vt(u.map(Jt)),t[0]=n,t[1]=l,t[2]=d,t[3]=p,t[4]=u}else d=t[2],p=t[3],u=t[4];const x=p;let h;t[5]===Symbol.for("react.memo_cache_sentinel")?(h=()=>m(xt(new Date)),t[5]=h):h=t[5];const g=h;let b;t[6]!==i?(b=()=>m(P=>i==="calendar"?G(P,-1):G(P,-3)),t[6]=i,t[7]=b):b=t[7];const j=b;let v;t[8]!==i?(v=()=>m(P=>i==="calendar"?G(P,1):G(P,3)),t[8]=i,t[9]=v):v=t[9];const f=v;let y;t[10]!==r?(y=r("sandbox.variantCalendar.today"),t[10]=r,t[11]=y):y=t[11];let T;t[12]!==y?(T=s.jsx(nt,{variant:"outline",size:"sm",onClick:g,children:y}),t[12]=y,t[13]=T):T=t[13];let N;t[14]!==r?(N=r("sandbox.variantCalendar.previous"),t[14]=r,t[15]=N):N=t[15];let D;t[16]===Symbol.for("react.memo_cache_sentinel")?(D=s.jsx(vt,{size:16}),t[16]=D):D=t[16];let k;t[17]!==j||t[18]!==N?(k=s.jsx(nt,{variant:"ghost",size:"icon",className:"size-8",onClick:j,"aria-label":N,children:D}),t[17]=j,t[18]=N,t[19]=k):k=t[19];let M;t[20]!==r?(M=r("sandbox.variantCalendar.next"),t[20]=r,t[21]=M):M=t[21];let S;t[22]===Symbol.for("react.memo_cache_sentinel")?(S=s.jsx(Tt,{size:16}),t[22]=S):S=t[22];let A;t[23]!==f||t[24]!==M?(A=s.jsx(nt,{variant:"ghost",size:"icon",className:"size-8",onClick:f,"aria-label":M,children:S}),t[23]=f,t[24]=M,t[25]=A):A=t[25];const $=ht[a.getMonth()];let C;t[26]!==a?(C=a.getFullYear(),t[26]=a,t[27]=C):C=t[27];let _;t[28]!==$||t[29]!==C?(_=s.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[$," ",C]}),t[28]=$,t[29]=C,t[30]=_):_=t[30];let w;t[31]!==A||t[32]!==_||t[33]!==T||t[34]!==k?(w=s.jsxs("div",{className:"flex items-center gap-2",children:[T,k,A,_]}),t[31]=A,t[32]=_,t[33]=T,t[34]=k,t[35]=w):w=t[35];let L;t[36]!==d||t[37]!==l||t[38]!==r?(L=d>0&&s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(wt,{id:"show-ongoing",checked:l,onCheckedChange:c}),s.jsx(jt,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:r("sandbox.variantCalendar.showOngoing",{count:d})})]}),t[36]=d,t[37]=l,t[38]=r,t[39]=L):L=t[39];let H;t[40]===Symbol.for("react.memo_cache_sentinel")?(H=s.jsx(dt,{}),t[40]=H):H=t[40];let F;t[41]!==r?(F=r("sandbox.variantCalendar.calendarMode"),t[41]=r,t[42]=F):F=t[42];let E;t[43]!==F?(E={value:"calendar",icon:H,label:F},t[43]=F,t[44]=E):E=t[44];let W;t[45]===Symbol.for("react.memo_cache_sentinel")?(W=s.jsx(yt,{}),t[45]=W):W=t[45];let R;t[46]!==r?(R=r("sandbox.variantCalendar.timelineMode"),t[46]=r,t[47]=R):R=t[47];let O;t[48]!==R?(O={value:"timeline",icon:W,label:R},t[48]=R,t[49]=O):O=t[49];let I;t[50]!==E||t[51]!==O?(I=[E,O],t[50]=E,t[51]=O,t[52]=I):I=t[52];let V;t[53]!==I||t[54]!==i?(V=s.jsx(_t,{value:i,onValueChange:o,options:I}),t[53]=I,t[54]=i,t[55]=V):V=t[55];let z;t[56]!==L||t[57]!==V?(z=s.jsxs("div",{className:"flex items-center gap-4",children:[L,V]}),t[56]=L,t[57]=V,t[58]=z):z=t[58];let U;t[59]!==w||t[60]!==z?(U=s.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[w,z]}),t[59]=w,t[60]=z,t[61]=U):U=t[61];let Y;t[62]!==x||t[63]!==a||t[64]!==d||t[65]!==l||t[66]!==u||t[67]!==i?(Y=u.length===0?s.jsx(Zt,{hiddenOngoing:l?0:d}):i==="calendar"?s.jsx(ee,{monthStart:a,variants:u,colorMap:x}):s.jsx(oe,{monthStart:a,variants:u,colorMap:x}),t[62]=x,t[63]=a,t[64]=d,t[65]=l,t[66]=u,t[67]=i,t[68]=Y):Y=t[68];let q;return t[69]!==U||t[70]!==Y?(q=s.jsxs("div",{className:"flex h-full w-full flex-col",children:[U,Y]}),t[69]=U,t[70]=Y,t[71]=q):q=t[71],q}function Jt(e){return e.blockKey}function qt(e){return!e.openEnd}function Qt(e){return e.openEnd}function Xt(){return xt(new Date)}function Zt(e){const t=K.c(4),{hiddenOngoing:n}=e,r=n===void 0?0:n,i=tt();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(dt,{size:24,className:"text-muted-foreground/60"}),t[0]=o):o=t[0];let a;return t[1]!==r||t[2]!==i?(a=s.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[o,r>0?s.jsxs(s.Fragment,{children:[s.jsx("div",{children:i("sandbox.variantCalendar.noDatedVariants")}),s.jsx("div",{className:"text-xs text-muted-foreground/80",children:i("sandbox.variantCalendar.hiddenOngoingVariants",{count:r})})]}):s.jsxs(s.Fragment,{children:[s.jsx("div",{children:i("sandbox.variantCalendar.noScheduledVariants")}),s.jsx("div",{className:"text-xs text-muted-foreground/80",children:i("sandbox.variantCalendar.dateMatcherInfo")})]})]}),t[1]=r,t[2]=i,t[3]=a):a=t[3],a}const rt=20,ct=2,mt=28,te=6;function ee(e){const t=K.c(17),{monthStart:n,variants:r,colorMap:i}=e;let o,a,m,l,c;if(t[0]!==i||t[1]!==n||t[2]!==r){const u=zt(n),x=B(new Date);o=ft,c="flex-1 min-h-0",a="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:Bt.map(re)}),t[8]=m):m=t[8],l=u.map((h,g)=>{const b=Ut(h,r),j=b.reduce(ne,0),v=mt+j*(rt+ct)+8;return s.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:v},children:[h.map((f,y)=>{const T=f.getMonth()===n.getMonth(),N=f.getTime()===x.getTime();return s.jsx("div",{className:ot("border-r last:border-r-0 px-2 pt-1.5 text-xs",T?"bg-background":"bg-muted/30 text-muted-foreground"),children:s.jsx("span",{className:ot("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",N&&"bg-primary text-primary-foreground font-semibold"),children:f.getDate()})},y)}),b.map((f,y)=>{const T=ut(i,f.variant.blockKey),N=mt+f.lane*(rt+ct),D=f.leftUnits/7*100,k=f.widthUnits/7*100,M=f.variant.openStart&&g===0,S=f.variant.openEnd&&g===u.length-1;return s.jsxs(bt,{variant:f.variant,color:T,fadeStart:M,fadeEnd:S,style:{top:N,left:`calc(${D}% + 2px)`,width:`calc(${k}% - 4px)`,minWidth:te,height:rt},children:[f.variant.blockLabel,f.variant.label!==f.variant.blockLabel&&s.jsxs("span",{className:"opacity-70",children:[" · ",f.variant.label]})]},`${g}-${y}`)})]},g)}),t[0]=i,t[1]=n,t[2]=r,t[3]=o,t[4]=a,t[5]=m,t[6]=l,t[7]=c}else o=t[3],a=t[4],m=t[5],l=t[6],c=t[7];let d;t[9]!==a||t[10]!==m||t[11]!==l?(d=s.jsxs("div",{className:a,children:[m,l]}),t[9]=a,t[10]=m,t[11]=l,t[12]=d):d=t[12];let p;return t[13]!==o||t[14]!==c||t[15]!==d?(p=s.jsx(o,{className:c,children:d}),t[13]=o,t[14]=c,t[15]=d,t[16]=p):p=t[16],p}function ne(e,t){return Math.max(e,t.lane+1)}function re(e){return s.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const Q=4,se=32,J=240;function oe(e){const t=K.c(23),{monthStart:n,variants:r,colorMap:i}=e,o=n,a=G(n,Q),m=new Date,l=new Map;for(const _ of r){const w=l.get(_.blockKey)??[];w.push(_),l.set(_.blockKey,w)}const c=Array.from(l.entries()).sort(le),d=a.getTime()-o.getTime(),p=_=>(Math.max(o.getTime(),Math.min(a.getTime(),_.getTime()))-o.getTime())/d*100;let u;t[0]!==o?(u=(_,w)=>G(o,w),t[0]=o,t[1]=u):u=t[1];const x=Array.from({length:Q},u),h=m.getTime()>=o.getTime()&&m.getTime()<=a.getTime()?p(m):null,g=tt(),b=ft,j="flex-1 min-h-0",v="min-w-[900px] relative";let f;t[2]===Symbol.for("react.memo_cache_sentinel")?(f={width:J},t[2]=f):f=t[2];let y;t[3]!==g?(y=g("sandbox.variantCalendar.variantBlock"),t[3]=g,t[4]=y):y=t[4];let T;t[5]!==y?(T=s.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:f,children:y}),t[5]=y,t[6]=T):T=t[6];let N;t[7]===Symbol.for("react.memo_cache_sentinel")?(N={gridTemplateColumns:`repeat(${Q}, minmax(0, 1fr))`},t[7]=N):N=t[7];const D=x.map(ae);let k;t[8]!==D?(k=s.jsx("div",{className:"flex-1 grid",style:N,children:D}),t[8]=D,t[9]=k):k=t[9];let M;t[10]!==T||t[11]!==k?(M=s.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[T,k]}),t[10]=T,t[11]=k,t[12]=M):M=t[12];let S;t[13]!==g||t[14]!==h?(S=h!==null&&s.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${J}px + (100% - ${J}px) * ${h} / 100)`},children:s.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:g("sandbox.variantCalendar.todayLabel")})}),t[13]=g,t[14]=h,t[15]=S):S=t[15];const A=c.map(_=>{const[w,L]=_,H=ut(i,w),F=L[0]?.blockLabel??w;return s.jsxs("div",{children:[s.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:s.jsx("div",{className:"px-3 truncate",style:{width:J},children:F})}),L.map((E,W)=>s.jsxs("div",{className:"flex border-b items-center",style:{height:se},children:[s.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:J},children:[s.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:H.bg}}),s.jsx("span",{className:"truncate text-foreground/80",children:E.label})]}),s.jsxs("div",{className:"relative flex-1 h-full",children:[s.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${Q}, minmax(0, 1fr))`},children:x.map(ie)}),(()=>{const R=Math.max(E.start.getTime(),o.getTime()),O=Math.min(E.end.getTime(),a.getTime());if(O<=R)return null;const I=p(new Date(R)),V=p(new Date(O))-I;return s.jsx(bt,{variant:E,color:H,fadeStart:E.openStart,fadeEnd:E.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${I}%`,width:`calc(${V}% - 2px)`,height:22},children:E.label})})()]})]},W))]},w)});let $;t[16]!==M||t[17]!==S||t[18]!==A?($=s.jsxs("div",{className:v,children:[M,S,A]}),t[16]=M,t[17]=S,t[18]=A,t[19]=$):$=t[19];let C;return t[20]!==b||t[21]!==$?(C=s.jsx(b,{className:j,children:$}),t[20]=b,t[21]=$,t[22]=C):C=t[22],C}function ie(e,t){return s.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function ae(e,t){return s.jsxs("div",{className:"px-2 py-2 text-xs uppercase tracking-wide text-muted-foreground border-r last:border-r-0",children:[ht[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function le(e,t){return e[0].localeCompare(t[0])}export{Zn as VariantCalendar};
@@ -1 +1 @@
1
- import{c as $,r as T,m as f,j as i}from"./index-DJJCDeSA.js";import{c as k,T as I,a as P}from"./tooltip-B21dFACH.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 B(E){const t=$.c(27),{value:s,onValueChange:y,options:o,size:C,fullWidth:L,className:z}=E,_=C===void 0?"sm":C,b=L===void 0?!1:L;let h;t[0]===Symbol.for("react.memo_cache_sentinel")?(h=[],t[0]=h):h=t[0];const R=T.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]=T.useState(x);let g,p;t[2]!==o||t[3]!==s?(g=()=>{const e=o.findIndex(j=>j.value===s),m=R.current[e];m&&S({left:m.offsetLeft,width:m.offsetWidth,opacity:1})},p=[s,o],t[2]=o,t[3]=s,t[4]=g,t[5]=p):(g=t[4],p=t[5]),T.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]!==b||t[10]!==y||t[11]!==o||t[12]!==s?(a=o.map((e,m)=>{const j=i.jsxs("button",{ref:V=>{R.current[m]=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",b?"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]=b,t[10]=y,t[11]=o,t[12]=s,t[13]=a):a=t[13];const w=b?"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{B as V};
1
+ import{c as $,r as T,m as f,j as i}from"./index-BkgOm_vX.js";import{c as k,T as I,a as P}from"./tooltip-MfpKaD0S.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 B(E){const t=$.c(27),{value:s,onValueChange:y,options:o,size:C,fullWidth:L,className:z}=E,_=C===void 0?"sm":C,b=L===void 0?!1:L;let h;t[0]===Symbol.for("react.memo_cache_sentinel")?(h=[],t[0]=h):h=t[0];const R=T.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]=T.useState(x);let g,p;t[2]!==o||t[3]!==s?(g=()=>{const e=o.findIndex(j=>j.value===s),m=R.current[e];m&&S({left:m.offsetLeft,width:m.offsetWidth,opacity:1})},p=[s,o],t[2]=o,t[3]=s,t[4]=g,t[5]=p):(g=t[4],p=t[5]),T.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]!==b||t[10]!==y||t[11]!==o||t[12]!==s?(a=o.map((e,m)=>{const j=i.jsxs("button",{ref:V=>{R.current[m]=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",b?"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]=b,t[10]=y,t[11]=o,t[12]=s,t[13]=a):a=t[13];const w=b?"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{B 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-DJJCDeSA.js"></script>
53
+ <script type="module" crossorigin src="/assets/index-BkgOm_vX.js"></script>
54
54
  <link rel="stylesheet" crossorigin href="/assets/index-Cb2VTVkW.css">
55
55
  </head>
56
56
  <body>