decocms 4.579.0 → 4.579.1

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 (405) hide show
  1. package/dist/client/assets/{AlertCircle-GXBIxFcm.js → AlertCircle-zr0wX6rF.js} +1 -1
  2. package/dist/client/assets/{AreaChart-BliO7z1O.js → AreaChart-B2N9Bcti.js} +1 -1
  3. package/dist/client/assets/{ArrowLeft-BbqwGy0e.js → ArrowLeft-Bl_oOK1R.js} +1 -1
  4. package/dist/client/assets/{ArrowUp-DBkhb8Yz.js → ArrowUp-elivCbuw.js} +1 -1
  5. package/dist/client/assets/{BookOpen01-1fjc61Mm.js → BookOpen01-CQcU8DEw.js} +1 -1
  6. package/dist/client/assets/{CartesianChart-D_ikhSur.js → CartesianChart-GQIn_cdf.js} +1 -1
  7. package/dist/client/assets/{CategoricalChart-DFr--lUX.js → CategoricalChart-CuZXhd65.js} +1 -1
  8. package/dist/client/assets/{CheckCircle-B_eEhqJR.js → CheckCircle-BQ_BsFXT.js} +1 -1
  9. package/dist/client/assets/{ChevronSelectorVertical-D-7E5GYT.js → ChevronSelectorVertical-CWcLLogC.js} +1 -1
  10. package/dist/client/assets/{ChevronUp-FDrusEQ7.js → ChevronUp-DKklQ3bJ.js} +1 -1
  11. package/dist/client/assets/{CreditCard01-KjySk-5G.js → CreditCard01-5LLU-cS_.js} +1 -1
  12. package/dist/client/assets/{Globe04-CYg8V2eL.js → Globe04-C_iZve3L.js} +1 -1
  13. package/dist/client/assets/{Key01-DY2gyLvd.js → Key01-D0p4-oSK.js} +1 -1
  14. package/dist/client/assets/{LinkBroken01-CzDrAWsX.js → LinkBroken01-BTepcmNH.js} +1 -1
  15. package/dist/client/assets/{Minus-CMxaDSgl.js → Minus-DWgslVyP.js} +1 -1
  16. package/dist/client/assets/{Monitor01-3IwLMf0Q.js → Monitor01-B2hjJJ-O.js} +1 -1
  17. package/dist/client/assets/{Play-BOARoASB.js → Play-DuBKbsmQ.js} +1 -1
  18. package/dist/client/assets/{Plus-D452i-ki.js → Plus-CRtXbDBy.js} +1 -1
  19. package/dist/client/assets/{ReferenceLine-BCPouREj.js → ReferenceLine-BTwFdzkB.js} +1 -1
  20. package/dist/client/assets/{SearchMd-D9VvymBK.js → SearchMd-DDfy6PV0.js} +1 -1
  21. package/dist/client/assets/{ShoppingBag01-DrNjYHL1.js → ShoppingBag01-onaGPnUG.js} +1 -1
  22. package/dist/client/assets/{Sun-BvPiksd_.js → Sun-CEK9L4UW.js} +1 -1
  23. package/dist/client/assets/{SwitchHorizontal01-BzX5npS9.js → SwitchHorizontal01-DzexFd3R.js} +1 -1
  24. package/dist/client/assets/{Tool01-DoE3EsIZ.js → Tool01-B0TI67n-.js} +1 -1
  25. package/dist/client/assets/{Tooltip-z7WiBKoc.js → Tooltip-2DMIJ5gg.js} +1 -1
  26. package/dist/client/assets/{Trash01-_1ewPMOO.js → Trash01-1vS11V6D.js} +1 -1
  27. package/dist/client/assets/{Upload01-D11ZXRKj.js → Upload01-B5OG3xe6.js} +1 -1
  28. package/dist/client/assets/{UserSquare-DHrzs2xN.js → UserSquare-BAJzbhuU.js} +1 -1
  29. package/dist/client/assets/{Users01-DdipP4E2.js → Users01-DaLahyDL.js} +1 -1
  30. package/dist/client/assets/{XClose-CR92HpkN.js → XClose-RigEwdbR.js} +1 -1
  31. package/dist/client/assets/{Zap-D5X_AlHR.js → Zap-D0gg60Xv.js} +1 -1
  32. package/dist/client/assets/{access-gate-CpF5setC.js → access-gate-DpTCyI4G.js} +1 -1
  33. package/dist/client/assets/{add-connection-dialog-DB2eDzSO.js → add-connection-dialog-BFjNmoUE.js} +1 -1
  34. package/dist/client/assets/agent-app-Bpqc5TKb.js +1 -0
  35. package/dist/client/assets/{agent-assets-CynthE6_.js → agent-assets-BZW4eVF1.js} +1 -1
  36. package/dist/client/assets/{agent-automation-1MlsXRHC.js → agent-automation-DeQnvGwK.js} +1 -1
  37. package/dist/client/assets/{agent-automations-Dol9sHiV.js → agent-automations-EY7zcVw5.js} +1 -1
  38. package/dist/client/assets/{agent-blog-Db3MOHTb.js → agent-blog-DB-VUOMq.js} +2 -2
  39. package/dist/client/assets/{agent-blog-post-BWxagJWC.js → agent-blog-post-C7YY31uh.js} +2 -2
  40. package/dist/client/assets/{agent-calendar-DgGhw5pC.js → agent-calendar-B8bUAVQB.js} +1 -1
  41. package/dist/client/assets/{agent-capabilities-CtbwhlqH.js → agent-capabilities-DIA4hYXj.js} +1 -1
  42. package/dist/client/assets/{agent-connect-sources-ByKpOl5Z.js → agent-connect-sources-D-xJzGQW.js} +1 -1
  43. package/dist/client/assets/agent-deck-Cf_ErplN.js +1 -0
  44. package/dist/client/assets/{agent-e2e-CmmnhpPI.js → agent-e2e-g0nOI_x-.js} +1 -1
  45. package/dist/client/assets/agent-experiments-B-8UgQO-.js +1 -0
  46. package/dist/client/assets/{agent-file-BwXd7p-8.js → agent-file-YPpATd9K.js} +1 -1
  47. package/dist/client/assets/{agent-hosting-FxuGCE-9.js → agent-hosting-CveWqfNK.js} +1 -1
  48. package/dist/client/assets/{agent-icon-DPgCnEV1.js → agent-icon-mmszwibp.js} +1 -1
  49. package/dist/client/assets/agent-library-Dlt2bvFQ.js +1 -0
  50. package/dist/client/assets/agent-library-file-B139Zw2D.js +1 -0
  51. package/dist/client/assets/agent-overview-_bAVR0wp.js +1 -0
  52. package/dist/client/assets/{agent-releases-CkbrqRyS.js → agent-releases-CJfKJEbr.js} +1 -1
  53. package/dist/client/assets/agent-settings-DOFZ9TlT.js +1 -0
  54. package/dist/client/assets/{agent-site-editor-ClFcVY3S.js → agent-site-editor-BGtiRMtL.js} +1 -1
  55. package/dist/client/assets/agent-site-editor-code-Bk7jz-8p.js +2 -0
  56. package/dist/client/assets/agent-site-editor-content-CNbkww_K.js +1 -0
  57. package/dist/client/assets/agent-site-editor-preview-BjbJovHJ.js +1 -0
  58. package/dist/client/assets/agent-view--Q6sRyG-.js +1 -0
  59. package/dist/client/assets/{agent-view-guard-BCiwIORn.js → agent-view-guard-D3OOa7MK.js} +1 -1
  60. package/dist/client/assets/{ai-providers-bDAV58Mn.js → ai-providers-B59fTAqi.js} +1 -1
  61. package/dist/client/assets/{alert-DXhGyLVy.js → alert-BIXfxm9q.js} +1 -1
  62. package/dist/client/assets/{analytics-sections-DBGqAepm.js → analytics-sections-BbaWW2MU.js} +1 -1
  63. package/dist/client/assets/{api-keys-BNfyNQ7I.js → api-keys-B-fVnLBR.js} +1 -1
  64. package/dist/client/assets/api-keys-B7T782Eb.js +1 -0
  65. package/dist/client/assets/{app-editor-BiIR6cEw.js → app-editor-DqTsVzBi.js} +1 -1
  66. package/dist/client/assets/{asset-utils-C4P9UMw5.js → asset-utils-drPwMw_i.js} +1 -1
  67. package/dist/client/assets/{auth-DET1t4rk.js → auth-Dpio94p4.js} +1 -1
  68. package/dist/client/assets/{auth-catchall-Ds0jCVCs.js → auth-catchall-CFF3U0RI.js} +1 -1
  69. package/dist/client/assets/{auth-entry-CcoroHhc.js → auth-entry-LKpobRVJ.js} +1 -1
  70. package/dist/client/assets/{auth-split-layout-DyPur8S6.js → auth-split-layout-CAxtAhO0.js} +1 -1
  71. package/dist/client/assets/{authenticate-and-persist-oauth-BcQblp8z.js → authenticate-and-persist-oauth-uFSi1ddd.js} +1 -1
  72. package/dist/client/assets/{automation-list-row-CUs_NzLP.js → automation-list-row-i2iBmqhL.js} +1 -1
  73. package/dist/client/assets/{automation-runs-CwfQCxx5.js → automation-runs-M9kcTzv1.js} +1 -1
  74. package/dist/client/assets/{automations-aHGSwKcI.js → automations-DVuSVNP2.js} +1 -1
  75. package/dist/client/assets/{badge-CPdAi539.js → badge-DQH-sPh3.js} +1 -1
  76. package/dist/client/assets/{block-document-Bbw2FP3P.js → block-document-CLjK5rGg.js} +1 -1
  77. package/dist/client/assets/{blocks-preview-workspace-context-CZpRdqcZ.js → blocks-preview-workspace-context-D5d1lCvq.js} +1 -1
  78. package/dist/client/assets/{blocks-tab-states-B3rnTo7L.js → blocks-tab-states-BWSDyN-L.js} +1 -1
  79. package/dist/client/assets/{blog-preview-url-D9nceA8-.js → blog-preview-url-DrIHzDC1.js} +1 -1
  80. package/dist/client/assets/{blog-schema-CxC8Q-yf.js → blog-schema-Dud6I1hB.js} +1 -1
  81. package/dist/client/assets/{blog-source-gate-SOnwSY-u.js → blog-source-gate-DgI6bq3U.js} +1 -1
  82. package/dist/client/assets/{blog-view-gate-CbpRy_w3.js → blog-view-gate-B2-t_Jmu.js} +1 -1
  83. package/dist/client/assets/{buckets-sxg53sM-.js → buckets-BqsIwhzU.js} +1 -1
  84. package/dist/client/assets/{build-improve-prompt-doc-D_rPYtI9.js → build-improve-prompt-doc-CxH_m3ql.js} +1 -1
  85. package/dist/client/assets/{calendar-HFJ5axO1.js → calendar-B5V9ahxZ.js} +1 -1
  86. package/dist/client/assets/{capability-load-error-BCoAaz36.js → capability-load-error-Cy1nsQed.js} +1 -1
  87. package/dist/client/assets/{category-editor-BIsXNtK9.js → category-editor-uRLzcWX7.js} +1 -1
  88. package/dist/client/assets/{category-tree-BwBGBNEZ.js → category-tree-DSMV8uvW.js} +1 -1
  89. package/dist/client/assets/{chart-_XV_ZGbS.js → chart-CxiHJ7Yx.js} +1 -1
  90. package/dist/client/assets/{chat-context-DmIaWG0i.js → chat-context-DdWQJl7N.js} +1 -1
  91. package/dist/client/assets/{chat-draft-D5guZJ-Z.js → chat-draft-CHOcPtOp.js} +1 -1
  92. package/dist/client/assets/{checkbox-C6L9-jtU.js → checkbox-CVml-3os.js} +1 -1
  93. package/dist/client/assets/{choose-editor-D-ClYTuz.js → choose-editor-CJgNaynn.js} +1 -1
  94. package/dist/client/assets/{cli-auth-success-CMqt_C6d.js → cli-auth-success-BSNEAo2d.js} +1 -1
  95. package/dist/client/assets/{client-icons-BrNyP8bx.js → client-icons-Cvv9MyID.js} +1 -1
  96. package/dist/client/assets/{cms-settings-editor-Cm7lJgYR.js → cms-settings-editor-DOHwi8qO.js} +1 -1
  97. package/dist/client/assets/{cms-store-drafts-CTNFCbln.js → cms-store-drafts-Co6hs1Gm.js} +1 -1
  98. package/dist/client/assets/{collapsible-SBMmc8E3.js → collapsible-ZjNF64KD.js} +1 -1
  99. package/dist/client/assets/{collection-detail-VM7vyobJ.js → collection-detail-CFrXFPV3.js} +1 -1
  100. package/dist/client/assets/{collection-display-button-DNT54OXz.js → collection-display-button-D7AaZ59Q.js} +1 -1
  101. package/dist/client/assets/{collection-search-DXnQxUGL.js → collection-search-DrspIufR.js} +1 -1
  102. package/dist/client/assets/{collection-table-wrapper-BtWWhOUa.js → collection-table-wrapper-BTpP_R57.js} +1 -1
  103. package/dist/client/assets/{collection-tabs-BPEGrrum.js → collection-tabs-2wU6BwIq.js} +1 -1
  104. package/dist/client/assets/{combobox-B8oSfLQg.js → combobox-BdUyw8jq.js} +1 -1
  105. package/dist/client/assets/{command-ARXYIBtk.js → command-ByEG2lpR.js} +1 -1
  106. package/dist/client/assets/{companion-mcps-section-CrDXFS6p.js → companion-mcps-section-BpRA6d5a.js} +1 -1
  107. package/dist/client/assets/{config-FNjB2KQg.js → config-ViHsIgIA.js} +1 -1
  108. package/dist/client/assets/{connect-D7SeHA4r.js → connect-Aly-0ASI.js} +1 -1
  109. package/dist/client/assets/{connect-layout-ByVGILi-.js → connect-layout-CbUmd0fU.js} +1 -1
  110. package/dist/client/assets/{connect-source-dialog-Di53RqvY.js → connect-source-dialog-BI_iSjsz.js} +1 -1
  111. package/dist/client/assets/{connection-BTlRsp1B.js → connection-Bmlh47OD.js} +1 -1
  112. package/dist/client/assets/{connection-card-DFMJTK3o.js → connection-card-IGbEiasZ.js} +1 -1
  113. package/dist/client/assets/{connection-detail-C-BChkKr.js → connection-detail-D7WtScT_.js} +1 -1
  114. package/dist/client/assets/{connection-form-helpers-B9Yi82ri.js → connection-form-helpers-CM8A7qxi.js} +1 -1
  115. package/dist/client/assets/{connection-slug-COimMHkq.js → connection-slug-rgdaPyVS.js} +1 -1
  116. package/dist/client/assets/{connections-fJDsaPLw.js → connections-8AsK7z6U.js} +1 -1
  117. package/dist/client/assets/{content-tab-BV39A4DC.js → content-tab-6WPOlhG9.js} +3 -3
  118. package/dist/client/assets/{context-DHTHUOqh.js → context-Dgx2LMji.js} +1 -1
  119. package/dist/client/assets/{context-menu-B-hlKiE1.js → context-menu-h4YtCxvM.js} +1 -1
  120. package/dist/client/assets/{context-shell-BGKkeMCB.js → context-shell-BbE88Tyf.js} +3 -3
  121. package/dist/client/assets/{core.esm-Hiw5xlkT.js → core.esm-BzH_Nko5.js} +1 -1
  122. package/dist/client/assets/{create-organization-dialog-EtzNyw9E.js → create-organization-dialog-CnHhjS0p.js} +1 -1
  123. package/dist/client/assets/{delete-copy-Bt51Emir.js → delete-copy-pOul_Q0z.js} +1 -1
  124. package/dist/client/assets/{device-hint-DcULIlAN.js → device-hint-BQG6K9Hf.js} +1 -1
  125. package/dist/client/assets/{discover-B7EzX3Z4.js → discover-kJdAd045.js} +1 -1
  126. package/dist/client/assets/{domain-settings-CYdry1vA.js → domain-settings-Bs--YGSm.js} +1 -1
  127. package/dist/client/assets/{drawer-BUu3Urhv.js → drawer-D7zE3h2P.js} +1 -1
  128. package/dist/client/assets/{editor-Dc6skLlO.js → editor-B0kphvbT.js} +1 -1
  129. package/dist/client/assets/{editor-classes-BRb8pzNp.js → editor-classes-SfZ5uUGn.js} +1 -1
  130. package/dist/client/assets/{empty-message-uyJw_GDm.js → empty-message-DkX3rdbv.js} +1 -1
  131. package/dist/client/assets/{empty-state-CQ-naxDO.js → empty-state-DKuRC7c7.js} +1 -1
  132. package/dist/client/assets/{empty-state-yinauESn.js → empty-state-Deh8mRpo.js} +1 -1
  133. package/dist/client/assets/{experiments-tab-choice-n7UpEKSe.js → experiments-tab-choice-BBShWrmo.js} +1 -1
  134. package/dist/client/assets/{extract-connection-data-UTX_3j8w.js → extract-connection-data-BklHKw1M.js} +1 -1
  135. package/dist/client/assets/{feature-gate-Caiq88-a.js → feature-gate-BlKXdO61.js} +1 -1
  136. package/dist/client/assets/{feature-paywall-CgY8XcJe.js → feature-paywall-6uSnqIFO.js} +1 -1
  137. package/dist/client/assets/{file-explorer-Dt28l_Zt.js → file-explorer-CvkaKFET.js} +1 -1
  138. package/dist/client/assets/{file-preview-B_OweD07.js → file-preview-B39yfF4F.js} +1 -1
  139. package/dist/client/assets/{file-share-button-GtMerxGo.js → file-share-button-C2MhJgEK.js} +1 -1
  140. package/dist/client/assets/{file-type-icon-5sEsvuio.js → file-type-icon-DVZfJOKC.js} +1 -1
  141. package/dist/client/assets/{folder-icon-BkVkbSXN.js → folder-icon-Dtva_-KR.js} +1 -1
  142. package/dist/client/assets/{form-DQshgY6C.js → form-DnzJbdNw.js} +1 -1
  143. package/dist/client/assets/{frame-navigation-DCO55Sf7.js → frame-navigation-mE1IyLxt.js} +1 -1
  144. package/dist/client/assets/{general-BaBNqFUU.js → general-DUr6-t_c.js} +1 -1
  145. package/dist/client/assets/{github-icon-CsOyvsM3.js → github-icon-Cd5dQEKt.js} +1 -1
  146. package/dist/client/assets/{held-block-view-CZDHkd7I.js → held-block-view-HcOuBva8.js} +1 -1
  147. package/dist/client/assets/{home-Csg3jJI1.js → home-BcJ5qMwh.js} +1 -1
  148. package/dist/client/assets/{home-overview-BWPQ5B3f.js → home-overview-BEZlL4ib.js} +1 -1
  149. package/dist/client/assets/{hosted-reconcile-BVY_PuHB.js → hosted-reconcile-DSYVUxqr.js} +1 -1
  150. package/dist/client/assets/{icon-button-DTP_l7w5.js → icon-button-CR6dftyf.js} +1 -1
  151. package/dist/client/assets/{index-D8htcGU7.js → index-AyKz2l6b.js} +1 -1
  152. package/dist/client/assets/{index-CoDU2Q4W.js → index-B1RqPkvO.js} +1 -1
  153. package/dist/client/assets/{index--NX8xaba.js → index-BpJqVb3l.js} +1 -1
  154. package/dist/client/assets/{index-B_-7lo18.js → index-C5bUqIA_.js} +1 -1
  155. package/dist/client/assets/{index-D9OoYQHh.js → index-CBlU77jJ.js} +1 -1
  156. package/dist/client/assets/{index-BUzNTivf.js → index-CDiUvHd3.js} +1 -1
  157. package/dist/client/assets/{index-TayDSkqp.js → index-CU2-l5Z1.js} +1 -1
  158. package/dist/client/assets/{index-PfzOl7J6.js → index-D8HDDDUz.js} +5 -5
  159. package/dist/client/assets/{index-BtBKqC_9.js → index-DGscs1DX.js} +1 -1
  160. package/dist/client/assets/{index-BxZUC_i-.js → index-DOkOhXW8.js} +1 -1
  161. package/dist/client/assets/{index-Chdoy1DO.js → index-DaVJsKZ7.js} +1 -1
  162. package/dist/client/assets/{index-xX6vrZ6Z.js → index-De51YIVR.js} +1 -1
  163. package/dist/client/assets/{index-DpynbW7T.js → index-PstEiCy7.js} +1 -1
  164. package/dist/client/assets/{index-yk7iwtzd.js → index-b6QIszGC.js} +1 -1
  165. package/dist/client/assets/{index-Cwblfb1K.js → index-gXWGEUwJ.js} +1 -1
  166. package/dist/client/assets/{index-DThhcUFE.js → index-odrPj5u2.js} +1 -1
  167. package/dist/client/assets/{index-redirect-BkFuXXfk.js → index-redirect-Dj3mFirc.js} +1 -1
  168. package/dist/client/assets/{index-COp-j3NW.js → index-uoYFNgrb.js} +1 -1
  169. package/dist/client/assets/{infiniteQueryObserver-BSITs4kU.js → infiniteQueryObserver-C3DB8A3F.js} +1 -1
  170. package/dist/client/assets/{infra-billing-BoDxU99n.js → infra-billing-Dv0Y4nq2.js} +1 -1
  171. package/dist/client/assets/{input-D81euCkI.js → input-B9-LxoR8.js} +1 -1
  172. package/dist/client/assets/{input-CHXvb5rt.js → input-DCkWhN8u.js} +3 -3
  173. package/dist/client/assets/{integration-icon-Cypf7ART.js → integration-icon-D10Wu8in.js} +1 -1
  174. package/dist/client/assets/{item-actions-8EnEtcgh.js → item-actions-ChF-Wajz.js} +1 -1
  175. package/dist/client/assets/{jira-icon-QIwPAzLK.js → jira-icon-BTl7-hxa.js} +1 -1
  176. package/dist/client/assets/{label-C3bFtEDk.js → label-C6Eod_61.js} +1 -1
  177. package/dist/client/assets/{layout-BQNYAbQM.js → layout-KD23pdsL.js} +1 -1
  178. package/dist/client/assets/{legacy-admin-welcome-dialog-BndvejSa.js → legacy-admin-welcome-dialog-DY8Bixis.js} +1 -1
  179. package/dist/client/assets/{legacy-agents-deep-Dl3vADCo.js → legacy-agents-deep-DqEHBKxS.js} +1 -1
  180. package/dist/client/assets/{legacy-main-redirect-ChiwiSS2.js → legacy-main-redirect-xIr91LSW.js} +1 -1
  181. package/dist/client/assets/library-1Y_LcuJb.js +1 -0
  182. package/dist/client/assets/{library-tab-CrYnUaco.js → library-tab-C-gyz3ep.js} +1 -1
  183. package/dist/client/assets/{login-rcDgqa7Z.js → login-LU1xbL-m.js} +1 -1
  184. package/dist/client/assets/{markdown-sfCsYKJ3.js → markdown-xlCS0Umn.js} +1 -1
  185. package/dist/client/assets/{mcp-app-renderer-D149puyc.js → mcp-app-renderer-P6d9M0PC.js} +1 -1
  186. package/dist/client/assets/{mcp-oauth-jwlMSPw2.js → mcp-oauth-B7XWBzzN.js} +1 -1
  187. package/dist/client/assets/{mcp-oauth-CSBTsyXo.js → mcp-oauth-B_8eWy31.js} +1 -1
  188. package/dist/client/assets/{members-CelJ91W8.js → members-TkhB8ase.js} +1 -1
  189. package/dist/client/assets/{memory-78oDfUbY.js → memory-0HN4vn-X.js} +1 -1
  190. package/dist/client/assets/{mock-board-1wwE7bgl.js → mock-board-DEylkukw.js} +3 -3
  191. package/dist/client/assets/{monaco-editor-CdzTj7u7.js → monaco-editor-D37e6fWN.js} +1 -1
  192. package/dist/client/assets/{monitoring-CMxjfhWD.js → monitoring-CWDPvUi9.js} +1 -1
  193. package/dist/client/assets/{monitoring-stats-row-DQq79-Av.js → monitoring-stats-row-BaRGE1me.js} +1 -1
  194. package/dist/client/assets/{multi-select-DuhSvGkq.js → multi-select-jJMhnt_d.js} +1 -1
  195. package/dist/client/assets/{mustache-7iPTegv4.js → mustache-B5ZYo9QF.js} +1 -1
  196. package/dist/client/assets/{named-rule-step-osjl7ntJ.js → named-rule-step-DxjJGQ3W.js} +1 -1
  197. package/dist/client/assets/{named-rule-view-BLodRfDS.js → named-rule-view-UfrOXS5F.js} +1 -1
  198. package/dist/client/assets/{new-project-dialog-ddGWO7oU.js → new-project-dialog-Czv5HvtS.js} +1 -1
  199. package/dist/client/assets/{oauth-callback-O0HaoPhW.js → oauth-callback-PiEldV4w.js} +1 -1
  200. package/dist/client/assets/{oauth-callback-ai-provider-lqjcXm4x.js → oauth-callback-ai-provider-DUkKBpBm.js} +1 -1
  201. package/dist/client/assets/{oauth-consent-N41ISlqj.js → oauth-consent-CKXF9rY9.js} +1 -1
  202. package/dist/client/assets/{onboarding-5wyvG1ND.js → onboarding-ACGqZ934.js} +1 -1
  203. package/dist/client/assets/{openai-conversation-CHwDAykX.js → openai-conversation-BrQdLDfo.js} +1 -1
  204. package/dist/client/assets/{optimistic-project-sidebar-views-1aPoGedf.js → optimistic-project-sidebar-views-wCpU8FHx.js} +1 -1
  205. package/dist/client/assets/{order-monitor-day-BETRE7hY.js → order-monitor-day-az11vn38.js} +1 -1
  206. package/dist/client/assets/{organization-choice-xEY1ZwIn.js → organization-choice-B4DvsWTU.js} +1 -1
  207. package/dist/client/assets/{orgs-BV4-A9Pr.js → orgs-BcVTs2Na.js} +1 -1
  208. package/dist/client/assets/{own-accounts-section-DY9RNK5U.js → own-accounts-section-C9C2gCIB.js} +1 -1
  209. package/dist/client/assets/{pair-4_jIXzEz.js → pair-CBh8Ssld.js} +1 -1
  210. package/dist/client/assets/{parse-sections-Crm8e-1O.js → parse-sections-HRX0mYs4.js} +2 -2
  211. package/dist/client/assets/{plan-TSt9lDnY.js → plan-D-fnFfEU.js} +1 -1
  212. package/dist/client/assets/{plan-ladder-6lanq0kZ.js → plan-ladder-B-kol46S.js} +1 -1
  213. package/dist/client/assets/{plan-usage-card-qPS6Eqeb.js → plan-usage-card-C1wYjY71.js} +1 -1
  214. package/dist/client/assets/{popover-BBhzRgR6.js → popover-BvzfBeCD.js} +1 -1
  215. package/dist/client/assets/{post-calendar-XeIGYeqg.js → post-calendar-DGT8MPVI.js} +1 -1
  216. package/dist/client/assets/{post-editor-Cuw86g74.js → post-editor-CJ6LWCYX.js} +1 -1
  217. package/dist/client/assets/{preview-content-CdaarV-M.js → preview-content-Dg6p6zYi.js} +1 -1
  218. package/dist/client/assets/{preview-dialog-eUjd7KAO.js → preview-dialog-C6UJFd8t.js} +1 -1
  219. package/dist/client/assets/{preview-panel-DOASEmB8.js → preview-panel-XviDcPal.js} +1 -1
  220. package/dist/client/assets/{preview-tab-DHUmCnt8.js → preview-tab-Bsa49d5X.js} +3 -3
  221. package/dist/client/assets/{product-picker-dialog-z_7jLJp3.js → product-picker-dialog-YdUbY-7g.js} +1 -1
  222. package/dist/client/assets/{profile-Q_Uil_2O.js → profile-CePaZKJY.js} +1 -1
  223. package/dist/client/assets/{project-app-view-B_pnPMK9.js → project-app-view-DfiChkFV.js} +1 -1
  224. package/dist/client/assets/{project-apps-DOmYqPIW.js → project-apps-C9_2F9T-.js} +1 -1
  225. package/dist/client/assets/{project-icon-DdcX-1Cu.js → project-icon-CaBBGJPF.js} +1 -1
  226. package/dist/client/assets/{project-index-CvnWioTG.js → project-index-C7nzWFsU.js} +1 -1
  227. package/dist/client/assets/project-reports-CoqhcCxn.js +1 -0
  228. package/dist/client/assets/project-tasks-Seoutc84.js +1 -0
  229. package/dist/client/assets/{projects-BnupWVNC.js → projects-CO4WaEwj.js} +1 -1
  230. package/dist/client/assets/{projects-empty-state-BBAZx24q.js → projects-empty-state-C5B5zjIl.js} +1 -1
  231. package/dist/client/assets/{prompts-CtCcnkuf.js → prompts-BjcWFXkv.js} +1 -1
  232. package/dist/client/assets/{record-editor-kAlyd6wn.js → record-editor-CjT1Sg-6.js} +1 -1
  233. package/dist/client/assets/{redirect-editor-G5HzKFY7.js → redirect-editor-OA8-5zJv.js} +1 -1
  234. package/dist/client/assets/{reports-CCeLAtH1.js → reports-BQZNrA6z.js} +1 -1
  235. package/dist/client/assets/reports-CwkGwbxw.js +1 -0
  236. package/dist/client/assets/{reports-onboarding-CihuSs_4.js → reports-onboarding-Bo8neYb7.js} +1 -1
  237. package/dist/client/assets/{reports-tab-CxCo6ljz.js → reports-tab-DgZa_ici.js} +2 -2
  238. package/dist/client/assets/repositories-BD2JywIJ.js +1 -0
  239. package/dist/client/assets/{repositories-Cr0Vmqsy.js → repositories-aSnJEtAN.js} +1 -1
  240. package/dist/client/assets/{repository-binding-BjyWZpYn.js → repository-binding-Dv276sdb.js} +1 -1
  241. package/dist/client/assets/{repository-picker-BQKFq3La.js → repository-picker-QBlZoWDu.js} +1 -1
  242. package/dist/client/assets/{require-capability-Ca04y4iT.js → require-capability-DR0RkcLX.js} +1 -1
  243. package/dist/client/assets/{required-auth-layout-rj346c5-.js → required-auth-layout-DQ6ys2Lb.js} +1 -1
  244. package/dist/client/assets/{reset-password-CJ8Ib39J.js → reset-password-Cey_yJ7E.js} +1 -1
  245. package/dist/client/assets/{resizable-BWGQtKDK.js → resizable-B8_D-RUQ.js} +1 -1
  246. package/dist/client/assets/{resolve-tab-icon--gm9VDQf.js → resolve-tab-icon-BR3-CACo.js} +1 -1
  247. package/dist/client/assets/{review-settings-DKHV4WWw.js → review-settings-oSfLAO7Q.js} +1 -1
  248. package/dist/client/assets/{role-color-h7pbmUj8.js → role-color-BUSBfkmC.js} +1 -1
  249. package/dist/client/assets/{roles-33JtztJp.js → roles-CjDfMF0i.js} +1 -1
  250. package/dist/client/assets/{route-esSEnbHB.js → route-8L849BD5.js} +1 -1
  251. package/dist/client/assets/{route-B2mhSQ66.js → route-K2NA94TK.js} +1 -1
  252. package/dist/client/assets/route-hkkxUpPa.js +1 -0
  253. package/dist/client/assets/{sandbox-lifecycle-context-ciVvS_mf.js → sandbox-lifecycle-context-D0Fc_zJJ.js} +1 -1
  254. package/dist/client/assets/{save-status-YxsSW2Rs.js → save-status-1UoG7f0k.js} +1 -1
  255. package/dist/client/assets/{schema-CWJkmqKK.js → schema-CFwkIhKP.js} +1 -1
  256. package/dist/client/assets/{schema-MF7uKk3F.js → schema-gPek6tvx.js} +1 -1
  257. package/dist/client/assets/{scroll-area-D0b5TYGa.js → scroll-area-BhLv10mq.js} +1 -1
  258. package/dist/client/assets/{search-input-CfjxHAmm.js → search-input-CLSXdutD.js} +1 -1
  259. package/dist/client/assets/{search-toggle-CvrrivM1.js → search-toggle-DukKK1PI.js} +1 -1
  260. package/dist/client/assets/{secret-picker-Bh-9Okys.js → secret-picker-BF4D31uF.js} +1 -1
  261. package/dist/client/assets/{secrets-BpaSArcv.js → secrets-DZpaifDz.js} +1 -1
  262. package/dist/client/assets/{section-array-field-YpT7n9vG.js → section-array-field-BtcjWtvt.js} +1 -1
  263. package/dist/client/assets/{sections-BDOnV4mD.js → sections-DiXXDwzo.js} +1 -1
  264. package/dist/client/assets/{sections-editor-e-APM9PR.js → sections-editor-Nvt7HB4y.js} +1 -1
  265. package/dist/client/assets/{select-DbxUTGle.js → select-CpVl3_2f.js} +1 -1
  266. package/dist/client/assets/{select-model-B_SYZDlx.js → select-model-BMlbS-e4.js} +1 -1
  267. package/dist/client/assets/{seo-editor-BAb4_SVN.js → seo-editor-M_gwXcCt.js} +1 -1
  268. package/dist/client/assets/{separator-C0AfeS3O.js → separator-DGA-poR7.js} +1 -1
  269. package/dist/client/assets/settings-tab-BOF9Hfhu.js +1 -0
  270. package/dist/client/assets/{sheet-BeOc3FAs.js → sheet-C6rtTUBz.js} +1 -1
  271. package/dist/client/assets/{shell-layout-QlUCYlok.js → shell-layout-DWWwIk_z.js} +1 -1
  272. package/dist/client/assets/{site-draft-actions-BsBc3-Kf.js → site-draft-actions-D5Biudjs.js} +1 -1
  273. package/dist/client/assets/{site-draft-view-B2Uxv1of.js → site-draft-view-NNy8S2-k.js} +1 -1
  274. package/dist/client/assets/site-editor-Du_VAI4F.js +1 -0
  275. package/dist/client/assets/{site-editor-toast-Bw0qMl-K.js → site-editor-toast-BEWqoKlP.js} +1 -1
  276. package/dist/client/assets/{skills-DK12dTU3.js → skills-zwuWEnTI.js} +1 -1
  277. package/dist/client/assets/{slider-DWOCTsGO.js → slider-CBof_Q_V.js} +1 -1
  278. package/dist/client/assets/{sortable.esm-Bcfqg7Xt.js → sortable.esm-Dy1h1l2l.js} +1 -1
  279. package/dist/client/assets/{sso-BK-CwpIa.js → sso-DA1qOy6T.js} +1 -1
  280. package/dist/client/assets/{suggestion-DpDJqics.js → suggestion-D56UF_pQ.js} +1 -1
  281. package/dist/client/assets/{super-agent-icon-DSWf_C0v.js → super-agent-icon-CN88o8hG.js} +1 -1
  282. package/dist/client/assets/{switch-CdoFqihq.js → switch-CG9p29mC.js} +1 -1
  283. package/dist/client/assets/{synced-repos-BBp6YhqW.js → synced-repos-ClnsQNcV.js} +1 -1
  284. package/dist/client/assets/{tab-icon-glyph-BA-Ya2gQ.js → tab-icon-glyph-1_FRhmF-.js} +1 -1
  285. package/dist/client/assets/{table-DBeLX30i.js → table--WoW2Lor.js} +1 -1
  286. package/dist/client/assets/{tabs-BwIUi1Ro.js → tabs-CnNsL319.js} +1 -1
  287. package/dist/client/assets/{task-board-Dt94BxWj.js → task-board-DUfmZVQ7.js} +1 -1
  288. package/dist/client/assets/{task-route-BLTj-Kt_.js → task-route-BZiSHzMD.js} +1 -1
  289. package/dist/client/assets/{task-status-COZT_U35.js → task-status-DckguLMB.js} +1 -1
  290. package/dist/client/assets/{taskboard-analytics-DTwKCUBR.js → taskboard-analytics-EKZ_Hvd3.js} +1 -1
  291. package/dist/client/assets/tasks-B2EqX_zH.js +1 -0
  292. package/dist/client/assets/{tasks-BSIA3XNt.js → tasks-ChO6GiZ2.js} +1 -1
  293. package/dist/client/assets/{textarea-0zeG6rdh.js → textarea-Cgu68q3w.js} +1 -1
  294. package/dist/client/assets/{thread-analytics-e-DAlOc7.js → thread-analytics-D56cWHrl.js} +1 -1
  295. package/dist/client/assets/{thread-intent-k_EWWvIp.js → thread-intent-DFlRKb26.js} +1 -1
  296. package/dist/client/assets/{thread-route-bIv-22ov.js → thread-route-BRv2L7da.js} +1 -1
  297. package/dist/client/assets/{thread-route-T4ycKium.js → thread-route-CCB-rd-1.js} +1 -1
  298. package/dist/client/assets/{thread-sheet-body-D5ENmZN2.js → thread-sheet-body-CLb6QMKy.js} +1 -1
  299. package/dist/client/assets/{time-range-picker-l-A1yfsB.js → time-range-picker-DJQsn3p1.js} +1 -1
  300. package/dist/client/assets/{toggle-group-BR3YjLpg.js → toggle-group-lGOrFANX.js} +1 -1
  301. package/dist/client/assets/{tool-namespace-nlvRAMHv.js → tool-namespace-cagFCGCV.js} +1 -1
  302. package/dist/client/assets/{tool-set-selector-iLTKI2dh.js → tool-set-selector-B71rNLSq.js} +1 -1
  303. package/dist/client/assets/{toolbar-icon-button-C1sAn-5j.js → toolbar-icon-button-jXG-KQc2.js} +1 -1
  304. package/dist/client/assets/{tooltip-7oUFzrc9.js → tooltip-BZFegydB.js} +1 -1
  305. package/dist/client/assets/{tooltipContext-BnluVbPZ.js → tooltipContext-C1F2kuWH.js} +1 -1
  306. package/dist/client/assets/{track-ClTfqB2h.js → track-lfFXhuhn.js} +1 -1
  307. package/dist/client/assets/{types-CT2b_f_n.js → types-FZCQuIv_.js} +1 -1
  308. package/dist/client/assets/{url-slug-DlwXWMoY.js → url-slug-B9Zc1vGv.js} +1 -1
  309. package/dist/client/assets/{usage-stats-DXQh2ym6.js → usage-stats-CphPEBVe.js} +1 -1
  310. package/dist/client/assets/{use-ai-providers-BV-M-wTR.js → use-ai-providers-xj5bugI1.js} +1 -1
  311. package/dist/client/assets/{use-apply-named-rule-DVA8503u.js → use-apply-named-rule-BWoo6p5O.js} +1 -1
  312. package/dist/client/assets/use-ask-in-chat-Ckzzwqrc.js +1 -0
  313. package/dist/client/assets/{use-automations-CkOHisGI.js → use-automations-D1alWz_j.js} +1 -1
  314. package/dist/client/assets/{use-autosave-CMjKQ8gr.js → use-autosave-iBowYJcP.js} +1 -1
  315. package/dist/client/assets/use-blocks-v8-project-DUspd_UU.js +1 -0
  316. package/dist/client/assets/{use-chat-layout-state-DYxnWGXI.js → use-chat-layout-state-DfKn-NxL.js} +1 -1
  317. package/dist/client/assets/{use-cms-publish-actions-BRuQD-xn.js → use-cms-publish-actions-3jMkJE3K.js} +1 -1
  318. package/dist/client/assets/{use-connect-companion-Bz03TbqD.js → use-connect-companion-C_A5Vxk7.js} +1 -1
  319. package/dist/client/assets/{use-connection-b1ZFdIKu.js → use-connection-CU6X3Wkq.js} +1 -1
  320. package/dist/client/assets/{use-content-sync-J1DOMeIV.js → use-content-sync-DmmeRMs-.js} +1 -1
  321. package/dist/client/assets/{use-copy-MGOjhapZ.js → use-copy-Bn5xNYDY.js} +1 -1
  322. package/dist/client/assets/{use-date-fns-locale-Db1-0fqy.js → use-date-fns-locale-BwLIR0jW.js} +1 -1
  323. package/dist/client/assets/{use-debounced-autosave-0ckPn95E.js → use-debounced-autosave-CsKCSmG6.js} +1 -1
  324. package/dist/client/assets/{use-debounced-value-L8Mvr3Qf.js → use-debounced-value-Bd_QEBiw.js} +1 -1
  325. package/dist/client/assets/{use-deco-credits-CXHEdY4g.js → use-deco-credits-C0pODutp.js} +1 -1
  326. package/dist/client/assets/{use-decopilot-events-CExfz_YN.js → use-decopilot-events-BEba0iFr.js} +1 -1
  327. package/dist/client/assets/{use-delete-block-C4Fd-0fO.js → use-delete-block-C2VDoxSY.js} +1 -1
  328. package/dist/client/assets/{use-delete-connection-CiHyt6_e.js → use-delete-connection-Dmwz6pLO.js} +1 -1
  329. package/dist/client/assets/{use-deployment-admin-D6ysmdql.js → use-deployment-admin-DBDDA5Db.js} +1 -1
  330. package/dist/client/assets/{use-entitlements-DKzKnO7t.js → use-entitlements-D_NXTAyp.js} +1 -1
  331. package/dist/client/assets/{use-fast-preview-draft-url-Rhzecu_l.js → use-fast-preview-draft-url-DO0FxQgi.js} +1 -1
  332. package/dist/client/assets/{use-file-configs-FzJwNbFB.js → use-file-configs-Css7VrGO.js} +1 -1
  333. package/dist/client/assets/{use-id-selection-DV-7Zfn_.js → use-id-selection-tdP-DqUr.js} +1 -1
  334. package/dist/client/assets/{use-inbox-feed-P-dmKrll.js → use-inbox-feed-gupZrbXm.js} +1 -1
  335. package/dist/client/assets/{use-infinite-scroll-D4cD1T3_.js → use-infinite-scroll-BW-rJXd9.js} +1 -1
  336. package/dist/client/assets/{use-join-requests-BZyMQ0xJ.js → use-join-requests-B4rRAy5i.js} +1 -1
  337. package/dist/client/assets/{use-main-panel-tabs-DTyQot8D.js → use-main-panel-tabs-1Vj7wm8E.js} +1 -1
  338. package/dist/client/assets/{use-mcp-auth-status-BzTNOh9a.js → use-mcp-auth-status-CCeGVwSv.js} +1 -1
  339. package/dist/client/assets/{use-mcp-client-CVGnTbnR.js → use-mcp-client-CluVMhVq.js} +1 -1
  340. package/dist/client/assets/{use-mcp-prompts-C72FS5ih.js → use-mcp-prompts-YffkWL7I.js} +1 -1
  341. package/dist/client/assets/{use-mcp-tools-DQ6qPp-q.js → use-mcp-tools-C1QW6bpR.js} +1 -1
  342. package/dist/client/assets/{use-mobile-Box5tF93.js → use-mobile-D2Sn1D9v.js} +1 -1
  343. package/dist/client/assets/{use-move-blocks-D_Vs6N9H.js → use-move-blocks-CWhuO9hg.js} +1 -1
  344. package/dist/client/assets/{use-navigate-to-agent-BFXAaVqR.js → use-navigate-to-agent-DG4RRc2l.js} +1 -1
  345. package/dist/client/assets/{use-never-published-D5jr8ByQ.js → use-never-published-D8nGboC4.js} +1 -1
  346. package/dist/client/assets/{use-org-fs-DhEmmAqR.js → use-org-fs-BySi7x_E.js} +1 -1
  347. package/dist/client/assets/{use-org-repo-syncs-D4_eFcdp.js → use-org-repo-syncs-CR3rL8dY.js} +1 -1
  348. package/dist/client/assets/{use-org-sso-PK2UdKUD.js → use-org-sso-C1PNiOLX.js} +1 -1
  349. package/dist/client/assets/{use-organization-settings-1gniuS7P.js → use-organization-settings-HcETy7Sy.js} +1 -1
  350. package/dist/client/assets/{use-project-native-view-presence-CWUPdvlx.js → use-project-native-view-presence-DwgE9Oo5.js} +1 -1
  351. package/dist/client/assets/{use-project-scope-RvpHL0s_.js → use-project-scope-C_D7G_Rp.js} +1 -1
  352. package/dist/client/assets/{use-recent-apps-B7zKTjxf.js → use-recent-apps-h9IShd63.js} +1 -1
  353. package/dist/client/assets/{use-reports-diagnostic-Df9ZgP2V.js → use-reports-diagnostic-CKOsUeqn.js} +1 -1
  354. package/dist/client/assets/{use-sandbox-events-BV2Y1Vu8.js → use-sandbox-events-BRyRagyy.js} +1 -1
  355. package/dist/client/assets/{use-secrets-DE7J5I_l.js → use-secrets-BDiRf3Zk.js} +1 -1
  356. package/dist/client/assets/{use-section-preview-base-BJE9UobB.js → use-section-preview-base-C9b4a3IM.js} +1 -1
  357. package/dist/client/assets/{use-sidebar-collapsed-BFQg4qhu.js → use-sidebar-collapsed-I4_8P9uh.js} +1 -1
  358. package/dist/client/assets/{use-tags-CV-rF5OD.js → use-tags-BLAg8Bt6.js} +1 -1
  359. package/dist/client/assets/{use-task-board-analytics-BFgtA0eR.js → use-task-board-analytics-fe_SM3oJ.js} +1 -1
  360. package/dist/client/assets/{use-task-board-events-DMey0obH.js → use-task-board-events-DLrBUovp.js} +1 -1
  361. package/dist/client/assets/{use-task-board-item-prs-B52UpU_u.js → use-task-board-item-prs-CwDomqDS.js} +1 -1
  362. package/dist/client/assets/{use-task-board-items-BxTPwb-L.js → use-task-board-items-Bm6zwfzn.js} +1 -1
  363. package/dist/client/assets/{use-task-board-prompts-BRQWf9Pf.js → use-task-board-prompts-CjwAHKAM.js} +1 -1
  364. package/dist/client/assets/{use-task-metadata-CX5mjd3k.js → use-task-metadata-CM4snwYN.js} +1 -1
  365. package/dist/client/assets/{use-thread-outputs-NzO2uf9T.js → use-thread-outputs-hVznlgM2.js} +1 -1
  366. package/dist/client/assets/{use-view-draft-kind-Czb3VJ2z.js → use-view-draft-kind-Bb6178QK.js} +1 -1
  367. package/dist/client/assets/{use-voice-input-CJwxrnH4.js → use-voice-input-4p-Pv-qm.js} +1 -1
  368. package/dist/client/assets/useInfiniteQuery-D3dviUwm.js +1 -0
  369. package/dist/client/assets/{useQueries-BTKHF006.js → useQueries-BDKcwXY5.js} +1 -1
  370. package/dist/client/assets/useSuspenseInfiniteQuery-CX7nH5DS.js +1 -0
  371. package/dist/client/assets/{users-C1cmyiHr.js → users-JZFItgDj.js} +1 -1
  372. package/dist/client/assets/{utils-dLgjLO-5.js → utils-Cjet4zZt.js} +1 -1
  373. package/dist/client/assets/{variant-calendar-BFvdqyOs.js → variant-calendar-D2b6pfPb.js} +1 -1
  374. package/dist/client/assets/{variant-matcher-override-uOKZ9bIk.js → variant-matcher-override-CNk4J4xE.js} +1 -1
  375. package/dist/client/assets/{view-header-g_I-xUvY.js → view-header-DeTc05o9.js} +1 -1
  376. package/dist/client/assets/{virtual-mcp-CIFm7Ktp.js → virtual-mcp-Dhzw4N7R.js} +1 -1
  377. package/dist/client/assets/{watch-sse-pool-Cs81gduQ.js → watch-sse-pool-C_8RX2D3.js} +1 -1
  378. package/dist/client/index.html +1 -1
  379. package/dist/server/server.js +1 -1
  380. package/package.json +1 -1
  381. package/dist/client/assets/agent-app-FoPCQlJh.js +0 -1
  382. package/dist/client/assets/agent-deck-CYqAnEDO.js +0 -1
  383. package/dist/client/assets/agent-experiments-C0HV4Igp.js +0 -1
  384. package/dist/client/assets/agent-library-CZViQovH.js +0 -1
  385. package/dist/client/assets/agent-library-file-DC-34Ulj.js +0 -1
  386. package/dist/client/assets/agent-overview-DIMIEsnS.js +0 -1
  387. package/dist/client/assets/agent-settings-Ct-2qeci.js +0 -1
  388. package/dist/client/assets/agent-site-editor-code-B_iiio_B.js +0 -2
  389. package/dist/client/assets/agent-site-editor-content-XnR2gN3f.js +0 -1
  390. package/dist/client/assets/agent-site-editor-preview-DuB0qtlm.js +0 -1
  391. package/dist/client/assets/agent-view-B8ACan0R.js +0 -1
  392. package/dist/client/assets/api-keys-BHoBmIeA.js +0 -1
  393. package/dist/client/assets/library-BRiige9x.js +0 -1
  394. package/dist/client/assets/project-reports-CjkBj3OZ.js +0 -1
  395. package/dist/client/assets/project-tasks-BR7DB76X.js +0 -1
  396. package/dist/client/assets/reports-BZMzVdGj.js +0 -1
  397. package/dist/client/assets/repositories-xVxXVGUl.js +0 -1
  398. package/dist/client/assets/route-L9WJSo8Z.js +0 -1
  399. package/dist/client/assets/settings-tab-BdJ07iEH.js +0 -1
  400. package/dist/client/assets/site-editor-CkLwv4jN.js +0 -1
  401. package/dist/client/assets/tasks-CbzokKrd.js +0 -1
  402. package/dist/client/assets/use-ask-in-chat-BNelLcsB.js +0 -1
  403. package/dist/client/assets/use-blocks-v8-project-DwFetary.js +0 -1
  404. package/dist/client/assets/useInfiniteQuery-BVraOGoC.js +0 -1
  405. package/dist/client/assets/useSuspenseInfiniteQuery-Ta5X_y4e.js +0 -1
