decocms 3.76.2 → 3.77.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 (219) hide show
  1. package/dist/client/assets/{AlertCircle-BZqAQZBb.js → AlertCircle-BYmwGQCf.js} +1 -1
  2. package/dist/client/assets/{ArrowRight-6qgvW498.js → ArrowRight-CvF16wpP.js} +1 -1
  3. package/dist/client/assets/{ArrowUpRight-CUPFfker.js → ArrowUpRight-DpeEXraR.js} +1 -1
  4. package/dist/client/assets/{CheckCircle-DOPRdShL.js → CheckCircle-Bf3Z61R3.js} +1 -1
  5. package/dist/client/assets/{ChevronDown-BhLFFAly.js → ChevronDown-DbkPHjH7.js} +1 -1
  6. package/dist/client/assets/{ChevronLeft-veOSKT91.js → ChevronLeft-7WikNK_I.js} +1 -1
  7. package/dist/client/assets/{ChevronRight-tj4xbWmM.js → ChevronRight-CUrrZIqG.js} +1 -1
  8. package/dist/client/assets/{ChevronUp-DhHPsDAS.js → ChevronUp-BT7nyl6k.js} +1 -1
  9. package/dist/client/assets/{DotsVertical-kcsdrim_.js → DotsVertical-BpkGXLrP.js} +1 -1
  10. package/dist/client/assets/{Eye-BfNssVzk.js → Eye-D3915Vo9.js} +1 -1
  11. package/dist/client/assets/{FilterLines-D2obCQW_.js → FilterLines-BDTdg3RE.js} +1 -1
  12. package/dist/client/assets/{Globe01-CJXHyXNe.js → Globe01-BxZmquSL.js} +1 -1
  13. package/dist/client/assets/{Globe04-PQ0ejRYI.js → Globe04-CkBzX8xL.js} +1 -1
  14. package/dist/client/assets/{HardDrive-DEG8fjxw.js → HardDrive-Cko4CWL8.js} +1 -1
  15. package/dist/client/assets/{Key01-xj4UQriu.js → Key01-CAY-Xxyp.js} +1 -1
  16. package/dist/client/assets/{LayoutLeft-C9-KQh8d.js → LayoutLeft-CJuGELXN.js} +1 -1
  17. package/dist/client/assets/{LinkExternal01-DtLsAcMy.js → LinkExternal01-DluIM9mv.js} +1 -1
  18. package/dist/client/assets/{Monitor01-CvNVisni.js → Monitor01-bbyGUKmR.js} +1 -1
  19. package/dist/client/assets/{Palette-yNiXmyHD.js → Palette-DLCudjOT.js} +1 -1
  20. package/dist/client/assets/{Play-C0DhAO4u.js → Play-I5x_JKdj.js} +1 -1
  21. package/dist/client/assets/{Plus-BRQannbC.js → Plus-DOSjIlBe.js} +1 -1
  22. package/dist/client/assets/{SearchMd-CttVjXUQ.js → SearchMd-q-mL98uP.js} +1 -1
  23. package/dist/client/assets/{Settings02-kQ4zmp5P.js → Settings02-C0s-saqA.js} +1 -1
  24. package/dist/client/assets/{Shield01-BZZVugf_.js → Shield01-DA5SmW0P.js} +1 -1
  25. package/dist/client/assets/{Star01-CFj5T2Jl.js → Star01-1ZF9aI5Y.js} +1 -1
  26. package/dist/client/assets/{Stars01-C4FyHP_L.js → Stars01-CWQtskKI.js} +1 -1
  27. package/dist/client/assets/{Stars02-Bo19XD__.js → Stars02-DMdFpBOz.js} +1 -1
  28. package/dist/client/assets/{Sun-CcSW7Ngf.js → Sun-CVp19c6p.js} +1 -1
  29. package/dist/client/assets/{SwitchHorizontal01-BVKPeJMU.js → SwitchHorizontal01-BMk8DM55.js} +1 -1
  30. package/dist/client/assets/{Tool01-AyuVwnGv.js → Tool01-CHEQOI-w.js} +1 -1
  31. package/dist/client/assets/{Trash01-BZXmKzie.js → Trash01-jgpaQcTh.js} +1 -1
  32. package/dist/client/assets/{Upload01-D4ez0Mu3.js → Upload01-DmPHnKxK.js} +1 -1
  33. package/dist/client/assets/{User01-Dz33ODze.js → User01-CQqeHCY8.js} +1 -1
  34. package/dist/client/assets/{Users01-aBataJ8N.js → Users01-3CAb_L9A.js} +1 -1
  35. package/dist/client/assets/{Users03-C6siA5mE.js → Users03-BtWBA-oP.js} +1 -1
  36. package/dist/client/assets/{X-DC2HG4lX.js → X-BTPYHIvY.js} +1 -1
  37. package/dist/client/assets/{XCircle-DJDxYBys.js → XCircle-BODgW7sH.js} +1 -1
  38. package/dist/client/assets/{XClose-BcOWKb5Q.js → XClose-qC8Lq_ms.js} +1 -1
  39. package/dist/client/assets/{Zap-OOZsYg72.js → Zap-CVq2f6J2.js} +1 -1
  40. package/dist/client/assets/{ZapSquare-ok_KEP9c.js → ZapSquare-C3NGLDu-.js} +1 -1
  41. package/dist/client/assets/{ZoomOut-cYq1CP_X.js → ZoomOut-CjZnoT-b.js} +1 -1
  42. package/dist/client/assets/{access-gate-uvqL8ENQ.js → access-gate-CBINLd7U.js} +1 -1
  43. package/dist/client/assets/{add-section-modal-CZMJAFim.js → add-section-modal-A1TEpk88.js} +1 -1
  44. package/dist/client/assets/{agent-icon-C4199b3i.js → agent-icon-s6bX_I9L.js} +1 -1
  45. package/dist/client/assets/{agents-list-BkhDlcw_.js → agents-list-yRMR0cF5.js} +1 -1
  46. package/dist/client/assets/{ai-providers-CocgfzPQ.js → ai-providers-47bmrarJ.js} +1 -1
  47. package/dist/client/assets/{alert-CUg2Lij_.js → alert-CHc3FYZF.js} +1 -1
  48. package/dist/client/assets/{alert-dialog-BUQoXI1j.js → alert-dialog-D2GL5qBd.js} +1 -1
  49. package/dist/client/assets/app-editor-DjZhxnMe.js +1 -0
  50. package/dist/client/assets/{auth-B9bEkbYh.js → auth-BX6flE6a.js} +1 -1
  51. package/dist/client/assets/{auth-catchall-CoB3zmdz.js → auth-catchall-BpjOaSW9.js} +1 -1
  52. package/dist/client/assets/{auth-entry-CGeJ7qYU.js → auth-entry-DfGml_TH.js} +1 -1
  53. package/dist/client/assets/{auth-split-layout-DAQR8Zen.js → auth-split-layout-HWtMmGAh.js} +1 -1
  54. package/dist/client/assets/{automation-list-row-DMPjogBl.js → automation-list-row-CAkQUGBC.js} +1 -1
  55. package/dist/client/assets/{automation-runs-y9iHLMe2.js → automation-runs-BO1vGgx9.js} +1 -1
  56. package/dist/client/assets/{automations-BZ5f_VCT.js → automations-DQeUsmtv.js} +1 -1
  57. package/dist/client/assets/{avatar-CKJB3djy.js → avatar-BS-jv_DR.js} +1 -1
  58. package/dist/client/assets/{badge-DUlP8HvP.js → badge-BcU0uhl8.js} +1 -1
  59. package/dist/client/assets/{block-document-Cft5FVFJ.js → block-document-CF604YR_.js} +1 -1
  60. package/dist/client/assets/{brand-context-ozThKdwR.js → brand-context-2XxEjOnF.js} +1 -1
  61. package/dist/client/assets/{buckets-DXjIiLHp.js → buckets-DVC4Kohh.js} +1 -1
  62. package/dist/client/assets/{calendar-DDwlGULz.js → calendar-CbxSTdbI.js} +1 -1
  63. package/dist/client/assets/{capability-load-error-DTVGdoZZ.js → capability-load-error-D-aRp7QN.js} +1 -1
  64. package/dist/client/assets/{card-D7O9yDM9.js → card-BIfVO_jW.js} +1 -1
  65. package/dist/client/assets/category-editor-BfrojdBX.js +1 -0
  66. package/dist/client/assets/{chat-context-GA_fpERN.js → chat-context-EpSQJI2R.js} +1 -1
  67. package/dist/client/assets/{checkbox-DOg3LODJ.js → checkbox-B76UlBUd.js} +1 -1
  68. package/dist/client/assets/{cli-auth-success-Jeg6Lv3T.js → cli-auth-success-BZa-itTp.js} +1 -1
  69. package/dist/client/assets/{collection-detail-BDyvHjSJ.js → collection-detail-BNS2Iwl7.js} +1 -1
  70. package/dist/client/assets/{collection-display-button-b4s7O-gz.js → collection-display-button-BP4c4hrD.js} +1 -1
  71. package/dist/client/assets/{collection-search-DC-7DcrR.js → collection-search-DYVCc599.js} +1 -1
  72. package/dist/client/assets/{collection-tabs-CRIZ0CX_.js → collection-tabs-C0YJH8OQ.js} +1 -1
  73. package/dist/client/assets/{command-BzTLypzr.js → command-Cx31xkYn.js} +1 -1
  74. package/dist/client/assets/{commerce-onboarding-Cz_Sr1Cc.js → commerce-onboarding-Bx2cQDUo.js} +1 -1
  75. package/dist/client/assets/{connect-desktop-dialog-uLnBe_nQ.js → connect-desktop-dialog-C3zpTl9v.js} +1 -1
  76. package/dist/client/assets/{connection-card-DPkWnrYu.js → connection-card-C3_U3j25.js} +1 -1
  77. package/dist/client/assets/{connection-detail-DFBuqM3e.js → connection-detail-DttTci9g.js} +1 -1
  78. package/dist/client/assets/{connection-form-helpers-B_oQdAph.js → connection-form-helpers-QpFovVZo.js} +1 -1
  79. package/dist/client/assets/{connections-BF1eSDFK.js → connections-4YYDTDW3.js} +1 -1
  80. package/dist/client/assets/{context-menu-DegHHWIw.js → context-menu-DX4dPYJO.js} +1 -1
  81. package/dist/client/assets/{decopilot-BsjqLgTH.js → decopilot-DaDKMLey.js} +1 -1
  82. package/dist/client/assets/{decopilot-sse-pool-CZG5pZEa.js → decopilot-sse-pool-CcKrM-Xv.js} +1 -1
  83. package/dist/client/assets/{dialog-DDL08EK8.js → dialog-DGhL6eBy.js} +1 -1
  84. package/dist/client/assets/{domain-settings-ctGoYy0P.js → domain-settings-C1EU9nuj.js} +1 -1
  85. package/dist/client/assets/{drawer-CTdCEiZw.js → drawer-B9Cs5iI_.js} +1 -1
  86. package/dist/client/assets/{dropdown-menu-CgCZ8Mte.js → dropdown-menu-CiC9tTdb.js} +1 -1
  87. package/dist/client/assets/{empty-state-BDXQKaPV.js → empty-state-yOW3dSH7.js} +1 -1
  88. package/dist/client/assets/{extract-connection-data-D4y9_vmi.js → extract-connection-data-Cmd1hHZE.js} +1 -1
  89. package/dist/client/assets/{file-explorer-DTEZJaER.js → file-explorer-CRI6MNvr.js} +1 -1
  90. package/dist/client/assets/{file-type-icon-GfohFxwW.js → file-type-icon-C0VVPUpN.js} +1 -1
  91. package/dist/client/assets/{files-CjZS2qVw.js → files-BJZQ0FpY.js} +1 -1
  92. package/dist/client/assets/{form-B9v_4_lt.js → form-CaHcodeJ.js} +1 -1
  93. package/dist/client/assets/{general-CMdyBBfH.js → general-DvXPbO2X.js} +1 -1
  94. package/dist/client/assets/{github-repo-picker-Qwduwaex.js → github-repo-picker-CtfOBr8M.js} +1 -1
  95. package/dist/client/assets/{hooks-BI65IXS7.js → hooks-DX86YvO8.js} +1 -1
  96. package/dist/client/assets/{image-field-CEHk9cpM.js → image-field-D_fZia_E.js} +1 -1
  97. package/dist/client/assets/{import-from-deco-dialog-DDUPpwIu.js → import-from-deco-dialog-Dn6_-blC.js} +1 -1
  98. package/dist/client/assets/{index-B2quJDhU.js → index-BbdyUut8.js} +1 -1
  99. package/dist/client/assets/{index-BUTJwxVv.js → index-BdFUyuzp.js} +1 -1
  100. package/dist/client/assets/{index-Cvc1xn-4.js → index-BiSv4wgs.js} +3 -3
  101. package/dist/client/assets/{index-CWT26dU0.js → index-Bzfd3S0P.js} +1 -1
  102. package/dist/client/assets/{index-CQsWL0Jd.js → index-CAejfhLf.js} +1 -1
  103. package/dist/client/assets/{index-DBKP_KxA.js → index-CQF6lVUo.js} +1 -1
  104. package/dist/client/assets/{index-YDkX6amF.js → index-CS96E1bw.js} +1 -1
  105. package/dist/client/assets/{index-Br4BSsfF.js → index-Cyq8kOmo.js} +1 -1
  106. package/dist/client/assets/{index-1J83wgnT.js → index-D-jSeUPY.js} +1 -1
  107. package/dist/client/assets/{index-B8LUbsU-.js → index-DAfY2rvi.js} +4 -4
  108. package/dist/client/assets/{index-DVxNbd_g.js → index-DLBSEic_.js} +1 -1
  109. package/dist/client/assets/{index-DMWSApoW.js → index-IC_7I4E3.js} +1 -1
  110. package/dist/client/assets/{index-BI3_fNOm.js → index-lWXyO72r.js} +1 -1
  111. package/dist/client/assets/{index-B3siY4Ve.js → index-m_lmKMTo.js} +1 -1
  112. package/dist/client/assets/{index-redirect-7dYh9FF7.js → index-redirect--cQpprvo.js} +1 -1
  113. package/dist/client/assets/{input-klr_kUC2.js → input-Ta_Y1lvO.js} +1 -1
  114. package/dist/client/assets/{integration-icon-gcYOl2yq.js → integration-icon-DDugmSqH.js} +1 -1
  115. package/dist/client/assets/{label-hfmZhqH1.js → label-C8gqICzJ.js} +1 -1
  116. package/dist/client/assets/{login-BwlkI7-F.js → login-15LhOBnr.js} +1 -1
  117. package/dist/client/assets/{mcp-oauth-C5QgI6bG.js → mcp-oauth-D0PDq8qp.js} +1 -1
  118. package/dist/client/assets/{members-DtCaJnP7.js → members-BCHlqZ_l.js} +1 -1
  119. package/dist/client/assets/{monaco-editor-YJUBj_D_.js → monaco-editor-B83AZ8GN.js} +1 -1
  120. package/dist/client/assets/{monitoring-stats-row-DYXC0MeT.js → monitoring-stats-row-CH_Ju-wa.js} +1 -1
  121. package/dist/client/assets/{oauth-callback-ai-provider-rWJe_yJL.js → oauth-callback-ai-provider-BB5BJd2l.js} +1 -1
  122. package/dist/client/assets/{oauth-callback-oHGZWLTi.js → oauth-callback-ix708N30.js} +1 -1
  123. package/dist/client/assets/{onboarding-C8e3_lZa.js → onboarding-CMCNAluc.js} +1 -1
  124. package/dist/client/assets/{org-install-Bht2exTB.js → org-install-DrK1M64X.js} +1 -1
  125. package/dist/client/assets/{org-layout-DJtHiwbS.js → org-layout-C6zhzHkR.js} +1 -1
  126. package/dist/client/assets/{organization-choice-Dye_3x23.js → organization-choice-B6-OJzO9.js} +1 -1
  127. package/dist/client/assets/{page-seo-form-Io0ovKiN.js → page-seo-form-BzBYlYXK.js} +1 -1
  128. package/dist/client/assets/page-seo-sheet-BI1e3r-Y.js +1 -0
  129. package/dist/client/assets/{popover-BvZF2bBr.js → popover-BlGotCa-.js} +1 -1
  130. package/dist/client/assets/{post-editor-DhYABFSS.js → post-editor-DayUNdZ0.js} +1 -1
  131. package/dist/client/assets/{preview-dialog-BikVelEl.js → preview-dialog-BTdQ1TvF.js} +1 -1
  132. package/dist/client/assets/{primitives-Bc5oh19Q.js → primitives-CKYU8UlB.js} +1 -1
  133. package/dist/client/assets/{profile-BoAJRU1a.js → profile-B5aimk1S.js} +1 -1
  134. package/dist/client/assets/project-app-view-Dnb_LmK_.js +1 -0
  135. package/dist/client/assets/record-editor-BY0yu0r9.js +1 -0
  136. package/dist/client/assets/registry-CcuEWwCn.js +2 -0
  137. package/dist/client/assets/{registry-layout-Dxd6kQFA.js → registry-layout-DsXkT4KV.js} +1 -1
  138. package/dist/client/assets/{require-capability-kyUIYw2A.js → require-capability-XP_1zPNl.js} +1 -1
  139. package/dist/client/assets/{required-auth-layout-BcilPdVi.js → required-auth-layout-qIDzSGtQ.js} +1 -1
  140. package/dist/client/assets/{reset-password-CPk5rTzD.js → reset-password-RZU_bfNW.js} +1 -1
  141. package/dist/client/assets/{roles-BTjmfpAQ.js → roles-CT6FH28_.js} +1 -1
  142. package/dist/client/assets/save-referenced-block-CMl5gaJM.js +1 -0
  143. package/dist/client/assets/{save-status-De_ZSd1F.js → save-status-Bwyidu0s.js} +1 -1
  144. package/dist/client/assets/{schema-form-C1MMeEGC.js → schema-form-CTQz2kTF.js} +1 -1
  145. package/dist/client/assets/{scroll-area-BvvyxqKR.js → scroll-area-iBbwLoaH.js} +1 -1
  146. package/dist/client/assets/{search-input-B-LDSHMx.js → search-input-CHOe8stk.js} +1 -1
  147. package/dist/client/assets/{secrets-Bq5342Un.js → secrets-DqovOx3Q.js} +1 -1
  148. package/dist/client/assets/{sections-editor-BU6mrjAz.js → sections-editor-PK5zsI1T.js} +1 -1
  149. package/dist/client/assets/{select-DwFQDgcX.js → select-D9WchHFw.js} +1 -1
  150. package/dist/client/assets/{select-model-BWl1FGCY.js → select-model-D4uK7qW2.js} +1 -1
  151. package/dist/client/assets/{seo-editor-WJe9bB3t.js → seo-editor-Dwigxdky.js} +1 -1
  152. package/dist/client/assets/{settings-layout-d5QwVuj0.js → settings-layout-CtPsdD9d.js} +1 -1
  153. package/dist/client/assets/{settings-section-rOWH4a9G.js → settings-section-XLADU1Ft.js} +1 -1
  154. package/dist/client/assets/{sheet-XVV7S5b8.js → sheet-DcscOrN-.js} +1 -1
  155. package/dist/client/assets/{shell-controls-D6QH2Gpe.js → shell-controls-DCNtyoPf.js} +1 -1
  156. package/dist/client/assets/{shell-layout-DIXTRmN4.js → shell-layout-78V1nK9o.js} +1 -1
  157. package/dist/client/assets/{shell-route-loading-B5-wAKUU.js → shell-route-loading-Drp-Ml9n.js} +1 -1
  158. package/dist/client/assets/{sidebar-Djn7svMG.js → sidebar-BHU7Y-eK.js} +1 -1
  159. package/dist/client/assets/{skeleton-C-tuNjEZ.js → skeleton-DYsLWJ4s.js} +1 -1
  160. package/dist/client/assets/{sortable.esm-S2exVkMt.js → sortable.esm-DYnQaz_O.js} +1 -1
  161. package/dist/client/assets/{sso-KnN7dzsP.js → sso-CUKcu8bh.js} +1 -1
  162. package/dist/client/assets/{store-DcHIPBce.js → store-D0RG8VnF.js} +1 -1
  163. package/dist/client/assets/store-registry-l1zQEo3-.js +2 -0
  164. package/dist/client/assets/{studio-tools-D8q7MEyE.js → studio-tools-B6e1wIqk.js} +1 -1
  165. package/dist/client/assets/{switch-skMKJ2GI.js → switch-B0g5vIO8.js} +1 -1
  166. package/dist/client/assets/{table-DsOuzcNK.js → table-CuanbdKo.js} +1 -1
  167. package/dist/client/assets/{tabs-C0Vh3iPJ.js → tabs-DfpltS-P.js} +1 -1
  168. package/dist/client/assets/{task-status-DRz_b988.js → task-status-B9Z3_U-A.js} +1 -1
  169. package/dist/client/assets/{textarea-2KmLad1y.js → textarea-ji5jId4g.js} +1 -1
  170. package/dist/client/assets/{toggle-group-6FcrOIsd.js → toggle-group-B5UDI72A.js} +1 -1
  171. package/dist/client/assets/{toolbar-DE_I2DnI.js → toolbar-BMWZipjQ.js} +1 -1
  172. package/dist/client/assets/{tooltip-D_DwQRbZ.js → tooltip-BIAup3vg.js} +1 -1
  173. package/dist/client/assets/{types-zC94Gae_.js → types-DmsJ1dgA.js} +1 -1
  174. package/dist/client/assets/{use-ai-providers-0DJv4c0H.js → use-ai-providers-CSwg9ID-.js} +1 -1
  175. package/dist/client/assets/{use-automations-CsLMaKM0.js → use-automations-Cm2EUHDJ.js} +1 -1
  176. package/dist/client/assets/{use-capability-A3j7T78I.js → use-capability-jAHdTjWn.js} +1 -1
  177. package/dist/client/assets/{use-clock-tick-CqrkSCF6.js → use-clock-tick-BH2ii9Ri.js} +1 -1
  178. package/dist/client/assets/{use-collections-dA9ibOHr.js → use-collections-DYVhZ6LZ.js} +1 -1
  179. package/dist/client/assets/{use-connection-C39BUY8e.js → use-connection-CYq4sTpp.js} +1 -1
  180. package/dist/client/assets/{use-copy-DM9BeeKg.js → use-copy-BL1Gi5Ma.js} +1 -1
  181. package/dist/client/assets/{use-create-virtual-mcp-q3QYUSY1.js → use-create-virtual-mcp-BbTDDIhz.js} +1 -1
  182. package/dist/client/assets/{use-debounced-autosave-BzGp2qae.js → use-debounced-autosave-BWXIh3Xt.js} +1 -1
  183. package/dist/client/assets/{use-deco-credits-Bax6GRog.js → use-deco-credits-CjVry_TJ.js} +1 -1
  184. package/dist/client/assets/{use-delete-connection-CAqFRv-C.js → use-delete-connection-BP0n__7X.js} +1 -1
  185. package/dist/client/assets/{use-file-configs-CvRusjpd.js → use-file-configs-3VHkoOl7.js} +1 -1
  186. package/dist/client/assets/{use-infinite-scroll-DM0o0Ibp.js → use-infinite-scroll-CsW5GqEa.js} +1 -1
  187. package/dist/client/assets/{use-join-requests-iYNw-oM8.js → use-join-requests-BtpSJ5cA.js} +1 -1
  188. package/dist/client/assets/{use-mcp-client-DV4dF4m3.js → use-mcp-client-BcfXwx2l.js} +1 -1
  189. package/dist/client/assets/{use-mcp-prompts-CspfQ-gW.js → use-mcp-prompts-h_GWEUu_.js} +1 -1
  190. package/dist/client/assets/{use-mcp-tools-DnBnaQLn.js → use-mcp-tools-DhZgsJaJ.js} +1 -1
  191. package/dist/client/assets/{use-members-CtcSheMR.js → use-members-K1wagpAk.js} +1 -1
  192. package/dist/client/assets/{use-navigate-to-agent-Cs1C-DBQ.js → use-navigate-to-agent-GOxU3Hpn.js} +1 -1
  193. package/dist/client/assets/{use-org-auth-client-lV24PS0n.js → use-org-auth-client-CMUSTibk.js} +1 -1
  194. package/dist/client/assets/{use-org-sso-Cygr8MWL.js → use-org-sso-BJNpFjMG.js} +1 -1
  195. package/dist/client/assets/{use-organization-roles-DKqp_63r.js → use-organization-roles-CnWjq4nf.js} +1 -1
  196. package/dist/client/assets/{use-organization-settings-C6jq364X.js → use-organization-settings-CbMA9tyx.js} +1 -1
  197. package/dist/client/assets/{use-registry-connections-yBLIjpTM.js → use-registry-connections-CQIqYcvJ.js} +1 -1
  198. package/dist/client/assets/{use-secrets-BtkNg5h6.js → use-secrets-B69dGKd4.js} +1 -1
  199. package/dist/client/assets/{use-status-sounds-Bvu0fELl.js → use-status-sounds-B38RTJiB.js} +1 -1
  200. package/dist/client/assets/{use-view-mode-CF449xEK.js → use-view-mode-DyryORIA.js} +1 -1
  201. package/dist/client/assets/{use-virtual-mcp-WmAC_qSm.js → use-virtual-mcp-B9JwuB8w.js} +1 -1
  202. package/dist/client/assets/useInfiniteQuery-nR5oOHHR.js +1 -0
  203. package/dist/client/assets/useSuspenseInfiniteQuery-mFFPqXZc.js +1 -0
  204. package/dist/client/assets/{variant-calendar-CoVLDgg6.js → variant-calendar-CisCsFL5.js} +1 -1
  205. package/dist/client/assets/{view-mode-toggle-D7_rFTiD.js → view-mode-toggle-Bt_jVM0U.js} +1 -1
  206. package/dist/client/index.html +1 -1
  207. package/dist/server/cli.js +344 -344
  208. package/dist/server/server.js +235 -235
  209. package/package.json +1 -1
  210. package/dist/client/assets/app-editor-C-syiSQu.js +0 -1
  211. package/dist/client/assets/category-editor-B2u5O4dV.js +0 -1
  212. package/dist/client/assets/page-seo-sheet-CRKfon-Z.js +0 -1
  213. package/dist/client/assets/project-app-view-AcWNwwqH.js +0 -1
  214. package/dist/client/assets/record-editor-CdJmeinf.js +0 -1
  215. package/dist/client/assets/registry-Cq-UMbFU.js +0 -2
  216. package/dist/client/assets/save-referenced-block-oaxGf8K5.js +0 -1
  217. package/dist/client/assets/store-registry-3V2xevo5.js +0 -2
  218. package/dist/client/assets/useInfiniteQuery-Bwr_uznn.js +0 -1
  219. package/dist/client/assets/useSuspenseInfiniteQuery-D48NS_O0.js +0 -1
