decocms 4.429.8 → 4.429.9

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 (351) hide show
  1. package/dist/client/assets/{AlertCircle-BPWFw30Y.js → AlertCircle-D6fR9-Kh.js} +1 -1
  2. package/dist/client/assets/{AreaChart-CAA2YCPw.js → AreaChart-D3g6jK1A.js} +1 -1
  3. package/dist/client/assets/{ArrowLeft-C1Np7l80.js → ArrowLeft-DiOkGCI1.js} +1 -1
  4. package/dist/client/assets/{ArrowRight-DGBxMQZi.js → ArrowRight-DNObFWEA.js} +1 -1
  5. package/dist/client/assets/{ArrowUp-BSQMJUNU.js → ArrowUp-Qm1_vfBa.js} +1 -1
  6. package/dist/client/assets/{CartesianChart-fY4iowYp.js → CartesianChart-CIQ2bcnU.js} +1 -1
  7. package/dist/client/assets/{Check-DGVUDsng.js → Check-p5ZrYqb6.js} +1 -1
  8. package/dist/client/assets/{CheckCircle-DPozMvfp.js → CheckCircle-DjVa5rwp.js} +1 -1
  9. package/dist/client/assets/{ChevronUp-Dx-xgAbo.js → ChevronUp-CQ_Ndmgv.js} +1 -1
  10. package/dist/client/assets/{Copy01-DQFRuoOd.js → Copy01-no2ZZAoV.js} +1 -1
  11. package/dist/client/assets/{CreditCard01-ohLT4IEZ.js → CreditCard01-BPdTH-LK.js} +1 -1
  12. package/dist/client/assets/{DotsVertical-BYZMKmPP.js → DotsVertical-FLvQTkZX.js} +1 -1
  13. package/dist/client/assets/{ErrorBarContext-D_B-IHhG.js → ErrorBarContext-Bf9yjefH.js} +1 -1
  14. package/dist/client/assets/{Image01-xBP2ZHrx.js → Image01-Bjku8bco.js} +1 -1
  15. package/dist/client/assets/{Key01-VcWuZhCm.js → Key01-D548PT0E.js} +1 -1
  16. package/dist/client/assets/{Line-l0icxBWF.js → Line-BSHtBz42.js} +1 -1
  17. package/dist/client/assets/{Link01-D02n7wSm.js → Link01-DX6Qdft3.js} +1 -1
  18. package/dist/client/assets/{LinkExternal01-D3dBS4Z1.js → LinkExternal01-o2rJBAh0.js} +1 -1
  19. package/dist/client/assets/{Monitor01-CyGiLVoI.js → Monitor01-De6BgGjU.js} +1 -1
  20. package/dist/client/assets/{Palette-DKn4Hrr5.js → Palette-CTKkYfpz.js} +1 -1
  21. package/dist/client/assets/{Plus-dYA6JWEu.js → Plus-7DucV5vT.js} +1 -1
  22. package/dist/client/assets/{SearchMd-BM3_EYje.js → SearchMd-QN2wlvPm.js} +1 -1
  23. package/dist/client/assets/{Sector-DX3klbNU.js → Sector-6zmPiR9T.js} +1 -1
  24. package/dist/client/assets/{ShoppingBag01-CEcvyJ6W.js → ShoppingBag01-D7jpE92Z.js} +1 -1
  25. package/dist/client/assets/{Sun-W1yLnKZh.js → Sun-CF1vsofy.js} +1 -1
  26. package/dist/client/assets/{Tool01-BSDHf5JL.js → Tool01-7fCUFk4M.js} +1 -1
  27. package/dist/client/assets/{Trash01-DkeB66GN.js → Trash01-CiA3gHsE.js} +1 -1
  28. package/dist/client/assets/{Upload01-CZBKBhgh.js → Upload01-aKM-oPPY.js} +1 -1
  29. package/dist/client/assets/{User01-1ovwjJcE.js → User01-vQ2joBqZ.js} +1 -1
  30. package/dist/client/assets/{UserSquare-D1XfynWn.js → UserSquare-D6OSjogb.js} +1 -1
  31. package/dist/client/assets/{Users01-DnklDpda.js → Users01-C3PXAlQO.js} +1 -1
  32. package/dist/client/assets/{X-CUqxRBsx.js → X-DCDQ3QOD.js} +1 -1
  33. package/dist/client/assets/{XAxis-CHwmVXsN.js → XAxis-QiWeOkaO.js} +1 -1
  34. package/dist/client/assets/{XClose-BO5iJL1n.js → XClose-DPKustWd.js} +1 -1
  35. package/dist/client/assets/{ZoomOut-DSC2l99t.js → ZoomOut-Cx0_RhkV.js} +1 -1
  36. package/dist/client/assets/{access-gate-B7y91LOE.js → access-gate-da5dSFPS.js} +1 -1
  37. package/dist/client/assets/{add-connection-dialog-DIQ3K8E0.js → add-connection-dialog-DZDyC_s4.js} +1 -1
  38. package/dist/client/assets/{agent-analytics-C_UBa8xp.js → agent-analytics-FvD3tKln.js} +1 -1
  39. package/dist/client/assets/agent-app-BhmwaXpz.js +1 -0
  40. package/dist/client/assets/{agent-assets-IS7vlJpO.js → agent-assets-BOqP65qC.js} +1 -1
  41. package/dist/client/assets/{agent-automation-DBg1Qxtt.js → agent-automation-DGwvVKUF.js} +1 -1
  42. package/dist/client/assets/{agent-automations-CCsas9Ob.js → agent-automations-DrLCjBc3.js} +1 -1
  43. package/dist/client/assets/{agent-connect-sources-RxxST_Ho.js → agent-connect-sources-B6lH7pxN.js} +1 -1
  44. package/dist/client/assets/agent-deck-Cyl90eqt.js +1 -0
  45. package/dist/client/assets/{agent-e2e-BV7QrvLC.js → agent-e2e-CN41euIX.js} +1 -1
  46. package/dist/client/assets/{agent-experiments-ddAD-Vlx.js → agent-experiments-CI9HL_qf.js} +1 -1
  47. package/dist/client/assets/{agent-file-BM5YTf9z.js → agent-file-DG6THDTg.js} +1 -1
  48. package/dist/client/assets/{agent-git-DX-nVDbp.js → agent-git-BEB-ZRI3.js} +1 -1
  49. package/dist/client/assets/{agent-hosting-BIGuRsdo.js → agent-hosting-B7gL6NW3.js} +1 -1
  50. package/dist/client/assets/{agent-icon-CVukswrp.js → agent-icon-CU0i04so.js} +1 -1
  51. package/dist/client/assets/agent-library-Ev_ZnLTN.js +1 -0
  52. package/dist/client/assets/agent-library-file-CVAOCG3S.js +1 -0
  53. package/dist/client/assets/{agent-monitor-DcNBD7-f.js → agent-monitor-CvE7W-kh.js} +1 -1
  54. package/dist/client/assets/{agent-overview-CcMg5eNy.js → agent-overview-ymvObxGX.js} +1 -1
  55. package/dist/client/assets/agent-settings-Dg4hz_AU.js +1 -0
  56. package/dist/client/assets/{agent-site-editor-BTRaLOx1.js → agent-site-editor-VM0cGdql.js} +1 -1
  57. package/dist/client/assets/agent-site-editor-code-IIouddwd.js +2 -0
  58. package/dist/client/assets/{agent-site-editor-content-gOjQLcOO.js → agent-site-editor-content-C1bhzwk0.js} +3 -3
  59. package/dist/client/assets/{agent-site-editor-preview-BKDUppOs.js → agent-site-editor-preview-CMRwVo8Z.js} +3 -3
  60. package/dist/client/assets/agent-view-5kLPHs5Y.js +1 -0
  61. package/dist/client/assets/{agent-view-guard-COUKncUf.js → agent-view-guard-ONCvFPsE.js} +1 -1
  62. package/dist/client/assets/{agents-list-CizjATs6.js → agents-list-Ccm2cM2d.js} +1 -1
  63. package/dist/client/assets/{ai-providers-C6lStKqT.js → ai-providers-Dg72o8bX.js} +1 -1
  64. package/dist/client/assets/{alert-dialog-BbgyWGLa.js → alert-dialog-D2qUdh2f.js} +1 -1
  65. package/dist/client/assets/{alert-fryLlmpS.js → alert-zg70ln5j.js} +1 -1
  66. package/dist/client/assets/{analytics-sections-wXdskva2.js → analytics-sections-F1MA5NJa.js} +1 -1
  67. package/dist/client/assets/api-keys-CNrhvLa5.js +1 -0
  68. package/dist/client/assets/{api-keys-BUBndkZS.js → api-keys-Ddl2zKRP.js} +1 -1
  69. package/dist/client/assets/{app-editor-DlS19okx.js → app-editor-DhlDIvP_.js} +1 -1
  70. package/dist/client/assets/{asset-utils-D012nYIW.js → asset-utils-DdnFk1ID.js} +1 -1
  71. package/dist/client/assets/{auth-CmfN_EYo.js → auth-BME_-CgD.js} +1 -1
  72. package/dist/client/assets/{auth-catchall-JCuuYXaP.js → auth-catchall-Dvxy-XoT.js} +1 -1
  73. package/dist/client/assets/{auth-entry-fKsqaY4z.js → auth-entry-BJqMofGi.js} +1 -1
  74. package/dist/client/assets/{auth-split-layout-BTkqtr5f.js → auth-split-layout-D8xVEYCp.js} +1 -1
  75. package/dist/client/assets/{authenticate-and-persist-oauth-S_hKf37R.js → authenticate-and-persist-oauth-BoehZcx9.js} +1 -1
  76. package/dist/client/assets/{automation-list-row-BsLpyrFy.js → automation-list-row-DdsKAMX_.js} +1 -1
  77. package/dist/client/assets/{automation-runs-CqDQ8gYB.js → automation-runs-ByAFFz8U.js} +1 -1
  78. package/dist/client/assets/{automations-jx30sEtg.js → automations-DgDBnY3i.js} +1 -1
  79. package/dist/client/assets/{autosend-D-GsqY6t.js → autosend-CTahflnC.js} +1 -1
  80. package/dist/client/assets/{avatar-CkHGUUf8.js → avatar-BrhFB-vr.js} +1 -1
  81. package/dist/client/assets/{badge-CBm5j36S.js → badge-B9v8v8eG.js} +1 -1
  82. package/dist/client/assets/{block-document-BA8kVFgA.js → block-document-Bkth-ApC.js} +1 -1
  83. package/dist/client/assets/{blocks-preview-workspace-context-DGmW3Fxo.js → blocks-preview-workspace-context-BwDAcqvZ.js} +1 -1
  84. package/dist/client/assets/{buckets-CPVm6dq-.js → buckets-J5lW_PXM.js} +1 -1
  85. package/dist/client/assets/{build-improve-prompt-doc-D2fhKKHm.js → build-improve-prompt-doc-C4UobK7K.js} +1 -1
  86. package/dist/client/assets/{calendar-DU-h66VX.js → calendar-DTTqJkwq.js} +1 -1
  87. package/dist/client/assets/{capability-load-error-CEmIMpE4.js → capability-load-error-tbPsNSsn.js} +1 -1
  88. package/dist/client/assets/{category-editor-CQ8I-ecs.js → category-editor-CzagSeDk.js} +1 -1
  89. package/dist/client/assets/{chart-CzM18YwD.js → chart-C3Z9gE6e.js} +1 -1
  90. package/dist/client/assets/{chat-context-C3hVS0de.js → chat-context-D1RQ0hn6.js} +1 -1
  91. package/dist/client/assets/{chat-draft-fLjwJ5Hh.js → chat-draft-Rop4w833.js} +1 -1
  92. package/dist/client/assets/{checkbox-DuWFKo7e.js → checkbox-CdMaRU6A.js} +1 -1
  93. package/dist/client/assets/{choose-editor-CVXPPGOF.js → choose-editor-CFBBTZj5.js} +1 -1
  94. package/dist/client/assets/{claim-phase-copy-DHh-Z4dq.js → claim-phase-copy-DbTpDsdS.js} +1 -1
  95. package/dist/client/assets/{cli-auth-success-CX9oJNCQ.js → cli-auth-success-OgyK1vp5.js} +1 -1
  96. package/dist/client/assets/{client-icons-DBv2U4q1.js → client-icons-CjK-B4SQ.js} +1 -1
  97. package/dist/client/assets/{collapsible-pBErnma6.js → collapsible-DCazOdpt.js} +1 -1
  98. package/dist/client/assets/{collection-detail-B5Zppcr-.js → collection-detail-BNiGcnH_.js} +1 -1
  99. package/dist/client/assets/{collection-display-button-CWW4vtqe.js → collection-display-button-B8SvlYyL.js} +1 -1
  100. package/dist/client/assets/{collection-search-Cu6mdFc9.js → collection-search-BF8lJCHd.js} +1 -1
  101. package/dist/client/assets/{collection-table-wrapper-DWD8ATfY.js → collection-table-wrapper-CuE_VJ7G.js} +1 -1
  102. package/dist/client/assets/{collection-tabs-CxjbMhMP.js → collection-tabs-D3itJSz3.js} +1 -1
  103. package/dist/client/assets/{combobox-CdWf6S27.js → combobox-Bw5wYR-0.js} +1 -1
  104. package/dist/client/assets/{command-B0FcnMrN.js → command-B--xK9e7.js} +1 -1
  105. package/dist/client/assets/{companion-mcps-section-qfSfHhwD.js → companion-mcps-section-C-Jd6iHr.js} +1 -1
  106. package/dist/client/assets/{config-BEkXNgoD.js → config-DQXaNT9g.js} +1 -1
  107. package/dist/client/assets/{connect-DmLYXHPo.js → connect-B5I2xOR7.js} +1 -1
  108. package/dist/client/assets/{connect-layout-DFqg0UIS.js → connect-layout-DzGD_Odc.js} +1 -1
  109. package/dist/client/assets/{connection-Dt0tY2F4.js → connection--ml1d00t.js} +1 -1
  110. package/dist/client/assets/{connection-card-s29v5Xgm.js → connection-card-wiltHPZ1.js} +1 -1
  111. package/dist/client/assets/{connection-detail-k_YD63Wu.js → connection-detail-pIzH_4h3.js} +1 -1
  112. package/dist/client/assets/{connection-form-helpers-BsI8Ydhc.js → connection-form-helpers-goLtSvt6.js} +1 -1
  113. package/dist/client/assets/{connections-B-XDec5n.js → connections-JUHnLgfe.js} +1 -1
  114. package/dist/client/assets/{context-BVlk-Hgr.js → context-PWYHxIhk.js} +1 -1
  115. package/dist/client/assets/{context-menu-Bwge98pj.js → context-menu-CZLB6_c8.js} +1 -1
  116. package/dist/client/assets/{create-organization-dialog-BIkiND_W.js → create-organization-dialog-CO0wJH61.js} +1 -1
  117. package/dist/client/assets/{daily-pulse-55VmO1Ni.js → daily-pulse-BaFwFPPZ.js} +1 -1
  118. package/dist/client/assets/{decopilot-DArX9K3U.js → decopilot-BSgekotY.js} +1 -1
  119. package/dist/client/assets/{dialog-981FcUFV.js → dialog-DQNNu_f1.js} +1 -1
  120. package/dist/client/assets/{discover-BjC1YQ0y.js → discover-BfrAOTVO.js} +1 -1
  121. package/dist/client/assets/{domain-settings-DrHrHUJ2.js → domain-settings-BEcdmXJZ.js} +1 -1
  122. package/dist/client/assets/{download-app-dialog-DB9kXeen.js → download-app-dialog-CD7kK8MH.js} +1 -1
  123. package/dist/client/assets/{drawer-D7gPAVb5.js → drawer-BzY4tdXy.js} +1 -1
  124. package/dist/client/assets/{editor-D9x6JzLp.js → editor-CJ05XGg1.js} +1 -1
  125. package/dist/client/assets/{empty-state-BcEP8mic.js → empty-state-CadUnitN.js} +1 -1
  126. package/dist/client/assets/{empty-state-BC0Pr_GN.js → empty-state-CtEq3xuD.js} +1 -1
  127. package/dist/client/assets/{extract-connection-data-CTli2uf-.js → extract-connection-data-BhLqPUG4.js} +1 -1
  128. package/dist/client/assets/{feature-gate-Bt7kPGpJ.js → feature-gate-DNLsHU30.js} +1 -1
  129. package/dist/client/assets/{feature-paywall-DTQwGkst.js → feature-paywall-D0PH-I-M.js} +1 -1
  130. package/dist/client/assets/{file-explorer-Cv46X7_h.js → file-explorer-DLGs4T_f.js} +1 -1
  131. package/dist/client/assets/{file-preview-5uYjTxUu.js → file-preview-CigrKhHQ.js} +1 -1
  132. package/dist/client/assets/{file-share-button-DnP0YBPr.js → file-share-button-CIGySu_4.js} +1 -1
  133. package/dist/client/assets/{file-type-icon-DpYO8yNA.js → file-type-icon-D4fy_gBA.js} +1 -1
  134. package/dist/client/assets/flat-project-D7xgVWbZ.js +1 -0
  135. package/dist/client/assets/{folder-icon-90cH1Huc.js → folder-icon-BesYWk0I.js} +1 -1
  136. package/dist/client/assets/{form-DGJByngE.js → form-PPys9GfZ.js} +1 -1
  137. package/dist/client/assets/{gateway-client-Dn5Sn1Bi.js → gateway-client-B_5Pnywu.js} +1 -1
  138. package/dist/client/assets/{general-BR5XxUUy.js → general-CylsKp5I.js} +1 -1
  139. package/dist/client/assets/{home-CK-uz6pM.js → home-BaaBv835.js} +1 -1
  140. package/dist/client/assets/{icon-button-CxYsqTGi.js → icon-button-BQIN0baN.js} +1 -1
  141. package/dist/client/assets/{index-BneTwVPc.js → index-5C5Y6fog.js} +1 -1
  142. package/dist/client/assets/{index-BNhfBqGz.js → index-C6j8vkbx.js} +1 -1
  143. package/dist/client/assets/{index-qyUwwbUY.js → index-CKELzPxK.js} +1 -1
  144. package/dist/client/assets/{index-7wsTRZPi.js → index-CZzS4-kW.js} +1 -1
  145. package/dist/client/assets/{index-v6z_jpHp.js → index-CqBgee54.js} +1 -1
  146. package/dist/client/assets/{index-DVnvCK2x.js → index-D8-n4neo.js} +1 -1
  147. package/dist/client/assets/{index-DbofHrGk.js → index-D94jgO7k.js} +1 -1
  148. package/dist/client/assets/index-DHuw79Pq.js +10 -0
  149. package/dist/client/assets/{index-BKpxfp4b.js → index-DR9xwPLz.js} +1 -1
  150. package/dist/client/assets/{index-B2PBBMm5.js → index-DYebWDZA.js} +1 -1
  151. package/dist/client/assets/{index-CM9Ta48l.js → index-DYpm1LTw.js} +1 -1
  152. package/dist/client/assets/{index-CIiAvcWG.js → index-DZBQ5pnK.js} +46 -46
  153. package/dist/client/assets/{index-BCVgDGdh.js → index-DsDNebU_.js} +1 -1
  154. package/dist/client/assets/{index-BrJzbRLf.js → index-Dzu1eSUT.js} +1 -1
  155. package/dist/client/assets/{index-D4ShfiXr.js → index-O3cKdi88.js} +1 -1
  156. package/dist/client/assets/{index-redirect-COUo_Feg.js → index-redirect-BnyH-Hi_.js} +1 -1
  157. package/dist/client/assets/{infiniteQueryObserver-8xsAtk_P.js → infiniteQueryObserver-Db8Je-eI.js} +1 -1
  158. package/dist/client/assets/{infra-billing-bF0pggIN.js → infra-billing-CO97-my3.js} +1 -1
  159. package/dist/client/assets/{input-Cj2SxRNl.js → input-5TfImLgg.js} +3 -3
  160. package/dist/client/assets/{input-Dkgjo-no.js → input-BiNRWxFp.js} +1 -1
  161. package/dist/client/assets/{input-CVQ4WdYV.js → input-D7Pveqzt.js} +1 -1
  162. package/dist/client/assets/{integration-icon-DrnOmABe.js → integration-icon-Dznni3P6.js} +1 -1
  163. package/dist/client/assets/{label-N1oerRtD.js → label-CbGYdCUa.js} +1 -1
  164. package/dist/client/assets/{last-preview-page-DLgzrtgX.js → last-preview-page-B66iZ_7L.js} +1 -1
  165. package/dist/client/assets/{layout-Z4W46w3l.js → layout-JghjWMYu.js} +1 -1
  166. package/dist/client/assets/{legacy-agents-deep-DuFiaTiv.js → legacy-agents-deep-DwiyiXhB.js} +1 -1
  167. package/dist/client/assets/{legacy-main-redirect-Dd5UZNZm.js → legacy-main-redirect-vYtsnLSf.js} +1 -1
  168. package/dist/client/assets/library-Cj7GFkYr.js +1 -0
  169. package/dist/client/assets/{library-tab-CwMRtmcC.js → library-tab-BXidRO6s.js} +1 -1
  170. package/dist/client/assets/{login-DkO6FCmv.js → login-BHm4mxjj.js} +1 -1
  171. package/dist/client/assets/{markdown-CBLl3YtG.js → markdown-toDOgADF.js} +1 -1
  172. package/dist/client/assets/{mcp-app-renderer-CnaaMo_m.js → mcp-app-renderer-Bom1W11v.js} +1 -1
  173. package/dist/client/assets/{mcp-oauth-C3LAdXRP.js → mcp-oauth-DMXsQOs9.js} +1 -1
  174. package/dist/client/assets/{members-XZnrtGG7.js → members-DiAGMgH5.js} +1 -1
  175. package/dist/client/assets/{message-templates-BXGfZV7B.js → message-templates-D5rRhch8.js} +1 -1
  176. package/dist/client/assets/{mini-report-page-CN2p7hfP.js → mini-report-page-DjC3-YlE.js} +1 -1
  177. package/dist/client/assets/{mock-board-kG4CXYz4.js → mock-board-CKJpTOR8.js} +1 -1
  178. package/dist/client/assets/{monaco-editor-DnxfYB1P.js → monaco-editor-XLslvLAa.js} +1 -1
  179. package/dist/client/assets/{monitoring-stats-row-Bk52yfTH.js → monitoring-stats-row-C5wJXWvg.js} +1 -1
  180. package/dist/client/assets/{multi-select-TcQ8XqzQ.js → multi-select-CK1qihl4.js} +1 -1
  181. package/dist/client/assets/{mustache-4MHU37jy.js → mustache-DVPV68lR.js} +1 -1
  182. package/dist/client/assets/{new-project-dialog-BcoEFiVn.js → new-project-dialog-BkEZfgZM.js} +1 -1
  183. package/dist/client/assets/{oauth-callback-BzTEwUv6.js → oauth-callback-DxIQPlFn.js} +1 -1
  184. package/dist/client/assets/{oauth-callback-ai-provider-BLAS3-mv.js → oauth-callback-ai-provider-Cux-r-iC.js} +1 -1
  185. package/dist/client/assets/{onboarding-DruR_H3C.js → onboarding-D_3hO5Zi.js} +1 -1
  186. package/dist/client/assets/{openai-conversation-Cd03-W1Q.js → openai-conversation-oM48RqXg.js} +1 -1
  187. package/dist/client/assets/{optimistic-project-sidebar-views-CTfphxuT.js → optimistic-project-sidebar-views-BxEtZaho.js} +1 -1
  188. package/dist/client/assets/{org-file-open-context-Cxc2TYRe.js → org-file-open-context-BkAoUQAN.js} +1 -1
  189. package/dist/client/assets/{organization-choice-z6dHOilK.js → organization-choice-B23Ys-4G.js} +1 -1
  190. package/dist/client/assets/{orgs-C4yeAv-N.js → orgs-Bi6PVtkA.js} +1 -1
  191. package/dist/client/assets/{page-seo-form-BvfI3jA2.js → page-seo-form-gzaghpQQ.js} +1 -1
  192. package/dist/client/assets/{pair-DKME0iip.js → pair-C-DSqZ6u.js} +1 -1
  193. package/dist/client/assets/{plan-ladder-CtY-5qDl.js → plan-ladder-BX8e_J6O.js} +1 -1
  194. package/dist/client/assets/{popover--Wi5DF9e.js → popover-DHUcPo1r.js} +1 -1
  195. package/dist/client/assets/{post-calendar-DyB5jIhl.js → post-calendar-BuVcXO7I.js} +1 -1
  196. package/dist/client/assets/{post-editor-CWq1_B2b.js → post-editor-DRKVpniU.js} +1 -1
  197. package/dist/client/assets/{preview-content-CoMvucOQ.js → preview-content-C2zuZls8.js} +1 -1
  198. package/dist/client/assets/{preview-dialog-BRelblfU.js → preview-dialog-Div-6vzY.js} +1 -1
  199. package/dist/client/assets/{profile-qGtoEL2S.js → profile-w-U1YUy-.js} +1 -1
  200. package/dist/client/assets/{project-app-view-DtWKRd7S.js → project-app-view-CTkkJXZf.js} +1 -1
  201. package/dist/client/assets/{project-feed-DVEnCHLt.js → project-feed-CIKKDaUv.js} +1 -1
  202. package/dist/client/assets/{project-icon-Tpmdby5m.js → project-icon-Dv5T9UXQ.js} +1 -1
  203. package/dist/client/assets/project-reports-R2nxKE9N.js +1 -0
  204. package/dist/client/assets/project-tasks-B-TqLh_E.js +1 -0
  205. package/dist/client/assets/{projects-Dc20shMU.js → projects-0mPeWaUw.js} +1 -1
  206. package/dist/client/assets/{projects-empty-state-BbmwRWtE.js → projects-empty-state-qRbFEP1a.js} +1 -1
  207. package/dist/client/assets/{prompts-CjF2ixfg.js → prompts-FPQYcY8_.js} +1 -1
  208. package/dist/client/assets/record-editor-BdDJOWw7.js +1 -0
  209. package/dist/client/assets/{redirect-editor-B7RchFXt.js → redirect-editor-DGJ9lwKX.js} +1 -1
  210. package/dist/client/assets/{reports-BwpFRTcK.js → reports-BmFsfB-t.js} +1 -1
  211. package/dist/client/assets/reports-DsLoZ4VI.js +1 -0
  212. package/dist/client/assets/{reports-onboarding-D2NxSY78.js → reports-onboarding-6XVICcRr.js} +1 -1
  213. package/dist/client/assets/{reports-tab-9rzLeJmo.js → reports-tab-CKAtnV_W.js} +2 -2
  214. package/dist/client/assets/{repositories-Be2JEwJv.js → repositories-Kx63fHV7.js} +1 -1
  215. package/dist/client/assets/{repository-binding-DIc-R_cY.js → repository-binding-D2nl3E9m.js} +1 -1
  216. package/dist/client/assets/{repository-import-picker-JIjXW187.js → repository-import-picker-C4UUR7Lt.js} +1 -1
  217. package/dist/client/assets/{repository-picker-Dpz83DP6.js → repository-picker-C9g49n3G.js} +1 -1
  218. package/dist/client/assets/{require-capability-CSIAo27d.js → require-capability-DGjTQApq.js} +1 -1
  219. package/dist/client/assets/{required-auth-layout-1L2HBtO3.js → required-auth-layout-DH23GR15.js} +1 -1
  220. package/dist/client/assets/{reset-password-BXYcm-fX.js → reset-password-BwSzqw0H.js} +1 -1
  221. package/dist/client/assets/{resizable-qiXb7fIZ.js → resizable-MsT9Iquy.js} +1 -1
  222. package/dist/client/assets/{resolve-tab-icon-DPLh-zbJ.js → resolve-tab-icon-Cx-bOLi-.js} +1 -1
  223. package/dist/client/assets/{review-settings-B9Rx45NB.js → review-settings-D9CPsAF9.js} +1 -1
  224. package/dist/client/assets/{rich-text-link-control-B51D7Rx5.js → rich-text-link-control-DfuAHVFX.js} +1 -1
  225. package/dist/client/assets/{roles-B_4dwcRx.js → roles-DKVk8OJh.js} +1 -1
  226. package/dist/client/assets/{route-BuFeOUix.js → route-CHyxOjjb.js} +1 -1
  227. package/dist/client/assets/route-XD1IeFV8.js +1 -0
  228. package/dist/client/assets/{route-CR7Ksitq.js → route-cksgldWz.js} +1 -1
  229. package/dist/client/assets/{runnable-block-editor-CxTqWUp6.js → runnable-block-editor-oGO4SpDx.js} +1 -1
  230. package/dist/client/assets/{sandbox-lifecycle-context-qzIIsFTT.js → sandbox-lifecycle-context-DeDlVqJ-.js} +1 -1
  231. package/dist/client/assets/{schema-D66gfZCk.js → schema-C5Lr3NgE.js} +1 -1
  232. package/dist/client/assets/{scroll-area-B-hA6GW9.js → scroll-area-Bjp7MJ8C.js} +1 -1
  233. package/dist/client/assets/{search-input-wZIO1RDr.js → search-input-_rysHpm7.js} +1 -1
  234. package/dist/client/assets/{search-toggle-Cms-JY9u.js → search-toggle-D88qbPIv.js} +1 -1
  235. package/dist/client/assets/{secret-picker-CqnjBo_e.js → secret-picker-5ZvS8PcI.js} +1 -1
  236. package/dist/client/assets/{secrets-wNs7ee6y.js → secrets-BR1Uct_E.js} +1 -1
  237. package/dist/client/assets/{sections-editor-DunednHg.js → sections-editor-EcDLaZRZ.js} +1 -1
  238. package/dist/client/assets/{select-By3KVHVy.js → select-Cz-o9PEJ.js} +1 -1
  239. package/dist/client/assets/{select-model-BFI5ssw7.js → select-model-BuAbRLcQ.js} +1 -1
  240. package/dist/client/assets/{seo-editor-C_Xk_qm-.js → seo-editor-CHNZw1_K.js} +1 -1
  241. package/dist/client/assets/{separator-yzgxf-R8.js → separator-BkBMsQ_7.js} +1 -1
  242. package/dist/client/assets/{settings-tab-Ba8BEiXj.js → settings-tab-D9bw6k3t.js} +1 -1
  243. package/dist/client/assets/{sheet-CxiW0gx4.js → sheet-DsThkx1E.js} +1 -1
  244. package/dist/client/assets/{shell-layout-CSX81eKT.js → shell-layout-DBvOp7at.js} +1 -1
  245. package/dist/client/assets/{skills-DvXwGRSE.js → skills-B_K2qpIo.js} +1 -1
  246. package/dist/client/assets/{sso-DlKZngsX.js → sso-DTHpDJVQ.js} +1 -1
  247. package/dist/client/assets/{suggestion-6BFWtM2J.js → suggestion-BoL4aGbo.js} +1 -1
  248. package/dist/client/assets/{switch-DHXmd4Or.js → switch-DcWJRerK.js} +1 -1
  249. package/dist/client/assets/{synced-repos-7KeolrmF.js → synced-repos-CACQuO21.js} +1 -1
  250. package/dist/client/assets/{tab-icon-glyph-C7siHAnX.js → tab-icon-glyph-CtbRVkli.js} +1 -1
  251. package/dist/client/assets/{table-DHqTjl_s.js → table-wfzNVXjf.js} +1 -1
  252. package/dist/client/assets/{tabs-DqpPMk9O.js → tabs-Cjw7-YIz.js} +1 -1
  253. package/dist/client/assets/{task-board-CIgxPO1l.js → task-board-UgijzwOv.js} +1 -1
  254. package/dist/client/assets/{task-route-DwIRxvX5.js → task-route-BJNk9z_I.js} +1 -1
  255. package/dist/client/assets/{task-status-CDj3dp88.js → task-status-BTLSYdOf.js} +1 -1
  256. package/dist/client/assets/{taskboard-analytics-0JUjBPJA.js → taskboard-analytics-B_uCO32V.js} +1 -1
  257. package/dist/client/assets/tasks-BMYAskJr.js +1 -0
  258. package/dist/client/assets/{tasks-B_HAsUCx.js → tasks-D-IkMJYR.js} +1 -1
  259. package/dist/client/assets/{textarea-CHue-RUS.js → textarea-yG3fP7UK.js} +1 -1
  260. package/dist/client/assets/{thread-analytics-ptX5wia8.js → thread-analytics-BrZzoT4x.js} +1 -1
  261. package/dist/client/assets/{thread-intent-CJVc2XEC.js → thread-intent-D45ZuXub.js} +1 -1
  262. package/dist/client/assets/{thread-route-CzwVPyjv.js → thread-route-Cc8Rnkyi.js} +1 -1
  263. package/dist/client/assets/{thread-route-CoOIgB-z.js → thread-route-hhzohhx0.js} +1 -1
  264. package/dist/client/assets/{thread-sheet-body-BoPh4AkS.js → thread-sheet-body-GfOZtMv2.js} +1 -1
  265. package/dist/client/assets/{toggle-group-kcj6GhDw.js → toggle-group-hKLMSDYW.js} +1 -1
  266. package/dist/client/assets/{toolbar-icon-button-B_Og0Pr4.js → toolbar-icon-button-CmvWHMWS.js} +1 -1
  267. package/dist/client/assets/{tooltip-dix7BYUn.js → tooltip-V0jMCwI1.js} +1 -1
  268. package/dist/client/assets/{track-BRPL2BsM.js → track-ClA9bvTA.js} +1 -1
  269. package/dist/client/assets/{types-oP_e3KQP.js → types-Bfx6WemM.js} +1 -1
  270. package/dist/client/assets/{usage-stats-DpGSDjD4.js → usage-stats-8fJ3lLlx.js} +1 -1
  271. package/dist/client/assets/{use-ai-providers-danoHIdA.js → use-ai-providers-BiezPBdC.js} +1 -1
  272. package/dist/client/assets/{use-automations-DJJ6BWcK.js → use-automations-CzJvLh6y.js} +1 -1
  273. package/dist/client/assets/{use-autosave-c6pHVXCc.js → use-autosave-C5AE6tVZ.js} +1 -1
  274. package/dist/client/assets/{use-chat-layout-state-C-6NlJSN.js → use-chat-layout-state-Bjv6Kmqp.js} +1 -1
  275. package/dist/client/assets/{use-connect-companion-8jZ-1I60.js → use-connect-companion-Edkf4-6e.js} +1 -1
  276. package/dist/client/assets/{use-connection-DQRo-uAX.js → use-connection-TzIfXScd.js} +1 -1
  277. package/dist/client/assets/{use-copy-CsBL4oOz.js → use-copy-yiXmKlwe.js} +1 -1
  278. package/dist/client/assets/{use-create-virtual-mcp-HkJtevTH.js → use-create-virtual-mcp-B8iud2Sc.js} +1 -1
  279. package/dist/client/assets/{use-date-fns-locale-CqRosgpq.js → use-date-fns-locale-DEFDZEQ8.js} +1 -1
  280. package/dist/client/assets/{use-debounced-autosave-C0dJG8bs.js → use-debounced-autosave-CqmmZdyR.js} +1 -1
  281. package/dist/client/assets/{use-debounced-value-BBq-Xs53.js → use-debounced-value-BeO0DJwg.js} +1 -1
  282. package/dist/client/assets/{use-deco-credits-BL5Mhb5y.js → use-deco-credits-aHYDh6Nu.js} +1 -1
  283. package/dist/client/assets/{use-decopilot-events-C3lS3fqa.js → use-decopilot-events-d7FsiRbY.js} +1 -1
  284. package/dist/client/assets/{use-delete-connection-B1gY5tJm.js → use-delete-connection-C6-e1hl2.js} +1 -1
  285. package/dist/client/assets/{use-deployment-admin-DpfLQPIS.js → use-deployment-admin-D4Aiw9gd.js} +1 -1
  286. package/dist/client/assets/{use-fast-preview-draft-url-BCuuN8tq.js → use-fast-preview-draft-url-C2NMaYVu.js} +1 -1
  287. package/dist/client/assets/{use-file-configs-C13Up2_Q.js → use-file-configs-Bb5i5kzp.js} +1 -1
  288. package/dist/client/assets/{use-infinite-scroll-VYGVPHuu.js → use-infinite-scroll-M-6zbbsB.js} +1 -1
  289. package/dist/client/assets/{use-join-requests-DQIZKnkO.js → use-join-requests-DdJv9q2n.js} +1 -1
  290. package/dist/client/assets/{use-main-panel-tabs-ZFj95bWh.js → use-main-panel-tabs-DfNPCvDK.js} +1 -1
  291. package/dist/client/assets/{use-mcp-auth-status-DDQyY0Ga.js → use-mcp-auth-status-BGPcEhML.js} +1 -1
  292. package/dist/client/assets/{use-mcp-client-Vx8BRPgV.js → use-mcp-client-DGrcPC5r.js} +1 -1
  293. package/dist/client/assets/{use-mcp-prompts-DlAmvKkX.js → use-mcp-prompts-IUYMfB-t.js} +1 -1
  294. package/dist/client/assets/{use-mcp-tools-DYjT0V3F.js → use-mcp-tools-CqzyWLqP.js} +1 -1
  295. package/dist/client/assets/{use-members-kDatWJBG.js → use-members-BFVKg_WJ.js} +1 -1
  296. package/dist/client/assets/{use-mobile-BTmGiDPe.js → use-mobile-BbZ9Bk36.js} +1 -1
  297. package/dist/client/assets/{use-navigate-to-agent-Btd2GJnR.js → use-navigate-to-agent-v6_M_Lv8.js} +1 -1
  298. package/dist/client/assets/use-new-blocks-editor-C-Vw3tr-.js +1 -0
  299. package/dist/client/assets/{use-open-billing-url-Bg4kJN99.js → use-open-billing-url-CBRV16pr.js} +1 -1
  300. package/dist/client/assets/{use-org-auth-client-Chk--l_c.js → use-org-auth-client-s3yV-gCV.js} +1 -1
  301. package/dist/client/assets/{use-org-fs-CuvsSXwk.js → use-org-fs-DLLHrevC.js} +1 -1
  302. package/dist/client/assets/{use-org-repo-syncs-CIeEqumg.js → use-org-repo-syncs-DCNujM3B.js} +1 -1
  303. package/dist/client/assets/{use-org-sso-AeGirCjL.js → use-org-sso-GuXeEBOc.js} +1 -1
  304. package/dist/client/assets/{use-organization-roles-CD2xCCWn.js → use-organization-roles-ZmVwWDLk.js} +1 -1
  305. package/dist/client/assets/{use-organization-settings-CqvBRByF.js → use-organization-settings-Bud8t-pB.js} +1 -1
  306. package/dist/client/assets/{use-panel-navigate-PlP7-Vwm.js → use-panel-navigate-P-qoUN3Y.js} +1 -1
  307. package/dist/client/assets/{use-project-scope-CrjyOSmK.js → use-project-scope-CKrmwpiF.js} +1 -1
  308. package/dist/client/assets/{use-releases-Cocehd6y.js → use-releases-C1Rf328o.js} +1 -1
  309. package/dist/client/assets/{use-reports-diagnostic-CFVm2pQq.js → use-reports-diagnostic-B1Shnig3.js} +1 -1
  310. package/dist/client/assets/{use-secrets-BzAGBhXz.js → use-secrets-Diaq210I.js} +1 -1
  311. package/dist/client/assets/{use-section-preview-base-DmSPFcrF.js → use-section-preview-base-vrUWdFAS.js} +1 -1
  312. package/dist/client/assets/{use-session-runtime-DFVLgyhW.js → use-session-runtime-Dd4IC7IN.js} +1 -1
  313. package/dist/client/assets/{use-tags-CBP0-Fr6.js → use-tags-BrQETtMc.js} +1 -1
  314. package/dist/client/assets/{use-task-board-analytics-BzNkBsiA.js → use-task-board-analytics-C1XXYkja.js} +1 -1
  315. package/dist/client/assets/{use-task-board-events-BhcHH54Y.js → use-task-board-events-DW_ymOYd.js} +1 -1
  316. package/dist/client/assets/{use-task-metadata-DEGNHcGY.js → use-task-metadata-CHJgQsit.js} +1 -1
  317. package/dist/client/assets/{use-thread-analytics-BSZSwdAM.js → use-thread-analytics-XGBihKjG.js} +1 -1
  318. package/dist/client/assets/{use-thread-outputs-DtdA5GCR.js → use-thread-outputs-CZi91IMj.js} +1 -1
  319. package/dist/client/assets/useInfiniteQuery-Pi2cEwSS.js +1 -0
  320. package/dist/client/assets/{useQueries-BQQwjTlP.js → useQueries-Cii8MVzd.js} +1 -1
  321. package/dist/client/assets/useSuspenseInfiniteQuery-3wEhSKVP.js +1 -0
  322. package/dist/client/assets/{users-C2KIdVfy.js → users-C-N_QqPz.js} +1 -1
  323. package/dist/client/assets/{utils-B0qbgaXb.js → utils-DdYfsNrk.js} +1 -1
  324. package/dist/client/assets/{variant-calendar-DjgeHTmV.js → variant-calendar-CbolY3W4.js} +1 -1
  325. package/dist/client/assets/{variant-matcher-override-IhpCPfme.js → variant-matcher-override-BE-XpZUe.js} +1 -1
  326. package/dist/client/assets/{view-mode-toggle-CZYN19EA.js → view-mode-toggle-UcflwKbx.js} +1 -1
  327. package/dist/client/assets/{virtual-mcp-EdnIzmtc.js → virtual-mcp-5qC_v8pJ.js} +1 -1
  328. package/dist/client/index.html +1 -1
  329. package/dist/server/cli.js +1 -1
  330. package/dist/server/server.js +1 -1
  331. package/package.json +1 -1
  332. package/dist/client/assets/agent-app-UJ_h82V0.js +0 -1
  333. package/dist/client/assets/agent-deck-BOWMdQcI.js +0 -1
  334. package/dist/client/assets/agent-library-BZf2a5xB.js +0 -1
  335. package/dist/client/assets/agent-library-file-COR5cnNZ.js +0 -1
  336. package/dist/client/assets/agent-settings-BDaesK5t.js +0 -1
  337. package/dist/client/assets/agent-site-editor-code-b04itXK2.js +0 -2
  338. package/dist/client/assets/agent-view-CbBLPdCb.js +0 -1
  339. package/dist/client/assets/api-keys-BXP4ZG2w.js +0 -1
  340. package/dist/client/assets/flat-project-DUmpMdwv.js +0 -1
  341. package/dist/client/assets/index-CJQd24Gz.js +0 -10
  342. package/dist/client/assets/library-Dn2mcTMy.js +0 -1
  343. package/dist/client/assets/project-reports-CBMzd-Dg.js +0 -1
  344. package/dist/client/assets/project-tasks-CcAW4P6j.js +0 -1
  345. package/dist/client/assets/record-editor-C_IphUax.js +0 -1
  346. package/dist/client/assets/reports-BgUZrL2z.js +0 -1
  347. package/dist/client/assets/route-DG7Nv8pi.js +0 -1
  348. package/dist/client/assets/tasks-BDVtZcMi.js +0 -1
  349. package/dist/client/assets/use-new-blocks-editor-CQjno1fj.js +0 -1
  350. package/dist/client/assets/useInfiniteQuery-aIcSvOwf.js +0 -1
  351. package/dist/client/assets/useSuspenseInfiniteQuery-CgWlaGk4.js +0 -1
