decocms 4.505.2 → 4.507.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (387) hide show
  1. package/dist/client/assets/{ActiveShapeUtils-BGmgNUi8.js → ActiveShapeUtils-qG-AEsLH.js} +1 -1
  2. package/dist/client/assets/{AlertCircle-BIhx1OOA.js → AlertCircle-DZq02EzT.js} +1 -1
  3. package/dist/client/assets/{AreaChart-NTOYQV4b.js → AreaChart-BtdW-Fy2.js} +1 -1
  4. package/dist/client/assets/{ArrowLeft-C_xMypbp.js → ArrowLeft-C_qdjo3L.js} +1 -1
  5. package/dist/client/assets/{ArrowUp-D8ia-BLP.js → ArrowUp-B_lKPC5O.js} +1 -1
  6. package/dist/client/assets/{BarChart-z81pvLho.js → BarChart-4XWgQXi5.js} +1 -1
  7. package/dist/client/assets/{Building02-Bu9sfjbg.js → Building02-LYkR_QXB.js} +1 -1
  8. package/dist/client/assets/{CategoricalChart-DVVR_K8B.js → CategoricalChart-CHtvdKKv.js} +1 -1
  9. package/dist/client/assets/{CheckCircle-C0zUZT_f.js → CheckCircle-B9QHilAa.js} +1 -1
  10. package/dist/client/assets/{ChevronSelectorVertical-BXcOXVLY.js → ChevronSelectorVertical-0ysVIDar.js} +1 -1
  11. package/dist/client/assets/{ChevronUp-BNQKU6Cu.js → ChevronUp-D4PiHnN0.js} +1 -1
  12. package/dist/client/assets/{Copy01-7StEdMvr.js → Copy01-DJEr7OLy.js} +1 -1
  13. package/dist/client/assets/{CreditCard01-B-OOpOuj.js → CreditCard01-b36fqa11.js} +1 -1
  14. package/dist/client/assets/{DotsVertical-DlD0BohB.js → DotsVertical-CV1b1y4C.js} +1 -1
  15. package/dist/client/assets/{ErrorBarContext-DyfMq1Vf.js → ErrorBarContext-UL-jymXX.js} +1 -1
  16. package/dist/client/assets/{Globe04-CkYPSYr8.js → Globe04-DKUCyty7.js} +1 -1
  17. package/dist/client/assets/{Image01-DH2NgDr7.js → Image01-CyRCJwXT.js} +1 -1
  18. package/dist/client/assets/{Key01-DPrJgF_f.js → Key01-DWXRgH6w.js} +1 -1
  19. package/dist/client/assets/{Link01-EwrQnCAj.js → Link01-CNb9DW_9.js} +1 -1
  20. package/dist/client/assets/{LinkBroken01-CKnd9LCY.js → LinkBroken01-BU-4AKfc.js} +1 -1
  21. package/dist/client/assets/{Monitor01-BSew-T8c.js → Monitor01-yE6iFgVP.js} +1 -1
  22. package/dist/client/assets/{Play-bKNPMcOD.js → Play-ChRMrCTB.js} +1 -1
  23. package/dist/client/assets/{Plus-C1jGf_Gu.js → Plus-DtZhz_pb.js} +1 -1
  24. package/dist/client/assets/{SearchMd-DjoAJ_aH.js → SearchMd-BQTuqO8x.js} +1 -1
  25. package/dist/client/assets/{Sector-_F0EuVMq.js → Sector-DeEfQN_u.js} +1 -1
  26. package/dist/client/assets/{ShoppingBag01-BynB5rGF.js → ShoppingBag01-CQIeNQm_.js} +1 -1
  27. package/dist/client/assets/{Sun-B5VGOrX8.js → Sun-kLYmwsq0.js} +1 -1
  28. package/dist/client/assets/{SwitchHorizontal01-CoAm6c3b.js → SwitchHorizontal01-DGImzN1R.js} +1 -1
  29. package/dist/client/assets/{Tool01-gHo5_usT.js → Tool01-BRVvW2LV.js} +1 -1
  30. package/dist/client/assets/{Trash01-B2L35h4N.js → Trash01-Bt3rK1ka.js} +1 -1
  31. package/dist/client/assets/{Upload01-BmOSnWKa.js → Upload01-s7SnRMvp.js} +1 -1
  32. package/dist/client/assets/{User01-DeoupK5c.js → User01-BmCbB_zb.js} +1 -1
  33. package/dist/client/assets/{UserSquare-DGLSfuGI.js → UserSquare-DL7MdeuL.js} +1 -1
  34. package/dist/client/assets/{Users01-staROqDK.js → Users01-BVggEmV6.js} +1 -1
  35. package/dist/client/assets/{XAxis-BkGXfrFX.js → XAxis-CDuxbcPP.js} +1 -1
  36. package/dist/client/assets/{XClose-SgZ1xYAr.js → XClose-UWi3HSZE.js} +1 -1
  37. package/dist/client/assets/{ZoomOut-GzEhPwmD.js → ZoomOut-B4Rw_R2z.js} +1 -1
  38. package/dist/client/assets/{access-gate-CZeXfxLf.js → access-gate-D3L-T38D.js} +1 -1
  39. package/dist/client/assets/{add-connection-dialog-BGa3ZBmA.js → add-connection-dialog-8k8OTwPv.js} +1 -1
  40. package/dist/client/assets/{agent-analytics-DPwSJREO.js → agent-analytics-bu3kFNJu.js} +1 -1
  41. package/dist/client/assets/agent-app-BMA5upH5.js +1 -0
  42. package/dist/client/assets/{agent-assets-DCX0ywK3.js → agent-assets-DJjZB71J.js} +1 -1
  43. package/dist/client/assets/{agent-automation-Ddwg84ee.js → agent-automation-5jRP2Yu0.js} +1 -1
  44. package/dist/client/assets/{agent-automations-CMrVMHoV.js → agent-automations-DBSfm1Um.js} +1 -1
  45. package/dist/client/assets/{agent-connect-sources-DyZZpidr.js → agent-connect-sources-C1dugrdG.js} +1 -1
  46. package/dist/client/assets/agent-deck-BJf1WFap.js +1 -0
  47. package/dist/client/assets/{agent-e2e-LNoWf1q1.js → agent-e2e-PI2OzWvI.js} +1 -1
  48. package/dist/client/assets/{agent-experiments-DhSnChQH.js → agent-experiments-DRdlymR5.js} +1 -1
  49. package/dist/client/assets/{agent-file-D7lhfRwe.js → agent-file-BzADFUid.js} +1 -1
  50. package/dist/client/assets/{agent-hosting-z-dkVRLB.js → agent-hosting-CPH-NeL_.js} +1 -1
  51. package/dist/client/assets/{agent-icon-Cgp1-Rbx.js → agent-icon-Blcoi2NV.js} +1 -1
  52. package/dist/client/assets/agent-library-BqFtXY1m.js +1 -0
  53. package/dist/client/assets/agent-library-file-CQDlY3Yr.js +1 -0
  54. package/dist/client/assets/{agent-monitor-lcAtszWh.js → agent-monitor-PGLXk9dq.js} +1 -1
  55. package/dist/client/assets/{agent-overview-A0XZkNZX.js → agent-overview-D278LRIL.js} +1 -1
  56. package/dist/client/assets/{agent-releases-CdrTvT-G.js → agent-releases-CwPpC6Zn.js} +1 -1
  57. package/dist/client/assets/agent-settings-DeB5MuX_.js +1 -0
  58. package/dist/client/assets/{agent-site-editor-rsHLltUo.js → agent-site-editor-BSI5T3i7.js} +1 -1
  59. package/dist/client/assets/agent-site-editor-code-Dq4KRDBk.js +2 -0
  60. package/dist/client/assets/agent-site-editor-content-Blm2auu-.js +1 -0
  61. package/dist/client/assets/agent-site-editor-preview-CCk80iIG.js +1 -0
  62. package/dist/client/assets/agent-view-Cl8uWNJN.js +1 -0
  63. package/dist/client/assets/{agent-view-guard-qqtbmzn8.js → agent-view-guard-CVWBSVAR.js} +1 -1
  64. package/dist/client/assets/{agents-list-Bl683eN3.js → agents-list-DYmELJk-.js} +1 -1
  65. package/dist/client/assets/ai-providers-B3x7urKU.js +6 -0
  66. package/dist/client/assets/{alert-CBqUZF_B.js → alert-Dp8EatFO.js} +1 -1
  67. package/dist/client/assets/{alert-dialog-CWY9Kc3Y.js → alert-dialog-qlQC4zlU.js} +1 -1
  68. package/dist/client/assets/{analytics-sections-CaEiZicR.js → analytics-sections-BirEZrZQ.js} +1 -1
  69. package/dist/client/assets/{api-keys-ZpWV4LWE.js → api-keys-7UDmxa_w.js} +1 -1
  70. package/dist/client/assets/api-keys-DSwUfsL4.js +1 -0
  71. package/dist/client/assets/{app-editor-CpBb0p40.js → app-editor-tLSj0Sjg.js} +1 -1
  72. package/dist/client/assets/{asset-utils-xrLuSjSE.js → asset-utils-DYZVbDw1.js} +1 -1
  73. package/dist/client/assets/{auth-DN7Bvt0x.js → auth-CLglKqB6.js} +1 -1
  74. package/dist/client/assets/{auth-catchall-LDgnpYFX.js → auth-catchall-CrJHPLPw.js} +1 -1
  75. package/dist/client/assets/{auth-entry-DBQx8en_.js → auth-entry-CD3L2RvS.js} +1 -1
  76. package/dist/client/assets/{auth-split-layout-Fwc5hwZ5.js → auth-split-layout-UjhzYVxM.js} +1 -1
  77. package/dist/client/assets/{authenticate-and-persist-oauth-DxbO9IXQ.js → authenticate-and-persist-oauth-ClVBgGv4.js} +1 -1
  78. package/dist/client/assets/{automation-list-row-D5qFdHQB.js → automation-list-row-CAEPQbgy.js} +1 -1
  79. package/dist/client/assets/{automation-runs-DcR0jeNA.js → automation-runs-dUM-MaiP.js} +1 -1
  80. package/dist/client/assets/{automations-Dityp5_M.js → automations-megKF7It.js} +1 -1
  81. package/dist/client/assets/{autosend-CGqWx5OM.js → autosend-CE_yiNtR.js} +1 -1
  82. package/dist/client/assets/{avatar-BEzB55DL.js → avatar-B8cS3VPt.js} +1 -1
  83. package/dist/client/assets/{badge-BH_WGjDS.js → badge-Qzxf6tet.js} +1 -1
  84. package/dist/client/assets/{block-document-5J5cVbgF.js → block-document-AKpwbifj.js} +1 -1
  85. package/dist/client/assets/{blocks-preview-workspace-context-Cbvinja6.js → blocks-preview-workspace-context-VkiPmc8G.js} +1 -1
  86. package/dist/client/assets/{blocks-tab-states-Cr3Mgd7m.js → blocks-tab-states-BbjL1qhZ.js} +3 -3
  87. package/dist/client/assets/{blog-schema-Izy6f_kE.js → blog-schema-DL-wxhkE.js} +1 -1
  88. package/dist/client/assets/{board-analytics-DmM8aqHX.js → board-analytics-C1pwywOy.js} +1 -1
  89. package/dist/client/assets/{buckets-geowc7lF.js → buckets-DZKIT9DY.js} +1 -1
  90. package/dist/client/assets/{build-improve-prompt-doc-5cXWIMm8.js → build-improve-prompt-doc-1VLAf1m8.js} +1 -1
  91. package/dist/client/assets/{calendar-D2pB4wtO.js → calendar-BuSRVV5D.js} +1 -1
  92. package/dist/client/assets/{capability-load-error-Dds-uRz2.js → capability-load-error-DBmMi5Hs.js} +1 -1
  93. package/dist/client/assets/{category-editor-BTiGDErD.js → category-editor-DVRF9hj1.js} +1 -1
  94. package/dist/client/assets/{chart-BES0Ixch.js → chart-NrDAd4pe.js} +1 -1
  95. package/dist/client/assets/{chat-context-DnIdZBaI.js → chat-context-Ch-VpD9W.js} +1 -1
  96. package/dist/client/assets/{chat-draft-CRVPT9el.js → chat-draft-B2p2B6Yw.js} +1 -1
  97. package/dist/client/assets/{checkbox-Uc-RZ_Vx.js → checkbox-C0-Eo7G1.js} +1 -1
  98. package/dist/client/assets/{choose-editor-tZFlebbQ.js → choose-editor-BeLyDWVx.js} +1 -1
  99. package/dist/client/assets/{cli-auth-success-CRs28Mxh.js → cli-auth-success-DUKgfRgt.js} +1 -1
  100. package/dist/client/assets/{client-icons-mh3r1xQL.js → client-icons-DtQhx8-x.js} +1 -1
  101. package/dist/client/assets/cms-settings-editor-Dxh-Mvqb.js +1 -0
  102. package/dist/client/assets/{collapsible-Ds-16t3Z.js → collapsible-EpmgpNpi.js} +1 -1
  103. package/dist/client/assets/{collection-detail-BUD1Fj-1.js → collection-detail-BTHodnm7.js} +1 -1
  104. package/dist/client/assets/{collection-display-button-B4UCXL7F.js → collection-display-button-__Pm6Nmn.js} +1 -1
  105. package/dist/client/assets/{collection-search-DRsC_wPy.js → collection-search-ehqGBK_4.js} +1 -1
  106. package/dist/client/assets/{collection-table-wrapper-B4kBTbV1.js → collection-table-wrapper-BBPmRt9r.js} +1 -1
  107. package/dist/client/assets/{collection-tabs-G4I4mgEg.js → collection-tabs-iTmpvLeT.js} +1 -1
  108. package/dist/client/assets/{column-rules-Bx5p17lP.js → column-rules-adUN8XvK.js} +1 -1
  109. package/dist/client/assets/{combobox-BjJigzYO.js → combobox-BUo7EBrO.js} +1 -1
  110. package/dist/client/assets/{command-DYQfaTJP.js → command-BAgcQ2fh.js} +1 -1
  111. package/dist/client/assets/{companion-mcps-section-g374jTYK.js → companion-mcps-section-CAn17bJY.js} +1 -1
  112. package/dist/client/assets/{config-TpF0U9xK.js → config-BDu66MgM.js} +1 -1
  113. package/dist/client/assets/{connect-CX0GhSHk.js → connect-2yc9-JJp.js} +1 -1
  114. package/dist/client/assets/{connect-layout-BMKwPFI2.js → connect-layout-DtIoh422.js} +1 -1
  115. package/dist/client/assets/{connection-Chcd5gfb.js → connection-B8e9uIdy.js} +1 -1
  116. package/dist/client/assets/{connection-card-BZ2hvQNx.js → connection-card-CLVSIR42.js} +1 -1
  117. package/dist/client/assets/{connection-detail-F-9yuMeT.js → connection-detail-DN36Ozvh.js} +1 -1
  118. package/dist/client/assets/{connection-form-helpers-CYVYxK9g.js → connection-form-helpers-CSZF_TQx.js} +1 -1
  119. package/dist/client/assets/{connections-BrK9YMjs.js → connections-DC5XESZs.js} +1 -1
  120. package/dist/client/assets/{content-tab-KxngU340.js → content-tab-DUe9Pk3L.js} +3 -3
  121. package/dist/client/assets/{context-tSOe45h9.js → context-DdNfBAMU.js} +1 -1
  122. package/dist/client/assets/{context-menu-BXe1H0QA.js → context-menu-DJ87apJ2.js} +1 -1
  123. package/dist/client/assets/{core.esm-CPRa5yRj.js → core.esm-C7s0VVJH.js} +1 -1
  124. package/dist/client/assets/{create-organization-dialog-B9kEJeCB.js → create-organization-dialog-DoF61er3.js} +1 -1
  125. package/dist/client/assets/{daily-pulse-BA8HcQTn.js → daily-pulse-C775e_y-.js} +1 -1
  126. package/dist/client/assets/{discover-ut7HMfOm.js → discover-C_Que9Au.js} +1 -1
  127. package/dist/client/assets/{domain-settings-DReys8Mx.js → domain-settings-CT-S0BOV.js} +1 -1
  128. package/dist/client/assets/{drawer-WlRFS7Ay.js → drawer-CixpU7n-.js} +1 -1
  129. package/dist/client/assets/{editor-DATgPuQr.js → editor-BKRP2Iwc.js} +1 -1
  130. package/dist/client/assets/{editor-classes-Dqv6lj24.js → editor-classes-DZByr-lI.js} +1 -1
  131. package/dist/client/assets/{empty-state-moJi-5lI.js → empty-state-BZZcWHI_.js} +1 -1
  132. package/dist/client/assets/{empty-state-B1yxQlJg.js → empty-state-DQLm0d5k.js} +1 -1
  133. package/dist/client/assets/{extract-connection-data--Fovqgj9.js → extract-connection-data-DJs0gTBx.js} +1 -1
  134. package/dist/client/assets/{feature-gate-DijBSCNJ.js → feature-gate-CgRSy5_Q.js} +1 -1
  135. package/dist/client/assets/{feature-paywall-v1Fb6fZF.js → feature-paywall-EueGiC9A.js} +1 -1
  136. package/dist/client/assets/{file-explorer-CisB6hMY.js → file-explorer-cu0ZoZ2i.js} +1 -1
  137. package/dist/client/assets/{file-preview-BUCUOt-k.js → file-preview-BJ_PkL7X.js} +1 -1
  138. package/dist/client/assets/{file-share-button-BUqpTgXp.js → file-share-button-rEinR-qh.js} +1 -1
  139. package/dist/client/assets/{file-type-icon-IzZjwu7K.js → file-type-icon-C2JXE2hG.js} +1 -1
  140. package/dist/client/assets/flat-project-fhJMf2Fo.js +1 -0
  141. package/dist/client/assets/{folder-icon-Bsi0vn7I.js → folder-icon-Cayf6XFB.js} +1 -1
  142. package/dist/client/assets/{form-DSbydQ9O.js → form-BivWj0r6.js} +1 -1
  143. package/dist/client/assets/{general-DcBh6hf3.js → general-BQtDTtDD.js} +1 -1
  144. package/dist/client/assets/{home-Bq-bjcAt.js → home-DncG44Vc.js} +1 -1
  145. package/dist/client/assets/{hosted-publish-feedback-C0L18XKn.js → hosted-publish-feedback-CfrjUALv.js} +1 -1
  146. package/dist/client/assets/{icon-button-C0jFpnCv.js → icon-button-DxqkkLQj.js} +1 -1
  147. package/dist/client/assets/{index-BiA-t4Hy.js → index-5vR8G6oj.js} +1 -1
  148. package/dist/client/assets/{index-B4FWh-TU.js → index-B26ImUL7.js} +1 -1
  149. package/dist/client/assets/{index-BOYIuRkz.js → index-BF64aC--.js} +1 -1
  150. package/dist/client/assets/{index-BQ2qZBgx.js → index-BYmaAL9a.js} +1 -1
  151. package/dist/client/assets/{index-CeKAW7ia.js → index-BmYzltjg.js} +1 -1
  152. package/dist/client/assets/{index-_CyfhGXa.js → index-BtcVoJOD.js} +1 -1
  153. package/dist/client/assets/{index-WULssi-Q.js → index-BvuLMeCw.js} +3 -3
  154. package/dist/client/assets/{index-BbDc7Y9O.js → index-C-gf76Hu.js} +1 -1
  155. package/dist/client/assets/{index-C1tHNU3p.js → index-C47EvNjt.js} +1 -1
  156. package/dist/client/assets/{index-DR8Su143.js → index-CZciUUmu.js} +1 -1
  157. package/dist/client/assets/{index-CpsTTiQE.js → index-CvK4-KP3.js} +1 -1
  158. package/dist/client/assets/{index-Bio6kNpV.js → index-DV6FL3mH.js} +1 -1
  159. package/dist/client/assets/{index-D7sc3WaJ.js → index-NRMbjvM1.js} +1 -1
  160. package/dist/client/assets/{index-wFdxw2k_.js → index-TD9q6ZAx.js} +5 -5
  161. package/dist/client/assets/{index-redirect-w-0W0NUM.js → index-redirect-CCsqcmui.js} +1 -1
  162. package/dist/client/assets/{index-DCKP2AL5.js → index-xlh3U8dq.js} +1 -1
  163. package/dist/client/assets/{infiniteQueryObserver-1Nb7ygTX.js → infiniteQueryObserver-X8qh_Va6.js} +1 -1
  164. package/dist/client/assets/{infra-billing-hV6CHYxH.js → infra-billing-fufjpAYz.js} +1 -1
  165. package/dist/client/assets/{input-Ceh9947-.js → input-BSUErVvJ.js} +3 -3
  166. package/dist/client/assets/{input-CzNDxW-p.js → input-h8042dl0.js} +1 -1
  167. package/dist/client/assets/{integration-icon-BPag0HQm.js → integration-icon-DJtlg_0w.js} +1 -1
  168. package/dist/client/assets/{jira-icon-ifmeQn21.js → jira-icon-D0XL00z9.js} +1 -1
  169. package/dist/client/assets/{label-CQYxH0TR.js → label-B-SEr3Fs.js} +1 -1
  170. package/dist/client/assets/{layout-CdChXOi6.js → layout-BI2BIstR.js} +1 -1
  171. package/dist/client/assets/{legacy-agents-deep-BtUjTNH_.js → legacy-agents-deep-jcGaNAHc.js} +1 -1
  172. package/dist/client/assets/{legacy-main-redirect-CGRT9wAN.js → legacy-main-redirect-D6tF7agn.js} +1 -1
  173. package/dist/client/assets/library-DntM1dnS.js +1 -0
  174. package/dist/client/assets/{library-tab-nrpvyINN.js → library-tab-BZkqrpuT.js} +1 -1
  175. package/dist/client/assets/{login-DQqSSnqy.js → login-C9lgbiSh.js} +1 -1
  176. package/dist/client/assets/{markdown-DurQwPzV.js → markdown-B-jDeUMA.js} +1 -1
  177. package/dist/client/assets/{mcp-app-renderer-NiFsT2pJ.js → mcp-app-renderer-Bk4hyaxU.js} +1 -1
  178. package/dist/client/assets/{mcp-oauth-XpCTKkfu.js → mcp-oauth-CaxV9wcl.js} +1 -1
  179. package/dist/client/assets/{mcp-oauth-Dff3yojn.js → mcp-oauth-V-o-AEQP.js} +1 -1
  180. package/dist/client/assets/{members-DMVi5o98.js → members-BLeFrNm9.js} +1 -1
  181. package/dist/client/assets/{memory-DIF2ywrA.js → memory-BsNDNxr2.js} +1 -1
  182. package/dist/client/assets/{mini-report-page-DHPkzjD_.js → mini-report-page-B0fqOWnH.js} +1 -1
  183. package/dist/client/assets/mock-board-BFTY4RvG.js +1 -0
  184. package/dist/client/assets/{monaco-editor-Dct1EfHT.js → monaco-editor-D49CJi8U.js} +1 -1
  185. package/dist/client/assets/{monitoring-stats-row-DMDJZVd2.js → monitoring-stats-row-BB3CDHWN.js} +1 -1
  186. package/dist/client/assets/{multi-select-Cn966z1g.js → multi-select-BvMK4932.js} +1 -1
  187. package/dist/client/assets/{mustache-BYEVEnz3.js → mustache-HTehKKTG.js} +1 -1
  188. package/dist/client/assets/{new-project-dialog-BDSi2lYl.js → new-project-dialog-DoLb5YVK.js} +1 -1
  189. package/dist/client/assets/{oauth-callback-DXdUEFpc.js → oauth-callback-Blwmfj1R.js} +1 -1
  190. package/dist/client/assets/{oauth-callback-ai-provider-DlAWIja6.js → oauth-callback-ai-provider-Dc9onjjw.js} +1 -1
  191. package/dist/client/assets/{onboarding-SJ6Q72M4.js → onboarding-K-cgEcDl.js} +1 -1
  192. package/dist/client/assets/{openai-conversation-lYlmwIzY.js → openai-conversation-R6WmtJ5r.js} +1 -1
  193. package/dist/client/assets/{optimistic-project-sidebar-views-Bp7eA4v5.js → optimistic-project-sidebar-views-Bmh9CacI.js} +1 -1
  194. package/dist/client/assets/{order-monitor-day-t8Y-HAbt.js → order-monitor-day-CZfhLaiW.js} +1 -1
  195. package/dist/client/assets/{organization-choice-xE4qpP6H.js → organization-choice-dC-onaYV.js} +1 -1
  196. package/dist/client/assets/{orgs-BnzYsVdt.js → orgs-BOJwmOLw.js} +1 -1
  197. package/dist/client/assets/{page-seo-form-Dm5HWm7X.js → page-seo-form-CrsEBL3M.js} +1 -1
  198. package/dist/client/assets/{pair-B_9py9M_.js → pair-CYYi6JKh.js} +1 -1
  199. package/dist/client/assets/{plan-ladder-hsk9sMi3.js → plan-ladder-Okx-KzN5.js} +1 -1
  200. package/dist/client/assets/{popover-B8WQyYwE.js → popover-gJO3R5Ii.js} +1 -1
  201. package/dist/client/assets/{post-calendar-HzlqyoFX.js → post-calendar-BgDWtRgx.js} +1 -1
  202. package/dist/client/assets/{post-editor-_yiJ-Kct.js → post-editor-CxINLeRV.js} +1 -1
  203. package/dist/client/assets/{preview-content-B8YyjekZ.js → preview-content-Cfi8bwXI.js} +1 -1
  204. package/dist/client/assets/{preview-dialog-bksJINeP.js → preview-dialog-jZ9sRQON.js} +1 -1
  205. package/dist/client/assets/{preview-panel-B8wW3oOG.js → preview-panel-CN8PRsYc.js} +1 -1
  206. package/dist/client/assets/{preview-tab-D_zCwBYM.js → preview-tab-DRuTgCNI.js} +3 -3
  207. package/dist/client/assets/{product-picker-dialog-DbDjfkAQ.js → product-picker-dialog-DB4JPBCA.js} +1 -1
  208. package/dist/client/assets/{profile-DdCmH2hW.js → profile-DEiIcjHZ.js} +1 -1
  209. package/dist/client/assets/{project-app-view-ChMgcNAY.js → project-app-view-Ml2wH3iy.js} +1 -1
  210. package/dist/client/assets/{project-feed-CB9OPO_N.js → project-feed-CfssvHDQ.js} +1 -1
  211. package/dist/client/assets/{project-icon-BwmwhXEd.js → project-icon-BlJz5cOI.js} +1 -1
  212. package/dist/client/assets/project-reports-CsI0AQuY.js +1 -0
  213. package/dist/client/assets/project-tasks-DLi14b92.js +1 -0
  214. package/dist/client/assets/{projects-BmqEzMnN.js → projects-Dzy3_FXd.js} +1 -1
  215. package/dist/client/assets/{projects-empty-state-BscYKwea.js → projects-empty-state-BDYeDrMv.js} +1 -1
  216. package/dist/client/assets/{prompts-DopKJbNh.js → prompts-DV4Kjfa5.js} +1 -1
  217. package/dist/client/assets/record-editor-wOnCkFPK.js +1 -0
  218. package/dist/client/assets/{redirect-editor-Bh_26SDR.js → redirect-editor-DFCv83sL.js} +1 -1
  219. package/dist/client/assets/reports-AMpsYdUr.js +1 -0
  220. package/dist/client/assets/{reports-DNvLVhhR.js → reports-DXYrq_BO.js} +1 -1
  221. package/dist/client/assets/{reports-onboarding-aJM_IDTw.js → reports-onboarding-1VulbTO6.js} +1 -1
  222. package/dist/client/assets/{reports-tab-BMc9C4Qh.js → reports-tab-DmNt_T04.js} +2 -2
  223. package/dist/client/assets/{repositories-BD5gqmJg.js → repositories-D6jC23CW.js} +1 -1
  224. package/dist/client/assets/{repository-binding-09n9zNFN.js → repository-binding-BnejFX7t.js} +1 -1
  225. package/dist/client/assets/{repository-import-picker-DL9csYfh.js → repository-import-picker-h-r8nnEf.js} +1 -1
  226. package/dist/client/assets/{repository-picker-DABBo0DW.js → repository-picker-FTAXO4Nx.js} +1 -1
  227. package/dist/client/assets/{require-capability-BEWYbP4S.js → require-capability-BewAou1A.js} +1 -1
  228. package/dist/client/assets/{required-auth-layout-BF8PRozy.js → required-auth-layout-gIZfj42y.js} +1 -1
  229. package/dist/client/assets/{reset-password-ScHjA5IF.js → reset-password-Bq09blPf.js} +1 -1
  230. package/dist/client/assets/{resizable-DkYJhCH3.js → resizable-CGzf0YCQ.js} +1 -1
  231. package/dist/client/assets/{resolve-tab-icon-BFjWL9qV.js → resolve-tab-icon-Daxo01Gi.js} +1 -1
  232. package/dist/client/assets/{review-settings-BGU-nfDw.js → review-settings-DR_kj-Ru.js} +1 -1
  233. package/dist/client/assets/roles-DWOkvlO_.js +1 -0
  234. package/dist/client/assets/{route-C0_qtTp0.js → route-B-p6J_u6.js} +1 -1
  235. package/dist/client/assets/route-G0-ZvPpf.js +1 -0
  236. package/dist/client/assets/route-UiPRedfp.js +1 -0
  237. package/dist/client/assets/{sandbox-lifecycle-context-Ue82FfDC.js → sandbox-lifecycle-context-rc29IhVV.js} +1 -1
  238. package/dist/client/assets/{schema-Fm9WpUHJ.js → schema-BGirdKR7.js} +1 -1
  239. package/dist/client/assets/schema-DTvMW5Bj.js +1 -0
  240. package/dist/client/assets/{scroll-area-CB_2Aaiz.js → scroll-area-D0jo1bkt.js} +1 -1
  241. package/dist/client/assets/{search-input-BLMScalM.js → search-input-DIOUBltI.js} +1 -1
  242. package/dist/client/assets/{search-toggle-CRC9Uyem.js → search-toggle-BWyMsPKk.js} +1 -1
  243. package/dist/client/assets/{secret-ciphertext-DKMPhCC7.js → secret-ciphertext-ANOQlePB.js} +1 -1
  244. package/dist/client/assets/{secret-picker-Ct5TqLUt.js → secret-picker--4BFyqbe.js} +1 -1
  245. package/dist/client/assets/{secrets-W81BJ6O0.js → secrets-BxBi0DW0.js} +1 -1
  246. package/dist/client/assets/{sections-editor-CoFpY6Pb.js → sections-editor-cLAvYqLX.js} +1 -1
  247. package/dist/client/assets/{select-model-Dao29CnX.js → select-model-Dqb1K6bc.js} +1 -1
  248. package/dist/client/assets/{select-XSwSofuZ.js → select-vip2MDSn.js} +1 -1
  249. package/dist/client/assets/{seo-editor-CXJw5HQb.js → seo-editor-DDZSfwYW.js} +1 -1
  250. package/dist/client/assets/{separator-DKnUckca.js → separator-BQ3AM4Ug.js} +1 -1
  251. package/dist/client/assets/{settings-tab-B0y-8xZD.js → settings-tab-eia9Fz-X.js} +1 -1
  252. package/dist/client/assets/{sheet-BvEf_UVQ.js → sheet-IYrYpc2B.js} +1 -1
  253. package/dist/client/assets/{shell-layout-CBiOwFtT.js → shell-layout-BM51_FIv.js} +1 -1
  254. package/dist/client/assets/site-editor-C5iX5zAy.js +1 -0
  255. package/dist/client/assets/{site-editor-toast-DZvdp8hl.js → site-editor-toast-DbJhMk7V.js} +1 -1
  256. package/dist/client/assets/{skills-B9A_KuNf.js → skills-D2FiXzGW.js} +1 -1
  257. package/dist/client/assets/{slider-CIERvkTu.js → slider-CwnL3HRa.js} +1 -1
  258. package/dist/client/assets/{sortable.esm-DVeag0L1.js → sortable.esm-BmwNKHYn.js} +1 -1
  259. package/dist/client/assets/{sso-SHUpqa2t.js → sso-DMQ-B__P.js} +1 -1
  260. package/dist/client/assets/{suggestion-8feXh3Uo.js → suggestion-B_X9vnmO.js} +1 -1
  261. package/dist/client/assets/{switch-CIYZwU4n.js → switch-B9eCMptF.js} +1 -1
  262. package/dist/client/assets/{symbol-BBXD1fl1.js → symbol-BnsdD8oy.js} +1 -1
  263. package/dist/client/assets/{synced-repos-DUkzQSzh.js → synced-repos-VO9uiFX2.js} +1 -1
  264. package/dist/client/assets/{tab-icon-glyph-Di0eKueD.js → tab-icon-glyph-D53P8msf.js} +1 -1
  265. package/dist/client/assets/{table-D32JWTgg.js → table-D9fzXIkZ.js} +1 -1
  266. package/dist/client/assets/{tabs-DWLSC789.js → tabs-BawejvDB.js} +1 -1
  267. package/dist/client/assets/task-board-ouLvp423.js +1 -0
  268. package/dist/client/assets/{task-route-DcEcJOK4.js → task-route-CjHIKjev.js} +1 -1
  269. package/dist/client/assets/{task-status-DCsFB7tb.js → task-status-Buh7B1MG.js} +1 -1
  270. package/dist/client/assets/taskboard-analytics-DhwjY7M5.js +1 -0
  271. package/dist/client/assets/tasks-Ds4uIhX_.js +1 -0
  272. package/dist/client/assets/{tasks-CxWkzUmt.js → tasks-FmvKs9d3.js} +1 -1
  273. package/dist/client/assets/{textarea-BRAhDvOh.js → textarea-B-TS083j.js} +1 -1
  274. package/dist/client/assets/{thread-analytics-C2SSbO3U.js → thread-analytics-ykgOvgFb.js} +1 -1
  275. package/dist/client/assets/{thread-intent-DLRGXMNS.js → thread-intent-S-gJClOG.js} +1 -1
  276. package/dist/client/assets/{thread-route-zVWhMReX.js → thread-route-CQmCTEyn.js} +1 -1
  277. package/dist/client/assets/{thread-route-uTiqhl-l.js → thread-route-DtCL8-V4.js} +1 -1
  278. package/dist/client/assets/{thread-sheet-body-BxMopJ4Q.js → thread-sheet-body-DacE2e8a.js} +1 -1
  279. package/dist/client/assets/{time-range-picker-DrHQe3U8.js → time-range-picker-BIBoZiWJ.js} +1 -1
  280. package/dist/client/assets/{toggle-group-D9ChEXcL.js → toggle-group-DI4ttUmk.js} +1 -1
  281. package/dist/client/assets/{tool-namespace-B6bl3mST.js → tool-namespace-DSuLhjHC.js} +1 -1
  282. package/dist/client/assets/{toolbar-icon-button-CrX4dIfH.js → toolbar-icon-button-UylaJSAo.js} +1 -1
  283. package/dist/client/assets/{tooltip-BP_lFNWX.js → tooltip-D3Lno7Sd.js} +1 -1
  284. package/dist/client/assets/{tooltipContext-BwHz9WYB.js → tooltipContext-BF4YYYQ4.js} +1 -1
  285. package/dist/client/assets/{track-XuWYLpsB.js → track-9gnPqqM1.js} +1 -1
  286. package/dist/client/assets/{types-DzDNRCBv.js → types-oDc7dHni.js} +1 -1
  287. package/dist/client/assets/{url-slug-DZjL4P4N.js → url-slug-CzRjxv-k.js} +1 -1
  288. package/dist/client/assets/{usage-stats-BrfBlLKo.js → usage-stats-DadTD3M-.js} +1 -1
  289. package/dist/client/assets/{use-ai-providers-bNjYR9g2.js → use-ai-providers-AcvGe9-V.js} +1 -1
  290. package/dist/client/assets/{use-app-takeover-n62Fmu8v.js → use-app-takeover-BEzFC8oO.js} +1 -1
  291. package/dist/client/assets/{use-automations-CS_cSvCE.js → use-automations-CN350YMB.js} +1 -1
  292. package/dist/client/assets/{use-autosave-cTT6Hu-H.js → use-autosave-Dav7fRBX.js} +1 -1
  293. package/dist/client/assets/{use-chat-navigation-CO4_t1mA.js → use-chat-navigation-DlxbS2Ir.js} +1 -1
  294. package/dist/client/assets/{use-clock-tick-DpInA1iA.js → use-clock-tick-Biiz8lzy.js} +1 -1
  295. package/dist/client/assets/{use-connect-companion-XyjuBcsZ.js → use-connect-companion-VKAyFcK2.js} +1 -1
  296. package/dist/client/assets/{use-connection-CHo2bcMw.js → use-connection-OOD0tHd7.js} +1 -1
  297. package/dist/client/assets/{use-content-sync-BfdqJCQu.js → use-content-sync-BQvWp4_o.js} +1 -1
  298. package/dist/client/assets/{use-copy-DUoQxyl0.js → use-copy-Cn4Z57YH.js} +1 -1
  299. package/dist/client/assets/{use-create-virtual-mcp-DEnk__H8.js → use-create-virtual-mcp-CZW2rCq7.js} +1 -1
  300. package/dist/client/assets/{use-date-fns-locale-HDKinbV-.js → use-date-fns-locale-ZV1qLyjT.js} +1 -1
  301. package/dist/client/assets/{use-debounced-autosave-DYYkzWY_.js → use-debounced-autosave-DoWWmWzG.js} +1 -1
  302. package/dist/client/assets/{use-debounced-value-G0eXCuJA.js → use-debounced-value-WEbEbeed.js} +1 -1
  303. package/dist/client/assets/{use-deco-credits-DM3bKm1X.js → use-deco-credits-D1idFaA8.js} +1 -1
  304. package/dist/client/assets/{use-decopilot-events-1AtUjySK.js → use-decopilot-events-BITSrHb-.js} +1 -1
  305. package/dist/client/assets/{use-delete-connection-Cg3msRwS.js → use-delete-connection-KMdMK-5V.js} +1 -1
  306. package/dist/client/assets/{use-deployment-admin-BH9iAY5E.js → use-deployment-admin-B_soKFRv.js} +1 -1
  307. package/dist/client/assets/{use-ensure-project-folder-Ba1RyXTm.js → use-ensure-project-folder-BUN6VVAV.js} +1 -1
  308. package/dist/client/assets/{use-fast-preview-draft-url-DuVBfmnv.js → use-fast-preview-draft-url-CSXqCUZ_.js} +1 -1
  309. package/dist/client/assets/{use-file-configs-DpVdr_mk.js → use-file-configs-DMVCBG-z.js} +1 -1
  310. package/dist/client/assets/{use-infinite-scroll-fbccvd5L.js → use-infinite-scroll-DjYaDj_j.js} +1 -1
  311. package/dist/client/assets/{use-join-requests-BU-AH2wa.js → use-join-requests-Be-FCByX.js} +1 -1
  312. package/dist/client/assets/{use-main-panel-tabs-BbpwWXur.js → use-main-panel-tabs-Cloon3zW.js} +1 -1
  313. package/dist/client/assets/{use-mcp-auth-status-DRC6-H1Z.js → use-mcp-auth-status-Bv4IbKQl.js} +1 -1
  314. package/dist/client/assets/{use-mcp-client-CgigId7h.js → use-mcp-client-fTyLcuiX.js} +1 -1
  315. package/dist/client/assets/{use-mcp-prompts-C5fo7JyP.js → use-mcp-prompts-CyqOUVUD.js} +1 -1
  316. package/dist/client/assets/{use-mcp-tools-CMQDcWNX.js → use-mcp-tools-sv7pv5ex.js} +1 -1
  317. package/dist/client/assets/{use-members-DKO2z7jU.js → use-members-CvY21L2Q.js} +1 -1
  318. package/dist/client/assets/{use-mobile-BLPp5y7v.js → use-mobile-2T0aye5I.js} +1 -1
  319. package/dist/client/assets/{use-navigate-to-agent-CVa4wG4H.js → use-navigate-to-agent-BpeT4fqu.js} +1 -1
  320. package/dist/client/assets/{use-open-billing-url-BNJHjUYg.js → use-open-billing-url-Db0e3guK.js} +1 -1
  321. package/dist/client/assets/{use-org-auth-client-BryWu6mx.js → use-org-auth-client-CWA2hWCM.js} +1 -1
  322. package/dist/client/assets/{use-org-fs-Busfyhv0.js → use-org-fs-CPNJqv-N.js} +1 -1
  323. package/dist/client/assets/{use-org-repo-syncs-Bz1fQYYa.js → use-org-repo-syncs-MWiNxGjz.js} +1 -1
  324. package/dist/client/assets/{use-org-sso-bcSBbFXH.js → use-org-sso-BMLNRQyf.js} +1 -1
  325. package/dist/client/assets/{use-organization-roles-DffTFg63.js → use-organization-roles-DwFJmstu.js} +1 -1
  326. package/dist/client/assets/{use-organization-settings-Cc-OpUav.js → use-organization-settings-lug340cj.js} +1 -1
  327. package/dist/client/assets/{use-panel-navigate-Cse0kIZg.js → use-panel-navigate-CfJ9Qf-l.js} +1 -1
  328. package/dist/client/assets/{use-project-native-view-presence-DgHBfVGR.js → use-project-native-view-presence-DdsfKci4.js} +1 -1
  329. package/dist/client/assets/{use-project-scope-B3ANi1IJ.js → use-project-scope-C99MQSqi.js} +1 -1
  330. package/dist/client/assets/{use-recent-apps-ClF4CK3T.js → use-recent-apps-BumxbfgY.js} +1 -1
  331. package/dist/client/assets/{use-releases-D0BOJZ8M.js → use-releases-CRk_-gGM.js} +1 -1
  332. package/dist/client/assets/{use-reports-diagnostic-CoBZgwNK.js → use-reports-diagnostic-WXyHMxuT.js} +1 -1
  333. package/dist/client/assets/{use-secrets-J4K2lbya.js → use-secrets-nvhTtgV_.js} +1 -1
  334. package/dist/client/assets/{use-section-preview-base-C2OLAuvH.js → use-section-preview-base-BBIzI-Pc.js} +1 -1
  335. package/dist/client/assets/{use-tags-pVd2xiCJ.js → use-tags-Dawb8nJP.js} +1 -1
  336. package/dist/client/assets/{use-task-board-analytics-gYEm-02X.js → use-task-board-analytics-BaDTyaMf.js} +1 -1
  337. package/dist/client/assets/{use-task-board-events-Df7dgtVf.js → use-task-board-events-viqZq2i-.js} +1 -1
  338. package/dist/client/assets/{use-task-board-item-prs-DkQx7M2j.js → use-task-board-item-prs-BTOeRNoi.js} +1 -1
  339. package/dist/client/assets/{use-task-board-items-C6IVrd-u.js → use-task-board-items-Dp3mGHSl.js} +1 -1
  340. package/dist/client/assets/{use-task-metadata-B_eO6NAU.js → use-task-metadata-Buvn0eAk.js} +1 -1
  341. package/dist/client/assets/{use-thread-analytics-DtMoL4PA.js → use-thread-analytics-DOC2eb9z.js} +1 -1
  342. package/dist/client/assets/{use-thread-outputs-BI5SHJYx.js → use-thread-outputs-Bmumw8UE.js} +1 -1
  343. package/dist/client/assets/useInfiniteQuery-CQY9cAw7.js +1 -0
  344. package/dist/client/assets/{useQueries-CNpRnVIa.js → useQueries-4Zja_Hbg.js} +1 -1
  345. package/dist/client/assets/useSuspenseInfiniteQuery-XqqzZbmr.js +1 -0
  346. package/dist/client/assets/{users-ivFpS9Lq.js → users-Cbsspkn2.js} +1 -1
  347. package/dist/client/assets/{utils-bWD-X54y.js → utils-zbsUBoHt.js} +1 -1
  348. package/dist/client/assets/{variant-calendar-DksJ_7_J.js → variant-calendar-BnIxTRkB.js} +1 -1
  349. package/dist/client/assets/{variant-draft-pointer-Bmae6Tqf.js → variant-draft-pointer-DEL-ZLWj.js} +1 -1
  350. package/dist/client/assets/{view-mode-toggle-C21oeZ12.js → view-mode-toggle-CGu3ANob.js} +1 -1
  351. package/dist/client/assets/{virtual-mcp-DQ5n4L-p.js → virtual-mcp-DQFtuDZf.js} +1 -1
  352. package/dist/client/assets/{watch-sse-pool-DENohcwv.js → watch-sse-pool-C7fmCtIy.js} +1 -1
  353. package/dist/client/index.html +1 -1
  354. package/dist/server/cli.js +1 -1
  355. package/dist/server/migrate-dbos.js +1 -1
  356. package/dist/server/migrate.js +218 -214
  357. package/dist/server/server.js +754 -754
  358. package/package.json +1 -1
  359. package/dist/client/assets/agent-app-CLxKR8tP.js +0 -1
  360. package/dist/client/assets/agent-deck-CrnhUXqK.js +0 -1
  361. package/dist/client/assets/agent-library-DaueecGi.js +0 -1
  362. package/dist/client/assets/agent-library-file-9M8Zj4zk.js +0 -1
  363. package/dist/client/assets/agent-settings-BmHxaKU2.js +0 -1
  364. package/dist/client/assets/agent-site-editor-code-y6AvE-5T.js +0 -2
  365. package/dist/client/assets/agent-site-editor-content-B1_2Oozw.js +0 -1
  366. package/dist/client/assets/agent-site-editor-preview-BwrdNA-b.js +0 -1
  367. package/dist/client/assets/agent-view-BuDZYnBO.js +0 -1
  368. package/dist/client/assets/ai-providers-Cn_Nj1qE.js +0 -6
  369. package/dist/client/assets/api-keys-_y0SevGg.js +0 -1
  370. package/dist/client/assets/cms-settings-editor-DXaCAKpH.js +0 -1
  371. package/dist/client/assets/flat-project-BVJS2Ar0.js +0 -1
  372. package/dist/client/assets/library-UKyRew3D.js +0 -1
  373. package/dist/client/assets/mock-board-BOb4XDb6.js +0 -1
  374. package/dist/client/assets/project-reports-C6XPjSeE.js +0 -1
  375. package/dist/client/assets/project-tasks-DEZ-La_L.js +0 -1
  376. package/dist/client/assets/record-editor-Cyo5F4-b.js +0 -1
  377. package/dist/client/assets/reports-DBoKBg_K.js +0 -1
  378. package/dist/client/assets/roles-D7RemnKj.js +0 -1
  379. package/dist/client/assets/route-DuM3NpZo.js +0 -1
  380. package/dist/client/assets/route-OZFS68ac.js +0 -1
  381. package/dist/client/assets/schema-v1GsTRkZ.js +0 -1
  382. package/dist/client/assets/site-editor-CjiR59U-.js +0 -1
  383. package/dist/client/assets/task-board-CjLfzLYs.js +0 -1
  384. package/dist/client/assets/taskboard-analytics-ZWeq2HS-.js +0 -1
  385. package/dist/client/assets/tasks-By3Yi7H-.js +0 -1
  386. package/dist/client/assets/useInfiniteQuery-D7970gdx.js +0 -1
  387. package/dist/client/assets/useSuspenseInfiniteQuery-BFNRElUS.js +0 -1
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/login-DQqSSnqy.js","assets/auth-entry-DBQx8en_.js","assets/backoff-CrEUbyZT.js","assets/delay-CnY5UFtP.js","assets/auth-split-layout-Fwc5hwZ5.js","assets/cli-auth-success-CRs28Mxh.js","assets/oauth-callback-DXdUEFpc.js","assets/mcp-oauth-XpCTKkfu.js","assets/auth-DN7Bvt0x.js","assets/layout-CdChXOi6.js","assets/required-auth-layout-BF8PRozy.js","assets/use-deployment-admin-BH9iAY5E.js","assets/users-ivFpS9Lq.js","assets/collection-table-wrapper-B4kBTbV1.js","assets/table-D32JWTgg.js","assets/ArrowUp-D8ia-BLP.js","assets/empty-state-moJi-5lI.js","assets/search-input-BLMScalM.js","assets/SearchMd-DjoAJ_aH.js","assets/avatar-BEzB55DL.js","assets/User01-DeoupK5c.js","assets/badge-BH_WGjDS.js","assets/use-debounced-value-G0eXCuJA.js","assets/admin-fetch-BhTJlAsX.js","assets/format-time-CAj8AQXM.js","assets/differenceInSeconds-C3x8sHUj.js","assets/get-initials-D-f_fDFw.js","assets/orgs-BnzYsVdt.js","assets/label-CQYxH0TR.js","assets/select-XSwSofuZ.js","assets/index-BdQq_4o_.js","assets/index-B4FWh-TU.js","assets/ChevronUp-BNQKU6Cu.js","assets/switch-CIYZwU4n.js","assets/textarea-BRAhDvOh.js","assets/schema-v1GsTRkZ.js","assets/site-slug-DebpOoQq.js","assets/prompts-DopKJbNh.js","assets/shell-layout-CBiOwFtT.js","assets/Building02-Bu9sfjbg.js","assets/UserSquare-DGLSfuGI.js","assets/agent-icon-Cgp1-Rbx.js","assets/AlertCircle-BIhx1OOA.js","assets/Tool01-gHo5_usT.js","assets/ArrowLeft-C_xMypbp.js","assets/LinkBroken01-CKnd9LCY.js","assets/ShoppingBag01-BynB5rGF.js","assets/ZoomOut-GzEhPwmD.js","assets/CheckCircle-C0zUZT_f.js","assets/ChevronSelectorVertical-BXcOXVLY.js","assets/Copy01-7StEdMvr.js","assets/CreditCard01-B-OOpOuj.js","assets/DotsVertical-DlD0BohB.js","assets/Image01-DH2NgDr7.js","assets/Globe04-CkYPSYr8.js","assets/SwitchHorizontal01-CoAm6c3b.js","assets/Key01-DPrJgF_f.js","assets/Link01-EwrQnCAj.js","assets/Monitor01-BSew-T8c.js","assets/Sun-B5VGOrX8.js","assets/Play-bKNPMcOD.js","assets/Plus-C1jGf_Gu.js","assets/Trash01-B2L35h4N.js","assets/Upload01-BmOSnWKa.js","assets/Users01-staROqDK.js","assets/XClose-SgZ1xYAr.js","assets/use-project-scope-B3ANi1IJ.js","assets/repository-binding-09n9zNFN.js","assets/use-mcp-client-CgigId7h.js","assets/use-panel-navigate-Cse0kIZg.js","assets/thread-route-uTiqhl-l.js","assets/use-clock-tick-DpInA1iA.js","assets/command-DYQfaTJP.js","assets/index-BbDc7Y9O.js","assets/integration-icon-BPag0HQm.js","assets/project-icon-BwmwhXEd.js","assets/new-project-dialog-BDSi2lYl.js","assets/repository-import-picker-DL9csYfh.js","assets/use-navigate-to-agent-CVa4wG4H.js","assets/thread-intent-DLRGXMNS.js","assets/watch-sse-pool-DENohcwv.js","assets/task-board-CjLfzLYs.js","assets/slugify-CEUa2lfQ.js","assets/repository-picker-DABBo0DW.js","assets/tooltip-BP_lFNWX.js","assets/useInfiniteQuery-D7970gdx.js","assets/infiniteQueryObserver-1Nb7ygTX.js","assets/collection-search-DRsC_wPy.js","assets/use-organization-settings-Cc-OpUav.js","assets/autosend-CGqWx5OM.js","assets/use-org-sso-bcSBbFXH.js","assets/shell-layout-CE2Eihra.css","assets/onboarding-SJ6Q72M4.js","assets/organization-choice-xE4qpP6H.js","assets/reports-onboarding-aJM_IDTw.js","assets/site-url-en5df9c-.js","assets/create-organization-dialog-B9kEJeCB.js","assets/alert-dialog-CWY9Kc3Y.js","assets/form-DSbydQ9O.js","assets/companion-mcps-section-g374jTYK.js","assets/use-connect-companion-XyjuBcsZ.js","assets/companions-core-DzyeM-yJ.js","assets/metadata-D72DunRR.js","assets/github-repo-scope-ByTYKy_L.js","assets/provision-repo-scoped-github-connection-lckxpDHD.js","assets/useQueries-CNpRnVIa.js","assets/authenticate-and-persist-oauth-DxbO9IXQ.js","assets/mcp-oauth-Dff3yojn.js","assets/track-XuWYLpsB.js","assets/extract-connection-data--Fovqgj9.js","assets/connection-Chcd5gfb.js","assets/url-slug-DZjL4P4N.js","assets/self-tool-result-8OxPN9Nm.js","assets/site-error-Da6iapvu.js","assets/choose-editor-tZFlebbQ.js","assets/site-editor-CjiR59U-.js","assets/chat-context-DnIdZBaI.js","assets/use-decopilot-events-1AtUjySK.js","assets/use-ai-providers-bNjYR9g2.js","assets/use-chat-navigation-CO4_t1mA.js","assets/location-BjlyegC2.js","assets/index-CeKAW7ia.js","assets/use-mobile-BLPp5y7v.js","assets/use-app-takeover-n62Fmu8v.js","assets/sheet-BvEf_UVQ.js","assets/use-project-native-view-presence-DgHBfVGR.js","assets/use-file-configs-DpVdr_mk.js","assets/toolbar-icon-button-CrX4dIfH.js","assets/resizable-DkYJhCH3.js","assets/icon-button-C0jFpnCv.js","assets/index-D7sc3WaJ.js","assets/core.esm-CPRa5yRj.js","assets/sortable.esm-DVeag0L1.js","assets/context-menu-BXe1H0QA.js","assets/use-recent-apps-ClF4CK3T.js","assets/blocks-preview-workspace-context-Cbvinja6.js","assets/site-editor-toast-DZvdp8hl.js","assets/input-Ceh9947-.js","assets/usage-stats-BrfBlLKo.js","assets/tool-namespace-B6bl3mST.js","assets/utils-CVEq3hMx.js","assets/markdown-DurQwPzV.js","assets/use-copy-DUoQxyl0.js","assets/file-type-icon-IzZjwu7K.js","assets/chat-draft-CRVPT9el.js","assets/tabs-DWLSC789.js","assets/use-deco-credits-DM3bKm1X.js","assets/toggle-group-D9ChEXcL.js","assets/use-open-billing-url-BNJHjUYg.js","assets/index-BOYIuRkz.js","assets/checkbox-Uc-RZ_Vx.js","assets/ai-providers-logos-DD3qZ33J.js","assets/popover-B8WQyYwE.js","assets/drawer-WlRFS7Ay.js","assets/input-CzNDxW-p.js","assets/suggestion-8feXh3Uo.js","assets/use-mcp-prompts-C5fo7JyP.js","assets/use-org-fs-Busfyhv0.js","assets/question-004-sINsf4GQ.js","assets/use-members-DKO2z7jU.js","assets/use-org-auth-client-BryWu6mx.js","assets/feature-paywall-v1Fb6fZF.js","assets/plan-ladder-hsk9sMi3.js","assets/add-connection-dialog-BGa3ZBmA.js","assets/connection-card-BZ2hvQNx.js","assets/connection-slug-CITJ0kGN.js","assets/use-connection-CHo2bcMw.js","assets/schema-Fm9WpUHJ.js","assets/connection-form-helpers-CYVYxK9g.js","assets/collection-tabs-G4I4mgEg.js","assets/use-infinite-scroll-fbccvd5L.js","assets/useSuspenseInfiniteQuery-BFNRElUS.js","assets/use-task-board-events-Df7dgtVf.js","assets/input-Bwd_JSM8.css","assets/sandbox-url-D3mC8qhT.js","assets/utils-bWD-X54y.js","assets/index-BQ2qZBgx.js","assets/pair-B_9py9M_.js","assets/collapsible-Ds-16t3Z.js","assets/content-blocks-o63cs2vh.js","assets/mcp-app-renderer-NiFsT2pJ.js","assets/types-DzDNRCBv.js","assets/omit-sandbox-map-jj4lCB2U.js","assets/use-thread-outputs-BI5SHJYx.js","assets/sandbox-git-api-CRxdlhrN.js","assets/preview-tab-D_zCwBYM.js","assets/blocks-tab-states-Cr3Mgd7m.js","assets/sandbox-start-errors-BK_aDCyt.js","assets/secret-ciphertext-DKMPhCC7.js","assets/alert-CBqUZF_B.js","assets/scroll-area-CB_2Aaiz.js","assets/monaco-editor-Dct1EfHT.js","assets/editor-DATgPuQr.js","assets/calendar-D2pB4wtO.js","assets/editor-classes-Dqv6lj24.js","assets/view-mode-toggle-C21oeZ12.js","assets/combobox-BjJigzYO.js","assets/asset-utils-xrLuSjSE.js","assets/sandbox-lifecycle-context-Ue82FfDC.js","assets/variant-draft-pointer-Bmae6Tqf.js","assets/section-preview-url-7zfngvgW.js","assets/use-fast-preview-draft-url-DuVBfmnv.js","assets/device-hint-SeLRi17j.js","assets/virtual-mcp-DQ5n4L-p.js","assets/preview-source-BsRLGWUP.js","assets/use-task-metadata-B_eO6NAU.js","assets/content-tab-KxngU340.js","assets/mustache-BYEVEnz3.js","assets/use-content-sync-BfdqJCQu.js","assets/empty-state-B1yxQlJg.js","assets/tab-icon-glyph-Di0eKueD.js","assets/resolve-tab-icon-BFjWL9qV.js","assets/agent-site-editor-rsHLltUo.js","assets/separator-DKnUckca.js","assets/use-releases-D0BOJZ8M.js","assets/serial-task-queue-CGOeQgpr.js","assets/hosted-publish-feedback-C0L18XKn.js","assets/save-changes-debug-nBi-n9eV.js","assets/agent-site-editor-DDGTF8rc.css","assets/reports-DNvLVhhR.js","assets/reports-Dl0n8WK0.css","assets/route-C0_qtTp0.js","assets/use-join-requests-BU-AH2wa.js","assets/use-organization-roles-DffTFg63.js","assets/task-key-BCHdFiOO.js","assets/use-task-board-items-C6IVrd-u.js","assets/use-thread-analytics-DtMoL4PA.js","assets/project-profile-Cc4MG3QN.js","assets/optimistic-project-sidebar-views-Bp7eA4v5.js","assets/config-TpF0U9xK.js","assets/task-route-DcEcJOK4.js","assets/daily-pulse-BA8HcQTn.js","assets/thread-route-zVWhMReX.js","assets/use-reports-diagnostic-CoBZgwNK.js","assets/connect-layout-BMKwPFI2.js","assets/route-OZFS68ac.js","assets/task-status-DCsFB7tb.js","assets/use-main-panel-tabs-BbpwWXur.js","assets/use-mcp-tools-CMQDcWNX.js","assets/legacy-main-redirect-CGRT9wAN.js","assets/preview-dialog-bksJINeP.js","assets/preview-content-B8YyjekZ.js","assets/file-share-button-BUqpTgXp.js","assets/file-preview-BUCUOt-k.js","assets/home-Bq-bjcAt.js","assets/chart-BES0Ixch.js","assets/index-_CyfhGXa.js","assets/symbol-BBXD1fl1.js","assets/CategoricalChart-DVVR_K8B.js","assets/AreaChart-NTOYQV4b.js","assets/use-automations-CS_cSvCE.js","assets/project-feed-CB9OPO_N.js","assets/mini-report-page-DHPkzjD_.js","assets/client-icons-mh3r1xQL.js","assets/projects-empty-state-BscYKwea.js","assets/flat-project-BVJS2Ar0.js","assets/index-WULssi-Q.js","assets/use-task-board-analytics-gYEm-02X.js","assets/column-rules-Bx5p17lP.js","assets/search-toggle-CRC9Uyem.js","assets/use-tags-pVd2xiCJ.js","assets/index-CpsTTiQE.js","assets/index-Bio6kNpV.js","assets/use-task-board-item-prs-DkQx7M2j.js","assets/thread-sheet-body-BxMopJ4Q.js","assets/board-analytics-DmM8aqHX.js","assets/time-range-picker-DrHQe3U8.js","assets/analytics-sections-CaEiZicR.js","assets/BarChart-z81pvLho.js","assets/tooltipContext-BwHz9WYB.js","assets/ActiveShapeUtils-BGmgNUi8.js","assets/Sector-_F0EuVMq.js","assets/ErrorBarContext-DyfMq1Vf.js","assets/XAxis-BkGXfrFX.js","assets/library-tab-nrpvyINN.js","assets/use-org-repo-syncs-Bz1fQYYa.js","assets/folder-icon-Bsi0vn7I.js","assets/use-ensure-project-folder-Ba1RyXTm.js","assets/agent-overview-A0XZkNZX.js","assets/project-tasks-DEZ-La_L.js","assets/feature-gate-DijBSCNJ.js","assets/mock-board-BOb4XDb6.js","assets/project-reports-C6XPjSeE.js","assets/reports-tab-BMc9C4Qh.js","assets/agent-site-editor-preview-BwrdNA-b.js","assets/agent-view-guard-qqtbmzn8.js","assets/agent-site-editor-content-B1_2Oozw.js","assets/agent-site-editor-code-y6AvE-5T.js","assets/agent-automations-CMrVMHoV.js","assets/automation-list-row-D5qFdHQB.js","assets/agent-automation-Ddwg84ee.js","assets/select-model-Dao29CnX.js","assets/build-improve-prompt-doc-5cXWIMm8.js","assets/use-debounced-autosave-DYYkzWY_.js","assets/jira-icon-ifmeQn21.js","assets/multi-select-Cn966z1g.js","assets/automation-runs-DcR0jeNA.js","assets/agent-settings-BmHxaKU2.js","assets/settings-tab-B0y-8xZD.js","assets/use-date-fns-locale-HDKinbV-.js","assets/use-mcp-auth-status-DRC6-H1Z.js","assets/secret-picker-Ct5TqLUt.js","assets/use-secrets-J4K2lbya.js","assets/agent-library-DaueecGi.js","assets/agent-assets-DCX0ywK3.js","assets/agent-releases-CdrTvT-G.js","assets/agent-hosting-z-dkVRLB.js","assets/agent-e2e-LNoWf1q1.js","assets/agent-analytics-DPwSJREO.js","assets/taskboard-analytics-ZWeq2HS-.js","assets/agent-experiments-DhSnChQH.js","assets/slider-CIERvkTu.js","assets/index-DCKP2AL5.js","assets/agent-monitor-lcAtszWh.js","assets/order-monitor-day-t8Y-HAbt.js","assets/agent-app-CLxKR8tP.js","assets/project-app-view-ChMgcNAY.js","assets/agent-view-BuDZYnBO.js","assets/agent-file-D7lhfRwe.js","assets/agent-deck-CrnhUXqK.js","assets/agent-library-file-9M8Zj4zk.js","assets/preview-panel-B8wW3oOG.js","assets/agent-connect-sources-DyZZpidr.js","assets/legacy-agents-deep-BtUjTNH_.js","assets/tasks-By3Yi7H-.js","assets/thread-analytics-C2SSbO3U.js","assets/reports-DBoKBg_K.js","assets/library-UKyRew3D.js","assets/discover-ut7HMfOm.js","assets/index-BiA-t4Hy.js","assets/route-DuM3NpZo.js","assets/index-redirect-w-0W0NUM.js","assets/capability-load-error-Dds-uRz2.js","assets/connections-BrK9YMjs.js","assets/collection-display-button-B4UCXL7F.js","assets/use-delete-connection-Cg3msRwS.js","assets/connection-detail-F-9yuMeT.js","assets/index-C1tHNU3p.js","assets/use-create-virtual-mcp-DEnk__H8.js","assets/monitoring-stats-row-DMDJZVd2.js","assets/collection-detail-BUD1Fj-1.js","assets/index-DR8Su143.js","assets/require-capability-BEWYbP4S.js","assets/access-gate-CZeXfxLf.js","assets/general-DcBh6hf3.js","assets/review-settings-BGU-nfDw.js","assets/domain-settings-DReys8Mx.js","assets/connect-CX0GhSHk.js","assets/api-keys-ZpWV4LWE.js","assets/ai-providers-Cn_Nj1qE.js","assets/infra-billing-hV6CHYxH.js","assets/secrets-W81BJ6O0.js","assets/api-keys-_y0SevGg.js","assets/buckets-geowc7lF.js","assets/repositories-BD5gqmJg.js","assets/synced-repos-DUkzQSzh.js","assets/tasks-CxWkzUmt.js","assets/projects-BmqEzMnN.js","assets/members-DMVi5o98.js","assets/role-color-Dn2tXDDF.js","assets/roles-D7RemnKj.js","assets/sso-SHUpqa2t.js","assets/profile-DdCmH2hW.js","assets/agents-list-Bl683eN3.js","assets/automations-Dityp5_M.js","assets/skills-B9A_KuNf.js","assets/memory-DIF2ywrA.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/login-C9lgbiSh.js","assets/auth-entry-CD3L2RvS.js","assets/backoff-CrEUbyZT.js","assets/delay-CnY5UFtP.js","assets/auth-split-layout-UjhzYVxM.js","assets/cli-auth-success-DUKgfRgt.js","assets/oauth-callback-Blwmfj1R.js","assets/mcp-oauth-CaxV9wcl.js","assets/auth-CLglKqB6.js","assets/layout-BI2BIstR.js","assets/required-auth-layout-gIZfj42y.js","assets/use-deployment-admin-B_soKFRv.js","assets/users-Cbsspkn2.js","assets/collection-table-wrapper-BBPmRt9r.js","assets/table-D9fzXIkZ.js","assets/ArrowUp-B_lKPC5O.js","assets/empty-state-BZZcWHI_.js","assets/search-input-DIOUBltI.js","assets/SearchMd-BQTuqO8x.js","assets/avatar-B8cS3VPt.js","assets/User01-BmCbB_zb.js","assets/badge-Qzxf6tet.js","assets/use-debounced-value-WEbEbeed.js","assets/admin-fetch-BhTJlAsX.js","assets/format-time-CAj8AQXM.js","assets/differenceInSeconds-C3x8sHUj.js","assets/get-initials-D-f_fDFw.js","assets/orgs-BOJwmOLw.js","assets/label-B-SEr3Fs.js","assets/select-vip2MDSn.js","assets/index-BdQq_4o_.js","assets/index-B26ImUL7.js","assets/ChevronUp-D4PiHnN0.js","assets/switch-B9eCMptF.js","assets/textarea-B-TS083j.js","assets/schema-DTvMW5Bj.js","assets/site-slug-DebpOoQq.js","assets/prompts-DV4Kjfa5.js","assets/shell-layout-BM51_FIv.js","assets/Building02-LYkR_QXB.js","assets/UserSquare-DL7MdeuL.js","assets/agent-icon-Blcoi2NV.js","assets/AlertCircle-DZq02EzT.js","assets/Tool01-BRVvW2LV.js","assets/ArrowLeft-C_qdjo3L.js","assets/LinkBroken01-BU-4AKfc.js","assets/ShoppingBag01-CQIeNQm_.js","assets/ZoomOut-B4Rw_R2z.js","assets/CheckCircle-B9QHilAa.js","assets/ChevronSelectorVertical-0ysVIDar.js","assets/Copy01-DJEr7OLy.js","assets/CreditCard01-b36fqa11.js","assets/DotsVertical-CV1b1y4C.js","assets/Image01-CyRCJwXT.js","assets/Globe04-DKUCyty7.js","assets/SwitchHorizontal01-DGImzN1R.js","assets/Key01-DWXRgH6w.js","assets/Link01-CNb9DW_9.js","assets/Monitor01-yE6iFgVP.js","assets/Sun-kLYmwsq0.js","assets/Play-ChRMrCTB.js","assets/Plus-DtZhz_pb.js","assets/Trash01-Bt3rK1ka.js","assets/Upload01-s7SnRMvp.js","assets/Users01-BVggEmV6.js","assets/XClose-UWi3HSZE.js","assets/use-project-scope-C99MQSqi.js","assets/repository-binding-BnejFX7t.js","assets/use-mcp-client-fTyLcuiX.js","assets/use-panel-navigate-CfJ9Qf-l.js","assets/thread-route-DtCL8-V4.js","assets/use-clock-tick-Biiz8lzy.js","assets/command-BAgcQ2fh.js","assets/index-C-gf76Hu.js","assets/integration-icon-DJtlg_0w.js","assets/project-icon-BlJz5cOI.js","assets/new-project-dialog-DoLb5YVK.js","assets/repository-import-picker-h-r8nnEf.js","assets/use-navigate-to-agent-BpeT4fqu.js","assets/thread-intent-S-gJClOG.js","assets/watch-sse-pool-C7fmCtIy.js","assets/task-board-ouLvp423.js","assets/slugify-CEUa2lfQ.js","assets/repository-picker-FTAXO4Nx.js","assets/tooltip-D3Lno7Sd.js","assets/useInfiniteQuery-CQY9cAw7.js","assets/infiniteQueryObserver-X8qh_Va6.js","assets/collection-search-ehqGBK_4.js","assets/use-organization-settings-lug340cj.js","assets/autosend-CE_yiNtR.js","assets/use-org-sso-BMLNRQyf.js","assets/shell-layout-CE2Eihra.css","assets/onboarding-K-cgEcDl.js","assets/organization-choice-dC-onaYV.js","assets/reports-onboarding-1VulbTO6.js","assets/site-url-en5df9c-.js","assets/create-organization-dialog-DoF61er3.js","assets/alert-dialog-qlQC4zlU.js","assets/form-BivWj0r6.js","assets/companion-mcps-section-CAn17bJY.js","assets/use-connect-companion-VKAyFcK2.js","assets/companions-core-DzyeM-yJ.js","assets/metadata-D72DunRR.js","assets/github-repo-scope-ByTYKy_L.js","assets/provision-repo-scoped-github-connection-lckxpDHD.js","assets/useQueries-4Zja_Hbg.js","assets/authenticate-and-persist-oauth-ClVBgGv4.js","assets/mcp-oauth-V-o-AEQP.js","assets/track-9gnPqqM1.js","assets/extract-connection-data-DJs0gTBx.js","assets/connection-B8e9uIdy.js","assets/url-slug-CzRjxv-k.js","assets/self-tool-result-8OxPN9Nm.js","assets/site-error-Da6iapvu.js","assets/choose-editor-BeLyDWVx.js","assets/site-editor-C5iX5zAy.js","assets/chat-context-Ch-VpD9W.js","assets/use-decopilot-events-BITSrHb-.js","assets/use-ai-providers-AcvGe9-V.js","assets/use-chat-navigation-DlxbS2Ir.js","assets/location-BjlyegC2.js","assets/index-BmYzltjg.js","assets/use-mobile-2T0aye5I.js","assets/use-app-takeover-BEzFC8oO.js","assets/sheet-IYrYpc2B.js","assets/use-project-native-view-presence-DdsfKci4.js","assets/use-file-configs-DMVCBG-z.js","assets/toolbar-icon-button-UylaJSAo.js","assets/resizable-CGzf0YCQ.js","assets/icon-button-DxqkkLQj.js","assets/index-NRMbjvM1.js","assets/core.esm-C7s0VVJH.js","assets/sortable.esm-BmwNKHYn.js","assets/context-menu-DJ87apJ2.js","assets/use-recent-apps-BumxbfgY.js","assets/blocks-preview-workspace-context-VkiPmc8G.js","assets/site-editor-toast-DbJhMk7V.js","assets/input-BSUErVvJ.js","assets/usage-stats-DadTD3M-.js","assets/tool-namespace-DSuLhjHC.js","assets/utils-CVEq3hMx.js","assets/markdown-B-jDeUMA.js","assets/use-copy-Cn4Z57YH.js","assets/file-type-icon-C2JXE2hG.js","assets/chat-draft-B2p2B6Yw.js","assets/tabs-BawejvDB.js","assets/use-deco-credits-D1idFaA8.js","assets/toggle-group-DI4ttUmk.js","assets/use-open-billing-url-Db0e3guK.js","assets/index-BF64aC--.js","assets/checkbox-C0-Eo7G1.js","assets/ai-providers-logos-DD3qZ33J.js","assets/popover-gJO3R5Ii.js","assets/drawer-CixpU7n-.js","assets/input-h8042dl0.js","assets/suggestion-B_X9vnmO.js","assets/use-mcp-prompts-CyqOUVUD.js","assets/use-org-fs-CPNJqv-N.js","assets/question-004-sINsf4GQ.js","assets/use-members-CvY21L2Q.js","assets/use-org-auth-client-CWA2hWCM.js","assets/feature-paywall-EueGiC9A.js","assets/plan-ladder-Okx-KzN5.js","assets/add-connection-dialog-8k8OTwPv.js","assets/connection-card-CLVSIR42.js","assets/connection-slug-CITJ0kGN.js","assets/use-connection-OOD0tHd7.js","assets/schema-BGirdKR7.js","assets/connection-form-helpers-CSZF_TQx.js","assets/collection-tabs-iTmpvLeT.js","assets/use-infinite-scroll-DjYaDj_j.js","assets/useSuspenseInfiniteQuery-XqqzZbmr.js","assets/use-task-board-events-viqZq2i-.js","assets/input-Bwd_JSM8.css","assets/sandbox-url-D3mC8qhT.js","assets/utils-zbsUBoHt.js","assets/index-BYmaAL9a.js","assets/pair-CYYi6JKh.js","assets/collapsible-EpmgpNpi.js","assets/content-blocks-o63cs2vh.js","assets/mcp-app-renderer-Bk4hyaxU.js","assets/types-oDc7dHni.js","assets/omit-sandbox-map-jj4lCB2U.js","assets/use-thread-outputs-Bmumw8UE.js","assets/sandbox-git-api-CRxdlhrN.js","assets/preview-tab-DRuTgCNI.js","assets/blocks-tab-states-BbjL1qhZ.js","assets/sandbox-start-errors-BK_aDCyt.js","assets/secret-ciphertext-ANOQlePB.js","assets/alert-Dp8EatFO.js","assets/scroll-area-D0jo1bkt.js","assets/monaco-editor-D49CJi8U.js","assets/editor-BKRP2Iwc.js","assets/calendar-BuSRVV5D.js","assets/editor-classes-DZByr-lI.js","assets/view-mode-toggle-CGu3ANob.js","assets/combobox-BUo7EBrO.js","assets/asset-utils-DYZVbDw1.js","assets/sandbox-lifecycle-context-rc29IhVV.js","assets/variant-draft-pointer-DEL-ZLWj.js","assets/section-preview-url-7zfngvgW.js","assets/use-fast-preview-draft-url-CSXqCUZ_.js","assets/device-hint-SeLRi17j.js","assets/virtual-mcp-DQFtuDZf.js","assets/preview-source-BsRLGWUP.js","assets/use-task-metadata-Buvn0eAk.js","assets/content-tab-DUe9Pk3L.js","assets/mustache-HTehKKTG.js","assets/use-content-sync-BQvWp4_o.js","assets/empty-state-DQLm0d5k.js","assets/tab-icon-glyph-D53P8msf.js","assets/resolve-tab-icon-Daxo01Gi.js","assets/agent-site-editor-BSI5T3i7.js","assets/separator-BQ3AM4Ug.js","assets/use-releases-CRk_-gGM.js","assets/serial-task-queue-CGOeQgpr.js","assets/hosted-publish-feedback-CfrjUALv.js","assets/save-changes-debug-nBi-n9eV.js","assets/agent-site-editor-DDGTF8rc.css","assets/reports-DXYrq_BO.js","assets/reports-Dl0n8WK0.css","assets/route-B-p6J_u6.js","assets/use-join-requests-Be-FCByX.js","assets/use-organization-roles-DwFJmstu.js","assets/task-key-BCHdFiOO.js","assets/use-task-board-items-Dp3mGHSl.js","assets/use-thread-analytics-DOC2eb9z.js","assets/project-profile-Cc4MG3QN.js","assets/optimistic-project-sidebar-views-Bmh9CacI.js","assets/config-BDu66MgM.js","assets/task-route-CjHIKjev.js","assets/daily-pulse-C775e_y-.js","assets/thread-route-CQmCTEyn.js","assets/use-reports-diagnostic-WXyHMxuT.js","assets/connect-layout-DtIoh422.js","assets/route-UiPRedfp.js","assets/task-status-Buh7B1MG.js","assets/use-main-panel-tabs-Cloon3zW.js","assets/use-mcp-tools-sv7pv5ex.js","assets/legacy-main-redirect-D6tF7agn.js","assets/preview-dialog-jZ9sRQON.js","assets/preview-content-Cfi8bwXI.js","assets/file-share-button-rEinR-qh.js","assets/file-preview-BJ_PkL7X.js","assets/home-DncG44Vc.js","assets/chart-NrDAd4pe.js","assets/index-BtcVoJOD.js","assets/symbol-BnsdD8oy.js","assets/CategoricalChart-CHtvdKKv.js","assets/AreaChart-BtdW-Fy2.js","assets/use-automations-CN350YMB.js","assets/project-feed-CfssvHDQ.js","assets/mini-report-page-B0fqOWnH.js","assets/client-icons-DtQhx8-x.js","assets/projects-empty-state-BDYeDrMv.js","assets/flat-project-fhJMf2Fo.js","assets/index-BvuLMeCw.js","assets/use-task-board-analytics-BaDTyaMf.js","assets/column-rules-adUN8XvK.js","assets/search-toggle-BWyMsPKk.js","assets/use-tags-Dawb8nJP.js","assets/index-CvK4-KP3.js","assets/index-DV6FL3mH.js","assets/use-task-board-item-prs-BTOeRNoi.js","assets/thread-sheet-body-DacE2e8a.js","assets/board-analytics-C1pwywOy.js","assets/time-range-picker-BIBoZiWJ.js","assets/analytics-sections-BirEZrZQ.js","assets/BarChart-4XWgQXi5.js","assets/tooltipContext-BF4YYYQ4.js","assets/ActiveShapeUtils-qG-AEsLH.js","assets/Sector-DeEfQN_u.js","assets/ErrorBarContext-UL-jymXX.js","assets/XAxis-CDuxbcPP.js","assets/library-tab-BZkqrpuT.js","assets/use-org-repo-syncs-MWiNxGjz.js","assets/folder-icon-Cayf6XFB.js","assets/use-ensure-project-folder-BUN6VVAV.js","assets/agent-overview-D278LRIL.js","assets/project-tasks-DLi14b92.js","assets/feature-gate-CgRSy5_Q.js","assets/mock-board-BFTY4RvG.js","assets/project-reports-CsI0AQuY.js","assets/reports-tab-DmNt_T04.js","assets/agent-site-editor-preview-CCk80iIG.js","assets/agent-view-guard-CVWBSVAR.js","assets/agent-site-editor-content-Blm2auu-.js","assets/agent-site-editor-code-Dq4KRDBk.js","assets/agent-automations-DBSfm1Um.js","assets/automation-list-row-CAEPQbgy.js","assets/agent-automation-5jRP2Yu0.js","assets/select-model-Dqb1K6bc.js","assets/build-improve-prompt-doc-1VLAf1m8.js","assets/use-debounced-autosave-DoWWmWzG.js","assets/jira-icon-D0XL00z9.js","assets/multi-select-BvMK4932.js","assets/automation-runs-dUM-MaiP.js","assets/agent-settings-DeB5MuX_.js","assets/settings-tab-eia9Fz-X.js","assets/use-date-fns-locale-ZV1qLyjT.js","assets/use-mcp-auth-status-Bv4IbKQl.js","assets/secret-picker--4BFyqbe.js","assets/use-secrets-nvhTtgV_.js","assets/agent-library-BqFtXY1m.js","assets/agent-assets-DJjZB71J.js","assets/agent-releases-CwPpC6Zn.js","assets/agent-hosting-CPH-NeL_.js","assets/agent-e2e-PI2OzWvI.js","assets/agent-analytics-bu3kFNJu.js","assets/taskboard-analytics-DhwjY7M5.js","assets/agent-experiments-DRdlymR5.js","assets/slider-CwnL3HRa.js","assets/index-xlh3U8dq.js","assets/agent-monitor-PGLXk9dq.js","assets/order-monitor-day-CZfhLaiW.js","assets/agent-app-BMA5upH5.js","assets/project-app-view-Ml2wH3iy.js","assets/agent-view-Cl8uWNJN.js","assets/agent-file-BzADFUid.js","assets/agent-deck-BJf1WFap.js","assets/agent-library-file-CQDlY3Yr.js","assets/preview-panel-CN8PRsYc.js","assets/agent-connect-sources-C1dugrdG.js","assets/legacy-agents-deep-jcGaNAHc.js","assets/tasks-Ds4uIhX_.js","assets/thread-analytics-ykgOvgFb.js","assets/reports-AMpsYdUr.js","assets/library-DntM1dnS.js","assets/discover-C_Que9Au.js","assets/index-5vR8G6oj.js","assets/route-G0-ZvPpf.js","assets/index-redirect-CCsqcmui.js","assets/capability-load-error-DBmMi5Hs.js","assets/connections-DC5XESZs.js","assets/collection-display-button-__Pm6Nmn.js","assets/use-delete-connection-KMdMK-5V.js","assets/connection-detail-DN36Ozvh.js","assets/index-C47EvNjt.js","assets/use-create-virtual-mcp-CZW2rCq7.js","assets/monitoring-stats-row-BB3CDHWN.js","assets/collection-detail-BTHodnm7.js","assets/index-CZciUUmu.js","assets/require-capability-BewAou1A.js","assets/access-gate-D3L-T38D.js","assets/general-BQtDTtDD.js","assets/review-settings-DR_kj-Ru.js","assets/domain-settings-CT-S0BOV.js","assets/connect-2yc9-JJp.js","assets/api-keys-7UDmxa_w.js","assets/ai-providers-B3x7urKU.js","assets/infra-billing-fufjpAYz.js","assets/secrets-BxBi0DW0.js","assets/api-keys-DSwUfsL4.js","assets/buckets-DZKIT9DY.js","assets/repositories-D6jC23CW.js","assets/synced-repos-VO9uiFX2.js","assets/tasks-FmvKs9d3.js","assets/projects-Dzy3_FXd.js","assets/members-BLeFrNm9.js","assets/role-color-Dn2tXDDF.js","assets/roles-DWOkvlO_.js","assets/sso-DMQ-B__P.js","assets/profile-DEiIcjHZ.js","assets/agents-list-DYmELJk-.js","assets/automations-megKF7It.js","assets/skills-D2FiXzGW.js","assets/memory-BsNDNxr2.js"])))=>i.map(i=>d[i]);
2
2
  function zz(e,t){for(var o=0;o<t.length;o++){const a=t[o];if(typeof a!="string"&&!Array.isArray(a)){for(const n in a)if(n!=="default"&&!(n in e)){const i=Object.getOwnPropertyDescriptor(a,n);i&&Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:()=>a[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))a(n);new MutationObserver(n=>{for(const i of n)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&a(l)}).observe(document,{childList:!0,subtree:!0});function o(n){const i={};return n.integrity&&(i.integrity=n.integrity),n.referrerPolicy&&(i.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?i.credentials="include":n.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function a(n){if(n.ep)return;n.ep=!0;const i=o(n);fetch(n.href,i)}})();var Cfe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ol(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vS={exports:{}},_u={};var w1;function Uz(){if(w1)return _u;w1=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function o(a,n,i){var l=null;if(i!==void 0&&(l=""+i),n.key!==void 0&&(l=""+n.key),"key"in n){i={};for(var c in n)c!=="key"&&(i[c]=n[c])}else i=n;return n=i.ref,{$$typeof:e,type:a,key:l,ref:n!==void 0?n:null,props:i}}return _u.Fragment=t,_u.jsx=o,_u.jsxs=o,_u}var T1;function qz(){return T1||(T1=1,vS.exports=Uz()),vS.exports}var w=qz(),bS={exports:{}},ct={};var x1;function $z(){if(x1)return ct;x1=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),f=Symbol.iterator;function v(N){return N===null||typeof N!="object"?null:(N=f&&N[f]||N["@@iterator"],typeof N=="function"?N:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,_={};function T(N,G,V){this.props=N,this.context=G,this.refs=_,this.updater=V||b}T.prototype.isReactComponent={},T.prototype.setState=function(N,G){if(typeof N!="object"&&typeof N!="function"&&N!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,N,G,"setState")},T.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function x(){}x.prototype=T.prototype;function E(N,G,V){this.props=N,this.context=G,this.refs=_,this.updater=V||b}var C=E.prototype=new x;C.constructor=E,S(C,T.prototype),C.isPureReactComponent=!0;var P=Array.isArray;function R(){}var D={H:null,A:null,T:null,S:null},O=Object.prototype.hasOwnProperty;function L(N,G,V){var I=V.ref;return{$$typeof:e,type:N,key:G,ref:I!==void 0?I:null,props:V}}function q(N,G){return L(N.type,G,N.props)}function B(N){return typeof N=="object"&&N!==null&&N.$$typeof===e}function U(N){var G={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(V){return G[V]})}var F=/\/+/g;function W(N,G){return typeof N=="object"&&N!==null&&N.key!=null?U(""+N.key):G.toString(36)}function ae(N){switch(N.status){case"fulfilled":return N.value;case"rejected":throw N.reason;default:switch(typeof N.status=="string"?N.then(R,R):(N.status="pending",N.then(function(G){N.status==="pending"&&(N.status="fulfilled",N.value=G)},function(G){N.status==="pending"&&(N.status="rejected",N.reason=G)})),N.status){case"fulfilled":return N.value;case"rejected":throw N.reason}}throw N}function H(N,G,V,I,z){var X=typeof N;(X==="undefined"||X==="boolean")&&(N=null);var pe=!1;if(N===null)pe=!0;else switch(X){case"bigint":case"string":case"number":pe=!0;break;case"object":switch(N.$$typeof){case e:case t:pe=!0;break;case m:return pe=N._init,H(pe(N._payload),G,V,I,z)}}if(pe)return z=z(N),pe=I===""?"."+W(N,0):I,P(z)?(V="",pe!=null&&(V=pe.replace(F,"$&/")+"/"),H(z,G,V,"",function(qe){return qe})):z!=null&&(B(z)&&(z=q(z,V+(z.key==null||N&&N.key===z.key?"":(""+z.key).replace(F,"$&/")+"/")+pe)),G.push(z)),1;pe=0;var he=I===""?".":I+":";if(P(N))for(var _e=0;_e<N.length;_e++)I=N[_e],X=he+W(I,_e),pe+=H(I,G,V,X,z);else if(_e=v(N),typeof _e=="function")for(N=_e.call(N),_e=0;!(I=N.next()).done;)I=I.value,X=he+W(I,_e++),pe+=H(I,G,V,X,z);else if(X==="object"){if(typeof N.then=="function")return H(ae(N),G,V,I,z);throw G=String(N),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return pe}function K(N,G,V){if(N==null)return N;var I=[],z=0;return H(N,I,"","",function(X){return G.call(V,X,z++)}),I}function J(N){if(N._status===-1){var G=N._result;G=G(),G.then(function(V){(N._status===0||N._status===-1)&&(N._status=1,N._result=V)},function(V){(N._status===0||N._status===-1)&&(N._status=2,N._result=V)}),N._status===-1&&(N._status=0,N._result=G)}if(N._status===1)return N._result.default;throw N._result}var le=typeof reportError=="function"?reportError:function(N){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof N=="object"&&N!==null&&typeof N.message=="string"?String(N.message):String(N),error:N});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",N);return}console.error(N)},Q={map:K,forEach:function(N,G,V){K(N,function(){G.apply(this,arguments)},V)},count:function(N){var G=0;return K(N,function(){G++}),G},toArray:function(N){return K(N,function(G){return G})||[]},only:function(N){if(!B(N))throw Error("React.Children.only expected to receive a single React element child.");return N}};return ct.Activity=h,ct.Children=Q,ct.Component=T,ct.Fragment=o,ct.Profiler=n,ct.PureComponent=E,ct.StrictMode=a,ct.Suspense=d,ct.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=D,ct.__COMPILER_RUNTIME={__proto__:null,c:function(N){return D.H.useMemoCache(N)}},ct.cache=function(N){return function(){return N.apply(null,arguments)}},ct.cacheSignal=function(){return null},ct.cloneElement=function(N,G,V){if(N==null)throw Error("The argument must be a React element, but you passed "+N+".");var I=S({},N.props),z=N.key;if(G!=null)for(X in G.key!==void 0&&(z=""+G.key),G)!O.call(G,X)||X==="key"||X==="__self"||X==="__source"||X==="ref"&&G.ref===void 0||(I[X]=G[X]);var X=arguments.length-2;if(X===1)I.children=V;else if(1<X){for(var pe=Array(X),he=0;he<X;he++)pe[he]=arguments[he+2];I.children=pe}return L(N.type,z,I)},ct.createContext=function(N){return N={$$typeof:l,_currentValue:N,_currentValue2:N,_threadCount:0,Provider:null,Consumer:null},N.Provider=N,N.Consumer={$$typeof:i,_context:N},N},ct.createElement=function(N,G,V){var I,z={},X=null;if(G!=null)for(I in G.key!==void 0&&(X=""+G.key),G)O.call(G,I)&&I!=="key"&&I!=="__self"&&I!=="__source"&&(z[I]=G[I]);var pe=arguments.length-2;if(pe===1)z.children=V;else if(1<pe){for(var he=Array(pe),_e=0;_e<pe;_e++)he[_e]=arguments[_e+2];z.children=he}if(N&&N.defaultProps)for(I in pe=N.defaultProps,pe)z[I]===void 0&&(z[I]=pe[I]);return L(N,X,z)},ct.createRef=function(){return{current:null}},ct.forwardRef=function(N){return{$$typeof:c,render:N}},ct.isValidElement=B,ct.lazy=function(N){return{$$typeof:m,_payload:{_status:-1,_result:N},_init:J}},ct.memo=function(N,G){return{$$typeof:p,type:N,compare:G===void 0?null:G}},ct.startTransition=function(N){var G=D.T,V={};D.T=V;try{var I=N(),z=D.S;z!==null&&z(V,I),typeof I=="object"&&I!==null&&typeof I.then=="function"&&I.then(R,le)}catch(X){le(X)}finally{G!==null&&V.types!==null&&(G.types=V.types),D.T=G}},ct.unstable_useCacheRefresh=function(){return D.H.useCacheRefresh()},ct.use=function(N){return D.H.use(N)},ct.useActionState=function(N,G,V){return D.H.useActionState(N,G,V)},ct.useCallback=function(N,G){return D.H.useCallback(N,G)},ct.useContext=function(N){return D.H.useContext(N)},ct.useDebugValue=function(){},ct.useDeferredValue=function(N,G){return D.H.useDeferredValue(N,G)},ct.useEffect=function(N,G){return D.H.useEffect(N,G)},ct.useEffectEvent=function(N){return D.H.useEffectEvent(N)},ct.useId=function(){return D.H.useId()},ct.useImperativeHandle=function(N,G,V){return D.H.useImperativeHandle(N,G,V)},ct.useInsertionEffect=function(N,G){return D.H.useInsertionEffect(N,G)},ct.useLayoutEffect=function(N,G){return D.H.useLayoutEffect(N,G)},ct.useMemo=function(N,G){return D.H.useMemo(N,G)},ct.useOptimistic=function(N,G){return D.H.useOptimistic(N,G)},ct.useReducer=function(N,G,V){return D.H.useReducer(N,G,V)},ct.useRef=function(N){return D.H.useRef(N)},ct.useState=function(N){return D.H.useState(N)},ct.useSyncExternalStore=function(N,G,V){return D.H.useSyncExternalStore(N,G,V)},ct.useTransition=function(){return D.H.useTransition()},ct.version="19.2.6",ct}var _1;function Is(){return _1||(_1=1,bS.exports=$z()),bS.exports}var A=Is();const ee=Ol(A),Sx=zz({__proto__:null,default:ee},[A]);var yS={exports:{}},ku={},SS={exports:{}},wS={};var k1;function Vz(){return k1||(k1=1,(function(e){function t(H,K){var J=H.length;H.push(K);e:for(;0<J;){var le=J-1>>>1,Q=H[le];if(0<n(Q,K))H[le]=K,H[J]=Q,J=le;else break e}}function o(H){return H.length===0?null:H[0]}function a(H){if(H.length===0)return null;var K=H[0],J=H.pop();if(J!==K){H[0]=J;e:for(var le=0,Q=H.length,N=Q>>>1;le<N;){var G=2*(le+1)-1,V=H[G],I=G+1,z=H[I];if(0>n(V,J))I<Q&&0>n(z,V)?(H[le]=z,H[I]=J,le=I):(H[le]=V,H[G]=J,le=G);else if(I<Q&&0>n(z,J))H[le]=z,H[I]=J,le=I;else break e}}return K}function n(H,K){var J=H.sortIndex-K.sortIndex;return J!==0?J:H.id-K.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,c=l.now();e.unstable_now=function(){return l.now()-c}}var d=[],p=[],m=1,h=null,f=3,v=!1,b=!1,S=!1,_=!1,T=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,E=typeof setImmediate<"u"?setImmediate:null;function C(H){for(var K=o(p);K!==null;){if(K.callback===null)a(p);else if(K.startTime<=H)a(p),K.sortIndex=K.expirationTime,t(d,K);else break;K=o(p)}}function P(H){if(S=!1,C(H),!b)if(o(d)!==null)b=!0,R||(R=!0,U());else{var K=o(p);K!==null&&ae(P,K.startTime-H)}}var R=!1,D=-1,O=5,L=-1;function q(){return _?!0:!(e.unstable_now()-L<O)}function B(){if(_=!1,R){var H=e.unstable_now();L=H;var K=!0;try{e:{b=!1,S&&(S=!1,x(D),D=-1),v=!0;var J=f;try{t:{for(C(H),h=o(d);h!==null&&!(h.expirationTime>H&&q());){var le=h.callback;if(typeof le=="function"){h.callback=null,f=h.priorityLevel;var Q=le(h.expirationTime<=H);if(H=e.unstable_now(),typeof Q=="function"){h.callback=Q,C(H),K=!0;break t}h===o(d)&&a(d),C(H)}else a(d);h=o(d)}if(h!==null)K=!0;else{var N=o(p);N!==null&&ae(P,N.startTime-H),K=!1}}break e}finally{h=null,f=J,v=!1}K=void 0}}finally{K?U():R=!1}}}var U;if(typeof E=="function")U=function(){E(B)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,W=F.port2;F.port1.onmessage=B,U=function(){W.postMessage(null)}}else U=function(){T(B,0)};function ae(H,K){D=T(function(){H(e.unstable_now())},K)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(H){H.callback=null},e.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<H?Math.floor(1e3/H):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(H){switch(f){case 1:case 2:case 3:var K=3;break;default:K=f}var J=f;f=K;try{return H()}finally{f=J}},e.unstable_requestPaint=function(){_=!0},e.unstable_runWithPriority=function(H,K){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var J=f;f=H;try{return K()}finally{f=J}},e.unstable_scheduleCallback=function(H,K,J){var le=e.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?le+J:le):J=le,H){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=J+Q,H={id:m++,callback:K,priorityLevel:H,startTime:J,expirationTime:Q,sortIndex:-1},J>le?(H.sortIndex=J,t(p,H),o(d)===null&&H===o(p)&&(S?(x(D),D=-1):S=!0,ae(P,J-le))):(H.sortIndex=Q,t(d,H),b||v||(b=!0,R||(R=!0,U()))),H},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(H){var K=f;return function(){var J=f;f=K;try{return H.apply(this,arguments)}finally{f=J}}}})(wS)),wS}var C1;function Hz(){return C1||(C1=1,SS.exports=Vz()),SS.exports}var TS={exports:{}},Ra={};var P1;function Gz(){if(P1)return Ra;P1=1;var e=Is();function t(d){var p="https://react.dev/errors/"+d;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)p+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+d+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var a={d:{f:o,r:function(){throw Error(t(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},n=Symbol.for("react.portal");function i(d,p,m){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:n,key:h==null?null:""+h,children:d,containerInfo:p,implementation:m}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(d,p){if(d==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Ra.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,Ra.createPortal=function(d,p){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(t(299));return i(d,p,null,m)},Ra.flushSync=function(d){var p=l.T,m=a.p;try{if(l.T=null,a.p=2,d)return d()}finally{l.T=p,a.p=m,a.d.f()}},Ra.preconnect=function(d,p){typeof d=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,a.d.C(d,p))},Ra.prefetchDNS=function(d){typeof d=="string"&&a.d.D(d)},Ra.preinit=function(d,p){if(typeof d=="string"&&p&&typeof p.as=="string"){var m=p.as,h=c(m,p.crossOrigin),f=typeof p.integrity=="string"?p.integrity:void 0,v=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;m==="style"?a.d.S(d,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:h,integrity:f,fetchPriority:v}):m==="script"&&a.d.X(d,{crossOrigin:h,integrity:f,fetchPriority:v,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Ra.preinitModule=function(d,p){if(typeof d=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var m=c(p.as,p.crossOrigin);a.d.M(d,{crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&a.d.M(d)},Ra.preload=function(d,p){if(typeof d=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var m=p.as,h=c(m,p.crossOrigin);a.d.L(d,m,{crossOrigin:h,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Ra.preloadModule=function(d,p){if(typeof d=="string")if(p){var m=c(p.as,p.crossOrigin);a.d.m(d,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else a.d.m(d)},Ra.requestFormReset=function(d){a.d.r(d)},Ra.unstable_batchedUpdates=function(d,p){return d(p)},Ra.useFormState=function(d,p,m){return l.H.useFormState(d,p,m)},Ra.useFormStatus=function(){return l.H.useHostTransitionStatus()},Ra.version="19.2.6",Ra}var E1;function aM(){if(E1)return TS.exports;E1=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),TS.exports=Gz(),TS.exports}var A1;function Wz(){if(A1)return ku;A1=1;var e=Hz(),t=Is(),o=aM();function a(r){var s="https://react.dev/errors/"+r;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)s+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+r+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function i(r){var s=r,u=r;if(r.alternate)for(;s.return;)s=s.return;else{r=s;do s=r,(s.flags&4098)!==0&&(u=s.return),r=s.return;while(r)}return s.tag===3?u:null}function l(r){if(r.tag===13){var s=r.memoizedState;if(s===null&&(r=r.alternate,r!==null&&(s=r.memoizedState)),s!==null)return s.dehydrated}return null}function c(r){if(r.tag===31){var s=r.memoizedState;if(s===null&&(r=r.alternate,r!==null&&(s=r.memoizedState)),s!==null)return s.dehydrated}return null}function d(r){if(i(r)!==r)throw Error(a(188))}function p(r){var s=r.alternate;if(!s){if(s=i(r),s===null)throw Error(a(188));return s!==r?null:r}for(var u=r,g=s;;){var y=u.return;if(y===null)break;var k=y.alternate;if(k===null){if(g=y.return,g!==null){u=g;continue}break}if(y.child===k.child){for(k=y.child;k;){if(k===u)return d(y),r;if(k===g)return d(y),s;k=k.sibling}throw Error(a(188))}if(u.return!==g.return)u=y,g=k;else{for(var M=!1,j=y.child;j;){if(j===u){M=!0,u=y,g=k;break}if(j===g){M=!0,g=y,u=k;break}j=j.sibling}if(!M){for(j=k.child;j;){if(j===u){M=!0,u=k,g=y;break}if(j===g){M=!0,g=k,u=y;break}j=j.sibling}if(!M)throw Error(a(189))}}if(u.alternate!==g)throw Error(a(190))}if(u.tag!==3)throw Error(a(188));return u.stateNode.current===u?r:s}function m(r){var s=r.tag;if(s===5||s===26||s===27||s===6)return r;for(r=r.child;r!==null;){if(s=m(r),s!==null)return s;r=r.sibling}return null}var h=Object.assign,f=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),x=Symbol.for("react.consumer"),E=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),L=Symbol.for("react.activity"),q=Symbol.for("react.memo_cache_sentinel"),B=Symbol.iterator;function U(r){return r===null||typeof r!="object"?null:(r=B&&r[B]||r["@@iterator"],typeof r=="function"?r:null)}var F=Symbol.for("react.client.reference");function W(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===F?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case S:return"Fragment";case T:return"Profiler";case _:return"StrictMode";case P:return"Suspense";case R:return"SuspenseList";case L:return"Activity"}if(typeof r=="object")switch(r.$$typeof){case b:return"Portal";case E:return r.displayName||"Context";case x:return(r._context.displayName||"Context")+".Consumer";case C:var s=r.render;return r=r.displayName,r||(r=s.displayName||s.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case D:return s=r.displayName||null,s!==null?s:W(r.type)||"Memo";case O:s=r._payload,r=r._init;try{return W(r(s))}catch{}}return null}var ae=Array.isArray,H=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},le=[],Q=-1;function N(r){return{current:r}}function G(r){0>Q||(r.current=le[Q],le[Q]=null,Q--)}function V(r,s){Q++,le[Q]=r.current,r.current=s}var I=N(null),z=N(null),X=N(null),pe=N(null);function he(r,s){switch(V(X,s),V(z,r),V(I,null),s.nodeType){case 9:case 11:r=(r=s.documentElement)&&(r=r.namespaceURI)?VE(r):0;break;default:if(r=s.tagName,s=s.namespaceURI)s=VE(s),r=HE(s,r);else switch(r){case"svg":r=1;break;case"math":r=2;break;default:r=0}}G(I),V(I,r)}function _e(){G(I),G(z),G(X)}function qe(r){r.memoizedState!==null&&V(pe,r);var s=I.current,u=HE(s,r.type);s!==u&&(V(z,r),V(I,u))}function Z(r){z.current===r&&(G(I),G(z)),pe.current===r&&(G(pe),Su._currentValue=J)}var ne,ve;function ie(r){if(ne===void 0)try{throw Error()}catch(u){var s=u.stack.trim().match(/\n( *(at )?)/);ne=s&&s[1]||"",ve=-1<u.stack.indexOf(`
3
3
  at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
4
4
  `+ne+r+ve}var Te=!1;function Ce(r,s){if(!r||Te)return"";Te=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var g={DetermineComponentFrameRoot:function(){try{if(s){var xe=function(){throw Error()};if(Object.defineProperty(xe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(xe,[])}catch(fe){var me=fe}Reflect.construct(r,[],xe)}else{try{xe.call()}catch(fe){me=fe}r.call(xe.prototype)}}else{try{throw Error()}catch(fe){me=fe}(xe=r())&&typeof xe.catch=="function"&&xe.catch(function(){})}}catch(fe){if(fe&&me&&typeof fe.stack=="string")return[fe.stack,me.stack]}return[null,null]}};g.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var y=Object.getOwnPropertyDescriptor(g.DetermineComponentFrameRoot,"name");y&&y.configurable&&Object.defineProperty(g.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var k=g.DetermineComponentFrameRoot(),M=k[0],j=k[1];if(M&&j){var te=M.split(`
@@ -45,7 +45,7 @@ Error generating stack: `+g.message+`
45
45
 
46
46
  `)}v.write("payload.value = newResult;"),v.write("return payload;");const x=v.compile();return(E,C)=>x(f,E,C)};let i;const l=xp,c=!KM.jitless,p=c&&Nq.value,m=t.catchall;let h;e._zod.parse=(f,v)=>{h??(h=a.value);const b=f.value;return l(b)?c&&p&&v?.async===!1&&v.jitless!==!0?(i||(i=n(t.shape)),f=i(f,v),m?dN([],b,f,v,h,e):f):o(f,v):(f.issues.push({expected:"object",code:"invalid_type",input:b,inst:e}),f)}});function SA(e,t,o,a){for(const i of e)if(i.issues.length===0)return t.value=i.value,t;const n=e.filter(i=>!Qc(i));return n.length===1?(t.value=n[0].value,n[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:o,errors:e.map(i=>i.issues.map(l=>Ms(l,a,Os())))}),t)}const uN=be("$ZodUnion",(e,t)=>{Ht.init(e,t),Ot(e._zod,"optin",()=>t.options.some(n=>n._zod.optin==="optional")?"optional":void 0),Ot(e._zod,"optout",()=>t.options.some(n=>n._zod.optout==="optional")?"optional":void 0),Ot(e._zod,"values",()=>{if(t.options.every(n=>n._zod.values))return new Set(t.options.flatMap(n=>Array.from(n._zod.values)))}),Ot(e._zod,"pattern",()=>{if(t.options.every(n=>n._zod.pattern)){const n=t.options.map(i=>i._zod.pattern);return new RegExp(`^(${n.map(i=>Bx(i.source)).join("|")})$`)}});const o=t.options.length===1,a=t.options[0]._zod.run;e._zod.parse=(n,i)=>{if(o)return a(n,i);let l=!1;const c=[];for(const d of t.options){const p=d._zod.run({value:n.value,issues:[]},i);if(p instanceof Promise)c.push(p),l=!0;else{if(p.issues.length===0)return p;c.push(p)}}return l?Promise.all(c).then(d=>SA(d,n,e,i)):SA(c,n,e,i)}}),RV=be("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,uN.init(e,t);const o=e._zod.parse;Ot(e._zod,"propValues",()=>{const n={};for(const i of t.options){const l=i._zod.propValues;if(!l||Object.keys(l).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(i)}"`);for(const[c,d]of Object.entries(l)){n[c]||(n[c]=new Set);for(const p of d)n[c].add(p)}}return n});const a=bv(()=>{const n=t.options,i=new Map;for(const l of n){const c=l._zod.propValues?.[t.discriminator];if(!c||c.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(l)}"`);for(const d of c){if(i.has(d))throw new Error(`Duplicate discriminator value "${String(d)}"`);i.set(d,l)}}return i});e._zod.parse=(n,i)=>{const l=n.value;if(!xp(l))return n.issues.push({code:"invalid_type",expected:"object",input:l,inst:e}),n;const c=a.value.get(l?.[t.discriminator]);return c?c._zod.run(n,i):t.unionFallback?o(n,i):(n.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:l,path:[t.discriminator],inst:e}),n)}}),DV=be("$ZodIntersection",(e,t)=>{Ht.init(e,t),e._zod.parse=(o,a)=>{const n=o.value,i=t.left._zod.run({value:n,issues:[]},a),l=t.right._zod.run({value:n,issues:[]},a);return i instanceof Promise||l instanceof Promise?Promise.all([i,l]).then(([d,p])=>wA(o,d,p)):wA(o,i,l)}});function Dw(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(gd(e)&&gd(t)){const o=Object.keys(t),a=Object.keys(e).filter(i=>o.indexOf(i)!==-1),n={...e,...t};for(const i of a){const l=Dw(e[i],t[i]);if(!l.valid)return{valid:!1,mergeErrorPath:[i,...l.mergeErrorPath]};n[i]=l.data}return{valid:!0,data:n}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const o=[];for(let a=0;a<e.length;a++){const n=e[a],i=t[a],l=Dw(n,i);if(!l.valid)return{valid:!1,mergeErrorPath:[a,...l.mergeErrorPath]};o.push(l.data)}return{valid:!0,data:o}}return{valid:!1,mergeErrorPath:[]}}function wA(e,t,o){const a=new Map;let n;for(const c of t.issues)if(c.code==="unrecognized_keys"){n??(n=c);for(const d of c.keys)a.has(d)||a.set(d,{}),a.get(d).l=!0}else e.issues.push(c);for(const c of o.issues)if(c.code==="unrecognized_keys")for(const d of c.keys)a.has(d)||a.set(d,{}),a.get(d).r=!0;else e.issues.push(c);const i=[...a].filter(([,c])=>c.l&&c.r).map(([c])=>c);if(i.length&&n&&e.issues.push({...n,keys:i}),Qc(e))return e;const l=Dw(t.value,o.value);if(!l.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(l.mergeErrorPath)}`);return e.value=l.data,e}const OV=be("$ZodTuple",(e,t)=>{Ht.init(e,t);const o=t.items;e._zod.parse=(a,n)=>{const i=a.value;if(!Array.isArray(i))return a.issues.push({input:i,inst:e,expected:"tuple",code:"invalid_type"}),a;a.value=[];const l=[],c=[...o].reverse().findIndex(m=>m._zod.optin!=="optional"),d=c===-1?0:o.length-c;if(!t.rest){const m=i.length>o.length,h=i.length<d-1;if(m||h)return a.issues.push({...m?{code:"too_big",maximum:o.length,inclusive:!0}:{code:"too_small",minimum:o.length},input:i,inst:e,origin:"array"}),a}let p=-1;for(const m of o){if(p++,p>=i.length&&p>=d)continue;const h=m._zod.run({value:i[p],issues:[]},n);h instanceof Promise?l.push(h.then(f=>Dh(f,a,p))):Dh(h,a,p)}if(t.rest){const m=i.slice(o.length);for(const h of m){p++;const f=t.rest._zod.run({value:h,issues:[]},n);f instanceof Promise?l.push(f.then(v=>Dh(v,a,p))):Dh(f,a,p)}}return l.length?Promise.all(l).then(()=>a):a}});function Dh(e,t,o){e.issues.length&&t.issues.push(...yl(o,e.issues)),t.value[o]=e.value}const MV=be("$ZodRecord",(e,t)=>{Ht.init(e,t),e._zod.parse=(o,a)=>{const n=o.value;if(!gd(n))return o.issues.push({expected:"record",code:"invalid_type",input:n,inst:e}),o;const i=[],l=t.keyType._zod.values;if(l){o.value={};const c=new Set;for(const p of l)if(typeof p=="string"||typeof p=="number"||typeof p=="symbol"){c.add(typeof p=="number"?p.toString():p);const m=t.valueType._zod.run({value:n[p],issues:[]},a);m instanceof Promise?i.push(m.then(h=>{h.issues.length&&o.issues.push(...yl(p,h.issues)),o.value[p]=h.value})):(m.issues.length&&o.issues.push(...yl(p,m.issues)),o.value[p]=m.value)}let d;for(const p in n)c.has(p)||(d=d??[],d.push(p));d&&d.length>0&&o.issues.push({code:"unrecognized_keys",input:n,inst:e,keys:d})}else{o.value={};for(const c of Reflect.ownKeys(n)){if(c==="__proto__")continue;let d=t.keyType._zod.run({value:c,issues:[]},a);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof c=="string"&&aN.test(c)&&d.issues.length){const h=t.keyType._zod.run({value:Number(c),issues:[]},a);if(h instanceof Promise)throw new Error("Async schemas not supported in object keys currently");h.issues.length===0&&(d=h)}if(d.issues.length){t.mode==="loose"?o.value[c]=n[c]:o.issues.push({code:"invalid_key",origin:"record",issues:d.issues.map(h=>Ms(h,a,Os())),input:c,path:[c],inst:e});continue}const m=t.valueType._zod.run({value:n[c],issues:[]},a);m instanceof Promise?i.push(m.then(h=>{h.issues.length&&o.issues.push(...yl(c,h.issues)),o.value[d.value]=h.value})):(m.issues.length&&o.issues.push(...yl(c,m.issues)),o.value[d.value]=m.value)}}return i.length?Promise.all(i).then(()=>o):o}}),NV=be("$ZodEnum",(e,t)=>{Ht.init(e,t);const o=YM(t.entries),a=new Set(o);e._zod.values=a,e._zod.pattern=new RegExp(`^(${o.filter(n=>Iq.has(typeof n)).map(n=>typeof n=="string"?fd(n):n.toString()).join("|")})$`),e._zod.parse=(n,i)=>{const l=n.value;return a.has(l)||n.issues.push({code:"invalid_value",values:o,input:l,inst:e}),n}}),IV=be("$ZodLiteral",(e,t)=>{if(Ht.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");const o=new Set(t.values);e._zod.values=o,e._zod.pattern=new RegExp(`^(${t.values.map(a=>typeof a=="string"?fd(a):a?fd(a.toString()):String(a)).join("|")})$`),e._zod.parse=(a,n)=>{const i=a.value;return o.has(i)||a.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),a}}),LV=be("$ZodFile",(e,t)=>{Ht.init(e,t),e._zod.parse=(o,a)=>{const n=o.value;return n instanceof File||o.issues.push({expected:"file",code:"invalid_type",input:n,inst:e}),o}}),BV=be("$ZodTransform",(e,t)=>{Ht.init(e,t),e._zod.parse=(o,a)=>{if(a.direction==="backward")throw new WM(e.constructor.name);const n=t.transform(o.value,o);if(a.async)return(n instanceof Promise?n:Promise.resolve(n)).then(l=>(o.value=l,o));if(n instanceof Promise)throw new nd;return o.value=n,o}});function TA(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}const pN=be("$ZodOptional",(e,t)=>{Ht.init(e,t),e._zod.optin="optional",e._zod.optout="optional",Ot(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),Ot(e._zod,"pattern",()=>{const o=t.innerType._zod.pattern;return o?new RegExp(`^(${Bx(o.source)})?$`):void 0}),e._zod.parse=(o,a)=>{if(t.innerType._zod.optin==="optional"){const n=t.innerType._zod.run(o,a);return n instanceof Promise?n.then(i=>TA(i,o.value)):TA(n,o.value)}return o.value===void 0?o:t.innerType._zod.run(o,a)}}),FV=be("$ZodExactOptional",(e,t)=>{pN.init(e,t),Ot(e._zod,"values",()=>t.innerType._zod.values),Ot(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(o,a)=>t.innerType._zod.run(o,a)}),jV=be("$ZodNullable",(e,t)=>{Ht.init(e,t),Ot(e._zod,"optin",()=>t.innerType._zod.optin),Ot(e._zod,"optout",()=>t.innerType._zod.optout),Ot(e._zod,"pattern",()=>{const o=t.innerType._zod.pattern;return o?new RegExp(`^(${Bx(o.source)}|null)$`):void 0}),Ot(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(o,a)=>o.value===null?o:t.innerType._zod.run(o,a)}),zV=be("$ZodDefault",(e,t)=>{Ht.init(e,t),e._zod.optin="optional",Ot(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(o,a)=>{if(a.direction==="backward")return t.innerType._zod.run(o,a);if(o.value===void 0)return o.value=t.defaultValue,o;const n=t.innerType._zod.run(o,a);return n instanceof Promise?n.then(i=>xA(i,t)):xA(n,t)}});function xA(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const UV=be("$ZodPrefault",(e,t)=>{Ht.init(e,t),e._zod.optin="optional",Ot(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(o,a)=>(a.direction==="backward"||o.value===void 0&&(o.value=t.defaultValue),t.innerType._zod.run(o,a))}),qV=be("$ZodNonOptional",(e,t)=>{Ht.init(e,t),Ot(e._zod,"values",()=>{const o=t.innerType._zod.values;return o?new Set([...o].filter(a=>a!==void 0)):void 0}),e._zod.parse=(o,a)=>{const n=t.innerType._zod.run(o,a);return n instanceof Promise?n.then(i=>_A(i,e)):_A(n,e)}});function _A(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const $V=be("$ZodCatch",(e,t)=>{Ht.init(e,t),Ot(e._zod,"optin",()=>t.innerType._zod.optin),Ot(e._zod,"optout",()=>t.innerType._zod.optout),Ot(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(o,a)=>{if(a.direction==="backward")return t.innerType._zod.run(o,a);const n=t.innerType._zod.run(o,a);return n instanceof Promise?n.then(i=>(o.value=i.value,i.issues.length&&(o.value=t.catchValue({...o,error:{issues:i.issues.map(l=>Ms(l,a,Os()))},input:o.value}),o.issues=[]),o)):(o.value=n.value,n.issues.length&&(o.value=t.catchValue({...o,error:{issues:n.issues.map(i=>Ms(i,a,Os()))},input:o.value}),o.issues=[]),o)}}),VV=be("$ZodPipe",(e,t)=>{Ht.init(e,t),Ot(e._zod,"values",()=>t.in._zod.values),Ot(e._zod,"optin",()=>t.in._zod.optin),Ot(e._zod,"optout",()=>t.out._zod.optout),Ot(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(o,a)=>{if(a.direction==="backward"){const i=t.out._zod.run(o,a);return i instanceof Promise?i.then(l=>Oh(l,t.in,a)):Oh(i,t.in,a)}const n=t.in._zod.run(o,a);return n instanceof Promise?n.then(i=>Oh(i,t.out,a)):Oh(n,t.out,a)}});function Oh(e,t,o){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},o)}const HV=be("$ZodReadonly",(e,t)=>{Ht.init(e,t),Ot(e._zod,"propValues",()=>t.innerType._zod.propValues),Ot(e._zod,"values",()=>t.innerType._zod.values),Ot(e._zod,"optin",()=>t.innerType?._zod?.optin),Ot(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(o,a)=>{if(a.direction==="backward")return t.innerType._zod.run(o,a);const n=t.innerType._zod.run(o,a);return n instanceof Promise?n.then(kA):kA(n)}});function kA(e){return e.value=Object.freeze(e.value),e}const GV=be("$ZodLazy",(e,t)=>{Ht.init(e,t),Ot(e._zod,"innerType",()=>t.getter()),Ot(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),Ot(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),Ot(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),Ot(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(o,a)=>e._zod.innerType._zod.run(o,a)}),WV=be("$ZodCustom",(e,t)=>{ka.init(e,t),Ht.init(e,t),e._zod.parse=(o,a)=>o,e._zod.check=o=>{const a=o.value,n=t.fn(a);if(n instanceof Promise)return n.then(i=>CA(i,o,a,e));CA(n,o,a,e)}});function CA(e,t,o,a){if(!e){const n={code:"custom",input:o,inst:a,path:[...a._zod.def.path??[]],continue:!a._zod.def.abort};a._zod.def.params&&(n.params=a._zod.def.params),t.issues.push(_p(n))}}var PA;class KV{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...o){const a=o[0];return this._map.set(t,a),a&&typeof a=="object"&&"id"in a&&this._idmap.set(a.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const o=this._map.get(t);return o&&typeof o=="object"&&"id"in o&&this._idmap.delete(o.id),this._map.delete(t),this}get(t){const o=t._zod.parent;if(o){const a={...this.get(o)??{}};delete a.id;const n={...a,...this._map.get(t)};return Object.keys(n).length?n:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function YV(){return new KV}(PA=globalThis).__zod_globalRegistry??(PA.__zod_globalRegistry=YV());const Yu=globalThis.__zod_globalRegistry;function ZV(e,t){return new e({type:"string",...Ve(t)})}function QV(e,t){return new e({type:"string",coerce:!0,...Ve(t)})}function JV(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...Ve(t)})}function EA(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...Ve(t)})}function XV(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...Ve(t)})}function e7(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Ve(t)})}function t7(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Ve(t)})}function o7(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Ve(t)})}function mN(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...Ve(t)})}function a7(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...Ve(t)})}function n7(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...Ve(t)})}function r7(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...Ve(t)})}function i7(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...Ve(t)})}function s7(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...Ve(t)})}function l7(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...Ve(t)})}function c7(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...Ve(t)})}function d7(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...Ve(t)})}function u7(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...Ve(t)})}function p7(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Ve(t)})}function m7(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Ve(t)})}function h7(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...Ve(t)})}function g7(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...Ve(t)})}function f7(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...Ve(t)})}function v7(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...Ve(t)})}function b7(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Ve(t)})}function y7(e,t){return new e({type:"string",format:"date",check:"string_format",...Ve(t)})}function S7(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...Ve(t)})}function w7(e,t){return new e({type:"string",format:"duration",check:"string_format",...Ve(t)})}function T7(e,t){return new e({type:"number",checks:[],...Ve(t)})}function x7(e,t){return new e({type:"number",coerce:!0,checks:[],...Ve(t)})}function _7(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...Ve(t)})}function k7(e,t){return new e({type:"boolean",...Ve(t)})}function C7(e,t){return new e({type:"boolean",coerce:!0,...Ve(t)})}function P7(e,t){return new e({type:"undefined",...Ve(t)})}function E7(e,t){return new e({type:"null",...Ve(t)})}function A7(e){return new e({type:"any"})}function R7(e){return new e({type:"unknown"})}function D7(e,t){return new e({type:"never",...Ve(t)})}function AA(e,t){return new rN({check:"less_than",...Ve(t),value:e,inclusive:!1})}function BS(e,t){return new rN({check:"less_than",...Ve(t),value:e,inclusive:!0})}function RA(e,t){return new iN({check:"greater_than",...Ve(t),value:e,inclusive:!1})}function FS(e,t){return new iN({check:"greater_than",...Ve(t),value:e,inclusive:!0})}function DA(e,t){return new O$({check:"multiple_of",...Ve(t),value:e})}function O7(e,t){return new N$({check:"max_size",...Ve(t),maximum:e})}function M7(e,t){return new I$({check:"min_size",...Ve(t),minimum:e})}function hN(e,t){return new L$({check:"max_length",...Ve(t),maximum:e})}function Sf(e,t){return new B$({check:"min_length",...Ve(t),minimum:e})}function gN(e,t){return new F$({check:"length_equals",...Ve(t),length:e})}function N7(e,t){return new j$({check:"string_format",format:"regex",...Ve(t),pattern:e})}function I7(e){return new z$({check:"string_format",format:"lowercase",...Ve(e)})}function L7(e){return new U$({check:"string_format",format:"uppercase",...Ve(e)})}function B7(e,t){return new q$({check:"string_format",format:"includes",...Ve(t),includes:e})}function F7(e,t){return new $$({check:"string_format",format:"starts_with",...Ve(t),prefix:e})}function j7(e,t){return new V$({check:"string_format",format:"ends_with",...Ve(t),suffix:e})}function z7(e,t){return new H$({check:"mime_type",mime:e,...Ve(t)})}function Dd(e){return new G$({check:"overwrite",tx:e})}function U7(e){return Dd(t=>t.normalize(e))}function q7(){return Dd(e=>e.trim())}function $7(){return Dd(e=>e.toLowerCase())}function V7(){return Dd(e=>e.toUpperCase())}function H7(){return Dd(e=>Mq(e))}function G7(e,t,o){return new e({type:"array",element:t,...Ve(o)})}function W7(e,t){return new e({type:"file",...Ve(t)})}function K7(e,t,o){const a=Ve(o);return a.abort??(a.abort=!0),new e({type:"custom",check:"custom",fn:t,...a})}function Y7(e,t,o){return new e({type:"custom",check:"custom",fn:t,...Ve(o)})}function Z7(e){const t=Q7(o=>(o.addIssue=a=>{if(typeof a=="string")o.issues.push(_p(a,o.value,t._zod.def));else{const n=a;n.fatal&&(n.continue=!1),n.code??(n.code="custom"),n.input??(n.input=o.value),n.inst??(n.inst=t),n.continue??(n.continue=!t._zod.def.abort),o.issues.push(_p(n))}},e(o.value,o)));return t}function Q7(e,t){const o=new ka({check:"custom",...Ve(t)});return o._zod.check=e,o}function wf(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??Yu,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function uo(e,t,o={path:[],schemaPath:[]}){var a;const n=e._zod.def,i=t.seen.get(e);if(i)return i.count++,o.schemaPath.includes(e)&&(i.cycle=o.path),i.schema;const l={schema:{},count:1,cycle:void 0,path:o.path};t.seen.set(e,l);const c=e._zod.toJSONSchema?.();if(c)l.schema=c;else{const m={...o,schemaPath:[...o.schemaPath,e],path:o.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,l.schema,m);else{const f=l.schema,v=t.processors[n.type];if(!v)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${n.type}`);v(e,t,f,m)}const h=e._zod.parent;h&&(l.ref||(l.ref=h),uo(h,t,m),t.seen.get(h).isParent=!0)}const d=t.metadataRegistry.get(e);return d&&Object.assign(l.schema,d),t.io==="input"&&Va(e)&&(delete l.schema.examples,delete l.schema.default),t.io==="input"&&l.schema._prefault&&((a=l.schema).default??(a.default=l.schema._prefault)),delete l.schema._prefault,t.seen.get(e).schema}function Tf(e,t){const o=e.seen.get(t);if(!o)throw new Error("Unprocessed schema. This is a bug in Zod.");const a=new Map;for(const l of e.seen.entries()){const c=e.metadataRegistry.get(l[0])?.id;if(c){const d=a.get(c);if(d&&d!==l[0])throw new Error(`Duplicate schema id "${c}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);a.set(c,l[0])}}const n=l=>{const c=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const h=e.external.registry.get(l[0])?.id,f=e.external.uri??(b=>b);if(h)return{ref:f(h)};const v=l[1].defId??l[1].schema.id??`schema${e.counter++}`;return l[1].defId=v,{defId:v,ref:`${f("__shared")}#/${c}/${v}`}}if(l[1]===o)return{ref:"#"};const p=`#/${c}/`,m=l[1].schema.id??`__schema${e.counter++}`;return{defId:m,ref:p+m}},i=l=>{if(l[1].schema.$ref)return;const c=l[1],{ref:d,defId:p}=n(l);c.def={...c.schema},p&&(c.defId=p);const m=c.schema;for(const h in m)delete m[h];m.$ref=d};if(e.cycles==="throw")for(const l of e.seen.entries()){const c=l[1];if(c.cycle)throw new Error(`Cycle detected: #/${c.cycle?.join("/")}/<root>
47
47
 
48
- Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const l of e.seen.entries()){const c=l[1];if(t===l[0]){i(l);continue}if(e.external){const p=e.external.registry.get(l[0])?.id;if(t!==l[0]&&p){i(l);continue}}if(e.metadataRegistry.get(l[0])?.id){i(l);continue}if(c.cycle){i(l);continue}if(c.count>1&&e.reused==="ref"){i(l);continue}}}function xf(e,t){const o=e.seen.get(t);if(!o)throw new Error("Unprocessed schema. This is a bug in Zod.");const a=l=>{const c=e.seen.get(l);if(c.ref===null)return;const d=c.def??c.schema,p={...d},m=c.ref;if(c.ref=null,m){a(m);const f=e.seen.get(m),v=f.schema;if(v.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(d.allOf=d.allOf??[],d.allOf.push(v)):Object.assign(d,v),Object.assign(d,p),l._zod.parent===m)for(const S in d)S==="$ref"||S==="allOf"||S in p||delete d[S];if(v.$ref&&f.def)for(const S in d)S==="$ref"||S==="allOf"||S in f.def&&JSON.stringify(d[S])===JSON.stringify(f.def[S])&&delete d[S]}const h=l._zod.parent;if(h&&h!==m){a(h);const f=e.seen.get(h);if(f?.schema.$ref&&(d.$ref=f.schema.$ref,f.def))for(const v in d)v==="$ref"||v==="allOf"||v in f.def&&JSON.stringify(d[v])===JSON.stringify(f.def[v])&&delete d[v]}e.override({zodSchema:l,jsonSchema:d,path:c.path??[]})};for(const l of[...e.seen.entries()].reverse())a(l[0]);const n={};if(e.target==="draft-2020-12"?n.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?n.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?n.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const l=e.external.registry.get(t)?.id;if(!l)throw new Error("Schema is missing an `id` property");n.$id=e.external.uri(l)}Object.assign(n,o.def??o.schema);const i=e.external?.defs??{};for(const l of e.seen.entries()){const c=l[1];c.def&&c.defId&&(i[c.defId]=c.def)}e.external||Object.keys(i).length>0&&(e.target==="draft-2020-12"?n.$defs=i:n.definitions=i);try{const l=JSON.parse(JSON.stringify(n));return Object.defineProperty(l,"~standard",{value:{...t["~standard"],jsonSchema:{input:_f(t,"input",e.processors),output:_f(t,"output",e.processors)}},enumerable:!1,writable:!1}),l}catch{throw new Error("Error converting schema to JSON.")}}function Va(e,t){const o=t??{seen:new Set};if(o.seen.has(e))return!1;o.seen.add(e);const a=e._zod.def;if(a.type==="transform")return!0;if(a.type==="array")return Va(a.element,o);if(a.type==="set")return Va(a.valueType,o);if(a.type==="lazy")return Va(a.getter(),o);if(a.type==="promise"||a.type==="optional"||a.type==="nonoptional"||a.type==="nullable"||a.type==="readonly"||a.type==="default"||a.type==="prefault")return Va(a.innerType,o);if(a.type==="intersection")return Va(a.left,o)||Va(a.right,o);if(a.type==="record"||a.type==="map")return Va(a.keyType,o)||Va(a.valueType,o);if(a.type==="pipe")return Va(a.in,o)||Va(a.out,o);if(a.type==="object"){for(const n in a.shape)if(Va(a.shape[n],o))return!0;return!1}if(a.type==="union"){for(const n of a.options)if(Va(n,o))return!0;return!1}if(a.type==="tuple"){for(const n of a.items)if(Va(n,o))return!0;return!!(a.rest&&Va(a.rest,o))}return!1}const J7=(e,t={})=>o=>{const a=wf({...o,processors:t});return uo(e,a),Tf(a,e),xf(a,e)},_f=(e,t,o={})=>a=>{const{libraryOptions:n,target:i}=a??{},l=wf({...n??{},target:i,io:t,processors:o});return uo(e,l),Tf(l,e),xf(l,e)},X7={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},fN=(e,t,o,a)=>{const n=o;n.type="string";const{minimum:i,maximum:l,format:c,patterns:d,contentEncoding:p}=e._zod.bag;if(typeof i=="number"&&(n.minLength=i),typeof l=="number"&&(n.maxLength=l),c&&(n.format=X7[c]??c,n.format===""&&delete n.format,c==="time"&&delete n.format),p&&(n.contentEncoding=p),d&&d.size>0){const m=[...d];m.length===1?n.pattern=m[0].source:m.length>1&&(n.allOf=[...m.map(h=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:h.source}))])}},vN=(e,t,o,a)=>{const n=o,{minimum:i,maximum:l,format:c,multipleOf:d,exclusiveMaximum:p,exclusiveMinimum:m}=e._zod.bag;typeof c=="string"&&c.includes("int")?n.type="integer":n.type="number",typeof m=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(n.minimum=m,n.exclusiveMinimum=!0):n.exclusiveMinimum=m),typeof i=="number"&&(n.minimum=i,typeof m=="number"&&t.target!=="draft-04"&&(m>=i?delete n.minimum:delete n.exclusiveMinimum)),typeof p=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(n.maximum=p,n.exclusiveMaximum=!0):n.exclusiveMaximum=p),typeof l=="number"&&(n.maximum=l,typeof p=="number"&&t.target!=="draft-04"&&(p<=l?delete n.maximum:delete n.exclusiveMaximum)),typeof d=="number"&&(n.multipleOf=d)},bN=(e,t,o,a)=>{o.type="boolean"},e9=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},t9=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},yN=(e,t,o,a)=>{t.target==="openapi-3.0"?(o.type="string",o.nullable=!0,o.enum=[null]):o.type="null"},SN=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},o9=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},wN=(e,t,o,a)=>{o.not={}},TN=(e,t,o,a)=>{},xN=(e,t,o,a)=>{},a9=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},_N=(e,t,o,a)=>{const n=e._zod.def,i=YM(n.entries);i.every(l=>typeof l=="number")&&(o.type="number"),i.every(l=>typeof l=="string")&&(o.type="string"),o.enum=i},kN=(e,t,o,a)=>{const n=e._zod.def,i=[];for(const l of n.values)if(l===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof l=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");i.push(Number(l))}else i.push(l);if(i.length!==0)if(i.length===1){const l=i[0];o.type=l===null?"null":typeof l,t.target==="draft-04"||t.target==="openapi-3.0"?o.enum=[l]:o.const=l}else i.every(l=>typeof l=="number")&&(o.type="number"),i.every(l=>typeof l=="string")&&(o.type="string"),i.every(l=>typeof l=="boolean")&&(o.type="boolean"),i.every(l=>l===null)&&(o.type="null"),o.enum=i},n9=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},r9=(e,t,o,a)=>{const n=o,i=e._zod.pattern;if(!i)throw new Error("Pattern not found in template literal");n.type="string",n.pattern=i.source},CN=(e,t,o,a)=>{const n=o,i={type:"string",format:"binary",contentEncoding:"binary"},{minimum:l,maximum:c,mime:d}=e._zod.bag;l!==void 0&&(i.minLength=l),c!==void 0&&(i.maxLength=c),d?d.length===1?(i.contentMediaType=d[0],Object.assign(n,i)):(Object.assign(n,i),n.anyOf=d.map(p=>({contentMediaType:p}))):Object.assign(n,i)},i9=(e,t,o,a)=>{o.type="boolean"},PN=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},s9=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},EN=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},l9=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},c9=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},AN=(e,t,o,a)=>{const n=o,i=e._zod.def,{minimum:l,maximum:c}=e._zod.bag;typeof l=="number"&&(n.minItems=l),typeof c=="number"&&(n.maxItems=c),n.type="array",n.items=uo(i.element,t,{...a,path:[...a.path,"items"]})},RN=(e,t,o,a)=>{const n=o,i=e._zod.def;n.type="object",n.properties={};const l=i.shape;for(const p in l)n.properties[p]=uo(l[p],t,{...a,path:[...a.path,"properties",p]});const c=new Set(Object.keys(l)),d=new Set([...c].filter(p=>{const m=i.shape[p]._zod;return t.io==="input"?m.optin===void 0:m.optout===void 0}));d.size>0&&(n.required=Array.from(d)),i.catchall?._zod.def.type==="never"?n.additionalProperties=!1:i.catchall?i.catchall&&(n.additionalProperties=uo(i.catchall,t,{...a,path:[...a.path,"additionalProperties"]})):t.io==="output"&&(n.additionalProperties=!1)},DN=(e,t,o,a)=>{const n=e._zod.def,i=n.inclusive===!1,l=n.options.map((c,d)=>uo(c,t,{...a,path:[...a.path,i?"oneOf":"anyOf",d]}));i?o.oneOf=l:o.anyOf=l},ON=(e,t,o,a)=>{const n=e._zod.def,i=uo(n.left,t,{...a,path:[...a.path,"allOf",0]}),l=uo(n.right,t,{...a,path:[...a.path,"allOf",1]}),c=p=>"allOf"in p&&Object.keys(p).length===1,d=[...c(i)?i.allOf:[i],...c(l)?l.allOf:[l]];o.allOf=d},MN=(e,t,o,a)=>{const n=o,i=e._zod.def;n.type="array";const l=t.target==="draft-2020-12"?"prefixItems":"items",c=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",d=i.items.map((f,v)=>uo(f,t,{...a,path:[...a.path,l,v]})),p=i.rest?uo(i.rest,t,{...a,path:[...a.path,c,...t.target==="openapi-3.0"?[i.items.length]:[]]}):null;t.target==="draft-2020-12"?(n.prefixItems=d,p&&(n.items=p)):t.target==="openapi-3.0"?(n.items={anyOf:d},p&&n.items.anyOf.push(p),n.minItems=d.length,p||(n.maxItems=d.length)):(n.items=d,p&&(n.additionalItems=p));const{minimum:m,maximum:h}=e._zod.bag;typeof m=="number"&&(n.minItems=m),typeof h=="number"&&(n.maxItems=h)},NN=(e,t,o,a)=>{const n=o,i=e._zod.def;n.type="object";const l=i.keyType,d=l._zod.bag?.patterns;if(i.mode==="loose"&&d&&d.size>0){const m=uo(i.valueType,t,{...a,path:[...a.path,"patternProperties","*"]});n.patternProperties={};for(const h of d)n.patternProperties[h.source]=m}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(n.propertyNames=uo(i.keyType,t,{...a,path:[...a.path,"propertyNames"]})),n.additionalProperties=uo(i.valueType,t,{...a,path:[...a.path,"additionalProperties"]});const p=l._zod.values;if(p){const m=[...p].filter(h=>typeof h=="string"||typeof h=="number");m.length>0&&(n.required=m)}},IN=(e,t,o,a)=>{const n=e._zod.def,i=uo(n.innerType,t,a),l=t.seen.get(e);t.target==="openapi-3.0"?(l.ref=n.innerType,o.nullable=!0):o.anyOf=[i,{type:"null"}]},LN=(e,t,o,a)=>{const n=e._zod.def;uo(n.innerType,t,a);const i=t.seen.get(e);i.ref=n.innerType},BN=(e,t,o,a)=>{const n=e._zod.def;uo(n.innerType,t,a);const i=t.seen.get(e);i.ref=n.innerType,o.default=JSON.parse(JSON.stringify(n.defaultValue))},FN=(e,t,o,a)=>{const n=e._zod.def;uo(n.innerType,t,a);const i=t.seen.get(e);i.ref=n.innerType,t.io==="input"&&(o._prefault=JSON.parse(JSON.stringify(n.defaultValue)))},jN=(e,t,o,a)=>{const n=e._zod.def;uo(n.innerType,t,a);const i=t.seen.get(e);i.ref=n.innerType;let l;try{l=n.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}o.default=l},zN=(e,t,o,a)=>{const n=e._zod.def,i=t.io==="input"?n.in._zod.def.type==="transform"?n.out:n.in:n.out;uo(i,t,a);const l=t.seen.get(e);l.ref=i},UN=(e,t,o,a)=>{const n=e._zod.def;uo(n.innerType,t,a);const i=t.seen.get(e);i.ref=n.innerType,o.readOnly=!0},d9=(e,t,o,a)=>{const n=e._zod.def;uo(n.innerType,t,a);const i=t.seen.get(e);i.ref=n.innerType},Ux=(e,t,o,a)=>{const n=e._zod.def;uo(n.innerType,t,a);const i=t.seen.get(e);i.ref=n.innerType},qN=(e,t,o,a)=>{const n=e._zod.innerType;uo(n,t,a);const i=t.seen.get(e);i.ref=n},OA={string:fN,number:vN,boolean:bN,bigint:e9,symbol:t9,null:yN,undefined:SN,void:o9,never:wN,any:TN,unknown:xN,date:a9,enum:_N,literal:kN,nan:n9,template_literal:r9,file:CN,success:i9,custom:PN,function:s9,transform:EN,map:l9,set:c9,array:AN,object:RN,union:DN,intersection:ON,tuple:MN,record:NN,nullable:IN,nonoptional:LN,default:BN,prefault:FN,catch:jN,pipe:zN,readonly:UN,promise:d9,optional:Ux,lazy:qN};function Nfe(e,t){if("_idmap"in e){const a=e,n=wf({...t,processors:OA}),i={};for(const d of a._idmap.entries()){const[p,m]=d;uo(m,n)}const l={},c={registry:a,uri:t?.uri,defs:i};n.external=c;for(const d of a._idmap.entries()){const[p,m]=d;Tf(n,m),l[p]=xf(n,m)}if(Object.keys(i).length>0){const d=n.target==="draft-2020-12"?"$defs":"definitions";l.__shared={[d]:i}}return{schemas:l}}const o=wf({...t,processors:OA});return uo(e,o),Tf(o,e),xf(o,e)}const u9=be("ZodISODateTime",(e,t)=>{iV.init(e,t),Ao.init(e,t)});function $N(e){return b7(u9,e)}const p9=be("ZodISODate",(e,t)=>{sV.init(e,t),Ao.init(e,t)});function m9(e){return y7(p9,e)}const h9=be("ZodISOTime",(e,t)=>{lV.init(e,t),Ao.init(e,t)});function g9(e){return S7(h9,e)}const f9=be("ZodISODuration",(e,t)=>{cV.init(e,t),Ao.init(e,t)});function v9(e){return w7(f9,e)}const b9=(e,t)=>{jx.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:o=>Gq(e,o)},flatten:{value:o=>Hq(e,o)},addIssue:{value:o=>{e.issues.push(o),e.message=JSON.stringify(e.issues,Rw,2)}},addIssues:{value:o=>{e.issues.push(...o),e.message=JSON.stringify(e.issues,Rw,2)}},isEmpty:{get(){return e.issues.length===0}}})},er=be("ZodError",b9,{Parent:Error}),y9=Sv(er),S9=wv(er),w9=Tv(er),T9=xv(er),x9=Qq(er),_9=Jq(er),k9=Xq(er),C9=e$(er),P9=t$(er),E9=o$(er),A9=a$(er),R9=n$(er),Zt=be("ZodType",(e,t)=>(Ht.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:_f(e,"input"),output:_f(e,"output")}}),e.toJSONSchema=J7(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...o)=>e.clone(Bs(t,{checks:[...t.checks??[],...o.map(a=>typeof a=="function"?{_zod:{check:a,def:{check:"custom"},onattach:[]}}:a)]}),{parent:!0}),e.with=e.check,e.clone=(o,a)=>Di(e,o,a),e.brand=()=>e,e.register=((o,a)=>(o.add(e,a),e)),e.parse=(o,a)=>y9(e,o,a,{callee:e.parse}),e.safeParse=(o,a)=>w9(e,o,a),e.parseAsync=async(o,a)=>S9(e,o,a,{callee:e.parseAsync}),e.safeParseAsync=async(o,a)=>T9(e,o,a),e.spa=e.safeParseAsync,e.encode=(o,a)=>x9(e,o,a),e.decode=(o,a)=>_9(e,o,a),e.encodeAsync=async(o,a)=>k9(e,o,a),e.decodeAsync=async(o,a)=>C9(e,o,a),e.safeEncode=(o,a)=>P9(e,o,a),e.safeDecode=(o,a)=>E9(e,o,a),e.safeEncodeAsync=async(o,a)=>A9(e,o,a),e.safeDecodeAsync=async(o,a)=>R9(e,o,a),e.refine=(o,a)=>e.check(_H(o,a)),e.superRefine=o=>e.check(kH(o)),e.overwrite=o=>e.check(Dd(o)),e.optional=()=>Po(e),e.exactOptional=()=>dH(e),e.nullable=()=>IA(e),e.nullish=()=>Po(IA(e)),e.nonoptional=o=>fH(e,o),e.array=()=>je(e),e.or=o=>io([e,o]),e.and=o=>$x(e,o),e.transform=o=>Mw(e,XN(o)),e.default=o=>mH(e,o),e.prefault=o=>gH(e,o),e.catch=o=>bH(e,o),e.pipe=o=>Mw(e,o),e.readonly=()=>wH(e),e.describe=o=>{const a=e.clone();return Yu.add(a,{description:o}),a},Object.defineProperty(e,"description",{get(){return Yu.get(e)?.description},configurable:!0}),e.meta=(...o)=>{if(o.length===0)return Yu.get(e);const a=e.clone();return Yu.add(a,o[0]),a},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=o=>o(e),e)),VN=be("_ZodString",(e,t)=>{zx.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(a,n,i)=>fN(e,a,n);const o=e._zod.bag;e.format=o.format??null,e.minLength=o.minimum??null,e.maxLength=o.maximum??null,e.regex=(...a)=>e.check(N7(...a)),e.includes=(...a)=>e.check(B7(...a)),e.startsWith=(...a)=>e.check(F7(...a)),e.endsWith=(...a)=>e.check(j7(...a)),e.min=(...a)=>e.check(Sf(...a)),e.max=(...a)=>e.check(hN(...a)),e.length=(...a)=>e.check(gN(...a)),e.nonempty=(...a)=>e.check(Sf(1,...a)),e.lowercase=a=>e.check(I7(a)),e.uppercase=a=>e.check(L7(a)),e.trim=()=>e.check(q7()),e.normalize=(...a)=>e.check(U7(...a)),e.toLowerCase=()=>e.check($7()),e.toUpperCase=()=>e.check(V7()),e.slugify=()=>e.check(H7())}),HN=be("ZodString",(e,t)=>{zx.init(e,t),VN.init(e,t),e.email=o=>e.check(JV(D9,o)),e.url=o=>e.check(mN(GN,o)),e.jwt=o=>e.check(v7(G9,o)),e.emoji=o=>e.check(a7(O9,o)),e.guid=o=>e.check(EA(MA,o)),e.uuid=o=>e.check(XV(Mh,o)),e.uuidv4=o=>e.check(e7(Mh,o)),e.uuidv6=o=>e.check(t7(Mh,o)),e.uuidv7=o=>e.check(o7(Mh,o)),e.nanoid=o=>e.check(n7(M9,o)),e.guid=o=>e.check(EA(MA,o)),e.cuid=o=>e.check(r7(N9,o)),e.cuid2=o=>e.check(i7(I9,o)),e.ulid=o=>e.check(s7(L9,o)),e.base64=o=>e.check(h7($9,o)),e.base64url=o=>e.check(g7(V9,o)),e.xid=o=>e.check(l7(B9,o)),e.ksuid=o=>e.check(c7(F9,o)),e.ipv4=o=>e.check(d7(j9,o)),e.ipv6=o=>e.check(u7(z9,o)),e.cidrv4=o=>e.check(p7(U9,o)),e.cidrv6=o=>e.check(m7(q9,o)),e.e164=o=>e.check(f7(H9,o)),e.datetime=o=>e.check($N(o)),e.date=o=>e.check(m9(o)),e.time=o=>e.check(g9(o)),e.duration=o=>e.check(v9(o))});function $(e){return ZV(HN,e)}const Ao=be("ZodStringFormat",(e,t)=>{To.init(e,t),VN.init(e,t)}),D9=be("ZodEmail",(e,t)=>{Q$.init(e,t),Ao.init(e,t)}),MA=be("ZodGUID",(e,t)=>{Y$.init(e,t),Ao.init(e,t)}),Mh=be("ZodUUID",(e,t)=>{Z$.init(e,t),Ao.init(e,t)}),GN=be("ZodURL",(e,t)=>{J$.init(e,t),Ao.init(e,t)});function WN(e){return mN(GN,e)}const O9=be("ZodEmoji",(e,t)=>{X$.init(e,t),Ao.init(e,t)}),M9=be("ZodNanoID",(e,t)=>{eV.init(e,t),Ao.init(e,t)}),N9=be("ZodCUID",(e,t)=>{tV.init(e,t),Ao.init(e,t)}),I9=be("ZodCUID2",(e,t)=>{oV.init(e,t),Ao.init(e,t)}),L9=be("ZodULID",(e,t)=>{aV.init(e,t),Ao.init(e,t)}),B9=be("ZodXID",(e,t)=>{nV.init(e,t),Ao.init(e,t)}),F9=be("ZodKSUID",(e,t)=>{rV.init(e,t),Ao.init(e,t)}),j9=be("ZodIPv4",(e,t)=>{dV.init(e,t),Ao.init(e,t)}),z9=be("ZodIPv6",(e,t)=>{uV.init(e,t),Ao.init(e,t)}),U9=be("ZodCIDRv4",(e,t)=>{pV.init(e,t),Ao.init(e,t)}),q9=be("ZodCIDRv6",(e,t)=>{mV.init(e,t),Ao.init(e,t)}),$9=be("ZodBase64",(e,t)=>{hV.init(e,t),Ao.init(e,t)}),V9=be("ZodBase64URL",(e,t)=>{fV.init(e,t),Ao.init(e,t)}),H9=be("ZodE164",(e,t)=>{vV.init(e,t),Ao.init(e,t)}),G9=be("ZodJWT",(e,t)=>{yV.init(e,t),Ao.init(e,t)}),qx=be("ZodNumber",(e,t)=>{lN.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(a,n,i)=>vN(e,a,n),e.gt=(a,n)=>e.check(RA(a,n)),e.gte=(a,n)=>e.check(FS(a,n)),e.min=(a,n)=>e.check(FS(a,n)),e.lt=(a,n)=>e.check(AA(a,n)),e.lte=(a,n)=>e.check(BS(a,n)),e.max=(a,n)=>e.check(BS(a,n)),e.int=a=>e.check(NA(a)),e.safe=a=>e.check(NA(a)),e.positive=a=>e.check(RA(0,a)),e.nonnegative=a=>e.check(FS(0,a)),e.negative=a=>e.check(AA(0,a)),e.nonpositive=a=>e.check(BS(0,a)),e.multipleOf=(a,n)=>e.check(DA(a,n)),e.step=(a,n)=>e.check(DA(a,n)),e.finite=()=>e;const o=e._zod.bag;e.minValue=Math.max(o.minimum??Number.NEGATIVE_INFINITY,o.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(o.maximum??Number.POSITIVE_INFINITY,o.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(o.format??"").includes("int")||Number.isSafeInteger(o.multipleOf??.5),e.isFinite=!0,e.format=o.format??null});function Mt(e){return T7(qx,e)}const W9=be("ZodNumberFormat",(e,t)=>{SV.init(e,t),qx.init(e,t)});function NA(e){return _7(W9,e)}const KN=be("ZodBoolean",(e,t)=>{wV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>bN(e,o,a)});function qt(e){return k7(KN,e)}const K9=be("ZodUndefined",(e,t)=>{TV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>SN(e,o)});function Ife(e){return P7(K9,e)}const Y9=be("ZodNull",(e,t)=>{xV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>yN(e,o,a)});function Z9(e){return E7(Y9,e)}const Q9=be("ZodAny",(e,t)=>{_V.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>TN()});function J9(){return A7(Q9)}const X9=be("ZodUnknown",(e,t)=>{kV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>xN()});function Eo(){return R7(X9)}const eH=be("ZodNever",(e,t)=>{CV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>wN(e,o,a)});function tH(e){return D7(eH,e)}const oH=be("ZodArray",(e,t)=>{PV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>AN(e,o,a,n),e.element=t.element,e.min=(o,a)=>e.check(Sf(o,a)),e.nonempty=o=>e.check(Sf(1,o)),e.max=(o,a)=>e.check(hN(o,a)),e.length=(o,a)=>e.check(gN(o,a)),e.unwrap=()=>e.element});function je(e,t){return G7(oH,e,t)}const YN=be("ZodObject",(e,t)=>{AV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>RN(e,o,a,n),Ot(e,"shape",()=>t.shape),e.keyof=()=>So(Object.keys(e._zod.def.shape)),e.catchall=o=>e.clone({...e._zod.def,catchall:o}),e.passthrough=()=>e.clone({...e._zod.def,catchall:Eo()}),e.loose=()=>e.clone({...e._zod.def,catchall:Eo()}),e.strict=()=>e.clone({...e._zod.def,catchall:tH()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=o=>zq(e,o),e.safeExtend=o=>Uq(e,o),e.merge=o=>qq(e,o),e.pick=o=>Fq(e,o),e.omit=o=>jq(e,o),e.partial=(...o)=>$q(eI,e,o[0]),e.required=(...o)=>Vq(tI,e,o[0])});function we(e,t){const o={type:"object",shape:e??{},...Ve(t)};return new YN(o)}function _a(e,t){return new YN({type:"object",shape:e,catchall:Eo(),...Ve(t)})}const ZN=be("ZodUnion",(e,t)=>{uN.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>DN(e,o,a,n),e.options=t.options});function io(e,t){return new ZN({type:"union",options:e,...Ve(t)})}const aH=be("ZodDiscriminatedUnion",(e,t)=>{ZN.init(e,t),RV.init(e,t)});function QN(e,t,o){return new aH({type:"union",options:t,discriminator:e,...Ve(o)})}const nH=be("ZodIntersection",(e,t)=>{DV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>ON(e,o,a,n)});function $x(e,t){return new nH({type:"intersection",left:e,right:t})}const rH=be("ZodTuple",(e,t)=>{OV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>MN(e,o,a,n),e.rest=o=>e.clone({...e._zod.def,rest:o})});function Lfe(e,t,o){const a=t instanceof Ht,n=a?o:t,i=a?t:null;return new rH({type:"tuple",items:e,rest:i,...Ve(n)})}const JN=be("ZodRecord",(e,t)=>{MV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>NN(e,o,a,n),e.keyType=t.keyType,e.valueType=t.valueType});function vo(e,t,o){return new JN({type:"record",keyType:e,valueType:t,...Ve(o)})}function Bfe(e,t,o){const a=Di(e);return a._zod.values=void 0,new JN({type:"record",keyType:a,valueType:t,...Ve(o)})}const Ow=be("ZodEnum",(e,t)=>{NV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(a,n,i)=>_N(e,a,n),e.enum=t.entries,e.options=Object.values(t.entries);const o=new Set(Object.keys(t.entries));e.extract=(a,n)=>{const i={};for(const l of a)if(o.has(l))i[l]=t.entries[l];else throw new Error(`Key ${l} not found in enum`);return new Ow({...t,checks:[],...Ve(n),entries:i})},e.exclude=(a,n)=>{const i={...t.entries};for(const l of a)if(o.has(l))delete i[l];else throw new Error(`Key ${l} not found in enum`);return new Ow({...t,checks:[],...Ve(n),entries:i})}});function So(e,t){const o=Array.isArray(e)?Object.fromEntries(e.map(a=>[a,a])):e;return new Ow({type:"enum",entries:o,...Ve(t)})}const iH=be("ZodLiteral",(e,t)=>{IV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>kN(e,o,a),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function Ze(e,t){return new iH({type:"literal",values:Array.isArray(e)?e:[e],...Ve(t)})}const sH=be("ZodFile",(e,t)=>{LV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>CN(e,o,a),e.min=(o,a)=>e.check(M7(o,a)),e.max=(o,a)=>e.check(O7(o,a)),e.mime=(o,a)=>e.check(z7(Array.isArray(o)?o:[o],a))});function Ffe(e){return W7(sH,e)}const lH=be("ZodTransform",(e,t)=>{BV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>EN(e,o),e._zod.parse=(o,a)=>{if(a.direction==="backward")throw new WM(e.constructor.name);o.addIssue=i=>{if(typeof i=="string")o.issues.push(_p(i,o.value,t));else{const l=i;l.fatal&&(l.continue=!1),l.code??(l.code="custom"),l.input??(l.input=o.value),l.inst??(l.inst=e),o.issues.push(_p(l))}};const n=t.transform(o.value,o);return n instanceof Promise?n.then(i=>(o.value=i,o)):(o.value=n,o)}});function XN(e){return new lH({type:"transform",transform:e})}const eI=be("ZodOptional",(e,t)=>{pN.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>Ux(e,o,a,n),e.unwrap=()=>e._zod.def.innerType});function Po(e){return new eI({type:"optional",innerType:e})}const cH=be("ZodExactOptional",(e,t)=>{FV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>Ux(e,o,a,n),e.unwrap=()=>e._zod.def.innerType});function dH(e){return new cH({type:"optional",innerType:e})}const uH=be("ZodNullable",(e,t)=>{jV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>IN(e,o,a,n),e.unwrap=()=>e._zod.def.innerType});function IA(e){return new uH({type:"nullable",innerType:e})}const pH=be("ZodDefault",(e,t)=>{zV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>BN(e,o,a,n),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function mH(e,t){return new pH({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():QM(t)}})}const hH=be("ZodPrefault",(e,t)=>{UV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>FN(e,o,a,n),e.unwrap=()=>e._zod.def.innerType});function gH(e,t){return new hH({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():QM(t)}})}const tI=be("ZodNonOptional",(e,t)=>{qV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>LN(e,o,a,n),e.unwrap=()=>e._zod.def.innerType});function fH(e,t){return new tI({type:"nonoptional",innerType:e,...Ve(t)})}const vH=be("ZodCatch",(e,t)=>{$V.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>jN(e,o,a,n),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function bH(e,t){return new vH({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const yH=be("ZodPipe",(e,t)=>{VV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>zN(e,o,a,n),e.in=t.in,e.out=t.out});function Mw(e,t){return new yH({type:"pipe",in:e,out:t})}const SH=be("ZodReadonly",(e,t)=>{HV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>UN(e,o,a,n),e.unwrap=()=>e._zod.def.innerType});function wH(e){return new SH({type:"readonly",innerType:e})}const TH=be("ZodLazy",(e,t)=>{GV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>qN(e,o,a,n),e.unwrap=()=>e._zod.def.getter()});function Hr(e){return new TH({type:"lazy",getter:e})}const Vx=be("ZodCustom",(e,t)=>{WV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>PN(e,o)});function xH(e,t){return K7(Vx,e??(()=>!0),t)}function _H(e,t={}){return Y7(Vx,e,t)}function kH(e){return Z7(e)}function jfe(e,t={}){const o=new Vx({type:"custom",check:"custom",fn:a=>a instanceof e,abort:!0,...Ve(t)});return o._zod.bag.Class=e,o._zod.check=a=>{a.value instanceof e||a.issues.push({code:"invalid_type",expected:e.name,input:a.value,inst:o,path:[...o._zod.def.path??[]]})},o}function Hx(e,t){return Mw(XN(e),t)}const CH={custom:"custom"};function kv(e){return QV(HN,e)}function oI(e){return x7(qx,e)}function kp(e){return C7(KN,e)}const PH="2025-11-25",zfe=[PH,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],EH="io.modelcontextprotocol/related-task",Cv="2.0",ra=xH(e=>e!==null&&(typeof e=="object"||typeof e=="function")),aI=io([$(),Mt().int()]),nI=$();_a({ttl:Mt().optional(),pollInterval:Mt().optional()});const AH=we({ttl:Mt().optional()}),RH=we({taskId:$()}),Gx=_a({progressToken:aI.optional(),[EH]:RH.optional()}),Dn=we({_meta:Gx.optional()}),Vp=Dn.extend({task:AH.optional()}),Ufe=e=>Vp.safeParse(e).success,Ca=we({method:$(),params:Dn.loose().optional()}),tr=we({_meta:Gx.optional()}),or=we({method:$(),params:tr.loose().optional()}),Pa=_a({_meta:Gx.optional()}),Pv=io([$(),Mt().int()]),rI=we({jsonrpc:Ze(Cv),id:Pv,...Ca.shape}).strict(),qfe=e=>rI.safeParse(e).success,iI=we({jsonrpc:Ze(Cv),...or.shape}).strict(),$fe=e=>iI.safeParse(e).success,Wx=we({jsonrpc:Ze(Cv),id:Pv,result:Pa}).strict(),Vfe=e=>Wx.safeParse(e).success;var Cp;(function(e){e[e.ConnectionClosed=-32e3]="ConnectionClosed",e[e.RequestTimeout=-32001]="RequestTimeout",e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.UrlElicitationRequired=-32042]="UrlElicitationRequired"})(Cp||(Cp={}));const Kx=we({jsonrpc:Ze(Cv),id:Pv.optional(),error:we({code:Mt().int(),message:$(),data:Eo().optional()})}).strict(),Hfe=e=>Kx.safeParse(e).success,Gfe=io([rI,iI,Wx,Kx]);io([Wx,Kx]);const sI=Pa.strict(),DH=tr.extend({requestId:Pv.optional(),reason:$().optional()}),lI=or.extend({method:Ze("notifications/cancelled"),params:DH}),OH=we({src:$(),mimeType:$().optional(),sizes:je($()).optional(),theme:So(["light","dark"]).optional()}),Hp=we({icons:je(OH).optional()}),vd=we({name:$(),title:$().optional()}),cI=vd.extend({...vd.shape,...Hp.shape,version:$(),websiteUrl:$().optional(),description:$().optional()}),MH=$x(we({applyDefaults:qt().optional()}),vo($(),Eo())),NH=Hx(e=>e&&typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,$x(we({form:MH.optional(),url:ra.optional()}),vo($(),Eo()).optional())),IH=_a({list:ra.optional(),cancel:ra.optional(),requests:_a({sampling:_a({createMessage:ra.optional()}).optional(),elicitation:_a({create:ra.optional()}).optional()}).optional()}),LH=_a({list:ra.optional(),cancel:ra.optional(),requests:_a({tools:_a({call:ra.optional()}).optional()}).optional()}),BH=we({experimental:vo($(),ra).optional(),sampling:we({context:ra.optional(),tools:ra.optional()}).optional(),elicitation:NH.optional(),roots:we({listChanged:qt().optional()}).optional(),tasks:IH.optional(),extensions:vo($(),ra).optional()}),FH=Dn.extend({protocolVersion:$(),capabilities:BH,clientInfo:cI}),jH=Ca.extend({method:Ze("initialize"),params:FH}),zH=we({experimental:vo($(),ra).optional(),logging:ra.optional(),completions:ra.optional(),prompts:we({listChanged:qt().optional()}).optional(),resources:we({subscribe:qt().optional(),listChanged:qt().optional()}).optional(),tools:we({listChanged:qt().optional()}).optional(),tasks:LH.optional(),extensions:vo($(),ra).optional()}),UH=Pa.extend({protocolVersion:$(),capabilities:zH,serverInfo:cI,instructions:$().optional()}),dI=or.extend({method:Ze("notifications/initialized"),params:tr.optional()}),Wfe=e=>dI.safeParse(e).success,uI=Ca.extend({method:Ze("ping"),params:Dn.optional()}),qH=we({progress:Mt(),total:Po(Mt()),message:Po($())}),$H=we({...tr.shape,...qH.shape,progressToken:aI}),pI=or.extend({method:Ze("notifications/progress"),params:$H}),VH=Dn.extend({cursor:nI.optional()}),Gp=Ca.extend({params:VH.optional()}),Wp=Pa.extend({nextCursor:nI.optional()}),HH=So(["working","input_required","completed","failed","cancelled"]),Kp=we({taskId:$(),status:HH,ttl:io([Mt(),Z9()]),createdAt:$(),lastUpdatedAt:$(),pollInterval:Po(Mt()),statusMessage:Po($())}),mI=Pa.extend({task:Kp}),GH=tr.merge(Kp),hI=or.extend({method:Ze("notifications/tasks/status"),params:GH}),gI=Ca.extend({method:Ze("tasks/get"),params:Dn.extend({taskId:$()})}),fI=Pa.merge(Kp),vI=Ca.extend({method:Ze("tasks/result"),params:Dn.extend({taskId:$()})});Pa.loose();const bI=Gp.extend({method:Ze("tasks/list")}),yI=Wp.extend({tasks:je(Kp)}),SI=Ca.extend({method:Ze("tasks/cancel"),params:Dn.extend({taskId:$()})}),Kfe=Pa.merge(Kp),wI=we({uri:$(),mimeType:Po($()),_meta:vo($(),Eo()).optional()}),TI=wI.extend({text:$()}),Yx=$().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:"Invalid Base64 string"}),xI=wI.extend({blob:Yx}),Yp=So(["user","assistant"]),Od=we({audience:je(Yp).optional(),priority:Mt().min(0).max(1).optional(),lastModified:$N({offset:!0}).optional()}),_I=we({...vd.shape,...Hp.shape,uri:$(),description:Po($()),mimeType:Po($()),size:Po(Mt()),annotations:Od.optional(),_meta:Po(_a({}))}),WH=we({...vd.shape,...Hp.shape,uriTemplate:$(),description:Po($()),mimeType:Po($()),annotations:Od.optional(),_meta:Po(_a({}))}),KH=Gp.extend({method:Ze("resources/list")}),YH=Wp.extend({resources:je(_I)}),ZH=Gp.extend({method:Ze("resources/templates/list")}),QH=Wp.extend({resourceTemplates:je(WH)}),Zx=Dn.extend({uri:$()}),JH=Zx,XH=Ca.extend({method:Ze("resources/read"),params:JH}),eG=Pa.extend({contents:je(io([TI,xI]))}),tG=or.extend({method:Ze("notifications/resources/list_changed"),params:tr.optional()}),oG=Zx,aG=Ca.extend({method:Ze("resources/subscribe"),params:oG}),nG=Zx,rG=Ca.extend({method:Ze("resources/unsubscribe"),params:nG}),iG=tr.extend({uri:$()}),sG=or.extend({method:Ze("notifications/resources/updated"),params:iG}),lG=we({name:$(),description:Po($()),required:Po(qt())}),cG=we({...vd.shape,...Hp.shape,description:Po($()),arguments:Po(je(lG)),_meta:Po(_a({}))}),dG=Gp.extend({method:Ze("prompts/list")}),uG=Wp.extend({prompts:je(cG)}),pG=Dn.extend({name:$(),arguments:vo($(),$()).optional()}),mG=Ca.extend({method:Ze("prompts/get"),params:pG}),Qx=we({type:Ze("text"),text:$(),annotations:Od.optional(),_meta:vo($(),Eo()).optional()}),Jx=we({type:Ze("image"),data:Yx,mimeType:$(),annotations:Od.optional(),_meta:vo($(),Eo()).optional()}),Xx=we({type:Ze("audio"),data:Yx,mimeType:$(),annotations:Od.optional(),_meta:vo($(),Eo()).optional()}),hG=we({type:Ze("tool_use"),name:$(),id:$(),input:vo($(),Eo()),_meta:vo($(),Eo()).optional()}),gG=we({type:Ze("resource"),resource:io([TI,xI]),annotations:Od.optional(),_meta:vo($(),Eo()).optional()}),fG=_I.extend({type:Ze("resource_link")}),e_=io([Qx,Jx,Xx,fG,gG]),vG=we({role:Yp,content:e_}),bG=Pa.extend({description:$().optional(),messages:je(vG)}),yG=or.extend({method:Ze("notifications/prompts/list_changed"),params:tr.optional()}),SG=we({title:$().optional(),readOnlyHint:qt().optional(),destructiveHint:qt().optional(),idempotentHint:qt().optional(),openWorldHint:qt().optional()}),wG=we({taskSupport:So(["required","optional","forbidden"]).optional()}),kI=we({...vd.shape,...Hp.shape,description:$().optional(),inputSchema:we({type:Ze("object"),properties:vo($(),ra).optional(),required:je($()).optional()}).catchall(Eo()),outputSchema:we({type:Ze("object"),properties:vo($(),ra).optional(),required:je($()).optional()}).catchall(Eo()).optional(),annotations:SG.optional(),execution:wG.optional(),_meta:vo($(),Eo()).optional()}),TG=Gp.extend({method:Ze("tools/list")}),xG=Wp.extend({tools:je(kI)}),CI=Pa.extend({content:je(e_).default([]),structuredContent:vo($(),Eo()).optional(),isError:qt().optional()});CI.or(Pa.extend({toolResult:Eo()}));const _G=Vp.extend({name:$(),arguments:vo($(),Eo()).optional()}),kG=Ca.extend({method:Ze("tools/call"),params:_G}),CG=or.extend({method:Ze("notifications/tools/list_changed"),params:tr.optional()}),Yfe=we({autoRefresh:qt().default(!0),debounceMs:Mt().int().nonnegative().default(300)}),PI=So(["debug","info","notice","warning","error","critical","alert","emergency"]),PG=Dn.extend({level:PI}),EG=Ca.extend({method:Ze("logging/setLevel"),params:PG}),AG=tr.extend({level:PI,logger:$().optional(),data:Eo()}),RG=or.extend({method:Ze("notifications/message"),params:AG}),DG=we({name:$().optional()}),OG=we({hints:je(DG).optional(),costPriority:Mt().min(0).max(1).optional(),speedPriority:Mt().min(0).max(1).optional(),intelligencePriority:Mt().min(0).max(1).optional()}),MG=we({mode:So(["auto","required","none"]).optional()}),NG=we({type:Ze("tool_result"),toolUseId:$().describe("The unique identifier for the corresponding tool call."),content:je(e_).default([]),structuredContent:we({}).loose().optional(),isError:qt().optional(),_meta:vo($(),Eo()).optional()}),IG=QN("type",[Qx,Jx,Xx]),kf=QN("type",[Qx,Jx,Xx,hG,NG]),LG=we({role:Yp,content:io([kf,je(kf)]),_meta:vo($(),Eo()).optional()}),BG=Vp.extend({messages:je(LG),modelPreferences:OG.optional(),systemPrompt:$().optional(),includeContext:So(["none","thisServer","allServers"]).optional(),temperature:Mt().optional(),maxTokens:Mt().int(),stopSequences:je($()).optional(),metadata:ra.optional(),tools:je(kI).optional(),toolChoice:MG.optional()}),FG=Ca.extend({method:Ze("sampling/createMessage"),params:BG}),jG=Pa.extend({model:$(),stopReason:Po(So(["endTurn","stopSequence","maxTokens"]).or($())),role:Yp,content:IG}),zG=Pa.extend({model:$(),stopReason:Po(So(["endTurn","stopSequence","maxTokens","toolUse"]).or($())),role:Yp,content:io([kf,je(kf)])}),UG=we({type:Ze("boolean"),title:$().optional(),description:$().optional(),default:qt().optional()}),qG=we({type:Ze("string"),title:$().optional(),description:$().optional(),minLength:Mt().optional(),maxLength:Mt().optional(),format:So(["email","uri","date","date-time"]).optional(),default:$().optional()}),$G=we({type:So(["number","integer"]),title:$().optional(),description:$().optional(),minimum:Mt().optional(),maximum:Mt().optional(),default:Mt().optional()}),VG=we({type:Ze("string"),title:$().optional(),description:$().optional(),enum:je($()),default:$().optional()}),HG=we({type:Ze("string"),title:$().optional(),description:$().optional(),oneOf:je(we({const:$(),title:$()})),default:$().optional()}),GG=we({type:Ze("string"),title:$().optional(),description:$().optional(),enum:je($()),enumNames:je($()).optional(),default:$().optional()}),WG=io([VG,HG]),KG=we({type:Ze("array"),title:$().optional(),description:$().optional(),minItems:Mt().optional(),maxItems:Mt().optional(),items:we({type:Ze("string"),enum:je($())}),default:je($()).optional()}),YG=we({type:Ze("array"),title:$().optional(),description:$().optional(),minItems:Mt().optional(),maxItems:Mt().optional(),items:we({anyOf:je(we({const:$(),title:$()}))}),default:je($()).optional()}),ZG=io([KG,YG]),QG=io([GG,WG,ZG]),JG=io([QG,UG,qG,$G]),XG=Vp.extend({mode:Ze("form").optional(),message:$(),requestedSchema:we({type:Ze("object"),properties:vo($(),JG),required:je($()).optional()})}),eW=Vp.extend({mode:Ze("url"),message:$(),elicitationId:$(),url:$().url()}),tW=io([XG,eW]),oW=Ca.extend({method:Ze("elicitation/create"),params:tW}),aW=tr.extend({elicitationId:$()}),nW=or.extend({method:Ze("notifications/elicitation/complete"),params:aW}),rW=Pa.extend({action:So(["accept","decline","cancel"]),content:Hx(e=>e===null?void 0:e,vo($(),io([$(),Mt(),qt(),je($())])).optional())}),iW=we({type:Ze("ref/resource"),uri:$()}),sW=we({type:Ze("ref/prompt"),name:$()}),lW=Dn.extend({ref:io([sW,iW]),argument:we({name:$(),value:$()}),context:we({arguments:vo($(),$()).optional()}).optional()}),cW=Ca.extend({method:Ze("completion/complete"),params:lW}),dW=Pa.extend({completion:_a({values:je($()).max(100),total:Po(Mt().int()),hasMore:Po(qt())})}),uW=we({uri:$().startsWith("file://"),name:$().optional(),_meta:vo($(),Eo()).optional()}),pW=Ca.extend({method:Ze("roots/list"),params:Dn.optional()}),mW=Pa.extend({roots:je(uW)}),hW=or.extend({method:Ze("notifications/roots/list_changed"),params:tr.optional()});io([uI,jH,cW,EG,mG,dG,KH,ZH,XH,aG,rG,kG,TG,gI,vI,bI,SI]);io([lI,pI,dI,hW,hI]);io([sI,jG,zG,rW,mW,fI,yI,mI]);io([uI,FG,oW,pW,gI,vI,bI,SI]);io([lI,pI,RG,sG,tG,CG,yG,hI,nW]);io([sI,UH,dW,bG,uG,YH,QH,eG,CI,xG,fI,yI,mI]);class Ev extends Error{constructor(t,o,a){super(`MCP error ${t}: ${o}`),this.code=t,this.data=a,this.name="McpError"}static fromError(t,o,a){if(t===Cp.UrlElicitationRequired&&a){const n=a;if(n.elicitations)return new gW(n.elicitations,o)}return new Ev(t,o,a)}}class gW extends Ev{constructor(t,o=`URL elicitation${t.length>1?"s":""} required`){super(Cp.UrlElicitationRequired,o,{elicitations:t})}get elicitations(){return this.data?.elicitations??[]}}const Zfe={SELF:e=>`${e}_self`,REGISTRY:e=>`${e}_registry`,COMMUNITY_REGISTRY:e=>`${e}_community-registry`,DEV_ASSETS:e=>`${e}_dev-assets`,SITE_DIAGNOSTICS:e=>`site-diagnostics_${e}`,REPORTS:e=>`${e}_commerce-discovery`},Qfe="get_my_diagnostic",Jfe="self";function Br(e){return{is(t){return!t||!t.startsWith(e)?null:t.slice(e.length)||null},get(t){return`${e}${t}`}}}function fW(e){return{id:e.id,organization_id:e.organizationId,title:e.title,description:e.description,icon:e.icon,status:"active",created_at:new Date().toISOString(),updated_at:new Date().toISOString(),created_by:"system",updated_by:void 0,metadata:{instructions:e.instructions??null,...e.ui?{ui:e.ui}:{}},pinned:!1,connections:[]}}const EI=Br("decopilot_"),AI=EI.is,vW=EI.get,bW=Br("dev_"),Xfe=bW.get,yW="https://assets.decocache.com/decocms/fd07a578-6b1c-40f1-bc05-88a3b981695d/f7fc4ffa81aec04e37ae670c3cd4936643a7b269.png",SW="#6366f1",eve=`https://api.iconify.design/lucide:file-search.svg?color=${encodeURIComponent(SW)}`;function tve(e){return fW({id:vW(e),organizationId:e,title:"Super Agent",description:"Default agent that aggregates all organization connections",icon:yW,ui:{layout:{defaultMainView:{type:"overview"},chatDefaultOpen:!0}}})}const wW=Br("site-diagnostics_"),TW=wW.is,RI=Br("commerce-discovery_"),xW=RI.is,ove=RI.get,Hc={AUTOMATION_MANAGER:Br("studio-automation-manager_"),CONNECTION_MANAGER:Br("studio-connection-manager_"),API_KEY_MANAGER:Br("studio-api-key-manager_"),STORE_MANAGER:Br("studio-store-manager_"),USAGE_MANAGER:Br("studio-usage-manager_")},ave={AUTOMATION_MANAGER:Hc.AUTOMATION_MANAGER.get,CONNECTION_MANAGER:Hc.CONNECTION_MANAGER.get,API_KEY_MANAGER:Hc.API_KEY_MANAGER.get,STORE_MANAGER:Hc.STORE_MANAGER.get,USAGE_MANAGER:Hc.USAGE_MANAGER.get};function DI(e){return e?Object.values(Hc).some(t=>t.is(e)!==null):!1}const _W=["studio-agent-manager_","studio-task-manager_","studio-brand-manager_"],kW=_W.map(Br);function OI(e){return e?kW.some(t=>t.is(e)!==null):!1}function nve(e){const t=e.metadata?.liveAgentId;return!(typeof t=="string"&&t)&&!AI(e.id)&&!DI(e.id)&&!OI(e.id)}const CW={from({org:e,project:t}){return`${e}/${t}`},parse(e){e.startsWith("/")&&(e=e.slice(1));const[t,o]=e.split("/");if(!t||!o)throw new Error("Invalid locator");return{org:t,project:o}}},t_=A.createContext(void 0),rve=()=>A.useContext(t_),Zp=()=>{const e=A.useContext(t_);if(!e)throw new Error("useProjectContext must be used within a ProjectContextProvider");return e},ive=()=>Zp().org,sve=e=>{const t=Re.c(10),{children:o,org:a,project:n}=e;let i;t[0]!==a.id||t[1]!==n.id?(i=CW.from({org:a.id,project:n.id}),t[0]=a.id,t[1]=n.id,t[2]=i):i=t[2];const l=i;let c;t[3]!==l||t[4]!==a||t[5]!==n?(c={org:a,project:n,locator:l},t[3]=l,t[4]=a,t[5]=n,t[6]=c):c=t[6];const d=c;let p;return t[7]!==o||t[8]!==d?(p=w.jsx(t_.Provider,{value:d,children:o}),t[7]=o,t[8]=d,t[9]=p):p=t[9],p};function PW(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}const EW=e=>{switch(e){case"success":return DW;case"info":return MW;case"warning":return OW;case"error":return NW;default:return null}},AW=Array(12).fill(0),RW=({visible:e,className:t})=>ee.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},ee.createElement("div",{className:"sonner-spinner"},AW.map((o,a)=>ee.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${a}`})))),DW=ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ee.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),OW=ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},ee.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),MW=ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ee.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),NW=ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ee.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),IW=ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},ee.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),ee.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),LW=()=>{const[e,t]=ee.useState(document.hidden);return ee.useEffect(()=>{const o=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",o),()=>window.removeEventListener("visibilitychange",o)},[]),e};let Nw=1;class BW{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const o=this.subscribers.indexOf(t);this.subscribers.splice(o,1)}),this.publish=t=>{this.subscribers.forEach(o=>o(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var o;const{message:a,...n}=t,i=typeof t?.id=="number"||((o=t.id)==null?void 0:o.length)>0?t.id:Nw++,l=this.toasts.find(d=>d.id===i),c=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),l?this.toasts=this.toasts.map(d=>d.id===i?(this.publish({...d,...t,id:i,title:a}),{...d,...t,id:i,dismissible:c,title:a}):d):this.addToast({title:a,...n,dismissible:c,id:i}),i},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(o=>o({id:t,dismiss:!0})))):this.toasts.forEach(o=>{this.subscribers.forEach(a=>a({id:o.id,dismiss:!0}))}),t),this.message=(t,o)=>this.create({...o,message:t}),this.error=(t,o)=>this.create({...o,message:t,type:"error"}),this.success=(t,o)=>this.create({...o,type:"success",message:t}),this.info=(t,o)=>this.create({...o,type:"info",message:t}),this.warning=(t,o)=>this.create({...o,type:"warning",message:t}),this.loading=(t,o)=>this.create({...o,type:"loading",message:t}),this.promise=(t,o)=>{if(!o)return;let a;o.loading!==void 0&&(a=this.create({...o,promise:t,type:"loading",message:o.loading,description:typeof o.description!="function"?o.description:void 0}));const n=Promise.resolve(t instanceof Function?t():t);let i=a!==void 0,l;const c=n.then(async p=>{if(l=["resolve",p],ee.isValidElement(p))i=!1,this.create({id:a,type:"default",message:p});else if(jW(p)&&!p.ok){i=!1;const h=typeof o.error=="function"?await o.error(`HTTP error! status: ${p.status}`):o.error,f=typeof o.description=="function"?await o.description(`HTTP error! status: ${p.status}`):o.description,b=typeof h=="object"&&!ee.isValidElement(h)?h:{message:h};this.create({id:a,type:"error",description:f,...b})}else if(p instanceof Error){i=!1;const h=typeof o.error=="function"?await o.error(p):o.error,f=typeof o.description=="function"?await o.description(p):o.description,b=typeof h=="object"&&!ee.isValidElement(h)?h:{message:h};this.create({id:a,type:"error",description:f,...b})}else if(o.success!==void 0){i=!1;const h=typeof o.success=="function"?await o.success(p):o.success,f=typeof o.description=="function"?await o.description(p):o.description,b=typeof h=="object"&&!ee.isValidElement(h)?h:{message:h};this.create({id:a,type:"success",description:f,...b})}}).catch(async p=>{if(l=["reject",p],o.error!==void 0){i=!1;const m=typeof o.error=="function"?await o.error(p):o.error,h=typeof o.description=="function"?await o.description(p):o.description,v=typeof m=="object"&&!ee.isValidElement(m)?m:{message:m};this.create({id:a,type:"error",description:h,...v})}}).finally(()=>{i&&(this.dismiss(a),a=void 0),o.finally==null||o.finally.call(o)}),d=()=>new Promise((p,m)=>c.then(()=>l[0]==="reject"?m(l[1]):p(l[1])).catch(m));return typeof a!="string"&&typeof a!="number"?{unwrap:d}:Object.assign(a,{unwrap:d})},this.custom=(t,o)=>{const a=o?.id||Nw++;return this.create({jsx:t(a),id:a,...o}),a},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const ln=new BW,FW=(e,t)=>{const o=t?.id||Nw++;return ln.addToast({title:e,...t,id:o}),o},jW=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",zW=FW,UW=()=>ln.toasts,qW=()=>ln.getActiveToasts(),bd=Object.assign(zW,{success:ln.success,info:ln.info,warning:ln.warning,error:ln.error,custom:ln.custom,message:ln.message,promise:ln.promise,dismiss:ln.dismiss,loading:ln.loading},{getHistory:UW,getToasts:qW});PW("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function Nh(e){return e.label!==void 0}const $W=3,VW="24px",HW="16px",LA=4e3,GW=356,WW=14,KW=45,YW=200;function Dr(...e){return e.filter(Boolean).join(" ")}function ZW(e){const[t,o]=e.split("-"),a=[];return t&&a.push(t),o&&a.push(o),a}const QW=e=>{var t,o,a,n,i,l,c,d,p;const{invert:m,toast:h,unstyled:f,interacting:v,setHeights:b,visibleToasts:S,heights:_,index:T,toasts:x,expanded:E,removeToast:C,defaultRichColors:P,closeButton:R,style:D,cancelButtonStyle:O,actionButtonStyle:L,className:q="",descriptionClassName:B="",duration:U,position:F,gap:W,expandByDefault:ae,classNames:H,icons:K,closeButtonAriaLabel:J="Close toast"}=e,[le,Q]=ee.useState(null),[N,G]=ee.useState(null),[V,I]=ee.useState(!1),[z,X]=ee.useState(!1),[pe,he]=ee.useState(!1),[_e,qe]=ee.useState(!1),[Z,ne]=ee.useState(!1),[ve,ie]=ee.useState(0),[Te,Ce]=ee.useState(0),it=ee.useRef(h.duration||U||LA),lt=ee.useRef(null),Ge=ee.useRef(null),tt=T===0,Me=T+1<=S,De=h.type,He=h.dismissible!==!1,Y=h.className||"",oe=h.descriptionClassName||"",se=ee.useMemo(()=>_.findIndex(Qe=>Qe.toastId===h.id)||0,[_,h.id]),ke=ee.useMemo(()=>{var Qe;return(Qe=h.closeButton)!=null?Qe:R},[h.closeButton,R]),Ee=ee.useMemo(()=>h.duration||U||LA,[h.duration,U]),Ae=ee.useRef(0),Ie=ee.useRef(0),at=ee.useRef(0),rt=ee.useRef(null),[wt,At]=F.split("-"),Tt=ee.useMemo(()=>_.reduce((Qe,ht,ao)=>ao>=se?Qe:Qe+ht.height,0),[_,se]),$o=LW(),Qr=h.invert||m,nr=De==="loading";Ie.current=ee.useMemo(()=>se*W+Tt,[se,Tt]),ee.useEffect(()=>{it.current=Ee},[Ee]),ee.useEffect(()=>{I(!0)},[]),ee.useEffect(()=>{const Qe=Ge.current;if(Qe){const ht=Qe.getBoundingClientRect().height;return Ce(ht),b(ao=>[{toastId:h.id,height:ht,position:h.position},...ao]),()=>b(ao=>ao.filter(Jt=>Jt.toastId!==h.id))}},[b,h.id]),ee.useLayoutEffect(()=>{if(!V)return;const Qe=Ge.current,ht=Qe.style.height;Qe.style.height="auto";const ao=Qe.getBoundingClientRect().height;Qe.style.height=ht,Ce(ao),b(Jt=>Jt.find(Ft=>Ft.toastId===h.id)?Jt.map(Ft=>Ft.toastId===h.id?{...Ft,height:ao}:Ft):[{toastId:h.id,height:ao,position:h.position},...Jt])},[V,h.title,h.description,b,h.id,h.jsx,h.action,h.cancel]);const Xe=ee.useCallback(()=>{X(!0),ie(Ie.current),b(Qe=>Qe.filter(ht=>ht.toastId!==h.id)),setTimeout(()=>{C(h)},YW)},[h,C,b,Ie]);ee.useEffect(()=>{if(h.promise&&De==="loading"||h.duration===1/0||h.type==="loading")return;let Qe;return E||v||$o?(()=>{if(at.current<Ae.current){const Jt=new Date().getTime()-Ae.current;it.current=it.current-Jt}at.current=new Date().getTime()})():it.current!==1/0&&(Ae.current=new Date().getTime(),Qe=setTimeout(()=>{h.onAutoClose==null||h.onAutoClose.call(h,h),Xe()},it.current)),()=>clearTimeout(Qe)},[E,v,h,De,$o,Xe]),ee.useEffect(()=>{h.delete&&(Xe(),h.onDismiss==null||h.onDismiss.call(h,h))},[Xe,h.delete]);function ft(){var Qe;if(K?.loading){var ht;return ee.createElement("div",{className:Dr(H?.loader,h==null||(ht=h.classNames)==null?void 0:ht.loader,"sonner-loader"),"data-visible":De==="loading"},K.loading)}return ee.createElement(RW,{className:Dr(H?.loader,h==null||(Qe=h.classNames)==null?void 0:Qe.loader),visible:De==="loading"})}const Rt=h.icon||K?.[De]||EW(De);var dt,Bt;return ee.createElement("li",{tabIndex:0,ref:Ge,className:Dr(q,Y,H?.toast,h==null||(t=h.classNames)==null?void 0:t.toast,H?.default,H?.[De],h==null||(o=h.classNames)==null?void 0:o[De]),"data-sonner-toast":"","data-rich-colors":(dt=h.richColors)!=null?dt:P,"data-styled":!(h.jsx||h.unstyled||f),"data-mounted":V,"data-promise":!!h.promise,"data-swiped":Z,"data-removed":z,"data-visible":Me,"data-y-position":wt,"data-x-position":At,"data-index":T,"data-front":tt,"data-swiping":pe,"data-dismissible":He,"data-type":De,"data-invert":Qr,"data-swipe-out":_e,"data-swipe-direction":N,"data-expanded":!!(E||ae&&V),"data-testid":h.testId,style:{"--index":T,"--toasts-before":T,"--z-index":x.length-T,"--offset":`${z?ve:Ie.current}px`,"--initial-height":ae?"auto":`${Te}px`,...D,...h.style},onDragEnd:()=>{he(!1),Q(null),rt.current=null},onPointerDown:Qe=>{Qe.button!==2&&(nr||!He||(lt.current=new Date,ie(Ie.current),Qe.target.setPointerCapture(Qe.pointerId),Qe.target.tagName!=="BUTTON"&&(he(!0),rt.current={x:Qe.clientX,y:Qe.clientY})))},onPointerUp:()=>{var Qe,ht,ao;if(_e||!He)return;rt.current=null;const Jt=Number(((Qe=Ge.current)==null?void 0:Qe.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Aa=Number(((ht=Ge.current)==null?void 0:ht.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ft=new Date().getTime()-((ao=lt.current)==null?void 0:ao.getTime()),po=le==="x"?Jt:Aa,Nn=Math.abs(po)/Ft;if(Math.abs(po)>=KW||Nn>.11){ie(Ie.current),h.onDismiss==null||h.onDismiss.call(h,h),G(le==="x"?Jt>0?"right":"left":Aa>0?"down":"up"),Xe(),qe(!0);return}else{var ma,Ya;(ma=Ge.current)==null||ma.style.setProperty("--swipe-amount-x","0px"),(Ya=Ge.current)==null||Ya.style.setProperty("--swipe-amount-y","0px")}ne(!1),he(!1),Q(null)},onPointerMove:Qe=>{var ht,ao,Jt;if(!rt.current||!He||((ht=window.getSelection())==null?void 0:ht.toString().length)>0)return;const Ft=Qe.clientY-rt.current.y,po=Qe.clientX-rt.current.x;var Nn;const ma=(Nn=e.swipeDirections)!=null?Nn:ZW(F);!le&&(Math.abs(po)>1||Math.abs(Ft)>1)&&Q(Math.abs(po)>Math.abs(Ft)?"x":"y");let Ya={x:0,y:0};const Ul=rr=>1/(1.5+Math.abs(rr)/20);if(le==="y"){if(ma.includes("top")||ma.includes("bottom"))if(ma.includes("top")&&Ft<0||ma.includes("bottom")&&Ft>0)Ya.y=Ft;else{const rr=Ft*Ul(Ft);Ya.y=Math.abs(rr)<Math.abs(Ft)?rr:Ft}}else if(le==="x"&&(ma.includes("left")||ma.includes("right")))if(ma.includes("left")&&po<0||ma.includes("right")&&po>0)Ya.x=po;else{const rr=po*Ul(po);Ya.x=Math.abs(rr)<Math.abs(po)?rr:po}(Math.abs(Ya.x)>0||Math.abs(Ya.y)>0)&&ne(!0),(ao=Ge.current)==null||ao.style.setProperty("--swipe-amount-x",`${Ya.x}px`),(Jt=Ge.current)==null||Jt.style.setProperty("--swipe-amount-y",`${Ya.y}px`)}},ke&&!h.jsx&&De!=="loading"?ee.createElement("button",{"aria-label":J,"data-disabled":nr,"data-close-button":!0,onClick:nr||!He?()=>{}:()=>{Xe(),h.onDismiss==null||h.onDismiss.call(h,h)},className:Dr(H?.closeButton,h==null||(a=h.classNames)==null?void 0:a.closeButton)},(Bt=K?.close)!=null?Bt:IW):null,(De||h.icon||h.promise)&&h.icon!==null&&(K?.[De]!==null||h.icon)?ee.createElement("div",{"data-icon":"",className:Dr(H?.icon,h==null||(n=h.classNames)==null?void 0:n.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||ft():null,h.type!=="loading"?Rt:null):null,ee.createElement("div",{"data-content":"",className:Dr(H?.content,h==null||(i=h.classNames)==null?void 0:i.content)},ee.createElement("div",{"data-title":"",className:Dr(H?.title,h==null||(l=h.classNames)==null?void 0:l.title)},h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title),h.description?ee.createElement("div",{"data-description":"",className:Dr(B,oe,H?.description,h==null||(c=h.classNames)==null?void 0:c.description)},typeof h.description=="function"?h.description():h.description):null),ee.isValidElement(h.cancel)?h.cancel:h.cancel&&Nh(h.cancel)?ee.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||O,onClick:Qe=>{Nh(h.cancel)&&He&&(h.cancel.onClick==null||h.cancel.onClick.call(h.cancel,Qe),Xe())},className:Dr(H?.cancelButton,h==null||(d=h.classNames)==null?void 0:d.cancelButton)},h.cancel.label):null,ee.isValidElement(h.action)?h.action:h.action&&Nh(h.action)?ee.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||L,onClick:Qe=>{Nh(h.action)&&(h.action.onClick==null||h.action.onClick.call(h.action,Qe),!Qe.defaultPrevented&&Xe())},className:Dr(H?.actionButton,h==null||(p=h.classNames)==null?void 0:p.actionButton)},h.action.label):null)};function BA(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function JW(e,t){const o={};return[e,t].forEach((a,n)=>{const i=n===1,l=i?"--mobile-offset":"--offset",c=i?HW:VW;function d(p){["top","right","bottom","left"].forEach(m=>{o[`${l}-${m}`]=typeof p=="number"?`${p}px`:p})}typeof a=="number"||typeof a=="string"?d(a):typeof a=="object"?["top","right","bottom","left"].forEach(p=>{a[p]===void 0?o[`${l}-${p}`]=c:o[`${l}-${p}`]=typeof a[p]=="number"?`${a[p]}px`:a[p]}):d(c)}),o}const XW=ee.forwardRef(function(t,o){const{id:a,invert:n,position:i="bottom-right",hotkey:l=["altKey","KeyT"],expand:c,closeButton:d,className:p,offset:m,mobileOffset:h,theme:f="light",richColors:v,duration:b,style:S,visibleToasts:_=$W,toastOptions:T,dir:x=BA(),gap:E=WW,icons:C,containerAriaLabel:P="Notifications"}=t,[R,D]=ee.useState([]),O=ee.useMemo(()=>a?R.filter(V=>V.toasterId===a):R.filter(V=>!V.toasterId),[R,a]),L=ee.useMemo(()=>Array.from(new Set([i].concat(O.filter(V=>V.position).map(V=>V.position)))),[O,i]),[q,B]=ee.useState([]),[U,F]=ee.useState(!1),[W,ae]=ee.useState(!1),[H,K]=ee.useState(f!=="system"?f:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),J=ee.useRef(null),le=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),Q=ee.useRef(null),N=ee.useRef(!1),G=ee.useCallback(V=>{D(I=>{var z;return(z=I.find(X=>X.id===V.id))!=null&&z.delete||ln.dismiss(V.id),I.filter(({id:X})=>X!==V.id)})},[]);return ee.useEffect(()=>ln.subscribe(V=>{if(V.dismiss){requestAnimationFrame(()=>{D(I=>I.map(z=>z.id===V.id?{...z,delete:!0}:z))});return}setTimeout(()=>{CM.flushSync(()=>{D(I=>{const z=I.findIndex(X=>X.id===V.id);return z!==-1?[...I.slice(0,z),{...I[z],...V},...I.slice(z+1)]:[V,...I]})})})}),[R]),ee.useEffect(()=>{if(f!=="system"){K(f);return}if(f==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?K("dark"):K("light")),typeof window>"u")return;const V=window.matchMedia("(prefers-color-scheme: dark)");try{V.addEventListener("change",({matches:I})=>{K(I?"dark":"light")})}catch{V.addListener(({matches:z})=>{try{K(z?"dark":"light")}catch(X){console.error(X)}})}},[f]),ee.useEffect(()=>{R.length<=1&&F(!1)},[R]),ee.useEffect(()=>{const V=I=>{var z;if(l.every(he=>I[he]||I.code===he)){var pe;F(!0),(pe=J.current)==null||pe.focus()}I.code==="Escape"&&(document.activeElement===J.current||(z=J.current)!=null&&z.contains(document.activeElement))&&F(!1)};return document.addEventListener("keydown",V),()=>document.removeEventListener("keydown",V)},[l]),ee.useEffect(()=>{if(J.current)return()=>{Q.current&&(Q.current.focus({preventScroll:!0}),Q.current=null,N.current=!1)}},[J.current]),ee.createElement("section",{ref:o,"aria-label":`${P} ${le}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},L.map((V,I)=>{var z;const[X,pe]=V.split("-");return O.length?ee.createElement("ol",{key:V,dir:x==="auto"?BA():x,tabIndex:-1,ref:J,className:p,"data-sonner-toaster":!0,"data-sonner-theme":H,"data-y-position":X,"data-x-position":pe,style:{"--front-toast-height":`${((z=q[0])==null?void 0:z.height)||0}px`,"--width":`${GW}px`,"--gap":`${E}px`,...S,...JW(m,h)},onBlur:he=>{N.current&&!he.currentTarget.contains(he.relatedTarget)&&(N.current=!1,Q.current&&(Q.current.focus({preventScroll:!0}),Q.current=null))},onFocus:he=>{he.target instanceof HTMLElement&&he.target.dataset.dismissible==="false"||N.current||(N.current=!0,Q.current=he.relatedTarget)},onMouseEnter:()=>F(!0),onMouseMove:()=>F(!0),onMouseLeave:()=>{W||F(!1)},onDragEnd:()=>F(!1),onPointerDown:he=>{he.target instanceof HTMLElement&&he.target.dataset.dismissible==="false"||ae(!0)},onPointerUp:()=>ae(!1)},O.filter(he=>!he.position&&I===0||he.position===V).map((he,_e)=>{var qe,Z;return ee.createElement(QW,{key:he.id,icons:C,index:_e,toast:he,defaultRichColors:v,duration:(qe=T?.duration)!=null?qe:b,className:T?.className,descriptionClassName:T?.descriptionClassName,invert:n,visibleToasts:_,closeButton:(Z=T?.closeButton)!=null?Z:d,interacting:W,position:V,style:T?.style,unstyled:T?.unstyled,classNames:T?.classNames,cancelButtonStyle:T?.cancelButtonStyle,actionButtonStyle:T?.actionButtonStyle,closeButtonAriaLabel:T?.closeButtonAriaLabel,removeToast:G,toasts:O.filter(ne=>ne.position==he.position),heights:q.filter(ne=>ne.position==he.position),setHeights:B,expandByDefault:c,gap:E,expanded:U,swipeDirections:t.swipeDirections})})):null}))}),On={registryApp:(e,t)=>["registry-app",e,t],publicConfig:()=>["publicConfig"],appVersionCheck:()=>["appVersionCheck"],organizations:()=>["organizations"],members:e=>[e,"members"],mentionMembers:e=>[e,"mention-members"],invitations:e=>[e,"invitations"],organizationRoles:e=>[e,"organization-roles"],myCapabilities:e=>[e,"my-capabilities"],taskBoardItems:e=>[e,"task-board-items"],taskBoardItemPrs:(e,t)=>[e,"task-board-item-prs",t],previewProbe:(e,t)=>[e,"preview-probe",t],taskBoardActivity:(e,t)=>[e,"task-board-activity",t],taskBoardAdminOrgs:e=>[e,"task-board-admin-orgs"],taskBoardAnalytics:(e,t,o,a,n,i)=>[e,"task-board-analytics",t,o,a,n,i],taskBoardOperationTasks:(e,t,o,a,n,i)=>[e,"task-board-analytics","TASK_BOARD_OPERATION_TASKS",t,o,a,n,i],threadAnalyticsOrgs:e=>[e,"thread-analytics-orgs"],threadAnalytics:(e,t,o,a)=>[e,"thread-analytics",t,o,a],notifications:e=>[e,"notifications"],notificationSubscribers:(e,t)=>[e,"notification-subscribers",t],taskBoardComments:(e,t)=>[e,"task-board-comments",t],report:(e,t)=>["report",e,t??""],reportAll:e=>["report",e],reportsConnection:(e,t)=>["reports","connection",e,t],reportsDiagnostic:(e,t)=>["reports","diagnostic",e,t],reportsVirtualMcp:(e,t)=>["reports","virtual-mcp",e,t],reportsCompanionSchema:(e,t)=>["reports","companion-schema",e,t],reportsCompanionConnections:(e,t)=>["reports","companion-connections",e,t],reportsCompanionConnectionsPrefix:e=>["reports","companion-connections",e],reportsCompanionRegistry:(e,t)=>["reports","companion-registry",e,t],reportsCompanionOAuthStatus:(e,t)=>["reports","companion-oauth-status",e,t],reportsCompanionGaProperties:(e,t)=>["reports","companion-ga-properties",e,t],reportsCompanionGscSites:(e,t)=>["reports","companion-gsc-sites",e,t],reportsCompanionGithubRepos:(e,t,o)=>["reports","companion-github-repos",e,t,o],reportsCompanionGithubSelected:(e,t)=>["reports","companion-github-selected",e,t],reportsConnectionStatus:(e,t)=>["reports","connection-status",e,t],connectionActivity:(e,t,o)=>["monitoring","activity",e,t,o],connectionActivityErrors:(e,t,o)=>["monitoring","activity","errors",e,t,o],isMCPAuthenticated:(e,t)=>["is-mcp-authenticated",e,t],mcpClient:(e,t,o,a)=>["mcp","client",e,t,o,a],mcpToolsList:e=>["mcp","client",e,"tools"],mcpResourcesList:e=>["mcp","client",e,"resources"],mcpPromptsList:e=>["mcp","client",e,"prompts"],mcpReadResource:(e,t)=>["mcp","client",e,"resource",t],mcpUiResourceHtml:(e,t,o)=>["mcp","ui-resource-html",e,t,o],mcpToolCall:(e,t,o)=>["mcp","client",e,"tool-call",t,o],mcpClientPrefix:()=>["mcp","client"],agentEntryThreads:(e,t,o)=>["agent-entry-threads",e,t,o],virtualMcpLastUsed:(e,t)=>["virtual-mcp","last-used",e,t],optimisticProjectSidebarViews:(e,t)=>["virtual-mcp","optimistic-sidebar-views",e,t],githubPrState:(e,t,o,a,n)=>["github-pr-state",e,t,o,a,n],githubLastPublishedPr:(e,t,o,a,n)=>["github-last-published-pr",e,t,o,a,n],githubOpenPrs:(e,t,o,a)=>["github-open-prs",e,t,o,a],githubBranchSearch:(e,t,o,a,n,i)=>["github-branch-search",e,t,o,a,n,i],organizationSettings:e=>["organization-settings",e],infraBillingSites:e=>["infra-billing-sites",e],orgHasSite:e=>["org-has-site",e],infraBilling:(e,t,o)=>["infra-billing",e,t,o],userModelPreferences:e=>["user-model-preferences",e],projectSidebar:e=>["project-sidebar",e],apiKeysList:e=>["api-keys",e],activeOrganization:e=>["activeOrganization",e],orgAccessStatus:e=>["org-access-status",e],homeNextActions:e=>["home-next-actions",e],projectSearch:(e,t)=>["project-search",e,t],toolCall:(e,t,o)=>["tool-call",e,t,o],collection:(e,t,o)=>[e,t,"collection",o],collectionItem:(e,t,o,a,n)=>[e,t,o,"collection",a,n],collectionList:(e,t,o,a,n)=>[e,t,o,"collection",a,"list",n],collectionListInfinite:(e,t,o,a,n)=>[e,t,o,"collection",a,"list-infinite",n],monitoringStatsToolCalls:(e,t)=>["MONITORING_STATS",e,"tool-calls",t],monitoringStatsLlm:(e,t)=>["MONITORING_STATS",e,"llm",t],monitoringHeatmap:(e,t)=>["MONITORING_HEATMAP",e,t],monitoringThreadUsage:(e,t)=>["MONITORING_THREAD_USAGE",e,t],monitoringLogsInfinite:(e,t)=>["monitoring","logs-infinite",e,t],monitoringLogDetail:e=>["monitoring","log-detail",e],ensureTask:(e,t)=>["ensure-task",e,t],viewedThreadMetadataRefresh:(e,t)=>["viewed-thread-metadata-refresh",e,t],globalSearch:(e,t,o,a)=>["global-search",e,t,o,a?[...a].sort():null],threadsInfinite:(e,t)=>["threads","list-infinite",e,t],threadMessages:(e,t)=>["threads","messages",e,t],threadOutputs:e=>["thread-outputs",e],fileText:e=>["file-text",e],csvThumb:e=>["csv-thumb",e],toolDefinitionLookup:(e,t,o)=>["virtual-mcp",t,e??"default","tools","lookup",o],virtualMcpPrompts:(e,t)=>["virtual-mcp",t,e??"default","prompts"],virtualMcpResources:(e,t)=>["virtual-mcp",t,e??"default","resources"],suggestionItems:(e,t,o)=>[...e,t,o],user:e=>["user",e],tags:e=>[e,"tags"],experiments:(e,t)=>[e,"experiments",t],experimentResults:(e,t,o)=>[e,"experiments",t,o,"results"],memberTags:(e,t)=>[e,"member-tags",t],taskBoardPrompts:e=>["task-board-prompts",e],taskBoardSprints:e=>["task-board-sprints",e],automationsAll:e=>["automations",e],automations:(e,t)=>["automations",e,t??null],automation:(e,t)=>["automation",e,t],automationRuns:(e,t,o)=>["automation-runs",e,t,...[...o??[]].sort()],automationRunStats:(e,t,o)=>["automation-run-stats",e,t,o],projectConnectionDetails:(e,t)=>["project-connections",e,"details",t],aiProviders:e=>["ai-providers",e],aiProviderModels:(e,t)=>["ai-provider-models",e,t],aiProviderKeys:e=>["ai-provider-keys",e],codexSubscription:(e,t)=>["codex-subscription",e,t],claudeSubscription:e=>["claude-subscription",e],githubCopilot:e=>["github-copilot",e],aiProviderKeyPreview:e=>["ai-provider-key-preview",e],secrets:e=>["secrets",e],fileConfigs:e=>["file-configs",e],orgFsVolume:(e,t)=>["org-fs",e,t],orgFsList:(e,t,o)=>["org-fs",e,t,"list",o],orgFsVolumeFiles:(e,t)=>["org-fs",e,t,"files"],orgFsStat:(e,t,o)=>["org-fs",e,t,"stat",o],orgFsText:(e,t,o,a)=>["org-fs",e,t,"text",o,a],orgFsPublicSets:e=>["org-fs-public-sets",e],projectFolderEnsure:(e,t,o)=>["project-folder-ensure",e,t,o],userAvatars:()=>["user-avatars"],orgRepoSyncs:e=>["org-repo-syncs",e],gitProviderCapabilities:e=>["git-provider-capabilities",e],githubConnectFlow:(e,t)=>["github-connect-flow",e,t],githubConnectRepositories:(e,t,o,a)=>["github-connect-repositories",e,t,o,a],gitAccounts:e=>["git-accounts",e],repositories:(e,t)=>t?["repositories",e,t]:["repositories",e],providerRepoSearch:(e,t,o)=>["provider-repo-search-pages",e,t,o],jiraIntegration:e=>["jira-integration",e],jiraBoards:(e,t)=>["jira-boards",e,t],jiraBoardColumns:(e,t)=>["jira-board-columns",e,t],jiraAutomations:e=>["jira-automations",e],orgFsRecent:e=>["org-fs-recent",e],orgFsSearchRoot:e=>["org-fs-search",e],orgFsSearch:(e,t,o,a)=>["org-fs-search",e,t,o,a],orgFsSkills:e=>["org-fs-skills",e],slashSkills:e=>["slash-skills",e],filePickerObjects:(e,t,o,a)=>["file-picker-objects",e,t,o??"",a??!1],filePickerObjectsByConfig:(e,t)=>["file-picker-objects",e,t],aiPlanEntitlements:e=>["ai-plan-entitlements",e],aiPlanCatalog:e=>["ai-plan-catalog",e],checkoutReturnPoll:e=>["checkout-return-poll",e],aiPlanPrices:()=>["ai-plan-prices"],orgBillingAccount:e=>["org-billing-account",e],aiProviderCredits:(e,t)=>["ai-provider-credits",e,t],orgSsoConfig:e=>["org-sso-config",e],orgSsoStatus:e=>["org-sso-status",e],orgNotice:e=>["org-notice",e],storeDiscovery:(e,t)=>["store-discovery",e,t],organizationDomains:e=>["organization-domains",e],organizationJoinRequests:e=>["organization-join-requests",e],domainLookup:e=>["domain-lookup",e],deploymentAdminMe:()=>["deployment-admin","me"],deploymentAdminUsers:e=>["deployment-admin","users",e],deploymentAdminOrgs:e=>["deployment-admin","orgs",e],deploymentAdminOrgsList:()=>["deployment-admin","orgs"],deploymentAdminPrompts:()=>["deployment-admin","prompts"],deploymentAdminOrgFlags:e=>["deployment-admin","orgs",e,"flags"],deploymentAdminOrgNotice:e=>["deployment-admin","orgs",e,"notice"],deploymentAdminOrgSites:e=>["deployment-admin","orgs",e,"sites"],deploymentAdminOrgProjects:e=>["deployment-admin","orgs",e,"projects"],decoSites:e=>["deco-sites",e],hostingAccess:(e,t)=>["hosting",e,t,"access"],hostingDeployments:(e,t)=>["hosting",e,t,"deployments"],hostingDeploymentHistory:(e,t)=>["hosting",e,t,"deployment-history"],hostingBuildLogs:(e,t,o,a)=>["hosting",e,t,"build-logs",o,a],hostingEnv:(e,t)=>["hosting",e,t,"env"],hostingRedirects:(e,t)=>["hosting",e,t,"redirects"],hostingDomains:(e,t)=>["hosting",e,t,"domains"],hostingSecrets:(e,t)=>["hosting",e,t,"secrets"],e2eRuns:(e,t)=>["hosting",e,t,"e2e-runs"],e2eChecks:(e,t)=>["hosting",e,t,"e2e-checks"],e2eTypes:(e,t)=>["hosting",e,t,"e2e-types"],e2eRun:(e,t,o)=>["hosting",e,t,"e2e-run",o],analyticsStatus:(e,t)=>["hosting",e,t,"analytics-status"],analyticsData:(e,t,o,a)=>["hosting",e,t,"analytics-data",o,a],cdnData:(e,t,o)=>["monitor",e,"cdn-data",t,o],siteMonitorData:(e,t,o)=>["monitor",e,"site-data",t,o],orderMonitor:e=>["order-monitor",e],orderMonitorStores:e=>["order-monitor",e,"stores"],orderMonitorDay:(e,t,o)=>["order-monitor",e,"day",t,o],orderMonitorPushes:(e,t,o,a)=>["order-monitor",e,"pushes",t,o,a],editorResolve:e=>["editor-resolve",e],webSearchBlob:e=>["web-search-blob",e],decofile:e=>["decofile",e],decofileDraft:e=>["decofile-draft",e],liveMeta:(...e)=>["live-meta",...e],contentBackend:(...e)=>["content-backend",...e],localAppReachable:e=>["local-app-reachable",e],contentRevision:e=>["content-revision",e],contentVersions:e=>["content-versions",e],contentChanges:e=>["content-changes",e],conflictAuthor:(e,t,o)=>["conflict-author",e,t,o],contentChangeSides:(e,t)=>["content-changes",e,"sides",t],protocolDraftRead:(e,t,o)=>["protocol-draft-read",e,t,o],mainSchemaV8:(e,t)=>["main-schema-v8",e,t],hostedReleases:(e,t)=>["hosted-releases",e,t],hostedReapplyCheck:(e,t,o,a)=>["hosted-releases",e,t,"reapply-check",o,a],hostedSiteTokens:(e,t)=>["hosted-site-tokens",e,t],sandboxInvoke:(e,t)=>["sandbox-invoke",e,t],sandboxSprite:e=>["sandbox-sprite",e]};function lve(e,t){e.invalidateQueries({predicate:o=>{const a=o.queryKey;return(!t||a[1]===t)&&a[3]==="collection"&&a[4]==="VIRTUAL_MCP"}})}const MI={itemCreatedSuccessfully:"Item created successfully",itemUpdatedSuccessfully:"Item updated successfully",itemDeletedSuccessfully:"Item deleted successfully",createItemFailed:"Failed to create item: {error}",updateItemFailed:"Failed to update item: {error}",deleteItemFailed:"Failed to delete item: {error}"};function eK(e){Object.assign(MI,e)}function Pc(e,t){const o=MI[e];return typeof o=="function"?o(t??{}):typeof o=="string"&&t?o.replace(/\{(\w+)\}/g,(a,n)=>String(t[n]??"")):o??e}function tK(e,t,o){const a=[];if(e?.trim()){const n=e.trim(),i=o.map(l=>({field:[String(l)],operator:"contains",value:n}));i.length===1&&i[0]?a.push(i[0]):i.length>1&&a.push({operator:"or",conditions:i})}if(t&&t.length>0)for(const n of t)a.push({field:[n.column],operator:"eq",value:n.value});if(a.length!==0)return a.length===1?a[0]:{operator:"and",conditions:a}}function oK(e,t,o){const a=e??o,n=t??"desc";return[{field:[String(a)],direction:n}]}function _l(e){if(!e||typeof e!="object")throw new Error("Invalid result");if("isError"in e&&e.isError)throw new Error("content"in e&&Array.isArray(e.content)&&e.content[0]?.type==="text"?e.content[0].text:"Unknown error");if("structuredContent"in e)return e.structuredContent;throw new Error("No structured content found")}function aK(e,t,o,a){const n=t.toUpperCase(),i=`COLLECTION_${n}_GET`;return{queryKey:On.collectionItem(a,e,"",n,o??""),queryFn:async()=>{if(!o||!a)return{item:null};const l=await a.callTool({name:i,arguments:{id:o}});return _l(l)},staleTime:6e4}}function cve(e,t,o,a){const n=Re.c(5);let i;n[0]!==a||n[1]!==t||n[2]!==o||n[3]!==e?(i=aK(e,t,o,a),n[0]=a,n[1]=t,n[2]=o,n[3]=e,n[4]=i):i=n[4];const{data:l}=Nl(i);return l?.item??null}const nK={structuredContent:{items:[]},isError:!1};function NI(e,t,o,a={}){const{searchTerm:n,filters:i,sortKey:l,sortDirection:c,searchFields:d=["title","description"],defaultSortKey:p="updated_at",pageSize:m=100,additionalToolArgs:h}=a,f=t.toUpperCase(),v=`COLLECTION_${f}_LIST`,b=tK(n,i,d),S=oK(l,c,p),_={...b&&{where:b},...S&&{orderBy:S},limit:m,offset:0,...h},T=JSON.stringify(_);return{queryKey:On.collectionList(o,e,"",f,T),queryFn:async()=>{if(!o)return nK;const E=await o.callTool({name:v,arguments:_});return _l(E),E},staleTime:3e4,retry:!1,select:E=>_l(E??{})?.items??[]}}function dve(e,t,o,a={}){return{...NI(e,t,o,a),select:i=>{const l=_l(i??{});return{items:l?.items??[],totalCount:l?.totalCount,hasMore:l?.hasMore}}}}function uve(e,t,o,a){const n=Re.c(7);let i;n[0]!==a?(i=a===void 0?{}:a,n[0]=a,n[1]=i):i=n[1];const l=i;let c;n[2]!==o||n[3]!==t||n[4]!==l||n[5]!==e?(c=NI(e,t,o,l),n[2]=o,n[3]=t,n[4]=l,n[5]=e,n[6]=c):c=n[6];const{data:d}=Nl(c);return d}function rK(e,t,o){const a=o.toUpperCase();e.invalidateQueries({predicate:n=>{const i=n.queryKey;return i[1]===t&&i[3]==="collection"&&i[4]===a}})}function pve(e,t,o,a){const n=Re.c(50);let i;n[0]!==a?(i=a===void 0?{}:a,n[0]=a,n[1]=i):i=n[1];const l=i;let c;n[2]!==l.silent?(c=l.silent?{success:cK,error:lK}:{success:sK,error:iK},n[2]=l.silent,n[3]=c):c=n[3];const d=c,p=vv();let m;n[4]!==t?(m=t.toUpperCase(),n[4]=t,n[5]=m):m=n[5];const h=m,f=`COLLECTION_${h}_CREATE`,v=`COLLECTION_${h}_UPDATE`,b=`COLLECTION_${h}_DELETE`;let S;n[6]!==t||n[7]!==p||n[8]!==e?(S=()=>rK(p,e,t),n[6]=t,n[7]=p,n[8]=e,n[9]=S):S=n[9];const _=S;let T;n[10]!==o||n[11]!==f?(T=async K=>{const J=await o.callTool({name:f,arguments:{data:K}});if(J.isError)throw new Error(Array.isArray(J.content)?J.content[0]?.text:String(J.content));return _l(J).item},n[10]=o,n[11]=f,n[12]=T):T=n[12];let x;n[13]!==_||n[14]!==d?(x=()=>{_(),d.success(Pc("itemCreatedSuccessfully"))},n[13]=_,n[14]=d,n[15]=x):x=n[15];let E;n[16]!==d?(E=K=>{const J=K instanceof Error?K.message:String(K);d.error(Pc("createItemFailed",{error:J}))},n[16]=d,n[17]=E):E=n[17];let C;n[18]!==T||n[19]!==x||n[20]!==E?(C={mutationFn:T,onSuccess:x,onError:E},n[18]=T,n[19]=x,n[20]=E,n[21]=C):C=n[21];const P=sp(C);let R;n[22]!==o||n[23]!==v?(R=async K=>{const{id:J,data:le}=K,Q=await o.callTool({name:v,arguments:{id:J,data:le}});return _l(Q).item},n[22]=o,n[23]=v,n[24]=R):R=n[24];let D;n[25]!==_||n[26]!==d?(D=()=>{_(),d.success(Pc("itemUpdatedSuccessfully"))},n[25]=_,n[26]=d,n[27]=D):D=n[27];let O;n[28]!==d?(O=K=>{const J=K instanceof Error?K.message:String(K);d.error(Pc("updateItemFailed",{error:J}))},n[28]=d,n[29]=O):O=n[29];let L;n[30]!==D||n[31]!==O||n[32]!==R?(L={mutationFn:R,onSuccess:D,onError:O},n[30]=D,n[31]=O,n[32]=R,n[33]=L):L=n[33];const q=sp(L);let B;n[34]!==o||n[35]!==b?(B=async K=>{const J=await o.callTool({name:b,arguments:{id:K}});return _l(J).item.id},n[34]=o,n[35]=b,n[36]=B):B=n[36];let U;n[37]!==_||n[38]!==d?(U=()=>{_(),d.success(Pc("itemDeletedSuccessfully"))},n[37]=_,n[38]=d,n[39]=U):U=n[39];let F;n[40]!==d?(F=K=>{const J=K instanceof Error?K.message:String(K);d.error(Pc("deleteItemFailed",{error:J}))},n[40]=d,n[41]=F):F=n[41];let W;n[42]!==B||n[43]!==U||n[44]!==F?(W={mutationFn:B,onSuccess:U,onError:F},n[42]=B,n[43]=U,n[44]=F,n[45]=W):W=n[45];const ae=sp(W);let H;return n[46]!==P||n[47]!==ae||n[48]!==q?(H={create:P,update:q,delete:ae},n[46]=P,n[47]=ae,n[48]=q,n[49]=H):H=n[49],H}function iK(e){return bd.error(e)}function sK(e){return bd.success(e)}function lK(){}function cK(){}new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");var Ih={exports:{}},jS={},fi={},rl={},zS={},US={},qS={},FA;function Cf(){return FA||(FA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class o extends t{constructor(x){if(super(),!e.IDENTIFIER.test(x))throw new Error("CodeGen: name must be a valid identifier");this.str=x}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=o;class a extends t{constructor(x){super(),this._items=typeof x=="string"?[x]:x}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const x=this._items[0];return x===""||x==='""'}get str(){var x;return(x=this._str)!==null&&x!==void 0?x:this._str=this._items.reduce((E,C)=>`${E}${C}`,"")}get names(){var x;return(x=this._names)!==null&&x!==void 0?x:this._names=this._items.reduce((E,C)=>(C instanceof o&&(E[C.str]=(E[C.str]||0)+1),E),{})}}e._Code=a,e.nil=new a("");function n(T,...x){const E=[T[0]];let C=0;for(;C<x.length;)c(E,x[C]),E.push(T[++C]);return new a(E)}e._=n;const i=new a("+");function l(T,...x){const E=[v(T[0])];let C=0;for(;C<x.length;)E.push(i),c(E,x[C]),E.push(i,v(T[++C]));return d(E),new a(E)}e.str=l;function c(T,x){x instanceof a?T.push(...x._items):x instanceof o?T.push(x):T.push(h(x))}e.addCodeArg=c;function d(T){let x=1;for(;x<T.length-1;){if(T[x]===i){const E=p(T[x-1],T[x+1]);if(E!==void 0){T.splice(x-1,3,E);continue}T[x++]="+"}x++}}function p(T,x){if(x==='""')return T;if(T==='""')return x;if(typeof T=="string")return x instanceof o||T[T.length-1]!=='"'?void 0:typeof x!="string"?`${T.slice(0,-1)}${x}"`:x[0]==='"'?T.slice(0,-1)+x.slice(1):void 0;if(typeof x=="string"&&x[0]==='"'&&!(T instanceof o))return`"${T}${x.slice(1)}`}function m(T,x){return x.emptyStr()?T:T.emptyStr()?x:l`${T}${x}`}e.strConcat=m;function h(T){return typeof T=="number"||typeof T=="boolean"||T===null?T:v(Array.isArray(T)?T.join(","):T)}function f(T){return new a(v(T))}e.stringify=f;function v(T){return JSON.stringify(T).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=v;function b(T){return typeof T=="string"&&e.IDENTIFIER.test(T)?new a(`.${T}`):n`[${T}]`}e.getProperty=b;function S(T){if(typeof T=="string"&&e.IDENTIFIER.test(T))return new a(`${T}`);throw new Error(`CodeGen: invalid export name: ${T}, use explicit $id name mapping`)}e.getEsmExportName=S;function _(T){return new a(T.toString())}e.regexpCode=_})(qS)),qS}var $S={},jA;function zA(){return jA||(jA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=Cf();class o extends Error{constructor(p){super(`CodeGen: "code" for ${p} not defined`),this.value=p.value}}var a;(function(d){d[d.Started=0]="Started",d[d.Completed=1]="Completed"})(a||(e.UsedValueState=a={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class n{constructor({prefixes:p,parent:m}={}){this._names={},this._prefixes=p,this._parent=m}toName(p){return p instanceof t.Name?p:this.name(p)}name(p){return new t.Name(this._newName(p))}_newName(p){const m=this._names[p]||this._nameGroup(p);return`${p}${m.index++}`}_nameGroup(p){var m,h;if(!((h=(m=this._parent)===null||m===void 0?void 0:m._prefixes)===null||h===void 0)&&h.has(p)||this._prefixes&&!this._prefixes.has(p))throw new Error(`CodeGen: prefix "${p}" is not allowed in this scope`);return this._names[p]={prefix:p,index:0}}}e.Scope=n;class i extends t.Name{constructor(p,m){super(m),this.prefix=p}setValue(p,{property:m,itemIndex:h}){this.value=p,this.scopePath=(0,t._)`.${new t.Name(m)}[${h}]`}}e.ValueScopeName=i;const l=(0,t._)`\n`;class c extends n{constructor(p){super(p),this._values={},this._scope=p.scope,this.opts={...p,_n:p.lines?l:t.nil}}get(){return this._scope}name(p){return new i(p,this._newName(p))}value(p,m){var h;if(m.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const f=this.toName(p),{prefix:v}=f,b=(h=m.key)!==null&&h!==void 0?h:m.ref;let S=this._values[v];if(S){const x=S.get(b);if(x)return x}else S=this._values[v]=new Map;S.set(b,f);const _=this._scope[v]||(this._scope[v]=[]),T=_.length;return _[T]=m.ref,f.setValue(m,{property:v,itemIndex:T}),f}getValue(p,m){const h=this._values[p];if(h)return h.get(m)}scopeRefs(p,m=this._values){return this._reduceValues(m,h=>{if(h.scopePath===void 0)throw new Error(`CodeGen: name "${h}" has no value`);return(0,t._)`${p}${h.scopePath}`})}scopeCode(p=this._values,m,h){return this._reduceValues(p,f=>{if(f.value===void 0)throw new Error(`CodeGen: name "${f}" has no value`);return f.value.code},m,h)}_reduceValues(p,m,h={},f){let v=t.nil;for(const b in p){const S=p[b];if(!S)continue;const _=h[b]=h[b]||new Map;S.forEach(T=>{if(_.has(T))return;_.set(T,a.Started);let x=m(T);if(x){const E=this.opts.es5?e.varKinds.var:e.varKinds.const;v=(0,t._)`${v}${E} ${T} = ${x};${this.opts._n}`}else if(x=f?.(T))v=(0,t._)`${v}${x}${this.opts._n}`;else throw new o(T);_.set(T,a.Completed)})}return v}}e.ValueScope=c})($S)),$S}var UA;function yt(){return UA||(UA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=Cf(),o=zA();var a=Cf();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return a._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return a.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return a.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return a.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return a.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return a.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return a.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return a.Name}});var n=zA();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return n.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return n.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return n.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return n.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class i{optimizeNodes(){return this}optimizeNames(I,z){return this}}class l extends i{constructor(I,z,X){super(),this.varKind=I,this.name=z,this.rhs=X}render({es5:I,_n:z}){const X=I?o.varKinds.var:this.varKind,pe=this.rhs===void 0?"":` = ${this.rhs}`;return`${X} ${this.name}${pe};`+z}optimizeNames(I,z){if(I[this.name.str])return this.rhs&&(this.rhs=W(this.rhs,I,z)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class c extends i{constructor(I,z,X){super(),this.lhs=I,this.rhs=z,this.sideEffects=X}render({_n:I}){return`${this.lhs} = ${this.rhs};`+I}optimizeNames(I,z){if(!(this.lhs instanceof t.Name&&!I[this.lhs.str]&&!this.sideEffects))return this.rhs=W(this.rhs,I,z),this}get names(){const I=this.lhs instanceof t.Name?{}:{...this.lhs.names};return F(I,this.rhs)}}class d extends c{constructor(I,z,X,pe){super(I,X,pe),this.op=z}render({_n:I}){return`${this.lhs} ${this.op}= ${this.rhs};`+I}}class p extends i{constructor(I){super(),this.label=I,this.names={}}render({_n:I}){return`${this.label}:`+I}}class m extends i{constructor(I){super(),this.label=I,this.names={}}render({_n:I}){return`break${this.label?` ${this.label}`:""};`+I}}class h extends i{constructor(I){super(),this.error=I}render({_n:I}){return`throw ${this.error};`+I}get names(){return this.error.names}}class f extends i{constructor(I){super(),this.code=I}render({_n:I}){return`${this.code};`+I}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(I,z){return this.code=W(this.code,I,z),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class v extends i{constructor(I=[]){super(),this.nodes=I}render(I){return this.nodes.reduce((z,X)=>z+X.render(I),"")}optimizeNodes(){const{nodes:I}=this;let z=I.length;for(;z--;){const X=I[z].optimizeNodes();Array.isArray(X)?I.splice(z,1,...X):X?I[z]=X:I.splice(z,1)}return I.length>0?this:void 0}optimizeNames(I,z){const{nodes:X}=this;let pe=X.length;for(;pe--;){const he=X[pe];he.optimizeNames(I,z)||(ae(I,he.names),X.splice(pe,1))}return X.length>0?this:void 0}get names(){return this.nodes.reduce((I,z)=>U(I,z.names),{})}}class b extends v{render(I){return"{"+I._n+super.render(I)+"}"+I._n}}class S extends v{}class _ extends b{}_.kind="else";class T extends b{constructor(I,z){super(z),this.condition=I}render(I){let z=`if(${this.condition})`+super.render(I);return this.else&&(z+="else "+this.else.render(I)),z}optimizeNodes(){super.optimizeNodes();const I=this.condition;if(I===!0)return this.nodes;let z=this.else;if(z){const X=z.optimizeNodes();z=this.else=Array.isArray(X)?new _(X):X}if(z)return I===!1?z instanceof T?z:z.nodes:this.nodes.length?this:new T(H(I),z instanceof T?[z]:z.nodes);if(!(I===!1||!this.nodes.length))return this}optimizeNames(I,z){var X;if(this.else=(X=this.else)===null||X===void 0?void 0:X.optimizeNames(I,z),!!(super.optimizeNames(I,z)||this.else))return this.condition=W(this.condition,I,z),this}get names(){const I=super.names;return F(I,this.condition),this.else&&U(I,this.else.names),I}}T.kind="if";class x extends b{}x.kind="for";class E extends x{constructor(I){super(),this.iteration=I}render(I){return`for(${this.iteration})`+super.render(I)}optimizeNames(I,z){if(super.optimizeNames(I,z))return this.iteration=W(this.iteration,I,z),this}get names(){return U(super.names,this.iteration.names)}}class C extends x{constructor(I,z,X,pe){super(),this.varKind=I,this.name=z,this.from=X,this.to=pe}render(I){const z=I.es5?o.varKinds.var:this.varKind,{name:X,from:pe,to:he}=this;return`for(${z} ${X}=${pe}; ${X}<${he}; ${X}++)`+super.render(I)}get names(){const I=F(super.names,this.from);return F(I,this.to)}}class P extends x{constructor(I,z,X,pe){super(),this.loop=I,this.varKind=z,this.name=X,this.iterable=pe}render(I){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(I)}optimizeNames(I,z){if(super.optimizeNames(I,z))return this.iterable=W(this.iterable,I,z),this}get names(){return U(super.names,this.iterable.names)}}class R extends b{constructor(I,z,X){super(),this.name=I,this.args=z,this.async=X}render(I){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(I)}}R.kind="func";class D extends v{render(I){return"return "+super.render(I)}}D.kind="return";class O extends b{render(I){let z="try"+super.render(I);return this.catch&&(z+=this.catch.render(I)),this.finally&&(z+=this.finally.render(I)),z}optimizeNodes(){var I,z;return super.optimizeNodes(),(I=this.catch)===null||I===void 0||I.optimizeNodes(),(z=this.finally)===null||z===void 0||z.optimizeNodes(),this}optimizeNames(I,z){var X,pe;return super.optimizeNames(I,z),(X=this.catch)===null||X===void 0||X.optimizeNames(I,z),(pe=this.finally)===null||pe===void 0||pe.optimizeNames(I,z),this}get names(){const I=super.names;return this.catch&&U(I,this.catch.names),this.finally&&U(I,this.finally.names),I}}class L extends b{constructor(I){super(),this.error=I}render(I){return`catch(${this.error})`+super.render(I)}}L.kind="catch";class q extends b{render(I){return"finally"+super.render(I)}}q.kind="finally";class B{constructor(I,z={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...z,_n:z.lines?`
48
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const l of e.seen.entries()){const c=l[1];if(t===l[0]){i(l);continue}if(e.external){const p=e.external.registry.get(l[0])?.id;if(t!==l[0]&&p){i(l);continue}}if(e.metadataRegistry.get(l[0])?.id){i(l);continue}if(c.cycle){i(l);continue}if(c.count>1&&e.reused==="ref"){i(l);continue}}}function xf(e,t){const o=e.seen.get(t);if(!o)throw new Error("Unprocessed schema. This is a bug in Zod.");const a=l=>{const c=e.seen.get(l);if(c.ref===null)return;const d=c.def??c.schema,p={...d},m=c.ref;if(c.ref=null,m){a(m);const f=e.seen.get(m),v=f.schema;if(v.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(d.allOf=d.allOf??[],d.allOf.push(v)):Object.assign(d,v),Object.assign(d,p),l._zod.parent===m)for(const S in d)S==="$ref"||S==="allOf"||S in p||delete d[S];if(v.$ref&&f.def)for(const S in d)S==="$ref"||S==="allOf"||S in f.def&&JSON.stringify(d[S])===JSON.stringify(f.def[S])&&delete d[S]}const h=l._zod.parent;if(h&&h!==m){a(h);const f=e.seen.get(h);if(f?.schema.$ref&&(d.$ref=f.schema.$ref,f.def))for(const v in d)v==="$ref"||v==="allOf"||v in f.def&&JSON.stringify(d[v])===JSON.stringify(f.def[v])&&delete d[v]}e.override({zodSchema:l,jsonSchema:d,path:c.path??[]})};for(const l of[...e.seen.entries()].reverse())a(l[0]);const n={};if(e.target==="draft-2020-12"?n.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?n.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?n.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const l=e.external.registry.get(t)?.id;if(!l)throw new Error("Schema is missing an `id` property");n.$id=e.external.uri(l)}Object.assign(n,o.def??o.schema);const i=e.external?.defs??{};for(const l of e.seen.entries()){const c=l[1];c.def&&c.defId&&(i[c.defId]=c.def)}e.external||Object.keys(i).length>0&&(e.target==="draft-2020-12"?n.$defs=i:n.definitions=i);try{const l=JSON.parse(JSON.stringify(n));return Object.defineProperty(l,"~standard",{value:{...t["~standard"],jsonSchema:{input:_f(t,"input",e.processors),output:_f(t,"output",e.processors)}},enumerable:!1,writable:!1}),l}catch{throw new Error("Error converting schema to JSON.")}}function Va(e,t){const o=t??{seen:new Set};if(o.seen.has(e))return!1;o.seen.add(e);const a=e._zod.def;if(a.type==="transform")return!0;if(a.type==="array")return Va(a.element,o);if(a.type==="set")return Va(a.valueType,o);if(a.type==="lazy")return Va(a.getter(),o);if(a.type==="promise"||a.type==="optional"||a.type==="nonoptional"||a.type==="nullable"||a.type==="readonly"||a.type==="default"||a.type==="prefault")return Va(a.innerType,o);if(a.type==="intersection")return Va(a.left,o)||Va(a.right,o);if(a.type==="record"||a.type==="map")return Va(a.keyType,o)||Va(a.valueType,o);if(a.type==="pipe")return Va(a.in,o)||Va(a.out,o);if(a.type==="object"){for(const n in a.shape)if(Va(a.shape[n],o))return!0;return!1}if(a.type==="union"){for(const n of a.options)if(Va(n,o))return!0;return!1}if(a.type==="tuple"){for(const n of a.items)if(Va(n,o))return!0;return!!(a.rest&&Va(a.rest,o))}return!1}const J7=(e,t={})=>o=>{const a=wf({...o,processors:t});return uo(e,a),Tf(a,e),xf(a,e)},_f=(e,t,o={})=>a=>{const{libraryOptions:n,target:i}=a??{},l=wf({...n??{},target:i,io:t,processors:o});return uo(e,l),Tf(l,e),xf(l,e)},X7={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},fN=(e,t,o,a)=>{const n=o;n.type="string";const{minimum:i,maximum:l,format:c,patterns:d,contentEncoding:p}=e._zod.bag;if(typeof i=="number"&&(n.minLength=i),typeof l=="number"&&(n.maxLength=l),c&&(n.format=X7[c]??c,n.format===""&&delete n.format,c==="time"&&delete n.format),p&&(n.contentEncoding=p),d&&d.size>0){const m=[...d];m.length===1?n.pattern=m[0].source:m.length>1&&(n.allOf=[...m.map(h=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:h.source}))])}},vN=(e,t,o,a)=>{const n=o,{minimum:i,maximum:l,format:c,multipleOf:d,exclusiveMaximum:p,exclusiveMinimum:m}=e._zod.bag;typeof c=="string"&&c.includes("int")?n.type="integer":n.type="number",typeof m=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(n.minimum=m,n.exclusiveMinimum=!0):n.exclusiveMinimum=m),typeof i=="number"&&(n.minimum=i,typeof m=="number"&&t.target!=="draft-04"&&(m>=i?delete n.minimum:delete n.exclusiveMinimum)),typeof p=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(n.maximum=p,n.exclusiveMaximum=!0):n.exclusiveMaximum=p),typeof l=="number"&&(n.maximum=l,typeof p=="number"&&t.target!=="draft-04"&&(p<=l?delete n.maximum:delete n.exclusiveMaximum)),typeof d=="number"&&(n.multipleOf=d)},bN=(e,t,o,a)=>{o.type="boolean"},e9=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},t9=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},yN=(e,t,o,a)=>{t.target==="openapi-3.0"?(o.type="string",o.nullable=!0,o.enum=[null]):o.type="null"},SN=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},o9=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},wN=(e,t,o,a)=>{o.not={}},TN=(e,t,o,a)=>{},xN=(e,t,o,a)=>{},a9=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},_N=(e,t,o,a)=>{const n=e._zod.def,i=YM(n.entries);i.every(l=>typeof l=="number")&&(o.type="number"),i.every(l=>typeof l=="string")&&(o.type="string"),o.enum=i},kN=(e,t,o,a)=>{const n=e._zod.def,i=[];for(const l of n.values)if(l===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof l=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");i.push(Number(l))}else i.push(l);if(i.length!==0)if(i.length===1){const l=i[0];o.type=l===null?"null":typeof l,t.target==="draft-04"||t.target==="openapi-3.0"?o.enum=[l]:o.const=l}else i.every(l=>typeof l=="number")&&(o.type="number"),i.every(l=>typeof l=="string")&&(o.type="string"),i.every(l=>typeof l=="boolean")&&(o.type="boolean"),i.every(l=>l===null)&&(o.type="null"),o.enum=i},n9=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},r9=(e,t,o,a)=>{const n=o,i=e._zod.pattern;if(!i)throw new Error("Pattern not found in template literal");n.type="string",n.pattern=i.source},CN=(e,t,o,a)=>{const n=o,i={type:"string",format:"binary",contentEncoding:"binary"},{minimum:l,maximum:c,mime:d}=e._zod.bag;l!==void 0&&(i.minLength=l),c!==void 0&&(i.maxLength=c),d?d.length===1?(i.contentMediaType=d[0],Object.assign(n,i)):(Object.assign(n,i),n.anyOf=d.map(p=>({contentMediaType:p}))):Object.assign(n,i)},i9=(e,t,o,a)=>{o.type="boolean"},PN=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},s9=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},EN=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},l9=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},c9=(e,t,o,a)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},AN=(e,t,o,a)=>{const n=o,i=e._zod.def,{minimum:l,maximum:c}=e._zod.bag;typeof l=="number"&&(n.minItems=l),typeof c=="number"&&(n.maxItems=c),n.type="array",n.items=uo(i.element,t,{...a,path:[...a.path,"items"]})},RN=(e,t,o,a)=>{const n=o,i=e._zod.def;n.type="object",n.properties={};const l=i.shape;for(const p in l)n.properties[p]=uo(l[p],t,{...a,path:[...a.path,"properties",p]});const c=new Set(Object.keys(l)),d=new Set([...c].filter(p=>{const m=i.shape[p]._zod;return t.io==="input"?m.optin===void 0:m.optout===void 0}));d.size>0&&(n.required=Array.from(d)),i.catchall?._zod.def.type==="never"?n.additionalProperties=!1:i.catchall?i.catchall&&(n.additionalProperties=uo(i.catchall,t,{...a,path:[...a.path,"additionalProperties"]})):t.io==="output"&&(n.additionalProperties=!1)},DN=(e,t,o,a)=>{const n=e._zod.def,i=n.inclusive===!1,l=n.options.map((c,d)=>uo(c,t,{...a,path:[...a.path,i?"oneOf":"anyOf",d]}));i?o.oneOf=l:o.anyOf=l},ON=(e,t,o,a)=>{const n=e._zod.def,i=uo(n.left,t,{...a,path:[...a.path,"allOf",0]}),l=uo(n.right,t,{...a,path:[...a.path,"allOf",1]}),c=p=>"allOf"in p&&Object.keys(p).length===1,d=[...c(i)?i.allOf:[i],...c(l)?l.allOf:[l]];o.allOf=d},MN=(e,t,o,a)=>{const n=o,i=e._zod.def;n.type="array";const l=t.target==="draft-2020-12"?"prefixItems":"items",c=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",d=i.items.map((f,v)=>uo(f,t,{...a,path:[...a.path,l,v]})),p=i.rest?uo(i.rest,t,{...a,path:[...a.path,c,...t.target==="openapi-3.0"?[i.items.length]:[]]}):null;t.target==="draft-2020-12"?(n.prefixItems=d,p&&(n.items=p)):t.target==="openapi-3.0"?(n.items={anyOf:d},p&&n.items.anyOf.push(p),n.minItems=d.length,p||(n.maxItems=d.length)):(n.items=d,p&&(n.additionalItems=p));const{minimum:m,maximum:h}=e._zod.bag;typeof m=="number"&&(n.minItems=m),typeof h=="number"&&(n.maxItems=h)},NN=(e,t,o,a)=>{const n=o,i=e._zod.def;n.type="object";const l=i.keyType,d=l._zod.bag?.patterns;if(i.mode==="loose"&&d&&d.size>0){const m=uo(i.valueType,t,{...a,path:[...a.path,"patternProperties","*"]});n.patternProperties={};for(const h of d)n.patternProperties[h.source]=m}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(n.propertyNames=uo(i.keyType,t,{...a,path:[...a.path,"propertyNames"]})),n.additionalProperties=uo(i.valueType,t,{...a,path:[...a.path,"additionalProperties"]});const p=l._zod.values;if(p){const m=[...p].filter(h=>typeof h=="string"||typeof h=="number");m.length>0&&(n.required=m)}},IN=(e,t,o,a)=>{const n=e._zod.def,i=uo(n.innerType,t,a),l=t.seen.get(e);t.target==="openapi-3.0"?(l.ref=n.innerType,o.nullable=!0):o.anyOf=[i,{type:"null"}]},LN=(e,t,o,a)=>{const n=e._zod.def;uo(n.innerType,t,a);const i=t.seen.get(e);i.ref=n.innerType},BN=(e,t,o,a)=>{const n=e._zod.def;uo(n.innerType,t,a);const i=t.seen.get(e);i.ref=n.innerType,o.default=JSON.parse(JSON.stringify(n.defaultValue))},FN=(e,t,o,a)=>{const n=e._zod.def;uo(n.innerType,t,a);const i=t.seen.get(e);i.ref=n.innerType,t.io==="input"&&(o._prefault=JSON.parse(JSON.stringify(n.defaultValue)))},jN=(e,t,o,a)=>{const n=e._zod.def;uo(n.innerType,t,a);const i=t.seen.get(e);i.ref=n.innerType;let l;try{l=n.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}o.default=l},zN=(e,t,o,a)=>{const n=e._zod.def,i=t.io==="input"?n.in._zod.def.type==="transform"?n.out:n.in:n.out;uo(i,t,a);const l=t.seen.get(e);l.ref=i},UN=(e,t,o,a)=>{const n=e._zod.def;uo(n.innerType,t,a);const i=t.seen.get(e);i.ref=n.innerType,o.readOnly=!0},d9=(e,t,o,a)=>{const n=e._zod.def;uo(n.innerType,t,a);const i=t.seen.get(e);i.ref=n.innerType},Ux=(e,t,o,a)=>{const n=e._zod.def;uo(n.innerType,t,a);const i=t.seen.get(e);i.ref=n.innerType},qN=(e,t,o,a)=>{const n=e._zod.innerType;uo(n,t,a);const i=t.seen.get(e);i.ref=n},OA={string:fN,number:vN,boolean:bN,bigint:e9,symbol:t9,null:yN,undefined:SN,void:o9,never:wN,any:TN,unknown:xN,date:a9,enum:_N,literal:kN,nan:n9,template_literal:r9,file:CN,success:i9,custom:PN,function:s9,transform:EN,map:l9,set:c9,array:AN,object:RN,union:DN,intersection:ON,tuple:MN,record:NN,nullable:IN,nonoptional:LN,default:BN,prefault:FN,catch:jN,pipe:zN,readonly:UN,promise:d9,optional:Ux,lazy:qN};function Nfe(e,t){if("_idmap"in e){const a=e,n=wf({...t,processors:OA}),i={};for(const d of a._idmap.entries()){const[p,m]=d;uo(m,n)}const l={},c={registry:a,uri:t?.uri,defs:i};n.external=c;for(const d of a._idmap.entries()){const[p,m]=d;Tf(n,m),l[p]=xf(n,m)}if(Object.keys(i).length>0){const d=n.target==="draft-2020-12"?"$defs":"definitions";l.__shared={[d]:i}}return{schemas:l}}const o=wf({...t,processors:OA});return uo(e,o),Tf(o,e),xf(o,e)}const u9=be("ZodISODateTime",(e,t)=>{iV.init(e,t),Ao.init(e,t)});function $N(e){return b7(u9,e)}const p9=be("ZodISODate",(e,t)=>{sV.init(e,t),Ao.init(e,t)});function m9(e){return y7(p9,e)}const h9=be("ZodISOTime",(e,t)=>{lV.init(e,t),Ao.init(e,t)});function g9(e){return S7(h9,e)}const f9=be("ZodISODuration",(e,t)=>{cV.init(e,t),Ao.init(e,t)});function v9(e){return w7(f9,e)}const b9=(e,t)=>{jx.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:o=>Gq(e,o)},flatten:{value:o=>Hq(e,o)},addIssue:{value:o=>{e.issues.push(o),e.message=JSON.stringify(e.issues,Rw,2)}},addIssues:{value:o=>{e.issues.push(...o),e.message=JSON.stringify(e.issues,Rw,2)}},isEmpty:{get(){return e.issues.length===0}}})},er=be("ZodError",b9,{Parent:Error}),y9=Sv(er),S9=wv(er),w9=Tv(er),T9=xv(er),x9=Qq(er),_9=Jq(er),k9=Xq(er),C9=e$(er),P9=t$(er),E9=o$(er),A9=a$(er),R9=n$(er),Zt=be("ZodType",(e,t)=>(Ht.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:_f(e,"input"),output:_f(e,"output")}}),e.toJSONSchema=J7(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...o)=>e.clone(Bs(t,{checks:[...t.checks??[],...o.map(a=>typeof a=="function"?{_zod:{check:a,def:{check:"custom"},onattach:[]}}:a)]}),{parent:!0}),e.with=e.check,e.clone=(o,a)=>Di(e,o,a),e.brand=()=>e,e.register=((o,a)=>(o.add(e,a),e)),e.parse=(o,a)=>y9(e,o,a,{callee:e.parse}),e.safeParse=(o,a)=>w9(e,o,a),e.parseAsync=async(o,a)=>S9(e,o,a,{callee:e.parseAsync}),e.safeParseAsync=async(o,a)=>T9(e,o,a),e.spa=e.safeParseAsync,e.encode=(o,a)=>x9(e,o,a),e.decode=(o,a)=>_9(e,o,a),e.encodeAsync=async(o,a)=>k9(e,o,a),e.decodeAsync=async(o,a)=>C9(e,o,a),e.safeEncode=(o,a)=>P9(e,o,a),e.safeDecode=(o,a)=>E9(e,o,a),e.safeEncodeAsync=async(o,a)=>A9(e,o,a),e.safeDecodeAsync=async(o,a)=>R9(e,o,a),e.refine=(o,a)=>e.check(_H(o,a)),e.superRefine=o=>e.check(kH(o)),e.overwrite=o=>e.check(Dd(o)),e.optional=()=>Po(e),e.exactOptional=()=>dH(e),e.nullable=()=>IA(e),e.nullish=()=>Po(IA(e)),e.nonoptional=o=>fH(e,o),e.array=()=>je(e),e.or=o=>io([e,o]),e.and=o=>$x(e,o),e.transform=o=>Mw(e,XN(o)),e.default=o=>mH(e,o),e.prefault=o=>gH(e,o),e.catch=o=>bH(e,o),e.pipe=o=>Mw(e,o),e.readonly=()=>wH(e),e.describe=o=>{const a=e.clone();return Yu.add(a,{description:o}),a},Object.defineProperty(e,"description",{get(){return Yu.get(e)?.description},configurable:!0}),e.meta=(...o)=>{if(o.length===0)return Yu.get(e);const a=e.clone();return Yu.add(a,o[0]),a},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=o=>o(e),e)),VN=be("_ZodString",(e,t)=>{zx.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(a,n,i)=>fN(e,a,n);const o=e._zod.bag;e.format=o.format??null,e.minLength=o.minimum??null,e.maxLength=o.maximum??null,e.regex=(...a)=>e.check(N7(...a)),e.includes=(...a)=>e.check(B7(...a)),e.startsWith=(...a)=>e.check(F7(...a)),e.endsWith=(...a)=>e.check(j7(...a)),e.min=(...a)=>e.check(Sf(...a)),e.max=(...a)=>e.check(hN(...a)),e.length=(...a)=>e.check(gN(...a)),e.nonempty=(...a)=>e.check(Sf(1,...a)),e.lowercase=a=>e.check(I7(a)),e.uppercase=a=>e.check(L7(a)),e.trim=()=>e.check(q7()),e.normalize=(...a)=>e.check(U7(...a)),e.toLowerCase=()=>e.check($7()),e.toUpperCase=()=>e.check(V7()),e.slugify=()=>e.check(H7())}),HN=be("ZodString",(e,t)=>{zx.init(e,t),VN.init(e,t),e.email=o=>e.check(JV(D9,o)),e.url=o=>e.check(mN(GN,o)),e.jwt=o=>e.check(v7(G9,o)),e.emoji=o=>e.check(a7(O9,o)),e.guid=o=>e.check(EA(MA,o)),e.uuid=o=>e.check(XV(Mh,o)),e.uuidv4=o=>e.check(e7(Mh,o)),e.uuidv6=o=>e.check(t7(Mh,o)),e.uuidv7=o=>e.check(o7(Mh,o)),e.nanoid=o=>e.check(n7(M9,o)),e.guid=o=>e.check(EA(MA,o)),e.cuid=o=>e.check(r7(N9,o)),e.cuid2=o=>e.check(i7(I9,o)),e.ulid=o=>e.check(s7(L9,o)),e.base64=o=>e.check(h7($9,o)),e.base64url=o=>e.check(g7(V9,o)),e.xid=o=>e.check(l7(B9,o)),e.ksuid=o=>e.check(c7(F9,o)),e.ipv4=o=>e.check(d7(j9,o)),e.ipv6=o=>e.check(u7(z9,o)),e.cidrv4=o=>e.check(p7(U9,o)),e.cidrv6=o=>e.check(m7(q9,o)),e.e164=o=>e.check(f7(H9,o)),e.datetime=o=>e.check($N(o)),e.date=o=>e.check(m9(o)),e.time=o=>e.check(g9(o)),e.duration=o=>e.check(v9(o))});function $(e){return ZV(HN,e)}const Ao=be("ZodStringFormat",(e,t)=>{To.init(e,t),VN.init(e,t)}),D9=be("ZodEmail",(e,t)=>{Q$.init(e,t),Ao.init(e,t)}),MA=be("ZodGUID",(e,t)=>{Y$.init(e,t),Ao.init(e,t)}),Mh=be("ZodUUID",(e,t)=>{Z$.init(e,t),Ao.init(e,t)}),GN=be("ZodURL",(e,t)=>{J$.init(e,t),Ao.init(e,t)});function WN(e){return mN(GN,e)}const O9=be("ZodEmoji",(e,t)=>{X$.init(e,t),Ao.init(e,t)}),M9=be("ZodNanoID",(e,t)=>{eV.init(e,t),Ao.init(e,t)}),N9=be("ZodCUID",(e,t)=>{tV.init(e,t),Ao.init(e,t)}),I9=be("ZodCUID2",(e,t)=>{oV.init(e,t),Ao.init(e,t)}),L9=be("ZodULID",(e,t)=>{aV.init(e,t),Ao.init(e,t)}),B9=be("ZodXID",(e,t)=>{nV.init(e,t),Ao.init(e,t)}),F9=be("ZodKSUID",(e,t)=>{rV.init(e,t),Ao.init(e,t)}),j9=be("ZodIPv4",(e,t)=>{dV.init(e,t),Ao.init(e,t)}),z9=be("ZodIPv6",(e,t)=>{uV.init(e,t),Ao.init(e,t)}),U9=be("ZodCIDRv4",(e,t)=>{pV.init(e,t),Ao.init(e,t)}),q9=be("ZodCIDRv6",(e,t)=>{mV.init(e,t),Ao.init(e,t)}),$9=be("ZodBase64",(e,t)=>{hV.init(e,t),Ao.init(e,t)}),V9=be("ZodBase64URL",(e,t)=>{fV.init(e,t),Ao.init(e,t)}),H9=be("ZodE164",(e,t)=>{vV.init(e,t),Ao.init(e,t)}),G9=be("ZodJWT",(e,t)=>{yV.init(e,t),Ao.init(e,t)}),qx=be("ZodNumber",(e,t)=>{lN.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(a,n,i)=>vN(e,a,n),e.gt=(a,n)=>e.check(RA(a,n)),e.gte=(a,n)=>e.check(FS(a,n)),e.min=(a,n)=>e.check(FS(a,n)),e.lt=(a,n)=>e.check(AA(a,n)),e.lte=(a,n)=>e.check(BS(a,n)),e.max=(a,n)=>e.check(BS(a,n)),e.int=a=>e.check(NA(a)),e.safe=a=>e.check(NA(a)),e.positive=a=>e.check(RA(0,a)),e.nonnegative=a=>e.check(FS(0,a)),e.negative=a=>e.check(AA(0,a)),e.nonpositive=a=>e.check(BS(0,a)),e.multipleOf=(a,n)=>e.check(DA(a,n)),e.step=(a,n)=>e.check(DA(a,n)),e.finite=()=>e;const o=e._zod.bag;e.minValue=Math.max(o.minimum??Number.NEGATIVE_INFINITY,o.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(o.maximum??Number.POSITIVE_INFINITY,o.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(o.format??"").includes("int")||Number.isSafeInteger(o.multipleOf??.5),e.isFinite=!0,e.format=o.format??null});function Mt(e){return T7(qx,e)}const W9=be("ZodNumberFormat",(e,t)=>{SV.init(e,t),qx.init(e,t)});function NA(e){return _7(W9,e)}const KN=be("ZodBoolean",(e,t)=>{wV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>bN(e,o,a)});function qt(e){return k7(KN,e)}const K9=be("ZodUndefined",(e,t)=>{TV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>SN(e,o)});function Ife(e){return P7(K9,e)}const Y9=be("ZodNull",(e,t)=>{xV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>yN(e,o,a)});function Z9(e){return E7(Y9,e)}const Q9=be("ZodAny",(e,t)=>{_V.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>TN()});function J9(){return A7(Q9)}const X9=be("ZodUnknown",(e,t)=>{kV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>xN()});function Eo(){return R7(X9)}const eH=be("ZodNever",(e,t)=>{CV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>wN(e,o,a)});function tH(e){return D7(eH,e)}const oH=be("ZodArray",(e,t)=>{PV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>AN(e,o,a,n),e.element=t.element,e.min=(o,a)=>e.check(Sf(o,a)),e.nonempty=o=>e.check(Sf(1,o)),e.max=(o,a)=>e.check(hN(o,a)),e.length=(o,a)=>e.check(gN(o,a)),e.unwrap=()=>e.element});function je(e,t){return G7(oH,e,t)}const YN=be("ZodObject",(e,t)=>{AV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>RN(e,o,a,n),Ot(e,"shape",()=>t.shape),e.keyof=()=>So(Object.keys(e._zod.def.shape)),e.catchall=o=>e.clone({...e._zod.def,catchall:o}),e.passthrough=()=>e.clone({...e._zod.def,catchall:Eo()}),e.loose=()=>e.clone({...e._zod.def,catchall:Eo()}),e.strict=()=>e.clone({...e._zod.def,catchall:tH()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=o=>zq(e,o),e.safeExtend=o=>Uq(e,o),e.merge=o=>qq(e,o),e.pick=o=>Fq(e,o),e.omit=o=>jq(e,o),e.partial=(...o)=>$q(eI,e,o[0]),e.required=(...o)=>Vq(tI,e,o[0])});function we(e,t){const o={type:"object",shape:e??{},...Ve(t)};return new YN(o)}function _a(e,t){return new YN({type:"object",shape:e,catchall:Eo(),...Ve(t)})}const ZN=be("ZodUnion",(e,t)=>{uN.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>DN(e,o,a,n),e.options=t.options});function io(e,t){return new ZN({type:"union",options:e,...Ve(t)})}const aH=be("ZodDiscriminatedUnion",(e,t)=>{ZN.init(e,t),RV.init(e,t)});function QN(e,t,o){return new aH({type:"union",options:t,discriminator:e,...Ve(o)})}const nH=be("ZodIntersection",(e,t)=>{DV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>ON(e,o,a,n)});function $x(e,t){return new nH({type:"intersection",left:e,right:t})}const rH=be("ZodTuple",(e,t)=>{OV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>MN(e,o,a,n),e.rest=o=>e.clone({...e._zod.def,rest:o})});function Lfe(e,t,o){const a=t instanceof Ht,n=a?o:t,i=a?t:null;return new rH({type:"tuple",items:e,rest:i,...Ve(n)})}const JN=be("ZodRecord",(e,t)=>{MV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>NN(e,o,a,n),e.keyType=t.keyType,e.valueType=t.valueType});function vo(e,t,o){return new JN({type:"record",keyType:e,valueType:t,...Ve(o)})}function Bfe(e,t,o){const a=Di(e);return a._zod.values=void 0,new JN({type:"record",keyType:a,valueType:t,...Ve(o)})}const Ow=be("ZodEnum",(e,t)=>{NV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(a,n,i)=>_N(e,a,n),e.enum=t.entries,e.options=Object.values(t.entries);const o=new Set(Object.keys(t.entries));e.extract=(a,n)=>{const i={};for(const l of a)if(o.has(l))i[l]=t.entries[l];else throw new Error(`Key ${l} not found in enum`);return new Ow({...t,checks:[],...Ve(n),entries:i})},e.exclude=(a,n)=>{const i={...t.entries};for(const l of a)if(o.has(l))delete i[l];else throw new Error(`Key ${l} not found in enum`);return new Ow({...t,checks:[],...Ve(n),entries:i})}});function So(e,t){const o=Array.isArray(e)?Object.fromEntries(e.map(a=>[a,a])):e;return new Ow({type:"enum",entries:o,...Ve(t)})}const iH=be("ZodLiteral",(e,t)=>{IV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>kN(e,o,a),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function Ze(e,t){return new iH({type:"literal",values:Array.isArray(e)?e:[e],...Ve(t)})}const sH=be("ZodFile",(e,t)=>{LV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>CN(e,o,a),e.min=(o,a)=>e.check(M7(o,a)),e.max=(o,a)=>e.check(O7(o,a)),e.mime=(o,a)=>e.check(z7(Array.isArray(o)?o:[o],a))});function Ffe(e){return W7(sH,e)}const lH=be("ZodTransform",(e,t)=>{BV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>EN(e,o),e._zod.parse=(o,a)=>{if(a.direction==="backward")throw new WM(e.constructor.name);o.addIssue=i=>{if(typeof i=="string")o.issues.push(_p(i,o.value,t));else{const l=i;l.fatal&&(l.continue=!1),l.code??(l.code="custom"),l.input??(l.input=o.value),l.inst??(l.inst=e),o.issues.push(_p(l))}};const n=t.transform(o.value,o);return n instanceof Promise?n.then(i=>(o.value=i,o)):(o.value=n,o)}});function XN(e){return new lH({type:"transform",transform:e})}const eI=be("ZodOptional",(e,t)=>{pN.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>Ux(e,o,a,n),e.unwrap=()=>e._zod.def.innerType});function Po(e){return new eI({type:"optional",innerType:e})}const cH=be("ZodExactOptional",(e,t)=>{FV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>Ux(e,o,a,n),e.unwrap=()=>e._zod.def.innerType});function dH(e){return new cH({type:"optional",innerType:e})}const uH=be("ZodNullable",(e,t)=>{jV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>IN(e,o,a,n),e.unwrap=()=>e._zod.def.innerType});function IA(e){return new uH({type:"nullable",innerType:e})}const pH=be("ZodDefault",(e,t)=>{zV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>BN(e,o,a,n),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function mH(e,t){return new pH({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():QM(t)}})}const hH=be("ZodPrefault",(e,t)=>{UV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>FN(e,o,a,n),e.unwrap=()=>e._zod.def.innerType});function gH(e,t){return new hH({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():QM(t)}})}const tI=be("ZodNonOptional",(e,t)=>{qV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>LN(e,o,a,n),e.unwrap=()=>e._zod.def.innerType});function fH(e,t){return new tI({type:"nonoptional",innerType:e,...Ve(t)})}const vH=be("ZodCatch",(e,t)=>{$V.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>jN(e,o,a,n),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function bH(e,t){return new vH({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const yH=be("ZodPipe",(e,t)=>{VV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>zN(e,o,a,n),e.in=t.in,e.out=t.out});function Mw(e,t){return new yH({type:"pipe",in:e,out:t})}const SH=be("ZodReadonly",(e,t)=>{HV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>UN(e,o,a,n),e.unwrap=()=>e._zod.def.innerType});function wH(e){return new SH({type:"readonly",innerType:e})}const TH=be("ZodLazy",(e,t)=>{GV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>qN(e,o,a,n),e.unwrap=()=>e._zod.def.getter()});function Hr(e){return new TH({type:"lazy",getter:e})}const Vx=be("ZodCustom",(e,t)=>{WV.init(e,t),Zt.init(e,t),e._zod.processJSONSchema=(o,a,n)=>PN(e,o)});function xH(e,t){return K7(Vx,e??(()=>!0),t)}function _H(e,t={}){return Y7(Vx,e,t)}function kH(e){return Z7(e)}function jfe(e,t={}){const o=new Vx({type:"custom",check:"custom",fn:a=>a instanceof e,abort:!0,...Ve(t)});return o._zod.bag.Class=e,o._zod.check=a=>{a.value instanceof e||a.issues.push({code:"invalid_type",expected:e.name,input:a.value,inst:o,path:[...o._zod.def.path??[]]})},o}function Hx(e,t){return Mw(XN(e),t)}const CH={custom:"custom"};function kv(e){return QV(HN,e)}function oI(e){return x7(qx,e)}function kp(e){return C7(KN,e)}const PH="2025-11-25",zfe=[PH,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],EH="io.modelcontextprotocol/related-task",Cv="2.0",ra=xH(e=>e!==null&&(typeof e=="object"||typeof e=="function")),aI=io([$(),Mt().int()]),nI=$();_a({ttl:Mt().optional(),pollInterval:Mt().optional()});const AH=we({ttl:Mt().optional()}),RH=we({taskId:$()}),Gx=_a({progressToken:aI.optional(),[EH]:RH.optional()}),Dn=we({_meta:Gx.optional()}),Vp=Dn.extend({task:AH.optional()}),Ufe=e=>Vp.safeParse(e).success,Ca=we({method:$(),params:Dn.loose().optional()}),tr=we({_meta:Gx.optional()}),or=we({method:$(),params:tr.loose().optional()}),Pa=_a({_meta:Gx.optional()}),Pv=io([$(),Mt().int()]),rI=we({jsonrpc:Ze(Cv),id:Pv,...Ca.shape}).strict(),qfe=e=>rI.safeParse(e).success,iI=we({jsonrpc:Ze(Cv),...or.shape}).strict(),$fe=e=>iI.safeParse(e).success,Wx=we({jsonrpc:Ze(Cv),id:Pv,result:Pa}).strict(),Vfe=e=>Wx.safeParse(e).success;var Cp;(function(e){e[e.ConnectionClosed=-32e3]="ConnectionClosed",e[e.RequestTimeout=-32001]="RequestTimeout",e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.UrlElicitationRequired=-32042]="UrlElicitationRequired"})(Cp||(Cp={}));const Kx=we({jsonrpc:Ze(Cv),id:Pv.optional(),error:we({code:Mt().int(),message:$(),data:Eo().optional()})}).strict(),Hfe=e=>Kx.safeParse(e).success,Gfe=io([rI,iI,Wx,Kx]);io([Wx,Kx]);const sI=Pa.strict(),DH=tr.extend({requestId:Pv.optional(),reason:$().optional()}),lI=or.extend({method:Ze("notifications/cancelled"),params:DH}),OH=we({src:$(),mimeType:$().optional(),sizes:je($()).optional(),theme:So(["light","dark"]).optional()}),Hp=we({icons:je(OH).optional()}),vd=we({name:$(),title:$().optional()}),cI=vd.extend({...vd.shape,...Hp.shape,version:$(),websiteUrl:$().optional(),description:$().optional()}),MH=$x(we({applyDefaults:qt().optional()}),vo($(),Eo())),NH=Hx(e=>e&&typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,$x(we({form:MH.optional(),url:ra.optional()}),vo($(),Eo()).optional())),IH=_a({list:ra.optional(),cancel:ra.optional(),requests:_a({sampling:_a({createMessage:ra.optional()}).optional(),elicitation:_a({create:ra.optional()}).optional()}).optional()}),LH=_a({list:ra.optional(),cancel:ra.optional(),requests:_a({tools:_a({call:ra.optional()}).optional()}).optional()}),BH=we({experimental:vo($(),ra).optional(),sampling:we({context:ra.optional(),tools:ra.optional()}).optional(),elicitation:NH.optional(),roots:we({listChanged:qt().optional()}).optional(),tasks:IH.optional(),extensions:vo($(),ra).optional()}),FH=Dn.extend({protocolVersion:$(),capabilities:BH,clientInfo:cI}),jH=Ca.extend({method:Ze("initialize"),params:FH}),zH=we({experimental:vo($(),ra).optional(),logging:ra.optional(),completions:ra.optional(),prompts:we({listChanged:qt().optional()}).optional(),resources:we({subscribe:qt().optional(),listChanged:qt().optional()}).optional(),tools:we({listChanged:qt().optional()}).optional(),tasks:LH.optional(),extensions:vo($(),ra).optional()}),UH=Pa.extend({protocolVersion:$(),capabilities:zH,serverInfo:cI,instructions:$().optional()}),dI=or.extend({method:Ze("notifications/initialized"),params:tr.optional()}),Wfe=e=>dI.safeParse(e).success,uI=Ca.extend({method:Ze("ping"),params:Dn.optional()}),qH=we({progress:Mt(),total:Po(Mt()),message:Po($())}),$H=we({...tr.shape,...qH.shape,progressToken:aI}),pI=or.extend({method:Ze("notifications/progress"),params:$H}),VH=Dn.extend({cursor:nI.optional()}),Gp=Ca.extend({params:VH.optional()}),Wp=Pa.extend({nextCursor:nI.optional()}),HH=So(["working","input_required","completed","failed","cancelled"]),Kp=we({taskId:$(),status:HH,ttl:io([Mt(),Z9()]),createdAt:$(),lastUpdatedAt:$(),pollInterval:Po(Mt()),statusMessage:Po($())}),mI=Pa.extend({task:Kp}),GH=tr.merge(Kp),hI=or.extend({method:Ze("notifications/tasks/status"),params:GH}),gI=Ca.extend({method:Ze("tasks/get"),params:Dn.extend({taskId:$()})}),fI=Pa.merge(Kp),vI=Ca.extend({method:Ze("tasks/result"),params:Dn.extend({taskId:$()})});Pa.loose();const bI=Gp.extend({method:Ze("tasks/list")}),yI=Wp.extend({tasks:je(Kp)}),SI=Ca.extend({method:Ze("tasks/cancel"),params:Dn.extend({taskId:$()})}),Kfe=Pa.merge(Kp),wI=we({uri:$(),mimeType:Po($()),_meta:vo($(),Eo()).optional()}),TI=wI.extend({text:$()}),Yx=$().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:"Invalid Base64 string"}),xI=wI.extend({blob:Yx}),Yp=So(["user","assistant"]),Od=we({audience:je(Yp).optional(),priority:Mt().min(0).max(1).optional(),lastModified:$N({offset:!0}).optional()}),_I=we({...vd.shape,...Hp.shape,uri:$(),description:Po($()),mimeType:Po($()),size:Po(Mt()),annotations:Od.optional(),_meta:Po(_a({}))}),WH=we({...vd.shape,...Hp.shape,uriTemplate:$(),description:Po($()),mimeType:Po($()),annotations:Od.optional(),_meta:Po(_a({}))}),KH=Gp.extend({method:Ze("resources/list")}),YH=Wp.extend({resources:je(_I)}),ZH=Gp.extend({method:Ze("resources/templates/list")}),QH=Wp.extend({resourceTemplates:je(WH)}),Zx=Dn.extend({uri:$()}),JH=Zx,XH=Ca.extend({method:Ze("resources/read"),params:JH}),eG=Pa.extend({contents:je(io([TI,xI]))}),tG=or.extend({method:Ze("notifications/resources/list_changed"),params:tr.optional()}),oG=Zx,aG=Ca.extend({method:Ze("resources/subscribe"),params:oG}),nG=Zx,rG=Ca.extend({method:Ze("resources/unsubscribe"),params:nG}),iG=tr.extend({uri:$()}),sG=or.extend({method:Ze("notifications/resources/updated"),params:iG}),lG=we({name:$(),description:Po($()),required:Po(qt())}),cG=we({...vd.shape,...Hp.shape,description:Po($()),arguments:Po(je(lG)),_meta:Po(_a({}))}),dG=Gp.extend({method:Ze("prompts/list")}),uG=Wp.extend({prompts:je(cG)}),pG=Dn.extend({name:$(),arguments:vo($(),$()).optional()}),mG=Ca.extend({method:Ze("prompts/get"),params:pG}),Qx=we({type:Ze("text"),text:$(),annotations:Od.optional(),_meta:vo($(),Eo()).optional()}),Jx=we({type:Ze("image"),data:Yx,mimeType:$(),annotations:Od.optional(),_meta:vo($(),Eo()).optional()}),Xx=we({type:Ze("audio"),data:Yx,mimeType:$(),annotations:Od.optional(),_meta:vo($(),Eo()).optional()}),hG=we({type:Ze("tool_use"),name:$(),id:$(),input:vo($(),Eo()),_meta:vo($(),Eo()).optional()}),gG=we({type:Ze("resource"),resource:io([TI,xI]),annotations:Od.optional(),_meta:vo($(),Eo()).optional()}),fG=_I.extend({type:Ze("resource_link")}),e_=io([Qx,Jx,Xx,fG,gG]),vG=we({role:Yp,content:e_}),bG=Pa.extend({description:$().optional(),messages:je(vG)}),yG=or.extend({method:Ze("notifications/prompts/list_changed"),params:tr.optional()}),SG=we({title:$().optional(),readOnlyHint:qt().optional(),destructiveHint:qt().optional(),idempotentHint:qt().optional(),openWorldHint:qt().optional()}),wG=we({taskSupport:So(["required","optional","forbidden"]).optional()}),kI=we({...vd.shape,...Hp.shape,description:$().optional(),inputSchema:we({type:Ze("object"),properties:vo($(),ra).optional(),required:je($()).optional()}).catchall(Eo()),outputSchema:we({type:Ze("object"),properties:vo($(),ra).optional(),required:je($()).optional()}).catchall(Eo()).optional(),annotations:SG.optional(),execution:wG.optional(),_meta:vo($(),Eo()).optional()}),TG=Gp.extend({method:Ze("tools/list")}),xG=Wp.extend({tools:je(kI)}),CI=Pa.extend({content:je(e_).default([]),structuredContent:vo($(),Eo()).optional(),isError:qt().optional()});CI.or(Pa.extend({toolResult:Eo()}));const _G=Vp.extend({name:$(),arguments:vo($(),Eo()).optional()}),kG=Ca.extend({method:Ze("tools/call"),params:_G}),CG=or.extend({method:Ze("notifications/tools/list_changed"),params:tr.optional()}),Yfe=we({autoRefresh:qt().default(!0),debounceMs:Mt().int().nonnegative().default(300)}),PI=So(["debug","info","notice","warning","error","critical","alert","emergency"]),PG=Dn.extend({level:PI}),EG=Ca.extend({method:Ze("logging/setLevel"),params:PG}),AG=tr.extend({level:PI,logger:$().optional(),data:Eo()}),RG=or.extend({method:Ze("notifications/message"),params:AG}),DG=we({name:$().optional()}),OG=we({hints:je(DG).optional(),costPriority:Mt().min(0).max(1).optional(),speedPriority:Mt().min(0).max(1).optional(),intelligencePriority:Mt().min(0).max(1).optional()}),MG=we({mode:So(["auto","required","none"]).optional()}),NG=we({type:Ze("tool_result"),toolUseId:$().describe("The unique identifier for the corresponding tool call."),content:je(e_).default([]),structuredContent:we({}).loose().optional(),isError:qt().optional(),_meta:vo($(),Eo()).optional()}),IG=QN("type",[Qx,Jx,Xx]),kf=QN("type",[Qx,Jx,Xx,hG,NG]),LG=we({role:Yp,content:io([kf,je(kf)]),_meta:vo($(),Eo()).optional()}),BG=Vp.extend({messages:je(LG),modelPreferences:OG.optional(),systemPrompt:$().optional(),includeContext:So(["none","thisServer","allServers"]).optional(),temperature:Mt().optional(),maxTokens:Mt().int(),stopSequences:je($()).optional(),metadata:ra.optional(),tools:je(kI).optional(),toolChoice:MG.optional()}),FG=Ca.extend({method:Ze("sampling/createMessage"),params:BG}),jG=Pa.extend({model:$(),stopReason:Po(So(["endTurn","stopSequence","maxTokens"]).or($())),role:Yp,content:IG}),zG=Pa.extend({model:$(),stopReason:Po(So(["endTurn","stopSequence","maxTokens","toolUse"]).or($())),role:Yp,content:io([kf,je(kf)])}),UG=we({type:Ze("boolean"),title:$().optional(),description:$().optional(),default:qt().optional()}),qG=we({type:Ze("string"),title:$().optional(),description:$().optional(),minLength:Mt().optional(),maxLength:Mt().optional(),format:So(["email","uri","date","date-time"]).optional(),default:$().optional()}),$G=we({type:So(["number","integer"]),title:$().optional(),description:$().optional(),minimum:Mt().optional(),maximum:Mt().optional(),default:Mt().optional()}),VG=we({type:Ze("string"),title:$().optional(),description:$().optional(),enum:je($()),default:$().optional()}),HG=we({type:Ze("string"),title:$().optional(),description:$().optional(),oneOf:je(we({const:$(),title:$()})),default:$().optional()}),GG=we({type:Ze("string"),title:$().optional(),description:$().optional(),enum:je($()),enumNames:je($()).optional(),default:$().optional()}),WG=io([VG,HG]),KG=we({type:Ze("array"),title:$().optional(),description:$().optional(),minItems:Mt().optional(),maxItems:Mt().optional(),items:we({type:Ze("string"),enum:je($())}),default:je($()).optional()}),YG=we({type:Ze("array"),title:$().optional(),description:$().optional(),minItems:Mt().optional(),maxItems:Mt().optional(),items:we({anyOf:je(we({const:$(),title:$()}))}),default:je($()).optional()}),ZG=io([KG,YG]),QG=io([GG,WG,ZG]),JG=io([QG,UG,qG,$G]),XG=Vp.extend({mode:Ze("form").optional(),message:$(),requestedSchema:we({type:Ze("object"),properties:vo($(),JG),required:je($()).optional()})}),eW=Vp.extend({mode:Ze("url"),message:$(),elicitationId:$(),url:$().url()}),tW=io([XG,eW]),oW=Ca.extend({method:Ze("elicitation/create"),params:tW}),aW=tr.extend({elicitationId:$()}),nW=or.extend({method:Ze("notifications/elicitation/complete"),params:aW}),rW=Pa.extend({action:So(["accept","decline","cancel"]),content:Hx(e=>e===null?void 0:e,vo($(),io([$(),Mt(),qt(),je($())])).optional())}),iW=we({type:Ze("ref/resource"),uri:$()}),sW=we({type:Ze("ref/prompt"),name:$()}),lW=Dn.extend({ref:io([sW,iW]),argument:we({name:$(),value:$()}),context:we({arguments:vo($(),$()).optional()}).optional()}),cW=Ca.extend({method:Ze("completion/complete"),params:lW}),dW=Pa.extend({completion:_a({values:je($()).max(100),total:Po(Mt().int()),hasMore:Po(qt())})}),uW=we({uri:$().startsWith("file://"),name:$().optional(),_meta:vo($(),Eo()).optional()}),pW=Ca.extend({method:Ze("roots/list"),params:Dn.optional()}),mW=Pa.extend({roots:je(uW)}),hW=or.extend({method:Ze("notifications/roots/list_changed"),params:tr.optional()});io([uI,jH,cW,EG,mG,dG,KH,ZH,XH,aG,rG,kG,TG,gI,vI,bI,SI]);io([lI,pI,dI,hW,hI]);io([sI,jG,zG,rW,mW,fI,yI,mI]);io([uI,FG,oW,pW,gI,vI,bI,SI]);io([lI,pI,RG,sG,tG,CG,yG,hI,nW]);io([sI,UH,dW,bG,uG,YH,QH,eG,CI,xG,fI,yI,mI]);class Ev extends Error{constructor(t,o,a){super(`MCP error ${t}: ${o}`),this.code=t,this.data=a,this.name="McpError"}static fromError(t,o,a){if(t===Cp.UrlElicitationRequired&&a){const n=a;if(n.elicitations)return new gW(n.elicitations,o)}return new Ev(t,o,a)}}class gW extends Ev{constructor(t,o=`URL elicitation${t.length>1?"s":""} required`){super(Cp.UrlElicitationRequired,o,{elicitations:t})}get elicitations(){return this.data?.elicitations??[]}}const Zfe={SELF:e=>`${e}_self`,REGISTRY:e=>`${e}_registry`,COMMUNITY_REGISTRY:e=>`${e}_community-registry`,DEV_ASSETS:e=>`${e}_dev-assets`,SITE_DIAGNOSTICS:e=>`site-diagnostics_${e}`,REPORTS:e=>`${e}_commerce-discovery`},Qfe="get_my_diagnostic",Jfe="self";function Br(e){return{is(t){return!t||!t.startsWith(e)?null:t.slice(e.length)||null},get(t){return`${e}${t}`}}}function fW(e){return{id:e.id,organization_id:e.organizationId,title:e.title,description:e.description,icon:e.icon,status:"active",created_at:new Date().toISOString(),updated_at:new Date().toISOString(),created_by:"system",updated_by:void 0,metadata:{instructions:e.instructions??null,...e.ui?{ui:e.ui}:{}},pinned:!1,connections:[]}}const EI=Br("decopilot_"),AI=EI.is,vW=EI.get,bW=Br("dev_"),Xfe=bW.get,yW="https://assets.decocache.com/decocms/fd07a578-6b1c-40f1-bc05-88a3b981695d/f7fc4ffa81aec04e37ae670c3cd4936643a7b269.png",SW="#6366f1",eve=`https://api.iconify.design/lucide:file-search.svg?color=${encodeURIComponent(SW)}`;function tve(e){return fW({id:vW(e),organizationId:e,title:"Super Agent",description:"Default agent that aggregates all organization connections",icon:yW,ui:{layout:{defaultMainView:{type:"overview"},chatDefaultOpen:!0}}})}const wW=Br("site-diagnostics_"),TW=wW.is,RI=Br("commerce-discovery_"),xW=RI.is,ove=RI.get,Hc={AUTOMATION_MANAGER:Br("studio-automation-manager_"),CONNECTION_MANAGER:Br("studio-connection-manager_"),API_KEY_MANAGER:Br("studio-api-key-manager_"),STORE_MANAGER:Br("studio-store-manager_"),USAGE_MANAGER:Br("studio-usage-manager_")},ave={AUTOMATION_MANAGER:Hc.AUTOMATION_MANAGER.get,CONNECTION_MANAGER:Hc.CONNECTION_MANAGER.get,API_KEY_MANAGER:Hc.API_KEY_MANAGER.get,STORE_MANAGER:Hc.STORE_MANAGER.get,USAGE_MANAGER:Hc.USAGE_MANAGER.get};function DI(e){return e?Object.values(Hc).some(t=>t.is(e)!==null):!1}const _W=["studio-agent-manager_","studio-task-manager_","studio-brand-manager_"],kW=_W.map(Br);function OI(e){return e?kW.some(t=>t.is(e)!==null):!1}function nve(e){const t=e.metadata?.liveAgentId;return!(typeof t=="string"&&t)&&!AI(e.id)&&!DI(e.id)&&!OI(e.id)}const CW={from({org:e,project:t}){return`${e}/${t}`},parse(e){e.startsWith("/")&&(e=e.slice(1));const[t,o]=e.split("/");if(!t||!o)throw new Error("Invalid locator");return{org:t,project:o}}},t_=A.createContext(void 0),rve=()=>A.useContext(t_),Zp=()=>{const e=A.useContext(t_);if(!e)throw new Error("useProjectContext must be used within a ProjectContextProvider");return e},ive=()=>Zp().org,sve=e=>{const t=Re.c(10),{children:o,org:a,project:n}=e;let i;t[0]!==a.id||t[1]!==n.id?(i=CW.from({org:a.id,project:n.id}),t[0]=a.id,t[1]=n.id,t[2]=i):i=t[2];const l=i;let c;t[3]!==l||t[4]!==a||t[5]!==n?(c={org:a,project:n,locator:l},t[3]=l,t[4]=a,t[5]=n,t[6]=c):c=t[6];const d=c;let p;return t[7]!==o||t[8]!==d?(p=w.jsx(t_.Provider,{value:d,children:o}),t[7]=o,t[8]=d,t[9]=p):p=t[9],p};function PW(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}const EW=e=>{switch(e){case"success":return DW;case"info":return MW;case"warning":return OW;case"error":return NW;default:return null}},AW=Array(12).fill(0),RW=({visible:e,className:t})=>ee.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},ee.createElement("div",{className:"sonner-spinner"},AW.map((o,a)=>ee.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${a}`})))),DW=ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ee.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),OW=ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},ee.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),MW=ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ee.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),NW=ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ee.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),IW=ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},ee.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),ee.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),LW=()=>{const[e,t]=ee.useState(document.hidden);return ee.useEffect(()=>{const o=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",o),()=>window.removeEventListener("visibilitychange",o)},[]),e};let Nw=1;class BW{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const o=this.subscribers.indexOf(t);this.subscribers.splice(o,1)}),this.publish=t=>{this.subscribers.forEach(o=>o(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var o;const{message:a,...n}=t,i=typeof t?.id=="number"||((o=t.id)==null?void 0:o.length)>0?t.id:Nw++,l=this.toasts.find(d=>d.id===i),c=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),l?this.toasts=this.toasts.map(d=>d.id===i?(this.publish({...d,...t,id:i,title:a}),{...d,...t,id:i,dismissible:c,title:a}):d):this.addToast({title:a,...n,dismissible:c,id:i}),i},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(o=>o({id:t,dismiss:!0})))):this.toasts.forEach(o=>{this.subscribers.forEach(a=>a({id:o.id,dismiss:!0}))}),t),this.message=(t,o)=>this.create({...o,message:t}),this.error=(t,o)=>this.create({...o,message:t,type:"error"}),this.success=(t,o)=>this.create({...o,type:"success",message:t}),this.info=(t,o)=>this.create({...o,type:"info",message:t}),this.warning=(t,o)=>this.create({...o,type:"warning",message:t}),this.loading=(t,o)=>this.create({...o,type:"loading",message:t}),this.promise=(t,o)=>{if(!o)return;let a;o.loading!==void 0&&(a=this.create({...o,promise:t,type:"loading",message:o.loading,description:typeof o.description!="function"?o.description:void 0}));const n=Promise.resolve(t instanceof Function?t():t);let i=a!==void 0,l;const c=n.then(async p=>{if(l=["resolve",p],ee.isValidElement(p))i=!1,this.create({id:a,type:"default",message:p});else if(jW(p)&&!p.ok){i=!1;const h=typeof o.error=="function"?await o.error(`HTTP error! status: ${p.status}`):o.error,f=typeof o.description=="function"?await o.description(`HTTP error! status: ${p.status}`):o.description,b=typeof h=="object"&&!ee.isValidElement(h)?h:{message:h};this.create({id:a,type:"error",description:f,...b})}else if(p instanceof Error){i=!1;const h=typeof o.error=="function"?await o.error(p):o.error,f=typeof o.description=="function"?await o.description(p):o.description,b=typeof h=="object"&&!ee.isValidElement(h)?h:{message:h};this.create({id:a,type:"error",description:f,...b})}else if(o.success!==void 0){i=!1;const h=typeof o.success=="function"?await o.success(p):o.success,f=typeof o.description=="function"?await o.description(p):o.description,b=typeof h=="object"&&!ee.isValidElement(h)?h:{message:h};this.create({id:a,type:"success",description:f,...b})}}).catch(async p=>{if(l=["reject",p],o.error!==void 0){i=!1;const m=typeof o.error=="function"?await o.error(p):o.error,h=typeof o.description=="function"?await o.description(p):o.description,v=typeof m=="object"&&!ee.isValidElement(m)?m:{message:m};this.create({id:a,type:"error",description:h,...v})}}).finally(()=>{i&&(this.dismiss(a),a=void 0),o.finally==null||o.finally.call(o)}),d=()=>new Promise((p,m)=>c.then(()=>l[0]==="reject"?m(l[1]):p(l[1])).catch(m));return typeof a!="string"&&typeof a!="number"?{unwrap:d}:Object.assign(a,{unwrap:d})},this.custom=(t,o)=>{const a=o?.id||Nw++;return this.create({jsx:t(a),id:a,...o}),a},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const ln=new BW,FW=(e,t)=>{const o=t?.id||Nw++;return ln.addToast({title:e,...t,id:o}),o},jW=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",zW=FW,UW=()=>ln.toasts,qW=()=>ln.getActiveToasts(),bd=Object.assign(zW,{success:ln.success,info:ln.info,warning:ln.warning,error:ln.error,custom:ln.custom,message:ln.message,promise:ln.promise,dismiss:ln.dismiss,loading:ln.loading},{getHistory:UW,getToasts:qW});PW("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function Nh(e){return e.label!==void 0}const $W=3,VW="24px",HW="16px",LA=4e3,GW=356,WW=14,KW=45,YW=200;function Dr(...e){return e.filter(Boolean).join(" ")}function ZW(e){const[t,o]=e.split("-"),a=[];return t&&a.push(t),o&&a.push(o),a}const QW=e=>{var t,o,a,n,i,l,c,d,p;const{invert:m,toast:h,unstyled:f,interacting:v,setHeights:b,visibleToasts:S,heights:_,index:T,toasts:x,expanded:E,removeToast:C,defaultRichColors:P,closeButton:R,style:D,cancelButtonStyle:O,actionButtonStyle:L,className:q="",descriptionClassName:B="",duration:U,position:F,gap:W,expandByDefault:ae,classNames:H,icons:K,closeButtonAriaLabel:J="Close toast"}=e,[le,Q]=ee.useState(null),[N,G]=ee.useState(null),[V,I]=ee.useState(!1),[z,X]=ee.useState(!1),[pe,he]=ee.useState(!1),[_e,qe]=ee.useState(!1),[Z,ne]=ee.useState(!1),[ve,ie]=ee.useState(0),[Te,Ce]=ee.useState(0),it=ee.useRef(h.duration||U||LA),lt=ee.useRef(null),Ge=ee.useRef(null),tt=T===0,Me=T+1<=S,De=h.type,He=h.dismissible!==!1,Y=h.className||"",oe=h.descriptionClassName||"",se=ee.useMemo(()=>_.findIndex(Qe=>Qe.toastId===h.id)||0,[_,h.id]),ke=ee.useMemo(()=>{var Qe;return(Qe=h.closeButton)!=null?Qe:R},[h.closeButton,R]),Ee=ee.useMemo(()=>h.duration||U||LA,[h.duration,U]),Ae=ee.useRef(0),Ie=ee.useRef(0),at=ee.useRef(0),rt=ee.useRef(null),[wt,At]=F.split("-"),Tt=ee.useMemo(()=>_.reduce((Qe,ht,ao)=>ao>=se?Qe:Qe+ht.height,0),[_,se]),$o=LW(),Qr=h.invert||m,nr=De==="loading";Ie.current=ee.useMemo(()=>se*W+Tt,[se,Tt]),ee.useEffect(()=>{it.current=Ee},[Ee]),ee.useEffect(()=>{I(!0)},[]),ee.useEffect(()=>{const Qe=Ge.current;if(Qe){const ht=Qe.getBoundingClientRect().height;return Ce(ht),b(ao=>[{toastId:h.id,height:ht,position:h.position},...ao]),()=>b(ao=>ao.filter(Jt=>Jt.toastId!==h.id))}},[b,h.id]),ee.useLayoutEffect(()=>{if(!V)return;const Qe=Ge.current,ht=Qe.style.height;Qe.style.height="auto";const ao=Qe.getBoundingClientRect().height;Qe.style.height=ht,Ce(ao),b(Jt=>Jt.find(Ft=>Ft.toastId===h.id)?Jt.map(Ft=>Ft.toastId===h.id?{...Ft,height:ao}:Ft):[{toastId:h.id,height:ao,position:h.position},...Jt])},[V,h.title,h.description,b,h.id,h.jsx,h.action,h.cancel]);const Xe=ee.useCallback(()=>{X(!0),ie(Ie.current),b(Qe=>Qe.filter(ht=>ht.toastId!==h.id)),setTimeout(()=>{C(h)},YW)},[h,C,b,Ie]);ee.useEffect(()=>{if(h.promise&&De==="loading"||h.duration===1/0||h.type==="loading")return;let Qe;return E||v||$o?(()=>{if(at.current<Ae.current){const Jt=new Date().getTime()-Ae.current;it.current=it.current-Jt}at.current=new Date().getTime()})():it.current!==1/0&&(Ae.current=new Date().getTime(),Qe=setTimeout(()=>{h.onAutoClose==null||h.onAutoClose.call(h,h),Xe()},it.current)),()=>clearTimeout(Qe)},[E,v,h,De,$o,Xe]),ee.useEffect(()=>{h.delete&&(Xe(),h.onDismiss==null||h.onDismiss.call(h,h))},[Xe,h.delete]);function ft(){var Qe;if(K?.loading){var ht;return ee.createElement("div",{className:Dr(H?.loader,h==null||(ht=h.classNames)==null?void 0:ht.loader,"sonner-loader"),"data-visible":De==="loading"},K.loading)}return ee.createElement(RW,{className:Dr(H?.loader,h==null||(Qe=h.classNames)==null?void 0:Qe.loader),visible:De==="loading"})}const Rt=h.icon||K?.[De]||EW(De);var dt,Bt;return ee.createElement("li",{tabIndex:0,ref:Ge,className:Dr(q,Y,H?.toast,h==null||(t=h.classNames)==null?void 0:t.toast,H?.default,H?.[De],h==null||(o=h.classNames)==null?void 0:o[De]),"data-sonner-toast":"","data-rich-colors":(dt=h.richColors)!=null?dt:P,"data-styled":!(h.jsx||h.unstyled||f),"data-mounted":V,"data-promise":!!h.promise,"data-swiped":Z,"data-removed":z,"data-visible":Me,"data-y-position":wt,"data-x-position":At,"data-index":T,"data-front":tt,"data-swiping":pe,"data-dismissible":He,"data-type":De,"data-invert":Qr,"data-swipe-out":_e,"data-swipe-direction":N,"data-expanded":!!(E||ae&&V),"data-testid":h.testId,style:{"--index":T,"--toasts-before":T,"--z-index":x.length-T,"--offset":`${z?ve:Ie.current}px`,"--initial-height":ae?"auto":`${Te}px`,...D,...h.style},onDragEnd:()=>{he(!1),Q(null),rt.current=null},onPointerDown:Qe=>{Qe.button!==2&&(nr||!He||(lt.current=new Date,ie(Ie.current),Qe.target.setPointerCapture(Qe.pointerId),Qe.target.tagName!=="BUTTON"&&(he(!0),rt.current={x:Qe.clientX,y:Qe.clientY})))},onPointerUp:()=>{var Qe,ht,ao;if(_e||!He)return;rt.current=null;const Jt=Number(((Qe=Ge.current)==null?void 0:Qe.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Aa=Number(((ht=Ge.current)==null?void 0:ht.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ft=new Date().getTime()-((ao=lt.current)==null?void 0:ao.getTime()),po=le==="x"?Jt:Aa,Nn=Math.abs(po)/Ft;if(Math.abs(po)>=KW||Nn>.11){ie(Ie.current),h.onDismiss==null||h.onDismiss.call(h,h),G(le==="x"?Jt>0?"right":"left":Aa>0?"down":"up"),Xe(),qe(!0);return}else{var ma,Ya;(ma=Ge.current)==null||ma.style.setProperty("--swipe-amount-x","0px"),(Ya=Ge.current)==null||Ya.style.setProperty("--swipe-amount-y","0px")}ne(!1),he(!1),Q(null)},onPointerMove:Qe=>{var ht,ao,Jt;if(!rt.current||!He||((ht=window.getSelection())==null?void 0:ht.toString().length)>0)return;const Ft=Qe.clientY-rt.current.y,po=Qe.clientX-rt.current.x;var Nn;const ma=(Nn=e.swipeDirections)!=null?Nn:ZW(F);!le&&(Math.abs(po)>1||Math.abs(Ft)>1)&&Q(Math.abs(po)>Math.abs(Ft)?"x":"y");let Ya={x:0,y:0};const Ul=rr=>1/(1.5+Math.abs(rr)/20);if(le==="y"){if(ma.includes("top")||ma.includes("bottom"))if(ma.includes("top")&&Ft<0||ma.includes("bottom")&&Ft>0)Ya.y=Ft;else{const rr=Ft*Ul(Ft);Ya.y=Math.abs(rr)<Math.abs(Ft)?rr:Ft}}else if(le==="x"&&(ma.includes("left")||ma.includes("right")))if(ma.includes("left")&&po<0||ma.includes("right")&&po>0)Ya.x=po;else{const rr=po*Ul(po);Ya.x=Math.abs(rr)<Math.abs(po)?rr:po}(Math.abs(Ya.x)>0||Math.abs(Ya.y)>0)&&ne(!0),(ao=Ge.current)==null||ao.style.setProperty("--swipe-amount-x",`${Ya.x}px`),(Jt=Ge.current)==null||Jt.style.setProperty("--swipe-amount-y",`${Ya.y}px`)}},ke&&!h.jsx&&De!=="loading"?ee.createElement("button",{"aria-label":J,"data-disabled":nr,"data-close-button":!0,onClick:nr||!He?()=>{}:()=>{Xe(),h.onDismiss==null||h.onDismiss.call(h,h)},className:Dr(H?.closeButton,h==null||(a=h.classNames)==null?void 0:a.closeButton)},(Bt=K?.close)!=null?Bt:IW):null,(De||h.icon||h.promise)&&h.icon!==null&&(K?.[De]!==null||h.icon)?ee.createElement("div",{"data-icon":"",className:Dr(H?.icon,h==null||(n=h.classNames)==null?void 0:n.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||ft():null,h.type!=="loading"?Rt:null):null,ee.createElement("div",{"data-content":"",className:Dr(H?.content,h==null||(i=h.classNames)==null?void 0:i.content)},ee.createElement("div",{"data-title":"",className:Dr(H?.title,h==null||(l=h.classNames)==null?void 0:l.title)},h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title),h.description?ee.createElement("div",{"data-description":"",className:Dr(B,oe,H?.description,h==null||(c=h.classNames)==null?void 0:c.description)},typeof h.description=="function"?h.description():h.description):null),ee.isValidElement(h.cancel)?h.cancel:h.cancel&&Nh(h.cancel)?ee.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||O,onClick:Qe=>{Nh(h.cancel)&&He&&(h.cancel.onClick==null||h.cancel.onClick.call(h.cancel,Qe),Xe())},className:Dr(H?.cancelButton,h==null||(d=h.classNames)==null?void 0:d.cancelButton)},h.cancel.label):null,ee.isValidElement(h.action)?h.action:h.action&&Nh(h.action)?ee.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||L,onClick:Qe=>{Nh(h.action)&&(h.action.onClick==null||h.action.onClick.call(h.action,Qe),!Qe.defaultPrevented&&Xe())},className:Dr(H?.actionButton,h==null||(p=h.classNames)==null?void 0:p.actionButton)},h.action.label):null)};function BA(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function JW(e,t){const o={};return[e,t].forEach((a,n)=>{const i=n===1,l=i?"--mobile-offset":"--offset",c=i?HW:VW;function d(p){["top","right","bottom","left"].forEach(m=>{o[`${l}-${m}`]=typeof p=="number"?`${p}px`:p})}typeof a=="number"||typeof a=="string"?d(a):typeof a=="object"?["top","right","bottom","left"].forEach(p=>{a[p]===void 0?o[`${l}-${p}`]=c:o[`${l}-${p}`]=typeof a[p]=="number"?`${a[p]}px`:a[p]}):d(c)}),o}const XW=ee.forwardRef(function(t,o){const{id:a,invert:n,position:i="bottom-right",hotkey:l=["altKey","KeyT"],expand:c,closeButton:d,className:p,offset:m,mobileOffset:h,theme:f="light",richColors:v,duration:b,style:S,visibleToasts:_=$W,toastOptions:T,dir:x=BA(),gap:E=WW,icons:C,containerAriaLabel:P="Notifications"}=t,[R,D]=ee.useState([]),O=ee.useMemo(()=>a?R.filter(V=>V.toasterId===a):R.filter(V=>!V.toasterId),[R,a]),L=ee.useMemo(()=>Array.from(new Set([i].concat(O.filter(V=>V.position).map(V=>V.position)))),[O,i]),[q,B]=ee.useState([]),[U,F]=ee.useState(!1),[W,ae]=ee.useState(!1),[H,K]=ee.useState(f!=="system"?f:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),J=ee.useRef(null),le=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),Q=ee.useRef(null),N=ee.useRef(!1),G=ee.useCallback(V=>{D(I=>{var z;return(z=I.find(X=>X.id===V.id))!=null&&z.delete||ln.dismiss(V.id),I.filter(({id:X})=>X!==V.id)})},[]);return ee.useEffect(()=>ln.subscribe(V=>{if(V.dismiss){requestAnimationFrame(()=>{D(I=>I.map(z=>z.id===V.id?{...z,delete:!0}:z))});return}setTimeout(()=>{CM.flushSync(()=>{D(I=>{const z=I.findIndex(X=>X.id===V.id);return z!==-1?[...I.slice(0,z),{...I[z],...V},...I.slice(z+1)]:[V,...I]})})})}),[R]),ee.useEffect(()=>{if(f!=="system"){K(f);return}if(f==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?K("dark"):K("light")),typeof window>"u")return;const V=window.matchMedia("(prefers-color-scheme: dark)");try{V.addEventListener("change",({matches:I})=>{K(I?"dark":"light")})}catch{V.addListener(({matches:z})=>{try{K(z?"dark":"light")}catch(X){console.error(X)}})}},[f]),ee.useEffect(()=>{R.length<=1&&F(!1)},[R]),ee.useEffect(()=>{const V=I=>{var z;if(l.every(he=>I[he]||I.code===he)){var pe;F(!0),(pe=J.current)==null||pe.focus()}I.code==="Escape"&&(document.activeElement===J.current||(z=J.current)!=null&&z.contains(document.activeElement))&&F(!1)};return document.addEventListener("keydown",V),()=>document.removeEventListener("keydown",V)},[l]),ee.useEffect(()=>{if(J.current)return()=>{Q.current&&(Q.current.focus({preventScroll:!0}),Q.current=null,N.current=!1)}},[J.current]),ee.createElement("section",{ref:o,"aria-label":`${P} ${le}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},L.map((V,I)=>{var z;const[X,pe]=V.split("-");return O.length?ee.createElement("ol",{key:V,dir:x==="auto"?BA():x,tabIndex:-1,ref:J,className:p,"data-sonner-toaster":!0,"data-sonner-theme":H,"data-y-position":X,"data-x-position":pe,style:{"--front-toast-height":`${((z=q[0])==null?void 0:z.height)||0}px`,"--width":`${GW}px`,"--gap":`${E}px`,...S,...JW(m,h)},onBlur:he=>{N.current&&!he.currentTarget.contains(he.relatedTarget)&&(N.current=!1,Q.current&&(Q.current.focus({preventScroll:!0}),Q.current=null))},onFocus:he=>{he.target instanceof HTMLElement&&he.target.dataset.dismissible==="false"||N.current||(N.current=!0,Q.current=he.relatedTarget)},onMouseEnter:()=>F(!0),onMouseMove:()=>F(!0),onMouseLeave:()=>{W||F(!1)},onDragEnd:()=>F(!1),onPointerDown:he=>{he.target instanceof HTMLElement&&he.target.dataset.dismissible==="false"||ae(!0)},onPointerUp:()=>ae(!1)},O.filter(he=>!he.position&&I===0||he.position===V).map((he,_e)=>{var qe,Z;return ee.createElement(QW,{key:he.id,icons:C,index:_e,toast:he,defaultRichColors:v,duration:(qe=T?.duration)!=null?qe:b,className:T?.className,descriptionClassName:T?.descriptionClassName,invert:n,visibleToasts:_,closeButton:(Z=T?.closeButton)!=null?Z:d,interacting:W,position:V,style:T?.style,unstyled:T?.unstyled,classNames:T?.classNames,cancelButtonStyle:T?.cancelButtonStyle,actionButtonStyle:T?.actionButtonStyle,closeButtonAriaLabel:T?.closeButtonAriaLabel,removeToast:G,toasts:O.filter(ne=>ne.position==he.position),heights:q.filter(ne=>ne.position==he.position),setHeights:B,expandByDefault:c,gap:E,expanded:U,swipeDirections:t.swipeDirections})})):null}))}),On={registryApp:(e,t)=>["registry-app",e,t],publicConfig:()=>["publicConfig"],appVersionCheck:()=>["appVersionCheck"],organizations:()=>["organizations"],members:e=>[e,"members"],mentionMembers:e=>[e,"mention-members"],invitations:e=>[e,"invitations"],organizationRoles:e=>[e,"organization-roles"],myCapabilities:e=>[e,"my-capabilities"],taskBoardItems:e=>[e,"task-board-items"],taskBoardItemPrs:(e,t)=>[e,"task-board-item-prs",t],previewProbe:(e,t)=>[e,"preview-probe",t],taskBoardActivity:(e,t)=>[e,"task-board-activity",t],taskBoardAdminOrgs:e=>[e,"task-board-admin-orgs"],taskBoardAnalytics:(e,t,o,a,n,i)=>[e,"task-board-analytics",t,o,a,n,i],taskBoardOperationTasks:(e,t,o,a,n,i)=>[e,"task-board-analytics","TASK_BOARD_OPERATION_TASKS",t,o,a,n,i],threadAnalyticsOrgs:e=>[e,"thread-analytics-orgs"],threadAnalytics:(e,t,o,a)=>[e,"thread-analytics",t,o,a],notifications:e=>[e,"notifications"],notificationSubscribers:(e,t)=>[e,"notification-subscribers",t],taskBoardComments:(e,t)=>[e,"task-board-comments",t],report:(e,t)=>["report",e,t??""],reportAll:e=>["report",e],reportsConnection:(e,t)=>["reports","connection",e,t],reportsDiagnostic:(e,t)=>["reports","diagnostic",e,t],reportsVirtualMcp:(e,t)=>["reports","virtual-mcp",e,t],reportsCompanionSchema:(e,t)=>["reports","companion-schema",e,t],reportsCompanionConnections:(e,t)=>["reports","companion-connections",e,t],reportsCompanionConnectionsPrefix:e=>["reports","companion-connections",e],reportsCompanionRegistry:(e,t)=>["reports","companion-registry",e,t],reportsCompanionOAuthStatus:(e,t)=>["reports","companion-oauth-status",e,t],reportsCompanionGaProperties:(e,t)=>["reports","companion-ga-properties",e,t],reportsCompanionGscSites:(e,t)=>["reports","companion-gsc-sites",e,t],reportsCompanionGithubRepos:(e,t,o)=>["reports","companion-github-repos",e,t,o],reportsCompanionGithubSelected:(e,t)=>["reports","companion-github-selected",e,t],reportsConnectionStatus:(e,t)=>["reports","connection-status",e,t],connectionActivity:(e,t,o)=>["monitoring","activity",e,t,o],connectionActivityErrors:(e,t,o)=>["monitoring","activity","errors",e,t,o],isMCPAuthenticated:(e,t)=>["is-mcp-authenticated",e,t],mcpClient:(e,t,o,a)=>["mcp","client",e,t,o,a],mcpToolsList:e=>["mcp","client",e,"tools"],mcpResourcesList:e=>["mcp","client",e,"resources"],mcpPromptsList:e=>["mcp","client",e,"prompts"],mcpReadResource:(e,t)=>["mcp","client",e,"resource",t],mcpUiResourceHtml:(e,t,o)=>["mcp","ui-resource-html",e,t,o],mcpToolCall:(e,t,o)=>["mcp","client",e,"tool-call",t,o],mcpClientPrefix:()=>["mcp","client"],agentEntryThreads:(e,t,o)=>["agent-entry-threads",e,t,o],virtualMcpLastUsed:(e,t)=>["virtual-mcp","last-used",e,t],optimisticProjectSidebarViews:(e,t)=>["virtual-mcp","optimistic-sidebar-views",e,t],githubPrState:(e,t,o,a,n)=>["github-pr-state",e,t,o,a,n],githubLastPublishedPr:(e,t,o,a,n)=>["github-last-published-pr",e,t,o,a,n],githubOpenPrs:(e,t,o,a)=>["github-open-prs",e,t,o,a],githubBranchSearch:(e,t,o,a,n,i)=>["github-branch-search",e,t,o,a,n,i],organizationSettings:e=>["organization-settings",e],infraBillingSites:e=>["infra-billing-sites",e],orgHasSite:e=>["org-has-site",e],infraBilling:(e,t,o)=>["infra-billing",e,t,o],userModelPreferences:e=>["user-model-preferences",e],projectSidebar:e=>["project-sidebar",e],apiKeysList:e=>["api-keys",e],activeOrganization:e=>["activeOrganization",e],orgAccessStatus:e=>["org-access-status",e],homeNextActions:e=>["home-next-actions",e],projectSearch:(e,t)=>["project-search",e,t],toolCall:(e,t,o)=>["tool-call",e,t,o],collection:(e,t,o)=>[e,t,"collection",o],collectionItem:(e,t,o,a,n)=>[e,t,o,"collection",a,n],collectionList:(e,t,o,a,n)=>[e,t,o,"collection",a,"list",n],collectionListInfinite:(e,t,o,a,n)=>[e,t,o,"collection",a,"list-infinite",n],monitoringStatsToolCalls:(e,t)=>["MONITORING_STATS",e,"tool-calls",t],monitoringStatsLlm:(e,t)=>["MONITORING_STATS",e,"llm",t],monitoringHeatmap:(e,t)=>["MONITORING_HEATMAP",e,t],monitoringThreadUsage:(e,t)=>["MONITORING_THREAD_USAGE",e,t],monitoringLogsInfinite:(e,t)=>["monitoring","logs-infinite",e,t],monitoringLogDetail:e=>["monitoring","log-detail",e],ensureTask:(e,t)=>["ensure-task",e,t],viewedThreadMetadataRefresh:(e,t)=>["viewed-thread-metadata-refresh",e,t],globalSearch:(e,t,o,a)=>["global-search",e,t,o,a?[...a].sort():null],threadsInfinite:(e,t)=>["threads","list-infinite",e,t],threadMessages:(e,t)=>["threads","messages",e,t],threadOutputs:e=>["thread-outputs",e],fileText:e=>["file-text",e],csvThumb:e=>["csv-thumb",e],toolDefinitionLookup:(e,t,o)=>["virtual-mcp",t,e??"default","tools","lookup",o],virtualMcpPrompts:(e,t)=>["virtual-mcp",t,e??"default","prompts"],virtualMcpResources:(e,t)=>["virtual-mcp",t,e??"default","resources"],suggestionItems:(e,t,o)=>[...e,t,o],user:e=>["user",e],tags:e=>[e,"tags"],experiments:(e,t)=>[e,"experiments",t],experimentResults:(e,t,o)=>[e,"experiments",t,o,"results"],memberTags:(e,t)=>[e,"member-tags",t],taskBoardPrompts:e=>["task-board-prompts",e],taskBoardSprints:e=>["task-board-sprints",e],automationsAll:e=>["automations",e],automations:(e,t)=>["automations",e,t??null],automation:(e,t)=>["automation",e,t],automationRuns:(e,t,o)=>["automation-runs",e,t,...[...o??[]].sort()],automationRunStats:(e,t,o)=>["automation-run-stats",e,t,o],projectConnectionDetails:(e,t)=>["project-connections",e,"details",t],aiProviders:e=>["ai-providers",e],aiProviderModels:(e,t)=>["ai-provider-models",e,t],aiProviderKeys:e=>["ai-provider-keys",e],codexSubscription:(e,t)=>["codex-subscription",e,t],claudeSubscription:(e,t)=>["claude-subscription",e,t],subscriptionUsage:(e,t,o)=>["subscription-usage",e,t,o],subscriptionUsageSnapshot:(e,t,o,a)=>["subscription-usage",e,t,o,a],githubCopilot:e=>["github-copilot",e],aiProviderKeyPreview:e=>["ai-provider-key-preview",e],secrets:e=>["secrets",e],fileConfigs:e=>["file-configs",e],orgFsVolume:(e,t)=>["org-fs",e,t],orgFsList:(e,t,o)=>["org-fs",e,t,"list",o],orgFsVolumeFiles:(e,t)=>["org-fs",e,t,"files"],orgFsStat:(e,t,o)=>["org-fs",e,t,"stat",o],orgFsText:(e,t,o,a)=>["org-fs",e,t,"text",o,a],orgFsPublicSets:e=>["org-fs-public-sets",e],projectFolderEnsure:(e,t,o)=>["project-folder-ensure",e,t,o],userAvatars:()=>["user-avatars"],orgRepoSyncs:e=>["org-repo-syncs",e],gitProviderCapabilities:e=>["git-provider-capabilities",e],githubConnectFlow:(e,t)=>["github-connect-flow",e,t],githubConnectRepositories:(e,t,o,a)=>["github-connect-repositories",e,t,o,a],gitAccounts:e=>["git-accounts",e],repositories:(e,t)=>t?["repositories",e,t]:["repositories",e],providerRepoSearch:(e,t,o)=>["provider-repo-search-pages",e,t,o],jiraIntegration:e=>["jira-integration",e],jiraBoards:(e,t)=>["jira-boards",e,t],jiraBoardColumns:(e,t)=>["jira-board-columns",e,t],jiraAutomations:e=>["jira-automations",e],orgFsRecent:e=>["org-fs-recent",e],orgFsSearchRoot:e=>["org-fs-search",e],orgFsSearch:(e,t,o,a)=>["org-fs-search",e,t,o,a],orgFsSkills:e=>["org-fs-skills",e],slashSkills:e=>["slash-skills",e],filePickerObjects:(e,t,o,a)=>["file-picker-objects",e,t,o??"",a??!1],filePickerObjectsByConfig:(e,t)=>["file-picker-objects",e,t],aiPlanEntitlements:e=>["ai-plan-entitlements",e],aiPlanCatalog:e=>["ai-plan-catalog",e],checkoutReturnPoll:e=>["checkout-return-poll",e],aiPlanPrices:()=>["ai-plan-prices"],orgBillingAccount:e=>["org-billing-account",e],aiProviderCredits:(e,t)=>["ai-provider-credits",e,t],orgSsoConfig:e=>["org-sso-config",e],orgSsoStatus:e=>["org-sso-status",e],orgNotice:e=>["org-notice",e],storeDiscovery:(e,t)=>["store-discovery",e,t],organizationDomains:e=>["organization-domains",e],organizationJoinRequests:e=>["organization-join-requests",e],domainLookup:e=>["domain-lookup",e],deploymentAdminMe:()=>["deployment-admin","me"],deploymentAdminUsers:e=>["deployment-admin","users",e],deploymentAdminOrgs:e=>["deployment-admin","orgs",e],deploymentAdminOrgsList:()=>["deployment-admin","orgs"],deploymentAdminPrompts:()=>["deployment-admin","prompts"],deploymentAdminOrgFlags:e=>["deployment-admin","orgs",e,"flags"],deploymentAdminOrgNotice:e=>["deployment-admin","orgs",e,"notice"],deploymentAdminOrgSites:e=>["deployment-admin","orgs",e,"sites"],deploymentAdminOrgProjects:e=>["deployment-admin","orgs",e,"projects"],decoSites:e=>["deco-sites",e],hostingAccess:(e,t)=>["hosting",e,t,"access"],hostingDeployments:(e,t)=>["hosting",e,t,"deployments"],hostingDeploymentHistory:(e,t)=>["hosting",e,t,"deployment-history"],hostingBuildLogs:(e,t,o,a)=>["hosting",e,t,"build-logs",o,a],hostingEnv:(e,t)=>["hosting",e,t,"env"],hostingRedirects:(e,t)=>["hosting",e,t,"redirects"],hostingDomains:(e,t)=>["hosting",e,t,"domains"],hostingSecrets:(e,t)=>["hosting",e,t,"secrets"],e2eRuns:(e,t)=>["hosting",e,t,"e2e-runs"],e2eChecks:(e,t)=>["hosting",e,t,"e2e-checks"],e2eTypes:(e,t)=>["hosting",e,t,"e2e-types"],e2eRun:(e,t,o)=>["hosting",e,t,"e2e-run",o],analyticsStatus:(e,t)=>["hosting",e,t,"analytics-status"],analyticsData:(e,t,o,a)=>["hosting",e,t,"analytics-data",o,a],cdnData:(e,t,o)=>["monitor",e,"cdn-data",t,o],siteMonitorData:(e,t,o)=>["monitor",e,"site-data",t,o],orderMonitor:e=>["order-monitor",e],orderMonitorStores:e=>["order-monitor",e,"stores"],orderMonitorDay:(e,t,o)=>["order-monitor",e,"day",t,o],orderMonitorPushes:(e,t,o,a)=>["order-monitor",e,"pushes",t,o,a],editorResolve:e=>["editor-resolve",e],webSearchBlob:e=>["web-search-blob",e],decofile:e=>["decofile",e],decofileDraft:e=>["decofile-draft",e],liveMeta:(...e)=>["live-meta",...e],contentBackend:(...e)=>["content-backend",...e],localAppReachable:e=>["local-app-reachable",e],contentRevision:e=>["content-revision",e],contentVersions:e=>["content-versions",e],contentChanges:e=>["content-changes",e],conflictAuthor:(e,t,o)=>["conflict-author",e,t,o],contentChangeSides:(e,t)=>["content-changes",e,"sides",t],protocolDraftRead:(e,t,o)=>["protocol-draft-read",e,t,o],mainSchemaV8:(e,t)=>["main-schema-v8",e,t],hostedReleases:(e,t)=>["hosted-releases",e,t],hostedReapplyCheck:(e,t,o,a)=>["hosted-releases",e,t,"reapply-check",o,a],hostedSiteTokens:(e,t)=>["hosted-site-tokens",e,t],sandboxInvoke:(e,t)=>["sandbox-invoke",e,t],sandboxSprite:e=>["sandbox-sprite",e]};function lve(e,t){e.invalidateQueries({predicate:o=>{const a=o.queryKey;return(!t||a[1]===t)&&a[3]==="collection"&&a[4]==="VIRTUAL_MCP"}})}const MI={itemCreatedSuccessfully:"Item created successfully",itemUpdatedSuccessfully:"Item updated successfully",itemDeletedSuccessfully:"Item deleted successfully",createItemFailed:"Failed to create item: {error}",updateItemFailed:"Failed to update item: {error}",deleteItemFailed:"Failed to delete item: {error}"};function eK(e){Object.assign(MI,e)}function Pc(e,t){const o=MI[e];return typeof o=="function"?o(t??{}):typeof o=="string"&&t?o.replace(/\{(\w+)\}/g,(a,n)=>String(t[n]??"")):o??e}function tK(e,t,o){const a=[];if(e?.trim()){const n=e.trim(),i=o.map(l=>({field:[String(l)],operator:"contains",value:n}));i.length===1&&i[0]?a.push(i[0]):i.length>1&&a.push({operator:"or",conditions:i})}if(t&&t.length>0)for(const n of t)a.push({field:[n.column],operator:"eq",value:n.value});if(a.length!==0)return a.length===1?a[0]:{operator:"and",conditions:a}}function oK(e,t,o){const a=e??o,n=t??"desc";return[{field:[String(a)],direction:n}]}function _l(e){if(!e||typeof e!="object")throw new Error("Invalid result");if("isError"in e&&e.isError)throw new Error("content"in e&&Array.isArray(e.content)&&e.content[0]?.type==="text"?e.content[0].text:"Unknown error");if("structuredContent"in e)return e.structuredContent;throw new Error("No structured content found")}function aK(e,t,o,a){const n=t.toUpperCase(),i=`COLLECTION_${n}_GET`;return{queryKey:On.collectionItem(a,e,"",n,o??""),queryFn:async()=>{if(!o||!a)return{item:null};const l=await a.callTool({name:i,arguments:{id:o}});return _l(l)},staleTime:6e4}}function cve(e,t,o,a){const n=Re.c(5);let i;n[0]!==a||n[1]!==t||n[2]!==o||n[3]!==e?(i=aK(e,t,o,a),n[0]=a,n[1]=t,n[2]=o,n[3]=e,n[4]=i):i=n[4];const{data:l}=Nl(i);return l?.item??null}const nK={structuredContent:{items:[]},isError:!1};function NI(e,t,o,a={}){const{searchTerm:n,filters:i,sortKey:l,sortDirection:c,searchFields:d=["title","description"],defaultSortKey:p="updated_at",pageSize:m=100,additionalToolArgs:h}=a,f=t.toUpperCase(),v=`COLLECTION_${f}_LIST`,b=tK(n,i,d),S=oK(l,c,p),_={...b&&{where:b},...S&&{orderBy:S},limit:m,offset:0,...h},T=JSON.stringify(_);return{queryKey:On.collectionList(o,e,"",f,T),queryFn:async()=>{if(!o)return nK;const E=await o.callTool({name:v,arguments:_});return _l(E),E},staleTime:3e4,retry:!1,select:E=>_l(E??{})?.items??[]}}function dve(e,t,o,a={}){return{...NI(e,t,o,a),select:i=>{const l=_l(i??{});return{items:l?.items??[],totalCount:l?.totalCount,hasMore:l?.hasMore}}}}function uve(e,t,o,a){const n=Re.c(7);let i;n[0]!==a?(i=a===void 0?{}:a,n[0]=a,n[1]=i):i=n[1];const l=i;let c;n[2]!==o||n[3]!==t||n[4]!==l||n[5]!==e?(c=NI(e,t,o,l),n[2]=o,n[3]=t,n[4]=l,n[5]=e,n[6]=c):c=n[6];const{data:d}=Nl(c);return d}function rK(e,t,o){const a=o.toUpperCase();e.invalidateQueries({predicate:n=>{const i=n.queryKey;return i[1]===t&&i[3]==="collection"&&i[4]===a}})}function pve(e,t,o,a){const n=Re.c(50);let i;n[0]!==a?(i=a===void 0?{}:a,n[0]=a,n[1]=i):i=n[1];const l=i;let c;n[2]!==l.silent?(c=l.silent?{success:cK,error:lK}:{success:sK,error:iK},n[2]=l.silent,n[3]=c):c=n[3];const d=c,p=vv();let m;n[4]!==t?(m=t.toUpperCase(),n[4]=t,n[5]=m):m=n[5];const h=m,f=`COLLECTION_${h}_CREATE`,v=`COLLECTION_${h}_UPDATE`,b=`COLLECTION_${h}_DELETE`;let S;n[6]!==t||n[7]!==p||n[8]!==e?(S=()=>rK(p,e,t),n[6]=t,n[7]=p,n[8]=e,n[9]=S):S=n[9];const _=S;let T;n[10]!==o||n[11]!==f?(T=async K=>{const J=await o.callTool({name:f,arguments:{data:K}});if(J.isError)throw new Error(Array.isArray(J.content)?J.content[0]?.text:String(J.content));return _l(J).item},n[10]=o,n[11]=f,n[12]=T):T=n[12];let x;n[13]!==_||n[14]!==d?(x=()=>{_(),d.success(Pc("itemCreatedSuccessfully"))},n[13]=_,n[14]=d,n[15]=x):x=n[15];let E;n[16]!==d?(E=K=>{const J=K instanceof Error?K.message:String(K);d.error(Pc("createItemFailed",{error:J}))},n[16]=d,n[17]=E):E=n[17];let C;n[18]!==T||n[19]!==x||n[20]!==E?(C={mutationFn:T,onSuccess:x,onError:E},n[18]=T,n[19]=x,n[20]=E,n[21]=C):C=n[21];const P=sp(C);let R;n[22]!==o||n[23]!==v?(R=async K=>{const{id:J,data:le}=K,Q=await o.callTool({name:v,arguments:{id:J,data:le}});return _l(Q).item},n[22]=o,n[23]=v,n[24]=R):R=n[24];let D;n[25]!==_||n[26]!==d?(D=()=>{_(),d.success(Pc("itemUpdatedSuccessfully"))},n[25]=_,n[26]=d,n[27]=D):D=n[27];let O;n[28]!==d?(O=K=>{const J=K instanceof Error?K.message:String(K);d.error(Pc("updateItemFailed",{error:J}))},n[28]=d,n[29]=O):O=n[29];let L;n[30]!==D||n[31]!==O||n[32]!==R?(L={mutationFn:R,onSuccess:D,onError:O},n[30]=D,n[31]=O,n[32]=R,n[33]=L):L=n[33];const q=sp(L);let B;n[34]!==o||n[35]!==b?(B=async K=>{const J=await o.callTool({name:b,arguments:{id:K}});return _l(J).item.id},n[34]=o,n[35]=b,n[36]=B):B=n[36];let U;n[37]!==_||n[38]!==d?(U=()=>{_(),d.success(Pc("itemDeletedSuccessfully"))},n[37]=_,n[38]=d,n[39]=U):U=n[39];let F;n[40]!==d?(F=K=>{const J=K instanceof Error?K.message:String(K);d.error(Pc("deleteItemFailed",{error:J}))},n[40]=d,n[41]=F):F=n[41];let W;n[42]!==B||n[43]!==U||n[44]!==F?(W={mutationFn:B,onSuccess:U,onError:F},n[42]=B,n[43]=U,n[44]=F,n[45]=W):W=n[45];const ae=sp(W);let H;return n[46]!==P||n[47]!==ae||n[48]!==q?(H={create:P,update:q,delete:ae},n[46]=P,n[47]=ae,n[48]=q,n[49]=H):H=n[49],H}function iK(e){return bd.error(e)}function sK(e){return bd.success(e)}function lK(){}function cK(){}new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");var Ih={exports:{}},jS={},fi={},rl={},zS={},US={},qS={},FA;function Cf(){return FA||(FA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class o extends t{constructor(x){if(super(),!e.IDENTIFIER.test(x))throw new Error("CodeGen: name must be a valid identifier");this.str=x}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=o;class a extends t{constructor(x){super(),this._items=typeof x=="string"?[x]:x}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const x=this._items[0];return x===""||x==='""'}get str(){var x;return(x=this._str)!==null&&x!==void 0?x:this._str=this._items.reduce((E,C)=>`${E}${C}`,"")}get names(){var x;return(x=this._names)!==null&&x!==void 0?x:this._names=this._items.reduce((E,C)=>(C instanceof o&&(E[C.str]=(E[C.str]||0)+1),E),{})}}e._Code=a,e.nil=new a("");function n(T,...x){const E=[T[0]];let C=0;for(;C<x.length;)c(E,x[C]),E.push(T[++C]);return new a(E)}e._=n;const i=new a("+");function l(T,...x){const E=[v(T[0])];let C=0;for(;C<x.length;)E.push(i),c(E,x[C]),E.push(i,v(T[++C]));return d(E),new a(E)}e.str=l;function c(T,x){x instanceof a?T.push(...x._items):x instanceof o?T.push(x):T.push(h(x))}e.addCodeArg=c;function d(T){let x=1;for(;x<T.length-1;){if(T[x]===i){const E=p(T[x-1],T[x+1]);if(E!==void 0){T.splice(x-1,3,E);continue}T[x++]="+"}x++}}function p(T,x){if(x==='""')return T;if(T==='""')return x;if(typeof T=="string")return x instanceof o||T[T.length-1]!=='"'?void 0:typeof x!="string"?`${T.slice(0,-1)}${x}"`:x[0]==='"'?T.slice(0,-1)+x.slice(1):void 0;if(typeof x=="string"&&x[0]==='"'&&!(T instanceof o))return`"${T}${x.slice(1)}`}function m(T,x){return x.emptyStr()?T:T.emptyStr()?x:l`${T}${x}`}e.strConcat=m;function h(T){return typeof T=="number"||typeof T=="boolean"||T===null?T:v(Array.isArray(T)?T.join(","):T)}function f(T){return new a(v(T))}e.stringify=f;function v(T){return JSON.stringify(T).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=v;function b(T){return typeof T=="string"&&e.IDENTIFIER.test(T)?new a(`.${T}`):n`[${T}]`}e.getProperty=b;function S(T){if(typeof T=="string"&&e.IDENTIFIER.test(T))return new a(`${T}`);throw new Error(`CodeGen: invalid export name: ${T}, use explicit $id name mapping`)}e.getEsmExportName=S;function _(T){return new a(T.toString())}e.regexpCode=_})(qS)),qS}var $S={},jA;function zA(){return jA||(jA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=Cf();class o extends Error{constructor(p){super(`CodeGen: "code" for ${p} not defined`),this.value=p.value}}var a;(function(d){d[d.Started=0]="Started",d[d.Completed=1]="Completed"})(a||(e.UsedValueState=a={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class n{constructor({prefixes:p,parent:m}={}){this._names={},this._prefixes=p,this._parent=m}toName(p){return p instanceof t.Name?p:this.name(p)}name(p){return new t.Name(this._newName(p))}_newName(p){const m=this._names[p]||this._nameGroup(p);return`${p}${m.index++}`}_nameGroup(p){var m,h;if(!((h=(m=this._parent)===null||m===void 0?void 0:m._prefixes)===null||h===void 0)&&h.has(p)||this._prefixes&&!this._prefixes.has(p))throw new Error(`CodeGen: prefix "${p}" is not allowed in this scope`);return this._names[p]={prefix:p,index:0}}}e.Scope=n;class i extends t.Name{constructor(p,m){super(m),this.prefix=p}setValue(p,{property:m,itemIndex:h}){this.value=p,this.scopePath=(0,t._)`.${new t.Name(m)}[${h}]`}}e.ValueScopeName=i;const l=(0,t._)`\n`;class c extends n{constructor(p){super(p),this._values={},this._scope=p.scope,this.opts={...p,_n:p.lines?l:t.nil}}get(){return this._scope}name(p){return new i(p,this._newName(p))}value(p,m){var h;if(m.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const f=this.toName(p),{prefix:v}=f,b=(h=m.key)!==null&&h!==void 0?h:m.ref;let S=this._values[v];if(S){const x=S.get(b);if(x)return x}else S=this._values[v]=new Map;S.set(b,f);const _=this._scope[v]||(this._scope[v]=[]),T=_.length;return _[T]=m.ref,f.setValue(m,{property:v,itemIndex:T}),f}getValue(p,m){const h=this._values[p];if(h)return h.get(m)}scopeRefs(p,m=this._values){return this._reduceValues(m,h=>{if(h.scopePath===void 0)throw new Error(`CodeGen: name "${h}" has no value`);return(0,t._)`${p}${h.scopePath}`})}scopeCode(p=this._values,m,h){return this._reduceValues(p,f=>{if(f.value===void 0)throw new Error(`CodeGen: name "${f}" has no value`);return f.value.code},m,h)}_reduceValues(p,m,h={},f){let v=t.nil;for(const b in p){const S=p[b];if(!S)continue;const _=h[b]=h[b]||new Map;S.forEach(T=>{if(_.has(T))return;_.set(T,a.Started);let x=m(T);if(x){const E=this.opts.es5?e.varKinds.var:e.varKinds.const;v=(0,t._)`${v}${E} ${T} = ${x};${this.opts._n}`}else if(x=f?.(T))v=(0,t._)`${v}${x}${this.opts._n}`;else throw new o(T);_.set(T,a.Completed)})}return v}}e.ValueScope=c})($S)),$S}var UA;function yt(){return UA||(UA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=Cf(),o=zA();var a=Cf();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return a._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return a.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return a.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return a.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return a.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return a.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return a.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return a.Name}});var n=zA();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return n.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return n.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return n.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return n.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class i{optimizeNodes(){return this}optimizeNames(I,z){return this}}class l extends i{constructor(I,z,X){super(),this.varKind=I,this.name=z,this.rhs=X}render({es5:I,_n:z}){const X=I?o.varKinds.var:this.varKind,pe=this.rhs===void 0?"":` = ${this.rhs}`;return`${X} ${this.name}${pe};`+z}optimizeNames(I,z){if(I[this.name.str])return this.rhs&&(this.rhs=W(this.rhs,I,z)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class c extends i{constructor(I,z,X){super(),this.lhs=I,this.rhs=z,this.sideEffects=X}render({_n:I}){return`${this.lhs} = ${this.rhs};`+I}optimizeNames(I,z){if(!(this.lhs instanceof t.Name&&!I[this.lhs.str]&&!this.sideEffects))return this.rhs=W(this.rhs,I,z),this}get names(){const I=this.lhs instanceof t.Name?{}:{...this.lhs.names};return F(I,this.rhs)}}class d extends c{constructor(I,z,X,pe){super(I,X,pe),this.op=z}render({_n:I}){return`${this.lhs} ${this.op}= ${this.rhs};`+I}}class p extends i{constructor(I){super(),this.label=I,this.names={}}render({_n:I}){return`${this.label}:`+I}}class m extends i{constructor(I){super(),this.label=I,this.names={}}render({_n:I}){return`break${this.label?` ${this.label}`:""};`+I}}class h extends i{constructor(I){super(),this.error=I}render({_n:I}){return`throw ${this.error};`+I}get names(){return this.error.names}}class f extends i{constructor(I){super(),this.code=I}render({_n:I}){return`${this.code};`+I}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(I,z){return this.code=W(this.code,I,z),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class v extends i{constructor(I=[]){super(),this.nodes=I}render(I){return this.nodes.reduce((z,X)=>z+X.render(I),"")}optimizeNodes(){const{nodes:I}=this;let z=I.length;for(;z--;){const X=I[z].optimizeNodes();Array.isArray(X)?I.splice(z,1,...X):X?I[z]=X:I.splice(z,1)}return I.length>0?this:void 0}optimizeNames(I,z){const{nodes:X}=this;let pe=X.length;for(;pe--;){const he=X[pe];he.optimizeNames(I,z)||(ae(I,he.names),X.splice(pe,1))}return X.length>0?this:void 0}get names(){return this.nodes.reduce((I,z)=>U(I,z.names),{})}}class b extends v{render(I){return"{"+I._n+super.render(I)+"}"+I._n}}class S extends v{}class _ extends b{}_.kind="else";class T extends b{constructor(I,z){super(z),this.condition=I}render(I){let z=`if(${this.condition})`+super.render(I);return this.else&&(z+="else "+this.else.render(I)),z}optimizeNodes(){super.optimizeNodes();const I=this.condition;if(I===!0)return this.nodes;let z=this.else;if(z){const X=z.optimizeNodes();z=this.else=Array.isArray(X)?new _(X):X}if(z)return I===!1?z instanceof T?z:z.nodes:this.nodes.length?this:new T(H(I),z instanceof T?[z]:z.nodes);if(!(I===!1||!this.nodes.length))return this}optimizeNames(I,z){var X;if(this.else=(X=this.else)===null||X===void 0?void 0:X.optimizeNames(I,z),!!(super.optimizeNames(I,z)||this.else))return this.condition=W(this.condition,I,z),this}get names(){const I=super.names;return F(I,this.condition),this.else&&U(I,this.else.names),I}}T.kind="if";class x extends b{}x.kind="for";class E extends x{constructor(I){super(),this.iteration=I}render(I){return`for(${this.iteration})`+super.render(I)}optimizeNames(I,z){if(super.optimizeNames(I,z))return this.iteration=W(this.iteration,I,z),this}get names(){return U(super.names,this.iteration.names)}}class C extends x{constructor(I,z,X,pe){super(),this.varKind=I,this.name=z,this.from=X,this.to=pe}render(I){const z=I.es5?o.varKinds.var:this.varKind,{name:X,from:pe,to:he}=this;return`for(${z} ${X}=${pe}; ${X}<${he}; ${X}++)`+super.render(I)}get names(){const I=F(super.names,this.from);return F(I,this.to)}}class P extends x{constructor(I,z,X,pe){super(),this.loop=I,this.varKind=z,this.name=X,this.iterable=pe}render(I){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(I)}optimizeNames(I,z){if(super.optimizeNames(I,z))return this.iterable=W(this.iterable,I,z),this}get names(){return U(super.names,this.iterable.names)}}class R extends b{constructor(I,z,X){super(),this.name=I,this.args=z,this.async=X}render(I){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(I)}}R.kind="func";class D extends v{render(I){return"return "+super.render(I)}}D.kind="return";class O extends b{render(I){let z="try"+super.render(I);return this.catch&&(z+=this.catch.render(I)),this.finally&&(z+=this.finally.render(I)),z}optimizeNodes(){var I,z;return super.optimizeNodes(),(I=this.catch)===null||I===void 0||I.optimizeNodes(),(z=this.finally)===null||z===void 0||z.optimizeNodes(),this}optimizeNames(I,z){var X,pe;return super.optimizeNames(I,z),(X=this.catch)===null||X===void 0||X.optimizeNames(I,z),(pe=this.finally)===null||pe===void 0||pe.optimizeNames(I,z),this}get names(){const I=super.names;return this.catch&&U(I,this.catch.names),this.finally&&U(I,this.finally.names),I}}class L extends b{constructor(I){super(),this.error=I}render(I){return`catch(${this.error})`+super.render(I)}}L.kind="catch";class q extends b{render(I){return"finally"+super.render(I)}}q.kind="finally";class B{constructor(I,z={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...z,_n:z.lines?`
49
49
  `:""},this._extScope=I,this._scope=new o.Scope({parent:I}),this._nodes=[new S]}toString(){return this._root.render(this.opts)}name(I){return this._scope.name(I)}scopeName(I){return this._extScope.name(I)}scopeValue(I,z){const X=this._extScope.value(I,z);return(this._values[X.prefix]||(this._values[X.prefix]=new Set)).add(X),X}getScopeValue(I,z){return this._extScope.getValue(I,z)}scopeRefs(I){return this._extScope.scopeRefs(I,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(I,z,X,pe){const he=this._scope.toName(z);return X!==void 0&&pe&&(this._constants[he.str]=X),this._leafNode(new l(I,he,X)),he}const(I,z,X){return this._def(o.varKinds.const,I,z,X)}let(I,z,X){return this._def(o.varKinds.let,I,z,X)}var(I,z,X){return this._def(o.varKinds.var,I,z,X)}assign(I,z,X){return this._leafNode(new c(I,z,X))}add(I,z){return this._leafNode(new d(I,e.operators.ADD,z))}code(I){return typeof I=="function"?I():I!==t.nil&&this._leafNode(new f(I)),this}object(...I){const z=["{"];for(const[X,pe]of I)z.length>1&&z.push(","),z.push(X),(X!==pe||this.opts.es5)&&(z.push(":"),(0,t.addCodeArg)(z,pe));return z.push("}"),new t._Code(z)}if(I,z,X){if(this._blockNode(new T(I)),z&&X)this.code(z).else().code(X).endIf();else if(z)this.code(z).endIf();else if(X)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(I){return this._elseNode(new T(I))}else(){return this._elseNode(new _)}endIf(){return this._endBlockNode(T,_)}_for(I,z){return this._blockNode(I),z&&this.code(z).endFor(),this}for(I,z){return this._for(new E(I),z)}forRange(I,z,X,pe,he=this.opts.es5?o.varKinds.var:o.varKinds.let){const _e=this._scope.toName(I);return this._for(new C(he,_e,z,X),()=>pe(_e))}forOf(I,z,X,pe=o.varKinds.const){const he=this._scope.toName(I);if(this.opts.es5){const _e=z instanceof t.Name?z:this.var("_arr",z);return this.forRange("_i",0,(0,t._)`${_e}.length`,qe=>{this.var(he,(0,t._)`${_e}[${qe}]`),X(he)})}return this._for(new P("of",pe,he,z),()=>X(he))}forIn(I,z,X,pe=this.opts.es5?o.varKinds.var:o.varKinds.const){if(this.opts.ownProperties)return this.forOf(I,(0,t._)`Object.keys(${z})`,X);const he=this._scope.toName(I);return this._for(new P("in",pe,he,z),()=>X(he))}endFor(){return this._endBlockNode(x)}label(I){return this._leafNode(new p(I))}break(I){return this._leafNode(new m(I))}return(I){const z=new D;if(this._blockNode(z),this.code(I),z.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(D)}try(I,z,X){if(!z&&!X)throw new Error('CodeGen: "try" without "catch" and "finally"');const pe=new O;if(this._blockNode(pe),this.code(I),z){const he=this.name("e");this._currNode=pe.catch=new L(he),z(he)}return X&&(this._currNode=pe.finally=new q,this.code(X)),this._endBlockNode(L,q)}throw(I){return this._leafNode(new h(I))}block(I,z){return this._blockStarts.push(this._nodes.length),I&&this.code(I).endBlock(z),this}endBlock(I){const z=this._blockStarts.pop();if(z===void 0)throw new Error("CodeGen: not in self-balancing block");const X=this._nodes.length-z;if(X<0||I!==void 0&&X!==I)throw new Error(`CodeGen: wrong number of nodes: ${X} vs ${I} expected`);return this._nodes.length=z,this}func(I,z=t.nil,X,pe){return this._blockNode(new R(I,z,X)),pe&&this.code(pe).endFunc(),this}endFunc(){return this._endBlockNode(R)}optimize(I=1){for(;I-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(I){return this._currNode.nodes.push(I),this}_blockNode(I){this._currNode.nodes.push(I),this._nodes.push(I)}_endBlockNode(I,z){const X=this._currNode;if(X instanceof I||z&&X instanceof z)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${z?`${I.kind}/${z.kind}`:I.kind}"`)}_elseNode(I){const z=this._currNode;if(!(z instanceof T))throw new Error('CodeGen: "else" without "if"');return this._currNode=z.else=I,this}get _root(){return this._nodes[0]}get _currNode(){const I=this._nodes;return I[I.length-1]}set _currNode(I){const z=this._nodes;z[z.length-1]=I}}e.CodeGen=B;function U(V,I){for(const z in I)V[z]=(V[z]||0)+(I[z]||0);return V}function F(V,I){return I instanceof t._CodeOrName?U(V,I.names):V}function W(V,I,z){if(V instanceof t.Name)return X(V);if(!pe(V))return V;return new t._Code(V._items.reduce((he,_e)=>(_e instanceof t.Name&&(_e=X(_e)),_e instanceof t._Code?he.push(..._e._items):he.push(_e),he),[]));function X(he){const _e=z[he.str];return _e===void 0||I[he.str]!==1?he:(delete I[he.str],_e)}function pe(he){return he instanceof t._Code&&he._items.some(_e=>_e instanceof t.Name&&I[_e.str]===1&&z[_e.str]!==void 0)}}function ae(V,I){for(const z in I)V[z]=(V[z]||0)-(I[z]||0)}function H(V){return typeof V=="boolean"||typeof V=="number"||V===null?!V:(0,t._)`!${G(V)}`}e.not=H;const K=N(e.operators.AND);function J(...V){return V.reduce(K)}e.and=J;const le=N(e.operators.OR);function Q(...V){return V.reduce(le)}e.or=Q;function N(V){return(I,z)=>I===t.nil?z:z===t.nil?I:(0,t._)`${G(I)} ${V} ${G(z)}`}function G(V){return V instanceof t.Name?V:(0,t._)`(${V})`}})(US)),US}var vt={},qA;function Lt(){if(qA)return vt;qA=1,Object.defineProperty(vt,"__esModule",{value:!0}),vt.checkStrictMode=vt.getErrorPath=vt.Type=vt.useFunc=vt.setEvaluated=vt.evaluatedPropsToName=vt.mergeEvaluated=vt.eachItem=vt.unescapeJsonPointer=vt.escapeJsonPointer=vt.escapeFragment=vt.unescapeFragment=vt.schemaRefOrVal=vt.schemaHasRulesButRef=vt.schemaHasRules=vt.checkUnknownRules=vt.alwaysValidSchema=vt.toHash=void 0;const e=yt(),t=Cf();function o(P){const R={};for(const D of P)R[D]=!0;return R}vt.toHash=o;function a(P,R){return typeof R=="boolean"?R:Object.keys(R).length===0?!0:(n(P,R),!i(R,P.self.RULES.all))}vt.alwaysValidSchema=a;function n(P,R=P.schema){const{opts:D,self:O}=P;if(!D.strictSchema||typeof R=="boolean")return;const L=O.RULES.keywords;for(const q in R)L[q]||C(P,`unknown keyword: "${q}"`)}vt.checkUnknownRules=n;function i(P,R){if(typeof P=="boolean")return!P;for(const D in P)if(R[D])return!0;return!1}vt.schemaHasRules=i;function l(P,R){if(typeof P=="boolean")return!P;for(const D in P)if(D!=="$ref"&&R.all[D])return!0;return!1}vt.schemaHasRulesButRef=l;function c({topSchemaRef:P,schemaPath:R},D,O,L){if(!L){if(typeof D=="number"||typeof D=="boolean")return D;if(typeof D=="string")return(0,e._)`${D}`}return(0,e._)`${P}${R}${(0,e.getProperty)(O)}`}vt.schemaRefOrVal=c;function d(P){return h(decodeURIComponent(P))}vt.unescapeFragment=d;function p(P){return encodeURIComponent(m(P))}vt.escapeFragment=p;function m(P){return typeof P=="number"?`${P}`:P.replace(/~/g,"~0").replace(/\//g,"~1")}vt.escapeJsonPointer=m;function h(P){return P.replace(/~1/g,"/").replace(/~0/g,"~")}vt.unescapeJsonPointer=h;function f(P,R){if(Array.isArray(P))for(const D of P)R(D);else R(P)}vt.eachItem=f;function v({mergeNames:P,mergeToName:R,mergeValues:D,resultToName:O}){return(L,q,B,U)=>{const F=B===void 0?q:B instanceof e.Name?(q instanceof e.Name?P(L,q,B):R(L,q,B),B):q instanceof e.Name?(R(L,B,q),q):D(q,B);return U===e.Name&&!(F instanceof e.Name)?O(L,F):F}}vt.mergeEvaluated={props:v({mergeNames:(P,R,D)=>P.if((0,e._)`${D} !== true && ${R} !== undefined`,()=>{P.if((0,e._)`${R} === true`,()=>P.assign(D,!0),()=>P.assign(D,(0,e._)`${D} || {}`).code((0,e._)`Object.assign(${D}, ${R})`))}),mergeToName:(P,R,D)=>P.if((0,e._)`${D} !== true`,()=>{R===!0?P.assign(D,!0):(P.assign(D,(0,e._)`${D} || {}`),S(P,D,R))}),mergeValues:(P,R)=>P===!0?!0:{...P,...R},resultToName:b}),items:v({mergeNames:(P,R,D)=>P.if((0,e._)`${D} !== true && ${R} !== undefined`,()=>P.assign(D,(0,e._)`${R} === true ? true : ${D} > ${R} ? ${D} : ${R}`)),mergeToName:(P,R,D)=>P.if((0,e._)`${D} !== true`,()=>P.assign(D,R===!0?!0:(0,e._)`${D} > ${R} ? ${D} : ${R}`)),mergeValues:(P,R)=>P===!0?!0:Math.max(P,R),resultToName:(P,R)=>P.var("items",R)})};function b(P,R){if(R===!0)return P.var("props",!0);const D=P.var("props",(0,e._)`{}`);return R!==void 0&&S(P,D,R),D}vt.evaluatedPropsToName=b;function S(P,R,D){Object.keys(D).forEach(O=>P.assign((0,e._)`${R}${(0,e.getProperty)(O)}`,!0))}vt.setEvaluated=S;const _={};function T(P,R){return P.scopeValue("func",{ref:R,code:_[R.code]||(_[R.code]=new t._Code(R.code))})}vt.useFunc=T;var x;(function(P){P[P.Num=0]="Num",P[P.Str=1]="Str"})(x||(vt.Type=x={}));function E(P,R,D){if(P instanceof e.Name){const O=R===x.Num;return D?O?(0,e._)`"[" + ${P} + "]"`:(0,e._)`"['" + ${P} + "']"`:O?(0,e._)`"/" + ${P}`:(0,e._)`"/" + ${P}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return D?(0,e.getProperty)(P).toString():"/"+m(P)}vt.getErrorPath=E;function C(P,R,D=P.opts.strictSchema){if(D){if(R=`strict mode: ${R}`,D===!0)throw new Error(R);P.self.logger.warn(R)}}return vt.checkStrictMode=C,vt}var Lh={},$A;function Fs(){if($A)return Lh;$A=1,Object.defineProperty(Lh,"__esModule",{value:!0});const e=yt(),t={data:new e.Name("data"),valCxt:new e.Name("valCxt"),instancePath:new e.Name("instancePath"),parentData:new e.Name("parentData"),parentDataProperty:new e.Name("parentDataProperty"),rootData:new e.Name("rootData"),dynamicAnchors:new e.Name("dynamicAnchors"),vErrors:new e.Name("vErrors"),errors:new e.Name("errors"),this:new e.Name("this"),self:new e.Name("self"),scope:new e.Name("scope"),json:new e.Name("json"),jsonPos:new e.Name("jsonPos"),jsonLen:new e.Name("jsonLen"),jsonPart:new e.Name("jsonPart")};return Lh.default=t,Lh}var VA;function Av(){return VA||(VA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=yt(),o=Lt(),a=Fs();e.keywordError={message:({keyword:_})=>(0,t.str)`must pass "${_}" keyword validation`},e.keyword$DataError={message:({keyword:_,schemaType:T})=>T?(0,t.str)`"${_}" keyword must be ${T} ($data)`:(0,t.str)`"${_}" keyword is invalid ($data)`};function n(_,T=e.keywordError,x,E){const{it:C}=_,{gen:P,compositeRule:R,allErrors:D}=C,O=h(_,T,x);E??(R||D)?d(P,O):p(C,(0,t._)`[${O}]`)}e.reportError=n;function i(_,T=e.keywordError,x){const{it:E}=_,{gen:C,compositeRule:P,allErrors:R}=E,D=h(_,T,x);d(C,D),P||R||p(E,a.default.vErrors)}e.reportExtraError=i;function l(_,T){_.assign(a.default.errors,T),_.if((0,t._)`${a.default.vErrors} !== null`,()=>_.if(T,()=>_.assign((0,t._)`${a.default.vErrors}.length`,T),()=>_.assign(a.default.vErrors,null)))}e.resetErrorsCount=l;function c({gen:_,keyword:T,schemaValue:x,data:E,errsCount:C,it:P}){if(C===void 0)throw new Error("ajv implementation error");const R=_.name("err");_.forRange("i",C,a.default.errors,D=>{_.const(R,(0,t._)`${a.default.vErrors}[${D}]`),_.if((0,t._)`${R}.instancePath === undefined`,()=>_.assign((0,t._)`${R}.instancePath`,(0,t.strConcat)(a.default.instancePath,P.errorPath))),_.assign((0,t._)`${R}.schemaPath`,(0,t.str)`${P.errSchemaPath}/${T}`),P.opts.verbose&&(_.assign((0,t._)`${R}.schema`,x),_.assign((0,t._)`${R}.data`,E))})}e.extendErrors=c;function d(_,T){const x=_.const("err",T);_.if((0,t._)`${a.default.vErrors} === null`,()=>_.assign(a.default.vErrors,(0,t._)`[${x}]`),(0,t._)`${a.default.vErrors}.push(${x})`),_.code((0,t._)`${a.default.errors}++`)}function p(_,T){const{gen:x,validateName:E,schemaEnv:C}=_;C.$async?x.throw((0,t._)`new ${_.ValidationError}(${T})`):(x.assign((0,t._)`${E}.errors`,T),x.return(!1))}const m={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function h(_,T,x){const{createErrors:E}=_.it;return E===!1?(0,t._)`{}`:f(_,T,x)}function f(_,T,x={}){const{gen:E,it:C}=_,P=[v(C,x),b(_,x)];return S(_,T,P),E.object(...P)}function v({errorPath:_},{instancePath:T}){const x=T?(0,t.str)`${_}${(0,o.getErrorPath)(T,o.Type.Str)}`:_;return[a.default.instancePath,(0,t.strConcat)(a.default.instancePath,x)]}function b({keyword:_,it:{errSchemaPath:T}},{schemaPath:x,parentSchema:E}){let C=E?T:(0,t.str)`${T}/${_}`;return x&&(C=(0,t.str)`${C}${(0,o.getErrorPath)(x,o.Type.Str)}`),[m.schemaPath,C]}function S(_,{params:T,message:x},E){const{keyword:C,data:P,schemaValue:R,it:D}=_,{opts:O,propertyName:L,topSchemaRef:q,schemaPath:B}=D;E.push([m.keyword,C],[m.params,typeof T=="function"?T(_):T||(0,t._)`{}`]),O.messages&&E.push([m.message,typeof x=="function"?x(_):x]),O.verbose&&E.push([m.schema,R],[m.parentSchema,(0,t._)`${q}${B}`],[a.default.data,P]),L&&E.push([m.propertyName,L])}})(zS)),zS}var HA;function dK(){if(HA)return rl;HA=1,Object.defineProperty(rl,"__esModule",{value:!0}),rl.boolOrEmptySchema=rl.topBoolOrEmptySchema=void 0;const e=Av(),t=yt(),o=Fs(),a={message:"boolean schema is false"};function n(c){const{gen:d,schema:p,validateName:m}=c;p===!1?l(c,!1):typeof p=="object"&&p.$async===!0?d.return(o.default.data):(d.assign((0,t._)`${m}.errors`,null),d.return(!0))}rl.topBoolOrEmptySchema=n;function i(c,d){const{gen:p,schema:m}=c;m===!1?(p.var(d,!1),l(c)):p.var(d,!0)}rl.boolOrEmptySchema=i;function l(c,d){const{gen:p,data:m}=c,h={gen:p,keyword:"false schema",data:m,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:c};(0,e.reportError)(h,a,void 0,d)}return rl}var ya={},il={},GA;function II(){if(GA)return il;GA=1,Object.defineProperty(il,"__esModule",{value:!0}),il.getRules=il.isJSONType=void 0;const e=["string","number","integer","boolean","null","object","array"],t=new Set(e);function o(n){return typeof n=="string"&&t.has(n)}il.isJSONType=o;function a(){const n={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...n,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},n.number,n.string,n.array,n.object],post:{rules:[]},all:{},keywords:{}}}return il.getRules=a,il}var vi={},WA;function LI(){if(WA)return vi;WA=1,Object.defineProperty(vi,"__esModule",{value:!0}),vi.shouldUseRule=vi.shouldUseGroup=vi.schemaHasRulesForType=void 0;function e({schema:a,self:n},i){const l=n.RULES.types[i];return l&&l!==!0&&t(a,l)}vi.schemaHasRulesForType=e;function t(a,n){return n.rules.some(i=>o(a,i))}vi.shouldUseGroup=t;function o(a,n){var i;return a[n.keyword]!==void 0||((i=n.definition.implements)===null||i===void 0?void 0:i.some(l=>a[l]!==void 0))}return vi.shouldUseRule=o,vi}var KA;function Pf(){if(KA)return ya;KA=1,Object.defineProperty(ya,"__esModule",{value:!0}),ya.reportTypeError=ya.checkDataTypes=ya.checkDataType=ya.coerceAndCheckDataType=ya.getJSONTypes=ya.getSchemaTypes=ya.DataType=void 0;const e=II(),t=LI(),o=Av(),a=yt(),n=Lt();var i;(function(x){x[x.Correct=0]="Correct",x[x.Wrong=1]="Wrong"})(i||(ya.DataType=i={}));function l(x){const E=c(x.type);if(E.includes("null")){if(x.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!E.length&&x.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');x.nullable===!0&&E.push("null")}return E}ya.getSchemaTypes=l;function c(x){const E=Array.isArray(x)?x:x?[x]:[];if(E.every(e.isJSONType))return E;throw new Error("type must be JSONType or JSONType[]: "+E.join(","))}ya.getJSONTypes=c;function d(x,E){const{gen:C,data:P,opts:R}=x,D=m(E,R.coerceTypes),O=E.length>0&&!(D.length===0&&E.length===1&&(0,t.schemaHasRulesForType)(x,E[0]));if(O){const L=b(E,P,R.strictNumbers,i.Wrong);C.if(L,()=>{D.length?h(x,E,D):_(x)})}return O}ya.coerceAndCheckDataType=d;const p=new Set(["string","number","integer","boolean","null"]);function m(x,E){return E?x.filter(C=>p.has(C)||E==="array"&&C==="array"):[]}function h(x,E,C){const{gen:P,data:R,opts:D}=x,O=P.let("dataType",(0,a._)`typeof ${R}`),L=P.let("coerced",(0,a._)`undefined`);D.coerceTypes==="array"&&P.if((0,a._)`${O} == 'object' && Array.isArray(${R}) && ${R}.length == 1`,()=>P.assign(R,(0,a._)`${R}[0]`).assign(O,(0,a._)`typeof ${R}`).if(b(E,R,D.strictNumbers),()=>P.assign(L,R))),P.if((0,a._)`${L} !== undefined`);for(const B of C)(p.has(B)||B==="array"&&D.coerceTypes==="array")&&q(B);P.else(),_(x),P.endIf(),P.if((0,a._)`${L} !== undefined`,()=>{P.assign(R,L),f(x,L)});function q(B){switch(B){case"string":P.elseIf((0,a._)`${O} == "number" || ${O} == "boolean"`).assign(L,(0,a._)`"" + ${R}`).elseIf((0,a._)`${R} === null`).assign(L,(0,a._)`""`);return;case"number":P.elseIf((0,a._)`${O} == "boolean" || ${R} === null
50
50
  || (${O} == "string" && ${R} && ${R} == +${R})`).assign(L,(0,a._)`+${R}`);return;case"integer":P.elseIf((0,a._)`${O} === "boolean" || ${R} === null
51
51
  || (${O} === "string" && ${R} && ${R} == +${R} && !(${R} % 1))`).assign(L,(0,a._)`+${R}`);return;case"boolean":P.elseIf((0,a._)`${R} === "false" || ${R} === 0 || ${R} === null`).assign(L,!1).elseIf((0,a._)`${R} === "true" || ${R} === 1`).assign(L,!0);return;case"null":P.elseIf((0,a._)`${R} === "" || ${R} === 0 || ${R} === false`),P.assign(L,null);return;case"array":P.elseIf((0,a._)`${O} === "string" || ${O} === "number"
@@ -88,7 +88,7 @@ or one per line`,"common.inviteMemberDialog.errorFailedInvite":"Failed to invite
88
88
 
89
89
  Sections that carry it: {sections}. How many of each, and in what order, depends on the theme.`,"sandbox.formats.starterBodyNoSections":`Use this for a straightforward post: open with the subject and why it matters to the reader, develop it in a few short passages, and close with what to do next.
90
90
 
91
- This site reports no post sections yet — once it does, cite them here with @.`,"sandbox.formats.starterName":"Standard post","sandbox.formats.suggestButton":"Suggest formats","sandbox.formats.suggestFailed":"Couldn't suggest formats","sandbox.formats.suggestHint":"Name the formats this blog already writes in, from how its posts are built","sandbox.formats.suggested":"{count} format(s) added","sandbox.formats.unknownCitations":"This format cites sections the site doesn't have: {names}","sandbox.generatePost.stepCampaign":"Campaign","sandbox.generatePost.campaignHint":"A post is written for a campaign: it carries the moment, the products it may name and the links to them.","sandbox.generatePost.noCampaigns":"No campaign to write for yet. Create one under Context → Campaigns.","sandbox.generatePost.campaignProducts":"{count} product(s)","sandbox.generatePost.campaignNoProducts":"No products","sandbox.generatePost.formatBlocksHint":"The blocks this format cites are the only ones a post may be built from, and each is filled to its own schema.","sandbox.generatePost.countLabel":"How many drafts","sandbox.generatePost.countHint":"Each takes a different angle on the same campaign. They land as separate cards.","sandbox.generatePost.coverHint":"Every draft gets a cover image, generated and uploaded to your bucket.","sandbox.generatePost.gapNoStoreData":"No connected system answered, so nothing in these posts was checked against the store.","sandbox.generatePost.gapSectionsDropped":"{count} section(s) were dropped: their props did not match the block that renders them.","sandbox.generatePost.gapNoBucket":"No bucket to upload images to, so the posts have no cover. Configure one under Settings → Buckets.","sandbox.generatePost.gapNoImageModel":"This organization has no image model configured, so the posts have no cover.","sandbox.generatePost.gapImagesFailed":"The cover images could not be generated. The posts are otherwise complete.","sandbox.generatePost.gapDraftsFailed":"{count} draft(s) could not be written and their cards were left empty.","sandbox.generatePost.back":"Back","sandbox.generatePost.blockedBrand":"Fill in {fields} on the Brand tab first — a post written without them reads like any other brand's.","sandbox.generatePost.done":"Wrote {count} draft(s) — ready for review","sandbox.generatePost.extraLabel":"Anything else?","sandbox.generatePost.extraPlaceholder":"What you want on top of everything else, in your words.","sandbox.generatePost.failed":"Could not write these posts","sandbox.generatePost.formatHint":"Pick a format this brand already uses, or describe a new one.","sandbox.generatePost.formatNameLabel":"Format name","sandbox.generatePost.formatNamePlaceholder":"The format, named by the job it does","sandbox.generatePost.formatValueLabel":"How a post like this is built","sandbox.generatePost.formatValuePlaceholder":"How it opens, develops and closes.","sandbox.generatePost.generate":"Generate {count} draft(s)","sandbox.generatePost.next":"Next","sandbox.generatePost.stepExtra":"Instructions","sandbox.generatePost.stepFormat":"Format","sandbox.generatePost.subtitle":"Pick the campaign and the format. The posts land on the board as drafts.","sandbox.generatePost.title":"Generate posts","sandbox.itemActions.addVariant":"Add variant","sandbox.itemActions.delete":"Delete","sandbox.itemActions.duplicate":"Duplicate","sandbox.itemActions.editSeo":"Edit SEO","sandbox.itemActions.moreActions":"More actions","sandbox.itemActions.rename":"Rename","sandbox.itemActions.viewJson":"View JSON","sandbox.itemRow.duplicateName":"Another record uses this name","sandbox.itemRow.missingFields":"Missing: {fields}","sandbox.itemRow.selectItem":"Select {title}","sandbox.itemRow.variantCount":"{count} variants","sandbox.listBlocks.addCard":"Add card","sandbox.listBlocks.addItem":"Add item","sandbox.listBlocks.addStat":"Add stat","sandbox.listBlocks.addStep":"Add step","sandbox.listBlocks.cardBody":"Card body","sandbox.listBlocks.cardTitle":"Card title","sandbox.listBlocks.checklistItem":"Checklist item","sandbox.listBlocks.checklistTitle":"Checklist title (optional)","sandbox.listBlocks.columnTitle":"Column title","sandbox.listBlocks.item":"Item","sandbox.listBlocks.label":"Label","sandbox.listBlocks.optionA":"Option A","sandbox.listBlocks.optionB":"Option B","sandbox.listBlocks.removeCard":"Remove card","sandbox.listBlocks.removeItem":"Remove item","sandbox.listBlocks.removeStat":"Remove stat","sandbox.listBlocks.removeStep":"Remove step","sandbox.listBlocks.statValuePlaceholder":"99%","sandbox.listBlocks.stepDescription":"Step description","sandbox.listBlocks.stepTitle":"Step title","sandbox.listBlocks.stepsTitle":"Steps title (optional)","sandbox.mediaBlocks.addCaption":"Add a caption…","sandbox.mediaBlocks.altText":"Alt text (accessibility)","sandbox.mediaBlocks.altLabel":"Alt","sandbox.mediaBlocks.buttonLabel":"Button label","sandbox.mediaBlocks.calloutText":"Callout text…","sandbox.mediaBlocks.calloutTitle":"Callout title","sandbox.mediaBlocks.destinationUrlPlaceholder":"https://destination-url.com","sandbox.linkSuggest.button":"Suggest links","sandbox.linkSuggest.hint":"Find phrases to link to your other posts (uses AI credits)","sandbox.linkSuggest.noCandidates":"No other posts to link to yet","sandbox.linkSuggest.title":"Suggested internal links","sandbox.linkSuggest.description":"Pick which phrases to link to your other posts. Nothing changes until you apply.","sandbox.linkSuggest.none":"No internal links to suggest.","sandbox.linkSuggest.apply":"Apply {count}","sandbox.linkSuggest.applied":"Applied {count} link(s)","sandbox.linkSuggest.failed":"Could not suggest links","sandbox.linkPicker.tabPost":"Post","sandbox.linkPicker.tabProduct":"Product","sandbox.linkPicker.searchPosts":"Search your posts…","sandbox.linkPicker.noPosts":"No matching posts","sandbox.linkPicker.searchProducts":"Search your catalog…","sandbox.linkPicker.searching":"Searching…","sandbox.linkPicker.noProducts":"No matching products","sandbox.mediaBlocks.divider":"Divider","sandbox.mediaBlocks.fullWidth":"Full width","sandbox.mediaBlocks.highPriority":"Priority","sandbox.mediaBlocks.highPriorityHint":"Loads eagerly with high fetch priority. Use for images above the fold.","sandbox.mediaBlocks.label":"Label","sandbox.mediaBlocks.normal":"Normal","sandbox.mediaBlocks.optionalDescription":"Optional description","sandbox.mediaBlocks.pasteVideoUrl":"Paste a YouTube or Vimeo URL to preview","sandbox.mediaBlocks.statValuePlaceholder":"42%","sandbox.mediaBlocks.video":"Video","sandbox.mediaBlocks.videoUrlPlaceholder":"https://youtube.com/watch?v=…","sandbox.pageFormDialog.buttonCancel":"Cancel","sandbox.pageFormDialog.labelName":"Name","sandbox.pageFormDialog.labelPath":"Path","sandbox.pageFormDialog.labelTemplate":"Template","sandbox.pageFormDialog.pendingCreate":"Creating…","sandbox.pageFormDialog.pendingDuplicate":"Duplicating…","sandbox.pageFormDialog.pendingSave":"Saving…","sandbox.pageFormDialog.placeholderName":"My page","sandbox.pageFormDialog.placeholderPath":"/example","sandbox.pageFormDialog.submitCreate":"Create","sandbox.pageFormDialog.submitDuplicate":"Duplicate","sandbox.pageFormDialog.submitSave":"Save","sandbox.pageFormDialog.titleCreate":"Create new page","sandbox.pageFormDialog.titleDuplicate":"Duplicate page","sandbox.pageFormDialog.titleRename":"Rename page","sandbox.pathParamPickerChip.buttonTitle":"Value for {paramLabel} — click to pick","sandbox.pathParamPickerChip.couldNotLoad":"Couldn't load — is the dev server running?","sandbox.pathParamPickerChip.kindCategoryHeading":"Categories","sandbox.pathParamPickerChip.kindCategoryNoun":"category","sandbox.pathParamPickerChip.kindProductHeading":"Products","sandbox.pathParamPickerChip.kindProductNoun":"product","sandbox.pathParamPickerChip.loading":"Loading {noun}…","sandbox.pathParamPickerChip.noResults":"No results.","sandbox.pathParamPickerChip.pickValueHeading":"Pick a value for","sandbox.pathParamPickerChip.pickValueTitle":"Pick a value for {paramLabel}","sandbox.pathParamPickerChip.searchPlaceholder":"Search {options} or enter a value…","sandbox.pathParamPickerChip.useRawValue":'Use "{rawTerm}" as {paramLabel}',"sandbox.plainBlocks.bulletedLabel":"Bulleted","sandbox.plainBlocks.codePlaceholder":"Code","sandbox.plainBlocks.headingLevel1":"Heading 1","sandbox.plainBlocks.headingLevel2":"Heading 2","sandbox.plainBlocks.headingLevel3":"Heading 3","sandbox.plainBlocks.headingLevel4":"Heading 4","sandbox.plainBlocks.headingPlaceholder":"Heading","sandbox.plainBlocks.languagePlaceholder":"language","sandbox.plainBlocks.listItemPlaceholder":"List item","sandbox.plainBlocks.numberedLabel":"Numbered","sandbox.plainBlocks.quotePlaceholder":"Quote","sandbox.postBoard.close":"Close","sandbox.postBoard.archived":"Moved to Archived","sandbox.postBoard.collapse":"Collapse to panel","sandbox.postBoard.collapseLane":"Collapse {lane}","sandbox.postBoard.delete":"Delete","sandbox.postBoard.emptyDescription":"Generate a few ideas and shape them into published posts.","sandbox.postBoard.emptyTitle":"No posts yet","sandbox.postBoard.duplicateTitle":"Duplicate title","sandbox.postBoard.expand":"Expand to full page","sandbox.postBoard.expandLane":"Expand {lane}","sandbox.postBoard.laneEmpty":"Nothing here yet","sandbox.postBoard.laneArchived":"Archived","sandbox.postBoard.laneGenerating":"Generating","sandbox.postBoard.laneDraft":"Draft","sandbox.postBoard.laneAwaitingReview":"Awaiting review","sandbox.postBoard.lanePublished":"Published","sandbox.postBoard.laneScheduled":"Scheduled","sandbox.postBoard.moveBlocked":"This post is missing required fields — open it to finish before scheduling.","sandbox.postBoard.moveFailed":"Could not move this post","sandbox.postBoard.moveInFlight":"Still moving this post…","sandbox.postBoard.moveNotATarget":"Generating is set by the generation run, not by hand.","sandbox.postBoard.nIssues":"{count} to fix before scheduling","sandbox.postBoard.newPost":"New post","sandbox.postBoard.newPostGenerate":"Generate","sandbox.postBoard.newPostGenerateHint":"Write it with AI, from your context","sandbox.postBoard.newPostWrite":"Write","sandbox.postBoard.newPostWriteHint":"Start an empty draft yourself","sandbox.postBoard.importContent":"Import content","sandbox.postBoard.importContentHint":"Bring in HTML or Markdown you already wrote","sandbox.postBoard.importTitle":"Import content","sandbox.postBoard.importDescription":"Paste HTML or Markdown you already wrote. It becomes an editable draft in your design system — no AI, no credits.","sandbox.postBoard.importUpload":"Upload a file","sandbox.postBoard.importRun":"Import","sandbox.postBoard.importEmpty":"Nothing to import — the content was empty.","sandbox.postBoard.imported":"Imported — review and publish.","sandbox.postBoard.readyToSchedule":"Ready to schedule","sandbox.postBoard.selectPrompt":"Select a post to view it here.","sandbox.postBoard.untitled":"Untitled post","sandbox.postBoard.generatingLabel":"Generating…","sandbox.postBoard.usesCredits":"Uses AI credits","sandbox.postBoard.viewBoard":"Board","sandbox.postBoard.viewList":"List","sandbox.postCalendar.couldNotCreate":"Could not create","sandbox.postCalendar.couldNotReschedule":"Could not reschedule","sandbox.postCalendar.createdScheduledPost":"Created scheduled post","sandbox.postCalendar.legendScheduled":"Scheduled","sandbox.postCalendar.legendUnscheduled":"Not scheduled","sandbox.postCalendar.next":"Next month","sandbox.postCalendar.onlyScheduledCanMove":"Only scheduled posts can be moved.","sandbox.postCalendar.previous":"Previous month","sandbox.postCalendar.schedulePostOn":"Schedule a post on {date}","sandbox.postCalendar.today":"Today","sandbox.postCalendar.unscheduledHint":"Dashed posts aren't scheduled — they sit on their display date, and nothing will publish them.","sandbox.postCalendar.undatedEmpty":"Every post has a date.","sandbox.postCalendar.undatedLabel":"No date · {count}","sandbox.postEditor.addPropLabel":"Add prop","sandbox.postEditor.authorsLabel":"Authors","sandbox.postEditor.categoriesLabel":"Categories","sandbox.postEditor.contentTab":"Content","sandbox.postEditor.coverAltDescription":"Describes the image for screen readers and when it fails to load. Empty: the post title is used.","sandbox.postEditor.coverAltLabel":"Cover image alt text","sandbox.postEditor.coverImageLabel":"Cover image","sandbox.postEditor.dateLabel":"Date","sandbox.postEditor.deletePost":"Delete post","sandbox.postEditor.deletePostCancel":"Cancel","sandbox.postEditor.deletePostConfirmBody":`"{title}" will be removed permanently. This can't be undone.`,"sandbox.postEditor.deletePostConfirmTitle":"Delete this post?","sandbox.postEditor.deletePostFailed":"Delete failed","sandbox.postEditor.deletePostSuccess":'Deleted "{title}"',"sandbox.postEditor.deletingPost":"Deleting…","sandbox.postEditor.duplicateTitleWarning":"Another post already uses this title. Duplicate titles compete with each other in search.","sandbox.postEditor.excerptLabel":"Excerpt","sandbox.postEditor.extraPropsLabel":"Extra props","sandbox.postEditor.issuePlural":"issues","sandbox.postEditor.issueSingular":"issue","sandbox.postEditor.keyPlaceholder":"key","sandbox.postEditor.missingFieldPlural":"Missing required fields: {fields}","sandbox.postEditor.missingFieldSingular":"Missing required field: {fields}","sandbox.postEditor.noAuthorsYet":"No authors yet — create some in the authors collection.","sandbox.postEditor.noCategoriesYet":"No categories yet — create some in the categories collection.","sandbox.postEditor.noContentYet":"This post has no content yet. Use ⊕ to add your first block.","sandbox.postEditor.postTitlePlaceholder":"Post title","sandbox.postEditor.readTimeLabel":"Read time (minutes)","sandbox.postEditor.previewRequiresSlugAndCategory":"Set the post slug (and its category) plus the blog app's pageSlug to preview","sandbox.postEditor.previewTooltip":"Open the post preview in a new tab","sandbox.postEditor.scheduledDatetimeDescription":"When this post goes live. The site publishes it on its own once this moment passes.","sandbox.postEditor.scheduledDatetimeLabel":"Goes live at","sandbox.postEditor.removePropLabel":"Remove prop","sandbox.postEditor.seePreview":"See preview","sandbox.postEditor.selectAuthorsPlaceholder":"Select authors","sandbox.postEditor.selectCategoriesPlaceholder":"Select categories","sandbox.postEditor.seoCanonicalLabel":"Canonical URL","sandbox.postEditor.seoCanonicalPlaceholder":"https://example.com/blog/my-post","sandbox.postEditor.seoDescriptionLabel":"SEO description","sandbox.postEditor.seoImageLabel":"SEO image","sandbox.postEditor.seoNoIndexingLabel":"Hide from search engines (noindex)","sandbox.postEditor.seoSectionHint":"Overrides how this post appears in search engines. Empty fields fall back to the post's title, excerpt and cover image.","sandbox.postEditor.seoSectionLabel":"SEO","sandbox.postEditor.seoTitleLabel":"SEO title","sandbox.postEditor.settingsTab":"Settings","sandbox.postEditor.statusLabel":"Status","sandbox.postEditor.slugDeduped":"That slug was already taken — saved as “{slug}”.","sandbox.postEditor.slugLabel":"Slug","sandbox.postEditor.slugPlaceholder":"my-post","sandbox.postEditor.valuePlaceholder":"value","sandbox.postList.noMatches":"No posts match your search or filters.","sandbox.postToolbar.allPosts":"All posts","sandbox.postToolbar.archiveSelected":"Archive selected","sandbox.postToolbar.archiveSelectedPosts":"Archive selected posts","sandbox.postToolbar.authorLabel":"Author","sandbox.postToolbar.categoryLabel":"Category","sandbox.postToolbar.clearFilter":"Clear filter","sandbox.postToolbar.deselectAll":"Deselect all","sandbox.postToolbar.deselectAllPosts":"Deselect all posts","sandbox.postToolbar.exitSelection":"Exit selection","sandbox.postToolbar.filterBy":"Filter by","sandbox.postToolbar.filterLabel":"Filter","sandbox.postToolbar.itemsSelected":"{count} selected","sandbox.postToolbar.clearSearch":"Clear search","sandbox.postToolbar.searchAriaLabel":"Search posts","sandbox.postToolbar.searchPlaceholder":"Search posts","sandbox.postToolbar.selectAll":"Select all","sandbox.postToolbar.selectAllPosts":"Select all posts","sandbox.postToolbar.sortAZ":"A–Z","sandbox.postToolbar.sortBy":"Sort by","sandbox.postToolbar.sortNewest":"Newest","sandbox.postToolbar.sortNewestFirst":"Newest first","sandbox.postToolbar.sortOldest":"Oldest","sandbox.postToolbar.sortOldestFirst":"Oldest first","sandbox.postToolbar.sortTitleAZ":"Title A–Z","sandbox.postToolbar.sortTitleZA":"Title Z–A","sandbox.postToolbar.sortZA":"Z–A","sandbox.postToolbar.statusLabel":"Status","sandbox.preview.catchAllParamLabel":"path","sandbox.preview.choosePage":"Choose page","sandbox.preview.clickElementToAsk":"Click any element to ask the AI","sandbox.preview.collapseTerminal":"Collapse terminal","sandbox.preview.expandTerminal":"Expand terminal","sandbox.preview.resizeTerminal":"Resize terminal","sandbox.preview.createNewPage":"Create new page","sandbox.preview.devServerPreviewTitle":"Dev Server Preview","sandbox.preview.deviceDesktop":"Desktop","sandbox.preview.deviceMobile":"Mobile (375px)","sandbox.preview.deviceTablet":"Tablet (768px)","sandbox.preview.enterToGo":"Enter to go","sandbox.preview.failedToCreatePage":"Failed to create page","sandbox.preview.globalBadge":"Global","sandbox.preview.globalComponents":"Global components","sandbox.preview.globalLoaders":"Global loaders","sandbox.preview.loaderBadge":"Loader","sandbox.preview.loaderNoLongerExists":"This loader no longer exists.","sandbox.preview.noPagesFound":"No pages found in this site.","sandbox.preview.noSearchResults":"No results match your search.","sandbox.preview.noServerRunning":"No server running","sandbox.preview.openInNewTab":"Open in new tab","sandbox.preview.pageAlreadyExists":'A page with path "{path}" already exists.',"sandbox.preview.pageCreated":'Page "{name}" created',"sandbox.preview.blockOnNoPage":"This block isn't used on any page, so there's nothing to preview.","sandbox.preview.previewMetadataNotReady":"Preview metadata not ready yet","sandbox.preview.searchPagesAndComponents":"Search pages and components...","sandbox.preview.startingPreview":"Starting your preview","sandbox.preview.startingPreviewHint":"Showing your published site. You can make changes now — they'll appear once the preview is ready.","sandbox.preview.templateNoLongerExists":"Selected template no longer exists.","sandbox.preview.valueForParam":"Value for {label}","sandbox.preview.blocksEditor":"Blocks editor","sandbox.preview.visualEditor":"Visual editor","sandbox.productBlocks.addProductIdButton":"Add product ID","sandbox.productBlocks.addProductsButton":"Add products","sandbox.productBlocks.addProductsDescription":"Search VTEX products, or pick a category or cluster","sandbox.productBlocks.browseProductsButton":"Browse products","sandbox.productBlocks.changeButton":"Change","sandbox.productBlocks.chooseProductButton":"Choose a product","sandbox.productBlocks.ctaLabelField":"CTA label","sandbox.productBlocks.ctaLabelPlaceholder":"View product","sandbox.productBlocks.dragToReorderLabel":"Drag to reorder","sandbox.productBlocks.headingH1":"H1","sandbox.productBlocks.headingH2":"H2","sandbox.productBlocks.headingH3":"H3","sandbox.productBlocks.headingNormal":"Normal","sandbox.productBlocks.idLabel":"ID {id}","sandbox.productBlocks.loadingEllipsis":"Loading…","sandbox.productBlocks.productCardLabel":"Product card","sandbox.productBlocks.productField":"Product","sandbox.productBlocks.productPlural":"products","sandbox.productBlocks.productSingular":"product","sandbox.productBlocks.productSlugField":"Product slug","sandbox.productBlocks.productSlugPlaceholder":"product-slug","sandbox.productBlocks.productWithId":"Product {id}","sandbox.productBlocks.removeProductButton":"Remove product","sandbox.productBlocks.removeProductIdButton":"Remove product ID","sandbox.productBlocks.removeProductLabel":"Remove product","sandbox.productBlocks.shelfTitlePlaceholder":"Shelf title","sandbox.productBlocks.skuIdPlaceholder":"151331","sandbox.productBlocks.startDevServerDescription":"Start the dev server to browse products, or add SKU ids below.","sandbox.productBlocks.vtexProductIdPlaceholder":"VTEX product ID (e.g. 151331)","sandbox.productBlocks.vtexProductIds":"VTEX product IDs","sandbox.productPickerDialog.addProducts":"Add products","sandbox.productPickerDialog.categoryLabel":"Category: ","sandbox.productPickerDialog.change":" — change","sandbox.productPickerDialog.chooseProduct":"Choose a product","sandbox.productPickerDialog.clusterIdPlaceholder":"Collection / cluster ID (e.g. 2140)","sandbox.productPickerDialog.couldNotLoad":"Couldn't load — is the dev server running?","sandbox.productPickerDialog.done":"Done","sandbox.productPickerDialog.enterClusterPrompt":"Enter a collection or cluster ID.","sandbox.productPickerDialog.filterCategoriesPlaceholder":"Filter categories…","sandbox.productPickerDialog.loadingCategories":"Loading categories…","sandbox.productPickerDialog.loadingProducts":"Loading products…","sandbox.productPickerDialog.modeCategory":"Category","sandbox.productPickerDialog.modeClusterId":"Cluster ID","sandbox.productPickerDialog.modeSearch":"Search","sandbox.productPickerDialog.noCategories":"No categories.","sandbox.productPickerDialog.noProductsFound":"No products found.","sandbox.productPickerDialog.noneSelected":"None selected","sandbox.productPickerDialog.pickCategoryPrompt":"Pick a category to see its products.","sandbox.productPickerDialog.searchProductsPlaceholder":"Search products by name or ID…","sandbox.productPickerDialog.selectedCount":"{count} selected","sandbox.recordEditor.fieldAvatar":"Avatar","sandbox.recordEditor.fieldCompany":"Company","sandbox.recordEditor.fieldEmail":"Email","sandbox.recordEditor.fieldJobTitle":"Job title","sandbox.recordEditor.fieldName":"Name","sandbox.recordEditor.fieldType":"Type","sandbox.recordEditor.fieldUrl":"Website","sandbox.recordEditor.optionOrganization":"Organization","sandbox.recordEditor.optionPerson":"Person","sandbox.recordEditor.placeholderEmail":"author@example.com","sandbox.recordEditor.placeholderUrl":"https://example.com","sandbox.recordEditor.titleAuthor":"Author","sandbox.redirectFormDialog.title":"Create redirect","sandbox.redirectFormDialog.submit":"Create","sandbox.redirectFormDialog.pending":"Creating…","sandbox.redirectFormDialog.cancel":"Cancel","sandbox.redirectFormDialog.errorRequired":"From and To are required.","sandbox.redirectEditor.discardQueryParameters":"Discard query parameters","sandbox.redirectEditor.fromDescription":"The source path to match. Supports URLPattern syntax (e.g. /product/:slug).","sandbox.redirectEditor.fromLabel":"From","sandbox.redirectEditor.fromPlaceholder":"/old-path","sandbox.redirectEditor.statusDescription":"An explicit status code wins over the type.","sandbox.redirectEditor.statusFromType":"Follow the type ({status})","sandbox.redirectEditor.statusLabel":"Status code","sandbox.redirectEditor.title":"Redirect","sandbox.redirectEditor.toDescription":"The destination — a relative path or an absolute URL.","sandbox.redirectEditor.toLabel":"To","sandbox.redirectEditor.toPlaceholder":"/new-path","sandbox.redirectEditor.typeLabel":"Type","sandbox.redirectEditor.typePermanent":"Permanent ({status})","sandbox.redirectEditor.typePlaceholder":"Type","sandbox.redirectEditor.typeTemporary":"Temporary ({status})","sandbox.cmsSettings.title":"CMS","sandbox.cmsSettings.preview.title":"Preview","sandbox.cmsSettings.preview.description":"See your changes before they go live.","sandbox.cmsSettings.fastPreview.label":"Fast Preview","sandbox.cmsSettings.fastPreview.description":"New chats start as CMS sessions, previewed on your preview server instead of a sandbox. Existing chats keep the mode they were created with.","sandbox.cmsSettings.fastPreview.needsPreviewServerUrl":"Set a preview server above to enable Fast Preview.","sandbox.cmsSettings.blocksV8.needsPreviewServerUrl":"Add your site's address above to preview drafts. Until then, new chats start a coding session.","sandbox.cmsSettings.fastPreviewInPlace.label":"Instant preview (experimental)","sandbox.cmsSettings.fastPreviewInPlace.description":"Refresh edits in place, without waiting for a save — much faster, but only works on websites that have /live/previews route.","sandbox.cmsSettings.contentEditing.on":"Enabled","sandbox.cmsSettings.contentEditing.onDescription":"The Site Editor offers Content and opens Blocks beside Preview on desktop.","sandbox.cmsUnavailable.noPreviewServer":"It's a CMS session, but this project has no preview server configured.","sandbox.cmsUnavailable.noRepo":"It's a CMS session, but this project has no GitHub repository to save to.","sandbox.cmsUnavailable.startCodingSession":"Continue this branch in a coding session","sandbox.previewServerUrlField.description":"Your live server's address, used to preview content. Required for Fast Preview.","sandbox.previewServerUrlField.descriptionBlocksV8":"Your live site's address. Studio shows your drafts on it before you publish.","sandbox.previewServerUrlField.label":"Preview server","sandbox.previewServerUrlField.placeholder":"https://example.com","sandbox.fieldDescriptionTooltipsField.label":"Compact descriptions","sandbox.fieldDescriptionTooltipsField.description":"In the blocks form, show a field's description as a hover tooltip on its title instead of text below the title.","sandbox.repoRow.label":"Repository","sandbox.repoRow.noRepositoryConnected":"No repository connected","sandbox.repoRow.tooltipContent":"The connected GitHub repository for this project. Manage in Connections.","sandbox.runnableBlockEditor.availableModeDescription":"{typeLabel} — edits stay local until you save this as a global {singular}. Run to invoke it against the live preview.","sandbox.runnableBlockEditor.closeJsonEditor":"Close JSON editor","sandbox.runnableBlockEditor.closeResult":"Close result","sandbox.runnableBlockEditor.collapse":"Collapse","sandbox.runnableBlockEditor.collapseResult":"Collapse result","sandbox.runnableBlockEditor.editAsJson":"Edit as JSON","sandbox.runnableBlockEditor.expand":"Expand","sandbox.runnableBlockEditor.expandResult":"Expand result","sandbox.runnableBlockEditor.failedToRun":"Failed to run {singular}","sandbox.runnableBlockEditor.freeformPropsEmptyState":"This {singular} doesn't publish a props schema. Edit its props as JSON, then run it.","sandbox.runnableBlockEditor.inferredSchemaNotice":"This {singular} doesn't publish a props schema — fields below are inferred from its saved values. Use the JSON editor to add props not shown here.","sandbox.runnableBlockEditor.invalidJsonError":"Invalid JSON — changes aren't saved until it parses.","sandbox.runnableBlockEditor.noInputEmptyState":"This {singular} takes no configurable input. Run it to see its output.","sandbox.runnableBlockEditor.openInNewTabTooltip":"Open in new tab (re-runs the {singular})","sandbox.runnableBlockEditor.openResultInNewTabAriaLabel":"Open result in new tab","sandbox.runnableBlockEditor.pressRunToInvoke":"Press Run to invoke this {singular}.","sandbox.runnableBlockEditor.resultPanelTitle":"Result","sandbox.runnableBlockEditor.run":"Run","sandbox.runnableBlockEditor.runAriaLabel":"Run {singular}","sandbox.runnableBlockEditor.running":"Running {singular}…","sandbox.runnableBlockEditor.saveAsGlobal":"Save as global {singular}","sandbox.runnableBlockEditor.saveAsGlobalAriaLabel":"Save as global {singular}","sandbox.runnableBlockEditor.savedModeDescription":"Global {singular} — changes save automatically. Run to invoke it against the live preview.","sandbox.runnableBlocksBrowser.emptyFolder":"This folder is empty.","sandbox.runnableBlocksBrowser.emptyFolderNoManifest":"Start the preview dev server so its manifest loads.","sandbox.runnableBlocksBrowser.emptyFolderTitle":"No {kind} here","sandbox.runnableBlocksBrowser.folderBreadcrumb":"Folder breadcrumb","sandbox.runnableBlocksBrowser.hideSaved":"Hide saved","sandbox.runnableBlocksBrowser.noSearchResults":'No {kind} match "{query}"',"sandbox.runnableBlocksBrowser.noSearchResultsDescription":"Search covers every folder — try a different term.","sandbox.runnableBlocksBrowser.savedBlockToast":'Saved {singular} "{blockId}"',"sandbox.runnableBlocksBrowser.savedCountLabel":"{count} saved","sandbox.runnableBlocksBrowser.searchAriaLabel":"Search all {kind}","sandbox.runnableBlocksBrowser.searchPlaceholder":"Search all {kind}…","sandbox.runnableBlocksBrowser.seeSaved":"See saved","sandbox.runtimeFields.auto":"Auto","sandbox.runtimeFields.autoDetect":"Auto-detect","sandbox.runtimeFields.devServerPort":"Dev server port","sandbox.runtimeFields.devServerPortDescription":"Leave blank to let the runner pick.","sandbox.runtimeFields.packageManager":"Package manager","sandbox.runtimeFields.packagePath":"Package path","sandbox.runtimeFields.packagePathDescription":"Path (relative to repo root) to the directory containing package.json. Leave blank for the repo root.","sandbox.savedSectionEditor.closeJsonEditor":"Close JSON editor","sandbox.saveStatus.failed":"Couldn't save","sandbox.saveStatus.saved":"Saved","sandbox.saveStatus.saving":"Saving…","sandbox.savedSectionEditor.editAsJson":"Edit as JSON","sandbox.savedSectionEditor.globalSectionDescription":"Global section — changes save automatically and apply everywhere it's used.","sandbox.savedSectionEditor.invalidJsonError":"Invalid JSON — changes aren't saved until it parses.","sandbox.savedSectionEditor.noEditableFields":"No editable fields for this section.","sandbox.schemaless.back":"All blocks","sandbox.schemaless.bannerBody":"Until then, each block opens with plain fields built from its saved values, and saving keeps every other value as it is. Generate the schema in your site's folder; this page picks it up on its own.","sandbox.schemaless.bannerTitle":"Forms get proper fields once the schema exists","sandbox.schemaless.docsLink":"About deco schema","sandbox.schemaless.empty":"Empty","sandbox.schemaless.item":"Item {n}","sandbox.schemaless.itemCount":"{count} items","sandbox.schemaless.listLabel":"Saved blocks","sandbox.schemaless.noBlocks":"No saved blocks yet.","sandbox.schemaless.noMatches":"No blocks match your search.","sandbox.schemaless.noType":"Without a type","sandbox.schemaless.notANumber":"Enter a number. The saved value stays until you do.","sandbox.schemaless.notSet":"Not set","sandbox.schemaless.pickBlock":"Pick a block to see its content.","sandbox.schemaless.searchPlaceholder":"Search blocks","sandbox.sectionRenameDialog.cancel":"Cancel","sandbox.sectionRenameDialog.description":"Updates the display name. The internal key stays the same so pages referencing this section keep working.","sandbox.sectionRenameDialog.keyLabel":"Key","sandbox.sectionRenameDialog.nameLabel":"Name","sandbox.sectionRenameDialog.save":"Save","sandbox.sectionRenameDialog.saving":"Saving…","sandbox.sectionRenameDialog.title":"Rename section","sandbox.sectionsRightPane.selectSectionDescription":"Pick a saved section to edit it, or an available one to customize and save as global.","sandbox.sectionsRightPane.selectSectionTitle":"Select a section to edit","sandbox.stateCard.erroredHeadline":"Couldn't start the sandbox","sandbox.stateCard.githubConnectionMissingMessage":"The GitHub connection this chat used was removed. Link the repository again to start the sandbox.","sandbox.stateCard.linkRepoAgain":"Link repository","sandbox.stateCard.githubNotAuthenticatedMessage":"This project's GitHub repo isn't authenticated. Reconnect it in Connections, then retry.","sandbox.stateCard.reconnectGithub":"Reconnect GitHub","sandbox.stateCard.resume":"Resume","sandbox.stateCard.suspendedHeadline":"Sandbox is paused","sandbox.stateCard.resumeToContinue":"Resume to continue.","sandbox.stateCard.retry":"Retry","sandbox.tableBlock.addColumn":"Add column","sandbox.tableBlock.addRow":"Add row","sandbox.tableBlock.headerPlaceholder":"Header {n}","sandbox.tableBlock.noRowsYet":"No rows yet — add one below.","sandbox.tableBlock.removeColumn":"Remove column {n}","sandbox.tableBlock.removeRow":"Remove row {n}","sandbox.toolbar.closeTab":"Close {tab}","sandbox.toolbar.moreActions":"More actions","sandbox.toolbar.noScriptsFound":"No scripts found","sandbox.toolbar.restart":"Restart","sandbox.toolbar.resume":"Resume","sandbox.toolbar.retry":"Retry","sandbox.toolbar.run":"Run","sandbox.toolbar.runAScript":"run a script","sandbox.toolbar.runScript":"Run script","sandbox.toolbar.setupTab":"sandbox","sandbox.toolbar.start":"Start","sandbox.toolbar.startProcess":"Start process","sandbox.toolbar.stop":"Stop","sandbox.toolbar.stopProcess":"Stop process","sandbox.toolbar.stopSandboxTooltip":"Stop sandbox","sandbox.toolbar.stopping":"Stopping…","sandbox.variantCalendar.always":"Always","sandbox.variantCalendar.calendarMode":"Calendar","sandbox.variantCalendar.dateMatcherInfo":"Variants gated by a date matcher appear here.","sandbox.variantCalendar.hiddenOngoingVariants":'{count} ongoing variant(s) hidden — enable "Show ongoing" to view.',"sandbox.variantCalendar.next":"Next","sandbox.variantCalendar.noDatedVariants":"No dated variants in view.","sandbox.variantCalendar.noScheduledVariants":"No scheduled variants.","sandbox.variantCalendar.ongoing":"Ongoing","sandbox.variantCalendar.previous":"Previous","sandbox.variantCalendar.showOngoing":"Show ongoing ({count})","sandbox.variantCalendar.timelineMode":"Timeline","sandbox.variantCalendar.today":"Today","sandbox.variantCalendar.todayLabel":"Today","sandbox.variantCalendar.variantBlock":"Variant / Block","sandbox.visualEditorPrompt.inputPlaceholder":"Ask the AI...","sandbox.visualEditorPrompt.sendButton":"Send"},sJ={"settings.voice.title":"Voice mode","settings.voice.description":"Let members talk to agents in chats. Requires ElevenLabs to be configured on this Studio deployment.","settings.title":"Profile & Preferences","settings.nav.organization":"Organization","settings.nav.build":"Build","settings.nav.manage":"Manage","settings.nav.general":"General","settings.nav.connect":"Connect","settings.nav.aiProviders":"AI Providers","settings.nav.secrets":"Secrets","settings.nav.billing":"Billing & AI","settings.nav.buckets":"Buckets","settings.nav.syncedRepos":"Synced repos","settings.nav.repositories":"Repositories","settings.nav.storage":"Storage","settings.nav.advanced":"Advanced","settings.subnav.ariaLabel":"Settings sections","settings.subnav.infrastructure":"Infrastructure","settings.nav.tasks":"Board","settings.jira.sectionTitle":"Jira integration","settings.jira.connectTitle":"Connect Jira","settings.jira.connectDescription":"Use a Jira Cloud site and an API token, ideally from a service account that can see the project.","settings.jira.siteLabel":"Jira site","settings.jira.sitePlaceholder":"yourcompany.atlassian.net","settings.jira.emailLabel":"Atlassian account email","settings.jira.emailPlaceholder":"you@company.com","settings.jira.tokenLabel":"API token","settings.jira.tokenPlaceholder":"Paste your token","settings.jira.connect":"Connect","settings.jira.connecting":"Connecting…","settings.jira.connected":"Jira connected","settings.jira.connectFailed":"Could not connect to Jira","settings.jira.disconnect":"Disconnect","settings.jira.disconnected":"Jira disconnected","settings.jira.disconnectTitle":"Disconnect Jira?","settings.jira.disconnectDescription":"The sync stops and the credentials are deleted. Cards already on the board are kept — they just stop updating.","settings.jira.cancel":"Cancel","settings.jira.boardLabel":"Jira board","settings.jira.boardDescription":"The board Studio watches — a card entering one of its columns is what sets the integration off.","settings.jira.boardPlaceholder":"Select a board","settings.jira.boardSearchPlaceholder":"Search boards…","settings.jira.noBoardsMatch":"No board matches that search","settings.jira.loadingBoards":"Loading boards…","settings.jira.enabledLabel":"Integration enabled","settings.jira.enabledDescription":"While off, cards moving on the board are ignored.","settings.jira.enableRequirements":"Pick a board before enabling the integration","settings.jira.saveFailed":"Could not save the Jira settings","settings.jira.createTokenLink":"Create an API token","settings.jira.webhookTitle":"Instant updates (webhook)","settings.jira.webhookDescription":"Optional. Without it, an issue entering an automated status is picked up on the next 5-minute check; with it, the run starts once the card has stayed put for 20 seconds.","settings.jira.webhookCopy":"Copy","settings.jira.webhookCopied":"Webhook URL copied","settings.jira.webhookStep1":"In Jira, open Settings (gear icon) → System → Webhooks. This requires a Jira admin.","settings.jira.webhookStep2":"Click “Create a webhook” and paste the URL above.","settings.jira.webhookStep3":"Under Events, check Issue: created and Issue: updated.","settings.jira.webhookStep4":"Optionally scope it with a JQL filter, e.g. project = <your project key>.","settings.jira.webhookStep5":"Save. An issue entering an automated status now starts its run once it has stayed there for 20 seconds.","settings.jira.automationsLabel":"Run the agent when an issue enters…","settings.jira.automationsDescription":"The automations that run when an issue enters one of these statuses and stays there for 20 seconds. Open one to change its prompt, or give any automation a “When a Jira issue enters a status” starter. A card dragged through a status, or into the wrong one and straight back, starts nothing. An issue that links an open pull request has it continued. The agent reads the issue and updates it in Jira; nothing is copied to the board.","settings.jira.toggleAutomation":"Turn {name} on or off","settings.jira.addAutomation":"Add automation","settings.jira.fromAny":"From any column","settings.jira.fromEarlier":"From an earlier column","settings.jira.fromLater":"From a later column (sent back)","settings.jira.fromStatuses":"From {statuses}","settings.jira.originLabel":"When the card comes from","settings.jira.originStatusesPlaceholder":"Pick statuses","settings.jira.originHelp":"A move starts one rule: the one naming where the card came from, else the one for its direction on the board, else the one for any column. Where it came from is the status it last stayed in, not one it was dragged through.","settings.jira.createRule":"Create automation","settings.jira.cancelRule":"Cancel","settings.jira.noColumnsYet":"No columns on this board yet","settings.jira.columnsFailed":"Could not load this board's columns","settings.jira.testRunLabel":"Run it by hand","settings.jira.testRunDescription":"Run one of the automations above on an issue or a batch now, without enabling the integration — so you can see what its prompt does before it runs on every issue entering a status.","settings.jira.issueKeysPlaceholder":"ABC-123, or a link — one per line, or comma-separated","settings.jira.issueKeysCount":"{count} issue(s)","settings.jira.issueKeysUnreadable":"could not read: {items}","settings.jira.testRunIssueAriaLabel":"Jira issue key or link","settings.jira.testRun":"Run agent {count}","settings.jira.testRunRunning":"Starting…","settings.jira.testRunStarted":"Started on","settings.jira.testRunFailed":"Could not start the run","settings.jira.testRunHelp":"This is a real run: the agent reads the actual issue, comments on it, and may move it. Running it again stops whatever run is still working that issue, and an issue that links an open pull request has it continued.","settings.jira.testRunAutomation":"Automation to run","settings.jira.testRunNoAutomations":"Add an automation above first: running by hand fires one of them.","settings.jira.together":"One run for all of them — the agent sees every issue and works them as a batch, instead of one run per issue","settings.jira.togetherStarted":"Started one run on","settings.jira.testRunWatch":"Watch runs in Monitor","settings.syncedRepos.pageDescription":"Git repositories mirrored into read-only library folders and kept in sync every few minutes. Great for a shared skills repo.","settings.syncedRepos.addRepo":"Add repo","settings.syncedRepos.cancel":"Cancel","settings.syncedRepos.create":"Create","settings.syncedRepos.creating":"Creating…","settings.syncedRepos.created":'Sync created — syncing into "{volume}" in the background',"settings.syncedRepos.emptyTitle":"No synced repos yet","settings.syncedRepos.emptyDescription":"Pick a repository and it will appear in the library as a read-only folder, kept in sync automatically.","settings.syncedRepos.failed":"Something went wrong","settings.syncedRepos.nameDialogDescription":"{repo} will be kept in sync into this read-only library folder.","settings.syncedRepos.nameDialogTitle":"Name the synced folder","settings.syncedRepos.namePlaceholder":"folder-name","settings.syncedRepos.pickerTitle":"Sync a repo into the library","settings.syncedRepos.remove":"Stop syncing","settings.syncedRepos.removeDescription":"The already-synced files stay in the library; only the sync stops. You can delete the folder afterwards if you don't need it.","settings.syncedRepos.removeTitle":'Stop syncing "{volume}"?',"settings.syncedRepos.removed":"Sync removed","settings.syncedRepos.rowSubtitle":"Library folder: {volume}","settings.repositories.accountsTitle":"Connected accounts","settings.repositories.accountsEmptyTitle":"No accounts connected","settings.repositories.accountsEmptyDescription":"Connect a GitHub, GitLab or Bitbucket account to browse your repositories and link private ones.","settings.repositories.noProvidersTitle":"No git provider configured","settings.repositories.noProvidersDescription":"Signing in with GitHub, GitLab or Bitbucket needs provider credentials an administrator configures for this deployment. You can still connect a GitLab or Bitbucket account with an access token.","settings.repositories.githubUnavailable":"Ask an administrator to enable GitHub.","settings.repositories.connectGithubCli":"Connect with GitHub CLI","settings.repositories.githubCliHint":"Use your local gh login to browse and import repositories.","settings.repositories.authKindGithubCli":"GitHub CLI","settings.repositories.addGithubAccount":"Add GitHub account or organization","settings.repositories.githubSelectTitle":"Select repositories","settings.repositories.githubSelectedShareHint":"Members with repository permissions in {organization} can use the repositories you authorize here.","settings.repositories.githubPreselectedHint":"Previously authorized or linked repositories are already selected when you have permission to authorize them. Review the selection before saving.","settings.repositories.githubReplaceHint":"Saving replaces this account’s existing workspace access with your selection. Removed repositories stop receiving new credentials. Previously issued credentials may work until they expire.","settings.repositories.githubFilterRepos":"Search repositories","settings.repositories.githubNoRepos":"No repositories available to authorize.","settings.repositories.githubSearchNoMatches":"No repositories match your search.","settings.repositories.githubAccessChanged":"Someone changed this account’s access. Go back and review the repositories again before saving.","settings.repositories.githubMoreRepos":"Load more repositories","settings.repositories.githubBack":"Back to accounts","settings.repositories.githubSaveOneRepo":"Authorize 1 repository","settings.repositories.githubSaveRepos":"Authorize {count} repositories","settings.repositories.githubEditWorkspaceAccess":"Change workspace access","settings.repositories.githubShareHint":"Choose your personal GitHub account, or an organization where you administer repositories, to share with {organization}. Members with repository permissions in Studio can use this connection.","settings.repositories.githubInstallHint":"Nothing here is yours to share yet. Install the GitHub App on your personal account or on repositories you administer, or ask an account owner to connect it to Studio. A repository you only collaborate on is not yours to share.","settings.repositories.installGithubAccount":"Install on another account","settings.repositories.checkGithubAccess":"Check access","settings.repositories.switchGithubUser":"Use another GitHub login","settings.repositories.githubReturnHint":"GitHub opens in a new tab. After saving access, return here to choose the account. If it does not appear, use Check access.","settings.repositories.githubRefreshFailed":"Could not check GitHub access. Try again without leaving this dialog.","settings.repositories.githubConnected":"GitHub account connected","settings.repositories.manageRepositoryAccess":"Manage repository access","settings.repositories.connectedBy":"Connected by {name}","settings.repositories.connectedByUnknown":"Connected by an unavailable user","settings.repositories.dismiss":"Dismiss","settings.repositories.tryAgain":"Try again","settings.repositories.oauthNoInstallations":"GitHub authorization succeeded, but no app installations are available to this user. Add a GitHub account or organization to finish setup.","settings.repositories.oauthDenied":"Authorization was cancelled. Connect again when you are ready.","settings.repositories.oauthExpired":"This connection attempt expired or belongs to another session. Start again from this page.","settings.repositories.oauthNotConfigured":"This git provider is not configured. Ask an administrator to enable it.","settings.repositories.oauthFailed":"Could not connect your git account. Try again. If it keeps failing, contact an administrator.","settings.repositories.authKindGithubApp":"GitHub App","settings.repositories.authKindOauth":"OAuth","settings.repositories.authKindToken":"Personal token","settings.repositories.accessUnavailable":"Access unavailable","settings.repositories.accessUnavailableHint":"Studio cannot access this account. Authorize it again to continue using its repositories.","settings.repositories.githubReconnect":"Reconnect GitHub","settings.repositories.authorizeWorkspaceAccess":"Authorize workspace access","settings.repositories.selectRepositories":"Select repositories","settings.repositories.authorizationRequired":"Workspace authorization required","settings.repositories.authorizationRequiredHint":"Studio has a GitHub App installation recorded for {login}, but this workspace has no authorization to use it. Sign in to GitHub and choose the repositories to share with this workspace.","settings.repositories.accessRevoked":"Access revoked","settings.repositories.accessRevokedHint":"Access to this account was revoked. Authorize it again to restore repository access.","settings.repositories.noAuthorizedRepositories":"No repositories authorized","settings.repositories.noAuthorizedRepositoriesHint":"This workspace has no repositories authorized through {login}. Select which repositories it can use.","settings.repositories.providerUnavailable":"Provider unavailable","settings.repositories.providerUnavailableHint":"This deployment is not configured to access this account. Ask an administrator to enable the provider.","settings.repositories.installationMissing":"GitHub connection incomplete","settings.repositories.installationMissingHint":"Studio has no GitHub App installation linked to this account. Connect GitHub and select the installation for {login}.","settings.repositories.githubReconnectUnavailable":"GitHub reconnection is unavailable on this deployment. Ask an administrator to configure the GitHub App, then authorize workspace access.","settings.repositories.disconnect":"Disconnect","settings.repositories.disconnectTitle":'Disconnect "{login}"?',"settings.repositories.disconnectDescription":"Repositories linked through this account stay listed, but become anonymous public clones — private ones will stop working.","settings.repositories.disconnected":"Account disconnected","settings.repositories.tokenDialogTitle":"Connect GitLab with a token","settings.repositories.tokenDialogDescription":"Use a personal, project or group access token with the api scope — agents push branches and open merge requests with it. Stored encrypted and never shown again.","settings.repositories.tokenDialogTitleBitbucket":"Connect Bitbucket with a token","settings.repositories.tokenDialogDescriptionBitbucket":"Use a workspace, project or repository access token that can write repositories and pull requests — agents push branches and open pull requests with it. Bitbucket Cloud only. Stored encrypted and never shown again.","settings.repositories.addAccount":"Add account","settings.repositories.addAccountTitle":"Connect a git account","settings.repositories.addAccountDescription":"Choose where your repositories live.","settings.repositories.chooseMethodDescription":"Pick how Studio should connect to this provider.","settings.repositories.back":"Back","settings.repositories.providerGithub":"GitHub","settings.repositories.providerGitlab":"GitLab","settings.repositories.providerBitbucket":"Bitbucket","settings.repositories.providerGithubHint":"Install the Studio app and pick the repositories to share.","settings.repositories.providerTokenOrOauthHint":"Connect with an access token, or authorize with OAuth.","settings.repositories.providerTokenOnlyHint":"Connect with an access token.","settings.repositories.methodToken":"Use an access token","settings.repositories.methodTokenHint":"The provider limits the token to the repositories you scope it to.","settings.repositories.methodOauth":"Authorize with OAuth","settings.repositories.methodOauthHint":"Sign in and authorize Studio in your browser.","settings.repositories.methodOauthScopeNote":"Reaches every repository this account can see; it cannot be narrowed to a subset.","settings.repositories.methodApp":"Install the GitHub app","settings.repositories.methodAppHint":"Choose exactly which repositories Studio may use.","settings.repositories.tokenStepsTitle":"Creating the token","settings.repositories.openProvider":"Open provider","settings.repositories.tokenWorkspaceLabel":"Workspace","settings.repositories.tokenWorkspacePlaceholder":"your-workspace","settings.repositories.tokenWorkspaceHint":"The slug in your Bitbucket URL. An access token cannot name its own workspace, so Studio verifies it against this one.","settings.repositories.tokenProjectLabel":"Project path (optional)","settings.repositories.tokenProjectPlaceholder":"group/project","settings.repositories.tokenProjectHint":"Fill this in to jump straight to that project’s token page.","settings.repositories.bitbucketStep1":"Open the repository you want Studio to reach, or the project that groups them.","settings.repositories.bitbucketStep2":"Settings → Security → Access tokens → Create token.","settings.repositories.bitbucketStep3":"Grant Repositories read and write, and Pull requests read and write.","settings.repositories.bitbucketStep4":"Paste the token below. Bitbucket keeps it to what you scoped it to.","settings.repositories.gitlabStep1":"Open the project or group you want Studio to reach.","settings.repositories.gitlabStep2":"Settings → Access tokens → Add new token.","settings.repositories.gitlabStep3":"Role: Developer or above. Scope: api.","settings.repositories.gitlabStep4":"Paste the token below. A project token only reaches that project.","settings.repositories.tokenHostLabel":"Host","settings.repositories.tokenHostPlaceholder":"gitlab.com","settings.repositories.tokenLabel":"Access token","settings.repositories.tokenPlaceholder":"glpat-…","settings.repositories.tokenPlaceholderBitbucket":"ATCTT…","settings.repositories.connect":"Connect","settings.repositories.connecting":"Connecting…","settings.repositories.connected":'Connected as "{login}"',"settings.repositories.reposTitle":"Repositories","settings.repositories.reposEmptyTitle":"No repositories yet","settings.repositories.reposEmptyDescription":"Choose a repository from a connected GitHub, GitLab or Bitbucket account.","settings.repositories.addRepository":"Add repository","settings.repositories.moreActions":"More actions","settings.repositories.repoAccountNeedsAttention":"Connected through {login}, which needs attention in Connected accounts.","settings.repositories.unlink":"Unlink","settings.repositories.unlinkTitle":'Unlink "{path}"?',"settings.repositories.unlinkDescription":"The repository is removed from this organization. Nothing is deleted on the provider.","settings.repositories.unlinked":"Repository unlinked","settings.repositories.openInProvider":"Open repository","settings.repositories.visibilityPublic":"Public","settings.repositories.visibilityPrivate":"Private","settings.repositories.visibilityInternal":"Internal","settings.repositories.anonymousClone":"Anonymous clone","settings.repositories.sandboxImageLabel":"Sandbox image","settings.repositories.sandboxImageDefault":"Default image","settings.repositories.sandboxImageAndroid":"Android emulator","settings.repositories.sandboxImageError":"Could not change the sandbox image","settings.repositories.addDialogTitle":"Add repository","settings.repositories.cancel":"Cancel","settings.repositories.failed":"Something went wrong","settings.nav.connections":"Connections","settings.nav.agents":"Projects","settings.nav.automations":"Automations","settings.nav.skills":"Skills","settings.nav.memory":"Memory","settings.nav.monitor":"Monitor","settings.nav.members":"Members","settings.nav.security":"Security","settings.nav.profile":"Profile & Preferences","settings.nav.backToHome":"Back to home","settings.nav.signOut":"Sign Out","settings.profile.avatar":"Avatar","settings.profile.displayName":"Display name","settings.profile.displayNamePlaceholder":"Your name","settings.profile.email":"Email","settings.profile.avatarUpload":"Change your picture","settings.profile.avatarDialogTitle":"Profile picture","settings.profile.avatarDialogDescription":"Drag to reposition and scroll to zoom. Only the picture you are using is visible to other people.","settings.profile.avatarDeleted":"Picture deleted","settings.profile.avatarRemove":"Remove","settings.profile.avatarRemoved":"Picture removed","settings.profile.avatarUpdated":"Picture updated","settings.profile.avatarUploadError":"Failed to update the picture","settings.profile.updateSuccess":"Profile updated successfully","settings.profile.updateError":"Failed to update profile","settings.preferences.title":"Preferences","settings.blog.sectionTitle":"Blog","settings.blog.aiTitle":"AI blog","settings.blog.aiDescription":"Brand context, campaigns and post generation. With this off the blog is written by hand.","settings.blogBlocks.title":"Hide the default blog blocks","settings.blogBlocks.description":"Only this site's own post blocks stay available when writing, generating or importing a post. Blocks already in a post keep rendering.","settings.blocksEditor.title":"New blocks editor","settings.blocksEditor.description":"Applies to everyone in this organization. The rest of Studio always uses the new layout.","settings.preferences.projectFirstNav":"Project-first navigation","settings.preferences.projectFirstNavDescription":"Try the org rail, project launcher and the Today/Agents home.","settings.preferences.theme":"Theme","settings.preferences.themeDescription":"Your preferred color scheme.","settings.preferences.themeLight":"Light theme","settings.preferences.themeDark":"Dark theme","settings.preferences.themeSystem":"System theme","settings.preferences.language":"Language","settings.preferences.languageDescription":"The language of the interface.","settings.preferences.notifications":"Notifications","settings.preferences.notificationsDescription":"Receive browser notifications for important events.","settings.preferences.notificationsDenied":"Notifications denied. Please enable them in your browser settings.","settings.preferences.sounds":"Sounds","settings.preferences.soundsDescription":"Play sounds for agent actions and notifications.","settings.preferences.soundsPreview":"Preview notification sound","settings.preferences.toolApproval":"Tool Approval","settings.preferences.toolApprovalDescription":"Control how tools are approved before execution.","settings.preferences.toolApprovalAsk":"Ask before edit","settings.preferences.toolApprovalAskShort":"Ask","settings.preferences.toolApprovalAskDescription":"Auto-approve read-only tools","settings.preferences.toolApprovalAuto":"Auto approve","settings.preferences.toolApprovalAutoShort":"Auto","settings.preferences.toolApprovalAutoDescription":"Execute all without approval","settings.automations.browseAgentsButton":"Browse projects","settings.automations.emptyDescription":"Automations are created per agent. Open an agent and add one from its Automations tab.","settings.automations.emptyTitle":"No automations yet","settings.automations.noResultsDescription":'No automations match "{search}"',"settings.automations.noResultsTitle":"No automations found","settings.automations.pageTitle":"Automations","settings.automations.searchPlaceholder":"Search automations...","settings.skills.pageTitle":"Skills","settings.skills.importButton":"Import skill","settings.skills.importing":"Importing…","settings.skills.importSuccess":'Imported "{name}"',"settings.skills.importError":"Failed to import skill","settings.skills.importMissingSkillMd":"That folder has no SKILL.md at its root. Pick the skill's own folder.","settings.skills.importNeedsFolder":"Pick a folder, not individual files — this browser may not support folder upload.","settings.skills.searchPlaceholder":"Search skills...","settings.skills.noDescription":"No description","settings.skills.filterAll":"All","settings.skills.emptyTitle":"No skills yet","settings.skills.emptyDescription":"Import a folder with a SKILL.md to give your agents reusable instructions they can load on demand.","settings.skills.noResultsTitle":"No skills found","settings.skills.noResultsDescription":'No skills match "{search}"',"settings.skills.cancel":"Cancel","settings.skills.deleteButton":"Delete","settings.skills.deleteDialogTitle":"Delete this skill?","settings.skills.deleteDialogDescription":`This removes "{name}" and its files. This can't be undone.`,"settings.skills.deleteSuccess":"Skill deleted","settings.skills.deleteError":"Failed to delete skill","settings.skills.importTooManyFiles":"That folder has {count} files (limit {max}). Import a folder with just the skill's own files.","settings.skills.importSlugTaken":'A skill named "{slug}" already exists. Delete it first to re-import.',"settings.skills.errorTitle":"Couldn't load skills","settings.skills.errorDescription":"The skill catalog could not be loaded. You may not have access to this org's files.","settings.skills.retry":"Try again","settings.memory.pageTitle":"Memory","settings.memory.tabOrg":"Organization","settings.memory.tabUser":"Just you","settings.memory.orgHeading":"Shared with everyone in {org}","settings.memory.orgDescription":"Deco reads this at the start of every chat and adds to it as it learns. Fix anything wrong or out of date.","settings.memory.userHeading":"Your personal memory","settings.memory.userDescription":"Loaded only into your chats. Good for how you like to work, what you own and what to skip.","settings.memory.orgPlaceholder":"Facts everyone's chats should know. For example: we ship on Thursdays, prices are in BRL, the brand voice is informal.","settings.memory.userPlaceholder":"Things Deco should remember about you. For example: reply in Portuguese, I own the checkout, keep summaries short.","settings.memory.saving":"Saving…","settings.memory.saved":"Saved","settings.memory.notSaved":"Not saved","settings.memory.saveError":"Couldn't save. Keep typing to retry.","settings.memory.readOnly":"You can read this memory but not change it.","settings.memory.updated":"Updated {time}","settings.memory.notStarted":"Nothing remembered yet","settings.memory.conflict":"This memory changed while you were editing.","settings.memory.loadLatest":"Load latest","settings.memory.keepMine":"Keep my version","settings.memory.budget":"{percent}% of what chats read","settings.memory.budgetOver":"Chats only read the beginning","settings.memory.budgetHint":"Chats load the first 16,000 characters. Keep this a short index and move details into separate notes.","settings.memory.errorTitle":"Couldn't load memory","settings.memory.errorDescription":"The organization's files couldn't be loaded. You may not have access to them.","settings.memory.retry":"Try again","settings.buckets.accessKeyIdLabel":"Access key ID","settings.buckets.addBucket":"Add bucket","settings.buckets.addBucketButton":"Add bucket","settings.buckets.addS3Bucket":"Add S3 bucket","settings.buckets.addingButton":"Adding…","settings.buckets.apiKeyHelperText":"Sent as the x-api-key header on each refresh call.","settings.buckets.apiKeyLabel":"API key","settings.buckets.bucketAdded":'Bucket "{name}" added',"settings.buckets.bucketLabel":"Bucket","settings.buckets.bucketPlaceholder":"my-bucket","settings.buckets.bucketRemoved":'Bucket "{name}" removed',"settings.buckets.bucketsConfigured":"{count} bucket(s) configured","settings.buckets.cancelButton":"Cancel","settings.buckets.credentialsEncryptedDescription":"Credentials are encrypted at rest and never returned over the API. For Cloudflare R2, Google Cloud Storage, or MinIO, set a custom endpoint.","settings.buckets.credentialsLabel":"Credentials","settings.buckets.deleteButton":"Delete {name}","settings.buckets.descriptionLabel":"Description (optional)","settings.buckets.descriptionPlaceholder":"What is this bucket used for?","settings.buckets.emptyStateDescription":"Add an S3-compatible bucket (AWS S3, Cloudflare R2, Google Cloud Storage, MinIO). Access keys are encrypted at rest and never returned over the API.","settings.buckets.endpointHelperText":"Required for non-AWS providers (R2, GCS, MinIO).","settings.buckets.endpointLabel":"Endpoint (optional)","settings.buckets.endpointPlaceholder":"https://<account>.r2.cloudflarestorage.com","settings.buckets.failedToAddBucket":"Failed to add bucket","settings.buckets.failedToLoadConfigs":"Failed to load file configurations: {error}","settings.buckets.failedToLoadConfigsFallback":"Failed to load file configs","settings.buckets.failedToRemoveBucket":"Failed to remove bucket","settings.buckets.forcePathStyleHelperText":"Required for Google Cloud Storage and most MinIO setups.","settings.buckets.forcePathStyleLabel":"Force path-style URLs","settings.buckets.managed":"Managed","settings.buckets.nameHelperText":"Letters, digits, underscore, dot, hyphen. Unique within the organization.","settings.buckets.nameLabel":"Name","settings.buckets.namePlaceholder":"production-uploads","settings.buckets.noBucketsConfigured":"No buckets configured","settings.buckets.pathStyle":"path-style","settings.buckets.prefix":"prefix: {prefix}","settings.buckets.prefixHelperText":"All object keys are written under this prefix. Useful for multi-tenant buckets or credentials scoped to a sub-path. A trailing slash is added automatically.","settings.buckets.prefixLabel":"Key prefix (optional)","settings.buckets.prefixPlaceholder":"tenants/acme/","settings.buckets.public":"public: {url}","settings.buckets.publicUrlBaseHelperText":"Host used to build public URLs returned by the picker (R2 dev domain, CDN, custom host). Leave blank to use the bucket's S3 host (AWS default).","settings.buckets.publicUrlBaseLabel":"Public URL base (optional)","settings.buckets.publicUrlBasePlaceholder":"https://pub-xxxx.r2.dev or https://cdn.example.com","settings.buckets.refreshUrlHelperText":"Endpoint POSTed (with the API key below) to vend temporary credentials. Must return accessKeyId, secretAccessKey, sessionToken, and expiration.","settings.buckets.refreshUrlLabel":"Refresh URL","settings.buckets.refreshUrlPlaceholder":"https://admin.example.com/api/acme/s3-credentials","settings.buckets.regionLabel":"Region","settings.buckets.regionPlaceholder":"us-east-1","settings.buckets.removeBucketDescription":"This deletes the encrypted credentials for {name}. The bucket itself is not affected. This cannot be undone.","settings.buckets.removeBucketTitle":"Remove bucket configuration?","settings.buckets.removeButton":"Remove","settings.buckets.removingButton":"Removing…","settings.buckets.secretAccessKeyLabel":"Secret access key","settings.buckets.staticKeyHelperText":"A long-lived access key ID and secret, used as-is.","settings.buckets.staticKeyOption":"Static key pair (long-lived)","settings.buckets.stsSessionHelperText":"Stores only a refresh endpoint + API key; short-lived credentials are fetched on demand and refreshed automatically.","settings.buckets.temporarySessionOption":"Temporary session (STS, auto-refreshed)","settings.connectClients.anyOtherClientDescription":"Any other MCP client: paste this endpoint into it to give that runtime every connection enabled in this org, governed by your Decopilot rules.","settings.connectClients.apiKeyOption":"API key","settings.connectClients.copy":"Copy","settings.connectClients.doneHideKey":"Done, hide key","settings.connectClients.generateKey":"Generate key","settings.connectClients.generateKeyFor":"Generate key for {client}","settings.connectClients.generatingKey":"Generating…","settings.connectClients.headlessKeyHint":"For CI, Conductor, or headless agents that can't open a browser.","settings.connectClients.installMethod":"Installation method","settings.connectClients.keyCreated":"Key created","settings.connectClients.mcpDescription":"For clients without a shell. Sharing Library files and messaging agents need the CLI + skill.","settings.connectClients.oauthDiscoveryDetails":"OAuth discovery details","settings.connectClients.oauthKeyHint":"Recommended for your laptop. Browser will open on first use to sign in — no token to manage.","settings.connectClients.oauthMetadataHint":"OAuth 2.1 Protected Resource Metadata is advertised on 401:","settings.connectClients.oauthOption":"OAuth","settings.connectClients.otherClient":"Other","settings.connectClients.pageTitle":"Connect to clients","settings.connectClients.recommended":"Recommended","settings.connectClients.skillDescription":"Install the Studio skill and log in once. Your agent then works with this org's chats, agents, tasks and Library files through the decocms CLI.","settings.connectClients.skillInstallStep":"1. Install the skill","settings.connectClients.skillLoginHint":"A browser opens for you to approve the login. The session renews itself, so log in again only when your agent asks.","settings.connectClients.skillLoginStep":"2. Log in","settings.connectClients.skillNeedsBun":"Needs Bun.","settings.connectClients.skillOtherAgentsHint":"The installer asks which agents to add the skill to.","settings.connectClients.skillTab":"CLI + skill","settings.connectClients.skillTitle":"Connect your agent","settings.connectClients.snippetOneTimeWarning":"Copy this snippet now — the key won't be shown again. You can revoke it later from the list below.","settings.connectForms.apiKeyField":"API Key","settings.connectForms.apiKeyRequired":"API key is required","settings.connectForms.baseUrlField":"Base URL","settings.connectForms.baseUrlPlaceholder":"http://localhost:4000/v1","settings.connectForms.baseUrlRequired":"Base URL is required","settings.connectForms.cancel":"Cancel","settings.connectForms.connectionSavedSuccess":"Connection saved successfully","settings.connectForms.defaultKeyLabel":"Personal key","settings.connectForms.failedSaveConnection":"Failed to save connection: {error}","settings.connectForms.failedSaveKey":"Failed to save key: {error}","settings.connectForms.hideApiKey":"Hide API key","settings.connectForms.keySavedSuccess":"Key saved successfully","settings.connectForms.labelField":"Label","settings.connectForms.labelPlaceholder":"e.g. Personal key","settings.connectForms.labelPlaceholderOpenAiCompatible":"e.g. My OpenAI-compatible server","settings.connectForms.labelPlaceholderPreset":"e.g. {name} prod, {name} dev","settings.connectForms.optional":"optional","settings.connectForms.recommended":"recommended","settings.connectForms.saveConnection":"Save Connection","settings.connectForms.saveKey":"Save Key","settings.connectForms.saving":"Saving...","settings.connectForms.showApiKey":"Show API key","settings.connectProviderDialog.backButton":"Back","settings.connectProviderDialog.backButtonLabel":"Back","settings.connectProviderDialog.connectionTimedOutMessage":"Connection timed out","settings.connectProviderDialog.defaultProviderName":"Provider","settings.connectProviderDialog.defaultTitle":"Connect an AI provider","settings.connectProviderDialog.gridDescription":"Pick a provider — we'll handle the rest.","settings.connectProviderDialog.oauthFailedMessage":"OAuth connection failed: {error}","settings.connectProviderDialog.oauthPendingMessage":"Authorize the connection in the popup window. This dialog will close once authorization completes.","settings.connectProviderDialog.oauthSuccessMessage":"{provider} connected successfully","settings.connectProviderDialog.provisionPendingMessage":"Connecting…","settings.connectProviderDialog.provisionSuccessMessage":"{provider} connected successfully","settings.connectProviderDialog.retryButton":"Retry","settings.connectProviderDialog.securityCheckFailedMessage":"Security check failed: State token mismatch","settings.connectProviderDialog.startOAuthFailedMessage":"Failed to start OAuth: {error}","settings.connectedProvidersSection.connectButton":"Connect provider","settings.connectedProvidersSection.emptyState":"Bring your own keys to use specific models alongside Deco's gateway.","settings.connectedProvidersSection.sectionTitle":"Connected providers","settings.agentTools.chatHarnessCodexTitle":"Use Codex for new sandbox chats","settings.agentTools.chatHarnessCodexDescription":"Runs new sandbox chats with Codex. Link your ChatGPT subscription in AI Providers or connect a Responses API provider. Existing chats keep their runtime.","settings.codexSubscription.setupHeading":"Connect Codex","settings.codexSubscription.setupDescription":"Link your ChatGPT subscription in Settings → AI Providers, or connect a provider with an OpenAI Responses API endpoint.","settings.codexSubscription.active":"Your Codex runs use your ChatGPT subscription. Credentials refresh automatically.","settings.codexSubscription.connect":"Link","settings.codexSubscription.connected":"ChatGPT subscription linked","settings.codexSubscription.description":"Use your ChatGPT subscription for Codex sandbox chats. Credentials belong to you and are stored encrypted.","settings.codexSubscription.disconnect":"Disconnect","settings.codexSubscription.disconnected":"ChatGPT subscription unlinked","settings.codexSubscription.howTo":"Run this command locally, sign in with ChatGPT, then paste the contents of ~/.codex/auth.json:","settings.codexSubscription.title":"Your ChatGPT subscription for Codex","settings.codexSubscription.tokenPlaceholder":"Paste the contents of auth.json","settings.claudeSubscription.active":"Your Claude plan is running these coding tasks.","settings.claudeSubscription.connect":"Link","settings.claudeSubscription.connected":"Claude subscription linked","settings.claudeSubscription.description":"Run coding tasks on your own Claude Pro or Max plan instead of the organization's AI credit.","settings.claudeSubscription.disconnect":"Disconnect","settings.claudeSubscription.disconnected":"Claude subscription unlinked","settings.claudeSubscription.expired":"Anthropic no longer accepts your token. Generate a new one to keep using your plan.","settings.claudeSubscription.howTo":"Generate a token on your own machine with","settings.claudeSubscription.title":"Your Claude subscription","settings.claudeSubscription.tokenPlaceholder":"Paste your token","settings.githubCopilot.active":"Your GitHub Copilot plan is running these coding tasks.","settings.githubCopilot.connect":"Link","settings.githubCopilot.connected":"GitHub Copilot linked","settings.githubCopilot.description":"Run coding tasks on Claude through your own GitHub Copilot plan instead of the organization's AI credit.","settings.githubCopilot.disconnect":"Disconnect","settings.githubCopilot.disconnected":"GitHub Copilot unlinked","settings.githubCopilot.howTo":"Create a fine-grained GitHub token with the Copilot Requests permission","settings.githubCopilot.sharedBy":"Every run in this organization uses {name}'s shared GitHub Copilot plan.","settings.githubCopilot.shareTitle":"Share with the organization","settings.githubCopilot.shareDescription":"Every chat and task in this organization runs on your Copilot plan, ahead of members' own plans and the organization's AI providers.","settings.githubCopilot.title":"Your GitHub Copilot plan","settings.githubCopilot.tokenPlaceholder":"Paste your github_pat_… token","settings.decoCreditsHero.add":"Add","settings.decoCreditsHero.addCredits":"Add credits","settings.decoCreditsHero.amountPlaceholder":"50","settings.decoCreditsHero.availableBalance":"Available credit balance","settings.decoCreditsHero.cancel":"Cancel","settings.decoCreditsHero.cancelButton":"Cancel","settings.decoCreditsHero.custom":"Custom","settings.decoCreditsHero.decoAiGatewayAlt":"Deco AI Gateway","settings.decoCreditsHero.disconnect":"Disconnect","settings.decoCreditsHero.disconnectButton":"Disconnect","settings.decoCreditsHero.disconnectDescription":"This will remove the Deco AI Gateway from this workspace. Your credit balance is preserved and will be available if you reconnect.","settings.decoCreditsHero.disconnectError":"Failed to disconnect: {message}","settings.decoCreditsHero.disconnectSuccess":"Deco AI Gateway disconnected","settings.decoCreditsHero.disconnectTitle":"Disconnect Deco AI Gateway","settings.decoCreditsHero.refreshBalance":"Refresh balance","settings.decoCreditsHero.title":"Deco AI Gateway","settings.planUsage.title":"Plan","settings.planUsage.loadFailed":"Couldn't read this organization's plan.","settings.planUsage.retry":"Retry","settings.planUsage.aiUsage":"AI usage","settings.planUsage.usageUnavailable":"Unavailable","settings.planUsage.used":"used","settings.plans.perMonth":"/ month","settings.planUsage.periodHint":"Resets at the start of each billing period.","settings.planUsage.noAiIncluded":"No AI usage included.","settings.planUsage.noPlan":"No active plan","settings.planUsage.noPlanDescription":"This organization has no active plan. Pick one below — Starter's first month is free.","settings.planUsage.creditsLeft":"left","settings.planUsage.manageBilling":"Manage billing","settings.planUsage.portalFailed":"Couldn't open billing: {message}","settings.planUsage.subscribe":"Subscribe","settings.planUsage.changePlan":"Change plan","settings.planUsage.changed":"Plan updated","settings.planUsage.changeFailed":"Couldn't change plan: {message}","settings.planUsage.feature.cms":"CMS","settings.planUsage.feature.chat":"Superagent chat","settings.planUsage.feature.monitoring":"Site analytics","settings.planUsage.feature.kanban":"Agentic Kanban","settings.planUsage.feature.model_choice":"Choose your model","settings.planUsage.feature.credits":"Extra credits","settings.planUsage.feature.diagnostic":"Deco Score","settings.planUsage.feature.diagnostic_enriched":"Enriched Deco Score","settings.plans.title":"Plans","settings.plans.loadFailed":"Couldn't load the plans.","settings.plans.currentPlan":"Current plan","settings.plans.firstMonthFree":"1st month free","settings.plans.startTrial":"Start free trial","settings.plans.custom.name":"Custom","settings.plans.custom.description":"For large teams with their own contract","settings.plans.custom.cta":"Talk to us","settings.plans.managed":"Your plan: {plan}. Contact us to change it.","settings.plans.invoice.cta":"Add to my invoice","settings.plans.invoice.confirm":"{plan} will be added to your next invoice. Switch now?","settings.plans.invoice.cancel":"Cancel","settings.plans.invoice.switch":"Switch plan","settings.paywall.bullets.kanban.1":"Agents that do the work and move the cards","settings.paywall.bullets.kanban.2":"A board the whole team shares","settings.paywall.bullets.kanban.3":"Columns, tags and priorities","settings.paywall.bullets.allowance.1":"A monthly allowance that resets","settings.paywall.bullets.allowance.2":"Top up with extra credits any time","settings.paywall.bullets.allowance.3":"Your message stays in the composer","settings.paywall.bullets.cms.1":"Edit content and layout","settings.paywall.bullets.cms.2":"Live preview as you go","settings.paywall.bullets.cms.3":"Publish when it looks right","settings.paywall.bullets.monitoring.1":"Pageviews, visitors and sources","settings.paywall.bullets.monitoring.2":"Cache hit rate, latency and errors","settings.paywall.bullets.monitoring.3":"Traffic by country and device","settings.paywall.upgradeTitle":"{feature} comes with {plan}","settings.paywall.upgradeDescription":"Unlocks it for everyone in the organization.","settings.paywall.description":"This organization's plan doesn't include {feature}. Change the plan to unlock it for everyone in the org.","settings.paywall.seePlans":"See plans","settings.paywall.dismiss":"Not now","settings.paywall.serverRefusedFeature":"Your plan does not include this. Ask an owner to upgrade, or see plans.","settings.paywall.serverRefusedBudget":"This organization has used its monthly AI allowance. Chat and tasks pause until you upgrade or top up.","settings.decoCreditsHero.topUpFailed":"Top-up failed: {message}","settings.decoNudgeCard.connectDeco":"Connect Deco","settings.decoNudgeCard.connecting":"Connecting…","settings.decoNudgeCard.decoAiGateway":"Deco AI Gateway","settings.decoNudgeCard.description":"100+ models, one connection — pay as you go, no API keys to juggle.","settings.decoNudgeCard.recommended":"Recommended","settings.deleteOrganizationSection.cancel":"Cancel","settings.deleteOrganizationSection.dangerZone":"Danger Zone","settings.deleteOrganizationSection.deleteButton":"Delete","settings.deleteOrganizationSection.deleteOrganizationAction":"Delete organization","settings.deleteOrganizationSection.deleteOrganizationDescription":"Permanently delete this organization and all of its data. This action cannot be undone.","settings.deleteOrganizationSection.deleteOrganizationQuestion":"Delete Organization?","settings.deleteOrganizationSection.deleteOrganizationTitle":"Delete organization","settings.deleteOrganizationSection.deleteWarning":"This will permanently delete all data associated with {organizationName}. This action cannot be undone.","settings.deleteOrganizationSection.deleting":"Deleting…","settings.deleteOrganizationSection.failedToDeleteOrganization":"Failed to delete organization","settings.deleteOrganizationSection.irreversibleActionsDescription":"Irreversible actions that affect your entire organization.","settings.deleteOrganizationSection.organizationDeleted":"Organization deleted","settings.deleteOrganizationSection.typeToConfirm":"Type {organizationName} to confirm:","settings.domainSettings.addDnsRecordInstruction":"Add the DNS record below, then verify.","settings.domainSettings.addDomain":"Add domain","settings.domainSettings.adding":"Adding…","settings.domainSettings.copied":"Copied","settings.domainSettings.dnsInstructions":"Add this TXT record at your DNS provider, then click Verify:","settings.domainSettings.domainAdded":"Domain added","settings.domainSettings.domainPlaceholder":"acme.com","settings.domainSettings.domainRemoved":"Domain removed","settings.domainSettings.domainVerified":"Domain verified","settings.domainSettings.emailDomains":"Email domains","settings.domainSettings.emailDomainsDescription":"Let people with a matching email domain discover and join this organization.","settings.domainSettings.failedAddDomain":"Failed to add domain","settings.domainSettings.failedRemove":"Failed to remove","settings.domainSettings.failedUpdate":"Failed to update","settings.domainSettings.failedVerify":"Failed to verify","settings.domainSettings.joinMode":"Join mode","settings.domainSettings.joinModeAuto":"Auto-join","settings.domainSettings.joinModeHelpAuto":"Anyone with a verified @{domain} email joins automatically.","settings.domainSettings.joinModeHelpOff":"Not discoverable — no one can find or join through this domain.","settings.domainSettings.joinModeHelpRequest":"People with a verified @{domain} email can request to join; an admin approves.","settings.domainSettings.joinModeOff":"Off","settings.domainSettings.joinModeRequest":"Require approval","settings.domainSettings.joinModeUpdated":"Join mode updated","settings.domainSettings.pending":"Pending","settings.domainSettings.remove":"Remove","settings.domainSettings.txt":"TXT","settings.domainSettings.txtRecordNotFound":"TXT record not found yet — DNS can take a few minutes.","settings.domainSettings.value":"value","settings.domainSettings.verified":"Verified","settings.domainSettings.verify":"Verify","settings.editProviderDialog.apiKey":"API key","settings.editProviderDialog.apiKeyRequiredForBaseUrlChange":"Enter the API key again to confirm changing the base URL","settings.editProviderDialog.baseUrl":"Base URL","settings.editProviderDialog.baseUrlPlaceholder":"http://localhost:4000/v1","settings.editProviderDialog.cancel":"Cancel","settings.editProviderDialog.editTitle":"Edit {name}","settings.editProviderDialog.failedToUpdate":"Failed to update: {error}","settings.editProviderDialog.hideApiKey":"Hide API key","settings.editProviderDialog.label":"Label","settings.editProviderDialog.labelPlaceholder":"e.g. Personal key","settings.editProviderDialog.labelRequired":"Label is required","settings.editProviderDialog.leaveBlankHint":"leave blank to keep current","settings.editProviderDialog.providerUpdated":"Provider updated","settings.editProviderDialog.save":"Save","settings.editProviderDialog.saving":"Saving...","settings.editProviderDialog.showApiKey":"Show API key","settings.joinRequestsSection.approve":"Approve","settings.joinRequestsSection.approveFailed":"Failed to approve","settings.joinRequestsSection.approved":"Request approved","settings.joinRequestsSection.deny":"Deny","settings.joinRequestsSection.denied":"Request denied","settings.joinRequestsSection.denyFailed":"Failed to deny","settings.joinRequestsSection.description":"People who requested to join via a domain in approval mode.","settings.joinRequestsSection.title":"Join requests","settings.orgGeneral.organization":"Organization","settings.review.title":"Reviewers & merge","settings.review.description":"The automated Reviewer runs on a task's pull request when the card reaches In Review (checks passing or none). It appears as a session on the task card.","settings.review.reviewerTitle":"Enable Reviewer","settings.review.reviewerDescription":"When the card reaches In Review, reviews the code with the repository's own review skills, fixes what it finds on the pull request's branch, then exercises the change on the deploy preview. An approval moves the card to QA; when it can't settle something itself, it hands the task to you.","settings.review.cheapReviewerModelTitle":"Run reviewers on a cheaper model","settings.review.cheapReviewerModelDescription":"The Reviewer runs on a smaller model than the Super Agent that wrote the change. Cuts review cost; may cut review depth.","settings.review.autoMergeTitle":"Enable Auto-merge","settings.review.autoMergeDescription":"When a card reaches Ready for Deployment, merge its pull request automatically instead of waiting for someone to press Ship.","settings.review.autoResolveConflictsTitle":"Auto-resolve merge conflicts","settings.review.autoResolveConflictsDescription":"When a pull request in Ready for Deployment conflicts with its base branch, hand it back to the Super Agent to check out the branch, merge the base and push. Follows Auto-merge unless you set it here.","settings.review.autoAssignReportTasksTitle":"Auto-assign Deco Score tasks to the Super Agent","settings.review.autoAssignReportTasksDescription":"Tasks created from the Deco Score are delegated to the Super Agent automatically instead of landing unassigned.","settings.review.updateError":"Couldn't update the setting","settings.taskPrompt.title":"System prompt","settings.taskPrompt.fieldLabel":"Instructions","settings.taskPrompt.placeholder":"e.g. Use pnpm, never npm. Never edit files under src/generated/.","settings.taskPrompt.save":"Save","settings.taskPrompt.saved":"System prompt saved","settings.taskPrompt.failed":"Couldn't save the system prompt","settings.taskPrompt.skillsLabel":"Skills on every column","settings.agentTools.title":"Agent tools","settings.agentTools.description":"What a coding-agent run reaches beyond the repository it is working in.","settings.agentTools.orgMcpsTitle":"Give runs this org's MCP connections","settings.agentTools.orgMcpsDescription":"Every MCP you have connected becomes available to the Super Agent and the reviewers, on top of the task tools they always get. Tools load only when the agent looks for one, so connecting more does not crowd its context.","settings.agentTools.orgMcpsPickTitle":"Connections runs can reach","settings.agentTools.orgMcpsPickDescription":"Turn one off to keep it away from coding-agent runs. Useful for a connection that duplicates a tool a run already has — an MCP for the same tracker the run reports to, say. A newly connected MCP starts on.","settings.agentTools.orgMcpsPickAriaLabel":"Let runs reach {name}","settings.agentTools.orgMcpsPickEmpty":"This organization has no MCP connections yet","settings.agentTools.orgMcpsPickFailed":"Could not save which connections runs can reach","settings.agentTools.orgMcpsPickLoadFailed":"Could not load MCP connections","settings.agentTools.orgMcpsPickSearch":"Search connections…","settings.agentTools.orgMcpsPickEnableAll":"Enable all","settings.agentTools.orgMcpsPickDisableAll":"Disable all","settings.agentTools.orgMcpsPickNoMatch":"No connection matches that search","settings.agentTools.orgMcpsPickSave":"Save","settings.agentTools.orgMcpsPickSaving":"Saving…","settings.agentTools.orgMcpsPickDiscard":"Discard","settings.agentTools.orgMcpsPickSaved":"Saved which connections runs can reach","settings.agentTools.chatRuntimeSection":"Chats","settings.agentTools.chatHarnessSandboxOnlyTitle":"Run every chat with Claude Code in its own sandbox","settings.agentTools.chatHarnessSandboxOnlyDescription":"Every new chat runs Claude Code in a sandbox of its own instead of on Decopilot, and existing Decopilot chats switch over on their next message. The first message of a chat waits for its sandbox to start. Needs an Anthropic, OpenRouter or deco AI gateway key, or a Claude subscription.","settings.agentTools.codingAgentsClaudeCodeTitle":"Run Code Agent chats with Claude Code","settings.agentTools.codingAgentsClaudeCodeDescription":"Chats on an agent imported from a GitHub repo run inside that agent's sandbox, next to the checkout, instead of on Decopilot. Replies arrive a whole turn at a time rather than word by word. Only new chats are affected — an existing chat keeps the runtime it started on.","settings.orgRoleDetail.addMember":"Add Member","settings.orgRoleDetail.addMembersToGrantPermissions":"Add members to grant them the configured permissions.","settings.orgRoleDetail.addMembersToRole":"Add Members to Role","settings.orgRoleDetail.addWithCount":"Add ({count})","settings.orgRoleDetail.added":"Added","settings.orgRoleDetail.allConnections":"All connections","settings.orgRoleDetail.allConnectionsDescription":"Every tool on every connection, including ones added later. Uncheck a connection to leave it out.","settings.orgRoleDetail.allModels":"All models","settings.orgRoleDetail.allOrgPermissions":"All organization permissions","settings.orgRoleDetail.allProjects":"All projects","settings.orgRoleDetail.allProjectsDescription":"This role can access every project, including ones created later. Uncheck a project to hide it from this role, or turn off to pick specific projects.","settings.orgRoleDetail.builtinRolePermissionsCannotBeChanged":"Built-in role permissions cannot be changed","settings.orgRoleDetail.cancel":"Cancel","settings.orgRoleDetail.createRole":"Create Role","settings.orgRoleDetail.enabledCount":"{enabledCount}/{total} enabled","settings.orgRoleDetail.failedToSaveRole":"Failed to save role","settings.orgRoleDetail.general":"General","settings.orgRoleDetail.grantFullAccessToAllFeaturesBelow":"Grant full access to all features below","settings.orgRoleDetail.loadingModels":"Loading models...","settings.orgRoleDetail.mcpPermissions":"MCP Permissions","settings.orgRoleDetail.members":"Members","settings.orgRoleDetail.membersUpdatedSuccessfully":"Members updated successfully!","settings.orgRoleDetail.models":"Models","settings.orgRoleDetail.noLlmConnectionsConfigured":"No LLM connections configured","settings.orgRoleDetail.noMembers":"No members","settings.orgRoleDetail.noMembersAvailable":"No members available","settings.orgRoleDetail.noMembersFound":"No members found","settings.orgRoleDetail.noMembersMatch":'No members match "{searchQuery}"',"settings.orgRoleDetail.noPermissionsMatch":'No permissions match "{searchQuery}"',"settings.orgRoleDetail.noProjectsAvailable":"No projects available","settings.orgRoleDetail.noProjectsMatch":'No projects match "{searchQuery}"',"settings.orgRoleDetail.organizationPermissions":"Organization Permissions","settings.orgRoleDetail.owner":"Owner","settings.orgRoleDetail.ownerMembershipCannotBeChanged":"Owner membership cannot be changed","settings.orgRoleDetail.projects":"Projects","settings.orgRoleDetail.removeMember":"Remove {name} from role","settings.orgRoleDetail.roleCreatedSuccessfully":"Role created successfully!","settings.orgRoleDetail.roleName":"Role name","settings.orgRoleDetail.roleNameIsRequired":"Role name is required","settings.orgRoleDetail.roleUpdatedSuccessfully":"Role updated successfully!","settings.orgRoleDetail.saveChanges":"Save Changes","settings.orgRoleDetail.saving":"Saving...","settings.orgRoleDetail.searchMcpServers":"Search MCP servers...","settings.orgRoleDetail.searchMembers":"Search members...","settings.orgRoleDetail.searchModels":"Search models...","settings.orgRoleDetail.searchPermissions":"Search permissions...","settings.orgRoleDetail.searchProjects":"Search projects...","settings.orgRoleDetail.selectMembersToAddToThisRole":"Select members to add to this role.","settings.orgRoleDetail.showMore":"Show more ({remaining} remaining)","settings.orgRoleDetail.somethingWentWrong":"Something went wrong","settings.orgRoleDetail.unknown":"Unknown","settings.orgRoleDetail.userIsDefaultRoleMessage":"User is the default role — members can't be removed from it; assign another role to change their access","settings.orgSso.cancelButton":"Cancel","settings.orgSso.clientIdLabel":"Client ID","settings.orgSso.clientIdPlaceholder":"your-client-id","settings.orgSso.clientSecretEditDescription":"Leave empty to keep current","settings.orgSso.clientSecretLabel":"Client Secret","settings.orgSso.clientSecretPlaceholder":"your-client-secret","settings.orgSso.clientSecretRequiredError":"Client Secret is required for initial setup","settings.orgSso.configurationRemovedSuccess":"SSO configuration removed","settings.orgSso.configurationSavedSuccess":"SSO configuration saved","settings.orgSso.configureSsoButton":"Configure SSO","settings.orgSso.discoveryEndpointDescription":"Optional — auto-detected from issuer if omitted.","settings.orgSso.discoveryEndpointLabel":"Discovery Endpoint","settings.orgSso.discoveryEndpointPlaceholder":"Auto-detected from issuer","settings.orgSso.domainLabel":"Domain","settings.orgSso.editConfigButton":"Edit configuration","settings.orgSso.emailDomainDescription":"The email domain this SSO provider covers.","settings.orgSso.emailDomainLabel":"Email Domain","settings.orgSso.emailDomainPlaceholder":"company.com","settings.orgSso.enforceSsoDescription":"Require all members to authenticate via SSO","settings.orgSso.enforceSsoLabel":"Enforce SSO","settings.orgSso.enforcementDisabledSuccess":"SSO enforcement disabled","settings.orgSso.enforcementEnabledSuccess":"SSO enforcement enabled","settings.orgSso.issuerUrlDescription":"The OIDC issuer URL of your identity provider.","settings.orgSso.issuerUrlLabel":"Issuer URL","settings.orgSso.issuerUrlPlaceholder":"https://login.microsoftonline.com/{tenant}/v2.0","settings.orgSso.loading":"Loading...","settings.orgSso.providerLabel":"Provider","settings.orgSso.removeButton":"Remove","settings.orgSso.removeConfirmation":"Are you sure you want to remove SSO configuration?","settings.orgSso.removeSsoConfigError":"Failed to remove SSO config","settings.orgSso.requiredFieldsError":"Issuer, Client ID, and Domain are required","settings.orgSso.saveSsoConfigError":"Failed to save SSO config","settings.orgSso.savingButton":"Saving...","settings.orgSso.scopesLabel":"Scopes","settings.orgSso.scopesPlaceholder":"openid email profile","settings.orgSso.sectionTitle":"Single Sign-On","settings.orgSso.securityTitle":"Security","settings.orgSso.testSsoButton":"Test SSO","settings.orgSso.toggleEnforcementError":"Failed to toggle SSO enforcement","settings.orgSso.updateButton":"Update","settings.organizationForm.failedToReadImage":"Failed to read image","settings.organizationForm.failedToUpdateOrg":"Failed to update organization","settings.organizationForm.imageTooLarge":"Image must be smaller than 2MB","settings.organizationForm.logoDescription":"Recommended size is 256x256px","settings.organizationForm.logoTitle":"Logo","settings.organizationForm.namePlaceholder":"Organization name","settings.organizationForm.nameRequired":"Name is required","settings.organizationForm.nameTitle":"Name","settings.organizationForm.nameTooLong":"Name is too long","settings.organizationForm.updateSuccess":"Organization updated successfully","settings.organizationForm.uploadLogoLabel":"Upload organization logo","settings.organizationForm.urlDescription":"Can't be changed — it's used in URLs and API integrations.","settings.organizationForm.urlTitle":"URL","settings.providerKeyRow.addedTimeAgo":"{label} · added {time} ago","settings.providerKeyRow.cancel":"Cancel","settings.providerKeyRow.claudeCode":"Claude Code","settings.providerKeyRow.codex":"Codex","settings.providerKeyRow.delete":"Delete","settings.providerKeyRow.deleteApiKey":"Delete API key","settings.providerKeyRow.deleteProviderKey":"Delete provider key","settings.providerKeyRow.editProviderKey":"Edit provider key","settings.providerKeyRow.failedToDeleteKey":"Failed to delete key: {error}","settings.providerKeyRow.keyDeleted":"Key deleted","settings.roles.allConnections":"All connections","settings.roles.basicAccess":"Basic access","settings.roles.builtIn":"Built-in","settings.roles.cancel":"Cancel","settings.roles.columnMembers":"Members","settings.roles.columnPermissions":"Permissions","settings.roles.columnRole":"Role","settings.roles.columnType":"Type","settings.roles.connectionCount":"{count} connection(s)","settings.roles.createRole":"Create Role","settings.roles.createRoleGetStarted":"Create a role to get started.","settings.roles.custom":"Custom","settings.roles.delete":"Delete","settings.roles.deleteRoleConfirm":'Are you sure you want to delete the "{role}" role? This action cannot be undone.',"settings.roles.deleteRoleTitle":"Delete Role","settings.roles.deletedSuccessfully":"Role deleted successfully!","settings.roles.failedToLoad":"Failed to load roles","settings.roles.fullAccess":"Full access","settings.roles.fullOrgAccess":"Full org access","settings.roles.noPermissions":"No permissions","settings.roles.noRoles":"No roles","settings.roles.noRolesFound":"No roles found","settings.roles.noRolesMatchSearch":'No roles match "{search}"',"settings.roles.orgPermsCount":"{count} org perm(s)","settings.roles.pageTitle":"Roles","settings.roles.roleAdmin":"Admin","settings.roles.roleOwner":"Owner","settings.roles.roleUser":"User","settings.roles.searchPlaceholder":"Search roles...","settings.apiKeys.cancelButton":"Cancel","settings.apiKeys.copied":"Copied to clipboard","settings.apiKeys.copyKey":"Copy key","settings.apiKeys.createButton":"Create key","settings.apiKeys.createdAt":"Created {date}","settings.apiKeys.createdDescription":"Copy this key now — it won't be shown again.","settings.apiKeys.createdTitle":"API key created","settings.apiKeys.creatingButton":"Creating…","settings.apiKeys.deleteDescription":"Any application using this key will immediately lose access. This cannot be undone.","settings.apiKeys.deleteKey":"Delete key","settings.apiKeys.deleteTitle":'Delete "{name}"?',"settings.apiKeys.done":"Done","settings.apiKeys.emptyDescription":"Create a key to authenticate external applications with this organization.","settings.apiKeys.emptyTitle":"No API keys yet","settings.apiKeys.failedToCreateKey":"Failed to create API key","settings.apiKeys.failedToDeleteKey":"Failed to delete API key","settings.apiKeys.failedToLoadError":"Failed to load API keys: {error}","settings.apiKeys.keyDeleted":'API key "{name}" deleted',"settings.apiKeys.loading":"Loading API keys…","settings.apiKeys.nameLabel":"Name","settings.apiKeys.namePlaceholder":"My integration","settings.apiKeys.newKey":"New key","settings.apiKeys.newKeyDescription":"Give the key a name so you can recognize it later.","settings.apiKeys.newKeyTitle":"New API key","settings.apiKeys.sectionDescription":"Long-lived keys for scripts and clients that can't sign in through a browser.","settings.apiKeys.sectionTitle":"API keys","settings.secrets.cancelButton":"Cancel","settings.secrets.createButton":"Create secret","settings.secrets.creatingButton":"Creating…","settings.secrets.descriptionLabel":"Description (optional)","settings.secrets.descriptionPlaceholder":"What is this secret used for?","settings.secrets.emptyDescription":"Store API keys, tokens, and other sensitive values. Values are encrypted at rest and never returned over the API.","settings.secrets.emptyTitle":"No secrets yet","settings.secrets.failedToCreateSecret":"Failed to create secret","settings.secrets.failedToLoadError":"Failed to load secrets: {error}","settings.secrets.nameHelp":"Letters, digits, underscore, dot, hyphen. Case-insensitive within its scope.","settings.secrets.nameLabel":"Name","settings.secrets.namePlaceholder":"STRIPE_API_KEY","settings.secrets.newSecret":"New secret","settings.secrets.newSecretDescription":"Stored encrypted in the credential vault. Choose who can read it.","settings.secrets.newSecretTitle":"New secret","settings.secrets.scopeLabel":"Scope","settings.secrets.scopeOrganization":"Organization","settings.secrets.scopeOrganizationDescription":"Organization — visible to all members","settings.secrets.scopePrivate":"Private","settings.secrets.scopePrivateDescription":"Private — only visible to me","settings.secrets.secretCreated":'Secret "{name}" created',"settings.secrets.secretsCountSingular":"{count} secret stored","settings.secrets.secretsCountPlural":"{count} secrets stored","settings.secrets.sectionOrganization":"Organization","settings.secrets.sectionPrivate":"Private to me","settings.secrets.valueLabel":"Value","settings.simpleModeSection.defaultModels":"Default models","settings.simpleModeSection.failedToSave":"Failed to save: {error}","settings.simpleModeSection.modelsPowerDescription":"These models power chat, automations, and tools across your organization.","settings.simpleModeSection.notAvailableWithCurrentProvider":"Not available with current provider","settings.simpleModeSection.pickModel":"Pick model","settings.simpleModeSection.saved":"Saved","settings.simpleModeSection.saving":"Saving…","settings.simpleModeSection.tierDeepResearch":"Deep research","settings.simpleModeSection.tierDeepResearchDesc":"In-depth, multi-source research reports","settings.simpleModeSection.tierFast":"Fast","settings.simpleModeSection.tierFastDesc":"Fastest responses, best for quick tasks","settings.simpleModeSection.tierImage":"Image","settings.simpleModeSection.tierImageDesc":"Image generation","settings.simpleModeSection.tierSmart":"Smart","settings.simpleModeSection.tierSmartDesc":"Balanced speed and capability","settings.simpleModeSection.tierThinking":"Thinking","settings.simpleModeSection.tierThinkingDesc":"Most capable, best for complex tasks","settings.simpleModeSection.tierWebSearch":"Web search","settings.simpleModeSection.tierWebSearchDesc":"Quick, up-to-date answers from the web","settings.aiProviders.recommended":"Recommended — 100+ models, pay as you go","settings.aiProviders.customOpenAiCompatible":"Custom OpenAI-compatible","settings.aiProviders.customOpenAiDescription":"Bring your own model server (advanced)","settings.aiProviders.moreProvidersSingular":"{count} more provider","settings.aiProviders.moreProvidersPlural":"{count} more providers","settings.aiProviders.decoConnectSuccess":"Deco AI Gateway connected successfully","settings.aiProviders.decoConnectError":"Failed to connect Deco AI Gateway: {error}","settings.infraBilling.noSites":"This organization doesn't own any deco.cx site yet.","settings.infraBilling.siteLabel":"Sites","settings.infraBilling.pickASite":"Select at least one site.","settings.infraBilling.tooManySites":"Showing the first {count} sites. Select specific sites to see the rest.","settings.infraBilling.multipleTeams":"These sites are billed by {count} legacy teams. Each team's plan and invoices are listed under Invoices.","settings.infraBilling.noTeam":"These sites aren't linked to a legacy billing team.","settings.infraBilling.partialTeam":"This site's legacy team also bills sites outside this organization, so its plan and invoices aren't shown here.","settings.infraBilling.billingUnavailable":"Plan and invoices are temporarily unavailable.","settings.infraBilling.monthLabel":"Month","settings.infraBilling.warehouseUnavailable":"Usage data couldn't be read, so the figures below are incomplete.","settings.infraBilling.summaryTitle":"Summary","settings.infraBilling.metricsTitle":"Metrics","settings.infraBilling.invoicesTitle":"Invoices","settings.infraBilling.detailsTitle":"Billing details","settings.infraBilling.currentPlan":"Current plan","settings.infraBilling.nextBilling":"Next billing","settings.infraBilling.manageButton":"Manage","settings.infraBilling.portalError":"Couldn't open billing portal: {message}","settings.infraBilling.requestsPerPageview":"Requests per pageview","settings.infraBilling.plan.free":"Free","settings.infraBilling.plan.pro":"Pro","settings.infraBilling.plan.enterprise":"Enterprise","settings.infraBilling.pageviews":"Pageviews","settings.infraBilling.pageviewsDescription":"Pages served to visitors this month.","settings.infraBilling.requests":"Requests","settings.infraBilling.requestsDescription":"CDN and shared infrastructure requests.","settings.infraBilling.dataTransfer":"Data transfer","settings.infraBilling.dataTransferDescription":"Bandwidth served from the edge and the origin.","settings.infraBilling.noInvoices":"No invoices issued for this team.","settings.infraBilling.invoiceReference":"Reference","settings.infraBilling.invoiceDue":"Due date","settings.infraBilling.invoiceAmount":"Amount","settings.infraBilling.invoiceStatus":"Status","settings.infraBilling.invoiceDocuments":"Documents","settings.infraBilling.invoiceNf":"Invoice","settings.infraBilling.invoiceBankSlip":"Bank slip","settings.infraBilling.invoiceBankTransfer":"Bank transfer","settings.infraBilling.statusPaid":"Paid","settings.infraBilling.statusOverdue":"Overdue","settings.infraBilling.statusPending":"Pending","settings.gitCredentials.title":"Git credentials","settings.gitCredentials.description":"Personal access tokens for private git repositories your projects pull from but a sandbox cannot otherwise reach — submodules, and private dependencies resolved by pub, go, npm or cargo. Used by every sandbox in this organization. Reference an org/user secret per host; SSH URLs are rewritten to HTTPS so the token applies.","settings.gitCredentials.addCredential":"Add git credential","settings.gitCredentials.cancel":"Cancel","settings.gitCredentials.createNewSecret":"Create new secret","settings.gitCredentials.createNewSecretAriaLabel":"Create new secret","settings.gitCredentials.createNewSecretDescription":"Stored encrypted in the credential vault. The git credential will reference the new secret by id — its value never leaves the server.","settings.gitCredentials.createNewSecretTitle":"Create new secret","settings.gitCredentials.descriptionLabel":"Description (optional)","settings.gitCredentials.descriptionPlaceholder":"What is this token used for?","settings.gitCredentials.failedToLoadSecrets":"Failed to load secrets","settings.gitCredentials.failedToSave":"Failed to save git credentials","settings.gitCredentials.failedToSaveSecret":"Failed to save","settings.gitCredentials.hostAriaLabel":"Git credential {index} host","settings.gitCredentials.hostInvalidMessage":"Bare hostname, e.g. github.com (no scheme or path).","settings.gitCredentials.hostPlaceholder":"github.com","settings.gitCredentials.maxReached":"You've reached the limit of {max} git credentials. Remove one to add another.","settings.gitCredentials.nameLabel":"Name","settings.gitCredentials.namePlaceholder":"GITHUB_DEPS_PAT","settings.gitCredentials.nameHelperText":"Letters, digits, underscore, dot, hyphen.","settings.gitCredentials.noSecretsYet":'No secrets yet. Use the "+" to create one.',"settings.gitCredentials.pickSecretPlaceholder":"Pick a secret…","settings.gitCredentials.remove":"Remove","settings.gitCredentials.removeAriaLabel":"Remove git credential","settings.gitCredentials.saveSecret":"Save secret","settings.gitCredentials.saving":"Saving…","settings.gitCredentials.secretAriaLabel":"Git credential {index} secret","settings.gitCredentials.scopeLabel":"Scope","settings.gitCredentials.scopeOrganization":"Organization — visible to all members","settings.gitCredentials.scopePrivate":"Private — only visible to me","settings.gitCredentials.secretSaved":'Saved secret "{name}"',"settings.gitCredentials.tokenExposureWarning":"The token is installed in the sandbox's git config for the session, so commands and agents running there can use it. Scope it to the repositories it needs.","settings.gitCredentials.tokenLabel":"Personal access token","settings.gitCredentials.tokenPlaceholder":"Paste your token"},lJ={"announcements.ptBr.title":"Studio is now in Portuguese","announcements.ptBr.description":"We noticed your browser is set to Portuguese, so we switched Studio to Portuguese (Brazil) for you. You can switch back to English anytime in settings.","announcements.ptBr.ok":"OK!","announcements.ptBr.switchBack":"Switch back to English","announcements.release.ariaLabel":"Release announcement","announcements.release.dismiss":"Dismiss release announcement","announcements.release.learnMore":"Learn more","announcements.version.ariaLabel":"Studio update","announcements.version.dismiss":"Dismiss Studio update","announcements.version.eyebrow":"Studio update","announcements.version.title":"A new version is ready","announcements.version.description":"Refresh to load the latest Studio updates.","announcements.version.currentSession":"Current session · {version}","announcements.version.refresh":"Refresh now"},cJ={"assets.browser.title":"Assets","assets.browser.bucketLabel":"Bucket: {name}","assets.browser.noBucketTitle":"No assets bucket for this site","assets.browser.noBucketDescription":"Configure and associate an S3-compatible bucket with this site to browse and upload assets here.","assets.browser.deleteAction":"Delete","assets.browser.deleteConfirmTitle":"Delete file?","assets.browser.deleteConfirmDescription":'Permanently delete "{name}" from the bucket? This cannot be undone.',"assets.browser.deleteCancel":"Cancel","assets.browser.deleteConfirm":"Delete","assets.browser.deleted":"File deleted","assets.browser.deleteFailed":"Failed to delete file"},dJ={...fQ,...vQ,...bQ,...yQ,...SQ,...wQ,...TQ,...xQ,..._Q,...kQ,...CQ,...PQ,...EQ,...AQ,...RQ,...HQ,...GQ,...WQ,...DQ,...OQ,...MQ,...NQ,...IQ,...LQ,...BQ,...FQ,...jQ,...zQ,...UQ,...qQ,...$Q,...VQ,...KQ,...YQ,...ZQ,...QQ,...JQ,...XQ,...eJ,...tJ,...oJ,...aJ,...nJ,...rJ,...iJ,...sJ,...lJ,...cJ,...gQ,...hQ};function cL(e,t){return t?e.replace(/\{(\w+)\}/g,(o,a)=>Object.hasOwn(t,a)?String(t[a]):o):e}const uJ={"page.overview":"Visão geral","page.app":"App","page.view":"Visualização","page.file":"Arquivo","page.document":"Documento","page.item":"Item","page.breadcrumbs":"Navegação estrutural","page.breadcrumbMenu":"Mostrar caminho de navegação","page.views":"Visualizações da página","page.openThread":"Abrir chat","page.closeThread":"Fechar chat","page.collapseSidebar":"Recolher barra lateral","page.expandSidebar":"Expandir barra lateral"},pJ={"projects.platform.vtex":"VTEX","projects.platform.shopify":"Shopify","projects.platform.wake":"Wake","projects.platform.nuvemshop":"Nuvemshop","projects.platform.linx":"Linx","projects.platform.vnda":"VNDA","projects.home.newProject":"Novo projeto","projects.card.updated":"Atualizado {time}","projects.empty.title":"Seu comércio, um projeto por vez","projects.empty.description":"Um site, um app, uma loja. Cada um com suas conexões, seu relatório e seu quadro.","projects.empty.readOnly":"Peça a um admin para criar o primeiro projeto.","projects.new.title":"Novo projeto","projects.new.subtitle":"O que você vai configurar?","projects.new.back":"Voltar","projects.new.create":"Criar projeto","projects.new.creating":"Criando…","projects.new.nameLabel":"Nome do projeto","projects.new.namePlaceholder":"Farm web","projects.new.nameRequired":"Dê um nome ao projeto","projects.new.failed":"Não foi possível criar o projeto","projects.new.created":"{title} está pronto","projects.new.path.repository":"Importar um código","projects.new.path.repository.hint":"Traga o código de um site ou app","projects.new.path.folder":"Nova pasta de projeto","projects.new.path.folder.hint":"Dê o nome agora, conecte depois","projects.new.step.folder.title":"Dê nome ao seu projeto","projects.reports.chooserTitle":"Continuar para Relatórios","projects.reports.chooserSubtitle":"Escolha um projeto para continuar","projects.reports.chooserSearch":"Buscar projeto…","projects.reports.chooserEmpty":"Nenhum projeto com esse nome.","projects.reports.status.ready":"Pronto","projects.reports.status.running":"Rodando","projects.reports.status.none":"Não rodou","projects.reports.status.locked":"Bloqueado","projects.connections.orgWide":"Toda a organização","projects.connections.usedBy":"{count} projetos","projects.settings.title":"Projetos","projects.settings.description":"Tudo que é escopado por projeto fica aqui: repositórios, conexões, relatório e quadro.","projects.settings.searchPlaceholder":"Buscar projetos…","projects.settings.open":"Abrir","projects.settings.openSettings":"Configurações","projects.settings.orgScopeNote":"Membros, cobrança, segurança e provedores de IA continuam sendo da organização.","projects.settings.noResults":"Nenhum projeto corresponde a “{search}”","projects.identity.storeUrlLabel":"URL da loja","projects.identity.storeUrlDescription":"A loja no ar. Os relatórios rodam contra este endereço.","projects.flat.viewProject":"Projeto","projects.flat.viewFiles":"Arquivos","projects.flat.viewAnalytics":"Análise","projects.apps.heading":"Apps","projects.apps.seeAll":"Ver todos","projects.apps.showLess":"Ver menos","projects.apps.reports":"Relatório","projects.apps.reportsCaption":"O que está errado na loja","projects.apps.siteEditor":"Editor de site","projects.apps.siteEditorCaption":"Páginas, seções e conteúdo","projects.apps.assets":"Assets","projects.apps.assetsCaption":"Imagens e arquivos que o site usa","projects.apps.releases":"Releases","projects.apps.releasesCaption":"O que está no ar e releases anteriores","projects.apps.hosting":"Hosting","projects.apps.hostingCaption":"Deploys, domínios e ambientes","projects.apps.e2e":"Testes ponta a ponta","projects.apps.e2eCaption":"Fluxos verificados a cada mudança","projects.apps.analytics":"Analytics","projects.apps.analyticsCaption":"Tráfego, conversão e receita","projects.apps.cdn":"Monitor","projects.apps.cdnCaption":"Cache, latência e erros","projects.apps.automations":"Automações","projects.apps.automationsCaption":"Trabalho que roda em agenda","projects.apps.experiments":"Experimentos","projects.apps.experimentsCaption":"Testes A/B e seus resultados","projects.flat.close":"Fechar"},mJ={"virtualMcp.addConnectionDialog.addConnectionTitle":"Adicionar Conexão","virtualMcp.addConnectionDialog.authenticationFailedError":"Autenticação falhou: {error}","virtualMcp.addConnectionDialog.connected":"Conectado","virtualMcp.addConnectionDialog.connectedAuthenticated":"Conectado e autenticado","virtualMcp.addConnectionDialog.connectionsTitle":"Conexões","virtualMcp.addConnectionDialog.failedToAddConnection":"Falha ao adicionar conexão","virtualMcp.addConnectionDialog.failedToConnect":"Falha ao conectar","virtualMcp.addConnectionDialog.mcpServerConnectionError":"Este servidor MCP não pode ser conectado: nenhum método de conexão disponível","virtualMcp.addConnectionDialog.searchConnectionsPlaceholder":"Pesquisar conexões...","virtualMcp.addConnectionDialog.signInFailedDescription":"Foi adicionada ao seu projeto, mas sua configuração de login parece estar errada. Você pode tentar autenticar novamente mais tarde nas configurações da conexão. ({error})","virtualMcp.addConnectionDialog.signInFailedTitle":"Não foi possível fazer login nesta conexão","virtualMcp.connectionDialogContent.add":"Adicionar","virtualMcp.connectionDialogContent.added":"Adicionado","virtualMcp.connectionDialogContent.builtByDeco":"Construído e mantido pela Deco","virtualMcp.connectionDialogContent.builtByOfficial":"Construído e mantido pelo fornecedor oficial","virtualMcp.connectionDialogContent.connect":"Conectar","virtualMcp.connectionDialogContent.connected":"Conectado","virtualMcp.connectionDialogContent.customConnection":"Conexão Personalizada","virtualMcp.connectionDialogContent.emptyStateNoConnectionsAvailable":"Nenhuma conexão disponível","virtualMcp.connectionDialogContent.emptyStateNoConnectionsYet":"Nenhuma conexão ainda","virtualMcp.connectionDialogContent.emptyStateSearchNoMatch":'Nenhuma conexão corresponde a "{search}"',"virtualMcp.connectionDialogContent.madeByDeco":"Feito por Deco","virtualMcp.connectionDialogContent.sectionAllConnections":"Todas as conexões","virtualMcp.connectionDialogContent.sectionVerified":"Verificado","virtualMcp.connectionDialogContent.tabAll":"Todos","virtualMcp.connectionDialogContent.tabConnected":"Conectados","virtualMcp.connectionDialogContent.verifiedByDeco":"Verificado pelo time da Deco","virtualMcp.connectionItem.authorize":"Autorizar","virtualMcp.connectionItem.configureResources":"Configurar recursos","virtualMcp.connectionItem.connectionDisabled":"Conexão desativada","virtualMcp.connectionItem.connectionEnabled":"Conexão ativada","virtualMcp.connectionItem.connectionNotFound":"Conexão não encontrada","virtualMcp.connectionItem.connectionSettings":"Configurações de conexão","virtualMcp.connectionItem.disable":"Desativar","virtualMcp.connectionItem.disableConnection":"Desativar conexão","virtualMcp.connectionItem.disabled":"Desativada","virtualMcp.connectionItem.disabledError":"Desativada (erro)","virtualMcp.connectionItem.enable":"Ativar","virtualMcp.connectionItem.failedToUpdateConnection":"Falha ao atualizar a conexão","virtualMcp.connectionItem.needsAuthorization":"Requer autorização","virtualMcp.connectionItem.newInstance":"Nova instância","virtualMcp.connectionItem.remove":"Remover","virtualMcp.connectionItem.removeConnection":"Remover conexão","virtualMcp.dependencySelectionDialog.authorizationDescription":"Esta conexão deve ser autorizada antes de você poder configurar suas ferramentas e recursos.","virtualMcp.dependencySelectionDialog.authorizationRequired":"Autorização obrigatória","virtualMcp.dependencySelectionDialog.authorize":"Autorizar","virtualMcp.dependencySelectionDialog.deselectAll":"Desselecionar tudo","virtualMcp.dependencySelectionDialog.done":"Concluído","virtualMcp.dependencySelectionDialog.noActiveToolsSelected":"Nenhuma ferramenta ativa selecionada","virtualMcp.dependencySelectionDialog.noPromptsAvailable":"Nenhum prompt disponível","virtualMcp.dependencySelectionDialog.noResourcesAvailable":"Nenhum recurso disponível","virtualMcp.dependencySelectionDialog.noToolsAvailable":"Nenhuma ferramenta disponível","virtualMcp.dependencySelectionDialog.promptsNotSupported":"Prompts não são suportados por este servidor","virtualMcp.dependencySelectionDialog.resourcesNotSupported":"Recursos não são suportados por este servidor","virtualMcp.dependencySelectionDialog.selectAll":"Selecionar tudo","virtualMcp.dependencySelectionDialog.somethingWentWrong":"Algo deu errado","virtualMcp.dependencySelectionDialog.tabActive":"Ativas","virtualMcp.dependencySelectionDialog.tabPrompts":"Prompts","virtualMcp.dependencySelectionDialog.tabResources":"Recursos","virtualMcp.dependencySelectionDialog.tabTools":"Ferramentas","virtualMcp.dependencySelectionDialog.toolsNotSupported":"Ferramentas não são suportadas por este servidor","virtualMcp.dependencySelectionDialog.unexpectedError":"Erro inesperado","virtualMcp.filesSection.add":"Adicionar","virtualMcp.filesSection.description":"Anexe arquivos e skills que o projeto sempre pode consultar.","virtualMcp.filesSection.failedUploadFile":"Falha ao enviar arquivo.","virtualMcp.filesSection.fileTooLargeDescription":"Excede o limite de 25MB, não enviado: {names}","virtualMcp.filesSection.fileTooLargeTitle":"Arquivo muito grande","virtualMcp.filesSection.filesAndSkills":"Arquivos e skills","virtualMcp.filesSection.kindFile":"Arquivo","virtualMcp.filesSection.kindSkill":"Skill","virtualMcp.filesSection.noFilesFound":"Nenhum arquivo encontrado.","virtualMcp.filesSection.noFilesOrSkillsYet":"Nenhum arquivo ou skill ainda. Adicione um ou arraste e solte aqui.","virtualMcp.filesSection.noSkillsFound":"Nenhum skill encontrado.","virtualMcp.filesSection.removeAriaLabel":"Remover {name}","virtualMcp.filesSection.searchFilesPlaceholder":"Pesquisar arquivos...","virtualMcp.filesSection.searchSkillsPlaceholder":"Pesquisar skills...","virtualMcp.filesSection.selectFileOrFolder":"Selecionar arquivo ou pasta","virtualMcp.filesSection.selectSkill":"Selecionar skill","virtualMcp.filesSection.uploadFile":"Enviar arquivo","virtualMcp.layoutTabContent.noMainView":"Sem visão principal","virtualMcp.layoutTabContent.automations":"Automações","virtualMcp.layoutTabContent.chatAlwaysShown":"O Chat sempre aparece quando é a visualização padrão","virtualMcp.layoutTabContent.layout":"Layout","virtualMcp.layoutTabContent.mainView":"Visualização principal","virtualMcp.layoutTabContent.mainViewDescription":"O que os usuários veem quando abrem este projeto pela primeira vez.","virtualMcp.layoutTabContent.settings":"Configurações","virtualMcp.layoutTabContent.showChat":"Mostrar chat","virtualMcp.layoutTabContent.showChatDescription":"Exibir Chat no painel lateral junto com a visualização principal.","virtualMcp.layoutTabContent.siteEditor":"Editor do site","virtualMcp.settings.title":"Configurações do projeto","virtualMcp.settings.navigation":"Seções das configurações do projeto","virtualMcp.settings.identity.icon":"Ícone do projeto","virtualMcp.settings.identity.iconDescription":"Como seu projeto aparece na barra lateral e no Studio.","virtualMcp.settings.identity.name":"Nome do projeto","virtualMcp.settings.identity.description":"Descrição","virtualMcp.settings.general.title":"Geral","virtualMcp.settings.site.title":"CMS","virtualMcp.settings.site.classicTitle":"Site e sandbox","virtualMcp.settings.groups.advanced":"Avançado","virtualMcp.settings.connections.title":"Conexões","virtualMcp.settings.views.defaults":"Layout padrão","virtualMcp.settings.views.sidebar":"Visualizações","virtualMcp.settings.views.open":"Abrir","virtualMcp.settings.views.pin":"Fixar na barra lateral","virtualMcp.settings.views.unpin":"Remover da barra lateral","virtualMcp.settings.views.setMainView":"Definir como visualização principal","virtualMcp.settings.views.rowActions":"Opções da visualização","virtualMcp.subAgentsSection.addSubAgent":"Adicionar sub-projeto","virtualMcp.subAgentsSection.anyAgent":"Qualquer projeto","virtualMcp.subAgentsSection.canDelegateToAnyAgent":"Pode delegar para qualquer projeto na organização.","virtualMcp.subAgentsSection.canOnlyDelegateToItself":"Pode delegar apenas para uma cópia fresca de si mesmo, nenhum outro projeto.","virtualMcp.subAgentsSection.emptyStateMessage":"Nenhum sub-projeto selecionado ainda. Adicione um — até então, este projeto pode delegar apenas para si mesmo.","virtualMcp.subAgentsSection.noAgentsFound":"Nenhum projeto encontrado.","virtualMcp.subAgentsSection.onlyItself":"Apenas si mesmo","virtualMcp.subAgentsSection.searchPlaceholder":"Pesquisar projetos...","virtualMcp.subAgentsSection.specificAgents":"Projetos específicos","virtualMcp.subAgentsSection.title":"Sub-projetos","virtualMcp.virtualMcp.addConnection":"Adicionar conexão","virtualMcp.virtualMcp.agentDeleted":'Excluído "{title}"',"virtualMcp.virtualMcp.agentNameFallback":"Agente","virtualMcp.virtualMcp.agentNamePlaceholder":"Nome do projeto","virtualMcp.virtualMcp.authenticationFailed":"Falha na autenticação: {error}","virtualMcp.virtualMcp.authenticationSuccessful":"Autenticação bem-sucedida","virtualMcp.virtualMcp.backToSpaces":"Voltar aos espaços","virtualMcp.virtualMcp.cancel":"Cancelar","virtualMcp.virtualMcp.connect":"Conectar","virtualMcp.virtualMcp.connections":"Conexões","virtualMcp.virtualMcp.created":"Criado em","virtualMcp.virtualMcp.delete":"Excluir","virtualMcp.virtualMcp.deleteAgent":"Excluir projeto","virtualMcp.virtualMcp.deleteAgentConfirm":"Excluir Projeto?","virtualMcp.virtualMcp.deleteAgentConfirmDescription":"Esta ação não pode ser desfeita. Isto excluirá permanentemente {title}.","virtualMcp.virtualMcp.deleteAgentDescription":"Exclua permanentemente este projeto e todos os seus dados.","virtualMcp.virtualMcp.descriptionPlaceholder":"Adicionar uma descrição...","virtualMcp.virtualMcp.failedToCreateInstance":"Falha ao criar instância","virtualMcp.virtualMcp.fullscreen":"Tela cheia","virtualMcp.virtualMcp.improve":"Melhorar","virtualMcp.virtualMcp.instanceAlreadyAdded":"Esta instância já foi adicionada ao projeto","virtualMcp.virtualMcp.instructions":"Instruções","virtualMcp.virtualMcp.instructionsPlaceholder":"Defina como este agente deve se comportar, qual tom usar, qualquer restrição ou diretriz...","virtualMcp.virtualMcp.lastUsed":"Último uso {time}","virtualMcp.virtualMcp.neverUsed":"Nunca foi usado","virtualMcp.virtualMcp.newInstanceCreated":"Nova instância criada","virtualMcp.virtualMcp.noConnectionsYet":"Nenhuma conexão ainda. Adicione uma para começar.","virtualMcp.virtualMcp.openFullscreenEditor":"Abrir editor em tela cheia","virtualMcp.virtualMcp.promptTemplate":"+ Modelo de prompt","virtualMcp.virtualMcp.promptTemplateContent":`<role>
91
+ This site reports no post sections yet — once it does, cite them here with @.`,"sandbox.formats.starterName":"Standard post","sandbox.formats.suggestButton":"Suggest formats","sandbox.formats.suggestFailed":"Couldn't suggest formats","sandbox.formats.suggestHint":"Name the formats this blog already writes in, from how its posts are built","sandbox.formats.suggested":"{count} format(s) added","sandbox.formats.unknownCitations":"This format cites sections the site doesn't have: {names}","sandbox.generatePost.stepCampaign":"Campaign","sandbox.generatePost.campaignHint":"A post is written for a campaign: it carries the moment, the products it may name and the links to them.","sandbox.generatePost.noCampaigns":"No campaign to write for yet. Create one under Context → Campaigns.","sandbox.generatePost.campaignProducts":"{count} product(s)","sandbox.generatePost.campaignNoProducts":"No products","sandbox.generatePost.formatBlocksHint":"The blocks this format cites are the only ones a post may be built from, and each is filled to its own schema.","sandbox.generatePost.countLabel":"How many drafts","sandbox.generatePost.countHint":"Each takes a different angle on the same campaign. They land as separate cards.","sandbox.generatePost.coverHint":"Every draft gets a cover image, generated and uploaded to your bucket.","sandbox.generatePost.gapNoStoreData":"No connected system answered, so nothing in these posts was checked against the store.","sandbox.generatePost.gapSectionsDropped":"{count} section(s) were dropped: their props did not match the block that renders them.","sandbox.generatePost.gapNoBucket":"No bucket to upload images to, so the posts have no cover. Configure one under Settings → Buckets.","sandbox.generatePost.gapNoImageModel":"This organization has no image model configured, so the posts have no cover.","sandbox.generatePost.gapImagesFailed":"The cover images could not be generated. The posts are otherwise complete.","sandbox.generatePost.gapDraftsFailed":"{count} draft(s) could not be written and their cards were left empty.","sandbox.generatePost.back":"Back","sandbox.generatePost.blockedBrand":"Fill in {fields} on the Brand tab first — a post written without them reads like any other brand's.","sandbox.generatePost.done":"Wrote {count} draft(s) — ready for review","sandbox.generatePost.extraLabel":"Anything else?","sandbox.generatePost.extraPlaceholder":"What you want on top of everything else, in your words.","sandbox.generatePost.failed":"Could not write these posts","sandbox.generatePost.formatHint":"Pick a format this brand already uses, or describe a new one.","sandbox.generatePost.formatNameLabel":"Format name","sandbox.generatePost.formatNamePlaceholder":"The format, named by the job it does","sandbox.generatePost.formatValueLabel":"How a post like this is built","sandbox.generatePost.formatValuePlaceholder":"How it opens, develops and closes.","sandbox.generatePost.generate":"Generate {count} draft(s)","sandbox.generatePost.next":"Next","sandbox.generatePost.stepExtra":"Instructions","sandbox.generatePost.stepFormat":"Format","sandbox.generatePost.subtitle":"Pick the campaign and the format. The posts land on the board as drafts.","sandbox.generatePost.title":"Generate posts","sandbox.itemActions.addVariant":"Add variant","sandbox.itemActions.delete":"Delete","sandbox.itemActions.duplicate":"Duplicate","sandbox.itemActions.editSeo":"Edit SEO","sandbox.itemActions.moreActions":"More actions","sandbox.itemActions.rename":"Rename","sandbox.itemActions.viewJson":"View JSON","sandbox.itemRow.duplicateName":"Another record uses this name","sandbox.itemRow.missingFields":"Missing: {fields}","sandbox.itemRow.selectItem":"Select {title}","sandbox.itemRow.variantCount":"{count} variants","sandbox.listBlocks.addCard":"Add card","sandbox.listBlocks.addItem":"Add item","sandbox.listBlocks.addStat":"Add stat","sandbox.listBlocks.addStep":"Add step","sandbox.listBlocks.cardBody":"Card body","sandbox.listBlocks.cardTitle":"Card title","sandbox.listBlocks.checklistItem":"Checklist item","sandbox.listBlocks.checklistTitle":"Checklist title (optional)","sandbox.listBlocks.columnTitle":"Column title","sandbox.listBlocks.item":"Item","sandbox.listBlocks.label":"Label","sandbox.listBlocks.optionA":"Option A","sandbox.listBlocks.optionB":"Option B","sandbox.listBlocks.removeCard":"Remove card","sandbox.listBlocks.removeItem":"Remove item","sandbox.listBlocks.removeStat":"Remove stat","sandbox.listBlocks.removeStep":"Remove step","sandbox.listBlocks.statValuePlaceholder":"99%","sandbox.listBlocks.stepDescription":"Step description","sandbox.listBlocks.stepTitle":"Step title","sandbox.listBlocks.stepsTitle":"Steps title (optional)","sandbox.mediaBlocks.addCaption":"Add a caption…","sandbox.mediaBlocks.altText":"Alt text (accessibility)","sandbox.mediaBlocks.altLabel":"Alt","sandbox.mediaBlocks.buttonLabel":"Button label","sandbox.mediaBlocks.calloutText":"Callout text…","sandbox.mediaBlocks.calloutTitle":"Callout title","sandbox.mediaBlocks.destinationUrlPlaceholder":"https://destination-url.com","sandbox.linkSuggest.button":"Suggest links","sandbox.linkSuggest.hint":"Find phrases to link to your other posts (uses AI credits)","sandbox.linkSuggest.noCandidates":"No other posts to link to yet","sandbox.linkSuggest.title":"Suggested internal links","sandbox.linkSuggest.description":"Pick which phrases to link to your other posts. Nothing changes until you apply.","sandbox.linkSuggest.none":"No internal links to suggest.","sandbox.linkSuggest.apply":"Apply {count}","sandbox.linkSuggest.applied":"Applied {count} link(s)","sandbox.linkSuggest.failed":"Could not suggest links","sandbox.linkPicker.tabPost":"Post","sandbox.linkPicker.tabProduct":"Product","sandbox.linkPicker.searchPosts":"Search your posts…","sandbox.linkPicker.noPosts":"No matching posts","sandbox.linkPicker.searchProducts":"Search your catalog…","sandbox.linkPicker.searching":"Searching…","sandbox.linkPicker.noProducts":"No matching products","sandbox.mediaBlocks.divider":"Divider","sandbox.mediaBlocks.fullWidth":"Full width","sandbox.mediaBlocks.highPriority":"Priority","sandbox.mediaBlocks.highPriorityHint":"Loads eagerly with high fetch priority. Use for images above the fold.","sandbox.mediaBlocks.label":"Label","sandbox.mediaBlocks.normal":"Normal","sandbox.mediaBlocks.optionalDescription":"Optional description","sandbox.mediaBlocks.pasteVideoUrl":"Paste a YouTube or Vimeo URL to preview","sandbox.mediaBlocks.statValuePlaceholder":"42%","sandbox.mediaBlocks.video":"Video","sandbox.mediaBlocks.videoUrlPlaceholder":"https://youtube.com/watch?v=…","sandbox.pageFormDialog.buttonCancel":"Cancel","sandbox.pageFormDialog.labelName":"Name","sandbox.pageFormDialog.labelPath":"Path","sandbox.pageFormDialog.labelTemplate":"Template","sandbox.pageFormDialog.pendingCreate":"Creating…","sandbox.pageFormDialog.pendingDuplicate":"Duplicating…","sandbox.pageFormDialog.pendingSave":"Saving…","sandbox.pageFormDialog.placeholderName":"My page","sandbox.pageFormDialog.placeholderPath":"/example","sandbox.pageFormDialog.submitCreate":"Create","sandbox.pageFormDialog.submitDuplicate":"Duplicate","sandbox.pageFormDialog.submitSave":"Save","sandbox.pageFormDialog.titleCreate":"Create new page","sandbox.pageFormDialog.titleDuplicate":"Duplicate page","sandbox.pageFormDialog.titleRename":"Rename page","sandbox.pathParamPickerChip.buttonTitle":"Value for {paramLabel} — click to pick","sandbox.pathParamPickerChip.couldNotLoad":"Couldn't load — is the dev server running?","sandbox.pathParamPickerChip.kindCategoryHeading":"Categories","sandbox.pathParamPickerChip.kindCategoryNoun":"category","sandbox.pathParamPickerChip.kindProductHeading":"Products","sandbox.pathParamPickerChip.kindProductNoun":"product","sandbox.pathParamPickerChip.loading":"Loading {noun}…","sandbox.pathParamPickerChip.noResults":"No results.","sandbox.pathParamPickerChip.pickValueHeading":"Pick a value for","sandbox.pathParamPickerChip.pickValueTitle":"Pick a value for {paramLabel}","sandbox.pathParamPickerChip.searchPlaceholder":"Search {options} or enter a value…","sandbox.pathParamPickerChip.useRawValue":'Use "{rawTerm}" as {paramLabel}',"sandbox.plainBlocks.bulletedLabel":"Bulleted","sandbox.plainBlocks.codePlaceholder":"Code","sandbox.plainBlocks.headingLevel1":"Heading 1","sandbox.plainBlocks.headingLevel2":"Heading 2","sandbox.plainBlocks.headingLevel3":"Heading 3","sandbox.plainBlocks.headingLevel4":"Heading 4","sandbox.plainBlocks.headingPlaceholder":"Heading","sandbox.plainBlocks.languagePlaceholder":"language","sandbox.plainBlocks.listItemPlaceholder":"List item","sandbox.plainBlocks.numberedLabel":"Numbered","sandbox.plainBlocks.quotePlaceholder":"Quote","sandbox.postBoard.close":"Close","sandbox.postBoard.archived":"Moved to Archived","sandbox.postBoard.collapse":"Collapse to panel","sandbox.postBoard.collapseLane":"Collapse {lane}","sandbox.postBoard.delete":"Delete","sandbox.postBoard.emptyDescription":"Generate a few ideas and shape them into published posts.","sandbox.postBoard.emptyTitle":"No posts yet","sandbox.postBoard.duplicateTitle":"Duplicate title","sandbox.postBoard.expand":"Expand to full page","sandbox.postBoard.expandLane":"Expand {lane}","sandbox.postBoard.laneEmpty":"Nothing here yet","sandbox.postBoard.laneArchived":"Archived","sandbox.postBoard.laneGenerating":"Generating","sandbox.postBoard.laneDraft":"Draft","sandbox.postBoard.laneAwaitingReview":"Awaiting review","sandbox.postBoard.lanePublished":"Published","sandbox.postBoard.laneScheduled":"Scheduled","sandbox.postBoard.moveBlocked":"This post is missing required fields — open it to finish before scheduling.","sandbox.postBoard.moveFailed":"Could not move this post","sandbox.postBoard.moveInFlight":"Still moving this post…","sandbox.postBoard.moveNotATarget":"Generating is set by the generation run, not by hand.","sandbox.postBoard.nIssues":"{count} to fix before scheduling","sandbox.postBoard.newPost":"New post","sandbox.postBoard.newPostGenerate":"Generate","sandbox.postBoard.newPostGenerateHint":"Write it with AI, from your context","sandbox.postBoard.newPostWrite":"Write","sandbox.postBoard.newPostWriteHint":"Start an empty draft yourself","sandbox.postBoard.importContent":"Import content","sandbox.postBoard.importContentHint":"Bring in HTML or Markdown you already wrote","sandbox.postBoard.importTitle":"Import content","sandbox.postBoard.importDescription":"Paste HTML or Markdown you already wrote. It becomes an editable draft in your design system — no AI, no credits.","sandbox.postBoard.importUpload":"Upload a file","sandbox.postBoard.importRun":"Import","sandbox.postBoard.importEmpty":"Nothing to import — the content was empty.","sandbox.postBoard.imported":"Imported — review and publish.","sandbox.postBoard.readyToSchedule":"Ready to schedule","sandbox.postBoard.selectPrompt":"Select a post to view it here.","sandbox.postBoard.untitled":"Untitled post","sandbox.postBoard.generatingLabel":"Generating…","sandbox.postBoard.usesCredits":"Uses AI credits","sandbox.postBoard.viewBoard":"Board","sandbox.postBoard.viewList":"List","sandbox.postCalendar.couldNotCreate":"Could not create","sandbox.postCalendar.couldNotReschedule":"Could not reschedule","sandbox.postCalendar.createdScheduledPost":"Created scheduled post","sandbox.postCalendar.legendScheduled":"Scheduled","sandbox.postCalendar.legendUnscheduled":"Not scheduled","sandbox.postCalendar.next":"Next month","sandbox.postCalendar.onlyScheduledCanMove":"Only scheduled posts can be moved.","sandbox.postCalendar.previous":"Previous month","sandbox.postCalendar.schedulePostOn":"Schedule a post on {date}","sandbox.postCalendar.today":"Today","sandbox.postCalendar.unscheduledHint":"Dashed posts aren't scheduled — they sit on their display date, and nothing will publish them.","sandbox.postCalendar.undatedEmpty":"Every post has a date.","sandbox.postCalendar.undatedLabel":"No date · {count}","sandbox.postEditor.addPropLabel":"Add prop","sandbox.postEditor.authorsLabel":"Authors","sandbox.postEditor.categoriesLabel":"Categories","sandbox.postEditor.contentTab":"Content","sandbox.postEditor.coverAltDescription":"Describes the image for screen readers and when it fails to load. Empty: the post title is used.","sandbox.postEditor.coverAltLabel":"Cover image alt text","sandbox.postEditor.coverImageLabel":"Cover image","sandbox.postEditor.dateLabel":"Date","sandbox.postEditor.deletePost":"Delete post","sandbox.postEditor.deletePostCancel":"Cancel","sandbox.postEditor.deletePostConfirmBody":`"{title}" will be removed permanently. This can't be undone.`,"sandbox.postEditor.deletePostConfirmTitle":"Delete this post?","sandbox.postEditor.deletePostFailed":"Delete failed","sandbox.postEditor.deletePostSuccess":'Deleted "{title}"',"sandbox.postEditor.deletingPost":"Deleting…","sandbox.postEditor.duplicateTitleWarning":"Another post already uses this title. Duplicate titles compete with each other in search.","sandbox.postEditor.excerptLabel":"Excerpt","sandbox.postEditor.extraPropsLabel":"Extra props","sandbox.postEditor.issuePlural":"issues","sandbox.postEditor.issueSingular":"issue","sandbox.postEditor.keyPlaceholder":"key","sandbox.postEditor.missingFieldPlural":"Missing required fields: {fields}","sandbox.postEditor.missingFieldSingular":"Missing required field: {fields}","sandbox.postEditor.noAuthorsYet":"No authors yet — create some in the authors collection.","sandbox.postEditor.noCategoriesYet":"No categories yet — create some in the categories collection.","sandbox.postEditor.noContentYet":"This post has no content yet. Use ⊕ to add your first block.","sandbox.postEditor.postTitlePlaceholder":"Post title","sandbox.postEditor.readTimeLabel":"Read time (minutes)","sandbox.postEditor.previewRequiresSlugAndCategory":"Set the post slug (and its category) plus the blog app's pageSlug to preview","sandbox.postEditor.previewTooltip":"Open the post preview in a new tab","sandbox.postEditor.scheduledDatetimeDescription":"When this post goes live. The site publishes it on its own once this moment passes.","sandbox.postEditor.scheduledDatetimeLabel":"Goes live at","sandbox.postEditor.removePropLabel":"Remove prop","sandbox.postEditor.seePreview":"See preview","sandbox.postEditor.selectAuthorsPlaceholder":"Select authors","sandbox.postEditor.selectCategoriesPlaceholder":"Select categories","sandbox.postEditor.seoCanonicalLabel":"Canonical URL","sandbox.postEditor.seoCanonicalPlaceholder":"https://example.com/blog/my-post","sandbox.postEditor.seoDescriptionLabel":"SEO description","sandbox.postEditor.seoImageLabel":"SEO image","sandbox.postEditor.seoNoIndexingLabel":"Hide from search engines (noindex)","sandbox.postEditor.seoSectionHint":"Overrides how this post appears in search engines. Empty fields fall back to the post's title, excerpt and cover image.","sandbox.postEditor.seoSectionLabel":"SEO","sandbox.postEditor.seoTitleLabel":"SEO title","sandbox.postEditor.settingsTab":"Settings","sandbox.postEditor.statusLabel":"Status","sandbox.postEditor.slugDeduped":"That slug was already taken — saved as “{slug}”.","sandbox.postEditor.slugLabel":"Slug","sandbox.postEditor.slugPlaceholder":"my-post","sandbox.postEditor.valuePlaceholder":"value","sandbox.postList.noMatches":"No posts match your search or filters.","sandbox.postToolbar.allPosts":"All posts","sandbox.postToolbar.archiveSelected":"Archive selected","sandbox.postToolbar.archiveSelectedPosts":"Archive selected posts","sandbox.postToolbar.authorLabel":"Author","sandbox.postToolbar.categoryLabel":"Category","sandbox.postToolbar.clearFilter":"Clear filter","sandbox.postToolbar.deselectAll":"Deselect all","sandbox.postToolbar.deselectAllPosts":"Deselect all posts","sandbox.postToolbar.exitSelection":"Exit selection","sandbox.postToolbar.filterBy":"Filter by","sandbox.postToolbar.filterLabel":"Filter","sandbox.postToolbar.itemsSelected":"{count} selected","sandbox.postToolbar.clearSearch":"Clear search","sandbox.postToolbar.searchAriaLabel":"Search posts","sandbox.postToolbar.searchPlaceholder":"Search posts","sandbox.postToolbar.selectAll":"Select all","sandbox.postToolbar.selectAllPosts":"Select all posts","sandbox.postToolbar.sortAZ":"A–Z","sandbox.postToolbar.sortBy":"Sort by","sandbox.postToolbar.sortNewest":"Newest","sandbox.postToolbar.sortNewestFirst":"Newest first","sandbox.postToolbar.sortOldest":"Oldest","sandbox.postToolbar.sortOldestFirst":"Oldest first","sandbox.postToolbar.sortTitleAZ":"Title A–Z","sandbox.postToolbar.sortTitleZA":"Title Z–A","sandbox.postToolbar.sortZA":"Z–A","sandbox.postToolbar.statusLabel":"Status","sandbox.preview.catchAllParamLabel":"path","sandbox.preview.choosePage":"Choose page","sandbox.preview.clickElementToAsk":"Click any element to ask the AI","sandbox.preview.collapseTerminal":"Collapse terminal","sandbox.preview.expandTerminal":"Expand terminal","sandbox.preview.resizeTerminal":"Resize terminal","sandbox.preview.createNewPage":"Create new page","sandbox.preview.devServerPreviewTitle":"Dev Server Preview","sandbox.preview.deviceDesktop":"Desktop","sandbox.preview.deviceMobile":"Mobile (375px)","sandbox.preview.deviceTablet":"Tablet (768px)","sandbox.preview.enterToGo":"Enter to go","sandbox.preview.failedToCreatePage":"Failed to create page","sandbox.preview.globalBadge":"Global","sandbox.preview.globalComponents":"Global components","sandbox.preview.globalLoaders":"Global loaders","sandbox.preview.loaderBadge":"Loader","sandbox.preview.loaderNoLongerExists":"This loader no longer exists.","sandbox.preview.noPagesFound":"No pages found in this site.","sandbox.preview.noSearchResults":"No results match your search.","sandbox.preview.noServerRunning":"No server running","sandbox.preview.openInNewTab":"Open in new tab","sandbox.preview.pageAlreadyExists":'A page with path "{path}" already exists.',"sandbox.preview.pageCreated":'Page "{name}" created',"sandbox.preview.blockOnNoPage":"This block isn't used on any page, so there's nothing to preview.","sandbox.preview.previewMetadataNotReady":"Preview metadata not ready yet","sandbox.preview.searchPagesAndComponents":"Search pages and components...","sandbox.preview.startingPreview":"Starting your preview","sandbox.preview.startingPreviewHint":"Showing your published site. You can make changes now — they'll appear once the preview is ready.","sandbox.preview.templateNoLongerExists":"Selected template no longer exists.","sandbox.preview.valueForParam":"Value for {label}","sandbox.preview.blocksEditor":"Blocks editor","sandbox.preview.visualEditor":"Visual editor","sandbox.productBlocks.addProductIdButton":"Add product ID","sandbox.productBlocks.addProductsButton":"Add products","sandbox.productBlocks.addProductsDescription":"Search VTEX products, or pick a category or cluster","sandbox.productBlocks.browseProductsButton":"Browse products","sandbox.productBlocks.changeButton":"Change","sandbox.productBlocks.chooseProductButton":"Choose a product","sandbox.productBlocks.ctaLabelField":"CTA label","sandbox.productBlocks.ctaLabelPlaceholder":"View product","sandbox.productBlocks.dragToReorderLabel":"Drag to reorder","sandbox.productBlocks.headingH1":"H1","sandbox.productBlocks.headingH2":"H2","sandbox.productBlocks.headingH3":"H3","sandbox.productBlocks.headingNormal":"Normal","sandbox.productBlocks.idLabel":"ID {id}","sandbox.productBlocks.loadingEllipsis":"Loading…","sandbox.productBlocks.productCardLabel":"Product card","sandbox.productBlocks.productField":"Product","sandbox.productBlocks.productPlural":"products","sandbox.productBlocks.productSingular":"product","sandbox.productBlocks.productSlugField":"Product slug","sandbox.productBlocks.productSlugPlaceholder":"product-slug","sandbox.productBlocks.productWithId":"Product {id}","sandbox.productBlocks.removeProductButton":"Remove product","sandbox.productBlocks.removeProductIdButton":"Remove product ID","sandbox.productBlocks.removeProductLabel":"Remove product","sandbox.productBlocks.shelfTitlePlaceholder":"Shelf title","sandbox.productBlocks.skuIdPlaceholder":"151331","sandbox.productBlocks.startDevServerDescription":"Start the dev server to browse products, or add SKU ids below.","sandbox.productBlocks.vtexProductIdPlaceholder":"VTEX product ID (e.g. 151331)","sandbox.productBlocks.vtexProductIds":"VTEX product IDs","sandbox.productPickerDialog.addProducts":"Add products","sandbox.productPickerDialog.categoryLabel":"Category: ","sandbox.productPickerDialog.change":" — change","sandbox.productPickerDialog.chooseProduct":"Choose a product","sandbox.productPickerDialog.clusterIdPlaceholder":"Collection / cluster ID (e.g. 2140)","sandbox.productPickerDialog.couldNotLoad":"Couldn't load — is the dev server running?","sandbox.productPickerDialog.done":"Done","sandbox.productPickerDialog.enterClusterPrompt":"Enter a collection or cluster ID.","sandbox.productPickerDialog.filterCategoriesPlaceholder":"Filter categories…","sandbox.productPickerDialog.loadingCategories":"Loading categories…","sandbox.productPickerDialog.loadingProducts":"Loading products…","sandbox.productPickerDialog.modeCategory":"Category","sandbox.productPickerDialog.modeClusterId":"Cluster ID","sandbox.productPickerDialog.modeSearch":"Search","sandbox.productPickerDialog.noCategories":"No categories.","sandbox.productPickerDialog.noProductsFound":"No products found.","sandbox.productPickerDialog.noneSelected":"None selected","sandbox.productPickerDialog.pickCategoryPrompt":"Pick a category to see its products.","sandbox.productPickerDialog.searchProductsPlaceholder":"Search products by name or ID…","sandbox.productPickerDialog.selectedCount":"{count} selected","sandbox.recordEditor.fieldAvatar":"Avatar","sandbox.recordEditor.fieldCompany":"Company","sandbox.recordEditor.fieldEmail":"Email","sandbox.recordEditor.fieldJobTitle":"Job title","sandbox.recordEditor.fieldName":"Name","sandbox.recordEditor.fieldType":"Type","sandbox.recordEditor.fieldUrl":"Website","sandbox.recordEditor.optionOrganization":"Organization","sandbox.recordEditor.optionPerson":"Person","sandbox.recordEditor.placeholderEmail":"author@example.com","sandbox.recordEditor.placeholderUrl":"https://example.com","sandbox.recordEditor.titleAuthor":"Author","sandbox.redirectFormDialog.title":"Create redirect","sandbox.redirectFormDialog.submit":"Create","sandbox.redirectFormDialog.pending":"Creating…","sandbox.redirectFormDialog.cancel":"Cancel","sandbox.redirectFormDialog.errorRequired":"From and To are required.","sandbox.redirectEditor.discardQueryParameters":"Discard query parameters","sandbox.redirectEditor.fromDescription":"The source path to match. Supports URLPattern syntax (e.g. /product/:slug).","sandbox.redirectEditor.fromLabel":"From","sandbox.redirectEditor.fromPlaceholder":"/old-path","sandbox.redirectEditor.statusDescription":"An explicit status code wins over the type.","sandbox.redirectEditor.statusFromType":"Follow the type ({status})","sandbox.redirectEditor.statusLabel":"Status code","sandbox.redirectEditor.title":"Redirect","sandbox.redirectEditor.toDescription":"The destination — a relative path or an absolute URL.","sandbox.redirectEditor.toLabel":"To","sandbox.redirectEditor.toPlaceholder":"/new-path","sandbox.redirectEditor.typeLabel":"Type","sandbox.redirectEditor.typePermanent":"Permanent ({status})","sandbox.redirectEditor.typePlaceholder":"Type","sandbox.redirectEditor.typeTemporary":"Temporary ({status})","sandbox.cmsSettings.title":"CMS","sandbox.cmsSettings.preview.title":"Preview","sandbox.cmsSettings.preview.description":"See your changes before they go live.","sandbox.cmsSettings.fastPreview.label":"Fast Preview","sandbox.cmsSettings.fastPreview.description":"New chats start as CMS sessions, previewed on your preview server instead of a sandbox. Existing chats keep the mode they were created with.","sandbox.cmsSettings.fastPreview.needsPreviewServerUrl":"Set a preview server above to enable Fast Preview.","sandbox.cmsSettings.blocksV8.needsPreviewServerUrl":"Add your site's address above to preview drafts. Until then, new chats start a coding session.","sandbox.cmsSettings.fastPreviewInPlace.label":"Instant preview (experimental)","sandbox.cmsSettings.fastPreviewInPlace.description":"Refresh edits in place, without waiting for a save — much faster, but only works on websites that have /live/previews route.","sandbox.cmsSettings.contentEditing.on":"Enabled","sandbox.cmsSettings.contentEditing.onDescription":"The Site Editor offers Content and opens Blocks beside Preview on desktop.","sandbox.cmsUnavailable.noPreviewServer":"It's a CMS session, but this project has no preview server configured.","sandbox.cmsUnavailable.noRepo":"It's a CMS session, but this project has no GitHub repository to save to.","sandbox.cmsUnavailable.startCodingSession":"Continue this branch in a coding session","sandbox.previewServerUrlField.description":"Your live server's address, used to preview content. Required for Fast Preview.","sandbox.previewServerUrlField.descriptionBlocksV8":"Your live site's address. Studio shows your drafts on it before you publish.","sandbox.previewServerUrlField.label":"Preview server","sandbox.previewServerUrlField.placeholder":"https://example.com","sandbox.fieldDescriptionTooltipsField.label":"Compact descriptions","sandbox.fieldDescriptionTooltipsField.description":"In the blocks form, show a field's description as a hover tooltip on its title instead of text below the title.","sandbox.repoRow.label":"Repository","sandbox.repoRow.noRepositoryConnected":"No repository connected","sandbox.repoRow.tooltipContent":"The connected GitHub repository for this project. Manage in Connections.","sandbox.runnableBlockEditor.availableModeDescription":"{typeLabel} — edits stay local until you save this as a global {singular}. Run to invoke it against the live preview.","sandbox.runnableBlockEditor.closeJsonEditor":"Close JSON editor","sandbox.runnableBlockEditor.closeResult":"Close result","sandbox.runnableBlockEditor.collapse":"Collapse","sandbox.runnableBlockEditor.collapseResult":"Collapse result","sandbox.runnableBlockEditor.editAsJson":"Edit as JSON","sandbox.runnableBlockEditor.expand":"Expand","sandbox.runnableBlockEditor.expandResult":"Expand result","sandbox.runnableBlockEditor.failedToRun":"Failed to run {singular}","sandbox.runnableBlockEditor.freeformPropsEmptyState":"This {singular} doesn't publish a props schema. Edit its props as JSON, then run it.","sandbox.runnableBlockEditor.inferredSchemaNotice":"This {singular} doesn't publish a props schema — fields below are inferred from its saved values. Use the JSON editor to add props not shown here.","sandbox.runnableBlockEditor.invalidJsonError":"Invalid JSON — changes aren't saved until it parses.","sandbox.runnableBlockEditor.noInputEmptyState":"This {singular} takes no configurable input. Run it to see its output.","sandbox.runnableBlockEditor.openInNewTabTooltip":"Open in new tab (re-runs the {singular})","sandbox.runnableBlockEditor.openResultInNewTabAriaLabel":"Open result in new tab","sandbox.runnableBlockEditor.pressRunToInvoke":"Press Run to invoke this {singular}.","sandbox.runnableBlockEditor.resultPanelTitle":"Result","sandbox.runnableBlockEditor.run":"Run","sandbox.runnableBlockEditor.runAriaLabel":"Run {singular}","sandbox.runnableBlockEditor.running":"Running {singular}…","sandbox.runnableBlockEditor.saveAsGlobal":"Save as global {singular}","sandbox.runnableBlockEditor.saveAsGlobalAriaLabel":"Save as global {singular}","sandbox.runnableBlockEditor.savedModeDescription":"Global {singular} — changes save automatically. Run to invoke it against the live preview.","sandbox.runnableBlocksBrowser.emptyFolder":"This folder is empty.","sandbox.runnableBlocksBrowser.emptyFolderNoManifest":"Start the preview dev server so its manifest loads.","sandbox.runnableBlocksBrowser.emptyFolderTitle":"No {kind} here","sandbox.runnableBlocksBrowser.folderBreadcrumb":"Folder breadcrumb","sandbox.runnableBlocksBrowser.hideSaved":"Hide saved","sandbox.runnableBlocksBrowser.noSearchResults":'No {kind} match "{query}"',"sandbox.runnableBlocksBrowser.noSearchResultsDescription":"Search covers every folder — try a different term.","sandbox.runnableBlocksBrowser.savedBlockToast":'Saved {singular} "{blockId}"',"sandbox.runnableBlocksBrowser.savedCountLabel":"{count} saved","sandbox.runnableBlocksBrowser.searchAriaLabel":"Search all {kind}","sandbox.runnableBlocksBrowser.searchPlaceholder":"Search all {kind}…","sandbox.runnableBlocksBrowser.seeSaved":"See saved","sandbox.runtimeFields.auto":"Auto","sandbox.runtimeFields.autoDetect":"Auto-detect","sandbox.runtimeFields.devServerPort":"Dev server port","sandbox.runtimeFields.devServerPortDescription":"Leave blank to let the runner pick.","sandbox.runtimeFields.packageManager":"Package manager","sandbox.runtimeFields.packagePath":"Package path","sandbox.runtimeFields.packagePathDescription":"Path (relative to repo root) to the directory containing package.json. Leave blank for the repo root.","sandbox.savedSectionEditor.closeJsonEditor":"Close JSON editor","sandbox.saveStatus.failed":"Couldn't save","sandbox.saveStatus.saved":"Saved","sandbox.saveStatus.saving":"Saving…","sandbox.savedSectionEditor.editAsJson":"Edit as JSON","sandbox.savedSectionEditor.globalSectionDescription":"Global section — changes save automatically and apply everywhere it's used.","sandbox.savedSectionEditor.invalidJsonError":"Invalid JSON — changes aren't saved until it parses.","sandbox.savedSectionEditor.noEditableFields":"No editable fields for this section.","sandbox.schemaless.back":"All blocks","sandbox.schemaless.bannerBody":"Until then, each block opens with plain fields built from its saved values, and saving keeps every other value as it is. Generate the schema in your site's folder; this page picks it up on its own.","sandbox.schemaless.bannerTitle":"Forms get proper fields once the schema exists","sandbox.schemaless.docsLink":"About deco schema","sandbox.schemaless.empty":"Empty","sandbox.schemaless.item":"Item {n}","sandbox.schemaless.itemCount":"{count} items","sandbox.schemaless.listLabel":"Saved blocks","sandbox.schemaless.noBlocks":"No saved blocks yet.","sandbox.schemaless.noMatches":"No blocks match your search.","sandbox.schemaless.noType":"Without a type","sandbox.schemaless.notANumber":"Enter a number. The saved value stays until you do.","sandbox.schemaless.notSet":"Not set","sandbox.schemaless.pickBlock":"Pick a block to see its content.","sandbox.schemaless.searchPlaceholder":"Search blocks","sandbox.sectionRenameDialog.cancel":"Cancel","sandbox.sectionRenameDialog.description":"Updates the display name. The internal key stays the same so pages referencing this section keep working.","sandbox.sectionRenameDialog.keyLabel":"Key","sandbox.sectionRenameDialog.nameLabel":"Name","sandbox.sectionRenameDialog.save":"Save","sandbox.sectionRenameDialog.saving":"Saving…","sandbox.sectionRenameDialog.title":"Rename section","sandbox.sectionsRightPane.selectSectionDescription":"Pick a saved section to edit it, or an available one to customize and save as global.","sandbox.sectionsRightPane.selectSectionTitle":"Select a section to edit","sandbox.stateCard.erroredHeadline":"Couldn't start the sandbox","sandbox.stateCard.githubConnectionMissingMessage":"The GitHub connection this chat used was removed. Link the repository again to start the sandbox.","sandbox.stateCard.linkRepoAgain":"Link repository","sandbox.stateCard.githubNotAuthenticatedMessage":"This project's GitHub repo isn't authenticated. Reconnect it in Connections, then retry.","sandbox.stateCard.reconnectGithub":"Reconnect GitHub","sandbox.stateCard.resume":"Resume","sandbox.stateCard.suspendedHeadline":"Sandbox is paused","sandbox.stateCard.resumeToContinue":"Resume to continue.","sandbox.stateCard.retry":"Retry","sandbox.tableBlock.addColumn":"Add column","sandbox.tableBlock.addRow":"Add row","sandbox.tableBlock.headerPlaceholder":"Header {n}","sandbox.tableBlock.noRowsYet":"No rows yet — add one below.","sandbox.tableBlock.removeColumn":"Remove column {n}","sandbox.tableBlock.removeRow":"Remove row {n}","sandbox.toolbar.closeTab":"Close {tab}","sandbox.toolbar.moreActions":"More actions","sandbox.toolbar.noScriptsFound":"No scripts found","sandbox.toolbar.restart":"Restart","sandbox.toolbar.resume":"Resume","sandbox.toolbar.retry":"Retry","sandbox.toolbar.run":"Run","sandbox.toolbar.runAScript":"run a script","sandbox.toolbar.runScript":"Run script","sandbox.toolbar.setupTab":"sandbox","sandbox.toolbar.start":"Start","sandbox.toolbar.startProcess":"Start process","sandbox.toolbar.stop":"Stop","sandbox.toolbar.stopProcess":"Stop process","sandbox.toolbar.stopSandboxTooltip":"Stop sandbox","sandbox.toolbar.stopping":"Stopping…","sandbox.variantCalendar.always":"Always","sandbox.variantCalendar.calendarMode":"Calendar","sandbox.variantCalendar.dateMatcherInfo":"Variants gated by a date matcher appear here.","sandbox.variantCalendar.hiddenOngoingVariants":'{count} ongoing variant(s) hidden — enable "Show ongoing" to view.',"sandbox.variantCalendar.next":"Next","sandbox.variantCalendar.noDatedVariants":"No dated variants in view.","sandbox.variantCalendar.noScheduledVariants":"No scheduled variants.","sandbox.variantCalendar.ongoing":"Ongoing","sandbox.variantCalendar.previous":"Previous","sandbox.variantCalendar.showOngoing":"Show ongoing ({count})","sandbox.variantCalendar.timelineMode":"Timeline","sandbox.variantCalendar.today":"Today","sandbox.variantCalendar.todayLabel":"Today","sandbox.variantCalendar.variantBlock":"Variant / Block","sandbox.visualEditorPrompt.inputPlaceholder":"Ask the AI...","sandbox.visualEditorPrompt.sendButton":"Send"},sJ={"settings.subscriptionUsage.title":"Plan usage","settings.subscriptionUsage.refresh":"Refresh","settings.subscriptionUsage.loading":"Loading usage limits…","settings.subscriptionUsage.fiveHour":"5-hour window","settings.subscriptionUsage.weekly":"Weekly limit","settings.subscriptionUsage.sonnet":"Sonnet · weekly","settings.subscriptionUsage.opus":"Opus · weekly","settings.subscriptionUsage.codeReview":"Code review","settings.subscriptionUsage.hours":"{hours}-hour window","settings.subscriptionUsage.primary":"Primary limit","settings.subscriptionUsage.secondary":"Secondary limit","settings.subscriptionUsage.used":"{percent}% used","settings.subscriptionUsage.resets":"Resets {date}","settings.subscriptionUsage.resetUnknown":"Reset time not provided","settings.subscriptionUsage.limitReached":"Limit reached","settings.subscriptionUsage.permission":"This token cannot read usage limits. Check usage on the provider’s website.","settings.subscriptionUsage.authorization":"The provider could not authorize this usage request. Relink your subscription to refresh its credentials.","settings.subscriptionUsage.rateLimited":"The provider is limiting usage checks. Try again after the time below.","settings.subscriptionUsage.disconnected":"Link your subscription to view usage limits.","settings.subscriptionUsage.unavailable":"Usage limits are unavailable right now. Check the provider for the latest status.","settings.subscriptionUsage.retryAt":"Try again {date}","settings.subscriptionUsage.checkedAt":"Checked {date}","settings.subscriptionUsage.sharedUsage":"Includes usage outside Studio. These limits belong to your personal plan.","settings.subscriptionUsage.openProvider":"View on provider","settings.voice.title":"Voice mode","settings.voice.description":"Let members talk to agents in chats. Requires ElevenLabs to be configured on this Studio deployment.","settings.title":"Profile & Preferences","settings.nav.organization":"Organization","settings.nav.build":"Build","settings.nav.manage":"Manage","settings.nav.general":"General","settings.nav.connect":"Connect","settings.nav.aiProviders":"AI Providers","settings.nav.secrets":"Secrets","settings.nav.billing":"Billing & AI","settings.nav.buckets":"Buckets","settings.nav.syncedRepos":"Synced repos","settings.nav.repositories":"Repositories","settings.nav.storage":"Storage","settings.nav.advanced":"Advanced","settings.subnav.ariaLabel":"Settings sections","settings.subnav.infrastructure":"Infrastructure","settings.nav.tasks":"Board","settings.jira.sectionTitle":"Jira integration","settings.jira.connectTitle":"Connect Jira","settings.jira.connectDescription":"Use a Jira Cloud site and an API token, ideally from a service account that can see the project.","settings.jira.siteLabel":"Jira site","settings.jira.sitePlaceholder":"yourcompany.atlassian.net","settings.jira.emailLabel":"Atlassian account email","settings.jira.emailPlaceholder":"you@company.com","settings.jira.tokenLabel":"API token","settings.jira.tokenPlaceholder":"Paste your token","settings.jira.connect":"Connect","settings.jira.connecting":"Connecting…","settings.jira.connected":"Jira connected","settings.jira.connectFailed":"Could not connect to Jira","settings.jira.disconnect":"Disconnect","settings.jira.disconnected":"Jira disconnected","settings.jira.disconnectTitle":"Disconnect Jira?","settings.jira.disconnectDescription":"The sync stops and the credentials are deleted. Cards already on the board are kept — they just stop updating.","settings.jira.cancel":"Cancel","settings.jira.boardLabel":"Jira board","settings.jira.boardDescription":"The board Studio watches — a card entering one of its columns is what sets the integration off.","settings.jira.boardPlaceholder":"Select a board","settings.jira.boardSearchPlaceholder":"Search boards…","settings.jira.noBoardsMatch":"No board matches that search","settings.jira.loadingBoards":"Loading boards…","settings.jira.enabledLabel":"Integration enabled","settings.jira.enabledDescription":"While off, cards moving on the board are ignored.","settings.jira.enableRequirements":"Pick a board before enabling the integration","settings.jira.saveFailed":"Could not save the Jira settings","settings.jira.createTokenLink":"Create an API token","settings.jira.webhookTitle":"Instant updates (webhook)","settings.jira.webhookDescription":"Optional. Without it, an issue entering an automated status is picked up on the next 5-minute check; with it, the run starts once the card has stayed put for 20 seconds.","settings.jira.webhookCopy":"Copy","settings.jira.webhookCopied":"Webhook URL copied","settings.jira.webhookStep1":"In Jira, open Settings (gear icon) → System → Webhooks. This requires a Jira admin.","settings.jira.webhookStep2":"Click “Create a webhook” and paste the URL above.","settings.jira.webhookStep3":"Under Events, check Issue: created and Issue: updated.","settings.jira.webhookStep4":"Optionally scope it with a JQL filter, e.g. project = <your project key>.","settings.jira.webhookStep5":"Save. An issue entering an automated status now starts its run once it has stayed there for 20 seconds.","settings.jira.automationsLabel":"Run the agent when an issue enters…","settings.jira.automationsDescription":"The automations that run when an issue enters one of these statuses and stays there for 20 seconds. Open one to change its prompt, or give any automation a “When a Jira issue enters a status” starter. A card dragged through a status, or into the wrong one and straight back, starts nothing. An issue that links an open pull request has it continued. The agent reads the issue and updates it in Jira; nothing is copied to the board.","settings.jira.toggleAutomation":"Turn {name} on or off","settings.jira.addAutomation":"Add automation","settings.jira.fromAny":"From any column","settings.jira.fromEarlier":"From an earlier column","settings.jira.fromLater":"From a later column (sent back)","settings.jira.fromStatuses":"From {statuses}","settings.jira.originLabel":"When the card comes from","settings.jira.originStatusesPlaceholder":"Pick statuses","settings.jira.originHelp":"A move starts one rule: the one naming where the card came from, else the one for its direction on the board, else the one for any column. Where it came from is the status it last stayed in, not one it was dragged through.","settings.jira.createRule":"Create automation","settings.jira.cancelRule":"Cancel","settings.jira.noColumnsYet":"No columns on this board yet","settings.jira.columnsFailed":"Could not load this board's columns","settings.jira.testRunLabel":"Run it by hand","settings.jira.testRunDescription":"Run one of the automations above on an issue or a batch now, without enabling the integration — so you can see what its prompt does before it runs on every issue entering a status.","settings.jira.issueKeysPlaceholder":"ABC-123, or a link — one per line, or comma-separated","settings.jira.issueKeysCount":"{count} issue(s)","settings.jira.issueKeysUnreadable":"could not read: {items}","settings.jira.testRunIssueAriaLabel":"Jira issue key or link","settings.jira.testRun":"Run agent {count}","settings.jira.testRunRunning":"Starting…","settings.jira.testRunStarted":"Started on","settings.jira.testRunFailed":"Could not start the run","settings.jira.testRunHelp":"This is a real run: the agent reads the actual issue, comments on it, and may move it. Running it again stops whatever run is still working that issue, and an issue that links an open pull request has it continued.","settings.jira.testRunAutomation":"Automation to run","settings.jira.testRunNoAutomations":"Add an automation above first: running by hand fires one of them.","settings.jira.together":"One run for all of them — the agent sees every issue and works them as a batch, instead of one run per issue","settings.jira.togetherStarted":"Started one run on","settings.jira.testRunWatch":"Watch runs in Monitor","settings.syncedRepos.pageDescription":"Git repositories mirrored into read-only library folders and kept in sync every few minutes. Great for a shared skills repo.","settings.syncedRepos.addRepo":"Add repo","settings.syncedRepos.cancel":"Cancel","settings.syncedRepos.create":"Create","settings.syncedRepos.creating":"Creating…","settings.syncedRepos.created":'Sync created — syncing into "{volume}" in the background',"settings.syncedRepos.emptyTitle":"No synced repos yet","settings.syncedRepos.emptyDescription":"Pick a repository and it will appear in the library as a read-only folder, kept in sync automatically.","settings.syncedRepos.failed":"Something went wrong","settings.syncedRepos.nameDialogDescription":"{repo} will be kept in sync into this read-only library folder.","settings.syncedRepos.nameDialogTitle":"Name the synced folder","settings.syncedRepos.namePlaceholder":"folder-name","settings.syncedRepos.pickerTitle":"Sync a repo into the library","settings.syncedRepos.remove":"Stop syncing","settings.syncedRepos.removeDescription":"The already-synced files stay in the library; only the sync stops. You can delete the folder afterwards if you don't need it.","settings.syncedRepos.removeTitle":'Stop syncing "{volume}"?',"settings.syncedRepos.removed":"Sync removed","settings.syncedRepos.rowSubtitle":"Library folder: {volume}","settings.repositories.accountsTitle":"Connected accounts","settings.repositories.accountsEmptyTitle":"No accounts connected","settings.repositories.accountsEmptyDescription":"Connect a GitHub, GitLab or Bitbucket account to browse your repositories and link private ones.","settings.repositories.noProvidersTitle":"No git provider configured","settings.repositories.noProvidersDescription":"Signing in with GitHub, GitLab or Bitbucket needs provider credentials an administrator configures for this deployment. You can still connect a GitLab or Bitbucket account with an access token.","settings.repositories.githubUnavailable":"Ask an administrator to enable GitHub.","settings.repositories.connectGithubCli":"Connect with GitHub CLI","settings.repositories.githubCliHint":"Use your local gh login to browse and import repositories.","settings.repositories.authKindGithubCli":"GitHub CLI","settings.repositories.addGithubAccount":"Add GitHub account or organization","settings.repositories.githubSelectTitle":"Select repositories","settings.repositories.githubSelectedShareHint":"Members with repository permissions in {organization} can use the repositories you authorize here.","settings.repositories.githubPreselectedHint":"Previously authorized or linked repositories are already selected when you have permission to authorize them. Review the selection before saving.","settings.repositories.githubReplaceHint":"Saving replaces this account’s existing workspace access with your selection. Removed repositories stop receiving new credentials. Previously issued credentials may work until they expire.","settings.repositories.githubFilterRepos":"Search repositories","settings.repositories.githubNoRepos":"No repositories available to authorize.","settings.repositories.githubSearchNoMatches":"No repositories match your search.","settings.repositories.githubAccessChanged":"Someone changed this account’s access. Go back and review the repositories again before saving.","settings.repositories.githubMoreRepos":"Load more repositories","settings.repositories.githubBack":"Back to accounts","settings.repositories.githubSaveOneRepo":"Authorize 1 repository","settings.repositories.githubSaveRepos":"Authorize {count} repositories","settings.repositories.githubEditWorkspaceAccess":"Change workspace access","settings.repositories.githubShareHint":"Choose your personal GitHub account, or an organization where you administer repositories, to share with {organization}. Members with repository permissions in Studio can use this connection.","settings.repositories.githubInstallHint":"Nothing here is yours to share yet. Install the GitHub App on your personal account or on repositories you administer, or ask an account owner to connect it to Studio. A repository you only collaborate on is not yours to share.","settings.repositories.installGithubAccount":"Install on another account","settings.repositories.checkGithubAccess":"Check access","settings.repositories.switchGithubUser":"Use another GitHub login","settings.repositories.githubReturnHint":"GitHub opens in a new tab. After saving access, return here to choose the account. If it does not appear, use Check access.","settings.repositories.githubRefreshFailed":"Could not check GitHub access. Try again without leaving this dialog.","settings.repositories.githubConnected":"GitHub account connected","settings.repositories.manageRepositoryAccess":"Manage repository access","settings.repositories.connectedBy":"Connected by {name}","settings.repositories.connectedByUnknown":"Connected by an unavailable user","settings.repositories.dismiss":"Dismiss","settings.repositories.tryAgain":"Try again","settings.repositories.oauthNoInstallations":"GitHub authorization succeeded, but no app installations are available to this user. Add a GitHub account or organization to finish setup.","settings.repositories.oauthDenied":"Authorization was cancelled. Connect again when you are ready.","settings.repositories.oauthExpired":"This connection attempt expired or belongs to another session. Start again from this page.","settings.repositories.oauthNotConfigured":"This git provider is not configured. Ask an administrator to enable it.","settings.repositories.oauthFailed":"Could not connect your git account. Try again. If it keeps failing, contact an administrator.","settings.repositories.authKindGithubApp":"GitHub App","settings.repositories.authKindOauth":"OAuth","settings.repositories.authKindToken":"Personal token","settings.repositories.accessUnavailable":"Access unavailable","settings.repositories.accessUnavailableHint":"Studio cannot access this account. Authorize it again to continue using its repositories.","settings.repositories.githubReconnect":"Reconnect GitHub","settings.repositories.authorizeWorkspaceAccess":"Authorize workspace access","settings.repositories.selectRepositories":"Select repositories","settings.repositories.authorizationRequired":"Workspace authorization required","settings.repositories.authorizationRequiredHint":"Studio has a GitHub App installation recorded for {login}, but this workspace has no authorization to use it. Sign in to GitHub and choose the repositories to share with this workspace.","settings.repositories.accessRevoked":"Access revoked","settings.repositories.accessRevokedHint":"Access to this account was revoked. Authorize it again to restore repository access.","settings.repositories.noAuthorizedRepositories":"No repositories authorized","settings.repositories.noAuthorizedRepositoriesHint":"This workspace has no repositories authorized through {login}. Select which repositories it can use.","settings.repositories.providerUnavailable":"Provider unavailable","settings.repositories.providerUnavailableHint":"This deployment is not configured to access this account. Ask an administrator to enable the provider.","settings.repositories.installationMissing":"GitHub connection incomplete","settings.repositories.installationMissingHint":"Studio has no GitHub App installation linked to this account. Connect GitHub and select the installation for {login}.","settings.repositories.githubReconnectUnavailable":"GitHub reconnection is unavailable on this deployment. Ask an administrator to configure the GitHub App, then authorize workspace access.","settings.repositories.disconnect":"Disconnect","settings.repositories.disconnectTitle":'Disconnect "{login}"?',"settings.repositories.disconnectDescription":"Repositories linked through this account stay listed, but become anonymous public clones — private ones will stop working.","settings.repositories.disconnected":"Account disconnected","settings.repositories.tokenDialogTitle":"Connect GitLab with a token","settings.repositories.tokenDialogDescription":"Use a personal, project or group access token with the api scope — agents push branches and open merge requests with it. Stored encrypted and never shown again.","settings.repositories.tokenDialogTitleBitbucket":"Connect Bitbucket with a token","settings.repositories.tokenDialogDescriptionBitbucket":"Use a workspace, project or repository access token that can write repositories and pull requests — agents push branches and open pull requests with it. Bitbucket Cloud only. Stored encrypted and never shown again.","settings.repositories.addAccount":"Add account","settings.repositories.addAccountTitle":"Connect a git account","settings.repositories.addAccountDescription":"Choose where your repositories live.","settings.repositories.chooseMethodDescription":"Pick how Studio should connect to this provider.","settings.repositories.back":"Back","settings.repositories.providerGithub":"GitHub","settings.repositories.providerGitlab":"GitLab","settings.repositories.providerBitbucket":"Bitbucket","settings.repositories.providerGithubHint":"Install the Studio app and pick the repositories to share.","settings.repositories.providerTokenOrOauthHint":"Connect with an access token, or authorize with OAuth.","settings.repositories.providerTokenOnlyHint":"Connect with an access token.","settings.repositories.methodToken":"Use an access token","settings.repositories.methodTokenHint":"The provider limits the token to the repositories you scope it to.","settings.repositories.methodOauth":"Authorize with OAuth","settings.repositories.methodOauthHint":"Sign in and authorize Studio in your browser.","settings.repositories.methodOauthScopeNote":"Reaches every repository this account can see; it cannot be narrowed to a subset.","settings.repositories.methodApp":"Install the GitHub app","settings.repositories.methodAppHint":"Choose exactly which repositories Studio may use.","settings.repositories.tokenStepsTitle":"Creating the token","settings.repositories.openProvider":"Open provider","settings.repositories.tokenWorkspaceLabel":"Workspace","settings.repositories.tokenWorkspacePlaceholder":"your-workspace","settings.repositories.tokenWorkspaceHint":"The slug in your Bitbucket URL. An access token cannot name its own workspace, so Studio verifies it against this one.","settings.repositories.tokenProjectLabel":"Project path (optional)","settings.repositories.tokenProjectPlaceholder":"group/project","settings.repositories.tokenProjectHint":"Fill this in to jump straight to that project’s token page.","settings.repositories.bitbucketStep1":"Open the repository you want Studio to reach, or the project that groups them.","settings.repositories.bitbucketStep2":"Settings → Security → Access tokens → Create token.","settings.repositories.bitbucketStep3":"Grant Repositories read and write, and Pull requests read and write.","settings.repositories.bitbucketStep4":"Paste the token below. Bitbucket keeps it to what you scoped it to.","settings.repositories.gitlabStep1":"Open the project or group you want Studio to reach.","settings.repositories.gitlabStep2":"Settings → Access tokens → Add new token.","settings.repositories.gitlabStep3":"Role: Developer or above. Scope: api.","settings.repositories.gitlabStep4":"Paste the token below. A project token only reaches that project.","settings.repositories.tokenHostLabel":"Host","settings.repositories.tokenHostPlaceholder":"gitlab.com","settings.repositories.tokenLabel":"Access token","settings.repositories.tokenPlaceholder":"glpat-…","settings.repositories.tokenPlaceholderBitbucket":"ATCTT…","settings.repositories.connect":"Connect","settings.repositories.connecting":"Connecting…","settings.repositories.connected":'Connected as "{login}"',"settings.repositories.reposTitle":"Repositories","settings.repositories.reposEmptyTitle":"No repositories yet","settings.repositories.reposEmptyDescription":"Choose a repository from a connected GitHub, GitLab or Bitbucket account.","settings.repositories.addRepository":"Add repository","settings.repositories.moreActions":"More actions","settings.repositories.repoAccountNeedsAttention":"Connected through {login}, which needs attention in Connected accounts.","settings.repositories.unlink":"Unlink","settings.repositories.unlinkTitle":'Unlink "{path}"?',"settings.repositories.unlinkDescription":"The repository is removed from this organization. Nothing is deleted on the provider.","settings.repositories.unlinked":"Repository unlinked","settings.repositories.openInProvider":"Open repository","settings.repositories.visibilityPublic":"Public","settings.repositories.visibilityPrivate":"Private","settings.repositories.visibilityInternal":"Internal","settings.repositories.anonymousClone":"Anonymous clone","settings.repositories.sandboxImageLabel":"Sandbox image","settings.repositories.sandboxImageDefault":"Default image","settings.repositories.sandboxImageAndroid":"Android emulator","settings.repositories.sandboxImageError":"Could not change the sandbox image","settings.repositories.addDialogTitle":"Add repository","settings.repositories.cancel":"Cancel","settings.repositories.failed":"Something went wrong","settings.nav.connections":"Connections","settings.nav.agents":"Projects","settings.nav.automations":"Automations","settings.nav.skills":"Skills","settings.nav.memory":"Memory","settings.nav.monitor":"Monitor","settings.nav.members":"Members","settings.nav.security":"Security","settings.nav.profile":"Profile & Preferences","settings.nav.backToHome":"Back to home","settings.nav.signOut":"Sign Out","settings.profile.avatar":"Avatar","settings.profile.displayName":"Display name","settings.profile.displayNamePlaceholder":"Your name","settings.profile.email":"Email","settings.profile.avatarUpload":"Change your picture","settings.profile.avatarDialogTitle":"Profile picture","settings.profile.avatarDialogDescription":"Drag to reposition and scroll to zoom. Only the picture you are using is visible to other people.","settings.profile.avatarDeleted":"Picture deleted","settings.profile.avatarRemove":"Remove","settings.profile.avatarRemoved":"Picture removed","settings.profile.avatarUpdated":"Picture updated","settings.profile.avatarUploadError":"Failed to update the picture","settings.profile.updateSuccess":"Profile updated successfully","settings.profile.updateError":"Failed to update profile","settings.preferences.title":"Preferences","settings.blog.sectionTitle":"Blog","settings.blog.aiTitle":"AI blog","settings.blog.aiDescription":"Brand context, campaigns and post generation. With this off the blog is written by hand.","settings.blogBlocks.title":"Hide the default blog blocks","settings.blogBlocks.description":"Only this site's own post blocks stay available when writing, generating or importing a post. Blocks already in a post keep rendering.","settings.blocksEditor.title":"New blocks editor","settings.blocksEditor.description":"Applies to everyone in this organization. The rest of Studio always uses the new layout.","settings.preferences.projectFirstNav":"Project-first navigation","settings.preferences.projectFirstNavDescription":"Try the org rail, project launcher and the Today/Agents home.","settings.preferences.theme":"Theme","settings.preferences.themeDescription":"Your preferred color scheme.","settings.preferences.themeLight":"Light theme","settings.preferences.themeDark":"Dark theme","settings.preferences.themeSystem":"System theme","settings.preferences.language":"Language","settings.preferences.languageDescription":"The language of the interface.","settings.preferences.notifications":"Notifications","settings.preferences.notificationsDescription":"Receive browser notifications for important events.","settings.preferences.notificationsDenied":"Notifications denied. Please enable them in your browser settings.","settings.preferences.sounds":"Sounds","settings.preferences.soundsDescription":"Play sounds for agent actions and notifications.","settings.preferences.soundsPreview":"Preview notification sound","settings.preferences.toolApproval":"Tool Approval","settings.preferences.toolApprovalDescription":"Control how tools are approved before execution.","settings.preferences.toolApprovalAsk":"Ask before edit","settings.preferences.toolApprovalAskShort":"Ask","settings.preferences.toolApprovalAskDescription":"Auto-approve read-only tools","settings.preferences.toolApprovalAuto":"Auto approve","settings.preferences.toolApprovalAutoShort":"Auto","settings.preferences.toolApprovalAutoDescription":"Execute all without approval","settings.automations.browseAgentsButton":"Browse projects","settings.automations.emptyDescription":"Automations are created per agent. Open an agent and add one from its Automations tab.","settings.automations.emptyTitle":"No automations yet","settings.automations.noResultsDescription":'No automations match "{search}"',"settings.automations.noResultsTitle":"No automations found","settings.automations.pageTitle":"Automations","settings.automations.searchPlaceholder":"Search automations...","settings.skills.pageTitle":"Skills","settings.skills.importButton":"Import skill","settings.skills.importing":"Importing…","settings.skills.importSuccess":'Imported "{name}"',"settings.skills.importError":"Failed to import skill","settings.skills.importMissingSkillMd":"That folder has no SKILL.md at its root. Pick the skill's own folder.","settings.skills.importNeedsFolder":"Pick a folder, not individual files — this browser may not support folder upload.","settings.skills.searchPlaceholder":"Search skills...","settings.skills.noDescription":"No description","settings.skills.filterAll":"All","settings.skills.emptyTitle":"No skills yet","settings.skills.emptyDescription":"Import a folder with a SKILL.md to give your agents reusable instructions they can load on demand.","settings.skills.noResultsTitle":"No skills found","settings.skills.noResultsDescription":'No skills match "{search}"',"settings.skills.cancel":"Cancel","settings.skills.deleteButton":"Delete","settings.skills.deleteDialogTitle":"Delete this skill?","settings.skills.deleteDialogDescription":`This removes "{name}" and its files. This can't be undone.`,"settings.skills.deleteSuccess":"Skill deleted","settings.skills.deleteError":"Failed to delete skill","settings.skills.importTooManyFiles":"That folder has {count} files (limit {max}). Import a folder with just the skill's own files.","settings.skills.importSlugTaken":'A skill named "{slug}" already exists. Delete it first to re-import.',"settings.skills.errorTitle":"Couldn't load skills","settings.skills.errorDescription":"The skill catalog could not be loaded. You may not have access to this org's files.","settings.skills.retry":"Try again","settings.memory.pageTitle":"Memory","settings.memory.tabOrg":"Organization","settings.memory.tabUser":"Just you","settings.memory.orgHeading":"Shared with everyone in {org}","settings.memory.orgDescription":"Deco reads this at the start of every chat and adds to it as it learns. Fix anything wrong or out of date.","settings.memory.userHeading":"Your personal memory","settings.memory.userDescription":"Loaded only into your chats. Good for how you like to work, what you own and what to skip.","settings.memory.orgPlaceholder":"Facts everyone's chats should know. For example: we ship on Thursdays, prices are in BRL, the brand voice is informal.","settings.memory.userPlaceholder":"Things Deco should remember about you. For example: reply in Portuguese, I own the checkout, keep summaries short.","settings.memory.saving":"Saving…","settings.memory.saved":"Saved","settings.memory.notSaved":"Not saved","settings.memory.saveError":"Couldn't save. Keep typing to retry.","settings.memory.readOnly":"You can read this memory but not change it.","settings.memory.updated":"Updated {time}","settings.memory.notStarted":"Nothing remembered yet","settings.memory.conflict":"This memory changed while you were editing.","settings.memory.loadLatest":"Load latest","settings.memory.keepMine":"Keep my version","settings.memory.budget":"{percent}% of what chats read","settings.memory.budgetOver":"Chats only read the beginning","settings.memory.budgetHint":"Chats load the first 16,000 characters. Keep this a short index and move details into separate notes.","settings.memory.errorTitle":"Couldn't load memory","settings.memory.errorDescription":"The organization's files couldn't be loaded. You may not have access to them.","settings.memory.retry":"Try again","settings.buckets.accessKeyIdLabel":"Access key ID","settings.buckets.addBucket":"Add bucket","settings.buckets.addBucketButton":"Add bucket","settings.buckets.addS3Bucket":"Add S3 bucket","settings.buckets.addingButton":"Adding…","settings.buckets.apiKeyHelperText":"Sent as the x-api-key header on each refresh call.","settings.buckets.apiKeyLabel":"API key","settings.buckets.bucketAdded":'Bucket "{name}" added',"settings.buckets.bucketLabel":"Bucket","settings.buckets.bucketPlaceholder":"my-bucket","settings.buckets.bucketRemoved":'Bucket "{name}" removed',"settings.buckets.bucketsConfigured":"{count} bucket(s) configured","settings.buckets.cancelButton":"Cancel","settings.buckets.credentialsEncryptedDescription":"Credentials are encrypted at rest and never returned over the API. For Cloudflare R2, Google Cloud Storage, or MinIO, set a custom endpoint.","settings.buckets.credentialsLabel":"Credentials","settings.buckets.deleteButton":"Delete {name}","settings.buckets.descriptionLabel":"Description (optional)","settings.buckets.descriptionPlaceholder":"What is this bucket used for?","settings.buckets.emptyStateDescription":"Add an S3-compatible bucket (AWS S3, Cloudflare R2, Google Cloud Storage, MinIO). Access keys are encrypted at rest and never returned over the API.","settings.buckets.endpointHelperText":"Required for non-AWS providers (R2, GCS, MinIO).","settings.buckets.endpointLabel":"Endpoint (optional)","settings.buckets.endpointPlaceholder":"https://<account>.r2.cloudflarestorage.com","settings.buckets.failedToAddBucket":"Failed to add bucket","settings.buckets.failedToLoadConfigs":"Failed to load file configurations: {error}","settings.buckets.failedToLoadConfigsFallback":"Failed to load file configs","settings.buckets.failedToRemoveBucket":"Failed to remove bucket","settings.buckets.forcePathStyleHelperText":"Required for Google Cloud Storage and most MinIO setups.","settings.buckets.forcePathStyleLabel":"Force path-style URLs","settings.buckets.managed":"Managed","settings.buckets.nameHelperText":"Letters, digits, underscore, dot, hyphen. Unique within the organization.","settings.buckets.nameLabel":"Name","settings.buckets.namePlaceholder":"production-uploads","settings.buckets.noBucketsConfigured":"No buckets configured","settings.buckets.pathStyle":"path-style","settings.buckets.prefix":"prefix: {prefix}","settings.buckets.prefixHelperText":"All object keys are written under this prefix. Useful for multi-tenant buckets or credentials scoped to a sub-path. A trailing slash is added automatically.","settings.buckets.prefixLabel":"Key prefix (optional)","settings.buckets.prefixPlaceholder":"tenants/acme/","settings.buckets.public":"public: {url}","settings.buckets.publicUrlBaseHelperText":"Host used to build public URLs returned by the picker (R2 dev domain, CDN, custom host). Leave blank to use the bucket's S3 host (AWS default).","settings.buckets.publicUrlBaseLabel":"Public URL base (optional)","settings.buckets.publicUrlBasePlaceholder":"https://pub-xxxx.r2.dev or https://cdn.example.com","settings.buckets.refreshUrlHelperText":"Endpoint POSTed (with the API key below) to vend temporary credentials. Must return accessKeyId, secretAccessKey, sessionToken, and expiration.","settings.buckets.refreshUrlLabel":"Refresh URL","settings.buckets.refreshUrlPlaceholder":"https://admin.example.com/api/acme/s3-credentials","settings.buckets.regionLabel":"Region","settings.buckets.regionPlaceholder":"us-east-1","settings.buckets.removeBucketDescription":"This deletes the encrypted credentials for {name}. The bucket itself is not affected. This cannot be undone.","settings.buckets.removeBucketTitle":"Remove bucket configuration?","settings.buckets.removeButton":"Remove","settings.buckets.removingButton":"Removing…","settings.buckets.secretAccessKeyLabel":"Secret access key","settings.buckets.staticKeyHelperText":"A long-lived access key ID and secret, used as-is.","settings.buckets.staticKeyOption":"Static key pair (long-lived)","settings.buckets.stsSessionHelperText":"Stores only a refresh endpoint + API key; short-lived credentials are fetched on demand and refreshed automatically.","settings.buckets.temporarySessionOption":"Temporary session (STS, auto-refreshed)","settings.connectClients.anyOtherClientDescription":"Any other MCP client: paste this endpoint into it to give that runtime every connection enabled in this org, governed by your Decopilot rules.","settings.connectClients.apiKeyOption":"API key","settings.connectClients.copy":"Copy","settings.connectClients.doneHideKey":"Done, hide key","settings.connectClients.generateKey":"Generate key","settings.connectClients.generateKeyFor":"Generate key for {client}","settings.connectClients.generatingKey":"Generating…","settings.connectClients.headlessKeyHint":"For CI, Conductor, or headless agents that can't open a browser.","settings.connectClients.installMethod":"Installation method","settings.connectClients.keyCreated":"Key created","settings.connectClients.mcpDescription":"For clients without a shell. Sharing Library files and messaging agents need the CLI + skill.","settings.connectClients.oauthDiscoveryDetails":"OAuth discovery details","settings.connectClients.oauthKeyHint":"Recommended for your laptop. Browser will open on first use to sign in — no token to manage.","settings.connectClients.oauthMetadataHint":"OAuth 2.1 Protected Resource Metadata is advertised on 401:","settings.connectClients.oauthOption":"OAuth","settings.connectClients.otherClient":"Other","settings.connectClients.pageTitle":"Connect to clients","settings.connectClients.recommended":"Recommended","settings.connectClients.skillDescription":"Install the Studio skill and log in once. Your agent then works with this org's chats, agents, tasks and Library files through the decocms CLI.","settings.connectClients.skillInstallStep":"1. Install the skill","settings.connectClients.skillLoginHint":"A browser opens for you to approve the login. The session renews itself, so log in again only when your agent asks.","settings.connectClients.skillLoginStep":"2. Log in","settings.connectClients.skillNeedsBun":"Needs Bun.","settings.connectClients.skillOtherAgentsHint":"The installer asks which agents to add the skill to.","settings.connectClients.skillTab":"CLI + skill","settings.connectClients.skillTitle":"Connect your agent","settings.connectClients.snippetOneTimeWarning":"Copy this snippet now — the key won't be shown again. You can revoke it later from the list below.","settings.connectForms.apiKeyField":"API Key","settings.connectForms.apiKeyRequired":"API key is required","settings.connectForms.baseUrlField":"Base URL","settings.connectForms.baseUrlPlaceholder":"http://localhost:4000/v1","settings.connectForms.baseUrlRequired":"Base URL is required","settings.connectForms.cancel":"Cancel","settings.connectForms.connectionSavedSuccess":"Connection saved successfully","settings.connectForms.defaultKeyLabel":"Personal key","settings.connectForms.failedSaveConnection":"Failed to save connection: {error}","settings.connectForms.failedSaveKey":"Failed to save key: {error}","settings.connectForms.hideApiKey":"Hide API key","settings.connectForms.keySavedSuccess":"Key saved successfully","settings.connectForms.labelField":"Label","settings.connectForms.labelPlaceholder":"e.g. Personal key","settings.connectForms.labelPlaceholderOpenAiCompatible":"e.g. My OpenAI-compatible server","settings.connectForms.labelPlaceholderPreset":"e.g. {name} prod, {name} dev","settings.connectForms.optional":"optional","settings.connectForms.recommended":"recommended","settings.connectForms.saveConnection":"Save Connection","settings.connectForms.saveKey":"Save Key","settings.connectForms.saving":"Saving...","settings.connectForms.showApiKey":"Show API key","settings.connectProviderDialog.backButton":"Back","settings.connectProviderDialog.backButtonLabel":"Back","settings.connectProviderDialog.connectionTimedOutMessage":"Connection timed out","settings.connectProviderDialog.defaultProviderName":"Provider","settings.connectProviderDialog.defaultTitle":"Connect an AI provider","settings.connectProviderDialog.gridDescription":"Pick a provider — we'll handle the rest.","settings.connectProviderDialog.oauthFailedMessage":"OAuth connection failed: {error}","settings.connectProviderDialog.oauthPendingMessage":"Authorize the connection in the popup window. This dialog will close once authorization completes.","settings.connectProviderDialog.oauthSuccessMessage":"{provider} connected successfully","settings.connectProviderDialog.provisionPendingMessage":"Connecting…","settings.connectProviderDialog.provisionSuccessMessage":"{provider} connected successfully","settings.connectProviderDialog.retryButton":"Retry","settings.connectProviderDialog.securityCheckFailedMessage":"Security check failed: State token mismatch","settings.connectProviderDialog.startOAuthFailedMessage":"Failed to start OAuth: {error}","settings.connectedProvidersSection.connectButton":"Connect provider","settings.connectedProvidersSection.emptyState":"Bring your own keys to use specific models alongside Deco's gateway.","settings.connectedProvidersSection.sectionTitle":"Connected providers","settings.agentTools.chatHarnessCodexTitle":"Use Codex for new sandbox chats","settings.agentTools.chatHarnessCodexDescription":"Runs new sandbox chats with Codex. Link your ChatGPT subscription in AI Providers or connect a Responses API provider. Existing chats keep their runtime.","settings.codexSubscription.setupHeading":"Connect Codex","settings.codexSubscription.setupDescription":"Link your ChatGPT subscription in Settings → AI Providers, or connect a provider with an OpenAI Responses API endpoint.","settings.codexSubscription.active":"Your Codex runs use your ChatGPT subscription. Credentials refresh automatically.","settings.codexSubscription.connect":"Link","settings.codexSubscription.connected":"ChatGPT subscription linked","settings.codexSubscription.description":"Use your ChatGPT subscription for Codex sandbox chats. Credentials belong to you and are stored encrypted.","settings.codexSubscription.disconnect":"Disconnect","settings.codexSubscription.disconnected":"ChatGPT subscription unlinked","settings.codexSubscription.howTo":"Run this command locally, sign in with ChatGPT, then paste the contents of ~/.codex/auth.json:","settings.codexSubscription.title":"Your ChatGPT subscription for Codex","settings.codexSubscription.tokenPlaceholder":"Paste the contents of auth.json","settings.claudeSubscription.active":"Your Claude plan is running these coding tasks.","settings.claudeSubscription.connect":"Link","settings.claudeSubscription.connected":"Claude subscription linked","settings.claudeSubscription.description":"Run coding tasks on your own Claude Pro or Max plan instead of the organization's AI credit.","settings.claudeSubscription.disconnect":"Disconnect","settings.claudeSubscription.disconnected":"Claude subscription unlinked","settings.claudeSubscription.expired":"Anthropic no longer accepts your token. Generate a new one to keep using your plan.","settings.claudeSubscription.howTo":"Generate a token on your own machine with","settings.claudeSubscription.title":"Your Claude subscription","settings.claudeSubscription.tokenPlaceholder":"Paste your token","settings.githubCopilot.active":"Your GitHub Copilot plan is running these coding tasks.","settings.githubCopilot.connect":"Link","settings.githubCopilot.connected":"GitHub Copilot linked","settings.githubCopilot.description":"Run coding tasks on Claude through your own GitHub Copilot plan instead of the organization's AI credit.","settings.githubCopilot.disconnect":"Disconnect","settings.githubCopilot.disconnected":"GitHub Copilot unlinked","settings.githubCopilot.howTo":"Create a fine-grained GitHub token with the Copilot Requests permission","settings.githubCopilot.sharedBy":"Every run in this organization uses {name}'s shared GitHub Copilot plan.","settings.githubCopilot.shareTitle":"Share with the organization","settings.githubCopilot.shareDescription":"Every chat and task in this organization runs on your Copilot plan, ahead of members' own plans and the organization's AI providers.","settings.githubCopilot.title":"Your GitHub Copilot plan","settings.githubCopilot.tokenPlaceholder":"Paste your github_pat_… token","settings.decoCreditsHero.add":"Add","settings.decoCreditsHero.addCredits":"Add credits","settings.decoCreditsHero.amountPlaceholder":"50","settings.decoCreditsHero.availableBalance":"Available credit balance","settings.decoCreditsHero.cancel":"Cancel","settings.decoCreditsHero.cancelButton":"Cancel","settings.decoCreditsHero.custom":"Custom","settings.decoCreditsHero.decoAiGatewayAlt":"Deco AI Gateway","settings.decoCreditsHero.disconnect":"Disconnect","settings.decoCreditsHero.disconnectButton":"Disconnect","settings.decoCreditsHero.disconnectDescription":"This will remove the Deco AI Gateway from this workspace. Your credit balance is preserved and will be available if you reconnect.","settings.decoCreditsHero.disconnectError":"Failed to disconnect: {message}","settings.decoCreditsHero.disconnectSuccess":"Deco AI Gateway disconnected","settings.decoCreditsHero.disconnectTitle":"Disconnect Deco AI Gateway","settings.decoCreditsHero.refreshBalance":"Refresh balance","settings.decoCreditsHero.title":"Deco AI Gateway","settings.planUsage.title":"Plan","settings.planUsage.loadFailed":"Couldn't read this organization's plan.","settings.planUsage.retry":"Retry","settings.planUsage.aiUsage":"AI usage","settings.planUsage.usageUnavailable":"Unavailable","settings.planUsage.used":"used","settings.plans.perMonth":"/ month","settings.planUsage.periodHint":"Resets at the start of each billing period.","settings.planUsage.noAiIncluded":"No AI usage included.","settings.planUsage.noPlan":"No active plan","settings.planUsage.noPlanDescription":"This organization has no active plan. Pick one below — Starter's first month is free.","settings.planUsage.creditsLeft":"left","settings.planUsage.manageBilling":"Manage billing","settings.planUsage.portalFailed":"Couldn't open billing: {message}","settings.planUsage.subscribe":"Subscribe","settings.planUsage.changePlan":"Change plan","settings.planUsage.changed":"Plan updated","settings.planUsage.changeFailed":"Couldn't change plan: {message}","settings.planUsage.feature.cms":"CMS","settings.planUsage.feature.chat":"Superagent chat","settings.planUsage.feature.monitoring":"Site analytics","settings.planUsage.feature.kanban":"Agentic Kanban","settings.planUsage.feature.model_choice":"Choose your model","settings.planUsage.feature.credits":"Extra credits","settings.planUsage.feature.diagnostic":"Deco Score","settings.planUsage.feature.diagnostic_enriched":"Enriched Deco Score","settings.plans.title":"Plans","settings.plans.loadFailed":"Couldn't load the plans.","settings.plans.currentPlan":"Current plan","settings.plans.firstMonthFree":"1st month free","settings.plans.startTrial":"Start free trial","settings.plans.custom.name":"Custom","settings.plans.custom.description":"For large teams with their own contract","settings.plans.custom.cta":"Talk to us","settings.plans.managed":"Your plan: {plan}. Contact us to change it.","settings.plans.invoice.cta":"Add to my invoice","settings.plans.invoice.confirm":"{plan} will be added to your next invoice. Switch now?","settings.plans.invoice.cancel":"Cancel","settings.plans.invoice.switch":"Switch plan","settings.paywall.bullets.kanban.1":"Agents that do the work and move the cards","settings.paywall.bullets.kanban.2":"A board the whole team shares","settings.paywall.bullets.kanban.3":"Columns, tags and priorities","settings.paywall.bullets.allowance.1":"A monthly allowance that resets","settings.paywall.bullets.allowance.2":"Top up with extra credits any time","settings.paywall.bullets.allowance.3":"Your message stays in the composer","settings.paywall.bullets.cms.1":"Edit content and layout","settings.paywall.bullets.cms.2":"Live preview as you go","settings.paywall.bullets.cms.3":"Publish when it looks right","settings.paywall.bullets.monitoring.1":"Pageviews, visitors and sources","settings.paywall.bullets.monitoring.2":"Cache hit rate, latency and errors","settings.paywall.bullets.monitoring.3":"Traffic by country and device","settings.paywall.upgradeTitle":"{feature} comes with {plan}","settings.paywall.upgradeDescription":"Unlocks it for everyone in the organization.","settings.paywall.description":"This organization's plan doesn't include {feature}. Change the plan to unlock it for everyone in the org.","settings.paywall.seePlans":"See plans","settings.paywall.dismiss":"Not now","settings.paywall.serverRefusedFeature":"Your plan does not include this. Ask an owner to upgrade, or see plans.","settings.paywall.serverRefusedBudget":"This organization has used its monthly AI allowance. Chat and tasks pause until you upgrade or top up.","settings.decoCreditsHero.topUpFailed":"Top-up failed: {message}","settings.decoNudgeCard.connectDeco":"Connect Deco","settings.decoNudgeCard.connecting":"Connecting…","settings.decoNudgeCard.decoAiGateway":"Deco AI Gateway","settings.decoNudgeCard.description":"100+ models, one connection — pay as you go, no API keys to juggle.","settings.decoNudgeCard.recommended":"Recommended","settings.deleteOrganizationSection.cancel":"Cancel","settings.deleteOrganizationSection.dangerZone":"Danger Zone","settings.deleteOrganizationSection.deleteButton":"Delete","settings.deleteOrganizationSection.deleteOrganizationAction":"Delete organization","settings.deleteOrganizationSection.deleteOrganizationDescription":"Permanently delete this organization and all of its data. This action cannot be undone.","settings.deleteOrganizationSection.deleteOrganizationQuestion":"Delete Organization?","settings.deleteOrganizationSection.deleteOrganizationTitle":"Delete organization","settings.deleteOrganizationSection.deleteWarning":"This will permanently delete all data associated with {organizationName}. This action cannot be undone.","settings.deleteOrganizationSection.deleting":"Deleting…","settings.deleteOrganizationSection.failedToDeleteOrganization":"Failed to delete organization","settings.deleteOrganizationSection.irreversibleActionsDescription":"Irreversible actions that affect your entire organization.","settings.deleteOrganizationSection.organizationDeleted":"Organization deleted","settings.deleteOrganizationSection.typeToConfirm":"Type {organizationName} to confirm:","settings.domainSettings.addDnsRecordInstruction":"Add the DNS record below, then verify.","settings.domainSettings.addDomain":"Add domain","settings.domainSettings.adding":"Adding…","settings.domainSettings.copied":"Copied","settings.domainSettings.dnsInstructions":"Add this TXT record at your DNS provider, then click Verify:","settings.domainSettings.domainAdded":"Domain added","settings.domainSettings.domainPlaceholder":"acme.com","settings.domainSettings.domainRemoved":"Domain removed","settings.domainSettings.domainVerified":"Domain verified","settings.domainSettings.emailDomains":"Email domains","settings.domainSettings.emailDomainsDescription":"Let people with a matching email domain discover and join this organization.","settings.domainSettings.failedAddDomain":"Failed to add domain","settings.domainSettings.failedRemove":"Failed to remove","settings.domainSettings.failedUpdate":"Failed to update","settings.domainSettings.failedVerify":"Failed to verify","settings.domainSettings.joinMode":"Join mode","settings.domainSettings.joinModeAuto":"Auto-join","settings.domainSettings.joinModeHelpAuto":"Anyone with a verified @{domain} email joins automatically.","settings.domainSettings.joinModeHelpOff":"Not discoverable — no one can find or join through this domain.","settings.domainSettings.joinModeHelpRequest":"People with a verified @{domain} email can request to join; an admin approves.","settings.domainSettings.joinModeOff":"Off","settings.domainSettings.joinModeRequest":"Require approval","settings.domainSettings.joinModeUpdated":"Join mode updated","settings.domainSettings.pending":"Pending","settings.domainSettings.remove":"Remove","settings.domainSettings.txt":"TXT","settings.domainSettings.txtRecordNotFound":"TXT record not found yet — DNS can take a few minutes.","settings.domainSettings.value":"value","settings.domainSettings.verified":"Verified","settings.domainSettings.verify":"Verify","settings.editProviderDialog.apiKey":"API key","settings.editProviderDialog.apiKeyRequiredForBaseUrlChange":"Enter the API key again to confirm changing the base URL","settings.editProviderDialog.baseUrl":"Base URL","settings.editProviderDialog.baseUrlPlaceholder":"http://localhost:4000/v1","settings.editProviderDialog.cancel":"Cancel","settings.editProviderDialog.editTitle":"Edit {name}","settings.editProviderDialog.failedToUpdate":"Failed to update: {error}","settings.editProviderDialog.hideApiKey":"Hide API key","settings.editProviderDialog.label":"Label","settings.editProviderDialog.labelPlaceholder":"e.g. Personal key","settings.editProviderDialog.labelRequired":"Label is required","settings.editProviderDialog.leaveBlankHint":"leave blank to keep current","settings.editProviderDialog.providerUpdated":"Provider updated","settings.editProviderDialog.save":"Save","settings.editProviderDialog.saving":"Saving...","settings.editProviderDialog.showApiKey":"Show API key","settings.joinRequestsSection.approve":"Approve","settings.joinRequestsSection.approveFailed":"Failed to approve","settings.joinRequestsSection.approved":"Request approved","settings.joinRequestsSection.deny":"Deny","settings.joinRequestsSection.denied":"Request denied","settings.joinRequestsSection.denyFailed":"Failed to deny","settings.joinRequestsSection.description":"People who requested to join via a domain in approval mode.","settings.joinRequestsSection.title":"Join requests","settings.orgGeneral.organization":"Organization","settings.review.title":"Reviewers & merge","settings.review.description":"The automated Reviewer runs on a task's pull request when the card reaches In Review (checks passing or none). It appears as a session on the task card.","settings.review.reviewerTitle":"Enable Reviewer","settings.review.reviewerDescription":"When the card reaches In Review, reviews the code with the repository's own review skills, fixes what it finds on the pull request's branch, then exercises the change on the deploy preview. An approval moves the card to QA; when it can't settle something itself, it hands the task to you.","settings.review.cheapReviewerModelTitle":"Run reviewers on a cheaper model","settings.review.cheapReviewerModelDescription":"The Reviewer runs on a smaller model than the Super Agent that wrote the change. Cuts review cost; may cut review depth.","settings.review.autoMergeTitle":"Enable Auto-merge","settings.review.autoMergeDescription":"When a card reaches Ready for Deployment, merge its pull request automatically instead of waiting for someone to press Ship.","settings.review.autoResolveConflictsTitle":"Auto-resolve merge conflicts","settings.review.autoResolveConflictsDescription":"When a pull request in Ready for Deployment conflicts with its base branch, hand it back to the Super Agent to check out the branch, merge the base and push. Follows Auto-merge unless you set it here.","settings.review.autoAssignReportTasksTitle":"Auto-assign Deco Score tasks to the Super Agent","settings.review.autoAssignReportTasksDescription":"Tasks created from the Deco Score are delegated to the Super Agent automatically instead of landing unassigned.","settings.review.updateError":"Couldn't update the setting","settings.taskPrompt.title":"System prompt","settings.taskPrompt.fieldLabel":"Instructions","settings.taskPrompt.placeholder":"e.g. Use pnpm, never npm. Never edit files under src/generated/.","settings.taskPrompt.save":"Save","settings.taskPrompt.saved":"System prompt saved","settings.taskPrompt.failed":"Couldn't save the system prompt","settings.taskPrompt.skillsLabel":"Skills on every column","settings.agentTools.title":"Agent tools","settings.agentTools.description":"What a coding-agent run reaches beyond the repository it is working in.","settings.agentTools.orgMcpsTitle":"Give runs this org's MCP connections","settings.agentTools.orgMcpsDescription":"Every MCP you have connected becomes available to the Super Agent and the reviewers, on top of the task tools they always get. Tools load only when the agent looks for one, so connecting more does not crowd its context.","settings.agentTools.orgMcpsPickTitle":"Connections runs can reach","settings.agentTools.orgMcpsPickDescription":"Turn one off to keep it away from coding-agent runs. Useful for a connection that duplicates a tool a run already has — an MCP for the same tracker the run reports to, say. A newly connected MCP starts on.","settings.agentTools.orgMcpsPickAriaLabel":"Let runs reach {name}","settings.agentTools.orgMcpsPickEmpty":"This organization has no MCP connections yet","settings.agentTools.orgMcpsPickFailed":"Could not save which connections runs can reach","settings.agentTools.orgMcpsPickLoadFailed":"Could not load MCP connections","settings.agentTools.orgMcpsPickSearch":"Search connections…","settings.agentTools.orgMcpsPickEnableAll":"Enable all","settings.agentTools.orgMcpsPickDisableAll":"Disable all","settings.agentTools.orgMcpsPickNoMatch":"No connection matches that search","settings.agentTools.orgMcpsPickSave":"Save","settings.agentTools.orgMcpsPickSaving":"Saving…","settings.agentTools.orgMcpsPickDiscard":"Discard","settings.agentTools.orgMcpsPickSaved":"Saved which connections runs can reach","settings.agentTools.chatRuntimeSection":"Chats","settings.agentTools.chatHarnessSandboxOnlyTitle":"Run every chat with Claude Code in its own sandbox","settings.agentTools.chatHarnessSandboxOnlyDescription":"Every new chat runs Claude Code in a sandbox of its own instead of on Decopilot, and existing Decopilot chats switch over on their next message. The first message of a chat waits for its sandbox to start. Needs an Anthropic, OpenRouter or deco AI gateway key, or a Claude subscription.","settings.agentTools.codingAgentsClaudeCodeTitle":"Run Code Agent chats with Claude Code","settings.agentTools.codingAgentsClaudeCodeDescription":"Chats on an agent imported from a GitHub repo run inside that agent's sandbox, next to the checkout, instead of on Decopilot. Replies arrive a whole turn at a time rather than word by word. Only new chats are affected — an existing chat keeps the runtime it started on.","settings.orgRoleDetail.addMember":"Add Member","settings.orgRoleDetail.addMembersToGrantPermissions":"Add members to grant them the configured permissions.","settings.orgRoleDetail.addMembersToRole":"Add Members to Role","settings.orgRoleDetail.addWithCount":"Add ({count})","settings.orgRoleDetail.added":"Added","settings.orgRoleDetail.allConnections":"All connections","settings.orgRoleDetail.allConnectionsDescription":"Every tool on every connection, including ones added later. Uncheck a connection to leave it out.","settings.orgRoleDetail.allModels":"All models","settings.orgRoleDetail.allOrgPermissions":"All organization permissions","settings.orgRoleDetail.allProjects":"All projects","settings.orgRoleDetail.allProjectsDescription":"This role can access every project, including ones created later. Uncheck a project to hide it from this role, or turn off to pick specific projects.","settings.orgRoleDetail.builtinRolePermissionsCannotBeChanged":"Built-in role permissions cannot be changed","settings.orgRoleDetail.cancel":"Cancel","settings.orgRoleDetail.createRole":"Create Role","settings.orgRoleDetail.enabledCount":"{enabledCount}/{total} enabled","settings.orgRoleDetail.failedToSaveRole":"Failed to save role","settings.orgRoleDetail.general":"General","settings.orgRoleDetail.grantFullAccessToAllFeaturesBelow":"Grant full access to all features below","settings.orgRoleDetail.loadingModels":"Loading models...","settings.orgRoleDetail.mcpPermissions":"MCP Permissions","settings.orgRoleDetail.members":"Members","settings.orgRoleDetail.membersUpdatedSuccessfully":"Members updated successfully!","settings.orgRoleDetail.models":"Models","settings.orgRoleDetail.noLlmConnectionsConfigured":"No LLM connections configured","settings.orgRoleDetail.noMembers":"No members","settings.orgRoleDetail.noMembersAvailable":"No members available","settings.orgRoleDetail.noMembersFound":"No members found","settings.orgRoleDetail.noMembersMatch":'No members match "{searchQuery}"',"settings.orgRoleDetail.noPermissionsMatch":'No permissions match "{searchQuery}"',"settings.orgRoleDetail.noProjectsAvailable":"No projects available","settings.orgRoleDetail.noProjectsMatch":'No projects match "{searchQuery}"',"settings.orgRoleDetail.organizationPermissions":"Organization Permissions","settings.orgRoleDetail.owner":"Owner","settings.orgRoleDetail.ownerMembershipCannotBeChanged":"Owner membership cannot be changed","settings.orgRoleDetail.projects":"Projects","settings.orgRoleDetail.removeMember":"Remove {name} from role","settings.orgRoleDetail.roleCreatedSuccessfully":"Role created successfully!","settings.orgRoleDetail.roleName":"Role name","settings.orgRoleDetail.roleNameIsRequired":"Role name is required","settings.orgRoleDetail.roleUpdatedSuccessfully":"Role updated successfully!","settings.orgRoleDetail.saveChanges":"Save Changes","settings.orgRoleDetail.saving":"Saving...","settings.orgRoleDetail.searchMcpServers":"Search MCP servers...","settings.orgRoleDetail.searchMembers":"Search members...","settings.orgRoleDetail.searchModels":"Search models...","settings.orgRoleDetail.searchPermissions":"Search permissions...","settings.orgRoleDetail.searchProjects":"Search projects...","settings.orgRoleDetail.selectMembersToAddToThisRole":"Select members to add to this role.","settings.orgRoleDetail.showMore":"Show more ({remaining} remaining)","settings.orgRoleDetail.somethingWentWrong":"Something went wrong","settings.orgRoleDetail.unknown":"Unknown","settings.orgRoleDetail.userIsDefaultRoleMessage":"User is the default role — members can't be removed from it; assign another role to change their access","settings.orgSso.cancelButton":"Cancel","settings.orgSso.clientIdLabel":"Client ID","settings.orgSso.clientIdPlaceholder":"your-client-id","settings.orgSso.clientSecretEditDescription":"Leave empty to keep current","settings.orgSso.clientSecretLabel":"Client Secret","settings.orgSso.clientSecretPlaceholder":"your-client-secret","settings.orgSso.clientSecretRequiredError":"Client Secret is required for initial setup","settings.orgSso.configurationRemovedSuccess":"SSO configuration removed","settings.orgSso.configurationSavedSuccess":"SSO configuration saved","settings.orgSso.configureSsoButton":"Configure SSO","settings.orgSso.discoveryEndpointDescription":"Optional — auto-detected from issuer if omitted.","settings.orgSso.discoveryEndpointLabel":"Discovery Endpoint","settings.orgSso.discoveryEndpointPlaceholder":"Auto-detected from issuer","settings.orgSso.domainLabel":"Domain","settings.orgSso.editConfigButton":"Edit configuration","settings.orgSso.emailDomainDescription":"The email domain this SSO provider covers.","settings.orgSso.emailDomainLabel":"Email Domain","settings.orgSso.emailDomainPlaceholder":"company.com","settings.orgSso.enforceSsoDescription":"Require all members to authenticate via SSO","settings.orgSso.enforceSsoLabel":"Enforce SSO","settings.orgSso.enforcementDisabledSuccess":"SSO enforcement disabled","settings.orgSso.enforcementEnabledSuccess":"SSO enforcement enabled","settings.orgSso.issuerUrlDescription":"The OIDC issuer URL of your identity provider.","settings.orgSso.issuerUrlLabel":"Issuer URL","settings.orgSso.issuerUrlPlaceholder":"https://login.microsoftonline.com/{tenant}/v2.0","settings.orgSso.loading":"Loading...","settings.orgSso.providerLabel":"Provider","settings.orgSso.removeButton":"Remove","settings.orgSso.removeConfirmation":"Are you sure you want to remove SSO configuration?","settings.orgSso.removeSsoConfigError":"Failed to remove SSO config","settings.orgSso.requiredFieldsError":"Issuer, Client ID, and Domain are required","settings.orgSso.saveSsoConfigError":"Failed to save SSO config","settings.orgSso.savingButton":"Saving...","settings.orgSso.scopesLabel":"Scopes","settings.orgSso.scopesPlaceholder":"openid email profile","settings.orgSso.sectionTitle":"Single Sign-On","settings.orgSso.securityTitle":"Security","settings.orgSso.testSsoButton":"Test SSO","settings.orgSso.toggleEnforcementError":"Failed to toggle SSO enforcement","settings.orgSso.updateButton":"Update","settings.organizationForm.failedToReadImage":"Failed to read image","settings.organizationForm.failedToUpdateOrg":"Failed to update organization","settings.organizationForm.imageTooLarge":"Image must be smaller than 2MB","settings.organizationForm.logoDescription":"Recommended size is 256x256px","settings.organizationForm.logoTitle":"Logo","settings.organizationForm.namePlaceholder":"Organization name","settings.organizationForm.nameRequired":"Name is required","settings.organizationForm.nameTitle":"Name","settings.organizationForm.nameTooLong":"Name is too long","settings.organizationForm.updateSuccess":"Organization updated successfully","settings.organizationForm.uploadLogoLabel":"Upload organization logo","settings.organizationForm.urlDescription":"Can't be changed — it's used in URLs and API integrations.","settings.organizationForm.urlTitle":"URL","settings.providerKeyRow.addedTimeAgo":"{label} · added {time} ago","settings.providerKeyRow.cancel":"Cancel","settings.providerKeyRow.claudeCode":"Claude Code","settings.providerKeyRow.codex":"Codex","settings.providerKeyRow.delete":"Delete","settings.providerKeyRow.deleteApiKey":"Delete API key","settings.providerKeyRow.deleteProviderKey":"Delete provider key","settings.providerKeyRow.editProviderKey":"Edit provider key","settings.providerKeyRow.failedToDeleteKey":"Failed to delete key: {error}","settings.providerKeyRow.keyDeleted":"Key deleted","settings.roles.allConnections":"All connections","settings.roles.basicAccess":"Basic access","settings.roles.builtIn":"Built-in","settings.roles.cancel":"Cancel","settings.roles.columnMembers":"Members","settings.roles.columnPermissions":"Permissions","settings.roles.columnRole":"Role","settings.roles.columnType":"Type","settings.roles.connectionCount":"{count} connection(s)","settings.roles.createRole":"Create Role","settings.roles.createRoleGetStarted":"Create a role to get started.","settings.roles.custom":"Custom","settings.roles.delete":"Delete","settings.roles.deleteRoleConfirm":'Are you sure you want to delete the "{role}" role? This action cannot be undone.',"settings.roles.deleteRoleTitle":"Delete Role","settings.roles.deletedSuccessfully":"Role deleted successfully!","settings.roles.failedToLoad":"Failed to load roles","settings.roles.fullAccess":"Full access","settings.roles.fullOrgAccess":"Full org access","settings.roles.noPermissions":"No permissions","settings.roles.noRoles":"No roles","settings.roles.noRolesFound":"No roles found","settings.roles.noRolesMatchSearch":'No roles match "{search}"',"settings.roles.orgPermsCount":"{count} org perm(s)","settings.roles.pageTitle":"Roles","settings.roles.roleAdmin":"Admin","settings.roles.roleOwner":"Owner","settings.roles.roleUser":"User","settings.roles.searchPlaceholder":"Search roles...","settings.apiKeys.cancelButton":"Cancel","settings.apiKeys.copied":"Copied to clipboard","settings.apiKeys.copyKey":"Copy key","settings.apiKeys.createButton":"Create key","settings.apiKeys.createdAt":"Created {date}","settings.apiKeys.createdDescription":"Copy this key now — it won't be shown again.","settings.apiKeys.createdTitle":"API key created","settings.apiKeys.creatingButton":"Creating…","settings.apiKeys.deleteDescription":"Any application using this key will immediately lose access. This cannot be undone.","settings.apiKeys.deleteKey":"Delete key","settings.apiKeys.deleteTitle":'Delete "{name}"?',"settings.apiKeys.done":"Done","settings.apiKeys.emptyDescription":"Create a key to authenticate external applications with this organization.","settings.apiKeys.emptyTitle":"No API keys yet","settings.apiKeys.failedToCreateKey":"Failed to create API key","settings.apiKeys.failedToDeleteKey":"Failed to delete API key","settings.apiKeys.failedToLoadError":"Failed to load API keys: {error}","settings.apiKeys.keyDeleted":'API key "{name}" deleted',"settings.apiKeys.loading":"Loading API keys…","settings.apiKeys.nameLabel":"Name","settings.apiKeys.namePlaceholder":"My integration","settings.apiKeys.newKey":"New key","settings.apiKeys.newKeyDescription":"Give the key a name so you can recognize it later.","settings.apiKeys.newKeyTitle":"New API key","settings.apiKeys.sectionDescription":"Long-lived keys for scripts and clients that can't sign in through a browser.","settings.apiKeys.sectionTitle":"API keys","settings.secrets.cancelButton":"Cancel","settings.secrets.createButton":"Create secret","settings.secrets.creatingButton":"Creating…","settings.secrets.descriptionLabel":"Description (optional)","settings.secrets.descriptionPlaceholder":"What is this secret used for?","settings.secrets.emptyDescription":"Store API keys, tokens, and other sensitive values. Values are encrypted at rest and never returned over the API.","settings.secrets.emptyTitle":"No secrets yet","settings.secrets.failedToCreateSecret":"Failed to create secret","settings.secrets.failedToLoadError":"Failed to load secrets: {error}","settings.secrets.nameHelp":"Letters, digits, underscore, dot, hyphen. Case-insensitive within its scope.","settings.secrets.nameLabel":"Name","settings.secrets.namePlaceholder":"STRIPE_API_KEY","settings.secrets.newSecret":"New secret","settings.secrets.newSecretDescription":"Stored encrypted in the credential vault. Choose who can read it.","settings.secrets.newSecretTitle":"New secret","settings.secrets.scopeLabel":"Scope","settings.secrets.scopeOrganization":"Organization","settings.secrets.scopeOrganizationDescription":"Organization — visible to all members","settings.secrets.scopePrivate":"Private","settings.secrets.scopePrivateDescription":"Private — only visible to me","settings.secrets.secretCreated":'Secret "{name}" created',"settings.secrets.secretsCountSingular":"{count} secret stored","settings.secrets.secretsCountPlural":"{count} secrets stored","settings.secrets.sectionOrganization":"Organization","settings.secrets.sectionPrivate":"Private to me","settings.secrets.valueLabel":"Value","settings.simpleModeSection.defaultModels":"Default models","settings.simpleModeSection.failedToSave":"Failed to save: {error}","settings.simpleModeSection.modelsPowerDescription":"These models power chat, automations, and tools across your organization.","settings.simpleModeSection.notAvailableWithCurrentProvider":"Not available with current provider","settings.simpleModeSection.pickModel":"Pick model","settings.simpleModeSection.saved":"Saved","settings.simpleModeSection.saving":"Saving…","settings.simpleModeSection.tierDeepResearch":"Deep research","settings.simpleModeSection.tierDeepResearchDesc":"In-depth, multi-source research reports","settings.simpleModeSection.tierFast":"Fast","settings.simpleModeSection.tierFastDesc":"Fastest responses, best for quick tasks","settings.simpleModeSection.tierImage":"Image","settings.simpleModeSection.tierImageDesc":"Image generation","settings.simpleModeSection.tierSmart":"Smart","settings.simpleModeSection.tierSmartDesc":"Balanced speed and capability","settings.simpleModeSection.tierThinking":"Thinking","settings.simpleModeSection.tierThinkingDesc":"Most capable, best for complex tasks","settings.simpleModeSection.tierWebSearch":"Web search","settings.simpleModeSection.tierWebSearchDesc":"Quick, up-to-date answers from the web","settings.aiProviders.recommended":"Recommended — 100+ models, pay as you go","settings.aiProviders.customOpenAiCompatible":"Custom OpenAI-compatible","settings.aiProviders.customOpenAiDescription":"Bring your own model server (advanced)","settings.aiProviders.moreProvidersSingular":"{count} more provider","settings.aiProviders.moreProvidersPlural":"{count} more providers","settings.aiProviders.decoConnectSuccess":"Deco AI Gateway connected successfully","settings.aiProviders.decoConnectError":"Failed to connect Deco AI Gateway: {error}","settings.infraBilling.noSites":"This organization doesn't own any deco.cx site yet.","settings.infraBilling.siteLabel":"Sites","settings.infraBilling.pickASite":"Select at least one site.","settings.infraBilling.tooManySites":"Showing the first {count} sites. Select specific sites to see the rest.","settings.infraBilling.multipleTeams":"These sites are billed by {count} legacy teams. Each team's plan and invoices are listed under Invoices.","settings.infraBilling.noTeam":"These sites aren't linked to a legacy billing team.","settings.infraBilling.partialTeam":"This site's legacy team also bills sites outside this organization, so its plan and invoices aren't shown here.","settings.infraBilling.billingUnavailable":"Plan and invoices are temporarily unavailable.","settings.infraBilling.monthLabel":"Month","settings.infraBilling.warehouseUnavailable":"Usage data couldn't be read, so the figures below are incomplete.","settings.infraBilling.summaryTitle":"Summary","settings.infraBilling.metricsTitle":"Metrics","settings.infraBilling.invoicesTitle":"Invoices","settings.infraBilling.detailsTitle":"Billing details","settings.infraBilling.currentPlan":"Current plan","settings.infraBilling.nextBilling":"Next billing","settings.infraBilling.manageButton":"Manage","settings.infraBilling.portalError":"Couldn't open billing portal: {message}","settings.infraBilling.requestsPerPageview":"Requests per pageview","settings.infraBilling.plan.free":"Free","settings.infraBilling.plan.pro":"Pro","settings.infraBilling.plan.enterprise":"Enterprise","settings.infraBilling.pageviews":"Pageviews","settings.infraBilling.pageviewsDescription":"Pages served to visitors this month.","settings.infraBilling.requests":"Requests","settings.infraBilling.requestsDescription":"CDN and shared infrastructure requests.","settings.infraBilling.dataTransfer":"Data transfer","settings.infraBilling.dataTransferDescription":"Bandwidth served from the edge and the origin.","settings.infraBilling.noInvoices":"No invoices issued for this team.","settings.infraBilling.invoiceReference":"Reference","settings.infraBilling.invoiceDue":"Due date","settings.infraBilling.invoiceAmount":"Amount","settings.infraBilling.invoiceStatus":"Status","settings.infraBilling.invoiceDocuments":"Documents","settings.infraBilling.invoiceNf":"Invoice","settings.infraBilling.invoiceBankSlip":"Bank slip","settings.infraBilling.invoiceBankTransfer":"Bank transfer","settings.infraBilling.statusPaid":"Paid","settings.infraBilling.statusOverdue":"Overdue","settings.infraBilling.statusPending":"Pending","settings.gitCredentials.title":"Git credentials","settings.gitCredentials.description":"Personal access tokens for private git repositories your projects pull from but a sandbox cannot otherwise reach — submodules, and private dependencies resolved by pub, go, npm or cargo. Used by every sandbox in this organization. Reference an org/user secret per host; SSH URLs are rewritten to HTTPS so the token applies.","settings.gitCredentials.addCredential":"Add git credential","settings.gitCredentials.cancel":"Cancel","settings.gitCredentials.createNewSecret":"Create new secret","settings.gitCredentials.createNewSecretAriaLabel":"Create new secret","settings.gitCredentials.createNewSecretDescription":"Stored encrypted in the credential vault. The git credential will reference the new secret by id — its value never leaves the server.","settings.gitCredentials.createNewSecretTitle":"Create new secret","settings.gitCredentials.descriptionLabel":"Description (optional)","settings.gitCredentials.descriptionPlaceholder":"What is this token used for?","settings.gitCredentials.failedToLoadSecrets":"Failed to load secrets","settings.gitCredentials.failedToSave":"Failed to save git credentials","settings.gitCredentials.failedToSaveSecret":"Failed to save","settings.gitCredentials.hostAriaLabel":"Git credential {index} host","settings.gitCredentials.hostInvalidMessage":"Bare hostname, e.g. github.com (no scheme or path).","settings.gitCredentials.hostPlaceholder":"github.com","settings.gitCredentials.maxReached":"You've reached the limit of {max} git credentials. Remove one to add another.","settings.gitCredentials.nameLabel":"Name","settings.gitCredentials.namePlaceholder":"GITHUB_DEPS_PAT","settings.gitCredentials.nameHelperText":"Letters, digits, underscore, dot, hyphen.","settings.gitCredentials.noSecretsYet":'No secrets yet. Use the "+" to create one.',"settings.gitCredentials.pickSecretPlaceholder":"Pick a secret…","settings.gitCredentials.remove":"Remove","settings.gitCredentials.removeAriaLabel":"Remove git credential","settings.gitCredentials.saveSecret":"Save secret","settings.gitCredentials.saving":"Saving…","settings.gitCredentials.secretAriaLabel":"Git credential {index} secret","settings.gitCredentials.scopeLabel":"Scope","settings.gitCredentials.scopeOrganization":"Organization — visible to all members","settings.gitCredentials.scopePrivate":"Private — only visible to me","settings.gitCredentials.secretSaved":'Saved secret "{name}"',"settings.gitCredentials.tokenExposureWarning":"The token is installed in the sandbox's git config for the session, so commands and agents running there can use it. Scope it to the repositories it needs.","settings.gitCredentials.tokenLabel":"Personal access token","settings.gitCredentials.tokenPlaceholder":"Paste your token"},lJ={"announcements.ptBr.title":"Studio is now in Portuguese","announcements.ptBr.description":"We noticed your browser is set to Portuguese, so we switched Studio to Portuguese (Brazil) for you. You can switch back to English anytime in settings.","announcements.ptBr.ok":"OK!","announcements.ptBr.switchBack":"Switch back to English","announcements.release.ariaLabel":"Release announcement","announcements.release.dismiss":"Dismiss release announcement","announcements.release.learnMore":"Learn more","announcements.version.ariaLabel":"Studio update","announcements.version.dismiss":"Dismiss Studio update","announcements.version.eyebrow":"Studio update","announcements.version.title":"A new version is ready","announcements.version.description":"Refresh to load the latest Studio updates.","announcements.version.currentSession":"Current session · {version}","announcements.version.refresh":"Refresh now"},cJ={"assets.browser.title":"Assets","assets.browser.bucketLabel":"Bucket: {name}","assets.browser.noBucketTitle":"No assets bucket for this site","assets.browser.noBucketDescription":"Configure and associate an S3-compatible bucket with this site to browse and upload assets here.","assets.browser.deleteAction":"Delete","assets.browser.deleteConfirmTitle":"Delete file?","assets.browser.deleteConfirmDescription":'Permanently delete "{name}" from the bucket? This cannot be undone.',"assets.browser.deleteCancel":"Cancel","assets.browser.deleteConfirm":"Delete","assets.browser.deleted":"File deleted","assets.browser.deleteFailed":"Failed to delete file"},dJ={...fQ,...vQ,...bQ,...yQ,...SQ,...wQ,...TQ,...xQ,..._Q,...kQ,...CQ,...PQ,...EQ,...AQ,...RQ,...HQ,...GQ,...WQ,...DQ,...OQ,...MQ,...NQ,...IQ,...LQ,...BQ,...FQ,...jQ,...zQ,...UQ,...qQ,...$Q,...VQ,...KQ,...YQ,...ZQ,...QQ,...JQ,...XQ,...eJ,...tJ,...oJ,...aJ,...nJ,...rJ,...iJ,...sJ,...lJ,...cJ,...gQ,...hQ};function cL(e,t){return t?e.replace(/\{(\w+)\}/g,(o,a)=>Object.hasOwn(t,a)?String(t[a]):o):e}const uJ={"page.overview":"Visão geral","page.app":"App","page.view":"Visualização","page.file":"Arquivo","page.document":"Documento","page.item":"Item","page.breadcrumbs":"Navegação estrutural","page.breadcrumbMenu":"Mostrar caminho de navegação","page.views":"Visualizações da página","page.openThread":"Abrir chat","page.closeThread":"Fechar chat","page.collapseSidebar":"Recolher barra lateral","page.expandSidebar":"Expandir barra lateral"},pJ={"projects.platform.vtex":"VTEX","projects.platform.shopify":"Shopify","projects.platform.wake":"Wake","projects.platform.nuvemshop":"Nuvemshop","projects.platform.linx":"Linx","projects.platform.vnda":"VNDA","projects.home.newProject":"Novo projeto","projects.card.updated":"Atualizado {time}","projects.empty.title":"Seu comércio, um projeto por vez","projects.empty.description":"Um site, um app, uma loja. Cada um com suas conexões, seu relatório e seu quadro.","projects.empty.readOnly":"Peça a um admin para criar o primeiro projeto.","projects.new.title":"Novo projeto","projects.new.subtitle":"O que você vai configurar?","projects.new.back":"Voltar","projects.new.create":"Criar projeto","projects.new.creating":"Criando…","projects.new.nameLabel":"Nome do projeto","projects.new.namePlaceholder":"Farm web","projects.new.nameRequired":"Dê um nome ao projeto","projects.new.failed":"Não foi possível criar o projeto","projects.new.created":"{title} está pronto","projects.new.path.repository":"Importar um código","projects.new.path.repository.hint":"Traga o código de um site ou app","projects.new.path.folder":"Nova pasta de projeto","projects.new.path.folder.hint":"Dê o nome agora, conecte depois","projects.new.step.folder.title":"Dê nome ao seu projeto","projects.reports.chooserTitle":"Continuar para Relatórios","projects.reports.chooserSubtitle":"Escolha um projeto para continuar","projects.reports.chooserSearch":"Buscar projeto…","projects.reports.chooserEmpty":"Nenhum projeto com esse nome.","projects.reports.status.ready":"Pronto","projects.reports.status.running":"Rodando","projects.reports.status.none":"Não rodou","projects.reports.status.locked":"Bloqueado","projects.connections.orgWide":"Toda a organização","projects.connections.usedBy":"{count} projetos","projects.settings.title":"Projetos","projects.settings.description":"Tudo que é escopado por projeto fica aqui: repositórios, conexões, relatório e quadro.","projects.settings.searchPlaceholder":"Buscar projetos…","projects.settings.open":"Abrir","projects.settings.openSettings":"Configurações","projects.settings.orgScopeNote":"Membros, cobrança, segurança e provedores de IA continuam sendo da organização.","projects.settings.noResults":"Nenhum projeto corresponde a “{search}”","projects.identity.storeUrlLabel":"URL da loja","projects.identity.storeUrlDescription":"A loja no ar. Os relatórios rodam contra este endereço.","projects.flat.viewProject":"Projeto","projects.flat.viewFiles":"Arquivos","projects.flat.viewAnalytics":"Análise","projects.apps.heading":"Apps","projects.apps.seeAll":"Ver todos","projects.apps.showLess":"Ver menos","projects.apps.reports":"Relatório","projects.apps.reportsCaption":"O que está errado na loja","projects.apps.siteEditor":"Editor de site","projects.apps.siteEditorCaption":"Páginas, seções e conteúdo","projects.apps.assets":"Assets","projects.apps.assetsCaption":"Imagens e arquivos que o site usa","projects.apps.releases":"Releases","projects.apps.releasesCaption":"O que está no ar e releases anteriores","projects.apps.hosting":"Hosting","projects.apps.hostingCaption":"Deploys, domínios e ambientes","projects.apps.e2e":"Testes ponta a ponta","projects.apps.e2eCaption":"Fluxos verificados a cada mudança","projects.apps.analytics":"Analytics","projects.apps.analyticsCaption":"Tráfego, conversão e receita","projects.apps.cdn":"Monitor","projects.apps.cdnCaption":"Cache, latência e erros","projects.apps.automations":"Automações","projects.apps.automationsCaption":"Trabalho que roda em agenda","projects.apps.experiments":"Experimentos","projects.apps.experimentsCaption":"Testes A/B e seus resultados","projects.flat.close":"Fechar"},mJ={"virtualMcp.addConnectionDialog.addConnectionTitle":"Adicionar Conexão","virtualMcp.addConnectionDialog.authenticationFailedError":"Autenticação falhou: {error}","virtualMcp.addConnectionDialog.connected":"Conectado","virtualMcp.addConnectionDialog.connectedAuthenticated":"Conectado e autenticado","virtualMcp.addConnectionDialog.connectionsTitle":"Conexões","virtualMcp.addConnectionDialog.failedToAddConnection":"Falha ao adicionar conexão","virtualMcp.addConnectionDialog.failedToConnect":"Falha ao conectar","virtualMcp.addConnectionDialog.mcpServerConnectionError":"Este servidor MCP não pode ser conectado: nenhum método de conexão disponível","virtualMcp.addConnectionDialog.searchConnectionsPlaceholder":"Pesquisar conexões...","virtualMcp.addConnectionDialog.signInFailedDescription":"Foi adicionada ao seu projeto, mas sua configuração de login parece estar errada. Você pode tentar autenticar novamente mais tarde nas configurações da conexão. ({error})","virtualMcp.addConnectionDialog.signInFailedTitle":"Não foi possível fazer login nesta conexão","virtualMcp.connectionDialogContent.add":"Adicionar","virtualMcp.connectionDialogContent.added":"Adicionado","virtualMcp.connectionDialogContent.builtByDeco":"Construído e mantido pela Deco","virtualMcp.connectionDialogContent.builtByOfficial":"Construído e mantido pelo fornecedor oficial","virtualMcp.connectionDialogContent.connect":"Conectar","virtualMcp.connectionDialogContent.connected":"Conectado","virtualMcp.connectionDialogContent.customConnection":"Conexão Personalizada","virtualMcp.connectionDialogContent.emptyStateNoConnectionsAvailable":"Nenhuma conexão disponível","virtualMcp.connectionDialogContent.emptyStateNoConnectionsYet":"Nenhuma conexão ainda","virtualMcp.connectionDialogContent.emptyStateSearchNoMatch":'Nenhuma conexão corresponde a "{search}"',"virtualMcp.connectionDialogContent.madeByDeco":"Feito por Deco","virtualMcp.connectionDialogContent.sectionAllConnections":"Todas as conexões","virtualMcp.connectionDialogContent.sectionVerified":"Verificado","virtualMcp.connectionDialogContent.tabAll":"Todos","virtualMcp.connectionDialogContent.tabConnected":"Conectados","virtualMcp.connectionDialogContent.verifiedByDeco":"Verificado pelo time da Deco","virtualMcp.connectionItem.authorize":"Autorizar","virtualMcp.connectionItem.configureResources":"Configurar recursos","virtualMcp.connectionItem.connectionDisabled":"Conexão desativada","virtualMcp.connectionItem.connectionEnabled":"Conexão ativada","virtualMcp.connectionItem.connectionNotFound":"Conexão não encontrada","virtualMcp.connectionItem.connectionSettings":"Configurações de conexão","virtualMcp.connectionItem.disable":"Desativar","virtualMcp.connectionItem.disableConnection":"Desativar conexão","virtualMcp.connectionItem.disabled":"Desativada","virtualMcp.connectionItem.disabledError":"Desativada (erro)","virtualMcp.connectionItem.enable":"Ativar","virtualMcp.connectionItem.failedToUpdateConnection":"Falha ao atualizar a conexão","virtualMcp.connectionItem.needsAuthorization":"Requer autorização","virtualMcp.connectionItem.newInstance":"Nova instância","virtualMcp.connectionItem.remove":"Remover","virtualMcp.connectionItem.removeConnection":"Remover conexão","virtualMcp.dependencySelectionDialog.authorizationDescription":"Esta conexão deve ser autorizada antes de você poder configurar suas ferramentas e recursos.","virtualMcp.dependencySelectionDialog.authorizationRequired":"Autorização obrigatória","virtualMcp.dependencySelectionDialog.authorize":"Autorizar","virtualMcp.dependencySelectionDialog.deselectAll":"Desselecionar tudo","virtualMcp.dependencySelectionDialog.done":"Concluído","virtualMcp.dependencySelectionDialog.noActiveToolsSelected":"Nenhuma ferramenta ativa selecionada","virtualMcp.dependencySelectionDialog.noPromptsAvailable":"Nenhum prompt disponível","virtualMcp.dependencySelectionDialog.noResourcesAvailable":"Nenhum recurso disponível","virtualMcp.dependencySelectionDialog.noToolsAvailable":"Nenhuma ferramenta disponível","virtualMcp.dependencySelectionDialog.promptsNotSupported":"Prompts não são suportados por este servidor","virtualMcp.dependencySelectionDialog.resourcesNotSupported":"Recursos não são suportados por este servidor","virtualMcp.dependencySelectionDialog.selectAll":"Selecionar tudo","virtualMcp.dependencySelectionDialog.somethingWentWrong":"Algo deu errado","virtualMcp.dependencySelectionDialog.tabActive":"Ativas","virtualMcp.dependencySelectionDialog.tabPrompts":"Prompts","virtualMcp.dependencySelectionDialog.tabResources":"Recursos","virtualMcp.dependencySelectionDialog.tabTools":"Ferramentas","virtualMcp.dependencySelectionDialog.toolsNotSupported":"Ferramentas não são suportadas por este servidor","virtualMcp.dependencySelectionDialog.unexpectedError":"Erro inesperado","virtualMcp.filesSection.add":"Adicionar","virtualMcp.filesSection.description":"Anexe arquivos e skills que o projeto sempre pode consultar.","virtualMcp.filesSection.failedUploadFile":"Falha ao enviar arquivo.","virtualMcp.filesSection.fileTooLargeDescription":"Excede o limite de 25MB, não enviado: {names}","virtualMcp.filesSection.fileTooLargeTitle":"Arquivo muito grande","virtualMcp.filesSection.filesAndSkills":"Arquivos e skills","virtualMcp.filesSection.kindFile":"Arquivo","virtualMcp.filesSection.kindSkill":"Skill","virtualMcp.filesSection.noFilesFound":"Nenhum arquivo encontrado.","virtualMcp.filesSection.noFilesOrSkillsYet":"Nenhum arquivo ou skill ainda. Adicione um ou arraste e solte aqui.","virtualMcp.filesSection.noSkillsFound":"Nenhum skill encontrado.","virtualMcp.filesSection.removeAriaLabel":"Remover {name}","virtualMcp.filesSection.searchFilesPlaceholder":"Pesquisar arquivos...","virtualMcp.filesSection.searchSkillsPlaceholder":"Pesquisar skills...","virtualMcp.filesSection.selectFileOrFolder":"Selecionar arquivo ou pasta","virtualMcp.filesSection.selectSkill":"Selecionar skill","virtualMcp.filesSection.uploadFile":"Enviar arquivo","virtualMcp.layoutTabContent.noMainView":"Sem visão principal","virtualMcp.layoutTabContent.automations":"Automações","virtualMcp.layoutTabContent.chatAlwaysShown":"O Chat sempre aparece quando é a visualização padrão","virtualMcp.layoutTabContent.layout":"Layout","virtualMcp.layoutTabContent.mainView":"Visualização principal","virtualMcp.layoutTabContent.mainViewDescription":"O que os usuários veem quando abrem este projeto pela primeira vez.","virtualMcp.layoutTabContent.settings":"Configurações","virtualMcp.layoutTabContent.showChat":"Mostrar chat","virtualMcp.layoutTabContent.showChatDescription":"Exibir Chat no painel lateral junto com a visualização principal.","virtualMcp.layoutTabContent.siteEditor":"Editor do site","virtualMcp.settings.title":"Configurações do projeto","virtualMcp.settings.navigation":"Seções das configurações do projeto","virtualMcp.settings.identity.icon":"Ícone do projeto","virtualMcp.settings.identity.iconDescription":"Como seu projeto aparece na barra lateral e no Studio.","virtualMcp.settings.identity.name":"Nome do projeto","virtualMcp.settings.identity.description":"Descrição","virtualMcp.settings.general.title":"Geral","virtualMcp.settings.site.title":"CMS","virtualMcp.settings.site.classicTitle":"Site e sandbox","virtualMcp.settings.groups.advanced":"Avançado","virtualMcp.settings.connections.title":"Conexões","virtualMcp.settings.views.defaults":"Layout padrão","virtualMcp.settings.views.sidebar":"Visualizações","virtualMcp.settings.views.open":"Abrir","virtualMcp.settings.views.pin":"Fixar na barra lateral","virtualMcp.settings.views.unpin":"Remover da barra lateral","virtualMcp.settings.views.setMainView":"Definir como visualização principal","virtualMcp.settings.views.rowActions":"Opções da visualização","virtualMcp.subAgentsSection.addSubAgent":"Adicionar sub-projeto","virtualMcp.subAgentsSection.anyAgent":"Qualquer projeto","virtualMcp.subAgentsSection.canDelegateToAnyAgent":"Pode delegar para qualquer projeto na organização.","virtualMcp.subAgentsSection.canOnlyDelegateToItself":"Pode delegar apenas para uma cópia fresca de si mesmo, nenhum outro projeto.","virtualMcp.subAgentsSection.emptyStateMessage":"Nenhum sub-projeto selecionado ainda. Adicione um — até então, este projeto pode delegar apenas para si mesmo.","virtualMcp.subAgentsSection.noAgentsFound":"Nenhum projeto encontrado.","virtualMcp.subAgentsSection.onlyItself":"Apenas si mesmo","virtualMcp.subAgentsSection.searchPlaceholder":"Pesquisar projetos...","virtualMcp.subAgentsSection.specificAgents":"Projetos específicos","virtualMcp.subAgentsSection.title":"Sub-projetos","virtualMcp.virtualMcp.addConnection":"Adicionar conexão","virtualMcp.virtualMcp.agentDeleted":'Excluído "{title}"',"virtualMcp.virtualMcp.agentNameFallback":"Agente","virtualMcp.virtualMcp.agentNamePlaceholder":"Nome do projeto","virtualMcp.virtualMcp.authenticationFailed":"Falha na autenticação: {error}","virtualMcp.virtualMcp.authenticationSuccessful":"Autenticação bem-sucedida","virtualMcp.virtualMcp.backToSpaces":"Voltar aos espaços","virtualMcp.virtualMcp.cancel":"Cancelar","virtualMcp.virtualMcp.connect":"Conectar","virtualMcp.virtualMcp.connections":"Conexões","virtualMcp.virtualMcp.created":"Criado em","virtualMcp.virtualMcp.delete":"Excluir","virtualMcp.virtualMcp.deleteAgent":"Excluir projeto","virtualMcp.virtualMcp.deleteAgentConfirm":"Excluir Projeto?","virtualMcp.virtualMcp.deleteAgentConfirmDescription":"Esta ação não pode ser desfeita. Isto excluirá permanentemente {title}.","virtualMcp.virtualMcp.deleteAgentDescription":"Exclua permanentemente este projeto e todos os seus dados.","virtualMcp.virtualMcp.descriptionPlaceholder":"Adicionar uma descrição...","virtualMcp.virtualMcp.failedToCreateInstance":"Falha ao criar instância","virtualMcp.virtualMcp.fullscreen":"Tela cheia","virtualMcp.virtualMcp.improve":"Melhorar","virtualMcp.virtualMcp.instanceAlreadyAdded":"Esta instância já foi adicionada ao projeto","virtualMcp.virtualMcp.instructions":"Instruções","virtualMcp.virtualMcp.instructionsPlaceholder":"Defina como este agente deve se comportar, qual tom usar, qualquer restrição ou diretriz...","virtualMcp.virtualMcp.lastUsed":"Último uso {time}","virtualMcp.virtualMcp.neverUsed":"Nunca foi usado","virtualMcp.virtualMcp.newInstanceCreated":"Nova instância criada","virtualMcp.virtualMcp.noConnectionsYet":"Nenhuma conexão ainda. Adicione uma para começar.","virtualMcp.virtualMcp.openFullscreenEditor":"Abrir editor em tela cheia","virtualMcp.virtualMcp.promptTemplate":"+ Modelo de prompt","virtualMcp.virtualMcp.promptTemplateContent":`<role>
92
92
  Defina quem é este agente e em que ele é especializado.
93
93
  Exemplo: Você é um agente de triagem de suporte para comerciantes B2B.
94
94
  </role>
@@ -124,7 +124,7 @@ ou um por linha`,"common.inviteMemberDialog.errorFailedInvite":"Falha ao convida
124
124
 
125
125
  Sections que sustentam ele: {sections}. Quantas de cada, e em que ordem, depende do tema.`,"sandbox.formats.starterBodyNoSections":`Use para um post direto: abra com o assunto e por que ele importa para quem lê, desenvolva em algumas passagens curtas, e feche com o próximo passo.
126
126
 
127
- Este site ainda não reporta sections de post — quando reportar, cite elas aqui com @.`,"sandbox.formats.starterName":"Post padrão","sandbox.formats.suggestButton":"Sugerir formatos","sandbox.formats.suggestFailed":"Não foi possível sugerir formatos","sandbox.formats.suggestHint":"Nomear os formatos em que este blog já escreve, a partir de como os posts são montados","sandbox.formats.suggested":"{count} formato(s) adicionado(s)","sandbox.formats.unknownCitations":"Este formato cita sections que o site não tem: {names}","sandbox.generatePost.stepCampaign":"Campanha","sandbox.generatePost.campaignHint":"Um post é escrito para uma campanha: é ela que carrega o momento, os produtos que podem ser citados e os links deles.","sandbox.generatePost.noCampaigns":"Nenhuma campanha para escrever ainda. Crie uma em Contexto → Campanhas.","sandbox.generatePost.campaignProducts":"{count} produto(s)","sandbox.generatePost.campaignNoProducts":"Sem produtos","sandbox.generatePost.formatBlocksHint":"Os blocos que este formato cita são os únicos que o post pode usar, e cada um é preenchido conforme o schema dele.","sandbox.generatePost.countLabel":"Quantos rascunhos","sandbox.generatePost.countHint":"Cada um pega um ângulo diferente da mesma campanha. Caem como cartões separados.","sandbox.generatePost.coverHint":"Todo rascunho ganha uma imagem de capa, gerada e enviada para o seu bucket.","sandbox.generatePost.gapNoStoreData":"Nenhum sistema conectado respondeu, então nada nestes posts foi conferido com a loja.","sandbox.generatePost.gapSectionsDropped":"{count} seção(ões) foram descartadas: os props não bateram com o bloco que as renderiza.","sandbox.generatePost.gapNoBucket":"Nenhum bucket para enviar imagens, então os posts estão sem capa. Configure um em Configurações → Buckets.","sandbox.generatePost.gapNoImageModel":"Esta organização não tem modelo de imagem configurado, então os posts estão sem capa.","sandbox.generatePost.gapImagesFailed":"As imagens de capa não puderam ser geradas. Os posts estão completos no resto.","sandbox.generatePost.gapDraftsFailed":"{count} rascunho(s) não puderam ser escritos e os cartões ficaram vazios.","sandbox.generatePost.back":"Voltar","sandbox.generatePost.blockedBrand":"Preencha {fields} na aba Marca primeiro — um post escrito sem isso parece o de qualquer outra marca.","sandbox.generatePost.done":"Escrevi {count} rascunho(s) — prontos para revisão","sandbox.generatePost.extraLabel":"Mais alguma coisa?","sandbox.generatePost.extraPlaceholder":"O que você quer além de tudo isso, nas suas palavras.","sandbox.generatePost.failed":"Não consegui escrever estes posts","sandbox.generatePost.formatHint":"Escolha um formato que a marca já usa, ou descreva um novo.","sandbox.generatePost.formatNameLabel":"Nome do formato","sandbox.generatePost.formatNamePlaceholder":"O formato, nomeado pelo trabalho que faz","sandbox.generatePost.formatValueLabel":"Como um post assim é construído","sandbox.generatePost.formatValuePlaceholder":"Como ele abre, desenvolve e fecha.","sandbox.generatePost.generate":"Gerar {count} rascunho(s)","sandbox.generatePost.next":"Avançar","sandbox.generatePost.stepExtra":"Instruções","sandbox.generatePost.stepFormat":"Formato","sandbox.generatePost.subtitle":"Escolha a campanha e o formato. Os posts caem no quadro como rascunhos.","sandbox.generatePost.title":"Gerar posts","sandbox.itemActions.addVariant":"Adicionar variante","sandbox.itemActions.delete":"Excluir","sandbox.itemActions.duplicate":"Duplicar","sandbox.itemActions.editSeo":"Editar SEO","sandbox.itemActions.moreActions":"Mais ações","sandbox.itemActions.rename":"Renomear","sandbox.itemActions.viewJson":"Visualizar JSON","sandbox.itemRow.duplicateName":"Outro registro usa esse nome","sandbox.itemRow.missingFields":"Faltando: {fields}","sandbox.itemRow.selectItem":"Selecionar {title}","sandbox.itemRow.variantCount":"{count} variantes","sandbox.listBlocks.addCard":"Adicionar card","sandbox.listBlocks.addItem":"Adicionar item","sandbox.listBlocks.addStat":"Adicionar estatística","sandbox.listBlocks.addStep":"Adicionar passo","sandbox.listBlocks.cardBody":"Corpo do card","sandbox.listBlocks.cardTitle":"Título do card","sandbox.listBlocks.checklistItem":"Item da checklist","sandbox.listBlocks.checklistTitle":"Título da checklist (opcional)","sandbox.listBlocks.columnTitle":"Título da coluna","sandbox.listBlocks.item":"Item","sandbox.listBlocks.label":"Rótulo","sandbox.listBlocks.optionA":"Opção A","sandbox.listBlocks.optionB":"Opção B","sandbox.listBlocks.removeCard":"Remover card","sandbox.listBlocks.removeItem":"Remover item","sandbox.listBlocks.removeStat":"Remover estatística","sandbox.listBlocks.removeStep":"Remover passo","sandbox.listBlocks.statValuePlaceholder":"99%","sandbox.listBlocks.stepDescription":"Descrição do passo","sandbox.listBlocks.stepTitle":"Título do passo","sandbox.listBlocks.stepsTitle":"Título dos passos (opcional)","sandbox.mediaBlocks.addCaption":"Adicione uma legenda…","sandbox.mediaBlocks.altText":"Texto alternativo (acessibilidade)","sandbox.mediaBlocks.altLabel":"Alt","sandbox.mediaBlocks.buttonLabel":"Rótulo do botão","sandbox.mediaBlocks.calloutText":"Texto do destaque…","sandbox.mediaBlocks.calloutTitle":"Título do destaque","sandbox.mediaBlocks.destinationUrlPlaceholder":"https://url-de-destino.com","sandbox.linkSuggest.button":"Sugerir links","sandbox.linkSuggest.hint":"Encontrar trechos para linkar com seus outros posts (usa créditos de IA)","sandbox.linkSuggest.noCandidates":"Ainda não há outros posts para linkar","sandbox.linkSuggest.title":"Links internos sugeridos","sandbox.linkSuggest.description":"Escolha quais trechos linkar com seus outros posts. Nada muda até você aplicar.","sandbox.linkSuggest.none":"Nenhum link interno para sugerir.","sandbox.linkSuggest.apply":"Aplicar {count}","sandbox.linkSuggest.applied":"{count} link(s) aplicado(s)","sandbox.linkSuggest.failed":"Não foi possível sugerir links","sandbox.linkPicker.tabPost":"Post","sandbox.linkPicker.tabProduct":"Produto","sandbox.linkPicker.searchPosts":"Buscar seus posts…","sandbox.linkPicker.noPosts":"Nenhum post encontrado","sandbox.linkPicker.searchProducts":"Buscar no seu catálogo…","sandbox.linkPicker.searching":"Buscando…","sandbox.linkPicker.noProducts":"Nenhum produto encontrado","sandbox.mediaBlocks.divider":"Divisor","sandbox.mediaBlocks.fullWidth":"Largura total","sandbox.mediaBlocks.highPriority":"Prioridade","sandbox.mediaBlocks.highPriorityHint":"Carrega de imediato e com prioridade alta. Use em imagens acima da dobra.","sandbox.mediaBlocks.label":"Rótulo","sandbox.mediaBlocks.normal":"Normal","sandbox.mediaBlocks.optionalDescription":"Descrição opcional","sandbox.mediaBlocks.pasteVideoUrl":"Cole uma URL do YouTube ou Vimeo para visualizar","sandbox.mediaBlocks.statValuePlaceholder":"42%","sandbox.mediaBlocks.video":"Vídeo","sandbox.mediaBlocks.videoUrlPlaceholder":"https://youtube.com/watch?v=…","sandbox.pageFormDialog.buttonCancel":"Cancelar","sandbox.pageFormDialog.labelName":"Nome","sandbox.pageFormDialog.labelPath":"Caminho","sandbox.pageFormDialog.labelTemplate":"Modelo","sandbox.pageFormDialog.pendingCreate":"Criando…","sandbox.pageFormDialog.pendingDuplicate":"Duplicando…","sandbox.pageFormDialog.pendingSave":"Salvando…","sandbox.pageFormDialog.placeholderName":"Minha página","sandbox.pageFormDialog.placeholderPath":"/exemplo","sandbox.pageFormDialog.submitCreate":"Criar","sandbox.pageFormDialog.submitDuplicate":"Duplicar","sandbox.pageFormDialog.submitSave":"Salvar","sandbox.pageFormDialog.titleCreate":"Criar nova página","sandbox.pageFormDialog.titleDuplicate":"Duplicar página","sandbox.pageFormDialog.titleRename":"Renomear página","sandbox.pathParamPickerChip.buttonTitle":"Valor para {paramLabel} — clique para escolher","sandbox.pathParamPickerChip.couldNotLoad":"Não foi possível carregar — o servidor de desenvolvimento está rodando?","sandbox.pathParamPickerChip.kindCategoryHeading":"Categorias","sandbox.pathParamPickerChip.kindCategoryNoun":"categoria","sandbox.pathParamPickerChip.kindProductHeading":"Produtos","sandbox.pathParamPickerChip.kindProductNoun":"produto","sandbox.pathParamPickerChip.loading":"Carregando {noun}…","sandbox.pathParamPickerChip.noResults":"Nenhum resultado.","sandbox.pathParamPickerChip.pickValueHeading":"Escolha um valor para","sandbox.pathParamPickerChip.pickValueTitle":"Escolha um valor para {paramLabel}","sandbox.pathParamPickerChip.searchPlaceholder":"Procurar {options} ou digite um valor…","sandbox.pathParamPickerChip.useRawValue":'Usar "{rawTerm}" como {paramLabel}',"sandbox.plainBlocks.bulletedLabel":"Com marcadores","sandbox.plainBlocks.codePlaceholder":"Código","sandbox.plainBlocks.headingLevel1":"Título 1","sandbox.plainBlocks.headingLevel2":"Título 2","sandbox.plainBlocks.headingLevel3":"Título 3","sandbox.plainBlocks.headingLevel4":"Título 4","sandbox.plainBlocks.headingPlaceholder":"Título","sandbox.plainBlocks.languagePlaceholder":"linguagem","sandbox.plainBlocks.listItemPlaceholder":"Item de lista","sandbox.plainBlocks.numberedLabel":"Numerada","sandbox.plainBlocks.quotePlaceholder":"Citação","sandbox.postBoard.close":"Fechar","sandbox.postBoard.archived":"Movido para Arquivado","sandbox.postBoard.collapse":"Recolher para o painel","sandbox.postBoard.collapseLane":"Recolher {lane}","sandbox.postBoard.delete":"Excluir","sandbox.postBoard.emptyDescription":"Gere algumas ideias e transforme-as em posts publicados.","sandbox.postBoard.emptyTitle":"Nenhum post ainda","sandbox.postBoard.duplicateTitle":"Título duplicado","sandbox.postBoard.expand":"Expandir para página inteira","sandbox.postBoard.expandLane":"Expandir {lane}","sandbox.postBoard.laneEmpty":"Nada aqui ainda","sandbox.postBoard.laneArchived":"Arquivado","sandbox.postBoard.laneGenerating":"Gerando","sandbox.postBoard.laneDraft":"Rascunho","sandbox.postBoard.laneAwaitingReview":"Aguardando revisão","sandbox.postBoard.lanePublished":"Publicado","sandbox.postBoard.laneScheduled":"Agendado","sandbox.postBoard.moveBlocked":"Este post está sem campos obrigatórios — abra-o para concluir antes de agendar.","sandbox.postBoard.moveFailed":"Não foi possível mover este post","sandbox.postBoard.moveInFlight":"Ainda movendo este post…","sandbox.postBoard.moveNotATarget":"Gerando é definido pela geração, não à mão.","sandbox.postBoard.nIssues":"{count} a corrigir antes de agendar","sandbox.postBoard.newPost":"Novo post","sandbox.postBoard.newPostGenerate":"Gerar","sandbox.postBoard.newPostGenerateHint":"Escrever com IA, a partir do seu contexto","sandbox.postBoard.newPostWrite":"Escrever","sandbox.postBoard.newPostWriteHint":"Começar um rascunho vazio você mesmo","sandbox.postBoard.importContent":"Importar conteúdo","sandbox.postBoard.importContentHint":"Traga o HTML ou Markdown que você já escreveu","sandbox.postBoard.importTitle":"Importar conteúdo","sandbox.postBoard.importDescription":"Cole o HTML ou Markdown que você já escreveu. Vira um rascunho editável no seu design system — sem IA, sem créditos.","sandbox.postBoard.importUpload":"Enviar um arquivo","sandbox.postBoard.importRun":"Importar","sandbox.postBoard.importEmpty":"Nada para importar — o conteúdo estava vazio.","sandbox.postBoard.imported":"Importado — revise e publique.","sandbox.postBoard.readyToSchedule":"Pronto para agendar","sandbox.postBoard.selectPrompt":"Selecione um post para vê-lo aqui.","sandbox.postBoard.untitled":"Post sem título","sandbox.postBoard.generatingLabel":"Gerando…","sandbox.postBoard.usesCredits":"Usa créditos de IA","sandbox.postBoard.viewBoard":"Quadro","sandbox.postBoard.viewList":"Lista","sandbox.postCalendar.couldNotCreate":"Não foi possível criar","sandbox.postCalendar.couldNotReschedule":"Não foi possível reagendar","sandbox.postCalendar.createdScheduledPost":"Post agendado criado","sandbox.postCalendar.legendScheduled":"Agendado","sandbox.postCalendar.legendUnscheduled":"Não agendado","sandbox.postCalendar.next":"Próximo mês","sandbox.postCalendar.onlyScheduledCanMove":"Apenas posts agendados podem ser movidos.","sandbox.postCalendar.previous":"Mês anterior","sandbox.postCalendar.schedulePostOn":"Agendar um post em {date}","sandbox.postCalendar.today":"Hoje","sandbox.postCalendar.unscheduledHint":"Posts tracejados não estão agendados — estão na data de exibição deles, e nada vai publicá-los.","sandbox.postCalendar.undatedEmpty":"Todos os posts têm data.","sandbox.postCalendar.undatedLabel":"Sem data · {count}","sandbox.postEditor.addPropLabel":"Adicionar propriedade","sandbox.postEditor.authorsLabel":"Autores","sandbox.postEditor.categoriesLabel":"Categorias","sandbox.postEditor.contentTab":"Conteúdo","sandbox.postEditor.coverAltDescription":"Descreve a imagem para leitores de tela e para quando ela não carrega. Vazio: o título do post é usado.","sandbox.postEditor.coverAltLabel":"Texto alternativo da capa","sandbox.postEditor.coverImageLabel":"Imagem de capa","sandbox.postEditor.dateLabel":"Data","sandbox.postEditor.deletePost":"Excluir post","sandbox.postEditor.deletePostCancel":"Cancelar","sandbox.postEditor.deletePostConfirmBody":'"{title}" será removido permanentemente. Isso não pode ser desfeito.',"sandbox.postEditor.deletePostConfirmTitle":"Excluir este post?","sandbox.postEditor.deletePostFailed":"Falha ao excluir","sandbox.postEditor.deletePostSuccess":'"{title}" excluído',"sandbox.postEditor.deletingPost":"Excluindo…","sandbox.postEditor.duplicateTitleWarning":"Já existe outro post com esse título. Títulos duplicados competem entre si na busca.","sandbox.postEditor.excerptLabel":"Resumo","sandbox.postEditor.extraPropsLabel":"Propriedades extras","sandbox.postEditor.issuePlural":"problemas","sandbox.postEditor.issueSingular":"problema","sandbox.postEditor.keyPlaceholder":"chave","sandbox.postEditor.missingFieldPlural":"Campos obrigatórios faltando: {fields}","sandbox.postEditor.missingFieldSingular":"Campo obrigatório faltando: {fields}","sandbox.postEditor.noAuthorsYet":"Nenhum autor ainda — crie alguns na coleção de autores.","sandbox.postEditor.noCategoriesYet":"Nenhuma categoria ainda — crie algumas na coleção de categorias.","sandbox.postEditor.noContentYet":"Este post ainda não tem conteúdo. Use ⊕ para adicionar seu primeiro bloco.","sandbox.postEditor.postTitlePlaceholder":"Título do post","sandbox.postEditor.readTimeLabel":"Tempo de leitura (minutos)","sandbox.postEditor.previewRequiresSlugAndCategory":"Defina o slug do post (e sua categoria) mais o pageSlug do aplicativo de blog para visualizar","sandbox.postEditor.previewTooltip":"Abrir visualização do post em uma nova aba","sandbox.postEditor.scheduledDatetimeDescription":"Quando este post entra no ar. O site publica sozinho depois que esse momento passa.","sandbox.postEditor.scheduledDatetimeLabel":"Entra no ar em","sandbox.postEditor.removePropLabel":"Remover propriedade","sandbox.postEditor.seePreview":"Ver visualização","sandbox.postEditor.selectAuthorsPlaceholder":"Selecionar autores","sandbox.postEditor.selectCategoriesPlaceholder":"Selecionar categorias","sandbox.postEditor.seoCanonicalLabel":"URL canônica","sandbox.postEditor.seoCanonicalPlaceholder":"https://exemplo.com/blog/meu-post","sandbox.postEditor.seoDescriptionLabel":"Descrição de SEO","sandbox.postEditor.seoImageLabel":"Imagem de SEO","sandbox.postEditor.seoNoIndexingLabel":"Ocultar dos mecanismos de busca (noindex)","sandbox.postEditor.seoSectionHint":"Sobrescreve como este post aparece nos mecanismos de busca. Campos vazios usam o título, resumo e imagem de capa do post.","sandbox.postEditor.seoSectionLabel":"SEO","sandbox.postEditor.seoTitleLabel":"Título de SEO","sandbox.postEditor.settingsTab":"Configurações","sandbox.postEditor.statusLabel":"Status","sandbox.postEditor.slugDeduped":"Esse slug já estava em uso — salvamos como “{slug}”.","sandbox.postEditor.slugLabel":"Slug","sandbox.postEditor.slugPlaceholder":"meu-post","sandbox.postEditor.valuePlaceholder":"valor","sandbox.postList.noMatches":"Nenhum post corresponde à busca ou aos filtros.","sandbox.postToolbar.allPosts":"Todos os posts","sandbox.postToolbar.archiveSelected":"Arquivar selecionados","sandbox.postToolbar.archiveSelectedPosts":"Arquivar posts selecionados","sandbox.postToolbar.authorLabel":"Autor","sandbox.postToolbar.categoryLabel":"Categoria","sandbox.postToolbar.clearFilter":"Limpar filtro","sandbox.postToolbar.deselectAll":"Desselecionar tudo","sandbox.postToolbar.deselectAllPosts":"Desselecionar todos os posts","sandbox.postToolbar.exitSelection":"Sair da seleção","sandbox.postToolbar.filterBy":"Filtrar por","sandbox.postToolbar.filterLabel":"Filtro","sandbox.postToolbar.itemsSelected":"Selecionados: {count}","sandbox.postToolbar.clearSearch":"Limpar busca","sandbox.postToolbar.searchAriaLabel":"Buscar posts","sandbox.postToolbar.searchPlaceholder":"Buscar posts","sandbox.postToolbar.selectAll":"Selecionar tudo","sandbox.postToolbar.selectAllPosts":"Selecionar todos os posts","sandbox.postToolbar.sortAZ":"A–Z","sandbox.postToolbar.sortBy":"Ordenar por","sandbox.postToolbar.sortNewest":"Recentes","sandbox.postToolbar.sortNewestFirst":"Mais recentes primeiro","sandbox.postToolbar.sortOldest":"Antigas","sandbox.postToolbar.sortOldestFirst":"Mais antigas primeiro","sandbox.postToolbar.sortTitleAZ":"Título A–Z","sandbox.postToolbar.sortTitleZA":"Título Z–A","sandbox.postToolbar.sortZA":"Z–A","sandbox.postToolbar.statusLabel":"Status","sandbox.preview.catchAllParamLabel":"caminho","sandbox.preview.choosePage":"Escolher página","sandbox.preview.clickElementToAsk":"Clique em qualquer elemento para perguntar à IA","sandbox.preview.collapseTerminal":"Recolher terminal","sandbox.preview.expandTerminal":"Expandir terminal","sandbox.preview.resizeTerminal":"Redimensionar terminal","sandbox.preview.createNewPage":"Criar nova página","sandbox.preview.devServerPreviewTitle":"Visualização do servidor de desenvolvimento","sandbox.preview.deviceDesktop":"Desktop","sandbox.preview.deviceMobile":"Celular (375px)","sandbox.preview.deviceTablet":"Tablet (768px)","sandbox.preview.enterToGo":"Enter para ir","sandbox.preview.failedToCreatePage":"Falha ao criar página","sandbox.preview.globalBadge":"Global","sandbox.preview.globalComponents":"Componentes globais","sandbox.preview.globalLoaders":"Loaders globais","sandbox.preview.loaderBadge":"Loader","sandbox.preview.loaderNoLongerExists":"Este loader não existe mais.","sandbox.preview.noPagesFound":"Nenhuma página encontrada neste site.","sandbox.preview.noSearchResults":"Nenhum resultado corresponde à sua pesquisa.","sandbox.preview.noServerRunning":"Nenhum servidor em execução","sandbox.preview.openInNewTab":"Abrir em nova aba","sandbox.preview.pageAlreadyExists":'Uma página com o caminho "{path}" já existe.',"sandbox.preview.pageCreated":'Página "{name}" criada',"sandbox.preview.blockOnNoPage":"Este bloco não é usado em nenhuma página, então não há o que visualizar.","sandbox.preview.previewMetadataNotReady":"Metadados de visualização não estão prontos ainda","sandbox.preview.searchPagesAndComponents":"Procurar páginas e componentes...","sandbox.preview.startingPreview":"Iniciando seu preview","sandbox.preview.startingPreviewHint":"Mostrando seu site publicado. Você já pode fazer alterações — elas aparecem quando o preview estiver pronto.","sandbox.preview.templateNoLongerExists":"O modelo selecionado não existe mais.","sandbox.preview.valueForParam":"Valor de {label}","sandbox.preview.blocksEditor":"Editor de blocos","sandbox.preview.visualEditor":"Editor visual","sandbox.productBlocks.addProductIdButton":"Adicionar ID do produto","sandbox.productBlocks.addProductsButton":"Adicionar produtos","sandbox.productBlocks.addProductsDescription":"Pesquise produtos VTEX ou escolha uma categoria ou cluster","sandbox.productBlocks.browseProductsButton":"Procurar produtos","sandbox.productBlocks.changeButton":"Alterar","sandbox.productBlocks.chooseProductButton":"Escolher um produto","sandbox.productBlocks.ctaLabelField":"Rótulo de CTA","sandbox.productBlocks.ctaLabelPlaceholder":"Ver produto","sandbox.productBlocks.dragToReorderLabel":"Arraste para reordenar","sandbox.productBlocks.headingH1":"H1","sandbox.productBlocks.headingH2":"H2","sandbox.productBlocks.headingH3":"H3","sandbox.productBlocks.headingNormal":"Normal","sandbox.productBlocks.idLabel":"ID {id}","sandbox.productBlocks.loadingEllipsis":"Carregando…","sandbox.productBlocks.productCardLabel":"Cartão de produto","sandbox.productBlocks.productField":"Produto","sandbox.productBlocks.productPlural":"produtos","sandbox.productBlocks.productSingular":"produto","sandbox.productBlocks.productSlugField":"Slug do produto","sandbox.productBlocks.productSlugPlaceholder":"slug-do-produto","sandbox.productBlocks.productWithId":"Produto {id}","sandbox.productBlocks.removeProductButton":"Remover produto","sandbox.productBlocks.removeProductIdButton":"Remover ID do produto","sandbox.productBlocks.removeProductLabel":"Remover produto","sandbox.productBlocks.shelfTitlePlaceholder":"Título da prateleira","sandbox.productBlocks.skuIdPlaceholder":"151331","sandbox.productBlocks.startDevServerDescription":"Inicie o servidor de desenvolvimento para procurar produtos ou adicione IDs de SKU abaixo.","sandbox.productBlocks.vtexProductIdPlaceholder":"ID de produto VTEX (ex. 151331)","sandbox.productBlocks.vtexProductIds":"IDs de produtos VTEX","sandbox.productPickerDialog.addProducts":"Adicionar produtos","sandbox.productPickerDialog.categoryLabel":"Categoria: ","sandbox.productPickerDialog.change":" — alterar","sandbox.productPickerDialog.chooseProduct":"Escolher um produto","sandbox.productPickerDialog.clusterIdPlaceholder":"ID da coleção / cluster (ex.: 2140)","sandbox.productPickerDialog.couldNotLoad":"Não foi possível carregar — o servidor de desenvolvimento está em execução?","sandbox.productPickerDialog.done":"Concluído","sandbox.productPickerDialog.enterClusterPrompt":"Digite um ID de coleção ou cluster.","sandbox.productPickerDialog.filterCategoriesPlaceholder":"Filtrar categorias…","sandbox.productPickerDialog.loadingCategories":"Carregando categorias…","sandbox.productPickerDialog.loadingProducts":"Carregando produtos…","sandbox.productPickerDialog.modeCategory":"Categoria","sandbox.productPickerDialog.modeClusterId":"ID do cluster","sandbox.productPickerDialog.modeSearch":"Busca","sandbox.productPickerDialog.noCategories":"Nenhuma categoria.","sandbox.productPickerDialog.noProductsFound":"Nenhum produto encontrado.","sandbox.productPickerDialog.noneSelected":"Nenhum selecionado","sandbox.productPickerDialog.pickCategoryPrompt":"Escolha uma categoria para ver seus produtos.","sandbox.productPickerDialog.searchProductsPlaceholder":"Buscar produtos por nome ou ID…","sandbox.productPickerDialog.selectedCount":"{count} selecionado(s)","sandbox.recordEditor.fieldAvatar":"Avatar","sandbox.recordEditor.fieldCompany":"Empresa","sandbox.recordEditor.fieldEmail":"E-mail","sandbox.recordEditor.fieldJobTitle":"Cargo","sandbox.recordEditor.fieldName":"Nome","sandbox.recordEditor.fieldType":"Tipo","sandbox.recordEditor.fieldUrl":"Site","sandbox.recordEditor.optionOrganization":"Organização","sandbox.recordEditor.optionPerson":"Pessoa","sandbox.recordEditor.placeholderEmail":"autor@exemplo.com","sandbox.recordEditor.placeholderUrl":"https://exemplo.com","sandbox.recordEditor.titleAuthor":"Autor","sandbox.redirectFormDialog.title":"Criar redirecionamento","sandbox.redirectFormDialog.submit":"Criar","sandbox.redirectFormDialog.pending":"Criando…","sandbox.redirectFormDialog.cancel":"Cancelar","sandbox.redirectFormDialog.errorRequired":"De e Para são obrigatórios.","sandbox.redirectEditor.discardQueryParameters":"Descartar parâmetros de consulta","sandbox.redirectEditor.fromDescription":"O caminho de origem a corresponder. Suporta sintaxe URLPattern (ex. /produto/:slug).","sandbox.redirectEditor.fromLabel":"De","sandbox.redirectEditor.fromPlaceholder":"/caminho-antigo","sandbox.redirectEditor.statusDescription":"Um código de status explícito prevalece sobre o tipo.","sandbox.redirectEditor.statusFromType":"Seguir o tipo ({status})","sandbox.redirectEditor.statusLabel":"Código de status","sandbox.redirectEditor.title":"Redirecionamento","sandbox.redirectEditor.toDescription":"O destino — um caminho relativo ou uma URL absoluta.","sandbox.redirectEditor.toLabel":"Para","sandbox.redirectEditor.toPlaceholder":"/caminho-novo","sandbox.redirectEditor.typeLabel":"Tipo","sandbox.redirectEditor.typePermanent":"Permanente ({status})","sandbox.redirectEditor.typePlaceholder":"Tipo","sandbox.redirectEditor.typeTemporary":"Temporário ({status})","sandbox.cmsSettings.title":"CMS","sandbox.cmsSettings.preview.title":"Preview","sandbox.cmsSettings.preview.description":"Veja suas alterações antes de publicá-las.","sandbox.cmsSettings.fastPreview.label":"Preview Rápido","sandbox.cmsSettings.fastPreview.description":"Novos chats começam como sessões de CMS, pré-visualizadas no seu servidor de preview em vez de um sandbox. Chats existentes mantêm o modo com que foram criados.","sandbox.cmsSettings.fastPreview.needsPreviewServerUrl":"Defina um servidor de preview acima para ativar o Preview Rápido.","sandbox.cmsSettings.blocksV8.needsPreviewServerUrl":"Adicione o endereço do seu site acima para visualizar rascunhos. Até lá, novos chats começam uma sessão de código.","sandbox.cmsSettings.fastPreviewInPlace.label":"Preview instantâneo (experimental)","sandbox.cmsSettings.fastPreviewInPlace.description":"Atualiza as edições no lugar, sem esperar o salvamento — bem mais rápido, mas só funciona em sites que têm a rota /live/previews.","sandbox.cmsSettings.contentEditing.on":"Ativado","sandbox.cmsSettings.contentEditing.onDescription":"O Editor do Site oferece Conteúdo e abre Blocos ao lado do Preview no desktop.","sandbox.cmsUnavailable.noPreviewServer":"É uma sessão de CMS, mas este projeto não tem servidor de preview configurado.","sandbox.cmsUnavailable.noRepo":"É uma sessão de CMS, mas este projeto não tem repositório do GitHub para salvar.","sandbox.cmsUnavailable.startCodingSession":"Continuar esta branch em uma sessão de código","sandbox.previewServerUrlField.description":"O endereço do seu servidor ativo, usado para pré-visualizar conteúdo. Necessário para o Preview Rápido.","sandbox.previewServerUrlField.descriptionBlocksV8":"O endereço do seu site no ar. O Studio mostra seus rascunhos nele antes de você publicar.","sandbox.previewServerUrlField.label":"Servidor de preview","sandbox.previewServerUrlField.placeholder":"https://exemplo.com","sandbox.fieldDescriptionTooltipsField.label":"Descrições compactas","sandbox.fieldDescriptionTooltipsField.description":"No formulário de blocos, exibe a descrição do campo como um tooltip ao passar o mouse sobre o título, em vez de texto abaixo do título.","sandbox.repoRow.label":"Repositório","sandbox.repoRow.noRepositoryConnected":"Nenhum repositório conectado","sandbox.repoRow.tooltipContent":"O repositório GitHub conectado para este projeto. Gerencie em Conexões.","sandbox.runnableBlockEditor.availableModeDescription":"{typeLabel} — edições permanecem locais até que você salve como um {singular} global. Execute para invocar contra a visualização em tempo real.","sandbox.runnableBlockEditor.closeJsonEditor":"Fechar editor JSON","sandbox.runnableBlockEditor.closeResult":"Fechar resultado","sandbox.runnableBlockEditor.collapse":"Recolher","sandbox.runnableBlockEditor.collapseResult":"Recolher resultado","sandbox.runnableBlockEditor.editAsJson":"Editar como JSON","sandbox.runnableBlockEditor.expand":"Expandir","sandbox.runnableBlockEditor.expandResult":"Expandir resultado","sandbox.runnableBlockEditor.failedToRun":"Falha ao executar {singular}","sandbox.runnableBlockEditor.freeformPropsEmptyState":"Este {singular} não publica um esquema de props. Edite suas props como JSON e execute.","sandbox.runnableBlockEditor.inferredSchemaNotice":"Este {singular} não publica um esquema de props — os campos abaixo são inferidos de seus valores salvos. Use o editor JSON para adicionar props não mostrados aqui.","sandbox.runnableBlockEditor.invalidJsonError":"JSON inválido — mudanças não são salvas até que seja analisado.","sandbox.runnableBlockEditor.noInputEmptyState":"Este {singular} não aceita entrada configurável. Execute para ver seu resultado.","sandbox.runnableBlockEditor.openInNewTabTooltip":"Abrir em nova aba (executa novamente o {singular})","sandbox.runnableBlockEditor.openResultInNewTabAriaLabel":"Abrir resultado em nova aba","sandbox.runnableBlockEditor.pressRunToInvoke":"Pressione Executar para invocar este {singular}.","sandbox.runnableBlockEditor.resultPanelTitle":"Resultado","sandbox.runnableBlockEditor.run":"Executar","sandbox.runnableBlockEditor.runAriaLabel":"Executar {singular}","sandbox.runnableBlockEditor.running":"Executando {singular}…","sandbox.runnableBlockEditor.saveAsGlobal":"Salvar como {singular} global","sandbox.runnableBlockEditor.saveAsGlobalAriaLabel":"Salvar como {singular} global","sandbox.runnableBlockEditor.savedModeDescription":"{singular} global — mudanças são salvas automaticamente. Execute para invocar contra a visualização em tempo real.","sandbox.runnableBlocksBrowser.emptyFolder":"Esta pasta está vazia.","sandbox.runnableBlocksBrowser.emptyFolderNoManifest":"Inicie o servidor de desenvolvimento de pré-visualização para que o manifest seja carregado.","sandbox.runnableBlocksBrowser.emptyFolderTitle":"Nenhum {kind} aqui","sandbox.runnableBlocksBrowser.folderBreadcrumb":"Navegação de pastas","sandbox.runnableBlocksBrowser.hideSaved":"Ocultar salvos","sandbox.runnableBlocksBrowser.noSearchResults":'Nenhum {kind} corresponde a "{query}"',"sandbox.runnableBlocksBrowser.noSearchResultsDescription":"A pesquisa abrange todas as pastas — tente um termo diferente.","sandbox.runnableBlocksBrowser.savedBlockToast":'{singular} "{blockId}" salvo(a)',"sandbox.runnableBlocksBrowser.savedCountLabel":"{count} salvo(s)","sandbox.runnableBlocksBrowser.searchAriaLabel":"Pesquisar todos os {kind}","sandbox.runnableBlocksBrowser.searchPlaceholder":"Pesquisar todos os {kind}…","sandbox.runnableBlocksBrowser.seeSaved":"Ver salvos","sandbox.runtimeFields.auto":"Automático","sandbox.runtimeFields.autoDetect":"Auto-detectar","sandbox.runtimeFields.devServerPort":"Porta do servidor de desenvolvimento","sandbox.runtimeFields.devServerPortDescription":"Deixe em branco para deixar o executor escolher.","sandbox.runtimeFields.packageManager":"Gerenciador de pacotes","sandbox.runtimeFields.packagePath":"Caminho do pacote","sandbox.runtimeFields.packagePathDescription":"Caminho (relativo à raiz do repositório) do diretório que contém package.json. Deixe em branco para a raiz do repositório.","sandbox.savedSectionEditor.closeJsonEditor":"Fechar editor JSON","sandbox.saveStatus.failed":"Não foi possível salvar","sandbox.saveStatus.saved":"Salvo","sandbox.saveStatus.saving":"Salvando…","sandbox.savedSectionEditor.editAsJson":"Editar como JSON","sandbox.savedSectionEditor.globalSectionDescription":"Seção global — alterações são salvas automaticamente e aplicadas em todos os locais onde é usada.","sandbox.savedSectionEditor.invalidJsonError":"JSON inválido — as alterações não serão salvas até que seja processado.","sandbox.savedSectionEditor.noEditableFields":"Nenhum campo editável para esta seção.","sandbox.schemaless.back":"Todos os blocos","sandbox.schemaless.bannerBody":"Até lá, cada bloco abre com campos simples criados a partir dos valores salvos, e salvar mantém todos os outros valores como estão. Gere o schema na pasta do seu site; esta página o detecta sozinha.","sandbox.schemaless.bannerTitle":"Os formulários ganham os campos certos assim que o schema existir","sandbox.schemaless.docsLink":"Sobre o deco schema","sandbox.schemaless.empty":"Vazio","sandbox.schemaless.item":"Item {n}","sandbox.schemaless.itemCount":"{count} itens","sandbox.schemaless.listLabel":"Blocos salvos","sandbox.schemaless.noBlocks":"Nenhum bloco salvo ainda.","sandbox.schemaless.noMatches":"Nenhum bloco corresponde à busca.","sandbox.schemaless.noType":"Sem tipo","sandbox.schemaless.notANumber":"Digite um número. O valor salvo continua até você digitar.","sandbox.schemaless.notSet":"Sem valor","sandbox.schemaless.pickBlock":"Escolha um bloco para ver o conteúdo.","sandbox.schemaless.searchPlaceholder":"Buscar blocos","sandbox.sectionRenameDialog.cancel":"Cancelar","sandbox.sectionRenameDialog.description":"Atualiza o nome de exibição. A chave interna permanece a mesma para que as páginas que referem esta seção continuem funcionando.","sandbox.sectionRenameDialog.keyLabel":"Chave","sandbox.sectionRenameDialog.nameLabel":"Nome","sandbox.sectionRenameDialog.save":"Salvar","sandbox.sectionRenameDialog.saving":"Salvando…","sandbox.sectionRenameDialog.title":"Renomear seção","sandbox.sectionsRightPane.selectSectionDescription":"Escolha uma seção salva para editar, ou uma disponível para personalizar e salvar como global.","sandbox.sectionsRightPane.selectSectionTitle":"Selecione uma seção para editar","sandbox.stateCard.erroredHeadline":"Não foi possível iniciar o sandbox","sandbox.stateCard.githubConnectionMissingMessage":"A conexão do GitHub usada neste chat foi removida. Vincule o repositório novamente para iniciar o sandbox.","sandbox.stateCard.linkRepoAgain":"Vincular repositório","sandbox.stateCard.githubNotAuthenticatedMessage":"O repositório GitHub deste projeto não está autenticado. Reconecte em Conexões e tente novamente.","sandbox.stateCard.reconnectGithub":"Reconectar GitHub","sandbox.stateCard.resume":"Retomar","sandbox.stateCard.resumeToContinue":"Retome para continuar.","sandbox.stateCard.retry":"Tentar Novamente","sandbox.stateCard.suspendedHeadline":"O sandbox está pausado","sandbox.tableBlock.addColumn":"Adicionar coluna","sandbox.tableBlock.addRow":"Adicionar linha","sandbox.tableBlock.headerPlaceholder":"Cabeçalho {n}","sandbox.tableBlock.noRowsYet":"Nenhuma linha ainda — adicione uma abaixo.","sandbox.tableBlock.removeColumn":"Remover coluna {n}","sandbox.tableBlock.removeRow":"Remover linha {n}","sandbox.toolbar.closeTab":"Fechar {tab}","sandbox.toolbar.moreActions":"Mais ações","sandbox.toolbar.noScriptsFound":"Nenhum script encontrado","sandbox.toolbar.restart":"Reiniciar","sandbox.toolbar.resume":"Retomar","sandbox.toolbar.retry":"Tentar Novamente","sandbox.toolbar.run":"Executar","sandbox.toolbar.runAScript":"executar um script","sandbox.toolbar.runScript":"Executar script","sandbox.toolbar.setupTab":"sandbox","sandbox.toolbar.start":"Iniciar","sandbox.toolbar.startProcess":"Iniciar processo","sandbox.toolbar.stop":"Parar","sandbox.toolbar.stopProcess":"Parar processo","sandbox.toolbar.stopSandboxTooltip":"Parar sandbox","sandbox.toolbar.stopping":"Parando…","sandbox.variantCalendar.always":"Sempre","sandbox.variantCalendar.calendarMode":"Calendário","sandbox.variantCalendar.dateMatcherInfo":"Variantes condicionadas a um critério de data aparecem aqui.","sandbox.variantCalendar.hiddenOngoingVariants":'{count} variante(s) em andamento oculta(s) — ative "Mostrar em andamento" para visualizar.',"sandbox.variantCalendar.next":"Próximo","sandbox.variantCalendar.noDatedVariants":"Nenhuma variante com data à vista.","sandbox.variantCalendar.noScheduledVariants":"Nenhuma variante agendada.","sandbox.variantCalendar.ongoing":"Em andamento","sandbox.variantCalendar.previous":"Anterior","sandbox.variantCalendar.showOngoing":"Mostrar em andamento ({count})","sandbox.variantCalendar.timelineMode":"Linha do tempo","sandbox.variantCalendar.today":"Hoje","sandbox.variantCalendar.todayLabel":"Hoje","sandbox.variantCalendar.variantBlock":"Variante / Bloco","sandbox.visualEditorPrompt.inputPlaceholder":"Pergunte à IA...","sandbox.visualEditorPrompt.sendButton":"Enviar"},nX={"settings.voice.title":"Modo voz","settings.voice.description":"Permite conversar por voz com os agentes nos chats. Requer a configuração da ElevenLabs nesta instalação do Studio.","settings.title":"Perfil e preferências","settings.nav.organization":"Organização","settings.nav.build":"Construir","settings.nav.manage":"Gerenciar","settings.nav.general":"Geral","settings.nav.connect":"Conectar","settings.nav.aiProviders":"Provedores de IA","settings.nav.secrets":"Segredos","settings.nav.billing":"Cobrança e IA","settings.nav.buckets":"Buckets","settings.nav.syncedRepos":"Repos sincronizados","settings.nav.repositories":"Repositórios","settings.nav.storage":"Armazenamento","settings.nav.advanced":"Avançado","settings.subnav.ariaLabel":"Seções de configurações","settings.subnav.infrastructure":"Infraestrutura","settings.nav.tasks":"Quadro","settings.jira.sectionTitle":"Integração com o Jira","settings.jira.connectTitle":"Conectar Jira","settings.jira.connectDescription":"Use um site do Jira Cloud e um API token, de preferência de uma conta de serviço com acesso ao projeto.","settings.jira.siteLabel":"Site do Jira","settings.jira.sitePlaceholder":"suaempresa.atlassian.net","settings.jira.emailLabel":"E-mail da conta Atlassian","settings.jira.emailPlaceholder":"voce@empresa.com","settings.jira.tokenLabel":"API token","settings.jira.tokenPlaceholder":"Cole seu token","settings.jira.connect":"Conectar","settings.jira.connecting":"Conectando…","settings.jira.connected":"Jira conectado","settings.jira.connectFailed":"Não foi possível conectar ao Jira","settings.jira.disconnect":"Desconectar","settings.jira.disconnected":"Jira desconectado","settings.jira.disconnectTitle":"Desconectar o Jira?","settings.jira.disconnectDescription":"A sincronização para e as credenciais são apagadas. Os cards que já estão no quadro são mantidos — só deixam de atualizar.","settings.jira.cancel":"Cancelar","settings.jira.boardLabel":"Board do Jira","settings.jira.boardDescription":"O board que o Studio acompanha — um card entrando em uma de suas colunas é o que dispara a integração.","settings.jira.boardPlaceholder":"Selecione um board","settings.jira.boardSearchPlaceholder":"Buscar boards…","settings.jira.noBoardsMatch":"Nenhum board corresponde à busca","settings.jira.loadingBoards":"Carregando boards…","settings.jira.enabledLabel":"Integração ativa","settings.jira.enabledDescription":"Enquanto desativada, os cards que se movem no board são ignorados.","settings.jira.enableRequirements":"Escolha um board antes de ativar a integração","settings.jira.saveFailed":"Não foi possível salvar as configurações do Jira","settings.jira.createTokenLink":"Criar um API token","settings.jira.webhookTitle":"Atualizações instantâneas (webhook)","settings.jira.webhookDescription":"Opcional. Sem ele, uma issue que entra num status automatizado é detectada na próxima verificação de 5 minutos; com ele, a run começa quando o card fica 20 segundos parado.","settings.jira.webhookCopy":"Copiar","settings.jira.webhookCopied":"URL do webhook copiada","settings.jira.webhookStep1":"No Jira, abra Settings (ícone de engrenagem) → System → Webhooks. Requer um admin do Jira.","settings.jira.webhookStep2":"Clique em “Create a webhook” e cole a URL acima.","settings.jira.webhookStep3":"Em Events, marque Issue: created e Issue: updated.","settings.jira.webhookStep4":"Opcionalmente restrinja com um filtro JQL, ex.: project = <chave do projeto>.","settings.jira.webhookStep5":"Salve. Uma issue que entra num status automatizado passa a iniciar sua run depois de ficar 20 segundos nele.","settings.jira.automationsLabel":"Rodar o agente quando uma issue entrar em…","settings.jira.automationsDescription":"As automações que rodam quando uma issue entra num destes status e fica nele por 20 segundos. Abra uma para mudar o prompt, ou dê a qualquer automação um gatilho “Quando uma issue do Jira entra num status”. Um card arrastado por um status, ou para o errado e de volta, não inicia nada. Uma issue que tem um pull request aberto linkado continua nele. O agente lê a issue e a atualiza no Jira; nada é copiado para o quadro.","settings.jira.toggleAutomation":"Ligar ou desligar {name}","settings.jira.addAutomation":"Adicionar automação","settings.jira.fromAny":"Vindo de qualquer coluna","settings.jira.fromEarlier":"Vindo de uma coluna anterior","settings.jira.fromLater":"Vindo de uma coluna posterior (devolvido)","settings.jira.fromStatuses":"Vindo de {statuses}","settings.jira.originLabel":"Quando o card vem de","settings.jira.originStatusesPlaceholder":"Escolha os status","settings.jira.originHelp":"Um movimento inicia uma regra só: a que nomeia de onde o card veio, senão a da direção dele no board, senão a de qualquer coluna. De onde ele veio é o último status em que ficou parado, não um pelo qual foi arrastado.","settings.jira.createRule":"Criar automação","settings.jira.cancelRule":"Cancelar","settings.jira.noColumnsYet":"Este board ainda não tem colunas","settings.jira.columnsFailed":"Não foi possível carregar as colunas do board","settings.jira.testRunLabel":"Rodar na mão","settings.jira.testRunDescription":"Rode uma das automações acima em uma issue ou num lote agora, sem habilitar a integração — assim você vê o que o prompt dela faz antes que ele rode em toda issue que entra em um status.","settings.jira.issueKeysPlaceholder":"ABC-123, ou um link — um por linha, ou separados por vírgula","settings.jira.issueKeysCount":"{count} issue(s)","settings.jira.issueKeysUnreadable":"não consegui ler: {items}","settings.jira.testRunIssueAriaLabel":"Chave ou link da issue do Jira","settings.jira.testRun":"Rodar agente {count}","settings.jira.testRunRunning":"Iniciando…","settings.jira.testRunStarted":"Iniciado em","settings.jira.testRunFailed":"Não foi possível iniciar o run","settings.jira.testRunHelp":"Este é um run de verdade: o agente lê a issue real, comenta nela e pode movê-la. Rodar de novo interrompe o run que ainda estiver trabalhando nessa issue, e uma issue com um pull request aberto linkado continua nele.","settings.jira.testRunAutomation":"Automação a rodar","settings.jira.testRunNoAutomations":"Adicione uma automação acima primeiro: rodar à mão dispara uma delas.","settings.jira.together":"Um run só pra todas — o agente vê todas as issues e trabalha nelas como um lote, em vez de um run por issue","settings.jira.togetherStarted":"Iniciado um run em","settings.jira.testRunWatch":"Ver os runs no Monitor","settings.syncedRepos.pageDescription":"Repositórios Git espelhados em pastas somente leitura da biblioteca, sincronizados a cada poucos minutos. Ótimo para um repo de skills compartilhado.","settings.syncedRepos.addRepo":"Adicionar repo","settings.syncedRepos.cancel":"Cancelar","settings.syncedRepos.create":"Criar","settings.syncedRepos.creating":"Criando…","settings.syncedRepos.created":'Sincronização criada — sincronizando em "{volume}" em segundo plano',"settings.syncedRepos.emptyTitle":"Nenhum repo sincronizado ainda","settings.syncedRepos.emptyDescription":"Escolha um repositório e ele aparecerá na biblioteca como uma pasta somente leitura, sincronizada automaticamente.","settings.syncedRepos.failed":"Algo deu errado","settings.syncedRepos.nameDialogDescription":"{repo} será mantido em sincronia nesta pasta somente leitura da biblioteca.","settings.syncedRepos.nameDialogTitle":"Nomeie a pasta sincronizada","settings.syncedRepos.namePlaceholder":"nome-da-pasta","settings.syncedRepos.pickerTitle":"Sincronizar um repo na biblioteca","settings.syncedRepos.remove":"Parar de sincronizar","settings.syncedRepos.removeDescription":"Os arquivos já sincronizados continuam na biblioteca; só a sincronização para. Você pode apagar a pasta depois, se não precisar dela.","settings.syncedRepos.removeTitle":'Parar de sincronizar "{volume}"?',"settings.syncedRepos.removed":"Sincronização removida","settings.syncedRepos.rowSubtitle":"Pasta da biblioteca: {volume}","settings.repositories.accountsTitle":"Contas conectadas","settings.repositories.accountsEmptyTitle":"Nenhuma conta conectada","settings.repositories.accountsEmptyDescription":"Conecte uma conta do GitHub, GitLab ou Bitbucket para navegar pelos seus repositórios e vincular os privados.","settings.repositories.noProvidersTitle":"Nenhum provedor git configurado","settings.repositories.noProvidersDescription":"Entrar com GitHub, GitLab ou Bitbucket depende de credenciais do provedor que um administrador configura nesta instalação. Você ainda pode conectar uma conta do GitLab ou do Bitbucket com um token de acesso.","settings.repositories.githubUnavailable":"Peça a um administrador para habilitar o GitHub.","settings.repositories.connectGithubCli":"Conectar com GitHub CLI","settings.repositories.githubCliHint":"Use seu login local do gh para buscar e importar repositórios.","settings.repositories.authKindGithubCli":"GitHub CLI","settings.repositories.addGithubAccount":"Adicionar conta ou organização do GitHub","settings.repositories.githubSelectTitle":"Selecionar repositórios","settings.repositories.githubSelectedShareHint":"Membros com permissão de repositórios em {organization} poderão usar os repositórios que você autorizar aqui.","settings.repositories.githubPreselectedHint":"Os repositórios já autorizados ou vinculados estão selecionados quando você tem permissão para autorizá-los. Revise a seleção antes de salvar.","settings.repositories.githubReplaceHint":"Salvar substitui o acesso atual desta conta no workspace pela sua seleção. Repositórios removidos deixam de receber novas credenciais. Credenciais já emitidas podem funcionar até expirarem.","settings.repositories.githubFilterRepos":"Buscar repositórios","settings.repositories.githubNoRepos":"Nenhum repositório disponível para autorizar.","settings.repositories.githubSearchNoMatches":"Nenhum repositório corresponde à sua busca.","settings.repositories.githubAccessChanged":"Alguém alterou o acesso desta conta. Volte e revise os repositórios antes de salvar.","settings.repositories.githubMoreRepos":"Carregar mais repositórios","settings.repositories.githubBack":"Voltar às contas","settings.repositories.githubSaveOneRepo":"Autorizar 1 repositório","settings.repositories.githubSaveRepos":"Autorizar {count} repositórios","settings.repositories.githubEditWorkspaceAccess":"Alterar acesso do workspace","settings.repositories.githubShareHint":"Escolha sua conta pessoal do GitHub, ou uma organização onde você administra repositórios, para compartilhar com {organization}. Membros com permissão para repositórios no Studio podem usar esta conexão.","settings.repositories.githubInstallHint":"Ainda não há nada seu para compartilhar. Instale o app do GitHub na sua conta pessoal ou nos repositórios que você administra, ou peça ao dono da conta para conectá-la ao Studio. Um repositório em que você só colabora não é seu para compartilhar.","settings.repositories.installGithubAccount":"Instalar em outra conta","settings.repositories.checkGithubAccess":"Verificar acesso","settings.repositories.switchGithubUser":"Usar outro login do GitHub","settings.repositories.githubReturnHint":"O GitHub abre em uma nova aba. Depois de salvar o acesso, volte aqui para escolher a conta. Se ela não aparecer, use Verificar acesso.","settings.repositories.githubRefreshFailed":"Não foi possível verificar o acesso no GitHub. Tente novamente sem sair desta janela.","settings.repositories.githubConnected":"Conta do GitHub conectada","settings.repositories.manageRepositoryAccess":"Gerenciar acesso aos repositórios","settings.repositories.connectedBy":"Conectado por {name}","settings.repositories.connectedByUnknown":"Conectado por um usuário indisponível","settings.repositories.dismiss":"Dispensar","settings.repositories.tryAgain":"Tentar novamente","settings.repositories.oauthNoInstallations":"A autorização no GitHub foi concluída, mas nenhuma instalação do app está disponível para este usuário. Adicione uma conta ou organização do GitHub para concluir a configuração.","settings.repositories.oauthDenied":"A autorização foi cancelada. Conecte novamente quando quiser.","settings.repositories.oauthExpired":"Esta tentativa de conexão expirou ou pertence a outra sessão. Comece novamente por esta página.","settings.repositories.oauthNotConfigured":"Este provedor git não está configurado. Peça a um administrador para habilitá-lo.","settings.repositories.oauthFailed":"Não foi possível conectar sua conta git. Tente novamente. Se o erro persistir, entre em contato com um administrador.","settings.repositories.authKindGithubApp":"GitHub App","settings.repositories.authKindOauth":"OAuth","settings.repositories.authKindToken":"Token pessoal","settings.repositories.accessUnavailable":"Acesso indisponível","settings.repositories.accessUnavailableHint":"O Studio não consegue acessar esta conta. Autorize-a novamente para continuar usando seus repositórios.","settings.repositories.githubReconnect":"Reconectar GitHub","settings.repositories.authorizeWorkspaceAccess":"Autorizar acesso do workspace","settings.repositories.selectRepositories":"Selecionar repositórios","settings.repositories.authorizationRequired":"Falta autorizar este workspace","settings.repositories.authorizationRequiredHint":"O Studio tem uma instalação do GitHub App registrada para {login}, mas este workspace ainda não tem autorização para usá-la. Entre no GitHub e escolha os repositórios que quer compartilhar com este workspace.","settings.repositories.accessRevoked":"Acesso revogado","settings.repositories.accessRevokedHint":"O acesso a esta conta foi revogado. Autorize-a novamente para restaurar o acesso aos repositórios.","settings.repositories.noAuthorizedRepositories":"Nenhum repositório autorizado","settings.repositories.noAuthorizedRepositoriesHint":"Este workspace não tem repositórios autorizados por {login}. Selecione quais repositórios ele pode usar.","settings.repositories.providerUnavailable":"Provedor indisponível","settings.repositories.providerUnavailableHint":"Esta instalação não está configurada para acessar esta conta. Peça a um administrador para habilitar o provedor.","settings.repositories.installationMissing":"Conexão com o GitHub incompleta","settings.repositories.installationMissingHint":"O Studio não tem uma instalação do GitHub App vinculada a esta conta. Conecte o GitHub e selecione a instalação de {login}.","settings.repositories.githubReconnectUnavailable":"A reconexão com o GitHub não está disponível nesta instalação. Peça a um administrador para configurar o GitHub App e depois autorize o acesso do workspace.","settings.repositories.disconnect":"Desconectar","settings.repositories.disconnectTitle":'Desconectar "{login}"?',"settings.repositories.disconnectDescription":"Os repositórios vinculados por esta conta continuam na lista, mas viram clones públicos anônimos — os privados deixarão de funcionar.","settings.repositories.disconnected":"Conta desconectada","settings.repositories.tokenDialogTitle":"Conectar o GitLab com um token","settings.repositories.tokenDialogDescription":"Use um token de acesso pessoal, de projeto ou de grupo com o escopo api — os agentes usam ele para dar push e abrir merge requests. É guardado criptografado e não é exibido novamente.","settings.repositories.tokenDialogTitleBitbucket":"Conectar o Bitbucket com um token","settings.repositories.tokenDialogDescriptionBitbucket":"Use um token de acesso de workspace, de projeto ou de repositório com permissão de escrita em repositórios e pull requests — os agentes usam ele para dar push e abrir pull requests. Somente Bitbucket Cloud. É guardado criptografado e não é exibido novamente.","settings.repositories.addAccount":"Adicionar conta","settings.repositories.addAccountTitle":"Conectar uma conta git","settings.repositories.addAccountDescription":"Escolha onde seus repositórios ficam.","settings.repositories.chooseMethodDescription":"Escolha como o Studio deve se conectar a este provedor.","settings.repositories.back":"Voltar","settings.repositories.providerGithub":"GitHub","settings.repositories.providerGitlab":"GitLab","settings.repositories.providerBitbucket":"Bitbucket","settings.repositories.providerGithubHint":"Instale o app do Studio e escolha os repositórios a compartilhar.","settings.repositories.providerTokenOrOauthHint":"Conecte com um token de acesso, ou autorize via OAuth.","settings.repositories.providerTokenOnlyHint":"Conecte com um token de acesso.","settings.repositories.methodToken":"Usar um token de acesso","settings.repositories.methodTokenHint":"O provedor limita o token aos repositórios para os quais você o criou.","settings.repositories.methodOauth":"Autorizar via OAuth","settings.repositories.methodOauthHint":"Entre e autorize o Studio no seu navegador.","settings.repositories.methodOauthScopeNote":"Alcança todos os repositórios que esta conta enxerga; não dá para restringir a um subconjunto.","settings.repositories.methodApp":"Instalar o app do GitHub","settings.repositories.methodAppHint":"Escolha exatamente quais repositórios o Studio pode usar.","settings.repositories.tokenStepsTitle":"Como criar o token","settings.repositories.openProvider":"Abrir provedor","settings.repositories.tokenWorkspaceLabel":"Workspace","settings.repositories.tokenWorkspacePlaceholder":"sua-workspace","settings.repositories.tokenWorkspaceHint":"O slug na URL do Bitbucket. Um token de acesso não consegue dizer a que workspace pertence, então o Studio o verifica contra esta.","settings.repositories.tokenProjectLabel":"Caminho do projeto (opcional)","settings.repositories.tokenProjectPlaceholder":"grupo/projeto","settings.repositories.tokenProjectHint":"Preencha para ir direto à página de tokens desse projeto.","settings.repositories.bitbucketStep1":"Abra o repositório que o Studio deve alcançar, ou o projeto que os agrupa.","settings.repositories.bitbucketStep2":"Settings → Security → Access tokens → Create token.","settings.repositories.bitbucketStep3":"Conceda Repositories read e write, e Pull requests read e write.","settings.repositories.bitbucketStep4":"Cole o token abaixo. O Bitbucket o mantém restrito ao escopo que você deu.","settings.repositories.gitlabStep1":"Abra o projeto ou grupo que o Studio deve alcançar.","settings.repositories.gitlabStep2":"Settings → Access tokens → Add new token.","settings.repositories.gitlabStep3":"Papel: Developer ou acima. Escopo: api.","settings.repositories.gitlabStep4":"Cole o token abaixo. Um token de projeto só alcança aquele projeto.","settings.repositories.tokenHostLabel":"Host","settings.repositories.tokenHostPlaceholder":"gitlab.com","settings.repositories.tokenLabel":"Token de acesso","settings.repositories.tokenPlaceholder":"glpat-…","settings.repositories.tokenPlaceholderBitbucket":"ATCTT…","settings.repositories.connect":"Conectar","settings.repositories.connecting":"Conectando…","settings.repositories.connected":'Conectado como "{login}"',"settings.repositories.reposTitle":"Repositórios","settings.repositories.reposEmptyTitle":"Nenhum repositório ainda","settings.repositories.reposEmptyDescription":"Escolha um repositório de uma conta conectada do GitHub, GitLab ou Bitbucket.","settings.repositories.addRepository":"Adicionar repositório","settings.repositories.moreActions":"Mais ações","settings.repositories.repoAccountNeedsAttention":"Conectado por {login}, que precisa de atenção em Contas conectadas.","settings.repositories.unlink":"Desvincular","settings.repositories.unlinkTitle":'Desvincular "{path}"?',"settings.repositories.unlinkDescription":"O repositório é removido desta organização. Nada é apagado no provedor.","settings.repositories.unlinked":"Repositório desvinculado","settings.repositories.openInProvider":"Abrir repositório","settings.repositories.visibilityPublic":"Público","settings.repositories.visibilityPrivate":"Privado","settings.repositories.visibilityInternal":"Interno","settings.repositories.anonymousClone":"Clone anônimo","settings.repositories.sandboxImageLabel":"Imagem do sandbox","settings.repositories.sandboxImageDefault":"Imagem padrão","settings.repositories.sandboxImageAndroid":"Emulador Android","settings.repositories.sandboxImageError":"Não foi possível alterar a imagem do sandbox","settings.repositories.addDialogTitle":"Adicionar repositório","settings.repositories.cancel":"Cancelar","settings.repositories.failed":"Algo deu errado","settings.nav.connections":"Conexões","settings.nav.agents":"Projetos","settings.nav.automations":"Automações","settings.nav.skills":"Skills","settings.nav.memory":"Memória","settings.nav.monitor":"Monitoramento","settings.nav.members":"Membros","settings.nav.security":"Segurança","settings.nav.profile":"Perfil e preferências","settings.nav.backToHome":"Voltar para o início","settings.nav.signOut":"Sair","settings.profile.avatar":"Avatar","settings.profile.displayName":"Nome de exibição","settings.profile.displayNamePlaceholder":"Seu nome","settings.profile.email":"E-mail","settings.profile.avatarUpload":"Trocar sua foto","settings.profile.avatarDialogTitle":"Foto de perfil","settings.profile.avatarDialogDescription":"Arraste para reposicionar e role para dar zoom. Só a foto em uso fica visível para outras pessoas.","settings.profile.avatarDeleted":"Foto excluída","settings.profile.avatarRemove":"Remover","settings.profile.avatarRemoved":"Foto removida","settings.profile.avatarUpdated":"Foto atualizada","settings.profile.avatarUploadError":"Falha ao atualizar a foto","settings.profile.updateSuccess":"Perfil atualizado com sucesso","settings.profile.updateError":"Falha ao atualizar o perfil","settings.preferences.title":"Preferências","settings.blog.sectionTitle":"Blog","settings.blog.aiTitle":"Blog com IA","settings.blog.aiDescription":"Contexto da marca, campanhas e geração de posts. Sem isso, o blog é editado à mão.","settings.blogBlocks.title":"Esconder os blocos de blog padrão","settings.blogBlocks.description":"Só os blocos de post do próprio site ficam disponíveis ao escrever, gerar ou importar um post. Blocos já presentes em um post continuam sendo renderizados.","settings.blocksEditor.title":"Novo editor de blocos","settings.blocksEditor.description":"Vale para todos desta organização. O restante do Studio sempre usa o novo layout.","settings.preferences.projectFirstNav":"Navegação centrada em projetos","settings.preferences.projectFirstNavDescription":"Experimente o trilho de organizações, o launcher de projetos e a home Hoje/Agentes.","settings.preferences.theme":"Tema","settings.preferences.themeDescription":"Seu esquema de cores preferido.","settings.preferences.themeLight":"Tema claro","settings.preferences.themeDark":"Tema escuro","settings.preferences.themeSystem":"Tema do sistema","settings.preferences.language":"Idioma","settings.preferences.languageDescription":"O idioma da interface.","settings.preferences.notifications":"Notificações","settings.preferences.notificationsDescription":"Receba notificações do navegador para eventos importantes.","settings.preferences.notificationsDenied":"Notificações negadas. Habilite-as nas configurações do seu navegador.","settings.preferences.sounds":"Sons","settings.preferences.soundsDescription":"Reproduza sons para ações de agentes e notificações.","settings.preferences.soundsPreview":"Ouvir som de notificação","settings.preferences.toolApproval":"Aprovação de ferramentas","settings.preferences.toolApprovalDescription":"Controle como as ferramentas são aprovadas antes da execução.","settings.preferences.toolApprovalAsk":"Perguntar antes de editar","settings.preferences.toolApprovalAskShort":"Perguntar","settings.preferences.toolApprovalAskDescription":"Aprova automaticamente ferramentas somente leitura","settings.preferences.toolApprovalAuto":"Aprovar automaticamente","settings.preferences.toolApprovalAutoShort":"Auto","settings.preferences.toolApprovalAutoDescription":"Executa tudo sem aprovação","settings.automations.browseAgentsButton":"Procurar projetos","settings.automations.emptyDescription":"As automações são criadas por agente. Abra um agente e adicione uma na aba de Automações.","settings.automations.emptyTitle":"Nenhuma automação ainda","settings.automations.noResultsDescription":'Nenhuma automação corresponde a "{search}"',"settings.automations.noResultsTitle":"Nenhuma automação encontrada","settings.automations.pageTitle":"Automações","settings.automations.searchPlaceholder":"Pesquisar automações...","settings.skills.pageTitle":"Skills","settings.skills.importButton":"Importar skill","settings.skills.importing":"Importando…","settings.skills.importSuccess":'"{name}" importada',"settings.skills.importError":"Falha ao importar a skill","settings.skills.importMissingSkillMd":"Essa pasta não tem um SKILL.md na raiz. Selecione a pasta da própria skill.","settings.skills.importNeedsFolder":"Selecione uma pasta, não arquivos individuais — este navegador pode não suportar upload de pastas.","settings.skills.searchPlaceholder":"Pesquisar skills...","settings.skills.noDescription":"Sem descrição","settings.skills.filterAll":"Todas","settings.skills.emptyTitle":"Nenhuma skill ainda","settings.skills.emptyDescription":"Importe uma pasta com um SKILL.md para dar aos seus agentes instruções reutilizáveis que eles podem carregar sob demanda.","settings.skills.noResultsTitle":"Nenhuma skill encontrada","settings.skills.noResultsDescription":'Nenhuma skill corresponde a "{search}"',"settings.skills.cancel":"Cancelar","settings.skills.deleteButton":"Excluir","settings.skills.deleteDialogTitle":"Excluir esta skill?","settings.skills.deleteDialogDescription":'Isso remove "{name}" e seus arquivos. Essa ação não pode ser desfeita.',"settings.skills.deleteSuccess":"Skill excluída","settings.skills.deleteError":"Falha ao excluir a skill","settings.skills.importTooManyFiles":"Essa pasta tem {count} arquivos (limite {max}). Importe uma pasta com apenas os arquivos da skill.","settings.skills.importSlugTaken":'Já existe uma skill chamada "{slug}". Exclua-a antes de reimportar.',"settings.skills.errorTitle":"Não foi possível carregar as skills","settings.skills.errorDescription":"O catálogo de skills não pôde ser carregado. Você pode não ter acesso aos arquivos desta organização.","settings.skills.retry":"Tentar novamente","settings.memory.pageTitle":"Memória","settings.memory.tabOrg":"Organização","settings.memory.tabUser":"Só você","settings.memory.orgHeading":"Compartilhada com todo mundo em {org}","settings.memory.orgDescription":"O Deco lê isto no começo de cada chat e acrescenta o que aprende. Corrija o que estiver errado ou desatualizado.","settings.memory.userHeading":"Sua memória pessoal","settings.memory.userDescription":"Carregada só nos seus chats. Boa para como você gosta de trabalhar, o que é seu e o que pular.","settings.memory.orgPlaceholder":"Fatos que todos os chats devem saber. Por exemplo: a gente sobe na quinta, preços em BRL, o tom da marca é informal.","settings.memory.userPlaceholder":"Coisas que o Deco deve lembrar sobre você. Por exemplo: responda em português, cuido do checkout, resumos curtos.","settings.memory.saving":"Salvando…","settings.memory.saved":"Salvo","settings.memory.notSaved":"Não salvo","settings.memory.saveError":"Não deu para salvar. Continue digitando para tentar de novo.","settings.memory.readOnly":"Você pode ler esta memória, mas não alterá-la.","settings.memory.updated":"Atualizada {time}","settings.memory.notStarted":"Nada lembrado ainda","settings.memory.conflict":"Esta memória mudou enquanto você editava.","settings.memory.loadLatest":"Carregar a mais recente","settings.memory.keepMine":"Manter a minha","settings.memory.budget":"{percent}% do que os chats leem","settings.memory.budgetOver":"Os chats só leem o começo","settings.memory.budgetHint":"Os chats carregam os primeiros 16.000 caracteres. Mantenha isto como um índice curto e leve os detalhes para notas separadas.","settings.memory.errorTitle":"Não deu para carregar a memória","settings.memory.errorDescription":"Não deu para carregar os arquivos da organização. Talvez você não tenha acesso a eles.","settings.memory.retry":"Tentar novamente","settings.buckets.accessKeyIdLabel":"ID de chave de acesso","settings.buckets.addBucket":"Adicionar bucket","settings.buckets.addBucketButton":"Adicionar bucket","settings.buckets.addS3Bucket":"Adicionar bucket S3","settings.buckets.addingButton":"Adicionando…","settings.buckets.apiKeyHelperText":"Enviado como header x-api-key em cada chamada de atualização.","settings.buckets.apiKeyLabel":"Chave API","settings.buckets.bucketAdded":'Bucket "{name}" adicionado',"settings.buckets.bucketLabel":"Bucket","settings.buckets.bucketPlaceholder":"meu-bucket","settings.buckets.bucketRemoved":'Bucket "{name}" removido',"settings.buckets.bucketsConfigured":"{count} bucket(s) configurado(s)","settings.buckets.cancelButton":"Cancelar","settings.buckets.credentialsEncryptedDescription":"As credenciais são criptografadas em repouso e nunca retornadas pela API. Para Cloudflare R2, Google Cloud Storage ou MinIO, defina um endpoint personalizado.","settings.buckets.credentialsLabel":"Credenciais","settings.buckets.deleteButton":"Deletar {name}","settings.buckets.descriptionLabel":"Descrição (opcional)","settings.buckets.descriptionPlaceholder":"Para que este bucket é usado?","settings.buckets.emptyStateDescription":"Adicione um bucket compatível com S3 (AWS S3, Cloudflare R2, Google Cloud Storage, MinIO). As chaves de acesso são criptografadas em repouso e nunca retornadas pela API.","settings.buckets.endpointHelperText":"Obrigatório para provedores que não são AWS (R2, GCS, MinIO).","settings.buckets.endpointLabel":"Endpoint (opcional)","settings.buckets.endpointPlaceholder":"https://<account>.r2.cloudflarestorage.com","settings.buckets.failedToAddBucket":"Falha ao adicionar bucket","settings.buckets.failedToLoadConfigs":"Falha ao carregar configurações de arquivo: {error}","settings.buckets.failedToLoadConfigsFallback":"Falha ao carregar configurações de arquivo","settings.buckets.failedToRemoveBucket":"Falha ao remover bucket","settings.buckets.forcePathStyleHelperText":"Obrigatório para Google Cloud Storage e a maioria das configurações do MinIO.","settings.buckets.forcePathStyleLabel":"Forçar URLs path-style","settings.buckets.managed":"Gerenciado","settings.buckets.nameHelperText":"Letras, dígitos, underscore, ponto, hífen. Único dentro da organização.","settings.buckets.nameLabel":"Nome","settings.buckets.namePlaceholder":"production-uploads","settings.buckets.noBucketsConfigured":"Nenhum bucket configurado","settings.buckets.pathStyle":"path-style","settings.buckets.prefix":"prefixo: {prefix}","settings.buckets.prefixHelperText":"Todas as chaves de objeto são escritas sob este prefixo. Útil para buckets multi-tenant ou credenciais escopo de um sub-path. Uma barra à direita é adicionada automaticamente.","settings.buckets.prefixLabel":"Prefixo de chave (opcional)","settings.buckets.prefixPlaceholder":"tenants/acme/","settings.buckets.public":"público: {url}","settings.buckets.publicUrlBaseHelperText":"Host usado para construir URLs públicas retornadas pelo seletor (domínio dev do R2, CDN, host personalizado). Deixe em branco para usar o host S3 do bucket (padrão da AWS).","settings.buckets.publicUrlBaseLabel":"Base de URL pública (opcional)","settings.buckets.publicUrlBasePlaceholder":"https://pub-xxxx.r2.dev ou https://cdn.example.com","settings.buckets.refreshUrlHelperText":"Endpoint para o qual é feito POST (com a chave API abaixo) para fornecer credenciais temporárias. Deve retornar accessKeyId, secretAccessKey, sessionToken e expiration.","settings.buckets.refreshUrlLabel":"URL de atualização","settings.buckets.refreshUrlPlaceholder":"https://admin.example.com/api/acme/s3-credentials","settings.buckets.regionLabel":"Região","settings.buckets.regionPlaceholder":"us-east-1","settings.buckets.removeBucketDescription":"Isto exclui as credenciais criptografadas para {name}. O bucket em si não é afetado. Isto não pode ser desfeito.","settings.buckets.removeBucketTitle":"Remover configuração do bucket?","settings.buckets.removeButton":"Remover","settings.buckets.removingButton":"Removendo…","settings.buckets.secretAccessKeyLabel":"Chave de acesso secreta","settings.buckets.staticKeyHelperText":"Um ID de chave de acesso de longa duração e segredo, usados conforme fornecidos.","settings.buckets.staticKeyOption":"Par de chave estática (longa duração)","settings.buckets.stsSessionHelperText":"Armazena apenas um endpoint de atualização + chave API; credenciais de curta duração são buscadas sob demanda e atualizadas automaticamente.","settings.buckets.temporarySessionOption":"Sessão temporária (STS, auto-atualizada)","settings.connectClients.anyOtherClientDescription":"Qualquer outro cliente MCP: cole este endpoint nele para dar a esse runtime toda conexão habilitada nesta org, governada pelas suas regras do Decopilot.","settings.connectClients.apiKeyOption":"Chave API","settings.connectClients.copy":"Copiar","settings.connectClients.doneHideKey":"Concluído, ocultar chave","settings.connectClients.generateKey":"Gerar chave","settings.connectClients.generateKeyFor":"Gerar chave para {client}","settings.connectClients.generatingKey":"Gerando…","settings.connectClients.headlessKeyHint":"Para CI, Conductor, ou agentes headless que não conseguem abrir um navegador.","settings.connectClients.installMethod":"Método de instalação","settings.connectClients.keyCreated":"Chave criada","settings.connectClients.mcpDescription":"Para clientes sem shell. Compartilhar arquivos da Library e mandar mensagem para agentes exige a CLI + skill.","settings.connectClients.oauthDiscoveryDetails":"Detalhes de descoberta OAuth","settings.connectClients.oauthKeyHint":"Recomendado para seu laptop. O navegador abrirá no primeiro uso para você entrar — sem token para gerenciar.","settings.connectClients.oauthMetadataHint":"Os metadados do OAuth 2.1 Protected Resource são anunciados no 401:","settings.connectClients.oauthOption":"OAuth","settings.connectClients.otherClient":"Outro","settings.connectClients.pageTitle":"Conectar a clientes","settings.connectClients.recommended":"Recomendado","settings.connectClients.skillDescription":"Instale a skill do Studio e faça login uma vez. Depois disso, seu agente trabalha com os chats, agentes, tarefas e arquivos da Library desta org pela CLI decocms.","settings.connectClients.skillInstallStep":"1. Instale a skill","settings.connectClients.skillLoginHint":"Um navegador abre para você aprovar o login. A sessão se renova sozinha, então só faça login de novo quando o agente pedir.","settings.connectClients.skillLoginStep":"2. Faça login","settings.connectClients.skillNeedsBun":"Precisa do Bun.","settings.connectClients.skillOtherAgentsHint":"O instalador pergunta em quais agentes adicionar a skill.","settings.connectClients.skillTab":"CLI + skill","settings.connectClients.skillTitle":"Conectar seu agente","settings.connectClients.snippetOneTimeWarning":"Copie este snippet agora — a chave não será exibida novamente. Você pode revogá-la mais tarde na lista abaixo.","settings.connectForms.apiKeyField":"Chave API","settings.connectForms.apiKeyRequired":"A chave API é obrigatória","settings.connectForms.baseUrlField":"URL Base","settings.connectForms.baseUrlPlaceholder":"http://localhost:4000/v1","settings.connectForms.baseUrlRequired":"A URL base é obrigatória","settings.connectForms.cancel":"Cancelar","settings.connectForms.connectionSavedSuccess":"Conexão salva com sucesso","settings.connectForms.defaultKeyLabel":"Chave pessoal","settings.connectForms.failedSaveConnection":"Falha ao salvar conexão: {error}","settings.connectForms.failedSaveKey":"Falha ao salvar chave: {error}","settings.connectForms.hideApiKey":"Ocultar chave API","settings.connectForms.keySavedSuccess":"Chave salva com sucesso","settings.connectForms.labelField":"Rótulo","settings.connectForms.labelPlaceholder":"Ex: Chave pessoal","settings.connectForms.labelPlaceholderOpenAiCompatible":"Ex: Meu servidor compatível com OpenAI","settings.connectForms.labelPlaceholderPreset":"Ex: {name} prod, {name} dev","settings.connectForms.optional":"opcional","settings.connectForms.recommended":"recomendado","settings.connectForms.saveConnection":"Salvar Conexão","settings.connectForms.saveKey":"Salvar Chave","settings.connectForms.saving":"Salvando...","settings.connectForms.showApiKey":"Mostrar chave API","settings.connectProviderDialog.backButton":"Voltar","settings.connectProviderDialog.backButtonLabel":"Voltar","settings.connectProviderDialog.connectionTimedOutMessage":"Conexão expirou","settings.connectProviderDialog.defaultProviderName":"Provedor","settings.connectProviderDialog.defaultTitle":"Conectar um provedor de IA","settings.connectProviderDialog.gridDescription":"Escolha um provedor — o resto a gente resolve.","settings.connectProviderDialog.oauthFailedMessage":"Falha na conexão OAuth: {error}","settings.connectProviderDialog.oauthPendingMessage":"Autorize a conexão na janela de pop-up. Este chat será fechado quando a autorização for concluída.","settings.connectProviderDialog.oauthSuccessMessage":"{provider} conectado com sucesso","settings.connectProviderDialog.provisionPendingMessage":"Conectando…","settings.connectProviderDialog.provisionSuccessMessage":"{provider} conectado com sucesso","settings.connectProviderDialog.retryButton":"Tentar novamente","settings.connectProviderDialog.securityCheckFailedMessage":"Falha na verificação de segurança: Token de estado não corresponde","settings.connectProviderDialog.startOAuthFailedMessage":"Falha ao iniciar OAuth: {error}","settings.connectedProvidersSection.connectButton":"Conectar provedor","settings.connectedProvidersSection.emptyState":"Traga suas próprias chaves para usar modelos específicos junto com o gateway da Deco.","settings.connectedProvidersSection.sectionTitle":"Provedores conectados","settings.agentTools.chatHarnessCodexTitle":"Usar Codex em novos chats no sandbox","settings.agentTools.chatHarnessCodexDescription":"Executa novos chats no sandbox com Codex. Vincule sua assinatura do ChatGPT em Provedores de IA ou conecte um provedor da API Responses. Os chats existentes mantêm seu runtime.","settings.codexSubscription.setupHeading":"Conecte o Codex","settings.codexSubscription.setupDescription":"Vincule sua assinatura do ChatGPT em Configurações → Provedores de IA ou conecte um provedor com um endpoint da API Responses da OpenAI.","settings.codexSubscription.active":"Suas execuções do Codex usam sua assinatura do ChatGPT. As credenciais são renovadas automaticamente.","settings.codexSubscription.connect":"Vincular","settings.codexSubscription.connected":"Assinatura do ChatGPT vinculada","settings.codexSubscription.description":"Use sua assinatura do ChatGPT nos chats com Codex no sandbox. As credenciais pertencem a você e ficam criptografadas.","settings.codexSubscription.disconnect":"Desconectar","settings.codexSubscription.disconnected":"Assinatura do ChatGPT desconectada","settings.codexSubscription.howTo":"Execute este comando na sua máquina, entre com o ChatGPT e cole o conteúdo de ~/.codex/auth.json:","settings.codexSubscription.title":"Sua assinatura do ChatGPT para Codex","settings.codexSubscription.tokenPlaceholder":"Cole o conteúdo de auth.json","settings.claudeSubscription.active":"Seu plano Claude está executando estas tarefas de código.","settings.claudeSubscription.connect":"Vincular","settings.claudeSubscription.connected":"Assinatura Claude conectada","settings.claudeSubscription.description":"Execute tarefas de código no seu próprio plano Claude Pro ou Max, em vez do crédito de IA da organização.","settings.claudeSubscription.disconnect":"Desconectar","settings.claudeSubscription.disconnected":"Assinatura Claude desconectada","settings.claudeSubscription.expired":"A Anthropic não aceita mais seu token. Gere um novo para continuar usando seu plano.","settings.claudeSubscription.howTo":"Gere um token na sua própria máquina com","settings.claudeSubscription.title":"Sua assinatura Claude","settings.claudeSubscription.tokenPlaceholder":"Cole seu token","settings.githubCopilot.active":"Seu plano GitHub Copilot está executando estas tarefas de código.","settings.githubCopilot.connect":"Vincular","settings.githubCopilot.connected":"GitHub Copilot conectado","settings.githubCopilot.description":"Execute tarefas de código no Claude pelo seu próprio plano GitHub Copilot, em vez do crédito de IA da organização.","settings.githubCopilot.disconnect":"Desconectar","settings.githubCopilot.disconnected":"GitHub Copilot desconectado","settings.githubCopilot.howTo":"Crie um token fine-grained do GitHub com a permissão Copilot Requests","settings.githubCopilot.sharedBy":"Toda execução nesta organização usa o plano GitHub Copilot compartilhado por {name}.","settings.githubCopilot.shareTitle":"Compartilhar com a organização","settings.githubCopilot.shareDescription":"Todo chat e tarefa nesta organização roda no seu plano Copilot, antes dos planos dos membros e dos provedores de IA da organização.","settings.githubCopilot.title":"Seu plano GitHub Copilot","settings.githubCopilot.tokenPlaceholder":"Cole seu token github_pat_…","settings.decoCreditsHero.add":"Adicionar","settings.decoCreditsHero.addCredits":"Adicionar créditos","settings.decoCreditsHero.amountPlaceholder":"50","settings.decoCreditsHero.availableBalance":"Saldo de crédito disponível","settings.decoCreditsHero.cancel":"Cancelar","settings.decoCreditsHero.cancelButton":"Cancelar","settings.decoCreditsHero.custom":"Personalizado","settings.decoCreditsHero.decoAiGatewayAlt":"Deco AI Gateway","settings.decoCreditsHero.disconnect":"Desconectar","settings.decoCreditsHero.disconnectButton":"Desconectar","settings.decoCreditsHero.disconnectDescription":"Isso removerá o Deco AI Gateway deste espaço de trabalho. Seu saldo de crédito é preservado e estará disponível se você se reconectar.","settings.decoCreditsHero.disconnectError":"Falha ao desconectar: {message}","settings.decoCreditsHero.disconnectSuccess":"Deco AI Gateway desconectado","settings.decoCreditsHero.disconnectTitle":"Desconectar Deco AI Gateway","settings.decoCreditsHero.refreshBalance":"Atualizar saldo","settings.decoCreditsHero.title":"Deco AI Gateway","settings.planUsage.title":"Plano","settings.planUsage.loadFailed":"Não foi possível ler o plano desta organização.","settings.planUsage.retry":"Tentar novamente","settings.planUsage.aiUsage":"Uso de IA","settings.planUsage.usageUnavailable":"Indisponível","settings.planUsage.used":"usado","settings.plans.perMonth":"/ mês","settings.planUsage.periodHint":"Reinicia no começo de cada ciclo de cobrança.","settings.planUsage.noAiIncluded":"Sem uso de IA incluído.","settings.planUsage.noPlan":"Nenhum plano ativo","settings.planUsage.noPlanDescription":"Esta organização não tem um plano ativo. Escolha um abaixo — o primeiro mês do Starter é grátis.","settings.planUsage.creditsLeft":"restantes","settings.planUsage.manageBilling":"Gerenciar cobrança","settings.planUsage.portalFailed":"Não foi possível abrir a cobrança: {message}","settings.planUsage.subscribe":"Assinar","settings.planUsage.changePlan":"Mudar de plano","settings.planUsage.changed":"Plano atualizado","settings.planUsage.changeFailed":"Não foi possível trocar o plano: {message}","settings.planUsage.feature.cms":"CMS","settings.planUsage.feature.chat":"Chat superagent","settings.planUsage.feature.monitoring":"Analytics do site","settings.planUsage.feature.kanban":"Kanban agêntico","settings.planUsage.feature.model_choice":"Escolher o modelo","settings.planUsage.feature.credits":"Créditos extras","settings.planUsage.feature.diagnostic":"Deco Score","settings.planUsage.feature.diagnostic_enriched":"Deco Score enriquecido","settings.plans.title":"Planos","settings.plans.loadFailed":"Não foi possível carregar os planos.","settings.plans.currentPlan":"Plano atual","settings.plans.firstMonthFree":"1º mês grátis","settings.plans.startTrial":"Começar teste grátis","settings.plans.custom.name":"Custom","settings.plans.custom.description":"Para grandes times com contrato próprio","settings.plans.custom.cta":"Fale com a gente","settings.plans.managed":"Seu plano: {plan}. Fale com a gente para mudá-lo.","settings.plans.invoice.cta":"Adicionar à minha fatura","settings.plans.invoice.confirm":"O plano {plan} será adicionado à sua próxima fatura. Mudar agora?","settings.plans.invoice.cancel":"Cancelar","settings.plans.invoice.switch":"Mudar de plano","settings.paywall.bullets.kanban.1":"Agentes que fazem o trabalho e movem os cards","settings.paywall.bullets.kanban.2":"Um board que o time inteiro compartilha","settings.paywall.bullets.kanban.3":"Colunas, tags e prioridades","settings.paywall.bullets.allowance.1":"Uma franquia mensal que reinicia","settings.paywall.bullets.allowance.2":"Compre créditos extras quando quiser","settings.paywall.bullets.allowance.3":"Sua mensagem fica no composer","settings.paywall.bullets.cms.1":"Edite conteúdo e layout","settings.paywall.bullets.cms.2":"Preview ao vivo enquanto edita","settings.paywall.bullets.cms.3":"Publique quando estiver do jeito certo","settings.paywall.bullets.monitoring.1":"Pageviews, visitantes e origens","settings.paywall.bullets.monitoring.2":"Taxa de cache, latência e erros","settings.paywall.bullets.monitoring.3":"Tráfego por país e dispositivo","settings.paywall.upgradeTitle":"{feature} vem com o {plan}","settings.paywall.upgradeDescription":"Libera para todo mundo na organização.","settings.paywall.description":"O plano desta organização não inclui {feature}. Troque de plano para liberar para todo mundo na org.","settings.paywall.seePlans":"Ver planos","settings.paywall.dismiss":"Agora não","settings.paywall.serverRefusedFeature":"Seu plano não inclui este recurso. Peça a um owner para fazer upgrade, ou veja os planos.","settings.paywall.serverRefusedBudget":"Esta organização usou todo o limite mensal de IA. O chat e as tarefas ficam pausados até fazer upgrade ou adicionar créditos.","settings.decoCreditsHero.topUpFailed":"Recarga falhou: {message}","settings.decoNudgeCard.connectDeco":"Conectar Deco","settings.decoNudgeCard.connecting":"Conectando…","settings.decoNudgeCard.decoAiGateway":"Deco AI Gateway","settings.decoNudgeCard.description":"100+ modelos, uma conexão — pague conforme usa, sem APIs para gerenciar.","settings.decoNudgeCard.recommended":"Recomendado","settings.deleteOrganizationSection.cancel":"Cancelar","settings.deleteOrganizationSection.dangerZone":"Zona de Risco","settings.deleteOrganizationSection.deleteButton":"Deletar","settings.deleteOrganizationSection.deleteOrganizationAction":"Deletar organização","settings.deleteOrganizationSection.deleteOrganizationDescription":"Delete permanentemente esta organização e todos os seus dados. Esta ação não pode ser desfeita.","settings.deleteOrganizationSection.deleteOrganizationQuestion":"Deletar Organização?","settings.deleteOrganizationSection.deleteOrganizationTitle":"Deletar organização","settings.deleteOrganizationSection.deleteWarning":"Isto irá deletar permanentemente todos os dados associados com {organizationName}. Esta ação não pode ser desfeita.","settings.deleteOrganizationSection.deleting":"Deletando…","settings.deleteOrganizationSection.failedToDeleteOrganization":"Falha ao deletar organização","settings.deleteOrganizationSection.irreversibleActionsDescription":"Ações irreversíveis que afetam toda a sua organização.","settings.deleteOrganizationSection.organizationDeleted":"Organização deletada","settings.deleteOrganizationSection.typeToConfirm":"Digite {organizationName} para confirmar:","settings.domainSettings.addDnsRecordInstruction":"Adicione o registro DNS abaixo e verifique.","settings.domainSettings.addDomain":"Adicionar domínio","settings.domainSettings.adding":"Adicionando…","settings.domainSettings.copied":"Copiado","settings.domainSettings.dnsInstructions":"Adicione este registro TXT no seu provedor de DNS e clique em Verificar:","settings.domainSettings.domainAdded":"Domínio adicionado","settings.domainSettings.domainPlaceholder":"acme.com","settings.domainSettings.domainRemoved":"Domínio removido","settings.domainSettings.domainVerified":"Domínio verificado","settings.domainSettings.emailDomains":"Domínios de e-mail","settings.domainSettings.emailDomainsDescription":"Permita que pessoas com um domínio de e-mail correspondente descubram e se juntem a esta organização.","settings.domainSettings.failedAddDomain":"Falha ao adicionar domínio","settings.domainSettings.failedRemove":"Falha ao remover","settings.domainSettings.failedUpdate":"Falha ao atualizar","settings.domainSettings.failedVerify":"Falha ao verificar","settings.domainSettings.joinMode":"Modo de entrada","settings.domainSettings.joinModeAuto":"Entrada automática","settings.domainSettings.joinModeHelpAuto":"Qualquer pessoa com um e-mail @{domain} verificado entra automaticamente.","settings.domainSettings.joinModeHelpOff":"Não detectável — ninguém pode encontrar ou se juntar através deste domínio.","settings.domainSettings.joinModeHelpRequest":"Pessoas com um e-mail @{domain} verificado podem solicitar entrada; um administrador aprova.","settings.domainSettings.joinModeOff":"Desativado","settings.domainSettings.joinModeRequest":"Requer aprovação","settings.domainSettings.joinModeUpdated":"Modo de entrada atualizado","settings.domainSettings.pending":"Pendente","settings.domainSettings.remove":"Remover","settings.domainSettings.txt":"TXT","settings.domainSettings.txtRecordNotFound":"Registro TXT não encontrado ainda — o DNS pode levar alguns minutos.","settings.domainSettings.value":"valor","settings.domainSettings.verified":"Verificado","settings.domainSettings.verify":"Verificar","settings.editProviderDialog.apiKey":"Chave de API","settings.editProviderDialog.apiKeyRequiredForBaseUrlChange":"Informe a chave de API novamente para confirmar a mudança da URL base","settings.editProviderDialog.baseUrl":"URL base","settings.editProviderDialog.baseUrlPlaceholder":"http://localhost:4000/v1","settings.editProviderDialog.cancel":"Cancelar","settings.editProviderDialog.editTitle":"Editar {name}","settings.editProviderDialog.failedToUpdate":"Falha ao atualizar: {error}","settings.editProviderDialog.hideApiKey":"Ocultar chave de API","settings.editProviderDialog.label":"Rótulo","settings.editProviderDialog.labelPlaceholder":"p.ex. Chave pessoal","settings.editProviderDialog.labelRequired":"Rótulo é obrigatório","settings.editProviderDialog.leaveBlankHint":"deixe em branco para manter atual","settings.editProviderDialog.providerUpdated":"Provedor atualizado","settings.editProviderDialog.save":"Salvar","settings.editProviderDialog.saving":"Salvando...","settings.editProviderDialog.showApiKey":"Mostrar chave de API","settings.joinRequestsSection.approve":"Aprovar","settings.joinRequestsSection.approveFailed":"Falha ao aprovar","settings.joinRequestsSection.approved":"Solicitação aprovada","settings.joinRequestsSection.deny":"Recusar","settings.joinRequestsSection.denied":"Solicitação recusada","settings.joinRequestsSection.denyFailed":"Falha ao recusar","settings.joinRequestsSection.description":"Pessoas que solicitaram entrada por um domínio em modo de aprovação.","settings.joinRequestsSection.title":"Solicitações de entrada","settings.orgGeneral.organization":"Organização","settings.review.title":"Revisores e merge","settings.review.description":"O Reviewer automático roda no pull request de uma tarefa quando o card chega na coluna Em Revisão (checks passando ou inexistentes). Ele aparece como uma sessão no card da tarefa.","settings.review.reviewerTitle":"Ativar Reviewer","settings.review.reviewerDescription":"Quando o card chega na coluna Em Revisão, revisa o código com as skills de review do próprio repositório, corrige o que encontra na branch do pull request e depois testa a mudança no preview do deploy. Uma aprovação move o card para QA; quando não consegue resolver algo, passa a tarefa para você.","settings.review.cheapReviewerModelTitle":"Rodar os revisores em um modelo mais barato","settings.review.cheapReviewerModelDescription":"O Reviewer roda em um modelo menor que o Super Agent que escreveu a mudança. Reduz o custo da revisão; pode reduzir a profundidade.","settings.review.autoMergeTitle":"Ativar Auto-merge","settings.review.autoMergeDescription":"Quando um card chega em Pronto para Deploy, mescla o pull request automaticamente em vez de esperar alguém clicar em Subir para produção.","settings.review.autoResolveConflictsTitle":"Resolver conflitos de merge automaticamente","settings.review.autoResolveConflictsDescription":"Quando um pull request em Pronto para Deploy conflita com a branch base, devolve para o Super Agent fazer checkout da branch, mesclar a base e dar push. Segue o Auto-merge, a menos que você ajuste aqui.","settings.review.autoAssignReportTasksTitle":"Atribuir tarefas do Deco Score ao Super Agent automaticamente","settings.review.autoAssignReportTasksDescription":"Tarefas criadas a partir do Deco Score são delegadas ao Super Agent automaticamente, em vez de ficarem sem responsável.","settings.review.updateError":"Não foi possível atualizar a configuração","settings.taskPrompt.title":"System prompt","settings.taskPrompt.fieldLabel":"Instruções","settings.taskPrompt.placeholder":"ex.: Use pnpm, nunca npm. Nunca edite arquivos em src/generated/.","settings.taskPrompt.save":"Salvar","settings.taskPrompt.saved":"System prompt salvo","settings.taskPrompt.failed":"Não foi possível salvar o system prompt","settings.taskPrompt.skillsLabel":"Skills em todas as colunas","settings.agentTools.title":"Ferramentas do agente","settings.agentTools.description":"O que um run de agente de código alcança além do repositório em que está trabalhando.","settings.agentTools.orgMcpsTitle":"Dar aos runs as conexões MCP desta organização","settings.agentTools.orgMcpsDescription":"Cada MCP conectado fica disponível para o Super Agent e para os revisores, além das ferramentas de tarefa que eles sempre recebem. As ferramentas carregam só quando o agente procura por uma, então conectar mais não ocupa o contexto dele.","settings.agentTools.orgMcpsPickTitle":"Conexões que os runs alcançam","settings.agentTools.orgMcpsPickDescription":"Desligue uma para mantê-la fora dos runs de coding agent. Útil para uma conexão que duplica uma ferramenta que o run já tem — um MCP do mesmo tracker em que o run reporta, por exemplo. Um MCP conectado depois começa ligado.","settings.agentTools.orgMcpsPickAriaLabel":"Deixar os runs alcançarem {name}","settings.agentTools.orgMcpsPickEmpty":"Esta organização ainda não tem conexões MCP","settings.agentTools.orgMcpsPickFailed":"Não foi possível salvar quais conexões os runs alcançam","settings.agentTools.orgMcpsPickSearch":"Buscar conexões…","settings.agentTools.orgMcpsPickLoadFailed":"Não foi possível carregar as conexões MCP","settings.agentTools.orgMcpsPickEnableAll":"Ligar todas","settings.agentTools.orgMcpsPickDisableAll":"Desligar todas","settings.agentTools.orgMcpsPickNoMatch":"Nenhuma conexão corresponde a essa busca","settings.agentTools.orgMcpsPickSave":"Salvar","settings.agentTools.orgMcpsPickSaving":"Salvando…","settings.agentTools.orgMcpsPickDiscard":"Descartar","settings.agentTools.orgMcpsPickSaved":"Conexões que os runs alcançam salvas","settings.agentTools.chatRuntimeSection":"Chats","settings.agentTools.chatHarnessSandboxOnlyTitle":"Rodar todo chat com o Claude Code no seu próprio sandbox","settings.agentTools.chatHarnessSandboxOnlyDescription":"Todo chat novo roda o Claude Code em um sandbox só dele em vez de rodar no Decopilot, e chats existentes do Decopilot mudam na próxima mensagem. A primeira mensagem de um chat espera o sandbox iniciar. Requer uma chave da Anthropic, OpenRouter ou do gateway de IA da deco, ou uma assinatura do Claude.","settings.agentTools.codingAgentsClaudeCodeTitle":"Rodar chats de Code Agent com o Claude Code","settings.agentTools.codingAgentsClaudeCodeDescription":"Chats em um agente importado de um repositório do GitHub rodam dentro do sandbox desse agente, ao lado do checkout, em vez de rodarem no Decopilot. As respostas chegam de turno inteiro, e não palavra por palavra. Só vale para chats novos — um chat existente mantém o runtime em que começou.","settings.orgRoleDetail.addMember":"Adicionar Membro","settings.orgRoleDetail.addMembersToGrantPermissions":"Adicione membros para conceder as permissões configuradas.","settings.orgRoleDetail.addMembersToRole":"Adicionar Membros ao Papel","settings.orgRoleDetail.addWithCount":"Adicionar ({count})","settings.orgRoleDetail.added":"Adicionado","settings.orgRoleDetail.allConnections":"Todas as conexões","settings.orgRoleDetail.allConnectionsDescription":"Todas as ferramentas de todas as conexões, inclusive as adicionadas depois. Desmarque uma conexão para deixá-la de fora.","settings.orgRoleDetail.allModels":"Todos os modelos","settings.orgRoleDetail.allOrgPermissions":"Todas as permissões da organização","settings.orgRoleDetail.allProjects":"Todos os projetos","settings.orgRoleDetail.allProjectsDescription":"Este papel pode acessar todos os projetos, inclusive os criados depois. Desmarque um projeto para escondê-lo deste papel, ou desative para escolher projetos específicos.","settings.orgRoleDetail.builtinRolePermissionsCannotBeChanged":"Permissões de papel integrado não podem ser alteradas","settings.orgRoleDetail.cancel":"Cancelar","settings.orgRoleDetail.createRole":"Criar Papel","settings.orgRoleDetail.enabledCount":"{enabledCount}/{total} ativados","settings.orgRoleDetail.failedToSaveRole":"Falha ao salvar papel","settings.orgRoleDetail.general":"Geral","settings.orgRoleDetail.grantFullAccessToAllFeaturesBelow":"Conceder acesso completo a todos os recursos abaixo","settings.orgRoleDetail.loadingModels":"Carregando modelos...","settings.orgRoleDetail.mcpPermissions":"Permissões MCP","settings.orgRoleDetail.members":"Membros","settings.orgRoleDetail.membersUpdatedSuccessfully":"Membros atualizados com sucesso!","settings.orgRoleDetail.models":"Modelos","settings.orgRoleDetail.noLlmConnectionsConfigured":"Nenhuma conexão LLM configurada","settings.orgRoleDetail.noMembers":"Sem membros","settings.orgRoleDetail.noMembersAvailable":"Nenhum membro disponível","settings.orgRoleDetail.noMembersFound":"Nenhum membro encontrado","settings.orgRoleDetail.noMembersMatch":'Nenhum membro corresponde a "{searchQuery}"',"settings.orgRoleDetail.noPermissionsMatch":'Nenhuma permissão corresponde a "{searchQuery}"',"settings.orgRoleDetail.noProjectsAvailable":"Nenhum projeto disponível","settings.orgRoleDetail.noProjectsMatch":'Nenhum projeto corresponde a "{searchQuery}"',"settings.orgRoleDetail.organizationPermissions":"Permissões da Organização","settings.orgRoleDetail.owner":"Proprietário","settings.orgRoleDetail.ownerMembershipCannotBeChanged":"A associação de proprietário não pode ser alterada","settings.orgRoleDetail.projects":"Projetos","settings.orgRoleDetail.removeMember":"Remover {name} do papel","settings.orgRoleDetail.roleCreatedSuccessfully":"Papel criado com sucesso!","settings.orgRoleDetail.roleName":"Nome do papel","settings.orgRoleDetail.roleNameIsRequired":"Nome do papel é obrigatório","settings.orgRoleDetail.roleUpdatedSuccessfully":"Papel atualizado com sucesso!","settings.orgRoleDetail.saveChanges":"Salvar Alterações","settings.orgRoleDetail.saving":"Salvando...","settings.orgRoleDetail.searchMcpServers":"Procurar servidores MCP...","settings.orgRoleDetail.searchMembers":"Procurar membros...","settings.orgRoleDetail.searchModels":"Procurar modelos...","settings.orgRoleDetail.searchPermissions":"Procurar permissões...","settings.orgRoleDetail.searchProjects":"Procurar projetos...","settings.orgRoleDetail.selectMembersToAddToThisRole":"Selecione membros para adicionar a este papel.","settings.orgRoleDetail.showMore":"Mostrar mais ({remaining} restantes)","settings.orgRoleDetail.somethingWentWrong":"Algo deu errado","settings.orgRoleDetail.unknown":"Desconhecido","settings.orgRoleDetail.userIsDefaultRoleMessage":"Usuário é o papel padrão — membros não podem ser removidos dele; atribua outro papel para alterar seu acesso","settings.orgSso.cancelButton":"Cancelar","settings.orgSso.clientIdLabel":"ID do Cliente","settings.orgSso.clientIdPlaceholder":"seu-id-cliente","settings.orgSso.clientSecretEditDescription":"Deixe em branco para manter atual","settings.orgSso.clientSecretLabel":"Senha do Cliente","settings.orgSso.clientSecretPlaceholder":"sua-senha-cliente","settings.orgSso.clientSecretRequiredError":"Senha do Cliente é obrigatória para a configuração inicial","settings.orgSso.configurationRemovedSuccess":"Configuração SSO removida","settings.orgSso.configurationSavedSuccess":"Configuração SSO salva","settings.orgSso.configureSsoButton":"Configurar SSO","settings.orgSso.discoveryEndpointDescription":"Opcional — detectado automaticamente do issuer se omitido.","settings.orgSso.discoveryEndpointLabel":"Endpoint de Descoberta","settings.orgSso.discoveryEndpointPlaceholder":"Detectado automaticamente do issuer","settings.orgSso.domainLabel":"Domínio","settings.orgSso.editConfigButton":"Editar configuração","settings.orgSso.emailDomainDescription":"O domínio de e-mail que este provedor SSO cobre.","settings.orgSso.emailDomainLabel":"Domínio de E-mail","settings.orgSso.emailDomainPlaceholder":"empresa.com","settings.orgSso.enforceSsoDescription":"Exigir que todos os membros se autentiquem via SSO","settings.orgSso.enforceSsoLabel":"Forçar SSO","settings.orgSso.enforcementDisabledSuccess":"Aplicação de SSO desativada","settings.orgSso.enforcementEnabledSuccess":"Aplicação de SSO ativada","settings.orgSso.issuerUrlDescription":"A URL do issuer OIDC do seu provedor de identidade.","settings.orgSso.issuerUrlLabel":"URL do Issuer","settings.orgSso.issuerUrlPlaceholder":"https://login.microsoftonline.com/{tenant}/v2.0","settings.orgSso.loading":"Carregando...","settings.orgSso.providerLabel":"Provedor","settings.orgSso.removeButton":"Remover","settings.orgSso.removeConfirmation":"Tem certeza de que deseja remover a configuração SSO?","settings.orgSso.removeSsoConfigError":"Falha ao remover configuração SSO","settings.orgSso.requiredFieldsError":"Issuer, ID do Cliente e Domínio são obrigatórios","settings.orgSso.saveSsoConfigError":"Falha ao salvar configuração SSO","settings.orgSso.savingButton":"Salvando...","settings.orgSso.scopesLabel":"Escopos","settings.orgSso.scopesPlaceholder":"openid email profile","settings.orgSso.sectionTitle":"Single Sign-On","settings.orgSso.securityTitle":"Segurança","settings.orgSso.testSsoButton":"Testar SSO","settings.orgSso.toggleEnforcementError":"Falha ao alternar aplicação de SSO","settings.orgSso.updateButton":"Atualizar","settings.organizationForm.failedToReadImage":"Falha ao ler imagem","settings.organizationForm.failedToUpdateOrg":"Falha ao atualizar organização","settings.organizationForm.imageTooLarge":"Imagem deve ser menor que 2MB","settings.organizationForm.logoDescription":"Tamanho recomendado é 256x256px","settings.organizationForm.logoTitle":"Logo","settings.organizationForm.namePlaceholder":"Nome da organização","settings.organizationForm.nameRequired":"O nome é obrigatório","settings.organizationForm.nameTitle":"Nome","settings.organizationForm.nameTooLong":"O nome é muito longo","settings.organizationForm.updateSuccess":"Organização atualizada com sucesso","settings.organizationForm.uploadLogoLabel":"Enviar logo da organização","settings.organizationForm.urlDescription":"Não pode ser alterada — é usada em URLs e integrações de API.","settings.organizationForm.urlTitle":"URL","settings.providerKeyRow.addedTimeAgo":"{label} · adicionada há {time}","settings.providerKeyRow.cancel":"Cancelar","settings.providerKeyRow.claudeCode":"Claude Code","settings.providerKeyRow.codex":"Codex","settings.providerKeyRow.delete":"Excluir","settings.providerKeyRow.deleteApiKey":"Excluir chave de API","settings.providerKeyRow.deleteProviderKey":"Excluir chave do provedor","settings.providerKeyRow.editProviderKey":"Editar chave do provedor","settings.providerKeyRow.failedToDeleteKey":"Falha ao excluir chave: {error}","settings.providerKeyRow.keyDeleted":"Chave excluída","settings.roles.allConnections":"Todas as conexões","settings.roles.basicAccess":"Acesso básico","settings.roles.builtIn":"Integrada","settings.roles.cancel":"Cancelar","settings.roles.columnMembers":"Membros","settings.roles.columnPermissions":"Permissões","settings.roles.columnRole":"Função","settings.roles.columnType":"Tipo","settings.roles.connectionCount":"{count} conexão(ões)","settings.roles.createRole":"Criar Função","settings.roles.createRoleGetStarted":"Crie uma função para começar.","settings.roles.custom":"Personalizada","settings.roles.delete":"Excluir","settings.roles.deleteRoleConfirm":'Tem certeza que deseja excluir a função "{role}"? Esta ação não pode ser desfeita.',"settings.roles.deleteRoleTitle":"Excluir Função","settings.roles.deletedSuccessfully":"Função excluída com sucesso!","settings.roles.failedToLoad":"Falha ao carregar funções","settings.roles.fullAccess":"Acesso completo","settings.roles.fullOrgAccess":"Acesso completo da organização","settings.roles.noPermissions":"Sem permissões","settings.roles.noRoles":"Sem funções","settings.roles.noRolesFound":"Nenhuma função encontrada","settings.roles.noRolesMatchSearch":'Nenhuma função corresponde a "{search}"',"settings.roles.orgPermsCount":"{count} permissão(ões) da org","settings.roles.pageTitle":"Funções","settings.roles.roleAdmin":"Administrador","settings.roles.roleOwner":"Proprietário","settings.roles.roleUser":"Usuário","settings.roles.searchPlaceholder":"Pesquisar funções...","settings.apiKeys.cancelButton":"Cancelar","settings.apiKeys.copied":"Copiado para a área de transferência","settings.apiKeys.copyKey":"Copiar chave","settings.apiKeys.createButton":"Criar chave","settings.apiKeys.createdAt":"Criada em {date}","settings.apiKeys.createdDescription":"Copie esta chave agora — ela não será mostrada novamente.","settings.apiKeys.createdTitle":"Chave de API criada","settings.apiKeys.creatingButton":"Criando…","settings.apiKeys.deleteDescription":"Qualquer aplicação usando esta chave perderá acesso imediatamente. Isso não pode ser desfeito.","settings.apiKeys.deleteKey":"Excluir chave","settings.apiKeys.deleteTitle":'Excluir "{name}"?',"settings.apiKeys.done":"Concluído","settings.apiKeys.emptyDescription":"Crie uma chave para autenticar aplicações externas nesta organização.","settings.apiKeys.emptyTitle":"Nenhuma chave de API ainda","settings.apiKeys.failedToCreateKey":"Falha ao criar chave de API","settings.apiKeys.failedToDeleteKey":"Falha ao excluir chave de API","settings.apiKeys.failedToLoadError":"Falha ao carregar chaves de API: {error}","settings.apiKeys.keyDeleted":'Chave de API "{name}" excluída',"settings.apiKeys.loading":"Carregando chaves de API…","settings.apiKeys.nameLabel":"Nome","settings.apiKeys.namePlaceholder":"Minha integração","settings.apiKeys.newKey":"Nova chave","settings.apiKeys.newKeyDescription":"Dê um nome à chave para reconhecê-la depois.","settings.apiKeys.newKeyTitle":"Nova chave de API","settings.apiKeys.sectionDescription":"Chaves de longa duração para scripts e clientes que não conseguem entrar por um navegador.","settings.apiKeys.sectionTitle":"Chaves de API","settings.secrets.cancelButton":"Cancelar","settings.secrets.createButton":"Criar segredo","settings.secrets.creatingButton":"Criando…","settings.secrets.descriptionLabel":"Descrição (opcional)","settings.secrets.descriptionPlaceholder":"Para que é usado este segredo?","settings.secrets.emptyDescription":"Armazene chaves de API, tokens e outros valores sensíveis. Os valores são criptografados em repouso e nunca retornados pela API.","settings.secrets.emptyTitle":"Nenhum segredo ainda","settings.secrets.failedToCreateSecret":"Falha ao criar segredo","settings.secrets.failedToLoadError":"Falha ao carregar segredos: {error}","settings.secrets.nameHelp":"Letras, dígitos, sublinhado, ponto, hífen. Sem distinção entre maiúsculas e minúsculas dentro do seu escopo.","settings.secrets.nameLabel":"Nome","settings.secrets.namePlaceholder":"STRIPE_API_KEY","settings.secrets.newSecret":"Novo segredo","settings.secrets.newSecretDescription":"Armazenado criptografado no cofre de credenciais. Escolha quem pode lê-lo.","settings.secrets.newSecretTitle":"Novo segredo","settings.secrets.scopeLabel":"Escopo","settings.secrets.scopeOrganization":"Organização","settings.secrets.scopeOrganizationDescription":"Organização — visível para todos os membros","settings.secrets.scopePrivate":"Privado","settings.secrets.scopePrivateDescription":"Privado — visível apenas para mim","settings.secrets.secretCreated":'Segredo "{name}" criado',"settings.secrets.secretsCountSingular":"{count} segredo armazenado","settings.secrets.secretsCountPlural":"{count} segredos armazenados","settings.secrets.sectionOrganization":"Organização","settings.secrets.sectionPrivate":"Privado para mim","settings.secrets.valueLabel":"Valor","settings.simpleModeSection.defaultModels":"Modelos padrão","settings.simpleModeSection.failedToSave":"Falha ao salvar: {error}","settings.simpleModeSection.modelsPowerDescription":"Estes modelos alimentam chat, automações e ferramentas em toda a sua organização.","settings.simpleModeSection.notAvailableWithCurrentProvider":"Não disponível com o provedor atual","settings.simpleModeSection.pickModel":"Escolher modelo","settings.simpleModeSection.saved":"Salvo","settings.simpleModeSection.saving":"Salvando…","settings.simpleModeSection.tierDeepResearch":"Pesquisa aprofundada","settings.simpleModeSection.tierDeepResearchDesc":"Relatórios de pesquisa aprofundados e multi-fonte","settings.simpleModeSection.tierFast":"Rápido","settings.simpleModeSection.tierFastDesc":"Respostas mais rápidas, ideal para tarefas rápidas","settings.simpleModeSection.tierImage":"Imagem","settings.simpleModeSection.tierImageDesc":"Geração de imagens","settings.simpleModeSection.tierSmart":"Inteligente","settings.simpleModeSection.tierSmartDesc":"Equilíbrio entre velocidade e capacidade","settings.simpleModeSection.tierThinking":"Reflexivo","settings.simpleModeSection.tierThinkingDesc":"Mais capaz, ideal para tarefas complexas","settings.simpleModeSection.tierWebSearch":"Busca na web","settings.simpleModeSection.tierWebSearchDesc":"Respostas rápidas e atualizadas da web","settings.aiProviders.recommended":"Recomendado — 100+ modelos, pague conforme usa","settings.aiProviders.customOpenAiCompatible":"OpenAI-compatível personalizado","settings.aiProviders.customOpenAiDescription":"Traga seu próprio servidor de modelos (avançado)","settings.aiProviders.moreProvidersSingular":"{count} provedor adicional","settings.aiProviders.moreProvidersPlural":"{count} provedores adicionais","settings.aiProviders.decoConnectSuccess":"Deco AI Gateway conectado com sucesso","settings.aiProviders.decoConnectError":"Falha ao conectar o Deco AI Gateway: {error}","settings.infraBilling.noSites":"Esta organização ainda não é dona de nenhum site deco.cx.","settings.infraBilling.siteLabel":"Sites","settings.infraBilling.pickASite":"Selecione ao menos um site.","settings.infraBilling.tooManySites":"Mostrando os primeiros {count} sites. Selecione sites específicos para ver os demais.","settings.infraBilling.multipleTeams":"Estes sites são cobrados por {count} times legados. O plano e as faturas de cada time estão em Faturas.","settings.infraBilling.noTeam":"Estes sites não estão vinculados a um time de cobrança legado.","settings.infraBilling.partialTeam":"O time legado deste site também cobra sites fora desta organização, então o plano e as faturas não aparecem aqui.","settings.infraBilling.billingUnavailable":"Plano e faturas estão temporariamente indisponíveis.","settings.infraBilling.monthLabel":"Mês","settings.infraBilling.warehouseUnavailable":"Não foi possível ler os dados de uso, então os números abaixo estão incompletos.","settings.infraBilling.summaryTitle":"Resumo","settings.infraBilling.metricsTitle":"Métricas","settings.infraBilling.invoicesTitle":"Faturas","settings.infraBilling.detailsTitle":"Detalhes de cobrança","settings.infraBilling.currentPlan":"Plano atual","settings.infraBilling.nextBilling":"Próxima cobrança","settings.infraBilling.manageButton":"Gerenciar","settings.infraBilling.portalError":"Não foi possível abrir o portal de cobrança: {message}","settings.infraBilling.requestsPerPageview":"Requisições por pageview","settings.infraBilling.plan.free":"Free","settings.infraBilling.plan.pro":"Pro","settings.infraBilling.plan.enterprise":"Enterprise","settings.infraBilling.pageviews":"Pageviews","settings.infraBilling.pageviewsDescription":"Páginas entregues a visitantes neste mês.","settings.infraBilling.requests":"Requisições","settings.infraBilling.requestsDescription":"Requisições de CDN e da infraestrutura compartilhada.","settings.infraBilling.dataTransfer":"Transferência de dados","settings.infraBilling.dataTransferDescription":"Banda entregue pela edge e pela origem.","settings.infraBilling.noInvoices":"Nenhuma fatura emitida para este time.","settings.infraBilling.invoiceReference":"Referência","settings.infraBilling.invoiceDue":"Vencimento","settings.infraBilling.invoiceAmount":"Valor","settings.infraBilling.invoiceStatus":"Status","settings.infraBilling.invoiceDocuments":"Documentos","settings.infraBilling.invoiceNf":"Nota fiscal","settings.infraBilling.invoiceBankSlip":"Boleto","settings.infraBilling.invoiceBankTransfer":"Transferência","settings.infraBilling.statusPaid":"Paga","settings.infraBilling.statusOverdue":"Vencida","settings.infraBilling.statusPending":"Pendente","settings.gitCredentials.title":"Credenciais git","settings.gitCredentials.description":"Tokens de acesso pessoal para repositórios git privados dos quais seus projetos dependem mas que o sandbox não alcança sozinho — submódulos e dependências privadas resolvidas por pub, go, npm ou cargo. Usados por todos os sandboxes desta organização. Referencie um segredo de org/usuário por host; URLs SSH são reescritas para HTTPS para que o token se aplique.","settings.gitCredentials.addCredential":"Adicionar credencial git","settings.gitCredentials.cancel":"Cancelar","settings.gitCredentials.createNewSecret":"Criar novo segredo","settings.gitCredentials.createNewSecretAriaLabel":"Criar novo segredo","settings.gitCredentials.createNewSecretDescription":"Armazenado criptografado no cofre de credenciais. A credencial git fará referência ao novo segredo pelo id — seu valor nunca sai do servidor.","settings.gitCredentials.createNewSecretTitle":"Criar novo segredo","settings.gitCredentials.descriptionLabel":"Descrição (opcional)","settings.gitCredentials.descriptionPlaceholder":"Para que este token é usado?","settings.gitCredentials.failedToLoadSecrets":"Falha ao carregar segredos","settings.gitCredentials.failedToSave":"Falha ao salvar as credenciais git","settings.gitCredentials.failedToSaveSecret":"Falha ao salvar","settings.gitCredentials.hostAriaLabel":"Host da credencial git {index}","settings.gitCredentials.hostInvalidMessage":"Nome de host simples, ex.: github.com (sem esquema ou caminho).","settings.gitCredentials.hostPlaceholder":"github.com","settings.gitCredentials.maxReached":"Você atingiu o limite de {max} credenciais git. Remova uma para adicionar outra.","settings.gitCredentials.nameLabel":"Nome","settings.gitCredentials.namePlaceholder":"GITHUB_DEPS_PAT","settings.gitCredentials.nameHelperText":"Letras, dígitos, underscore, ponto, hífen.","settings.gitCredentials.noSecretsYet":'Nenhum segredo ainda. Use o "+" para criar um.',"settings.gitCredentials.pickSecretPlaceholder":"Escolha um segredo…","settings.gitCredentials.remove":"Remover","settings.gitCredentials.removeAriaLabel":"Remover credencial git","settings.gitCredentials.saveSecret":"Salvar segredo","settings.gitCredentials.saving":"Salvando…","settings.gitCredentials.secretAriaLabel":"Segredo da credencial git {index}","settings.gitCredentials.scopeLabel":"Escopo","settings.gitCredentials.scopeOrganization":"Organização — visível para todos os membros","settings.gitCredentials.scopePrivate":"Privado — visível apenas para mim","settings.gitCredentials.secretSaved":'Segredo "{name}" salvo',"settings.gitCredentials.tokenExposureWarning":"O token é instalado na configuração git do sandbox durante a sessão, então comandos e agentes executados lá podem usá-lo. Restrinja-o aos repositórios necessários.","settings.gitCredentials.tokenLabel":"Token de acesso pessoal","settings.gitCredentials.tokenPlaceholder":"Cole seu token"},rX={"announcements.ptBr.title":"O Studio agora está em português","announcements.ptBr.description":"Notamos que seu navegador está em português, então mudamos o Studio para português (Brasil). Você pode voltar para o inglês quando quiser nas configurações.","announcements.ptBr.ok":"OK!","announcements.ptBr.switchBack":"Voltar para o inglês","announcements.release.ariaLabel":"Anúncio de lançamento","announcements.release.dismiss":"Dispensar anúncio de lançamento","announcements.release.learnMore":"Saiba mais","announcements.version.ariaLabel":"Atualização do Studio","announcements.version.dismiss":"Dispensar atualização do Studio","announcements.version.eyebrow":"Atualização do Studio","announcements.version.title":"Uma nova versão está pronta","announcements.version.description":"Atualize a página para carregar as novidades do Studio.","announcements.version.currentSession":"Sessão atual · {version}","announcements.version.refresh":"Atualizar agora"},iX={"assets.browser.title":"Assets","assets.browser.bucketLabel":"Bucket: {name}","assets.browser.noBucketTitle":"Nenhum bucket de assets para este site","assets.browser.noBucketDescription":"Configure e associe um bucket compatível com S3 a este site para navegar e enviar assets aqui.","assets.browser.deleteAction":"Excluir","assets.browser.deleteConfirmTitle":"Excluir arquivo?","assets.browser.deleteConfirmDescription":'Excluir permanentemente "{name}" do bucket? Isso não pode ser desfeito.',"assets.browser.deleteCancel":"Cancelar","assets.browser.deleteConfirm":"Excluir","assets.browser.deleted":"Arquivo excluído","assets.browser.deleteFailed":"Falha ao excluir o arquivo"},sX={...mJ,...hJ,...gJ,...fJ,...vJ,...bJ,...yJ,...SJ,...wJ,...TJ,...xJ,..._J,...kJ,...CJ,...PJ,...qJ,...$J,...VJ,...EJ,...AJ,...RJ,...DJ,...OJ,...MJ,...NJ,...IJ,...LJ,...BJ,...FJ,...jJ,...zJ,...UJ,...HJ,...GJ,...WJ,...KJ,...YJ,...ZJ,...QJ,...JJ,...XJ,...eX,...tX,...oX,...aX,...nX,...rX,...iX,...pJ,...uJ},dL={en:dJ,"pt-BR":sX};function Ove(e,t){return cL(dL[uQ()][e],t)}function ar(){const e=Re.c(2),[t]=d_(),o=dL[t.language];let a;return e[0]!==o?(a=(n,i)=>cL(o[n],i),e[0]=o,e[1]=a):a=e[1],a}function uL(e){var t,o,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=uL(e[t]))&&(a&&(a+=" "),a+=o)}else for(o in e)e[o]&&(a&&(a+=" "),a+=o);return a}function u_(){for(var e,t,o=0,a="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=uL(e))&&(a&&(a+=" "),a+=t);return a}const pD=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,mD=u_,p_=(e,t)=>o=>{var a;if(t?.variants==null)return mD(e,o?.class,o?.className);const{variants:n,defaultVariants:i}=t,l=Object.keys(n).map(p=>{const m=o?.[p],h=i?.[p];if(m===null)return null;const f=pD(m)||pD(h);return n[p][f]}),c=o&&Object.entries(o).reduce((p,m)=>{let[h,f]=m;return f===void 0||(p[h]=f),p},{}),d=t==null||(a=t.compoundVariants)===null||a===void 0?void 0:a.reduce((p,m)=>{let{class:h,className:f,...v}=m;return Object.entries(v).every(b=>{let[S,_]=b;return Array.isArray(_)?_.includes({...i,...c}[S]):{...i,...c}[S]===_})?[...p,h,f]:p},[]);return mD(e,l,d,o?.class,o?.className)},lX=(e,t)=>{const o=new Array(e.length+t.length);for(let a=0;a<e.length;a++)o[a]=e[a];for(let a=0;a<t.length;a++)o[e.length+a]=t[a];return o},cX=(e,t)=>({classGroupId:e,validator:t}),pL=(e=new Map,t=null,o)=>({nextPart:e,validators:t,classGroupId:o}),Ef="-",hD=[],dX="arbitrary..",uX=e=>{const t=mX(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return pX(l);const c=l.split(Ef),d=c[0]===""&&c.length>1?1:0;return mL(c,d,t)},getConflictingClassGroupIds:(l,c)=>{if(c){const d=a[l],p=o[l];return d?p?lX(p,d):d:p||hD}return o[l]||hD}}},mL=(e,t,o)=>{if(e.length-t===0)return o.classGroupId;const n=e[t],i=o.nextPart.get(n);if(i){const p=mL(e,t+1,i);if(p)return p}const l=o.validators;if(l===null)return;const c=t===0?e.join(Ef):e.slice(t).join(Ef),d=l.length;for(let p=0;p<d;p++){const m=l[p];if(m.validator(c))return m.classGroupId}},pX=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),o=t.indexOf(":"),a=t.slice(0,o);return a?dX+a:void 0})(),mX=e=>{const{theme:t,classGroups:o}=e;return hX(o,t)},hX=(e,t)=>{const o=pL();for(const a in e){const n=e[a];m_(n,o,a,t)}return o},m_=(e,t,o,a)=>{const n=e.length;for(let i=0;i<n;i++){const l=e[i];gX(l,t,o,a)}},gX=(e,t,o,a)=>{if(typeof e=="string"){fX(e,t,o);return}if(typeof e=="function"){vX(e,t,o,a);return}bX(e,t,o,a)},fX=(e,t,o)=>{const a=e===""?t:hL(t,e);a.classGroupId=o},vX=(e,t,o,a)=>{if(yX(e)){m_(e(a),t,o,a);return}t.validators===null&&(t.validators=[]),t.validators.push(cX(o,e))},bX=(e,t,o,a)=>{const n=Object.entries(e),i=n.length;for(let l=0;l<i;l++){const[c,d]=n[l];m_(d,hL(t,c),o,a)}},hL=(e,t)=>{let o=e;const a=t.split(Ef),n=a.length;for(let i=0;i<n;i++){const l=a[i];let c=o.nextPart.get(l);c||(c=pL(),o.nextPart.set(l,c)),o=c}return o},yX=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,SX=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=Object.create(null),a=Object.create(null);const n=(i,l)=>{o[i]=l,t++,t>e&&(t=0,a=o,o=Object.create(null))};return{get(i){let l=o[i];if(l!==void 0)return l;if((l=a[i])!==void 0)return n(i,l),l},set(i,l){i in o?o[i]=l:n(i,l)}}},aT="!",gD=":",wX=[],fD=(e,t,o,a,n)=>({modifiers:e,hasImportantModifier:t,baseClassName:o,maybePostfixModifierPosition:a,isExternal:n}),TX=e=>{const{prefix:t,experimentalParseClassName:o}=e;let a=n=>{const i=[];let l=0,c=0,d=0,p;const m=n.length;for(let S=0;S<m;S++){const _=n[S];if(l===0&&c===0){if(_===gD){i.push(n.slice(d,S)),d=S+1;continue}if(_==="/"){p=S;continue}}_==="["?l++:_==="]"?l--:_==="("?c++:_===")"&&c--}const h=i.length===0?n:n.slice(d);let f=h,v=!1;h.endsWith(aT)?(f=h.slice(0,-1),v=!0):h.startsWith(aT)&&(f=h.slice(1),v=!0);const b=p&&p>d?p-d:void 0;return fD(i,v,f,b)};if(t){const n=t+gD,i=a;a=l=>l.startsWith(n)?i(l.slice(n.length)):fD(wX,!1,l,void 0,!0)}if(o){const n=a;a=i=>o({className:i,parseClassName:n})}return a},xX=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((o,a)=>{t.set(o,1e6+a)}),o=>{const a=[];let n=[];for(let i=0;i<o.length;i++){const l=o[i],c=l[0]==="[",d=t.has(l);c||d?(n.length>0&&(n.sort(),a.push(...n),n=[]),a.push(l)):n.push(l)}return n.length>0&&(n.sort(),a.push(...n)),a}},_X=e=>({cache:SX(e.cacheSize),parseClassName:TX(e),sortModifiers:xX(e),postfixLookupClassGroupIds:kX(e),...uX(e)}),kX=e=>{const t=Object.create(null),o=e.postfixLookupClassGroups;if(o)for(let a=0;a<o.length;a++)t[o[a]]=!0;return t},CX=/\s+/,PX=(e,t)=>{const{parseClassName:o,getClassGroupId:a,getConflictingClassGroupIds:n,sortModifiers:i,postfixLookupClassGroupIds:l}=t,c=[],d=e.trim().split(CX);let p="";for(let m=d.length-1;m>=0;m-=1){const h=d[m],{isExternal:f,modifiers:v,hasImportantModifier:b,baseClassName:S,maybePostfixModifierPosition:_}=o(h);if(f){p=h+(p.length>0?" "+p:p);continue}let T=!!_,x;if(T){const D=S.substring(0,_);x=a(D);const O=x&&l[x]?a(S):void 0;O&&O!==x&&(x=O,T=!1)}else x=a(S);if(!x){if(!T){p=h+(p.length>0?" "+p:p);continue}if(x=a(S),!x){p=h+(p.length>0?" "+p:p);continue}T=!1}const E=v.length===0?"":v.length===1?v[0]:i(v).join(":"),C=b?E+aT:E,P=C+x;if(c.indexOf(P)>-1)continue;c.push(P);const R=n(x,T);for(let D=0;D<R.length;++D){const O=R[D];c.push(C+O)}p=h+(p.length>0?" "+p:p)}return p},EX=(...e)=>{let t=0,o,a,n="";for(;t<e.length;)(o=e[t++])&&(a=gL(o))&&(n&&(n+=" "),n+=a);return n},gL=e=>{if(typeof e=="string")return e;let t,o="";for(let a=0;a<e.length;a++)e[a]&&(t=gL(e[a]))&&(o&&(o+=" "),o+=t);return o},AX=(e,...t)=>{let o,a,n,i;const l=d=>{const p=t.reduce((m,h)=>h(m),e());return o=_X(p),a=o.cache.get,n=o.cache.set,i=c,c(d)},c=d=>{const p=a(d);if(p)return p;const m=PX(d,o);return n(d,m),m};return i=l,(...d)=>i(EX(...d))},RX=[],ea=e=>{const t=o=>o[e]||RX;return t.isThemeGetter=!0,t},fL=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,vL=/^\((?:(\w[\w-]*):)?(.+)\)$/i,DX=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,OX=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,MX=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,NX=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,IX=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,LX=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ds=e=>DX.test(e),bt=e=>!!e&&!Number.isNaN(Number(e)),Or=e=>!!e&&Number.isInteger(Number(e)),n0=e=>e.endsWith("%")&&bt(e.slice(0,-1)),yi=e=>OX.test(e),bL=()=>!0,BX=e=>MX.test(e)&&!NX.test(e),h_=()=>!1,FX=e=>IX.test(e),jX=e=>LX.test(e),zX=e=>!We(e)&&!Ke(e),UX=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),qX=e=>js(e,wL,h_),We=e=>fL.test(e),ll=e=>js(e,TL,BX),vD=e=>js(e,ZX,bt),$X=e=>js(e,_L,bL),VX=e=>js(e,xL,h_),bD=e=>js(e,yL,h_),HX=e=>js(e,SL,jX),_g=e=>js(e,kL,FX),Ke=e=>vL.test(e),Iu=e=>Bl(e,TL),GX=e=>Bl(e,xL),yD=e=>Bl(e,yL),WX=e=>Bl(e,wL),KX=e=>Bl(e,SL),kg=e=>Bl(e,kL,!0),YX=e=>Bl(e,_L,!0),js=(e,t,o)=>{const a=fL.exec(e);return a?a[1]?t(a[1]):o(a[2]):!1},Bl=(e,t,o=!1)=>{const a=vL.exec(e);return a?a[1]?t(a[1]):o:!1},yL=e=>e==="position"||e==="percentage",SL=e=>e==="image"||e==="url",wL=e=>e==="length"||e==="size"||e==="bg-size",TL=e=>e==="length",ZX=e=>e==="number",xL=e=>e==="family-name",_L=e=>e==="number"||e==="weight",kL=e=>e==="shadow",QX=()=>{const e=ea("color"),t=ea("font"),o=ea("text"),a=ea("font-weight"),n=ea("tracking"),i=ea("leading"),l=ea("breakpoint"),c=ea("container"),d=ea("spacing"),p=ea("radius"),m=ea("shadow"),h=ea("inset-shadow"),f=ea("text-shadow"),v=ea("drop-shadow"),b=ea("blur"),S=ea("perspective"),_=ea("aspect"),T=ea("ease"),x=ea("animate"),E=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],P=()=>[...C(),Ke,We],R=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto","contain","none"],O=()=>[Ke,We,d],L=()=>[ds,"full","auto",...O()],q=()=>[Or,"none","subgrid",Ke,We],B=()=>["auto",{span:["full",Or,Ke,We]},Or,Ke,We],U=()=>[Or,"auto",Ke,We],F=()=>["auto","min","max","fr",Ke,We],W=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ae=()=>["start","end","center","stretch","center-safe","end-safe"],H=()=>["auto",...O()],K=()=>[ds,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...O()],J=()=>[ds,"screen","full","dvw","lvw","svw","min","max","fit",...O()],le=()=>[ds,"screen","full","lh","dvh","lvh","svh","min","max","fit",...O()],Q=()=>[e,Ke,We],N=()=>[...C(),yD,bD,{position:[Ke,We]}],G=()=>["no-repeat",{repeat:["","x","y","space","round"]}],V=()=>["auto","cover","contain",WX,qX,{size:[Ke,We]}],I=()=>[n0,Iu,ll],z=()=>["","none","full",p,Ke,We],X=()=>["",bt,Iu,ll],pe=()=>["solid","dashed","dotted","double"],he=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],_e=()=>[bt,n0,yD,bD],qe=()=>["","none",b,Ke,We],Z=()=>["none",bt,Ke,We],ne=()=>["none",bt,Ke,We],ve=()=>[bt,Ke,We],ie=()=>[ds,"full",...O()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[yi],breakpoint:[yi],color:[bL],container:[yi],"drop-shadow":[yi],ease:["in","out","in-out"],font:[zX],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[yi],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[yi],shadow:[yi],spacing:["px",bt],text:[yi],"text-shadow":[yi],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ds,We,Ke,_]}],container:["container"],"container-type":[{"@container":["","normal","size",Ke,We]}],"container-named":[UX],columns:[{columns:[bt,We,Ke,c]}],"break-after":[{"break-after":E()}],"break-before":[{"break-before":E()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:P()}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:L()}],"inset-x":[{"inset-x":L()}],"inset-y":[{"inset-y":L()}],start:[{"inset-s":L(),start:L()}],end:[{"inset-e":L(),end:L()}],"inset-bs":[{"inset-bs":L()}],"inset-be":[{"inset-be":L()}],top:[{top:L()}],right:[{right:L()}],bottom:[{bottom:L()}],left:[{left:L()}],visibility:["visible","invisible","collapse"],z:[{z:[Or,"auto",Ke,We]}],basis:[{basis:[ds,"full","auto",c,...O()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[bt,ds,"auto","initial","none",We]}],grow:[{grow:["",bt,Ke,We]}],shrink:[{shrink:["",bt,Ke,We]}],order:[{order:[Or,"first","last","none",Ke,We]}],"grid-cols":[{"grid-cols":q()}],"col-start-end":[{col:B()}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":q()}],"row-start-end":[{row:B()}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":F()}],"auto-rows":[{"auto-rows":F()}],gap:[{gap:O()}],"gap-x":[{"gap-x":O()}],"gap-y":[{"gap-y":O()}],"justify-content":[{justify:[...W(),"normal"]}],"justify-items":[{"justify-items":[...ae(),"normal"]}],"justify-self":[{"justify-self":["auto",...ae()]}],"align-content":[{content:["normal",...W()]}],"align-items":[{items:[...ae(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ae(),{baseline:["","last"]}]}],"place-content":[{"place-content":W()}],"place-items":[{"place-items":[...ae(),"baseline"]}],"place-self":[{"place-self":["auto",...ae()]}],p:[{p:O()}],px:[{px:O()}],py:[{py:O()}],ps:[{ps:O()}],pe:[{pe:O()}],pbs:[{pbs:O()}],pbe:[{pbe:O()}],pt:[{pt:O()}],pr:[{pr:O()}],pb:[{pb:O()}],pl:[{pl:O()}],m:[{m:H()}],mx:[{mx:H()}],my:[{my:H()}],ms:[{ms:H()}],me:[{me:H()}],mbs:[{mbs:H()}],mbe:[{mbe:H()}],mt:[{mt:H()}],mr:[{mr:H()}],mb:[{mb:H()}],ml:[{ml:H()}],"space-x":[{"space-x":O()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":O()}],"space-y-reverse":["space-y-reverse"],size:[{size:K()}],"inline-size":[{inline:["auto",...J()]}],"min-inline-size":[{"min-inline":["auto",...J()]}],"max-inline-size":[{"max-inline":["none",...J()]}],"block-size":[{block:["auto",...le()]}],"min-block-size":[{"min-block":["auto",...le()]}],"max-block-size":[{"max-block":["none",...le()]}],w:[{w:[c,"screen",...K()]}],"min-w":[{"min-w":[c,"screen","none",...K()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[l]},...K()]}],h:[{h:["screen","lh",...K()]}],"min-h":[{"min-h":["screen","lh","none",...K()]}],"max-h":[{"max-h":["screen","lh",...K()]}],"font-size":[{text:["base",o,Iu,ll]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[a,YX,$X]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",n0,We]}],"font-family":[{font:[GX,VX,t]}],"font-features":[{"font-features":[We]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,Ke,We]}],"line-clamp":[{"line-clamp":[bt,"none",Ke,vD]}],leading:[{leading:[i,...O()]}],"list-image":[{"list-image":["none",Ke,We]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ke,We]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Q()}],"text-color":[{text:Q()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...pe(),"wavy"]}],"text-decoration-thickness":[{decoration:[bt,"from-font","auto",Ke,ll]}],"text-decoration-color":[{decoration:Q()}],"underline-offset":[{"underline-offset":[bt,"auto",Ke,We]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"tab-size":[{tab:[Or,Ke,We]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ke,We]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ke,We]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:N()}],"bg-repeat":[{bg:G()}],"bg-size":[{bg:V()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Or,Ke,We],radial:["",Ke,We],conic:[Or,Ke,We]},KX,HX]}],"bg-color":[{bg:Q()}],"gradient-from-pos":[{from:I()}],"gradient-via-pos":[{via:I()}],"gradient-to-pos":[{to:I()}],"gradient-from":[{from:Q()}],"gradient-via":[{via:Q()}],"gradient-to":[{to:Q()}],rounded:[{rounded:z()}],"rounded-s":[{"rounded-s":z()}],"rounded-e":[{"rounded-e":z()}],"rounded-t":[{"rounded-t":z()}],"rounded-r":[{"rounded-r":z()}],"rounded-b":[{"rounded-b":z()}],"rounded-l":[{"rounded-l":z()}],"rounded-ss":[{"rounded-ss":z()}],"rounded-se":[{"rounded-se":z()}],"rounded-ee":[{"rounded-ee":z()}],"rounded-es":[{"rounded-es":z()}],"rounded-tl":[{"rounded-tl":z()}],"rounded-tr":[{"rounded-tr":z()}],"rounded-br":[{"rounded-br":z()}],"rounded-bl":[{"rounded-bl":z()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-bs":[{"border-bs":X()}],"border-w-be":[{"border-be":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...pe(),"hidden","none"]}],"divide-style":[{divide:[...pe(),"hidden","none"]}],"border-color":[{border:Q()}],"border-color-x":[{"border-x":Q()}],"border-color-y":[{"border-y":Q()}],"border-color-s":[{"border-s":Q()}],"border-color-e":[{"border-e":Q()}],"border-color-bs":[{"border-bs":Q()}],"border-color-be":[{"border-be":Q()}],"border-color-t":[{"border-t":Q()}],"border-color-r":[{"border-r":Q()}],"border-color-b":[{"border-b":Q()}],"border-color-l":[{"border-l":Q()}],"divide-color":[{divide:Q()}],"outline-style":[{outline:[...pe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[bt,Ke,We]}],"outline-w":[{outline:["",bt,Iu,ll]}],"outline-color":[{outline:Q()}],shadow:[{shadow:["","none",m,kg,_g]}],"shadow-color":[{shadow:Q()}],"inset-shadow":[{"inset-shadow":["none",h,kg,_g]}],"inset-shadow-color":[{"inset-shadow":Q()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Q()}],"ring-offset-w":[{"ring-offset":[bt,ll]}],"ring-offset-color":[{"ring-offset":Q()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":Q()}],"text-shadow":[{"text-shadow":["none",f,kg,_g]}],"text-shadow-color":[{"text-shadow":Q()}],opacity:[{opacity:[bt,Ke,We]}],"mix-blend":[{"mix-blend":[...he(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":he()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[bt]}],"mask-image-linear-from-pos":[{"mask-linear-from":_e()}],"mask-image-linear-to-pos":[{"mask-linear-to":_e()}],"mask-image-linear-from-color":[{"mask-linear-from":Q()}],"mask-image-linear-to-color":[{"mask-linear-to":Q()}],"mask-image-t-from-pos":[{"mask-t-from":_e()}],"mask-image-t-to-pos":[{"mask-t-to":_e()}],"mask-image-t-from-color":[{"mask-t-from":Q()}],"mask-image-t-to-color":[{"mask-t-to":Q()}],"mask-image-r-from-pos":[{"mask-r-from":_e()}],"mask-image-r-to-pos":[{"mask-r-to":_e()}],"mask-image-r-from-color":[{"mask-r-from":Q()}],"mask-image-r-to-color":[{"mask-r-to":Q()}],"mask-image-b-from-pos":[{"mask-b-from":_e()}],"mask-image-b-to-pos":[{"mask-b-to":_e()}],"mask-image-b-from-color":[{"mask-b-from":Q()}],"mask-image-b-to-color":[{"mask-b-to":Q()}],"mask-image-l-from-pos":[{"mask-l-from":_e()}],"mask-image-l-to-pos":[{"mask-l-to":_e()}],"mask-image-l-from-color":[{"mask-l-from":Q()}],"mask-image-l-to-color":[{"mask-l-to":Q()}],"mask-image-x-from-pos":[{"mask-x-from":_e()}],"mask-image-x-to-pos":[{"mask-x-to":_e()}],"mask-image-x-from-color":[{"mask-x-from":Q()}],"mask-image-x-to-color":[{"mask-x-to":Q()}],"mask-image-y-from-pos":[{"mask-y-from":_e()}],"mask-image-y-to-pos":[{"mask-y-to":_e()}],"mask-image-y-from-color":[{"mask-y-from":Q()}],"mask-image-y-to-color":[{"mask-y-to":Q()}],"mask-image-radial":[{"mask-radial":[Ke,We]}],"mask-image-radial-from-pos":[{"mask-radial-from":_e()}],"mask-image-radial-to-pos":[{"mask-radial-to":_e()}],"mask-image-radial-from-color":[{"mask-radial-from":Q()}],"mask-image-radial-to-color":[{"mask-radial-to":Q()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":C()}],"mask-image-conic-pos":[{"mask-conic":[bt]}],"mask-image-conic-from-pos":[{"mask-conic-from":_e()}],"mask-image-conic-to-pos":[{"mask-conic-to":_e()}],"mask-image-conic-from-color":[{"mask-conic-from":Q()}],"mask-image-conic-to-color":[{"mask-conic-to":Q()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:N()}],"mask-repeat":[{mask:G()}],"mask-size":[{mask:V()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ke,We]}],filter:[{filter:["","none",Ke,We]}],blur:[{blur:qe()}],brightness:[{brightness:[bt,Ke,We]}],contrast:[{contrast:[bt,Ke,We]}],"drop-shadow":[{"drop-shadow":["","none",v,kg,_g]}],"drop-shadow-color":[{"drop-shadow":Q()}],grayscale:[{grayscale:["",bt,Ke,We]}],"hue-rotate":[{"hue-rotate":[bt,Ke,We]}],invert:[{invert:["",bt,Ke,We]}],saturate:[{saturate:[bt,Ke,We]}],sepia:[{sepia:["",bt,Ke,We]}],"backdrop-filter":[{"backdrop-filter":["","none",Ke,We]}],"backdrop-blur":[{"backdrop-blur":qe()}],"backdrop-brightness":[{"backdrop-brightness":[bt,Ke,We]}],"backdrop-contrast":[{"backdrop-contrast":[bt,Ke,We]}],"backdrop-grayscale":[{"backdrop-grayscale":["",bt,Ke,We]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[bt,Ke,We]}],"backdrop-invert":[{"backdrop-invert":["",bt,Ke,We]}],"backdrop-opacity":[{"backdrop-opacity":[bt,Ke,We]}],"backdrop-saturate":[{"backdrop-saturate":[bt,Ke,We]}],"backdrop-sepia":[{"backdrop-sepia":["",bt,Ke,We]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":O()}],"border-spacing-x":[{"border-spacing-x":O()}],"border-spacing-y":[{"border-spacing-y":O()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ke,We]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[bt,"initial",Ke,We]}],ease:[{ease:["linear","initial",T,Ke,We]}],delay:[{delay:[bt,Ke,We]}],animate:[{animate:["none",x,Ke,We]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,Ke,We]}],"perspective-origin":[{"perspective-origin":P()}],rotate:[{rotate:Z()}],"rotate-x":[{"rotate-x":Z()}],"rotate-y":[{"rotate-y":Z()}],"rotate-z":[{"rotate-z":Z()}],scale:[{scale:ne()}],"scale-x":[{"scale-x":ne()}],"scale-y":[{"scale-y":ne()}],"scale-z":[{"scale-z":ne()}],"scale-3d":["scale-3d"],skew:[{skew:ve()}],"skew-x":[{"skew-x":ve()}],"skew-y":[{"skew-y":ve()}],transform:[{transform:[Ke,We,"","none","gpu","cpu"]}],"transform-origin":[{origin:P()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ie()}],"translate-x":[{"translate-x":ie()}],"translate-y":[{"translate-y":ie()}],"translate-z":[{"translate-z":ie()}],"translate-none":["translate-none"],zoom:[{zoom:[Or,Ke,We]}],accent:[{accent:Q()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Q()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ke,We]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":Q()}],"scrollbar-track-color":[{"scrollbar-track":Q()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mbs":[{"scroll-mbs":O()}],"scroll-mbe":[{"scroll-mbe":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pbs":[{"scroll-pbs":O()}],"scroll-pbe":[{"scroll-pbe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ke,We]}],fill:[{fill:["none",...Q()]}],"stroke-w":[{stroke:[bt,Iu,ll,vD]}],stroke:[{stroke:["none",...Q()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},CL=AX(QX);function gt(...e){return CL(u_(e))}const JX=p_("animate-spin shrink-0",{variants:{size:{"2xs":"size-3",xs:"size-4",sm:"size-6",default:"size-7",lg:"size-8",icon:"size-6"}},defaultVariants:{size:"default"}});function XX(e){const t=Re.c(11),{size:o,className:a,style:n,label:i}=e;let l;t[0]!==i?(l=i?{role:"status","aria-label":i}:{"aria-hidden":!0},t[0]=i,t[1]=l):l=t[1];let c;t[2]!==a||t[3]!==o?(c=gt(JX({size:o}),a),t[2]=a,t[3]=o,t[4]=c):c=t[4];let d,p;t[5]===Symbol.for("react.memo_cache_sentinel")?(d=w.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor",opacity:"0.2"}),p=w.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentColor"}),t[5]=d,t[6]=p):(d=t[5],p=t[6]);let m;return t[7]!==n||t[8]!==l||t[9]!==c?(m=w.jsxs("svg",{...l,className:c,style:n,viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d,p]}),t[7]=n,t[8]=l,t[9]=c,t[10]=m):m=t[10],m}function Md(){const e=Re.c(4),t=ar();let o;e[0]!==t?(o=t("common.loading"),e[0]=t,e[1]=o):o=e[1];let a;return e[2]!==o?(a=w.jsx("div",{"data-testid":"panel-loading",className:"flex flex-1 h-full w-full items-center justify-center",children:w.jsx(XX,{className:"size-5 text-muted-foreground",label:o})}),e[2]=o,e[3]=a):a=e[3],a}function Mve(e){const t=Re.c(3),{children:o}=e;let a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a=w.jsx(Md,{}),t[0]=a):a=t[0];let n;return t[1]!==o?(n=w.jsx(A.Suspense,{fallback:a,children:o}),t[1]=o,t[2]=n):n=t[2],n}const PL=io([qt(),Ze("chat"),Ze(0)]).optional().transform(e=>e===void 0?void 0:e===!0||e==="chat").catch(void 0),EL=qt().optional().catch(void 0);function SD(e){const t=Re.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=gt("bg-accent animate-pulse rounded-md",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx("div",{"data-slot":"skeleton",className:n,...a}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function wD(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Jp(...e){return t=>{let o=!1;const a=e.map(n=>{const i=wD(n,t);return!o&&typeof i=="function"&&(o=!0),i});if(o)return()=>{for(let n=0;n<a.length;n++){const i=a[n];typeof i=="function"?i():wD(e[n],null)}}}}function sa(...e){return A.useCallback(Jp(...e),e)}var eee=Symbol.for("react.lazy"),Af=Sx[" use ".trim().toString()];function tee(e){return typeof e=="object"&&e!==null&&"then"in e}function AL(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===eee&&"_payload"in e&&tee(e._payload)}function RL(e){const t=oee(e),o=A.forwardRef((a,n)=>{let{children:i,...l}=a;AL(i)&&typeof Af=="function"&&(i=Af(i._payload));const c=A.Children.toArray(i),d=c.find(nee);if(d){const p=d.props.children,m=c.map(h=>h===d?A.Children.count(p)>1?A.Children.only(null):A.isValidElement(p)?p.props.children:null:h);return w.jsx(t,{...l,ref:n,children:A.isValidElement(p)?A.cloneElement(p,void 0,m):null})}return w.jsx(t,{...l,ref:n,children:i})});return o.displayName=`${e}.Slot`,o}var g_=RL("Slot");function oee(e){const t=A.forwardRef((o,a)=>{let{children:n,...i}=o;if(AL(n)&&typeof Af=="function"&&(n=Af(n._payload)),A.isValidElement(n)){const l=iee(n),c=ree(i,n.props);return n.type!==A.Fragment&&(c.ref=a?Jp(a,l):l),A.cloneElement(n,c)}return A.Children.count(n)>1?A.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var aee=Symbol("radix.slottable");function nee(e){return A.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===aee}function ree(e,t){const o={...t};for(const a in t){const n=e[a],i=t[a];/^on[A-Z]/.test(a)?n&&i?o[a]=(...c)=>{const d=i(...c);return n(...c),d}:n&&(o[a]=n):a==="style"?o[a]={...n,...i}:a==="className"&&(o[a]=[n,i].filter(Boolean).join(" "))}return{...e,...o}}function iee(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}const see="bg-[var(--studio-secondary-background)] text-[color:var(--studio-secondary-foreground)] shadow-[var(--studio-secondary-shadow)] hover:bg-[var(--studio-secondary-hover-background)] hover:text-[color:var(--studio-secondary-hover-foreground)]",lee=p_(["relative inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap","rounded-[var(--studio-button-radius)] text-sm font-medium","transition-[background-color,box-shadow,color,opacity] duration-150 ease-[var(--ease-out-cubic)]","active:scale-[0.98] active:transition-none motion-reduce:active:scale-100","focus-ring","disabled:pointer-events-none disabled:opacity-45","[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","aria-invalid:outline-destructive"],{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/85",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90 dark:bg-destructive/70",secondary:see,outline:"bg-[var(--studio-input-background)] text-[color:var(--studio-outline-foreground)] hover:bg-[var(--studio-outline-hover-background)] hover:text-accent-foreground card-shadow",success:"bg-success text-success-foreground hover:bg-success/90",warning:"bg-warning text-warning-foreground hover:bg-warning/90",brand:"bg-brand text-brand-foreground hover:bg-brand/85",special:"bg-special text-special-foreground hover:bg-special/90",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",sidebar:"text-sidebar-foreground hover:bg-sidebar-accent aria-pressed:bg-sidebar-accent [&_svg:not([class*='text-'])]:text-muted-foreground hover:[&_svg:not([class*='text-'])]:text-sidebar-foreground",link:"text-foreground/80 hover:text-foreground",tab:"text-muted-foreground hover:bg-accent hover:text-foreground aria-pressed:bg-card aria-pressed:text-card-foreground aria-pressed:card-shadow aria-[current=page]:bg-card aria-[current=page]:text-card-foreground aria-[current=page]:card-shadow",menu:"w-full justify-start font-normal hover:bg-accent hover:text-accent-foreground"},size:{default:"h-8 px-3.5 has-[>svg]:px-3",sm:"h-7 gap-1.5 px-3 has-[>svg]:px-2.5",xs:"h-6 gap-1 px-2.5 text-xs has-[>svg]:px-2",lg:"h-10 px-4.5 has-[>svg]:px-4",xl:"h-12 px-6 text-base has-[>svg]:px-5",icon:"size-8","icon-sm":"size-7"}},defaultVariants:{variant:"default",size:"default"}});function Ai(e){const t=Re.c(14);let o,a,n,i,l;t[0]!==e?({className:o,variant:l,size:n,asChild:i,...a}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i,t[5]=l):(o=t[1],a=t[2],n=t[3],i=t[4],l=t[5]);const d=(i===void 0?!1:i)?g_:"button";let p;t[6]!==o||t[7]!==n||t[8]!==l?(p=gt(lee({variant:l,size:n,className:o})),t[6]=o,t[7]=n,t[8]=l,t[9]=p):p=t[9];let m;return t[10]!==d||t[11]!==a||t[12]!==p?(m=w.jsx(d,{"data-slot":"button",className:p,...a}),t[10]=d,t[11]=a,t[12]=p,t[13]=m):m=t[13],m}const nT=A.createContext(null);function cee(e){const t=Re.c(18);let o,a,n,i;t[0]!==e?({children:o,className:a,variant:i,...n}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i):(o=t[1],a=t[2],n=t[3],i=t[4]);const l=i===void 0?"card":i;let c;t[5]===Symbol.for("react.memo_cache_sentinel")?(c={left:null,center:null,right:null,"toolbar-left":null,"toolbar-center":null,"toolbar-right":null},t[5]=c):c=t[5];const[d,p]=A.useState(c);let m;t[6]!==d?(m={targets:d,setTargets:p},t[6]=d,t[7]=m):m=t[7];const h=l==="card"&&"rounded-xl card-shadow [transform:translateZ(0)]";let f;t[8]!==a||t[9]!==h?(f=gt("flex h-full min-h-0 min-w-0 flex-col overflow-hidden bg-background",h,a),t[8]=a,t[9]=h,t[10]=f):f=t[10];let v;t[11]!==o||t[12]!==n||t[13]!==f?(v=w.jsx("div",{...n,"data-slot":"panel",className:f,children:o}),t[11]=o,t[12]=n,t[13]=f,t[14]=v):v=t[14];let b;return t[15]!==m||t[16]!==v?(b=w.jsx(nT,{value:m,children:v}),t[15]=m,t[16]=v,t[17]=b):b=t[17],b}function dee(e){const t=Re.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=gt("@container/panel-header relative z-10 flex h-12 shrink-0 items-center justify-between gap-2 px-1.5",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx("header",{...a,"data-slot":"panel-topbar",className:n}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function Dc(e,t){const o=e.startsWith("toolbar-")?`panel-${e}`:`panel-topbar-${e}`;function a(l){const c=Re.c(8);let d,p;c[0]!==l?({className:d,...p}=l,c[0]=l,c[1]=d,c[2]=p):(d=c[1],p=c[2]);let m;c[3]!==d?(m=gt("flex min-w-0 items-center gap-1",t,d),c[3]=d,c[4]=m):m=c[4];let h;return c[5]!==p||c[6]!==m?(h=w.jsx("div",{...p,"data-slot":o,className:m}),c[5]=p,c[6]=m,c[7]=h):h=c[7],h}function n(l){const c=Re.c(16);let d,p,m;c[0]!==l?({className:d,fallback:p,...m}=l,c[0]=l,c[1]=d,c[2]=p,c[3]=m):(d=c[1],p=c[2],m=c[3]);const h=A.use(nT);if(!h)throw new Error("Panel targets require a Panel");const{setTargets:f}=h;let v;c[4]!==f?(v=()=>E=>{if(E)return f(C=>{if(C[e]&&C[e]!==E)throw new Error(`Panel has two targets for ${e}`);return C[e]===E?C:{...C,[e]:E}}),()=>{f(C=>C[e]===E?{...C,[e]:null}:C)}},c[4]=f,c[5]=v):v=c[5];const[b]=A.useState(v);let S;c[6]!==d?(S=gt("peer contents empty:hidden",d),c[6]=d,c[7]=S):S=c[7];let _;c[8]!==m||c[9]!==S?(_=w.jsx("div",{"data-toolbar-content":e.startsWith("toolbar-")?"":void 0,...m,ref:b,"data-slot":`${o}-target`,className:S}),c[8]=m,c[9]=S,c[10]=_):_=c[10];let T;c[11]!==p?(T=p&&w.jsx("div",{className:"hidden peer-empty:contents",children:p}),c[11]=p,c[12]=T):T=c[12];let x;return c[13]!==_||c[14]!==T?(x=w.jsxs(w.Fragment,{children:[_,T]}),c[13]=_,c[14]=T,c[15]=x):x=c[15],x}function i({children:l,fallback:c=null}){const p=A.use(nT)?.targets[e];return p?qp.createPortal(l,p):c}return Object.assign(a,{Target:n,Portal:i})}function uee(e){const t=Re.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=gt("@container/panel-toolbar relative z-10 flex min-h-11 shrink-0 flex-wrap items-center gap-x-2 gap-y-1 px-3 py-1.5 [&:not(:has([data-toolbar-content]:not(:empty)))]:hidden",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx("div",{...a,"data-slot":"panel-toolbar",className:n}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function pee(e){const t=Re.c(11);let o,a,n;t[0]!==e?({className:o,mode:n,...a}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n):(o=t[1],a=t[2],n=t[3]);const i=n===void 0?"canvas":n,l=i==="scroll"?"overflow-auto":"overflow-hidden";let c;t[4]!==o||t[5]!==l?(c=gt("flex min-h-0 min-w-0 flex-1 flex-col",l,o),t[4]=o,t[5]=l,t[6]=c):c=t[6];let d;return t[7]!==i||t[8]!==a||t[9]!==c?(d=w.jsx("div",{...a,"data-slot":"panel-content","data-mode":i,className:c}),t[7]=i,t[8]=a,t[9]=c,t[10]=d):d=t[10],d}const rn=Object.assign(cee,{Topbar:Object.assign(dee,{Left:Dc("left","shrink overflow-hidden"),Center:Dc("center","flex-1 justify-center"),Right:Dc("right","shrink justify-end")}),Toolbar:Object.assign(uee,{Left:Dc("toolbar-left","shrink"),Center:Dc("toolbar-center","flex-1 justify-center"),Right:Dc("toolbar-right","ml-auto shrink-0 justify-end")}),Content:pee});function mt(e,t,{checkForDefaultPrevented:o=!0}={}){return function(n){if(e?.(n),o===!1||!n.defaultPrevented)return t?.(n)}}function mee(e,t){const o=A.createContext(t),a=i=>{const{children:l,...c}=i,d=A.useMemo(()=>c,Object.values(c));return w.jsx(o.Provider,{value:d,children:l})};a.displayName=e+"Provider";function n(i){const l=A.useContext(o);if(l)return l;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[a,n]}function Fl(e,t=[]){let o=[];function a(i,l){const c=A.createContext(l),d=o.length;o=[...o,l];const p=h=>{const{scope:f,children:v,...b}=h,S=f?.[e]?.[d]||c,_=A.useMemo(()=>b,Object.values(b));return w.jsx(S.Provider,{value:_,children:v})};p.displayName=i+"Provider";function m(h,f){const v=f?.[e]?.[d]||c,b=A.useContext(v);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${h}\` must be used within \`${i}\``)}return[p,m]}const n=()=>{const i=o.map(l=>A.createContext(l));return function(c){const d=c?.[e]||i;return A.useMemo(()=>({[`__scope${e}`]:{...c,[e]:d}}),[c,d])}};return n.scopeName=e,[a,hee(n,...t)]}function hee(...e){const t=e[0];if(e.length===1)return t;const o=()=>{const a=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(i){const l=a.reduce((c,{useScope:d,scopeName:p})=>{const h=d(i)[`__scope${p}`];return{...c,...h}},{});return A.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return o.scopeName=t.scopeName,o}var yr=globalThis?.document?A.useLayoutEffect:()=>{},gee=Sx[" useInsertionEffect ".trim().toString()]||yr;function Xp({prop:e,defaultProp:t,onChange:o=()=>{},caller:a}){const[n,i,l]=fee({defaultProp:t,onChange:o}),c=e!==void 0,d=c?e:n;{const m=A.useRef(e!==void 0);A.useEffect(()=>{const h=m.current;h!==c&&console.warn(`${a} is changing from ${h?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),m.current=c},[c,a])}const p=A.useCallback(m=>{if(c){const h=vee(m)?m(e):m;h!==e&&l.current?.(h)}else i(m)},[c,e,i,l]);return[d,p]}function fee({defaultProp:e,onChange:t}){const[o,a]=A.useState(e),n=A.useRef(o),i=A.useRef(t);return gee(()=>{i.current=t},[t]),A.useEffect(()=>{n.current!==o&&(i.current?.(o),n.current=o)},[o,n]),[o,a,i]}function vee(e){return typeof e=="function"}function Pp(e){const t=bee(e),o=A.forwardRef((a,n)=>{const{children:i,...l}=a,c=A.Children.toArray(i),d=c.find(yee);if(d){const p=d.props.children,m=c.map(h=>h===d?A.Children.count(p)>1?A.Children.only(null):A.isValidElement(p)?p.props.children:null:h);return w.jsx(t,{...l,ref:n,children:A.isValidElement(p)?A.cloneElement(p,void 0,m):null})}return w.jsx(t,{...l,ref:n,children:i})});return o.displayName=`${e}.Slot`,o}function bee(e){const t=A.forwardRef((o,a)=>{const{children:n,...i}=o;if(A.isValidElement(n)){const l=wee(n),c=See(i,n.props);return n.type!==A.Fragment&&(c.ref=a?Jp(a,l):l),A.cloneElement(n,c)}return A.Children.count(n)>1?A.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var DL=Symbol("radix.slottable");function Nve(e){const t=({children:o})=>w.jsx(w.Fragment,{children:o});return t.displayName=`${e}.Slottable`,t.__radixId=DL,t}function yee(e){return A.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===DL}function See(e,t){const o={...t};for(const a in t){const n=e[a],i=t[a];/^on[A-Z]/.test(a)?n&&i?o[a]=(...c)=>{const d=i(...c);return n(...c),d}:n&&(o[a]=n):a==="style"?o[a]={...n,...i}:a==="className"&&(o[a]=[n,i].filter(Boolean).join(" "))}return{...e,...o}}function wee(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var Tee=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ro=Tee.reduce((e,t)=>{const o=Pp(`Primitive.${t}`),a=A.forwardRef((n,i)=>{const{asChild:l,...c}=n,d=l?o:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),w.jsx(d,{...c,ref:i})});return a.displayName=`Primitive.${t}`,{...e,[t]:a}},{});function OL(e,t){e&&qp.flushSync(()=>e.dispatchEvent(t))}function ML(e){const t=e+"CollectionProvider",[o,a]=Fl(t),[n,i]=o(t,{collectionRef:{current:null},itemMap:new Map}),l=S=>{const{scope:_,children:T}=S,x=ee.useRef(null),E=ee.useRef(new Map).current;return w.jsx(n,{scope:_,itemMap:E,collectionRef:x,children:T})};l.displayName=t;const c=e+"CollectionSlot",d=Pp(c),p=ee.forwardRef((S,_)=>{const{scope:T,children:x}=S,E=i(c,T),C=sa(_,E.collectionRef);return w.jsx(d,{ref:C,children:x})});p.displayName=c;const m=e+"CollectionItemSlot",h="data-radix-collection-item",f=Pp(m),v=ee.forwardRef((S,_)=>{const{scope:T,children:x,...E}=S,C=ee.useRef(null),P=sa(_,C),R=i(m,T);return ee.useEffect(()=>(R.itemMap.set(C,{ref:C,...E}),()=>{R.itemMap.delete(C)})),w.jsx(f,{[h]:"",ref:P,children:x})});v.displayName=m;function b(S){const _=i(e+"CollectionConsumer",S);return ee.useCallback(()=>{const x=_.collectionRef.current;if(!x)return[];const E=Array.from(x.querySelectorAll(`[${h}]`));return Array.from(_.itemMap.values()).sort((R,D)=>E.indexOf(R.ref.current)-E.indexOf(D.ref.current))},[_.collectionRef,_.itemMap])}return[{Provider:l,Slot:p,ItemSlot:v},b,a]}var xee=A.createContext(void 0);function NL(e){const t=A.useContext(xee);return e||t||"ltr"}function Sr(e){const t=A.useRef(e);return A.useEffect(()=>{t.current=e}),A.useMemo(()=>(...o)=>t.current?.(...o),[])}function _ee(e,t=globalThis?.document){const o=Sr(e);A.useEffect(()=>{const a=n=>{n.key==="Escape"&&o(n)};return t.addEventListener("keydown",a,{capture:!0}),()=>t.removeEventListener("keydown",a,{capture:!0})},[o,t])}var kee="DismissableLayer",rT="dismissableLayer.update",Cee="dismissableLayer.pointerDownOutside",Pee="dismissableLayer.focusOutside",TD,IL=A.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f_=A.forwardRef((e,t)=>{const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:a,onPointerDownOutside:n,onFocusOutside:i,onInteractOutside:l,onDismiss:c,...d}=e,p=A.useContext(IL),[m,h]=A.useState(null),f=m?.ownerDocument??globalThis?.document,[,v]=A.useState({}),b=sa(t,D=>h(D)),S=Array.from(p.layers),[_]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),T=S.indexOf(_),x=m?S.indexOf(m):-1,E=p.layersWithOutsidePointerEventsDisabled.size>0,C=x>=T,P=Ree(D=>{const O=D.target,L=[...p.branches].some(q=>q.contains(O));!C||L||(n?.(D),l?.(D),D.defaultPrevented||c?.())},f),R=Dee(D=>{const O=D.target;[...p.branches].some(q=>q.contains(O))||(i?.(D),l?.(D),D.defaultPrevented||c?.())},f);return _ee(D=>{x===p.layers.size-1&&(a?.(D),!D.defaultPrevented&&c&&(D.preventDefault(),c()))},f),A.useEffect(()=>{if(m)return o&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(TD=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(m)),p.layers.add(m),xD(),()=>{o&&p.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=TD)}},[m,f,o,p]),A.useEffect(()=>()=>{m&&(p.layers.delete(m),p.layersWithOutsidePointerEventsDisabled.delete(m),xD())},[m,p]),A.useEffect(()=>{const D=()=>v({});return document.addEventListener(rT,D),()=>document.removeEventListener(rT,D)},[]),w.jsx(Ro.div,{...d,ref:b,style:{pointerEvents:E?C?"auto":"none":void 0,...e.style},onFocusCapture:mt(e.onFocusCapture,R.onFocusCapture),onBlurCapture:mt(e.onBlurCapture,R.onBlurCapture),onPointerDownCapture:mt(e.onPointerDownCapture,P.onPointerDownCapture)})});f_.displayName=kee;var Eee="DismissableLayerBranch",Aee=A.forwardRef((e,t)=>{const o=A.useContext(IL),a=A.useRef(null),n=sa(t,a);return A.useEffect(()=>{const i=a.current;if(i)return o.branches.add(i),()=>{o.branches.delete(i)}},[o.branches]),w.jsx(Ro.div,{...e,ref:n})});Aee.displayName=Eee;function Ree(e,t=globalThis?.document){const o=Sr(e),a=A.useRef(!1),n=A.useRef(()=>{});return A.useEffect(()=>{const i=c=>{if(c.target&&!a.current){let d=function(){LL(Cee,o,p,{discrete:!0})};const p={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",n.current),n.current=d,t.addEventListener("click",n.current,{once:!0})):d()}else t.removeEventListener("click",n.current);a.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",i),t.removeEventListener("click",n.current)}},[t,o]),{onPointerDownCapture:()=>a.current=!0}}function Dee(e,t=globalThis?.document){const o=Sr(e),a=A.useRef(!1);return A.useEffect(()=>{const n=i=>{i.target&&!a.current&&LL(Pee,o,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",n),()=>t.removeEventListener("focusin",n)},[t,o]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}function xD(){const e=new CustomEvent(rT);document.dispatchEvent(e)}function LL(e,t,o,{discrete:a}){const n=o.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:o});t&&n.addEventListener(e,t,{once:!0}),a?OL(n,i):n.dispatchEvent(i)}var r0=0;function BL(){A.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??_D()),document.body.insertAdjacentElement("beforeend",e[1]??_D()),r0++,()=>{r0===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),r0--}},[])}function _D(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var i0="focusScope.autoFocusOnMount",s0="focusScope.autoFocusOnUnmount",kD={bubbles:!1,cancelable:!0},Oee="FocusScope",v_=A.forwardRef((e,t)=>{const{loop:o=!1,trapped:a=!1,onMountAutoFocus:n,onUnmountAutoFocus:i,...l}=e,[c,d]=A.useState(null),p=Sr(n),m=Sr(i),h=A.useRef(null),f=sa(t,S=>d(S)),v=A.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;A.useEffect(()=>{if(a){let S=function(E){if(v.paused||!c)return;const C=E.target;c.contains(C)?h.current=C:vs(h.current,{select:!0})},_=function(E){if(v.paused||!c)return;const C=E.relatedTarget;C!==null&&(c.contains(C)||vs(h.current,{select:!0}))},T=function(E){if(document.activeElement===document.body)for(const P of E)P.removedNodes.length>0&&vs(c)};document.addEventListener("focusin",S),document.addEventListener("focusout",_);const x=new MutationObserver(T);return c&&x.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",_),x.disconnect()}}},[a,c,v.paused]),A.useEffect(()=>{if(c){PD.add(v);const S=document.activeElement;if(!c.contains(S)){const T=new CustomEvent(i0,kD);c.addEventListener(i0,p),c.dispatchEvent(T),T.defaultPrevented||(Mee(Fee(FL(c)),{select:!0}),document.activeElement===S&&vs(c))}return()=>{c.removeEventListener(i0,p),setTimeout(()=>{const T=new CustomEvent(s0,kD);c.addEventListener(s0,m),c.dispatchEvent(T),T.defaultPrevented||vs(S??document.body,{select:!0}),c.removeEventListener(s0,m),PD.remove(v)},0)}}},[c,p,m,v]);const b=A.useCallback(S=>{if(!o&&!a||v.paused)return;const _=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,T=document.activeElement;if(_&&T){const x=S.currentTarget,[E,C]=Nee(x);E&&C?!S.shiftKey&&T===C?(S.preventDefault(),o&&vs(E,{select:!0})):S.shiftKey&&T===E&&(S.preventDefault(),o&&vs(C,{select:!0})):T===x&&S.preventDefault()}},[o,a,v.paused]);return w.jsx(Ro.div,{tabIndex:-1,...l,ref:f,onKeyDown:b})});v_.displayName=Oee;function Mee(e,{select:t=!1}={}){const o=document.activeElement;for(const a of e)if(vs(a,{select:t}),document.activeElement!==o)return}function Nee(e){const t=FL(e),o=CD(t,e),a=CD(t.reverse(),e);return[o,a]}function FL(e){const t=[],o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const n=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||n?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)t.push(o.currentNode);return t}function CD(e,t){for(const o of e)if(!Iee(o,{upTo:t}))return o}function Iee(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Lee(e){return e instanceof HTMLInputElement&&"select"in e}function vs(e,{select:t=!1}={}){if(e&&e.focus){const o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&Lee(e)&&t&&e.select()}}var PD=Bee();function Bee(){let e=[];return{add(t){const o=e[0];t!==o&&o?.pause(),e=ED(e,t),e.unshift(t)},remove(t){e=ED(e,t),e[0]?.resume()}}}function ED(e,t){const o=[...e],a=o.indexOf(t);return a!==-1&&o.splice(a,1),o}function Fee(e){return e.filter(t=>t.tagName!=="A")}var jee=Sx[" useId ".trim().toString()]||(()=>{}),zee=0;function As(e){const[t,o]=A.useState(jee());return yr(()=>{o(a=>a??String(zee++))},[e]),t?`radix-${t}`:""}const jL=["top","right","bottom","left"],AD=["start","end"],RD=jL.reduce((e,t)=>e.concat(t,t+"-"+AD[0],t+"-"+AD[1]),[]),wr=Math.min,Ma=Math.max,Rf=Math.round,Cg=Math.floor,Vr=e=>({x:e,y:e}),Uee={left:"right",right:"left",bottom:"top",top:"bottom"};function iT(e,t,o){return Ma(e,wr(t,o))}function Tr(e,t){return typeof e=="function"?e(t):e}function Rn(e){return e.split("-")[0]}function vr(e){return e.split("-")[1]}function b_(e){return e==="x"?"y":"x"}function y_(e){return e==="y"?"height":"width"}function fr(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function S_(e){return b_(fr(e))}function zL(e,t,o){o===void 0&&(o=!1);const a=vr(e),n=S_(e),i=y_(n);let l=n==="x"?a===(o?"end":"start")?"right":"left":a==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=Of(l)),[l,Of(l)]}function qee(e){const t=Of(e);return[Df(e),t,Df(t)]}function Df(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const DD=["left","right"],OD=["right","left"],$ee=["top","bottom"],Vee=["bottom","top"];function Hee(e,t,o){switch(e){case"top":case"bottom":return o?t?OD:DD:t?DD:OD;case"left":case"right":return t?$ee:Vee;default:return[]}}function Gee(e,t,o,a){const n=vr(e);let i=Hee(Rn(e),o==="start",a);return n&&(i=i.map(l=>l+"-"+n),t&&(i=i.concat(i.map(Df)))),i}function Of(e){const t=Rn(e);return Uee[t]+e.slice(t.length)}function Wee(e){return{top:0,right:0,bottom:0,left:0,...e}}function w_(e){return typeof e!="number"?Wee(e):{top:e,right:e,bottom:e,left:e}}function yd(e){const{x:t,y:o,width:a,height:n}=e;return{width:a,height:n,top:o,left:t,right:t+a,bottom:o+n,x:t,y:o}}function MD(e,t,o){let{reference:a,floating:n}=e;const i=fr(t),l=S_(t),c=y_(l),d=Rn(t),p=i==="y",m=a.x+a.width/2-n.width/2,h=a.y+a.height/2-n.height/2,f=a[c]/2-n[c]/2;let v;switch(d){case"top":v={x:m,y:a.y-n.height};break;case"bottom":v={x:m,y:a.y+a.height};break;case"right":v={x:a.x+a.width,y:h};break;case"left":v={x:a.x-n.width,y:h};break;default:v={x:a.x,y:a.y}}switch(vr(t)){case"start":v[l]-=f*(o&&p?-1:1);break;case"end":v[l]+=f*(o&&p?-1:1);break}return v}async function Kee(e,t){var o;t===void 0&&(t={});const{x:a,y:n,platform:i,rects:l,elements:c,strategy:d}=e,{boundary:p="clippingAncestors",rootBoundary:m="viewport",elementContext:h="floating",altBoundary:f=!1,padding:v=0}=Tr(t,e),b=w_(v),_=c[f?h==="floating"?"reference":"floating":h],T=yd(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(_)))==null||o?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:p,rootBoundary:m,strategy:d})),x=h==="floating"?{x:a,y:n,width:l.floating.width,height:l.floating.height}:l.reference,E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),C=await(i.isElement==null?void 0:i.isElement(E))?await(i.getScale==null?void 0:i.getScale(E))||{x:1,y:1}:{x:1,y:1},P=yd(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:E,strategy:d}):x);return{top:(T.top-P.top+b.top)/C.y,bottom:(P.bottom-T.bottom+b.bottom)/C.y,left:(T.left-P.left+b.left)/C.x,right:(P.right-T.right+b.right)/C.x}}const Yee=50,Zee=async(e,t,o)=>{const{placement:a="bottom",strategy:n="absolute",middleware:i=[],platform:l}=o,c=l.detectOverflow?l:{...l,detectOverflow:Kee},d=await(l.isRTL==null?void 0:l.isRTL(t));let p=await l.getElementRects({reference:e,floating:t,strategy:n}),{x:m,y:h}=MD(p,a,d),f=a,v=0;const b={};for(let S=0;S<i.length;S++){const _=i[S];if(!_)continue;const{name:T,fn:x}=_,{x:E,y:C,data:P,reset:R}=await x({x:m,y:h,initialPlacement:a,placement:f,strategy:n,middlewareData:b,rects:p,platform:c,elements:{reference:e,floating:t}});m=E??m,h=C??h,b[T]={...b[T],...P},R&&v<Yee&&(v++,typeof R=="object"&&(R.placement&&(f=R.placement),R.rects&&(p=R.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:n}):R.rects),{x:m,y:h}=MD(p,f,d)),S=-1)}return{x:m,y:h,placement:f,strategy:n,middlewareData:b}},Qee=e=>({name:"arrow",options:e,async fn(t){const{x:o,y:a,placement:n,rects:i,platform:l,elements:c,middlewareData:d}=t,{element:p,padding:m=0}=Tr(e,t)||{};if(p==null)return{};const h=w_(m),f={x:o,y:a},v=S_(n),b=y_(v),S=await l.getDimensions(p),_=v==="y",T=_?"top":"left",x=_?"bottom":"right",E=_?"clientHeight":"clientWidth",C=i.reference[b]+i.reference[v]-f[v]-i.floating[b],P=f[v]-i.reference[v],R=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p));let D=R?R[E]:0;(!D||!await(l.isElement==null?void 0:l.isElement(R)))&&(D=c.floating[E]||i.floating[b]);const O=C/2-P/2,L=D/2-S[b]/2-1,q=wr(h[T],L),B=wr(h[x],L),U=q,F=D-S[b]-B,W=D/2-S[b]/2+O,ae=iT(U,W,F),H=!d.arrow&&vr(n)!=null&&W!==ae&&i.reference[b]/2-(W<U?q:B)-S[b]/2<0,K=H?W<U?W-U:W-F:0;return{[v]:f[v]+K,data:{[v]:ae,centerOffset:W-ae-K,...H&&{alignmentOffset:K}},reset:H}}});function Jee(e,t,o){return(e?[...o.filter(n=>vr(n)===e),...o.filter(n=>vr(n)!==e)]:o.filter(n=>Rn(n)===n)).filter(n=>e?vr(n)===e||(t?Df(n)!==n:!1):!0)}const Xee=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,a,n;const{rects:i,middlewareData:l,placement:c,platform:d,elements:p}=t,{crossAxis:m=!1,alignment:h,allowedPlacements:f=RD,autoAlignment:v=!0,...b}=Tr(e,t),S=h!==void 0||f===RD?Jee(h||null,v,f):f,_=await d.detectOverflow(t,b),T=((o=l.autoPlacement)==null?void 0:o.index)||0,x=S[T];if(x==null)return{};const E=zL(x,i,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(c!==x)return{reset:{placement:S[0]}};const C=[_[Rn(x)],_[E[0]],_[E[1]]],P=[...((a=l.autoPlacement)==null?void 0:a.overflows)||[],{placement:x,overflows:C}],R=S[T+1];if(R)return{data:{index:T+1,overflows:P},reset:{placement:R}};const D=P.map(q=>{const B=vr(q.placement);return[q.placement,B&&m?q.overflows.slice(0,2).reduce((U,F)=>U+F,0):q.overflows[0],q.overflows]}).sort((q,B)=>q[1]-B[1]),L=((n=D.filter(q=>q[2].slice(0,vr(q[0])?2:3).every(B=>B<=0))[0])==null?void 0:n[0])||D[0][0];return L!==c?{data:{index:T+1,overflows:P},reset:{placement:L}}:{}}}},ete=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,a;const{placement:n,middlewareData:i,rects:l,initialPlacement:c,platform:d,elements:p}=t,{mainAxis:m=!0,crossAxis:h=!0,fallbackPlacements:f,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:S=!0,..._}=Tr(e,t);if((o=i.arrow)!=null&&o.alignmentOffset)return{};const T=Rn(n),x=fr(c),E=Rn(c)===c,C=await(d.isRTL==null?void 0:d.isRTL(p.floating)),P=f||(E||!S?[Of(c)]:qee(c)),R=b!=="none";!f&&R&&P.push(...Gee(c,S,b,C));const D=[c,...P],O=await d.detectOverflow(t,_),L=[];let q=((a=i.flip)==null?void 0:a.overflows)||[];if(m&&L.push(O[T]),h){const W=zL(n,l,C);L.push(O[W[0]],O[W[1]])}if(q=[...q,{placement:n,overflows:L}],!L.every(W=>W<=0)){var B,U;const W=(((B=i.flip)==null?void 0:B.index)||0)+1,ae=D[W];if(ae&&(!(h==="alignment"?x!==fr(ae):!1)||q.every(J=>fr(J.placement)===x?J.overflows[0]>0:!0)))return{data:{index:W,overflows:q},reset:{placement:ae}};let H=(U=q.filter(K=>K.overflows[0]<=0).sort((K,J)=>K.overflows[1]-J.overflows[1])[0])==null?void 0:U.placement;if(!H)switch(v){case"bestFit":{var F;const K=(F=q.filter(J=>{if(R){const le=fr(J.placement);return le===x||le==="y"}return!0}).map(J=>[J.placement,J.overflows.filter(le=>le>0).reduce((le,Q)=>le+Q,0)]).sort((J,le)=>J[1]-le[1])[0])==null?void 0:F[0];K&&(H=K);break}case"initialPlacement":H=c;break}if(n!==H)return{reset:{placement:H}}}return{}}}};function ND(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ID(e){return jL.some(t=>e[t]>=0)}const tte=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:o,platform:a}=t,{strategy:n="referenceHidden",...i}=Tr(e,t);switch(n){case"referenceHidden":{const l=await a.detectOverflow(t,{...i,elementContext:"reference"}),c=ND(l,o.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:ID(c)}}}case"escaped":{const l=await a.detectOverflow(t,{...i,altBoundary:!0}),c=ND(l,o.floating);return{data:{escapedOffsets:c,escaped:ID(c)}}}default:return{}}}}};function UL(e){const t=wr(...e.map(i=>i.left)),o=wr(...e.map(i=>i.top)),a=Ma(...e.map(i=>i.right)),n=Ma(...e.map(i=>i.bottom));return{x:t,y:o,width:a-t,height:n-o}}function ote(e){const t=e.slice().sort((n,i)=>n.y-i.y),o=[];let a=null;for(let n=0;n<t.length;n++){const i=t[n];!a||i.y-a.y>a.height/2?o.push([i]):o[o.length-1].push(i),a=i}return o.map(n=>yd(UL(n)))}const ate=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){const{placement:o,elements:a,rects:n,platform:i,strategy:l}=t,{padding:c=2,x:d,y:p}=Tr(e,t),m=Array.from(await(i.getClientRects==null?void 0:i.getClientRects(a.reference))||[]),h=ote(m),f=yd(UL(m)),v=w_(c);function b(){if(h.length===2&&h[0].left>h[1].right&&d!=null&&p!=null)return h.find(_=>d>_.left-v.left&&d<_.right+v.right&&p>_.top-v.top&&p<_.bottom+v.bottom)||f;if(h.length>=2){if(fr(o)==="y"){const q=h[0],B=h[h.length-1],U=Rn(o)==="top",F=q.top,W=B.bottom,ae=U?q.left:B.left,H=U?q.right:B.right,K=H-ae,J=W-F;return{top:F,bottom:W,left:ae,right:H,width:K,height:J,x:ae,y:F}}const _=Rn(o)==="left",T=Ma(...h.map(q=>q.right)),x=wr(...h.map(q=>q.left)),E=h.filter(q=>_?q.left===x:q.right===T),C=E[0].top,P=E[E.length-1].bottom,R=x,D=T,O=D-R,L=P-C;return{top:C,bottom:P,left:R,right:D,width:O,height:L,x:R,y:C}}return f}const S=await i.getElementRects({reference:{getBoundingClientRect:b},floating:a.floating,strategy:l});return n.reference.x!==S.reference.x||n.reference.y!==S.reference.y||n.reference.width!==S.reference.width||n.reference.height!==S.reference.height?{reset:{rects:S}}:{}}}},qL=new Set(["left","top"]);async function nte(e,t){const{placement:o,platform:a,elements:n}=e,i=await(a.isRTL==null?void 0:a.isRTL(n.floating)),l=Rn(o),c=vr(o),d=fr(o)==="y",p=qL.has(l)?-1:1,m=i&&d?-1:1,h=Tr(t,e);let{mainAxis:f,crossAxis:v,alignmentAxis:b}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof b=="number"&&(v=c==="end"?b*-1:b),d?{x:v*m,y:f*p}:{x:f*p,y:v*m}}const rte=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,a;const{x:n,y:i,placement:l,middlewareData:c}=t,d=await nte(t,e);return l===((o=c.offset)==null?void 0:o.placement)&&(a=c.arrow)!=null&&a.alignmentOffset?{}:{x:n+d.x,y:i+d.y,data:{...d,placement:l}}}}},ite=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:a,placement:n,platform:i}=t,{mainAxis:l=!0,crossAxis:c=!1,limiter:d={fn:T=>{let{x,y:E}=T;return{x,y:E}}},...p}=Tr(e,t),m={x:o,y:a},h=await i.detectOverflow(t,p),f=fr(Rn(n)),v=b_(f);let b=m[v],S=m[f];if(l){const T=v==="y"?"top":"left",x=v==="y"?"bottom":"right",E=b+h[T],C=b-h[x];b=iT(E,b,C)}if(c){const T=f==="y"?"top":"left",x=f==="y"?"bottom":"right",E=S+h[T],C=S-h[x];S=iT(E,S,C)}const _=d.fn({...t,[v]:b,[f]:S});return{..._,data:{x:_.x-o,y:_.y-a,enabled:{[v]:l,[f]:c}}}}}},ste=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:o,y:a,placement:n,rects:i,middlewareData:l}=t,{offset:c=0,mainAxis:d=!0,crossAxis:p=!0}=Tr(e,t),m={x:o,y:a},h=fr(n),f=b_(h);let v=m[f],b=m[h];const S=Tr(c,t),_=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(d){const E=f==="y"?"height":"width",C=i.reference[f]-i.floating[E]+_.mainAxis,P=i.reference[f]+i.reference[E]-_.mainAxis;v<C?v=C:v>P&&(v=P)}if(p){var T,x;const E=f==="y"?"width":"height",C=qL.has(Rn(n)),P=i.reference[h]-i.floating[E]+(C&&((T=l.offset)==null?void 0:T[h])||0)+(C?0:_.crossAxis),R=i.reference[h]+i.reference[E]+(C?0:((x=l.offset)==null?void 0:x[h])||0)-(C?_.crossAxis:0);b<P?b=P:b>R&&(b=R)}return{[f]:v,[h]:b}}}},lte=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var o,a;const{placement:n,rects:i,platform:l,elements:c}=t,{apply:d=()=>{},...p}=Tr(e,t),m=await l.detectOverflow(t,p),h=Rn(n),f=vr(n),v=fr(n)==="y",{width:b,height:S}=i.floating;let _,T;h==="top"||h==="bottom"?(_=h,T=f===(await(l.isRTL==null?void 0:l.isRTL(c.floating))?"start":"end")?"left":"right"):(T=h,_=f==="end"?"top":"bottom");const x=S-m.top-m.bottom,E=b-m.left-m.right,C=wr(S-m[_],x),P=wr(b-m[T],E),R=!t.middlewareData.shift;let D=C,O=P;if((o=t.middlewareData.shift)!=null&&o.enabled.x&&(O=E),(a=t.middlewareData.shift)!=null&&a.enabled.y&&(D=x),R&&!f){const q=Ma(m.left,0),B=Ma(m.right,0),U=Ma(m.top,0),F=Ma(m.bottom,0);v?O=b-2*(q!==0||B!==0?q+B:Ma(m.left,m.right)):D=S-2*(U!==0||F!==0?U+F:Ma(m.top,m.bottom))}await d({...t,availableWidth:O,availableHeight:D});const L=await l.getDimensions(c.floating);return b!==L.width||S!==L.height?{reset:{rects:!0}}:{}}}};function Mv(){return typeof window<"u"}function Nd(e){return $L(e)?(e.nodeName||"").toLowerCase():"#document"}function En(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Gr(e){var t;return(t=($L(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function $L(e){return Mv()?e instanceof Node||e instanceof En(e).Node:!1}function xr(e){return Mv()?e instanceof Element||e instanceof En(e).Element:!1}function Oi(e){return Mv()?e instanceof HTMLElement||e instanceof En(e).HTMLElement:!1}function LD(e){return!Mv()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof En(e).ShadowRoot}function em(e){const{overflow:t,overflowX:o,overflowY:a,display:n}=_r(e);return/auto|scroll|overlay|hidden|clip/.test(t+a+o)&&n!=="inline"&&n!=="contents"}function cte(e){return/^(table|td|th)$/.test(Nd(e))}function Nv(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const dte=/transform|translate|scale|rotate|perspective|filter/,ute=/paint|layout|strict|content/,cl=e=>!!e&&e!=="none";let l0;function T_(e){const t=xr(e)?_r(e):e;return cl(t.transform)||cl(t.translate)||cl(t.scale)||cl(t.rotate)||cl(t.perspective)||!x_()&&(cl(t.backdropFilter)||cl(t.filter))||dte.test(t.willChange||"")||ute.test(t.contain||"")}function pte(e){let t=Ns(e);for(;Oi(t)&&!Sd(t);){if(T_(t))return t;if(Nv(t))return null;t=Ns(t)}return null}function x_(){return l0==null&&(l0=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),l0}function Sd(e){return/^(html|body|#document)$/.test(Nd(e))}function _r(e){return En(e).getComputedStyle(e)}function Iv(e){return xr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ns(e){if(Nd(e)==="html")return e;const t=e.assignedSlot||e.parentNode||LD(e)&&e.host||Gr(e);return LD(t)?t.host:t}function VL(e){const t=Ns(e);return Sd(t)?e.ownerDocument?e.ownerDocument.body:e.body:Oi(t)&&em(t)?t:VL(t)}function Ep(e,t,o){var a;t===void 0&&(t=[]),o===void 0&&(o=!0);const n=VL(e),i=n===((a=e.ownerDocument)==null?void 0:a.body),l=En(n);if(i){const c=sT(l);return t.concat(l,l.visualViewport||[],em(n)?n:[],c&&o?Ep(c):[])}else return t.concat(n,Ep(n,[],o))}function sT(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function HL(e){const t=_r(e);let o=parseFloat(t.width)||0,a=parseFloat(t.height)||0;const n=Oi(e),i=n?e.offsetWidth:o,l=n?e.offsetHeight:a,c=Rf(o)!==i||Rf(a)!==l;return c&&(o=i,a=l),{width:o,height:a,$:c}}function __(e){return xr(e)?e:e.contextElement}function rd(e){const t=__(e);if(!Oi(t))return Vr(1);const o=t.getBoundingClientRect(),{width:a,height:n,$:i}=HL(t);let l=(i?Rf(o.width):o.width)/a,c=(i?Rf(o.height):o.height)/n;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}const mte=Vr(0);function GL(e){const t=En(e);return!x_()||!t.visualViewport?mte:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function hte(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==En(e)?!1:t}function El(e,t,o,a){t===void 0&&(t=!1),o===void 0&&(o=!1);const n=e.getBoundingClientRect(),i=__(e);let l=Vr(1);t&&(a?xr(a)&&(l=rd(a)):l=rd(e));const c=hte(i,o,a)?GL(i):Vr(0);let d=(n.left+c.x)/l.x,p=(n.top+c.y)/l.y,m=n.width/l.x,h=n.height/l.y;if(i){const f=En(i),v=a&&xr(a)?En(a):a;let b=f,S=sT(b);for(;S&&a&&v!==b;){const _=rd(S),T=S.getBoundingClientRect(),x=_r(S),E=T.left+(S.clientLeft+parseFloat(x.paddingLeft))*_.x,C=T.top+(S.clientTop+parseFloat(x.paddingTop))*_.y;d*=_.x,p*=_.y,m*=_.x,h*=_.y,d+=E,p+=C,b=En(S),S=sT(b)}}return yd({width:m,height:h,x:d,y:p})}function Lv(e,t){const o=Iv(e).scrollLeft;return t?t.left+o:El(Gr(e)).left+o}function WL(e,t){const o=e.getBoundingClientRect(),a=o.left+t.scrollLeft-Lv(e,o),n=o.top+t.scrollTop;return{x:a,y:n}}function gte(e){let{elements:t,rect:o,offsetParent:a,strategy:n}=e;const i=n==="fixed",l=Gr(a),c=t?Nv(t.floating):!1;if(a===l||c&&i)return o;let d={scrollLeft:0,scrollTop:0},p=Vr(1);const m=Vr(0),h=Oi(a);if((h||!h&&!i)&&((Nd(a)!=="body"||em(l))&&(d=Iv(a)),h)){const v=El(a);p=rd(a),m.x=v.x+a.clientLeft,m.y=v.y+a.clientTop}const f=l&&!h&&!i?WL(l,d):Vr(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-d.scrollLeft*p.x+m.x+f.x,y:o.y*p.y-d.scrollTop*p.y+m.y+f.y}}function fte(e){return Array.from(e.getClientRects())}function vte(e){const t=Gr(e),o=Iv(e),a=e.ownerDocument.body,n=Ma(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),i=Ma(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight);let l=-o.scrollLeft+Lv(e);const c=-o.scrollTop;return _r(a).direction==="rtl"&&(l+=Ma(t.clientWidth,a.clientWidth)-n),{width:n,height:i,x:l,y:c}}const BD=25;function bte(e,t){const o=En(e),a=Gr(e),n=o.visualViewport;let i=a.clientWidth,l=a.clientHeight,c=0,d=0;if(n){i=n.width,l=n.height;const m=x_();(!m||m&&t==="fixed")&&(c=n.offsetLeft,d=n.offsetTop)}const p=Lv(a);if(p<=0){const m=a.ownerDocument,h=m.body,f=getComputedStyle(h),v=m.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,b=Math.abs(a.clientWidth-h.clientWidth-v);b<=BD&&(i-=b)}else p<=BD&&(i+=p);return{width:i,height:l,x:c,y:d}}function yte(e,t){const o=El(e,!0,t==="fixed"),a=o.top+e.clientTop,n=o.left+e.clientLeft,i=Oi(e)?rd(e):Vr(1),l=e.clientWidth*i.x,c=e.clientHeight*i.y,d=n*i.x,p=a*i.y;return{width:l,height:c,x:d,y:p}}function FD(e,t,o){let a;if(t==="viewport")a=bte(e,o);else if(t==="document")a=vte(Gr(e));else if(xr(t))a=yte(t,o);else{const n=GL(e);a={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return yd(a)}function KL(e,t){const o=Ns(e);return o===t||!xr(o)||Sd(o)?!1:_r(o).position==="fixed"||KL(o,t)}function Ste(e,t){const o=t.get(e);if(o)return o;let a=Ep(e,[],!1).filter(c=>xr(c)&&Nd(c)!=="body"),n=null;const i=_r(e).position==="fixed";let l=i?Ns(e):e;for(;xr(l)&&!Sd(l);){const c=_r(l),d=T_(l);!d&&c.position==="fixed"&&(n=null),(i?!d&&!n:!d&&c.position==="static"&&!!n&&(n.position==="absolute"||n.position==="fixed")||em(l)&&!d&&KL(e,l))?a=a.filter(m=>m!==l):n=c,l=Ns(l)}return t.set(e,a),a}function wte(e){let{element:t,boundary:o,rootBoundary:a,strategy:n}=e;const l=[...o==="clippingAncestors"?Nv(t)?[]:Ste(t,this._c):[].concat(o),a],c=FD(t,l[0],n);let d=c.top,p=c.right,m=c.bottom,h=c.left;for(let f=1;f<l.length;f++){const v=FD(t,l[f],n);d=Ma(v.top,d),p=wr(v.right,p),m=wr(v.bottom,m),h=Ma(v.left,h)}return{width:p-h,height:m-d,x:h,y:d}}function Tte(e){const{width:t,height:o}=HL(e);return{width:t,height:o}}function xte(e,t,o){const a=Oi(t),n=Gr(t),i=o==="fixed",l=El(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const d=Vr(0);function p(){d.x=Lv(n)}if(a||!a&&!i)if((Nd(t)!=="body"||em(n))&&(c=Iv(t)),a){const v=El(t,!0,i,t);d.x=v.x+t.clientLeft,d.y=v.y+t.clientTop}else n&&p();i&&!a&&n&&p();const m=n&&!a&&!i?WL(n,c):Vr(0),h=l.left+c.scrollLeft-d.x-m.x,f=l.top+c.scrollTop-d.y-m.y;return{x:h,y:f,width:l.width,height:l.height}}function c0(e){return _r(e).position==="static"}function jD(e,t){if(!Oi(e)||_r(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return Gr(e)===o&&(o=o.ownerDocument.body),o}function YL(e,t){const o=En(e);if(Nv(e))return o;if(!Oi(e)){let n=Ns(e);for(;n&&!Sd(n);){if(xr(n)&&!c0(n))return n;n=Ns(n)}return o}let a=jD(e,t);for(;a&&cte(a)&&c0(a);)a=jD(a,t);return a&&Sd(a)&&c0(a)&&!T_(a)?o:a||pte(e)||o}const _te=async function(e){const t=this.getOffsetParent||YL,o=this.getDimensions,a=await o(e.floating);return{reference:xte(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function kte(e){return _r(e).direction==="rtl"}const Cte={convertOffsetParentRelativeRectToViewportRelativeRect:gte,getDocumentElement:Gr,getClippingRect:wte,getOffsetParent:YL,getElementRects:_te,getClientRects:fte,getDimensions:Tte,getScale:rd,isElement:xr,isRTL:kte};function ZL(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Pte(e,t){let o=null,a;const n=Gr(e);function i(){var c;clearTimeout(a),(c=o)==null||c.disconnect(),o=null}function l(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),i();const p=e.getBoundingClientRect(),{left:m,top:h,width:f,height:v}=p;if(c||t(),!f||!v)return;const b=Cg(h),S=Cg(n.clientWidth-(m+f)),_=Cg(n.clientHeight-(h+v)),T=Cg(m),E={rootMargin:-b+"px "+-S+"px "+-_+"px "+-T+"px",threshold:Ma(0,wr(1,d))||1};let C=!0;function P(R){const D=R[0].intersectionRatio;if(D!==d){if(!C)return l();D?l(!1,D):a=setTimeout(()=>{l(!1,1e-7)},1e3)}D===1&&!ZL(p,e.getBoundingClientRect())&&l(),C=!1}try{o=new IntersectionObserver(P,{...E,root:n.ownerDocument})}catch{o=new IntersectionObserver(P,E)}o.observe(e)}return l(!0),i}function Ete(e,t,o,a){a===void 0&&(a={});const{ancestorScroll:n=!0,ancestorResize:i=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:d=!1}=a,p=__(e),m=n||i?[...p?Ep(p):[],...t?Ep(t):[]]:[];m.forEach(T=>{n&&T.addEventListener("scroll",o,{passive:!0}),i&&T.addEventListener("resize",o)});const h=p&&c?Pte(p,o):null;let f=-1,v=null;l&&(v=new ResizeObserver(T=>{let[x]=T;x&&x.target===p&&v&&t&&(v.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var E;(E=v)==null||E.observe(t)})),o()}),p&&!d&&v.observe(p),t&&v.observe(t));let b,S=d?El(e):null;d&&_();function _(){const T=El(e);S&&!ZL(S,T)&&o(),S=T,b=requestAnimationFrame(_)}return o(),()=>{var T;m.forEach(x=>{n&&x.removeEventListener("scroll",o),i&&x.removeEventListener("resize",o)}),h?.(),(T=v)==null||T.disconnect(),v=null,d&&cancelAnimationFrame(b)}}const Ate=rte,Ive=Xee,Rte=ite,Dte=ete,Ote=lte,Mte=tte,zD=Qee,Lve=ate,Nte=ste,Ite=(e,t,o)=>{const a=new Map,n={platform:Cte,...o},i={...n.platform,_c:a};return Zee(e,t,{...n,platform:i})};var Lte=typeof document<"u",Bte=function(){},Xg=Lte?A.useLayoutEffect:Bte;function Mf(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let o,a,n;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(o=e.length,o!==t.length)return!1;for(a=o;a--!==0;)if(!Mf(e[a],t[a]))return!1;return!0}if(n=Object.keys(e),o=n.length,o!==Object.keys(t).length)return!1;for(a=o;a--!==0;)if(!{}.hasOwnProperty.call(t,n[a]))return!1;for(a=o;a--!==0;){const i=n[a];if(!(i==="_owner"&&e.$$typeof)&&!Mf(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function QL(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function UD(e,t){const o=QL(e);return Math.round(t*o)/o}function d0(e){const t=A.useRef(e);return Xg(()=>{t.current=e}),t}function Fte(e){e===void 0&&(e={});const{placement:t="bottom",strategy:o="absolute",middleware:a=[],platform:n,elements:{reference:i,floating:l}={},transform:c=!0,whileElementsMounted:d,open:p}=e,[m,h]=A.useState({x:0,y:0,strategy:o,placement:t,middlewareData:{},isPositioned:!1}),[f,v]=A.useState(a);Mf(f,a)||v(a);const[b,S]=A.useState(null),[_,T]=A.useState(null),x=A.useCallback(J=>{J!==R.current&&(R.current=J,S(J))},[]),E=A.useCallback(J=>{J!==D.current&&(D.current=J,T(J))},[]),C=i||b,P=l||_,R=A.useRef(null),D=A.useRef(null),O=A.useRef(m),L=d!=null,q=d0(d),B=d0(n),U=d0(p),F=A.useCallback(()=>{if(!R.current||!D.current)return;const J={placement:t,strategy:o,middleware:f};B.current&&(J.platform=B.current),Ite(R.current,D.current,J).then(le=>{const Q={...le,isPositioned:U.current!==!1};W.current&&!Mf(O.current,Q)&&(O.current=Q,qp.flushSync(()=>{h(Q)}))})},[f,t,o,B,U]);Xg(()=>{p===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,h(J=>({...J,isPositioned:!1})))},[p]);const W=A.useRef(!1);Xg(()=>(W.current=!0,()=>{W.current=!1}),[]),Xg(()=>{if(C&&(R.current=C),P&&(D.current=P),C&&P){if(q.current)return q.current(C,P,F);F()}},[C,P,F,q,L]);const ae=A.useMemo(()=>({reference:R,floating:D,setReference:x,setFloating:E}),[x,E]),H=A.useMemo(()=>({reference:C,floating:P}),[C,P]),K=A.useMemo(()=>{const J={position:o,left:0,top:0};if(!H.floating)return J;const le=UD(H.floating,m.x),Q=UD(H.floating,m.y);return c?{...J,transform:"translate("+le+"px, "+Q+"px)",...QL(H.floating)>=1.5&&{willChange:"transform"}}:{position:o,left:le,top:Q}},[o,c,H.floating,m.x,m.y]);return A.useMemo(()=>({...m,update:F,refs:ae,elements:H,floatingStyles:K}),[m,F,ae,H,K])}const jte=e=>{function t(o){return{}.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){const{element:a,padding:n}=typeof e=="function"?e(o):e;return a&&t(a)?a.current!=null?zD({element:a.current,padding:n}).fn(o):{}:a?zD({element:a,padding:n}).fn(o):{}}}},zte=(e,t)=>{const o=Ate(e);return{name:o.name,fn:o.fn,options:[e,t]}},Ute=(e,t)=>{const o=Rte(e);return{name:o.name,fn:o.fn,options:[e,t]}},qte=(e,t)=>({fn:Nte(e).fn,options:[e,t]}),$te=(e,t)=>{const o=Dte(e);return{name:o.name,fn:o.fn,options:[e,t]}},Vte=(e,t)=>{const o=Ote(e);return{name:o.name,fn:o.fn,options:[e,t]}},Hte=(e,t)=>{const o=Mte(e);return{name:o.name,fn:o.fn,options:[e,t]}},Gte=(e,t)=>{const o=jte(e);return{name:o.name,fn:o.fn,options:[e,t]}};var Wte="Arrow",JL=A.forwardRef((e,t)=>{const{children:o,width:a=10,height:n=5,...i}=e;return w.jsx(Ro.svg,{...i,ref:t,width:a,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?o:w.jsx("polygon",{points:"0,0 30,0 15,10"})})});JL.displayName=Wte;var Kte=JL;function XL(e){const[t,o]=A.useState(void 0);return yr(()=>{if(e){o({width:e.offsetWidth,height:e.offsetHeight});const a=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;const i=n[0];let l,c;if("borderBoxSize"in i){const d=i.borderBoxSize,p=Array.isArray(d)?d[0]:d;l=p.inlineSize,c=p.blockSize}else l=e.offsetWidth,c=e.offsetHeight;o({width:l,height:c})});return a.observe(e,{box:"border-box"}),()=>a.unobserve(e)}else o(void 0)},[e]),t}var k_="Popper",[eB,tB]=Fl(k_),[Yte,oB]=eB(k_),aB=e=>{const{__scopePopper:t,children:o}=e,[a,n]=A.useState(null);return w.jsx(Yte,{scope:t,anchor:a,onAnchorChange:n,children:o})};aB.displayName=k_;var nB="PopperAnchor",rB=A.forwardRef((e,t)=>{const{__scopePopper:o,virtualRef:a,...n}=e,i=oB(nB,o),l=A.useRef(null),c=sa(t,l),d=A.useRef(null);return A.useEffect(()=>{const p=d.current;d.current=a?.current||l.current,p!==d.current&&i.onAnchorChange(d.current)}),a?null:w.jsx(Ro.div,{...n,ref:c})});rB.displayName=nB;var C_="PopperContent",[Zte,Qte]=eB(C_),iB=A.forwardRef((e,t)=>{const{__scopePopper:o,side:a="bottom",sideOffset:n=0,align:i="center",alignOffset:l=0,arrowPadding:c=0,avoidCollisions:d=!0,collisionBoundary:p=[],collisionPadding:m=0,sticky:h="partial",hideWhenDetached:f=!1,updatePositionStrategy:v="optimized",onPlaced:b,...S}=e,_=oB(C_,o),[T,x]=A.useState(null),E=sa(t,pe=>x(pe)),[C,P]=A.useState(null),R=XL(C),D=R?.width??0,O=R?.height??0,L=a+(i!=="center"?"-"+i:""),q=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},B=Array.isArray(p)?p:[p],U=B.length>0,F={padding:q,boundary:B.filter(Xte),altBoundary:U},{refs:W,floatingStyles:ae,placement:H,isPositioned:K,middlewareData:J}=Fte({strategy:"fixed",placement:L,whileElementsMounted:(...pe)=>Ete(...pe,{animationFrame:v==="always"}),elements:{reference:_.anchor},middleware:[zte({mainAxis:n+O,alignmentAxis:l}),d&&Ute({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?qte():void 0,...F}),d&&$te({...F}),Vte({...F,apply:({elements:pe,rects:he,availableWidth:_e,availableHeight:qe})=>{const{width:Z,height:ne}=he.reference,ve=pe.floating.style;ve.setProperty("--radix-popper-available-width",`${_e}px`),ve.setProperty("--radix-popper-available-height",`${qe}px`),ve.setProperty("--radix-popper-anchor-width",`${Z}px`),ve.setProperty("--radix-popper-anchor-height",`${ne}px`)}}),C&&Gte({element:C,padding:c}),eoe({arrowWidth:D,arrowHeight:O}),f&&Hte({strategy:"referenceHidden",...F})]}),[le,Q]=cB(H),N=Sr(b);yr(()=>{K&&N?.()},[K,N]);const G=J.arrow?.x,V=J.arrow?.y,I=J.arrow?.centerOffset!==0,[z,X]=A.useState();return yr(()=>{T&&X(window.getComputedStyle(T).zIndex)},[T]),w.jsx("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...ae,transform:K?ae.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:z,"--radix-popper-transform-origin":[J.transformOrigin?.x,J.transformOrigin?.y].join(" "),...J.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:w.jsx(Zte,{scope:o,placedSide:le,onArrowChange:P,arrowX:G,arrowY:V,shouldHideArrow:I,children:w.jsx(Ro.div,{"data-side":le,"data-align":Q,...S,ref:E,style:{...S.style,animation:K?void 0:"none"}})})})});iB.displayName=C_;var sB="PopperArrow",Jte={top:"bottom",right:"left",bottom:"top",left:"right"},lB=A.forwardRef(function(t,o){const{__scopePopper:a,...n}=t,i=Qte(sB,a),l=Jte[i.placedSide];return w.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:w.jsx(Kte,{...n,ref:o,style:{...n.style,display:"block"}})})});lB.displayName=sB;function Xte(e){return e!==null}var eoe=e=>({name:"transformOrigin",options:e,fn(t){const{placement:o,rects:a,middlewareData:n}=t,l=n.arrow?.centerOffset!==0,c=l?0:e.arrowWidth,d=l?0:e.arrowHeight,[p,m]=cB(o),h={start:"0%",center:"50%",end:"100%"}[m],f=(n.arrow?.x??0)+c/2,v=(n.arrow?.y??0)+d/2;let b="",S="";return p==="bottom"?(b=l?h:`${f}px`,S=`${-d}px`):p==="top"?(b=l?h:`${f}px`,S=`${a.floating.height+d}px`):p==="right"?(b=`${-d}px`,S=l?h:`${v}px`):p==="left"&&(b=`${a.floating.width+d}px`,S=l?h:`${v}px`),{data:{x:b,y:S}}}});function cB(e){const[t,o="center"]=e.split("-");return[t,o]}var dB=aB,toe=rB,ooe=iB,aoe=lB,noe="Portal",P_=A.forwardRef((e,t)=>{const{container:o,...a}=e,[n,i]=A.useState(!1);yr(()=>i(!0),[]);const l=o||n&&globalThis?.document?.body;return l?CM.createPortal(w.jsx(Ro.div,{...a,ref:t}),l):null});P_.displayName=noe;function roe(e,t){return A.useReducer((o,a)=>t[o][a]??o,e)}var Mi=e=>{const{present:t,children:o}=e,a=ioe(t),n=typeof o=="function"?o({present:a.isPresent}):A.Children.only(o),i=sa(a.ref,soe(n));return typeof o=="function"||a.isPresent?A.cloneElement(n,{ref:i}):null};Mi.displayName="Presence";function ioe(e){const[t,o]=A.useState(),a=A.useRef(null),n=A.useRef(e),i=A.useRef("none"),l=e?"mounted":"unmounted",[c,d]=roe(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return A.useEffect(()=>{const p=Pg(a.current);i.current=c==="mounted"?p:"none"},[c]),yr(()=>{const p=a.current,m=n.current;if(m!==e){const f=i.current,v=Pg(p);e?d("MOUNT"):v==="none"||p?.display==="none"?d("UNMOUNT"):d(m&&f!==v?"ANIMATION_OUT":"UNMOUNT"),n.current=e}},[e,d]),yr(()=>{if(t){let p;const m=t.ownerDocument.defaultView??window,h=v=>{const S=Pg(a.current).includes(CSS.escape(v.animationName));if(v.target===t&&S&&(d("ANIMATION_END"),!n.current)){const _=t.style.animationFillMode;t.style.animationFillMode="forwards",p=m.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=_)})}},f=v=>{v.target===t&&(i.current=Pg(a.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{m.clearTimeout(p),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:A.useCallback(p=>{a.current=p?getComputedStyle(p):null,o(p)},[])}}function Pg(e){return e?.animationName||"none"}function soe(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var u0="rovingFocusGroup.onEntryFocus",loe={bubbles:!1,cancelable:!0},tm="RovingFocusGroup",[lT,uB,coe]=ML(tm),[doe,pB]=Fl(tm,[coe]),[uoe,poe]=doe(tm),mB=A.forwardRef((e,t)=>w.jsx(lT.Provider,{scope:e.__scopeRovingFocusGroup,children:w.jsx(lT.Slot,{scope:e.__scopeRovingFocusGroup,children:w.jsx(moe,{...e,ref:t})})}));mB.displayName=tm;var moe=A.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:o,orientation:a,loop:n=!1,dir:i,currentTabStopId:l,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:d,onEntryFocus:p,preventScrollOnEntryFocus:m=!1,...h}=e,f=A.useRef(null),v=sa(t,f),b=NL(i),[S,_]=Xp({prop:l,defaultProp:c??null,onChange:d,caller:tm}),[T,x]=A.useState(!1),E=Sr(p),C=uB(o),P=A.useRef(!1),[R,D]=A.useState(0);return A.useEffect(()=>{const O=f.current;if(O)return O.addEventListener(u0,E),()=>O.removeEventListener(u0,E)},[E]),w.jsx(uoe,{scope:o,orientation:a,dir:b,loop:n,currentTabStopId:S,onItemFocus:A.useCallback(O=>_(O),[_]),onItemShiftTab:A.useCallback(()=>x(!0),[]),onFocusableItemAdd:A.useCallback(()=>D(O=>O+1),[]),onFocusableItemRemove:A.useCallback(()=>D(O=>O-1),[]),children:w.jsx(Ro.div,{tabIndex:T||R===0?-1:0,"data-orientation":a,...h,ref:v,style:{outline:"none",...e.style},onMouseDown:mt(e.onMouseDown,()=>{P.current=!0}),onFocus:mt(e.onFocus,O=>{const L=!P.current;if(O.target===O.currentTarget&&L&&!T){const q=new CustomEvent(u0,loe);if(O.currentTarget.dispatchEvent(q),!q.defaultPrevented){const B=C().filter(H=>H.focusable),U=B.find(H=>H.active),F=B.find(H=>H.id===S),ae=[U,F,...B].filter(Boolean).map(H=>H.ref.current);fB(ae,m)}}P.current=!1}),onBlur:mt(e.onBlur,()=>x(!1))})})}),hB="RovingFocusGroupItem",gB=A.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:o,focusable:a=!0,active:n=!1,tabStopId:i,children:l,...c}=e,d=As(),p=i||d,m=poe(hB,o),h=m.currentTabStopId===p,f=uB(o),{onFocusableItemAdd:v,onFocusableItemRemove:b,currentTabStopId:S}=m;return A.useEffect(()=>{if(a)return v(),()=>b()},[a,v,b]),w.jsx(lT.ItemSlot,{scope:o,id:p,focusable:a,active:n,children:w.jsx(Ro.span,{tabIndex:h?0:-1,"data-orientation":m.orientation,...c,ref:t,onMouseDown:mt(e.onMouseDown,_=>{a?m.onItemFocus(p):_.preventDefault()}),onFocus:mt(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:mt(e.onKeyDown,_=>{if(_.key==="Tab"&&_.shiftKey){m.onItemShiftTab();return}if(_.target!==_.currentTarget)return;const T=foe(_,m.orientation,m.dir);if(T!==void 0){if(_.metaKey||_.ctrlKey||_.altKey||_.shiftKey)return;_.preventDefault();let E=f().filter(C=>C.focusable).map(C=>C.ref.current);if(T==="last")E.reverse();else if(T==="prev"||T==="next"){T==="prev"&&E.reverse();const C=E.indexOf(_.currentTarget);E=m.loop?voe(E,C+1):E.slice(C+1)}setTimeout(()=>fB(E))}}),children:typeof l=="function"?l({isCurrentTabStop:h,hasTabStop:S!=null}):l})})});gB.displayName=hB;var hoe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function goe(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function foe(e,t,o){const a=goe(e.key,o);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(a))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(a)))return hoe[a]}function fB(e,t=!1){const o=document.activeElement;for(const a of e)if(a===o||(a.focus({preventScroll:t}),document.activeElement!==o))return}function voe(e,t){return e.map((o,a)=>e[(t+a)%e.length])}var boe=mB,yoe=gB,Soe=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Oc=new WeakMap,Eg=new WeakMap,Ag={},p0=0,vB=function(e){return e&&(e.host||vB(e.parentNode))},woe=function(e,t){return t.map(function(o){if(e.contains(o))return o;var a=vB(o);return a&&e.contains(a)?a:(console.error("aria-hidden",o,"in not contained inside",e,". Doing nothing"),null)}).filter(function(o){return!!o})},Toe=function(e,t,o,a){var n=woe(t,Array.isArray(e)?e:[e]);Ag[o]||(Ag[o]=new WeakMap);var i=Ag[o],l=[],c=new Set,d=new Set(n),p=function(h){!h||c.has(h)||(c.add(h),p(h.parentNode))};n.forEach(p);var m=function(h){!h||d.has(h)||Array.prototype.forEach.call(h.children,function(f){if(c.has(f))m(f);else try{var v=f.getAttribute(a),b=v!==null&&v!=="false",S=(Oc.get(f)||0)+1,_=(i.get(f)||0)+1;Oc.set(f,S),i.set(f,_),l.push(f),S===1&&b&&Eg.set(f,!0),_===1&&f.setAttribute(o,"true"),b||f.setAttribute(a,"true")}catch(T){console.error("aria-hidden: cannot operate on ",f,T)}})};return m(t),c.clear(),p0++,function(){l.forEach(function(h){var f=Oc.get(h)-1,v=i.get(h)-1;Oc.set(h,f),i.set(h,v),f||(Eg.has(h)||h.removeAttribute(a),Eg.delete(h)),v||h.removeAttribute(o)}),p0--,p0||(Oc=new WeakMap,Oc=new WeakMap,Eg=new WeakMap,Ag={})}},bB=function(e,t,o){o===void 0&&(o="data-aria-hidden");var a=Array.from(Array.isArray(e)?e:[e]),n=Soe(e);return n?(a.push.apply(a,Array.from(n.querySelectorAll("[aria-live], script"))),Toe(a,n,o,"aria-hidden")):function(){return null}},zr=function(){return zr=Object.assign||function(t){for(var o,a=1,n=arguments.length;a<n;a++){o=arguments[a];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},zr.apply(this,arguments)};function yB(e,t){var o={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(o[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(e);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(o[a[n]]=e[a[n]]);return o}function xoe(e,t,o){if(o||arguments.length===2)for(var a=0,n=t.length,i;a<n;a++)(i||!(a in t))&&(i||(i=Array.prototype.slice.call(t,0,a)),i[a]=t[a]);return e.concat(i||Array.prototype.slice.call(t))}var ef="right-scroll-bar-position",tf="width-before-scroll-bar",_oe="with-scroll-bars-hidden",koe="--removed-body-scroll-bar-size";function m0(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Coe(e,t){var o=A.useState(function(){return{value:e,callback:t,facade:{get current(){return o.value},set current(a){var n=o.value;n!==a&&(o.value=a,o.callback(a,n))}}}})[0];return o.callback=t,o.facade}var Poe=typeof window<"u"?A.useLayoutEffect:A.useEffect,qD=new WeakMap;function Eoe(e,t){var o=Coe(null,function(a){return e.forEach(function(n){return m0(n,a)})});return Poe(function(){var a=qD.get(o);if(a){var n=new Set(a),i=new Set(e),l=o.current;n.forEach(function(c){i.has(c)||m0(c,null)}),i.forEach(function(c){n.has(c)||m0(c,l)})}qD.set(o,e)},[e]),o}function Aoe(e){return e}function Roe(e,t){t===void 0&&(t=Aoe);var o=[],a=!1,n={read:function(){if(a)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:e},useMedium:function(i){var l=t(i,a);return o.push(l),function(){o=o.filter(function(c){return c!==l})}},assignSyncMedium:function(i){for(a=!0;o.length;){var l=o;o=[],l.forEach(i)}o={push:function(c){return i(c)},filter:function(){return o}}},assignMedium:function(i){a=!0;var l=[];if(o.length){var c=o;o=[],c.forEach(i),l=o}var d=function(){var m=l;l=[],m.forEach(i)},p=function(){return Promise.resolve().then(d)};p(),o={push:function(m){l.push(m),p()},filter:function(m){return l=l.filter(m),o}}}};return n}function Doe(e){e===void 0&&(e={});var t=Roe(null);return t.options=zr({async:!0,ssr:!1},e),t}var SB=function(e){var t=e.sideCar,o=yB(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var a=t.read();if(!a)throw new Error("Sidecar medium not found");return A.createElement(a,zr({},o))};SB.isSideCarExport=!0;function Ooe(e,t){return e.useMedium(t),SB}var wB=Doe(),h0=function(){},Bv=A.forwardRef(function(e,t){var o=A.useRef(null),a=A.useState({onScrollCapture:h0,onWheelCapture:h0,onTouchMoveCapture:h0}),n=a[0],i=a[1],l=e.forwardProps,c=e.children,d=e.className,p=e.removeScrollBar,m=e.enabled,h=e.shards,f=e.sideCar,v=e.noRelative,b=e.noIsolation,S=e.inert,_=e.allowPinchZoom,T=e.as,x=T===void 0?"div":T,E=e.gapMode,C=yB(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=f,R=Eoe([o,t]),D=zr(zr({},C),n);return A.createElement(A.Fragment,null,m&&A.createElement(P,{sideCar:wB,removeScrollBar:p,shards:h,noRelative:v,noIsolation:b,inert:S,setCallbacks:i,allowPinchZoom:!!_,lockRef:o,gapMode:E}),l?A.cloneElement(A.Children.only(c),zr(zr({},D),{ref:R})):A.createElement(x,zr({},D,{className:d,ref:R}),c))});Bv.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Bv.classNames={fullWidth:tf,zeroRight:ef};var Moe=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Noe(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Moe();return t&&e.setAttribute("nonce",t),e}function Ioe(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Loe(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Boe=function(){var e=0,t=null;return{add:function(o){e==0&&(t=Noe())&&(Ioe(t,o),Loe(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Foe=function(){var e=Boe();return function(t,o){A.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&o])}},TB=function(){var e=Foe(),t=function(o){var a=o.styles,n=o.dynamic;return e(a,n),null};return t},joe={left:0,top:0,right:0,gap:0},g0=function(e){return parseInt(e||"",10)||0},zoe=function(e){var t=window.getComputedStyle(document.body),o=t[e==="padding"?"paddingLeft":"marginLeft"],a=t[e==="padding"?"paddingTop":"marginTop"],n=t[e==="padding"?"paddingRight":"marginRight"];return[g0(o),g0(a),g0(n)]},Uoe=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return joe;var t=zoe(e),o=document.documentElement.clientWidth,a=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,a-o+t[2]-t[0])}},qoe=TB(),id="data-scroll-locked",$oe=function(e,t,o,a){var n=e.left,i=e.top,l=e.right,c=e.gap;return o===void 0&&(o="margin"),`
127
+ Este site ainda não reporta sections de post — quando reportar, cite elas aqui com @.`,"sandbox.formats.starterName":"Post padrão","sandbox.formats.suggestButton":"Sugerir formatos","sandbox.formats.suggestFailed":"Não foi possível sugerir formatos","sandbox.formats.suggestHint":"Nomear os formatos em que este blog já escreve, a partir de como os posts são montados","sandbox.formats.suggested":"{count} formato(s) adicionado(s)","sandbox.formats.unknownCitations":"Este formato cita sections que o site não tem: {names}","sandbox.generatePost.stepCampaign":"Campanha","sandbox.generatePost.campaignHint":"Um post é escrito para uma campanha: é ela que carrega o momento, os produtos que podem ser citados e os links deles.","sandbox.generatePost.noCampaigns":"Nenhuma campanha para escrever ainda. Crie uma em Contexto → Campanhas.","sandbox.generatePost.campaignProducts":"{count} produto(s)","sandbox.generatePost.campaignNoProducts":"Sem produtos","sandbox.generatePost.formatBlocksHint":"Os blocos que este formato cita são os únicos que o post pode usar, e cada um é preenchido conforme o schema dele.","sandbox.generatePost.countLabel":"Quantos rascunhos","sandbox.generatePost.countHint":"Cada um pega um ângulo diferente da mesma campanha. Caem como cartões separados.","sandbox.generatePost.coverHint":"Todo rascunho ganha uma imagem de capa, gerada e enviada para o seu bucket.","sandbox.generatePost.gapNoStoreData":"Nenhum sistema conectado respondeu, então nada nestes posts foi conferido com a loja.","sandbox.generatePost.gapSectionsDropped":"{count} seção(ões) foram descartadas: os props não bateram com o bloco que as renderiza.","sandbox.generatePost.gapNoBucket":"Nenhum bucket para enviar imagens, então os posts estão sem capa. Configure um em Configurações → Buckets.","sandbox.generatePost.gapNoImageModel":"Esta organização não tem modelo de imagem configurado, então os posts estão sem capa.","sandbox.generatePost.gapImagesFailed":"As imagens de capa não puderam ser geradas. Os posts estão completos no resto.","sandbox.generatePost.gapDraftsFailed":"{count} rascunho(s) não puderam ser escritos e os cartões ficaram vazios.","sandbox.generatePost.back":"Voltar","sandbox.generatePost.blockedBrand":"Preencha {fields} na aba Marca primeiro — um post escrito sem isso parece o de qualquer outra marca.","sandbox.generatePost.done":"Escrevi {count} rascunho(s) — prontos para revisão","sandbox.generatePost.extraLabel":"Mais alguma coisa?","sandbox.generatePost.extraPlaceholder":"O que você quer além de tudo isso, nas suas palavras.","sandbox.generatePost.failed":"Não consegui escrever estes posts","sandbox.generatePost.formatHint":"Escolha um formato que a marca já usa, ou descreva um novo.","sandbox.generatePost.formatNameLabel":"Nome do formato","sandbox.generatePost.formatNamePlaceholder":"O formato, nomeado pelo trabalho que faz","sandbox.generatePost.formatValueLabel":"Como um post assim é construído","sandbox.generatePost.formatValuePlaceholder":"Como ele abre, desenvolve e fecha.","sandbox.generatePost.generate":"Gerar {count} rascunho(s)","sandbox.generatePost.next":"Avançar","sandbox.generatePost.stepExtra":"Instruções","sandbox.generatePost.stepFormat":"Formato","sandbox.generatePost.subtitle":"Escolha a campanha e o formato. Os posts caem no quadro como rascunhos.","sandbox.generatePost.title":"Gerar posts","sandbox.itemActions.addVariant":"Adicionar variante","sandbox.itemActions.delete":"Excluir","sandbox.itemActions.duplicate":"Duplicar","sandbox.itemActions.editSeo":"Editar SEO","sandbox.itemActions.moreActions":"Mais ações","sandbox.itemActions.rename":"Renomear","sandbox.itemActions.viewJson":"Visualizar JSON","sandbox.itemRow.duplicateName":"Outro registro usa esse nome","sandbox.itemRow.missingFields":"Faltando: {fields}","sandbox.itemRow.selectItem":"Selecionar {title}","sandbox.itemRow.variantCount":"{count} variantes","sandbox.listBlocks.addCard":"Adicionar card","sandbox.listBlocks.addItem":"Adicionar item","sandbox.listBlocks.addStat":"Adicionar estatística","sandbox.listBlocks.addStep":"Adicionar passo","sandbox.listBlocks.cardBody":"Corpo do card","sandbox.listBlocks.cardTitle":"Título do card","sandbox.listBlocks.checklistItem":"Item da checklist","sandbox.listBlocks.checklistTitle":"Título da checklist (opcional)","sandbox.listBlocks.columnTitle":"Título da coluna","sandbox.listBlocks.item":"Item","sandbox.listBlocks.label":"Rótulo","sandbox.listBlocks.optionA":"Opção A","sandbox.listBlocks.optionB":"Opção B","sandbox.listBlocks.removeCard":"Remover card","sandbox.listBlocks.removeItem":"Remover item","sandbox.listBlocks.removeStat":"Remover estatística","sandbox.listBlocks.removeStep":"Remover passo","sandbox.listBlocks.statValuePlaceholder":"99%","sandbox.listBlocks.stepDescription":"Descrição do passo","sandbox.listBlocks.stepTitle":"Título do passo","sandbox.listBlocks.stepsTitle":"Título dos passos (opcional)","sandbox.mediaBlocks.addCaption":"Adicione uma legenda…","sandbox.mediaBlocks.altText":"Texto alternativo (acessibilidade)","sandbox.mediaBlocks.altLabel":"Alt","sandbox.mediaBlocks.buttonLabel":"Rótulo do botão","sandbox.mediaBlocks.calloutText":"Texto do destaque…","sandbox.mediaBlocks.calloutTitle":"Título do destaque","sandbox.mediaBlocks.destinationUrlPlaceholder":"https://url-de-destino.com","sandbox.linkSuggest.button":"Sugerir links","sandbox.linkSuggest.hint":"Encontrar trechos para linkar com seus outros posts (usa créditos de IA)","sandbox.linkSuggest.noCandidates":"Ainda não há outros posts para linkar","sandbox.linkSuggest.title":"Links internos sugeridos","sandbox.linkSuggest.description":"Escolha quais trechos linkar com seus outros posts. Nada muda até você aplicar.","sandbox.linkSuggest.none":"Nenhum link interno para sugerir.","sandbox.linkSuggest.apply":"Aplicar {count}","sandbox.linkSuggest.applied":"{count} link(s) aplicado(s)","sandbox.linkSuggest.failed":"Não foi possível sugerir links","sandbox.linkPicker.tabPost":"Post","sandbox.linkPicker.tabProduct":"Produto","sandbox.linkPicker.searchPosts":"Buscar seus posts…","sandbox.linkPicker.noPosts":"Nenhum post encontrado","sandbox.linkPicker.searchProducts":"Buscar no seu catálogo…","sandbox.linkPicker.searching":"Buscando…","sandbox.linkPicker.noProducts":"Nenhum produto encontrado","sandbox.mediaBlocks.divider":"Divisor","sandbox.mediaBlocks.fullWidth":"Largura total","sandbox.mediaBlocks.highPriority":"Prioridade","sandbox.mediaBlocks.highPriorityHint":"Carrega de imediato e com prioridade alta. Use em imagens acima da dobra.","sandbox.mediaBlocks.label":"Rótulo","sandbox.mediaBlocks.normal":"Normal","sandbox.mediaBlocks.optionalDescription":"Descrição opcional","sandbox.mediaBlocks.pasteVideoUrl":"Cole uma URL do YouTube ou Vimeo para visualizar","sandbox.mediaBlocks.statValuePlaceholder":"42%","sandbox.mediaBlocks.video":"Vídeo","sandbox.mediaBlocks.videoUrlPlaceholder":"https://youtube.com/watch?v=…","sandbox.pageFormDialog.buttonCancel":"Cancelar","sandbox.pageFormDialog.labelName":"Nome","sandbox.pageFormDialog.labelPath":"Caminho","sandbox.pageFormDialog.labelTemplate":"Modelo","sandbox.pageFormDialog.pendingCreate":"Criando…","sandbox.pageFormDialog.pendingDuplicate":"Duplicando…","sandbox.pageFormDialog.pendingSave":"Salvando…","sandbox.pageFormDialog.placeholderName":"Minha página","sandbox.pageFormDialog.placeholderPath":"/exemplo","sandbox.pageFormDialog.submitCreate":"Criar","sandbox.pageFormDialog.submitDuplicate":"Duplicar","sandbox.pageFormDialog.submitSave":"Salvar","sandbox.pageFormDialog.titleCreate":"Criar nova página","sandbox.pageFormDialog.titleDuplicate":"Duplicar página","sandbox.pageFormDialog.titleRename":"Renomear página","sandbox.pathParamPickerChip.buttonTitle":"Valor para {paramLabel} — clique para escolher","sandbox.pathParamPickerChip.couldNotLoad":"Não foi possível carregar — o servidor de desenvolvimento está rodando?","sandbox.pathParamPickerChip.kindCategoryHeading":"Categorias","sandbox.pathParamPickerChip.kindCategoryNoun":"categoria","sandbox.pathParamPickerChip.kindProductHeading":"Produtos","sandbox.pathParamPickerChip.kindProductNoun":"produto","sandbox.pathParamPickerChip.loading":"Carregando {noun}…","sandbox.pathParamPickerChip.noResults":"Nenhum resultado.","sandbox.pathParamPickerChip.pickValueHeading":"Escolha um valor para","sandbox.pathParamPickerChip.pickValueTitle":"Escolha um valor para {paramLabel}","sandbox.pathParamPickerChip.searchPlaceholder":"Procurar {options} ou digite um valor…","sandbox.pathParamPickerChip.useRawValue":'Usar "{rawTerm}" como {paramLabel}',"sandbox.plainBlocks.bulletedLabel":"Com marcadores","sandbox.plainBlocks.codePlaceholder":"Código","sandbox.plainBlocks.headingLevel1":"Título 1","sandbox.plainBlocks.headingLevel2":"Título 2","sandbox.plainBlocks.headingLevel3":"Título 3","sandbox.plainBlocks.headingLevel4":"Título 4","sandbox.plainBlocks.headingPlaceholder":"Título","sandbox.plainBlocks.languagePlaceholder":"linguagem","sandbox.plainBlocks.listItemPlaceholder":"Item de lista","sandbox.plainBlocks.numberedLabel":"Numerada","sandbox.plainBlocks.quotePlaceholder":"Citação","sandbox.postBoard.close":"Fechar","sandbox.postBoard.archived":"Movido para Arquivado","sandbox.postBoard.collapse":"Recolher para o painel","sandbox.postBoard.collapseLane":"Recolher {lane}","sandbox.postBoard.delete":"Excluir","sandbox.postBoard.emptyDescription":"Gere algumas ideias e transforme-as em posts publicados.","sandbox.postBoard.emptyTitle":"Nenhum post ainda","sandbox.postBoard.duplicateTitle":"Título duplicado","sandbox.postBoard.expand":"Expandir para página inteira","sandbox.postBoard.expandLane":"Expandir {lane}","sandbox.postBoard.laneEmpty":"Nada aqui ainda","sandbox.postBoard.laneArchived":"Arquivado","sandbox.postBoard.laneGenerating":"Gerando","sandbox.postBoard.laneDraft":"Rascunho","sandbox.postBoard.laneAwaitingReview":"Aguardando revisão","sandbox.postBoard.lanePublished":"Publicado","sandbox.postBoard.laneScheduled":"Agendado","sandbox.postBoard.moveBlocked":"Este post está sem campos obrigatórios — abra-o para concluir antes de agendar.","sandbox.postBoard.moveFailed":"Não foi possível mover este post","sandbox.postBoard.moveInFlight":"Ainda movendo este post…","sandbox.postBoard.moveNotATarget":"Gerando é definido pela geração, não à mão.","sandbox.postBoard.nIssues":"{count} a corrigir antes de agendar","sandbox.postBoard.newPost":"Novo post","sandbox.postBoard.newPostGenerate":"Gerar","sandbox.postBoard.newPostGenerateHint":"Escrever com IA, a partir do seu contexto","sandbox.postBoard.newPostWrite":"Escrever","sandbox.postBoard.newPostWriteHint":"Começar um rascunho vazio você mesmo","sandbox.postBoard.importContent":"Importar conteúdo","sandbox.postBoard.importContentHint":"Traga o HTML ou Markdown que você já escreveu","sandbox.postBoard.importTitle":"Importar conteúdo","sandbox.postBoard.importDescription":"Cole o HTML ou Markdown que você já escreveu. Vira um rascunho editável no seu design system — sem IA, sem créditos.","sandbox.postBoard.importUpload":"Enviar um arquivo","sandbox.postBoard.importRun":"Importar","sandbox.postBoard.importEmpty":"Nada para importar — o conteúdo estava vazio.","sandbox.postBoard.imported":"Importado — revise e publique.","sandbox.postBoard.readyToSchedule":"Pronto para agendar","sandbox.postBoard.selectPrompt":"Selecione um post para vê-lo aqui.","sandbox.postBoard.untitled":"Post sem título","sandbox.postBoard.generatingLabel":"Gerando…","sandbox.postBoard.usesCredits":"Usa créditos de IA","sandbox.postBoard.viewBoard":"Quadro","sandbox.postBoard.viewList":"Lista","sandbox.postCalendar.couldNotCreate":"Não foi possível criar","sandbox.postCalendar.couldNotReschedule":"Não foi possível reagendar","sandbox.postCalendar.createdScheduledPost":"Post agendado criado","sandbox.postCalendar.legendScheduled":"Agendado","sandbox.postCalendar.legendUnscheduled":"Não agendado","sandbox.postCalendar.next":"Próximo mês","sandbox.postCalendar.onlyScheduledCanMove":"Apenas posts agendados podem ser movidos.","sandbox.postCalendar.previous":"Mês anterior","sandbox.postCalendar.schedulePostOn":"Agendar um post em {date}","sandbox.postCalendar.today":"Hoje","sandbox.postCalendar.unscheduledHint":"Posts tracejados não estão agendados — estão na data de exibição deles, e nada vai publicá-los.","sandbox.postCalendar.undatedEmpty":"Todos os posts têm data.","sandbox.postCalendar.undatedLabel":"Sem data · {count}","sandbox.postEditor.addPropLabel":"Adicionar propriedade","sandbox.postEditor.authorsLabel":"Autores","sandbox.postEditor.categoriesLabel":"Categorias","sandbox.postEditor.contentTab":"Conteúdo","sandbox.postEditor.coverAltDescription":"Descreve a imagem para leitores de tela e para quando ela não carrega. Vazio: o título do post é usado.","sandbox.postEditor.coverAltLabel":"Texto alternativo da capa","sandbox.postEditor.coverImageLabel":"Imagem de capa","sandbox.postEditor.dateLabel":"Data","sandbox.postEditor.deletePost":"Excluir post","sandbox.postEditor.deletePostCancel":"Cancelar","sandbox.postEditor.deletePostConfirmBody":'"{title}" será removido permanentemente. Isso não pode ser desfeito.',"sandbox.postEditor.deletePostConfirmTitle":"Excluir este post?","sandbox.postEditor.deletePostFailed":"Falha ao excluir","sandbox.postEditor.deletePostSuccess":'"{title}" excluído',"sandbox.postEditor.deletingPost":"Excluindo…","sandbox.postEditor.duplicateTitleWarning":"Já existe outro post com esse título. Títulos duplicados competem entre si na busca.","sandbox.postEditor.excerptLabel":"Resumo","sandbox.postEditor.extraPropsLabel":"Propriedades extras","sandbox.postEditor.issuePlural":"problemas","sandbox.postEditor.issueSingular":"problema","sandbox.postEditor.keyPlaceholder":"chave","sandbox.postEditor.missingFieldPlural":"Campos obrigatórios faltando: {fields}","sandbox.postEditor.missingFieldSingular":"Campo obrigatório faltando: {fields}","sandbox.postEditor.noAuthorsYet":"Nenhum autor ainda — crie alguns na coleção de autores.","sandbox.postEditor.noCategoriesYet":"Nenhuma categoria ainda — crie algumas na coleção de categorias.","sandbox.postEditor.noContentYet":"Este post ainda não tem conteúdo. Use ⊕ para adicionar seu primeiro bloco.","sandbox.postEditor.postTitlePlaceholder":"Título do post","sandbox.postEditor.readTimeLabel":"Tempo de leitura (minutos)","sandbox.postEditor.previewRequiresSlugAndCategory":"Defina o slug do post (e sua categoria) mais o pageSlug do aplicativo de blog para visualizar","sandbox.postEditor.previewTooltip":"Abrir visualização do post em uma nova aba","sandbox.postEditor.scheduledDatetimeDescription":"Quando este post entra no ar. O site publica sozinho depois que esse momento passa.","sandbox.postEditor.scheduledDatetimeLabel":"Entra no ar em","sandbox.postEditor.removePropLabel":"Remover propriedade","sandbox.postEditor.seePreview":"Ver visualização","sandbox.postEditor.selectAuthorsPlaceholder":"Selecionar autores","sandbox.postEditor.selectCategoriesPlaceholder":"Selecionar categorias","sandbox.postEditor.seoCanonicalLabel":"URL canônica","sandbox.postEditor.seoCanonicalPlaceholder":"https://exemplo.com/blog/meu-post","sandbox.postEditor.seoDescriptionLabel":"Descrição de SEO","sandbox.postEditor.seoImageLabel":"Imagem de SEO","sandbox.postEditor.seoNoIndexingLabel":"Ocultar dos mecanismos de busca (noindex)","sandbox.postEditor.seoSectionHint":"Sobrescreve como este post aparece nos mecanismos de busca. Campos vazios usam o título, resumo e imagem de capa do post.","sandbox.postEditor.seoSectionLabel":"SEO","sandbox.postEditor.seoTitleLabel":"Título de SEO","sandbox.postEditor.settingsTab":"Configurações","sandbox.postEditor.statusLabel":"Status","sandbox.postEditor.slugDeduped":"Esse slug já estava em uso — salvamos como “{slug}”.","sandbox.postEditor.slugLabel":"Slug","sandbox.postEditor.slugPlaceholder":"meu-post","sandbox.postEditor.valuePlaceholder":"valor","sandbox.postList.noMatches":"Nenhum post corresponde à busca ou aos filtros.","sandbox.postToolbar.allPosts":"Todos os posts","sandbox.postToolbar.archiveSelected":"Arquivar selecionados","sandbox.postToolbar.archiveSelectedPosts":"Arquivar posts selecionados","sandbox.postToolbar.authorLabel":"Autor","sandbox.postToolbar.categoryLabel":"Categoria","sandbox.postToolbar.clearFilter":"Limpar filtro","sandbox.postToolbar.deselectAll":"Desselecionar tudo","sandbox.postToolbar.deselectAllPosts":"Desselecionar todos os posts","sandbox.postToolbar.exitSelection":"Sair da seleção","sandbox.postToolbar.filterBy":"Filtrar por","sandbox.postToolbar.filterLabel":"Filtro","sandbox.postToolbar.itemsSelected":"Selecionados: {count}","sandbox.postToolbar.clearSearch":"Limpar busca","sandbox.postToolbar.searchAriaLabel":"Buscar posts","sandbox.postToolbar.searchPlaceholder":"Buscar posts","sandbox.postToolbar.selectAll":"Selecionar tudo","sandbox.postToolbar.selectAllPosts":"Selecionar todos os posts","sandbox.postToolbar.sortAZ":"A–Z","sandbox.postToolbar.sortBy":"Ordenar por","sandbox.postToolbar.sortNewest":"Recentes","sandbox.postToolbar.sortNewestFirst":"Mais recentes primeiro","sandbox.postToolbar.sortOldest":"Antigas","sandbox.postToolbar.sortOldestFirst":"Mais antigas primeiro","sandbox.postToolbar.sortTitleAZ":"Título A–Z","sandbox.postToolbar.sortTitleZA":"Título Z–A","sandbox.postToolbar.sortZA":"Z–A","sandbox.postToolbar.statusLabel":"Status","sandbox.preview.catchAllParamLabel":"caminho","sandbox.preview.choosePage":"Escolher página","sandbox.preview.clickElementToAsk":"Clique em qualquer elemento para perguntar à IA","sandbox.preview.collapseTerminal":"Recolher terminal","sandbox.preview.expandTerminal":"Expandir terminal","sandbox.preview.resizeTerminal":"Redimensionar terminal","sandbox.preview.createNewPage":"Criar nova página","sandbox.preview.devServerPreviewTitle":"Visualização do servidor de desenvolvimento","sandbox.preview.deviceDesktop":"Desktop","sandbox.preview.deviceMobile":"Celular (375px)","sandbox.preview.deviceTablet":"Tablet (768px)","sandbox.preview.enterToGo":"Enter para ir","sandbox.preview.failedToCreatePage":"Falha ao criar página","sandbox.preview.globalBadge":"Global","sandbox.preview.globalComponents":"Componentes globais","sandbox.preview.globalLoaders":"Loaders globais","sandbox.preview.loaderBadge":"Loader","sandbox.preview.loaderNoLongerExists":"Este loader não existe mais.","sandbox.preview.noPagesFound":"Nenhuma página encontrada neste site.","sandbox.preview.noSearchResults":"Nenhum resultado corresponde à sua pesquisa.","sandbox.preview.noServerRunning":"Nenhum servidor em execução","sandbox.preview.openInNewTab":"Abrir em nova aba","sandbox.preview.pageAlreadyExists":'Uma página com o caminho "{path}" já existe.',"sandbox.preview.pageCreated":'Página "{name}" criada',"sandbox.preview.blockOnNoPage":"Este bloco não é usado em nenhuma página, então não há o que visualizar.","sandbox.preview.previewMetadataNotReady":"Metadados de visualização não estão prontos ainda","sandbox.preview.searchPagesAndComponents":"Procurar páginas e componentes...","sandbox.preview.startingPreview":"Iniciando seu preview","sandbox.preview.startingPreviewHint":"Mostrando seu site publicado. Você já pode fazer alterações — elas aparecem quando o preview estiver pronto.","sandbox.preview.templateNoLongerExists":"O modelo selecionado não existe mais.","sandbox.preview.valueForParam":"Valor de {label}","sandbox.preview.blocksEditor":"Editor de blocos","sandbox.preview.visualEditor":"Editor visual","sandbox.productBlocks.addProductIdButton":"Adicionar ID do produto","sandbox.productBlocks.addProductsButton":"Adicionar produtos","sandbox.productBlocks.addProductsDescription":"Pesquise produtos VTEX ou escolha uma categoria ou cluster","sandbox.productBlocks.browseProductsButton":"Procurar produtos","sandbox.productBlocks.changeButton":"Alterar","sandbox.productBlocks.chooseProductButton":"Escolher um produto","sandbox.productBlocks.ctaLabelField":"Rótulo de CTA","sandbox.productBlocks.ctaLabelPlaceholder":"Ver produto","sandbox.productBlocks.dragToReorderLabel":"Arraste para reordenar","sandbox.productBlocks.headingH1":"H1","sandbox.productBlocks.headingH2":"H2","sandbox.productBlocks.headingH3":"H3","sandbox.productBlocks.headingNormal":"Normal","sandbox.productBlocks.idLabel":"ID {id}","sandbox.productBlocks.loadingEllipsis":"Carregando…","sandbox.productBlocks.productCardLabel":"Cartão de produto","sandbox.productBlocks.productField":"Produto","sandbox.productBlocks.productPlural":"produtos","sandbox.productBlocks.productSingular":"produto","sandbox.productBlocks.productSlugField":"Slug do produto","sandbox.productBlocks.productSlugPlaceholder":"slug-do-produto","sandbox.productBlocks.productWithId":"Produto {id}","sandbox.productBlocks.removeProductButton":"Remover produto","sandbox.productBlocks.removeProductIdButton":"Remover ID do produto","sandbox.productBlocks.removeProductLabel":"Remover produto","sandbox.productBlocks.shelfTitlePlaceholder":"Título da prateleira","sandbox.productBlocks.skuIdPlaceholder":"151331","sandbox.productBlocks.startDevServerDescription":"Inicie o servidor de desenvolvimento para procurar produtos ou adicione IDs de SKU abaixo.","sandbox.productBlocks.vtexProductIdPlaceholder":"ID de produto VTEX (ex. 151331)","sandbox.productBlocks.vtexProductIds":"IDs de produtos VTEX","sandbox.productPickerDialog.addProducts":"Adicionar produtos","sandbox.productPickerDialog.categoryLabel":"Categoria: ","sandbox.productPickerDialog.change":" — alterar","sandbox.productPickerDialog.chooseProduct":"Escolher um produto","sandbox.productPickerDialog.clusterIdPlaceholder":"ID da coleção / cluster (ex.: 2140)","sandbox.productPickerDialog.couldNotLoad":"Não foi possível carregar — o servidor de desenvolvimento está em execução?","sandbox.productPickerDialog.done":"Concluído","sandbox.productPickerDialog.enterClusterPrompt":"Digite um ID de coleção ou cluster.","sandbox.productPickerDialog.filterCategoriesPlaceholder":"Filtrar categorias…","sandbox.productPickerDialog.loadingCategories":"Carregando categorias…","sandbox.productPickerDialog.loadingProducts":"Carregando produtos…","sandbox.productPickerDialog.modeCategory":"Categoria","sandbox.productPickerDialog.modeClusterId":"ID do cluster","sandbox.productPickerDialog.modeSearch":"Busca","sandbox.productPickerDialog.noCategories":"Nenhuma categoria.","sandbox.productPickerDialog.noProductsFound":"Nenhum produto encontrado.","sandbox.productPickerDialog.noneSelected":"Nenhum selecionado","sandbox.productPickerDialog.pickCategoryPrompt":"Escolha uma categoria para ver seus produtos.","sandbox.productPickerDialog.searchProductsPlaceholder":"Buscar produtos por nome ou ID…","sandbox.productPickerDialog.selectedCount":"{count} selecionado(s)","sandbox.recordEditor.fieldAvatar":"Avatar","sandbox.recordEditor.fieldCompany":"Empresa","sandbox.recordEditor.fieldEmail":"E-mail","sandbox.recordEditor.fieldJobTitle":"Cargo","sandbox.recordEditor.fieldName":"Nome","sandbox.recordEditor.fieldType":"Tipo","sandbox.recordEditor.fieldUrl":"Site","sandbox.recordEditor.optionOrganization":"Organização","sandbox.recordEditor.optionPerson":"Pessoa","sandbox.recordEditor.placeholderEmail":"autor@exemplo.com","sandbox.recordEditor.placeholderUrl":"https://exemplo.com","sandbox.recordEditor.titleAuthor":"Autor","sandbox.redirectFormDialog.title":"Criar redirecionamento","sandbox.redirectFormDialog.submit":"Criar","sandbox.redirectFormDialog.pending":"Criando…","sandbox.redirectFormDialog.cancel":"Cancelar","sandbox.redirectFormDialog.errorRequired":"De e Para são obrigatórios.","sandbox.redirectEditor.discardQueryParameters":"Descartar parâmetros de consulta","sandbox.redirectEditor.fromDescription":"O caminho de origem a corresponder. Suporta sintaxe URLPattern (ex. /produto/:slug).","sandbox.redirectEditor.fromLabel":"De","sandbox.redirectEditor.fromPlaceholder":"/caminho-antigo","sandbox.redirectEditor.statusDescription":"Um código de status explícito prevalece sobre o tipo.","sandbox.redirectEditor.statusFromType":"Seguir o tipo ({status})","sandbox.redirectEditor.statusLabel":"Código de status","sandbox.redirectEditor.title":"Redirecionamento","sandbox.redirectEditor.toDescription":"O destino — um caminho relativo ou uma URL absoluta.","sandbox.redirectEditor.toLabel":"Para","sandbox.redirectEditor.toPlaceholder":"/caminho-novo","sandbox.redirectEditor.typeLabel":"Tipo","sandbox.redirectEditor.typePermanent":"Permanente ({status})","sandbox.redirectEditor.typePlaceholder":"Tipo","sandbox.redirectEditor.typeTemporary":"Temporário ({status})","sandbox.cmsSettings.title":"CMS","sandbox.cmsSettings.preview.title":"Preview","sandbox.cmsSettings.preview.description":"Veja suas alterações antes de publicá-las.","sandbox.cmsSettings.fastPreview.label":"Preview Rápido","sandbox.cmsSettings.fastPreview.description":"Novos chats começam como sessões de CMS, pré-visualizadas no seu servidor de preview em vez de um sandbox. Chats existentes mantêm o modo com que foram criados.","sandbox.cmsSettings.fastPreview.needsPreviewServerUrl":"Defina um servidor de preview acima para ativar o Preview Rápido.","sandbox.cmsSettings.blocksV8.needsPreviewServerUrl":"Adicione o endereço do seu site acima para visualizar rascunhos. Até lá, novos chats começam uma sessão de código.","sandbox.cmsSettings.fastPreviewInPlace.label":"Preview instantâneo (experimental)","sandbox.cmsSettings.fastPreviewInPlace.description":"Atualiza as edições no lugar, sem esperar o salvamento — bem mais rápido, mas só funciona em sites que têm a rota /live/previews.","sandbox.cmsSettings.contentEditing.on":"Ativado","sandbox.cmsSettings.contentEditing.onDescription":"O Editor do Site oferece Conteúdo e abre Blocos ao lado do Preview no desktop.","sandbox.cmsUnavailable.noPreviewServer":"É uma sessão de CMS, mas este projeto não tem servidor de preview configurado.","sandbox.cmsUnavailable.noRepo":"É uma sessão de CMS, mas este projeto não tem repositório do GitHub para salvar.","sandbox.cmsUnavailable.startCodingSession":"Continuar esta branch em uma sessão de código","sandbox.previewServerUrlField.description":"O endereço do seu servidor ativo, usado para pré-visualizar conteúdo. Necessário para o Preview Rápido.","sandbox.previewServerUrlField.descriptionBlocksV8":"O endereço do seu site no ar. O Studio mostra seus rascunhos nele antes de você publicar.","sandbox.previewServerUrlField.label":"Servidor de preview","sandbox.previewServerUrlField.placeholder":"https://exemplo.com","sandbox.fieldDescriptionTooltipsField.label":"Descrições compactas","sandbox.fieldDescriptionTooltipsField.description":"No formulário de blocos, exibe a descrição do campo como um tooltip ao passar o mouse sobre o título, em vez de texto abaixo do título.","sandbox.repoRow.label":"Repositório","sandbox.repoRow.noRepositoryConnected":"Nenhum repositório conectado","sandbox.repoRow.tooltipContent":"O repositório GitHub conectado para este projeto. Gerencie em Conexões.","sandbox.runnableBlockEditor.availableModeDescription":"{typeLabel} — edições permanecem locais até que você salve como um {singular} global. Execute para invocar contra a visualização em tempo real.","sandbox.runnableBlockEditor.closeJsonEditor":"Fechar editor JSON","sandbox.runnableBlockEditor.closeResult":"Fechar resultado","sandbox.runnableBlockEditor.collapse":"Recolher","sandbox.runnableBlockEditor.collapseResult":"Recolher resultado","sandbox.runnableBlockEditor.editAsJson":"Editar como JSON","sandbox.runnableBlockEditor.expand":"Expandir","sandbox.runnableBlockEditor.expandResult":"Expandir resultado","sandbox.runnableBlockEditor.failedToRun":"Falha ao executar {singular}","sandbox.runnableBlockEditor.freeformPropsEmptyState":"Este {singular} não publica um esquema de props. Edite suas props como JSON e execute.","sandbox.runnableBlockEditor.inferredSchemaNotice":"Este {singular} não publica um esquema de props — os campos abaixo são inferidos de seus valores salvos. Use o editor JSON para adicionar props não mostrados aqui.","sandbox.runnableBlockEditor.invalidJsonError":"JSON inválido — mudanças não são salvas até que seja analisado.","sandbox.runnableBlockEditor.noInputEmptyState":"Este {singular} não aceita entrada configurável. Execute para ver seu resultado.","sandbox.runnableBlockEditor.openInNewTabTooltip":"Abrir em nova aba (executa novamente o {singular})","sandbox.runnableBlockEditor.openResultInNewTabAriaLabel":"Abrir resultado em nova aba","sandbox.runnableBlockEditor.pressRunToInvoke":"Pressione Executar para invocar este {singular}.","sandbox.runnableBlockEditor.resultPanelTitle":"Resultado","sandbox.runnableBlockEditor.run":"Executar","sandbox.runnableBlockEditor.runAriaLabel":"Executar {singular}","sandbox.runnableBlockEditor.running":"Executando {singular}…","sandbox.runnableBlockEditor.saveAsGlobal":"Salvar como {singular} global","sandbox.runnableBlockEditor.saveAsGlobalAriaLabel":"Salvar como {singular} global","sandbox.runnableBlockEditor.savedModeDescription":"{singular} global — mudanças são salvas automaticamente. Execute para invocar contra a visualização em tempo real.","sandbox.runnableBlocksBrowser.emptyFolder":"Esta pasta está vazia.","sandbox.runnableBlocksBrowser.emptyFolderNoManifest":"Inicie o servidor de desenvolvimento de pré-visualização para que o manifest seja carregado.","sandbox.runnableBlocksBrowser.emptyFolderTitle":"Nenhum {kind} aqui","sandbox.runnableBlocksBrowser.folderBreadcrumb":"Navegação de pastas","sandbox.runnableBlocksBrowser.hideSaved":"Ocultar salvos","sandbox.runnableBlocksBrowser.noSearchResults":'Nenhum {kind} corresponde a "{query}"',"sandbox.runnableBlocksBrowser.noSearchResultsDescription":"A pesquisa abrange todas as pastas — tente um termo diferente.","sandbox.runnableBlocksBrowser.savedBlockToast":'{singular} "{blockId}" salvo(a)',"sandbox.runnableBlocksBrowser.savedCountLabel":"{count} salvo(s)","sandbox.runnableBlocksBrowser.searchAriaLabel":"Pesquisar todos os {kind}","sandbox.runnableBlocksBrowser.searchPlaceholder":"Pesquisar todos os {kind}…","sandbox.runnableBlocksBrowser.seeSaved":"Ver salvos","sandbox.runtimeFields.auto":"Automático","sandbox.runtimeFields.autoDetect":"Auto-detectar","sandbox.runtimeFields.devServerPort":"Porta do servidor de desenvolvimento","sandbox.runtimeFields.devServerPortDescription":"Deixe em branco para deixar o executor escolher.","sandbox.runtimeFields.packageManager":"Gerenciador de pacotes","sandbox.runtimeFields.packagePath":"Caminho do pacote","sandbox.runtimeFields.packagePathDescription":"Caminho (relativo à raiz do repositório) do diretório que contém package.json. Deixe em branco para a raiz do repositório.","sandbox.savedSectionEditor.closeJsonEditor":"Fechar editor JSON","sandbox.saveStatus.failed":"Não foi possível salvar","sandbox.saveStatus.saved":"Salvo","sandbox.saveStatus.saving":"Salvando…","sandbox.savedSectionEditor.editAsJson":"Editar como JSON","sandbox.savedSectionEditor.globalSectionDescription":"Seção global — alterações são salvas automaticamente e aplicadas em todos os locais onde é usada.","sandbox.savedSectionEditor.invalidJsonError":"JSON inválido — as alterações não serão salvas até que seja processado.","sandbox.savedSectionEditor.noEditableFields":"Nenhum campo editável para esta seção.","sandbox.schemaless.back":"Todos os blocos","sandbox.schemaless.bannerBody":"Até lá, cada bloco abre com campos simples criados a partir dos valores salvos, e salvar mantém todos os outros valores como estão. Gere o schema na pasta do seu site; esta página o detecta sozinha.","sandbox.schemaless.bannerTitle":"Os formulários ganham os campos certos assim que o schema existir","sandbox.schemaless.docsLink":"Sobre o deco schema","sandbox.schemaless.empty":"Vazio","sandbox.schemaless.item":"Item {n}","sandbox.schemaless.itemCount":"{count} itens","sandbox.schemaless.listLabel":"Blocos salvos","sandbox.schemaless.noBlocks":"Nenhum bloco salvo ainda.","sandbox.schemaless.noMatches":"Nenhum bloco corresponde à busca.","sandbox.schemaless.noType":"Sem tipo","sandbox.schemaless.notANumber":"Digite um número. O valor salvo continua até você digitar.","sandbox.schemaless.notSet":"Sem valor","sandbox.schemaless.pickBlock":"Escolha um bloco para ver o conteúdo.","sandbox.schemaless.searchPlaceholder":"Buscar blocos","sandbox.sectionRenameDialog.cancel":"Cancelar","sandbox.sectionRenameDialog.description":"Atualiza o nome de exibição. A chave interna permanece a mesma para que as páginas que referem esta seção continuem funcionando.","sandbox.sectionRenameDialog.keyLabel":"Chave","sandbox.sectionRenameDialog.nameLabel":"Nome","sandbox.sectionRenameDialog.save":"Salvar","sandbox.sectionRenameDialog.saving":"Salvando…","sandbox.sectionRenameDialog.title":"Renomear seção","sandbox.sectionsRightPane.selectSectionDescription":"Escolha uma seção salva para editar, ou uma disponível para personalizar e salvar como global.","sandbox.sectionsRightPane.selectSectionTitle":"Selecione uma seção para editar","sandbox.stateCard.erroredHeadline":"Não foi possível iniciar o sandbox","sandbox.stateCard.githubConnectionMissingMessage":"A conexão do GitHub usada neste chat foi removida. Vincule o repositório novamente para iniciar o sandbox.","sandbox.stateCard.linkRepoAgain":"Vincular repositório","sandbox.stateCard.githubNotAuthenticatedMessage":"O repositório GitHub deste projeto não está autenticado. Reconecte em Conexões e tente novamente.","sandbox.stateCard.reconnectGithub":"Reconectar GitHub","sandbox.stateCard.resume":"Retomar","sandbox.stateCard.resumeToContinue":"Retome para continuar.","sandbox.stateCard.retry":"Tentar Novamente","sandbox.stateCard.suspendedHeadline":"O sandbox está pausado","sandbox.tableBlock.addColumn":"Adicionar coluna","sandbox.tableBlock.addRow":"Adicionar linha","sandbox.tableBlock.headerPlaceholder":"Cabeçalho {n}","sandbox.tableBlock.noRowsYet":"Nenhuma linha ainda — adicione uma abaixo.","sandbox.tableBlock.removeColumn":"Remover coluna {n}","sandbox.tableBlock.removeRow":"Remover linha {n}","sandbox.toolbar.closeTab":"Fechar {tab}","sandbox.toolbar.moreActions":"Mais ações","sandbox.toolbar.noScriptsFound":"Nenhum script encontrado","sandbox.toolbar.restart":"Reiniciar","sandbox.toolbar.resume":"Retomar","sandbox.toolbar.retry":"Tentar Novamente","sandbox.toolbar.run":"Executar","sandbox.toolbar.runAScript":"executar um script","sandbox.toolbar.runScript":"Executar script","sandbox.toolbar.setupTab":"sandbox","sandbox.toolbar.start":"Iniciar","sandbox.toolbar.startProcess":"Iniciar processo","sandbox.toolbar.stop":"Parar","sandbox.toolbar.stopProcess":"Parar processo","sandbox.toolbar.stopSandboxTooltip":"Parar sandbox","sandbox.toolbar.stopping":"Parando…","sandbox.variantCalendar.always":"Sempre","sandbox.variantCalendar.calendarMode":"Calendário","sandbox.variantCalendar.dateMatcherInfo":"Variantes condicionadas a um critério de data aparecem aqui.","sandbox.variantCalendar.hiddenOngoingVariants":'{count} variante(s) em andamento oculta(s) — ative "Mostrar em andamento" para visualizar.',"sandbox.variantCalendar.next":"Próximo","sandbox.variantCalendar.noDatedVariants":"Nenhuma variante com data à vista.","sandbox.variantCalendar.noScheduledVariants":"Nenhuma variante agendada.","sandbox.variantCalendar.ongoing":"Em andamento","sandbox.variantCalendar.previous":"Anterior","sandbox.variantCalendar.showOngoing":"Mostrar em andamento ({count})","sandbox.variantCalendar.timelineMode":"Linha do tempo","sandbox.variantCalendar.today":"Hoje","sandbox.variantCalendar.todayLabel":"Hoje","sandbox.variantCalendar.variantBlock":"Variante / Bloco","sandbox.visualEditorPrompt.inputPlaceholder":"Pergunte à IA...","sandbox.visualEditorPrompt.sendButton":"Enviar"},nX={"settings.subscriptionUsage.title":"Uso do plano","settings.subscriptionUsage.refresh":"Atualizar","settings.subscriptionUsage.loading":"Carregando limites de uso…","settings.subscriptionUsage.fiveHour":"Janela de 5 horas","settings.subscriptionUsage.weekly":"Limite semanal","settings.subscriptionUsage.sonnet":"Sonnet · semanal","settings.subscriptionUsage.opus":"Opus · semanal","settings.subscriptionUsage.codeReview":"Revisão de código","settings.subscriptionUsage.hours":"Janela de {hours} horas","settings.subscriptionUsage.primary":"Limite principal","settings.subscriptionUsage.secondary":"Limite secundário","settings.subscriptionUsage.used":"{percent}% usado","settings.subscriptionUsage.resets":"Renova em {date}","settings.subscriptionUsage.resetUnknown":"Horário de renovação não informado","settings.subscriptionUsage.limitReached":"Limite atingido","settings.subscriptionUsage.permission":"Este token não permite consultar limites. Veja o uso no site do provedor.","settings.subscriptionUsage.authorization":"O provedor não autorizou a consulta. Vincule seu plano novamente para atualizar as credenciais.","settings.subscriptionUsage.rateLimited":"O provedor está limitando as consultas. Tente novamente após o horário abaixo.","settings.subscriptionUsage.disconnected":"Vincule seu plano para consultar os limites.","settings.subscriptionUsage.unavailable":"Os limites estão indisponíveis agora. Consulte o provedor para ver o status atual.","settings.subscriptionUsage.retryAt":"Tente novamente em {date}","settings.subscriptionUsage.checkedAt":"Consultado em {date}","settings.subscriptionUsage.sharedUsage":"Inclui uso fora do Studio. Estes limites pertencem ao seu plano pessoal.","settings.subscriptionUsage.openProvider":"Ver no provedor","settings.voice.title":"Modo voz","settings.voice.description":"Permite conversar por voz com os agentes nos chats. Requer a configuração da ElevenLabs nesta instalação do Studio.","settings.title":"Perfil e preferências","settings.nav.organization":"Organização","settings.nav.build":"Construir","settings.nav.manage":"Gerenciar","settings.nav.general":"Geral","settings.nav.connect":"Conectar","settings.nav.aiProviders":"Provedores de IA","settings.nav.secrets":"Segredos","settings.nav.billing":"Cobrança e IA","settings.nav.buckets":"Buckets","settings.nav.syncedRepos":"Repos sincronizados","settings.nav.repositories":"Repositórios","settings.nav.storage":"Armazenamento","settings.nav.advanced":"Avançado","settings.subnav.ariaLabel":"Seções de configurações","settings.subnav.infrastructure":"Infraestrutura","settings.nav.tasks":"Quadro","settings.jira.sectionTitle":"Integração com o Jira","settings.jira.connectTitle":"Conectar Jira","settings.jira.connectDescription":"Use um site do Jira Cloud e um API token, de preferência de uma conta de serviço com acesso ao projeto.","settings.jira.siteLabel":"Site do Jira","settings.jira.sitePlaceholder":"suaempresa.atlassian.net","settings.jira.emailLabel":"E-mail da conta Atlassian","settings.jira.emailPlaceholder":"voce@empresa.com","settings.jira.tokenLabel":"API token","settings.jira.tokenPlaceholder":"Cole seu token","settings.jira.connect":"Conectar","settings.jira.connecting":"Conectando…","settings.jira.connected":"Jira conectado","settings.jira.connectFailed":"Não foi possível conectar ao Jira","settings.jira.disconnect":"Desconectar","settings.jira.disconnected":"Jira desconectado","settings.jira.disconnectTitle":"Desconectar o Jira?","settings.jira.disconnectDescription":"A sincronização para e as credenciais são apagadas. Os cards que já estão no quadro são mantidos — só deixam de atualizar.","settings.jira.cancel":"Cancelar","settings.jira.boardLabel":"Board do Jira","settings.jira.boardDescription":"O board que o Studio acompanha — um card entrando em uma de suas colunas é o que dispara a integração.","settings.jira.boardPlaceholder":"Selecione um board","settings.jira.boardSearchPlaceholder":"Buscar boards…","settings.jira.noBoardsMatch":"Nenhum board corresponde à busca","settings.jira.loadingBoards":"Carregando boards…","settings.jira.enabledLabel":"Integração ativa","settings.jira.enabledDescription":"Enquanto desativada, os cards que se movem no board são ignorados.","settings.jira.enableRequirements":"Escolha um board antes de ativar a integração","settings.jira.saveFailed":"Não foi possível salvar as configurações do Jira","settings.jira.createTokenLink":"Criar um API token","settings.jira.webhookTitle":"Atualizações instantâneas (webhook)","settings.jira.webhookDescription":"Opcional. Sem ele, uma issue que entra num status automatizado é detectada na próxima verificação de 5 minutos; com ele, a run começa quando o card fica 20 segundos parado.","settings.jira.webhookCopy":"Copiar","settings.jira.webhookCopied":"URL do webhook copiada","settings.jira.webhookStep1":"No Jira, abra Settings (ícone de engrenagem) → System → Webhooks. Requer um admin do Jira.","settings.jira.webhookStep2":"Clique em “Create a webhook” e cole a URL acima.","settings.jira.webhookStep3":"Em Events, marque Issue: created e Issue: updated.","settings.jira.webhookStep4":"Opcionalmente restrinja com um filtro JQL, ex.: project = <chave do projeto>.","settings.jira.webhookStep5":"Salve. Uma issue que entra num status automatizado passa a iniciar sua run depois de ficar 20 segundos nele.","settings.jira.automationsLabel":"Rodar o agente quando uma issue entrar em…","settings.jira.automationsDescription":"As automações que rodam quando uma issue entra num destes status e fica nele por 20 segundos. Abra uma para mudar o prompt, ou dê a qualquer automação um gatilho “Quando uma issue do Jira entra num status”. Um card arrastado por um status, ou para o errado e de volta, não inicia nada. Uma issue que tem um pull request aberto linkado continua nele. O agente lê a issue e a atualiza no Jira; nada é copiado para o quadro.","settings.jira.toggleAutomation":"Ligar ou desligar {name}","settings.jira.addAutomation":"Adicionar automação","settings.jira.fromAny":"Vindo de qualquer coluna","settings.jira.fromEarlier":"Vindo de uma coluna anterior","settings.jira.fromLater":"Vindo de uma coluna posterior (devolvido)","settings.jira.fromStatuses":"Vindo de {statuses}","settings.jira.originLabel":"Quando o card vem de","settings.jira.originStatusesPlaceholder":"Escolha os status","settings.jira.originHelp":"Um movimento inicia uma regra só: a que nomeia de onde o card veio, senão a da direção dele no board, senão a de qualquer coluna. De onde ele veio é o último status em que ficou parado, não um pelo qual foi arrastado.","settings.jira.createRule":"Criar automação","settings.jira.cancelRule":"Cancelar","settings.jira.noColumnsYet":"Este board ainda não tem colunas","settings.jira.columnsFailed":"Não foi possível carregar as colunas do board","settings.jira.testRunLabel":"Rodar na mão","settings.jira.testRunDescription":"Rode uma das automações acima em uma issue ou num lote agora, sem habilitar a integração — assim você vê o que o prompt dela faz antes que ele rode em toda issue que entra em um status.","settings.jira.issueKeysPlaceholder":"ABC-123, ou um link — um por linha, ou separados por vírgula","settings.jira.issueKeysCount":"{count} issue(s)","settings.jira.issueKeysUnreadable":"não consegui ler: {items}","settings.jira.testRunIssueAriaLabel":"Chave ou link da issue do Jira","settings.jira.testRun":"Rodar agente {count}","settings.jira.testRunRunning":"Iniciando…","settings.jira.testRunStarted":"Iniciado em","settings.jira.testRunFailed":"Não foi possível iniciar o run","settings.jira.testRunHelp":"Este é um run de verdade: o agente lê a issue real, comenta nela e pode movê-la. Rodar de novo interrompe o run que ainda estiver trabalhando nessa issue, e uma issue com um pull request aberto linkado continua nele.","settings.jira.testRunAutomation":"Automação a rodar","settings.jira.testRunNoAutomations":"Adicione uma automação acima primeiro: rodar à mão dispara uma delas.","settings.jira.together":"Um run só pra todas — o agente vê todas as issues e trabalha nelas como um lote, em vez de um run por issue","settings.jira.togetherStarted":"Iniciado um run em","settings.jira.testRunWatch":"Ver os runs no Monitor","settings.syncedRepos.pageDescription":"Repositórios Git espelhados em pastas somente leitura da biblioteca, sincronizados a cada poucos minutos. Ótimo para um repo de skills compartilhado.","settings.syncedRepos.addRepo":"Adicionar repo","settings.syncedRepos.cancel":"Cancelar","settings.syncedRepos.create":"Criar","settings.syncedRepos.creating":"Criando…","settings.syncedRepos.created":'Sincronização criada — sincronizando em "{volume}" em segundo plano',"settings.syncedRepos.emptyTitle":"Nenhum repo sincronizado ainda","settings.syncedRepos.emptyDescription":"Escolha um repositório e ele aparecerá na biblioteca como uma pasta somente leitura, sincronizada automaticamente.","settings.syncedRepos.failed":"Algo deu errado","settings.syncedRepos.nameDialogDescription":"{repo} será mantido em sincronia nesta pasta somente leitura da biblioteca.","settings.syncedRepos.nameDialogTitle":"Nomeie a pasta sincronizada","settings.syncedRepos.namePlaceholder":"nome-da-pasta","settings.syncedRepos.pickerTitle":"Sincronizar um repo na biblioteca","settings.syncedRepos.remove":"Parar de sincronizar","settings.syncedRepos.removeDescription":"Os arquivos já sincronizados continuam na biblioteca; só a sincronização para. Você pode apagar a pasta depois, se não precisar dela.","settings.syncedRepos.removeTitle":'Parar de sincronizar "{volume}"?',"settings.syncedRepos.removed":"Sincronização removida","settings.syncedRepos.rowSubtitle":"Pasta da biblioteca: {volume}","settings.repositories.accountsTitle":"Contas conectadas","settings.repositories.accountsEmptyTitle":"Nenhuma conta conectada","settings.repositories.accountsEmptyDescription":"Conecte uma conta do GitHub, GitLab ou Bitbucket para navegar pelos seus repositórios e vincular os privados.","settings.repositories.noProvidersTitle":"Nenhum provedor git configurado","settings.repositories.noProvidersDescription":"Entrar com GitHub, GitLab ou Bitbucket depende de credenciais do provedor que um administrador configura nesta instalação. Você ainda pode conectar uma conta do GitLab ou do Bitbucket com um token de acesso.","settings.repositories.githubUnavailable":"Peça a um administrador para habilitar o GitHub.","settings.repositories.connectGithubCli":"Conectar com GitHub CLI","settings.repositories.githubCliHint":"Use seu login local do gh para buscar e importar repositórios.","settings.repositories.authKindGithubCli":"GitHub CLI","settings.repositories.addGithubAccount":"Adicionar conta ou organização do GitHub","settings.repositories.githubSelectTitle":"Selecionar repositórios","settings.repositories.githubSelectedShareHint":"Membros com permissão de repositórios em {organization} poderão usar os repositórios que você autorizar aqui.","settings.repositories.githubPreselectedHint":"Os repositórios já autorizados ou vinculados estão selecionados quando você tem permissão para autorizá-los. Revise a seleção antes de salvar.","settings.repositories.githubReplaceHint":"Salvar substitui o acesso atual desta conta no workspace pela sua seleção. Repositórios removidos deixam de receber novas credenciais. Credenciais já emitidas podem funcionar até expirarem.","settings.repositories.githubFilterRepos":"Buscar repositórios","settings.repositories.githubNoRepos":"Nenhum repositório disponível para autorizar.","settings.repositories.githubSearchNoMatches":"Nenhum repositório corresponde à sua busca.","settings.repositories.githubAccessChanged":"Alguém alterou o acesso desta conta. Volte e revise os repositórios antes de salvar.","settings.repositories.githubMoreRepos":"Carregar mais repositórios","settings.repositories.githubBack":"Voltar às contas","settings.repositories.githubSaveOneRepo":"Autorizar 1 repositório","settings.repositories.githubSaveRepos":"Autorizar {count} repositórios","settings.repositories.githubEditWorkspaceAccess":"Alterar acesso do workspace","settings.repositories.githubShareHint":"Escolha sua conta pessoal do GitHub, ou uma organização onde você administra repositórios, para compartilhar com {organization}. Membros com permissão para repositórios no Studio podem usar esta conexão.","settings.repositories.githubInstallHint":"Ainda não há nada seu para compartilhar. Instale o app do GitHub na sua conta pessoal ou nos repositórios que você administra, ou peça ao dono da conta para conectá-la ao Studio. Um repositório em que você só colabora não é seu para compartilhar.","settings.repositories.installGithubAccount":"Instalar em outra conta","settings.repositories.checkGithubAccess":"Verificar acesso","settings.repositories.switchGithubUser":"Usar outro login do GitHub","settings.repositories.githubReturnHint":"O GitHub abre em uma nova aba. Depois de salvar o acesso, volte aqui para escolher a conta. Se ela não aparecer, use Verificar acesso.","settings.repositories.githubRefreshFailed":"Não foi possível verificar o acesso no GitHub. Tente novamente sem sair desta janela.","settings.repositories.githubConnected":"Conta do GitHub conectada","settings.repositories.manageRepositoryAccess":"Gerenciar acesso aos repositórios","settings.repositories.connectedBy":"Conectado por {name}","settings.repositories.connectedByUnknown":"Conectado por um usuário indisponível","settings.repositories.dismiss":"Dispensar","settings.repositories.tryAgain":"Tentar novamente","settings.repositories.oauthNoInstallations":"A autorização no GitHub foi concluída, mas nenhuma instalação do app está disponível para este usuário. Adicione uma conta ou organização do GitHub para concluir a configuração.","settings.repositories.oauthDenied":"A autorização foi cancelada. Conecte novamente quando quiser.","settings.repositories.oauthExpired":"Esta tentativa de conexão expirou ou pertence a outra sessão. Comece novamente por esta página.","settings.repositories.oauthNotConfigured":"Este provedor git não está configurado. Peça a um administrador para habilitá-lo.","settings.repositories.oauthFailed":"Não foi possível conectar sua conta git. Tente novamente. Se o erro persistir, entre em contato com um administrador.","settings.repositories.authKindGithubApp":"GitHub App","settings.repositories.authKindOauth":"OAuth","settings.repositories.authKindToken":"Token pessoal","settings.repositories.accessUnavailable":"Acesso indisponível","settings.repositories.accessUnavailableHint":"O Studio não consegue acessar esta conta. Autorize-a novamente para continuar usando seus repositórios.","settings.repositories.githubReconnect":"Reconectar GitHub","settings.repositories.authorizeWorkspaceAccess":"Autorizar acesso do workspace","settings.repositories.selectRepositories":"Selecionar repositórios","settings.repositories.authorizationRequired":"Falta autorizar este workspace","settings.repositories.authorizationRequiredHint":"O Studio tem uma instalação do GitHub App registrada para {login}, mas este workspace ainda não tem autorização para usá-la. Entre no GitHub e escolha os repositórios que quer compartilhar com este workspace.","settings.repositories.accessRevoked":"Acesso revogado","settings.repositories.accessRevokedHint":"O acesso a esta conta foi revogado. Autorize-a novamente para restaurar o acesso aos repositórios.","settings.repositories.noAuthorizedRepositories":"Nenhum repositório autorizado","settings.repositories.noAuthorizedRepositoriesHint":"Este workspace não tem repositórios autorizados por {login}. Selecione quais repositórios ele pode usar.","settings.repositories.providerUnavailable":"Provedor indisponível","settings.repositories.providerUnavailableHint":"Esta instalação não está configurada para acessar esta conta. Peça a um administrador para habilitar o provedor.","settings.repositories.installationMissing":"Conexão com o GitHub incompleta","settings.repositories.installationMissingHint":"O Studio não tem uma instalação do GitHub App vinculada a esta conta. Conecte o GitHub e selecione a instalação de {login}.","settings.repositories.githubReconnectUnavailable":"A reconexão com o GitHub não está disponível nesta instalação. Peça a um administrador para configurar o GitHub App e depois autorize o acesso do workspace.","settings.repositories.disconnect":"Desconectar","settings.repositories.disconnectTitle":'Desconectar "{login}"?',"settings.repositories.disconnectDescription":"Os repositórios vinculados por esta conta continuam na lista, mas viram clones públicos anônimos — os privados deixarão de funcionar.","settings.repositories.disconnected":"Conta desconectada","settings.repositories.tokenDialogTitle":"Conectar o GitLab com um token","settings.repositories.tokenDialogDescription":"Use um token de acesso pessoal, de projeto ou de grupo com o escopo api — os agentes usam ele para dar push e abrir merge requests. É guardado criptografado e não é exibido novamente.","settings.repositories.tokenDialogTitleBitbucket":"Conectar o Bitbucket com um token","settings.repositories.tokenDialogDescriptionBitbucket":"Use um token de acesso de workspace, de projeto ou de repositório com permissão de escrita em repositórios e pull requests — os agentes usam ele para dar push e abrir pull requests. Somente Bitbucket Cloud. É guardado criptografado e não é exibido novamente.","settings.repositories.addAccount":"Adicionar conta","settings.repositories.addAccountTitle":"Conectar uma conta git","settings.repositories.addAccountDescription":"Escolha onde seus repositórios ficam.","settings.repositories.chooseMethodDescription":"Escolha como o Studio deve se conectar a este provedor.","settings.repositories.back":"Voltar","settings.repositories.providerGithub":"GitHub","settings.repositories.providerGitlab":"GitLab","settings.repositories.providerBitbucket":"Bitbucket","settings.repositories.providerGithubHint":"Instale o app do Studio e escolha os repositórios a compartilhar.","settings.repositories.providerTokenOrOauthHint":"Conecte com um token de acesso, ou autorize via OAuth.","settings.repositories.providerTokenOnlyHint":"Conecte com um token de acesso.","settings.repositories.methodToken":"Usar um token de acesso","settings.repositories.methodTokenHint":"O provedor limita o token aos repositórios para os quais você o criou.","settings.repositories.methodOauth":"Autorizar via OAuth","settings.repositories.methodOauthHint":"Entre e autorize o Studio no seu navegador.","settings.repositories.methodOauthScopeNote":"Alcança todos os repositórios que esta conta enxerga; não dá para restringir a um subconjunto.","settings.repositories.methodApp":"Instalar o app do GitHub","settings.repositories.methodAppHint":"Escolha exatamente quais repositórios o Studio pode usar.","settings.repositories.tokenStepsTitle":"Como criar o token","settings.repositories.openProvider":"Abrir provedor","settings.repositories.tokenWorkspaceLabel":"Workspace","settings.repositories.tokenWorkspacePlaceholder":"sua-workspace","settings.repositories.tokenWorkspaceHint":"O slug na URL do Bitbucket. Um token de acesso não consegue dizer a que workspace pertence, então o Studio o verifica contra esta.","settings.repositories.tokenProjectLabel":"Caminho do projeto (opcional)","settings.repositories.tokenProjectPlaceholder":"grupo/projeto","settings.repositories.tokenProjectHint":"Preencha para ir direto à página de tokens desse projeto.","settings.repositories.bitbucketStep1":"Abra o repositório que o Studio deve alcançar, ou o projeto que os agrupa.","settings.repositories.bitbucketStep2":"Settings → Security → Access tokens → Create token.","settings.repositories.bitbucketStep3":"Conceda Repositories read e write, e Pull requests read e write.","settings.repositories.bitbucketStep4":"Cole o token abaixo. O Bitbucket o mantém restrito ao escopo que você deu.","settings.repositories.gitlabStep1":"Abra o projeto ou grupo que o Studio deve alcançar.","settings.repositories.gitlabStep2":"Settings → Access tokens → Add new token.","settings.repositories.gitlabStep3":"Papel: Developer ou acima. Escopo: api.","settings.repositories.gitlabStep4":"Cole o token abaixo. Um token de projeto só alcança aquele projeto.","settings.repositories.tokenHostLabel":"Host","settings.repositories.tokenHostPlaceholder":"gitlab.com","settings.repositories.tokenLabel":"Token de acesso","settings.repositories.tokenPlaceholder":"glpat-…","settings.repositories.tokenPlaceholderBitbucket":"ATCTT…","settings.repositories.connect":"Conectar","settings.repositories.connecting":"Conectando…","settings.repositories.connected":'Conectado como "{login}"',"settings.repositories.reposTitle":"Repositórios","settings.repositories.reposEmptyTitle":"Nenhum repositório ainda","settings.repositories.reposEmptyDescription":"Escolha um repositório de uma conta conectada do GitHub, GitLab ou Bitbucket.","settings.repositories.addRepository":"Adicionar repositório","settings.repositories.moreActions":"Mais ações","settings.repositories.repoAccountNeedsAttention":"Conectado por {login}, que precisa de atenção em Contas conectadas.","settings.repositories.unlink":"Desvincular","settings.repositories.unlinkTitle":'Desvincular "{path}"?',"settings.repositories.unlinkDescription":"O repositório é removido desta organização. Nada é apagado no provedor.","settings.repositories.unlinked":"Repositório desvinculado","settings.repositories.openInProvider":"Abrir repositório","settings.repositories.visibilityPublic":"Público","settings.repositories.visibilityPrivate":"Privado","settings.repositories.visibilityInternal":"Interno","settings.repositories.anonymousClone":"Clone anônimo","settings.repositories.sandboxImageLabel":"Imagem do sandbox","settings.repositories.sandboxImageDefault":"Imagem padrão","settings.repositories.sandboxImageAndroid":"Emulador Android","settings.repositories.sandboxImageError":"Não foi possível alterar a imagem do sandbox","settings.repositories.addDialogTitle":"Adicionar repositório","settings.repositories.cancel":"Cancelar","settings.repositories.failed":"Algo deu errado","settings.nav.connections":"Conexões","settings.nav.agents":"Projetos","settings.nav.automations":"Automações","settings.nav.skills":"Skills","settings.nav.memory":"Memória","settings.nav.monitor":"Monitoramento","settings.nav.members":"Membros","settings.nav.security":"Segurança","settings.nav.profile":"Perfil e preferências","settings.nav.backToHome":"Voltar para o início","settings.nav.signOut":"Sair","settings.profile.avatar":"Avatar","settings.profile.displayName":"Nome de exibição","settings.profile.displayNamePlaceholder":"Seu nome","settings.profile.email":"E-mail","settings.profile.avatarUpload":"Trocar sua foto","settings.profile.avatarDialogTitle":"Foto de perfil","settings.profile.avatarDialogDescription":"Arraste para reposicionar e role para dar zoom. Só a foto em uso fica visível para outras pessoas.","settings.profile.avatarDeleted":"Foto excluída","settings.profile.avatarRemove":"Remover","settings.profile.avatarRemoved":"Foto removida","settings.profile.avatarUpdated":"Foto atualizada","settings.profile.avatarUploadError":"Falha ao atualizar a foto","settings.profile.updateSuccess":"Perfil atualizado com sucesso","settings.profile.updateError":"Falha ao atualizar o perfil","settings.preferences.title":"Preferências","settings.blog.sectionTitle":"Blog","settings.blog.aiTitle":"Blog com IA","settings.blog.aiDescription":"Contexto da marca, campanhas e geração de posts. Sem isso, o blog é editado à mão.","settings.blogBlocks.title":"Esconder os blocos de blog padrão","settings.blogBlocks.description":"Só os blocos de post do próprio site ficam disponíveis ao escrever, gerar ou importar um post. Blocos já presentes em um post continuam sendo renderizados.","settings.blocksEditor.title":"Novo editor de blocos","settings.blocksEditor.description":"Vale para todos desta organização. O restante do Studio sempre usa o novo layout.","settings.preferences.projectFirstNav":"Navegação centrada em projetos","settings.preferences.projectFirstNavDescription":"Experimente o trilho de organizações, o launcher de projetos e a home Hoje/Agentes.","settings.preferences.theme":"Tema","settings.preferences.themeDescription":"Seu esquema de cores preferido.","settings.preferences.themeLight":"Tema claro","settings.preferences.themeDark":"Tema escuro","settings.preferences.themeSystem":"Tema do sistema","settings.preferences.language":"Idioma","settings.preferences.languageDescription":"O idioma da interface.","settings.preferences.notifications":"Notificações","settings.preferences.notificationsDescription":"Receba notificações do navegador para eventos importantes.","settings.preferences.notificationsDenied":"Notificações negadas. Habilite-as nas configurações do seu navegador.","settings.preferences.sounds":"Sons","settings.preferences.soundsDescription":"Reproduza sons para ações de agentes e notificações.","settings.preferences.soundsPreview":"Ouvir som de notificação","settings.preferences.toolApproval":"Aprovação de ferramentas","settings.preferences.toolApprovalDescription":"Controle como as ferramentas são aprovadas antes da execução.","settings.preferences.toolApprovalAsk":"Perguntar antes de editar","settings.preferences.toolApprovalAskShort":"Perguntar","settings.preferences.toolApprovalAskDescription":"Aprova automaticamente ferramentas somente leitura","settings.preferences.toolApprovalAuto":"Aprovar automaticamente","settings.preferences.toolApprovalAutoShort":"Auto","settings.preferences.toolApprovalAutoDescription":"Executa tudo sem aprovação","settings.automations.browseAgentsButton":"Procurar projetos","settings.automations.emptyDescription":"As automações são criadas por agente. Abra um agente e adicione uma na aba de Automações.","settings.automations.emptyTitle":"Nenhuma automação ainda","settings.automations.noResultsDescription":'Nenhuma automação corresponde a "{search}"',"settings.automations.noResultsTitle":"Nenhuma automação encontrada","settings.automations.pageTitle":"Automações","settings.automations.searchPlaceholder":"Pesquisar automações...","settings.skills.pageTitle":"Skills","settings.skills.importButton":"Importar skill","settings.skills.importing":"Importando…","settings.skills.importSuccess":'"{name}" importada',"settings.skills.importError":"Falha ao importar a skill","settings.skills.importMissingSkillMd":"Essa pasta não tem um SKILL.md na raiz. Selecione a pasta da própria skill.","settings.skills.importNeedsFolder":"Selecione uma pasta, não arquivos individuais — este navegador pode não suportar upload de pastas.","settings.skills.searchPlaceholder":"Pesquisar skills...","settings.skills.noDescription":"Sem descrição","settings.skills.filterAll":"Todas","settings.skills.emptyTitle":"Nenhuma skill ainda","settings.skills.emptyDescription":"Importe uma pasta com um SKILL.md para dar aos seus agentes instruções reutilizáveis que eles podem carregar sob demanda.","settings.skills.noResultsTitle":"Nenhuma skill encontrada","settings.skills.noResultsDescription":'Nenhuma skill corresponde a "{search}"',"settings.skills.cancel":"Cancelar","settings.skills.deleteButton":"Excluir","settings.skills.deleteDialogTitle":"Excluir esta skill?","settings.skills.deleteDialogDescription":'Isso remove "{name}" e seus arquivos. Essa ação não pode ser desfeita.',"settings.skills.deleteSuccess":"Skill excluída","settings.skills.deleteError":"Falha ao excluir a skill","settings.skills.importTooManyFiles":"Essa pasta tem {count} arquivos (limite {max}). Importe uma pasta com apenas os arquivos da skill.","settings.skills.importSlugTaken":'Já existe uma skill chamada "{slug}". Exclua-a antes de reimportar.',"settings.skills.errorTitle":"Não foi possível carregar as skills","settings.skills.errorDescription":"O catálogo de skills não pôde ser carregado. Você pode não ter acesso aos arquivos desta organização.","settings.skills.retry":"Tentar novamente","settings.memory.pageTitle":"Memória","settings.memory.tabOrg":"Organização","settings.memory.tabUser":"Só você","settings.memory.orgHeading":"Compartilhada com todo mundo em {org}","settings.memory.orgDescription":"O Deco lê isto no começo de cada chat e acrescenta o que aprende. Corrija o que estiver errado ou desatualizado.","settings.memory.userHeading":"Sua memória pessoal","settings.memory.userDescription":"Carregada só nos seus chats. Boa para como você gosta de trabalhar, o que é seu e o que pular.","settings.memory.orgPlaceholder":"Fatos que todos os chats devem saber. Por exemplo: a gente sobe na quinta, preços em BRL, o tom da marca é informal.","settings.memory.userPlaceholder":"Coisas que o Deco deve lembrar sobre você. Por exemplo: responda em português, cuido do checkout, resumos curtos.","settings.memory.saving":"Salvando…","settings.memory.saved":"Salvo","settings.memory.notSaved":"Não salvo","settings.memory.saveError":"Não deu para salvar. Continue digitando para tentar de novo.","settings.memory.readOnly":"Você pode ler esta memória, mas não alterá-la.","settings.memory.updated":"Atualizada {time}","settings.memory.notStarted":"Nada lembrado ainda","settings.memory.conflict":"Esta memória mudou enquanto você editava.","settings.memory.loadLatest":"Carregar a mais recente","settings.memory.keepMine":"Manter a minha","settings.memory.budget":"{percent}% do que os chats leem","settings.memory.budgetOver":"Os chats só leem o começo","settings.memory.budgetHint":"Os chats carregam os primeiros 16.000 caracteres. Mantenha isto como um índice curto e leve os detalhes para notas separadas.","settings.memory.errorTitle":"Não deu para carregar a memória","settings.memory.errorDescription":"Não deu para carregar os arquivos da organização. Talvez você não tenha acesso a eles.","settings.memory.retry":"Tentar novamente","settings.buckets.accessKeyIdLabel":"ID de chave de acesso","settings.buckets.addBucket":"Adicionar bucket","settings.buckets.addBucketButton":"Adicionar bucket","settings.buckets.addS3Bucket":"Adicionar bucket S3","settings.buckets.addingButton":"Adicionando…","settings.buckets.apiKeyHelperText":"Enviado como header x-api-key em cada chamada de atualização.","settings.buckets.apiKeyLabel":"Chave API","settings.buckets.bucketAdded":'Bucket "{name}" adicionado',"settings.buckets.bucketLabel":"Bucket","settings.buckets.bucketPlaceholder":"meu-bucket","settings.buckets.bucketRemoved":'Bucket "{name}" removido',"settings.buckets.bucketsConfigured":"{count} bucket(s) configurado(s)","settings.buckets.cancelButton":"Cancelar","settings.buckets.credentialsEncryptedDescription":"As credenciais são criptografadas em repouso e nunca retornadas pela API. Para Cloudflare R2, Google Cloud Storage ou MinIO, defina um endpoint personalizado.","settings.buckets.credentialsLabel":"Credenciais","settings.buckets.deleteButton":"Deletar {name}","settings.buckets.descriptionLabel":"Descrição (opcional)","settings.buckets.descriptionPlaceholder":"Para que este bucket é usado?","settings.buckets.emptyStateDescription":"Adicione um bucket compatível com S3 (AWS S3, Cloudflare R2, Google Cloud Storage, MinIO). As chaves de acesso são criptografadas em repouso e nunca retornadas pela API.","settings.buckets.endpointHelperText":"Obrigatório para provedores que não são AWS (R2, GCS, MinIO).","settings.buckets.endpointLabel":"Endpoint (opcional)","settings.buckets.endpointPlaceholder":"https://<account>.r2.cloudflarestorage.com","settings.buckets.failedToAddBucket":"Falha ao adicionar bucket","settings.buckets.failedToLoadConfigs":"Falha ao carregar configurações de arquivo: {error}","settings.buckets.failedToLoadConfigsFallback":"Falha ao carregar configurações de arquivo","settings.buckets.failedToRemoveBucket":"Falha ao remover bucket","settings.buckets.forcePathStyleHelperText":"Obrigatório para Google Cloud Storage e a maioria das configurações do MinIO.","settings.buckets.forcePathStyleLabel":"Forçar URLs path-style","settings.buckets.managed":"Gerenciado","settings.buckets.nameHelperText":"Letras, dígitos, underscore, ponto, hífen. Único dentro da organização.","settings.buckets.nameLabel":"Nome","settings.buckets.namePlaceholder":"production-uploads","settings.buckets.noBucketsConfigured":"Nenhum bucket configurado","settings.buckets.pathStyle":"path-style","settings.buckets.prefix":"prefixo: {prefix}","settings.buckets.prefixHelperText":"Todas as chaves de objeto são escritas sob este prefixo. Útil para buckets multi-tenant ou credenciais escopo de um sub-path. Uma barra à direita é adicionada automaticamente.","settings.buckets.prefixLabel":"Prefixo de chave (opcional)","settings.buckets.prefixPlaceholder":"tenants/acme/","settings.buckets.public":"público: {url}","settings.buckets.publicUrlBaseHelperText":"Host usado para construir URLs públicas retornadas pelo seletor (domínio dev do R2, CDN, host personalizado). Deixe em branco para usar o host S3 do bucket (padrão da AWS).","settings.buckets.publicUrlBaseLabel":"Base de URL pública (opcional)","settings.buckets.publicUrlBasePlaceholder":"https://pub-xxxx.r2.dev ou https://cdn.example.com","settings.buckets.refreshUrlHelperText":"Endpoint para o qual é feito POST (com a chave API abaixo) para fornecer credenciais temporárias. Deve retornar accessKeyId, secretAccessKey, sessionToken e expiration.","settings.buckets.refreshUrlLabel":"URL de atualização","settings.buckets.refreshUrlPlaceholder":"https://admin.example.com/api/acme/s3-credentials","settings.buckets.regionLabel":"Região","settings.buckets.regionPlaceholder":"us-east-1","settings.buckets.removeBucketDescription":"Isto exclui as credenciais criptografadas para {name}. O bucket em si não é afetado. Isto não pode ser desfeito.","settings.buckets.removeBucketTitle":"Remover configuração do bucket?","settings.buckets.removeButton":"Remover","settings.buckets.removingButton":"Removendo…","settings.buckets.secretAccessKeyLabel":"Chave de acesso secreta","settings.buckets.staticKeyHelperText":"Um ID de chave de acesso de longa duração e segredo, usados conforme fornecidos.","settings.buckets.staticKeyOption":"Par de chave estática (longa duração)","settings.buckets.stsSessionHelperText":"Armazena apenas um endpoint de atualização + chave API; credenciais de curta duração são buscadas sob demanda e atualizadas automaticamente.","settings.buckets.temporarySessionOption":"Sessão temporária (STS, auto-atualizada)","settings.connectClients.anyOtherClientDescription":"Qualquer outro cliente MCP: cole este endpoint nele para dar a esse runtime toda conexão habilitada nesta org, governada pelas suas regras do Decopilot.","settings.connectClients.apiKeyOption":"Chave API","settings.connectClients.copy":"Copiar","settings.connectClients.doneHideKey":"Concluído, ocultar chave","settings.connectClients.generateKey":"Gerar chave","settings.connectClients.generateKeyFor":"Gerar chave para {client}","settings.connectClients.generatingKey":"Gerando…","settings.connectClients.headlessKeyHint":"Para CI, Conductor, ou agentes headless que não conseguem abrir um navegador.","settings.connectClients.installMethod":"Método de instalação","settings.connectClients.keyCreated":"Chave criada","settings.connectClients.mcpDescription":"Para clientes sem shell. Compartilhar arquivos da Library e mandar mensagem para agentes exige a CLI + skill.","settings.connectClients.oauthDiscoveryDetails":"Detalhes de descoberta OAuth","settings.connectClients.oauthKeyHint":"Recomendado para seu laptop. O navegador abrirá no primeiro uso para você entrar — sem token para gerenciar.","settings.connectClients.oauthMetadataHint":"Os metadados do OAuth 2.1 Protected Resource são anunciados no 401:","settings.connectClients.oauthOption":"OAuth","settings.connectClients.otherClient":"Outro","settings.connectClients.pageTitle":"Conectar a clientes","settings.connectClients.recommended":"Recomendado","settings.connectClients.skillDescription":"Instale a skill do Studio e faça login uma vez. Depois disso, seu agente trabalha com os chats, agentes, tarefas e arquivos da Library desta org pela CLI decocms.","settings.connectClients.skillInstallStep":"1. Instale a skill","settings.connectClients.skillLoginHint":"Um navegador abre para você aprovar o login. A sessão se renova sozinha, então só faça login de novo quando o agente pedir.","settings.connectClients.skillLoginStep":"2. Faça login","settings.connectClients.skillNeedsBun":"Precisa do Bun.","settings.connectClients.skillOtherAgentsHint":"O instalador pergunta em quais agentes adicionar a skill.","settings.connectClients.skillTab":"CLI + skill","settings.connectClients.skillTitle":"Conectar seu agente","settings.connectClients.snippetOneTimeWarning":"Copie este snippet agora — a chave não será exibida novamente. Você pode revogá-la mais tarde na lista abaixo.","settings.connectForms.apiKeyField":"Chave API","settings.connectForms.apiKeyRequired":"A chave API é obrigatória","settings.connectForms.baseUrlField":"URL Base","settings.connectForms.baseUrlPlaceholder":"http://localhost:4000/v1","settings.connectForms.baseUrlRequired":"A URL base é obrigatória","settings.connectForms.cancel":"Cancelar","settings.connectForms.connectionSavedSuccess":"Conexão salva com sucesso","settings.connectForms.defaultKeyLabel":"Chave pessoal","settings.connectForms.failedSaveConnection":"Falha ao salvar conexão: {error}","settings.connectForms.failedSaveKey":"Falha ao salvar chave: {error}","settings.connectForms.hideApiKey":"Ocultar chave API","settings.connectForms.keySavedSuccess":"Chave salva com sucesso","settings.connectForms.labelField":"Rótulo","settings.connectForms.labelPlaceholder":"Ex: Chave pessoal","settings.connectForms.labelPlaceholderOpenAiCompatible":"Ex: Meu servidor compatível com OpenAI","settings.connectForms.labelPlaceholderPreset":"Ex: {name} prod, {name} dev","settings.connectForms.optional":"opcional","settings.connectForms.recommended":"recomendado","settings.connectForms.saveConnection":"Salvar Conexão","settings.connectForms.saveKey":"Salvar Chave","settings.connectForms.saving":"Salvando...","settings.connectForms.showApiKey":"Mostrar chave API","settings.connectProviderDialog.backButton":"Voltar","settings.connectProviderDialog.backButtonLabel":"Voltar","settings.connectProviderDialog.connectionTimedOutMessage":"Conexão expirou","settings.connectProviderDialog.defaultProviderName":"Provedor","settings.connectProviderDialog.defaultTitle":"Conectar um provedor de IA","settings.connectProviderDialog.gridDescription":"Escolha um provedor — o resto a gente resolve.","settings.connectProviderDialog.oauthFailedMessage":"Falha na conexão OAuth: {error}","settings.connectProviderDialog.oauthPendingMessage":"Autorize a conexão na janela de pop-up. Este chat será fechado quando a autorização for concluída.","settings.connectProviderDialog.oauthSuccessMessage":"{provider} conectado com sucesso","settings.connectProviderDialog.provisionPendingMessage":"Conectando…","settings.connectProviderDialog.provisionSuccessMessage":"{provider} conectado com sucesso","settings.connectProviderDialog.retryButton":"Tentar novamente","settings.connectProviderDialog.securityCheckFailedMessage":"Falha na verificação de segurança: Token de estado não corresponde","settings.connectProviderDialog.startOAuthFailedMessage":"Falha ao iniciar OAuth: {error}","settings.connectedProvidersSection.connectButton":"Conectar provedor","settings.connectedProvidersSection.emptyState":"Traga suas próprias chaves para usar modelos específicos junto com o gateway da Deco.","settings.connectedProvidersSection.sectionTitle":"Provedores conectados","settings.agentTools.chatHarnessCodexTitle":"Usar Codex em novos chats no sandbox","settings.agentTools.chatHarnessCodexDescription":"Executa novos chats no sandbox com Codex. Vincule sua assinatura do ChatGPT em Provedores de IA ou conecte um provedor da API Responses. Os chats existentes mantêm seu runtime.","settings.codexSubscription.setupHeading":"Conecte o Codex","settings.codexSubscription.setupDescription":"Vincule sua assinatura do ChatGPT em Configurações → Provedores de IA ou conecte um provedor com um endpoint da API Responses da OpenAI.","settings.codexSubscription.active":"Suas execuções do Codex usam sua assinatura do ChatGPT. As credenciais são renovadas automaticamente.","settings.codexSubscription.connect":"Vincular","settings.codexSubscription.connected":"Assinatura do ChatGPT vinculada","settings.codexSubscription.description":"Use sua assinatura do ChatGPT nos chats com Codex no sandbox. As credenciais pertencem a você e ficam criptografadas.","settings.codexSubscription.disconnect":"Desconectar","settings.codexSubscription.disconnected":"Assinatura do ChatGPT desconectada","settings.codexSubscription.howTo":"Execute este comando na sua máquina, entre com o ChatGPT e cole o conteúdo de ~/.codex/auth.json:","settings.codexSubscription.title":"Sua assinatura do ChatGPT para Codex","settings.codexSubscription.tokenPlaceholder":"Cole o conteúdo de auth.json","settings.claudeSubscription.active":"Seu plano Claude está executando estas tarefas de código.","settings.claudeSubscription.connect":"Vincular","settings.claudeSubscription.connected":"Assinatura Claude conectada","settings.claudeSubscription.description":"Execute tarefas de código no seu próprio plano Claude Pro ou Max, em vez do crédito de IA da organização.","settings.claudeSubscription.disconnect":"Desconectar","settings.claudeSubscription.disconnected":"Assinatura Claude desconectada","settings.claudeSubscription.expired":"A Anthropic não aceita mais seu token. Gere um novo para continuar usando seu plano.","settings.claudeSubscription.howTo":"Gere um token na sua própria máquina com","settings.claudeSubscription.title":"Sua assinatura Claude","settings.claudeSubscription.tokenPlaceholder":"Cole seu token","settings.githubCopilot.active":"Seu plano GitHub Copilot está executando estas tarefas de código.","settings.githubCopilot.connect":"Vincular","settings.githubCopilot.connected":"GitHub Copilot conectado","settings.githubCopilot.description":"Execute tarefas de código no Claude pelo seu próprio plano GitHub Copilot, em vez do crédito de IA da organização.","settings.githubCopilot.disconnect":"Desconectar","settings.githubCopilot.disconnected":"GitHub Copilot desconectado","settings.githubCopilot.howTo":"Crie um token fine-grained do GitHub com a permissão Copilot Requests","settings.githubCopilot.sharedBy":"Toda execução nesta organização usa o plano GitHub Copilot compartilhado por {name}.","settings.githubCopilot.shareTitle":"Compartilhar com a organização","settings.githubCopilot.shareDescription":"Todo chat e tarefa nesta organização roda no seu plano Copilot, antes dos planos dos membros e dos provedores de IA da organização.","settings.githubCopilot.title":"Seu plano GitHub Copilot","settings.githubCopilot.tokenPlaceholder":"Cole seu token github_pat_…","settings.decoCreditsHero.add":"Adicionar","settings.decoCreditsHero.addCredits":"Adicionar créditos","settings.decoCreditsHero.amountPlaceholder":"50","settings.decoCreditsHero.availableBalance":"Saldo de crédito disponível","settings.decoCreditsHero.cancel":"Cancelar","settings.decoCreditsHero.cancelButton":"Cancelar","settings.decoCreditsHero.custom":"Personalizado","settings.decoCreditsHero.decoAiGatewayAlt":"Deco AI Gateway","settings.decoCreditsHero.disconnect":"Desconectar","settings.decoCreditsHero.disconnectButton":"Desconectar","settings.decoCreditsHero.disconnectDescription":"Isso removerá o Deco AI Gateway deste espaço de trabalho. Seu saldo de crédito é preservado e estará disponível se você se reconectar.","settings.decoCreditsHero.disconnectError":"Falha ao desconectar: {message}","settings.decoCreditsHero.disconnectSuccess":"Deco AI Gateway desconectado","settings.decoCreditsHero.disconnectTitle":"Desconectar Deco AI Gateway","settings.decoCreditsHero.refreshBalance":"Atualizar saldo","settings.decoCreditsHero.title":"Deco AI Gateway","settings.planUsage.title":"Plano","settings.planUsage.loadFailed":"Não foi possível ler o plano desta organização.","settings.planUsage.retry":"Tentar novamente","settings.planUsage.aiUsage":"Uso de IA","settings.planUsage.usageUnavailable":"Indisponível","settings.planUsage.used":"usado","settings.plans.perMonth":"/ mês","settings.planUsage.periodHint":"Reinicia no começo de cada ciclo de cobrança.","settings.planUsage.noAiIncluded":"Sem uso de IA incluído.","settings.planUsage.noPlan":"Nenhum plano ativo","settings.planUsage.noPlanDescription":"Esta organização não tem um plano ativo. Escolha um abaixo — o primeiro mês do Starter é grátis.","settings.planUsage.creditsLeft":"restantes","settings.planUsage.manageBilling":"Gerenciar cobrança","settings.planUsage.portalFailed":"Não foi possível abrir a cobrança: {message}","settings.planUsage.subscribe":"Assinar","settings.planUsage.changePlan":"Mudar de plano","settings.planUsage.changed":"Plano atualizado","settings.planUsage.changeFailed":"Não foi possível trocar o plano: {message}","settings.planUsage.feature.cms":"CMS","settings.planUsage.feature.chat":"Chat superagent","settings.planUsage.feature.monitoring":"Analytics do site","settings.planUsage.feature.kanban":"Kanban agêntico","settings.planUsage.feature.model_choice":"Escolher o modelo","settings.planUsage.feature.credits":"Créditos extras","settings.planUsage.feature.diagnostic":"Deco Score","settings.planUsage.feature.diagnostic_enriched":"Deco Score enriquecido","settings.plans.title":"Planos","settings.plans.loadFailed":"Não foi possível carregar os planos.","settings.plans.currentPlan":"Plano atual","settings.plans.firstMonthFree":"1º mês grátis","settings.plans.startTrial":"Começar teste grátis","settings.plans.custom.name":"Custom","settings.plans.custom.description":"Para grandes times com contrato próprio","settings.plans.custom.cta":"Fale com a gente","settings.plans.managed":"Seu plano: {plan}. Fale com a gente para mudá-lo.","settings.plans.invoice.cta":"Adicionar à minha fatura","settings.plans.invoice.confirm":"O plano {plan} será adicionado à sua próxima fatura. Mudar agora?","settings.plans.invoice.cancel":"Cancelar","settings.plans.invoice.switch":"Mudar de plano","settings.paywall.bullets.kanban.1":"Agentes que fazem o trabalho e movem os cards","settings.paywall.bullets.kanban.2":"Um board que o time inteiro compartilha","settings.paywall.bullets.kanban.3":"Colunas, tags e prioridades","settings.paywall.bullets.allowance.1":"Uma franquia mensal que reinicia","settings.paywall.bullets.allowance.2":"Compre créditos extras quando quiser","settings.paywall.bullets.allowance.3":"Sua mensagem fica no composer","settings.paywall.bullets.cms.1":"Edite conteúdo e layout","settings.paywall.bullets.cms.2":"Preview ao vivo enquanto edita","settings.paywall.bullets.cms.3":"Publique quando estiver do jeito certo","settings.paywall.bullets.monitoring.1":"Pageviews, visitantes e origens","settings.paywall.bullets.monitoring.2":"Taxa de cache, latência e erros","settings.paywall.bullets.monitoring.3":"Tráfego por país e dispositivo","settings.paywall.upgradeTitle":"{feature} vem com o {plan}","settings.paywall.upgradeDescription":"Libera para todo mundo na organização.","settings.paywall.description":"O plano desta organização não inclui {feature}. Troque de plano para liberar para todo mundo na org.","settings.paywall.seePlans":"Ver planos","settings.paywall.dismiss":"Agora não","settings.paywall.serverRefusedFeature":"Seu plano não inclui este recurso. Peça a um owner para fazer upgrade, ou veja os planos.","settings.paywall.serverRefusedBudget":"Esta organização usou todo o limite mensal de IA. O chat e as tarefas ficam pausados até fazer upgrade ou adicionar créditos.","settings.decoCreditsHero.topUpFailed":"Recarga falhou: {message}","settings.decoNudgeCard.connectDeco":"Conectar Deco","settings.decoNudgeCard.connecting":"Conectando…","settings.decoNudgeCard.decoAiGateway":"Deco AI Gateway","settings.decoNudgeCard.description":"100+ modelos, uma conexão — pague conforme usa, sem APIs para gerenciar.","settings.decoNudgeCard.recommended":"Recomendado","settings.deleteOrganizationSection.cancel":"Cancelar","settings.deleteOrganizationSection.dangerZone":"Zona de Risco","settings.deleteOrganizationSection.deleteButton":"Deletar","settings.deleteOrganizationSection.deleteOrganizationAction":"Deletar organização","settings.deleteOrganizationSection.deleteOrganizationDescription":"Delete permanentemente esta organização e todos os seus dados. Esta ação não pode ser desfeita.","settings.deleteOrganizationSection.deleteOrganizationQuestion":"Deletar Organização?","settings.deleteOrganizationSection.deleteOrganizationTitle":"Deletar organização","settings.deleteOrganizationSection.deleteWarning":"Isto irá deletar permanentemente todos os dados associados com {organizationName}. Esta ação não pode ser desfeita.","settings.deleteOrganizationSection.deleting":"Deletando…","settings.deleteOrganizationSection.failedToDeleteOrganization":"Falha ao deletar organização","settings.deleteOrganizationSection.irreversibleActionsDescription":"Ações irreversíveis que afetam toda a sua organização.","settings.deleteOrganizationSection.organizationDeleted":"Organização deletada","settings.deleteOrganizationSection.typeToConfirm":"Digite {organizationName} para confirmar:","settings.domainSettings.addDnsRecordInstruction":"Adicione o registro DNS abaixo e verifique.","settings.domainSettings.addDomain":"Adicionar domínio","settings.domainSettings.adding":"Adicionando…","settings.domainSettings.copied":"Copiado","settings.domainSettings.dnsInstructions":"Adicione este registro TXT no seu provedor de DNS e clique em Verificar:","settings.domainSettings.domainAdded":"Domínio adicionado","settings.domainSettings.domainPlaceholder":"acme.com","settings.domainSettings.domainRemoved":"Domínio removido","settings.domainSettings.domainVerified":"Domínio verificado","settings.domainSettings.emailDomains":"Domínios de e-mail","settings.domainSettings.emailDomainsDescription":"Permita que pessoas com um domínio de e-mail correspondente descubram e se juntem a esta organização.","settings.domainSettings.failedAddDomain":"Falha ao adicionar domínio","settings.domainSettings.failedRemove":"Falha ao remover","settings.domainSettings.failedUpdate":"Falha ao atualizar","settings.domainSettings.failedVerify":"Falha ao verificar","settings.domainSettings.joinMode":"Modo de entrada","settings.domainSettings.joinModeAuto":"Entrada automática","settings.domainSettings.joinModeHelpAuto":"Qualquer pessoa com um e-mail @{domain} verificado entra automaticamente.","settings.domainSettings.joinModeHelpOff":"Não detectável — ninguém pode encontrar ou se juntar através deste domínio.","settings.domainSettings.joinModeHelpRequest":"Pessoas com um e-mail @{domain} verificado podem solicitar entrada; um administrador aprova.","settings.domainSettings.joinModeOff":"Desativado","settings.domainSettings.joinModeRequest":"Requer aprovação","settings.domainSettings.joinModeUpdated":"Modo de entrada atualizado","settings.domainSettings.pending":"Pendente","settings.domainSettings.remove":"Remover","settings.domainSettings.txt":"TXT","settings.domainSettings.txtRecordNotFound":"Registro TXT não encontrado ainda — o DNS pode levar alguns minutos.","settings.domainSettings.value":"valor","settings.domainSettings.verified":"Verificado","settings.domainSettings.verify":"Verificar","settings.editProviderDialog.apiKey":"Chave de API","settings.editProviderDialog.apiKeyRequiredForBaseUrlChange":"Informe a chave de API novamente para confirmar a mudança da URL base","settings.editProviderDialog.baseUrl":"URL base","settings.editProviderDialog.baseUrlPlaceholder":"http://localhost:4000/v1","settings.editProviderDialog.cancel":"Cancelar","settings.editProviderDialog.editTitle":"Editar {name}","settings.editProviderDialog.failedToUpdate":"Falha ao atualizar: {error}","settings.editProviderDialog.hideApiKey":"Ocultar chave de API","settings.editProviderDialog.label":"Rótulo","settings.editProviderDialog.labelPlaceholder":"p.ex. Chave pessoal","settings.editProviderDialog.labelRequired":"Rótulo é obrigatório","settings.editProviderDialog.leaveBlankHint":"deixe em branco para manter atual","settings.editProviderDialog.providerUpdated":"Provedor atualizado","settings.editProviderDialog.save":"Salvar","settings.editProviderDialog.saving":"Salvando...","settings.editProviderDialog.showApiKey":"Mostrar chave de API","settings.joinRequestsSection.approve":"Aprovar","settings.joinRequestsSection.approveFailed":"Falha ao aprovar","settings.joinRequestsSection.approved":"Solicitação aprovada","settings.joinRequestsSection.deny":"Recusar","settings.joinRequestsSection.denied":"Solicitação recusada","settings.joinRequestsSection.denyFailed":"Falha ao recusar","settings.joinRequestsSection.description":"Pessoas que solicitaram entrada por um domínio em modo de aprovação.","settings.joinRequestsSection.title":"Solicitações de entrada","settings.orgGeneral.organization":"Organização","settings.review.title":"Revisores e merge","settings.review.description":"O Reviewer automático roda no pull request de uma tarefa quando o card chega na coluna Em Revisão (checks passando ou inexistentes). Ele aparece como uma sessão no card da tarefa.","settings.review.reviewerTitle":"Ativar Reviewer","settings.review.reviewerDescription":"Quando o card chega na coluna Em Revisão, revisa o código com as skills de review do próprio repositório, corrige o que encontra na branch do pull request e depois testa a mudança no preview do deploy. Uma aprovação move o card para QA; quando não consegue resolver algo, passa a tarefa para você.","settings.review.cheapReviewerModelTitle":"Rodar os revisores em um modelo mais barato","settings.review.cheapReviewerModelDescription":"O Reviewer roda em um modelo menor que o Super Agent que escreveu a mudança. Reduz o custo da revisão; pode reduzir a profundidade.","settings.review.autoMergeTitle":"Ativar Auto-merge","settings.review.autoMergeDescription":"Quando um card chega em Pronto para Deploy, mescla o pull request automaticamente em vez de esperar alguém clicar em Subir para produção.","settings.review.autoResolveConflictsTitle":"Resolver conflitos de merge automaticamente","settings.review.autoResolveConflictsDescription":"Quando um pull request em Pronto para Deploy conflita com a branch base, devolve para o Super Agent fazer checkout da branch, mesclar a base e dar push. Segue o Auto-merge, a menos que você ajuste aqui.","settings.review.autoAssignReportTasksTitle":"Atribuir tarefas do Deco Score ao Super Agent automaticamente","settings.review.autoAssignReportTasksDescription":"Tarefas criadas a partir do Deco Score são delegadas ao Super Agent automaticamente, em vez de ficarem sem responsável.","settings.review.updateError":"Não foi possível atualizar a configuração","settings.taskPrompt.title":"System prompt","settings.taskPrompt.fieldLabel":"Instruções","settings.taskPrompt.placeholder":"ex.: Use pnpm, nunca npm. Nunca edite arquivos em src/generated/.","settings.taskPrompt.save":"Salvar","settings.taskPrompt.saved":"System prompt salvo","settings.taskPrompt.failed":"Não foi possível salvar o system prompt","settings.taskPrompt.skillsLabel":"Skills em todas as colunas","settings.agentTools.title":"Ferramentas do agente","settings.agentTools.description":"O que um run de agente de código alcança além do repositório em que está trabalhando.","settings.agentTools.orgMcpsTitle":"Dar aos runs as conexões MCP desta organização","settings.agentTools.orgMcpsDescription":"Cada MCP conectado fica disponível para o Super Agent e para os revisores, além das ferramentas de tarefa que eles sempre recebem. As ferramentas carregam só quando o agente procura por uma, então conectar mais não ocupa o contexto dele.","settings.agentTools.orgMcpsPickTitle":"Conexões que os runs alcançam","settings.agentTools.orgMcpsPickDescription":"Desligue uma para mantê-la fora dos runs de coding agent. Útil para uma conexão que duplica uma ferramenta que o run já tem — um MCP do mesmo tracker em que o run reporta, por exemplo. Um MCP conectado depois começa ligado.","settings.agentTools.orgMcpsPickAriaLabel":"Deixar os runs alcançarem {name}","settings.agentTools.orgMcpsPickEmpty":"Esta organização ainda não tem conexões MCP","settings.agentTools.orgMcpsPickFailed":"Não foi possível salvar quais conexões os runs alcançam","settings.agentTools.orgMcpsPickSearch":"Buscar conexões…","settings.agentTools.orgMcpsPickLoadFailed":"Não foi possível carregar as conexões MCP","settings.agentTools.orgMcpsPickEnableAll":"Ligar todas","settings.agentTools.orgMcpsPickDisableAll":"Desligar todas","settings.agentTools.orgMcpsPickNoMatch":"Nenhuma conexão corresponde a essa busca","settings.agentTools.orgMcpsPickSave":"Salvar","settings.agentTools.orgMcpsPickSaving":"Salvando…","settings.agentTools.orgMcpsPickDiscard":"Descartar","settings.agentTools.orgMcpsPickSaved":"Conexões que os runs alcançam salvas","settings.agentTools.chatRuntimeSection":"Chats","settings.agentTools.chatHarnessSandboxOnlyTitle":"Rodar todo chat com o Claude Code no seu próprio sandbox","settings.agentTools.chatHarnessSandboxOnlyDescription":"Todo chat novo roda o Claude Code em um sandbox só dele em vez de rodar no Decopilot, e chats existentes do Decopilot mudam na próxima mensagem. A primeira mensagem de um chat espera o sandbox iniciar. Requer uma chave da Anthropic, OpenRouter ou do gateway de IA da deco, ou uma assinatura do Claude.","settings.agentTools.codingAgentsClaudeCodeTitle":"Rodar chats de Code Agent com o Claude Code","settings.agentTools.codingAgentsClaudeCodeDescription":"Chats em um agente importado de um repositório do GitHub rodam dentro do sandbox desse agente, ao lado do checkout, em vez de rodarem no Decopilot. As respostas chegam de turno inteiro, e não palavra por palavra. Só vale para chats novos — um chat existente mantém o runtime em que começou.","settings.orgRoleDetail.addMember":"Adicionar Membro","settings.orgRoleDetail.addMembersToGrantPermissions":"Adicione membros para conceder as permissões configuradas.","settings.orgRoleDetail.addMembersToRole":"Adicionar Membros ao Papel","settings.orgRoleDetail.addWithCount":"Adicionar ({count})","settings.orgRoleDetail.added":"Adicionado","settings.orgRoleDetail.allConnections":"Todas as conexões","settings.orgRoleDetail.allConnectionsDescription":"Todas as ferramentas de todas as conexões, inclusive as adicionadas depois. Desmarque uma conexão para deixá-la de fora.","settings.orgRoleDetail.allModels":"Todos os modelos","settings.orgRoleDetail.allOrgPermissions":"Todas as permissões da organização","settings.orgRoleDetail.allProjects":"Todos os projetos","settings.orgRoleDetail.allProjectsDescription":"Este papel pode acessar todos os projetos, inclusive os criados depois. Desmarque um projeto para escondê-lo deste papel, ou desative para escolher projetos específicos.","settings.orgRoleDetail.builtinRolePermissionsCannotBeChanged":"Permissões de papel integrado não podem ser alteradas","settings.orgRoleDetail.cancel":"Cancelar","settings.orgRoleDetail.createRole":"Criar Papel","settings.orgRoleDetail.enabledCount":"{enabledCount}/{total} ativados","settings.orgRoleDetail.failedToSaveRole":"Falha ao salvar papel","settings.orgRoleDetail.general":"Geral","settings.orgRoleDetail.grantFullAccessToAllFeaturesBelow":"Conceder acesso completo a todos os recursos abaixo","settings.orgRoleDetail.loadingModels":"Carregando modelos...","settings.orgRoleDetail.mcpPermissions":"Permissões MCP","settings.orgRoleDetail.members":"Membros","settings.orgRoleDetail.membersUpdatedSuccessfully":"Membros atualizados com sucesso!","settings.orgRoleDetail.models":"Modelos","settings.orgRoleDetail.noLlmConnectionsConfigured":"Nenhuma conexão LLM configurada","settings.orgRoleDetail.noMembers":"Sem membros","settings.orgRoleDetail.noMembersAvailable":"Nenhum membro disponível","settings.orgRoleDetail.noMembersFound":"Nenhum membro encontrado","settings.orgRoleDetail.noMembersMatch":'Nenhum membro corresponde a "{searchQuery}"',"settings.orgRoleDetail.noPermissionsMatch":'Nenhuma permissão corresponde a "{searchQuery}"',"settings.orgRoleDetail.noProjectsAvailable":"Nenhum projeto disponível","settings.orgRoleDetail.noProjectsMatch":'Nenhum projeto corresponde a "{searchQuery}"',"settings.orgRoleDetail.organizationPermissions":"Permissões da Organização","settings.orgRoleDetail.owner":"Proprietário","settings.orgRoleDetail.ownerMembershipCannotBeChanged":"A associação de proprietário não pode ser alterada","settings.orgRoleDetail.projects":"Projetos","settings.orgRoleDetail.removeMember":"Remover {name} do papel","settings.orgRoleDetail.roleCreatedSuccessfully":"Papel criado com sucesso!","settings.orgRoleDetail.roleName":"Nome do papel","settings.orgRoleDetail.roleNameIsRequired":"Nome do papel é obrigatório","settings.orgRoleDetail.roleUpdatedSuccessfully":"Papel atualizado com sucesso!","settings.orgRoleDetail.saveChanges":"Salvar Alterações","settings.orgRoleDetail.saving":"Salvando...","settings.orgRoleDetail.searchMcpServers":"Procurar servidores MCP...","settings.orgRoleDetail.searchMembers":"Procurar membros...","settings.orgRoleDetail.searchModels":"Procurar modelos...","settings.orgRoleDetail.searchPermissions":"Procurar permissões...","settings.orgRoleDetail.searchProjects":"Procurar projetos...","settings.orgRoleDetail.selectMembersToAddToThisRole":"Selecione membros para adicionar a este papel.","settings.orgRoleDetail.showMore":"Mostrar mais ({remaining} restantes)","settings.orgRoleDetail.somethingWentWrong":"Algo deu errado","settings.orgRoleDetail.unknown":"Desconhecido","settings.orgRoleDetail.userIsDefaultRoleMessage":"Usuário é o papel padrão — membros não podem ser removidos dele; atribua outro papel para alterar seu acesso","settings.orgSso.cancelButton":"Cancelar","settings.orgSso.clientIdLabel":"ID do Cliente","settings.orgSso.clientIdPlaceholder":"seu-id-cliente","settings.orgSso.clientSecretEditDescription":"Deixe em branco para manter atual","settings.orgSso.clientSecretLabel":"Senha do Cliente","settings.orgSso.clientSecretPlaceholder":"sua-senha-cliente","settings.orgSso.clientSecretRequiredError":"Senha do Cliente é obrigatória para a configuração inicial","settings.orgSso.configurationRemovedSuccess":"Configuração SSO removida","settings.orgSso.configurationSavedSuccess":"Configuração SSO salva","settings.orgSso.configureSsoButton":"Configurar SSO","settings.orgSso.discoveryEndpointDescription":"Opcional — detectado automaticamente do issuer se omitido.","settings.orgSso.discoveryEndpointLabel":"Endpoint de Descoberta","settings.orgSso.discoveryEndpointPlaceholder":"Detectado automaticamente do issuer","settings.orgSso.domainLabel":"Domínio","settings.orgSso.editConfigButton":"Editar configuração","settings.orgSso.emailDomainDescription":"O domínio de e-mail que este provedor SSO cobre.","settings.orgSso.emailDomainLabel":"Domínio de E-mail","settings.orgSso.emailDomainPlaceholder":"empresa.com","settings.orgSso.enforceSsoDescription":"Exigir que todos os membros se autentiquem via SSO","settings.orgSso.enforceSsoLabel":"Forçar SSO","settings.orgSso.enforcementDisabledSuccess":"Aplicação de SSO desativada","settings.orgSso.enforcementEnabledSuccess":"Aplicação de SSO ativada","settings.orgSso.issuerUrlDescription":"A URL do issuer OIDC do seu provedor de identidade.","settings.orgSso.issuerUrlLabel":"URL do Issuer","settings.orgSso.issuerUrlPlaceholder":"https://login.microsoftonline.com/{tenant}/v2.0","settings.orgSso.loading":"Carregando...","settings.orgSso.providerLabel":"Provedor","settings.orgSso.removeButton":"Remover","settings.orgSso.removeConfirmation":"Tem certeza de que deseja remover a configuração SSO?","settings.orgSso.removeSsoConfigError":"Falha ao remover configuração SSO","settings.orgSso.requiredFieldsError":"Issuer, ID do Cliente e Domínio são obrigatórios","settings.orgSso.saveSsoConfigError":"Falha ao salvar configuração SSO","settings.orgSso.savingButton":"Salvando...","settings.orgSso.scopesLabel":"Escopos","settings.orgSso.scopesPlaceholder":"openid email profile","settings.orgSso.sectionTitle":"Single Sign-On","settings.orgSso.securityTitle":"Segurança","settings.orgSso.testSsoButton":"Testar SSO","settings.orgSso.toggleEnforcementError":"Falha ao alternar aplicação de SSO","settings.orgSso.updateButton":"Atualizar","settings.organizationForm.failedToReadImage":"Falha ao ler imagem","settings.organizationForm.failedToUpdateOrg":"Falha ao atualizar organização","settings.organizationForm.imageTooLarge":"Imagem deve ser menor que 2MB","settings.organizationForm.logoDescription":"Tamanho recomendado é 256x256px","settings.organizationForm.logoTitle":"Logo","settings.organizationForm.namePlaceholder":"Nome da organização","settings.organizationForm.nameRequired":"O nome é obrigatório","settings.organizationForm.nameTitle":"Nome","settings.organizationForm.nameTooLong":"O nome é muito longo","settings.organizationForm.updateSuccess":"Organização atualizada com sucesso","settings.organizationForm.uploadLogoLabel":"Enviar logo da organização","settings.organizationForm.urlDescription":"Não pode ser alterada — é usada em URLs e integrações de API.","settings.organizationForm.urlTitle":"URL","settings.providerKeyRow.addedTimeAgo":"{label} · adicionada há {time}","settings.providerKeyRow.cancel":"Cancelar","settings.providerKeyRow.claudeCode":"Claude Code","settings.providerKeyRow.codex":"Codex","settings.providerKeyRow.delete":"Excluir","settings.providerKeyRow.deleteApiKey":"Excluir chave de API","settings.providerKeyRow.deleteProviderKey":"Excluir chave do provedor","settings.providerKeyRow.editProviderKey":"Editar chave do provedor","settings.providerKeyRow.failedToDeleteKey":"Falha ao excluir chave: {error}","settings.providerKeyRow.keyDeleted":"Chave excluída","settings.roles.allConnections":"Todas as conexões","settings.roles.basicAccess":"Acesso básico","settings.roles.builtIn":"Integrada","settings.roles.cancel":"Cancelar","settings.roles.columnMembers":"Membros","settings.roles.columnPermissions":"Permissões","settings.roles.columnRole":"Função","settings.roles.columnType":"Tipo","settings.roles.connectionCount":"{count} conexão(ões)","settings.roles.createRole":"Criar Função","settings.roles.createRoleGetStarted":"Crie uma função para começar.","settings.roles.custom":"Personalizada","settings.roles.delete":"Excluir","settings.roles.deleteRoleConfirm":'Tem certeza que deseja excluir a função "{role}"? Esta ação não pode ser desfeita.',"settings.roles.deleteRoleTitle":"Excluir Função","settings.roles.deletedSuccessfully":"Função excluída com sucesso!","settings.roles.failedToLoad":"Falha ao carregar funções","settings.roles.fullAccess":"Acesso completo","settings.roles.fullOrgAccess":"Acesso completo da organização","settings.roles.noPermissions":"Sem permissões","settings.roles.noRoles":"Sem funções","settings.roles.noRolesFound":"Nenhuma função encontrada","settings.roles.noRolesMatchSearch":'Nenhuma função corresponde a "{search}"',"settings.roles.orgPermsCount":"{count} permissão(ões) da org","settings.roles.pageTitle":"Funções","settings.roles.roleAdmin":"Administrador","settings.roles.roleOwner":"Proprietário","settings.roles.roleUser":"Usuário","settings.roles.searchPlaceholder":"Pesquisar funções...","settings.apiKeys.cancelButton":"Cancelar","settings.apiKeys.copied":"Copiado para a área de transferência","settings.apiKeys.copyKey":"Copiar chave","settings.apiKeys.createButton":"Criar chave","settings.apiKeys.createdAt":"Criada em {date}","settings.apiKeys.createdDescription":"Copie esta chave agora — ela não será mostrada novamente.","settings.apiKeys.createdTitle":"Chave de API criada","settings.apiKeys.creatingButton":"Criando…","settings.apiKeys.deleteDescription":"Qualquer aplicação usando esta chave perderá acesso imediatamente. Isso não pode ser desfeito.","settings.apiKeys.deleteKey":"Excluir chave","settings.apiKeys.deleteTitle":'Excluir "{name}"?',"settings.apiKeys.done":"Concluído","settings.apiKeys.emptyDescription":"Crie uma chave para autenticar aplicações externas nesta organização.","settings.apiKeys.emptyTitle":"Nenhuma chave de API ainda","settings.apiKeys.failedToCreateKey":"Falha ao criar chave de API","settings.apiKeys.failedToDeleteKey":"Falha ao excluir chave de API","settings.apiKeys.failedToLoadError":"Falha ao carregar chaves de API: {error}","settings.apiKeys.keyDeleted":'Chave de API "{name}" excluída',"settings.apiKeys.loading":"Carregando chaves de API…","settings.apiKeys.nameLabel":"Nome","settings.apiKeys.namePlaceholder":"Minha integração","settings.apiKeys.newKey":"Nova chave","settings.apiKeys.newKeyDescription":"Dê um nome à chave para reconhecê-la depois.","settings.apiKeys.newKeyTitle":"Nova chave de API","settings.apiKeys.sectionDescription":"Chaves de longa duração para scripts e clientes que não conseguem entrar por um navegador.","settings.apiKeys.sectionTitle":"Chaves de API","settings.secrets.cancelButton":"Cancelar","settings.secrets.createButton":"Criar segredo","settings.secrets.creatingButton":"Criando…","settings.secrets.descriptionLabel":"Descrição (opcional)","settings.secrets.descriptionPlaceholder":"Para que é usado este segredo?","settings.secrets.emptyDescription":"Armazene chaves de API, tokens e outros valores sensíveis. Os valores são criptografados em repouso e nunca retornados pela API.","settings.secrets.emptyTitle":"Nenhum segredo ainda","settings.secrets.failedToCreateSecret":"Falha ao criar segredo","settings.secrets.failedToLoadError":"Falha ao carregar segredos: {error}","settings.secrets.nameHelp":"Letras, dígitos, sublinhado, ponto, hífen. Sem distinção entre maiúsculas e minúsculas dentro do seu escopo.","settings.secrets.nameLabel":"Nome","settings.secrets.namePlaceholder":"STRIPE_API_KEY","settings.secrets.newSecret":"Novo segredo","settings.secrets.newSecretDescription":"Armazenado criptografado no cofre de credenciais. Escolha quem pode lê-lo.","settings.secrets.newSecretTitle":"Novo segredo","settings.secrets.scopeLabel":"Escopo","settings.secrets.scopeOrganization":"Organização","settings.secrets.scopeOrganizationDescription":"Organização — visível para todos os membros","settings.secrets.scopePrivate":"Privado","settings.secrets.scopePrivateDescription":"Privado — visível apenas para mim","settings.secrets.secretCreated":'Segredo "{name}" criado',"settings.secrets.secretsCountSingular":"{count} segredo armazenado","settings.secrets.secretsCountPlural":"{count} segredos armazenados","settings.secrets.sectionOrganization":"Organização","settings.secrets.sectionPrivate":"Privado para mim","settings.secrets.valueLabel":"Valor","settings.simpleModeSection.defaultModels":"Modelos padrão","settings.simpleModeSection.failedToSave":"Falha ao salvar: {error}","settings.simpleModeSection.modelsPowerDescription":"Estes modelos alimentam chat, automações e ferramentas em toda a sua organização.","settings.simpleModeSection.notAvailableWithCurrentProvider":"Não disponível com o provedor atual","settings.simpleModeSection.pickModel":"Escolher modelo","settings.simpleModeSection.saved":"Salvo","settings.simpleModeSection.saving":"Salvando…","settings.simpleModeSection.tierDeepResearch":"Pesquisa aprofundada","settings.simpleModeSection.tierDeepResearchDesc":"Relatórios de pesquisa aprofundados e multi-fonte","settings.simpleModeSection.tierFast":"Rápido","settings.simpleModeSection.tierFastDesc":"Respostas mais rápidas, ideal para tarefas rápidas","settings.simpleModeSection.tierImage":"Imagem","settings.simpleModeSection.tierImageDesc":"Geração de imagens","settings.simpleModeSection.tierSmart":"Inteligente","settings.simpleModeSection.tierSmartDesc":"Equilíbrio entre velocidade e capacidade","settings.simpleModeSection.tierThinking":"Reflexivo","settings.simpleModeSection.tierThinkingDesc":"Mais capaz, ideal para tarefas complexas","settings.simpleModeSection.tierWebSearch":"Busca na web","settings.simpleModeSection.tierWebSearchDesc":"Respostas rápidas e atualizadas da web","settings.aiProviders.recommended":"Recomendado — 100+ modelos, pague conforme usa","settings.aiProviders.customOpenAiCompatible":"OpenAI-compatível personalizado","settings.aiProviders.customOpenAiDescription":"Traga seu próprio servidor de modelos (avançado)","settings.aiProviders.moreProvidersSingular":"{count} provedor adicional","settings.aiProviders.moreProvidersPlural":"{count} provedores adicionais","settings.aiProviders.decoConnectSuccess":"Deco AI Gateway conectado com sucesso","settings.aiProviders.decoConnectError":"Falha ao conectar o Deco AI Gateway: {error}","settings.infraBilling.noSites":"Esta organização ainda não é dona de nenhum site deco.cx.","settings.infraBilling.siteLabel":"Sites","settings.infraBilling.pickASite":"Selecione ao menos um site.","settings.infraBilling.tooManySites":"Mostrando os primeiros {count} sites. Selecione sites específicos para ver os demais.","settings.infraBilling.multipleTeams":"Estes sites são cobrados por {count} times legados. O plano e as faturas de cada time estão em Faturas.","settings.infraBilling.noTeam":"Estes sites não estão vinculados a um time de cobrança legado.","settings.infraBilling.partialTeam":"O time legado deste site também cobra sites fora desta organização, então o plano e as faturas não aparecem aqui.","settings.infraBilling.billingUnavailable":"Plano e faturas estão temporariamente indisponíveis.","settings.infraBilling.monthLabel":"Mês","settings.infraBilling.warehouseUnavailable":"Não foi possível ler os dados de uso, então os números abaixo estão incompletos.","settings.infraBilling.summaryTitle":"Resumo","settings.infraBilling.metricsTitle":"Métricas","settings.infraBilling.invoicesTitle":"Faturas","settings.infraBilling.detailsTitle":"Detalhes de cobrança","settings.infraBilling.currentPlan":"Plano atual","settings.infraBilling.nextBilling":"Próxima cobrança","settings.infraBilling.manageButton":"Gerenciar","settings.infraBilling.portalError":"Não foi possível abrir o portal de cobrança: {message}","settings.infraBilling.requestsPerPageview":"Requisições por pageview","settings.infraBilling.plan.free":"Free","settings.infraBilling.plan.pro":"Pro","settings.infraBilling.plan.enterprise":"Enterprise","settings.infraBilling.pageviews":"Pageviews","settings.infraBilling.pageviewsDescription":"Páginas entregues a visitantes neste mês.","settings.infraBilling.requests":"Requisições","settings.infraBilling.requestsDescription":"Requisições de CDN e da infraestrutura compartilhada.","settings.infraBilling.dataTransfer":"Transferência de dados","settings.infraBilling.dataTransferDescription":"Banda entregue pela edge e pela origem.","settings.infraBilling.noInvoices":"Nenhuma fatura emitida para este time.","settings.infraBilling.invoiceReference":"Referência","settings.infraBilling.invoiceDue":"Vencimento","settings.infraBilling.invoiceAmount":"Valor","settings.infraBilling.invoiceStatus":"Status","settings.infraBilling.invoiceDocuments":"Documentos","settings.infraBilling.invoiceNf":"Nota fiscal","settings.infraBilling.invoiceBankSlip":"Boleto","settings.infraBilling.invoiceBankTransfer":"Transferência","settings.infraBilling.statusPaid":"Paga","settings.infraBilling.statusOverdue":"Vencida","settings.infraBilling.statusPending":"Pendente","settings.gitCredentials.title":"Credenciais git","settings.gitCredentials.description":"Tokens de acesso pessoal para repositórios git privados dos quais seus projetos dependem mas que o sandbox não alcança sozinho — submódulos e dependências privadas resolvidas por pub, go, npm ou cargo. Usados por todos os sandboxes desta organização. Referencie um segredo de org/usuário por host; URLs SSH são reescritas para HTTPS para que o token se aplique.","settings.gitCredentials.addCredential":"Adicionar credencial git","settings.gitCredentials.cancel":"Cancelar","settings.gitCredentials.createNewSecret":"Criar novo segredo","settings.gitCredentials.createNewSecretAriaLabel":"Criar novo segredo","settings.gitCredentials.createNewSecretDescription":"Armazenado criptografado no cofre de credenciais. A credencial git fará referência ao novo segredo pelo id — seu valor nunca sai do servidor.","settings.gitCredentials.createNewSecretTitle":"Criar novo segredo","settings.gitCredentials.descriptionLabel":"Descrição (opcional)","settings.gitCredentials.descriptionPlaceholder":"Para que este token é usado?","settings.gitCredentials.failedToLoadSecrets":"Falha ao carregar segredos","settings.gitCredentials.failedToSave":"Falha ao salvar as credenciais git","settings.gitCredentials.failedToSaveSecret":"Falha ao salvar","settings.gitCredentials.hostAriaLabel":"Host da credencial git {index}","settings.gitCredentials.hostInvalidMessage":"Nome de host simples, ex.: github.com (sem esquema ou caminho).","settings.gitCredentials.hostPlaceholder":"github.com","settings.gitCredentials.maxReached":"Você atingiu o limite de {max} credenciais git. Remova uma para adicionar outra.","settings.gitCredentials.nameLabel":"Nome","settings.gitCredentials.namePlaceholder":"GITHUB_DEPS_PAT","settings.gitCredentials.nameHelperText":"Letras, dígitos, underscore, ponto, hífen.","settings.gitCredentials.noSecretsYet":'Nenhum segredo ainda. Use o "+" para criar um.',"settings.gitCredentials.pickSecretPlaceholder":"Escolha um segredo…","settings.gitCredentials.remove":"Remover","settings.gitCredentials.removeAriaLabel":"Remover credencial git","settings.gitCredentials.saveSecret":"Salvar segredo","settings.gitCredentials.saving":"Salvando…","settings.gitCredentials.secretAriaLabel":"Segredo da credencial git {index}","settings.gitCredentials.scopeLabel":"Escopo","settings.gitCredentials.scopeOrganization":"Organização — visível para todos os membros","settings.gitCredentials.scopePrivate":"Privado — visível apenas para mim","settings.gitCredentials.secretSaved":'Segredo "{name}" salvo',"settings.gitCredentials.tokenExposureWarning":"O token é instalado na configuração git do sandbox durante a sessão, então comandos e agentes executados lá podem usá-lo. Restrinja-o aos repositórios necessários.","settings.gitCredentials.tokenLabel":"Token de acesso pessoal","settings.gitCredentials.tokenPlaceholder":"Cole seu token"},rX={"announcements.ptBr.title":"O Studio agora está em português","announcements.ptBr.description":"Notamos que seu navegador está em português, então mudamos o Studio para português (Brasil). Você pode voltar para o inglês quando quiser nas configurações.","announcements.ptBr.ok":"OK!","announcements.ptBr.switchBack":"Voltar para o inglês","announcements.release.ariaLabel":"Anúncio de lançamento","announcements.release.dismiss":"Dispensar anúncio de lançamento","announcements.release.learnMore":"Saiba mais","announcements.version.ariaLabel":"Atualização do Studio","announcements.version.dismiss":"Dispensar atualização do Studio","announcements.version.eyebrow":"Atualização do Studio","announcements.version.title":"Uma nova versão está pronta","announcements.version.description":"Atualize a página para carregar as novidades do Studio.","announcements.version.currentSession":"Sessão atual · {version}","announcements.version.refresh":"Atualizar agora"},iX={"assets.browser.title":"Assets","assets.browser.bucketLabel":"Bucket: {name}","assets.browser.noBucketTitle":"Nenhum bucket de assets para este site","assets.browser.noBucketDescription":"Configure e associe um bucket compatível com S3 a este site para navegar e enviar assets aqui.","assets.browser.deleteAction":"Excluir","assets.browser.deleteConfirmTitle":"Excluir arquivo?","assets.browser.deleteConfirmDescription":'Excluir permanentemente "{name}" do bucket? Isso não pode ser desfeito.',"assets.browser.deleteCancel":"Cancelar","assets.browser.deleteConfirm":"Excluir","assets.browser.deleted":"Arquivo excluído","assets.browser.deleteFailed":"Falha ao excluir o arquivo"},sX={...mJ,...hJ,...gJ,...fJ,...vJ,...bJ,...yJ,...SJ,...wJ,...TJ,...xJ,..._J,...kJ,...CJ,...PJ,...qJ,...$J,...VJ,...EJ,...AJ,...RJ,...DJ,...OJ,...MJ,...NJ,...IJ,...LJ,...BJ,...FJ,...jJ,...zJ,...UJ,...HJ,...GJ,...WJ,...KJ,...YJ,...ZJ,...QJ,...JJ,...XJ,...eX,...tX,...oX,...aX,...nX,...rX,...iX,...pJ,...uJ},dL={en:dJ,"pt-BR":sX};function Ove(e,t){return cL(dL[uQ()][e],t)}function ar(){const e=Re.c(2),[t]=d_(),o=dL[t.language];let a;return e[0]!==o?(a=(n,i)=>cL(o[n],i),e[0]=o,e[1]=a):a=e[1],a}function uL(e){var t,o,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=uL(e[t]))&&(a&&(a+=" "),a+=o)}else for(o in e)e[o]&&(a&&(a+=" "),a+=o);return a}function u_(){for(var e,t,o=0,a="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=uL(e))&&(a&&(a+=" "),a+=t);return a}const pD=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,mD=u_,p_=(e,t)=>o=>{var a;if(t?.variants==null)return mD(e,o?.class,o?.className);const{variants:n,defaultVariants:i}=t,l=Object.keys(n).map(p=>{const m=o?.[p],h=i?.[p];if(m===null)return null;const f=pD(m)||pD(h);return n[p][f]}),c=o&&Object.entries(o).reduce((p,m)=>{let[h,f]=m;return f===void 0||(p[h]=f),p},{}),d=t==null||(a=t.compoundVariants)===null||a===void 0?void 0:a.reduce((p,m)=>{let{class:h,className:f,...v}=m;return Object.entries(v).every(b=>{let[S,_]=b;return Array.isArray(_)?_.includes({...i,...c}[S]):{...i,...c}[S]===_})?[...p,h,f]:p},[]);return mD(e,l,d,o?.class,o?.className)},lX=(e,t)=>{const o=new Array(e.length+t.length);for(let a=0;a<e.length;a++)o[a]=e[a];for(let a=0;a<t.length;a++)o[e.length+a]=t[a];return o},cX=(e,t)=>({classGroupId:e,validator:t}),pL=(e=new Map,t=null,o)=>({nextPart:e,validators:t,classGroupId:o}),Ef="-",hD=[],dX="arbitrary..",uX=e=>{const t=mX(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return pX(l);const c=l.split(Ef),d=c[0]===""&&c.length>1?1:0;return mL(c,d,t)},getConflictingClassGroupIds:(l,c)=>{if(c){const d=a[l],p=o[l];return d?p?lX(p,d):d:p||hD}return o[l]||hD}}},mL=(e,t,o)=>{if(e.length-t===0)return o.classGroupId;const n=e[t],i=o.nextPart.get(n);if(i){const p=mL(e,t+1,i);if(p)return p}const l=o.validators;if(l===null)return;const c=t===0?e.join(Ef):e.slice(t).join(Ef),d=l.length;for(let p=0;p<d;p++){const m=l[p];if(m.validator(c))return m.classGroupId}},pX=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),o=t.indexOf(":"),a=t.slice(0,o);return a?dX+a:void 0})(),mX=e=>{const{theme:t,classGroups:o}=e;return hX(o,t)},hX=(e,t)=>{const o=pL();for(const a in e){const n=e[a];m_(n,o,a,t)}return o},m_=(e,t,o,a)=>{const n=e.length;for(let i=0;i<n;i++){const l=e[i];gX(l,t,o,a)}},gX=(e,t,o,a)=>{if(typeof e=="string"){fX(e,t,o);return}if(typeof e=="function"){vX(e,t,o,a);return}bX(e,t,o,a)},fX=(e,t,o)=>{const a=e===""?t:hL(t,e);a.classGroupId=o},vX=(e,t,o,a)=>{if(yX(e)){m_(e(a),t,o,a);return}t.validators===null&&(t.validators=[]),t.validators.push(cX(o,e))},bX=(e,t,o,a)=>{const n=Object.entries(e),i=n.length;for(let l=0;l<i;l++){const[c,d]=n[l];m_(d,hL(t,c),o,a)}},hL=(e,t)=>{let o=e;const a=t.split(Ef),n=a.length;for(let i=0;i<n;i++){const l=a[i];let c=o.nextPart.get(l);c||(c=pL(),o.nextPart.set(l,c)),o=c}return o},yX=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,SX=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=Object.create(null),a=Object.create(null);const n=(i,l)=>{o[i]=l,t++,t>e&&(t=0,a=o,o=Object.create(null))};return{get(i){let l=o[i];if(l!==void 0)return l;if((l=a[i])!==void 0)return n(i,l),l},set(i,l){i in o?o[i]=l:n(i,l)}}},aT="!",gD=":",wX=[],fD=(e,t,o,a,n)=>({modifiers:e,hasImportantModifier:t,baseClassName:o,maybePostfixModifierPosition:a,isExternal:n}),TX=e=>{const{prefix:t,experimentalParseClassName:o}=e;let a=n=>{const i=[];let l=0,c=0,d=0,p;const m=n.length;for(let S=0;S<m;S++){const _=n[S];if(l===0&&c===0){if(_===gD){i.push(n.slice(d,S)),d=S+1;continue}if(_==="/"){p=S;continue}}_==="["?l++:_==="]"?l--:_==="("?c++:_===")"&&c--}const h=i.length===0?n:n.slice(d);let f=h,v=!1;h.endsWith(aT)?(f=h.slice(0,-1),v=!0):h.startsWith(aT)&&(f=h.slice(1),v=!0);const b=p&&p>d?p-d:void 0;return fD(i,v,f,b)};if(t){const n=t+gD,i=a;a=l=>l.startsWith(n)?i(l.slice(n.length)):fD(wX,!1,l,void 0,!0)}if(o){const n=a;a=i=>o({className:i,parseClassName:n})}return a},xX=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((o,a)=>{t.set(o,1e6+a)}),o=>{const a=[];let n=[];for(let i=0;i<o.length;i++){const l=o[i],c=l[0]==="[",d=t.has(l);c||d?(n.length>0&&(n.sort(),a.push(...n),n=[]),a.push(l)):n.push(l)}return n.length>0&&(n.sort(),a.push(...n)),a}},_X=e=>({cache:SX(e.cacheSize),parseClassName:TX(e),sortModifiers:xX(e),postfixLookupClassGroupIds:kX(e),...uX(e)}),kX=e=>{const t=Object.create(null),o=e.postfixLookupClassGroups;if(o)for(let a=0;a<o.length;a++)t[o[a]]=!0;return t},CX=/\s+/,PX=(e,t)=>{const{parseClassName:o,getClassGroupId:a,getConflictingClassGroupIds:n,sortModifiers:i,postfixLookupClassGroupIds:l}=t,c=[],d=e.trim().split(CX);let p="";for(let m=d.length-1;m>=0;m-=1){const h=d[m],{isExternal:f,modifiers:v,hasImportantModifier:b,baseClassName:S,maybePostfixModifierPosition:_}=o(h);if(f){p=h+(p.length>0?" "+p:p);continue}let T=!!_,x;if(T){const D=S.substring(0,_);x=a(D);const O=x&&l[x]?a(S):void 0;O&&O!==x&&(x=O,T=!1)}else x=a(S);if(!x){if(!T){p=h+(p.length>0?" "+p:p);continue}if(x=a(S),!x){p=h+(p.length>0?" "+p:p);continue}T=!1}const E=v.length===0?"":v.length===1?v[0]:i(v).join(":"),C=b?E+aT:E,P=C+x;if(c.indexOf(P)>-1)continue;c.push(P);const R=n(x,T);for(let D=0;D<R.length;++D){const O=R[D];c.push(C+O)}p=h+(p.length>0?" "+p:p)}return p},EX=(...e)=>{let t=0,o,a,n="";for(;t<e.length;)(o=e[t++])&&(a=gL(o))&&(n&&(n+=" "),n+=a);return n},gL=e=>{if(typeof e=="string")return e;let t,o="";for(let a=0;a<e.length;a++)e[a]&&(t=gL(e[a]))&&(o&&(o+=" "),o+=t);return o},AX=(e,...t)=>{let o,a,n,i;const l=d=>{const p=t.reduce((m,h)=>h(m),e());return o=_X(p),a=o.cache.get,n=o.cache.set,i=c,c(d)},c=d=>{const p=a(d);if(p)return p;const m=PX(d,o);return n(d,m),m};return i=l,(...d)=>i(EX(...d))},RX=[],ea=e=>{const t=o=>o[e]||RX;return t.isThemeGetter=!0,t},fL=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,vL=/^\((?:(\w[\w-]*):)?(.+)\)$/i,DX=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,OX=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,MX=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,NX=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,IX=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,LX=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ds=e=>DX.test(e),bt=e=>!!e&&!Number.isNaN(Number(e)),Or=e=>!!e&&Number.isInteger(Number(e)),n0=e=>e.endsWith("%")&&bt(e.slice(0,-1)),yi=e=>OX.test(e),bL=()=>!0,BX=e=>MX.test(e)&&!NX.test(e),h_=()=>!1,FX=e=>IX.test(e),jX=e=>LX.test(e),zX=e=>!We(e)&&!Ke(e),UX=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),qX=e=>js(e,wL,h_),We=e=>fL.test(e),ll=e=>js(e,TL,BX),vD=e=>js(e,ZX,bt),$X=e=>js(e,_L,bL),VX=e=>js(e,xL,h_),bD=e=>js(e,yL,h_),HX=e=>js(e,SL,jX),_g=e=>js(e,kL,FX),Ke=e=>vL.test(e),Iu=e=>Bl(e,TL),GX=e=>Bl(e,xL),yD=e=>Bl(e,yL),WX=e=>Bl(e,wL),KX=e=>Bl(e,SL),kg=e=>Bl(e,kL,!0),YX=e=>Bl(e,_L,!0),js=(e,t,o)=>{const a=fL.exec(e);return a?a[1]?t(a[1]):o(a[2]):!1},Bl=(e,t,o=!1)=>{const a=vL.exec(e);return a?a[1]?t(a[1]):o:!1},yL=e=>e==="position"||e==="percentage",SL=e=>e==="image"||e==="url",wL=e=>e==="length"||e==="size"||e==="bg-size",TL=e=>e==="length",ZX=e=>e==="number",xL=e=>e==="family-name",_L=e=>e==="number"||e==="weight",kL=e=>e==="shadow",QX=()=>{const e=ea("color"),t=ea("font"),o=ea("text"),a=ea("font-weight"),n=ea("tracking"),i=ea("leading"),l=ea("breakpoint"),c=ea("container"),d=ea("spacing"),p=ea("radius"),m=ea("shadow"),h=ea("inset-shadow"),f=ea("text-shadow"),v=ea("drop-shadow"),b=ea("blur"),S=ea("perspective"),_=ea("aspect"),T=ea("ease"),x=ea("animate"),E=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],P=()=>[...C(),Ke,We],R=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto","contain","none"],O=()=>[Ke,We,d],L=()=>[ds,"full","auto",...O()],q=()=>[Or,"none","subgrid",Ke,We],B=()=>["auto",{span:["full",Or,Ke,We]},Or,Ke,We],U=()=>[Or,"auto",Ke,We],F=()=>["auto","min","max","fr",Ke,We],W=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ae=()=>["start","end","center","stretch","center-safe","end-safe"],H=()=>["auto",...O()],K=()=>[ds,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...O()],J=()=>[ds,"screen","full","dvw","lvw","svw","min","max","fit",...O()],le=()=>[ds,"screen","full","lh","dvh","lvh","svh","min","max","fit",...O()],Q=()=>[e,Ke,We],N=()=>[...C(),yD,bD,{position:[Ke,We]}],G=()=>["no-repeat",{repeat:["","x","y","space","round"]}],V=()=>["auto","cover","contain",WX,qX,{size:[Ke,We]}],I=()=>[n0,Iu,ll],z=()=>["","none","full",p,Ke,We],X=()=>["",bt,Iu,ll],pe=()=>["solid","dashed","dotted","double"],he=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],_e=()=>[bt,n0,yD,bD],qe=()=>["","none",b,Ke,We],Z=()=>["none",bt,Ke,We],ne=()=>["none",bt,Ke,We],ve=()=>[bt,Ke,We],ie=()=>[ds,"full",...O()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[yi],breakpoint:[yi],color:[bL],container:[yi],"drop-shadow":[yi],ease:["in","out","in-out"],font:[zX],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[yi],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[yi],shadow:[yi],spacing:["px",bt],text:[yi],"text-shadow":[yi],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ds,We,Ke,_]}],container:["container"],"container-type":[{"@container":["","normal","size",Ke,We]}],"container-named":[UX],columns:[{columns:[bt,We,Ke,c]}],"break-after":[{"break-after":E()}],"break-before":[{"break-before":E()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:P()}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:L()}],"inset-x":[{"inset-x":L()}],"inset-y":[{"inset-y":L()}],start:[{"inset-s":L(),start:L()}],end:[{"inset-e":L(),end:L()}],"inset-bs":[{"inset-bs":L()}],"inset-be":[{"inset-be":L()}],top:[{top:L()}],right:[{right:L()}],bottom:[{bottom:L()}],left:[{left:L()}],visibility:["visible","invisible","collapse"],z:[{z:[Or,"auto",Ke,We]}],basis:[{basis:[ds,"full","auto",c,...O()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[bt,ds,"auto","initial","none",We]}],grow:[{grow:["",bt,Ke,We]}],shrink:[{shrink:["",bt,Ke,We]}],order:[{order:[Or,"first","last","none",Ke,We]}],"grid-cols":[{"grid-cols":q()}],"col-start-end":[{col:B()}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":q()}],"row-start-end":[{row:B()}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":F()}],"auto-rows":[{"auto-rows":F()}],gap:[{gap:O()}],"gap-x":[{"gap-x":O()}],"gap-y":[{"gap-y":O()}],"justify-content":[{justify:[...W(),"normal"]}],"justify-items":[{"justify-items":[...ae(),"normal"]}],"justify-self":[{"justify-self":["auto",...ae()]}],"align-content":[{content:["normal",...W()]}],"align-items":[{items:[...ae(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ae(),{baseline:["","last"]}]}],"place-content":[{"place-content":W()}],"place-items":[{"place-items":[...ae(),"baseline"]}],"place-self":[{"place-self":["auto",...ae()]}],p:[{p:O()}],px:[{px:O()}],py:[{py:O()}],ps:[{ps:O()}],pe:[{pe:O()}],pbs:[{pbs:O()}],pbe:[{pbe:O()}],pt:[{pt:O()}],pr:[{pr:O()}],pb:[{pb:O()}],pl:[{pl:O()}],m:[{m:H()}],mx:[{mx:H()}],my:[{my:H()}],ms:[{ms:H()}],me:[{me:H()}],mbs:[{mbs:H()}],mbe:[{mbe:H()}],mt:[{mt:H()}],mr:[{mr:H()}],mb:[{mb:H()}],ml:[{ml:H()}],"space-x":[{"space-x":O()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":O()}],"space-y-reverse":["space-y-reverse"],size:[{size:K()}],"inline-size":[{inline:["auto",...J()]}],"min-inline-size":[{"min-inline":["auto",...J()]}],"max-inline-size":[{"max-inline":["none",...J()]}],"block-size":[{block:["auto",...le()]}],"min-block-size":[{"min-block":["auto",...le()]}],"max-block-size":[{"max-block":["none",...le()]}],w:[{w:[c,"screen",...K()]}],"min-w":[{"min-w":[c,"screen","none",...K()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[l]},...K()]}],h:[{h:["screen","lh",...K()]}],"min-h":[{"min-h":["screen","lh","none",...K()]}],"max-h":[{"max-h":["screen","lh",...K()]}],"font-size":[{text:["base",o,Iu,ll]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[a,YX,$X]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",n0,We]}],"font-family":[{font:[GX,VX,t]}],"font-features":[{"font-features":[We]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,Ke,We]}],"line-clamp":[{"line-clamp":[bt,"none",Ke,vD]}],leading:[{leading:[i,...O()]}],"list-image":[{"list-image":["none",Ke,We]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ke,We]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Q()}],"text-color":[{text:Q()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...pe(),"wavy"]}],"text-decoration-thickness":[{decoration:[bt,"from-font","auto",Ke,ll]}],"text-decoration-color":[{decoration:Q()}],"underline-offset":[{"underline-offset":[bt,"auto",Ke,We]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"tab-size":[{tab:[Or,Ke,We]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ke,We]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ke,We]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:N()}],"bg-repeat":[{bg:G()}],"bg-size":[{bg:V()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Or,Ke,We],radial:["",Ke,We],conic:[Or,Ke,We]},KX,HX]}],"bg-color":[{bg:Q()}],"gradient-from-pos":[{from:I()}],"gradient-via-pos":[{via:I()}],"gradient-to-pos":[{to:I()}],"gradient-from":[{from:Q()}],"gradient-via":[{via:Q()}],"gradient-to":[{to:Q()}],rounded:[{rounded:z()}],"rounded-s":[{"rounded-s":z()}],"rounded-e":[{"rounded-e":z()}],"rounded-t":[{"rounded-t":z()}],"rounded-r":[{"rounded-r":z()}],"rounded-b":[{"rounded-b":z()}],"rounded-l":[{"rounded-l":z()}],"rounded-ss":[{"rounded-ss":z()}],"rounded-se":[{"rounded-se":z()}],"rounded-ee":[{"rounded-ee":z()}],"rounded-es":[{"rounded-es":z()}],"rounded-tl":[{"rounded-tl":z()}],"rounded-tr":[{"rounded-tr":z()}],"rounded-br":[{"rounded-br":z()}],"rounded-bl":[{"rounded-bl":z()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-bs":[{"border-bs":X()}],"border-w-be":[{"border-be":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...pe(),"hidden","none"]}],"divide-style":[{divide:[...pe(),"hidden","none"]}],"border-color":[{border:Q()}],"border-color-x":[{"border-x":Q()}],"border-color-y":[{"border-y":Q()}],"border-color-s":[{"border-s":Q()}],"border-color-e":[{"border-e":Q()}],"border-color-bs":[{"border-bs":Q()}],"border-color-be":[{"border-be":Q()}],"border-color-t":[{"border-t":Q()}],"border-color-r":[{"border-r":Q()}],"border-color-b":[{"border-b":Q()}],"border-color-l":[{"border-l":Q()}],"divide-color":[{divide:Q()}],"outline-style":[{outline:[...pe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[bt,Ke,We]}],"outline-w":[{outline:["",bt,Iu,ll]}],"outline-color":[{outline:Q()}],shadow:[{shadow:["","none",m,kg,_g]}],"shadow-color":[{shadow:Q()}],"inset-shadow":[{"inset-shadow":["none",h,kg,_g]}],"inset-shadow-color":[{"inset-shadow":Q()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Q()}],"ring-offset-w":[{"ring-offset":[bt,ll]}],"ring-offset-color":[{"ring-offset":Q()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":Q()}],"text-shadow":[{"text-shadow":["none",f,kg,_g]}],"text-shadow-color":[{"text-shadow":Q()}],opacity:[{opacity:[bt,Ke,We]}],"mix-blend":[{"mix-blend":[...he(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":he()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[bt]}],"mask-image-linear-from-pos":[{"mask-linear-from":_e()}],"mask-image-linear-to-pos":[{"mask-linear-to":_e()}],"mask-image-linear-from-color":[{"mask-linear-from":Q()}],"mask-image-linear-to-color":[{"mask-linear-to":Q()}],"mask-image-t-from-pos":[{"mask-t-from":_e()}],"mask-image-t-to-pos":[{"mask-t-to":_e()}],"mask-image-t-from-color":[{"mask-t-from":Q()}],"mask-image-t-to-color":[{"mask-t-to":Q()}],"mask-image-r-from-pos":[{"mask-r-from":_e()}],"mask-image-r-to-pos":[{"mask-r-to":_e()}],"mask-image-r-from-color":[{"mask-r-from":Q()}],"mask-image-r-to-color":[{"mask-r-to":Q()}],"mask-image-b-from-pos":[{"mask-b-from":_e()}],"mask-image-b-to-pos":[{"mask-b-to":_e()}],"mask-image-b-from-color":[{"mask-b-from":Q()}],"mask-image-b-to-color":[{"mask-b-to":Q()}],"mask-image-l-from-pos":[{"mask-l-from":_e()}],"mask-image-l-to-pos":[{"mask-l-to":_e()}],"mask-image-l-from-color":[{"mask-l-from":Q()}],"mask-image-l-to-color":[{"mask-l-to":Q()}],"mask-image-x-from-pos":[{"mask-x-from":_e()}],"mask-image-x-to-pos":[{"mask-x-to":_e()}],"mask-image-x-from-color":[{"mask-x-from":Q()}],"mask-image-x-to-color":[{"mask-x-to":Q()}],"mask-image-y-from-pos":[{"mask-y-from":_e()}],"mask-image-y-to-pos":[{"mask-y-to":_e()}],"mask-image-y-from-color":[{"mask-y-from":Q()}],"mask-image-y-to-color":[{"mask-y-to":Q()}],"mask-image-radial":[{"mask-radial":[Ke,We]}],"mask-image-radial-from-pos":[{"mask-radial-from":_e()}],"mask-image-radial-to-pos":[{"mask-radial-to":_e()}],"mask-image-radial-from-color":[{"mask-radial-from":Q()}],"mask-image-radial-to-color":[{"mask-radial-to":Q()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":C()}],"mask-image-conic-pos":[{"mask-conic":[bt]}],"mask-image-conic-from-pos":[{"mask-conic-from":_e()}],"mask-image-conic-to-pos":[{"mask-conic-to":_e()}],"mask-image-conic-from-color":[{"mask-conic-from":Q()}],"mask-image-conic-to-color":[{"mask-conic-to":Q()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:N()}],"mask-repeat":[{mask:G()}],"mask-size":[{mask:V()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ke,We]}],filter:[{filter:["","none",Ke,We]}],blur:[{blur:qe()}],brightness:[{brightness:[bt,Ke,We]}],contrast:[{contrast:[bt,Ke,We]}],"drop-shadow":[{"drop-shadow":["","none",v,kg,_g]}],"drop-shadow-color":[{"drop-shadow":Q()}],grayscale:[{grayscale:["",bt,Ke,We]}],"hue-rotate":[{"hue-rotate":[bt,Ke,We]}],invert:[{invert:["",bt,Ke,We]}],saturate:[{saturate:[bt,Ke,We]}],sepia:[{sepia:["",bt,Ke,We]}],"backdrop-filter":[{"backdrop-filter":["","none",Ke,We]}],"backdrop-blur":[{"backdrop-blur":qe()}],"backdrop-brightness":[{"backdrop-brightness":[bt,Ke,We]}],"backdrop-contrast":[{"backdrop-contrast":[bt,Ke,We]}],"backdrop-grayscale":[{"backdrop-grayscale":["",bt,Ke,We]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[bt,Ke,We]}],"backdrop-invert":[{"backdrop-invert":["",bt,Ke,We]}],"backdrop-opacity":[{"backdrop-opacity":[bt,Ke,We]}],"backdrop-saturate":[{"backdrop-saturate":[bt,Ke,We]}],"backdrop-sepia":[{"backdrop-sepia":["",bt,Ke,We]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":O()}],"border-spacing-x":[{"border-spacing-x":O()}],"border-spacing-y":[{"border-spacing-y":O()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ke,We]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[bt,"initial",Ke,We]}],ease:[{ease:["linear","initial",T,Ke,We]}],delay:[{delay:[bt,Ke,We]}],animate:[{animate:["none",x,Ke,We]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,Ke,We]}],"perspective-origin":[{"perspective-origin":P()}],rotate:[{rotate:Z()}],"rotate-x":[{"rotate-x":Z()}],"rotate-y":[{"rotate-y":Z()}],"rotate-z":[{"rotate-z":Z()}],scale:[{scale:ne()}],"scale-x":[{"scale-x":ne()}],"scale-y":[{"scale-y":ne()}],"scale-z":[{"scale-z":ne()}],"scale-3d":["scale-3d"],skew:[{skew:ve()}],"skew-x":[{"skew-x":ve()}],"skew-y":[{"skew-y":ve()}],transform:[{transform:[Ke,We,"","none","gpu","cpu"]}],"transform-origin":[{origin:P()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ie()}],"translate-x":[{"translate-x":ie()}],"translate-y":[{"translate-y":ie()}],"translate-z":[{"translate-z":ie()}],"translate-none":["translate-none"],zoom:[{zoom:[Or,Ke,We]}],accent:[{accent:Q()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Q()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ke,We]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":Q()}],"scrollbar-track-color":[{"scrollbar-track":Q()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mbs":[{"scroll-mbs":O()}],"scroll-mbe":[{"scroll-mbe":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pbs":[{"scroll-pbs":O()}],"scroll-pbe":[{"scroll-pbe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ke,We]}],fill:[{fill:["none",...Q()]}],"stroke-w":[{stroke:[bt,Iu,ll,vD]}],stroke:[{stroke:["none",...Q()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},CL=AX(QX);function gt(...e){return CL(u_(e))}const JX=p_("animate-spin shrink-0",{variants:{size:{"2xs":"size-3",xs:"size-4",sm:"size-6",default:"size-7",lg:"size-8",icon:"size-6"}},defaultVariants:{size:"default"}});function XX(e){const t=Re.c(11),{size:o,className:a,style:n,label:i}=e;let l;t[0]!==i?(l=i?{role:"status","aria-label":i}:{"aria-hidden":!0},t[0]=i,t[1]=l):l=t[1];let c;t[2]!==a||t[3]!==o?(c=gt(JX({size:o}),a),t[2]=a,t[3]=o,t[4]=c):c=t[4];let d,p;t[5]===Symbol.for("react.memo_cache_sentinel")?(d=w.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor",opacity:"0.2"}),p=w.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentColor"}),t[5]=d,t[6]=p):(d=t[5],p=t[6]);let m;return t[7]!==n||t[8]!==l||t[9]!==c?(m=w.jsxs("svg",{...l,className:c,style:n,viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d,p]}),t[7]=n,t[8]=l,t[9]=c,t[10]=m):m=t[10],m}function Md(){const e=Re.c(4),t=ar();let o;e[0]!==t?(o=t("common.loading"),e[0]=t,e[1]=o):o=e[1];let a;return e[2]!==o?(a=w.jsx("div",{"data-testid":"panel-loading",className:"flex flex-1 h-full w-full items-center justify-center",children:w.jsx(XX,{className:"size-5 text-muted-foreground",label:o})}),e[2]=o,e[3]=a):a=e[3],a}function Mve(e){const t=Re.c(3),{children:o}=e;let a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a=w.jsx(Md,{}),t[0]=a):a=t[0];let n;return t[1]!==o?(n=w.jsx(A.Suspense,{fallback:a,children:o}),t[1]=o,t[2]=n):n=t[2],n}const PL=io([qt(),Ze("chat"),Ze(0)]).optional().transform(e=>e===void 0?void 0:e===!0||e==="chat").catch(void 0),EL=qt().optional().catch(void 0);function SD(e){const t=Re.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=gt("bg-accent animate-pulse rounded-md",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx("div",{"data-slot":"skeleton",className:n,...a}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function wD(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Jp(...e){return t=>{let o=!1;const a=e.map(n=>{const i=wD(n,t);return!o&&typeof i=="function"&&(o=!0),i});if(o)return()=>{for(let n=0;n<a.length;n++){const i=a[n];typeof i=="function"?i():wD(e[n],null)}}}}function sa(...e){return A.useCallback(Jp(...e),e)}var eee=Symbol.for("react.lazy"),Af=Sx[" use ".trim().toString()];function tee(e){return typeof e=="object"&&e!==null&&"then"in e}function AL(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===eee&&"_payload"in e&&tee(e._payload)}function RL(e){const t=oee(e),o=A.forwardRef((a,n)=>{let{children:i,...l}=a;AL(i)&&typeof Af=="function"&&(i=Af(i._payload));const c=A.Children.toArray(i),d=c.find(nee);if(d){const p=d.props.children,m=c.map(h=>h===d?A.Children.count(p)>1?A.Children.only(null):A.isValidElement(p)?p.props.children:null:h);return w.jsx(t,{...l,ref:n,children:A.isValidElement(p)?A.cloneElement(p,void 0,m):null})}return w.jsx(t,{...l,ref:n,children:i})});return o.displayName=`${e}.Slot`,o}var g_=RL("Slot");function oee(e){const t=A.forwardRef((o,a)=>{let{children:n,...i}=o;if(AL(n)&&typeof Af=="function"&&(n=Af(n._payload)),A.isValidElement(n)){const l=iee(n),c=ree(i,n.props);return n.type!==A.Fragment&&(c.ref=a?Jp(a,l):l),A.cloneElement(n,c)}return A.Children.count(n)>1?A.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var aee=Symbol("radix.slottable");function nee(e){return A.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===aee}function ree(e,t){const o={...t};for(const a in t){const n=e[a],i=t[a];/^on[A-Z]/.test(a)?n&&i?o[a]=(...c)=>{const d=i(...c);return n(...c),d}:n&&(o[a]=n):a==="style"?o[a]={...n,...i}:a==="className"&&(o[a]=[n,i].filter(Boolean).join(" "))}return{...e,...o}}function iee(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}const see="bg-[var(--studio-secondary-background)] text-[color:var(--studio-secondary-foreground)] shadow-[var(--studio-secondary-shadow)] hover:bg-[var(--studio-secondary-hover-background)] hover:text-[color:var(--studio-secondary-hover-foreground)]",lee=p_(["relative inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap","rounded-[var(--studio-button-radius)] text-sm font-medium","transition-[background-color,box-shadow,color,opacity] duration-150 ease-[var(--ease-out-cubic)]","active:scale-[0.98] active:transition-none motion-reduce:active:scale-100","focus-ring","disabled:pointer-events-none disabled:opacity-45","[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","aria-invalid:outline-destructive"],{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/85",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90 dark:bg-destructive/70",secondary:see,outline:"bg-[var(--studio-input-background)] text-[color:var(--studio-outline-foreground)] hover:bg-[var(--studio-outline-hover-background)] hover:text-accent-foreground card-shadow",success:"bg-success text-success-foreground hover:bg-success/90",warning:"bg-warning text-warning-foreground hover:bg-warning/90",brand:"bg-brand text-brand-foreground hover:bg-brand/85",special:"bg-special text-special-foreground hover:bg-special/90",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",sidebar:"text-sidebar-foreground hover:bg-sidebar-accent aria-pressed:bg-sidebar-accent [&_svg:not([class*='text-'])]:text-muted-foreground hover:[&_svg:not([class*='text-'])]:text-sidebar-foreground",link:"text-foreground/80 hover:text-foreground",tab:"text-muted-foreground hover:bg-accent hover:text-foreground aria-pressed:bg-card aria-pressed:text-card-foreground aria-pressed:card-shadow aria-[current=page]:bg-card aria-[current=page]:text-card-foreground aria-[current=page]:card-shadow",menu:"w-full justify-start font-normal hover:bg-accent hover:text-accent-foreground"},size:{default:"h-8 px-3.5 has-[>svg]:px-3",sm:"h-7 gap-1.5 px-3 has-[>svg]:px-2.5",xs:"h-6 gap-1 px-2.5 text-xs has-[>svg]:px-2",lg:"h-10 px-4.5 has-[>svg]:px-4",xl:"h-12 px-6 text-base has-[>svg]:px-5",icon:"size-8","icon-sm":"size-7"}},defaultVariants:{variant:"default",size:"default"}});function Ai(e){const t=Re.c(14);let o,a,n,i,l;t[0]!==e?({className:o,variant:l,size:n,asChild:i,...a}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i,t[5]=l):(o=t[1],a=t[2],n=t[3],i=t[4],l=t[5]);const d=(i===void 0?!1:i)?g_:"button";let p;t[6]!==o||t[7]!==n||t[8]!==l?(p=gt(lee({variant:l,size:n,className:o})),t[6]=o,t[7]=n,t[8]=l,t[9]=p):p=t[9];let m;return t[10]!==d||t[11]!==a||t[12]!==p?(m=w.jsx(d,{"data-slot":"button",className:p,...a}),t[10]=d,t[11]=a,t[12]=p,t[13]=m):m=t[13],m}const nT=A.createContext(null);function cee(e){const t=Re.c(18);let o,a,n,i;t[0]!==e?({children:o,className:a,variant:i,...n}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i):(o=t[1],a=t[2],n=t[3],i=t[4]);const l=i===void 0?"card":i;let c;t[5]===Symbol.for("react.memo_cache_sentinel")?(c={left:null,center:null,right:null,"toolbar-left":null,"toolbar-center":null,"toolbar-right":null},t[5]=c):c=t[5];const[d,p]=A.useState(c);let m;t[6]!==d?(m={targets:d,setTargets:p},t[6]=d,t[7]=m):m=t[7];const h=l==="card"&&"rounded-xl card-shadow [transform:translateZ(0)]";let f;t[8]!==a||t[9]!==h?(f=gt("flex h-full min-h-0 min-w-0 flex-col overflow-hidden bg-background",h,a),t[8]=a,t[9]=h,t[10]=f):f=t[10];let v;t[11]!==o||t[12]!==n||t[13]!==f?(v=w.jsx("div",{...n,"data-slot":"panel",className:f,children:o}),t[11]=o,t[12]=n,t[13]=f,t[14]=v):v=t[14];let b;return t[15]!==m||t[16]!==v?(b=w.jsx(nT,{value:m,children:v}),t[15]=m,t[16]=v,t[17]=b):b=t[17],b}function dee(e){const t=Re.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=gt("@container/panel-header relative z-10 flex h-12 shrink-0 items-center justify-between gap-2 px-1.5",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx("header",{...a,"data-slot":"panel-topbar",className:n}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function Dc(e,t){const o=e.startsWith("toolbar-")?`panel-${e}`:`panel-topbar-${e}`;function a(l){const c=Re.c(8);let d,p;c[0]!==l?({className:d,...p}=l,c[0]=l,c[1]=d,c[2]=p):(d=c[1],p=c[2]);let m;c[3]!==d?(m=gt("flex min-w-0 items-center gap-1",t,d),c[3]=d,c[4]=m):m=c[4];let h;return c[5]!==p||c[6]!==m?(h=w.jsx("div",{...p,"data-slot":o,className:m}),c[5]=p,c[6]=m,c[7]=h):h=c[7],h}function n(l){const c=Re.c(16);let d,p,m;c[0]!==l?({className:d,fallback:p,...m}=l,c[0]=l,c[1]=d,c[2]=p,c[3]=m):(d=c[1],p=c[2],m=c[3]);const h=A.use(nT);if(!h)throw new Error("Panel targets require a Panel");const{setTargets:f}=h;let v;c[4]!==f?(v=()=>E=>{if(E)return f(C=>{if(C[e]&&C[e]!==E)throw new Error(`Panel has two targets for ${e}`);return C[e]===E?C:{...C,[e]:E}}),()=>{f(C=>C[e]===E?{...C,[e]:null}:C)}},c[4]=f,c[5]=v):v=c[5];const[b]=A.useState(v);let S;c[6]!==d?(S=gt("peer contents empty:hidden",d),c[6]=d,c[7]=S):S=c[7];let _;c[8]!==m||c[9]!==S?(_=w.jsx("div",{"data-toolbar-content":e.startsWith("toolbar-")?"":void 0,...m,ref:b,"data-slot":`${o}-target`,className:S}),c[8]=m,c[9]=S,c[10]=_):_=c[10];let T;c[11]!==p?(T=p&&w.jsx("div",{className:"hidden peer-empty:contents",children:p}),c[11]=p,c[12]=T):T=c[12];let x;return c[13]!==_||c[14]!==T?(x=w.jsxs(w.Fragment,{children:[_,T]}),c[13]=_,c[14]=T,c[15]=x):x=c[15],x}function i({children:l,fallback:c=null}){const p=A.use(nT)?.targets[e];return p?qp.createPortal(l,p):c}return Object.assign(a,{Target:n,Portal:i})}function uee(e){const t=Re.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=gt("@container/panel-toolbar relative z-10 flex min-h-11 shrink-0 flex-wrap items-center gap-x-2 gap-y-1 px-3 py-1.5 [&:not(:has([data-toolbar-content]:not(:empty)))]:hidden",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx("div",{...a,"data-slot":"panel-toolbar",className:n}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function pee(e){const t=Re.c(11);let o,a,n;t[0]!==e?({className:o,mode:n,...a}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n):(o=t[1],a=t[2],n=t[3]);const i=n===void 0?"canvas":n,l=i==="scroll"?"overflow-auto":"overflow-hidden";let c;t[4]!==o||t[5]!==l?(c=gt("flex min-h-0 min-w-0 flex-1 flex-col",l,o),t[4]=o,t[5]=l,t[6]=c):c=t[6];let d;return t[7]!==i||t[8]!==a||t[9]!==c?(d=w.jsx("div",{...a,"data-slot":"panel-content","data-mode":i,className:c}),t[7]=i,t[8]=a,t[9]=c,t[10]=d):d=t[10],d}const rn=Object.assign(cee,{Topbar:Object.assign(dee,{Left:Dc("left","shrink overflow-hidden"),Center:Dc("center","flex-1 justify-center"),Right:Dc("right","shrink justify-end")}),Toolbar:Object.assign(uee,{Left:Dc("toolbar-left","shrink"),Center:Dc("toolbar-center","flex-1 justify-center"),Right:Dc("toolbar-right","ml-auto shrink-0 justify-end")}),Content:pee});function mt(e,t,{checkForDefaultPrevented:o=!0}={}){return function(n){if(e?.(n),o===!1||!n.defaultPrevented)return t?.(n)}}function mee(e,t){const o=A.createContext(t),a=i=>{const{children:l,...c}=i,d=A.useMemo(()=>c,Object.values(c));return w.jsx(o.Provider,{value:d,children:l})};a.displayName=e+"Provider";function n(i){const l=A.useContext(o);if(l)return l;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[a,n]}function Fl(e,t=[]){let o=[];function a(i,l){const c=A.createContext(l),d=o.length;o=[...o,l];const p=h=>{const{scope:f,children:v,...b}=h,S=f?.[e]?.[d]||c,_=A.useMemo(()=>b,Object.values(b));return w.jsx(S.Provider,{value:_,children:v})};p.displayName=i+"Provider";function m(h,f){const v=f?.[e]?.[d]||c,b=A.useContext(v);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${h}\` must be used within \`${i}\``)}return[p,m]}const n=()=>{const i=o.map(l=>A.createContext(l));return function(c){const d=c?.[e]||i;return A.useMemo(()=>({[`__scope${e}`]:{...c,[e]:d}}),[c,d])}};return n.scopeName=e,[a,hee(n,...t)]}function hee(...e){const t=e[0];if(e.length===1)return t;const o=()=>{const a=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(i){const l=a.reduce((c,{useScope:d,scopeName:p})=>{const h=d(i)[`__scope${p}`];return{...c,...h}},{});return A.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return o.scopeName=t.scopeName,o}var yr=globalThis?.document?A.useLayoutEffect:()=>{},gee=Sx[" useInsertionEffect ".trim().toString()]||yr;function Xp({prop:e,defaultProp:t,onChange:o=()=>{},caller:a}){const[n,i,l]=fee({defaultProp:t,onChange:o}),c=e!==void 0,d=c?e:n;{const m=A.useRef(e!==void 0);A.useEffect(()=>{const h=m.current;h!==c&&console.warn(`${a} is changing from ${h?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),m.current=c},[c,a])}const p=A.useCallback(m=>{if(c){const h=vee(m)?m(e):m;h!==e&&l.current?.(h)}else i(m)},[c,e,i,l]);return[d,p]}function fee({defaultProp:e,onChange:t}){const[o,a]=A.useState(e),n=A.useRef(o),i=A.useRef(t);return gee(()=>{i.current=t},[t]),A.useEffect(()=>{n.current!==o&&(i.current?.(o),n.current=o)},[o,n]),[o,a,i]}function vee(e){return typeof e=="function"}function Pp(e){const t=bee(e),o=A.forwardRef((a,n)=>{const{children:i,...l}=a,c=A.Children.toArray(i),d=c.find(yee);if(d){const p=d.props.children,m=c.map(h=>h===d?A.Children.count(p)>1?A.Children.only(null):A.isValidElement(p)?p.props.children:null:h);return w.jsx(t,{...l,ref:n,children:A.isValidElement(p)?A.cloneElement(p,void 0,m):null})}return w.jsx(t,{...l,ref:n,children:i})});return o.displayName=`${e}.Slot`,o}function bee(e){const t=A.forwardRef((o,a)=>{const{children:n,...i}=o;if(A.isValidElement(n)){const l=wee(n),c=See(i,n.props);return n.type!==A.Fragment&&(c.ref=a?Jp(a,l):l),A.cloneElement(n,c)}return A.Children.count(n)>1?A.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var DL=Symbol("radix.slottable");function Nve(e){const t=({children:o})=>w.jsx(w.Fragment,{children:o});return t.displayName=`${e}.Slottable`,t.__radixId=DL,t}function yee(e){return A.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===DL}function See(e,t){const o={...t};for(const a in t){const n=e[a],i=t[a];/^on[A-Z]/.test(a)?n&&i?o[a]=(...c)=>{const d=i(...c);return n(...c),d}:n&&(o[a]=n):a==="style"?o[a]={...n,...i}:a==="className"&&(o[a]=[n,i].filter(Boolean).join(" "))}return{...e,...o}}function wee(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var Tee=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ro=Tee.reduce((e,t)=>{const o=Pp(`Primitive.${t}`),a=A.forwardRef((n,i)=>{const{asChild:l,...c}=n,d=l?o:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),w.jsx(d,{...c,ref:i})});return a.displayName=`Primitive.${t}`,{...e,[t]:a}},{});function OL(e,t){e&&qp.flushSync(()=>e.dispatchEvent(t))}function ML(e){const t=e+"CollectionProvider",[o,a]=Fl(t),[n,i]=o(t,{collectionRef:{current:null},itemMap:new Map}),l=S=>{const{scope:_,children:T}=S,x=ee.useRef(null),E=ee.useRef(new Map).current;return w.jsx(n,{scope:_,itemMap:E,collectionRef:x,children:T})};l.displayName=t;const c=e+"CollectionSlot",d=Pp(c),p=ee.forwardRef((S,_)=>{const{scope:T,children:x}=S,E=i(c,T),C=sa(_,E.collectionRef);return w.jsx(d,{ref:C,children:x})});p.displayName=c;const m=e+"CollectionItemSlot",h="data-radix-collection-item",f=Pp(m),v=ee.forwardRef((S,_)=>{const{scope:T,children:x,...E}=S,C=ee.useRef(null),P=sa(_,C),R=i(m,T);return ee.useEffect(()=>(R.itemMap.set(C,{ref:C,...E}),()=>{R.itemMap.delete(C)})),w.jsx(f,{[h]:"",ref:P,children:x})});v.displayName=m;function b(S){const _=i(e+"CollectionConsumer",S);return ee.useCallback(()=>{const x=_.collectionRef.current;if(!x)return[];const E=Array.from(x.querySelectorAll(`[${h}]`));return Array.from(_.itemMap.values()).sort((R,D)=>E.indexOf(R.ref.current)-E.indexOf(D.ref.current))},[_.collectionRef,_.itemMap])}return[{Provider:l,Slot:p,ItemSlot:v},b,a]}var xee=A.createContext(void 0);function NL(e){const t=A.useContext(xee);return e||t||"ltr"}function Sr(e){const t=A.useRef(e);return A.useEffect(()=>{t.current=e}),A.useMemo(()=>(...o)=>t.current?.(...o),[])}function _ee(e,t=globalThis?.document){const o=Sr(e);A.useEffect(()=>{const a=n=>{n.key==="Escape"&&o(n)};return t.addEventListener("keydown",a,{capture:!0}),()=>t.removeEventListener("keydown",a,{capture:!0})},[o,t])}var kee="DismissableLayer",rT="dismissableLayer.update",Cee="dismissableLayer.pointerDownOutside",Pee="dismissableLayer.focusOutside",TD,IL=A.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f_=A.forwardRef((e,t)=>{const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:a,onPointerDownOutside:n,onFocusOutside:i,onInteractOutside:l,onDismiss:c,...d}=e,p=A.useContext(IL),[m,h]=A.useState(null),f=m?.ownerDocument??globalThis?.document,[,v]=A.useState({}),b=sa(t,D=>h(D)),S=Array.from(p.layers),[_]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),T=S.indexOf(_),x=m?S.indexOf(m):-1,E=p.layersWithOutsidePointerEventsDisabled.size>0,C=x>=T,P=Ree(D=>{const O=D.target,L=[...p.branches].some(q=>q.contains(O));!C||L||(n?.(D),l?.(D),D.defaultPrevented||c?.())},f),R=Dee(D=>{const O=D.target;[...p.branches].some(q=>q.contains(O))||(i?.(D),l?.(D),D.defaultPrevented||c?.())},f);return _ee(D=>{x===p.layers.size-1&&(a?.(D),!D.defaultPrevented&&c&&(D.preventDefault(),c()))},f),A.useEffect(()=>{if(m)return o&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(TD=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(m)),p.layers.add(m),xD(),()=>{o&&p.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=TD)}},[m,f,o,p]),A.useEffect(()=>()=>{m&&(p.layers.delete(m),p.layersWithOutsidePointerEventsDisabled.delete(m),xD())},[m,p]),A.useEffect(()=>{const D=()=>v({});return document.addEventListener(rT,D),()=>document.removeEventListener(rT,D)},[]),w.jsx(Ro.div,{...d,ref:b,style:{pointerEvents:E?C?"auto":"none":void 0,...e.style},onFocusCapture:mt(e.onFocusCapture,R.onFocusCapture),onBlurCapture:mt(e.onBlurCapture,R.onBlurCapture),onPointerDownCapture:mt(e.onPointerDownCapture,P.onPointerDownCapture)})});f_.displayName=kee;var Eee="DismissableLayerBranch",Aee=A.forwardRef((e,t)=>{const o=A.useContext(IL),a=A.useRef(null),n=sa(t,a);return A.useEffect(()=>{const i=a.current;if(i)return o.branches.add(i),()=>{o.branches.delete(i)}},[o.branches]),w.jsx(Ro.div,{...e,ref:n})});Aee.displayName=Eee;function Ree(e,t=globalThis?.document){const o=Sr(e),a=A.useRef(!1),n=A.useRef(()=>{});return A.useEffect(()=>{const i=c=>{if(c.target&&!a.current){let d=function(){LL(Cee,o,p,{discrete:!0})};const p={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",n.current),n.current=d,t.addEventListener("click",n.current,{once:!0})):d()}else t.removeEventListener("click",n.current);a.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",i),t.removeEventListener("click",n.current)}},[t,o]),{onPointerDownCapture:()=>a.current=!0}}function Dee(e,t=globalThis?.document){const o=Sr(e),a=A.useRef(!1);return A.useEffect(()=>{const n=i=>{i.target&&!a.current&&LL(Pee,o,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",n),()=>t.removeEventListener("focusin",n)},[t,o]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}function xD(){const e=new CustomEvent(rT);document.dispatchEvent(e)}function LL(e,t,o,{discrete:a}){const n=o.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:o});t&&n.addEventListener(e,t,{once:!0}),a?OL(n,i):n.dispatchEvent(i)}var r0=0;function BL(){A.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??_D()),document.body.insertAdjacentElement("beforeend",e[1]??_D()),r0++,()=>{r0===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),r0--}},[])}function _D(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var i0="focusScope.autoFocusOnMount",s0="focusScope.autoFocusOnUnmount",kD={bubbles:!1,cancelable:!0},Oee="FocusScope",v_=A.forwardRef((e,t)=>{const{loop:o=!1,trapped:a=!1,onMountAutoFocus:n,onUnmountAutoFocus:i,...l}=e,[c,d]=A.useState(null),p=Sr(n),m=Sr(i),h=A.useRef(null),f=sa(t,S=>d(S)),v=A.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;A.useEffect(()=>{if(a){let S=function(E){if(v.paused||!c)return;const C=E.target;c.contains(C)?h.current=C:vs(h.current,{select:!0})},_=function(E){if(v.paused||!c)return;const C=E.relatedTarget;C!==null&&(c.contains(C)||vs(h.current,{select:!0}))},T=function(E){if(document.activeElement===document.body)for(const P of E)P.removedNodes.length>0&&vs(c)};document.addEventListener("focusin",S),document.addEventListener("focusout",_);const x=new MutationObserver(T);return c&&x.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",_),x.disconnect()}}},[a,c,v.paused]),A.useEffect(()=>{if(c){PD.add(v);const S=document.activeElement;if(!c.contains(S)){const T=new CustomEvent(i0,kD);c.addEventListener(i0,p),c.dispatchEvent(T),T.defaultPrevented||(Mee(Fee(FL(c)),{select:!0}),document.activeElement===S&&vs(c))}return()=>{c.removeEventListener(i0,p),setTimeout(()=>{const T=new CustomEvent(s0,kD);c.addEventListener(s0,m),c.dispatchEvent(T),T.defaultPrevented||vs(S??document.body,{select:!0}),c.removeEventListener(s0,m),PD.remove(v)},0)}}},[c,p,m,v]);const b=A.useCallback(S=>{if(!o&&!a||v.paused)return;const _=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,T=document.activeElement;if(_&&T){const x=S.currentTarget,[E,C]=Nee(x);E&&C?!S.shiftKey&&T===C?(S.preventDefault(),o&&vs(E,{select:!0})):S.shiftKey&&T===E&&(S.preventDefault(),o&&vs(C,{select:!0})):T===x&&S.preventDefault()}},[o,a,v.paused]);return w.jsx(Ro.div,{tabIndex:-1,...l,ref:f,onKeyDown:b})});v_.displayName=Oee;function Mee(e,{select:t=!1}={}){const o=document.activeElement;for(const a of e)if(vs(a,{select:t}),document.activeElement!==o)return}function Nee(e){const t=FL(e),o=CD(t,e),a=CD(t.reverse(),e);return[o,a]}function FL(e){const t=[],o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const n=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||n?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)t.push(o.currentNode);return t}function CD(e,t){for(const o of e)if(!Iee(o,{upTo:t}))return o}function Iee(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Lee(e){return e instanceof HTMLInputElement&&"select"in e}function vs(e,{select:t=!1}={}){if(e&&e.focus){const o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&Lee(e)&&t&&e.select()}}var PD=Bee();function Bee(){let e=[];return{add(t){const o=e[0];t!==o&&o?.pause(),e=ED(e,t),e.unshift(t)},remove(t){e=ED(e,t),e[0]?.resume()}}}function ED(e,t){const o=[...e],a=o.indexOf(t);return a!==-1&&o.splice(a,1),o}function Fee(e){return e.filter(t=>t.tagName!=="A")}var jee=Sx[" useId ".trim().toString()]||(()=>{}),zee=0;function As(e){const[t,o]=A.useState(jee());return yr(()=>{o(a=>a??String(zee++))},[e]),t?`radix-${t}`:""}const jL=["top","right","bottom","left"],AD=["start","end"],RD=jL.reduce((e,t)=>e.concat(t,t+"-"+AD[0],t+"-"+AD[1]),[]),wr=Math.min,Ma=Math.max,Rf=Math.round,Cg=Math.floor,Vr=e=>({x:e,y:e}),Uee={left:"right",right:"left",bottom:"top",top:"bottom"};function iT(e,t,o){return Ma(e,wr(t,o))}function Tr(e,t){return typeof e=="function"?e(t):e}function Rn(e){return e.split("-")[0]}function vr(e){return e.split("-")[1]}function b_(e){return e==="x"?"y":"x"}function y_(e){return e==="y"?"height":"width"}function fr(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function S_(e){return b_(fr(e))}function zL(e,t,o){o===void 0&&(o=!1);const a=vr(e),n=S_(e),i=y_(n);let l=n==="x"?a===(o?"end":"start")?"right":"left":a==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=Of(l)),[l,Of(l)]}function qee(e){const t=Of(e);return[Df(e),t,Df(t)]}function Df(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const DD=["left","right"],OD=["right","left"],$ee=["top","bottom"],Vee=["bottom","top"];function Hee(e,t,o){switch(e){case"top":case"bottom":return o?t?OD:DD:t?DD:OD;case"left":case"right":return t?$ee:Vee;default:return[]}}function Gee(e,t,o,a){const n=vr(e);let i=Hee(Rn(e),o==="start",a);return n&&(i=i.map(l=>l+"-"+n),t&&(i=i.concat(i.map(Df)))),i}function Of(e){const t=Rn(e);return Uee[t]+e.slice(t.length)}function Wee(e){return{top:0,right:0,bottom:0,left:0,...e}}function w_(e){return typeof e!="number"?Wee(e):{top:e,right:e,bottom:e,left:e}}function yd(e){const{x:t,y:o,width:a,height:n}=e;return{width:a,height:n,top:o,left:t,right:t+a,bottom:o+n,x:t,y:o}}function MD(e,t,o){let{reference:a,floating:n}=e;const i=fr(t),l=S_(t),c=y_(l),d=Rn(t),p=i==="y",m=a.x+a.width/2-n.width/2,h=a.y+a.height/2-n.height/2,f=a[c]/2-n[c]/2;let v;switch(d){case"top":v={x:m,y:a.y-n.height};break;case"bottom":v={x:m,y:a.y+a.height};break;case"right":v={x:a.x+a.width,y:h};break;case"left":v={x:a.x-n.width,y:h};break;default:v={x:a.x,y:a.y}}switch(vr(t)){case"start":v[l]-=f*(o&&p?-1:1);break;case"end":v[l]+=f*(o&&p?-1:1);break}return v}async function Kee(e,t){var o;t===void 0&&(t={});const{x:a,y:n,platform:i,rects:l,elements:c,strategy:d}=e,{boundary:p="clippingAncestors",rootBoundary:m="viewport",elementContext:h="floating",altBoundary:f=!1,padding:v=0}=Tr(t,e),b=w_(v),_=c[f?h==="floating"?"reference":"floating":h],T=yd(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(_)))==null||o?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:p,rootBoundary:m,strategy:d})),x=h==="floating"?{x:a,y:n,width:l.floating.width,height:l.floating.height}:l.reference,E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),C=await(i.isElement==null?void 0:i.isElement(E))?await(i.getScale==null?void 0:i.getScale(E))||{x:1,y:1}:{x:1,y:1},P=yd(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:E,strategy:d}):x);return{top:(T.top-P.top+b.top)/C.y,bottom:(P.bottom-T.bottom+b.bottom)/C.y,left:(T.left-P.left+b.left)/C.x,right:(P.right-T.right+b.right)/C.x}}const Yee=50,Zee=async(e,t,o)=>{const{placement:a="bottom",strategy:n="absolute",middleware:i=[],platform:l}=o,c=l.detectOverflow?l:{...l,detectOverflow:Kee},d=await(l.isRTL==null?void 0:l.isRTL(t));let p=await l.getElementRects({reference:e,floating:t,strategy:n}),{x:m,y:h}=MD(p,a,d),f=a,v=0;const b={};for(let S=0;S<i.length;S++){const _=i[S];if(!_)continue;const{name:T,fn:x}=_,{x:E,y:C,data:P,reset:R}=await x({x:m,y:h,initialPlacement:a,placement:f,strategy:n,middlewareData:b,rects:p,platform:c,elements:{reference:e,floating:t}});m=E??m,h=C??h,b[T]={...b[T],...P},R&&v<Yee&&(v++,typeof R=="object"&&(R.placement&&(f=R.placement),R.rects&&(p=R.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:n}):R.rects),{x:m,y:h}=MD(p,f,d)),S=-1)}return{x:m,y:h,placement:f,strategy:n,middlewareData:b}},Qee=e=>({name:"arrow",options:e,async fn(t){const{x:o,y:a,placement:n,rects:i,platform:l,elements:c,middlewareData:d}=t,{element:p,padding:m=0}=Tr(e,t)||{};if(p==null)return{};const h=w_(m),f={x:o,y:a},v=S_(n),b=y_(v),S=await l.getDimensions(p),_=v==="y",T=_?"top":"left",x=_?"bottom":"right",E=_?"clientHeight":"clientWidth",C=i.reference[b]+i.reference[v]-f[v]-i.floating[b],P=f[v]-i.reference[v],R=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p));let D=R?R[E]:0;(!D||!await(l.isElement==null?void 0:l.isElement(R)))&&(D=c.floating[E]||i.floating[b]);const O=C/2-P/2,L=D/2-S[b]/2-1,q=wr(h[T],L),B=wr(h[x],L),U=q,F=D-S[b]-B,W=D/2-S[b]/2+O,ae=iT(U,W,F),H=!d.arrow&&vr(n)!=null&&W!==ae&&i.reference[b]/2-(W<U?q:B)-S[b]/2<0,K=H?W<U?W-U:W-F:0;return{[v]:f[v]+K,data:{[v]:ae,centerOffset:W-ae-K,...H&&{alignmentOffset:K}},reset:H}}});function Jee(e,t,o){return(e?[...o.filter(n=>vr(n)===e),...o.filter(n=>vr(n)!==e)]:o.filter(n=>Rn(n)===n)).filter(n=>e?vr(n)===e||(t?Df(n)!==n:!1):!0)}const Xee=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,a,n;const{rects:i,middlewareData:l,placement:c,platform:d,elements:p}=t,{crossAxis:m=!1,alignment:h,allowedPlacements:f=RD,autoAlignment:v=!0,...b}=Tr(e,t),S=h!==void 0||f===RD?Jee(h||null,v,f):f,_=await d.detectOverflow(t,b),T=((o=l.autoPlacement)==null?void 0:o.index)||0,x=S[T];if(x==null)return{};const E=zL(x,i,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(c!==x)return{reset:{placement:S[0]}};const C=[_[Rn(x)],_[E[0]],_[E[1]]],P=[...((a=l.autoPlacement)==null?void 0:a.overflows)||[],{placement:x,overflows:C}],R=S[T+1];if(R)return{data:{index:T+1,overflows:P},reset:{placement:R}};const D=P.map(q=>{const B=vr(q.placement);return[q.placement,B&&m?q.overflows.slice(0,2).reduce((U,F)=>U+F,0):q.overflows[0],q.overflows]}).sort((q,B)=>q[1]-B[1]),L=((n=D.filter(q=>q[2].slice(0,vr(q[0])?2:3).every(B=>B<=0))[0])==null?void 0:n[0])||D[0][0];return L!==c?{data:{index:T+1,overflows:P},reset:{placement:L}}:{}}}},ete=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,a;const{placement:n,middlewareData:i,rects:l,initialPlacement:c,platform:d,elements:p}=t,{mainAxis:m=!0,crossAxis:h=!0,fallbackPlacements:f,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:S=!0,..._}=Tr(e,t);if((o=i.arrow)!=null&&o.alignmentOffset)return{};const T=Rn(n),x=fr(c),E=Rn(c)===c,C=await(d.isRTL==null?void 0:d.isRTL(p.floating)),P=f||(E||!S?[Of(c)]:qee(c)),R=b!=="none";!f&&R&&P.push(...Gee(c,S,b,C));const D=[c,...P],O=await d.detectOverflow(t,_),L=[];let q=((a=i.flip)==null?void 0:a.overflows)||[];if(m&&L.push(O[T]),h){const W=zL(n,l,C);L.push(O[W[0]],O[W[1]])}if(q=[...q,{placement:n,overflows:L}],!L.every(W=>W<=0)){var B,U;const W=(((B=i.flip)==null?void 0:B.index)||0)+1,ae=D[W];if(ae&&(!(h==="alignment"?x!==fr(ae):!1)||q.every(J=>fr(J.placement)===x?J.overflows[0]>0:!0)))return{data:{index:W,overflows:q},reset:{placement:ae}};let H=(U=q.filter(K=>K.overflows[0]<=0).sort((K,J)=>K.overflows[1]-J.overflows[1])[0])==null?void 0:U.placement;if(!H)switch(v){case"bestFit":{var F;const K=(F=q.filter(J=>{if(R){const le=fr(J.placement);return le===x||le==="y"}return!0}).map(J=>[J.placement,J.overflows.filter(le=>le>0).reduce((le,Q)=>le+Q,0)]).sort((J,le)=>J[1]-le[1])[0])==null?void 0:F[0];K&&(H=K);break}case"initialPlacement":H=c;break}if(n!==H)return{reset:{placement:H}}}return{}}}};function ND(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ID(e){return jL.some(t=>e[t]>=0)}const tte=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:o,platform:a}=t,{strategy:n="referenceHidden",...i}=Tr(e,t);switch(n){case"referenceHidden":{const l=await a.detectOverflow(t,{...i,elementContext:"reference"}),c=ND(l,o.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:ID(c)}}}case"escaped":{const l=await a.detectOverflow(t,{...i,altBoundary:!0}),c=ND(l,o.floating);return{data:{escapedOffsets:c,escaped:ID(c)}}}default:return{}}}}};function UL(e){const t=wr(...e.map(i=>i.left)),o=wr(...e.map(i=>i.top)),a=Ma(...e.map(i=>i.right)),n=Ma(...e.map(i=>i.bottom));return{x:t,y:o,width:a-t,height:n-o}}function ote(e){const t=e.slice().sort((n,i)=>n.y-i.y),o=[];let a=null;for(let n=0;n<t.length;n++){const i=t[n];!a||i.y-a.y>a.height/2?o.push([i]):o[o.length-1].push(i),a=i}return o.map(n=>yd(UL(n)))}const ate=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){const{placement:o,elements:a,rects:n,platform:i,strategy:l}=t,{padding:c=2,x:d,y:p}=Tr(e,t),m=Array.from(await(i.getClientRects==null?void 0:i.getClientRects(a.reference))||[]),h=ote(m),f=yd(UL(m)),v=w_(c);function b(){if(h.length===2&&h[0].left>h[1].right&&d!=null&&p!=null)return h.find(_=>d>_.left-v.left&&d<_.right+v.right&&p>_.top-v.top&&p<_.bottom+v.bottom)||f;if(h.length>=2){if(fr(o)==="y"){const q=h[0],B=h[h.length-1],U=Rn(o)==="top",F=q.top,W=B.bottom,ae=U?q.left:B.left,H=U?q.right:B.right,K=H-ae,J=W-F;return{top:F,bottom:W,left:ae,right:H,width:K,height:J,x:ae,y:F}}const _=Rn(o)==="left",T=Ma(...h.map(q=>q.right)),x=wr(...h.map(q=>q.left)),E=h.filter(q=>_?q.left===x:q.right===T),C=E[0].top,P=E[E.length-1].bottom,R=x,D=T,O=D-R,L=P-C;return{top:C,bottom:P,left:R,right:D,width:O,height:L,x:R,y:C}}return f}const S=await i.getElementRects({reference:{getBoundingClientRect:b},floating:a.floating,strategy:l});return n.reference.x!==S.reference.x||n.reference.y!==S.reference.y||n.reference.width!==S.reference.width||n.reference.height!==S.reference.height?{reset:{rects:S}}:{}}}},qL=new Set(["left","top"]);async function nte(e,t){const{placement:o,platform:a,elements:n}=e,i=await(a.isRTL==null?void 0:a.isRTL(n.floating)),l=Rn(o),c=vr(o),d=fr(o)==="y",p=qL.has(l)?-1:1,m=i&&d?-1:1,h=Tr(t,e);let{mainAxis:f,crossAxis:v,alignmentAxis:b}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof b=="number"&&(v=c==="end"?b*-1:b),d?{x:v*m,y:f*p}:{x:f*p,y:v*m}}const rte=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,a;const{x:n,y:i,placement:l,middlewareData:c}=t,d=await nte(t,e);return l===((o=c.offset)==null?void 0:o.placement)&&(a=c.arrow)!=null&&a.alignmentOffset?{}:{x:n+d.x,y:i+d.y,data:{...d,placement:l}}}}},ite=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:a,placement:n,platform:i}=t,{mainAxis:l=!0,crossAxis:c=!1,limiter:d={fn:T=>{let{x,y:E}=T;return{x,y:E}}},...p}=Tr(e,t),m={x:o,y:a},h=await i.detectOverflow(t,p),f=fr(Rn(n)),v=b_(f);let b=m[v],S=m[f];if(l){const T=v==="y"?"top":"left",x=v==="y"?"bottom":"right",E=b+h[T],C=b-h[x];b=iT(E,b,C)}if(c){const T=f==="y"?"top":"left",x=f==="y"?"bottom":"right",E=S+h[T],C=S-h[x];S=iT(E,S,C)}const _=d.fn({...t,[v]:b,[f]:S});return{..._,data:{x:_.x-o,y:_.y-a,enabled:{[v]:l,[f]:c}}}}}},ste=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:o,y:a,placement:n,rects:i,middlewareData:l}=t,{offset:c=0,mainAxis:d=!0,crossAxis:p=!0}=Tr(e,t),m={x:o,y:a},h=fr(n),f=b_(h);let v=m[f],b=m[h];const S=Tr(c,t),_=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(d){const E=f==="y"?"height":"width",C=i.reference[f]-i.floating[E]+_.mainAxis,P=i.reference[f]+i.reference[E]-_.mainAxis;v<C?v=C:v>P&&(v=P)}if(p){var T,x;const E=f==="y"?"width":"height",C=qL.has(Rn(n)),P=i.reference[h]-i.floating[E]+(C&&((T=l.offset)==null?void 0:T[h])||0)+(C?0:_.crossAxis),R=i.reference[h]+i.reference[E]+(C?0:((x=l.offset)==null?void 0:x[h])||0)-(C?_.crossAxis:0);b<P?b=P:b>R&&(b=R)}return{[f]:v,[h]:b}}}},lte=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var o,a;const{placement:n,rects:i,platform:l,elements:c}=t,{apply:d=()=>{},...p}=Tr(e,t),m=await l.detectOverflow(t,p),h=Rn(n),f=vr(n),v=fr(n)==="y",{width:b,height:S}=i.floating;let _,T;h==="top"||h==="bottom"?(_=h,T=f===(await(l.isRTL==null?void 0:l.isRTL(c.floating))?"start":"end")?"left":"right"):(T=h,_=f==="end"?"top":"bottom");const x=S-m.top-m.bottom,E=b-m.left-m.right,C=wr(S-m[_],x),P=wr(b-m[T],E),R=!t.middlewareData.shift;let D=C,O=P;if((o=t.middlewareData.shift)!=null&&o.enabled.x&&(O=E),(a=t.middlewareData.shift)!=null&&a.enabled.y&&(D=x),R&&!f){const q=Ma(m.left,0),B=Ma(m.right,0),U=Ma(m.top,0),F=Ma(m.bottom,0);v?O=b-2*(q!==0||B!==0?q+B:Ma(m.left,m.right)):D=S-2*(U!==0||F!==0?U+F:Ma(m.top,m.bottom))}await d({...t,availableWidth:O,availableHeight:D});const L=await l.getDimensions(c.floating);return b!==L.width||S!==L.height?{reset:{rects:!0}}:{}}}};function Mv(){return typeof window<"u"}function Nd(e){return $L(e)?(e.nodeName||"").toLowerCase():"#document"}function En(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Gr(e){var t;return(t=($L(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function $L(e){return Mv()?e instanceof Node||e instanceof En(e).Node:!1}function xr(e){return Mv()?e instanceof Element||e instanceof En(e).Element:!1}function Oi(e){return Mv()?e instanceof HTMLElement||e instanceof En(e).HTMLElement:!1}function LD(e){return!Mv()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof En(e).ShadowRoot}function em(e){const{overflow:t,overflowX:o,overflowY:a,display:n}=_r(e);return/auto|scroll|overlay|hidden|clip/.test(t+a+o)&&n!=="inline"&&n!=="contents"}function cte(e){return/^(table|td|th)$/.test(Nd(e))}function Nv(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const dte=/transform|translate|scale|rotate|perspective|filter/,ute=/paint|layout|strict|content/,cl=e=>!!e&&e!=="none";let l0;function T_(e){const t=xr(e)?_r(e):e;return cl(t.transform)||cl(t.translate)||cl(t.scale)||cl(t.rotate)||cl(t.perspective)||!x_()&&(cl(t.backdropFilter)||cl(t.filter))||dte.test(t.willChange||"")||ute.test(t.contain||"")}function pte(e){let t=Ns(e);for(;Oi(t)&&!Sd(t);){if(T_(t))return t;if(Nv(t))return null;t=Ns(t)}return null}function x_(){return l0==null&&(l0=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),l0}function Sd(e){return/^(html|body|#document)$/.test(Nd(e))}function _r(e){return En(e).getComputedStyle(e)}function Iv(e){return xr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ns(e){if(Nd(e)==="html")return e;const t=e.assignedSlot||e.parentNode||LD(e)&&e.host||Gr(e);return LD(t)?t.host:t}function VL(e){const t=Ns(e);return Sd(t)?e.ownerDocument?e.ownerDocument.body:e.body:Oi(t)&&em(t)?t:VL(t)}function Ep(e,t,o){var a;t===void 0&&(t=[]),o===void 0&&(o=!0);const n=VL(e),i=n===((a=e.ownerDocument)==null?void 0:a.body),l=En(n);if(i){const c=sT(l);return t.concat(l,l.visualViewport||[],em(n)?n:[],c&&o?Ep(c):[])}else return t.concat(n,Ep(n,[],o))}function sT(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function HL(e){const t=_r(e);let o=parseFloat(t.width)||0,a=parseFloat(t.height)||0;const n=Oi(e),i=n?e.offsetWidth:o,l=n?e.offsetHeight:a,c=Rf(o)!==i||Rf(a)!==l;return c&&(o=i,a=l),{width:o,height:a,$:c}}function __(e){return xr(e)?e:e.contextElement}function rd(e){const t=__(e);if(!Oi(t))return Vr(1);const o=t.getBoundingClientRect(),{width:a,height:n,$:i}=HL(t);let l=(i?Rf(o.width):o.width)/a,c=(i?Rf(o.height):o.height)/n;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}const mte=Vr(0);function GL(e){const t=En(e);return!x_()||!t.visualViewport?mte:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function hte(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==En(e)?!1:t}function El(e,t,o,a){t===void 0&&(t=!1),o===void 0&&(o=!1);const n=e.getBoundingClientRect(),i=__(e);let l=Vr(1);t&&(a?xr(a)&&(l=rd(a)):l=rd(e));const c=hte(i,o,a)?GL(i):Vr(0);let d=(n.left+c.x)/l.x,p=(n.top+c.y)/l.y,m=n.width/l.x,h=n.height/l.y;if(i){const f=En(i),v=a&&xr(a)?En(a):a;let b=f,S=sT(b);for(;S&&a&&v!==b;){const _=rd(S),T=S.getBoundingClientRect(),x=_r(S),E=T.left+(S.clientLeft+parseFloat(x.paddingLeft))*_.x,C=T.top+(S.clientTop+parseFloat(x.paddingTop))*_.y;d*=_.x,p*=_.y,m*=_.x,h*=_.y,d+=E,p+=C,b=En(S),S=sT(b)}}return yd({width:m,height:h,x:d,y:p})}function Lv(e,t){const o=Iv(e).scrollLeft;return t?t.left+o:El(Gr(e)).left+o}function WL(e,t){const o=e.getBoundingClientRect(),a=o.left+t.scrollLeft-Lv(e,o),n=o.top+t.scrollTop;return{x:a,y:n}}function gte(e){let{elements:t,rect:o,offsetParent:a,strategy:n}=e;const i=n==="fixed",l=Gr(a),c=t?Nv(t.floating):!1;if(a===l||c&&i)return o;let d={scrollLeft:0,scrollTop:0},p=Vr(1);const m=Vr(0),h=Oi(a);if((h||!h&&!i)&&((Nd(a)!=="body"||em(l))&&(d=Iv(a)),h)){const v=El(a);p=rd(a),m.x=v.x+a.clientLeft,m.y=v.y+a.clientTop}const f=l&&!h&&!i?WL(l,d):Vr(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-d.scrollLeft*p.x+m.x+f.x,y:o.y*p.y-d.scrollTop*p.y+m.y+f.y}}function fte(e){return Array.from(e.getClientRects())}function vte(e){const t=Gr(e),o=Iv(e),a=e.ownerDocument.body,n=Ma(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),i=Ma(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight);let l=-o.scrollLeft+Lv(e);const c=-o.scrollTop;return _r(a).direction==="rtl"&&(l+=Ma(t.clientWidth,a.clientWidth)-n),{width:n,height:i,x:l,y:c}}const BD=25;function bte(e,t){const o=En(e),a=Gr(e),n=o.visualViewport;let i=a.clientWidth,l=a.clientHeight,c=0,d=0;if(n){i=n.width,l=n.height;const m=x_();(!m||m&&t==="fixed")&&(c=n.offsetLeft,d=n.offsetTop)}const p=Lv(a);if(p<=0){const m=a.ownerDocument,h=m.body,f=getComputedStyle(h),v=m.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,b=Math.abs(a.clientWidth-h.clientWidth-v);b<=BD&&(i-=b)}else p<=BD&&(i+=p);return{width:i,height:l,x:c,y:d}}function yte(e,t){const o=El(e,!0,t==="fixed"),a=o.top+e.clientTop,n=o.left+e.clientLeft,i=Oi(e)?rd(e):Vr(1),l=e.clientWidth*i.x,c=e.clientHeight*i.y,d=n*i.x,p=a*i.y;return{width:l,height:c,x:d,y:p}}function FD(e,t,o){let a;if(t==="viewport")a=bte(e,o);else if(t==="document")a=vte(Gr(e));else if(xr(t))a=yte(t,o);else{const n=GL(e);a={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return yd(a)}function KL(e,t){const o=Ns(e);return o===t||!xr(o)||Sd(o)?!1:_r(o).position==="fixed"||KL(o,t)}function Ste(e,t){const o=t.get(e);if(o)return o;let a=Ep(e,[],!1).filter(c=>xr(c)&&Nd(c)!=="body"),n=null;const i=_r(e).position==="fixed";let l=i?Ns(e):e;for(;xr(l)&&!Sd(l);){const c=_r(l),d=T_(l);!d&&c.position==="fixed"&&(n=null),(i?!d&&!n:!d&&c.position==="static"&&!!n&&(n.position==="absolute"||n.position==="fixed")||em(l)&&!d&&KL(e,l))?a=a.filter(m=>m!==l):n=c,l=Ns(l)}return t.set(e,a),a}function wte(e){let{element:t,boundary:o,rootBoundary:a,strategy:n}=e;const l=[...o==="clippingAncestors"?Nv(t)?[]:Ste(t,this._c):[].concat(o),a],c=FD(t,l[0],n);let d=c.top,p=c.right,m=c.bottom,h=c.left;for(let f=1;f<l.length;f++){const v=FD(t,l[f],n);d=Ma(v.top,d),p=wr(v.right,p),m=wr(v.bottom,m),h=Ma(v.left,h)}return{width:p-h,height:m-d,x:h,y:d}}function Tte(e){const{width:t,height:o}=HL(e);return{width:t,height:o}}function xte(e,t,o){const a=Oi(t),n=Gr(t),i=o==="fixed",l=El(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const d=Vr(0);function p(){d.x=Lv(n)}if(a||!a&&!i)if((Nd(t)!=="body"||em(n))&&(c=Iv(t)),a){const v=El(t,!0,i,t);d.x=v.x+t.clientLeft,d.y=v.y+t.clientTop}else n&&p();i&&!a&&n&&p();const m=n&&!a&&!i?WL(n,c):Vr(0),h=l.left+c.scrollLeft-d.x-m.x,f=l.top+c.scrollTop-d.y-m.y;return{x:h,y:f,width:l.width,height:l.height}}function c0(e){return _r(e).position==="static"}function jD(e,t){if(!Oi(e)||_r(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return Gr(e)===o&&(o=o.ownerDocument.body),o}function YL(e,t){const o=En(e);if(Nv(e))return o;if(!Oi(e)){let n=Ns(e);for(;n&&!Sd(n);){if(xr(n)&&!c0(n))return n;n=Ns(n)}return o}let a=jD(e,t);for(;a&&cte(a)&&c0(a);)a=jD(a,t);return a&&Sd(a)&&c0(a)&&!T_(a)?o:a||pte(e)||o}const _te=async function(e){const t=this.getOffsetParent||YL,o=this.getDimensions,a=await o(e.floating);return{reference:xte(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function kte(e){return _r(e).direction==="rtl"}const Cte={convertOffsetParentRelativeRectToViewportRelativeRect:gte,getDocumentElement:Gr,getClippingRect:wte,getOffsetParent:YL,getElementRects:_te,getClientRects:fte,getDimensions:Tte,getScale:rd,isElement:xr,isRTL:kte};function ZL(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Pte(e,t){let o=null,a;const n=Gr(e);function i(){var c;clearTimeout(a),(c=o)==null||c.disconnect(),o=null}function l(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),i();const p=e.getBoundingClientRect(),{left:m,top:h,width:f,height:v}=p;if(c||t(),!f||!v)return;const b=Cg(h),S=Cg(n.clientWidth-(m+f)),_=Cg(n.clientHeight-(h+v)),T=Cg(m),E={rootMargin:-b+"px "+-S+"px "+-_+"px "+-T+"px",threshold:Ma(0,wr(1,d))||1};let C=!0;function P(R){const D=R[0].intersectionRatio;if(D!==d){if(!C)return l();D?l(!1,D):a=setTimeout(()=>{l(!1,1e-7)},1e3)}D===1&&!ZL(p,e.getBoundingClientRect())&&l(),C=!1}try{o=new IntersectionObserver(P,{...E,root:n.ownerDocument})}catch{o=new IntersectionObserver(P,E)}o.observe(e)}return l(!0),i}function Ete(e,t,o,a){a===void 0&&(a={});const{ancestorScroll:n=!0,ancestorResize:i=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:d=!1}=a,p=__(e),m=n||i?[...p?Ep(p):[],...t?Ep(t):[]]:[];m.forEach(T=>{n&&T.addEventListener("scroll",o,{passive:!0}),i&&T.addEventListener("resize",o)});const h=p&&c?Pte(p,o):null;let f=-1,v=null;l&&(v=new ResizeObserver(T=>{let[x]=T;x&&x.target===p&&v&&t&&(v.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var E;(E=v)==null||E.observe(t)})),o()}),p&&!d&&v.observe(p),t&&v.observe(t));let b,S=d?El(e):null;d&&_();function _(){const T=El(e);S&&!ZL(S,T)&&o(),S=T,b=requestAnimationFrame(_)}return o(),()=>{var T;m.forEach(x=>{n&&x.removeEventListener("scroll",o),i&&x.removeEventListener("resize",o)}),h?.(),(T=v)==null||T.disconnect(),v=null,d&&cancelAnimationFrame(b)}}const Ate=rte,Ive=Xee,Rte=ite,Dte=ete,Ote=lte,Mte=tte,zD=Qee,Lve=ate,Nte=ste,Ite=(e,t,o)=>{const a=new Map,n={platform:Cte,...o},i={...n.platform,_c:a};return Zee(e,t,{...n,platform:i})};var Lte=typeof document<"u",Bte=function(){},Xg=Lte?A.useLayoutEffect:Bte;function Mf(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let o,a,n;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(o=e.length,o!==t.length)return!1;for(a=o;a--!==0;)if(!Mf(e[a],t[a]))return!1;return!0}if(n=Object.keys(e),o=n.length,o!==Object.keys(t).length)return!1;for(a=o;a--!==0;)if(!{}.hasOwnProperty.call(t,n[a]))return!1;for(a=o;a--!==0;){const i=n[a];if(!(i==="_owner"&&e.$$typeof)&&!Mf(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function QL(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function UD(e,t){const o=QL(e);return Math.round(t*o)/o}function d0(e){const t=A.useRef(e);return Xg(()=>{t.current=e}),t}function Fte(e){e===void 0&&(e={});const{placement:t="bottom",strategy:o="absolute",middleware:a=[],platform:n,elements:{reference:i,floating:l}={},transform:c=!0,whileElementsMounted:d,open:p}=e,[m,h]=A.useState({x:0,y:0,strategy:o,placement:t,middlewareData:{},isPositioned:!1}),[f,v]=A.useState(a);Mf(f,a)||v(a);const[b,S]=A.useState(null),[_,T]=A.useState(null),x=A.useCallback(J=>{J!==R.current&&(R.current=J,S(J))},[]),E=A.useCallback(J=>{J!==D.current&&(D.current=J,T(J))},[]),C=i||b,P=l||_,R=A.useRef(null),D=A.useRef(null),O=A.useRef(m),L=d!=null,q=d0(d),B=d0(n),U=d0(p),F=A.useCallback(()=>{if(!R.current||!D.current)return;const J={placement:t,strategy:o,middleware:f};B.current&&(J.platform=B.current),Ite(R.current,D.current,J).then(le=>{const Q={...le,isPositioned:U.current!==!1};W.current&&!Mf(O.current,Q)&&(O.current=Q,qp.flushSync(()=>{h(Q)}))})},[f,t,o,B,U]);Xg(()=>{p===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,h(J=>({...J,isPositioned:!1})))},[p]);const W=A.useRef(!1);Xg(()=>(W.current=!0,()=>{W.current=!1}),[]),Xg(()=>{if(C&&(R.current=C),P&&(D.current=P),C&&P){if(q.current)return q.current(C,P,F);F()}},[C,P,F,q,L]);const ae=A.useMemo(()=>({reference:R,floating:D,setReference:x,setFloating:E}),[x,E]),H=A.useMemo(()=>({reference:C,floating:P}),[C,P]),K=A.useMemo(()=>{const J={position:o,left:0,top:0};if(!H.floating)return J;const le=UD(H.floating,m.x),Q=UD(H.floating,m.y);return c?{...J,transform:"translate("+le+"px, "+Q+"px)",...QL(H.floating)>=1.5&&{willChange:"transform"}}:{position:o,left:le,top:Q}},[o,c,H.floating,m.x,m.y]);return A.useMemo(()=>({...m,update:F,refs:ae,elements:H,floatingStyles:K}),[m,F,ae,H,K])}const jte=e=>{function t(o){return{}.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){const{element:a,padding:n}=typeof e=="function"?e(o):e;return a&&t(a)?a.current!=null?zD({element:a.current,padding:n}).fn(o):{}:a?zD({element:a,padding:n}).fn(o):{}}}},zte=(e,t)=>{const o=Ate(e);return{name:o.name,fn:o.fn,options:[e,t]}},Ute=(e,t)=>{const o=Rte(e);return{name:o.name,fn:o.fn,options:[e,t]}},qte=(e,t)=>({fn:Nte(e).fn,options:[e,t]}),$te=(e,t)=>{const o=Dte(e);return{name:o.name,fn:o.fn,options:[e,t]}},Vte=(e,t)=>{const o=Ote(e);return{name:o.name,fn:o.fn,options:[e,t]}},Hte=(e,t)=>{const o=Mte(e);return{name:o.name,fn:o.fn,options:[e,t]}},Gte=(e,t)=>{const o=jte(e);return{name:o.name,fn:o.fn,options:[e,t]}};var Wte="Arrow",JL=A.forwardRef((e,t)=>{const{children:o,width:a=10,height:n=5,...i}=e;return w.jsx(Ro.svg,{...i,ref:t,width:a,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?o:w.jsx("polygon",{points:"0,0 30,0 15,10"})})});JL.displayName=Wte;var Kte=JL;function XL(e){const[t,o]=A.useState(void 0);return yr(()=>{if(e){o({width:e.offsetWidth,height:e.offsetHeight});const a=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;const i=n[0];let l,c;if("borderBoxSize"in i){const d=i.borderBoxSize,p=Array.isArray(d)?d[0]:d;l=p.inlineSize,c=p.blockSize}else l=e.offsetWidth,c=e.offsetHeight;o({width:l,height:c})});return a.observe(e,{box:"border-box"}),()=>a.unobserve(e)}else o(void 0)},[e]),t}var k_="Popper",[eB,tB]=Fl(k_),[Yte,oB]=eB(k_),aB=e=>{const{__scopePopper:t,children:o}=e,[a,n]=A.useState(null);return w.jsx(Yte,{scope:t,anchor:a,onAnchorChange:n,children:o})};aB.displayName=k_;var nB="PopperAnchor",rB=A.forwardRef((e,t)=>{const{__scopePopper:o,virtualRef:a,...n}=e,i=oB(nB,o),l=A.useRef(null),c=sa(t,l),d=A.useRef(null);return A.useEffect(()=>{const p=d.current;d.current=a?.current||l.current,p!==d.current&&i.onAnchorChange(d.current)}),a?null:w.jsx(Ro.div,{...n,ref:c})});rB.displayName=nB;var C_="PopperContent",[Zte,Qte]=eB(C_),iB=A.forwardRef((e,t)=>{const{__scopePopper:o,side:a="bottom",sideOffset:n=0,align:i="center",alignOffset:l=0,arrowPadding:c=0,avoidCollisions:d=!0,collisionBoundary:p=[],collisionPadding:m=0,sticky:h="partial",hideWhenDetached:f=!1,updatePositionStrategy:v="optimized",onPlaced:b,...S}=e,_=oB(C_,o),[T,x]=A.useState(null),E=sa(t,pe=>x(pe)),[C,P]=A.useState(null),R=XL(C),D=R?.width??0,O=R?.height??0,L=a+(i!=="center"?"-"+i:""),q=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},B=Array.isArray(p)?p:[p],U=B.length>0,F={padding:q,boundary:B.filter(Xte),altBoundary:U},{refs:W,floatingStyles:ae,placement:H,isPositioned:K,middlewareData:J}=Fte({strategy:"fixed",placement:L,whileElementsMounted:(...pe)=>Ete(...pe,{animationFrame:v==="always"}),elements:{reference:_.anchor},middleware:[zte({mainAxis:n+O,alignmentAxis:l}),d&&Ute({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?qte():void 0,...F}),d&&$te({...F}),Vte({...F,apply:({elements:pe,rects:he,availableWidth:_e,availableHeight:qe})=>{const{width:Z,height:ne}=he.reference,ve=pe.floating.style;ve.setProperty("--radix-popper-available-width",`${_e}px`),ve.setProperty("--radix-popper-available-height",`${qe}px`),ve.setProperty("--radix-popper-anchor-width",`${Z}px`),ve.setProperty("--radix-popper-anchor-height",`${ne}px`)}}),C&&Gte({element:C,padding:c}),eoe({arrowWidth:D,arrowHeight:O}),f&&Hte({strategy:"referenceHidden",...F})]}),[le,Q]=cB(H),N=Sr(b);yr(()=>{K&&N?.()},[K,N]);const G=J.arrow?.x,V=J.arrow?.y,I=J.arrow?.centerOffset!==0,[z,X]=A.useState();return yr(()=>{T&&X(window.getComputedStyle(T).zIndex)},[T]),w.jsx("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...ae,transform:K?ae.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:z,"--radix-popper-transform-origin":[J.transformOrigin?.x,J.transformOrigin?.y].join(" "),...J.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:w.jsx(Zte,{scope:o,placedSide:le,onArrowChange:P,arrowX:G,arrowY:V,shouldHideArrow:I,children:w.jsx(Ro.div,{"data-side":le,"data-align":Q,...S,ref:E,style:{...S.style,animation:K?void 0:"none"}})})})});iB.displayName=C_;var sB="PopperArrow",Jte={top:"bottom",right:"left",bottom:"top",left:"right"},lB=A.forwardRef(function(t,o){const{__scopePopper:a,...n}=t,i=Qte(sB,a),l=Jte[i.placedSide];return w.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:w.jsx(Kte,{...n,ref:o,style:{...n.style,display:"block"}})})});lB.displayName=sB;function Xte(e){return e!==null}var eoe=e=>({name:"transformOrigin",options:e,fn(t){const{placement:o,rects:a,middlewareData:n}=t,l=n.arrow?.centerOffset!==0,c=l?0:e.arrowWidth,d=l?0:e.arrowHeight,[p,m]=cB(o),h={start:"0%",center:"50%",end:"100%"}[m],f=(n.arrow?.x??0)+c/2,v=(n.arrow?.y??0)+d/2;let b="",S="";return p==="bottom"?(b=l?h:`${f}px`,S=`${-d}px`):p==="top"?(b=l?h:`${f}px`,S=`${a.floating.height+d}px`):p==="right"?(b=`${-d}px`,S=l?h:`${v}px`):p==="left"&&(b=`${a.floating.width+d}px`,S=l?h:`${v}px`),{data:{x:b,y:S}}}});function cB(e){const[t,o="center"]=e.split("-");return[t,o]}var dB=aB,toe=rB,ooe=iB,aoe=lB,noe="Portal",P_=A.forwardRef((e,t)=>{const{container:o,...a}=e,[n,i]=A.useState(!1);yr(()=>i(!0),[]);const l=o||n&&globalThis?.document?.body;return l?CM.createPortal(w.jsx(Ro.div,{...a,ref:t}),l):null});P_.displayName=noe;function roe(e,t){return A.useReducer((o,a)=>t[o][a]??o,e)}var Mi=e=>{const{present:t,children:o}=e,a=ioe(t),n=typeof o=="function"?o({present:a.isPresent}):A.Children.only(o),i=sa(a.ref,soe(n));return typeof o=="function"||a.isPresent?A.cloneElement(n,{ref:i}):null};Mi.displayName="Presence";function ioe(e){const[t,o]=A.useState(),a=A.useRef(null),n=A.useRef(e),i=A.useRef("none"),l=e?"mounted":"unmounted",[c,d]=roe(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return A.useEffect(()=>{const p=Pg(a.current);i.current=c==="mounted"?p:"none"},[c]),yr(()=>{const p=a.current,m=n.current;if(m!==e){const f=i.current,v=Pg(p);e?d("MOUNT"):v==="none"||p?.display==="none"?d("UNMOUNT"):d(m&&f!==v?"ANIMATION_OUT":"UNMOUNT"),n.current=e}},[e,d]),yr(()=>{if(t){let p;const m=t.ownerDocument.defaultView??window,h=v=>{const S=Pg(a.current).includes(CSS.escape(v.animationName));if(v.target===t&&S&&(d("ANIMATION_END"),!n.current)){const _=t.style.animationFillMode;t.style.animationFillMode="forwards",p=m.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=_)})}},f=v=>{v.target===t&&(i.current=Pg(a.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{m.clearTimeout(p),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:A.useCallback(p=>{a.current=p?getComputedStyle(p):null,o(p)},[])}}function Pg(e){return e?.animationName||"none"}function soe(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var u0="rovingFocusGroup.onEntryFocus",loe={bubbles:!1,cancelable:!0},tm="RovingFocusGroup",[lT,uB,coe]=ML(tm),[doe,pB]=Fl(tm,[coe]),[uoe,poe]=doe(tm),mB=A.forwardRef((e,t)=>w.jsx(lT.Provider,{scope:e.__scopeRovingFocusGroup,children:w.jsx(lT.Slot,{scope:e.__scopeRovingFocusGroup,children:w.jsx(moe,{...e,ref:t})})}));mB.displayName=tm;var moe=A.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:o,orientation:a,loop:n=!1,dir:i,currentTabStopId:l,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:d,onEntryFocus:p,preventScrollOnEntryFocus:m=!1,...h}=e,f=A.useRef(null),v=sa(t,f),b=NL(i),[S,_]=Xp({prop:l,defaultProp:c??null,onChange:d,caller:tm}),[T,x]=A.useState(!1),E=Sr(p),C=uB(o),P=A.useRef(!1),[R,D]=A.useState(0);return A.useEffect(()=>{const O=f.current;if(O)return O.addEventListener(u0,E),()=>O.removeEventListener(u0,E)},[E]),w.jsx(uoe,{scope:o,orientation:a,dir:b,loop:n,currentTabStopId:S,onItemFocus:A.useCallback(O=>_(O),[_]),onItemShiftTab:A.useCallback(()=>x(!0),[]),onFocusableItemAdd:A.useCallback(()=>D(O=>O+1),[]),onFocusableItemRemove:A.useCallback(()=>D(O=>O-1),[]),children:w.jsx(Ro.div,{tabIndex:T||R===0?-1:0,"data-orientation":a,...h,ref:v,style:{outline:"none",...e.style},onMouseDown:mt(e.onMouseDown,()=>{P.current=!0}),onFocus:mt(e.onFocus,O=>{const L=!P.current;if(O.target===O.currentTarget&&L&&!T){const q=new CustomEvent(u0,loe);if(O.currentTarget.dispatchEvent(q),!q.defaultPrevented){const B=C().filter(H=>H.focusable),U=B.find(H=>H.active),F=B.find(H=>H.id===S),ae=[U,F,...B].filter(Boolean).map(H=>H.ref.current);fB(ae,m)}}P.current=!1}),onBlur:mt(e.onBlur,()=>x(!1))})})}),hB="RovingFocusGroupItem",gB=A.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:o,focusable:a=!0,active:n=!1,tabStopId:i,children:l,...c}=e,d=As(),p=i||d,m=poe(hB,o),h=m.currentTabStopId===p,f=uB(o),{onFocusableItemAdd:v,onFocusableItemRemove:b,currentTabStopId:S}=m;return A.useEffect(()=>{if(a)return v(),()=>b()},[a,v,b]),w.jsx(lT.ItemSlot,{scope:o,id:p,focusable:a,active:n,children:w.jsx(Ro.span,{tabIndex:h?0:-1,"data-orientation":m.orientation,...c,ref:t,onMouseDown:mt(e.onMouseDown,_=>{a?m.onItemFocus(p):_.preventDefault()}),onFocus:mt(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:mt(e.onKeyDown,_=>{if(_.key==="Tab"&&_.shiftKey){m.onItemShiftTab();return}if(_.target!==_.currentTarget)return;const T=foe(_,m.orientation,m.dir);if(T!==void 0){if(_.metaKey||_.ctrlKey||_.altKey||_.shiftKey)return;_.preventDefault();let E=f().filter(C=>C.focusable).map(C=>C.ref.current);if(T==="last")E.reverse();else if(T==="prev"||T==="next"){T==="prev"&&E.reverse();const C=E.indexOf(_.currentTarget);E=m.loop?voe(E,C+1):E.slice(C+1)}setTimeout(()=>fB(E))}}),children:typeof l=="function"?l({isCurrentTabStop:h,hasTabStop:S!=null}):l})})});gB.displayName=hB;var hoe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function goe(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function foe(e,t,o){const a=goe(e.key,o);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(a))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(a)))return hoe[a]}function fB(e,t=!1){const o=document.activeElement;for(const a of e)if(a===o||(a.focus({preventScroll:t}),document.activeElement!==o))return}function voe(e,t){return e.map((o,a)=>e[(t+a)%e.length])}var boe=mB,yoe=gB,Soe=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Oc=new WeakMap,Eg=new WeakMap,Ag={},p0=0,vB=function(e){return e&&(e.host||vB(e.parentNode))},woe=function(e,t){return t.map(function(o){if(e.contains(o))return o;var a=vB(o);return a&&e.contains(a)?a:(console.error("aria-hidden",o,"in not contained inside",e,". Doing nothing"),null)}).filter(function(o){return!!o})},Toe=function(e,t,o,a){var n=woe(t,Array.isArray(e)?e:[e]);Ag[o]||(Ag[o]=new WeakMap);var i=Ag[o],l=[],c=new Set,d=new Set(n),p=function(h){!h||c.has(h)||(c.add(h),p(h.parentNode))};n.forEach(p);var m=function(h){!h||d.has(h)||Array.prototype.forEach.call(h.children,function(f){if(c.has(f))m(f);else try{var v=f.getAttribute(a),b=v!==null&&v!=="false",S=(Oc.get(f)||0)+1,_=(i.get(f)||0)+1;Oc.set(f,S),i.set(f,_),l.push(f),S===1&&b&&Eg.set(f,!0),_===1&&f.setAttribute(o,"true"),b||f.setAttribute(a,"true")}catch(T){console.error("aria-hidden: cannot operate on ",f,T)}})};return m(t),c.clear(),p0++,function(){l.forEach(function(h){var f=Oc.get(h)-1,v=i.get(h)-1;Oc.set(h,f),i.set(h,v),f||(Eg.has(h)||h.removeAttribute(a),Eg.delete(h)),v||h.removeAttribute(o)}),p0--,p0||(Oc=new WeakMap,Oc=new WeakMap,Eg=new WeakMap,Ag={})}},bB=function(e,t,o){o===void 0&&(o="data-aria-hidden");var a=Array.from(Array.isArray(e)?e:[e]),n=Soe(e);return n?(a.push.apply(a,Array.from(n.querySelectorAll("[aria-live], script"))),Toe(a,n,o,"aria-hidden")):function(){return null}},zr=function(){return zr=Object.assign||function(t){for(var o,a=1,n=arguments.length;a<n;a++){o=arguments[a];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},zr.apply(this,arguments)};function yB(e,t){var o={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(o[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(e);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(o[a[n]]=e[a[n]]);return o}function xoe(e,t,o){if(o||arguments.length===2)for(var a=0,n=t.length,i;a<n;a++)(i||!(a in t))&&(i||(i=Array.prototype.slice.call(t,0,a)),i[a]=t[a]);return e.concat(i||Array.prototype.slice.call(t))}var ef="right-scroll-bar-position",tf="width-before-scroll-bar",_oe="with-scroll-bars-hidden",koe="--removed-body-scroll-bar-size";function m0(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Coe(e,t){var o=A.useState(function(){return{value:e,callback:t,facade:{get current(){return o.value},set current(a){var n=o.value;n!==a&&(o.value=a,o.callback(a,n))}}}})[0];return o.callback=t,o.facade}var Poe=typeof window<"u"?A.useLayoutEffect:A.useEffect,qD=new WeakMap;function Eoe(e,t){var o=Coe(null,function(a){return e.forEach(function(n){return m0(n,a)})});return Poe(function(){var a=qD.get(o);if(a){var n=new Set(a),i=new Set(e),l=o.current;n.forEach(function(c){i.has(c)||m0(c,null)}),i.forEach(function(c){n.has(c)||m0(c,l)})}qD.set(o,e)},[e]),o}function Aoe(e){return e}function Roe(e,t){t===void 0&&(t=Aoe);var o=[],a=!1,n={read:function(){if(a)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:e},useMedium:function(i){var l=t(i,a);return o.push(l),function(){o=o.filter(function(c){return c!==l})}},assignSyncMedium:function(i){for(a=!0;o.length;){var l=o;o=[],l.forEach(i)}o={push:function(c){return i(c)},filter:function(){return o}}},assignMedium:function(i){a=!0;var l=[];if(o.length){var c=o;o=[],c.forEach(i),l=o}var d=function(){var m=l;l=[],m.forEach(i)},p=function(){return Promise.resolve().then(d)};p(),o={push:function(m){l.push(m),p()},filter:function(m){return l=l.filter(m),o}}}};return n}function Doe(e){e===void 0&&(e={});var t=Roe(null);return t.options=zr({async:!0,ssr:!1},e),t}var SB=function(e){var t=e.sideCar,o=yB(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var a=t.read();if(!a)throw new Error("Sidecar medium not found");return A.createElement(a,zr({},o))};SB.isSideCarExport=!0;function Ooe(e,t){return e.useMedium(t),SB}var wB=Doe(),h0=function(){},Bv=A.forwardRef(function(e,t){var o=A.useRef(null),a=A.useState({onScrollCapture:h0,onWheelCapture:h0,onTouchMoveCapture:h0}),n=a[0],i=a[1],l=e.forwardProps,c=e.children,d=e.className,p=e.removeScrollBar,m=e.enabled,h=e.shards,f=e.sideCar,v=e.noRelative,b=e.noIsolation,S=e.inert,_=e.allowPinchZoom,T=e.as,x=T===void 0?"div":T,E=e.gapMode,C=yB(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=f,R=Eoe([o,t]),D=zr(zr({},C),n);return A.createElement(A.Fragment,null,m&&A.createElement(P,{sideCar:wB,removeScrollBar:p,shards:h,noRelative:v,noIsolation:b,inert:S,setCallbacks:i,allowPinchZoom:!!_,lockRef:o,gapMode:E}),l?A.cloneElement(A.Children.only(c),zr(zr({},D),{ref:R})):A.createElement(x,zr({},D,{className:d,ref:R}),c))});Bv.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Bv.classNames={fullWidth:tf,zeroRight:ef};var Moe=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Noe(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Moe();return t&&e.setAttribute("nonce",t),e}function Ioe(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Loe(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Boe=function(){var e=0,t=null;return{add:function(o){e==0&&(t=Noe())&&(Ioe(t,o),Loe(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Foe=function(){var e=Boe();return function(t,o){A.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&o])}},TB=function(){var e=Foe(),t=function(o){var a=o.styles,n=o.dynamic;return e(a,n),null};return t},joe={left:0,top:0,right:0,gap:0},g0=function(e){return parseInt(e||"",10)||0},zoe=function(e){var t=window.getComputedStyle(document.body),o=t[e==="padding"?"paddingLeft":"marginLeft"],a=t[e==="padding"?"paddingTop":"marginTop"],n=t[e==="padding"?"paddingRight":"marginRight"];return[g0(o),g0(a),g0(n)]},Uoe=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return joe;var t=zoe(e),o=document.documentElement.clientWidth,a=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,a-o+t[2]-t[0])}},qoe=TB(),id="data-scroll-locked",$oe=function(e,t,o,a){var n=e.left,i=e.top,l=e.right,c=e.gap;return o===void 0&&(o="margin"),`
128
128
  .`.concat(_oe,` {
129
129
  overflow: hidden `).concat(a,`;
130
130
  padding-right: `).concat(c,"px ").concat(a,`;
@@ -165,7 +165,7 @@ Este site ainda não reporta sections de post — quando reportar, cite elas aqu
165
165
  .block-interactivity-`.concat(e,` {pointer-events: none;}
166
166
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
167
167
  `)},tae=0,Nc=[];function oae(e){var t=A.useRef([]),o=A.useRef([0,0]),a=A.useRef(),n=A.useState(tae++)[0],i=A.useState(TB)[0],l=A.useRef(e);A.useEffect(function(){l.current=e},[e]),A.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(n));var S=xoe([e.lockRef.current],(e.shards||[]).map(GD),!0).filter(Boolean);return S.forEach(function(_){return _.classList.add("allow-interactivity-".concat(n))}),function(){document.body.classList.remove("block-interactivity-".concat(n)),S.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(n))})}}},[e.inert,e.lockRef.current,e.shards]);var c=A.useCallback(function(S,_){if("touches"in S&&S.touches.length===2||S.type==="wheel"&&S.ctrlKey)return!l.current.allowPinchZoom;var T=Dg(S),x=o.current,E="deltaX"in S?S.deltaX:x[0]-T[0],C="deltaY"in S?S.deltaY:x[1]-T[1],P,R=S.target,D=Math.abs(E)>Math.abs(C)?"h":"v";if("touches"in S&&D==="h"&&R.type==="range")return!1;var O=window.getSelection(),L=O&&O.anchorNode,q=L?L===R||L.contains(R):!1;if(q)return!1;var B=VD(D,R);if(!B)return!0;if(B?P=D:(P=D==="v"?"h":"v",B=VD(D,R)),!B)return!1;if(!a.current&&"changedTouches"in S&&(E||C)&&(a.current=P),!P)return!0;var U=a.current||P;return Joe(U,_,S,U==="h"?E:C)},[]),d=A.useCallback(function(S){var _=S;if(!(!Nc.length||Nc[Nc.length-1]!==i)){var T="deltaY"in _?HD(_):Dg(_),x=t.current.filter(function(P){return P.name===_.type&&(P.target===_.target||_.target===P.shadowParent)&&Xoe(P.delta,T)})[0];if(x&&x.should){_.cancelable&&_.preventDefault();return}if(!x){var E=(l.current.shards||[]).map(GD).filter(Boolean).filter(function(P){return P.contains(_.target)}),C=E.length>0?c(_,E[0]):!l.current.noIsolation;C&&_.cancelable&&_.preventDefault()}}},[]),p=A.useCallback(function(S,_,T,x){var E={name:S,delta:_,target:T,should:x,shadowParent:aae(T)};t.current.push(E),setTimeout(function(){t.current=t.current.filter(function(C){return C!==E})},1)},[]),m=A.useCallback(function(S){o.current=Dg(S),a.current=void 0},[]),h=A.useCallback(function(S){p(S.type,HD(S),S.target,c(S,e.lockRef.current))},[]),f=A.useCallback(function(S){p(S.type,Dg(S),S.target,c(S,e.lockRef.current))},[]);A.useEffect(function(){return Nc.push(i),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:f}),document.addEventListener("wheel",d,Mc),document.addEventListener("touchmove",d,Mc),document.addEventListener("touchstart",m,Mc),function(){Nc=Nc.filter(function(S){return S!==i}),document.removeEventListener("wheel",d,Mc),document.removeEventListener("touchmove",d,Mc),document.removeEventListener("touchstart",m,Mc)}},[]);var v=e.removeScrollBar,b=e.inert;return A.createElement(A.Fragment,null,b?A.createElement(i,{styles:eae(n)}):null,v?A.createElement(Hoe,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function aae(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const nae=Ooe(wB,oae);var E_=A.forwardRef(function(e,t){return A.createElement(Bv,zr({},e,{ref:t,sideCar:nae}))});E_.classNames=Bv.classNames;var dT=["Enter"," "],rae=["ArrowDown","PageUp","Home"],CB=["ArrowUp","PageDown","End"],iae=[...rae,...CB],sae={ltr:[...dT,"ArrowRight"],rtl:[...dT,"ArrowLeft"]},lae={ltr:["ArrowLeft"],rtl:["ArrowRight"]},om="Menu",[Ap,cae,dae]=ML(om),[jl,PB]=Fl(om,[dae,tB,pB]),am=tB(),EB=pB(),[AB,zs]=jl(om),[uae,nm]=jl(om),RB=e=>{const{__scopeMenu:t,open:o=!1,children:a,dir:n,onOpenChange:i,modal:l=!0}=e,c=am(t),[d,p]=A.useState(null),m=A.useRef(!1),h=Sr(i),f=NL(n);return A.useEffect(()=>{const v=()=>{m.current=!0,document.addEventListener("pointerdown",b,{capture:!0,once:!0}),document.addEventListener("pointermove",b,{capture:!0,once:!0})},b=()=>m.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",b,{capture:!0}),document.removeEventListener("pointermove",b,{capture:!0})}},[]),w.jsx(dB,{...c,children:w.jsx(AB,{scope:t,open:o,onOpenChange:h,content:d,onContentChange:p,children:w.jsx(uae,{scope:t,onClose:A.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:m,dir:f,modal:l,children:a})})})};RB.displayName=om;var pae="MenuAnchor",A_=A.forwardRef((e,t)=>{const{__scopeMenu:o,...a}=e,n=am(o);return w.jsx(toe,{...n,...a,ref:t})});A_.displayName=pae;var R_="MenuPortal",[mae,DB]=jl(R_,{forceMount:void 0}),OB=e=>{const{__scopeMenu:t,forceMount:o,children:a,container:n}=e,i=zs(R_,t);return w.jsx(mae,{scope:t,forceMount:o,children:w.jsx(Mi,{present:o||i.open,children:w.jsx(P_,{asChild:!0,container:n,children:a})})})};OB.displayName=R_;var Qn="MenuContent",[hae,D_]=jl(Qn),MB=A.forwardRef((e,t)=>{const o=DB(Qn,e.__scopeMenu),{forceMount:a=o.forceMount,...n}=e,i=zs(Qn,e.__scopeMenu),l=nm(Qn,e.__scopeMenu);return w.jsx(Ap.Provider,{scope:e.__scopeMenu,children:w.jsx(Mi,{present:a||i.open,children:w.jsx(Ap.Slot,{scope:e.__scopeMenu,children:l.modal?w.jsx(gae,{...n,ref:t}):w.jsx(fae,{...n,ref:t})})})})}),gae=A.forwardRef((e,t)=>{const o=zs(Qn,e.__scopeMenu),a=A.useRef(null),n=sa(t,a);return A.useEffect(()=>{const i=a.current;if(i)return bB(i)},[]),w.jsx(O_,{...e,ref:n,trapFocus:o.open,disableOutsidePointerEvents:o.open,disableOutsideScroll:!0,onFocusOutside:mt(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>o.onOpenChange(!1)})}),fae=A.forwardRef((e,t)=>{const o=zs(Qn,e.__scopeMenu);return w.jsx(O_,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>o.onOpenChange(!1)})}),vae=Pp("MenuContent.ScrollLock"),O_=A.forwardRef((e,t)=>{const{__scopeMenu:o,loop:a=!1,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:l,disableOutsidePointerEvents:c,onEntryFocus:d,onEscapeKeyDown:p,onPointerDownOutside:m,onFocusOutside:h,onInteractOutside:f,onDismiss:v,disableOutsideScroll:b,...S}=e,_=zs(Qn,o),T=nm(Qn,o),x=am(o),E=EB(o),C=cae(o),[P,R]=A.useState(null),D=A.useRef(null),O=sa(t,D,_.onContentChange),L=A.useRef(0),q=A.useRef(""),B=A.useRef(0),U=A.useRef(null),F=A.useRef("right"),W=A.useRef(0),ae=b?E_:A.Fragment,H=b?{as:vae,allowPinchZoom:!0}:void 0,K=le=>{const Q=q.current+le,N=C().filter(pe=>!pe.disabled),G=document.activeElement,V=N.find(pe=>pe.ref.current===G)?.textValue,I=N.map(pe=>pe.textValue),z=Aae(I,Q,V),X=N.find(pe=>pe.textValue===z)?.ref.current;(function pe(he){q.current=he,window.clearTimeout(L.current),he!==""&&(L.current=window.setTimeout(()=>pe(""),1e3))})(Q),X&&setTimeout(()=>X.focus())};A.useEffect(()=>()=>window.clearTimeout(L.current),[]),BL();const J=A.useCallback(le=>F.current===U.current?.side&&Dae(le,U.current?.area),[]);return w.jsx(hae,{scope:o,searchRef:q,onItemEnter:A.useCallback(le=>{J(le)&&le.preventDefault()},[J]),onItemLeave:A.useCallback(le=>{J(le)||(D.current?.focus(),R(null))},[J]),onTriggerLeave:A.useCallback(le=>{J(le)&&le.preventDefault()},[J]),pointerGraceTimerRef:B,onPointerGraceIntentChange:A.useCallback(le=>{U.current=le},[]),children:w.jsx(ae,{...H,children:w.jsx(v_,{asChild:!0,trapped:n,onMountAutoFocus:mt(i,le=>{le.preventDefault(),D.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:w.jsx(f_,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:p,onPointerDownOutside:m,onFocusOutside:h,onInteractOutside:f,onDismiss:v,children:w.jsx(boe,{asChild:!0,...E,dir:T.dir,orientation:"vertical",loop:a,currentTabStopId:P,onCurrentTabStopIdChange:R,onEntryFocus:mt(d,le=>{T.isUsingKeyboardRef.current||le.preventDefault()}),preventScrollOnEntryFocus:!0,children:w.jsx(ooe,{role:"menu","aria-orientation":"vertical","data-state":ZB(_.open),"data-radix-menu-content":"",dir:T.dir,...x,...S,ref:O,style:{outline:"none",...S.style},onKeyDown:mt(S.onKeyDown,le=>{const N=le.target.closest("[data-radix-menu-content]")===le.currentTarget,G=le.ctrlKey||le.altKey||le.metaKey,V=le.key.length===1;N&&(le.key==="Tab"&&le.preventDefault(),!G&&V&&K(le.key));const I=D.current;if(le.target!==I||!iae.includes(le.key))return;le.preventDefault();const X=C().filter(pe=>!pe.disabled).map(pe=>pe.ref.current);CB.includes(le.key)&&X.reverse(),Pae(X)}),onBlur:mt(e.onBlur,le=>{le.currentTarget.contains(le.target)||(window.clearTimeout(L.current),q.current="")}),onPointerMove:mt(e.onPointerMove,Rp(le=>{const Q=le.target,N=W.current!==le.clientX;if(le.currentTarget.contains(Q)&&N){const G=le.clientX>W.current?"right":"left";F.current=G,W.current=le.clientX}}))})})})})})})});MB.displayName=Qn;var bae="MenuGroup",M_=A.forwardRef((e,t)=>{const{__scopeMenu:o,...a}=e;return w.jsx(Ro.div,{role:"group",...a,ref:t})});M_.displayName=bae;var yae="MenuLabel",NB=A.forwardRef((e,t)=>{const{__scopeMenu:o,...a}=e;return w.jsx(Ro.div,{...a,ref:t})});NB.displayName=yae;var Nf="MenuItem",WD="menu.itemSelect",Fv=A.forwardRef((e,t)=>{const{disabled:o=!1,onSelect:a,...n}=e,i=A.useRef(null),l=nm(Nf,e.__scopeMenu),c=D_(Nf,e.__scopeMenu),d=sa(t,i),p=A.useRef(!1),m=()=>{const h=i.current;if(!o&&h){const f=new CustomEvent(WD,{bubbles:!0,cancelable:!0});h.addEventListener(WD,v=>a?.(v),{once:!0}),OL(h,f),f.defaultPrevented?p.current=!1:l.onClose()}};return w.jsx(IB,{...n,ref:d,disabled:o,onClick:mt(e.onClick,m),onPointerDown:h=>{e.onPointerDown?.(h),p.current=!0},onPointerUp:mt(e.onPointerUp,h=>{p.current||h.currentTarget?.click()}),onKeyDown:mt(e.onKeyDown,h=>{const f=c.searchRef.current!=="";o||f&&h.key===" "||dT.includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})})});Fv.displayName=Nf;var IB=A.forwardRef((e,t)=>{const{__scopeMenu:o,disabled:a=!1,textValue:n,...i}=e,l=D_(Nf,o),c=EB(o),d=A.useRef(null),p=sa(t,d),[m,h]=A.useState(!1),[f,v]=A.useState("");return A.useEffect(()=>{const b=d.current;b&&v((b.textContent??"").trim())},[i.children]),w.jsx(Ap.ItemSlot,{scope:o,disabled:a,textValue:n??f,children:w.jsx(yoe,{asChild:!0,...c,focusable:!a,children:w.jsx(Ro.div,{role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":a||void 0,"data-disabled":a?"":void 0,...i,ref:p,onPointerMove:mt(e.onPointerMove,Rp(b=>{a?l.onItemLeave(b):(l.onItemEnter(b),b.defaultPrevented||b.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:mt(e.onPointerLeave,Rp(b=>l.onItemLeave(b))),onFocus:mt(e.onFocus,()=>h(!0)),onBlur:mt(e.onBlur,()=>h(!1))})})})}),Sae="MenuCheckboxItem",LB=A.forwardRef((e,t)=>{const{checked:o=!1,onCheckedChange:a,...n}=e;return w.jsx(UB,{scope:e.__scopeMenu,checked:o,children:w.jsx(Fv,{role:"menuitemcheckbox","aria-checked":If(o)?"mixed":o,...n,ref:t,"data-state":L_(o),onSelect:mt(n.onSelect,()=>a?.(If(o)?!0:!o),{checkForDefaultPrevented:!1})})})});LB.displayName=Sae;var BB="MenuRadioGroup",[wae,Tae]=jl(BB,{value:void 0,onValueChange:()=>{}}),FB=A.forwardRef((e,t)=>{const{value:o,onValueChange:a,...n}=e,i=Sr(a);return w.jsx(wae,{scope:e.__scopeMenu,value:o,onValueChange:i,children:w.jsx(M_,{...n,ref:t})})});FB.displayName=BB;var jB="MenuRadioItem",zB=A.forwardRef((e,t)=>{const{value:o,...a}=e,n=Tae(jB,e.__scopeMenu),i=o===n.value;return w.jsx(UB,{scope:e.__scopeMenu,checked:i,children:w.jsx(Fv,{role:"menuitemradio","aria-checked":i,...a,ref:t,"data-state":L_(i),onSelect:mt(a.onSelect,()=>n.onValueChange?.(o),{checkForDefaultPrevented:!1})})})});zB.displayName=jB;var N_="MenuItemIndicator",[UB,xae]=jl(N_,{checked:!1}),qB=A.forwardRef((e,t)=>{const{__scopeMenu:o,forceMount:a,...n}=e,i=xae(N_,o);return w.jsx(Mi,{present:a||If(i.checked)||i.checked===!0,children:w.jsx(Ro.span,{...n,ref:t,"data-state":L_(i.checked)})})});qB.displayName=N_;var _ae="MenuSeparator",$B=A.forwardRef((e,t)=>{const{__scopeMenu:o,...a}=e;return w.jsx(Ro.div,{role:"separator","aria-orientation":"horizontal",...a,ref:t})});$B.displayName=_ae;var kae="MenuArrow",VB=A.forwardRef((e,t)=>{const{__scopeMenu:o,...a}=e,n=am(o);return w.jsx(aoe,{...n,...a,ref:t})});VB.displayName=kae;var I_="MenuSub",[Cae,HB]=jl(I_),GB=e=>{const{__scopeMenu:t,children:o,open:a=!1,onOpenChange:n}=e,i=zs(I_,t),l=am(t),[c,d]=A.useState(null),[p,m]=A.useState(null),h=Sr(n);return A.useEffect(()=>(i.open===!1&&h(!1),()=>h(!1)),[i.open,h]),w.jsx(dB,{...l,children:w.jsx(AB,{scope:t,open:a,onOpenChange:h,content:p,onContentChange:m,children:w.jsx(Cae,{scope:t,contentId:As(),triggerId:As(),trigger:c,onTriggerChange:d,children:o})})})};GB.displayName=I_;var Ju="MenuSubTrigger",WB=A.forwardRef((e,t)=>{const o=zs(Ju,e.__scopeMenu),a=nm(Ju,e.__scopeMenu),n=HB(Ju,e.__scopeMenu),i=D_(Ju,e.__scopeMenu),l=A.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:d}=i,p={__scopeMenu:e.__scopeMenu},m=A.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return A.useEffect(()=>m,[m]),A.useEffect(()=>{const h=c.current;return()=>{window.clearTimeout(h),d(null)}},[c,d]),w.jsx(A_,{asChild:!0,...p,children:w.jsx(IB,{id:n.triggerId,"aria-haspopup":"menu","aria-expanded":o.open,"aria-controls":n.contentId,"data-state":ZB(o.open),...e,ref:Jp(t,n.onTriggerChange),onClick:h=>{e.onClick?.(h),!(e.disabled||h.defaultPrevented)&&(h.currentTarget.focus(),o.open||o.onOpenChange(!0))},onPointerMove:mt(e.onPointerMove,Rp(h=>{i.onItemEnter(h),!h.defaultPrevented&&!e.disabled&&!o.open&&!l.current&&(i.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{o.onOpenChange(!0),m()},100))})),onPointerLeave:mt(e.onPointerLeave,Rp(h=>{m();const f=o.content?.getBoundingClientRect();if(f){const v=o.content?.dataset.side,b=v==="right",S=b?-5:5,_=f[b?"left":"right"],T=f[b?"right":"left"];i.onPointerGraceIntentChange({area:[{x:h.clientX+S,y:h.clientY},{x:_,y:f.top},{x:T,y:f.top},{x:T,y:f.bottom},{x:_,y:f.bottom}],side:v}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(h),h.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:mt(e.onKeyDown,h=>{const f=i.searchRef.current!=="";e.disabled||f&&h.key===" "||sae[a.dir].includes(h.key)&&(o.onOpenChange(!0),o.content?.focus(),h.preventDefault())})})})});WB.displayName=Ju;var KB="MenuSubContent",YB=A.forwardRef((e,t)=>{const o=DB(Qn,e.__scopeMenu),{forceMount:a=o.forceMount,...n}=e,i=zs(Qn,e.__scopeMenu),l=nm(Qn,e.__scopeMenu),c=HB(KB,e.__scopeMenu),d=A.useRef(null),p=sa(t,d);return w.jsx(Ap.Provider,{scope:e.__scopeMenu,children:w.jsx(Mi,{present:a||i.open,children:w.jsx(Ap.Slot,{scope:e.__scopeMenu,children:w.jsx(O_,{id:c.contentId,"aria-labelledby":c.triggerId,...n,ref:p,align:"start",side:l.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:m=>{l.isUsingKeyboardRef.current&&d.current?.focus(),m.preventDefault()},onCloseAutoFocus:m=>m.preventDefault(),onFocusOutside:mt(e.onFocusOutside,m=>{m.target!==c.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:mt(e.onEscapeKeyDown,m=>{l.onClose(),m.preventDefault()}),onKeyDown:mt(e.onKeyDown,m=>{const h=m.currentTarget.contains(m.target),f=lae[l.dir].includes(m.key);h&&f&&(i.onOpenChange(!1),c.trigger?.focus(),m.preventDefault())})})})})})});YB.displayName=KB;function ZB(e){return e?"open":"closed"}function If(e){return e==="indeterminate"}function L_(e){return If(e)?"indeterminate":e?"checked":"unchecked"}function Pae(e){const t=document.activeElement;for(const o of e)if(o===t||(o.focus(),document.activeElement!==t))return}function Eae(e,t){return e.map((o,a)=>e[(t+a)%e.length])}function Aae(e,t,o){const n=t.length>1&&Array.from(t).every(p=>p===t[0])?t[0]:t,i=o?e.indexOf(o):-1;let l=Eae(e,Math.max(i,0));n.length===1&&(l=l.filter(p=>p!==o));const d=l.find(p=>p.toLowerCase().startsWith(n.toLowerCase()));return d!==o?d:void 0}function Rae(e,t){const{x:o,y:a}=e;let n=!1;for(let i=0,l=t.length-1;i<t.length;l=i++){const c=t[i],d=t[l],p=c.x,m=c.y,h=d.x,f=d.y;m>a!=f>a&&o<(h-p)*(a-m)/(f-m)+p&&(n=!n)}return n}function Dae(e,t){if(!t)return!1;const o={x:e.clientX,y:e.clientY};return Rae(o,t)}function Rp(e){return t=>t.pointerType==="mouse"?e(t):void 0}var Oae=RB,Mae=A_,Nae=OB,Iae=MB,Lae=M_,Bae=NB,Fae=Fv,jae=LB,zae=FB,Uae=zB,qae=qB,$ae=$B,Vae=VB,Hae=GB,Gae=WB,Wae=YB,jv="DropdownMenu",[Kae]=Fl(jv,[PB]),ja=PB(),[Yae,QB]=Kae(jv),JB=e=>{const{__scopeDropdownMenu:t,children:o,dir:a,open:n,defaultOpen:i,onOpenChange:l,modal:c=!0}=e,d=ja(t),p=A.useRef(null),[m,h]=Xp({prop:n,defaultProp:i??!1,onChange:l,caller:jv});return w.jsx(Yae,{scope:t,triggerId:As(),triggerRef:p,contentId:As(),open:m,onOpenChange:h,onOpenToggle:A.useCallback(()=>h(f=>!f),[h]),modal:c,children:w.jsx(Oae,{...d,open:m,onOpenChange:h,dir:a,modal:c,children:o})})};JB.displayName=jv;var XB="DropdownMenuTrigger",eF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,disabled:a=!1,...n}=e,i=QB(XB,o),l=ja(o);return w.jsx(Mae,{asChild:!0,...l,children:w.jsx(Ro.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":a?"":void 0,disabled:a,...n,ref:Jp(t,i.triggerRef),onPointerDown:mt(e.onPointerDown,c=>{!a&&c.button===0&&c.ctrlKey===!1&&(i.onOpenToggle(),i.open||c.preventDefault())}),onKeyDown:mt(e.onKeyDown,c=>{a||(["Enter"," "].includes(c.key)&&i.onOpenToggle(),c.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(c.key)&&c.preventDefault())})})})});eF.displayName=XB;var Zae="DropdownMenuPortal",tF=e=>{const{__scopeDropdownMenu:t,...o}=e,a=ja(t);return w.jsx(Nae,{...a,...o})};tF.displayName=Zae;var oF="DropdownMenuContent",aF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=QB(oF,o),i=ja(o),l=A.useRef(!1);return w.jsx(Iae,{id:n.contentId,"aria-labelledby":n.triggerId,...i,...a,ref:t,onCloseAutoFocus:mt(e.onCloseAutoFocus,c=>{l.current||n.triggerRef.current?.focus(),l.current=!1,c.preventDefault()}),onInteractOutside:mt(e.onInteractOutside,c=>{const d=c.detail.originalEvent,p=d.button===0&&d.ctrlKey===!0,m=d.button===2||p;(!n.modal||m)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});aF.displayName=oF;var Qae="DropdownMenuGroup",Jae=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(Lae,{...n,...a,ref:t})});Jae.displayName=Qae;var Xae="DropdownMenuLabel",nF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(Bae,{...n,...a,ref:t})});nF.displayName=Xae;var ene="DropdownMenuItem",rF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(Fae,{...n,...a,ref:t})});rF.displayName=ene;var tne="DropdownMenuCheckboxItem",iF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(jae,{...n,...a,ref:t})});iF.displayName=tne;var one="DropdownMenuRadioGroup",sF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(zae,{...n,...a,ref:t})});sF.displayName=one;var ane="DropdownMenuRadioItem",lF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(Uae,{...n,...a,ref:t})});lF.displayName=ane;var nne="DropdownMenuItemIndicator",cF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(qae,{...n,...a,ref:t})});cF.displayName=nne;var rne="DropdownMenuSeparator",dF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx($ae,{...n,...a,ref:t})});dF.displayName=rne;var ine="DropdownMenuArrow",sne=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(Vae,{...n,...a,ref:t})});sne.displayName=ine;var lne=e=>{const{__scopeDropdownMenu:t,children:o,open:a,onOpenChange:n,defaultOpen:i}=e,l=ja(t),[c,d]=Xp({prop:a,defaultProp:i??!1,onChange:n,caller:"DropdownMenuSub"});return w.jsx(Hae,{...l,open:c,onOpenChange:d,children:o})},cne="DropdownMenuSubTrigger",uF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(Gae,{...n,...a,ref:t})});uF.displayName=cne;var dne="DropdownMenuSubContent",pF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(Wae,{...n,...a,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});pF.displayName=dne;var mF=JB,hF=eF,gF=tF,fF=aF,une=nF,vF=rF,pne=iF,mne=sF,hne=lF,bF=cF,gne=dF,fne=lne,vne=uF,bne=pF;const B_=({size:e=24,color:t="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M12 9v4m0 4h.01M10.615 3.892 2.39 18.098c-.456.788-.684 1.182-.65 1.506a1 1 0 0 0 .406.705c.263.191.718.191 1.629.191h16.45c.91 0 1.365 0 1.628-.191a1 1 0 0 0 .407-.705c.034-.324-.195-.718-.65-1.506L13.383 3.892c-.454-.785-.681-1.178-.978-1.31a1 1 0 0 0-.813 0c-.296.132-.523.525-.978 1.31Z"}));B_.displayName="AlertTriangle";const yF=({size:e=24,color:t="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M4 7.997a2.295 2.295 0 0 1-.39-.035A2 2 0 0 1 2.038 6.39C2 6.197 2 5.965 2 5.5s0-.697.038-.89A2 2 0 0 1 3.61 3.038C3.803 3 4.035 3 4.5 3h15c.465 0 .697 0 .89.038a2 2 0 0 1 1.572 1.572c.038.193.038.425.038.89s0 .697-.038.89a2 2 0 0 1-1.572 1.572c-.107.02-.226.03-.39.035M10 13h4M4 8h16v8.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C17.72 21 16.88 21 15.2 21H8.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C4 18.72 4 17.88 4 16.2V8Z"}));yF.displayName="Archive";const SF=({size:e=24,color:t="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M7 17 17 7m0 0H7m10 0v10"}));SF.displayName="ArrowUpRight";const wF=({size:e=24,color:t="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M20 6 9 17l-5-5"}));wF.displayName="Check";const F_=({size:e=24,color:t="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"m9 18 6-6-6-6"}));F_.displayName="ChevronRight";const TF=({size:e=24,color:t="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z"}));TF.displayName="Circle";const xF=({size:e=24,color:t="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M9 2v2m6-2v2M9 20v2m6-2v2m5-13h2m-2 5h2M2 9h2m-2 5h2m4.8 6h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 17.72 20 16.88 20 15.2V8.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 4 16.88 4 15.2 4H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 6.28 4 7.12 4 8.8v6.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 20 7.12 20 8.8 20Zm1.8-5h2.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C15 14.24 15 13.96 15 13.4v-2.8c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C14.24 9 13.96 9 13.4 9h-2.8c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C9 9.76 9 10.04 9 10.6v2.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C9.76 15 10.04 15 10.6 15Z"}));xF.displayName="CpuChip01";const _F=({size:e=24,color:t="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M12 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm7 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM5 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}));_F.displayName="DotsHorizontal";const kF=({size:e=24,color:t="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M3 3v10.2c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 18 6.12 18 7.8 18H15m0 0a3 3 0 1 0 6 0 3 3 0 0 0-6 0ZM3 8h12m0 0a3 3 0 1 0 6 0 3 3 0 0 0-6 0Z"}));kF.displayName="GitBranch01";const CF=({size:e=24,color:t="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M2.5 12h19M6 16h4M8.967 4h6.066c1.077 0 1.616 0 2.091.164a3 3 0 0 1 1.121.693c.36.352.6.833 1.082 1.796l2.166 4.333c.19.378.284.567.35.765.06.177.102.357.128.541.029.207.029.418.029.841V15.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 20 18.88 20 17.2 20H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 17.72 2 16.88 2 15.2v-2.067c0-.422 0-.634.029-.84.026-.184.068-.365.128-.541.066-.199.16-.388.35-.766l2.166-4.333c.482-.963.723-1.444 1.082-1.796a3 3 0 0 1 1.12-.693C7.352 4 7.89 4 8.968 4Z"}));CF.displayName="HardDrive";const PF=({size:e=24,color:t="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M21 9V3m0 0h-6m6 0-8 8m-3-6H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 7.28 3 8.12 3 9.8v6.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 21 6.12 21 7.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C19 18.72 19 17.88 19 16.2V14"}));PF.displayName="LinkExternal01";const EF=({size:e=24,color:t="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M17 10V8A5 5 0 0 0 7 8v2m5 4.5v2M8.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 18.72 20 17.88 20 16.2v-1.4c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 10 16.88 10 15.2 10H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 12.28 4 13.12 4 14.8v1.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 21 7.12 21 8.8 21Z"}));EF.displayName="Lock01";const AF=({size:e=24,color:t="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M21 10s-2.005-2.732-3.634-4.362a9 9 0 1 0 2.282 8.862M21 10V4m0 6h-6"}));AF.displayName="RefreshCw01";const RF=({size:e=24,color:t="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M6 6h.01M6 18h.01m-.81-8h13.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C22 8.48 22 7.92 22 6.8V5.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C20.48 2 19.92 2 18.8 2H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 3.52 2 4.08 2 5.2v1.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 10 4.08 10 5.2 10Zm0 12h13.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C22 20.48 22 19.92 22 18.8v-1.6c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C20.48 14 19.92 14 18.8 14H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 15.52 2 16.08 2 17.2v1.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 22 4.08 22 5.2 22Z"}));RF.displayName="Server01";const DF=({size:e=24,color:t="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M11.302 21.615c.221.129.332.194.488.227.122.026.298.026.42 0 .156-.034.267-.098.488-.227C14.646 20.478 20 16.908 20 12V7.217c0-.799 0-1.199-.13-1.542a2 2 0 0 0-.548-.79c-.275-.243-.65-.383-1.398-.664l-5.362-2.01c-.208-.078-.312-.117-.419-.133a1 1 0 0 0-.286 0c-.107.016-.21.055-.419.133L6.076 4.22c-.748.28-1.122.421-1.398.664a2 2 0 0 0-.547.79C4 6.018 4 6.418 4 7.217V12c0 4.908 5.354 8.478 7.302 9.615Z"}));DF.displayName="Shield01";const OF=({size:e=24,color:t="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M18 15.837c1.456.731 2.704 1.905 3.615 3.373.18.29.27.436.302.637.063.409-.216.912-.597 1.073-.188.08-.398.08-.82.08M16 11.532a4.5 4.5 0 0 0 0-8.064M14 7.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM2.56 18.938C4.153 16.545 6.67 15 9.5 15s5.346 1.545 6.94 3.938c.35.525.525.787.505 1.122-.016.26-.187.58-.396.738-.267.202-.635.202-1.371.202H3.822c-.736 0-1.104 0-1.372-.202a1.109 1.109 0 0 1-.395-.738c-.02-.335.155-.597.504-1.122Z"}));OF.displayName="Users03";const MF=({size:e=24,color:t="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M17 7 7 17M7 7l10 10"}));MF.displayName="X";function yne(e){const t=Re.c(4);let o;t[0]!==e?({...o}=e,t[0]=e,t[1]=o):o=t[1];let a;return t[2]!==o?(a=w.jsx(mF,{"data-slot":"dropdown-menu",...o}),t[2]=o,t[3]=a):a=t[3],a}function Sne(e){const t=Re.c(4);let o;t[0]!==e?({...o}=e,t[0]=e,t[1]=o):o=t[1];let a;return t[2]!==o?(a=w.jsx(hF,{"data-slot":"dropdown-menu-trigger",...o}),t[2]=o,t[3]=a):a=t[3],a}function wne(e){const t=Re.c(10);let o,a,n;t[0]!==e?({className:o,sideOffset:n,...a}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n):(o=t[1],a=t[2],n=t[3]);const i=n===void 0?4:n;let l;t[4]!==o?(l=gt("notranslate bg-popover 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 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg border p-1 shadow-md",o),t[4]=o,t[5]=l):l=t[5];let c;return t[6]!==a||t[7]!==i||t[8]!==l?(c=w.jsx(gF,{children:w.jsx(fF,{"data-slot":"dropdown-menu-content",sideOffset:i,translate:"no",className:l,...a})}),t[6]=a,t[7]=i,t[8]=l,t[9]=c):c=t[9],c}function Tne(e){const t=Re.c(12);let o,a,n,i;t[0]!==e?({className:o,inset:a,variant:i,...n}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i):(o=t[1],a=t[2],n=t[3],i=t[4]);const l=i===void 0?"default":i;let c;t[5]!==o?(c=gt("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-pointer items-center gap-2 rounded-lg px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",o),t[5]=o,t[6]=c):c=t[6];let d;return t[7]!==a||t[8]!==n||t[9]!==c||t[10]!==l?(d=w.jsx(vF,{"data-slot":"dropdown-menu-item","data-inset":a,"data-variant":l,className:c,...n}),t[7]=a,t[8]=n,t[9]=c,t[10]=l,t[11]=d):d=t[11],d}function Bve(e){const t=Re.c(13);let o,a,n,i;t[0]!==e?({className:n,children:a,checked:o,...i}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i):(o=t[1],a=t[2],n=t[3],i=t[4]);let l;t[5]!==n?(l=gt("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-lg py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",n),t[5]=n,t[6]=l):l=t[6];let c;t[7]===Symbol.for("react.memo_cache_sentinel")?(c=w.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:w.jsx(bF,{children:w.jsx(wF,{className:"size-4"})})}),t[7]=c):c=t[7];let d;return t[8]!==o||t[9]!==a||t[10]!==i||t[11]!==l?(d=w.jsxs(pne,{"data-slot":"dropdown-menu-checkbox-item",className:l,checked:o,...i,children:[c,a]}),t[8]=o,t[9]=a,t[10]=i,t[11]=l,t[12]=d):d=t[12],d}function Fve(e){const t=Re.c(4);let o;t[0]!==e?({...o}=e,t[0]=e,t[1]=o):o=t[1];let a;return t[2]!==o?(a=w.jsx(mne,{"data-slot":"dropdown-menu-radio-group",...o}),t[2]=o,t[3]=a):a=t[3],a}function jve(e){const t=Re.c(11);let o,a,n;t[0]!==e?({className:a,children:o,...n}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n):(o=t[1],a=t[2],n=t[3]);let i;t[4]!==a?(i=gt("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-lg py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",a),t[4]=a,t[5]=i):i=t[5];let l;t[6]===Symbol.for("react.memo_cache_sentinel")?(l=w.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:w.jsx(bF,{children:w.jsx(TF,{className:"size-2 fill-current"})})}),t[6]=l):l=t[6];let c;return t[7]!==o||t[8]!==n||t[9]!==i?(c=w.jsxs(hne,{"data-slot":"dropdown-menu-radio-item",className:i,...n,children:[l,o]}),t[7]=o,t[8]=n,t[9]=i,t[10]=c):c=t[10],c}function zve(e){const t=Re.c(10);let o,a,n;t[0]!==e?({className:o,inset:a,...n}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n):(o=t[1],a=t[2],n=t[3]);let i;t[4]!==o?(i=gt("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",o),t[4]=o,t[5]=i):i=t[5];let l;return t[6]!==a||t[7]!==n||t[8]!==i?(l=w.jsx(une,{"data-slot":"dropdown-menu-label","data-inset":a,className:i,...n}),t[6]=a,t[7]=n,t[8]=i,t[9]=l):l=t[9],l}function Uve(e){const t=Re.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=gt("bg-border -mx-1 my-1 h-px",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx(gne,{"data-slot":"dropdown-menu-separator",className:n,...a}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function qve(e){const t=Re.c(4);let o;t[0]!==e?({...o}=e,t[0]=e,t[1]=o):o=t[1];let a;return t[2]!==o?(a=w.jsx(fne,{"data-slot":"dropdown-menu-sub",...o}),t[2]=o,t[3]=a):a=t[3],a}function $ve(e){const t=Re.c(13);let o,a,n,i;t[0]!==e?({className:a,inset:n,children:o,...i}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i):(o=t[1],a=t[2],n=t[3],i=t[4]);let l;t[5]!==a?(l=gt("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground flex cursor-default items-center gap-2 rounded-lg px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",a),t[5]=a,t[6]=l):l=t[6];let c;t[7]===Symbol.for("react.memo_cache_sentinel")?(c=w.jsx(F_,{className:"ml-auto size-4"}),t[7]=c):c=t[7];let d;return t[8]!==o||t[9]!==n||t[10]!==i||t[11]!==l?(d=w.jsxs(vne,{"data-slot":"dropdown-menu-sub-trigger","data-inset":n,className:l,...i,children:[o,c]}),t[8]=o,t[9]=n,t[10]=i,t[11]=l,t[12]=d):d=t[12],d}function Vve(e){const t=Re.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=gt("notranslate bg-popover 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 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx(bne,{"data-slot":"dropdown-menu-sub-content",translate:"no",className:n,...a}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function xne(){const e=Re.c(3),[t,o]=A.useState(-1);let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=l=>{if(!l)return;const c=()=>o(l.clientWidth);c();const d=new ResizeObserver(c);return d.observe(l),()=>d.disconnect()},e[0]=a):a=e[0];const n=a;let i;return e[1]!==t?(i=[t,n],e[1]=t,e[2]=i):i=e[2],i}function _ne(){let e=new Map;const t=new Set,o=()=>t.forEach(a=>a());return{getSnapshot:()=>e,subscribe(a){return t.add(a),()=>{t.delete(a)}},register(a){if(e.has(a.after))throw new Error(`Two components extend breadcrumb: ${a.after}`);return e=new Map(e).set(a.after,a),o(),()=>{if(e.get(a.after)!==a)return;const n=new Map(e);n.delete(a.after),e=n,o()}}}}const NF=A.createContext(null);function kne(e){const t=Re.c(3),{children:o}=e,[a]=A.useState(_ne);let n;return t[0]!==o||t[1]!==a?(n=w.jsx(NF,{value:a,children:o}),t[0]=o,t[1]=a,t[2]=n):n=t[2],n}function zv(){return A.use(NF)}function IF(e){const t=Re.c(3),o=zv();if(!o)throw new Error("Breadcrumb contributions require Page.Breadcrumbs.Provider");let a;return t[0]!==e||t[1]!==o?(a=w.jsx("span",{hidden:!0,ref:n=>n?o.register(e):void 0}),t[0]=e,t[1]=o,t[2]=a):a=t[2],a}function Cne(e,t){const o=new Set,a=n=>{if(o.has(n.key))throw new Error(`Duplicate breadcrumb key: ${n.key}`);o.add(n.key);const i=t.get(n.key);return[{...n,...i?.parent},...i?.items?.flatMap(a)??[]]};return e.flatMap(a)}function Pne(e,t){const o=e.map(a=>a.label).filter(a=>typeof a=="string").reverse();return t&&o.push(t),o.map(a=>a.trim()).filter(Boolean).join(" · ")}const LF=5;function Ene(e,t=!1,o=LF){const a=e.map(l=>({type:"item",item:l}));if(e.length<=(t?1:o))return a;const n=t?0:1,i=e.length-(t?1:2);return a.splice(n,i-n,{type:"menu",items:e.slice(n,i)}),a}const BF=x8(function(t){return w.jsx("a",{...t,"aria-current":void 0})});function Ane(e){const t=Re.c(12),{items:o}=e,a=ar();let n;t[0]!==a?(n=a("page.breadcrumbMenu"),t[0]=a,t[1]=n):n=t[1];let i;t[2]===Symbol.for("react.memo_cache_sentinel")?(i=w.jsx(_F,{"aria-hidden":"true",className:"size-4"}),t[2]=i):i=t[2];let l;t[3]!==n?(l=w.jsx(Sne,{asChild:!0,children:w.jsx(Ai,{variant:"ghost",size:"icon-sm",className:"size-6 shrink-0","aria-label":n,children:i})}),t[3]=n,t[4]=l):l=t[4];let c;t[5]!==o?(c=o.map(Rne),t[5]=o,t[6]=c):c=t[6];let d;t[7]!==c?(d=w.jsx(wne,{align:"start",children:c}),t[7]=c,t[8]=d):d=t[8];let p;return t[9]!==l||t[10]!==d?(p=w.jsxs(yne,{children:[l,d]}),t[9]=l,t[10]=d,t[11]=p):p=t[11],p}function Rne(e){const t=w.jsx("span",{className:"max-w-64 truncate",title:typeof e.label=="string"?e.label:void 0,children:e.label});return w.jsx(Tne,{asChild:!!e.link&&!e.onSelect,onSelect:e.onSelect,disabled:!e.onSelect&&!e.link,children:e.link&&!e.onSelect?w.jsx(BF,{...e.link,children:t}):t},e.key)}function Dne(e){const t=Re.c(14),{item:o,current:a}=e,n=typeof o.label=="string"?o.label:void 0;if(a){let l;return t[0]!==o.label||t[1]!==n?(l=w.jsx("h1",{"data-slot":"page-title","aria-current":"page",title:n,className:"truncate text-sm font-medium text-foreground",children:o.label}),t[0]=o.label,t[1]=n,t[2]=l):l=t[2],l}if(o.onSelect){let l;return t[3]!==o.label||t[4]!==o.onSelect||t[5]!==n?(l=w.jsx("button",{type:"button",onClick:o.onSelect,title:n,className:"block max-w-40 truncate rounded-lg hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:o.label}),t[3]=o.label,t[4]=o.onSelect,t[5]=n,t[6]=l):l=t[6],l}if(o.link){let l;return t[7]!==o.label||t[8]!==o.link||t[9]!==n?(l=w.jsx(BF,{...o.link,title:n,className:"block max-w-40 truncate rounded-lg hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:o.label}),t[7]=o.label,t[8]=o.link,t[9]=n,t[10]=l):l=t[10],l}let i;return t[11]!==o.label||t[12]!==n?(i=w.jsx("span",{title:n,className:"block max-w-40 truncate",children:o.label}),t[11]=o.label,t[12]=n,t[13]=i):i=t[13],i}function FF(e){const t=Re.c(21),{items:o}=e,a=ar(),[n,i]=xne();let l,c,d,p,m,h;if(t[0]!==o||t[1]!==i||t[2]!==a||t[3]!==n){const b=Ene(o,n>=0&&n<320,LF);p=i,t[10]!==a?(m=a("page.breadcrumbs"),t[10]=a,t[11]=m):m=t[11],h="min-w-0 flex-1",l="page-breadcrumbs",c="flex min-w-0 items-center gap-2 text-sm text-muted-foreground",d=b.map((S,_)=>w.jsxs("li",{className:gt("flex min-w-0 items-center gap-2",_>0&&"min-w-5",S.type==="item"?"last:min-w-16 last:flex-[1_1_auto]":"shrink-0"),children:[_>0&&w.jsx(F_,{"aria-hidden":"true",className:"size-3 shrink-0 text-muted-foreground/60"}),S.type==="item"?w.jsx(Dne,{item:S.item,current:_===b.length-1}):w.jsx(Ane,{items:S.items})]},S.type==="item"?`item:${S.item.key}`:"menu")),t[0]=o,t[1]=i,t[2]=a,t[3]=n,t[4]=l,t[5]=c,t[6]=d,t[7]=p,t[8]=m,t[9]=h}else l=t[4],c=t[5],d=t[6],p=t[7],m=t[8],h=t[9];let f;t[12]!==l||t[13]!==c||t[14]!==d?(f=w.jsx("ol",{"data-slot":l,className:c,children:d}),t[12]=l,t[13]=c,t[14]=d,t[15]=f):f=t[15];let v;return t[16]!==p||t[17]!==m||t[18]!==h||t[19]!==f?(v=w.jsx("nav",{ref:p,"aria-label":m,className:h,children:f}),t[16]=p,t[17]=m,t[18]=h,t[19]=f,t[20]=v):v=t[20],v}function One(e){const t=Re.c(12),{items:o,scope:a}=e,n=zv();if(!n)throw new Error("Page.Header requires Page.Breadcrumbs.Provider");const i=A.useSyncExternalStore(n.subscribe,n.getSnapshot,n.getSnapshot);let l,c;t[0]!==i||t[1]!==o||t[2]!==a?(l=Cne(o,i),c=Pne(l,a),t[0]=i,t[1]=o,t[2]=a,t[3]=l,t[4]=c):(l=t[3],c=t[4]);const d=c;let p;t[5]!==d?(p=d&&w.jsx("title",{children:d}),t[5]=d,t[6]=p):p=t[6];let m;t[7]!==l?(m=w.jsx(FF,{items:l}),t[7]=l,t[8]=m):m=t[8];let h;return t[9]!==p||t[10]!==m?(h=w.jsxs(w.Fragment,{children:[p,m]}),t[9]=p,t[10]=m,t[11]=h):h=t[11],h}function Mne(e){const t=Re.c(3),o=zv();let a;return t[0]!==e||t[1]!==o?(a=o?w.jsx(IF,{...e}):w.jsx("div",{className:"min-w-0 shrink-0 border-b px-3 py-2",children:w.jsx(FF,{items:e.items??[]})}),t[0]=e,t[1]=o,t[2]=a):a=t[2],a}const Nne=Object.assign(Mne,{Provider:kne});function Ine(e){const t=Re.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=gt("flex h-full min-h-0 min-w-0 w-full flex-col overflow-hidden",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx("div",{...a,"data-slot":"page",className:n}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function Lne(e){const t=Re.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=gt("min-h-0 min-w-0 flex-1 overflow-auto",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx("div",{...a,"data-slot":"page-content",className:n}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}const Bne={reading:"max-w-[720px]",standard:"max-w-5xl",wide:"max-w-[1200px]",fluid:"max-w-none"};function Fne(e){const t=Re.c(11);let o,a,n;t[0]!==e?({className:o,width:n,...a}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n):(o=t[1],a=t[2],n=t[3]);const i=n===void 0?"wide":n,l=Bne[i];let c;t[4]!==o||t[5]!==l?(c=gt("mx-auto w-full px-4 py-6 md:px-8 md:py-8",l,o),t[4]=o,t[5]=l,t[6]=c):c=t[6];let d;return t[7]!==a||t[8]!==c||t[9]!==i?(d=w.jsx("div",{...a,"data-slot":"page-container","data-width":i,className:c}),t[7]=a,t[8]=c,t[9]=i,t[10]=d):d=t[10],d}function jne(e){const t=Re.c(9),{children:o,actions:a,className:n}=e,i=zv();let l;t[0]!==o||t[1]!==n||t[2]!==i?(l=i?w.jsx(IF,{after:"page",parent:{label:o}}):w.jsx("div",{"data-slot":"page-title",className:gt("flex flex-wrap items-center justify-between gap-3",n),children:w.jsx("h1",{className:"min-w-0 text-xl font-medium",children:o})}),t[0]=o,t[1]=n,t[2]=i,t[3]=l):l=t[3];let c;t[4]!==a?(c=a&&w.jsx(jF,{children:a}),t[4]=a,t[5]=c):c=t[5];let d;return t[6]!==l||t[7]!==c?(d=w.jsxs(w.Fragment,{children:[l,c]}),t[6]=l,t[7]=c,t[8]=d):d=t[8],d}function jF(e){const t=Re.c(3),{children:o,secondary:a}=e;let n;if(t[0]!==o||t[1]!==a){const i=w.jsxs("div",{"data-slot":"page-actions",className:"flex shrink-0 items-center gap-2",children:[a,o]});n=w.jsx(rn.Topbar.Right.Portal,{fallback:i,children:i}),t[0]=o,t[1]=a,t[2]=n}else n=t[2];return n}function zne(e){const t=Re.c(28),{breadcrumbs:o,scope:a,leading:n,actions:i,navigation:l,trailingActions:c}=e;let d;t[0]!==o||t[1]!==a?(d=w.jsx(One,{items:o,scope:a}),t[0]=o,t[1]=a,t[2]=d):d=t[2];let p;t[3]===Symbol.for("react.memo_cache_sentinel")?(p=w.jsx(rn.Topbar.Left.Target,{}),t[3]=p):p=t[3];let m;t[4]!==n||t[5]!==d?(m=w.jsxs(rn.Topbar.Left,{className:"flex-1 gap-2",children:[n,d,p]}),t[4]=n,t[5]=d,t[6]=m):m=t[6];let h;t[7]!==i?(h=w.jsx("div",{className:"peer flex min-w-0 items-center gap-2 empty:hidden",children:i}),t[7]=i,t[8]=h):h=t[8];let f;t[9]===Symbol.for("react.memo_cache_sentinel")?(f=w.jsx(rn.Topbar.Right.Target,{className:"flex items-center gap-2 before:hidden before:h-4 before:w-px before:shrink-0 before:bg-border peer-[:not(:empty)]:before:block"}),t[9]=f):f=t[9];let v;t[10]!==h||t[11]!==c?(v=w.jsxs(rn.Topbar.Right,{className:"shrink-0 gap-2",children:[h,f,c]}),t[10]=h,t[11]=c,t[12]=v):v=t[12];let b;t[13]!==m||t[14]!==v?(b=w.jsxs(rn.Topbar,{className:"gap-3 border-b border-border/60 px-3","data-testid":"page-header",children:[m,v]}),t[13]=m,t[14]=v,t[15]=b):b=t[15];let S;t[16]!==l?(S=w.jsx("div",{"data-toolbar-content":"",className:"min-w-0 empty:hidden",children:l}),t[16]=l,t[17]=S):S=t[17];let _;t[18]===Symbol.for("react.memo_cache_sentinel")?(_=w.jsx(rn.Toolbar.Left.Target,{}),t[18]=_):_=t[18];let T;t[19]!==S?(T=w.jsxs(rn.Toolbar.Left,{children:[S,_]}),t[19]=S,t[20]=T):T=t[20];let x;t[21]===Symbol.for("react.memo_cache_sentinel")?(x=w.jsx(rn.Toolbar.Center,{className:"@max-xl/panel-toolbar:order-last @max-xl/panel-toolbar:basis-full [&:not(:has([data-toolbar-content]:not(:empty)))]:hidden",children:w.jsx(rn.Toolbar.Center.Target,{})}),t[21]=x):x=t[21];let E;t[22]===Symbol.for("react.memo_cache_sentinel")?(E=w.jsx(rn.Toolbar.Right,{children:w.jsx(rn.Toolbar.Right.Target,{})}),t[22]=E):E=t[22];let C;t[23]!==T?(C=w.jsxs(rn.Toolbar,{children:[T,x,E]}),t[23]=T,t[24]=C):C=t[24];let P;return t[25]!==C||t[26]!==b?(P=w.jsxs(w.Fragment,{children:[b,C]}),t[25]=C,t[26]=b,t[27]=P):P=t[27],P}function Une(e){const t=Re.c(11);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);const n=ar();let i;t[3]!==n?(i=n("page.views"),t[3]=n,t[4]=i):i=t[4];let l;t[5]!==o?(l=gt("-m-2 flex min-w-0 items-center gap-1 overflow-x-auto p-2 no-scrollbar",o),t[5]=o,t[6]=l):l=t[6];let c;return t[7]!==a||t[8]!==i||t[9]!==l?(c=w.jsx("nav",{"aria-label":i,...a,"data-slot":"page-tabs",className:l}),t[7]=a,t[8]=i,t[9]=l,t[10]=c):c=t[10],c}function qne(e){const t=Re.c(14);let o,a,n,i;t[0]!==e?({active:o,asChild:i,className:a,...n}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i):(o=t[1],a=t[2],n=t[3],i=t[4]);const l=i===void 0?!1:i,c=l?void 0:"button",d=l&&o?"page":void 0,p=l?void 0:o;let m;t[5]!==a?(m=gt("shrink-0",a),t[5]=a,t[6]=m):m=t[6];let h;return t[7]!==l||t[8]!==n||t[9]!==c||t[10]!==d||t[11]!==p||t[12]!==m?(h=w.jsx(Ai,{asChild:l,variant:"tab",size:"sm",...n,type:c,"aria-current":d,"aria-pressed":p,"data-slot":"page-tab",className:m}),t[7]=l,t[8]=n,t[9]=c,t[10]=d,t[11]=p,t[12]=m,t[13]=h):h=t[13],h}const sd=Object.assign(Ine,{Header:zne,Tabs:Une,Tab:qne,Actions:jF,Content:Lne,Container:Fne,Title:jne,Breadcrumbs:Nne});var ge=typeof window<"u"?window:void 0,ia=typeof globalThis<"u"?globalThis:ge;typeof self>"u"&&(ia.self=ia),typeof File>"u"&&(ia.File=function(){});var Pn=ia?.navigator,ze=ia?.document,wa=ia?.location,uT=ia?.fetch,pT=ia!=null&&ia.XMLHttpRequest&&"withCredentials"in new ia.XMLHttpRequest?ia.XMLHttpRequest:void 0,KD=ia?.AbortController,$ne=ia?.CompressionStream,sn=Pn?.userAgent,et=ge??{},YD="1.372.3",Ga={DEBUG:!1,LIB_VERSION:YD,LIB_NAME:"web",JS_SDK_VERSION:YD};function ZD(e,t,o,a,n,i,l){try{var c=e[i](l),d=c.value}catch(p){return void o(p)}c.done?t(d):Promise.resolve(d).then(a,n)}function Kn(e){return function(){var t=this,o=arguments;return new Promise((function(a,n){var i=e.apply(t,o);function l(d){ZD(i,a,n,l,c,"next",d)}function c(d){ZD(i,a,n,l,c,"throw",d)}l(void 0)}))}}function Ne(){return Ne=Object.assign?Object.assign.bind():function(e){for(var t=1;arguments.length>t;t++){var o=arguments[t];for(var a in o)({}).hasOwnProperty.call(o,a)&&(e[a]=o[a])}return e},Ne.apply(null,arguments)}function zF(e,t){if(e==null)return{};var o={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;o[a]=e[a]}return o}function mT(){return mT=Kn((function*(e,t,o){t===void 0&&(t=!0);try{var a=new CompressionStream("gzip"),n=a.writable.getWriter(),i=n.write(new TextEncoder().encode(e)).then((()=>n.close())).catch((function(){var d=Kn((function*(p){try{yield n.abort(p)}catch{}throw p}));return function(p){return d.apply(this,arguments)}})()),l=new Response(a.readable).blob(),[c]=yield Promise.all([l,i]);return c}catch(d){if(o!=null&&o.rethrow)throw d;return t&&console.error("Failed to gzip compress data",d),null}})),mT.apply(this,arguments)}var Vne=["amazonbot","amazonproductbot","app.hypefactors.com","applebot","archive.org_bot","awariobot","backlinksextendedbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","dataforseobot","deepscan","duckduckbot","facebookexternal","facebookcatalog","http://yandex.com/bots","hubspot","ia_archiver","leikibot","linkedinbot","meta-externalagent","mj12bot","msnbot","nessus","petalbot","pinterest","prerender","rogerbot","screaming frog","sebot-wa","sitebulb","slackbot","slurp","trendictionbot","turnitin","twitterbot","vercel-screenshot","vercelbot","yahoo! slurp","yandexbot","zoombot","bot.htm","bot.php","(bot;","bot/","crawler","ahrefsbot","ahrefssiteaudit","semrushbot","siteauditbot","splitsignalbot","gptbot","oai-searchbot","chatgpt-user","perplexitybot","better uptime bot","sentryuptimebot","uptimerobot","headlesschrome","cypress","google-hoteladsverifier","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleother","google-cloudvertexbot","googleweblight","mediapartners-google","storebot-google","google-inspectiontool","bytespider"],QD=function(e,t){if(t===void 0&&(t=[]),!e)return!1;var o=e.toLowerCase();return Vne.concat(t).some((a=>{var n=a.toLowerCase();return o.indexOf(n)!==-1}))},Hne=["$snapshot","$pageview","$pageleave","$set","survey dismissed","survey sent","survey shown","$identify","$groupidentify","$create_alias","$$client_ingestion_warning","$web_experiment_applied","$feature_enrollment_update","$feature_flag_called"];function kt(e,t){return e.indexOf(t)!==-1}var Uv=function(e){return e.trim()},hT=function(e){return e.replace(/^\$/,"")},UF=Object.prototype,qF=UF.hasOwnProperty,qv=UF.toString,It=Array.isArray||function(e){return qv.call(e)==="[object Array]"},xi=e=>typeof e=="function",Bo=e=>e===Object(e)&&!It(e),Xc=e=>{if(Bo(e)){for(var t in e)if(qF.call(e,t))return!1;return!0}return!1},$e=e=>e===void 0,Co=e=>qv.call(e)=="[object String]",of=e=>Co(e)&&e.trim().length===0,Ni=e=>e===null,Ct=e=>$e(e)||Ni(e),Xn=e=>qv.call(e)=="[object Number]"&&e==e,Gc=e=>Xn(e)&&e>0,qr=e=>qv.call(e)==="[object Boolean]",Gne=e=>e instanceof FormData,Wne=e=>kt(Hne,e);function $F(e){return e===null||typeof e!="object"}function Lf(e,t){return{}.toString.call(e)==="[object "+t+"]"}function j_(e){return typeof Event<"u"&&(function(t,o){try{return t instanceof o}catch{return!1}})(e,Event)}var Kne=[!0,"true",1,"1","yes"],f0=e=>kt(Kne,e),Yne=[!1,"false",0,"0","no"];function $r(e,t,o,a,n){return t>o&&(a.warn("min cannot be greater than max."),t=o),Xn(e)?e>o?(a.warn(" cannot be greater than max: "+o+". Using max value instead."),o):t>e?(a.warn(" cannot be less than min: "+t+". Using min value instead."),t):e:(a.warn(" must be a number. using max or fallback. max: "+o+", fallback: "+n),$r(n||o,t,o,a))}let Zne=class{constructor(t){this.$t={},this.zt=t.zt,this.Ut=$r(t.bucketSize,0,100,t.Gt),this.Wt=$r(t.refillRate,0,this.Ut,t.Gt),this.Xt=$r(t.refillInterval,0,864e5,t.Gt)}Jt(t,o){var a=Math.floor((o-t.lastAccess)/this.Xt);a>0&&(t.tokens=Math.min(t.tokens+a*this.Wt,this.Ut),t.lastAccess=t.lastAccess+a*this.Xt)}consumeRateLimit(t){var o,a=Date.now(),n=String(t),i=this.$t[n];return i?this.Jt(i,a):this.$t[n]=i={tokens:this.Ut,lastAccess:a},i.tokens===0||(i.tokens--,i.tokens===0&&((o=this.zt)==null||o.call(this,t)),i.tokens===0)}stop(){this.$t={}}};var Og,JD,v0,An="Mobile",Bf="iOS",Pi="Android",wd="Tablet",VF=Pi+" "+wd,HF="iPad",GF="Apple",WF=GF+" Watch",cp="Safari",Td="BlackBerry",KF="Samsung",YF=KF+"Browser",ZF=KF+" Internet",kl="Chrome",Qne=kl+" OS",QF=kl+" "+Bf,z_="Internet Explorer",JF=z_+" "+An,U_="Opera",Jne=U_+" Mini",q_="Edge",XF="Microsoft "+q_,ld="Firefox",ej=ld+" "+Bf,Dp="Nintendo",Op="PlayStation",cd="Xbox",tj=Pi+" "+An,oj=An+" "+cp,Xu="Windows",gT=Xu+" Phone",XD="Nokia",fT="Ouya",aj="Generic",Xne=aj+" "+An.toLowerCase(),nj=aj+" "+wd.toLowerCase(),vT="Konqueror",Ha="(\\d+(\\.\\d+)?)",b0=new RegExp("Version/"+Ha),ere=new RegExp(cd,"i"),tre=new RegExp(Op+" \\w+","i"),ore=new RegExp(Dp+" \\w+","i"),$_=new RegExp(Td+"|PlayBook|BB10","i"),are={"NT3.51":"NT 3.11","NT4.0":"NT 4.0","5.0":"2000",5.1:"XP",5.2:"XP","6.0":"Vista",6.1:"7",6.2:"8",6.3:"8.1",6.4:"10","10.0":"10"},rj=function(e,t){return t=t||"",kt(e," OPR/")&&kt(e,"Mini")?Jne:kt(e," OPR/")?U_:$_.test(e)?Td:kt(e,"IE"+An)||kt(e,"WPDesktop")?JF:kt(e,YF)?ZF:kt(e,q_)||kt(e,"Edg/")?XF:kt(e,"FBIOS")?"Facebook "+An:kt(e,"UCWEB")||kt(e,"UCBrowser")?"UC Browser":kt(e,"CriOS")?QF:kt(e,"CrMo")||kt(e,kl)?kl:kt(e,Pi)&&kt(e,cp)?tj:kt(e,"FxiOS")?ej:kt(e.toLowerCase(),vT.toLowerCase())?vT:((o,a)=>a&&kt(a,GF)||(function(n){return kt(n,cp)&&!kt(n,kl)&&!kt(n,Pi)})(o))(e,t)?kt(e,An)?oj:cp:kt(e,ld)?ld:kt(e,"MSIE")||kt(e,"Trident/")?z_:kt(e,"Gecko")?ld:""},nre={[JF]:[new RegExp("rv:"+Ha)],[XF]:[new RegExp(q_+"?\\/"+Ha)],[kl]:[new RegExp("("+kl+"|CrMo)\\/"+Ha)],[QF]:[new RegExp("CriOS\\/"+Ha)],"UC Browser":[new RegExp("(UCBrowser|UCWEB)\\/"+Ha)],[cp]:[b0],[oj]:[b0],[U_]:[new RegExp("(Opera|OPR)\\/"+Ha)],[ld]:[new RegExp(ld+"\\/"+Ha)],[ej]:[new RegExp("FxiOS\\/"+Ha)],[vT]:[new RegExp("Konqueror[:/]?"+Ha,"i")],[Td]:[new RegExp(Td+" "+Ha),b0],[tj]:[new RegExp("android\\s"+Ha,"i")],[ZF]:[new RegExp(YF+"\\/"+Ha)],[z_]:[new RegExp("(rv:|MSIE )"+Ha)],Mozilla:[new RegExp("rv:"+Ha)]},rre=function(e,t){var o=rj(e,t),a=nre[o];if($e(a))return null;for(var n=0;a.length>n;n++){var i=e.match(a[n]);if(i)return parseFloat(i[i.length-2])}return null},eO=[[new RegExp(cd+"; "+cd+" (.*?)[);]","i"),e=>[cd,e&&e[1]||""]],[new RegExp(Dp,"i"),[Dp,""]],[new RegExp(Op,"i"),[Op,""]],[$_,[Td,""]],[new RegExp(Xu,"i"),(e,t)=>{if(/Phone/.test(t)||/WPDesktop/.test(t))return[gT,""];if(new RegExp(An).test(t)&&!/IEMobile\b/.test(t))return[Xu+" "+An,""];var o=/Windows NT ([0-9.]+)/i.exec(t);if(o&&o[1]){var a=are[o[1]]||"";return/arm/i.test(t)&&(a="RT"),[Xu,a]}return[Xu,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,e=>e&&e[3]?[Bf,[e[3],e[4],e[5]||"0"].join(".")]:[Bf,""]],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,e=>{var t="";return e&&e.length>=3&&(t=$e(e[2])?e[3]:e[2]),["watchOS",t]}],[new RegExp("("+Pi+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+Pi+")","i"),e=>e&&e[2]?[Pi,[e[2],e[3],e[4]||"0"].join(".")]:[Pi,""]],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,e=>{var t=["Mac OS X",""];return e&&e[1]&&(t[1]=[e[1],e[2],e[3]||"0"].join(".")),t}],[/Mac/i,["Mac OS X",""]],[/CrOS/,[Qne,""]],[/Linux|debian/i,["Linux",""]]],tO=function(e){return ore.test(e)?Dp:tre.test(e)?Op:ere.test(e)?cd:new RegExp(fT,"i").test(e)?fT:new RegExp("("+gT+"|WPDesktop)","i").test(e)?gT:/iPad/.test(e)?HF:/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?WF:$_.test(e)?Td:/(kobo)\s(ereader|touch)/i.test(e)?"Kobo":new RegExp(XD,"i").test(e)?XD:/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i.test(e)||/(kf[a-z]+)( bui|\)).+silk\//i.test(e)?"Kindle Fire":/(Android|ZTE)/i.test(e)?new RegExp(An).test(e)&&!/(9138B|TB782B|Nexus [97]|pixel c|HUAWEISHT|BTV|noble nook|smart ultra 6)/i.test(e)||/pixel[\daxl ]{1,6}/i.test(e)&&!/pixel c/i.test(e)||/(huaweimed-al00|tah-|APA|SM-G92|i980|zte|U304AA)/i.test(e)||/lmy47v/i.test(e)&&!/QTAQZ3/i.test(e)?Pi:VF:new RegExp("(pda|"+An+")","i").test(e)?Xne:new RegExp(wd,"i").test(e)&&!new RegExp(wd+" pc","i").test(e)?nj:""},ire=e=>e instanceof Error,ij={trace:{text:"TRACE",number:1},debug:{text:"DEBUG",number:5},info:{text:"INFO",number:9},warn:{text:"WARN",number:13},error:{text:"ERROR",number:17},fatal:{text:"FATAL",number:21}},sre=ij.info;function sj(e){if(qr(e))return{boolValue:e};if(typeof e=="number")return Number.isFinite(e)?Number.isInteger(e)?{intValue:e}:{doubleValue:e}:{stringValue:String(e)};if(typeof e=="string")return{stringValue:e};if(It(e))return{arrayValue:{values:e.map((t=>sj(t)))}};try{return{stringValue:JSON.stringify(e)}}catch{return{stringValue:String(e)}}}function oO(e){var t=[];for(var o in e){var a=e[o];Ni(a)||$e(a)||t.push({key:o,value:sj(a)})}return t}function lre(e){var t=globalThis._posthogChunkIds;if(t){var o=Object.keys(t);return v0&&o.length===JD||(JD=o.length,v0=o.reduce(((a,n)=>{Og||(Og={});var i=Og[n];if(i)a[i[0]]=i[1];else for(var l=e(n),c=l.length-1;c>=0;c--){var d=l[c],p=d?.filename,m=t[n];if(p&&m){a[p]=m,Og[n]=[p,m];break}}return a}),{})),v0}}class cre{constructor(t,o,a){a===void 0&&(a=[]),this.coercers=t,this.stackParser=o,this.modifiers=a}buildFromUnknown(t,o){o===void 0&&(o={});var a=o&&o.mechanism||{handled:!0,type:"generic"},n=this.buildCoercingContext(a,o,0).apply(t),i=this.buildParsingContext(o),l=this.parseStacktrace(n,i);return{$exception_list:this.convertToExceptionList(l,a),$exception_level:"error"}}modifyFrames(t){var o=this;return Kn((function*(){for(var a of t)a.stacktrace&&a.stacktrace.frames&&It(a.stacktrace.frames)&&(a.stacktrace.frames=yield o.applyModifiers(a.stacktrace.frames));return t}))()}coerceFallback(t){var o;return{type:"Error",value:"Unknown error",stack:(o=t.syntheticException)==null?void 0:o.stack,synthetic:!0}}parseStacktrace(t,o){var a,n;return t.cause!=null&&(a=this.parseStacktrace(t.cause,o)),t.stack!=""&&t.stack!=null&&(n=this.applyChunkIds(this.stackParser(t.stack,t.synthetic?o.skipFirstLines:0),o.chunkIdMap)),Ne({},t,{cause:a,stack:n})}applyChunkIds(t,o){return t.map((a=>(a.filename&&o&&(a.chunk_id=o[a.filename]),a)))}applyCoercers(t,o){for(var a of this.coercers)if(a.match(t))return a.coerce(t,o);return this.coerceFallback(o)}applyModifiers(t){var o=this;return Kn((function*(){var a=t;for(var n of o.modifiers)a=yield n(a);return a}))()}convertToExceptionList(t,o){var a,n,i,l={type:t.type,value:t.value,mechanism:{type:(a=o.type)!==null&&a!==void 0?a:"generic",handled:(n=o.handled)===null||n===void 0||n,synthetic:(i=t.synthetic)!==null&&i!==void 0&&i}};t.stack&&(l.stacktrace={type:"raw",frames:t.stack});var c=[l];return t.cause!=null&&c.push(...this.convertToExceptionList(t.cause,Ne({},o,{handled:!0}))),c}buildParsingContext(t){var o;return{chunkIdMap:lre(this.stackParser),skipFirstLines:(o=t.skipFirstLines)!==null&&o!==void 0?o:1}}buildCoercingContext(t,o,a){a===void 0&&(a=0);var n=(i,l)=>{if(4>=l){var c=this.buildCoercingContext(t,o,l);return this.applyCoercers(i,c)}};return Ne({},o,{syntheticException:a==0?o.syntheticException:void 0,mechanism:t,apply:i=>n(i,a),next:i=>n(i,a+1)})}}var xd="?";function bT(e,t,o,a,n){var i={platform:e,filename:t,function:o==="<anonymous>"?xd:o,in_app:!0};return $e(a)||(i.lineno=a),$e(n)||(i.colno=n),i}var lj=(e,t)=>{var o=e.indexOf("safari-extension")!==-1,a=e.indexOf("safari-web-extension")!==-1;return o||a?[e.indexOf("@")!==-1?e.split("@")[0]:xd,o?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]},dre=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,ure=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,pre=/\((\S*)(?::(\d+))(?::(\d+))\)/,mre=(e,t)=>{var o=dre.exec(e);if(o){var[,a,n,i]=o;return bT(t,a,xd,+n,+i)}var l=ure.exec(e);if(l){if(l[2]&&l[2].indexOf("eval")===0){var c=pre.exec(l[2]);c&&(l[2]=c[1],l[3]=c[2],l[4]=c[3])}var[d,p]=lj(l[1]||xd,l[2]);return bT(t,p,d,l[3]?+l[3]:void 0,l[4]?+l[4]:void 0)}},hre=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,gre=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,fre=(e,t)=>{var o=hre.exec(e);if(o){if(o[3]&&o[3].indexOf(" > eval")>-1){var a=gre.exec(o[3]);a&&(o[1]=o[1]||"eval",o[3]=a[1],o[4]=a[2],o[5]="")}var n=o[3],i=o[1]||xd;return[i,n]=lj(i,n),bT(t,n,i,o[4]?+o[4]:void 0,o[5]?+o[5]:void 0)}},aO=/\(error: (.*)\)/;let vre=class{match(t){return this.isDOMException(t)||this.isDOMError(t)}coerce(t,o){var a=Co(t.stack);return{type:this.getType(t),value:this.getValue(t),stack:a?t.stack:void 0,cause:t.cause?o.next(t.cause):void 0,synthetic:!1}}getType(t){return this.isDOMError(t)?"DOMError":"DOMException"}getValue(t){var o=t.name||(this.isDOMError(t)?"DOMError":"DOMException");return t.message?o+": "+t.message:o}isDOMException(t){return Lf(t,"DOMException")}isDOMError(t){return Lf(t,"DOMError")}};class bre{match(t){return(o=>o instanceof Error)(t)}coerce(t,o){return{type:this.getType(t),value:this.getMessage(t,o),stack:this.getStack(t),cause:t.cause?o.next(t.cause):void 0,synthetic:!1}}getType(t){return t.name||t.constructor.name}getMessage(t,o){var a=t.message;return String(a.error&&typeof a.error.message=="string"?a.error.message:a)}getStack(t){return t.stacktrace||t.stack||void 0}}let yre=class{constructor(){}match(t){return Lf(t,"ErrorEvent")&&t.error!=null}coerce(t,o){var a;return o.apply(t.error)||{type:"ErrorEvent",value:t.message,stack:(a=o.syntheticException)==null?void 0:a.stack,synthetic:!0}}};var Sre=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let wre=class{match(t){return typeof t=="string"}coerce(t,o){var a,[n,i]=this.getInfos(t);return{type:n??"Error",value:i??t,stack:(a=o.syntheticException)==null?void 0:a.stack,synthetic:!0}}getInfos(t){var o="Error",a=t,n=t.match(Sre);return n&&(o=n[1],a=n[2]),[o,a]}};var Tre=["fatal","error","warning","log","info","debug"];function cj(e,t){t===void 0&&(t=40);var o=Object.keys(e);if(o.sort(),!o.length)return"[object has no keys]";for(var a=o.length;a>0;a--){var n=o.slice(0,a).join(", ");if(t>=n.length)return a===o.length?n:n.length>t?n.slice(0,t)+"...":n}return""}let xre=class{match(t){return typeof t=="object"&&t!==null}coerce(t,o){var a,n=this.getErrorPropertyFromObject(t);return n?o.apply(n):{type:this.getType(t),value:this.getValue(t),stack:(a=o.syntheticException)==null?void 0:a.stack,level:this.isSeverityLevel(t.level)?t.level:"error",synthetic:!0}}getType(t){return j_(t)?t.constructor.name:"Error"}getValue(t){if("name"in t&&typeof t.name=="string"){var o="'"+t.name+"' captured as exception";return"message"in t&&typeof t.message=="string"&&(o+=" with message: '"+t.message+"'"),o}if("message"in t&&typeof t.message=="string")return t.message;var a=this.getObjectClassName(t);return(a&&a!=="Object"?"'"+a+"'":"Object")+" captured as exception with keys: "+cj(t)}isSeverityLevel(t){return Co(t)&&!of(t)&&Tre.indexOf(t)>=0}getErrorPropertyFromObject(t){for(var o in t)if({}.hasOwnProperty.call(t,o)){var a=t[o];if(ire(a))return a}}getObjectClassName(t){try{var o=Object.getPrototypeOf(t);return o?o.constructor.name:void 0}catch{return}}},_re=class{match(t){return j_(t)}coerce(t,o){var a,n=t.constructor.name;return{type:n,value:n+" captured as exception with keys: "+cj(t),stack:(a=o.syntheticException)==null?void 0:a.stack,synthetic:!0}}},kre=class{match(t){return $F(t)}coerce(t,o){var a;return{type:"Error",value:"Primitive value captured as exception: "+String(t),stack:(a=o.syntheticException)==null?void 0:a.stack,synthetic:!0}}},Cre=class{match(t){return Lf(t,"PromiseRejectionEvent")||this.isCustomEventWrappingRejection(t)}isCustomEventWrappingRejection(t){if(!j_(t))return!1;try{var o=t.detail;return o!=null&&typeof o=="object"&&"reason"in o}catch{return!1}}coerce(t,o){var a,n=this.getUnhandledRejectionReason(t);return $F(n)?{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(n),stack:(a=o.syntheticException)==null?void 0:a.stack,synthetic:!0}:o.apply(n)}getUnhandledRejectionReason(t){try{if("reason"in t)return t.reason;if("detail"in t&&t.detail!=null&&typeof t.detail=="object"&&"reason"in t.detail)return t.detail.reason}catch{}return t}};var Ff="$message",jf="$timestamp",Pre=new Set([Ff,jf]),y0={enabled:!0,max_bytes:32768};function zf(e){var t;return e?{enabled:(t=e.enabled)!==null&&t!==void 0?t:y0.enabled,max_bytes:Are(e.max_bytes,y0.max_bytes)}:Ne({},y0)}let Ere=class{constructor(t){this.Kt=[],this.Qt=0,this.Bt=zf(t)}setConfig(t){this.Bt=zf(t),this.er()}add(t){var o=(function(n){var i=(function(m){var h=new WeakSet;try{return JSON.stringify(m,((f,v)=>{if(typeof v=="bigint")return v.toString();if(typeof v!="function"&&typeof v!="symbol"){if(v instanceof Date)return v.toISOString();if(v instanceof Error)return{name:v.name,message:v.message,stack:v.stack};if(v&&typeof v=="object"){if(h.has(v))return"[Circular]";h.add(v)}return v}}))}catch{return}})(n);if(i)try{var l=JSON.parse(i);if(!Bo(l))return;var c=l,d=c[Ff],p=c[jf];return!Co(d)||d.trim().length===0||!Co(p)&&!Xn(p)?void 0:{step:c,json:i}}catch{return}})(t);if(o){var a=(function(n){if(typeof TextEncoder<"u")return new TextEncoder().encode(n).length;for(var i=encodeURIComponent(n),l=0,c=0;i.length>c;c++)i[c]==="%"?(l+=1,c+=2):l+=1;return l})(o.json);a>this.Bt.max_bytes||(this.Kt.push({step:o.step,bytes:a}),this.Qt+=a,this.er())}}getAttachable(){return this.Kt.map((t=>t.step))}clear(){this.Kt=[],this.Qt=0}size(){return this.Kt.length}er(){for(;this.Qt>this.Bt.max_bytes&&this.Kt.length>0;){var t=this.Kt.shift();t&&(this.Qt-=t.bytes)}}};function Are(e,t){if(!Xn(e)||e===1/0||e===-1/0)return t;var o=Math.floor(e);return 0>o?t:o}var dj=function(e,t){var{debugEnabled:o}=t===void 0?{}:t,a={C(n){if(ge&&(Ga.DEBUG||et.POSTHOG_DEBUG||o)&&!$e(ge.console)&&ge.console){for(var i=("__rrweb_original__"in ge.console[n])?ge.console[n].__rrweb_original__:ge.console[n],l=arguments.length,c=new Array(l>1?l-1:0),d=1;l>d;d++)c[d-1]=arguments[d];i(e,...c)}},info(){for(var n=arguments.length,i=new Array(n),l=0;n>l;l++)i[l]=arguments[l];a.C("log",...i)},warn(){for(var n=arguments.length,i=new Array(n),l=0;n>l;l++)i[l]=arguments[l];a.C("warn",...i)},error(){for(var n=arguments.length,i=new Array(n),l=0;n>l;l++)i[l]=arguments[l];a.C("error",...i)},critical(){for(var n=arguments.length,i=new Array(n),l=0;n>l;l++)i[l]=arguments[l];console.error(e,...i)},uninitializedWarning(n){a.error("You must initialize PostHog before calling "+n)},createLogger:(n,i)=>dj(e+" "+n,i)};return a},Ue=dj("[PostHog.js]"),wo=Ue.createLogger,Rre=wo("[ExternalScriptsLoader]"),S0=(e,t,o)=>{if(e.config.disable_external_dependency_loading)return Rre.warn(t+" was requested but loading of external scripts is disabled."),o("Loading of external scripts is disabled");var a=ze?.querySelectorAll("script");if(a){for(var n,i=function(){if(a[l].src===t){var d=a[l];return d.__posthog_loading_callback_fired?{v:o()}:(d.addEventListener("load",(p=>{d.__posthog_loading_callback_fired=!0,o(void 0,p)})),d.onerror=p=>o(p),{v:void 0})}},l=0;a.length>l;l++)if(n=i())return n.v}var c=()=>{if(!ze)return o("document not found");var d=ze.createElement("script");if(d.type="text/javascript",d.crossOrigin="anonymous",d.src=t,d.onload=h=>{d.__posthog_loading_callback_fired=!0,o(void 0,h)},d.onerror=h=>o(h),e.config.prepare_external_dependency_script&&(d=e.config.prepare_external_dependency_script(d)),!d)return o("prepare_external_dependency_script returned null");if(e.config.external_scripts_inject_target==="head")ze.head.appendChild(d);else{var p,m=ze.querySelectorAll("body > script");m.length>0?(p=m[0].parentNode)==null||p.insertBefore(d,m[0]):ze.body.appendChild(d)}};ze!=null&&ze.body?c():ze?.addEventListener("DOMContentLoaded",c)};et.__PosthogExtensions__=et.__PosthogExtensions__||{},et.__PosthogExtensions__.loadExternalDependency=(e,t,o)=>{if(t!=="remote-config"){var a;if(e.config.__preview_external_dependency_versioned_paths)a=e.requestRouter.endpointFor("assets","/static/"+e.version+"/"+t+".js");else{var n="/static/"+t+".js?v="+e.version;if(t==="toolbar"){var i=3e5;n=n+"&t="+Math.floor(Date.now()/i)*i}a=e.requestRouter.endpointFor("assets",n)}S0(e,a,o)}else{var l=e.requestRouter.endpointFor("assets","/array/"+e.config.token+"/config.js");S0(e,l,o)}},et.__PosthogExtensions__.loadSiteApp=(e,t,o)=>{var a=e.requestRouter.endpointFor("api",t);S0(e,a,o)};var uj="$people_distinct_id",Uf="$device_id",ep="__alias",tp="__timers",yT="$autocapture_disabled_server_side",ST="$heatmaps_enabled_server_side",wT="$exception_capture_enabled_server_side",TT="$error_tracking_suppression_rules",xT="$error_tracking_capture_extension_exceptions",_T="$web_vitals_enabled_server_side",V_="$dead_clicks_enabled_server_side",kT="$product_tours_enabled_server_side",CT="$web_vitals_allowed_metrics",op="$session_recording_remote_config",pj="$replay_override_sampling",mj="$replay_override_linked_flag",hj="$replay_override_url_trigger",gj="$replay_override_event_trigger",qf="$sesid",H_="$session_is_sampled",ed="$enabled_feature_flags",af="$active_feature_flags",ap="$early_access_features",PT="$feature_flag_details",ET="$feature_flag_payloads",AT="$feature_flag_request_id",Ti="$override_feature_flags",Wc="$override_feature_flag_payloads",np="$stored_person_properties",gl="$stored_group_properties",RT="$surveys",DT="$surveys_activated",nf="ph_product_tours",dp="$flag_call_reported",OT="$flag_call_reported_session_id",MT="$feature_flag_errors",$f="$feature_flag_evaluated_at",pr="$user_state",NT="$client_session_props",IT="$capture_rate_limit",LT="$initial_campaign_params",BT="$initial_referrer_info",Vf="$initial_person_info",Hf="$epp",fj="__POSTHOG_TOOLBAR__",Mg="$posthog_cookieless",vj="$sdk_debug_extensions_init_method",bj="$sdk_debug_extensions_init_time_ms",yj="$sdk_debug_recording_script_not_loaded",G_="PostHog loadExternalDependency extension not found.",fl="on_reject",_i="always",Ic="anonymous",Lc="identified",FT="identified_only",Gf="visibilitychange",Wf="beforeunload",Kc="$pageview",w0="$pageleave",T0="$identify",nO="$groupidentify";function Ng(e,t){It(e)&&e.forEach(t)}function go(e,t){if(!Ct(e))if(It(e))e.forEach(t);else if(Gne(e))e.forEach(((a,n)=>t(a,n)));else for(var o in e)qF.call(e,o)&&t(e[o],o)}var Mo=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),a=1;t>a;a++)o[a-1]=arguments[a];for(var n of o)for(var i in n)n[i]!==void 0&&(e[i]=n[i]);return e};function rf(e){for(var t=Object.keys(e),o=t.length,a=new Array(o);o--;)a[o]=[t[o],e[t[o]]];return a}var rO=function(e){try{return e()}catch{return}},Dre=function(e){return function(){try{for(var t=arguments.length,o=new Array(t),a=0;t>a;a++)o[a]=arguments[a];return e.apply(this,o)}catch(n){Ue.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),Ue.critical(n)}}},W_=function(e){var t={};return go(e,(function(o,a){(Co(o)&&o.length>0||Xn(o))&&(t[a]=o)})),t},Ore=["herokuapp.com","vercel.app","netlify.app"];function Mre(e){var t=e?.hostname;if(!Co(t))return!1;var o=t.split(".").slice(-2).join(".");for(var a of Ore)if(o===a)return!1;return!0}function Zo(e,t,o,a){var{capture:n=!1,passive:i=!0}=a??{};e?.addEventListener(t,o,{capture:n,passive:i})}function Sj(e){return e.name==="ph_toolbar_internal"}Math.trunc||(Math.trunc=function(e){return 0>e?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return Xn(e)&&isFinite(e)&&Math.floor(e)===e});class Kf{constructor(t){if(this.bytes=t,t.length!==16)throw new TypeError("not 128-bit length")}static fromFieldsV7(t,o,a,n){if(!Number.isInteger(t)||!Number.isInteger(o)||!Number.isInteger(a)||!Number.isInteger(n)||0>t||0>o||0>a||0>n||t>0xffffffffffff||o>4095||a>1073741823||n>4294967295)throw new RangeError("invalid field value");var i=new Uint8Array(16);return i[0]=t/Math.pow(2,40),i[1]=t/Math.pow(2,32),i[2]=t/Math.pow(2,24),i[3]=t/Math.pow(2,16),i[4]=t/Math.pow(2,8),i[5]=t,i[6]=112|o>>>8,i[7]=o,i[8]=128|a>>>24,i[9]=a>>>16,i[10]=a>>>8,i[11]=a,i[12]=n>>>24,i[13]=n>>>16,i[14]=n>>>8,i[15]=n,new Kf(i)}toString(){for(var t="",o=0;this.bytes.length>o;o++)t=t+(this.bytes[o]>>>4).toString(16)+(15&this.bytes[o]).toString(16),o!==3&&o!==5&&o!==7&&o!==9||(t+="-");if(t.length!==36)throw new Error("Invalid UUIDv7 was generated");return t}clone(){return new Kf(this.bytes.slice(0))}equals(t){return this.compareTo(t)===0}compareTo(t){for(var o=0;16>o;o++){var a=this.bytes[o]-t.bytes[o];if(a!==0)return Math.sign(a)}return 0}}class Nre{constructor(){this.I=0,this.S=0,this.k=new Ire}generate(){var t=this.generateOrAbort();if($e(t)){this.I=0;var o=this.generateOrAbort();if($e(o))throw new Error("Could not generate UUID after timestamp reset");return o}return t}generateOrAbort(){var t=Date.now();if(t>this.I)this.I=t,this.A();else{if(this.I>=t+1e4)return;this.S++,this.S>4398046511103&&(this.I++,this.A())}return Kf.fromFieldsV7(this.I,Math.trunc(this.S/Math.pow(2,30)),this.S&Math.pow(2,30)-1,this.k.nextUint32())}A(){this.S=1024*this.k.nextUint32()+(1023&this.k.nextUint32())}}var iO,wj=e=>{if(typeof UUIDV7_DENY_WEAK_RNG<"u"&&UUIDV7_DENY_WEAK_RNG)throw new Error("no cryptographically strong RNG available");for(var t=0;e.length>t;t++)e[t]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return e};ge&&!$e(ge.crypto)&&crypto.getRandomValues&&(wj=e=>crypto.getRandomValues(e));class Ire{constructor(){this.T=new Uint32Array(8),this.N=1/0}nextUint32(){return this.T.length>this.N||(wj(this.T),this.N=0),this.T[this.N++]}}var ws=()=>Lre().toString(),Lre=()=>(iO||(iO=new Nre)).generate(),Lu="",Bre=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i,Ur={R:()=>!!ze,B(e){Ue.error("cookieStore error: "+e)},O(e){if(ze){try{for(var t=e+"=",o=ze.cookie.split(";").filter((i=>i.length)),a=0;o.length>a;a++){for(var n=o[a];n.charAt(0)==" ";)n=n.substring(1,n.length);if(n.indexOf(t)===0)return decodeURIComponent(n.substring(t.length,n.length))}}catch{}return null}},Z(e){var t;try{t=JSON.parse(Ur.O(e))||{}}catch{}return t},M(e,t,o,a,n){if(ze)try{var i="",l="",c=(function(m,h){if(h){var f=(function(b,S){if(S===void 0&&(S=ze),Lu)return Lu;if(!S||["localhost","127.0.0.1"].includes(b))return"";for(var _=b.split("."),T=Math.min(_.length,8),x="dmn_chk_"+ws();!Lu&&T--;){var E=_.slice(T).join("."),C=x+"=1;domain=."+E+";path=/";S.cookie=C+";max-age=3",S.cookie.includes(x)&&(S.cookie=C+";max-age=0",Lu=E)}return Lu})(m);if(!f){var v=(b=>{var S=b.match(Bre);return S?S[0]:""})(m);v!==f&&Ue.info("Warning: cookie subdomain discovery mismatch",v,f),f=v}return f?"; domain=."+f:""}return""})(ze.location.hostname,a);if(o){var d=new Date;d.setTime(d.getTime()+864e5*o),i="; expires="+d.toUTCString()}n&&(l="; secure");var p=e+"="+encodeURIComponent(JSON.stringify(t))+i+"; SameSite=Lax; path=/"+c+l;return p.length>3686.4&&Ue.warn("cookieStore warning: large cookie, len="+p.length),ze.cookie=p,p}catch{return}},F(e,t){if(ze!=null&&ze.cookie)try{Ur.M(e,"",-1,t)}catch{return}}},x0=null,ko={R(){if(!Ni(x0))return x0;var e=!0;if($e(ge))e=!1;else try{var t="__mplssupport__";ko.M(t,"xyz"),ko.O(t)!=='"xyz"'&&(e=!1),ko.F(t)}catch{e=!1}return e||Ue.error("localStorage unsupported; falling back to cookie store"),x0=e,e},B(e){Ue.error("localStorage error: "+e)},O(e){try{return ge?.localStorage.getItem(e)}catch(t){ko.B(t)}return null},Z(e){try{return JSON.parse(ko.O(e))||{}}catch{}return null},M(e,t){try{ge?.localStorage.setItem(e,JSON.stringify(t))}catch(o){ko.B(o)}},F(e){try{ge?.localStorage.removeItem(e)}catch(t){ko.B(t)}}},Fre=[Uf,"distinct_id",qf,H_,Hf,Vf,pr],Ig={},jre={R:()=>!0,B(e){Ue.error("memoryStorage error: "+e)},O:e=>Ig[e]||null,Z:e=>Ig[e]||null,M(e,t){Ig[e]=t},F(e){delete Ig[e]}},dl=null,Ta={R(){if(!Ni(dl))return dl;if(dl=!0,$e(ge))dl=!1;else try{var e="__support__";Ta.M(e,"xyz"),Ta.O(e)!=='"xyz"'&&(dl=!1),Ta.F(e)}catch{dl=!1}return dl},B(e){Ue.error("sessionStorage error: ",e)},O(e){try{return ge?.sessionStorage.getItem(e)}catch(t){Ta.B(t)}return null},Z(e){try{return JSON.parse(Ta.O(e))||null}catch{}return null},M(e,t){try{ge?.sessionStorage.setItem(e,JSON.stringify(t))}catch(o){Ta.B(o)}},F(e){try{ge?.sessionStorage.removeItem(e)}catch(t){Ta.B(t)}}};class zre{constructor(t){this._instance=t}get Bt(){return this._instance.config}get consent(){return this.rr()?0:this.ir}isOptedOut(){return this.Bt.cookieless_mode===_i||this.isRejected()||this.consent===-1&&this.Bt.cookieless_mode===fl}isOptedIn(){return!this.isOptedOut()}isExplicitlyOptedOut(){return this.consent===0}isRejected(){return this.consent===0||this.consent===-1&&this.Bt.opt_out_capturing_by_default}optInOut(t){this.nr.M(this.sr,t?1:0,this.Bt.cookie_expiration,this.Bt.cross_subdomain_cookie,this.Bt.secure_cookie)}reset(){this.nr.F(this.sr,this.Bt.cross_subdomain_cookie)}get sr(){var{token:t,opt_out_capturing_cookie_prefix:o,consent_persistence_name:a}=this._instance.config;return a||(o?o+t:"__ph_opt_in_out_"+t)}get ir(){var t=this.nr.O(this.sr);return f0(t)?1:kt(Yne,t)?0:-1}get nr(){var t=this.Bt.opt_out_capturing_persistence_type,o=t==="localStorage"?ko:Ur;if(!this.ar||this.ar!==o){this.ar=o;var a=t==="localStorage"?Ur:ko;a.O(this.sr)&&(this.ar.O(this.sr)||this.optInOut(f0(a.O(this.sr))),a.F(this.sr,this.Bt.cross_subdomain_cookie))}return this.ar}rr(){return!!this.Bt.respect_dnt&&[Pn?.doNotTrack,Pn?.msDoNotTrack,et.doNotTrack].some((t=>f0(t)))}}var Lg=wo("[Dead Clicks]"),Ure=()=>!0,qre=e=>{var t,o=!((t=e.instance.persistence)==null||!t.get_property(V_)),a=e.instance.config.capture_dead_clicks;return qr(a)?a:!!Bo(a)||o};class sO{get lazyLoadedDeadClicksAutocapture(){return this.lr}constructor(t,o,a){this.instance=t,this.isEnabled=o,this.onCapture=a,this.startIfEnabledOrStop()}onRemoteConfig(t){"captureDeadClicks"in t&&(this.instance.persistence&&this.instance.persistence.register({[V_]:t.captureDeadClicks}),this.startIfEnabledOrStop())}startIfEnabledOrStop(){this.isEnabled(this)?this.ur((()=>{this.hr()})):this.stop()}ur(t){var o,a;(o=et.__PosthogExtensions__)!=null&&o.initDeadClicksAutocapture&&t(),(a=et.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this.instance,"dead-clicks-autocapture",(n=>{n?Lg.error("failed to load script",n):t()}))}hr(){var t;if(ze){if(!this.lr&&(t=et.__PosthogExtensions__)!=null&&t.initDeadClicksAutocapture){var o=Bo(this.instance.config.capture_dead_clicks)?this.instance.config.capture_dead_clicks:{};o.__onCapture=this.onCapture,this.lr=et.__PosthogExtensions__.initDeadClicksAutocapture(this.instance,o),this.lr.start(ze),Lg.info("starting...")}}else Lg.error("`document` not found. Cannot start.")}stop(){this.lr&&(this.lr.stop(),this.lr=void 0,Lg.info("stopping..."))}}var _0=wo("[SegmentIntegration]"),Tj="posthog-js";function xj(e,t){var{organization:o,projectId:a,prefix:n,severityAllowList:i=["error"],sendExceptionsToPostHog:l=!0}=t===void 0?{}:t;return c=>{var d,p,m,h,f;if(i!=="*"&&!i.includes(c.level)||!e.__loaded)return c;c.tags||(c.tags={});var v=e.requestRouter.endpointFor("ui","/project/"+e.config.token+"/person/"+e.get_distinct_id());c.tags["PostHog Person URL"]=v,e.sessionRecordingStarted()&&(c.tags["PostHog Recording URL"]=e.get_session_replay_url({withTimestamp:!0}));var b,S=((d=c.exception)==null?void 0:d.values)||[],_=S.map((x=>Ne({},x,{stacktrace:x.stacktrace?Ne({},x.stacktrace,{type:"raw",frames:(x.stacktrace.frames||[]).map((E=>Ne({},E,{platform:"web:javascript"})))}):void 0}))),T={$exception_message:((p=S[0])==null?void 0:p.value)||c.message,$exception_type:(m=S[0])==null?void 0:m.type,$exception_level:c.level,$exception_list:_,$sentry_event_id:c.event_id,$sentry_exception:c.exception,$sentry_exception_message:((h=S[0])==null?void 0:h.value)||c.message,$sentry_exception_type:(f=S[0])==null?void 0:f.type,$sentry_tags:c.tags};return o&&a&&(T.$sentry_url=(n||"https://sentry.io/organizations/")+o+"/issues/?project="+a+"&query="+c.event_id),l&&((b=e.exceptions)==null||b.sendExceptionEvent(T)),c}}class $re{constructor(t,o,a,n,i,l){this.name=Tj,this.setupOnce=function(c){c(xj(t,{organization:o,projectId:a,prefix:n,severityAllowList:i,sendExceptionsToPostHog:l==null||l}))}}}class lO{constructor(t){this.cr=(o,a,n)=>{n&&(n.noSessionId||n.activityTimeout||n.sessionPastMaximumLength)&&(Ue.info("[PageViewManager] Session rotated, clearing pageview state",{sessionId:o,changeReason:n}),this.dr=void 0,this._instance.scrollManager.resetContext())},this._instance=t,this.vr()}vr(){var t;this.pr=(t=this._instance.sessionManager)==null?void 0:t.onSessionId(this.cr)}destroy(){var t;(t=this.pr)==null||t.call(this),this.pr=void 0}doPageView(t,o){var a,n=this.gr(t,o);return this.dr={pathname:(a=ge?.location.pathname)!==null&&a!==void 0?a:"",pageViewId:o,timestamp:t},this._instance.scrollManager.resetContext(),n}doPageLeave(t){var o;return this.gr(t,(o=this.dr)==null?void 0:o.pageViewId)}doEvent(){var t;return{$pageview_id:(t=this.dr)==null?void 0:t.pageViewId}}gr(t,o){var a=this.dr;if(!a)return{$pageview_id:o};var n={$pageview_id:o,$prev_pageview_id:a.pageViewId},i=this._instance.scrollManager.getContext();if(i&&!this._instance.config.disable_scroll_properties){var{maxScrollHeight:l,lastScrollY:c,maxScrollY:d,maxContentHeight:p,lastContentY:m,maxContentY:h}=i;if(!($e(l)||$e(c)||$e(d)||$e(p)||$e(m)||$e(h))){l=Math.ceil(l),c=Math.ceil(c),d=Math.ceil(d),p=Math.ceil(p),m=Math.ceil(m),h=Math.ceil(h);var f=l>1?$r(c/l,0,1,Ue):1,v=l>1?$r(d/l,0,1,Ue):1,b=p>1?$r(m/p,0,1,Ue):1,S=p>1?$r(h/p,0,1,Ue):1;n=Mo(n,{$prev_pageview_last_scroll:c,$prev_pageview_last_scroll_percentage:f,$prev_pageview_max_scroll:d,$prev_pageview_max_scroll_percentage:v,$prev_pageview_last_content:m,$prev_pageview_last_content_percentage:b,$prev_pageview_max_content:h,$prev_pageview_max_content_percentage:S})}}return a.pathname&&(n.$prev_pageview_pathname=a.pathname),a.timestamp&&(n.$prev_pageview_duration=(t.getTime()-a.timestamp.getTime())/1e3),n}}var Vre={[uj]:{exposure:"hidden"},[ep]:{exposure:"hidden"},__cmpns:{exposure:"hidden"},[tp]:{exposure:"hidden"},[yT]:{exposure:"event"},[ST]:{exposure:"hidden"},[wT]:{exposure:"event"},[TT]:{exposure:"hidden"},[xT]:{exposure:"event"},[_T]:{exposure:"event"},[V_]:{exposure:"event"},[kT]:{exposure:"hidden"},[CT]:{exposure:"event"},[op]:{exposure:"hidden"},$session_recording_enabled_server_side:{exposure:"hidden"},[qf]:{exposure:"hidden"},[H_]:{exposure:"event"},$session_past_minimum_duration:{exposure:"event"},$session_recording_url_trigger_activated_session:{exposure:"event"},$session_recording_event_trigger_activated_session:{exposure:"event"},$debug_first_full_snapshot_timestamp:{exposure:"event"},[ed]:{exposure:"derived",shouldSkipFromEventProperties:(e,t)=>t(),transformToEventProperties(e){if(!Bo(e))return{};for(var t={},o=Object.keys(e),a=0;o.length>a;a++)t["$feature/"+o[a]]=e[o[a]];return t}},[af]:{exposure:"event"},[ap]:{exposure:"hidden"},[PT]:{exposure:"hidden"},[ET]:{exposure:"event"},[AT]:{exposure:"event"},[Ti]:{exposure:"event"},[Wc]:{exposure:"hidden"},[np]:{exposure:"hidden"},[gl]:{exposure:"hidden"},[RT]:{exposure:"hidden"},[DT]:{exposure:"event"},[nf]:{exposure:"hidden"},$product_tours_activated:{exposure:"hidden"},$conversations_widget_session_id:{exposure:"event"},$conversations_ticket_id:{exposure:"event"},$conversations_widget_state:{exposure:"event"},$conversations_user_traits:{exposure:"event"},[dp]:{exposure:"hidden"},[OT]:{exposure:"hidden"},[MT]:{exposure:"hidden"},[$f]:{exposure:"hidden"},[pr]:{exposure:"hidden"},[NT]:{exposure:"hidden"},[IT]:{exposure:"hidden"},[LT]:{exposure:"hidden"},[BT]:{exposure:"hidden"},[Vf]:{exposure:"hidden"},[Hf]:{exposure:"hidden"},[pj]:{exposure:"event"},[mj]:{exposure:"event"},[hj]:{exposure:"event"},[gj]:{exposure:"event"},[vj]:{exposure:"event"},[bj]:{exposure:"event"},[yj]:{exposure:"event"},$sdk_debug_replay_event_trigger_status:{exposure:"event"},$sdk_debug_replay_linked_flag_trigger_status:{exposure:"event"},$sdk_debug_replay_matched_recording_trigger_groups:{exposure:"event"},$sdk_debug_replay_remote_trigger_matching_config:{exposure:"event"},$sdk_debug_replay_trigger_groups_count:{exposure:"event"},$sdk_debug_replay_url_trigger_status:{exposure:"event"},$session_recording_start_reason:{exposure:"event"}},Hre=[["$posthog_sr_group_event_trigger_",{exposure:"hidden"}],["$posthog_sr_group_url_trigger_",{exposure:"hidden"}],["$posthog_sr_group_sampling_",{exposure:"hidden"}]],Yf=e=>{var t=ze?.createElement("a");return $e(t)?null:(t.href=e,t)},Zf=function(e,t){for(var o,a=((e.split("#")[0]||"").split(/\?(.*)/)[1]||"").replace(/^\?+/g,"").split("&"),n=0;a.length>n;n++){var i=a[n].split("=");if(i[0]===t){o=i;break}}if(!It(o)||2>o.length)return"";var l=o[1];try{l=decodeURIComponent(l)}catch{Ue.error("Skipping decoding for malformed query param: "+l)}return l.replace(/\+/g," ")},Mp=function(e,t,o){if(!e||!t||!t.length)return e;for(var a=e.split("#"),n=a[1],i=(a[0]||"").split("?"),l=i[1],c=i[0],d=(l||"").split("&"),p=[],m=0;d.length>m;m++){var h=d[m].split("=");It(h)&&(t.includes(h[0])?p.push(h[0]+"="+o):p.push(d[m]))}var f=c;return l!=null&&(f+="?"+p.join("&")),n!=null&&(f+="#"+n),f},Qf=function(e,t){var o=e.match(new RegExp(t+"=([^&]*)"));return o?o[1]:null},Bg="https?://(.*)",_d=["gclid","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","igshid","ttclid","rdt_cid","epik","qclid","sccid","irclid","_kx"],Gre=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gad_source","mc_cid",..._d],Np="<masked>",Wre=["li_fat_id"];function _j(e,t,o){if(!ze)return{};var a,n=t?[..._d,...o||[]]:[],i=kj(Mp(ze.URL,n,Np),e),l=(a={},go(Wre,(function(c){var d=Ur.O(c);a[c]=d||null})),a);return Mo(l,i)}function kj(e,t){var o=Gre.concat(t||[]),a={};return go(o,(function(n){var i=Zf(e,n);a[n]=i||null})),a}function Cj(e){var t=(function(i){return i?i.search(Bg+"google.([^/?]*)")===0?"google":i.search(Bg+"bing.com")===0?"bing":i.search(Bg+"yahoo.com")===0?"yahoo":i.search(Bg+"duckduckgo.com")===0?"duckduckgo":null:null})(e),o=t!="yahoo"?"q":"p",a={};if(!Ni(t)){a.$search_engine=t;var n=ze?Zf(ze.referrer,o):"";n.length&&(a.ph_keyword=n)}return a}function cO(){return navigator.language||navigator.userLanguage}var Jf="$direct";function Pj(){return ze?.referrer||Jf}function Ej(e,t){var o=e?[..._d,...t||[]]:[],a=wa?.href.substring(0,1e3);return{r:Pj().substring(0,1e3),u:a?Mp(a,o,Np):void 0}}function Aj(e){var t,{r:o,u:a}=e,n={$referrer:o,$referring_domain:o==null?void 0:o==Jf?Jf:(t=Yf(o))==null?void 0:t.host};if(a){n.$current_url=a;var i=Yf(a);n.$host=i?.host,n.$pathname=i?.pathname;var l=kj(a);Mo(n,l)}if(o){var c=Cj(o);Mo(n,c)}return n}function Rj(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return}}function Kre(){try{return new Date().getTimezoneOffset()}catch{return}}var Yre=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"];class k0{constructor(t,o){this.Bt=t,this.props={},this.mr=!1,this.yr=(a=>{var n="";return a.token&&(n=a.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),a.persistence_name?"ph_"+a.persistence_name:"ph_"+n+"_posthog"})(t),this.nr=this.br(t),this.load(),t.debug&&Ue.info("Persistence loaded",t.persistence,Ne({},this.props)),this.update_config(t,t,o),this.save()}isDisabled(){return!!this._r}br(t){Yre.indexOf(t.persistence.toLowerCase())===-1&&(Ue.critical("Unknown persistence type "+t.persistence+"; falling back to localStorage+cookie"),t.persistence="localStorage+cookie");var o=(function(n){n===void 0&&(n=[]);var i=[...Fre,...n];return Ne({},ko,{Z(l){try{var c={};try{c=Ur.Z(l)||{}}catch{}var d=Mo(c,JSON.parse(ko.O(l)||"{}"));return ko.M(l,d),d}catch{}return null},M(l,c,d,p,m,h){try{ko.M(l,c,void 0,void 0,h);var f={};i.forEach((v=>{c[v]&&(f[v]=c[v])})),Object.keys(f).length&&Ur.M(l,f,d,p,m,h)}catch(v){ko.B(v)}},F(l,c){try{ge?.localStorage.removeItem(l),Ur.F(l,c)}catch(d){ko.B(d)}}})})(t.cookie_persisted_properties||[]),a=t.persistence.toLowerCase();return a==="localstorage"&&ko.R()?ko:a==="localstorage+cookie"&&o.R()?o:a==="sessionstorage"&&Ta.R()?Ta:a==="memory"?jre:a==="cookie"?Ur:o.R()?o:Ur}wr(t){var o=t??this.Bt.feature_flag_cache_ttl_ms;if(!o||0>=o)return!1;var a=this.props[$f];return!a||typeof a!="number"||Date.now()-a>o}properties(){var t={};return go(this.props,((o,a)=>{var n=(i=>{var l=Vre[i];if(l)return l;for(var[c,d]of Hre)if(i.indexOf(c)===0)return d})(a);if(n?.exposure==="derived"){if(n.shouldSkipFromEventProperties!=null&&n.shouldSkipFromEventProperties(o,a===ed?()=>this.wr():()=>!1))return;n.transformToEventProperties&&Mo(t,n.transformToEventProperties(o))}else n&&n.exposure!=="event"||(t[a]=o)})),t}load(){if(!this._r){var t=this.nr.Z(this.yr);t&&(this.props=Mo({},t))}}save(){this._r||this.nr.M(this.yr,this.props,this.Ir,this.Cr,this.Sr,this.Bt.debug)}remove(){this.nr.F(this.yr,!1),this.nr.F(this.yr,!0)}clear(){this.remove(),this.props={}}register_once(t,o,a){if(Bo(t)){$e(o)&&(o="None"),this.Ir=$e(a)?this.kr:a;var n=!1;if(go(t,((i,l)=>{this.props.hasOwnProperty(l)&&this.props[l]!==o||(this.Tr(l,i),n=!0)})),n)return this.save(),!0}return!1}register(t,o){if(Bo(t)){this.Ir=$e(o)?this.kr:o;var a=!1;if(go(t,((n,i)=>{t.hasOwnProperty(i)&&this.props[i]!==n&&(this.Tr(i,n),a=!0)})),a)return this.save(),!0}return!1}unregister(t){t in this.props&&(this.Ar(t),this.save())}update_campaign_params(){if(!this.mr){var t=_j(this.Bt.custom_campaign_params,this.Bt.mask_personal_data_properties,this.Bt.custom_personal_data_properties);Xc(W_(t))||this.register(t),this.mr=!0}}update_search_keyword(){var t;this.register((t=ze?.referrer)?Cj(t):{})}update_referrer_info(){var t;this.register_once({$referrer:Pj(),$referring_domain:ze!=null&&ze.referrer&&((t=Yf(ze.referrer))==null?void 0:t.host)||Jf},void 0)}set_initial_person_info(){this.props[LT]||this.props[BT]||this.register_once({[Vf]:Ej(this.Bt.mask_personal_data_properties,this.Bt.custom_personal_data_properties)},void 0)}get_initial_props(){var t={};go([BT,LT],(l=>{var c=this.props[l];c&&go(c,(function(d,p){t["$initial_"+hT(p)]=d}))}));var o,a,n=this.props[Vf];if(n){var i=(o=Aj(n),a={},go(o,(function(l,c){a["$initial_"+hT(c)]=l})),a);Mo(t,i)}return t}safe_merge(t){return go(this.props,(function(o,a){a in t||(t[a]=o)})),t}update_config(t,o,a){if(this.kr=this.Ir=t.cookie_expiration,this.set_disabled(t.disable_persistence||!!a),this.set_cross_subdomain(t.cross_subdomain_cookie),this.set_secure(t.secure_cookie),t.persistence!==o.persistence||!((l,c)=>{if(l.length!==c.length)return!1;var d=[...l].sort(),p=[...c].sort();return d.every(((m,h)=>m===p[h]))})(t.cookie_persisted_properties||[],o.cookie_persisted_properties||[])){var n=this.br(t),i=this.props;this.clear(),this.nr=n,this.props=i,this.save()}}set_disabled(t){this._r=t,this._r?this.remove():this.save()}set_cross_subdomain(t){t!==this.Cr&&(this.Cr=t,this.remove(),this.save())}set_secure(t){t!==this.Sr&&(this.Sr=t,this.remove(),this.save())}set_event_timer(t,o){var a=this.props[tp]||{};a[t]=o,this.Tr(tp,a),this.save()}remove_event_timer(t){var o=this.props[tp]||{},a=o[t];return $e(a)||(delete o[t],this.Tr(tp,o),this.save()),a}get_property(t){return this.props[t]}set_property(t,o){this.Tr(t,o),this.save()}Tr(t,o){this.props[t]=o}Ar(t){delete this.props[t]}}var Bu={Activation:"events",Cancellation:"cancelEvents"},C0={Popover:"popover",API:"api",Widget:"widget"},rp={SHOWN:"survey shown",DISMISSED:"survey dismissed",SENT:"survey sent"},P0={SURVEY_ID:"$survey_id",SURVEY_ITERATION:"$survey_iteration",SURVEY_LAST_SEEN_DATE:"$survey_last_seen_date"},jT={Popover:"popover",Inline:"inline"},Zre={SHOWN:"product tour shown"},dO={TOUR_LAST_SEEN_DATE:"$product_tour_last_seen_date",TOUR_TYPE:"$product_tour_type"},uO=wo("[RateLimiter]");class Qre{constructor(t){this.serverLimits={},this.lastEventRateLimited=!1,this.checkForLimiting=o=>{var a=o.text;if(a&&a.length)try{(JSON.parse(a).quota_limited||[]).forEach((n=>{uO.info((n||"events")+" is quota limited."),this.serverLimits[n]=new Date().getTime()+6e4}))}catch(n){return void uO.warn('could not rate limit - continuing. Error: "'+n?.message+'"',{text:a})}},this.instance=t,this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}get captureEventsPerSecond(){var t;return((t=this.instance.config.rate_limiting)==null?void 0:t.events_per_second)||10}get captureEventsBurstLimit(){var t;return Math.max(((t=this.instance.config.rate_limiting)==null?void 0:t.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond)}clientRateLimitContext(t){var o,a,n;t===void 0&&(t=!1);var{captureEventsBurstLimit:i,captureEventsPerSecond:l}=this,c=new Date().getTime(),d=(o=(a=this.instance.persistence)==null?void 0:a.get_property(IT))!==null&&o!==void 0?o:{tokens:i,last:c};d.tokens+=(c-d.last)/1e3*l,d.last=c,d.tokens>i&&(d.tokens=i);var p=1>d.tokens;return p||t||(d.tokens=Math.max(0,d.tokens-1)),!p||this.lastEventRateLimited||t||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to "+l+" events per second and "+i+" events burst limit."},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=p,(n=this.instance.persistence)==null||n.set_property(IT,d),{isRateLimited:p,remainingTokens:d.tokens}}isServerRateLimited(t){var o=this.serverLimits[t||"events"]||!1;return o!==!1&&new Date().getTime()<o}}var Fu=wo("[RemoteConfig]");class Dj{constructor(t){this._instance=t}get remoteConfig(){var t;return(t=et._POSTHOG_REMOTE_CONFIG)==null||(t=t[this._instance.config.token])==null?void 0:t.config}Er(t){var o,a;(o=et.__PosthogExtensions__)!=null&&o.loadExternalDependency?(a=et.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this._instance,"remote-config",(()=>t(this.remoteConfig))):t()}Rr(t){this._instance._send_request({method:"GET",url:this._instance.requestRouter.endpointFor("assets","/array/"+this._instance.config.token+"/config"),callback(o){t(o.json)}})}load(){try{if(this.remoteConfig)return Fu.info("Using preloaded remote config",this.remoteConfig),this.Nr(this.remoteConfig),void this.Mr();if(this._instance.Fr())return void Fu.warn("Remote config is disabled. Falling back to local config.");this.Er((t=>{if(!t)return Fu.info("No config found after loading remote JS config. Falling back to JSON."),void this.Rr((o=>{this.Nr(o),this.Mr()}));this.Nr(t),this.Mr()}))}catch(t){Fu.error("Error loading remote config",t)}}stop(){this.Or&&(clearInterval(this.Or),this.Or=void 0)}refresh(){this._instance.Fr()||ze?.visibilityState==="hidden"||this._instance.reloadFeatureFlags()}Mr(){var t;if(!this.Or){var o=(t=this._instance.config.remote_config_refresh_interval_ms)!==null&&t!==void 0?t:3e5;o!==0&&(this.Or=setInterval((()=>{this.refresh()}),o))}}Nr(t){var o;t||Fu.error("Failed to fetch remote config from PostHog."),this._instance.Nr(t??{}),t?.hasFeatureFlags!==!1&&(this._instance.config.advanced_disable_feature_flags_on_first_load||(o=this._instance.featureFlags)==null||o.ensureFlagsLoaded())}}var Lr={GZipJS:"gzip-js",Base64:"base64"},Jn=Uint8Array,dn=Uint16Array,kd=Uint32Array,K_=new Jn([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Y_=new Jn([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),pO=new Jn([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Oj=function(e,t){for(var o=new dn(31),a=0;31>a;++a)o[a]=t+=1<<e[a-1];var n=new kd(o[30]);for(a=1;30>a;++a)for(var i=o[a];o[a+1]>i;++i)n[i]=i-o[a]<<5|a;return[o,n]},Mj=Oj(K_,2),zT=Mj[1];Mj[0][28]=258,zT[258]=28;for(var mO=Oj(Y_,0)[1],Nj=new dn(32768),fo=0;32768>fo;++fo){var Bc=(43690&fo)>>>1|(21845&fo)<<1;Nj[fo]=((65280&(Bc=(61680&(Bc=(52428&Bc)>>>2|(13107&Bc)<<2))>>>4|(3855&Bc)<<4))>>>8|(255&Bc)<<8)>>>1}var up=function(e,t,o){for(var a=e.length,n=0,i=new dn(t);a>n;++n)++i[e[n]-1];var l,c=new dn(t);for(n=0;t>n;++n)c[n]=c[n-1]+i[n-1]<<1;for(l=new dn(a),n=0;a>n;++n)l[n]=Nj[c[e[n]-1]++]>>>15-e[n];return l},Al=new Jn(288);for(fo=0;144>fo;++fo)Al[fo]=8;for(fo=144;256>fo;++fo)Al[fo]=9;for(fo=256;280>fo;++fo)Al[fo]=7;for(fo=280;288>fo;++fo)Al[fo]=8;var Xf=new Jn(32);for(fo=0;32>fo;++fo)Xf[fo]=5;var Jre=up(Al,9),Xre=up(Xf,5),Ij=function(e){return(e/8>>0)+(7&e&&1)},Lj=function(e,t,o){(o==null||o>e.length)&&(o=e.length);var a=new(e instanceof dn?dn:e instanceof kd?kd:Jn)(o-t);return a.set(e.subarray(t,o)),a},Si=function(e,t,o){var a=t/8>>0;e[a]|=o<<=7&t,e[a+1]|=o>>>8},ju=function(e,t,o){var a=t/8>>0;e[a]|=o<<=7&t,e[a+1]|=o>>>8,e[a+2]|=o>>>16},E0=function(e,t){for(var o=[],a=0;e.length>a;++a)e[a]&&o.push({s:a,f:e[a]});var n=o.length,i=o.slice();if(!n)return[new Jn(0),0];if(n==1){var l=new Jn(o[0].s+1);return l[o[0].s]=1,[l,1]}o.sort((function(P,R){return P.f-R.f})),o.push({s:-1,f:25001});var c=o[0],d=o[1],p=0,m=1,h=2;for(o[0]={s:-1,f:c.f+d.f,l:c,r:d};m!=n-1;)c=o[o[h].f>o[p].f?p++:h++],d=o[p!=m&&o[h].f>o[p].f?p++:h++],o[m++]={s:-1,f:c.f+d.f,l:c,r:d};var f=i[0].s;for(a=1;n>a;++a)i[a].s>f&&(f=i[a].s);var v=new dn(f+1),b=UT(o[m-1],v,0);if(b>t){a=0;var S=0,_=b-t,T=1<<_;for(i.sort((function(P,R){return v[R.s]-v[P.s]||P.f-R.f}));n>a;++a){var x=i[a].s;if(t>=v[x])break;S+=T-(1<<b-v[x]),v[x]=t}for(S>>>=_;S>0;){var E=i[a].s;t>v[E]?S-=1<<t-v[E]++-1:++a}for(;a>=0&&S;--a){var C=i[a].s;v[C]==t&&(--v[C],++S)}b=t}return[new Jn(v),b]},UT=function(e,t,o){return e.s==-1?Math.max(UT(e.l,t,o+1),UT(e.r,t,o+1)):t[e.s]=o},hO=function(e){for(var t=e.length;t&&!e[--t];);for(var o=new dn(++t),a=0,n=e[0],i=1,l=function(d){o[a++]=d},c=1;t>=c;++c)if(e[c]==n&&c!=t)++i;else{if(!n&&i>2){for(;i>138;i-=138)l(32754);i>2&&(l(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(l(n),--i;i>6;i-=6)l(8304);i>2&&(l(i-3<<5|8208),i=0)}for(;i--;)l(n);i=1,n=e[c]}return[o.subarray(0,a),t]},zu=function(e,t){for(var o=0,a=0;t.length>a;++a)o+=e[a]*t[a];return o},qT=function(e,t,o){var a=o.length,n=Ij(t+2);e[n]=255&a,e[n+1]=a>>>8,e[n+2]=255^e[n],e[n+3]=255^e[n+1];for(var i=0;a>i;++i)e[n+i+4]=o[i];return 8*(n+4+a)},gO=function(e,t,o,a,n,i,l,c,d,p,m){Si(t,m++,o),++n[256];for(var h=E0(n,15),f=h[0],v=h[1],b=E0(i,15),S=b[0],_=b[1],T=hO(f),x=T[0],E=T[1],C=hO(S),P=C[0],R=C[1],D=new dn(19),O=0;x.length>O;++O)D[31&x[O]]++;for(O=0;P.length>O;++O)D[31&P[O]]++;for(var L=E0(D,7),q=L[0],B=L[1],U=19;U>4&&!q[pO[U-1]];--U);var F,W,ae,H,K=p+5<<3,J=zu(n,Al)+zu(i,Xf)+l,le=zu(n,f)+zu(i,S)+l+14+3*U+zu(D,q)+(2*D[16]+3*D[17]+7*D[18]);if(J>=K&&le>=K)return qT(t,m,e.subarray(d,d+p));if(Si(t,m,1+(J>le)),m+=2,J>le){F=up(f,v),W=f,ae=up(S,_),H=S;var Q=up(q,B);for(Si(t,m,E-257),Si(t,m+5,R-1),Si(t,m+10,U-4),m+=14,O=0;U>O;++O)Si(t,m+3*O,q[pO[O]]);m+=3*U;for(var N=[x,P],G=0;2>G;++G){var V=N[G];for(O=0;V.length>O;++O)Si(t,m,Q[I=31&V[O]]),m+=q[I],I>15&&(Si(t,m,V[O]>>>5&127),m+=V[O]>>>12)}}else F=Jre,W=Al,ae=Xre,H=Xf;for(O=0;c>O;++O)if(a[O]>255){var I;ju(t,m,F[257+(I=a[O]>>>18&31)]),m+=W[I+257],I>7&&(Si(t,m,a[O]>>>23&31),m+=K_[I]);var z=31&a[O];ju(t,m,ae[z]),m+=H[z],z>3&&(ju(t,m,a[O]>>>5&8191),m+=Y_[z])}else ju(t,m,F[a[O]]),m+=W[a[O]];return ju(t,m,F[256]),m+W[256]},eie=new kd([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),tie=(function(){for(var e=new kd(256),t=0;256>t;++t){for(var o=t,a=9;--a;)o=(1&o&&3988292384)^o>>>1;e[t]=o}return e})(),A0=function(e,t,o){for(;o;++t)e[t]=o,o>>>=8};function oie(e,t){t===void 0&&(t={});var o=(function(){var h=4294967295;return{p(f){for(var v=h,b=0;f.length>b;++b)v=tie[255&v^f[b]]^v>>>8;h=v},d(){return 4294967295^h}}})(),a=e.length;o.p(e);var n,i,l,c,d,p=(c=10+((n=t).filename&&n.filename.length+1||0),d=8,(function(h,f,v,b,S,_){var T=h.length,x=new Jn(b+T+5*(1+Math.floor(T/7e3))+S),E=x.subarray(b,x.length-S),C=0;if(!f||8>T)for(var P=0;T>=P;P+=65535){var R=P+65535;T>R?C=qT(E,C,h.subarray(P,R)):(E[P]=!0,C=qT(E,C,h.subarray(P,T)))}else{for(var D=eie[f-1],O=D>>>13,L=8191&D,q=(1<<v)-1,B=new dn(32768),U=new dn(q+1),F=Math.ceil(v/3),W=2*F,ae=function(He){return(h[He]^h[He+1]<<F^h[He+2]<<W)&q},H=new kd(25e3),K=new dn(288),J=new dn(32),le=0,Q=0,N=(P=0,0),G=0,V=0;T>P;++P){var I=ae(P),z=32767&P,X=U[I];if(B[z]=X,U[I]=z,P>=G){var pe=T-P;if((le>7e3||N>24576)&&pe>423){C=gO(h,E,0,H,K,J,Q,N,V,P-V,C),N=le=Q=0,V=P;for(var he=0;286>he;++he)K[he]=0;for(he=0;30>he;++he)J[he]=0}var _e=2,qe=0,Z=L,ne=z-X&32767;if(pe>2&&I==ae(P-ne))for(var ve=Math.min(O,pe)-1,ie=Math.min(32767,P),Te=Math.min(258,pe);ie>=ne&&--Z&&z!=X;){if(h[P+_e]==h[P+_e-ne]){for(var Ce=0;Te>Ce&&h[P+Ce]==h[P+Ce-ne];++Ce);if(Ce>_e){if(_e=Ce,qe=ne,Ce>ve)break;var it=Math.min(ne,Ce-2),lt=0;for(he=0;it>he;++he){var Ge=P-ne+he+32768&32767,tt=Ge-B[Ge]+32768&32767;tt>lt&&(lt=tt,X=Ge)}}}ne+=(z=X)-(X=B[z])+32768&32767}if(qe){H[N++]=268435456|zT[_e]<<18|mO[qe];var Me=31&zT[_e],De=31&mO[qe];Q+=K_[Me]+Y_[De],++K[257+Me],++J[De],G=P+_e,++le}else H[N++]=h[P],++K[h[P]]}}C=gO(h,E,!0,H,K,J,Q,N,V,P-V,C)}return Lj(x,0,b+Ij(C)+S)})(i=e,(l=t).level==null?6:l.level,l.mem==null?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(i.length)))):12+l.mem,c,d)),m=p.length;return(function(h,f){var v=f.filename;if(h[0]=31,h[1]=139,h[2]=8,h[8]=2>f.level?4:f.level==9?2:0,h[9]=3,f.mtime!=0&&A0(h,4,Math.floor(new Date(f.mtime||Date.now())/1e3)),v){h[3]=8;for(var b=0;v.length>=b;++b)h[b+10]=v.charCodeAt(b)}})(p,t),A0(p,m-8,o.d()),A0(p,m-4,a),p}var aie=!!pT||!!uT,Bj="text/plain",fO=!1,$v=function(e,t,o){var a;o===void 0&&(o=!0);var[n,i]=e.split("?"),l=Ne({},t),c=(a=i?.split("&").map((p=>{var m,[h,f]=p.split("="),v=o&&(m=l[h])!==null&&m!==void 0?m:f;return delete l[h],h+"="+v})))!==null&&a!==void 0?a:[],d=(function(p,m){var h,f;m===void 0&&(m="&");var v=[];return go(p,(function(b,S){$e(b)||$e(S)||S==="undefined"||(h=encodeURIComponent((_=>_ instanceof File)(b)?b.name:b.toString()),f=encodeURIComponent(S),v[v.length]=f+"="+h)})),v.join(m)})(l);return d&&c.push(d),n+"?"+c.join("&")},td=(e,t)=>JSON.stringify(e,((o,a)=>typeof a=="bigint"?a.toString():a),t),R0=e=>{if(e.tr)return e.tr;var{data:t,compression:o}=e;if(t){if(o===Lr.GZipJS){var a=oie((function(c,d){var p=c.length;if(typeof TextEncoder<"u")return new TextEncoder().encode(c);for(var m=new Jn(c.length+(c.length>>>1)),h=0,f=function(_){m[h++]=_},v=0;p>v;++v){if(h+5>m.length){var b=new Jn(h+8+(p-v<<1));b.set(m),m=b}var S=c.charCodeAt(v);128>S?f(S):2048>S?(f(192|S>>>6),f(128|63&S)):S>55295&&57344>S?(f(240|(S=65536+(1047552&S)|1023&c.charCodeAt(++v))>>>18),f(128|S>>>12&63),f(128|S>>>6&63),f(128|63&S)):(f(224|S>>>12),f(128|S>>>6&63),f(128|63&S))}return Lj(m,0,h)})(td(t)),{mtime:0});return{contentType:Bj,body:a.buffer.slice(a.byteOffset,a.byteOffset+a.byteLength),estimatedSize:a.byteLength}}if(o===Lr.Base64){var n=(function(c){return c&&btoa(encodeURIComponent(c).replace(/%([0-9A-F]{2})/g,((d,p)=>String.fromCharCode(parseInt(p,16)))))})(td(t)),i=(c=>"data="+encodeURIComponent(typeof c=="string"?c:td(c)))(n);return{contentType:"application/x-www-form-urlencoded",body:i,estimatedSize:new Blob([i]).size}}var l=td(t);return{contentType:"application/json",body:l,estimatedSize:new Blob([l]).size}}},nie=(function(){var e=Kn((function*(t){var o=td(t.data),a=yield(function(i,l,c){return mT.apply(this,arguments)})(o,Ga.DEBUG,{rethrow:!0});if(!a)return t;var n=yield a.arrayBuffer();return Ne({},t,{tr:{contentType:Bj,body:n,estimatedSize:n.byteLength}})}));return function(t){return e.apply(this,arguments)}})(),vO=(e,t)=>$v(e,{_:new Date().getTime().toString(),ver:Ga.JS_SDK_VERSION,compression:t}),sf=[];uT&&sf.push({transport:"fetch",method(e){var t,o,{contentType:a,body:n,estimatedSize:i}=(t=R0(e))!==null&&t!==void 0?t:{},l=new Headers;go(e.headers,(function(m,h){l.append(h,m)})),a&&l.append("Content-Type",a);var c=e.url,d=null;if(KD){var p=new KD;d={signal:p.signal,timeout:setTimeout((()=>p.abort()),e.timeout)}}uT(c,Ne({method:e?.method||"GET",headers:l,keepalive:e.method==="POST"&&52428.8>(i||0),body:n,signal:(o=d)==null?void 0:o.signal},e.fetchOptions)).then((m=>m.text().then((h=>{var f={statusCode:m.status,text:h};if(m.status===200)try{f.json=JSON.parse(h)}catch(v){Ue.error(v)}e.callback==null||e.callback(f)})))).catch((m=>{Ue.error(m),e.callback==null||e.callback({statusCode:0,error:m})})).finally((()=>d?clearTimeout(d.timeout):null))}}),pT&&sf.push({transport:"XHR",method(e){var t,o=new pT;o.open(e.method||"GET",e.url,!0);var{contentType:a,body:n}=(t=R0(e))!==null&&t!==void 0?t:{};go(e.headers,(function(i,l){o.setRequestHeader(l,i)})),a&&o.setRequestHeader("Content-Type",a),e.timeout&&(o.timeout=e.timeout),e.disableXHRCredentials||(o.withCredentials=!0),o.onreadystatechange=()=>{if(o.readyState===4){var i={statusCode:o.status,text:o.responseText};if(o.status===200)try{i.json=JSON.parse(o.responseText)}catch{}e.callback==null||e.callback(i)}},o.send(n)}}),Pn!=null&&Pn.sendBeacon&&sf.push({transport:"sendBeacon",method(e){var t=$v(e.url,{beacon:"1"});try{var o,{contentType:a,body:n}=(o=R0(e))!==null&&o!==void 0?o:{};if(!n)return;var i=n instanceof Blob?n:new Blob([n],{type:a});Pn.sendBeacon(t,i)}catch{}}});var $T=3e3;class rie{constructor(t,o){this.Pr=!0,this.Lr=[],this.Dr=$r(o?.flush_interval_ms||$T,250,5e3,Ue.createLogger("flush interval"),$T),this.Br=t}enqueue(t){this.Lr.push(t),this.jr||this.$r()}unload(){this.qr();var t=this.Lr.length>0?this.Zr():{},o=Object.values(t);[...o.filter((a=>a.url.indexOf("/e")===0)),...o.filter((a=>a.url.indexOf("/e")!==0))].map((a=>{this.Br(Ne({},a,{transport:"sendBeacon"}))}))}enable(){this.Pr=!1,this.$r()}$r(){var t=this;this.Pr||(this.jr=setTimeout((()=>{if(this.qr(),this.Lr.length>0){var o=this.Zr(),a=function(){var i=o[n],l=new Date().getTime();i.data&&It(i.data)&&go(i.data,(c=>{c.offset=Math.abs(c.timestamp-l),delete c.timestamp})),t.Br(i)};for(var n in o)a()}}),this.Dr))}qr(){clearTimeout(this.jr),this.jr=void 0}Zr(){var t={};return go(this.Lr,(o=>{var a,n=o,i=(n?n.batchKey:null)||n.url;$e(t[i])&&(t[i]=Ne({},n,{data:[]})),(a=t[i].data)==null||a.push(n.data)})),this.Lr=[],t}}var iie=["retriesPerformedSoFar"];class sie{constructor(t){this.Vr=!1,this.Hr=3e3,this.Lr=[],this._instance=t,this.Lr=[],this.zr=!0,!$e(ge)&&"onLine"in ge.navigator&&(this.zr=ge.navigator.onLine,this.Ur=()=>{this.zr=!0,this.Yr()},this.Gr=()=>{this.zr=!1},Zo(ge,"online",this.Ur),Zo(ge,"offline",this.Gr))}get length(){return this.Lr.length}retriableRequest(t){var{retriesPerformedSoFar:o}=t,a=zF(t,iie);Gc(o)&&(a.url=$v(a.url,{retry_count:o})),this._instance._send_request(Ne({},a,{callback:n=>{n.statusCode===200||n.statusCode>=400&&500>n.statusCode||(o??0)>=10?a.callback==null||a.callback(n):this.Wr(Ne({retriesPerformedSoFar:o},a))}}))}Wr(t){var o=t.retriesPerformedSoFar||0;t.retriesPerformedSoFar=o+1;var a=(function(l){var c=3e3*Math.pow(2,l),d=c/2,p=Math.min(18e5,c),m=Math.random()-.5;return Math.ceil(p+m*(p-d))})(o),n=Date.now()+a;this.Lr.push({retryAt:n,requestOptions:t});var i="Enqueued failed request for retry in "+a;navigator.onLine||(i+=" (Browser is offline)"),Ue.warn(i),this.Vr||(this.Vr=!0,this.Xr())}Xr(){if(this.Jr&&clearTimeout(this.Jr),this.Lr.length===0)return this.Vr=!1,void(this.Jr=void 0);this.Jr=setTimeout((()=>{this.zr&&this.Lr.length>0&&this.Yr(),this.Xr()}),this.Hr)}Yr(){var t=Date.now(),o=[],a=this.Lr.filter((i=>t>i.retryAt||(o.push(i),!1)));if(this.Lr=o,a.length>0)for(var{requestOptions:n}of a)this.retriableRequest(n)}unload(){for(var{requestOptions:t}of(this.Jr&&(clearTimeout(this.Jr),this.Jr=void 0),this.Vr=!1,$e(ge)||(this.Ur&&(ge.removeEventListener("online",this.Ur),this.Ur=void 0),this.Gr&&(ge.removeEventListener("offline",this.Gr),this.Gr=void 0)),this.Lr))try{this._instance._send_request(Ne({},t,{transport:"sendBeacon"}))}catch(o){Ue.error(o)}this.Lr=[]}}class lie{constructor(t){this.Kr=()=>{var o,a,n,i;this.Qr||(this.Qr={});var l=this.scrollElement(),c=this.scrollY(),d=l?Math.max(0,l.scrollHeight-l.clientHeight):0,p=c+(l?.clientHeight||0),m=l?.scrollHeight||0;this.Qr.lastScrollY=Math.ceil(c),this.Qr.maxScrollY=Math.max(c,(o=this.Qr.maxScrollY)!==null&&o!==void 0?o:0),this.Qr.maxScrollHeight=Math.max(d,(a=this.Qr.maxScrollHeight)!==null&&a!==void 0?a:0),this.Qr.lastContentY=p,this.Qr.maxContentY=Math.max(p,(n=this.Qr.maxContentY)!==null&&n!==void 0?n:0),this.Qr.maxContentHeight=Math.max(m,(i=this.Qr.maxContentHeight)!==null&&i!==void 0?i:0)},this._instance=t}get ei(){return this._instance.config.scroll_root_selector}getContext(){return this.Qr}resetContext(){var t=this.Qr;return setTimeout(this.Kr,0),t}startMeasuringScrollPosition(){Zo(ge,"scroll",this.Kr,{capture:!0}),Zo(ge,"scrollend",this.Kr,{capture:!0}),Zo(ge,"resize",this.Kr)}scrollElement(){if(!this.ei)return ge?.document.documentElement;var t=It(this.ei)?this.ei:[this.ei];for(var o of t){var a=ge?.document.querySelector(o);if(a)return a}}scrollY(){if(this.ei){var t=this.scrollElement();return t&&t.scrollTop||0}return ge&&(ge.scrollY||ge.pageYOffset||ge.document.documentElement.scrollTop)||0}scrollX(){if(this.ei){var t=this.scrollElement();return t&&t.scrollLeft||0}return ge&&(ge.scrollX||ge.pageXOffset||ge.document.documentElement.scrollLeft)||0}}var cie=e=>Ej(e?.config.mask_personal_data_properties,e?.config.custom_personal_data_properties);class bO{constructor(t,o,a,n){this.ti=i=>{var l=this.ri();if(!l||l.sessionId!==i){var c={sessionId:i,props:this.ii(this._instance)};this.ni.register({[NT]:c})}},this._instance=t,this.si=o,this.ni=a,this.ii=n||cie,this.si.onSessionId(this.ti)}ri(){return this.ni.props[NT]}getSetOnceProps(){var t,o=(t=this.ri())==null?void 0:t.props;return o?"r"in o?Aj(o):{$referring_domain:o.referringDomain,$pathname:o.initialPathName,utm_source:o.utm_source,utm_campaign:o.utm_campaign,utm_medium:o.utm_medium,utm_content:o.utm_content,utm_term:o.utm_term}:{}}getSessionProps(){var t={};return go(W_(this.getSetOnceProps()),((o,a)=>{a==="$current_url"&&(a="url"),t["$session_entry_"+hT(a)]=o})),t}}class Z_{constructor(){this.oi={}}on(t,o){return this.oi[t]||(this.oi[t]=[]),this.oi[t].push(o),()=>{this.oi[t]=this.oi[t].filter((a=>a!==o))}}emit(t,o){for(var a of this.oi[t]||[])a(o);for(var n of this.oi["*"]||[])n(t,o)}}var D0=wo("[SessionId]");class yO{on(t,o){return this.ai.on(t,o)}constructor(t,o,a){var n;if(this.li=[],this.ui=void 0,this.ai=new Z_,this.hi=(p,m)=>!(!Gc(p)||!Gc(m))&&Math.abs(p-m)>this.sessionTimeoutMs,!t.persistence)throw new Error("SessionIdManager requires a PostHogPersistence instance");if(t.config.cookieless_mode===_i)throw new Error('SessionIdManager cannot be used with cookieless_mode="always"');this.Bt=t.config,this.ni=t.persistence,this.ci=void 0,this.di=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this.vi=o||ws,this.fi=a||ws;var i=this.Bt.persistence_name||this.Bt.token;if(this._sessionTimeoutMs=1e3*$r(this.Bt.session_idle_timeout_seconds||1800,60,36e3,D0.createLogger("session_idle_timeout_seconds"),1800),t.register({$configured_session_timeout_ms:this._sessionTimeoutMs}),this.pi(),this.gi="ph_"+i+"_window_id",this.mi="ph_"+i+"_primary_window_exists",this.yi()){var l=Ta.Z(this.gi),c=Ta.Z(this.mi);l&&!c?this.ci=l:Ta.F(this.gi),Ta.M(this.mi,!0)}if((n=this.Bt.bootstrap)!=null&&n.sessionID)try{var d=(p=>{var m=this.Bt.bootstrap.sessionID.replace(/-/g,"");if(m.length!==32)throw new Error("Not a valid UUID");if(m[12]!=="7")throw new Error("Not a UUIDv7");return parseInt(m.substring(0,12),16)})();this.bi(this.Bt.bootstrap.sessionID,new Date().getTime(),d)}catch(p){D0.error("Invalid sessionID in bootstrap",p)}this.wi()}get sessionTimeoutMs(){return this._sessionTimeoutMs}onSessionId(t){return $e(this.li)&&(this.li=[]),this.li.push(t),this.di&&t(this.di,this.ci),()=>{this.li=this.li.filter((o=>o!==t))}}yi(){return this.Bt.persistence!=="memory"&&!this.ni._r&&Ta.R()}Ii(t){t!==this.ci&&(this.ci=t,this.yi()&&Ta.M(this.gi,t))}Ci(){return this.ci?this.ci:this.yi()?Ta.Z(this.gi):null}bi(t,o,a){t===this.di&&o===this._sessionActivityTimestamp&&a===this._sessionStartTimestamp||(this._sessionStartTimestamp=a,this._sessionActivityTimestamp=o,this.di=t,this.ni.register({[qf]:[o,t,a]}))}Si(){var t=this.ni.props[qf];return It(t)&&t.length===2&&t.push(t[0]),t||[0,null,0]}resetSessionId(){this.bi(null,null,null)}destroy(){clearTimeout(this.xi),this.xi=void 0,this.ui&&ge&&(ge.removeEventListener(Wf,this.ui,{capture:!1}),this.ui=void 0),this.li=[]}wi(){this.ui=()=>{this.yi()&&Ta.F(this.mi)},Zo(ge,Wf,this.ui,{capture:!1})}checkAndGetSessionAndWindowId(t,o){if(t===void 0&&(t=!1),o===void 0&&(o=null),this.Bt.cookieless_mode===_i)throw new Error('checkAndGetSessionAndWindowId should not be called with cookieless_mode="always"');var a=o||new Date().getTime(),[n,i,l]=this.Si(),c=this.Ci(),d=Gc(l)&&Math.abs(a-l)>864e5,p=!1,m=!i,h=!m&&!t&&this.hi(a,n);m||h||d?(i=this.vi(),c=this.fi(),D0.info("new session ID generated",{sessionId:i,windowId:c,changeReason:{noSessionId:m,activityTimeout:h,sessionPastMaximumLength:d}}),l=a,p=!0):c||(c=this.fi(),p=!0);var f=Gc(n)&&t&&!d?n:a,v=Gc(l)?l:new Date().getTime();return this.Ii(c),this.bi(i,f,v),t||this.pi(),p&&this.li.forEach((b=>b(i,c,p?{noSessionId:m,activityTimeout:h,sessionPastMaximumLength:d}:void 0))),{sessionId:i,windowId:c,sessionStartTimestamp:v,changeReason:p?{noSessionId:m,activityTimeout:h,sessionPastMaximumLength:d}:void 0,lastActivityTimestamp:n}}pi(){clearTimeout(this.xi),this.xi=setTimeout((()=>{var[t]=this.Si();if(this.hi(new Date().getTime(),t)){var o=this.di;this.resetSessionId(),this.ai.emit("forcedIdleReset",{idleSessionId:o})}}),1.1*this.sessionTimeoutMs)}}var Fj=function(e,t){if(!e)return!1;var o=e.userAgent;if(o&&QD(o,t))return!0;try{var a=e?.userAgentData;if(a!=null&&a.brands&&a.brands.some((n=>QD(n?.brand,t))))return!0}catch{}return!!e.webdriver},ev=function(e,t){if(!(function(o){try{new RegExp(o)}catch{return!1}return!0})(t))return!1;try{return new RegExp(t).test(e)}catch{return!1}};function SO(e,t,o){return td({distinct_id:e,userPropertiesToSet:t,userPropertiesToSetOnce:o})}var jj={exact:(e,t)=>t.some((o=>e.some((a=>o===a)))),is_not:(e,t)=>t.every((o=>e.every((a=>o!==a)))),regex:(e,t)=>t.some((o=>e.some((a=>ev(o,a))))),not_regex:(e,t)=>t.every((o=>e.every((a=>!ev(o,a))))),icontains:(e,t)=>t.map(Fg).some((o=>e.map(Fg).some((a=>o.includes(a))))),not_icontains:(e,t)=>t.map(Fg).every((o=>e.map(Fg).every((a=>!o.includes(a))))),gt:(e,t)=>t.some((o=>{var a=parseFloat(o);return!isNaN(a)&&e.some((n=>a>parseFloat(n)))})),lt:(e,t)=>t.some((o=>{var a=parseFloat(o);return!isNaN(a)&&e.some((n=>a<parseFloat(n)))}))},Fg=e=>e.toLowerCase();function zj(e,t){return!e||Object.entries(e).every((o=>{var[a,n]=o,i=t?.[a];if($e(i)||Ni(i))return!1;var l=[String(i)],c=jj[n.operator];return!!c&&c(n.values,l)}))}var VT="custom",wO="i.posthog.com",die=/^\/static\//;class uie{constructor(t){this.ki={},this.instance=t}get apiHost(){var t=this.instance.config.api_host.trim().replace(/\/$/,"");return t==="https://app.posthog.com"?"https://us.i.posthog.com":t}get flagsApiHost(){var t=this.instance.config.flags_api_host;return t?t.trim().replace(/\/$/,""):this.apiHost}get uiHost(){var t,o=(t=this.instance.config.ui_host)==null?void 0:t.replace(/\/$/,"");return o||(o=this.apiHost.replace("."+wO,".posthog.com")),o==="https://app.posthog.com"?"https://us.posthog.com":o}get region(){return this.ki[this.apiHost]||(this.ki[this.apiHost]=/https:\/\/(app|us|us-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?"us":/https:\/\/(eu|eu-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?"eu":VT),this.ki[this.apiHost]}Ti(t){var o=this.instance.config.__preview_external_dependency_versioned_paths;if(typeof o=="string"&&die.test(t))return o.trim().replace(/\/$/,"")||void 0}endpointFor(t,o){if(o===void 0&&(o=""),o&&(o=o[0]==="/"?o:"/"+o),t==="ui")return this.uiHost+o;if(t==="flags")return this.flagsApiHost+o;if(t==="assets"){var a=this.Ti(o);if(a)return""+a+o}if(this.region===VT)return this.apiHost+o;var n=wO+o;switch(t){case"assets":return"https://"+this.region+"-assets."+n;case"api":return"https://"+this.region+"."+n}}}var oo=wo("[Surveys]"),HT="seenSurvey_",pie=[C0.Popover,C0.Widget,C0.API],mie={ignoreConditions:!1,ignoreDelay:!1,displayType:jT.Popover},hie=wo("[PostHog ExternalIntegrations]"),gie={intercom:"intercom-integration",crispChat:"crisp-chat-integration"};class fie{constructor(t){this._instance=t}ur(t,o){var a;(a=et.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this._instance,t,(n=>{if(n)return hie.error("failed to load script",n);o()}))}startIfEnabledOrStop(){var t=this,o=function(l){var c,d,p;!n||(c=et.__PosthogExtensions__)!=null&&(c=c.integrations)!=null&&c[l]||t.ur(gie[l],(()=>{var m;(m=et.__PosthogExtensions__)==null||(m=m.integrations)==null||(m=m[l])==null||m.start(t._instance)})),!n&&(d=et.__PosthogExtensions__)!=null&&(d=d.integrations)!=null&&d[l]&&((p=et.__PosthogExtensions__)==null||(p=p.integrations)==null||(p=p[l])==null||p.stop())};for(var[a,n]of Object.entries((i=this._instance.config.integrations)!==null&&i!==void 0?i:{})){var i;o(a)}}}var Fc,pp={},O0=0,GT=()=>{},TO='Consent opt in/out is not valid with cookieless_mode="always" and will be ignored',Uu="Surveys module not available",xO="sanitize_properties is deprecated. Use before_send instead",Uj="Invalid value for property_denylist config: ",Yc="posthog",qj=!aie&&sn?.indexOf("MSIE")===-1&&sn?.indexOf("Mozilla")===-1,_O=e=>{var t;return Ne({api_host:"https://us.i.posthog.com",flags_api_host:null,ui_host:null,token:"",autocapture:!0,cross_subdomain_cookie:Mre(ze?.location),persistence:"localStorage+cookie",persistence_name:"",cookie_persisted_properties:[],loaded:GT,save_campaign_params:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageleave:"if_capture_pageview",defaults:e??"unset",__preview_deferred_init_extensions:!1,__preview_external_dependency_versioned_paths:!1,debug:wa&&Co(wa?.search)&&wa.search.indexOf("__posthog_debug=true")!==-1||!1,cookie_expiration:365,upgrade:!1,disable_session_recording:!1,disable_persistence:!1,disable_web_experiments:!0,disable_surveys:!1,disable_surveys_automatic_display:!1,disable_conversations:!1,disable_product_tours:!1,disable_external_dependency_loading:!1,enable_recording_console_log:void 0,secure_cookie:(ge==null||(t=ge.location)==null?void 0:t.protocol)==="https:",ip:!1,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:"localStorage",consent_persistence_name:null,opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_denylist:[],respect_dnt:!1,sanitize_properties:null,request_headers:{},request_batching:!0,properties_string_max_length:65535,mask_all_element_attributes:!1,mask_all_text:!1,mask_personal_data_properties:!1,custom_personal_data_properties:[],advanced_disable_flags:!1,advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_only_evaluate_survey_feature_flags:!1,advanced_feature_flags_dedup_per_session:!1,advanced_enable_surveys:!1,advanced_disable_toolbar_metrics:!1,feature_flag_request_timeout_ms:3e3,surveys_request_timeout_ms:1e4,on_request_error(o){Ue.error("Bad HTTP status: "+o.statusCode+" "+o.text)},get_device_id:o=>o,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:FT,before_send:void 0,request_queue_config:{flush_interval_ms:$T},error_tracking:{},_onCapture:GT,__preview_eager_load_replay:!1},(o=>({rageclick:!o||"2025-11-30">o||{content_ignorelist:!0},capture_pageview:!o||"2025-05-24">o||"history_change",session_recording:o&&o>="2025-11-30"?{strictMinimumDuration:!0}:{},external_scripts_inject_target:o&&o>="2026-01-30"?"head":"body",internal_or_test_user_hostname:o&&o>="2026-01-30"?/^(localhost|127\.0\.0\.1)$/:void 0}))(e))},vie=[["process_person","person_profiles"],["xhr_headers","request_headers"],["cookie_name","persistence_name"],["disable_cookie","disable_persistence"],["store_google","save_campaign_params"],["verbose","debug"]],kO=e=>{var t={};for(var[o,a]of vie)$e(e[o])||(t[a]=e[o]);var n=Mo({},t,e);return It(e.property_blacklist)&&($e(e.property_denylist)?n.property_denylist=e.property_blacklist:It(e.property_denylist)?n.property_denylist=[...e.property_blacklist,...e.property_denylist]:Ue.error(Uj+e.property_denylist)),n};class bie{constructor(){this.__forceAllowLocalhost=!1}get Ai(){return this.__forceAllowLocalhost}set Ai(t){Ue.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=t}}class Yn{Ei(t,o){if(t){var a=this.Ri.indexOf(t);a!==-1&&this.Ri.splice(a,1)}return this.Ri.push(o),o.initialize==null||o.initialize(),o}Ni(){return this.config.cookieless_mode===_i||this.config.cookieless_mode===fl&&this.consent.isRejected()}get decideEndpointWasHit(){var t,o;return(t=(o=this.featureFlags)==null?void 0:o.hasLoadedFlags)!==null&&t!==void 0&&t}get flagsEndpointWasHit(){var t,o;return(t=(o=this.featureFlags)==null?void 0:o.hasLoadedFlags)!==null&&t!==void 0&&t}constructor(){var t;this.webPerformance=new bie,this.Mi=!1,this.version=Ga.LIB_VERSION,this.Fi=new Z_,this.Ri=[],this._calculate_event_properties=this.calculateEventProperties.bind(this),this.config=_O(),this.SentryIntegration=$re,this.sentryIntegration=a=>(function(n,i){var l=xj(n,i);return{name:Tj,processEvent:c=>l(c)}})(this,a),this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.Oi=!1,this.Pi=null,this.Li=null,this.Di=null,this.scrollManager=new lie(this),this.pageViewManager=new lO(this),this.rateLimiter=new Qre(this),this.requestRouter=new uie(this),this.consent=new zre(this),this.externalIntegrations=new fie(this);var o=(t=Yn.__defaultExtensionClasses)!==null&&t!==void 0?t:{};this.featureFlags=o.featureFlags&&new o.featureFlags(this),this.toolbar=o.toolbar&&new o.toolbar(this),this.surveys=o.surveys&&new o.surveys(this),this.conversations=o.conversations&&new o.conversations(this),this.logs=o.logs&&new o.logs(this),this.experiments=o.experiments&&new o.experiments(this),this.exceptions=o.exceptions&&new o.exceptions(this),this.people={set:(a,n,i)=>{var l=Co(a)?{[a]:n}:a;this.setPersonProperties(l),i?.({})},set_once:(a,n,i)=>{var l=Co(a)?{[a]:n}:a;this.setPersonProperties(void 0,l),i?.({})}},this.on("eventCaptured",(a=>Ue.info('send "'+a?.event+'"',a)))}init(t,o,a){if(a&&a!==Yc){var n,i=(n=pp[a])!==null&&n!==void 0?n:new Yn;return i._init(t,o,a),pp[a]=i,pp[Yc][a]=i,i}return this._init(t,o,a)}_init(t,o,a){var n,i;if(o===void 0&&(o={}),$e(t)||of(t))return Ue.critical("PostHog was initialized without a token. This likely indicates a misconfiguration. Please check the first argument passed to posthog.init()"),this;if(this.__loaded)return console.warn("[PostHog.js]","You have already initialized PostHog! Re-initializing is a no-op"),this;this.__loaded=!0,this.config={},o.debug=this.Bi(o.debug),this.ji=o,this.$i=[],o.person_profiles?this.Li=o.person_profiles:o.process_person&&(this.Li=o.process_person),this.set_config(Mo({},_O(o.defaults),kO(o),{name:a,token:t})),this.config.on_xhr_error&&Ue.error("on_xhr_error is deprecated. Use on_request_error instead"),this.compression=o.disable_compression?void 0:Lr.GZipJS;var l=this.qi();this.persistence=new k0(this.config,l),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new k0(Ne({},this.config,{persistence:"sessionStorage"}),l);var c=Ne({},this.persistence.props),d=Ne({},this.sessionPersistence.props);this.register({$initialization_time:new Date().toISOString()}),this.Zi=new rie((_=>this.Vi(_)),this.config.request_queue_config),this.Hi=new sie(this),this.__request_queue=[];var p=this.Ni();if(p||(this.sessionManager=new yO(this),this.sessionPropsManager=new bO(this,this.sessionManager,this.persistence)),this.config.__preview_deferred_init_extensions?(Ue.info("Deferring extension initialization to improve startup performance"),setTimeout((()=>{this.zi(p)}),0)):(Ue.info("Initializing extensions synchronously"),this.zi(p)),Ga.DEBUG=Ga.DEBUG||this.config.debug,Ga.DEBUG&&Ue.info("Starting in debug mode",{this:this,config:o,thisC:Ne({},this.config),p:c,s:d}),!this.config.identity_distinct_id||(n=o.bootstrap)!=null&&n.distinctID||(o.bootstrap=Ne({},o.bootstrap,{distinctID:this.config.identity_distinct_id,isIdentifiedID:!0})),((i=o.bootstrap)==null?void 0:i.distinctID)!==void 0){var m=o.bootstrap.distinctID,h=this.get_distinct_id(),f=this.persistence.get_property(pr);if(o.bootstrap.isIdentifiedID&&h!=null&&h!==m&&f===Ic)this.identify(m);else if(o.bootstrap.isIdentifiedID&&h!=null&&h!==m&&f===Lc)Ue.warn("Bootstrap distinctID differs from an already-identified user. The existing identity is preserved. Call reset() before reinitializing if you intend to switch users.");else{var v=this.config.get_device_id(ws()),b=o.bootstrap.isIdentifiedID?v:m;this.persistence.set_property(pr,o.bootstrap.isIdentifiedID?Lc:Ic),this.register({distinct_id:m,$device_id:b})}}if(p)this.register_once({distinct_id:Mg,$device_id:null},"");else if(!this.get_distinct_id()){var S=this.config.get_device_id(ws());this.register_once({distinct_id:S,$device_id:S},""),this.persistence.set_property(pr,Ic)}return Zo(ge,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this),{passive:!1}),o.segment?(function(_,T){var x=_.config.segment;if(!x)return T();(function(E,C){var P=E.config.segment;if(!P)return C();var R=O=>{var L=()=>O.anonymousId()||ws();E.config.get_device_id=L,O.id()&&(E.register({distinct_id:O.id(),$device_id:L()}),E.persistence.set_property(pr,Lc)),C()},D=P.user();"then"in D&&xi(D.then)?D.then(R):R(D)})(_,(()=>{x.register((E=>{Promise&&Promise.resolve||_0.warn("This browser does not have Promise support, and can not use the segment integration");var C=(P,R)=>{if(!R)return P;P.event.userId||P.event.anonymousId===E.get_distinct_id()||(_0.info("No userId set, resetting PostHog"),E.reset()),P.event.userId&&P.event.userId!==E.get_distinct_id()&&(_0.info("UserId set, identifying with PostHog"),E.identify(P.event.userId));var D=E.calculateEventProperties(R,P.event.properties);return P.event.properties=Object.assign({},D,P.event.properties),P};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:P=>C(P,P.event.event),page:P=>C(P,Kc),identify:P=>C(P,T0),screen:P=>C(P,"$screen")}})(_)).then((()=>{T()}))}))})(this,(()=>this.Ui())):this.Ui(),xi(this.config._onCapture)&&this.config._onCapture!==GT&&(Ue.warn("onCapture is deprecated. Please use `before_send` instead"),this.on("eventCaptured",(_=>this.config._onCapture(_.event,_)))),this.config.ip&&Ue.warn('The `ip` config option has NO EFFECT AT ALL and has been deprecated. Use a custom transformation or "Discard IP data" project setting instead. See https://posthog.com/tutorials/web-redact-properties#hiding-customer-ip-address for more information.'),this}zi(t){var o,a,n,i,l,c,d,p=performance.now(),m=Ne({},Yn.__defaultExtensionClasses,this.config.__extensionClasses),h=[];m.featureFlags&&this.Ri.push(this.featureFlags=(o=this.featureFlags)!==null&&o!==void 0?o:new m.featureFlags(this)),m.exceptions&&this.Ri.push(this.exceptions=(a=this.exceptions)!==null&&a!==void 0?a:new m.exceptions(this)),m.historyAutocapture&&this.Ri.push(this.historyAutocapture=new m.historyAutocapture(this)),m.tracingHeaders&&this.Ri.push(new m.tracingHeaders(this)),m.siteApps&&this.Ri.push(this.siteApps=new m.siteApps(this)),m.sessionRecording&&!t&&this.Ri.push(this.sessionRecording=new m.sessionRecording(this)),this.config.disable_scroll_properties||h.push((()=>{this.scrollManager.startMeasuringScrollPosition()})),m.autocapture&&this.Ri.push(this.autocapture=new m.autocapture(this)),m.surveys&&this.Ri.push(this.surveys=(n=this.surveys)!==null&&n!==void 0?n:new m.surveys(this)),m.logs&&this.Ri.push(this.logs=(i=this.logs)!==null&&i!==void 0?i:new m.logs(this)),m.conversations&&this.Ri.push(this.conversations=(l=this.conversations)!==null&&l!==void 0?l:new m.conversations(this)),m.productTours&&this.Ri.push(this.productTours=new m.productTours(this)),m.heatmaps&&this.Ri.push(this.heatmaps=new m.heatmaps(this)),m.webVitalsAutocapture&&this.Ri.push(this.webVitalsAutocapture=new m.webVitalsAutocapture(this)),m.exceptionObserver&&this.Ri.push(this.exceptionObserver=new m.exceptionObserver(this)),m.deadClicksAutocapture&&this.Ri.push(this.deadClicksAutocapture=new m.deadClicksAutocapture(this,qre)),m.toolbar&&this.Ri.push(this.toolbar=(c=this.toolbar)!==null&&c!==void 0?c:new m.toolbar(this)),m.experiments&&this.Ri.push(this.experiments=(d=this.experiments)!==null&&d!==void 0?d:new m.experiments(this)),this.Ri.forEach((f=>{f.initialize&&h.push((()=>{f.initialize==null||f.initialize()}))})),h.push((()=>{if(this.Yi){var f=this.Yi;this.Yi=void 0,this.Nr(f)}})),this.Gi(h,p)}Gi(t,o){for(;t.length>0;){if(this.config.__preview_deferred_init_extensions&&performance.now()-o>=30&&t.length>0)return void setTimeout((()=>{this.Gi(t,o)}),0);var a=t.shift();if(a)try{a()}catch(i){Ue.error("Error initializing extension:",i)}}var n=Math.round(performance.now()-o);this.register_for_session({[vj]:this.config.__preview_deferred_init_extensions?"deferred":"synchronous",[bj]:n}),this.config.__preview_deferred_init_extensions&&Ue.info("PostHog extensions initialized ("+n+"ms)")}Nr(t){var o;if(!ze||!ze.body)return Ue.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout((()=>{this.Nr(t)}),500);this.config.__preview_deferred_init_extensions&&(this.Yi=t),this.Wi=t,this.compression=void 0,t.supportedCompression&&!this.config.disable_compression&&(this.compression=kt(t.supportedCompression,Lr.GZipJS)?Lr.GZipJS:kt(t.supportedCompression,Lr.Base64)?Lr.Base64:void 0),(o=t.analytics)!=null&&o.endpoint&&(this.analyticsDefaultEndpoint=t.analytics.endpoint),this.set_config({person_profiles:this.Li?this.Li:FT}),this.Ri.forEach((a=>a.onRemoteConfig==null?void 0:a.onRemoteConfig(t)))}Ui(){try{this.config.loaded(this)}catch(a){Ue.critical("`loaded` function failed",a)}if(this.Xi(),this.config.internal_or_test_user_hostname&&wa!=null&&wa.hostname){var t=wa.hostname,o=this.config.internal_or_test_user_hostname;(typeof o=="string"?t===o:o.test(t))&&this.setInternalOrTestUser()}this.config.capture_pageview&&setTimeout((()=>{(this.consent.isOptedIn()||this.Ni())&&this.Ji()}),1),this.Ki=new Dj(this),this.Ki.load()}Xi(){var t;this.is_capturing()&&this.config.request_batching&&((t=this.Zi)==null||t.enable())}_dom_loaded(){this.is_capturing()&&Ng(this.__request_queue,(t=>this.Vi(t))),this.__request_queue=[],this.Xi()}_handle_unload(){var t,o,a,n;(t=this.surveys)==null||t.handlePageUnload(),this.config.request_batching?(this.Qi()&&this.capture(w0),(o=this.logs)==null||o.flushLogs("sendBeacon"),(a=this.Zi)==null||a.unload(),(n=this.Hi)==null||n.unload()):this.Qi()&&this.capture(w0,null,{transport:"sendBeacon"})}_send_request(t){this.__loaded&&(qj?this.__request_queue.push(t):this.rateLimiter.isServerRateLimited(t.batchKey)||(t.transport=t.transport||this.config.api_transport,t.url=$v(t.url,{ip:this.config.ip?1:0}),t.headers=Ne({},this.config.request_headers,t.headers),t.compression=t.compression==="best-available"?this.compression:t.compression,t.disableXHRCredentials=this.config.__preview_disable_xhr_credentials,this.config.__preview_disable_beacon&&(t.disableTransport=["sendBeacon"]),t.fetchOptions=t.fetchOptions||this.config.fetch_options,(o=>{var a,n,i,l=Ne({},o);l.timeout=l.timeout||6e4,l.url=vO(l.url,l.compression);var c=(a=l.transport)!==null&&a!==void 0?a:"fetch",d=sf.filter((m=>!l.disableTransport||!m.transport||!l.disableTransport.includes(m.transport))),p=(n=(i=(function(m,h){for(var f=0;m.length>f;f++)if(m[f].transport===c)return m[f]})(d))==null?void 0:i.method)!==null&&n!==void 0?n:d[0].method;if(!p)throw new Error("No available transport method");c!=="sendBeacon"&&l.data&&l.compression===Lr.GZipJS&&$ne&&!fO?nie(l).then((m=>{p(m)})).catch((m=>{if((h=>!(!h||typeof h!="object")&&("name"in h?String(h.name):"")==="NotReadableError")(m))return fO=!0,void p(Ne({},l,{compression:void 0,url:vO(o.url,void 0)}));p(l)})):p(l)})(Ne({},t,{callback:o=>{var a,n;this.rateLimiter.checkForLimiting(o),400>o.statusCode||(a=(n=this.config).on_request_error)==null||a.call(n,o),t.callback==null||t.callback(o)}}))))}Vi(t){this.Hi?this.Hi.retriableRequest(t):this._send_request(t)}_execute_array(t){O0++;try{var o,a=[],n=[],i=[];Ng(t,(c=>{c&&(It(o=c[0])?i.push(c):xi(c)?c.call(this):It(c)&&o==="alias"?a.push(c):It(c)&&o.indexOf("capture")!==-1&&xi(this[o])?i.push(c):n.push(c))}));var l=function(c,d){Ng(c,(function(p){if(It(p[0])){var m=d;go(p,(function(h){m=m[h[0]].apply(m,h.slice(1))}))}else d[p[0]].apply(d,p.slice(1))}))};l(a,this),l(n,this),l(i,this)}finally{O0--}}push(t){if(O0>0&&It(t)&&Co(t[0])){var o=Yn.prototype[t[0]];xi(o)&&o.apply(this,t.slice(1))}else this._execute_array([t])}capture(t,o,a){var n,i,l,c,d;if(this.__loaded&&this.persistence&&this.sessionPersistence&&this.Zi){if(this.is_capturing())if(!$e(t)&&Co(t)){var p=!this.config.opt_out_useragent_filter&&this._is_bot();if(!p||this.config.__preview_capture_bot_pageviews){var m=a!=null&&a.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(m==null||!m.isRateLimited){o!=null&&o.$current_url&&!Co(o?.$current_url)&&(Ue.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."),o==null||delete o.$current_url),t!=="$exception"||a!=null&&a.en||Ue.warn("Using `posthog.capture('$exception')` is unreliable because it does not attach required metadata. Use `posthog.captureException(error)` instead, which attaches required metadata automatically."),this.sessionPersistence.update_search_keyword(),this.config.save_campaign_params&&this.sessionPersistence.update_campaign_params(),this.config.save_referrer&&this.sessionPersistence.update_referrer_info(),(this.config.save_campaign_params||this.config.save_referrer)&&this.persistence.set_initial_person_info();var h=new Date,f=a?.timestamp||h,v=ws(),b={uuid:v,event:t,properties:this.calculateEventProperties(t,o||{},f,v)};t===Kc&&this.config.__preview_capture_bot_pageviews&&p&&(b.event="$bot_pageview",b.properties.$browser_type="bot"),m&&(b.properties.$lib_rate_limit_remaining_tokens=m.remainingTokens),a?.$set&&(b.$set=a?.$set);var S,_,T,x=this.tn(a?.$set_once,t!==nO,t===T0);if(x&&(b.$set_once=x),a!=null&&a._noTruncate||(i=this.config.properties_string_max_length,l=b,c=L=>Co(L)?L.slice(0,i):L,d=new Set,b=(function L(q,B){return q!==Object(q)?c?c(q):q:d.has(q)?void 0:(d.add(q),It(q)?(U=[],Ng(q,(F=>{U.push(L(F))}))):(U={},go(q,((F,W)=>{d.has(F)||(U[W]=L(F))}))),U);var U})(l)),b.timestamp=f,$e(a?.timestamp)||(b.properties.$event_time_override_provided=!0,b.properties.$event_time_override_system_time=h),t===rp.DISMISSED||t===rp.SENT){var E=o?.[P0.SURVEY_ID],C=o?.[P0.SURVEY_ITERATION];(L=>{try{var q=(B=>((U,F)=>{var W=""+HT+F.id;return F.current_iteration&&F.current_iteration>0&&(W=""+HT+F.id+"_"+F.current_iteration),W})(0,B))(L);if(localStorage.getItem(q))return;localStorage.setItem(q,"true")}catch(B){oo.error("Failed to persist survey seen state",B)}})({id:E,current_iteration:C}),b.$set=Ne({},b.$set,{[(S={id:E,current_iteration:C},_=t===rp.SENT?"responded":"dismissed",T="$survey_"+_+"/"+S.id,S.current_iteration&&S.current_iteration>0&&(T="$survey_"+_+"/"+S.id+"/"+S.current_iteration),T)]:!0})}else t===rp.SHOWN&&(b.$set=Ne({},b.$set,{[P0.SURVEY_LAST_SEEN_DATE]:new Date().toISOString()}));if(t===Zre.SHOWN){var P=o?.[dO.TOUR_TYPE];P&&(b.$set=Ne({},b.$set,{[dO.TOUR_LAST_SEEN_DATE+"/"+P]:new Date().toISOString()}))}var R=Ne({},b.properties.$set,b.$set);if(Xc(R)||this.setPersonPropertiesForFlags(R),!Ct(this.config.before_send)){var D=this.rn(b);if(!D)return;b=D}this.Fi.emit("eventCaptured",b);var O={method:"POST",url:(n=a?._url)!==null&&n!==void 0?n:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:b,compression:"best-available",batchKey:a?._batchKey};return!this.config.request_batching||a&&(a==null||!a._batchKey)||a!=null&&a.send_instantly?this.Vi(O):this.Zi.enqueue(O),b}Ue.critical("This capture call is ignored due to client rate limiting.")}}else Ue.error("No event name provided to posthog.capture")}else Ue.uninitializedWarning("posthog.capture")}_addCaptureHook(t){return this.on("eventCaptured",(o=>t(o.event,o)))}calculateEventProperties(t,o,a,n,i){if(a=a||new Date,!this.persistence||!this.sessionPersistence)return o;var l=i?void 0:this.persistence.remove_event_timer(t),c=Ne({},o);if(c.token=this.config.token,c.$config_defaults=this.config.defaults,this.Ni()&&(c.$cookieless_mode=!0),t==="$snapshot"){var d=Ne({},this.persistence.properties(),this.sessionPersistence.properties());return c.distinct_id=d.distinct_id,(!Co(c.distinct_id)&&!Xn(c.distinct_id)||of(c.distinct_id))&&Ue.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),c}var p,m=(function(T,x){var E,C,P,R;if(!sn)return{};var D,O,L,q,B,U,F,W,ae=T?[..._d,...x||[]]:[],[H,K]=(function(J){for(var le=0;eO.length>le;le++){var[Q,N]=eO[le],G=Q.exec(J),V=G&&(xi(N)?N(G,J):N);if(V)return V}return["",""]})(sn);return Mo(W_({$os:H,$os_version:K,$browser:rj(sn,navigator.vendor),$device:tO(sn),$device_type:(O=sn,L={userAgentDataPlatform:(E=navigator)==null||(E=E.userAgentData)==null?void 0:E.platform,maxTouchPoints:(C=navigator)==null?void 0:C.maxTouchPoints,screenWidth:ge==null||(P=ge.screen)==null?void 0:P.width,screenHeight:ge==null||(R=ge.screen)==null?void 0:R.height,devicePixelRatio:ge?.devicePixelRatio},W=tO(O),W===HF||W===VF||W==="Kobo"||W==="Kindle Fire"||W===nj?wd:W===Dp||W===cd||W===Op||W===fT?"Console":W===WF?"Wearable":W?An:L?.userAgentDataPlatform==="Android"&&((q=L?.maxTouchPoints)!==null&&q!==void 0?q:0)>0?600>Math.min((B=L?.screenWidth)!==null&&B!==void 0?B:0,(U=L?.screenHeight)!==null&&U!==void 0?U:0)/((F=L?.devicePixelRatio)!==null&&F!==void 0?F:1)?An:wd:"Desktop"),$timezone:Rj(),$timezone_offset:Kre()}),{$current_url:Mp(wa?.href,ae,Np),$host:wa?.host,$pathname:wa?.pathname,$raw_user_agent:sn.length>1e3?sn.substring(0,997)+"...":sn,$browser_version:rre(sn,navigator.vendor),$browser_language:cO(),$browser_language_prefix:(D=cO(),typeof D=="string"?D.split("-")[0]:void 0),$screen_height:ge?.screen.height,$screen_width:ge?.screen.width,$viewport_height:ge?.innerHeight,$viewport_width:ge?.innerWidth,$lib:Ga.LIB_NAME,$lib_version:Ga.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:Date.now()/1e3})})(this.config.mask_personal_data_properties,this.config.custom_personal_data_properties);if(this.sessionManager){var{sessionId:h,windowId:f}=this.sessionManager.checkAndGetSessionAndWindowId(i,a.getTime());c.$session_id=h,c.$window_id=f}this.sessionPropsManager&&Mo(c,this.sessionPropsManager.getSessionProps());try{var v;this.sessionRecording&&Mo(c,this.sessionRecording.sdkDebugProperties),c.$sdk_debug_retry_queue_size=(v=this.Hi)==null?void 0:v.length}catch(T){c.$sdk_debug_error_capturing_properties=String(T)}if(this.requestRouter.region===VT&&(c.$lib_custom_api_host=this.config.api_host),p=t!==Kc||i?t!==w0||i?this.pageViewManager.doEvent():this.pageViewManager.doPageLeave(a):this.pageViewManager.doPageView(a,n),c=Mo(c,p),t===Kc&&ze&&(c.title=ze.title),!$e(l)){var b=a.getTime()-l;c.$duration=parseFloat((b/1e3).toFixed(3))}sn&&this.config.opt_out_useragent_filter&&(c.$browser_type=this._is_bot()?"bot":"browser"),(c=Mo({},m,this.persistence.properties(),this.sessionPersistence.properties(),c)).$is_identified=this._isIdentified(),It(this.config.property_denylist)?go(this.config.property_denylist,(function(T){delete c[T]})):Ue.error(Uj+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var S=this.config.sanitize_properties;S&&(Ue.error(xO),c=S(c,t));var _=this.nn();return c.$process_person_profile=_,_&&!i&&this.sn("_calculate_event_properties"),c}tn(t,o,a){var n;if(o===void 0&&(o=!0),a===void 0&&(a=!1),!this.persistence||!this.nn()||this.Mi&&!a)return t;var i=this.persistence.get_initial_props(),l=(n=this.sessionPropsManager)==null?void 0:n.getSetOnceProps(),c=Mo({},i,l||{},t||{}),d=this.config.sanitize_properties;return d&&(Ue.error(xO),c=d(c,"$set_once")),o&&(this.Mi=!0),Xc(c)?void 0:c}register(t,o){var a;(a=this.persistence)==null||a.register(t,o)}register_once(t,o,a){var n;(n=this.persistence)==null||n.register_once(t,o,a)}register_for_session(t){var o;(o=this.sessionPersistence)==null||o.register(t)}unregister(t){var o;(o=this.persistence)==null||o.unregister(t)}unregister_for_session(t){var o;(o=this.sessionPersistence)==null||o.unregister(t)}an(t,o){this.register({[t]:o})}getFeatureFlag(t,o){var a;return(a=this.featureFlags)==null?void 0:a.getFeatureFlag(t,o)}getFeatureFlagPayload(t){var o;return(o=this.featureFlags)==null?void 0:o.getFeatureFlagPayload(t)}getFeatureFlagResult(t,o){var a;return(a=this.featureFlags)==null?void 0:a.getFeatureFlagResult(t,o)}isFeatureEnabled(t,o){var a;return(a=this.featureFlags)==null?void 0:a.isFeatureEnabled(t,o)}reloadFeatureFlags(){var t;(t=this.featureFlags)==null||t.reloadFeatureFlags()}updateFlags(t,o,a){var n;(n=this.featureFlags)==null||n.updateFlags(t,o,a)}updateEarlyAccessFeatureEnrollment(t,o,a){var n;(n=this.featureFlags)==null||n.updateEarlyAccessFeatureEnrollment(t,o,a)}getEarlyAccessFeatures(t,o,a){var n;return o===void 0&&(o=!1),(n=this.featureFlags)==null?void 0:n.getEarlyAccessFeatures(t,o,a)}on(t,o){return this.Fi.on(t,o)}onFeatureFlags(t){return this.featureFlags?this.featureFlags.onFeatureFlags(t):(t([],{},{errorsLoading:!0}),()=>{})}onSurveysLoaded(t){return this.surveys?this.surveys.onSurveysLoaded(t):(t([],{isLoaded:!1,error:Uu}),()=>{})}onSessionId(t){var o,a;return(o=(a=this.sessionManager)==null?void 0:a.onSessionId(t))!==null&&o!==void 0?o:()=>{}}getSurveys(t,o){o===void 0&&(o=!1),this.surveys?this.surveys.getSurveys(t,o):t([],{isLoaded:!1,error:Uu})}getActiveMatchingSurveys(t,o){o===void 0&&(o=!1),this.surveys?this.surveys.getActiveMatchingSurveys(t,o):t([],{isLoaded:!1,error:Uu})}renderSurvey(t,o){var a;(a=this.surveys)==null||a.renderSurvey(t,o)}displaySurvey(t,o){var a;o===void 0&&(o=mie),(a=this.surveys)==null||a.displaySurvey(t,o)}cancelPendingSurvey(t){var o;(o=this.surveys)==null||o.cancelPendingSurvey(t)}canRenderSurvey(t){var o,a;return(o=(a=this.surveys)==null?void 0:a.canRenderSurvey(t))!==null&&o!==void 0?o:{visible:!1,disabledReason:Uu}}canRenderSurveyAsync(t,o){var a,n;return o===void 0&&(o=!1),(a=(n=this.surveys)==null?void 0:n.canRenderSurveyAsync(t,o))!==null&&a!==void 0?a:Promise.resolve({visible:!1,disabledReason:Uu})}ln(t){return!t||of(t)?(Ue.critical("Unique user id has not been set in posthog.identify"),!1):t===Mg?(Ue.critical('The string "'+t+'" was set in posthog.identify which indicates an error. This ID is only used as a sentinel value.'),!1):!["distinct_id","distinctid"].includes(t.toLowerCase())&&!["undefined","null"].includes(t.toLowerCase())||(Ue.critical('The string "'+t+'" was set in posthog.identify which indicates an error. This ID should be unique to the user and not a hardcoded string.'),!1)}identify(t,o,a){if(!this.__loaded||!this.persistence)return Ue.uninitializedWarning("posthog.identify");if(Xn(t)&&(t=t.toString(),Ue.warn("The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.")),this.ln(t)&&this.sn("posthog.identify")){var n=this.get_distinct_id();this.register({$user_id:t}),this.get_property(Uf)||this.register_once({$had_persisted_distinct_id:!0,$device_id:n},""),t!==n&&t!==this.get_property(ep)&&(this.unregister(ep),this.register({distinct_id:t}));var i,l=(this.persistence.get_property(pr)||Ic)===Ic;t!==n&&l?(this.persistence.set_property(pr,Lc),this.setPersonPropertiesForFlags({$set:o||{},$set_once:a||{}},!1),this.capture(T0,{distinct_id:t,$anon_distinct_id:n},{$set:o||{},$set_once:a||{}}),this.Di=SO(t,o,a),(i=this.featureFlags)==null||i.setAnonymousDistinctId(n)):(o||a)&&this.setPersonProperties(o,a),t!==n&&(this.reloadFeatureFlags(),this.unregister(dp))}}setPersonProperties(t,o){if((t||o)&&this.sn("posthog.setPersonProperties")){var a=SO(this.get_distinct_id(),t,o);this.Di!==a?(this.setPersonPropertiesForFlags({$set:t||{},$set_once:o||{}},!0),this.capture("$set",{$set:t||{},$set_once:o||{}}),this.Di=a):Ue.info("A duplicate setPersonProperties call was made with the same properties. It has been ignored.")}}group(t,o,a){if(t&&o){var n=this.getGroups(),i=n[t]!==o;if(i&&this.resetGroupPropertiesForFlags(t),this.register({$groups:Ne({},n,{[t]:o})}),i||a){var l={$group_type:t,$group_key:o};a&&(l.$group_set=a),this.capture(nO,l)}a&&this.setGroupPropertiesForFlags({[t]:a}),i&&!a&&this.reloadFeatureFlags()}else Ue.error("posthog.group requires a group type and group key")}resetGroups(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}setPersonPropertiesForFlags(t,o){var a;o===void 0&&(o=!0),(a=this.featureFlags)==null||a.setPersonPropertiesForFlags(t,o)}resetPersonPropertiesForFlags(){var t;(t=this.featureFlags)==null||t.resetPersonPropertiesForFlags()}setGroupPropertiesForFlags(t,o){var a;o===void 0&&(o=!0),this.sn("posthog.setGroupPropertiesForFlags")&&((a=this.featureFlags)==null||a.setGroupPropertiesForFlags(t,o))}resetGroupPropertiesForFlags(t){var o;(o=this.featureFlags)==null||o.resetGroupPropertiesForFlags(t)}reset(t){var o,a,n,i,l,c,d,p;if(Ue.info("reset"),!this.__loaded)return Ue.uninitializedWarning("posthog.reset");var m=this.get_property(Uf);if(this.consent.reset(),(o=this.persistence)==null||o.clear(),(a=this.sessionPersistence)==null||a.clear(),(n=this.surveys)==null||n.reset(),(i=this.Ki)==null||i.stop(),(l=this.featureFlags)==null||l.reset(),(c=this.conversations)==null||c.reset(),(d=this.persistence)==null||d.set_property(pr,Ic),(p=this.sessionManager)==null||p.resetSessionId(),this.Di=null,this.config.cookieless_mode===_i)this.register_once({distinct_id:Mg,$device_id:null},"");else{var h=this.config.get_device_id(ws());this.register_once({distinct_id:h,$device_id:t?h:m},"")}this.register({$last_posthog_reset:new Date().toISOString()},1),delete this.config.identity_distinct_id,delete this.config.identity_hash,this.reloadFeatureFlags()}setIdentity(t,o){var a;this.config.identity_distinct_id=t,this.config.identity_hash=o,this.alias(t),(a=this.conversations)==null||a.un()}clearIdentity(){var t;delete this.config.identity_distinct_id,delete this.config.identity_hash,(t=this.conversations)==null||t.hn()}get_distinct_id(){return this.get_property("distinct_id")}getGroups(){return this.get_property("$groups")||{}}get_session_id(){var t,o;return(t=(o=this.sessionManager)==null?void 0:o.checkAndGetSessionAndWindowId(!0).sessionId)!==null&&t!==void 0?t:""}get_session_replay_url(t){if(!this.sessionManager)return"";var{sessionId:o,sessionStartTimestamp:a}=this.sessionManager.checkAndGetSessionAndWindowId(!0),n=this.requestRouter.endpointFor("ui","/project/"+this.config.token+"/replay/"+o);if(t!=null&&t.withTimestamp&&a){var i,l=(i=t.timestampLookBack)!==null&&i!==void 0?i:10;if(!a)return n;n+="?t="+Math.max(Math.floor((new Date().getTime()-a)/1e3)-l,0)}return n}alias(t,o){return t===this.get_property(uj)?(Ue.critical("Attempting to create alias for existing People user - aborting."),-2):this.sn("posthog.alias")?($e(o)&&(o=this.get_distinct_id()),t!==o?(this.an(ep,t),this.capture("$create_alias",{alias:t,distinct_id:o})):(Ue.warn("alias matches current distinct_id - skipping api call."),this.identify(t),-1)):void 0}set_config(t){var o=Ne({},this.config);if(Bo(t)){var a,n,i,l,c,d,p,m,h,f;Mo(this.config,kO(t));var v=this.qi();(a=this.persistence)==null||a.update_config(this.config,o,v),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new k0(Ne({},this.config,{persistence:"sessionStorage"}),v);var b=this.Bi(this.config.debug);qr(b)&&(this.config.debug=b),qr(this.config.debug)&&(this.config.debug?(Ga.DEBUG=!0,ko.R()&&ko.M("ph_debug",!0),Ue.info("set_config",{config:t,oldConfig:o,newConfig:Ne({},this.config)})):(Ga.DEBUG=!1,ko.R()&&ko.F("ph_debug"))),(n=this.exceptionObserver)==null||n.onConfigChange(),(i=this.exceptions)==null||i.onConfigChange(),(l=this.sessionRecording)==null||l.startIfEnabledOrStop(),(c=this.autocapture)==null||c.startIfEnabled(),(d=this.heatmaps)==null||d.startIfEnabled(),(p=this.exceptionObserver)==null||p.startIfEnabledOrStop(),(m=this.deadClicksAutocapture)==null||m.startIfEnabledOrStop(),(h=this.surveys)==null||h.loadIfEnabled(),this.cn(),(f=this.externalIntegrations)==null||f.startIfEnabledOrStop()}}_overrideSDKInfo(t,o){Ga.LIB_NAME=t,Ga.LIB_VERSION=o}startSessionRecording(t){var o,a,n,i,l,c=t===!0,d={sampling:c||!(t==null||!t.sampling),linked_flag:c||!(t==null||!t.linked_flag),url_trigger:c||!(t==null||!t.url_trigger),event_trigger:c||!(t==null||!t.event_trigger)};Object.values(d).some(Boolean)&&((o=this.sessionManager)==null||o.checkAndGetSessionAndWindowId(),d.sampling&&((a=this.sessionRecording)==null||a.overrideSampling()),d.linked_flag&&((n=this.sessionRecording)==null||n.overrideLinkedFlag()),d.url_trigger&&((i=this.sessionRecording)==null||i.overrideTrigger("url")),d.event_trigger&&((l=this.sessionRecording)==null||l.overrideTrigger("event"))),this.set_config({disable_session_recording:!1})}stopSessionRecording(){this.set_config({disable_session_recording:!0})}sessionRecordingStarted(){var t;return!((t=this.sessionRecording)==null||!t.started)}captureException(t,o){if(this.exceptions){var a=new Error("PostHog syntheticException"),n=this.exceptions.buildProperties(t,{handled:!0,syntheticException:a});return this.exceptions.sendExceptionEvent(Ne({},n,o))}}addExceptionStep(t,o){var a;(a=this.exceptions)==null||a.addExceptionStep(t,o)}captureLog(t){var o;(o=this.logs)==null||o.captureLog(t)}get logger(){var t,o;return(t=(o=this.logs)==null?void 0:o.logger)!==null&&t!==void 0?t:Yn.dn}startExceptionAutocapture(t){this.set_config({capture_exceptions:t==null||t})}stopExceptionAutocapture(){this.set_config({capture_exceptions:!1})}loadToolbar(t){var o,a;return(o=(a=this.toolbar)==null?void 0:a.loadToolbar(t))!==null&&o!==void 0&&o}get_property(t){var o;return(o=this.persistence)==null?void 0:o.props[t]}getSessionProperty(t){var o;return(o=this.sessionPersistence)==null?void 0:o.props[t]}toString(){var t,o=(t=this.config.name)!==null&&t!==void 0?t:Yc;return o!==Yc&&(o=Yc+"."+o),o}_isIdentified(){var t,o;return((t=this.persistence)==null?void 0:t.get_property(pr))===Lc||((o=this.sessionPersistence)==null?void 0:o.get_property(pr))===Lc}nn(){var t,o;return!(this.config.person_profiles==="never"||this.config.person_profiles===FT&&!this._isIdentified()&&Xc(this.getGroups())&&((t=this.persistence)==null||(t=t.props)==null||!t[ep])&&((o=this.persistence)==null||(o=o.props)==null||!o[Hf]))}Qi(){return this.config.capture_pageleave===!0||this.config.capture_pageleave==="if_capture_pageview"&&(this.config.capture_pageview===!0||this.config.capture_pageview==="history_change")}createPersonProfile(){this.nn()||this.sn("posthog.createPersonProfile")&&this.setPersonProperties({},{})}setInternalOrTestUser(){this.sn("posthog.setInternalOrTestUser")&&this.setPersonProperties({$internal_or_test_user:!0})}sn(t){return this.config.person_profiles==="never"?(Ue.error(t+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this.an(Hf,!0),!0)}qi(){if(this.config.cookieless_mode==="always")return!0;var t=this.consent.isOptedOut();return this.config.disable_persistence||t&&!(!this.config.opt_out_persistence_by_default&&this.config.cookieless_mode!==fl)}cn(){var t,o,a,n,i=this.qi();return((t=this.persistence)==null?void 0:t._r)!==i&&((a=this.persistence)==null||a.set_disabled(i)),((o=this.sessionPersistence)==null?void 0:o._r)!==i&&((n=this.sessionPersistence)==null||n.set_disabled(i)),i}opt_in_capturing(t){var o;if(this.config.cookieless_mode!==_i){if(this.Ni()){var a,n,i,l,c;this.reset(!0),(a=this.sessionManager)==null||a.destroy(),(n=this.pageViewManager)==null||n.destroy(),this.sessionManager=new yO(this),this.pageViewManager=new lO(this),this.persistence&&(this.sessionPropsManager=new bO(this,this.sessionManager,this.persistence));var d,p=(i=(l=this.config.__extensionClasses)==null?void 0:l.sessionRecording)!==null&&i!==void 0?i:(c=Yn.__defaultExtensionClasses)==null?void 0:c.sessionRecording;p&&(this.sessionRecording=this.Ei(this.sessionRecording,new p(this)),this.Wi&&((d=this.sessionRecording)==null||d.onRemoteConfig==null||d.onRemoteConfig(this.Wi)))}var m,h;this.consent.optInOut(!0),this.cn(),this.Xi(),(o=this.sessionRecording)==null||o.startIfEnabledOrStop(),this.config.cookieless_mode==fl&&((m=this.surveys)==null||m.loadIfEnabled()),($e(t?.captureEventName)||t!=null&&t.captureEventName)&&this.capture((h=t?.captureEventName)!==null&&h!==void 0?h:"$opt_in",t?.captureProperties,{send_instantly:!0}),this.config.capture_pageview&&this.Ji()}else Ue.warn(TO)}opt_out_capturing(){var t,o,a;this.config.cookieless_mode!==_i?(this.config.cookieless_mode===fl&&this.consent.isOptedIn()&&this.reset(!0),this.consent.optInOut(!1),this.cn(),this.config.cookieless_mode===fl&&(this.register({distinct_id:Mg,$device_id:null}),(t=this.sessionManager)==null||t.destroy(),(o=this.pageViewManager)==null||o.destroy(),this.sessionManager=void 0,this.sessionPropsManager=void 0,(a=this.sessionRecording)==null||a.stopRecording(),this.sessionRecording=void 0,this.Ji())):Ue.warn(TO)}has_opted_in_capturing(){return this.consent.isOptedIn()}has_opted_out_capturing(){return this.consent.isOptedOut()}get_explicit_consent_status(){var t=this.consent.consent;return t===1?"granted":t===0?"denied":"pending"}is_capturing(){return this.config.cookieless_mode===_i||(this.config.cookieless_mode===fl?this.consent.isRejected()||this.consent.isOptedIn():!this.has_opted_out_capturing())}clear_opt_in_out_capturing(){this.consent.reset(),this.cn()}_is_bot(){return Pn?Fj(Pn,this.config.custom_blocked_useragents):void 0}Ji(){ze&&(ze.visibilityState==="visible"?this.Oi||(this.Oi=!0,this.capture(Kc,{title:ze.title},{send_instantly:!0}),this.Pi&&(ze.removeEventListener(Gf,this.Pi),this.Pi=null)):this.Pi||(this.Pi=this.Ji.bind(this),Zo(ze,Gf,this.Pi)))}debug(t){t===!1?(ge?.console.log("You've disabled debug mode."),this.set_config({debug:!1})):(ge?.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),this.set_config({debug:!0}))}Fr(){var t,o,a,n,i,l,c=this.ji||{};return"advanced_disable_flags"in c?!!c.advanced_disable_flags:this.config.advanced_disable_flags!==!1?!!this.config.advanced_disable_flags:this.config.advanced_disable_decide===!0?(Ue.warn("Config field 'advanced_disable_decide' is deprecated. Please use 'advanced_disable_flags' instead. The old field will be removed in a future major version."),!0):(a="advanced_disable_decide",n=Ue,i=(o="advanced_disable_flags")in(t=c)&&!Ct(t[o]),l=a in t&&!Ct(t[a]),i?t[o]:!!l&&(n&&n.warn("Config field '"+a+"' is deprecated. Please use '"+o+"' instead. The old field will be removed in a future major version."),t[a]))}rn(t){if(Ct(this.config.before_send))return t;var o=It(this.config.before_send)?this.config.before_send:[this.config.before_send],a=t;for(var n of o){if(a=n(a),Ct(a)){var i="Event '"+t.event+"' was rejected in beforeSend function";return Wne(t.event)?Ue.warn(i+". This can cause unexpected behavior."):Ue.info(i),null}a.properties&&!Xc(a.properties)||Ue.warn("Event '"+t.event+"' has no properties after beforeSend function, this is likely an error.")}return a}getPageViewId(){var t;return(t=this.pageViewManager.dr)==null?void 0:t.pageViewId}captureTraceFeedback(t,o){this.capture("$ai_feedback",{$ai_trace_id:String(t),$ai_feedback_text:o})}captureTraceMetric(t,o,a){this.capture("$ai_metric",{$ai_trace_id:String(t),$ai_metric_name:o,$ai_metric_value:String(a)})}Bi(t){var o=qr(t)&&!t,a=ko.R()&&ko.O("ph_debug")==="true";return!o&&(!!a||t)}}function CO(e){return e instanceof Element&&(e.id===fj||!(e.closest==null||!e.closest(".toolbar-global-fade-container")))}function Vv(e){return!!e&&e.nodeType===1}function Rs(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function $j(e){return!!e&&e.nodeType===3}function Vj(e){return!!e&&e.nodeType===11}function Q_(e){return e?Uv(e).split(/\s+/):[]}function PO(e){var t=ge?.location.href;return!!(t&&e&&e.some((o=>t.match(o))))}function tv(e){var t="";switch(typeof e.className){case"string":t=e.className;break;case"object":t=(e.className&&"baseVal"in e.className?e.className.baseVal:null)||e.getAttribute("class")||"";break;default:t=""}return Q_(t)}function Hj(e){return Ct(e)?null:Uv(e).split(/(\s+)/).filter((t=>mp(t))).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function Ip(e){var t="";return KT(e)&&!Wj(e)&&e.childNodes&&e.childNodes.length&&go(e.childNodes,(function(o){var a;$j(o)&&o.textContent&&(t+=(a=Hj(o.textContent))!==null&&a!==void 0?a:"")})),Uv(t)}function EO(e){return $e(e.target)?e.srcElement||null:(t=e.target)!=null&&t.shadowRoot?e.composedPath()[0]||null:e.target||null;var t}Yn.__defaultExtensionClasses={},Yn.dn={trace:Fc=()=>{},debug:Fc,info:Fc,warn:Fc,error:Fc,fatal:Fc},(function(e,t){for(var o=0;t.length>o;o++)e.prototype[t[o]]=Dre(e.prototype[t[o]])})(Yn,["identify"]);var J_=["a","button","form","input","select","textarea","label"];function AO(e,t){if($e(t))return!0;var o,a=function(i){if(t.some((l=>i.matches(l))))return{v:!0}};for(var n of e)if(o=a(n))return o.v;return!1}function Gj(e){var t=e.parentNode;return!(!t||!Vv(t))&&t}var yie=["next","previous","prev",">","<"],RO=[".ph-no-rageclick",".ph-no-capture"],WT=e=>!e||Rs(e,"html")||!Vv(e),DO=(e,t)=>{if(!ge||WT(e))return{parentIsUsefulElement:!1,targetElementList:[]};for(var o=!1,a=[e],n=e;n.parentNode&&!Rs(n,"body");)if(Vj(n.parentNode))a.push(n.parentNode.host),n=n.parentNode.host;else{var i=Gj(n);if(!i)break;if(t||J_.indexOf(i.tagName.toLowerCase())>-1)o=!0;else{var l=ge.getComputedStyle(i);l&&l.getPropertyValue("cursor")==="pointer"&&(o=!0)}a.push(i),n=i}return{parentIsUsefulElement:o,targetElementList:a}};function KT(e){for(var t=e;t.parentNode&&!Rs(t,"body");t=t.parentNode){var o=tv(t);if(kt(o,"ph-sensitive")||kt(o,"ph-no-capture"))return!1}if(kt(tv(e),"ph-include"))return!0;var a=e.type||"";if(Co(a))switch(a.toLowerCase()){case"hidden":case"password":return!1}var n=e.name||e.id||"";return!Co(n)||!/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(n.replace(/[^a-zA-Z0-9]/g,""))}function Wj(e){return!!(Rs(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||Rs(e,"select")||Rs(e,"textarea")||e.getAttribute("contenteditable")==="true")}var Kj="(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11})",Sie=new RegExp("^(?:"+Kj+")$"),wie=new RegExp(Kj),Yj="\\d{3}-?\\d{2}-?\\d{4}",Tie=new RegExp("^("+Yj+")$"),xie=new RegExp("("+Yj+")");function mp(e,t){return t===void 0&&(t=!0),!(Ct(e)||Co(e)&&(e=Uv(e),(t?Sie:wie).test((e||"").replace(/[- ]/g,""))||(t?Tie:xie).test(e)))}function OO(e){var t=Ip(e);return mp(t=(t+" "+Zj(e)).trim())?t:""}function Zj(e){var t="";return e&&e.childNodes&&e.childNodes.length&&go(e.childNodes,(function(o){var a;if(o&&((a=o.tagName)==null?void 0:a.toLowerCase())==="span")try{var n=Ip(o);t=(t+" "+n).trim(),o.childNodes&&o.childNodes.length&&(t=(t+" "+Zj(o)).trim())}catch(i){Ue.error("[AutoCapture]",i)}})),t}function MO(e){return e.replace(/"|\\"/g,'\\"')}function _ie(e){var t=e.attr__class;return t?It(t)?t:Q_(t):void 0}class NO{constructor(t){this.disabled=t===!1;var o=Bo(t)?t:{};this.thresholdPx=o.threshold_px||30,this.timeoutMs=o.timeout_ms||1e3,this.clickCount=o.click_count||3,this.clicks=[]}isRageClick(t,o,a){if(this.disabled)return!1;var n=this.clicks[this.clicks.length-1];if(n&&Math.abs(t-n.x)+Math.abs(o-n.y)<this.thresholdPx&&this.timeoutMs>a-n.timestamp){if(this.clicks.push({x:t,y:o,timestamp:a}),this.clicks.length===this.clickCount)return!0}else this.clicks=[{x:t,y:o,timestamp:a}];return!1}}var M0="$copy_autocapture",IO=wo("[AutoCapture]");function N0(e,t){return t.length>e?t.slice(0,e)+"...":t}function kie(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do t=t.previousSibling;while(t&&!Vv(t));return t}function Cie(e,t){for(var o,a,{e:n,maskAllElementAttributes:i,maskAllText:l,elementAttributeIgnoreList:c,elementsChainAsString:d}=t,p=[e],m=e;m.parentNode&&!Rs(m,"body");)Vj(m.parentNode)?(p.push(m.parentNode.host),m=m.parentNode.host):(p.push(m.parentNode),m=m.parentNode);var h,f,v=[],b={},S=!1,_=!1;if(go(p,(P=>{var R=KT(P);P.tagName.toLowerCase()==="a"&&(S=P.getAttribute("href"),S=R&&S&&mp(S)&&S),kt(tv(P),"ph-no-capture")&&(_=!0),v.push((function(O,L,q,B){var U=O.tagName.toLowerCase(),F={tag_name:U};J_.indexOf(U)>-1&&!q&&(F.$el_text=U.toLowerCase()==="a"||U.toLowerCase()==="button"?N0(1024,OO(O)):N0(1024,Ip(O)));var W=tv(O);W.length>0&&(F.classes=W.filter((function(J){return J!==""}))),go(O.attributes,(function(J){var le;if((!Wj(O)||["name","id","class","aria-label"].indexOf(J.name)!==-1)&&(B==null||!B.includes(J.name))&&!L&&mp(J.value)&&(!Co(le=J.name)||le.substring(0,10)!=="_ngcontent"&&le.substring(0,7)!=="_nghost")){var Q=J.value;J.name==="class"&&(Q=Q_(Q).join(" ")),F["attr__"+J.name]=N0(1024,Q)}}));for(var ae=1,H=1,K=O;K=kie(K);)ae++,K.tagName===O.tagName&&H++;return F.nth_child=ae,F.nth_of_type=H,F})(P,i,l,c));var D=(function(O){if(!KT(O))return{};var L={};return go(O.attributes,(function(q){if(q.name&&q.name.indexOf("data-ph-capture-attribute")===0){var B=q.name.replace("data-ph-capture-attribute-",""),U=q.value;B&&U&&mp(U)&&(L[B]=U)}})),L})(P);Mo(b,D)})),_)return{props:{},explicitNoCapture:_};if(l||(v[0].$el_text=e.tagName.toLowerCase()==="a"||e.tagName.toLowerCase()==="button"?OO(e):Ip(e)),S){var T,x;v[0].attr__href=S;var E=(T=Yf(S))==null?void 0:T.host,C=ge==null||(x=ge.location)==null?void 0:x.host;E&&C&&E!==C&&(h=S)}return{props:Mo({$event_type:n.type,$ce_version:1},d?{}:{$elements:v},{$elements_chain:(f=v,(function(P){return P.map((R=>{var D,O,L="";if(R.tag_name&&(L+=R.tag_name),R.attr_class)for(var q of(R.attr_class.sort(),R.attr_class))L+="."+q.replace(/"/g,"");var B=Ne({},R.text?{text:R.text}:{},{"nth-child":(D=R.nth_child)!==null&&D!==void 0?D:0,"nth-of-type":(O=R.nth_of_type)!==null&&O!==void 0?O:0},R.href?{href:R.href}:{},R.attr_id?{attr_id:R.attr_id}:{},R.attributes),U={};return rf(B).sort(((F,W)=>{var[ae]=F,[H]=W;return ae.localeCompare(H)})).forEach((F=>{var[W,ae]=F;return U[MO(W.toString())]=MO(ae.toString())})),(L+=":")+rf(U).map((F=>{var[W,ae]=F;return W+'="'+ae+'"'})).join("")})).join(";")})((function(P){return P.map((R=>{var D,O,L={text:(D=R.$el_text)==null?void 0:D.slice(0,400),tag_name:R.tag_name,href:(O=R.attr__href)==null?void 0:O.slice(0,2048),attr_class:_ie(R),attr_id:R.attr__id,nth_child:R.nth_child,nth_of_type:R.nth_of_type,attributes:{}};return rf(R).filter((q=>{var[B]=q;return B.indexOf("attr__")===0})).forEach((q=>{var[B,U]=q;return L.attributes[B]=U})),L}))})(f)))},(o=v[0])!=null&&o.$el_text?{$el_text:(a=v[0])==null?void 0:a.$el_text}:{},h&&n.type==="click"?{$external_click_url:h}:{},b)}}var qu=wo("[ExceptionAutocapture]");function LO(e,t,o){try{if(!(t in e))return()=>{};var a=e[t],n=o(a);return xi(n)&&(n.prototype=n.prototype||{},Object.defineProperties(n,{__posthog_wrapped__:{enumerable:!1,value:!0}})),e[t]=n,()=>{e[t]=a}}catch{return()=>{}}}var Pie=wo("[TracingHeaders]"),us=wo("[Web Vitals]"),BO=9e5,FO="disabled",jO="lazy_loading",$u="awaiting_config",jg="missing_config";wo("[SessionRecording]"),wo("[SessionRecording]");var YT="[SessionRecording]",ps=wo(YT),Eie=wo("[Heatmaps]");function zO(e){return Bo(e)&&"clientX"in e&&"clientY"in e&&Xn(e.clientX)&&Xn(e.clientY)}var UO=wo("[Product Tours]"),Aie=["$set_once","$set"],ms=wo("[SiteApps]"),qO="Error while initializing PostHog app with config id ";function jc(e,t,o){if(Ct(e))return!1;switch(o){case"exact":return e===t;case"contains":var a=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/_/g,".").replace(/%/g,".*");return new RegExp(a,"i").test(e);case"regex":try{return new RegExp(t).test(e)}catch{return!1}default:return!1}}class Rie{constructor(t){this.vn=new Z_,this.fn=(o,a)=>this.pn(o,a)&&this.gn(o,a)&&this.mn(o,a)&&this.yn(o,a),this.pn=(o,a)=>a==null||!a.event||o?.event===a?.event,this._instance=t,this.bn=new Set,this._n=new Set}init(){var t,o;$e((t=this._instance)==null?void 0:t._addCaptureHook)||(o=this._instance)==null||o._addCaptureHook(((a,n)=>{this.on(a,n)}))}register(t){var o,a;if(!$e((o=this._instance)==null?void 0:o._addCaptureHook)&&(t.forEach((l=>{var c,d;(c=this._n)==null||c.add(l),(d=l.steps)==null||d.forEach((p=>{var m;(m=this.bn)==null||m.add(p?.event||"")}))})),(a=this._instance)!=null&&a.autocapture)){var n,i=new Set;t.forEach((l=>{var c;(c=l.steps)==null||c.forEach((d=>{d!=null&&d.selector&&i.add(d?.selector)}))})),(n=this._instance)==null||n.autocapture.setElementSelectors(i)}}on(t,o){var a;o!=null&&t.length!=0&&(this.bn.has(t)||this.bn.has(o?.event))&&this._n&&((a=this._n)==null?void 0:a.size)>0&&this._n.forEach((n=>{this.wn(o,n)&&this.vn.emit("actionCaptured",n.name)}))}In(t){this.onAction("actionCaptured",(o=>t(o)))}wn(t,o){if(o?.steps==null)return!1;for(var a of o.steps)if(this.fn(t,a))return!0;return!1}onAction(t,o){return this.vn.on(t,o)}gn(t,o){if(o!=null&&o.url){var a,n=t==null||(a=t.properties)==null?void 0:a.$current_url;if(!n||typeof n!="string"||!jc(n,o.url,o.url_matching||"contains"))return!1}return!0}mn(t,o){return!!this.Cn(t,o)&&!!this.Sn(t,o)&&!!this.xn(t,o)}Cn(t,o){var a;if(o==null||!o.href)return!0;var n=this.kn(t);if(n.length>0)return n.some((c=>jc(c.href,o.href,o.href_matching||"exact")));var i,l=(t==null||(a=t.properties)==null?void 0:a.$elements_chain)||"";return!!l&&jc((i=l.match(/(?::|")href="(.*?)"/))?i[1]:"",o.href,o.href_matching||"exact")}Sn(t,o){var a;if(o==null||!o.text)return!0;var n=this.kn(t);if(n.length>0)return n.some((p=>jc(p.text,o.text,o.text_matching||"exact")||jc(p.$el_text,o.text,o.text_matching||"exact")));var i,l,c,d=(t==null||(a=t.properties)==null?void 0:a.$elements_chain)||"";return!!d&&(i=(function(p){for(var m,h=[],f=/(?::|")text="(.*?)"/g;!Ct(m=f.exec(p));)h.includes(m[1])||h.push(m[1]);return h})(d),l=o.text,c=o.text_matching||"exact",i.some((p=>jc(p,l,c))))}xn(t,o){var a,n;if(o==null||!o.selector)return!0;var i=t==null||(a=t.properties)==null?void 0:a.$element_selectors;if(i!=null&&i.includes(o.selector))return!0;var l=(t==null||(n=t.properties)==null?void 0:n.$elements_chain)||"";if(o.selector_regex&&l)try{return new RegExp(o.selector_regex).test(l)}catch{return!1}return!1}kn(t){var o;return(t==null||(o=t.properties)==null?void 0:o.$elements)==null?[]:t?.properties.$elements}yn(t,o){return o==null||!o.properties||o.properties.length===0||zj(o.properties.reduce(((a,n)=>{var i=It(n.value)?n.value.map(String):n.value!=null?[String(n.value)]:[];return a[n.key]={values:i,operator:n.operator||"exact"},a}),{}),t?.properties)}}class Die{constructor(t){this._instance=t,this.Tn=new Map,this.An=new Map,this.En=new Map}Rn(t,o){return!!t&&zj(t.propertyFilters,o?.properties)}Nn(t,o){var a=new Map;return t.forEach((n=>{var i;(i=n.conditions)==null||(i=i[o])==null||(i=i.values)==null||i.forEach((l=>{if(l!=null&&l.name){var c=a.get(l.name)||[];c.push(n.id),a.set(l.name,c)}}))})),a}Mn(t,o,a){var n=(a===Bu.Activation?this.Tn:this.An).get(t),i=[];return this.Fn((l=>{i=l.filter((c=>n?.includes(c.id)))})),i.filter((l=>{var c,d=(c=l.conditions)==null||(c=c[a])==null||(c=c.values)==null?void 0:c.find((p=>p.name===t));return this.Rn(d,o)}))}register(t){var o;$e((o=this._instance)==null?void 0:o._addCaptureHook)||(this.On(t),this.Pn(t))}Pn(t){var o=t.filter((a=>{var n,i;return((n=a.conditions)==null?void 0:n.actions)&&((i=a.conditions)==null||(i=i.actions)==null||(i=i.values)==null?void 0:i.length)>0}));o.length!==0&&(this.Ln==null&&(this.Ln=new Rie(this._instance),this.Ln.init(),this.Ln.In((a=>{this.onAction(a)}))),o.forEach((a=>{var n,i,l,c,d;a.conditions&&(n=a.conditions)!=null&&n.actions&&(i=a.conditions)!=null&&(i=i.actions)!=null&&i.values&&((l=a.conditions)==null||(l=l.actions)==null||(l=l.values)==null?void 0:l.length)>0&&((c=this.Ln)==null||c.register(a.conditions.actions.values),(d=a.conditions)==null||(d=d.actions)==null||(d=d.values)==null||d.forEach((p=>{if(p&&p.name){var m=this.En.get(p.name);m&&m.push(a.id),this.En.set(p.name,m||[a.id])}})))})))}On(t){var o,a=t.filter((i=>{var l,c;return((l=i.conditions)==null?void 0:l.events)&&((c=i.conditions)==null||(c=c.events)==null||(c=c.values)==null?void 0:c.length)>0})),n=t.filter((i=>{var l,c;return((l=i.conditions)==null?void 0:l.cancelEvents)&&((c=i.conditions)==null||(c=c.cancelEvents)==null||(c=c.values)==null?void 0:c.length)>0}));a.length===0&&n.length===0||((o=this._instance)==null||o._addCaptureHook(((i,l)=>{this.onEvent(i,l)})),this.Tn=this.Nn(t,Bu.Activation),this.An=this.Nn(t,Bu.Cancellation))}onEvent(t,o){var a,n=this.le(),i=this.Dn(),l=this.Bn(),c=((a=this._instance)==null||(a=a.persistence)==null?void 0:a.props[i])||[];if(l===t&&o&&c.length>0){var d,p;n.info("event matched, removing item from activated items",{event:t,eventPayload:o,existingActivatedItems:c});var m=(o==null||(d=o.properties)==null?void 0:d.$survey_id)||(o==null||(p=o.properties)==null?void 0:p.$product_tour_id);if(m){var h=c.indexOf(m);0>h||(c.splice(h,1),this.jn(c))}}else{if(this.An.has(t)){var f=this.Mn(t,o,Bu.Cancellation);f.length>0&&(n.info("cancel event matched, cancelling items",{event:t,itemsToCancel:f.map((b=>b.id))}),f.forEach((b=>{var S=c.indexOf(b.id);0>S||c.splice(S,1),this.$n(b.id)})),this.jn(c))}if(this.Tn.has(t)){n.info("event name matched",{event:t,eventPayload:o,items:this.Tn.get(t)});var v=this.Mn(t,o,Bu.Activation);this.jn(c.concat(v.map((b=>b.id))||[]))}}}onAction(t){var o,a=this.Dn(),n=((o=this._instance)==null||(o=o.persistence)==null?void 0:o.props[a])||[];this.En.has(t)&&this.jn(n.concat(this.En.get(t)||[]))}jn(t){var o=this.le(),a=[...new Set(t)].filter((n=>!this.qn(n)));o.info("updating activated items",{activatedItems:a}),this.Zn(a)}getActivatedIds(){var t,o=this.Dn();return((t=this._instance)==null||(t=t.persistence)==null?void 0:t.props[o])||[]}getEventToItemsMap(){return this.Tn}Vn(){return this.Ln}}class Oie extends Die{constructor(t){super(t)}Dn(){return DT}Bn(){return rp.SHOWN}Fn(t){var o;(o=this._instance)==null||o.getSurveys(t)}$n(t){var o;(o=this._instance)==null||o.cancelPendingSurvey(t)}le(){return oo}Zn(t){var o;(o=this._instance)==null||(o=o.persistence)==null||o.register({[DT]:t})}qn(){return!1}getSurveys(){return this.getActivatedIds()}getEventToSurveys(){return this.getEventToItemsMap()}}var I0="SDK is not enabled or survey functionality is not yet loaded",$O="Disabled. Not loading surveys.",Mie=ge!=null&&ge.location?Qf(ge.location.hash,"__posthog")||Qf(location.hash,"state"):null,VO="_postHogToolbarParams",HO=wo("[Toolbar]"),$a=wo("[FeatureFlags]"),ul=wo("[FeatureFlags]",{debugEnabled:!0}),L0=`" failed. Feature flags didn't load in time.`,GO=e=>{for(var t={},o=0;e.length>o;o++)t[e[o]]=!0;return t},WO=e=>{var t={};for(var[o,a]of rf(e||{}))a&&(t[o]=a);return t},wi=wo("[Error tracking]"),KO="Refusing to render web experiment since the viewer is a likely bot",Nie={icontains:(e,t)=>!!ge&&t.href.toLowerCase().indexOf(e.toLowerCase())>-1,not_icontains:(e,t)=>!!ge&&t.href.toLowerCase().indexOf(e.toLowerCase())===-1,regex:(e,t)=>!!ge&&ev(t.href,e),not_regex:(e,t)=>!!ge&&!ev(t.href,e),exact:(e,t)=>t.href===e,is_not:(e,t)=>t.href!==e};class Oa{get Bt(){return this._instance.config}constructor(t){var o=this;this.getWebExperimentsAndEvaluateDisplayLogic=function(a){a===void 0&&(a=!1),o.getWebExperiments((n=>{Oa.Hn("retrieved web experiments from the server"),o.zn=new Map,n.forEach((i=>{if(i.feature_flag_key){var l;o.zn&&(Oa.Hn("setting flag key ",i.feature_flag_key," to web experiment ",i),(l=o.zn)==null||l.set(i.feature_flag_key,i));var c=o._instance.getFeatureFlag(i.feature_flag_key);Co(c)&&i.variants[c]&&o.Un(i.name,c,i.variants[c].transforms)}else if(i.variants)for(var d in i.variants){var p=i.variants[d];Oa.Yn(p)&&o.Un(i.name,d,p.transforms)}}))}),a)},this._instance=t,this._instance.onFeatureFlags((a=>{this.onFeatureFlags(a)}))}initialize(){}onFeatureFlags(t){if(this._is_bot())Oa.Hn(KO);else if(!this.Bt.disable_web_experiments){if(Ct(this.zn))return this.zn=new Map,this.loadIfEnabled(),void this.previewWebExperiment();Oa.Hn("applying feature flags",t),t.forEach((o=>{var a;if(this.zn&&(a=this.zn)!=null&&a.has(o)){var n,i=this._instance.getFeatureFlag(o),l=(n=this.zn)==null?void 0:n.get(o);i&&l!=null&&l.variants[i]&&this.Un(l.name,i,l.variants[i].transforms)}}))}}previewWebExperiment(){var t=Oa.getWindowLocation();if(t!=null&&t.search){var o=Zf(t?.search,"__experiment_id"),a=Zf(t?.search,"__experiment_variant");o&&a&&(Oa.Hn("previewing web experiments "+o+" && "+a),this.getWebExperiments((n=>{this.Gn(parseInt(o),a,n)}),!1,!0))}}loadIfEnabled(){this.Bt.disable_web_experiments||this.getWebExperimentsAndEvaluateDisplayLogic()}getWebExperiments(t,o,a){if(this.Bt.disable_web_experiments&&!a)return t([]);var n=this._instance.get_property("$web_experiments");if(n&&!o)return t(n);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/web_experiments/?token="+this.Bt.token),method:"GET",callback:i=>t(i.statusCode===200&&i.json&&i.json.experiments||[])})}Gn(t,o,a){var n=a.filter((i=>i.id===t));n&&n.length>0&&(Oa.Hn("Previewing web experiment ["+n[0].name+"] with variant ["+o+"]"),this.Un(n[0].name,o,n[0].variants[o].transforms))}static Yn(t){return!Ct(t.conditions)&&Oa.Wn(t)&&Oa.Xn(t)}static Wn(t){var o;if(Ct(t.conditions)||Ct((o=t.conditions)==null?void 0:o.url))return!0;var a,n,i,l=Oa.getWindowLocation();return!!l&&((a=t.conditions)==null||!a.url||Nie[(n=(i=t.conditions)==null?void 0:i.urlMatchType)!==null&&n!==void 0?n:"icontains"](t.conditions.url,l))}static getWindowLocation(){return ge?.location}static Xn(t){var o;if(Ct(t.conditions)||Ct((o=t.conditions)==null?void 0:o.utm))return!0;var a=_j();if(a.utm_source){var n,i,l,c,d,p,m,h,f=(n=t.conditions)==null||(n=n.utm)==null||!n.utm_campaign||((i=t.conditions)==null||(i=i.utm)==null?void 0:i.utm_campaign)==a.utm_campaign,v=(l=t.conditions)==null||(l=l.utm)==null||!l.utm_source||((c=t.conditions)==null||(c=c.utm)==null?void 0:c.utm_source)==a.utm_source,b=(d=t.conditions)==null||(d=d.utm)==null||!d.utm_medium||((p=t.conditions)==null||(p=p.utm)==null?void 0:p.utm_medium)==a.utm_medium,S=(m=t.conditions)==null||(m=m.utm)==null||!m.utm_term||((h=t.conditions)==null||(h=h.utm)==null?void 0:h.utm_term)==a.utm_term;return f&&b&&S&&v}return!1}static Hn(t){for(var o=arguments.length,a=new Array(o>1?o-1:0),n=1;o>n;n++)a[n-1]=arguments[n];Ue.info("[WebExperiments] "+t,a)}Un(t,o,a){this._is_bot()?Oa.Hn(KO):o!=="control"?a.forEach((n=>{if(n.selector){var i;Oa.Hn("applying transform of variant "+o+" for experiment "+t+" ",n);var l=(i=document)==null?void 0:i.querySelectorAll(n.selector);l?.forEach((c=>{var d=c;n.html&&(d.innerHTML=n.html),n.css&&d.setAttribute("style",n.css)}))}})):Oa.Hn("Control variants leave the page unmodified.")}_is_bot(){return Pn&&this._instance?Fj(Pn,this.Bt.custom_blocked_useragents):void 0}}var Hn=wo("[Conversations]"),pl="Conversations not available yet.",Hv={featureFlags:class{constructor(e){this.Jn=!1,this.Kn=!1,this.Qn=!1,this.es=!1,this.ts=!1,this.rs=!1,this.ns=!1,this.ss=!1,this._instance=e,this.featureFlagEventHandlers=[]}get Bt(){return this._instance.config}get ni(){return this._instance.persistence}os(e){return this._instance.get_property(e)}ls(){var e,t;return(e=(t=this.ni)==null?void 0:t.wr(this.Bt.feature_flag_cache_ttl_ms))!==null&&e!==void 0&&e}us(){return!!this.ls()&&(this.ss||this.Qn||(this.ss=!0,$a.warn("Feature flag cache is stale, triggering refresh..."),this.reloadFeatureFlags()),!0)}hs(){var e,t=(e=this.Bt.evaluation_contexts)!==null&&e!==void 0?e:this.Bt.evaluation_environments;return!this.Bt.evaluation_environments||this.Bt.evaluation_contexts||this.ns||($a.warn("evaluation_environments is deprecated. Use evaluation_contexts instead. evaluation_environments will be removed in a future version."),this.ns=!0),t!=null&&t.length?t.filter((o=>{var a=o&&typeof o=="string"&&o.trim().length>0;return a||$a.error("Invalid evaluation context found:",o,"Expected non-empty string"),a})):[]}cs(){return this.hs().length>0}initialize(){var e,t,{config:o}=this._instance,a=(e=(t=o.bootstrap)==null?void 0:t.featureFlags)!==null&&e!==void 0?e:{};if(Object.keys(a).length){var n,i,l=(n=(i=o.bootstrap)==null?void 0:i.featureFlagPayloads)!==null&&n!==void 0?n:{},c=Object.keys(a).filter((p=>!!a[p])).reduce(((p,m)=>(p[m]=a[m]||!1,p)),{}),d=Object.keys(l).filter((p=>c[p])).reduce(((p,m)=>(l[m]&&(p[m]=l[m]),p)),{});this.receivedFeatureFlags({featureFlags:c,featureFlagPayloads:d})}}updateFlags(e,t,o){var a=o!=null&&o.merge?this.getFlagVariants():{},n=o!=null&&o.merge?this.getFlagPayloads():{},i=Ne({},a,e),l=Ne({},n,t),c={};for(var[d,p]of Object.entries(i)){var m=typeof p=="string";c[d]={key:d,enabled:!!m||!!p,variant:m?p:void 0,reason:void 0,metadata:$e(l?.[d])?void 0:{id:0,version:void 0,description:void 0,payload:l[d]}}}this.receivedFeatureFlags({flags:c})}get hasLoadedFlags(){return this.Kn}getFlags(){return Object.keys(this.getFlagVariants())}getFlagsWithDetails(){var e=this.os(PT),t=this.os(Ti),o=this.os(Wc);if(!o&&!t)return e||{};var a=Mo({},e||{}),n=[...new Set([...Object.keys(o||{}),...Object.keys(t||{})])];for(var i of n){var l,c,d=a[i],p=t?.[i],m=$e(p)?(l=d?.enabled)!==null&&l!==void 0&&l:!!p,h=$e(p)?d.variant:typeof p=="string"?p:void 0,f=o?.[i],v=Ne({},d,{enabled:m,variant:m?h??d?.variant:void 0});m!==d?.enabled&&(v.original_enabled=d?.enabled),h!==d?.variant&&(v.original_variant=d?.variant),f&&(v.metadata=Ne({},d?.metadata,{payload:f,original_payload:d==null||(c=d.metadata)==null?void 0:c.payload})),a[i]=v}return this.Jn||($a.warn(" Overriding feature flag details!",{flagDetails:e,overriddenPayloads:o,finalDetails:a}),this.Jn=!0),a}getFlagVariants(){var e=this.os(ed),t=this.os(Ti);if(!t)return e||{};for(var o=Mo({},e),a=Object.keys(t),n=0;a.length>n;n++)o[a[n]]=t[a[n]];return this.Jn||($a.warn(" Overriding feature flags!",{enabledFlags:e,overriddenFlags:t,finalFlags:o}),this.Jn=!0),o}getFlagPayloads(){var e=this.os(ET),t=this.os(Wc);if(!t)return e||{};for(var o=Mo({},e||{}),a=Object.keys(t),n=0;a.length>n;n++)o[a[n]]=t[a[n]];return this.Jn||($a.warn(" Overriding feature flag payloads!",{flagPayloads:e,overriddenPayloads:t,finalPayloads:o}),this.Jn=!0),o}reloadFeatureFlags(){this.es||this.Bt.advanced_disable_feature_flags||this.ds||(this._instance.Fi.emit("featureFlagsReloading",!0),this.ds=setTimeout((()=>{this.vs()}),5))}fs(){clearTimeout(this.ds),this.ds=void 0}ensureFlagsLoaded(){this.Kn||this.Qn||this.ds||this.reloadFeatureFlags()}setAnonymousDistinctId(e){this.$anon_distinct_id=e}setReloadingPaused(e){this.es=e}vs(e){var t;if(this.fs(),!this._instance.Fr())if(this.Qn)this.ts=!0;else{var o=this.Bt.token,a=this.os(Uf),n={token:o,distinct_id:this._instance.get_distinct_id(),groups:this._instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:Ne({},((t=this.ni)==null?void 0:t.get_initial_props())||{},this.os(np)||{}),group_properties:this.os(gl),timezone:Rj()};Ni(a)||$e(a)||(n.$device_id=a),(e!=null&&e.disableFlags||this.Bt.advanced_disable_feature_flags)&&(n.disable_flags=!0),this.cs()&&(n.evaluation_contexts=this.hs());var i=this._instance.requestRouter.endpointFor("flags","/flags/?v=2"+(this.Bt.advanced_only_evaluate_survey_feature_flags?"&only_evaluate_survey_feature_flags=true":""));this.Qn=!0,this._instance._send_request({method:"POST",url:i,data:n,compression:this.Bt.disable_compression?void 0:Lr.Base64,timeout:this.Bt.feature_flag_request_timeout_ms,callback:l=>{var c,d,p,m=!0;if(l.statusCode===200&&(this.ts||(this.$anon_distinct_id=void 0),m=!1),this.Qn=!1,!n.disable_flags||this.ts){this.rs=!m;var h=[];l.error?l.error instanceof Error?h.push(l.error.name==="AbortError"?"timeout":"connection_error"):h.push("unknown_error"):l.statusCode!==200&&h.push("api_error_"+l.statusCode),(c=l.json)!=null&&c.errorsWhileComputingFlags&&h.push("errors_while_computing_flags");var f,v=!((d=l.json)==null||(d=d.quotaLimited)==null||!d.includes("feature_flags"));v&&h.push("quota_limited"),(p=this.ni)==null||p.register({[MT]:h}),v?$a.warn("You have hit your feature flags quota limit, and will not be able to load feature flags until the quota is reset. Please visit https://posthog.com/docs/billing/limits-alerts to learn more."):(n.disable_flags||this.receivedFeatureFlags((f=l.json)!==null&&f!==void 0?f:{},m,{partialResponse:!!this.Bt.advanced_only_evaluate_survey_feature_flags}),this.ts&&(this.ts=!1,this.vs()))}}})}}getFeatureFlag(e,t){var o;if(t===void 0&&(t={}),!t.fresh||this.rs)if(this.Kn||this.getFlags()&&this.getFlags().length>0){if(!this.us()){var a=this.getFeatureFlagResult(e,t);return(o=a?.variant)!==null&&o!==void 0?o:a?.enabled}}else $a.warn('getFeatureFlag for key "'+e+L0)}getFeatureFlagDetails(e){return this.getFlagsWithDetails()[e]}getFeatureFlagPayload(e){var t=this.getFeatureFlagResult(e,{send_event:!1});return t?.payload}getFeatureFlagResult(e,t){if(t===void 0&&(t={}),!t.fresh||this.rs)if(this.Kn||this.getFlags()&&this.getFlags().length>0){if(!this.us()){var o=this.getFlagVariants(),a=e in o,n=o[e],i=this.getFlagPayloads()[e],l=String(n),c=this.os(AT)||void 0,d=this.os($f)||void 0,p=this.os(dp)||{};if(this.Bt.advanced_feature_flags_dedup_per_session){var m,h=this._instance.get_session_id(),f=this.os(OT);h&&h!==f&&(p={},(m=this.ni)==null||m.register({[dp]:p,[OT]:h}))}if((t.send_event||!("send_event"in t))&&(!(e in p)||!p[e].includes(l))){var v,b,S,_,T,x,E,C,P,R;It(p[e])?p[e].push(l):p[e]=[l],(v=this.ni)==null||v.register({[dp]:p});var D=this.getFeatureFlagDetails(e),O=[...(b=this.os(MT))!==null&&b!==void 0?b:[]];$e(n)&&O.push("flag_missing");var L={$feature_flag:e,$feature_flag_response:n,$feature_flag_payload:i||null,$feature_flag_request_id:c,$feature_flag_evaluated_at:d,$feature_flag_bootstrapped_response:((S=this.Bt.bootstrap)==null||(S=S.featureFlags)==null?void 0:S[e])||null,$feature_flag_bootstrapped_payload:((_=this.Bt.bootstrap)==null||(_=_.featureFlagPayloads)==null?void 0:_[e])||null,$used_bootstrap_value:!this.rs};$e(D==null||(T=D.metadata)==null?void 0:T.version)||(L.$feature_flag_version=D.metadata.version);var q,B=(x=D==null||(E=D.reason)==null?void 0:E.description)!==null&&x!==void 0?x:D==null||(C=D.reason)==null?void 0:C.code;B&&(L.$feature_flag_reason=B),D!=null&&(P=D.metadata)!=null&&P.id&&(L.$feature_flag_id=D.metadata.id),$e(D?.original_variant)&&$e(D?.original_enabled)||(L.$feature_flag_original_response=$e(D.original_variant)?D.original_enabled:D.original_variant),D!=null&&(R=D.metadata)!=null&&R.original_payload&&(L.$feature_flag_original_payload=D==null||(q=D.metadata)==null?void 0:q.original_payload),O.length&&(L.$feature_flag_error=O.join(",")),this._instance.capture("$feature_flag_called",L)}if(a){var U=i;if(!$e(i))try{U=JSON.parse(i)}catch{}return{key:e,enabled:!!n,variant:typeof n=="string"?n:void 0,payload:U}}}}else $a.warn('getFeatureFlagResult for key "'+e+L0)}getRemoteConfigPayload(e,t){var o=this.Bt.token,a={distinct_id:this._instance.get_distinct_id(),token:o};this.cs()&&(a.evaluation_contexts=this.hs()),this._instance._send_request({method:"POST",url:this._instance.requestRouter.endpointFor("flags","/flags/?v=2"),data:a,compression:this.Bt.disable_compression?void 0:Lr.Base64,timeout:this.Bt.feature_flag_request_timeout_ms,callback(n){var i,l=(i=n.json)==null?void 0:i.featureFlagPayloads;t(l?.[e]||void 0)}})}isFeatureEnabled(e,t){if(t===void 0&&(t={}),!t.fresh||this.rs){if(this.Kn||this.getFlags()&&this.getFlags().length>0){var o=this.getFeatureFlag(e,t);return $e(o)?void 0:!!o}$a.warn('isFeatureEnabled for key "'+e+L0)}}addFeatureFlagsHandler(e){this.featureFlagEventHandlers.push(e)}removeFeatureFlagsHandler(e){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter((t=>t!==e))}receivedFeatureFlags(e,t,o){if(this.ni){this.Kn=!0;var a=this.getFlagVariants(),n=this.getFlagPayloads(),i=this.getFlagsWithDetails();(function(l,c,d,p,m,h){d===void 0&&(d={}),p===void 0&&(p={}),m===void 0&&(m={});var f=(O=>{var L=O.flags;return L?(O.featureFlags=Object.fromEntries(Object.keys(L).map((q=>{var B;return[q,(B=L[q].variant)!==null&&B!==void 0?B:L[q].enabled]}))),O.featureFlagPayloads=Object.fromEntries(Object.keys(L).filter((q=>L[q].enabled)).filter((q=>{var B;return(B=L[q].metadata)==null?void 0:B.payload})).map((q=>{var B;return[q,(B=L[q].metadata)==null?void 0:B.payload]})))):$a.warn("Using an older version of the feature flags endpoint. Please upgrade your PostHog server to the latest version"),O})(l),v=f.flags,b=f.featureFlags,S=f.featureFlagPayloads;if(b){var _=l.requestId,T=l.evaluatedAt;if(It(b)){$a.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");var x={};if(b)for(var E=0;b.length>E;E++)x[b[E]]=!0;c&&c.register({[af]:b,[ed]:x})}else{var C=b,P=S,R=v;if(h!=null&&h.partialResponse)C=Ne({},d,C),P=Ne({},p,P),R=Ne({},m,R);else if(l.errorsWhileComputingFlags)if(v){var D=new Set(Object.keys(v).filter((O=>{var L;return!((L=v[O])!=null&&L.failed)})));C=Ne({},d,Object.fromEntries(Object.entries(C).filter((O=>{var[L]=O;return D.has(L)})))),P=Ne({},p,Object.fromEntries(Object.entries(P||{}).filter((O=>{var[L]=O;return D.has(L)})))),R=Ne({},m,Object.fromEntries(Object.entries(R||{}).filter((O=>{var[L]=O;return D.has(L)}))))}else C=Ne({},d,C),P=Ne({},p,P),R=Ne({},m,R);c&&c.register(Ne({[af]:Object.keys(WO(C)),[ed]:C||{},[ET]:P||{},[PT]:R||{}},_?{[AT]:_}:{},T?{[$f]:T}:{}))}}})(e,this.ni,a,n,i,o),t||(this.ss=!1),this.ps(t)}}override(e,t){t===void 0&&(t=!1),$a.warn("override is deprecated. Please use overrideFeatureFlags instead."),this.overrideFeatureFlags({flags:e,suppressWarning:t})}overrideFeatureFlags(e){if(!this._instance.__loaded||!this.ni)return $a.uninitializedWarning("posthog.featureFlags.overrideFeatureFlags");if(e===!1)return this.ni.unregister(Ti),this.ni.unregister(Wc),this.ps(),ul.info("All overrides cleared");if(It(e)){var t=GO(e);return this.ni.register({[Ti]:t}),this.ps(),ul.info("Flag overrides set",{flags:e})}if(e&&typeof e=="object"&&("flags"in e||"payloads"in e)){var o,a=e;if(this.Jn=!!((o=a.suppressWarning)!==null&&o!==void 0&&o),"flags"in a){if(a.flags===!1)this.ni.unregister(Ti),ul.info("Flag overrides cleared");else if(a.flags){if(It(a.flags)){var n=GO(a.flags);this.ni.register({[Ti]:n})}else this.ni.register({[Ti]:a.flags});ul.info("Flag overrides set",{flags:a.flags})}}return"payloads"in a&&(a.payloads===!1?(this.ni.unregister(Wc),ul.info("Payload overrides cleared")):a.payloads&&(this.ni.register({[Wc]:a.payloads}),ul.info("Payload overrides set",{payloads:a.payloads}))),void this.ps()}if(e&&typeof e=="object")return this.ni.register({[Ti]:e}),this.ps(),ul.info("Flag overrides set",{flags:e});$a.warn("Invalid overrideOptions provided to overrideFeatureFlags",{overrideOptions:e})}onFeatureFlags(e){if(this.addFeatureFlagsHandler(e),this.Kn){var{flags:t,flagVariants:o}=this.gs();e(t,o)}return()=>this.removeFeatureFlagsHandler(e)}updateEarlyAccessFeatureEnrollment(e,t,o){var a,n=(this.os(ap)||[]).find((d=>d.flagKey===e)),i={["$feature_enrollment/"+e]:t},l={$feature_flag:e,$feature_enrollment:t,$set:i};n&&(l.$early_access_feature_name=n.name),o&&(l.$feature_enrollment_stage=o),this._instance.capture("$feature_enrollment_update",l),this.setPersonPropertiesForFlags(i,!1);var c=Ne({},this.getFlagVariants(),{[e]:t});(a=this.ni)==null||a.register({[af]:Object.keys(WO(c)),[ed]:c}),this.ps()}getEarlyAccessFeatures(e,t,o){t===void 0&&(t=!1);var a=this.os(ap),n=o?"&"+o.map((i=>"stage="+i)).join("&"):"";if(a&&!t)return e(a);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/early_access_features/?token="+this.Bt.token+n),method:"GET",callback:i=>{var l,c;if(i.json){var d=i.json.earlyAccessFeatures;return(l=this.ni)==null||l.unregister(ap),(c=this.ni)==null||c.register({[ap]:d}),e(d)}}})}gs(){var e=this.getFlags(),t=this.getFlagVariants();return{flags:e.filter((o=>t[o])),flagVariants:Object.keys(t).filter((o=>t[o])).reduce(((o,a)=>(o[a]=t[a],o)),{})}}ps(e){var{flags:t,flagVariants:o}=this.gs();this.featureFlagEventHandlers.forEach((a=>a(t,o,{errorsLoading:e})))}setPersonPropertiesForFlags(e,t){t===void 0&&(t=!0);var o=this.os(np)||{},a=e?.$set||(e!=null&&e.$set_once?{}:e),n=e?.$set_once,i={};if(n)for(var l in n)({}).hasOwnProperty.call(n,l)&&(l in o||(i[l]=n[l]));this._instance.register({[np]:Ne({},o,i,a)}),t&&this._instance.reloadFeatureFlags()}resetPersonPropertiesForFlags(){this._instance.unregister(np)}setGroupPropertiesForFlags(e,t){t===void 0&&(t=!0);var o=this.os(gl)||{};Object.keys(o).length!==0&&Object.keys(o).forEach((a=>{o[a]=Ne({},o[a],e[a]),delete e[a]})),this._instance.register({[gl]:Ne({},o,e)}),t&&this._instance.reloadFeatureFlags()}resetGroupPropertiesForFlags(e){if(e){var t=this.os(gl)||{};this._instance.register({[gl]:Ne({},t,{[e]:{}})})}else this._instance.unregister(gl)}reset(){this.Kn=!1,this.Qn=!1,this.es=!1,this.ts=!1,this.rs=!1,this.$anon_distinct_id=void 0,this.fs(),this.Jn=!1}}},Iie={sessionRecording:class{get Bt(){return this._instance.config}get ni(){return this._instance.persistence}get started(){var e;return!((e=this.ys)==null||!e.isStarted)}get status(){var e,t;return this.bs===$u||this.bs===jg?this.bs:(e=(t=this.ys)==null?void 0:t.status)!==null&&e!==void 0?e:this.bs}constructor(e){if(this._forceAllowLocalhostNetworkCapture=!1,this.bs=FO,this._s=void 0,this._instance=e,!this._instance.sessionManager)throw ps.error("started without valid sessionManager"),new Error(YT+" started without valid sessionManager. This is a bug.");if(this.Bt.cookieless_mode===_i)throw new Error(YT+' cannot be used with cookieless_mode="always"')}initialize(){this.startIfEnabledOrStop()}get ws(){var e,t=!((e=this._instance.get_property(op))==null||!e.enabled),o=!this.Bt.disable_session_recording,a=this.Bt.disable_session_recording||this._instance.consent.isOptedOut();return ge&&t&&o&&!a}startIfEnabledOrStop(e){var t;if(!this.ws||(t=this.ys)==null||!t.isStarted){var o=!$e(Object.assign)&&!$e(Array.from);this.ws&&o?(this.Is(e),ps.info("starting")):(this.bs=FO,this.stopRecording())}}Is(e){var t,o,a;this.ws&&(this.bs!==$u&&this.bs!==jg&&(this.bs=jO),et!=null&&(t=et.__PosthogExtensions__)!=null&&(t=t.rrweb)!=null&&t.record&&(o=et.__PosthogExtensions__)!=null&&o.initSessionRecording?this.Cs(e):(a=et.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this._instance,this.Ss,(n=>{if(n)return ps.error("could not load recorder",n);this.Cs(e)})))}stopRecording(){var e,t;(e=this._s)==null||e.call(this),this._s=void 0,(t=this.ys)==null||t.stop()}xs(){var e,t;(e=this._s)==null||e.call(this),this._s=void 0,(t=this.ys)==null||t.discard()}ks(){var e;(e=this.ni)==null||e.unregister(H_)}Ts(e,t){if(Ct(e))return null;var o,a=Xn(e)?e:parseFloat(e);return typeof(o=a)!="number"||!Number.isFinite(o)||0>o||o>1?(ps.warn(t+" must be between 0 and 1. Ignoring invalid value:",e),null):a}As(e){if(this.ni){var t,o,a=this.ni,n=()=>{var i,l=e.sessionRecording===!1?void 0:e.sessionRecording,c=this.Ts((i=this.Bt.session_recording)==null?void 0:i.sampleRate,"session_recording.sampleRate"),d=this.Ts(l?.sampleRate,"remote config sampleRate"),p=c??d;Ct(p)&&this.ks();var m=l?.minimumDurationMilliseconds;a.register({[op]:Ne({cache_timestamp:Date.now(),enabled:!!l},l,{networkPayloadCapture:Ne({capturePerformance:e.capturePerformance},l?.networkPayloadCapture),canvasRecording:{enabled:l?.recordCanvas,fps:l?.canvasFps,quality:l?.canvasQuality},sampleRate:p,minimumDurationMilliseconds:$e(m)?null:m,endpoint:l?.endpoint,triggerMatchType:l?.triggerMatchType,masking:l?.masking,urlTriggers:l?.urlTriggers,version:l?.version,triggerGroups:l?.triggerGroups})})};n(),(t=this._s)==null||t.call(this),this._s=(o=this._instance.sessionManager)==null?void 0:o.onSessionId(n)}}onRemoteConfig(e){return"sessionRecording"in e?e.sessionRecording===!1?(this.As(e),void this.xs()):(this.As(e),void this.startIfEnabledOrStop()):(this.bs===$u&&(this.bs=jg,ps.warn("config refresh failed, recording will not start until page reload")),void this.startIfEnabledOrStop())}log(e,t){var o;t===void 0&&(t="log"),(o=this.ys)!=null&&o.log?this.ys.log(e,t):ps.warn("log called before recorder was ready")}get Ss(){var e,t,o=(e=this._instance)==null||(e=e.persistence)==null?void 0:e.get_property(op);return(o==null||(t=o.scriptConfig)==null?void 0:t.script)||"lazy-recorder"}Es(){var e,t=this._instance.get_property(op);if(!t)return!1;var o=(e=(typeof t=="object"?t:JSON.parse(t)).cache_timestamp)!==null&&e!==void 0?e:Date.now();return 36e5>=Date.now()-o}Cs(e){var t,o;if((t=et.__PosthogExtensions__)==null||!t.initSessionRecording)return ps.warn("Called on script loaded before session recording is available. This can be caused by adblockers."),void this._instance.register_for_session({[yj]:!0});if(this.ys||(this.ys=(o=et.__PosthogExtensions__)==null?void 0:o.initSessionRecording(this._instance),this.ys._forceAllowLocalhostNetworkCapture=this._forceAllowLocalhostNetworkCapture),!this.Es())return this.bs===jg||this.bs===$u?void 0:(this.bs=$u,ps.info("persisted remote config is stale, requesting fresh config before starting"),void new Dj(this._instance).load());this.bs=jO,this.ys.start(e)}onRRwebEmit(e){var t;(t=this.ys)==null||t.onRRwebEmit==null||t.onRRwebEmit(e)}overrideLinkedFlag(){var e,t;this.ys||(t=this.ni)==null||t.register({[mj]:!0}),(e=this.ys)==null||e.overrideLinkedFlag()}overrideSampling(){var e,t;this.ys||(t=this.ni)==null||t.register({[pj]:!0}),(e=this.ys)==null||e.overrideSampling()}overrideTrigger(e){var t,o;this.ys||(o=this.ni)==null||o.register({[e==="url"?hj:gj]:!0}),(t=this.ys)==null||t.overrideTrigger(e)}get sdkDebugProperties(){var e;return((e=this.ys)==null?void 0:e.sdkDebugProperties)||{$recording_status:this.status}}tryAddCustomEvent(e,t){var o;return!((o=this.ys)==null||!o.tryAddCustomEvent(e,t))}}},Lie={autocapture:class{constructor(e){this.Rs=!1,this.Ns=null,this.Ms=!1,this.instance=e,this.rageclicks=new NO(e.config.rageclick),this.Fs=null}initialize(){this.startIfEnabled()}get Bt(){var e,t,o=Bo(this.instance.config.autocapture)?this.instance.config.autocapture:{};return o.url_allowlist=(e=o.url_allowlist)==null?void 0:e.map((a=>new RegExp(a))),o.url_ignorelist=(t=o.url_ignorelist)==null?void 0:t.map((a=>new RegExp(a))),o}Os(){if(this.isBrowserSupported()){if(ge&&ze){var e=o=>{o=o||ge?.event;try{this.Ps(o)}catch(a){IO.error("Failed to capture event",a)}};if(Zo(ze,"submit",e,{capture:!0}),Zo(ze,"change",e,{capture:!0}),Zo(ze,"click",e,{capture:!0}),this.Bt.capture_copied_text){var t=o=>{this.Ps(o=o||ge?.event,M0)};Zo(ze,"copy",t,{capture:!0}),Zo(ze,"cut",t,{capture:!0})}}}else IO.info("Disabling Automatic Event Collection because this browser is not supported")}startIfEnabled(){this.isEnabled&&!this.Rs&&(this.Os(),this.Rs=!0)}onRemoteConfig(e){e.elementsChainAsString&&(this.Ms=e.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register({[yT]:!!e.autocapture_opt_out}),this.Ns=!!e.autocapture_opt_out,this.startIfEnabled()}setElementSelectors(e){this.Fs=e}getElementSelectors(e){var t,o=[];return(t=this.Fs)==null||t.forEach((a=>{var n=ze?.querySelectorAll(a);n?.forEach((i=>{e===i&&o.push(a)}))})),o}get isEnabled(){var e,t,o=(e=this.instance.persistence)==null?void 0:e.props[yT];if(Ni(this.Ns)&&!qr(o)&&!this.instance.Fr())return!1;var a=(t=this.Ns)!==null&&t!==void 0?t:!!o;return!!this.instance.config.autocapture&&!a}Ps(e,t){if(t===void 0&&(t="$autocapture"),this.isEnabled){var o,a=EO(e);$j(a)&&(a=a.parentNode||null),t==="$autocapture"&&e.type==="click"&&e instanceof MouseEvent&&this.instance.config.rageclick&&(o=this.rageclicks)!=null&&o.isRageClick(e.clientX,e.clientY,e.timeStamp||new Date().getTime())&&(function(h,f){if(!ge||WT(h))return!1;var v,b,S;if(qr(f)?(v=!!f&&RO,b=void 0):(v=(S=f?.css_selector_ignorelist)!==null&&S!==void 0?S:RO,b=f?.content_ignorelist),v===!1)return!1;var{targetElementList:_}=DO(h,!1);return!(function(T,x){if(T===!1||$e(T))return!1;var E;if(T===!0)E=yie;else{if(!It(T))return!1;if(T.length>10)return Ue.error("[PostHog] content_ignorelist array cannot exceed 10 items. Use css_selector_ignorelist for more complex matching."),!1;E=T.map((C=>C.toLowerCase()))}return x.some((C=>{var{safeText:P,ariaLabel:R}=C;return E.some((D=>P.includes(D)||R.includes(D)))}))})(b,_.map((T=>{var x;return{safeText:Ip(T).toLowerCase(),ariaLabel:((x=T.getAttribute("aria-label"))==null?void 0:x.toLowerCase().trim())||""}})))&&!AO(_,v)})(a,this.instance.config.rageclick)&&this.Ps(e,"$rageclick");var n=t===M0;if(a&&(function(h,f,v,b,S){var _,T,x,E;if(v===void 0&&(v=void 0),!ge||WT(h)||(_=v)!=null&&_.url_allowlist&&!PO(v.url_allowlist)||(T=v)!=null&&T.url_ignorelist&&PO(v.url_ignorelist))return!1;if((x=v)!=null&&x.dom_event_allowlist){var C=v.dom_event_allowlist;if(C&&!C.some((L=>f.type===L)))return!1}var{parentIsUsefulElement:P,targetElementList:R}=DO(h,b);if(!(function(L,q){var B=q?.element_allowlist;if($e(B))return!0;var U,F=function(ae){if(B.some((H=>ae.tagName.toLowerCase()===H)))return{v:!0}};for(var W of L)if(U=F(W))return U.v;return!1})(R,v)||!AO(R,(E=v)==null?void 0:E.css_selector_allowlist))return!1;var D=ge.getComputedStyle(h);if(D&&D.getPropertyValue("cursor")==="pointer"&&f.type==="click")return!0;var O=h.tagName.toLowerCase();switch(O){case"html":return!1;case"form":return(S||["submit"]).indexOf(f.type)>=0;case"input":case"select":case"textarea":return(S||["change","click"]).indexOf(f.type)>=0;default:return P?(S||["click"]).indexOf(f.type)>=0:(S||["click"]).indexOf(f.type)>=0&&(J_.indexOf(O)>-1||h.getAttribute("contenteditable")==="true")}})(a,e,this.Bt,n,n?["copy","cut"]:void 0)){var{props:i,explicitNoCapture:l}=Cie(a,{e,maskAllElementAttributes:this.instance.config.mask_all_element_attributes,maskAllText:this.instance.config.mask_all_text,elementAttributeIgnoreList:this.Bt.element_attribute_ignorelist,elementsChainAsString:this.Ms});if(l)return!1;var c=this.getElementSelectors(a);if(c&&c.length>0&&(i.$element_selectors=c),t===M0){var d,p=Hj(ge==null||(d=ge.getSelection())==null?void 0:d.toString()),m=e.type||"clipboard";if(!p)return!1;i.$selected_content=p,i.$copy_type=m}return this.instance.capture(t,i),!0}}}isBrowserSupported(){return xi(ze?.querySelectorAll)}},historyAutocapture:class{constructor(e){var t;this._instance=e,this.Ls=(ge==null||(t=ge.location)==null?void 0:t.pathname)||""}initialize(){this.startIfEnabled()}get isEnabled(){return this._instance.config.capture_pageview==="history_change"}startIfEnabled(){this.isEnabled&&(Ue.info("History API monitoring enabled, starting..."),this.monitorHistoryChanges())}stop(){this.Ds&&this.Ds(),this.Ds=void 0,Ue.info("History API monitoring stopped")}monitorHistoryChanges(){var e,t;if(ge&&ge.history){var o=this;(e=ge.history.pushState)!=null&&e.__posthog_wrapped__||LO(ge.history,"pushState",(a=>function(n,i,l){a.call(this,n,i,l),o.Bs("pushState")})),(t=ge.history.replaceState)!=null&&t.__posthog_wrapped__||LO(ge.history,"replaceState",(a=>function(n,i,l){a.call(this,n,i,l),o.Bs("replaceState")})),this.js()}}Bs(e){try{var t,o=ge==null||(t=ge.location)==null?void 0:t.pathname;if(!o)return;o!==this.Ls&&this.isEnabled&&this._instance.capture(Kc,{navigation_type:e}),this.Ls=o}catch(a){Ue.error("Error capturing "+e+" pageview",a)}}js(){if(!this.Ds){var e=()=>{this.Bs("popstate")};Zo(ge,"popstate",e),this.Ds=()=>{ge&&ge.removeEventListener("popstate",e)}}}},heatmaps:class{get Bt(){return this.instance.config}constructor(e){var t;this.$s=!1,this.Rs=!1,this.qs=null,this.instance=e,this.$s=!((t=this.instance.persistence)==null||!t.props[ST]),this.rageclicks=new NO(e.config.rageclick)}initialize(){this.startIfEnabled()}get flushIntervalMilliseconds(){var e=5e3;return Bo(this.Bt.capture_heatmaps)&&this.Bt.capture_heatmaps.flush_interval_milliseconds&&(e=this.Bt.capture_heatmaps.flush_interval_milliseconds),e}get isEnabled(){return Ct(this.Bt.capture_heatmaps)?Ct(this.Bt.enable_heatmaps)?this.$s:this.Bt.enable_heatmaps:this.Bt.capture_heatmaps!==!1}startIfEnabled(){if(this.isEnabled){if(this.Rs)return;Eie.info("starting..."),this.Zs(),this.Ft()}else{var e;clearInterval((e=this.qs)!==null&&e!==void 0?e:void 0),this.Vs(),this.getAndClearBuffer()}}onRemoteConfig(e){if("heatmaps"in e){var t=!!e.heatmaps;this.instance.persistence&&this.instance.persistence.register({[ST]:t}),this.$s=t,this.startIfEnabled()}}getAndClearBuffer(){var e=this.T;return this.T=void 0,e}Hs(e){this.Tt(e.originalEvent,"deadclick")}Ft(){this.qs&&clearInterval(this.qs),this.qs=ze?.visibilityState==="visible"?setInterval(this.Yr.bind(this),this.flushIntervalMilliseconds):null}Zs(){ge&&ze&&(this.zs=this.Yr.bind(this),Zo(ge,Wf,this.zs),this.Us=e=>this.Tt(e||ge?.event),Zo(ze,"click",this.Us,{capture:!0}),this.Ys=e=>this.Gs(e||ge?.event),Zo(ze,"mousemove",this.Ys,{capture:!0}),this.Ws=new sO(this.instance,Ure,this.Hs.bind(this)),this.Ws.startIfEnabledOrStop(),this.Xs=this.Ft.bind(this),Zo(ze,Gf,this.Xs),this.Rs=!0)}Vs(){var e;ge&&ze&&(this.zs&&ge.removeEventListener(Wf,this.zs),this.Us&&ze.removeEventListener("click",this.Us,{capture:!0}),this.Ys&&ze.removeEventListener("mousemove",this.Ys,{capture:!0}),this.Xs&&ze.removeEventListener(Gf,this.Xs),clearTimeout(this.Js),(e=this.Ws)==null||e.stop(),this.Rs=!1)}Ks(e,t){var o=this.instance.scrollManager.scrollY(),a=this.instance.scrollManager.scrollX(),n=this.instance.scrollManager.scrollElement(),i=(function(l,c,d){for(var p=l;p&&Vv(p)&&!Rs(p,"body");){if(p===d)return!1;if(kt(c,ge?.getComputedStyle(p).position))return!0;p=Gj(p)}return!1})(EO(e),["fixed","sticky"],n);return{x:e.clientX+(i?0:a),y:e.clientY+(i?0:o),target_fixed:i,type:t}}Tt(e,t){var o;if(t===void 0&&(t="click"),!CO(e.target)&&zO(e)){var a=this.Ks(e,t);(o=this.rageclicks)!=null&&o.isRageClick(e.clientX,e.clientY,new Date().getTime())&&this.Qs(Ne({},a,{type:"rageclick"})),this.Qs(a)}}Gs(e){!CO(e.target)&&zO(e)&&(clearTimeout(this.Js),this.Js=setTimeout((()=>{this.Qs(this.Ks(e,"mousemove"))}),500))}Qs(e){if(ge){var t=ge.location.href,o=this.Bt.custom_personal_data_properties,a=this.Bt.mask_personal_data_properties?[..._d,...o||[]]:[],n=Mp(t,a,Np);this.T=this.T||{},this.T[n]||(this.T[n]=[]),this.T[n].push(e)}}Yr(){this.T&&!Xc(this.T)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}},deadClicksAutocapture:sO,webVitalsAutocapture:class{constructor(e){var t;this.$s=!1,this.Rs=!1,this.T={url:void 0,metrics:[],firstMetricTimestamp:void 0},this.eo=()=>{clearTimeout(this.ro),this.T.metrics.length!==0&&(this._instance.capture("$web_vitals",this.T.metrics.reduce(((o,a)=>Ne({},o,{["$web_vitals_"+a.name+"_event"]:Ne({},a),["$web_vitals_"+a.name+"_value"]:a.value})),{})),this.T={url:void 0,metrics:[],firstMetricTimestamp:void 0})},this.ht=o=>{var a,n=(a=this._instance.sessionManager)==null?void 0:a.checkAndGetSessionAndWindowId(!0);if($e(n))us.error("Could not read session ID. Dropping metrics!");else{this.T=this.T||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var i=this.io();$e(i)||(Ct(o?.name)||Ct(o?.value)?us.error("Invalid metric received",o):!this.no||this.no>o.value?(this.T.url!==i&&(this.eo(),this.ro=setTimeout(this.eo,this.flushToCaptureTimeoutMs)),$e(this.T.url)&&(this.T.url=i),this.T.firstMetricTimestamp=$e(this.T.firstMetricTimestamp)?Date.now():this.T.firstMetricTimestamp,o.attribution&&o.attribution.interactionTargetElement&&(o.attribution.interactionTargetElement=void 0),this.T.metrics.push(Ne({},o,{$current_url:i,$session_id:n.sessionId,$window_id:n.windowId,timestamp:Date.now()})),this.T.metrics.length===this.allowedMetrics.length&&this.eo()):us.error("Ignoring metric with value >= "+this.no,o))}},this.so=()=>{if(!this.Rs){var o,a,n,i,l=et.__PosthogExtensions__;$e(l)||$e(l.postHogWebVitalsCallbacks)||({onLCP:o,onCLS:a,onFCP:n,onINP:i}=l.postHogWebVitalsCallbacks),o&&a&&n&&i?(this.allowedMetrics.indexOf("LCP")>-1&&o(this.ht.bind(this)),this.allowedMetrics.indexOf("CLS")>-1&&a(this.ht.bind(this)),this.allowedMetrics.indexOf("FCP")>-1&&n(this.ht.bind(this)),this.allowedMetrics.indexOf("INP")>-1&&i(this.ht.bind(this)),this.Rs=!0):us.error("web vitals callbacks not loaded - not starting")}},this._instance=e,this.$s=!((t=this._instance.persistence)==null||!t.props[_T]),this.startIfEnabled()}get oo(){return this._instance.config.capture_performance}get allowedMetrics(){var e,t,o=Bo(this.oo)?(e=this.oo)==null?void 0:e.web_vitals_allowed_metrics:void 0;return Ct(o)?((t=this._instance.persistence)==null?void 0:t.props[CT])||["CLS","FCP","INP","LCP"]:o}get flushToCaptureTimeoutMs(){return(Bo(this.oo)?this.oo.web_vitals_delayed_flush_ms:void 0)||5e3}get useAttribution(){var e=Bo(this.oo)?this.oo.web_vitals_attribution:void 0;return e!=null&&e}get no(){var e=Bo(this.oo)&&Xn(this.oo.__web_vitals_max_value)?this.oo.__web_vitals_max_value:BO;return e>0&&6e4>=e?BO:e}get isEnabled(){var e=wa?.protocol;if(e!=="http:"&&e!=="https:")return us.info("Web Vitals are disabled on non-http/https protocols"),!1;var t=Bo(this.oo)?this.oo.web_vitals:qr(this.oo)?this.oo:void 0;return qr(t)?t:this.$s}startIfEnabled(){this.isEnabled&&!this.Rs&&(us.info("enabled, starting..."),this.ur(this.so))}onRemoteConfig(e){if("capturePerformance"in e){var t=Bo(e.capturePerformance)&&!!e.capturePerformance.web_vitals,o=Bo(e.capturePerformance)?e.capturePerformance.web_vitals_allowed_metrics:void 0;this._instance.persistence&&(this._instance.persistence.register({[_T]:t}),this._instance.persistence.register({[CT]:o})),this.$s=t,this.startIfEnabled()}}ur(e){var t,o;(t=et.__PosthogExtensions__)!=null&&t.postHogWebVitalsCallbacks?e():(o=et.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,this.useAttribution?"web-vitals-with-attribution":"web-vitals",(a=>{a?us.error("failed to load script",a):e()}))}io(){var e=ge?ge.location.href:void 0;if(e){var t=this._instance.config.custom_personal_data_properties,o=this._instance.config.mask_personal_data_properties?[..._d,...t||[]]:[];return Mp(e,o,Np)}us.error("Could not determine current URL")}}},Bie={exceptionObserver:class{constructor(e){var t,o,a;this.so=()=>{var n;if(ge&&this.isEnabled&&(n=et.__PosthogExtensions__)!=null&&n.errorWrappingFunctions){var i=et.__PosthogExtensions__.errorWrappingFunctions.wrapOnError,l=et.__PosthogExtensions__.errorWrappingFunctions.wrapUnhandledRejection,c=et.__PosthogExtensions__.errorWrappingFunctions.wrapConsoleError;try{!this.ao&&this.Bt.capture_unhandled_errors&&(this.ao=i(this.captureException.bind(this))),!this.lo&&this.Bt.capture_unhandled_rejections&&(this.lo=l(this.captureException.bind(this))),!this.uo&&this.Bt.capture_console_errors&&(this.uo=c(this.captureException.bind(this)))}catch(d){qu.error("failed to start",d),this.ho()}}},this._instance=e,this.co=!((t=this._instance.persistence)==null||!t.props[wT]),this.do=new Zne({refillRate:(o=this._instance.config.error_tracking.__exceptionRateLimiterRefillRate)!==null&&o!==void 0?o:1,bucketSize:(a=this._instance.config.error_tracking.__exceptionRateLimiterBucketSize)!==null&&a!==void 0?a:10,refillInterval:1e4,Gt:qu}),this.Bt=this.vo(),this.startIfEnabledOrStop()}vo(){var e=this._instance.config.capture_exceptions,t={capture_unhandled_errors:!1,capture_unhandled_rejections:!1,capture_console_errors:!1};return Bo(e)?t=Ne({},t,e):($e(e)?this.co:e)&&(t=Ne({},t,{capture_unhandled_errors:!0,capture_unhandled_rejections:!0})),t}get isEnabled(){return this.Bt.capture_console_errors||this.Bt.capture_unhandled_errors||this.Bt.capture_unhandled_rejections}startIfEnabledOrStop(){this.isEnabled?(qu.info("enabled"),this.ho(),this.ur(this.so)):this.ho()}ur(e){var t,o;(t=et.__PosthogExtensions__)!=null&&t.errorWrappingFunctions&&e(),(o=et.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"exception-autocapture",(a=>{if(a)return qu.error("failed to load script",a);e()}))}ho(){var e,t,o;(e=this.ao)==null||e.call(this),this.ao=void 0,(t=this.lo)==null||t.call(this),this.lo=void 0,(o=this.uo)==null||o.call(this),this.uo=void 0}onRemoteConfig(e){"autocaptureExceptions"in e&&(this.co=!!e.autocaptureExceptions||!1,this._instance.persistence&&this._instance.persistence.register({[wT]:this.co}),this.Bt=this.vo(),this.startIfEnabledOrStop())}onConfigChange(){this.Bt=this.vo()}captureException(e){var t,o,a,n=(t=e==null||(o=e.$exception_list)==null||(o=o[0])==null?void 0:o.type)!==null&&t!==void 0?t:"Exception";this.do.consumeRateLimit(n)?qu.info("Skipping exception capture because of client rate limiting.",{exception:n}):(a=this._instance.exceptions)==null||a.sendExceptionEvent(e)}},exceptions:class{constructor(e){var t,o;this.fo=[],this.po=new cre([new vre,new Cre,new yre,new bre,new _re,new xre,new wre,new kre],(function(a){for(var n=arguments.length,i=new Array(n>1?n-1:0),l=1;n>l;l++)i[l-1]=arguments[l];return function(c,d){d===void 0&&(d=0);for(var p=[],m=c.split(`
168
- `),h=d;m.length>h;h++){var f=m[h];if(1024>=f.length){var v=aO.test(f)?f.replace(aO,"$1"):f;if(!v.match(/\S*Error: /)){for(var b of i){var S=b(v,a);if(S){p.push(S);break}}if(p.length>=50)break}}}return(function(_){if(!_.length)return[];var T=Array.from(_);return T.reverse(),T.slice(0,50).map((x=>{return Ne({},x,{filename:x.filename||(E=T,E[E.length-1]||{}).filename,function:x.function||xd});var E}))})(p)}})("web:javascript",mre,fre)),this._instance=e,this.fo=(t=(o=this._instance.persistence)==null?void 0:o.get_property(TT))!==null&&t!==void 0?t:[],this.mo=zf(this.yo()),this.bo=new Ere(this.mo)}onConfigChange(){this.mo=zf(this.yo()),this.bo.setConfig(this.mo)}onRemoteConfig(e){var t,o,a;if("errorTracking"in e){var n=(t=(o=e.errorTracking)==null?void 0:o.suppressionRules)!==null&&t!==void 0?t:[],i=(a=e.errorTracking)==null?void 0:a.captureExtensionExceptions;this.fo=n,this._instance.persistence&&this._instance.persistence.register({[TT]:this.fo,[xT]:i})}}get _o(){var e,t=!!this._instance.get_property(xT),o=this._instance.config.error_tracking.captureExtensionExceptions;return(e=o??t)!==null&&e!==void 0&&e}buildProperties(e,t){return this.po.buildFromUnknown(e,{syntheticException:t?.syntheticException,mechanism:{handled:t?.handled}})}addExceptionStep(e,t){if(this.mo.enabled)try{if(!Co(e)||e.trim().length===0)return void wi.warn("Ignoring exception step because message must be a non-empty string");var o=this.wo(t),{sanitizedProperties:a,droppedKeys:n}=(function(i){if(!i)return{sanitizedProperties:{},droppedKeys:[]};var l=[];return{sanitizedProperties:Object.keys(i).reduce(((c,d)=>Pre.has(d)?(l.push(d),c):(c[d]=i[d],c)),{}),droppedKeys:l}})(o);n.length>0&&wi.warn("Ignoring reserved exception step fields",{droppedKeys:n}),this.bo.add(Ne({[Ff]:e,[jf]:new Date().toISOString()},a))}catch(i){wi.error("Failed to add exception step. Ignoring breadcrumb.",i)}}sendExceptionEvent(e){try{var t=e.$exception_list;if(this.Io(t)){if(this.Co(t))return this.So("Exception dropped: matched a suppression rule"),void wi.info("Skipping exception capture because a suppression rule matched");if(!this._o&&this.xo(t))return this.So("Exception dropped: thrown by a browser extension"),void wi.info("Skipping exception capture because it was thrown by an extension");if(!this._instance.config.error_tracking.__capturePostHogExceptions&&this.ko(t))return this.So("Exception dropped: thrown by the PostHog SDK"),void wi.info("Skipping exception capture because it was thrown by the PostHog SDK")}var o=this.mo.enabled&&Ct(e.$exception_steps)?this.To(e):e;try{var a=this._instance.capture("$exception",o,{_noTruncate:!0,_batchKey:"exceptionEvent",en:!0});return a&&this.bo.clear(),a}catch(n){return wi.error("Failed to capture exception event. Dropping this exception.",n),void this.bo.clear()}}catch(n){return void wi.error("Failed to process exception event. Ignoring this exception.",n)}}To(e){try{var t=this.bo.getAttachable();return t.length===0?e:Ne({},e,{$exception_steps:t})}catch(o){return wi.error("Failed to read buffered exception steps. Capturing exception without steps.",o),e}}So(e){this.mo.enabled&&this.bo.add({[Ff]:e,[jf]:new Date().toISOString()})}wo(e){return Bo(e)?Ne({},e):{}}yo(){var e,t;return(e=(t=this._instance.config.error_tracking)==null?void 0:t.exception_steps)!==null&&e!==void 0?e:{}}Co(e){if(e.length===0)return!1;var t=e.reduce(((o,a)=>{var{type:n,value:i}=a;return Co(n)&&n.length>0&&o.$exception_types.push(n),Co(i)&&i.length>0&&o.$exception_values.push(i),o}),{$exception_types:[],$exception_values:[]});return this.fo.some((o=>{var a=o.values.map((n=>{var i,l=jj[n.operator],c=It(n.value)?n.value:[n.value],d=(i=t[n.key])!==null&&i!==void 0?i:[];return c.length>0&&l(c,d)}));return o.type==="OR"?a.some(Boolean):a.every(Boolean)}))}xo(e){return e.flatMap((t=>{var o,a;return(o=(a=t.stacktrace)==null?void 0:a.frames)!==null&&o!==void 0?o:[]})).some((t=>t.filename&&t.filename.startsWith("chrome-extension://")))}ko(e){if(e.length>0){var t,o,a,n,i=(t=(o=e[0].stacktrace)==null?void 0:o.frames)!==null&&t!==void 0?t:[],l=i[i.length-1];return(a=l==null||(n=l.filename)==null?void 0:n.includes("posthog.com/static"))!==null&&a!==void 0&&a}return!1}Io(e){return!Ct(e)&&It(e)}}},Fie=Ne({productTours:class{get ni(){return this._instance.persistence}constructor(e){this.Ao=null,this.Eo=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){"productTours"in e&&(this.ni&&this.ni.register({[kT]:!!e.productTours}),this.loadIfEnabled())}loadIfEnabled(){var e,t;this.Ao||(e=this._instance).config.disable_product_tours||(t=e.persistence)==null||!t.get_property(kT)||this.ur((()=>this.Ro()))}ur(e){var t,o;(t=et.__PosthogExtensions__)!=null&&t.generateProductTours?e():(o=et.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"product-tours",(a=>{a?UO.error("Could not load product tours script",a):e()}))}Ro(){var e;!this.Ao&&(e=et.__PosthogExtensions__)!=null&&e.generateProductTours&&(this.Ao=et.__PosthogExtensions__.generateProductTours(this._instance,!0))}getProductTours(e,t){if(t===void 0&&(t=!1),!It(this.Eo)||t){var o=this.ni;if(o){var a=o.props[nf];if(It(a)&&!t)return this.Eo=a,void e(a,{isLoaded:!0})}this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/product_tours/?token="+this._instance.config.token),method:"GET",callback:n=>{var i=n.statusCode;if(i!==200||!n.json){var l="Product Tours API could not be loaded, status: "+i;return UO.error(l),void e([],{isLoaded:!1,error:l})}var c=It(n.json.product_tours)?n.json.product_tours:[];this.Eo=c,o&&o.register({[nf]:c}),e(c,{isLoaded:!0})}})}else e(this.Eo,{isLoaded:!0})}getActiveProductTours(e){Ct(this.Ao)?e([],{isLoaded:!1,error:"Product tours not loaded"}):this.Ao.getActiveProductTours(e)}showProductTour(e){var t;(t=this.Ao)==null||t.showTourById(e)}previewTour(e){this.Ao?this.Ao.previewTour(e):this.ur((()=>{var t;this.Ro(),(t=this.Ao)==null||t.previewTour(e)}))}dismissProductTour(){var e;(e=this.Ao)==null||e.dismissTour("user_clicked_skip")}nextStep(){var e;(e=this.Ao)==null||e.nextStep()}previousStep(){var e;(e=this.Ao)==null||e.previousStep()}clearCache(){var e;this.Eo=null,(e=this.ni)==null||e.unregister(nf)}resetTour(e){var t;(t=this.Ao)==null||t.resetTour(e)}resetAllTours(){var e;(e=this.Ao)==null||e.resetAllTours()}cancelPendingTour(e){var t;(t=this.Ao)==null||t.cancelPendingTour(e)}}},Hv),jie={siteApps:class{constructor(e){this._instance=e,this.No=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}Mo(e,t){if(t){var o=this.globalsForEvent(t);this.No.push(o),this.No.length>1e3&&(this.No=this.No.slice(10))}}get siteAppLoaders(){var e;return(e=et._POSTHOG_REMOTE_CONFIG)==null||(e=e[this._instance.config.token])==null?void 0:e.siteApps}initialize(){if(this.isEnabled){var e=this._instance._addCaptureHook(this.Mo.bind(this));this.Fo=()=>{e(),this.No=[],this.Fo=void 0}}}globalsForEvent(e){var t,o,a,n,i,l,c;if(!e)throw new Error("Event payload is required");var d={},p=this._instance.get_property("$groups")||[],m=this._instance.get_property("$stored_group_properties")||{};for(var[h,f]of Object.entries(m))d[h]={id:p[h],type:h,properties:f};var{$set_once:v,$set:b}=e;return{event:Ne({},zF(e,Aie),{properties:Ne({},e.properties,b?{$set:Ne({},(t=(o=e.properties)==null?void 0:o.$set)!==null&&t!==void 0?t:{},b)}:{},v?{$set_once:Ne({},(a=(n=e.properties)==null?void 0:n.$set_once)!==null&&a!==void 0?a:{},v)}:{}),elements_chain:(i=(l=e.properties)==null?void 0:l.$elements_chain)!==null&&i!==void 0?i:"",distinct_id:(c=e.properties)==null?void 0:c.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:d}}setupSiteApp(e){var t=this.apps[e.id],o=()=>{var l;!t.errored&&this.No.length&&(ms.info("Processing "+this.No.length+" events for site app with id "+e.id),this.No.forEach((c=>t.processEvent==null?void 0:t.processEvent(c))),t.processedBuffer=!0),Object.values(this.apps).every((c=>c.processedBuffer||c.errored))&&((l=this.Fo)==null||l.call(this))},a=!1,n=l=>{t.errored=!l,t.loaded=!0,ms.info("Site app with id "+e.id+" "+(l?"loaded":"errored")),a&&o()};try{var{processEvent:i}=e.init({posthog:this._instance,callback(l){n(l)}});i&&(t.processEvent=i),a=!0}catch(l){ms.error(qO+e.id,l),n(!1)}if(a&&t.loaded)try{o()}catch(l){ms.error("Error while processing buffered events PostHog app with config id "+e.id,l),t.errored=!0}}Oo(){var e=this.siteAppLoaders||[];for(var t of e)this.apps[t.id]={id:t.id,loaded:!1,errored:!1,processedBuffer:!1};for(var o of e)this.setupSiteApp(o)}Po(e){if(Object.keys(this.apps).length!==0){var t=this.globalsForEvent(e);for(var o of Object.values(this.apps))try{o.processEvent==null||o.processEvent(t)}catch(a){ms.error("Error while processing event "+e.event+" for site app "+o.id,a)}}}onRemoteConfig(e){var t,o,a,n=this;if((t=this.siteAppLoaders)!=null&&t.length)return this.isEnabled?(this.Oo(),void this._instance.on("eventCaptured",(d=>this.Po(d)))):void ms.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if((o=this.Fo)==null||o.call(this),(a=e.siteApps)!=null&&a.length)if(this.isEnabled){var i=function(d){var p;et["__$$ph_site_app_"+d]=n._instance,(p=et.__PosthogExtensions__)==null||p.loadSiteApp==null||p.loadSiteApp(n._instance,c,(m=>{if(m)return ms.error(qO+d,m)}))};for(var{id:l,url:c}of e.siteApps)i(l)}else ms.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}},zie={tracingHeaders:class{constructor(e){this.Lo=void 0,this.Do=void 0,this.so=()=>{var t,o,a=this.Bo()||[];$e(this.Lo)&&((t=et.__PosthogExtensions__)==null||(t=t.tracingHeadersPatchFns)==null||t._patchXHR(a,this._instance.get_distinct_id(),this._instance.sessionManager)),$e(this.Do)&&((o=et.__PosthogExtensions__)==null||(o=o.tracingHeadersPatchFns)==null||o._patchFetch(a,this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=e}initialize(){this.startIfEnabledOrStop()}ur(e){var t,o;(t=et.__PosthogExtensions__)!=null&&t.tracingHeadersPatchFns&&e(),(o=et.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"tracing-headers",(a=>{if(a)return Pie.error("failed to load script",a);e()}))}Bo(){var e;return(e=this._instance.config.addTracingHeaders)!==null&&e!==void 0?e:this._instance.config.__add_tracing_headers}startIfEnabledOrStop(){var e,t;this.Bo()?this.ur(this.so):((e=this.Lo)==null||e.call(this),(t=this.Do)==null||t.call(this),this.Lo=void 0,this.Do=void 0)}}},Uie=Ne({surveys:class{get Bt(){return this._instance.config}constructor(e){this.jo=void 0,this._surveyManager=null,this.$o=!1,this.qo=[],this.Zo=null,this._instance=e,this._surveyEventReceiver=null}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this.Bt.disable_surveys){var t=e.surveys;if(Ct(t))return oo.warn("Flags not loaded yet. Not loading surveys.");var o=It(t);this.jo=o?t.length>0:t,oo.info("flags response received, isSurveysEnabled: "+this.jo),this.loadIfEnabled()}}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var e=[],t=0;t<localStorage.length;t++){var o=localStorage.key(t);(o!=null&&o.startsWith(HT)||o!=null&&o.startsWith("inProgressSurvey_"))&&e.push(o)}e.forEach((a=>localStorage.removeItem(a)))}loadIfEnabled(){if(!this._surveyManager)if(this.$o)oo.info("Already initializing surveys, skipping...");else if(this.Bt.disable_surveys)oo.info($O);else if(this.Bt.cookieless_mode&&this._instance.consent.isOptedOut())oo.info("Not loading surveys in cookieless mode without consent.");else{var e=et?.__PosthogExtensions__;if(e){if(!$e(this.jo)||this.Bt.advanced_enable_surveys){var t=this.jo||this.Bt.advanced_enable_surveys;this.$o=!0;try{var o=e.generateSurveys;if(o)return void this.Vo(o,t);var a=e.loadExternalDependency;if(!a)return void this.Ho(G_);a(this._instance,"surveys",(n=>{n||!e.generateSurveys?this.Ho("Could not load surveys script",n):this.Vo(e.generateSurveys,t)}))}catch(n){throw this.Ho("Error initializing surveys",n),n}finally{this.$o=!1}}}else oo.error("PostHog Extensions not found.")}}Vo(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new Oie(this._instance),oo.info("Surveys loaded successfully"),this.zo({isLoaded:!0})}Ho(e,t){oo.error(e,t),this.zo({isLoaded:!1,error:e})}onSurveysLoaded(e){return this.qo.push(e),this._surveyManager&&this.zo({isLoaded:!0}),()=>{this.qo=this.qo.filter((t=>t!==e))}}getSurveys(e,t){if(t===void 0&&(t=!1),this.Bt.disable_surveys)return oo.info($O),e([]);var o,a=this._instance.get_property(RT);if(a&&!t)return e(a,{isLoaded:!0});typeof Promise<"u"&&this.Zo?this.Zo.then((n=>{var{surveys:i,context:l}=n;return e(i,l)})):(typeof Promise<"u"&&(this.Zo=new Promise((n=>{o=n}))),this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this.Bt.token),method:"GET",timeout:this.Bt.surveys_request_timeout_ms,callback:n=>{var i;this.Zo=null;var l=n.statusCode;if(l!==200||!n.json){var c="Surveys API could not be loaded, status: "+l;oo.error(c);var d={isLoaded:!1,error:c};return e([],d),void(o==null||o({surveys:[],context:d}))}var p,m=n.json.surveys||[],h=m.filter((v=>(function(b){return!(!b.start_date||b.end_date)})(v)&&((function(b){var S;return!((S=b.conditions)==null||(S=S.events)==null||(S=S.values)==null||!S.length)})(v)||(function(b){var S;return!((S=b.conditions)==null||(S=S.actions)==null||(S=S.values)==null||!S.length)})(v))));h.length>0&&((p=this._surveyEventReceiver)==null||p.register(h)),(i=this._instance.persistence)==null||i.register({[RT]:m});var f={isLoaded:!0};e(m,f),o?.({surveys:m,context:f})}}))}zo(e){for(var t of this.qo)try{if(!e.isLoaded)return t([],e);this.getSurveys(t)}catch(o){oo.error("Error in survey callback",o)}}getActiveMatchingSurveys(e,t){if(t===void 0&&(t=!1),!Ct(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);oo.warn("init was not called")}Uo(e){var t=null;return this.getSurveys((o=>{var a;t=(a=o.find((n=>n.id===e)))!==null&&a!==void 0?a:null})),t}Yo(e){if(Ct(this._surveyManager))return{eligible:!1,reason:I0};var t=typeof e=="string"?this.Uo(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(Ct(this._surveyManager))return oo.warn("init was not called"),{visible:!1,disabledReason:I0};var t=this.Yo(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return Ct(this._surveyManager)?(oo.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:I0})):new Promise((o=>{this.getSurveys((a=>{var n,i=(n=a.find((c=>c.id===e)))!==null&&n!==void 0?n:null;if(i){var l=this.Yo(i);o({visible:l.eligible,disabledReason:l.reason})}else o({visible:!1,disabledReason:"Survey not found"})}),t)}))}renderSurvey(e,t,o){var a;if(Ct(this._surveyManager))oo.warn("init was not called");else{var n=typeof e=="string"?this.Uo(e):e;if(n!=null&&n.id)if(pie.includes(n.type)){var i=ze?.querySelector(t);if(i)return(a=n.appearance)!=null&&a.surveyPopupDelaySeconds?(oo.info("Rendering survey "+n.id+" with delay of "+n.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout((()=>{var l,c;oo.info("Rendering survey "+n.id+" with delay of "+((l=n.appearance)==null?void 0:l.surveyPopupDelaySeconds)+" seconds"),(c=this._surveyManager)==null||c.renderSurvey(n,i,o),oo.info("Survey "+n.id+" rendered")}),1e3*n.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(n,i,o);oo.warn("Survey element not found")}else oo.warn("Surveys of type "+n.type+" cannot be rendered in the app");else oo.warn("Survey not found")}}displaySurvey(e,t){var o;if(Ct(this._surveyManager))oo.warn("init was not called");else{var a=this.Uo(e);if(a){var n=a;if((o=a.appearance)!=null&&o.surveyPopupDelaySeconds&&t.ignoreDelay&&(n=Ne({},a,{appearance:Ne({},a.appearance,{surveyPopupDelaySeconds:0})})),t.displayType!==jT.Popover&&t.initialResponses&&oo.warn("initialResponses is only supported for popover surveys. prefill will not be applied."),t.ignoreConditions===!1){var i=this.canRenderSurvey(a);if(!i.visible)return void oo.warn("Survey is not eligible to be displayed: ",i.disabledReason)}t.displayType!==jT.Inline?this._surveyManager.handlePopoverSurvey(n,t):this.renderSurvey(n,t.selector,t.properties)}else oo.warn("Survey not found")}}cancelPendingSurvey(e){Ct(this._surveyManager)?oo.warn("init was not called"):this._surveyManager.cancelSurvey(e)}handlePageUnload(){var e;(e=this._surveyManager)==null||e.handlePageUnload()}}},Hv),qie={toolbar:class{constructor(e){this.instance=e}Go(e){et.ph_toolbar_state=e}Wo(){var e;return(e=et.ph_toolbar_state)!==null&&e!==void 0?e:0}initialize(){return this.maybeLoadToolbar()}maybeLoadToolbar(e,t,o){if(e===void 0&&(e=void 0),t===void 0&&(t=void 0),o===void 0&&(o=void 0),Sj(this.instance.config)||!ge||!ze)return!1;e=e??ge.location,o=o??ge.history;try{if(!t){try{ge.localStorage.setItem("test","test"),ge.localStorage.removeItem("test")}catch{return!1}t=ge?.localStorage}var a,n=Mie||Qf(e.hash,"__posthog")||Qf(e.hash,"state"),i=n?rO((()=>JSON.parse(atob(decodeURIComponent(n)))))||rO((()=>JSON.parse(decodeURIComponent(n)))):null;return i&&i.action==="ph_authorize"?((a=i).source="url",a&&Object.keys(a).length>0&&(i.desiredHash?e.hash=i.desiredHash:o?o.replaceState(o.state,"",e.pathname+e.search):e.hash="")):((a=JSON.parse(t.getItem(VO)||"{}")).source="localstorage",delete a.userIntent),!(!a.token||this.instance.config.token!==a.token||(this.loadToolbar(a),0))}catch{return!1}}Xo(e){var t=et.ph_load_toolbar||et.ph_load_editor;!Ct(t)&&xi(t)?t(e,this.instance):HO.warn("No toolbar load function found")}loadToolbar(e){var t=!(ze==null||!ze.getElementById(fj));if(!ge||t)return!1;var o=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,a=Ne({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},o?{instrument:!1}:{});if(ge.localStorage.setItem(VO,JSON.stringify(Ne({},a,{source:void 0}))),this.Wo()===2)this.Xo(a);else if(this.Wo()===0){var n;this.Go(1),(n=et.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this.instance,"toolbar",(i=>{if(i)return HO.error("[Toolbar] Failed to load",i),void this.Go(0);this.Go(2),this.Xo(a)})),Zo(ge,"turbolinks:load",(()=>{this.Go(0),this.loadToolbar(a)}))}return!0}Jo(e){return this.loadToolbar(e)}maybeLoadEditor(e,t,o){return e===void 0&&(e=void 0),t===void 0&&(t=void 0),o===void 0&&(o=void 0),this.maybeLoadToolbar(e,t,o)}}},$ie=Ne({experiments:Oa},Hv),Vie={conversations:class{constructor(e){this.Ko=void 0,this._conversationsManager=null,this.Qo=!1,this.ea=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this._instance.config.disable_conversations){var t=e.conversations;Ct(t)||(qr(t)?this.Ko=t:(this.Ko=t.enabled,this.ea=t),this.loadIfEnabled())}}reset(){var e;(e=this._conversationsManager)==null||e.reset(),this._conversationsManager=null,this.Ko=void 0,this.ea=null}loadIfEnabled(){if(!(this._conversationsManager||this.Qo||this._instance.config.disable_conversations||Sj(this._instance.config)||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var e=et?.__PosthogExtensions__;if(e&&!$e(this.Ko)&&this.Ko)if(this.ea&&this.ea.token){this.Qo=!0;try{var t=e.initConversations;if(t)return this.ta(t),void(this.Qo=!1);var o=e.loadExternalDependency;if(!o)return void this.ra(G_);o(this._instance,"conversations",(a=>{a||!e.initConversations?this.ra("Could not load conversations script",a):this.ta(e.initConversations),this.Qo=!1}))}catch(a){this.ra("Error initializing conversations",a),this.Qo=!1}}else Hn.error("Conversations enabled but missing token in remote config.")}}ta(e){if(this.ea)try{this._conversationsManager=e(this.ea,this._instance),Hn.info("Conversations loaded successfully")}catch(t){this.ra("Error completing conversations initialization",t)}else Hn.error("Cannot complete initialization: remote config is null")}ra(e,t){Hn.error(e,t),this._conversationsManager=null,this.Qo=!1}show(){this._conversationsManager?this._conversationsManager.show():Hn.warn("Conversations not loaded yet.")}hide(){this._conversationsManager&&this._conversationsManager.hide()}isAvailable(){return this.Ko===!0&&!Ni(this._conversationsManager)}isVisible(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.isVisible())!==null&&e!==void 0&&e}sendMessage(e,t,o){var a=this;return Kn((function*(){return a._conversationsManager?a._conversationsManager.sendMessage(e,t,o):(Hn.warn(pl),null)}))()}getMessages(e,t){var o=this;return Kn((function*(){return o._conversationsManager?o._conversationsManager.getMessages(e,t):(Hn.warn(pl),null)}))()}markAsRead(e){var t=this;return Kn((function*(){return t._conversationsManager?t._conversationsManager.markAsRead(e):(Hn.warn(pl),null)}))()}getTickets(e){var t=this;return Kn((function*(){return t._conversationsManager?t._conversationsManager.getTickets(e):(Hn.warn(pl),null)}))()}requestRestoreLink(e){var t=this;return Kn((function*(){return t._conversationsManager?t._conversationsManager.requestRestoreLink(e):(Hn.warn(pl),null)}))()}restoreFromToken(e){var t=this;return Kn((function*(){return t._conversationsManager?t._conversationsManager.restoreFromToken(e):(Hn.warn(pl),null)}))()}restoreFromUrlToken(){var e=this;return Kn((function*(){return e._conversationsManager?e._conversationsManager.restoreFromUrlToken():(Hn.warn(pl),null)}))()}getCurrentTicketId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getCurrentTicketId())!==null&&e!==void 0?e:null}getWidgetSessionId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getWidgetSessionId())!==null&&e!==void 0?e:null}un(){var e;(e=this._conversationsManager)==null||e.setIdentity()}hn(){var e;(e=this._conversationsManager)==null||e.clearIdentity()}}},Hie={logs:class{constructor(e){var t;this.ia=!1,this.na=!1,this.Gt=wo("[logs]"),this.sa=[],this.oa=0,this.aa=0,this.la=!1,this._instance=e,this._instance&&(t=this._instance.config.logs)!=null&&t.captureConsoleLogs&&(this.ia=!0)}initialize(){this.loadIfEnabled()}onRemoteConfig(e){var t,o=(t=e.logs)==null?void 0:t.captureConsoleLogs;!Ct(o)&&o&&(this.ia=!0,this.loadIfEnabled())}reset(){this.sa=[],this.jr&&(clearTimeout(this.jr),this.jr=void 0),this.oa=0,this.aa=0,this.la=!1}loadIfEnabled(){if(this.ia&&!this.na){var e=et?.__PosthogExtensions__;if(e){var t=e.loadExternalDependency;t?t(this._instance,"logs",(o=>{var a;o||(a=e.logs)==null||!a.initializeLogs?this.Gt.error("Could not load logs script",o):(e.logs.initializeLogs(this._instance),this.na=!0)})):this.Gt.error(G_)}else this.Gt.error("PostHog Extensions not found.")}}captureLog(e){var t,o,a,n,i,l;if(this._instance.is_capturing())if(e&&e.body){var c=(t=(o=this._instance.config.logs)==null?void 0:o.flushIntervalMs)!==null&&t!==void 0?t:3e3,d=(a=(n=this._instance.config.logs)==null?void 0:n.maxLogsPerInterval)!==null&&a!==void 0?a:1e3,p=Date.now();if(c>p-this.aa||(this.aa=p,this.oa=0,this.la=!1),d>this.oa){this.oa++;var m=(function(h,f){var v=h.level||"info",{text:b,number:S}=ij[v]||sre,_=String(Date.now())+"000000",T={};f.distinctId&&(T.posthogDistinctId=f.distinctId),f.sessionId&&(T.sessionId=f.sessionId),f.currentUrl&&(T["url.full"]=f.currentUrl),f.screenName&&(T["screen.name"]=f.screenName),f.appState&&(T["app.state"]=f.appState),f.activeFeatureFlags&&f.activeFeatureFlags.length>0&&(T.feature_flags=f.activeFeatureFlags);var x=Ne({},T,h.attributes||{}),E={timeUnixNano:_,observedTimeUnixNano:_,severityNumber:S,severityText:b,body:{stringValue:h.body},attributes:oO(x)};return h.trace_id&&(E.traceId=h.trace_id),h.span_id&&(E.spanId=h.span_id),$e(h.trace_flags)||(E.flags=h.trace_flags),E})(e,this.ua());this.sa.push({record:m}),((i=(l=this._instance.config.logs)==null?void 0:l.maxBufferSize)!==null&&i!==void 0?i:100)>this.sa.length?this.ha():this.flushLogs()}else this.la||(this.Gt.warn("captureLog dropping logs: exceeded "+d+" logs per "+c+"ms"),this.la=!0)}else this.Gt.warn("captureLog requires a body")}get logger(){return this.ca||(this.ca={trace:(e,t)=>this.captureLog({body:e,level:"trace",attributes:t}),debug:(e,t)=>this.captureLog({body:e,level:"debug",attributes:t}),info:(e,t)=>this.captureLog({body:e,level:"info",attributes:t}),warn:(e,t)=>this.captureLog({body:e,level:"warn",attributes:t}),error:(e,t)=>this.captureLog({body:e,level:"error",attributes:t}),fatal:(e,t)=>this.captureLog({body:e,level:"fatal",attributes:t})}),this.ca}flushLogs(e){if(this.jr&&(clearTimeout(this.jr),this.jr=void 0),this.sa.length!==0){var t=this.sa;this.sa=[];var o=this._instance.config.logs,a=Ne({"service.name":o?.serviceName||"unknown_service"},o?.environment&&{"deployment.environment":o.environment},o?.serviceVersion&&{"service.version":o.serviceVersion},o?.resourceAttributes),n=(function(l,c,d,p){return{resourceLogs:[{resource:{attributes:oO(c)},scopeLogs:[{scope:{name:d,version:p},logRecords:l}]}]}})(t.map((l=>l.record)),a,Ga.LIB_NAME,Ga.LIB_VERSION),i=this._instance.requestRouter.endpointFor("api","/i/v1/logs")+"?token="+encodeURIComponent(this._instance.config.token);this._instance.Vi({method:"POST",url:i,data:n,compression:"best-available",batchKey:"logs",transport:e})}}ha(){var e,t;this.jr||(this.jr=setTimeout((()=>{this.jr=void 0,this.flushLogs()}),(e=(t=this._instance.config.logs)==null?void 0:t.flushIntervalMs)!==null&&e!==void 0?e:3e3))}ua(){var e,t={};if(t.distinctId=this._instance.get_distinct_id(),this._instance.sessionManager){var{sessionId:o}=this._instance.sessionManager.checkAndGetSessionAndWindowId(!0);t.sessionId=o}if(et!=null&&(e=et.location)!=null&&e.href&&(t.currentUrl=et.location.href),this._instance.featureFlags){var a=this._instance.featureFlags.getFlags();a&&a.length>0&&(t.activeFeatureFlags=a)}return t}}},Gie=Ne({},Hv,Iie,Lie,Bie,Fie,jie,Uie,zie,qie,$ie,Vie,Hie);Yn.__defaultExtensionClasses=Ne({},Gie);var YO,Ii=(YO=pp[Yc]=new Yn,(function(){function e(){e.done||(e.done=!0,qj=!1,go(pp,(function(t){t._dom_loaded()})))}ze!=null&&ze.addEventListener?ze.readyState==="complete"?e():Zo(ze,"DOMContentLoaded",e,{capture:!1}):ge&&Ue.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")})(),YO);const Wie="studio-ui-resources",ov="html",Kie=10080*60*1e3,Yie=50,Zie=16*1024*1024;function Qie(e){return e[0]==="mcp"&&e[1]===$I}function Gv(){return new Promise((e,t)=>{const o=indexedDB.open(Wie,1);o.onupgradeneeded=()=>{o.result.objectStoreNames.contains(ov)||o.result.createObjectStore(ov)},o.onsuccess=()=>e(o.result),o.onerror=()=>t(o.error)})}function Cd(e,t){return e.transaction(ov,t).objectStore(ov)}function ZT(e){return new Promise((t,o)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>o(e.error)})}async function Jie(e){if(!(typeof indexedDB>"u"))try{const t=await Gv(),o=Cd(t,"readonly"),a=await ZT(o.getAllKeys()),n=await ZT(o.getAll()),i=Date.now(),l=a.map((p,m)=>({key:p,value:n[m]})).sort((p,m)=>(m.value?.updatedAt??0)-(p.value?.updatedAt??0)),c=[];let d=0;for(const{key:p,value:m}of l){if(!m||i-m.updatedAt>Kie||d>=Yie){c.push(p);continue}d++;try{const f=JSON.parse(String(p));e.getQueryData(f)===void 0&&e.setQueryData(f,m.html,{updatedAt:0})}catch{c.push(p)}}if(c.length>0){const p=Cd(t,"readwrite");for(const m of c)p.delete(m)}}catch{}}function Xie(e){if(typeof indexedDB>"u")return()=>{};const t=Gv().catch(()=>null);return e.getQueryCache().subscribe(o=>{const a=o.query;if(!Array.isArray(a.queryKey)||!Qie(a.queryKey)||a.state.status!=="success")return;const n=a.state.data;typeof n!="string"||n.length>Zie||t.then(i=>{if(i)try{Cd(i,"readwrite").put({html:n,updatedAt:Date.now()},JSON.stringify(a.queryKey))}catch{}})})}function ese(){typeof indexedDB>"u"||Gv().then(e=>Cd(e,"readwrite").clear()).catch(()=>{})}async function ebe(e){if(!(typeof indexedDB>"u"))try{const t=await Gv(),o=await ZT(Cd(t,"readonly").getAllKeys()),a=Cd(t,"readwrite");for(const n of o)try{const i=JSON.parse(String(n));i[1]===$I&&i[3]===e&&a.delete(n)}catch{}}catch{}}const av="studio:rq-cache",X_=1440*60*1e3,tse=1e3,ose=new Set(["publicConfig","ai-provider-keys","organization-settings","home-next-actions"]),ase=new Set(["VIRTUAL_MCP","CONNECTIONS"]);let Qj=!1,Jj=!1;function nse(e){const t=e[0];return typeof t=="string"&&ose.has(t)?!0:e[3]==="collection"&&typeof e[4]=="string"&&ase.has(e[4])}function rse(e){if(!(typeof window>"u"))try{const t=window.localStorage.getItem(av);if(!t)return;const o=JSON.parse(t),a=!o.timestamp||Date.now()-o.timestamp>X_;if(o.buster!=="4.505.2"||a||!o.state){window.localStorage.removeItem(av);return}cq(e,o.state),e.invalidateQueries({queryKey:On.publicConfig(),refetchType:"none"}),Qj=!0}catch{cse()}}function ise(e){if(typeof window>"u")return()=>{};let t=null;const o=()=>{t=null;try{const i=lq(e,{shouldDehydrateQuery:l=>l.state.status==="success"&&nse(l.queryKey)});window.localStorage.setItem(av,JSON.stringify({buster:"4.505.2",timestamp:Date.now(),state:i}))}catch{}},a=e.getQueryCache().subscribe(()=>{t==null&&(t=setTimeout(o,tse))}),n=()=>{t!=null&&(clearTimeout(t),o())};return window.addEventListener("pagehide",n),()=>{t!=null&&clearTimeout(t),window.removeEventListener("pagehide",n),a()}}const Xj="studio:org-cache:",sse=20;function lse(e){const t=Date.now(),o=Object.entries(e).filter(([,a])=>t-a.updatedAt<=X_);for(o.sort(([,a],[,n])=>a.updatedAt-n.updatedAt);o.length>sse;)o.shift();return Object.fromEntries(o)}function e3(e){return`${Xj}${e}`}function tbe(e,t){if(typeof window>"u")return null;try{const o=window.localStorage.getItem(e3(e));if(!o)return null;const a=JSON.parse(o)[t];return!a||Date.now()-a.updatedAt>X_?null:(Jj=!0,a)}catch{return null}}function obe(e,t,o){if(!(typeof window>"u"))try{const a=e3(e),n=window.localStorage.getItem(a),i=n?JSON.parse(n):{};i[t]={data:o,updatedAt:Date.now()},window.localStorage.setItem(a,JSON.stringify(lse(i)))}catch{}}function cse(){if(ese(),!(typeof window>"u"))try{window.localStorage.removeItem(av);for(let e=window.localStorage.length-1;e>=0;e--){const t=window.localStorage.key(e);t?.startsWith(Xj)&&window.localStorage.removeItem(t)}}catch{}}function dse(){return Qj}function use(){return Jj}let Ri=!1,QT=null,ZO=!1;const ek="studio:lp-distinct-id",t3="mesh:lp-distinct-id",B0="/api/_reports/link-token/",pse=1440*60*1e3;function o3(e){const t="https://analytics.invalid",o=/^[a-z][a-z\d+.-]*:\/\//i.test(e),a=e.startsWith("//");try{const n=new URL(e,t);let i=!1;for(const l of["key","d"])n.searchParams.has(l)&&(n.searchParams.delete(l),i=!0);return n.pathname.startsWith(B0)&&n.pathname!==B0&&(n.pathname=`${B0}redacted`,i=!0),i?o?n.toString():a?`//${n.host}${n.pathname}${n.search}${n.hash}`:`${n.pathname}${n.search}${n.hash}`:e}catch{return e}}function F0(e){return Object.fromEntries(Object.entries(e).map(([t,o])=>[t,typeof o=="string"?o3(o):o]))}const mse=e=>e?(e.properties=F0(e.properties),e.$set&&(e.$set=F0(e.$set)),e.$set_once&&(e.$set_once=F0(e.$set_once)),e):null;function a3(){try{const e=window.localStorage.getItem(ek)??window.localStorage.getItem(t3);if(!e)return;const{id:t,ts:o}=JSON.parse(e);return typeof t!="string"||!t||typeof o!="number"?void 0:Date.now()-o<=pse?t:void 0}catch{return}}function hse(){try{window.localStorage.removeItem(ek),window.localStorage.removeItem(t3)}catch{}}function gse(){try{const e=new URL(window.location.href),t=e.searchParams.get("ph_did");t&&(window.localStorage.setItem(ek,JSON.stringify({id:t,ts:Date.now()})),e.searchParams.delete("ph_did"),window.history.replaceState(window.history.state,"",e.toString()));const o=t??a3();return o?Object.keys(window.localStorage).some(n=>n.startsWith("ph_")&&n.endsWith("_posthog"))?void 0:o:void 0}catch{return}}function fse(e){const t=a3();if(t&&(hse(),t!==e))try{Ii.alias(t)}catch{}}function vse(e,t){if(Ri||typeof window>"u")return;const o=gse();Ii.init(e,{api_host:t,ui_host:"https://us.posthog.com",cross_subdomain_cookie:!0,...o?{bootstrap:{distinctID:o}}:{},capture_pageview:"history_change",capture_pageleave:!0,autocapture:!0,before_send:mse,capture_performance:{web_vitals:!0,network_timing:!0},capture_exceptions:!0,session_recording:{maskAllInputs:!0,blockClass:"ph-no-capture",maskCapturedNetworkRequestFn:a=>({...a,...typeof a.name=="string"?{name:o3(a.name)}:{}})},person_profiles:"identified_only"}),Ri=!0}function bse(e,t){Ri&&(Ii.identify(e,t),fse(e))}function yse(){Ri&&(Ii.reset(),QT=null)}function n3(e,t){Ri&&Ii.capture(e,t)}function abe(){return Ri}function nbe(){if(!Ri||ZO||typeof performance>"u")return;ZO=!0;const e=performance.getEntriesByType("navigation")[0],t=o=>{const a=performance.getEntriesByName(o,"measure")[0];return a?Math.round(a.duration):void 0};n3("perf_app_bootstrap",{nav_type:e?.type,ttfb_ms:e?Math.round(e.responseStart):void 0,dom_interactive_ms:e?Math.round(e.domInteractive):void 0,dom_content_loaded_ms:e?Math.round(e.domContentLoadedEventEnd):void 0,config_fetch_ms:t("studio:config-fetch"),active_org_fetch_ms:t("studio:active-org-fetch"),time_to_shell_ms:Math.round(performance.now()),cache_restored:dse(),org_cache_restored:use()})}function rbe(e,t){Ri&&e!==QT&&(Ii.group("organization",e,t),QT=e)}function r3(e,t){if(Ri)try{Ii.captureException(e,t)}catch{}}const Sse=["radial-gradient(ellipse 85% 85% at 0% 0%, rgba(165,149,255,0.6) 0%, transparent 72%)","radial-gradient(ellipse 85% 85% at 100% 100%, rgba(208,236,26,0.52) 0%, transparent 72%)","radial-gradient(ellipse 85% 85% at 0% 100%, rgba(255,193,22,0.48) 0%, transparent 72%)"].join(", ");function wse(e){const t=Re.c(3),{children:o}=e;let a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a=w.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:Sse}}),t[0]=a):a=t[0];let n;return t[1]!==o?(n=w.jsxs("div",{className:"relative flex items-center justify-center min-h-screen bg-background overflow-hidden",children:[a,w.jsx("div",{className:"relative flex flex-col items-center text-center space-y-4 max-w-sm px-6",children:o})]}),t[1]=o,t[2]=n):n=t[2],n}function i3(e){const t=Re.c(20),{orgName:o}=e,a=ar(),n=Tse;let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=w.jsx("div",{className:"bg-muted p-3 rounded-full","aria-hidden":"true",children:w.jsx(yF,{className:"h-6 w-6 text-muted-foreground"})}),t[0]=i):i=t[0];let l;t[1]!==a?(l=a("common.archivedOrgScreen.orgUnavailable"),t[1]=a,t[2]=l):l=t[2];let c;t[3]!==l?(c=w.jsx("h3",{className:"text-lg font-medium",children:l}),t[3]=l,t[4]=c):c=t[4];let d;t[5]!==o||t[6]!==a?(d=o?a("common.archivedOrgScreen.deletedWithName",{orgName:o}):a("common.archivedOrgScreen.deletedGeneric"),t[5]=o,t[6]=a,t[7]=d):d=t[7];let p;t[8]!==d?(p=w.jsx("p",{className:"text-sm text-muted-foreground",children:d}),t[8]=d,t[9]=p):p=t[9];let m;t[10]!==c||t[11]!==p?(m=w.jsxs("div",{className:"space-y-2",children:[c,p]}),t[10]=c,t[11]=p,t[12]=m):m=t[12];let h;t[13]!==a?(h=a("common.goHome"),t[13]=a,t[14]=h):h=t[14];let f;t[15]!==h?(f=w.jsx(Ai,{onClick:n,children:h}),t[15]=h,t[16]=f):f=t[16];let v;return t[17]!==m||t[18]!==f?(v=w.jsxs(wse,{children:[i,m,f]}),t[17]=m,t[18]=f,t[19]=v):v=t[19],v}function Tse(){window.location.href="/"}function xse(){const e=Re.c(3);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={from:"/shell/$org"},e[0]=t):t=e[0];const{org:o}=Up(t);let a;return e[1]!==o?(a=w.jsx(Ai,{variant:"outline",size:"sm",asChild:!0,children:w.jsx(Ml,{to:"/$org/settings/profile",params:{org:o},children:"Go to your profile"})}),e[1]=o,e[2]=a):a=e[2],a}function _se(e){const t=Re.c(13),{area:o,description:a,action:n}=e,i=o?`No access to ${o}`:"No access",l=a??"Your role doesn't include permission for this section. Ask an organization admin to update your role if you need it.";let c;t[0]===Symbol.for("react.memo_cache_sentinel")?(c=w.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted text-muted-foreground",children:w.jsx(EF,{size:28})}),t[0]=c):c=t[0];let d;t[1]!==i?(d=w.jsx("h3",{className:"text-lg font-medium",children:i}),t[1]=i,t[2]=d):d=t[2];let p;t[3]!==l?(p=w.jsx("p",{className:"mx-auto max-w-sm text-sm text-muted-foreground",children:l}),t[3]=l,t[4]=p):p=t[4];let m;t[5]!==d||t[6]!==p?(m=w.jsxs("div",{className:"space-y-1",children:[d,p]}),t[5]=d,t[6]=p,t[7]=m):m=t[7];let h;t[8]!==n?(h=n??w.jsx(xse,{}),t[8]=n,t[9]=h):h=t[9];let f;return t[10]!==m||t[11]!==h?(f=w.jsxs("div",{className:"flex h-full min-h-[60vh] flex-1 flex-col items-center justify-center gap-4 p-6 text-center",children:[c,m,h]}),t[10]=m,t[11]=h,t[12]=f):f=t[12],f}const QO="__studio_chunk_reload_ts";function s3(e){return e?.message===aQ}function kse(e){return!!e?.message?.includes("Access denied")}function JO(e){if(!e)return!1;const t=e.message||"";return t.includes("Failed to fetch dynamically imported module")||t.includes("Importing a module script failed")||t.includes("error loading dynamically imported module")||t.includes("Failed to fetch")&&e.name==="TypeError"}class Cse extends A.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,o){console.error("Uncaught error:",t,o),r3(t,{boundary:"default",error_name:t.name,error_message:t.message,component_stack:o.componentStack??null,route:typeof window<"u"?window.location.pathname:null})}resetError=()=>{this.setState({hasError:!1,error:null})};render(){if(this.state.hasError){const{fallback:t,t:o}=this.props;return typeof t=="function"?t({error:this.state.error,resetError:this.resetError}):t!==void 0?t:s3(this.state.error)?w.jsx(i3,{}):kse(this.state.error)?w.jsx(_se,{}):w.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[w.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:w.jsx(B_,{className:"h-6 w-6 text-destructive"})}),w.jsxs("div",{className:"space-y-2",children:[w.jsx("h3",{className:"text-lg font-medium",children:o("common.errorBoundary.somethingWentWrong")}),w.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||o("common.errorBoundary.unexpectedError")})]}),w.jsx(Ai,{variant:"outline",onClick:this.resetError,children:o("common.errorBoundary.tryAgain")})]})}return this.props.children}}function Pse(e){const t=Re.c(3),o=ar();let a;return t[0]!==e||t[1]!==o?(a=w.jsx(Cse,{...e,t:o}),t[0]=e,t[1]=o,t[2]=a):a=t[2],a}class Ese extends A.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,o){console.error("Uncaught error:",t,o);const a=JO(t);if(r3(t,{boundary:"chunk_root",is_chunk_load_error:a,error_name:t.name,error_message:t.message,component_stack:o.componentStack??null,route:typeof window<"u"?window.location.pathname:null}),!a)return;const n=sessionStorage.getItem(QO),i=Date.now();(!n||i-Number(n)>1e4)&&(sessionStorage.setItem(QO,String(i)),window.location.reload())}render(){const{t}=this.props;return this.state.hasError&&JO(this.state.error)?w.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[w.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:w.jsx(AF,{className:"h-6 w-6 text-primary"})}),w.jsxs("div",{className:"space-y-2",children:[w.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.newVersionAvailable")}),w.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:t("common.errorBoundary.newVersionDeployed")})]}),w.jsx(Ai,{onClick:()=>window.location.reload(),children:t("common.errorBoundary.refresh")})]}):this.state.hasError?s3(this.state.error)?w.jsx(i3,{}):w.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[w.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:w.jsx(B_,{className:"h-6 w-6 text-destructive"})}),w.jsxs("div",{className:"space-y-2",children:[w.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.somethingWentWrong")}),w.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||t("common.errorBoundary.unexpectedError")})]}),w.jsx(Ai,{variant:"outline",onClick:()=>this.setState({hasError:!1,error:null}),children:t("common.errorBoundary.tryAgain")})]}):this.props.children}}function Ase(e){const t=Re.c(3),o=ar();let a;return t[0]!==e||t[1]!==o?(a=w.jsx(Ese,{...e,t:o}),t[0]=e,t[1]=o,t[2]=a):a=t[2],a}function Rse(e){const t=Re.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=gt("surface flex flex-col gap-6",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx("div",{"data-slot":"card",className:n,...a}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function ibe(e){const t=Re.c(4);let o;t[0]!==e?({...o}=e,t[0]=e,t[1]=o):o=t[1];let a;return t[2]!==o?(a=w.jsx("div",{"data-slot":"card-content",...o}),t[2]=o,t[3]=a):a=t[3],a}function sbe(e){const t=Re.c(12),{title:o,description:a,docsHref:n,actions:i,className:l,headerClassName:c,children:d}=e;let p;t[0]!==l?(p=gt("flex flex-col gap-3",l),t[0]=l,t[1]=p):p=t[1];let m;t[2]!==i||t[3]!==a||t[4]!==n||t[5]!==c||t[6]!==o?(m=(o||a||n||i)&&w.jsxs("div",{className:gt("flex items-center justify-between gap-3 px-4",c),children:[w.jsxs("div",{className:"flex flex-col gap-1 min-w-0",children:[o&&w.jsx("h2",{className:"text-[15px] font-medium leading-tight",children:o}),(a||n)&&w.jsxs("p",{className:"text-sm text-muted-foreground leading-snug",children:[a,n&&w.jsxs("a",{href:n,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-0.5 ml-1 text-foreground hover:underline",children:["Docs ",w.jsx(SF,{size:12})]})]})]}),i&&w.jsx("div",{className:"shrink-0",children:i})]}),t[2]=i,t[3]=a,t[4]=n,t[5]=c,t[6]=o,t[7]=m):m=t[7];let h;return t[8]!==d||t[9]!==p||t[10]!==m?(h=w.jsxs("section",{className:p,children:[m,d]}),t[8]=d,t[9]=p,t[10]=m,t[11]=h):h=t[11],h}function lbe(e){const t=Re.c(11),{className:o,children:a}=e;let n,i,l;if(t[0]!==a||t[1]!==o){const d=A.Children.toArray(a).filter(A.isValidElement);n=Rse,t[5]!==o?(i=gt("p-0 gap-0 overflow-hidden",o),t[5]=o,t[6]=i):i=t[6],l=d.map(Dse),t[0]=a,t[1]=o,t[2]=n,t[3]=i,t[4]=l}else n=t[2],i=t[3],l=t[4];let c;return t[7]!==n||t[8]!==i||t[9]!==l?(c=w.jsx(n,{className:i,children:l}),t[7]=n,t[8]=i,t[9]=l,t[10]=c):c=t[10],c}function Dse(e,t){return w.jsxs("div",{children:[t>0&&w.jsx("div",{className:"h-px bg-border mx-5"}),e]},t)}function cbe(e){const t=Re.c(27),{icon:o,title:a,description:n,action:i,onClick:l,className:c,children:d}=e,p=d?"flex items-start gap-3 px-4 py-4":"flex items-center gap-3 px-4 py-4",m=l&&"hover:bg-muted/50 cursor-pointer";let h;t[0]!==c||t[1]!==p||t[2]!==m?(h=gt(p,m,c),t[0]=c,t[1]=p,t[2]=m,t[3]=h):h=t[3];const f=l?"button":void 0,v=l?0:void 0;let b;t[4]!==l?(b=l?P=>{P.target===P.currentTarget&&(P.key==="Enter"||P.key===" ")&&(P.preventDefault(),l())}:void 0,t[4]=l,t[5]=b):b=t[5];let S;t[6]!==o?(S=o&&w.jsx("div",{className:"size-8 shrink-0 rounded-lg bg-muted/60 flex items-center justify-center text-muted-foreground",children:o}),t[6]=o,t[7]=S):S=t[7];let _;t[8]!==a?(_=w.jsx("div",{className:"text-sm font-medium",children:a}),t[8]=a,t[9]=_):_=t[9];let T;t[10]!==n?(T=n&&w.jsx("p",{className:"text-xs text-muted-foreground mt-0.5 leading-relaxed",children:n}),t[10]=n,t[11]=T):T=t[11];let x;t[12]!==d||t[13]!==_||t[14]!==T?(x=w.jsxs("div",{className:"flex-1 min-w-0",children:[_,T,d]}),t[12]=d,t[13]=_,t[14]=T,t[15]=x):x=t[15];let E;t[16]!==i?(E=i&&w.jsx("div",{className:"shrink-0",onClick:Ose,children:i}),t[16]=i,t[17]=E):E=t[17];let C;return t[18]!==l||t[19]!==x||t[20]!==E||t[21]!==h||t[22]!==f||t[23]!==v||t[24]!==b||t[25]!==S?(C=w.jsxs("div",{className:h,onClick:l,role:f,tabIndex:v,onKeyDown:b,children:[S,x,E]}),t[18]=l,t[19]=x,t[20]=E,t[21]=h,t[22]=f,t[23]=v,t[24]=b,t[25]=S,t[26]=C):C=t[26],C}function Ose(e){return e.stopPropagation()}function dbe(e){const t=Re.c(5),{className:o,children:a}=e;let n;t[0]!==o?(n=gt("px-4 py-4",o),t[0]=o,t[1]=n):n=t[1];let i;return t[2]!==a||t[3]!==n?(i=w.jsx("div",{className:n,children:a}),t[2]=a,t[3]=n,t[4]=i):i=t[4],i}function ube(e){const t=Re.c(5),{children:o,className:a}=e;let n;t[0]!==a?(n=gt("flex items-center justify-end gap-2 px-4 py-4",a),t[0]=a,t[1]=n):n=t[1];let i;return t[2]!==o||t[3]!==n?(i=w.jsx("div",{className:n,children:o}),t[2]=o,t[3]=n,t[4]=i):i=t[4],i}function Mse(e){const t=Re.c(5),{className:o,children:a}=e;let n;t[0]!==o?(n=gt("flex flex-col gap-10",o),t[0]=o,t[1]=n):n=t[1];let i;return t[2]!==a||t[3]!==n?(i=w.jsx("div",{className:n,children:a}),t[2]=a,t[3]=n,t[4]=i):i=t[4],i}const Wv={connect:{key:"connect",titleKey:"settings.connectClients.pageTitle",tabs:[],ownedRoutes:["/$org/settings/api-keys"]},members:{key:"members",titleKey:"orgs.members.title",tabs:[{key:"members",icon:OF,labelKey:"orgs.members.title",to:"/$org/settings/members",requires:"members:manage"},{key:"roles",icon:DF,labelKey:"settings.roles.pageTitle",to:"/$org/settings/roles",privilegedOnly:!0}]},billing:{key:"billing",titleKey:"settings.nav.billing",tabs:[{key:"ai-providers",icon:xF,labelKey:"settings.nav.aiProviders",to:"/$org/settings/ai-providers",requires:"ai-providers:manage"},{key:"infra",icon:RF,labelKey:"settings.subnav.infrastructure",to:"/$org/settings/infra-billing",requires:"members:manage",requiresOwnedSites:!0}]},repositories:{key:"repositories",titleKey:"settings.nav.repositories",tabs:[],ownedRoutes:["/$org/settings/repositories"]},storage:{key:"storage",titleKey:"settings.nav.storage",tabs:[{key:"buckets",icon:CF,labelKey:"settings.nav.buckets",to:"/$org/settings/buckets",requires:"file-configs:manage"},{key:"synced-repos",icon:kF,labelKey:"settings.nav.syncedRepos",to:"/$org/settings/synced-repos",requires:"file-configs:manage"}]}};function pbe(e){const t=Wv[e];return[...t.tabs.map(o=>o.to),...t.ownedRoutes??[]]}function mbe(e){return Wv[e].tabs.length>0}const Nse=new Set(["owner","admin"]);function l3(){const e=Re.c(11),{org:t,locator:o}=Zp();let a;e[0]!==o?(a=On.myCapabilities(o),e[0]=o,e[1]=a):a=e[1];let n;e[2]!==t?(n=async()=>{const m=await fetch(`/api/auth/custom/my-capabilities/${encodeURIComponent(t.slug)}`,{credentials:"include"});if(!m.ok)throw new Error(`my-capabilities request failed: ${m.status}`);return await m.json()},e[2]=t,e[3]=n):n=e[3];let i;e[4]!==a||e[5]!==n?(i={queryKey:a,queryFn:n,staleTime:3e4,retry:2},e[4]=a,e[5]=n,e[6]=i):i=e[6];const{data:l,isLoading:c,isError:d}=Rd(i);let p;return e[7]!==l||e[8]!==d||e[9]!==c?(p={data:l,loading:c,error:d},e[7]=l,e[8]=d,e[9]=c,e[10]=p):p=e[10],p}function hbe(e){const t=Re.c(8),{data:o,loading:a,error:n}=l3();if(a){let p;return t[0]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!1,loading:!0,error:!1,reason:"loading"},t[0]=p):p=t[0],p}if(n){let p;return t[1]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!1,loading:!1,error:!0,reason:"error"},t[1]=p):p=t[1],p}const i=o?.role??null;if(!i){let p;return t[2]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!1,loading:!1,error:!1,reason:"denied"},t[2]=p):p=t[2],p}if(i==="owner"){let p;return t[3]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!0,loading:!1,error:!1,reason:"owner"},t[3]=p):p=t[3],p}if(i==="admin"){let p;return t[4]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!0,loading:!1,error:!1,reason:"admin"},t[4]=p):p=t[4],p}const l=o?.capabilities?.[e]===!0,c=l?"role":"denied";let d;return t[5]!==l||t[6]!==c?(d={granted:l,loading:!1,error:!1,reason:c},t[5]=l,t[6]=c,t[7]=d):d=t[7],d}function c3(){const e=Re.c(10),{data:t,loading:o,error:a}=l3(),n=t?.role??void 0;let i;e[0]!==n?(i=n?Nse.has(n):!1,e[0]=n,e[1]=i):i=e[1];const l=i;let c;e[2]!==t?.capabilities?(c=t?.capabilities??{},e[2]=t?.capabilities,e[3]=c):c=e[3];const d=c;let p;return e[4]!==a||e[5]!==l||e[6]!==o||e[7]!==n||e[8]!==d?(p={capabilities:d,loading:o,error:a,isPrivileged:l,roleSlug:n},e[4]=a,e[5]=l,e[6]=o,e[7]=n,e[8]=d,e[9]=p):p=e[9],p}function Ise(){const e=Re.c(13),{org:t}=Zp(),o=i_(),{capabilities:a,isPrivileged:n}=c3(),i=n||!!a["members:manage"];let l;e[0]!==t.id?(l=On.infraBillingSites(t.id),e[0]=t.id,e[1]=l):l=e[1];const c=!!t.id&&i;let d;e[2]!==o?(d=()=>o.call("INFRA_BILLING_SITES_LIST",{}),e[2]=o,e[3]=d):d=e[3];let p;e[4]!==l||e[5]!==c||e[6]!==d?(p={queryKey:l,staleTime:3e5,enabled:c,queryFn:d},e[4]=l,e[5]=c,e[6]=d,e[7]=p):p=e[7];const{data:m,isLoading:h}=Rd(p);let f;e[8]!==m?.sites?(f=m?.sites.map(Lse)??[],e[8]=m?.sites,e[9]=f):f=e[9];let v;return e[10]!==h||e[11]!==f?(v={sites:f,isLoading:h},e[10]=h,e[11]=f,e[12]=v):v=e[12],v}function Lse(e){return e.slug}function gbe(){const e=Re.c(7),t=i_(),o=ar();let a;e[0]!==t?(a=l=>t.call("INFRA_BILLING_PORTAL",{siteSlugs:l}),e[0]=t,e[1]=a):a=e[1];let n;e[2]!==o?(n=l=>bd.error(o("settings.infraBilling.portalError",{message:l.message})),e[2]=o,e[3]=n):n=e[3];let i;return e[4]!==a||e[5]!==n?(i={mutationFn:a,onSuccess:Bse,onError:n},e[4]=a,e[5]=n,e[6]=i):i=e[6],sp(i)}function Bse(e){const{url:t}=e;return window.open(t,"_blank","noopener,noreferrer")}function fbe(e,t){const o=Re.c(14),{org:a}=Zp(),n=i_();let i,l,c;o[0]!==a.id||o[1]!==t||o[2]!==e?(i=[...e].sort(),c=Rd,l=On.infraBilling(a.id,i.join(","),t),o[0]=a.id,o[1]=t,o[2]=e,o[3]=i,o[4]=l,o[5]=c):(i=o[3],l=o[4],c=o[5]);const d=i.length>0;let p;o[6]!==t||o[7]!==i||o[8]!==n?(p=()=>n.call("INFRA_BILLING_GET",{siteSlugs:i,period:t}),o[6]=t,o[7]=i,o[8]=n,o[9]=p):p=o[9];let m;return o[10]!==l||o[11]!==d||o[12]!==p?(m={queryKey:l,enabled:d,staleTime:6e4,queryFn:p},o[10]=l,o[11]=d,o[12]=p,o[13]=m):m=o[13],c(m)}function Fse(){const e=Re.c(7),{capabilities:t,isPrivileged:o,loading:a,error:n}=c3(),{sites:i,isLoading:l}=Ise(),c=i.length>0;let d;if(e[0]!==t||e[1]!==n||e[2]!==o||e[3]!==a||e[4]!==c||e[5]!==l){const p=m=>m.requiresOwnedSites&&!c&&!l?!1:a||n?!0:m.privilegedOnly?o:m.requires?o||t[m.requires]:!0;d=Object.fromEntries(Object.values(Wv).map(m=>[m.key,m.tabs.filter(p)])),e[0]=t,e[1]=n,e[2]=o,e[3]=a,e[4]=c,e[5]=l,e[6]=d}else d=e[6];return d}function jse(e){const t=Re.c(16),{group:o}=e,a=ar();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n={from:"/shell/$org"},t[0]=n):n=t[0];const{org:i}=Up(n);let l;t[1]===Symbol.for("react.memo_cache_sentinel")?(l={select:zse},t[1]=l):l=t[1];const c=Dx(l),d=Fse()[o],{titleKey:p}=Wv[o];let m;t[2]!==a||t[3]!==p?(m=a(p),t[2]=a,t[3]=p,t[4]=m):m=t[4];let h;t[5]!==m?(h=w.jsx(sd.Title,{children:m}),t[5]=m,t[6]=h):h=t[6];let f;t[7]!==o||t[8]!==i||t[9]!==c||t[10]!==a||t[11]!==d?(f=d.length>1&&w.jsx(rn.Toolbar.Left.Portal,{children:w.jsx(sd.Tabs,{"data-testid":"settings-subnav","aria-label":a("settings.subnav.ariaLabel"),children:d.map(b=>{const S=b.to.replace("$org",i),_=c===S||c.startsWith(`${S}/`);return w.jsx(sd.Tab,{active:_,asChild:!0,children:w.jsx(Ml,{to:b.to,params:{org:i},onClick:()=>n3("settings_subnav_clicked",{group_key:o,tab_key:b.key}),children:a(b.labelKey)})},b.key)})})}),t[7]=o,t[8]=i,t[9]=c,t[10]=a,t[11]=d,t[12]=f):f=t[12];let v;return t[13]!==h||t[14]!==f?(v=w.jsxs(w.Fragment,{children:[h,f]}),t[13]=h,t[14]=f,t[15]=v):v=t[15],v}function zse(e){return e.location.pathname}function d3(){const e=Re.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=w.jsxs("div",{"data-testid":"settings-content-loading",className:"flex flex-col gap-4",children:[w.jsx(SD,{className:"h-32 w-full"}),w.jsx(SD,{className:"h-32 w-full"})]}),e[0]=t):t=e[0],t}function Use(e){const t=Re.c(14),{group:o,fallback:a,errorFallback:n,className:i,children:l}=e;let c;t[0]!==o?(c=w.jsx(jse,{group:o}),t[0]=o,t[1]=c):c=t[1];let d;t[2]!==a?(d=a??w.jsx(d3,{}),t[2]=a,t[3]=d):d=t[3];let p;t[4]!==l||t[5]!==d?(p=w.jsx(A.Suspense,{fallback:d,children:l}),t[4]=l,t[5]=d,t[6]=p):p=t[6];let m;t[7]!==n||t[8]!==p?(m=w.jsx(Pse,{fallback:n,children:p}),t[7]=n,t[8]=p,t[9]=m):m=t[9];let h;return t[10]!==i||t[11]!==c||t[12]!==m?(h=w.jsx(sd,{children:w.jsx(sd.Content,{children:w.jsx(sd.Container,{children:w.jsxs(Mse,{className:i,children:[c,m]})})})}),t[10]=i,t[11]=c,t[12]=m,t[13]=h):h=t[13],h}function Li(e){return function(){return w.jsx(Use,{group:e,children:w.jsx(d3,{})})}}function qse(e){try{localStorage.setItem(Ll.lastLocation(),JSON.stringify(e))}catch{}}function $se(){try{const e=localStorage.getItem(Ll.lastLocation());if(!e)return null;const t=JSON.parse(e);if(typeof t?.org=="string")return{org:t.org}}catch{}return null}function vbe(){try{localStorage.removeItem(Ll.lastLocation())}catch{}}const Nt={home:"/$org/home",projects:"/$org/projects/$agentId",tasks:"/$org/tasks/{-$taskKey}",reports:"/$org/reports",library:"/$org/library",threadAnalytics:"/$org/thread-analytics",discover:"/$org/discover",orgIndex:"/$org/"},nt={root:Nt.projects,tasks:"/$org/projects/$agentId/tasks/{-$taskKey}",reports:"/$org/projects/$agentId/reports",siteEditor:"/$org/projects/$agentId/site-editor",siteEditorContent:"/$org/projects/$agentId/site-editor/content",siteEditorCode:"/$org/projects/$agentId/site-editor/code",automations:"/$org/projects/$agentId/automations",automation:"/$org/projects/$agentId/automations/$automationId",app:"/$org/projects/$agentId/apps/$connectionId/$toolName",view:"/$org/projects/$agentId/views/$viewId",outputFile:"/$org/projects/$agentId/outputs/file",outputDeck:"/$org/projects/$agentId/outputs/deck",library:"/$org/projects/$agentId/library",libraryFile:"/$org/projects/$agentId/library/file",connectSources:"/$org/projects/$agentId/connect-sources",settings:"/$org/projects/$agentId/settings",assets:"/$org/projects/$agentId/assets",releases:"/$org/projects/$agentId/releases",hosting:"/$org/projects/$agentId/hosting",e2e:"/$org/projects/$agentId/e2e",analytics:"/$org/projects/$agentId/analytics",experiments:"/$org/projects/$agentId/experiments",monitor:"/$org/projects/$agentId/cdn"};function bbe(){const e=Re.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={select:Vse},e[0]=t):t=e[0],Dx(t)}function Vse(e){return e.matches.at(-1)?.fullPath??""}const Hse=new Map([[Nt.reports,"project-only"],[Nt.library,"org-only"],[Nt.threadAnalytics,"org-only"]]);function ybe(e,t){const o=Hse.get(e);return o===void 0?!0:o==="project-only"?t!==null:t===null}function Sbe(){const e=Re.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={select:Gse},e[0]=t):t=e[0],Dx(t)}function Gse(e){return e.matches.findLast(Wse)?.staticData.mainView}function Wse(e){return e.staticData.mainView}function lf(e){return`agent-view:${encodeURIComponent(e)}`}function Kse(e){if(!e?.startsWith("agent-view:"))return null;const t=e.slice(11);if(!t)return null;try{const o=decodeURIComponent(t);return o?{id:o}:null}catch{return null}}function u3(e){if(!e||!e.startsWith("automation:"))return null;const t=e.slice(11);return t?{id:t}:null}function tk(e,t){return`app:${e}:${t}`}function Yse(e){if(!e||!e.startsWith("app:"))return null;const t=e.slice(4),o=t.indexOf(":");if(o<=0)return null;const a=t.slice(0,o),n=t.slice(o+1);return!a||!n?null:{connectionId:a,toolName:n}}function p3(e){return`deck:${encodeURIComponent(e)}`}function Zse(e){if(!e||!e.startsWith("deck:"))return null;const t=e.slice(5);if(!t)return null;try{return{path:decodeURIComponent(t)}}catch{return null}}function m3(e){return`file:${encodeURIComponent(e)}`}function Qse(e){if(!e||!e.startsWith("file:"))return null;const t=e.slice(5);if(!t)return null;try{return{key:decodeURIComponent(t)}}catch{return null}}function h3(e){return`library-file:${encodeURIComponent(e)}`}function Jse(e){if(!e||!e.startsWith("library-file:"))return null;const t=e.slice(13);if(!t)return null;try{return{path:decodeURIComponent(t)}}catch{return null}}function g3(e){return`code:${encodeURIComponent(e)}`}function Xse(e){if(!e)return null;if(e==="code")return{path:null};if(!e.startsWith("code:"))return null;const t=e.slice(5);if(!t)return null;try{return{path:decodeURIComponent(t)}}catch{return null}}const f3=["overview","settings","automations","site-editor","code","content","assets","hosting","e2e","analytics","cdn"],ele=new Set(f3),v3=new Set(["hosting","e2e","analytics","cdn"]),tle=new Set(["board","files","connect-sources","reports"]);function wbe(e){return e.startsWith("app:")||e.startsWith("automation:")||e.startsWith("file:")||e.startsWith("deck:")||e.startsWith("library-file:")||e.startsWith("code:")}const ole=new Map([["preview","site-editor"],["git","site-editor"]]);function Kv(e){return ole.get(e)??e}const ok=new Set(["instructions","connections","layout","settings"]);function ale(e){return!!e&&ok.has(e)}const nle=new Set(["overview","board","reports"]);function Tbe(e){const t=e?.defaultMainView??null;if(!(!t||t.type==="chat"))return b3(e??null)}function b3(e){const t=e?.defaultMainView??null;if(!t)return"settings";const o=Kv(t.type);if(ok.has(o))return"settings";if(ele.has(o)||nle.has(o))return o;if(o==="ext-app"||o==="ext-apps"){if(t.id&&t.toolName)return tk(t.id,t.toolName);const n=e?.tabs?.map(i=>i.id)??[];return t.id&&n.includes(t.id)?lf(t.id):n[0]?lf(n[0]):"settings"}const a=e?.tabs?.[0]?.id;return a?lf(a):"settings"}function xbe(e){const t=e.routeDefaultMain||b3(e.metadata),o=e.panelTabId&&ok.has(e.panelTabId)?"settings":e.panelTabId?Kv(e.panelTabId):e.panelTabId,a=e.metadata?.defaultMainView??null,n=a==null||a.type==="chat";return{mainOpen:e.mainPanelParam??(!!o||!!e.routeDefaultMain||!n),activeTab:o??t}}function _be(e){return e.mainOpen&&e.clickedId===e.activeTab?{close:!0}:{tabId:e.clickedId}}function kbe(e){return e.mainOpen?e.activeTab==="automations"?!0:u3(e.activeTab)!==null:!1}const rle=new Set([...f3.filter(e=>!v3.has(e)),...tle,"app","file","deck","library-file","connect-sources","instructions","connections","layout","preview","discover"]);function ile(e){return!!e&&rle.has(e)}function sle(e,t){if(e)switch(e){case"app":return t.connection&&t.tool?tk(t.connection,t.tool):void 0;case"automations":return t.automation?`automation:${t.automation}`:"automations";case"file":return t.key?m3(t.key):void 0;case"deck":return t.deck?p3(t.deck):void 0;case"library-file":return t.path?h3(t.path):void 0;case"code":return t.file?g3(t.file):"code";default:{const o=Kv(e);return o==="site-editor"&&t.main==="content"?"content":o}}}function Cbe(e){const t=e.params??{},o=e.search??{};if(e.siteEditorView==="content")return"content";if(e.siteEditorView==="code")return o.file?g3(o.file):"code";if(e.siteEditorView==="preview")return"site-editor";switch(e.mainView){case"automation":return t.automationId?`automation:${t.automationId}`:"automations";case"app":return t.connectionId&&t.toolName?tk(t.connectionId,t.toolName):void 0;case"view":return t.viewId?lf(t.viewId):void 0;case"file":return o.key?m3(o.key):void 0;case"deck":return o.path?p3(o.path):void 0;case"library-file":return o.path?h3(o.path):void 0;default:return e.mainView}}const lle={files:"library",discover:"discover"},cle={board:"tasks",reports:"reports"},dle={settings:"settings",assets:"assets",releases:"releases",hosting:"hosting",e2e:"e2e",analytics:"analytics",experiments:"experiments",cdn:"monitor"};function y3(e){const t=Kse(e);if(t)return{kind:"agent-view",viewId:t.id};const o=Yse(e);if(o)return{kind:"app",connectionId:o.connectionId,toolName:o.toolName};const a=u3(e);if(a)return{kind:"automations",automationId:a.id};const n=Qse(e);if(n)return{kind:"output-file",key:n.key};const i=Zse(e);if(i)return{kind:"output-deck",path:i.path};const l=Jse(e);if(l)return{kind:"library-file",path:l.path};const c=Xse(e);if(c)return{kind:"site-editor",view:"code",...c.path?{file:c.path}:{}};if(ale(e))return{kind:"agent-section",section:"settings"};const d=Kv(e);if(d==="overview")return{kind:"agent-overview"};if(d==="site-editor")return{kind:"site-editor",view:"preview"};if(d==="content")return{kind:"site-editor",view:"content"};if(d==="automations")return{kind:"automations"};if(d==="connect-sources")return{kind:"connect-sources"};const p=cle[d];if(p)return{kind:"project-destination",destination:p};const m=lle[d];if(m)return{kind:"org-destination",destination:m};const h=dle[d];return h?{kind:"agent-section",section:h}:{kind:"agent-view",viewId:d}}function Rl(e){const{org:t,agentId:o}=e,a={org:t,agentId:o},n=y3(e.tabId);switch(n.kind){case"project-destination":return e.destinationScope==="organization"?n.destination==="tasks"?{to:Nt.tasks,params:{org:t,taskKey:e.taskKey},search:{}}:{to:Nt.reports,params:{org:t},search:{}}:n.destination==="tasks"?{to:nt.tasks,params:{...a,taskKey:e.taskKey},search:{}}:{to:nt.reports,params:a,search:{}};case"org-destination":switch(n.destination){case"home":return{to:Nt.home,params:{org:t},search:{}};case"discover":return{to:Nt.discover,params:{org:t},search:{}};case"library":return{to:Nt.library,params:{org:t},search:{}}}case"agent-overview":return{to:nt.root,params:a,search:{}};case"site-editor":return n.view==="content"?{to:nt.siteEditorContent,params:a,search:{}}:n.view==="code"?{to:nt.siteEditorCode,params:a,search:{file:n.file}}:{to:nt.siteEditor,params:a,search:{}};case"agent-section":return{to:nt[n.section],params:a,search:{}};case"automations":return n.automationId?{to:nt.automation,params:{...a,automationId:n.automationId},search:{}}:{to:nt.automations,params:a,search:{}};case"app":return{to:nt.app,params:{...a,connectionId:n.connectionId,toolName:n.toolName},search:{}};case"agent-view":return{to:nt.view,params:{...a,viewId:n.viewId},search:{}};case"output-file":return{to:nt.outputFile,params:a,search:{key:n.key}};case"output-deck":return{to:nt.outputDeck,params:a,search:{path:n.path}};case"library-file":return{to:nt.libraryFile,params:a,search:{path:n.path}};case"connect-sources":return{to:nt.connectSources,params:a,search:{}}}}function Pbe(e){if(!e.agentId||e.agentId===e.superAgentId&&(e.tabId===void 0||e.tabId==="overview"))return{to:Nt.home,params:{org:e.org},search:{}};const t=e.tabId??"overview",o=e.agentId!==e.superAgentId&&y3(t).kind==="org-destination"?"overview":t;return Rl({org:e.org,agentId:e.agentId,tabId:o,destinationScope:e.agentId===e.superAgentId?"organization":"project"})}function ule(e,t,o={}){const a=i=>({...o.search?.(i)??{},...t.search}),n=o.replace??!0;switch(t.to){case Nt.tasks:e({to:Nt.tasks,params:t.params,search:a,replace:n});return;case Nt.home:e({to:Nt.home,params:t.params,search:a,replace:n});return;case Nt.reports:e({to:Nt.reports,params:t.params,search:a,replace:n});return;case Nt.discover:e({to:Nt.discover,params:t.params,search:a,replace:n});return;case Nt.library:e({to:Nt.library,params:t.params,search:a,replace:n});return;case nt.root:e({to:nt.root,params:t.params,search:a,replace:n});return;case nt.tasks:e({to:nt.tasks,params:t.params,search:a,replace:n});return;case nt.reports:e({to:nt.reports,params:t.params,search:a,replace:n});return;case nt.siteEditor:e({to:nt.siteEditor,params:t.params,search:a,replace:n});return;case nt.siteEditorContent:e({to:nt.siteEditorContent,params:t.params,search:a,replace:n});return;case nt.siteEditorCode:e({to:nt.siteEditorCode,params:t.params,search:a,replace:n});return;case nt.automations:e({to:nt.automations,params:t.params,search:a,replace:n});return;case nt.automation:e({to:nt.automation,params:t.params,search:a,replace:n});return;case nt.app:e({to:nt.app,params:t.params,search:a,replace:n});return;case nt.view:e({to:nt.view,params:t.params,search:a,replace:n});return;case nt.outputFile:e({to:nt.outputFile,params:t.params,search:a,replace:n});return;case nt.outputDeck:e({to:nt.outputDeck,params:t.params,search:a,replace:n});return;case nt.libraryFile:e({to:nt.libraryFile,params:t.params,search:a,replace:n});return;case nt.connectSources:e({to:nt.connectSources,params:t.params,search:a,replace:n});return;case nt.settings:case nt.assets:case nt.releases:case nt.hosting:case nt.e2e:case nt.analytics:case nt.experiments:case nt.monitor:e({to:t.to,params:t.params,search:a,replace:n})}}function Ebe(e,t){ule(e,Rl(t),t)}function ple(e){const t=/^(\/[^/]+)\/agents(?=\/|$)/.exec(e);return t?.[1]?`${t[1]}/projects${e.slice(t[0].length)}`:null}function mle(e){const t=e.split("/").filter(Boolean);return(t[1]==="projects"||t[1]==="agents")&&t.length>3}const hle=new Set(["main","virtualmcpid","file","key","deck","path","connection","tool","automation"]),S3=new Set(["main"]),gle=new Set(["virtualmcpid"]);function Yv(e,t){return Object.fromEntries(Object.entries(e).filter(([o])=>!t.has(o)))}function Cl(e,t){return{...Yv(e,hle),...t.search}}function fle(e){return Yv(e,gle)}function Abe(e){if(e.search.virtualmcpid===void 0)return null;const t=br(e.search.virtualmcpid);if(t){const o=e.routePath===Nt.tasks?"board":e.routePath===Nt.reports?"reports":null;if(e.routePath===Nt.home||o){const a=o?Rl({org:e.org,agentId:t,tabId:o}):Pd(e.org,t);return{kind:"canonical",route:a,search:Cl(e.search,a)}}}return e.routePath===Nt.home||e.routePath===Nt.tasks||e.routePath===Nt.reports||e.routePath===Nt.library?{kind:"same-route",search:fle(e.search)}:null}function br(e){return e?.trim()||void 0}function w3(e){return ile(e)||e!==void 0&&v3.has(e)}function T3(e){const t=br(e);return t?t.startsWith("vir_")&&t.length>4||AI(t)!==null||TW(t)!==null||xW(t)!==null||DI(t)||OI(t):!1}function vle(e){const t=br(e.agentIdParam),o=w3(t);return t&&!o?t:br(e.virtualMcpIdSearch)??br(e.fallbackAgentId)}function Rbe(e){const t=e.pathAgentId;if(t&&e.pathLegacyView){const l=JT({org:e.org,agentId:t,panel:e.pathLegacyView,source:"project-first",search:e.search});return l?.kind==="canonical"?{route:l.route,search:l.search}:null}if(!t||mle(e.pathname))return null;const o=e.search.virtualmcpid!==void 0&&!T3(t);if(!(w3(t)||o))return null;const n=vle({agentIdParam:o?void 0:t,virtualMcpIdSearch:e.search.virtualmcpid,fallbackAgentId:e.fallbackAgentId}),i=JT({org:e.org,agentId:n,panel:t,source:"view-first",search:e.search});return i?.kind==="canonical"?{route:i.route,search:i.search}:null}function ble(e,t,o,a){const n=br(a);switch(e){case"board":return n?Rl({org:t,agentId:n,tabId:"board"}):{to:Nt.tasks,params:{org:t,taskKey:void 0},search:{}};case"files":{const i=bs(o.path);return{to:Nt.library,params:{org:t},search:i?{path:i}:{}}}case"reports":return n?Rl({org:t,agentId:n,tabId:"reports"}):{to:Nt.reports,params:{org:t},search:{}};case"overview":return{to:Nt.home,params:{org:t},search:{}};case"discover":return{to:Nt.discover,params:{org:t},search:{}};default:return null}}function Lp(e){const t=ble(e.tabId,e.org,e.search,e.agentId);if(t)return t;if(e.tabId==="chat")return Pd(e.org,e.agentId);const o=br(e.agentId);return o?e.tabId==="app"||e.tabId==="file"||e.tabId==="deck"||e.tabId==="library-file"||e.tabId.trim()===""?{to:nt.root,params:{org:e.org,agentId:o},search:{}}:Rl({org:e.org,agentId:o,tabId:e.tabId}):null}function Pd(e,t){const o=br(t);return o?{to:nt.root,params:{org:e,agentId:o},search:{}}:{to:Nt.home,params:{org:e},search:{}}}function yle(e){const{main:t}=e;if(t===void 0)return null;const o=e.search??{};if(t===0||t==="0")return{kind:"same-route",search:{...Yv(o,S3),mainpanel:!1}};if(t==="chat"){const n=Pd(e.org,e.agentId);return{kind:"canonical",route:n,search:{...Cl(o,n),sidepanel:!0,mainpanel:!1}}}const a=Lp({org:e.org,agentId:e.agentId,tabId:t,search:o});return a?{kind:"canonical",route:a,search:Cl(o,a)}:null}function bs(e){return typeof e=="string"&&e.length>0?e:void 0}function JT(e){const t=e.search??{};if((t.main===0||t.main==="0")&&e.panel){const l=JT({...e,search:Yv(t,S3)});return l?.kind!=="canonical"?l:{...l,search:{...l.search,mainpanel:!1}}}if(t.main!==void 0)return yle({org:e.org,agentId:e.agentId,main:t.main,search:t});const o=br(e.agentId),a=e.panel;if(!a){const l=Pd(e.org,o);return{kind:"canonical",route:l,search:Cl(t,l)}}const n=sle(a,{file:bs(t.file),key:bs(t.key),deck:bs(t.deck),path:bs(t.path),connection:bs(t.connection),tool:bs(t.tool),automation:bs(t.automation)}),i=n?e.source==="project-first"&&n==="overview"&&o?Rl({org:e.org,agentId:o,tabId:n}):Lp({org:e.org,agentId:o,tabId:n,search:t}):Lp({org:e.org,agentId:o,tabId:"",search:t});return i?{kind:"canonical",route:i,search:n==="chat"?{...Cl(t,i),sidepanel:!0,mainpanel:!1}:Cl(t,i)}:null}function Dbe(e){const t=e.search??{},o=br(t.virtualmcpid),a=br(e.fallbackAgentId),n=t.main;let i;if(n==="chat")i=Pd(e.org,o);else if(n!==void 0&&n!==0&&n!=="0"){const l=Lp({org:e.org,agentId:o,tabId:n,search:t}),c=!l&&n.trim().length>0&&a?Lp({org:e.org,agentId:a,tabId:n,search:t}):null;i=l??c??{to:Nt.home,params:{org:e.org},search:{}}}else i=Pd(e.org,o);return{route:i,search:{...Cl(t,i),...n===void 0&&t.sidepanel===void 0?{sidepanel:!0}:{},...n===0||n==="0"?{mainpanel:!1}:{},...n==="chat"?{sidepanel:!0,mainpanel:!1}:{},thread:e.taskId}}}function x3(e,t){if(t.task===void 0)return null;const{task:o,...a}=t;return{taskKey:e??(o.trim()||void 0),search:a}}const Sle={contentPageId:$().optional(),contentPath:$().optional(),contentPathTemplate:$().optional(),contentCollection:$().optional(),contentItem:$().optional()},_3=Sle,ak={view:$().optional(),group:$().optional(),subgroup:$().optional(),sort:$().optional(),dir:$().optional(),q:$().optional(),assignee:$().optional(),priority:$().optional(),due:$().optional(),tags:$().optional(),repo:$().optional(),sprint:$().optional(),boardOrg:$().optional()},nv={fileView:So(["all","documents","media"]).catch("all").optional(),modified:So(["any","today","week","month"]).catch("any").optional(),layout:So(["list","grid"]).catch("list").optional(),sort:So(["name","updated","size"]).catch("name").optional(),path:$().optional(),preview:$().optional(),expanded:kp().optional().catch(void 0),skill:$().optional(),brand:$().optional()},wle={file:$().optional(),key:$().optional(),deck:$().optional(),path:$().optional(),connection:$().optional(),tool:$().optional(),automation:$().optional(),section:$().optional(),preview:$().optional(),autosend:$().optional(),connect:kv().optional(),siteUrl:$().optional(),..._3},k3={...wle,task:$().optional(),project:$().optional(),...ak,skill:nv.skill,brand:nv.brand},rm=we(k3),Ka=E8({component:()=>w.jsx(Ase,{children:w.jsx(Rx,{})})}),Tle=Oe({getParentRoute:()=>Ka,path:"/login",component:Be(()=>Fe(()=>import("./login-DQqSSnqy.js"),__vite__mapDeps([0,1,2,3,4]))),validateSearch:Hr(()=>we({next:$().optional(),client_id:$().optional(),redirect_uri:$().optional(),response_type:$().optional(),state:$().optional(),scope:$().optional(),code_challenge:$().optional(),code_challenge_method:$().optional(),src:$().optional(),ref:$().optional()}))}),xle=Oe({getParentRoute:()=>Ka,path:"/cli/auth-success",component:Be(()=>Fe(()=>import("./cli-auth-success-CRs28Mxh.js"),__vite__mapDeps([5,4])))}),_le=Oe({getParentRoute:()=>Ka,path:"/reset-password",component:Be(()=>Fe(()=>import("./reset-password-ScHjA5IF.js"),[])),validateSearch:Hr(()=>we({token:$().optional(),error:$().optional()}))}),kle=Oe({getParentRoute:()=>Ka,path:"/auth/$pathname",component:Be(()=>Fe(()=>import("./auth-catchall-LDgnpYFX.js"),[]))}),Cle=Oe({getParentRoute:()=>Ka,path:"/oauth/callback",component:Be(()=>Fe(()=>import("./oauth-callback-DXdUEFpc.js"),__vite__mapDeps([6,7,8])))}),Ple=Oe({getParentRoute:()=>Ka,path:"/oauth/callback/ai-provider",component:Be(()=>Fe(()=>import("./oauth-callback-ai-provider-DlAWIja6.js"),[]))}),im=Oe({getParentRoute:()=>Ka,path:"/_admin",component:Be(()=>Fe(()=>import("./layout-CdChXOi6.js"),__vite__mapDeps([9,10,11])))}),Ele=Oe({getParentRoute:()=>im,path:"/",beforeLoad:()=>{throw Jo({to:"/_admin/users"})}}),Ale=Oe({getParentRoute:()=>im,path:"/users",component:Be(()=>Fe(()=>import("./users-ivFpS9Lq.js"),__vite__mapDeps([12,13,14,15,16,17,18,19,20,21,22,23,24,25,26])))}),Rle=Oe({getParentRoute:()=>im,path:"/orgs",component:Be(()=>Fe(()=>import("./orgs-BnzYsVdt.js"),__vite__mapDeps([27,13,14,15,16,17,18,28,22,29,30,31,32,33,34,21,35,36,23,24,25])))}),Dle=Oe({getParentRoute:()=>im,path:"/prompts",component:Be(()=>Fe(()=>import("./prompts-DopKJbNh.js"),__vite__mapDeps([37,16,28,34,23])))}),Ole=im.addChildren([Ele,Ale,Rle,Dle]),nk=Oe({getParentRoute:()=>Ka,id:"shell",component:Be(()=>Fe(()=>import("./shell-layout-CBiOwFtT.js").then(e=>e.g),__vite__mapDeps([38,19,20,39,40,41,42,43,15,44,45,46,47,48,32,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,64,65,66,67,68,8,69,70,71,72,73,74,75,76,28,77,78,79,3,2,80,81,35,82,83,84,31,85,86,87,22,88,10,89,90,91])))}),Mle=Oe({getParentRoute:()=>nk,path:"/",beforeLoad:async()=>{const e=$se();if(e)throw Jo({to:"/$org",params:{org:e.org}});const t=localStorage.getItem(Ll.lastOrgSlug());if(t)throw Jo({to:"/$org",params:{org:t}});const{data:o}=await iL();if(!o)return;const a=o[0];throw Jo(a?{to:"/$org",params:{org:a.slug}}:{to:"/onboarding"})}}),Nle=Oe({getParentRoute:()=>Ka,path:"/onboarding",beforeLoad:async()=>{const{data:e}=await iL();if(e&&e.length>0)throw Jo({to:"/"})},component:Be(()=>Fe(()=>import("./onboarding-SJ6Q72M4.js"),__vite__mapDeps([92,10,4,93,19,20,61,28,33,39,48,54,63])))}),C3=Hr(()=>we({org:$().optional(),siteUrl:$().optional(),fix:$().optional()})),Ile=Oe({getParentRoute:()=>Ka,path:"/reports-onboarding",component:Be(()=>Fe(()=>import("./reports-onboarding-aJM_IDTw.js"),__vite__mapDeps([94,95,1,2,3,4,93,19,20,61,96,97,98,28,99,68,8,100,74,45,41,42,43,15,44,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,18,62,63,64,65,84,31,101,102,103,22,104,105,106,107,7,108,109,110,111,112,113]))),validateSearch:C3}),Lle=Oe({getParentRoute:()=>Ka,path:"/commerce-onboarding",validateSearch:C3,beforeLoad:({search:e})=>{throw Jo({to:"/reports-onboarding",search:e})}}),Ble=Oe({getParentRoute:()=>Ka,path:"/choose-editor",component:Be(()=>Fe(()=>import("./choose-editor-tZFlebbQ.js"),__vite__mapDeps([114,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,10]))),validateSearch:Hr(()=>we({site:$().optional(),domain:$().optional(),pageId:$().optional(),path:$().optional(),pathTemplate:$().optional()}))}),rk=Oe({getParentRoute:()=>Ka,path:"/site-editor",staticData:{pageTitle:"sidebar.projectNav.siteEditor"},component:Be(()=>Fe(()=>import("./site-editor-CjiR59U-.js"),__vite__mapDeps([115,116,69,70,66,67,68,8,89,79,3,2,80,81,35,82,117,118,119,120,88,121,122,123,124,84,31,125,126,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,90,91,128,129,130,131,132,133,96,97,98,134,135,136,137,138,139,140,141,142,24,25,143,144,29,30,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,109,102,110,111,164,165,34,166,167,168,106,107,7,169,21,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,33,190,191,192,193,194,195,196,17,197,16,198,199,200,201,105,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218])))}),Fle=Oe({getParentRoute:()=>rk,path:"/",staticData:{mainView:"site-editor",siteEditorView:"preview",local:!0},component:Be(()=>Fe(()=>import("./site-editor-CjiR59U-.js"),__vite__mapDeps([115,116,69,70,66,67,68,8,89,79,3,2,80,81,35,82,117,118,119,120,88,121,122,123,124,84,31,125,126,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,90,91,128,129,130,131,132,133,96,97,98,134,135,136,137,138,139,140,141,142,24,25,143,144,29,30,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,109,102,110,111,164,165,34,166,167,168,106,107,7,169,21,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,33,190,191,192,193,194,195,196,17,197,16,198,199,200,201,105,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218])),"SiteEditorPreview")}),jle=Oe({getParentRoute:()=>rk,path:"/content",staticData:{mainView:"content",siteEditorView:"content",local:!0},component:Be(()=>Fe(()=>import("./site-editor-CjiR59U-.js"),__vite__mapDeps([115,116,69,70,66,67,68,8,89,79,3,2,80,81,35,82,117,118,119,120,88,121,122,123,124,84,31,125,126,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,90,91,128,129,130,131,132,133,96,97,98,134,135,136,137,138,139,140,141,142,24,25,143,144,29,30,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,109,102,110,111,164,165,34,166,167,168,106,107,7,169,21,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,33,190,191,192,193,194,195,196,17,197,16,198,199,200,201,105,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218])),"SiteEditorContent")}),zle=Oe({getParentRoute:()=>Ka,path:"/report/$domain",component:Be(()=>Fe(()=>import("./reports-DNvLVhhR.js"),__vite__mapDeps([219,108,3,1,2,220])))}),Zv=Oe({getParentRoute:()=>nk,path:"/$org",beforeLoad:({params:e})=>{qse({org:e.org})},component:Be(()=>Fe(()=>import("./route-C0_qtTp0.js"),__vite__mapDeps([221,130,123,122,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,131,132,133,96,97,98,134,152,153,11,222,29,30,34,160,223,146,118,117,162,190,224,225,172,26,24,25,226,227,228,211,210,229,230,231,150,129,33,158])))}),Qv=Oe({getParentRoute:()=>Zv,id:"org-shell",pendingComponent:Md,component:Be(()=>Fe(()=>import("./thread-route-zVWhMReX.js"),__vite__mapDeps([232,116,69,70,66,67,68,8,89,79,3,2,80,81,35,82,117,118,119,120,88,95,233,101,102,103,45,99,100,74,41,42,43,15,44,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,31,98,28,22,104,105,106,107,7,108,109,110,111,234,112])))}),Ule=we({sidepanel:PL,mainpanel:EL,main:io([$(),Ze(0)]).optional(),thread:$().optional(),autosend:$().optional(),preview:$().optional(),virtualmcpid:$().optional()}),Mn=Oe({getParentRoute:()=>Qv,id:"agent-shell",validateSearch:Ule,search:{middlewares:[JU(["sidepanel"])]},pendingComponent:Md,component:Be(()=>Fe(()=>import("./route-OZFS68ac.js"),__vite__mapDeps([235,42,41,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,123,122,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,176,116,117,118,119,120,174,139,153,156,138,98,140,141,142,24,25,137,129,143,144,29,30,145,146,147,148,149,150,151,152,154,155,157,158,159,160,161,162,163,109,102,110,111,164,165,34,166,167,168,106,107,7,169,21,170,171,172,173,177,178,179,180,181,182,183,214,215,198,187,16,121,128,236,237,238,211,205,204,203,210,239,240,241,242,243,175,192,135])))}),qle=rm.extend({virtualmcpid:$().optional()}),$le=Oe({getParentRoute:()=>Mn,path:"/$taskId",validateSearch:qle,component:()=>null}),Qt=Be(()=>Fe(()=>import("./index-CeKAW7ia.js").then(e=>e.i),__vite__mapDeps([121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129])),"ChatLayoutPending"),Gt=Be(()=>Fe(()=>import("./index-CeKAW7ia.js").then(e=>e.i),__vite__mapDeps([121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129])),"ChatLayoutError"),Vle=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>Mn,path:"/home",staticData:{pageTitle:"sidebar.navDestinations.home",defaultMain:"overview",mainView:"overview"},validateSearch:we({connect:kv().optional(),siteUrl:$().optional(),view:So(["agents"]).optional()}),component:Be(()=>Fe(()=>import("./home-Bq-bjcAt.js"),__vite__mapDeps([244,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,225,172,117,231,229,131,230,224,245,246,247,248,249,250,137,138,139,98,140,141,142,120,24,25,116,118,119,143,144,29,30,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,109,102,110,111,164,165,34,166,167,168,106,107,7,169,21,170,171,173,251,233,101,103,252,26,253,227,254,134,16])))}),Hle=Oe({getParentRoute:()=>Mn,path:"/projects",staticData:{pageTitle:"projects.settings.title",defaultMain:"board"},validateSearch:rm.extend({files:kp().optional().catch(void 0),analytics:kp().optional().catch(void 0)}),component:Be(()=>Fe(()=>import("./flat-project-BVJS2Ar0.js"),__vite__mapDeps([255,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,195,84,31,121,122,123,124,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,254,256,131,132,257,196,152,138,139,98,140,141,142,120,24,25,117,116,118,119,155,258,21,33,34,157,250,26,259,225,172,159,160,29,30,230,224,229,260,193,189,178,261,194,262,187,263,166,103,264,171,177,179,180,181,182,156,183,143,170,236,148,144,213,265,169,266,190,267,245,246,247,248,14,268,269,270,271,272,249,273,274,97,275,242,240,241,243,175,192,276,209,277]))),beforeLoad:({params:e,search:t})=>{if(t.project?.trim())return;const o=t.virtualmcpid?.trim();throw Jo(o?{to:"/$org/projects/$agentId",params:{org:e.org,agentId:o},search:a=>({...a,virtualmcpid:void 0}),hash:!0,replace:!0}:{to:"/$org/home",params:{org:e.org},search:a=>({...a,virtualmcpid:void 0}),hash:!0,replace:!0})}}),xo=Oe({errorComponent:Gt,getParentRoute:()=>Mn,path:"/projects/$agentId",validateSearch:rm,component:Rx}),Gle=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/",staticData:{pageTitle:"page.overview",defaultMain:"overview",mainView:"overview"},component:Be(()=>Fe(()=>import("./agent-overview-A0XZkNZX.js"),__vite__mapDeps([278,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,251,233,101,102,103,252,225,172,117,230,224,131,229,26,159,160,24,25,279,256,132,257,196,152,138,139,98,140,141,142,120,116,118,119,155,258,21,33,34,157,250,259,29,30,260,193,189,178,261,194,262,187,263,166,264,171,177,179,180,181,182,156,183,143,170,236,148,144,213,280,161,162,281])))}),Wle=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/tasks/{-$taskKey}",staticData:{pageTitle:"sidebar.navDestinations.tasks",defaultMain:"board",mainView:"board"},validateSearch:we({task:$().optional(),...ak}),beforeLoad:({params:e,search:t})=>{const o=x3(e.taskKey,t);if(o)throw Jo({to:"/$org/projects/$agentId/tasks/{-$taskKey}",params:{org:e.org,agentId:e.agentId,taskKey:o?.taskKey??e.taskKey},search:o.search,hash:!0,replace:!0})},component:Be(()=>Fe(()=>import("./project-tasks-DEZ-La_L.js"),__vite__mapDeps([279,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,256,131,132,257,196,152,138,139,98,140,141,142,120,24,25,117,116,118,119,155,258,21,33,34,157,250,26,259,225,172,159,160,29,30,230,224,229,260,193,189,178,261,194,262,187,263,166,103,264,171,177,179,180,181,182,156,183,143,170,236,148,144,213,280,161,162,281])))}),Kle=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/reports",staticData:{pageTitle:"sidebar.navDestinations.reports",defaultMain:"reports",mainView:"reports"},validateSearch:we({connect:kv().optional(),siteUrl:$().optional()}),component:Be(()=>Fe(()=>import("./project-reports-C6XPjSeE.js"),__vite__mapDeps([282,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,283,95,233,101,102,103,252,112,113,254,227])))}),Jv=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/site-editor",staticData:{pageTitle:"sidebar.projectNav.siteEditor",defaultMain:"site-editor",mainView:"site-editor"},validateSearch:we({autosend:$().optional(),..._3}),component:Be(()=>Fe(()=>import("./agent-site-editor-rsHLltUo.js"),__vite__mapDeps([212,213,116,69,70,66,67,68,8,89,79,3,2,80,81,35,82,117,118,119,120,88,136,137,138,139,98,28,140,141,142,50,47,122,84,31,41,42,43,15,44,45,46,39,48,32,49,40,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,24,25,129,143,38,19,71,72,73,74,75,76,77,78,83,85,86,87,22,10,90,91,144,29,30,145,146,147,148,149,150,151,152,153,154,155,125,126,36,156,157,158,159,160,161,162,163,109,102,110,111,164,165,34,166,167,168,106,107,7,169,21,170,171,172,173,174,175,176,177,178,179,180,181,182,124,183,184,127,97,214,215,203,201,200,188,189,202,192,208,216,217,198,187,121,123,128,218])))}),Yle=Oe({getParentRoute:()=>Jv,path:"/",staticData:{defaultMain:"site-editor",mainView:"site-editor",siteEditorView:"preview"},component:Be(()=>Fe(()=>import("./agent-site-editor-preview-BwrdNA-b.js"),__vite__mapDeps([284,285,237,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,166,238,181,140,176,116,89,117,118,119,120,174,139,84,31,153,87,122,156,138,98,28,141,142,24,25,137,129,143,38,19,71,72,73,74,75,76,77,78,83,85,86,22,10,90,91,144,29,30,145,146,147,148,149,150,151,152,154,155,157,158,159,160,161,162,163,109,102,110,111,164,165,34,167,168,106,107,7,169,21,170,171,172,173,177,178,179,180,182,124,183,211,205,204,203,280,185,186,136,175,184,187,188,189,33,190,191,192,193,194,131,132,195,196,97,17,197,16,198,127,199,200,201,105,135,128,202])))}),Zle=Oe({getParentRoute:()=>Jv,path:"/content",staticData:{defaultMain:"content",mainView:"content",siteEditorView:"content"},component:Be(()=>Fe(()=>import("./agent-site-editor-content-B1_2Oozw.js"),__vite__mapDeps([286,285,237,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,166,238,181,140,176,116,89,117,118,119,120,174,139,84,31,153,87,122,156,138,98,28,141,142,24,25,137,129,143,38,19,71,72,73,74,75,76,77,78,83,85,86,22,10,90,91,144,29,30,145,146,147,148,149,150,151,152,154,155,157,158,159,160,161,162,163,109,102,110,111,164,165,34,167,168,106,107,7,169,21,170,171,172,173,177,178,179,180,182,124,183,211,205,204,203,280,206,97,190,136,175,184,186,187,188,189,33,191,192,193,194,131,132,195,196,17,197,16,207,208,198,209])))}),Qle=Oe({getParentRoute:()=>Jv,path:"/code",staticData:{defaultMain:"code",mainView:"code",siteEditorView:"code"},validateSearch:we({file:$().optional()}),component:Be(()=>Fe(()=>import("./agent-site-editor-code-y6AvE-5T.js"),__vite__mapDeps([287,285,237,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,166,238,181,140,176,116,89,117,118,119,120,174,139,84,31,153,87,122,156,138,98,28,141,142,24,25,137,129,143,38,19,71,72,73,74,75,76,77,78,83,85,86,22,10,90,91,144,29,30,145,146,147,148,149,150,151,152,154,155,157,158,159,160,161,162,163,109,102,110,111,164,165,34,167,168,106,107,7,169,21,170,171,172,173,177,178,179,180,182,124,183,211,205,204,203,280,16])))}),Jle=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/automations",staticData:{pageTitle:"settings.nav.automations",defaultMain:"automations",mainView:"automations"},beforeLoad:({params:e,search:t})=>{const o=t.automation;if(o)throw Jo({to:"/$org/projects/$agentId/automations/$automationId",params:{org:e.org,agentId:e.agentId,automationId:o},search:a=>({...a,automation:void 0}),hash:!0,replace:!0})},component:Be(()=>Fe(()=>import("./agent-automations-CMrVMHoV.js"),__vite__mapDeps([288,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,17,16,250,289,21,97])))}),Xle=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/automations/$automationId",staticData:{pageTitle:"settings.nav.automations",defaultMain:"automations",mainView:"automation"},validateSearch:we({automationView:So(["settings","runs"]).optional()}),component:Be(()=>Fe(()=>import("./agent-automation-Ddwg84ee.js"),__vite__mapDeps([290,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,21,150,33,152,139,166,238,291,153,116,117,118,119,120,149,29,30,151,292,250,178,293,154,155,138,98,140,141,142,24,25,156,157,294,229,131,295,145,191,192,97,296,14,16,170,159,160,236,264,171,177,179,180,181,182,183,143,169])))}),ece=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/settings",staticData:{pageTitle:"sidebar.navDestinations.settings",defaultMain:"settings",mainView:"settings"},component:Be(()=>Fe(()=>import("./agent-settings-BmHxaKU2.js"),__vite__mapDeps([297,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,298,109,102,110,111,116,117,118,119,120,292,16,299,25,107,7,97,34,166,293,163,164,165,153,98,29,30,167,168,106,169,21,170,171,143,157,150,17,300,181,238,156,140,33,152,190,228,24,142,203,174,301,302,182,215])))}),tce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/library",staticData:{pageTitle:"sidebar.navDestinations.library",defaultMain:"files",mainView:"files"},validateSearch:we(nv),component:Be(()=>Fe(()=>import("./agent-library-DaueecGi.js"),__vite__mapDeps([303,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,274,259,97,120,119,157,275,34,141,142,242,152,240,241,243,175,192,143,276,209,195,24,25,14,159,160,277])))}),oce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/assets",staticData:{pageTitle:"common.mainPanelTabs.assets",defaultMain:"assets",mainView:"assets"},component:Be(()=>Fe(()=>import("./agent-assets-DCX0ywK3.js"),__vite__mapDeps([304,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,285,237,166,238,181,140,176,116,117,118,119,120,174,139,153,156,138,98,141,142,24,25,137,143,144,29,30,145,146,147,148,149,150,151,152,154,155,157,158,159,160,161,162,163,109,102,110,111,164,165,34,167,168,106,107,7,169,21,170,171,172,173,177,178,179,180,182,183,211,205,204,203,97,17,197])))}),ace=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/releases",staticData:{pageTitle:"common.mainPanelTabs.releases",defaultMain:"releases",mainView:"releases"},component:Be(()=>Fe(()=>import("./agent-releases-CdrTvT-G.js"),__vite__mapDeps([305,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,285,237,166,238,181,140,176,116,117,118,119,120,174,139,153,156,138,98,141,142,24,25,137,143,144,29,30,145,146,147,148,149,150,151,152,154,155,157,158,159,160,161,162,163,109,102,110,111,164,165,34,167,168,106,107,7,169,21,170,171,172,173,177,178,179,180,182,183,211,205,204,203,97,136,175,184,216,208])))}),nce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/hosting",staticData:{pageTitle:"common.mainPanelTabs.hosting",defaultMain:"hosting",mainView:"hosting"},component:Be(()=>Fe(()=>import("./agent-hosting-z-dkVRLB.js"),__vite__mapDeps([306,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,21,209,97,14,178,29,30,298,109,102,110,111,116,117,118,119,120,292,16,299,25,107,7,34,166,293,163,164,165,153,98,167,168,106,169,170,171,143,157,150,17,300,181,238,156,140,33,152,190,228,24,142,203,174,301,302,182,215])))}),rce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/e2e",staticData:{pageTitle:"common.mainPanelTabs.e2e",defaultMain:"e2e",mainView:"e2e"},component:Be(()=>Fe(()=>import("./agent-e2e-LNoWf1q1.js"),__vite__mapDeps([307,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,21,97,29,30,14,209,178,145,298,109,102,110,111,116,117,118,119,120,292,16,299,25,107,7,34,166,293,163,164,165,153,98,167,168,106,169,170,171,143,157,150,17,300,181,238,156,140,33,152,190,228,24,142,203,174,301,302,182,215])))}),ice=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/analytics",staticData:{pageTitle:"common.mainPanelTabs.analytics",defaultMain:"analytics",mainView:"analytics"},validateSearch:we({view:$().optional()}),component:Be(()=>Fe(()=>import("./agent-analytics-DPwSJREO.js"),__vite__mapDeps([308,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,21,150,14,245,246,247,248,97,209,249,273,298,109,102,110,111,116,117,118,119,120,292,16,299,25,107,7,34,166,293,163,164,165,153,98,29,30,167,168,106,169,170,171,143,157,17,300,181,238,156,140,33,152,190,228,24,142,203,174,301,302,182,215])))}),sce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/taskboard-analytics",staticData:{pageTitle:"taskBoard.analytics.title",defaultMain:"board",mainView:"board"},component:Be(()=>Fe(()=>import("./taskboard-analytics-ZWeq2HS-.js"),__vite__mapDeps([309,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,265,169,21,257,266,152,190,30,193,267,245,246,247,248,14,195,24,25,229,131,268,269,270,271,272,249,273,230,224,196])))}),lce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/experiments",staticData:{pageTitle:"common.mainPanelTabs.experiments",defaultMain:"experiments",mainView:"experiments"},validateSearch:we({ui:Ze("legacy").optional()}),component:Be(()=>Fe(()=>import("./agent-experiments-DhSnChQH.js"),__vite__mapDeps([310,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,21,14,29,30,209,311,312,34,97,259,263,269,248,246,270,271,247,298,109,102,110,111,116,117,118,119,120,292,16,299,25,107,7,166,293,163,164,165,153,98,167,168,106,169,170,171,143,157,150,17,300,181,238,156,140,33,152,190,228,24,142,203,174,301,302,182,215])))}),cce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/cdn",staticData:{pageTitle:"common.mainPanelTabs.cdn",defaultMain:"cdn",mainView:"cdn"},component:Be(()=>Fe(()=>import("./agent-monitor-lcAtszWh.js"),__vite__mapDeps([313,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,245,246,247,248,209,152,249,314,21,272,270,271,273,298,109,102,110,111,116,117,118,119,120,292,16,299,25,107,7,97,34,166,293,163,164,165,153,98,29,30,167,168,106,169,170,171,143,157,150,17,300,181,238,156,140,33,190,228,24,142,203,174,301,302,182,215,280,161,162])))}),dce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/apps/$connectionId/$toolName",staticData:{pageTitle:"page.app",defaultMain:"app",mainView:"app"},component:Be(()=>Fe(()=>import("./agent-app-CLxKR8tP.js"),__vite__mapDeps([315,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,205,316,139,238,179,180,181,116,117,118,119,120,230,224,131,95,100,101,102,103,98,104,105,106,107,7,108,109,110,111])))}),uce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/views/$viewId",staticData:{pageTitle:"page.view",defaultMain:"view",mainView:"view"},component:Be(()=>Fe(()=>import("./agent-view-BuDZYnBO.js"),__vite__mapDeps([317,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,316,139,238,179,180,181,116,117,118,119,120,230,224,131,95,100,101,102,103,98,104,105,106,107,7,108,109,110,111,298,292,16,299,25,97,34,166,293,163,164,165,153,29,30,167,168,169,21,170,171,143,157,150,17,300,156,140,33,152,190,228,24,142,203,174,301,302,182,215])))}),pce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/outputs/file",staticData:{pageTitle:"page.file",defaultMain:"file",mainView:"file"},validateSearch:we({key:$().optional()}),component:Be(()=>Fe(()=>import("./agent-file-D7lhfRwe.js"),__vite__mapDeps([318,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,143,243,157,175,192,141,142,120,183,116,117,118,119,298,109,102,110,111,292,16,299,25,107,7,97,34,166,293,163,164,165,153,98,29,30,167,168,106,169,21,170,171,150,17,300,181,238,156,140,33,152,190,228,24,203,174,301,302,182,215])))}),mce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/outputs/deck",staticData:{pageTitle:"page.document",defaultMain:"deck",mainView:"deck"},validateSearch:we({path:$().optional()}),component:Be(()=>Fe(()=>import("./agent-deck-CrnhUXqK.js"),__vite__mapDeps([319,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,242,157,152,298,109,102,110,111,116,117,118,119,120,292,16,299,25,107,7,97,34,166,293,163,164,165,153,98,29,30,167,168,106,169,21,170,171,143,150,17,300,181,238,156,140,33,190,228,24,142,203,174,301,302,182,215])))}),hce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/library/file",staticData:{pageTitle:"page.file",defaultMain:"library-file",mainView:"library-file"},validateSearch:we({path:$().optional()}),component:Be(()=>Fe(()=>import("./agent-library-file-9M8Zj4zk.js"),__vite__mapDeps([320,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,321,241,242,157,152,243,175,192,143,141,142,120,298,109,102,110,111,116,117,118,119,292,16,299,25,107,7,97,34,166,293,163,164,165,153,98,29,30,167,168,106,169,21,170,171,150,17,300,181,238,156,140,33,190,228,24,203,174,301,302,182,215])))}),gce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/connect-sources",staticData:{pageTitle:"settings.nav.connect",defaultMain:"connect-sources",mainView:"connect-sources"},component:Be(()=>Fe(()=>import("./agent-connect-sources-DyZZpidr.js"),__vite__mapDeps([322,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,99,95,100,101,102,103,98,104,105,106,107,7,108,109,110,111,234,112])))}),fce=Oe({getParentRoute:()=>xo,path:"/$legacyView",component:()=>null}),vce=Oe({getParentRoute:()=>Mn,path:"/agents",validateSearch:rm,beforeLoad:({params:e,search:t})=>{const o=t.virtualmcpid?.trim();throw Jo(o?{to:"/$org/projects/$agentId",params:{org:e.org,agentId:o},search:a=>a,hash:!0,replace:!0}:{to:"/$org/projects",params:{org:e.org},search:a=>a,hash:!0,replace:!0})}}),bce=Oe({getParentRoute:()=>Mn,path:"/agents/$",validateSearch:rm,beforeLoad:({params:e,location:t})=>{const o=e._splat?.split("/").find(Boolean);if(!T3(o))return;const a=ple(t.pathname);if(!a)return;const n=t.hash?`#${t.hash}`:"";throw Jo({href:`${a}${t.searchStr}${n}`,replace:!0})},component:Be(()=>Fe(()=>import("./legacy-agents-deep-BtUjTNH_.js"),__vite__mapDeps([323,239,70])))}),yce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>Mn,path:"/tasks/{-$taskKey}",staticData:{pageTitle:"sidebar.navDestinations.tasks",defaultMain:"board",mainView:"board"},validateSearch:we({task:$().optional(),...ak}),beforeLoad:({params:e,search:t})=>{const o=x3(e.taskKey,t);if(o)throw Jo({to:"/$org/tasks/{-$taskKey}",params:{org:e.org,taskKey:o.taskKey},search:o.search,hash:!0,replace:!0})},component:Be(()=>Fe(()=>import("./tasks-By3Yi7H-.js"),__vite__mapDeps([324,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,256,131,132,257,196,152,138,139,98,140,141,142,120,24,25,117,116,118,119,155,258,21,33,34,157,250,26,259,225,172,159,160,29,30,230,224,229,260,193,189,178,261,194,262,187,263,166,103,264,171,177,179,180,181,182,156,183,143,170,236,148,144,213,280,161,162,281])))}),Sce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>Mn,path:"/taskboard-analytics",staticData:{defaultMain:"board",mainView:"board"},component:Be(()=>Fe(()=>import("./taskboard-analytics-ZWeq2HS-.js"),__vite__mapDeps([309,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,265,169,21,257,266,152,190,30,193,267,245,246,247,248,14,195,24,25,229,131,268,269,270,271,272,249,273,230,224,196])))}),wce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>Mn,path:"/thread-analytics",staticData:{defaultMain:"board",mainView:"board"},component:Be(()=>Fe(()=>import("./thread-analytics-C2SSbO3U.js"),__vite__mapDeps([325,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,267,245,246,247,248,14,195,24,25,21,229,131,268,269,270,271,272,249,273,226,196,152,29,30,145,264,171,177,178,142,138,139,98,140,141,120,117,116,118,119,179,180,181,182,166,156,183,143,170,236])))}),Tce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>Mn,path:"/reports",staticData:{pageTitle:"sidebar.navDestinations.reports",defaultMain:"reports",mainView:"reports"},validateSearch:we({connect:kv().optional(),siteUrl:$().optional()}),component:Be(()=>Fe(()=>import("./reports-DBoKBg_K.js"),__vite__mapDeps([326,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,283,95,233,101,102,103,252,112,113,254,227])))}),xce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>Mn,path:"/library",staticData:{pageTitle:"sidebar.navDestinations.library",defaultMain:"files",mainView:"files"},validateSearch:we(nv),component:Be(()=>Fe(()=>import("./library-UKyRew3D.js"),__vite__mapDeps([327,120,122,121,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,321,241,242,157,152,243,175,192,143,141,142,274,259,97,119,275,34,240,276,209,195,24,25,14,159,160])))}),_ce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>Mn,path:"/discover",staticData:{pageTitle:"sidebar.navDestinations.discover",defaultMain:"discover",mainView:"discover"},component:Be(()=>Fe(()=>import("./discover-ut7HMfOm.js"),__vite__mapDeps([328,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,166,159,160,203,111])))}),kce=Oe({getParentRoute:()=>Zv,path:"/members",beforeLoad:({params:e})=>{throw Jo({to:"/$org/settings/members",params:{org:e.org}})}}),Cce=we({main:io([$(),Ze(0)]).optional(),virtualmcpid:$().optional(),...k3,sidepanel:PL,mainpanel:EL,thread:$().optional()}),Pce=Oe({getParentRoute:()=>Qv,path:"/",validateSearch:Cce,pendingComponent:Md,component:Be(()=>Fe(()=>import("./index-BiA-t4Hy.js"),__vite__mapDeps([329,239,70])))}),Ece=Oe({getParentRoute:()=>Qv,path:"/t/$taskKey",beforeLoad:({params:e})=>{throw Jo({to:"/$org/tasks/{-$taskKey}",params:{org:e.org,taskKey:e.taskKey},search:t=>t,hash:!0,replace:!0})}}),so=Oe({staticData:{pageTitle:"sidebar.navDestinations.settings"},getParentRoute:()=>Zv,path:"/settings",pendingComponent:Md,component:Be(()=>Fe(()=>import("./route-DuM3NpZo.js"),__vite__mapDeps([330,122,121,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129])))}),Ace=Oe({getParentRoute:()=>so,path:"/",component:Be(()=>Fe(()=>import("./index-redirect-w-0W0NUM.js"),__vite__mapDeps([331,332])))}),Rce=Oe({staticData:{pageTitle:"settings.nav.connections"},getParentRoute:()=>so,path:"/connections",component:Be(()=>Fe(()=>import("./connections-BrK9YMjs.js"),__vite__mapDeps([333,109,102,110,111,334,15,55,84,31,195,21,17,18,169,164,85,86,165,82,74,45,41,42,43,44,46,47,39,48,32,49,40,50,51,52,53,54,56,57,58,59,60,61,62,63,20,64,65,16,335,97,170,122,153,98,28,29,30,34,166,68,8,67,181,66,167,168,106,107,7,150]))),validateSearch:Hr(()=>we({action:So(["create"]).optional(),tab:So(["all","connected"]).optional()}))}),Dce=Oe({staticData:{pageTitle:"settings.nav.connections"},getParentRoute:()=>so,path:"/connections/$appSlug",component:Be(()=>Fe(()=>import("./connection-detail-F-9yuMeT.js"),__vite__mapDeps([336,109,102,110,111,16,168,61,62,337,68,8,238,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,18,63,20,64,65,166,29,30,31,246,312,73,152,84,67,122,338,78,79,3,2,80,81,35,82,167,300,21,181,7,159,160,19,107,74,124,98,28,156,335,97,339,245,247,248,249,273,269,268,270,271,272,145,165,180,87]))),validateSearch:Hr(()=>we({tab:$().optional()}))}),Oce=Oe({staticData:{pageTitle:"page.item"},getParentRoute:()=>so,path:"/connections/$appSlug/$collectionName/$itemId",component:Be(()=>Fe(()=>import("./collection-detail-BUD1Fj-1.js"),__vite__mapDeps([340,16,68,8,98,28,34,337,238,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,166,109,102,110,111,29,30,31,246,312,73,152,84,67,122,338,78,79,3,2,80,81,35,82,167,180,181,189,165,300,21,7,179,74,116,69,70,66,89,117,118,119,120,88,38,19,71,72,75,76,77,83,85,86,87,22,10,90,91,191,192,209]))),validateSearch:Hr(()=>we({replayId:$().optional()}))}),Mce=Oe({staticData:{pageTitle:"orgs.monitoring.title"},getParentRoute:()=>so,path:"/monitor",component:Be(()=>Fe(()=>import("./index-DR8Su143.js"),__vite__mapDeps([341,17,18,16,342,343,332,177,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,62,63,20,64,65,24,25,178,142,138,139,98,28,140,141,120,122,69,70,66,67,68,8,84,31,117,79,3,2,80,81,35,82,116,89,118,119,88,71,179,180,181,182,38,19,72,73,74,75,76,77,78,83,85,86,87,22,10,90,91,124,166,156,183,143,165,21,152,191,192,159,160,295,150,29,30,266,190,193,34,169,33,189,339,245,246,247,248,249,273,269,268,270,271,272,264,171,170,236,14,296,250,209,224,314,280,161,162]))),validateSearch:Hr(()=>we({tab:So(["overview","audit","dashboards","threads","automations","stores"]).default("threads"),store:$().optional(),at:$().optional(),from:$().default("now-24h"),to:$().default("now"),connectionId:je($()).optional().default([]),virtualMcpId:je($()).optional().default([]),tool:$().default(""),status:So(["all","success","errors"]).default("all"),search:$().default(""),page:Mt().optional(),streaming:qt().default(!0),propertyFilters:$().default(""),hideSystem:qt().default(!1)}))}),Nce=Oe({staticData:{pageTitle:"settings.nav.general"},getParentRoute:()=>so,path:"/general",component:Be(()=>Fe(()=>import("./general-DcBh6hf3.js"),__vite__mapDeps([344,160,293,19,20,345,33,40,88,35,81,166,68,8,346,21,29,30,31,32,97,332])))}),Ice=Oe({staticData:{pageTitle:"settings.nav.connect"},getParentRoute:()=>so,path:"/connect",pendingComponent:Li("connect"),component:Be(()=>Fe(()=>import("./connect-CX0GhSHk.js"),__vite__mapDeps([347,189,21,29,30,31,32,145,142,50,56,57,253,348,42,61,62,97,28,68,8,342,343,332])))}),Lce=Oe({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>so,path:"/ai-providers",pendingComponent:Li("billing"),component:Be(()=>Fe(()=>import("./ai-providers-Cn_Nj1qE.js"),__vite__mapDeps([349,42,118,48,88,35,81,291,153,122,116,69,70,66,67,68,8,89,79,3,2,80,82,117,119,120,149,150,29,30,31,32,44,49,56,43,18,151,58,19,20,53,293,147,97,148,162,61,62,299,25,33,342,343,332])))}),Bce=Oe({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>so,path:"/billing",beforeLoad:({params:e})=>{throw Jo({to:"/$org/settings/ai-providers",params:{org:e.org}})}}),Fce=Oe({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>so,path:"/infra-billing",pendingComponent:Li("billing"),component:Be(()=>Fe(()=>import("./infra-billing-hV6CHYxH.js"),__vite__mapDeps([350,51,21,295,150,32,72,73,18,152,29,30,31,14,249,248,246,273,271,342,343,332])))}),jce=Oe({staticData:{pageTitle:"settings.nav.secrets"},getParentRoute:()=>so,path:"/secrets",component:Be(()=>Fe(()=>import("./secrets-W81BJ6O0.js"),__vite__mapDeps([351,42,61,20,64,28,29,30,31,32,34,302,342,343,332])))}),zce=Oe({staticData:{pageTitle:"settings.nav.connect"},getParentRoute:()=>so,path:"/api-keys",pendingComponent:Li("connect"),component:Be(()=>Fe(()=>import("./api-keys-_y0SevGg.js"),__vite__mapDeps([352,348,42,50,56,61,62,97,28,68,8,342,343,332])))}),Uce=Oe({staticData:{pageTitle:"settings.nav.storage"},getParentRoute:()=>so,path:"/buckets",pendingComponent:Li("storage"),component:Be(()=>Fe(()=>import("./buckets-geowc7lF.js"),__vite__mapDeps([353,42,61,62,97,28,29,30,31,32,33,34,126,342,343,332])))}),qce=Oe({staticData:{pageTitle:"settings.nav.repositories"},getParentRoute:()=>so,path:"/repositories",validateSearch:we({git_error:$().optional().catch(void 0),git_flow:$().uuid().optional().catch(void 0),git_installation:Mt().int().positive().safe().optional().catch(void 0),git_return:qt().optional().catch(void 0)}),pendingComponent:Li("repositories"),component:Be(()=>Fe(()=>import("./repositories-BD5gqmJg.js"),__vite__mapDeps([354,83,44,61,84,31,28,85,86,87,18,46,19,20,22,88,35,81,45,150,64,97,21,189,129,29,30,32,34,62,301,302,342,343,332])))}),$ce=Oe({staticData:{pageTitle:"settings.nav.storage"},getParentRoute:()=>so,path:"/synced-repos",pendingComponent:Li("storage"),component:Be(()=>Fe(()=>import("./synced-repos-DUkzQSzh.js"),__vite__mapDeps([355,61,97,83,44,84,31,28,85,86,87,18,46,19,20,22,88,35,81,275,24,25,342,343,332])))}),Vce=Oe({staticData:{pageTitle:"settings.nav.tasks"},getParentRoute:()=>so,path:"/task-board",component:Be(()=>Fe(()=>import("./tasks-CxWkzUmt.js"),__vite__mapDeps([356,150,34,49,60,61,196,72,73,18,152,295,21,32,29,30,31,33,97,294,345,40,88,35,81,166,68,8,22,250,258,65,129,84,124,157,85,86,80,2,342,343,332])))}),Hce=Oe({getParentRoute:()=>so,path:"/tasks",beforeLoad:({params:e})=>{throw Jo({to:"/$org/settings/task-board",params:{org:e.org}})}}),Gce=Oe({staticData:{pageTitle:"projects.settings.title"},getParentRoute:()=>so,path:"/projects",component:Be(()=>Fe(()=>import("./projects-BmqEzMnN.js"),__vite__mapDeps([357,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,21,17,76,28,77,68,8,78,67,79,3,2,80,81,35,82,83,84,31,85,86,87,19,22,88,254,299,25,233,101,102,103,227,66,166])))}),Wce=Oe({staticData:{pageTitle:"settings.nav.members"},getParentRoute:()=>so,path:"/members",pendingComponent:Li("members"),component:Be(()=>Fe(()=>import("./members-DMVi5o98.js"),__vite__mapDeps([358,334,15,55,84,31,195,21,17,18,13,14,16,222,98,28,29,30,32,34,160,223,19,20,24,25,26,159,359,97,52,56,62,65,150,72,73,152,61,260,342,343,332])))}),Kce=Oe({staticData:{pageTitle:"settings.nav.members"},getParentRoute:()=>so,path:"/roles",pendingComponent:Li("members"),component:Be(()=>Fe(()=>import("./roles-D7RemnKj.js"),__vite__mapDeps([360,223,160,359,21,97,52,61,62,13,14,15,16,17,18,151,74,45,41,42,43,44,46,47,39,48,32,49,40,50,51,53,54,55,56,57,58,59,60,63,20,64,65,170,150,171,86,68,8,87,110,111,159,26,166,67,118,19,33,84,31,75,66,343,332]))),validateSearch:Hr(()=>we({role:$().optional()}))}),Yce=Oe({staticData:{pageTitle:"settings.nav.security"},getParentRoute:()=>so,path:"/sso",component:Be(()=>Fe(()=>import("./sso-SHUpqa2t.js"),__vite__mapDeps([361,346,21,29,30,31,32,97,33,90,62,342,343,332])))}),Zce=Oe({staticData:{pageTitle:"settings.nav.profile"},getParentRoute:()=>so,path:"/profile",component:Be(()=>Fe(()=>import("./profile-DdCmH2hW.js"),__vite__mapDeps([362,19,20,311,312,30,62,63,33,29,31,32,147,58,59,60,293,158])))}),Qce=Oe({staticData:{pageTitle:"settings.nav.agents"},getParentRoute:()=>so,path:"/agents",component:Be(()=>Fe(()=>import("./agents-list-Bl683eN3.js"),__vite__mapDeps([363,67,68,8,52,43,62,41,42,15,44,45,46,47,39,48,32,49,40,50,51,53,54,55,56,57,58,59,60,61,18,63,20,64,65,299,25,78,79,3,2,80,81,35,82,88,16,338,166,106,107,7,109,102,110,111,83,84,31,28,85,86,87,19,22,103,104,97,17,77])))}),Jce=Oe({staticData:{pageTitle:"settings.nav.automations"},getParentRoute:()=>so,path:"/automations",component:Be(()=>Fe(()=>import("./automations-Dityp5_M.js"),__vite__mapDeps([364,61,47,17,18,16,250,68,8,78,67,79,3,2,80,81,35,82,289,21,97,41,42,43,15,44,45,46,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,62,63,20,64,65,342,343,332])))}),Xce=Oe({staticData:{pageTitle:"settings.nav.skills"},getParentRoute:()=>so,path:"/skills",component:Be(()=>Fe(()=>import("./skills-B9A_KuNf.js"),__vite__mapDeps([365,52,47,62,63,17,18,97,16,169,21,276,141,142,50,120,122,69,70,66,67,68,8,243,157,85,86,175,53,192,143])))}),ede=Oe({staticData:{pageTitle:"settings.nav.memory"},getParentRoute:()=>so,path:"/memory",component:Be(()=>Fe(()=>import("./memory-DIF2ywrA.js"),__vite__mapDeps([366,39,20,189,84,31,169,21,16,71,157,85,86]))),validateSearch:Hr(()=>we({scope:So(["user"]).optional()}))}),tde=so.addChildren([Ace,Rce,Dce,Oce,Qce,Jce,Xce,ede,Mce,Nce,Ice,Lce,Bce,Fce,jce,zce,Uce,qce,$ce,Vce,Hce,Gce,Wce,Kce,Yce,Zce]),ode=Jv.addChildren([Yle,Zle,Qle]),ade=xo.addChildren([Gle,Wle,Kle,ode,Jle,Xle,ece,tce,oce,ace,nce,rce,ice,sce,lce,cce,dce,uce,pce,mce,hce,gce,fce]),nde=Mn.addChildren([$le,Vle,Hle,ade,vce,bce,yce,Sce,wce,Tce,xce,_ce]),rde=Qv.addChildren([Pce,Ece,nde]),ide=Zv.addChildren([rde,kce,tde]),sde=nk.addChildren([Mle,ide]),lde=Ka.addChildren([sde,Ole,Nle,Ile,Lle,Ble,rk.addChildren([Fle,jle]),zle,Tle,xle,_le,kle,Cle,Ple]);function cde(){const e=Re.c(16),t=ar();let o;e[0]!==t?(o=t("common.index.pageNotFound"),e[0]=t,e[1]=o):o=e[1];let a;e[2]!==o?(a=w.jsx("h3",{className:"text-lg font-medium text-foreground",children:o}),e[2]=o,e[3]=a):a=e[3];let n;e[4]!==t?(n=t("common.index.pageNotFoundDescription"),e[4]=t,e[5]=n):n=e[5];let i;e[6]!==n?(i=w.jsx("p",{className:"text-sm text-muted-foreground text-center max-w-[300px]",children:n}),e[6]=n,e[7]=i):i=e[7];let l;e[8]!==t?(l=t("common.goBack"),e[8]=t,e[9]=l):l=e[9];let c;e[10]!==l?(c=w.jsx("button",{type:"button",onClick:dde,className:"text-sm text-primary hover:underline",children:l}),e[10]=l,e[11]=c):c=e[11];let d;return e[12]!==a||e[13]!==i||e[14]!==c?(d=w.jsx("div",{className:"flex h-full items-center justify-center",children:w.jsxs("div",{className:"flex flex-col items-center gap-4 p-8",children:[a,i,c]})}),e[12]=a,e[13]=i,e[14]=c,e[15]=d):d=e[15],d}function dde(){return window.history.back()}const Xv=j8({routeTree:lde,defaultPendingComponent:Md,defaultPendingMs:200,defaultPendingMinMs:500,defaultNotFoundComponent:cde});function Pe(...e){return CL(u_(e))}function ude(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}function qo({error:e,localization:t,localizeErrors:o=!0}){var a;const n="Request failed";if(!o)return e?.message?e.message:(a=e?.error)!=null&&a.message?e.error.message:n;if(typeof e=="string"&&t?.[e])return t[e];if(e?.error){if(e.error.code){const i=e.error.code;if(t?.[i])return t[i]}return e.error.message||e.error.code||e.error.statusText||t?.REQUEST_FAILED}return e?.message||t?.REQUEST_FAILED||n}function zl(e){return typeof window<"u"?new URLSearchParams(window.location.search).get(e):null}function XT(e,t){for(const o in e)if(e[o]===t)return o}function Bp(e,t){let o=$().min(1,{message:t?.PASSWORD_REQUIRED});return e?.minLength&&(o=o.min(e.minLength,{message:t?.PASSWORD_TOO_SHORT})),e?.maxLength&&(o=o.max(e.maxLength,{message:t?.PASSWORD_TOO_LONG})),e?.regex&&(o=o.regex(e.regex,{message:t?.INVALID_PASSWORD})),o}var pde={FAILED_TO_CREATE_USER:"Failed to create user",USER_ALREADY_EXISTS:"User already exists",YOU_CANNOT_BAN_YOURSELF:"You cannot ban yourself",YOU_ARE_NOT_ALLOWED_TO_CHANGE_USERS_ROLE:"You are not allowed to change users role",YOU_ARE_NOT_ALLOWED_TO_CREATE_USERS:"You are not allowed to create users",YOU_ARE_NOT_ALLOWED_TO_LIST_USERS:"You are not allowed to list users",YOU_ARE_NOT_ALLOWED_TO_LIST_USERS_SESSIONS:"You are not allowed to list users sessions",YOU_ARE_NOT_ALLOWED_TO_BAN_USERS:"You are not allowed to ban users",YOU_ARE_NOT_ALLOWED_TO_IMPERSONATE_USERS:"You are not allowed to impersonate users",YOU_ARE_NOT_ALLOWED_TO_REVOKE_USERS_SESSIONS:"You are not allowed to revoke users sessions",YOU_ARE_NOT_ALLOWED_TO_DELETE_USERS:"You are not allowed to delete users",YOU_ARE_NOT_ALLOWED_TO_SET_USERS_PASSWORD:"You are not allowed to set users password",BANNED_USER:"You have been banned from this application"},mde={FAILED_TO_CREATE_USER:"Failed to create user",COULD_NOT_CREATE_SESSION:"Could not create session",ANONYMOUS_USERS_CANNOT_SIGN_IN_AGAIN_ANONYMOUSLY:"Anonymous users cannot sign in again anonymously"},hde={INVALID_METADATA_TYPE:"metadata must be an object or undefined",REFILL_AMOUNT_AND_INTERVAL_REQUIRED:"refillAmount is required when refillInterval is provided",REFILL_INTERVAL_AND_AMOUNT_REQUIRED:"refillInterval is required when refillAmount is provided",USER_BANNED:"User is banned",UNAUTHORIZED_SESSION:"Unauthorized or invalid session",KEY_NOT_FOUND:"API Key not found",KEY_DISABLED:"API Key is disabled",KEY_EXPIRED:"API Key has expired",USAGE_EXCEEDED:"API Key has reached its usage limit",KEY_NOT_RECOVERABLE:"API Key is not recoverable",EXPIRES_IN_IS_TOO_SMALL:"The expiresIn is smaller than the predefined minimum value.",EXPIRES_IN_IS_TOO_LARGE:"The expiresIn is larger than the predefined maximum value.",INVALID_REMAINING:"The remaining count is either too large or too small.",INVALID_PREFIX_LENGTH:"The prefix length is either too large or too small.",INVALID_NAME_LENGTH:"The name length is either too large or too small.",METADATA_DISABLED:"Metadata is disabled.",RATE_LIMIT_EXCEEDED:"Rate limit exceeded.",NO_VALUES_TO_UPDATE:"No values to update.",KEY_DISABLED_EXPIRATION:"Custom key expiration values are disabled.",INVALID_API_KEY:"Invalid API key.",INVALID_USER_ID_FROM_API_KEY:"The user id from the API key is invalid.",INVALID_API_KEY_GETTER_RETURN_TYPE:"API Key getter returned an invalid key type. Expected string.",SERVER_ONLY_PROPERTY:"The property you're trying to set can only be set from the server auth instance only."},gde={USER_NOT_FOUND:"User not found",FAILED_TO_CREATE_USER:"Failed to create user",FAILED_TO_CREATE_SESSION:"Failed to create session",FAILED_TO_UPDATE_USER:"Failed to update user",FAILED_TO_GET_SESSION:"Failed to get session",INVALID_PASSWORD:"Invalid password",INVALID_EMAIL:"Invalid email",INVALID_EMAIL_OR_PASSWORD:"Invalid email or password",SOCIAL_ACCOUNT_ALREADY_LINKED:"Social account already linked",PROVIDER_NOT_FOUND:"Provider not found",INVALID_TOKEN:"Invalid token",ID_TOKEN_NOT_SUPPORTED:"id_token not supported",FAILED_TO_GET_USER_INFO:"Failed to get user info",USER_EMAIL_NOT_FOUND:"User email not found",EMAIL_NOT_VERIFIED:"Email not verified",PASSWORD_TOO_SHORT:"Password too short",PASSWORD_TOO_LONG:"Password too long",USER_ALREADY_EXISTS:"User already exists",EMAIL_CAN_NOT_BE_UPDATED:"Email can not be updated",CREDENTIAL_ACCOUNT_NOT_FOUND:"Credential account not found",SESSION_EXPIRED:"Session expired. Re-authenticate to perform this action.",FAILED_TO_UNLINK_LAST_ACCOUNT:"You can't unlink your last account",ACCOUNT_NOT_FOUND:"Account not found",USER_ALREADY_HAS_PASSWORD:"User already has a password. Provide that to delete the account."},fde={VERIFICATION_FAILED:"Captcha verification failed",MISSING_RESPONSE:"Missing CAPTCHA response",UNKNOWN_ERROR:"Something went wrong"},vde={MISSING_SECRET_KEY:"Missing secret key",SERVICE_UNAVAILABLE:"CAPTCHA service unavailable"},bde={...fde,...vde},yde={OTP_EXPIRED:"otp expired",INVALID_OTP:"Invalid OTP",INVALID_EMAIL:"Invalid email",USER_NOT_FOUND:"User not found",TOO_MANY_ATTEMPTS:"Too many attempts"},Sde={INVALID_OAUTH_CONFIGURATION:"Invalid OAuth configuration"},wde={PASSWORD_COMPROMISED:"The password you entered has been compromised. Please choose a different password."},Tde={INVALID_SESSION_TOKEN:"Invalid session token"},xde={YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_ORGANIZATION:"You are not allowed to create a new organization",YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_ORGANIZATIONS:"You have reached the maximum number of organizations",ORGANIZATION_ALREADY_EXISTS:"Organization already exists",ORGANIZATION_NOT_FOUND:"Organization not found",USER_IS_NOT_A_MEMBER_OF_THE_ORGANIZATION:"User is not a member of the organization",YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_ORGANIZATION:"You are not allowed to update this organization",YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_ORGANIZATION:"You are not allowed to delete this organization",NO_ACTIVE_ORGANIZATION:"No active organization",USER_IS_ALREADY_A_MEMBER_OF_THIS_ORGANIZATION:"User is already a member of this organization",MEMBER_NOT_FOUND:"Member not found",ROLE_NOT_FOUND:"Role not found",YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_TEAM:"You are not allowed to create a new team",TEAM_ALREADY_EXISTS:"Team already exists",TEAM_NOT_FOUND:"Team not found",YOU_CANNOT_LEAVE_THE_ORGANIZATION_AS_THE_ONLY_OWNER:"You cannot leave the organization as the only owner",YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_MEMBER:"You are not allowed to delete this member",YOU_ARE_NOT_ALLOWED_TO_INVITE_USERS_TO_THIS_ORGANIZATION:"You are not allowed to invite users to this organization",USER_IS_ALREADY_INVITED_TO_THIS_ORGANIZATION:"User is already invited to this organization",INVITATION_NOT_FOUND:"Invitation not found",YOU_ARE_NOT_THE_RECIPIENT_OF_THE_INVITATION:"You are not the recipient of the invitation",YOU_ARE_NOT_ALLOWED_TO_CANCEL_THIS_INVITATION:"You are not allowed to cancel this invitation",INVITER_IS_NO_LONGER_A_MEMBER_OF_THE_ORGANIZATION:"Inviter is no longer a member of the organization",YOU_ARE_NOT_ALLOWED_TO_INVITE_USER_WITH_THIS_ROLE:"you are not allowed to invite user with this role",FAILED_TO_RETRIEVE_INVITATION:"Failed to retrieve invitation",YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_TEAMS:"You have reached the maximum number of teams",UNABLE_TO_REMOVE_LAST_TEAM:"Unable to remove last team",YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_MEMBER:"You are not allowed to update this member",ORGANIZATION_MEMBERSHIP_LIMIT_REACHED:"Organization membership limit reached",YOU_ARE_NOT_ALLOWED_TO_CREATE_TEAMS_IN_THIS_ORGANIZATION:"You are not allowed to create teams in this organization",YOU_ARE_NOT_ALLOWED_TO_DELETE_TEAMS_IN_THIS_ORGANIZATION:"You are not allowed to delete teams in this organization",YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_TEAM:"You are not allowed to update this team",YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_TEAM:"You are not allowed to delete this team",INVITATION_LIMIT_REACHED:"Invitation limit reached"},_de={CHALLENGE_NOT_FOUND:"Challenge not found",YOU_ARE_NOT_ALLOWED_TO_REGISTER_THIS_PASSKEY:"You are not allowed to register this passkey",FAILED_TO_VERIFY_REGISTRATION:"Failed to verify registration",PASSKEY_NOT_FOUND:"Passkey not found",AUTHENTICATION_FAILED:"Authentication failed",UNABLE_TO_CREATE_SESSION:"Unable to create session",FAILED_TO_UPDATE_PASSKEY:"Failed to update passkey"},kde={INVALID_PHONE_NUMBER:"Invalid phone number",PHONE_NUMBER_EXIST:"Phone number already exists",INVALID_PHONE_NUMBER_OR_PASSWORD:"Invalid phone number or password",UNEXPECTED_ERROR:"Unexpected error",OTP_NOT_FOUND:"OTP not found",OTP_EXPIRED:"OTP expired",INVALID_OTP:"Invalid OTP",PHONE_NUMBER_NOT_VERIFIED:"Phone number not verified"},Cde={SUBSCRIPTION_NOT_FOUND:"Subscription not found",SUBSCRIPTION_PLAN_NOT_FOUND:"Subscription plan not found",ALREADY_SUBSCRIBED_PLAN:"You're already subscribed to this plan",UNABLE_TO_CREATE_CUSTOMER:"Unable to create customer",FAILED_TO_FETCH_PLANS:"Failed to fetch plans",EMAIL_VERIFICATION_REQUIRED:"Email verification is required before you can subscribe to a plan",SUBSCRIPTION_NOT_ACTIVE:"Subscription is not active",SUBSCRIPTION_NOT_SCHEDULED_FOR_CANCELLATION:"Subscription is not scheduled for cancellation"},Pde={TEAM_LIMIT_REACHED:"Team limit reached for this organization",TEAM_MEMBER_LIMIT_REACHED:"Team member limit reached for this team",TEAM_NOT_FOUND:"Team not found",TEAM_MEMBER_NOT_FOUND:"Team member not found",TEAM_NAME_TOO_LONG:"Team name is too long",CANNOT_REMOVE_LAST_TEAM:"Cannot remove the last team",NOT_ORGANIZATION_MEMBER:"User is not a member of the organization",ALREADY_TEAM_MEMBER:"User is already a member of this team",INSUFFICIENT_TEAM_PERMISSIONS:"Insufficient permissions to perform this action on team"},Ede={OTP_NOT_ENABLED:"OTP not enabled",OTP_HAS_EXPIRED:"OTP has expired",TOTP_NOT_ENABLED:"TOTP not enabled",TWO_FACTOR_NOT_ENABLED:"Two factor isn't enabled",BACKUP_CODES_NOT_ENABLED:"Backup codes aren't enabled",INVALID_BACKUP_CODE:"Invalid backup code",INVALID_CODE:"Invalid code",TOO_MANY_ATTEMPTS_REQUEST_NEW_CODE:"Too many attempts. Please request a new code.",INVALID_TWO_FACTOR_COOKIE:"Invalid two factor cookie"},Ade={INVALID_USERNAME_OR_PASSWORD:"invalid username or password",EMAIL_NOT_VERIFIED:"email not verified",UNEXPECTED_ERROR:"unexpected error",USERNAME_IS_ALREADY_TAKEN:"username is already taken. please try another.",USERNAME_TOO_SHORT:"username is too short",USERNAME_TOO_LONG:"username is too long",INVALID_USERNAME:"username is invalid"},Rde={APP:"App",ACCOUNT:"Account",ACCOUNTS:"Accounts",ACCOUNTS_DESCRIPTION:"Switch between your currently signed in accounts.",ACCOUNTS_INSTRUCTIONS:"Sign in to an additional account.",ADD_ACCOUNT:"Add Account",ADD_PASSKEY:"Add Passkey",ALREADY_HAVE_AN_ACCOUNT:"Already have an account?",AVATAR:"Avatar",AVATAR_DESCRIPTION:"Click on the avatar to upload a custom one from your files.",AVATAR_INSTRUCTIONS:"An avatar is optional but strongly recommended.",BACKUP_CODE_REQUIRED:"Backup code is required",BACKUP_CODES:"Backup Codes",BACKUP_CODES_DESCRIPTION:"Save these backup codes in a secure place. You can use them to access your account if you lose your two-factor authentication method.",BACKUP_CODE_PLACEHOLDER:"Backup Code",BACKUP_CODE:"Backup Code",CANCEL:"Cancel",CHANGE_PASSWORD:"Change Password",CHANGE_PASSWORD_DESCRIPTION:"Enter your current password and a new password.",CHANGE_PASSWORD_INSTRUCTIONS:"Please use 8 characters at minimum.",CHANGE_PASSWORD_SUCCESS:"Your password has been changed.",CONFIRM_PASSWORD:"Confirm Password",CONFIRM_PASSWORD_PLACEHOLDER:"Confirm Password",CONFIRM_PASSWORD_REQUIRED:"Confirm password is required",CONTINUE_WITH_AUTHENTICATOR:"Continue with Authenticator",COPIED_TO_CLIPBOARD:"Copied to clipboard",COPY_TO_CLIPBOARD:"Copy to clipboard",COPY_ALL_CODES:"Copy all codes",CONTINUE:"Continue",CURRENT_PASSWORD:"Current Password",CURRENT_PASSWORD_PLACEHOLDER:"Current Password",CURRENT_SESSION:"Current Session",UPDATE:"Update",DELETE:"Delete",DELETE_AVATAR:"Delete Avatar",DELETE_ACCOUNT:"Delete Account",DELETE_ACCOUNT_DESCRIPTION:"Permanently remove your account and all of its contents. This action is not reversible, so please continue with caution.",DELETE_ACCOUNT_INSTRUCTIONS:"Please confirm the deletion of your account. This action is not reversible, so please continue with caution.",DELETE_ACCOUNT_VERIFY:"Please check your email to verify the deletion of your account.",DELETE_ACCOUNT_SUCCESS:"Your account has been deleted.",DISABLE_TWO_FACTOR:"Disable Two-Factor",DISABLED_CREDENTIALS_DESCRIPTION:"Choose a provider to login to your account",DONT_HAVE_AN_ACCOUNT:"Don't have an account?",DONE:"Done",EMAIL:"Email",EMAIL_DESCRIPTION:"Enter the email address you want to use to log in.",EMAIL_INSTRUCTIONS:"Please enter a valid email address.",EMAIL_IS_THE_SAME:"Email is the same",EMAIL_PLACEHOLDER:"m@example.com",EMAIL_REQUIRED:"Email address is required",EMAIL_VERIFY_CHANGE:"Please check your email to verify the change.",EMAIL_VERIFICATION:"Email Verification",EMAIL_VERIFICATION_DESCRIPTION:"Please check your email for the verification code to complete your registration.",EMAIL_VERIFICATION_SUCCESS:"Email verification successful.",ENABLE_TWO_FACTOR:"Enable Two-Factor",IS_INVALID:"is invalid",IS_REQUIRED:"is required",IS_THE_SAME:"is the same",FORGOT_AUTHENTICATOR:"Forgot authenticator?",FORGOT_PASSWORD:"Forgot Password",FORGOT_PASSWORD_ACTION:"Send reset link",FORGOT_PASSWORD_DESCRIPTION:"Enter your email to reset your password",FORGOT_PASSWORD_EMAIL:"Check your email for the password reset link.",FORGOT_PASSWORD_LINK:"Forgot your password?",LINK:"Link",MAGIC_LINK:"Magic Link",MAGIC_LINK_ACTION:"Send magic link",MAGIC_LINK_DESCRIPTION:"Enter your email to receive a magic link",MAGIC_LINK_EMAIL:"Check your email for the magic link",EMAIL_OTP:"Email Code",EMAIL_OTP_SEND_ACTION:"Send code",EMAIL_OTP_VERIFY_ACTION:"Verify code",EMAIL_OTP_DESCRIPTION:"Enter your email to receive a code",EMAIL_OTP_VERIFICATION_SENT:"Please check your email for the verification code.",NAME:"Name",NAME_DESCRIPTION:"Please enter your full name, or a display name.",NAME_INSTRUCTIONS:"Please use 32 characters at maximum.",NAME_PLACEHOLDER:"Name",NEW_PASSWORD:"New Password",NEW_PASSWORD_PLACEHOLDER:"New Password",NEW_PASSWORD_REQUIRED:"New password is required",ONE_TIME_PASSWORD:"One-Time Password",OR_CONTINUE_WITH:"Or continue with",PASSKEY:"Passkey",PASSKEYS:"Passkeys",PASSKEYS_DESCRIPTION:"Manage your passkeys for secure access.",PASSKEYS_INSTRUCTIONS:"Securely access your account without a password.",PERSONAL_ACCOUNT:"Personal Account",API_KEYS:"API Keys",API_KEYS_DESCRIPTION:"Manage your API keys for secure access.",API_KEYS_INSTRUCTIONS:"Generate API keys to access your account programmatically.",CREATE_API_KEY:"Create API Key",CREATE_API_KEY_DESCRIPTION:"Enter a unique name for your API key to differentiate it from other keys.",API_KEY_NAME_PLACEHOLDER:"New API Key",API_KEY_CREATED:"API Key Created",CREATE_API_KEY_SUCCESS:"Please copy your API key and store it in a safe place. For security reasons we cannot show it again.",NEVER_EXPIRES:"Never Expires",EXPIRES:"Expires",NO_EXPIRATION:"No Expiration",CREATE_ORGANIZATION:"Create Organization",ORGANIZATION:"Organization",ORGANIZATION_NAME:"Name",ORGANIZATION_NAME_PLACEHOLDER:"Acme Inc.",ORGANIZATION_NAME_DESCRIPTION:"This is your organization's visible name.",ORGANIZATION_NAME_INSTRUCTIONS:"Please use 32 characters at maximum.",ORGANIZATION_SLUG:"Slug URL",ORGANIZATION_SLUG_DESCRIPTION:"This is your organization's URL namespace.",ORGANIZATION_SLUG_INSTRUCTIONS:"Please use 48 characters at maximum.",ORGANIZATION_SLUG_PLACEHOLDER:"acme-inc",CREATE_ORGANIZATION_SUCCESS:"Organization created successfully",PASSWORD:"Password",PASSWORD_PLACEHOLDER:"Password",PASSWORD_REQUIRED:"Password is required",PASSWORDS_DO_NOT_MATCH:"Passwords do not match",PROVIDERS:"Providers",PROVIDERS_DESCRIPTION:"Connect your account with a third-party service.",RECOVER_ACCOUNT:"Recover Account",RECOVER_ACCOUNT_ACTION:"Recover account",RECOVER_ACCOUNT_DESCRIPTION:"Please enter a backup code to access your account",REMEMBER_ME:"Remember me",RESEND_CODE:"Resend code",RESEND_VERIFICATION_EMAIL:"Resend Verification Email",RESET_PASSWORD:"Reset Password",RESET_PASSWORD_ACTION:"Save new password",RESET_PASSWORD_DESCRIPTION:"Enter your new password below",RESET_PASSWORD_SUCCESS:"Password reset successfully",REQUEST_FAILED:"Request failed",REVOKE:"Revoke",DELETE_API_KEY:"Delete API Key",DELETE_API_KEY_CONFIRM:"Are you sure you want to delete this API key?",API_KEY:"API Key",SIGN_IN:"Sign In",SIGN_IN_ACTION:"Login",SIGN_IN_DESCRIPTION:"Enter your email below to login to your account",SIGN_IN_USERNAME_DESCRIPTION:"Enter your username or email to login to your account",SIGN_IN_WITH:"Sign in with",SIGN_OUT:"Sign Out",SIGN_UP:"Sign Up",SIGN_UP_ACTION:"Create an account",SIGN_UP_DESCRIPTION:"Enter your information to create an account",SIGN_UP_EMAIL:"Check your email for the verification link.",SESSIONS:"Sessions",SESSIONS_DESCRIPTION:"Manage your active sessions and revoke access.",SET_PASSWORD:"Set Password",SET_PASSWORD_DESCRIPTION:"Click the button below to receive an email to set up a password for your account.",SETTINGS:"Settings",SAVE:"Save",SECURITY:"Security",SWITCH_ACCOUNT:"Switch Account",TRUST_DEVICE:"Trust this device",TWO_FACTOR:"Two-Factor",TWO_FACTOR_ACTION:"Verify code",TWO_FACTOR_DESCRIPTION:"Please enter your one-time password to continue",TWO_FACTOR_CARD_DESCRIPTION:"Add an extra layer of security to your account.",TWO_FACTOR_DISABLE_INSTRUCTIONS:"Please enter your password to disable 2FA.",TWO_FACTOR_ENABLE_INSTRUCTIONS:"Please enter your password to enable 2FA.",TWO_FACTOR_ENABLED:"Two-factor authentication has been enabled",TWO_FACTOR_DISABLED:"Two-Factor Authentication has been disabled",TWO_FACTOR_PROMPT:"Two-Factor Authentication",TWO_FACTOR_TOTP_LABEL:"Scan the QR Code with your Authenticator",SEND_VERIFICATION_CODE:"Send verification code",UNLINK:"Unlink",UPDATED_SUCCESSFULLY:"updated successfully",USERNAME:"Username",USERNAME_DESCRIPTION:"Enter the username you want to use to log in.",USERNAME_INSTRUCTIONS:"Please use 32 characters at maximum.",USERNAME_PLACEHOLDER:"Username",OPTIONAL_BRACKETS:"(Optional)",SIGN_IN_USERNAME_PLACEHOLDER:"Username or email",VERIFY_YOUR_EMAIL:"Verify Your Email",VERIFY_YOUR_EMAIL_DESCRIPTION:"Please verify your email address. Check your inbox for the verification email. If you haven't received the email, click the button below to resend.",GO_BACK:"Go back",SESSION_NOT_FRESH:"Your session is not fresh. Please sign in again.",UPLOAD_AVATAR:"Upload Avatar",LOGO:"Logo",LOGO_DESCRIPTION:"Click on the logo to upload a custom one from your files.",LOGO_INSTRUCTIONS:"A logo is optional but strongly recommended.",UPLOAD:"Upload",UPLOAD_LOGO:"Upload Logo",DELETE_LOGO:"Delete Logo",PRIVACY_POLICY:"Privacy Policy",TERMS_OF_SERVICE:"Terms of Service",PROTECTED_BY_RECAPTCHA:"This site is protected by reCAPTCHA.",BY_CONTINUING_YOU_AGREE:"By continuing, you agree to the",USER:"User",ORGANIZATIONS:"Organizations",ORGANIZATIONS_DESCRIPTION:"Manage your organizations and memberships.",ORGANIZATIONS_INSTRUCTIONS:"Create an organization to collaborate with other users.",LEAVE_ORGANIZATION:"Leave Organization",LEAVE_ORGANIZATION_CONFIRM:"Are you sure you want to leave this organization?",LEAVE_ORGANIZATION_SUCCESS:"You have successfully left the organization.",MANAGE_ORGANIZATION:"Manage Organization",REMOVE_MEMBER:"Remove Member",REMOVE_MEMBER_CONFIRM:"Are you sure you want to remove this member from the organization?",REMOVE_MEMBER_SUCCESS:"Member removed successfully",INVITE_MEMBER:"Invite Member",MEMBERS:"Members",MEMBERS_DESCRIPTION:"Add or remove members and manage their roles.",MEMBERS_INSTRUCTIONS:"Invite new members to your organization.",INVITE_MEMBER_DESCRIPTION:"Send an invitation to add a new member to your organization.",ROLE:"Role",SELECT_ROLE:"Select a role",ADMIN:"Admin",MEMBER:"Member",GUEST:"Guest",OWNER:"Owner",UPDATE_ROLE_DESCRIPTION:"Update the role for this member",UPDATE_ROLE:"Update Role",MEMBER_ROLE_UPDATED:"Member role updated successfully",SEND_INVITATION:"Send Invitation",SEND_INVITATION_SUCCESS:"Invitation sent successfully",PENDING_INVITATIONS:"Pending Invitations",PENDING_INVITATIONS_DESCRIPTION:"Manage pending invitations to your organization.",PENDING_USER_INVITATIONS_DESCRIPTION:"Invitations you've received from organizations.",CANCEL_INVITATION:"Cancel Invitation",INVITATION_CANCELLED:"Invitation cancelled successfully",ACCEPT_INVITATION:"Accept Invitation",ACCEPT_INVITATION_DESCRIPTION:"You have been invited to join an organization.",INVITATION_ACCEPTED:"Invitation accepted successfully",INVITATION_REJECTED:"Invitation rejected successfully",ACCEPT:"Accept",REJECT:"Reject",INVITATION_EXPIRED:"This invitation has expired",DELETE_ORGANIZATION:"Delete Organization",DELETE_ORGANIZATION_DESCRIPTION:"Permanently remove your organization and all of its contents. This action is not reversible — please continue with caution.",DELETE_ORGANIZATION_SUCCESS:"Organization deleted successfully",DELETE_ORGANIZATION_INSTRUCTIONS:"Enter the organization slug to continue:",SLUG_REQUIRED:"Organization slug is required",SLUG_DOES_NOT_MATCH:"The slug does not match",TEAM:"Team",TEAMS:"Teams",TEAM_ACTIVE:"Active",TEAM_SET_ACTIVE:"Set Active",CREATE_TEAM:"Create Team",CREATE_TEAM_SUCCESS:"Team created successfully",UPDATE_TEAM:"Update Team",UPDATE_TEAMS:"Update Teams",SELECT_TEAMS:"Select teams",ADD:"Add",REMOVE:"Remove",UPDATE_TEAM_DESCRIPTION:"Update the name for this team",UPDATE_TEAMS_DESCRIPTION:"Add or remove teams for this member",REMOVE_TEAM_CONFIRM:"Are you sure you want to remove this team from the organization?",CREATE_TEAM_INSTRUCTIONS:"Add new team to your organization.",TEAM_NAME:"Team Name",TEAM_NAME_PLACEHOLDER:"Engineering Team",TEAM_NAME_DESCRIPTION:"This is your team's visible name.",TEAM_NAME_INSTRUCTIONS:"Please use 64 characters at maximum.",TEAMS_DESCRIPTION:"Manage your teams within your organization.",USER_TEAMS_DESCRIPTION:"You are a member of the following teams.",DELETE_TEAM:"Delete Team",DELETE_TEAM_DESCRIPTION:"Permanently remove this team and all of its contents.",DELETE_TEAM_SUCCESS:"Team deleted successfully",DELETE_TEAM_INSTRUCTIONS:"Enter the team name to continue:",TEAM_NAME_REQUIRED:"Team name is required",TEAM_NAME_DOES_NOT_MATCH:"The team name does not match",TEAM_MEMBERS:"Team Members",TEAM_MEMBERS_DESCRIPTION:"Manage your team members and their roles.",ADD_TEAM_MEMBER:"Add Team Member",REMOVE_TEAM_MEMBER:"Remove Team Member",REMOVE_TEAM_MEMBER_CONFIRM:"Are you sure you want to remove this member from the team?",REMOVE_TEAM_MEMBER_SUCCESS:"Team member removed successfully",ADD_TEAM_MEMBER_SUCCESS:"Team member added successfully",UPDATE_TEAM_SUCCESS:"Team updated successfully",MANAGE_TEAM_MEMBERS:"Manage Team Members",MANAGE_TEAM_MEMBERS_DESCRIPTION:"Search and add organization members to this team.",NO_TEAMS_FOUND:"No teams found",MEMBER_SINGULAR:"member",MEMBER_PLURAL:"members",UNKNOWN:"Unknown",...gde,...pde,...mde,...hde,...bde,...yde,...Sde,...wde,...Tde,...xde,..._de,...kde,...Cde,...Pde,...Ede,...Ade},Dde={CALLBACK:"callback",EMAIL_OTP:"email-otp",EMAIL_VERIFICATION:"email-verification",FORGOT_PASSWORD:"forgot-password",MAGIC_LINK:"magic-link",RECOVER_ACCOUNT:"recover-account",RESET_PASSWORD:"reset-password",SIGN_IN:"sign-in",SIGN_OUT:"sign-out",SIGN_UP:"sign-up",TWO_FACTOR:"two-factor",ACCEPT_INVITATION:"accept-invitation"},XO={SETTINGS:"settings",SECURITY:"security",TEAMS:"teams",API_KEYS:"api-keys",ORGANIZATIONS:"organizations"},e2={SETTINGS:"settings",MEMBERS:"members",TEAMS:"teams",API_KEYS:"api-keys"};const P3=A.createContext({});function E3(){return A.useContext(P3)}var j0,t2;function Ode(){if(t2)return j0;t2=1;var e=function(){};return j0=e,j0}var Mde=Ode();const Nde=Ol(Mde);function Ide({async:e,appendTo:t,defer:o,id:a,nonce:n,src:i}){const l=document.createElement("script");e!==void 0&&(l.async=e),o!==void 0&&(l.defer=o),a&&(l.id=a),n&&l.setAttribute("nonce",n),l.src=i,(t==="head"?document.head:document.body).appendChild(l)}var Lde=function(e,t){var o={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(o[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(e);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(o[a[n]]=e[a[n]]);return o};let hp=null,Fp=!1;const rv=new Set,iv=new Set,Bde=typeof window<"u",dd="___grecaptcha_cfg",A3=`onLoadCallback_${Math.random().toString(36).slice(2)}`;function Fde(){if(!Bde)return;function e(o){if(Fp)o();else{window[dd]||(window[dd]={});const a=window[dd];a.fns||(a.fns=[]),a.fns.push(o)}}window.grecaptcha||(window.grecaptcha={}),window.grecaptcha.enterprise||(window.grecaptcha.enterprise={}),window.grecaptcha.ready=e,window.grecaptcha.enterprise.ready=e;function t(){Fp=!0;for(const o of iv)o();iv.clear()}window[A3]=t}function jde({language:e,onLoadCallbackName:t,render:o,useEnterprise:a=!1,useRecaptchaNet:n=!1}){const i=n?"recaptcha.net":"google.com",l=a?"enterprise.js":"api.js",c=new URLSearchParams({render:o});return t&&c.set("onload",t),e&&c.set("hl",e),`https://www.${i}/recaptcha/${l}?${c.toString()}`}function zde({language:e,render:t,scriptProps:o,useEnterprise:a,useRecaptchaNet:n}){const i={id:"google-recaptcha-v3"},l=jde({language:e,onLoadCallbackName:A3,render:t,useEnterprise:a,useRecaptchaNet:n});if(hp){if(hp!==l)throw new Error("reCAPTCHA has already been loaded with different parameters. Remove the existing script and load it again.");return}hp=l,Ide(Object.assign(Object.assign(Object.assign({},i),o),{src:l}))}function Ude(e){if(!window[dd])return;const t=window[dd];t.clients&&delete t.clients[e]}function qde(e,t){var{onLoadCallback:o,onLoadCallbackName:a}=t,n=Lde(t,["onLoadCallback","onLoadCallbackName"]);if(rv.size===0&&Fde(),zde(n),rv.add(e),o&&(Fp?o():iv.add(o)),a){let i=function(){if(!a)return;const l=window[a];typeof l=="function"&&l()};Fp?i():iv.add(i)}}function $de(e){var t,o,a;rv.delete(e),rv.size===0&&(window.grecaptcha=void 0,window[dd]=void 0,(t=document.querySelector(".grecaptcha-badge"))===null||t===void 0||t.remove(),(o=document.querySelector(`script[src="${hp}"]`))===null||o===void 0||o.remove(),(a=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]'))===null||a===void 0||a.remove(),hp=null,Fp=!1)}let o2=!1;function Vde({container:e,children:t,language:o,reCaptchaKey:a,scriptProps:n,useEnterprise:i,useRecaptchaNet:l}){var c,d,p,m,h,f,v;const b=A.useId(),[S,_]=A.useState(null),[T,x]=A.useState(null),E=A.useRef(!1);A.useEffect(()=>{function D(){var O;const L=i?(O=window.grecaptcha)===null||O===void 0?void 0:O.enterprise:window.grecaptcha;if(!L)throw new Error("reCAPTCHA not found");if(!L.ready)throw new Error("reCAPTCHA ready callback not found");L.ready(()=>{_(L)})}return qde(b,{language:o,onLoadCallback:D,onLoadCallbackName:n?.onLoadCallbackName,render:e?.element?"explicit":a,scriptProps:{appendTo:n?.appendTo,async:n?.async,defer:n?.defer,id:n?.id,nonce:n?.nonce},useEnterprise:i,useRecaptchaNet:l}),()=>{$de(b),_(null)}},[e?.element,b,o,a,n?.appendTo,n?.async,n?.defer,n?.id,n?.nonce,n?.onLoadCallbackName,i,l]),A.useEffect(()=>{var D,O,L;if(!e?.element||!S?.render)return;const q={"error-callback":e.parameters.errorCallback,"expired-callback":e.parameters.expiredCallback,badge:((D=e.parameters)===null||D===void 0?void 0:D.badge)||"inline",callback:e.parameters.callback,sitekey:a,size:"invisible",tabindex:e.parameters.tabindex,theme:e.parameters.theme},B=typeof e?.element=="string"?document.getElementById(e.element):e?.element;if(!B)throw new Error("reCAPTCHA container element not found");const U=S.render(B,q);return!((O=e?.parameters)===null||O===void 0)&&O.hidden&&(o2||(Nde(!1,"reCAPTCHA badge hidden. See https://cloud.google.com/recaptcha/docs/faq#id_like_to_hide_the_badge_what_is_allowed for more information."),o2=!0),(L=B.querySelector(".grecaptcha-badge"))===null||L===void 0||L.style.setProperty("display","none")),x(U),E.current=!0,()=>{x(null),E.current=!1,Ude(U),B.innerHTML=""}},[e?.element,(c=e?.parameters)===null||c===void 0?void 0:c.badge,(d=e?.parameters)===null||d===void 0?void 0:d.hidden,(p=e?.parameters)===null||p===void 0?void 0:p.callback,(m=e?.parameters)===null||m===void 0?void 0:m.errorCallback,(h=e?.parameters)===null||h===void 0?void 0:h.expiredCallback,(f=e?.parameters)===null||f===void 0?void 0:f.tabindex,(v=e?.parameters)===null||v===void 0?void 0:v.theme,S,a]);const C=!!e?.element,P=C?T:a,R=A.useMemo(()=>P!==null&&S?.execute?D=>{if(P===null||!S?.execute)throw new Error("reCAPTCHA has not been loaded");return C&&!E.current?(console.warn("Client ID not mounted"),null):S.execute(P,{action:D})}:void 0,[P,S,C]);return w.jsx(P3.Provider,{value:{container:e?.element,executeRecaptcha:R,reCaptchaInstance:S},children:t})}var Hde=class{cache=new Map;listeners=new Map;inFlightRequests=new Map;get(e){return this.cache.get(e)}set(e,t){const o={data:t,timestamp:Date.now(),isRefetching:!1};this.cache.set(e,o),this.notify(e)}setRefetching(e,t){const o=this.cache.get(e);o&&(o.isRefetching=t,this.notify(e))}clear(e){if(e)this.cache.delete(e),this.inFlightRequests.delete(e),this.notify(e);else{this.cache.clear(),this.inFlightRequests.clear();const t=Array.from(this.listeners.keys());for(const o of t)this.notify(o)}}getInFlightRequest(e){return this.inFlightRequests.get(e)}setInFlightRequest(e,t){this.inFlightRequests.set(e,t)}removeInFlightRequest(e){this.inFlightRequests.delete(e)}subscribe(e,t){return this.listeners.has(e)||this.listeners.set(e,new Set),this.listeners.get(e).add(t),()=>{const o=this.listeners.get(e);o&&(o.delete(t),o.size===0&&this.listeners.delete(e))}}notify(e){const t=this.listeners.get(e);if(t){const o=Array.from(t);for(const a of o)a()}}},Gn=new Hde;function Gde(){return()=>{}}function Bi(){return A.useSyncExternalStore(Gde,()=>!0,()=>!1)}function R3(){const[e,t]=A.useState();return A.useEffect(()=>{const o=()=>{const n=document.documentElement.getAttribute("lang");t(n??void 0)};o();const a=new MutationObserver(n=>{for(const i of n)i.attributeName==="lang"&&o()});return a.observe(document.documentElement,{attributes:!0}),()=>{a.disconnect()}},[]),{lang:e}}function ik(){const[e,t]=A.useState("light");return A.useEffect(()=>{const o=()=>{var n;const i=document.documentElement.classList.contains("dark")||((n=document.documentElement.getAttribute("style"))==null?void 0:n.includes("color-scheme: dark"));t(i?"dark":"light")};o();const a=new MutationObserver(n=>{for(const i of n)(i.attributeName==="style"||i.attributeName==="class")&&o()});return a.observe(document.documentElement,{attributes:!0}),()=>{a.disconnect()}},[]),{theme:e}}function Wde({children:e}){const t=Bi(),{captcha:o}=A.useContext(St);return o?.provider!=="google-recaptcha-v3"?e:w.jsxs(Vde,{reCaptchaKey:o.siteKey,useEnterprise:o.enterprise,useRecaptchaNet:o.recaptchaNet,children:[t&&w.jsx("style",{children:`
168
+ `),h=d;m.length>h;h++){var f=m[h];if(1024>=f.length){var v=aO.test(f)?f.replace(aO,"$1"):f;if(!v.match(/\S*Error: /)){for(var b of i){var S=b(v,a);if(S){p.push(S);break}}if(p.length>=50)break}}}return(function(_){if(!_.length)return[];var T=Array.from(_);return T.reverse(),T.slice(0,50).map((x=>{return Ne({},x,{filename:x.filename||(E=T,E[E.length-1]||{}).filename,function:x.function||xd});var E}))})(p)}})("web:javascript",mre,fre)),this._instance=e,this.fo=(t=(o=this._instance.persistence)==null?void 0:o.get_property(TT))!==null&&t!==void 0?t:[],this.mo=zf(this.yo()),this.bo=new Ere(this.mo)}onConfigChange(){this.mo=zf(this.yo()),this.bo.setConfig(this.mo)}onRemoteConfig(e){var t,o,a;if("errorTracking"in e){var n=(t=(o=e.errorTracking)==null?void 0:o.suppressionRules)!==null&&t!==void 0?t:[],i=(a=e.errorTracking)==null?void 0:a.captureExtensionExceptions;this.fo=n,this._instance.persistence&&this._instance.persistence.register({[TT]:this.fo,[xT]:i})}}get _o(){var e,t=!!this._instance.get_property(xT),o=this._instance.config.error_tracking.captureExtensionExceptions;return(e=o??t)!==null&&e!==void 0&&e}buildProperties(e,t){return this.po.buildFromUnknown(e,{syntheticException:t?.syntheticException,mechanism:{handled:t?.handled}})}addExceptionStep(e,t){if(this.mo.enabled)try{if(!Co(e)||e.trim().length===0)return void wi.warn("Ignoring exception step because message must be a non-empty string");var o=this.wo(t),{sanitizedProperties:a,droppedKeys:n}=(function(i){if(!i)return{sanitizedProperties:{},droppedKeys:[]};var l=[];return{sanitizedProperties:Object.keys(i).reduce(((c,d)=>Pre.has(d)?(l.push(d),c):(c[d]=i[d],c)),{}),droppedKeys:l}})(o);n.length>0&&wi.warn("Ignoring reserved exception step fields",{droppedKeys:n}),this.bo.add(Ne({[Ff]:e,[jf]:new Date().toISOString()},a))}catch(i){wi.error("Failed to add exception step. Ignoring breadcrumb.",i)}}sendExceptionEvent(e){try{var t=e.$exception_list;if(this.Io(t)){if(this.Co(t))return this.So("Exception dropped: matched a suppression rule"),void wi.info("Skipping exception capture because a suppression rule matched");if(!this._o&&this.xo(t))return this.So("Exception dropped: thrown by a browser extension"),void wi.info("Skipping exception capture because it was thrown by an extension");if(!this._instance.config.error_tracking.__capturePostHogExceptions&&this.ko(t))return this.So("Exception dropped: thrown by the PostHog SDK"),void wi.info("Skipping exception capture because it was thrown by the PostHog SDK")}var o=this.mo.enabled&&Ct(e.$exception_steps)?this.To(e):e;try{var a=this._instance.capture("$exception",o,{_noTruncate:!0,_batchKey:"exceptionEvent",en:!0});return a&&this.bo.clear(),a}catch(n){return wi.error("Failed to capture exception event. Dropping this exception.",n),void this.bo.clear()}}catch(n){return void wi.error("Failed to process exception event. Ignoring this exception.",n)}}To(e){try{var t=this.bo.getAttachable();return t.length===0?e:Ne({},e,{$exception_steps:t})}catch(o){return wi.error("Failed to read buffered exception steps. Capturing exception without steps.",o),e}}So(e){this.mo.enabled&&this.bo.add({[Ff]:e,[jf]:new Date().toISOString()})}wo(e){return Bo(e)?Ne({},e):{}}yo(){var e,t;return(e=(t=this._instance.config.error_tracking)==null?void 0:t.exception_steps)!==null&&e!==void 0?e:{}}Co(e){if(e.length===0)return!1;var t=e.reduce(((o,a)=>{var{type:n,value:i}=a;return Co(n)&&n.length>0&&o.$exception_types.push(n),Co(i)&&i.length>0&&o.$exception_values.push(i),o}),{$exception_types:[],$exception_values:[]});return this.fo.some((o=>{var a=o.values.map((n=>{var i,l=jj[n.operator],c=It(n.value)?n.value:[n.value],d=(i=t[n.key])!==null&&i!==void 0?i:[];return c.length>0&&l(c,d)}));return o.type==="OR"?a.some(Boolean):a.every(Boolean)}))}xo(e){return e.flatMap((t=>{var o,a;return(o=(a=t.stacktrace)==null?void 0:a.frames)!==null&&o!==void 0?o:[]})).some((t=>t.filename&&t.filename.startsWith("chrome-extension://")))}ko(e){if(e.length>0){var t,o,a,n,i=(t=(o=e[0].stacktrace)==null?void 0:o.frames)!==null&&t!==void 0?t:[],l=i[i.length-1];return(a=l==null||(n=l.filename)==null?void 0:n.includes("posthog.com/static"))!==null&&a!==void 0&&a}return!1}Io(e){return!Ct(e)&&It(e)}}},Fie=Ne({productTours:class{get ni(){return this._instance.persistence}constructor(e){this.Ao=null,this.Eo=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){"productTours"in e&&(this.ni&&this.ni.register({[kT]:!!e.productTours}),this.loadIfEnabled())}loadIfEnabled(){var e,t;this.Ao||(e=this._instance).config.disable_product_tours||(t=e.persistence)==null||!t.get_property(kT)||this.ur((()=>this.Ro()))}ur(e){var t,o;(t=et.__PosthogExtensions__)!=null&&t.generateProductTours?e():(o=et.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"product-tours",(a=>{a?UO.error("Could not load product tours script",a):e()}))}Ro(){var e;!this.Ao&&(e=et.__PosthogExtensions__)!=null&&e.generateProductTours&&(this.Ao=et.__PosthogExtensions__.generateProductTours(this._instance,!0))}getProductTours(e,t){if(t===void 0&&(t=!1),!It(this.Eo)||t){var o=this.ni;if(o){var a=o.props[nf];if(It(a)&&!t)return this.Eo=a,void e(a,{isLoaded:!0})}this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/product_tours/?token="+this._instance.config.token),method:"GET",callback:n=>{var i=n.statusCode;if(i!==200||!n.json){var l="Product Tours API could not be loaded, status: "+i;return UO.error(l),void e([],{isLoaded:!1,error:l})}var c=It(n.json.product_tours)?n.json.product_tours:[];this.Eo=c,o&&o.register({[nf]:c}),e(c,{isLoaded:!0})}})}else e(this.Eo,{isLoaded:!0})}getActiveProductTours(e){Ct(this.Ao)?e([],{isLoaded:!1,error:"Product tours not loaded"}):this.Ao.getActiveProductTours(e)}showProductTour(e){var t;(t=this.Ao)==null||t.showTourById(e)}previewTour(e){this.Ao?this.Ao.previewTour(e):this.ur((()=>{var t;this.Ro(),(t=this.Ao)==null||t.previewTour(e)}))}dismissProductTour(){var e;(e=this.Ao)==null||e.dismissTour("user_clicked_skip")}nextStep(){var e;(e=this.Ao)==null||e.nextStep()}previousStep(){var e;(e=this.Ao)==null||e.previousStep()}clearCache(){var e;this.Eo=null,(e=this.ni)==null||e.unregister(nf)}resetTour(e){var t;(t=this.Ao)==null||t.resetTour(e)}resetAllTours(){var e;(e=this.Ao)==null||e.resetAllTours()}cancelPendingTour(e){var t;(t=this.Ao)==null||t.cancelPendingTour(e)}}},Hv),jie={siteApps:class{constructor(e){this._instance=e,this.No=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}Mo(e,t){if(t){var o=this.globalsForEvent(t);this.No.push(o),this.No.length>1e3&&(this.No=this.No.slice(10))}}get siteAppLoaders(){var e;return(e=et._POSTHOG_REMOTE_CONFIG)==null||(e=e[this._instance.config.token])==null?void 0:e.siteApps}initialize(){if(this.isEnabled){var e=this._instance._addCaptureHook(this.Mo.bind(this));this.Fo=()=>{e(),this.No=[],this.Fo=void 0}}}globalsForEvent(e){var t,o,a,n,i,l,c;if(!e)throw new Error("Event payload is required");var d={},p=this._instance.get_property("$groups")||[],m=this._instance.get_property("$stored_group_properties")||{};for(var[h,f]of Object.entries(m))d[h]={id:p[h],type:h,properties:f};var{$set_once:v,$set:b}=e;return{event:Ne({},zF(e,Aie),{properties:Ne({},e.properties,b?{$set:Ne({},(t=(o=e.properties)==null?void 0:o.$set)!==null&&t!==void 0?t:{},b)}:{},v?{$set_once:Ne({},(a=(n=e.properties)==null?void 0:n.$set_once)!==null&&a!==void 0?a:{},v)}:{}),elements_chain:(i=(l=e.properties)==null?void 0:l.$elements_chain)!==null&&i!==void 0?i:"",distinct_id:(c=e.properties)==null?void 0:c.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:d}}setupSiteApp(e){var t=this.apps[e.id],o=()=>{var l;!t.errored&&this.No.length&&(ms.info("Processing "+this.No.length+" events for site app with id "+e.id),this.No.forEach((c=>t.processEvent==null?void 0:t.processEvent(c))),t.processedBuffer=!0),Object.values(this.apps).every((c=>c.processedBuffer||c.errored))&&((l=this.Fo)==null||l.call(this))},a=!1,n=l=>{t.errored=!l,t.loaded=!0,ms.info("Site app with id "+e.id+" "+(l?"loaded":"errored")),a&&o()};try{var{processEvent:i}=e.init({posthog:this._instance,callback(l){n(l)}});i&&(t.processEvent=i),a=!0}catch(l){ms.error(qO+e.id,l),n(!1)}if(a&&t.loaded)try{o()}catch(l){ms.error("Error while processing buffered events PostHog app with config id "+e.id,l),t.errored=!0}}Oo(){var e=this.siteAppLoaders||[];for(var t of e)this.apps[t.id]={id:t.id,loaded:!1,errored:!1,processedBuffer:!1};for(var o of e)this.setupSiteApp(o)}Po(e){if(Object.keys(this.apps).length!==0){var t=this.globalsForEvent(e);for(var o of Object.values(this.apps))try{o.processEvent==null||o.processEvent(t)}catch(a){ms.error("Error while processing event "+e.event+" for site app "+o.id,a)}}}onRemoteConfig(e){var t,o,a,n=this;if((t=this.siteAppLoaders)!=null&&t.length)return this.isEnabled?(this.Oo(),void this._instance.on("eventCaptured",(d=>this.Po(d)))):void ms.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if((o=this.Fo)==null||o.call(this),(a=e.siteApps)!=null&&a.length)if(this.isEnabled){var i=function(d){var p;et["__$$ph_site_app_"+d]=n._instance,(p=et.__PosthogExtensions__)==null||p.loadSiteApp==null||p.loadSiteApp(n._instance,c,(m=>{if(m)return ms.error(qO+d,m)}))};for(var{id:l,url:c}of e.siteApps)i(l)}else ms.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}},zie={tracingHeaders:class{constructor(e){this.Lo=void 0,this.Do=void 0,this.so=()=>{var t,o,a=this.Bo()||[];$e(this.Lo)&&((t=et.__PosthogExtensions__)==null||(t=t.tracingHeadersPatchFns)==null||t._patchXHR(a,this._instance.get_distinct_id(),this._instance.sessionManager)),$e(this.Do)&&((o=et.__PosthogExtensions__)==null||(o=o.tracingHeadersPatchFns)==null||o._patchFetch(a,this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=e}initialize(){this.startIfEnabledOrStop()}ur(e){var t,o;(t=et.__PosthogExtensions__)!=null&&t.tracingHeadersPatchFns&&e(),(o=et.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"tracing-headers",(a=>{if(a)return Pie.error("failed to load script",a);e()}))}Bo(){var e;return(e=this._instance.config.addTracingHeaders)!==null&&e!==void 0?e:this._instance.config.__add_tracing_headers}startIfEnabledOrStop(){var e,t;this.Bo()?this.ur(this.so):((e=this.Lo)==null||e.call(this),(t=this.Do)==null||t.call(this),this.Lo=void 0,this.Do=void 0)}}},Uie=Ne({surveys:class{get Bt(){return this._instance.config}constructor(e){this.jo=void 0,this._surveyManager=null,this.$o=!1,this.qo=[],this.Zo=null,this._instance=e,this._surveyEventReceiver=null}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this.Bt.disable_surveys){var t=e.surveys;if(Ct(t))return oo.warn("Flags not loaded yet. Not loading surveys.");var o=It(t);this.jo=o?t.length>0:t,oo.info("flags response received, isSurveysEnabled: "+this.jo),this.loadIfEnabled()}}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var e=[],t=0;t<localStorage.length;t++){var o=localStorage.key(t);(o!=null&&o.startsWith(HT)||o!=null&&o.startsWith("inProgressSurvey_"))&&e.push(o)}e.forEach((a=>localStorage.removeItem(a)))}loadIfEnabled(){if(!this._surveyManager)if(this.$o)oo.info("Already initializing surveys, skipping...");else if(this.Bt.disable_surveys)oo.info($O);else if(this.Bt.cookieless_mode&&this._instance.consent.isOptedOut())oo.info("Not loading surveys in cookieless mode without consent.");else{var e=et?.__PosthogExtensions__;if(e){if(!$e(this.jo)||this.Bt.advanced_enable_surveys){var t=this.jo||this.Bt.advanced_enable_surveys;this.$o=!0;try{var o=e.generateSurveys;if(o)return void this.Vo(o,t);var a=e.loadExternalDependency;if(!a)return void this.Ho(G_);a(this._instance,"surveys",(n=>{n||!e.generateSurveys?this.Ho("Could not load surveys script",n):this.Vo(e.generateSurveys,t)}))}catch(n){throw this.Ho("Error initializing surveys",n),n}finally{this.$o=!1}}}else oo.error("PostHog Extensions not found.")}}Vo(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new Oie(this._instance),oo.info("Surveys loaded successfully"),this.zo({isLoaded:!0})}Ho(e,t){oo.error(e,t),this.zo({isLoaded:!1,error:e})}onSurveysLoaded(e){return this.qo.push(e),this._surveyManager&&this.zo({isLoaded:!0}),()=>{this.qo=this.qo.filter((t=>t!==e))}}getSurveys(e,t){if(t===void 0&&(t=!1),this.Bt.disable_surveys)return oo.info($O),e([]);var o,a=this._instance.get_property(RT);if(a&&!t)return e(a,{isLoaded:!0});typeof Promise<"u"&&this.Zo?this.Zo.then((n=>{var{surveys:i,context:l}=n;return e(i,l)})):(typeof Promise<"u"&&(this.Zo=new Promise((n=>{o=n}))),this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this.Bt.token),method:"GET",timeout:this.Bt.surveys_request_timeout_ms,callback:n=>{var i;this.Zo=null;var l=n.statusCode;if(l!==200||!n.json){var c="Surveys API could not be loaded, status: "+l;oo.error(c);var d={isLoaded:!1,error:c};return e([],d),void(o==null||o({surveys:[],context:d}))}var p,m=n.json.surveys||[],h=m.filter((v=>(function(b){return!(!b.start_date||b.end_date)})(v)&&((function(b){var S;return!((S=b.conditions)==null||(S=S.events)==null||(S=S.values)==null||!S.length)})(v)||(function(b){var S;return!((S=b.conditions)==null||(S=S.actions)==null||(S=S.values)==null||!S.length)})(v))));h.length>0&&((p=this._surveyEventReceiver)==null||p.register(h)),(i=this._instance.persistence)==null||i.register({[RT]:m});var f={isLoaded:!0};e(m,f),o?.({surveys:m,context:f})}}))}zo(e){for(var t of this.qo)try{if(!e.isLoaded)return t([],e);this.getSurveys(t)}catch(o){oo.error("Error in survey callback",o)}}getActiveMatchingSurveys(e,t){if(t===void 0&&(t=!1),!Ct(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);oo.warn("init was not called")}Uo(e){var t=null;return this.getSurveys((o=>{var a;t=(a=o.find((n=>n.id===e)))!==null&&a!==void 0?a:null})),t}Yo(e){if(Ct(this._surveyManager))return{eligible:!1,reason:I0};var t=typeof e=="string"?this.Uo(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(Ct(this._surveyManager))return oo.warn("init was not called"),{visible:!1,disabledReason:I0};var t=this.Yo(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return Ct(this._surveyManager)?(oo.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:I0})):new Promise((o=>{this.getSurveys((a=>{var n,i=(n=a.find((c=>c.id===e)))!==null&&n!==void 0?n:null;if(i){var l=this.Yo(i);o({visible:l.eligible,disabledReason:l.reason})}else o({visible:!1,disabledReason:"Survey not found"})}),t)}))}renderSurvey(e,t,o){var a;if(Ct(this._surveyManager))oo.warn("init was not called");else{var n=typeof e=="string"?this.Uo(e):e;if(n!=null&&n.id)if(pie.includes(n.type)){var i=ze?.querySelector(t);if(i)return(a=n.appearance)!=null&&a.surveyPopupDelaySeconds?(oo.info("Rendering survey "+n.id+" with delay of "+n.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout((()=>{var l,c;oo.info("Rendering survey "+n.id+" with delay of "+((l=n.appearance)==null?void 0:l.surveyPopupDelaySeconds)+" seconds"),(c=this._surveyManager)==null||c.renderSurvey(n,i,o),oo.info("Survey "+n.id+" rendered")}),1e3*n.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(n,i,o);oo.warn("Survey element not found")}else oo.warn("Surveys of type "+n.type+" cannot be rendered in the app");else oo.warn("Survey not found")}}displaySurvey(e,t){var o;if(Ct(this._surveyManager))oo.warn("init was not called");else{var a=this.Uo(e);if(a){var n=a;if((o=a.appearance)!=null&&o.surveyPopupDelaySeconds&&t.ignoreDelay&&(n=Ne({},a,{appearance:Ne({},a.appearance,{surveyPopupDelaySeconds:0})})),t.displayType!==jT.Popover&&t.initialResponses&&oo.warn("initialResponses is only supported for popover surveys. prefill will not be applied."),t.ignoreConditions===!1){var i=this.canRenderSurvey(a);if(!i.visible)return void oo.warn("Survey is not eligible to be displayed: ",i.disabledReason)}t.displayType!==jT.Inline?this._surveyManager.handlePopoverSurvey(n,t):this.renderSurvey(n,t.selector,t.properties)}else oo.warn("Survey not found")}}cancelPendingSurvey(e){Ct(this._surveyManager)?oo.warn("init was not called"):this._surveyManager.cancelSurvey(e)}handlePageUnload(){var e;(e=this._surveyManager)==null||e.handlePageUnload()}}},Hv),qie={toolbar:class{constructor(e){this.instance=e}Go(e){et.ph_toolbar_state=e}Wo(){var e;return(e=et.ph_toolbar_state)!==null&&e!==void 0?e:0}initialize(){return this.maybeLoadToolbar()}maybeLoadToolbar(e,t,o){if(e===void 0&&(e=void 0),t===void 0&&(t=void 0),o===void 0&&(o=void 0),Sj(this.instance.config)||!ge||!ze)return!1;e=e??ge.location,o=o??ge.history;try{if(!t){try{ge.localStorage.setItem("test","test"),ge.localStorage.removeItem("test")}catch{return!1}t=ge?.localStorage}var a,n=Mie||Qf(e.hash,"__posthog")||Qf(e.hash,"state"),i=n?rO((()=>JSON.parse(atob(decodeURIComponent(n)))))||rO((()=>JSON.parse(decodeURIComponent(n)))):null;return i&&i.action==="ph_authorize"?((a=i).source="url",a&&Object.keys(a).length>0&&(i.desiredHash?e.hash=i.desiredHash:o?o.replaceState(o.state,"",e.pathname+e.search):e.hash="")):((a=JSON.parse(t.getItem(VO)||"{}")).source="localstorage",delete a.userIntent),!(!a.token||this.instance.config.token!==a.token||(this.loadToolbar(a),0))}catch{return!1}}Xo(e){var t=et.ph_load_toolbar||et.ph_load_editor;!Ct(t)&&xi(t)?t(e,this.instance):HO.warn("No toolbar load function found")}loadToolbar(e){var t=!(ze==null||!ze.getElementById(fj));if(!ge||t)return!1;var o=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,a=Ne({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},o?{instrument:!1}:{});if(ge.localStorage.setItem(VO,JSON.stringify(Ne({},a,{source:void 0}))),this.Wo()===2)this.Xo(a);else if(this.Wo()===0){var n;this.Go(1),(n=et.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this.instance,"toolbar",(i=>{if(i)return HO.error("[Toolbar] Failed to load",i),void this.Go(0);this.Go(2),this.Xo(a)})),Zo(ge,"turbolinks:load",(()=>{this.Go(0),this.loadToolbar(a)}))}return!0}Jo(e){return this.loadToolbar(e)}maybeLoadEditor(e,t,o){return e===void 0&&(e=void 0),t===void 0&&(t=void 0),o===void 0&&(o=void 0),this.maybeLoadToolbar(e,t,o)}}},$ie=Ne({experiments:Oa},Hv),Vie={conversations:class{constructor(e){this.Ko=void 0,this._conversationsManager=null,this.Qo=!1,this.ea=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this._instance.config.disable_conversations){var t=e.conversations;Ct(t)||(qr(t)?this.Ko=t:(this.Ko=t.enabled,this.ea=t),this.loadIfEnabled())}}reset(){var e;(e=this._conversationsManager)==null||e.reset(),this._conversationsManager=null,this.Ko=void 0,this.ea=null}loadIfEnabled(){if(!(this._conversationsManager||this.Qo||this._instance.config.disable_conversations||Sj(this._instance.config)||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var e=et?.__PosthogExtensions__;if(e&&!$e(this.Ko)&&this.Ko)if(this.ea&&this.ea.token){this.Qo=!0;try{var t=e.initConversations;if(t)return this.ta(t),void(this.Qo=!1);var o=e.loadExternalDependency;if(!o)return void this.ra(G_);o(this._instance,"conversations",(a=>{a||!e.initConversations?this.ra("Could not load conversations script",a):this.ta(e.initConversations),this.Qo=!1}))}catch(a){this.ra("Error initializing conversations",a),this.Qo=!1}}else Hn.error("Conversations enabled but missing token in remote config.")}}ta(e){if(this.ea)try{this._conversationsManager=e(this.ea,this._instance),Hn.info("Conversations loaded successfully")}catch(t){this.ra("Error completing conversations initialization",t)}else Hn.error("Cannot complete initialization: remote config is null")}ra(e,t){Hn.error(e,t),this._conversationsManager=null,this.Qo=!1}show(){this._conversationsManager?this._conversationsManager.show():Hn.warn("Conversations not loaded yet.")}hide(){this._conversationsManager&&this._conversationsManager.hide()}isAvailable(){return this.Ko===!0&&!Ni(this._conversationsManager)}isVisible(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.isVisible())!==null&&e!==void 0&&e}sendMessage(e,t,o){var a=this;return Kn((function*(){return a._conversationsManager?a._conversationsManager.sendMessage(e,t,o):(Hn.warn(pl),null)}))()}getMessages(e,t){var o=this;return Kn((function*(){return o._conversationsManager?o._conversationsManager.getMessages(e,t):(Hn.warn(pl),null)}))()}markAsRead(e){var t=this;return Kn((function*(){return t._conversationsManager?t._conversationsManager.markAsRead(e):(Hn.warn(pl),null)}))()}getTickets(e){var t=this;return Kn((function*(){return t._conversationsManager?t._conversationsManager.getTickets(e):(Hn.warn(pl),null)}))()}requestRestoreLink(e){var t=this;return Kn((function*(){return t._conversationsManager?t._conversationsManager.requestRestoreLink(e):(Hn.warn(pl),null)}))()}restoreFromToken(e){var t=this;return Kn((function*(){return t._conversationsManager?t._conversationsManager.restoreFromToken(e):(Hn.warn(pl),null)}))()}restoreFromUrlToken(){var e=this;return Kn((function*(){return e._conversationsManager?e._conversationsManager.restoreFromUrlToken():(Hn.warn(pl),null)}))()}getCurrentTicketId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getCurrentTicketId())!==null&&e!==void 0?e:null}getWidgetSessionId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getWidgetSessionId())!==null&&e!==void 0?e:null}un(){var e;(e=this._conversationsManager)==null||e.setIdentity()}hn(){var e;(e=this._conversationsManager)==null||e.clearIdentity()}}},Hie={logs:class{constructor(e){var t;this.ia=!1,this.na=!1,this.Gt=wo("[logs]"),this.sa=[],this.oa=0,this.aa=0,this.la=!1,this._instance=e,this._instance&&(t=this._instance.config.logs)!=null&&t.captureConsoleLogs&&(this.ia=!0)}initialize(){this.loadIfEnabled()}onRemoteConfig(e){var t,o=(t=e.logs)==null?void 0:t.captureConsoleLogs;!Ct(o)&&o&&(this.ia=!0,this.loadIfEnabled())}reset(){this.sa=[],this.jr&&(clearTimeout(this.jr),this.jr=void 0),this.oa=0,this.aa=0,this.la=!1}loadIfEnabled(){if(this.ia&&!this.na){var e=et?.__PosthogExtensions__;if(e){var t=e.loadExternalDependency;t?t(this._instance,"logs",(o=>{var a;o||(a=e.logs)==null||!a.initializeLogs?this.Gt.error("Could not load logs script",o):(e.logs.initializeLogs(this._instance),this.na=!0)})):this.Gt.error(G_)}else this.Gt.error("PostHog Extensions not found.")}}captureLog(e){var t,o,a,n,i,l;if(this._instance.is_capturing())if(e&&e.body){var c=(t=(o=this._instance.config.logs)==null?void 0:o.flushIntervalMs)!==null&&t!==void 0?t:3e3,d=(a=(n=this._instance.config.logs)==null?void 0:n.maxLogsPerInterval)!==null&&a!==void 0?a:1e3,p=Date.now();if(c>p-this.aa||(this.aa=p,this.oa=0,this.la=!1),d>this.oa){this.oa++;var m=(function(h,f){var v=h.level||"info",{text:b,number:S}=ij[v]||sre,_=String(Date.now())+"000000",T={};f.distinctId&&(T.posthogDistinctId=f.distinctId),f.sessionId&&(T.sessionId=f.sessionId),f.currentUrl&&(T["url.full"]=f.currentUrl),f.screenName&&(T["screen.name"]=f.screenName),f.appState&&(T["app.state"]=f.appState),f.activeFeatureFlags&&f.activeFeatureFlags.length>0&&(T.feature_flags=f.activeFeatureFlags);var x=Ne({},T,h.attributes||{}),E={timeUnixNano:_,observedTimeUnixNano:_,severityNumber:S,severityText:b,body:{stringValue:h.body},attributes:oO(x)};return h.trace_id&&(E.traceId=h.trace_id),h.span_id&&(E.spanId=h.span_id),$e(h.trace_flags)||(E.flags=h.trace_flags),E})(e,this.ua());this.sa.push({record:m}),((i=(l=this._instance.config.logs)==null?void 0:l.maxBufferSize)!==null&&i!==void 0?i:100)>this.sa.length?this.ha():this.flushLogs()}else this.la||(this.Gt.warn("captureLog dropping logs: exceeded "+d+" logs per "+c+"ms"),this.la=!0)}else this.Gt.warn("captureLog requires a body")}get logger(){return this.ca||(this.ca={trace:(e,t)=>this.captureLog({body:e,level:"trace",attributes:t}),debug:(e,t)=>this.captureLog({body:e,level:"debug",attributes:t}),info:(e,t)=>this.captureLog({body:e,level:"info",attributes:t}),warn:(e,t)=>this.captureLog({body:e,level:"warn",attributes:t}),error:(e,t)=>this.captureLog({body:e,level:"error",attributes:t}),fatal:(e,t)=>this.captureLog({body:e,level:"fatal",attributes:t})}),this.ca}flushLogs(e){if(this.jr&&(clearTimeout(this.jr),this.jr=void 0),this.sa.length!==0){var t=this.sa;this.sa=[];var o=this._instance.config.logs,a=Ne({"service.name":o?.serviceName||"unknown_service"},o?.environment&&{"deployment.environment":o.environment},o?.serviceVersion&&{"service.version":o.serviceVersion},o?.resourceAttributes),n=(function(l,c,d,p){return{resourceLogs:[{resource:{attributes:oO(c)},scopeLogs:[{scope:{name:d,version:p},logRecords:l}]}]}})(t.map((l=>l.record)),a,Ga.LIB_NAME,Ga.LIB_VERSION),i=this._instance.requestRouter.endpointFor("api","/i/v1/logs")+"?token="+encodeURIComponent(this._instance.config.token);this._instance.Vi({method:"POST",url:i,data:n,compression:"best-available",batchKey:"logs",transport:e})}}ha(){var e,t;this.jr||(this.jr=setTimeout((()=>{this.jr=void 0,this.flushLogs()}),(e=(t=this._instance.config.logs)==null?void 0:t.flushIntervalMs)!==null&&e!==void 0?e:3e3))}ua(){var e,t={};if(t.distinctId=this._instance.get_distinct_id(),this._instance.sessionManager){var{sessionId:o}=this._instance.sessionManager.checkAndGetSessionAndWindowId(!0);t.sessionId=o}if(et!=null&&(e=et.location)!=null&&e.href&&(t.currentUrl=et.location.href),this._instance.featureFlags){var a=this._instance.featureFlags.getFlags();a&&a.length>0&&(t.activeFeatureFlags=a)}return t}}},Gie=Ne({},Hv,Iie,Lie,Bie,Fie,jie,Uie,zie,qie,$ie,Vie,Hie);Yn.__defaultExtensionClasses=Ne({},Gie);var YO,Ii=(YO=pp[Yc]=new Yn,(function(){function e(){e.done||(e.done=!0,qj=!1,go(pp,(function(t){t._dom_loaded()})))}ze!=null&&ze.addEventListener?ze.readyState==="complete"?e():Zo(ze,"DOMContentLoaded",e,{capture:!1}):ge&&Ue.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")})(),YO);const Wie="studio-ui-resources",ov="html",Kie=10080*60*1e3,Yie=50,Zie=16*1024*1024;function Qie(e){return e[0]==="mcp"&&e[1]===$I}function Gv(){return new Promise((e,t)=>{const o=indexedDB.open(Wie,1);o.onupgradeneeded=()=>{o.result.objectStoreNames.contains(ov)||o.result.createObjectStore(ov)},o.onsuccess=()=>e(o.result),o.onerror=()=>t(o.error)})}function Cd(e,t){return e.transaction(ov,t).objectStore(ov)}function ZT(e){return new Promise((t,o)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>o(e.error)})}async function Jie(e){if(!(typeof indexedDB>"u"))try{const t=await Gv(),o=Cd(t,"readonly"),a=await ZT(o.getAllKeys()),n=await ZT(o.getAll()),i=Date.now(),l=a.map((p,m)=>({key:p,value:n[m]})).sort((p,m)=>(m.value?.updatedAt??0)-(p.value?.updatedAt??0)),c=[];let d=0;for(const{key:p,value:m}of l){if(!m||i-m.updatedAt>Kie||d>=Yie){c.push(p);continue}d++;try{const f=JSON.parse(String(p));e.getQueryData(f)===void 0&&e.setQueryData(f,m.html,{updatedAt:0})}catch{c.push(p)}}if(c.length>0){const p=Cd(t,"readwrite");for(const m of c)p.delete(m)}}catch{}}function Xie(e){if(typeof indexedDB>"u")return()=>{};const t=Gv().catch(()=>null);return e.getQueryCache().subscribe(o=>{const a=o.query;if(!Array.isArray(a.queryKey)||!Qie(a.queryKey)||a.state.status!=="success")return;const n=a.state.data;typeof n!="string"||n.length>Zie||t.then(i=>{if(i)try{Cd(i,"readwrite").put({html:n,updatedAt:Date.now()},JSON.stringify(a.queryKey))}catch{}})})}function ese(){typeof indexedDB>"u"||Gv().then(e=>Cd(e,"readwrite").clear()).catch(()=>{})}async function ebe(e){if(!(typeof indexedDB>"u"))try{const t=await Gv(),o=await ZT(Cd(t,"readonly").getAllKeys()),a=Cd(t,"readwrite");for(const n of o)try{const i=JSON.parse(String(n));i[1]===$I&&i[3]===e&&a.delete(n)}catch{}}catch{}}const av="studio:rq-cache",X_=1440*60*1e3,tse=1e3,ose=new Set(["publicConfig","ai-provider-keys","organization-settings","home-next-actions"]),ase=new Set(["VIRTUAL_MCP","CONNECTIONS"]);let Qj=!1,Jj=!1;function nse(e){const t=e[0];return typeof t=="string"&&ose.has(t)?!0:e[3]==="collection"&&typeof e[4]=="string"&&ase.has(e[4])}function rse(e){if(!(typeof window>"u"))try{const t=window.localStorage.getItem(av);if(!t)return;const o=JSON.parse(t),a=!o.timestamp||Date.now()-o.timestamp>X_;if(o.buster!=="4.507.0"||a||!o.state){window.localStorage.removeItem(av);return}cq(e,o.state),e.invalidateQueries({queryKey:On.publicConfig(),refetchType:"none"}),Qj=!0}catch{cse()}}function ise(e){if(typeof window>"u")return()=>{};let t=null;const o=()=>{t=null;try{const i=lq(e,{shouldDehydrateQuery:l=>l.state.status==="success"&&nse(l.queryKey)});window.localStorage.setItem(av,JSON.stringify({buster:"4.507.0",timestamp:Date.now(),state:i}))}catch{}},a=e.getQueryCache().subscribe(()=>{t==null&&(t=setTimeout(o,tse))}),n=()=>{t!=null&&(clearTimeout(t),o())};return window.addEventListener("pagehide",n),()=>{t!=null&&clearTimeout(t),window.removeEventListener("pagehide",n),a()}}const Xj="studio:org-cache:",sse=20;function lse(e){const t=Date.now(),o=Object.entries(e).filter(([,a])=>t-a.updatedAt<=X_);for(o.sort(([,a],[,n])=>a.updatedAt-n.updatedAt);o.length>sse;)o.shift();return Object.fromEntries(o)}function e3(e){return`${Xj}${e}`}function tbe(e,t){if(typeof window>"u")return null;try{const o=window.localStorage.getItem(e3(e));if(!o)return null;const a=JSON.parse(o)[t];return!a||Date.now()-a.updatedAt>X_?null:(Jj=!0,a)}catch{return null}}function obe(e,t,o){if(!(typeof window>"u"))try{const a=e3(e),n=window.localStorage.getItem(a),i=n?JSON.parse(n):{};i[t]={data:o,updatedAt:Date.now()},window.localStorage.setItem(a,JSON.stringify(lse(i)))}catch{}}function cse(){if(ese(),!(typeof window>"u"))try{window.localStorage.removeItem(av);for(let e=window.localStorage.length-1;e>=0;e--){const t=window.localStorage.key(e);t?.startsWith(Xj)&&window.localStorage.removeItem(t)}}catch{}}function dse(){return Qj}function use(){return Jj}let Ri=!1,QT=null,ZO=!1;const ek="studio:lp-distinct-id",t3="mesh:lp-distinct-id",B0="/api/_reports/link-token/",pse=1440*60*1e3;function o3(e){const t="https://analytics.invalid",o=/^[a-z][a-z\d+.-]*:\/\//i.test(e),a=e.startsWith("//");try{const n=new URL(e,t);let i=!1;for(const l of["key","d"])n.searchParams.has(l)&&(n.searchParams.delete(l),i=!0);return n.pathname.startsWith(B0)&&n.pathname!==B0&&(n.pathname=`${B0}redacted`,i=!0),i?o?n.toString():a?`//${n.host}${n.pathname}${n.search}${n.hash}`:`${n.pathname}${n.search}${n.hash}`:e}catch{return e}}function F0(e){return Object.fromEntries(Object.entries(e).map(([t,o])=>[t,typeof o=="string"?o3(o):o]))}const mse=e=>e?(e.properties=F0(e.properties),e.$set&&(e.$set=F0(e.$set)),e.$set_once&&(e.$set_once=F0(e.$set_once)),e):null;function a3(){try{const e=window.localStorage.getItem(ek)??window.localStorage.getItem(t3);if(!e)return;const{id:t,ts:o}=JSON.parse(e);return typeof t!="string"||!t||typeof o!="number"?void 0:Date.now()-o<=pse?t:void 0}catch{return}}function hse(){try{window.localStorage.removeItem(ek),window.localStorage.removeItem(t3)}catch{}}function gse(){try{const e=new URL(window.location.href),t=e.searchParams.get("ph_did");t&&(window.localStorage.setItem(ek,JSON.stringify({id:t,ts:Date.now()})),e.searchParams.delete("ph_did"),window.history.replaceState(window.history.state,"",e.toString()));const o=t??a3();return o?Object.keys(window.localStorage).some(n=>n.startsWith("ph_")&&n.endsWith("_posthog"))?void 0:o:void 0}catch{return}}function fse(e){const t=a3();if(t&&(hse(),t!==e))try{Ii.alias(t)}catch{}}function vse(e,t){if(Ri||typeof window>"u")return;const o=gse();Ii.init(e,{api_host:t,ui_host:"https://us.posthog.com",cross_subdomain_cookie:!0,...o?{bootstrap:{distinctID:o}}:{},capture_pageview:"history_change",capture_pageleave:!0,autocapture:!0,before_send:mse,capture_performance:{web_vitals:!0,network_timing:!0},capture_exceptions:!0,session_recording:{maskAllInputs:!0,blockClass:"ph-no-capture",maskCapturedNetworkRequestFn:a=>({...a,...typeof a.name=="string"?{name:o3(a.name)}:{}})},person_profiles:"identified_only"}),Ri=!0}function bse(e,t){Ri&&(Ii.identify(e,t),fse(e))}function yse(){Ri&&(Ii.reset(),QT=null)}function n3(e,t){Ri&&Ii.capture(e,t)}function abe(){return Ri}function nbe(){if(!Ri||ZO||typeof performance>"u")return;ZO=!0;const e=performance.getEntriesByType("navigation")[0],t=o=>{const a=performance.getEntriesByName(o,"measure")[0];return a?Math.round(a.duration):void 0};n3("perf_app_bootstrap",{nav_type:e?.type,ttfb_ms:e?Math.round(e.responseStart):void 0,dom_interactive_ms:e?Math.round(e.domInteractive):void 0,dom_content_loaded_ms:e?Math.round(e.domContentLoadedEventEnd):void 0,config_fetch_ms:t("studio:config-fetch"),active_org_fetch_ms:t("studio:active-org-fetch"),time_to_shell_ms:Math.round(performance.now()),cache_restored:dse(),org_cache_restored:use()})}function rbe(e,t){Ri&&e!==QT&&(Ii.group("organization",e,t),QT=e)}function r3(e,t){if(Ri)try{Ii.captureException(e,t)}catch{}}const Sse=["radial-gradient(ellipse 85% 85% at 0% 0%, rgba(165,149,255,0.6) 0%, transparent 72%)","radial-gradient(ellipse 85% 85% at 100% 100%, rgba(208,236,26,0.52) 0%, transparent 72%)","radial-gradient(ellipse 85% 85% at 0% 100%, rgba(255,193,22,0.48) 0%, transparent 72%)"].join(", ");function wse(e){const t=Re.c(3),{children:o}=e;let a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a=w.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:Sse}}),t[0]=a):a=t[0];let n;return t[1]!==o?(n=w.jsxs("div",{className:"relative flex items-center justify-center min-h-screen bg-background overflow-hidden",children:[a,w.jsx("div",{className:"relative flex flex-col items-center text-center space-y-4 max-w-sm px-6",children:o})]}),t[1]=o,t[2]=n):n=t[2],n}function i3(e){const t=Re.c(20),{orgName:o}=e,a=ar(),n=Tse;let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=w.jsx("div",{className:"bg-muted p-3 rounded-full","aria-hidden":"true",children:w.jsx(yF,{className:"h-6 w-6 text-muted-foreground"})}),t[0]=i):i=t[0];let l;t[1]!==a?(l=a("common.archivedOrgScreen.orgUnavailable"),t[1]=a,t[2]=l):l=t[2];let c;t[3]!==l?(c=w.jsx("h3",{className:"text-lg font-medium",children:l}),t[3]=l,t[4]=c):c=t[4];let d;t[5]!==o||t[6]!==a?(d=o?a("common.archivedOrgScreen.deletedWithName",{orgName:o}):a("common.archivedOrgScreen.deletedGeneric"),t[5]=o,t[6]=a,t[7]=d):d=t[7];let p;t[8]!==d?(p=w.jsx("p",{className:"text-sm text-muted-foreground",children:d}),t[8]=d,t[9]=p):p=t[9];let m;t[10]!==c||t[11]!==p?(m=w.jsxs("div",{className:"space-y-2",children:[c,p]}),t[10]=c,t[11]=p,t[12]=m):m=t[12];let h;t[13]!==a?(h=a("common.goHome"),t[13]=a,t[14]=h):h=t[14];let f;t[15]!==h?(f=w.jsx(Ai,{onClick:n,children:h}),t[15]=h,t[16]=f):f=t[16];let v;return t[17]!==m||t[18]!==f?(v=w.jsxs(wse,{children:[i,m,f]}),t[17]=m,t[18]=f,t[19]=v):v=t[19],v}function Tse(){window.location.href="/"}function xse(){const e=Re.c(3);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={from:"/shell/$org"},e[0]=t):t=e[0];const{org:o}=Up(t);let a;return e[1]!==o?(a=w.jsx(Ai,{variant:"outline",size:"sm",asChild:!0,children:w.jsx(Ml,{to:"/$org/settings/profile",params:{org:o},children:"Go to your profile"})}),e[1]=o,e[2]=a):a=e[2],a}function _se(e){const t=Re.c(13),{area:o,description:a,action:n}=e,i=o?`No access to ${o}`:"No access",l=a??"Your role doesn't include permission for this section. Ask an organization admin to update your role if you need it.";let c;t[0]===Symbol.for("react.memo_cache_sentinel")?(c=w.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted text-muted-foreground",children:w.jsx(EF,{size:28})}),t[0]=c):c=t[0];let d;t[1]!==i?(d=w.jsx("h3",{className:"text-lg font-medium",children:i}),t[1]=i,t[2]=d):d=t[2];let p;t[3]!==l?(p=w.jsx("p",{className:"mx-auto max-w-sm text-sm text-muted-foreground",children:l}),t[3]=l,t[4]=p):p=t[4];let m;t[5]!==d||t[6]!==p?(m=w.jsxs("div",{className:"space-y-1",children:[d,p]}),t[5]=d,t[6]=p,t[7]=m):m=t[7];let h;t[8]!==n?(h=n??w.jsx(xse,{}),t[8]=n,t[9]=h):h=t[9];let f;return t[10]!==m||t[11]!==h?(f=w.jsxs("div",{className:"flex h-full min-h-[60vh] flex-1 flex-col items-center justify-center gap-4 p-6 text-center",children:[c,m,h]}),t[10]=m,t[11]=h,t[12]=f):f=t[12],f}const QO="__studio_chunk_reload_ts";function s3(e){return e?.message===aQ}function kse(e){return!!e?.message?.includes("Access denied")}function JO(e){if(!e)return!1;const t=e.message||"";return t.includes("Failed to fetch dynamically imported module")||t.includes("Importing a module script failed")||t.includes("error loading dynamically imported module")||t.includes("Failed to fetch")&&e.name==="TypeError"}class Cse extends A.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,o){console.error("Uncaught error:",t,o),r3(t,{boundary:"default",error_name:t.name,error_message:t.message,component_stack:o.componentStack??null,route:typeof window<"u"?window.location.pathname:null})}resetError=()=>{this.setState({hasError:!1,error:null})};render(){if(this.state.hasError){const{fallback:t,t:o}=this.props;return typeof t=="function"?t({error:this.state.error,resetError:this.resetError}):t!==void 0?t:s3(this.state.error)?w.jsx(i3,{}):kse(this.state.error)?w.jsx(_se,{}):w.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[w.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:w.jsx(B_,{className:"h-6 w-6 text-destructive"})}),w.jsxs("div",{className:"space-y-2",children:[w.jsx("h3",{className:"text-lg font-medium",children:o("common.errorBoundary.somethingWentWrong")}),w.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||o("common.errorBoundary.unexpectedError")})]}),w.jsx(Ai,{variant:"outline",onClick:this.resetError,children:o("common.errorBoundary.tryAgain")})]})}return this.props.children}}function Pse(e){const t=Re.c(3),o=ar();let a;return t[0]!==e||t[1]!==o?(a=w.jsx(Cse,{...e,t:o}),t[0]=e,t[1]=o,t[2]=a):a=t[2],a}class Ese extends A.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,o){console.error("Uncaught error:",t,o);const a=JO(t);if(r3(t,{boundary:"chunk_root",is_chunk_load_error:a,error_name:t.name,error_message:t.message,component_stack:o.componentStack??null,route:typeof window<"u"?window.location.pathname:null}),!a)return;const n=sessionStorage.getItem(QO),i=Date.now();(!n||i-Number(n)>1e4)&&(sessionStorage.setItem(QO,String(i)),window.location.reload())}render(){const{t}=this.props;return this.state.hasError&&JO(this.state.error)?w.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[w.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:w.jsx(AF,{className:"h-6 w-6 text-primary"})}),w.jsxs("div",{className:"space-y-2",children:[w.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.newVersionAvailable")}),w.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:t("common.errorBoundary.newVersionDeployed")})]}),w.jsx(Ai,{onClick:()=>window.location.reload(),children:t("common.errorBoundary.refresh")})]}):this.state.hasError?s3(this.state.error)?w.jsx(i3,{}):w.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[w.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:w.jsx(B_,{className:"h-6 w-6 text-destructive"})}),w.jsxs("div",{className:"space-y-2",children:[w.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.somethingWentWrong")}),w.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||t("common.errorBoundary.unexpectedError")})]}),w.jsx(Ai,{variant:"outline",onClick:()=>this.setState({hasError:!1,error:null}),children:t("common.errorBoundary.tryAgain")})]}):this.props.children}}function Ase(e){const t=Re.c(3),o=ar();let a;return t[0]!==e||t[1]!==o?(a=w.jsx(Ese,{...e,t:o}),t[0]=e,t[1]=o,t[2]=a):a=t[2],a}function Rse(e){const t=Re.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=gt("surface flex flex-col gap-6",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx("div",{"data-slot":"card",className:n,...a}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function ibe(e){const t=Re.c(4);let o;t[0]!==e?({...o}=e,t[0]=e,t[1]=o):o=t[1];let a;return t[2]!==o?(a=w.jsx("div",{"data-slot":"card-content",...o}),t[2]=o,t[3]=a):a=t[3],a}function sbe(e){const t=Re.c(12),{title:o,description:a,docsHref:n,actions:i,className:l,headerClassName:c,children:d}=e;let p;t[0]!==l?(p=gt("flex flex-col gap-3",l),t[0]=l,t[1]=p):p=t[1];let m;t[2]!==i||t[3]!==a||t[4]!==n||t[5]!==c||t[6]!==o?(m=(o||a||n||i)&&w.jsxs("div",{className:gt("flex items-center justify-between gap-3 px-4",c),children:[w.jsxs("div",{className:"flex flex-col gap-1 min-w-0",children:[o&&w.jsx("h2",{className:"text-[15px] font-medium leading-tight",children:o}),(a||n)&&w.jsxs("p",{className:"text-sm text-muted-foreground leading-snug",children:[a,n&&w.jsxs("a",{href:n,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-0.5 ml-1 text-foreground hover:underline",children:["Docs ",w.jsx(SF,{size:12})]})]})]}),i&&w.jsx("div",{className:"shrink-0",children:i})]}),t[2]=i,t[3]=a,t[4]=n,t[5]=c,t[6]=o,t[7]=m):m=t[7];let h;return t[8]!==d||t[9]!==p||t[10]!==m?(h=w.jsxs("section",{className:p,children:[m,d]}),t[8]=d,t[9]=p,t[10]=m,t[11]=h):h=t[11],h}function lbe(e){const t=Re.c(11),{className:o,children:a}=e;let n,i,l;if(t[0]!==a||t[1]!==o){const d=A.Children.toArray(a).filter(A.isValidElement);n=Rse,t[5]!==o?(i=gt("p-0 gap-0 overflow-hidden",o),t[5]=o,t[6]=i):i=t[6],l=d.map(Dse),t[0]=a,t[1]=o,t[2]=n,t[3]=i,t[4]=l}else n=t[2],i=t[3],l=t[4];let c;return t[7]!==n||t[8]!==i||t[9]!==l?(c=w.jsx(n,{className:i,children:l}),t[7]=n,t[8]=i,t[9]=l,t[10]=c):c=t[10],c}function Dse(e,t){return w.jsxs("div",{children:[t>0&&w.jsx("div",{className:"h-px bg-border mx-5"}),e]},t)}function cbe(e){const t=Re.c(27),{icon:o,title:a,description:n,action:i,onClick:l,className:c,children:d}=e,p=d?"flex items-start gap-3 px-4 py-4":"flex items-center gap-3 px-4 py-4",m=l&&"hover:bg-muted/50 cursor-pointer";let h;t[0]!==c||t[1]!==p||t[2]!==m?(h=gt(p,m,c),t[0]=c,t[1]=p,t[2]=m,t[3]=h):h=t[3];const f=l?"button":void 0,v=l?0:void 0;let b;t[4]!==l?(b=l?P=>{P.target===P.currentTarget&&(P.key==="Enter"||P.key===" ")&&(P.preventDefault(),l())}:void 0,t[4]=l,t[5]=b):b=t[5];let S;t[6]!==o?(S=o&&w.jsx("div",{className:"size-8 shrink-0 rounded-lg bg-muted/60 flex items-center justify-center text-muted-foreground",children:o}),t[6]=o,t[7]=S):S=t[7];let _;t[8]!==a?(_=w.jsx("div",{className:"text-sm font-medium",children:a}),t[8]=a,t[9]=_):_=t[9];let T;t[10]!==n?(T=n&&w.jsx("p",{className:"text-xs text-muted-foreground mt-0.5 leading-relaxed",children:n}),t[10]=n,t[11]=T):T=t[11];let x;t[12]!==d||t[13]!==_||t[14]!==T?(x=w.jsxs("div",{className:"flex-1 min-w-0",children:[_,T,d]}),t[12]=d,t[13]=_,t[14]=T,t[15]=x):x=t[15];let E;t[16]!==i?(E=i&&w.jsx("div",{className:"shrink-0",onClick:Ose,children:i}),t[16]=i,t[17]=E):E=t[17];let C;return t[18]!==l||t[19]!==x||t[20]!==E||t[21]!==h||t[22]!==f||t[23]!==v||t[24]!==b||t[25]!==S?(C=w.jsxs("div",{className:h,onClick:l,role:f,tabIndex:v,onKeyDown:b,children:[S,x,E]}),t[18]=l,t[19]=x,t[20]=E,t[21]=h,t[22]=f,t[23]=v,t[24]=b,t[25]=S,t[26]=C):C=t[26],C}function Ose(e){return e.stopPropagation()}function dbe(e){const t=Re.c(5),{className:o,children:a}=e;let n;t[0]!==o?(n=gt("px-4 py-4",o),t[0]=o,t[1]=n):n=t[1];let i;return t[2]!==a||t[3]!==n?(i=w.jsx("div",{className:n,children:a}),t[2]=a,t[3]=n,t[4]=i):i=t[4],i}function ube(e){const t=Re.c(5),{children:o,className:a}=e;let n;t[0]!==a?(n=gt("flex items-center justify-end gap-2 px-4 py-4",a),t[0]=a,t[1]=n):n=t[1];let i;return t[2]!==o||t[3]!==n?(i=w.jsx("div",{className:n,children:o}),t[2]=o,t[3]=n,t[4]=i):i=t[4],i}function Mse(e){const t=Re.c(5),{className:o,children:a}=e;let n;t[0]!==o?(n=gt("flex flex-col gap-10",o),t[0]=o,t[1]=n):n=t[1];let i;return t[2]!==a||t[3]!==n?(i=w.jsx("div",{className:n,children:a}),t[2]=a,t[3]=n,t[4]=i):i=t[4],i}const Wv={connect:{key:"connect",titleKey:"settings.connectClients.pageTitle",tabs:[],ownedRoutes:["/$org/settings/api-keys"]},members:{key:"members",titleKey:"orgs.members.title",tabs:[{key:"members",icon:OF,labelKey:"orgs.members.title",to:"/$org/settings/members",requires:"members:manage"},{key:"roles",icon:DF,labelKey:"settings.roles.pageTitle",to:"/$org/settings/roles",privilegedOnly:!0}]},billing:{key:"billing",titleKey:"settings.nav.billing",tabs:[{key:"ai-providers",icon:xF,labelKey:"settings.nav.aiProviders",to:"/$org/settings/ai-providers",requires:"ai-providers:manage"},{key:"infra",icon:RF,labelKey:"settings.subnav.infrastructure",to:"/$org/settings/infra-billing",requires:"members:manage",requiresOwnedSites:!0}]},repositories:{key:"repositories",titleKey:"settings.nav.repositories",tabs:[],ownedRoutes:["/$org/settings/repositories"]},storage:{key:"storage",titleKey:"settings.nav.storage",tabs:[{key:"buckets",icon:CF,labelKey:"settings.nav.buckets",to:"/$org/settings/buckets",requires:"file-configs:manage"},{key:"synced-repos",icon:kF,labelKey:"settings.nav.syncedRepos",to:"/$org/settings/synced-repos",requires:"file-configs:manage"}]}};function pbe(e){const t=Wv[e];return[...t.tabs.map(o=>o.to),...t.ownedRoutes??[]]}function mbe(e){return Wv[e].tabs.length>0}const Nse=new Set(["owner","admin"]);function l3(){const e=Re.c(11),{org:t,locator:o}=Zp();let a;e[0]!==o?(a=On.myCapabilities(o),e[0]=o,e[1]=a):a=e[1];let n;e[2]!==t?(n=async()=>{const m=await fetch(`/api/auth/custom/my-capabilities/${encodeURIComponent(t.slug)}`,{credentials:"include"});if(!m.ok)throw new Error(`my-capabilities request failed: ${m.status}`);return await m.json()},e[2]=t,e[3]=n):n=e[3];let i;e[4]!==a||e[5]!==n?(i={queryKey:a,queryFn:n,staleTime:3e4,retry:2},e[4]=a,e[5]=n,e[6]=i):i=e[6];const{data:l,isLoading:c,isError:d}=Rd(i);let p;return e[7]!==l||e[8]!==d||e[9]!==c?(p={data:l,loading:c,error:d},e[7]=l,e[8]=d,e[9]=c,e[10]=p):p=e[10],p}function hbe(e){const t=Re.c(8),{data:o,loading:a,error:n}=l3();if(a){let p;return t[0]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!1,loading:!0,error:!1,reason:"loading"},t[0]=p):p=t[0],p}if(n){let p;return t[1]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!1,loading:!1,error:!0,reason:"error"},t[1]=p):p=t[1],p}const i=o?.role??null;if(!i){let p;return t[2]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!1,loading:!1,error:!1,reason:"denied"},t[2]=p):p=t[2],p}if(i==="owner"){let p;return t[3]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!0,loading:!1,error:!1,reason:"owner"},t[3]=p):p=t[3],p}if(i==="admin"){let p;return t[4]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!0,loading:!1,error:!1,reason:"admin"},t[4]=p):p=t[4],p}const l=o?.capabilities?.[e]===!0,c=l?"role":"denied";let d;return t[5]!==l||t[6]!==c?(d={granted:l,loading:!1,error:!1,reason:c},t[5]=l,t[6]=c,t[7]=d):d=t[7],d}function c3(){const e=Re.c(10),{data:t,loading:o,error:a}=l3(),n=t?.role??void 0;let i;e[0]!==n?(i=n?Nse.has(n):!1,e[0]=n,e[1]=i):i=e[1];const l=i;let c;e[2]!==t?.capabilities?(c=t?.capabilities??{},e[2]=t?.capabilities,e[3]=c):c=e[3];const d=c;let p;return e[4]!==a||e[5]!==l||e[6]!==o||e[7]!==n||e[8]!==d?(p={capabilities:d,loading:o,error:a,isPrivileged:l,roleSlug:n},e[4]=a,e[5]=l,e[6]=o,e[7]=n,e[8]=d,e[9]=p):p=e[9],p}function Ise(){const e=Re.c(13),{org:t}=Zp(),o=i_(),{capabilities:a,isPrivileged:n}=c3(),i=n||!!a["members:manage"];let l;e[0]!==t.id?(l=On.infraBillingSites(t.id),e[0]=t.id,e[1]=l):l=e[1];const c=!!t.id&&i;let d;e[2]!==o?(d=()=>o.call("INFRA_BILLING_SITES_LIST",{}),e[2]=o,e[3]=d):d=e[3];let p;e[4]!==l||e[5]!==c||e[6]!==d?(p={queryKey:l,staleTime:3e5,enabled:c,queryFn:d},e[4]=l,e[5]=c,e[6]=d,e[7]=p):p=e[7];const{data:m,isLoading:h}=Rd(p);let f;e[8]!==m?.sites?(f=m?.sites.map(Lse)??[],e[8]=m?.sites,e[9]=f):f=e[9];let v;return e[10]!==h||e[11]!==f?(v={sites:f,isLoading:h},e[10]=h,e[11]=f,e[12]=v):v=e[12],v}function Lse(e){return e.slug}function gbe(){const e=Re.c(7),t=i_(),o=ar();let a;e[0]!==t?(a=l=>t.call("INFRA_BILLING_PORTAL",{siteSlugs:l}),e[0]=t,e[1]=a):a=e[1];let n;e[2]!==o?(n=l=>bd.error(o("settings.infraBilling.portalError",{message:l.message})),e[2]=o,e[3]=n):n=e[3];let i;return e[4]!==a||e[5]!==n?(i={mutationFn:a,onSuccess:Bse,onError:n},e[4]=a,e[5]=n,e[6]=i):i=e[6],sp(i)}function Bse(e){const{url:t}=e;return window.open(t,"_blank","noopener,noreferrer")}function fbe(e,t){const o=Re.c(14),{org:a}=Zp(),n=i_();let i,l,c;o[0]!==a.id||o[1]!==t||o[2]!==e?(i=[...e].sort(),c=Rd,l=On.infraBilling(a.id,i.join(","),t),o[0]=a.id,o[1]=t,o[2]=e,o[3]=i,o[4]=l,o[5]=c):(i=o[3],l=o[4],c=o[5]);const d=i.length>0;let p;o[6]!==t||o[7]!==i||o[8]!==n?(p=()=>n.call("INFRA_BILLING_GET",{siteSlugs:i,period:t}),o[6]=t,o[7]=i,o[8]=n,o[9]=p):p=o[9];let m;return o[10]!==l||o[11]!==d||o[12]!==p?(m={queryKey:l,enabled:d,staleTime:6e4,queryFn:p},o[10]=l,o[11]=d,o[12]=p,o[13]=m):m=o[13],c(m)}function Fse(){const e=Re.c(7),{capabilities:t,isPrivileged:o,loading:a,error:n}=c3(),{sites:i,isLoading:l}=Ise(),c=i.length>0;let d;if(e[0]!==t||e[1]!==n||e[2]!==o||e[3]!==a||e[4]!==c||e[5]!==l){const p=m=>m.requiresOwnedSites&&!c&&!l?!1:a||n?!0:m.privilegedOnly?o:m.requires?o||t[m.requires]:!0;d=Object.fromEntries(Object.values(Wv).map(m=>[m.key,m.tabs.filter(p)])),e[0]=t,e[1]=n,e[2]=o,e[3]=a,e[4]=c,e[5]=l,e[6]=d}else d=e[6];return d}function jse(e){const t=Re.c(16),{group:o}=e,a=ar();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n={from:"/shell/$org"},t[0]=n):n=t[0];const{org:i}=Up(n);let l;t[1]===Symbol.for("react.memo_cache_sentinel")?(l={select:zse},t[1]=l):l=t[1];const c=Dx(l),d=Fse()[o],{titleKey:p}=Wv[o];let m;t[2]!==a||t[3]!==p?(m=a(p),t[2]=a,t[3]=p,t[4]=m):m=t[4];let h;t[5]!==m?(h=w.jsx(sd.Title,{children:m}),t[5]=m,t[6]=h):h=t[6];let f;t[7]!==o||t[8]!==i||t[9]!==c||t[10]!==a||t[11]!==d?(f=d.length>1&&w.jsx(rn.Toolbar.Left.Portal,{children:w.jsx(sd.Tabs,{"data-testid":"settings-subnav","aria-label":a("settings.subnav.ariaLabel"),children:d.map(b=>{const S=b.to.replace("$org",i),_=c===S||c.startsWith(`${S}/`);return w.jsx(sd.Tab,{active:_,asChild:!0,children:w.jsx(Ml,{to:b.to,params:{org:i},onClick:()=>n3("settings_subnav_clicked",{group_key:o,tab_key:b.key}),children:a(b.labelKey)})},b.key)})})}),t[7]=o,t[8]=i,t[9]=c,t[10]=a,t[11]=d,t[12]=f):f=t[12];let v;return t[13]!==h||t[14]!==f?(v=w.jsxs(w.Fragment,{children:[h,f]}),t[13]=h,t[14]=f,t[15]=v):v=t[15],v}function zse(e){return e.location.pathname}function d3(){const e=Re.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=w.jsxs("div",{"data-testid":"settings-content-loading",className:"flex flex-col gap-4",children:[w.jsx(SD,{className:"h-32 w-full"}),w.jsx(SD,{className:"h-32 w-full"})]}),e[0]=t):t=e[0],t}function Use(e){const t=Re.c(14),{group:o,fallback:a,errorFallback:n,className:i,children:l}=e;let c;t[0]!==o?(c=w.jsx(jse,{group:o}),t[0]=o,t[1]=c):c=t[1];let d;t[2]!==a?(d=a??w.jsx(d3,{}),t[2]=a,t[3]=d):d=t[3];let p;t[4]!==l||t[5]!==d?(p=w.jsx(A.Suspense,{fallback:d,children:l}),t[4]=l,t[5]=d,t[6]=p):p=t[6];let m;t[7]!==n||t[8]!==p?(m=w.jsx(Pse,{fallback:n,children:p}),t[7]=n,t[8]=p,t[9]=m):m=t[9];let h;return t[10]!==i||t[11]!==c||t[12]!==m?(h=w.jsx(sd,{children:w.jsx(sd.Content,{children:w.jsx(sd.Container,{children:w.jsxs(Mse,{className:i,children:[c,m]})})})}),t[10]=i,t[11]=c,t[12]=m,t[13]=h):h=t[13],h}function Li(e){return function(){return w.jsx(Use,{group:e,children:w.jsx(d3,{})})}}function qse(e){try{localStorage.setItem(Ll.lastLocation(),JSON.stringify(e))}catch{}}function $se(){try{const e=localStorage.getItem(Ll.lastLocation());if(!e)return null;const t=JSON.parse(e);if(typeof t?.org=="string")return{org:t.org}}catch{}return null}function vbe(){try{localStorage.removeItem(Ll.lastLocation())}catch{}}const Nt={home:"/$org/home",projects:"/$org/projects/$agentId",tasks:"/$org/tasks/{-$taskKey}",reports:"/$org/reports",library:"/$org/library",threadAnalytics:"/$org/thread-analytics",discover:"/$org/discover",orgIndex:"/$org/"},nt={root:Nt.projects,tasks:"/$org/projects/$agentId/tasks/{-$taskKey}",reports:"/$org/projects/$agentId/reports",siteEditor:"/$org/projects/$agentId/site-editor",siteEditorContent:"/$org/projects/$agentId/site-editor/content",siteEditorCode:"/$org/projects/$agentId/site-editor/code",automations:"/$org/projects/$agentId/automations",automation:"/$org/projects/$agentId/automations/$automationId",app:"/$org/projects/$agentId/apps/$connectionId/$toolName",view:"/$org/projects/$agentId/views/$viewId",outputFile:"/$org/projects/$agentId/outputs/file",outputDeck:"/$org/projects/$agentId/outputs/deck",library:"/$org/projects/$agentId/library",libraryFile:"/$org/projects/$agentId/library/file",connectSources:"/$org/projects/$agentId/connect-sources",settings:"/$org/projects/$agentId/settings",assets:"/$org/projects/$agentId/assets",releases:"/$org/projects/$agentId/releases",hosting:"/$org/projects/$agentId/hosting",e2e:"/$org/projects/$agentId/e2e",analytics:"/$org/projects/$agentId/analytics",experiments:"/$org/projects/$agentId/experiments",monitor:"/$org/projects/$agentId/cdn"};function bbe(){const e=Re.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={select:Vse},e[0]=t):t=e[0],Dx(t)}function Vse(e){return e.matches.at(-1)?.fullPath??""}const Hse=new Map([[Nt.reports,"project-only"],[Nt.library,"org-only"],[Nt.threadAnalytics,"org-only"]]);function ybe(e,t){const o=Hse.get(e);return o===void 0?!0:o==="project-only"?t!==null:t===null}function Sbe(){const e=Re.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={select:Gse},e[0]=t):t=e[0],Dx(t)}function Gse(e){return e.matches.findLast(Wse)?.staticData.mainView}function Wse(e){return e.staticData.mainView}function lf(e){return`agent-view:${encodeURIComponent(e)}`}function Kse(e){if(!e?.startsWith("agent-view:"))return null;const t=e.slice(11);if(!t)return null;try{const o=decodeURIComponent(t);return o?{id:o}:null}catch{return null}}function u3(e){if(!e||!e.startsWith("automation:"))return null;const t=e.slice(11);return t?{id:t}:null}function tk(e,t){return`app:${e}:${t}`}function Yse(e){if(!e||!e.startsWith("app:"))return null;const t=e.slice(4),o=t.indexOf(":");if(o<=0)return null;const a=t.slice(0,o),n=t.slice(o+1);return!a||!n?null:{connectionId:a,toolName:n}}function p3(e){return`deck:${encodeURIComponent(e)}`}function Zse(e){if(!e||!e.startsWith("deck:"))return null;const t=e.slice(5);if(!t)return null;try{return{path:decodeURIComponent(t)}}catch{return null}}function m3(e){return`file:${encodeURIComponent(e)}`}function Qse(e){if(!e||!e.startsWith("file:"))return null;const t=e.slice(5);if(!t)return null;try{return{key:decodeURIComponent(t)}}catch{return null}}function h3(e){return`library-file:${encodeURIComponent(e)}`}function Jse(e){if(!e||!e.startsWith("library-file:"))return null;const t=e.slice(13);if(!t)return null;try{return{path:decodeURIComponent(t)}}catch{return null}}function g3(e){return`code:${encodeURIComponent(e)}`}function Xse(e){if(!e)return null;if(e==="code")return{path:null};if(!e.startsWith("code:"))return null;const t=e.slice(5);if(!t)return null;try{return{path:decodeURIComponent(t)}}catch{return null}}const f3=["overview","settings","automations","site-editor","code","content","assets","hosting","e2e","analytics","cdn"],ele=new Set(f3),v3=new Set(["hosting","e2e","analytics","cdn"]),tle=new Set(["board","files","connect-sources","reports"]);function wbe(e){return e.startsWith("app:")||e.startsWith("automation:")||e.startsWith("file:")||e.startsWith("deck:")||e.startsWith("library-file:")||e.startsWith("code:")}const ole=new Map([["preview","site-editor"],["git","site-editor"]]);function Kv(e){return ole.get(e)??e}const ok=new Set(["instructions","connections","layout","settings"]);function ale(e){return!!e&&ok.has(e)}const nle=new Set(["overview","board","reports"]);function Tbe(e){const t=e?.defaultMainView??null;if(!(!t||t.type==="chat"))return b3(e??null)}function b3(e){const t=e?.defaultMainView??null;if(!t)return"settings";const o=Kv(t.type);if(ok.has(o))return"settings";if(ele.has(o)||nle.has(o))return o;if(o==="ext-app"||o==="ext-apps"){if(t.id&&t.toolName)return tk(t.id,t.toolName);const n=e?.tabs?.map(i=>i.id)??[];return t.id&&n.includes(t.id)?lf(t.id):n[0]?lf(n[0]):"settings"}const a=e?.tabs?.[0]?.id;return a?lf(a):"settings"}function xbe(e){const t=e.routeDefaultMain||b3(e.metadata),o=e.panelTabId&&ok.has(e.panelTabId)?"settings":e.panelTabId?Kv(e.panelTabId):e.panelTabId,a=e.metadata?.defaultMainView??null,n=a==null||a.type==="chat";return{mainOpen:e.mainPanelParam??(!!o||!!e.routeDefaultMain||!n),activeTab:o??t}}function _be(e){return e.mainOpen&&e.clickedId===e.activeTab?{close:!0}:{tabId:e.clickedId}}function kbe(e){return e.mainOpen?e.activeTab==="automations"?!0:u3(e.activeTab)!==null:!1}const rle=new Set([...f3.filter(e=>!v3.has(e)),...tle,"app","file","deck","library-file","connect-sources","instructions","connections","layout","preview","discover"]);function ile(e){return!!e&&rle.has(e)}function sle(e,t){if(e)switch(e){case"app":return t.connection&&t.tool?tk(t.connection,t.tool):void 0;case"automations":return t.automation?`automation:${t.automation}`:"automations";case"file":return t.key?m3(t.key):void 0;case"deck":return t.deck?p3(t.deck):void 0;case"library-file":return t.path?h3(t.path):void 0;case"code":return t.file?g3(t.file):"code";default:{const o=Kv(e);return o==="site-editor"&&t.main==="content"?"content":o}}}function Cbe(e){const t=e.params??{},o=e.search??{};if(e.siteEditorView==="content")return"content";if(e.siteEditorView==="code")return o.file?g3(o.file):"code";if(e.siteEditorView==="preview")return"site-editor";switch(e.mainView){case"automation":return t.automationId?`automation:${t.automationId}`:"automations";case"app":return t.connectionId&&t.toolName?tk(t.connectionId,t.toolName):void 0;case"view":return t.viewId?lf(t.viewId):void 0;case"file":return o.key?m3(o.key):void 0;case"deck":return o.path?p3(o.path):void 0;case"library-file":return o.path?h3(o.path):void 0;default:return e.mainView}}const lle={files:"library",discover:"discover"},cle={board:"tasks",reports:"reports"},dle={settings:"settings",assets:"assets",releases:"releases",hosting:"hosting",e2e:"e2e",analytics:"analytics",experiments:"experiments",cdn:"monitor"};function y3(e){const t=Kse(e);if(t)return{kind:"agent-view",viewId:t.id};const o=Yse(e);if(o)return{kind:"app",connectionId:o.connectionId,toolName:o.toolName};const a=u3(e);if(a)return{kind:"automations",automationId:a.id};const n=Qse(e);if(n)return{kind:"output-file",key:n.key};const i=Zse(e);if(i)return{kind:"output-deck",path:i.path};const l=Jse(e);if(l)return{kind:"library-file",path:l.path};const c=Xse(e);if(c)return{kind:"site-editor",view:"code",...c.path?{file:c.path}:{}};if(ale(e))return{kind:"agent-section",section:"settings"};const d=Kv(e);if(d==="overview")return{kind:"agent-overview"};if(d==="site-editor")return{kind:"site-editor",view:"preview"};if(d==="content")return{kind:"site-editor",view:"content"};if(d==="automations")return{kind:"automations"};if(d==="connect-sources")return{kind:"connect-sources"};const p=cle[d];if(p)return{kind:"project-destination",destination:p};const m=lle[d];if(m)return{kind:"org-destination",destination:m};const h=dle[d];return h?{kind:"agent-section",section:h}:{kind:"agent-view",viewId:d}}function Rl(e){const{org:t,agentId:o}=e,a={org:t,agentId:o},n=y3(e.tabId);switch(n.kind){case"project-destination":return e.destinationScope==="organization"?n.destination==="tasks"?{to:Nt.tasks,params:{org:t,taskKey:e.taskKey},search:{}}:{to:Nt.reports,params:{org:t},search:{}}:n.destination==="tasks"?{to:nt.tasks,params:{...a,taskKey:e.taskKey},search:{}}:{to:nt.reports,params:a,search:{}};case"org-destination":switch(n.destination){case"home":return{to:Nt.home,params:{org:t},search:{}};case"discover":return{to:Nt.discover,params:{org:t},search:{}};case"library":return{to:Nt.library,params:{org:t},search:{}}}case"agent-overview":return{to:nt.root,params:a,search:{}};case"site-editor":return n.view==="content"?{to:nt.siteEditorContent,params:a,search:{}}:n.view==="code"?{to:nt.siteEditorCode,params:a,search:{file:n.file}}:{to:nt.siteEditor,params:a,search:{}};case"agent-section":return{to:nt[n.section],params:a,search:{}};case"automations":return n.automationId?{to:nt.automation,params:{...a,automationId:n.automationId},search:{}}:{to:nt.automations,params:a,search:{}};case"app":return{to:nt.app,params:{...a,connectionId:n.connectionId,toolName:n.toolName},search:{}};case"agent-view":return{to:nt.view,params:{...a,viewId:n.viewId},search:{}};case"output-file":return{to:nt.outputFile,params:a,search:{key:n.key}};case"output-deck":return{to:nt.outputDeck,params:a,search:{path:n.path}};case"library-file":return{to:nt.libraryFile,params:a,search:{path:n.path}};case"connect-sources":return{to:nt.connectSources,params:a,search:{}}}}function Pbe(e){if(!e.agentId||e.agentId===e.superAgentId&&(e.tabId===void 0||e.tabId==="overview"))return{to:Nt.home,params:{org:e.org},search:{}};const t=e.tabId??"overview",o=e.agentId!==e.superAgentId&&y3(t).kind==="org-destination"?"overview":t;return Rl({org:e.org,agentId:e.agentId,tabId:o,destinationScope:e.agentId===e.superAgentId?"organization":"project"})}function ule(e,t,o={}){const a=i=>({...o.search?.(i)??{},...t.search}),n=o.replace??!0;switch(t.to){case Nt.tasks:e({to:Nt.tasks,params:t.params,search:a,replace:n});return;case Nt.home:e({to:Nt.home,params:t.params,search:a,replace:n});return;case Nt.reports:e({to:Nt.reports,params:t.params,search:a,replace:n});return;case Nt.discover:e({to:Nt.discover,params:t.params,search:a,replace:n});return;case Nt.library:e({to:Nt.library,params:t.params,search:a,replace:n});return;case nt.root:e({to:nt.root,params:t.params,search:a,replace:n});return;case nt.tasks:e({to:nt.tasks,params:t.params,search:a,replace:n});return;case nt.reports:e({to:nt.reports,params:t.params,search:a,replace:n});return;case nt.siteEditor:e({to:nt.siteEditor,params:t.params,search:a,replace:n});return;case nt.siteEditorContent:e({to:nt.siteEditorContent,params:t.params,search:a,replace:n});return;case nt.siteEditorCode:e({to:nt.siteEditorCode,params:t.params,search:a,replace:n});return;case nt.automations:e({to:nt.automations,params:t.params,search:a,replace:n});return;case nt.automation:e({to:nt.automation,params:t.params,search:a,replace:n});return;case nt.app:e({to:nt.app,params:t.params,search:a,replace:n});return;case nt.view:e({to:nt.view,params:t.params,search:a,replace:n});return;case nt.outputFile:e({to:nt.outputFile,params:t.params,search:a,replace:n});return;case nt.outputDeck:e({to:nt.outputDeck,params:t.params,search:a,replace:n});return;case nt.libraryFile:e({to:nt.libraryFile,params:t.params,search:a,replace:n});return;case nt.connectSources:e({to:nt.connectSources,params:t.params,search:a,replace:n});return;case nt.settings:case nt.assets:case nt.releases:case nt.hosting:case nt.e2e:case nt.analytics:case nt.experiments:case nt.monitor:e({to:t.to,params:t.params,search:a,replace:n})}}function Ebe(e,t){ule(e,Rl(t),t)}function ple(e){const t=/^(\/[^/]+)\/agents(?=\/|$)/.exec(e);return t?.[1]?`${t[1]}/projects${e.slice(t[0].length)}`:null}function mle(e){const t=e.split("/").filter(Boolean);return(t[1]==="projects"||t[1]==="agents")&&t.length>3}const hle=new Set(["main","virtualmcpid","file","key","deck","path","connection","tool","automation"]),S3=new Set(["main"]),gle=new Set(["virtualmcpid"]);function Yv(e,t){return Object.fromEntries(Object.entries(e).filter(([o])=>!t.has(o)))}function Cl(e,t){return{...Yv(e,hle),...t.search}}function fle(e){return Yv(e,gle)}function Abe(e){if(e.search.virtualmcpid===void 0)return null;const t=br(e.search.virtualmcpid);if(t){const o=e.routePath===Nt.tasks?"board":e.routePath===Nt.reports?"reports":null;if(e.routePath===Nt.home||o){const a=o?Rl({org:e.org,agentId:t,tabId:o}):Pd(e.org,t);return{kind:"canonical",route:a,search:Cl(e.search,a)}}}return e.routePath===Nt.home||e.routePath===Nt.tasks||e.routePath===Nt.reports||e.routePath===Nt.library?{kind:"same-route",search:fle(e.search)}:null}function br(e){return e?.trim()||void 0}function w3(e){return ile(e)||e!==void 0&&v3.has(e)}function T3(e){const t=br(e);return t?t.startsWith("vir_")&&t.length>4||AI(t)!==null||TW(t)!==null||xW(t)!==null||DI(t)||OI(t):!1}function vle(e){const t=br(e.agentIdParam),o=w3(t);return t&&!o?t:br(e.virtualMcpIdSearch)??br(e.fallbackAgentId)}function Rbe(e){const t=e.pathAgentId;if(t&&e.pathLegacyView){const l=JT({org:e.org,agentId:t,panel:e.pathLegacyView,source:"project-first",search:e.search});return l?.kind==="canonical"?{route:l.route,search:l.search}:null}if(!t||mle(e.pathname))return null;const o=e.search.virtualmcpid!==void 0&&!T3(t);if(!(w3(t)||o))return null;const n=vle({agentIdParam:o?void 0:t,virtualMcpIdSearch:e.search.virtualmcpid,fallbackAgentId:e.fallbackAgentId}),i=JT({org:e.org,agentId:n,panel:t,source:"view-first",search:e.search});return i?.kind==="canonical"?{route:i.route,search:i.search}:null}function ble(e,t,o,a){const n=br(a);switch(e){case"board":return n?Rl({org:t,agentId:n,tabId:"board"}):{to:Nt.tasks,params:{org:t,taskKey:void 0},search:{}};case"files":{const i=bs(o.path);return{to:Nt.library,params:{org:t},search:i?{path:i}:{}}}case"reports":return n?Rl({org:t,agentId:n,tabId:"reports"}):{to:Nt.reports,params:{org:t},search:{}};case"overview":return{to:Nt.home,params:{org:t},search:{}};case"discover":return{to:Nt.discover,params:{org:t},search:{}};default:return null}}function Lp(e){const t=ble(e.tabId,e.org,e.search,e.agentId);if(t)return t;if(e.tabId==="chat")return Pd(e.org,e.agentId);const o=br(e.agentId);return o?e.tabId==="app"||e.tabId==="file"||e.tabId==="deck"||e.tabId==="library-file"||e.tabId.trim()===""?{to:nt.root,params:{org:e.org,agentId:o},search:{}}:Rl({org:e.org,agentId:o,tabId:e.tabId}):null}function Pd(e,t){const o=br(t);return o?{to:nt.root,params:{org:e,agentId:o},search:{}}:{to:Nt.home,params:{org:e},search:{}}}function yle(e){const{main:t}=e;if(t===void 0)return null;const o=e.search??{};if(t===0||t==="0")return{kind:"same-route",search:{...Yv(o,S3),mainpanel:!1}};if(t==="chat"){const n=Pd(e.org,e.agentId);return{kind:"canonical",route:n,search:{...Cl(o,n),sidepanel:!0,mainpanel:!1}}}const a=Lp({org:e.org,agentId:e.agentId,tabId:t,search:o});return a?{kind:"canonical",route:a,search:Cl(o,a)}:null}function bs(e){return typeof e=="string"&&e.length>0?e:void 0}function JT(e){const t=e.search??{};if((t.main===0||t.main==="0")&&e.panel){const l=JT({...e,search:Yv(t,S3)});return l?.kind!=="canonical"?l:{...l,search:{...l.search,mainpanel:!1}}}if(t.main!==void 0)return yle({org:e.org,agentId:e.agentId,main:t.main,search:t});const o=br(e.agentId),a=e.panel;if(!a){const l=Pd(e.org,o);return{kind:"canonical",route:l,search:Cl(t,l)}}const n=sle(a,{file:bs(t.file),key:bs(t.key),deck:bs(t.deck),path:bs(t.path),connection:bs(t.connection),tool:bs(t.tool),automation:bs(t.automation)}),i=n?e.source==="project-first"&&n==="overview"&&o?Rl({org:e.org,agentId:o,tabId:n}):Lp({org:e.org,agentId:o,tabId:n,search:t}):Lp({org:e.org,agentId:o,tabId:"",search:t});return i?{kind:"canonical",route:i,search:n==="chat"?{...Cl(t,i),sidepanel:!0,mainpanel:!1}:Cl(t,i)}:null}function Dbe(e){const t=e.search??{},o=br(t.virtualmcpid),a=br(e.fallbackAgentId),n=t.main;let i;if(n==="chat")i=Pd(e.org,o);else if(n!==void 0&&n!==0&&n!=="0"){const l=Lp({org:e.org,agentId:o,tabId:n,search:t}),c=!l&&n.trim().length>0&&a?Lp({org:e.org,agentId:a,tabId:n,search:t}):null;i=l??c??{to:Nt.home,params:{org:e.org},search:{}}}else i=Pd(e.org,o);return{route:i,search:{...Cl(t,i),...n===void 0&&t.sidepanel===void 0?{sidepanel:!0}:{},...n===0||n==="0"?{mainpanel:!1}:{},...n==="chat"?{sidepanel:!0,mainpanel:!1}:{},thread:e.taskId}}}function x3(e,t){if(t.task===void 0)return null;const{task:o,...a}=t;return{taskKey:e??(o.trim()||void 0),search:a}}const Sle={contentPageId:$().optional(),contentPath:$().optional(),contentPathTemplate:$().optional(),contentCollection:$().optional(),contentItem:$().optional()},_3=Sle,ak={view:$().optional(),group:$().optional(),subgroup:$().optional(),sort:$().optional(),dir:$().optional(),q:$().optional(),assignee:$().optional(),priority:$().optional(),due:$().optional(),tags:$().optional(),repo:$().optional(),sprint:$().optional(),boardOrg:$().optional()},nv={fileView:So(["all","documents","media"]).catch("all").optional(),modified:So(["any","today","week","month"]).catch("any").optional(),layout:So(["list","grid"]).catch("list").optional(),sort:So(["name","updated","size"]).catch("name").optional(),path:$().optional(),preview:$().optional(),expanded:kp().optional().catch(void 0),skill:$().optional(),brand:$().optional()},wle={file:$().optional(),key:$().optional(),deck:$().optional(),path:$().optional(),connection:$().optional(),tool:$().optional(),automation:$().optional(),section:$().optional(),preview:$().optional(),autosend:$().optional(),connect:kv().optional(),siteUrl:$().optional(),..._3},k3={...wle,task:$().optional(),project:$().optional(),...ak,skill:nv.skill,brand:nv.brand},rm=we(k3),Ka=E8({component:()=>w.jsx(Ase,{children:w.jsx(Rx,{})})}),Tle=Oe({getParentRoute:()=>Ka,path:"/login",component:Be(()=>Fe(()=>import("./login-C9lgbiSh.js"),__vite__mapDeps([0,1,2,3,4]))),validateSearch:Hr(()=>we({next:$().optional(),client_id:$().optional(),redirect_uri:$().optional(),response_type:$().optional(),state:$().optional(),scope:$().optional(),code_challenge:$().optional(),code_challenge_method:$().optional(),src:$().optional(),ref:$().optional()}))}),xle=Oe({getParentRoute:()=>Ka,path:"/cli/auth-success",component:Be(()=>Fe(()=>import("./cli-auth-success-DUKgfRgt.js"),__vite__mapDeps([5,4])))}),_le=Oe({getParentRoute:()=>Ka,path:"/reset-password",component:Be(()=>Fe(()=>import("./reset-password-Bq09blPf.js"),[])),validateSearch:Hr(()=>we({token:$().optional(),error:$().optional()}))}),kle=Oe({getParentRoute:()=>Ka,path:"/auth/$pathname",component:Be(()=>Fe(()=>import("./auth-catchall-CrJHPLPw.js"),[]))}),Cle=Oe({getParentRoute:()=>Ka,path:"/oauth/callback",component:Be(()=>Fe(()=>import("./oauth-callback-Blwmfj1R.js"),__vite__mapDeps([6,7,8])))}),Ple=Oe({getParentRoute:()=>Ka,path:"/oauth/callback/ai-provider",component:Be(()=>Fe(()=>import("./oauth-callback-ai-provider-Dc9onjjw.js"),[]))}),im=Oe({getParentRoute:()=>Ka,path:"/_admin",component:Be(()=>Fe(()=>import("./layout-BI2BIstR.js"),__vite__mapDeps([9,10,11])))}),Ele=Oe({getParentRoute:()=>im,path:"/",beforeLoad:()=>{throw Jo({to:"/_admin/users"})}}),Ale=Oe({getParentRoute:()=>im,path:"/users",component:Be(()=>Fe(()=>import("./users-Cbsspkn2.js"),__vite__mapDeps([12,13,14,15,16,17,18,19,20,21,22,23,24,25,26])))}),Rle=Oe({getParentRoute:()=>im,path:"/orgs",component:Be(()=>Fe(()=>import("./orgs-BOJwmOLw.js"),__vite__mapDeps([27,13,14,15,16,17,18,28,22,29,30,31,32,33,34,21,35,36,23,24,25])))}),Dle=Oe({getParentRoute:()=>im,path:"/prompts",component:Be(()=>Fe(()=>import("./prompts-DV4Kjfa5.js"),__vite__mapDeps([37,16,28,34,23])))}),Ole=im.addChildren([Ele,Ale,Rle,Dle]),nk=Oe({getParentRoute:()=>Ka,id:"shell",component:Be(()=>Fe(()=>import("./shell-layout-BM51_FIv.js").then(e=>e.g),__vite__mapDeps([38,19,20,39,40,41,42,43,15,44,45,46,47,48,32,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,64,65,66,67,68,8,69,70,71,72,73,74,75,76,28,77,78,79,3,2,80,81,35,82,83,84,31,85,86,87,22,88,10,89,90,91])))}),Mle=Oe({getParentRoute:()=>nk,path:"/",beforeLoad:async()=>{const e=$se();if(e)throw Jo({to:"/$org",params:{org:e.org}});const t=localStorage.getItem(Ll.lastOrgSlug());if(t)throw Jo({to:"/$org",params:{org:t}});const{data:o}=await iL();if(!o)return;const a=o[0];throw Jo(a?{to:"/$org",params:{org:a.slug}}:{to:"/onboarding"})}}),Nle=Oe({getParentRoute:()=>Ka,path:"/onboarding",beforeLoad:async()=>{const{data:e}=await iL();if(e&&e.length>0)throw Jo({to:"/"})},component:Be(()=>Fe(()=>import("./onboarding-K-cgEcDl.js"),__vite__mapDeps([92,10,4,93,19,20,61,28,33,39,48,54,63])))}),C3=Hr(()=>we({org:$().optional(),siteUrl:$().optional(),fix:$().optional()})),Ile=Oe({getParentRoute:()=>Ka,path:"/reports-onboarding",component:Be(()=>Fe(()=>import("./reports-onboarding-1VulbTO6.js"),__vite__mapDeps([94,95,1,2,3,4,93,19,20,61,96,97,98,28,99,68,8,100,74,45,41,42,43,15,44,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,18,62,63,64,65,84,31,101,102,103,22,104,105,106,107,7,108,109,110,111,112,113]))),validateSearch:C3}),Lle=Oe({getParentRoute:()=>Ka,path:"/commerce-onboarding",validateSearch:C3,beforeLoad:({search:e})=>{throw Jo({to:"/reports-onboarding",search:e})}}),Ble=Oe({getParentRoute:()=>Ka,path:"/choose-editor",component:Be(()=>Fe(()=>import("./choose-editor-BeLyDWVx.js"),__vite__mapDeps([114,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,10]))),validateSearch:Hr(()=>we({site:$().optional(),domain:$().optional(),pageId:$().optional(),path:$().optional(),pathTemplate:$().optional()}))}),rk=Oe({getParentRoute:()=>Ka,path:"/site-editor",staticData:{pageTitle:"sidebar.projectNav.siteEditor"},component:Be(()=>Fe(()=>import("./site-editor-C5iX5zAy.js"),__vite__mapDeps([115,116,69,70,66,67,68,8,89,79,3,2,80,81,35,82,117,118,119,120,88,121,122,123,124,84,31,125,126,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,90,91,128,129,130,131,132,133,96,97,98,134,135,136,137,138,139,140,141,142,24,25,143,144,29,30,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,109,102,110,111,164,165,34,166,167,168,106,107,7,169,21,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,33,190,191,192,193,194,195,196,17,197,16,198,199,200,201,105,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218])))}),Fle=Oe({getParentRoute:()=>rk,path:"/",staticData:{mainView:"site-editor",siteEditorView:"preview",local:!0},component:Be(()=>Fe(()=>import("./site-editor-C5iX5zAy.js"),__vite__mapDeps([115,116,69,70,66,67,68,8,89,79,3,2,80,81,35,82,117,118,119,120,88,121,122,123,124,84,31,125,126,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,90,91,128,129,130,131,132,133,96,97,98,134,135,136,137,138,139,140,141,142,24,25,143,144,29,30,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,109,102,110,111,164,165,34,166,167,168,106,107,7,169,21,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,33,190,191,192,193,194,195,196,17,197,16,198,199,200,201,105,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218])),"SiteEditorPreview")}),jle=Oe({getParentRoute:()=>rk,path:"/content",staticData:{mainView:"content",siteEditorView:"content",local:!0},component:Be(()=>Fe(()=>import("./site-editor-C5iX5zAy.js"),__vite__mapDeps([115,116,69,70,66,67,68,8,89,79,3,2,80,81,35,82,117,118,119,120,88,121,122,123,124,84,31,125,126,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,90,91,128,129,130,131,132,133,96,97,98,134,135,136,137,138,139,140,141,142,24,25,143,144,29,30,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,109,102,110,111,164,165,34,166,167,168,106,107,7,169,21,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,33,190,191,192,193,194,195,196,17,197,16,198,199,200,201,105,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218])),"SiteEditorContent")}),zle=Oe({getParentRoute:()=>Ka,path:"/report/$domain",component:Be(()=>Fe(()=>import("./reports-DXYrq_BO.js"),__vite__mapDeps([219,108,3,1,2,220])))}),Zv=Oe({getParentRoute:()=>nk,path:"/$org",beforeLoad:({params:e})=>{qse({org:e.org})},component:Be(()=>Fe(()=>import("./route-B-p6J_u6.js"),__vite__mapDeps([221,130,123,122,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,131,132,133,96,97,98,134,152,153,11,222,29,30,34,160,223,146,118,117,162,190,224,225,172,26,24,25,226,227,228,211,210,229,230,231,150,129,33,158])))}),Qv=Oe({getParentRoute:()=>Zv,id:"org-shell",pendingComponent:Md,component:Be(()=>Fe(()=>import("./thread-route-CQmCTEyn.js"),__vite__mapDeps([232,116,69,70,66,67,68,8,89,79,3,2,80,81,35,82,117,118,119,120,88,95,233,101,102,103,45,99,100,74,41,42,43,15,44,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,31,98,28,22,104,105,106,107,7,108,109,110,111,234,112])))}),Ule=we({sidepanel:PL,mainpanel:EL,main:io([$(),Ze(0)]).optional(),thread:$().optional(),autosend:$().optional(),preview:$().optional(),virtualmcpid:$().optional()}),Mn=Oe({getParentRoute:()=>Qv,id:"agent-shell",validateSearch:Ule,search:{middlewares:[JU(["sidepanel"])]},pendingComponent:Md,component:Be(()=>Fe(()=>import("./route-UiPRedfp.js"),__vite__mapDeps([235,42,41,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,123,122,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,176,116,117,118,119,120,174,139,153,156,138,98,140,141,142,24,25,137,129,143,144,29,30,145,146,147,148,149,150,151,152,154,155,157,158,159,160,161,162,163,109,102,110,111,164,165,34,166,167,168,106,107,7,169,21,170,171,172,173,177,178,179,180,181,182,183,214,215,198,187,16,121,128,236,237,238,211,205,204,203,210,239,240,241,242,243,175,192,135])))}),qle=rm.extend({virtualmcpid:$().optional()}),$le=Oe({getParentRoute:()=>Mn,path:"/$taskId",validateSearch:qle,component:()=>null}),Qt=Be(()=>Fe(()=>import("./index-BmYzltjg.js").then(e=>e.i),__vite__mapDeps([121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129])),"ChatLayoutPending"),Gt=Be(()=>Fe(()=>import("./index-BmYzltjg.js").then(e=>e.i),__vite__mapDeps([121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129])),"ChatLayoutError"),Vle=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>Mn,path:"/home",staticData:{pageTitle:"sidebar.navDestinations.home",defaultMain:"overview",mainView:"overview"},validateSearch:we({connect:kv().optional(),siteUrl:$().optional(),view:So(["agents"]).optional()}),component:Be(()=>Fe(()=>import("./home-DncG44Vc.js"),__vite__mapDeps([244,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,225,172,117,231,229,131,230,224,245,246,247,248,249,250,137,138,139,98,140,141,142,120,24,25,116,118,119,143,144,29,30,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,109,102,110,111,164,165,34,166,167,168,106,107,7,169,21,170,171,173,251,233,101,103,252,26,253,227,254,134,16])))}),Hle=Oe({getParentRoute:()=>Mn,path:"/projects",staticData:{pageTitle:"projects.settings.title",defaultMain:"board"},validateSearch:rm.extend({files:kp().optional().catch(void 0),analytics:kp().optional().catch(void 0)}),component:Be(()=>Fe(()=>import("./flat-project-fhJMf2Fo.js"),__vite__mapDeps([255,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,195,84,31,121,122,123,124,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,254,256,131,132,257,196,152,138,139,98,140,141,142,120,24,25,117,116,118,119,155,258,21,33,34,157,250,26,259,225,172,159,160,29,30,230,224,229,260,193,189,178,261,194,262,187,263,166,103,264,171,177,179,180,181,182,156,183,143,170,236,148,144,213,265,169,266,190,267,245,246,247,248,14,268,269,270,271,272,249,273,274,97,275,242,240,241,243,175,192,276,209,277]))),beforeLoad:({params:e,search:t})=>{if(t.project?.trim())return;const o=t.virtualmcpid?.trim();throw Jo(o?{to:"/$org/projects/$agentId",params:{org:e.org,agentId:o},search:a=>({...a,virtualmcpid:void 0}),hash:!0,replace:!0}:{to:"/$org/home",params:{org:e.org},search:a=>({...a,virtualmcpid:void 0}),hash:!0,replace:!0})}}),xo=Oe({errorComponent:Gt,getParentRoute:()=>Mn,path:"/projects/$agentId",validateSearch:rm,component:Rx}),Gle=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/",staticData:{pageTitle:"page.overview",defaultMain:"overview",mainView:"overview"},component:Be(()=>Fe(()=>import("./agent-overview-D278LRIL.js"),__vite__mapDeps([278,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,251,233,101,102,103,252,225,172,117,230,224,131,229,26,159,160,24,25,279,256,132,257,196,152,138,139,98,140,141,142,120,116,118,119,155,258,21,33,34,157,250,259,29,30,260,193,189,178,261,194,262,187,263,166,264,171,177,179,180,181,182,156,183,143,170,236,148,144,213,280,161,162,281])))}),Wle=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/tasks/{-$taskKey}",staticData:{pageTitle:"sidebar.navDestinations.tasks",defaultMain:"board",mainView:"board"},validateSearch:we({task:$().optional(),...ak}),beforeLoad:({params:e,search:t})=>{const o=x3(e.taskKey,t);if(o)throw Jo({to:"/$org/projects/$agentId/tasks/{-$taskKey}",params:{org:e.org,agentId:e.agentId,taskKey:o?.taskKey??e.taskKey},search:o.search,hash:!0,replace:!0})},component:Be(()=>Fe(()=>import("./project-tasks-DLi14b92.js"),__vite__mapDeps([279,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,256,131,132,257,196,152,138,139,98,140,141,142,120,24,25,117,116,118,119,155,258,21,33,34,157,250,26,259,225,172,159,160,29,30,230,224,229,260,193,189,178,261,194,262,187,263,166,103,264,171,177,179,180,181,182,156,183,143,170,236,148,144,213,280,161,162,281])))}),Kle=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/reports",staticData:{pageTitle:"sidebar.navDestinations.reports",defaultMain:"reports",mainView:"reports"},validateSearch:we({connect:kv().optional(),siteUrl:$().optional()}),component:Be(()=>Fe(()=>import("./project-reports-CsI0AQuY.js"),__vite__mapDeps([282,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,283,95,233,101,102,103,252,112,113,254,227])))}),Jv=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/site-editor",staticData:{pageTitle:"sidebar.projectNav.siteEditor",defaultMain:"site-editor",mainView:"site-editor"},validateSearch:we({autosend:$().optional(),..._3}),component:Be(()=>Fe(()=>import("./agent-site-editor-BSI5T3i7.js"),__vite__mapDeps([212,213,116,69,70,66,67,68,8,89,79,3,2,80,81,35,82,117,118,119,120,88,136,137,138,139,98,28,140,141,142,50,47,122,84,31,41,42,43,15,44,45,46,39,48,32,49,40,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,24,25,129,143,38,19,71,72,73,74,75,76,77,78,83,85,86,87,22,10,90,91,144,29,30,145,146,147,148,149,150,151,152,153,154,155,125,126,36,156,157,158,159,160,161,162,163,109,102,110,111,164,165,34,166,167,168,106,107,7,169,21,170,171,172,173,174,175,176,177,178,179,180,181,182,124,183,184,127,97,214,215,203,201,200,188,189,202,192,208,216,217,198,187,121,123,128,218])))}),Yle=Oe({getParentRoute:()=>Jv,path:"/",staticData:{defaultMain:"site-editor",mainView:"site-editor",siteEditorView:"preview"},component:Be(()=>Fe(()=>import("./agent-site-editor-preview-CCk80iIG.js"),__vite__mapDeps([284,285,237,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,166,238,181,140,176,116,89,117,118,119,120,174,139,84,31,153,87,122,156,138,98,28,141,142,24,25,137,129,143,38,19,71,72,73,74,75,76,77,78,83,85,86,22,10,90,91,144,29,30,145,146,147,148,149,150,151,152,154,155,157,158,159,160,161,162,163,109,102,110,111,164,165,34,167,168,106,107,7,169,21,170,171,172,173,177,178,179,180,182,124,183,211,205,204,203,280,185,186,136,175,184,187,188,189,33,190,191,192,193,194,131,132,195,196,97,17,197,16,198,127,199,200,201,105,135,128,202])))}),Zle=Oe({getParentRoute:()=>Jv,path:"/content",staticData:{defaultMain:"content",mainView:"content",siteEditorView:"content"},component:Be(()=>Fe(()=>import("./agent-site-editor-content-Blm2auu-.js"),__vite__mapDeps([286,285,237,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,166,238,181,140,176,116,89,117,118,119,120,174,139,84,31,153,87,122,156,138,98,28,141,142,24,25,137,129,143,38,19,71,72,73,74,75,76,77,78,83,85,86,22,10,90,91,144,29,30,145,146,147,148,149,150,151,152,154,155,157,158,159,160,161,162,163,109,102,110,111,164,165,34,167,168,106,107,7,169,21,170,171,172,173,177,178,179,180,182,124,183,211,205,204,203,280,206,97,190,136,175,184,186,187,188,189,33,191,192,193,194,131,132,195,196,17,197,16,207,208,198,209])))}),Qle=Oe({getParentRoute:()=>Jv,path:"/code",staticData:{defaultMain:"code",mainView:"code",siteEditorView:"code"},validateSearch:we({file:$().optional()}),component:Be(()=>Fe(()=>import("./agent-site-editor-code-Dq4KRDBk.js"),__vite__mapDeps([287,285,237,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,166,238,181,140,176,116,89,117,118,119,120,174,139,84,31,153,87,122,156,138,98,28,141,142,24,25,137,129,143,38,19,71,72,73,74,75,76,77,78,83,85,86,22,10,90,91,144,29,30,145,146,147,148,149,150,151,152,154,155,157,158,159,160,161,162,163,109,102,110,111,164,165,34,167,168,106,107,7,169,21,170,171,172,173,177,178,179,180,182,124,183,211,205,204,203,280,16])))}),Jle=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/automations",staticData:{pageTitle:"settings.nav.automations",defaultMain:"automations",mainView:"automations"},beforeLoad:({params:e,search:t})=>{const o=t.automation;if(o)throw Jo({to:"/$org/projects/$agentId/automations/$automationId",params:{org:e.org,agentId:e.agentId,automationId:o},search:a=>({...a,automation:void 0}),hash:!0,replace:!0})},component:Be(()=>Fe(()=>import("./agent-automations-DBSfm1Um.js"),__vite__mapDeps([288,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,17,16,250,289,21,97])))}),Xle=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/automations/$automationId",staticData:{pageTitle:"settings.nav.automations",defaultMain:"automations",mainView:"automation"},validateSearch:we({automationView:So(["settings","runs"]).optional()}),component:Be(()=>Fe(()=>import("./agent-automation-5jRP2Yu0.js"),__vite__mapDeps([290,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,21,150,33,152,139,166,238,291,153,116,117,118,119,120,149,29,30,151,292,250,178,293,154,155,138,98,140,141,142,24,25,156,157,294,229,131,295,145,191,192,97,296,14,16,170,159,160,236,264,171,177,179,180,181,182,183,143,169])))}),ece=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/settings",staticData:{pageTitle:"sidebar.navDestinations.settings",defaultMain:"settings",mainView:"settings"},component:Be(()=>Fe(()=>import("./agent-settings-DeB5MuX_.js"),__vite__mapDeps([297,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,298,109,102,110,111,116,117,118,119,120,292,16,299,25,107,7,97,34,166,293,163,164,165,153,98,29,30,167,168,106,169,21,170,171,143,157,150,17,300,181,238,156,140,33,152,190,228,24,142,203,174,301,302,182,215])))}),tce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/library",staticData:{pageTitle:"sidebar.navDestinations.library",defaultMain:"files",mainView:"files"},validateSearch:we(nv),component:Be(()=>Fe(()=>import("./agent-library-BqFtXY1m.js"),__vite__mapDeps([303,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,274,259,97,120,119,157,275,34,141,142,242,152,240,241,243,175,192,143,276,209,195,24,25,14,159,160,277])))}),oce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/assets",staticData:{pageTitle:"common.mainPanelTabs.assets",defaultMain:"assets",mainView:"assets"},component:Be(()=>Fe(()=>import("./agent-assets-DJjZB71J.js"),__vite__mapDeps([304,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,285,237,166,238,181,140,176,116,117,118,119,120,174,139,153,156,138,98,141,142,24,25,137,143,144,29,30,145,146,147,148,149,150,151,152,154,155,157,158,159,160,161,162,163,109,102,110,111,164,165,34,167,168,106,107,7,169,21,170,171,172,173,177,178,179,180,182,183,211,205,204,203,97,17,197])))}),ace=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/releases",staticData:{pageTitle:"common.mainPanelTabs.releases",defaultMain:"releases",mainView:"releases"},component:Be(()=>Fe(()=>import("./agent-releases-CwPpC6Zn.js"),__vite__mapDeps([305,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,285,237,166,238,181,140,176,116,117,118,119,120,174,139,153,156,138,98,141,142,24,25,137,143,144,29,30,145,146,147,148,149,150,151,152,154,155,157,158,159,160,161,162,163,109,102,110,111,164,165,34,167,168,106,107,7,169,21,170,171,172,173,177,178,179,180,182,183,211,205,204,203,97,136,175,184,216,208])))}),nce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/hosting",staticData:{pageTitle:"common.mainPanelTabs.hosting",defaultMain:"hosting",mainView:"hosting"},component:Be(()=>Fe(()=>import("./agent-hosting-CPH-NeL_.js"),__vite__mapDeps([306,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,21,209,97,14,178,29,30,298,109,102,110,111,116,117,118,119,120,292,16,299,25,107,7,34,166,293,163,164,165,153,98,167,168,106,169,170,171,143,157,150,17,300,181,238,156,140,33,152,190,228,24,142,203,174,301,302,182,215])))}),rce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/e2e",staticData:{pageTitle:"common.mainPanelTabs.e2e",defaultMain:"e2e",mainView:"e2e"},component:Be(()=>Fe(()=>import("./agent-e2e-PI2OzWvI.js"),__vite__mapDeps([307,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,21,97,29,30,14,209,178,145,298,109,102,110,111,116,117,118,119,120,292,16,299,25,107,7,34,166,293,163,164,165,153,98,167,168,106,169,170,171,143,157,150,17,300,181,238,156,140,33,152,190,228,24,142,203,174,301,302,182,215])))}),ice=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/analytics",staticData:{pageTitle:"common.mainPanelTabs.analytics",defaultMain:"analytics",mainView:"analytics"},validateSearch:we({view:$().optional()}),component:Be(()=>Fe(()=>import("./agent-analytics-bu3kFNJu.js"),__vite__mapDeps([308,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,21,150,14,245,246,247,248,97,209,249,273,298,109,102,110,111,116,117,118,119,120,292,16,299,25,107,7,34,166,293,163,164,165,153,98,29,30,167,168,106,169,170,171,143,157,17,300,181,238,156,140,33,152,190,228,24,142,203,174,301,302,182,215])))}),sce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/taskboard-analytics",staticData:{pageTitle:"taskBoard.analytics.title",defaultMain:"board",mainView:"board"},component:Be(()=>Fe(()=>import("./taskboard-analytics-DhwjY7M5.js"),__vite__mapDeps([309,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,265,169,21,257,266,152,190,30,193,267,245,246,247,248,14,195,24,25,229,131,268,269,270,271,272,249,273,230,224,196])))}),lce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/experiments",staticData:{pageTitle:"common.mainPanelTabs.experiments",defaultMain:"experiments",mainView:"experiments"},validateSearch:we({ui:Ze("legacy").optional()}),component:Be(()=>Fe(()=>import("./agent-experiments-DRdlymR5.js"),__vite__mapDeps([310,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,21,14,29,30,209,311,312,34,97,259,263,269,248,246,270,271,247,298,109,102,110,111,116,117,118,119,120,292,16,299,25,107,7,166,293,163,164,165,153,98,167,168,106,169,170,171,143,157,150,17,300,181,238,156,140,33,152,190,228,24,142,203,174,301,302,182,215])))}),cce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/cdn",staticData:{pageTitle:"common.mainPanelTabs.cdn",defaultMain:"cdn",mainView:"cdn"},component:Be(()=>Fe(()=>import("./agent-monitor-PGLXk9dq.js"),__vite__mapDeps([313,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,245,246,247,248,209,152,249,314,21,272,270,271,273,298,109,102,110,111,116,117,118,119,120,292,16,299,25,107,7,97,34,166,293,163,164,165,153,98,29,30,167,168,106,169,170,171,143,157,150,17,300,181,238,156,140,33,190,228,24,142,203,174,301,302,182,215,280,161,162])))}),dce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/apps/$connectionId/$toolName",staticData:{pageTitle:"page.app",defaultMain:"app",mainView:"app"},component:Be(()=>Fe(()=>import("./agent-app-BMA5upH5.js"),__vite__mapDeps([315,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,205,316,139,238,179,180,181,116,117,118,119,120,230,224,131,95,100,101,102,103,98,104,105,106,107,7,108,109,110,111])))}),uce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/views/$viewId",staticData:{pageTitle:"page.view",defaultMain:"view",mainView:"view"},component:Be(()=>Fe(()=>import("./agent-view-Cl8uWNJN.js"),__vite__mapDeps([317,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,316,139,238,179,180,181,116,117,118,119,120,230,224,131,95,100,101,102,103,98,104,105,106,107,7,108,109,110,111,298,292,16,299,25,97,34,166,293,163,164,165,153,29,30,167,168,169,21,170,171,143,157,150,17,300,156,140,33,152,190,228,24,142,203,174,301,302,182,215])))}),pce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/outputs/file",staticData:{pageTitle:"page.file",defaultMain:"file",mainView:"file"},validateSearch:we({key:$().optional()}),component:Be(()=>Fe(()=>import("./agent-file-BzADFUid.js"),__vite__mapDeps([318,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,143,243,157,175,192,141,142,120,183,116,117,118,119,298,109,102,110,111,292,16,299,25,107,7,97,34,166,293,163,164,165,153,98,29,30,167,168,106,169,21,170,171,150,17,300,181,238,156,140,33,152,190,228,24,203,174,301,302,182,215])))}),mce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/outputs/deck",staticData:{pageTitle:"page.document",defaultMain:"deck",mainView:"deck"},validateSearch:we({path:$().optional()}),component:Be(()=>Fe(()=>import("./agent-deck-BJf1WFap.js"),__vite__mapDeps([319,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,242,157,152,298,109,102,110,111,116,117,118,119,120,292,16,299,25,107,7,97,34,166,293,163,164,165,153,98,29,30,167,168,106,169,21,170,171,143,150,17,300,181,238,156,140,33,190,228,24,142,203,174,301,302,182,215])))}),hce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/library/file",staticData:{pageTitle:"page.file",defaultMain:"library-file",mainView:"library-file"},validateSearch:we({path:$().optional()}),component:Be(()=>Fe(()=>import("./agent-library-file-CQDlY3Yr.js"),__vite__mapDeps([320,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,321,241,242,157,152,243,175,192,143,141,142,120,298,109,102,110,111,116,117,118,119,292,16,299,25,107,7,97,34,166,293,163,164,165,153,98,29,30,167,168,106,169,21,170,171,150,17,300,181,238,156,140,33,190,228,24,203,174,301,302,182,215])))}),gce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>xo,path:"/connect-sources",staticData:{pageTitle:"settings.nav.connect",defaultMain:"connect-sources",mainView:"connect-sources"},component:Be(()=>Fe(()=>import("./agent-connect-sources-C1dugrdG.js"),__vite__mapDeps([322,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,99,95,100,101,102,103,98,104,105,106,107,7,108,109,110,111,234,112])))}),fce=Oe({getParentRoute:()=>xo,path:"/$legacyView",component:()=>null}),vce=Oe({getParentRoute:()=>Mn,path:"/agents",validateSearch:rm,beforeLoad:({params:e,search:t})=>{const o=t.virtualmcpid?.trim();throw Jo(o?{to:"/$org/projects/$agentId",params:{org:e.org,agentId:o},search:a=>a,hash:!0,replace:!0}:{to:"/$org/projects",params:{org:e.org},search:a=>a,hash:!0,replace:!0})}}),bce=Oe({getParentRoute:()=>Mn,path:"/agents/$",validateSearch:rm,beforeLoad:({params:e,location:t})=>{const o=e._splat?.split("/").find(Boolean);if(!T3(o))return;const a=ple(t.pathname);if(!a)return;const n=t.hash?`#${t.hash}`:"";throw Jo({href:`${a}${t.searchStr}${n}`,replace:!0})},component:Be(()=>Fe(()=>import("./legacy-agents-deep-jcGaNAHc.js"),__vite__mapDeps([323,239,70])))}),yce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>Mn,path:"/tasks/{-$taskKey}",staticData:{pageTitle:"sidebar.navDestinations.tasks",defaultMain:"board",mainView:"board"},validateSearch:we({task:$().optional(),...ak}),beforeLoad:({params:e,search:t})=>{const o=x3(e.taskKey,t);if(o)throw Jo({to:"/$org/tasks/{-$taskKey}",params:{org:e.org,taskKey:o.taskKey},search:o.search,hash:!0,replace:!0})},component:Be(()=>Fe(()=>import("./tasks-Ds4uIhX_.js"),__vite__mapDeps([324,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,256,131,132,257,196,152,138,139,98,140,141,142,120,24,25,117,116,118,119,155,258,21,33,34,157,250,26,259,225,172,159,160,29,30,230,224,229,260,193,189,178,261,194,262,187,263,166,103,264,171,177,179,180,181,182,156,183,143,170,236,148,144,213,280,161,162,281])))}),Sce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>Mn,path:"/taskboard-analytics",staticData:{defaultMain:"board",mainView:"board"},component:Be(()=>Fe(()=>import("./taskboard-analytics-DhwjY7M5.js"),__vite__mapDeps([309,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,265,169,21,257,266,152,190,30,193,267,245,246,247,248,14,195,24,25,229,131,268,269,270,271,272,249,273,230,224,196])))}),wce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>Mn,path:"/thread-analytics",staticData:{defaultMain:"board",mainView:"board"},component:Be(()=>Fe(()=>import("./thread-analytics-ykgOvgFb.js"),__vite__mapDeps([325,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,267,245,246,247,248,14,195,24,25,21,229,131,268,269,270,271,272,249,273,226,196,152,29,30,145,264,171,177,178,142,138,139,98,140,141,120,117,116,118,119,179,180,181,182,166,156,183,143,170,236])))}),Tce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>Mn,path:"/reports",staticData:{pageTitle:"sidebar.navDestinations.reports",defaultMain:"reports",mainView:"reports"},validateSearch:we({connect:kv().optional(),siteUrl:$().optional()}),component:Be(()=>Fe(()=>import("./reports-AMpsYdUr.js"),__vite__mapDeps([326,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,283,95,233,101,102,103,252,112,113,254,227])))}),xce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>Mn,path:"/library",staticData:{pageTitle:"sidebar.navDestinations.library",defaultMain:"files",mainView:"files"},validateSearch:we(nv),component:Be(()=>Fe(()=>import("./library-DntM1dnS.js"),__vite__mapDeps([327,120,122,121,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,321,241,242,157,152,243,175,192,143,141,142,274,259,97,119,275,34,240,276,209,195,24,25,14,159,160])))}),_ce=Oe({pendingComponent:Qt,errorComponent:Gt,getParentRoute:()=>Mn,path:"/discover",staticData:{pageTitle:"sidebar.navDestinations.discover",defaultMain:"discover",mainView:"discover"},component:Be(()=>Fe(()=>import("./discover-C_Que9Au.js"),__vite__mapDeps([328,121,122,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129,166,159,160,203,111])))}),kce=Oe({getParentRoute:()=>Zv,path:"/members",beforeLoad:({params:e})=>{throw Jo({to:"/$org/settings/members",params:{org:e.org}})}}),Cce=we({main:io([$(),Ze(0)]).optional(),virtualmcpid:$().optional(),...k3,sidepanel:PL,mainpanel:EL,thread:$().optional()}),Pce=Oe({getParentRoute:()=>Qv,path:"/",validateSearch:Cce,pendingComponent:Md,component:Be(()=>Fe(()=>import("./index-5vR8G6oj.js"),__vite__mapDeps([329,239,70])))}),Ece=Oe({getParentRoute:()=>Qv,path:"/t/$taskKey",beforeLoad:({params:e})=>{throw Jo({to:"/$org/tasks/{-$taskKey}",params:{org:e.org,taskKey:e.taskKey},search:t=>t,hash:!0,replace:!0})}}),so=Oe({staticData:{pageTitle:"sidebar.navDestinations.settings"},getParentRoute:()=>Zv,path:"/settings",pendingComponent:Md,component:Be(()=>Fe(()=>import("./route-G0-ZvPpf.js"),__vite__mapDeps([330,122,121,123,124,84,31,125,70,69,66,67,68,8,79,3,2,80,81,35,82,126,88,36,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,127,38,19,71,72,73,74,75,76,28,77,78,83,85,86,87,22,10,89,90,91,128,129])))}),Ace=Oe({getParentRoute:()=>so,path:"/",component:Be(()=>Fe(()=>import("./index-redirect-CCsqcmui.js"),__vite__mapDeps([331,332])))}),Rce=Oe({staticData:{pageTitle:"settings.nav.connections"},getParentRoute:()=>so,path:"/connections",component:Be(()=>Fe(()=>import("./connections-DC5XESZs.js"),__vite__mapDeps([333,109,102,110,111,334,15,55,84,31,195,21,17,18,169,164,85,86,165,82,74,45,41,42,43,44,46,47,39,48,32,49,40,50,51,52,53,54,56,57,58,59,60,61,62,63,20,64,65,16,335,97,170,122,153,98,28,29,30,34,166,68,8,67,181,66,167,168,106,107,7,150]))),validateSearch:Hr(()=>we({action:So(["create"]).optional(),tab:So(["all","connected"]).optional()}))}),Dce=Oe({staticData:{pageTitle:"settings.nav.connections"},getParentRoute:()=>so,path:"/connections/$appSlug",component:Be(()=>Fe(()=>import("./connection-detail-DN36Ozvh.js"),__vite__mapDeps([336,109,102,110,111,16,168,61,62,337,68,8,238,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,18,63,20,64,65,166,29,30,31,246,312,73,152,84,67,122,338,78,79,3,2,80,81,35,82,167,300,21,181,7,159,160,19,107,74,124,98,28,156,335,97,339,245,247,248,249,273,269,268,270,271,272,145,165,180,87]))),validateSearch:Hr(()=>we({tab:$().optional()}))}),Oce=Oe({staticData:{pageTitle:"page.item"},getParentRoute:()=>so,path:"/connections/$appSlug/$collectionName/$itemId",component:Be(()=>Fe(()=>import("./collection-detail-BTHodnm7.js"),__vite__mapDeps([340,16,68,8,98,28,34,337,238,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,166,109,102,110,111,29,30,31,246,312,73,152,84,67,122,338,78,79,3,2,80,81,35,82,167,180,181,189,165,300,21,7,179,74,116,69,70,66,89,117,118,119,120,88,38,19,71,72,75,76,77,83,85,86,87,22,10,90,91,191,192,209]))),validateSearch:Hr(()=>we({replayId:$().optional()}))}),Mce=Oe({staticData:{pageTitle:"orgs.monitoring.title"},getParentRoute:()=>so,path:"/monitor",component:Be(()=>Fe(()=>import("./index-CZciUUmu.js"),__vite__mapDeps([341,17,18,16,342,343,332,177,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,62,63,20,64,65,24,25,178,142,138,139,98,28,140,141,120,122,69,70,66,67,68,8,84,31,117,79,3,2,80,81,35,82,116,89,118,119,88,71,179,180,181,182,38,19,72,73,74,75,76,77,78,83,85,86,87,22,10,90,91,124,166,156,183,143,165,21,152,191,192,159,160,295,150,29,30,266,190,193,34,169,33,189,339,245,246,247,248,249,273,269,268,270,271,272,264,171,170,236,14,296,250,209,224,314,280,161,162]))),validateSearch:Hr(()=>we({tab:So(["overview","audit","dashboards","threads","automations","stores"]).default("threads"),store:$().optional(),at:$().optional(),from:$().default("now-24h"),to:$().default("now"),connectionId:je($()).optional().default([]),virtualMcpId:je($()).optional().default([]),tool:$().default(""),status:So(["all","success","errors"]).default("all"),search:$().default(""),page:Mt().optional(),streaming:qt().default(!0),propertyFilters:$().default(""),hideSystem:qt().default(!1)}))}),Nce=Oe({staticData:{pageTitle:"settings.nav.general"},getParentRoute:()=>so,path:"/general",component:Be(()=>Fe(()=>import("./general-BQtDTtDD.js"),__vite__mapDeps([344,160,293,19,20,345,33,40,88,35,81,166,68,8,346,21,29,30,31,32,97,332])))}),Ice=Oe({staticData:{pageTitle:"settings.nav.connect"},getParentRoute:()=>so,path:"/connect",pendingComponent:Li("connect"),component:Be(()=>Fe(()=>import("./connect-2yc9-JJp.js"),__vite__mapDeps([347,189,21,29,30,31,32,145,142,50,56,57,253,348,42,61,62,97,28,68,8,342,343,332])))}),Lce=Oe({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>so,path:"/ai-providers",pendingComponent:Li("billing"),component:Be(()=>Fe(()=>import("./ai-providers-B3x7urKU.js"),__vite__mapDeps([349,42,118,48,88,35,81,291,153,122,116,69,70,66,67,68,8,89,79,3,2,80,82,117,119,120,149,150,29,30,31,32,44,49,56,43,18,151,58,19,20,53,293,147,97,148,162,61,62,299,25,33,342,343,332])))}),Bce=Oe({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>so,path:"/billing",beforeLoad:({params:e})=>{throw Jo({to:"/$org/settings/ai-providers",params:{org:e.org}})}}),Fce=Oe({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>so,path:"/infra-billing",pendingComponent:Li("billing"),component:Be(()=>Fe(()=>import("./infra-billing-fufjpAYz.js"),__vite__mapDeps([350,51,21,295,150,32,72,73,18,152,29,30,31,14,249,248,246,273,271,342,343,332])))}),jce=Oe({staticData:{pageTitle:"settings.nav.secrets"},getParentRoute:()=>so,path:"/secrets",component:Be(()=>Fe(()=>import("./secrets-BxBi0DW0.js"),__vite__mapDeps([351,42,61,20,64,28,29,30,31,32,34,302,342,343,332])))}),zce=Oe({staticData:{pageTitle:"settings.nav.connect"},getParentRoute:()=>so,path:"/api-keys",pendingComponent:Li("connect"),component:Be(()=>Fe(()=>import("./api-keys-DSwUfsL4.js"),__vite__mapDeps([352,348,42,50,56,61,62,97,28,68,8,342,343,332])))}),Uce=Oe({staticData:{pageTitle:"settings.nav.storage"},getParentRoute:()=>so,path:"/buckets",pendingComponent:Li("storage"),component:Be(()=>Fe(()=>import("./buckets-DZKIT9DY.js"),__vite__mapDeps([353,42,61,62,97,28,29,30,31,32,33,34,126,342,343,332])))}),qce=Oe({staticData:{pageTitle:"settings.nav.repositories"},getParentRoute:()=>so,path:"/repositories",validateSearch:we({git_error:$().optional().catch(void 0),git_flow:$().uuid().optional().catch(void 0),git_installation:Mt().int().positive().safe().optional().catch(void 0),git_return:qt().optional().catch(void 0)}),pendingComponent:Li("repositories"),component:Be(()=>Fe(()=>import("./repositories-D6jC23CW.js"),__vite__mapDeps([354,83,44,61,84,31,28,85,86,87,18,46,19,20,22,88,35,81,45,150,64,97,21,189,129,29,30,32,34,62,301,302,342,343,332])))}),$ce=Oe({staticData:{pageTitle:"settings.nav.storage"},getParentRoute:()=>so,path:"/synced-repos",pendingComponent:Li("storage"),component:Be(()=>Fe(()=>import("./synced-repos-VO9uiFX2.js"),__vite__mapDeps([355,61,97,83,44,84,31,28,85,86,87,18,46,19,20,22,88,35,81,275,24,25,342,343,332])))}),Vce=Oe({staticData:{pageTitle:"settings.nav.tasks"},getParentRoute:()=>so,path:"/task-board",component:Be(()=>Fe(()=>import("./tasks-FmvKs9d3.js"),__vite__mapDeps([356,150,34,49,60,61,196,72,73,18,152,295,21,32,29,30,31,33,97,294,345,40,88,35,81,166,68,8,22,250,258,65,129,84,124,157,85,86,80,2,342,343,332])))}),Hce=Oe({getParentRoute:()=>so,path:"/tasks",beforeLoad:({params:e})=>{throw Jo({to:"/$org/settings/task-board",params:{org:e.org}})}}),Gce=Oe({staticData:{pageTitle:"projects.settings.title"},getParentRoute:()=>so,path:"/projects",component:Be(()=>Fe(()=>import("./projects-Dzy3_FXd.js"),__vite__mapDeps([357,41,42,43,15,44,45,46,47,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,21,17,76,28,77,68,8,78,67,79,3,2,80,81,35,82,83,84,31,85,86,87,19,22,88,254,299,25,233,101,102,103,227,66,166])))}),Wce=Oe({staticData:{pageTitle:"settings.nav.members"},getParentRoute:()=>so,path:"/members",pendingComponent:Li("members"),component:Be(()=>Fe(()=>import("./members-BLeFrNm9.js"),__vite__mapDeps([358,334,15,55,84,31,195,21,17,18,13,14,16,222,98,28,29,30,32,34,160,223,19,20,24,25,26,159,359,97,52,56,62,65,150,72,73,152,61,260,342,343,332])))}),Kce=Oe({staticData:{pageTitle:"settings.nav.members"},getParentRoute:()=>so,path:"/roles",pendingComponent:Li("members"),component:Be(()=>Fe(()=>import("./roles-DWOkvlO_.js"),__vite__mapDeps([360,223,160,359,21,97,52,61,62,13,14,15,16,17,18,151,74,45,41,42,43,44,46,47,39,48,32,49,40,50,51,53,54,55,56,57,58,59,60,63,20,64,65,170,150,171,86,68,8,87,110,111,159,26,166,67,118,19,33,84,31,75,66,343,332]))),validateSearch:Hr(()=>we({role:$().optional()}))}),Yce=Oe({staticData:{pageTitle:"settings.nav.security"},getParentRoute:()=>so,path:"/sso",component:Be(()=>Fe(()=>import("./sso-DMQ-B__P.js"),__vite__mapDeps([361,346,21,29,30,31,32,97,33,90,62,342,343,332])))}),Zce=Oe({staticData:{pageTitle:"settings.nav.profile"},getParentRoute:()=>so,path:"/profile",component:Be(()=>Fe(()=>import("./profile-DEiIcjHZ.js"),__vite__mapDeps([362,19,20,311,312,30,62,63,33,29,31,32,147,58,59,60,293,158])))}),Qce=Oe({staticData:{pageTitle:"settings.nav.agents"},getParentRoute:()=>so,path:"/agents",component:Be(()=>Fe(()=>import("./agents-list-DYmELJk-.js"),__vite__mapDeps([363,67,68,8,52,43,62,41,42,15,44,45,46,47,39,48,32,49,40,50,51,53,54,55,56,57,58,59,60,61,18,63,20,64,65,299,25,78,79,3,2,80,81,35,82,88,16,338,166,106,107,7,109,102,110,111,83,84,31,28,85,86,87,19,22,103,104,97,17,77])))}),Jce=Oe({staticData:{pageTitle:"settings.nav.automations"},getParentRoute:()=>so,path:"/automations",component:Be(()=>Fe(()=>import("./automations-megKF7It.js"),__vite__mapDeps([364,61,47,17,18,16,250,68,8,78,67,79,3,2,80,81,35,82,289,21,97,41,42,43,15,44,45,46,39,48,32,49,40,50,51,52,53,54,55,56,57,58,59,60,62,63,20,64,65,342,343,332])))}),Xce=Oe({staticData:{pageTitle:"settings.nav.skills"},getParentRoute:()=>so,path:"/skills",component:Be(()=>Fe(()=>import("./skills-D2FiXzGW.js"),__vite__mapDeps([365,52,47,62,63,17,18,97,16,169,21,276,141,142,50,120,122,69,70,66,67,68,8,243,157,85,86,175,53,192,143])))}),ede=Oe({staticData:{pageTitle:"settings.nav.memory"},getParentRoute:()=>so,path:"/memory",component:Be(()=>Fe(()=>import("./memory-BsNDNxr2.js"),__vite__mapDeps([366,39,20,189,84,31,169,21,16,71,157,85,86]))),validateSearch:Hr(()=>we({scope:So(["user"]).optional()}))}),tde=so.addChildren([Ace,Rce,Dce,Oce,Qce,Jce,Xce,ede,Mce,Nce,Ice,Lce,Bce,Fce,jce,zce,Uce,qce,$ce,Vce,Hce,Gce,Wce,Kce,Yce,Zce]),ode=Jv.addChildren([Yle,Zle,Qle]),ade=xo.addChildren([Gle,Wle,Kle,ode,Jle,Xle,ece,tce,oce,ace,nce,rce,ice,sce,lce,cce,dce,uce,pce,mce,hce,gce,fce]),nde=Mn.addChildren([$le,Vle,Hle,ade,vce,bce,yce,Sce,wce,Tce,xce,_ce]),rde=Qv.addChildren([Pce,Ece,nde]),ide=Zv.addChildren([rde,kce,tde]),sde=nk.addChildren([Mle,ide]),lde=Ka.addChildren([sde,Ole,Nle,Ile,Lle,Ble,rk.addChildren([Fle,jle]),zle,Tle,xle,_le,kle,Cle,Ple]);function cde(){const e=Re.c(16),t=ar();let o;e[0]!==t?(o=t("common.index.pageNotFound"),e[0]=t,e[1]=o):o=e[1];let a;e[2]!==o?(a=w.jsx("h3",{className:"text-lg font-medium text-foreground",children:o}),e[2]=o,e[3]=a):a=e[3];let n;e[4]!==t?(n=t("common.index.pageNotFoundDescription"),e[4]=t,e[5]=n):n=e[5];let i;e[6]!==n?(i=w.jsx("p",{className:"text-sm text-muted-foreground text-center max-w-[300px]",children:n}),e[6]=n,e[7]=i):i=e[7];let l;e[8]!==t?(l=t("common.goBack"),e[8]=t,e[9]=l):l=e[9];let c;e[10]!==l?(c=w.jsx("button",{type:"button",onClick:dde,className:"text-sm text-primary hover:underline",children:l}),e[10]=l,e[11]=c):c=e[11];let d;return e[12]!==a||e[13]!==i||e[14]!==c?(d=w.jsx("div",{className:"flex h-full items-center justify-center",children:w.jsxs("div",{className:"flex flex-col items-center gap-4 p-8",children:[a,i,c]})}),e[12]=a,e[13]=i,e[14]=c,e[15]=d):d=e[15],d}function dde(){return window.history.back()}const Xv=j8({routeTree:lde,defaultPendingComponent:Md,defaultPendingMs:200,defaultPendingMinMs:500,defaultNotFoundComponent:cde});function Pe(...e){return CL(u_(e))}function ude(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}function qo({error:e,localization:t,localizeErrors:o=!0}){var a;const n="Request failed";if(!o)return e?.message?e.message:(a=e?.error)!=null&&a.message?e.error.message:n;if(typeof e=="string"&&t?.[e])return t[e];if(e?.error){if(e.error.code){const i=e.error.code;if(t?.[i])return t[i]}return e.error.message||e.error.code||e.error.statusText||t?.REQUEST_FAILED}return e?.message||t?.REQUEST_FAILED||n}function zl(e){return typeof window<"u"?new URLSearchParams(window.location.search).get(e):null}function XT(e,t){for(const o in e)if(e[o]===t)return o}function Bp(e,t){let o=$().min(1,{message:t?.PASSWORD_REQUIRED});return e?.minLength&&(o=o.min(e.minLength,{message:t?.PASSWORD_TOO_SHORT})),e?.maxLength&&(o=o.max(e.maxLength,{message:t?.PASSWORD_TOO_LONG})),e?.regex&&(o=o.regex(e.regex,{message:t?.INVALID_PASSWORD})),o}var pde={FAILED_TO_CREATE_USER:"Failed to create user",USER_ALREADY_EXISTS:"User already exists",YOU_CANNOT_BAN_YOURSELF:"You cannot ban yourself",YOU_ARE_NOT_ALLOWED_TO_CHANGE_USERS_ROLE:"You are not allowed to change users role",YOU_ARE_NOT_ALLOWED_TO_CREATE_USERS:"You are not allowed to create users",YOU_ARE_NOT_ALLOWED_TO_LIST_USERS:"You are not allowed to list users",YOU_ARE_NOT_ALLOWED_TO_LIST_USERS_SESSIONS:"You are not allowed to list users sessions",YOU_ARE_NOT_ALLOWED_TO_BAN_USERS:"You are not allowed to ban users",YOU_ARE_NOT_ALLOWED_TO_IMPERSONATE_USERS:"You are not allowed to impersonate users",YOU_ARE_NOT_ALLOWED_TO_REVOKE_USERS_SESSIONS:"You are not allowed to revoke users sessions",YOU_ARE_NOT_ALLOWED_TO_DELETE_USERS:"You are not allowed to delete users",YOU_ARE_NOT_ALLOWED_TO_SET_USERS_PASSWORD:"You are not allowed to set users password",BANNED_USER:"You have been banned from this application"},mde={FAILED_TO_CREATE_USER:"Failed to create user",COULD_NOT_CREATE_SESSION:"Could not create session",ANONYMOUS_USERS_CANNOT_SIGN_IN_AGAIN_ANONYMOUSLY:"Anonymous users cannot sign in again anonymously"},hde={INVALID_METADATA_TYPE:"metadata must be an object or undefined",REFILL_AMOUNT_AND_INTERVAL_REQUIRED:"refillAmount is required when refillInterval is provided",REFILL_INTERVAL_AND_AMOUNT_REQUIRED:"refillInterval is required when refillAmount is provided",USER_BANNED:"User is banned",UNAUTHORIZED_SESSION:"Unauthorized or invalid session",KEY_NOT_FOUND:"API Key not found",KEY_DISABLED:"API Key is disabled",KEY_EXPIRED:"API Key has expired",USAGE_EXCEEDED:"API Key has reached its usage limit",KEY_NOT_RECOVERABLE:"API Key is not recoverable",EXPIRES_IN_IS_TOO_SMALL:"The expiresIn is smaller than the predefined minimum value.",EXPIRES_IN_IS_TOO_LARGE:"The expiresIn is larger than the predefined maximum value.",INVALID_REMAINING:"The remaining count is either too large or too small.",INVALID_PREFIX_LENGTH:"The prefix length is either too large or too small.",INVALID_NAME_LENGTH:"The name length is either too large or too small.",METADATA_DISABLED:"Metadata is disabled.",RATE_LIMIT_EXCEEDED:"Rate limit exceeded.",NO_VALUES_TO_UPDATE:"No values to update.",KEY_DISABLED_EXPIRATION:"Custom key expiration values are disabled.",INVALID_API_KEY:"Invalid API key.",INVALID_USER_ID_FROM_API_KEY:"The user id from the API key is invalid.",INVALID_API_KEY_GETTER_RETURN_TYPE:"API Key getter returned an invalid key type. Expected string.",SERVER_ONLY_PROPERTY:"The property you're trying to set can only be set from the server auth instance only."},gde={USER_NOT_FOUND:"User not found",FAILED_TO_CREATE_USER:"Failed to create user",FAILED_TO_CREATE_SESSION:"Failed to create session",FAILED_TO_UPDATE_USER:"Failed to update user",FAILED_TO_GET_SESSION:"Failed to get session",INVALID_PASSWORD:"Invalid password",INVALID_EMAIL:"Invalid email",INVALID_EMAIL_OR_PASSWORD:"Invalid email or password",SOCIAL_ACCOUNT_ALREADY_LINKED:"Social account already linked",PROVIDER_NOT_FOUND:"Provider not found",INVALID_TOKEN:"Invalid token",ID_TOKEN_NOT_SUPPORTED:"id_token not supported",FAILED_TO_GET_USER_INFO:"Failed to get user info",USER_EMAIL_NOT_FOUND:"User email not found",EMAIL_NOT_VERIFIED:"Email not verified",PASSWORD_TOO_SHORT:"Password too short",PASSWORD_TOO_LONG:"Password too long",USER_ALREADY_EXISTS:"User already exists",EMAIL_CAN_NOT_BE_UPDATED:"Email can not be updated",CREDENTIAL_ACCOUNT_NOT_FOUND:"Credential account not found",SESSION_EXPIRED:"Session expired. Re-authenticate to perform this action.",FAILED_TO_UNLINK_LAST_ACCOUNT:"You can't unlink your last account",ACCOUNT_NOT_FOUND:"Account not found",USER_ALREADY_HAS_PASSWORD:"User already has a password. Provide that to delete the account."},fde={VERIFICATION_FAILED:"Captcha verification failed",MISSING_RESPONSE:"Missing CAPTCHA response",UNKNOWN_ERROR:"Something went wrong"},vde={MISSING_SECRET_KEY:"Missing secret key",SERVICE_UNAVAILABLE:"CAPTCHA service unavailable"},bde={...fde,...vde},yde={OTP_EXPIRED:"otp expired",INVALID_OTP:"Invalid OTP",INVALID_EMAIL:"Invalid email",USER_NOT_FOUND:"User not found",TOO_MANY_ATTEMPTS:"Too many attempts"},Sde={INVALID_OAUTH_CONFIGURATION:"Invalid OAuth configuration"},wde={PASSWORD_COMPROMISED:"The password you entered has been compromised. Please choose a different password."},Tde={INVALID_SESSION_TOKEN:"Invalid session token"},xde={YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_ORGANIZATION:"You are not allowed to create a new organization",YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_ORGANIZATIONS:"You have reached the maximum number of organizations",ORGANIZATION_ALREADY_EXISTS:"Organization already exists",ORGANIZATION_NOT_FOUND:"Organization not found",USER_IS_NOT_A_MEMBER_OF_THE_ORGANIZATION:"User is not a member of the organization",YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_ORGANIZATION:"You are not allowed to update this organization",YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_ORGANIZATION:"You are not allowed to delete this organization",NO_ACTIVE_ORGANIZATION:"No active organization",USER_IS_ALREADY_A_MEMBER_OF_THIS_ORGANIZATION:"User is already a member of this organization",MEMBER_NOT_FOUND:"Member not found",ROLE_NOT_FOUND:"Role not found",YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_TEAM:"You are not allowed to create a new team",TEAM_ALREADY_EXISTS:"Team already exists",TEAM_NOT_FOUND:"Team not found",YOU_CANNOT_LEAVE_THE_ORGANIZATION_AS_THE_ONLY_OWNER:"You cannot leave the organization as the only owner",YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_MEMBER:"You are not allowed to delete this member",YOU_ARE_NOT_ALLOWED_TO_INVITE_USERS_TO_THIS_ORGANIZATION:"You are not allowed to invite users to this organization",USER_IS_ALREADY_INVITED_TO_THIS_ORGANIZATION:"User is already invited to this organization",INVITATION_NOT_FOUND:"Invitation not found",YOU_ARE_NOT_THE_RECIPIENT_OF_THE_INVITATION:"You are not the recipient of the invitation",YOU_ARE_NOT_ALLOWED_TO_CANCEL_THIS_INVITATION:"You are not allowed to cancel this invitation",INVITER_IS_NO_LONGER_A_MEMBER_OF_THE_ORGANIZATION:"Inviter is no longer a member of the organization",YOU_ARE_NOT_ALLOWED_TO_INVITE_USER_WITH_THIS_ROLE:"you are not allowed to invite user with this role",FAILED_TO_RETRIEVE_INVITATION:"Failed to retrieve invitation",YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_TEAMS:"You have reached the maximum number of teams",UNABLE_TO_REMOVE_LAST_TEAM:"Unable to remove last team",YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_MEMBER:"You are not allowed to update this member",ORGANIZATION_MEMBERSHIP_LIMIT_REACHED:"Organization membership limit reached",YOU_ARE_NOT_ALLOWED_TO_CREATE_TEAMS_IN_THIS_ORGANIZATION:"You are not allowed to create teams in this organization",YOU_ARE_NOT_ALLOWED_TO_DELETE_TEAMS_IN_THIS_ORGANIZATION:"You are not allowed to delete teams in this organization",YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_TEAM:"You are not allowed to update this team",YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_TEAM:"You are not allowed to delete this team",INVITATION_LIMIT_REACHED:"Invitation limit reached"},_de={CHALLENGE_NOT_FOUND:"Challenge not found",YOU_ARE_NOT_ALLOWED_TO_REGISTER_THIS_PASSKEY:"You are not allowed to register this passkey",FAILED_TO_VERIFY_REGISTRATION:"Failed to verify registration",PASSKEY_NOT_FOUND:"Passkey not found",AUTHENTICATION_FAILED:"Authentication failed",UNABLE_TO_CREATE_SESSION:"Unable to create session",FAILED_TO_UPDATE_PASSKEY:"Failed to update passkey"},kde={INVALID_PHONE_NUMBER:"Invalid phone number",PHONE_NUMBER_EXIST:"Phone number already exists",INVALID_PHONE_NUMBER_OR_PASSWORD:"Invalid phone number or password",UNEXPECTED_ERROR:"Unexpected error",OTP_NOT_FOUND:"OTP not found",OTP_EXPIRED:"OTP expired",INVALID_OTP:"Invalid OTP",PHONE_NUMBER_NOT_VERIFIED:"Phone number not verified"},Cde={SUBSCRIPTION_NOT_FOUND:"Subscription not found",SUBSCRIPTION_PLAN_NOT_FOUND:"Subscription plan not found",ALREADY_SUBSCRIBED_PLAN:"You're already subscribed to this plan",UNABLE_TO_CREATE_CUSTOMER:"Unable to create customer",FAILED_TO_FETCH_PLANS:"Failed to fetch plans",EMAIL_VERIFICATION_REQUIRED:"Email verification is required before you can subscribe to a plan",SUBSCRIPTION_NOT_ACTIVE:"Subscription is not active",SUBSCRIPTION_NOT_SCHEDULED_FOR_CANCELLATION:"Subscription is not scheduled for cancellation"},Pde={TEAM_LIMIT_REACHED:"Team limit reached for this organization",TEAM_MEMBER_LIMIT_REACHED:"Team member limit reached for this team",TEAM_NOT_FOUND:"Team not found",TEAM_MEMBER_NOT_FOUND:"Team member not found",TEAM_NAME_TOO_LONG:"Team name is too long",CANNOT_REMOVE_LAST_TEAM:"Cannot remove the last team",NOT_ORGANIZATION_MEMBER:"User is not a member of the organization",ALREADY_TEAM_MEMBER:"User is already a member of this team",INSUFFICIENT_TEAM_PERMISSIONS:"Insufficient permissions to perform this action on team"},Ede={OTP_NOT_ENABLED:"OTP not enabled",OTP_HAS_EXPIRED:"OTP has expired",TOTP_NOT_ENABLED:"TOTP not enabled",TWO_FACTOR_NOT_ENABLED:"Two factor isn't enabled",BACKUP_CODES_NOT_ENABLED:"Backup codes aren't enabled",INVALID_BACKUP_CODE:"Invalid backup code",INVALID_CODE:"Invalid code",TOO_MANY_ATTEMPTS_REQUEST_NEW_CODE:"Too many attempts. Please request a new code.",INVALID_TWO_FACTOR_COOKIE:"Invalid two factor cookie"},Ade={INVALID_USERNAME_OR_PASSWORD:"invalid username or password",EMAIL_NOT_VERIFIED:"email not verified",UNEXPECTED_ERROR:"unexpected error",USERNAME_IS_ALREADY_TAKEN:"username is already taken. please try another.",USERNAME_TOO_SHORT:"username is too short",USERNAME_TOO_LONG:"username is too long",INVALID_USERNAME:"username is invalid"},Rde={APP:"App",ACCOUNT:"Account",ACCOUNTS:"Accounts",ACCOUNTS_DESCRIPTION:"Switch between your currently signed in accounts.",ACCOUNTS_INSTRUCTIONS:"Sign in to an additional account.",ADD_ACCOUNT:"Add Account",ADD_PASSKEY:"Add Passkey",ALREADY_HAVE_AN_ACCOUNT:"Already have an account?",AVATAR:"Avatar",AVATAR_DESCRIPTION:"Click on the avatar to upload a custom one from your files.",AVATAR_INSTRUCTIONS:"An avatar is optional but strongly recommended.",BACKUP_CODE_REQUIRED:"Backup code is required",BACKUP_CODES:"Backup Codes",BACKUP_CODES_DESCRIPTION:"Save these backup codes in a secure place. You can use them to access your account if you lose your two-factor authentication method.",BACKUP_CODE_PLACEHOLDER:"Backup Code",BACKUP_CODE:"Backup Code",CANCEL:"Cancel",CHANGE_PASSWORD:"Change Password",CHANGE_PASSWORD_DESCRIPTION:"Enter your current password and a new password.",CHANGE_PASSWORD_INSTRUCTIONS:"Please use 8 characters at minimum.",CHANGE_PASSWORD_SUCCESS:"Your password has been changed.",CONFIRM_PASSWORD:"Confirm Password",CONFIRM_PASSWORD_PLACEHOLDER:"Confirm Password",CONFIRM_PASSWORD_REQUIRED:"Confirm password is required",CONTINUE_WITH_AUTHENTICATOR:"Continue with Authenticator",COPIED_TO_CLIPBOARD:"Copied to clipboard",COPY_TO_CLIPBOARD:"Copy to clipboard",COPY_ALL_CODES:"Copy all codes",CONTINUE:"Continue",CURRENT_PASSWORD:"Current Password",CURRENT_PASSWORD_PLACEHOLDER:"Current Password",CURRENT_SESSION:"Current Session",UPDATE:"Update",DELETE:"Delete",DELETE_AVATAR:"Delete Avatar",DELETE_ACCOUNT:"Delete Account",DELETE_ACCOUNT_DESCRIPTION:"Permanently remove your account and all of its contents. This action is not reversible, so please continue with caution.",DELETE_ACCOUNT_INSTRUCTIONS:"Please confirm the deletion of your account. This action is not reversible, so please continue with caution.",DELETE_ACCOUNT_VERIFY:"Please check your email to verify the deletion of your account.",DELETE_ACCOUNT_SUCCESS:"Your account has been deleted.",DISABLE_TWO_FACTOR:"Disable Two-Factor",DISABLED_CREDENTIALS_DESCRIPTION:"Choose a provider to login to your account",DONT_HAVE_AN_ACCOUNT:"Don't have an account?",DONE:"Done",EMAIL:"Email",EMAIL_DESCRIPTION:"Enter the email address you want to use to log in.",EMAIL_INSTRUCTIONS:"Please enter a valid email address.",EMAIL_IS_THE_SAME:"Email is the same",EMAIL_PLACEHOLDER:"m@example.com",EMAIL_REQUIRED:"Email address is required",EMAIL_VERIFY_CHANGE:"Please check your email to verify the change.",EMAIL_VERIFICATION:"Email Verification",EMAIL_VERIFICATION_DESCRIPTION:"Please check your email for the verification code to complete your registration.",EMAIL_VERIFICATION_SUCCESS:"Email verification successful.",ENABLE_TWO_FACTOR:"Enable Two-Factor",IS_INVALID:"is invalid",IS_REQUIRED:"is required",IS_THE_SAME:"is the same",FORGOT_AUTHENTICATOR:"Forgot authenticator?",FORGOT_PASSWORD:"Forgot Password",FORGOT_PASSWORD_ACTION:"Send reset link",FORGOT_PASSWORD_DESCRIPTION:"Enter your email to reset your password",FORGOT_PASSWORD_EMAIL:"Check your email for the password reset link.",FORGOT_PASSWORD_LINK:"Forgot your password?",LINK:"Link",MAGIC_LINK:"Magic Link",MAGIC_LINK_ACTION:"Send magic link",MAGIC_LINK_DESCRIPTION:"Enter your email to receive a magic link",MAGIC_LINK_EMAIL:"Check your email for the magic link",EMAIL_OTP:"Email Code",EMAIL_OTP_SEND_ACTION:"Send code",EMAIL_OTP_VERIFY_ACTION:"Verify code",EMAIL_OTP_DESCRIPTION:"Enter your email to receive a code",EMAIL_OTP_VERIFICATION_SENT:"Please check your email for the verification code.",NAME:"Name",NAME_DESCRIPTION:"Please enter your full name, or a display name.",NAME_INSTRUCTIONS:"Please use 32 characters at maximum.",NAME_PLACEHOLDER:"Name",NEW_PASSWORD:"New Password",NEW_PASSWORD_PLACEHOLDER:"New Password",NEW_PASSWORD_REQUIRED:"New password is required",ONE_TIME_PASSWORD:"One-Time Password",OR_CONTINUE_WITH:"Or continue with",PASSKEY:"Passkey",PASSKEYS:"Passkeys",PASSKEYS_DESCRIPTION:"Manage your passkeys for secure access.",PASSKEYS_INSTRUCTIONS:"Securely access your account without a password.",PERSONAL_ACCOUNT:"Personal Account",API_KEYS:"API Keys",API_KEYS_DESCRIPTION:"Manage your API keys for secure access.",API_KEYS_INSTRUCTIONS:"Generate API keys to access your account programmatically.",CREATE_API_KEY:"Create API Key",CREATE_API_KEY_DESCRIPTION:"Enter a unique name for your API key to differentiate it from other keys.",API_KEY_NAME_PLACEHOLDER:"New API Key",API_KEY_CREATED:"API Key Created",CREATE_API_KEY_SUCCESS:"Please copy your API key and store it in a safe place. For security reasons we cannot show it again.",NEVER_EXPIRES:"Never Expires",EXPIRES:"Expires",NO_EXPIRATION:"No Expiration",CREATE_ORGANIZATION:"Create Organization",ORGANIZATION:"Organization",ORGANIZATION_NAME:"Name",ORGANIZATION_NAME_PLACEHOLDER:"Acme Inc.",ORGANIZATION_NAME_DESCRIPTION:"This is your organization's visible name.",ORGANIZATION_NAME_INSTRUCTIONS:"Please use 32 characters at maximum.",ORGANIZATION_SLUG:"Slug URL",ORGANIZATION_SLUG_DESCRIPTION:"This is your organization's URL namespace.",ORGANIZATION_SLUG_INSTRUCTIONS:"Please use 48 characters at maximum.",ORGANIZATION_SLUG_PLACEHOLDER:"acme-inc",CREATE_ORGANIZATION_SUCCESS:"Organization created successfully",PASSWORD:"Password",PASSWORD_PLACEHOLDER:"Password",PASSWORD_REQUIRED:"Password is required",PASSWORDS_DO_NOT_MATCH:"Passwords do not match",PROVIDERS:"Providers",PROVIDERS_DESCRIPTION:"Connect your account with a third-party service.",RECOVER_ACCOUNT:"Recover Account",RECOVER_ACCOUNT_ACTION:"Recover account",RECOVER_ACCOUNT_DESCRIPTION:"Please enter a backup code to access your account",REMEMBER_ME:"Remember me",RESEND_CODE:"Resend code",RESEND_VERIFICATION_EMAIL:"Resend Verification Email",RESET_PASSWORD:"Reset Password",RESET_PASSWORD_ACTION:"Save new password",RESET_PASSWORD_DESCRIPTION:"Enter your new password below",RESET_PASSWORD_SUCCESS:"Password reset successfully",REQUEST_FAILED:"Request failed",REVOKE:"Revoke",DELETE_API_KEY:"Delete API Key",DELETE_API_KEY_CONFIRM:"Are you sure you want to delete this API key?",API_KEY:"API Key",SIGN_IN:"Sign In",SIGN_IN_ACTION:"Login",SIGN_IN_DESCRIPTION:"Enter your email below to login to your account",SIGN_IN_USERNAME_DESCRIPTION:"Enter your username or email to login to your account",SIGN_IN_WITH:"Sign in with",SIGN_OUT:"Sign Out",SIGN_UP:"Sign Up",SIGN_UP_ACTION:"Create an account",SIGN_UP_DESCRIPTION:"Enter your information to create an account",SIGN_UP_EMAIL:"Check your email for the verification link.",SESSIONS:"Sessions",SESSIONS_DESCRIPTION:"Manage your active sessions and revoke access.",SET_PASSWORD:"Set Password",SET_PASSWORD_DESCRIPTION:"Click the button below to receive an email to set up a password for your account.",SETTINGS:"Settings",SAVE:"Save",SECURITY:"Security",SWITCH_ACCOUNT:"Switch Account",TRUST_DEVICE:"Trust this device",TWO_FACTOR:"Two-Factor",TWO_FACTOR_ACTION:"Verify code",TWO_FACTOR_DESCRIPTION:"Please enter your one-time password to continue",TWO_FACTOR_CARD_DESCRIPTION:"Add an extra layer of security to your account.",TWO_FACTOR_DISABLE_INSTRUCTIONS:"Please enter your password to disable 2FA.",TWO_FACTOR_ENABLE_INSTRUCTIONS:"Please enter your password to enable 2FA.",TWO_FACTOR_ENABLED:"Two-factor authentication has been enabled",TWO_FACTOR_DISABLED:"Two-Factor Authentication has been disabled",TWO_FACTOR_PROMPT:"Two-Factor Authentication",TWO_FACTOR_TOTP_LABEL:"Scan the QR Code with your Authenticator",SEND_VERIFICATION_CODE:"Send verification code",UNLINK:"Unlink",UPDATED_SUCCESSFULLY:"updated successfully",USERNAME:"Username",USERNAME_DESCRIPTION:"Enter the username you want to use to log in.",USERNAME_INSTRUCTIONS:"Please use 32 characters at maximum.",USERNAME_PLACEHOLDER:"Username",OPTIONAL_BRACKETS:"(Optional)",SIGN_IN_USERNAME_PLACEHOLDER:"Username or email",VERIFY_YOUR_EMAIL:"Verify Your Email",VERIFY_YOUR_EMAIL_DESCRIPTION:"Please verify your email address. Check your inbox for the verification email. If you haven't received the email, click the button below to resend.",GO_BACK:"Go back",SESSION_NOT_FRESH:"Your session is not fresh. Please sign in again.",UPLOAD_AVATAR:"Upload Avatar",LOGO:"Logo",LOGO_DESCRIPTION:"Click on the logo to upload a custom one from your files.",LOGO_INSTRUCTIONS:"A logo is optional but strongly recommended.",UPLOAD:"Upload",UPLOAD_LOGO:"Upload Logo",DELETE_LOGO:"Delete Logo",PRIVACY_POLICY:"Privacy Policy",TERMS_OF_SERVICE:"Terms of Service",PROTECTED_BY_RECAPTCHA:"This site is protected by reCAPTCHA.",BY_CONTINUING_YOU_AGREE:"By continuing, you agree to the",USER:"User",ORGANIZATIONS:"Organizations",ORGANIZATIONS_DESCRIPTION:"Manage your organizations and memberships.",ORGANIZATIONS_INSTRUCTIONS:"Create an organization to collaborate with other users.",LEAVE_ORGANIZATION:"Leave Organization",LEAVE_ORGANIZATION_CONFIRM:"Are you sure you want to leave this organization?",LEAVE_ORGANIZATION_SUCCESS:"You have successfully left the organization.",MANAGE_ORGANIZATION:"Manage Organization",REMOVE_MEMBER:"Remove Member",REMOVE_MEMBER_CONFIRM:"Are you sure you want to remove this member from the organization?",REMOVE_MEMBER_SUCCESS:"Member removed successfully",INVITE_MEMBER:"Invite Member",MEMBERS:"Members",MEMBERS_DESCRIPTION:"Add or remove members and manage their roles.",MEMBERS_INSTRUCTIONS:"Invite new members to your organization.",INVITE_MEMBER_DESCRIPTION:"Send an invitation to add a new member to your organization.",ROLE:"Role",SELECT_ROLE:"Select a role",ADMIN:"Admin",MEMBER:"Member",GUEST:"Guest",OWNER:"Owner",UPDATE_ROLE_DESCRIPTION:"Update the role for this member",UPDATE_ROLE:"Update Role",MEMBER_ROLE_UPDATED:"Member role updated successfully",SEND_INVITATION:"Send Invitation",SEND_INVITATION_SUCCESS:"Invitation sent successfully",PENDING_INVITATIONS:"Pending Invitations",PENDING_INVITATIONS_DESCRIPTION:"Manage pending invitations to your organization.",PENDING_USER_INVITATIONS_DESCRIPTION:"Invitations you've received from organizations.",CANCEL_INVITATION:"Cancel Invitation",INVITATION_CANCELLED:"Invitation cancelled successfully",ACCEPT_INVITATION:"Accept Invitation",ACCEPT_INVITATION_DESCRIPTION:"You have been invited to join an organization.",INVITATION_ACCEPTED:"Invitation accepted successfully",INVITATION_REJECTED:"Invitation rejected successfully",ACCEPT:"Accept",REJECT:"Reject",INVITATION_EXPIRED:"This invitation has expired",DELETE_ORGANIZATION:"Delete Organization",DELETE_ORGANIZATION_DESCRIPTION:"Permanently remove your organization and all of its contents. This action is not reversible — please continue with caution.",DELETE_ORGANIZATION_SUCCESS:"Organization deleted successfully",DELETE_ORGANIZATION_INSTRUCTIONS:"Enter the organization slug to continue:",SLUG_REQUIRED:"Organization slug is required",SLUG_DOES_NOT_MATCH:"The slug does not match",TEAM:"Team",TEAMS:"Teams",TEAM_ACTIVE:"Active",TEAM_SET_ACTIVE:"Set Active",CREATE_TEAM:"Create Team",CREATE_TEAM_SUCCESS:"Team created successfully",UPDATE_TEAM:"Update Team",UPDATE_TEAMS:"Update Teams",SELECT_TEAMS:"Select teams",ADD:"Add",REMOVE:"Remove",UPDATE_TEAM_DESCRIPTION:"Update the name for this team",UPDATE_TEAMS_DESCRIPTION:"Add or remove teams for this member",REMOVE_TEAM_CONFIRM:"Are you sure you want to remove this team from the organization?",CREATE_TEAM_INSTRUCTIONS:"Add new team to your organization.",TEAM_NAME:"Team Name",TEAM_NAME_PLACEHOLDER:"Engineering Team",TEAM_NAME_DESCRIPTION:"This is your team's visible name.",TEAM_NAME_INSTRUCTIONS:"Please use 64 characters at maximum.",TEAMS_DESCRIPTION:"Manage your teams within your organization.",USER_TEAMS_DESCRIPTION:"You are a member of the following teams.",DELETE_TEAM:"Delete Team",DELETE_TEAM_DESCRIPTION:"Permanently remove this team and all of its contents.",DELETE_TEAM_SUCCESS:"Team deleted successfully",DELETE_TEAM_INSTRUCTIONS:"Enter the team name to continue:",TEAM_NAME_REQUIRED:"Team name is required",TEAM_NAME_DOES_NOT_MATCH:"The team name does not match",TEAM_MEMBERS:"Team Members",TEAM_MEMBERS_DESCRIPTION:"Manage your team members and their roles.",ADD_TEAM_MEMBER:"Add Team Member",REMOVE_TEAM_MEMBER:"Remove Team Member",REMOVE_TEAM_MEMBER_CONFIRM:"Are you sure you want to remove this member from the team?",REMOVE_TEAM_MEMBER_SUCCESS:"Team member removed successfully",ADD_TEAM_MEMBER_SUCCESS:"Team member added successfully",UPDATE_TEAM_SUCCESS:"Team updated successfully",MANAGE_TEAM_MEMBERS:"Manage Team Members",MANAGE_TEAM_MEMBERS_DESCRIPTION:"Search and add organization members to this team.",NO_TEAMS_FOUND:"No teams found",MEMBER_SINGULAR:"member",MEMBER_PLURAL:"members",UNKNOWN:"Unknown",...gde,...pde,...mde,...hde,...bde,...yde,...Sde,...wde,...Tde,...xde,..._de,...kde,...Cde,...Pde,...Ede,...Ade},Dde={CALLBACK:"callback",EMAIL_OTP:"email-otp",EMAIL_VERIFICATION:"email-verification",FORGOT_PASSWORD:"forgot-password",MAGIC_LINK:"magic-link",RECOVER_ACCOUNT:"recover-account",RESET_PASSWORD:"reset-password",SIGN_IN:"sign-in",SIGN_OUT:"sign-out",SIGN_UP:"sign-up",TWO_FACTOR:"two-factor",ACCEPT_INVITATION:"accept-invitation"},XO={SETTINGS:"settings",SECURITY:"security",TEAMS:"teams",API_KEYS:"api-keys",ORGANIZATIONS:"organizations"},e2={SETTINGS:"settings",MEMBERS:"members",TEAMS:"teams",API_KEYS:"api-keys"};const P3=A.createContext({});function E3(){return A.useContext(P3)}var j0,t2;function Ode(){if(t2)return j0;t2=1;var e=function(){};return j0=e,j0}var Mde=Ode();const Nde=Ol(Mde);function Ide({async:e,appendTo:t,defer:o,id:a,nonce:n,src:i}){const l=document.createElement("script");e!==void 0&&(l.async=e),o!==void 0&&(l.defer=o),a&&(l.id=a),n&&l.setAttribute("nonce",n),l.src=i,(t==="head"?document.head:document.body).appendChild(l)}var Lde=function(e,t){var o={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(o[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(e);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(o[a[n]]=e[a[n]]);return o};let hp=null,Fp=!1;const rv=new Set,iv=new Set,Bde=typeof window<"u",dd="___grecaptcha_cfg",A3=`onLoadCallback_${Math.random().toString(36).slice(2)}`;function Fde(){if(!Bde)return;function e(o){if(Fp)o();else{window[dd]||(window[dd]={});const a=window[dd];a.fns||(a.fns=[]),a.fns.push(o)}}window.grecaptcha||(window.grecaptcha={}),window.grecaptcha.enterprise||(window.grecaptcha.enterprise={}),window.grecaptcha.ready=e,window.grecaptcha.enterprise.ready=e;function t(){Fp=!0;for(const o of iv)o();iv.clear()}window[A3]=t}function jde({language:e,onLoadCallbackName:t,render:o,useEnterprise:a=!1,useRecaptchaNet:n=!1}){const i=n?"recaptcha.net":"google.com",l=a?"enterprise.js":"api.js",c=new URLSearchParams({render:o});return t&&c.set("onload",t),e&&c.set("hl",e),`https://www.${i}/recaptcha/${l}?${c.toString()}`}function zde({language:e,render:t,scriptProps:o,useEnterprise:a,useRecaptchaNet:n}){const i={id:"google-recaptcha-v3"},l=jde({language:e,onLoadCallbackName:A3,render:t,useEnterprise:a,useRecaptchaNet:n});if(hp){if(hp!==l)throw new Error("reCAPTCHA has already been loaded with different parameters. Remove the existing script and load it again.");return}hp=l,Ide(Object.assign(Object.assign(Object.assign({},i),o),{src:l}))}function Ude(e){if(!window[dd])return;const t=window[dd];t.clients&&delete t.clients[e]}function qde(e,t){var{onLoadCallback:o,onLoadCallbackName:a}=t,n=Lde(t,["onLoadCallback","onLoadCallbackName"]);if(rv.size===0&&Fde(),zde(n),rv.add(e),o&&(Fp?o():iv.add(o)),a){let i=function(){if(!a)return;const l=window[a];typeof l=="function"&&l()};Fp?i():iv.add(i)}}function $de(e){var t,o,a;rv.delete(e),rv.size===0&&(window.grecaptcha=void 0,window[dd]=void 0,(t=document.querySelector(".grecaptcha-badge"))===null||t===void 0||t.remove(),(o=document.querySelector(`script[src="${hp}"]`))===null||o===void 0||o.remove(),(a=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]'))===null||a===void 0||a.remove(),hp=null,Fp=!1)}let o2=!1;function Vde({container:e,children:t,language:o,reCaptchaKey:a,scriptProps:n,useEnterprise:i,useRecaptchaNet:l}){var c,d,p,m,h,f,v;const b=A.useId(),[S,_]=A.useState(null),[T,x]=A.useState(null),E=A.useRef(!1);A.useEffect(()=>{function D(){var O;const L=i?(O=window.grecaptcha)===null||O===void 0?void 0:O.enterprise:window.grecaptcha;if(!L)throw new Error("reCAPTCHA not found");if(!L.ready)throw new Error("reCAPTCHA ready callback not found");L.ready(()=>{_(L)})}return qde(b,{language:o,onLoadCallback:D,onLoadCallbackName:n?.onLoadCallbackName,render:e?.element?"explicit":a,scriptProps:{appendTo:n?.appendTo,async:n?.async,defer:n?.defer,id:n?.id,nonce:n?.nonce},useEnterprise:i,useRecaptchaNet:l}),()=>{$de(b),_(null)}},[e?.element,b,o,a,n?.appendTo,n?.async,n?.defer,n?.id,n?.nonce,n?.onLoadCallbackName,i,l]),A.useEffect(()=>{var D,O,L;if(!e?.element||!S?.render)return;const q={"error-callback":e.parameters.errorCallback,"expired-callback":e.parameters.expiredCallback,badge:((D=e.parameters)===null||D===void 0?void 0:D.badge)||"inline",callback:e.parameters.callback,sitekey:a,size:"invisible",tabindex:e.parameters.tabindex,theme:e.parameters.theme},B=typeof e?.element=="string"?document.getElementById(e.element):e?.element;if(!B)throw new Error("reCAPTCHA container element not found");const U=S.render(B,q);return!((O=e?.parameters)===null||O===void 0)&&O.hidden&&(o2||(Nde(!1,"reCAPTCHA badge hidden. See https://cloud.google.com/recaptcha/docs/faq#id_like_to_hide_the_badge_what_is_allowed for more information."),o2=!0),(L=B.querySelector(".grecaptcha-badge"))===null||L===void 0||L.style.setProperty("display","none")),x(U),E.current=!0,()=>{x(null),E.current=!1,Ude(U),B.innerHTML=""}},[e?.element,(c=e?.parameters)===null||c===void 0?void 0:c.badge,(d=e?.parameters)===null||d===void 0?void 0:d.hidden,(p=e?.parameters)===null||p===void 0?void 0:p.callback,(m=e?.parameters)===null||m===void 0?void 0:m.errorCallback,(h=e?.parameters)===null||h===void 0?void 0:h.expiredCallback,(f=e?.parameters)===null||f===void 0?void 0:f.tabindex,(v=e?.parameters)===null||v===void 0?void 0:v.theme,S,a]);const C=!!e?.element,P=C?T:a,R=A.useMemo(()=>P!==null&&S?.execute?D=>{if(P===null||!S?.execute)throw new Error("reCAPTCHA has not been loaded");return C&&!E.current?(console.warn("Client ID not mounted"),null):S.execute(P,{action:D})}:void 0,[P,S,C]);return w.jsx(P3.Provider,{value:{container:e?.element,executeRecaptcha:R,reCaptchaInstance:S},children:t})}var Hde=class{cache=new Map;listeners=new Map;inFlightRequests=new Map;get(e){return this.cache.get(e)}set(e,t){const o={data:t,timestamp:Date.now(),isRefetching:!1};this.cache.set(e,o),this.notify(e)}setRefetching(e,t){const o=this.cache.get(e);o&&(o.isRefetching=t,this.notify(e))}clear(e){if(e)this.cache.delete(e),this.inFlightRequests.delete(e),this.notify(e);else{this.cache.clear(),this.inFlightRequests.clear();const t=Array.from(this.listeners.keys());for(const o of t)this.notify(o)}}getInFlightRequest(e){return this.inFlightRequests.get(e)}setInFlightRequest(e,t){this.inFlightRequests.set(e,t)}removeInFlightRequest(e){this.inFlightRequests.delete(e)}subscribe(e,t){return this.listeners.has(e)||this.listeners.set(e,new Set),this.listeners.get(e).add(t),()=>{const o=this.listeners.get(e);o&&(o.delete(t),o.size===0&&this.listeners.delete(e))}}notify(e){const t=this.listeners.get(e);if(t){const o=Array.from(t);for(const a of o)a()}}},Gn=new Hde;function Gde(){return()=>{}}function Bi(){return A.useSyncExternalStore(Gde,()=>!0,()=>!1)}function R3(){const[e,t]=A.useState();return A.useEffect(()=>{const o=()=>{const n=document.documentElement.getAttribute("lang");t(n??void 0)};o();const a=new MutationObserver(n=>{for(const i of n)i.attributeName==="lang"&&o()});return a.observe(document.documentElement,{attributes:!0}),()=>{a.disconnect()}},[]),{lang:e}}function ik(){const[e,t]=A.useState("light");return A.useEffect(()=>{const o=()=>{var n;const i=document.documentElement.classList.contains("dark")||((n=document.documentElement.getAttribute("style"))==null?void 0:n.includes("color-scheme: dark"));t(i?"dark":"light")};o();const a=new MutationObserver(n=>{for(const i of n)(i.attributeName==="style"||i.attributeName==="class")&&o()});return a.observe(document.documentElement,{attributes:!0}),()=>{a.disconnect()}},[]),{theme:e}}function Wde({children:e}){const t=Bi(),{captcha:o}=A.useContext(St);return o?.provider!=="google-recaptcha-v3"?e:w.jsxs(Vde,{reCaptchaKey:o.siteKey,useEnterprise:o.enterprise,useRecaptchaNet:o.recaptchaNet,children:[t&&w.jsx("style",{children:`
169
169
  .grecaptcha-badge {
170
170
  visibility: hidden;
171
171
  border-radius: var(--radius) !important;