@@ -1 +1 @@
1
- import{c as a,s as d,aI as p,k as P}from"./index-Cvc1xn-4.js";import{b as L,a as S,u as V,c as _}from"./use-collections-dA9ibOHr.js";import{S as g,u as I}from"./use-mcp-client-DV4dF4m3.js";function v(s){const t=a.c(5);let e;t[0]!==s?(e=s===void 0?{}:s,t[0]=s,t[1]=e):e=t[1];const n=e,{org:i}=d();let o;t[2]!==i.id||t[3]!==i.slug?(o={connectionId:g,orgId:i.id,orgSlug:i.slug},t[2]=i.id,t[3]=i.slug,t[4]=o):o=t[4];const l=I(o);return L(i.id,"VIRTUAL_MCP",l,n)}function R(s,t,e){return _(s,"VIRTUAL_MCP",t??void 0,e)}function b(s){const t=a.c(3),{org:e}=d();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 i=I(n);return V(e.id,"VIRTUAL_MCP",s??void 0,i)}function E(s){const t=a.c(15),{org:e}=d();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 i=I(n);let o,l,c;t[3]!==s||t[4]!==e.id?(o=[...s].sort(),c=P,l=p.virtualMcpLastUsed(e.id,o),t[3]=s,t[4]=e.id,t[5]=o,t[6]=l,t[7]=c):(o=t[5],l=t[6],c=t[7]);const C=o.length>0;let u;t[8]!==i||t[9]!==o?(u=async()=>{const M=(await i.callTool({name:"VIRTUAL_MCP_LAST_USED_LIST",arguments:{ids:o}})).structuredContent??{items:[]},f=new Map;for(const m of M.items)f.set(m.id,m);return f},t[8]=i,t[9]=o,t[10]=u):u=t[10];let r;return t[11]!==l||t[12]!==C||t[13]!==u?(r={queryKey:l,enabled:C,staleTime:3e4,queryFn:u},t[11]=l,t[12]=C,t[13]=u,t[14]=r):r=t[14],c(r)}function $(){const s=a.c(3),{org:t}=d();let e;s[0]!==t.id||s[1]!==t.slug?(e={connectionId:g,orgId:t.id,orgSlug:t.slug},s[0]=t.id,s[1]=t.slug,s[2]=e):e=s[2];const n=I(e);return S(t.id,"VIRTUAL_MCP",n)}export{b as a,$ as b,E as c,v as u,R as v};
1
+ import{c as a,s as d,aI as p,k as P}from"./index-BiSv4wgs.js";import{b as L,a as S,u as V,c as _}from"./use-collections-DYVhZ6LZ.js";import{S as g,u as I}from"./use-mcp-client-BcfXwx2l.js";function v(s){const t=a.c(5);let e;t[0]!==s?(e=s===void 0?{}:s,t[0]=s,t[1]=e):e=t[1];const n=e,{org:i}=d();let o;t[2]!==i.id||t[3]!==i.slug?(o={connectionId:g,orgId:i.id,orgSlug:i.slug},t[2]=i.id,t[3]=i.slug,t[4]=o):o=t[4];const l=I(o);return L(i.id,"VIRTUAL_MCP",l,n)}function R(s,t,e){return _(s,"VIRTUAL_MCP",t??void 0,e)}function b(s){const t=a.c(3),{org:e}=d();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 i=I(n);return V(e.id,"VIRTUAL_MCP",s??void 0,i)}function E(s){const t=a.c(15),{org:e}=d();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 i=I(n);let o,l,c;t[3]!==s||t[4]!==e.id?(o=[...s].sort(),c=P,l=p.virtualMcpLastUsed(e.id,o),t[3]=s,t[4]=e.id,t[5]=o,t[6]=l,t[7]=c):(o=t[5],l=t[6],c=t[7]);const C=o.length>0;let u;t[8]!==i||t[9]!==o?(u=async()=>{const M=(await i.callTool({name:"VIRTUAL_MCP_LAST_USED_LIST",arguments:{ids:o}})).structuredContent??{items:[]},f=new Map;for(const m of M.items)f.set(m.id,m);return f},t[8]=i,t[9]=o,t[10]=u):u=t[10];let r;return t[11]!==l||t[12]!==C||t[13]!==u?(r={queryKey:l,enabled:C,staleTime:3e4,queryFn:u},t[11]=l,t[12]=C,t[13]=u,t[14]=r):r=t[14],c(r)}function $(){const s=a.c(3),{org:t}=d();let e;s[0]!==t.id||s[1]!==t.slug?(e={connectionId:g,orgId:t.id,orgSlug:t.slug},s[0]=t.id,s[1]=t.slug,s[2]=e):e=s[2];const n=I(e);return S(t.id,"VIRTUAL_MCP",n)}export{b as a,$ as b,E as c,v as u,R as v};
@@ -0,0 +1 @@
1
+ import{I as u}from"./use-infinite-scroll-CsW5GqEa.js";import{cH as i}from"./index-BiSv4wgs.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-CsW5GqEa.js";import{cH as u,az as n}from"./index-BiSv4wgs.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 R,r as K,j as a,l as W,B as O}from"./index-Cvc1xn-4.js";import{P as Q,f as it}from"./agent-icon-C4199b3i.js";import{n as at}from"./ChevronLeft-veOSKT91.js";import{i as lt}from"./ChevronRight-tj4xbWmM.js";import{S as X}from"./scroll-area-BvvyxqKR.js";import{T as ct,b as mt,a as pt}from"./tooltip-D_DwQRbZ.js";import{V as ft}from"./view-mode-toggle-D7_rFTiD.js";import"./AlertCircle-BZqAQZBb.js";import"./Tool01-AyuVwnGv.js";import"./SwitchHorizontal01-BVKPeJMU.js";import"./Settings02-kQ4zmp5P.js";import"./XCircle-DJDxYBys.js";import"./ArrowRight-6qgvW498.js";import"./ArrowUpRight-CUPFfker.js";import"./ZapSquare-ok_KEP9c.js";import"./Users03-C6siA5mE.js";import"./CheckCircle-DOPRdShL.js";import"./ChevronUp-DhHPsDAS.js";import"./ChevronDown-BhLFFAly.js";import"./DotsVertical-kcsdrim_.js";import"./Stars02-Bo19XD__.js";import"./Eye-BfNssVzk.js";import"./ZoomOut-cYq1CP_X.js";import"./Globe01-CJXHyXNe.js";import"./FilterLines-D2obCQW_.js";import"./Star01-CFj5T2Jl.js";import"./Globe04-PQ0ejRYI.js";import"./HardDrive-DEG8fjxw.js";import"./Key01-xj4UQriu.js";import"./LayoutLeft-C9-KQh8d.js";import"./LinkExternal01-DtLsAcMy.js";import"./Monitor01-CvNVisni.js";import"./Sun-CcSW7Ngf.js";import"./Palette-yNiXmyHD.js";import"./Play-C0DhAO4u.js";import"./Plus-BRQannbC.js";import"./SearchMd-CttVjXUQ.js";import"./Shield01-BZZVugf_.js";import"./Stars01-C4FyHP_L.js";import"./Trash01-BZXmKzie.js";import"./Upload01-D4ez0Mu3.js";import"./User01-Dz33ODze.js";import"./Users01-aBataJ8N.js";import"./XClose-BcOWKb5Q.js";import"./X-DC2HG4lX.js";import"./Zap-OOZsYg72.js";import"./use-clock-tick-CqrkSCF6.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-DM9BeeKg.js";import"./file-type-icon-GfohFxwW.js";import"./dialog-DDL08EK8.js";import"./tab-id-BptcWVWa.js";import"./content-blocks-o63cs2vh.js";import"./types-zC94Gae_.js";import"./use-mcp-client-DV4dF4m3.js";import"./auth-B9bEkbYh.js";import"./chat-context-GA_fpERN.js";import"./hooks-BI65IXS7.js";import"./decopilot-sse-pool-CZG5pZEa.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./use-virtual-mcp-WmAC_qSm.js";import"./use-collections-dA9ibOHr.js";import"./use-ai-providers-0DJv4c0H.js";import"./studio-tools-D8q7MEyE.js";import"./use-organization-settings-C6jq364X.js";import"./shell-layout-DIXTRmN4.js";import"./avatar-CKJB3djy.js";import"./required-auth-layout-BcilPdVi.js";import"./use-org-sso-Cygr8MWL.js";import"./sheet-XVV7S5b8.js";import"./integration-icon-gcYOl2yq.js";import"./use-navigate-to-agent-Cs1C-DBQ.js";import"./use-connection-C39BUY8e.js";import"./use-mcp-prompts-CspfQ-gW.js";import"./form-B9v_4_lt.js";import"./label-hfmZhqH1.js";import"./input-klr_kUC2.js";import"./select-DwFQDgcX.js";const dt=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),ut=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),ht=/\/flags\/multivariate\/[^/]+\.ts$/;function xt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function gt(e){if(!e||typeof e!="object")return null;const{start:t,end:r}=e;if(typeof t!="string"||typeof r!="string")return null;const n=new Date(t),c=new Date(r);return Number.isNaN(n.getTime())||Number.isNaN(c.getTime())||c.getTime()<=n.getTime()?null:{start:n,end:c}}function Z(e,t){if(!e||typeof e!="object")return;const r=e.__resolveType;if(typeof r=="string"){if(dt.has(r)){const n=gt(e);n&&t.push(n);return}if(ut.has(r)){const n=e.matchers;if(Array.isArray(n))for(const c of n)Z(c,t)}}}function bt(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!ht.test(t))return!1;const r=e.variants;return Array.isArray(r)}function yt(e){if(typeof e=="string"){const i=e.trim();if(i.length===0)return null;try{const m=new URL(i).pathname.split("/").filter(Boolean),p=m[m.length-1];if(p)return decodeURIComponent(p)}catch{}return i.length>80?`${i.slice(0,77)}…`:i}if(!e||typeof e!="object")return null;const t=e,r=t.config,c=t.desktop?.media,o=[t.title,t.name,t.label,t.alt,r?.title,r?.name,r?.typeAlert?.message,c?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const i of o)if(typeof i=="string"&&i.trim().length>0)return i.trim();const l=t.__resolveType;if(typeof l=="string"){const s=(l.split("/").pop()??l).replace(/\.(tsx?|jsx?)$/i,"");if(s.length>0)return s}return null}function vt(e){const t=[];for(let r=0;r<e.length;r++){const n=e[r];typeof n=="number"?t.length>0?t[t.length-1]+=`[${n}]`:t.push(`[${n}]`):t.push(n)}return t.join(" · ")}function H(e,t,r,n,c){if(bt(e)){const o=vt(n),l=e.variants,i=e.__resolveType;l.forEach((s,m)=>{if(!s||typeof s!="object")return;const p=s,d=[];if(Z(p.rule,d),d.length===0)return;const x=yt(p.value)??(o||r);for(const g of d)c.push({blockKey:t,blockLabel:r,innerPath:o,variantIndex:m,start:g.start,end:g.end,label:x,flagResolveType:i})});for(let s=0;s<l.length;s++){const m=l[s];m&&typeof m=="object"&&H(m.value,t,r,[...n,"variants",s,"value"],c)}return}if(Array.isArray(e)){for(let o=0;o<e.length;o++)H(e[o],t,r,[...n,o],c);return}if(e&&typeof e=="object")for(const[o,l]of Object.entries(e))o!=="__resolveType"&&H(l,t,r,[...n,o],c)}function Tt(e){if(!e)return[];const t=[];for(const[r,n]of Object.entries(e))H(n,r,xt(r),[],t);return t.sort((r,n)=>r.start.getTime()-n.start.getTime())}function jt(e){const t=[...new Set(e)].sort(),r=new Map;return t.forEach((n,c)=>{const o=c*137.508%360;r.set(n,{bg:`oklch(0.62 0.14 ${o})`,text:"white",border:`oklch(0.50 0.14 ${o})`})}),r}const Nt={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function tt(e,t){return e.get(t)??Nt}const kt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],et=["January","February","March","April","May","June","July","August","September","October","November","December"],wt=1440*60*1e3;function L(e){const t=new Date(e);return t.setHours(0,0,0,0),t}function rt(e){return new Date(e.getFullYear(),e.getMonth(),1)}function $(e,t){return new Date(e.getFullYear(),e.getMonth()+t,1)}function I(e,t){const r=new Date(e);return r.setDate(r.getDate()+t),r}function G(e,t){return Math.round((L(e).getTime()-L(t).getTime())/wt)}function _t(e){const t=I(e,-e.getDay()),r=[];for(let n=0;n<6;n++){const c=[];for(let o=0;o<7;o++)c.push(I(t,n*7+o));r.push(c)}for(;r.length>0&&r[r.length-1].every(n=>n.getMonth()!==e.getMonth());)r.pop();return r}function Mt(e,t){const r=L(e[0]),n=I(r,7),c=[];for(const i of t){const s=L(i.start),m=L(i.end);if(m.getTime()<r.getTime()||s.getTime()>=n.getTime())continue;const p=s.getTime()<r.getTime()?r:s,d=m.getTime()>=n.getTime()?I(n,-1):m,u=G(p,r),x=G(d,p)+1;x<=0||c.push({variant:i,startCol:u,span:x})}c.sort((i,s)=>i.startCol-s.startCol||s.span-i.span||i.variant.blockKey.localeCompare(s.variant.blockKey));const o=[],l=[];for(const i of c){let s=o.findIndex(m=>m<=i.startCol);s===-1&&(s=o.length,o.push(0)),o[s]=i.startCol+i.span,l.push({...i,lane:s})}return l}const U=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function St(e){return`${U.format(e.start)} → ${U.format(e.end)}`}function At(e){const t=R.c(17),{variant:r}=e;let n;t[0]!==r.blockLabel?(n=a.jsx("div",{className:"font-semibold",children:r.blockLabel}),t[0]=r.blockLabel,t[1]=n):n=t[1];let c;t[2]!==r.innerPath?(c=r.innerPath&&a.jsx("div",{className:"text-muted-foreground",children:r.innerPath}),t[2]=r.innerPath,t[3]=c):c=t[3];let o;t[4]!==r.blockLabel||t[5]!==r.innerPath||t[6]!==r.label?(o=r.label!==r.blockLabel&&r.label!==r.innerPath&&a.jsx("div",{className:"text-muted-foreground",children:r.label}),t[4]=r.blockLabel,t[5]=r.innerPath,t[6]=r.label,t[7]=o):o=t[7];let l;t[8]!==r?(l=St(r),t[8]=r,t[9]=l):l=t[9];let i;t[10]!==l?(i=a.jsx("div",{className:"mt-1",children:l}),t[10]=l,t[11]=i):i=t[11];let s;return t[12]!==n||t[13]!==c||t[14]!==o||t[15]!==i?(s=a.jsx(pt,{children:a.jsxs("div",{className:"text-xs",children:[n,c,o,i]})}),t[12]=n,t[13]=c,t[14]=o,t[15]=i,t[16]=s):s=t[16],s}function nt(e){const t=R.c(14),{variant:r,color:n,style:c,children:o}=e;let l;t[0]!==n.bg||t[1]!==n.text||t[2]!==c?(l={background:n.bg,color:n.text,borderRadius:4,...c},t[0]=n.bg,t[1]=n.text,t[2]=c,t[3]=l):l=t[3];let i;t[4]!==o?(i=a.jsx("span",{className:"truncate",children:o}),t[4]=o,t[5]=i):i=t[5];let s;t[6]!==l||t[7]!==i?(s=a.jsx(ct,{asChild:!0,children:a.jsx("div",{className:"absolute flex items-center px-2 text-[11px] font-medium truncate cursor-default",style:l,children:i})}),t[6]=l,t[7]=i,t[8]=s):s=t[8];let m;t[9]!==r?(m=a.jsx(At,{variant:r}),t[9]=r,t[10]=m):m=t[10];let p;return t[11]!==s||t[12]!==m?(p=a.jsxs(mt,{children:[s,m]}),t[11]=s,t[12]=m,t[13]=p):p=t[13],p}function fr(e){const t=R.c(39),{decofile:r}=e,[n,c]=K.useState("calendar"),[o,l]=K.useState(Ct);let i,s;t[0]!==r?(s=Tt(r),i=jt(s.map(Et)),t[0]=r,t[1]=i,t[2]=s):(i=t[1],s=t[2]);const m=i;let p;t[3]===Symbol.for("react.memo_cache_sentinel")?(p=()=>l(rt(new Date)),t[3]=p):p=t[3];const d=p;let u;t[4]!==n?(u=()=>l(k=>n==="calendar"?$(k,-1):$(k,-3)),t[4]=n,t[5]=u):u=t[5];const x=u;let g;t[6]!==n?(g=()=>l(k=>n==="calendar"?$(k,1):$(k,3)),t[6]=n,t[7]=g):g=t[7];const w=g;let N;t[8]===Symbol.for("react.memo_cache_sentinel")?(N=a.jsx(O,{variant:"outline",size:"sm",onClick:d,children:"Today"}),t[8]=N):N=t[8];let E;t[9]===Symbol.for("react.memo_cache_sentinel")?(E=a.jsx(at,{size:16}),t[9]=E):E=t[9];let _;t[10]!==x?(_=a.jsx(O,{variant:"ghost",size:"icon",className:"size-8",onClick:x,"aria-label":"Previous",children:E}),t[10]=x,t[11]=_):_=t[11];let f;t[12]===Symbol.for("react.memo_cache_sentinel")?(f=a.jsx(lt,{size:16}),t[12]=f):f=t[12];let b;t[13]!==w?(b=a.jsx(O,{variant:"ghost",size:"icon",className:"size-8",onClick:w,"aria-label":"Next",children:f}),t[13]=w,t[14]=b):b=t[14];const M=et[o.getMonth()];let y;t[15]!==o?(y=o.getFullYear(),t[15]=o,t[16]=y):y=t[16];let v;t[17]!==M||t[18]!==y?(v=a.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[M," ",y]}),t[17]=M,t[18]=y,t[19]=v):v=t[19];let T;t[20]!==v||t[21]!==_||t[22]!==b?(T=a.jsxs("div",{className:"flex items-center gap-2",children:[N,_,b,v]}),t[20]=v,t[21]=_,t[22]=b,t[23]=T):T=t[23];let C;t[24]===Symbol.for("react.memo_cache_sentinel")?(C={value:"calendar",icon:a.jsx(Q,{}),label:"Calendar"},t[24]=C):C=t[24];let j;t[25]===Symbol.for("react.memo_cache_sentinel")?(j=[C,{value:"timeline",icon:a.jsx(it,{}),label:"Timeline"}],t[25]=j):j=t[25];let h;t[26]!==n?(h=a.jsx(ft,{value:n,onValueChange:c,options:j}),t[26]=n,t[27]=h):h=t[27];let S;t[28]!==T||t[29]!==h?(S=a.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[T,h]}),t[28]=T,t[29]=h,t[30]=S):S=t[30];let A;t[31]!==m||t[32]!==o||t[33]!==s||t[34]!==n?(A=s.length===0?a.jsx(Dt,{}):n==="calendar"?a.jsx($t,{monthStart:o,variants:s,colorMap:m}):a.jsx(Vt,{monthStart:o,variants:s,colorMap:m}),t[31]=m,t[32]=o,t[33]=s,t[34]=n,t[35]=A):A=t[35];let D;return t[36]!==S||t[37]!==A?(D=a.jsxs("div",{className:"flex h-full w-full flex-col",children:[S,A]}),t[36]=S,t[37]=A,t[38]=D):D=t[38],D}function Et(e){return e.blockKey}function Ct(){return rt(new Date)}function Dt(){const e=R.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=a.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[a.jsx(Q,{size:24,className:"text-muted-foreground/60"}),a.jsx("div",{children:"No scheduled variants."}),a.jsx("div",{className:"text-xs text-muted-foreground/80",children:"Variants gated by a date matcher appear here."})]}),e[0]=t):t=e[0],t}const z=20,J=2,q=28;function $t(e){const t=R.c(17),{monthStart:r,variants:n,colorMap:c}=e;let o,l,i,s,m;if(t[0]!==c||t[1]!==r||t[2]!==n){const u=_t(r),x=L(new Date);o=X,m="flex-1 min-h-0",l="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(i=a.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:kt.map(Rt)}),t[8]=i):i=t[8],s=u.map((g,w)=>{const N=Mt(g,n),E=N.reduce(Lt,0),_=q+E*(z+J)+8;return a.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:_},children:[g.map((f,b)=>{const M=f.getMonth()===r.getMonth(),y=f.getTime()===x.getTime();return a.jsx("div",{className:W("border-r last:border-r-0 px-2 pt-1.5 text-xs",M?"bg-background":"bg-muted/30 text-muted-foreground"),children:a.jsx("span",{className:W("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",y&&"bg-primary text-primary-foreground font-semibold"),children:f.getDate()})},b)}),N.map((f,b)=>{const M=tt(c,f.variant.blockKey),y=q+f.lane*(z+J),v=f.startCol/7*100,T=f.span/7*100;return a.jsxs(nt,{variant:f.variant,color:M,style:{top:y,left:`calc(${v}% + 2px)`,width:`calc(${T}% - 4px)`,height:z},children:[f.variant.blockLabel,f.variant.label!==f.variant.blockLabel&&a.jsxs("span",{className:"opacity-70",children:[" · ",f.variant.label]})]},`${w}-${b}`)})]},w)}),t[0]=c,t[1]=r,t[2]=n,t[3]=o,t[4]=l,t[5]=i,t[6]=s,t[7]=m}else o=t[3],l=t[4],i=t[5],s=t[6],m=t[7];let p;t[9]!==l||t[10]!==i||t[11]!==s?(p=a.jsxs("div",{className:l,children:[i,s]}),t[9]=l,t[10]=i,t[11]=s,t[12]=p):p=t[12];let d;return t[13]!==o||t[14]!==m||t[15]!==p?(d=a.jsx(o,{className:m,children:p}),t[13]=o,t[14]=m,t[15]=p,t[16]=d):d=t[16],d}function Lt(e,t){return Math.max(e,t.lane+1)}function Rt(e){return a.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const V=4,Pt=32,P=240;function Vt(e){const t=R.c(27),{monthStart:r,variants:n,colorMap:c}=e,o=r;let l,i,s,m,p,d;if(t[0]!==c||t[1]!==r||t[2]!==o||t[3]!==n){const g=$(r,V),w=new Date,N=new Map;for(const j of n){const h=N.get(j.blockKey)??[];h.push(j),N.set(j.blockKey,h)}const E=Array.from(N.entries()).sort(Ot),_=g.getTime()-o.getTime(),f=j=>(Math.max(o.getTime(),Math.min(g.getTime(),j.getTime()))-o.getTime())/_*100;let b;t[10]!==o?(b=(j,h)=>$(o,h),t[10]=o,t[11]=b):b=t[11];const M=Array.from({length:V},b),y=w.getTime()>=o.getTime()&&w.getTime()<=g.getTime()?f(w):null;l=X,d="flex-1 min-h-0",i="min-w-[900px] relative";let v;t[12]===Symbol.for("react.memo_cache_sentinel")?(v=a.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:{width:P},children:"Variant / Block"}),t[12]=v):v=t[12];let T;t[13]===Symbol.for("react.memo_cache_sentinel")?(T={gridTemplateColumns:`repeat(${V}, minmax(0, 1fr))`},t[13]=T):T=t[13];const C=M.map(It);t[14]!==C?(s=a.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[v,a.jsx("div",{className:"flex-1 grid",style:T,children:C})]}),t[14]=C,t[15]=s):s=t[15],t[16]!==y?(m=y!==null&&a.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${P}px + (100% - ${P}px) * ${y} / 100)`},children:a.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:"Today"})}),t[16]=y,t[17]=m):m=t[17],p=E.map(j=>{const[h,S]=j,A=tt(c,h),D=S[0]?.blockLabel??h;return a.jsxs("div",{children:[a.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:a.jsx("div",{className:"px-3 truncate",style:{width:P},children:D})}),S.map((k,st)=>a.jsxs("div",{className:"flex border-b items-center",style:{height:Pt},children:[a.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:P},children:[a.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:A.bg}}),a.jsx("span",{className:"truncate text-foreground/80",children:k.label})]}),a.jsxs("div",{className:"relative flex-1 h-full",children:[a.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${V}, minmax(0, 1fr))`},children:M.map(Ht)}),(()=>{const B=Math.max(k.start.getTime(),o.getTime()),F=Math.min(k.end.getTime(),g.getTime());if(F<=B)return null;const Y=f(new Date(B)),ot=f(new Date(F))-Y;return a.jsx(nt,{variant:k,color:A,style:{top:"50%",transform:"translateY(-50%)",left:`${Y}%`,width:`calc(${ot}% - 2px)`,height:22},children:k.label})})()]})]},st))]},h)}),t[0]=c,t[1]=r,t[2]=o,t[3]=n,t[4]=l,t[5]=i,t[6]=s,t[7]=m,t[8]=p,t[9]=d}else l=t[4],i=t[5],s=t[6],m=t[7],p=t[8],d=t[9];let u;t[18]!==i||t[19]!==s||t[20]!==m||t[21]!==p?(u=a.jsxs("div",{className:i,children:[s,m,p]}),t[18]=i,t[19]=s,t[20]=m,t[21]=p,t[22]=u):u=t[22];let x;return t[23]!==l||t[24]!==d||t[25]!==u?(x=a.jsx(l,{className:d,children:u}),t[23]=l,t[24]=d,t[25]=u,t[26]=x):x=t[26],x}function Ht(e,t){return a.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function It(e,t){return a.jsxs("div",{className:"px-2 py-2 text-xs uppercase tracking-wide text-muted-foreground border-r last:border-r-0",children:[et[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function Ot(e,t){return e[0].localeCompare(t[0])}export{fr as VariantCalendar};
1
+ import{c as R,r as K,j as a,l as W,B as O}from"./index-BiSv4wgs.js";import{P as Q,f as it}from"./agent-icon-s6bX_I9L.js";import{n as at}from"./ChevronLeft-7WikNK_I.js";import{i as lt}from"./ChevronRight-CUrrZIqG.js";import{S as X}from"./scroll-area-iBbwLoaH.js";import{T as ct,b as mt,a as pt}from"./tooltip-BIAup3vg.js";import{V as ft}from"./view-mode-toggle-Bt_jVM0U.js";import"./AlertCircle-BYmwGQCf.js";import"./Tool01-CHEQOI-w.js";import"./SwitchHorizontal01-BMk8DM55.js";import"./Settings02-C0s-saqA.js";import"./XCircle-BODgW7sH.js";import"./ArrowRight-CvF16wpP.js";import"./ArrowUpRight-DpeEXraR.js";import"./ZapSquare-C3NGLDu-.js";import"./Users03-BtWBA-oP.js";import"./CheckCircle-Bf3Z61R3.js";import"./ChevronUp-BT7nyl6k.js";import"./ChevronDown-DbkPHjH7.js";import"./DotsVertical-BpkGXLrP.js";import"./Stars02-DMdFpBOz.js";import"./Eye-D3915Vo9.js";import"./ZoomOut-CjZnoT-b.js";import"./Globe01-BxZmquSL.js";import"./FilterLines-BDTdg3RE.js";import"./Star01-1ZF9aI5Y.js";import"./Globe04-CkBzX8xL.js";import"./HardDrive-Cko4CWL8.js";import"./Key01-CAY-Xxyp.js";import"./LayoutLeft-CJuGELXN.js";import"./LinkExternal01-DluIM9mv.js";import"./Monitor01-bbyGUKmR.js";import"./Sun-CVp19c6p.js";import"./Palette-DLCudjOT.js";import"./Play-I5x_JKdj.js";import"./Plus-DOSjIlBe.js";import"./SearchMd-q-mL98uP.js";import"./Shield01-DA5SmW0P.js";import"./Stars01-CWQtskKI.js";import"./Trash01-jgpaQcTh.js";import"./Upload01-DmPHnKxK.js";import"./User01-CQqeHCY8.js";import"./Users01-3CAb_L9A.js";import"./XClose-qC8Lq_ms.js";import"./X-BTPYHIvY.js";import"./Zap-CVq2f6J2.js";import"./use-clock-tick-BH2ii9Ri.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-BL1Gi5Ma.js";import"./file-type-icon-C0VVPUpN.js";import"./dialog-DGhL6eBy.js";import"./tab-id-BptcWVWa.js";import"./content-blocks-o63cs2vh.js";import"./types-DmsJ1dgA.js";import"./use-mcp-client-BcfXwx2l.js";import"./auth-BX6flE6a.js";import"./chat-context-EpSQJI2R.js";import"./hooks-DX86YvO8.js";import"./decopilot-sse-pool-CcKrM-Xv.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./use-virtual-mcp-B9JwuB8w.js";import"./use-collections-DYVhZ6LZ.js";import"./use-ai-providers-CSwg9ID-.js";import"./studio-tools-B6e1wIqk.js";import"./use-organization-settings-CbMA9tyx.js";import"./shell-layout-78V1nK9o.js";import"./avatar-BS-jv_DR.js";import"./required-auth-layout-qIDzSGtQ.js";import"./use-org-sso-BJNpFjMG.js";import"./sheet-DcscOrN-.js";import"./integration-icon-DDugmSqH.js";import"./use-navigate-to-agent-GOxU3Hpn.js";import"./use-connection-CYq4sTpp.js";import"./use-mcp-prompts-h_GWEUu_.js";import"./form-CaHcodeJ.js";import"./label-C8gqICzJ.js";import"./input-Ta_Y1lvO.js";import"./select-D9WchHFw.js";const dt=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),ut=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),ht=/\/flags\/multivariate\/[^/]+\.ts$/;function xt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function gt(e){if(!e||typeof e!="object")return null;const{start:t,end:r}=e;if(typeof t!="string"||typeof r!="string")return null;const n=new Date(t),c=new Date(r);return Number.isNaN(n.getTime())||Number.isNaN(c.getTime())||c.getTime()<=n.getTime()?null:{start:n,end:c}}function Z(e,t){if(!e||typeof e!="object")return;const r=e.__resolveType;if(typeof r=="string"){if(dt.has(r)){const n=gt(e);n&&t.push(n);return}if(ut.has(r)){const n=e.matchers;if(Array.isArray(n))for(const c of n)Z(c,t)}}}function bt(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!ht.test(t))return!1;const r=e.variants;return Array.isArray(r)}function yt(e){if(typeof e=="string"){const i=e.trim();if(i.length===0)return null;try{const m=new URL(i).pathname.split("/").filter(Boolean),p=m[m.length-1];if(p)return decodeURIComponent(p)}catch{}return i.length>80?`${i.slice(0,77)}…`:i}if(!e||typeof e!="object")return null;const t=e,r=t.config,c=t.desktop?.media,o=[t.title,t.name,t.label,t.alt,r?.title,r?.name,r?.typeAlert?.message,c?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const i of o)if(typeof i=="string"&&i.trim().length>0)return i.trim();const l=t.__resolveType;if(typeof l=="string"){const s=(l.split("/").pop()??l).replace(/\.(tsx?|jsx?)$/i,"");if(s.length>0)return s}return null}function vt(e){const t=[];for(let r=0;r<e.length;r++){const n=e[r];typeof n=="number"?t.length>0?t[t.length-1]+=`[${n}]`:t.push(`[${n}]`):t.push(n)}return t.join(" · ")}function H(e,t,r,n,c){if(bt(e)){const o=vt(n),l=e.variants,i=e.__resolveType;l.forEach((s,m)=>{if(!s||typeof s!="object")return;const p=s,d=[];if(Z(p.rule,d),d.length===0)return;const x=yt(p.value)??(o||r);for(const g of d)c.push({blockKey:t,blockLabel:r,innerPath:o,variantIndex:m,start:g.start,end:g.end,label:x,flagResolveType:i})});for(let s=0;s<l.length;s++){const m=l[s];m&&typeof m=="object"&&H(m.value,t,r,[...n,"variants",s,"value"],c)}return}if(Array.isArray(e)){for(let o=0;o<e.length;o++)H(e[o],t,r,[...n,o],c);return}if(e&&typeof e=="object")for(const[o,l]of Object.entries(e))o!=="__resolveType"&&H(l,t,r,[...n,o],c)}function Tt(e){if(!e)return[];const t=[];for(const[r,n]of Object.entries(e))H(n,r,xt(r),[],t);return t.sort((r,n)=>r.start.getTime()-n.start.getTime())}function jt(e){const t=[...new Set(e)].sort(),r=new Map;return t.forEach((n,c)=>{const o=c*137.508%360;r.set(n,{bg:`oklch(0.62 0.14 ${o})`,text:"white",border:`oklch(0.50 0.14 ${o})`})}),r}const Nt={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function tt(e,t){return e.get(t)??Nt}const kt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],et=["January","February","March","April","May","June","July","August","September","October","November","December"],wt=1440*60*1e3;function L(e){const t=new Date(e);return t.setHours(0,0,0,0),t}function rt(e){return new Date(e.getFullYear(),e.getMonth(),1)}function $(e,t){return new Date(e.getFullYear(),e.getMonth()+t,1)}function I(e,t){const r=new Date(e);return r.setDate(r.getDate()+t),r}function G(e,t){return Math.round((L(e).getTime()-L(t).getTime())/wt)}function _t(e){const t=I(e,-e.getDay()),r=[];for(let n=0;n<6;n++){const c=[];for(let o=0;o<7;o++)c.push(I(t,n*7+o));r.push(c)}for(;r.length>0&&r[r.length-1].every(n=>n.getMonth()!==e.getMonth());)r.pop();return r}function Mt(e,t){const r=L(e[0]),n=I(r,7),c=[];for(const i of t){const s=L(i.start),m=L(i.end);if(m.getTime()<r.getTime()||s.getTime()>=n.getTime())continue;const p=s.getTime()<r.getTime()?r:s,d=m.getTime()>=n.getTime()?I(n,-1):m,u=G(p,r),x=G(d,p)+1;x<=0||c.push({variant:i,startCol:u,span:x})}c.sort((i,s)=>i.startCol-s.startCol||s.span-i.span||i.variant.blockKey.localeCompare(s.variant.blockKey));const o=[],l=[];for(const i of c){let s=o.findIndex(m=>m<=i.startCol);s===-1&&(s=o.length,o.push(0)),o[s]=i.startCol+i.span,l.push({...i,lane:s})}return l}const U=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function St(e){return`${U.format(e.start)} → ${U.format(e.end)}`}function At(e){const t=R.c(17),{variant:r}=e;let n;t[0]!==r.blockLabel?(n=a.jsx("div",{className:"font-semibold",children:r.blockLabel}),t[0]=r.blockLabel,t[1]=n):n=t[1];let c;t[2]!==r.innerPath?(c=r.innerPath&&a.jsx("div",{className:"text-muted-foreground",children:r.innerPath}),t[2]=r.innerPath,t[3]=c):c=t[3];let o;t[4]!==r.blockLabel||t[5]!==r.innerPath||t[6]!==r.label?(o=r.label!==r.blockLabel&&r.label!==r.innerPath&&a.jsx("div",{className:"text-muted-foreground",children:r.label}),t[4]=r.blockLabel,t[5]=r.innerPath,t[6]=r.label,t[7]=o):o=t[7];let l;t[8]!==r?(l=St(r),t[8]=r,t[9]=l):l=t[9];let i;t[10]!==l?(i=a.jsx("div",{className:"mt-1",children:l}),t[10]=l,t[11]=i):i=t[11];let s;return t[12]!==n||t[13]!==c||t[14]!==o||t[15]!==i?(s=a.jsx(pt,{children:a.jsxs("div",{className:"text-xs",children:[n,c,o,i]})}),t[12]=n,t[13]=c,t[14]=o,t[15]=i,t[16]=s):s=t[16],s}function nt(e){const t=R.c(14),{variant:r,color:n,style:c,children:o}=e;let l;t[0]!==n.bg||t[1]!==n.text||t[2]!==c?(l={background:n.bg,color:n.text,borderRadius:4,...c},t[0]=n.bg,t[1]=n.text,t[2]=c,t[3]=l):l=t[3];let i;t[4]!==o?(i=a.jsx("span",{className:"truncate",children:o}),t[4]=o,t[5]=i):i=t[5];let s;t[6]!==l||t[7]!==i?(s=a.jsx(ct,{asChild:!0,children:a.jsx("div",{className:"absolute flex items-center px-2 text-[11px] font-medium truncate cursor-default",style:l,children:i})}),t[6]=l,t[7]=i,t[8]=s):s=t[8];let m;t[9]!==r?(m=a.jsx(At,{variant:r}),t[9]=r,t[10]=m):m=t[10];let p;return t[11]!==s||t[12]!==m?(p=a.jsxs(mt,{children:[s,m]}),t[11]=s,t[12]=m,t[13]=p):p=t[13],p}function fr(e){const t=R.c(39),{decofile:r}=e,[n,c]=K.useState("calendar"),[o,l]=K.useState(Ct);let i,s;t[0]!==r?(s=Tt(r),i=jt(s.map(Et)),t[0]=r,t[1]=i,t[2]=s):(i=t[1],s=t[2]);const m=i;let p;t[3]===Symbol.for("react.memo_cache_sentinel")?(p=()=>l(rt(new Date)),t[3]=p):p=t[3];const d=p;let u;t[4]!==n?(u=()=>l(k=>n==="calendar"?$(k,-1):$(k,-3)),t[4]=n,t[5]=u):u=t[5];const x=u;let g;t[6]!==n?(g=()=>l(k=>n==="calendar"?$(k,1):$(k,3)),t[6]=n,t[7]=g):g=t[7];const w=g;let N;t[8]===Symbol.for("react.memo_cache_sentinel")?(N=a.jsx(O,{variant:"outline",size:"sm",onClick:d,children:"Today"}),t[8]=N):N=t[8];let E;t[9]===Symbol.for("react.memo_cache_sentinel")?(E=a.jsx(at,{size:16}),t[9]=E):E=t[9];let _;t[10]!==x?(_=a.jsx(O,{variant:"ghost",size:"icon",className:"size-8",onClick:x,"aria-label":"Previous",children:E}),t[10]=x,t[11]=_):_=t[11];let f;t[12]===Symbol.for("react.memo_cache_sentinel")?(f=a.jsx(lt,{size:16}),t[12]=f):f=t[12];let b;t[13]!==w?(b=a.jsx(O,{variant:"ghost",size:"icon",className:"size-8",onClick:w,"aria-label":"Next",children:f}),t[13]=w,t[14]=b):b=t[14];const M=et[o.getMonth()];let y;t[15]!==o?(y=o.getFullYear(),t[15]=o,t[16]=y):y=t[16];let v;t[17]!==M||t[18]!==y?(v=a.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[M," ",y]}),t[17]=M,t[18]=y,t[19]=v):v=t[19];let T;t[20]!==v||t[21]!==_||t[22]!==b?(T=a.jsxs("div",{className:"flex items-center gap-2",children:[N,_,b,v]}),t[20]=v,t[21]=_,t[22]=b,t[23]=T):T=t[23];let C;t[24]===Symbol.for("react.memo_cache_sentinel")?(C={value:"calendar",icon:a.jsx(Q,{}),label:"Calendar"},t[24]=C):C=t[24];let j;t[25]===Symbol.for("react.memo_cache_sentinel")?(j=[C,{value:"timeline",icon:a.jsx(it,{}),label:"Timeline"}],t[25]=j):j=t[25];let h;t[26]!==n?(h=a.jsx(ft,{value:n,onValueChange:c,options:j}),t[26]=n,t[27]=h):h=t[27];let S;t[28]!==T||t[29]!==h?(S=a.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[T,h]}),t[28]=T,t[29]=h,t[30]=S):S=t[30];let A;t[31]!==m||t[32]!==o||t[33]!==s||t[34]!==n?(A=s.length===0?a.jsx(Dt,{}):n==="calendar"?a.jsx($t,{monthStart:o,variants:s,colorMap:m}):a.jsx(Vt,{monthStart:o,variants:s,colorMap:m}),t[31]=m,t[32]=o,t[33]=s,t[34]=n,t[35]=A):A=t[35];let D;return t[36]!==S||t[37]!==A?(D=a.jsxs("div",{className:"flex h-full w-full flex-col",children:[S,A]}),t[36]=S,t[37]=A,t[38]=D):D=t[38],D}function Et(e){return e.blockKey}function Ct(){return rt(new Date)}function Dt(){const e=R.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=a.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[a.jsx(Q,{size:24,className:"text-muted-foreground/60"}),a.jsx("div",{children:"No scheduled variants."}),a.jsx("div",{className:"text-xs text-muted-foreground/80",children:"Variants gated by a date matcher appear here."})]}),e[0]=t):t=e[0],t}const z=20,J=2,q=28;function $t(e){const t=R.c(17),{monthStart:r,variants:n,colorMap:c}=e;let o,l,i,s,m;if(t[0]!==c||t[1]!==r||t[2]!==n){const u=_t(r),x=L(new Date);o=X,m="flex-1 min-h-0",l="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(i=a.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:kt.map(Rt)}),t[8]=i):i=t[8],s=u.map((g,w)=>{const N=Mt(g,n),E=N.reduce(Lt,0),_=q+E*(z+J)+8;return a.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:_},children:[g.map((f,b)=>{const M=f.getMonth()===r.getMonth(),y=f.getTime()===x.getTime();return a.jsx("div",{className:W("border-r last:border-r-0 px-2 pt-1.5 text-xs",M?"bg-background":"bg-muted/30 text-muted-foreground"),children:a.jsx("span",{className:W("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",y&&"bg-primary text-primary-foreground font-semibold"),children:f.getDate()})},b)}),N.map((f,b)=>{const M=tt(c,f.variant.blockKey),y=q+f.lane*(z+J),v=f.startCol/7*100,T=f.span/7*100;return a.jsxs(nt,{variant:f.variant,color:M,style:{top:y,left:`calc(${v}% + 2px)`,width:`calc(${T}% - 4px)`,height:z},children:[f.variant.blockLabel,f.variant.label!==f.variant.blockLabel&&a.jsxs("span",{className:"opacity-70",children:[" · ",f.variant.label]})]},`${w}-${b}`)})]},w)}),t[0]=c,t[1]=r,t[2]=n,t[3]=o,t[4]=l,t[5]=i,t[6]=s,t[7]=m}else o=t[3],l=t[4],i=t[5],s=t[6],m=t[7];let p;t[9]!==l||t[10]!==i||t[11]!==s?(p=a.jsxs("div",{className:l,children:[i,s]}),t[9]=l,t[10]=i,t[11]=s,t[12]=p):p=t[12];let d;return t[13]!==o||t[14]!==m||t[15]!==p?(d=a.jsx(o,{className:m,children:p}),t[13]=o,t[14]=m,t[15]=p,t[16]=d):d=t[16],d}function Lt(e,t){return Math.max(e,t.lane+1)}function Rt(e){return a.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const V=4,Pt=32,P=240;function Vt(e){const t=R.c(27),{monthStart:r,variants:n,colorMap:c}=e,o=r;let l,i,s,m,p,d;if(t[0]!==c||t[1]!==r||t[2]!==o||t[3]!==n){const g=$(r,V),w=new Date,N=new Map;for(const j of n){const h=N.get(j.blockKey)??[];h.push(j),N.set(j.blockKey,h)}const E=Array.from(N.entries()).sort(Ot),_=g.getTime()-o.getTime(),f=j=>(Math.max(o.getTime(),Math.min(g.getTime(),j.getTime()))-o.getTime())/_*100;let b;t[10]!==o?(b=(j,h)=>$(o,h),t[10]=o,t[11]=b):b=t[11];const M=Array.from({length:V},b),y=w.getTime()>=o.getTime()&&w.getTime()<=g.getTime()?f(w):null;l=X,d="flex-1 min-h-0",i="min-w-[900px] relative";let v;t[12]===Symbol.for("react.memo_cache_sentinel")?(v=a.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:{width:P},children:"Variant / Block"}),t[12]=v):v=t[12];let T;t[13]===Symbol.for("react.memo_cache_sentinel")?(T={gridTemplateColumns:`repeat(${V}, minmax(0, 1fr))`},t[13]=T):T=t[13];const C=M.map(It);t[14]!==C?(s=a.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[v,a.jsx("div",{className:"flex-1 grid",style:T,children:C})]}),t[14]=C,t[15]=s):s=t[15],t[16]!==y?(m=y!==null&&a.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${P}px + (100% - ${P}px) * ${y} / 100)`},children:a.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:"Today"})}),t[16]=y,t[17]=m):m=t[17],p=E.map(j=>{const[h,S]=j,A=tt(c,h),D=S[0]?.blockLabel??h;return a.jsxs("div",{children:[a.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:a.jsx("div",{className:"px-3 truncate",style:{width:P},children:D})}),S.map((k,st)=>a.jsxs("div",{className:"flex border-b items-center",style:{height:Pt},children:[a.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:P},children:[a.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:A.bg}}),a.jsx("span",{className:"truncate text-foreground/80",children:k.label})]}),a.jsxs("div",{className:"relative flex-1 h-full",children:[a.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${V}, minmax(0, 1fr))`},children:M.map(Ht)}),(()=>{const B=Math.max(k.start.getTime(),o.getTime()),F=Math.min(k.end.getTime(),g.getTime());if(F<=B)return null;const Y=f(new Date(B)),ot=f(new Date(F))-Y;return a.jsx(nt,{variant:k,color:A,style:{top:"50%",transform:"translateY(-50%)",left:`${Y}%`,width:`calc(${ot}% - 2px)`,height:22},children:k.label})})()]})]},st))]},h)}),t[0]=c,t[1]=r,t[2]=o,t[3]=n,t[4]=l,t[5]=i,t[6]=s,t[7]=m,t[8]=p,t[9]=d}else l=t[4],i=t[5],s=t[6],m=t[7],p=t[8],d=t[9];let u;t[18]!==i||t[19]!==s||t[20]!==m||t[21]!==p?(u=a.jsxs("div",{className:i,children:[s,m,p]}),t[18]=i,t[19]=s,t[20]=m,t[21]=p,t[22]=u):u=t[22];let x;return t[23]!==l||t[24]!==d||t[25]!==u?(x=a.jsx(l,{className:d,children:u}),t[23]=l,t[24]=d,t[25]=u,t[26]=x):x=t[26],x}function Ht(e,t){return a.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function It(e,t){return a.jsxs("div",{className:"px-2 py-2 text-xs uppercase tracking-wide text-muted-foreground border-r last:border-r-0",children:[et[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function Ot(e,t){return e[0].localeCompare(t[0])}export{fr as VariantCalendar};
@@ -1 +1 @@
1
- import{c as $,r as T,l as f,j as i}from"./index-Cvc1xn-4.js";import{b as k,T as I,a as P}from"./tooltip-D_DwQRbZ.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 n=M[_];let l;t[6]!==z?(l=f("relative flex gap-0 bg-muted rounded-lg",z),t[6]=z,t[7]=l):l=t[7];let a;t[8]!==n||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),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(n.buttonWithLabel,"px-3"):n.button),children:[i.jsx("span",{className:f("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",n.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]=n,t[9]=b,t[10]=y,t[11]=o,t[12]=s,t[13]=a):a=t[13];const w=b?"h-12":n.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]!==l||t[25]!==a?(v=i.jsxs("div",{className:l,children:[a,u]}),t[23]=u,t[24]=l,t[25]=a,t[26]=v):v=t[26],v}export{B as V};
1
+ import{c as $,r as T,l as f,j as i}from"./index-BiSv4wgs.js";import{b as k,T as I,a as P}from"./tooltip-BIAup3vg.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 n=M[_];let l;t[6]!==z?(l=f("relative flex gap-0 bg-muted rounded-lg",z),t[6]=z,t[7]=l):l=t[7];let a;t[8]!==n||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),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(n.buttonWithLabel,"px-3"):n.button),children:[i.jsx("span",{className:f("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",n.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]=n,t[9]=b,t[10]=y,t[11]=o,t[12]=s,t[13]=a):a=t[13];const w=b?"h-12":n.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]!==l||t[25]!==a?(v=i.jsxs("div",{className:l,children:[a,u]}),t[23]=u,t[24]=l,t[25]=a,t[26]=v):v=t[26],v}export{B as V};
@@ -56,7 +56,7 @@
56
56
  <meta name="apple-mobile-web-app-capable" content="yes" />
57
57
  <meta name="apple-mobile-web-app-status-bar-style" content="default" />
58
58
  <meta name="apple-mobile-web-app-title" content="deco Studio" />
59
- <script type="module" crossorigin src="/assets/index-Cvc1xn-4.js"></script>
59
+ <script type="module" crossorigin src="/assets/index-BiSv4wgs.js"></script>
60
60
  <link rel="stylesheet" crossorigin href="/assets/index-BITgxoqa.css">
61
61
  </head>
62
62
  <body>