@@ -1 +1 @@
1
- import{c as b,b as C,j as t,n as w,m as N}from"./index-PfzOl7J6.js";import{C as P}from"./index-BtBKqC_9.js";import{j as y,u as $,bO as z}from"./agent-icon-DPgCnEV1.js";import{B as I}from"./badge-CPdAi539.js";import"./use-mobile-Box5tF93.js";import"./use-sidebar-collapsed-BFQg4qhu.js";import"./use-chat-layout-state-DYxnWGXI.js";import"./thread-route-T4ycKium.js";import"./use-view-draft-kind-Czb3VJ2z.js";import"./use-project-scope-RvpHL0s_.js";import"./repository-binding-BjyWZpYn.js";import"./use-mcp-client-CVGnTbnR.js";import"./auth-DET1t4rk.js";import"./use-organization-settings-1gniuS7P.js";import"./schema-MF7uKk3F.js";import"./task-board-Dt94BxWj.js";import"./thread-intent-k_EWWvIp.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./watch-sse-pool-Cs81gduQ.js";import"./tooltip-7oUFzrc9.js";import"./index-Chdoy1DO.js";import"./toolbar-icon-button-C1sAn-5j.js";import"./shell-layout-QlUCYlok.js";import"./Globe04-CYg8V2eL.js";import"./UserSquare-DHrzs2xN.js";import"./use-deployment-admin-D6ysmdql.js";import"./admin-fetch-BhTJlAsX.js";import"./XClose-CR92HpkN.js";import"./CheckCircle-B_eEhqJR.js";import"./Monitor01-3IwLMf0Q.js";import"./Zap-D5X_AlHR.js";import"./Plus-D452i-ki.js";import"./Tool01-DoE3EsIZ.js";import"./command-ARXYIBtk.js";import"./index-Cwblfb1K.js";import"./SearchMd-D9VvymBK.js";import"./integration-icon-Cypf7ART.js";import"./LinkBroken01-CzDrAWsX.js";import"./project-icon-DdcX-1Cu.js";import"./use-navigate-to-agent-BFXAaVqR.js";import"./use-debounced-value-L8Mvr3Qf.js";import"./new-project-dialog-ddGWO7oU.js";import"./ArrowLeft-BbqwGy0e.js";import"./label-C3bFtEDk.js";import"./repository-picker-BQKFq3La.js";import"./github-icon-CsOyvsM3.js";import"./useInfiniteQuery-BVraOGoC.js";import"./infiniteQueryObserver-BSITs4kU.js";import"./collection-search-DXnQxUGL.js";import"./BookOpen01-1fjc61Mm.js";import"./ShoppingBag01-DrNjYHL1.js";import"./legacy-admin-welcome-dialog-BndvejSa.js";import"./drawer-BUu3Urhv.js";import"./required-auth-layout-rj346c5-.js";import"./use-org-sso-PK2UdKUD.js";import"./sheet-BeOc3FAs.js";import"./resizable-BWGQtKDK.js";import"./AlertCircle-GXBIxFcm.js";import"./ArrowUp-DBkhb8Yz.js";import"./ChevronUp-FDrusEQ7.js";import"./ChevronSelectorVertical-D-7E5GYT.js";import"./CreditCard01-KjySk-5G.js";import"./SwitchHorizontal01-BzX5npS9.js";import"./Key01-DY2gyLvd.js";import"./Minus-CMxaDSgl.js";import"./Sun-BvPiksd_.js";import"./Play-BOARoASB.js";import"./Trash01-_1ewPMOO.js";import"./Upload01-D11ZXRKj.js";import"./Users01-DdipP4E2.js";const K={plan:{heading:"home.comingSoon.planHeading",description:"home.comingSoon.planDescription",points:[{Icon:y,labelKey:"home.comingSoon.planGoals",tone:"bg-chart-2/15 text-chart-2"},{Icon:$,labelKey:"home.comingSoon.planTasks",tone:"bg-chart-1/15 text-chart-1"},{Icon:z,labelKey:"home.comingSoon.planProgress",tone:"bg-chart-4/15 text-chart-4"}]}};function L(o){const e=b.c(4),{className:f}=o;let i;e[0]!==f?(i=N("block h-2 rounded-full bg-muted",f),e[0]=f,e[1]=i):i=e[1];let r;return e[2]!==i?(r=t.jsx("span",{className:i}),e[2]=i,e[3]=r):r=e[3],r}const O=[{title:"w-32",fill:"w-[72%]",tone:"bg-chart-2",value:"72%"},{title:"w-24",fill:"w-[45%]",tone:"bg-chart-1",value:"45%"},{title:"w-28",fill:"w-[88%]",tone:"bg-chart-4",value:"88%"}];function R(){const o=b.c(1);let e;return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx("div",{className:"flex flex-col gap-5",children:O.map(B)}),o[0]=e):e=o[0],e}function B(o){return t.jsxs("div",{className:"flex flex-col gap-2.5",children:[t.jsxs("div",{className:"flex items-center gap-2.5",children:[t.jsx("span",{className:"flex size-6 items-center justify-center rounded-md bg-muted text-muted-foreground",children:t.jsx(y,{size:14})}),t.jsx(L,{className:o.title}),t.jsx("span",{className:"ml-auto text-xs font-medium tabular-nums text-muted-foreground",children:o.value})]}),t.jsx("div",{className:"h-1.5 overflow-hidden rounded-full bg-muted",children:t.jsx("div",{className:N("h-full rounded-full",o.fill,o.tone)})})]},o.value)}function E(o){const e=b.c(30),{kind:f}=o,i=C(),r=K[f];let u;e[0]===Symbol.for("react.memo_cache_sentinel")?(u=t.jsx("div",{className:"absolute inset-x-10 -top-4 h-40 rounded-full bg-chart-2/20 blur-3xl"}),e[0]=u):u=e[0];let h;e[1]===Symbol.for("react.memo_cache_sentinel")?(h=t.jsxs("div",{"aria-hidden":!0,className:"relative w-full max-w-md",children:[u,t.jsx("div",{className:"relative surface p-6 [mask-image:linear-gradient(to_bottom,black_65%,transparent)]",children:t.jsx(R,{})})]}),e[1]=h):h=e[1];let s;e[2]!==i?(s=i("home.comingSoon.badge"),e[2]=i,e[3]=s):s=e[3];let l;e[4]!==s?(l=t.jsx(I,{variant:"muted",children:s}),e[4]=s,e[5]=l):l=e[5];let m;e[6]!==r.heading||e[7]!==i?(m=i(r.heading),e[6]=r.heading,e[7]=i,e[8]=m):m=e[8];let n;e[9]!==m?(n=t.jsx("h1",{className:"text-2xl font-medium text-balance text-foreground",children:m}),e[9]=m,e[10]=n):n=e[10];let a;e[11]!==r.description||e[12]!==i?(a=i(r.description),e[11]=r.description,e[12]=i,e[13]=a):a=e[13];let c;e[14]!==a?(c=t.jsx("p",{className:"max-w-md text-sm text-pretty text-muted-foreground",children:a}),e[14]=a,e[15]=c):c=e[15];let p;e[16]!==l||e[17]!==n||e[18]!==c?(p=t.jsxs("div",{className:"flex flex-col items-center gap-3 text-center",children:[l,n,c]}),e[16]=l,e[17]=n,e[18]=c,e[19]=p):p=e[19];let d;if(e[20]!==r.points||e[21]!==i){let j;e[23]!==i?(j=S=>{const{Icon:_,labelKey:v,tone:k}=S;return t.jsxs("li",{className:"flex items-center gap-3 surface p-4 sm:flex-col sm:items-start",children:[t.jsx("span",{className:N("flex size-9 shrink-0 items-center justify-center rounded-lg",k),children:t.jsx(_,{size:18})}),t.jsx("span",{className:"text-sm text-foreground",children:i(v)})]},v)},e[23]=i,e[24]=j):j=e[24],d=r.points.map(j),e[20]=r.points,e[21]=i,e[22]=d}else d=e[22];let x;e[25]!==d?(x=t.jsx("ul",{className:"grid w-full gap-3 sm:grid-cols-3",children:d}),e[25]=d,e[26]=x):x=e[26];let g;return e[27]!==x||e[28]!==p?(g=t.jsx(w,{children:t.jsx(w.Content,{children:t.jsxs("div",{className:"mx-auto flex w-full max-w-2xl flex-col items-center gap-10 px-4 pt-12 pb-16 md:pt-20",children:[h,p,x]})})}),e[27]=x,e[28]=p,e[29]=g):g=e[29],g}function tt(){const o=b.c(1);let e;return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(P.Content,{children:t.jsx(E,{kind:"plan"})}),o[0]=e):e=o[0],e}export{tt as default};
1
+ import{c as b,b as C,j as t,n as w,m as N}from"./index-D8HDDDUz.js";import{C as P}from"./index-DGscs1DX.js";import{j as y,u as $,bO as z}from"./agent-icon-mmszwibp.js";import{B as I}from"./badge-DQH-sPh3.js";import"./use-mobile-D2Sn1D9v.js";import"./use-sidebar-collapsed-I4_8P9uh.js";import"./use-chat-layout-state-DfKn-NxL.js";import"./thread-route-CCB-rd-1.js";import"./use-view-draft-kind-Bb6178QK.js";import"./use-project-scope-C_D7G_Rp.js";import"./repository-binding-Dv276sdb.js";import"./use-mcp-client-CluVMhVq.js";import"./auth-Dpio94p4.js";import"./use-organization-settings-HcETy7Sy.js";import"./schema-gPek6tvx.js";import"./task-board-DUfmZVQ7.js";import"./thread-intent-DFlRKb26.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./watch-sse-pool-C_8RX2D3.js";import"./tooltip-BZFegydB.js";import"./index-DaVJsKZ7.js";import"./toolbar-icon-button-jXG-KQc2.js";import"./shell-layout-DWWwIk_z.js";import"./Globe04-C_iZve3L.js";import"./UserSquare-BAJzbhuU.js";import"./use-deployment-admin-DBDDA5Db.js";import"./admin-fetch-BhTJlAsX.js";import"./XClose-RigEwdbR.js";import"./CheckCircle-BQ_BsFXT.js";import"./Monitor01-B2hjJJ-O.js";import"./Zap-D0gg60Xv.js";import"./Plus-CRtXbDBy.js";import"./Tool01-B0TI67n-.js";import"./command-ByEG2lpR.js";import"./index-gXWGEUwJ.js";import"./SearchMd-DDfy6PV0.js";import"./integration-icon-D10Wu8in.js";import"./LinkBroken01-BTepcmNH.js";import"./project-icon-CaBBGJPF.js";import"./use-navigate-to-agent-DG4RRc2l.js";import"./use-debounced-value-Bd_QEBiw.js";import"./new-project-dialog-Czv5HvtS.js";import"./ArrowLeft-Bl_oOK1R.js";import"./label-C6Eod_61.js";import"./repository-picker-QBlZoWDu.js";import"./github-icon-Cd5dQEKt.js";import"./useInfiniteQuery-D3dviUwm.js";import"./infiniteQueryObserver-C3DB8A3F.js";import"./collection-search-DrspIufR.js";import"./BookOpen01-CQcU8DEw.js";import"./ShoppingBag01-onaGPnUG.js";import"./legacy-admin-welcome-dialog-DY8Bixis.js";import"./drawer-D7zE3h2P.js";import"./required-auth-layout-DQ6ys2Lb.js";import"./use-org-sso-C1PNiOLX.js";import"./sheet-C6rtTUBz.js";import"./resizable-B8_D-RUQ.js";import"./AlertCircle-zr0wX6rF.js";import"./ArrowUp-elivCbuw.js";import"./ChevronUp-DKklQ3bJ.js";import"./ChevronSelectorVertical-CWcLLogC.js";import"./CreditCard01-5LLU-cS_.js";import"./SwitchHorizontal01-DzexFd3R.js";import"./Key01-D0p4-oSK.js";import"./Minus-DWgslVyP.js";import"./Sun-CEK9L4UW.js";import"./Play-DuBKbsmQ.js";import"./Trash01-1vS11V6D.js";import"./Upload01-B5OG3xe6.js";import"./Users01-DaLahyDL.js";const K={plan:{heading:"home.comingSoon.planHeading",description:"home.comingSoon.planDescription",points:[{Icon:y,labelKey:"home.comingSoon.planGoals",tone:"bg-chart-2/15 text-chart-2"},{Icon:$,labelKey:"home.comingSoon.planTasks",tone:"bg-chart-1/15 text-chart-1"},{Icon:z,labelKey:"home.comingSoon.planProgress",tone:"bg-chart-4/15 text-chart-4"}]}};function L(o){const e=b.c(4),{className:f}=o;let i;e[0]!==f?(i=N("block h-2 rounded-full bg-muted",f),e[0]=f,e[1]=i):i=e[1];let r;return e[2]!==i?(r=t.jsx("span",{className:i}),e[2]=i,e[3]=r):r=e[3],r}const O=[{title:"w-32",fill:"w-[72%]",tone:"bg-chart-2",value:"72%"},{title:"w-24",fill:"w-[45%]",tone:"bg-chart-1",value:"45%"},{title:"w-28",fill:"w-[88%]",tone:"bg-chart-4",value:"88%"}];function R(){const o=b.c(1);let e;return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx("div",{className:"flex flex-col gap-5",children:O.map(B)}),o[0]=e):e=o[0],e}function B(o){return t.jsxs("div",{className:"flex flex-col gap-2.5",children:[t.jsxs("div",{className:"flex items-center gap-2.5",children:[t.jsx("span",{className:"flex size-6 items-center justify-center rounded-md bg-muted text-muted-foreground",children:t.jsx(y,{size:14})}),t.jsx(L,{className:o.title}),t.jsx("span",{className:"ml-auto text-xs font-medium tabular-nums text-muted-foreground",children:o.value})]}),t.jsx("div",{className:"h-1.5 overflow-hidden rounded-full bg-muted",children:t.jsx("div",{className:N("h-full rounded-full",o.fill,o.tone)})})]},o.value)}function E(o){const e=b.c(30),{kind:f}=o,i=C(),r=K[f];let u;e[0]===Symbol.for("react.memo_cache_sentinel")?(u=t.jsx("div",{className:"absolute inset-x-10 -top-4 h-40 rounded-full bg-chart-2/20 blur-3xl"}),e[0]=u):u=e[0];let h;e[1]===Symbol.for("react.memo_cache_sentinel")?(h=t.jsxs("div",{"aria-hidden":!0,className:"relative w-full max-w-md",children:[u,t.jsx("div",{className:"relative surface p-6 [mask-image:linear-gradient(to_bottom,black_65%,transparent)]",children:t.jsx(R,{})})]}),e[1]=h):h=e[1];let s;e[2]!==i?(s=i("home.comingSoon.badge"),e[2]=i,e[3]=s):s=e[3];let l;e[4]!==s?(l=t.jsx(I,{variant:"muted",children:s}),e[4]=s,e[5]=l):l=e[5];let m;e[6]!==r.heading||e[7]!==i?(m=i(r.heading),e[6]=r.heading,e[7]=i,e[8]=m):m=e[8];let n;e[9]!==m?(n=t.jsx("h1",{className:"text-2xl font-medium text-balance text-foreground",children:m}),e[9]=m,e[10]=n):n=e[10];let a;e[11]!==r.description||e[12]!==i?(a=i(r.description),e[11]=r.description,e[12]=i,e[13]=a):a=e[13];let c;e[14]!==a?(c=t.jsx("p",{className:"max-w-md text-sm text-pretty text-muted-foreground",children:a}),e[14]=a,e[15]=c):c=e[15];let p;e[16]!==l||e[17]!==n||e[18]!==c?(p=t.jsxs("div",{className:"flex flex-col items-center gap-3 text-center",children:[l,n,c]}),e[16]=l,e[17]=n,e[18]=c,e[19]=p):p=e[19];let d;if(e[20]!==r.points||e[21]!==i){let j;e[23]!==i?(j=S=>{const{Icon:_,labelKey:v,tone:k}=S;return t.jsxs("li",{className:"flex items-center gap-3 surface p-4 sm:flex-col sm:items-start",children:[t.jsx("span",{className:N("flex size-9 shrink-0 items-center justify-center rounded-lg",k),children:t.jsx(_,{size:18})}),t.jsx("span",{className:"text-sm text-foreground",children:i(v)})]},v)},e[23]=i,e[24]=j):j=e[24],d=r.points.map(j),e[20]=r.points,e[21]=i,e[22]=d}else d=e[22];let x;e[25]!==d?(x=t.jsx("ul",{className:"grid w-full gap-3 sm:grid-cols-3",children:d}),e[25]=d,e[26]=x):x=e[26];let g;return e[27]!==x||e[28]!==p?(g=t.jsx(w,{children:t.jsx(w.Content,{children:t.jsxs("div",{className:"mx-auto flex w-full max-w-2xl flex-col items-center gap-10 px-4 pt-12 pb-16 md:pt-20",children:[h,p,x]})})}),e[27]=x,e[28]=p,e[29]=g):g=e[29],g}function tt(){const o=b.c(1);let e;return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(P.Content,{children:t.jsx(E,{kind:"plan"})}),o[0]=e):e=o[0],e}export{tt as default};
@@ -1 +1 @@
1
- import{c as f,a4 as g,ak as P,K as _,i as y,m as h,j as d}from"./index-PfzOl7J6.js";import{u as A}from"./use-entitlements-DKzKnO7t.js";function I(){const e=f.c(6),t=P(),a=A();let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=_.aiPlanPrices(),e[0]=o):o=e[0];let n;e[1]!==t?(n=async()=>{const{prices:r}=await t.call("ORGANIZATION_BILLING_PLAN_PRICES",{});return Object.fromEntries(r.map(p))},e[1]=t,e[2]=n):n=e[2];let s;return e[3]!==a||e[4]!==n?(s={queryKey:o,enabled:a,staleTime:6e5,queryFn:n},e[3]=a,e[4]=n,e[5]=s):s=e[5],y(s)}function p(e){return[e.planId,{amountCents:e.amountCents,currency:e.currency,interval:e.interval}]}function v(e,t){return(e.amountCents/100).toLocaleString(t,{style:"currency",currency:e.currency.toUpperCase(),maximumFractionDigits:0})}const F=["chat","cms","credits","monitoring","kanban","model_choice","diagnostic_enriched"];function R(e,t){if(!e)return null;const a=e.findIndex(n=>n.features[t]===!0),o=a>=0?e[a]:void 0;return o?{plan:o,index:a}:null}const j="custom",N=new Set(["ai_service"]);function O(e){return!!e&&N.has(e)}const w="mailto:sales@deco.cx";function k(){const e=f.c(8),{org:t}=g(),a=P(),o=A();let n;e[0]!==t.id?(n=_.aiPlanCatalog(t.id),e[0]=t.id,e[1]=n):n=e[1];let s;e[2]!==a?(s=async()=>{const{plans:c}=await a.call("AI_PLAN_LIST",{providerId:"deco"});return c.filter(E)},e[2]=a,e[3]=s):s=e[3];let r;return e[4]!==o||e[5]!==n||e[6]!==s?(r={queryKey:n,enabled:o,staleTime:3e5,queryFn:s},e[4]=o,e[5]=n,e[6]=s,e[7]=r):r=e[7],y(r)}function E(e){return e.id!=="free"}const u=[{symbol:"starter",color:"text-chart-4"},{symbol:"growth",color:"text-chart-1"},{symbol:"scale",color:"text-brand-blue"}],L=u[u.length-1];function q(e){return S(e).color}function S(e){return u[Math.min(e,u.length-1)]??L}function D(e){const t=f.c(13),{index:a,className:o}=e;let n,s,r,c;if(t[0]!==o||t[1]!==a){const{symbol:b,color:x}=S(a);n=b,s="0 0 16 16",r="true",c=h("size-8 shrink-0",x,o),t[0]=o,t[1]=a,t[2]=n,t[3]=s,t[4]=r,t[5]=c}else n=t[2],s=t[3],r=t[4],c=t[5];const m=`/plan-icons.svg#${n}-icon`;let l;t[6]!==m?(l=d.jsx("use",{href:m}),t[6]=m,t[7]=l):l=t[7];let i;return t[8]!==s||t[9]!==r||t[10]!==c||t[11]!==l?(i=d.jsx("svg",{viewBox:s,"aria-hidden":r,className:c,children:l}),t[8]=s,t[9]=r,t[10]=c,t[11]=l,t[12]=i):i=t[12],i}export{j as C,F,D as P,w as S,I as a,q as b,v as f,O as i,R as p,k as u};
1
+ import{c as f,a4 as g,ak as P,K as _,i as y,m as h,j as d}from"./index-D8HDDDUz.js";import{u as A}from"./use-entitlements-D_NXTAyp.js";function I(){const e=f.c(6),t=P(),a=A();let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=_.aiPlanPrices(),e[0]=o):o=e[0];let n;e[1]!==t?(n=async()=>{const{prices:r}=await t.call("ORGANIZATION_BILLING_PLAN_PRICES",{});return Object.fromEntries(r.map(p))},e[1]=t,e[2]=n):n=e[2];let s;return e[3]!==a||e[4]!==n?(s={queryKey:o,enabled:a,staleTime:6e5,queryFn:n},e[3]=a,e[4]=n,e[5]=s):s=e[5],y(s)}function p(e){return[e.planId,{amountCents:e.amountCents,currency:e.currency,interval:e.interval}]}function v(e,t){return(e.amountCents/100).toLocaleString(t,{style:"currency",currency:e.currency.toUpperCase(),maximumFractionDigits:0})}const F=["chat","cms","credits","monitoring","kanban","model_choice","diagnostic_enriched"];function R(e,t){if(!e)return null;const a=e.findIndex(n=>n.features[t]===!0),o=a>=0?e[a]:void 0;return o?{plan:o,index:a}:null}const j="custom",N=new Set(["ai_service"]);function O(e){return!!e&&N.has(e)}const w="mailto:sales@deco.cx";function k(){const e=f.c(8),{org:t}=g(),a=P(),o=A();let n;e[0]!==t.id?(n=_.aiPlanCatalog(t.id),e[0]=t.id,e[1]=n):n=e[1];let s;e[2]!==a?(s=async()=>{const{plans:c}=await a.call("AI_PLAN_LIST",{providerId:"deco"});return c.filter(E)},e[2]=a,e[3]=s):s=e[3];let r;return e[4]!==o||e[5]!==n||e[6]!==s?(r={queryKey:n,enabled:o,staleTime:3e5,queryFn:s},e[4]=o,e[5]=n,e[6]=s,e[7]=r):r=e[7],y(r)}function E(e){return e.id!=="free"}const u=[{symbol:"starter",color:"text-chart-4"},{symbol:"growth",color:"text-chart-1"},{symbol:"scale",color:"text-brand-blue"}],L=u[u.length-1];function q(e){return S(e).color}function S(e){return u[Math.min(e,u.length-1)]??L}function D(e){const t=f.c(13),{index:a,className:o}=e;let n,s,r,c;if(t[0]!==o||t[1]!==a){const{symbol:b,color:x}=S(a);n=b,s="0 0 16 16",r="true",c=h("size-8 shrink-0",x,o),t[0]=o,t[1]=a,t[2]=n,t[3]=s,t[4]=r,t[5]=c}else n=t[2],s=t[3],r=t[4],c=t[5];const m=`/plan-icons.svg#${n}-icon`;let l;t[6]!==m?(l=d.jsx("use",{href:m}),t[6]=m,t[7]=l):l=t[7];let i;return t[8]!==s||t[9]!==r||t[10]!==c||t[11]!==l?(i=d.jsx("svg",{viewBox:s,"aria-hidden":r,className:c,children:l}),t[8]=s,t[9]=r,t[10]=c,t[11]=l,t[12]=i):i=t[12],i}export{j as C,F,D as P,w as S,I as a,q as b,v as f,O as i,R as p,k as u};
@@ -1,4 +1,4 @@
1
- import{r as Y,j as s,dT as me,hP as ye,c as G,m as X,bX as Pe,b as q,a4 as se,ak as Z,q as _e,e as ae,J as ge,B as V,I as Se,t as W,K as ee,aH as we,aI as Ee,aJ as Ie,aK as Ae,b5 as Ue,aL as Te,aM as De,aN as $e,ge as le,gT as ne,i as xe,dY as pe,b3 as Re,aq as Be,as as Le,L as ke,gD as He}from"./index-PfzOl7J6.js";import{s as Oe}from"./Plus-D452i-ki.js";import{B as Fe}from"./badge-CPdAi539.js";import{a as Me,b as ze,P as Ve}from"./popover-BBhzRgR6.js";import{T as ce,a as Ge}from"./toggle-group-BR3YjLpg.js";import{g as Ke}from"./use-ai-providers-BV-M-wTR.js";import{u as ie,d as he,a as qe}from"./use-entitlements-DKzKnO7t.js";import{u as Qe,P as Ye}from"./plan-ladder-6lanq0kZ.js";var re="Progress",oe=100,[Xe]=ye(re),[Ze,Je]=Xe(re),ve=Y.forwardRef((e,t)=>{const{__scopeProgress:n,value:o=null,max:a,getValueLabel:l=We,...c}=e;(a||a===0)&&!de(a)&&console.error(et(`${a}`,"Progress"));const i=de(a)?a:oe;o!==null&&!ue(o,i)&&console.error(tt(`${o}`,"Progress"));const r=ue(o,i)?o:null,u=te(r)?l(r,i):void 0;return s.jsx(Ze,{scope:n,value:r,max:i,children:s.jsx(me.div,{"aria-valuemax":i,"aria-valuemin":0,"aria-valuenow":te(r)?r:void 0,"aria-valuetext":u,role:"progressbar","data-state":Ne(r,i),"data-value":r??void 0,"data-max":i,...c,ref:t})})});ve.displayName=re;var be="ProgressIndicator",je=Y.forwardRef((e,t)=>{const{__scopeProgress:n,...o}=e,a=Je(be,n);return s.jsx(me.div,{"data-state":Ne(a.value,a.max),"data-value":a.value??void 0,"data-max":a.max,...o,ref:t})});je.displayName=be;function We(e,t){return`${Math.round(e/t*100)}%`}function Ne(e,t){return e==null?"indeterminate":e===t?"complete":"loading"}function te(e){return typeof e=="number"}function de(e){return te(e)&&!isNaN(e)&&e>0}function ue(e,t){return te(e)&&!isNaN(e)&&e<=t&&e>=0}function et(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${oe}\`.`}function tt(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
1
+ import{r as Y,j as s,dT as me,hP as ye,c as G,m as X,bX as Pe,b as q,a4 as se,ak as Z,q as _e,e as ae,J as ge,B as V,I as Se,t as W,K as ee,aH as we,aI as Ee,aJ as Ie,aK as Ae,b5 as Ue,aL as Te,aM as De,aN as $e,ge as le,gT as ne,i as xe,dY as pe,b3 as Re,aq as Be,as as Le,L as ke,gD as He}from"./index-D8HDDDUz.js";import{s as Oe}from"./Plus-CRtXbDBy.js";import{B as Fe}from"./badge-DQH-sPh3.js";import{a as Me,b as ze,P as Ve}from"./popover-BvzfBeCD.js";import{T as ce,a as Ge}from"./toggle-group-lGOrFANX.js";import{g as Ke}from"./use-ai-providers-xj5bugI1.js";import{u as ie,d as he,a as qe}from"./use-entitlements-D_NXTAyp.js";import{u as Qe,P as Ye}from"./plan-ladder-B-kol46S.js";var re="Progress",oe=100,[Xe]=ye(re),[Ze,Je]=Xe(re),ve=Y.forwardRef((e,t)=>{const{__scopeProgress:n,value:o=null,max:a,getValueLabel:l=We,...c}=e;(a||a===0)&&!de(a)&&console.error(et(`${a}`,"Progress"));const i=de(a)?a:oe;o!==null&&!ue(o,i)&&console.error(tt(`${o}`,"Progress"));const r=ue(o,i)?o:null,u=te(r)?l(r,i):void 0;return s.jsx(Ze,{scope:n,value:r,max:i,children:s.jsx(me.div,{"aria-valuemax":i,"aria-valuemin":0,"aria-valuenow":te(r)?r:void 0,"aria-valuetext":u,role:"progressbar","data-state":Ne(r,i),"data-value":r??void 0,"data-max":i,...c,ref:t})})});ve.displayName=re;var be="ProgressIndicator",je=Y.forwardRef((e,t)=>{const{__scopeProgress:n,...o}=e,a=Je(be,n);return s.jsx(me.div,{"data-state":Ne(a.value,a.max),"data-value":a.value??void 0,"data-max":a.max,...o,ref:t})});je.displayName=be;function We(e,t){return`${Math.round(e/t*100)}%`}function Ne(e,t){return e==null?"indeterminate":e===t?"complete":"loading"}function te(e){return typeof e=="number"}function de(e){return te(e)&&!isNaN(e)&&e>0}function ue(e,t){return te(e)&&!isNaN(e)&&e<=t&&e>=0}function et(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${oe}\`.`}function tt(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
2
2
  - a positive number
3
3
  - less than the value passed to \`max\` (or ${oe} if no \`max\` prop is set)
4
4
  - \`null\` or \`undefined\` if the progress is indeterminate.
@@ -1 +1 @@
1
- import{r as l,c1 as _,j as c,c3 as j,c4 as x,c2 as b,b_ as z,b$ as G,c0 as H,c8 as w,ch as K,dZ as E,cc as Z,ce as U,ci as V,cd as W,cf as q,cg as B,cj as J,ck as Q,c6 as X,c as R,m as Y}from"./index-PfzOl7J6.js";var A="Popover",[N]=K(A,[w]),m=w(),[ee,P]=N(A),F=t=>{const{__scopePopover:e,children:o,open:r,defaultOpen:n,onOpenChange:s,modal:a=!1}=t,i=m(e),u=l.useRef(null),[f,v]=l.useState(!1),[g,p]=z({prop:r,defaultProp:n??!1,onChange:s,caller:A});return c.jsx(G,{...i,children:c.jsx(ee,{scope:e,contentId:H(),triggerRef:u,open:g,onOpenChange:p,onOpenToggle:l.useCallback(()=>p(d=>!d),[p]),hasCustomAnchor:f,onCustomAnchorAdd:l.useCallback(()=>v(!0),[]),onCustomAnchorRemove:l.useCallback(()=>v(!1),[]),modal:a,children:o})})};F.displayName=A;var y="PopoverAnchor",S=l.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=P(y,o),s=m(o),{onCustomAnchorAdd:a,onCustomAnchorRemove:i}=n;return l.useEffect(()=>(a(),()=>i()),[a,i]),c.jsx(b,{...s,...r,ref:e})});S.displayName=y;var D="PopoverTrigger",M=l.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=P(D,o),s=m(o),a=_(e,n.triggerRef),i=c.jsx(j.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":L(n.open),...r,ref:a,onClick:x(t.onClick,n.onOpenToggle)});return n.hasCustomAnchor?i:c.jsx(b,{asChild:!0,...s,children:i})});M.displayName=D;var O="PopoverPortal",[oe,te]=N(O,{forceMount:void 0}),k=t=>{const{__scopePopover:e,forceMount:o,children:r,container:n}=t,s=P(O,e);return c.jsx(oe,{scope:e,forceMount:o,children:c.jsx(E,{present:o||s.open,children:c.jsx(X,{asChild:!0,container:n,children:r})})})};k.displayName=O;var h="PopoverContent",T=l.forwardRef((t,e)=>{const o=te(h,t.__scopePopover),{forceMount:r=o.forceMount,...n}=t,s=P(h,t.__scopePopover);return c.jsx(E,{present:r||s.open,children:s.modal?c.jsx(ne,{...n,ref:e}):c.jsx(se,{...n,ref:e})})});T.displayName=h;var re=V("PopoverContent.RemoveScroll"),ne=l.forwardRef((t,e)=>{const o=P(h,t.__scopePopover),r=l.useRef(null),n=_(e,r),s=l.useRef(!1);return l.useEffect(()=>{const a=r.current;if(a)return Z(a)},[]),c.jsx(U,{as:re,allowPinchZoom:!0,children:c.jsx(I,{...t,ref:n,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:x(t.onCloseAutoFocus,a=>{a.preventDefault(),s.current||o.triggerRef.current?.focus()}),onPointerDownOutside:x(t.onPointerDownOutside,a=>{const i=a.detail.originalEvent,u=i.button===0&&i.ctrlKey===!0,f=i.button===2||u;s.current=f},{checkForDefaultPrevented:!1}),onFocusOutside:x(t.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),se=l.forwardRef((t,e)=>{const o=P(h,t.__scopePopover),r=l.useRef(!1),n=l.useRef(!1);return c.jsx(I,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{t.onCloseAutoFocus?.(s),s.defaultPrevented||(r.current||o.triggerRef.current?.focus(),s.preventDefault()),r.current=!1,n.current=!1},onInteractOutside:s=>{t.onInteractOutside?.(s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(n.current=!0));const a=s.target;o.triggerRef.current?.contains(a)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&n.current&&s.preventDefault()}})}),I=l.forwardRef((t,e)=>{const{__scopePopover:o,trapFocus:r,onOpenAutoFocus:n,onCloseAutoFocus:s,disableOutsidePointerEvents:a,onEscapeKeyDown:i,onPointerDownOutside:u,onFocusOutside:f,onInteractOutside:v,...g}=t,p=P(h,o),d=m(o);return W(),c.jsx(q,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:n,onUnmountAutoFocus:s,children:c.jsx(B,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:v,onEscapeKeyDown:i,onPointerDownOutside:u,onFocusOutside:f,onDismiss:()=>p.onOpenChange(!1),children:c.jsx(J,{"data-state":L(p.open),role:"dialog",id:p.contentId,...d,...g,ref:e,style:{...g.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),$="PopoverClose",ae=l.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=P($,o);return c.jsx(j.button,{type:"button",...r,ref:e,onClick:x(t.onClick,()=>n.onOpenChange(!1))})});ae.displayName=$;var ce="PopoverArrow",ie=l.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=m(o);return c.jsx(Q,{...n,...r,ref:e})});ie.displayName=ce;function L(t){return t?"open":"closed"}var le=F,pe=S,de=M,ue=k,fe=T;function ge(t){const e=R.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let r;return e[2]!==o?(r=c.jsx(le,{"data-slot":"popover",...o}),e[2]=o,e[3]=r):r=e[3],r}function Pe(t){const e=R.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let r;return e[2]!==o?(r=c.jsx(de,{"data-slot":"popover-trigger",...o}),e[2]=o,e[3]=r):r=e[3],r}function he(t){const e=R.c(19);let o,r,n,s,a,i;e[0]!==t?({className:o,align:s,sideOffset:a,container:r,variant:i,...n}=t,e[0]=t,e[1]=o,e[2]=r,e[3]=n,e[4]=s,e[5]=a,e[6]=i):(o=e[1],r=e[2],n=e[3],s=e[4],a=e[5],i=e[6]);const u=s===void 0?"center":s,f=a===void 0?4:a,v=i===void 0?"default":i,g=v==="glass"?"glass rounded-[0.875rem] px-3.5 py-3":"bg-popover border p-4 shadow-md";let p;e[7]!==o||e[8]!==g?(p=Y("notranslate text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-[var(--studio-surface-radius,var(--radius-lg))] overflow-hidden outline-hidden",g,o),e[7]=o,e[8]=g,e[9]=p):p=e[9];let d;e[10]!==u||e[11]!==n||e[12]!==f||e[13]!==p||e[14]!==v?(d=c.jsx(fe,{"data-slot":"popover-content",align:u,sideOffset:f,translate:"no","data-variant":v,className:p,...n}),e[10]=u,e[11]=n,e[12]=f,e[13]=p,e[14]=v,e[15]=d):d=e[15];let C;return e[16]!==r||e[17]!==d?(C=c.jsx(ue,{container:r,children:d}),e[16]=r,e[17]=d,e[18]=C):C=e[18],C}function xe(t){const e=R.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let r;return e[2]!==o?(r=c.jsx(pe,{"data-slot":"popover-anchor",...o}),e[2]=o,e[3]=r):r=e[3],r}export{ge as P,Pe as a,he as b,xe as c};
1
+ import{r as l,c1 as _,j as c,c3 as j,c4 as x,c2 as b,b_ as z,b$ as G,c0 as H,c8 as w,ch as K,dZ as E,cc as Z,ce as U,ci as V,cd as W,cf as q,cg as B,cj as J,ck as Q,c6 as X,c as R,m as Y}from"./index-D8HDDDUz.js";var A="Popover",[N]=K(A,[w]),m=w(),[ee,P]=N(A),F=t=>{const{__scopePopover:e,children:o,open:r,defaultOpen:n,onOpenChange:s,modal:a=!1}=t,i=m(e),u=l.useRef(null),[f,v]=l.useState(!1),[g,p]=z({prop:r,defaultProp:n??!1,onChange:s,caller:A});return c.jsx(G,{...i,children:c.jsx(ee,{scope:e,contentId:H(),triggerRef:u,open:g,onOpenChange:p,onOpenToggle:l.useCallback(()=>p(d=>!d),[p]),hasCustomAnchor:f,onCustomAnchorAdd:l.useCallback(()=>v(!0),[]),onCustomAnchorRemove:l.useCallback(()=>v(!1),[]),modal:a,children:o})})};F.displayName=A;var y="PopoverAnchor",S=l.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=P(y,o),s=m(o),{onCustomAnchorAdd:a,onCustomAnchorRemove:i}=n;return l.useEffect(()=>(a(),()=>i()),[a,i]),c.jsx(b,{...s,...r,ref:e})});S.displayName=y;var D="PopoverTrigger",M=l.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=P(D,o),s=m(o),a=_(e,n.triggerRef),i=c.jsx(j.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":L(n.open),...r,ref:a,onClick:x(t.onClick,n.onOpenToggle)});return n.hasCustomAnchor?i:c.jsx(b,{asChild:!0,...s,children:i})});M.displayName=D;var O="PopoverPortal",[oe,te]=N(O,{forceMount:void 0}),k=t=>{const{__scopePopover:e,forceMount:o,children:r,container:n}=t,s=P(O,e);return c.jsx(oe,{scope:e,forceMount:o,children:c.jsx(E,{present:o||s.open,children:c.jsx(X,{asChild:!0,container:n,children:r})})})};k.displayName=O;var h="PopoverContent",T=l.forwardRef((t,e)=>{const o=te(h,t.__scopePopover),{forceMount:r=o.forceMount,...n}=t,s=P(h,t.__scopePopover);return c.jsx(E,{present:r||s.open,children:s.modal?c.jsx(ne,{...n,ref:e}):c.jsx(se,{...n,ref:e})})});T.displayName=h;var re=V("PopoverContent.RemoveScroll"),ne=l.forwardRef((t,e)=>{const o=P(h,t.__scopePopover),r=l.useRef(null),n=_(e,r),s=l.useRef(!1);return l.useEffect(()=>{const a=r.current;if(a)return Z(a)},[]),c.jsx(U,{as:re,allowPinchZoom:!0,children:c.jsx(I,{...t,ref:n,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:x(t.onCloseAutoFocus,a=>{a.preventDefault(),s.current||o.triggerRef.current?.focus()}),onPointerDownOutside:x(t.onPointerDownOutside,a=>{const i=a.detail.originalEvent,u=i.button===0&&i.ctrlKey===!0,f=i.button===2||u;s.current=f},{checkForDefaultPrevented:!1}),onFocusOutside:x(t.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),se=l.forwardRef((t,e)=>{const o=P(h,t.__scopePopover),r=l.useRef(!1),n=l.useRef(!1);return c.jsx(I,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{t.onCloseAutoFocus?.(s),s.defaultPrevented||(r.current||o.triggerRef.current?.focus(),s.preventDefault()),r.current=!1,n.current=!1},onInteractOutside:s=>{t.onInteractOutside?.(s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(n.current=!0));const a=s.target;o.triggerRef.current?.contains(a)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&n.current&&s.preventDefault()}})}),I=l.forwardRef((t,e)=>{const{__scopePopover:o,trapFocus:r,onOpenAutoFocus:n,onCloseAutoFocus:s,disableOutsidePointerEvents:a,onEscapeKeyDown:i,onPointerDownOutside:u,onFocusOutside:f,onInteractOutside:v,...g}=t,p=P(h,o),d=m(o);return W(),c.jsx(q,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:n,onUnmountAutoFocus:s,children:c.jsx(B,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:v,onEscapeKeyDown:i,onPointerDownOutside:u,onFocusOutside:f,onDismiss:()=>p.onOpenChange(!1),children:c.jsx(J,{"data-state":L(p.open),role:"dialog",id:p.contentId,...d,...g,ref:e,style:{...g.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),$="PopoverClose",ae=l.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=P($,o);return c.jsx(j.button,{type:"button",...r,ref:e,onClick:x(t.onClick,()=>n.onOpenChange(!1))})});ae.displayName=$;var ce="PopoverArrow",ie=l.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=m(o);return c.jsx(Q,{...n,...r,ref:e})});ie.displayName=ce;function L(t){return t?"open":"closed"}var le=F,pe=S,de=M,ue=k,fe=T;function ge(t){const e=R.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let r;return e[2]!==o?(r=c.jsx(le,{"data-slot":"popover",...o}),e[2]=o,e[3]=r):r=e[3],r}function Pe(t){const e=R.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let r;return e[2]!==o?(r=c.jsx(de,{"data-slot":"popover-trigger",...o}),e[2]=o,e[3]=r):r=e[3],r}function he(t){const e=R.c(19);let o,r,n,s,a,i;e[0]!==t?({className:o,align:s,sideOffset:a,container:r,variant:i,...n}=t,e[0]=t,e[1]=o,e[2]=r,e[3]=n,e[4]=s,e[5]=a,e[6]=i):(o=e[1],r=e[2],n=e[3],s=e[4],a=e[5],i=e[6]);const u=s===void 0?"center":s,f=a===void 0?4:a,v=i===void 0?"default":i,g=v==="glass"?"glass rounded-[0.875rem] px-3.5 py-3":"bg-popover border p-4 shadow-md";let p;e[7]!==o||e[8]!==g?(p=Y("notranslate text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-[var(--studio-surface-radius,var(--radius-lg))] overflow-hidden outline-hidden",g,o),e[7]=o,e[8]=g,e[9]=p):p=e[9];let d;e[10]!==u||e[11]!==n||e[12]!==f||e[13]!==p||e[14]!==v?(d=c.jsx(fe,{"data-slot":"popover-content",align:u,sideOffset:f,translate:"no","data-variant":v,className:p,...n}),e[10]=u,e[11]=n,e[12]=f,e[13]=p,e[14]=v,e[15]=d):d=e[15];let C;return e[16]!==r||e[17]!==d?(C=c.jsx(ue,{container:r,children:d}),e[16]=r,e[17]=d,e[18]=C):C=e[18],C}function xe(t){const e=R.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let r;return e[2]!==o?(r=c.jsx(pe,{"data-slot":"popover-anchor",...o}),e[2]=o,e[3]=r):r=e[3],r}export{ge as P,Pe as a,he as b,xe as c};
@@ -1 +1 @@
1
- import{c as se,b as pe,r as ae,J as je,j as t,m as te,B as ee,as as Ce}from"./index-PfzOl7J6.js";import{R as Ne,F as De}from"./agent-icon-DPgCnEV1.js";import{s as ke}from"./Plus-D452i-ki.js";import{S as Se}from"./scroll-area-D0b5TYGa.js";import{c as we,s as Te,b as ce,a as de}from"./date-utils-CrvIKg-s.js";import{M as ze}from"./category-tree-BwBGBNEZ.js";import{g as Ee,d as Me}from"./item-actions-8EnEtcgh.js";import"./AlertCircle-GXBIxFcm.js";import"./Tool01-DoE3EsIZ.js";import"./ArrowUp-DBkhb8Yz.js";import"./ArrowLeft-BbqwGy0e.js";import"./LinkBroken01-CzDrAWsX.js";import"./BookOpen01-1fjc61Mm.js";import"./Globe04-CYg8V2eL.js";import"./CheckCircle-B_eEhqJR.js";import"./ChevronUp-FDrusEQ7.js";import"./ChevronSelectorVertical-D-7E5GYT.js";import"./UserSquare-DHrzs2xN.js";import"./CreditCard01-KjySk-5G.js";import"./SwitchHorizontal01-BzX5npS9.js";import"./Key01-DY2gyLvd.js";import"./Minus-CMxaDSgl.js";import"./Monitor01-3IwLMf0Q.js";import"./Sun-BvPiksd_.js";import"./Play-BOARoASB.js";import"./SearchMd-D9VvymBK.js";import"./ShoppingBag01-DrNjYHL1.js";import"./Trash01-_1ewPMOO.js";import"./Upload01-D11ZXRKj.js";import"./Users01-DdipP4E2.js";import"./XClose-CR92HpkN.js";import"./Zap-D5X_AlHR.js";import"./index-BdQq_4o_.js";import"./empty-message-uyJw_GDm.js";import"./sandbox-start-errors-BK_aDCyt.js";import"./pair-4_jIXzEz.js";import"./collapsible-SBMmc8E3.js";import"./use-copy-MGOjhapZ.js";import"./usage-stats-DXQh2ym6.js";import"./tool-namespace-nlvRAMHv.js";import"./form-DQshgY6C.js";import"./label-C3bFtEDk.js";import"./utils-CVEq3hMx.js";import"./markdown-sfCsYKJ3.js";import"./chat-context-DmIaWG0i.js";import"./use-view-draft-kind-Czb3VJ2z.js";import"./thread-route-T4ycKium.js";import"./use-project-scope-RvpHL0s_.js";import"./repository-binding-BjyWZpYn.js";import"./use-mcp-client-CVGnTbnR.js";import"./auth-DET1t4rk.js";import"./use-organization-settings-1gniuS7P.js";import"./schema-MF7uKk3F.js";import"./task-board-Dt94BxWj.js";import"./thread-intent-k_EWWvIp.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./watch-sse-pool-Cs81gduQ.js";import"./use-entitlements-DKzKnO7t.js";import"./use-ai-providers-BV-M-wTR.js";import"./use-decopilot-events-CExfz_YN.js";import"./use-mobile-Box5tF93.js";import"./tooltip-7oUFzrc9.js";import"./index-Chdoy1DO.js";import"./shell-layout-QlUCYlok.js";import"./use-deployment-admin-D6ysmdql.js";import"./admin-fetch-BhTJlAsX.js";import"./command-ARXYIBtk.js";import"./index-Cwblfb1K.js";import"./integration-icon-Cypf7ART.js";import"./project-icon-DdcX-1Cu.js";import"./use-navigate-to-agent-BFXAaVqR.js";import"./use-debounced-value-L8Mvr3Qf.js";import"./new-project-dialog-ddGWO7oU.js";import"./repository-picker-BQKFq3La.js";import"./github-icon-CsOyvsM3.js";import"./useInfiniteQuery-BVraOGoC.js";import"./infiniteQueryObserver-BSITs4kU.js";import"./collection-search-DXnQxUGL.js";import"./legacy-admin-welcome-dialog-BndvejSa.js";import"./drawer-BUu3Urhv.js";import"./required-auth-layout-rj346c5-.js";import"./use-org-sso-PK2UdKUD.js";import"./content-blocks-o63cs2vh.js";import"./mcp-app-renderer-D149puyc.js";import"./types-CT2b_f_n.js";import"./omit-server-managed-metadata-L5IhjRZB.js";import"./sheet-BeOc3FAs.js";import"./use-connection-b1ZFdIKu.js";import"./use-mcp-prompts-C72FS5ih.js";import"./use-thread-outputs-NzO2uf9T.js";import"./file-type-icon-5sEsvuio.js";import"./section-array-field-YpT7n9vG.js";import"./blocks-tab-states-B3rnTo7L.js";import"./site-editor-toast-Bw0qMl-K.js";import"./sandbox-url-D3mC8qhT.js";import"./use-sandbox-events-BV2Y1Vu8.js";import"./use-blocks-v8-project-DwFetary.js";import"./use-voice-input-CJwxrnH4.js";import"./popover-BBhzRgR6.js";import"./index-D9OoYQHh.js";import"./checkbox-C6L9-jtU.js";import"./select-DbxUTGle.js";import"./ai-providers-logos-DD3qZ33J.js";import"./openai-compatible-presets-BKGfVqEx.js";import"./utils-dLgjLO-5.js";import"./sandbox-git-api-DcqI6XE4.js";import"./empty-state-CQ-naxDO.js";import"./use-move-blocks-D_Vs6N9H.js";import"./hosted-reconcile-BVY_PuHB.js";import"./badge-CPdAi539.js";import"./empty-state-yinauESn.js";import"./delete-copy-Bt51Emir.js";import"./use-never-published-D5jr8ByQ.js";import"./search-input-CfjxHAmm.js";import"./tabs-BwIUi1Ro.js";import"./active-indicator-CCMhAsc_.js";import"./use-file-configs-FzJwNbFB.js";import"./asset-utils-C4P9UMw5.js";import"./index-BxZUC_i-.js";import"./textarea-0zeG6rdh.js";import"./monaco-editor-CdzTj7u7.js";import"./editor-Dc6skLlO.js";const fe="border-success/30 bg-success/10 text-success hover:bg-success/20",xe="border-dashed border-border bg-muted text-muted-foreground hover:bg-secondary-hover hover:text-accent-foreground";function Vr(h){const e=se.c(83),{decofile:b,selectedKey:d,onSelect:o,onCreate:n,onReschedule:s,isCreating:D}=h,i=D===void 0?!1:D,r=pe(),[j,C]=ae.useState(null),[re]=je(),[m,f]=ae.useState(Ie),p=re.language;let N;e[0]!==m||e[1]!==p?(N=new Intl.DateTimeFormat(p,{month:"long",year:"numeric"}).format(m),e[0]=m,e[1]=p,e[2]=N):N=e[2];const y=N;let x,u,l,c,v,k,S,w,T,z;if(e[3]!==m||e[4]!==b||e[5]!==j||e[6]!==i||e[7]!==p||e[8]!==y||e[9]!==n||e[10]!==s||e[11]!==o||e[12]!==d||e[13]!==r){const ue=new Intl.DateTimeFormat(p,{weekday:"short"}),ge=new Intl.DateTimeFormat(p,{dateStyle:"long"}),{byDay:he,undated:oe}=Ee(ze(b)),ie=we(m),be=Te(new Date);u="flex h-full w-full flex-col";let G;e[24]===Symbol.for("react.memo_cache_sentinel")?(G=()=>f(ce(new Date)),e[24]=G):G=e[24];let I;e[25]!==r?(I=r("sandbox.postCalendar.today"),e[25]=r,e[26]=I):I=e[26];let H;e[27]!==I?(H=t.jsx(ee,{variant:"outline",size:"sm",onClick:G,children:I}),e[27]=I,e[28]=H):H=e[28];let Q;e[29]===Symbol.for("react.memo_cache_sentinel")?(Q=()=>f(Le),e[29]=Q):Q=e[29];let U;e[30]!==r?(U=r("sandbox.postCalendar.previous"),e[30]=r,e[31]=U):U=e[31];let V;e[32]===Symbol.for("react.memo_cache_sentinel")?(V=t.jsx(De,{size:16}),e[32]=V):V=e[32];let _;e[33]!==U?(_=t.jsx(ee,{variant:"ghost",size:"icon",onClick:Q,"aria-label":U,children:V}),e[33]=U,e[34]=_):_=e[34];let X;e[35]===Symbol.for("react.memo_cache_sentinel")?(X=()=>f(Pe),e[35]=X):X=e[35];let $;e[36]!==r?($=r("sandbox.postCalendar.next"),e[36]=r,e[37]=$):$=e[37];let Y;e[38]===Symbol.for("react.memo_cache_sentinel")?(Y=t.jsx(Ce,{size:16}),e[38]=Y):Y=e[38];let F;e[39]!==$?(F=t.jsx(ee,{variant:"ghost",size:"icon",onClick:X,"aria-label":$,children:Y}),e[39]=$,e[40]=F):F=e[40];let O;e[41]!==y?(O=t.jsx("h2",{className:"ml-2 text-base font-semibold capitalize",children:y}),e[41]=y,e[42]=O):O=e[42];let R;e[43]!==r?(R=r("sandbox.postCalendar.legendScheduled"),e[43]=r,e[44]=R):R=e[44];let B;e[45]!==R?(B=t.jsx(ne,{className:fe,label:R}),e[45]=R,e[46]=B):B=e[46];let A;e[47]!==r?(A=r("sandbox.postCalendar.legendUnscheduled"),e[47]=r,e[48]=A):A=e[48];let K;e[49]!==A?(K=t.jsx(ne,{className:xe,label:A}),e[49]=A,e[50]=K):K=e[50];let W;e[51]!==B||e[52]!==K?(W=t.jsxs("div",{className:"ml-auto flex items-center gap-4",children:[B,K]}),e[51]=B,e[52]=K,e[53]=W):W=e[53],e[54]!==H||e[55]!==_||e[56]!==F||e[57]!==O||e[58]!==W?(l=t.jsxs("div",{className:"flex items-center gap-2 px-4 h-12 border-b shrink-0",children:[H,_,F,O,W]}),e[54]=H,e[55]=_,e[56]=F,e[57]=O,e[58]=W,e[59]=l):l=e[59],z="relative flex-1 min-h-0",x=Se,T="h-full",S="flex min-w-[880px] gap-4 p-4";let J;e[60]!==r?(J=r("sandbox.postCalendar.unscheduledHint"),e[60]=r,e[61]=J):J=e[61];let Z;e[62]!==J?(Z=t.jsx("p",{className:"mt-3 text-xs text-muted-foreground",children:J}),e[62]=J,e[63]=Z):Z=e[63],w=t.jsxs("div",{className:"flex-1 min-w-0",children:[t.jsx("div",{className:"grid grid-cols-7 mb-2",children:ie[0]?.map(a=>t.jsx("div",{className:"px-2 text-2xs text-muted-foreground",children:ue.format(a)},a.getDay()))}),t.jsx("div",{className:"grid grid-cols-7 gap-px overflow-hidden rounded-lg border bg-border",children:ie.flat().map(a=>{const ye=a.getMonth()===m.getMonth(),ve=he.get(Me(a))??[];return t.jsxs("div",{onDragOver:g=>{j&&(g.preventDefault(),g.dataTransfer.dropEffect="move")},onDrop:g=>{g.preventDefault();const le=g.dataTransfer.getData("text/plain");C(null),le&&s(le,a)},className:te("group/day min-h-28 space-y-1 p-2 transition-colors",ye?"bg-background":"bg-muted/40",j&&"hover:bg-accent"),children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx("div",{className:te("grid size-6 place-items-center rounded-full text-xs",a.getTime()===be.getTime()?"bg-primary font-semibold text-primary-foreground":"text-muted-foreground"),children:a.getDate()}),t.jsx(ee,{variant:"ghost",size:"icon-xs",className:"opacity-0 transition-opacity group-hover/day:opacity-100 focus-visible:opacity-100",disabled:i,onClick:()=>n(a),"aria-label":r("sandbox.postCalendar.schedulePostOn",{date:ge.format(a)}),children:t.jsx(ke,{size:14})})]}),ve.map(g=>t.jsx(me,{entry:g,active:g.post.key===d,draggable:g.scheduled,onSelect:o,onDragStateChange:C},g.post.key))]},a.getTime())})}),Z]}),c="w-[220px] shrink-0 space-y-2 self-start rounded-lg border border-dashed p-3",v=t.jsx("p",{className:"px-1 text-2xs font-medium text-muted-foreground",children:r("sandbox.postCalendar.undatedLabel",{count:oe.length})}),k=oe.length===0?t.jsxs("div",{className:"flex flex-col items-center gap-2 px-2 py-8 text-center",children:[t.jsx(Ne,{size:20,className:"text-muted-foreground/60","aria-hidden":!0}),t.jsx("p",{className:"text-xs text-muted-foreground",children:r("sandbox.postCalendar.undatedEmpty")})]}):oe.map(a=>t.jsx(me,{entry:a,active:a.post.key===d,draggable:!1,onSelect:o,onDragStateChange:C},a.post.key)),e[3]=m,e[4]=b,e[5]=j,e[6]=i,e[7]=p,e[8]=y,e[9]=n,e[10]=s,e[11]=o,e[12]=d,e[13]=r,e[14]=x,e[15]=u,e[16]=l,e[17]=c,e[18]=v,e[19]=k,e[20]=S,e[21]=w,e[22]=T,e[23]=z}else x=e[14],u=e[15],l=e[16],c=e[17],v=e[18],k=e[19],S=e[20],w=e[21],T=e[22],z=e[23];let E;e[64]!==c||e[65]!==v||e[66]!==k?(E=t.jsxs("div",{className:c,children:[v,k]}),e[64]=c,e[65]=v,e[66]=k,e[67]=E):E=e[67];let M;e[68]!==E||e[69]!==S||e[70]!==w?(M=t.jsxs("div",{className:S,children:[w,E]}),e[68]=E,e[69]=S,e[70]=w,e[71]=M):M=e[71];let P;e[72]!==x||e[73]!==M||e[74]!==T?(P=t.jsx(x,{className:T,children:M}),e[72]=x,e[73]=M,e[74]=T,e[75]=P):P=e[75];let L;e[76]!==P||e[77]!==z?(L=t.jsx("div",{className:z,children:P}),e[76]=P,e[77]=z,e[78]=L):L=e[78];let q;return e[79]!==u||e[80]!==l||e[81]!==L?(q=t.jsxs("div",{className:u,children:[l,L]}),e[79]=u,e[80]=l,e[81]=L,e[82]=q):q=e[82],q}function Pe(h){return de(h,1)}function Le(h){return de(h,-1)}function Ie(){return ce(new Date)}function ne(h){const e=se.c(7),{className:b,label:d}=h;let o;e[0]!==b?(o=te("size-3 rounded-sm border",b),e[0]=b,e[1]=o):o=e[1];let n;e[2]!==o?(n=t.jsx("span",{className:o}),e[2]=o,e[3]=n):n=e[3];let s;return e[4]!==d||e[5]!==n?(s=t.jsxs("span",{className:"flex items-center gap-1.5 text-xs text-muted-foreground",children:[n,d]}),e[4]=d,e[5]=n,e[6]=s):s=e[6],s}function me(h){const e=se.c(23),{entry:b,active:d,draggable:o,onSelect:n,onDragStateChange:s}=h,D=pe(),{post:i,scheduled:r}=b,j=r?"sandbox.postCalendar.legendScheduled":"sandbox.postCalendar.legendUnscheduled";let C;e[0]!==D||e[1]!==j?(C=D(j),e[0]=D,e[1]=j,e[2]=C):C=e[2];const re=C;let m;e[3]!==s||e[4]!==i.key?(m=v=>{v.dataTransfer.setData("text/plain",i.key),v.dataTransfer.effectAllowed="move",s(i.key)},e[3]=s,e[4]=i.key,e[5]=m):m=e[5];let f;e[6]!==s?(f=()=>s(null),e[6]=s,e[7]=f):f=e[7];let p;e[8]!==n||e[9]!==i.key?(p=()=>n(i.key),e[8]=n,e[9]=i.key,e[10]=p):p=e[10];const N=`${i.title} · ${re}`,y=r?fe:xe,x=o&&"cursor-grab active:cursor-grabbing",u=d&&"ring-2 ring-primary";let l;e[11]!==y||e[12]!==x||e[13]!==u?(l=te("w-full truncate rounded-lg border px-2 py-1 text-left text-xs font-medium transition-colors",y,x,u),e[11]=y,e[12]=x,e[13]=u,e[14]=l):l=e[14];let c;return e[15]!==o||e[16]!==i.title||e[17]!==l||e[18]!==m||e[19]!==f||e[20]!==p||e[21]!==N?(c=t.jsx("button",{type:"button",draggable:o,onDragStart:m,onDragEnd:f,onClick:p,title:N,className:l,children:i.title}),e[15]=o,e[16]=i.title,e[17]=l,e[18]=m,e[19]=f,e[20]=p,e[21]=N,e[22]=c):c=e[22],c}export{Vr as PostCalendar};
1
+ import{c as se,b as pe,r as ae,J as je,j as t,m as te,B as ee,as as Ce}from"./index-D8HDDDUz.js";import{R as Ne,F as De}from"./agent-icon-mmszwibp.js";import{s as ke}from"./Plus-CRtXbDBy.js";import{S as Se}from"./scroll-area-BhLv10mq.js";import{c as we,s as Te,b as ce,a as de}from"./date-utils-CrvIKg-s.js";import{M as ze}from"./category-tree-DSMV8uvW.js";import{g as Ee,d as Me}from"./item-actions-ChF-Wajz.js";import"./AlertCircle-zr0wX6rF.js";import"./Tool01-B0TI67n-.js";import"./ArrowUp-elivCbuw.js";import"./ArrowLeft-Bl_oOK1R.js";import"./LinkBroken01-BTepcmNH.js";import"./BookOpen01-CQcU8DEw.js";import"./Globe04-C_iZve3L.js";import"./CheckCircle-BQ_BsFXT.js";import"./ChevronUp-DKklQ3bJ.js";import"./ChevronSelectorVertical-CWcLLogC.js";import"./UserSquare-BAJzbhuU.js";import"./CreditCard01-5LLU-cS_.js";import"./SwitchHorizontal01-DzexFd3R.js";import"./Key01-D0p4-oSK.js";import"./Minus-DWgslVyP.js";import"./Monitor01-B2hjJJ-O.js";import"./Sun-CEK9L4UW.js";import"./Play-DuBKbsmQ.js";import"./SearchMd-DDfy6PV0.js";import"./ShoppingBag01-onaGPnUG.js";import"./Trash01-1vS11V6D.js";import"./Upload01-B5OG3xe6.js";import"./Users01-DaLahyDL.js";import"./XClose-RigEwdbR.js";import"./Zap-D0gg60Xv.js";import"./index-BdQq_4o_.js";import"./empty-message-DkX3rdbv.js";import"./sandbox-start-errors-BK_aDCyt.js";import"./pair-CBh8Ssld.js";import"./collapsible-ZjNF64KD.js";import"./use-copy-Bn5xNYDY.js";import"./usage-stats-CphPEBVe.js";import"./tool-namespace-cagFCGCV.js";import"./form-DnzJbdNw.js";import"./label-C6Eod_61.js";import"./utils-CVEq3hMx.js";import"./markdown-xlCS0Umn.js";import"./chat-context-DdWQJl7N.js";import"./use-view-draft-kind-Bb6178QK.js";import"./thread-route-CCB-rd-1.js";import"./use-project-scope-C_D7G_Rp.js";import"./repository-binding-Dv276sdb.js";import"./use-mcp-client-CluVMhVq.js";import"./auth-Dpio94p4.js";import"./use-organization-settings-HcETy7Sy.js";import"./schema-gPek6tvx.js";import"./task-board-DUfmZVQ7.js";import"./thread-intent-DFlRKb26.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./watch-sse-pool-C_8RX2D3.js";import"./use-entitlements-D_NXTAyp.js";import"./use-ai-providers-xj5bugI1.js";import"./use-decopilot-events-BEba0iFr.js";import"./use-mobile-D2Sn1D9v.js";import"./tooltip-BZFegydB.js";import"./index-DaVJsKZ7.js";import"./shell-layout-DWWwIk_z.js";import"./use-deployment-admin-DBDDA5Db.js";import"./admin-fetch-BhTJlAsX.js";import"./command-ByEG2lpR.js";import"./index-gXWGEUwJ.js";import"./integration-icon-D10Wu8in.js";import"./project-icon-CaBBGJPF.js";import"./use-navigate-to-agent-DG4RRc2l.js";import"./use-debounced-value-Bd_QEBiw.js";import"./new-project-dialog-Czv5HvtS.js";import"./repository-picker-QBlZoWDu.js";import"./github-icon-Cd5dQEKt.js";import"./useInfiniteQuery-D3dviUwm.js";import"./infiniteQueryObserver-C3DB8A3F.js";import"./collection-search-DrspIufR.js";import"./legacy-admin-welcome-dialog-DY8Bixis.js";import"./drawer-D7zE3h2P.js";import"./required-auth-layout-DQ6ys2Lb.js";import"./use-org-sso-C1PNiOLX.js";import"./content-blocks-o63cs2vh.js";import"./mcp-app-renderer-P6d9M0PC.js";import"./types-FZCQuIv_.js";import"./omit-server-managed-metadata-L5IhjRZB.js";import"./sheet-C6rtTUBz.js";import"./use-connection-CU6X3Wkq.js";import"./use-mcp-prompts-YffkWL7I.js";import"./use-thread-outputs-hVznlgM2.js";import"./file-type-icon-DVZfJOKC.js";import"./section-array-field-BtcjWtvt.js";import"./blocks-tab-states-BWSDyN-L.js";import"./site-editor-toast-BEWqoKlP.js";import"./sandbox-url-D3mC8qhT.js";import"./use-sandbox-events-BRyRagyy.js";import"./use-blocks-v8-project-DUspd_UU.js";import"./use-voice-input-4p-Pv-qm.js";import"./popover-BvzfBeCD.js";import"./index-CBlU77jJ.js";import"./checkbox-CVml-3os.js";import"./select-CpVl3_2f.js";import"./ai-providers-logos-DD3qZ33J.js";import"./openai-compatible-presets-BKGfVqEx.js";import"./utils-Cjet4zZt.js";import"./sandbox-git-api-DcqI6XE4.js";import"./empty-state-DKuRC7c7.js";import"./use-move-blocks-CWhuO9hg.js";import"./hosted-reconcile-DSYVUxqr.js";import"./badge-DQH-sPh3.js";import"./empty-state-Deh8mRpo.js";import"./delete-copy-pOul_Q0z.js";import"./use-never-published-D8nGboC4.js";import"./search-input-CLSXdutD.js";import"./tabs-CnNsL319.js";import"./active-indicator-CCMhAsc_.js";import"./use-file-configs-Css7VrGO.js";import"./asset-utils-drPwMw_i.js";import"./index-DOkOhXW8.js";import"./textarea-Cgu68q3w.js";import"./monaco-editor-D37e6fWN.js";import"./editor-B0kphvbT.js";const fe="border-success/30 bg-success/10 text-success hover:bg-success/20",xe="border-dashed border-border bg-muted text-muted-foreground hover:bg-secondary-hover hover:text-accent-foreground";function Vr(h){const e=se.c(83),{decofile:b,selectedKey:d,onSelect:o,onCreate:n,onReschedule:s,isCreating:D}=h,i=D===void 0?!1:D,r=pe(),[j,C]=ae.useState(null),[re]=je(),[m,f]=ae.useState(Ie),p=re.language;let N;e[0]!==m||e[1]!==p?(N=new Intl.DateTimeFormat(p,{month:"long",year:"numeric"}).format(m),e[0]=m,e[1]=p,e[2]=N):N=e[2];const y=N;let x,u,l,c,v,k,S,w,T,z;if(e[3]!==m||e[4]!==b||e[5]!==j||e[6]!==i||e[7]!==p||e[8]!==y||e[9]!==n||e[10]!==s||e[11]!==o||e[12]!==d||e[13]!==r){const ue=new Intl.DateTimeFormat(p,{weekday:"short"}),ge=new Intl.DateTimeFormat(p,{dateStyle:"long"}),{byDay:he,undated:oe}=Ee(ze(b)),ie=we(m),be=Te(new Date);u="flex h-full w-full flex-col";let G;e[24]===Symbol.for("react.memo_cache_sentinel")?(G=()=>f(ce(new Date)),e[24]=G):G=e[24];let I;e[25]!==r?(I=r("sandbox.postCalendar.today"),e[25]=r,e[26]=I):I=e[26];let H;e[27]!==I?(H=t.jsx(ee,{variant:"outline",size:"sm",onClick:G,children:I}),e[27]=I,e[28]=H):H=e[28];let Q;e[29]===Symbol.for("react.memo_cache_sentinel")?(Q=()=>f(Le),e[29]=Q):Q=e[29];let U;e[30]!==r?(U=r("sandbox.postCalendar.previous"),e[30]=r,e[31]=U):U=e[31];let V;e[32]===Symbol.for("react.memo_cache_sentinel")?(V=t.jsx(De,{size:16}),e[32]=V):V=e[32];let _;e[33]!==U?(_=t.jsx(ee,{variant:"ghost",size:"icon",onClick:Q,"aria-label":U,children:V}),e[33]=U,e[34]=_):_=e[34];let X;e[35]===Symbol.for("react.memo_cache_sentinel")?(X=()=>f(Pe),e[35]=X):X=e[35];let $;e[36]!==r?($=r("sandbox.postCalendar.next"),e[36]=r,e[37]=$):$=e[37];let Y;e[38]===Symbol.for("react.memo_cache_sentinel")?(Y=t.jsx(Ce,{size:16}),e[38]=Y):Y=e[38];let F;e[39]!==$?(F=t.jsx(ee,{variant:"ghost",size:"icon",onClick:X,"aria-label":$,children:Y}),e[39]=$,e[40]=F):F=e[40];let O;e[41]!==y?(O=t.jsx("h2",{className:"ml-2 text-base font-semibold capitalize",children:y}),e[41]=y,e[42]=O):O=e[42];let R;e[43]!==r?(R=r("sandbox.postCalendar.legendScheduled"),e[43]=r,e[44]=R):R=e[44];let B;e[45]!==R?(B=t.jsx(ne,{className:fe,label:R}),e[45]=R,e[46]=B):B=e[46];let A;e[47]!==r?(A=r("sandbox.postCalendar.legendUnscheduled"),e[47]=r,e[48]=A):A=e[48];let K;e[49]!==A?(K=t.jsx(ne,{className:xe,label:A}),e[49]=A,e[50]=K):K=e[50];let W;e[51]!==B||e[52]!==K?(W=t.jsxs("div",{className:"ml-auto flex items-center gap-4",children:[B,K]}),e[51]=B,e[52]=K,e[53]=W):W=e[53],e[54]!==H||e[55]!==_||e[56]!==F||e[57]!==O||e[58]!==W?(l=t.jsxs("div",{className:"flex items-center gap-2 px-4 h-12 border-b shrink-0",children:[H,_,F,O,W]}),e[54]=H,e[55]=_,e[56]=F,e[57]=O,e[58]=W,e[59]=l):l=e[59],z="relative flex-1 min-h-0",x=Se,T="h-full",S="flex min-w-[880px] gap-4 p-4";let J;e[60]!==r?(J=r("sandbox.postCalendar.unscheduledHint"),e[60]=r,e[61]=J):J=e[61];let Z;e[62]!==J?(Z=t.jsx("p",{className:"mt-3 text-xs text-muted-foreground",children:J}),e[62]=J,e[63]=Z):Z=e[63],w=t.jsxs("div",{className:"flex-1 min-w-0",children:[t.jsx("div",{className:"grid grid-cols-7 mb-2",children:ie[0]?.map(a=>t.jsx("div",{className:"px-2 text-2xs text-muted-foreground",children:ue.format(a)},a.getDay()))}),t.jsx("div",{className:"grid grid-cols-7 gap-px overflow-hidden rounded-lg border bg-border",children:ie.flat().map(a=>{const ye=a.getMonth()===m.getMonth(),ve=he.get(Me(a))??[];return t.jsxs("div",{onDragOver:g=>{j&&(g.preventDefault(),g.dataTransfer.dropEffect="move")},onDrop:g=>{g.preventDefault();const le=g.dataTransfer.getData("text/plain");C(null),le&&s(le,a)},className:te("group/day min-h-28 space-y-1 p-2 transition-colors",ye?"bg-background":"bg-muted/40",j&&"hover:bg-accent"),children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx("div",{className:te("grid size-6 place-items-center rounded-full text-xs",a.getTime()===be.getTime()?"bg-primary font-semibold text-primary-foreground":"text-muted-foreground"),children:a.getDate()}),t.jsx(ee,{variant:"ghost",size:"icon-xs",className:"opacity-0 transition-opacity group-hover/day:opacity-100 focus-visible:opacity-100",disabled:i,onClick:()=>n(a),"aria-label":r("sandbox.postCalendar.schedulePostOn",{date:ge.format(a)}),children:t.jsx(ke,{size:14})})]}),ve.map(g=>t.jsx(me,{entry:g,active:g.post.key===d,draggable:g.scheduled,onSelect:o,onDragStateChange:C},g.post.key))]},a.getTime())})}),Z]}),c="w-[220px] shrink-0 space-y-2 self-start rounded-lg border border-dashed p-3",v=t.jsx("p",{className:"px-1 text-2xs font-medium text-muted-foreground",children:r("sandbox.postCalendar.undatedLabel",{count:oe.length})}),k=oe.length===0?t.jsxs("div",{className:"flex flex-col items-center gap-2 px-2 py-8 text-center",children:[t.jsx(Ne,{size:20,className:"text-muted-foreground/60","aria-hidden":!0}),t.jsx("p",{className:"text-xs text-muted-foreground",children:r("sandbox.postCalendar.undatedEmpty")})]}):oe.map(a=>t.jsx(me,{entry:a,active:a.post.key===d,draggable:!1,onSelect:o,onDragStateChange:C},a.post.key)),e[3]=m,e[4]=b,e[5]=j,e[6]=i,e[7]=p,e[8]=y,e[9]=n,e[10]=s,e[11]=o,e[12]=d,e[13]=r,e[14]=x,e[15]=u,e[16]=l,e[17]=c,e[18]=v,e[19]=k,e[20]=S,e[21]=w,e[22]=T,e[23]=z}else x=e[14],u=e[15],l=e[16],c=e[17],v=e[18],k=e[19],S=e[20],w=e[21],T=e[22],z=e[23];let E;e[64]!==c||e[65]!==v||e[66]!==k?(E=t.jsxs("div",{className:c,children:[v,k]}),e[64]=c,e[65]=v,e[66]=k,e[67]=E):E=e[67];let M;e[68]!==E||e[69]!==S||e[70]!==w?(M=t.jsxs("div",{className:S,children:[w,E]}),e[68]=E,e[69]=S,e[70]=w,e[71]=M):M=e[71];let P;e[72]!==x||e[73]!==M||e[74]!==T?(P=t.jsx(x,{className:T,children:M}),e[72]=x,e[73]=M,e[74]=T,e[75]=P):P=e[75];let L;e[76]!==P||e[77]!==z?(L=t.jsx("div",{className:z,children:P}),e[76]=P,e[77]=z,e[78]=L):L=e[78];let q;return e[79]!==u||e[80]!==l||e[81]!==L?(q=t.jsxs("div",{className:u,children:[l,L]}),e[79]=u,e[80]=l,e[81]=L,e[82]=q):q=e[82],q}function Pe(h){return de(h,1)}function Le(h){return de(h,-1)}function Ie(){return ce(new Date)}function ne(h){const e=se.c(7),{className:b,label:d}=h;let o;e[0]!==b?(o=te("size-3 rounded-sm border",b),e[0]=b,e[1]=o):o=e[1];let n;e[2]!==o?(n=t.jsx("span",{className:o}),e[2]=o,e[3]=n):n=e[3];let s;return e[4]!==d||e[5]!==n?(s=t.jsxs("span",{className:"flex items-center gap-1.5 text-xs text-muted-foreground",children:[n,d]}),e[4]=d,e[5]=n,e[6]=s):s=e[6],s}function me(h){const e=se.c(23),{entry:b,active:d,draggable:o,onSelect:n,onDragStateChange:s}=h,D=pe(),{post:i,scheduled:r}=b,j=r?"sandbox.postCalendar.legendScheduled":"sandbox.postCalendar.legendUnscheduled";let C;e[0]!==D||e[1]!==j?(C=D(j),e[0]=D,e[1]=j,e[2]=C):C=e[2];const re=C;let m;e[3]!==s||e[4]!==i.key?(m=v=>{v.dataTransfer.setData("text/plain",i.key),v.dataTransfer.effectAllowed="move",s(i.key)},e[3]=s,e[4]=i.key,e[5]=m):m=e[5];let f;e[6]!==s?(f=()=>s(null),e[6]=s,e[7]=f):f=e[7];let p;e[8]!==n||e[9]!==i.key?(p=()=>n(i.key),e[8]=n,e[9]=i.key,e[10]=p):p=e[10];const N=`${i.title} · ${re}`,y=r?fe:xe,x=o&&"cursor-grab active:cursor-grabbing",u=d&&"ring-2 ring-primary";let l;e[11]!==y||e[12]!==x||e[13]!==u?(l=te("w-full truncate rounded-lg border px-2 py-1 text-left text-xs font-medium transition-colors",y,x,u),e[11]=y,e[12]=x,e[13]=u,e[14]=l):l=e[14];let c;return e[15]!==o||e[16]!==i.title||e[17]!==l||e[18]!==m||e[19]!==f||e[20]!==p||e[21]!==N?(c=t.jsx("button",{type:"button",draggable:o,onDragStart:m,onDragEnd:f,onClick:p,title:N,className:l,children:i.title}),e[15]=o,e[16]=i.title,e[17]=l,e[18]=m,e[19]=f,e[20]=p,e[21]=N,e[22]=c):c=e[22],c}export{Vr as PostCalendar};
@@ -1,2 +1,2 @@
1
- import{b as ee,ak as lt,r as K,j as t,B as Le,D as at,v as nt,w as rt,x as ct,aT as dt,bu as mt,m as Be,y as pt,t as we,c as se,a7 as ut,aN as ft,aM as xt,aJ as ht,aH as gt,aI as bt,aL as jt,aK as vt,b5 as yt,h as St,b6 as _t,I as Ae}from"./index-PfzOl7J6.js";import{u as kt}from"./chat-context-DmIaWG0i.js";import{i as Oe}from"./AlertCircle-GXBIxFcm.js";import{aa as Et,aY as Ct,bZ as Nt,af as Pt,aG as Tt,l as Lt}from"./agent-icon-DPgCnEV1.js";import{d as wt}from"./UserSquare-DHrzs2xN.js";import{s as Dt}from"./Trash01-_1ewPMOO.js";import{s as Bt}from"./XClose-CR92HpkN.js";import{L as te}from"./label-C3bFtEDk.js";import{M as At}from"./multi-select-DuhSvGkq.js";import{b as Ft,a as It,T as Ge,c as We}from"./tabs-BwIUi1Ro.js";import{S as Ot}from"./switch-CdoFqihq.js";import{T as Je}from"./textarea-0zeG6rdh.js";import{S as Rt,I as zt}from"./save-status-YxsSW2Rs.js";import{u as $t,I as qt,a as Ie,B as Ut,R as Mt}from"./block-document-Bbw2FP3P.js";import{R as Ht,e as Vt,H as Gt,c as Wt,f as ze,N as Yt}from"./held-block-view-CZDHkd7I.js";import{b as Kt,C as Zt,K as Qt}from"./blog-schema-CxC8Q-yf.js";import{Z as Jt,M as Xt,a as es,d as ts,f as ss,_ as os,j as I,$ as is,a0 as ls,m as Ye,a1 as as,a2 as Xe,a3 as ns,H as et,a4 as rs,W as cs,V as ds,a5 as ms,a6 as ps,R as us,Q as fs}from"./category-tree-BwBGBNEZ.js";import{c as $e,T as qe,a as Ue}from"./tooltip-7oUFzrc9.js";import{f as xs,a as hs,b as gs}from"./blog-preview-url-D9nceA8-.js";import{e as bs,f as js,g as Ke,u as vs,a as ys,d as Ss}from"./delete-copy-Bt51Emir.js";import{u as _s}from"./use-ai-providers-BV-M-wTR.js";import{u as ks}from"./use-delete-block-C4Fd-0fO.js";import{F as Es,u as Ze,a as Cs,k as Ns}from"./use-never-published-D5jr8ByQ.js";import{u as Ps}from"./use-fast-preview-draft-url-Rhzecu_l.js";import{u as Ts}from"./use-autosave-CMjKQ8gr.js";import{e as Ls,b as ws}from"./Tool01-DoE3EsIZ.js";import{a as Ds,E as Bs,u as As}from"./usage-stats-DXQh2ym6.js";import{s as Fs}from"./suggestion-DpDJqics.js";import{E as Is,T as Me}from"./editor-classes-BRb8pzNp.js";import{u as Os}from"./site-editor-toast-Bw0qMl-K.js";import"./use-view-draft-kind-Czb3VJ2z.js";import"./thread-route-T4ycKium.js";import"./use-project-scope-RvpHL0s_.js";import"./repository-binding-BjyWZpYn.js";import"./use-mcp-client-CVGnTbnR.js";import"./auth-DET1t4rk.js";import"./use-organization-settings-1gniuS7P.js";import"./schema-MF7uKk3F.js";import"./task-board-Dt94BxWj.js";import"./thread-intent-k_EWWvIp.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./watch-sse-pool-Cs81gduQ.js";import"./use-entitlements-DKzKnO7t.js";import"./use-decopilot-events-CExfz_YN.js";import"./ArrowUp-DBkhb8Yz.js";import"./ArrowLeft-BbqwGy0e.js";import"./LinkBroken01-CzDrAWsX.js";import"./BookOpen01-1fjc61Mm.js";import"./Globe04-CYg8V2eL.js";import"./CheckCircle-B_eEhqJR.js";import"./ChevronUp-FDrusEQ7.js";import"./ChevronSelectorVertical-D-7E5GYT.js";import"./CreditCard01-KjySk-5G.js";import"./SwitchHorizontal01-BzX5npS9.js";import"./Key01-DY2gyLvd.js";import"./Minus-CMxaDSgl.js";import"./Monitor01-3IwLMf0Q.js";import"./Sun-BvPiksd_.js";import"./Play-BOARoASB.js";import"./Plus-D452i-ki.js";import"./SearchMd-D9VvymBK.js";import"./ShoppingBag01-DrNjYHL1.js";import"./Upload01-D11ZXRKj.js";import"./Users01-DdipP4E2.js";import"./Zap-D5X_AlHR.js";import"./badge-CPdAi539.js";import"./checkbox-C6L9-jtU.js";import"./command-ARXYIBtk.js";import"./index-Cwblfb1K.js";import"./popover-BBhzRgR6.js";import"./active-indicator-CCMhAsc_.js";import"./toggle-group-BR3YjLpg.js";import"./match-site-slug-config-D3fUJ6vX.js";import"./use-file-configs-FzJwNbFB.js";import"./asset-utils-C4P9UMw5.js";import"./useInfiniteQuery-BVraOGoC.js";import"./infiniteQueryObserver-BSITs4kU.js";import"./core.esm-Hiw5xlkT.js";import"./sortable.esm-Bcfqg7Xt.js";import"./product-picker-dialog-z_7jLJp3.js";import"./index-TayDSkqp.js";import"./index-BxZUC_i-.js";import"./blocks-tab-states-B3rnTo7L.js";import"./sandbox-url-D3mC8qhT.js";import"./use-voice-input-CJwxrnH4.js";import"./drawer-BUu3Urhv.js";import"./use-mobile-Box5tF93.js";import"./index-D9OoYQHh.js";import"./select-DbxUTGle.js";import"./index-BdQq_4o_.js";import"./index-Chdoy1DO.js";import"./ai-providers-logos-DD3qZ33J.js";import"./openai-compatible-presets-BKGfVqEx.js";import"./empty-state-CQ-naxDO.js";import"./utils-dLgjLO-5.js";import"./calendar-HFJ5axO1.js";import"./empty-message-uyJw_GDm.js";import"./sandbox-start-errors-BK_aDCyt.js";import"./pair-4_jIXzEz.js";import"./collapsible-SBMmc8E3.js";import"./use-copy-MGOjhapZ.js";import"./shell-layout-QlUCYlok.js";import"./use-deployment-admin-D6ysmdql.js";import"./admin-fetch-BhTJlAsX.js";import"./integration-icon-Cypf7ART.js";import"./project-icon-DdcX-1Cu.js";import"./use-navigate-to-agent-BFXAaVqR.js";import"./use-debounced-value-L8Mvr3Qf.js";import"./new-project-dialog-ddGWO7oU.js";import"./repository-picker-BQKFq3La.js";import"./github-icon-CsOyvsM3.js";import"./collection-search-DXnQxUGL.js";import"./legacy-admin-welcome-dialog-BndvejSa.js";import"./required-auth-layout-rj346c5-.js";import"./use-org-sso-PK2UdKUD.js";import"./content-blocks-o63cs2vh.js";import"./mcp-app-renderer-D149puyc.js";import"./types-CT2b_f_n.js";import"./omit-server-managed-metadata-L5IhjRZB.js";import"./tool-namespace-nlvRAMHv.js";import"./utils-CVEq3hMx.js";import"./markdown-sfCsYKJ3.js";import"./sheet-BeOc3FAs.js";import"./use-connection-b1ZFdIKu.js";import"./use-mcp-prompts-C72FS5ih.js";import"./use-thread-outputs-NzO2uf9T.js";import"./file-type-icon-5sEsvuio.js";import"./section-array-field-YpT7n9vG.js";import"./named-rule-step-osjl7ntJ.js";import"./slider-DWOCTsGO.js";import"./index-CoDU2Q4W.js";import"./tooltipContext-BnluVbPZ.js";import"./CategoricalChart-DFr--lUX.js";import"./index-DpynbW7T.js";import"./combobox-B8oSfLQg.js";import"./scroll-area-D0b5TYGa.js";import"./hosted-reconcile-BVY_PuHB.js";import"./use-move-blocks-D_Vs6N9H.js";import"./sandbox-git-api-DcqI6XE4.js";import"./search-input-CfjxHAmm.js";import"./form-DQshgY6C.js";import"./use-sandbox-events-BV2Y1Vu8.js";import"./use-blocks-v8-project-DwFetary.js";const De=a=>typeof a=="string"?a:"",Rs={"&nbsp;":" ","&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&#39;":"'"};function tt(a){const e=[];let s=0,l=!1;for(;s<a.length;){if(a[s]==="<"){const c=a.indexOf(">",s);s=c<0?a.length:c+1;continue}let o=a[s]??"",d=s+1;if(a[s]==="&"){const c=a.indexOf(";",s);if(c>=0&&c-s<=10){const i=Rs[a.slice(s,c+1).toLowerCase()];i!==void 0&&(o=i,d=c+1)}}const n=s;if(s=d,/\s/.test(o)){if(l){const c=e[e.length-1];c&&(c.end=d);continue}e.push({ch:" ",start:n,end:d}),l=!0}else e.push({ch:o,start:n,end:d}),l=!1}return{text:e.map(o=>o.ch).join(""),chars:e}}function zs(a){return tt(a).text.trim()}function $s(a){const e=[];for(const s of a)switch(Jt(De(s.__resolveType))){case"Paragraph":e.push(zs(De(s.html)));break;case"Heading":e.push(De(s.text));break;case"Quote":e.push(De(s.quote));break;case"List":e.push(De(s.items));break}return e.filter(Boolean).join(`
1
+ import{b as ee,ak as lt,r as K,j as t,B as Le,D as at,v as nt,w as rt,x as ct,aT as dt,bu as mt,m as Be,y as pt,t as we,c as se,a7 as ut,aN as ft,aM as xt,aJ as ht,aH as gt,aI as bt,aL as jt,aK as vt,b5 as yt,h as St,b6 as _t,I as Ae}from"./index-D8HDDDUz.js";import{u as kt}from"./chat-context-DdWQJl7N.js";import{i as Oe}from"./AlertCircle-zr0wX6rF.js";import{aa as Et,aY as Ct,bZ as Nt,af as Pt,aG as Tt,l as Lt}from"./agent-icon-mmszwibp.js";import{d as wt}from"./UserSquare-BAJzbhuU.js";import{s as Dt}from"./Trash01-1vS11V6D.js";import{s as Bt}from"./XClose-RigEwdbR.js";import{L as te}from"./label-C6Eod_61.js";import{M as At}from"./multi-select-jJMhnt_d.js";import{b as Ft,a as It,T as Ge,c as We}from"./tabs-CnNsL319.js";import{S as Ot}from"./switch-CG9p29mC.js";import{T as Je}from"./textarea-Cgu68q3w.js";import{S as Rt,I as zt}from"./save-status-1UoG7f0k.js";import{u as $t,I as qt,a as Ie,B as Ut,R as Mt}from"./block-document-CLjK5rGg.js";import{R as Ht,e as Vt,H as Gt,c as Wt,f as ze,N as Yt}from"./held-block-view-HcOuBva8.js";import{b as Kt,C as Zt,K as Qt}from"./blog-schema-Dud6I1hB.js";import{Z as Jt,M as Xt,a as es,d as ts,f as ss,_ as os,j as I,$ as is,a0 as ls,m as Ye,a1 as as,a2 as Xe,a3 as ns,H as et,a4 as rs,W as cs,V as ds,a5 as ms,a6 as ps,R as us,Q as fs}from"./category-tree-DSMV8uvW.js";import{c as $e,T as qe,a as Ue}from"./tooltip-BZFegydB.js";import{f as xs,a as hs,b as gs}from"./blog-preview-url-DrIHzDC1.js";import{e as bs,f as js,g as Ke,u as vs,a as ys,d as Ss}from"./delete-copy-pOul_Q0z.js";import{u as _s}from"./use-ai-providers-xj5bugI1.js";import{u as ks}from"./use-delete-block-C2VDoxSY.js";import{F as Es,u as Ze,a as Cs,k as Ns}from"./use-never-published-D8nGboC4.js";import{u as Ps}from"./use-fast-preview-draft-url-DO0FxQgi.js";import{u as Ts}from"./use-autosave-iBowYJcP.js";import{e as Ls,b as ws}from"./Tool01-B0TI67n-.js";import{a as Ds,E as Bs,u as As}from"./usage-stats-CphPEBVe.js";import{s as Fs}from"./suggestion-D56UF_pQ.js";import{E as Is,T as Me}from"./editor-classes-SfZ5uUGn.js";import{u as Os}from"./site-editor-toast-BEWqoKlP.js";import"./use-view-draft-kind-Bb6178QK.js";import"./thread-route-CCB-rd-1.js";import"./use-project-scope-C_D7G_Rp.js";import"./repository-binding-Dv276sdb.js";import"./use-mcp-client-CluVMhVq.js";import"./auth-Dpio94p4.js";import"./use-organization-settings-HcETy7Sy.js";import"./schema-gPek6tvx.js";import"./task-board-DUfmZVQ7.js";import"./thread-intent-DFlRKb26.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./watch-sse-pool-C_8RX2D3.js";import"./use-entitlements-D_NXTAyp.js";import"./use-decopilot-events-BEba0iFr.js";import"./ArrowUp-elivCbuw.js";import"./ArrowLeft-Bl_oOK1R.js";import"./LinkBroken01-BTepcmNH.js";import"./BookOpen01-CQcU8DEw.js";import"./Globe04-C_iZve3L.js";import"./CheckCircle-BQ_BsFXT.js";import"./ChevronUp-DKklQ3bJ.js";import"./ChevronSelectorVertical-CWcLLogC.js";import"./CreditCard01-5LLU-cS_.js";import"./SwitchHorizontal01-DzexFd3R.js";import"./Key01-D0p4-oSK.js";import"./Minus-DWgslVyP.js";import"./Monitor01-B2hjJJ-O.js";import"./Sun-CEK9L4UW.js";import"./Play-DuBKbsmQ.js";import"./Plus-CRtXbDBy.js";import"./SearchMd-DDfy6PV0.js";import"./ShoppingBag01-onaGPnUG.js";import"./Upload01-B5OG3xe6.js";import"./Users01-DaLahyDL.js";import"./Zap-D0gg60Xv.js";import"./badge-DQH-sPh3.js";import"./checkbox-CVml-3os.js";import"./command-ByEG2lpR.js";import"./index-gXWGEUwJ.js";import"./popover-BvzfBeCD.js";import"./active-indicator-CCMhAsc_.js";import"./toggle-group-lGOrFANX.js";import"./match-site-slug-config-D3fUJ6vX.js";import"./use-file-configs-Css7VrGO.js";import"./asset-utils-drPwMw_i.js";import"./useInfiniteQuery-D3dviUwm.js";import"./infiniteQueryObserver-C3DB8A3F.js";import"./core.esm-BzH_Nko5.js";import"./sortable.esm-Dy1h1l2l.js";import"./product-picker-dialog-YdUbY-7g.js";import"./index-CU2-l5Z1.js";import"./index-DOkOhXW8.js";import"./blocks-tab-states-BWSDyN-L.js";import"./sandbox-url-D3mC8qhT.js";import"./use-voice-input-4p-Pv-qm.js";import"./drawer-D7zE3h2P.js";import"./use-mobile-D2Sn1D9v.js";import"./index-CBlU77jJ.js";import"./select-CpVl3_2f.js";import"./index-BdQq_4o_.js";import"./index-DaVJsKZ7.js";import"./ai-providers-logos-DD3qZ33J.js";import"./openai-compatible-presets-BKGfVqEx.js";import"./empty-state-DKuRC7c7.js";import"./utils-Cjet4zZt.js";import"./calendar-B5V9ahxZ.js";import"./empty-message-DkX3rdbv.js";import"./sandbox-start-errors-BK_aDCyt.js";import"./pair-CBh8Ssld.js";import"./collapsible-ZjNF64KD.js";import"./use-copy-Bn5xNYDY.js";import"./shell-layout-DWWwIk_z.js";import"./use-deployment-admin-DBDDA5Db.js";import"./admin-fetch-BhTJlAsX.js";import"./integration-icon-D10Wu8in.js";import"./project-icon-CaBBGJPF.js";import"./use-navigate-to-agent-DG4RRc2l.js";import"./use-debounced-value-Bd_QEBiw.js";import"./new-project-dialog-Czv5HvtS.js";import"./repository-picker-QBlZoWDu.js";import"./github-icon-Cd5dQEKt.js";import"./collection-search-DrspIufR.js";import"./legacy-admin-welcome-dialog-DY8Bixis.js";import"./required-auth-layout-DQ6ys2Lb.js";import"./use-org-sso-C1PNiOLX.js";import"./content-blocks-o63cs2vh.js";import"./mcp-app-renderer-P6d9M0PC.js";import"./types-FZCQuIv_.js";import"./omit-server-managed-metadata-L5IhjRZB.js";import"./tool-namespace-cagFCGCV.js";import"./utils-CVEq3hMx.js";import"./markdown-xlCS0Umn.js";import"./sheet-C6rtTUBz.js";import"./use-connection-CU6X3Wkq.js";import"./use-mcp-prompts-YffkWL7I.js";import"./use-thread-outputs-hVznlgM2.js";import"./file-type-icon-DVZfJOKC.js";import"./section-array-field-BtcjWtvt.js";import"./named-rule-step-DxjJGQ3W.js";import"./slider-CBof_Q_V.js";import"./index-B1RqPkvO.js";import"./tooltipContext-C1F2kuWH.js";import"./CategoricalChart-CuZXhd65.js";import"./index-PstEiCy7.js";import"./combobox-BdUyw8jq.js";import"./scroll-area-BhLv10mq.js";import"./hosted-reconcile-DSYVUxqr.js";import"./use-move-blocks-CWhuO9hg.js";import"./sandbox-git-api-DcqI6XE4.js";import"./search-input-CLSXdutD.js";import"./form-DnzJbdNw.js";import"./use-sandbox-events-BRyRagyy.js";import"./use-blocks-v8-project-DUspd_UU.js";const De=a=>typeof a=="string"?a:"",Rs={"&nbsp;":" ","&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&#39;":"'"};function tt(a){const e=[];let s=0,l=!1;for(;s<a.length;){if(a[s]==="<"){const c=a.indexOf(">",s);s=c<0?a.length:c+1;continue}let o=a[s]??"",d=s+1;if(a[s]==="&"){const c=a.indexOf(";",s);if(c>=0&&c-s<=10){const i=Rs[a.slice(s,c+1).toLowerCase()];i!==void 0&&(o=i,d=c+1)}}const n=s;if(s=d,/\s/.test(o)){if(l){const c=e[e.length-1];c&&(c.end=d);continue}e.push({ch:" ",start:n,end:d}),l=!0}else e.push({ch:o,start:n,end:d}),l=!1}return{text:e.map(o=>o.ch).join(""),chars:e}}function zs(a){return tt(a).text.trim()}function $s(a){const e=[];for(const s of a)switch(Jt(De(s.__resolveType))){case"Paragraph":e.push(zs(De(s.html)));break;case"Heading":e.push(De(s.text));break;case"Quote":e.push(De(s.quote));break;case"List":e.push(De(s.items));break}return e.filter(Boolean).join(`
2
2
  `)}function qs(a){return a.replace(/&/g,"&amp;").replace(/"/g,"&quot;")}function Us(a,e){const s=a.slice(0,e);return s.lastIndexOf("<a")>s.lastIndexOf("</a")}function Ms(a,e,s){const l=e.trim();if(!l||!s)return{blocks:a,applied:!1};for(let o=0;o<a.length;o++){const d=a[o];if(!d||typeof d.html!="string")continue;const n=d.html,{text:c,chars:i}=tt(n);let p=c.indexOf(l);for(;p>=0;){const x=i[p],f=i[p+l.length-1];if(x&&f){const g=x.start,r=f.end,u=n.slice(g,r);if(!u.includes("<")&&!Us(n,g)){const m=n.slice(0,g)+`<a href="${qs(s)}">${u}</a>`+n.slice(r),h=a.slice();return h[o]={...d,html:m},{blocks:h,applied:!0}}}p=c.indexOf(l,p+1)}}return{blocks:a,applied:!1}}function Hs(a,e){let s=a,l=0;for(const o of e){const d=Ms(s,o.quote,o.href);d.applied&&(s=d.blocks,l++)}return{blocks:s,applied:l}}function Vs({virtualMcpId:a,decofile:e,sections:s,currentKey:l,meta:o,hasAi:d,onApply:n}){const c=ee(),i=lt(),[p,x]=K.useState(!1),[f,g]=K.useState(!1),[r,u]=K.useState([]),[m,h]=K.useState(new Set),y=xs(e,o),k=Xt(e).filter(j=>j.key!==l&&j.slug),T=async()=>{g(!0);try{const j=$s(s),E=await i.call("BLOG_SITE_GROUND",{virtualMcpId:a,purpose:"link"}).catch(S=>{console.warn("[linkSuggest] grounding failed",S)}),v=await i.call("BLOG_LINK_SUGGEST",{virtualMcpId:a,body:j,posts:k.map(S=>({title:S.title,slug:S.slug})),grounding:E?{report:E.report,outcome:E.outcome}:void 0}),C=[],b=new Set;for(const S of v.suggestions){const L=k.find(z=>z.slug===S.slug);if(!L||!y)continue;const P=hs(y,{category:L.categorySlugs[0]??"",slug:L.slug});if(!P||!j.includes(S.quote))continue;const w=`${S.quote}→${L.slug}`;b.has(w)||(b.add(w),C.push({quote:S.quote,href:P,title:L.title}))}u(C),h(new Set(C.map((S,L)=>L))),x(!0),C.length===0&&we.info(c("sandbox.linkSuggest.none"))}catch(j){we.error(j instanceof Error?j.message:c("sandbox.linkSuggest.failed"))}finally{g(!1)}},D=j=>h(E=>{const v=new Set(E);return v.has(j)?v.delete(j):v.add(j),v}),B=()=>{const j=r.filter((C,b)=>m.has(b)).map(C=>({quote:C.quote,href:C.href})),{blocks:E,applied:v}=Hs(s,j);n(E),x(!1),we.success(c("sandbox.linkSuggest.applied",{count:String(v)}))};return t.jsxs(t.Fragment,{children:[t.jsxs(Le,{type:"button",variant:"outline",size:"sm",disabled:f||!d||k.length===0,title:d?k.length===0?c("sandbox.linkSuggest.noCandidates"):c("sandbox.linkSuggest.hint"):c("sandbox.autonomous.noAiProvider"),onClick:()=>{T()},children:[f?t.jsx(Et,{size:14,className:"animate-spin"}):t.jsx(Ct,{size:14}),c("sandbox.linkSuggest.button")]}),t.jsx(at,{open:p,onOpenChange:x,children:t.jsxs(nt,{className:"max-h-[85vh] sm:max-w-lg",children:[t.jsxs(rt,{children:[t.jsx(ct,{children:c("sandbox.linkSuggest.title")}),t.jsx(dt,{children:c("sandbox.linkSuggest.description")})]}),r.length===0?t.jsx("p",{className:"py-6 text-center text-sm text-muted-foreground",children:c("sandbox.linkSuggest.none")}):t.jsx("ul",{className:"max-h-[50vh] space-y-1 overflow-y-auto",children:r.map((j,E)=>{const v=m.has(E);return t.jsx("li",{children:t.jsxs("button",{type:"button",onClick:()=>D(E),"aria-pressed":v,className:"flex w-full items-start gap-2.5 rounded-lg border p-2.5 text-left transition-colors hover:bg-accent",children:[t.jsx("span",{className:Be("mt-0.5 flex h-4 w-4 shrink-0 items-center justify-center rounded border",v?"border-primary bg-primary text-primary-foreground":"border-input"),children:v&&t.jsx(mt,{size:11})}),t.jsxs("span",{className:"min-w-0 flex-1 text-sm",children:[t.jsxs("span",{className:"font-medium",children:["“",j.quote,"”"]}),t.jsxs("span",{className:"text-muted-foreground",children:[" → ",j.title]})]})]})},`${j.quote}-${j.href}`)})}),t.jsx(pt,{children:t.jsx(Le,{type:"button",disabled:m.size===0,onClick:B,children:c("sandbox.linkSuggest.apply",{count:String(m.size)})})})]})})]})}const Gs={unit:"pt",initial:12,min:6,max:96},Ws=["outline-none min-h-80 px-4 py-3 text-[15px] leading-relaxed text-foreground","[&>*:first-child]:mt-0 [&_p]:my-3","[&_h1]:mb-3 [&_h1]:mt-6 [&_h1]:text-3xl [&_h1]:font-bold","[&_h2]:mb-3 [&_h2]:mt-6 [&_h2]:text-2xl [&_h2]:font-bold","[&_h3]:mb-2 [&_h3]:mt-5 [&_h3]:text-xl [&_h3]:font-bold","[&_h4]:mb-2 [&_h4]:mt-4 [&_h4]:text-lg [&_h4]:font-bold","[&_h5]:mb-2 [&_h5]:mt-4 [&_h5]:text-base [&_h5]:font-bold","[&_h6]:mb-2 [&_h6]:mt-4 [&_h6]:text-sm [&_h6]:font-bold","[&_ul]:my-3 [&_ul]:list-disc [&_ul]:pl-6 [&_ol]:my-3 [&_ol]:list-decimal [&_ol]:pl-6 [&_li>p]:my-1","[&_blockquote]:my-3 [&_blockquote]:border-l-2 [&_blockquote]:border-border [&_blockquote]:pl-3 [&_blockquote]:text-muted-foreground","[&_pre]:my-3 [&_pre]:overflow-x-auto [&_pre]:rounded-lg [&_pre]:bg-muted [&_pre]:p-3 [&_pre]:font-mono [&_pre]:text-sm","[&_img]:inline-block [&_img]:h-auto [&_img]:max-w-full","[&_img.ProseMirror-selectednode]:outline-2 [&_img.ProseMirror-selectednode]:outline-primary","[&_table]:my-3 [&_table]:w-full [&_table]:border-collapse [&_td>p]:my-0 [&_th>p]:my-0","[&_td]:border [&_td]:border-border [&_td]:p-2 [&_th]:border [&_th]:border-border [&_th]:bg-muted [&_th]:p-2","[&_strong]:font-bold",Is],Ys=["[&_.ProseMirror_p.is-editor-empty:first-child::before]:content-[attr(data-placeholder)]","[&_.ProseMirror_p.is-editor-empty:first-child::before]:text-muted-foreground","[&_.ProseMirror_p.is-editor-empty:first-child::before]:float-left","[&_.ProseMirror_p.is-editor-empty:first-child::before]:h-0","[&_.ProseMirror_p.is-editor-empty:first-child::before]:pointer-events-none"];function Ks(a){const e=se.c(39),{editor:s}=a,l=ee(),[o,d]=K.useState(!1),[n,c]=K.useState(null),[i,p]=K.useState(null);let x;e[0]!==s?(x=P=>{s.chain().setImage({src:P}).run()},e[0]=s,e[1]=x):x=e[1];const f=x;let g;e[2]===Symbol.for("react.memo_cache_sentinel")?(g=()=>{c(null),p(null)},e[2]=g):g=e[2];const r=g;let u;e[3]!==f||e[4]!==l||e[5]!==n?(u=()=>{const P=(n??"").trim(),w=Ke(P);if(!w&&P){p(P.toLowerCase().startsWith("data:")?l("sandbox.postEditor.legacyImageDataUrl"):l("sectionsEditor.imageField.unsafeUrl"));return}w&&f(w),r()},e[3]=f,e[4]=l,e[5]=n,e[6]=u):u=e[6];const m=u;let h;e[7]!==l?(h=l("sandbox.postEditor.legacyInsertImage"),e[7]=l,e[8]=h):h=e[8];let y,k;e[9]===Symbol.for("react.memo_cache_sentinel")?(y=()=>d(!0),k=t.jsx(Ls,{size:14}),e[9]=y,e[10]=k):(y=e[9],k=e[10]);let T;e[11]!==o||e[12]!==h?(T=t.jsx(Me,{active:o,label:h,onClick:y,children:k}),e[11]=o,e[12]=h,e[13]=T):T=e[13];const D=n!==null;let B;e[14]!==l?(B=l("sandbox.postEditor.legacyInsertImageUrl"),e[14]=l,e[15]=B):B=e[15];let j;e[16]!==m||e[17]!==n?(j=()=>n===null?c(""):m(),e[16]=m,e[17]=n,e[18]=j):j=e[18];let E;e[19]===Symbol.for("react.memo_cache_sentinel")?(E=t.jsx(ws,{size:14}),e[19]=E):E=e[19];let v;e[20]!==j||e[21]!==D||e[22]!==B?(v=t.jsx(Me,{active:D,label:B,onClick:j,children:E}),e[20]=j,e[21]=D,e[22]=B,e[23]=v):v=e[23];let C;e[24]!==m||e[25]!==l||e[26]!==n||e[27]!==i?(C=n!==null&&t.jsx(qt,{draft:n,notice:i,label:l("sandbox.postEditor.legacyInsertImageUrl"),placeholder:l("sectionsEditor.imageField.urlPlaceholder"),onDraftChange:P=>{p(null),c(P)},onCommit:m,onCancel:r}),e[24]=m,e[25]=l,e[26]=n,e[27]=i,e[28]=C):C=e[28];let b;e[29]!==f?(b=P=>{const w=Ke(P);w&&f(w)},e[29]=f,e[30]=b):b=e[30];let S;e[31]!==o||e[32]!==b?(S=t.jsx(Es,{open:o,onOpenChange:d,mode:"image",onSelect:b}),e[31]=o,e[32]=b,e[33]=S):S=e[33];let L;return e[34]!==v||e[35]!==C||e[36]!==S||e[37]!==T?(L=t.jsxs("div",{className:"flex items-center gap-0.5",children:[T,v,C,S]}),e[34]=v,e[35]=C,e[36]=S,e[37]=T,e[38]=L):L=e[38],L}function Zs(a){const e=se.c(21),{editor:s}=a,l=ee(),[o,d]=K.useState(!1);let n;e[0]!==s?(n={editor:s,selector:Qs},e[0]=s,e[1]=n):n=e[1];const c=As(n);let i;e[2]!==s||e[3]!==o||e[4]!==c.highlight?(i=t.jsx(Vt,{editor:s,mark:"highlight",currentColor:c.highlight,open:o,onOpenChange:d}),e[2]=s,e[3]=o,e[4]=c.highlight,e[5]=i):i=e[5];const p=c.codeBlock;let x;e[6]!==l?(x=l("sandbox.postEditor.legacyCodeBlock"),e[6]=l,e[7]=x):x=e[7];let f;e[8]!==s?(f=()=>s.chain().focus().toggleCodeBlock().run(),e[8]=s,e[9]=f):f=e[9];let g;e[10]===Symbol.for("react.memo_cache_sentinel")?(g=t.jsx(Nt,{size:14}),e[10]=g):g=e[10];let r;e[11]!==c.codeBlock||e[12]!==x||e[13]!==f?(r=t.jsx(Me,{active:p,label:x,onClick:f,children:g}),e[11]=c.codeBlock,e[12]=x,e[13]=f,e[14]=r):r=e[14];let u;e[15]!==s?(u=t.jsx(Ks,{editor:s}),e[15]=s,e[16]=u):u=e[16];let m;return e[17]!==i||e[18]!==r||e[19]!==u?(m=t.jsxs(t.Fragment,{children:[i,r,u]}),e[17]=i,e[18]=r,e[19]=u,e[20]=m):m=e[20],m}function Qs(a){const{editor:e}=a;return{highlight:e.isActive("highlight")?e.getAttributes("highlight").color??null:null,codeBlock:e.isActive("codeBlock")}}function Js({value:a,onChange:e,decofile:s,sandboxRef:l}){const o=ee(),d=K.useRef(e);d.current=e;const n=Ds({extensions:[...js(),Fs.configure({placeholder:o("sandbox.postEditor.legacyContentPlaceholder")})],content:a,editorProps:{attributes:{class:Be(Ws)}},onUpdate:({editor:i})=>{d.current(bs(i.getHTML()))}}),c=$t({decofile:s,sandboxRef:l});return n?t.jsxs("div",{className:"rounded-[var(--studio-surface-radius,var(--radius-md))] border shadow-edge border-input",children:[t.jsx(Ht,{editor:n,fontSize:Gs,linkSources:c,extras:t.jsx(Zs,{editor:n})}),t.jsx(Bs,{editor:n,className:Be("max-h-[70vh] overflow-y-auto",Ys)})]}):null}function Xs(a){return Array.isArray(a)?a.map(e=>({key:I(e?.key),value:I(e?.value)})):[]}function eo({orgSlug:a,virtualMcpId:e,branch:s,blockKey:l,block:o,decofile:d,meta:n,previewBaseUrl:c,move:i,onClose:p,expanded:x,onToggleExpand:f,onDeleted:g}){const r=ee(),u=kt()?.taskId??null,m=Ze({orgSlug:a,virtualMcpId:e,branch:s},{holdsCopy:!0}),h=ks({orgSlug:a,virtualMcpId:e,branch:s}),y=Os(e,s),k=y.kind==="protocol"&&y.source==="github",T=Cs({orgSlug:a,virtualMcpId:e,branch:s}),D=_s().length>0,B=vs(),j=ys(e),E=Ps({orgSlug:a,virtualMcpId:e,branch:s}),v=es(o,"posts"),C=_=>{const X=m.shown(_);return X?{[_]:X}:{}},[b,S,L,P]=Ts(v,_=>{m.mutate({blockKey:l,data:ts(l,ss(_))})},{isSaving:m.isPending,onSeed:()=>m.hold(l)}),[w,z]=K.useState(l);w!==l&&(z(l),L(v));const U=_=>{L(b),i.apply(l,_,b,()=>C(l))},F=(_,X)=>S({...b,[_]:X}),M=Kt("posts",n,Qt),$=Ze({orgSlug:a,virtualMcpId:e,branch:s}),Z=Wt(_=>(m.v8?$:m).mutate(_),d,m.v8),[H,V]=K.useState(0),O=gs({decofile:d,post:b,previewBaseUrl:c,draftPointer:E,meta:n}),G=os(d,"posts",l,I(b.title)),Q=is(b),[W,q]=K.useState(!1),Y=async()=>{L(b);try{const _=await h.mutateAsync({blockKey:l,shown:()=>m.shown(l)});if(q(!1),Ns(_))return;we.success(r("sandbox.postEditor.deletePostSuccess",{title:I(b.title)})),g?.(),p?.()}catch(_){we.error(_ instanceof Error?_.message:r("sandbox.postEditor.deletePostFailed"))}},R=ls(b),A=R.length>0,J=R.length===1?r("sandbox.postEditor.missingFieldSingular",{fields:Ye(R,r)}):r("sandbox.postEditor.missingFieldPlural",{fields:Ye(R,r)});return t.jsxs("div",{className:"relative flex h-full flex-col",children:[t.jsx("div",{className:"absolute inset-x-0 top-0 z-10 bg-background/80 backdrop-blur-sm",children:t.jsxs("div",{className:"mx-auto flex max-w-4xl items-center justify-between gap-2 px-8 py-3",children:[t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx(Rt,{isPending:m.isPending||m.v8&&$.isPending||P,isError:m.isError||m.v8&&$.isError}),A&&t.jsxs($e,{children:[t.jsx(qe,{asChild:!0,children:t.jsxs("span",{className:"flex items-center gap-1.5 text-xs font-medium text-destructive",children:[t.jsx(Oe,{size:14}),R.length," ",R.length===1?r("sandbox.postEditor.issueSingular"):r("sandbox.postEditor.issuePlural")]})}),t.jsx(Ue,{side:"bottom",children:J})]})]}),(f||p)&&t.jsxs("div",{className:"-mr-2 flex items-center gap-0.5",children:[f&&t.jsx(Le,{type:"button",variant:"ghost",size:"sm",className:"px-2 text-muted-foreground",onClick:f,title:r(x?"sandbox.postBoard.collapse":"sandbox.postBoard.expand"),children:x?t.jsx(Pt,{size:16}):t.jsx(Tt,{size:16})}),p&&t.jsx(Le,{type:"button",variant:"ghost",size:"sm",className:"px-2 text-muted-foreground",onClick:p,title:r("sandbox.postBoard.close"),children:t.jsx(Bt,{size:16})})]})]})}),t.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto",children:t.jsxs("div",{className:"mx-auto max-w-4xl px-8 pb-6 pt-14",children:[t.jsx(as,{value:I(b.title),onChange:_=>F("title",_),placeholder:r("sandbox.postEditor.postTitlePlaceholder"),className:"py-1 text-4xl font-bold text-foreground"}),G&&t.jsxs("p",{className:"mt-2 flex items-start gap-1.5 text-xs text-warning",children:[t.jsx(Oe,{size:14,className:"mt-px shrink-0"}),r("sandbox.postEditor.duplicateTitleWarning")]}),t.jsxs(Ft,{defaultValue:"content",className:"mt-6 gap-4",children:[t.jsxs("div",{className:"flex items-center justify-between gap-3",children:[t.jsxs(It,{children:[t.jsxs(Ge,{value:"content",children:[t.jsx(wt,{}),r("sandbox.postEditor.contentTab")]}),t.jsxs(Ge,{value:"settings",children:[t.jsx(Lt,{}),r("sandbox.postEditor.settingsTab")]})]}),t.jsxs("div",{className:"flex shrink-0 items-center gap-3",children:[Q&&t.jsxs($e,{children:[t.jsx(qe,{asChild:!0,children:t.jsx(Le,{type:"button",variant:"ghost-destructive",size:"sm",className:"px-2","aria-label":r("sandbox.postEditor.deletePost"),onClick:()=>q(!0),children:t.jsx(Dt,{size:14})})}),t.jsx(Ue,{side:"bottom",children:r("sandbox.postEditor.deletePost")})]}),B&&!j&&t.jsx(Vs,{decofile:d,virtualMcpId:e,sections:Ie(b.sections),currentKey:l,meta:n,hasAi:D,onApply:_=>{F("sections",_),V(X=>X+1)}}),p&&t.jsxs(Le,{type:"button",variant:"outline",size:"sm",disabled:!O,title:r(O?"sandbox.postEditor.previewTooltip":"sandbox.postEditor.previewRequiresSlugAndCategory"),onClick:()=>{O&&window.open(O,"_blank","noopener,noreferrer")},children:[t.jsx(ut,{size:14}),r("sandbox.postEditor.seePreview")]})]})]}),t.jsx(We,{value:"content",children:j?t.jsxs("div",{className:"space-y-3",children:[Ie(b.sections).length>0&&t.jsxs("p",{className:"flex items-start gap-1.5 text-xs text-warning",children:[t.jsx(Oe,{size:14,className:"mt-px shrink-0"}),r("sandbox.postEditor.legacySectionsNotice",{count:Ie(b.sections).length})]}),t.jsx(Js,{value:I(b.content),onChange:_=>F("content",_),decofile:d,sandboxRef:{orgSlug:a,virtualMcpId:e,branch:s,threadId:u}})]}):t.jsx("div",{className:"surface p-8",children:t.jsx(Ut,{value:Ie(b.sections),onChange:_=>F("sections",_),meta:n,decofile:d,sandboxRef:{orgSlug:a,virtualMcpId:e,branch:s,threadId:u},previewBaseUrl:c,onSaveReferencedBlock:Z,emptyMessage:r("sandbox.postEditor.noContentYet")},H)})}),t.jsx(We,{value:"settings",children:t.jsxs("div",{className:"surface p-6",children:[t.jsx(so,{post:b,decofile:d,onChange:F,blockKey:l,move:i,onMoveStatus:U}),t.jsx(Zt,{schema:M,value:b,onChange:S,basePath:"post",meta:n,decofile:d,sandbox:{orgSlug:a,virtualMcpId:e,branch:s,threadId:u},onSaveReferencedBlock:Z})]})})]})]})}),t.jsx(ft,{open:W,onOpenChange:_=>{!_&&!h.isPending&&q(!1)},children:t.jsxs(xt,{children:[t.jsxs(ht,{children:[t.jsx(gt,{children:r("sandbox.postEditor.deletePostConfirmTitle")}),t.jsx(bt,{children:r(Ss("post",k,{neverPublished:T(l)}),{title:I(b.title)||r("sandbox.postBoard.untitled")})})]}),t.jsxs(jt,{children:[t.jsx(vt,{disabled:h.isPending,children:r("sandbox.postEditor.deletePostCancel")}),t.jsx(yt,{onClick:_=>{_.preventDefault(),Y()},disabled:h.isPending,className:Be(_t({variant:"destructive"})),children:h.isPending?t.jsxs(t.Fragment,{children:[t.jsx(St,{className:"size-3.5"}),r("sandbox.postEditor.deletingPost")]}):r("sandbox.postEditor.deletePost")})]})]})})]})}function to(a){const e=se.c(15),{blockKey:s,post:l,move:o,onMoveStatus:d}=a,n=ee();let c;e[0]!==l?(c=Xe(l),e[0]=l,e[1]=c):c=e[1];const i=c;let p,x;if(e[2]!==s||e[3]!==i||e[4]!==o||e[5]!==d||e[6]!==l||e[7]!==n){let g;e[10]!==i?(g=u=>u!=="generating"||i==="generating",e[10]=i,e[11]=g):g=e[11];const r=us.filter(g);p="flex flex-wrap gap-1.5",x=r.map(u=>{const m=u===i,h=m?null:o.refuse(s,u,l);return t.jsxs($e,{children:[t.jsx(qe,{asChild:!0,children:t.jsx("span",{children:t.jsx("button",{type:"button",disabled:!!h,"aria-pressed":m,onClick:()=>d(u),className:Be("rounded-md border px-2.5 py-1 text-xs font-medium transition-colors",m?"border-primary bg-primary text-primary-foreground":"cursor-pointer bg-card hover:bg-accent",h&&"cursor-not-allowed opacity-50"),children:n(fs[u])})})}),h&&t.jsx(Ue,{side:"bottom",children:o.reasonText(h)})]},u)}),e[2]=s,e[3]=i,e[4]=o,e[5]=d,e[6]=l,e[7]=n,e[8]=p,e[9]=x}else p=e[8],x=e[9];let f;return e[12]!==p||e[13]!==x?(f=t.jsx("div",{className:p,children:x}),e[12]=p,e[13]=x,e[14]=f):f=e[14],f}function so(a){const e=se.c(166),{post:s,decofile:l,onChange:o,blockKey:d,move:n,onMoveStatus:c}=a,i=ee();let p;e[0]!==s?(p=Xe(s),e[0]=s,e[1]=p):p=e[1];const f=p==="scheduled";let g;e[2]!==s.slug?(g=I(s.slug),e[2]=s.slug,e[3]=g):g=e[3];const r=g,[u,m]=K.useState(r),[h,y]=K.useState(null),[k,T]=K.useState(r);k!==r&&(T(r),m(r));let D;e[4]!==d||e[5]!==r||e[6]!==l||e[7]!==o||e[8]!==u||e[9]!==i?(D=()=>{const N=cs(u);if(m(N),N===r)return;if(!N){y(null),o("slug","");return}const He=et(l,"posts").filter(it=>it.key!==d).map(lo).filter(Boolean);if(!He.includes(N)){y(null),o("slug",N);return}const Re=ds(N,He),Ve=i("sandbox.postEditor.slugDeduped",{slug:Re});m(Re),y(Ve),we.info(Ve),o("slug",Re)},e[4]=d,e[5]=r,e[6]=l,e[7]=o,e[8]=u,e[9]=i,e[10]=D):D=e[10];const B=D;let j;e[11]!==i?(j=i("sandbox.postEditor.statusLabel"),e[11]=i,e[12]=j):j=e[12];let E;e[13]!==j?(E=t.jsx(te,{children:j}),e[13]=j,e[14]=E):E=e[14];let v;e[15]!==d||e[16]!==n||e[17]!==c||e[18]!==s?(v=t.jsx(to,{blockKey:d,post:s,move:n,onMoveStatus:c}),e[15]=d,e[16]=n,e[17]=c,e[18]=s,e[19]=v):v=e[19];let C;e[20]!==E||e[21]!==v?(C=t.jsxs("div",{className:"space-y-2",children:[E,v]}),e[20]=E,e[21]=v,e[22]=C):C=e[22];let b;e[23]!==f||e[24]!==o||e[25]!==s.scheduledDatetime||e[26]!==i?(b=f&&t.jsx(ze,{schema:{type:"string",format:"date-time",title:i("sandbox.postEditor.scheduledDatetimeLabel"),description:i("sandbox.postEditor.scheduledDatetimeDescription")},value:I(s.scheduledDatetime),onChange:N=>o("scheduledDatetime",N),path:"post-scheduled-datetime",label:i("sandbox.postEditor.scheduledDatetimeLabel")}),e[23]=f,e[24]=o,e[25]=s.scheduledDatetime,e[26]=i,e[27]=b):b=e[27];let S;e[28]!==C||e[29]!==b?(S=t.jsxs("div",{className:"space-y-4 border-b pb-4",children:[C,b]}),e[28]=C,e[29]=b,e[30]=S):S=e[30];let L;e[31]!==i?(L=i("sandbox.postEditor.excerptLabel"),e[31]=i,e[32]=L):L=e[32];let P;e[33]!==L?(P=t.jsx(te,{htmlFor:"post-excerpt",children:L}),e[33]=L,e[34]=P):P=e[34];let w;e[35]!==s.excerpt?(w=I(s.excerpt),e[35]=s.excerpt,e[36]=w):w=e[36];let z;e[37]!==o?(z=N=>o("excerpt",N.target.value),e[37]=o,e[38]=z):z=e[38];let U;e[39]!==w||e[40]!==z?(U=t.jsx(Je,{id:"post-excerpt",value:w,onChange:z,rows:2}),e[39]=w,e[40]=z,e[41]=U):U=e[41];let F;e[42]!==P||e[43]!==U?(F=t.jsxs("div",{className:"space-y-2",children:[P,U]}),e[42]=P,e[43]=U,e[44]=F):F=e[44];let M;e[45]!==i?(M=i("sandbox.postEditor.slugLabel"),e[45]=i,e[46]=M):M=e[46];let $;e[47]!==M?($=t.jsx(te,{htmlFor:"post-slug",children:M}),e[47]=M,e[48]=$):$=e[48];let Z;e[49]===Symbol.for("react.memo_cache_sentinel")?(Z=N=>{y(null),m(ms(N.target.value))},e[49]=Z):Z=e[49];let H;e[50]!==i?(H=i("sandbox.postEditor.slugPlaceholder"),e[50]=i,e[51]=H):H=e[51];let V;e[52]!==B||e[53]!==u||e[54]!==H?(V=t.jsx(Ae,{id:"post-slug",value:u,onChange:Z,onBlur:B,placeholder:H,maxLength:80,className:"h-10"}),e[52]=B,e[53]=u,e[54]=H,e[55]=V):V=e[55];let O;e[56]!==h?(O=h&&t.jsxs("p",{className:"flex items-start gap-1.5 text-xs text-warning",children:[t.jsx(Oe,{size:14,className:"mt-px shrink-0"}),h]}),e[56]=h,e[57]=O):O=e[57];let G;e[58]!==$||e[59]!==V||e[60]!==O?(G=t.jsxs("div",{className:"space-y-2",children:[$,V,O]}),e[58]=$,e[59]=V,e[60]=O,e[61]=G):G=e[61];let Q;e[62]!==i?(Q=i("sandbox.postEditor.dateLabel"),e[62]=i,e[63]=Q):Q=e[63];let W;e[64]!==Q?(W={type:"string",format:"date",title:Q},e[64]=Q,e[65]=W):W=e[65];let q;e[66]!==s.date?(q=I(s.date),e[66]=s.date,e[67]=q):q=e[67];let Y;e[68]!==o?(Y=N=>o("date",N),e[68]=o,e[69]=Y):Y=e[69];let R;e[70]!==i?(R=i("sandbox.postEditor.dateLabel"),e[70]=i,e[71]=R):R=e[71];let A;e[72]!==W||e[73]!==q||e[74]!==Y||e[75]!==R?(A=t.jsx(ze,{schema:W,value:q,onChange:Y,path:"post-date",label:R}),e[72]=W,e[73]=q,e[74]=Y,e[75]=R,e[76]=A):A=e[76];let J;e[77]!==i?(J=i("sandbox.postEditor.readTimeLabel"),e[77]=i,e[78]=J):J=e[78];let _;e[79]!==J?(_={type:"integer",title:J},e[79]=J,e[80]=_):_=e[80];const X=typeof s.readTime=="number"?s.readTime:void 0;let oe;e[81]!==o?(oe=N=>o("readTime",N),e[81]=o,e[82]=oe):oe=e[82];let ie;e[83]!==i?(ie=i("sandbox.postEditor.readTimeLabel"),e[83]=i,e[84]=ie):ie=e[84];let le;e[85]!==_||e[86]!==X||e[87]!==oe||e[88]!==ie?(le=t.jsx(Yt,{schema:_,value:X,onChange:oe,path:"post-read-time",label:ie}),e[85]=_,e[86]=X,e[87]=oe,e[88]=ie,e[89]=le):le=e[89];let ae;e[90]!==G||e[91]!==A||e[92]!==le?(ae=t.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[G,A,le]}),e[90]=G,e[91]=A,e[92]=le,e[93]=ae):ae=e[93];const st=s.image,ot=s.mobileImage;let ne,re;e[94]!==o?(ne=N=>o("image",N),re=N=>o("mobileImage",N),e[94]=o,e[95]=ne,e[96]=re):(ne=e[95],re=e[96]);let ce;e[97]!==s.alt?(ce=I(s.alt),e[97]=s.alt,e[98]=ce):ce=e[98];let de;e[99]!==i?(de=i("sandbox.postEditor.coverImageLabel"),e[99]=i,e[100]=de):de=e[100];let me;e[101]!==s.image||e[102]!==s.mobileImage||e[103]!==ne||e[104]!==re||e[105]!==ce||e[106]!==de?(me=t.jsx(Mt,{value:st,mobileValue:ot,onChange:ne,onMobileChange:re,alt:ce,label:de}),e[101]=s.image,e[102]=s.mobileImage,e[103]=ne,e[104]=re,e[105]=ce,e[106]=de,e[107]=me):me=e[107];let pe;e[108]!==i?(pe=i("sandbox.postEditor.coverAltLabel"),e[108]=i,e[109]=pe):pe=e[109];let ue;e[110]!==i?(ue=i("sandbox.postEditor.coverAltDescription"),e[110]=i,e[111]=ue):ue=e[111];let fe;e[112]!==pe||e[113]!==ue?(fe={type:"string",title:pe,description:ue},e[112]=pe,e[113]=ue,e[114]=fe):fe=e[114];let xe;e[115]!==s.alt?(xe=I(s.alt),e[115]=s.alt,e[116]=xe):xe=e[116];let he;e[117]!==o?(he=N=>o("alt",N),e[117]=o,e[118]=he):he=e[118];let ge;e[119]!==i?(ge=i("sandbox.postEditor.coverAltLabel"),e[119]=i,e[120]=ge):ge=e[120];let be;e[121]!==fe||e[122]!==xe||e[123]!==he||e[124]!==ge?(be=t.jsx(ze,{schema:fe,value:xe,onChange:he,path:"post-alt",label:ge}),e[121]=fe,e[122]=xe,e[123]=he,e[124]=ge,e[125]=be):be=e[125];let je;e[126]!==me||e[127]!==be?(je=t.jsxs("div",{className:"space-y-2",children:[me,be]}),e[126]=me,e[127]=be,e[128]=je):je=e[128];let ve;e[129]!==i?(ve=i("sandbox.postEditor.authorsLabel"),e[129]=i,e[130]=ve):ve=e[130];let ye;e[131]!==o?(ye=N=>o("authors",N),e[131]=o,e[132]=ye):ye=e[132];let Se;e[133]!==l||e[134]!==s.authors||e[135]!==ve||e[136]!==ye?(Se=t.jsx(Qe,{label:ve,decofile:l,kind:"authors",valueField:"email",toRef:io,selected:s.authors,onChange:ye}),e[133]=l,e[134]=s.authors,e[135]=ve,e[136]=ye,e[137]=Se):Se=e[137];let _e;e[138]!==i?(_e=i("sandbox.postEditor.categoriesLabel"),e[138]=i,e[139]=_e):_e=e[139];let ke;e[140]!==o?(ke=N=>o("categories",N),e[140]=o,e[141]=ke):ke=e[141];let Ee;e[142]!==l||e[143]!==s.categories||e[144]!==_e||e[145]!==ke?(Ee=t.jsx(Qe,{label:_e,decofile:l,kind:"categories",valueField:"slug",toRef:oo,selected:s.categories,onChange:ke}),e[142]=l,e[143]=s.categories,e[144]=_e,e[145]=ke,e[146]=Ee):Ee=e[146];let Ce;e[147]!==o?(Ce=N=>o("extraProps",N),e[147]=o,e[148]=Ce):Ce=e[148];let Ne;e[149]!==s.extraProps||e[150]!==Ce?(Ne=t.jsx(no,{value:s.extraProps,onChange:Ce}),e[149]=s.extraProps,e[150]=Ce,e[151]=Ne):Ne=e[151];let Pe;e[152]!==o?(Pe=N=>o("seo",N),e[152]=o,e[153]=Pe):Pe=e[153];let Te;e[154]!==s.seo||e[155]!==Pe?(Te=t.jsx(ao,{value:s.seo,onChange:Pe}),e[154]=s.seo,e[155]=Pe,e[156]=Te):Te=e[156];let Fe;return e[157]!==F||e[158]!==ae||e[159]!==je||e[160]!==Se||e[161]!==Ee||e[162]!==Ne||e[163]!==Te||e[164]!==S?(Fe=t.jsxs("div",{className:"space-y-5",children:[S,F,ae,je,Se,Ee,Ne,Te]}),e[157]=F,e[158]=ae,e[159]=je,e[160]=Se,e[161]=Ee,e[162]=Ne,e[163]=Te,e[164]=S,e[165]=Fe):Fe=e[165],Fe}function oo(a){return{name:I(a.name),slug:I(a.slug)}}function io(a){return{...a}}function lo(a){return I(a.payload.slug)}function ao(a){const e=se.c(93),{value:s,onChange:l}=a,o=ee();let d;e[0]!==s?(d=s&&typeof s=="object"&&!Array.isArray(s)?s:{},e[0]=s,e[1]=d):d=e[1];const n=d;let c;e[2]!==l||e[3]!==n?(c=(A,J)=>l({...n,[A]:J}),e[2]=l,e[3]=n,e[4]=c):c=e[4];const i=c;let p;e[5]!==o?(p=o("sandbox.postEditor.seoSectionLabel"),e[5]=o,e[6]=p):p=e[6];let x;e[7]!==p?(x=t.jsx("p",{className:"text-sm font-medium",children:p}),e[7]=p,e[8]=x):x=e[8];let f;e[9]!==o?(f=o("sandbox.postEditor.seoSectionHint"),e[9]=o,e[10]=f):f=e[10];let g;e[11]!==f?(g=t.jsx("p",{className:"text-xs text-muted-foreground",children:f}),e[11]=f,e[12]=g):g=e[12];let r;e[13]!==x||e[14]!==g?(r=t.jsxs("div",{className:"space-y-1",children:[x,g]}),e[13]=x,e[14]=g,e[15]=r):r=e[15];let u;e[16]!==o?(u=o("sandbox.postEditor.seoTitleLabel"),e[16]=o,e[17]=u):u=e[17];let m;e[18]!==u?(m=t.jsx(te,{htmlFor:"post-seo-title",children:u}),e[18]=u,e[19]=m):m=e[19];let h;e[20]!==n.title?(h=I(n.title),e[20]=n.title,e[21]=h):h=e[21];let y;e[22]!==i?(y=A=>i("title",A.target.value),e[22]=i,e[23]=y):y=e[23];let k;e[24]!==h||e[25]!==y?(k=t.jsx(Ae,{id:"post-seo-title",value:h,onChange:y,className:"h-10"}),e[24]=h,e[25]=y,e[26]=k):k=e[26];let T;e[27]!==k||e[28]!==m?(T=t.jsxs("div",{className:"space-y-2",children:[m,k]}),e[27]=k,e[28]=m,e[29]=T):T=e[29];let D;e[30]!==o?(D=o("sandbox.postEditor.seoDescriptionLabel"),e[30]=o,e[31]=D):D=e[31];let B;e[32]!==D?(B=t.jsx(te,{htmlFor:"post-seo-description",children:D}),e[32]=D,e[33]=B):B=e[33];let j;e[34]!==n.description?(j=I(n.description),e[34]=n.description,e[35]=j):j=e[35];let E;e[36]!==i?(E=A=>i("description",A.target.value),e[36]=i,e[37]=E):E=e[37];let v;e[38]!==j||e[39]!==E?(v=t.jsx(Je,{id:"post-seo-description",value:j,onChange:E,rows:2}),e[38]=j,e[39]=E,e[40]=v):v=e[40];let C;e[41]!==B||e[42]!==v?(C=t.jsxs("div",{className:"space-y-2",children:[B,v]}),e[41]=B,e[42]=v,e[43]=C):C=e[43];let b;e[44]!==o?(b=o("sandbox.postEditor.seoImageLabel"),e[44]=o,e[45]=b):b=e[45];let S;e[46]!==b?(S={type:"string",format:"image-uri",title:b},e[46]=b,e[47]=S):S=e[47];const L=n.image;let P;e[48]!==i?(P=A=>i("image",A),e[48]=i,e[49]=P):P=e[49];let w;e[50]!==o?(w=o("sandbox.postEditor.seoImageLabel"),e[50]=o,e[51]=w):w=e[51];let z;e[52]!==n.image||e[53]!==S||e[54]!==P||e[55]!==w?(z=t.jsx(zt,{schema:S,value:L,onChange:P,path:"post-seo-image",label:w}),e[52]=n.image,e[53]=S,e[54]=P,e[55]=w,e[56]=z):z=e[56];let U;e[57]!==o?(U=o("sandbox.postEditor.seoCanonicalLabel"),e[57]=o,e[58]=U):U=e[58];let F;e[59]!==U?(F=t.jsx(te,{htmlFor:"post-seo-canonical",children:U}),e[59]=U,e[60]=F):F=e[60];let M;e[61]!==n.canonical?(M=I(n.canonical),e[61]=n.canonical,e[62]=M):M=e[62];let $;e[63]!==i?($=A=>i("canonical",A.target.value),e[63]=i,e[64]=$):$=e[64];let Z;e[65]!==o?(Z=o("sandbox.postEditor.seoCanonicalPlaceholder"),e[65]=o,e[66]=Z):Z=e[66];let H;e[67]!==M||e[68]!==$||e[69]!==Z?(H=t.jsx(Ae,{id:"post-seo-canonical",value:M,onChange:$,placeholder:Z,className:"h-10"}),e[67]=M,e[68]=$,e[69]=Z,e[70]=H):H=e[70];let V;e[71]!==F||e[72]!==H?(V=t.jsxs("div",{className:"space-y-2",children:[F,H]}),e[71]=F,e[72]=H,e[73]=V):V=e[73];let O;e[74]!==o?(O=o("sandbox.postEditor.seoNoIndexingLabel"),e[74]=o,e[75]=O):O=e[75];let G;e[76]!==O?(G=t.jsx(te,{htmlFor:"post-seo-no-indexing",children:O}),e[76]=O,e[77]=G):G=e[77];const Q=n.noIndexing===!0;let W;e[78]!==i?(W=A=>i("noIndexing",A),e[78]=i,e[79]=W):W=e[79];let q;e[80]!==Q||e[81]!==W?(q=t.jsx(Ot,{id:"post-seo-no-indexing",checked:Q,onCheckedChange:W}),e[80]=Q,e[81]=W,e[82]=q):q=e[82];let Y;e[83]!==G||e[84]!==q?(Y=t.jsxs("div",{className:"flex items-center justify-between gap-2",children:[G,q]}),e[83]=G,e[84]=q,e[85]=Y):Y=e[85];let R;return e[86]!==T||e[87]!==C||e[88]!==z||e[89]!==V||e[90]!==Y||e[91]!==r?(R=t.jsxs("div",{className:"space-y-5 border-t pt-5",children:[r,T,C,z,V,Y]}),e[86]=T,e[87]=C,e[88]=z,e[89]=V,e[90]=Y,e[91]=r,e[92]=R):R=e[92],R}function no(a){const e=se.c(24),{value:s,onChange:l}=a,o=ee();let d,n,c,i;if(e[0]!==l||e[1]!==o||e[2]!==s){d=Xs(s);const r=(m,h)=>l(d.map((y,k)=>k===m?{...y,...h}:y));n="space-y-2";let u;e[7]!==o?(u=o("sandbox.postEditor.extraPropsLabel"),e[7]=o,e[8]=u):u=e[8],e[9]!==u?(c=t.jsx(te,{children:u}),e[9]=u,e[10]=c):c=e[10],i=d.length>0&&t.jsx("ul",{className:"space-y-2",children:d.map((m,h)=>t.jsxs("li",{className:"group/item flex items-center gap-2",children:[t.jsx(Ae,{value:m.key,onChange:y=>r(h,{key:y.target.value}),placeholder:o("sandbox.postEditor.keyPlaceholder"),className:"h-9 flex-1"}),t.jsx(Ae,{value:m.value,onChange:y=>r(h,{value:y.target.value}),placeholder:o("sandbox.postEditor.valuePlaceholder"),className:"h-9 flex-1"}),t.jsx(rs,{label:o("sandbox.postEditor.removePropLabel"),onClick:()=>l(d.filter((y,k)=>k!==h))})]},h))}),e[0]=l,e[1]=o,e[2]=s,e[3]=d,e[4]=n,e[5]=c,e[6]=i}else d=e[3],n=e[4],c=e[5],i=e[6];let p;e[11]!==o?(p=o("sandbox.postEditor.addPropLabel"),e[11]=o,e[12]=p):p=e[12];let x;e[13]!==d||e[14]!==l?(x=()=>l([...d,{key:"",value:""}]),e[13]=d,e[14]=l,e[15]=x):x=e[15];let f;e[16]!==p||e[17]!==x?(f=t.jsx(ps,{label:p,onClick:x}),e[16]=p,e[17]=x,e[18]=f):f=e[18];let g;return e[19]!==n||e[20]!==c||e[21]!==i||e[22]!==f?(g=t.jsxs("div",{className:n,children:[c,i,f]}),e[19]=n,e[20]=c,e[21]=i,e[22]=f,e[23]=g):g=e[23],g}function Qe(a){const e=se.c(24),{label:s,decofile:l,kind:o,valueField:d,toRef:n,selected:c,onChange:i}=a,p=ee();let x;e[0]!==l||e[1]!==o||e[2]!==c||e[3]!==n||e[4]!==d?(x=ns({records:et(l,o),selected:c,valueField:d,toRef:n}),e[0]=l,e[1]=o,e[2]=c,e[3]=n,e[4]=d,e[5]=x):x=e[5];const{options:f,selectedValues:g,refsForValues:r}=x;let u;e[6]!==o||e[7]!==p?(u=p(o==="authors"?"sandbox.postEditor.noAuthorsYet":"sandbox.postEditor.noCategoriesYet"),e[6]=o,e[7]=p,e[8]=u):u=e[8];const m=u;let h;e[9]!==o||e[10]!==p?(h=p(o==="authors"?"sandbox.postEditor.selectAuthorsPlaceholder":"sandbox.postEditor.selectCategoriesPlaceholder"),e[9]=o,e[10]=p,e[11]=h):h=e[11];const y=h;let k;e[12]!==s?(k=t.jsx(te,{children:s}),e[12]=s,e[13]=k):k=e[13];let T;e[14]!==m||e[15]!==i||e[16]!==f||e[17]!==r||e[18]!==y||e[19]!==g?(T=f.length===0?t.jsx("p",{className:"text-xs text-muted-foreground",children:m}):t.jsx(At,{options:f,defaultValue:g,onValueChange:B=>i(r(B)),placeholder:y,maxCount:4}),e[14]=m,e[15]=i,e[16]=f,e[17]=r,e[18]=y,e[19]=g,e[20]=T):T=e[20];let D;return e[21]!==k||e[22]!==T?(D=t.jsxs("div",{className:"space-y-2",children:[k,T]}),e[21]=k,e[22]=T,e[23]=D):D=e[23],D}function Vl(a){const e=se.c(10),s=a.block!==void 0;let l;e[0]!==a?(l=t.jsx(eo,{...a}),e[0]=a,e[1]=l):l=e[1];let o;return e[2]!==a.blockKey||e[3]!==a.branch||e[4]!==a.decofile||e[5]!==a.orgSlug||e[6]!==a.virtualMcpId||e[7]!==s||e[8]!==l?(o=t.jsx(Gt,{listing:a.decofile,orgSlug:a.orgSlug,virtualMcpId:a.virtualMcpId,branch:a.branch,blockKey:a.blockKey,present:s,children:l}),e[2]=a.blockKey,e[3]=a.branch,e[4]=a.decofile,e[5]=a.orgSlug,e[6]=a.virtualMcpId,e[7]=s,e[8]=l,e[9]=o):o=e[9],o}export{Vl as PostEditor};