@@ -1,4 +1,4 @@
1
- import{c as I,b as B,r as E,j as x,l as Z,X as Tt,m as vt,K as At,aR as Mt,h as Je,t as Re,B as St}from"./index-CIiAvcWG.js";import{a as Ct,E as fe,r as H,t as Rt,v as Et,w as Ye,x as j,y as Ee,z as $t,A as _t,B as $e,C as Lt,G as V,N as D,m as P,H as Y,T as et,R as ge,I as me,h as zt,J as It,K as Ht,L as Pt,O as jt,s as Nt,Q as Ot,S as Bt,u as Dt,b as qt,U as Ft}from"./index-BNhfBqGz.js";import{aa as Wt,ab as Ut,ad as Gt,G as Vt,b7 as Zt,aX as Kt}from"./agent-icon-CVukswrp.js";import{T as $,n as Qt,i as Xt,E as Jt}from"./rich-text-link-control-B51D7Rx5.js";import{a as Yt,e as tt,s as en,S as tn}from"./suggestion-6BFWtM2J.js";import{B as nn,c as rn,t as sn,C as nt,f as an,g as _e,s as on,m as Le,a as ze,b as ln,d as Ie,e as cn,h as un,i as hn,j as dn,k as pn,l as fn,n as gn}from"./index-v6z_jpHp.js";import{i as mn}from"./XClose-BO5iJL1n.js";import{i as kn}from"./Check-DGVUDsng.js";import{i as bn}from"./Link01-D02n7wSm.js";import{s as xn}from"./Trash01-DkeB66GN.js";import{n as wn}from"./Image01-xBP2ZHrx.js";import{b as yn}from"./ZoomOut-DSC2l99t.js";import{i as rt}from"./X-CUqxRBsx.js";import{m as Tn,a as vn}from"./markdown-CBLl3YtG.js";import{A as An}from"./avatar-CkHGUUf8.js";import{f as Mn,C as Sn,c as Cn,a as Rn,b as En}from"./command-B0FcnMrN.js";import{g as $n}from"./get-initials-D-f_fDFw.js";import{u as _n}from"./use-org-auth-client-Chk--l_c.js";import{i as Ln,b as zn}from"./use-org-fs-CuvsSXwk.js";function In(t){const e=I.c(30),{editor:n}=t,s=B(),[r,a]=E.useState(!1),[i,l]=E.useState(""),[o,c]=E.useState(!1);let u;e[0]!==n?(u=n.isActive("link"),e[0]=n,e[1]=u):u=e[1];const h=u;let d;e[2]!==n||e[3]!==r?(d=()=>{if(r){a(!1);return}const S=n.getAttributes("link").href;l(typeof S=="string"?S:""),c(!1),a(!0)},e[2]=n,e[3]=r,e[4]=d):d=e[4];const b=d;let p;e[5]!==n?(p=()=>{n.chain().focus().extendMarkRange("link").unsetLink().run(),a(!1)},e[5]=n,e[6]=p):p=e[6];const k=p;let f;e[7]!==i||e[8]!==n||e[9]!==k?(f=()=>{const S=Qt(i);if(S===""){k();return}if(!Xt(S)){c(!0);return}n.chain().focus().extendMarkRange("link").setLink({href:S}).run(),a(!1)},e[7]=i,e[8]=n,e[9]=k,e[10]=f):f=e[10];const g=f;let w;e[11]!==s?(w=s("markdownEditor.link"),e[11]=s,e[12]=w):w=e[12];let y;e[13]===Symbol.for("react.memo_cache_sentinel")?(y=x.jsx(bn,{size:14}),e[13]=y):y=e[13];let T;e[14]!==h||e[15]!==w||e[16]!==b?(T=x.jsx($,{active:h,label:w,onClick:b,children:y}),e[14]=h,e[15]=w,e[16]=b,e[17]=T):T=e[17];let m;e[18]!==h||e[19]!==g||e[20]!==i||e[21]!==n||e[22]!==o||e[23]!==r||e[24]!==k||e[25]!==s?(m=r&&x.jsxs("div",{className:"absolute left-0 top-full z-20 mt-1.5 flex w-64 items-center gap-0.5 rounded-md border bg-popover p-1 shadow-md",onBlur:S=>{S.currentTarget.contains(S.relatedTarget)||a(!1)},children:[x.jsx("input",{autoFocus:!0,type:"text","aria-label":s("markdownEditor.linkInputAriaLabel"),"aria-invalid":o,placeholder:s("markdownEditor.linkPlaceholder"),value:i,onChange:S=>{l(S.target.value),c(!1)},onKeyDown:S=>{S.key==="Enter"?(S.preventDefault(),g()):S.key==="Escape"&&(S.preventDefault(),a(!1),n.chain().focus().run())},className:Z("h-7 min-w-0 flex-1 rounded bg-transparent px-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none",o&&"text-destructive")}),x.jsx($,{active:!1,label:s("markdownEditor.linkApply"),onClick:g,children:x.jsx(kn,{size:14})}),h&&x.jsx($,{active:!1,label:s("markdownEditor.linkRemove"),onClick:k,children:x.jsx(xn,{size:14})})]}),e[18]=h,e[19]=g,e[20]=i,e[21]=n,e[22]=o,e[23]=r,e[24]=k,e[25]=s,e[26]=m):m=e[26];let v;return e[27]!==T||e[28]!==m?(v=x.jsxs("div",{className:"relative",children:[T,m]}),e[27]=T,e[28]=m,e[29]=v):v=e[29],v}const ae=()=>{const t=I.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=x.jsx("div",{className:"mx-0.5 h-4 w-px bg-border"}),t[0]=e):e=t[0],e},He=t=>{const e=I.c(2),{children:n}=t;let s;return e[0]!==n?(s=x.jsx("span",{className:"text-[11px] font-semibold leading-none",children:n}),e[0]=n,e[1]=s):s=e[1],s},st=[1,2,3],Hn=({editor:t,state:e})=>t.isEditable&&!e.selection.empty&&!t.isActive("image")&&!t.isActive("attachment")&&!t.isActive("codeBlock");function Pn(t){const e=I.c(20),{editor:n}=t,s=B(),[r,a]=E.useState(null);let i;e[0]!==n?(i={editor:n,selector:jn},e[0]=n,e[1]=i):i=e[1];const l=Ct(i);let o;e[2]!==s?(o=s("markdownEditor.heading1"),e[2]=s,e[3]=o):o=e[3];let c;e[4]!==s?(c=s("markdownEditor.heading2"),e[4]=s,e[5]=c):c=e[5];let u;e[6]!==s?(u=s("markdownEditor.heading3"),e[6]=s,e[7]=u):u=e[7];let h;e[8]!==o||e[9]!==c||e[10]!==u?(h={1:o,2:c,3:u},e[8]=o,e[9]=c,e[10]=u,e[11]=h):h=e[11];const d=h;let b;e[12]!==n||e[13]!==d||e[14]!==r||e[15]!==l||e[16]!==s?(b=r&&x.jsxs(nn,{editor:n,shouldShow:Hn,appendTo:r,className:"flex items-center gap-0.5 rounded-lg border border-border bg-popover p-1 shadow-md","aria-label":s("markdownEditor.toolbarAriaLabel"),children:[x.jsx($,{active:l.bold,label:s("markdownEditor.bold"),onClick:()=>n.chain().focus().toggleBold().run(),children:x.jsx(Wt,{size:14})}),x.jsx($,{active:l.italic,label:s("markdownEditor.italic"),onClick:()=>n.chain().focus().toggleItalic().run(),children:x.jsx(Ut,{size:14})}),x.jsx($,{active:l.strike,label:s("markdownEditor.strikethrough"),onClick:()=>n.chain().focus().toggleStrike().run(),children:x.jsx(Gt,{size:14})}),x.jsx($,{active:l.code,label:s("markdownEditor.code"),onClick:()=>n.chain().focus().toggleCode().run(),children:x.jsx(Vt,{size:14})}),x.jsx(ae,{}),st.map((k,f)=>x.jsx($,{active:l.headings[f]??!1,label:d[k],onClick:()=>n.chain().focus().toggleHeading({level:k}).run(),children:x.jsx(He,{children:`H${k}`})},k)),x.jsx(ae,{}),x.jsx($,{active:l.bulletList,label:s("markdownEditor.bulletList"),onClick:()=>n.chain().focus().toggleBulletList().run(),children:x.jsx(mn,{size:14})}),x.jsx($,{active:l.orderedList,label:s("markdownEditor.orderedList"),onClick:()=>n.chain().focus().toggleOrderedList().run(),children:x.jsx(He,{children:"1."})}),x.jsx($,{active:l.blockquote,label:s("markdownEditor.quote"),onClick:()=>n.chain().focus().toggleBlockquote().run(),children:x.jsx(Zt,{size:14})}),x.jsx(ae,{}),x.jsx(In,{editor:n})]}),e[12]=n,e[13]=d,e[14]=r,e[15]=l,e[16]=s,e[17]=b):b=e[17];let p;return e[18]!==b?(p=x.jsx("div",{ref:a,className:"relative z-20",children:b}),e[18]=b,e[19]=p):p=e[19],p}function jn(t){const{editor:e}=t;return{bold:e.isActive("bold"),italic:e.isActive("italic"),strike:e.isActive("strike"),code:e.isActive("code"),headings:st.map(n=>e.isActive("heading",{level:n})),bulletList:e.isActive("bulletList"),orderedList:e.isActive("orderedList"),blockquote:e.isActive("blockquote")}}function ke(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var q=ke();function it(t){q=t}var N={exec:()=>null};function A(t,e=""){let n=typeof t=="string"?t:t.source,s={replace:(r,a)=>{let i=typeof a=="string"?a:a.source;return i=i.replace(R.caret,"$1"),n=n.replace(r,i),s},getRegex:()=>new RegExp(n,e)};return s}var Nn=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),R={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}>`)},On=/^(?:[ \t]*(?:\n|$))+/,Bn=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Dn=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,K=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,qn=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,be=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,at=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,ot=A(at).replace(/bull/g,be).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Fn=A(at).replace(/bull/g,be).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),xe=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Wn=/^[^\n]+/,we=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Un=A(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",we).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Gn=A(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,be).getRegex(),se="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",ye=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Vn=A("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",ye).replace("tag",se).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),lt=A(xe).replace("hr",K).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",se).getRegex(),Zn=A(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",lt).getRegex(),Te={blockquote:Zn,code:Bn,def:Un,fences:Dn,heading:qn,hr:K,html:Vn,lheading:ot,list:Gn,newline:On,paragraph:lt,table:N,text:Wn},Pe=A("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",K).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",se).getRegex(),Kn={...Te,lheading:Fn,table:Pe,paragraph:A(xe).replace("hr",K).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Pe).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",se).getRegex()},Qn={...Te,html:A(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ye).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:N,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:A(xe).replace("hr",K).replace("heading",` *#{1,6} *[^
1
+ import{c as I,b as B,r as E,j as x,l as Z,X as Tt,m as vt,K as At,aR as Mt,h as Je,t as Re,B as St}from"./index-DZBQ5pnK.js";import{a as Ct,E as fe,r as H,t as Rt,v as Et,w as Ye,x as j,y as Ee,z as $t,A as _t,B as $e,C as Lt,G as V,N as D,m as P,H as Y,T as et,R as ge,I as me,h as zt,J as It,K as Ht,L as Pt,O as jt,s as Nt,Q as Ot,S as Bt,u as Dt,b as qt,U as Ft}from"./index-C6j8vkbx.js";import{aa as Wt,ab as Ut,ad as Gt,G as Vt,b7 as Zt,aX as Kt}from"./agent-icon-CU0i04so.js";import{T as $,n as Qt,i as Xt,E as Jt}from"./rich-text-link-control-DfuAHVFX.js";import{a as Yt,e as tt,s as en,S as tn}from"./suggestion-BoL4aGbo.js";import{B as nn,c as rn,t as sn,C as nt,f as an,g as _e,s as on,m as Le,a as ze,b as ln,d as Ie,e as cn,h as un,i as hn,j as dn,k as pn,l as fn,n as gn}from"./index-CqBgee54.js";import{i as mn}from"./XClose-DPKustWd.js";import{i as kn}from"./Check-p5ZrYqb6.js";import{i as bn}from"./Link01-DX6Qdft3.js";import{s as xn}from"./Trash01-CiA3gHsE.js";import{n as wn}from"./Image01-Bjku8bco.js";import{b as yn}from"./ZoomOut-Cx0_RhkV.js";import{i as rt}from"./X-DCDQ3QOD.js";import{m as Tn,a as vn}from"./markdown-toDOgADF.js";import{A as An}from"./avatar-BrhFB-vr.js";import{f as Mn,C as Sn,c as Cn,a as Rn,b as En}from"./command-B--xK9e7.js";import{g as $n}from"./get-initials-D-f_fDFw.js";import{u as _n}from"./use-org-auth-client-s3yV-gCV.js";import{i as Ln,b as zn}from"./use-org-fs-DLLHrevC.js";function In(t){const e=I.c(30),{editor:n}=t,s=B(),[r,a]=E.useState(!1),[i,l]=E.useState(""),[o,c]=E.useState(!1);let u;e[0]!==n?(u=n.isActive("link"),e[0]=n,e[1]=u):u=e[1];const h=u;let d;e[2]!==n||e[3]!==r?(d=()=>{if(r){a(!1);return}const S=n.getAttributes("link").href;l(typeof S=="string"?S:""),c(!1),a(!0)},e[2]=n,e[3]=r,e[4]=d):d=e[4];const b=d;let p;e[5]!==n?(p=()=>{n.chain().focus().extendMarkRange("link").unsetLink().run(),a(!1)},e[5]=n,e[6]=p):p=e[6];const k=p;let f;e[7]!==i||e[8]!==n||e[9]!==k?(f=()=>{const S=Qt(i);if(S===""){k();return}if(!Xt(S)){c(!0);return}n.chain().focus().extendMarkRange("link").setLink({href:S}).run(),a(!1)},e[7]=i,e[8]=n,e[9]=k,e[10]=f):f=e[10];const g=f;let w;e[11]!==s?(w=s("markdownEditor.link"),e[11]=s,e[12]=w):w=e[12];let y;e[13]===Symbol.for("react.memo_cache_sentinel")?(y=x.jsx(bn,{size:14}),e[13]=y):y=e[13];let T;e[14]!==h||e[15]!==w||e[16]!==b?(T=x.jsx($,{active:h,label:w,onClick:b,children:y}),e[14]=h,e[15]=w,e[16]=b,e[17]=T):T=e[17];let m;e[18]!==h||e[19]!==g||e[20]!==i||e[21]!==n||e[22]!==o||e[23]!==r||e[24]!==k||e[25]!==s?(m=r&&x.jsxs("div",{className:"absolute left-0 top-full z-20 mt-1.5 flex w-64 items-center gap-0.5 rounded-md border bg-popover p-1 shadow-md",onBlur:S=>{S.currentTarget.contains(S.relatedTarget)||a(!1)},children:[x.jsx("input",{autoFocus:!0,type:"text","aria-label":s("markdownEditor.linkInputAriaLabel"),"aria-invalid":o,placeholder:s("markdownEditor.linkPlaceholder"),value:i,onChange:S=>{l(S.target.value),c(!1)},onKeyDown:S=>{S.key==="Enter"?(S.preventDefault(),g()):S.key==="Escape"&&(S.preventDefault(),a(!1),n.chain().focus().run())},className:Z("h-7 min-w-0 flex-1 rounded bg-transparent px-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none",o&&"text-destructive")}),x.jsx($,{active:!1,label:s("markdownEditor.linkApply"),onClick:g,children:x.jsx(kn,{size:14})}),h&&x.jsx($,{active:!1,label:s("markdownEditor.linkRemove"),onClick:k,children:x.jsx(xn,{size:14})})]}),e[18]=h,e[19]=g,e[20]=i,e[21]=n,e[22]=o,e[23]=r,e[24]=k,e[25]=s,e[26]=m):m=e[26];let v;return e[27]!==T||e[28]!==m?(v=x.jsxs("div",{className:"relative",children:[T,m]}),e[27]=T,e[28]=m,e[29]=v):v=e[29],v}const ae=()=>{const t=I.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=x.jsx("div",{className:"mx-0.5 h-4 w-px bg-border"}),t[0]=e):e=t[0],e},He=t=>{const e=I.c(2),{children:n}=t;let s;return e[0]!==n?(s=x.jsx("span",{className:"text-[11px] font-semibold leading-none",children:n}),e[0]=n,e[1]=s):s=e[1],s},st=[1,2,3],Hn=({editor:t,state:e})=>t.isEditable&&!e.selection.empty&&!t.isActive("image")&&!t.isActive("attachment")&&!t.isActive("codeBlock");function Pn(t){const e=I.c(20),{editor:n}=t,s=B(),[r,a]=E.useState(null);let i;e[0]!==n?(i={editor:n,selector:jn},e[0]=n,e[1]=i):i=e[1];const l=Ct(i);let o;e[2]!==s?(o=s("markdownEditor.heading1"),e[2]=s,e[3]=o):o=e[3];let c;e[4]!==s?(c=s("markdownEditor.heading2"),e[4]=s,e[5]=c):c=e[5];let u;e[6]!==s?(u=s("markdownEditor.heading3"),e[6]=s,e[7]=u):u=e[7];let h;e[8]!==o||e[9]!==c||e[10]!==u?(h={1:o,2:c,3:u},e[8]=o,e[9]=c,e[10]=u,e[11]=h):h=e[11];const d=h;let b;e[12]!==n||e[13]!==d||e[14]!==r||e[15]!==l||e[16]!==s?(b=r&&x.jsxs(nn,{editor:n,shouldShow:Hn,appendTo:r,className:"flex items-center gap-0.5 rounded-lg border border-border bg-popover p-1 shadow-md","aria-label":s("markdownEditor.toolbarAriaLabel"),children:[x.jsx($,{active:l.bold,label:s("markdownEditor.bold"),onClick:()=>n.chain().focus().toggleBold().run(),children:x.jsx(Wt,{size:14})}),x.jsx($,{active:l.italic,label:s("markdownEditor.italic"),onClick:()=>n.chain().focus().toggleItalic().run(),children:x.jsx(Ut,{size:14})}),x.jsx($,{active:l.strike,label:s("markdownEditor.strikethrough"),onClick:()=>n.chain().focus().toggleStrike().run(),children:x.jsx(Gt,{size:14})}),x.jsx($,{active:l.code,label:s("markdownEditor.code"),onClick:()=>n.chain().focus().toggleCode().run(),children:x.jsx(Vt,{size:14})}),x.jsx(ae,{}),st.map((k,f)=>x.jsx($,{active:l.headings[f]??!1,label:d[k],onClick:()=>n.chain().focus().toggleHeading({level:k}).run(),children:x.jsx(He,{children:`H${k}`})},k)),x.jsx(ae,{}),x.jsx($,{active:l.bulletList,label:s("markdownEditor.bulletList"),onClick:()=>n.chain().focus().toggleBulletList().run(),children:x.jsx(mn,{size:14})}),x.jsx($,{active:l.orderedList,label:s("markdownEditor.orderedList"),onClick:()=>n.chain().focus().toggleOrderedList().run(),children:x.jsx(He,{children:"1."})}),x.jsx($,{active:l.blockquote,label:s("markdownEditor.quote"),onClick:()=>n.chain().focus().toggleBlockquote().run(),children:x.jsx(Zt,{size:14})}),x.jsx(ae,{}),x.jsx(In,{editor:n})]}),e[12]=n,e[13]=d,e[14]=r,e[15]=l,e[16]=s,e[17]=b):b=e[17];let p;return e[18]!==b?(p=x.jsx("div",{ref:a,className:"relative z-20",children:b}),e[18]=b,e[19]=p):p=e[19],p}function jn(t){const{editor:e}=t;return{bold:e.isActive("bold"),italic:e.isActive("italic"),strike:e.isActive("strike"),code:e.isActive("code"),headings:st.map(n=>e.isActive("heading",{level:n})),bulletList:e.isActive("bulletList"),orderedList:e.isActive("orderedList"),blockquote:e.isActive("blockquote")}}function ke(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var q=ke();function it(t){q=t}var N={exec:()=>null};function A(t,e=""){let n=typeof t=="string"?t:t.source,s={replace:(r,a)=>{let i=typeof a=="string"?a:a.source;return i=i.replace(R.caret,"$1"),n=n.replace(r,i),s},getRegex:()=>new RegExp(n,e)};return s}var Nn=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),R={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}>`)},On=/^(?:[ \t]*(?:\n|$))+/,Bn=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Dn=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,K=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,qn=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,be=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,at=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,ot=A(at).replace(/bull/g,be).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Fn=A(at).replace(/bull/g,be).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),xe=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Wn=/^[^\n]+/,we=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Un=A(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",we).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Gn=A(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,be).getRegex(),se="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",ye=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Vn=A("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",ye).replace("tag",se).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),lt=A(xe).replace("hr",K).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",se).getRegex(),Zn=A(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",lt).getRegex(),Te={blockquote:Zn,code:Bn,def:Un,fences:Dn,heading:qn,hr:K,html:Vn,lheading:ot,list:Gn,newline:On,paragraph:lt,table:N,text:Wn},Pe=A("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",K).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",se).getRegex(),Kn={...Te,lheading:Fn,table:Pe,paragraph:A(xe).replace("hr",K).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Pe).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",se).getRegex()},Qn={...Te,html:A(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ye).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:N,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:A(xe).replace("hr",K).replace("heading",` *#{1,6} *[^
2
2
  ]`).replace("lheading",ot).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Xn=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Jn=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,ct=/^( {2,}|\\)\n(?!\s*$)/,Yn=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,F=/[\p{P}\p{S}]/u,ie=/[\s\p{P}\p{S}]/u,ve=/[^\s\p{P}\p{S}]/u,er=A(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,ie).getRegex(),ut=/(?!~)[\p{P}\p{S}]/u,tr=/(?!~)[\s\p{P}\p{S}]/u,nr=/(?:[^\s\p{P}\p{S}]|~)/u,rr=A(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",Nn?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),ht=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,sr=A(ht,"u").replace(/punct/g,F).getRegex(),ir=A(ht,"u").replace(/punct/g,ut).getRegex(),dt="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",ar=A(dt,"gu").replace(/notPunctSpace/g,ve).replace(/punctSpace/g,ie).replace(/punct/g,F).getRegex(),or=A(dt,"gu").replace(/notPunctSpace/g,nr).replace(/punctSpace/g,tr).replace(/punct/g,ut).getRegex(),lr=A("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,ve).replace(/punctSpace/g,ie).replace(/punct/g,F).getRegex(),cr=A(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,F).getRegex(),ur="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",hr=A(ur,"gu").replace(/notPunctSpace/g,ve).replace(/punctSpace/g,ie).replace(/punct/g,F).getRegex(),dr=A(/\\(punct)/,"gu").replace(/punct/g,F).getRegex(),pr=A(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),fr=A(ye).replace("(?:-->|$)","-->").getRegex(),gr=A("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",fr).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ee=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,mr=A(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",ee).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),pt=A(/^!?\[(label)\]\[(ref)\]/).replace("label",ee).replace("ref",we).getRegex(),ft=A(/^!?\[(ref)\](?:\[\])?/).replace("ref",we).getRegex(),kr=A("reflink|nolink(?!\\()","g").replace("reflink",pt).replace("nolink",ft).getRegex(),je=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,Ae={_backpedal:N,anyPunctuation:dr,autolink:pr,blockSkip:rr,br:ct,code:Jn,del:N,delLDelim:N,delRDelim:N,emStrongLDelim:sr,emStrongRDelimAst:ar,emStrongRDelimUnd:lr,escape:Xn,link:mr,nolink:ft,punctuation:er,reflink:pt,reflinkSearch:kr,tag:gr,text:Yn,url:N},br={...Ae,link:A(/^!?\[(label)\]\((.*?)\)/).replace("label",ee).getRegex(),reflink:A(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ee).getRegex()},le={...Ae,emStrongRDelimAst:or,emStrongLDelim:ir,delLDelim:cr,delRDelim:hr,url:A(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",je).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:A(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",je).getRegex()},xr={...le,br:A(ct).replace("{2,}","*").getRegex(),text:A(le.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Q={normal:Te,gfm:Kn,pedantic:Qn},W={normal:Ae,gfm:le,breaks:xr,pedantic:br},wr={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Ne=t=>wr[t];function z(t,e){if(e){if(R.escapeTest.test(t))return t.replace(R.escapeReplace,Ne)}else if(R.escapeTestNoEncode.test(t))return t.replace(R.escapeReplaceNoEncode,Ne);return t}function Oe(t){try{t=encodeURI(t).replace(R.percentDecode,"%")}catch{return null}return t}function Be(t,e){let n=t.replace(R.findPipe,(a,i,l)=>{let o=!1,c=i;for(;--c>=0&&l[c]==="\\";)o=!o;return o?"|":" |"}),s=n.split(R.splitPipe),r=0;if(s[0].trim()||s.shift(),s.length>0&&!s.at(-1)?.trim()&&s.pop(),e)if(s.length>e)s.splice(e);else for(;s.length<e;)s.push("");for(;r<s.length;r++)s[r]=s[r].trim().replace(R.slashPipe,"|");return s}function U(t,e,n){let s=t.length;if(s===0)return"";let r=0;for(;r<s&&t.charAt(s-r-1)===e;)r++;return t.slice(0,s-r)}function yr(t,e){if(t.indexOf(e[1])===-1)return-1;let n=0;for(let s=0;s<t.length;s++)if(t[s]==="\\")s++;else if(t[s]===e[0])n++;else if(t[s]===e[1]&&(n--,n<0))return s;return n>0?-2:-1}function Tr(t,e=0){let n=e,s="";for(let r of t)if(r===" "){let a=4-n%4;s+=" ".repeat(a),n+=a}else s+=r,n++;return s}function De(t,e,n,s,r){let a=e.href,i=e.title||null,l=t[1].replace(r.other.outputLinkReplace,"$1");s.state.inLink=!0;let o={type:t[0].charAt(0)==="!"?"image":"link",raw:n,href:a,title:i,text:l,tokens:s.inlineTokens(l)};return s.state.inLink=!1,o}function vr(t,e,n){let s=t.match(n.other.indentCodeCompensation);if(s===null)return e;let r=s[1];return e.split(`
3
3
  `).map(a=>{let i=a.match(n.other.beginningSpace);if(i===null)return a;let[l]=i;return l.length>=r.length?a.slice(r.length):a}).join(`
4
4
  `)}var te=class{options;rules;lexer;constructor(t){this.options=t||q}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let n=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?n:U(n,`
@@ -1 +1 @@
1
- import{r as l,br as ce,j as p,bp as _,bo as T,bm as C,bw as le,bq as de,bJ as ue,bF as fe,by as me}from"./index-CIiAvcWG.js";import{e as Y}from"./select-By3KVHVy.js";var $=["PageUp","PageDown"],X=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],G={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},M="Slider",[H,Se,pe]=le(M),[W]=fe(M,[pe]),[he,V]=W(M),q=l.forwardRef((e,t)=>{const{name:o,min:n=0,max:s=100,step:c=1,orientation:r="horizontal",disabled:a=!1,minStepsBetweenThumbs:u=0,defaultValue:b=[n],value:h,onValueChange:i=()=>{},onValueCommit:d=()=>{},inverted:v=!1,form:R,...g}=e,m=l.useRef(new Set),f=l.useRef(0),w=r==="horizontal"?ge:ve,[S=[],K]=ce({prop:h,defaultProp:b,onChange:x=>{[...m.current][f.current]?.focus(),i(x)}}),j=l.useRef(S);function B(x){const y=ye(S,x);I(x,y)}function se(x){I(x,f.current)}function ae(){const x=j.current[f.current];S[f.current]!==x&&d(S)}function I(x,y,{commit:k}={commit:!1}){const F=_e(c),z=Ce(Math.round((x-n)/c)*c+n,F),A=Y(z,[n,s]);K((E=[])=>{const P=xe(E,A,y);if(Ee(P,u*c)){f.current=P.indexOf(A);const U=String(P)!==String(E);return U&&k&&d(P),U?P:E}else return E})}return p.jsx(he,{scope:e.__scopeSlider,name:o,disabled:a,min:n,max:s,valueIndexToChangeRef:f,thumbs:m.current,values:S,orientation:r,form:R,children:p.jsx(H.Provider,{scope:e.__scopeSlider,children:p.jsx(H.Slot,{scope:e.__scopeSlider,children:p.jsx(w,{"aria-disabled":a,"data-disabled":a?"":void 0,...g,ref:t,onPointerDown:_(g.onPointerDown,()=>{a||(j.current=S)}),min:n,max:s,inverted:v,onSlideStart:a?void 0:B,onSlideMove:a?void 0:se,onSlideEnd:a?void 0:ae,onHomeKeyDown:()=>!a&&I(n,0,{commit:!0}),onEndKeyDown:()=>!a&&I(s,S.length-1,{commit:!0}),onStepKeyDown:({event:x,direction:y})=>{if(!a){const z=$.includes(x.key)||x.shiftKey&&X.includes(x.key)?10:1,A=f.current,E=S[A],P=c*z*y;I(E+P,A,{commit:!0})}}})})})})});q.displayName=M;var[J,Q]=W(M,{startEdge:"left",endEdge:"right",size:"width",direction:1}),ge=l.forwardRef((e,t)=>{const{min:o,max:n,dir:s,inverted:c,onSlideStart:r,onSlideMove:a,onSlideEnd:u,onStepKeyDown:b,...h}=e,[i,d]=l.useState(null),v=C(t,w=>d(w)),R=l.useRef(void 0),g=de(s),m=g==="ltr",f=m&&!c||!m&&c;function D(w){const S=R.current||i.getBoundingClientRect(),K=[0,S.width],B=O(K,f?[o,n]:[n,o]);return R.current=S,B(w-S.left)}return p.jsx(J,{scope:e.__scopeSlider,startEdge:f?"left":"right",endEdge:f?"right":"left",direction:f?1:-1,size:"width",children:p.jsx(Z,{dir:g,"data-orientation":"horizontal",...h,ref:v,style:{...h.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:w=>{const S=D(w.clientX);r?.(S)},onSlideMove:w=>{const S=D(w.clientX);a?.(S)},onSlideEnd:()=>{R.current=void 0,u?.()},onStepKeyDown:w=>{const K=G[f?"from-left":"from-right"].includes(w.key);b?.({event:w,direction:K?-1:1})}})})}),ve=l.forwardRef((e,t)=>{const{min:o,max:n,inverted:s,onSlideStart:c,onSlideMove:r,onSlideEnd:a,onStepKeyDown:u,...b}=e,h=l.useRef(null),i=C(t,h),d=l.useRef(void 0),v=!s;function R(g){const m=d.current||h.current.getBoundingClientRect(),f=[0,m.height],w=O(f,v?[n,o]:[o,n]);return d.current=m,w(g-m.top)}return p.jsx(J,{scope:e.__scopeSlider,startEdge:v?"bottom":"top",endEdge:v?"top":"bottom",size:"height",direction:v?1:-1,children:p.jsx(Z,{"data-orientation":"vertical",...b,ref:i,style:{...b.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:g=>{const m=R(g.clientY);c?.(m)},onSlideMove:g=>{const m=R(g.clientY);r?.(m)},onSlideEnd:()=>{d.current=void 0,a?.()},onStepKeyDown:g=>{const f=G[v?"from-bottom":"from-top"].includes(g.key);u?.({event:g,direction:f?-1:1})}})})}),Z=l.forwardRef((e,t)=>{const{__scopeSlider:o,onSlideStart:n,onSlideMove:s,onSlideEnd:c,onHomeKeyDown:r,onEndKeyDown:a,onStepKeyDown:u,...b}=e,h=V(M,o);return p.jsx(T.span,{...b,ref:t,onKeyDown:_(e.onKeyDown,i=>{i.key==="Home"?(r(i),i.preventDefault()):i.key==="End"?(a(i),i.preventDefault()):$.concat(X).includes(i.key)&&(u(i),i.preventDefault())}),onPointerDown:_(e.onPointerDown,i=>{const d=i.target;d.setPointerCapture(i.pointerId),i.preventDefault(),h.thumbs.has(d)?d.focus():n(i)}),onPointerMove:_(e.onPointerMove,i=>{i.target.hasPointerCapture(i.pointerId)&&s(i)}),onPointerUp:_(e.onPointerUp,i=>{const d=i.target;d.hasPointerCapture(i.pointerId)&&(d.releasePointerCapture(i.pointerId),c(i))})})}),ee="SliderTrack",te=l.forwardRef((e,t)=>{const{__scopeSlider:o,...n}=e,s=V(ee,o);return p.jsx(T.span,{"data-disabled":s.disabled?"":void 0,"data-orientation":s.orientation,...n,ref:t})});te.displayName=ee;var N="SliderRange",ne=l.forwardRef((e,t)=>{const{__scopeSlider:o,...n}=e,s=V(N,o),c=Q(N,o),r=l.useRef(null),a=C(t,r),u=s.values.length,b=s.values.map(d=>ie(d,s.min,s.max)),h=u>1?Math.min(...b):0,i=100-Math.max(...b);return p.jsx(T.span,{"data-orientation":s.orientation,"data-disabled":s.disabled?"":void 0,...n,ref:a,style:{...e.style,[c.startEdge]:h+"%",[c.endEdge]:i+"%"}})});ne.displayName=N;var L="SliderThumb",oe=l.forwardRef((e,t)=>{const o=Se(e.__scopeSlider),[n,s]=l.useState(null),c=C(t,a=>s(a)),r=l.useMemo(()=>n?o().findIndex(a=>a.ref.current===n):-1,[o,n]);return p.jsx(be,{...e,ref:c,index:r})}),be=l.forwardRef((e,t)=>{const{__scopeSlider:o,index:n,name:s,...c}=e,r=V(L,o),a=Q(L,o),[u,b]=l.useState(null),h=C(t,D=>b(D)),i=u?r.form||!!u.closest("form"):!0,d=ue(u),v=r.values[n],R=v===void 0?0:ie(v,r.min,r.max),g=Re(n,r.values.length),m=d?.[a.size],f=m?Pe(m,R,a.direction):0;return l.useEffect(()=>{if(u)return r.thumbs.add(u),()=>{r.thumbs.delete(u)}},[u,r.thumbs]),p.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[a.startEdge]:`calc(${R}% + ${f}px)`},children:[p.jsx(H.ItemSlot,{scope:e.__scopeSlider,children:p.jsx(T.span,{role:"slider","aria-label":e["aria-label"]||g,"aria-valuemin":r.min,"aria-valuenow":v,"aria-valuemax":r.max,"aria-orientation":r.orientation,"data-orientation":r.orientation,"data-disabled":r.disabled?"":void 0,tabIndex:r.disabled?void 0:0,...c,ref:h,style:v===void 0?{display:"none"}:e.style,onFocus:_(e.onFocus,()=>{r.valueIndexToChangeRef.current=n})})}),i&&p.jsx(re,{name:s??(r.name?r.name+(r.values.length>1?"[]":""):void 0),form:r.form,value:v},n)]})});oe.displayName=L;var we="RadioBubbleInput",re=l.forwardRef(({__scopeSlider:e,value:t,...o},n)=>{const s=l.useRef(null),c=C(s,n),r=me(t);return l.useEffect(()=>{const a=s.current;if(!a)return;const u=window.HTMLInputElement.prototype,h=Object.getOwnPropertyDescriptor(u,"value").set;if(r!==t&&h){const i=new Event("input",{bubbles:!0});h.call(a,t),a.dispatchEvent(i)}},[r,t]),p.jsx(T.input,{style:{display:"none"},...o,ref:c,defaultValue:t})});re.displayName=we;function xe(e=[],t,o){const n=[...e];return n[o]=t,n.sort((s,c)=>s-c)}function ie(e,t,o){const c=100/(o-t)*(e-t);return Y(c,[0,100])}function Re(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function ye(e,t){if(e.length===1)return 0;const o=e.map(s=>Math.abs(s-t)),n=Math.min(...o);return o.indexOf(n)}function Pe(e,t,o){const n=e/2,c=O([0,50],[0,n]);return(n-c(t)*o)*o}function De(e){return e.slice(0,-1).map((t,o)=>e[o+1]-t)}function Ee(e,t){if(t>0){const o=De(e);return Math.min(...o)>=t}return!0}function O(e,t){return o=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(o-e[0])}}function _e(e){return(String(e).split(".")[1]||"").length}function Ce(e,t){const o=Math.pow(10,t);return Math.round(e*o)/o}var Ie=q,Ae=te,Te=ne,Ve=oe;export{Ie as R,Ae as T,Te as a,Ve as b};
1
+ import{r as l,br as ce,j as p,bp as _,bo as T,bm as C,bw as le,bq as de,bJ as ue,bF as fe,by as me}from"./index-DZBQ5pnK.js";import{e as Y}from"./select-Cz-o9PEJ.js";var $=["PageUp","PageDown"],X=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],G={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},M="Slider",[H,Se,pe]=le(M),[W]=fe(M,[pe]),[he,V]=W(M),q=l.forwardRef((e,t)=>{const{name:o,min:n=0,max:s=100,step:c=1,orientation:r="horizontal",disabled:a=!1,minStepsBetweenThumbs:u=0,defaultValue:b=[n],value:h,onValueChange:i=()=>{},onValueCommit:d=()=>{},inverted:v=!1,form:R,...g}=e,m=l.useRef(new Set),f=l.useRef(0),w=r==="horizontal"?ge:ve,[S=[],K]=ce({prop:h,defaultProp:b,onChange:x=>{[...m.current][f.current]?.focus(),i(x)}}),j=l.useRef(S);function B(x){const y=ye(S,x);I(x,y)}function se(x){I(x,f.current)}function ae(){const x=j.current[f.current];S[f.current]!==x&&d(S)}function I(x,y,{commit:k}={commit:!1}){const F=_e(c),z=Ce(Math.round((x-n)/c)*c+n,F),A=Y(z,[n,s]);K((E=[])=>{const P=xe(E,A,y);if(Ee(P,u*c)){f.current=P.indexOf(A);const U=String(P)!==String(E);return U&&k&&d(P),U?P:E}else return E})}return p.jsx(he,{scope:e.__scopeSlider,name:o,disabled:a,min:n,max:s,valueIndexToChangeRef:f,thumbs:m.current,values:S,orientation:r,form:R,children:p.jsx(H.Provider,{scope:e.__scopeSlider,children:p.jsx(H.Slot,{scope:e.__scopeSlider,children:p.jsx(w,{"aria-disabled":a,"data-disabled":a?"":void 0,...g,ref:t,onPointerDown:_(g.onPointerDown,()=>{a||(j.current=S)}),min:n,max:s,inverted:v,onSlideStart:a?void 0:B,onSlideMove:a?void 0:se,onSlideEnd:a?void 0:ae,onHomeKeyDown:()=>!a&&I(n,0,{commit:!0}),onEndKeyDown:()=>!a&&I(s,S.length-1,{commit:!0}),onStepKeyDown:({event:x,direction:y})=>{if(!a){const z=$.includes(x.key)||x.shiftKey&&X.includes(x.key)?10:1,A=f.current,E=S[A],P=c*z*y;I(E+P,A,{commit:!0})}}})})})})});q.displayName=M;var[J,Q]=W(M,{startEdge:"left",endEdge:"right",size:"width",direction:1}),ge=l.forwardRef((e,t)=>{const{min:o,max:n,dir:s,inverted:c,onSlideStart:r,onSlideMove:a,onSlideEnd:u,onStepKeyDown:b,...h}=e,[i,d]=l.useState(null),v=C(t,w=>d(w)),R=l.useRef(void 0),g=de(s),m=g==="ltr",f=m&&!c||!m&&c;function D(w){const S=R.current||i.getBoundingClientRect(),K=[0,S.width],B=O(K,f?[o,n]:[n,o]);return R.current=S,B(w-S.left)}return p.jsx(J,{scope:e.__scopeSlider,startEdge:f?"left":"right",endEdge:f?"right":"left",direction:f?1:-1,size:"width",children:p.jsx(Z,{dir:g,"data-orientation":"horizontal",...h,ref:v,style:{...h.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:w=>{const S=D(w.clientX);r?.(S)},onSlideMove:w=>{const S=D(w.clientX);a?.(S)},onSlideEnd:()=>{R.current=void 0,u?.()},onStepKeyDown:w=>{const K=G[f?"from-left":"from-right"].includes(w.key);b?.({event:w,direction:K?-1:1})}})})}),ve=l.forwardRef((e,t)=>{const{min:o,max:n,inverted:s,onSlideStart:c,onSlideMove:r,onSlideEnd:a,onStepKeyDown:u,...b}=e,h=l.useRef(null),i=C(t,h),d=l.useRef(void 0),v=!s;function R(g){const m=d.current||h.current.getBoundingClientRect(),f=[0,m.height],w=O(f,v?[n,o]:[o,n]);return d.current=m,w(g-m.top)}return p.jsx(J,{scope:e.__scopeSlider,startEdge:v?"bottom":"top",endEdge:v?"top":"bottom",size:"height",direction:v?1:-1,children:p.jsx(Z,{"data-orientation":"vertical",...b,ref:i,style:{...b.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:g=>{const m=R(g.clientY);c?.(m)},onSlideMove:g=>{const m=R(g.clientY);r?.(m)},onSlideEnd:()=>{d.current=void 0,a?.()},onStepKeyDown:g=>{const f=G[v?"from-bottom":"from-top"].includes(g.key);u?.({event:g,direction:f?-1:1})}})})}),Z=l.forwardRef((e,t)=>{const{__scopeSlider:o,onSlideStart:n,onSlideMove:s,onSlideEnd:c,onHomeKeyDown:r,onEndKeyDown:a,onStepKeyDown:u,...b}=e,h=V(M,o);return p.jsx(T.span,{...b,ref:t,onKeyDown:_(e.onKeyDown,i=>{i.key==="Home"?(r(i),i.preventDefault()):i.key==="End"?(a(i),i.preventDefault()):$.concat(X).includes(i.key)&&(u(i),i.preventDefault())}),onPointerDown:_(e.onPointerDown,i=>{const d=i.target;d.setPointerCapture(i.pointerId),i.preventDefault(),h.thumbs.has(d)?d.focus():n(i)}),onPointerMove:_(e.onPointerMove,i=>{i.target.hasPointerCapture(i.pointerId)&&s(i)}),onPointerUp:_(e.onPointerUp,i=>{const d=i.target;d.hasPointerCapture(i.pointerId)&&(d.releasePointerCapture(i.pointerId),c(i))})})}),ee="SliderTrack",te=l.forwardRef((e,t)=>{const{__scopeSlider:o,...n}=e,s=V(ee,o);return p.jsx(T.span,{"data-disabled":s.disabled?"":void 0,"data-orientation":s.orientation,...n,ref:t})});te.displayName=ee;var N="SliderRange",ne=l.forwardRef((e,t)=>{const{__scopeSlider:o,...n}=e,s=V(N,o),c=Q(N,o),r=l.useRef(null),a=C(t,r),u=s.values.length,b=s.values.map(d=>ie(d,s.min,s.max)),h=u>1?Math.min(...b):0,i=100-Math.max(...b);return p.jsx(T.span,{"data-orientation":s.orientation,"data-disabled":s.disabled?"":void 0,...n,ref:a,style:{...e.style,[c.startEdge]:h+"%",[c.endEdge]:i+"%"}})});ne.displayName=N;var L="SliderThumb",oe=l.forwardRef((e,t)=>{const o=Se(e.__scopeSlider),[n,s]=l.useState(null),c=C(t,a=>s(a)),r=l.useMemo(()=>n?o().findIndex(a=>a.ref.current===n):-1,[o,n]);return p.jsx(be,{...e,ref:c,index:r})}),be=l.forwardRef((e,t)=>{const{__scopeSlider:o,index:n,name:s,...c}=e,r=V(L,o),a=Q(L,o),[u,b]=l.useState(null),h=C(t,D=>b(D)),i=u?r.form||!!u.closest("form"):!0,d=ue(u),v=r.values[n],R=v===void 0?0:ie(v,r.min,r.max),g=Re(n,r.values.length),m=d?.[a.size],f=m?Pe(m,R,a.direction):0;return l.useEffect(()=>{if(u)return r.thumbs.add(u),()=>{r.thumbs.delete(u)}},[u,r.thumbs]),p.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[a.startEdge]:`calc(${R}% + ${f}px)`},children:[p.jsx(H.ItemSlot,{scope:e.__scopeSlider,children:p.jsx(T.span,{role:"slider","aria-label":e["aria-label"]||g,"aria-valuemin":r.min,"aria-valuenow":v,"aria-valuemax":r.max,"aria-orientation":r.orientation,"data-orientation":r.orientation,"data-disabled":r.disabled?"":void 0,tabIndex:r.disabled?void 0:0,...c,ref:h,style:v===void 0?{display:"none"}:e.style,onFocus:_(e.onFocus,()=>{r.valueIndexToChangeRef.current=n})})}),i&&p.jsx(re,{name:s??(r.name?r.name+(r.values.length>1?"[]":""):void 0),form:r.form,value:v},n)]})});oe.displayName=L;var we="RadioBubbleInput",re=l.forwardRef(({__scopeSlider:e,value:t,...o},n)=>{const s=l.useRef(null),c=C(s,n),r=me(t);return l.useEffect(()=>{const a=s.current;if(!a)return;const u=window.HTMLInputElement.prototype,h=Object.getOwnPropertyDescriptor(u,"value").set;if(r!==t&&h){const i=new Event("input",{bubbles:!0});h.call(a,t),a.dispatchEvent(i)}},[r,t]),p.jsx(T.input,{style:{display:"none"},...o,ref:c,defaultValue:t})});re.displayName=we;function xe(e=[],t,o){const n=[...e];return n[o]=t,n.sort((s,c)=>s-c)}function ie(e,t,o){const c=100/(o-t)*(e-t);return Y(c,[0,100])}function Re(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function ye(e,t){if(e.length===1)return 0;const o=e.map(s=>Math.abs(s-t)),n=Math.min(...o);return o.indexOf(n)}function Pe(e,t,o){const n=e/2,c=O([0,50],[0,n]);return(n-c(t)*o)*o}function De(e){return e.slice(0,-1).map((t,o)=>e[o+1]-t)}function Ee(e,t){if(t>0){const o=De(e);return Math.min(...o)>=t}return!0}function O(e,t){return o=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(o-e[0])}}function _e(e){return(String(e).split(".")[1]||"").length}function Ce(e,t){const o=Math.pow(10,t);return Math.round(e*o)/o}var Ie=q,Ae=te,Te=ne,Ve=oe;export{Ie as R,Ae as T,Te as a,Ve as b};
@@ -1 +1 @@
1
- import{r as i,j as t,bo as o}from"./index-CIiAvcWG.js";var s=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),d="VisuallyHidden",e=i.forwardRef((r,a)=>t.jsx(o.span,{...r,ref:a,style:{...s,...r.style}}));e.displayName=d;var n=e;export{n as R,s as V};
1
+ import{r as i,j as t,bo as o}from"./index-DZBQ5pnK.js";var s=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),d="VisuallyHidden",e=i.forwardRef((r,a)=>t.jsx(o.span,{...r,ref:a,style:{...s,...r.style}}));e.displayName=d;var n=e;export{n as R,s as V};