@@ -1 +1 @@
1
- import{c as E,b as D,d as ne,f as re,ae as oe,j as t,B as Q,a7 as ce,n as de,x as W,m as X}from"./index-PfzOl7J6.js";import{I as ae}from"./icon-button-DTP_l7w5.js";import{c as Y,T as Z,a as ee}from"./tooltip-7oUFzrc9.js";import{m as fe,aO as me,af as xe,O as he}from"./agent-icon-DPgCnEV1.js";import{s as pe}from"./XClose-CR92HpkN.js";import{F as te,t as V,H as ue}from"./file-share-button-GtMerxGo.js";import{f as je,F as be,a as ge}from"./file-preview-B_OweD07.js";import{F as se}from"./file-type-icon-5sEsvuio.js";import{c as ve,a as we,e as ye}from"./use-org-fs-DhEmmAqR.js";import{O as Pe,J as Ce}from"./chat-context-DmIaWG0i.js";function Ne(j){const e=E.c(13),{previewPath:l}=j,m=D(),r=ne(),p=re({strict:!1}).org??"";let s;e[0]!==l?(s=l.split("/").slice(0,-1).join("/"),e[0]=l,e[1]=s):s=e[1];const o=s;let a;e[2]!==r||e[3]!==p||e[4]!==o||e[5]!==l?(a=()=>{r({to:oe.library,params:{org:p},search:{path:o||void 0,preview:l}})},e[2]=r,e[3]=p,e[4]=o,e[5]=l,e[6]=a):a=e[6];const c=a;let b;e[7]===Symbol.for("react.memo_cache_sentinel")?(b=t.jsx(fe,{size:14}),e[7]=b):b=e[7];let u;e[8]!==m?(u=m("library.seeInLibrary.label"),e[8]=m,e[9]=u):u=e[9];let x;return e[10]!==c||e[11]!==u?(x=t.jsxs(Q,{variant:"ghost",size:"sm",onClick:c,className:"shrink-0 gap-1.5 text-xs text-muted-foreground",children:[b,u]}),e[10]=c,e[11]=u,e[12]=x):x=e[12],x}const Fe=j=>/\.html?$/i.test(j);function le(j){switch(j){case"dialog":return"h-11 py-1 pr-12 pl-2";case"panel":return"h-9 px-2";case"aside":return"h-12 gap-2 px-1.5";default:return j}}function ke(j){const e=E.c(12),{expanded:l,onToggle:m,placement:r}=j,p=D();let s;e[0]!==r?(s=V(r),e[0]=r,e[1]=s):s=e[1];const o=l?"library.previewContent.collapse":"library.previewContent.expand";let a;e[2]!==p||e[3]!==o?(a=p(o),e[2]=p,e[3]=o,e[4]=a):a=e[4];let c;e[5]!==l?(c=l?t.jsx(xe,{size:14}):t.jsx(he,{size:14}),e[5]=l,e[6]=c):c=e[6];let b;return e[7]!==m||e[8]!==s||e[9]!==a||e[10]!==c?(b=t.jsx(ae,{...s,label:a,tooltipSide:"bottom",onClick:m,children:c}),e[7]=m,e[8]=s,e[9]=a,e[10]=c,e[11]=b):b=e[11],b}function ie(j){const e=E.c(9),{onClose:l,placement:m}=j,r=m===void 0?"bar":m,p=D();let s;e[0]!==r?(s=V(r),e[0]=r,e[1]=s):s=e[1];let o;e[2]!==p?(o=p("library.previewContent.close"),e[2]=p,e[3]=o):o=e[3];let a;e[4]===Symbol.for("react.memo_cache_sentinel")?(a=t.jsx(pe,{size:14}),e[4]=a):a=e[4];let c;return e[5]!==l||e[6]!==s||e[7]!==o?(c=t.jsx(ae,{...s,label:o,tooltipSide:"bottom",onClick:l,children:a}),e[5]=l,e[6]=s,e[7]=o,e[8]=c):c=e[8],c}function _e(j){const e=E.c(92),{previewPath:l,onClose:m,expand:r,showSeeInLibrary:p,variant:s}=j,o=p===void 0?!1:p,a=D();let c;e[0]!==l?(c=Pe(l),e[0]=l,e[1]=c):c=e[1];const b=c,{volume:u,dirPath:x}=b,{data:f,isPending:A}=ve(u,x),H=we(u??"");let w,y,n,d,h,i,P,B;if(e[2]!==H||e[3]!==f||e[4]!==r||e[5]!==x||e[6]!==l||e[7]!==o||e[8]!==s){d=Ce(x),h=s==="dialog",i=r?.expanded?"topbar":s==="aside"?"aside":"bar";let g;e[17]!==i?(g=V(i),e[17]=i,e[18]=g):g=e[18],w=g;let T;e[19]!==r||e[20]!==i?(T=r?.onToggle&&t.jsx(ke,{expanded:r.expanded,onToggle:r.onToggle,placement:i}),e[19]=r,e[20]=i,e[21]=T):T=e[21],y=T;let v;e[22]!==l||e[23]!==o?(v=o?t.jsx(Ne,{previewPath:l}):null,e[22]=l,e[23]=o,e[24]=v):v=e[24],P=v,n=f&&f.kind==="file"?{key:l,filename:d,size:f.size,downloadUrl:H(f.path)}:null,B=n&&f&&Fe(d),e[2]=H,e[3]=f,e[4]=r,e[5]=x,e[6]=l,e[7]=o,e[8]=s,e[9]=w,e[10]=y,e[11]=n,e[12]=d,e[13]=h,e[14]=i,e[15]=P,e[16]=B}else w=e[9],y=e[10],n=e[11],d=e[12],h=e[13],i=e[14],P=e[15],B=e[16];if(B){let g;e[25]!==d||e[26]!==h?(g=h&&t.jsx(W,{className:"sr-only",children:d}),e[25]=d,e[26]=h,e[27]=g):g=e[27];const T=n.downloadUrl;let v;e[28]!==f?(v=ye(f),e[28]=f,e[29]=v):v=e[29];let z;e[30]!==s?(z=s==="panel"?void 0:le(s),e[30]=s,e[31]=z):z=e[31];const R=u==="home"?x:void 0,J=u??"",q=f.shareMode??"private",G=f.effectivePublic??!1,K=window.location.origin+n.downloadUrl;let S;e[32]!==x||e[33]!==i||e[34]!==q||e[35]!==G||e[36]!==K||e[37]!==J?(S=t.jsx(te,{volume:J,path:x,shareMode:q,effectivePublic:G,url:K,placement:i}),e[32]=x,e[33]=i,e[34]=q,e[35]=G,e[36]=K,e[37]=J,e[38]=S):S=e[38];let U;e[39]!==y||e[40]!==h||e[41]!==m||e[42]!==i?(U=!h&&t.jsxs(t.Fragment,{children:[y,t.jsx(ie,{onClose:m,placement:i})]}),e[39]=y,e[40]=h,e[41]=m,e[42]=i,e[43]=U):U=e[43];let I;e[44]!==P||e[45]!==S||e[46]!==U?(I=t.jsxs(t.Fragment,{children:[S,P,U]}),e[44]=P,e[45]=S,e[46]=U,e[47]=I):I=e[47];let L;e[48]!==n.downloadUrl||e[49]!==d||e[50]!==i||e[51]!==l||e[52]!==I||e[53]!==v||e[54]!==z||e[55]!==R?(L=t.jsx(ue,{readUrl:T,marker:v,toolbarClassName:z,title:d,placement:i,savePath:R,trailing:I},l),e[48]=n.downloadUrl,e[49]=d,e[50]=i,e[51]=l,e[52]=I,e[53]=v,e[54]=z,e[55]=R,e[56]=L):L=e[56];let _;return e[57]!==L||e[58]!==g?(_=t.jsxs(t.Fragment,{children:[g,L]}),e[57]=L,e[58]=g,e[59]=_):_=e[59],_}let C;e[60]!==w||e[61]!==f?.effectivePublic||e[62]!==f?.shareMode||e[63]!==n||e[64]!==x||e[65]!==i||e[66]!==a||e[67]!==u?(C=n&&t.jsxs(t.Fragment,{children:[t.jsx(te,{volume:u??"",path:x,shareMode:f?.shareMode??"private",effectivePublic:f?.effectivePublic??!1,url:window.location.origin+n.downloadUrl,placement:i}),t.jsxs(Y,{children:[t.jsx(Z,{asChild:!0,children:t.jsx(Q,{variant:w.variant,size:w.size,asChild:!0,children:t.jsx("a",{href:n.downloadUrl,download:n.filename,children:t.jsx(me,{size:14})})})}),t.jsx(ee,{side:"bottom",children:a("library.previewContent.download")})]}),t.jsxs(Y,{children:[t.jsx(Z,{asChild:!0,children:t.jsx(Q,{variant:w.variant,size:w.size,onClick:()=>window.open(n.downloadUrl,"_blank","noopener"),children:t.jsx(ce,{size:14})})}),t.jsx(ee,{side:"bottom",children:a("library.previewContent.openInNewTab")})]})]}),e[60]=w,e[61]=f?.effectivePublic,e[62]=f?.shareMode,e[63]=n,e[64]=x,e[65]=i,e[66]=a,e[67]=u,e[68]=C):C=e[68];let N;e[69]!==y||e[70]!==h||e[71]!==m||e[72]!==i?(N=!h&&t.jsxs(t.Fragment,{children:[y,t.jsx(ie,{onClose:m,placement:i})]}),e[69]=y,e[70]=h,e[71]=m,e[72]=i,e[73]=N):N=e[73];let $;e[74]!==C||e[75]!==N?($=t.jsxs(t.Fragment,{children:[C,N]}),e[74]=C,e[75]=N,e[76]=$):$=e[76];const M=$;let F;e[77]!==M||e[78]!==n||e[79]!==d||e[80]!==h||e[81]!==i||e[82]!==s?(F=i==="topbar"?t.jsx(de.Actions,{children:M}):t.jsxs("div",{className:X("flex shrink-0 items-center gap-1 border-b border-border/60",le(s)),children:[t.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-2 px-2",children:[t.jsx(se,{filename:d,className:"h-4.5 w-3.5 shrink-0"}),h?t.jsx(W,{className:"truncate text-xs font-medium text-foreground",children:d}):t.jsx("span",{className:X("truncate font-medium text-foreground",i==="aside"?"text-sm":"text-xs"),children:d}),n&&t.jsx("span",{className:"shrink-0 text-xs text-muted-foreground",children:je(n.size)})]}),M]}),e[77]=M,e[78]=n,e[79]=d,e[80]=h,e[81]=i,e[82]=s,e[83]=F):F=e[83];let k;e[84]!==n||e[85]!==d||e[86]!==A||e[87]!==a?(k=t.jsx("div",{className:"relative min-h-0 flex-1 bg-background",children:n?t.jsx(be,{file:n}):A?t.jsx(ge,{}):t.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-2",children:[t.jsx(se,{filename:d,className:"h-7.5 w-6"}),t.jsx("span",{className:"text-sm text-muted-foreground",children:a("library.previewContent.fileNotAvailable")})]})}),e[84]=n,e[85]=d,e[86]=A,e[87]=a,e[88]=k):k=e[88];let O;return e[89]!==F||e[90]!==k?(O=t.jsxs(t.Fragment,{children:[F,k]}),e[89]=F,e[90]=k,e[91]=O):O=e[91],O}export{_e as L};
1
+ import{c as E,b as D,d as ne,f as re,ae as oe,j as t,B as Q,a7 as ce,n as de,x as W,m as X}from"./index-D8HDDDUz.js";import{I as ae}from"./icon-button-CR6dftyf.js";import{c as Y,T as Z,a as ee}from"./tooltip-BZFegydB.js";import{m as fe,aO as me,af as xe,O as he}from"./agent-icon-mmszwibp.js";import{s as pe}from"./XClose-RigEwdbR.js";import{F as te,t as V,H as ue}from"./file-share-button-C2MhJgEK.js";import{f as je,F as be,a as ge}from"./file-preview-B39yfF4F.js";import{F as se}from"./file-type-icon-DVZfJOKC.js";import{c as ve,a as we,e as ye}from"./use-org-fs-BySi7x_E.js";import{O as Pe,J as Ce}from"./chat-context-DdWQJl7N.js";function Ne(j){const e=E.c(13),{previewPath:l}=j,m=D(),r=ne(),p=re({strict:!1}).org??"";let s;e[0]!==l?(s=l.split("/").slice(0,-1).join("/"),e[0]=l,e[1]=s):s=e[1];const o=s;let a;e[2]!==r||e[3]!==p||e[4]!==o||e[5]!==l?(a=()=>{r({to:oe.library,params:{org:p},search:{path:o||void 0,preview:l}})},e[2]=r,e[3]=p,e[4]=o,e[5]=l,e[6]=a):a=e[6];const c=a;let b;e[7]===Symbol.for("react.memo_cache_sentinel")?(b=t.jsx(fe,{size:14}),e[7]=b):b=e[7];let u;e[8]!==m?(u=m("library.seeInLibrary.label"),e[8]=m,e[9]=u):u=e[9];let x;return e[10]!==c||e[11]!==u?(x=t.jsxs(Q,{variant:"ghost",size:"sm",onClick:c,className:"shrink-0 gap-1.5 text-xs text-muted-foreground",children:[b,u]}),e[10]=c,e[11]=u,e[12]=x):x=e[12],x}const Fe=j=>/\.html?$/i.test(j);function le(j){switch(j){case"dialog":return"h-11 py-1 pr-12 pl-2";case"panel":return"h-9 px-2";case"aside":return"h-12 gap-2 px-1.5";default:return j}}function ke(j){const e=E.c(12),{expanded:l,onToggle:m,placement:r}=j,p=D();let s;e[0]!==r?(s=V(r),e[0]=r,e[1]=s):s=e[1];const o=l?"library.previewContent.collapse":"library.previewContent.expand";let a;e[2]!==p||e[3]!==o?(a=p(o),e[2]=p,e[3]=o,e[4]=a):a=e[4];let c;e[5]!==l?(c=l?t.jsx(xe,{size:14}):t.jsx(he,{size:14}),e[5]=l,e[6]=c):c=e[6];let b;return e[7]!==m||e[8]!==s||e[9]!==a||e[10]!==c?(b=t.jsx(ae,{...s,label:a,tooltipSide:"bottom",onClick:m,children:c}),e[7]=m,e[8]=s,e[9]=a,e[10]=c,e[11]=b):b=e[11],b}function ie(j){const e=E.c(9),{onClose:l,placement:m}=j,r=m===void 0?"bar":m,p=D();let s;e[0]!==r?(s=V(r),e[0]=r,e[1]=s):s=e[1];let o;e[2]!==p?(o=p("library.previewContent.close"),e[2]=p,e[3]=o):o=e[3];let a;e[4]===Symbol.for("react.memo_cache_sentinel")?(a=t.jsx(pe,{size:14}),e[4]=a):a=e[4];let c;return e[5]!==l||e[6]!==s||e[7]!==o?(c=t.jsx(ae,{...s,label:o,tooltipSide:"bottom",onClick:l,children:a}),e[5]=l,e[6]=s,e[7]=o,e[8]=c):c=e[8],c}function _e(j){const e=E.c(92),{previewPath:l,onClose:m,expand:r,showSeeInLibrary:p,variant:s}=j,o=p===void 0?!1:p,a=D();let c;e[0]!==l?(c=Pe(l),e[0]=l,e[1]=c):c=e[1];const b=c,{volume:u,dirPath:x}=b,{data:f,isPending:A}=ve(u,x),H=we(u??"");let w,y,n,d,h,i,P,B;if(e[2]!==H||e[3]!==f||e[4]!==r||e[5]!==x||e[6]!==l||e[7]!==o||e[8]!==s){d=Ce(x),h=s==="dialog",i=r?.expanded?"topbar":s==="aside"?"aside":"bar";let g;e[17]!==i?(g=V(i),e[17]=i,e[18]=g):g=e[18],w=g;let T;e[19]!==r||e[20]!==i?(T=r?.onToggle&&t.jsx(ke,{expanded:r.expanded,onToggle:r.onToggle,placement:i}),e[19]=r,e[20]=i,e[21]=T):T=e[21],y=T;let v;e[22]!==l||e[23]!==o?(v=o?t.jsx(Ne,{previewPath:l}):null,e[22]=l,e[23]=o,e[24]=v):v=e[24],P=v,n=f&&f.kind==="file"?{key:l,filename:d,size:f.size,downloadUrl:H(f.path)}:null,B=n&&f&&Fe(d),e[2]=H,e[3]=f,e[4]=r,e[5]=x,e[6]=l,e[7]=o,e[8]=s,e[9]=w,e[10]=y,e[11]=n,e[12]=d,e[13]=h,e[14]=i,e[15]=P,e[16]=B}else w=e[9],y=e[10],n=e[11],d=e[12],h=e[13],i=e[14],P=e[15],B=e[16];if(B){let g;e[25]!==d||e[26]!==h?(g=h&&t.jsx(W,{className:"sr-only",children:d}),e[25]=d,e[26]=h,e[27]=g):g=e[27];const T=n.downloadUrl;let v;e[28]!==f?(v=ye(f),e[28]=f,e[29]=v):v=e[29];let z;e[30]!==s?(z=s==="panel"?void 0:le(s),e[30]=s,e[31]=z):z=e[31];const R=u==="home"?x:void 0,J=u??"",q=f.shareMode??"private",G=f.effectivePublic??!1,K=window.location.origin+n.downloadUrl;let S;e[32]!==x||e[33]!==i||e[34]!==q||e[35]!==G||e[36]!==K||e[37]!==J?(S=t.jsx(te,{volume:J,path:x,shareMode:q,effectivePublic:G,url:K,placement:i}),e[32]=x,e[33]=i,e[34]=q,e[35]=G,e[36]=K,e[37]=J,e[38]=S):S=e[38];let U;e[39]!==y||e[40]!==h||e[41]!==m||e[42]!==i?(U=!h&&t.jsxs(t.Fragment,{children:[y,t.jsx(ie,{onClose:m,placement:i})]}),e[39]=y,e[40]=h,e[41]=m,e[42]=i,e[43]=U):U=e[43];let I;e[44]!==P||e[45]!==S||e[46]!==U?(I=t.jsxs(t.Fragment,{children:[S,P,U]}),e[44]=P,e[45]=S,e[46]=U,e[47]=I):I=e[47];let L;e[48]!==n.downloadUrl||e[49]!==d||e[50]!==i||e[51]!==l||e[52]!==I||e[53]!==v||e[54]!==z||e[55]!==R?(L=t.jsx(ue,{readUrl:T,marker:v,toolbarClassName:z,title:d,placement:i,savePath:R,trailing:I},l),e[48]=n.downloadUrl,e[49]=d,e[50]=i,e[51]=l,e[52]=I,e[53]=v,e[54]=z,e[55]=R,e[56]=L):L=e[56];let _;return e[57]!==L||e[58]!==g?(_=t.jsxs(t.Fragment,{children:[g,L]}),e[57]=L,e[58]=g,e[59]=_):_=e[59],_}let C;e[60]!==w||e[61]!==f?.effectivePublic||e[62]!==f?.shareMode||e[63]!==n||e[64]!==x||e[65]!==i||e[66]!==a||e[67]!==u?(C=n&&t.jsxs(t.Fragment,{children:[t.jsx(te,{volume:u??"",path:x,shareMode:f?.shareMode??"private",effectivePublic:f?.effectivePublic??!1,url:window.location.origin+n.downloadUrl,placement:i}),t.jsxs(Y,{children:[t.jsx(Z,{asChild:!0,children:t.jsx(Q,{variant:w.variant,size:w.size,asChild:!0,children:t.jsx("a",{href:n.downloadUrl,download:n.filename,children:t.jsx(me,{size:14})})})}),t.jsx(ee,{side:"bottom",children:a("library.previewContent.download")})]}),t.jsxs(Y,{children:[t.jsx(Z,{asChild:!0,children:t.jsx(Q,{variant:w.variant,size:w.size,onClick:()=>window.open(n.downloadUrl,"_blank","noopener"),children:t.jsx(ce,{size:14})})}),t.jsx(ee,{side:"bottom",children:a("library.previewContent.openInNewTab")})]})]}),e[60]=w,e[61]=f?.effectivePublic,e[62]=f?.shareMode,e[63]=n,e[64]=x,e[65]=i,e[66]=a,e[67]=u,e[68]=C):C=e[68];let N;e[69]!==y||e[70]!==h||e[71]!==m||e[72]!==i?(N=!h&&t.jsxs(t.Fragment,{children:[y,t.jsx(ie,{onClose:m,placement:i})]}),e[69]=y,e[70]=h,e[71]=m,e[72]=i,e[73]=N):N=e[73];let $;e[74]!==C||e[75]!==N?($=t.jsxs(t.Fragment,{children:[C,N]}),e[74]=C,e[75]=N,e[76]=$):$=e[76];const M=$;let F;e[77]!==M||e[78]!==n||e[79]!==d||e[80]!==h||e[81]!==i||e[82]!==s?(F=i==="topbar"?t.jsx(de.Actions,{children:M}):t.jsxs("div",{className:X("flex shrink-0 items-center gap-1 border-b border-border/60",le(s)),children:[t.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-2 px-2",children:[t.jsx(se,{filename:d,className:"h-4.5 w-3.5 shrink-0"}),h?t.jsx(W,{className:"truncate text-xs font-medium text-foreground",children:d}):t.jsx("span",{className:X("truncate font-medium text-foreground",i==="aside"?"text-sm":"text-xs"),children:d}),n&&t.jsx("span",{className:"shrink-0 text-xs text-muted-foreground",children:je(n.size)})]}),M]}),e[77]=M,e[78]=n,e[79]=d,e[80]=h,e[81]=i,e[82]=s,e[83]=F):F=e[83];let k;e[84]!==n||e[85]!==d||e[86]!==A||e[87]!==a?(k=t.jsx("div",{className:"relative min-h-0 flex-1 bg-background",children:n?t.jsx(be,{file:n}):A?t.jsx(ge,{}):t.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-2",children:[t.jsx(se,{filename:d,className:"h-7.5 w-6"}),t.jsx("span",{className:"text-sm text-muted-foreground",children:a("library.previewContent.fileNotAvailable")})]})}),e[84]=n,e[85]=d,e[86]=A,e[87]=a,e[88]=k):k=e[88];let O;return e[89]!==F||e[90]!==k?(O=t.jsxs(t.Fragment,{children:[F,k]}),e[89]=F,e[90]=k,e[91]=O):O=e[91],O}export{_e as L};
@@ -1 +1 @@
1
- import{c as p,j as l,v as x,D as f}from"./index-PfzOl7J6.js";import{L as h}from"./preview-content-CdaarV-M.js";function g(c){const e=p.c(9),{previewPath:r,onClose:o,showSeeInLibrary:n}=c,a=n===void 0?!1:n;let i;e[0]!==o?(i=m=>{m||o()},e[0]=o,e[1]=i):i=e[1];let s;e[2]!==o||e[3]!==r||e[4]!==a?(s=l.jsx(x,{className:"flex h-[88vh] w-[94vw] max-w-none! flex-col gap-0 overflow-hidden p-0 sm:max-w-5xl!",closeButtonClassName:"top-2 right-3",children:l.jsx(h,{previewPath:r,onClose:o,showSeeInLibrary:a,variant:"dialog"})}),e[2]=o,e[3]=r,e[4]=a,e[5]=s):s=e[5];let t;return e[6]!==i||e[7]!==s?(t=l.jsx(f,{open:!0,onOpenChange:i,children:s}),e[6]=i,e[7]=s,e[8]=t):t=e[8],t}export{g as L};
1
+ import{c as p,j as l,v as x,D as f}from"./index-D8HDDDUz.js";import{L as h}from"./preview-content-Dg6p6zYi.js";function g(c){const e=p.c(9),{previewPath:r,onClose:o,showSeeInLibrary:n}=c,a=n===void 0?!1:n;let i;e[0]!==o?(i=m=>{m||o()},e[0]=o,e[1]=i):i=e[1];let s;e[2]!==o||e[3]!==r||e[4]!==a?(s=l.jsx(x,{className:"flex h-[88vh] w-[94vw] max-w-none! flex-col gap-0 overflow-hidden p-0 sm:max-w-5xl!",closeButtonClassName:"top-2 right-3",children:l.jsx(h,{previewPath:r,onClose:o,showSeeInLibrary:a,variant:"dialog"})}),e[2]=o,e[3]=r,e[4]=a,e[5]=s):s=e[5];let t;return e[6]!==i||e[7]!==s?(t=l.jsx(f,{open:!0,onOpenChange:i,children:s}),e[6]=i,e[7]=s,e[8]=t):t=e[8],t}export{g as L};
@@ -1 +1 @@
1
- import{c as p,j as c}from"./index-PfzOl7J6.js";import{L as x}from"./preview-content-CdaarV-M.js";function u(f){const e=p.c(6),{previewPath:i,onClose:o,showSeeInLibrary:n,expand:a,variant:l}=f,s=n===void 0?!1:n,t=l===void 0?"panel":l;let r;return e[0]!==a||e[1]!==o||e[2]!==i||e[3]!==s||e[4]!==t?(r=c.jsx("div",{className:"flex h-full w-full flex-col bg-background",children:c.jsx(x,{previewPath:i,onClose:o,showSeeInLibrary:s,expand:a,variant:t})}),e[0]=a,e[1]=o,e[2]=i,e[3]=s,e[4]=t,e[5]=r):r=e[5],r}export{u as L};
1
+ import{c as p,j as c}from"./index-D8HDDDUz.js";import{L as x}from"./preview-content-Dg6p6zYi.js";function u(f){const e=p.c(6),{previewPath:i,onClose:o,showSeeInLibrary:n,expand:a,variant:l}=f,s=n===void 0?!1:n,t=l===void 0?"panel":l;let r;return e[0]!==a||e[1]!==o||e[2]!==i||e[3]!==s||e[4]!==t?(r=c.jsx("div",{className:"flex h-full w-full flex-col bg-background",children:c.jsx(x,{previewPath:i,onClose:o,showSeeInLibrary:s,expand:a,variant:t})}),e[0]=a,e[1]=o,e[2]=i,e[3]=s,e[4]=t,e[5]=r):r=e[5],r}export{u as L};