decocms 4.255.2 → 4.255.4

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 (249) hide show
  1. package/dist/client/assets/{AlertCircle-BckADFTN.js → AlertCircle-rzbi7fmi.js} +1 -1
  2. package/dist/client/assets/{AreaChart-D3FkaC6Z.js → AreaChart-CuKqt6_P.js} +1 -1
  3. package/dist/client/assets/{ArrowLeft-CA4nZ19l.js → ArrowLeft-D-nEST6C.js} +1 -1
  4. package/dist/client/assets/{ArrowUp-8tGgkrEO.js → ArrowUp-BfWB8MD1.js} +1 -1
  5. package/dist/client/assets/{Check-D4XLgaN4.js → Check-DPWJue1l.js} +1 -1
  6. package/dist/client/assets/{CheckCircle-Dh96WJYX.js → CheckCircle-CzbHy_NQ.js} +1 -1
  7. package/dist/client/assets/{ChevronDown-Dm6QJQj5.js → ChevronDown-Bchtg7Ey.js} +1 -1
  8. package/dist/client/assets/{ChevronRight-Bbyr31or.js → ChevronRight-ywp7R8fi.js} +1 -1
  9. package/dist/client/assets/{ChevronSelectorVertical-BUgf0an-.js → ChevronSelectorVertical-fzOl_PXo.js} +1 -1
  10. package/dist/client/assets/{ChevronUp-C7jPKNLf.js → ChevronUp-CJaWrIn8.js} +1 -1
  11. package/dist/client/assets/{Copy01-BqCuDnjV.js → Copy01-C1V4JSjm.js} +1 -1
  12. package/dist/client/assets/{CreditCard01-CALthygT.js → CreditCard01-BgWLt525.js} +1 -1
  13. package/dist/client/assets/{DotsVertical-CYMbIa1_.js → DotsVertical-CtCazyXg.js} +1 -1
  14. package/dist/client/assets/{Download01-C6mH6Z8f.js → Download01-B8eccotb.js} +1 -1
  15. package/dist/client/assets/{Eye-jMpQ7fBE.js → Eye-CVdFbQPq.js} +1 -1
  16. package/dist/client/assets/{FilterLines-4Qetm1ho.js → FilterLines-CHSA0Ovv.js} +1 -1
  17. package/dist/client/assets/{Globe01-CkxIxFjV.js → Globe01-C4uOnzpB.js} +1 -1
  18. package/dist/client/assets/{Globe04-CWbZ_xf0.js → Globe04-4ZySY2dL.js} +1 -1
  19. package/dist/client/assets/{HardDrive-DqrbzOlI.js → HardDrive-BpDqLmKr.js} +1 -1
  20. package/dist/client/assets/{Key01-CzBg_w_E.js → Key01-CIlMRmOa.js} +1 -1
  21. package/dist/client/assets/{LinkExternal01-BYv4_-zq.js → LinkExternal01-BnF74p76.js} +1 -1
  22. package/dist/client/assets/{LockUnlocked01-BssaZtDy.js → LockUnlocked01-CFo18Geo.js} +1 -1
  23. package/dist/client/assets/{LogOut01-CE6p7Q73.js → LogOut01-mY61xNf_.js} +1 -1
  24. package/dist/client/assets/{Monitor01-DUnpXEZF.js → Monitor01-DRcJh9rJ.js} +1 -1
  25. package/dist/client/assets/{Palette-zSvxc111.js → Palette-Dyv90Vji.js} +1 -1
  26. package/dist/client/assets/{Play-C9tlPC3I.js → Play-DHTGlq1Y.js} +1 -1
  27. package/dist/client/assets/{Plus-BBdbmkEC.js → Plus-BBG-uYzF.js} +1 -1
  28. package/dist/client/assets/{SearchLg-Bg0bWoci.js → SearchLg-3Irji4Em.js} +1 -1
  29. package/dist/client/assets/{SearchMd-B5LTpCxn.js → SearchMd-BiEg7og4.js} +1 -1
  30. package/dist/client/assets/{Settings02-DQ6Qx_Qo.js → Settings02-DdRb7E0Q.js} +1 -1
  31. package/dist/client/assets/{Share07-Di11XO-1.js → Share07-Cx9rW-3h.js} +1 -1
  32. package/dist/client/assets/{Shield01-FnU_LRxr.js → Shield01-Dj1i5rRJ.js} +1 -1
  33. package/dist/client/assets/{Stars01-C8fjQPly.js → Stars01-DsEuNQa4.js} +1 -1
  34. package/dist/client/assets/{Stars02-BC82QMl0.js → Stars02-CQidlt1A.js} +1 -1
  35. package/dist/client/assets/{Sun-CL5Lwimd.js → Sun-CedAoEhV.js} +1 -1
  36. package/dist/client/assets/{SwitchHorizontal01-DJAL0oew.js → SwitchHorizontal01-BBS3aq1G.js} +1 -1
  37. package/dist/client/assets/{Tool01-kIIhzZhw.js → Tool01-DYiLYfEf.js} +1 -1
  38. package/dist/client/assets/{Tool02-xsTmH7TW.js → Tool02-53gDBxa-.js} +1 -1
  39. package/dist/client/assets/{Trash01-CISu7ukT.js → Trash01-hrM9uQgS.js} +1 -1
  40. package/dist/client/assets/{TrendUp01-D54j7eRb.js → TrendUp01-CHalSWAC.js} +1 -1
  41. package/dist/client/assets/{Upload01-BBFWsedg.js → Upload01-DgdhEYC-.js} +1 -1
  42. package/dist/client/assets/{User01-Da-P04pG.js → User01-9rQwsqCE.js} +1 -1
  43. package/dist/client/assets/{UserSquare-DgUtDej9.js → UserSquare-BK8-agqd.js} +1 -1
  44. package/dist/client/assets/{Users01-CXfWV5oU.js → Users01-CBrs1-WF.js} +1 -1
  45. package/dist/client/assets/{Users03-BH_DGEIm.js → Users03-Ckv8dpNK.js} +1 -1
  46. package/dist/client/assets/{XCircle-qOGRhnhp.js → XCircle-VjO5lI8H.js} +1 -1
  47. package/dist/client/assets/{XClose-DL2O4uTC.js → XClose-BivECxO7.js} +1 -1
  48. package/dist/client/assets/{YAxis-DyE5fkIu.js → YAxis-BUFR5b9Q.js} +1 -1
  49. package/dist/client/assets/{Zap-DYtDBHNd.js → Zap-Cnsys2Wq.js} +1 -1
  50. package/dist/client/assets/{ZapSquare-CGgQRKSq.js → ZapSquare-CSYRxph5.js} +1 -1
  51. package/dist/client/assets/{access-gate-bxw6GJBM.js → access-gate-C37vr7HM.js} +1 -1
  52. package/dist/client/assets/{agent-icon-RO_lY7mQ.js → agent-icon-BUsh3oGt.js} +1 -1
  53. package/dist/client/assets/agents-list-BSXmKvPI.js +1 -0
  54. package/dist/client/assets/{ai-providers-_bAZfhEo.js → ai-providers-ByCNS5tk.js} +2 -2
  55. package/dist/client/assets/{alert-DS_4c1g8.js → alert-BqDinRfy.js} +1 -1
  56. package/dist/client/assets/{alert-dialog-B3eneGBp.js → alert-dialog-hhGN1kzx.js} +1 -1
  57. package/dist/client/assets/{api-keys-Cn1MTRia.js → api-keys-DHBiaV_r.js} +1 -1
  58. package/dist/client/assets/app-editor-C0hCGxtl.js +1 -0
  59. package/dist/client/assets/{auth-DeQHSbj0.js → auth-BbVa1hsz.js} +1 -1
  60. package/dist/client/assets/{auth-catchall-BWmr3lOz.js → auth-catchall-CFKvepKy.js} +1 -1
  61. package/dist/client/assets/{auth-entry-B3nspDeT.js → auth-entry-BXkmPqvH.js} +1 -1
  62. package/dist/client/assets/{auth-split-layout-DH603Yyd.js → auth-split-layout-CQECvTjT.js} +1 -1
  63. package/dist/client/assets/{authenticate-and-persist-oauth-DaDpqCGj.js → authenticate-and-persist-oauth-BW7lPmR8.js} +1 -1
  64. package/dist/client/assets/{automation-list-row-GJXCE3Ep.js → automation-list-row-6SRFf-_b.js} +1 -1
  65. package/dist/client/assets/{automation-runs-CggJDo1C.js → automation-runs-BQ0Iu53B.js} +1 -1
  66. package/dist/client/assets/automations-DXRcT17e.js +1 -0
  67. package/dist/client/assets/{avatar-t8xMECgD.js → avatar-CffKfcxD.js} +1 -1
  68. package/dist/client/assets/{badge-3w-z2q_R.js → badge-DdvBiEJO.js} +1 -1
  69. package/dist/client/assets/{block-document-DBAOy7rM.js → block-document-Dp95KQeN.js} +1 -1
  70. package/dist/client/assets/{buckets-C6KeDFl_.js → buckets-C-YB4kjm.js} +1 -1
  71. package/dist/client/assets/bulk-category-panel-xdEU6TlG.js +1 -0
  72. package/dist/client/assets/{capability-load-error-CrnDuhrP.js → capability-load-error-DifEo2uP.js} +1 -1
  73. package/dist/client/assets/{cards-B116B10c.js → cards-BImfAb5p.js} +1 -1
  74. package/dist/client/assets/category-editor-BTtM_Oym.js +1 -0
  75. package/dist/client/assets/{chart-B-JWflUf.js → chart-CQDerfwb.js} +1 -1
  76. package/dist/client/assets/chat-context-BSlnS4lO.js +35 -0
  77. package/dist/client/assets/{checkbox-CTK-987j.js → checkbox-DvnU-G5n.js} +1 -1
  78. package/dist/client/assets/{choose-editor-BiIbar5e.js → choose-editor-DDZWpEEU.js} +1 -1
  79. package/dist/client/assets/{cli-auth-success-CWZIlaAu.js → cli-auth-success-BKkBveK7.js} +1 -1
  80. package/dist/client/assets/collection-detail-i2uJ3G4p.js +1 -0
  81. package/dist/client/assets/{collection-display-button-RvJk_3kM.js → collection-display-button-DUWiE5Mh.js} +1 -1
  82. package/dist/client/assets/{collection-search-TDcC3qnQ.js → collection-search-D5bU0Mny.js} +1 -1
  83. package/dist/client/assets/{collection-table-wrapper-AH8YyxhL.js → collection-table-wrapper-6LuinD6M.js} +1 -1
  84. package/dist/client/assets/{collection-tabs-mTx4dyj7.js → collection-tabs-DSNouQYO.js} +1 -1
  85. package/dist/client/assets/{command-BmhGhCGW.js → command-DO658f9K.js} +1 -1
  86. package/dist/client/assets/{commerce-onboarding-DDSFZSw4.js → commerce-onboarding-DTgTL1Sa.js} +1 -1
  87. package/dist/client/assets/{connect-BRqyUKct.js → connect-Bo1Gdnm2.js} +1 -1
  88. package/dist/client/assets/{connection-DPcqqUpI.js → connection-BMZxDUto.js} +1 -1
  89. package/dist/client/assets/{connection-card-Dg2tFKYT.js → connection-card-BxOv_0Pb.js} +1 -1
  90. package/dist/client/assets/connection-detail-Ceqi_UkX.js +1 -0
  91. package/dist/client/assets/{connection-form-helpers-BiSqyE70.js → connection-form-helpers-DwrLlCes.js} +1 -1
  92. package/dist/client/assets/{connections-BRZcZzvE.js → connections-sw9Pef3f.js} +1 -1
  93. package/dist/client/assets/{decopilot-sse-pool-Cn3-H_-J.js → decopilot-sse-pool-CnQZuU8U.js} +1 -1
  94. package/dist/client/assets/{dialog-CaTBZV_d.js → dialog-CRgUvUGD.js} +1 -1
  95. package/dist/client/assets/{domain-settings-DSiUt4s6.js → domain-settings-BHqc8jTd.js} +1 -1
  96. package/dist/client/assets/{drawer-CMaDObPV.js → drawer-B5fFyIgX.js} +1 -1
  97. package/dist/client/assets/{dropdown-menu-BRNNpXcy.js → dropdown-menu-C0p1X71u.js} +1 -1
  98. package/dist/client/assets/{empty-state-Dx5RvteD.js → empty-state-nAEi4fmW.js} +1 -1
  99. package/dist/client/assets/{extract-connection-data-DDL06q4h.js → extract-connection-data-D3s8EYsm.js} +1 -1
  100. package/dist/client/assets/file-explorer-C3wPz2g1.js +2 -0
  101. package/dist/client/assets/{file-type-icon-C2ALTS96.js → file-type-icon-BxCMRXC7.js} +1 -1
  102. package/dist/client/assets/{form-C1Z3Pgy9.js → form-CkF9Gll6.js} +1 -1
  103. package/dist/client/assets/{general-wKChpaKt.js → general-Bvd3m1q-.js} +1 -1
  104. package/dist/client/assets/{github-repo-picker-CghdTD4a.js → github-repo-picker-uCh44L_P.js} +1 -1
  105. package/dist/client/assets/{hooks-BjFStmIb.js → hooks-BMvgJI-g.js} +10 -10
  106. package/dist/client/assets/index-BxFod4ty.js +1 -0
  107. package/dist/client/assets/{index-k4eNrclM.js → index-C7yUTQLC.js} +1 -1
  108. package/dist/client/assets/{index-DXHENisy.js → index-CRX5z-Jb.js} +1 -1
  109. package/dist/client/assets/{index-Bv7SAPra.js → index-CWPBMaeR.js} +2 -2
  110. package/dist/client/assets/{index-xiyjF2ia.js → index-CxD2n68d.js} +1 -1
  111. package/dist/client/assets/index-CxZcM7iI.js +743 -0
  112. package/dist/client/assets/{index-C-3fd8Ck.js → index-D5JaHC8m.js} +1 -1
  113. package/dist/client/assets/{index-DnfUq0Re.js → index-DGbNQLI2.js} +1 -1
  114. package/dist/client/assets/index-dzFuJh3g.js +1 -0
  115. package/dist/client/assets/{index-DLiSt-zY.js → index-eMuSvnay.js} +5 -5
  116. package/dist/client/assets/{index-redirect-Q-uzQ1ZR.js → index-redirect-CSQT7dVz.js} +1 -1
  117. package/dist/client/assets/{infra-billing-C8apIzey.js → infra-billing-D1_-S4Iu.js} +1 -1
  118. package/dist/client/assets/{input-CY_6SiUS.js → input-CzXHUUzJ.js} +1 -1
  119. package/dist/client/assets/{integration-icon-CGhJSgDA.js → integration-icon-UAHcQu3Y.js} +1 -1
  120. package/dist/client/assets/{invite-member-dialog-B2p8Tm3P.js → invite-member-dialog-a03LtCNI.js} +1 -1
  121. package/dist/client/assets/{label-CIfNh86q.js → label-C-f36Ery.js} +1 -1
  122. package/dist/client/assets/{layout-BCjUdMcW.js → layout-ExdNCowx.js} +1 -1
  123. package/dist/client/assets/{login-Dy6oLdg_.js → login-BoUiAbPR.js} +1 -1
  124. package/dist/client/assets/{mcp-oauth-DImoLDws.js → mcp-oauth-EpOxhfnN.js} +1 -1
  125. package/dist/client/assets/{members-BeZb8rdR.js → members-DRacrCiw.js} +1 -1
  126. package/dist/client/assets/{monaco-editor-ZUjofCql.js → monaco-editor-DXWGpYdI.js} +1 -1
  127. package/dist/client/assets/{monitoring-stats-row-CwawUUDQ.js → monitoring-stats-row-CStChSPF.js} +1 -1
  128. package/dist/client/assets/{multi-select-BasuLjyg.js → multi-select-V9DJTmBZ.js} +1 -1
  129. package/dist/client/assets/{oauth-callback-CkV2aSCc.js → oauth-callback-CvsRTDAl.js} +1 -1
  130. package/dist/client/assets/{oauth-callback-ai-provider-DQzrQ2ZW.js → oauth-callback-ai-provider-BTZRnTS3.js} +1 -1
  131. package/dist/client/assets/{onboarding-ZjEXHRqc.js → onboarding-og3I_xVV.js} +1 -1
  132. package/dist/client/assets/{org-layout-BFuYj0lq.js → org-layout-QWnp58dZ.js} +1 -1
  133. package/dist/client/assets/{organization-choice-CNLElHVj.js → organization-choice-DurkooFh.js} +1 -1
  134. package/dist/client/assets/{orgs-DY4SjhQN.js → orgs-jsXpwgtJ.js} +1 -1
  135. package/dist/client/assets/{page-seo-form-DwRi_S8N.js → page-seo-form-CKaXssEk.js} +1 -1
  136. package/dist/client/assets/{popover-lX6wGPom.js → popover-OOnmalBV.js} +1 -1
  137. package/dist/client/assets/post-editor-CFCYmhEe.js +1 -0
  138. package/dist/client/assets/{primitives-BAE6y0ZV.js → primitives-BhZ-HVLG.js} +1 -1
  139. package/dist/client/assets/{profile-CMoih80z.js → profile-BRSzqaGC.js} +1 -1
  140. package/dist/client/assets/project-app-view-C5juFf3y.js +1 -0
  141. package/dist/client/assets/record-editor-BGJ3Uxr9.js +1 -0
  142. package/dist/client/assets/redirect-editor-BgmzxDxm.js +1 -0
  143. package/dist/client/assets/registry-Us39sPL5.js +2 -0
  144. package/dist/client/assets/{registry-layout-7bL7SAGE.js → registry-layout-CaPQ8D3m.js} +1 -1
  145. package/dist/client/assets/{reports-BkJ5gkYi.js → reports-CZRAYZND.js} +1 -1
  146. package/dist/client/assets/{require-capability-CLTXzK08.js → require-capability-CDs1Pl6o.js} +1 -1
  147. package/dist/client/assets/{required-auth-layout-v7tDA1sl.js → required-auth-layout-D7eBvpct.js} +1 -1
  148. package/dist/client/assets/{reset-password-BKBz_Aon.js → reset-password-DDPC0WP5.js} +1 -1
  149. package/dist/client/assets/reusable-new-chat-CzvRy4Pe.js +1 -0
  150. package/dist/client/assets/{roles-qVXSbIQj.js → roles-qcaRRwf8.js} +1 -1
  151. package/dist/client/assets/{search-input-4YJ4nTbO.js → search-input-Dv3_1Uvp.js} +1 -1
  152. package/dist/client/assets/{secrets-D-r8Fhcp.js → secrets-DcwYYhlg.js} +1 -1
  153. package/dist/client/assets/sections-editor-DNihJe6v.js +2 -0
  154. package/dist/client/assets/{select-BwLC9-0c.js → select-Cf3o4e13.js} +1 -1
  155. package/dist/client/assets/{select-model-DpD5UXaD.js → select-model-B7Rf8Feb.js} +1 -1
  156. package/dist/client/assets/{self-tool-result-BeRzbQuP.js → self-tool-result-BawREriG.js} +1 -1
  157. package/dist/client/assets/seo-editor-D_IRi8v_.js +1 -0
  158. package/dist/client/assets/session-runtime-wVXsCwcJ.js +1 -0
  159. package/dist/client/assets/{settings-layout-DTqIuCHt.js → settings-layout-BgcGIDRi.js} +1 -1
  160. package/dist/client/assets/{shell-controls-vM7eX0ni.js → shell-controls-BkJPCi4L.js} +1 -1
  161. package/dist/client/assets/{shell-layout-DEMtIHgw.js → shell-layout-DPDTGLA3.js} +1 -1
  162. package/dist/client/assets/{spinner-Dpvz3p80.js → spinner-CeAynGXW.js} +1 -1
  163. package/dist/client/assets/{sso-BxyVr7dm.js → sso-BlKU6Kgb.js} +1 -1
  164. package/dist/client/assets/{store-CEc4rXka.js → store-BYS_aOKm.js} +1 -1
  165. package/dist/client/assets/store-registry-BPg2BhqF.js +2 -0
  166. package/dist/client/assets/{switch-DBiih54-.js → switch-EyKGbAqJ.js} +1 -1
  167. package/dist/client/assets/synced-repos-BUf8qMc_.js +1 -0
  168. package/dist/client/assets/{tab-id-DrwxksV4.js → tab-id-BupMUSAp.js} +1 -1
  169. package/dist/client/assets/{table-BM3FdIaA.js → table-ByGDNySe.js} +1 -1
  170. package/dist/client/assets/{tabs-C49oMc7W.js → tabs-YXze6Pex.js} +1 -1
  171. package/dist/client/assets/{task-key-2XocQivt.js → task-key-D6-3eaXs.js} +1 -1
  172. package/dist/client/assets/{tasks-DIZudm73.js → tasks-CjQzsFHS.js} +1 -1
  173. package/dist/client/assets/{textarea-BYMb5MM5.js → textarea-BUU8Uzj2.js} +1 -1
  174. package/dist/client/assets/{toggle-group-DmafBxKV.js → toggle-group-5udoaIQ7.js} +1 -1
  175. package/dist/client/assets/{toolbar-BOPj8b0I.js → toolbar-jStDQiC9.js} +1 -1
  176. package/dist/client/assets/{track-Fq5TqDMp.js → track-x1Ue_gqj.js} +1 -1
  177. package/dist/client/assets/{types-7z_oxg9w.js → types-CWfqP-B-.js} +1 -1
  178. package/dist/client/assets/{use-ai-providers-Ck06PFGE.js → use-ai-providers-BJFNFBW8.js} +1 -1
  179. package/dist/client/assets/{use-api-keys-yafBkhyf.js → use-api-keys-zvnJANCI.js} +1 -1
  180. package/dist/client/assets/{use-automations-BrFXzBSZ.js → use-automations-CJu_L57g.js} +1 -1
  181. package/dist/client/assets/{use-autosave-DzyEelZn.js → use-autosave-xiJNpL3o.js} +1 -1
  182. package/dist/client/assets/{use-clock-tick-anNRVc0o.js → use-clock-tick-BY6Y0vZc.js} +1 -1
  183. package/dist/client/assets/use-commerce-diagnostic-DogDSREs.js +1 -0
  184. package/dist/client/assets/{use-connection-r6ziU6lR.js → use-connection-CrWZq_Ri.js} +1 -1
  185. package/dist/client/assets/{use-copy-BeCWcJQD.js → use-copy-X4stx05l.js} +1 -1
  186. package/dist/client/assets/{use-create-virtual-mcp-CRJnDKdI.js → use-create-virtual-mcp-DnKX51Fm.js} +1 -1
  187. package/dist/client/assets/{use-debounced-autosave-B4C2TeP_.js → use-debounced-autosave-C2GBWe-g.js} +1 -1
  188. package/dist/client/assets/{use-debounced-value-cAUV3o-a.js → use-debounced-value-pQUbNH4F.js} +1 -1
  189. package/dist/client/assets/{use-decopilot-events-DZOEgHZF.js → use-decopilot-events-DS-28zR1.js} +1 -1
  190. package/dist/client/assets/{use-delete-connection-Dkclv4mQ.js → use-delete-connection-B9dJVi18.js} +1 -1
  191. package/dist/client/assets/{use-deployment-admin-BNiRhHXk.js → use-deployment-admin-CzS4BgDQ.js} +1 -1
  192. package/dist/client/assets/{use-file-configs-DGfh8vOd.js → use-file-configs-bqn0DQl-.js} +1 -1
  193. package/dist/client/assets/{use-infinite-scroll-DsDG7oFh.js → use-infinite-scroll-DING_ypo.js} +1 -1
  194. package/dist/client/assets/use-join-requests-COAIroPq.js +1 -0
  195. package/dist/client/assets/{use-mcp-client-BsB3UQx0.js → use-mcp-client-DMgRONuR.js} +1 -1
  196. package/dist/client/assets/{use-mcp-tools-D7WtkO_a.js → use-mcp-tools-CrszPH3e.js} +1 -1
  197. package/dist/client/assets/{use-members-DZPpmeBy.js → use-members-D74i7CK7.js} +1 -1
  198. package/dist/client/assets/use-navigate-to-agent-D-PAXyxX.js +1 -0
  199. package/dist/client/assets/{use-org-auth-client-CR2NXIGs.js → use-org-auth-client-DGlgRRC_.js} +1 -1
  200. package/dist/client/assets/{use-org-repo-syncs-B1gYKpB8.js → use-org-repo-syncs-L_Q9jn6Z.js} +1 -1
  201. package/dist/client/assets/{use-org-sso-BhfC5bai.js → use-org-sso-DIKj2vIX.js} +1 -1
  202. package/dist/client/assets/{use-organization-roles-g149SJyR.js → use-organization-roles-CW54FQjL.js} +1 -1
  203. package/dist/client/assets/{use-organization-settings-WfyIMnA9.js → use-organization-settings-KBGKqIJR.js} +1 -1
  204. package/dist/client/assets/{use-registry-connections-WDHdHLId.js → use-registry-connections-B0WaaMcP.js} +1 -1
  205. package/dist/client/assets/{use-secrets-MMdltV8V.js → use-secrets-Cv3PcVUL.js} +1 -1
  206. package/dist/client/assets/use-section-preview-base-BItk4_Sy.js +1 -0
  207. package/dist/client/assets/{use-status-sounds-IuSNJ3uy.js → use-status-sounds-CTsRBUIT.js} +1 -1
  208. package/dist/client/assets/{use-tags-DN3Y1Fjc.js → use-tags-DB9UyYAF.js} +1 -1
  209. package/dist/client/assets/{use-view-mode-Cecw-Bk2.js → use-view-mode-jGpQ2LaX.js} +1 -1
  210. package/dist/client/assets/{use-virtual-mcp-DkibxhFn.js → use-virtual-mcp-M6mi7VuQ.js} +1 -1
  211. package/dist/client/assets/useInfiniteQuery-BUqQM02C.js +1 -0
  212. package/dist/client/assets/useSuspenseInfiniteQuery-DtiiRZ-l.js +1 -0
  213. package/dist/client/assets/{users-3pVvJjVm.js → users-Csrapr9p.js} +1 -1
  214. package/dist/client/assets/variant-calendar-BEGxTpND.js +1 -0
  215. package/dist/client/assets/{view-mode-toggle-3Ft6ZtrM.js → view-mode-toggle-CemYbpmR.js} +1 -1
  216. package/dist/client/index.html +1 -1
  217. package/dist/server/cli.js +520 -519
  218. package/dist/server/server.js +366 -365
  219. package/package.json +1 -1
  220. package/dist/client/assets/agents-list-DEVfy7bO.js +0 -1
  221. package/dist/client/assets/app-editor-CwurZ13A.js +0 -1
  222. package/dist/client/assets/automations-BU9EygDS.js +0 -1
  223. package/dist/client/assets/bulk-category-panel-q0gXcv7r.js +0 -1
  224. package/dist/client/assets/category-editor-J3ebsbj7.js +0 -1
  225. package/dist/client/assets/chat-context-DzbskOkq.js +0 -35
  226. package/dist/client/assets/collection-detail-DosMB9QP.js +0 -1
  227. package/dist/client/assets/connection-detail-BecsUn3M.js +0 -1
  228. package/dist/client/assets/deco-site-production-url-BjY4ZYd-.js +0 -1
  229. package/dist/client/assets/file-explorer-JPclp_ri.js +0 -2
  230. package/dist/client/assets/index-C5dcfsKv.js +0 -1
  231. package/dist/client/assets/index-CErG4sP_.js +0 -743
  232. package/dist/client/assets/index-_2waRVYp.js +0 -1
  233. package/dist/client/assets/post-editor-CHtqUuEA.js +0 -1
  234. package/dist/client/assets/project-app-view-DZkY6r-W.js +0 -1
  235. package/dist/client/assets/record-editor-BHVAEIpq.js +0 -1
  236. package/dist/client/assets/redirect-editor-DfoPFWBF.js +0 -1
  237. package/dist/client/assets/registry-C7_sqj0C.js +0 -2
  238. package/dist/client/assets/reusable-new-chat-CouMjkYR.js +0 -1
  239. package/dist/client/assets/sections-editor-DCdYW5bN.js +0 -2
  240. package/dist/client/assets/seo-editor-BPRdm9p8.js +0 -1
  241. package/dist/client/assets/store-registry-DVE1XJgw.js +0 -2
  242. package/dist/client/assets/synced-repos-DL_Fe1n5.js +0 -1
  243. package/dist/client/assets/use-commerce-diagnostic-spCFF13q.js +0 -1
  244. package/dist/client/assets/use-join-requests-B_O58DBS.js +0 -1
  245. package/dist/client/assets/use-navigate-to-agent-D_YtZ8Nf.js +0 -1
  246. package/dist/client/assets/use-section-preview-base-WS8WDR0j.js +0 -1
  247. package/dist/client/assets/useInfiniteQuery-Tdf3vSzC.js +0 -1
  248. package/dist/client/assets/useSuspenseInfiniteQuery-Dgd9ebpu.js +0 -1
  249. package/dist/client/assets/variant-calendar-Na_TE_QI.js +0 -1
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/login-Dy6oLdg_.js","assets/auth-entry-B3nspDeT.js","assets/input-CY_6SiUS.js","assets/use-is-desktop-app-BNujXJc_.js","assets/spinner-Dpvz3p80.js","assets/retry-CErkP7V6.js","assets/backoff-CrEUbyZT.js","assets/delay-CnY5UFtP.js","assets/auth-split-layout-DH603Yyd.js","assets/cli-auth-success-CWZIlaAu.js","assets/reset-password-BKBz_Aon.js","assets/oauth-callback-CkV2aSCc.js","assets/mcp-oauth-DImoLDws.js","assets/auth-DeQHSbj0.js","assets/layout-BCjUdMcW.js","assets/required-auth-layout-v7tDA1sl.js","assets/use-deployment-admin-BNiRhHXk.js","assets/users-3pVvJjVm.js","assets/collection-table-wrapper-AH8YyxhL.js","assets/table-BM3FdIaA.js","assets/ArrowUp-8tGgkrEO.js","assets/empty-state-Dx5RvteD.js","assets/search-input-4YJ4nTbO.js","assets/SearchMd-B5LTpCxn.js","assets/avatar-t8xMECgD.js","assets/User01-Da-P04pG.js","assets/badge-3w-z2q_R.js","assets/use-debounced-value-cAUV3o-a.js","assets/admin-fetch-CCSvjTk1.js","assets/format-time-BnbuEtat.js","assets/differenceInSeconds-NQ4PDo0z.js","assets/get-initials-D-f_fDFw.js","assets/orgs-DY4SjhQN.js","assets/label-CIfNh86q.js","assets/dialog-CaTBZV_d.js","assets/select-BwLC9-0c.js","assets/Check-D4XLgaN4.js","assets/ChevronDown-Dm6QJQj5.js","assets/ChevronUp-C7jPKNLf.js","assets/shell-layout-DEMtIHgw.js","assets/Users03-BH_DGEIm.js","assets/SearchLg-Bg0bWoci.js","assets/Stars02-BC82QMl0.js","assets/XClose-DL2O4uTC.js","assets/tab-id-DrwxksV4.js","assets/Copy01-BqCuDnjV.js","assets/Download01-C6mH6Z8f.js","assets/CheckCircle-Dh96WJYX.js","assets/FilterLines-4Qetm1ho.js","assets/Monitor01-DUnpXEZF.js","assets/Zap-DYtDBHNd.js","assets/use-mcp-client-BsB3UQx0.js","assets/constants-_08zpzmT.js","assets/hooks-BjFStmIb.js","assets/decopilot-sse-pool-Cn3-H_-J.js","assets/use-organization-settings-WfyIMnA9.js","assets/use-org-sso-BhfC5bai.js","assets/onboarding-ZjEXHRqc.js","assets/organization-choice-CNLElHVj.js","assets/Plus-BBdbmkEC.js","assets/switch-DBiih54-.js","assets/Globe04-CWbZ_xf0.js","assets/Palette-zSvxc111.js","assets/Upload01-BBFWsedg.js","assets/commerce-onboarding-DDSFZSw4.js","assets/self-tool-result-BeRzbQuP.js","assets/alert-dialog-B3eneGBp.js","assets/form-C1Z3Pgy9.js","assets/integration-icon-CGhJSgDA.js","assets/Tool02-xsTmH7TW.js","assets/agent-icon-RO_lY7mQ.js","assets/AlertCircle-BckADFTN.js","assets/Tool01-kIIhzZhw.js","assets/ArrowLeft-CA4nZ19l.js","assets/XCircle-qOGRhnhp.js","assets/TrendUp01-D54j7eRb.js","assets/ZapSquare-CGgQRKSq.js","assets/ChevronRight-Bbyr31or.js","assets/ChevronSelectorVertical-BUgf0an-.js","assets/DotsVertical-CYMbIa1_.js","assets/UserSquare-DgUtDej9.js","assets/CreditCard01-CALthygT.js","assets/Settings02-DQ6Qx_Qo.js","assets/Eye-jMpQ7fBE.js","assets/Share07-Di11XO-1.js","assets/Globe01-CkxIxFjV.js","assets/SwitchHorizontal01-DJAL0oew.js","assets/HardDrive-DqrbzOlI.js","assets/Key01-CzBg_w_E.js","assets/LinkExternal01-BYv4_-zq.js","assets/LockUnlocked01-BssaZtDy.js","assets/LogOut01-CE6p7Q73.js","assets/Sun-CL5Lwimd.js","assets/Play-C9tlPC3I.js","assets/Shield01-FnU_LRxr.js","assets/Stars01-C8fjQPly.js","assets/Trash01-CISu7ukT.js","assets/Users01-CXfWV5oU.js","assets/extract-connection-data-DDL06q4h.js","assets/metadata-dUsYcpuu.js","assets/provision-repo-scoped-github-connection-CMPWtdMv.js","assets/authenticate-and-persist-oauth-DaDpqCGj.js","assets/track-Fq5TqDMp.js","assets/dropdown-menu-BRNNpXcy.js","assets/choose-editor-BiIbar5e.js","assets/reports-BkJ5gkYi.js","assets/reports-DH10I8_D.css","assets/index-C5dcfsKv.js","assets/use-commerce-diagnostic-spCFF13q.js","assets/use-virtual-mcp-DkibxhFn.js","assets/popover-lX6wGPom.js","assets/toolbar-BOPj8b0I.js","assets/drawer-CMaDObPV.js","assets/github-repo-picker-CghdTD4a.js","assets/collection-search-TDcC3qnQ.js","assets/use-connection-r6ziU6lR.js","assets/use-mcp-tools-D7WtkO_a.js","assets/use-navigate-to-agent-D_YtZ8Nf.js","assets/reusable-new-chat-CouMjkYR.js","assets/agent-capabilities-C4tLW0Za.js","assets/connection-card-Dg2tFKYT.js","assets/use-registry-connections-WDHdHLId.js","assets/useInfiniteQuery-Tdf3vSzC.js","assets/use-infinite-scroll-DsDG7oFh.js","assets/connection-slug-eyAPH6o3.js","assets/textarea-BYMb5MM5.js","assets/connection-form-helpers-BiSqyE70.js","assets/collection-tabs-mTx4dyj7.js","assets/useSuspenseInfiniteQuery-Dgd9ebpu.js","assets/use-ai-providers-Ck06PFGE.js","assets/toggle-group-DmafBxKV.js","assets/command-BmhGhCGW.js","assets/index-DnfUq0Re.js","assets/use-clock-tick-anNRVc0o.js","assets/invite-member-dialog-B2p8Tm3P.js","assets/use-org-auth-client-CR2NXIGs.js","assets/use-organization-roles-g149SJyR.js","assets/shell-controls-vM7eX0ni.js","assets/chat-context-DzbskOkq.js","assets/use-decopilot-events-DZOEgHZF.js","assets/index-CErG4sP_.js","assets/automation-runs-CggJDo1C.js","assets/use-members-DZPpmeBy.js","assets/use-automations-BrFXzBSZ.js","assets/use-copy-BeCWcJQD.js","assets/monaco-editor-ZUjofCql.js","assets/types-7z_oxg9w.js","assets/chart-B-JWflUf.js","assets/index-DXHENisy.js","assets/file-type-icon-C2ALTS96.js","assets/deco-site-production-url-BjY4ZYd-.js","assets/tabs-C49oMc7W.js","assets/select-model-DpD5UXaD.js","assets/checkbox-CTK-987j.js","assets/ai-providers-logos-DD3qZ33J.js","assets/cards-B116B10c.js","assets/question-004-sINsf4GQ.js","assets/use-status-sounds-IuSNJ3uy.js","assets/use-file-configs-DGfh8vOd.js","assets/pt-BR-CLy76QW2.js","assets/use-debounced-autosave-B4C2TeP_.js","assets/index-k4eNrclM.js","assets/use-secrets-MMdltV8V.js","assets/AreaChart-D3FkaC6Z.js","assets/task-key-2XocQivt.js","assets/use-tags-DN3Y1Fjc.js","assets/automation-list-row-GJXCE3Ep.js","assets/use-org-repo-syncs-B1gYKpB8.js","assets/index-CiP0VfIv.css","assets/index-_2waRVYp.js","assets/index-xiyjF2ia.js","assets/settings-layout-DTqIuCHt.js","assets/use-join-requests-B_O58DBS.js","assets/index-redirect-Q-uzQ1ZR.js","assets/capability-load-error-CrnDuhrP.js","assets/connections-BRZcZzvE.js","assets/collection-display-button-RvJk_3kM.js","assets/view-mode-toggle-3Ft6ZtrM.js","assets/use-delete-connection-Dkclv4mQ.js","assets/use-view-mode-Cecw-Bk2.js","assets/connection-detail-BecsUn3M.js","assets/index-C-3fd8Ck.js","assets/use-create-virtual-mcp-CRJnDKdI.js","assets/monitoring-stats-row-CwawUUDQ.js","assets/YAxis-DyE5fkIu.js","assets/connection-DPcqqUpI.js","assets/collection-detail-DosMB9QP.js","assets/alert-DS_4c1g8.js","assets/index-Bv7SAPra.js","assets/require-capability-CLTXzK08.js","assets/access-gate-bxw6GJBM.js","assets/multi-select-BasuLjyg.js","assets/general-wKChpaKt.js","assets/domain-settings-DSiUt4s6.js","assets/connect-BRqyUKct.js","assets/use-api-keys-yafBkhyf.js","assets/ai-providers-_bAZfhEo.js","assets/infra-billing-C8apIzey.js","assets/secrets-D-r8Fhcp.js","assets/api-keys-Cn1MTRia.js","assets/buckets-C6KeDFl_.js","assets/synced-repos-DL_Fe1n5.js","assets/tasks-DIZudm73.js","assets/members-BeZb8rdR.js","assets/role-color-Dn2tXDDF.js","assets/roles-qVXSbIQj.js","assets/sso-BxyVr7dm.js","assets/profile-CMoih80z.js","assets/store-CEc4rXka.js","assets/registry-C7_sqj0C.js","assets/store-registry-DVE1XJgw.js","assets/agents-list-DEVfy7bO.js","assets/automations-BU9EygDS.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/login-BoUiAbPR.js","assets/auth-entry-BXkmPqvH.js","assets/input-CzXHUUzJ.js","assets/use-is-desktop-app-BNujXJc_.js","assets/spinner-CeAynGXW.js","assets/retry-CErkP7V6.js","assets/backoff-CrEUbyZT.js","assets/delay-CnY5UFtP.js","assets/auth-split-layout-CQECvTjT.js","assets/cli-auth-success-BKkBveK7.js","assets/reset-password-DDPC0WP5.js","assets/oauth-callback-CvsRTDAl.js","assets/mcp-oauth-EpOxhfnN.js","assets/auth-BbVa1hsz.js","assets/layout-ExdNCowx.js","assets/required-auth-layout-D7eBvpct.js","assets/use-deployment-admin-CzS4BgDQ.js","assets/users-Csrapr9p.js","assets/collection-table-wrapper-6LuinD6M.js","assets/table-ByGDNySe.js","assets/ArrowUp-BfWB8MD1.js","assets/empty-state-nAEi4fmW.js","assets/search-input-Dv3_1Uvp.js","assets/SearchMd-BiEg7og4.js","assets/avatar-CffKfcxD.js","assets/User01-9rQwsqCE.js","assets/badge-DdvBiEJO.js","assets/use-debounced-value-pQUbNH4F.js","assets/admin-fetch-CCSvjTk1.js","assets/format-time-BnbuEtat.js","assets/differenceInSeconds-NQ4PDo0z.js","assets/get-initials-D-f_fDFw.js","assets/orgs-jsXpwgtJ.js","assets/label-C-f36Ery.js","assets/dialog-CRgUvUGD.js","assets/select-Cf3o4e13.js","assets/Check-DPWJue1l.js","assets/ChevronDown-Bchtg7Ey.js","assets/ChevronUp-CJaWrIn8.js","assets/shell-layout-DPDTGLA3.js","assets/Users03-Ckv8dpNK.js","assets/SearchLg-3Irji4Em.js","assets/Stars02-CQidlt1A.js","assets/XClose-BivECxO7.js","assets/tab-id-BupMUSAp.js","assets/Copy01-C1V4JSjm.js","assets/Download01-B8eccotb.js","assets/CheckCircle-CzbHy_NQ.js","assets/FilterLines-CHSA0Ovv.js","assets/Monitor01-DRcJh9rJ.js","assets/Zap-Cnsys2Wq.js","assets/use-mcp-client-DMgRONuR.js","assets/constants-_08zpzmT.js","assets/hooks-BMvgJI-g.js","assets/decopilot-sse-pool-CnQZuU8U.js","assets/use-organization-settings-KBGKqIJR.js","assets/use-org-sso-DIKj2vIX.js","assets/onboarding-og3I_xVV.js","assets/organization-choice-DurkooFh.js","assets/Plus-BBG-uYzF.js","assets/switch-EyKGbAqJ.js","assets/Globe04-4ZySY2dL.js","assets/Palette-Dyv90Vji.js","assets/Upload01-DgdhEYC-.js","assets/commerce-onboarding-DTgTL1Sa.js","assets/self-tool-result-BawREriG.js","assets/alert-dialog-hhGN1kzx.js","assets/form-CkF9Gll6.js","assets/integration-icon-UAHcQu3Y.js","assets/Tool02-53gDBxa-.js","assets/agent-icon-BUsh3oGt.js","assets/AlertCircle-rzbi7fmi.js","assets/Tool01-DYiLYfEf.js","assets/ArrowLeft-D-nEST6C.js","assets/XCircle-VjO5lI8H.js","assets/TrendUp01-CHalSWAC.js","assets/ZapSquare-CSYRxph5.js","assets/ChevronRight-ywp7R8fi.js","assets/ChevronSelectorVertical-fzOl_PXo.js","assets/DotsVertical-CtCazyXg.js","assets/UserSquare-BK8-agqd.js","assets/CreditCard01-BgWLt525.js","assets/Settings02-DdRb7E0Q.js","assets/Eye-CVdFbQPq.js","assets/Share07-Cx9rW-3h.js","assets/Globe01-C4uOnzpB.js","assets/SwitchHorizontal01-BBS3aq1G.js","assets/HardDrive-BpDqLmKr.js","assets/Key01-CIlMRmOa.js","assets/LinkExternal01-BnF74p76.js","assets/LockUnlocked01-CFo18Geo.js","assets/LogOut01-mY61xNf_.js","assets/Sun-CedAoEhV.js","assets/Play-DHTGlq1Y.js","assets/Shield01-Dj1i5rRJ.js","assets/Stars01-DsEuNQa4.js","assets/Trash01-hrM9uQgS.js","assets/Users01-CBrs1-WF.js","assets/extract-connection-data-D3s8EYsm.js","assets/metadata-dUsYcpuu.js","assets/provision-repo-scoped-github-connection-CMPWtdMv.js","assets/authenticate-and-persist-oauth-BW7lPmR8.js","assets/track-x1Ue_gqj.js","assets/dropdown-menu-C0p1X71u.js","assets/choose-editor-DDZWpEEU.js","assets/reports-CZRAYZND.js","assets/reports-DH10I8_D.css","assets/index-BxFod4ty.js","assets/use-commerce-diagnostic-DogDSREs.js","assets/use-virtual-mcp-M6mi7VuQ.js","assets/popover-OOnmalBV.js","assets/toolbar-jStDQiC9.js","assets/drawer-B5fFyIgX.js","assets/github-repo-picker-uCh44L_P.js","assets/collection-search-D5bU0Mny.js","assets/use-connection-CrWZq_Ri.js","assets/use-mcp-tools-CrszPH3e.js","assets/use-navigate-to-agent-D-PAXyxX.js","assets/reusable-new-chat-CzvRy4Pe.js","assets/session-runtime-wVXsCwcJ.js","assets/agent-capabilities-C4tLW0Za.js","assets/connection-card-BxOv_0Pb.js","assets/use-registry-connections-B0WaaMcP.js","assets/useInfiniteQuery-BUqQM02C.js","assets/use-infinite-scroll-DING_ypo.js","assets/connection-slug-eyAPH6o3.js","assets/textarea-BUU8Uzj2.js","assets/connection-form-helpers-DwrLlCes.js","assets/collection-tabs-DSNouQYO.js","assets/useSuspenseInfiniteQuery-DtiiRZ-l.js","assets/use-ai-providers-BJFNFBW8.js","assets/toggle-group-5udoaIQ7.js","assets/command-DO658f9K.js","assets/index-DGbNQLI2.js","assets/use-clock-tick-BY6Y0vZc.js","assets/invite-member-dialog-a03LtCNI.js","assets/use-org-auth-client-DGlgRRC_.js","assets/use-organization-roles-CW54FQjL.js","assets/shell-controls-BkJPCi4L.js","assets/chat-context-BSlnS4lO.js","assets/use-decopilot-events-DS-28zR1.js","assets/index-CxZcM7iI.js","assets/automation-runs-BQ0Iu53B.js","assets/use-members-D74i7CK7.js","assets/use-automations-CJu_L57g.js","assets/use-copy-X4stx05l.js","assets/monaco-editor-DXWGpYdI.js","assets/types-CWfqP-B-.js","assets/chart-CQDerfwb.js","assets/index-CRX5z-Jb.js","assets/file-type-icon-BxCMRXC7.js","assets/tabs-YXze6Pex.js","assets/select-model-B7Rf8Feb.js","assets/checkbox-DvnU-G5n.js","assets/ai-providers-logos-DD3qZ33J.js","assets/cards-BImfAb5p.js","assets/question-004-sINsf4GQ.js","assets/use-status-sounds-CTsRBUIT.js","assets/use-file-configs-bqn0DQl-.js","assets/pt-BR-CLy76QW2.js","assets/use-debounced-autosave-C2GBWe-g.js","assets/index-C7yUTQLC.js","assets/use-secrets-Cv3PcVUL.js","assets/AreaChart-CuKqt6_P.js","assets/task-key-D6-3eaXs.js","assets/use-tags-DB9UyYAF.js","assets/automation-list-row-6SRFf-_b.js","assets/use-org-repo-syncs-L_Q9jn6Z.js","assets/index-CiP0VfIv.css","assets/index-dzFuJh3g.js","assets/index-CxD2n68d.js","assets/settings-layout-BgcGIDRi.js","assets/use-join-requests-COAIroPq.js","assets/index-redirect-CSQT7dVz.js","assets/capability-load-error-DifEo2uP.js","assets/connections-sw9Pef3f.js","assets/collection-display-button-DUWiE5Mh.js","assets/view-mode-toggle-CemYbpmR.js","assets/use-delete-connection-B9dJVi18.js","assets/use-view-mode-jGpQ2LaX.js","assets/connection-detail-Ceqi_UkX.js","assets/index-D5JaHC8m.js","assets/use-create-virtual-mcp-DnKX51Fm.js","assets/monitoring-stats-row-CStChSPF.js","assets/YAxis-BUFR5b9Q.js","assets/connection-BMZxDUto.js","assets/collection-detail-i2uJ3G4p.js","assets/alert-BqDinRfy.js","assets/index-CWPBMaeR.js","assets/require-capability-CDs1Pl6o.js","assets/access-gate-C37vr7HM.js","assets/multi-select-V9DJTmBZ.js","assets/general-Bvd3m1q-.js","assets/domain-settings-BHqc8jTd.js","assets/connect-Bo1Gdnm2.js","assets/use-api-keys-zvnJANCI.js","assets/ai-providers-ByCNS5tk.js","assets/infra-billing-D1_-S4Iu.js","assets/secrets-DcwYYhlg.js","assets/api-keys-DHBiaV_r.js","assets/buckets-C-YB4kjm.js","assets/synced-repos-BUf8qMc_.js","assets/tasks-CjQzsFHS.js","assets/members-DRacrCiw.js","assets/role-color-Dn2tXDDF.js","assets/roles-qcaRRwf8.js","assets/sso-BlKU6Kgb.js","assets/profile-BRSzqaGC.js","assets/store-BYS_aOKm.js","assets/registry-Us39sPL5.js","assets/store-registry-BPg2BhqF.js","assets/agents-list-BSXmKvPI.js","assets/automations-DXRcT17e.js"])))=>i.map(i=>d[i]);
2
2
  function F6(e,t){for(var o=0;o<t.length;o++){const n=t[o];if(typeof n!="string"&&!Array.isArray(n)){for(const a in n)if(a!=="default"&&!(a in e)){const i=Object.getOwnPropertyDescriptor(n,a);i&&Object.defineProperty(e,a,i.get?i:{enumerable:!0,get:()=>n[a]})}}}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 a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function o(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(a){if(a.ep)return;a.ep=!0;const i=o(a);fetch(a.href,i)}})();const B6="modulepreload",j6=function(e){return"/"+e},GP={},ct=function(t,o,n){let a=Promise.resolve();if(o&&o.length>0){let l=function(m){return Promise.all(m.map(h=>Promise.resolve(h).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),d=c?.nonce||c?.getAttribute("nonce");a=l(o.map(m=>{if(m=j6(m),m in GP)return;GP[m]=!0;const h=m.endsWith(".css"),p=h?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${p}`))return;const f=document.createElement("link");if(f.rel=h?"stylesheet":B6,h||(f.as="script"),f.crossOrigin="",f.href=m,d&&f.setAttribute("nonce",d),document.head.appendChild(f),h)return new Promise((v,b)=>{f.addEventListener("load",v),f.addEventListener("error",()=>b(Error(`Unable to preload CSS for ${m}`)))})}))}function i(l){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=l,window.dispatchEvent(c),!c.defaultPrevented)throw l}return a.then(l=>{for(const c of l||[])c.status==="rejected"&&i(c.reason);return t().catch(i)})};var spe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Wy={exports:{}},sd={};var KP;function z6(){if(KP)return sd;KP=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function o(n,a,i){var l=null;if(i!==void 0&&(l=""+i),a.key!==void 0&&(l=""+a.key),"key"in a){i={};for(var c in a)c!=="key"&&(i[c]=a[c])}else i=a;return a=i.ref,{$$typeof:e,type:n,key:l,ref:a!==void 0?a:null,props:i}}return sd.Fragment=t,sd.jsx=o,sd.jsxs=o,sd}var WP;function U6(){return WP||(WP=1,Wy.exports=z6()),Wy.exports}var C=U6(),Yy={exports:{}},st={};var YP;function $6(){if(YP)return st;YP=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=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"),m=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),f=Symbol.iterator;function v(M){return M===null||typeof M!="object"?null:(M=f&&M[f]||M["@@iterator"],typeof M=="function"?M:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,x={};function _(M,H,q){this.props=M,this.context=H,this.refs=x,this.updater=q||b}_.prototype.isReactComponent={},_.prototype.setState=function(M,H){if(typeof M!="object"&&typeof M!="function"&&M!=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,M,H,"setState")},_.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function w(){}w.prototype=_.prototype;function P(M,H,q){this.props=M,this.context=H,this.refs=x,this.updater=q||b}var T=P.prototype=new w;T.constructor=P,S(T,_.prototype),T.isPureReactComponent=!0;var k=Array.isArray;function R(){}var D={H:null,A:null,T:null,S:null},O=Object.prototype.hasOwnProperty;function L(M,H,q){var N=q.ref;return{$$typeof:e,type:M,key:H,ref:N!==void 0?N:null,props:q}}function U(M,H){return L(M.type,H,M.props)}function F(M){return typeof M=="object"&&M!==null&&M.$$typeof===e}function $(M){var H={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(q){return H[q]})}var j=/\/+/g;function K(M,H){return typeof M=="object"&&M!==null&&M.key!=null?$(""+M.key):H.toString(36)}function ae(M){switch(M.status){case"fulfilled":return M.value;case"rejected":throw M.reason;default:switch(typeof M.status=="string"?M.then(R,R):(M.status="pending",M.then(function(H){M.status==="pending"&&(M.status="fulfilled",M.value=H)},function(H){M.status==="pending"&&(M.status="rejected",M.reason=H)})),M.status){case"fulfilled":return M.value;case"rejected":throw M.reason}}throw M}function V(M,H,q,N,z){var J=typeof M;(J==="undefined"||J==="boolean")&&(M=null);var me=!1;if(M===null)me=!0;else switch(J){case"bigint":case"string":case"number":me=!0;break;case"object":switch(M.$$typeof){case e:case t:me=!0;break;case h:return me=M._init,V(me(M._payload),H,q,N,z)}}if(me)return z=z(M),me=N===""?"."+K(M,0):N,k(z)?(q="",me!=null&&(q=me.replace(j,"$&/")+"/"),V(z,H,q,"",function(je){return je})):z!=null&&(F(z)&&(z=U(z,q+(z.key==null||M&&M.key===z.key?"":(""+z.key).replace(j,"$&/")+"/")+me)),H.push(z)),1;me=0;var he=N===""?".":N+":";if(k(M))for(var Ce=0;Ce<M.length;Ce++)N=M[Ce],J=he+K(N,Ce),me+=V(N,H,q,J,z);else if(Ce=v(M),typeof Ce=="function")for(M=Ce.call(M),Ce=0;!(N=M.next()).done;)N=N.value,J=he+K(N,Ce++),me+=V(N,H,q,J,z);else if(J==="object"){if(typeof M.then=="function")return V(ae(M),H,q,N,z);throw H=String(M),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return me}function Z(M,H,q){if(M==null)return M;var N=[],z=0;return V(M,N,"","",function(J){return H.call(q,J,z++)}),N}function te(M){if(M._status===-1){var H=M._result;H=H(),H.then(function(q){(M._status===0||M._status===-1)&&(M._status=1,M._result=q)},function(q){(M._status===0||M._status===-1)&&(M._status=2,M._result=q)}),M._status===-1&&(M._status=0,M._result=H)}if(M._status===1)return M._result.default;throw M._result}var le=typeof reportError=="function"?reportError:function(M){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof M=="object"&&M!==null&&typeof M.message=="string"?String(M.message):String(M),error:M});if(!window.dispatchEvent(H))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",M);return}console.error(M)},Q={map:Z,forEach:function(M,H,q){Z(M,function(){H.apply(this,arguments)},q)},count:function(M){var H=0;return Z(M,function(){H++}),H},toArray:function(M){return Z(M,function(H){return H})||[]},only:function(M){if(!F(M))throw Error("React.Children.only expected to receive a single React element child.");return M}};return st.Activity=p,st.Children=Q,st.Component=_,st.Fragment=o,st.Profiler=a,st.PureComponent=P,st.StrictMode=n,st.Suspense=d,st.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=D,st.__COMPILER_RUNTIME={__proto__:null,c:function(M){return D.H.useMemoCache(M)}},st.cache=function(M){return function(){return M.apply(null,arguments)}},st.cacheSignal=function(){return null},st.cloneElement=function(M,H,q){if(M==null)throw Error("The argument must be a React element, but you passed "+M+".");var N=S({},M.props),z=M.key;if(H!=null)for(J in H.key!==void 0&&(z=""+H.key),H)!O.call(H,J)||J==="key"||J==="__self"||J==="__source"||J==="ref"&&H.ref===void 0||(N[J]=H[J]);var J=arguments.length-2;if(J===1)N.children=q;else if(1<J){for(var me=Array(J),he=0;he<J;he++)me[he]=arguments[he+2];N.children=me}return L(M.type,z,N)},st.createContext=function(M){return M={$$typeof:l,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null},M.Provider=M,M.Consumer={$$typeof:i,_context:M},M},st.createElement=function(M,H,q){var N,z={},J=null;if(H!=null)for(N in H.key!==void 0&&(J=""+H.key),H)O.call(H,N)&&N!=="key"&&N!=="__self"&&N!=="__source"&&(z[N]=H[N]);var me=arguments.length-2;if(me===1)z.children=q;else if(1<me){for(var he=Array(me),Ce=0;Ce<me;Ce++)he[Ce]=arguments[Ce+2];z.children=he}if(M&&M.defaultProps)for(N in me=M.defaultProps,me)z[N]===void 0&&(z[N]=me[N]);return L(M,J,z)},st.createRef=function(){return{current:null}},st.forwardRef=function(M){return{$$typeof:c,render:M}},st.isValidElement=F,st.lazy=function(M){return{$$typeof:h,_payload:{_status:-1,_result:M},_init:te}},st.memo=function(M,H){return{$$typeof:m,type:M,compare:H===void 0?null:H}},st.startTransition=function(M){var H=D.T,q={};D.T=q;try{var N=M(),z=D.S;z!==null&&z(q,N),typeof N=="object"&&N!==null&&typeof N.then=="function"&&N.then(R,le)}catch(J){le(J)}finally{H!==null&&q.types!==null&&(H.types=q.types),D.T=H}},st.unstable_useCacheRefresh=function(){return D.H.useCacheRefresh()},st.use=function(M){return D.H.use(M)},st.useActionState=function(M,H,q){return D.H.useActionState(M,H,q)},st.useCallback=function(M,H){return D.H.useCallback(M,H)},st.useContext=function(M){return D.H.useContext(M)},st.useDebugValue=function(){},st.useDeferredValue=function(M,H){return D.H.useDeferredValue(M,H)},st.useEffect=function(M,H){return D.H.useEffect(M,H)},st.useEffectEvent=function(M){return D.H.useEffectEvent(M)},st.useId=function(){return D.H.useId()},st.useImperativeHandle=function(M,H,q){return D.H.useImperativeHandle(M,H,q)},st.useInsertionEffect=function(M,H){return D.H.useInsertionEffect(M,H)},st.useLayoutEffect=function(M,H){return D.H.useLayoutEffect(M,H)},st.useMemo=function(M,H){return D.H.useMemo(M,H)},st.useOptimistic=function(M,H){return D.H.useOptimistic(M,H)},st.useReducer=function(M,H,q){return D.H.useReducer(M,H,q)},st.useRef=function(M){return D.H.useRef(M)},st.useState=function(M){return D.H.useState(M)},st.useSyncExternalStore=function(M,H,q){return D.H.useSyncExternalStore(M,H,q)},st.useTransition=function(){return D.H.useTransition()},st.version="19.2.6",st}var ZP;function ws(){return ZP||(ZP=1,Yy.exports=$6()),Yy.exports}var A=ws();const X=yl(A),Ww=F6({__proto__:null,default:X},[A]);var Zy={exports:{}},ld={},Qy={exports:{}},Jy={};var QP;function q6(){return QP||(QP=1,(function(e){function t(V,Z){var te=V.length;V.push(Z);e:for(;0<te;){var le=te-1>>>1,Q=V[le];if(0<a(Q,Z))V[le]=Z,V[te]=Q,te=le;else break e}}function o(V){return V.length===0?null:V[0]}function n(V){if(V.length===0)return null;var Z=V[0],te=V.pop();if(te!==Z){V[0]=te;e:for(var le=0,Q=V.length,M=Q>>>1;le<M;){var H=2*(le+1)-1,q=V[H],N=H+1,z=V[N];if(0>a(q,te))N<Q&&0>a(z,q)?(V[le]=z,V[N]=te,le=N):(V[le]=q,V[H]=te,le=H);else if(N<Q&&0>a(z,te))V[le]=z,V[N]=te,le=N;else break e}}return Z}function a(V,Z){var te=V.sortIndex-Z.sortIndex;return te!==0?te:V.id-Z.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=[],m=[],h=1,p=null,f=3,v=!1,b=!1,S=!1,x=!1,_=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,P=typeof setImmediate<"u"?setImmediate:null;function T(V){for(var Z=o(m);Z!==null;){if(Z.callback===null)n(m);else if(Z.startTime<=V)n(m),Z.sortIndex=Z.expirationTime,t(d,Z);else break;Z=o(m)}}function k(V){if(S=!1,T(V),!b)if(o(d)!==null)b=!0,R||(R=!0,$());else{var Z=o(m);Z!==null&&ae(k,Z.startTime-V)}}var R=!1,D=-1,O=5,L=-1;function U(){return x?!0:!(e.unstable_now()-L<O)}function F(){if(x=!1,R){var V=e.unstable_now();L=V;var Z=!0;try{e:{b=!1,S&&(S=!1,w(D),D=-1),v=!0;var te=f;try{t:{for(T(V),p=o(d);p!==null&&!(p.expirationTime>V&&U());){var le=p.callback;if(typeof le=="function"){p.callback=null,f=p.priorityLevel;var Q=le(p.expirationTime<=V);if(V=e.unstable_now(),typeof Q=="function"){p.callback=Q,T(V),Z=!0;break t}p===o(d)&&n(d),T(V)}else n(d);p=o(d)}if(p!==null)Z=!0;else{var M=o(m);M!==null&&ae(k,M.startTime-V),Z=!1}}break e}finally{p=null,f=te,v=!1}Z=void 0}}finally{Z?$():R=!1}}}var $;if(typeof P=="function")$=function(){P(F)};else if(typeof MessageChannel<"u"){var j=new MessageChannel,K=j.port2;j.port1.onmessage=F,$=function(){K.postMessage(null)}}else $=function(){_(F,0)};function ae(V,Z){D=_(function(){V(e.unstable_now())},Z)}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(V){V.callback=null},e.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<V?Math.floor(1e3/V):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(V){switch(f){case 1:case 2:case 3:var Z=3;break;default:Z=f}var te=f;f=Z;try{return V()}finally{f=te}},e.unstable_requestPaint=function(){x=!0},e.unstable_runWithPriority=function(V,Z){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var te=f;f=V;try{return Z()}finally{f=te}},e.unstable_scheduleCallback=function(V,Z,te){var le=e.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?le+te:le):te=le,V){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=te+Q,V={id:h++,callback:Z,priorityLevel:V,startTime:te,expirationTime:Q,sortIndex:-1},te>le?(V.sortIndex=te,t(m,V),o(d)===null&&V===o(m)&&(S?(w(D),D=-1):S=!0,ae(k,te-le))):(V.sortIndex=Q,t(d,V),b||v||(b=!0,R||(R=!0,$()))),V},e.unstable_shouldYield=U,e.unstable_wrapCallback=function(V){var Z=f;return function(){var te=f;f=Z;try{return V.apply(this,arguments)}finally{f=te}}}})(Jy)),Jy}var JP;function V6(){return JP||(JP=1,Qy.exports=q6()),Qy.exports}var Xy={exports:{}},En={};var XP;function H6(){if(XP)return En;XP=1;var e=ws();function t(d){var m="https://react.dev/errors/"+d;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var h=2;h<arguments.length;h++)m+="&args[]="+encodeURIComponent(arguments[h])}return"Minified React error #"+d+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var n={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},a=Symbol.for("react.portal");function i(d,m,h){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:p==null?null:""+p,children:d,containerInfo:m,implementation:h}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(d,m){if(d==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return En.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,En.createPortal=function(d,m){var h=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(t(299));return i(d,m,null,h)},En.flushSync=function(d){var m=l.T,h=n.p;try{if(l.T=null,n.p=2,d)return d()}finally{l.T=m,n.p=h,n.d.f()}},En.preconnect=function(d,m){typeof d=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,n.d.C(d,m))},En.prefetchDNS=function(d){typeof d=="string"&&n.d.D(d)},En.preinit=function(d,m){if(typeof d=="string"&&m&&typeof m.as=="string"){var h=m.as,p=c(h,m.crossOrigin),f=typeof m.integrity=="string"?m.integrity:void 0,v=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;h==="style"?n.d.S(d,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:p,integrity:f,fetchPriority:v}):h==="script"&&n.d.X(d,{crossOrigin:p,integrity:f,fetchPriority:v,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},En.preinitModule=function(d,m){if(typeof d=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var h=c(m.as,m.crossOrigin);n.d.M(d,{crossOrigin:h,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&n.d.M(d)},En.preload=function(d,m){if(typeof d=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var h=m.as,p=c(h,m.crossOrigin);n.d.L(d,h,{crossOrigin:p,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},En.preloadModule=function(d,m){if(typeof d=="string")if(m){var h=c(m.as,m.crossOrigin);n.d.m(d,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:h,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else n.d.m(d)},En.requestFormReset=function(d){n.d.r(d)},En.unstable_batchedUpdates=function(d,m){return d(m)},En.useFormState=function(d,m,h){return l.H.useFormState(d,m,h)},En.useFormStatus=function(){return l.H.useHostTransitionStatus()},En.version="19.2.6",En}var e1;function AI(){if(e1)return Xy.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(),Xy.exports=H6(),Xy.exports}var t1;function G6(){if(t1)return ld;t1=1;var e=V6(),t=ws(),o=AI();function n(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 a(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(n(188))}function m(r){var s=r.alternate;if(!s){if(s=i(r),s===null)throw Error(n(188));return s!==r?null:r}for(var u=r,g=s;;){var y=u.return;if(y===null)break;var E=y.alternate;if(E===null){if(g=y.return,g!==null){u=g;continue}break}if(y.child===E.child){for(E=y.child;E;){if(E===u)return d(y),r;if(E===g)return d(y),s;E=E.sibling}throw Error(n(188))}if(u.return!==g.return)u=y,g=E;else{for(var I=!1,B=y.child;B;){if(B===u){I=!0,u=y,g=E;break}if(B===g){I=!0,g=y,u=E;break}B=B.sibling}if(!I){for(B=E.child;B;){if(B===u){I=!0,u=E,g=y;break}if(B===g){I=!0,g=E,u=y;break}B=B.sibling}if(!I)throw Error(n(189))}}if(u.alternate!==g)throw Error(n(190))}if(u.tag!==3)throw Error(n(188));return u.stateNode.current===u?r:s}function h(r){var s=r.tag;if(s===5||s===26||s===27||s===6)return r;for(r=r.child;r!==null;){if(s=h(r),s!==null)return s;r=r.sibling}return null}var p=Object.assign,f=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),w=Symbol.for("react.consumer"),P=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),k=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"),U=Symbol.for("react.memo_cache_sentinel"),F=Symbol.iterator;function $(r){return r===null||typeof r!="object"?null:(r=F&&r[F]||r["@@iterator"],typeof r=="function"?r:null)}var j=Symbol.for("react.client.reference");function K(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===j?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case S:return"Fragment";case _:return"Profiler";case x:return"StrictMode";case k:return"Suspense";case R:return"SuspenseList";case L:return"Activity"}if(typeof r=="object")switch(r.$$typeof){case b:return"Portal";case P:return r.displayName||"Context";case w:return(r._context.displayName||"Context")+".Consumer";case T: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:K(r.type)||"Memo";case O:s=r._payload,r=r._init;try{return K(r(s))}catch{}}return null}var ae=Array.isArray,V=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},le=[],Q=-1;function M(r){return{current:r}}function H(r){0>Q||(r.current=le[Q],le[Q]=null,Q--)}function q(r,s){Q++,le[Q]=r.current,r.current=s}var N=M(null),z=M(null),J=M(null),me=M(null);function he(r,s){switch(q(J,s),q(z,r),q(N,null),s.nodeType){case 9:case 11:r=(r=s.documentElement)&&(r=r.namespaceURI)?gP(r):0;break;default:if(r=s.tagName,s=s.namespaceURI)s=gP(s),r=fP(s,r);else switch(r){case"svg":r=1;break;case"math":r=2;break;default:r=0}}H(N),q(N,r)}function Ce(){H(N),H(z),H(J)}function je(r){r.memoizedState!==null&&q(me,r);var s=N.current,u=fP(s,r.type);s!==u&&(q(z,r),q(N,u))}function Y(r){z.current===r&&(H(N),H(z)),me.current===r&&(H(me),nd._currentValue=te)}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 _e=!1;function Ee(r,s){if(!r||_e)return"";_e=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var g={DetermineComponentFrameRoot:function(){try{if(s){var we=function(){throw Error()};if(Object.defineProperty(we.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(we,[])}catch(fe){var pe=fe}Reflect.construct(r,[],we)}else{try{we.call()}catch(fe){pe=fe}r.call(we.prototype)}}else{try{throw Error()}catch(fe){pe=fe}(we=r())&&typeof we.catch=="function"&&we.catch(function(){})}}catch(fe){if(fe&&pe&&typeof fe.stack=="string")return[fe.stack,pe.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 E=g.DetermineComponentFrameRoot(),I=E[0],B=E[1];if(I&&B){var ee=I.split(`
@@ -45,7 +45,7 @@ Error generating stack: `+g.message+`
45
45
 
46
46
  `)}v.write("payload.value = newResult;"),v.write("return payload;");const w=v.compile();return(P,T)=>w(f,P,T)};let i;const l=im,c=!yM.jitless,m=c&&M$.value,h=t.catchall;let p;e._zod.parse=(f,v)=>{p??(p=n.value);const b=f.value;return l(b)?c&&m&&v?.async===!1&&v.jitless!==!0?(i||(i=a(t.shape)),f=i(f,v),h?LM([],b,f,v,p,e):f):o(f,v):(f.issues.push({expected:"object",code:"invalid_type",input:b,inst:e}),f)}});function G1(e,t,o,n){for(const i of e)if(i.issues.length===0)return t.value=i.value,t;const a=e.filter(i=>!Mc(i));return a.length===1?(t.value=a[0].value,a[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:o,errors:e.map(i=>i.issues.map(l=>Ss(l,n,ys())))}),t)}const NM=be("$ZodUnion",(e,t)=>{$t.init(e,t),Dt(e._zod,"optin",()=>t.options.some(a=>a._zod.optin==="optional")?"optional":void 0),Dt(e._zod,"optout",()=>t.options.some(a=>a._zod.optout==="optional")?"optional":void 0),Dt(e._zod,"values",()=>{if(t.options.every(a=>a._zod.values))return new Set(t.options.flatMap(a=>Array.from(a._zod.values)))}),Dt(e._zod,"pattern",()=>{if(t.options.every(a=>a._zod.pattern)){const a=t.options.map(i=>i._zod.pattern);return new RegExp(`^(${a.map(i=>cC(i.source)).join("|")})$`)}});const o=t.options.length===1,n=t.options[0]._zod.run;e._zod.parse=(a,i)=>{if(o)return n(a,i);let l=!1;const c=[];for(const d of t.options){const m=d._zod.run({value:a.value,issues:[]},i);if(m instanceof Promise)c.push(m),l=!0;else{if(m.issues.length===0)return m;c.push(m)}}return l?Promise.all(c).then(d=>G1(d,a,e,i)):G1(c,a,e,i)}}),R8=be("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,NM.init(e,t);const o=e._zod.parse;Dt(e._zod,"propValues",()=>{const a={};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)){a[c]||(a[c]=new Set);for(const m of d)a[c].add(m)}}return a});const n=Yf(()=>{const a=t.options,i=new Map;for(const l of a){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=(a,i)=>{const l=a.value;if(!im(l))return a.issues.push({code:"invalid_type",expected:"object",input:l,inst:e}),a;const c=n.value.get(l?.[t.discriminator]);return c?c._zod.run(a,i):t.unionFallback?o(a,i):(a.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:l,path:[t.discriminator],inst:e}),a)}}),D8=be("$ZodIntersection",(e,t)=>{$t.init(e,t),e._zod.parse=(o,n)=>{const a=o.value,i=t.left._zod.run({value:a,issues:[]},n),l=t.right._zod.run({value:a,issues:[]},n);return i instanceof Promise||l instanceof Promise?Promise.all([i,l]).then(([d,m])=>K1(o,d,m)):K1(o,i,l)}});function l_(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(Jc(e)&&Jc(t)){const o=Object.keys(t),n=Object.keys(e).filter(i=>o.indexOf(i)!==-1),a={...e,...t};for(const i of n){const l=l_(e[i],t[i]);if(!l.valid)return{valid:!1,mergeErrorPath:[i,...l.mergeErrorPath]};a[i]=l.data}return{valid:!0,data:a}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const o=[];for(let n=0;n<e.length;n++){const a=e[n],i=t[n],l=l_(a,i);if(!l.valid)return{valid:!1,mergeErrorPath:[n,...l.mergeErrorPath]};o.push(l.data)}return{valid:!0,data:o}}return{valid:!1,mergeErrorPath:[]}}function K1(e,t,o){const n=new Map;let a;for(const c of t.issues)if(c.code==="unrecognized_keys"){a??(a=c);for(const d of c.keys)n.has(d)||n.set(d,{}),n.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)n.has(d)||n.set(d,{}),n.get(d).r=!0;else e.issues.push(c);const i=[...n].filter(([,c])=>c.l&&c.r).map(([c])=>c);if(i.length&&a&&e.issues.push({...a,keys:i}),Mc(e))return e;const l=l_(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 O8=be("$ZodTuple",(e,t)=>{$t.init(e,t);const o=t.items;e._zod.parse=(n,a)=>{const i=n.value;if(!Array.isArray(i))return n.issues.push({input:i,inst:e,expected:"tuple",code:"invalid_type"}),n;n.value=[];const l=[],c=[...o].reverse().findIndex(h=>h._zod.optin!=="optional"),d=c===-1?0:o.length-c;if(!t.rest){const h=i.length>o.length,p=i.length<d-1;if(h||p)return n.issues.push({...h?{code:"too_big",maximum:o.length,inclusive:!0}:{code:"too_small",minimum:o.length},input:i,inst:e,origin:"array"}),n}let m=-1;for(const h of o){if(m++,m>=i.length&&m>=d)continue;const p=h._zod.run({value:i[m],issues:[]},a);p instanceof Promise?l.push(p.then(f=>uh(f,n,m))):uh(p,n,m)}if(t.rest){const h=i.slice(o.length);for(const p of h){m++;const f=t.rest._zod.run({value:p,issues:[]},a);f instanceof Promise?l.push(f.then(v=>uh(v,n,m))):uh(f,n,m)}}return l.length?Promise.all(l).then(()=>n):n}});function uh(e,t,o){e.issues.length&&t.issues.push(...cl(o,e.issues)),t.value[o]=e.value}const I8=be("$ZodRecord",(e,t)=>{$t.init(e,t),e._zod.parse=(o,n)=>{const a=o.value;if(!Jc(a))return o.issues.push({expected:"record",code:"invalid_type",input:a,inst:e}),o;const i=[],l=t.keyType._zod.values;if(l){o.value={};const c=new Set;for(const m of l)if(typeof m=="string"||typeof m=="number"||typeof m=="symbol"){c.add(typeof m=="number"?m.toString():m);const h=t.valueType._zod.run({value:a[m],issues:[]},n);h instanceof Promise?i.push(h.then(p=>{p.issues.length&&o.issues.push(...cl(m,p.issues)),o.value[m]=p.value})):(h.issues.length&&o.issues.push(...cl(m,h.issues)),o.value[m]=h.value)}let d;for(const m in a)c.has(m)||(d=d??[],d.push(m));d&&d.length>0&&o.issues.push({code:"unrecognized_keys",input:a,inst:e,keys:d})}else{o.value={};for(const c of Reflect.ownKeys(a)){if(c==="__proto__")continue;let d=t.keyType._zod.run({value:c,issues:[]},n);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof c=="string"&&PM.test(c)&&d.issues.length){const p=t.keyType._zod.run({value:Number(c),issues:[]},n);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");p.issues.length===0&&(d=p)}if(d.issues.length){t.mode==="loose"?o.value[c]=a[c]:o.issues.push({code:"invalid_key",origin:"record",issues:d.issues.map(p=>Ss(p,n,ys())),input:c,path:[c],inst:e});continue}const h=t.valueType._zod.run({value:a[c],issues:[]},n);h instanceof Promise?i.push(h.then(p=>{p.issues.length&&o.issues.push(...cl(c,p.issues)),o.value[d.value]=p.value})):(h.issues.length&&o.issues.push(...cl(c,h.issues)),o.value[d.value]=h.value)}}return i.length?Promise.all(i).then(()=>o):o}}),M8=be("$ZodEnum",(e,t)=>{$t.init(e,t);const o=SM(t.entries),n=new Set(o);e._zod.values=n,e._zod.pattern=new RegExp(`^(${o.filter(a=>L$.has(typeof a)).map(a=>typeof a=="string"?Xc(a):a.toString()).join("|")})$`),e._zod.parse=(a,i)=>{const l=a.value;return n.has(l)||a.issues.push({code:"invalid_value",values:o,input:l,inst:e}),a}}),L8=be("$ZodLiteral",(e,t)=>{if($t.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(n=>typeof n=="string"?Xc(n):n?Xc(n.toString()):String(n)).join("|")})$`),e._zod.parse=(n,a)=>{const i=n.value;return o.has(i)||n.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),n}}),N8=be("$ZodFile",(e,t)=>{$t.init(e,t),e._zod.parse=(o,n)=>{const a=o.value;return a instanceof File||o.issues.push({expected:"file",code:"invalid_type",input:a,inst:e}),o}}),F8=be("$ZodTransform",(e,t)=>{$t.init(e,t),e._zod.parse=(o,n)=>{if(n.direction==="backward")throw new bM(e.constructor.name);const a=t.transform(o.value,o);if(n.async)return(a instanceof Promise?a:Promise.resolve(a)).then(l=>(o.value=l,o));if(a instanceof Promise)throw new Uc;return o.value=a,o}});function W1(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}const FM=be("$ZodOptional",(e,t)=>{$t.init(e,t),e._zod.optin="optional",e._zod.optout="optional",Dt(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),Dt(e._zod,"pattern",()=>{const o=t.innerType._zod.pattern;return o?new RegExp(`^(${cC(o.source)})?$`):void 0}),e._zod.parse=(o,n)=>{if(t.innerType._zod.optin==="optional"){const a=t.innerType._zod.run(o,n);return a instanceof Promise?a.then(i=>W1(i,o.value)):W1(a,o.value)}return o.value===void 0?o:t.innerType._zod.run(o,n)}}),B8=be("$ZodExactOptional",(e,t)=>{FM.init(e,t),Dt(e._zod,"values",()=>t.innerType._zod.values),Dt(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(o,n)=>t.innerType._zod.run(o,n)}),j8=be("$ZodNullable",(e,t)=>{$t.init(e,t),Dt(e._zod,"optin",()=>t.innerType._zod.optin),Dt(e._zod,"optout",()=>t.innerType._zod.optout),Dt(e._zod,"pattern",()=>{const o=t.innerType._zod.pattern;return o?new RegExp(`^(${cC(o.source)}|null)$`):void 0}),Dt(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(o,n)=>o.value===null?o:t.innerType._zod.run(o,n)}),z8=be("$ZodDefault",(e,t)=>{$t.init(e,t),e._zod.optin="optional",Dt(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(o,n)=>{if(n.direction==="backward")return t.innerType._zod.run(o,n);if(o.value===void 0)return o.value=t.defaultValue,o;const a=t.innerType._zod.run(o,n);return a instanceof Promise?a.then(i=>Y1(i,t)):Y1(a,t)}});function Y1(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const U8=be("$ZodPrefault",(e,t)=>{$t.init(e,t),e._zod.optin="optional",Dt(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(o,n)=>(n.direction==="backward"||o.value===void 0&&(o.value=t.defaultValue),t.innerType._zod.run(o,n))}),$8=be("$ZodNonOptional",(e,t)=>{$t.init(e,t),Dt(e._zod,"values",()=>{const o=t.innerType._zod.values;return o?new Set([...o].filter(n=>n!==void 0)):void 0}),e._zod.parse=(o,n)=>{const a=t.innerType._zod.run(o,n);return a instanceof Promise?a.then(i=>Z1(i,e)):Z1(a,e)}});function Z1(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 q8=be("$ZodCatch",(e,t)=>{$t.init(e,t),Dt(e._zod,"optin",()=>t.innerType._zod.optin),Dt(e._zod,"optout",()=>t.innerType._zod.optout),Dt(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(o,n)=>{if(n.direction==="backward")return t.innerType._zod.run(o,n);const a=t.innerType._zod.run(o,n);return a instanceof Promise?a.then(i=>(o.value=i.value,i.issues.length&&(o.value=t.catchValue({...o,error:{issues:i.issues.map(l=>Ss(l,n,ys()))},input:o.value}),o.issues=[]),o)):(o.value=a.value,a.issues.length&&(o.value=t.catchValue({...o,error:{issues:a.issues.map(i=>Ss(i,n,ys()))},input:o.value}),o.issues=[]),o)}}),V8=be("$ZodPipe",(e,t)=>{$t.init(e,t),Dt(e._zod,"values",()=>t.in._zod.values),Dt(e._zod,"optin",()=>t.in._zod.optin),Dt(e._zod,"optout",()=>t.out._zod.optout),Dt(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(o,n)=>{if(n.direction==="backward"){const i=t.out._zod.run(o,n);return i instanceof Promise?i.then(l=>dh(l,t.in,n)):dh(i,t.in,n)}const a=t.in._zod.run(o,n);return a instanceof Promise?a.then(i=>dh(i,t.out,n)):dh(a,t.out,n)}});function dh(e,t,o){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},o)}const H8=be("$ZodReadonly",(e,t)=>{$t.init(e,t),Dt(e._zod,"propValues",()=>t.innerType._zod.propValues),Dt(e._zod,"values",()=>t.innerType._zod.values),Dt(e._zod,"optin",()=>t.innerType?._zod?.optin),Dt(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(o,n)=>{if(n.direction==="backward")return t.innerType._zod.run(o,n);const a=t.innerType._zod.run(o,n);return a instanceof Promise?a.then(Q1):Q1(a)}});function Q1(e){return e.value=Object.freeze(e.value),e}const G8=be("$ZodLazy",(e,t)=>{$t.init(e,t),Dt(e._zod,"innerType",()=>t.getter()),Dt(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),Dt(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),Dt(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),Dt(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(o,n)=>e._zod.innerType._zod.run(o,n)}),K8=be("$ZodCustom",(e,t)=>{Sn.init(e,t),$t.init(e,t),e._zod.parse=(o,n)=>o,e._zod.check=o=>{const n=o.value,a=t.fn(n);if(a instanceof Promise)return a.then(i=>J1(i,o,n,e));J1(a,o,n,e)}});function J1(e,t,o,n){if(!e){const a={code:"custom",input:o,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(a.params=n._zod.def.params),t.issues.push(sm(a))}}var X1;class W8{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...o){const n=o[0];return this._map.set(t,n),n&&typeof n=="object"&&"id"in n&&this._idmap.set(n.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 n={...this.get(o)??{}};delete n.id;const a={...n,...this._map.get(t)};return Object.keys(a).length?a:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function Y8(){return new W8}(X1=globalThis).__zod_globalRegistry??(X1.__zod_globalRegistry=Y8());const Od=globalThis.__zod_globalRegistry;function Z8(e,t){return new e({type:"string",...Ue(t)})}function Q8(e,t){return new e({type:"string",coerce:!0,...Ue(t)})}function J8(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...Ue(t)})}function eA(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...Ue(t)})}function X8(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...Ue(t)})}function e7(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Ue(t)})}function t7(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Ue(t)})}function o7(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Ue(t)})}function BM(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...Ue(t)})}function n7(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...Ue(t)})}function a7(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...Ue(t)})}function r7(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...Ue(t)})}function i7(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...Ue(t)})}function s7(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...Ue(t)})}function l7(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...Ue(t)})}function c7(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...Ue(t)})}function u7(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...Ue(t)})}function d7(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...Ue(t)})}function m7(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Ue(t)})}function p7(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Ue(t)})}function h7(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...Ue(t)})}function g7(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...Ue(t)})}function f7(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...Ue(t)})}function v7(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...Ue(t)})}function b7(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Ue(t)})}function y7(e,t){return new e({type:"string",format:"date",check:"string_format",...Ue(t)})}function S7(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...Ue(t)})}function _7(e,t){return new e({type:"string",format:"duration",check:"string_format",...Ue(t)})}function w7(e,t){return new e({type:"number",checks:[],...Ue(t)})}function C7(e,t){return new e({type:"number",coerce:!0,checks:[],...Ue(t)})}function x7(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...Ue(t)})}function E7(e,t){return new e({type:"boolean",...Ue(t)})}function T7(e,t){return new e({type:"boolean",coerce:!0,...Ue(t)})}function k7(e,t){return new e({type:"undefined",...Ue(t)})}function P7(e,t){return new e({type:"null",...Ue(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",...Ue(t)})}function tA(e,t){return new RM({check:"less_than",...Ue(t),value:e,inclusive:!1})}function h0(e,t){return new RM({check:"less_than",...Ue(t),value:e,inclusive:!0})}function oA(e,t){return new DM({check:"greater_than",...Ue(t),value:e,inclusive:!1})}function g0(e,t){return new DM({check:"greater_than",...Ue(t),value:e,inclusive:!0})}function nA(e,t){return new Oq({check:"multiple_of",...Ue(t),value:e})}function O7(e,t){return new Mq({check:"max_size",...Ue(t),maximum:e})}function I7(e,t){return new Lq({check:"min_size",...Ue(t),minimum:e})}function jM(e,t){return new Nq({check:"max_length",...Ue(t),maximum:e})}function Qg(e,t){return new Fq({check:"min_length",...Ue(t),minimum:e})}function zM(e,t){return new Bq({check:"length_equals",...Ue(t),length:e})}function M7(e,t){return new jq({check:"string_format",format:"regex",...Ue(t),pattern:e})}function L7(e){return new zq({check:"string_format",format:"lowercase",...Ue(e)})}function N7(e){return new Uq({check:"string_format",format:"uppercase",...Ue(e)})}function F7(e,t){return new $q({check:"string_format",format:"includes",...Ue(t),includes:e})}function B7(e,t){return new qq({check:"string_format",format:"starts_with",...Ue(t),prefix:e})}function j7(e,t){return new Vq({check:"string_format",format:"ends_with",...Ue(t),suffix:e})}function z7(e,t){return new Hq({check:"mime_type",mime:e,...Ue(t)})}function hu(e){return new Gq({check:"overwrite",tx:e})}function U7(e){return hu(t=>t.normalize(e))}function $7(){return hu(e=>e.trim())}function q7(){return hu(e=>e.toLowerCase())}function V7(){return hu(e=>e.toUpperCase())}function H7(){return hu(e=>I$(e))}function G7(e,t,o){return new e({type:"array",element:t,...Ue(o)})}function K7(e,t){return new e({type:"file",...Ue(t)})}function W7(e,t,o){const n=Ue(o);return n.abort??(n.abort=!0),new e({type:"custom",check:"custom",fn:t,...n})}function Y7(e,t,o){return new e({type:"custom",check:"custom",fn:t,...Ue(o)})}function Z7(e){const t=Q7(o=>(o.addIssue=n=>{if(typeof n=="string")o.issues.push(sm(n,o.value,t._zod.def));else{const a=n;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=o.value),a.inst??(a.inst=t),a.continue??(a.continue=!t._zod.def.abort),o.issues.push(sm(a))}},e(o.value,o)));return t}function Q7(e,t){const o=new Sn({check:"custom",...Ue(t)});return o._zod.check=e,o}function Jg(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??Od,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 ao(e,t,o={path:[],schemaPath:[]}){var n;const a=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 h={...o,schemaPath:[...o.schemaPath,e],path:o.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,l.schema,h);else{const f=l.schema,v=t.processors[a.type];if(!v)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${a.type}`);v(e,t,f,h)}const p=e._zod.parent;p&&(l.ref||(l.ref=p),ao(p,t,h),t.seen.get(p).isParent=!0)}const d=t.metadataRegistry.get(e);return d&&Object.assign(l.schema,d),t.io==="input"&&jn(e)&&(delete l.schema.examples,delete l.schema.default),t.io==="input"&&l.schema._prefault&&((n=l.schema).default??(n.default=l.schema._prefault)),delete l.schema._prefault,t.seen.get(e).schema}function Xg(e,t){const o=e.seen.get(t);if(!o)throw new Error("Unprocessed schema. This is a bug in Zod.");const n=new Map;for(const l of e.seen.entries()){const c=e.metadataRegistry.get(l[0])?.id;if(c){const d=n.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.`);n.set(c,l[0])}}const a=l=>{const c=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const p=e.external.registry.get(l[0])?.id,f=e.external.uri??(b=>b);if(p)return{ref:f(p)};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 m=`#/${c}/`,h=l[1].schema.id??`__schema${e.counter++}`;return{defId:h,ref:m+h}},i=l=>{if(l[1].schema.$ref)return;const c=l[1],{ref:d,defId:m}=a(l);c.def={...c.schema},m&&(c.defId=m);const h=c.schema;for(const p in h)delete h[p];h.$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 m=e.external.registry.get(l[0])?.id;if(t!==l[0]&&m){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 ef(e,t){const o=e.seen.get(t);if(!o)throw new Error("Unprocessed schema. This is a bug in Zod.");const n=l=>{const c=e.seen.get(l);if(c.ref===null)return;const d=c.def??c.schema,m={...d},h=c.ref;if(c.ref=null,h){n(h);const f=e.seen.get(h),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,m),l._zod.parent===h)for(const S in d)S==="$ref"||S==="allOf"||S in m||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 p=l._zod.parent;if(p&&p!==h){n(p);const f=e.seen.get(p);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())n(l[0]);const a={};if(e.target==="draft-2020-12"?a.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?a.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?a.$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");a.$id=e.external.uri(l)}Object.assign(a,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"?a.$defs=i:a.definitions=i);try{const l=JSON.parse(JSON.stringify(a));return Object.defineProperty(l,"~standard",{value:{...t["~standard"],jsonSchema:{input:tf(t,"input",e.processors),output:tf(t,"output",e.processors)}},enumerable:!1,writable:!1}),l}catch{throw new Error("Error converting schema to JSON.")}}function jn(e,t){const o=t??{seen:new Set};if(o.seen.has(e))return!1;o.seen.add(e);const n=e._zod.def;if(n.type==="transform")return!0;if(n.type==="array")return jn(n.element,o);if(n.type==="set")return jn(n.valueType,o);if(n.type==="lazy")return jn(n.getter(),o);if(n.type==="promise"||n.type==="optional"||n.type==="nonoptional"||n.type==="nullable"||n.type==="readonly"||n.type==="default"||n.type==="prefault")return jn(n.innerType,o);if(n.type==="intersection")return jn(n.left,o)||jn(n.right,o);if(n.type==="record"||n.type==="map")return jn(n.keyType,o)||jn(n.valueType,o);if(n.type==="pipe")return jn(n.in,o)||jn(n.out,o);if(n.type==="object"){for(const a in n.shape)if(jn(n.shape[a],o))return!0;return!1}if(n.type==="union"){for(const a of n.options)if(jn(a,o))return!0;return!1}if(n.type==="tuple"){for(const a of n.items)if(jn(a,o))return!0;return!!(n.rest&&jn(n.rest,o))}return!1}const J7=(e,t={})=>o=>{const n=Jg({...o,processors:t});return ao(e,n),Xg(n,e),ef(n,e)},tf=(e,t,o={})=>n=>{const{libraryOptions:a,target:i}=n??{},l=Jg({...a??{},target:i,io:t,processors:o});return ao(e,l),Xg(l,e),ef(l,e)},X7={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},UM=(e,t,o,n)=>{const a=o;a.type="string";const{minimum:i,maximum:l,format:c,patterns:d,contentEncoding:m}=e._zod.bag;if(typeof i=="number"&&(a.minLength=i),typeof l=="number"&&(a.maxLength=l),c&&(a.format=X7[c]??c,a.format===""&&delete a.format,c==="time"&&delete a.format),m&&(a.contentEncoding=m),d&&d.size>0){const h=[...d];h.length===1?a.pattern=h[0].source:h.length>1&&(a.allOf=[...h.map(p=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:p.source}))])}},$M=(e,t,o,n)=>{const a=o,{minimum:i,maximum:l,format:c,multipleOf:d,exclusiveMaximum:m,exclusiveMinimum:h}=e._zod.bag;typeof c=="string"&&c.includes("int")?a.type="integer":a.type="number",typeof h=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(a.minimum=h,a.exclusiveMinimum=!0):a.exclusiveMinimum=h),typeof i=="number"&&(a.minimum=i,typeof h=="number"&&t.target!=="draft-04"&&(h>=i?delete a.minimum:delete a.exclusiveMinimum)),typeof m=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(a.maximum=m,a.exclusiveMaximum=!0):a.exclusiveMaximum=m),typeof l=="number"&&(a.maximum=l,typeof m=="number"&&t.target!=="draft-04"&&(m<=l?delete a.maximum:delete a.exclusiveMaximum)),typeof d=="number"&&(a.multipleOf=d)},qM=(e,t,o,n)=>{o.type="boolean"},eV=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},tV=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},VM=(e,t,o,n)=>{t.target==="openapi-3.0"?(o.type="string",o.nullable=!0,o.enum=[null]):o.type="null"},HM=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},oV=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},GM=(e,t,o,n)=>{o.not={}},KM=(e,t,o,n)=>{},WM=(e,t,o,n)=>{},nV=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},YM=(e,t,o,n)=>{const a=e._zod.def,i=SM(a.entries);i.every(l=>typeof l=="number")&&(o.type="number"),i.every(l=>typeof l=="string")&&(o.type="string"),o.enum=i},ZM=(e,t,o,n)=>{const a=e._zod.def,i=[];for(const l of a.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},aV=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},rV=(e,t,o,n)=>{const a=o,i=e._zod.pattern;if(!i)throw new Error("Pattern not found in template literal");a.type="string",a.pattern=i.source},QM=(e,t,o,n)=>{const a=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(a,i)):(Object.assign(a,i),a.anyOf=d.map(m=>({contentMediaType:m}))):Object.assign(a,i)},iV=(e,t,o,n)=>{o.type="boolean"},JM=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},sV=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},XM=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},lV=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},cV=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},e2=(e,t,o,n)=>{const a=o,i=e._zod.def,{minimum:l,maximum:c}=e._zod.bag;typeof l=="number"&&(a.minItems=l),typeof c=="number"&&(a.maxItems=c),a.type="array",a.items=ao(i.element,t,{...n,path:[...n.path,"items"]})},t2=(e,t,o,n)=>{const a=o,i=e._zod.def;a.type="object",a.properties={};const l=i.shape;for(const m in l)a.properties[m]=ao(l[m],t,{...n,path:[...n.path,"properties",m]});const c=new Set(Object.keys(l)),d=new Set([...c].filter(m=>{const h=i.shape[m]._zod;return t.io==="input"?h.optin===void 0:h.optout===void 0}));d.size>0&&(a.required=Array.from(d)),i.catchall?._zod.def.type==="never"?a.additionalProperties=!1:i.catchall?i.catchall&&(a.additionalProperties=ao(i.catchall,t,{...n,path:[...n.path,"additionalProperties"]})):t.io==="output"&&(a.additionalProperties=!1)},o2=(e,t,o,n)=>{const a=e._zod.def,i=a.inclusive===!1,l=a.options.map((c,d)=>ao(c,t,{...n,path:[...n.path,i?"oneOf":"anyOf",d]}));i?o.oneOf=l:o.anyOf=l},n2=(e,t,o,n)=>{const a=e._zod.def,i=ao(a.left,t,{...n,path:[...n.path,"allOf",0]}),l=ao(a.right,t,{...n,path:[...n.path,"allOf",1]}),c=m=>"allOf"in m&&Object.keys(m).length===1,d=[...c(i)?i.allOf:[i],...c(l)?l.allOf:[l]];o.allOf=d},a2=(e,t,o,n)=>{const a=o,i=e._zod.def;a.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)=>ao(f,t,{...n,path:[...n.path,l,v]})),m=i.rest?ao(i.rest,t,{...n,path:[...n.path,c,...t.target==="openapi-3.0"?[i.items.length]:[]]}):null;t.target==="draft-2020-12"?(a.prefixItems=d,m&&(a.items=m)):t.target==="openapi-3.0"?(a.items={anyOf:d},m&&a.items.anyOf.push(m),a.minItems=d.length,m||(a.maxItems=d.length)):(a.items=d,m&&(a.additionalItems=m));const{minimum:h,maximum:p}=e._zod.bag;typeof h=="number"&&(a.minItems=h),typeof p=="number"&&(a.maxItems=p)},r2=(e,t,o,n)=>{const a=o,i=e._zod.def;a.type="object";const l=i.keyType,d=l._zod.bag?.patterns;if(i.mode==="loose"&&d&&d.size>0){const h=ao(i.valueType,t,{...n,path:[...n.path,"patternProperties","*"]});a.patternProperties={};for(const p of d)a.patternProperties[p.source]=h}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(a.propertyNames=ao(i.keyType,t,{...n,path:[...n.path,"propertyNames"]})),a.additionalProperties=ao(i.valueType,t,{...n,path:[...n.path,"additionalProperties"]});const m=l._zod.values;if(m){const h=[...m].filter(p=>typeof p=="string"||typeof p=="number");h.length>0&&(a.required=h)}},i2=(e,t,o,n)=>{const a=e._zod.def,i=ao(a.innerType,t,n),l=t.seen.get(e);t.target==="openapi-3.0"?(l.ref=a.innerType,o.nullable=!0):o.anyOf=[i,{type:"null"}]},s2=(e,t,o,n)=>{const a=e._zod.def;ao(a.innerType,t,n);const i=t.seen.get(e);i.ref=a.innerType},l2=(e,t,o,n)=>{const a=e._zod.def;ao(a.innerType,t,n);const i=t.seen.get(e);i.ref=a.innerType,o.default=JSON.parse(JSON.stringify(a.defaultValue))},c2=(e,t,o,n)=>{const a=e._zod.def;ao(a.innerType,t,n);const i=t.seen.get(e);i.ref=a.innerType,t.io==="input"&&(o._prefault=JSON.parse(JSON.stringify(a.defaultValue)))},u2=(e,t,o,n)=>{const a=e._zod.def;ao(a.innerType,t,n);const i=t.seen.get(e);i.ref=a.innerType;let l;try{l=a.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}o.default=l},d2=(e,t,o,n)=>{const a=e._zod.def,i=t.io==="input"?a.in._zod.def.type==="transform"?a.out:a.in:a.out;ao(i,t,n);const l=t.seen.get(e);l.ref=i},m2=(e,t,o,n)=>{const a=e._zod.def;ao(a.innerType,t,n);const i=t.seen.get(e);i.ref=a.innerType,o.readOnly=!0},uV=(e,t,o,n)=>{const a=e._zod.def;ao(a.innerType,t,n);const i=t.seen.get(e);i.ref=a.innerType},pC=(e,t,o,n)=>{const a=e._zod.def;ao(a.innerType,t,n);const i=t.seen.get(e);i.ref=a.innerType},p2=(e,t,o,n)=>{const a=e._zod.innerType;ao(a,t,n);const i=t.seen.get(e);i.ref=a},aA={string:UM,number:$M,boolean:qM,bigint:eV,symbol:tV,null:VM,undefined:HM,void:oV,never:GM,any:KM,unknown:WM,date:nV,enum:YM,literal:ZM,nan:aV,template_literal:rV,file:QM,success:iV,custom:JM,function:sV,transform:XM,map:lV,set:cV,array:e2,object:t2,union:o2,intersection:n2,tuple:a2,record:r2,nullable:i2,nonoptional:s2,default:l2,prefault:c2,catch:u2,pipe:d2,readonly:m2,promise:uV,optional:pC,lazy:p2};function gpe(e,t){if("_idmap"in e){const n=e,a=Jg({...t,processors:aA}),i={};for(const d of n._idmap.entries()){const[m,h]=d;ao(h,a)}const l={},c={registry:n,uri:t?.uri,defs:i};a.external=c;for(const d of n._idmap.entries()){const[m,h]=d;Xg(a,h),l[m]=ef(a,h)}if(Object.keys(i).length>0){const d=a.target==="draft-2020-12"?"$defs":"definitions";l.__shared={[d]:i}}return{schemas:l}}const o=Jg({...t,processors:aA});return ao(e,o),Xg(o,e),ef(o,e)}const dV=be("ZodISODateTime",(e,t)=>{i8.init(e,t),xo.init(e,t)});function h2(e){return b7(dV,e)}const mV=be("ZodISODate",(e,t)=>{s8.init(e,t),xo.init(e,t)});function pV(e){return y7(mV,e)}const hV=be("ZodISOTime",(e,t)=>{l8.init(e,t),xo.init(e,t)});function gV(e){return S7(hV,e)}const fV=be("ZodISODuration",(e,t)=>{c8.init(e,t),xo.init(e,t)});function vV(e){return _7(fV,e)}const bV=(e,t)=>{dC.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:o=>G$(e,o)},flatten:{value:o=>H$(e,o)},addIssue:{value:o=>{e.issues.push(o),e.message=JSON.stringify(e.issues,s_,2)}},addIssues:{value:o=>{e.issues.push(...o),e.message=JSON.stringify(e.issues,s_,2)}},isEmpty:{get(){return e.issues.length===0}}})},Ha=be("ZodError",bV,{Parent:Error}),yV=Qf(Ha),SV=Jf(Ha),_V=Xf(Ha),wV=ev(Ha),CV=Q$(Ha),xV=J$(Ha),EV=X$(Ha),TV=eq(Ha),kV=tq(Ha),PV=oq(Ha),AV=nq(Ha),RV=aq(Ha),Kt=be("ZodType",(e,t)=>($t.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:tf(e,"input"),output:tf(e,"output")}}),e.toJSONSchema=J7(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...o)=>e.clone(xs(t,{checks:[...t.checks??[],...o.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),{parent:!0}),e.with=e.check,e.clone=(o,n)=>Es(e,o,n),e.brand=()=>e,e.register=((o,n)=>(o.add(e,n),e)),e.parse=(o,n)=>yV(e,o,n,{callee:e.parse}),e.safeParse=(o,n)=>_V(e,o,n),e.parseAsync=async(o,n)=>SV(e,o,n,{callee:e.parseAsync}),e.safeParseAsync=async(o,n)=>wV(e,o,n),e.spa=e.safeParseAsync,e.encode=(o,n)=>CV(e,o,n),e.decode=(o,n)=>xV(e,o,n),e.encodeAsync=async(o,n)=>EV(e,o,n),e.decodeAsync=async(o,n)=>TV(e,o,n),e.safeEncode=(o,n)=>kV(e,o,n),e.safeDecode=(o,n)=>PV(e,o,n),e.safeEncodeAsync=async(o,n)=>AV(e,o,n),e.safeDecodeAsync=async(o,n)=>RV(e,o,n),e.refine=(o,n)=>e.check(E9(o,n)),e.superRefine=o=>e.check(T9(o)),e.overwrite=o=>e.check(hu(o)),e.optional=()=>wo(e),e.exactOptional=()=>d9(e),e.nullable=()=>sA(e),e.nullish=()=>wo(sA(e)),e.nonoptional=o=>v9(e,o),e.array=()=>Le(e),e.or=o=>ro([e,o]),e.and=o=>fC(e,o),e.transform=o=>u_(e,w2(o)),e.default=o=>h9(e,o),e.prefault=o=>f9(e,o),e.catch=o=>y9(e,o),e.pipe=o=>u_(e,o),e.readonly=()=>w9(e),e.describe=o=>{const n=e.clone();return Od.add(n,{description:o}),n},Object.defineProperty(e,"description",{get(){return Od.get(e)?.description},configurable:!0}),e.meta=(...o)=>{if(o.length===0)return Od.get(e);const n=e.clone();return Od.add(n,o[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=o=>o(e),e)),g2=be("_ZodString",(e,t)=>{mC.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(n,a,i)=>UM(e,n,a);const o=e._zod.bag;e.format=o.format??null,e.minLength=o.minimum??null,e.maxLength=o.maximum??null,e.regex=(...n)=>e.check(M7(...n)),e.includes=(...n)=>e.check(F7(...n)),e.startsWith=(...n)=>e.check(B7(...n)),e.endsWith=(...n)=>e.check(j7(...n)),e.min=(...n)=>e.check(Qg(...n)),e.max=(...n)=>e.check(jM(...n)),e.length=(...n)=>e.check(zM(...n)),e.nonempty=(...n)=>e.check(Qg(1,...n)),e.lowercase=n=>e.check(L7(n)),e.uppercase=n=>e.check(N7(n)),e.trim=()=>e.check($7()),e.normalize=(...n)=>e.check(U7(...n)),e.toLowerCase=()=>e.check(q7()),e.toUpperCase=()=>e.check(V7()),e.slugify=()=>e.check(H7())}),f2=be("ZodString",(e,t)=>{mC.init(e,t),g2.init(e,t),e.email=o=>e.check(J8(DV,o)),e.url=o=>e.check(BM(v2,o)),e.jwt=o=>e.check(v7(KV,o)),e.emoji=o=>e.check(n7(IV,o)),e.guid=o=>e.check(eA(rA,o)),e.uuid=o=>e.check(X8(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(a7(MV,o)),e.guid=o=>e.check(eA(rA,o)),e.cuid=o=>e.check(r7(LV,o)),e.cuid2=o=>e.check(i7(NV,o)),e.ulid=o=>e.check(s7(FV,o)),e.base64=o=>e.check(h7(VV,o)),e.base64url=o=>e.check(g7(HV,o)),e.xid=o=>e.check(l7(BV,o)),e.ksuid=o=>e.check(c7(jV,o)),e.ipv4=o=>e.check(u7(zV,o)),e.ipv6=o=>e.check(d7(UV,o)),e.cidrv4=o=>e.check(m7($V,o)),e.cidrv6=o=>e.check(p7(qV,o)),e.e164=o=>e.check(f7(GV,o)),e.datetime=o=>e.check(h2(o)),e.date=o=>e.check(pV(o)),e.time=o=>e.check(gV(o)),e.duration=o=>e.check(vV(o))});function G(e){return Z8(f2,e)}const xo=be("ZodStringFormat",(e,t)=>{bo.init(e,t),g2.init(e,t)}),DV=be("ZodEmail",(e,t)=>{Qq.init(e,t),xo.init(e,t)}),rA=be("ZodGUID",(e,t)=>{Yq.init(e,t),xo.init(e,t)}),mh=be("ZodUUID",(e,t)=>{Zq.init(e,t),xo.init(e,t)}),v2=be("ZodURL",(e,t)=>{Jq.init(e,t),xo.init(e,t)});function OV(e){return BM(v2,e)}const IV=be("ZodEmoji",(e,t)=>{Xq.init(e,t),xo.init(e,t)}),MV=be("ZodNanoID",(e,t)=>{e8.init(e,t),xo.init(e,t)}),LV=be("ZodCUID",(e,t)=>{t8.init(e,t),xo.init(e,t)}),NV=be("ZodCUID2",(e,t)=>{o8.init(e,t),xo.init(e,t)}),FV=be("ZodULID",(e,t)=>{n8.init(e,t),xo.init(e,t)}),BV=be("ZodXID",(e,t)=>{a8.init(e,t),xo.init(e,t)}),jV=be("ZodKSUID",(e,t)=>{r8.init(e,t),xo.init(e,t)}),zV=be("ZodIPv4",(e,t)=>{u8.init(e,t),xo.init(e,t)}),UV=be("ZodIPv6",(e,t)=>{d8.init(e,t),xo.init(e,t)}),$V=be("ZodCIDRv4",(e,t)=>{m8.init(e,t),xo.init(e,t)}),qV=be("ZodCIDRv6",(e,t)=>{p8.init(e,t),xo.init(e,t)}),VV=be("ZodBase64",(e,t)=>{h8.init(e,t),xo.init(e,t)}),HV=be("ZodBase64URL",(e,t)=>{f8.init(e,t),xo.init(e,t)}),GV=be("ZodE164",(e,t)=>{v8.init(e,t),xo.init(e,t)}),KV=be("ZodJWT",(e,t)=>{y8.init(e,t),xo.init(e,t)}),hC=be("ZodNumber",(e,t)=>{IM.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(n,a,i)=>$M(e,n,a),e.gt=(n,a)=>e.check(oA(n,a)),e.gte=(n,a)=>e.check(g0(n,a)),e.min=(n,a)=>e.check(g0(n,a)),e.lt=(n,a)=>e.check(tA(n,a)),e.lte=(n,a)=>e.check(h0(n,a)),e.max=(n,a)=>e.check(h0(n,a)),e.int=n=>e.check(iA(n)),e.safe=n=>e.check(iA(n)),e.positive=n=>e.check(oA(0,n)),e.nonnegative=n=>e.check(g0(0,n)),e.negative=n=>e.check(tA(0,n)),e.nonpositive=n=>e.check(h0(0,n)),e.multipleOf=(n,a)=>e.check(nA(n,a)),e.step=(n,a)=>e.check(nA(n,a)),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 Ot(e){return w7(hC,e)}const WV=be("ZodNumberFormat",(e,t)=>{S8.init(e,t),hC.init(e,t)});function iA(e){return x7(WV,e)}const b2=be("ZodBoolean",(e,t)=>{_8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>qM(e,o,n)});function Gt(e){return E7(b2,e)}const YV=be("ZodUndefined",(e,t)=>{w8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>HM(e,o)});function fpe(e){return k7(YV,e)}const ZV=be("ZodNull",(e,t)=>{C8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>VM(e,o,n)});function QV(e){return P7(ZV,e)}const JV=be("ZodAny",(e,t)=>{x8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>KM()});function XV(){return A7(JV)}const e9=be("ZodUnknown",(e,t)=>{E8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>WM()});function Co(){return R7(e9)}const t9=be("ZodNever",(e,t)=>{T8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>GM(e,o,n)});function y2(e){return D7(t9,e)}const o9=be("ZodArray",(e,t)=>{k8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>e2(e,o,n,a),e.element=t.element,e.min=(o,n)=>e.check(Qg(o,n)),e.nonempty=o=>e.check(Qg(1,o)),e.max=(o,n)=>e.check(jM(o,n)),e.length=(o,n)=>e.check(zM(o,n)),e.unwrap=()=>e.element});function Le(e,t){return G7(o9,e,t)}const gC=be("ZodObject",(e,t)=>{A8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>t2(e,o,n,a),Dt(e,"shape",()=>t.shape),e.keyof=()=>yn(Object.keys(e._zod.def.shape)),e.catchall=o=>e.clone({...e._zod.def,catchall:o}),e.passthrough=()=>e.clone({...e._zod.def,catchall:Co()}),e.loose=()=>e.clone({...e._zod.def,catchall:Co()}),e.strict=()=>e.clone({...e._zod.def,catchall:y2()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=o=>z$(e,o),e.safeExtend=o=>U$(e,o),e.merge=o=>$$(e,o),e.pick=o=>B$(e,o),e.omit=o=>j$(e,o),e.partial=(...o)=>q$(C2,e,o[0]),e.required=(...o)=>V$(x2,e,o[0])});function Ae(e,t){const o={type:"object",shape:e??{},...Ue(t)};return new gC(o)}function vpe(e,t){return new gC({type:"object",shape:e,catchall:y2(),...Ue(t)})}function bn(e,t){return new gC({type:"object",shape:e,catchall:Co(),...Ue(t)})}const S2=be("ZodUnion",(e,t)=>{NM.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>o2(e,o,n,a),e.options=t.options});function ro(e,t){return new S2({type:"union",options:e,...Ue(t)})}const n9=be("ZodDiscriminatedUnion",(e,t)=>{S2.init(e,t),R8.init(e,t)});function _2(e,t,o){return new n9({type:"union",options:t,discriminator:e,...Ue(o)})}const a9=be("ZodIntersection",(e,t)=>{D8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>n2(e,o,n,a)});function fC(e,t){return new a9({type:"intersection",left:e,right:t})}const r9=be("ZodTuple",(e,t)=>{O8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>a2(e,o,n,a),e.rest=o=>e.clone({...e._zod.def,rest:o})});function bpe(e,t,o){const n=t instanceof $t,a=n?o:t,i=n?t:null;return new r9({type:"tuple",items:e,rest:i,...Ue(a)})}const i9=be("ZodRecord",(e,t)=>{I8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>r2(e,o,n,a),e.keyType=t.keyType,e.valueType=t.valueType});function mo(e,t,o){return new i9({type:"record",keyType:e,valueType:t,...Ue(o)})}const c_=be("ZodEnum",(e,t)=>{M8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(n,a,i)=>YM(e,n,a),e.enum=t.entries,e.options=Object.values(t.entries);const o=new Set(Object.keys(t.entries));e.extract=(n,a)=>{const i={};for(const l of n)if(o.has(l))i[l]=t.entries[l];else throw new Error(`Key ${l} not found in enum`);return new c_({...t,checks:[],...Ue(a),entries:i})},e.exclude=(n,a)=>{const i={...t.entries};for(const l of n)if(o.has(l))delete i[l];else throw new Error(`Key ${l} not found in enum`);return new c_({...t,checks:[],...Ue(a),entries:i})}});function yn(e,t){const o=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new c_({type:"enum",entries:o,...Ue(t)})}const s9=be("ZodLiteral",(e,t)=>{L8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>ZM(e,o,n),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 Ye(e,t){return new s9({type:"literal",values:Array.isArray(e)?e:[e],...Ue(t)})}const l9=be("ZodFile",(e,t)=>{N8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>QM(e,o,n),e.min=(o,n)=>e.check(I7(o,n)),e.max=(o,n)=>e.check(O7(o,n)),e.mime=(o,n)=>e.check(z7(Array.isArray(o)?o:[o],n))});function ype(e){return K7(l9,e)}const c9=be("ZodTransform",(e,t)=>{F8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>XM(e,o),e._zod.parse=(o,n)=>{if(n.direction==="backward")throw new bM(e.constructor.name);o.addIssue=i=>{if(typeof i=="string")o.issues.push(sm(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(sm(l))}};const a=t.transform(o.value,o);return a instanceof Promise?a.then(i=>(o.value=i,o)):(o.value=a,o)}});function w2(e){return new c9({type:"transform",transform:e})}const C2=be("ZodOptional",(e,t)=>{FM.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>pC(e,o,n,a),e.unwrap=()=>e._zod.def.innerType});function wo(e){return new C2({type:"optional",innerType:e})}const u9=be("ZodExactOptional",(e,t)=>{B8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>pC(e,o,n,a),e.unwrap=()=>e._zod.def.innerType});function d9(e){return new u9({type:"optional",innerType:e})}const m9=be("ZodNullable",(e,t)=>{j8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>i2(e,o,n,a),e.unwrap=()=>e._zod.def.innerType});function sA(e){return new m9({type:"nullable",innerType:e})}const p9=be("ZodDefault",(e,t)=>{z8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>l2(e,o,n,a),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function h9(e,t){return new p9({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():wM(t)}})}const g9=be("ZodPrefault",(e,t)=>{U8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>c2(e,o,n,a),e.unwrap=()=>e._zod.def.innerType});function f9(e,t){return new g9({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():wM(t)}})}const x2=be("ZodNonOptional",(e,t)=>{$8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>s2(e,o,n,a),e.unwrap=()=>e._zod.def.innerType});function v9(e,t){return new x2({type:"nonoptional",innerType:e,...Ue(t)})}const b9=be("ZodCatch",(e,t)=>{q8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>u2(e,o,n,a),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function y9(e,t){return new b9({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const S9=be("ZodPipe",(e,t)=>{V8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>d2(e,o,n,a),e.in=t.in,e.out=t.out});function u_(e,t){return new S9({type:"pipe",in:e,out:t})}const _9=be("ZodReadonly",(e,t)=>{H8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>m2(e,o,n,a),e.unwrap=()=>e._zod.def.innerType});function w9(e){return new _9({type:"readonly",innerType:e})}const C9=be("ZodLazy",(e,t)=>{G8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>p2(e,o,n,a),e.unwrap=()=>e._zod.def.getter()});function Lr(e){return new C9({type:"lazy",getter:e})}const vC=be("ZodCustom",(e,t)=>{K8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>JM(e,o)});function x9(e,t){return W7(vC,e??(()=>!0),t)}function E9(e,t={}){return Y7(vC,e,t)}function T9(e){return Z7(e)}function Spe(e,t={}){const o=new vC({type:"custom",check:"custom",fn:n=>n instanceof e,abort:!0,...Ue(t)});return o._zod.bag.Class=e,o._zod.check=n=>{n.value instanceof e||n.issues.push({code:"invalid_type",expected:e.name,input:n.value,inst:o,path:[...o._zod.def.path??[]]})},o}function bC(e,t){return u_(w2(e),t)}const k9={custom:"custom"};function E2(e){return Q8(f2,e)}function T2(e){return C7(hC,e)}function lA(e){return T7(b2,e)}const P9="2025-11-25",_pe=[P9,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],A9="io.modelcontextprotocol/related-task",ov="2.0",Xo=x9(e=>e!==null&&(typeof e=="object"||typeof e=="function")),k2=ro([G(),Ot().int()]),P2=G();bn({ttl:Ot().optional(),pollInterval:Ot().optional()});const R9=Ae({ttl:Ot().optional()}),D9=Ae({taskId:G()}),yC=bn({progressToken:k2.optional(),[A9]:D9.optional()}),Ca=Ae({_meta:yC.optional()}),Tm=Ca.extend({task:R9.optional()}),wpe=e=>Tm.safeParse(e).success,_n=Ae({method:G(),params:Ca.loose().optional()}),Ga=Ae({_meta:yC.optional()}),Ka=Ae({method:G(),params:Ga.loose().optional()}),wn=bn({_meta:yC.optional()}),nv=ro([G(),Ot().int()]),A2=Ae({jsonrpc:Ye(ov),id:nv,..._n.shape}).strict(),Cpe=e=>A2.safeParse(e).success,R2=Ae({jsonrpc:Ye(ov),...Ka.shape}).strict(),xpe=e=>R2.safeParse(e).success,SC=Ae({jsonrpc:Ye(ov),id:nv,result:wn}).strict(),Epe=e=>SC.safeParse(e).success;var lm;(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"})(lm||(lm={}));const _C=Ae({jsonrpc:Ye(ov),id:nv.optional(),error:Ae({code:Ot().int(),message:G(),data:Co().optional()})}).strict(),Tpe=e=>_C.safeParse(e).success,kpe=ro([A2,R2,SC,_C]);ro([SC,_C]);const D2=wn.strict(),O9=Ga.extend({requestId:nv.optional(),reason:G().optional()}),O2=Ka.extend({method:Ye("notifications/cancelled"),params:O9}),I9=Ae({src:G(),mimeType:G().optional(),sizes:Le(G()).optional(),theme:yn(["light","dark"]).optional()}),km=Ae({icons:Le(I9).optional()}),eu=Ae({name:G(),title:G().optional()}),I2=eu.extend({...eu.shape,...km.shape,version:G(),websiteUrl:G().optional(),description:G().optional()}),M9=fC(Ae({applyDefaults:Gt().optional()}),mo(G(),Co())),L9=bC(e=>e&&typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,fC(Ae({form:M9.optional(),url:Xo.optional()}),mo(G(),Co()).optional())),N9=bn({list:Xo.optional(),cancel:Xo.optional(),requests:bn({sampling:bn({createMessage:Xo.optional()}).optional(),elicitation:bn({create:Xo.optional()}).optional()}).optional()}),F9=bn({list:Xo.optional(),cancel:Xo.optional(),requests:bn({tools:bn({call:Xo.optional()}).optional()}).optional()}),B9=Ae({experimental:mo(G(),Xo).optional(),sampling:Ae({context:Xo.optional(),tools:Xo.optional()}).optional(),elicitation:L9.optional(),roots:Ae({listChanged:Gt().optional()}).optional(),tasks:N9.optional(),extensions:mo(G(),Xo).optional()}),j9=Ca.extend({protocolVersion:G(),capabilities:B9,clientInfo:I2}),z9=_n.extend({method:Ye("initialize"),params:j9}),U9=Ae({experimental:mo(G(),Xo).optional(),logging:Xo.optional(),completions:Xo.optional(),prompts:Ae({listChanged:Gt().optional()}).optional(),resources:Ae({subscribe:Gt().optional(),listChanged:Gt().optional()}).optional(),tools:Ae({listChanged:Gt().optional()}).optional(),tasks:F9.optional(),extensions:mo(G(),Xo).optional()}),$9=wn.extend({protocolVersion:G(),capabilities:U9,serverInfo:I2,instructions:G().optional()}),M2=Ka.extend({method:Ye("notifications/initialized"),params:Ga.optional()}),Ppe=e=>M2.safeParse(e).success,L2=_n.extend({method:Ye("ping"),params:Ca.optional()}),q9=Ae({progress:Ot(),total:wo(Ot()),message:wo(G())}),V9=Ae({...Ga.shape,...q9.shape,progressToken:k2}),N2=Ka.extend({method:Ye("notifications/progress"),params:V9}),H9=Ca.extend({cursor:P2.optional()}),Pm=_n.extend({params:H9.optional()}),Am=wn.extend({nextCursor:P2.optional()}),G9=yn(["working","input_required","completed","failed","cancelled"]),Rm=Ae({taskId:G(),status:G9,ttl:ro([Ot(),QV()]),createdAt:G(),lastUpdatedAt:G(),pollInterval:wo(Ot()),statusMessage:wo(G())}),F2=wn.extend({task:Rm}),K9=Ga.merge(Rm),B2=Ka.extend({method:Ye("notifications/tasks/status"),params:K9}),j2=_n.extend({method:Ye("tasks/get"),params:Ca.extend({taskId:G()})}),z2=wn.merge(Rm),U2=_n.extend({method:Ye("tasks/result"),params:Ca.extend({taskId:G()})});wn.loose();const $2=Pm.extend({method:Ye("tasks/list")}),q2=Am.extend({tasks:Le(Rm)}),V2=_n.extend({method:Ye("tasks/cancel"),params:Ca.extend({taskId:G()})}),Ape=wn.merge(Rm),H2=Ae({uri:G(),mimeType:wo(G()),_meta:mo(G(),Co()).optional()}),G2=H2.extend({text:G()}),wC=G().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:"Invalid Base64 string"}),K2=H2.extend({blob:wC}),Dm=yn(["user","assistant"]),gu=Ae({audience:Le(Dm).optional(),priority:Ot().min(0).max(1).optional(),lastModified:h2({offset:!0}).optional()}),W2=Ae({...eu.shape,...km.shape,uri:G(),description:wo(G()),mimeType:wo(G()),size:wo(Ot()),annotations:gu.optional(),_meta:wo(bn({}))}),W9=Ae({...eu.shape,...km.shape,uriTemplate:G(),description:wo(G()),mimeType:wo(G()),annotations:gu.optional(),_meta:wo(bn({}))}),Y9=Pm.extend({method:Ye("resources/list")}),Z9=Am.extend({resources:Le(W2)}),Q9=Pm.extend({method:Ye("resources/templates/list")}),J9=Am.extend({resourceTemplates:Le(W9)}),CC=Ca.extend({uri:G()}),X9=CC,eH=_n.extend({method:Ye("resources/read"),params:X9}),tH=wn.extend({contents:Le(ro([G2,K2]))}),oH=Ka.extend({method:Ye("notifications/resources/list_changed"),params:Ga.optional()}),nH=CC,aH=_n.extend({method:Ye("resources/subscribe"),params:nH}),rH=CC,iH=_n.extend({method:Ye("resources/unsubscribe"),params:rH}),sH=Ga.extend({uri:G()}),lH=Ka.extend({method:Ye("notifications/resources/updated"),params:sH}),cH=Ae({name:G(),description:wo(G()),required:wo(Gt())}),uH=Ae({...eu.shape,...km.shape,description:wo(G()),arguments:wo(Le(cH)),_meta:wo(bn({}))}),dH=Pm.extend({method:Ye("prompts/list")}),mH=Am.extend({prompts:Le(uH)}),pH=Ca.extend({name:G(),arguments:mo(G(),G()).optional()}),hH=_n.extend({method:Ye("prompts/get"),params:pH}),xC=Ae({type:Ye("text"),text:G(),annotations:gu.optional(),_meta:mo(G(),Co()).optional()}),EC=Ae({type:Ye("image"),data:wC,mimeType:G(),annotations:gu.optional(),_meta:mo(G(),Co()).optional()}),TC=Ae({type:Ye("audio"),data:wC,mimeType:G(),annotations:gu.optional(),_meta:mo(G(),Co()).optional()}),gH=Ae({type:Ye("tool_use"),name:G(),id:G(),input:mo(G(),Co()),_meta:mo(G(),Co()).optional()}),fH=Ae({type:Ye("resource"),resource:ro([G2,K2]),annotations:gu.optional(),_meta:mo(G(),Co()).optional()}),vH=W2.extend({type:Ye("resource_link")}),kC=ro([xC,EC,TC,vH,fH]),bH=Ae({role:Dm,content:kC}),yH=wn.extend({description:G().optional(),messages:Le(bH)}),SH=Ka.extend({method:Ye("notifications/prompts/list_changed"),params:Ga.optional()}),_H=Ae({title:G().optional(),readOnlyHint:Gt().optional(),destructiveHint:Gt().optional(),idempotentHint:Gt().optional(),openWorldHint:Gt().optional()}),wH=Ae({taskSupport:yn(["required","optional","forbidden"]).optional()}),Y2=Ae({...eu.shape,...km.shape,description:G().optional(),inputSchema:Ae({type:Ye("object"),properties:mo(G(),Xo).optional(),required:Le(G()).optional()}).catchall(Co()),outputSchema:Ae({type:Ye("object"),properties:mo(G(),Xo).optional(),required:Le(G()).optional()}).catchall(Co()).optional(),annotations:_H.optional(),execution:wH.optional(),_meta:mo(G(),Co()).optional()}),CH=Pm.extend({method:Ye("tools/list")}),xH=Am.extend({tools:Le(Y2)}),Z2=wn.extend({content:Le(kC).default([]),structuredContent:mo(G(),Co()).optional(),isError:Gt().optional()});Z2.or(wn.extend({toolResult:Co()}));const EH=Tm.extend({name:G(),arguments:mo(G(),Co()).optional()}),TH=_n.extend({method:Ye("tools/call"),params:EH}),kH=Ka.extend({method:Ye("notifications/tools/list_changed"),params:Ga.optional()}),Rpe=Ae({autoRefresh:Gt().default(!0),debounceMs:Ot().int().nonnegative().default(300)}),Q2=yn(["debug","info","notice","warning","error","critical","alert","emergency"]),PH=Ca.extend({level:Q2}),AH=_n.extend({method:Ye("logging/setLevel"),params:PH}),RH=Ga.extend({level:Q2,logger:G().optional(),data:Co()}),DH=Ka.extend({method:Ye("notifications/message"),params:RH}),OH=Ae({name:G().optional()}),IH=Ae({hints:Le(OH).optional(),costPriority:Ot().min(0).max(1).optional(),speedPriority:Ot().min(0).max(1).optional(),intelligencePriority:Ot().min(0).max(1).optional()}),MH=Ae({mode:yn(["auto","required","none"]).optional()}),LH=Ae({type:Ye("tool_result"),toolUseId:G().describe("The unique identifier for the corresponding tool call."),content:Le(kC).default([]),structuredContent:Ae({}).loose().optional(),isError:Gt().optional(),_meta:mo(G(),Co()).optional()}),NH=_2("type",[xC,EC,TC]),of=_2("type",[xC,EC,TC,gH,LH]),FH=Ae({role:Dm,content:ro([of,Le(of)]),_meta:mo(G(),Co()).optional()}),BH=Tm.extend({messages:Le(FH),modelPreferences:IH.optional(),systemPrompt:G().optional(),includeContext:yn(["none","thisServer","allServers"]).optional(),temperature:Ot().optional(),maxTokens:Ot().int(),stopSequences:Le(G()).optional(),metadata:Xo.optional(),tools:Le(Y2).optional(),toolChoice:MH.optional()}),jH=_n.extend({method:Ye("sampling/createMessage"),params:BH}),zH=wn.extend({model:G(),stopReason:wo(yn(["endTurn","stopSequence","maxTokens"]).or(G())),role:Dm,content:NH}),UH=wn.extend({model:G(),stopReason:wo(yn(["endTurn","stopSequence","maxTokens","toolUse"]).or(G())),role:Dm,content:ro([of,Le(of)])}),$H=Ae({type:Ye("boolean"),title:G().optional(),description:G().optional(),default:Gt().optional()}),qH=Ae({type:Ye("string"),title:G().optional(),description:G().optional(),minLength:Ot().optional(),maxLength:Ot().optional(),format:yn(["email","uri","date","date-time"]).optional(),default:G().optional()}),VH=Ae({type:yn(["number","integer"]),title:G().optional(),description:G().optional(),minimum:Ot().optional(),maximum:Ot().optional(),default:Ot().optional()}),HH=Ae({type:Ye("string"),title:G().optional(),description:G().optional(),enum:Le(G()),default:G().optional()}),GH=Ae({type:Ye("string"),title:G().optional(),description:G().optional(),oneOf:Le(Ae({const:G(),title:G()})),default:G().optional()}),KH=Ae({type:Ye("string"),title:G().optional(),description:G().optional(),enum:Le(G()),enumNames:Le(G()).optional(),default:G().optional()}),WH=ro([HH,GH]),YH=Ae({type:Ye("array"),title:G().optional(),description:G().optional(),minItems:Ot().optional(),maxItems:Ot().optional(),items:Ae({type:Ye("string"),enum:Le(G())}),default:Le(G()).optional()}),ZH=Ae({type:Ye("array"),title:G().optional(),description:G().optional(),minItems:Ot().optional(),maxItems:Ot().optional(),items:Ae({anyOf:Le(Ae({const:G(),title:G()}))}),default:Le(G()).optional()}),QH=ro([YH,ZH]),JH=ro([KH,WH,QH]),XH=ro([JH,$H,qH,VH]),eG=Tm.extend({mode:Ye("form").optional(),message:G(),requestedSchema:Ae({type:Ye("object"),properties:mo(G(),XH),required:Le(G()).optional()})}),tG=Tm.extend({mode:Ye("url"),message:G(),elicitationId:G(),url:G().url()}),oG=ro([eG,tG]),nG=_n.extend({method:Ye("elicitation/create"),params:oG}),aG=Ga.extend({elicitationId:G()}),rG=Ka.extend({method:Ye("notifications/elicitation/complete"),params:aG}),iG=wn.extend({action:yn(["accept","decline","cancel"]),content:bC(e=>e===null?void 0:e,mo(G(),ro([G(),Ot(),Gt(),Le(G())])).optional())}),sG=Ae({type:Ye("ref/resource"),uri:G()}),lG=Ae({type:Ye("ref/prompt"),name:G()}),cG=Ca.extend({ref:ro([lG,sG]),argument:Ae({name:G(),value:G()}),context:Ae({arguments:mo(G(),G()).optional()}).optional()}),uG=_n.extend({method:Ye("completion/complete"),params:cG}),dG=wn.extend({completion:bn({values:Le(G()).max(100),total:wo(Ot().int()),hasMore:wo(Gt())})}),mG=Ae({uri:G().startsWith("file://"),name:G().optional(),_meta:mo(G(),Co()).optional()}),pG=_n.extend({method:Ye("roots/list"),params:Ca.optional()}),hG=wn.extend({roots:Le(mG)}),gG=Ka.extend({method:Ye("notifications/roots/list_changed"),params:Ga.optional()});ro([L2,z9,uG,AH,hH,dH,Y9,Q9,eH,aH,iH,TH,CH,j2,U2,$2,V2]);ro([O2,N2,M2,gG,B2]);ro([D2,zH,UH,iG,hG,z2,q2,F2]);ro([L2,jH,nG,pG,j2,U2,$2,V2]);ro([O2,N2,DH,lH,oH,kH,SH,B2,rG]);ro([D2,$9,dG,yH,mH,Z9,J9,tH,Z2,xH,z2,q2,F2]);class av extends Error{constructor(t,o,n){super(`MCP error ${t}: ${o}`),this.code=t,this.data=n,this.name="McpError"}static fromError(t,o,n){if(t===lm.UrlElicitationRequired&&n){const a=n;if(a.elicitations)return new fG(a.elicitations,o)}return new av(t,o,n)}}class fG extends av{constructor(t,o=`URL elicitation${t.length>1?"s":""} required`){super(lm.UrlElicitationRequired,o,{elicitations:t})}get elicitations(){return this.data?.elicitations??[]}}const vG={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}}},J2=A.createContext(void 0),Om=()=>{const e=A.useContext(J2);if(!e)throw new Error("useProjectContext must be used within a ProjectContextProvider");return e},Dpe=()=>Om().org,Ope=e=>{const t=Ne.c(10),{children:o,org:n,project:a}=e;let i;t[0]!==n.id||t[1]!==a.id?(i=vG.from({org:n.id,project:a.id}),t[0]=n.id,t[1]=a.id,t[2]=i):i=t[2];const l=i;let c;t[3]!==l||t[4]!==n||t[5]!==a?(c={org:n,project:a,locator:l},t[3]=l,t[4]=n,t[5]=a,t[6]=c):c=t[6];const d=c;let m;return t[7]!==o||t[8]!==d?(m=C.jsx(J2.Provider,{value:d,children:o}),t[7]=o,t[8]=d,t[9]=m):m=t[9],m};function bG(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 yG=e=>{switch(e){case"success":return wG;case"info":return xG;case"warning":return CG;case"error":return EG;default:return null}},SG=Array(12).fill(0),_G=({visible:e,className:t})=>X.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},X.createElement("div",{className:"sonner-spinner"},SG.map((o,n)=>X.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),wG=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},X.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"})),CG=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},X.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"})),xG=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},X.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"})),EG=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},X.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"})),TG=X.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"},X.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),X.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),kG=()=>{const[e,t]=X.useState(document.hidden);return X.useEffect(()=>{const o=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",o),()=>window.removeEventListener("visibilitychange",o)},[]),e};let d_=1;class PG{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:n,...a}=t,i=typeof t?.id=="number"||((o=t.id)==null?void 0:o.length)>0?t.id:d_++,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:n}),{...d,...t,id:i,dismissible:c,title:n}):d):this.addToast({title:n,...a,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(n=>n({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 n;o.loading!==void 0&&(n=this.create({...o,promise:t,type:"loading",message:o.loading,description:typeof o.description!="function"?o.description:void 0}));const a=Promise.resolve(t instanceof Function?t():t);let i=n!==void 0,l;const c=a.then(async m=>{if(l=["resolve",m],X.isValidElement(m))i=!1,this.create({id:n,type:"default",message:m});else if(RG(m)&&!m.ok){i=!1;const p=typeof o.error=="function"?await o.error(`HTTP error! status: ${m.status}`):o.error,f=typeof o.description=="function"?await o.description(`HTTP error! status: ${m.status}`):o.description,b=typeof p=="object"&&!X.isValidElement(p)?p:{message:p};this.create({id:n,type:"error",description:f,...b})}else if(m instanceof Error){i=!1;const p=typeof o.error=="function"?await o.error(m):o.error,f=typeof o.description=="function"?await o.description(m):o.description,b=typeof p=="object"&&!X.isValidElement(p)?p:{message:p};this.create({id:n,type:"error",description:f,...b})}else if(o.success!==void 0){i=!1;const p=typeof o.success=="function"?await o.success(m):o.success,f=typeof o.description=="function"?await o.description(m):o.description,b=typeof p=="object"&&!X.isValidElement(p)?p:{message:p};this.create({id:n,type:"success",description:f,...b})}}).catch(async m=>{if(l=["reject",m],o.error!==void 0){i=!1;const h=typeof o.error=="function"?await o.error(m):o.error,p=typeof o.description=="function"?await o.description(m):o.description,v=typeof h=="object"&&!X.isValidElement(h)?h:{message:h};this.create({id:n,type:"error",description:p,...v})}}).finally(()=>{i&&(this.dismiss(n),n=void 0),o.finally==null||o.finally.call(o)}),d=()=>new Promise((m,h)=>c.then(()=>l[0]==="reject"?h(l[1]):m(l[1])).catch(h));return typeof n!="string"&&typeof n!="number"?{unwrap:d}:Object.assign(n,{unwrap:d})},this.custom=(t,o)=>{const n=o?.id||d_++;return this.create({jsx:t(n),id:n,...o}),n},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const ea=new PG,AG=(e,t)=>{const o=t?.id||d_++;return ea.addToast({title:e,...t,id:o}),o},RG=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",DG=AG,OG=()=>ea.toasts,IG=()=>ea.getActiveToasts(),Si=Object.assign(DG,{success:ea.success,info:ea.info,warning:ea.warning,error:ea.error,custom:ea.custom,message:ea.message,promise:ea.promise,dismiss:ea.dismiss,loading:ea.loading},{getHistory:OG,getToasts:IG});bG("[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 ph(e){return e.label!==void 0}const MG=3,LG="24px",NG="16px",cA=4e3,FG=356,BG=14,jG=45,zG=200;function wr(...e){return e.filter(Boolean).join(" ")}function UG(e){const[t,o]=e.split("-"),n=[];return t&&n.push(t),o&&n.push(o),n}const $G=e=>{var t,o,n,a,i,l,c,d,m;const{invert:h,toast:p,unstyled:f,interacting:v,setHeights:b,visibleToasts:S,heights:x,index:_,toasts:w,expanded:P,removeToast:T,defaultRichColors:k,closeButton:R,style:D,cancelButtonStyle:O,actionButtonStyle:L,className:U="",descriptionClassName:F="",duration:$,position:j,gap:K,expandByDefault:ae,classNames:V,icons:Z,closeButtonAriaLabel:te="Close toast"}=e,[le,Q]=X.useState(null),[M,H]=X.useState(null),[q,N]=X.useState(!1),[z,J]=X.useState(!1),[me,he]=X.useState(!1),[Ce,je]=X.useState(!1),[Y,ne]=X.useState(!1),[ve,ie]=X.useState(0),[_e,Ee]=X.useState(0),ot=X.useRef(p.duration||$||cA),at=X.useRef(null),qe=X.useRef(null),Je=_===0,De=_+1<=S,Re=p.type,$e=p.dismissible!==!1,W=p.className||"",oe=p.descriptionClassName||"",se=X.useMemo(()=>x.findIndex(Ke=>Ke.toastId===p.id)||0,[x,p.id]),xe=X.useMemo(()=>{var Ke;return(Ke=p.closeButton)!=null?Ke:R},[p.closeButton,R]),ke=X.useMemo(()=>p.duration||$||cA,[p.duration,$]),Pe=X.useRef(0),Ie=X.useRef(0),et=X.useRef(0),tt=X.useRef(null),[yt,Pt]=j.split("-"),St=X.useMemo(()=>x.reduce((Ke,pt,Xt)=>Xt>=se?Ke:Ke+pt.height,0),[x,se]),Bo=kG(),Ur=p.invert||h,Wa=Re==="loading";Ie.current=X.useMemo(()=>se*K+St,[se,St]),X.useEffect(()=>{ot.current=ke},[ke]),X.useEffect(()=>{N(!0)},[]),X.useEffect(()=>{const Ke=qe.current;if(Ke){const pt=Ke.getBoundingClientRect().height;return Ee(pt),b(Xt=>[{toastId:p.id,height:pt,position:p.position},...Xt]),()=>b(Xt=>Xt.filter(Wt=>Wt.toastId!==p.id))}},[b,p.id]),X.useLayoutEffect(()=>{if(!q)return;const Ke=qe.current,pt=Ke.style.height;Ke.style.height="auto";const Xt=Ke.getBoundingClientRect().height;Ke.style.height=pt,Ee(Xt),b(Wt=>Wt.find(Nt=>Nt.toastId===p.id)?Wt.map(Nt=>Nt.toastId===p.id?{...Nt,height:Xt}:Nt):[{toastId:p.id,height:Xt,position:p.position},...Wt])},[q,p.title,p.description,b,p.id,p.jsx,p.action,p.cancel]);const Ze=X.useCallback(()=>{J(!0),ie(Ie.current),b(Ke=>Ke.filter(pt=>pt.toastId!==p.id)),setTimeout(()=>{T(p)},zG)},[p,T,b,Ie]);X.useEffect(()=>{if(p.promise&&Re==="loading"||p.duration===1/0||p.type==="loading")return;let Ke;return P||v||Bo?(()=>{if(et.current<Pe.current){const Wt=new Date().getTime()-Pe.current;ot.current=ot.current-Wt}et.current=new Date().getTime()})():ot.current!==1/0&&(Pe.current=new Date().getTime(),Ke=setTimeout(()=>{p.onAutoClose==null||p.onAutoClose.call(p,p),Ze()},ot.current)),()=>clearTimeout(Ke)},[P,v,p,Re,Bo,Ze]),X.useEffect(()=>{p.delete&&(Ze(),p.onDismiss==null||p.onDismiss.call(p,p))},[Ze,p.delete]);function ht(){var Ke;if(Z?.loading){var pt;return X.createElement("div",{className:wr(V?.loader,p==null||(pt=p.classNames)==null?void 0:pt.loader,"sonner-loader"),"data-visible":Re==="loading"},Z.loading)}return X.createElement(_G,{className:wr(V?.loader,p==null||(Ke=p.classNames)==null?void 0:Ke.loader),visible:Re==="loading"})}const At=p.icon||Z?.[Re]||yG(Re);var lt,Lt;return X.createElement("li",{tabIndex:0,ref:qe,className:wr(U,W,V?.toast,p==null||(t=p.classNames)==null?void 0:t.toast,V?.default,V?.[Re],p==null||(o=p.classNames)==null?void 0:o[Re]),"data-sonner-toast":"","data-rich-colors":(lt=p.richColors)!=null?lt:k,"data-styled":!(p.jsx||p.unstyled||f),"data-mounted":q,"data-promise":!!p.promise,"data-swiped":Y,"data-removed":z,"data-visible":De,"data-y-position":yt,"data-x-position":Pt,"data-index":_,"data-front":Je,"data-swiping":me,"data-dismissible":$e,"data-type":Re,"data-invert":Ur,"data-swipe-out":Ce,"data-swipe-direction":M,"data-expanded":!!(P||ae&&q),"data-testid":p.testId,style:{"--index":_,"--toasts-before":_,"--z-index":w.length-_,"--offset":`${z?ve:Ie.current}px`,"--initial-height":ae?"auto":`${_e}px`,...D,...p.style},onDragEnd:()=>{he(!1),Q(null),tt.current=null},onPointerDown:Ke=>{Ke.button!==2&&(Wa||!$e||(at.current=new Date,ie(Ie.current),Ke.target.setPointerCapture(Ke.pointerId),Ke.target.tagName!=="BUTTON"&&(he(!0),tt.current={x:Ke.clientX,y:Ke.clientY})))},onPointerUp:()=>{var Ke,pt,Xt;if(Ce||!$e)return;tt.current=null;const Wt=Number(((Ke=qe.current)==null?void 0:Ke.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),xn=Number(((pt=qe.current)==null?void 0:pt.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Nt=new Date().getTime()-((Xt=at.current)==null?void 0:Xt.getTime()),io=le==="x"?Wt:xn,Ea=Math.abs(io)/Nt;if(Math.abs(io)>=jG||Ea>.11){ie(Ie.current),p.onDismiss==null||p.onDismiss.call(p,p),H(le==="x"?Wt>0?"right":"left":xn>0?"down":"up"),Ze(),je(!0);return}else{var sn,qn;(sn=qe.current)==null||sn.style.setProperty("--swipe-amount-x","0px"),(qn=qe.current)==null||qn.style.setProperty("--swipe-amount-y","0px")}ne(!1),he(!1),Q(null)},onPointerMove:Ke=>{var pt,Xt,Wt;if(!tt.current||!$e||((pt=window.getSelection())==null?void 0:pt.toString().length)>0)return;const Nt=Ke.clientY-tt.current.y,io=Ke.clientX-tt.current.x;var Ea;const sn=(Ea=e.swipeDirections)!=null?Ea:UG(j);!le&&(Math.abs(io)>1||Math.abs(Nt)>1)&&Q(Math.abs(io)>Math.abs(Nt)?"x":"y");let qn={x:0,y:0};const kl=Ya=>1/(1.5+Math.abs(Ya)/20);if(le==="y"){if(sn.includes("top")||sn.includes("bottom"))if(sn.includes("top")&&Nt<0||sn.includes("bottom")&&Nt>0)qn.y=Nt;else{const Ya=Nt*kl(Nt);qn.y=Math.abs(Ya)<Math.abs(Nt)?Ya:Nt}}else if(le==="x"&&(sn.includes("left")||sn.includes("right")))if(sn.includes("left")&&io<0||sn.includes("right")&&io>0)qn.x=io;else{const Ya=io*kl(io);qn.x=Math.abs(Ya)<Math.abs(io)?Ya:io}(Math.abs(qn.x)>0||Math.abs(qn.y)>0)&&ne(!0),(Xt=qe.current)==null||Xt.style.setProperty("--swipe-amount-x",`${qn.x}px`),(Wt=qe.current)==null||Wt.style.setProperty("--swipe-amount-y",`${qn.y}px`)}},xe&&!p.jsx&&Re!=="loading"?X.createElement("button",{"aria-label":te,"data-disabled":Wa,"data-close-button":!0,onClick:Wa||!$e?()=>{}:()=>{Ze(),p.onDismiss==null||p.onDismiss.call(p,p)},className:wr(V?.closeButton,p==null||(n=p.classNames)==null?void 0:n.closeButton)},(Lt=Z?.close)!=null?Lt:TG):null,(Re||p.icon||p.promise)&&p.icon!==null&&(Z?.[Re]!==null||p.icon)?X.createElement("div",{"data-icon":"",className:wr(V?.icon,p==null||(a=p.classNames)==null?void 0:a.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||ht():null,p.type!=="loading"?At:null):null,X.createElement("div",{"data-content":"",className:wr(V?.content,p==null||(i=p.classNames)==null?void 0:i.content)},X.createElement("div",{"data-title":"",className:wr(V?.title,p==null||(l=p.classNames)==null?void 0:l.title)},p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title),p.description?X.createElement("div",{"data-description":"",className:wr(F,oe,V?.description,p==null||(c=p.classNames)==null?void 0:c.description)},typeof p.description=="function"?p.description():p.description):null),X.isValidElement(p.cancel)?p.cancel:p.cancel&&ph(p.cancel)?X.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||O,onClick:Ke=>{ph(p.cancel)&&$e&&(p.cancel.onClick==null||p.cancel.onClick.call(p.cancel,Ke),Ze())},className:wr(V?.cancelButton,p==null||(d=p.classNames)==null?void 0:d.cancelButton)},p.cancel.label):null,X.isValidElement(p.action)?p.action:p.action&&ph(p.action)?X.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||L,onClick:Ke=>{ph(p.action)&&(p.action.onClick==null||p.action.onClick.call(p.action,Ke),!Ke.defaultPrevented&&Ze())},className:wr(V?.actionButton,p==null||(m=p.classNames)==null?void 0:m.actionButton)},p.action.label):null)};function uA(){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 qG(e,t){const o={};return[e,t].forEach((n,a)=>{const i=a===1,l=i?"--mobile-offset":"--offset",c=i?NG:LG;function d(m){["top","right","bottom","left"].forEach(h=>{o[`${l}-${h}`]=typeof m=="number"?`${m}px`:m})}typeof n=="number"||typeof n=="string"?d(n):typeof n=="object"?["top","right","bottom","left"].forEach(m=>{n[m]===void 0?o[`${l}-${m}`]=c:o[`${l}-${m}`]=typeof n[m]=="number"?`${n[m]}px`:n[m]}):d(c)}),o}const VG=X.forwardRef(function(t,o){const{id:n,invert:a,position:i="bottom-right",hotkey:l=["altKey","KeyT"],expand:c,closeButton:d,className:m,offset:h,mobileOffset:p,theme:f="light",richColors:v,duration:b,style:S,visibleToasts:x=MG,toastOptions:_,dir:w=uA(),gap:P=BG,icons:T,containerAriaLabel:k="Notifications"}=t,[R,D]=X.useState([]),O=X.useMemo(()=>n?R.filter(q=>q.toasterId===n):R.filter(q=>!q.toasterId),[R,n]),L=X.useMemo(()=>Array.from(new Set([i].concat(O.filter(q=>q.position).map(q=>q.position)))),[O,i]),[U,F]=X.useState([]),[$,j]=X.useState(!1),[K,ae]=X.useState(!1),[V,Z]=X.useState(f!=="system"?f:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),te=X.useRef(null),le=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),Q=X.useRef(null),M=X.useRef(!1),H=X.useCallback(q=>{D(N=>{var z;return(z=N.find(J=>J.id===q.id))!=null&&z.delete||ea.dismiss(q.id),N.filter(({id:J})=>J!==q.id)})},[]);return X.useEffect(()=>ea.subscribe(q=>{if(q.dismiss){requestAnimationFrame(()=>{D(N=>N.map(z=>z.id===q.id?{...z,delete:!0}:z))});return}setTimeout(()=>{JI.flushSync(()=>{D(N=>{const z=N.findIndex(J=>J.id===q.id);return z!==-1?[...N.slice(0,z),{...N[z],...q},...N.slice(z+1)]:[q,...N]})})})}),[R]),X.useEffect(()=>{if(f!=="system"){Z(f);return}if(f==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?Z("dark"):Z("light")),typeof window>"u")return;const q=window.matchMedia("(prefers-color-scheme: dark)");try{q.addEventListener("change",({matches:N})=>{Z(N?"dark":"light")})}catch{q.addListener(({matches:z})=>{try{Z(z?"dark":"light")}catch(J){console.error(J)}})}},[f]),X.useEffect(()=>{R.length<=1&&j(!1)},[R]),X.useEffect(()=>{const q=N=>{var z;if(l.every(he=>N[he]||N.code===he)){var me;j(!0),(me=te.current)==null||me.focus()}N.code==="Escape"&&(document.activeElement===te.current||(z=te.current)!=null&&z.contains(document.activeElement))&&j(!1)};return document.addEventListener("keydown",q),()=>document.removeEventListener("keydown",q)},[l]),X.useEffect(()=>{if(te.current)return()=>{Q.current&&(Q.current.focus({preventScroll:!0}),Q.current=null,M.current=!1)}},[te.current]),X.createElement("section",{ref:o,"aria-label":`${k} ${le}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},L.map((q,N)=>{var z;const[J,me]=q.split("-");return O.length?X.createElement("ol",{key:q,dir:w==="auto"?uA():w,tabIndex:-1,ref:te,className:m,"data-sonner-toaster":!0,"data-sonner-theme":V,"data-y-position":J,"data-x-position":me,style:{"--front-toast-height":`${((z=U[0])==null?void 0:z.height)||0}px`,"--width":`${FG}px`,"--gap":`${P}px`,...S,...qG(h,p)},onBlur:he=>{M.current&&!he.currentTarget.contains(he.relatedTarget)&&(M.current=!1,Q.current&&(Q.current.focus({preventScroll:!0}),Q.current=null))},onFocus:he=>{he.target instanceof HTMLElement&&he.target.dataset.dismissible==="false"||M.current||(M.current=!0,Q.current=he.relatedTarget)},onMouseEnter:()=>j(!0),onMouseMove:()=>j(!0),onMouseLeave:()=>{K||j(!1)},onDragEnd:()=>j(!1),onPointerDown:he=>{he.target instanceof HTMLElement&&he.target.dataset.dismissible==="false"||ae(!0)},onPointerUp:()=>ae(!1)},O.filter(he=>!he.position&&N===0||he.position===q).map((he,Ce)=>{var je,Y;return X.createElement($G,{key:he.id,icons:T,index:Ce,toast:he,defaultRichColors:v,duration:(je=_?.duration)!=null?je:b,className:_?.className,descriptionClassName:_?.descriptionClassName,invert:a,visibleToasts:x,closeButton:(Y=_?.closeButton)!=null?Y:d,interacting:K,position:q,style:_?.style,unstyled:_?.unstyled,classNames:_?.classNames,cancelButtonStyle:_?.cancelButtonStyle,actionButtonStyle:_?.actionButtonStyle,closeButtonAriaLabel:_?.closeButtonAriaLabel,removeToast:H,toasts:O.filter(ne=>ne.position==he.position),heights:U.filter(ne=>ne.position==he.position),setHeights:F,expandByDefault:c,gap:P,expanded:$,swipeDirections:t.swipeDirections})})):null}))}),hr={publicConfig:()=>["publicConfig"],appVersionCheck:()=>["appVersionCheck"],session:()=>["session"],messages:e=>["messages",e],organizations:()=>["organizations"],members:e=>[e,"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],taskBoardActivity:(e,t)=>[e,"task-board-activity",t],taskBoardComments:(e,t)=>[e,"task-board-comments",t],homeGithubRecentPrs:(e,t)=>["home-github-recent-prs",e,t],homeGithubContributions:(e,t)=>["home-github-contributions",e,t],report:(e,t,o)=>["report",e,t??"",o??""],reportAll:e=>["report",e],commerceDiscoveryConnection:(e,t)=>["commerce-discovery","connection",e,t],commerceDiscoveryDiagnostic:(e,t)=>["commerce-discovery","diagnostic",e,t],commerceDiscoveryVirtualMcp:(e,t)=>["commerce-discovery","virtual-mcp",e,t],commerceDiscoveryCompanionSchema:(e,t)=>["commerce-discovery","companion-schema",e,t],commerceDiscoveryCompanionConnections:(e,t)=>["commerce-discovery","companion-connections",e,t],commerceDiscoveryCompanionConnectionsPrefix:e=>["commerce-discovery","companion-connections",e],commerceDiscoveryCompanionRegistry:(e,t)=>["commerce-discovery","companion-registry",e,t],commerceDiscoveryCompanionOAuthStatus:(e,t)=>["commerce-discovery","companion-oauth-status",e,t],commerceDiscoveryCompanionGaProperties:(e,t)=>["commerce-discovery","companion-ga-properties",e,t],commerceDiscoveryCompanionGscSites:(e,t)=>["commerce-discovery","companion-gsc-sites",e,t],commerceDiscoveryCompanionGithubRepos:(e,t,o)=>["commerce-discovery","companion-github-repos",e,t,o],commerceDiscoveryCompanionGithubSelected:(e,t)=>["commerce-discovery","companion-github-selected",e,t],commerceDiscoveryConnectionStatus:(e,t)=>["commerce-discovery","connection-status",e,t],connectionActivity:(e,t,o)=>["monitoring","activity",e,t,o],isMCPAuthenticated:(e,t)=>["is-mcp-authenticated",e,t],mcpTools:(e,t)=>["mcp","tools",e,t],mcpClient:(e,t,o,n)=>["mcp","client",e,t,o,n],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],mcpGetPrompt:(e,t,o)=>["mcp","client",e,"prompt",t,o],mcpToolCall:(e,t,o)=>["mcp","client",e,"tool-call",t,o],mcpClientPrefix:()=>["mcp","client"],virtualMcpLastUsed:(e,t)=>["virtual-mcp","last-used",e,t],githubBranches:(e,t,o,n,a)=>["github-branches",e,t,o,n,a],githubPrState:(e,t,o,n,a)=>["github-pr-state",e,t,o,n,a],githubLastPublishedPr:(e,t,o,n,a)=>["github-last-published-pr",e,t,o,n,a],githubBranchSearch:(e,t,o,n,a,i)=>["github-branch-search",e,t,o,n,a,i],organizationSettings:e=>["organization-settings",e],organizationTaskQuota:e=>["organization-task-quota",e],infraBillingSites:e=>["infra-billing-sites",e],infraBilling:(e,t,o)=>["infra-billing",e,t,o],userModelPreferences:e=>["user-model-preferences",e],apiKeysList:e=>["api-keys",e],activeOrganization:e=>["activeOrganization",e],orgAccessStatus:e=>["org-access-status",e],modelsList:e=>["models-list",e],homeNextActions:e=>["home-next-actions",e],boardLayout:e=>["board-layout",e],agentPrompts:(e,t)=>["agent-prompts",e,t],allowedModels:e=>[e,"allowed-models"],connectionCollections:e=>[e,"collections","discovery"],toolCall:(e,t,o)=>["tool-call",e,t,o],collectionItems:(e,t)=>["collection",e,t],collection:(e,t,o)=>[e,t,"collection",o],collectionItem:(e,t,o,n,a)=>[e,t,o,"collection",n,a],collectionList:(e,t,o,n,a)=>[e,t,o,"collection",n,"list",a],collectionListInfinite:(e,t,o,n,a)=>[e,t,o,"collection",n,"list-infinite",a],monitoringStats:()=>["monitoring","stats"],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],monitoringLogs:e=>["monitoring","logs",e],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)=>["global-search",e,t],threadsInfinite:(e,t)=>["threads","list-infinite",e,t],overviewThreads:e=>["threads","overview",e],threadMessages:(e,t)=>["threads","messages",e,t],threadModelLogs:(e,t)=>["threads","model-logs",e,t],threadSandbox:(e,t)=>["thread-sandbox","v2",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],virtualMcpAgents:e=>["virtual-mcp",e,"agents"],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],connectionPrompts:e=>["connection",e,"prompts"],connectionResources:e=>["connection",e,"resources"],user:e=>["user",e],storeReadmeUrl:e=>["store-readme-url",e],remoteMcpTools:e=>["remote-mcp-tools",e],tags:e=>[e,"tags"],memberTags:(e,t)=>[e,"member-tags",t],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],projects:e=>["projects",e],project:(e,t)=>["project",e,t],virtualMcp:(e,t)=>["virtual-mcp",e,t],projectPluginConfigs:e=>["project-plugin-configs",e],projectPluginConfig:(e,t)=>["project-plugin-config",e,t],projectConnections:e=>["project-connections",e],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],claudeSubscription:e=>["claude-subscription",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],orgFsUsage:(e,t)=>["org-fs",e,t,"usage"],orgFsStat:(e,t,o)=>["org-fs",e,t,"stat",o],orgFsPublicSets:e=>["org-fs-public-sets",e],orgRepoSyncs:e=>["org-repo-syncs",e],jiraIntegration:e=>["jira-integration",e],jiraBoards:e=>["jira-boards",e],jiraBoardColumns:(e,t)=>["jira-board-columns",e,t],orgFsRecent:e=>["org-fs-recent",e],orgFsSearchRoot:e=>["org-fs-search",e],orgFsSearch:(e,t,o,n)=>["org-fs-search",e,t,o,n],orgFsSkills:e=>["org-fs-skills",e],slashSkills:e=>["slash-skills",e],filePickerObjects:(e,t,o,n)=>["file-picker-objects",e,t,o??"",n??!1],filePickerObjectsByConfig:(e,t)=>["file-picker-objects",e,t],aiProviderCredits:(e,t)=>["ai-provider-credits",e,t],orgSsoConfig:e=>["org-sso-config",e],orgSsoStatus:e=>["org-sso-status",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"],defaultBrand:e=>["brand-context",e,"default"],decoProfile:e=>["deco-profile",e],decoSites:e=>["deco-sites",e],decoApps:()=>["deco-apps"],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],sandboxInvoke:(e,t)=>["sandbox-invoke",e,t],sandboxRepoDir:(e,t,o)=>["sandbox-repo-dir",e,t,o],sandboxSprite:e=>["sandbox-sprite",e],localAgentCapabilities:()=>["local-agent-capabilities"],githubUserOrgs:(e,t)=>["github-user-orgs",e,t],githubOrgRepos:(e,t,o,n)=>["github-org-repos",e,t,o,n],vmEnv:(e,t,o)=>["vm-env",e,t,o],desktopAuthStatus:()=>["desktop","auth-status"]};function Ipe(e,t){e.invalidateQueries({predicate:o=>{const n=o.queryKey;return(!t||n[1]===t)&&n[3]==="collection"&&n[4]==="VIRTUAL_MCP"}})}function Mpe(e,t){e.invalidateQueries({predicate:o=>{const n=o.queryKey;return(!t||n[1]===t)&&n[3]==="collection"&&n[4]==="CONNECTIONS"}})}const X2={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 HG(e){Object.assign(X2,e)}function $c(e,t){const o=X2[e];return typeof o=="function"?o(t??{}):typeof o=="string"&&t?o.replace(/\{(\w+)\}/g,(n,a)=>String(t[a]??"")):o??e}function GG(e,t,o){const n=[];if(e?.trim()){const a=e.trim(),i=o.map(l=>({field:[String(l)],operator:"contains",value:a}));i.length===1&&i[0]?n.push(i[0]):i.length>1&&n.push({operator:"or",conditions:i})}if(t&&t.length>0)for(const a of t)n.push({field:[a.column],operator:"eq",value:a.value});if(n.length!==0)return n.length===1?n[0]:{operator:"and",conditions:n}}function KG(e,t,o){const n=e??o,a=t??"desc";return[{field:[String(n)],direction:a}]}function Hd(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 WG(e,t,o,n){const a=t.toUpperCase(),i=`COLLECTION_${a}_GET`;return{queryKey:hr.collectionItem(n,e,"",a,o??""),queryFn:async()=>{if(!o)return{item:null};const l=await n.callTool({name:i,arguments:{id:o}});return Hd(l)},staleTime:6e4}}function Lpe(e,t,o,n){const a=Ne.c(5);let i;a[0]!==n||a[1]!==t||a[2]!==o||a[3]!==e?(i=WG(e,t,o,n),a[0]=n,a[1]=t,a[2]=o,a[3]=e,a[4]=i):i=a[4];const{data:l}=Sl(i);return l?.item??null}const YG={structuredContent:{items:[]},isError:!1};function Npe(e,t,o,n={}){const{searchTerm:a,filters:i,sortKey:l,sortDirection:c,searchFields:d=["title","description"],defaultSortKey:m="updated_at",pageSize:h=100,additionalToolArgs:p}=n,f=t.toUpperCase(),v=`COLLECTION_${f}_LIST`,b=GG(a,i,d),S=KG(l,c,m),x={...b&&{where:b},...S&&{orderBy:S},limit:h,offset:0,...p},_=JSON.stringify(x),w=hr.collectionList(o,e,"",f,_),{data:P}=Sl({queryKey:w,queryFn:async()=>o?await o.callTool({name:v,arguments:x}):YG,staleTime:3e4,retry:!1,select:T=>Hd(T??{})?.items??[]});return P}function Fpe(e,t,o){const n=Ne.c(34),a=Wf();let i;n[0]!==t?(i=t.toUpperCase(),n[0]=t,n[1]=i):i=n[1];const l=i,c=`COLLECTION_${l}_CREATE`,d=`COLLECTION_${l}_UPDATE`,m=`COLLECTION_${l}_DELETE`;let h;n[2]!==a||n[3]!==e||n[4]!==l?(h=()=>{a.invalidateQueries({predicate:L=>{const U=L.queryKey;return U[1]===e&&U[3]==="collection"&&U[4]===l}})},n[2]=a,n[3]=e,n[4]=l,n[5]=h):h=n[5];const p=h;let f;n[6]!==o||n[7]!==c?(f=async L=>{const U=await o.callTool({name:c,arguments:{data:L}});if(U.isError)throw new Error(Array.isArray(U.content)?U.content[0]?.text:String(U.content));return Hd(U).item},n[6]=o,n[7]=c,n[8]=f):f=n[8];let v;n[9]!==p?(v=()=>{p(),Si.success($c("itemCreatedSuccessfully"))},n[9]=p,n[10]=v):v=n[10];let b;n[11]!==f||n[12]!==v?(b={mutationFn:f,onSuccess:v,onError:JG},n[11]=f,n[12]=v,n[13]=b):b=n[13];const S=Vd(b);let x;n[14]!==o||n[15]!==d?(x=async L=>{const{id:U,data:F}=L,$=await o.callTool({name:d,arguments:{id:U,data:F}});return Hd($).item},n[14]=o,n[15]=d,n[16]=x):x=n[16];let _;n[17]!==p?(_=()=>{p(),Si.success($c("itemUpdatedSuccessfully"))},n[17]=p,n[18]=_):_=n[18];let w;n[19]!==x||n[20]!==_?(w={mutationFn:x,onSuccess:_,onError:QG},n[19]=x,n[20]=_,n[21]=w):w=n[21];const P=Vd(w);let T;n[22]!==o||n[23]!==m?(T=async L=>{const U=await o.callTool({name:m,arguments:{id:L}});return Hd(U).item.id},n[22]=o,n[23]=m,n[24]=T):T=n[24];let k;n[25]!==p?(k=()=>{p(),Si.success($c("itemDeletedSuccessfully"))},n[25]=p,n[26]=k):k=n[26];let R;n[27]!==T||n[28]!==k?(R={mutationFn:T,onSuccess:k,onError:ZG},n[27]=T,n[28]=k,n[29]=R):R=n[29];const D=Vd(R);let O;return n[30]!==S||n[31]!==D||n[32]!==P?(O={create:S,update:P,delete:D},n[30]=S,n[31]=D,n[32]=P,n[33]=O):O=n[33],O}function ZG(e){const t=e instanceof Error?e.message:String(e);Si.error($c("deleteItemFailed",{error:t}))}function QG(e){const t=e instanceof Error?e.message:String(e);Si.error($c("updateItemFailed",{error:t}))}function JG(e){const t=e instanceof Error?e.message:String(e);Si.error($c("createItemFailed",{error:t}))}new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");var hh={exports:{}},f0={},ii={},Ys={},v0={},b0={},y0={},dA;function nf(){return dA||(dA=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(w){if(super(),!e.IDENTIFIER.test(w))throw new Error("CodeGen: name must be a valid identifier");this.str=w}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=o;class n extends t{constructor(w){super(),this._items=typeof w=="string"?[w]:w}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const w=this._items[0];return w===""||w==='""'}get str(){var w;return(w=this._str)!==null&&w!==void 0?w:this._str=this._items.reduce((P,T)=>`${P}${T}`,"")}get names(){var w;return(w=this._names)!==null&&w!==void 0?w:this._names=this._items.reduce((P,T)=>(T instanceof o&&(P[T.str]=(P[T.str]||0)+1),P),{})}}e._Code=n,e.nil=new n("");function a(_,...w){const P=[_[0]];let T=0;for(;T<w.length;)c(P,w[T]),P.push(_[++T]);return new n(P)}e._=a;const i=new n("+");function l(_,...w){const P=[v(_[0])];let T=0;for(;T<w.length;)P.push(i),c(P,w[T]),P.push(i,v(_[++T]));return d(P),new n(P)}e.str=l;function c(_,w){w instanceof n?_.push(...w._items):w instanceof o?_.push(w):_.push(p(w))}e.addCodeArg=c;function d(_){let w=1;for(;w<_.length-1;){if(_[w]===i){const P=m(_[w-1],_[w+1]);if(P!==void 0){_.splice(w-1,3,P);continue}_[w++]="+"}w++}}function m(_,w){if(w==='""')return _;if(_==='""')return w;if(typeof _=="string")return w instanceof o||_[_.length-1]!=='"'?void 0:typeof w!="string"?`${_.slice(0,-1)}${w}"`:w[0]==='"'?_.slice(0,-1)+w.slice(1):void 0;if(typeof w=="string"&&w[0]==='"'&&!(_ instanceof o))return`"${_}${w.slice(1)}`}function h(_,w){return w.emptyStr()?_:_.emptyStr()?w:l`${_}${w}`}e.strConcat=h;function p(_){return typeof _=="number"||typeof _=="boolean"||_===null?_:v(Array.isArray(_)?_.join(","):_)}function f(_){return new n(v(_))}e.stringify=f;function v(_){return JSON.stringify(_).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=v;function b(_){return typeof _=="string"&&e.IDENTIFIER.test(_)?new n(`.${_}`):a`[${_}]`}e.getProperty=b;function S(_){if(typeof _=="string"&&e.IDENTIFIER.test(_))return new n(`${_}`);throw new Error(`CodeGen: invalid export name: ${_}, use explicit $id name mapping`)}e.getEsmExportName=S;function x(_){return new n(_.toString())}e.regexpCode=x})(y0)),y0}var S0={},mA;function pA(){return mA||(mA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=nf();class o extends Error{constructor(m){super(`CodeGen: "code" for ${m} not defined`),this.value=m.value}}var n;(function(d){d[d.Started=0]="Started",d[d.Completed=1]="Completed"})(n||(e.UsedValueState=n={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class a{constructor({prefixes:m,parent:h}={}){this._names={},this._prefixes=m,this._parent=h}toName(m){return m instanceof t.Name?m:this.name(m)}name(m){return new t.Name(this._newName(m))}_newName(m){const h=this._names[m]||this._nameGroup(m);return`${m}${h.index++}`}_nameGroup(m){var h,p;if(!((p=(h=this._parent)===null||h===void 0?void 0:h._prefixes)===null||p===void 0)&&p.has(m)||this._prefixes&&!this._prefixes.has(m))throw new Error(`CodeGen: prefix "${m}" is not allowed in this scope`);return this._names[m]={prefix:m,index:0}}}e.Scope=a;class i extends t.Name{constructor(m,h){super(h),this.prefix=m}setValue(m,{property:h,itemIndex:p}){this.value=m,this.scopePath=(0,t._)`.${new t.Name(h)}[${p}]`}}e.ValueScopeName=i;const l=(0,t._)`\n`;class c extends a{constructor(m){super(m),this._values={},this._scope=m.scope,this.opts={...m,_n:m.lines?l:t.nil}}get(){return this._scope}name(m){return new i(m,this._newName(m))}value(m,h){var p;if(h.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const f=this.toName(m),{prefix:v}=f,b=(p=h.key)!==null&&p!==void 0?p:h.ref;let S=this._values[v];if(S){const w=S.get(b);if(w)return w}else S=this._values[v]=new Map;S.set(b,f);const x=this._scope[v]||(this._scope[v]=[]),_=x.length;return x[_]=h.ref,f.setValue(h,{property:v,itemIndex:_}),f}getValue(m,h){const p=this._values[m];if(p)return p.get(h)}scopeRefs(m,h=this._values){return this._reduceValues(h,p=>{if(p.scopePath===void 0)throw new Error(`CodeGen: name "${p}" has no value`);return(0,t._)`${m}${p.scopePath}`})}scopeCode(m=this._values,h,p){return this._reduceValues(m,f=>{if(f.value===void 0)throw new Error(`CodeGen: name "${f}" has no value`);return f.value.code},h,p)}_reduceValues(m,h,p={},f){let v=t.nil;for(const b in m){const S=m[b];if(!S)continue;const x=p[b]=p[b]||new Map;S.forEach(_=>{if(x.has(_))return;x.set(_,n.Started);let w=h(_);if(w){const P=this.opts.es5?e.varKinds.var:e.varKinds.const;v=(0,t._)`${v}${P} ${_} = ${w};${this.opts._n}`}else if(w=f?.(_))v=(0,t._)`${v}${w}${this.opts._n}`;else throw new o(_);x.set(_,n.Completed)})}return v}}e.ValueScope=c})(S0)),S0}var hA;function vt(){return hA||(hA=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=nf(),o=pA();var n=nf();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var a=pA();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return a.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return a.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return a.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return a.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(N,z){return this}}class l extends i{constructor(N,z,J){super(),this.varKind=N,this.name=z,this.rhs=J}render({es5:N,_n:z}){const J=N?o.varKinds.var:this.varKind,me=this.rhs===void 0?"":` = ${this.rhs}`;return`${J} ${this.name}${me};`+z}optimizeNames(N,z){if(N[this.name.str])return this.rhs&&(this.rhs=K(this.rhs,N,z)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class c extends i{constructor(N,z,J){super(),this.lhs=N,this.rhs=z,this.sideEffects=J}render({_n:N}){return`${this.lhs} = ${this.rhs};`+N}optimizeNames(N,z){if(!(this.lhs instanceof t.Name&&!N[this.lhs.str]&&!this.sideEffects))return this.rhs=K(this.rhs,N,z),this}get names(){const N=this.lhs instanceof t.Name?{}:{...this.lhs.names};return j(N,this.rhs)}}class d extends c{constructor(N,z,J,me){super(N,J,me),this.op=z}render({_n:N}){return`${this.lhs} ${this.op}= ${this.rhs};`+N}}class m extends i{constructor(N){super(),this.label=N,this.names={}}render({_n:N}){return`${this.label}:`+N}}class h extends i{constructor(N){super(),this.label=N,this.names={}}render({_n:N}){return`break${this.label?` ${this.label}`:""};`+N}}class p extends i{constructor(N){super(),this.error=N}render({_n:N}){return`throw ${this.error};`+N}get names(){return this.error.names}}class f extends i{constructor(N){super(),this.code=N}render({_n:N}){return`${this.code};`+N}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(N,z){return this.code=K(this.code,N,z),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class v extends i{constructor(N=[]){super(),this.nodes=N}render(N){return this.nodes.reduce((z,J)=>z+J.render(N),"")}optimizeNodes(){const{nodes:N}=this;let z=N.length;for(;z--;){const J=N[z].optimizeNodes();Array.isArray(J)?N.splice(z,1,...J):J?N[z]=J:N.splice(z,1)}return N.length>0?this:void 0}optimizeNames(N,z){const{nodes:J}=this;let me=J.length;for(;me--;){const he=J[me];he.optimizeNames(N,z)||(ae(N,he.names),J.splice(me,1))}return J.length>0?this:void 0}get names(){return this.nodes.reduce((N,z)=>$(N,z.names),{})}}class b extends v{render(N){return"{"+N._n+super.render(N)+"}"+N._n}}class S extends v{}class x extends b{}x.kind="else";class _ extends b{constructor(N,z){super(z),this.condition=N}render(N){let z=`if(${this.condition})`+super.render(N);return this.else&&(z+="else "+this.else.render(N)),z}optimizeNodes(){super.optimizeNodes();const N=this.condition;if(N===!0)return this.nodes;let z=this.else;if(z){const J=z.optimizeNodes();z=this.else=Array.isArray(J)?new x(J):J}if(z)return N===!1?z instanceof _?z:z.nodes:this.nodes.length?this:new _(V(N),z instanceof _?[z]:z.nodes);if(!(N===!1||!this.nodes.length))return this}optimizeNames(N,z){var J;if(this.else=(J=this.else)===null||J===void 0?void 0:J.optimizeNames(N,z),!!(super.optimizeNames(N,z)||this.else))return this.condition=K(this.condition,N,z),this}get names(){const N=super.names;return j(N,this.condition),this.else&&$(N,this.else.names),N}}_.kind="if";class w extends b{}w.kind="for";class P extends w{constructor(N){super(),this.iteration=N}render(N){return`for(${this.iteration})`+super.render(N)}optimizeNames(N,z){if(super.optimizeNames(N,z))return this.iteration=K(this.iteration,N,z),this}get names(){return $(super.names,this.iteration.names)}}class T extends w{constructor(N,z,J,me){super(),this.varKind=N,this.name=z,this.from=J,this.to=me}render(N){const z=N.es5?o.varKinds.var:this.varKind,{name:J,from:me,to:he}=this;return`for(${z} ${J}=${me}; ${J}<${he}; ${J}++)`+super.render(N)}get names(){const N=j(super.names,this.from);return j(N,this.to)}}class k extends w{constructor(N,z,J,me){super(),this.loop=N,this.varKind=z,this.name=J,this.iterable=me}render(N){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(N)}optimizeNames(N,z){if(super.optimizeNames(N,z))return this.iterable=K(this.iterable,N,z),this}get names(){return $(super.names,this.iterable.names)}}class R extends b{constructor(N,z,J){super(),this.name=N,this.args=z,this.async=J}render(N){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(N)}}R.kind="func";class D extends v{render(N){return"return "+super.render(N)}}D.kind="return";class O extends b{render(N){let z="try"+super.render(N);return this.catch&&(z+=this.catch.render(N)),this.finally&&(z+=this.finally.render(N)),z}optimizeNodes(){var N,z;return super.optimizeNodes(),(N=this.catch)===null||N===void 0||N.optimizeNodes(),(z=this.finally)===null||z===void 0||z.optimizeNodes(),this}optimizeNames(N,z){var J,me;return super.optimizeNames(N,z),(J=this.catch)===null||J===void 0||J.optimizeNames(N,z),(me=this.finally)===null||me===void 0||me.optimizeNames(N,z),this}get names(){const N=super.names;return this.catch&&$(N,this.catch.names),this.finally&&$(N,this.finally.names),N}}class L extends b{constructor(N){super(),this.error=N}render(N){return`catch(${this.error})`+super.render(N)}}L.kind="catch";class U extends b{render(N){return"finally"+super.render(N)}}U.kind="finally";class F{constructor(N,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 m=e.external.registry.get(l[0])?.id;if(t!==l[0]&&m){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 ef(e,t){const o=e.seen.get(t);if(!o)throw new Error("Unprocessed schema. This is a bug in Zod.");const n=l=>{const c=e.seen.get(l);if(c.ref===null)return;const d=c.def??c.schema,m={...d},h=c.ref;if(c.ref=null,h){n(h);const f=e.seen.get(h),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,m),l._zod.parent===h)for(const S in d)S==="$ref"||S==="allOf"||S in m||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 p=l._zod.parent;if(p&&p!==h){n(p);const f=e.seen.get(p);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())n(l[0]);const a={};if(e.target==="draft-2020-12"?a.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?a.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?a.$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");a.$id=e.external.uri(l)}Object.assign(a,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"?a.$defs=i:a.definitions=i);try{const l=JSON.parse(JSON.stringify(a));return Object.defineProperty(l,"~standard",{value:{...t["~standard"],jsonSchema:{input:tf(t,"input",e.processors),output:tf(t,"output",e.processors)}},enumerable:!1,writable:!1}),l}catch{throw new Error("Error converting schema to JSON.")}}function jn(e,t){const o=t??{seen:new Set};if(o.seen.has(e))return!1;o.seen.add(e);const n=e._zod.def;if(n.type==="transform")return!0;if(n.type==="array")return jn(n.element,o);if(n.type==="set")return jn(n.valueType,o);if(n.type==="lazy")return jn(n.getter(),o);if(n.type==="promise"||n.type==="optional"||n.type==="nonoptional"||n.type==="nullable"||n.type==="readonly"||n.type==="default"||n.type==="prefault")return jn(n.innerType,o);if(n.type==="intersection")return jn(n.left,o)||jn(n.right,o);if(n.type==="record"||n.type==="map")return jn(n.keyType,o)||jn(n.valueType,o);if(n.type==="pipe")return jn(n.in,o)||jn(n.out,o);if(n.type==="object"){for(const a in n.shape)if(jn(n.shape[a],o))return!0;return!1}if(n.type==="union"){for(const a of n.options)if(jn(a,o))return!0;return!1}if(n.type==="tuple"){for(const a of n.items)if(jn(a,o))return!0;return!!(n.rest&&jn(n.rest,o))}return!1}const J7=(e,t={})=>o=>{const n=Jg({...o,processors:t});return ao(e,n),Xg(n,e),ef(n,e)},tf=(e,t,o={})=>n=>{const{libraryOptions:a,target:i}=n??{},l=Jg({...a??{},target:i,io:t,processors:o});return ao(e,l),Xg(l,e),ef(l,e)},X7={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},UM=(e,t,o,n)=>{const a=o;a.type="string";const{minimum:i,maximum:l,format:c,patterns:d,contentEncoding:m}=e._zod.bag;if(typeof i=="number"&&(a.minLength=i),typeof l=="number"&&(a.maxLength=l),c&&(a.format=X7[c]??c,a.format===""&&delete a.format,c==="time"&&delete a.format),m&&(a.contentEncoding=m),d&&d.size>0){const h=[...d];h.length===1?a.pattern=h[0].source:h.length>1&&(a.allOf=[...h.map(p=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:p.source}))])}},$M=(e,t,o,n)=>{const a=o,{minimum:i,maximum:l,format:c,multipleOf:d,exclusiveMaximum:m,exclusiveMinimum:h}=e._zod.bag;typeof c=="string"&&c.includes("int")?a.type="integer":a.type="number",typeof h=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(a.minimum=h,a.exclusiveMinimum=!0):a.exclusiveMinimum=h),typeof i=="number"&&(a.minimum=i,typeof h=="number"&&t.target!=="draft-04"&&(h>=i?delete a.minimum:delete a.exclusiveMinimum)),typeof m=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(a.maximum=m,a.exclusiveMaximum=!0):a.exclusiveMaximum=m),typeof l=="number"&&(a.maximum=l,typeof m=="number"&&t.target!=="draft-04"&&(m<=l?delete a.maximum:delete a.exclusiveMaximum)),typeof d=="number"&&(a.multipleOf=d)},qM=(e,t,o,n)=>{o.type="boolean"},eV=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},tV=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},VM=(e,t,o,n)=>{t.target==="openapi-3.0"?(o.type="string",o.nullable=!0,o.enum=[null]):o.type="null"},HM=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},oV=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},GM=(e,t,o,n)=>{o.not={}},KM=(e,t,o,n)=>{},WM=(e,t,o,n)=>{},nV=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},YM=(e,t,o,n)=>{const a=e._zod.def,i=SM(a.entries);i.every(l=>typeof l=="number")&&(o.type="number"),i.every(l=>typeof l=="string")&&(o.type="string"),o.enum=i},ZM=(e,t,o,n)=>{const a=e._zod.def,i=[];for(const l of a.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},aV=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},rV=(e,t,o,n)=>{const a=o,i=e._zod.pattern;if(!i)throw new Error("Pattern not found in template literal");a.type="string",a.pattern=i.source},QM=(e,t,o,n)=>{const a=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(a,i)):(Object.assign(a,i),a.anyOf=d.map(m=>({contentMediaType:m}))):Object.assign(a,i)},iV=(e,t,o,n)=>{o.type="boolean"},JM=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},sV=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},XM=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},lV=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},cV=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},e2=(e,t,o,n)=>{const a=o,i=e._zod.def,{minimum:l,maximum:c}=e._zod.bag;typeof l=="number"&&(a.minItems=l),typeof c=="number"&&(a.maxItems=c),a.type="array",a.items=ao(i.element,t,{...n,path:[...n.path,"items"]})},t2=(e,t,o,n)=>{const a=o,i=e._zod.def;a.type="object",a.properties={};const l=i.shape;for(const m in l)a.properties[m]=ao(l[m],t,{...n,path:[...n.path,"properties",m]});const c=new Set(Object.keys(l)),d=new Set([...c].filter(m=>{const h=i.shape[m]._zod;return t.io==="input"?h.optin===void 0:h.optout===void 0}));d.size>0&&(a.required=Array.from(d)),i.catchall?._zod.def.type==="never"?a.additionalProperties=!1:i.catchall?i.catchall&&(a.additionalProperties=ao(i.catchall,t,{...n,path:[...n.path,"additionalProperties"]})):t.io==="output"&&(a.additionalProperties=!1)},o2=(e,t,o,n)=>{const a=e._zod.def,i=a.inclusive===!1,l=a.options.map((c,d)=>ao(c,t,{...n,path:[...n.path,i?"oneOf":"anyOf",d]}));i?o.oneOf=l:o.anyOf=l},n2=(e,t,o,n)=>{const a=e._zod.def,i=ao(a.left,t,{...n,path:[...n.path,"allOf",0]}),l=ao(a.right,t,{...n,path:[...n.path,"allOf",1]}),c=m=>"allOf"in m&&Object.keys(m).length===1,d=[...c(i)?i.allOf:[i],...c(l)?l.allOf:[l]];o.allOf=d},a2=(e,t,o,n)=>{const a=o,i=e._zod.def;a.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)=>ao(f,t,{...n,path:[...n.path,l,v]})),m=i.rest?ao(i.rest,t,{...n,path:[...n.path,c,...t.target==="openapi-3.0"?[i.items.length]:[]]}):null;t.target==="draft-2020-12"?(a.prefixItems=d,m&&(a.items=m)):t.target==="openapi-3.0"?(a.items={anyOf:d},m&&a.items.anyOf.push(m),a.minItems=d.length,m||(a.maxItems=d.length)):(a.items=d,m&&(a.additionalItems=m));const{minimum:h,maximum:p}=e._zod.bag;typeof h=="number"&&(a.minItems=h),typeof p=="number"&&(a.maxItems=p)},r2=(e,t,o,n)=>{const a=o,i=e._zod.def;a.type="object";const l=i.keyType,d=l._zod.bag?.patterns;if(i.mode==="loose"&&d&&d.size>0){const h=ao(i.valueType,t,{...n,path:[...n.path,"patternProperties","*"]});a.patternProperties={};for(const p of d)a.patternProperties[p.source]=h}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(a.propertyNames=ao(i.keyType,t,{...n,path:[...n.path,"propertyNames"]})),a.additionalProperties=ao(i.valueType,t,{...n,path:[...n.path,"additionalProperties"]});const m=l._zod.values;if(m){const h=[...m].filter(p=>typeof p=="string"||typeof p=="number");h.length>0&&(a.required=h)}},i2=(e,t,o,n)=>{const a=e._zod.def,i=ao(a.innerType,t,n),l=t.seen.get(e);t.target==="openapi-3.0"?(l.ref=a.innerType,o.nullable=!0):o.anyOf=[i,{type:"null"}]},s2=(e,t,o,n)=>{const a=e._zod.def;ao(a.innerType,t,n);const i=t.seen.get(e);i.ref=a.innerType},l2=(e,t,o,n)=>{const a=e._zod.def;ao(a.innerType,t,n);const i=t.seen.get(e);i.ref=a.innerType,o.default=JSON.parse(JSON.stringify(a.defaultValue))},c2=(e,t,o,n)=>{const a=e._zod.def;ao(a.innerType,t,n);const i=t.seen.get(e);i.ref=a.innerType,t.io==="input"&&(o._prefault=JSON.parse(JSON.stringify(a.defaultValue)))},u2=(e,t,o,n)=>{const a=e._zod.def;ao(a.innerType,t,n);const i=t.seen.get(e);i.ref=a.innerType;let l;try{l=a.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}o.default=l},d2=(e,t,o,n)=>{const a=e._zod.def,i=t.io==="input"?a.in._zod.def.type==="transform"?a.out:a.in:a.out;ao(i,t,n);const l=t.seen.get(e);l.ref=i},m2=(e,t,o,n)=>{const a=e._zod.def;ao(a.innerType,t,n);const i=t.seen.get(e);i.ref=a.innerType,o.readOnly=!0},uV=(e,t,o,n)=>{const a=e._zod.def;ao(a.innerType,t,n);const i=t.seen.get(e);i.ref=a.innerType},pC=(e,t,o,n)=>{const a=e._zod.def;ao(a.innerType,t,n);const i=t.seen.get(e);i.ref=a.innerType},p2=(e,t,o,n)=>{const a=e._zod.innerType;ao(a,t,n);const i=t.seen.get(e);i.ref=a},aA={string:UM,number:$M,boolean:qM,bigint:eV,symbol:tV,null:VM,undefined:HM,void:oV,never:GM,any:KM,unknown:WM,date:nV,enum:YM,literal:ZM,nan:aV,template_literal:rV,file:QM,success:iV,custom:JM,function:sV,transform:XM,map:lV,set:cV,array:e2,object:t2,union:o2,intersection:n2,tuple:a2,record:r2,nullable:i2,nonoptional:s2,default:l2,prefault:c2,catch:u2,pipe:d2,readonly:m2,promise:uV,optional:pC,lazy:p2};function gpe(e,t){if("_idmap"in e){const n=e,a=Jg({...t,processors:aA}),i={};for(const d of n._idmap.entries()){const[m,h]=d;ao(h,a)}const l={},c={registry:n,uri:t?.uri,defs:i};a.external=c;for(const d of n._idmap.entries()){const[m,h]=d;Xg(a,h),l[m]=ef(a,h)}if(Object.keys(i).length>0){const d=a.target==="draft-2020-12"?"$defs":"definitions";l.__shared={[d]:i}}return{schemas:l}}const o=Jg({...t,processors:aA});return ao(e,o),Xg(o,e),ef(o,e)}const dV=be("ZodISODateTime",(e,t)=>{i8.init(e,t),xo.init(e,t)});function h2(e){return b7(dV,e)}const mV=be("ZodISODate",(e,t)=>{s8.init(e,t),xo.init(e,t)});function pV(e){return y7(mV,e)}const hV=be("ZodISOTime",(e,t)=>{l8.init(e,t),xo.init(e,t)});function gV(e){return S7(hV,e)}const fV=be("ZodISODuration",(e,t)=>{c8.init(e,t),xo.init(e,t)});function vV(e){return _7(fV,e)}const bV=(e,t)=>{dC.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:o=>G$(e,o)},flatten:{value:o=>H$(e,o)},addIssue:{value:o=>{e.issues.push(o),e.message=JSON.stringify(e.issues,s_,2)}},addIssues:{value:o=>{e.issues.push(...o),e.message=JSON.stringify(e.issues,s_,2)}},isEmpty:{get(){return e.issues.length===0}}})},Ha=be("ZodError",bV,{Parent:Error}),yV=Qf(Ha),SV=Jf(Ha),_V=Xf(Ha),wV=ev(Ha),CV=Q$(Ha),xV=J$(Ha),EV=X$(Ha),TV=eq(Ha),kV=tq(Ha),PV=oq(Ha),AV=nq(Ha),RV=aq(Ha),Kt=be("ZodType",(e,t)=>($t.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:tf(e,"input"),output:tf(e,"output")}}),e.toJSONSchema=J7(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...o)=>e.clone(xs(t,{checks:[...t.checks??[],...o.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),{parent:!0}),e.with=e.check,e.clone=(o,n)=>Es(e,o,n),e.brand=()=>e,e.register=((o,n)=>(o.add(e,n),e)),e.parse=(o,n)=>yV(e,o,n,{callee:e.parse}),e.safeParse=(o,n)=>_V(e,o,n),e.parseAsync=async(o,n)=>SV(e,o,n,{callee:e.parseAsync}),e.safeParseAsync=async(o,n)=>wV(e,o,n),e.spa=e.safeParseAsync,e.encode=(o,n)=>CV(e,o,n),e.decode=(o,n)=>xV(e,o,n),e.encodeAsync=async(o,n)=>EV(e,o,n),e.decodeAsync=async(o,n)=>TV(e,o,n),e.safeEncode=(o,n)=>kV(e,o,n),e.safeDecode=(o,n)=>PV(e,o,n),e.safeEncodeAsync=async(o,n)=>AV(e,o,n),e.safeDecodeAsync=async(o,n)=>RV(e,o,n),e.refine=(o,n)=>e.check(E9(o,n)),e.superRefine=o=>e.check(T9(o)),e.overwrite=o=>e.check(hu(o)),e.optional=()=>wo(e),e.exactOptional=()=>d9(e),e.nullable=()=>sA(e),e.nullish=()=>wo(sA(e)),e.nonoptional=o=>v9(e,o),e.array=()=>Le(e),e.or=o=>ro([e,o]),e.and=o=>fC(e,o),e.transform=o=>u_(e,w2(o)),e.default=o=>h9(e,o),e.prefault=o=>f9(e,o),e.catch=o=>y9(e,o),e.pipe=o=>u_(e,o),e.readonly=()=>w9(e),e.describe=o=>{const n=e.clone();return Od.add(n,{description:o}),n},Object.defineProperty(e,"description",{get(){return Od.get(e)?.description},configurable:!0}),e.meta=(...o)=>{if(o.length===0)return Od.get(e);const n=e.clone();return Od.add(n,o[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=o=>o(e),e)),g2=be("_ZodString",(e,t)=>{mC.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(n,a,i)=>UM(e,n,a);const o=e._zod.bag;e.format=o.format??null,e.minLength=o.minimum??null,e.maxLength=o.maximum??null,e.regex=(...n)=>e.check(M7(...n)),e.includes=(...n)=>e.check(F7(...n)),e.startsWith=(...n)=>e.check(B7(...n)),e.endsWith=(...n)=>e.check(j7(...n)),e.min=(...n)=>e.check(Qg(...n)),e.max=(...n)=>e.check(jM(...n)),e.length=(...n)=>e.check(zM(...n)),e.nonempty=(...n)=>e.check(Qg(1,...n)),e.lowercase=n=>e.check(L7(n)),e.uppercase=n=>e.check(N7(n)),e.trim=()=>e.check($7()),e.normalize=(...n)=>e.check(U7(...n)),e.toLowerCase=()=>e.check(q7()),e.toUpperCase=()=>e.check(V7()),e.slugify=()=>e.check(H7())}),f2=be("ZodString",(e,t)=>{mC.init(e,t),g2.init(e,t),e.email=o=>e.check(J8(DV,o)),e.url=o=>e.check(BM(v2,o)),e.jwt=o=>e.check(v7(KV,o)),e.emoji=o=>e.check(n7(IV,o)),e.guid=o=>e.check(eA(rA,o)),e.uuid=o=>e.check(X8(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(a7(MV,o)),e.guid=o=>e.check(eA(rA,o)),e.cuid=o=>e.check(r7(LV,o)),e.cuid2=o=>e.check(i7(NV,o)),e.ulid=o=>e.check(s7(FV,o)),e.base64=o=>e.check(h7(VV,o)),e.base64url=o=>e.check(g7(HV,o)),e.xid=o=>e.check(l7(BV,o)),e.ksuid=o=>e.check(c7(jV,o)),e.ipv4=o=>e.check(u7(zV,o)),e.ipv6=o=>e.check(d7(UV,o)),e.cidrv4=o=>e.check(m7($V,o)),e.cidrv6=o=>e.check(p7(qV,o)),e.e164=o=>e.check(f7(GV,o)),e.datetime=o=>e.check(h2(o)),e.date=o=>e.check(pV(o)),e.time=o=>e.check(gV(o)),e.duration=o=>e.check(vV(o))});function G(e){return Z8(f2,e)}const xo=be("ZodStringFormat",(e,t)=>{bo.init(e,t),g2.init(e,t)}),DV=be("ZodEmail",(e,t)=>{Qq.init(e,t),xo.init(e,t)}),rA=be("ZodGUID",(e,t)=>{Yq.init(e,t),xo.init(e,t)}),mh=be("ZodUUID",(e,t)=>{Zq.init(e,t),xo.init(e,t)}),v2=be("ZodURL",(e,t)=>{Jq.init(e,t),xo.init(e,t)});function OV(e){return BM(v2,e)}const IV=be("ZodEmoji",(e,t)=>{Xq.init(e,t),xo.init(e,t)}),MV=be("ZodNanoID",(e,t)=>{e8.init(e,t),xo.init(e,t)}),LV=be("ZodCUID",(e,t)=>{t8.init(e,t),xo.init(e,t)}),NV=be("ZodCUID2",(e,t)=>{o8.init(e,t),xo.init(e,t)}),FV=be("ZodULID",(e,t)=>{n8.init(e,t),xo.init(e,t)}),BV=be("ZodXID",(e,t)=>{a8.init(e,t),xo.init(e,t)}),jV=be("ZodKSUID",(e,t)=>{r8.init(e,t),xo.init(e,t)}),zV=be("ZodIPv4",(e,t)=>{u8.init(e,t),xo.init(e,t)}),UV=be("ZodIPv6",(e,t)=>{d8.init(e,t),xo.init(e,t)}),$V=be("ZodCIDRv4",(e,t)=>{m8.init(e,t),xo.init(e,t)}),qV=be("ZodCIDRv6",(e,t)=>{p8.init(e,t),xo.init(e,t)}),VV=be("ZodBase64",(e,t)=>{h8.init(e,t),xo.init(e,t)}),HV=be("ZodBase64URL",(e,t)=>{f8.init(e,t),xo.init(e,t)}),GV=be("ZodE164",(e,t)=>{v8.init(e,t),xo.init(e,t)}),KV=be("ZodJWT",(e,t)=>{y8.init(e,t),xo.init(e,t)}),hC=be("ZodNumber",(e,t)=>{IM.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(n,a,i)=>$M(e,n,a),e.gt=(n,a)=>e.check(oA(n,a)),e.gte=(n,a)=>e.check(g0(n,a)),e.min=(n,a)=>e.check(g0(n,a)),e.lt=(n,a)=>e.check(tA(n,a)),e.lte=(n,a)=>e.check(h0(n,a)),e.max=(n,a)=>e.check(h0(n,a)),e.int=n=>e.check(iA(n)),e.safe=n=>e.check(iA(n)),e.positive=n=>e.check(oA(0,n)),e.nonnegative=n=>e.check(g0(0,n)),e.negative=n=>e.check(tA(0,n)),e.nonpositive=n=>e.check(h0(0,n)),e.multipleOf=(n,a)=>e.check(nA(n,a)),e.step=(n,a)=>e.check(nA(n,a)),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 Ot(e){return w7(hC,e)}const WV=be("ZodNumberFormat",(e,t)=>{S8.init(e,t),hC.init(e,t)});function iA(e){return x7(WV,e)}const b2=be("ZodBoolean",(e,t)=>{_8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>qM(e,o,n)});function Gt(e){return E7(b2,e)}const YV=be("ZodUndefined",(e,t)=>{w8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>HM(e,o)});function fpe(e){return k7(YV,e)}const ZV=be("ZodNull",(e,t)=>{C8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>VM(e,o,n)});function QV(e){return P7(ZV,e)}const JV=be("ZodAny",(e,t)=>{x8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>KM()});function XV(){return A7(JV)}const e9=be("ZodUnknown",(e,t)=>{E8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>WM()});function Co(){return R7(e9)}const t9=be("ZodNever",(e,t)=>{T8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>GM(e,o,n)});function y2(e){return D7(t9,e)}const o9=be("ZodArray",(e,t)=>{k8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>e2(e,o,n,a),e.element=t.element,e.min=(o,n)=>e.check(Qg(o,n)),e.nonempty=o=>e.check(Qg(1,o)),e.max=(o,n)=>e.check(jM(o,n)),e.length=(o,n)=>e.check(zM(o,n)),e.unwrap=()=>e.element});function Le(e,t){return G7(o9,e,t)}const gC=be("ZodObject",(e,t)=>{A8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>t2(e,o,n,a),Dt(e,"shape",()=>t.shape),e.keyof=()=>yn(Object.keys(e._zod.def.shape)),e.catchall=o=>e.clone({...e._zod.def,catchall:o}),e.passthrough=()=>e.clone({...e._zod.def,catchall:Co()}),e.loose=()=>e.clone({...e._zod.def,catchall:Co()}),e.strict=()=>e.clone({...e._zod.def,catchall:y2()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=o=>z$(e,o),e.safeExtend=o=>U$(e,o),e.merge=o=>$$(e,o),e.pick=o=>B$(e,o),e.omit=o=>j$(e,o),e.partial=(...o)=>q$(C2,e,o[0]),e.required=(...o)=>V$(x2,e,o[0])});function Ae(e,t){const o={type:"object",shape:e??{},...Ue(t)};return new gC(o)}function vpe(e,t){return new gC({type:"object",shape:e,catchall:y2(),...Ue(t)})}function bn(e,t){return new gC({type:"object",shape:e,catchall:Co(),...Ue(t)})}const S2=be("ZodUnion",(e,t)=>{NM.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>o2(e,o,n,a),e.options=t.options});function ro(e,t){return new S2({type:"union",options:e,...Ue(t)})}const n9=be("ZodDiscriminatedUnion",(e,t)=>{S2.init(e,t),R8.init(e,t)});function _2(e,t,o){return new n9({type:"union",options:t,discriminator:e,...Ue(o)})}const a9=be("ZodIntersection",(e,t)=>{D8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>n2(e,o,n,a)});function fC(e,t){return new a9({type:"intersection",left:e,right:t})}const r9=be("ZodTuple",(e,t)=>{O8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>a2(e,o,n,a),e.rest=o=>e.clone({...e._zod.def,rest:o})});function bpe(e,t,o){const n=t instanceof $t,a=n?o:t,i=n?t:null;return new r9({type:"tuple",items:e,rest:i,...Ue(a)})}const i9=be("ZodRecord",(e,t)=>{I8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>r2(e,o,n,a),e.keyType=t.keyType,e.valueType=t.valueType});function mo(e,t,o){return new i9({type:"record",keyType:e,valueType:t,...Ue(o)})}const c_=be("ZodEnum",(e,t)=>{M8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(n,a,i)=>YM(e,n,a),e.enum=t.entries,e.options=Object.values(t.entries);const o=new Set(Object.keys(t.entries));e.extract=(n,a)=>{const i={};for(const l of n)if(o.has(l))i[l]=t.entries[l];else throw new Error(`Key ${l} not found in enum`);return new c_({...t,checks:[],...Ue(a),entries:i})},e.exclude=(n,a)=>{const i={...t.entries};for(const l of n)if(o.has(l))delete i[l];else throw new Error(`Key ${l} not found in enum`);return new c_({...t,checks:[],...Ue(a),entries:i})}});function yn(e,t){const o=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new c_({type:"enum",entries:o,...Ue(t)})}const s9=be("ZodLiteral",(e,t)=>{L8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>ZM(e,o,n),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 Ye(e,t){return new s9({type:"literal",values:Array.isArray(e)?e:[e],...Ue(t)})}const l9=be("ZodFile",(e,t)=>{N8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>QM(e,o,n),e.min=(o,n)=>e.check(I7(o,n)),e.max=(o,n)=>e.check(O7(o,n)),e.mime=(o,n)=>e.check(z7(Array.isArray(o)?o:[o],n))});function ype(e){return K7(l9,e)}const c9=be("ZodTransform",(e,t)=>{F8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>XM(e,o),e._zod.parse=(o,n)=>{if(n.direction==="backward")throw new bM(e.constructor.name);o.addIssue=i=>{if(typeof i=="string")o.issues.push(sm(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(sm(l))}};const a=t.transform(o.value,o);return a instanceof Promise?a.then(i=>(o.value=i,o)):(o.value=a,o)}});function w2(e){return new c9({type:"transform",transform:e})}const C2=be("ZodOptional",(e,t)=>{FM.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>pC(e,o,n,a),e.unwrap=()=>e._zod.def.innerType});function wo(e){return new C2({type:"optional",innerType:e})}const u9=be("ZodExactOptional",(e,t)=>{B8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>pC(e,o,n,a),e.unwrap=()=>e._zod.def.innerType});function d9(e){return new u9({type:"optional",innerType:e})}const m9=be("ZodNullable",(e,t)=>{j8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>i2(e,o,n,a),e.unwrap=()=>e._zod.def.innerType});function sA(e){return new m9({type:"nullable",innerType:e})}const p9=be("ZodDefault",(e,t)=>{z8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>l2(e,o,n,a),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function h9(e,t){return new p9({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():wM(t)}})}const g9=be("ZodPrefault",(e,t)=>{U8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>c2(e,o,n,a),e.unwrap=()=>e._zod.def.innerType});function f9(e,t){return new g9({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():wM(t)}})}const x2=be("ZodNonOptional",(e,t)=>{$8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>s2(e,o,n,a),e.unwrap=()=>e._zod.def.innerType});function v9(e,t){return new x2({type:"nonoptional",innerType:e,...Ue(t)})}const b9=be("ZodCatch",(e,t)=>{q8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>u2(e,o,n,a),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function y9(e,t){return new b9({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const S9=be("ZodPipe",(e,t)=>{V8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>d2(e,o,n,a),e.in=t.in,e.out=t.out});function u_(e,t){return new S9({type:"pipe",in:e,out:t})}const _9=be("ZodReadonly",(e,t)=>{H8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>m2(e,o,n,a),e.unwrap=()=>e._zod.def.innerType});function w9(e){return new _9({type:"readonly",innerType:e})}const C9=be("ZodLazy",(e,t)=>{G8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>p2(e,o,n,a),e.unwrap=()=>e._zod.def.getter()});function Lr(e){return new C9({type:"lazy",getter:e})}const vC=be("ZodCustom",(e,t)=>{K8.init(e,t),Kt.init(e,t),e._zod.processJSONSchema=(o,n,a)=>JM(e,o)});function x9(e,t){return W7(vC,e??(()=>!0),t)}function E9(e,t={}){return Y7(vC,e,t)}function T9(e){return Z7(e)}function Spe(e,t={}){const o=new vC({type:"custom",check:"custom",fn:n=>n instanceof e,abort:!0,...Ue(t)});return o._zod.bag.Class=e,o._zod.check=n=>{n.value instanceof e||n.issues.push({code:"invalid_type",expected:e.name,input:n.value,inst:o,path:[...o._zod.def.path??[]]})},o}function bC(e,t){return u_(w2(e),t)}const k9={custom:"custom"};function E2(e){return Q8(f2,e)}function T2(e){return C7(hC,e)}function lA(e){return T7(b2,e)}const P9="2025-11-25",_pe=[P9,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],A9="io.modelcontextprotocol/related-task",ov="2.0",Xo=x9(e=>e!==null&&(typeof e=="object"||typeof e=="function")),k2=ro([G(),Ot().int()]),P2=G();bn({ttl:Ot().optional(),pollInterval:Ot().optional()});const R9=Ae({ttl:Ot().optional()}),D9=Ae({taskId:G()}),yC=bn({progressToken:k2.optional(),[A9]:D9.optional()}),Ca=Ae({_meta:yC.optional()}),Tm=Ca.extend({task:R9.optional()}),wpe=e=>Tm.safeParse(e).success,_n=Ae({method:G(),params:Ca.loose().optional()}),Ga=Ae({_meta:yC.optional()}),Ka=Ae({method:G(),params:Ga.loose().optional()}),wn=bn({_meta:yC.optional()}),nv=ro([G(),Ot().int()]),A2=Ae({jsonrpc:Ye(ov),id:nv,..._n.shape}).strict(),Cpe=e=>A2.safeParse(e).success,R2=Ae({jsonrpc:Ye(ov),...Ka.shape}).strict(),xpe=e=>R2.safeParse(e).success,SC=Ae({jsonrpc:Ye(ov),id:nv,result:wn}).strict(),Epe=e=>SC.safeParse(e).success;var lm;(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"})(lm||(lm={}));const _C=Ae({jsonrpc:Ye(ov),id:nv.optional(),error:Ae({code:Ot().int(),message:G(),data:Co().optional()})}).strict(),Tpe=e=>_C.safeParse(e).success,kpe=ro([A2,R2,SC,_C]);ro([SC,_C]);const D2=wn.strict(),O9=Ga.extend({requestId:nv.optional(),reason:G().optional()}),O2=Ka.extend({method:Ye("notifications/cancelled"),params:O9}),I9=Ae({src:G(),mimeType:G().optional(),sizes:Le(G()).optional(),theme:yn(["light","dark"]).optional()}),km=Ae({icons:Le(I9).optional()}),eu=Ae({name:G(),title:G().optional()}),I2=eu.extend({...eu.shape,...km.shape,version:G(),websiteUrl:G().optional(),description:G().optional()}),M9=fC(Ae({applyDefaults:Gt().optional()}),mo(G(),Co())),L9=bC(e=>e&&typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,fC(Ae({form:M9.optional(),url:Xo.optional()}),mo(G(),Co()).optional())),N9=bn({list:Xo.optional(),cancel:Xo.optional(),requests:bn({sampling:bn({createMessage:Xo.optional()}).optional(),elicitation:bn({create:Xo.optional()}).optional()}).optional()}),F9=bn({list:Xo.optional(),cancel:Xo.optional(),requests:bn({tools:bn({call:Xo.optional()}).optional()}).optional()}),B9=Ae({experimental:mo(G(),Xo).optional(),sampling:Ae({context:Xo.optional(),tools:Xo.optional()}).optional(),elicitation:L9.optional(),roots:Ae({listChanged:Gt().optional()}).optional(),tasks:N9.optional(),extensions:mo(G(),Xo).optional()}),j9=Ca.extend({protocolVersion:G(),capabilities:B9,clientInfo:I2}),z9=_n.extend({method:Ye("initialize"),params:j9}),U9=Ae({experimental:mo(G(),Xo).optional(),logging:Xo.optional(),completions:Xo.optional(),prompts:Ae({listChanged:Gt().optional()}).optional(),resources:Ae({subscribe:Gt().optional(),listChanged:Gt().optional()}).optional(),tools:Ae({listChanged:Gt().optional()}).optional(),tasks:F9.optional(),extensions:mo(G(),Xo).optional()}),$9=wn.extend({protocolVersion:G(),capabilities:U9,serverInfo:I2,instructions:G().optional()}),M2=Ka.extend({method:Ye("notifications/initialized"),params:Ga.optional()}),Ppe=e=>M2.safeParse(e).success,L2=_n.extend({method:Ye("ping"),params:Ca.optional()}),q9=Ae({progress:Ot(),total:wo(Ot()),message:wo(G())}),V9=Ae({...Ga.shape,...q9.shape,progressToken:k2}),N2=Ka.extend({method:Ye("notifications/progress"),params:V9}),H9=Ca.extend({cursor:P2.optional()}),Pm=_n.extend({params:H9.optional()}),Am=wn.extend({nextCursor:P2.optional()}),G9=yn(["working","input_required","completed","failed","cancelled"]),Rm=Ae({taskId:G(),status:G9,ttl:ro([Ot(),QV()]),createdAt:G(),lastUpdatedAt:G(),pollInterval:wo(Ot()),statusMessage:wo(G())}),F2=wn.extend({task:Rm}),K9=Ga.merge(Rm),B2=Ka.extend({method:Ye("notifications/tasks/status"),params:K9}),j2=_n.extend({method:Ye("tasks/get"),params:Ca.extend({taskId:G()})}),z2=wn.merge(Rm),U2=_n.extend({method:Ye("tasks/result"),params:Ca.extend({taskId:G()})});wn.loose();const $2=Pm.extend({method:Ye("tasks/list")}),q2=Am.extend({tasks:Le(Rm)}),V2=_n.extend({method:Ye("tasks/cancel"),params:Ca.extend({taskId:G()})}),Ape=wn.merge(Rm),H2=Ae({uri:G(),mimeType:wo(G()),_meta:mo(G(),Co()).optional()}),G2=H2.extend({text:G()}),wC=G().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:"Invalid Base64 string"}),K2=H2.extend({blob:wC}),Dm=yn(["user","assistant"]),gu=Ae({audience:Le(Dm).optional(),priority:Ot().min(0).max(1).optional(),lastModified:h2({offset:!0}).optional()}),W2=Ae({...eu.shape,...km.shape,uri:G(),description:wo(G()),mimeType:wo(G()),size:wo(Ot()),annotations:gu.optional(),_meta:wo(bn({}))}),W9=Ae({...eu.shape,...km.shape,uriTemplate:G(),description:wo(G()),mimeType:wo(G()),annotations:gu.optional(),_meta:wo(bn({}))}),Y9=Pm.extend({method:Ye("resources/list")}),Z9=Am.extend({resources:Le(W2)}),Q9=Pm.extend({method:Ye("resources/templates/list")}),J9=Am.extend({resourceTemplates:Le(W9)}),CC=Ca.extend({uri:G()}),X9=CC,eH=_n.extend({method:Ye("resources/read"),params:X9}),tH=wn.extend({contents:Le(ro([G2,K2]))}),oH=Ka.extend({method:Ye("notifications/resources/list_changed"),params:Ga.optional()}),nH=CC,aH=_n.extend({method:Ye("resources/subscribe"),params:nH}),rH=CC,iH=_n.extend({method:Ye("resources/unsubscribe"),params:rH}),sH=Ga.extend({uri:G()}),lH=Ka.extend({method:Ye("notifications/resources/updated"),params:sH}),cH=Ae({name:G(),description:wo(G()),required:wo(Gt())}),uH=Ae({...eu.shape,...km.shape,description:wo(G()),arguments:wo(Le(cH)),_meta:wo(bn({}))}),dH=Pm.extend({method:Ye("prompts/list")}),mH=Am.extend({prompts:Le(uH)}),pH=Ca.extend({name:G(),arguments:mo(G(),G()).optional()}),hH=_n.extend({method:Ye("prompts/get"),params:pH}),xC=Ae({type:Ye("text"),text:G(),annotations:gu.optional(),_meta:mo(G(),Co()).optional()}),EC=Ae({type:Ye("image"),data:wC,mimeType:G(),annotations:gu.optional(),_meta:mo(G(),Co()).optional()}),TC=Ae({type:Ye("audio"),data:wC,mimeType:G(),annotations:gu.optional(),_meta:mo(G(),Co()).optional()}),gH=Ae({type:Ye("tool_use"),name:G(),id:G(),input:mo(G(),Co()),_meta:mo(G(),Co()).optional()}),fH=Ae({type:Ye("resource"),resource:ro([G2,K2]),annotations:gu.optional(),_meta:mo(G(),Co()).optional()}),vH=W2.extend({type:Ye("resource_link")}),kC=ro([xC,EC,TC,vH,fH]),bH=Ae({role:Dm,content:kC}),yH=wn.extend({description:G().optional(),messages:Le(bH)}),SH=Ka.extend({method:Ye("notifications/prompts/list_changed"),params:Ga.optional()}),_H=Ae({title:G().optional(),readOnlyHint:Gt().optional(),destructiveHint:Gt().optional(),idempotentHint:Gt().optional(),openWorldHint:Gt().optional()}),wH=Ae({taskSupport:yn(["required","optional","forbidden"]).optional()}),Y2=Ae({...eu.shape,...km.shape,description:G().optional(),inputSchema:Ae({type:Ye("object"),properties:mo(G(),Xo).optional(),required:Le(G()).optional()}).catchall(Co()),outputSchema:Ae({type:Ye("object"),properties:mo(G(),Xo).optional(),required:Le(G()).optional()}).catchall(Co()).optional(),annotations:_H.optional(),execution:wH.optional(),_meta:mo(G(),Co()).optional()}),CH=Pm.extend({method:Ye("tools/list")}),xH=Am.extend({tools:Le(Y2)}),Z2=wn.extend({content:Le(kC).default([]),structuredContent:mo(G(),Co()).optional(),isError:Gt().optional()});Z2.or(wn.extend({toolResult:Co()}));const EH=Tm.extend({name:G(),arguments:mo(G(),Co()).optional()}),TH=_n.extend({method:Ye("tools/call"),params:EH}),kH=Ka.extend({method:Ye("notifications/tools/list_changed"),params:Ga.optional()}),Rpe=Ae({autoRefresh:Gt().default(!0),debounceMs:Ot().int().nonnegative().default(300)}),Q2=yn(["debug","info","notice","warning","error","critical","alert","emergency"]),PH=Ca.extend({level:Q2}),AH=_n.extend({method:Ye("logging/setLevel"),params:PH}),RH=Ga.extend({level:Q2,logger:G().optional(),data:Co()}),DH=Ka.extend({method:Ye("notifications/message"),params:RH}),OH=Ae({name:G().optional()}),IH=Ae({hints:Le(OH).optional(),costPriority:Ot().min(0).max(1).optional(),speedPriority:Ot().min(0).max(1).optional(),intelligencePriority:Ot().min(0).max(1).optional()}),MH=Ae({mode:yn(["auto","required","none"]).optional()}),LH=Ae({type:Ye("tool_result"),toolUseId:G().describe("The unique identifier for the corresponding tool call."),content:Le(kC).default([]),structuredContent:Ae({}).loose().optional(),isError:Gt().optional(),_meta:mo(G(),Co()).optional()}),NH=_2("type",[xC,EC,TC]),of=_2("type",[xC,EC,TC,gH,LH]),FH=Ae({role:Dm,content:ro([of,Le(of)]),_meta:mo(G(),Co()).optional()}),BH=Tm.extend({messages:Le(FH),modelPreferences:IH.optional(),systemPrompt:G().optional(),includeContext:yn(["none","thisServer","allServers"]).optional(),temperature:Ot().optional(),maxTokens:Ot().int(),stopSequences:Le(G()).optional(),metadata:Xo.optional(),tools:Le(Y2).optional(),toolChoice:MH.optional()}),jH=_n.extend({method:Ye("sampling/createMessage"),params:BH}),zH=wn.extend({model:G(),stopReason:wo(yn(["endTurn","stopSequence","maxTokens"]).or(G())),role:Dm,content:NH}),UH=wn.extend({model:G(),stopReason:wo(yn(["endTurn","stopSequence","maxTokens","toolUse"]).or(G())),role:Dm,content:ro([of,Le(of)])}),$H=Ae({type:Ye("boolean"),title:G().optional(),description:G().optional(),default:Gt().optional()}),qH=Ae({type:Ye("string"),title:G().optional(),description:G().optional(),minLength:Ot().optional(),maxLength:Ot().optional(),format:yn(["email","uri","date","date-time"]).optional(),default:G().optional()}),VH=Ae({type:yn(["number","integer"]),title:G().optional(),description:G().optional(),minimum:Ot().optional(),maximum:Ot().optional(),default:Ot().optional()}),HH=Ae({type:Ye("string"),title:G().optional(),description:G().optional(),enum:Le(G()),default:G().optional()}),GH=Ae({type:Ye("string"),title:G().optional(),description:G().optional(),oneOf:Le(Ae({const:G(),title:G()})),default:G().optional()}),KH=Ae({type:Ye("string"),title:G().optional(),description:G().optional(),enum:Le(G()),enumNames:Le(G()).optional(),default:G().optional()}),WH=ro([HH,GH]),YH=Ae({type:Ye("array"),title:G().optional(),description:G().optional(),minItems:Ot().optional(),maxItems:Ot().optional(),items:Ae({type:Ye("string"),enum:Le(G())}),default:Le(G()).optional()}),ZH=Ae({type:Ye("array"),title:G().optional(),description:G().optional(),minItems:Ot().optional(),maxItems:Ot().optional(),items:Ae({anyOf:Le(Ae({const:G(),title:G()}))}),default:Le(G()).optional()}),QH=ro([YH,ZH]),JH=ro([KH,WH,QH]),XH=ro([JH,$H,qH,VH]),eG=Tm.extend({mode:Ye("form").optional(),message:G(),requestedSchema:Ae({type:Ye("object"),properties:mo(G(),XH),required:Le(G()).optional()})}),tG=Tm.extend({mode:Ye("url"),message:G(),elicitationId:G(),url:G().url()}),oG=ro([eG,tG]),nG=_n.extend({method:Ye("elicitation/create"),params:oG}),aG=Ga.extend({elicitationId:G()}),rG=Ka.extend({method:Ye("notifications/elicitation/complete"),params:aG}),iG=wn.extend({action:yn(["accept","decline","cancel"]),content:bC(e=>e===null?void 0:e,mo(G(),ro([G(),Ot(),Gt(),Le(G())])).optional())}),sG=Ae({type:Ye("ref/resource"),uri:G()}),lG=Ae({type:Ye("ref/prompt"),name:G()}),cG=Ca.extend({ref:ro([lG,sG]),argument:Ae({name:G(),value:G()}),context:Ae({arguments:mo(G(),G()).optional()}).optional()}),uG=_n.extend({method:Ye("completion/complete"),params:cG}),dG=wn.extend({completion:bn({values:Le(G()).max(100),total:wo(Ot().int()),hasMore:wo(Gt())})}),mG=Ae({uri:G().startsWith("file://"),name:G().optional(),_meta:mo(G(),Co()).optional()}),pG=_n.extend({method:Ye("roots/list"),params:Ca.optional()}),hG=wn.extend({roots:Le(mG)}),gG=Ka.extend({method:Ye("notifications/roots/list_changed"),params:Ga.optional()});ro([L2,z9,uG,AH,hH,dH,Y9,Q9,eH,aH,iH,TH,CH,j2,U2,$2,V2]);ro([O2,N2,M2,gG,B2]);ro([D2,zH,UH,iG,hG,z2,q2,F2]);ro([L2,jH,nG,pG,j2,U2,$2,V2]);ro([O2,N2,DH,lH,oH,kH,SH,B2,rG]);ro([D2,$9,dG,yH,mH,Z9,J9,tH,Z2,xH,z2,q2,F2]);class av extends Error{constructor(t,o,n){super(`MCP error ${t}: ${o}`),this.code=t,this.data=n,this.name="McpError"}static fromError(t,o,n){if(t===lm.UrlElicitationRequired&&n){const a=n;if(a.elicitations)return new fG(a.elicitations,o)}return new av(t,o,n)}}class fG extends av{constructor(t,o=`URL elicitation${t.length>1?"s":""} required`){super(lm.UrlElicitationRequired,o,{elicitations:t})}get elicitations(){return this.data?.elicitations??[]}}const vG={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}}},J2=A.createContext(void 0),Om=()=>{const e=A.useContext(J2);if(!e)throw new Error("useProjectContext must be used within a ProjectContextProvider");return e},Dpe=()=>Om().org,Ope=e=>{const t=Ne.c(10),{children:o,org:n,project:a}=e;let i;t[0]!==n.id||t[1]!==a.id?(i=vG.from({org:n.id,project:a.id}),t[0]=n.id,t[1]=a.id,t[2]=i):i=t[2];const l=i;let c;t[3]!==l||t[4]!==n||t[5]!==a?(c={org:n,project:a,locator:l},t[3]=l,t[4]=n,t[5]=a,t[6]=c):c=t[6];const d=c;let m;return t[7]!==o||t[8]!==d?(m=C.jsx(J2.Provider,{value:d,children:o}),t[7]=o,t[8]=d,t[9]=m):m=t[9],m};function bG(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 yG=e=>{switch(e){case"success":return wG;case"info":return xG;case"warning":return CG;case"error":return EG;default:return null}},SG=Array(12).fill(0),_G=({visible:e,className:t})=>X.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},X.createElement("div",{className:"sonner-spinner"},SG.map((o,n)=>X.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),wG=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},X.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"})),CG=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},X.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"})),xG=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},X.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"})),EG=X.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},X.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"})),TG=X.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"},X.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),X.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),kG=()=>{const[e,t]=X.useState(document.hidden);return X.useEffect(()=>{const o=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",o),()=>window.removeEventListener("visibilitychange",o)},[]),e};let d_=1;class PG{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:n,...a}=t,i=typeof t?.id=="number"||((o=t.id)==null?void 0:o.length)>0?t.id:d_++,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:n}),{...d,...t,id:i,dismissible:c,title:n}):d):this.addToast({title:n,...a,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(n=>n({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 n;o.loading!==void 0&&(n=this.create({...o,promise:t,type:"loading",message:o.loading,description:typeof o.description!="function"?o.description:void 0}));const a=Promise.resolve(t instanceof Function?t():t);let i=n!==void 0,l;const c=a.then(async m=>{if(l=["resolve",m],X.isValidElement(m))i=!1,this.create({id:n,type:"default",message:m});else if(RG(m)&&!m.ok){i=!1;const p=typeof o.error=="function"?await o.error(`HTTP error! status: ${m.status}`):o.error,f=typeof o.description=="function"?await o.description(`HTTP error! status: ${m.status}`):o.description,b=typeof p=="object"&&!X.isValidElement(p)?p:{message:p};this.create({id:n,type:"error",description:f,...b})}else if(m instanceof Error){i=!1;const p=typeof o.error=="function"?await o.error(m):o.error,f=typeof o.description=="function"?await o.description(m):o.description,b=typeof p=="object"&&!X.isValidElement(p)?p:{message:p};this.create({id:n,type:"error",description:f,...b})}else if(o.success!==void 0){i=!1;const p=typeof o.success=="function"?await o.success(m):o.success,f=typeof o.description=="function"?await o.description(m):o.description,b=typeof p=="object"&&!X.isValidElement(p)?p:{message:p};this.create({id:n,type:"success",description:f,...b})}}).catch(async m=>{if(l=["reject",m],o.error!==void 0){i=!1;const h=typeof o.error=="function"?await o.error(m):o.error,p=typeof o.description=="function"?await o.description(m):o.description,v=typeof h=="object"&&!X.isValidElement(h)?h:{message:h};this.create({id:n,type:"error",description:p,...v})}}).finally(()=>{i&&(this.dismiss(n),n=void 0),o.finally==null||o.finally.call(o)}),d=()=>new Promise((m,h)=>c.then(()=>l[0]==="reject"?h(l[1]):m(l[1])).catch(h));return typeof n!="string"&&typeof n!="number"?{unwrap:d}:Object.assign(n,{unwrap:d})},this.custom=(t,o)=>{const n=o?.id||d_++;return this.create({jsx:t(n),id:n,...o}),n},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const ea=new PG,AG=(e,t)=>{const o=t?.id||d_++;return ea.addToast({title:e,...t,id:o}),o},RG=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",DG=AG,OG=()=>ea.toasts,IG=()=>ea.getActiveToasts(),Si=Object.assign(DG,{success:ea.success,info:ea.info,warning:ea.warning,error:ea.error,custom:ea.custom,message:ea.message,promise:ea.promise,dismiss:ea.dismiss,loading:ea.loading},{getHistory:OG,getToasts:IG});bG("[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 ph(e){return e.label!==void 0}const MG=3,LG="24px",NG="16px",cA=4e3,FG=356,BG=14,jG=45,zG=200;function wr(...e){return e.filter(Boolean).join(" ")}function UG(e){const[t,o]=e.split("-"),n=[];return t&&n.push(t),o&&n.push(o),n}const $G=e=>{var t,o,n,a,i,l,c,d,m;const{invert:h,toast:p,unstyled:f,interacting:v,setHeights:b,visibleToasts:S,heights:x,index:_,toasts:w,expanded:P,removeToast:T,defaultRichColors:k,closeButton:R,style:D,cancelButtonStyle:O,actionButtonStyle:L,className:U="",descriptionClassName:F="",duration:$,position:j,gap:K,expandByDefault:ae,classNames:V,icons:Z,closeButtonAriaLabel:te="Close toast"}=e,[le,Q]=X.useState(null),[M,H]=X.useState(null),[q,N]=X.useState(!1),[z,J]=X.useState(!1),[me,he]=X.useState(!1),[Ce,je]=X.useState(!1),[Y,ne]=X.useState(!1),[ve,ie]=X.useState(0),[_e,Ee]=X.useState(0),ot=X.useRef(p.duration||$||cA),at=X.useRef(null),qe=X.useRef(null),Je=_===0,De=_+1<=S,Re=p.type,$e=p.dismissible!==!1,W=p.className||"",oe=p.descriptionClassName||"",se=X.useMemo(()=>x.findIndex(Ke=>Ke.toastId===p.id)||0,[x,p.id]),xe=X.useMemo(()=>{var Ke;return(Ke=p.closeButton)!=null?Ke:R},[p.closeButton,R]),ke=X.useMemo(()=>p.duration||$||cA,[p.duration,$]),Pe=X.useRef(0),Ie=X.useRef(0),et=X.useRef(0),tt=X.useRef(null),[yt,Pt]=j.split("-"),St=X.useMemo(()=>x.reduce((Ke,pt,Xt)=>Xt>=se?Ke:Ke+pt.height,0),[x,se]),Bo=kG(),Ur=p.invert||h,Wa=Re==="loading";Ie.current=X.useMemo(()=>se*K+St,[se,St]),X.useEffect(()=>{ot.current=ke},[ke]),X.useEffect(()=>{N(!0)},[]),X.useEffect(()=>{const Ke=qe.current;if(Ke){const pt=Ke.getBoundingClientRect().height;return Ee(pt),b(Xt=>[{toastId:p.id,height:pt,position:p.position},...Xt]),()=>b(Xt=>Xt.filter(Wt=>Wt.toastId!==p.id))}},[b,p.id]),X.useLayoutEffect(()=>{if(!q)return;const Ke=qe.current,pt=Ke.style.height;Ke.style.height="auto";const Xt=Ke.getBoundingClientRect().height;Ke.style.height=pt,Ee(Xt),b(Wt=>Wt.find(Nt=>Nt.toastId===p.id)?Wt.map(Nt=>Nt.toastId===p.id?{...Nt,height:Xt}:Nt):[{toastId:p.id,height:Xt,position:p.position},...Wt])},[q,p.title,p.description,b,p.id,p.jsx,p.action,p.cancel]);const Ze=X.useCallback(()=>{J(!0),ie(Ie.current),b(Ke=>Ke.filter(pt=>pt.toastId!==p.id)),setTimeout(()=>{T(p)},zG)},[p,T,b,Ie]);X.useEffect(()=>{if(p.promise&&Re==="loading"||p.duration===1/0||p.type==="loading")return;let Ke;return P||v||Bo?(()=>{if(et.current<Pe.current){const Wt=new Date().getTime()-Pe.current;ot.current=ot.current-Wt}et.current=new Date().getTime()})():ot.current!==1/0&&(Pe.current=new Date().getTime(),Ke=setTimeout(()=>{p.onAutoClose==null||p.onAutoClose.call(p,p),Ze()},ot.current)),()=>clearTimeout(Ke)},[P,v,p,Re,Bo,Ze]),X.useEffect(()=>{p.delete&&(Ze(),p.onDismiss==null||p.onDismiss.call(p,p))},[Ze,p.delete]);function ht(){var Ke;if(Z?.loading){var pt;return X.createElement("div",{className:wr(V?.loader,p==null||(pt=p.classNames)==null?void 0:pt.loader,"sonner-loader"),"data-visible":Re==="loading"},Z.loading)}return X.createElement(_G,{className:wr(V?.loader,p==null||(Ke=p.classNames)==null?void 0:Ke.loader),visible:Re==="loading"})}const At=p.icon||Z?.[Re]||yG(Re);var lt,Lt;return X.createElement("li",{tabIndex:0,ref:qe,className:wr(U,W,V?.toast,p==null||(t=p.classNames)==null?void 0:t.toast,V?.default,V?.[Re],p==null||(o=p.classNames)==null?void 0:o[Re]),"data-sonner-toast":"","data-rich-colors":(lt=p.richColors)!=null?lt:k,"data-styled":!(p.jsx||p.unstyled||f),"data-mounted":q,"data-promise":!!p.promise,"data-swiped":Y,"data-removed":z,"data-visible":De,"data-y-position":yt,"data-x-position":Pt,"data-index":_,"data-front":Je,"data-swiping":me,"data-dismissible":$e,"data-type":Re,"data-invert":Ur,"data-swipe-out":Ce,"data-swipe-direction":M,"data-expanded":!!(P||ae&&q),"data-testid":p.testId,style:{"--index":_,"--toasts-before":_,"--z-index":w.length-_,"--offset":`${z?ve:Ie.current}px`,"--initial-height":ae?"auto":`${_e}px`,...D,...p.style},onDragEnd:()=>{he(!1),Q(null),tt.current=null},onPointerDown:Ke=>{Ke.button!==2&&(Wa||!$e||(at.current=new Date,ie(Ie.current),Ke.target.setPointerCapture(Ke.pointerId),Ke.target.tagName!=="BUTTON"&&(he(!0),tt.current={x:Ke.clientX,y:Ke.clientY})))},onPointerUp:()=>{var Ke,pt,Xt;if(Ce||!$e)return;tt.current=null;const Wt=Number(((Ke=qe.current)==null?void 0:Ke.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),xn=Number(((pt=qe.current)==null?void 0:pt.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Nt=new Date().getTime()-((Xt=at.current)==null?void 0:Xt.getTime()),io=le==="x"?Wt:xn,Ea=Math.abs(io)/Nt;if(Math.abs(io)>=jG||Ea>.11){ie(Ie.current),p.onDismiss==null||p.onDismiss.call(p,p),H(le==="x"?Wt>0?"right":"left":xn>0?"down":"up"),Ze(),je(!0);return}else{var sn,qn;(sn=qe.current)==null||sn.style.setProperty("--swipe-amount-x","0px"),(qn=qe.current)==null||qn.style.setProperty("--swipe-amount-y","0px")}ne(!1),he(!1),Q(null)},onPointerMove:Ke=>{var pt,Xt,Wt;if(!tt.current||!$e||((pt=window.getSelection())==null?void 0:pt.toString().length)>0)return;const Nt=Ke.clientY-tt.current.y,io=Ke.clientX-tt.current.x;var Ea;const sn=(Ea=e.swipeDirections)!=null?Ea:UG(j);!le&&(Math.abs(io)>1||Math.abs(Nt)>1)&&Q(Math.abs(io)>Math.abs(Nt)?"x":"y");let qn={x:0,y:0};const kl=Ya=>1/(1.5+Math.abs(Ya)/20);if(le==="y"){if(sn.includes("top")||sn.includes("bottom"))if(sn.includes("top")&&Nt<0||sn.includes("bottom")&&Nt>0)qn.y=Nt;else{const Ya=Nt*kl(Nt);qn.y=Math.abs(Ya)<Math.abs(Nt)?Ya:Nt}}else if(le==="x"&&(sn.includes("left")||sn.includes("right")))if(sn.includes("left")&&io<0||sn.includes("right")&&io>0)qn.x=io;else{const Ya=io*kl(io);qn.x=Math.abs(Ya)<Math.abs(io)?Ya:io}(Math.abs(qn.x)>0||Math.abs(qn.y)>0)&&ne(!0),(Xt=qe.current)==null||Xt.style.setProperty("--swipe-amount-x",`${qn.x}px`),(Wt=qe.current)==null||Wt.style.setProperty("--swipe-amount-y",`${qn.y}px`)}},xe&&!p.jsx&&Re!=="loading"?X.createElement("button",{"aria-label":te,"data-disabled":Wa,"data-close-button":!0,onClick:Wa||!$e?()=>{}:()=>{Ze(),p.onDismiss==null||p.onDismiss.call(p,p)},className:wr(V?.closeButton,p==null||(n=p.classNames)==null?void 0:n.closeButton)},(Lt=Z?.close)!=null?Lt:TG):null,(Re||p.icon||p.promise)&&p.icon!==null&&(Z?.[Re]!==null||p.icon)?X.createElement("div",{"data-icon":"",className:wr(V?.icon,p==null||(a=p.classNames)==null?void 0:a.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||ht():null,p.type!=="loading"?At:null):null,X.createElement("div",{"data-content":"",className:wr(V?.content,p==null||(i=p.classNames)==null?void 0:i.content)},X.createElement("div",{"data-title":"",className:wr(V?.title,p==null||(l=p.classNames)==null?void 0:l.title)},p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title),p.description?X.createElement("div",{"data-description":"",className:wr(F,oe,V?.description,p==null||(c=p.classNames)==null?void 0:c.description)},typeof p.description=="function"?p.description():p.description):null),X.isValidElement(p.cancel)?p.cancel:p.cancel&&ph(p.cancel)?X.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||O,onClick:Ke=>{ph(p.cancel)&&$e&&(p.cancel.onClick==null||p.cancel.onClick.call(p.cancel,Ke),Ze())},className:wr(V?.cancelButton,p==null||(d=p.classNames)==null?void 0:d.cancelButton)},p.cancel.label):null,X.isValidElement(p.action)?p.action:p.action&&ph(p.action)?X.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||L,onClick:Ke=>{ph(p.action)&&(p.action.onClick==null||p.action.onClick.call(p.action,Ke),!Ke.defaultPrevented&&Ze())},className:wr(V?.actionButton,p==null||(m=p.classNames)==null?void 0:m.actionButton)},p.action.label):null)};function uA(){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 qG(e,t){const o={};return[e,t].forEach((n,a)=>{const i=a===1,l=i?"--mobile-offset":"--offset",c=i?NG:LG;function d(m){["top","right","bottom","left"].forEach(h=>{o[`${l}-${h}`]=typeof m=="number"?`${m}px`:m})}typeof n=="number"||typeof n=="string"?d(n):typeof n=="object"?["top","right","bottom","left"].forEach(m=>{n[m]===void 0?o[`${l}-${m}`]=c:o[`${l}-${m}`]=typeof n[m]=="number"?`${n[m]}px`:n[m]}):d(c)}),o}const VG=X.forwardRef(function(t,o){const{id:n,invert:a,position:i="bottom-right",hotkey:l=["altKey","KeyT"],expand:c,closeButton:d,className:m,offset:h,mobileOffset:p,theme:f="light",richColors:v,duration:b,style:S,visibleToasts:x=MG,toastOptions:_,dir:w=uA(),gap:P=BG,icons:T,containerAriaLabel:k="Notifications"}=t,[R,D]=X.useState([]),O=X.useMemo(()=>n?R.filter(q=>q.toasterId===n):R.filter(q=>!q.toasterId),[R,n]),L=X.useMemo(()=>Array.from(new Set([i].concat(O.filter(q=>q.position).map(q=>q.position)))),[O,i]),[U,F]=X.useState([]),[$,j]=X.useState(!1),[K,ae]=X.useState(!1),[V,Z]=X.useState(f!=="system"?f:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),te=X.useRef(null),le=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),Q=X.useRef(null),M=X.useRef(!1),H=X.useCallback(q=>{D(N=>{var z;return(z=N.find(J=>J.id===q.id))!=null&&z.delete||ea.dismiss(q.id),N.filter(({id:J})=>J!==q.id)})},[]);return X.useEffect(()=>ea.subscribe(q=>{if(q.dismiss){requestAnimationFrame(()=>{D(N=>N.map(z=>z.id===q.id?{...z,delete:!0}:z))});return}setTimeout(()=>{JI.flushSync(()=>{D(N=>{const z=N.findIndex(J=>J.id===q.id);return z!==-1?[...N.slice(0,z),{...N[z],...q},...N.slice(z+1)]:[q,...N]})})})}),[R]),X.useEffect(()=>{if(f!=="system"){Z(f);return}if(f==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?Z("dark"):Z("light")),typeof window>"u")return;const q=window.matchMedia("(prefers-color-scheme: dark)");try{q.addEventListener("change",({matches:N})=>{Z(N?"dark":"light")})}catch{q.addListener(({matches:z})=>{try{Z(z?"dark":"light")}catch(J){console.error(J)}})}},[f]),X.useEffect(()=>{R.length<=1&&j(!1)},[R]),X.useEffect(()=>{const q=N=>{var z;if(l.every(he=>N[he]||N.code===he)){var me;j(!0),(me=te.current)==null||me.focus()}N.code==="Escape"&&(document.activeElement===te.current||(z=te.current)!=null&&z.contains(document.activeElement))&&j(!1)};return document.addEventListener("keydown",q),()=>document.removeEventListener("keydown",q)},[l]),X.useEffect(()=>{if(te.current)return()=>{Q.current&&(Q.current.focus({preventScroll:!0}),Q.current=null,M.current=!1)}},[te.current]),X.createElement("section",{ref:o,"aria-label":`${k} ${le}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},L.map((q,N)=>{var z;const[J,me]=q.split("-");return O.length?X.createElement("ol",{key:q,dir:w==="auto"?uA():w,tabIndex:-1,ref:te,className:m,"data-sonner-toaster":!0,"data-sonner-theme":V,"data-y-position":J,"data-x-position":me,style:{"--front-toast-height":`${((z=U[0])==null?void 0:z.height)||0}px`,"--width":`${FG}px`,"--gap":`${P}px`,...S,...qG(h,p)},onBlur:he=>{M.current&&!he.currentTarget.contains(he.relatedTarget)&&(M.current=!1,Q.current&&(Q.current.focus({preventScroll:!0}),Q.current=null))},onFocus:he=>{he.target instanceof HTMLElement&&he.target.dataset.dismissible==="false"||M.current||(M.current=!0,Q.current=he.relatedTarget)},onMouseEnter:()=>j(!0),onMouseMove:()=>j(!0),onMouseLeave:()=>{K||j(!1)},onDragEnd:()=>j(!1),onPointerDown:he=>{he.target instanceof HTMLElement&&he.target.dataset.dismissible==="false"||ae(!0)},onPointerUp:()=>ae(!1)},O.filter(he=>!he.position&&N===0||he.position===q).map((he,Ce)=>{var je,Y;return X.createElement($G,{key:he.id,icons:T,index:Ce,toast:he,defaultRichColors:v,duration:(je=_?.duration)!=null?je:b,className:_?.className,descriptionClassName:_?.descriptionClassName,invert:a,visibleToasts:x,closeButton:(Y=_?.closeButton)!=null?Y:d,interacting:K,position:q,style:_?.style,unstyled:_?.unstyled,classNames:_?.classNames,cancelButtonStyle:_?.cancelButtonStyle,actionButtonStyle:_?.actionButtonStyle,closeButtonAriaLabel:_?.closeButtonAriaLabel,removeToast:H,toasts:O.filter(ne=>ne.position==he.position),heights:U.filter(ne=>ne.position==he.position),setHeights:F,expandByDefault:c,gap:P,expanded:$,swipeDirections:t.swipeDirections})})):null}))}),hr={publicConfig:()=>["publicConfig"],appVersionCheck:()=>["appVersionCheck"],session:()=>["session"],messages:e=>["messages",e],organizations:()=>["organizations"],members:e=>[e,"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],taskBoardActivity:(e,t)=>[e,"task-board-activity",t],taskBoardComments:(e,t)=>[e,"task-board-comments",t],homeGithubRecentPrs:(e,t)=>["home-github-recent-prs",e,t],homeGithubContributions:(e,t)=>["home-github-contributions",e,t],report:(e,t,o)=>["report",e,t??"",o??""],reportAll:e=>["report",e],commerceDiscoveryConnection:(e,t)=>["commerce-discovery","connection",e,t],commerceDiscoveryDiagnostic:(e,t)=>["commerce-discovery","diagnostic",e,t],commerceDiscoveryVirtualMcp:(e,t)=>["commerce-discovery","virtual-mcp",e,t],commerceDiscoveryCompanionSchema:(e,t)=>["commerce-discovery","companion-schema",e,t],commerceDiscoveryCompanionConnections:(e,t)=>["commerce-discovery","companion-connections",e,t],commerceDiscoveryCompanionConnectionsPrefix:e=>["commerce-discovery","companion-connections",e],commerceDiscoveryCompanionRegistry:(e,t)=>["commerce-discovery","companion-registry",e,t],commerceDiscoveryCompanionOAuthStatus:(e,t)=>["commerce-discovery","companion-oauth-status",e,t],commerceDiscoveryCompanionGaProperties:(e,t)=>["commerce-discovery","companion-ga-properties",e,t],commerceDiscoveryCompanionGscSites:(e,t)=>["commerce-discovery","companion-gsc-sites",e,t],commerceDiscoveryCompanionGithubRepos:(e,t,o)=>["commerce-discovery","companion-github-repos",e,t,o],commerceDiscoveryCompanionGithubSelected:(e,t)=>["commerce-discovery","companion-github-selected",e,t],commerceDiscoveryConnectionStatus:(e,t)=>["commerce-discovery","connection-status",e,t],connectionActivity:(e,t,o)=>["monitoring","activity",e,t,o],isMCPAuthenticated:(e,t)=>["is-mcp-authenticated",e,t],mcpTools:(e,t)=>["mcp","tools",e,t],mcpClient:(e,t,o,n)=>["mcp","client",e,t,o,n],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],mcpGetPrompt:(e,t,o)=>["mcp","client",e,"prompt",t,o],mcpToolCall:(e,t,o)=>["mcp","client",e,"tool-call",t,o],mcpClientPrefix:()=>["mcp","client"],virtualMcpLastUsed:(e,t)=>["virtual-mcp","last-used",e,t],githubBranches:(e,t,o,n,a)=>["github-branches",e,t,o,n,a],githubPrState:(e,t,o,n,a)=>["github-pr-state",e,t,o,n,a],githubLastPublishedPr:(e,t,o,n,a)=>["github-last-published-pr",e,t,o,n,a],githubBranchSearch:(e,t,o,n,a,i)=>["github-branch-search",e,t,o,n,a,i],organizationSettings:e=>["organization-settings",e],organizationTaskQuota:e=>["organization-task-quota",e],infraBillingSites:e=>["infra-billing-sites",e],infraBilling:(e,t,o)=>["infra-billing",e,t,o],userModelPreferences:e=>["user-model-preferences",e],apiKeysList:e=>["api-keys",e],activeOrganization:e=>["activeOrganization",e],orgAccessStatus:e=>["org-access-status",e],modelsList:e=>["models-list",e],homeNextActions:e=>["home-next-actions",e],boardLayout:e=>["board-layout",e],agentPrompts:(e,t)=>["agent-prompts",e,t],allowedModels:e=>[e,"allowed-models"],connectionCollections:e=>[e,"collections","discovery"],toolCall:(e,t,o)=>["tool-call",e,t,o],collectionItems:(e,t)=>["collection",e,t],collection:(e,t,o)=>[e,t,"collection",o],collectionItem:(e,t,o,n,a)=>[e,t,o,"collection",n,a],collectionList:(e,t,o,n,a)=>[e,t,o,"collection",n,"list",a],collectionListInfinite:(e,t,o,n,a)=>[e,t,o,"collection",n,"list-infinite",a],monitoringStats:()=>["monitoring","stats"],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],monitoringLogs:e=>["monitoring","logs",e],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)=>["global-search",e,t],threadsInfinite:(e,t)=>["threads","list-infinite",e,t],overviewThreads:e=>["threads","overview",e],threadMessages:(e,t)=>["threads","messages",e,t],threadModelLogs:(e,t)=>["threads","model-logs",e,t],threadSandbox:(e,t)=>["thread-sandbox","v2",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],virtualMcpAgents:e=>["virtual-mcp",e,"agents"],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],connectionPrompts:e=>["connection",e,"prompts"],connectionResources:e=>["connection",e,"resources"],user:e=>["user",e],storeReadmeUrl:e=>["store-readme-url",e],remoteMcpTools:e=>["remote-mcp-tools",e],tags:e=>[e,"tags"],memberTags:(e,t)=>[e,"member-tags",t],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],projects:e=>["projects",e],project:(e,t)=>["project",e,t],virtualMcp:(e,t)=>["virtual-mcp",e,t],projectPluginConfigs:e=>["project-plugin-configs",e],projectPluginConfig:(e,t)=>["project-plugin-config",e,t],projectConnections:e=>["project-connections",e],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],claudeSubscription:e=>["claude-subscription",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],orgFsUsage:(e,t)=>["org-fs",e,t,"usage"],orgFsStat:(e,t,o)=>["org-fs",e,t,"stat",o],orgFsPublicSets:e=>["org-fs-public-sets",e],orgRepoSyncs:e=>["org-repo-syncs",e],jiraIntegration:e=>["jira-integration",e],jiraBoards:e=>["jira-boards",e],jiraBoardColumns:(e,t)=>["jira-board-columns",e,t],orgFsRecent:e=>["org-fs-recent",e],orgFsSearchRoot:e=>["org-fs-search",e],orgFsSearch:(e,t,o,n)=>["org-fs-search",e,t,o,n],orgFsSkills:e=>["org-fs-skills",e],slashSkills:e=>["slash-skills",e],filePickerObjects:(e,t,o,n)=>["file-picker-objects",e,t,o??"",n??!1],filePickerObjectsByConfig:(e,t)=>["file-picker-objects",e,t],aiProviderCredits:(e,t)=>["ai-provider-credits",e,t],orgSsoConfig:e=>["org-sso-config",e],orgSsoStatus:e=>["org-sso-status",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"],defaultBrand:e=>["brand-context",e,"default"],decoProfile:e=>["deco-profile",e],decoSites:e=>["deco-sites",e],decoApps:()=>["deco-apps"],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],sandboxInvoke:(e,t)=>["sandbox-invoke",e,t],sandboxRepoDir:(e,t,o,n)=>["sandbox-repo-dir",e,t,o,n],sandboxSprite:e=>["sandbox-sprite",e],localAgentCapabilities:()=>["local-agent-capabilities"],githubUserOrgs:(e,t)=>["github-user-orgs",e,t],githubOrgRepos:(e,t,o,n)=>["github-org-repos",e,t,o,n],vmEnv:(e,t,o)=>["vm-env",e,t,o],desktopAuthStatus:()=>["desktop","auth-status"]};function Ipe(e,t){e.invalidateQueries({predicate:o=>{const n=o.queryKey;return(!t||n[1]===t)&&n[3]==="collection"&&n[4]==="VIRTUAL_MCP"}})}function Mpe(e,t){e.invalidateQueries({predicate:o=>{const n=o.queryKey;return(!t||n[1]===t)&&n[3]==="collection"&&n[4]==="CONNECTIONS"}})}const X2={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 HG(e){Object.assign(X2,e)}function $c(e,t){const o=X2[e];return typeof o=="function"?o(t??{}):typeof o=="string"&&t?o.replace(/\{(\w+)\}/g,(n,a)=>String(t[a]??"")):o??e}function GG(e,t,o){const n=[];if(e?.trim()){const a=e.trim(),i=o.map(l=>({field:[String(l)],operator:"contains",value:a}));i.length===1&&i[0]?n.push(i[0]):i.length>1&&n.push({operator:"or",conditions:i})}if(t&&t.length>0)for(const a of t)n.push({field:[a.column],operator:"eq",value:a.value});if(n.length!==0)return n.length===1?n[0]:{operator:"and",conditions:n}}function KG(e,t,o){const n=e??o,a=t??"desc";return[{field:[String(n)],direction:a}]}function Hd(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 WG(e,t,o,n){const a=t.toUpperCase(),i=`COLLECTION_${a}_GET`;return{queryKey:hr.collectionItem(n,e,"",a,o??""),queryFn:async()=>{if(!o)return{item:null};const l=await n.callTool({name:i,arguments:{id:o}});return Hd(l)},staleTime:6e4}}function Lpe(e,t,o,n){const a=Ne.c(5);let i;a[0]!==n||a[1]!==t||a[2]!==o||a[3]!==e?(i=WG(e,t,o,n),a[0]=n,a[1]=t,a[2]=o,a[3]=e,a[4]=i):i=a[4];const{data:l}=Sl(i);return l?.item??null}const YG={structuredContent:{items:[]},isError:!1};function Npe(e,t,o,n={}){const{searchTerm:a,filters:i,sortKey:l,sortDirection:c,searchFields:d=["title","description"],defaultSortKey:m="updated_at",pageSize:h=100,additionalToolArgs:p}=n,f=t.toUpperCase(),v=`COLLECTION_${f}_LIST`,b=GG(a,i,d),S=KG(l,c,m),x={...b&&{where:b},...S&&{orderBy:S},limit:h,offset:0,...p},_=JSON.stringify(x),w=hr.collectionList(o,e,"",f,_),{data:P}=Sl({queryKey:w,queryFn:async()=>o?await o.callTool({name:v,arguments:x}):YG,staleTime:3e4,retry:!1,select:T=>Hd(T??{})?.items??[]});return P}function Fpe(e,t,o){const n=Ne.c(34),a=Wf();let i;n[0]!==t?(i=t.toUpperCase(),n[0]=t,n[1]=i):i=n[1];const l=i,c=`COLLECTION_${l}_CREATE`,d=`COLLECTION_${l}_UPDATE`,m=`COLLECTION_${l}_DELETE`;let h;n[2]!==a||n[3]!==e||n[4]!==l?(h=()=>{a.invalidateQueries({predicate:L=>{const U=L.queryKey;return U[1]===e&&U[3]==="collection"&&U[4]===l}})},n[2]=a,n[3]=e,n[4]=l,n[5]=h):h=n[5];const p=h;let f;n[6]!==o||n[7]!==c?(f=async L=>{const U=await o.callTool({name:c,arguments:{data:L}});if(U.isError)throw new Error(Array.isArray(U.content)?U.content[0]?.text:String(U.content));return Hd(U).item},n[6]=o,n[7]=c,n[8]=f):f=n[8];let v;n[9]!==p?(v=()=>{p(),Si.success($c("itemCreatedSuccessfully"))},n[9]=p,n[10]=v):v=n[10];let b;n[11]!==f||n[12]!==v?(b={mutationFn:f,onSuccess:v,onError:JG},n[11]=f,n[12]=v,n[13]=b):b=n[13];const S=Vd(b);let x;n[14]!==o||n[15]!==d?(x=async L=>{const{id:U,data:F}=L,$=await o.callTool({name:d,arguments:{id:U,data:F}});return Hd($).item},n[14]=o,n[15]=d,n[16]=x):x=n[16];let _;n[17]!==p?(_=()=>{p(),Si.success($c("itemUpdatedSuccessfully"))},n[17]=p,n[18]=_):_=n[18];let w;n[19]!==x||n[20]!==_?(w={mutationFn:x,onSuccess:_,onError:QG},n[19]=x,n[20]=_,n[21]=w):w=n[21];const P=Vd(w);let T;n[22]!==o||n[23]!==m?(T=async L=>{const U=await o.callTool({name:m,arguments:{id:L}});return Hd(U).item.id},n[22]=o,n[23]=m,n[24]=T):T=n[24];let k;n[25]!==p?(k=()=>{p(),Si.success($c("itemDeletedSuccessfully"))},n[25]=p,n[26]=k):k=n[26];let R;n[27]!==T||n[28]!==k?(R={mutationFn:T,onSuccess:k,onError:ZG},n[27]=T,n[28]=k,n[29]=R):R=n[29];const D=Vd(R);let O;return n[30]!==S||n[31]!==D||n[32]!==P?(O={create:S,update:P,delete:D},n[30]=S,n[31]=D,n[32]=P,n[33]=O):O=n[33],O}function ZG(e){const t=e instanceof Error?e.message:String(e);Si.error($c("deleteItemFailed",{error:t}))}function QG(e){const t=e instanceof Error?e.message:String(e);Si.error($c("updateItemFailed",{error:t}))}function JG(e){const t=e instanceof Error?e.message:String(e);Si.error($c("createItemFailed",{error:t}))}new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");var hh={exports:{}},f0={},ii={},Ys={},v0={},b0={},y0={},dA;function nf(){return dA||(dA=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(w){if(super(),!e.IDENTIFIER.test(w))throw new Error("CodeGen: name must be a valid identifier");this.str=w}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=o;class n extends t{constructor(w){super(),this._items=typeof w=="string"?[w]:w}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const w=this._items[0];return w===""||w==='""'}get str(){var w;return(w=this._str)!==null&&w!==void 0?w:this._str=this._items.reduce((P,T)=>`${P}${T}`,"")}get names(){var w;return(w=this._names)!==null&&w!==void 0?w:this._names=this._items.reduce((P,T)=>(T instanceof o&&(P[T.str]=(P[T.str]||0)+1),P),{})}}e._Code=n,e.nil=new n("");function a(_,...w){const P=[_[0]];let T=0;for(;T<w.length;)c(P,w[T]),P.push(_[++T]);return new n(P)}e._=a;const i=new n("+");function l(_,...w){const P=[v(_[0])];let T=0;for(;T<w.length;)P.push(i),c(P,w[T]),P.push(i,v(_[++T]));return d(P),new n(P)}e.str=l;function c(_,w){w instanceof n?_.push(...w._items):w instanceof o?_.push(w):_.push(p(w))}e.addCodeArg=c;function d(_){let w=1;for(;w<_.length-1;){if(_[w]===i){const P=m(_[w-1],_[w+1]);if(P!==void 0){_.splice(w-1,3,P);continue}_[w++]="+"}w++}}function m(_,w){if(w==='""')return _;if(_==='""')return w;if(typeof _=="string")return w instanceof o||_[_.length-1]!=='"'?void 0:typeof w!="string"?`${_.slice(0,-1)}${w}"`:w[0]==='"'?_.slice(0,-1)+w.slice(1):void 0;if(typeof w=="string"&&w[0]==='"'&&!(_ instanceof o))return`"${_}${w.slice(1)}`}function h(_,w){return w.emptyStr()?_:_.emptyStr()?w:l`${_}${w}`}e.strConcat=h;function p(_){return typeof _=="number"||typeof _=="boolean"||_===null?_:v(Array.isArray(_)?_.join(","):_)}function f(_){return new n(v(_))}e.stringify=f;function v(_){return JSON.stringify(_).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=v;function b(_){return typeof _=="string"&&e.IDENTIFIER.test(_)?new n(`.${_}`):a`[${_}]`}e.getProperty=b;function S(_){if(typeof _=="string"&&e.IDENTIFIER.test(_))return new n(`${_}`);throw new Error(`CodeGen: invalid export name: ${_}, use explicit $id name mapping`)}e.getEsmExportName=S;function x(_){return new n(_.toString())}e.regexpCode=x})(y0)),y0}var S0={},mA;function pA(){return mA||(mA=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=nf();class o extends Error{constructor(m){super(`CodeGen: "code" for ${m} not defined`),this.value=m.value}}var n;(function(d){d[d.Started=0]="Started",d[d.Completed=1]="Completed"})(n||(e.UsedValueState=n={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class a{constructor({prefixes:m,parent:h}={}){this._names={},this._prefixes=m,this._parent=h}toName(m){return m instanceof t.Name?m:this.name(m)}name(m){return new t.Name(this._newName(m))}_newName(m){const h=this._names[m]||this._nameGroup(m);return`${m}${h.index++}`}_nameGroup(m){var h,p;if(!((p=(h=this._parent)===null||h===void 0?void 0:h._prefixes)===null||p===void 0)&&p.has(m)||this._prefixes&&!this._prefixes.has(m))throw new Error(`CodeGen: prefix "${m}" is not allowed in this scope`);return this._names[m]={prefix:m,index:0}}}e.Scope=a;class i extends t.Name{constructor(m,h){super(h),this.prefix=m}setValue(m,{property:h,itemIndex:p}){this.value=m,this.scopePath=(0,t._)`.${new t.Name(h)}[${p}]`}}e.ValueScopeName=i;const l=(0,t._)`\n`;class c extends a{constructor(m){super(m),this._values={},this._scope=m.scope,this.opts={...m,_n:m.lines?l:t.nil}}get(){return this._scope}name(m){return new i(m,this._newName(m))}value(m,h){var p;if(h.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const f=this.toName(m),{prefix:v}=f,b=(p=h.key)!==null&&p!==void 0?p:h.ref;let S=this._values[v];if(S){const w=S.get(b);if(w)return w}else S=this._values[v]=new Map;S.set(b,f);const x=this._scope[v]||(this._scope[v]=[]),_=x.length;return x[_]=h.ref,f.setValue(h,{property:v,itemIndex:_}),f}getValue(m,h){const p=this._values[m];if(p)return p.get(h)}scopeRefs(m,h=this._values){return this._reduceValues(h,p=>{if(p.scopePath===void 0)throw new Error(`CodeGen: name "${p}" has no value`);return(0,t._)`${m}${p.scopePath}`})}scopeCode(m=this._values,h,p){return this._reduceValues(m,f=>{if(f.value===void 0)throw new Error(`CodeGen: name "${f}" has no value`);return f.value.code},h,p)}_reduceValues(m,h,p={},f){let v=t.nil;for(const b in m){const S=m[b];if(!S)continue;const x=p[b]=p[b]||new Map;S.forEach(_=>{if(x.has(_))return;x.set(_,n.Started);let w=h(_);if(w){const P=this.opts.es5?e.varKinds.var:e.varKinds.const;v=(0,t._)`${v}${P} ${_} = ${w};${this.opts._n}`}else if(w=f?.(_))v=(0,t._)`${v}${w}${this.opts._n}`;else throw new o(_);x.set(_,n.Completed)})}return v}}e.ValueScope=c})(S0)),S0}var hA;function vt(){return hA||(hA=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=nf(),o=pA();var n=nf();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var a=pA();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return a.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return a.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return a.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return a.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(N,z){return this}}class l extends i{constructor(N,z,J){super(),this.varKind=N,this.name=z,this.rhs=J}render({es5:N,_n:z}){const J=N?o.varKinds.var:this.varKind,me=this.rhs===void 0?"":` = ${this.rhs}`;return`${J} ${this.name}${me};`+z}optimizeNames(N,z){if(N[this.name.str])return this.rhs&&(this.rhs=K(this.rhs,N,z)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class c extends i{constructor(N,z,J){super(),this.lhs=N,this.rhs=z,this.sideEffects=J}render({_n:N}){return`${this.lhs} = ${this.rhs};`+N}optimizeNames(N,z){if(!(this.lhs instanceof t.Name&&!N[this.lhs.str]&&!this.sideEffects))return this.rhs=K(this.rhs,N,z),this}get names(){const N=this.lhs instanceof t.Name?{}:{...this.lhs.names};return j(N,this.rhs)}}class d extends c{constructor(N,z,J,me){super(N,J,me),this.op=z}render({_n:N}){return`${this.lhs} ${this.op}= ${this.rhs};`+N}}class m extends i{constructor(N){super(),this.label=N,this.names={}}render({_n:N}){return`${this.label}:`+N}}class h extends i{constructor(N){super(),this.label=N,this.names={}}render({_n:N}){return`break${this.label?` ${this.label}`:""};`+N}}class p extends i{constructor(N){super(),this.error=N}render({_n:N}){return`throw ${this.error};`+N}get names(){return this.error.names}}class f extends i{constructor(N){super(),this.code=N}render({_n:N}){return`${this.code};`+N}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(N,z){return this.code=K(this.code,N,z),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class v extends i{constructor(N=[]){super(),this.nodes=N}render(N){return this.nodes.reduce((z,J)=>z+J.render(N),"")}optimizeNodes(){const{nodes:N}=this;let z=N.length;for(;z--;){const J=N[z].optimizeNodes();Array.isArray(J)?N.splice(z,1,...J):J?N[z]=J:N.splice(z,1)}return N.length>0?this:void 0}optimizeNames(N,z){const{nodes:J}=this;let me=J.length;for(;me--;){const he=J[me];he.optimizeNames(N,z)||(ae(N,he.names),J.splice(me,1))}return J.length>0?this:void 0}get names(){return this.nodes.reduce((N,z)=>$(N,z.names),{})}}class b extends v{render(N){return"{"+N._n+super.render(N)+"}"+N._n}}class S extends v{}class x extends b{}x.kind="else";class _ extends b{constructor(N,z){super(z),this.condition=N}render(N){let z=`if(${this.condition})`+super.render(N);return this.else&&(z+="else "+this.else.render(N)),z}optimizeNodes(){super.optimizeNodes();const N=this.condition;if(N===!0)return this.nodes;let z=this.else;if(z){const J=z.optimizeNodes();z=this.else=Array.isArray(J)?new x(J):J}if(z)return N===!1?z instanceof _?z:z.nodes:this.nodes.length?this:new _(V(N),z instanceof _?[z]:z.nodes);if(!(N===!1||!this.nodes.length))return this}optimizeNames(N,z){var J;if(this.else=(J=this.else)===null||J===void 0?void 0:J.optimizeNames(N,z),!!(super.optimizeNames(N,z)||this.else))return this.condition=K(this.condition,N,z),this}get names(){const N=super.names;return j(N,this.condition),this.else&&$(N,this.else.names),N}}_.kind="if";class w extends b{}w.kind="for";class P extends w{constructor(N){super(),this.iteration=N}render(N){return`for(${this.iteration})`+super.render(N)}optimizeNames(N,z){if(super.optimizeNames(N,z))return this.iteration=K(this.iteration,N,z),this}get names(){return $(super.names,this.iteration.names)}}class T extends w{constructor(N,z,J,me){super(),this.varKind=N,this.name=z,this.from=J,this.to=me}render(N){const z=N.es5?o.varKinds.var:this.varKind,{name:J,from:me,to:he}=this;return`for(${z} ${J}=${me}; ${J}<${he}; ${J}++)`+super.render(N)}get names(){const N=j(super.names,this.from);return j(N,this.to)}}class k extends w{constructor(N,z,J,me){super(),this.loop=N,this.varKind=z,this.name=J,this.iterable=me}render(N){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(N)}optimizeNames(N,z){if(super.optimizeNames(N,z))return this.iterable=K(this.iterable,N,z),this}get names(){return $(super.names,this.iterable.names)}}class R extends b{constructor(N,z,J){super(),this.name=N,this.args=z,this.async=J}render(N){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(N)}}R.kind="func";class D extends v{render(N){return"return "+super.render(N)}}D.kind="return";class O extends b{render(N){let z="try"+super.render(N);return this.catch&&(z+=this.catch.render(N)),this.finally&&(z+=this.finally.render(N)),z}optimizeNodes(){var N,z;return super.optimizeNodes(),(N=this.catch)===null||N===void 0||N.optimizeNodes(),(z=this.finally)===null||z===void 0||z.optimizeNodes(),this}optimizeNames(N,z){var J,me;return super.optimizeNames(N,z),(J=this.catch)===null||J===void 0||J.optimizeNames(N,z),(me=this.finally)===null||me===void 0||me.optimizeNames(N,z),this}get names(){const N=super.names;return this.catch&&$(N,this.catch.names),this.finally&&$(N,this.finally.names),N}}class L extends b{constructor(N){super(),this.error=N}render(N){return`catch(${this.error})`+super.render(N)}}L.kind="catch";class U extends b{render(N){return"finally"+super.render(N)}}U.kind="finally";class F{constructor(N,z={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...z,_n:z.lines?`
49
49
  `:""},this._extScope=N,this._scope=new o.Scope({parent:N}),this._nodes=[new S]}toString(){return this._root.render(this.opts)}name(N){return this._scope.name(N)}scopeName(N){return this._extScope.name(N)}scopeValue(N,z){const J=this._extScope.value(N,z);return(this._values[J.prefix]||(this._values[J.prefix]=new Set)).add(J),J}getScopeValue(N,z){return this._extScope.getValue(N,z)}scopeRefs(N){return this._extScope.scopeRefs(N,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(N,z,J,me){const he=this._scope.toName(z);return J!==void 0&&me&&(this._constants[he.str]=J),this._leafNode(new l(N,he,J)),he}const(N,z,J){return this._def(o.varKinds.const,N,z,J)}let(N,z,J){return this._def(o.varKinds.let,N,z,J)}var(N,z,J){return this._def(o.varKinds.var,N,z,J)}assign(N,z,J){return this._leafNode(new c(N,z,J))}add(N,z){return this._leafNode(new d(N,e.operators.ADD,z))}code(N){return typeof N=="function"?N():N!==t.nil&&this._leafNode(new f(N)),this}object(...N){const z=["{"];for(const[J,me]of N)z.length>1&&z.push(","),z.push(J),(J!==me||this.opts.es5)&&(z.push(":"),(0,t.addCodeArg)(z,me));return z.push("}"),new t._Code(z)}if(N,z,J){if(this._blockNode(new _(N)),z&&J)this.code(z).else().code(J).endIf();else if(z)this.code(z).endIf();else if(J)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(N){return this._elseNode(new _(N))}else(){return this._elseNode(new x)}endIf(){return this._endBlockNode(_,x)}_for(N,z){return this._blockNode(N),z&&this.code(z).endFor(),this}for(N,z){return this._for(new P(N),z)}forRange(N,z,J,me,he=this.opts.es5?o.varKinds.var:o.varKinds.let){const Ce=this._scope.toName(N);return this._for(new T(he,Ce,z,J),()=>me(Ce))}forOf(N,z,J,me=o.varKinds.const){const he=this._scope.toName(N);if(this.opts.es5){const Ce=z instanceof t.Name?z:this.var("_arr",z);return this.forRange("_i",0,(0,t._)`${Ce}.length`,je=>{this.var(he,(0,t._)`${Ce}[${je}]`),J(he)})}return this._for(new k("of",me,he,z),()=>J(he))}forIn(N,z,J,me=this.opts.es5?o.varKinds.var:o.varKinds.const){if(this.opts.ownProperties)return this.forOf(N,(0,t._)`Object.keys(${z})`,J);const he=this._scope.toName(N);return this._for(new k("in",me,he,z),()=>J(he))}endFor(){return this._endBlockNode(w)}label(N){return this._leafNode(new m(N))}break(N){return this._leafNode(new h(N))}return(N){const z=new D;if(this._blockNode(z),this.code(N),z.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(D)}try(N,z,J){if(!z&&!J)throw new Error('CodeGen: "try" without "catch" and "finally"');const me=new O;if(this._blockNode(me),this.code(N),z){const he=this.name("e");this._currNode=me.catch=new L(he),z(he)}return J&&(this._currNode=me.finally=new U,this.code(J)),this._endBlockNode(L,U)}throw(N){return this._leafNode(new p(N))}block(N,z){return this._blockStarts.push(this._nodes.length),N&&this.code(N).endBlock(z),this}endBlock(N){const z=this._blockStarts.pop();if(z===void 0)throw new Error("CodeGen: not in self-balancing block");const J=this._nodes.length-z;if(J<0||N!==void 0&&J!==N)throw new Error(`CodeGen: wrong number of nodes: ${J} vs ${N} expected`);return this._nodes.length=z,this}func(N,z=t.nil,J,me){return this._blockNode(new R(N,z,J)),me&&this.code(me).endFunc(),this}endFunc(){return this._endBlockNode(R)}optimize(N=1){for(;N-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(N){return this._currNode.nodes.push(N),this}_blockNode(N){this._currNode.nodes.push(N),this._nodes.push(N)}_endBlockNode(N,z){const J=this._currNode;if(J instanceof N||z&&J instanceof z)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${z?`${N.kind}/${z.kind}`:N.kind}"`)}_elseNode(N){const z=this._currNode;if(!(z instanceof _))throw new Error('CodeGen: "else" without "if"');return this._currNode=z.else=N,this}get _root(){return this._nodes[0]}get _currNode(){const N=this._nodes;return N[N.length-1]}set _currNode(N){const z=this._nodes;z[z.length-1]=N}}e.CodeGen=F;function $(q,N){for(const z in N)q[z]=(q[z]||0)+(N[z]||0);return q}function j(q,N){return N instanceof t._CodeOrName?$(q,N.names):q}function K(q,N,z){if(q instanceof t.Name)return J(q);if(!me(q))return q;return new t._Code(q._items.reduce((he,Ce)=>(Ce instanceof t.Name&&(Ce=J(Ce)),Ce instanceof t._Code?he.push(...Ce._items):he.push(Ce),he),[]));function J(he){const Ce=z[he.str];return Ce===void 0||N[he.str]!==1?he:(delete N[he.str],Ce)}function me(he){return he instanceof t._Code&&he._items.some(Ce=>Ce instanceof t.Name&&N[Ce.str]===1&&z[Ce.str]!==void 0)}}function ae(q,N){for(const z in N)q[z]=(q[z]||0)-(N[z]||0)}function V(q){return typeof q=="boolean"||typeof q=="number"||q===null?!q:(0,t._)`!${H(q)}`}e.not=V;const Z=M(e.operators.AND);function te(...q){return q.reduce(Z)}e.and=te;const le=M(e.operators.OR);function Q(...q){return q.reduce(le)}e.or=Q;function M(q){return(N,z)=>N===t.nil?z:z===t.nil?N:(0,t._)`${H(N)} ${q} ${H(z)}`}function H(q){return q instanceof t.Name?q:(0,t._)`(${q})`}})(b0)),b0}var gt={},gA;function Mt(){if(gA)return gt;gA=1,Object.defineProperty(gt,"__esModule",{value:!0}),gt.checkStrictMode=gt.getErrorPath=gt.Type=gt.useFunc=gt.setEvaluated=gt.evaluatedPropsToName=gt.mergeEvaluated=gt.eachItem=gt.unescapeJsonPointer=gt.escapeJsonPointer=gt.escapeFragment=gt.unescapeFragment=gt.schemaRefOrVal=gt.schemaHasRulesButRef=gt.schemaHasRules=gt.checkUnknownRules=gt.alwaysValidSchema=gt.toHash=void 0;const e=vt(),t=nf();function o(k){const R={};for(const D of k)R[D]=!0;return R}gt.toHash=o;function n(k,R){return typeof R=="boolean"?R:Object.keys(R).length===0?!0:(a(k,R),!i(R,k.self.RULES.all))}gt.alwaysValidSchema=n;function a(k,R=k.schema){const{opts:D,self:O}=k;if(!D.strictSchema||typeof R=="boolean")return;const L=O.RULES.keywords;for(const U in R)L[U]||T(k,`unknown keyword: "${U}"`)}gt.checkUnknownRules=a;function i(k,R){if(typeof k=="boolean")return!k;for(const D in k)if(R[D])return!0;return!1}gt.schemaHasRules=i;function l(k,R){if(typeof k=="boolean")return!k;for(const D in k)if(D!=="$ref"&&R.all[D])return!0;return!1}gt.schemaHasRulesButRef=l;function c({topSchemaRef:k,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._)`${k}${R}${(0,e.getProperty)(O)}`}gt.schemaRefOrVal=c;function d(k){return p(decodeURIComponent(k))}gt.unescapeFragment=d;function m(k){return encodeURIComponent(h(k))}gt.escapeFragment=m;function h(k){return typeof k=="number"?`${k}`:k.replace(/~/g,"~0").replace(/\//g,"~1")}gt.escapeJsonPointer=h;function p(k){return k.replace(/~1/g,"/").replace(/~0/g,"~")}gt.unescapeJsonPointer=p;function f(k,R){if(Array.isArray(k))for(const D of k)R(D);else R(k)}gt.eachItem=f;function v({mergeNames:k,mergeToName:R,mergeValues:D,resultToName:O}){return(L,U,F,$)=>{const j=F===void 0?U:F instanceof e.Name?(U instanceof e.Name?k(L,U,F):R(L,U,F),F):U instanceof e.Name?(R(L,F,U),U):D(U,F);return $===e.Name&&!(j instanceof e.Name)?O(L,j):j}}gt.mergeEvaluated={props:v({mergeNames:(k,R,D)=>k.if((0,e._)`${D} !== true && ${R} !== undefined`,()=>{k.if((0,e._)`${R} === true`,()=>k.assign(D,!0),()=>k.assign(D,(0,e._)`${D} || {}`).code((0,e._)`Object.assign(${D}, ${R})`))}),mergeToName:(k,R,D)=>k.if((0,e._)`${D} !== true`,()=>{R===!0?k.assign(D,!0):(k.assign(D,(0,e._)`${D} || {}`),S(k,D,R))}),mergeValues:(k,R)=>k===!0?!0:{...k,...R},resultToName:b}),items:v({mergeNames:(k,R,D)=>k.if((0,e._)`${D} !== true && ${R} !== undefined`,()=>k.assign(D,(0,e._)`${R} === true ? true : ${D} > ${R} ? ${D} : ${R}`)),mergeToName:(k,R,D)=>k.if((0,e._)`${D} !== true`,()=>k.assign(D,R===!0?!0:(0,e._)`${D} > ${R} ? ${D} : ${R}`)),mergeValues:(k,R)=>k===!0?!0:Math.max(k,R),resultToName:(k,R)=>k.var("items",R)})};function b(k,R){if(R===!0)return k.var("props",!0);const D=k.var("props",(0,e._)`{}`);return R!==void 0&&S(k,D,R),D}gt.evaluatedPropsToName=b;function S(k,R,D){Object.keys(D).forEach(O=>k.assign((0,e._)`${R}${(0,e.getProperty)(O)}`,!0))}gt.setEvaluated=S;const x={};function _(k,R){return k.scopeValue("func",{ref:R,code:x[R.code]||(x[R.code]=new t._Code(R.code))})}gt.useFunc=_;var w;(function(k){k[k.Num=0]="Num",k[k.Str=1]="Str"})(w||(gt.Type=w={}));function P(k,R,D){if(k instanceof e.Name){const O=R===w.Num;return D?O?(0,e._)`"[" + ${k} + "]"`:(0,e._)`"['" + ${k} + "']"`:O?(0,e._)`"/" + ${k}`:(0,e._)`"/" + ${k}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return D?(0,e.getProperty)(k).toString():"/"+h(k)}gt.getErrorPath=P;function T(k,R,D=k.opts.strictSchema){if(D){if(R=`strict mode: ${R}`,D===!0)throw new Error(R);k.self.logger.warn(R)}}return gt.checkStrictMode=T,gt}var gh={},fA;function Ts(){if(fA)return gh;fA=1,Object.defineProperty(gh,"__esModule",{value:!0});const e=vt(),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 gh.default=t,gh}var vA;function rv(){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=vt(),o=Mt(),n=Ts();e.keywordError={message:({keyword:x})=>(0,t.str)`must pass "${x}" keyword validation`},e.keyword$DataError={message:({keyword:x,schemaType:_})=>_?(0,t.str)`"${x}" keyword must be ${_} ($data)`:(0,t.str)`"${x}" keyword is invalid ($data)`};function a(x,_=e.keywordError,w,P){const{it:T}=x,{gen:k,compositeRule:R,allErrors:D}=T,O=p(x,_,w);P??(R||D)?d(k,O):m(T,(0,t._)`[${O}]`)}e.reportError=a;function i(x,_=e.keywordError,w){const{it:P}=x,{gen:T,compositeRule:k,allErrors:R}=P,D=p(x,_,w);d(T,D),k||R||m(P,n.default.vErrors)}e.reportExtraError=i;function l(x,_){x.assign(n.default.errors,_),x.if((0,t._)`${n.default.vErrors} !== null`,()=>x.if(_,()=>x.assign((0,t._)`${n.default.vErrors}.length`,_),()=>x.assign(n.default.vErrors,null)))}e.resetErrorsCount=l;function c({gen:x,keyword:_,schemaValue:w,data:P,errsCount:T,it:k}){if(T===void 0)throw new Error("ajv implementation error");const R=x.name("err");x.forRange("i",T,n.default.errors,D=>{x.const(R,(0,t._)`${n.default.vErrors}[${D}]`),x.if((0,t._)`${R}.instancePath === undefined`,()=>x.assign((0,t._)`${R}.instancePath`,(0,t.strConcat)(n.default.instancePath,k.errorPath))),x.assign((0,t._)`${R}.schemaPath`,(0,t.str)`${k.errSchemaPath}/${_}`),k.opts.verbose&&(x.assign((0,t._)`${R}.schema`,w),x.assign((0,t._)`${R}.data`,P))})}e.extendErrors=c;function d(x,_){const w=x.const("err",_);x.if((0,t._)`${n.default.vErrors} === null`,()=>x.assign(n.default.vErrors,(0,t._)`[${w}]`),(0,t._)`${n.default.vErrors}.push(${w})`),x.code((0,t._)`${n.default.errors}++`)}function m(x,_){const{gen:w,validateName:P,schemaEnv:T}=x;T.$async?w.throw((0,t._)`new ${x.ValidationError}(${_})`):(w.assign((0,t._)`${P}.errors`,_),w.return(!1))}const h={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 p(x,_,w){const{createErrors:P}=x.it;return P===!1?(0,t._)`{}`:f(x,_,w)}function f(x,_,w={}){const{gen:P,it:T}=x,k=[v(T,w),b(x,w)];return S(x,_,k),P.object(...k)}function v({errorPath:x},{instancePath:_}){const w=_?(0,t.str)`${x}${(0,o.getErrorPath)(_,o.Type.Str)}`:x;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,w)]}function b({keyword:x,it:{errSchemaPath:_}},{schemaPath:w,parentSchema:P}){let T=P?_:(0,t.str)`${_}/${x}`;return w&&(T=(0,t.str)`${T}${(0,o.getErrorPath)(w,o.Type.Str)}`),[h.schemaPath,T]}function S(x,{params:_,message:w},P){const{keyword:T,data:k,schemaValue:R,it:D}=x,{opts:O,propertyName:L,topSchemaRef:U,schemaPath:F}=D;P.push([h.keyword,T],[h.params,typeof _=="function"?_(x):_||(0,t._)`{}`]),O.messages&&P.push([h.message,typeof w=="function"?w(x):w]),O.verbose&&P.push([h.schema,R],[h.parentSchema,(0,t._)`${U}${F}`],[n.default.data,k]),L&&P.push([h.propertyName,L])}})(v0)),v0}var bA;function XG(){if(bA)return Ys;bA=1,Object.defineProperty(Ys,"__esModule",{value:!0}),Ys.boolOrEmptySchema=Ys.topBoolOrEmptySchema=void 0;const e=rv(),t=vt(),o=Ts(),n={message:"boolean schema is false"};function a(c){const{gen:d,schema:m,validateName:h}=c;m===!1?l(c,!1):typeof m=="object"&&m.$async===!0?d.return(o.default.data):(d.assign((0,t._)`${h}.errors`,null),d.return(!0))}Ys.topBoolOrEmptySchema=a;function i(c,d){const{gen:m,schema:h}=c;h===!1?(m.var(d,!1),l(c)):m.var(d,!0)}Ys.boolOrEmptySchema=i;function l(c,d){const{gen:m,data:h}=c,p={gen:m,keyword:"false schema",data:h,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:c};(0,e.reportError)(p,n,void 0,d)}return Ys}var pn={},Zs={},yA;function eL(){if(yA)return Zs;yA=1,Object.defineProperty(Zs,"__esModule",{value:!0}),Zs.getRules=Zs.isJSONType=void 0;const e=["string","number","integer","boolean","null","object","array"],t=new Set(e);function o(a){return typeof a=="string"&&t.has(a)}Zs.isJSONType=o;function n(){const a={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...a,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},a.number,a.string,a.array,a.object],post:{rules:[]},all:{},keywords:{}}}return Zs.getRules=n,Zs}var si={},SA;function tL(){if(SA)return si;SA=1,Object.defineProperty(si,"__esModule",{value:!0}),si.shouldUseRule=si.shouldUseGroup=si.schemaHasRulesForType=void 0;function e({schema:n,self:a},i){const l=a.RULES.types[i];return l&&l!==!0&&t(n,l)}si.schemaHasRulesForType=e;function t(n,a){return a.rules.some(i=>o(n,i))}si.shouldUseGroup=t;function o(n,a){var i;return n[a.keyword]!==void 0||((i=a.definition.implements)===null||i===void 0?void 0:i.some(l=>n[l]!==void 0))}return si.shouldUseRule=o,si}var _A;function af(){if(_A)return pn;_A=1,Object.defineProperty(pn,"__esModule",{value:!0}),pn.reportTypeError=pn.checkDataTypes=pn.checkDataType=pn.coerceAndCheckDataType=pn.getJSONTypes=pn.getSchemaTypes=pn.DataType=void 0;const e=eL(),t=tL(),o=rv(),n=vt(),a=Mt();var i;(function(w){w[w.Correct=0]="Correct",w[w.Wrong=1]="Wrong"})(i||(pn.DataType=i={}));function l(w){const P=c(w.type);if(P.includes("null")){if(w.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!P.length&&w.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');w.nullable===!0&&P.push("null")}return P}pn.getSchemaTypes=l;function c(w){const P=Array.isArray(w)?w:w?[w]:[];if(P.every(e.isJSONType))return P;throw new Error("type must be JSONType or JSONType[]: "+P.join(","))}pn.getJSONTypes=c;function d(w,P){const{gen:T,data:k,opts:R}=w,D=h(P,R.coerceTypes),O=P.length>0&&!(D.length===0&&P.length===1&&(0,t.schemaHasRulesForType)(w,P[0]));if(O){const L=b(P,k,R.strictNumbers,i.Wrong);T.if(L,()=>{D.length?p(w,P,D):x(w)})}return O}pn.coerceAndCheckDataType=d;const m=new Set(["string","number","integer","boolean","null"]);function h(w,P){return P?w.filter(T=>m.has(T)||P==="array"&&T==="array"):[]}function p(w,P,T){const{gen:k,data:R,opts:D}=w,O=k.let("dataType",(0,n._)`typeof ${R}`),L=k.let("coerced",(0,n._)`undefined`);D.coerceTypes==="array"&&k.if((0,n._)`${O} == 'object' && Array.isArray(${R}) && ${R}.length == 1`,()=>k.assign(R,(0,n._)`${R}[0]`).assign(O,(0,n._)`typeof ${R}`).if(b(P,R,D.strictNumbers),()=>k.assign(L,R))),k.if((0,n._)`${L} !== undefined`);for(const F of T)(m.has(F)||F==="array"&&D.coerceTypes==="array")&&U(F);k.else(),x(w),k.endIf(),k.if((0,n._)`${L} !== undefined`,()=>{k.assign(R,L),f(w,L)});function U(F){switch(F){case"string":k.elseIf((0,n._)`${O} == "number" || ${O} == "boolean"`).assign(L,(0,n._)`"" + ${R}`).elseIf((0,n._)`${R} === null`).assign(L,(0,n._)`""`);return;case"number":k.elseIf((0,n._)`${O} == "boolean" || ${R} === null
50
50
  || (${O} == "string" && ${R} && ${R} == +${R})`).assign(L,(0,n._)`+${R}`);return;case"integer":k.elseIf((0,n._)`${O} === "boolean" || ${R} === null
51
51
  || (${O} === "string" && ${R} && ${R} == +${R} && !(${R} % 1))`).assign(L,(0,n._)`+${R}`);return;case"boolean":k.elseIf((0,n._)`${R} === "false" || ${R} === 0 || ${R} === null`).assign(L,!1).elseIf((0,n._)`${R} === "true" || ${R} === 1`).assign(L,!0);return;case"null":k.elseIf((0,n._)`${R} === "" || ${R} === 0 || ${R} === false`),k.assign(L,null);return;case"array":k.elseIf((0,n._)`${O} === "string" || ${O} === "number"
@@ -97,7 +97,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
97
97
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
98
98
 
99
99
  For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return A.useEffect(()=>{e&&(document.getElementById(e)||console.error(o))},[o,e]),null},gJ="DialogDescriptionWarning",fJ=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${xN(gJ).contentName}}.`;return A.useEffect(()=>{const a=e.current?.getAttribute("aria-describedby");t&&a&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},EN=uN,vJ=mN,TN=hN,kN=gN,PN=fN,AN=bN,RN=SN,DN=wN;function bJ(e){const t=Ne.c(4);let o;t[0]!==e?({...o}=e,t[0]=e,t[1]=o):o=t[1];let n;return t[2]!==o?(n=C.jsx(EN,{"data-slot":"sheet",...o}),t[2]=o,t[3]=n):n=t[3],n}function yJ(e){const t=Ne.c(4);let o;t[0]!==e?({...o}=e,t[0]=e,t[1]=o):o=t[1];let n;return t[2]!==o?(n=C.jsx(TN,{"data-slot":"sheet-portal",...o}),t[2]=o,t[3]=n):n=t[3],n}function SJ(e){const t=Ne.c(8);let o,n;t[0]!==e?({className:o,...n}=e,t[0]=e,t[1]=o,t[2]=n):(o=t[1],n=t[2]);let a;t[3]!==o?(a=Et("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",o),t[3]=o,t[4]=a):a=t[4];let i;return t[5]!==n||t[6]!==a?(i=C.jsx(kN,{"data-slot":"sheet-overlay",className:a,...n}),t[5]=n,t[6]=a,t[7]=i):i=t[7],i}function _J(e){const t=Ne.c(20);let o,n,a,i,l;t[0]!==e?({className:n,children:o,side:i,hideCloseButton:l,...a}=e,t[0]=e,t[1]=o,t[2]=n,t[3]=a,t[4]=i,t[5]=l):(o=t[1],n=t[2],a=t[3],i=t[4],l=t[5]);const c=i===void 0?"right":i,d=l===void 0?!1:l;let m;t[6]===Symbol.for("react.memo_cache_sentinel")?(m=C.jsx(SJ,{}),t[6]=m):m=t[6];const h=c==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",p=c==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",f=c==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",v=c==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t";let b;t[7]!==n||t[8]!==h||t[9]!==p||t[10]!==f||t[11]!==v?(b=Et("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-200 data-[state=open]:duration-200",h,p,f,v,n),t[7]=n,t[8]=h,t[9]=p,t[10]=f,t[11]=v,t[12]=b):b=t[12];let S;t[13]!==d?(S=!d&&C.jsxs(DN,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[C.jsx(PL,{className:"size-4"}),C.jsx("span",{className:"sr-only",children:"Close"})]}),t[13]=d,t[14]=S):S=t[14];let x;return t[15]!==o||t[16]!==a||t[17]!==b||t[18]!==S?(x=C.jsxs(yJ,{children:[m,C.jsxs(PN,{"data-slot":"sheet-content",className:b,...a,children:[o,S]})]}),t[15]=o,t[16]=a,t[17]=b,t[18]=S,t[19]=x):x=t[19],x}function wJ(e){const t=Ne.c(8);let o,n;t[0]!==e?({className:o,...n}=e,t[0]=e,t[1]=o,t[2]=n):(o=t[1],n=t[2]);let a;t[3]!==o?(a=Et("flex flex-col gap-1.5 p-4",o),t[3]=o,t[4]=a):a=t[4];let i;return t[5]!==n||t[6]!==a?(i=C.jsx("div",{"data-slot":"sheet-header",className:a,...n}),t[5]=n,t[6]=a,t[7]=i):i=t[7],i}function CJ(e){const t=Ne.c(8);let o,n;t[0]!==e?({className:o,...n}=e,t[0]=e,t[1]=o,t[2]=n):(o=t[1],n=t[2]);let a;t[3]!==o?(a=Et("text-foreground font-semibold",o),t[3]=o,t[4]=a):a=t[4];let i;return t[5]!==n||t[6]!==a?(i=C.jsx(AN,{"data-slot":"sheet-title",className:a,...n}),t[5]=n,t[6]=a,t[7]=i):i=t[7],i}function xJ(e){const t=Ne.c(8);let o,n;t[0]!==e?({className:o,...n}=e,t[0]=e,t[1]=o,t[2]=n):(o=t[1],n=t[2]);let a;t[3]!==o?(a=Et("text-muted-foreground text-sm",o),t[3]=o,t[4]=a):a=t[4];let i;return t[5]!==n||t[6]!==a?(i=C.jsx(RN,{"data-slot":"sheet-description",className:a,...n}),t[5]=n,t[6]=a,t[7]=i):i=t[7],i}const ON=["top","right","bottom","left"],rD=["start","end"],iD=ON.reduce((e,t)=>e.concat(t,t+"-"+rD[0],t+"-"+rD[1]),[]),ur=Math.min,Pn=Math.max,cf=Math.round,ug=Math.floor,Mr=e=>({x:e,y:e}),EJ={left:"right",right:"left",bottom:"top",top:"bottom"};function N_(e,t,o){return Pn(e,ur(t,o))}function dr(e,t){return typeof e=="function"?e(t):e}function wa(e){return e.split("-")[0]}function sr(e){return e.split("-")[1]}function GC(e){return e==="x"?"y":"x"}function KC(e){return e==="y"?"height":"width"}function ir(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function WC(e){return GC(ir(e))}function IN(e,t,o){o===void 0&&(o=!1);const n=sr(e),a=WC(e),i=KC(a);let l=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=df(l)),[l,df(l)]}function TJ(e){const t=df(e);return[uf(e),t,uf(t)]}function uf(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const sD=["left","right"],lD=["right","left"],kJ=["top","bottom"],PJ=["bottom","top"];function AJ(e,t,o){switch(e){case"top":case"bottom":return o?t?lD:sD:t?sD:lD;case"left":case"right":return t?kJ:PJ;default:return[]}}function RJ(e,t,o,n){const a=sr(e);let i=AJ(wa(e),o==="start",n);return a&&(i=i.map(l=>l+"-"+a),t&&(i=i.concat(i.map(uf)))),i}function df(e){const t=wa(e);return EJ[t]+e.slice(t.length)}function DJ(e){return{top:0,right:0,bottom:0,left:0,...e}}function YC(e){return typeof e!="number"?DJ(e):{top:e,right:e,bottom:e,left:e}}function ou(e){const{x:t,y:o,width:n,height:a}=e;return{width:n,height:a,top:o,left:t,right:t+n,bottom:o+a,x:t,y:o}}function cD(e,t,o){let{reference:n,floating:a}=e;const i=ir(t),l=WC(t),c=KC(l),d=wa(t),m=i==="y",h=n.x+n.width/2-a.width/2,p=n.y+n.height/2-a.height/2,f=n[c]/2-a[c]/2;let v;switch(d){case"top":v={x:h,y:n.y-a.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:p};break;case"left":v={x:n.x-a.width,y:p};break;default:v={x:n.x,y:n.y}}switch(sr(t)){case"start":v[l]-=f*(o&&m?-1:1);break;case"end":v[l]+=f*(o&&m?-1:1);break}return v}async function OJ(e,t){var o;t===void 0&&(t={});const{x:n,y:a,platform:i,rects:l,elements:c,strategy:d}=e,{boundary:m="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:f=!1,padding:v=0}=dr(t,e),b=YC(v),x=c[f?p==="floating"?"reference":"floating":p],_=ou(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(x)))==null||o?x:x.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:m,rootBoundary:h,strategy:d})),w=p==="floating"?{x:n,y:a,width:l.floating.width,height:l.floating.height}:l.reference,P=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),T=await(i.isElement==null?void 0:i.isElement(P))?await(i.getScale==null?void 0:i.getScale(P))||{x:1,y:1}:{x:1,y:1},k=ou(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:w,offsetParent:P,strategy:d}):w);return{top:(_.top-k.top+b.top)/T.y,bottom:(k.bottom-_.bottom+b.bottom)/T.y,left:(_.left-k.left+b.left)/T.x,right:(k.right-_.right+b.right)/T.x}}const IJ=50,MJ=async(e,t,o)=>{const{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:l}=o,c=l.detectOverflow?l:{...l,detectOverflow:OJ},d=await(l.isRTL==null?void 0:l.isRTL(t));let m=await l.getElementRects({reference:e,floating:t,strategy:a}),{x:h,y:p}=cD(m,n,d),f=n,v=0;const b={};for(let S=0;S<i.length;S++){const x=i[S];if(!x)continue;const{name:_,fn:w}=x,{x:P,y:T,data:k,reset:R}=await w({x:h,y:p,initialPlacement:n,placement:f,strategy:a,middlewareData:b,rects:m,platform:c,elements:{reference:e,floating:t}});h=P??h,p=T??p,b[_]={...b[_],...k},R&&v<IJ&&(v++,typeof R=="object"&&(R.placement&&(f=R.placement),R.rects&&(m=R.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:a}):R.rects),{x:h,y:p}=cD(m,f,d)),S=-1)}return{x:h,y:p,placement:f,strategy:a,middlewareData:b}},LJ=e=>({name:"arrow",options:e,async fn(t){const{x:o,y:n,placement:a,rects:i,platform:l,elements:c,middlewareData:d}=t,{element:m,padding:h=0}=dr(e,t)||{};if(m==null)return{};const p=YC(h),f={x:o,y:n},v=WC(a),b=KC(v),S=await l.getDimensions(m),x=v==="y",_=x?"top":"left",w=x?"bottom":"right",P=x?"clientHeight":"clientWidth",T=i.reference[b]+i.reference[v]-f[v]-i.floating[b],k=f[v]-i.reference[v],R=await(l.getOffsetParent==null?void 0:l.getOffsetParent(m));let D=R?R[P]:0;(!D||!await(l.isElement==null?void 0:l.isElement(R)))&&(D=c.floating[P]||i.floating[b]);const O=T/2-k/2,L=D/2-S[b]/2-1,U=ur(p[_],L),F=ur(p[w],L),$=U,j=D-S[b]-F,K=D/2-S[b]/2+O,ae=N_($,K,j),V=!d.arrow&&sr(a)!=null&&K!==ae&&i.reference[b]/2-(K<$?U:F)-S[b]/2<0,Z=V?K<$?K-$:K-j:0;return{[v]:f[v]+Z,data:{[v]:ae,centerOffset:K-ae-Z,...V&&{alignmentOffset:Z}},reset:V}}});function NJ(e,t,o){return(e?[...o.filter(a=>sr(a)===e),...o.filter(a=>sr(a)!==e)]:o.filter(a=>wa(a)===a)).filter(a=>e?sr(a)===e||(t?uf(a)!==a:!1):!0)}const FJ=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,a;const{rects:i,middlewareData:l,placement:c,platform:d,elements:m}=t,{crossAxis:h=!1,alignment:p,allowedPlacements:f=iD,autoAlignment:v=!0,...b}=dr(e,t),S=p!==void 0||f===iD?NJ(p||null,v,f):f,x=await d.detectOverflow(t,b),_=((o=l.autoPlacement)==null?void 0:o.index)||0,w=S[_];if(w==null)return{};const P=IN(w,i,await(d.isRTL==null?void 0:d.isRTL(m.floating)));if(c!==w)return{reset:{placement:S[0]}};const T=[x[wa(w)],x[P[0]],x[P[1]]],k=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:w,overflows:T}],R=S[_+1];if(R)return{data:{index:_+1,overflows:k},reset:{placement:R}};const D=k.map(U=>{const F=sr(U.placement);return[U.placement,F&&h?U.overflows.slice(0,2).reduce(($,j)=>$+j,0):U.overflows[0],U.overflows]}).sort((U,F)=>U[1]-F[1]),L=((a=D.filter(U=>U[2].slice(0,sr(U[0])?2:3).every(F=>F<=0))[0])==null?void 0:a[0])||D[0][0];return L!==c?{data:{index:_+1,overflows:k},reset:{placement:L}}:{}}}},BJ=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,n;const{placement:a,middlewareData:i,rects:l,initialPlacement:c,platform:d,elements:m}=t,{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:S=!0,...x}=dr(e,t);if((o=i.arrow)!=null&&o.alignmentOffset)return{};const _=wa(a),w=ir(c),P=wa(c)===c,T=await(d.isRTL==null?void 0:d.isRTL(m.floating)),k=f||(P||!S?[df(c)]:TJ(c)),R=b!=="none";!f&&R&&k.push(...RJ(c,S,b,T));const D=[c,...k],O=await d.detectOverflow(t,x),L=[];let U=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&L.push(O[_]),p){const K=IN(a,l,T);L.push(O[K[0]],O[K[1]])}if(U=[...U,{placement:a,overflows:L}],!L.every(K=>K<=0)){var F,$;const K=(((F=i.flip)==null?void 0:F.index)||0)+1,ae=D[K];if(ae&&(!(p==="alignment"?w!==ir(ae):!1)||U.every(te=>ir(te.placement)===w?te.overflows[0]>0:!0)))return{data:{index:K,overflows:U},reset:{placement:ae}};let V=($=U.filter(Z=>Z.overflows[0]<=0).sort((Z,te)=>Z.overflows[1]-te.overflows[1])[0])==null?void 0:$.placement;if(!V)switch(v){case"bestFit":{var j;const Z=(j=U.filter(te=>{if(R){const le=ir(te.placement);return le===w||le==="y"}return!0}).map(te=>[te.placement,te.overflows.filter(le=>le>0).reduce((le,Q)=>le+Q,0)]).sort((te,le)=>te[1]-le[1])[0])==null?void 0:j[0];Z&&(V=Z);break}case"initialPlacement":V=c;break}if(a!==V)return{reset:{placement:V}}}return{}}}};function uD(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function dD(e){return ON.some(t=>e[t]>=0)}const jJ=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:o,platform:n}=t,{strategy:a="referenceHidden",...i}=dr(e,t);switch(a){case"referenceHidden":{const l=await n.detectOverflow(t,{...i,elementContext:"reference"}),c=uD(l,o.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:dD(c)}}}case"escaped":{const l=await n.detectOverflow(t,{...i,altBoundary:!0}),c=uD(l,o.floating);return{data:{escapedOffsets:c,escaped:dD(c)}}}default:return{}}}}};function MN(e){const t=ur(...e.map(i=>i.left)),o=ur(...e.map(i=>i.top)),n=Pn(...e.map(i=>i.right)),a=Pn(...e.map(i=>i.bottom));return{x:t,y:o,width:n-t,height:a-o}}function zJ(e){const t=e.slice().sort((a,i)=>a.y-i.y),o=[];let n=null;for(let a=0;a<t.length;a++){const i=t[a];!n||i.y-n.y>n.height/2?o.push([i]):o[o.length-1].push(i),n=i}return o.map(a=>ou(MN(a)))}const UJ=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){const{placement:o,elements:n,rects:a,platform:i,strategy:l}=t,{padding:c=2,x:d,y:m}=dr(e,t),h=Array.from(await(i.getClientRects==null?void 0:i.getClientRects(n.reference))||[]),p=zJ(h),f=ou(MN(h)),v=YC(c);function b(){if(p.length===2&&p[0].left>p[1].right&&d!=null&&m!=null)return p.find(x=>d>x.left-v.left&&d<x.right+v.right&&m>x.top-v.top&&m<x.bottom+v.bottom)||f;if(p.length>=2){if(ir(o)==="y"){const U=p[0],F=p[p.length-1],$=wa(o)==="top",j=U.top,K=F.bottom,ae=$?U.left:F.left,V=$?U.right:F.right,Z=V-ae,te=K-j;return{top:j,bottom:K,left:ae,right:V,width:Z,height:te,x:ae,y:j}}const x=wa(o)==="left",_=Pn(...p.map(U=>U.right)),w=ur(...p.map(U=>U.left)),P=p.filter(U=>x?U.left===w:U.right===_),T=P[0].top,k=P[P.length-1].bottom,R=w,D=_,O=D-R,L=k-T;return{top:T,bottom:k,left:R,right:D,width:O,height:L,x:R,y:T}}return f}const S=await i.getElementRects({reference:{getBoundingClientRect:b},floating:n.floating,strategy:l});return a.reference.x!==S.reference.x||a.reference.y!==S.reference.y||a.reference.width!==S.reference.width||a.reference.height!==S.reference.height?{reset:{rects:S}}:{}}}},LN=new Set(["left","top"]);async function $J(e,t){const{placement:o,platform:n,elements:a}=e,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),l=wa(o),c=sr(o),d=ir(o)==="y",m=LN.has(l)?-1:1,h=i&&d?-1:1,p=dr(t,e);let{mainAxis:f,crossAxis:v,alignmentAxis:b}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&typeof b=="number"&&(v=c==="end"?b*-1:b),d?{x:v*h,y:f*m}:{x:f*m,y:v*h}}const qJ=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;const{x:a,y:i,placement:l,middlewareData:c}=t,d=await $J(t,e);return l===((o=c.offset)==null?void 0:o.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:l}}}}},VJ=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:n,placement:a,platform:i}=t,{mainAxis:l=!0,crossAxis:c=!1,limiter:d={fn:_=>{let{x:w,y:P}=_;return{x:w,y:P}}},...m}=dr(e,t),h={x:o,y:n},p=await i.detectOverflow(t,m),f=ir(wa(a)),v=GC(f);let b=h[v],S=h[f];if(l){const _=v==="y"?"top":"left",w=v==="y"?"bottom":"right",P=b+p[_],T=b-p[w];b=N_(P,b,T)}if(c){const _=f==="y"?"top":"left",w=f==="y"?"bottom":"right",P=S+p[_],T=S-p[w];S=N_(P,S,T)}const x=d.fn({...t,[v]:b,[f]:S});return{...x,data:{x:x.x-o,y:x.y-n,enabled:{[v]:l,[f]:c}}}}}},HJ=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:o,y:n,placement:a,rects:i,middlewareData:l}=t,{offset:c=0,mainAxis:d=!0,crossAxis:m=!0}=dr(e,t),h={x:o,y:n},p=ir(a),f=GC(p);let v=h[f],b=h[p];const S=dr(c,t),x=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(d){const P=f==="y"?"height":"width",T=i.reference[f]-i.floating[P]+x.mainAxis,k=i.reference[f]+i.reference[P]-x.mainAxis;v<T?v=T:v>k&&(v=k)}if(m){var _,w;const P=f==="y"?"width":"height",T=LN.has(wa(a)),k=i.reference[p]-i.floating[P]+(T&&((_=l.offset)==null?void 0:_[p])||0)+(T?0:x.crossAxis),R=i.reference[p]+i.reference[P]+(T?0:((w=l.offset)==null?void 0:w[p])||0)-(T?x.crossAxis:0);b<k?b=k:b>R&&(b=R)}return{[f]:v,[p]:b}}}},GJ=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var o,n;const{placement:a,rects:i,platform:l,elements:c}=t,{apply:d=()=>{},...m}=dr(e,t),h=await l.detectOverflow(t,m),p=wa(a),f=sr(a),v=ir(a)==="y",{width:b,height:S}=i.floating;let x,_;p==="top"||p==="bottom"?(x=p,_=f===(await(l.isRTL==null?void 0:l.isRTL(c.floating))?"start":"end")?"left":"right"):(_=p,x=f==="end"?"top":"bottom");const w=S-h.top-h.bottom,P=b-h.left-h.right,T=ur(S-h[x],w),k=ur(b-h[_],P),R=!t.middlewareData.shift;let D=T,O=k;if((o=t.middlewareData.shift)!=null&&o.enabled.x&&(O=P),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(D=w),R&&!f){const U=Pn(h.left,0),F=Pn(h.right,0),$=Pn(h.top,0),j=Pn(h.bottom,0);v?O=b-2*(U!==0||F!==0?U+F:Pn(h.left,h.right)):D=S-2*($!==0||j!==0?$+j:Pn(h.top,h.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 gv(){return typeof window<"u"}function vu(e){return NN(e)?(e.nodeName||"").toLowerCase():"#document"}function Sa(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Nr(e){var t;return(t=(NN(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function NN(e){return gv()?e instanceof Node||e instanceof Sa(e).Node:!1}function mr(e){return gv()?e instanceof Element||e instanceof Sa(e).Element:!1}function Ci(e){return gv()?e instanceof HTMLElement||e instanceof Sa(e).HTMLElement:!1}function mD(e){return!gv()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Sa(e).ShadowRoot}function Mm(e){const{overflow:t,overflowX:o,overflowY:n,display:a}=pr(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&a!=="inline"&&a!=="contents"}function KJ(e){return/^(table|td|th)$/.test(vu(e))}function fv(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const WJ=/transform|translate|scale|rotate|perspective|filter/,YJ=/paint|layout|strict|content/,Xs=e=>!!e&&e!=="none";let V0;function ZC(e){const t=mr(e)?pr(e):e;return Xs(t.transform)||Xs(t.translate)||Xs(t.scale)||Xs(t.rotate)||Xs(t.perspective)||!QC()&&(Xs(t.backdropFilter)||Xs(t.filter))||WJ.test(t.willChange||"")||YJ.test(t.contain||"")}function ZJ(e){let t=_s(e);for(;Ci(t)&&!nu(t);){if(ZC(t))return t;if(fv(t))return null;t=_s(t)}return null}function QC(){return V0==null&&(V0=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),V0}function nu(e){return/^(html|body|#document)$/.test(vu(e))}function pr(e){return Sa(e).getComputedStyle(e)}function vv(e){return mr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function _s(e){if(vu(e)==="html")return e;const t=e.assignedSlot||e.parentNode||mD(e)&&e.host||Nr(e);return mD(t)?t.host:t}function FN(e){const t=_s(e);return nu(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ci(t)&&Mm(t)?t:FN(t)}function um(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);const a=FN(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),l=Sa(a);if(i){const c=F_(l);return t.concat(l,l.visualViewport||[],Mm(a)?a:[],c&&o?um(c):[])}else return t.concat(a,um(a,[],o))}function F_(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function BN(e){const t=pr(e);let o=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const a=Ci(e),i=a?e.offsetWidth:o,l=a?e.offsetHeight:n,c=cf(o)!==i||cf(n)!==l;return c&&(o=i,n=l),{width:o,height:n,$:c}}function JC(e){return mr(e)?e:e.contextElement}function Vc(e){const t=JC(e);if(!Ci(t))return Mr(1);const o=t.getBoundingClientRect(),{width:n,height:a,$:i}=BN(t);let l=(i?cf(o.width):o.width)/n,c=(i?cf(o.height):o.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}const QJ=Mr(0);function jN(e){const t=Sa(e);return!QC()||!t.visualViewport?QJ:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function JJ(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==Sa(e)?!1:t}function vl(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);const a=e.getBoundingClientRect(),i=JC(e);let l=Mr(1);t&&(n?mr(n)&&(l=Vc(n)):l=Vc(e));const c=JJ(i,o,n)?jN(i):Mr(0);let d=(a.left+c.x)/l.x,m=(a.top+c.y)/l.y,h=a.width/l.x,p=a.height/l.y;if(i){const f=Sa(i),v=n&&mr(n)?Sa(n):n;let b=f,S=F_(b);for(;S&&n&&v!==b;){const x=Vc(S),_=S.getBoundingClientRect(),w=pr(S),P=_.left+(S.clientLeft+parseFloat(w.paddingLeft))*x.x,T=_.top+(S.clientTop+parseFloat(w.paddingTop))*x.y;d*=x.x,m*=x.y,h*=x.x,p*=x.y,d+=P,m+=T,b=Sa(S),S=F_(b)}}return ou({width:h,height:p,x:d,y:m})}function bv(e,t){const o=vv(e).scrollLeft;return t?t.left+o:vl(Nr(e)).left+o}function zN(e,t){const o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-bv(e,o),a=o.top+t.scrollTop;return{x:n,y:a}}function XJ(e){let{elements:t,rect:o,offsetParent:n,strategy:a}=e;const i=a==="fixed",l=Nr(n),c=t?fv(t.floating):!1;if(n===l||c&&i)return o;let d={scrollLeft:0,scrollTop:0},m=Mr(1);const h=Mr(0),p=Ci(n);if((p||!p&&!i)&&((vu(n)!=="body"||Mm(l))&&(d=vv(n)),p)){const v=vl(n);m=Vc(n),h.x=v.x+n.clientLeft,h.y=v.y+n.clientTop}const f=l&&!p&&!i?zN(l,d):Mr(0);return{width:o.width*m.x,height:o.height*m.y,x:o.x*m.x-d.scrollLeft*m.x+h.x+f.x,y:o.y*m.y-d.scrollTop*m.y+h.y+f.y}}function eX(e){return Array.from(e.getClientRects())}function tX(e){const t=Nr(e),o=vv(e),n=e.ownerDocument.body,a=Pn(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=Pn(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let l=-o.scrollLeft+bv(e);const c=-o.scrollTop;return pr(n).direction==="rtl"&&(l+=Pn(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:l,y:c}}const pD=25;function oX(e,t){const o=Sa(e),n=Nr(e),a=o.visualViewport;let i=n.clientWidth,l=n.clientHeight,c=0,d=0;if(a){i=a.width,l=a.height;const h=QC();(!h||h&&t==="fixed")&&(c=a.offsetLeft,d=a.offsetTop)}const m=bv(n);if(m<=0){const h=n.ownerDocument,p=h.body,f=getComputedStyle(p),v=h.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,b=Math.abs(n.clientWidth-p.clientWidth-v);b<=pD&&(i-=b)}else m<=pD&&(i+=m);return{width:i,height:l,x:c,y:d}}function nX(e,t){const o=vl(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,i=Ci(e)?Vc(e):Mr(1),l=e.clientWidth*i.x,c=e.clientHeight*i.y,d=a*i.x,m=n*i.y;return{width:l,height:c,x:d,y:m}}function hD(e,t,o){let n;if(t==="viewport")n=oX(e,o);else if(t==="document")n=tX(Nr(e));else if(mr(t))n=nX(t,o);else{const a=jN(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return ou(n)}function UN(e,t){const o=_s(e);return o===t||!mr(o)||nu(o)?!1:pr(o).position==="fixed"||UN(o,t)}function aX(e,t){const o=t.get(e);if(o)return o;let n=um(e,[],!1).filter(c=>mr(c)&&vu(c)!=="body"),a=null;const i=pr(e).position==="fixed";let l=i?_s(e):e;for(;mr(l)&&!nu(l);){const c=pr(l),d=ZC(l);!d&&c.position==="fixed"&&(a=null),(i?!d&&!a:!d&&c.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||Mm(l)&&!d&&UN(e,l))?n=n.filter(h=>h!==l):a=c,l=_s(l)}return t.set(e,n),n}function rX(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e;const l=[...o==="clippingAncestors"?fv(t)?[]:aX(t,this._c):[].concat(o),n],c=hD(t,l[0],a);let d=c.top,m=c.right,h=c.bottom,p=c.left;for(let f=1;f<l.length;f++){const v=hD(t,l[f],a);d=Pn(v.top,d),m=ur(v.right,m),h=ur(v.bottom,h),p=Pn(v.left,p)}return{width:m-p,height:h-d,x:p,y:d}}function iX(e){const{width:t,height:o}=BN(e);return{width:t,height:o}}function sX(e,t,o){const n=Ci(t),a=Nr(t),i=o==="fixed",l=vl(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const d=Mr(0);function m(){d.x=bv(a)}if(n||!n&&!i)if((vu(t)!=="body"||Mm(a))&&(c=vv(t)),n){const v=vl(t,!0,i,t);d.x=v.x+t.clientLeft,d.y=v.y+t.clientTop}else a&&m();i&&!n&&a&&m();const h=a&&!n&&!i?zN(a,c):Mr(0),p=l.left+c.scrollLeft-d.x-h.x,f=l.top+c.scrollTop-d.y-h.y;return{x:p,y:f,width:l.width,height:l.height}}function H0(e){return pr(e).position==="static"}function gD(e,t){if(!Ci(e)||pr(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return Nr(e)===o&&(o=o.ownerDocument.body),o}function $N(e,t){const o=Sa(e);if(fv(e))return o;if(!Ci(e)){let a=_s(e);for(;a&&!nu(a);){if(mr(a)&&!H0(a))return a;a=_s(a)}return o}let n=gD(e,t);for(;n&&KJ(n)&&H0(n);)n=gD(n,t);return n&&nu(n)&&H0(n)&&!ZC(n)?o:n||ZJ(e)||o}const lX=async function(e){const t=this.getOffsetParent||$N,o=this.getDimensions,n=await o(e.floating);return{reference:sX(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function cX(e){return pr(e).direction==="rtl"}const uX={convertOffsetParentRelativeRectToViewportRelativeRect:XJ,getDocumentElement:Nr,getClippingRect:rX,getOffsetParent:$N,getElementRects:lX,getClientRects:eX,getDimensions:iX,getScale:Vc,isElement:mr,isRTL:cX};function qN(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function dX(e,t){let o=null,n;const a=Nr(e);function i(){var c;clearTimeout(n),(c=o)==null||c.disconnect(),o=null}function l(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),i();const m=e.getBoundingClientRect(),{left:h,top:p,width:f,height:v}=m;if(c||t(),!f||!v)return;const b=ug(p),S=ug(a.clientWidth-(h+f)),x=ug(a.clientHeight-(p+v)),_=ug(h),P={rootMargin:-b+"px "+-S+"px "+-x+"px "+-_+"px",threshold:Pn(0,ur(1,d))||1};let T=!0;function k(R){const D=R[0].intersectionRatio;if(D!==d){if(!T)return l();D?l(!1,D):n=setTimeout(()=>{l(!1,1e-7)},1e3)}D===1&&!qN(m,e.getBoundingClientRect())&&l(),T=!1}try{o=new IntersectionObserver(k,{...P,root:a.ownerDocument})}catch{o=new IntersectionObserver(k,P)}o.observe(e)}return l(!0),i}function mX(e,t,o,n){n===void 0&&(n={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:d=!1}=n,m=JC(e),h=a||i?[...m?um(m):[],...t?um(t):[]]:[];h.forEach(_=>{a&&_.addEventListener("scroll",o,{passive:!0}),i&&_.addEventListener("resize",o)});const p=m&&c?dX(m,o):null;let f=-1,v=null;l&&(v=new ResizeObserver(_=>{let[w]=_;w&&w.target===m&&v&&t&&(v.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var P;(P=v)==null||P.observe(t)})),o()}),m&&!d&&v.observe(m),t&&v.observe(t));let b,S=d?vl(e):null;d&&x();function x(){const _=vl(e);S&&!qN(S,_)&&o(),S=_,b=requestAnimationFrame(x)}return o(),()=>{var _;h.forEach(w=>{a&&w.removeEventListener("scroll",o),i&&w.removeEventListener("resize",o)}),p?.(),(_=v)==null||_.disconnect(),v=null,d&&cancelAnimationFrame(b)}}const pX=qJ,ohe=FJ,hX=VJ,gX=BJ,fX=GJ,vX=jJ,fD=LJ,nhe=UJ,bX=HJ,yX=(e,t,o)=>{const n=new Map,a={platform:uX,...o},i={...a.platform,_c:n};return MJ(e,t,{...a,platform:i})};var SX=typeof document<"u",_X=function(){},Mg=SX?A.useLayoutEffect:_X;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,n,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(o=e.length,o!==t.length)return!1;for(n=o;n--!==0;)if(!mf(e[n],t[n]))return!1;return!0}if(a=Object.keys(e),o=a.length,o!==Object.keys(t).length)return!1;for(n=o;n--!==0;)if(!{}.hasOwnProperty.call(t,a[n]))return!1;for(n=o;n--!==0;){const i=a[n];if(!(i==="_owner"&&e.$$typeof)&&!mf(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function VN(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function vD(e,t){const o=VN(e);return Math.round(t*o)/o}function G0(e){const t=A.useRef(e);return Mg(()=>{t.current=e}),t}function wX(e){e===void 0&&(e={});const{placement:t="bottom",strategy:o="absolute",middleware:n=[],platform:a,elements:{reference:i,floating:l}={},transform:c=!0,whileElementsMounted:d,open:m}=e,[h,p]=A.useState({x:0,y:0,strategy:o,placement:t,middlewareData:{},isPositioned:!1}),[f,v]=A.useState(n);mf(f,n)||v(n);const[b,S]=A.useState(null),[x,_]=A.useState(null),w=A.useCallback(te=>{te!==R.current&&(R.current=te,S(te))},[]),P=A.useCallback(te=>{te!==D.current&&(D.current=te,_(te))},[]),T=i||b,k=l||x,R=A.useRef(null),D=A.useRef(null),O=A.useRef(h),L=d!=null,U=G0(d),F=G0(a),$=G0(m),j=A.useCallback(()=>{if(!R.current||!D.current)return;const te={placement:t,strategy:o,middleware:f};F.current&&(te.platform=F.current),yX(R.current,D.current,te).then(le=>{const Q={...le,isPositioned:$.current!==!1};K.current&&!mf(O.current,Q)&&(O.current=Q,Kf.flushSync(()=>{p(Q)}))})},[f,t,o,F,$]);Mg(()=>{m===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,p(te=>({...te,isPositioned:!1})))},[m]);const K=A.useRef(!1);Mg(()=>(K.current=!0,()=>{K.current=!1}),[]),Mg(()=>{if(T&&(R.current=T),k&&(D.current=k),T&&k){if(U.current)return U.current(T,k,j);j()}},[T,k,j,U,L]);const ae=A.useMemo(()=>({reference:R,floating:D,setReference:w,setFloating:P}),[w,P]),V=A.useMemo(()=>({reference:T,floating:k}),[T,k]),Z=A.useMemo(()=>{const te={position:o,left:0,top:0};if(!V.floating)return te;const le=vD(V.floating,h.x),Q=vD(V.floating,h.y);return c?{...te,transform:"translate("+le+"px, "+Q+"px)",...VN(V.floating)>=1.5&&{willChange:"transform"}}:{position:o,left:le,top:Q}},[o,c,V.floating,h.x,h.y]);return A.useMemo(()=>({...h,update:j,refs:ae,elements:V,floatingStyles:Z}),[h,j,ae,V,Z])}const CX=e=>{function t(o){return{}.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){const{element:n,padding:a}=typeof e=="function"?e(o):e;return n&&t(n)?n.current!=null?fD({element:n.current,padding:a}).fn(o):{}:n?fD({element:n,padding:a}).fn(o):{}}}},xX=(e,t)=>{const o=pX(e);return{name:o.name,fn:o.fn,options:[e,t]}},EX=(e,t)=>{const o=hX(e);return{name:o.name,fn:o.fn,options:[e,t]}},TX=(e,t)=>({fn:bX(e).fn,options:[e,t]}),kX=(e,t)=>{const o=gX(e);return{name:o.name,fn:o.fn,options:[e,t]}},PX=(e,t)=>{const o=fX(e);return{name:o.name,fn:o.fn,options:[e,t]}},AX=(e,t)=>{const o=vX(e);return{name:o.name,fn:o.fn,options:[e,t]}},RX=(e,t)=>{const o=CX(e);return{name:o.name,fn:o.fn,options:[e,t]}};var DX="Arrow",HN=A.forwardRef((e,t)=>{const{children:o,width:n=10,height:a=5,...i}=e;return C.jsx(po.svg,{...i,ref:t,width:n,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?o:C.jsx("polygon",{points:"0,0 30,0 15,10"})})});HN.displayName=DX;var OX=HN;function GN(e){const[t,o]=A.useState(void 0);return lr(()=>{if(e){o({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const i=a[0];let l,c;if("borderBoxSize"in i){const d=i.borderBoxSize,m=Array.isArray(d)?d[0]:d;l=m.inlineSize,c=m.blockSize}else l=e.offsetWidth,c=e.offsetHeight;o({width:l,height:c})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else o(void 0)},[e]),t}var XC="Popper",[KN,yv]=Ps(XC),[IX,WN]=KN(XC),YN=e=>{const{__scopePopper:t,children:o}=e,[n,a]=A.useState(null);return C.jsx(IX,{scope:t,anchor:n,onAnchorChange:a,children:o})};YN.displayName=XC;var ZN="PopperAnchor",QN=A.forwardRef((e,t)=>{const{__scopePopper:o,virtualRef:n,...a}=e,i=WN(ZN,o),l=A.useRef(null),c=No(t,l),d=A.useRef(null);return A.useEffect(()=>{const m=d.current;d.current=n?.current||l.current,m!==d.current&&i.onAnchorChange(d.current)}),n?null:C.jsx(po.div,{...a,ref:c})});QN.displayName=ZN;var ex="PopperContent",[MX,LX]=KN(ex),JN=A.forwardRef((e,t)=>{const{__scopePopper:o,side:n="bottom",sideOffset:a=0,align:i="center",alignOffset:l=0,arrowPadding:c=0,avoidCollisions:d=!0,collisionBoundary:m=[],collisionPadding:h=0,sticky:p="partial",hideWhenDetached:f=!1,updatePositionStrategy:v="optimized",onPlaced:b,...S}=e,x=WN(ex,o),[_,w]=A.useState(null),P=No(t,me=>w(me)),[T,k]=A.useState(null),R=GN(T),D=R?.width??0,O=R?.height??0,L=n+(i!=="center"?"-"+i:""),U=typeof h=="number"?h:{top:0,right:0,bottom:0,left:0,...h},F=Array.isArray(m)?m:[m],$=F.length>0,j={padding:U,boundary:F.filter(FX),altBoundary:$},{refs:K,floatingStyles:ae,placement:V,isPositioned:Z,middlewareData:te}=wX({strategy:"fixed",placement:L,whileElementsMounted:(...me)=>mX(...me,{animationFrame:v==="always"}),elements:{reference:x.anchor},middleware:[xX({mainAxis:a+O,alignmentAxis:l}),d&&EX({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?TX():void 0,...j}),d&&kX({...j}),PX({...j,apply:({elements:me,rects:he,availableWidth:Ce,availableHeight:je})=>{const{width:Y,height:ne}=he.reference,ve=me.floating.style;ve.setProperty("--radix-popper-available-width",`${Ce}px`),ve.setProperty("--radix-popper-available-height",`${je}px`),ve.setProperty("--radix-popper-anchor-width",`${Y}px`),ve.setProperty("--radix-popper-anchor-height",`${ne}px`)}}),T&&RX({element:T,padding:c}),BX({arrowWidth:D,arrowHeight:O}),f&&AX({strategy:"referenceHidden",...j})]}),[le,Q]=tF(V),M=cr(b);lr(()=>{Z&&M?.()},[Z,M]);const H=te.arrow?.x,q=te.arrow?.y,N=te.arrow?.centerOffset!==0,[z,J]=A.useState();return lr(()=>{_&&J(window.getComputedStyle(_).zIndex)},[_]),C.jsx("div",{ref:K.setFloating,"data-radix-popper-content-wrapper":"",style:{...ae,transform:Z?ae.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:z,"--radix-popper-transform-origin":[te.transformOrigin?.x,te.transformOrigin?.y].join(" "),...te.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:C.jsx(MX,{scope:o,placedSide:le,onArrowChange:k,arrowX:H,arrowY:q,shouldHideArrow:N,children:C.jsx(po.div,{"data-side":le,"data-align":Q,...S,ref:P,style:{...S.style,animation:Z?void 0:"none"}})})})});JN.displayName=ex;var XN="PopperArrow",NX={top:"bottom",right:"left",bottom:"top",left:"right"},eF=A.forwardRef(function(t,o){const{__scopePopper:n,...a}=t,i=LX(XN,n),l=NX[i.placedSide];return C.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:C.jsx(OX,{...a,ref:o,style:{...a.style,display:"block"}})})});eF.displayName=XN;function FX(e){return e!==null}var BX=e=>({name:"transformOrigin",options:e,fn(t){const{placement:o,rects:n,middlewareData:a}=t,l=a.arrow?.centerOffset!==0,c=l?0:e.arrowWidth,d=l?0:e.arrowHeight,[m,h]=tF(o),p={start:"0%",center:"50%",end:"100%"}[h],f=(a.arrow?.x??0)+c/2,v=(a.arrow?.y??0)+d/2;let b="",S="";return m==="bottom"?(b=l?p:`${f}px`,S=`${-d}px`):m==="top"?(b=l?p:`${f}px`,S=`${n.floating.height+d}px`):m==="right"?(b=`${-d}px`,S=l?p:`${v}px`):m==="left"&&(b=`${n.floating.width+d}px`,S=l?p:`${v}px`),{data:{x:b,y:S}}}});function tF(e){const[t,o="center"]=e.split("-");return[t,o]}var tx=YN,oF=QN,nF=JN,aF=eF,jX=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),zX="VisuallyHidden",rF=A.forwardRef((e,t)=>C.jsx(po.span,{...e,ref:t,style:{...jX,...e.style}}));rF.displayName=zX;var UX=rF,[Sv]=Ps("Tooltip",[yv]),_v=yv(),iF="TooltipProvider",$X=700,B_="tooltip.open",[qX,ox]=Sv(iF),sF=e=>{const{__scopeTooltip:t,delayDuration:o=$X,skipDelayDuration:n=300,disableHoverableContent:a=!1,children:i}=e,l=A.useRef(!0),c=A.useRef(!1),d=A.useRef(0);return A.useEffect(()=>{const m=d.current;return()=>window.clearTimeout(m)},[]),C.jsx(qX,{scope:t,isOpenDelayedRef:l,delayDuration:o,onOpen:A.useCallback(()=>{window.clearTimeout(d.current),l.current=!1},[]),onClose:A.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>l.current=!0,n)},[n]),isPointerInTransitRef:c,onPointerInTransitChange:A.useCallback(m=>{c.current=m},[]),disableHoverableContent:a,children:i})};sF.displayName=iF;var dm="Tooltip",[VX,Lm]=Sv(dm),lF=e=>{const{__scopeTooltip:t,children:o,open:n,defaultOpen:a,onOpenChange:i,disableHoverableContent:l,delayDuration:c}=e,d=ox(dm,e.__scopeTooltip),m=_v(t),[h,p]=A.useState(null),f=_i(),v=A.useRef(0),b=l??d.disableHoverableContent,S=c??d.delayDuration,x=A.useRef(!1),[_,w]=fu({prop:n,defaultProp:a??!1,onChange:D=>{D?(d.onOpen(),document.dispatchEvent(new CustomEvent(B_))):d.onClose(),i?.(D)},caller:dm}),P=A.useMemo(()=>_?x.current?"delayed-open":"instant-open":"closed",[_]),T=A.useCallback(()=>{window.clearTimeout(v.current),v.current=0,x.current=!1,w(!0)},[w]),k=A.useCallback(()=>{window.clearTimeout(v.current),v.current=0,w(!1)},[w]),R=A.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>{x.current=!0,w(!0),v.current=0},S)},[S,w]);return A.useEffect(()=>()=>{v.current&&(window.clearTimeout(v.current),v.current=0)},[]),C.jsx(tx,{...m,children:C.jsx(VX,{scope:t,contentId:f,open:_,stateAttribute:P,trigger:h,onTriggerChange:p,onTriggerEnter:A.useCallback(()=>{d.isOpenDelayedRef.current?R():T()},[d.isOpenDelayedRef,R,T]),onTriggerLeave:A.useCallback(()=>{b?k():(window.clearTimeout(v.current),v.current=0)},[k,b]),onOpen:T,onClose:k,disableHoverableContent:b,children:o})})};lF.displayName=dm;var j_="TooltipTrigger",cF=A.forwardRef((e,t)=>{const{__scopeTooltip:o,...n}=e,a=Lm(j_,o),i=ox(j_,o),l=_v(o),c=A.useRef(null),d=No(t,c,a.onTriggerChange),m=A.useRef(!1),h=A.useRef(!1),p=A.useCallback(()=>m.current=!1,[]);return A.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),C.jsx(oF,{asChild:!0,...l,children:C.jsx(po.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...n,ref:d,onPointerMove:rt(e.onPointerMove,f=>{f.pointerType!=="touch"&&!h.current&&!i.isPointerInTransitRef.current&&(a.onTriggerEnter(),h.current=!0)}),onPointerLeave:rt(e.onPointerLeave,()=>{a.onTriggerLeave(),h.current=!1}),onPointerDown:rt(e.onPointerDown,()=>{a.open&&a.onClose(),m.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:rt(e.onFocus,()=>{m.current||a.onOpen()}),onBlur:rt(e.onBlur,a.onClose),onClick:rt(e.onClick,a.onClose)})})});cF.displayName=j_;var nx="TooltipPortal",[HX,GX]=Sv(nx,{forceMount:void 0}),uF=e=>{const{__scopeTooltip:t,forceMount:o,children:n,container:a}=e,i=Lm(nx,t);return C.jsx(HX,{scope:t,forceMount:o,children:C.jsx(fr,{present:o||i.open,children:C.jsx(mv,{asChild:!0,container:a,children:n})})})};uF.displayName=nx;var au="TooltipContent",dF=A.forwardRef((e,t)=>{const o=GX(au,e.__scopeTooltip),{forceMount:n=o.forceMount,side:a="top",...i}=e,l=Lm(au,e.__scopeTooltip);return C.jsx(fr,{present:n||l.open,children:l.disableHoverableContent?C.jsx(mF,{side:a,...i,ref:t}):C.jsx(KX,{side:a,...i,ref:t})})}),KX=A.forwardRef((e,t)=>{const o=Lm(au,e.__scopeTooltip),n=ox(au,e.__scopeTooltip),a=A.useRef(null),i=No(t,a),[l,c]=A.useState(null),{trigger:d,onClose:m}=o,h=a.current,{onPointerInTransitChange:p}=n,f=A.useCallback(()=>{c(null),p(!1)},[p]),v=A.useCallback((b,S)=>{const x=b.currentTarget,_={x:b.clientX,y:b.clientY},w=QX(_,x.getBoundingClientRect()),P=JX(_,w),T=XX(S.getBoundingClientRect()),k=tee([...P,...T]);c(k),p(!0)},[p]);return A.useEffect(()=>()=>f(),[f]),A.useEffect(()=>{if(d&&h){const b=x=>v(x,h),S=x=>v(x,d);return d.addEventListener("pointerleave",b),h.addEventListener("pointerleave",S),()=>{d.removeEventListener("pointerleave",b),h.removeEventListener("pointerleave",S)}}},[d,h,v,f]),A.useEffect(()=>{if(l){const b=S=>{const x=S.target,_={x:S.clientX,y:S.clientY},w=d?.contains(x)||h?.contains(x),P=!eee(_,l);w?f():P&&(f(),m())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[d,h,l,m,f]),C.jsx(mF,{...e,ref:i})}),[WX,YX]=Sv(dm,{isInside:!1}),ZX=XZ("TooltipContent"),mF=A.forwardRef((e,t)=>{const{__scopeTooltip:o,children:n,"aria-label":a,onEscapeKeyDown:i,onPointerDownOutside:l,...c}=e,d=Lm(au,o),m=_v(o),{onClose:h}=d;return A.useEffect(()=>(document.addEventListener(B_,h),()=>document.removeEventListener(B_,h)),[h]),A.useEffect(()=>{if(d.trigger){const p=f=>{f.target?.contains(d.trigger)&&h()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[d.trigger,h]),C.jsx(dv,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:p=>p.preventDefault(),onDismiss:h,children:C.jsxs(nF,{"data-state":d.stateAttribute,...m,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[C.jsx(ZX,{children:n}),C.jsx(WX,{scope:o,isInside:!0,children:C.jsx(UX,{id:d.contentId,role:"tooltip",children:a||n})})]})})});dF.displayName=au;var pF="TooltipArrow",hF=A.forwardRef((e,t)=>{const{__scopeTooltip:o,...n}=e,a=_v(o);return YX(pF,o).isInside?null:C.jsx(aF,{...a,...n,ref:t})});hF.displayName=pF;function QX(e,t){const o=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(o,n,a,i)){case i:return"left";case a:return"right";case o:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function JX(e,t,o=5){const n=[];switch(t){case"top":n.push({x:e.x-o,y:e.y+o},{x:e.x+o,y:e.y+o});break;case"bottom":n.push({x:e.x-o,y:e.y-o},{x:e.x+o,y:e.y-o});break;case"left":n.push({x:e.x+o,y:e.y-o},{x:e.x+o,y:e.y+o});break;case"right":n.push({x:e.x-o,y:e.y-o},{x:e.x-o,y:e.y+o});break}return n}function XX(e){const{top:t,right:o,bottom:n,left:a}=e;return[{x:a,y:t},{x:o,y:t},{x:o,y:n},{x:a,y:n}]}function eee(e,t){const{x:o,y:n}=e;let a=!1;for(let i=0,l=t.length-1;i<t.length;l=i++){const c=t[i],d=t[l],m=c.x,h=c.y,p=d.x,f=d.y;h>n!=f>n&&o<(p-m)*(n-h)/(f-h)+m&&(a=!a)}return a}function tee(e){const t=e.slice();return t.sort((o,n)=>o.x<n.x?-1:o.x>n.x?1:o.y<n.y?-1:o.y>n.y?1:0),oee(t)}function oee(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const a=e[n];for(;t.length>=2;){const i=t[t.length-1],l=t[t.length-2];if((i.x-l.x)*(a.y-l.y)>=(i.y-l.y)*(a.x-l.x))t.pop();else break}t.push(a)}t.pop();const o=[];for(let n=e.length-1;n>=0;n--){const a=e[n];for(;o.length>=2;){const i=o[o.length-1],l=o[o.length-2];if((i.x-l.x)*(a.y-l.y)>=(i.y-l.y)*(a.x-l.x))o.pop();else break}o.push(a)}return o.pop(),t.length===1&&o.length===1&&t[0].x===o[0].x&&t[0].y===o[0].y?t:t.concat(o)}var nee=sF,aee=lF,ree=cF,iee=uF,see=dF,lee=hF;function ax(e){const t=Ne.c(6);let o,n;t[0]!==e?({delayDuration:n,...o}=e,t[0]=e,t[1]=o,t[2]=n):(o=t[1],n=t[2]);const a=n===void 0?0:n;let i;return t[3]!==a||t[4]!==o?(i=C.jsx(nee,{"data-slot":"tooltip-provider",delayDuration:a,...o}),t[3]=a,t[4]=o,t[5]=i):i=t[5],i}function gF(e){const t=Ne.c(4);let o;t[0]!==e?({...o}=e,t[0]=e,t[1]=o):o=t[1];let n;return t[2]!==o?(n=C.jsx(ax,{children:C.jsx(aee,{"data-slot":"tooltip",...o})}),t[2]=o,t[3]=n):n=t[3],n}function fF(e){const t=Ne.c(4);let o;t[0]!==e?({...o}=e,t[0]=e,t[1]=o):o=t[1];let n;return t[2]!==o?(n=C.jsx(ree,{"data-slot":"tooltip-trigger",...o}),t[2]=o,t[3]=n):n=t[3],n}function vF(e){const t=Ne.c(13);let o,n,a,i;t[0]!==e?({className:n,sideOffset:i,children:o,...a}=e,t[0]=e,t[1]=o,t[2]=n,t[3]=a,t[4]=i):(o=t[1],n=t[2],a=t[3],i=t[4]);const l=i===void 0?0:i;let c;t[5]!==n?(c=Et("notranslate bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",n),t[5]=n,t[6]=c):c=t[6];let d;t[7]===Symbol.for("react.memo_cache_sentinel")?(d=C.jsx(lee,{className:"bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"}),t[7]=d):d=t[7];let m;return t[8]!==o||t[9]!==a||t[10]!==l||t[11]!==c?(m=C.jsx(iee,{children:C.jsxs(see,{"data-slot":"tooltip-content",sideOffset:l,translate:"no",className:c,...a,children:[o,d]})}),t[8]=o,t[9]=a,t[10]=l,t[11]=c,t[12]=m):m=t[12],m}const cee="15rem",uee="18rem",dee="4.5rem",bF=A.createContext(null);function rx(){const e=A.useContext(bF);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}function ahe(e){const t=Ne.c(19),{children:o,defaultOpen:n,open:a,onOpenChange:i}=e,l=n===void 0?!1:n,c=qZ(),[d,m]=A.useState(l),[h,p]=A.useState(!1),f=a!==void 0,v=f?a:d;let b;t[0]!==f||t[1]!==i?(b=D=>{f||m(D),i?.(D)},t[0]=f,t[1]=i,t[2]=b):b=t[2];const S=b;let x;t[3]!==c||t[4]!==v||t[5]!==S?(x=()=>{c?p(mee):S(!v)},t[3]=c,t[4]=v,t[5]=S,t[6]=x):x=t[6];const _=x,w=v?"expanded":"collapsed";let P;t[7]!==c||t[8]!==v||t[9]!==h||t[10]!==S||t[11]!==w||t[12]!==_?(P={state:w,open:v,setOpen:S,isMobile:c,openMobile:h,setOpenMobile:p,toggleSidebar:_},t[7]=c,t[8]=v,t[9]=h,t[10]=S,t[11]=w,t[12]=_,t[13]=P):P=t[13];const T=P;let k;t[14]!==o?(k=C.jsx(ax,{delayDuration:0,children:o}),t[14]=o,t[15]=k):k=t[15];let R;return t[16]!==T||t[17]!==k?(R=C.jsx(bF.Provider,{value:T,children:k}),t[16]=T,t[17]=k,t[18]=R):R=t[18],R}function mee(e){return!e}function rhe(e){const t=Ne.c(14);let o,n,a,i;t[0]!==e?({className:n,style:i,children:o,...a}=e,t[0]=e,t[1]=o,t[2]=n,t[3]=a,t[4]=i):(o=t[1],n=t[2],a=t[3],i=t[4]);let l;t[5]!==i?(l={"--sidebar-width":cee,"--sidebar-width-icon":dee,...i},t[5]=i,t[6]=l):l=t[6];const c=l;let d;t[7]!==n?(d=Et("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex h-full w-full",n),t[7]=n,t[8]=d):d=t[8];let m;return t[9]!==o||t[10]!==a||t[11]!==c||t[12]!==d?(m=C.jsx("div",{"data-slot":"sidebar-wrapper",style:c,className:d,...a,children:o}),t[9]=o,t[10]=a,t[11]=c,t[12]=d,t[13]=m):m=t[13],m}function ihe(e){const t=Ne.c(36);let o,n,a,i,l;t[0]!==e?({side:i,variant:l,className:n,children:o,...a}=e,t[0]=e,t[1]=o,t[2]=n,t[3]=a,t[4]=i,t[5]=l):(o=t[1],n=t[2],a=t[3],i=t[4],l=t[5]);const c=i===void 0?"left":i,d=l===void 0?"sidebar":l,{isMobile:m,state:h,openMobile:p,setOpenMobile:f}=rx();if(m){let R;t[6]===Symbol.for("react.memo_cache_sentinel")?(R={"--sidebar-width":uee},t[6]=R):R=t[6];let D;t[7]===Symbol.for("react.memo_cache_sentinel")?(D=C.jsxs(wJ,{className:"sr-only",children:[C.jsx(CJ,{children:"Sidebar"}),C.jsx(xJ,{children:"Displays the mobile sidebar."})]}),t[7]=D):D=t[7];let O;t[8]!==o?(O=C.jsx("div",{className:"flex h-full w-full flex-col",children:o}),t[8]=o,t[9]=O):O=t[9];let L;t[10]!==c||t[11]!==O?(L=C.jsxs(_J,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",style:R,side:c,children:[D,O]}),t[10]=c,t[11]=O,t[12]=L):L=t[12];let U;return t[13]!==p||t[14]!==a||t[15]!==f||t[16]!==L?(U=C.jsx(bJ,{open:p,onOpenChange:f,...a,children:L}),t[13]=p,t[14]=a,t[15]=f,t[16]=L,t[17]=U):U=t[17],U}const v=h==="expanded",b=v?"w-(--sidebar-width)":"w-(--sidebar-width-icon)";let S;t[18]!==b?(S=Et("group/sidebar peer text-sidebar-foreground hidden md:flex flex-col shrink-0 overflow-hidden","transition-[width] duration-150 ease-out motion-reduce:transition-none",b),t[18]=b,t[19]=S):S=t[19];const x=v?void 0:"icon",_=v?"w-(--sidebar-width)":"w-(--sidebar-width-icon)";let w;t[20]!==n||t[21]!==_?(w=Et("flex flex-col h-full transition-[width] duration-150 ease-out motion-reduce:transition-none",_,n),t[20]=n,t[21]=_,t[22]=w):w=t[22];let P;t[23]!==o?(P=C.jsx("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"bg-sidebar flex h-full w-full flex-col",children:o}),t[23]=o,t[24]=P):P=t[24];let T;t[25]!==a||t[26]!==w||t[27]!==P?(T=C.jsx("div",{"data-slot":"sidebar-container",className:w,...a,children:P}),t[25]=a,t[26]=w,t[27]=P,t[28]=T):T=t[28];let k;return t[29]!==c||t[30]!==h||t[31]!==S||t[32]!==x||t[33]!==T||t[34]!==d?(k=C.jsx("div",{className:S,"data-state":h,"data-collapsible":x,"data-variant":d,"data-side":c,"data-slot":"sidebar",children:T}),t[29]=c,t[30]=h,t[31]=S,t[32]=x,t[33]=T,t[34]=d,t[35]=k):k=t[35],k}function pee(e){const t=Ne.c(18);let o,n,a;t[0]!==e?({className:o,onClick:n,...a}=e,t[0]=e,t[1]=o,t[2]=n,t[3]=a):(o=t[1],n=t[2],a=t[3]);const{toggleSidebar:i}=rx();let l;t[4]!==o?(l=Et("size-7",o),t[4]=o,t[5]=l):l=t[5];let c;t[6]!==n||t[7]!==i?(c=v=>{n?.(v),i()},t[6]=n,t[7]=i,t[8]=c):c=t[8];let d,m;t[9]===Symbol.for("react.memo_cache_sentinel")?(d=C.jsx(EL,{}),m=C.jsx("span",{className:"sr-only",children:"Toggle Sidebar"}),t[9]=d,t[10]=m):(d=t[9],m=t[10]);let h;t[11]!==a||t[12]!==l||t[13]!==c?(h=C.jsx(fF,{asChild:!0,children:C.jsxs(tu,{"data-sidebar":"trigger","data-slot":"sidebar-trigger",variant:"ghost",size:"icon",className:l,onClick:c,...a,children:[d,m]})}),t[11]=a,t[12]=l,t[13]=c,t[14]=h):h=t[14];let p;t[15]===Symbol.for("react.memo_cache_sentinel")?(p=C.jsxs(vF,{side:"bottom",className:"flex items-center gap-1.5",children:["Collapse sidebar",C.jsx("span",{className:"flex items-center gap-0.5",children:["⌘","B"].map(hee)})]}),t[15]=p):p=t[15];let f;return t[16]!==h?(f=C.jsx(ax,{delayDuration:300,children:C.jsxs(gF,{children:[h,p]})}),t[16]=h,t[17]=f):f=t[17],f}function hee(e){return C.jsx("kbd",{className:"inline-flex items-center justify-center min-w-5 h-5 px-1 rounded-sm border border-white/20 bg-white/10 text-white/70 text-xs font-mono",children:e},e)}function she(e){const t=Ne.c(8);let o,n;t[0]!==e?({className:o,...n}=e,t[0]=e,t[1]=o,t[2]=n):(o=t[1],n=t[2]);let a;t[3]!==o?(a=Et("bg-background relative flex w-full flex-1 flex-col min-w-0","md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",o),t[3]=o,t[4]=a):a=t[4];let i;return t[5]!==n||t[6]!==a?(i=C.jsx("main",{"data-slot":"sidebar-inset",className:a,...n}),t[5]=n,t[6]=a,t[7]=i):i=t[7],i}function lhe(e){const t=Ne.c(8);let o,n;t[0]!==e?({className:o,...n}=e,t[0]=e,t[1]=o,t[2]=n):(o=t[1],n=t[2]);let a;t[3]!==o?(a=Et("flex flex-col gap-2 p-2",o),t[3]=o,t[4]=a):a=t[4];let i;return t[5]!==n||t[6]!==a?(i=C.jsx("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:a,...n}),t[5]=n,t[6]=a,t[7]=i):i=t[7],i}function che(e){const t=Ne.c(8);let o,n;t[0]!==e?({className:o,...n}=e,t[0]=e,t[1]=o,t[2]=n):(o=t[1],n=t[2]);let a;t[3]!==o?(a=Et("flex flex-col gap-2 p-2",o),t[3]=o,t[4]=a):a=t[4];let i;return t[5]!==n||t[6]!==a?(i=C.jsx("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:a,...n}),t[5]=n,t[6]=a,t[7]=i):i=t[7],i}function uhe(e){const t=Ne.c(8);let o,n;t[0]!==e?({className:o,...n}=e,t[0]=e,t[1]=o,t[2]=n):(o=t[1],n=t[2]);let a;t[3]!==o?(a=Et("h-4 m-0! w-full",o),t[3]=o,t[4]=a):a=t[4];let i;return t[5]!==n||t[6]!==a?(i=C.jsx("div",{"data-sidebar":"separator",className:a,...n}),t[5]=n,t[6]=a,t[7]=i):i=t[7],i}function dhe(e){const t=Ne.c(8);let o,n;t[0]!==e?({className:o,...n}=e,t[0]=e,t[1]=o,t[2]=n):(o=t[1],n=t[2]);let a;t[3]!==o?(a=Et("flex min-h-0 flex-1 flex-col gap-2",o),t[3]=o,t[4]=a):a=t[4];let i;return t[5]!==n||t[6]!==a?(i=C.jsx("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:a,...n}),t[5]=n,t[6]=a,t[7]=i):i=t[7],i}function mhe(e){const t=Ne.c(8);let o,n;t[0]!==e?({className:o,...n}=e,t[0]=e,t[1]=o,t[2]=n):(o=t[1],n=t[2]);let a;t[3]!==o?(a=Et("relative flex w-full min-w-0 flex-col px-2 py-2 md:py-0",o),t[3]=o,t[4]=a):a=t[4];let i;return t[5]!==n||t[6]!==a?(i=C.jsx("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:a,...n}),t[5]=n,t[6]=a,t[7]=i):i=t[7],i}function phe(e){const t=Ne.c(8);let o,n;t[0]!==e?({className:o,...n}=e,t[0]=e,t[1]=o,t[2]=n):(o=t[1],n=t[2]);let a;t[3]!==o?(a=Et("w-full text-sm overflow-visible",o),t[3]=o,t[4]=a):a=t[4];let i;return t[5]!==n||t[6]!==a?(i=C.jsx("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:a,...n}),t[5]=n,t[6]=a,t[7]=i):i=t[7],i}function hhe(e){const t=Ne.c(8);let o,n;t[0]!==e?({className:o,...n}=e,t[0]=e,t[1]=o,t[2]=n):(o=t[1],n=t[2]);let a;t[3]!==o?(a=Et("flex w-full min-w-0 list-none flex-col gap-1 group-data-[state=collapsed]/sidebar:items-center",o),t[3]=o,t[4]=a):a=t[4];let i;return t[5]!==n||t[6]!==a?(i=C.jsx("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:a,...n}),t[5]=n,t[6]=a,t[7]=i):i=t[7],i}function ghe(e){const t=Ne.c(8);let o,n;t[0]!==e?({className:o,...n}=e,t[0]=e,t[1]=o,t[2]=n):(o=t[1],n=t[2]);let a;t[3]!==o?(a=Et("group/menu-item relative w-full list-none",o),t[3]=o,t[4]=a):a=t[4];let i;return t[5]!==n||t[6]!==a?(i=C.jsx("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:a,...n}),t[5]=n,t[6]=a,t[7]=i):i=t[7],i}const gee=zC("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-lg py-0 pr-0.5 pl-1.5 text-left text-sm outline-0 outline-sidebar-ring transition-[width,height,padding] duration-150 ease-out motion-reduce:transition-none focus-visible:outline-2 focus-visible:-outline-offset-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground [&>span:last-child]:truncate group-data-[state=collapsed]/sidebar:[&>span:last-child]:hidden [&>svg]:size-4 [&>svg]:shrink-0 [&_svg]:opacity-60 hover:[&_svg]:opacity-100",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background ring-1 ring-sidebar-border hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:ring-sidebar-accent"},size:{default:"group-data-[state=expanded]/sidebar:h-8 group-data-[state=expanded]/sidebar:px-2 group-data-[state=collapsed]/sidebar:w-full! group-data-[state=collapsed]/sidebar:aspect-square! group-data-[state=collapsed]/sidebar:max-w-[calc(var(--sidebar-width-icon)-1rem)]! group-data-[state=collapsed]/sidebar:h-auto! group-data-[state=collapsed]/sidebar:p-0! group-data-[state=collapsed]/sidebar:mx-auto group-data-[state=collapsed]/sidebar:justify-center text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm p-0!"}},defaultVariants:{variant:"default",size:"default"}});function fhe(e){const t=Ne.c(28);let o,n,a,i,l,c,d;t[0]!==e?({asChild:a,isActive:i,variant:l,size:c,tooltip:d,className:o,...n}=e,t[0]=e,t[1]=o,t[2]=n,t[3]=a,t[4]=i,t[5]=l,t[6]=c,t[7]=d):(o=t[1],n=t[2],a=t[3],i=t[4],l=t[5],c=t[6],d=t[7]);const m=a===void 0?!1:a,h=i===void 0?!1:i,p=l===void 0?"default":l,f=c===void 0?"default":c,v=m?uv:"button",{isMobile:b}=rx();let S;t[8]!==o||t[9]!==f||t[10]!==p?(S=Et(gee({variant:p,size:f}),o),t[8]=o,t[9]=f,t[10]=p,t[11]=S):S=t[11];let x;t[12]!==v||t[13]!==h||t[14]!==n||t[15]!==f||t[16]!==S?(x=C.jsx(v,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":f,"data-active":h,className:S,...n}),t[12]=v,t[13]=h,t[14]=n,t[15]=f,t[16]=S,t[17]=x):x=t[17];const _=x;if(!d)return _;if(typeof d=="string"){let k;t[18]!==d?(k={children:d},t[18]=d,t[19]=k):k=t[19],d=k}let w;t[20]!==_?(w=C.jsx(fF,{asChild:!0,children:_}),t[20]=_,t[21]=w):w=t[21];let P;t[22]!==b||t[23]!==d?(P=C.jsx(vF,{side:"right",align:"center",hidden:b,...d}),t[22]=b,t[23]=d,t[24]=P):P=t[24];let T;return t[25]!==w||t[26]!==P?(T=C.jsxs(gF,{children:[w,P]}),t[25]=w,t[26]=P,t[27]=T):T=t[27],T}const yF=A.createContext(void 0),vhe=yF.Provider;function bD(e,t){const o=A.Children.toArray(e);for(const n of o)if(A.isValidElement(n)&&n.type===t)return n;return null}function fee(e){const t=Ne.c(5),{children:o,className:n}=e;let a;t[0]!==n?(a=Et("flex flex-col h-full w-full bg-background overflow-hidden",n),t[0]=n,t[1]=a):a=t[1];let i;return t[2]!==o||t[3]!==a?(i=C.jsx("div",{className:a,children:o}),t[2]=o,t[3]=a,t[4]=i):i=t[4],i}function vee(e){const t=Ne.c(17),{children:o,className:n,hideSidebarTrigger:a}=e;let i;t[0]!==o?(i=bD(o,SF),t[0]=o,t[1]=i):i=t[1];const l=i;let c;t[2]!==o?(c=bD(o,_F),t[2]=o,t[3]=c):c=t[3];const d=c;let m;t[4]!==n?(m=Et("shrink-0 w-full border-b border-border/50 h-11","flex items-center justify-between gap-3 pr-2 pl-2 md:pl-4",n),t[4]=n,t[5]=m):m=t[5];let h;t[6]!==a?(h=!a&&C.jsx(pee,{className:"md:hidden shrink-0"}),t[6]=a,t[7]=h):h=t[7];let p;t[8]!==l||t[9]!==h?(p=C.jsxs("div",{className:"flex items-center gap-1 min-w-0 flex-1",children:[h,l]}),t[8]=l,t[9]=h,t[10]=p):p=t[10];let f;t[11]!==d?(f=C.jsx("div",{className:"flex items-center",children:d}),t[11]=d,t[12]=f):f=t[12];let v;return t[13]!==m||t[14]!==p||t[15]!==f?(v=C.jsxs("div",{className:m,children:[p,f]}),t[13]=m,t[14]=p,t[15]=f,t[16]=v):v=t[16],v}function SF(e){const t=Ne.c(5),{children:o,className:n}=e;let a;t[0]!==n?(a=Et("flex items-center gap-2 min-w-0 overflow-hidden",n),t[0]=n,t[1]=a):a=t[1];let i;return t[2]!==o||t[3]!==a?(i=C.jsx("div",{className:a,children:o}),t[2]=o,t[3]=a,t[4]=i):i=t[4],i}function _F(e){const t=Ne.c(5),{children:o,className:n}=e;let a;t[0]!==n?(a=Et("flex items-center gap-2 shrink-0 overflow-hidden",n),t[0]=n,t[1]=a):a=t[1];let i;return t[2]!==o||t[3]!==a?(i=C.jsx("div",{className:a,children:o}),t[2]=o,t[3]=a,t[4]=i):i=t[4],i}function bee(e){const t=Ne.c(6),{children:o,className:n}=e,a=A.useContext(yF);let i;t[0]!==n||t[1]!==a?(i=Et("flex-1 overflow-auto",a,n),t[0]=n,t[1]=a,t[2]=i):i=t[2];let l;return t[3]!==o||t[4]!==i?(l=C.jsx("div",{className:i,children:o}),t[3]=o,t[4]=i,t[5]=l):l=t[5],l}function yee(e){const t=Ne.c(10),{children:o,actions:n,className:a}=e;let i;t[0]!==a?(i=Et("flex flex-wrap items-center justify-between gap-3",a),t[0]=a,t[1]=i):i=t[1];let l;t[2]!==o?(l=C.jsx("div",{className:"text-xl font-medium min-w-0",children:o}),t[2]=o,t[3]=l):l=t[3];let c;t[4]!==n?(c=n&&C.jsx("div",{className:"flex items-center gap-2",children:n}),t[4]=n,t[5]=c):c=t[5];let d;return t[6]!==i||t[7]!==l||t[8]!==c?(d=C.jsxs("div",{className:i,children:[l,c]}),t[6]=i,t[7]=l,t[8]=c,t[9]=d):d=t[9],d}function See(e){const t=Ne.c(6),{children:o,className:n,maxWidth:a}=e,i=a===void 0?"max-w-[1200px]":a;let l;t[0]!==n||t[1]!==i?(l=Et("mx-auto w-full px-4 pt-8 pb-6 md:px-10 md:pt-12 md:pb-10",i,n),t[0]=n,t[1]=i,t[2]=l):l=t[2];let c;return t[3]!==o||t[4]!==l?(c=C.jsx("div",{className:l,children:o}),t[3]=o,t[4]=l,t[5]=c):c=t[5],c}const Lg=Object.assign(fee,{Header:Object.assign(vee,{Left:SF,Right:_F}),Content:bee,Title:yee,Body:See});var ge=typeof window<"u"?window:void 0,en=typeof globalThis<"u"?globalThis:ge;typeof self>"u"&&(en.self=en),typeof File>"u"&&(en.File=function(){});var ya=en?.navigator,Fe=en?.document,gn=en?.location,z_=en?.fetch,U_=en!=null&&en.XMLHttpRequest&&"withCredentials"in new en.XMLHttpRequest?en.XMLHttpRequest:void 0,yD=en?.AbortController,_ee=en?.CompressionStream,Xn=ya?.userAgent,Qe=ge??{},SD="1.372.3",Un={DEBUG:!1,LIB_VERSION:SD,LIB_NAME:"web",JS_SDK_VERSION:SD};function _D(e,t,o,n,a,i,l){try{var c=e[i](l),d=c.value}catch(m){return void o(m)}c.done?t(d):Promise.resolve(d).then(n,a)}function ja(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var i=e.apply(t,o);function l(d){_D(i,n,a,l,c,"next",d)}function c(d){_D(i,n,a,l,c,"throw",d)}l(void 0)}))}}function Oe(){return Oe=Object.assign?Object.assign.bind():function(e){for(var t=1;arguments.length>t;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},Oe.apply(null,arguments)}function wF(e,t){if(e==null)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;o[n]=e[n]}return o}function $_(){return $_=ja((function*(e,t,o){t===void 0&&(t=!0);try{var n=new CompressionStream("gzip"),a=n.writable.getWriter(),i=a.write(new TextEncoder().encode(e)).then((()=>a.close())).catch((function(){var d=ja((function*(m){try{yield a.abort(m)}catch{}throw m}));return function(m){return d.apply(this,arguments)}})()),l=new Response(n.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}})),$_.apply(this,arguments)}var wee=["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"],wD=function(e,t){if(t===void 0&&(t=[]),!e)return!1;var o=e.toLowerCase();return wee.concat(t).some((n=>{var a=n.toLowerCase();return o.indexOf(a)!==-1}))},Cee=["$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 Ct(e,t){return e.indexOf(t)!==-1}var wv=function(e){return e.trim()},q_=function(e){return e.replace(/^\$/,"")},CF=Object.prototype,xF=CF.hasOwnProperty,Cv=CF.toString,It=Array.isArray||function(e){return Cv.call(e)==="[object Array]"},pi=e=>typeof e=="function",Do=e=>e===Object(e)&&!It(e),Nc=e=>{if(Do(e)){for(var t in e)if(xF.call(e,t))return!1;return!0}return!1},ze=e=>e===void 0,_o=e=>Cv.call(e)=="[object String]",Ng=e=>_o(e)&&e.trim().length===0,xi=e=>e===null,xt=e=>ze(e)||xi(e),Va=e=>Cv.call(e)=="[object Number]"&&e==e,Ac=e=>Va(e)&&e>0,Or=e=>Cv.call(e)==="[object Boolean]",xee=e=>e instanceof FormData,Eee=e=>Ct(Cee,e);function EF(e){return e===null||typeof e!="object"}function pf(e,t){return{}.toString.call(e)==="[object "+t+"]"}function ix(e){return typeof Event<"u"&&(function(t,o){try{return t instanceof o}catch{return!1}})(e,Event)}var Tee=[!0,"true",1,"1","yes"],K0=e=>Ct(Tee,e),kee=[!1,"false",0,"0","no"];function Ir(e,t,o,n,a){return t>o&&(n.warn("min cannot be greater than max."),t=o),Va(e)?e>o?(n.warn(" cannot be greater than max: "+o+". Using max value instead."),o):t>e?(n.warn(" cannot be less than min: "+t+". Using min value instead."),t):e:(n.warn(" must be a number. using max or fallback. max: "+o+", fallback: "+a),Ir(a||o,t,o,n))}let Pee=class{constructor(t){this.$t={},this.zt=t.zt,this.Ut=Ir(t.bucketSize,0,100,t.Gt),this.Wt=Ir(t.refillRate,0,this.Ut,t.Gt),this.Xt=Ir(t.refillInterval,0,864e5,t.Gt)}Jt(t,o){var n=Math.floor((o-t.lastAccess)/this.Xt);n>0&&(t.tokens=Math.min(t.tokens+n*this.Wt,this.Ut),t.lastAccess=t.lastAccess+n*this.Xt)}consumeRateLimit(t){var o,n=Date.now(),a=String(t),i=this.$t[a];return i?this.Jt(i,n):this.$t[a]=i={tokens:this.Ut,lastAccess:n},i.tokens===0||(i.tokens--,i.tokens===0&&((o=this.zt)==null||o.call(this,t)),i.tokens===0)}stop(){this.$t={}}};var dg,CD,W0,_a="Mobile",hf="iOS",bi="Android",ru="Tablet",TF=bi+" "+ru,kF="iPad",PF="Apple",AF=PF+" Watch",Kd="Safari",iu="BlackBerry",RF="Samsung",DF=RF+"Browser",OF=RF+" Internet",hl="Chrome",Aee=hl+" OS",IF=hl+" "+hf,sx="Internet Explorer",MF=sx+" "+_a,lx="Opera",Ree=lx+" Mini",cx="Edge",LF="Microsoft "+cx,Hc="Firefox",NF=Hc+" "+hf,mm="Nintendo",pm="PlayStation",Gc="Xbox",FF=bi+" "+_a,BF=_a+" "+Kd,Ld="Windows",V_=Ld+" Phone",xD="Nokia",H_="Ouya",jF="Generic",Dee=jF+" "+_a.toLowerCase(),zF=jF+" "+ru.toLowerCase(),G_="Konqueror",zn="(\\d+(\\.\\d+)?)",Y0=new RegExp("Version/"+zn),Oee=new RegExp(Gc,"i"),Iee=new RegExp(pm+" \\w+","i"),Mee=new RegExp(mm+" \\w+","i"),ux=new RegExp(iu+"|PlayBook|BB10","i"),Lee={"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"},UF=function(e,t){return t=t||"",Ct(e," OPR/")&&Ct(e,"Mini")?Ree:Ct(e," OPR/")?lx:ux.test(e)?iu:Ct(e,"IE"+_a)||Ct(e,"WPDesktop")?MF:Ct(e,DF)?OF:Ct(e,cx)||Ct(e,"Edg/")?LF:Ct(e,"FBIOS")?"Facebook "+_a:Ct(e,"UCWEB")||Ct(e,"UCBrowser")?"UC Browser":Ct(e,"CriOS")?IF:Ct(e,"CrMo")||Ct(e,hl)?hl:Ct(e,bi)&&Ct(e,Kd)?FF:Ct(e,"FxiOS")?NF:Ct(e.toLowerCase(),G_.toLowerCase())?G_:((o,n)=>n&&Ct(n,PF)||(function(a){return Ct(a,Kd)&&!Ct(a,hl)&&!Ct(a,bi)})(o))(e,t)?Ct(e,_a)?BF:Kd:Ct(e,Hc)?Hc:Ct(e,"MSIE")||Ct(e,"Trident/")?sx:Ct(e,"Gecko")?Hc:""},Nee={[MF]:[new RegExp("rv:"+zn)],[LF]:[new RegExp(cx+"?\\/"+zn)],[hl]:[new RegExp("("+hl+"|CrMo)\\/"+zn)],[IF]:[new RegExp("CriOS\\/"+zn)],"UC Browser":[new RegExp("(UCBrowser|UCWEB)\\/"+zn)],[Kd]:[Y0],[BF]:[Y0],[lx]:[new RegExp("(Opera|OPR)\\/"+zn)],[Hc]:[new RegExp(Hc+"\\/"+zn)],[NF]:[new RegExp("FxiOS\\/"+zn)],[G_]:[new RegExp("Konqueror[:/]?"+zn,"i")],[iu]:[new RegExp(iu+" "+zn),Y0],[FF]:[new RegExp("android\\s"+zn,"i")],[OF]:[new RegExp(DF+"\\/"+zn)],[sx]:[new RegExp("(rv:|MSIE )"+zn)],Mozilla:[new RegExp("rv:"+zn)]},Fee=function(e,t){var o=UF(e,t),n=Nee[o];if(ze(n))return null;for(var a=0;n.length>a;a++){var i=e.match(n[a]);if(i)return parseFloat(i[i.length-2])}return null},ED=[[new RegExp(Gc+"; "+Gc+" (.*?)[);]","i"),e=>[Gc,e&&e[1]||""]],[new RegExp(mm,"i"),[mm,""]],[new RegExp(pm,"i"),[pm,""]],[ux,[iu,""]],[new RegExp(Ld,"i"),(e,t)=>{if(/Phone/.test(t)||/WPDesktop/.test(t))return[V_,""];if(new RegExp(_a).test(t)&&!/IEMobile\b/.test(t))return[Ld+" "+_a,""];var o=/Windows NT ([0-9.]+)/i.exec(t);if(o&&o[1]){var n=Lee[o[1]]||"";return/arm/i.test(t)&&(n="RT"),[Ld,n]}return[Ld,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,e=>e&&e[3]?[hf,[e[3],e[4],e[5]||"0"].join(".")]:[hf,""]],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,e=>{var t="";return e&&e.length>=3&&(t=ze(e[2])?e[3]:e[2]),["watchOS",t]}],[new RegExp("("+bi+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+bi+")","i"),e=>e&&e[2]?[bi,[e[2],e[3],e[4]||"0"].join(".")]:[bi,""]],[/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/,[Aee,""]],[/Linux|debian/i,["Linux",""]]],TD=function(e){return Mee.test(e)?mm:Iee.test(e)?pm:Oee.test(e)?Gc:new RegExp(H_,"i").test(e)?H_:new RegExp("("+V_+"|WPDesktop)","i").test(e)?V_:/iPad/.test(e)?kF:/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?AF:ux.test(e)?iu:/(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(_a).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)?bi:TF:new RegExp("(pda|"+_a+")","i").test(e)?Dee:new RegExp(ru,"i").test(e)&&!new RegExp(ru+" pc","i").test(e)?zF:""},Bee=e=>e instanceof Error,$F={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}},jee=$F.info;function qF(e){if(Or(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=>qF(t)))}};try{return{stringValue:JSON.stringify(e)}}catch{return{stringValue:String(e)}}}function kD(e){var t=[];for(var o in e){var n=e[o];xi(n)||ze(n)||t.push({key:o,value:qF(n)})}return t}function zee(e){var t=globalThis._posthogChunkIds;if(t){var o=Object.keys(t);return W0&&o.length===CD||(CD=o.length,W0=o.reduce(((n,a)=>{dg||(dg={});var i=dg[a];if(i)n[i[0]]=i[1];else for(var l=e(a),c=l.length-1;c>=0;c--){var d=l[c],m=d?.filename,h=t[a];if(m&&h){n[m]=h,dg[a]=[m,h];break}}return n}),{})),W0}}class Uee{constructor(t,o,n){n===void 0&&(n=[]),this.coercers=t,this.stackParser=o,this.modifiers=n}buildFromUnknown(t,o){o===void 0&&(o={});var n=o&&o.mechanism||{handled:!0,type:"generic"},a=this.buildCoercingContext(n,o,0).apply(t),i=this.buildParsingContext(o),l=this.parseStacktrace(a,i);return{$exception_list:this.convertToExceptionList(l,n),$exception_level:"error"}}modifyFrames(t){var o=this;return ja((function*(){for(var n of t)n.stacktrace&&n.stacktrace.frames&&It(n.stacktrace.frames)&&(n.stacktrace.frames=yield o.applyModifiers(n.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 n,a;return t.cause!=null&&(n=this.parseStacktrace(t.cause,o)),t.stack!=""&&t.stack!=null&&(a=this.applyChunkIds(this.stackParser(t.stack,t.synthetic?o.skipFirstLines:0),o.chunkIdMap)),Oe({},t,{cause:n,stack:a})}applyChunkIds(t,o){return t.map((n=>(n.filename&&o&&(n.chunk_id=o[n.filename]),n)))}applyCoercers(t,o){for(var n of this.coercers)if(n.match(t))return n.coerce(t,o);return this.coerceFallback(o)}applyModifiers(t){var o=this;return ja((function*(){var n=t;for(var a of o.modifiers)n=yield a(n);return n}))()}convertToExceptionList(t,o){var n,a,i,l={type:t.type,value:t.value,mechanism:{type:(n=o.type)!==null&&n!==void 0?n:"generic",handled:(a=o.handled)===null||a===void 0||a,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,Oe({},o,{handled:!0}))),c}buildParsingContext(t){var o;return{chunkIdMap:zee(this.stackParser),skipFirstLines:(o=t.skipFirstLines)!==null&&o!==void 0?o:1}}buildCoercingContext(t,o,n){n===void 0&&(n=0);var a=(i,l)=>{if(4>=l){var c=this.buildCoercingContext(t,o,l);return this.applyCoercers(i,c)}};return Oe({},o,{syntheticException:n==0?o.syntheticException:void 0,mechanism:t,apply:i=>a(i,n),next:i=>a(i,n+1)})}}var su="?";function K_(e,t,o,n,a){var i={platform:e,filename:t,function:o==="<anonymous>"?su:o,in_app:!0};return ze(n)||(i.lineno=n),ze(a)||(i.colno=a),i}var VF=(e,t)=>{var o=e.indexOf("safari-extension")!==-1,n=e.indexOf("safari-web-extension")!==-1;return o||n?[e.indexOf("@")!==-1?e.split("@")[0]:su,o?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]},$ee=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,qee=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Vee=/\((\S*)(?::(\d+))(?::(\d+))\)/,Hee=(e,t)=>{var o=$ee.exec(e);if(o){var[,n,a,i]=o;return K_(t,n,su,+a,+i)}var l=qee.exec(e);if(l){if(l[2]&&l[2].indexOf("eval")===0){var c=Vee.exec(l[2]);c&&(l[2]=c[1],l[3]=c[2],l[4]=c[3])}var[d,m]=VF(l[1]||su,l[2]);return K_(t,m,d,l[3]?+l[3]:void 0,l[4]?+l[4]:void 0)}},Gee=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Kee=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Wee=(e,t)=>{var o=Gee.exec(e);if(o){if(o[3]&&o[3].indexOf(" > eval")>-1){var n=Kee.exec(o[3]);n&&(o[1]=o[1]||"eval",o[3]=n[1],o[4]=n[2],o[5]="")}var a=o[3],i=o[1]||su;return[i,a]=VF(i,a),K_(t,a,i,o[4]?+o[4]:void 0,o[5]?+o[5]:void 0)}},PD=/\(error: (.*)\)/;let Yee=class{match(t){return this.isDOMException(t)||this.isDOMError(t)}coerce(t,o){var n=_o(t.stack);return{type:this.getType(t),value:this.getValue(t),stack:n?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 pf(t,"DOMException")}isDOMError(t){return pf(t,"DOMError")}};class Zee{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 n=t.message;return String(n.error&&typeof n.error.message=="string"?n.error.message:n)}getStack(t){return t.stacktrace||t.stack||void 0}}let Qee=class{constructor(){}match(t){return pf(t,"ErrorEvent")&&t.error!=null}coerce(t,o){var n;return o.apply(t.error)||{type:"ErrorEvent",value:t.message,stack:(n=o.syntheticException)==null?void 0:n.stack,synthetic:!0}}};var Jee=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let Xee=class{match(t){return typeof t=="string"}coerce(t,o){var n,[a,i]=this.getInfos(t);return{type:a??"Error",value:i??t,stack:(n=o.syntheticException)==null?void 0:n.stack,synthetic:!0}}getInfos(t){var o="Error",n=t,a=t.match(Jee);return a&&(o=a[1],n=a[2]),[o,n]}};var ete=["fatal","error","warning","log","info","debug"];function HF(e,t){t===void 0&&(t=40);var o=Object.keys(e);if(o.sort(),!o.length)return"[object has no keys]";for(var n=o.length;n>0;n--){var a=o.slice(0,n).join(", ");if(t>=a.length)return n===o.length?a:a.length>t?a.slice(0,t)+"...":a}return""}let tte=class{match(t){return typeof t=="object"&&t!==null}coerce(t,o){var n,a=this.getErrorPropertyFromObject(t);return a?o.apply(a):{type:this.getType(t),value:this.getValue(t),stack:(n=o.syntheticException)==null?void 0:n.stack,level:this.isSeverityLevel(t.level)?t.level:"error",synthetic:!0}}getType(t){return ix(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 n=this.getObjectClassName(t);return(n&&n!=="Object"?"'"+n+"'":"Object")+" captured as exception with keys: "+HF(t)}isSeverityLevel(t){return _o(t)&&!Ng(t)&&ete.indexOf(t)>=0}getErrorPropertyFromObject(t){for(var o in t)if({}.hasOwnProperty.call(t,o)){var n=t[o];if(Bee(n))return n}}getObjectClassName(t){try{var o=Object.getPrototypeOf(t);return o?o.constructor.name:void 0}catch{return}}},ote=class{match(t){return ix(t)}coerce(t,o){var n,a=t.constructor.name;return{type:a,value:a+" captured as exception with keys: "+HF(t),stack:(n=o.syntheticException)==null?void 0:n.stack,synthetic:!0}}},nte=class{match(t){return EF(t)}coerce(t,o){var n;return{type:"Error",value:"Primitive value captured as exception: "+String(t),stack:(n=o.syntheticException)==null?void 0:n.stack,synthetic:!0}}},ate=class{match(t){return pf(t,"PromiseRejectionEvent")||this.isCustomEventWrappingRejection(t)}isCustomEventWrappingRejection(t){if(!ix(t))return!1;try{var o=t.detail;return o!=null&&typeof o=="object"&&"reason"in o}catch{return!1}}coerce(t,o){var n,a=this.getUnhandledRejectionReason(t);return EF(a)?{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(a),stack:(n=o.syntheticException)==null?void 0:n.stack,synthetic:!0}:o.apply(a)}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 gf="$message",ff="$timestamp",rte=new Set([gf,ff]),Z0={enabled:!0,max_bytes:32768};function vf(e){var t;return e?{enabled:(t=e.enabled)!==null&&t!==void 0?t:Z0.enabled,max_bytes:ste(e.max_bytes,Z0.max_bytes)}:Oe({},Z0)}let ite=class{constructor(t){this.Kt=[],this.Qt=0,this.Bt=vf(t)}setConfig(t){this.Bt=vf(t),this.er()}add(t){var o=(function(a){var i=(function(h){var p=new WeakSet;try{return JSON.stringify(h,((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(p.has(v))return"[Circular]";p.add(v)}return v}}))}catch{return}})(a);if(i)try{var l=JSON.parse(i);if(!Do(l))return;var c=l,d=c[gf],m=c[ff];return!_o(d)||d.trim().length===0||!_o(m)&&!Va(m)?void 0:{step:c,json:i}}catch{return}})(t);if(o){var n=(function(a){if(typeof TextEncoder<"u")return new TextEncoder().encode(a).length;for(var i=encodeURIComponent(a),l=0,c=0;i.length>c;c++)i[c]==="%"?(l+=1,c+=2):l+=1;return l})(o.json);n>this.Bt.max_bytes||(this.Kt.push({step:o.step,bytes:n}),this.Qt+=n,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 ste(e,t){if(!Va(e)||e===1/0||e===-1/0)return t;var o=Math.floor(e);return 0>o?t:o}var GF=function(e,t){var{debugEnabled:o}=t===void 0?{}:t,n={C(a){if(ge&&(Un.DEBUG||Qe.POSTHOG_DEBUG||o)&&!ze(ge.console)&&ge.console){for(var i=("__rrweb_original__"in ge.console[a])?ge.console[a].__rrweb_original__:ge.console[a],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 a=arguments.length,i=new Array(a),l=0;a>l;l++)i[l]=arguments[l];n.C("log",...i)},warn(){for(var a=arguments.length,i=new Array(a),l=0;a>l;l++)i[l]=arguments[l];n.C("warn",...i)},error(){for(var a=arguments.length,i=new Array(a),l=0;a>l;l++)i[l]=arguments[l];n.C("error",...i)},critical(){for(var a=arguments.length,i=new Array(a),l=0;a>l;l++)i[l]=arguments[l];console.error(e,...i)},uninitializedWarning(a){n.error("You must initialize PostHog before calling "+a)},createLogger:(a,i)=>GF(e+" "+a,i)};return n},Be=GF("[PostHog.js]"),vo=Be.createLogger,lte=vo("[ExternalScriptsLoader]"),Q0=(e,t,o)=>{if(e.config.disable_external_dependency_loading)return lte.warn(t+" was requested but loading of external scripts is disabled."),o("Loading of external scripts is disabled");var n=Fe?.querySelectorAll("script");if(n){for(var a,i=function(){if(n[l].src===t){var d=n[l];return d.__posthog_loading_callback_fired?{v:o()}:(d.addEventListener("load",(m=>{d.__posthog_loading_callback_fired=!0,o(void 0,m)})),d.onerror=m=>o(m),{v:void 0})}},l=0;n.length>l;l++)if(a=i())return a.v}var c=()=>{if(!Fe)return o("document not found");var d=Fe.createElement("script");if(d.type="text/javascript",d.crossOrigin="anonymous",d.src=t,d.onload=p=>{d.__posthog_loading_callback_fired=!0,o(void 0,p)},d.onerror=p=>o(p),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")Fe.head.appendChild(d);else{var m,h=Fe.querySelectorAll("body > script");h.length>0?(m=h[0].parentNode)==null||m.insertBefore(d,h[0]):Fe.body.appendChild(d)}};Fe!=null&&Fe.body?c():Fe?.addEventListener("DOMContentLoaded",c)};Qe.__PosthogExtensions__=Qe.__PosthogExtensions__||{},Qe.__PosthogExtensions__.loadExternalDependency=(e,t,o)=>{if(t!=="remote-config"){var n;if(e.config.__preview_external_dependency_versioned_paths)n=e.requestRouter.endpointFor("assets","/static/"+e.version+"/"+t+".js");else{var a="/static/"+t+".js?v="+e.version;if(t==="toolbar"){var i=3e5;a=a+"&t="+Math.floor(Date.now()/i)*i}n=e.requestRouter.endpointFor("assets",a)}Q0(e,n,o)}else{var l=e.requestRouter.endpointFor("assets","/array/"+e.config.token+"/config.js");Q0(e,l,o)}},Qe.__PosthogExtensions__.loadSiteApp=(e,t,o)=>{var n=e.requestRouter.endpointFor("api",t);Q0(e,n,o)};var KF="$people_distinct_id",bf="$device_id",Nd="__alias",Fd="__timers",W_="$autocapture_disabled_server_side",Y_="$heatmaps_enabled_server_side",Z_="$exception_capture_enabled_server_side",Q_="$error_tracking_suppression_rules",J_="$error_tracking_capture_extension_exceptions",X_="$web_vitals_enabled_server_side",dx="$dead_clicks_enabled_server_side",ew="$product_tours_enabled_server_side",tw="$web_vitals_allowed_metrics",Bd="$session_recording_remote_config",WF="$replay_override_sampling",YF="$replay_override_linked_flag",ZF="$replay_override_url_trigger",QF="$replay_override_event_trigger",yf="$sesid",mx="$session_is_sampled",Fc="$enabled_feature_flags",Fg="$active_feature_flags",jd="$early_access_features",ow="$feature_flag_details",nw="$feature_flag_payloads",aw="$feature_flag_request_id",mi="$override_feature_flags",Rc="$override_feature_flag_payloads",zd="$stored_person_properties",rl="$stored_group_properties",rw="$surveys",iw="$surveys_activated",Bg="ph_product_tours",Wd="$flag_call_reported",sw="$flag_call_reported_session_id",lw="$feature_flag_errors",Sf="$feature_flag_evaluated_at",or="$user_state",cw="$client_session_props",uw="$capture_rate_limit",dw="$initial_campaign_params",mw="$initial_referrer_info",_f="$initial_person_info",wf="$epp",JF="__POSTHOG_TOOLBAR__",mg="$posthog_cookieless",XF="$sdk_debug_extensions_init_method",eB="$sdk_debug_extensions_init_time_ms",tB="$sdk_debug_recording_script_not_loaded",px="PostHog loadExternalDependency extension not found.",il="on_reject",hi="always",yc="anonymous",Sc="identified",pw="identified_only",Cf="visibilitychange",xf="beforeunload",Dc="$pageview",J0="$pageleave",X0="$identify",AD="$groupidentify";function pg(e,t){It(e)&&e.forEach(t)}function co(e,t){if(!xt(e))if(It(e))e.forEach(t);else if(xee(e))e.forEach(((n,a)=>t(n,a)));else for(var o in e)xF.call(e,o)&&t(e[o],o)}var ko=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;t>n;n++)o[n-1]=arguments[n];for(var a of o)for(var i in a)a[i]!==void 0&&(e[i]=a[i]);return e};function jg(e){for(var t=Object.keys(e),o=t.length,n=new Array(o);o--;)n[o]=[t[o],e[t[o]]];return n}var RD=function(e){try{return e()}catch{return}},cte=function(e){return function(){try{for(var t=arguments.length,o=new Array(t),n=0;t>n;n++)o[n]=arguments[n];return e.apply(this,o)}catch(a){Be.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),Be.critical(a)}}},hx=function(e){var t={};return co(e,(function(o,n){(_o(o)&&o.length>0||Va(o))&&(t[n]=o)})),t},ute=["herokuapp.com","vercel.app","netlify.app"];function dte(e){var t=e?.hostname;if(!_o(t))return!1;var o=t.split(".").slice(-2).join(".");for(var n of ute)if(o===n)return!1;return!0}function Ho(e,t,o,n){var{capture:a=!1,passive:i=!0}=n??{};e?.addEventListener(t,o,{capture:a,passive:i})}function oB(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 Va(e)&&isFinite(e)&&Math.floor(e)===e});class Ef{constructor(t){if(this.bytes=t,t.length!==16)throw new TypeError("not 128-bit length")}static fromFieldsV7(t,o,n,a){if(!Number.isInteger(t)||!Number.isInteger(o)||!Number.isInteger(n)||!Number.isInteger(a)||0>t||0>o||0>n||0>a||t>0xffffffffffff||o>4095||n>1073741823||a>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|n>>>24,i[9]=n>>>16,i[10]=n>>>8,i[11]=n,i[12]=a>>>24,i[13]=a>>>16,i[14]=a>>>8,i[15]=a,new Ef(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 Ef(this.bytes.slice(0))}equals(t){return this.compareTo(t)===0}compareTo(t){for(var o=0;16>o;o++){var n=this.bytes[o]-t.bytes[o];if(n!==0)return Math.sign(n)}return 0}}class mte{constructor(){this.I=0,this.S=0,this.k=new pte}generate(){var t=this.generateOrAbort();if(ze(t)){this.I=0;var o=this.generateOrAbort();if(ze(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 Ef.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 DD,nB=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&&!ze(ge.crypto)&&crypto.getRandomValues&&(nB=e=>crypto.getRandomValues(e));class pte{constructor(){this.T=new Uint32Array(8),this.N=1/0}nextUint32(){return this.T.length>this.N||(nB(this.T),this.N=0),this.T[this.N++]}}var cs=()=>hte().toString(),hte=()=>(DD||(DD=new mte)).generate(),yd="",gte=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i,Dr={R:()=>!!Fe,B(e){Be.error("cookieStore error: "+e)},O(e){if(Fe){try{for(var t=e+"=",o=Fe.cookie.split(";").filter((i=>i.length)),n=0;o.length>n;n++){for(var a=o[n];a.charAt(0)==" ";)a=a.substring(1,a.length);if(a.indexOf(t)===0)return decodeURIComponent(a.substring(t.length,a.length))}}catch{}return null}},Z(e){var t;try{t=JSON.parse(Dr.O(e))||{}}catch{}return t},M(e,t,o,n,a){if(Fe)try{var i="",l="",c=(function(h,p){if(p){var f=(function(b,S){if(S===void 0&&(S=Fe),yd)return yd;if(!S||["localhost","127.0.0.1"].includes(b))return"";for(var x=b.split("."),_=Math.min(x.length,8),w="dmn_chk_"+cs();!yd&&_--;){var P=x.slice(_).join("."),T=w+"=1;domain=."+P+";path=/";S.cookie=T+";max-age=3",S.cookie.includes(w)&&(S.cookie=T+";max-age=0",yd=P)}return yd})(h);if(!f){var v=(b=>{var S=b.match(gte);return S?S[0]:""})(h);v!==f&&Be.info("Warning: cookie subdomain discovery mismatch",v,f),f=v}return f?"; domain=."+f:""}return""})(Fe.location.hostname,n);if(o){var d=new Date;d.setTime(d.getTime()+864e5*o),i="; expires="+d.toUTCString()}a&&(l="; secure");var m=e+"="+encodeURIComponent(JSON.stringify(t))+i+"; SameSite=Lax; path=/"+c+l;return m.length>3686.4&&Be.warn("cookieStore warning: large cookie, len="+m.length),Fe.cookie=m,m}catch{return}},F(e,t){if(Fe!=null&&Fe.cookie)try{Dr.M(e,"",-1,t)}catch{return}}},eS=null,So={R(){if(!xi(eS))return eS;var e=!0;if(ze(ge))e=!1;else try{var t="__mplssupport__";So.M(t,"xyz"),So.O(t)!=='"xyz"'&&(e=!1),So.F(t)}catch{e=!1}return e||Be.error("localStorage unsupported; falling back to cookie store"),eS=e,e},B(e){Be.error("localStorage error: "+e)},O(e){try{return ge?.localStorage.getItem(e)}catch(t){So.B(t)}return null},Z(e){try{return JSON.parse(So.O(e))||{}}catch{}return null},M(e,t){try{ge?.localStorage.setItem(e,JSON.stringify(t))}catch(o){So.B(o)}},F(e){try{ge?.localStorage.removeItem(e)}catch(t){So.B(t)}}},fte=[bf,"distinct_id",yf,mx,wf,_f,or],hg={},vte={R:()=>!0,B(e){Be.error("memoryStorage error: "+e)},O:e=>hg[e]||null,Z:e=>hg[e]||null,M(e,t){hg[e]=t},F(e){delete hg[e]}},el=null,fn={R(){if(!xi(el))return el;if(el=!0,ze(ge))el=!1;else try{var e="__support__";fn.M(e,"xyz"),fn.O(e)!=='"xyz"'&&(el=!1),fn.F(e)}catch{el=!1}return el},B(e){Be.error("sessionStorage error: ",e)},O(e){try{return ge?.sessionStorage.getItem(e)}catch(t){fn.B(t)}return null},Z(e){try{return JSON.parse(fn.O(e))||null}catch{}return null},M(e,t){try{ge?.sessionStorage.setItem(e,JSON.stringify(t))}catch(o){fn.B(o)}},F(e){try{ge?.sessionStorage.removeItem(e)}catch(t){fn.B(t)}}};class bte{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===hi||this.isRejected()||this.consent===-1&&this.Bt.cookieless_mode===il}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:n}=this._instance.config;return n||(o?o+t:"__ph_opt_in_out_"+t)}get ir(){var t=this.nr.O(this.sr);return K0(t)?1:Ct(kee,t)?0:-1}get nr(){var t=this.Bt.opt_out_capturing_persistence_type,o=t==="localStorage"?So:Dr;if(!this.ar||this.ar!==o){this.ar=o;var n=t==="localStorage"?Dr:So;n.O(this.sr)&&(this.ar.O(this.sr)||this.optInOut(K0(n.O(this.sr))),n.F(this.sr,this.Bt.cross_subdomain_cookie))}return this.ar}rr(){return!!this.Bt.respect_dnt&&[ya?.doNotTrack,ya?.msDoNotTrack,Qe.doNotTrack].some((t=>K0(t)))}}var gg=vo("[Dead Clicks]"),yte=()=>!0,Ste=e=>{var t,o=!((t=e.instance.persistence)==null||!t.get_property(dx)),n=e.instance.config.capture_dead_clicks;return Or(n)?n:!!Do(n)||o};class OD{get lazyLoadedDeadClicksAutocapture(){return this.lr}constructor(t,o,n){this.instance=t,this.isEnabled=o,this.onCapture=n,this.startIfEnabledOrStop()}onRemoteConfig(t){"captureDeadClicks"in t&&(this.instance.persistence&&this.instance.persistence.register({[dx]:t.captureDeadClicks}),this.startIfEnabledOrStop())}startIfEnabledOrStop(){this.isEnabled(this)?this.ur((()=>{this.hr()})):this.stop()}ur(t){var o,n;(o=Qe.__PosthogExtensions__)!=null&&o.initDeadClicksAutocapture&&t(),(n=Qe.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this.instance,"dead-clicks-autocapture",(a=>{a?gg.error("failed to load script",a):t()}))}hr(){var t;if(Fe){if(!this.lr&&(t=Qe.__PosthogExtensions__)!=null&&t.initDeadClicksAutocapture){var o=Do(this.instance.config.capture_dead_clicks)?this.instance.config.capture_dead_clicks:{};o.__onCapture=this.onCapture,this.lr=Qe.__PosthogExtensions__.initDeadClicksAutocapture(this.instance,o),this.lr.start(Fe),gg.info("starting...")}}else gg.error("`document` not found. Cannot start.")}stop(){this.lr&&(this.lr.stop(),this.lr=void 0,gg.info("stopping..."))}}var tS=vo("[SegmentIntegration]"),aB="posthog-js";function rB(e,t){var{organization:o,projectId:n,prefix:a,severityAllowList:i=["error"],sendExceptionsToPostHog:l=!0}=t===void 0?{}:t;return c=>{var d,m,h,p,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)||[],x=S.map((w=>Oe({},w,{stacktrace:w.stacktrace?Oe({},w.stacktrace,{type:"raw",frames:(w.stacktrace.frames||[]).map((P=>Oe({},P,{platform:"web:javascript"})))}):void 0}))),_={$exception_message:((m=S[0])==null?void 0:m.value)||c.message,$exception_type:(h=S[0])==null?void 0:h.type,$exception_level:c.level,$exception_list:x,$sentry_event_id:c.event_id,$sentry_exception:c.exception,$sentry_exception_message:((p=S[0])==null?void 0:p.value)||c.message,$sentry_exception_type:(f=S[0])==null?void 0:f.type,$sentry_tags:c.tags};return o&&n&&(_.$sentry_url=(a||"https://sentry.io/organizations/")+o+"/issues/?project="+n+"&query="+c.event_id),l&&((b=e.exceptions)==null||b.sendExceptionEvent(_)),c}}class _te{constructor(t,o,n,a,i,l){this.name=aB,this.setupOnce=function(c){c(rB(t,{organization:o,projectId:n,prefix:a,severityAllowList:i,sendExceptionsToPostHog:l==null||l}))}}}class ID{constructor(t){this.cr=(o,n,a)=>{a&&(a.noSessionId||a.activityTimeout||a.sessionPastMaximumLength)&&(Be.info("[PageViewManager] Session rotated, clearing pageview state",{sessionId:o,changeReason:a}),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 n,a=this.gr(t,o);return this.dr={pathname:(n=ge?.location.pathname)!==null&&n!==void 0?n:"",pageViewId:o,timestamp:t},this._instance.scrollManager.resetContext(),a}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 n=this.dr;if(!n)return{$pageview_id:o};var a={$pageview_id:o,$prev_pageview_id:n.pageViewId},i=this._instance.scrollManager.getContext();if(i&&!this._instance.config.disable_scroll_properties){var{maxScrollHeight:l,lastScrollY:c,maxScrollY:d,maxContentHeight:m,lastContentY:h,maxContentY:p}=i;if(!(ze(l)||ze(c)||ze(d)||ze(m)||ze(h)||ze(p))){l=Math.ceil(l),c=Math.ceil(c),d=Math.ceil(d),m=Math.ceil(m),h=Math.ceil(h),p=Math.ceil(p);var f=l>1?Ir(c/l,0,1,Be):1,v=l>1?Ir(d/l,0,1,Be):1,b=m>1?Ir(h/m,0,1,Be):1,S=m>1?Ir(p/m,0,1,Be):1;a=ko(a,{$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:h,$prev_pageview_last_content_percentage:b,$prev_pageview_max_content:p,$prev_pageview_max_content_percentage:S})}}return n.pathname&&(a.$prev_pageview_pathname=n.pathname),n.timestamp&&(a.$prev_pageview_duration=(t.getTime()-n.timestamp.getTime())/1e3),a}}var wte={[KF]:{exposure:"hidden"},[Nd]:{exposure:"hidden"},__cmpns:{exposure:"hidden"},[Fd]:{exposure:"hidden"},[W_]:{exposure:"event"},[Y_]:{exposure:"hidden"},[Z_]:{exposure:"event"},[Q_]:{exposure:"hidden"},[J_]:{exposure:"event"},[X_]:{exposure:"event"},[dx]:{exposure:"event"},[ew]:{exposure:"hidden"},[tw]:{exposure:"event"},[Bd]:{exposure:"hidden"},$session_recording_enabled_server_side:{exposure:"hidden"},[yf]:{exposure:"hidden"},[mx]:{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"},[Fc]:{exposure:"derived",shouldSkipFromEventProperties:(e,t)=>t(),transformToEventProperties(e){if(!Do(e))return{};for(var t={},o=Object.keys(e),n=0;o.length>n;n++)t["$feature/"+o[n]]=e[o[n]];return t}},[Fg]:{exposure:"event"},[jd]:{exposure:"hidden"},[ow]:{exposure:"hidden"},[nw]:{exposure:"event"},[aw]:{exposure:"event"},[mi]:{exposure:"event"},[Rc]:{exposure:"hidden"},[zd]:{exposure:"hidden"},[rl]:{exposure:"hidden"},[rw]:{exposure:"hidden"},[iw]:{exposure:"event"},[Bg]:{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"},[Wd]:{exposure:"hidden"},[sw]:{exposure:"hidden"},[lw]:{exposure:"hidden"},[Sf]:{exposure:"hidden"},[or]:{exposure:"hidden"},[cw]:{exposure:"hidden"},[uw]:{exposure:"hidden"},[dw]:{exposure:"hidden"},[mw]:{exposure:"hidden"},[_f]:{exposure:"hidden"},[wf]:{exposure:"hidden"},[WF]:{exposure:"event"},[YF]:{exposure:"event"},[ZF]:{exposure:"event"},[QF]:{exposure:"event"},[XF]:{exposure:"event"},[eB]:{exposure:"event"},[tB]:{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"}},Cte=[["$posthog_sr_group_event_trigger_",{exposure:"hidden"}],["$posthog_sr_group_url_trigger_",{exposure:"hidden"}],["$posthog_sr_group_sampling_",{exposure:"hidden"}]],Tf=e=>{var t=Fe?.createElement("a");return ze(t)?null:(t.href=e,t)},kf=function(e,t){for(var o,n=((e.split("#")[0]||"").split(/\?(.*)/)[1]||"").replace(/^\?+/g,"").split("&"),a=0;n.length>a;a++){var i=n[a].split("=");if(i[0]===t){o=i;break}}if(!It(o)||2>o.length)return"";var l=o[1];try{l=decodeURIComponent(l)}catch{Be.error("Skipping decoding for malformed query param: "+l)}return l.replace(/\+/g," ")},hm=function(e,t,o){if(!e||!t||!t.length)return e;for(var n=e.split("#"),a=n[1],i=(n[0]||"").split("?"),l=i[1],c=i[0],d=(l||"").split("&"),m=[],h=0;d.length>h;h++){var p=d[h].split("=");It(p)&&(t.includes(p[0])?m.push(p[0]+"="+o):m.push(d[h]))}var f=c;return l!=null&&(f+="?"+m.join("&")),a!=null&&(f+="#"+a),f},Pf=function(e,t){var o=e.match(new RegExp(t+"=([^&]*)"));return o?o[1]:null},fg="https?://(.*)",lu=["gclid","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","igshid","ttclid","rdt_cid","epik","qclid","sccid","irclid","_kx"],xte=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gad_source","mc_cid",...lu],gm="<masked>",Ete=["li_fat_id"];function iB(e,t,o){if(!Fe)return{};var n,a=t?[...lu,...o||[]]:[],i=sB(hm(Fe.URL,a,gm),e),l=(n={},co(Ete,(function(c){var d=Dr.O(c);n[c]=d||null})),n);return ko(l,i)}function sB(e,t){var o=xte.concat(t||[]),n={};return co(o,(function(a){var i=kf(e,a);n[a]=i||null})),n}function lB(e){var t=(function(i){return i?i.search(fg+"google.([^/?]*)")===0?"google":i.search(fg+"bing.com")===0?"bing":i.search(fg+"yahoo.com")===0?"yahoo":i.search(fg+"duckduckgo.com")===0?"duckduckgo":null:null})(e),o=t!="yahoo"?"q":"p",n={};if(!xi(t)){n.$search_engine=t;var a=Fe?kf(Fe.referrer,o):"";a.length&&(n.ph_keyword=a)}return n}function MD(){return navigator.language||navigator.userLanguage}var Af="$direct";function cB(){return Fe?.referrer||Af}function uB(e,t){var o=e?[...lu,...t||[]]:[],n=gn?.href.substring(0,1e3);return{r:cB().substring(0,1e3),u:n?hm(n,o,gm):void 0}}function dB(e){var t,{r:o,u:n}=e,a={$referrer:o,$referring_domain:o==null?void 0:o==Af?Af:(t=Tf(o))==null?void 0:t.host};if(n){a.$current_url=n;var i=Tf(n);a.$host=i?.host,a.$pathname=i?.pathname;var l=sB(n);ko(a,l)}if(o){var c=lB(o);ko(a,c)}return a}function mB(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return}}function Tte(){try{return new Date().getTimezoneOffset()}catch{return}}var kte=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"];class oS{constructor(t,o){this.Bt=t,this.props={},this.mr=!1,this.yr=(n=>{var a="";return n.token&&(a=n.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),n.persistence_name?"ph_"+n.persistence_name:"ph_"+a+"_posthog"})(t),this.nr=this.br(t),this.load(),t.debug&&Be.info("Persistence loaded",t.persistence,Oe({},this.props)),this.update_config(t,t,o),this.save()}isDisabled(){return!!this._r}br(t){kte.indexOf(t.persistence.toLowerCase())===-1&&(Be.critical("Unknown persistence type "+t.persistence+"; falling back to localStorage+cookie"),t.persistence="localStorage+cookie");var o=(function(a){a===void 0&&(a=[]);var i=[...fte,...a];return Oe({},So,{Z(l){try{var c={};try{c=Dr.Z(l)||{}}catch{}var d=ko(c,JSON.parse(So.O(l)||"{}"));return So.M(l,d),d}catch{}return null},M(l,c,d,m,h,p){try{So.M(l,c,void 0,void 0,p);var f={};i.forEach((v=>{c[v]&&(f[v]=c[v])})),Object.keys(f).length&&Dr.M(l,f,d,m,h,p)}catch(v){So.B(v)}},F(l,c){try{ge?.localStorage.removeItem(l),Dr.F(l,c)}catch(d){So.B(d)}}})})(t.cookie_persisted_properties||[]),n=t.persistence.toLowerCase();return n==="localstorage"&&So.R()?So:n==="localstorage+cookie"&&o.R()?o:n==="sessionstorage"&&fn.R()?fn:n==="memory"?vte:n==="cookie"?Dr:o.R()?o:Dr}wr(t){var o=t??this.Bt.feature_flag_cache_ttl_ms;if(!o||0>=o)return!1;var n=this.props[Sf];return!n||typeof n!="number"||Date.now()-n>o}properties(){var t={};return co(this.props,((o,n)=>{var a=(i=>{var l=wte[i];if(l)return l;for(var[c,d]of Cte)if(i.indexOf(c)===0)return d})(n);if(a?.exposure==="derived"){if(a.shouldSkipFromEventProperties!=null&&a.shouldSkipFromEventProperties(o,n===Fc?()=>this.wr():()=>!1))return;a.transformToEventProperties&&ko(t,a.transformToEventProperties(o))}else a&&a.exposure!=="event"||(t[n]=o)})),t}load(){if(!this._r){var t=this.nr.Z(this.yr);t&&(this.props=ko({},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,n){if(Do(t)){ze(o)&&(o="None"),this.Ir=ze(n)?this.kr:n;var a=!1;if(co(t,((i,l)=>{this.props.hasOwnProperty(l)&&this.props[l]!==o||(this.Tr(l,i),a=!0)})),a)return this.save(),!0}return!1}register(t,o){if(Do(t)){this.Ir=ze(o)?this.kr:o;var n=!1;if(co(t,((a,i)=>{t.hasOwnProperty(i)&&this.props[i]!==a&&(this.Tr(i,a),n=!0)})),n)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=iB(this.Bt.custom_campaign_params,this.Bt.mask_personal_data_properties,this.Bt.custom_personal_data_properties);Nc(hx(t))||this.register(t),this.mr=!0}}update_search_keyword(){var t;this.register((t=Fe?.referrer)?lB(t):{})}update_referrer_info(){var t;this.register_once({$referrer:cB(),$referring_domain:Fe!=null&&Fe.referrer&&((t=Tf(Fe.referrer))==null?void 0:t.host)||Af},void 0)}set_initial_person_info(){this.props[dw]||this.props[mw]||this.register_once({[_f]:uB(this.Bt.mask_personal_data_properties,this.Bt.custom_personal_data_properties)},void 0)}get_initial_props(){var t={};co([mw,dw],(l=>{var c=this.props[l];c&&co(c,(function(d,m){t["$initial_"+q_(m)]=d}))}));var o,n,a=this.props[_f];if(a){var i=(o=dB(a),n={},co(o,(function(l,c){n["$initial_"+q_(c)]=l})),n);ko(t,i)}return t}safe_merge(t){return co(this.props,(function(o,n){n in t||(t[n]=o)})),t}update_config(t,o,n){if(this.kr=this.Ir=t.cookie_expiration,this.set_disabled(t.disable_persistence||!!n),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(),m=[...c].sort();return d.every(((h,p)=>h===m[p]))})(t.cookie_persisted_properties||[],o.cookie_persisted_properties||[])){var a=this.br(t),i=this.props;this.clear(),this.nr=a,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 n=this.props[Fd]||{};n[t]=o,this.Tr(Fd,n),this.save()}remove_event_timer(t){var o=this.props[Fd]||{},n=o[t];return ze(n)||(delete o[t],this.Tr(Fd,o),this.save()),n}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 Sd={Activation:"events",Cancellation:"cancelEvents"},nS={Popover:"popover",API:"api",Widget:"widget"},Ud={SHOWN:"survey shown",DISMISSED:"survey dismissed",SENT:"survey sent"},aS={SURVEY_ID:"$survey_id",SURVEY_ITERATION:"$survey_iteration",SURVEY_LAST_SEEN_DATE:"$survey_last_seen_date"},hw={Popover:"popover",Inline:"inline"},Pte={SHOWN:"product tour shown"},LD={TOUR_LAST_SEEN_DATE:"$product_tour_last_seen_date",TOUR_TYPE:"$product_tour_type"},ND=vo("[RateLimiter]");class Ate{constructor(t){this.serverLimits={},this.lastEventRateLimited=!1,this.checkForLimiting=o=>{var n=o.text;if(n&&n.length)try{(JSON.parse(n).quota_limited||[]).forEach((a=>{ND.info((a||"events")+" is quota limited."),this.serverLimits[a]=new Date().getTime()+6e4}))}catch(a){return void ND.warn('could not rate limit - continuing. Error: "'+a?.message+'"',{text:n})}},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,n,a;t===void 0&&(t=!1);var{captureEventsBurstLimit:i,captureEventsPerSecond:l}=this,c=new Date().getTime(),d=(o=(n=this.instance.persistence)==null?void 0:n.get_property(uw))!==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 m=1>d.tokens;return m||t||(d.tokens=Math.max(0,d.tokens-1)),!m||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=m,(a=this.instance.persistence)==null||a.set_property(uw,d),{isRateLimited:m,remainingTokens:d.tokens}}isServerRateLimited(t){var o=this.serverLimits[t||"events"]||!1;return o!==!1&&new Date().getTime()<o}}var _d=vo("[RemoteConfig]");class pB{constructor(t){this._instance=t}get remoteConfig(){var t;return(t=Qe._POSTHOG_REMOTE_CONFIG)==null||(t=t[this._instance.config.token])==null?void 0:t.config}Er(t){var o,n;(o=Qe.__PosthogExtensions__)!=null&&o.loadExternalDependency?(n=Qe.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.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 _d.info("Using preloaded remote config",this.remoteConfig),this.Nr(this.remoteConfig),void this.Mr();if(this._instance.Fr())return void _d.warn("Remote config is disabled. Falling back to local config.");this.Er((t=>{if(!t)return _d.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){_d.error("Error loading remote config",t)}}stop(){this.Or&&(clearInterval(this.Or),this.Or=void 0)}refresh(){this._instance.Fr()||Fe?.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||_d.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 kr={GZipJS:"gzip-js",Base64:"base64"},$a=Uint8Array,oa=Uint16Array,cu=Uint32Array,gx=new $a([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]),fx=new $a([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]),FD=new $a([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),hB=function(e,t){for(var o=new oa(31),n=0;31>n;++n)o[n]=t+=1<<e[n-1];var a=new cu(o[30]);for(n=1;30>n;++n)for(var i=o[n];o[n+1]>i;++i)a[i]=i-o[n]<<5|n;return[o,a]},gB=hB(gx,2),gw=gB[1];gB[0][28]=258,gw[258]=28;for(var BD=hB(fx,0)[1],fB=new oa(32768),uo=0;32768>uo;++uo){var _c=(43690&uo)>>>1|(21845&uo)<<1;fB[uo]=((65280&(_c=(61680&(_c=(52428&_c)>>>2|(13107&_c)<<2))>>>4|(3855&_c)<<4))>>>8|(255&_c)<<8)>>>1}var Yd=function(e,t,o){for(var n=e.length,a=0,i=new oa(t);n>a;++a)++i[e[a]-1];var l,c=new oa(t);for(a=0;t>a;++a)c[a]=c[a-1]+i[a-1]<<1;for(l=new oa(n),a=0;n>a;++a)l[a]=fB[c[e[a]-1]++]>>>15-e[a];return l},bl=new $a(288);for(uo=0;144>uo;++uo)bl[uo]=8;for(uo=144;256>uo;++uo)bl[uo]=9;for(uo=256;280>uo;++uo)bl[uo]=7;for(uo=280;288>uo;++uo)bl[uo]=8;var Rf=new $a(32);for(uo=0;32>uo;++uo)Rf[uo]=5;var Rte=Yd(bl,9),Dte=Yd(Rf,5),vB=function(e){return(e/8>>0)+(7&e&&1)},bB=function(e,t,o){(o==null||o>e.length)&&(o=e.length);var n=new(e instanceof oa?oa:e instanceof cu?cu:$a)(o-t);return n.set(e.subarray(t,o)),n},ui=function(e,t,o){var n=t/8>>0;e[n]|=o<<=7&t,e[n+1]|=o>>>8},wd=function(e,t,o){var n=t/8>>0;e[n]|=o<<=7&t,e[n+1]|=o>>>8,e[n+2]|=o>>>16},rS=function(e,t){for(var o=[],n=0;e.length>n;++n)e[n]&&o.push({s:n,f:e[n]});var a=o.length,i=o.slice();if(!a)return[new $a(0),0];if(a==1){var l=new $a(o[0].s+1);return l[o[0].s]=1,[l,1]}o.sort((function(k,R){return k.f-R.f})),o.push({s:-1,f:25001});var c=o[0],d=o[1],m=0,h=1,p=2;for(o[0]={s:-1,f:c.f+d.f,l:c,r:d};h!=a-1;)c=o[o[p].f>o[m].f?m++:p++],d=o[m!=h&&o[p].f>o[m].f?m++:p++],o[h++]={s:-1,f:c.f+d.f,l:c,r:d};var f=i[0].s;for(n=1;a>n;++n)i[n].s>f&&(f=i[n].s);var v=new oa(f+1),b=fw(o[h-1],v,0);if(b>t){n=0;var S=0,x=b-t,_=1<<x;for(i.sort((function(k,R){return v[R.s]-v[k.s]||k.f-R.f}));a>n;++n){var w=i[n].s;if(t>=v[w])break;S+=_-(1<<b-v[w]),v[w]=t}for(S>>>=x;S>0;){var P=i[n].s;t>v[P]?S-=1<<t-v[P]++-1:++n}for(;n>=0&&S;--n){var T=i[n].s;v[T]==t&&(--v[T],++S)}b=t}return[new $a(v),b]},fw=function(e,t,o){return e.s==-1?Math.max(fw(e.l,t,o+1),fw(e.r,t,o+1)):t[e.s]=o},jD=function(e){for(var t=e.length;t&&!e[--t];);for(var o=new oa(++t),n=0,a=e[0],i=1,l=function(d){o[n++]=d},c=1;t>=c;++c)if(e[c]==a&&c!=t)++i;else{if(!a&&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(a),--i;i>6;i-=6)l(8304);i>2&&(l(i-3<<5|8208),i=0)}for(;i--;)l(a);i=1,a=e[c]}return[o.subarray(0,n),t]},Cd=function(e,t){for(var o=0,n=0;t.length>n;++n)o+=e[n]*t[n];return o},vw=function(e,t,o){var n=o.length,a=vB(t+2);e[a]=255&n,e[a+1]=n>>>8,e[a+2]=255^e[a],e[a+3]=255^e[a+1];for(var i=0;n>i;++i)e[a+i+4]=o[i];return 8*(a+4+n)},zD=function(e,t,o,n,a,i,l,c,d,m,h){ui(t,h++,o),++a[256];for(var p=rS(a,15),f=p[0],v=p[1],b=rS(i,15),S=b[0],x=b[1],_=jD(f),w=_[0],P=_[1],T=jD(S),k=T[0],R=T[1],D=new oa(19),O=0;w.length>O;++O)D[31&w[O]]++;for(O=0;k.length>O;++O)D[31&k[O]]++;for(var L=rS(D,7),U=L[0],F=L[1],$=19;$>4&&!U[FD[$-1]];--$);var j,K,ae,V,Z=m+5<<3,te=Cd(a,bl)+Cd(i,Rf)+l,le=Cd(a,f)+Cd(i,S)+l+14+3*$+Cd(D,U)+(2*D[16]+3*D[17]+7*D[18]);if(te>=Z&&le>=Z)return vw(t,h,e.subarray(d,d+m));if(ui(t,h,1+(te>le)),h+=2,te>le){j=Yd(f,v),K=f,ae=Yd(S,x),V=S;var Q=Yd(U,F);for(ui(t,h,P-257),ui(t,h+5,R-1),ui(t,h+10,$-4),h+=14,O=0;$>O;++O)ui(t,h+3*O,U[FD[O]]);h+=3*$;for(var M=[w,k],H=0;2>H;++H){var q=M[H];for(O=0;q.length>O;++O)ui(t,h,Q[N=31&q[O]]),h+=U[N],N>15&&(ui(t,h,q[O]>>>5&127),h+=q[O]>>>12)}}else j=Rte,K=bl,ae=Dte,V=Rf;for(O=0;c>O;++O)if(n[O]>255){var N;wd(t,h,j[257+(N=n[O]>>>18&31)]),h+=K[N+257],N>7&&(ui(t,h,n[O]>>>23&31),h+=gx[N]);var z=31&n[O];wd(t,h,ae[z]),h+=V[z],z>3&&(wd(t,h,n[O]>>>5&8191),h+=fx[z])}else wd(t,h,j[n[O]]),h+=K[n[O]];return wd(t,h,j[256]),h+K[256]},Ote=new cu([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Ite=(function(){for(var e=new cu(256),t=0;256>t;++t){for(var o=t,n=9;--n;)o=(1&o&&3988292384)^o>>>1;e[t]=o}return e})(),iS=function(e,t,o){for(;o;++t)e[t]=o,o>>>=8};function Mte(e,t){t===void 0&&(t={});var o=(function(){var p=4294967295;return{p(f){for(var v=p,b=0;f.length>b;++b)v=Ite[255&v^f[b]]^v>>>8;p=v},d(){return 4294967295^p}}})(),n=e.length;o.p(e);var a,i,l,c,d,m=(c=10+((a=t).filename&&a.filename.length+1||0),d=8,(function(p,f,v,b,S,x){var _=p.length,w=new $a(b+_+5*(1+Math.floor(_/7e3))+S),P=w.subarray(b,w.length-S),T=0;if(!f||8>_)for(var k=0;_>=k;k+=65535){var R=k+65535;_>R?T=vw(P,T,p.subarray(k,R)):(P[k]=!0,T=vw(P,T,p.subarray(k,_)))}else{for(var D=Ote[f-1],O=D>>>13,L=8191&D,U=(1<<v)-1,F=new oa(32768),$=new oa(U+1),j=Math.ceil(v/3),K=2*j,ae=function($e){return(p[$e]^p[$e+1]<<j^p[$e+2]<<K)&U},V=new cu(25e3),Z=new oa(288),te=new oa(32),le=0,Q=0,M=(k=0,0),H=0,q=0;_>k;++k){var N=ae(k),z=32767&k,J=$[N];if(F[z]=J,$[N]=z,k>=H){var me=_-k;if((le>7e3||M>24576)&&me>423){T=zD(p,P,0,V,Z,te,Q,M,q,k-q,T),M=le=Q=0,q=k;for(var he=0;286>he;++he)Z[he]=0;for(he=0;30>he;++he)te[he]=0}var Ce=2,je=0,Y=L,ne=z-J&32767;if(me>2&&N==ae(k-ne))for(var ve=Math.min(O,me)-1,ie=Math.min(32767,k),_e=Math.min(258,me);ie>=ne&&--Y&&z!=J;){if(p[k+Ce]==p[k+Ce-ne]){for(var Ee=0;_e>Ee&&p[k+Ee]==p[k+Ee-ne];++Ee);if(Ee>Ce){if(Ce=Ee,je=ne,Ee>ve)break;var ot=Math.min(ne,Ee-2),at=0;for(he=0;ot>he;++he){var qe=k-ne+he+32768&32767,Je=qe-F[qe]+32768&32767;Je>at&&(at=Je,J=qe)}}}ne+=(z=J)-(J=F[z])+32768&32767}if(je){V[M++]=268435456|gw[Ce]<<18|BD[je];var De=31&gw[Ce],Re=31&BD[je];Q+=gx[De]+fx[Re],++Z[257+De],++te[Re],H=k+Ce,++le}else V[M++]=p[k],++Z[p[k]]}}T=zD(p,P,!0,V,Z,te,Q,M,q,k-q,T)}return bB(w,0,b+vB(T)+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)),h=m.length;return(function(p,f){var v=f.filename;if(p[0]=31,p[1]=139,p[2]=8,p[8]=2>f.level?4:f.level==9?2:0,p[9]=3,f.mtime!=0&&iS(p,4,Math.floor(new Date(f.mtime||Date.now())/1e3)),v){p[3]=8;for(var b=0;v.length>=b;++b)p[b+10]=v.charCodeAt(b)}})(m,t),iS(m,h-8,o.d()),iS(m,h-4,n),m}var Lte=!!U_||!!z_,yB="text/plain",UD=!1,xv=function(e,t,o){var n;o===void 0&&(o=!0);var[a,i]=e.split("?"),l=Oe({},t),c=(n=i?.split("&").map((m=>{var h,[p,f]=m.split("="),v=o&&(h=l[p])!==null&&h!==void 0?h:f;return delete l[p],p+"="+v})))!==null&&n!==void 0?n:[],d=(function(m,h){var p,f;h===void 0&&(h="&");var v=[];return co(m,(function(b,S){ze(b)||ze(S)||S==="undefined"||(p=encodeURIComponent((x=>x instanceof File)(b)?b.name:b.toString()),f=encodeURIComponent(S),v[v.length]=f+"="+p)})),v.join(h)})(l);return d&&c.push(d),a+"?"+c.join("&")},Bc=(e,t)=>JSON.stringify(e,((o,n)=>typeof n=="bigint"?n.toString():n),t),sS=e=>{if(e.tr)return e.tr;var{data:t,compression:o}=e;if(t){if(o===kr.GZipJS){var n=Mte((function(c,d){var m=c.length;if(typeof TextEncoder<"u")return new TextEncoder().encode(c);for(var h=new $a(c.length+(c.length>>>1)),p=0,f=function(x){h[p++]=x},v=0;m>v;++v){if(p+5>h.length){var b=new $a(p+8+(m-v<<1));b.set(h),h=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 bB(h,0,p)})(Bc(t)),{mtime:0});return{contentType:yB,body:n.buffer.slice(n.byteOffset,n.byteOffset+n.byteLength),estimatedSize:n.byteLength}}if(o===kr.Base64){var a=(function(c){return c&&btoa(encodeURIComponent(c).replace(/%([0-9A-F]{2})/g,((d,m)=>String.fromCharCode(parseInt(m,16)))))})(Bc(t)),i=(c=>"data="+encodeURIComponent(typeof c=="string"?c:Bc(c)))(a);return{contentType:"application/x-www-form-urlencoded",body:i,estimatedSize:new Blob([i]).size}}var l=Bc(t);return{contentType:"application/json",body:l,estimatedSize:new Blob([l]).size}}},Nte=(function(){var e=ja((function*(t){var o=Bc(t.data),n=yield(function(i,l,c){return $_.apply(this,arguments)})(o,Un.DEBUG,{rethrow:!0});if(!n)return t;var a=yield n.arrayBuffer();return Oe({},t,{tr:{contentType:yB,body:a,estimatedSize:a.byteLength}})}));return function(t){return e.apply(this,arguments)}})(),$D=(e,t)=>xv(e,{_:new Date().getTime().toString(),ver:Un.JS_SDK_VERSION,compression:t}),zg=[];z_&&zg.push({transport:"fetch",method(e){var t,o,{contentType:n,body:a,estimatedSize:i}=(t=sS(e))!==null&&t!==void 0?t:{},l=new Headers;co(e.headers,(function(h,p){l.append(p,h)})),n&&l.append("Content-Type",n);var c=e.url,d=null;if(yD){var m=new yD;d={signal:m.signal,timeout:setTimeout((()=>m.abort()),e.timeout)}}z_(c,Oe({method:e?.method||"GET",headers:l,keepalive:e.method==="POST"&&52428.8>(i||0),body:a,signal:(o=d)==null?void 0:o.signal},e.fetchOptions)).then((h=>h.text().then((p=>{var f={statusCode:h.status,text:p};if(h.status===200)try{f.json=JSON.parse(p)}catch(v){Be.error(v)}e.callback==null||e.callback(f)})))).catch((h=>{Be.error(h),e.callback==null||e.callback({statusCode:0,error:h})})).finally((()=>d?clearTimeout(d.timeout):null))}}),U_&&zg.push({transport:"XHR",method(e){var t,o=new U_;o.open(e.method||"GET",e.url,!0);var{contentType:n,body:a}=(t=sS(e))!==null&&t!==void 0?t:{};co(e.headers,(function(i,l){o.setRequestHeader(l,i)})),n&&o.setRequestHeader("Content-Type",n),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(a)}}),ya!=null&&ya.sendBeacon&&zg.push({transport:"sendBeacon",method(e){var t=xv(e.url,{beacon:"1"});try{var o,{contentType:n,body:a}=(o=sS(e))!==null&&o!==void 0?o:{};if(!a)return;var i=a instanceof Blob?a:new Blob([a],{type:n});ya.sendBeacon(t,i)}catch{}}});var bw=3e3;class Fte{constructor(t,o){this.Pr=!0,this.Lr=[],this.Dr=Ir(o?.flush_interval_ms||bw,250,5e3,Be.createLogger("flush interval"),bw),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((n=>n.url.indexOf("/e")===0)),...o.filter((n=>n.url.indexOf("/e")!==0))].map((n=>{this.Br(Oe({},n,{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(),n=function(){var i=o[a],l=new Date().getTime();i.data&&It(i.data)&&co(i.data,(c=>{c.offset=Math.abs(c.timestamp-l),delete c.timestamp})),t.Br(i)};for(var a in o)n()}}),this.Dr))}qr(){clearTimeout(this.jr),this.jr=void 0}Zr(){var t={};return co(this.Lr,(o=>{var n,a=o,i=(a?a.batchKey:null)||a.url;ze(t[i])&&(t[i]=Oe({},a,{data:[]})),(n=t[i].data)==null||n.push(a.data)})),this.Lr=[],t}}var Bte=["retriesPerformedSoFar"];class jte{constructor(t){this.Vr=!1,this.Hr=3e3,this.Lr=[],this._instance=t,this.Lr=[],this.zr=!0,!ze(ge)&&"onLine"in ge.navigator&&(this.zr=ge.navigator.onLine,this.Ur=()=>{this.zr=!0,this.Yr()},this.Gr=()=>{this.zr=!1},Ho(ge,"online",this.Ur),Ho(ge,"offline",this.Gr))}get length(){return this.Lr.length}retriableRequest(t){var{retriesPerformedSoFar:o}=t,n=wF(t,Bte);Ac(o)&&(n.url=xv(n.url,{retry_count:o})),this._instance._send_request(Oe({},n,{callback:a=>{a.statusCode===200||a.statusCode>=400&&500>a.statusCode||(o??0)>=10?n.callback==null||n.callback(a):this.Wr(Oe({retriesPerformedSoFar:o},n))}}))}Wr(t){var o=t.retriesPerformedSoFar||0;t.retriesPerformedSoFar=o+1;var n=(function(l){var c=3e3*Math.pow(2,l),d=c/2,m=Math.min(18e5,c),h=Math.random()-.5;return Math.ceil(m+h*(m-d))})(o),a=Date.now()+n;this.Lr.push({retryAt:a,requestOptions:t});var i="Enqueued failed request for retry in "+n;navigator.onLine||(i+=" (Browser is offline)"),Be.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=[],n=this.Lr.filter((i=>t>i.retryAt||(o.push(i),!1)));if(this.Lr=o,n.length>0)for(var{requestOptions:a}of n)this.retriableRequest(a)}unload(){for(var{requestOptions:t}of(this.Jr&&(clearTimeout(this.Jr),this.Jr=void 0),this.Vr=!1,ze(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(Oe({},t,{transport:"sendBeacon"}))}catch(o){Be.error(o)}this.Lr=[]}}class zte{constructor(t){this.Kr=()=>{var o,n,a,i;this.Qr||(this.Qr={});var l=this.scrollElement(),c=this.scrollY(),d=l?Math.max(0,l.scrollHeight-l.clientHeight):0,m=c+(l?.clientHeight||0),h=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,(n=this.Qr.maxScrollHeight)!==null&&n!==void 0?n:0),this.Qr.lastContentY=m,this.Qr.maxContentY=Math.max(m,(a=this.Qr.maxContentY)!==null&&a!==void 0?a:0),this.Qr.maxContentHeight=Math.max(h,(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(){Ho(ge,"scroll",this.Kr,{capture:!0}),Ho(ge,"scrollend",this.Kr,{capture:!0}),Ho(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 n=ge?.document.querySelector(o);if(n)return n}}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 Ute=e=>uB(e?.config.mask_personal_data_properties,e?.config.custom_personal_data_properties);class qD{constructor(t,o,n,a){this.ti=i=>{var l=this.ri();if(!l||l.sessionId!==i){var c={sessionId:i,props:this.ii(this._instance)};this.ni.register({[cw]:c})}},this._instance=t,this.si=o,this.ni=n,this.ii=a||Ute,this.si.onSessionId(this.ti)}ri(){return this.ni.props[cw]}getSetOnceProps(){var t,o=(t=this.ri())==null?void 0:t.props;return o?"r"in o?dB(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 co(hx(this.getSetOnceProps()),((o,n)=>{n==="$current_url"&&(n="url"),t["$session_entry_"+q_(n)]=o})),t}}class vx{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((n=>n!==o))}}emit(t,o){for(var n of this.oi[t]||[])n(o);for(var a of this.oi["*"]||[])a(t,o)}}var lS=vo("[SessionId]");class VD{on(t,o){return this.ai.on(t,o)}constructor(t,o,n){var a;if(this.li=[],this.ui=void 0,this.ai=new vx,this.hi=(m,h)=>!(!Ac(m)||!Ac(h))&&Math.abs(m-h)>this.sessionTimeoutMs,!t.persistence)throw new Error("SessionIdManager requires a PostHogPersistence instance");if(t.config.cookieless_mode===hi)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||cs,this.fi=n||cs;var i=this.Bt.persistence_name||this.Bt.token;if(this._sessionTimeoutMs=1e3*Ir(this.Bt.session_idle_timeout_seconds||1800,60,36e3,lS.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=fn.Z(this.gi),c=fn.Z(this.mi);l&&!c?this.ci=l:fn.F(this.gi),fn.M(this.mi,!0)}if((a=this.Bt.bootstrap)!=null&&a.sessionID)try{var d=(m=>{var h=this.Bt.bootstrap.sessionID.replace(/-/g,"");if(h.length!==32)throw new Error("Not a valid UUID");if(h[12]!=="7")throw new Error("Not a UUIDv7");return parseInt(h.substring(0,12),16)})();this.bi(this.Bt.bootstrap.sessionID,new Date().getTime(),d)}catch(m){lS.error("Invalid sessionID in bootstrap",m)}this.wi()}get sessionTimeoutMs(){return this._sessionTimeoutMs}onSessionId(t){return ze(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&&fn.R()}Ii(t){t!==this.ci&&(this.ci=t,this.yi()&&fn.M(this.gi,t))}Ci(){return this.ci?this.ci:this.yi()?fn.Z(this.gi):null}bi(t,o,n){t===this.di&&o===this._sessionActivityTimestamp&&n===this._sessionStartTimestamp||(this._sessionStartTimestamp=n,this._sessionActivityTimestamp=o,this.di=t,this.ni.register({[yf]:[o,t,n]}))}Si(){var t=this.ni.props[yf];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(xf,this.ui,{capture:!1}),this.ui=void 0),this.li=[]}wi(){this.ui=()=>{this.yi()&&fn.F(this.mi)},Ho(ge,xf,this.ui,{capture:!1})}checkAndGetSessionAndWindowId(t,o){if(t===void 0&&(t=!1),o===void 0&&(o=null),this.Bt.cookieless_mode===hi)throw new Error('checkAndGetSessionAndWindowId should not be called with cookieless_mode="always"');var n=o||new Date().getTime(),[a,i,l]=this.Si(),c=this.Ci(),d=Ac(l)&&Math.abs(n-l)>864e5,m=!1,h=!i,p=!h&&!t&&this.hi(n,a);h||p||d?(i=this.vi(),c=this.fi(),lS.info("new session ID generated",{sessionId:i,windowId:c,changeReason:{noSessionId:h,activityTimeout:p,sessionPastMaximumLength:d}}),l=n,m=!0):c||(c=this.fi(),m=!0);var f=Ac(a)&&t&&!d?a:n,v=Ac(l)?l:new Date().getTime();return this.Ii(c),this.bi(i,f,v),t||this.pi(),m&&this.li.forEach((b=>b(i,c,m?{noSessionId:h,activityTimeout:p,sessionPastMaximumLength:d}:void 0))),{sessionId:i,windowId:c,sessionStartTimestamp:v,changeReason:m?{noSessionId:h,activityTimeout:p,sessionPastMaximumLength:d}:void 0,lastActivityTimestamp:a}}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 SB=function(e,t){if(!e)return!1;var o=e.userAgent;if(o&&wD(o,t))return!0;try{var n=e?.userAgentData;if(n!=null&&n.brands&&n.brands.some((a=>wD(a?.brand,t))))return!0}catch{}return!!e.webdriver},Df=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 HD(e,t,o){return Bc({distinct_id:e,userPropertiesToSet:t,userPropertiesToSetOnce:o})}var _B={exact:(e,t)=>t.some((o=>e.some((n=>o===n)))),is_not:(e,t)=>t.every((o=>e.every((n=>o!==n)))),regex:(e,t)=>t.some((o=>e.some((n=>Df(o,n))))),not_regex:(e,t)=>t.every((o=>e.every((n=>!Df(o,n))))),icontains:(e,t)=>t.map(vg).some((o=>e.map(vg).some((n=>o.includes(n))))),not_icontains:(e,t)=>t.map(vg).every((o=>e.map(vg).every((n=>!o.includes(n))))),gt:(e,t)=>t.some((o=>{var n=parseFloat(o);return!isNaN(n)&&e.some((a=>n>parseFloat(a)))})),lt:(e,t)=>t.some((o=>{var n=parseFloat(o);return!isNaN(n)&&e.some((a=>n<parseFloat(a)))}))},vg=e=>e.toLowerCase();function wB(e,t){return!e||Object.entries(e).every((o=>{var[n,a]=o,i=t?.[n];if(ze(i)||xi(i))return!1;var l=[String(i)],c=_B[a.operator];return!!c&&c(a.values,l)}))}var yw="custom",GD="i.posthog.com",$te=/^\/static\//;class qte{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("."+GD,".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":yw),this.ki[this.apiHost]}Ti(t){var o=this.instance.config.__preview_external_dependency_versioned_paths;if(typeof o=="string"&&$te.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 n=this.Ti(o);if(n)return""+n+o}if(this.region===yw)return this.apiHost+o;var a=GD+o;switch(t){case"assets":return"https://"+this.region+"-assets."+a;case"api":return"https://"+this.region+"."+a}}}var Jt=vo("[Surveys]"),Sw="seenSurvey_",Vte=[nS.Popover,nS.Widget,nS.API],Hte={ignoreConditions:!1,ignoreDelay:!1,displayType:hw.Popover},Gte=vo("[PostHog ExternalIntegrations]"),Kte={intercom:"intercom-integration",crispChat:"crisp-chat-integration"};class Wte{constructor(t){this._instance=t}ur(t,o){var n;(n=Qe.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,t,(a=>{if(a)return Gte.error("failed to load script",a);o()}))}startIfEnabledOrStop(){var t=this,o=function(l){var c,d,m;!a||(c=Qe.__PosthogExtensions__)!=null&&(c=c.integrations)!=null&&c[l]||t.ur(Kte[l],(()=>{var h;(h=Qe.__PosthogExtensions__)==null||(h=h.integrations)==null||(h=h[l])==null||h.start(t._instance)})),!a&&(d=Qe.__PosthogExtensions__)!=null&&(d=d.integrations)!=null&&d[l]&&((m=Qe.__PosthogExtensions__)==null||(m=m.integrations)==null||(m=m[l])==null||m.stop())};for(var[n,a]of Object.entries((i=this._instance.config.integrations)!==null&&i!==void 0?i:{})){var i;o(n)}}}var wc,Zd={},cS=0,_w=()=>{},KD='Consent opt in/out is not valid with cookieless_mode="always" and will be ignored',xd="Surveys module not available",WD="sanitize_properties is deprecated. Use before_send instead",CB="Invalid value for property_denylist config: ",Oc="posthog",xB=!Lte&&Xn?.indexOf("MSIE")===-1&&Xn?.indexOf("Mozilla")===-1,YD=e=>{var t;return Oe({api_host:"https://us.i.posthog.com",flags_api_host:null,ui_host:null,token:"",autocapture:!0,cross_subdomain_cookie:dte(Fe?.location),persistence:"localStorage+cookie",persistence_name:"",cookie_persisted_properties:[],loaded:_w,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:gn&&_o(gn?.search)&&gn.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){Be.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:pw,before_send:void 0,request_queue_config:{flush_interval_ms:bw},error_tracking:{},_onCapture:_w,__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))},Yte=[["process_person","person_profiles"],["xhr_headers","request_headers"],["cookie_name","persistence_name"],["disable_cookie","disable_persistence"],["store_google","save_campaign_params"],["verbose","debug"]],ZD=e=>{var t={};for(var[o,n]of Yte)ze(e[o])||(t[n]=e[o]);var a=ko({},t,e);return It(e.property_blacklist)&&(ze(e.property_denylist)?a.property_denylist=e.property_blacklist:It(e.property_denylist)?a.property_denylist=[...e.property_blacklist,...e.property_denylist]:Be.error(CB+e.property_denylist)),a};class Zte{constructor(){this.__forceAllowLocalhost=!1}get Ai(){return this.__forceAllowLocalhost}set Ai(t){Be.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=t}}class za{Ei(t,o){if(t){var n=this.Ri.indexOf(t);n!==-1&&this.Ri.splice(n,1)}return this.Ri.push(o),o.initialize==null||o.initialize(),o}Ni(){return this.config.cookieless_mode===hi||this.config.cookieless_mode===il&&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 Zte,this.Mi=!1,this.version=Un.LIB_VERSION,this.Fi=new vx,this.Ri=[],this._calculate_event_properties=this.calculateEventProperties.bind(this),this.config=YD(),this.SentryIntegration=_te,this.sentryIntegration=n=>(function(a,i){var l=rB(a,i);return{name:aB,processEvent:c=>l(c)}})(this,n),this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.Oi=!1,this.Pi=null,this.Li=null,this.Di=null,this.scrollManager=new zte(this),this.pageViewManager=new ID(this),this.rateLimiter=new Ate(this),this.requestRouter=new qte(this),this.consent=new bte(this),this.externalIntegrations=new Wte(this);var o=(t=za.__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:(n,a,i)=>{var l=_o(n)?{[n]:a}:n;this.setPersonProperties(l),i?.({})},set_once:(n,a,i)=>{var l=_o(n)?{[n]:a}:n;this.setPersonProperties(void 0,l),i?.({})}},this.on("eventCaptured",(n=>Be.info('send "'+n?.event+'"',n)))}init(t,o,n){if(n&&n!==Oc){var a,i=(a=Zd[n])!==null&&a!==void 0?a:new za;return i._init(t,o,n),Zd[n]=i,Zd[Oc][n]=i,i}return this._init(t,o,n)}_init(t,o,n){var a,i;if(o===void 0&&(o={}),ze(t)||Ng(t))return Be.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(ko({},YD(o.defaults),ZD(o),{name:n,token:t})),this.config.on_xhr_error&&Be.error("on_xhr_error is deprecated. Use on_request_error instead"),this.compression=o.disable_compression?void 0:kr.GZipJS;var l=this.qi();this.persistence=new oS(this.config,l),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new oS(Oe({},this.config,{persistence:"sessionStorage"}),l);var c=Oe({},this.persistence.props),d=Oe({},this.sessionPersistence.props);this.register({$initialization_time:new Date().toISOString()}),this.Zi=new Fte((x=>this.Vi(x)),this.config.request_queue_config),this.Hi=new jte(this),this.__request_queue=[];var m=this.Ni();if(m||(this.sessionManager=new VD(this),this.sessionPropsManager=new qD(this,this.sessionManager,this.persistence)),this.config.__preview_deferred_init_extensions?(Be.info("Deferring extension initialization to improve startup performance"),setTimeout((()=>{this.zi(m)}),0)):(Be.info("Initializing extensions synchronously"),this.zi(m)),Un.DEBUG=Un.DEBUG||this.config.debug,Un.DEBUG&&Be.info("Starting in debug mode",{this:this,config:o,thisC:Oe({},this.config),p:c,s:d}),!this.config.identity_distinct_id||(a=o.bootstrap)!=null&&a.distinctID||(o.bootstrap=Oe({},o.bootstrap,{distinctID:this.config.identity_distinct_id,isIdentifiedID:!0})),((i=o.bootstrap)==null?void 0:i.distinctID)!==void 0){var h=o.bootstrap.distinctID,p=this.get_distinct_id(),f=this.persistence.get_property(or);if(o.bootstrap.isIdentifiedID&&p!=null&&p!==h&&f===yc)this.identify(h);else if(o.bootstrap.isIdentifiedID&&p!=null&&p!==h&&f===Sc)Be.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(cs()),b=o.bootstrap.isIdentifiedID?v:h;this.persistence.set_property(or,o.bootstrap.isIdentifiedID?Sc:yc),this.register({distinct_id:h,$device_id:b})}}if(m)this.register_once({distinct_id:mg,$device_id:null},"");else if(!this.get_distinct_id()){var S=this.config.get_device_id(cs());this.register_once({distinct_id:S,$device_id:S},""),this.persistence.set_property(or,yc)}return Ho(ge,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this),{passive:!1}),o.segment?(function(x,_){var w=x.config.segment;if(!w)return _();(function(P,T){var k=P.config.segment;if(!k)return T();var R=O=>{var L=()=>O.anonymousId()||cs();P.config.get_device_id=L,O.id()&&(P.register({distinct_id:O.id(),$device_id:L()}),P.persistence.set_property(or,Sc)),T()},D=k.user();"then"in D&&pi(D.then)?D.then(R):R(D)})(x,(()=>{w.register((P=>{Promise&&Promise.resolve||tS.warn("This browser does not have Promise support, and can not use the segment integration");var T=(k,R)=>{if(!R)return k;k.event.userId||k.event.anonymousId===P.get_distinct_id()||(tS.info("No userId set, resetting PostHog"),P.reset()),k.event.userId&&k.event.userId!==P.get_distinct_id()&&(tS.info("UserId set, identifying with PostHog"),P.identify(k.event.userId));var D=P.calculateEventProperties(R,k.event.properties);return k.event.properties=Object.assign({},D,k.event.properties),k};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:k=>T(k,k.event.event),page:k=>T(k,Dc),identify:k=>T(k,X0),screen:k=>T(k,"$screen")}})(x)).then((()=>{_()}))}))})(this,(()=>this.Ui())):this.Ui(),pi(this.config._onCapture)&&this.config._onCapture!==_w&&(Be.warn("onCapture is deprecated. Please use `before_send` instead"),this.on("eventCaptured",(x=>this.config._onCapture(x.event,x)))),this.config.ip&&Be.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,n,a,i,l,c,d,m=performance.now(),h=Oe({},za.__defaultExtensionClasses,this.config.__extensionClasses),p=[];h.featureFlags&&this.Ri.push(this.featureFlags=(o=this.featureFlags)!==null&&o!==void 0?o:new h.featureFlags(this)),h.exceptions&&this.Ri.push(this.exceptions=(n=this.exceptions)!==null&&n!==void 0?n:new h.exceptions(this)),h.historyAutocapture&&this.Ri.push(this.historyAutocapture=new h.historyAutocapture(this)),h.tracingHeaders&&this.Ri.push(new h.tracingHeaders(this)),h.siteApps&&this.Ri.push(this.siteApps=new h.siteApps(this)),h.sessionRecording&&!t&&this.Ri.push(this.sessionRecording=new h.sessionRecording(this)),this.config.disable_scroll_properties||p.push((()=>{this.scrollManager.startMeasuringScrollPosition()})),h.autocapture&&this.Ri.push(this.autocapture=new h.autocapture(this)),h.surveys&&this.Ri.push(this.surveys=(a=this.surveys)!==null&&a!==void 0?a:new h.surveys(this)),h.logs&&this.Ri.push(this.logs=(i=this.logs)!==null&&i!==void 0?i:new h.logs(this)),h.conversations&&this.Ri.push(this.conversations=(l=this.conversations)!==null&&l!==void 0?l:new h.conversations(this)),h.productTours&&this.Ri.push(this.productTours=new h.productTours(this)),h.heatmaps&&this.Ri.push(this.heatmaps=new h.heatmaps(this)),h.webVitalsAutocapture&&this.Ri.push(this.webVitalsAutocapture=new h.webVitalsAutocapture(this)),h.exceptionObserver&&this.Ri.push(this.exceptionObserver=new h.exceptionObserver(this)),h.deadClicksAutocapture&&this.Ri.push(this.deadClicksAutocapture=new h.deadClicksAutocapture(this,Ste)),h.toolbar&&this.Ri.push(this.toolbar=(c=this.toolbar)!==null&&c!==void 0?c:new h.toolbar(this)),h.experiments&&this.Ri.push(this.experiments=(d=this.experiments)!==null&&d!==void 0?d:new h.experiments(this)),this.Ri.forEach((f=>{f.initialize&&p.push((()=>{f.initialize==null||f.initialize()}))})),p.push((()=>{if(this.Yi){var f=this.Yi;this.Yi=void 0,this.Nr(f)}})),this.Gi(p,m)}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 n=t.shift();if(n)try{n()}catch(i){Be.error("Error initializing extension:",i)}}var a=Math.round(performance.now()-o);this.register_for_session({[XF]:this.config.__preview_deferred_init_extensions?"deferred":"synchronous",[eB]:a}),this.config.__preview_deferred_init_extensions&&Be.info("PostHog extensions initialized ("+a+"ms)")}Nr(t){var o;if(!Fe||!Fe.body)return Be.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=Ct(t.supportedCompression,kr.GZipJS)?kr.GZipJS:Ct(t.supportedCompression,kr.Base64)?kr.Base64:void 0),(o=t.analytics)!=null&&o.endpoint&&(this.analyticsDefaultEndpoint=t.analytics.endpoint),this.set_config({person_profiles:this.Li?this.Li:pw}),this.Ri.forEach((n=>n.onRemoteConfig==null?void 0:n.onRemoteConfig(t)))}Ui(){try{this.config.loaded(this)}catch(n){Be.critical("`loaded` function failed",n)}if(this.Xi(),this.config.internal_or_test_user_hostname&&gn!=null&&gn.hostname){var t=gn.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 pB(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()&&pg(this.__request_queue,(t=>this.Vi(t))),this.__request_queue=[],this.Xi()}_handle_unload(){var t,o,n,a;(t=this.surveys)==null||t.handlePageUnload(),this.config.request_batching?(this.Qi()&&this.capture(J0),(o=this.logs)==null||o.flushLogs("sendBeacon"),(n=this.Zi)==null||n.unload(),(a=this.Hi)==null||a.unload()):this.Qi()&&this.capture(J0,null,{transport:"sendBeacon"})}_send_request(t){this.__loaded&&(xB?this.__request_queue.push(t):this.rateLimiter.isServerRateLimited(t.batchKey)||(t.transport=t.transport||this.config.api_transport,t.url=xv(t.url,{ip:this.config.ip?1:0}),t.headers=Oe({},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 n,a,i,l=Oe({},o);l.timeout=l.timeout||6e4,l.url=$D(l.url,l.compression);var c=(n=l.transport)!==null&&n!==void 0?n:"fetch",d=zg.filter((h=>!l.disableTransport||!h.transport||!l.disableTransport.includes(h.transport))),m=(a=(i=(function(h,p){for(var f=0;h.length>f;f++)if(h[f].transport===c)return h[f]})(d))==null?void 0:i.method)!==null&&a!==void 0?a:d[0].method;if(!m)throw new Error("No available transport method");c!=="sendBeacon"&&l.data&&l.compression===kr.GZipJS&&_ee&&!UD?Nte(l).then((h=>{m(h)})).catch((h=>{if((p=>!(!p||typeof p!="object")&&("name"in p?String(p.name):"")==="NotReadableError")(h))return UD=!0,void m(Oe({},l,{compression:void 0,url:$D(o.url,void 0)}));m(l)})):m(l)})(Oe({},t,{callback:o=>{var n,a;this.rateLimiter.checkForLimiting(o),400>o.statusCode||(n=(a=this.config).on_request_error)==null||n.call(a,o),t.callback==null||t.callback(o)}}))))}Vi(t){this.Hi?this.Hi.retriableRequest(t):this._send_request(t)}_execute_array(t){cS++;try{var o,n=[],a=[],i=[];pg(t,(c=>{c&&(It(o=c[0])?i.push(c):pi(c)?c.call(this):It(c)&&o==="alias"?n.push(c):It(c)&&o.indexOf("capture")!==-1&&pi(this[o])?i.push(c):a.push(c))}));var l=function(c,d){pg(c,(function(m){if(It(m[0])){var h=d;co(m,(function(p){h=h[p[0]].apply(h,p.slice(1))}))}else d[m[0]].apply(d,m.slice(1))}))};l(n,this),l(a,this),l(i,this)}finally{cS--}}push(t){if(cS>0&&It(t)&&_o(t[0])){var o=za.prototype[t[0]];pi(o)&&o.apply(this,t.slice(1))}else this._execute_array([t])}capture(t,o,n){var a,i,l,c,d;if(this.__loaded&&this.persistence&&this.sessionPersistence&&this.Zi){if(this.is_capturing())if(!ze(t)&&_o(t)){var m=!this.config.opt_out_useragent_filter&&this._is_bot();if(!m||this.config.__preview_capture_bot_pageviews){var h=n!=null&&n.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(h==null||!h.isRateLimited){o!=null&&o.$current_url&&!_o(o?.$current_url)&&(Be.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"||n!=null&&n.en||Be.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 p=new Date,f=n?.timestamp||p,v=cs(),b={uuid:v,event:t,properties:this.calculateEventProperties(t,o||{},f,v)};t===Dc&&this.config.__preview_capture_bot_pageviews&&m&&(b.event="$bot_pageview",b.properties.$browser_type="bot"),h&&(b.properties.$lib_rate_limit_remaining_tokens=h.remainingTokens),n?.$set&&(b.$set=n?.$set);var S,x,_,w=this.tn(n?.$set_once,t!==AD,t===X0);if(w&&(b.$set_once=w),n!=null&&n._noTruncate||(i=this.config.properties_string_max_length,l=b,c=L=>_o(L)?L.slice(0,i):L,d=new Set,b=(function L(U,F){return U!==Object(U)?c?c(U):U:d.has(U)?void 0:(d.add(U),It(U)?($=[],pg(U,(j=>{$.push(L(j))}))):($={},co(U,((j,K)=>{d.has(j)||($[K]=L(j))}))),$);var $})(l)),b.timestamp=f,ze(n?.timestamp)||(b.properties.$event_time_override_provided=!0,b.properties.$event_time_override_system_time=p),t===Ud.DISMISSED||t===Ud.SENT){var P=o?.[aS.SURVEY_ID],T=o?.[aS.SURVEY_ITERATION];(L=>{try{var U=(F=>(($,j)=>{var K=""+Sw+j.id;return j.current_iteration&&j.current_iteration>0&&(K=""+Sw+j.id+"_"+j.current_iteration),K})(0,F))(L);if(localStorage.getItem(U))return;localStorage.setItem(U,"true")}catch(F){Jt.error("Failed to persist survey seen state",F)}})({id:P,current_iteration:T}),b.$set=Oe({},b.$set,{[(S={id:P,current_iteration:T},x=t===Ud.SENT?"responded":"dismissed",_="$survey_"+x+"/"+S.id,S.current_iteration&&S.current_iteration>0&&(_="$survey_"+x+"/"+S.id+"/"+S.current_iteration),_)]:!0})}else t===Ud.SHOWN&&(b.$set=Oe({},b.$set,{[aS.SURVEY_LAST_SEEN_DATE]:new Date().toISOString()}));if(t===Pte.SHOWN){var k=o?.[LD.TOUR_TYPE];k&&(b.$set=Oe({},b.$set,{[LD.TOUR_LAST_SEEN_DATE+"/"+k]:new Date().toISOString()}))}var R=Oe({},b.properties.$set,b.$set);if(Nc(R)||this.setPersonPropertiesForFlags(R),!xt(this.config.before_send)){var D=this.rn(b);if(!D)return;b=D}this.Fi.emit("eventCaptured",b);var O={method:"POST",url:(a=n?._url)!==null&&a!==void 0?a:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:b,compression:"best-available",batchKey:n?._batchKey};return!this.config.request_batching||n&&(n==null||!n._batchKey)||n!=null&&n.send_instantly?this.Vi(O):this.Zi.enqueue(O),b}Be.critical("This capture call is ignored due to client rate limiting.")}}else Be.error("No event name provided to posthog.capture")}else Be.uninitializedWarning("posthog.capture")}_addCaptureHook(t){return this.on("eventCaptured",(o=>t(o.event,o)))}calculateEventProperties(t,o,n,a,i){if(n=n||new Date,!this.persistence||!this.sessionPersistence)return o;var l=i?void 0:this.persistence.remove_event_timer(t),c=Oe({},o);if(c.token=this.config.token,c.$config_defaults=this.config.defaults,this.Ni()&&(c.$cookieless_mode=!0),t==="$snapshot"){var d=Oe({},this.persistence.properties(),this.sessionPersistence.properties());return c.distinct_id=d.distinct_id,(!_o(c.distinct_id)&&!Va(c.distinct_id)||Ng(c.distinct_id))&&Be.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),c}var m,h=(function(_,w){var P,T,k,R;if(!Xn)return{};var D,O,L,U,F,$,j,K,ae=_?[...lu,...w||[]]:[],[V,Z]=(function(te){for(var le=0;ED.length>le;le++){var[Q,M]=ED[le],H=Q.exec(te),q=H&&(pi(M)?M(H,te):M);if(q)return q}return["",""]})(Xn);return ko(hx({$os:V,$os_version:Z,$browser:UF(Xn,navigator.vendor),$device:TD(Xn),$device_type:(O=Xn,L={userAgentDataPlatform:(P=navigator)==null||(P=P.userAgentData)==null?void 0:P.platform,maxTouchPoints:(T=navigator)==null?void 0:T.maxTouchPoints,screenWidth:ge==null||(k=ge.screen)==null?void 0:k.width,screenHeight:ge==null||(R=ge.screen)==null?void 0:R.height,devicePixelRatio:ge?.devicePixelRatio},K=TD(O),K===kF||K===TF||K==="Kobo"||K==="Kindle Fire"||K===zF?ru:K===mm||K===Gc||K===pm||K===H_?"Console":K===AF?"Wearable":K?_a:L?.userAgentDataPlatform==="Android"&&((U=L?.maxTouchPoints)!==null&&U!==void 0?U:0)>0?600>Math.min((F=L?.screenWidth)!==null&&F!==void 0?F:0,($=L?.screenHeight)!==null&&$!==void 0?$:0)/((j=L?.devicePixelRatio)!==null&&j!==void 0?j:1)?_a:ru:"Desktop"),$timezone:mB(),$timezone_offset:Tte()}),{$current_url:hm(gn?.href,ae,gm),$host:gn?.host,$pathname:gn?.pathname,$raw_user_agent:Xn.length>1e3?Xn.substring(0,997)+"...":Xn,$browser_version:Fee(Xn,navigator.vendor),$browser_language:MD(),$browser_language_prefix:(D=MD(),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:Un.LIB_NAME,$lib_version:Un.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:p,windowId:f}=this.sessionManager.checkAndGetSessionAndWindowId(i,n.getTime());c.$session_id=p,c.$window_id=f}this.sessionPropsManager&&ko(c,this.sessionPropsManager.getSessionProps());try{var v;this.sessionRecording&&ko(c,this.sessionRecording.sdkDebugProperties),c.$sdk_debug_retry_queue_size=(v=this.Hi)==null?void 0:v.length}catch(_){c.$sdk_debug_error_capturing_properties=String(_)}if(this.requestRouter.region===yw&&(c.$lib_custom_api_host=this.config.api_host),m=t!==Dc||i?t!==J0||i?this.pageViewManager.doEvent():this.pageViewManager.doPageLeave(n):this.pageViewManager.doPageView(n,a),c=ko(c,m),t===Dc&&Fe&&(c.title=Fe.title),!ze(l)){var b=n.getTime()-l;c.$duration=parseFloat((b/1e3).toFixed(3))}Xn&&this.config.opt_out_useragent_filter&&(c.$browser_type=this._is_bot()?"bot":"browser"),(c=ko({},h,this.persistence.properties(),this.sessionPersistence.properties(),c)).$is_identified=this._isIdentified(),It(this.config.property_denylist)?co(this.config.property_denylist,(function(_){delete c[_]})):Be.error(CB+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var S=this.config.sanitize_properties;S&&(Be.error(WD),c=S(c,t));var x=this.nn();return c.$process_person_profile=x,x&&!i&&this.sn("_calculate_event_properties"),c}tn(t,o,n){var a;if(o===void 0&&(o=!0),n===void 0&&(n=!1),!this.persistence||!this.nn()||this.Mi&&!n)return t;var i=this.persistence.get_initial_props(),l=(a=this.sessionPropsManager)==null?void 0:a.getSetOnceProps(),c=ko({},i,l||{},t||{}),d=this.config.sanitize_properties;return d&&(Be.error(WD),c=d(c,"$set_once")),o&&(this.Mi=!0),Nc(c)?void 0:c}register(t,o){var n;(n=this.persistence)==null||n.register(t,o)}register_once(t,o,n){var a;(a=this.persistence)==null||a.register_once(t,o,n)}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 n;return(n=this.featureFlags)==null?void 0:n.getFeatureFlag(t,o)}getFeatureFlagPayload(t){var o;return(o=this.featureFlags)==null?void 0:o.getFeatureFlagPayload(t)}getFeatureFlagResult(t,o){var n;return(n=this.featureFlags)==null?void 0:n.getFeatureFlagResult(t,o)}isFeatureEnabled(t,o){var n;return(n=this.featureFlags)==null?void 0:n.isFeatureEnabled(t,o)}reloadFeatureFlags(){var t;(t=this.featureFlags)==null||t.reloadFeatureFlags()}updateFlags(t,o,n){var a;(a=this.featureFlags)==null||a.updateFlags(t,o,n)}updateEarlyAccessFeatureEnrollment(t,o,n){var a;(a=this.featureFlags)==null||a.updateEarlyAccessFeatureEnrollment(t,o,n)}getEarlyAccessFeatures(t,o,n){var a;return o===void 0&&(o=!1),(a=this.featureFlags)==null?void 0:a.getEarlyAccessFeatures(t,o,n)}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:xd}),()=>{})}onSessionId(t){var o,n;return(o=(n=this.sessionManager)==null?void 0:n.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:xd})}getActiveMatchingSurveys(t,o){o===void 0&&(o=!1),this.surveys?this.surveys.getActiveMatchingSurveys(t,o):t([],{isLoaded:!1,error:xd})}renderSurvey(t,o){var n;(n=this.surveys)==null||n.renderSurvey(t,o)}displaySurvey(t,o){var n;o===void 0&&(o=Hte),(n=this.surveys)==null||n.displaySurvey(t,o)}cancelPendingSurvey(t){var o;(o=this.surveys)==null||o.cancelPendingSurvey(t)}canRenderSurvey(t){var o,n;return(o=(n=this.surveys)==null?void 0:n.canRenderSurvey(t))!==null&&o!==void 0?o:{visible:!1,disabledReason:xd}}canRenderSurveyAsync(t,o){var n,a;return o===void 0&&(o=!1),(n=(a=this.surveys)==null?void 0:a.canRenderSurveyAsync(t,o))!==null&&n!==void 0?n:Promise.resolve({visible:!1,disabledReason:xd})}ln(t){return!t||Ng(t)?(Be.critical("Unique user id has not been set in posthog.identify"),!1):t===mg?(Be.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())||(Be.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,n){if(!this.__loaded||!this.persistence)return Be.uninitializedWarning("posthog.identify");if(Va(t)&&(t=t.toString(),Be.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 a=this.get_distinct_id();this.register({$user_id:t}),this.get_property(bf)||this.register_once({$had_persisted_distinct_id:!0,$device_id:a},""),t!==a&&t!==this.get_property(Nd)&&(this.unregister(Nd),this.register({distinct_id:t}));var i,l=(this.persistence.get_property(or)||yc)===yc;t!==a&&l?(this.persistence.set_property(or,Sc),this.setPersonPropertiesForFlags({$set:o||{},$set_once:n||{}},!1),this.capture(X0,{distinct_id:t,$anon_distinct_id:a},{$set:o||{},$set_once:n||{}}),this.Di=HD(t,o,n),(i=this.featureFlags)==null||i.setAnonymousDistinctId(a)):(o||n)&&this.setPersonProperties(o,n),t!==a&&(this.reloadFeatureFlags(),this.unregister(Wd))}}setPersonProperties(t,o){if((t||o)&&this.sn("posthog.setPersonProperties")){var n=HD(this.get_distinct_id(),t,o);this.Di!==n?(this.setPersonPropertiesForFlags({$set:t||{},$set_once:o||{}},!0),this.capture("$set",{$set:t||{},$set_once:o||{}}),this.Di=n):Be.info("A duplicate setPersonProperties call was made with the same properties. It has been ignored.")}}group(t,o,n){if(t&&o){var a=this.getGroups(),i=a[t]!==o;if(i&&this.resetGroupPropertiesForFlags(t),this.register({$groups:Oe({},a,{[t]:o})}),i||n){var l={$group_type:t,$group_key:o};n&&(l.$group_set=n),this.capture(AD,l)}n&&this.setGroupPropertiesForFlags({[t]:n}),i&&!n&&this.reloadFeatureFlags()}else Be.error("posthog.group requires a group type and group key")}resetGroups(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}setPersonPropertiesForFlags(t,o){var n;o===void 0&&(o=!0),(n=this.featureFlags)==null||n.setPersonPropertiesForFlags(t,o)}resetPersonPropertiesForFlags(){var t;(t=this.featureFlags)==null||t.resetPersonPropertiesForFlags()}setGroupPropertiesForFlags(t,o){var n;o===void 0&&(o=!0),this.sn("posthog.setGroupPropertiesForFlags")&&((n=this.featureFlags)==null||n.setGroupPropertiesForFlags(t,o))}resetGroupPropertiesForFlags(t){var o;(o=this.featureFlags)==null||o.resetGroupPropertiesForFlags(t)}reset(t){var o,n,a,i,l,c,d,m;if(Be.info("reset"),!this.__loaded)return Be.uninitializedWarning("posthog.reset");var h=this.get_property(bf);if(this.consent.reset(),(o=this.persistence)==null||o.clear(),(n=this.sessionPersistence)==null||n.clear(),(a=this.surveys)==null||a.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(or,yc),(m=this.sessionManager)==null||m.resetSessionId(),this.Di=null,this.config.cookieless_mode===hi)this.register_once({distinct_id:mg,$device_id:null},"");else{var p=this.config.get_device_id(cs());this.register_once({distinct_id:p,$device_id:t?p:h},"")}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 n;this.config.identity_distinct_id=t,this.config.identity_hash=o,this.alias(t),(n=this.conversations)==null||n.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:n}=this.sessionManager.checkAndGetSessionAndWindowId(!0),a=this.requestRouter.endpointFor("ui","/project/"+this.config.token+"/replay/"+o);if(t!=null&&t.withTimestamp&&n){var i,l=(i=t.timestampLookBack)!==null&&i!==void 0?i:10;if(!n)return a;a+="?t="+Math.max(Math.floor((new Date().getTime()-n)/1e3)-l,0)}return a}alias(t,o){return t===this.get_property(KF)?(Be.critical("Attempting to create alias for existing People user - aborting."),-2):this.sn("posthog.alias")?(ze(o)&&(o=this.get_distinct_id()),t!==o?(this.an(Nd,t),this.capture("$create_alias",{alias:t,distinct_id:o})):(Be.warn("alias matches current distinct_id - skipping api call."),this.identify(t),-1)):void 0}set_config(t){var o=Oe({},this.config);if(Do(t)){var n,a,i,l,c,d,m,h,p,f;ko(this.config,ZD(t));var v=this.qi();(n=this.persistence)==null||n.update_config(this.config,o,v),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new oS(Oe({},this.config,{persistence:"sessionStorage"}),v);var b=this.Bi(this.config.debug);Or(b)&&(this.config.debug=b),Or(this.config.debug)&&(this.config.debug?(Un.DEBUG=!0,So.R()&&So.M("ph_debug",!0),Be.info("set_config",{config:t,oldConfig:o,newConfig:Oe({},this.config)})):(Un.DEBUG=!1,So.R()&&So.F("ph_debug"))),(a=this.exceptionObserver)==null||a.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(),(m=this.exceptionObserver)==null||m.startIfEnabledOrStop(),(h=this.deadClicksAutocapture)==null||h.startIfEnabledOrStop(),(p=this.surveys)==null||p.loadIfEnabled(),this.cn(),(f=this.externalIntegrations)==null||f.startIfEnabledOrStop()}}_overrideSDKInfo(t,o){Un.LIB_NAME=t,Un.LIB_VERSION=o}startSessionRecording(t){var o,n,a,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&&((n=this.sessionRecording)==null||n.overrideSampling()),d.linked_flag&&((a=this.sessionRecording)==null||a.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 n=new Error("PostHog syntheticException"),a=this.exceptions.buildProperties(t,{handled:!0,syntheticException:n});return this.exceptions.sendExceptionEvent(Oe({},a,o))}}addExceptionStep(t,o){var n;(n=this.exceptions)==null||n.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:za.dn}startExceptionAutocapture(t){this.set_config({capture_exceptions:t==null||t})}stopExceptionAutocapture(){this.set_config({capture_exceptions:!1})}loadToolbar(t){var o,n;return(o=(n=this.toolbar)==null?void 0:n.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:Oc;return o!==Oc&&(o=Oc+"."+o),o}_isIdentified(){var t,o;return((t=this.persistence)==null?void 0:t.get_property(or))===Sc||((o=this.sessionPersistence)==null?void 0:o.get_property(or))===Sc}nn(){var t,o;return!(this.config.person_profiles==="never"||this.config.person_profiles===pw&&!this._isIdentified()&&Nc(this.getGroups())&&((t=this.persistence)==null||(t=t.props)==null||!t[Nd])&&((o=this.persistence)==null||(o=o.props)==null||!o[wf]))}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"?(Be.error(t+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this.an(wf,!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!==il)}cn(){var t,o,n,a,i=this.qi();return((t=this.persistence)==null?void 0:t._r)!==i&&((n=this.persistence)==null||n.set_disabled(i)),((o=this.sessionPersistence)==null?void 0:o._r)!==i&&((a=this.sessionPersistence)==null||a.set_disabled(i)),i}opt_in_capturing(t){var o;if(this.config.cookieless_mode!==hi){if(this.Ni()){var n,a,i,l,c;this.reset(!0),(n=this.sessionManager)==null||n.destroy(),(a=this.pageViewManager)==null||a.destroy(),this.sessionManager=new VD(this),this.pageViewManager=new ID(this),this.persistence&&(this.sessionPropsManager=new qD(this,this.sessionManager,this.persistence));var d,m=(i=(l=this.config.__extensionClasses)==null?void 0:l.sessionRecording)!==null&&i!==void 0?i:(c=za.__defaultExtensionClasses)==null?void 0:c.sessionRecording;m&&(this.sessionRecording=this.Ei(this.sessionRecording,new m(this)),this.Wi&&((d=this.sessionRecording)==null||d.onRemoteConfig==null||d.onRemoteConfig(this.Wi)))}var h,p;this.consent.optInOut(!0),this.cn(),this.Xi(),(o=this.sessionRecording)==null||o.startIfEnabledOrStop(),this.config.cookieless_mode==il&&((h=this.surveys)==null||h.loadIfEnabled()),(ze(t?.captureEventName)||t!=null&&t.captureEventName)&&this.capture((p=t?.captureEventName)!==null&&p!==void 0?p:"$opt_in",t?.captureProperties,{send_instantly:!0}),this.config.capture_pageview&&this.Ji()}else Be.warn(KD)}opt_out_capturing(){var t,o,n;this.config.cookieless_mode!==hi?(this.config.cookieless_mode===il&&this.consent.isOptedIn()&&this.reset(!0),this.consent.optInOut(!1),this.cn(),this.config.cookieless_mode===il&&(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,(n=this.sessionRecording)==null||n.stopRecording(),this.sessionRecording=void 0,this.Ji())):Be.warn(KD)}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===hi||(this.config.cookieless_mode===il?this.consent.isRejected()||this.consent.isOptedIn():!this.has_opted_out_capturing())}clear_opt_in_out_capturing(){this.consent.reset(),this.cn()}_is_bot(){return ya?SB(ya,this.config.custom_blocked_useragents):void 0}Ji(){Fe&&(Fe.visibilityState==="visible"?this.Oi||(this.Oi=!0,this.capture(Dc,{title:Fe.title},{send_instantly:!0}),this.Pi&&(Fe.removeEventListener(Cf,this.Pi),this.Pi=null)):this.Pi||(this.Pi=this.Ji.bind(this),Ho(Fe,Cf,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,n,a,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?(Be.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):(n="advanced_disable_decide",a=Be,i=(o="advanced_disable_flags")in(t=c)&&!xt(t[o]),l=n in t&&!xt(t[n]),i?t[o]:!!l&&(a&&a.warn("Config field '"+n+"' is deprecated. Please use '"+o+"' instead. The old field will be removed in a future major version."),t[n]))}rn(t){if(xt(this.config.before_send))return t;var o=It(this.config.before_send)?this.config.before_send:[this.config.before_send],n=t;for(var a of o){if(n=a(n),xt(n)){var i="Event '"+t.event+"' was rejected in beforeSend function";return Eee(t.event)?Be.warn(i+". This can cause unexpected behavior."):Be.info(i),null}n.properties&&!Nc(n.properties)||Be.warn("Event '"+t.event+"' has no properties after beforeSend function, this is likely an error.")}return n}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,n){this.capture("$ai_metric",{$ai_trace_id:String(t),$ai_metric_name:o,$ai_metric_value:String(n)})}Bi(t){var o=Or(t)&&!t,n=So.R()&&So.O("ph_debug")==="true";return!o&&(!!n||t)}}function QD(e){return e instanceof Element&&(e.id===JF||!(e.closest==null||!e.closest(".toolbar-global-fade-container")))}function Ev(e){return!!e&&e.nodeType===1}function vs(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function EB(e){return!!e&&e.nodeType===3}function TB(e){return!!e&&e.nodeType===11}function bx(e){return e?wv(e).split(/\s+/):[]}function JD(e){var t=ge?.location.href;return!!(t&&e&&e.some((o=>t.match(o))))}function Of(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 bx(t)}function kB(e){return xt(e)?null:wv(e).split(/(\s+)/).filter((t=>Qd(t))).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function fm(e){var t="";return Cw(e)&&!AB(e)&&e.childNodes&&e.childNodes.length&&co(e.childNodes,(function(o){var n;EB(o)&&o.textContent&&(t+=(n=kB(o.textContent))!==null&&n!==void 0?n:"")})),wv(t)}function XD(e){return ze(e.target)?e.srcElement||null:(t=e.target)!=null&&t.shadowRoot?e.composedPath()[0]||null:e.target||null;var t}za.__defaultExtensionClasses={},za.dn={trace:wc=()=>{},debug:wc,info:wc,warn:wc,error:wc,fatal:wc},(function(e,t){for(var o=0;t.length>o;o++)e.prototype[t[o]]=cte(e.prototype[t[o]])})(za,["identify"]);var yx=["a","button","form","input","select","textarea","label"];function eO(e,t){if(ze(t))return!0;var o,n=function(i){if(t.some((l=>i.matches(l))))return{v:!0}};for(var a of e)if(o=n(a))return o.v;return!1}function PB(e){var t=e.parentNode;return!(!t||!Ev(t))&&t}var Qte=["next","previous","prev",">","<"],tO=[".ph-no-rageclick",".ph-no-capture"],ww=e=>!e||vs(e,"html")||!Ev(e),oO=(e,t)=>{if(!ge||ww(e))return{parentIsUsefulElement:!1,targetElementList:[]};for(var o=!1,n=[e],a=e;a.parentNode&&!vs(a,"body");)if(TB(a.parentNode))n.push(a.parentNode.host),a=a.parentNode.host;else{var i=PB(a);if(!i)break;if(t||yx.indexOf(i.tagName.toLowerCase())>-1)o=!0;else{var l=ge.getComputedStyle(i);l&&l.getPropertyValue("cursor")==="pointer"&&(o=!0)}n.push(i),a=i}return{parentIsUsefulElement:o,targetElementList:n}};function Cw(e){for(var t=e;t.parentNode&&!vs(t,"body");t=t.parentNode){var o=Of(t);if(Ct(o,"ph-sensitive")||Ct(o,"ph-no-capture"))return!1}if(Ct(Of(e),"ph-include"))return!0;var n=e.type||"";if(_o(n))switch(n.toLowerCase()){case"hidden":case"password":return!1}var a=e.name||e.id||"";return!_o(a)||!/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(a.replace(/[^a-zA-Z0-9]/g,""))}function AB(e){return!!(vs(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||vs(e,"select")||vs(e,"textarea")||e.getAttribute("contenteditable")==="true")}var RB="(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})",Jte=new RegExp("^(?:"+RB+")$"),Xte=new RegExp(RB),DB="\\d{3}-?\\d{2}-?\\d{4}",eoe=new RegExp("^("+DB+")$"),toe=new RegExp("("+DB+")");function Qd(e,t){return t===void 0&&(t=!0),!(xt(e)||_o(e)&&(e=wv(e),(t?Jte:Xte).test((e||"").replace(/[- ]/g,""))||(t?eoe:toe).test(e)))}function nO(e){var t=fm(e);return Qd(t=(t+" "+OB(e)).trim())?t:""}function OB(e){var t="";return e&&e.childNodes&&e.childNodes.length&&co(e.childNodes,(function(o){var n;if(o&&((n=o.tagName)==null?void 0:n.toLowerCase())==="span")try{var a=fm(o);t=(t+" "+a).trim(),o.childNodes&&o.childNodes.length&&(t=(t+" "+OB(o)).trim())}catch(i){Be.error("[AutoCapture]",i)}})),t}function aO(e){return e.replace(/"|\\"/g,'\\"')}function ooe(e){var t=e.attr__class;return t?It(t)?t:bx(t):void 0}class rO{constructor(t){this.disabled=t===!1;var o=Do(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,n){if(this.disabled)return!1;var a=this.clicks[this.clicks.length-1];if(a&&Math.abs(t-a.x)+Math.abs(o-a.y)<this.thresholdPx&&this.timeoutMs>n-a.timestamp){if(this.clicks.push({x:t,y:o,timestamp:n}),this.clicks.length===this.clickCount)return!0}else this.clicks=[{x:t,y:o,timestamp:n}];return!1}}var uS="$copy_autocapture",iO=vo("[AutoCapture]");function dS(e,t){return t.length>e?t.slice(0,e)+"...":t}function noe(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do t=t.previousSibling;while(t&&!Ev(t));return t}function aoe(e,t){for(var o,n,{e:a,maskAllElementAttributes:i,maskAllText:l,elementAttributeIgnoreList:c,elementsChainAsString:d}=t,m=[e],h=e;h.parentNode&&!vs(h,"body");)TB(h.parentNode)?(m.push(h.parentNode.host),h=h.parentNode.host):(m.push(h.parentNode),h=h.parentNode);var p,f,v=[],b={},S=!1,x=!1;if(co(m,(k=>{var R=Cw(k);k.tagName.toLowerCase()==="a"&&(S=k.getAttribute("href"),S=R&&S&&Qd(S)&&S),Ct(Of(k),"ph-no-capture")&&(x=!0),v.push((function(O,L,U,F){var $=O.tagName.toLowerCase(),j={tag_name:$};yx.indexOf($)>-1&&!U&&(j.$el_text=$.toLowerCase()==="a"||$.toLowerCase()==="button"?dS(1024,nO(O)):dS(1024,fm(O)));var K=Of(O);K.length>0&&(j.classes=K.filter((function(te){return te!==""}))),co(O.attributes,(function(te){var le;if((!AB(O)||["name","id","class","aria-label"].indexOf(te.name)!==-1)&&(F==null||!F.includes(te.name))&&!L&&Qd(te.value)&&(!_o(le=te.name)||le.substring(0,10)!=="_ngcontent"&&le.substring(0,7)!=="_nghost")){var Q=te.value;te.name==="class"&&(Q=bx(Q).join(" ")),j["attr__"+te.name]=dS(1024,Q)}}));for(var ae=1,V=1,Z=O;Z=noe(Z);)ae++,Z.tagName===O.tagName&&V++;return j.nth_child=ae,j.nth_of_type=V,j})(k,i,l,c));var D=(function(O){if(!Cw(O))return{};var L={};return co(O.attributes,(function(U){if(U.name&&U.name.indexOf("data-ph-capture-attribute")===0){var F=U.name.replace("data-ph-capture-attribute-",""),$=U.value;F&&$&&Qd($)&&(L[F]=$)}})),L})(k);ko(b,D)})),x)return{props:{},explicitNoCapture:x};if(l||(v[0].$el_text=e.tagName.toLowerCase()==="a"||e.tagName.toLowerCase()==="button"?nO(e):fm(e)),S){var _,w;v[0].attr__href=S;var P=(_=Tf(S))==null?void 0:_.host,T=ge==null||(w=ge.location)==null?void 0:w.host;P&&T&&P!==T&&(p=S)}return{props:ko({$event_type:a.type,$ce_version:1},d?{}:{$elements:v},{$elements_chain:(f=v,(function(k){return k.map((R=>{var D,O,L="";if(R.tag_name&&(L+=R.tag_name),R.attr_class)for(var U of(R.attr_class.sort(),R.attr_class))L+="."+U.replace(/"/g,"");var F=Oe({},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),$={};return jg(F).sort(((j,K)=>{var[ae]=j,[V]=K;return ae.localeCompare(V)})).forEach((j=>{var[K,ae]=j;return $[aO(K.toString())]=aO(ae.toString())})),(L+=":")+jg($).map((j=>{var[K,ae]=j;return K+'="'+ae+'"'})).join("")})).join(";")})((function(k){return k.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:ooe(R),attr_id:R.attr__id,nth_child:R.nth_child,nth_of_type:R.nth_of_type,attributes:{}};return jg(R).filter((U=>{var[F]=U;return F.indexOf("attr__")===0})).forEach((U=>{var[F,$]=U;return L.attributes[F]=$})),L}))})(f)))},(o=v[0])!=null&&o.$el_text?{$el_text:(n=v[0])==null?void 0:n.$el_text}:{},p&&a.type==="click"?{$external_click_url:p}:{},b)}}var Ed=vo("[ExceptionAutocapture]");function sO(e,t,o){try{if(!(t in e))return()=>{};var n=e[t],a=o(n);return pi(a)&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__posthog_wrapped__:{enumerable:!1,value:!0}})),e[t]=a,()=>{e[t]=n}}catch{return()=>{}}}var roe=vo("[TracingHeaders]"),es=vo("[Web Vitals]"),lO=9e5,cO="disabled",uO="lazy_loading",Td="awaiting_config",bg="missing_config";vo("[SessionRecording]"),vo("[SessionRecording]");var xw="[SessionRecording]",ts=vo(xw),ioe=vo("[Heatmaps]");function dO(e){return Do(e)&&"clientX"in e&&"clientY"in e&&Va(e.clientX)&&Va(e.clientY)}var mO=vo("[Product Tours]"),soe=["$set_once","$set"],os=vo("[SiteApps]"),pO="Error while initializing PostHog app with config id ";function Cc(e,t,o){if(xt(e))return!1;switch(o){case"exact":return e===t;case"contains":var n=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/_/g,".").replace(/%/g,".*");return new RegExp(n,"i").test(e);case"regex":try{return new RegExp(t).test(e)}catch{return!1}default:return!1}}class loe{constructor(t){this.vn=new vx,this.fn=(o,n)=>this.pn(o,n)&&this.gn(o,n)&&this.mn(o,n)&&this.yn(o,n),this.pn=(o,n)=>n==null||!n.event||o?.event===n?.event,this._instance=t,this.bn=new Set,this._n=new Set}init(){var t,o;ze((t=this._instance)==null?void 0:t._addCaptureHook)||(o=this._instance)==null||o._addCaptureHook(((n,a)=>{this.on(n,a)}))}register(t){var o,n;if(!ze((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((m=>{var h;(h=this.bn)==null||h.add(m?.event||"")}))})),(n=this._instance)!=null&&n.autocapture)){var a,i=new Set;t.forEach((l=>{var c;(c=l.steps)==null||c.forEach((d=>{d!=null&&d.selector&&i.add(d?.selector)}))})),(a=this._instance)==null||a.autocapture.setElementSelectors(i)}}on(t,o){var n;o!=null&&t.length!=0&&(this.bn.has(t)||this.bn.has(o?.event))&&this._n&&((n=this._n)==null?void 0:n.size)>0&&this._n.forEach((a=>{this.wn(o,a)&&this.vn.emit("actionCaptured",a.name)}))}In(t){this.onAction("actionCaptured",(o=>t(o)))}wn(t,o){if(o?.steps==null)return!1;for(var n of o.steps)if(this.fn(t,n))return!0;return!1}onAction(t,o){return this.vn.on(t,o)}gn(t,o){if(o!=null&&o.url){var n,a=t==null||(n=t.properties)==null?void 0:n.$current_url;if(!a||typeof a!="string"||!Cc(a,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 n;if(o==null||!o.href)return!0;var a=this.kn(t);if(a.length>0)return a.some((c=>Cc(c.href,o.href,o.href_matching||"exact")));var i,l=(t==null||(n=t.properties)==null?void 0:n.$elements_chain)||"";return!!l&&Cc((i=l.match(/(?::|")href="(.*?)"/))?i[1]:"",o.href,o.href_matching||"exact")}Sn(t,o){var n;if(o==null||!o.text)return!0;var a=this.kn(t);if(a.length>0)return a.some((m=>Cc(m.text,o.text,o.text_matching||"exact")||Cc(m.$el_text,o.text,o.text_matching||"exact")));var i,l,c,d=(t==null||(n=t.properties)==null?void 0:n.$elements_chain)||"";return!!d&&(i=(function(m){for(var h,p=[],f=/(?::|")text="(.*?)"/g;!xt(h=f.exec(m));)p.includes(h[1])||p.push(h[1]);return p})(d),l=o.text,c=o.text_matching||"exact",i.some((m=>Cc(m,l,c))))}xn(t,o){var n,a;if(o==null||!o.selector)return!0;var i=t==null||(n=t.properties)==null?void 0:n.$element_selectors;if(i!=null&&i.includes(o.selector))return!0;var l=(t==null||(a=t.properties)==null?void 0:a.$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||wB(o.properties.reduce(((n,a)=>{var i=It(a.value)?a.value.map(String):a.value!=null?[String(a.value)]:[];return n[a.key]={values:i,operator:a.operator||"exact"},n}),{}),t?.properties)}}class coe{constructor(t){this._instance=t,this.Tn=new Map,this.An=new Map,this.En=new Map}Rn(t,o){return!!t&&wB(t.propertyFilters,o?.properties)}Nn(t,o){var n=new Map;return t.forEach((a=>{var i;(i=a.conditions)==null||(i=i[o])==null||(i=i.values)==null||i.forEach((l=>{if(l!=null&&l.name){var c=n.get(l.name)||[];c.push(a.id),n.set(l.name,c)}}))})),n}Mn(t,o,n){var a=(n===Sd.Activation?this.Tn:this.An).get(t),i=[];return this.Fn((l=>{i=l.filter((c=>a?.includes(c.id)))})),i.filter((l=>{var c,d=(c=l.conditions)==null||(c=c[n])==null||(c=c.values)==null?void 0:c.find((m=>m.name===t));return this.Rn(d,o)}))}register(t){var o;ze((o=this._instance)==null?void 0:o._addCaptureHook)||(this.On(t),this.Pn(t))}Pn(t){var o=t.filter((n=>{var a,i;return((a=n.conditions)==null?void 0:a.actions)&&((i=n.conditions)==null||(i=i.actions)==null||(i=i.values)==null?void 0:i.length)>0}));o.length!==0&&(this.Ln==null&&(this.Ln=new loe(this._instance),this.Ln.init(),this.Ln.In((n=>{this.onAction(n)}))),o.forEach((n=>{var a,i,l,c,d;n.conditions&&(a=n.conditions)!=null&&a.actions&&(i=n.conditions)!=null&&(i=i.actions)!=null&&i.values&&((l=n.conditions)==null||(l=l.actions)==null||(l=l.values)==null?void 0:l.length)>0&&((c=this.Ln)==null||c.register(n.conditions.actions.values),(d=n.conditions)==null||(d=d.actions)==null||(d=d.values)==null||d.forEach((m=>{if(m&&m.name){var h=this.En.get(m.name);h&&h.push(n.id),this.En.set(m.name,h||[n.id])}})))})))}On(t){var o,n=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})),a=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}));n.length===0&&a.length===0||((o=this._instance)==null||o._addCaptureHook(((i,l)=>{this.onEvent(i,l)})),this.Tn=this.Nn(t,Sd.Activation),this.An=this.Nn(t,Sd.Cancellation))}onEvent(t,o){var n,a=this.le(),i=this.Dn(),l=this.Bn(),c=((n=this._instance)==null||(n=n.persistence)==null?void 0:n.props[i])||[];if(l===t&&o&&c.length>0){var d,m;a.info("event matched, removing item from activated items",{event:t,eventPayload:o,existingActivatedItems:c});var h=(o==null||(d=o.properties)==null?void 0:d.$survey_id)||(o==null||(m=o.properties)==null?void 0:m.$product_tour_id);if(h){var p=c.indexOf(h);0>p||(c.splice(p,1),this.jn(c))}}else{if(this.An.has(t)){var f=this.Mn(t,o,Sd.Cancellation);f.length>0&&(a.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)){a.info("event name matched",{event:t,eventPayload:o,items:this.Tn.get(t)});var v=this.Mn(t,o,Sd.Activation);this.jn(c.concat(v.map((b=>b.id))||[]))}}}onAction(t){var o,n=this.Dn(),a=((o=this._instance)==null||(o=o.persistence)==null?void 0:o.props[n])||[];this.En.has(t)&&this.jn(a.concat(this.En.get(t)||[]))}jn(t){var o=this.le(),n=[...new Set(t)].filter((a=>!this.qn(a)));o.info("updating activated items",{activatedItems:n}),this.Zn(n)}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 uoe extends coe{constructor(t){super(t)}Dn(){return iw}Bn(){return Ud.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 Jt}Zn(t){var o;(o=this._instance)==null||(o=o.persistence)==null||o.register({[iw]:t})}qn(){return!1}getSurveys(){return this.getActivatedIds()}getEventToSurveys(){return this.getEventToItemsMap()}}var mS="SDK is not enabled or survey functionality is not yet loaded",hO="Disabled. Not loading surveys.",doe=ge!=null&&ge.location?Pf(ge.location.hash,"__posthog")||Pf(location.hash,"state"):null,gO="_postHogToolbarParams",fO=vo("[Toolbar]"),Bn=vo("[FeatureFlags]"),tl=vo("[FeatureFlags]",{debugEnabled:!0}),pS=`" failed. Feature flags didn't load in time.`,vO=e=>{for(var t={},o=0;e.length>o;o++)t[e[o]]=!0;return t},bO=e=>{var t={};for(var[o,n]of jg(e||{}))n&&(t[o]=n);return t},di=vo("[Error tracking]"),yO="Refusing to render web experiment since the viewer is a likely bot",moe={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&&Df(t.href,e),not_regex:(e,t)=>!!ge&&!Df(t.href,e),exact:(e,t)=>t.href===e,is_not:(e,t)=>t.href!==e};class kn{get Bt(){return this._instance.config}constructor(t){var o=this;this.getWebExperimentsAndEvaluateDisplayLogic=function(n){n===void 0&&(n=!1),o.getWebExperiments((a=>{kn.Hn("retrieved web experiments from the server"),o.zn=new Map,a.forEach((i=>{if(i.feature_flag_key){var l;o.zn&&(kn.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);_o(c)&&i.variants[c]&&o.Un(i.name,c,i.variants[c].transforms)}else if(i.variants)for(var d in i.variants){var m=i.variants[d];kn.Yn(m)&&o.Un(i.name,d,m.transforms)}}))}),n)},this._instance=t,this._instance.onFeatureFlags((n=>{this.onFeatureFlags(n)}))}initialize(){}onFeatureFlags(t){if(this._is_bot())kn.Hn(yO);else if(!this.Bt.disable_web_experiments){if(xt(this.zn))return this.zn=new Map,this.loadIfEnabled(),void this.previewWebExperiment();kn.Hn("applying feature flags",t),t.forEach((o=>{var n;if(this.zn&&(n=this.zn)!=null&&n.has(o)){var a,i=this._instance.getFeatureFlag(o),l=(a=this.zn)==null?void 0:a.get(o);i&&l!=null&&l.variants[i]&&this.Un(l.name,i,l.variants[i].transforms)}}))}}previewWebExperiment(){var t=kn.getWindowLocation();if(t!=null&&t.search){var o=kf(t?.search,"__experiment_id"),n=kf(t?.search,"__experiment_variant");o&&n&&(kn.Hn("previewing web experiments "+o+" && "+n),this.getWebExperiments((a=>{this.Gn(parseInt(o),n,a)}),!1,!0))}}loadIfEnabled(){this.Bt.disable_web_experiments||this.getWebExperimentsAndEvaluateDisplayLogic()}getWebExperiments(t,o,n){if(this.Bt.disable_web_experiments&&!n)return t([]);var a=this._instance.get_property("$web_experiments");if(a&&!o)return t(a);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,n){var a=n.filter((i=>i.id===t));a&&a.length>0&&(kn.Hn("Previewing web experiment ["+a[0].name+"] with variant ["+o+"]"),this.Un(a[0].name,o,a[0].variants[o].transforms))}static Yn(t){return!xt(t.conditions)&&kn.Wn(t)&&kn.Xn(t)}static Wn(t){var o;if(xt(t.conditions)||xt((o=t.conditions)==null?void 0:o.url))return!0;var n,a,i,l=kn.getWindowLocation();return!!l&&((n=t.conditions)==null||!n.url||moe[(a=(i=t.conditions)==null?void 0:i.urlMatchType)!==null&&a!==void 0?a:"icontains"](t.conditions.url,l))}static getWindowLocation(){return ge?.location}static Xn(t){var o;if(xt(t.conditions)||xt((o=t.conditions)==null?void 0:o.utm))return!0;var n=iB();if(n.utm_source){var a,i,l,c,d,m,h,p,f=(a=t.conditions)==null||(a=a.utm)==null||!a.utm_campaign||((i=t.conditions)==null||(i=i.utm)==null?void 0:i.utm_campaign)==n.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)==n.utm_source,b=(d=t.conditions)==null||(d=d.utm)==null||!d.utm_medium||((m=t.conditions)==null||(m=m.utm)==null?void 0:m.utm_medium)==n.utm_medium,S=(h=t.conditions)==null||(h=h.utm)==null||!h.utm_term||((p=t.conditions)==null||(p=p.utm)==null?void 0:p.utm_term)==n.utm_term;return f&&b&&S&&v}return!1}static Hn(t){for(var o=arguments.length,n=new Array(o>1?o-1:0),a=1;o>a;a++)n[a-1]=arguments[a];Be.info("[WebExperiments] "+t,n)}Un(t,o,n){this._is_bot()?kn.Hn(yO):o!=="control"?n.forEach((a=>{if(a.selector){var i;kn.Hn("applying transform of variant "+o+" for experiment "+t+" ",a);var l=(i=document)==null?void 0:i.querySelectorAll(a.selector);l?.forEach((c=>{var d=c;a.html&&(d.innerHTML=a.html),a.css&&d.setAttribute("style",a.css)}))}})):kn.Hn("Control variants leave the page unmodified.")}_is_bot(){return ya&&this._instance?SB(ya,this.Bt.custom_blocked_useragents):void 0}}var Na=vo("[Conversations]"),ol="Conversations not available yet.",Tv={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,Bn.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||(Bn.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 n=o&&typeof o=="string"&&o.trim().length>0;return n||Bn.error("Invalid evaluation context found:",o,"Expected non-empty string"),n})):[]}cs(){return this.hs().length>0}initialize(){var e,t,{config:o}=this._instance,n=(e=(t=o.bootstrap)==null?void 0:t.featureFlags)!==null&&e!==void 0?e:{};if(Object.keys(n).length){var a,i,l=(a=(i=o.bootstrap)==null?void 0:i.featureFlagPayloads)!==null&&a!==void 0?a:{},c=Object.keys(n).filter((m=>!!n[m])).reduce(((m,h)=>(m[h]=n[h]||!1,m)),{}),d=Object.keys(l).filter((m=>c[m])).reduce(((m,h)=>(l[h]&&(m[h]=l[h]),m)),{});this.receivedFeatureFlags({featureFlags:c,featureFlagPayloads:d})}}updateFlags(e,t,o){var n=o!=null&&o.merge?this.getFlagVariants():{},a=o!=null&&o.merge?this.getFlagPayloads():{},i=Oe({},n,e),l=Oe({},a,t),c={};for(var[d,m]of Object.entries(i)){var h=typeof m=="string";c[d]={key:d,enabled:!!h||!!m,variant:h?m:void 0,reason:void 0,metadata:ze(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(ow),t=this.os(mi),o=this.os(Rc);if(!o&&!t)return e||{};var n=ko({},e||{}),a=[...new Set([...Object.keys(o||{}),...Object.keys(t||{})])];for(var i of a){var l,c,d=n[i],m=t?.[i],h=ze(m)?(l=d?.enabled)!==null&&l!==void 0&&l:!!m,p=ze(m)?d.variant:typeof m=="string"?m:void 0,f=o?.[i],v=Oe({},d,{enabled:h,variant:h?p??d?.variant:void 0});h!==d?.enabled&&(v.original_enabled=d?.enabled),p!==d?.variant&&(v.original_variant=d?.variant),f&&(v.metadata=Oe({},d?.metadata,{payload:f,original_payload:d==null||(c=d.metadata)==null?void 0:c.payload})),n[i]=v}return this.Jn||(Bn.warn(" Overriding feature flag details!",{flagDetails:e,overriddenPayloads:o,finalDetails:n}),this.Jn=!0),n}getFlagVariants(){var e=this.os(Fc),t=this.os(mi);if(!t)return e||{};for(var o=ko({},e),n=Object.keys(t),a=0;n.length>a;a++)o[n[a]]=t[n[a]];return this.Jn||(Bn.warn(" Overriding feature flags!",{enabledFlags:e,overriddenFlags:t,finalFlags:o}),this.Jn=!0),o}getFlagPayloads(){var e=this.os(nw),t=this.os(Rc);if(!t)return e||{};for(var o=ko({},e||{}),n=Object.keys(t),a=0;n.length>a;a++)o[n[a]]=t[n[a]];return this.Jn||(Bn.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,n=this.os(bf),a={token:o,distinct_id:this._instance.get_distinct_id(),groups:this._instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:Oe({},((t=this.ni)==null?void 0:t.get_initial_props())||{},this.os(zd)||{}),group_properties:this.os(rl),timezone:mB()};xi(n)||ze(n)||(a.$device_id=n),(e!=null&&e.disableFlags||this.Bt.advanced_disable_feature_flags)&&(a.disable_flags=!0),this.cs()&&(a.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:a,compression:this.Bt.disable_compression?void 0:kr.Base64,timeout:this.Bt.feature_flag_request_timeout_ms,callback:l=>{var c,d,m,h=!0;if(l.statusCode===200&&(this.ts||(this.$anon_distinct_id=void 0),h=!1),this.Qn=!1,!a.disable_flags||this.ts){this.rs=!h;var p=[];l.error?l.error instanceof Error?p.push(l.error.name==="AbortError"?"timeout":"connection_error"):p.push("unknown_error"):l.statusCode!==200&&p.push("api_error_"+l.statusCode),(c=l.json)!=null&&c.errorsWhileComputingFlags&&p.push("errors_while_computing_flags");var f,v=!((d=l.json)==null||(d=d.quotaLimited)==null||!d.includes("feature_flags"));v&&p.push("quota_limited"),(m=this.ni)==null||m.register({[lw]:p}),v?Bn.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."):(a.disable_flags||this.receivedFeatureFlags((f=l.json)!==null&&f!==void 0?f:{},h,{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 n=this.getFeatureFlagResult(e,t);return(o=n?.variant)!==null&&o!==void 0?o:n?.enabled}}else Bn.warn('getFeatureFlag for key "'+e+pS)}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(),n=e in o,a=o[e],i=this.getFlagPayloads()[e],l=String(a),c=this.os(aw)||void 0,d=this.os(Sf)||void 0,m=this.os(Wd)||{};if(this.Bt.advanced_feature_flags_dedup_per_session){var h,p=this._instance.get_session_id(),f=this.os(sw);p&&p!==f&&(m={},(h=this.ni)==null||h.register({[Wd]:m,[sw]:p}))}if((t.send_event||!("send_event"in t))&&(!(e in m)||!m[e].includes(l))){var v,b,S,x,_,w,P,T,k,R;It(m[e])?m[e].push(l):m[e]=[l],(v=this.ni)==null||v.register({[Wd]:m});var D=this.getFeatureFlagDetails(e),O=[...(b=this.os(lw))!==null&&b!==void 0?b:[]];ze(a)&&O.push("flag_missing");var L={$feature_flag:e,$feature_flag_response:a,$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:((x=this.Bt.bootstrap)==null||(x=x.featureFlagPayloads)==null?void 0:x[e])||null,$used_bootstrap_value:!this.rs};ze(D==null||(_=D.metadata)==null?void 0:_.version)||(L.$feature_flag_version=D.metadata.version);var U,F=(w=D==null||(P=D.reason)==null?void 0:P.description)!==null&&w!==void 0?w:D==null||(T=D.reason)==null?void 0:T.code;F&&(L.$feature_flag_reason=F),D!=null&&(k=D.metadata)!=null&&k.id&&(L.$feature_flag_id=D.metadata.id),ze(D?.original_variant)&&ze(D?.original_enabled)||(L.$feature_flag_original_response=ze(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||(U=D.metadata)==null?void 0:U.original_payload),O.length&&(L.$feature_flag_error=O.join(",")),this._instance.capture("$feature_flag_called",L)}if(n){var $=i;if(!ze(i))try{$=JSON.parse(i)}catch{}return{key:e,enabled:!!a,variant:typeof a=="string"?a:void 0,payload:$}}}}else Bn.warn('getFeatureFlagResult for key "'+e+pS)}getRemoteConfigPayload(e,t){var o=this.Bt.token,n={distinct_id:this._instance.get_distinct_id(),token:o};this.cs()&&(n.evaluation_contexts=this.hs()),this._instance._send_request({method:"POST",url:this._instance.requestRouter.endpointFor("flags","/flags/?v=2"),data:n,compression:this.Bt.disable_compression?void 0:kr.Base64,timeout:this.Bt.feature_flag_request_timeout_ms,callback(a){var i,l=(i=a.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 ze(o)?void 0:!!o}Bn.warn('isFeatureEnabled for key "'+e+pS)}}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 n=this.getFlagVariants(),a=this.getFlagPayloads(),i=this.getFlagsWithDetails();(function(l,c,d,m,h,p){d===void 0&&(d={}),m===void 0&&(m={}),h===void 0&&(h={});var f=(O=>{var L=O.flags;return L?(O.featureFlags=Object.fromEntries(Object.keys(L).map((U=>{var F;return[U,(F=L[U].variant)!==null&&F!==void 0?F:L[U].enabled]}))),O.featureFlagPayloads=Object.fromEntries(Object.keys(L).filter((U=>L[U].enabled)).filter((U=>{var F;return(F=L[U].metadata)==null?void 0:F.payload})).map((U=>{var F;return[U,(F=L[U].metadata)==null?void 0:F.payload]})))):Bn.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 x=l.requestId,_=l.evaluatedAt;if(It(b)){Bn.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");var w={};if(b)for(var P=0;b.length>P;P++)w[b[P]]=!0;c&&c.register({[Fg]:b,[Fc]:w})}else{var T=b,k=S,R=v;if(p!=null&&p.partialResponse)T=Oe({},d,T),k=Oe({},m,k),R=Oe({},h,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)})));T=Oe({},d,Object.fromEntries(Object.entries(T).filter((O=>{var[L]=O;return D.has(L)})))),k=Oe({},m,Object.fromEntries(Object.entries(k||{}).filter((O=>{var[L]=O;return D.has(L)})))),R=Oe({},h,Object.fromEntries(Object.entries(R||{}).filter((O=>{var[L]=O;return D.has(L)}))))}else T=Oe({},d,T),k=Oe({},m,k),R=Oe({},h,R);c&&c.register(Oe({[Fg]:Object.keys(bO(T)),[Fc]:T||{},[nw]:k||{},[ow]:R||{}},x?{[aw]:x}:{},_?{[Sf]:_}:{}))}}})(e,this.ni,n,a,i,o),t||(this.ss=!1),this.ps(t)}}override(e,t){t===void 0&&(t=!1),Bn.warn("override is deprecated. Please use overrideFeatureFlags instead."),this.overrideFeatureFlags({flags:e,suppressWarning:t})}overrideFeatureFlags(e){if(!this._instance.__loaded||!this.ni)return Bn.uninitializedWarning("posthog.featureFlags.overrideFeatureFlags");if(e===!1)return this.ni.unregister(mi),this.ni.unregister(Rc),this.ps(),tl.info("All overrides cleared");if(It(e)){var t=vO(e);return this.ni.register({[mi]:t}),this.ps(),tl.info("Flag overrides set",{flags:e})}if(e&&typeof e=="object"&&("flags"in e||"payloads"in e)){var o,n=e;if(this.Jn=!!((o=n.suppressWarning)!==null&&o!==void 0&&o),"flags"in n){if(n.flags===!1)this.ni.unregister(mi),tl.info("Flag overrides cleared");else if(n.flags){if(It(n.flags)){var a=vO(n.flags);this.ni.register({[mi]:a})}else this.ni.register({[mi]:n.flags});tl.info("Flag overrides set",{flags:n.flags})}}return"payloads"in n&&(n.payloads===!1?(this.ni.unregister(Rc),tl.info("Payload overrides cleared")):n.payloads&&(this.ni.register({[Rc]:n.payloads}),tl.info("Payload overrides set",{payloads:n.payloads}))),void this.ps()}if(e&&typeof e=="object")return this.ni.register({[mi]:e}),this.ps(),tl.info("Flag overrides set",{flags:e});Bn.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 n,a=(this.os(jd)||[]).find((d=>d.flagKey===e)),i={["$feature_enrollment/"+e]:t},l={$feature_flag:e,$feature_enrollment:t,$set:i};a&&(l.$early_access_feature_name=a.name),o&&(l.$feature_enrollment_stage=o),this._instance.capture("$feature_enrollment_update",l),this.setPersonPropertiesForFlags(i,!1);var c=Oe({},this.getFlagVariants(),{[e]:t});(n=this.ni)==null||n.register({[Fg]:Object.keys(bO(c)),[Fc]:c}),this.ps()}getEarlyAccessFeatures(e,t,o){t===void 0&&(t=!1);var n=this.os(jd),a=o?"&"+o.map((i=>"stage="+i)).join("&"):"";if(n&&!t)return e(n);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/early_access_features/?token="+this.Bt.token+a),method:"GET",callback:i=>{var l,c;if(i.json){var d=i.json.earlyAccessFeatures;return(l=this.ni)==null||l.unregister(jd),(c=this.ni)==null||c.register({[jd]: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,n)=>(o[n]=t[n],o)),{})}}ps(e){var{flags:t,flagVariants:o}=this.gs();this.featureFlagEventHandlers.forEach((n=>n(t,o,{errorsLoading:e})))}setPersonPropertiesForFlags(e,t){t===void 0&&(t=!0);var o=this.os(zd)||{},n=e?.$set||(e!=null&&e.$set_once?{}:e),a=e?.$set_once,i={};if(a)for(var l in a)({}).hasOwnProperty.call(a,l)&&(l in o||(i[l]=a[l]));this._instance.register({[zd]:Oe({},o,i,n)}),t&&this._instance.reloadFeatureFlags()}resetPersonPropertiesForFlags(){this._instance.unregister(zd)}setGroupPropertiesForFlags(e,t){t===void 0&&(t=!0);var o=this.os(rl)||{};Object.keys(o).length!==0&&Object.keys(o).forEach((n=>{o[n]=Oe({},o[n],e[n]),delete e[n]})),this._instance.register({[rl]:Oe({},o,e)}),t&&this._instance.reloadFeatureFlags()}resetGroupPropertiesForFlags(e){if(e){var t=this.os(rl)||{};this._instance.register({[rl]:Oe({},t,{[e]:{}})})}else this._instance.unregister(rl)}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}}},poe={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===Td||this.bs===bg?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=cO,this._s=void 0,this._instance=e,!this._instance.sessionManager)throw ts.error("started without valid sessionManager"),new Error(xw+" started without valid sessionManager. This is a bug.");if(this.Bt.cookieless_mode===hi)throw new Error(xw+' cannot be used with cookieless_mode="always"')}initialize(){this.startIfEnabledOrStop()}get ws(){var e,t=!((e=this._instance.get_property(Bd))==null||!e.enabled),o=!this.Bt.disable_session_recording,n=this.Bt.disable_session_recording||this._instance.consent.isOptedOut();return ge&&t&&o&&!n}startIfEnabledOrStop(e){var t;if(!this.ws||(t=this.ys)==null||!t.isStarted){var o=!ze(Object.assign)&&!ze(Array.from);this.ws&&o?(this.Is(e),ts.info("starting")):(this.bs=cO,this.stopRecording())}}Is(e){var t,o,n;this.ws&&(this.bs!==Td&&this.bs!==bg&&(this.bs=uO),Qe!=null&&(t=Qe.__PosthogExtensions__)!=null&&(t=t.rrweb)!=null&&t.record&&(o=Qe.__PosthogExtensions__)!=null&&o.initSessionRecording?this.Cs(e):(n=Qe.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,this.Ss,(a=>{if(a)return ts.error("could not load recorder",a);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(mx)}Ts(e,t){if(xt(e))return null;var o,n=Va(e)?e:parseFloat(e);return typeof(o=n)!="number"||!Number.isFinite(o)||0>o||o>1?(ts.warn(t+" must be between 0 and 1. Ignoring invalid value:",e),null):n}As(e){if(this.ni){var t,o,n=this.ni,a=()=>{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"),m=c??d;xt(m)&&this.ks();var h=l?.minimumDurationMilliseconds;n.register({[Bd]:Oe({cache_timestamp:Date.now(),enabled:!!l},l,{networkPayloadCapture:Oe({capturePerformance:e.capturePerformance},l?.networkPayloadCapture),canvasRecording:{enabled:l?.recordCanvas,fps:l?.canvasFps,quality:l?.canvasQuality},sampleRate:m,minimumDurationMilliseconds:ze(h)?null:h,endpoint:l?.endpoint,triggerMatchType:l?.triggerMatchType,masking:l?.masking,urlTriggers:l?.urlTriggers,version:l?.version,triggerGroups:l?.triggerGroups})})};a(),(t=this._s)==null||t.call(this),this._s=(o=this._instance.sessionManager)==null?void 0:o.onSessionId(a)}}onRemoteConfig(e){return"sessionRecording"in e?e.sessionRecording===!1?(this.As(e),void this.xs()):(this.As(e),void this.startIfEnabledOrStop()):(this.bs===Td&&(this.bs=bg,ts.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):ts.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(Bd);return(o==null||(t=o.scriptConfig)==null?void 0:t.script)||"lazy-recorder"}Es(){var e,t=this._instance.get_property(Bd);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=Qe.__PosthogExtensions__)==null||!t.initSessionRecording)return ts.warn("Called on script loaded before session recording is available. This can be caused by adblockers."),void this._instance.register_for_session({[tB]:!0});if(this.ys||(this.ys=(o=Qe.__PosthogExtensions__)==null?void 0:o.initSessionRecording(this._instance),this.ys._forceAllowLocalhostNetworkCapture=this._forceAllowLocalhostNetworkCapture),!this.Es())return this.bs===bg||this.bs===Td?void 0:(this.bs=Td,ts.info("persisted remote config is stale, requesting fresh config before starting"),void new pB(this._instance).load());this.bs=uO,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({[YF]:!0}),(e=this.ys)==null||e.overrideLinkedFlag()}overrideSampling(){var e,t;this.ys||(t=this.ni)==null||t.register({[WF]:!0}),(e=this.ys)==null||e.overrideSampling()}overrideTrigger(e){var t,o;this.ys||(o=this.ni)==null||o.register({[e==="url"?ZF:QF]:!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))}}},hoe={autocapture:class{constructor(e){this.Rs=!1,this.Ns=null,this.Ms=!1,this.instance=e,this.rageclicks=new rO(e.config.rageclick),this.Fs=null}initialize(){this.startIfEnabled()}get Bt(){var e,t,o=Do(this.instance.config.autocapture)?this.instance.config.autocapture:{};return o.url_allowlist=(e=o.url_allowlist)==null?void 0:e.map((n=>new RegExp(n))),o.url_ignorelist=(t=o.url_ignorelist)==null?void 0:t.map((n=>new RegExp(n))),o}Os(){if(this.isBrowserSupported()){if(ge&&Fe){var e=o=>{o=o||ge?.event;try{this.Ps(o)}catch(n){iO.error("Failed to capture event",n)}};if(Ho(Fe,"submit",e,{capture:!0}),Ho(Fe,"change",e,{capture:!0}),Ho(Fe,"click",e,{capture:!0}),this.Bt.capture_copied_text){var t=o=>{this.Ps(o=o||ge?.event,uS)};Ho(Fe,"copy",t,{capture:!0}),Ho(Fe,"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({[W_]:!!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((n=>{var a=Fe?.querySelectorAll(n);a?.forEach((i=>{e===i&&o.push(n)}))})),o}get isEnabled(){var e,t,o=(e=this.instance.persistence)==null?void 0:e.props[W_];if(xi(this.Ns)&&!Or(o)&&!this.instance.Fr())return!1;var n=(t=this.Ns)!==null&&t!==void 0?t:!!o;return!!this.instance.config.autocapture&&!n}Ps(e,t){if(t===void 0&&(t="$autocapture"),this.isEnabled){var o,n=XD(e);EB(n)&&(n=n.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(p,f){if(!ge||ww(p))return!1;var v,b,S;if(Or(f)?(v=!!f&&tO,b=void 0):(v=(S=f?.css_selector_ignorelist)!==null&&S!==void 0?S:tO,b=f?.content_ignorelist),v===!1)return!1;var{targetElementList:x}=oO(p,!1);return!(function(_,w){if(_===!1||ze(_))return!1;var P;if(_===!0)P=Qte;else{if(!It(_))return!1;if(_.length>10)return Be.error("[PostHog] content_ignorelist array cannot exceed 10 items. Use css_selector_ignorelist for more complex matching."),!1;P=_.map((T=>T.toLowerCase()))}return w.some((T=>{var{safeText:k,ariaLabel:R}=T;return P.some((D=>k.includes(D)||R.includes(D)))}))})(b,x.map((_=>{var w;return{safeText:fm(_).toLowerCase(),ariaLabel:((w=_.getAttribute("aria-label"))==null?void 0:w.toLowerCase().trim())||""}})))&&!eO(x,v)})(n,this.instance.config.rageclick)&&this.Ps(e,"$rageclick");var a=t===uS;if(n&&(function(p,f,v,b,S){var x,_,w,P;if(v===void 0&&(v=void 0),!ge||ww(p)||(x=v)!=null&&x.url_allowlist&&!JD(v.url_allowlist)||(_=v)!=null&&_.url_ignorelist&&JD(v.url_ignorelist))return!1;if((w=v)!=null&&w.dom_event_allowlist){var T=v.dom_event_allowlist;if(T&&!T.some((L=>f.type===L)))return!1}var{parentIsUsefulElement:k,targetElementList:R}=oO(p,b);if(!(function(L,U){var F=U?.element_allowlist;if(ze(F))return!0;var $,j=function(ae){if(F.some((V=>ae.tagName.toLowerCase()===V)))return{v:!0}};for(var K of L)if($=j(K))return $.v;return!1})(R,v)||!eO(R,(P=v)==null?void 0:P.css_selector_allowlist))return!1;var D=ge.getComputedStyle(p);if(D&&D.getPropertyValue("cursor")==="pointer"&&f.type==="click")return!0;var O=p.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 k?(S||["click"]).indexOf(f.type)>=0:(S||["click"]).indexOf(f.type)>=0&&(yx.indexOf(O)>-1||p.getAttribute("contenteditable")==="true")}})(n,e,this.Bt,a,a?["copy","cut"]:void 0)){var{props:i,explicitNoCapture:l}=aoe(n,{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(n);if(c&&c.length>0&&(i.$element_selectors=c),t===uS){var d,m=kB(ge==null||(d=ge.getSelection())==null?void 0:d.toString()),h=e.type||"clipboard";if(!m)return!1;i.$selected_content=m,i.$copy_type=h}return this.instance.capture(t,i),!0}}}isBrowserSupported(){return pi(Fe?.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&&(Be.info("History API monitoring enabled, starting..."),this.monitorHistoryChanges())}stop(){this.Ds&&this.Ds(),this.Ds=void 0,Be.info("History API monitoring stopped")}monitorHistoryChanges(){var e,t;if(ge&&ge.history){var o=this;(e=ge.history.pushState)!=null&&e.__posthog_wrapped__||sO(ge.history,"pushState",(n=>function(a,i,l){n.call(this,a,i,l),o.Bs("pushState")})),(t=ge.history.replaceState)!=null&&t.__posthog_wrapped__||sO(ge.history,"replaceState",(n=>function(a,i,l){n.call(this,a,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(Dc,{navigation_type:e}),this.Ls=o}catch(n){Be.error("Error capturing "+e+" pageview",n)}}js(){if(!this.Ds){var e=()=>{this.Bs("popstate")};Ho(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[Y_]),this.rageclicks=new rO(e.config.rageclick)}initialize(){this.startIfEnabled()}get flushIntervalMilliseconds(){var e=5e3;return Do(this.Bt.capture_heatmaps)&&this.Bt.capture_heatmaps.flush_interval_milliseconds&&(e=this.Bt.capture_heatmaps.flush_interval_milliseconds),e}get isEnabled(){return xt(this.Bt.capture_heatmaps)?xt(this.Bt.enable_heatmaps)?this.$s:this.Bt.enable_heatmaps:this.Bt.capture_heatmaps!==!1}startIfEnabled(){if(this.isEnabled){if(this.Rs)return;ioe.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({[Y_]: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=Fe?.visibilityState==="visible"?setInterval(this.Yr.bind(this),this.flushIntervalMilliseconds):null}Zs(){ge&&Fe&&(this.zs=this.Yr.bind(this),Ho(ge,xf,this.zs),this.Us=e=>this.Tt(e||ge?.event),Ho(Fe,"click",this.Us,{capture:!0}),this.Ys=e=>this.Gs(e||ge?.event),Ho(Fe,"mousemove",this.Ys,{capture:!0}),this.Ws=new OD(this.instance,yte,this.Hs.bind(this)),this.Ws.startIfEnabledOrStop(),this.Xs=this.Ft.bind(this),Ho(Fe,Cf,this.Xs),this.Rs=!0)}Vs(){var e;ge&&Fe&&(this.zs&&ge.removeEventListener(xf,this.zs),this.Us&&Fe.removeEventListener("click",this.Us,{capture:!0}),this.Ys&&Fe.removeEventListener("mousemove",this.Ys,{capture:!0}),this.Xs&&Fe.removeEventListener(Cf,this.Xs),clearTimeout(this.Js),(e=this.Ws)==null||e.stop(),this.Rs=!1)}Ks(e,t){var o=this.instance.scrollManager.scrollY(),n=this.instance.scrollManager.scrollX(),a=this.instance.scrollManager.scrollElement(),i=(function(l,c,d){for(var m=l;m&&Ev(m)&&!vs(m,"body");){if(m===d)return!1;if(Ct(c,ge?.getComputedStyle(m).position))return!0;m=PB(m)}return!1})(XD(e),["fixed","sticky"],a);return{x:e.clientX+(i?0:n),y:e.clientY+(i?0:o),target_fixed:i,type:t}}Tt(e,t){var o;if(t===void 0&&(t="click"),!QD(e.target)&&dO(e)){var n=this.Ks(e,t);(o=this.rageclicks)!=null&&o.isRageClick(e.clientX,e.clientY,new Date().getTime())&&this.Qs(Oe({},n,{type:"rageclick"})),this.Qs(n)}}Gs(e){!QD(e.target)&&dO(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,n=this.Bt.mask_personal_data_properties?[...lu,...o||[]]:[],a=hm(t,n,gm);this.T=this.T||{},this.T[a]||(this.T[a]=[]),this.T[a].push(e)}}Yr(){this.T&&!Nc(this.T)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}},deadClicksAutocapture:OD,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,n)=>Oe({},o,{["$web_vitals_"+n.name+"_event"]:Oe({},n),["$web_vitals_"+n.name+"_value"]:n.value})),{})),this.T={url:void 0,metrics:[],firstMetricTimestamp:void 0})},this.ht=o=>{var n,a=(n=this._instance.sessionManager)==null?void 0:n.checkAndGetSessionAndWindowId(!0);if(ze(a))es.error("Could not read session ID. Dropping metrics!");else{this.T=this.T||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var i=this.io();ze(i)||(xt(o?.name)||xt(o?.value)?es.error("Invalid metric received",o):!this.no||this.no>o.value?(this.T.url!==i&&(this.eo(),this.ro=setTimeout(this.eo,this.flushToCaptureTimeoutMs)),ze(this.T.url)&&(this.T.url=i),this.T.firstMetricTimestamp=ze(this.T.firstMetricTimestamp)?Date.now():this.T.firstMetricTimestamp,o.attribution&&o.attribution.interactionTargetElement&&(o.attribution.interactionTargetElement=void 0),this.T.metrics.push(Oe({},o,{$current_url:i,$session_id:a.sessionId,$window_id:a.windowId,timestamp:Date.now()})),this.T.metrics.length===this.allowedMetrics.length&&this.eo()):es.error("Ignoring metric with value >= "+this.no,o))}},this.so=()=>{if(!this.Rs){var o,n,a,i,l=Qe.__PosthogExtensions__;ze(l)||ze(l.postHogWebVitalsCallbacks)||({onLCP:o,onCLS:n,onFCP:a,onINP:i}=l.postHogWebVitalsCallbacks),o&&n&&a&&i?(this.allowedMetrics.indexOf("LCP")>-1&&o(this.ht.bind(this)),this.allowedMetrics.indexOf("CLS")>-1&&n(this.ht.bind(this)),this.allowedMetrics.indexOf("FCP")>-1&&a(this.ht.bind(this)),this.allowedMetrics.indexOf("INP")>-1&&i(this.ht.bind(this)),this.Rs=!0):es.error("web vitals callbacks not loaded - not starting")}},this._instance=e,this.$s=!((t=this._instance.persistence)==null||!t.props[X_]),this.startIfEnabled()}get oo(){return this._instance.config.capture_performance}get allowedMetrics(){var e,t,o=Do(this.oo)?(e=this.oo)==null?void 0:e.web_vitals_allowed_metrics:void 0;return xt(o)?((t=this._instance.persistence)==null?void 0:t.props[tw])||["CLS","FCP","INP","LCP"]:o}get flushToCaptureTimeoutMs(){return(Do(this.oo)?this.oo.web_vitals_delayed_flush_ms:void 0)||5e3}get useAttribution(){var e=Do(this.oo)?this.oo.web_vitals_attribution:void 0;return e!=null&&e}get no(){var e=Do(this.oo)&&Va(this.oo.__web_vitals_max_value)?this.oo.__web_vitals_max_value:lO;return e>0&&6e4>=e?lO:e}get isEnabled(){var e=gn?.protocol;if(e!=="http:"&&e!=="https:")return es.info("Web Vitals are disabled on non-http/https protocols"),!1;var t=Do(this.oo)?this.oo.web_vitals:Or(this.oo)?this.oo:void 0;return Or(t)?t:this.$s}startIfEnabled(){this.isEnabled&&!this.Rs&&(es.info("enabled, starting..."),this.ur(this.so))}onRemoteConfig(e){if("capturePerformance"in e){var t=Do(e.capturePerformance)&&!!e.capturePerformance.web_vitals,o=Do(e.capturePerformance)?e.capturePerformance.web_vitals_allowed_metrics:void 0;this._instance.persistence&&(this._instance.persistence.register({[X_]:t}),this._instance.persistence.register({[tw]:o})),this.$s=t,this.startIfEnabled()}}ur(e){var t,o;(t=Qe.__PosthogExtensions__)!=null&&t.postHogWebVitalsCallbacks?e():(o=Qe.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,this.useAttribution?"web-vitals-with-attribution":"web-vitals",(n=>{n?es.error("failed to load script",n):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?[...lu,...t||[]]:[];return hm(e,o,gm)}es.error("Could not determine current URL")}}},goe={exceptionObserver:class{constructor(e){var t,o,n;this.so=()=>{var a;if(ge&&this.isEnabled&&(a=Qe.__PosthogExtensions__)!=null&&a.errorWrappingFunctions){var i=Qe.__PosthogExtensions__.errorWrappingFunctions.wrapOnError,l=Qe.__PosthogExtensions__.errorWrappingFunctions.wrapUnhandledRejection,c=Qe.__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){Ed.error("failed to start",d),this.ho()}}},this._instance=e,this.co=!((t=this._instance.persistence)==null||!t.props[Z_]),this.do=new Pee({refillRate:(o=this._instance.config.error_tracking.__exceptionRateLimiterRefillRate)!==null&&o!==void 0?o:1,bucketSize:(n=this._instance.config.error_tracking.__exceptionRateLimiterBucketSize)!==null&&n!==void 0?n:10,refillInterval:1e4,Gt:Ed}),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 Do(e)?t=Oe({},t,e):(ze(e)?this.co:e)&&(t=Oe({},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?(Ed.info("enabled"),this.ho(),this.ur(this.so)):this.ho()}ur(e){var t,o;(t=Qe.__PosthogExtensions__)!=null&&t.errorWrappingFunctions&&e(),(o=Qe.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"exception-autocapture",(n=>{if(n)return Ed.error("failed to load script",n);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({[Z_]:this.co}),this.Bt=this.vo(),this.startIfEnabledOrStop())}onConfigChange(){this.Bt=this.vo()}captureException(e){var t,o,n,a=(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(a)?Ed.info("Skipping exception capture because of client rate limiting.",{exception:a}):(n=this._instance.exceptions)==null||n.sendExceptionEvent(e)}},exceptions:class{constructor(e){var t,o;this.fo=[],this.po=new Uee([new Yee,new ate,new Qee,new Zee,new ote,new tte,new Xee,new nte],(function(n){for(var a=arguments.length,i=new Array(a>1?a-1:0),l=1;a>l;l++)i[l-1]=arguments[l];return function(c,d){d===void 0&&(d=0);for(var m=[],h=c.split(`
100
- `),p=d;h.length>p;p++){var f=h[p];if(1024>=f.length){var v=PD.test(f)?f.replace(PD,"$1"):f;if(!v.match(/\S*Error: /)){for(var b of i){var S=b(v,n);if(S){m.push(S);break}}if(m.length>=50)break}}}return(function(x){if(!x.length)return[];var _=Array.from(x);return _.reverse(),_.slice(0,50).map((w=>{return Oe({},w,{filename:w.filename||(P=_,P[P.length-1]||{}).filename,function:w.function||su});var P}))})(m)}})("web:javascript",Hee,Wee)),this._instance=e,this.fo=(t=(o=this._instance.persistence)==null?void 0:o.get_property(Q_))!==null&&t!==void 0?t:[],this.mo=vf(this.yo()),this.bo=new ite(this.mo)}onConfigChange(){this.mo=vf(this.yo()),this.bo.setConfig(this.mo)}onRemoteConfig(e){var t,o,n;if("errorTracking"in e){var a=(t=(o=e.errorTracking)==null?void 0:o.suppressionRules)!==null&&t!==void 0?t:[],i=(n=e.errorTracking)==null?void 0:n.captureExtensionExceptions;this.fo=a,this._instance.persistence&&this._instance.persistence.register({[Q_]:this.fo,[J_]:i})}}get _o(){var e,t=!!this._instance.get_property(J_),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(!_o(e)||e.trim().length===0)return void di.warn("Ignoring exception step because message must be a non-empty string");var o=this.wo(t),{sanitizedProperties:n,droppedKeys:a}=(function(i){if(!i)return{sanitizedProperties:{},droppedKeys:[]};var l=[];return{sanitizedProperties:Object.keys(i).reduce(((c,d)=>rte.has(d)?(l.push(d),c):(c[d]=i[d],c)),{}),droppedKeys:l}})(o);a.length>0&&di.warn("Ignoring reserved exception step fields",{droppedKeys:a}),this.bo.add(Oe({[gf]:e,[ff]:new Date().toISOString()},n))}catch(i){di.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 di.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 di.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 di.info("Skipping exception capture because it was thrown by the PostHog SDK")}var o=this.mo.enabled&&xt(e.$exception_steps)?this.To(e):e;try{var n=this._instance.capture("$exception",o,{_noTruncate:!0,_batchKey:"exceptionEvent",en:!0});return n&&this.bo.clear(),n}catch(a){return di.error("Failed to capture exception event. Dropping this exception.",a),void this.bo.clear()}}catch(a){return void di.error("Failed to process exception event. Ignoring this exception.",a)}}To(e){try{var t=this.bo.getAttachable();return t.length===0?e:Oe({},e,{$exception_steps:t})}catch(o){return di.error("Failed to read buffered exception steps. Capturing exception without steps.",o),e}}So(e){this.mo.enabled&&this.bo.add({[gf]:e,[ff]:new Date().toISOString()})}wo(e){return Do(e)?Oe({},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,n)=>{var{type:a,value:i}=n;return _o(a)&&a.length>0&&o.$exception_types.push(a),_o(i)&&i.length>0&&o.$exception_values.push(i),o}),{$exception_types:[],$exception_values:[]});return this.fo.some((o=>{var n=o.values.map((a=>{var i,l=_B[a.operator],c=It(a.value)?a.value:[a.value],d=(i=t[a.key])!==null&&i!==void 0?i:[];return c.length>0&&l(c,d)}));return o.type==="OR"?n.some(Boolean):n.every(Boolean)}))}xo(e){return e.flatMap((t=>{var o,n;return(o=(n=t.stacktrace)==null?void 0:n.frames)!==null&&o!==void 0?o:[]})).some((t=>t.filename&&t.filename.startsWith("chrome-extension://")))}ko(e){if(e.length>0){var t,o,n,a,i=(t=(o=e[0].stacktrace)==null?void 0:o.frames)!==null&&t!==void 0?t:[],l=i[i.length-1];return(n=l==null||(a=l.filename)==null?void 0:a.includes("posthog.com/static"))!==null&&n!==void 0&&n}return!1}Io(e){return!xt(e)&&It(e)}}},foe=Oe({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({[ew]:!!e.productTours}),this.loadIfEnabled())}loadIfEnabled(){var e,t;this.Ao||(e=this._instance).config.disable_product_tours||(t=e.persistence)==null||!t.get_property(ew)||this.ur((()=>this.Ro()))}ur(e){var t,o;(t=Qe.__PosthogExtensions__)!=null&&t.generateProductTours?e():(o=Qe.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"product-tours",(n=>{n?mO.error("Could not load product tours script",n):e()}))}Ro(){var e;!this.Ao&&(e=Qe.__PosthogExtensions__)!=null&&e.generateProductTours&&(this.Ao=Qe.__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 n=o.props[Bg];if(It(n)&&!t)return this.Eo=n,void e(n,{isLoaded:!0})}this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/product_tours/?token="+this._instance.config.token),method:"GET",callback:a=>{var i=a.statusCode;if(i!==200||!a.json){var l="Product Tours API could not be loaded, status: "+i;return mO.error(l),void e([],{isLoaded:!1,error:l})}var c=It(a.json.product_tours)?a.json.product_tours:[];this.Eo=c,o&&o.register({[Bg]:c}),e(c,{isLoaded:!0})}})}else e(this.Eo,{isLoaded:!0})}getActiveProductTours(e){xt(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(Bg)}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)}}},Tv),voe={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=Qe._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,n,a,i,l,c;if(!e)throw new Error("Event payload is required");var d={},m=this._instance.get_property("$groups")||[],h=this._instance.get_property("$stored_group_properties")||{};for(var[p,f]of Object.entries(h))d[p]={id:m[p],type:p,properties:f};var{$set_once:v,$set:b}=e;return{event:Oe({},wF(e,soe),{properties:Oe({},e.properties,b?{$set:Oe({},(t=(o=e.properties)==null?void 0:o.$set)!==null&&t!==void 0?t:{},b)}:{},v?{$set_once:Oe({},(n=(a=e.properties)==null?void 0:a.$set_once)!==null&&n!==void 0?n:{},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&&(os.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))},n=!1,a=l=>{t.errored=!l,t.loaded=!0,os.info("Site app with id "+e.id+" "+(l?"loaded":"errored")),n&&o()};try{var{processEvent:i}=e.init({posthog:this._instance,callback(l){a(l)}});i&&(t.processEvent=i),n=!0}catch(l){os.error(pO+e.id,l),a(!1)}if(n&&t.loaded)try{o()}catch(l){os.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(n){os.error("Error while processing event "+e.event+" for site app "+o.id,n)}}}onRemoteConfig(e){var t,o,n,a=this;if((t=this.siteAppLoaders)!=null&&t.length)return this.isEnabled?(this.Oo(),void this._instance.on("eventCaptured",(d=>this.Po(d)))):void os.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if((o=this.Fo)==null||o.call(this),(n=e.siteApps)!=null&&n.length)if(this.isEnabled){var i=function(d){var m;Qe["__$$ph_site_app_"+d]=a._instance,(m=Qe.__PosthogExtensions__)==null||m.loadSiteApp==null||m.loadSiteApp(a._instance,c,(h=>{if(h)return os.error(pO+d,h)}))};for(var{id:l,url:c}of e.siteApps)i(l)}else os.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}},boe={tracingHeaders:class{constructor(e){this.Lo=void 0,this.Do=void 0,this.so=()=>{var t,o,n=this.Bo()||[];ze(this.Lo)&&((t=Qe.__PosthogExtensions__)==null||(t=t.tracingHeadersPatchFns)==null||t._patchXHR(n,this._instance.get_distinct_id(),this._instance.sessionManager)),ze(this.Do)&&((o=Qe.__PosthogExtensions__)==null||(o=o.tracingHeadersPatchFns)==null||o._patchFetch(n,this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=e}initialize(){this.startIfEnabledOrStop()}ur(e){var t,o;(t=Qe.__PosthogExtensions__)!=null&&t.tracingHeadersPatchFns&&e(),(o=Qe.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"tracing-headers",(n=>{if(n)return roe.error("failed to load script",n);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)}}},yoe=Oe({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(xt(t))return Jt.warn("Flags not loaded yet. Not loading surveys.");var o=It(t);this.jo=o?t.length>0:t,Jt.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(Sw)||o!=null&&o.startsWith("inProgressSurvey_"))&&e.push(o)}e.forEach((n=>localStorage.removeItem(n)))}loadIfEnabled(){if(!this._surveyManager)if(this.$o)Jt.info("Already initializing surveys, skipping...");else if(this.Bt.disable_surveys)Jt.info(hO);else if(this.Bt.cookieless_mode&&this._instance.consent.isOptedOut())Jt.info("Not loading surveys in cookieless mode without consent.");else{var e=Qe?.__PosthogExtensions__;if(e){if(!ze(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 n=e.loadExternalDependency;if(!n)return void this.Ho(px);n(this._instance,"surveys",(a=>{a||!e.generateSurveys?this.Ho("Could not load surveys script",a):this.Vo(e.generateSurveys,t)}))}catch(a){throw this.Ho("Error initializing surveys",a),a}finally{this.$o=!1}}}else Jt.error("PostHog Extensions not found.")}}Vo(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new uoe(this._instance),Jt.info("Surveys loaded successfully"),this.zo({isLoaded:!0})}Ho(e,t){Jt.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 Jt.info(hO),e([]);var o,n=this._instance.get_property(rw);if(n&&!t)return e(n,{isLoaded:!0});typeof Promise<"u"&&this.Zo?this.Zo.then((a=>{var{surveys:i,context:l}=a;return e(i,l)})):(typeof Promise<"u"&&(this.Zo=new Promise((a=>{o=a}))),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:a=>{var i;this.Zo=null;var l=a.statusCode;if(l!==200||!a.json){var c="Surveys API could not be loaded, status: "+l;Jt.error(c);var d={isLoaded:!1,error:c};return e([],d),void(o==null||o({surveys:[],context:d}))}var m,h=a.json.surveys||[],p=h.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))));p.length>0&&((m=this._surveyEventReceiver)==null||m.register(p)),(i=this._instance.persistence)==null||i.register({[rw]:h});var f={isLoaded:!0};e(h,f),o?.({surveys:h,context:f})}}))}zo(e){for(var t of this.qo)try{if(!e.isLoaded)return t([],e);this.getSurveys(t)}catch(o){Jt.error("Error in survey callback",o)}}getActiveMatchingSurveys(e,t){if(t===void 0&&(t=!1),!xt(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);Jt.warn("init was not called")}Uo(e){var t=null;return this.getSurveys((o=>{var n;t=(n=o.find((a=>a.id===e)))!==null&&n!==void 0?n:null})),t}Yo(e){if(xt(this._surveyManager))return{eligible:!1,reason:mS};var t=typeof e=="string"?this.Uo(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(xt(this._surveyManager))return Jt.warn("init was not called"),{visible:!1,disabledReason:mS};var t=this.Yo(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return xt(this._surveyManager)?(Jt.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:mS})):new Promise((o=>{this.getSurveys((n=>{var a,i=(a=n.find((c=>c.id===e)))!==null&&a!==void 0?a: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 n;if(xt(this._surveyManager))Jt.warn("init was not called");else{var a=typeof e=="string"?this.Uo(e):e;if(a!=null&&a.id)if(Vte.includes(a.type)){var i=Fe?.querySelector(t);if(i)return(n=a.appearance)!=null&&n.surveyPopupDelaySeconds?(Jt.info("Rendering survey "+a.id+" with delay of "+a.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout((()=>{var l,c;Jt.info("Rendering survey "+a.id+" with delay of "+((l=a.appearance)==null?void 0:l.surveyPopupDelaySeconds)+" seconds"),(c=this._surveyManager)==null||c.renderSurvey(a,i,o),Jt.info("Survey "+a.id+" rendered")}),1e3*a.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(a,i,o);Jt.warn("Survey element not found")}else Jt.warn("Surveys of type "+a.type+" cannot be rendered in the app");else Jt.warn("Survey not found")}}displaySurvey(e,t){var o;if(xt(this._surveyManager))Jt.warn("init was not called");else{var n=this.Uo(e);if(n){var a=n;if((o=n.appearance)!=null&&o.surveyPopupDelaySeconds&&t.ignoreDelay&&(a=Oe({},n,{appearance:Oe({},n.appearance,{surveyPopupDelaySeconds:0})})),t.displayType!==hw.Popover&&t.initialResponses&&Jt.warn("initialResponses is only supported for popover surveys. prefill will not be applied."),t.ignoreConditions===!1){var i=this.canRenderSurvey(n);if(!i.visible)return void Jt.warn("Survey is not eligible to be displayed: ",i.disabledReason)}t.displayType!==hw.Inline?this._surveyManager.handlePopoverSurvey(a,t):this.renderSurvey(a,t.selector,t.properties)}else Jt.warn("Survey not found")}}cancelPendingSurvey(e){xt(this._surveyManager)?Jt.warn("init was not called"):this._surveyManager.cancelSurvey(e)}handlePageUnload(){var e;(e=this._surveyManager)==null||e.handlePageUnload()}}},Tv),Soe={toolbar:class{constructor(e){this.instance=e}Go(e){Qe.ph_toolbar_state=e}Wo(){var e;return(e=Qe.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),oB(this.instance.config)||!ge||!Fe)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 n,a=doe||Pf(e.hash,"__posthog")||Pf(e.hash,"state"),i=a?RD((()=>JSON.parse(atob(decodeURIComponent(a)))))||RD((()=>JSON.parse(decodeURIComponent(a)))):null;return i&&i.action==="ph_authorize"?((n=i).source="url",n&&Object.keys(n).length>0&&(i.desiredHash?e.hash=i.desiredHash:o?o.replaceState(o.state,"",e.pathname+e.search):e.hash="")):((n=JSON.parse(t.getItem(gO)||"{}")).source="localstorage",delete n.userIntent),!(!n.token||this.instance.config.token!==n.token||(this.loadToolbar(n),0))}catch{return!1}}Xo(e){var t=Qe.ph_load_toolbar||Qe.ph_load_editor;!xt(t)&&pi(t)?t(e,this.instance):fO.warn("No toolbar load function found")}loadToolbar(e){var t=!(Fe==null||!Fe.getElementById(JF));if(!ge||t)return!1;var o=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,n=Oe({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},o?{instrument:!1}:{});if(ge.localStorage.setItem(gO,JSON.stringify(Oe({},n,{source:void 0}))),this.Wo()===2)this.Xo(n);else if(this.Wo()===0){var a;this.Go(1),(a=Qe.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this.instance,"toolbar",(i=>{if(i)return fO.error("[Toolbar] Failed to load",i),void this.Go(0);this.Go(2),this.Xo(n)})),Ho(ge,"turbolinks:load",(()=>{this.Go(0),this.loadToolbar(n)}))}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)}}},_oe=Oe({experiments:kn},Tv),woe={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;xt(t)||(Or(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||oB(this._instance.config)||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var e=Qe?.__PosthogExtensions__;if(e&&!ze(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(px);o(this._instance,"conversations",(n=>{n||!e.initConversations?this.ra("Could not load conversations script",n):this.ta(e.initConversations),this.Qo=!1}))}catch(n){this.ra("Error initializing conversations",n),this.Qo=!1}}else Na.error("Conversations enabled but missing token in remote config.")}}ta(e){if(this.ea)try{this._conversationsManager=e(this.ea,this._instance),Na.info("Conversations loaded successfully")}catch(t){this.ra("Error completing conversations initialization",t)}else Na.error("Cannot complete initialization: remote config is null")}ra(e,t){Na.error(e,t),this._conversationsManager=null,this.Qo=!1}show(){this._conversationsManager?this._conversationsManager.show():Na.warn("Conversations not loaded yet.")}hide(){this._conversationsManager&&this._conversationsManager.hide()}isAvailable(){return this.Ko===!0&&!xi(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 n=this;return ja((function*(){return n._conversationsManager?n._conversationsManager.sendMessage(e,t,o):(Na.warn(ol),null)}))()}getMessages(e,t){var o=this;return ja((function*(){return o._conversationsManager?o._conversationsManager.getMessages(e,t):(Na.warn(ol),null)}))()}markAsRead(e){var t=this;return ja((function*(){return t._conversationsManager?t._conversationsManager.markAsRead(e):(Na.warn(ol),null)}))()}getTickets(e){var t=this;return ja((function*(){return t._conversationsManager?t._conversationsManager.getTickets(e):(Na.warn(ol),null)}))()}requestRestoreLink(e){var t=this;return ja((function*(){return t._conversationsManager?t._conversationsManager.requestRestoreLink(e):(Na.warn(ol),null)}))()}restoreFromToken(e){var t=this;return ja((function*(){return t._conversationsManager?t._conversationsManager.restoreFromToken(e):(Na.warn(ol),null)}))()}restoreFromUrlToken(){var e=this;return ja((function*(){return e._conversationsManager?e._conversationsManager.restoreFromUrlToken():(Na.warn(ol),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()}}},Coe={logs:class{constructor(e){var t;this.ia=!1,this.na=!1,this.Gt=vo("[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;!xt(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=Qe?.__PosthogExtensions__;if(e){var t=e.loadExternalDependency;t?t(this._instance,"logs",(o=>{var n;o||(n=e.logs)==null||!n.initializeLogs?this.Gt.error("Could not load logs script",o):(e.logs.initializeLogs(this._instance),this.na=!0)})):this.Gt.error(px)}else this.Gt.error("PostHog Extensions not found.")}}captureLog(e){var t,o,n,a,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=(n=(a=this._instance.config.logs)==null?void 0:a.maxLogsPerInterval)!==null&&n!==void 0?n:1e3,m=Date.now();if(c>m-this.aa||(this.aa=m,this.oa=0,this.la=!1),d>this.oa){this.oa++;var h=(function(p,f){var v=p.level||"info",{text:b,number:S}=$F[v]||jee,x=String(Date.now())+"000000",_={};f.distinctId&&(_.posthogDistinctId=f.distinctId),f.sessionId&&(_.sessionId=f.sessionId),f.currentUrl&&(_["url.full"]=f.currentUrl),f.screenName&&(_["screen.name"]=f.screenName),f.appState&&(_["app.state"]=f.appState),f.activeFeatureFlags&&f.activeFeatureFlags.length>0&&(_.feature_flags=f.activeFeatureFlags);var w=Oe({},_,p.attributes||{}),P={timeUnixNano:x,observedTimeUnixNano:x,severityNumber:S,severityText:b,body:{stringValue:p.body},attributes:kD(w)};return p.trace_id&&(P.traceId=p.trace_id),p.span_id&&(P.spanId=p.span_id),ze(p.trace_flags)||(P.flags=p.trace_flags),P})(e,this.ua());this.sa.push({record:h}),((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,n=Oe({"service.name":o?.serviceName||"unknown_service"},o?.environment&&{"deployment.environment":o.environment},o?.serviceVersion&&{"service.version":o.serviceVersion},o?.resourceAttributes),a=(function(l,c,d,m){return{resourceLogs:[{resource:{attributes:kD(c)},scopeLogs:[{scope:{name:d,version:m},logRecords:l}]}]}})(t.map((l=>l.record)),n,Un.LIB_NAME,Un.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:a,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(Qe!=null&&(e=Qe.location)!=null&&e.href&&(t.currentUrl=Qe.location.href),this._instance.featureFlags){var n=this._instance.featureFlags.getFlags();n&&n.length>0&&(t.activeFeatureFlags=n)}return t}}},xoe=Oe({},Tv,poe,hoe,goe,foe,voe,yoe,boe,Soe,_oe,woe,Coe);za.__defaultExtensionClasses=Oe({},xoe);var SO,Ei=(SO=Zd[Oc]=new za,(function(){function e(){e.done||(e.done=!0,xB=!1,co(Zd,(function(t){t._dom_loaded()})))}Fe!=null&&Fe.addEventListener?Fe.readyState==="complete"?e():Ho(Fe,"DOMContentLoaded",e,{capture:!1}):ge&&Be.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")})(),SO);const Eoe="studio-ui-resources",If="html",Toe=10080*60*1e3,koe=50,Poe=16*1024*1024;function Aoe(e){return e[0]==="mcp"&&e[1]===lL}function kv(){return new Promise((e,t)=>{const o=indexedDB.open(Eoe,1);o.onupgradeneeded=()=>{o.result.objectStoreNames.contains(If)||o.result.createObjectStore(If)},o.onsuccess=()=>e(o.result),o.onerror=()=>t(o.error)})}function uu(e,t){return e.transaction(If,t).objectStore(If)}function Ew(e){return new Promise((t,o)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>o(e.error)})}async function Roe(e){if(!(typeof indexedDB>"u"))try{const t=await kv(),o=uu(t,"readonly"),n=await Ew(o.getAllKeys()),a=await Ew(o.getAll()),i=Date.now(),l=n.map((m,h)=>({key:m,value:a[h]})).sort((m,h)=>(h.value?.updatedAt??0)-(m.value?.updatedAt??0)),c=[];let d=0;for(const{key:m,value:h}of l){if(!h||i-h.updatedAt>Toe||d>=koe){c.push(m);continue}d++;try{const f=JSON.parse(String(m));e.getQueryData(f)===void 0&&e.setQueryData(f,h.html,{updatedAt:0})}catch{c.push(m)}}if(c.length>0){const m=uu(t,"readwrite");for(const h of c)m.delete(h)}}catch{}}function Doe(e){if(typeof indexedDB>"u")return()=>{};const t=kv().catch(()=>null);return e.getQueryCache().subscribe(o=>{const n=o.query;if(!Array.isArray(n.queryKey)||!Aoe(n.queryKey)||n.state.status!=="success")return;const a=n.state.data;typeof a!="string"||a.length>Poe||t.then(i=>{if(i)try{uu(i,"readwrite").put({html:a,updatedAt:Date.now()},JSON.stringify(n.queryKey))}catch{}})})}function Ooe(){typeof indexedDB>"u"||kv().then(e=>uu(e,"readwrite").clear()).catch(()=>{})}async function khe(e){if(!(typeof indexedDB>"u"))try{const t=await kv(),o=await Ew(uu(t,"readonly").getAllKeys()),n=uu(t,"readwrite");for(const a of o)try{const i=JSON.parse(String(a));i[1]===lL&&i[3]===e&&n.delete(a)}catch{}}catch{}}const Mf="studio:rq-cache",IB=1440*60*1e3,Ioe=1e3,Moe=new Set(["publicConfig","ai-provider-keys","organization-settings","home-next-actions"]),Loe=new Set(["VIRTUAL_MCP","CONNECTIONS"]);let MB=!1,LB=!1;function Noe(e){const t=e[0];return typeof t=="string"&&Moe.has(t)?!0:e[3]==="collection"&&typeof e[4]=="string"&&Loe.has(e[4])}function Foe(e){if(!(typeof window>"u"))try{const t=window.localStorage.getItem(Mf);if(!t)return;const o=JSON.parse(t),n=!o.timestamp||Date.now()-o.timestamp>IB;if(o.buster!=="4.255.2"||n||!o.state){window.localStorage.removeItem(Mf);return}s$(e,o.state),MB=!0}catch{joe()}}function Boe(e){if(typeof window>"u")return()=>{};let t=null;const o=()=>{t=null;try{const n=i$(e,{shouldDehydrateQuery:a=>a.state.status==="success"&&Noe(a.queryKey)});window.localStorage.setItem(Mf,JSON.stringify({buster:"4.255.2",timestamp:Date.now(),state:n}))}catch{}};return e.getQueryCache().subscribe(()=>{t==null&&(t=setTimeout(o,Ioe))})}const NB="studio:org-cache:";function FB(e){return`${NB}${e}`}function Phe(e,t){if(typeof window>"u")return null;try{const o=window.localStorage.getItem(FB(e));if(!o)return null;const n=JSON.parse(o)[t];return!n||Date.now()-n.updatedAt>IB?null:(LB=!0,n)}catch{return null}}function Ahe(e,t,o){if(!(typeof window>"u"))try{const n=FB(e),a=window.localStorage.getItem(n),i=a?JSON.parse(a):{};i[t]={data:o,updatedAt:Date.now()},window.localStorage.setItem(n,JSON.stringify(i))}catch{}}function joe(){if(Ooe(),!(typeof window>"u"))try{window.localStorage.removeItem(Mf);for(let e=window.localStorage.length-1;e>=0;e--){const t=window.localStorage.key(e);t?.startsWith(NB)&&window.localStorage.removeItem(t)}}catch{}}function zoe(){return MB}function Uoe(){return LB}let wi=!1,Tw=null,_O=!1;const Sx="studio:lp-distinct-id",BB="mesh:lp-distinct-id",hS="/api/_reports/link-token/",$oe=1440*60*1e3;function jB(e){const t="https://analytics.invalid",o=/^[a-z][a-z\d+.-]*:\/\//i.test(e),n=e.startsWith("//");try{const a=new URL(e,t);let i=!1;for(const l of["key","d"])a.searchParams.has(l)&&(a.searchParams.delete(l),i=!0);return a.pathname.startsWith(hS)&&a.pathname!==hS&&(a.pathname=`${hS}redacted`,i=!0),i?o?a.toString():n?`//${a.host}${a.pathname}${a.search}${a.hash}`:`${a.pathname}${a.search}${a.hash}`:e}catch{return e}}function gS(e){return Object.fromEntries(Object.entries(e).map(([t,o])=>[t,typeof o=="string"?jB(o):o]))}const qoe=e=>e?(e.properties=gS(e.properties),e.$set&&(e.$set=gS(e.$set)),e.$set_once&&(e.$set_once=gS(e.$set_once)),e):null;function zB(){try{const e=window.localStorage.getItem(Sx)??window.localStorage.getItem(BB);if(!e)return;const{id:t,ts:o}=JSON.parse(e);return typeof t!="string"||!t||typeof o!="number"?void 0:Date.now()-o<=$oe?t:void 0}catch{return}}function Voe(){try{window.localStorage.removeItem(Sx),window.localStorage.removeItem(BB)}catch{}}function Hoe(){try{const e=new URL(window.location.href),t=e.searchParams.get("ph_did");t&&(window.localStorage.setItem(Sx,JSON.stringify({id:t,ts:Date.now()})),e.searchParams.delete("ph_did"),window.history.replaceState(window.history.state,"",e.toString()));const o=t??zB();return o?Object.keys(window.localStorage).some(a=>a.startsWith("ph_")&&a.endsWith("_posthog"))?void 0:o:void 0}catch{return}}function Goe(e){const t=zB();if(t&&(Voe(),t!==e))try{Ei.alias(t)}catch{}}function Koe(e,t){if(wi||typeof window>"u")return;const o=Hoe();Ei.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:qoe,capture_performance:{web_vitals:!0,network_timing:!0},capture_exceptions:!0,session_recording:{maskAllInputs:!0,blockClass:"ph-no-capture",maskCapturedNetworkRequestFn:n=>({...n,...typeof n.name=="string"?{name:jB(n.name)}:{}})},person_profiles:"identified_only"}),wi=!0}function Woe(e,t){wi&&(Ei.identify(e,t),Goe(e))}function Yoe(){wi&&(Ei.reset(),Tw=null)}function UB(e,t){wi&&Ei.capture(e,t)}function Rhe(){return wi}function Dhe(){if(!wi||_O||typeof performance>"u")return;_O=!0;const e=performance.getEntriesByType("navigation")[0],t=o=>{const n=performance.getEntriesByName(o,"measure")[0];return n?Math.round(n.duration):void 0};UB("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:zoe(),org_cache_restored:Uoe()})}function Ohe(e,t){wi&&e!==Tw&&(Ei.group("organization",e,t),Tw=e)}function $B(e,t){if(wi)try{Ei.captureException(e,t)}catch{}}const Zoe=["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 Qoe(e){const t=Ne.c(3),{children:o}=e;let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=C.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:Zoe}}),t[0]=n):n=t[0];let a;return t[1]!==o?(a=C.jsxs("div",{className:"relative flex items-center justify-center min-h-screen bg-background overflow-hidden",children:[n,C.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]=a):a=t[2],a}function Joe(e){try{return JSON.parse(e)}catch{return}}function wO(e,t){if(typeof localStorage>"u")return typeof t=="function"?t(void 0):t;const o=localStorage.getItem(e),n=o?Joe(o):void 0,a=typeof t=="function"?t(n):n??t;if(n===void 0||a!==n)try{const i=JSON.stringify(a);localStorage.setItem(e,i)}catch{}return a}function Xoe(e,t){const o=Ne.c(25),n=Wf();let a;o[0]!==e?(a=["localStorage",e],o[0]=e,o[1]=a):a=o[1];const i=a;let l,c;o[2]!==t||o[3]!==e?(l=()=>wO(e,t),c=()=>wO(e,t),o[2]=t,o[3]=e,o[4]=l,o[5]=c):(l=o[4],c=o[5]);let d;o[6]!==i||o[7]!==l||o[8]!==c?(d={queryKey:i,queryFn:l,initialData:c,staleTime:1/0,gcTime:1/0},o[6]=i,o[7]=l,o[8]=c,o[9]=d):d=o[9];const{data:m}=xm(d);let h;o[10]!==e?(h=async w=>(typeof localStorage<"u"&&localStorage.setItem(e,JSON.stringify(w)),w),o[10]=e,o[11]=h):h=o[11];let p;o[12]!==n||o[13]!==i?(p=w=>{n.setQueryData(i,w)},o[12]=n,o[13]=i,o[14]=p):p=o[14];let f;o[15]!==h||o[16]!==p?(f={mutationFn:h,onSuccess:p},o[15]=h,o[16]=p,o[17]=f):f=o[17];const v=Vd(f);let b;o[18]!==v||o[19]!==n||o[20]!==i?(b=w=>{const P=n.getQueryData(i),T=typeof w=="function"?w(P):w;v.mutate(T)},o[18]=v,o[19]=n,o[20]=i,o[21]=b):b=o[21];const S=b,x=m;let _;return o[22]!==S||o[23]!==x?(_=[x,S],o[22]=S,o[23]=x,o[24]=_):_=o[24],_}const Cl={chatSelectedImageModel:e=>`studio:chat:selectedImageModel:${e}`,chatSelectedWebSearchModel:e=>`studio:chat:selectedWebSearchModel:${e}`,chatSelectedDeepResearchModel:e=>`studio:chat:selectedDeepResearchModel:${e}`,chatSimpleModeTier:e=>`studio:chat:simpleModeTier:${e}`,chatLastAgentOption:e=>`studio:chat:lastAgentOption:${e}`,chatAutosend:(e,t)=>`studio:chat:autosend:${e}:${t}`,chatDraft:(e,t)=>`studio:chat:draft:${e}:${t}`,sidePanelWidth:()=>"studio:side-panel:width",sidebarOpen:()=>"studio:sidebar-open",preferences:()=>"studio:user:preferences",lastOrgSlug:()=>"studio:last-org-slug",lastLocation:()=>"studio:last-location",connectionsTab:e=>`studio:connections:tab:${e}`,taskLastViewed:e=>`studio:chat:task-last-viewed:${e}`,sidebarGroupOrder:(e,t)=>`sidebar.group-order.${e}.${t}`,ptBrAnnouncementSeen:e=>`studio:announcement:pt-br:${e}`,cmsTourSeen:e=>`studio:cms-tour:seen:${e}`},qB=["en","pt-BR"];function _x(){return typeof navigator<"u"&&navigator.language?.toLowerCase().startsWith("pt")?"pt-BR":"en"}const ene={toolApprovalLevel:"auto",enableNotifications:typeof Notification<"u",enableSounds:!1,theme:"system",language:_x(),shownTaskBoardLanes:[]},VB=["auto","readonly"],Ihe=[{value:"readonly",labelKey:"settings.preferences.toolApprovalAsk",shortKey:"settings.preferences.toolApprovalAskShort"},{value:"auto",labelKey:"settings.preferences.toolApprovalAuto",shortKey:"settings.preferences.toolApprovalAutoShort"}],tne=["light","dark","system"];function Mhe(){try{const e=JSON.parse(localStorage.getItem(Cl.preferences())??"{}");if(VB.includes(e.toolApprovalLevel))return e.toolApprovalLevel}catch{}return"auto"}function one(){try{const e=JSON.parse(localStorage.getItem(Cl.preferences())??"{}");if(qB.includes(e.language))return e.language}catch{}return _x()}function HB(){const e=Ne.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=Cl.preferences(),e[0]=t):t=e[0],Xoe(t,nne)}function nne(e){const t={...ene,...e};return VB.includes(t.toolApprovalLevel)||(t.toolApprovalLevel="auto"),tne.includes(t.theme)||(t.theme="system"),qB.includes(t.language)||(t.language=_x()),Array.isArray(t.shownTaskBoardLanes)||(t.shownTaskBoardLanes=[]),t}const ane={"virtualMcp.addConnectionDialog.addConnectionTitle":"Add Connection","virtualMcp.addConnectionDialog.authenticationFailedError":"Authentication failed: {error}","virtualMcp.addConnectionDialog.connected":"Connected","virtualMcp.addConnectionDialog.connectedAuthenticated":"Connected and authenticated","virtualMcp.addConnectionDialog.connectionsTitle":"Connections","virtualMcp.addConnectionDialog.failedToAddConnection":"Failed to add connection","virtualMcp.addConnectionDialog.failedToConnect":"Failed to connect","virtualMcp.addConnectionDialog.mcpServerConnectionError":"This MCP Server cannot be connected: no connection method available","virtualMcp.addConnectionDialog.searchConnectionsPlaceholder":"Search connections...","virtualMcp.addConnectionDialog.signInFailedDescription":"It was added to your agent, but its sign-in setup looks off. You can try authenticating again later from the connection's settings. ({error})","virtualMcp.addConnectionDialog.signInFailedTitle":"Couldn't sign in to this connection","virtualMcp.connectionDialogContent.add":"Add","virtualMcp.connectionDialogContent.added":"Added","virtualMcp.connectionDialogContent.builtByDeco":"Built and maintained by Deco","virtualMcp.connectionDialogContent.builtByOfficial":"Built and maintained by the official vendor","virtualMcp.connectionDialogContent.connect":"Connect","virtualMcp.connectionDialogContent.connected":"Connected","virtualMcp.connectionDialogContent.customConnection":"Custom Connection","virtualMcp.connectionDialogContent.emptyStateNoConnectionsAvailable":"No connections available","virtualMcp.connectionDialogContent.emptyStateNoConnectionsYet":"No connections yet","virtualMcp.connectionDialogContent.emptyStateSearchNoMatch":'No connections match "{search}"',"virtualMcp.connectionDialogContent.madeByDeco":"Made by Deco","virtualMcp.connectionDialogContent.sectionAllConnections":"All connections","virtualMcp.connectionDialogContent.sectionVerified":"Verified","virtualMcp.connectionDialogContent.tabAll":"All","virtualMcp.connectionDialogContent.tabConnected":"Connected","virtualMcp.connectionDialogContent.verifiedByDeco":"Verified by the Deco team","virtualMcp.connectionItem.authorize":"Authorize","virtualMcp.connectionItem.configureResources":"Configure resources","virtualMcp.connectionItem.connectionDisabled":"Connection disabled","virtualMcp.connectionItem.connectionEnabled":"Connection enabled","virtualMcp.connectionItem.connectionSettings":"Connection settings","virtualMcp.connectionItem.disable":"Disable","virtualMcp.connectionItem.disableConnection":"Disable connection","virtualMcp.connectionItem.disabled":"Disabled","virtualMcp.connectionItem.disabledError":"Disabled (error)","virtualMcp.connectionItem.enable":"Enable","virtualMcp.connectionItem.failedToUpdateConnection":"Failed to update connection","virtualMcp.connectionItem.needsAuthorization":"Needs authorization","virtualMcp.connectionItem.newInstance":"New instance","virtualMcp.connectionItem.remove":"Remove","virtualMcp.connectionItem.removeConnection":"Remove connection","virtualMcp.dependencySelectionDialog.authorizationDescription":"This connection needs to be authorized before you can configure its tools and resources.","virtualMcp.dependencySelectionDialog.authorizationRequired":"Authorization required","virtualMcp.dependencySelectionDialog.authorize":"Authorize","virtualMcp.dependencySelectionDialog.deselectAll":"Deselect all","virtualMcp.dependencySelectionDialog.done":"Done","virtualMcp.dependencySelectionDialog.noActiveToolsSelected":"No active tools selected","virtualMcp.dependencySelectionDialog.noPromptsAvailable":"No prompts available","virtualMcp.dependencySelectionDialog.noResourcesAvailable":"No resources available","virtualMcp.dependencySelectionDialog.noToolsAvailable":"No tools available","virtualMcp.dependencySelectionDialog.promptsNotSupported":"Prompts not supported by this server","virtualMcp.dependencySelectionDialog.resourcesNotSupported":"Resources not supported by this server","virtualMcp.dependencySelectionDialog.selectAll":"Select all","virtualMcp.dependencySelectionDialog.somethingWentWrong":"Something went wrong","virtualMcp.dependencySelectionDialog.tabActive":"Active","virtualMcp.dependencySelectionDialog.tabPrompts":"Prompts","virtualMcp.dependencySelectionDialog.tabResources":"Resources","virtualMcp.dependencySelectionDialog.tabTools":"Tools","virtualMcp.dependencySelectionDialog.toolsNotSupported":"Tools not supported by this server","virtualMcp.dependencySelectionDialog.unexpectedError":"An unexpected error occurred","virtualMcp.filesSection.add":"Add","virtualMcp.filesSection.description":"Attach files and skills the agent can always reference.","virtualMcp.filesSection.failedUploadFile":"Failed to upload file.","virtualMcp.filesSection.fileTooLargeDescription":"Exceeds the 25MB limit, not uploaded: {names}","virtualMcp.filesSection.fileTooLargeTitle":"File too large","virtualMcp.filesSection.filesAndSkills":"Files and skills","virtualMcp.filesSection.kindFile":"File","virtualMcp.filesSection.kindSkill":"Skill","virtualMcp.filesSection.noFilesFound":"No files found.","virtualMcp.filesSection.noFilesOrSkillsYet":"No files or skills yet. Add one or drag and drop here.","virtualMcp.filesSection.noSkillsFound":"No skills found.","virtualMcp.filesSection.removeAriaLabel":"Remove {name}","virtualMcp.filesSection.searchFilesPlaceholder":"Search files...","virtualMcp.filesSection.searchSkillsPlaceholder":"Search skills...","virtualMcp.filesSection.selectFileOrFolder":"Select file or folder","virtualMcp.filesSection.selectSkill":"Select skill","virtualMcp.filesSection.uploadFile":"Upload file","virtualMcp.layoutTabContent.addConnectionMessage":"Add a connection above to configure pinned views.","virtualMcp.layoutTabContent.automations":"Automations","virtualMcp.layoutTabContent.chat":"Chat","virtualMcp.layoutTabContent.chatAlwaysShown":"Chat is always shown when it is the default view","virtualMcp.layoutTabContent.content":"Content","virtualMcp.layoutTabContent.layout":"Layout","virtualMcp.layoutTabContent.mainView":"Main view","virtualMcp.layoutTabContent.mainViewDescription":"What users see when they first open this agent.","virtualMcp.layoutTabContent.noInteractiveTools":"None of the connected servers expose interactive tools.","virtualMcp.layoutTabContent.openCms":"Auto-open editor","virtualMcp.layoutTabContent.openCmsDescription":"Open the CMS automatically when the preview is ready to edit content.","virtualMcp.layoutTabContent.pinnedViews":"Pinned views","virtualMcp.layoutTabContent.pinnedViewsDescription":"Surface interactive tools as top-level tabs in the agent.","virtualMcp.layoutTabContent.preview":"Preview","virtualMcp.layoutTabContent.settings":"Settings","virtualMcp.layoutTabContent.showChat":"Show chat","virtualMcp.layoutTabContent.showChatDescription":"Display Chat in the side panel alongside the main view.","virtualMcp.subAgentsSection.addSubAgent":"Add sub-agent","virtualMcp.subAgentsSection.anyAgent":"Any agent","virtualMcp.subAgentsSection.canDelegateToAnyAgent":"Can delegate to any agent in the organization.","virtualMcp.subAgentsSection.canOnlyDelegateToItself":"Can only delegate to a fresh copy of itself, no other agents.","virtualMcp.subAgentsSection.emptyStateMessage":"No sub-agents selected yet. Add one — until then this agent can only delegate to itself.","virtualMcp.subAgentsSection.noAgentsFound":"No agents found.","virtualMcp.subAgentsSection.onlyItself":"Only itself","virtualMcp.subAgentsSection.searchPlaceholder":"Search agents...","virtualMcp.subAgentsSection.specificAgents":"Specific agents","virtualMcp.subAgentsSection.title":"Sub-agents","virtualMcp.virtualMcp.addConnection":"Add connection","virtualMcp.virtualMcp.agentDeleted":'Deleted "{title}"',"virtualMcp.virtualMcp.agentNamePlaceholder":"Agent name","virtualMcp.virtualMcp.authenticationFailed":"Authentication failed: {error}","virtualMcp.virtualMcp.authenticationSuccessful":"Authentication successful","virtualMcp.virtualMcp.backToSpaces":"Back to spaces","virtualMcp.virtualMcp.cancel":"Cancel","virtualMcp.virtualMcp.connect":"Connect","virtualMcp.virtualMcp.connections":"Connections","virtualMcp.virtualMcp.created":"Created","virtualMcp.virtualMcp.delete":"Delete","virtualMcp.virtualMcp.deleteAgent":"Delete agent","virtualMcp.virtualMcp.deleteAgentConfirm":"Delete Agent?","virtualMcp.virtualMcp.deleteAgentConfirmDescription":"This action cannot be undone. This will permanently delete {title}.","virtualMcp.virtualMcp.deleteAgentDescription":"Permanently delete this agent and all its data.","virtualMcp.virtualMcp.descriptionPlaceholder":"Add a description...","virtualMcp.virtualMcp.failedToCreateInstance":"Failed to create instance","virtualMcp.virtualMcp.fullscreen":"Fullscreen","virtualMcp.virtualMcp.improve":"Improve","virtualMcp.virtualMcp.instanceAlreadyAdded":"This instance is already added to the agent","virtualMcp.virtualMcp.instructions":"Instructions","virtualMcp.virtualMcp.instructionsPlaceholder":"Define how this agent should behave, what tone to use, any constraints or guidelines...","virtualMcp.virtualMcp.lastUsed":"Last used {time}","virtualMcp.virtualMcp.neverUsed":"Never used","virtualMcp.virtualMcp.newInstanceCreated":"New instance created","virtualMcp.virtualMcp.noConnectionsYet":"No connections yet. Add one to get started.","virtualMcp.virtualMcp.openFullscreenEditor":"Open fullscreen editor","virtualMcp.virtualMcp.promptTemplate":"+ Prompt template","virtualMcp.virtualMcp.promptTemplateContent":`<role>
100
+ `),p=d;h.length>p;p++){var f=h[p];if(1024>=f.length){var v=PD.test(f)?f.replace(PD,"$1"):f;if(!v.match(/\S*Error: /)){for(var b of i){var S=b(v,n);if(S){m.push(S);break}}if(m.length>=50)break}}}return(function(x){if(!x.length)return[];var _=Array.from(x);return _.reverse(),_.slice(0,50).map((w=>{return Oe({},w,{filename:w.filename||(P=_,P[P.length-1]||{}).filename,function:w.function||su});var P}))})(m)}})("web:javascript",Hee,Wee)),this._instance=e,this.fo=(t=(o=this._instance.persistence)==null?void 0:o.get_property(Q_))!==null&&t!==void 0?t:[],this.mo=vf(this.yo()),this.bo=new ite(this.mo)}onConfigChange(){this.mo=vf(this.yo()),this.bo.setConfig(this.mo)}onRemoteConfig(e){var t,o,n;if("errorTracking"in e){var a=(t=(o=e.errorTracking)==null?void 0:o.suppressionRules)!==null&&t!==void 0?t:[],i=(n=e.errorTracking)==null?void 0:n.captureExtensionExceptions;this.fo=a,this._instance.persistence&&this._instance.persistence.register({[Q_]:this.fo,[J_]:i})}}get _o(){var e,t=!!this._instance.get_property(J_),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(!_o(e)||e.trim().length===0)return void di.warn("Ignoring exception step because message must be a non-empty string");var o=this.wo(t),{sanitizedProperties:n,droppedKeys:a}=(function(i){if(!i)return{sanitizedProperties:{},droppedKeys:[]};var l=[];return{sanitizedProperties:Object.keys(i).reduce(((c,d)=>rte.has(d)?(l.push(d),c):(c[d]=i[d],c)),{}),droppedKeys:l}})(o);a.length>0&&di.warn("Ignoring reserved exception step fields",{droppedKeys:a}),this.bo.add(Oe({[gf]:e,[ff]:new Date().toISOString()},n))}catch(i){di.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 di.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 di.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 di.info("Skipping exception capture because it was thrown by the PostHog SDK")}var o=this.mo.enabled&&xt(e.$exception_steps)?this.To(e):e;try{var n=this._instance.capture("$exception",o,{_noTruncate:!0,_batchKey:"exceptionEvent",en:!0});return n&&this.bo.clear(),n}catch(a){return di.error("Failed to capture exception event. Dropping this exception.",a),void this.bo.clear()}}catch(a){return void di.error("Failed to process exception event. Ignoring this exception.",a)}}To(e){try{var t=this.bo.getAttachable();return t.length===0?e:Oe({},e,{$exception_steps:t})}catch(o){return di.error("Failed to read buffered exception steps. Capturing exception without steps.",o),e}}So(e){this.mo.enabled&&this.bo.add({[gf]:e,[ff]:new Date().toISOString()})}wo(e){return Do(e)?Oe({},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,n)=>{var{type:a,value:i}=n;return _o(a)&&a.length>0&&o.$exception_types.push(a),_o(i)&&i.length>0&&o.$exception_values.push(i),o}),{$exception_types:[],$exception_values:[]});return this.fo.some((o=>{var n=o.values.map((a=>{var i,l=_B[a.operator],c=It(a.value)?a.value:[a.value],d=(i=t[a.key])!==null&&i!==void 0?i:[];return c.length>0&&l(c,d)}));return o.type==="OR"?n.some(Boolean):n.every(Boolean)}))}xo(e){return e.flatMap((t=>{var o,n;return(o=(n=t.stacktrace)==null?void 0:n.frames)!==null&&o!==void 0?o:[]})).some((t=>t.filename&&t.filename.startsWith("chrome-extension://")))}ko(e){if(e.length>0){var t,o,n,a,i=(t=(o=e[0].stacktrace)==null?void 0:o.frames)!==null&&t!==void 0?t:[],l=i[i.length-1];return(n=l==null||(a=l.filename)==null?void 0:a.includes("posthog.com/static"))!==null&&n!==void 0&&n}return!1}Io(e){return!xt(e)&&It(e)}}},foe=Oe({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({[ew]:!!e.productTours}),this.loadIfEnabled())}loadIfEnabled(){var e,t;this.Ao||(e=this._instance).config.disable_product_tours||(t=e.persistence)==null||!t.get_property(ew)||this.ur((()=>this.Ro()))}ur(e){var t,o;(t=Qe.__PosthogExtensions__)!=null&&t.generateProductTours?e():(o=Qe.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"product-tours",(n=>{n?mO.error("Could not load product tours script",n):e()}))}Ro(){var e;!this.Ao&&(e=Qe.__PosthogExtensions__)!=null&&e.generateProductTours&&(this.Ao=Qe.__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 n=o.props[Bg];if(It(n)&&!t)return this.Eo=n,void e(n,{isLoaded:!0})}this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/product_tours/?token="+this._instance.config.token),method:"GET",callback:a=>{var i=a.statusCode;if(i!==200||!a.json){var l="Product Tours API could not be loaded, status: "+i;return mO.error(l),void e([],{isLoaded:!1,error:l})}var c=It(a.json.product_tours)?a.json.product_tours:[];this.Eo=c,o&&o.register({[Bg]:c}),e(c,{isLoaded:!0})}})}else e(this.Eo,{isLoaded:!0})}getActiveProductTours(e){xt(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(Bg)}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)}}},Tv),voe={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=Qe._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,n,a,i,l,c;if(!e)throw new Error("Event payload is required");var d={},m=this._instance.get_property("$groups")||[],h=this._instance.get_property("$stored_group_properties")||{};for(var[p,f]of Object.entries(h))d[p]={id:m[p],type:p,properties:f};var{$set_once:v,$set:b}=e;return{event:Oe({},wF(e,soe),{properties:Oe({},e.properties,b?{$set:Oe({},(t=(o=e.properties)==null?void 0:o.$set)!==null&&t!==void 0?t:{},b)}:{},v?{$set_once:Oe({},(n=(a=e.properties)==null?void 0:a.$set_once)!==null&&n!==void 0?n:{},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&&(os.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))},n=!1,a=l=>{t.errored=!l,t.loaded=!0,os.info("Site app with id "+e.id+" "+(l?"loaded":"errored")),n&&o()};try{var{processEvent:i}=e.init({posthog:this._instance,callback(l){a(l)}});i&&(t.processEvent=i),n=!0}catch(l){os.error(pO+e.id,l),a(!1)}if(n&&t.loaded)try{o()}catch(l){os.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(n){os.error("Error while processing event "+e.event+" for site app "+o.id,n)}}}onRemoteConfig(e){var t,o,n,a=this;if((t=this.siteAppLoaders)!=null&&t.length)return this.isEnabled?(this.Oo(),void this._instance.on("eventCaptured",(d=>this.Po(d)))):void os.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if((o=this.Fo)==null||o.call(this),(n=e.siteApps)!=null&&n.length)if(this.isEnabled){var i=function(d){var m;Qe["__$$ph_site_app_"+d]=a._instance,(m=Qe.__PosthogExtensions__)==null||m.loadSiteApp==null||m.loadSiteApp(a._instance,c,(h=>{if(h)return os.error(pO+d,h)}))};for(var{id:l,url:c}of e.siteApps)i(l)}else os.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}},boe={tracingHeaders:class{constructor(e){this.Lo=void 0,this.Do=void 0,this.so=()=>{var t,o,n=this.Bo()||[];ze(this.Lo)&&((t=Qe.__PosthogExtensions__)==null||(t=t.tracingHeadersPatchFns)==null||t._patchXHR(n,this._instance.get_distinct_id(),this._instance.sessionManager)),ze(this.Do)&&((o=Qe.__PosthogExtensions__)==null||(o=o.tracingHeadersPatchFns)==null||o._patchFetch(n,this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=e}initialize(){this.startIfEnabledOrStop()}ur(e){var t,o;(t=Qe.__PosthogExtensions__)!=null&&t.tracingHeadersPatchFns&&e(),(o=Qe.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"tracing-headers",(n=>{if(n)return roe.error("failed to load script",n);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)}}},yoe=Oe({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(xt(t))return Jt.warn("Flags not loaded yet. Not loading surveys.");var o=It(t);this.jo=o?t.length>0:t,Jt.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(Sw)||o!=null&&o.startsWith("inProgressSurvey_"))&&e.push(o)}e.forEach((n=>localStorage.removeItem(n)))}loadIfEnabled(){if(!this._surveyManager)if(this.$o)Jt.info("Already initializing surveys, skipping...");else if(this.Bt.disable_surveys)Jt.info(hO);else if(this.Bt.cookieless_mode&&this._instance.consent.isOptedOut())Jt.info("Not loading surveys in cookieless mode without consent.");else{var e=Qe?.__PosthogExtensions__;if(e){if(!ze(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 n=e.loadExternalDependency;if(!n)return void this.Ho(px);n(this._instance,"surveys",(a=>{a||!e.generateSurveys?this.Ho("Could not load surveys script",a):this.Vo(e.generateSurveys,t)}))}catch(a){throw this.Ho("Error initializing surveys",a),a}finally{this.$o=!1}}}else Jt.error("PostHog Extensions not found.")}}Vo(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new uoe(this._instance),Jt.info("Surveys loaded successfully"),this.zo({isLoaded:!0})}Ho(e,t){Jt.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 Jt.info(hO),e([]);var o,n=this._instance.get_property(rw);if(n&&!t)return e(n,{isLoaded:!0});typeof Promise<"u"&&this.Zo?this.Zo.then((a=>{var{surveys:i,context:l}=a;return e(i,l)})):(typeof Promise<"u"&&(this.Zo=new Promise((a=>{o=a}))),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:a=>{var i;this.Zo=null;var l=a.statusCode;if(l!==200||!a.json){var c="Surveys API could not be loaded, status: "+l;Jt.error(c);var d={isLoaded:!1,error:c};return e([],d),void(o==null||o({surveys:[],context:d}))}var m,h=a.json.surveys||[],p=h.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))));p.length>0&&((m=this._surveyEventReceiver)==null||m.register(p)),(i=this._instance.persistence)==null||i.register({[rw]:h});var f={isLoaded:!0};e(h,f),o?.({surveys:h,context:f})}}))}zo(e){for(var t of this.qo)try{if(!e.isLoaded)return t([],e);this.getSurveys(t)}catch(o){Jt.error("Error in survey callback",o)}}getActiveMatchingSurveys(e,t){if(t===void 0&&(t=!1),!xt(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);Jt.warn("init was not called")}Uo(e){var t=null;return this.getSurveys((o=>{var n;t=(n=o.find((a=>a.id===e)))!==null&&n!==void 0?n:null})),t}Yo(e){if(xt(this._surveyManager))return{eligible:!1,reason:mS};var t=typeof e=="string"?this.Uo(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(xt(this._surveyManager))return Jt.warn("init was not called"),{visible:!1,disabledReason:mS};var t=this.Yo(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return xt(this._surveyManager)?(Jt.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:mS})):new Promise((o=>{this.getSurveys((n=>{var a,i=(a=n.find((c=>c.id===e)))!==null&&a!==void 0?a: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 n;if(xt(this._surveyManager))Jt.warn("init was not called");else{var a=typeof e=="string"?this.Uo(e):e;if(a!=null&&a.id)if(Vte.includes(a.type)){var i=Fe?.querySelector(t);if(i)return(n=a.appearance)!=null&&n.surveyPopupDelaySeconds?(Jt.info("Rendering survey "+a.id+" with delay of "+a.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout((()=>{var l,c;Jt.info("Rendering survey "+a.id+" with delay of "+((l=a.appearance)==null?void 0:l.surveyPopupDelaySeconds)+" seconds"),(c=this._surveyManager)==null||c.renderSurvey(a,i,o),Jt.info("Survey "+a.id+" rendered")}),1e3*a.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(a,i,o);Jt.warn("Survey element not found")}else Jt.warn("Surveys of type "+a.type+" cannot be rendered in the app");else Jt.warn("Survey not found")}}displaySurvey(e,t){var o;if(xt(this._surveyManager))Jt.warn("init was not called");else{var n=this.Uo(e);if(n){var a=n;if((o=n.appearance)!=null&&o.surveyPopupDelaySeconds&&t.ignoreDelay&&(a=Oe({},n,{appearance:Oe({},n.appearance,{surveyPopupDelaySeconds:0})})),t.displayType!==hw.Popover&&t.initialResponses&&Jt.warn("initialResponses is only supported for popover surveys. prefill will not be applied."),t.ignoreConditions===!1){var i=this.canRenderSurvey(n);if(!i.visible)return void Jt.warn("Survey is not eligible to be displayed: ",i.disabledReason)}t.displayType!==hw.Inline?this._surveyManager.handlePopoverSurvey(a,t):this.renderSurvey(a,t.selector,t.properties)}else Jt.warn("Survey not found")}}cancelPendingSurvey(e){xt(this._surveyManager)?Jt.warn("init was not called"):this._surveyManager.cancelSurvey(e)}handlePageUnload(){var e;(e=this._surveyManager)==null||e.handlePageUnload()}}},Tv),Soe={toolbar:class{constructor(e){this.instance=e}Go(e){Qe.ph_toolbar_state=e}Wo(){var e;return(e=Qe.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),oB(this.instance.config)||!ge||!Fe)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 n,a=doe||Pf(e.hash,"__posthog")||Pf(e.hash,"state"),i=a?RD((()=>JSON.parse(atob(decodeURIComponent(a)))))||RD((()=>JSON.parse(decodeURIComponent(a)))):null;return i&&i.action==="ph_authorize"?((n=i).source="url",n&&Object.keys(n).length>0&&(i.desiredHash?e.hash=i.desiredHash:o?o.replaceState(o.state,"",e.pathname+e.search):e.hash="")):((n=JSON.parse(t.getItem(gO)||"{}")).source="localstorage",delete n.userIntent),!(!n.token||this.instance.config.token!==n.token||(this.loadToolbar(n),0))}catch{return!1}}Xo(e){var t=Qe.ph_load_toolbar||Qe.ph_load_editor;!xt(t)&&pi(t)?t(e,this.instance):fO.warn("No toolbar load function found")}loadToolbar(e){var t=!(Fe==null||!Fe.getElementById(JF));if(!ge||t)return!1;var o=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,n=Oe({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},o?{instrument:!1}:{});if(ge.localStorage.setItem(gO,JSON.stringify(Oe({},n,{source:void 0}))),this.Wo()===2)this.Xo(n);else if(this.Wo()===0){var a;this.Go(1),(a=Qe.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this.instance,"toolbar",(i=>{if(i)return fO.error("[Toolbar] Failed to load",i),void this.Go(0);this.Go(2),this.Xo(n)})),Ho(ge,"turbolinks:load",(()=>{this.Go(0),this.loadToolbar(n)}))}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)}}},_oe=Oe({experiments:kn},Tv),woe={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;xt(t)||(Or(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||oB(this._instance.config)||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var e=Qe?.__PosthogExtensions__;if(e&&!ze(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(px);o(this._instance,"conversations",(n=>{n||!e.initConversations?this.ra("Could not load conversations script",n):this.ta(e.initConversations),this.Qo=!1}))}catch(n){this.ra("Error initializing conversations",n),this.Qo=!1}}else Na.error("Conversations enabled but missing token in remote config.")}}ta(e){if(this.ea)try{this._conversationsManager=e(this.ea,this._instance),Na.info("Conversations loaded successfully")}catch(t){this.ra("Error completing conversations initialization",t)}else Na.error("Cannot complete initialization: remote config is null")}ra(e,t){Na.error(e,t),this._conversationsManager=null,this.Qo=!1}show(){this._conversationsManager?this._conversationsManager.show():Na.warn("Conversations not loaded yet.")}hide(){this._conversationsManager&&this._conversationsManager.hide()}isAvailable(){return this.Ko===!0&&!xi(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 n=this;return ja((function*(){return n._conversationsManager?n._conversationsManager.sendMessage(e,t,o):(Na.warn(ol),null)}))()}getMessages(e,t){var o=this;return ja((function*(){return o._conversationsManager?o._conversationsManager.getMessages(e,t):(Na.warn(ol),null)}))()}markAsRead(e){var t=this;return ja((function*(){return t._conversationsManager?t._conversationsManager.markAsRead(e):(Na.warn(ol),null)}))()}getTickets(e){var t=this;return ja((function*(){return t._conversationsManager?t._conversationsManager.getTickets(e):(Na.warn(ol),null)}))()}requestRestoreLink(e){var t=this;return ja((function*(){return t._conversationsManager?t._conversationsManager.requestRestoreLink(e):(Na.warn(ol),null)}))()}restoreFromToken(e){var t=this;return ja((function*(){return t._conversationsManager?t._conversationsManager.restoreFromToken(e):(Na.warn(ol),null)}))()}restoreFromUrlToken(){var e=this;return ja((function*(){return e._conversationsManager?e._conversationsManager.restoreFromUrlToken():(Na.warn(ol),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()}}},Coe={logs:class{constructor(e){var t;this.ia=!1,this.na=!1,this.Gt=vo("[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;!xt(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=Qe?.__PosthogExtensions__;if(e){var t=e.loadExternalDependency;t?t(this._instance,"logs",(o=>{var n;o||(n=e.logs)==null||!n.initializeLogs?this.Gt.error("Could not load logs script",o):(e.logs.initializeLogs(this._instance),this.na=!0)})):this.Gt.error(px)}else this.Gt.error("PostHog Extensions not found.")}}captureLog(e){var t,o,n,a,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=(n=(a=this._instance.config.logs)==null?void 0:a.maxLogsPerInterval)!==null&&n!==void 0?n:1e3,m=Date.now();if(c>m-this.aa||(this.aa=m,this.oa=0,this.la=!1),d>this.oa){this.oa++;var h=(function(p,f){var v=p.level||"info",{text:b,number:S}=$F[v]||jee,x=String(Date.now())+"000000",_={};f.distinctId&&(_.posthogDistinctId=f.distinctId),f.sessionId&&(_.sessionId=f.sessionId),f.currentUrl&&(_["url.full"]=f.currentUrl),f.screenName&&(_["screen.name"]=f.screenName),f.appState&&(_["app.state"]=f.appState),f.activeFeatureFlags&&f.activeFeatureFlags.length>0&&(_.feature_flags=f.activeFeatureFlags);var w=Oe({},_,p.attributes||{}),P={timeUnixNano:x,observedTimeUnixNano:x,severityNumber:S,severityText:b,body:{stringValue:p.body},attributes:kD(w)};return p.trace_id&&(P.traceId=p.trace_id),p.span_id&&(P.spanId=p.span_id),ze(p.trace_flags)||(P.flags=p.trace_flags),P})(e,this.ua());this.sa.push({record:h}),((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,n=Oe({"service.name":o?.serviceName||"unknown_service"},o?.environment&&{"deployment.environment":o.environment},o?.serviceVersion&&{"service.version":o.serviceVersion},o?.resourceAttributes),a=(function(l,c,d,m){return{resourceLogs:[{resource:{attributes:kD(c)},scopeLogs:[{scope:{name:d,version:m},logRecords:l}]}]}})(t.map((l=>l.record)),n,Un.LIB_NAME,Un.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:a,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(Qe!=null&&(e=Qe.location)!=null&&e.href&&(t.currentUrl=Qe.location.href),this._instance.featureFlags){var n=this._instance.featureFlags.getFlags();n&&n.length>0&&(t.activeFeatureFlags=n)}return t}}},xoe=Oe({},Tv,poe,hoe,goe,foe,voe,yoe,boe,Soe,_oe,woe,Coe);za.__defaultExtensionClasses=Oe({},xoe);var SO,Ei=(SO=Zd[Oc]=new za,(function(){function e(){e.done||(e.done=!0,xB=!1,co(Zd,(function(t){t._dom_loaded()})))}Fe!=null&&Fe.addEventListener?Fe.readyState==="complete"?e():Ho(Fe,"DOMContentLoaded",e,{capture:!1}):ge&&Be.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")})(),SO);const Eoe="studio-ui-resources",If="html",Toe=10080*60*1e3,koe=50,Poe=16*1024*1024;function Aoe(e){return e[0]==="mcp"&&e[1]===lL}function kv(){return new Promise((e,t)=>{const o=indexedDB.open(Eoe,1);o.onupgradeneeded=()=>{o.result.objectStoreNames.contains(If)||o.result.createObjectStore(If)},o.onsuccess=()=>e(o.result),o.onerror=()=>t(o.error)})}function uu(e,t){return e.transaction(If,t).objectStore(If)}function Ew(e){return new Promise((t,o)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>o(e.error)})}async function Roe(e){if(!(typeof indexedDB>"u"))try{const t=await kv(),o=uu(t,"readonly"),n=await Ew(o.getAllKeys()),a=await Ew(o.getAll()),i=Date.now(),l=n.map((m,h)=>({key:m,value:a[h]})).sort((m,h)=>(h.value?.updatedAt??0)-(m.value?.updatedAt??0)),c=[];let d=0;for(const{key:m,value:h}of l){if(!h||i-h.updatedAt>Toe||d>=koe){c.push(m);continue}d++;try{const f=JSON.parse(String(m));e.getQueryData(f)===void 0&&e.setQueryData(f,h.html,{updatedAt:0})}catch{c.push(m)}}if(c.length>0){const m=uu(t,"readwrite");for(const h of c)m.delete(h)}}catch{}}function Doe(e){if(typeof indexedDB>"u")return()=>{};const t=kv().catch(()=>null);return e.getQueryCache().subscribe(o=>{const n=o.query;if(!Array.isArray(n.queryKey)||!Aoe(n.queryKey)||n.state.status!=="success")return;const a=n.state.data;typeof a!="string"||a.length>Poe||t.then(i=>{if(i)try{uu(i,"readwrite").put({html:a,updatedAt:Date.now()},JSON.stringify(n.queryKey))}catch{}})})}function Ooe(){typeof indexedDB>"u"||kv().then(e=>uu(e,"readwrite").clear()).catch(()=>{})}async function khe(e){if(!(typeof indexedDB>"u"))try{const t=await kv(),o=await Ew(uu(t,"readonly").getAllKeys()),n=uu(t,"readwrite");for(const a of o)try{const i=JSON.parse(String(a));i[1]===lL&&i[3]===e&&n.delete(a)}catch{}}catch{}}const Mf="studio:rq-cache",IB=1440*60*1e3,Ioe=1e3,Moe=new Set(["publicConfig","ai-provider-keys","organization-settings","home-next-actions"]),Loe=new Set(["VIRTUAL_MCP","CONNECTIONS"]);let MB=!1,LB=!1;function Noe(e){const t=e[0];return typeof t=="string"&&Moe.has(t)?!0:e[3]==="collection"&&typeof e[4]=="string"&&Loe.has(e[4])}function Foe(e){if(!(typeof window>"u"))try{const t=window.localStorage.getItem(Mf);if(!t)return;const o=JSON.parse(t),n=!o.timestamp||Date.now()-o.timestamp>IB;if(o.buster!=="4.255.4"||n||!o.state){window.localStorage.removeItem(Mf);return}s$(e,o.state),MB=!0}catch{joe()}}function Boe(e){if(typeof window>"u")return()=>{};let t=null;const o=()=>{t=null;try{const n=i$(e,{shouldDehydrateQuery:a=>a.state.status==="success"&&Noe(a.queryKey)});window.localStorage.setItem(Mf,JSON.stringify({buster:"4.255.4",timestamp:Date.now(),state:n}))}catch{}};return e.getQueryCache().subscribe(()=>{t==null&&(t=setTimeout(o,Ioe))})}const NB="studio:org-cache:";function FB(e){return`${NB}${e}`}function Phe(e,t){if(typeof window>"u")return null;try{const o=window.localStorage.getItem(FB(e));if(!o)return null;const n=JSON.parse(o)[t];return!n||Date.now()-n.updatedAt>IB?null:(LB=!0,n)}catch{return null}}function Ahe(e,t,o){if(!(typeof window>"u"))try{const n=FB(e),a=window.localStorage.getItem(n),i=a?JSON.parse(a):{};i[t]={data:o,updatedAt:Date.now()},window.localStorage.setItem(n,JSON.stringify(i))}catch{}}function joe(){if(Ooe(),!(typeof window>"u"))try{window.localStorage.removeItem(Mf);for(let e=window.localStorage.length-1;e>=0;e--){const t=window.localStorage.key(e);t?.startsWith(NB)&&window.localStorage.removeItem(t)}}catch{}}function zoe(){return MB}function Uoe(){return LB}let wi=!1,Tw=null,_O=!1;const Sx="studio:lp-distinct-id",BB="mesh:lp-distinct-id",hS="/api/_reports/link-token/",$oe=1440*60*1e3;function jB(e){const t="https://analytics.invalid",o=/^[a-z][a-z\d+.-]*:\/\//i.test(e),n=e.startsWith("//");try{const a=new URL(e,t);let i=!1;for(const l of["key","d"])a.searchParams.has(l)&&(a.searchParams.delete(l),i=!0);return a.pathname.startsWith(hS)&&a.pathname!==hS&&(a.pathname=`${hS}redacted`,i=!0),i?o?a.toString():n?`//${a.host}${a.pathname}${a.search}${a.hash}`:`${a.pathname}${a.search}${a.hash}`:e}catch{return e}}function gS(e){return Object.fromEntries(Object.entries(e).map(([t,o])=>[t,typeof o=="string"?jB(o):o]))}const qoe=e=>e?(e.properties=gS(e.properties),e.$set&&(e.$set=gS(e.$set)),e.$set_once&&(e.$set_once=gS(e.$set_once)),e):null;function zB(){try{const e=window.localStorage.getItem(Sx)??window.localStorage.getItem(BB);if(!e)return;const{id:t,ts:o}=JSON.parse(e);return typeof t!="string"||!t||typeof o!="number"?void 0:Date.now()-o<=$oe?t:void 0}catch{return}}function Voe(){try{window.localStorage.removeItem(Sx),window.localStorage.removeItem(BB)}catch{}}function Hoe(){try{const e=new URL(window.location.href),t=e.searchParams.get("ph_did");t&&(window.localStorage.setItem(Sx,JSON.stringify({id:t,ts:Date.now()})),e.searchParams.delete("ph_did"),window.history.replaceState(window.history.state,"",e.toString()));const o=t??zB();return o?Object.keys(window.localStorage).some(a=>a.startsWith("ph_")&&a.endsWith("_posthog"))?void 0:o:void 0}catch{return}}function Goe(e){const t=zB();if(t&&(Voe(),t!==e))try{Ei.alias(t)}catch{}}function Koe(e,t){if(wi||typeof window>"u")return;const o=Hoe();Ei.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:qoe,capture_performance:{web_vitals:!0,network_timing:!0},capture_exceptions:!0,session_recording:{maskAllInputs:!0,blockClass:"ph-no-capture",maskCapturedNetworkRequestFn:n=>({...n,...typeof n.name=="string"?{name:jB(n.name)}:{}})},person_profiles:"identified_only"}),wi=!0}function Woe(e,t){wi&&(Ei.identify(e,t),Goe(e))}function Yoe(){wi&&(Ei.reset(),Tw=null)}function UB(e,t){wi&&Ei.capture(e,t)}function Rhe(){return wi}function Dhe(){if(!wi||_O||typeof performance>"u")return;_O=!0;const e=performance.getEntriesByType("navigation")[0],t=o=>{const n=performance.getEntriesByName(o,"measure")[0];return n?Math.round(n.duration):void 0};UB("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:zoe(),org_cache_restored:Uoe()})}function Ohe(e,t){wi&&e!==Tw&&(Ei.group("organization",e,t),Tw=e)}function $B(e,t){if(wi)try{Ei.captureException(e,t)}catch{}}const Zoe=["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 Qoe(e){const t=Ne.c(3),{children:o}=e;let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n=C.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:Zoe}}),t[0]=n):n=t[0];let a;return t[1]!==o?(a=C.jsxs("div",{className:"relative flex items-center justify-center min-h-screen bg-background overflow-hidden",children:[n,C.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]=a):a=t[2],a}function Joe(e){try{return JSON.parse(e)}catch{return}}function wO(e,t){if(typeof localStorage>"u")return typeof t=="function"?t(void 0):t;const o=localStorage.getItem(e),n=o?Joe(o):void 0,a=typeof t=="function"?t(n):n??t;if(n===void 0||a!==n)try{const i=JSON.stringify(a);localStorage.setItem(e,i)}catch{}return a}function Xoe(e,t){const o=Ne.c(25),n=Wf();let a;o[0]!==e?(a=["localStorage",e],o[0]=e,o[1]=a):a=o[1];const i=a;let l,c;o[2]!==t||o[3]!==e?(l=()=>wO(e,t),c=()=>wO(e,t),o[2]=t,o[3]=e,o[4]=l,o[5]=c):(l=o[4],c=o[5]);let d;o[6]!==i||o[7]!==l||o[8]!==c?(d={queryKey:i,queryFn:l,initialData:c,staleTime:1/0,gcTime:1/0},o[6]=i,o[7]=l,o[8]=c,o[9]=d):d=o[9];const{data:m}=xm(d);let h;o[10]!==e?(h=async w=>(typeof localStorage<"u"&&localStorage.setItem(e,JSON.stringify(w)),w),o[10]=e,o[11]=h):h=o[11];let p;o[12]!==n||o[13]!==i?(p=w=>{n.setQueryData(i,w)},o[12]=n,o[13]=i,o[14]=p):p=o[14];let f;o[15]!==h||o[16]!==p?(f={mutationFn:h,onSuccess:p},o[15]=h,o[16]=p,o[17]=f):f=o[17];const v=Vd(f);let b;o[18]!==v||o[19]!==n||o[20]!==i?(b=w=>{const P=n.getQueryData(i),T=typeof w=="function"?w(P):w;v.mutate(T)},o[18]=v,o[19]=n,o[20]=i,o[21]=b):b=o[21];const S=b,x=m;let _;return o[22]!==S||o[23]!==x?(_=[x,S],o[22]=S,o[23]=x,o[24]=_):_=o[24],_}const Cl={chatSelectedImageModel:e=>`studio:chat:selectedImageModel:${e}`,chatSelectedWebSearchModel:e=>`studio:chat:selectedWebSearchModel:${e}`,chatSelectedDeepResearchModel:e=>`studio:chat:selectedDeepResearchModel:${e}`,chatSimpleModeTier:e=>`studio:chat:simpleModeTier:${e}`,chatLastAgentOption:e=>`studio:chat:lastAgentOption:${e}`,chatAutosend:(e,t)=>`studio:chat:autosend:${e}:${t}`,chatThreadIntent:(e,t)=>`studio:chat:threadIntent:${e}:${t}`,chatDraft:(e,t)=>`studio:chat:draft:${e}:${t}`,sidePanelWidth:()=>"studio:side-panel:width",sidebarOpen:()=>"studio:sidebar-open",preferences:()=>"studio:user:preferences",lastOrgSlug:()=>"studio:last-org-slug",lastLocation:()=>"studio:last-location",connectionsTab:e=>`studio:connections:tab:${e}`,taskLastViewed:e=>`studio:chat:task-last-viewed:${e}`,sidebarGroupOrder:(e,t)=>`sidebar.group-order.${e}.${t}`,ptBrAnnouncementSeen:e=>`studio:announcement:pt-br:${e}`,cmsTourSeen:e=>`studio:cms-tour:seen:${e}`},qB=["en","pt-BR"];function _x(){return typeof navigator<"u"&&navigator.language?.toLowerCase().startsWith("pt")?"pt-BR":"en"}const ene={toolApprovalLevel:"auto",enableNotifications:typeof Notification<"u",enableSounds:!1,theme:"system",language:_x(),shownTaskBoardLanes:[]},VB=["auto","readonly"],Ihe=[{value:"readonly",labelKey:"settings.preferences.toolApprovalAsk",shortKey:"settings.preferences.toolApprovalAskShort"},{value:"auto",labelKey:"settings.preferences.toolApprovalAuto",shortKey:"settings.preferences.toolApprovalAutoShort"}],tne=["light","dark","system"];function Mhe(){try{const e=JSON.parse(localStorage.getItem(Cl.preferences())??"{}");if(VB.includes(e.toolApprovalLevel))return e.toolApprovalLevel}catch{}return"auto"}function one(){try{const e=JSON.parse(localStorage.getItem(Cl.preferences())??"{}");if(qB.includes(e.language))return e.language}catch{}return _x()}function HB(){const e=Ne.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=Cl.preferences(),e[0]=t):t=e[0],Xoe(t,nne)}function nne(e){const t={...ene,...e};return VB.includes(t.toolApprovalLevel)||(t.toolApprovalLevel="auto"),tne.includes(t.theme)||(t.theme="system"),qB.includes(t.language)||(t.language=_x()),Array.isArray(t.shownTaskBoardLanes)||(t.shownTaskBoardLanes=[]),t}const ane={"virtualMcp.addConnectionDialog.addConnectionTitle":"Add Connection","virtualMcp.addConnectionDialog.authenticationFailedError":"Authentication failed: {error}","virtualMcp.addConnectionDialog.connected":"Connected","virtualMcp.addConnectionDialog.connectedAuthenticated":"Connected and authenticated","virtualMcp.addConnectionDialog.connectionsTitle":"Connections","virtualMcp.addConnectionDialog.failedToAddConnection":"Failed to add connection","virtualMcp.addConnectionDialog.failedToConnect":"Failed to connect","virtualMcp.addConnectionDialog.mcpServerConnectionError":"This MCP Server cannot be connected: no connection method available","virtualMcp.addConnectionDialog.searchConnectionsPlaceholder":"Search connections...","virtualMcp.addConnectionDialog.signInFailedDescription":"It was added to your agent, but its sign-in setup looks off. You can try authenticating again later from the connection's settings. ({error})","virtualMcp.addConnectionDialog.signInFailedTitle":"Couldn't sign in to this connection","virtualMcp.connectionDialogContent.add":"Add","virtualMcp.connectionDialogContent.added":"Added","virtualMcp.connectionDialogContent.builtByDeco":"Built and maintained by Deco","virtualMcp.connectionDialogContent.builtByOfficial":"Built and maintained by the official vendor","virtualMcp.connectionDialogContent.connect":"Connect","virtualMcp.connectionDialogContent.connected":"Connected","virtualMcp.connectionDialogContent.customConnection":"Custom Connection","virtualMcp.connectionDialogContent.emptyStateNoConnectionsAvailable":"No connections available","virtualMcp.connectionDialogContent.emptyStateNoConnectionsYet":"No connections yet","virtualMcp.connectionDialogContent.emptyStateSearchNoMatch":'No connections match "{search}"',"virtualMcp.connectionDialogContent.madeByDeco":"Made by Deco","virtualMcp.connectionDialogContent.sectionAllConnections":"All connections","virtualMcp.connectionDialogContent.sectionVerified":"Verified","virtualMcp.connectionDialogContent.tabAll":"All","virtualMcp.connectionDialogContent.tabConnected":"Connected","virtualMcp.connectionDialogContent.verifiedByDeco":"Verified by the Deco team","virtualMcp.connectionItem.authorize":"Authorize","virtualMcp.connectionItem.configureResources":"Configure resources","virtualMcp.connectionItem.connectionDisabled":"Connection disabled","virtualMcp.connectionItem.connectionEnabled":"Connection enabled","virtualMcp.connectionItem.connectionSettings":"Connection settings","virtualMcp.connectionItem.disable":"Disable","virtualMcp.connectionItem.disableConnection":"Disable connection","virtualMcp.connectionItem.disabled":"Disabled","virtualMcp.connectionItem.disabledError":"Disabled (error)","virtualMcp.connectionItem.enable":"Enable","virtualMcp.connectionItem.failedToUpdateConnection":"Failed to update connection","virtualMcp.connectionItem.needsAuthorization":"Needs authorization","virtualMcp.connectionItem.newInstance":"New instance","virtualMcp.connectionItem.remove":"Remove","virtualMcp.connectionItem.removeConnection":"Remove connection","virtualMcp.dependencySelectionDialog.authorizationDescription":"This connection needs to be authorized before you can configure its tools and resources.","virtualMcp.dependencySelectionDialog.authorizationRequired":"Authorization required","virtualMcp.dependencySelectionDialog.authorize":"Authorize","virtualMcp.dependencySelectionDialog.deselectAll":"Deselect all","virtualMcp.dependencySelectionDialog.done":"Done","virtualMcp.dependencySelectionDialog.noActiveToolsSelected":"No active tools selected","virtualMcp.dependencySelectionDialog.noPromptsAvailable":"No prompts available","virtualMcp.dependencySelectionDialog.noResourcesAvailable":"No resources available","virtualMcp.dependencySelectionDialog.noToolsAvailable":"No tools available","virtualMcp.dependencySelectionDialog.promptsNotSupported":"Prompts not supported by this server","virtualMcp.dependencySelectionDialog.resourcesNotSupported":"Resources not supported by this server","virtualMcp.dependencySelectionDialog.selectAll":"Select all","virtualMcp.dependencySelectionDialog.somethingWentWrong":"Something went wrong","virtualMcp.dependencySelectionDialog.tabActive":"Active","virtualMcp.dependencySelectionDialog.tabPrompts":"Prompts","virtualMcp.dependencySelectionDialog.tabResources":"Resources","virtualMcp.dependencySelectionDialog.tabTools":"Tools","virtualMcp.dependencySelectionDialog.toolsNotSupported":"Tools not supported by this server","virtualMcp.dependencySelectionDialog.unexpectedError":"An unexpected error occurred","virtualMcp.filesSection.add":"Add","virtualMcp.filesSection.description":"Attach files and skills the agent can always reference.","virtualMcp.filesSection.failedUploadFile":"Failed to upload file.","virtualMcp.filesSection.fileTooLargeDescription":"Exceeds the 25MB limit, not uploaded: {names}","virtualMcp.filesSection.fileTooLargeTitle":"File too large","virtualMcp.filesSection.filesAndSkills":"Files and skills","virtualMcp.filesSection.kindFile":"File","virtualMcp.filesSection.kindSkill":"Skill","virtualMcp.filesSection.noFilesFound":"No files found.","virtualMcp.filesSection.noFilesOrSkillsYet":"No files or skills yet. Add one or drag and drop here.","virtualMcp.filesSection.noSkillsFound":"No skills found.","virtualMcp.filesSection.removeAriaLabel":"Remove {name}","virtualMcp.filesSection.searchFilesPlaceholder":"Search files...","virtualMcp.filesSection.searchSkillsPlaceholder":"Search skills...","virtualMcp.filesSection.selectFileOrFolder":"Select file or folder","virtualMcp.filesSection.selectSkill":"Select skill","virtualMcp.filesSection.uploadFile":"Upload file","virtualMcp.layoutTabContent.addConnectionMessage":"Add a connection above to configure pinned views.","virtualMcp.layoutTabContent.automations":"Automations","virtualMcp.layoutTabContent.chat":"Chat","virtualMcp.layoutTabContent.chatAlwaysShown":"Chat is always shown when it is the default view","virtualMcp.layoutTabContent.content":"Content","virtualMcp.layoutTabContent.layout":"Layout","virtualMcp.layoutTabContent.mainView":"Main view","virtualMcp.layoutTabContent.mainViewDescription":"What users see when they first open this agent.","virtualMcp.layoutTabContent.noInteractiveTools":"None of the connected servers expose interactive tools.","virtualMcp.layoutTabContent.openCms":"Auto-open editor","virtualMcp.layoutTabContent.openCmsDescription":"Open the CMS automatically when the preview is ready to edit content.","virtualMcp.layoutTabContent.pinnedViews":"Pinned views","virtualMcp.layoutTabContent.pinnedViewsDescription":"Surface interactive tools as top-level tabs in the agent.","virtualMcp.layoutTabContent.preview":"Preview","virtualMcp.layoutTabContent.settings":"Settings","virtualMcp.layoutTabContent.showChat":"Show chat","virtualMcp.layoutTabContent.showChatDescription":"Display Chat in the side panel alongside the main view.","virtualMcp.subAgentsSection.addSubAgent":"Add sub-agent","virtualMcp.subAgentsSection.anyAgent":"Any agent","virtualMcp.subAgentsSection.canDelegateToAnyAgent":"Can delegate to any agent in the organization.","virtualMcp.subAgentsSection.canOnlyDelegateToItself":"Can only delegate to a fresh copy of itself, no other agents.","virtualMcp.subAgentsSection.emptyStateMessage":"No sub-agents selected yet. Add one — until then this agent can only delegate to itself.","virtualMcp.subAgentsSection.noAgentsFound":"No agents found.","virtualMcp.subAgentsSection.onlyItself":"Only itself","virtualMcp.subAgentsSection.searchPlaceholder":"Search agents...","virtualMcp.subAgentsSection.specificAgents":"Specific agents","virtualMcp.subAgentsSection.title":"Sub-agents","virtualMcp.virtualMcp.addConnection":"Add connection","virtualMcp.virtualMcp.agentDeleted":'Deleted "{title}"',"virtualMcp.virtualMcp.agentNamePlaceholder":"Agent name","virtualMcp.virtualMcp.authenticationFailed":"Authentication failed: {error}","virtualMcp.virtualMcp.authenticationSuccessful":"Authentication successful","virtualMcp.virtualMcp.backToSpaces":"Back to spaces","virtualMcp.virtualMcp.cancel":"Cancel","virtualMcp.virtualMcp.connect":"Connect","virtualMcp.virtualMcp.connections":"Connections","virtualMcp.virtualMcp.created":"Created","virtualMcp.virtualMcp.delete":"Delete","virtualMcp.virtualMcp.deleteAgent":"Delete agent","virtualMcp.virtualMcp.deleteAgentConfirm":"Delete Agent?","virtualMcp.virtualMcp.deleteAgentConfirmDescription":"This action cannot be undone. This will permanently delete {title}.","virtualMcp.virtualMcp.deleteAgentDescription":"Permanently delete this agent and all its data.","virtualMcp.virtualMcp.descriptionPlaceholder":"Add a description...","virtualMcp.virtualMcp.failedToCreateInstance":"Failed to create instance","virtualMcp.virtualMcp.fullscreen":"Fullscreen","virtualMcp.virtualMcp.improve":"Improve","virtualMcp.virtualMcp.instanceAlreadyAdded":"This instance is already added to the agent","virtualMcp.virtualMcp.instructions":"Instructions","virtualMcp.virtualMcp.instructionsPlaceholder":"Define how this agent should behave, what tone to use, any constraints or guidelines...","virtualMcp.virtualMcp.lastUsed":"Last used {time}","virtualMcp.virtualMcp.neverUsed":"Never used","virtualMcp.virtualMcp.newInstanceCreated":"New instance created","virtualMcp.virtualMcp.noConnectionsYet":"No connections yet. Add one to get started.","virtualMcp.virtualMcp.openFullscreenEditor":"Open fullscreen editor","virtualMcp.virtualMcp.promptTemplate":"+ Prompt template","virtualMcp.virtualMcp.promptTemplateContent":`<role>
101
101
  Define who this agent is and what it specializes in.
102
102
  Example: You are a support triage agent for B2B merchants.
103
103
  </role>
@@ -129,7 +129,7 @@ debug?`,"orgs.monitoring.propertyFilters":"Property Filters","orgs.monitoring.se
129
129
  e.g. user1@example.com, user2@example.com
130
130
  or one per line`,"common.inviteMemberDialog.errorFailedInvite":"Failed to invite {count} member(s)","common.inviteMemberDialog.errorGeneric":"Failed to invite members","common.inviteMemberDialog.errorNoValidEmail":"Please enter at least one valid email address","common.inviteMemberDialog.errorSelectRole":"Please select a role","common.inviteMemberDialog.inviteButton":"Invite {count} Member(s)","common.inviteMemberDialog.invitingButton":"Inviting...","common.inviteMemberDialog.permAllConnections":"All connections","common.inviteMemberDialog.permAllTools":"all tools","common.inviteMemberDialog.permConnections":"{count} connection(s)","common.inviteMemberDialog.permFullOrgAccess":"Full org access","common.inviteMemberDialog.permOrgPerms":"{count} org perm(s)","common.inviteMemberDialog.permTools":"{count} tool(s)","common.inviteMemberDialog.roleSelectPlaceholder":"Select a role","common.inviteMemberDialog.successMultiple":"{count} members invited successfully!","common.inviteMemberDialog.successSingle":"Member invited successfully!","common.inviteMemberDialog.title":"Invite members","common.keyboardShortcutsDialog.title":"Keyboard Shortcuts","common.noAccessScreen.askAdminToInvite":"Ask an admin to invite you.","common.noAccessScreen.couldNotFind":"We couldn't find an organization called","common.noAccessScreen.goToHome":"Go to home","common.noAccessScreen.noAccess":"No access","common.noAccessScreen.noAccessTo":"You don't have access to","common.noAccessScreen.organizationNotFound":"Organization not found","common.pendingInviteScreen.acceptButton":"Accept invitation","common.pendingInviteScreen.acceptDescription":"Accept the invitation to join this organization.","common.pendingInviteScreen.acceptingButton":"Accepting…","common.pendingInviteScreen.declineButton":"Decline","common.pendingInviteScreen.decliningButton":"Declining…","common.pendingInviteScreen.failedToAccept":"Failed to accept invitation","common.pendingInviteScreen.failedToDecline":"Failed to decline invitation","common.pendingInviteScreen.invitationDeclined":"Invitation declined","common.pendingInviteScreen.invitedTo":"You've been invited to {orgName}","common.requestPendingScreen.description":"Your request to join {orgName} is waiting for an admin to approve it. You'll get access once it's approved.","common.requestPendingScreen.goHome":"Go to home","common.requestPendingScreen.title":"Request pending","common.requestToJoinScreen.description":"An admin must approve requests from @{domain} emails before you can join.","common.requestToJoinScreen.failedToRequest":"Failed to request access","common.requestToJoinScreen.goToHome":"Go to home","common.requestToJoinScreen.requestButton":"Request to join","common.requestToJoinScreen.requesting":"Requesting…","common.requestToJoinScreen.title":"Request to join {orgName}?","common.signInScreen.configLoadFailed":"Couldn't load sign-in options.","common.signInScreen.tryAgain":"Try again","common.simpleIconPicker.changeIcon":"Change icon","common.simpleIconPicker.filterPlaceholder":"Filter...","common.simpleIconPicker.noIconsFound":"No icons found","common.ssoRequiredScreen.goBack":"Go back","common.ssoRequiredScreen.orgRequiresSsoAuth":"This organization requires SSO authentication to access.","common.ssoRequiredScreen.requiresSsoAuth":"requires SSO authentication","common.ssoRequiredScreen.signInWithSso":"Sign in with SSO","common.ssoRequiredScreen.title":"SSO Authentication Required","common.ssoRequiredScreen.via":"via {domain}","common.tagMultiSelect.addTags":"Add tags...","common.tagMultiSelect.available":"Available","common.tagMultiSelect.createTag":'Create "{tagName}"',"common.tagMultiSelect.noTagsFound":"No tags found.","common.tagMultiSelect.searchOrCreate":"Search or create...","common.tagMultiSelect.selected":"Selected","common.toolInputForm.enterPlaceholder":"Enter {fieldKey}…","common.toolInputForm.false":"false","common.toolInputForm.jsonPlaceholder":"Enter {fieldKey} as JSON…","common.toolInputForm.selectPlaceholder":"Select…","common.toolInputForm.true":"true","common.toolSetSelector.filterAll":"All","common.toolSetSelector.filterSelected":"Selected","common.toolSetSelector.filterUnselected":"Unselected","common.toolSetSelector.noConnectionsAvailable":"No connections available","common.toolSetSelector.noConnectionsFound":"No connections found","common.toolSetSelector.noServersSelected":"No servers selected","common.toolSetSelector.noToolsAvailable":"This connection has no tools available","common.toolSetSelector.noUnselectedServers":"No unselected servers","common.toolSetSelector.searchPlaceholder":"Search MCP Servers...","common.toolSetSelector.selectConnection":"Select a connection to view its tools","common.useStartThreadFromPrompt.failedToStartChat":"Failed to start chat. Please try again.","common.useStartThreadFromPrompt.mcpClientNotAvailable":"MCP client not available","common.createAgentDropdown.createFromScratch":"Create from scratch","common.createAgentDropdown.importFromGitHub":"Import from GitHub","common.createAgentDropdown.importFromDeco":"Import from deco.cx","common.mainPanelTabs.overview":"Overview","common.mainPanelTabs.preview":"Preview","common.mainPanelTabs.code":"Code","common.mainPanelTabs.content":"Content","common.mainPanelTabs.assets":"Assets","common.mainPanelTabs.reviewChanges":"Review changes","common.mainPanelTabs.automations":"Automations","common.mainPanelTabs.settings":"Settings","common.mainPanelTabs.report":"Report","common.taskBoard.listView":"List","common.taskBoard.boardView":"Board","common.openExternalFailed":"Could not open this link in your browser."},Dne={"commerceOnboarding.companionCard.configField.accountName":"Account name","commerceOnboarding.companionCard.configField.appKey":"App Key","commerceOnboarding.companionCard.configField.appToken":"App Token","commerceOnboarding.companionCard.configField.propertyId":"Property","commerceOnboarding.companionCard.configField.siteUrl":"Site","commerceOnboarding.companionCard.configure":"Configure","commerceOnboarding.companionCard.configureAriaLabel":"Configure {title}","commerceOnboarding.companionCard.configureDescription":"Configure {title} to enrich the data","commerceOnboarding.companionCard.connect":"Connect","commerceOnboarding.companionCard.connectAriaLabel":"Connect {title}","commerceOnboarding.companionCard.connected":"Connected","commerceOnboarding.companionCard.disconnect":"Disconnect","commerceOnboarding.companionCard.disconnectAriaLabel":"Disconnect {title}","commerceOnboarding.companionCard.disconnectError":"Couldn't disconnect. Please try again.","commerceOnboarding.companionCard.disconnectedSuccess":"{title} disconnected","commerceOnboarding.companionCard.editConfiguration":"Edit configuration","commerceOnboarding.companionCard.finishSetup":"Finish setup","commerceOnboarding.companionCard.required":"Required","commerceOnboarding.connectSourceDialog.connecting":"Connecting {title}...","commerceOnboarding.connectSourceDialog.loading":"Loading...","commerceOnboarding.connectSourceDialog.noConnectionMethod":"{title} cannot be connected: no connection method available","commerceOnboarding.connectSourceDialog.signInFailed":"Couldn't sign in to {title}: {error}","commerceOnboarding.connectSourceDialog.title":"Connect data source","commerceOnboarding.githubConfigForm.cancel":"Cancel","commerceOnboarding.githubConfigForm.failedToSave":"Couldn't save the configuration","commerceOnboarding.githubConfigForm.githubConnectionNotFound":"GitHub connection not found.","commerceOnboarding.githubConfigForm.invalidRepository":'Invalid repository: "{repo}". Use the owner/name format.',"commerceOnboarding.githubConfigForm.loadingRepositories":"Loading repositories...","commerceOnboarding.githubConfigForm.noGithubInstallation":'No GitHub installation found for "{owner}".',"commerceOnboarding.githubConfigForm.noRepositoriesFound":"No repositories found. Type the repository name (owner/name) to search.","commerceOnboarding.githubConfigForm.save":"Save","commerceOnboarding.githubConfigForm.saving":"Saving...","commerceOnboarding.githubConfigForm.searchFailedPartial":"Part of the search failed — some repositories may be missing. Try again or type owner/name.","commerceOnboarding.githubConfigForm.searchFailedTotal":"Couldn't search the repositories (error or timeout). Try again or type the repository as owner/name.","commerceOnboarding.githubConfigForm.searchRepositoryLabel":"Search repository","commerceOnboarding.githubConfigForm.searchRepositoryPlaceholder":"Search repository","commerceOnboarding.githubConfigForm.selectRepository":"Select a repository","commerceOnboarding.saBindingForm.bind":"Connect","commerceOnboarding.saBindingForm.bindError":"Couldn't connect.","commerceOnboarding.saBindingForm.cancel":"Cancel","commerceOnboarding.saBindingForm.connectedSuccess":"{label} connected","commerceOnboarding.saBindingForm.copyEmailLabel":"Copy the reader account e-mail","commerceOnboarding.saBindingForm.emailCopied":"E-mail copied","commerceOnboarding.saBindingForm.googleLoginAlternative":"Sign in with Google instead","commerceOnboarding.saBindingForm.resourceIdRequired":"Provide the {resourceLabel}","commerceOnboarding.saBindingForm.storeUrlUnavailable":"Store URL unavailable. Reload the page.","commerceOnboarding.saBindingForm.verifying":"Verifying...","commerceOnboarding.saBinding.sampleDomain":"yourstore.com","commerceOnboarding.saBinding.oauthNote":"Google is still reviewing our app, so its login screen warns that the app isn't verified.","commerceOnboarding.saBinding.ga4.openConsole":"Open Google Analytics","commerceOnboarding.saBinding.ga4.step1":"In Google Analytics, open Admin › Property access management.","commerceOnboarding.saBinding.ga4.step2":"Click +, choose Add users, paste this e-mail and pick the Viewer role.","commerceOnboarding.saBinding.ga4.step3":"Copy the property ID from Admin › Property details and paste it here.","commerceOnboarding.saBinding.ga4.resourceLabel":"Property ID","commerceOnboarding.saBinding.ga4.resourcePlaceholder":"123456789","commerceOnboarding.saBinding.ga4.resourceHint":"Digits only, without the 'properties/' prefix.","commerceOnboarding.saBinding.gsc.openConsole":"Open Search Console","commerceOnboarding.saBinding.gsc.step1":"In Search Console, open Settings › Users and permissions.","commerceOnboarding.saBinding.gsc.step2":"Click Add user, paste this e-mail and choose the Full permission.","commerceOnboarding.saBinding.gsc.step3":"Copy the property address exactly as the picker shows it and paste it here.","commerceOnboarding.saBinding.gsc.resourceLabel":"Site or property","commerceOnboarding.saBinding.gsc.resourcePlaceholder":"sc-domain:{host}","commerceOnboarding.saBinding.gsc.resourceHint":"Domain property, or the full URL prefix (https://www.{host}/).","commerceOnboarding.saBinding.remediation.noAccess.title":"We still can't reach this resource in {label}.","commerceOnboarding.saBinding.remediation.noAccess.ga4.1":"Check that {email} is listed under Admin › Property access management with the Viewer role.","commerceOnboarding.saBinding.remediation.noAccess.ga4.2":"Check the property ID: digits only, without the 'properties/' prefix.","commerceOnboarding.saBinding.remediation.noAccess.ga4.3":"Google can take a few seconds to apply the access. Try again.","commerceOnboarding.saBinding.remediation.noAccess.gsc.1":"Check that {email} is listed under Settings › Users and permissions.","commerceOnboarding.saBinding.remediation.noAccess.gsc.2":"The permission has to be Full or Restricted. 'Unverified' doesn't work.","commerceOnboarding.saBinding.remediation.noAccess.gsc.3":"Check that the address matches exactly what Search Console shows.","commerceOnboarding.saBinding.remediation.noWebStream.title":"This GA4 property has no web data stream (site) configured.","commerceOnboarding.saBinding.remediation.noWebStream.1":"In GA4, go to Admin › Data streams.","commerceOnboarding.saBinding.remediation.noWebStream.2":"Click Add stream › Web.","commerceOnboarding.saBinding.remediation.noWebStream.3":"Enter your store's site URL and save the stream.","commerceOnboarding.saBinding.remediation.noWebStream.4":"Come back and try again. App-only properties need a manual link, so talk to support.","commerceOnboarding.saBinding.remediation.noMatch.title":"That resource doesn't match this store's domain.","commerceOnboarding.saBinding.remediation.noMatch.ga4.1":"Check the property ID. It probably belongs to another site.","commerceOnboarding.saBinding.remediation.noMatch.ga4.2":"In GA4 the measured site shows under Admin › Data streams › your web stream › stream URL.","commerceOnboarding.saBinding.remediation.noMatch.gsc.1":"Check that you picked the Search Console property for this store.","commerceOnboarding.saBinding.remediation.noMatch.gsc.2":"The address has to cover the same domain as the diagnostic.","commerceOnboarding.saBinding.remediation.alreadyBound.title":"This resource is already linked to another store.","commerceOnboarding.saBinding.remediation.alreadyBound.1":"If it really belongs to this store, talk to support for a manual review.","commerceOnboarding.saBinding.remediation.alreadyBound.2":"If you typed the wrong id, check it and try again.","commerceOnboarding.saBinding.remediation.unknown.title":"We couldn't verify access to this resource.","commerceOnboarding.saBinding.remediation.unknown.1":"Go back over the steps above and try again.","commerceOnboarding.saBinding.remediation.unknown.2":"If it keeps failing, talk to support.","commerceOnboarding.vtexConfigForm.accountNameLabel":"Account name","commerceOnboarding.vtexConfigForm.accountNamePlaceholder":"Your VTEX account name","commerceOnboarding.vtexConfigForm.appKeyLabel":"App Key (optional)","commerceOnboarding.vtexConfigForm.appKeyPlaceholder":"VTEX App Key","commerceOnboarding.vtexConfigForm.appTokenLabel":"App Token (optional)","commerceOnboarding.vtexConfigForm.appTokenPlaceholder":"VTEX App Token","commerceOnboarding.vtexConfigForm.cancelButton":"Cancel","commerceOnboarding.vtexConfigForm.saveButton":"Save","commerceOnboarding.vtexConfigForm.savingButton":"Saving...","commerceOnboarding.vtexConfigForm.savingError":"Couldn't save the configuration","commerceOnboarding.shopifyConfigForm.storeDomainLabel":"Store domain","commerceOnboarding.shopifyConfigForm.storeDomainPlaceholder":"my-store.myshopify.com","commerceOnboarding.shopifyConfigForm.storeDomainRequired":"Enter the store domain","commerceOnboarding.shopifyConfigForm.accessTokenLabel":"Admin API access token","commerceOnboarding.shopifyConfigForm.accessTokenRequired":"Enter the Admin API access token","commerceOnboarding.shopifyConfigForm.accessTokenPlaceholder":"shpat_...","commerceOnboarding.shopifyConfigForm.apiVersionLabel":"API version (optional)","commerceOnboarding.shopifyConfigForm.apiVersionPlaceholder":"2026-07","commerceOnboarding.shopifyConfigForm.cancelButton":"Cancel","commerceOnboarding.shopifyConfigForm.saveButton":"Save","commerceOnboarding.shopifyConfigForm.savingButton":"Saving...","commerceOnboarding.shopifyConfigForm.savingError":"Couldn't save the configuration","commerceOnboarding.googleSearchConsoleConfigForm.loadingSites":"Loading sites...","commerceOnboarding.googleSearchConsoleConfigForm.loadSitesError":"Couldn't load Google Search Console sites.","commerceOnboarding.googleSearchConsoleConfigForm.noSitesFound":"No verified site found. Verify a site in Google Search Console.","commerceOnboarding.googleSearchConsoleConfigForm.siteAriaLabel":"Verified site","commerceOnboarding.googleSearchConsoleConfigForm.siteRequired":"Select a site","commerceOnboarding.googleSearchConsoleConfigForm.savingError":"Couldn't save the configuration","commerceOnboarding.googleSearchConsoleConfigForm.cancelButton":"Cancel","commerceOnboarding.googleSearchConsoleConfigForm.saveButton":"Save","commerceOnboarding.googleSearchConsoleConfigForm.savingButton":"Saving...","commerceOnboarding.selectableList.searchPlaceholder":"Search...","commerceOnboarding.selectableList.searchAriaLabel":"Search {label}","commerceOnboarding.selectableList.noResults":"No results"},One={"collections.collectionDisplayButton.displayAndFilters":"Display & filters","collections.collectionDisplayButton.sortBy":"Sort by","collections.collectionTableWrapper.loading":"Loading...","collections.collectionTableWrapper.noItemsFound":"No items found","collections.mutations.itemCreatedSuccessfully":"Item created successfully","collections.mutations.itemUpdatedSuccessfully":"Item updated successfully","collections.mutations.itemDeletedSuccessfully":"Item deleted successfully","collections.mutations.createItemFailed":"Failed to create item: {error}","collections.mutations.updateItemFailed":"Failed to update item: {error}","collections.mutations.deleteItemFailed":"Failed to delete item: {error}"},Ine={"cmsTour.menuItem":"Visual tour","cmsTour.preview.title":"Preview","cmsTour.preview.description":"See your site update live as you edit — this is your working preview.","cmsTour.dropdown.title":"More views","cmsTour.dropdown.description":"Code, Content and Library live here — open this menu to switch between them.","cmsTour.edit.title":"CMS","cmsTour.edit.description":"Open the editor to change the sections on the page you're viewing.","cmsTour.visualEditor.title":"Visual editor","cmsTour.visualEditor.description":"Turn this on to click any section right on the page and edit it in place.","cmsTour.device.title":"Responsive preview","cmsTour.device.description":"Switch between desktop, tablet and mobile to check how the layout responds.","cmsTour.branches.title":"Branches","cmsTour.branches.description":"Each set of changes lives on its own branch — switch or start a new one here.","cmsTour.submit.title":"Submit for review","cmsTour.submit.description":"Send your changes as a pull request for your team to review before they go live.","cmsTour.publish.title":"Review & Publish","cmsTour.publish.description":"Publish your changes to the live site once they're ready.","cmsTour.next":"Next","cmsTour.prev":"Back","cmsTour.done":"Got it","cmsTour.skip":"Skip","cmsTour.progress":"{{current}} of {{total}}"},Mne={"chooseEditor.resolving":"Opening editor…","chooseEditor.chooser.title":"Choose where to edit this site","chooseEditor.chooser.subtitle":"This site is in more than one of your workspaces. Pick where to open it.","chooseEditor.chooser.openAriaLabel":"Open {title} in {org}","chooseEditor.notFound.title":"We couldn't find this site","chooseEditor.notFound.description":"This site isn't in any workspace you can access. Import it in Studio to start editing.","chooseEditor.error.title":"Something went wrong","chooseEditor.error.description":"We couldn't open the editor. Please try again.","chooseEditor.retry":"Try again","chooseEditor.backToStudio":"Go to Studio"},Lne={"chat.agentCreate.agentCreated":"Agent created: {name}","chat.agentCreate.cancelled":"Agent creation cancelled","chat.agentCreate.couldntCreate":"Couldn't create agent","chat.agentCreate.createAgent":"Create agent","chat.agentCreate.created":"Agent created","chat.agentCreate.creating":"Creating agent","chat.agentCreate.seeAgent":"See agent","chat.agentCreate.seeAgentLabel":"See agent: {name}","chat.agentIcons.claudeCode":"Claude Code","chat.agentIcons.codex":"Codex","chat.agentIcons.opencode":"OpenCode","chat.agentList.agentsNoun":"agents","chat.agentList.couldntLoad":"Couldn't load agents","chat.agentList.listAgents":"List agents","chat.agentList.loading":"Loading agents","chat.agentList.multiAgents":"{count} agents","chat.agentList.noAgents":"No agents yet","chat.agentList.noAgentsDesc":"This organization hasn't created any agents.","chat.agentList.oneAgent":"1 agent","chat.agentList.unavailable":"Agent list unavailable","chat.agentModels.balancedQuality":"Balanced quality","chat.agentModels.deeperReasoning":"Deeper reasoning","chat.agentModels.quickerResponses":"Quicker responses","chat.approval.acceptButton":"Accept","chat.approval.batchedLabel":"{count} approvals pending","chat.approval.defaultDenyReason":"User denied this tool call, give other alternatives.","chat.approval.denyButton":"Deny","chat.approval.needsApproval":"Approval needed","chat.approval.noInput":"No input","chat.approval.preparingRequest":"Preparing approval request...","chat.assistant.messagePlural":"{count} message(s)","chat.assistant.noResponseGenerated":"No response was generated","chat.assistant.resumedBackgroundTask":"Resumed — background task completed","chat.assistant.resumingTask":"Resuming task...","chat.assistant.toolCallPlural":"{count} tool call(s)","chat.branchPill.lockedTooltip":"This chat is using branch {branch}. Start a new chat to use a different branch.","chat.branchPill.noBranch":"(no branch)","chat.brandContext.brand":"Brand","chat.brandContext.brandContextSet":"Brand context set","chat.brandContext.brandSet":"Brand set: {name}","chat.brandContext.brandWithName":"Brand · {name}","chat.brandContext.colorAccent":"Accent","chat.brandContext.colorBackground":"Background","chat.brandContext.colorForeground":"Foreground","chat.brandContext.colorPrimary":"Primary","chat.brandContext.colorSecondary":"Secondary","chat.brandContext.colorsSection":"Colors","chat.brandContext.couldNotLoadBrand":"Couldn't load brand","chat.brandContext.couldNotLoadBrands":"Couldn't load brands","chat.brandContext.defaultBadge":"default","chat.brandContext.extractingBrand":"Extracting brand","chat.brandContext.extractionFailed":"Brand extraction failed","chat.brandContext.fromDomain":"from {domain}","chat.brandContext.loadingBrand":"Loading brand","chat.brandContext.loadingBrands":"Loading brands","chat.brandContext.multipleBrands":"{count} brands","chat.brandContext.noBrandsContext":"The organization hasn't set up any brand context.","chat.brandContext.noBrandsYet":"No brands yet","chat.brandContext.oneBrand":"1 brand","chat.brandContext.typographySection":"Typography","chat.brandContext.unknownError":"Unknown error","chat.brandContext.untitled":"Untitled","chat.chat.jumpToLatest":"Jump to latest","chat.chat.loadingOlderMessages":"Loading older messages…","chat.chatContext.activeTaskProviderMissingContext":"ActiveTaskProvider must be used within ChatContextProvider","chat.chatContext.cancelFailedStatus":"Cancel failed: {status}","chat.chatContext.couldNotRemoveOriginalMessage":"Couldn't remove the original message","chat.chatContext.failedToCancel":"Failed to cancel","chat.chatContext.failedToQueueMessage":"Failed to queue message","chat.chatContext.failedToSendEditedMessage":"Failed to send edited message","chat.chatContext.stillSendingPreviousMessage":"Still sending your previous message — try again in a moment","chat.chatContext.useChatPrefsMissingContext":"useChatPrefs must be used within ChatContextProvider","chat.chatContext.useChatStreamMissingContext":"useChatStream must be used within ActiveTaskProvider","chat.chatContext.useChatTaskMissingContext":"useChatTask must be used within ChatContextProvider","chat.collapsibleHighlight.closeLabel":"Close","chat.collapsibleHighlight.closeTitle":"Close","chat.connectionsBanner.description":"Connect tools and get more done","chat.connectionList.connectionNoun":"connections","chat.connectionList.emptySummary":"This organization hasn't connected any MCPs.","chat.connectionList.emptyTitle":"No connections yet","chat.connectionList.errorTitle":"Couldn't load connections","chat.connectionList.loadingTitle":"Loading connections","chat.connectionList.multipleConnections":"{count} connections","chat.connectionList.singleConnection":"1 connection","chat.connectionList.unavailableTitle":"Connection list unavailable","chat.contextPanel.agentLabel":"Agent","chat.contextPanel.assistantPercent":"Assistant {pct}%","chat.contextPanel.contextBreakdownSection":"Context Breakdown","chat.contextPanel.contextLimitLabel":"Context Limit","chat.contextPanel.costLabel":"Cost","chat.contextPanel.emptyState":"Start a conversation to see context","chat.contextPanel.inputTokensLabel":"Input Tokens","chat.contextPanel.lastActivityLabel":"Last Activity","chat.contextPanel.messagesLabel":"Messages","chat.contextPanel.modelLabel":"Model","chat.contextPanel.newChat":"New chat","chat.contextPanel.otherPercent":"Other {pct}%","chat.contextPanel.outputTokensLabel":"Output Tokens","chat.contextPanel.rawMessagesSection":"Raw messages","chat.contextPanel.reasoningTokensLabel":"Reasoning Tokens","chat.contextPanel.requestLabel":"Request","chat.contextPanel.sessionCreatedLabel":"Session Created","chat.contextPanel.sessionLabel":"Session","chat.contextPanel.sessionTokensLabel":"Session Tokens (billed)","chat.contextPanel.subtask":"Subtask","chat.contextPanel.subtasksSection":"Subtasks","chat.contextPanel.systemPromptLabel":"System prompt","chat.contextPanel.title":"Context","chat.contextPanel.tokAbbrev":"tok","chat.contextPanel.toolsActive":"tools active","chat.contextPanel.usageLabel":"Usage","chat.contextPanel.userPercent":"User {pct}%","chat.creditsEmptyState.add":"Add","chat.creditsEmptyState.bestValueLabel":"Best value","chat.creditsEmptyState.description":"Your free credits were used in another workspace. Add credits to use AI here.","chat.creditsEmptyState.enterCustomAmount":"Enter custom amount","chat.creditsEmptyState.opening":"Opening...","chat.creditsEmptyState.popularLabel":"Popular","chat.creditsEmptyState.skipForNow":"Skip for now","chat.creditsEmptyState.starterLabel":"Starter","chat.creditsEmptyState.title":"This workspace has no credits","chat.creditsEmptyState.topUpFailed":"Top-up failed: {message}","chat.creditsEmptyState.useYourOwnProvider":"Use your own provider","chat.creditsExhaustedBanner.add":"Add","chat.creditsExhaustedBanner.benefit1":"Access to 100+ AI models","chat.creditsExhaustedBanner.benefit2":"Unified API, no separate keys needed","chat.creditsExhaustedBanner.benefit3":"Pay only for what you use","chat.creditsExhaustedBanner.customPlaceholder":"50","chat.creditsExhaustedBanner.description":"Your credits are used up. Add more to continue using AI across all your agents.","chat.creditsExhaustedBanner.dismiss":"Dismiss","chat.creditsExhaustedBanner.enterCustom":"Enter custom amount","chat.creditsExhaustedBanner.manageProviders":"Manage providers","chat.creditsExhaustedBanner.opening":"Opening...","chat.creditsExhaustedBanner.tierBestValue":"Best value","chat.creditsExhaustedBanner.tierPopular":"Popular","chat.creditsExhaustedBanner.tierStarter":"Starter","chat.creditsExhaustedBanner.title":"Top up to keep building","chat.creditsExhaustedBanner.topupError":"Top-up failed: {error}","chat.decopilot.back":"Back","chat.decopilot.couldNotFetchModels":"Could not fetch models from this provider.","chat.decopilot.failedToLoadModels":"Failed to load models","chat.decopilot.key":"Key","chat.decopilot.manageApiKeys":"Manage API keys","chat.decopilot.manageModels":"Manage models","chat.decopilot.retry":"Retry","chat.decopilot.searchAllModels":"Search all models...","chat.decopilot.searchForModel":"Search for a model...","chat.decopilot.selectedCount":"{count} selected","chat.decopilot.tierCheaper":"Cheaper","chat.decopilot.tierFaster":"Faster","chat.decopilot.tierOther":"Other","chat.decopilot.tierSmarter":"Smarter","chat.decopilot.tryAnotherProviderOrRetry":"Try another provider or retry.","chat.dialogPromptArguments.cancel":"Cancel","chat.dialogPromptArguments.loading":"Loading...","chat.dialogPromptArguments.optional":"(optional)","chat.dialogPromptArguments.required":"Required","chat.dialogPromptArguments.usePrompt":"Use prompt","chat.generateImage.failed":"Failed","chat.generateImage.generatedImage":"Generated image","chat.generateImage.generatedImageAlt":"Generated image","chat.generateImage.generatingImage":"Generating image","chat.generateImage.imageGeneration":"Image generation","chat.generateImage.imageQueuedGeneratingInBackground":"Image queued — generating in the background","chat.generateImage.noImagesGenerated":"No images generated","chat.generateImage.reference":"reference","chat.generateImage.references":"references:","chat.generic.cancelled":"Cancelled","chat.generic.done":"Done","chat.generic.dynamicTool":"Dynamic Tool","chat.generic.failed":"Failed","chat.generic.failedToLoad":"Failed to load {toolName} app","chat.generic.loadingApp":"Loading app...","chat.generic.openInPanel":"Open in panel","chat.generic.preparing":"Preparing...","chat.generic.retry":"Retry","chat.generic.waitingForApproval":"Waiting for your approval","chat.highlight.continue":"Continue","chat.highlight.copiedToClipboard":"Copied to clipboard","chat.highlight.copy":"Copy","chat.highlight.copyErrorDetails":"Copy error details","chat.highlight.couldNotCopy":"Could not copy","chat.highlight.errorOccurred":"Error occurred","chat.highlight.fixInChat":"Fix in chat","chat.highlight.fixInChatMessage":"I encountered this error: {error}. Can you help me fix it?","chat.highlight.hideTechnicalDetails":"Hide technical details","chat.highlight.implementPlanMessage":`Implement this plan:
131
131
 
132
- {plan}`,"chat.highlight.pleaseContinue":"Please continue.","chat.highlight.responseIncomplete":"Response incomplete","chat.highlight.responseStoppedUnexpectedly":"Response stopped unexpectedly: {reason}","chat.highlight.showTechnicalDetails":"Show technical details","chat.highlight.warningDescriptionContentFilter":"Response was filtered due to content policy.","chat.highlight.warningDescriptionLength":"Response reached the model's output limit. Different models have different limits. Try switching models or asking it to continue.","chat.highlight.warningDescriptionToolCalls":"Response paused after tool execution to prevent infinite loops and save costs. Click continue to keep working.","chat.iceBreakers.allPromptsTitle":"All prompts","chat.iceBreakers.failedToLoadPrompt":"Failed to load prompt. Please try again.","chat.iceBreakers.mcpClientNotAvailable":"MCP client not available","chat.iceBreakers.moreButton":"+{count} more","chat.iceBreakers.noPromptsMatch":'No prompts match "{search}"',"chat.iceBreakers.promptsLabel":"Prompts","chat.iceBreakers.searchPromptsPlaceholder":"Search prompts...","chat.imageLightbox.downloadImage":"Download image","chat.imageLightbox.zoomIn":"Zoom in","chat.imageLightbox.zoomOut":"Zoom out","chat.input.cancelRecording":"Cancel recording","chat.input.cancelRun":"Cancel run","chat.input.createImage":"Create image","chat.input.deepResearch":"Deep research","chat.input.dropFilesHere":"Drop {fileTypes} here","chat.input.microphoneAccessDenied":"Microphone access denied — click to try again","chat.input.modelCannotReadAttachments":"This model can't read attachments — switch to one with vision or file support","chat.input.planMode":"Plan mode","chat.input.codingAgentRequiresDesktop":"Continue this coding-agent chat in the Studio desktop app.","chat.input.fastPreviewUnavailable":"Chat isn't available on Fast Preview projects. Use the CMS to edit content.","chat.fastPreview.chatNeedsSession":"Chat needs a coding sandbox behind it. The session continues on this branch and the CMS keeps working as is.","chat.fastPreview.startCodingSession":"Start coding session","chat.input.readOnlyOthersChat":"Read only - you're viewing someone else's chat","chat.input.readOnlyOthersChatNamed":"Read only - you're viewing {name}'s chat","chat.input.readOnlyThread":"Read only - this chat ran autonomously and takes no replies","chat.input.sendMessage":"Send message","chat.input.sendMessageEnter":"Send message (Enter)","chat.input.stillSendingPreviousMessage":"Still sending your previous message — try again in a moment","chat.input.stopGenerating":"Stop generating","chat.input.useTranscription":"Use transcription","chat.input.voiceInput":"Voice input","chat.input.webSearch":"Web search","chat.input.placeholder":"Ask anything, / for prompts & skills, @ for agents & resources...","chat.markdown.copyAsCSV":"Copy as CSV","chat.markdown.copyCode":"Copy code","chat.markdown.image":"Image","chat.markdown.openFile":"Open file","chat.mentionAt.agentsDescription":"Mention an agent to hand off work","chat.mentionAt.agentsTitle":"Agents","chat.mentionAt.failedToLoadResource":"Failed to load resource. Please try again.","chat.mentionAt.resourcesDescription":"Attach a resource as context","chat.mentionAt.resourcesTitle":"Resources","chat.mentionSlash.failedLoadPrompt":"Failed to load prompt. Please try again.","chat.mentionSlash.failedLoadResource":"Failed to load resource. Please try again.","chat.mentionSlash.failedLoadSkill":"Failed to load skill. Please try again.","chat.mentionSlash.failedUpdatePrompt":"Failed to update prompt. Please try again.","chat.nextActionChip.failedLoadPrompt":"Failed to load prompt. Please try again.","chat.nextActionChip.mcpClientNotAvailable":"MCP client not available","chat.nextActionChip.next":"Next:","chat.nativeAgentEmptyState.agentListLabel":"Coding agents","chat.nativeAgentEmptyState.detected":"detected","chat.nativeAgentEmptyState.detecting":"detecting","chat.nativeAgentEmptyState.heading":"Choose a coding agent","chat.nativeAgentEmptyState.keyboardHint":"↑↓ select · ↵ launch","chat.nativeAgentEmptyState.notDetected":"{label} was not detected on this computer","chat.nativeAgentEmptyState.tryAnyway":"try anyway","chat.nativeTerminal.chooseAgentFirst":"Choose Claude Code, Codex, or OpenCode before sending a message.","chat.nativeTerminal.agentLabel":"coding agent","chat.nativeTerminal.chatClosedBeforePrompt":"The chat closed before your message was sent. Reopen it and try again.","chat.nativeTerminal.connectionFailed":"We couldn't connect to the coding agent. Reopen the chat and try again.","chat.nativeTerminal.emptyPrompt":"Write a message before sending.","chat.nativeTerminal.exited":"Coding agent exited","chat.nativeTerminal.exitedBeforeReady":"The coding agent stopped before it was ready. Reopen the chat and try again.","chat.nativeTerminal.failed":"Terminal error","chat.nativeTerminal.promptFailed":"We couldn't send your message. Try again.","chat.nativeTerminal.promptDeliveryUnknown":"We lost contact after your message was sent. It may already be running, so check the coding agent before sending it again.","chat.nativeTerminal.promptTooLarge":"This message is too large to send. Shorten it and try again.","chat.nativeTerminal.attachmentsUnsupported":"File and image attachments aren't available in coding-agent chats yet.","chat.nativeTerminal.readOnly":"Only the chat owner can open or control its terminal.","chat.nativeTerminal.readOnlyTitle":"Read-only chat","chat.nativeTerminal.reconnectingAgent":"Reconnecting to {agent}…","chat.nativeTerminal.pulseConnected":"connected","chat.nativeTerminal.pulseInitializing":"initializing","chat.nativeTerminal.pulseReconnecting":"reconnecting","chat.nativeTerminal.startingAgent":"Starting {agent}…","chat.nativeTerminal.structuredActionUnsupported":"This action isn't available in coding-agent chats yet.","chat.nativeTerminal.terminalLabel":"Coding agent terminal","chat.nativeTerminal.unsupportedHarness":"This chat was created with an agent that the desktop app doesn't support. Open it in Studio on the web, or update Studio and try again.","chat.nativeTerminal.unsupportedHarnessTitle":"This chat can't be opened in the desktop app","chat.nativeTerminal.unexpectedExit":"The coding agent stopped unexpectedly. Reopen the chat and try again.","chat.nativeTerminal.waitingForAgentOutput":"Waiting for {agent} output…","chat.nativeTerminal.waitingForTerminalDraw":"waiting for the terminal to draw","chat.noAiProviderEmptyState.headingDefault":"Your agents are almost ready","chat.noAiProviderEmptyState.headingWithOrg":"{org} is ready for agents","chat.noAiProviderEmptyState.subtitleDefault":"Connect an AI provider to start chatting.","chat.noAiProviderEmptyState.useLabel":"Use {label}","chat.outputFileRow.download":"Download","chat.outputFileRow.downloadFile":"Download {filename}","chat.outputFileRow.open":"Open","chat.pagination.counter":"{current} of {total}","chat.pagination.nextLabel":"Next question","chat.pagination.previousLabel":"Previous question","chat.proposePlan.approved":"Approved","chat.proposePlan.implementationPlan":"Implementation Plan","chat.proposePlan.keepIterating":"Keep iterating","chat.proposePlan.letsGo":"Let's go","chat.proposePlan.planReady":"Plan ready","chat.proposePlan.preparingPlan":"Preparing plan...","chat.proposePlan.rejected":"Rejected","chat.proposePlan.viewPlan":"View plan","chat.queueTray.queuedMessage":"{count} queued message","chat.queueTray.queuedMessages":"{count} queued messages","chat.queueTray.removeFromQueue":"Remove from queue","chat.queueTray.sendNow":"Send now","chat.runStatus.analyzingScopeDetail":"Working out how to respond","chat.runStatus.analyzingScopeLabel":"Thinking","chat.runStatus.choosingNextStepsDetail":"Deciding what to do next","chat.runStatus.choosingNextStepsLabel":"Thinking","chat.runStatus.gatheringContextDetail":"Looking through the history, files, and notes","chat.runStatus.gatheringContextLabel":"Reading the chat","chat.runStatus.preparingToolsDetail":"Setting up the tools it can use","chat.runStatus.preparingToolsLabel":"Getting ready","chat.runStatus.receivedDetail":"Your message is in line to be worked on","chat.runStatus.receivedLabel":"Message received","chat.runStatus.sendingDetail":"Adding your message to the chat","chat.runStatus.sendingLabel":"Sending your message","chat.runStatus.startingAssistantDetail":"Almost ready to reply","chat.runStatus.startingAssistantLabel":"Warming up","chat.runStatus.startingRunDetail":"Setting up to work on your message","chat.runStatus.startingRunLabel":"Getting started","chat.runStatus.waitingCapacityDetail":"Other runs are using every slot — this one starts as soon as one frees up","chat.runStatus.waitingCapacityLabel":"Waiting for a free runner","chat.runStatus.waitingRunnerDetail":"Finishing up the previous message in this chat","chat.runStatus.waitingRunnerLabel":"Waiting to start","chat.selectModel.selectModel":"Select model","chat.selectVirtualMcp.chooseAgentTooltip":"Choose an agent to chat with","chat.selectVirtualMcp.createAgent":"Create Agent","chat.selectVirtualMcp.creating":"Creating...","chat.selectVirtualMcp.noAgentsFound":"No agents found","chat.selectVirtualMcp.searchPlaceholder":"Search for an agent...","chat.selectVirtualMcp.selectAgent":"Select Agent","chat.shared.approxWords":"~{wordCount} words","chat.shared.capabilityImage":"Image","chat.shared.capabilityReasoning":"Reasoning","chat.shared.capabilityText":"Text","chat.shared.capabilityTools":"Tools","chat.shared.capabilityVision":"Vision","chat.shared.capabilityWebSearch":"Web search","chat.shared.context":"Context","chat.shared.contextLevelLarge":"Large","chat.shared.contextLevelLargeDesc":"Long projects & research","chat.shared.contextLevelMedium":"Medium","chat.shared.contextLevelMediumDesc":"Good for most tasks","chat.shared.contextLevelSmall":"Small","chat.shared.contextLevelSmallDesc":"Short conversations","chat.shared.contextLevelVeryLarge":"Very large","chat.shared.contextLevelVeryLargeDesc":"Massive files & data","chat.shared.contextWindow":"Context window","chat.shared.costLevelCheap":"Cheap","chat.shared.costLevelExpensive":"Expensive","chat.shared.costLevelHigh":"High","chat.shared.costLevelModerate":"Moderate","chat.shared.fileTypeAudio":"audio","chat.shared.fileTypeImages":"images","chat.shared.fileTypeOffice":"Office files","chat.shared.fileTypePdfs":"PDFs","chat.shared.fileTypeVideo":"video","chat.shared.hoverToPreview":"Hover to preview","chat.shared.input":"Input","chat.shared.output":"Output","chat.shared.outputLimit":"Output limit","chat.shared.pricing":"Pricing","chat.shared.selectModel":"Select model","chat.shared.tokens":"tokens","chat.subtask.awaitingApproval":"Awaiting approval...","chat.subtask.completedNoOutput":"Subtask completed (no output).","chat.subtask.completedTitle":"Subtask completed","chat.subtask.errorLabel":"Error","chat.subtask.failedTitle":"Subtask failed","chat.subtask.failedWithError":"Subtask failed: {error}","chat.subtask.flipToBackground":"Run in background","chat.subtask.flipping":"Moving to background…","chat.subtask.noPromptProvided":"No prompt provided","chat.subtask.resultLabel":"Result","chat.subtask.running":"Running…","chat.subtask.runningEllipsis":"Subtask running...","chat.subtask.runningInBackground":"Running in the background…","chat.subtask.startingEllipsis":"Starting subtask...","chat.subtask.stepLimitNoOutput":"[Subtask hit step limit before producing a final report. The subagent did work but ran out of steps. Narrow the task or increase the budget.]","chat.subtask.stepLimitPartial":"[Subtask hit step limit — partial result below; consider narrowing the task.]","chat.subtask.subtaskNoun":"Subtask","chat.subtask.taskLabel":"Task","chat.takeScreenshot.failed":"Failed","chat.takeScreenshot.screenshot":"Screenshot","chat.takeScreenshot.screenshotAlt":"Screenshot","chat.takeScreenshot.taking":"Taking screenshot","chat.takeScreenshot.title":"Take screenshot","chat.textPart.copyMessage":"Copy message","chat.thinkingIndicator.cancel":"Cancel","chat.thinkingIndicator.planningDetail":"Deciding how to approach the request","chat.thinkingIndicator.planningLabel":"Planning next moves","chat.thinkingIndicator.takingLonger":"This is taking longer than usual.","chat.thinkingIndicator.thinking":"Thinking...","chat.thinkingIndicator.thinkingDetail":"Working through the next response","chat.thinkingIndicator.thinkingLabel":"Thinking","chat.thinkingIndicator.thought":"Thought","chat.thinkingIndicator.thoughtFor":"Thought for {duration}","chat.tierTrigger.selected":"Selected","chat.tierTrigger.tierFast":"Fast","chat.tierTrigger.tierSmart":"Smart","chat.tierTrigger.tierThinking":"Thinking","chat.threadsMenu.chats":"Chats","chat.toolsPopover.addFile":"Add file","chat.toolsPopover.approval":"Approval","chat.toolsPopover.connections":"Connections","chat.toolsPopover.createImage":"Create image","chat.toolsPopover.deepResearch":"Deep research","chat.toolsPopover.failedLoadPrompt":"Failed to load prompt. Please try again.","chat.toolsPopover.loadingPrompts":"Loading prompts…","chat.toolsPopover.modelNoFileSupport":"The selected model does not support reading files or images.","chat.toolsPopover.noPromptsAvailable":"No prompts available","chat.toolsPopover.on":"On","chat.toolsPopover.planMode":"Plan mode","chat.toolsPopover.prompts":"Prompts","chat.toolsPopover.tools":"Tools","chat.toolsPopover.webSearch":"Web search","chat.triggerEventPart.triggeredByEvent":"Triggered by event","chat.uploader.accepts":"{modelName} accepts","chat.uploader.cantAttachToChat":"can't be attached to this chat.","chat.uploader.fileTypeNotSupported":"File type not supported","chat.uploader.gotIt":"Got it","chat.userAskQuestion.choiceOptionsAriaLabel":"Choice options","chat.userAskQuestion.confirmNo":"No","chat.userAskQuestion.confirmValue":"Confirm {value}","chat.userAskQuestion.confirmYes":"Yes","chat.userAskQuestion.confirmationOptionsAriaLabel":"Confirmation options","chat.userAskQuestion.customChoiceInputAriaLabel":"Custom choice input","chat.userAskQuestion.preparingQuestion":"Preparing question...","chat.userAskQuestion.question":"Question","chat.userAskQuestion.questionCount":"{current} of {total}","chat.userAskQuestion.questionPending":"Question pending","chat.userAskQuestion.selectOption":"Select {option}","chat.userAskQuestion.skip":"Skip","chat.userAskQuestion.skipMessage":"user has skip this question","chat.userAskQuestion.skippedAnswer":"Skipped","chat.userAskQuestion.somethingElsePlaceholder":"Something else...","chat.userAskQuestion.textResponseInputAriaLabel":"Text response input","chat.userAskQuestion.typeResponse":"Type your response...","chat.webSearch.failed":"Failed","chat.webSearch.researching":"Researching...","chat.webSearch.showLess":"show less","chat.webSearch.showMore":"+{count} more","chat.webSearch.title":"Web search","chat.mention.editPrompt":"Edit {name} prompt arguments","chat.mention.noItemsFound":"No items found","chat.modelPreferences.title":"Your models","chat.modelPreferences.description":"Pick which model each tier uses for you. This only changes your chats — the organization default stays the same.","chat.modelPreferences.customizeModel":"Customize {tier} model","chat.modelPreferences.pickModel":"Pick model","chat.modelPreferences.reset":"Reset","chat.modelPreferences.usingOrgDefault":"Using organization default","chat.modelPreferences.orgDefaultIs":"Organization default: {model}","chat.modelPreferences.autoPicked":"auto-picked","chat.modelPreferences.loadFailed":"Couldn't load your model choices. What you see below may not match what your chats use.","chat.todoStatus.completed":"completed","chat.todoStatus.inProgress":"in progress","chat.todoStatus.pending":"pending","chat.subscriptionLimit.trialLabel":"Subscription required","chat.subscriptionLimit.trialTitle":"This organization used its 3 free auto-task runs. Subscribe to keep going.","chat.subscriptionLimit.monthlyLabel":"Auto-task quota used up","chat.subscriptionLimit.monthlyTitle":"This organization used its auto-task runs for this billing cycle. More become available next cycle.","chat.subscriptionLimit.runsLabel":"Task limit reached","chat.subscriptionLimit.runsTitle":"This task reached its re-run limit. Create a new task to keep going.","chat.subscriptionLimit.subscribeButton":"Subscribe"},Nne={"automations.addStarterPopover.addStarter":"Add Starter","automations.addStarterPopover.customCron":"Custom (cron)","automations.addStarterPopover.event":"Event","automations.addStarterPopover.every":"Every...","automations.addStarterPopover.everyUnit":"Every {unit}","automations.addStarterPopover.failedAddStarter":"Failed to add starter","automations.addStarterPopover.failedAddWebhookStarter":"Failed to add webhook starter","automations.addStarterPopover.starterAdded":"Starter added","automations.addStarterPopover.webhook":"Webhook","automations.addStarterPopover.webhookStarterAdded":"Webhook starter added","automations.automationConfig.all":"All","automations.automationConfig.allTools":"All tools","automations.automationConfig.allToolsEnabled":"All {count} tools enabled","automations.automationConfig.browser":"Browser","automations.automationConfig.builtinCapabilities":"Built-in capabilities","automations.automationConfig.clear":"Clear","automations.automationConfig.connectAiProviderHint":"Connect an AI provider in settings to pick a specific model.","automations.automationConfig.context":"Context","automations.automationConfig.filesCode":"Files & code","automations.automationConfig.loadingModels":"Loading models…","automations.automationConfig.loadingTools":"Loading tools…","automations.automationConfig.modelLabel":"Model","automations.automationConfig.noToolsFound":"No tools found","automations.automationConfig.none":"None","automations.automationConfig.otherTools":"Other tools","automations.automationConfig.pickAgentFirst":"Pick an agent first","automations.automationConfig.pickModelPlaceholder":"Pick a model","automations.automationConfig.searchToolsPlaceholder":"Search tools...","automations.automationConfig.selectAll":"Select all","automations.automationConfig.specificModel":"Specific model","automations.automationConfig.tierFast":"Fast","automations.automationConfig.tierFastSubtitle":"Quick responses for simple tasks","automations.automationConfig.tierSmart":"Smart","automations.automationConfig.tierSmartSubtitle":"Balanced quality and speed","automations.automationConfig.tierThinking":"Thinking","automations.automationConfig.tierThinkingSubtitle":"Deeper reasoning for hard tasks","automations.automationConfig.toolAskUser":"Ask the user","automations.automationConfig.toolAskUserDesc":"Pause to ask the user a clarifying question","automations.automationConfig.toolEditFile":"Edit File","automations.automationConfig.toolEditFileDesc":"Make targeted edits to an existing file","automations.automationConfig.toolFindFiles":"Find Files","automations.automationConfig.toolFindFilesDesc":"Find files by name pattern","automations.automationConfig.toolGenerateImage":"Generate image","automations.automationConfig.toolGenerateImageDesc":"Create images from a text prompt","automations.automationConfig.toolInspectPage":"Inspect Page","automations.automationConfig.toolInspectPageDesc":"Inspect a web page's structure","automations.automationConfig.toolLoadSkill":"Load Skill","automations.automationConfig.toolLoadSkillDesc":"Load a skill's full instructions (SKILL.md) by id","automations.automationConfig.toolReadFile":"Read File","automations.automationConfig.toolReadFileDesc":"Read a file from the workspace","automations.automationConfig.toolReadPrompt":"Read Prompt","automations.automationConfig.toolReadPromptDesc":"Read an MCP prompt definition","automations.automationConfig.toolReadResource":"Read Resource","automations.automationConfig.toolReadResourceDesc":"Read an MCP resource by URI","automations.automationConfig.toolRunCommand":"Run Command","automations.automationConfig.toolRunCommandDesc":"Run shell commands in the sandbox","automations.automationConfig.toolScrapeUrl":"Scrape URL","automations.automationConfig.toolScrapeUrlDesc":"Fetch and extract content from a URL","automations.automationConfig.toolSearchContent":"Search Content","automations.automationConfig.toolSearchContentDesc":"Search file contents by pattern","automations.automationConfig.toolSubtask":"Subtask","automations.automationConfig.toolSubtaskDesc":"Spawn a focused sub-agent to handle part of the work","automations.automationConfig.toolTakeScreenshot":"Take Screenshot","automations.automationConfig.toolTakeScreenshotDesc":"Capture a screenshot of a web page","automations.automationConfig.toolWebSearch":"Web search","automations.automationConfig.toolWebSearchDesc":"Look up current information on the web","automations.automationConfig.toolWriteFile":"Write File","automations.automationConfig.toolWriteFileDesc":"Create or overwrite a file","automations.automationConfig.tools":"Tools","automations.automationConfig.toolsEnabledCount":"{enabled} of {total} enabled","automations.automationConfig.toolsLabel":"Tools","automations.automationDetail.active":"Active","automations.automationDetail.addStarter":"Add a starter","automations.automationDetail.advanced":"Advanced","automations.automationDetail.automationNamePlaceholder":"Automation name","automations.automationDetail.backToList":"Back to list","automations.automationDetail.failedToAddStarter":"Failed to add starter","automations.automationDetail.improve":"Improve","automations.automationDetail.inactive":"Inactive","automations.automationDetail.instructions":"Instructions","automations.automationDetail.instructionsPlaceholder":"What should this automation do?","automations.automationDetail.invalid":"invalid","automations.automationDetail.loadingConnections":"Loading connections...","automations.automationDetail.maxSteps":"Max steps","automations.automationDetail.maxStepsPlaceholder":"{default} (default)","automations.automationDetail.noInstructionsConfigured":"No instructions configured for this automation","automations.automationDetail.starter":"Starter","automations.automationDetail.starterAdded":"Starter added","automations.automationDetail.test":"Test","automations.automationDetail.testAutomation":"Test Automation","automations.automationDetail.toGetGoing":"to get going.","automations.automationDetail.whenShouldRun":"When should this automation run?","automations.automationListRow.ariaActive":"Active","automations.automationListRow.ariaNoTriggers":"No triggers configured","automations.automationListRow.ariaPaused":"Paused","automations.automationListRow.cancel":"Cancel","automations.automationListRow.delete":"Delete","automations.automationListRow.deleteButton":"Delete","automations.automationListRow.deleteDescription":"This removes {name} and all of its triggers. This action cannot be undone.","automations.automationListRow.deleteTitle":"Delete automation?","automations.automationListRow.nextRun":"Next run {date}","automations.automationListRow.noTriggers":"No triggers configured","automations.automationListRow.triggers":"{count} trigger(s)","automations.automationRuns.costHeader":"Cost","automations.automationRuns.costTitle":"Cost","automations.automationRuns.failed":"failed","automations.automationRuns.lastRunsSubtitle":"last {count} runs","automations.automationRuns.loadingMore":"Loading more…","automations.automationRuns.loadingRuns":"Loading runs…","automations.automationRuns.noRunsDescription":"This automation hasn't run yet. Trigger it or wait for a starter to fire.","automations.automationRuns.noRunsTitle":"No runs yet","automations.automationRuns.noStartersDescription":"Add a starter (cron, event, or webhook) to start collecting runs.","automations.automationRuns.noStartersTitle":"No starters yet","automations.automationRuns.ok":"ok","automations.automationRuns.runHeader":"Run","automations.automationRuns.running":"running","automations.automationRuns.runsTitle":"Runs","automations.automationRuns.startedHeader":"Started","automations.automationRuns.statusHeader":"Status","automations.automationRuns.successRateTitle":"Success rate","automations.automationRuns.tokensHeader":"Tokens","automations.automationRuns.tokensTitle":"Tokens","automations.automationsList.emptyDescription":"Create your first automation to run this agent on a schedule or in response to events.","automations.automationsList.emptyTitle":"No automations yet","automations.automationsList.newAutomation":"New automation","automations.automationsList.noResultsDescription":'No automations match "{search}"',"automations.automationsList.noResultsTitle":"No automations found","automations.automationsList.searchPlaceholder":"Search automations...","automations.automationsList.title":"Automations","automations.eventTriggerForm.addTriggerButton":"Add trigger","automations.eventTriggerForm.errorFailed":"Failed to add event trigger","automations.eventTriggerForm.loadingEvents":"Loading events...","automations.eventTriggerForm.noConnectionsWithTrigger":"No connections with trigger support","automations.eventTriggerForm.selectConnectionPlaceholder":"Select connection...","automations.eventTriggerForm.selectEventTypePlaceholder":"Select event type...","automations.eventTriggerForm.selectParamPlaceholder":"Select {key}...","automations.eventTriggerForm.successAdded":"Event trigger added","automations.eventTriggerForm.title":"Event trigger","automations.triggerCard.cancel":"Cancel","automations.triggerCard.confirmRemoveStarter":"Are you sure you want to remove this starter?","automations.triggerCard.every":"Every","automations.triggerCard.failedToRemoveStarter":"Failed to remove starter","automations.triggerCard.failedToUpdateStarter":"Failed to update starter","automations.triggerCard.invalid":"invalid","automations.triggerCard.newWebhookToken":"New webhook token","automations.triggerCard.newWebhookTokenDescription":"The previous token has been revoked. Copy the new token now — it will not be shown again.","automations.triggerCard.remove":"Remove","automations.triggerCard.removeStarter":"Remove Starter","automations.triggerCard.rotate":"Rotate","automations.triggerCard.rotateToken":"Rotate token","automations.triggerCard.rotateWebhookToken":"Rotate webhook token","automations.triggerCard.rotateWebhookTokenDescription":"A new token will be generated and the current token will stop working. Any senders using the old token must be updated.","automations.triggerCard.starterRemoved":"Starter removed","automations.triggerCard.webhookPostToFire":"Webhook · POST to fire","automations.webhookSecretDialog.copied":"Copied","automations.webhookSecretDialog.copy":"Copy","automations.webhookSecretDialog.done":"Done","automations.webhookSecretDialog.failedCopy":"Failed to copy","automations.webhookSecretDialog.snippet":"Snippet","automations.webhookSecretDialog.tokenInUrl":"Token in URL","automations.webhookSecretDialog.tokenLabel":"Token (shown once)","automations.webhookSecretDialog.url":"URL"},Fne={"agentShellLayout.agentShellLayout.runtimeUnavailableOnWeb":"This chat isn't available on the web","agentShellLayout.agentShellLayout.runtimeUnavailableOnWebDescription":"Coding-agent chats run locally in Studio Desktop. Open this chat there to continue.","agentShellLayout.agentShellLayout.agentNotFound":"Agent not found","agentShellLayout.agentShellLayout.agentNotFoundDescription":'The agent "{virtualMcpId}" does not exist in this organization.',"agentShellLayout.agentShellLayout.chatLoadingError":"Something went wrong loading the chat. Try refreshing.","agentShellLayout.agentShellLayout.creatingTask":"Creating task…","agentShellLayout.agentShellLayout.goToOrgHome":"Go to organization home","agentShellLayout.agentShellLayout.nativeRuntimeUnavailable":"The native terminal runtime is unavailable. Restart Studio and try again.","agentShellLayout.agentShellLayout.somethingWentWrong":"Something went wrong. Try refreshing.","agentShellLayout.agentShellLayout.taskUnavailable":"Task unavailable","agentShellLayout.libraryToggle.library":"Library","agentShellLayout.tasksToggle.tasks":"Tasks","agentShellLayout.toggleButtons.hideChat":"Hide chat","agentShellLayout.toggleButtons.hidePanel":"Hide panel","agentShellLayout.toggleButtons.showChat":"Show chat","agentShellLayout.toggleButtons.showPanel":"Show panel","agentShellLayout.toggleButtons.chat":"Chat","agentShellLayout.toolbar.backToHome":"Back to home","agentShellLayout.toolbar.logo":"Logo"},Bne={"admin.layout.adminDashboard":"Admin Dashboard","admin.layout.adminDashboardArea":"the admin dashboard","admin.layout.emailVerificationRequired":"Verify your email address to access the admin dashboard.","admin.layout.goHome":"Go home","admin.layout.organizationsTab":"Organizations","admin.layout.restrictedToDashboard":"This dashboard is restricted to deployment admins.","admin.layout.usersTab":"Users","admin.orgs.addMember":"Add member","admin.orgs.addMemberTo":"Add member to {org}","admin.orgs.adding":"Adding...","admin.orgs.cancel":"Cancel","admin.orgs.created":"Created","admin.orgs.email":"Email","admin.orgs.emailPlaceholder":"user@example.com","admin.orgs.failedAddMember":"Failed to add member","admin.orgs.failedLoadOrgs":"Failed to load organizations","admin.orgs.failedLoadOrgsDescription":"Something went wrong. Refresh to try again.","admin.orgs.memberAdded":"Added {email} to {org}","admin.orgs.members":"Members","admin.orgs.noOrgsFound":"No organizations found","admin.orgs.noOrgsMatchSearch":'No organizations match "{search}"',"admin.orgs.noOrgsYet":"No organizations exist yet.","admin.orgs.organization":"Organization","admin.orgs.searchPlaceholder":"Search organizations by name or slug...","admin.users.columnCreated":"Created","admin.users.columnEmail":"Email","admin.users.columnUser":"User","admin.users.failedToImpersonate":"Failed to impersonate user","admin.users.failedToLoadDescription":"Something went wrong. Refresh to try again.","admin.users.failedToLoadTitle":"Failed to load users","admin.users.impersonate":"Impersonate","admin.users.noUsersFoundTitle":"No users found","admin.users.noUsersMatchSearch":'No users match "{search}"',"admin.users.noUsersYet":"No users yet.","admin.users.searchPlaceholder":"Search users by email or name...","admin.users.unknown":"Unknown","admin.users.unverified":"Unverified","admin.users.verified":"Verified"},jne={"sandbox.appEditor.createdSection":'Created section "{name}"',"sandbox.appEditor.editingBreadcrumb":"Editing breadcrumb","sandbox.appEditor.failedAddSection":"Could not add section","sandbox.appEditor.loadingSchema":"Loading app schema…","sandbox.appEditor.noEditableSchema":"No editable schema found for this app.","sandbox.availableSectionEditor.editingBreadcrumb":"Editing breadcrumb","sandbox.availableSectionEditor.localEditsHint":"{typeLabel} — edits stay local until you save this as a global section.","sandbox.availableSectionEditor.noEditableFields":"No editable fields for this section.","sandbox.availableSectionEditor.saveAsGlobalSection":"Save as global section","sandbox.blockPicker.blocksLabel":"Blocks","sandbox.blockPicker.customBlocksLabel":"Custom blocks","sandbox.blockPicker.insertBlockButton":"Insert block","sandbox.blockPicker.noBlocksFound":"No blocks found.","sandbox.blockPicker.searchPlaceholder":"Search blocks…","sandbox.blockRegistry.unknownBlockType":'Unknown block type{type ? ` (${type})` : ""}.',"sandbox.blockRegistry.writeSomethingPlaceholder":"Write something…","sandbox.blockRow.deleteBlock":"Delete block","sandbox.blockRow.dragToReorder":"Drag to reorder","sandbox.blockRow.duplicateBlock":"Duplicate block","sandbox.bulkCategoryPanel.applyButton":"Apply","sandbox.bulkCategoryPanel.cancelButton":"Cancel","sandbox.bulkCategoryPanel.categoryLabel":"Category","sandbox.bulkCategoryPanel.descriptionEmpty":"Select posts from the list to choose what this update applies to.","sandbox.bulkCategoryPanel.descriptionWithCount":"Choose a category to apply to {count} post(s).","sandbox.bulkCategoryPanel.exitSelection":"Exit selection","sandbox.bulkCategoryPanel.modeAddDescription":"Keep existing categories and add this one.","sandbox.bulkCategoryPanel.modeAddTitle":"Add category","sandbox.bulkCategoryPanel.modeReplaceDescription":"Remove all current categories and set only this one.","sandbox.bulkCategoryPanel.modeReplaceTitle":"Replace category","sandbox.bulkCategoryPanel.noCategoriesMessage":"No categories yet — create one in the Categories collection.","sandbox.bulkCategoryPanel.noPostsSelectedMessage":"No posts selected yet — pick them from the list on the left.","sandbox.bulkCategoryPanel.selectCategoryPlaceholder":"Select a category","sandbox.bulkCategoryPanel.selectedCount":"{count} post(s) selected","sandbox.bulkCategoryPanel.selectedPostsLabel":"{count} selected post(s)","sandbox.bulkCategoryPanel.title":"Update category","sandbox.bulkCategoryPanel.updatingButton":"Updating…","sandbox.categoryEditor.addPostsButton":"Add posts","sandbox.categoryEditor.cancelButton":"Cancel","sandbox.categoryEditor.categoryNamePlaceholder":"Category name","sandbox.categoryEditor.contentTitle":"Content","sandbox.categoryEditor.descriptionLabel":"Description","sandbox.categoryEditor.descriptionPlaceholder":"Short description for this category","sandbox.categoryEditor.noContentEmpty":"This category has no content yet. Use ⊕ to add your first block.","sandbox.categoryEditor.pickPostsTooltip":"Pick posts to add to this category","sandbox.categoryEditor.postsInCategory":"{count} post(s) in this category","sandbox.categoryEditor.previewTooltip":"Open the category preview in a new tab","sandbox.categoryEditor.renameActionButton":"Rename & update posts","sandbox.categoryEditor.renameDialogDescription":'Changing the slug from "{oldSlug}" to "{newSlug}" will update {count} post(s) that reference this category.',"sandbox.categoryEditor.renameDialogTitle":"Rename category slug?","sandbox.categoryEditor.renameFailed":"Rename failed","sandbox.categoryEditor.renameSuccessNoPosts":"Renamed slug","sandbox.categoryEditor.renameSuccessWithPosts":"Renamed slug and updated {count} post(s)","sandbox.categoryEditor.renamingLabel":"Renaming…","sandbox.categoryEditor.seeCategoryPreview":"See category preview","sandbox.categoryEditor.setSlugTooltip":"Set a slug to add posts to this category","sandbox.categoryEditor.slugLabel":"Slug","sandbox.categoryEditor.slugPlaceholder":"my-category","sandbox.categoryEditor.untitledCategory":"Untitled category","sandbox.categoryEditor.untitledPost":"Untitled post","sandbox.collectionsSidebar.actions":"Actions","sandbox.collectionsSidebar.apps":"Apps","sandbox.collectionsSidebar.authors":"Authors","sandbox.collectionsSidebar.blog":"Blog","sandbox.collectionsSidebar.calendar":"Calendar","sandbox.collectionsSidebar.categories":"Categories","sandbox.collectionsSidebar.content":"Content","sandbox.collectionsSidebar.loaders":"Loaders","sandbox.collectionsSidebar.pages":"Pages","sandbox.collectionsSidebar.posts":"Posts","sandbox.collectionsSidebar.redirects":"Redirects","sandbox.collectionsSidebar.sections":"Sections","sandbox.collectionsSidebar.seo":"SEO","sandbox.collectionsSidebar.site":"Site","sandbox.drawer.failedToRestart":"Failed to restart {name}","sandbox.drawer.failedToRun":"Failed to run {name}","sandbox.drawer.failedToStop":"Failed to stop {name}","sandbox.drawer.run":"Run","sandbox.drawer.scriptNotRunning":'Script "{name}" not running',"sandbox.envVarsField.addEnvVar":"Add env var","sandbox.envVarsField.added":"Added {added} var(s)","sandbox.envVarsField.addedWithSkipped":"Added {added} var(s) ({skipped} already existed)","sandbox.envVarsField.allKeysExist":"All {count} key(s) already exist","sandbox.envVarsField.cancel":"Cancel","sandbox.envVarsField.clipboardEmpty":"Clipboard is empty","sandbox.envVarsField.clipboardReadFailed":"Couldn't read clipboard","sandbox.envVarsField.createNewSecret":"Create new secret","sandbox.envVarsField.createNewSecretAriaLabel":"Create new secret","sandbox.envVarsField.createNewSecretDescription":"Stored encrypted in the credential vault. The env var will reference the new secret by id.","sandbox.envVarsField.createNewSecretTitle":"Create new secret","sandbox.envVarsField.description":"Injected into the sandbox on every start. Reference an org/user secret to keep values out of metadata; literals are stored inline.","sandbox.envVarsField.descriptionLabel":"Description (optional)","sandbox.envVarsField.descriptionPlaceholder":"What is this secret used for?","sandbox.envVarsField.envVarKeyLabel":"Env var {index} key","sandbox.envVarsField.envVarValueLabel":"Env var {index} value","sandbox.envVarsField.failedToLoadSecrets":"Failed to load secrets","sandbox.envVarsField.failedToSaveSecret":"Failed to save","sandbox.envVarsField.invalidKeyMessage":"Letters, digits, underscores. Must start with a letter or underscore.","sandbox.envVarsField.keyPlaceholder":"KEY","sandbox.envVarsField.literal":"Literal","sandbox.envVarsField.missingSecret":"Missing secret ({id})","sandbox.envVarsField.nameHelperText":"Letters, digits, underscore, dot, hyphen. Independent of the env var key.","sandbox.envVarsField.nameLabel":"Name","sandbox.envVarsField.namePlaceholder":"STRIPE_API_KEY","sandbox.envVarsField.noSecretsYet":'No secrets yet. Use the "+" to create one.',"sandbox.envVarsField.nothingToAdd":"Nothing to add","sandbox.envVarsField.pasteDotenv":"Paste .env","sandbox.envVarsField.pasteDotenvAriaLabel":"Paste .env","sandbox.envVarsField.pasteDotenvTooltip":"Read a .env blob from the clipboard. Each pair is staged as a literal — save individual rows as secrets after.","sandbox.envVarsField.pickSecretPlaceholder":"Pick a secret…","sandbox.envVarsField.remove":"Remove","sandbox.envVarsField.removeEnvVarAriaLabel":"Remove env var","sandbox.envVarsField.restartDev":"Restart dev","sandbox.envVarsField.restartFailed":"Failed to restart {failed} of {total} branch(es)","sandbox.envVarsField.restartedMultiple":"Restarted {count} branches with new env","sandbox.envVarsField.restartedSingle":"Restarted dev with new env","sandbox.envVarsField.restarting":"Restarting…","sandbox.envVarsField.sandboxRunningNotice":"Your sandbox is running. Restart the dev script to apply the new env.","sandbox.envVarsField.saveAsSecret":"Save value as secret","sandbox.envVarsField.saveAsSecretAriaLabel":"Save value as secret","sandbox.envVarsField.saveSecret":"Save secret","sandbox.envVarsField.saveValueAsSecretDescription":"Move this value into the encrypted vault. The env var will then reference the secret by id — its value never leaves the server.","sandbox.envVarsField.saveValueAsSecretTitle":"Save value as secret","sandbox.envVarsField.saving":"Saving…","sandbox.envVarsField.scopeLabel":"Scope","sandbox.envVarsField.scopeOrganization":"Organization — visible to all members","sandbox.envVarsField.scopePrivate":"Private — only visible to me","sandbox.envVarsField.secret":"Secret","sandbox.envVarsField.secretSaved":'Saved secret "{name}"',"sandbox.envVarsField.secretValuePlaceholder":"secret value","sandbox.envVarsField.title":"Environment variables","sandbox.envVarsField.valueLabel":"Value","sandbox.envVarsField.valuePlaceholder":"value","sandbox.fileExplorer.askTheAiPlaceholder":"Ask the AI...","sandbox.fileExplorer.deleteFailed":"Delete failed","sandbox.fileExplorer.failedToCopyText":"Failed to copy {label}","sandbox.fileExplorer.failedToLoadFolder":"Failed to load folder","sandbox.fileExplorer.failedToOpenFile":"Failed to open file","sandbox.fileExplorer.failedToRefreshFileTree":"Failed to refresh file tree","sandbox.fileExplorer.fileAlreadyExists":'"{name}" already exists',"sandbox.fileExplorer.fileCreated":'Created "{name}"',"sandbox.fileExplorer.fileDeleted":'Deleted "{name}"',"sandbox.fileExplorer.fileListTruncated":"File list truncated — some files may be hidden","sandbox.fileExplorer.files":"Files","sandbox.fileExplorer.folderCreated":'Created folder "{name}"',"sandbox.fileExplorer.folderListingTruncated":"Folder listing truncated — expand again to load more","sandbox.fileExplorer.inFiles":"In files","sandbox.fileExplorer.modified":"Modified","sandbox.fileExplorer.newFile":"New file","sandbox.fileExplorer.newFileLabel":"New file","sandbox.fileExplorer.newFolder":"New folder","sandbox.fileExplorer.newFolderLabel":"New folder","sandbox.fileExplorer.noFileNamesMatch":"No file names match","sandbox.fileExplorer.noFilesFound":"No files found","sandbox.fileExplorer.noMatchesInFileContents":"No matches in file contents","sandbox.fileExplorer.operationFailed":"Operation failed","sandbox.fileExplorer.renamedTo":'Renamed to "{name}"',"sandbox.fileExplorer.saved":"Saved","sandbox.fileExplorer.searchFilesLabel":"Search files","sandbox.fileExplorer.searchFilesPlaceholder":"Search files...","sandbox.fileExplorer.selectFileToEdit":"Select a file to edit","sandbox.fileExplorer.send":"Send","sandbox.fileExplorer.textCopied":"{label} copied","sandbox.fileExplorerDeleteDialog.cancel":"Cancel","sandbox.fileExplorerDeleteDialog.delete":"Delete","sandbox.fileExplorerDeleteDialog.description":"This will permanently delete","sandbox.fileExplorerDeleteDialog.folderSuffix":" and everything inside it.","sandbox.fileExplorerDeleteDialog.titleFile":"Delete file?","sandbox.fileExplorerDeleteDialog.titleFolder":"Delete folder?","sandbox.fileExplorerDeleteDialog.unsavedChangesMany":"{count} open files have unsaved changes that will be lost.","sandbox.fileExplorerDeleteDialog.unsavedChangesOne":"One open file has unsaved changes that will be lost.","sandbox.fileExplorerNameDialog.cancel":"Cancel","sandbox.fileExplorerNameDialog.location":"Location","sandbox.fileExplorerNameDialog.name":"Name","sandbox.fileExplorerNameDialog.newFileDescription":"Enter a name for the new file.","sandbox.fileExplorerNameDialog.newFilePlaceholder":"filename.ts","sandbox.fileExplorerNameDialog.newFileSubmit":"Create","sandbox.fileExplorerNameDialog.newFileTitle":"New File","sandbox.fileExplorerNameDialog.newFolderDescription":"Enter a name for the new folder.","sandbox.fileExplorerNameDialog.newFolderPlaceholder":"folder-name","sandbox.fileExplorerNameDialog.newFolderSubmit":"Create","sandbox.fileExplorerNameDialog.newFolderTitle":"New Folder","sandbox.fileExplorerNameDialog.renameDescription":"Enter a new name for this item.","sandbox.fileExplorerNameDialog.renamePlaceholder":"new-name","sandbox.fileExplorerNameDialog.renameSubmit":"Rename","sandbox.fileExplorerNameDialog.renameTitle":"Rename","sandbox.fileExplorerNameDialog.saving":"Saving…","sandbox.fileTreeRow.copyPath":"Copy Path","sandbox.fileTreeRow.copyRelativePath":"Copy Relative Path","sandbox.fileTreeRow.delete":"Delete","sandbox.fileTreeRow.newFile":"New File","sandbox.fileTreeRow.newFolder":"New Folder","sandbox.fileTreeRow.rename":"Rename","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.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.buttonLabel":"Button label","sandbox.mediaBlocks.calloutText":"Callout text…","sandbox.mediaBlocks.calloutTitle":"Callout title","sandbox.mediaBlocks.destinationUrlPlaceholder":"https://destination-url.com","sandbox.mediaBlocks.divider":"Divider","sandbox.mediaBlocks.fullWidth":"Full width","sandbox.mediaBlocks.image":"Image","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.headingPlaceholder":"Heading","sandbox.plainBlocks.languagePlaceholder":"language","sandbox.plainBlocks.listItemPlaceholder":"List item","sandbox.plainBlocks.numberedLabel":"Numbered","sandbox.plainBlocks.quotePlaceholder":"Quote","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.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.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.publishedLabel":"Published","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.slugLabel":"Slug","sandbox.postEditor.slugPlaceholder":"my-post","sandbox.postEditor.untitledPost":"Untitled post","sandbox.postEditor.valuePlaceholder":"value","sandbox.postToolbar.allPosts":"All posts","sandbox.postToolbar.authorLabel":"Author","sandbox.postToolbar.categoryLabel":"Category","sandbox.postToolbar.clearFilter":"Clear filter","sandbox.postToolbar.deleteSelected":"Delete selected","sandbox.postToolbar.deleteSelectedPosts":"Delete selected posts","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.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.statusDraft":"Draft","sandbox.postToolbar.statusLabel":"Status","sandbox.postToolbar.statusPublished":"Published","sandbox.preview.catchAllParamLabel":"path","sandbox.preview.choosePage":"Choose page","sandbox.preview.clickElementToAsk":"Click any element to ask the AI","sandbox.preview.cms":"CMS","sandbox.preview.collapseTerminal":"Collapse terminal","sandbox.preview.editContent":"Edit content","sandbox.preview.exitEditor":"Exit editor","sandbox.preview.expandTerminal":"Expand terminal","sandbox.preview.resizeTerminal":"Resize terminal","sandbox.preview.copyCurrentUrl":"Copy Current URL","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.editSeo":"Edit SEO","sandbox.preview.enterToGo":"Enter to go","sandbox.preview.failedToCopyUrl":"Failed to copy URL","sandbox.preview.failedToCreatePage":"Failed to create page","sandbox.preview.globalComponents":"Global components","sandbox.preview.globalLoaders":"Global loaders","sandbox.preview.invalidPageBlockKey":"Invalid page block key","sandbox.preview.loaderBadge":"Loader","sandbox.preview.loaderNoLongerExists":"This loader no longer exists.","sandbox.preview.moreOptions":"More options","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.openInCursor":"Open in Cursor","sandbox.preview.openInBrowser":"Open in browser","sandbox.preview.failedToOpenInBrowser":"Couldn't open your browser","sandbox.preview.openInNewTab":"Open in new tab","sandbox.preview.openInVscode":"Open in VSCode","sandbox.preview.pageAlreadyExists":'A page with path "{path}" already exists.',"sandbox.preview.pageCreated":'Page "{name}" created',"sandbox.preview.previewMetadataNotReady":"Preview metadata not ready yet","sandbox.preview.refresh":"Refresh","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.urlCopiedToClipboard":"URL copied to clipboard","sandbox.preview.valueForParam":"Value for {label}","sandbox.preview.viewJson":"View JSON","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.productPickerDialog.typeToSearchPrompt":"Type to search products.","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.optionOrganization":"Organization","sandbox.recordEditor.optionPerson":"Person","sandbox.recordEditor.placeholderEmail":"author@example.com","sandbox.recordEditor.titleAuthor":"Author","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.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":"Preview changes on your preview server instead of the sandbox.","sandbox.cmsSettings.fastPreview.needsPreviewServerUrl":"Set a preview server above to enable Fast Preview.","sandbox.cmsSettings.editing.title":"Editing","sandbox.cmsSettings.editing.description":"Customize the content-editing experience in the blocks form.","sandbox.previewServerUrlField.description":"Your live server's address, used to preview content. Required for Fast Preview.","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 agent. 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.backToList":"Back to list","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.editingBreadcrumb":"Editing breadcrumb","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.savedSectionEditor.editAsJson":"Edit as JSON","sandbox.savedSectionEditor.editingBreadcrumb":"Editing breadcrumb","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.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 agent'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.submoduleCredentialsField.addSubmoduleCredential":"Add submodule credential","sandbox.submoduleCredentialsField.cancel":"Cancel","sandbox.submoduleCredentialsField.createNewSecret":"Create new secret","sandbox.submoduleCredentialsField.createNewSecretAriaLabel":"Create new secret","sandbox.submoduleCredentialsField.createNewSecretDescription":"Stored encrypted in the credential vault. The submodule credential will reference the new secret by id — its value never leaves the server.","sandbox.submoduleCredentialsField.createNewSecretTitle":"Create new secret","sandbox.submoduleCredentialsField.description":"Personal access tokens for cloning private git submodules that live in other repositories. Reference an org/user secret per host; SSH submodule URLs are rewritten to HTTPS so the token applies.","sandbox.submoduleCredentialsField.descriptionLabel":"Description (optional)","sandbox.submoduleCredentialsField.descriptionPlaceholder":"What is this token used for?","sandbox.submoduleCredentialsField.failedToLoadSecrets":"Failed to load secrets","sandbox.submoduleCredentialsField.failedToSaveSecret":"Failed to save","sandbox.submoduleCredentialsField.hostAriaLabel":"Submodule credential {index} host","sandbox.submoduleCredentialsField.hostInvalidMessage":"Bare hostname, e.g. github.com (no scheme or path).","sandbox.submoduleCredentialsField.hostPlaceholder":"github.com","sandbox.submoduleCredentialsField.nameLabel":"Name","sandbox.submoduleCredentialsField.namePlaceholder":"GITHUB_SUBMODULE_PAT","sandbox.submoduleCredentialsField.nameHelperText":"Letters, digits, underscore, dot, hyphen.","sandbox.submoduleCredentialsField.noSecretsYet":'No secrets yet. Use the "+" to create one.',"sandbox.submoduleCredentialsField.pickSecretPlaceholder":"Pick a secret…","sandbox.submoduleCredentialsField.remove":"Remove","sandbox.submoduleCredentialsField.removeAriaLabel":"Remove submodule credential","sandbox.submoduleCredentialsField.saveSecret":"Save secret","sandbox.submoduleCredentialsField.saving":"Saving…","sandbox.submoduleCredentialsField.scopeLabel":"Scope","sandbox.submoduleCredentialsField.scopeOrganization":"Organization — visible to all members","sandbox.submoduleCredentialsField.scopePrivate":"Private — only visible to me","sandbox.submoduleCredentialsField.secretSaved":'Saved secret "{name}"',"sandbox.submoduleCredentialsField.title":"Submodule credentials","sandbox.submoduleCredentialsField.tokenLabel":"Personal access token","sandbox.submoduleCredentialsField.tokenPlaceholder":"ghp_…","sandbox.toolbar.closeTab":"Close {tab}","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"},zne={"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.apiKeys":"API Keys","settings.nav.billing":"Billing & AI","settings.nav.buckets":"Buckets","settings.nav.syncedRepos":"Synced repos","settings.nav.storage":"Storage","settings.nav.advanced":"Advanced","settings.subnav.ariaLabel":"Settings sections","settings.subnav.clients":"Clients","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's visible cards are mirrored — its Backlog tab, epics and sub-tasks are not.","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.mappingLabel":"Column mapping","settings.jira.mappingDescription":"Map the board's columns onto this board's lanes. Columns marked “Don't sync” never appear here.","settings.jira.dontSync":"Don't sync","settings.jira.jqlLabel":"JQL filter (optional)","settings.jira.jqlDescription":"Extra JQL to narrow what syncs — useful to match your Jira board's saved filter. Epics and sub-tasks are always excluded.","settings.jira.jqlPlaceholder":"e.g. labels = storefront AND sprint in openSprints()","settings.jira.jqlSave":"Save filter","settings.jira.jqlSaved":"Filter saved — it applies from the next sync","settings.jira.columnsFailed":"Could not load the board's columns","settings.jira.autoDelegateLabel":"Auto-delegate to the agent","settings.jira.autoDelegateDescription":"When an issue lands in a column mapped to To Do, the Super Agent takes the card and starts working. Its progress is mirrored back onto the issue.","settings.jira.enableLabel":"Sync enabled","settings.jira.enableRequirements":"Pick a project and map at least one status before enabling the sync","settings.jira.lastSynced":"Last synced {ago}","settings.jira.waitingFirstSync":"Waiting for the first sync","settings.jira.syncNow":"Sync now","settings.jira.syncing":"Syncing…","settings.jira.syncDone":"Synced: {created} created, {updated} updated","settings.jira.syncFailed":"Sync failed","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, changes made in Jira reach the board on the next 10-minute sync; with it, they arrive in 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. Changes made in Jira now show up on the board within seconds.","settings.syncedRepos.pageDescription":"GitHub 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 GitHub 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.nav.connections":"Connections","settings.nav.agents":"Agents","settings.nav.automations":"Automations","settings.nav.store":"Store","settings.nav.monitor":"Monitor","settings.nav.members":"Members","settings.nav.security":"Security","settings.nav.profile":"Profile & Preferences","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.updateSuccess":"Profile updated successfully","settings.profile.updateError":"Failed to update profile","settings.preferences.title":"Preferences","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 agents","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.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.activeKeys":"Active keys","settings.connectClients.activeKeysDescription":"Keys you've generated for headless clients. Revoke any time.","settings.connectClients.apiKeyTab":"API key","settings.connectClients.copy":"Copy","settings.connectClients.createdAt":"Created {date}","settings.connectClients.customClientHint":"Wiring a custom client?","settings.connectClients.doneHideKey":"Done, hide key","settings.connectClients.failedToLoadKeys":"Failed to load keys: {error}","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.keyCreated":"Key created","settings.connectClients.keyRevoked":"Key revoked","settings.connectClients.loadingActiveKeys":"Loading active keys…","settings.connectClients.noConnectKeysYet":"No connect keys minted yet. Generate one from a client tab above for headless setups.","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.oauthTab":"OAuth","settings.connectClients.orgUnifiedMcp":"Your org's unified MCP","settings.connectClients.orgUnifiedMcpDescription":"Plug this URL into any MCP client to give that runtime every connection enabled in this org, governed by your Decopilot rules.","settings.connectClients.pageTitle":"Connect to clients","settings.connectClients.revoke":"Revoke","settings.connectClients.revokeConfirm":'Revoke "{name}"? Any client still using this key will lose access.',"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.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.decoCreditsHero.accessModels":"Access to 100+ models","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.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.deny":"Deny","settings.joinRequestsSection.description":"People who requested to join via a domain in approval mode.","settings.joinRequestsSection.title":"Join requests","settings.navigation.title":"Navigation","settings.navigation.description":"How this organization gets around Studio.","settings.navigation.updateError":"Couldn't update navigation settings","settings.navigation.navV2Title":"First-class navigation","settings.navigation.navV2Description":"The sidebar lists destinations (Reports, Library, Tasks) instead of chats, and the chat list moves to the top of the chat panel. On by default for new organizations and report organizations.","settings.orgGeneral.organization":"Organization","settings.mainAgent.title":"Main agent","settings.mainAgent.description":"The agent this organization opens on. Every member lands here instead of the Super Agent.","settings.mainAgent.itemTitle":"Landing agent","settings.mainAgent.itemDescription":"Pick the agent to open when entering this organization.","settings.mainAgent.superAgentOption":"Super Agent (default)","settings.mainAgent.setToast":'"{title}" is now the main agent',"settings.mainAgent.resetToast":"Reset to the Super Agent","settings.mainAgent.errorToast":"Couldn't update the main agent","settings.review.title":"Reviewers & merge","settings.review.description":"Automated reviewers run on a task's pull request once it's In Review (checks passing or none). Both appear as sessions on the task card.","settings.review.qaAgentTitle":"Enable QA Agent","settings.review.qaAgentDescription":"Verifies the task actually solved the problem — exercises the feature, not just the diff.","settings.review.codeReviewerTitle":"Enable Code Reviewer","settings.review.codeReviewerDescription":"Reviews the code using the repository's stack-appropriate review skills.","settings.review.cheapReviewerModelTitle":"Run reviewers on a cheaper model","settings.review.cheapReviewerModelDescription":"The QA Agent and Code Reviewer read a diff and reach a verdict, so they run 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 every enabled reviewer approves, merge the pull request automatically instead of waiting for a human. If a conflict blocks the merge, the Super Agent resolves it first.","settings.review.autoAssignReportTasksTitle":"Auto-assign report tasks to the Super Agent","settings.review.autoAssignReportTasksDescription":"Tasks created from a report are delegated to the Super Agent automatically instead of landing unassigned.","settings.review.updateError":"Couldn't update the setting","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.allModels":"All models","settings.orgRoleDetail.allOrgPermissions":"All organization permissions","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.organizationPermissions":"Organization Permissions","settings.orgRoleDetail.owner":"Owner","settings.orgRoleDetail.ownerMembershipCannotBeChanged":"Owner membership cannot be changed","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.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.orgStore.addRegistry":"Add Registry","settings.orgStore.adding":"Adding...","settings.orgStore.authTokenLabel":"Auth Token","settings.orgStore.authTokenPlaceholder":"Bearer token...","settings.orgStore.cancel":"Cancel","settings.orgStore.communityRegistryDescription":"Community MCP registry with thousands of handy MCPs","settings.orgStore.communityRegistryNotAdded":"Community MCP registry — not yet added","settings.orgStore.communitySection":"Community","settings.orgStore.connectionNotFound":"Connection not found — will be created automatically.","settings.orgStore.decoStoreDescription":"Official deco MCP registry with curated integrations","settings.orgStore.decoStoreName":"Deco Store","settings.orgStore.decoStoreSection":"Deco Store","settings.orgStore.failedAddRegistry":"Failed to add registry: {error}","settings.orgStore.failedLoadStoreSettings":"Failed to load store settings:","settings.orgStore.mcpRegistry":"MCP Registry","settings.orgStore.nameLabel":"Name","settings.orgStore.namePlaceholder":"e.g. Acme Corp Registry","settings.orgStore.optional":"Optional","settings.orgStore.pageTitle":"Store","settings.orgStore.privateMcpRegistry":"Private MCP registry","settings.orgStore.privateRegistriesSection":"Private Registries","settings.orgStore.privateRegistry":"Private Registry","settings.orgStore.privateRegistryAdded":"Private registry added","settings.orgStore.privateRegistryDescription":"Your organization's private MCP registry","settings.orgStore.registryUrlLabel":"Registry URL","settings.orgStore.registryUrlPlaceholder":"https://registry.example.com/mcp","settings.orgStore.remove":"Remove","settings.orgStore.removeRegistry":"Remove this registry?","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.nameTitle":"Name","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.keysCountPlural":"{count} keys","settings.apiKeys.keysCountSingular":"{count} key","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.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.billing.autoTasksTitle":"Auto tasks","settings.billing.unlimitedDescription":"Auto-task runs are unlimited on this deployment. Tasks you create yourself are never limited either.","settings.billing.autoTasksDescriptionTrial":"3 free lifetime runs, then $50/month for 10 runs per billing cycle.","settings.billing.autoTasksDescriptionSubscribed":"10 auto-task runs per billing cycle. Tasks you create yourself are never limited.","settings.billing.statusTrial":"Free trial","settings.billing.statusActive":"Active","settings.billing.statusPastDue":"Payment issue","settings.billing.runsUsedLabel":"runs used","settings.billing.renewsOn":"Renews {date}","settings.billing.subscribeButton":"Subscribe","settings.billing.manageButton":"Manage billing","settings.billing.checkoutError":"Couldn't start checkout: {message}","settings.billing.portalError":"Couldn't open billing portal: {message}","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":"Plan and invoices belong to a single legacy team — narrow the selection to see them.","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 site.","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"},Une={"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.descriptionNative":"An update is ready. Restart the app to finish installing it.","announcements.version.currentSession":"Current session · {version}","announcements.version.refresh":"Refresh now","announcements.version.restart":"Restart to update","announcements.version.restarting":"Restarting…"},$ne={"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"},qne={...ane,...rne,...ine,...sne,...lne,...cne,...une,...dne,...mne,...pne,...hne,...gne,...fne,...vne,...bne,...yne,...Sne,..._ne,...wne,...Cne,...xne,...Ene,...Tne,...kne,...Pne,...Ane,...Rne,...Dne,...One,...Ine,...Mne,...Lne,...Nne,...Fne,...Bne,...jne,...zne,...Une,...$ne};function GB(e,t){return t?e.replace(/\{(\w+)\}/g,(o,n)=>Object.hasOwn(t,n)?String(t[n]):o):e}const Vne={"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 agente, 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.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 agente 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.addConnectionMessage":"Adicione uma conexão acima para configurar visualizações fixadas.","virtualMcp.layoutTabContent.automations":"Automações","virtualMcp.layoutTabContent.chat":"Chat","virtualMcp.layoutTabContent.chatAlwaysShown":"O Chat sempre aparece quando é a visualização padrão","virtualMcp.layoutTabContent.content":"Conteúdo","virtualMcp.layoutTabContent.layout":"Layout","virtualMcp.layoutTabContent.mainView":"Visualização principal","virtualMcp.layoutTabContent.mainViewDescription":"O que os usuários veem quando abrem este agente pela primeira vez.","virtualMcp.layoutTabContent.noInteractiveTools":"Nenhum dos servidores conectados expõe ferramentas interativas.","virtualMcp.layoutTabContent.openCms":"Abrir editor automaticamente","virtualMcp.layoutTabContent.openCmsDescription":"Abrir o CMS automaticamente quando a visualização estiver pronta para editar conteúdo.","virtualMcp.layoutTabContent.pinnedViews":"Visualizações fixadas","virtualMcp.layoutTabContent.pinnedViewsDescription":"Colocar ferramentas interativas como abas de nível superior no agente.","virtualMcp.layoutTabContent.preview":"Visualização","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.subAgentsSection.addSubAgent":"Adicionar sub-agente","virtualMcp.subAgentsSection.anyAgent":"Qualquer agente","virtualMcp.subAgentsSection.canDelegateToAnyAgent":"Pode delegar para qualquer agente na organização.","virtualMcp.subAgentsSection.canOnlyDelegateToItself":"Pode delegar apenas para uma cópia fresca de si mesmo, nenhum outro agente.","virtualMcp.subAgentsSection.emptyStateMessage":"Nenhum sub-agente selecionado ainda. Adicione um — até então, este agente pode delegar apenas para si mesmo.","virtualMcp.subAgentsSection.noAgentsFound":"Nenhum agente encontrado.","virtualMcp.subAgentsSection.onlyItself":"Apenas si mesmo","virtualMcp.subAgentsSection.searchPlaceholder":"Pesquisar agentes...","virtualMcp.subAgentsSection.specificAgents":"Agentes específicos","virtualMcp.subAgentsSection.title":"Sub-agentes","virtualMcp.virtualMcp.addConnection":"Adicionar conexão","virtualMcp.virtualMcp.agentDeleted":'Excluído "{title}"',"virtualMcp.virtualMcp.agentNamePlaceholder":"Nome do agente","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 agente","virtualMcp.virtualMcp.deleteAgentConfirm":"Excluir Agente?","virtualMcp.virtualMcp.deleteAgentConfirmDescription":"Esta ação não pode ser desfeita. Isto excluirá permanentemente {title}.","virtualMcp.virtualMcp.deleteAgentDescription":"Exclua permanentemente este agente 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 agente","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>
132
+ {plan}`,"chat.highlight.pleaseContinue":"Please continue.","chat.highlight.responseIncomplete":"Response incomplete","chat.highlight.responseStoppedUnexpectedly":"Response stopped unexpectedly: {reason}","chat.highlight.showTechnicalDetails":"Show technical details","chat.highlight.warningDescriptionContentFilter":"Response was filtered due to content policy.","chat.highlight.warningDescriptionLength":"Response reached the model's output limit. Different models have different limits. Try switching models or asking it to continue.","chat.highlight.warningDescriptionToolCalls":"Response paused after tool execution to prevent infinite loops and save costs. Click continue to keep working.","chat.iceBreakers.allPromptsTitle":"All prompts","chat.iceBreakers.failedToLoadPrompt":"Failed to load prompt. Please try again.","chat.iceBreakers.mcpClientNotAvailable":"MCP client not available","chat.iceBreakers.moreButton":"+{count} more","chat.iceBreakers.noPromptsMatch":'No prompts match "{search}"',"chat.iceBreakers.promptsLabel":"Prompts","chat.iceBreakers.searchPromptsPlaceholder":"Search prompts...","chat.imageLightbox.downloadImage":"Download image","chat.imageLightbox.zoomIn":"Zoom in","chat.imageLightbox.zoomOut":"Zoom out","chat.input.cancelRecording":"Cancel recording","chat.input.cancelRun":"Cancel run","chat.input.createImage":"Create image","chat.input.deepResearch":"Deep research","chat.input.dropFilesHere":"Drop {fileTypes} here","chat.input.microphoneAccessDenied":"Microphone access denied — click to try again","chat.input.modelCannotReadAttachments":"This model can't read attachments — switch to one with vision or file support","chat.input.planMode":"Plan mode","chat.input.codingAgentRequiresDesktop":"Continue this coding-agent chat in the Studio desktop app.","chat.input.fastPreviewUnavailable":"Chat isn't available on Fast Preview projects. Use the CMS to edit content.","chat.fastPreview.chatNeedsSession":"Chat needs a coding sandbox behind it. The session continues on this branch and the CMS keeps working as is.","chat.fastPreview.startCodingSession":"Start coding session","chat.input.readOnlyOthersChat":"Read only - you're viewing someone else's chat","chat.input.readOnlyOthersChatNamed":"Read only - you're viewing {name}'s chat","chat.input.readOnlyThread":"Read only - this chat ran autonomously and takes no replies","chat.input.sendMessage":"Send message","chat.input.sendMessageEnter":"Send message (Enter)","chat.input.stillSendingPreviousMessage":"Still sending your previous message — try again in a moment","chat.input.stopGenerating":"Stop generating","chat.input.useTranscription":"Use transcription","chat.input.voiceInput":"Voice input","chat.input.webSearch":"Web search","chat.input.placeholder":"Ask anything, / for prompts & skills, @ for agents & resources...","chat.markdown.copyAsCSV":"Copy as CSV","chat.markdown.copyCode":"Copy code","chat.markdown.image":"Image","chat.markdown.openFile":"Open file","chat.mentionAt.agentsDescription":"Mention an agent to hand off work","chat.mentionAt.agentsTitle":"Agents","chat.mentionAt.failedToLoadResource":"Failed to load resource. Please try again.","chat.mentionAt.resourcesDescription":"Attach a resource as context","chat.mentionAt.resourcesTitle":"Resources","chat.mentionSlash.failedLoadPrompt":"Failed to load prompt. Please try again.","chat.mentionSlash.failedLoadResource":"Failed to load resource. Please try again.","chat.mentionSlash.failedLoadSkill":"Failed to load skill. Please try again.","chat.mentionSlash.failedUpdatePrompt":"Failed to update prompt. Please try again.","chat.nextActionChip.failedLoadPrompt":"Failed to load prompt. Please try again.","chat.nextActionChip.mcpClientNotAvailable":"MCP client not available","chat.nextActionChip.next":"Next:","chat.nativeAgentEmptyState.agentListLabel":"Coding agents","chat.nativeAgentEmptyState.detected":"detected","chat.nativeAgentEmptyState.detecting":"detecting","chat.nativeAgentEmptyState.heading":"Choose a coding agent","chat.nativeAgentEmptyState.keyboardHint":"↑↓ select · ↵ launch","chat.nativeAgentEmptyState.notDetected":"{label} was not detected on this computer","chat.nativeAgentEmptyState.tryAnyway":"try anyway","chat.nativeTerminal.chooseAgentFirst":"Choose Claude Code, Codex, or OpenCode before sending a message.","chat.nativeTerminal.agentLabel":"coding agent","chat.nativeTerminal.chatClosedBeforePrompt":"The chat closed before your message was sent. Reopen it and try again.","chat.nativeTerminal.connectionFailed":"We couldn't connect to the coding agent. Reopen the chat and try again.","chat.nativeTerminal.emptyPrompt":"Write a message before sending.","chat.nativeTerminal.exited":"Coding agent exited","chat.nativeTerminal.exitedBeforeReady":"The coding agent stopped before it was ready. Reopen the chat and try again.","chat.nativeTerminal.failed":"Terminal error","chat.nativeTerminal.promptFailed":"We couldn't send your message. Try again.","chat.nativeTerminal.promptDeliveryUnknown":"We lost contact after your message was sent. It may already be running, so check the coding agent before sending it again.","chat.nativeTerminal.promptTooLarge":"This message is too large to send. Shorten it and try again.","chat.nativeTerminal.attachmentsUnsupported":"File and image attachments aren't available in coding-agent chats yet.","chat.nativeTerminal.readOnly":"Only the chat owner can open or control its terminal.","chat.nativeTerminal.readOnlyTitle":"Read-only chat","chat.nativeTerminal.reconnectingAgent":"Reconnecting to {agent}…","chat.nativeTerminal.pulseConnected":"connected","chat.nativeTerminal.pulseInitializing":"initializing","chat.nativeTerminal.pulseReconnecting":"reconnecting","chat.nativeTerminal.startingAgent":"Starting {agent}…","chat.nativeTerminal.structuredActionUnsupported":"This action isn't available in coding-agent chats yet.","chat.nativeTerminal.terminalLabel":"Coding agent terminal","chat.nativeTerminal.unsupportedHarness":"This chat was created with an agent that the desktop app doesn't support. Open it in Studio on the web, or update Studio and try again.","chat.nativeTerminal.unsupportedHarnessTitle":"This chat can't be opened in the desktop app","chat.nativeTerminal.unexpectedExit":"The coding agent stopped unexpectedly. Reopen the chat and try again.","chat.nativeTerminal.waitingForAgentOutput":"Waiting for {agent} output…","chat.nativeTerminal.waitingForTerminalDraw":"waiting for the terminal to draw","chat.noAiProviderEmptyState.headingDefault":"Your agents are almost ready","chat.noAiProviderEmptyState.headingWithOrg":"{org} is ready for agents","chat.noAiProviderEmptyState.subtitleDefault":"Connect an AI provider to start chatting.","chat.noAiProviderEmptyState.useLabel":"Use {label}","chat.outputFileRow.download":"Download","chat.outputFileRow.downloadFile":"Download {filename}","chat.outputFileRow.open":"Open","chat.pagination.counter":"{current} of {total}","chat.pagination.nextLabel":"Next question","chat.pagination.previousLabel":"Previous question","chat.proposePlan.approved":"Approved","chat.proposePlan.implementationPlan":"Implementation Plan","chat.proposePlan.keepIterating":"Keep iterating","chat.proposePlan.letsGo":"Let's go","chat.proposePlan.planReady":"Plan ready","chat.proposePlan.preparingPlan":"Preparing plan...","chat.proposePlan.rejected":"Rejected","chat.proposePlan.viewPlan":"View plan","chat.queueTray.queuedMessage":"{count} queued message","chat.queueTray.queuedMessages":"{count} queued messages","chat.queueTray.removeFromQueue":"Remove from queue","chat.queueTray.sendNow":"Send now","chat.runStatus.analyzingScopeDetail":"Working out how to respond","chat.runStatus.analyzingScopeLabel":"Thinking","chat.runStatus.choosingNextStepsDetail":"Deciding what to do next","chat.runStatus.choosingNextStepsLabel":"Thinking","chat.runStatus.gatheringContextDetail":"Looking through the history, files, and notes","chat.runStatus.gatheringContextLabel":"Reading the chat","chat.runStatus.preparingToolsDetail":"Setting up the tools it can use","chat.runStatus.preparingToolsLabel":"Getting ready","chat.runStatus.receivedDetail":"Your message is in line to be worked on","chat.runStatus.receivedLabel":"Message received","chat.runStatus.sendingDetail":"Adding your message to the chat","chat.runStatus.sendingLabel":"Sending your message","chat.runStatus.startingAssistantDetail":"Almost ready to reply","chat.runStatus.startingAssistantLabel":"Warming up","chat.runStatus.startingRunDetail":"Setting up to work on your message","chat.runStatus.startingRunLabel":"Getting started","chat.runStatus.waitingCapacityDetail":"Other runs are using every slot — this one starts as soon as one frees up","chat.runStatus.waitingCapacityLabel":"Waiting for a free runner","chat.runStatus.waitingRunnerDetail":"Finishing up the previous message in this chat","chat.runStatus.waitingRunnerLabel":"Waiting to start","chat.selectModel.selectModel":"Select model","chat.selectVirtualMcp.chooseAgentTooltip":"Choose an agent to chat with","chat.selectVirtualMcp.createAgent":"Create Agent","chat.selectVirtualMcp.creating":"Creating...","chat.selectVirtualMcp.noAgentsFound":"No agents found","chat.selectVirtualMcp.searchPlaceholder":"Search for an agent...","chat.selectVirtualMcp.selectAgent":"Select Agent","chat.shared.approxWords":"~{wordCount} words","chat.shared.capabilityImage":"Image","chat.shared.capabilityReasoning":"Reasoning","chat.shared.capabilityText":"Text","chat.shared.capabilityTools":"Tools","chat.shared.capabilityVision":"Vision","chat.shared.capabilityWebSearch":"Web search","chat.shared.context":"Context","chat.shared.contextLevelLarge":"Large","chat.shared.contextLevelLargeDesc":"Long projects & research","chat.shared.contextLevelMedium":"Medium","chat.shared.contextLevelMediumDesc":"Good for most tasks","chat.shared.contextLevelSmall":"Small","chat.shared.contextLevelSmallDesc":"Short conversations","chat.shared.contextLevelVeryLarge":"Very large","chat.shared.contextLevelVeryLargeDesc":"Massive files & data","chat.shared.contextWindow":"Context window","chat.shared.costLevelCheap":"Cheap","chat.shared.costLevelExpensive":"Expensive","chat.shared.costLevelHigh":"High","chat.shared.costLevelModerate":"Moderate","chat.shared.fileTypeAudio":"audio","chat.shared.fileTypeImages":"images","chat.shared.fileTypeOffice":"Office files","chat.shared.fileTypePdfs":"PDFs","chat.shared.fileTypeVideo":"video","chat.shared.hoverToPreview":"Hover to preview","chat.shared.input":"Input","chat.shared.output":"Output","chat.shared.outputLimit":"Output limit","chat.shared.pricing":"Pricing","chat.shared.selectModel":"Select model","chat.shared.tokens":"tokens","chat.subtask.awaitingApproval":"Awaiting approval...","chat.subtask.completedNoOutput":"Subtask completed (no output).","chat.subtask.completedTitle":"Subtask completed","chat.subtask.errorLabel":"Error","chat.subtask.failedTitle":"Subtask failed","chat.subtask.failedWithError":"Subtask failed: {error}","chat.subtask.flipToBackground":"Run in background","chat.subtask.flipping":"Moving to background…","chat.subtask.noPromptProvided":"No prompt provided","chat.subtask.resultLabel":"Result","chat.subtask.running":"Running…","chat.subtask.runningEllipsis":"Subtask running...","chat.subtask.runningInBackground":"Running in the background…","chat.subtask.startingEllipsis":"Starting subtask...","chat.subtask.stepLimitNoOutput":"[Subtask hit step limit before producing a final report. The subagent did work but ran out of steps. Narrow the task or increase the budget.]","chat.subtask.stepLimitPartial":"[Subtask hit step limit — partial result below; consider narrowing the task.]","chat.subtask.subtaskNoun":"Subtask","chat.subtask.taskLabel":"Task","chat.takeScreenshot.failed":"Failed","chat.takeScreenshot.screenshot":"Screenshot","chat.takeScreenshot.screenshotAlt":"Screenshot","chat.takeScreenshot.taking":"Taking screenshot","chat.takeScreenshot.title":"Take screenshot","chat.textPart.copyMessage":"Copy message","chat.thinkingIndicator.cancel":"Cancel","chat.thinkingIndicator.planningDetail":"Deciding how to approach the request","chat.thinkingIndicator.planningLabel":"Planning next moves","chat.thinkingIndicator.takingLonger":"This is taking longer than usual.","chat.thinkingIndicator.thinking":"Thinking...","chat.thinkingIndicator.thinkingDetail":"Working through the next response","chat.thinkingIndicator.thinkingLabel":"Thinking","chat.thinkingIndicator.thought":"Thought","chat.thinkingIndicator.thoughtFor":"Thought for {duration}","chat.tierTrigger.selected":"Selected","chat.tierTrigger.tierFast":"Fast","chat.tierTrigger.tierSmart":"Smart","chat.tierTrigger.tierThinking":"Thinking","chat.threadsMenu.chats":"Chats","chat.toolsPopover.addFile":"Add file","chat.toolsPopover.approval":"Approval","chat.toolsPopover.connections":"Connections","chat.toolsPopover.createImage":"Create image","chat.toolsPopover.deepResearch":"Deep research","chat.toolsPopover.failedLoadPrompt":"Failed to load prompt. Please try again.","chat.toolsPopover.loadingPrompts":"Loading prompts…","chat.toolsPopover.modelNoFileSupport":"The selected model does not support reading files or images.","chat.toolsPopover.noPromptsAvailable":"No prompts available","chat.toolsPopover.on":"On","chat.toolsPopover.planMode":"Plan mode","chat.toolsPopover.prompts":"Prompts","chat.toolsPopover.tools":"Tools","chat.toolsPopover.webSearch":"Web search","chat.triggerEventPart.triggeredByEvent":"Triggered by event","chat.uploader.accepts":"{modelName} accepts","chat.uploader.cantAttachToChat":"can't be attached to this chat.","chat.uploader.fileTypeNotSupported":"File type not supported","chat.uploader.gotIt":"Got it","chat.userAskQuestion.choiceOptionsAriaLabel":"Choice options","chat.userAskQuestion.confirmNo":"No","chat.userAskQuestion.confirmValue":"Confirm {value}","chat.userAskQuestion.confirmYes":"Yes","chat.userAskQuestion.confirmationOptionsAriaLabel":"Confirmation options","chat.userAskQuestion.customChoiceInputAriaLabel":"Custom choice input","chat.userAskQuestion.preparingQuestion":"Preparing question...","chat.userAskQuestion.question":"Question","chat.userAskQuestion.questionCount":"{current} of {total}","chat.userAskQuestion.questionPending":"Question pending","chat.userAskQuestion.selectOption":"Select {option}","chat.userAskQuestion.skip":"Skip","chat.userAskQuestion.skipMessage":"user has skip this question","chat.userAskQuestion.skippedAnswer":"Skipped","chat.userAskQuestion.somethingElsePlaceholder":"Something else...","chat.userAskQuestion.textResponseInputAriaLabel":"Text response input","chat.userAskQuestion.typeResponse":"Type your response...","chat.webSearch.failed":"Failed","chat.webSearch.researching":"Researching...","chat.webSearch.showLess":"show less","chat.webSearch.showMore":"+{count} more","chat.webSearch.title":"Web search","chat.mention.editPrompt":"Edit {name} prompt arguments","chat.mention.noItemsFound":"No items found","chat.modelPreferences.title":"Your models","chat.modelPreferences.description":"Pick which model each tier uses for you. This only changes your chats — the organization default stays the same.","chat.modelPreferences.customizeModel":"Customize {tier} model","chat.modelPreferences.pickModel":"Pick model","chat.modelPreferences.reset":"Reset","chat.modelPreferences.usingOrgDefault":"Using organization default","chat.modelPreferences.orgDefaultIs":"Organization default: {model}","chat.modelPreferences.autoPicked":"auto-picked","chat.modelPreferences.loadFailed":"Couldn't load your model choices. What you see below may not match what your chats use.","chat.todoStatus.completed":"completed","chat.todoStatus.inProgress":"in progress","chat.todoStatus.pending":"pending","chat.subscriptionLimit.trialLabel":"Subscription required","chat.subscriptionLimit.trialTitle":"This organization used its 3 free auto-task runs. Subscribe to keep going.","chat.subscriptionLimit.monthlyLabel":"Auto-task quota used up","chat.subscriptionLimit.monthlyTitle":"This organization used its auto-task runs for this billing cycle. More become available next cycle.","chat.subscriptionLimit.runsLabel":"Task limit reached","chat.subscriptionLimit.runsTitle":"This task reached its re-run limit. Create a new task to keep going.","chat.subscriptionLimit.subscribeButton":"Subscribe"},Nne={"automations.addStarterPopover.addStarter":"Add Starter","automations.addStarterPopover.customCron":"Custom (cron)","automations.addStarterPopover.event":"Event","automations.addStarterPopover.every":"Every...","automations.addStarterPopover.everyUnit":"Every {unit}","automations.addStarterPopover.failedAddStarter":"Failed to add starter","automations.addStarterPopover.failedAddWebhookStarter":"Failed to add webhook starter","automations.addStarterPopover.starterAdded":"Starter added","automations.addStarterPopover.webhook":"Webhook","automations.addStarterPopover.webhookStarterAdded":"Webhook starter added","automations.automationConfig.all":"All","automations.automationConfig.allTools":"All tools","automations.automationConfig.allToolsEnabled":"All {count} tools enabled","automations.automationConfig.browser":"Browser","automations.automationConfig.builtinCapabilities":"Built-in capabilities","automations.automationConfig.clear":"Clear","automations.automationConfig.connectAiProviderHint":"Connect an AI provider in settings to pick a specific model.","automations.automationConfig.context":"Context","automations.automationConfig.filesCode":"Files & code","automations.automationConfig.loadingModels":"Loading models…","automations.automationConfig.loadingTools":"Loading tools…","automations.automationConfig.modelLabel":"Model","automations.automationConfig.noToolsFound":"No tools found","automations.automationConfig.none":"None","automations.automationConfig.otherTools":"Other tools","automations.automationConfig.pickAgentFirst":"Pick an agent first","automations.automationConfig.pickModelPlaceholder":"Pick a model","automations.automationConfig.searchToolsPlaceholder":"Search tools...","automations.automationConfig.selectAll":"Select all","automations.automationConfig.specificModel":"Specific model","automations.automationConfig.tierFast":"Fast","automations.automationConfig.tierFastSubtitle":"Quick responses for simple tasks","automations.automationConfig.tierSmart":"Smart","automations.automationConfig.tierSmartSubtitle":"Balanced quality and speed","automations.automationConfig.tierThinking":"Thinking","automations.automationConfig.tierThinkingSubtitle":"Deeper reasoning for hard tasks","automations.automationConfig.toolAskUser":"Ask the user","automations.automationConfig.toolAskUserDesc":"Pause to ask the user a clarifying question","automations.automationConfig.toolEditFile":"Edit File","automations.automationConfig.toolEditFileDesc":"Make targeted edits to an existing file","automations.automationConfig.toolFindFiles":"Find Files","automations.automationConfig.toolFindFilesDesc":"Find files by name pattern","automations.automationConfig.toolGenerateImage":"Generate image","automations.automationConfig.toolGenerateImageDesc":"Create images from a text prompt","automations.automationConfig.toolInspectPage":"Inspect Page","automations.automationConfig.toolInspectPageDesc":"Inspect a web page's structure","automations.automationConfig.toolLoadSkill":"Load Skill","automations.automationConfig.toolLoadSkillDesc":"Load a skill's full instructions (SKILL.md) by id","automations.automationConfig.toolReadFile":"Read File","automations.automationConfig.toolReadFileDesc":"Read a file from the workspace","automations.automationConfig.toolReadPrompt":"Read Prompt","automations.automationConfig.toolReadPromptDesc":"Read an MCP prompt definition","automations.automationConfig.toolReadResource":"Read Resource","automations.automationConfig.toolReadResourceDesc":"Read an MCP resource by URI","automations.automationConfig.toolRunCommand":"Run Command","automations.automationConfig.toolRunCommandDesc":"Run shell commands in the sandbox","automations.automationConfig.toolScrapeUrl":"Scrape URL","automations.automationConfig.toolScrapeUrlDesc":"Fetch and extract content from a URL","automations.automationConfig.toolSearchContent":"Search Content","automations.automationConfig.toolSearchContentDesc":"Search file contents by pattern","automations.automationConfig.toolSubtask":"Subtask","automations.automationConfig.toolSubtaskDesc":"Spawn a focused sub-agent to handle part of the work","automations.automationConfig.toolTakeScreenshot":"Take Screenshot","automations.automationConfig.toolTakeScreenshotDesc":"Capture a screenshot of a web page","automations.automationConfig.toolWebSearch":"Web search","automations.automationConfig.toolWebSearchDesc":"Look up current information on the web","automations.automationConfig.toolWriteFile":"Write File","automations.automationConfig.toolWriteFileDesc":"Create or overwrite a file","automations.automationConfig.tools":"Tools","automations.automationConfig.toolsEnabledCount":"{enabled} of {total} enabled","automations.automationConfig.toolsLabel":"Tools","automations.automationDetail.active":"Active","automations.automationDetail.addStarter":"Add a starter","automations.automationDetail.advanced":"Advanced","automations.automationDetail.automationNamePlaceholder":"Automation name","automations.automationDetail.backToList":"Back to list","automations.automationDetail.failedToAddStarter":"Failed to add starter","automations.automationDetail.improve":"Improve","automations.automationDetail.inactive":"Inactive","automations.automationDetail.instructions":"Instructions","automations.automationDetail.instructionsPlaceholder":"What should this automation do?","automations.automationDetail.invalid":"invalid","automations.automationDetail.loadingConnections":"Loading connections...","automations.automationDetail.maxSteps":"Max steps","automations.automationDetail.maxStepsPlaceholder":"{default} (default)","automations.automationDetail.noInstructionsConfigured":"No instructions configured for this automation","automations.automationDetail.starter":"Starter","automations.automationDetail.starterAdded":"Starter added","automations.automationDetail.test":"Test","automations.automationDetail.testAutomation":"Test Automation","automations.automationDetail.toGetGoing":"to get going.","automations.automationDetail.whenShouldRun":"When should this automation run?","automations.automationListRow.ariaActive":"Active","automations.automationListRow.ariaNoTriggers":"No triggers configured","automations.automationListRow.ariaPaused":"Paused","automations.automationListRow.cancel":"Cancel","automations.automationListRow.delete":"Delete","automations.automationListRow.deleteButton":"Delete","automations.automationListRow.deleteDescription":"This removes {name} and all of its triggers. This action cannot be undone.","automations.automationListRow.deleteTitle":"Delete automation?","automations.automationListRow.nextRun":"Next run {date}","automations.automationListRow.noTriggers":"No triggers configured","automations.automationListRow.triggers":"{count} trigger(s)","automations.automationRuns.costHeader":"Cost","automations.automationRuns.costTitle":"Cost","automations.automationRuns.failed":"failed","automations.automationRuns.lastRunsSubtitle":"last {count} runs","automations.automationRuns.loadingMore":"Loading more…","automations.automationRuns.loadingRuns":"Loading runs…","automations.automationRuns.noRunsDescription":"This automation hasn't run yet. Trigger it or wait for a starter to fire.","automations.automationRuns.noRunsTitle":"No runs yet","automations.automationRuns.noStartersDescription":"Add a starter (cron, event, or webhook) to start collecting runs.","automations.automationRuns.noStartersTitle":"No starters yet","automations.automationRuns.ok":"ok","automations.automationRuns.runHeader":"Run","automations.automationRuns.running":"running","automations.automationRuns.runsTitle":"Runs","automations.automationRuns.startedHeader":"Started","automations.automationRuns.statusHeader":"Status","automations.automationRuns.successRateTitle":"Success rate","automations.automationRuns.tokensHeader":"Tokens","automations.automationRuns.tokensTitle":"Tokens","automations.automationsList.emptyDescription":"Create your first automation to run this agent on a schedule or in response to events.","automations.automationsList.emptyTitle":"No automations yet","automations.automationsList.newAutomation":"New automation","automations.automationsList.noResultsDescription":'No automations match "{search}"',"automations.automationsList.noResultsTitle":"No automations found","automations.automationsList.searchPlaceholder":"Search automations...","automations.automationsList.title":"Automations","automations.eventTriggerForm.addTriggerButton":"Add trigger","automations.eventTriggerForm.errorFailed":"Failed to add event trigger","automations.eventTriggerForm.loadingEvents":"Loading events...","automations.eventTriggerForm.noConnectionsWithTrigger":"No connections with trigger support","automations.eventTriggerForm.selectConnectionPlaceholder":"Select connection...","automations.eventTriggerForm.selectEventTypePlaceholder":"Select event type...","automations.eventTriggerForm.selectParamPlaceholder":"Select {key}...","automations.eventTriggerForm.successAdded":"Event trigger added","automations.eventTriggerForm.title":"Event trigger","automations.triggerCard.cancel":"Cancel","automations.triggerCard.confirmRemoveStarter":"Are you sure you want to remove this starter?","automations.triggerCard.every":"Every","automations.triggerCard.failedToRemoveStarter":"Failed to remove starter","automations.triggerCard.failedToUpdateStarter":"Failed to update starter","automations.triggerCard.invalid":"invalid","automations.triggerCard.newWebhookToken":"New webhook token","automations.triggerCard.newWebhookTokenDescription":"The previous token has been revoked. Copy the new token now — it will not be shown again.","automations.triggerCard.remove":"Remove","automations.triggerCard.removeStarter":"Remove Starter","automations.triggerCard.rotate":"Rotate","automations.triggerCard.rotateToken":"Rotate token","automations.triggerCard.rotateWebhookToken":"Rotate webhook token","automations.triggerCard.rotateWebhookTokenDescription":"A new token will be generated and the current token will stop working. Any senders using the old token must be updated.","automations.triggerCard.starterRemoved":"Starter removed","automations.triggerCard.webhookPostToFire":"Webhook · POST to fire","automations.webhookSecretDialog.copied":"Copied","automations.webhookSecretDialog.copy":"Copy","automations.webhookSecretDialog.done":"Done","automations.webhookSecretDialog.failedCopy":"Failed to copy","automations.webhookSecretDialog.snippet":"Snippet","automations.webhookSecretDialog.tokenInUrl":"Token in URL","automations.webhookSecretDialog.tokenLabel":"Token (shown once)","automations.webhookSecretDialog.url":"URL"},Fne={"agentShellLayout.agentShellLayout.runtimeUnavailableOnWeb":"This chat isn't available on the web","agentShellLayout.agentShellLayout.runtimeUnavailableOnWebDescription":"Coding-agent chats run locally in Studio Desktop. Open this chat there to continue.","agentShellLayout.agentShellLayout.agentNotFound":"Agent not found","agentShellLayout.agentShellLayout.agentNotFoundDescription":'The agent "{virtualMcpId}" does not exist in this organization.',"agentShellLayout.agentShellLayout.chatLoadingError":"Something went wrong loading the chat. Try refreshing.","agentShellLayout.agentShellLayout.creatingTask":"Creating task…","agentShellLayout.agentShellLayout.goToOrgHome":"Go to organization home","agentShellLayout.agentShellLayout.nativeRuntimeUnavailable":"The native terminal runtime is unavailable. Restart Studio and try again.","agentShellLayout.agentShellLayout.somethingWentWrong":"Something went wrong. Try refreshing.","agentShellLayout.agentShellLayout.taskUnavailable":"Task unavailable","agentShellLayout.libraryToggle.library":"Library","agentShellLayout.tasksToggle.tasks":"Tasks","agentShellLayout.toggleButtons.hideChat":"Hide chat","agentShellLayout.toggleButtons.hidePanel":"Hide panel","agentShellLayout.toggleButtons.showChat":"Show chat","agentShellLayout.toggleButtons.showPanel":"Show panel","agentShellLayout.toggleButtons.chat":"Chat","agentShellLayout.toolbar.backToHome":"Back to home","agentShellLayout.toolbar.logo":"Logo"},Bne={"admin.layout.adminDashboard":"Admin Dashboard","admin.layout.adminDashboardArea":"the admin dashboard","admin.layout.emailVerificationRequired":"Verify your email address to access the admin dashboard.","admin.layout.goHome":"Go home","admin.layout.organizationsTab":"Organizations","admin.layout.restrictedToDashboard":"This dashboard is restricted to deployment admins.","admin.layout.usersTab":"Users","admin.orgs.addMember":"Add member","admin.orgs.addMemberTo":"Add member to {org}","admin.orgs.adding":"Adding...","admin.orgs.cancel":"Cancel","admin.orgs.created":"Created","admin.orgs.email":"Email","admin.orgs.emailPlaceholder":"user@example.com","admin.orgs.failedAddMember":"Failed to add member","admin.orgs.failedLoadOrgs":"Failed to load organizations","admin.orgs.failedLoadOrgsDescription":"Something went wrong. Refresh to try again.","admin.orgs.memberAdded":"Added {email} to {org}","admin.orgs.members":"Members","admin.orgs.noOrgsFound":"No organizations found","admin.orgs.noOrgsMatchSearch":'No organizations match "{search}"',"admin.orgs.noOrgsYet":"No organizations exist yet.","admin.orgs.organization":"Organization","admin.orgs.searchPlaceholder":"Search organizations by name or slug...","admin.users.columnCreated":"Created","admin.users.columnEmail":"Email","admin.users.columnUser":"User","admin.users.failedToImpersonate":"Failed to impersonate user","admin.users.failedToLoadDescription":"Something went wrong. Refresh to try again.","admin.users.failedToLoadTitle":"Failed to load users","admin.users.impersonate":"Impersonate","admin.users.noUsersFoundTitle":"No users found","admin.users.noUsersMatchSearch":'No users match "{search}"',"admin.users.noUsersYet":"No users yet.","admin.users.searchPlaceholder":"Search users by email or name...","admin.users.unknown":"Unknown","admin.users.unverified":"Unverified","admin.users.verified":"Verified"},jne={"sandbox.appEditor.createdSection":'Created section "{name}"',"sandbox.appEditor.editingBreadcrumb":"Editing breadcrumb","sandbox.appEditor.failedAddSection":"Could not add section","sandbox.appEditor.loadingSchema":"Loading app schema…","sandbox.appEditor.noEditableSchema":"No editable schema found for this app.","sandbox.availableSectionEditor.editingBreadcrumb":"Editing breadcrumb","sandbox.availableSectionEditor.localEditsHint":"{typeLabel} — edits stay local until you save this as a global section.","sandbox.availableSectionEditor.noEditableFields":"No editable fields for this section.","sandbox.availableSectionEditor.saveAsGlobalSection":"Save as global section","sandbox.blockPicker.blocksLabel":"Blocks","sandbox.blockPicker.customBlocksLabel":"Custom blocks","sandbox.blockPicker.insertBlockButton":"Insert block","sandbox.blockPicker.noBlocksFound":"No blocks found.","sandbox.blockPicker.searchPlaceholder":"Search blocks…","sandbox.blockRegistry.unknownBlockType":'Unknown block type{type ? ` (${type})` : ""}.',"sandbox.blockRegistry.writeSomethingPlaceholder":"Write something…","sandbox.blockRow.deleteBlock":"Delete block","sandbox.blockRow.dragToReorder":"Drag to reorder","sandbox.blockRow.duplicateBlock":"Duplicate block","sandbox.bulkCategoryPanel.applyButton":"Apply","sandbox.bulkCategoryPanel.cancelButton":"Cancel","sandbox.bulkCategoryPanel.categoryLabel":"Category","sandbox.bulkCategoryPanel.descriptionEmpty":"Select posts from the list to choose what this update applies to.","sandbox.bulkCategoryPanel.descriptionWithCount":"Choose a category to apply to {count} post(s).","sandbox.bulkCategoryPanel.exitSelection":"Exit selection","sandbox.bulkCategoryPanel.modeAddDescription":"Keep existing categories and add this one.","sandbox.bulkCategoryPanel.modeAddTitle":"Add category","sandbox.bulkCategoryPanel.modeReplaceDescription":"Remove all current categories and set only this one.","sandbox.bulkCategoryPanel.modeReplaceTitle":"Replace category","sandbox.bulkCategoryPanel.noCategoriesMessage":"No categories yet — create one in the Categories collection.","sandbox.bulkCategoryPanel.noPostsSelectedMessage":"No posts selected yet — pick them from the list on the left.","sandbox.bulkCategoryPanel.selectCategoryPlaceholder":"Select a category","sandbox.bulkCategoryPanel.selectedCount":"{count} post(s) selected","sandbox.bulkCategoryPanel.selectedPostsLabel":"{count} selected post(s)","sandbox.bulkCategoryPanel.title":"Update category","sandbox.bulkCategoryPanel.updatingButton":"Updating…","sandbox.categoryEditor.addPostsButton":"Add posts","sandbox.categoryEditor.cancelButton":"Cancel","sandbox.categoryEditor.categoryNamePlaceholder":"Category name","sandbox.categoryEditor.contentTitle":"Content","sandbox.categoryEditor.descriptionLabel":"Description","sandbox.categoryEditor.descriptionPlaceholder":"Short description for this category","sandbox.categoryEditor.noContentEmpty":"This category has no content yet. Use ⊕ to add your first block.","sandbox.categoryEditor.pickPostsTooltip":"Pick posts to add to this category","sandbox.categoryEditor.postsInCategory":"{count} post(s) in this category","sandbox.categoryEditor.previewTooltip":"Open the category preview in a new tab","sandbox.categoryEditor.renameActionButton":"Rename & update posts","sandbox.categoryEditor.renameDialogDescription":'Changing the slug from "{oldSlug}" to "{newSlug}" will update {count} post(s) that reference this category.',"sandbox.categoryEditor.renameDialogTitle":"Rename category slug?","sandbox.categoryEditor.renameFailed":"Rename failed","sandbox.categoryEditor.renameSuccessNoPosts":"Renamed slug","sandbox.categoryEditor.renameSuccessWithPosts":"Renamed slug and updated {count} post(s)","sandbox.categoryEditor.renamingLabel":"Renaming…","sandbox.categoryEditor.seeCategoryPreview":"See category preview","sandbox.categoryEditor.setSlugTooltip":"Set a slug to add posts to this category","sandbox.categoryEditor.slugLabel":"Slug","sandbox.categoryEditor.slugPlaceholder":"my-category","sandbox.categoryEditor.untitledCategory":"Untitled category","sandbox.categoryEditor.untitledPost":"Untitled post","sandbox.collectionsSidebar.actions":"Actions","sandbox.collectionsSidebar.apps":"Apps","sandbox.collectionsSidebar.authors":"Authors","sandbox.collectionsSidebar.blog":"Blog","sandbox.collectionsSidebar.calendar":"Calendar","sandbox.collectionsSidebar.categories":"Categories","sandbox.collectionsSidebar.content":"Content","sandbox.collectionsSidebar.loaders":"Loaders","sandbox.collectionsSidebar.pages":"Pages","sandbox.collectionsSidebar.posts":"Posts","sandbox.collectionsSidebar.redirects":"Redirects","sandbox.collectionsSidebar.sections":"Sections","sandbox.collectionsSidebar.seo":"SEO","sandbox.collectionsSidebar.site":"Site","sandbox.drawer.failedToRestart":"Failed to restart {name}","sandbox.drawer.failedToRun":"Failed to run {name}","sandbox.drawer.failedToStop":"Failed to stop {name}","sandbox.drawer.run":"Run","sandbox.drawer.scriptNotRunning":'Script "{name}" not running',"sandbox.envVarsField.addEnvVar":"Add env var","sandbox.envVarsField.added":"Added {added} var(s)","sandbox.envVarsField.addedWithSkipped":"Added {added} var(s) ({skipped} already existed)","sandbox.envVarsField.allKeysExist":"All {count} key(s) already exist","sandbox.envVarsField.cancel":"Cancel","sandbox.envVarsField.clipboardEmpty":"Clipboard is empty","sandbox.envVarsField.clipboardReadFailed":"Couldn't read clipboard","sandbox.envVarsField.createNewSecret":"Create new secret","sandbox.envVarsField.createNewSecretAriaLabel":"Create new secret","sandbox.envVarsField.createNewSecretDescription":"Stored encrypted in the credential vault. The env var will reference the new secret by id.","sandbox.envVarsField.createNewSecretTitle":"Create new secret","sandbox.envVarsField.description":"Injected into the sandbox on every start. Reference an org/user secret to keep values out of metadata; literals are stored inline.","sandbox.envVarsField.descriptionLabel":"Description (optional)","sandbox.envVarsField.descriptionPlaceholder":"What is this secret used for?","sandbox.envVarsField.envVarKeyLabel":"Env var {index} key","sandbox.envVarsField.envVarValueLabel":"Env var {index} value","sandbox.envVarsField.failedToLoadSecrets":"Failed to load secrets","sandbox.envVarsField.failedToSaveSecret":"Failed to save","sandbox.envVarsField.invalidKeyMessage":"Letters, digits, underscores. Must start with a letter or underscore.","sandbox.envVarsField.keyPlaceholder":"KEY","sandbox.envVarsField.literal":"Literal","sandbox.envVarsField.missingSecret":"Missing secret ({id})","sandbox.envVarsField.nameHelperText":"Letters, digits, underscore, dot, hyphen. Independent of the env var key.","sandbox.envVarsField.nameLabel":"Name","sandbox.envVarsField.namePlaceholder":"STRIPE_API_KEY","sandbox.envVarsField.noSecretsYet":'No secrets yet. Use the "+" to create one.',"sandbox.envVarsField.nothingToAdd":"Nothing to add","sandbox.envVarsField.pasteDotenv":"Paste .env","sandbox.envVarsField.pasteDotenvAriaLabel":"Paste .env","sandbox.envVarsField.pasteDotenvTooltip":"Read a .env blob from the clipboard. Each pair is staged as a literal — save individual rows as secrets after.","sandbox.envVarsField.pickSecretPlaceholder":"Pick a secret…","sandbox.envVarsField.remove":"Remove","sandbox.envVarsField.removeEnvVarAriaLabel":"Remove env var","sandbox.envVarsField.restartDev":"Restart dev","sandbox.envVarsField.restartFailed":"Failed to restart {failed} of {total} branch(es)","sandbox.envVarsField.restartedMultiple":"Restarted {count} branches with new env","sandbox.envVarsField.restartedSingle":"Restarted dev with new env","sandbox.envVarsField.restarting":"Restarting…","sandbox.envVarsField.sandboxRunningNotice":"Your sandbox is running. Restart the dev script to apply the new env.","sandbox.envVarsField.saveAsSecret":"Save value as secret","sandbox.envVarsField.saveAsSecretAriaLabel":"Save value as secret","sandbox.envVarsField.saveSecret":"Save secret","sandbox.envVarsField.saveValueAsSecretDescription":"Move this value into the encrypted vault. The env var will then reference the secret by id — its value never leaves the server.","sandbox.envVarsField.saveValueAsSecretTitle":"Save value as secret","sandbox.envVarsField.saving":"Saving…","sandbox.envVarsField.scopeLabel":"Scope","sandbox.envVarsField.scopeOrganization":"Organization — visible to all members","sandbox.envVarsField.scopePrivate":"Private — only visible to me","sandbox.envVarsField.secret":"Secret","sandbox.envVarsField.secretSaved":'Saved secret "{name}"',"sandbox.envVarsField.secretValuePlaceholder":"secret value","sandbox.envVarsField.title":"Environment variables","sandbox.envVarsField.valueLabel":"Value","sandbox.envVarsField.valuePlaceholder":"value","sandbox.fileExplorer.askTheAiPlaceholder":"Ask the AI...","sandbox.fileExplorer.deleteFailed":"Delete failed","sandbox.fileExplorer.failedToCopyText":"Failed to copy {label}","sandbox.fileExplorer.failedToLoadFolder":"Failed to load folder","sandbox.fileExplorer.failedToOpenFile":"Failed to open file","sandbox.fileExplorer.failedToRefreshFileTree":"Failed to refresh file tree","sandbox.fileExplorer.fileAlreadyExists":'"{name}" already exists',"sandbox.fileExplorer.fileCreated":'Created "{name}"',"sandbox.fileExplorer.fileDeleted":'Deleted "{name}"',"sandbox.fileExplorer.fileListTruncated":"File list truncated — some files may be hidden","sandbox.fileExplorer.files":"Files","sandbox.fileExplorer.folderCreated":'Created folder "{name}"',"sandbox.fileExplorer.folderListingTruncated":"Folder listing truncated — expand again to load more","sandbox.fileExplorer.inFiles":"In files","sandbox.fileExplorer.modified":"Modified","sandbox.fileExplorer.newFile":"New file","sandbox.fileExplorer.newFileLabel":"New file","sandbox.fileExplorer.newFolder":"New folder","sandbox.fileExplorer.newFolderLabel":"New folder","sandbox.fileExplorer.noFileNamesMatch":"No file names match","sandbox.fileExplorer.noFilesFound":"No files found","sandbox.fileExplorer.noMatchesInFileContents":"No matches in file contents","sandbox.fileExplorer.operationFailed":"Operation failed","sandbox.fileExplorer.renamedTo":'Renamed to "{name}"',"sandbox.fileExplorer.saved":"Saved","sandbox.fileExplorer.searchFilesLabel":"Search files","sandbox.fileExplorer.searchFilesPlaceholder":"Search files...","sandbox.fileExplorer.selectFileToEdit":"Select a file to edit","sandbox.fileExplorer.send":"Send","sandbox.fileExplorer.textCopied":"{label} copied","sandbox.fileExplorerDeleteDialog.cancel":"Cancel","sandbox.fileExplorerDeleteDialog.delete":"Delete","sandbox.fileExplorerDeleteDialog.description":"This will permanently delete","sandbox.fileExplorerDeleteDialog.folderSuffix":" and everything inside it.","sandbox.fileExplorerDeleteDialog.titleFile":"Delete file?","sandbox.fileExplorerDeleteDialog.titleFolder":"Delete folder?","sandbox.fileExplorerDeleteDialog.unsavedChangesMany":"{count} open files have unsaved changes that will be lost.","sandbox.fileExplorerDeleteDialog.unsavedChangesOne":"One open file has unsaved changes that will be lost.","sandbox.fileExplorerNameDialog.cancel":"Cancel","sandbox.fileExplorerNameDialog.location":"Location","sandbox.fileExplorerNameDialog.name":"Name","sandbox.fileExplorerNameDialog.newFileDescription":"Enter a name for the new file.","sandbox.fileExplorerNameDialog.newFilePlaceholder":"filename.ts","sandbox.fileExplorerNameDialog.newFileSubmit":"Create","sandbox.fileExplorerNameDialog.newFileTitle":"New File","sandbox.fileExplorerNameDialog.newFolderDescription":"Enter a name for the new folder.","sandbox.fileExplorerNameDialog.newFolderPlaceholder":"folder-name","sandbox.fileExplorerNameDialog.newFolderSubmit":"Create","sandbox.fileExplorerNameDialog.newFolderTitle":"New Folder","sandbox.fileExplorerNameDialog.renameDescription":"Enter a new name for this item.","sandbox.fileExplorerNameDialog.renamePlaceholder":"new-name","sandbox.fileExplorerNameDialog.renameSubmit":"Rename","sandbox.fileExplorerNameDialog.renameTitle":"Rename","sandbox.fileExplorerNameDialog.saving":"Saving…","sandbox.fileTreeRow.copyPath":"Copy Path","sandbox.fileTreeRow.copyRelativePath":"Copy Relative Path","sandbox.fileTreeRow.delete":"Delete","sandbox.fileTreeRow.newFile":"New File","sandbox.fileTreeRow.newFolder":"New Folder","sandbox.fileTreeRow.rename":"Rename","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.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.buttonLabel":"Button label","sandbox.mediaBlocks.calloutText":"Callout text…","sandbox.mediaBlocks.calloutTitle":"Callout title","sandbox.mediaBlocks.destinationUrlPlaceholder":"https://destination-url.com","sandbox.mediaBlocks.divider":"Divider","sandbox.mediaBlocks.fullWidth":"Full width","sandbox.mediaBlocks.image":"Image","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.headingPlaceholder":"Heading","sandbox.plainBlocks.languagePlaceholder":"language","sandbox.plainBlocks.listItemPlaceholder":"List item","sandbox.plainBlocks.numberedLabel":"Numbered","sandbox.plainBlocks.quotePlaceholder":"Quote","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.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.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.publishedLabel":"Published","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.slugLabel":"Slug","sandbox.postEditor.slugPlaceholder":"my-post","sandbox.postEditor.untitledPost":"Untitled post","sandbox.postEditor.valuePlaceholder":"value","sandbox.postToolbar.allPosts":"All posts","sandbox.postToolbar.authorLabel":"Author","sandbox.postToolbar.categoryLabel":"Category","sandbox.postToolbar.clearFilter":"Clear filter","sandbox.postToolbar.deleteSelected":"Delete selected","sandbox.postToolbar.deleteSelectedPosts":"Delete selected posts","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.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.statusDraft":"Draft","sandbox.postToolbar.statusLabel":"Status","sandbox.postToolbar.statusPublished":"Published","sandbox.preview.catchAllParamLabel":"path","sandbox.preview.choosePage":"Choose page","sandbox.preview.clickElementToAsk":"Click any element to ask the AI","sandbox.preview.cms":"CMS","sandbox.preview.collapseTerminal":"Collapse terminal","sandbox.preview.editContent":"Edit content","sandbox.preview.exitEditor":"Exit editor","sandbox.preview.expandTerminal":"Expand terminal","sandbox.preview.resizeTerminal":"Resize terminal","sandbox.preview.copyCurrentUrl":"Copy Current URL","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.editSeo":"Edit SEO","sandbox.preview.enterToGo":"Enter to go","sandbox.preview.failedToCopyUrl":"Failed to copy URL","sandbox.preview.failedToCreatePage":"Failed to create page","sandbox.preview.globalComponents":"Global components","sandbox.preview.globalLoaders":"Global loaders","sandbox.preview.invalidPageBlockKey":"Invalid page block key","sandbox.preview.loaderBadge":"Loader","sandbox.preview.loaderNoLongerExists":"This loader no longer exists.","sandbox.preview.moreOptions":"More options","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.openInCursor":"Open in Cursor","sandbox.preview.openInBrowser":"Open in browser","sandbox.preview.failedToOpenInBrowser":"Couldn't open your browser","sandbox.preview.openInNewTab":"Open in new tab","sandbox.preview.openInVscode":"Open in VSCode","sandbox.preview.pageAlreadyExists":'A page with path "{path}" already exists.',"sandbox.preview.pageCreated":'Page "{name}" created',"sandbox.preview.previewMetadataNotReady":"Preview metadata not ready yet","sandbox.preview.refresh":"Refresh","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.urlCopiedToClipboard":"URL copied to clipboard","sandbox.preview.valueForParam":"Value for {label}","sandbox.preview.viewJson":"View JSON","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.productPickerDialog.typeToSearchPrompt":"Type to search products.","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.optionOrganization":"Organization","sandbox.recordEditor.optionPerson":"Person","sandbox.recordEditor.placeholderEmail":"author@example.com","sandbox.recordEditor.titleAuthor":"Author","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.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.editing.title":"Editing","sandbox.cmsUnavailable.title":"This chat can't preview your site","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.cmsSettings.editing.description":"Customize the content-editing experience in the blocks form.","sandbox.previewServerUrlField.description":"Your live server's address, used to preview content. Required for Fast Preview.","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 agent. 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.backToList":"Back to list","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.editingBreadcrumb":"Editing breadcrumb","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.savedSectionEditor.editAsJson":"Edit as JSON","sandbox.savedSectionEditor.editingBreadcrumb":"Editing breadcrumb","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.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 agent'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.submoduleCredentialsField.addSubmoduleCredential":"Add submodule credential","sandbox.submoduleCredentialsField.cancel":"Cancel","sandbox.submoduleCredentialsField.createNewSecret":"Create new secret","sandbox.submoduleCredentialsField.createNewSecretAriaLabel":"Create new secret","sandbox.submoduleCredentialsField.createNewSecretDescription":"Stored encrypted in the credential vault. The submodule credential will reference the new secret by id — its value never leaves the server.","sandbox.submoduleCredentialsField.createNewSecretTitle":"Create new secret","sandbox.submoduleCredentialsField.description":"Personal access tokens for cloning private git submodules that live in other repositories. Reference an org/user secret per host; SSH submodule URLs are rewritten to HTTPS so the token applies.","sandbox.submoduleCredentialsField.descriptionLabel":"Description (optional)","sandbox.submoduleCredentialsField.descriptionPlaceholder":"What is this token used for?","sandbox.submoduleCredentialsField.failedToLoadSecrets":"Failed to load secrets","sandbox.submoduleCredentialsField.failedToSaveSecret":"Failed to save","sandbox.submoduleCredentialsField.hostAriaLabel":"Submodule credential {index} host","sandbox.submoduleCredentialsField.hostInvalidMessage":"Bare hostname, e.g. github.com (no scheme or path).","sandbox.submoduleCredentialsField.hostPlaceholder":"github.com","sandbox.submoduleCredentialsField.nameLabel":"Name","sandbox.submoduleCredentialsField.namePlaceholder":"GITHUB_SUBMODULE_PAT","sandbox.submoduleCredentialsField.nameHelperText":"Letters, digits, underscore, dot, hyphen.","sandbox.submoduleCredentialsField.noSecretsYet":'No secrets yet. Use the "+" to create one.',"sandbox.submoduleCredentialsField.pickSecretPlaceholder":"Pick a secret…","sandbox.submoduleCredentialsField.remove":"Remove","sandbox.submoduleCredentialsField.removeAriaLabel":"Remove submodule credential","sandbox.submoduleCredentialsField.saveSecret":"Save secret","sandbox.submoduleCredentialsField.saving":"Saving…","sandbox.submoduleCredentialsField.scopeLabel":"Scope","sandbox.submoduleCredentialsField.scopeOrganization":"Organization — visible to all members","sandbox.submoduleCredentialsField.scopePrivate":"Private — only visible to me","sandbox.submoduleCredentialsField.secretSaved":'Saved secret "{name}"',"sandbox.submoduleCredentialsField.title":"Submodule credentials","sandbox.submoduleCredentialsField.tokenLabel":"Personal access token","sandbox.submoduleCredentialsField.tokenPlaceholder":"ghp_…","sandbox.toolbar.closeTab":"Close {tab}","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"},zne={"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.apiKeys":"API Keys","settings.nav.billing":"Billing & AI","settings.nav.buckets":"Buckets","settings.nav.syncedRepos":"Synced repos","settings.nav.storage":"Storage","settings.nav.advanced":"Advanced","settings.subnav.ariaLabel":"Settings sections","settings.subnav.clients":"Clients","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's visible cards are mirrored — its Backlog tab, epics and sub-tasks are not.","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.mappingLabel":"Column mapping","settings.jira.mappingDescription":"Map the board's columns onto this board's lanes. Columns marked “Don't sync” never appear here.","settings.jira.dontSync":"Don't sync","settings.jira.jqlLabel":"JQL filter (optional)","settings.jira.jqlDescription":"Extra JQL to narrow what syncs — useful to match your Jira board's saved filter. Epics and sub-tasks are always excluded.","settings.jira.jqlPlaceholder":"e.g. labels = storefront AND sprint in openSprints()","settings.jira.jqlSave":"Save filter","settings.jira.jqlSaved":"Filter saved — it applies from the next sync","settings.jira.columnsFailed":"Could not load the board's columns","settings.jira.autoDelegateLabel":"Auto-delegate to the agent","settings.jira.autoDelegateDescription":"When an issue lands in a column mapped to To Do, the Super Agent takes the card and starts working. Its progress is mirrored back onto the issue.","settings.jira.enableLabel":"Sync enabled","settings.jira.enableRequirements":"Pick a project and map at least one status before enabling the sync","settings.jira.lastSynced":"Last synced {ago}","settings.jira.waitingFirstSync":"Waiting for the first sync","settings.jira.syncNow":"Sync now","settings.jira.syncing":"Syncing…","settings.jira.syncDone":"Synced: {created} created, {updated} updated","settings.jira.syncFailed":"Sync failed","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, changes made in Jira reach the board on the next 10-minute sync; with it, they arrive in 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. Changes made in Jira now show up on the board within seconds.","settings.syncedRepos.pageDescription":"GitHub 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 GitHub 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.nav.connections":"Connections","settings.nav.agents":"Agents","settings.nav.automations":"Automations","settings.nav.store":"Store","settings.nav.monitor":"Monitor","settings.nav.members":"Members","settings.nav.security":"Security","settings.nav.profile":"Profile & Preferences","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.updateSuccess":"Profile updated successfully","settings.profile.updateError":"Failed to update profile","settings.preferences.title":"Preferences","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 agents","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.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.activeKeys":"Active keys","settings.connectClients.activeKeysDescription":"Keys you've generated for headless clients. Revoke any time.","settings.connectClients.apiKeyTab":"API key","settings.connectClients.copy":"Copy","settings.connectClients.createdAt":"Created {date}","settings.connectClients.customClientHint":"Wiring a custom client?","settings.connectClients.doneHideKey":"Done, hide key","settings.connectClients.failedToLoadKeys":"Failed to load keys: {error}","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.keyCreated":"Key created","settings.connectClients.keyRevoked":"Key revoked","settings.connectClients.loadingActiveKeys":"Loading active keys…","settings.connectClients.noConnectKeysYet":"No connect keys minted yet. Generate one from a client tab above for headless setups.","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.oauthTab":"OAuth","settings.connectClients.orgUnifiedMcp":"Your org's unified MCP","settings.connectClients.orgUnifiedMcpDescription":"Plug this URL into any MCP client to give that runtime every connection enabled in this org, governed by your Decopilot rules.","settings.connectClients.pageTitle":"Connect to clients","settings.connectClients.revoke":"Revoke","settings.connectClients.revokeConfirm":'Revoke "{name}"? Any client still using this key will lose access.',"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.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.decoCreditsHero.accessModels":"Access to 100+ models","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.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.navigation.title":"Navigation","settings.navigation.description":"How this organization gets around Studio.","settings.navigation.updateError":"Couldn't update navigation settings","settings.navigation.navV2Title":"First-class navigation","settings.navigation.navV2Description":"The sidebar lists destinations (Reports, Library, Tasks) instead of chats, and the chat list moves to the top of the chat panel. On by default for new organizations and report organizations.","settings.orgGeneral.organization":"Organization","settings.mainAgent.title":"Main agent","settings.mainAgent.description":"The agent this organization opens on. Every member lands here instead of the Super Agent.","settings.mainAgent.itemTitle":"Landing agent","settings.mainAgent.itemDescription":"Pick the agent to open when entering this organization.","settings.mainAgent.superAgentOption":"Super Agent (default)","settings.mainAgent.setToast":'"{title}" is now the main agent',"settings.mainAgent.resetToast":"Reset to the Super Agent","settings.mainAgent.errorToast":"Couldn't update the main agent","settings.review.title":"Reviewers & merge","settings.review.description":"Automated reviewers run on a task's pull request once it's In Review (checks passing or none). Both appear as sessions on the task card.","settings.review.qaAgentTitle":"Enable QA Agent","settings.review.qaAgentDescription":"Verifies the task actually solved the problem — exercises the feature, not just the diff.","settings.review.codeReviewerTitle":"Enable Code Reviewer","settings.review.codeReviewerDescription":"Reviews the code using the repository's stack-appropriate review skills.","settings.review.cheapReviewerModelTitle":"Run reviewers on a cheaper model","settings.review.cheapReviewerModelDescription":"The QA Agent and Code Reviewer read a diff and reach a verdict, so they run 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 every enabled reviewer approves, merge the pull request automatically instead of waiting for a human. If a conflict blocks the merge, the Super Agent resolves it first.","settings.review.autoAssignReportTasksTitle":"Auto-assign report tasks to the Super Agent","settings.review.autoAssignReportTasksDescription":"Tasks created from a report are delegated to the Super Agent automatically instead of landing unassigned.","settings.review.updateError":"Couldn't update the setting","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.allModels":"All models","settings.orgRoleDetail.allOrgPermissions":"All organization permissions","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.organizationPermissions":"Organization Permissions","settings.orgRoleDetail.owner":"Owner","settings.orgRoleDetail.ownerMembershipCannotBeChanged":"Owner membership cannot be changed","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.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.orgStore.addRegistry":"Add Registry","settings.orgStore.adding":"Adding...","settings.orgStore.authTokenLabel":"Auth Token","settings.orgStore.authTokenPlaceholder":"Bearer token...","settings.orgStore.cancel":"Cancel","settings.orgStore.communityRegistryDescription":"Community MCP registry with thousands of handy MCPs","settings.orgStore.communityRegistryNotAdded":"Community MCP registry — not yet added","settings.orgStore.communitySection":"Community","settings.orgStore.connectionNotFound":"Connection not found — will be created automatically.","settings.orgStore.decoStoreDescription":"Official deco MCP registry with curated integrations","settings.orgStore.decoStoreName":"Deco Store","settings.orgStore.decoStoreSection":"Deco Store","settings.orgStore.failedAddRegistry":"Failed to add registry: {error}","settings.orgStore.failedLoadStoreSettings":"Failed to load store settings:","settings.orgStore.mcpRegistry":"MCP Registry","settings.orgStore.nameLabel":"Name","settings.orgStore.namePlaceholder":"e.g. Acme Corp Registry","settings.orgStore.optional":"Optional","settings.orgStore.pageTitle":"Store","settings.orgStore.privateMcpRegistry":"Private MCP registry","settings.orgStore.privateRegistriesSection":"Private Registries","settings.orgStore.privateRegistry":"Private Registry","settings.orgStore.privateRegistryAdded":"Private registry added","settings.orgStore.privateRegistryDescription":"Your organization's private MCP registry","settings.orgStore.registryUrlLabel":"Registry URL","settings.orgStore.registryUrlPlaceholder":"https://registry.example.com/mcp","settings.orgStore.remove":"Remove","settings.orgStore.removeRegistry":"Remove this registry?","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.nameTitle":"Name","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.keysCountPlural":"{count} keys","settings.apiKeys.keysCountSingular":"{count} key","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.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.billing.autoTasksTitle":"Auto tasks","settings.billing.unlimitedDescription":"Auto-task runs are unlimited on this deployment. Tasks you create yourself are never limited either.","settings.billing.autoTasksDescriptionTrial":"3 free lifetime runs, then $50/month for 10 runs per billing cycle.","settings.billing.autoTasksDescriptionSubscribed":"10 auto-task runs per billing cycle. Tasks you create yourself are never limited.","settings.billing.statusTrial":"Free trial","settings.billing.statusActive":"Active","settings.billing.statusPastDue":"Payment issue","settings.billing.runsUsedLabel":"runs used","settings.billing.renewsOn":"Renews {date}","settings.billing.subscribeButton":"Subscribe","settings.billing.manageButton":"Manage billing","settings.billing.checkoutError":"Couldn't start checkout: {message}","settings.billing.portalError":"Couldn't open billing portal: {message}","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":"Plan and invoices belong to a single legacy team — narrow the selection to see them.","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 site.","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"},Une={"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.descriptionNative":"An update is ready. Restart the app to finish installing it.","announcements.version.currentSession":"Current session · {version}","announcements.version.refresh":"Refresh now","announcements.version.restart":"Restart to update","announcements.version.restarting":"Restarting…"},$ne={"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"},qne={...ane,...rne,...ine,...sne,...lne,...cne,...une,...dne,...mne,...pne,...hne,...gne,...fne,...vne,...bne,...yne,...Sne,..._ne,...wne,...Cne,...xne,...Ene,...Tne,...kne,...Pne,...Ane,...Rne,...Dne,...One,...Ine,...Mne,...Lne,...Nne,...Fne,...Bne,...jne,...zne,...Une,...$ne};function GB(e,t){return t?e.replace(/\{(\w+)\}/g,(o,n)=>Object.hasOwn(t,n)?String(t[n]):o):e}const Vne={"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 agente, 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.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 agente 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.addConnectionMessage":"Adicione uma conexão acima para configurar visualizações fixadas.","virtualMcp.layoutTabContent.automations":"Automações","virtualMcp.layoutTabContent.chat":"Chat","virtualMcp.layoutTabContent.chatAlwaysShown":"O Chat sempre aparece quando é a visualização padrão","virtualMcp.layoutTabContent.content":"Conteúdo","virtualMcp.layoutTabContent.layout":"Layout","virtualMcp.layoutTabContent.mainView":"Visualização principal","virtualMcp.layoutTabContent.mainViewDescription":"O que os usuários veem quando abrem este agente pela primeira vez.","virtualMcp.layoutTabContent.noInteractiveTools":"Nenhum dos servidores conectados expõe ferramentas interativas.","virtualMcp.layoutTabContent.openCms":"Abrir editor automaticamente","virtualMcp.layoutTabContent.openCmsDescription":"Abrir o CMS automaticamente quando a visualização estiver pronta para editar conteúdo.","virtualMcp.layoutTabContent.pinnedViews":"Visualizações fixadas","virtualMcp.layoutTabContent.pinnedViewsDescription":"Colocar ferramentas interativas como abas de nível superior no agente.","virtualMcp.layoutTabContent.preview":"Visualização","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.subAgentsSection.addSubAgent":"Adicionar sub-agente","virtualMcp.subAgentsSection.anyAgent":"Qualquer agente","virtualMcp.subAgentsSection.canDelegateToAnyAgent":"Pode delegar para qualquer agente na organização.","virtualMcp.subAgentsSection.canOnlyDelegateToItself":"Pode delegar apenas para uma cópia fresca de si mesmo, nenhum outro agente.","virtualMcp.subAgentsSection.emptyStateMessage":"Nenhum sub-agente selecionado ainda. Adicione um — até então, este agente pode delegar apenas para si mesmo.","virtualMcp.subAgentsSection.noAgentsFound":"Nenhum agente encontrado.","virtualMcp.subAgentsSection.onlyItself":"Apenas si mesmo","virtualMcp.subAgentsSection.searchPlaceholder":"Pesquisar agentes...","virtualMcp.subAgentsSection.specificAgents":"Agentes específicos","virtualMcp.subAgentsSection.title":"Sub-agentes","virtualMcp.virtualMcp.addConnection":"Adicionar conexão","virtualMcp.virtualMcp.agentDeleted":'Excluído "{title}"',"virtualMcp.virtualMcp.agentNamePlaceholder":"Nome do agente","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 agente","virtualMcp.virtualMcp.deleteAgentConfirm":"Excluir Agente?","virtualMcp.virtualMcp.deleteAgentConfirmDescription":"Esta ação não pode ser desfeita. Isto excluirá permanentemente {title}.","virtualMcp.virtualMcp.deleteAgentDescription":"Exclua permanentemente este agente 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 agente","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>
133
133
  Defina quem é este agente e em que ele é especializado.
134
134
  Exemplo: Você é um agente de triagem de suporte para comerciantes B2B.
135
135
  </role>
@@ -161,7 +161,7 @@ debug?`,"orgs.monitoring.propertyFilters":"Filtros de propriedade","orgs.monitor
161
161
  e.g. usuario1@example.com, usuario2@example.com
162
162
  ou um por linha`,"common.inviteMemberDialog.errorFailedInvite":"Falha ao convidar {count} membro(s)","common.inviteMemberDialog.errorGeneric":"Falha ao convidar membros","common.inviteMemberDialog.errorNoValidEmail":"Digite pelo menos um endereço de e-mail válido","common.inviteMemberDialog.errorSelectRole":"Selecione uma função","common.inviteMemberDialog.inviteButton":"Convidar {count} membro(s)","common.inviteMemberDialog.invitingButton":"Convidando...","common.inviteMemberDialog.permAllConnections":"Todas as conexões","common.inviteMemberDialog.permAllTools":"todas as ferramentas","common.inviteMemberDialog.permConnections":"{count} conexão(ões)","common.inviteMemberDialog.permFullOrgAccess":"Acesso total à organização","common.inviteMemberDialog.permOrgPerms":"{count} permissão(ns) de org","common.inviteMemberDialog.permTools":"{count} ferramenta(s)","common.inviteMemberDialog.roleSelectPlaceholder":"Selecione uma função","common.inviteMemberDialog.successMultiple":"{count} membros convidados com sucesso!","common.inviteMemberDialog.successSingle":"Membro convidado com sucesso!","common.inviteMemberDialog.title":"Convidar membros","common.keyboardShortcutsDialog.title":"Atalhos de teclado","common.noAccessScreen.askAdminToInvite":"Peça a um administrador que o convide.","common.noAccessScreen.couldNotFind":"Não conseguimos encontrar uma organização chamada","common.noAccessScreen.goToHome":"Ir para home","common.noAccessScreen.noAccess":"Sem acesso","common.noAccessScreen.noAccessTo":"Você não tem acesso a","common.noAccessScreen.organizationNotFound":"Organização não encontrada","common.pendingInviteScreen.acceptButton":"Aceitar convite","common.pendingInviteScreen.acceptDescription":"Aceite o convite para se juntar a esta organização.","common.pendingInviteScreen.acceptingButton":"Aceitando…","common.pendingInviteScreen.declineButton":"Recusar","common.pendingInviteScreen.decliningButton":"Recusando…","common.pendingInviteScreen.failedToAccept":"Falha ao aceitar o convite","common.pendingInviteScreen.failedToDecline":"Falha ao recusar o convite","common.pendingInviteScreen.invitationDeclined":"Convite recusado","common.pendingInviteScreen.invitedTo":"Você foi convidado para {orgName}","common.requestPendingScreen.description":"Sua solicitação para ingressar em {orgName} está aguardando aprovação de um administrador. Você terá acesso após a aprovação.","common.requestPendingScreen.goHome":"Ir para início","common.requestPendingScreen.title":"Solicitação pendente","common.requestToJoinScreen.description":"Um administrador deve aprovar solicitações de e-mails @{domain} antes que você possa entrar.","common.requestToJoinScreen.failedToRequest":"Falha ao solicitar acesso","common.requestToJoinScreen.goToHome":"Ir para início","common.requestToJoinScreen.requestButton":"Solicitar acesso","common.requestToJoinScreen.requesting":"Solicitando…","common.requestToJoinScreen.title":"Solicitar acesso a {orgName}?","common.signInScreen.configLoadFailed":"Não foi possível carregar as opções de login.","common.signInScreen.tryAgain":"Tentar novamente","common.simpleIconPicker.changeIcon":"Alterar ícone","common.simpleIconPicker.filterPlaceholder":"Filtrar…","common.simpleIconPicker.noIconsFound":"Nenhum ícone encontrado","common.ssoRequiredScreen.goBack":"Voltar","common.ssoRequiredScreen.orgRequiresSsoAuth":"Esta organização requer autenticação SSO para acessar.","common.ssoRequiredScreen.requiresSsoAuth":"requer autenticação SSO","common.ssoRequiredScreen.signInWithSso":"Entrar com SSO","common.ssoRequiredScreen.title":"Autenticação SSO Necessária","common.ssoRequiredScreen.via":"via {domain}","common.tagMultiSelect.addTags":"Adicionar tags...","common.tagMultiSelect.available":"Disponível","common.tagMultiSelect.createTag":'Criar "{tagName}"',"common.tagMultiSelect.noTagsFound":"Nenhuma tag encontrada.","common.tagMultiSelect.searchOrCreate":"Pesquisar ou criar...","common.tagMultiSelect.selected":"Selecionado","common.toolInputForm.enterPlaceholder":"Digite {fieldKey}…","common.toolInputForm.false":"falso","common.toolInputForm.jsonPlaceholder":"Digite {fieldKey} como JSON…","common.toolInputForm.selectPlaceholder":"Selecione…","common.toolInputForm.true":"verdadeiro","common.toolSetSelector.filterAll":"Todos","common.toolSetSelector.filterSelected":"Selecionados","common.toolSetSelector.filterUnselected":"Não selecionados","common.toolSetSelector.noConnectionsAvailable":"Nenhuma conexão disponível","common.toolSetSelector.noConnectionsFound":"Nenhuma conexão encontrada","common.toolSetSelector.noServersSelected":"Nenhum servidor selecionado","common.toolSetSelector.noToolsAvailable":"Esta conexão não tem ferramentas disponíveis","common.toolSetSelector.noUnselectedServers":"Nenhum servidor não selecionado","common.toolSetSelector.searchPlaceholder":"Pesquisar servidores MCP...","common.toolSetSelector.selectConnection":"Selecione uma conexão para visualizar suas ferramentas","common.useStartThreadFromPrompt.failedToStartChat":"Falha ao iniciar o chat. Tente novamente.","common.useStartThreadFromPrompt.mcpClientNotAvailable":"Cliente MCP não disponível","common.createAgentDropdown.createFromScratch":"Criar do zero","common.createAgentDropdown.importFromGitHub":"Importar do GitHub","common.createAgentDropdown.importFromDeco":"Importar do deco.cx","common.mainPanelTabs.overview":"Visão Geral","common.mainPanelTabs.preview":"Visualização","common.mainPanelTabs.code":"Código","common.mainPanelTabs.content":"Conteúdo","common.mainPanelTabs.assets":"Assets","common.mainPanelTabs.reviewChanges":"Revisar alterações","common.mainPanelTabs.automations":"Automações","common.mainPanelTabs.settings":"Configurações","common.mainPanelTabs.report":"Relatório","common.taskBoard.listView":"Lista","common.taskBoard.boardView":"Quadro","common.openExternalFailed":"Não foi possível abrir este link no navegador."},vae={"commerceOnboarding.companionCard.configField.accountName":"Nome da conta","commerceOnboarding.companionCard.configField.appKey":"App Key","commerceOnboarding.companionCard.configField.appToken":"App Token","commerceOnboarding.companionCard.configField.propertyId":"Propriedade","commerceOnboarding.companionCard.configField.siteUrl":"Site","commerceOnboarding.companionCard.configure":"Configurar","commerceOnboarding.companionCard.configureAriaLabel":"Configurar {title}","commerceOnboarding.companionCard.configureDescription":"Configure o {title} para enriquecer os dados","commerceOnboarding.companionCard.connect":"Conectar","commerceOnboarding.companionCard.connectAriaLabel":"Conectar {title}","commerceOnboarding.companionCard.connected":"Conectado","commerceOnboarding.companionCard.disconnect":"Desconectar","commerceOnboarding.companionCard.disconnectAriaLabel":"Desconectar {title}","commerceOnboarding.companionCard.disconnectError":"Não foi possível desconectar. Tente novamente.","commerceOnboarding.companionCard.disconnectedSuccess":"{title} desconectado","commerceOnboarding.companionCard.editConfiguration":"Editar configuração","commerceOnboarding.companionCard.finishSetup":"Concluir configuração","commerceOnboarding.companionCard.required":"Obrigatório","commerceOnboarding.connectSourceDialog.connecting":"Conectando {title}...","commerceOnboarding.connectSourceDialog.loading":"Carregando...","commerceOnboarding.connectSourceDialog.noConnectionMethod":"{title} não pode ser conectado: nenhum método de conexão disponível","commerceOnboarding.connectSourceDialog.signInFailed":"Não foi possível entrar em {title}: {error}","commerceOnboarding.connectSourceDialog.title":"Conectar fonte de dados","commerceOnboarding.githubConfigForm.cancel":"Cancelar","commerceOnboarding.githubConfigForm.failedToSave":"Não foi possível salvar a configuração","commerceOnboarding.githubConfigForm.githubConnectionNotFound":"Conexão do GitHub não encontrada.","commerceOnboarding.githubConfigForm.invalidRepository":'Repositório inválido: "{repo}". Use o formato owner/nome.',"commerceOnboarding.githubConfigForm.loadingRepositories":"Carregando repositórios...","commerceOnboarding.githubConfigForm.noGithubInstallation":'Nenhuma instalação do GitHub encontrada para "{owner}".',"commerceOnboarding.githubConfigForm.noRepositoriesFound":"Nenhum repositório encontrado. Digite o nome do repositório (owner/nome) para buscar.","commerceOnboarding.githubConfigForm.save":"Salvar","commerceOnboarding.githubConfigForm.saving":"Salvando...","commerceOnboarding.githubConfigForm.searchFailedPartial":"Parte da busca falhou — alguns repositórios podem não ter aparecido. Tente novamente ou digite owner/nome.","commerceOnboarding.githubConfigForm.searchFailedTotal":"Não foi possível buscar os repositórios (erro ou tempo esgotado). Tente novamente ou digite o repositório no formato owner/nome.","commerceOnboarding.githubConfigForm.searchRepositoryLabel":"Buscar repositório","commerceOnboarding.githubConfigForm.searchRepositoryPlaceholder":"Buscar repositório","commerceOnboarding.githubConfigForm.selectRepository":"Selecione um repositório","commerceOnboarding.saBindingForm.bind":"Conectar","commerceOnboarding.saBindingForm.bindError":"Não foi possível conectar.","commerceOnboarding.saBindingForm.cancel":"Cancelar","commerceOnboarding.saBindingForm.connectedSuccess":"{label} conectado","commerceOnboarding.saBindingForm.copyEmailLabel":"Copiar e-mail da nossa conta leitora","commerceOnboarding.saBindingForm.emailCopied":"E-mail copiado","commerceOnboarding.saBindingForm.googleLoginAlternative":"Entrar com o Google mesmo assim","commerceOnboarding.saBindingForm.resourceIdRequired":"Informe o {resourceLabel}","commerceOnboarding.saBindingForm.storeUrlUnavailable":"URL da loja indisponível. Recarregue a página.","commerceOnboarding.saBindingForm.verifying":"Verificando...","commerceOnboarding.saBinding.sampleDomain":"sualoja.com.br","commerceOnboarding.saBinding.oauthNote":"O nosso app ainda está em revisão pelo Google, então a tela de login avisa que ele não é verificado.","commerceOnboarding.saBinding.ga4.openConsole":"Abrir o Google Analytics","commerceOnboarding.saBinding.ga4.step1":"No Google Analytics, abra Admin › Acesso à propriedade.","commerceOnboarding.saBinding.ga4.step2":"Clique em +, escolha Adicionar usuários, cole este e-mail e marque a função Leitor.","commerceOnboarding.saBinding.ga4.step3":"Copie o ID da propriedade em Admin › Detalhes da propriedade e cole aqui.","commerceOnboarding.saBinding.ga4.resourceLabel":"ID da propriedade","commerceOnboarding.saBinding.ga4.resourcePlaceholder":"123456789","commerceOnboarding.saBinding.ga4.resourceHint":"Só dígitos, sem o prefixo 'properties/'.","commerceOnboarding.saBinding.gsc.openConsole":"Abrir o Search Console","commerceOnboarding.saBinding.gsc.step1":"No Search Console, abra Configurações › Usuários e permissões.","commerceOnboarding.saBinding.gsc.step2":"Clique em Adicionar usuário, cole este e-mail e escolha a permissão Total.","commerceOnboarding.saBinding.gsc.step3":"Copie o endereço da propriedade exatamente como aparece no seletor e cole aqui.","commerceOnboarding.saBinding.gsc.resourceLabel":"Site ou propriedade","commerceOnboarding.saBinding.gsc.resourcePlaceholder":"sc-domain:{host}","commerceOnboarding.saBinding.gsc.resourceHint":"Propriedade de domínio, ou o prefixo de URL completo (https://www.{host}/).","commerceOnboarding.saBinding.remediation.noAccess.title":"Ainda não conseguimos acessar este recurso no {label}.","commerceOnboarding.saBinding.remediation.noAccess.ga4.1":"Confira se {email} aparece em Admin › Acesso à propriedade com a função Leitor.","commerceOnboarding.saBinding.remediation.noAccess.ga4.2":"Confira o ID da propriedade: só dígitos, sem o prefixo 'properties/'.","commerceOnboarding.saBinding.remediation.noAccess.ga4.3":"O Google pode levar alguns segundos para aplicar o acesso. Tente de novo.","commerceOnboarding.saBinding.remediation.noAccess.gsc.1":"Confira se {email} aparece em Configurações › Usuários e permissões.","commerceOnboarding.saBinding.remediation.noAccess.gsc.2":"A permissão precisa ser Total ou Restrita. 'Não verificado' não funciona.","commerceOnboarding.saBinding.remediation.noAccess.gsc.3":"Confira se o endereço está exatamente como aparece no Search Console.","commerceOnboarding.saBinding.remediation.noWebStream.title":"Esta propriedade do GA4 não tem um fluxo de dados da Web (site) configurado.","commerceOnboarding.saBinding.remediation.noWebStream.1":"No GA4, vá em Admin › Fluxos de dados.","commerceOnboarding.saBinding.remediation.noWebStream.2":"Clique em Adicionar fluxo › Web.","commerceOnboarding.saBinding.remediation.noWebStream.3":"Informe a URL do site da sua loja e salve o fluxo.","commerceOnboarding.saBinding.remediation.noWebStream.4":"Volte aqui e tente de novo. Propriedades só de app precisam de vínculo manual, fale com o suporte.","commerceOnboarding.saBinding.remediation.noMatch.title":"O recurso informado não corresponde ao domínio desta loja.","commerceOnboarding.saBinding.remediation.noMatch.ga4.1":"Confira o ID da propriedade. Provavelmente é de outro site.","commerceOnboarding.saBinding.remediation.noMatch.ga4.2":"No GA4, o site medido aparece em Admin › Fluxos de dados › seu fluxo Web › URL do stream.","commerceOnboarding.saBinding.remediation.noMatch.gsc.1":"Confira se você escolheu a propriedade do Search Console desta loja.","commerceOnboarding.saBinding.remediation.noMatch.gsc.2":"O endereço precisa cobrir o mesmo domínio do diagnóstico.","commerceOnboarding.saBinding.remediation.alreadyBound.title":"Este recurso já está vinculado a outra loja.","commerceOnboarding.saBinding.remediation.alreadyBound.1":"Se ele é mesmo desta loja, fale com o suporte para uma revisão manual.","commerceOnboarding.saBinding.remediation.alreadyBound.2":"Se digitou o id errado, confira e tente novamente.","commerceOnboarding.saBinding.remediation.unknown.title":"Não foi possível verificar o acesso a este recurso.","commerceOnboarding.saBinding.remediation.unknown.1":"Revise os passos acima e tente novamente.","commerceOnboarding.saBinding.remediation.unknown.2":"Se continuar falhando, fale com o suporte.","commerceOnboarding.vtexConfigForm.accountNameLabel":"Nome da conta","commerceOnboarding.vtexConfigForm.accountNamePlaceholder":"Nome da sua conta VTEX","commerceOnboarding.vtexConfigForm.appKeyLabel":"App Key (opcional)","commerceOnboarding.vtexConfigForm.appKeyPlaceholder":"App Key da VTEX","commerceOnboarding.vtexConfigForm.appTokenLabel":"App Token (opcional)","commerceOnboarding.vtexConfigForm.appTokenPlaceholder":"App Token da VTEX","commerceOnboarding.vtexConfigForm.cancelButton":"Cancelar","commerceOnboarding.vtexConfigForm.saveButton":"Salvar","commerceOnboarding.vtexConfigForm.savingButton":"Salvando...","commerceOnboarding.vtexConfigForm.savingError":"Não foi possível salvar a configuração","commerceOnboarding.shopifyConfigForm.storeDomainLabel":"Domínio da loja","commerceOnboarding.shopifyConfigForm.storeDomainPlaceholder":"minha-loja.myshopify.com","commerceOnboarding.shopifyConfigForm.storeDomainRequired":"Informe o domínio da loja","commerceOnboarding.shopifyConfigForm.accessTokenLabel":"Access token da Admin API","commerceOnboarding.shopifyConfigForm.accessTokenRequired":"Informe o Admin API access token","commerceOnboarding.shopifyConfigForm.accessTokenPlaceholder":"shpat_...","commerceOnboarding.shopifyConfigForm.apiVersionLabel":"Versão da API (opcional)","commerceOnboarding.shopifyConfigForm.apiVersionPlaceholder":"2026-07","commerceOnboarding.shopifyConfigForm.cancelButton":"Cancelar","commerceOnboarding.shopifyConfigForm.saveButton":"Salvar","commerceOnboarding.shopifyConfigForm.savingButton":"Salvando...","commerceOnboarding.shopifyConfigForm.savingError":"Não foi possível salvar a configuração","commerceOnboarding.googleSearchConsoleConfigForm.loadingSites":"Carregando sites...","commerceOnboarding.googleSearchConsoleConfigForm.loadSitesError":"Não foi possível carregar os sites do Google Search Console.","commerceOnboarding.googleSearchConsoleConfigForm.noSitesFound":"Nenhum site verificado foi encontrado. Verifique um site no Google Search Console.","commerceOnboarding.googleSearchConsoleConfigForm.siteAriaLabel":"Site verificado","commerceOnboarding.googleSearchConsoleConfigForm.siteRequired":"Selecione um site","commerceOnboarding.googleSearchConsoleConfigForm.savingError":"Não foi possível salvar a configuração","commerceOnboarding.googleSearchConsoleConfigForm.cancelButton":"Cancelar","commerceOnboarding.googleSearchConsoleConfigForm.saveButton":"Salvar","commerceOnboarding.googleSearchConsoleConfigForm.savingButton":"Salvando...","commerceOnboarding.selectableList.searchPlaceholder":"Buscar...","commerceOnboarding.selectableList.searchAriaLabel":"Buscar {label}","commerceOnboarding.selectableList.noResults":"Nenhum resultado"},bae={"collections.collectionDisplayButton.displayAndFilters":"Exibição & filtros","collections.collectionDisplayButton.sortBy":"Ordenar por","collections.collectionTableWrapper.loading":"Carregando...","collections.collectionTableWrapper.noItemsFound":"Nenhum item encontrado","collections.mutations.itemCreatedSuccessfully":"Item criado com sucesso","collections.mutations.itemUpdatedSuccessfully":"Item atualizado com sucesso","collections.mutations.itemDeletedSuccessfully":"Item deletado com sucesso","collections.mutations.createItemFailed":"Falha ao criar item: {error}","collections.mutations.updateItemFailed":"Falha ao atualizar item: {error}","collections.mutations.deleteItemFailed":"Falha ao deletar item: {error}"},yae={"cmsTour.menuItem":"Tour visual","cmsTour.preview.title":"Visualização","cmsTour.preview.description":"Veja seu site atualizar em tempo real enquanto edita — esta é a sua prévia de trabalho.","cmsTour.dropdown.title":"Mais visualizações","cmsTour.dropdown.description":"Código, Conteúdo e Biblioteca ficam aqui — abra este menu para alternar entre eles.","cmsTour.edit.title":"CMS","cmsTour.edit.description":"Abra o editor para mexer nas seções da página que você está vendo.","cmsTour.visualEditor.title":"Editor visual","cmsTour.visualEditor.description":"Ative para clicar em qualquer seção direto na página e editar ali mesmo.","cmsTour.device.title":"Visualização responsiva","cmsTour.device.description":"Alterne entre desktop, tablet e celular para conferir como o layout se adapta.","cmsTour.branches.title":"Branches","cmsTour.branches.description":"Cada conjunto de mudanças fica em sua própria branch — troque ou crie uma nova aqui.","cmsTour.submit.title":"Enviar para revisão","cmsTour.submit.description":"Envie suas mudanças como um pull request para o time revisar antes de irem ao ar.","cmsTour.publish.title":"Revisar e publicar","cmsTour.publish.description":"Publique suas mudanças no site quando estiverem prontas.","cmsTour.next":"Próximo","cmsTour.prev":"Voltar","cmsTour.done":"Entendi","cmsTour.skip":"Pular","cmsTour.progress":"{{current}} de {{total}}"},Sae={"chooseEditor.resolving":"Abrindo o editor…","chooseEditor.chooser.title":"Escolha onde editar este site","chooseEditor.chooser.subtitle":"Este site está em mais de um dos seus workspaces. Escolha onde abrir.","chooseEditor.chooser.openAriaLabel":"Abrir {title} em {org}","chooseEditor.notFound.title":"Não encontramos este site","chooseEditor.notFound.description":"Este site não está em nenhum workspace que você tenha acesso. Importe-o no Studio para começar a editar.","chooseEditor.error.title":"Algo deu errado","chooseEditor.error.description":"Não conseguimos abrir o editor. Tente novamente.","chooseEditor.retry":"Tentar novamente","chooseEditor.backToStudio":"Ir para o Studio"},_ae={"chat.agentCreate.agentCreated":"Agente criado: {name}","chat.agentCreate.cancelled":"Criação de agente cancelada","chat.agentCreate.couldntCreate":"Não foi possível criar o agente","chat.agentCreate.createAgent":"Criar agente","chat.agentCreate.created":"Agente criado","chat.agentCreate.creating":"Criando agente","chat.agentCreate.seeAgent":"Ver agente","chat.agentCreate.seeAgentLabel":"Ver agente: {name}","chat.agentIcons.claudeCode":"Claude Code","chat.agentIcons.codex":"Codex","chat.agentIcons.opencode":"OpenCode","chat.agentList.agentsNoun":"agentes","chat.agentList.couldntLoad":"Não foi possível carregar agentes","chat.agentList.listAgents":"Listar agentes","chat.agentList.loading":"Carregando agentes","chat.agentList.multiAgents":"{count} agentes","chat.agentList.noAgents":"Nenhum agente ainda","chat.agentList.noAgentsDesc":"Esta organização ainda não criou nenhum agente.","chat.agentList.oneAgent":"1 agente","chat.agentList.unavailable":"Lista de agentes indisponível","chat.agentModels.balancedQuality":"Qualidade equilibrada","chat.agentModels.deeperReasoning":"Raciocínio mais profundo","chat.agentModels.quickerResponses":"Respostas mais rápidas","chat.approval.acceptButton":"Aceitar","chat.approval.batchedLabel":"{count} aprovação(ões) pendente(s)","chat.approval.defaultDenyReason":"O usuário negou esta chamada de ferramenta, ofereça outras alternativas.","chat.approval.denyButton":"Negar","chat.approval.needsApproval":"Aprovação necessária","chat.approval.noInput":"Sem entrada","chat.approval.preparingRequest":"Preparando solicitação de aprovação...","chat.assistant.messagePlural":"{count} mensagem(ns)","chat.assistant.noResponseGenerated":"Nenhuma resposta foi gerada","chat.assistant.resumedBackgroundTask":"Retomado — tarefa em segundo plano concluída","chat.assistant.resumingTask":"Retomando tarefa...","chat.assistant.toolCallPlural":"{count} chamada(s) de ferramenta","chat.branchPill.lockedTooltip":"Este chat está usando a branch {branch}. Inicie um novo chat para usar uma branch diferente.","chat.branchPill.noBranch":"(sem branch)","chat.brandContext.brand":"Marca","chat.brandContext.brandContextSet":"Contexto de marca definido","chat.brandContext.brandSet":"Marca definida: {name}","chat.brandContext.brandWithName":"Marca · {name}","chat.brandContext.colorAccent":"Destaque","chat.brandContext.colorBackground":"Fundo","chat.brandContext.colorForeground":"Primeiro Plano","chat.brandContext.colorPrimary":"Primário","chat.brandContext.colorSecondary":"Secundário","chat.brandContext.colorsSection":"Cores","chat.brandContext.couldNotLoadBrand":"Não foi possível carregar a marca","chat.brandContext.couldNotLoadBrands":"Não foi possível carregar as marcas","chat.brandContext.defaultBadge":"padrão","chat.brandContext.extractingBrand":"Extraindo marca","chat.brandContext.extractionFailed":"Falha ao extrair marca","chat.brandContext.fromDomain":"de {domain}","chat.brandContext.loadingBrand":"Carregando marca","chat.brandContext.loadingBrands":"Carregando marcas","chat.brandContext.multipleBrands":"{count} marca(s)","chat.brandContext.noBrandsContext":"A organização ainda não configurou nenhum contexto de marca.","chat.brandContext.noBrandsYet":"Nenhuma marca ainda","chat.brandContext.oneBrand":"1 marca","chat.brandContext.typographySection":"Tipografia","chat.brandContext.unknownError":"Erro desconhecido","chat.brandContext.untitled":"Sem Título","chat.chat.jumpToLatest":"Ir para o mais recente","chat.chat.loadingOlderMessages":"Carregando mensagens mais antigas…","chat.chatContext.activeTaskProviderMissingContext":"ActiveTaskProvider deve ser usado dentro de ChatContextProvider","chat.chatContext.cancelFailedStatus":"Falha ao cancelar: {status}","chat.chatContext.couldNotRemoveOriginalMessage":"Não foi possível remover a mensagem original","chat.chatContext.failedToCancel":"Falha ao cancelar","chat.chatContext.failedToQueueMessage":"Falha ao enfileirar mensagem","chat.chatContext.failedToSendEditedMessage":"Falha ao enviar mensagem editada","chat.chatContext.stillSendingPreviousMessage":"Ainda enviando sua mensagem anterior — tente novamente em alguns momentos","chat.chatContext.useChatPrefsMissingContext":"useChatPrefs deve ser usado dentro de ChatContextProvider","chat.chatContext.useChatStreamMissingContext":"useChatStream deve ser usado dentro de ActiveTaskProvider","chat.chatContext.useChatTaskMissingContext":"useChatTask deve ser usado dentro de ChatContextProvider","chat.collapsibleHighlight.closeLabel":"Fechar","chat.collapsibleHighlight.closeTitle":"Fechar","chat.connectionsBanner.description":"Conecte ferramentas e faça mais","chat.connectionList.connectionNoun":"conexões","chat.connectionList.emptySummary":"Esta organização não conectou nenhum MCP.","chat.connectionList.emptyTitle":"Nenhuma conexão ainda","chat.connectionList.errorTitle":"Não foi possível carregar conexões","chat.connectionList.loadingTitle":"Carregando conexões","chat.connectionList.multipleConnections":"{count} conexões","chat.connectionList.singleConnection":"1 conexão","chat.connectionList.unavailableTitle":"Lista de conexões indisponível","chat.contextPanel.agentLabel":"Agente","chat.contextPanel.assistantPercent":"Assistente {pct}%","chat.contextPanel.contextBreakdownSection":"Análise do Contexto","chat.contextPanel.contextLimitLabel":"Limite de Contexto","chat.contextPanel.costLabel":"Custo","chat.contextPanel.emptyState":"Inicie uma conversa para ver o contexto","chat.contextPanel.inputTokensLabel":"Tokens de Entrada","chat.contextPanel.lastActivityLabel":"Última Atividade","chat.contextPanel.messagesLabel":"Mensagens","chat.contextPanel.modelLabel":"Modelo","chat.contextPanel.newChat":"Novo chat","chat.contextPanel.otherPercent":"Outro {pct}%","chat.contextPanel.outputTokensLabel":"Tokens de Saída","chat.contextPanel.rawMessagesSection":"Mensagens brutas","chat.contextPanel.reasoningTokensLabel":"Tokens de Raciocínio","chat.contextPanel.requestLabel":"Solicitação","chat.contextPanel.sessionCreatedLabel":"Sessão Criada","chat.contextPanel.sessionLabel":"Sessão","chat.contextPanel.sessionTokensLabel":"Tokens da Sessão (cobrados)","chat.contextPanel.subtask":"Subtarefa","chat.contextPanel.subtasksSection":"Subtarefas","chat.contextPanel.systemPromptLabel":"Prompt do sistema","chat.contextPanel.title":"Contexto","chat.contextPanel.tokAbbrev":"tok","chat.contextPanel.toolsActive":"ferramentas ativas","chat.contextPanel.usageLabel":"Uso","chat.contextPanel.userPercent":"Usuário {pct}%","chat.creditsEmptyState.add":"Adicionar","chat.creditsEmptyState.bestValueLabel":"Melhor custo","chat.creditsEmptyState.description":"Seus créditos gratuitos foram utilizados em outro workspace. Adicione créditos para usar IA aqui.","chat.creditsEmptyState.enterCustomAmount":"Inserir valor personalizado","chat.creditsEmptyState.opening":"Abrindo...","chat.creditsEmptyState.popularLabel":"Popular","chat.creditsEmptyState.skipForNow":"Pular por enquanto","chat.creditsEmptyState.starterLabel":"Iniciante","chat.creditsEmptyState.title":"Este workspace não possui créditos","chat.creditsEmptyState.topUpFailed":"Falha ao recarregar: {message}","chat.creditsEmptyState.useYourOwnProvider":"Usar seu próprio provedor","chat.creditsExhaustedBanner.add":"Adicionar","chat.creditsExhaustedBanner.benefit1":"Acesso a 100+ modelos de IA","chat.creditsExhaustedBanner.benefit2":"API unificada, sem necessidade de chaves separadas","chat.creditsExhaustedBanner.benefit3":"Pague apenas pelo que usar","chat.creditsExhaustedBanner.customPlaceholder":"50","chat.creditsExhaustedBanner.description":"Seus créditos foram esgotados. Adicione mais para continuar usando IA em todos os seus agentes.","chat.creditsExhaustedBanner.dismiss":"Descartar","chat.creditsExhaustedBanner.enterCustom":"Inserir valor personalizado","chat.creditsExhaustedBanner.manageProviders":"Gerenciar provedores","chat.creditsExhaustedBanner.opening":"Abrindo...","chat.creditsExhaustedBanner.tierBestValue":"Melhor valor","chat.creditsExhaustedBanner.tierPopular":"Popular","chat.creditsExhaustedBanner.tierStarter":"Iniciante","chat.creditsExhaustedBanner.title":"Recarregue para continuar criando","chat.creditsExhaustedBanner.topupError":"Falha na recarga: {error}","chat.decopilot.back":"Voltar","chat.decopilot.couldNotFetchModels":"Não foi possível buscar modelos deste provedor.","chat.decopilot.failedToLoadModels":"Falha ao carregar modelos","chat.decopilot.key":"Chave","chat.decopilot.manageApiKeys":"Gerenciar chaves de API","chat.decopilot.manageModels":"Gerenciar modelos","chat.decopilot.retry":"Tentar novamente","chat.decopilot.searchAllModels":"Pesquisar todos os modelos...","chat.decopilot.searchForModel":"Procure um modelo...","chat.decopilot.selectedCount":"{count} selecionado(s)","chat.decopilot.tierCheaper":"Mais barato","chat.decopilot.tierFaster":"Mais rápido","chat.decopilot.tierOther":"Outro","chat.decopilot.tierSmarter":"Mais inteligente","chat.decopilot.tryAnotherProviderOrRetry":"Tente outro provedor ou tente novamente.","chat.dialogPromptArguments.cancel":"Cancelar","chat.dialogPromptArguments.loading":"Carregando...","chat.dialogPromptArguments.optional":"(opcional)","chat.dialogPromptArguments.required":"Obrigatório","chat.dialogPromptArguments.usePrompt":"Usar prompt","chat.generateImage.failed":"Falhou","chat.generateImage.generatedImage":"Imagem gerada","chat.generateImage.generatedImageAlt":"Imagem gerada","chat.generateImage.generatingImage":"Gerando imagem","chat.generateImage.imageGeneration":"Geração de imagem","chat.generateImage.imageQueuedGeneratingInBackground":"Imagem na fila — gerando em segundo plano","chat.generateImage.noImagesGenerated":"Nenhuma imagem gerada","chat.generateImage.reference":"referência","chat.generateImage.references":"referências:","chat.generic.cancelled":"Cancelado","chat.generic.done":"Concluído","chat.generic.dynamicTool":"Ferramenta Dinâmica","chat.generic.failed":"Falhou","chat.generic.failedToLoad":"Falha ao carregar app {toolName}","chat.generic.loadingApp":"Carregando app...","chat.generic.openInPanel":"Abrir no painel","chat.generic.preparing":"Preparando...","chat.generic.retry":"Tentar novamente","chat.generic.waitingForApproval":"Aguardando sua aprovação","chat.highlight.continue":"Continuar","chat.highlight.copiedToClipboard":"Copiado para a área de transferência","chat.highlight.copy":"Copiar","chat.highlight.copyErrorDetails":"Copiar detalhes do erro","chat.highlight.couldNotCopy":"Não foi possível copiar","chat.highlight.errorOccurred":"Erro ocorreu","chat.highlight.fixInChat":"Corrigir no chat","chat.highlight.fixInChatMessage":"Encontrei este erro: {error}. Você pode me ajudar a corrigi-lo?","chat.highlight.hideTechnicalDetails":"Ocultar detalhes técnicos","chat.highlight.implementPlanMessage":`Implemente este plano:
163
163
 
164
- {plan}`,"chat.highlight.pleaseContinue":"Por favor, continue.","chat.highlight.responseIncomplete":"Resposta incompleta","chat.highlight.responseStoppedUnexpectedly":"A resposta parou inesperadamente: {reason}","chat.highlight.showTechnicalDetails":"Mostrar detalhes técnicos","chat.highlight.warningDescriptionContentFilter":"A resposta foi filtrada devido à política de conteúdo.","chat.highlight.warningDescriptionLength":"A resposta atingiu o limite de saída do modelo. Diferentes modelos têm limites diferentes. Tente trocar de modelo ou peça para continuar.","chat.highlight.warningDescriptionToolCalls":"A resposta foi pausada após a execução da ferramenta para evitar loops infinitos e economizar custos. Clique continuar para continuar trabalhando.","chat.iceBreakers.allPromptsTitle":"Todos os prompts","chat.iceBreakers.failedToLoadPrompt":"Falha ao carregar prompt. Tente novamente.","chat.iceBreakers.mcpClientNotAvailable":"Cliente MCP não disponível","chat.iceBreakers.moreButton":"+{count} mais","chat.iceBreakers.noPromptsMatch":'Nenhum prompt correspondente a "{search}"',"chat.iceBreakers.promptsLabel":"Prompts","chat.iceBreakers.searchPromptsPlaceholder":"Pesquisar prompts...","chat.imageLightbox.downloadImage":"Baixar imagem","chat.imageLightbox.zoomIn":"Aumentar zoom","chat.imageLightbox.zoomOut":"Diminuir zoom","chat.input.cancelRecording":"Cancelar gravação","chat.input.cancelRun":"Cancelar execução","chat.input.createImage":"Criar imagem","chat.input.deepResearch":"Pesquisa profunda","chat.input.dropFilesHere":"Solte {fileTypes} aqui","chat.input.microphoneAccessDenied":"Acesso ao microfone negado — clique para tentar novamente","chat.input.modelCannotReadAttachments":"Este modelo não consegue ler anexos — mude para um com suporte a visão ou arquivos","chat.input.planMode":"Modo de planejamento","chat.input.codingAgentRequiresDesktop":"Continue este chat do agente de código no aplicativo Studio para desktop.","chat.input.fastPreviewUnavailable":"O chat não está disponível em projetos Fast Preview. Use o CMS para editar o conteúdo.","chat.fastPreview.chatNeedsSession":"O chat precisa de um sandbox de código por trás. A sessão continua neste branch e o CMS segue funcionando normalmente.","chat.fastPreview.startCodingSession":"Iniciar sessão de código","chat.input.readOnlyOthersChat":"Apenas leitura - você está visualizando um chat de outra pessoa","chat.input.readOnlyOthersChatNamed":"Apenas leitura - você está visualizando o chat de {name}","chat.input.readOnlyThread":"Apenas leitura - este chat rodou de forma autônoma e não aceita respostas","chat.input.sendMessage":"Enviar mensagem","chat.input.sendMessageEnter":"Enviar mensagem (Enter)","chat.input.stillSendingPreviousMessage":"Ainda enviando sua mensagem anterior — tente novamente em um momento","chat.input.stopGenerating":"Parar de gerar","chat.input.useTranscription":"Usar transcrição","chat.input.voiceInput":"Entrada de voz","chat.input.webSearch":"Busca na web","chat.input.placeholder":"Pergunte qualquer coisa, / para prompts & habilidades, @ para agentes & recursos...","chat.markdown.copyAsCSV":"Copiar como CSV","chat.markdown.copyCode":"Copiar código","chat.markdown.image":"Imagem","chat.markdown.openFile":"Abrir arquivo","chat.mentionAt.agentsDescription":"Mencione um agente para transferir o trabalho","chat.mentionAt.agentsTitle":"Agentes","chat.mentionAt.failedToLoadResource":"Falha ao carregar recurso. Tente novamente.","chat.mentionAt.resourcesDescription":"Anexar um recurso como contexto","chat.mentionAt.resourcesTitle":"Recursos","chat.mentionSlash.failedLoadPrompt":"Falha ao carregar prompt. Tente novamente.","chat.mentionSlash.failedLoadResource":"Falha ao carregar recurso. Tente novamente.","chat.mentionSlash.failedLoadSkill":"Falha ao carregar skill. Tente novamente.","chat.mentionSlash.failedUpdatePrompt":"Falha ao atualizar prompt. Tente novamente.","chat.nextActionChip.failedLoadPrompt":"Falha ao carregar prompt. Tente novamente.","chat.nextActionChip.mcpClientNotAvailable":"Cliente MCP não disponível","chat.nextActionChip.next":"Próximo:","chat.nativeAgentEmptyState.agentListLabel":"Agentes de codificação","chat.nativeAgentEmptyState.detected":"detectado","chat.nativeAgentEmptyState.detecting":"detectando","chat.nativeAgentEmptyState.heading":"Escolha um agente de codificação","chat.nativeAgentEmptyState.keyboardHint":"↑↓ selecionar · ↵ iniciar","chat.nativeAgentEmptyState.notDetected":"{label} não foi detectado neste computador","chat.nativeAgentEmptyState.tryAnyway":"tentar mesmo assim","chat.nativeTerminal.chooseAgentFirst":"Escolha Claude Code, Codex ou OpenCode antes de enviar uma mensagem.","chat.nativeTerminal.agentLabel":"agente de codificação","chat.nativeTerminal.chatClosedBeforePrompt":"O chat foi fechado antes do envio da mensagem. Reabra-o e tente novamente.","chat.nativeTerminal.connectionFailed":"Não foi possível conectar ao agente de codificação. Reabra o chat e tente novamente.","chat.nativeTerminal.emptyPrompt":"Escreva uma mensagem antes de enviar.","chat.nativeTerminal.exited":"O agente de codificação foi encerrado","chat.nativeTerminal.exitedBeforeReady":"O agente de codificação parou antes de ficar pronto. Reabra o chat e tente novamente.","chat.nativeTerminal.failed":"Erro no terminal","chat.nativeTerminal.promptFailed":"Não foi possível enviar a mensagem.","chat.nativeTerminal.promptDeliveryUnknown":"Perdemos a conexão depois que sua mensagem foi enviada. Ela pode já estar em execução; confira o agente de codificação antes de enviar novamente.","chat.nativeTerminal.promptTooLarge":"Esta mensagem é grande demais para enviar. Encurte-a e tente novamente.","chat.nativeTerminal.attachmentsUnsupported":"Anexos de arquivos e imagens ainda não estão disponíveis em chats com agentes de codificação.","chat.nativeTerminal.readOnly":"Somente o proprietário do chat pode abrir ou controlar o terminal.","chat.nativeTerminal.readOnlyTitle":"Chat somente leitura","chat.nativeTerminal.reconnectingAgent":"Reconectando ao {agent}…","chat.nativeTerminal.pulseConnected":"conectado","chat.nativeTerminal.pulseInitializing":"inicializando","chat.nativeTerminal.pulseReconnecting":"reconectando","chat.nativeTerminal.startingAgent":"Iniciando {agent}…","chat.nativeTerminal.structuredActionUnsupported":"Esta ação ainda não está disponível em chats com agentes de codificação.","chat.nativeTerminal.terminalLabel":"Terminal do agente de codificação","chat.nativeTerminal.unsupportedHarness":"Este chat foi criado com um agente que o aplicativo para desktop não suporta. Abra-o no Studio pela web ou atualize o Studio e tente novamente.","chat.nativeTerminal.unsupportedHarnessTitle":"Este chat não pode ser aberto no aplicativo para desktop","chat.nativeTerminal.unexpectedExit":"O agente de codificação parou inesperadamente. Reabra o chat e tente novamente.","chat.nativeTerminal.waitingForAgentOutput":"Aguardando saída do {agent}…","chat.nativeTerminal.waitingForTerminalDraw":"aguardando a exibição do terminal","chat.noAiProviderEmptyState.headingDefault":"Seus agentes estão quase prontos","chat.noAiProviderEmptyState.headingWithOrg":"{org} está pronto para agentes","chat.noAiProviderEmptyState.subtitleDefault":"Conecte um provedor de IA para começar a conversar.","chat.noAiProviderEmptyState.useLabel":"Usar {label}","chat.outputFileRow.download":"Baixar","chat.outputFileRow.downloadFile":"Baixar {filename}","chat.outputFileRow.open":"Abrir","chat.pagination.counter":"{current} de {total}","chat.pagination.nextLabel":"Próxima pergunta","chat.pagination.previousLabel":"Pergunta anterior","chat.proposePlan.approved":"Aprovado","chat.proposePlan.implementationPlan":"Plano de Implementação","chat.proposePlan.keepIterating":"Continuar iterando","chat.proposePlan.letsGo":"Vamos lá","chat.proposePlan.planReady":"Plano pronto","chat.proposePlan.preparingPlan":"Preparando plano...","chat.proposePlan.rejected":"Rejeitado","chat.proposePlan.viewPlan":"Ver plano","chat.queueTray.queuedMessage":"{count} mensagem na fila","chat.queueTray.queuedMessages":"{count} mensagens na fila","chat.queueTray.removeFromQueue":"Remover da fila","chat.queueTray.sendNow":"Enviar agora","chat.runStatus.analyzingScopeDetail":"Descobrindo como responder","chat.runStatus.analyzingScopeLabel":"Pensando","chat.runStatus.choosingNextStepsDetail":"Decidindo o que fazer a seguir","chat.runStatus.choosingNextStepsLabel":"Pensando","chat.runStatus.gatheringContextDetail":"Analisando o histórico, arquivos e notas","chat.runStatus.gatheringContextLabel":"Lendo o chat","chat.runStatus.preparingToolsDetail":"Preparando as ferramentas que ele pode usar","chat.runStatus.preparingToolsLabel":"Se preparando","chat.runStatus.receivedDetail":"Sua mensagem está na fila para ser tratada","chat.runStatus.receivedLabel":"Mensagem recebida","chat.runStatus.sendingDetail":"Adicionando sua mensagem ao chat","chat.runStatus.sendingLabel":"Enviando sua mensagem","chat.runStatus.startingAssistantDetail":"Quase pronto para responder","chat.runStatus.startingAssistantLabel":"Se preparando","chat.runStatus.startingRunDetail":"Configurando para trabalhar na sua mensagem","chat.runStatus.startingRunLabel":"Começando","chat.runStatus.waitingCapacityDetail":"Todos os outros runners estão ocupados — este começa assim que um ficar livre","chat.runStatus.waitingCapacityLabel":"Aguardando um runner livre","chat.runStatus.waitingRunnerDetail":"Finalizando a mensagem anterior neste chat","chat.runStatus.waitingRunnerLabel":"Aguardando para começar","chat.selectModel.selectModel":"Selecionar modelo","chat.selectVirtualMcp.chooseAgentTooltip":"Escolha um agente para conversar","chat.selectVirtualMcp.createAgent":"Criar Agente","chat.selectVirtualMcp.creating":"Criando...","chat.selectVirtualMcp.noAgentsFound":"Nenhum agente encontrado","chat.selectVirtualMcp.searchPlaceholder":"Pesquisar por um agente...","chat.selectVirtualMcp.selectAgent":"Selecionar Agente","chat.shared.approxWords":"~{wordCount} palavras","chat.shared.capabilityImage":"Imagem","chat.shared.capabilityReasoning":"Raciocínio","chat.shared.capabilityText":"Texto","chat.shared.capabilityTools":"Ferramentas","chat.shared.capabilityVision":"Visão","chat.shared.capabilityWebSearch":"Pesquisa na web","chat.shared.context":"Contexto","chat.shared.contextLevelLarge":"Grande","chat.shared.contextLevelLargeDesc":"Projetos longos e pesquisa","chat.shared.contextLevelMedium":"Médio","chat.shared.contextLevelMediumDesc":"Bom para a maioria das tarefas","chat.shared.contextLevelSmall":"Pequeno","chat.shared.contextLevelSmallDesc":"Conversas curtas","chat.shared.contextLevelVeryLarge":"Muito grande","chat.shared.contextLevelVeryLargeDesc":"Arquivos e dados massivos","chat.shared.contextWindow":"Janela de contexto","chat.shared.costLevelCheap":"Barato","chat.shared.costLevelExpensive":"Caro","chat.shared.costLevelHigh":"Alto","chat.shared.costLevelModerate":"Moderado","chat.shared.fileTypeAudio":"áudio","chat.shared.fileTypeImages":"imagens","chat.shared.fileTypeOffice":"Arquivos Office","chat.shared.fileTypePdfs":"PDFs","chat.shared.fileTypeVideo":"vídeo","chat.shared.hoverToPreview":"Passe o mouse para visualizar","chat.shared.input":"Entrada","chat.shared.output":"Saída","chat.shared.outputLimit":"Limite de saída","chat.shared.pricing":"Preços","chat.shared.selectModel":"Selecionar modelo","chat.shared.tokens":"tokens","chat.subtask.awaitingApproval":"Aguardando aprovação...","chat.subtask.completedNoOutput":"Subtarefa concluída (sem saída).","chat.subtask.completedTitle":"Subtarefa concluída","chat.subtask.errorLabel":"Erro","chat.subtask.failedTitle":"Subtarefa falhou","chat.subtask.failedWithError":"Subtarefa falhou: {error}","chat.subtask.flipToBackground":"Executar em background","chat.subtask.flipping":"Movendo para background…","chat.subtask.noPromptProvided":"Nenhum prompt fornecido","chat.subtask.resultLabel":"Resultado","chat.subtask.running":"Executando…","chat.subtask.runningEllipsis":"Subtarefa em execução...","chat.subtask.runningInBackground":"Executando em background…","chat.subtask.startingEllipsis":"Iniciando subtarefa...","chat.subtask.stepLimitNoOutput":"[A subtarefa atingiu o limite de etapas antes de produzir um relatório final. O subagente trabalhou, mas ficou sem etapas. Restrinja a tarefa ou aumente o orçamento.]","chat.subtask.stepLimitPartial":"[A subtarefa atingiu o limite de etapas — resultado parcial abaixo; considere restringir a tarefa.]","chat.subtask.subtaskNoun":"Subtarefa","chat.subtask.taskLabel":"Tarefa","chat.takeScreenshot.failed":"Falhou","chat.takeScreenshot.screenshot":"Captura de tela","chat.takeScreenshot.screenshotAlt":"Captura de tela","chat.takeScreenshot.taking":"Capturando tela","chat.takeScreenshot.title":"Capturar tela","chat.textPart.copyMessage":"Copiar mensagem","chat.thinkingIndicator.cancel":"Cancelar","chat.thinkingIndicator.planningDetail":"Decidindo como abordar a solicitação","chat.thinkingIndicator.planningLabel":"Planejando os próximos passos","chat.thinkingIndicator.takingLonger":"Isso está levando mais tempo que o usual.","chat.thinkingIndicator.thinking":"Pensando...","chat.thinkingIndicator.thinkingDetail":"Processando a próxima resposta","chat.thinkingIndicator.thinkingLabel":"Pensando","chat.thinkingIndicator.thought":"Pensou","chat.thinkingIndicator.thoughtFor":"Pensou por {duration}","chat.tierTrigger.selected":"Selecionado","chat.tierTrigger.tierFast":"Rápido","chat.tierTrigger.tierSmart":"Inteligente","chat.tierTrigger.tierThinking":"Pensamento","chat.threadsMenu.chats":"Chats","chat.toolsPopover.addFile":"Adicionar arquivo","chat.toolsPopover.approval":"Aprovação","chat.toolsPopover.connections":"Conexões","chat.toolsPopover.createImage":"Criar imagem","chat.toolsPopover.deepResearch":"Pesquisa aprofundada","chat.toolsPopover.failedLoadPrompt":"Falha ao carregar prompt. Por favor, tente novamente.","chat.toolsPopover.loadingPrompts":"Carregando prompts…","chat.toolsPopover.modelNoFileSupport":"O modelo selecionado não suporta leitura de arquivos ou imagens.","chat.toolsPopover.noPromptsAvailable":"Nenhum prompt disponível","chat.toolsPopover.on":"Ativado","chat.toolsPopover.planMode":"Modo planejamento","chat.toolsPopover.prompts":"Prompts","chat.toolsPopover.tools":"Ferramentas","chat.toolsPopover.webSearch":"Busca na web","chat.triggerEventPart.triggeredByEvent":"Acionado por evento","chat.uploader.accepts":"{modelName} aceita","chat.uploader.cantAttachToChat":"não pode ser anexado a este chat.","chat.uploader.fileTypeNotSupported":"Tipo de arquivo não suportado","chat.uploader.gotIt":"Entendi","chat.userAskQuestion.choiceOptionsAriaLabel":"Opções de escolha","chat.userAskQuestion.confirmNo":"Não","chat.userAskQuestion.confirmValue":"Confirme {value}","chat.userAskQuestion.confirmYes":"Sim","chat.userAskQuestion.confirmationOptionsAriaLabel":"Opções de confirmação","chat.userAskQuestion.customChoiceInputAriaLabel":"Entrada de escolha customizada","chat.userAskQuestion.preparingQuestion":"Preparando pergunta...","chat.userAskQuestion.question":"Pergunta","chat.userAskQuestion.questionCount":"{current} de {total}","chat.userAskQuestion.questionPending":"Pergunta pendente","chat.userAskQuestion.selectOption":"Selecione {option}","chat.userAskQuestion.skip":"Pular","chat.userAskQuestion.skipMessage":"usuário pulou esta pergunta","chat.userAskQuestion.skippedAnswer":"Pulado","chat.userAskQuestion.somethingElsePlaceholder":"Algo mais...","chat.userAskQuestion.textResponseInputAriaLabel":"Entrada de resposta em texto","chat.userAskQuestion.typeResponse":"Digite sua resposta...","chat.webSearch.failed":"Falhou","chat.webSearch.researching":"Pesquisando...","chat.webSearch.showLess":"mostrar menos","chat.webSearch.showMore":"+{count} mais","chat.webSearch.title":"Busca na web","chat.mention.editPrompt":"Editar argumentos do prompt {name}","chat.mention.noItemsFound":"Nenhum item encontrado","chat.modelPreferences.title":"Seus modelos","chat.modelPreferences.description":"Escolha qual modelo cada nível usa para você. Isso altera apenas os seus chats — o padrão da organização permanece o mesmo.","chat.modelPreferences.customizeModel":"Personalizar modelo de {tier}","chat.modelPreferences.pickModel":"Escolher modelo","chat.modelPreferences.reset":"Redefinir","chat.modelPreferences.usingOrgDefault":"Usando o padrão da organização","chat.modelPreferences.orgDefaultIs":"Padrão da organização: {model}","chat.modelPreferences.autoPicked":"escolhido automaticamente","chat.modelPreferences.loadFailed":"Não foi possível carregar suas escolhas de modelo. O que aparece abaixo pode não corresponder ao que seus chats usam.","chat.todoStatus.completed":"concluído","chat.todoStatus.inProgress":"em progresso","chat.todoStatus.pending":"pendente","chat.subscriptionLimit.trialLabel":"Assinatura necessária","chat.subscriptionLimit.trialTitle":"Esta organização usou as 3 execuções grátis de auto tasks. Assine para continuar.","chat.subscriptionLimit.monthlyLabel":"Cota de auto tasks esgotada","chat.subscriptionLimit.monthlyTitle":"Esta organização usou suas execuções de auto tasks deste ciclo de cobrança. Mais ficam disponíveis no próximo ciclo.","chat.subscriptionLimit.runsLabel":"Limite da task atingido","chat.subscriptionLimit.runsTitle":"Esta task atingiu o limite de re-execuções. Crie uma nova task para continuar.","chat.subscriptionLimit.subscribeButton":"Assinar"},wae={"automations.addStarterPopover.addStarter":"Adicionar Gatilho","automations.addStarterPopover.customCron":"Personalizado (cron)","automations.addStarterPopover.event":"Evento","automations.addStarterPopover.every":"A cada...","automations.addStarterPopover.everyUnit":"A cada {unit}","automations.addStarterPopover.failedAddStarter":"Erro ao adicionar gatilho","automations.addStarterPopover.failedAddWebhookStarter":"Erro ao adicionar gatilho webhook","automations.addStarterPopover.starterAdded":"Gatilho adicionado","automations.addStarterPopover.webhook":"Webhook","automations.addStarterPopover.webhookStarterAdded":"Gatilho webhook adicionado","automations.automationConfig.all":"Todos","automations.automationConfig.allTools":"Todas as ferramentas","automations.automationConfig.allToolsEnabled":"Todas as {count} ferramentas habilitadas","automations.automationConfig.browser":"Navegador","automations.automationConfig.builtinCapabilities":"Capacidades integradas","automations.automationConfig.clear":"Limpar","automations.automationConfig.connectAiProviderHint":"Conecte um provedor de IA nas configurações para selecionar um modelo específico.","automations.automationConfig.context":"Contexto","automations.automationConfig.filesCode":"Arquivos e código","automations.automationConfig.loadingModels":"Carregando modelos…","automations.automationConfig.loadingTools":"Carregando ferramentas…","automations.automationConfig.modelLabel":"Modelo","automations.automationConfig.noToolsFound":"Nenhuma ferramenta encontrada","automations.automationConfig.none":"Nenhum","automations.automationConfig.otherTools":"Outras ferramentas","automations.automationConfig.pickAgentFirst":"Selecione um agente primeiro","automations.automationConfig.pickModelPlaceholder":"Selecione um modelo","automations.automationConfig.searchToolsPlaceholder":"Pesquisar ferramentas...","automations.automationConfig.selectAll":"Selecionar tudo","automations.automationConfig.specificModel":"Modelo específico","automations.automationConfig.tierFast":"Rápido","automations.automationConfig.tierFastSubtitle":"Respostas rápidas para tarefas simples","automations.automationConfig.tierSmart":"Inteligente","automations.automationConfig.tierSmartSubtitle":"Equilíbrio entre qualidade e velocidade","automations.automationConfig.tierThinking":"Raciocínio","automations.automationConfig.tierThinkingSubtitle":"Raciocínio profundo para tarefas complexas","automations.automationConfig.toolAskUser":"Pergunte ao usuário","automations.automationConfig.toolAskUserDesc":"Pause para fazer uma pergunta de esclarecimento ao usuário","automations.automationConfig.toolEditFile":"Editar arquivo","automations.automationConfig.toolEditFileDesc":"Faça edições direcionadas em um arquivo existente","automations.automationConfig.toolFindFiles":"Encontrar arquivos","automations.automationConfig.toolFindFilesDesc":"Encontre arquivos por padrão de nome","automations.automationConfig.toolGenerateImage":"Gerar imagem","automations.automationConfig.toolGenerateImageDesc":"Crie imagens a partir de um prompt de texto","automations.automationConfig.toolInspectPage":"Inspecionar página","automations.automationConfig.toolInspectPageDesc":"Inspecione a estrutura de uma página web","automations.automationConfig.toolLoadSkill":"Carregar habilidade","automations.automationConfig.toolLoadSkillDesc":"Carregue as instruções completas de uma habilidade (SKILL.md) por id","automations.automationConfig.toolReadFile":"Ler arquivo","automations.automationConfig.toolReadFileDesc":"Leia um arquivo do espaço de trabalho","automations.automationConfig.toolReadPrompt":"Ler prompt","automations.automationConfig.toolReadPromptDesc":"Leia uma definição de prompt MCP","automations.automationConfig.toolReadResource":"Ler recurso","automations.automationConfig.toolReadResourceDesc":"Leia um recurso MCP por URI","automations.automationConfig.toolRunCommand":"Executar comando","automations.automationConfig.toolRunCommandDesc":"Execute comandos shell na sandbox","automations.automationConfig.toolScrapeUrl":"Raspar URL","automations.automationConfig.toolScrapeUrlDesc":"Busque e extraia conteúdo de uma URL","automations.automationConfig.toolSearchContent":"Pesquisar conteúdo","automations.automationConfig.toolSearchContentDesc":"Pesquise conteúdo de arquivo por padrão","automations.automationConfig.toolSubtask":"Subtarefa","automations.automationConfig.toolSubtaskDesc":"Crie um sub-agente focado para lidar com parte do trabalho","automations.automationConfig.toolTakeScreenshot":"Tirar captura de tela","automations.automationConfig.toolTakeScreenshotDesc":"Capture uma captura de tela de uma página web","automations.automationConfig.toolWebSearch":"Busca na web","automations.automationConfig.toolWebSearchDesc":"Pesquise informações atuais na web","automations.automationConfig.toolWriteFile":"Escrever arquivo","automations.automationConfig.toolWriteFileDesc":"Crie ou sobrescreva um arquivo","automations.automationConfig.tools":"Ferramentas","automations.automationConfig.toolsEnabledCount":"{enabled} de {total} habilitadas","automations.automationConfig.toolsLabel":"Ferramentas","automations.automationDetail.active":"Ativo","automations.automationDetail.addStarter":"Adicionar um acionador","automations.automationDetail.advanced":"Avançado","automations.automationDetail.automationNamePlaceholder":"Nome da automação","automations.automationDetail.backToList":"Voltar para a lista","automations.automationDetail.failedToAddStarter":"Falha ao adicionar acionador","automations.automationDetail.improve":"Melhorar","automations.automationDetail.inactive":"Inativo","automations.automationDetail.instructions":"Instruções","automations.automationDetail.instructionsPlaceholder":"O que esta automação deve fazer?","automations.automationDetail.invalid":"inválido","automations.automationDetail.loadingConnections":"Carregando conexões...","automations.automationDetail.maxSteps":"Máx. passos","automations.automationDetail.maxStepsPlaceholder":"{default} (padrão)","automations.automationDetail.noInstructionsConfigured":"Nenhuma instrução configurada para esta automação","automations.automationDetail.starter":"Acionador","automations.automationDetail.starterAdded":"Acionador adicionado","automations.automationDetail.test":"Testar","automations.automationDetail.testAutomation":"Testar Automação","automations.automationDetail.toGetGoing":"para começar.","automations.automationDetail.whenShouldRun":"Quando esta automação deve executar?","automations.automationListRow.ariaActive":"Ativo","automations.automationListRow.ariaNoTriggers":"Nenhum gatilho configurado","automations.automationListRow.ariaPaused":"Pausado","automations.automationListRow.cancel":"Cancelar","automations.automationListRow.delete":"Deletar","automations.automationListRow.deleteButton":"Deletar","automations.automationListRow.deleteDescription":"Isto remove {name} e todos os seus gatilhos. Esta ação não pode ser desfeita.","automations.automationListRow.deleteTitle":"Deletar automação?","automations.automationListRow.nextRun":"Próxima execução {date}","automations.automationListRow.noTriggers":"Nenhum gatilho configurado","automations.automationListRow.triggers":"{count} gatilho(s)","automations.automationRuns.costHeader":"Custo","automations.automationRuns.costTitle":"Custo","automations.automationRuns.failed":"falhadas","automations.automationRuns.lastRunsSubtitle":"últimas {count} execuções","automations.automationRuns.loadingMore":"Carregando mais…","automations.automationRuns.loadingRuns":"Carregando execuções…","automations.automationRuns.noRunsDescription":"Esta automação ainda não foi executada. Dispare-a ou aguarde um inicializador disparar.","automations.automationRuns.noRunsTitle":"Nenhuma execução ainda","automations.automationRuns.noStartersDescription":"Adicione um inicializador (cron, evento ou webhook) para começar a coletar execuções.","automations.automationRuns.noStartersTitle":"Nenhum inicializador ainda","automations.automationRuns.ok":"ok","automations.automationRuns.runHeader":"Execução","automations.automationRuns.running":"em execução","automations.automationRuns.runsTitle":"Execuções","automations.automationRuns.startedHeader":"Iniciada","automations.automationRuns.statusHeader":"Status","automations.automationRuns.successRateTitle":"Taxa de sucesso","automations.automationRuns.tokensHeader":"Tokens","automations.automationRuns.tokensTitle":"Tokens","automations.automationsList.emptyDescription":"Crie sua primeira automação para executar este agente em um cronograma ou em resposta a eventos.","automations.automationsList.emptyTitle":"Nenhuma automação ainda","automations.automationsList.newAutomation":"Nova automação","automations.automationsList.noResultsDescription":'Nenhuma automação corresponde a "{search}"',"automations.automationsList.noResultsTitle":"Nenhuma automação encontrada","automations.automationsList.searchPlaceholder":"Pesquisar automações...","automations.automationsList.title":"Automações","automations.eventTriggerForm.addTriggerButton":"Adicionar gatilho","automations.eventTriggerForm.errorFailed":"Falha ao adicionar gatilho de evento","automations.eventTriggerForm.loadingEvents":"Carregando eventos...","automations.eventTriggerForm.noConnectionsWithTrigger":"Nenhuma conexão com suporte a gatilho","automations.eventTriggerForm.selectConnectionPlaceholder":"Selecionar conexão...","automations.eventTriggerForm.selectEventTypePlaceholder":"Selecionar tipo de evento...","automations.eventTriggerForm.selectParamPlaceholder":"Selecionar {key}...","automations.eventTriggerForm.successAdded":"Gatilho de evento adicionado","automations.eventTriggerForm.title":"Gatilho de evento","automations.triggerCard.cancel":"Cancelar","automations.triggerCard.confirmRemoveStarter":"Tem certeza de que deseja remover este disparador?","automations.triggerCard.every":"A cada","automations.triggerCard.failedToRemoveStarter":"Falha ao remover disparador","automations.triggerCard.failedToUpdateStarter":"Falha ao atualizar disparador","automations.triggerCard.invalid":"inválido","automations.triggerCard.newWebhookToken":"Novo token de webhook","automations.triggerCard.newWebhookTokenDescription":"O token anterior foi revogado. Copie o novo token agora — ele não será mostrado novamente.","automations.triggerCard.remove":"Remover","automations.triggerCard.removeStarter":"Remover Disparador","automations.triggerCard.rotate":"Girar","automations.triggerCard.rotateToken":"Girar token","automations.triggerCard.rotateWebhookToken":"Girar token de webhook","automations.triggerCard.rotateWebhookTokenDescription":"Um novo token será gerado e o token atual deixará de funcionar. Quaisquer remetentes que usem o token antigo devem ser atualizados.","automations.triggerCard.starterRemoved":"Disparador removido","automations.triggerCard.webhookPostToFire":"Webhook · POST para disparar","automations.webhookSecretDialog.copied":"Copiado","automations.webhookSecretDialog.copy":"Copiar","automations.webhookSecretDialog.done":"Concluído","automations.webhookSecretDialog.failedCopy":"Falha ao copiar","automations.webhookSecretDialog.snippet":"Snippet","automations.webhookSecretDialog.tokenInUrl":"Token na URL","automations.webhookSecretDialog.tokenLabel":"Token (exibido uma vez)","automations.webhookSecretDialog.url":"URL"},Cae={"agentShellLayout.agentShellLayout.runtimeUnavailableOnWeb":"Este chat não está disponível na web","agentShellLayout.agentShellLayout.runtimeUnavailableOnWebDescription":"Chats com agentes de código são executados localmente no Studio Desktop. Abra este chat lá para continuar.","agentShellLayout.agentShellLayout.agentNotFound":"Agente não encontrado","agentShellLayout.agentShellLayout.agentNotFoundDescription":'O agente "{virtualMcpId}" não existe nesta organização.',"agentShellLayout.agentShellLayout.chatLoadingError":"Algo deu errado ao carregar o chat. Tente atualizar.","agentShellLayout.agentShellLayout.creatingTask":"Criando tarefa…","agentShellLayout.agentShellLayout.goToOrgHome":"Ir para a página inicial da organização","agentShellLayout.agentShellLayout.nativeRuntimeUnavailable":"O terminal nativo não está disponível. Reinicie o Studio e tente novamente.","agentShellLayout.agentShellLayout.somethingWentWrong":"Algo deu errado. Tente atualizar.","agentShellLayout.agentShellLayout.taskUnavailable":"Tarefa indisponível","agentShellLayout.libraryToggle.library":"Biblioteca","agentShellLayout.tasksToggle.tasks":"Tarefas","agentShellLayout.toggleButtons.hideChat":"Ocultar chat","agentShellLayout.toggleButtons.hidePanel":"Ocultar painel","agentShellLayout.toggleButtons.showChat":"Mostrar chat","agentShellLayout.toggleButtons.showPanel":"Mostrar painel","agentShellLayout.toggleButtons.chat":"Chat","agentShellLayout.toolbar.backToHome":"Voltar para home","agentShellLayout.toolbar.logo":"Logo"},xae={"admin.layout.adminDashboard":"Painel de Administração","admin.layout.adminDashboardArea":"o painel de administração","admin.layout.emailVerificationRequired":"Verifique seu endereço de e-mail para acessar o painel de administração.","admin.layout.goHome":"Voltar para início","admin.layout.organizationsTab":"Organizações","admin.layout.restrictedToDashboard":"Este painel é restrito a administradores de implantação.","admin.layout.usersTab":"Usuários","admin.orgs.addMember":"Adicionar membro","admin.orgs.addMemberTo":"Adicionar membro para {org}","admin.orgs.adding":"Adicionando...","admin.orgs.cancel":"Cancelar","admin.orgs.created":"Criado","admin.orgs.email":"E-mail","admin.orgs.emailPlaceholder":"usuario@example.com","admin.orgs.failedAddMember":"Falha ao adicionar membro","admin.orgs.failedLoadOrgs":"Falha ao carregar organizações","admin.orgs.failedLoadOrgsDescription":"Algo deu errado. Atualize para tentar novamente.","admin.orgs.memberAdded":"{email} adicionado(a) a {org}","admin.orgs.members":"Membros","admin.orgs.noOrgsFound":"Nenhuma organização encontrada","admin.orgs.noOrgsMatchSearch":'Nenhuma organização corresponde a "{search}"',"admin.orgs.noOrgsYet":"Nenhuma organização existe ainda.","admin.orgs.organization":"Organização","admin.orgs.searchPlaceholder":"Procure organizações por nome ou slug...","admin.users.columnCreated":"Criado","admin.users.columnEmail":"E-mail","admin.users.columnUser":"Usuário","admin.users.failedToImpersonate":"Falha ao assumir identidade do usuário","admin.users.failedToLoadDescription":"Algo deu errado. Atualize a página para tentar novamente.","admin.users.failedToLoadTitle":"Falha ao carregar usuários","admin.users.impersonate":"Assumir identidade","admin.users.noUsersFoundTitle":"Nenhum usuário encontrado","admin.users.noUsersMatchSearch":'Nenhum usuário corresponde a "{search}"',"admin.users.noUsersYet":"Nenhum usuário ainda.","admin.users.searchPlaceholder":"Pesquise usuários por e-mail ou nome...","admin.users.unknown":"Desconhecido","admin.users.unverified":"Não verificado","admin.users.verified":"Verificado"},Eae={"sandbox.appEditor.createdSection":'Seção "{name}" criada',"sandbox.appEditor.editingBreadcrumb":"Trilha de navegação de edição","sandbox.appEditor.failedAddSection":"Não foi possível adicionar a seção","sandbox.appEditor.loadingSchema":"Carregando schema do app…","sandbox.appEditor.noEditableSchema":"Nenhum schema editável foi encontrado para este app.","sandbox.availableSectionEditor.editingBreadcrumb":"Navegação de edição","sandbox.availableSectionEditor.localEditsHint":"{typeLabel} — edições permanecem locais até que você salve isto como uma seção global.","sandbox.availableSectionEditor.noEditableFields":"Nenhum campo editável para esta seção.","sandbox.availableSectionEditor.saveAsGlobalSection":"Salvar como seção global","sandbox.blockPicker.blocksLabel":"Blocos","sandbox.blockPicker.customBlocksLabel":"Blocos personalizados","sandbox.blockPicker.insertBlockButton":"Inserir bloco","sandbox.blockPicker.noBlocksFound":"Nenhum bloco encontrado.","sandbox.blockPicker.searchPlaceholder":"Pesquisar blocos…","sandbox.blockRegistry.unknownBlockType":'Tipo de bloco desconhecido{type ? ` (${type})` : ""}.',"sandbox.blockRegistry.writeSomethingPlaceholder":"Escreva algo…","sandbox.blockRow.deleteBlock":"Deletar bloco","sandbox.blockRow.dragToReorder":"Arraste para reordenar","sandbox.blockRow.duplicateBlock":"Duplicar bloco","sandbox.bulkCategoryPanel.applyButton":"Aplicar","sandbox.bulkCategoryPanel.cancelButton":"Cancelar","sandbox.bulkCategoryPanel.categoryLabel":"Categoria","sandbox.bulkCategoryPanel.descriptionEmpty":"Selecione posts da lista para escolher a quais posts essa atualização se aplica.","sandbox.bulkCategoryPanel.descriptionWithCount":"Escolha uma categoria para aplicar a {count} post(s).","sandbox.bulkCategoryPanel.exitSelection":"Sair da seleção","sandbox.bulkCategoryPanel.modeAddDescription":"Mantenha as categorias existentes e adicione esta.","sandbox.bulkCategoryPanel.modeAddTitle":"Adicionar categoria","sandbox.bulkCategoryPanel.modeReplaceDescription":"Remova todas as categorias atuais e defina apenas esta.","sandbox.bulkCategoryPanel.modeReplaceTitle":"Substituir categoria","sandbox.bulkCategoryPanel.noCategoriesMessage":"Nenhuma categoria ainda — crie uma na coleção de Categorias.","sandbox.bulkCategoryPanel.noPostsSelectedMessage":"Nenhum post selecionado ainda — escolha-os da lista à esquerda.","sandbox.bulkCategoryPanel.selectCategoryPlaceholder":"Selecione uma categoria","sandbox.bulkCategoryPanel.selectedCount":"{count} post(s) selecionado(s)","sandbox.bulkCategoryPanel.selectedPostsLabel":"{count} post(s) selecionado(s)","sandbox.bulkCategoryPanel.title":"Atualizar categoria","sandbox.bulkCategoryPanel.updatingButton":"Atualizando…","sandbox.categoryEditor.addPostsButton":"Adicionar posts","sandbox.categoryEditor.cancelButton":"Cancelar","sandbox.categoryEditor.categoryNamePlaceholder":"Nome da categoria","sandbox.categoryEditor.contentTitle":"Conteúdo","sandbox.categoryEditor.descriptionLabel":"Descrição","sandbox.categoryEditor.descriptionPlaceholder":"Descrição breve desta categoria","sandbox.categoryEditor.noContentEmpty":"Esta categoria ainda não possui conteúdo. Use ⊕ para adicionar seu primeiro bloco.","sandbox.categoryEditor.pickPostsTooltip":"Selecione posts para adicionar nesta categoria","sandbox.categoryEditor.postsInCategory":"{count} post(s) nesta categoria","sandbox.categoryEditor.previewTooltip":"Abra a visualização da categoria em uma nova aba","sandbox.categoryEditor.renameActionButton":"Renomear e atualizar posts","sandbox.categoryEditor.renameDialogDescription":'Alterar o slug de "{oldSlug}" para "{newSlug}" atualizará {count} post(s) que fazem referência a esta categoria.',"sandbox.categoryEditor.renameDialogTitle":"Renomear slug da categoria?","sandbox.categoryEditor.renameFailed":"Falha ao renomear","sandbox.categoryEditor.renameSuccessNoPosts":"Slug renomeado","sandbox.categoryEditor.renameSuccessWithPosts":"Slug renomeado e {count} post(s) atualizado(s)","sandbox.categoryEditor.renamingLabel":"Renomeando…","sandbox.categoryEditor.seeCategoryPreview":"Ver visualização da categoria","sandbox.categoryEditor.setSlugTooltip":"Defina um slug para adicionar posts nesta categoria","sandbox.categoryEditor.slugLabel":"Slug","sandbox.categoryEditor.slugPlaceholder":"minha-categoria","sandbox.categoryEditor.untitledCategory":"Categoria sem título","sandbox.categoryEditor.untitledPost":"Post sem título","sandbox.collectionsSidebar.actions":"Ações","sandbox.collectionsSidebar.apps":"Apps","sandbox.collectionsSidebar.authors":"Autores","sandbox.collectionsSidebar.blog":"Blog","sandbox.collectionsSidebar.calendar":"Calendário","sandbox.collectionsSidebar.categories":"Categorias","sandbox.collectionsSidebar.content":"Conteúdo","sandbox.collectionsSidebar.loaders":"Carregadores","sandbox.collectionsSidebar.pages":"Páginas","sandbox.collectionsSidebar.posts":"Posts","sandbox.collectionsSidebar.redirects":"Redirecionamentos","sandbox.collectionsSidebar.sections":"Seções","sandbox.collectionsSidebar.seo":"SEO","sandbox.collectionsSidebar.site":"Site","sandbox.drawer.failedToRestart":"Falha ao reiniciar {name}","sandbox.drawer.failedToRun":"Falha ao executar {name}","sandbox.drawer.failedToStop":"Falha ao parar {name}","sandbox.drawer.run":"Executar","sandbox.drawer.scriptNotRunning":'Script "{name}" não está em execução',"sandbox.envVarsField.addEnvVar":"Adicionar variável de ambiente","sandbox.envVarsField.added":"Adicionada(s) {added} variável(eis)","sandbox.envVarsField.addedWithSkipped":"Adicionada(s) {added} variável(eis) ({skipped} já existia(m))","sandbox.envVarsField.allKeysExist":"Todas as {count} chave(s) já existem","sandbox.envVarsField.cancel":"Cancelar","sandbox.envVarsField.clipboardEmpty":"A área de transferência está vazia","sandbox.envVarsField.clipboardReadFailed":"Não foi possível ler a área de transferência","sandbox.envVarsField.createNewSecret":"Criar novo segredo","sandbox.envVarsField.createNewSecretAriaLabel":"Criar novo segredo","sandbox.envVarsField.createNewSecretDescription":"Armazenado criptografado no cofre de credenciais. A variável de ambiente referenciará o novo segredo por id.","sandbox.envVarsField.createNewSecretTitle":"Criar novo segredo","sandbox.envVarsField.description":"Injetadas na sandbox a cada início. Referencie um segredo de org/usuário para manter os valores fora dos metadados; valores literais são armazenados inline.","sandbox.envVarsField.descriptionLabel":"Descrição (opcional)","sandbox.envVarsField.descriptionPlaceholder":"Para que este segredo é usado?","sandbox.envVarsField.envVarKeyLabel":"Chave da variável de ambiente {index}","sandbox.envVarsField.envVarValueLabel":"Valor da variável de ambiente {index}","sandbox.envVarsField.failedToLoadSecrets":"Falha ao carregar segredos","sandbox.envVarsField.failedToSaveSecret":"Falha ao salvar","sandbox.envVarsField.invalidKeyMessage":"Letras, dígitos, sublinhados. Deve começar com uma letra ou sublinhado.","sandbox.envVarsField.keyPlaceholder":"CHAVE","sandbox.envVarsField.literal":"Literal","sandbox.envVarsField.missingSecret":"Segredo ausente ({id})","sandbox.envVarsField.nameHelperText":"Letras, dígitos, sublinhado, ponto, hífen. Independente da chave da variável de ambiente.","sandbox.envVarsField.nameLabel":"Nome","sandbox.envVarsField.namePlaceholder":"STRIPE_API_KEY","sandbox.envVarsField.noSecretsYet":'Nenhum segredo ainda. Use o "+" para criar um.',"sandbox.envVarsField.nothingToAdd":"Nada para adicionar","sandbox.envVarsField.pasteDotenv":"Colar .env","sandbox.envVarsField.pasteDotenvAriaLabel":"Colar .env","sandbox.envVarsField.pasteDotenvTooltip":"Leia um blob .env da área de transferência. Cada par é preparado como um literal — salve as linhas individuais como segredos depois.","sandbox.envVarsField.pickSecretPlaceholder":"Escolha um segredo…","sandbox.envVarsField.remove":"Remover","sandbox.envVarsField.removeEnvVarAriaLabel":"Remover variável de ambiente","sandbox.envVarsField.restartDev":"Reiniciar dev","sandbox.envVarsField.restartFailed":"Falha ao reiniciar {failed} de {total} ramificação(ões)","sandbox.envVarsField.restartedMultiple":"Reiniciadas {count} ramificações com novo ambiente","sandbox.envVarsField.restartedSingle":"Dev reiniciado com novo ambiente","sandbox.envVarsField.restarting":"Reiniciando…","sandbox.envVarsField.sandboxRunningNotice":"Sua sandbox está em execução. Reinicie o script de desenvolvimento para aplicar o novo ambiente.","sandbox.envVarsField.saveAsSecret":"Salvar valor como segredo","sandbox.envVarsField.saveAsSecretAriaLabel":"Salvar valor como segredo","sandbox.envVarsField.saveSecret":"Salvar segredo","sandbox.envVarsField.saveValueAsSecretDescription":"Mova este valor para o cofre criptografado. A variável de ambiente referenciará o segredo por id — seu valor nunca sai do servidor.","sandbox.envVarsField.saveValueAsSecretTitle":"Salvar valor como segredo","sandbox.envVarsField.saving":"Salvando…","sandbox.envVarsField.scopeLabel":"Escopo","sandbox.envVarsField.scopeOrganization":"Organização — visível para todos os membros","sandbox.envVarsField.scopePrivate":"Privado — visível apenas para mim","sandbox.envVarsField.secret":"Segredo","sandbox.envVarsField.secretSaved":'Segredo "{name}" salvo',"sandbox.envVarsField.secretValuePlaceholder":"valor do segredo","sandbox.envVarsField.title":"Variáveis de ambiente","sandbox.envVarsField.valueLabel":"Valor","sandbox.envVarsField.valuePlaceholder":"valor","sandbox.fileExplorer.askTheAiPlaceholder":"Pergunte à IA...","sandbox.fileExplorer.deleteFailed":"Falha ao deletar","sandbox.fileExplorer.failedToCopyText":"Falha ao copiar {label}","sandbox.fileExplorer.failedToLoadFolder":"Falha ao carregar pasta","sandbox.fileExplorer.failedToOpenFile":"Falha ao abrir arquivo","sandbox.fileExplorer.failedToRefreshFileTree":"Falha ao atualizar árvore de arquivos","sandbox.fileExplorer.fileAlreadyExists":'"{name}" já existe',"sandbox.fileExplorer.fileCreated":'Criado "{name}"',"sandbox.fileExplorer.fileDeleted":'Deletado "{name}"',"sandbox.fileExplorer.fileListTruncated":"Lista de arquivos truncada — alguns arquivos podem estar ocultos","sandbox.fileExplorer.files":"Arquivos","sandbox.fileExplorer.folderCreated":'Pasta criada "{name}"',"sandbox.fileExplorer.folderListingTruncated":"Lista de pastas truncada — expanda novamente para carregar mais","sandbox.fileExplorer.inFiles":"Nos arquivos","sandbox.fileExplorer.modified":"Modificado","sandbox.fileExplorer.newFile":"Novo arquivo","sandbox.fileExplorer.newFileLabel":"Novo arquivo","sandbox.fileExplorer.newFolder":"Nova pasta","sandbox.fileExplorer.newFolderLabel":"Nova pasta","sandbox.fileExplorer.noFileNamesMatch":"Nenhum nome de arquivo corresponde","sandbox.fileExplorer.noFilesFound":"Nenhum arquivo encontrado","sandbox.fileExplorer.noMatchesInFileContents":"Nenhuma correspondência no conteúdo dos arquivos","sandbox.fileExplorer.operationFailed":"Operação falhou","sandbox.fileExplorer.renamedTo":'Renomeado para "{name}"',"sandbox.fileExplorer.saved":"Salvo","sandbox.fileExplorer.searchFilesLabel":"Pesquisar arquivos","sandbox.fileExplorer.searchFilesPlaceholder":"Pesquisar arquivos...","sandbox.fileExplorer.selectFileToEdit":"Selecione um arquivo para editar","sandbox.fileExplorer.send":"Enviar","sandbox.fileExplorer.textCopied":"{label} copiado","sandbox.fileExplorerDeleteDialog.cancel":"Cancelar","sandbox.fileExplorerDeleteDialog.delete":"Excluir","sandbox.fileExplorerDeleteDialog.description":"Isso excluirá permanentemente","sandbox.fileExplorerDeleteDialog.folderSuffix":" e tudo dentro dela.","sandbox.fileExplorerDeleteDialog.titleFile":"Excluir arquivo?","sandbox.fileExplorerDeleteDialog.titleFolder":"Excluir pasta?","sandbox.fileExplorerDeleteDialog.unsavedChangesMany":"{count} arquivos abertos têm alterações não salvas que serão perdidas.","sandbox.fileExplorerDeleteDialog.unsavedChangesOne":"Um arquivo aberto tem alterações não salvas que serão perdidas.","sandbox.fileExplorerNameDialog.cancel":"Cancelar","sandbox.fileExplorerNameDialog.location":"Local","sandbox.fileExplorerNameDialog.name":"Nome","sandbox.fileExplorerNameDialog.newFileDescription":"Digite um nome para o novo arquivo.","sandbox.fileExplorerNameDialog.newFilePlaceholder":"nomedoarquivo.ts","sandbox.fileExplorerNameDialog.newFileSubmit":"Criar","sandbox.fileExplorerNameDialog.newFileTitle":"Novo Arquivo","sandbox.fileExplorerNameDialog.newFolderDescription":"Digite um nome para a nova pasta.","sandbox.fileExplorerNameDialog.newFolderPlaceholder":"nome-da-pasta","sandbox.fileExplorerNameDialog.newFolderSubmit":"Criar","sandbox.fileExplorerNameDialog.newFolderTitle":"Nova Pasta","sandbox.fileExplorerNameDialog.renameDescription":"Digite um novo nome para este item.","sandbox.fileExplorerNameDialog.renamePlaceholder":"novo-nome","sandbox.fileExplorerNameDialog.renameSubmit":"Renomear","sandbox.fileExplorerNameDialog.renameTitle":"Renomear","sandbox.fileExplorerNameDialog.saving":"Salvando…","sandbox.fileTreeRow.copyPath":"Copiar caminho","sandbox.fileTreeRow.copyRelativePath":"Copiar caminho relativo","sandbox.fileTreeRow.delete":"Deletar","sandbox.fileTreeRow.newFile":"Novo arquivo","sandbox.fileTreeRow.newFolder":"Nova pasta","sandbox.fileTreeRow.rename":"Renomear","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.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.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.mediaBlocks.divider":"Divisor","sandbox.mediaBlocks.fullWidth":"Largura total","sandbox.mediaBlocks.image":"Imagem","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.headingPlaceholder":"Título","sandbox.plainBlocks.languagePlaceholder":"linguagem","sandbox.plainBlocks.listItemPlaceholder":"Item de lista","sandbox.plainBlocks.numberedLabel":"Numerada","sandbox.plainBlocks.quotePlaceholder":"Citação","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.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.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.publishedLabel":"Publicado","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.slugLabel":"Slug","sandbox.postEditor.slugPlaceholder":"meu-post","sandbox.postEditor.untitledPost":"Post sem título","sandbox.postEditor.valuePlaceholder":"valor","sandbox.postToolbar.allPosts":"Todos os posts","sandbox.postToolbar.authorLabel":"Autor","sandbox.postToolbar.categoryLabel":"Categoria","sandbox.postToolbar.clearFilter":"Limpar filtro","sandbox.postToolbar.deleteSelected":"Deletar selecionados","sandbox.postToolbar.deleteSelectedPosts":"Deletar posts selecionados","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":"{count} selecionados","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.statusDraft":"Rascunho","sandbox.postToolbar.statusLabel":"Status","sandbox.postToolbar.statusPublished":"Publicado","sandbox.preview.catchAllParamLabel":"caminho","sandbox.preview.choosePage":"Escolher página","sandbox.preview.clickElementToAsk":"Clique em qualquer elemento para perguntar à IA","sandbox.preview.cms":"CMS","sandbox.preview.collapseTerminal":"Recolher terminal","sandbox.preview.editContent":"Editar conteúdo","sandbox.preview.exitEditor":"Sair do editor","sandbox.preview.expandTerminal":"Expandir terminal","sandbox.preview.resizeTerminal":"Redimensionar terminal","sandbox.preview.copyCurrentUrl":"Copiar URL atual","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.editSeo":"Editar SEO","sandbox.preview.enterToGo":"Enter para ir","sandbox.preview.failedToCopyUrl":"Falha ao copiar URL","sandbox.preview.failedToCreatePage":"Falha ao criar página","sandbox.preview.globalComponents":"Componentes globais","sandbox.preview.globalLoaders":"Loaders globais","sandbox.preview.invalidPageBlockKey":"Chave de bloco de página inválida","sandbox.preview.loaderBadge":"Loader","sandbox.preview.loaderNoLongerExists":"Este loader não existe mais.","sandbox.preview.moreOptions":"Mais opções","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.openInCursor":"Abrir no Cursor","sandbox.preview.openInBrowser":"Abrir no navegador","sandbox.preview.failedToOpenInBrowser":"Não foi possível abrir seu navegador","sandbox.preview.openInNewTab":"Abrir em nova aba","sandbox.preview.openInVscode":"Abrir no VSCode","sandbox.preview.pageAlreadyExists":'Uma página com o caminho "{path}" já existe.',"sandbox.preview.pageCreated":'Página "{name}" criada',"sandbox.preview.previewMetadataNotReady":"Metadados de visualização não estão prontos ainda","sandbox.preview.refresh":"Atualizar","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.urlCopiedToClipboard":"URL copiada para a área de transferência","sandbox.preview.valueForParam":"Valor de {label}","sandbox.preview.viewJson":"Visualizar JSON","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.productPickerDialog.typeToSearchPrompt":"Digite para buscar produtos.","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.optionOrganization":"Organização","sandbox.recordEditor.optionPerson":"Pessoa","sandbox.recordEditor.placeholderEmail":"autor@exemplo.com","sandbox.recordEditor.titleAuthor":"Autor","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.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":"Pré-visualize alterações no seu servidor de preview em vez do sandbox.","sandbox.cmsSettings.fastPreview.needsPreviewServerUrl":"Defina um servidor de preview acima para ativar o Preview Rápido.","sandbox.cmsSettings.editing.title":"Edição","sandbox.cmsSettings.editing.description":"Personalize a experiência de edição de conteúdo no formulário de blocos.","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.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 agente. 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.backToList":"Voltar para a lista","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.editingBreadcrumb":"Trilha de migalhas da edição","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.savedSectionEditor.editAsJson":"Editar como JSON","sandbox.savedSectionEditor.editingBreadcrumb":"Trilha de edição","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.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 agente 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.submoduleCredentialsField.addSubmoduleCredential":"Adicionar credencial de submódulo","sandbox.submoduleCredentialsField.cancel":"Cancelar","sandbox.submoduleCredentialsField.createNewSecret":"Criar novo segredo","sandbox.submoduleCredentialsField.createNewSecretAriaLabel":"Criar novo segredo","sandbox.submoduleCredentialsField.createNewSecretDescription":"Armazenado criptografado no cofre de credenciais. A credencial de submódulo fará referência ao novo segredo pelo id — seu valor nunca sai do servidor.","sandbox.submoduleCredentialsField.createNewSecretTitle":"Criar novo segredo","sandbox.submoduleCredentialsField.description":"Tokens de acesso pessoal para clonar submódulos git privados hospedados em outros repositórios. Referencie um segredo de org/usuário por host; URLs SSH de submódulo são reescritas para HTTPS para que o token se aplique.","sandbox.submoduleCredentialsField.descriptionLabel":"Descrição (opcional)","sandbox.submoduleCredentialsField.descriptionPlaceholder":"Para que este token é usado?","sandbox.submoduleCredentialsField.failedToLoadSecrets":"Falha ao carregar segredos","sandbox.submoduleCredentialsField.failedToSaveSecret":"Falha ao salvar","sandbox.submoduleCredentialsField.hostAriaLabel":"Host da credencial de submódulo {index}","sandbox.submoduleCredentialsField.hostInvalidMessage":"Nome de host simples, ex.: github.com (sem esquema ou caminho).","sandbox.submoduleCredentialsField.hostPlaceholder":"github.com","sandbox.submoduleCredentialsField.nameLabel":"Nome","sandbox.submoduleCredentialsField.namePlaceholder":"GITHUB_SUBMODULE_PAT","sandbox.submoduleCredentialsField.nameHelperText":"Letras, dígitos, underscore, ponto, hífen.","sandbox.submoduleCredentialsField.noSecretsYet":'Nenhum segredo ainda. Use o "+" para criar um.',"sandbox.submoduleCredentialsField.pickSecretPlaceholder":"Escolha um segredo…","sandbox.submoduleCredentialsField.remove":"Remover","sandbox.submoduleCredentialsField.removeAriaLabel":"Remover credencial de submódulo","sandbox.submoduleCredentialsField.saveSecret":"Salvar segredo","sandbox.submoduleCredentialsField.saving":"Salvando…","sandbox.submoduleCredentialsField.scopeLabel":"Escopo","sandbox.submoduleCredentialsField.scopeOrganization":"Organização — visível para todos os membros","sandbox.submoduleCredentialsField.scopePrivate":"Privado — visível apenas para mim","sandbox.submoduleCredentialsField.secretSaved":'Segredo "{name}" salvo',"sandbox.submoduleCredentialsField.title":"Credenciais de submódulo","sandbox.submoduleCredentialsField.tokenLabel":"Token de acesso pessoal","sandbox.submoduleCredentialsField.tokenPlaceholder":"ghp_…","sandbox.toolbar.closeTab":"Fechar {tab}","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"},Tae={"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.apiKeys":"Chaves de API","settings.nav.billing":"Cobrança e IA","settings.nav.buckets":"Buckets","settings.nav.syncedRepos":"Repos sincronizados","settings.nav.storage":"Armazenamento","settings.nav.advanced":"Avançado","settings.subnav.ariaLabel":"Seções de configurações","settings.subnav.clients":"Clientes","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":"Os cards visíveis do board são espelhados — a aba Backlog, epics e sub-tasks nã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.mappingLabel":"Mapeamento de colunas","settings.jira.mappingDescription":"Mapeie as colunas do board pras lanes deste quadro. Colunas marcadas como “Não sincronizar” nunca aparecem aqui.","settings.jira.dontSync":"Não sincronizar","settings.jira.jqlLabel":"Filtro JQL (opcional)","settings.jira.jqlDescription":"JQL extra pra restringir o que sincroniza — útil pra casar com o filtro salvo do seu board no Jira. Epics e sub-tasks são sempre excluídos.","settings.jira.jqlPlaceholder":"ex.: labels = storefront AND sprint in openSprints()","settings.jira.jqlSave":"Salvar filtro","settings.jira.jqlSaved":"Filtro salvo — vale a partir da próxima sincronização","settings.jira.columnsFailed":"Não foi possível carregar as colunas do board","settings.jira.autoDelegateLabel":"Delegar automaticamente pro agente","settings.jira.autoDelegateDescription":"Quando uma issue entra numa coluna mapeada pra To Do, o Super Agent assume o card e começa a trabalhar. O progresso dele é espelhado de volta na issue.","settings.jira.enableLabel":"Sincronização ativa","settings.jira.enableRequirements":"Escolha um projeto e mapeie pelo menos um status antes de ativar a sincronização","settings.jira.lastSynced":"Última sincronização {ago}","settings.jira.waitingFirstSync":"Aguardando a primeira sincronização","settings.jira.syncNow":"Sincronizar agora","settings.jira.syncing":"Sincronizando…","settings.jira.syncDone":"Sincronizado: {created} criados, {updated} atualizados","settings.jira.syncFailed":"Falha na sincronizaçã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, mudanças feitas no Jira chegam ao quadro na próxima sincronização de 10 minutos; com ele, chegam em segundos.","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. Mudanças feitas no Jira passam a aparecer no quadro em segundos.","settings.syncedRepos.pageDescription":"Repositórios do GitHub 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 do GitHub 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.nav.connections":"Conexões","settings.nav.agents":"Agentes","settings.nav.automations":"Automações","settings.nav.store":"Loja","settings.nav.monitor":"Monitoramento","settings.nav.members":"Membros","settings.nav.security":"Segurança","settings.nav.profile":"Perfil e preferências","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.updateSuccess":"Perfil atualizado com sucesso","settings.profile.updateError":"Falha ao atualizar o perfil","settings.preferences.title":"Preferências","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 agentes","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.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.activeKeys":"Chaves ativas","settings.connectClients.activeKeysDescription":"Chaves que você gerou para clientes headless. Revogue quando quiser.","settings.connectClients.apiKeyTab":"Chave API","settings.connectClients.copy":"Copiar","settings.connectClients.createdAt":"Criada em {date}","settings.connectClients.customClientHint":"Conectando um cliente personalizado?","settings.connectClients.doneHideKey":"Concluído, ocultar chave","settings.connectClients.failedToLoadKeys":"Falha ao carregar chaves: {error}","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.keyCreated":"Chave criada","settings.connectClients.keyRevoked":"Chave revogada","settings.connectClients.loadingActiveKeys":"Carregando chaves ativas…","settings.connectClients.noConnectKeysYet":"Nenhuma chave de conexão criada ainda. Gere uma na aba de um cliente acima para configurações headless.","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.oauthTab":"OAuth","settings.connectClients.orgUnifiedMcp":"O MCP unificado da sua org","settings.connectClients.orgUnifiedMcpDescription":"Insira esta URL em qualquer cliente MCP para dar a esse runtime toda conexão habilitada nesta org, governada pelas suas regras do Decopilot.","settings.connectClients.pageTitle":"Conectar a clientes","settings.connectClients.revoke":"Revogar","settings.connectClients.revokeConfirm":'Revogar "{name}"? Qualquer cliente que ainda use esta chave perderá o acesso.',"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.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.decoCreditsHero.accessModels":"Acesso a 100+ modelos","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.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.deny":"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.navigation.title":"Navegação","settings.navigation.description":"Como esta organização circula pelo Studio.","settings.navigation.updateError":"Não foi possível atualizar as configurações de navegação","settings.navigation.navV2Title":"Navegação de primeira classe","settings.navigation.navV2Description":"A barra lateral lista destinos (Relatórios, Biblioteca, Tarefas) em vez de chats, e a lista de chats vai para o topo do painel de chat. Ativada por padrão em organizações novas e em organizações de relatório.","settings.orgGeneral.organization":"Organização","settings.mainAgent.title":"Agente principal","settings.mainAgent.description":"O agente em que esta organização abre. Todos os membros chegam aqui em vez do Super Agent.","settings.mainAgent.itemTitle":"Agente de entrada","settings.mainAgent.itemDescription":"Escolha o agente que abre ao entrar nesta organização.","settings.mainAgent.superAgentOption":"Super Agent (padrão)","settings.mainAgent.setToast":'"{title}" agora é o agente principal',"settings.mainAgent.resetToast":"Redefinido para o Super Agent","settings.mainAgent.errorToast":"Não foi possível atualizar o agente principal","settings.review.title":"Revisores e merge","settings.review.description":"Revisores automáticos rodam no pull request de uma tarefa assim que ela entra em Revisão (checks passando ou inexistentes). Ambos aparecem como sessões no card da tarefa.","settings.review.qaAgentTitle":"Ativar QA Agent","settings.review.qaAgentDescription":"Garante que a tarefa realmente resolveu o problema — testa a feature, não só o diff.","settings.review.codeReviewerTitle":"Ativar Code Reviewer","settings.review.codeReviewerDescription":"Revisa o código usando as skills de review apropriadas à stack do repositório.","settings.review.cheapReviewerModelTitle":"Rodar os revisores em um modelo mais barato","settings.review.cheapReviewerModelDescription":"O QA Agent e o Code Reviewer leem um diff e chegam a um veredito, então rodam 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 todos os revisores habilitados aprovam, mescla o pull request automaticamente em vez de esperar por uma pessoa. Se um conflito bloquear o merge, o Super Agent resolve antes.","settings.review.autoAssignReportTasksTitle":"Atribuir tarefas de relatório ao Super Agent automaticamente","settings.review.autoAssignReportTasksDescription":"Tarefas criadas a partir de um relatório 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.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.allModels":"Todos os modelos","settings.orgRoleDetail.allOrgPermissions":"Todas as permissões da organização","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.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.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.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.orgStore.addRegistry":"Adicionar Registro","settings.orgStore.adding":"Adicionando...","settings.orgStore.authTokenLabel":"Token de Autenticação","settings.orgStore.authTokenPlaceholder":"Token Bearer...","settings.orgStore.cancel":"Cancelar","settings.orgStore.communityRegistryDescription":"Registro MCP da comunidade com milhares de MCPs úteis","settings.orgStore.communityRegistryNotAdded":"Registro MCP da comunidade — ainda não adicionado","settings.orgStore.communitySection":"Comunidade","settings.orgStore.connectionNotFound":"Conexão não encontrada — será criada automaticamente.","settings.orgStore.decoStoreDescription":"Registro MCP deco oficial com integrações selecionadas","settings.orgStore.decoStoreName":"Loja Deco","settings.orgStore.decoStoreSection":"Loja Deco","settings.orgStore.failedAddRegistry":"Falha ao adicionar registro: {error}","settings.orgStore.failedLoadStoreSettings":"Falha ao carregar configurações da loja:","settings.orgStore.mcpRegistry":"Registro MCP","settings.orgStore.nameLabel":"Nome","settings.orgStore.namePlaceholder":"p.ex. Registro Acme Corp","settings.orgStore.optional":"Opcional","settings.orgStore.pageTitle":"Loja","settings.orgStore.privateMcpRegistry":"Registro MCP privado","settings.orgStore.privateRegistriesSection":"Registros Privados","settings.orgStore.privateRegistry":"Registro Privado","settings.orgStore.privateRegistryAdded":"Registro privado adicionado","settings.orgStore.privateRegistryDescription":"Registro MCP privado da sua organização","settings.orgStore.registryUrlLabel":"URL do Registro","settings.orgStore.registryUrlPlaceholder":"https://registry.exemplo.com/mcp","settings.orgStore.remove":"Remover","settings.orgStore.removeRegistry":"Remover este registro?","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.nameTitle":"Nome","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.keysCountPlural":"{count} chaves","settings.apiKeys.keysCountSingular":"{count} chave","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.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.billing.autoTasksTitle":"Tarefas automáticas","settings.billing.unlimitedDescription":"As execuções de tarefas automáticas são ilimitadas neste deployment. Tarefas criadas por você também nunca têm limite.","settings.billing.autoTasksDescriptionTrial":"3 execuções grátis vitalícias, depois R$ 250/mês para 10 execuções por ciclo de cobrança.","settings.billing.autoTasksDescriptionSubscribed":"10 execuções de tarefas automáticas por ciclo de cobrança. Tarefas criadas por você nunca têm limite.","settings.billing.statusTrial":"Teste grátis","settings.billing.statusActive":"Ativa","settings.billing.statusPastDue":"Problema no pagamento","settings.billing.runsUsedLabel":"execuções usadas","settings.billing.renewsOn":"Renova em {date}","settings.billing.subscribeButton":"Assinar","settings.billing.manageButton":"Gerenciar cobrança","settings.billing.checkoutError":"Não foi possível iniciar o checkout: {message}","settings.billing.portalError":"Não foi possível abrir o portal de cobrança: {message}","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":"Plano e faturas são de um único time legado — filtre a seleção para vê-los.","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 site.","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"},kae={"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.descriptionNative":"Uma atualização está pronta. Reinicie o aplicativo para concluir a instalação.","announcements.version.currentSession":"Sessão atual · {version}","announcements.version.refresh":"Atualizar agora","announcements.version.restart":"Reiniciar para atualizar","announcements.version.restarting":"Reiniciando…"},Pae={"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"},Aae={...Vne,...Hne,...Gne,...Kne,...Wne,...Yne,...Zne,...Qne,...Jne,...Xne,...eae,...tae,...oae,...nae,...aae,...rae,...iae,...sae,...lae,...cae,...uae,...dae,...mae,...pae,...hae,...gae,...fae,...vae,...bae,...yae,...Sae,..._ae,...wae,...Cae,...xae,...Eae,...Tae,...kae,...Pae},KB={en:qne,"pt-BR":Aae};function Lhe(e,t){return GB(KB[one()][e],t)}function xl(){const e=Ne.c(2),[t]=HB(),o=KB[t.language];let n;return e[0]!==o?(n=(a,i)=>GB(o[a],i),e[0]=o,e[1]=n):n=e[1],n}function WB(e){const t=Ne.c(20),{orgName:o}=e,n=xl(),a=Rae;let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=C.jsx("div",{className:"bg-muted p-3 rounded-full",children:C.jsx(CL,{className:"h-6 w-6 text-muted-foreground"})}),t[0]=i):i=t[0];let l;t[1]!==n?(l=n("common.archivedOrgScreen.orgUnavailable"),t[1]=n,t[2]=l):l=t[2];let c;t[3]!==l?(c=C.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]!==n?(d=o?n("common.archivedOrgScreen.deletedWithName",{orgName:o}):n("common.archivedOrgScreen.deletedGeneric"),t[5]=o,t[6]=n,t[7]=d):d=t[7];let m;t[8]!==d?(m=C.jsx("p",{className:"text-sm text-muted-foreground",children:d}),t[8]=d,t[9]=m):m=t[9];let h;t[10]!==c||t[11]!==m?(h=C.jsxs("div",{className:"space-y-2",children:[c,m]}),t[10]=c,t[11]=m,t[12]=h):h=t[12];let p;t[13]!==n?(p=n("common.archivedOrgScreen.goHome"),t[13]=n,t[14]=p):p=t[14];let f;t[15]!==p?(f=C.jsx(tu,{onClick:a,children:p}),t[15]=p,t[16]=f):f=t[16];let v;return t[17]!==h||t[18]!==f?(v=C.jsxs(Qoe,{children:[i,h,f]}),t[17]=h,t[18]=f,t[19]=v):v=t[19],v}function Rae(){window.location.href="/"}function Dae(){const e=Ne.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}=Cm(t);let n;return e[1]!==o?(n=C.jsx(tu,{variant:"outline",size:"sm",asChild:!0,children:C.jsx(mu,{to:"/$org/settings/profile",params:{org:o},children:"Go to your profile"})}),e[1]=o,e[2]=n):n=e[2],n}function Oae(e){const t=Ne.c(13),{area:o,description:n,action:a}=e,i=o?`No access to ${o}`:"No access",l=n??"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=C.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted text-muted-foreground",children:C.jsx(TL,{size:28})}),t[0]=c):c=t[0];let d;t[1]!==i?(d=C.jsx("h3",{className:"text-lg font-medium",children:i}),t[1]=i,t[2]=d):d=t[2];let m;t[3]!==l?(m=C.jsx("p",{className:"mx-auto max-w-sm text-sm text-muted-foreground",children:l}),t[3]=l,t[4]=m):m=t[4];let h;t[5]!==d||t[6]!==m?(h=C.jsxs("div",{className:"space-y-1",children:[d,m]}),t[5]=d,t[6]=m,t[7]=h):h=t[7];let p;t[8]!==a?(p=a??C.jsx(Dae,{}),t[8]=a,t[9]=p):p=t[9];let f;return t[10]!==h||t[11]!==p?(f=C.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,h,p]}),t[10]=h,t[11]=p,t[12]=f):f=t[12],f}const CO="__studio_chunk_reload_ts";function YB(e){return e?.message==="Organization is archived"}function Iae(e){return!!e?.message?.includes("Access denied")}function xO(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 Mae 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),$B(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:YB(this.state.error)?C.jsx(WB,{}):Iae(this.state.error)?C.jsx(Oae,{}):C.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[C.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:C.jsx(IC,{className:"h-6 w-6 text-destructive"})}),C.jsxs("div",{className:"space-y-2",children:[C.jsx("h3",{className:"text-lg font-medium",children:o("common.errorBoundary.somethingWentWrong")}),C.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||o("common.errorBoundary.unexpectedError")})]}),C.jsx(tu,{variant:"outline",onClick:this.resetError,children:o("common.errorBoundary.tryAgain")})]})}return this.props.children}}function Lae(e){const t=Ne.c(3),o=xl();let n;return t[0]!==e||t[1]!==o?(n=C.jsx(Mae,{...e,t:o}),t[0]=e,t[1]=o,t[2]=n):n=t[2],n}class Nae 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 n=xO(t);if($B(t,{boundary:"chunk_root",is_chunk_load_error:n,error_name:t.name,error_message:t.message,component_stack:o.componentStack??null,route:typeof window<"u"?window.location.pathname:null}),!n)return;const a=sessionStorage.getItem(CO),i=Date.now();(!a||i-Number(a)>1e4)&&(sessionStorage.setItem(CO,String(i)),window.location.reload())}render(){const{t}=this.props;return this.state.hasError&&xO(this.state.error)?C.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[C.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:C.jsx(kL,{className:"h-6 w-6 text-primary"})}),C.jsxs("div",{className:"space-y-2",children:[C.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.newVersionAvailable")}),C.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:t("common.errorBoundary.newVersionDeployed")})]}),C.jsx(tu,{onClick:()=>window.location.reload(),children:t("common.errorBoundary.refresh")})]}):this.state.hasError?YB(this.state.error)?C.jsx(WB,{}):C.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[C.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:C.jsx(IC,{className:"h-6 w-6 text-destructive"})}),C.jsxs("div",{className:"space-y-2",children:[C.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.somethingWentWrong")}),C.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||t("common.errorBoundary.unexpectedError")})]}),C.jsx(tu,{variant:"outline",onClick:()=>this.setState({hasError:!1,error:null}),children:t("common.errorBoundary.tryAgain")})]}):this.props.children}}function Fae(e){const t=Ne.c(3),o=xl();let n;return t[0]!==e||t[1]!==o?(n=C.jsx(Nae,{...e,t:o}),t[0]=e,t[1]=o,t[2]=n):n=t[2],n}function Bae(e){const t=Ne.c(8);let o,n;t[0]!==e?({className:o,...n}=e,t[0]=e,t[1]=o,t[2]=n):(o=t[1],n=t[2]);let a;t[3]!==o?(a=Et("bg-card text-card-foreground flex flex-col gap-6 rounded-xl card-shadow",o),t[3]=o,t[4]=a):a=t[4];let i;return t[5]!==n||t[6]!==a?(i=C.jsx("div",{"data-slot":"card",className:a,...n}),t[5]=n,t[6]=a,t[7]=i):i=t[7],i}function Nhe(e){const t=Ne.c(4);let o;t[0]!==e?({...o}=e,t[0]=e,t[1]=o):o=t[1];let n;return t[2]!==o?(n=C.jsx("div",{"data-slot":"card-content",...o}),t[2]=o,t[3]=n):n=t[3],n}function Fhe(e){const t=Ne.c(12),{title:o,description:n,docsHref:a,actions:i,className:l,headerClassName:c,children:d}=e;let m;t[0]!==l?(m=Et("flex flex-col gap-3",l),t[0]=l,t[1]=m):m=t[1];let h;t[2]!==i||t[3]!==n||t[4]!==a||t[5]!==c||t[6]!==o?(h=(o||n||a||i)&&C.jsxs("div",{className:Et("flex items-center justify-between gap-3 px-4",c),children:[C.jsxs("div",{className:"flex flex-col gap-1 min-w-0",children:[o&&C.jsx("h2",{className:"text-[15px] font-medium leading-tight",children:o}),(n||a)&&C.jsxs("p",{className:"text-sm text-muted-foreground leading-snug",children:[n,a&&C.jsxs("a",{href:a,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-0.5 ml-1 text-foreground hover:underline",children:["Docs ",C.jsx(xL,{size:12})]})]})]}),i&&C.jsx("div",{className:"shrink-0",children:i})]}),t[2]=i,t[3]=n,t[4]=a,t[5]=c,t[6]=o,t[7]=h):h=t[7];let p;return t[8]!==d||t[9]!==m||t[10]!==h?(p=C.jsxs("section",{className:m,children:[h,d]}),t[8]=d,t[9]=m,t[10]=h,t[11]=p):p=t[11],p}function Bhe(e){const t=Ne.c(11),{className:o,children:n}=e;let a,i,l;if(t[0]!==n||t[1]!==o){const d=A.Children.toArray(n).filter(A.isValidElement);a=Bae,t[5]!==o?(i=Et("p-0 gap-0 overflow-hidden",o),t[5]=o,t[6]=i):i=t[6],l=d.map(jae),t[0]=n,t[1]=o,t[2]=a,t[3]=i,t[4]=l}else a=t[2],i=t[3],l=t[4];let c;return t[7]!==a||t[8]!==i||t[9]!==l?(c=C.jsx(a,{className:i,children:l}),t[7]=a,t[8]=i,t[9]=l,t[10]=c):c=t[10],c}function jae(e,t){return C.jsxs("div",{children:[t>0&&C.jsx("div",{className:"h-px bg-border mx-5"}),e]},t)}function jhe(e){const t=Ne.c(27),{icon:o,title:n,description:a,action:i,onClick:l,className:c,children:d}=e,m=d?"flex items-start gap-3 px-4 py-4":"flex items-center gap-3 px-4 py-4",h=l&&"hover:bg-muted/50 cursor-pointer";let p;t[0]!==c||t[1]!==m||t[2]!==h?(p=Et(m,h,c),t[0]=c,t[1]=m,t[2]=h,t[3]=p):p=t[3];const f=l?"button":void 0,v=l?0:void 0;let b;t[4]!==l?(b=l?k=>{(k.key==="Enter"||k.key===" ")&&(k.preventDefault(),l())}:void 0,t[4]=l,t[5]=b):b=t[5];let S;t[6]!==o?(S=o&&C.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 x;t[8]!==n?(x=C.jsx("div",{className:"text-sm font-medium",children:n}),t[8]=n,t[9]=x):x=t[9];let _;t[10]!==a?(_=a&&C.jsx("p",{className:"text-xs text-muted-foreground mt-0.5 leading-relaxed",children:a}),t[10]=a,t[11]=_):_=t[11];let w;t[12]!==d||t[13]!==x||t[14]!==_?(w=C.jsxs("div",{className:"flex-1 min-w-0",children:[x,_,d]}),t[12]=d,t[13]=x,t[14]=_,t[15]=w):w=t[15];let P;t[16]!==i?(P=i&&C.jsx("div",{className:"shrink-0",onClick:zae,children:i}),t[16]=i,t[17]=P):P=t[17];let T;return t[18]!==l||t[19]!==w||t[20]!==P||t[21]!==p||t[22]!==f||t[23]!==v||t[24]!==b||t[25]!==S?(T=C.jsxs("div",{className:p,onClick:l,role:f,tabIndex:v,onKeyDown:b,children:[S,w,P]}),t[18]=l,t[19]=w,t[20]=P,t[21]=p,t[22]=f,t[23]=v,t[24]=b,t[25]=S,t[26]=T):T=t[26],T}function zae(e){return e.stopPropagation()}function zhe(e){const t=Ne.c(5),{children:o,className:n}=e;let a;t[0]!==n?(a=Et("flex items-center justify-end gap-2 px-4 py-4",n),t[0]=n,t[1]=a):a=t[1];let i;return t[2]!==o||t[3]!==a?(i=C.jsx("div",{className:a,children:o}),t[2]=o,t[3]=a,t[4]=i):i=t[4],i}function Uae(e){const t=Ne.c(5),{className:o,children:n}=e;let a;t[0]!==o?(a=Et("flex flex-col gap-10",o),t[0]=o,t[1]=a):a=t[1];let i;return t[2]!==n||t[3]!==a?(i=C.jsx("div",{className:a,children:n}),t[2]=n,t[3]=a,t[4]=i):i=t[4],i}const wx={connect:{key:"connect",titleKey:"settings.connectClients.pageTitle",tabs:[{key:"clients",labelKey:"settings.subnav.clients",to:"/$org/settings/connect"},{key:"api-keys",labelKey:"settings.nav.apiKeys",to:"/$org/settings/api-keys",requires:"api-keys:manage"}]},members:{key:"members",titleKey:"orgs.members.title",tabs:[{key:"members",labelKey:"orgs.members.title",to:"/$org/settings/members",requires:"members:manage"},{key:"roles",labelKey:"settings.roles.pageTitle",to:"/$org/settings/roles",privilegedOnly:!0}]},billing:{key:"billing",titleKey:"settings.nav.billing",tabs:[{key:"ai-providers",labelKey:"settings.nav.aiProviders",to:"/$org/settings/ai-providers",requires:"ai-providers:manage"},{key:"infra",labelKey:"settings.subnav.infrastructure",to:"/$org/settings/infra-billing",requires:"members:manage",requiresOwnedSites:!0}]},storage:{key:"storage",titleKey:"settings.nav.storage",tabs:[{key:"buckets",labelKey:"settings.nav.buckets",to:"/$org/settings/buckets",requires:"file-configs:manage"},{key:"synced-repos",labelKey:"settings.nav.syncedRepos",to:"/$org/settings/synced-repos",requires:"file-configs:manage"}]}};function Uhe(e){return wx[e].tabs.map(t=>t.to)}const $ae=new Set(["owner","admin"]);function ZB(){const e=Ne.c(11),{org:t,locator:o}=Om();let n;e[0]!==o?(n=hr.myCapabilities(o),e[0]=o,e[1]=n):n=e[1];let a;e[2]!==t?(a=async()=>{const h=await fetch(`/api/auth/custom/my-capabilities/${encodeURIComponent(t.slug)}`,{credentials:"include"});if(!h.ok)throw new Error(`my-capabilities request failed: ${h.status}`);return await h.json()},e[2]=t,e[3]=a):a=e[3];let i;e[4]!==n||e[5]!==a?(i={queryKey:n,queryFn:a,staleTime:3e4,retry:2},e[4]=n,e[5]=a,e[6]=i):i=e[6];const{data:l,isLoading:c,isError:d}=xm(i);let m;return e[7]!==l||e[8]!==d||e[9]!==c?(m={data:l,loading:c,error:d},e[7]=l,e[8]=d,e[9]=c,e[10]=m):m=e[10],m}function $he(e){const t=Ne.c(8),{data:o,loading:n,error:a}=ZB();if(n){let m;return t[0]===Symbol.for("react.memo_cache_sentinel")?(m={granted:!1,loading:!0,error:!1,reason:"loading"},t[0]=m):m=t[0],m}if(a){let m;return t[1]===Symbol.for("react.memo_cache_sentinel")?(m={granted:!1,loading:!1,error:!0,reason:"error"},t[1]=m):m=t[1],m}const i=o?.role??null;if(!i){let m;return t[2]===Symbol.for("react.memo_cache_sentinel")?(m={granted:!1,loading:!1,error:!1,reason:"denied"},t[2]=m):m=t[2],m}if(i==="owner"){let m;return t[3]===Symbol.for("react.memo_cache_sentinel")?(m={granted:!0,loading:!1,error:!1,reason:"owner"},t[3]=m):m=t[3],m}if(i==="admin"){let m;return t[4]===Symbol.for("react.memo_cache_sentinel")?(m={granted:!0,loading:!1,error:!1,reason:"admin"},t[4]=m):m=t[4],m}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 QB(){const e=Ne.c(10),{data:t,loading:o,error:n}=ZB(),a=t?.role??void 0;let i;e[0]!==a?(i=a?$ae.has(a):!1,e[0]=a,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 m;return e[4]!==n||e[5]!==l||e[6]!==o||e[7]!==a||e[8]!==d?(m={capabilities:d,loading:o,error:n,isPrivileged:l,roleSlug:a},e[4]=n,e[5]=l,e[6]=o,e[7]=a,e[8]=d,e[9]=m):m=e[9],m}class EO extends Error{constructor(t,o){super(t),this.status=o,this.name="StudioToolError"}status}async function qae(e,t,o){const n=await fetch(`/api/${encodeURIComponent(e)}/tools/${encodeURIComponent(t)}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o??{})});if(!n.ok){let a=`${t} failed (${n.status})`;try{const i=await n.json();i?.error&&(a=i.error)}catch{}throw new EO(a,n.status)}try{return await n.json()}catch{throw new EO(`${t} returned a non-JSON response`,n.status)}}function Cx(){const e=Ne.c(5),{org:t}=Om(),o=t.slug;let n;e[0]!==o?(n=(i,l)=>qae(o,i,l),e[0]=o,e[1]=n):n=e[1];let a;return e[2]!==o||e[3]!==n?(a={orgSlug:o,call:n},e[2]=o,e[3]=n,e[4]=a):a=e[4],a}function Vae(){const e=Ne.c(13),{org:t}=Om(),o=Cx(),{capabilities:n,isPrivileged:a}=QB(),i=a||!!n["members:manage"];let l;e[0]!==t.id?(l=hr.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 m;e[4]!==l||e[5]!==c||e[6]!==d?(m={queryKey:l,staleTime:3e5,enabled:c,queryFn:d},e[4]=l,e[5]=c,e[6]=d,e[7]=m):m=e[7];const{data:h,isLoading:p}=xm(m);let f;e[8]!==h?.sites?(f=h?.sites.map(Hae)??[],e[8]=h?.sites,e[9]=f):f=e[9];let v;return e[10]!==p||e[11]!==f?(v={sites:f,isLoading:p},e[10]=p,e[11]=f,e[12]=v):v=e[12],v}function Hae(e){return e.slug}function qhe(){const e=Ne.c(7),t=Cx(),o=xl();let n;e[0]!==t?(n=l=>t.call("INFRA_BILLING_PORTAL",{siteSlugs:l}),e[0]=t,e[1]=n):n=e[1];let a;e[2]!==o?(a=l=>Si.error(o("settings.infraBilling.portalError",{message:l.message})),e[2]=o,e[3]=a):a=e[3];let i;return e[4]!==n||e[5]!==a?(i={mutationFn:n,onSuccess:Gae,onError:a},e[4]=n,e[5]=a,e[6]=i):i=e[6],Vd(i)}function Gae(e){const{url:t}=e;return window.open(t,"_blank","noopener,noreferrer")}function Vhe(e,t){const o=Ne.c(14),{org:n}=Om(),a=Cx();let i,l,c;o[0]!==n.id||o[1]!==t||o[2]!==e?(i=[...e].sort(),c=xm,l=hr.infraBilling(n.id,i.join(","),t),o[0]=n.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 m;o[6]!==t||o[7]!==i||o[8]!==a?(m=()=>a.call("INFRA_BILLING_GET",{siteSlugs:i,period:t}),o[6]=t,o[7]=i,o[8]=a,o[9]=m):m=o[9];let h;return o[10]!==l||o[11]!==d||o[12]!==m?(h={queryKey:l,enabled:d,staleTime:6e4,queryFn:m},o[10]=l,o[11]=d,o[12]=m,o[13]=h):h=o[13],c(h)}function Kae(){const e=Ne.c(7),{capabilities:t,isPrivileged:o,loading:n,error:a}=QB(),{sites:i,isLoading:l}=Vae(),c=i.length>0;let d;if(e[0]!==t||e[1]!==a||e[2]!==o||e[3]!==n||e[4]!==c||e[5]!==l){const m=h=>h.requiresOwnedSites&&!c&&!l?!1:n||a?!0:h.privilegedOnly?o:h.requires?o||t[h.requires]:!0;d=Object.fromEntries(Object.values(wx).map(h=>[h.key,h.tabs.filter(m)])),e[0]=t,e[1]=a,e[2]=o,e[3]=n,e[4]=c,e[5]=l,e[6]=d}else d=e[6];return d}function Wae(e){const t=Ne.c(16),{group:o}=e,n=xl();let a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a={from:"/shell/$org"},t[0]=a):a=t[0];const{org:i}=Cm(a);let l;t[1]===Symbol.for("react.memo_cache_sentinel")?(l={select:Yae},t[1]=l):l=t[1];const c=zU(l),d=Kae()[o],{titleKey:m}=wx[o];let h;t[2]!==n||t[3]!==m?(h=n(m),t[2]=n,t[3]=m,t[4]=h):h=t[4];let p;t[5]!==h?(p=C.jsx(Lg.Title,{children:h}),t[5]=h,t[6]=p):p=t[6];let f;t[7]!==o||t[8]!==i||t[9]!==c||t[10]!==n||t[11]!==d?(f=d.length>1&&C.jsx("nav",{"data-slot":"settings-subnav","aria-label":n("settings.subnav.ariaLabel"),className:"bg-muted inline-flex h-10 w-fit items-center rounded-xl p-[3px] gap-0.5",children:d.map(b=>{const S=b.to.replace("$org",i),x=c===S||c.startsWith(`${S}/`);return C.jsx(mu,{to:b.to,params:{org:i},onClick:()=>UB("settings_subnav_clicked",{group_key:o,tab_key:b.key}),className:Et("inline-flex h-full items-center justify-center rounded-lg border border-transparent px-3 text-sm font-medium whitespace-nowrap transition-[color,box-shadow]",x?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"),children:n(b.labelKey)},b.key)})}),t[7]=o,t[8]=i,t[9]=c,t[10]=n,t[11]=d,t[12]=f):f=t[12];let v;return t[13]!==p||t[14]!==f?(v=C.jsxs("div",{"data-slot":"settings-heading",className:"flex flex-col gap-4",children:[p,f]}),t[13]=p,t[14]=f,t[15]=v):v=t[15],v}function Yae(e){return e.location.pathname}function JB(){const e=Ne.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=C.jsxs("div",{"data-testid":"settings-content-loading",className:"flex flex-col gap-4",children:[C.jsx(qR,{className:"h-32 w-full"}),C.jsx(qR,{className:"h-32 w-full"})]}),e[0]=t):t=e[0],t}function Zae(e){const t=Ne.c(14),{group:o,fallback:n,errorFallback:a,className:i,children:l}=e;let c;t[0]!==o?(c=C.jsx(Wae,{group:o}),t[0]=o,t[1]=c):c=t[1];let d;t[2]!==n?(d=n??C.jsx(JB,{}),t[2]=n,t[3]=d):d=t[3];let m;t[4]!==l||t[5]!==d?(m=C.jsx(A.Suspense,{fallback:d,children:l}),t[4]=l,t[5]=d,t[6]=m):m=t[6];let h;t[7]!==a||t[8]!==m?(h=C.jsx(Lae,{fallback:a,children:m}),t[7]=a,t[8]=m,t[9]=h):h=t[9];let p;return t[10]!==i||t[11]!==c||t[12]!==h?(p=C.jsx(Lg,{children:C.jsx(Lg.Content,{children:C.jsx(Lg.Body,{children:C.jsxs(Uae,{className:i,children:[c,h]})})})}),t[10]=i,t[11]=c,t[12]=h,t[13]=p):p=t[13],p}function As(e){return function(){return C.jsx(Zae,{group:e,children:C.jsx(JB,{})})}}function XB(e){try{localStorage.setItem(Cl.lastLocation(),JSON.stringify(e))}catch{}}function Qae(){try{const e=localStorage.getItem(Cl.lastLocation());if(!e)return null;const t=JSON.parse(e);if(typeof t?.org=="string")return{org:t.org,taskId:typeof t.taskId=="string"?t.taskId:void 0,virtualmcpid:typeof t.virtualmcpid=="string"?t.virtualmcpid:void 0}}catch{}return null}function Hhe(){try{localStorage.removeItem(Cl.lastLocation())}catch{}}const xa=EU({component:()=>C.jsx(Fae,{children:C.jsx(A.Suspense,{fallback:C.jsx(LC,{}),children:C.jsx(tM,{})})})}),Jae=it({getParentRoute:()=>xa,path:"/login",component:ut(()=>ct(()=>import("./login-Dy6oLdg_.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]))),validateSearch:Lr(()=>Ae({next:G().optional(),client_id:G().optional(),redirect_uri:G().optional(),response_type:G().optional(),state:G().optional(),scope:G().optional(),code_challenge:G().optional(),code_challenge_method:G().optional(),src:G().optional(),ref:G().optional()}))}),Xae=it({getParentRoute:()=>xa,path:"/cli/auth-success",component:ut(()=>ct(()=>import("./cli-auth-success-CWZIlaAu.js"),__vite__mapDeps([9,8])))}),ere=it({getParentRoute:()=>xa,path:"/reset-password",component:ut(()=>ct(()=>import("./reset-password-BKBz_Aon.js"),__vite__mapDeps([10,2]))),validateSearch:Lr(()=>Ae({token:G().optional(),error:G().optional()}))}),tre=it({getParentRoute:()=>xa,path:"/auth/$pathname",component:ut(()=>ct(()=>import("./auth-catchall-BWmr3lOz.js"),[]))}),ore=it({getParentRoute:()=>xa,path:"/oauth/callback",component:ut(()=>ct(()=>import("./oauth-callback-CkV2aSCc.js"),__vite__mapDeps([11,12,13])))}),nre=it({getParentRoute:()=>xa,path:"/oauth/callback/ai-provider",component:ut(()=>ct(()=>import("./oauth-callback-ai-provider-DQzrQ2ZW.js"),[]))}),Pv=it({getParentRoute:()=>xa,path:"/_admin",component:ut(()=>ct(()=>import("./layout-BCjUdMcW.js"),__vite__mapDeps([14,15,16])))}),are=it({getParentRoute:()=>Pv,path:"/",beforeLoad:()=>{throw vi({to:"/_admin/users"})}}),rre=it({getParentRoute:()=>Pv,path:"/users",component:ut(()=>ct(()=>import("./users-3pVvJjVm.js"),__vite__mapDeps([17,18,19,20,21,22,23,24,25,26,27,28,29,30,31])))}),ire=it({getParentRoute:()=>Pv,path:"/orgs",component:ut(()=>ct(()=>import("./orgs-DY4SjhQN.js"),__vite__mapDeps([32,18,19,20,21,22,23,2,33,27,34,35,36,37,38,28,29,30])))}),sre=Pv.addChildren([are,rre,ire]),xx=it({getParentRoute:()=>xa,id:"shell",component:ut(()=>ct(()=>import("./shell-layout-DEMtIHgw.js").then(e=>e.s),__vite__mapDeps([39,24,25,40,41,42,43,44,34,36,45,46,47,48,49,50,3,15,51,52,13,53,54,6,7,55,56])))}),lre=it({getParentRoute:()=>xx,path:"/",beforeLoad:async()=>{const e=Qae();if(e)throw vi({to:"/$org",params:{org:e.org}});const t=localStorage.getItem(Cl.lastOrgSlug());if(t)throw vi({to:"/$org",params:{org:t}});const{data:o}=await wL();if(!o)return;const n=o[0];throw vi(n?{to:"/$org",params:{org:n.slug}}:{to:"/onboarding"})}}),cre=it({getParentRoute:()=>xa,path:"/onboarding",beforeLoad:async()=>{const{data:e}=await wL();if(e&&e.length>0)throw vi({to:"/"})},component:ut(()=>ct(()=>import("./onboarding-ZjEXHRqc.js"),__vite__mapDeps([57,15,8,58,24,25,59,2,33,60,40,47,61,62,63])))}),ure=it({getParentRoute:()=>xa,path:"/commerce-onboarding",component:ut(()=>ct(()=>import("./commerce-onboarding-DDSFZSw4.js"),__vite__mapDeps([64,65,66,67,33,2,4,51,52,13,68,69,70,71,72,20,73,74,75,76,40,47,36,37,77,78,38,79,42,80,45,81,46,82,83,48,84,85,61,86,87,88,89,90,91,49,92,62,93,59,41,23,94,95,96,63,25,97,43,50,34,98,99,100,27,101,12,102,1,3,5,6,7,8,58,24,103]))),validateSearch:Lr(()=>Ae({org:G().optional(),siteUrl:G().optional()}))}),dre=it({getParentRoute:()=>xa,path:"/choose-editor",component:ut(()=>ct(()=>import("./choose-editor-BiIbar5e.js"),__vite__mapDeps([104,70,71,72,20,73,69,74,75,76,40,47,36,37,77,78,38,79,42,80,45,81,46,82,83,48,84,85,61,86,87,88,89,90,91,49,92,62,93,59,41,23,94,95,96,63,25,97,43,50,15]))),validateSearch:Lr(()=>Ae({site:G().optional(),domain:G().optional(),pageId:G().optional(),path:G().optional(),pathTemplate:G().optional()}))}),mre=it({getParentRoute:()=>xa,path:"/report/$domain",component:ut(()=>ct(()=>import("./reports-BkJ5gkYi.js"),__vite__mapDeps([105,1,2,3,4,5,6,7,102,71,20,74,75,47,83,91,41,94,95,50,106]))),validateSearch:Lr(()=>Ae({key:G().optional()}))}),Ex=it({getParentRoute:()=>xx,path:"/$org",beforeLoad:({params:e})=>{XB({org:e.org})},component:ut(()=>ct(()=>import("./org-layout-BFuYj0lq.js"),[]))}),Av=it({getParentRoute:()=>Ex,id:"org-shell",component:ut(()=>ct(()=>import("./index-C5dcfsKv.js"),__vite__mapDeps([107,65,66,67,33,2,4,51,52,13,68,69,70,71,72,20,73,74,75,76,40,47,36,37,77,78,38,79,42,80,45,81,46,82,83,48,84,85,61,86,87,88,89,90,91,49,92,62,93,59,41,23,94,95,96,63,25,97,43,50,34,98,99,100,27,101,12,102,44,55,108,109,110,111,112,113,114,115,116,117,53,54,6,7,118,119,39,24,3,15,56,120,121,122,123,5,124,35,125,126,127,26,128,129,130,131,132,133,29,30,16,134,135,136,137,138,139])))}),e3=it({getParentRoute:()=>Av,id:"agent-shell",pendingComponent:NC,component:ut(()=>ct(()=>import("./index-CErG4sP_.js").then(e=>e.bD),__vite__mapDeps([140,20,138,44,34,36,45,46,53,51,52,13,54,6,7,3,109,129,139,55,141,35,37,38,70,71,72,73,69,74,75,76,40,47,77,78,79,42,80,81,82,83,48,84,85,61,86,87,88,89,90,91,49,92,62,93,59,41,23,94,95,96,63,25,97,43,50,122,123,115,19,21,142,135,133,143,128,24,29,30,144,145,4,146,39,15,56,68,117,118,147,148,67,33,2,149,112,114,150,151,130,108,110,65,66,98,99,100,27,101,12,102,111,113,116,119,120,121,5,124,125,126,127,26,131,132,152,153,154,155,103,156,157,158,159,60,160,22,161,162,163,164,165,31,166,167,168])))}),pre=Ae({virtualmcpid:G().optional(),tab:G().optional(),sidepanel:ro([Ye("chat"),Ye(0)]).optional(),main:ro([G(),Ye(0)]).optional(),preview:G().optional(),id:G().optional(),toolName:G().optional(),task:G().optional(),tasks:Ot().optional(),mainOpen:Ot().optional(),autosend:G().optional(),runLocally:G().optional(),connect:E2().optional(),siteUrl:G().optional(),contentPageId:G().optional(),contentPath:G().optional(),contentPathTemplate:G().optional(),view:G().optional(),q:G().optional(),assignee:G().optional(),priority:G().optional(),due:G().optional(),tags:G().optional(),repo:G().optional()}),hre=it({getParentRoute:()=>e3,path:"/$taskId",validateSearch:pre,beforeLoad:({params:e,search:t})=>{XB({org:e.org,taskId:e.taskId,virtualmcpid:t.virtualmcpid})},component:()=>null}),gre=Ae({main:G().optional(),connect:E2().optional(),siteUrl:G().optional(),task:G().optional()}),fre=it({getParentRoute:()=>Av,path:"/",validateSearch:gre,pendingComponent:NC,component:ut(()=>ct(()=>import("./index-_2waRVYp.js"),__vite__mapDeps([169,52,109,51,13,53,54,6,7,55,118])))}),vre=it({getParentRoute:()=>Av,path:"/t/$taskKey",pendingComponent:NC,component:ut(()=>ct(()=>import("./index-xiyjF2ia.js"),__vite__mapDeps([170,164,54,6,139])))}),ho=it({getParentRoute:()=>Ex,path:"/settings",component:ut(()=>ct(()=>import("./settings-layout-DTqIuCHt.js"),__vite__mapDeps([171,76,40,37,77,81,87,88,89,91,25,50,172,157,156,139,54,6,111,137])))}),bre=it({getParentRoute:()=>ho,path:"/",component:ut(()=>ct(()=>import("./index-redirect-Q-uzQ1ZR.js"),__vite__mapDeps([173,174])))}),yre=it({getParentRoute:()=>ho,path:"/connections",component:ut(()=>ct(()=>import("./connections-BRZcZzvE.js"),__vite__mapDeps([175,98,99,51,52,13,176,103,36,77,79,20,86,177,26,22,23,127,120,121,115,55,122,123,5,6,7,124,68,69,70,71,72,73,74,75,76,40,47,37,78,38,42,80,45,81,46,82,83,48,84,85,61,87,88,89,90,91,49,92,62,93,59,41,94,95,96,63,25,97,43,50,21,178,66,179,34,112,67,33,2,35,125,109,126,101,12,153]))),validateSearch:Lr(()=>Ae({action:yn(["create"]).optional(),tab:yn(["all","connected"]).optional()}))}),Sre=it({getParentRoute:()=>ho,path:"/connections/$appSlug",component:ut(()=>ct(()=>import("./connection-detail-BecsUn3M.js"),__vite__mapDeps([180,98,99,51,52,13,21,126,2,59,96,181,116,70,71,72,20,73,69,74,75,76,40,47,36,37,77,78,38,79,42,80,45,81,46,82,83,48,84,85,61,86,87,88,89,90,91,49,92,62,93,41,23,94,95,63,25,97,43,50,115,121,55,35,148,161,26,146,12,132,110,109,182,117,53,54,6,7,118,142,135,24,147,68,67,33,178,66,183,184,163,151,124,114,103,185]))),validateSearch:Lr(()=>Ae({tab:G().optional()}))}),_re=it({getParentRoute:()=>ho,path:"/connections/$appSlug/$collectionName/$itemId",component:ut(()=>ct(()=>import("./collection-detail-DosMB9QP.js"),__vite__mapDeps([186,21,51,52,13,67,33,2,125,181,116,70,71,72,20,73,69,74,75,76,40,47,36,37,77,78,38,79,42,80,45,81,46,82,83,48,84,85,61,86,87,88,89,90,91,49,92,62,93,59,41,23,94,95,96,63,25,97,43,50,115,98,99,121,55,35,148,161,26,146,12,132,110,109,182,117,53,54,6,7,118,187,124,145,4,68,138,44,34,3,129,139,39,24,15,56]))),validateSearch:Lr(()=>Ae({replayId:G().optional()}))}),wre=it({getParentRoute:()=>ho,path:"/monitor",component:ut(()=>ct(()=>import("./index-Bv7SAPra.js"),__vite__mapDeps([188,22,23,21,189,190,174,141,35,36,37,38,70,71,72,20,73,69,74,75,76,40,47,77,78,79,42,80,45,81,46,82,83,48,84,85,61,86,87,88,89,90,91,49,92,62,93,59,41,94,95,96,63,25,97,43,50,122,123,115,51,52,13,109,19,142,135,133,143,128,24,29,30,144,34,44,53,54,6,7,138,3,129,139,55,145,4,146,39,15,56,68,117,118,147,148,67,33,2,149,124,26,110,191,153,131,132,125,127,60,187,183,184,163]))),validateSearch:Lr(()=>Ae({tab:yn(["overview","audit","dashboards","threads","automations"]).default("overview"),from:G().default("now-30m"),to:G().default("now"),connectionId:Le(G()).optional().default([]),virtualMcpId:Le(G()).optional().default([]),tool:G().default(""),status:yn(["all","success","errors"]).default("all"),search:G().default(""),page:Ot().optional(),streaming:Gt().default(!0),propertyFilters:G().default(""),hideSystem:Gt().default(!1)}))}),Cre=it({getParentRoute:()=>ho,path:"/general",component:ut(()=>ct(()=>import("./general-wKChpaKt.js"),__vite__mapDeps([192,187,74,89,43,135,160,24,25,2,35,36,37,38,70,71,72,20,73,69,75,76,40,47,77,78,79,42,80,45,81,46,82,83,48,84,85,61,86,87,88,90,91,49,92,62,93,59,41,23,94,95,96,63,97,50,52,109,51,13,119,55,60,193,26,66,189,190,174])))}),xre=it({getParentRoute:()=>ho,path:"/connect",pendingComponent:As("connect"),component:ut(()=>ct(()=>import("./connect-BRqyUKct.js"),__vite__mapDeps([194,187,151,144,36,45,88,89,96,195,51,52,13])))}),Ere=it({getParentRoute:()=>ho,path:"/ai-providers",pendingComponent:As("billing"),component:ut(()=>ct(()=>import("./ai-providers-_bAZfhEo.js"),__vite__mapDeps([196,71,129,47,55,52,152,34,112,138,44,36,45,46,53,51,13,54,6,7,3,109,139,153,2,35,37,38,73,78,88,82,23,154,49,4,77,24,25,83,72,95,160,81,26,130,66,59,159,30,96,189,190,174])))}),Tre=it({getParentRoute:()=>ho,path:"/billing",beforeLoad:({params:e})=>{throw vi({to:"/$org/settings/ai-providers",params:{org:e.org}})}}),kre=it({getParentRoute:()=>ho,path:"/infra-billing",pendingComponent:As("billing"),component:ut(()=>ct(()=>import("./infra-billing-C8apIzey.js"),__vite__mapDeps([197,81,89,26,191,153,36,37,131,132,34,23,110,35,38,19,184,163,148,189,190,174])))}),Pre=it({getParentRoute:()=>ho,path:"/secrets",component:ut(()=>ct(()=>import("./secrets-D-r8Fhcp.js"),__vite__mapDeps([198,71,59,25,97,34,2,33,35,36,37,38,125,162,189,190,174])))}),Are=it({getParentRoute:()=>ho,path:"/api-keys",pendingComponent:As("connect"),component:ut(()=>ct(()=>import("./api-keys-Cn1MTRia.js"),__vite__mapDeps([199,71,45,88,59,96,66,34,2,33,195,51,52,13,189,190,174])))}),Rre=it({getParentRoute:()=>ho,path:"/buckets",pendingComponent:As("storage"),component:ut(()=>ct(()=>import("./buckets-C6KeDFl_.js"),__vite__mapDeps([200,71,87,59,96,66,34,2,33,35,36,37,38,60,125,158,189,190,174])))}),Dre=it({getParentRoute:()=>ho,path:"/synced-repos",pendingComponent:As("storage"),component:ut(()=>ct(()=>import("./synced-repos-DL_Fe1n5.js"),__vite__mapDeps([201,59,66,34,2,113,114,23,27,115,51,52,13,101,12,73,89,90,116,98,99,117,109,53,54,6,7,118,100,167,155,79,46,84,85,88,62,96,50,103,36,77,149,83,189,190,174])))}),Ore=it({getParentRoute:()=>ho,path:"/tasks",component:ut(()=>ct(()=>import("./tasks-DIZudm73.js"),__vite__mapDeps([202,2,36,78,131,132,34,23,110,60,66,35,37,38,80,55,52,155,79,46,84,85,88,62,96,50,103,77,149,83,189,190,174])))}),Ire=it({getParentRoute:()=>ho,path:"/members",pendingComponent:As("members"),component:ut(()=>ct(()=>import("./members-BeZb8rdR.js"),__vite__mapDeps([203,176,103,36,77,79,20,86,177,26,22,23,18,19,21,134,34,67,33,35,37,38,125,135,136,172,24,25,29,30,31,142,204,66,88,94,96,43,153,131,132,110,59,165,189,190,174])))}),Mre=it({getParentRoute:()=>ho,path:"/roles",pendingComponent:As("members"),component:ut(()=>ct(()=>import("./roles-qVXSbIQj.js"),__vite__mapDeps([205,136,135,204,26,66,103,36,77,79,59,96,18,19,20,21,22,23,154,68,69,70,71,72,73,74,75,76,40,47,37,78,38,42,80,45,81,46,82,83,48,84,85,61,86,87,88,89,90,91,49,92,62,93,41,94,95,63,25,97,43,50,123,153,128,51,52,13,114,185,142,31,115,129,24,60,190,174]))),validateSearch:Lr(()=>Ae({role:G().optional()}))}),Lre=it({getParentRoute:()=>ho,path:"/sso",component:ut(()=>ct(()=>import("./sso-BxyVr7dm.js"),__vite__mapDeps([206,193,26,2,35,36,37,38,66,60,56,96,189,190,174])))}),Nre=it({getParentRoute:()=>ho,path:"/profile",component:ut(()=>ct(()=>import("./profile-CMoih80z.js"),__vite__mapDeps([207,24,25,60,35,36,37,38,130,2,49,92,93,160,156])))}),Fre=it({getParentRoute:()=>ho,path:"/store",component:ut(()=>ct(()=>import("./store-CEc4rXka.js"),__vite__mapDeps([208,71,77,59,96,2,60,24,25,110,115,51,52,13,121,55,189,190,174])))}),Bre=it({getParentRoute:()=>ho,path:"/registry",component:ut(()=>ct(()=>import("./registry-C7_sqj0C.js"),__vite__mapDeps([209,189,190,174])))}),jre=it({getParentRoute:()=>ho,path:"/store/registry",component:ut(()=>ct(()=>import("./store-registry-DVE1XJgw.js"),__vite__mapDeps([210,189,190,174])))}),zre=it({getParentRoute:()=>ho,path:"/agents",component:ut(()=>ct(()=>import("./agents-list-DEVfy7bO.js"),__vite__mapDeps([211,103,36,77,79,40,113,34,114,23,27,115,51,52,13,101,12,73,89,90,116,98,99,117,109,53,54,6,7,118,100,70,71,72,20,69,74,75,76,47,37,78,38,42,80,45,81,46,82,83,48,84,85,61,86,87,88,91,49,92,62,93,59,41,94,95,96,63,25,97,43,50,159,30,55,21,182,150,66,22])))}),Ure=it({getParentRoute:()=>ho,path:"/automations",component:ut(()=>ct(()=>import("./automations-BU9EygDS.js"),__vite__mapDeps([212,59,50,22,23,21,143,51,52,13,117,109,53,54,6,7,118,166,66,103,36,77,79,42,96,70,71,72,20,73,69,74,75,76,40,47,37,78,38,80,45,81,46,82,83,48,84,85,61,86,87,88,89,90,91,49,92,62,93,41,94,95,63,25,97,43,189,190,174])))}),$re=ho.addChildren([bre,yre,Sre,_re,zre,Ure,wre,Cre,xre,Ere,Tre,kre,Pre,Are,Rre,Dre,Ore,Ire,Mre,Lre,Nre,Fre,jre,Bre]),qre=e3.addChildren([hre]),Vre=Av.addChildren([fre,vre,qre]),Hre=Ex.addChildren([Vre,$re]),Gre=xx.addChildren([lre,Hre]),Kre=xa.addChildren([Gre,sre,cre,ure,dre,mre,Jae,Xae,ere,tre,ore,nre]);function Wre(){const e=Ne.c(16),t=xl();let o;e[0]!==t?(o=t("common.index.pageNotFound"),e[0]=t,e[1]=o):o=e[1];let n;e[2]!==o?(n=C.jsx("h3",{className:"text-lg font-medium text-foreground",children:o}),e[2]=o,e[3]=n):n=e[3];let a;e[4]!==t?(a=t("common.index.pageNotFoundDescription"),e[4]=t,e[5]=a):a=e[5];let i;e[6]!==a?(i=C.jsx("p",{className:"text-sm text-muted-foreground text-center max-w-[300px]",children:a}),e[6]=a,e[7]=i):i=e[7];let l;e[8]!==t?(l=t("common.index.goBack"),e[8]=t,e[9]=l):l=e[9];let c;e[10]!==l?(c=C.jsx("button",{type:"button",onClick:Yre,className:"text-sm text-primary hover:underline",children:l}),e[10]=l,e[11]=c):c=e[11];let d;return e[12]!==n||e[13]!==i||e[14]!==c?(d=C.jsx("div",{className:"flex h-full items-center justify-center",children:C.jsxs("div",{className:"flex flex-col items-center gap-4 p-8",children:[n,i,c]})}),e[12]=n,e[13]=i,e[14]=c,e[15]=d):d=e[15],d}function Yre(){return window.history.back()}const Tx=NU({routeTree:Kre,defaultPendingComponent:LC,defaultPendingMs:200,defaultNotFoundComponent:Wre});function Te(...e){return VL(FC(e))}function Zre(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}function Fo({error:e,localization:t,localizeErrors:o=!0}){var n;const a="Request failed";if(!o)return e?.message?e.message:(n=e?.error)!=null&&n.message?e.error.message:a;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||a}function El(e){return typeof window<"u"?new URLSearchParams(window.location.search).get(e):null}function kw(e,t){for(const o in e)if(e[o]===t)return o}function vm(e,t){let o=G().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 Qre={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"},Jre={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"},Xre={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."},eie={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."},tie={VERIFICATION_FAILED:"Captcha verification failed",MISSING_RESPONSE:"Missing CAPTCHA response",UNKNOWN_ERROR:"Something went wrong"},oie={MISSING_SECRET_KEY:"Missing secret key",SERVICE_UNAVAILABLE:"CAPTCHA service unavailable"},nie={...tie,...oie},aie={OTP_EXPIRED:"otp expired",INVALID_OTP:"Invalid OTP",INVALID_EMAIL:"Invalid email",USER_NOT_FOUND:"User not found",TOO_MANY_ATTEMPTS:"Too many attempts"},rie={INVALID_OAUTH_CONFIGURATION:"Invalid OAuth configuration"},iie={PASSWORD_COMPROMISED:"The password you entered has been compromised. Please choose a different password."},sie={INVALID_SESSION_TOKEN:"Invalid session token"},lie={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"},cie={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"},uie={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"},die={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"},mie={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"},pie={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"},hie={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"},gie={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",...eie,...Qre,...Jre,...Xre,...nie,...aie,...rie,...iie,...sie,...lie,...cie,...uie,...die,...mie,...pie,...hie},fie={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"},TO={SETTINGS:"settings",SECURITY:"security",TEAMS:"teams",API_KEYS:"api-keys",ORGANIZATIONS:"organizations"},kO={SETTINGS:"settings",MEMBERS:"members",TEAMS:"teams",API_KEYS:"api-keys"};const t3=A.createContext({});function o3(){return A.useContext(t3)}var fS,PO;function vie(){if(PO)return fS;PO=1;var e=function(){};return fS=e,fS}var bie=vie();const yie=yl(bie);function Sie({async:e,appendTo:t,defer:o,id:n,nonce:a,src:i}){const l=document.createElement("script");e!==void 0&&(l.async=e),o!==void 0&&(l.defer=o),n&&(l.id=n),a&&l.setAttribute("nonce",a),l.src=i,(t==="head"?document.head:document.body).appendChild(l)}var _ie=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(o[n[a]]=e[n[a]]);return o};let Jd=null,bm=!1;const Lf=new Set,Nf=new Set,wie=typeof window<"u",Kc="___grecaptcha_cfg",n3=`onLoadCallback_${Math.random().toString(36).slice(2)}`;function Cie(){if(!wie)return;function e(o){if(bm)o();else{window[Kc]||(window[Kc]={});const n=window[Kc];n.fns||(n.fns=[]),n.fns.push(o)}}window.grecaptcha||(window.grecaptcha={}),window.grecaptcha.enterprise||(window.grecaptcha.enterprise={}),window.grecaptcha.ready=e,window.grecaptcha.enterprise.ready=e;function t(){bm=!0;for(const o of Nf)o();Nf.clear()}window[n3]=t}function xie({language:e,onLoadCallbackName:t,render:o,useEnterprise:n=!1,useRecaptchaNet:a=!1}){const i=a?"recaptcha.net":"google.com",l=n?"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 Eie({language:e,render:t,scriptProps:o,useEnterprise:n,useRecaptchaNet:a}){const i={id:"google-recaptcha-v3"},l=xie({language:e,onLoadCallbackName:n3,render:t,useEnterprise:n,useRecaptchaNet:a});if(Jd){if(Jd!==l)throw new Error("reCAPTCHA has already been loaded with different parameters. Remove the existing script and load it again.");return}Jd=l,Sie(Object.assign(Object.assign(Object.assign({},i),o),{src:l}))}function Tie(e){if(!window[Kc])return;const t=window[Kc];t.clients&&delete t.clients[e]}function kie(e,t){var{onLoadCallback:o,onLoadCallbackName:n}=t,a=_ie(t,["onLoadCallback","onLoadCallbackName"]);if(Lf.size===0&&Cie(),Eie(a),Lf.add(e),o&&(bm?o():Nf.add(o)),n){let i=function(){if(!n)return;const l=window[n];typeof l=="function"&&l()};bm?i():Nf.add(i)}}function Pie(e){var t,o,n;Lf.delete(e),Lf.size===0&&(window.grecaptcha=void 0,window[Kc]=void 0,(t=document.querySelector(".grecaptcha-badge"))===null||t===void 0||t.remove(),(o=document.querySelector(`script[src="${Jd}"]`))===null||o===void 0||o.remove(),(n=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]'))===null||n===void 0||n.remove(),Jd=null,bm=!1)}let AO=!1;function Aie({container:e,children:t,language:o,reCaptchaKey:n,scriptProps:a,useEnterprise:i,useRecaptchaNet:l}){var c,d,m,h,p,f,v;const b=A.useId(),[S,x]=A.useState(null),[_,w]=A.useState(null),P=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(()=>{x(L)})}return kie(b,{language:o,onLoadCallback:D,onLoadCallbackName:a?.onLoadCallbackName,render:e?.element?"explicit":n,scriptProps:{appendTo:a?.appendTo,async:a?.async,defer:a?.defer,id:a?.id,nonce:a?.nonce},useEnterprise:i,useRecaptchaNet:l}),()=>{Pie(b),x(null)}},[e?.element,b,o,n,a?.appendTo,a?.async,a?.defer,a?.id,a?.nonce,a?.onLoadCallbackName,i,l]),A.useEffect(()=>{var D,O,L;if(!e?.element||!S?.render)return;const U={"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:n,size:"invisible",tabindex:e.parameters.tabindex,theme:e.parameters.theme},F=typeof e?.element=="string"?document.getElementById(e.element):e?.element;if(!F)throw new Error("reCAPTCHA container element not found");const $=S.render(F,U);return!((O=e?.parameters)===null||O===void 0)&&O.hidden&&(AO||(yie(!1,"reCAPTCHA badge hidden. See https://cloud.google.com/recaptcha/docs/faq#id_like_to_hide_the_badge_what_is_allowed for more information."),AO=!0),(L=F.querySelector(".grecaptcha-badge"))===null||L===void 0||L.style.setProperty("display","none")),w($),P.current=!0,()=>{w(null),P.current=!1,Tie($),F.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,(m=e?.parameters)===null||m===void 0?void 0:m.callback,(h=e?.parameters)===null||h===void 0?void 0:h.errorCallback,(p=e?.parameters)===null||p===void 0?void 0:p.expiredCallback,(f=e?.parameters)===null||f===void 0?void 0:f.tabindex,(v=e?.parameters)===null||v===void 0?void 0:v.theme,S,n]);const T=!!e?.element,k=T?_:n,R=A.useMemo(()=>k!==null&&S?.execute?D=>{if(k===null||!S?.execute)throw new Error("reCAPTCHA has not been loaded");return T&&!P.current?(console.warn("Client ID not mounted"),null):S.execute(k,{action:D})}:void 0,[k,S,T]);return C.jsx(t3.Provider,{value:{container:e?.element,executeRecaptcha:R,reCaptchaInstance:S},children:t})}var Rie=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 n of o)n()}}},Fa=new Rie;function Die(){return()=>{}}function Ti(){return A.useSyncExternalStore(Die,()=>!0,()=>!1)}function a3(){const[e,t]=A.useState();return A.useEffect(()=>{const o=()=>{const a=document.documentElement.getAttribute("lang");t(a??void 0)};o();const n=new MutationObserver(a=>{for(const i of a)i.attributeName==="lang"&&o()});return n.observe(document.documentElement,{attributes:!0}),()=>{n.disconnect()}},[]),{lang:e}}function kx(){const[e,t]=A.useState("light");return A.useEffect(()=>{const o=()=>{var a;const i=document.documentElement.classList.contains("dark")||((a=document.documentElement.getAttribute("style"))==null?void 0:a.includes("color-scheme: dark"));t(i?"dark":"light")};o();const n=new MutationObserver(a=>{for(const i of a)(i.attributeName==="style"||i.attributeName==="class")&&o()});return n.observe(document.documentElement,{attributes:!0}),()=>{n.disconnect()}},[]),{theme:e}}function Oie({children:e}){const t=Ti(),{captcha:o}=A.useContext(bt);return o?.provider!=="google-recaptcha-v3"?e:C.jsxs(Aie,{reCaptchaKey:o.siteKey,useEnterprise:o.enterprise,useRecaptchaNet:o.recaptchaNet,children:[t&&C.jsx("style",{children:`
164
+ {plan}`,"chat.highlight.pleaseContinue":"Por favor, continue.","chat.highlight.responseIncomplete":"Resposta incompleta","chat.highlight.responseStoppedUnexpectedly":"A resposta parou inesperadamente: {reason}","chat.highlight.showTechnicalDetails":"Mostrar detalhes técnicos","chat.highlight.warningDescriptionContentFilter":"A resposta foi filtrada devido à política de conteúdo.","chat.highlight.warningDescriptionLength":"A resposta atingiu o limite de saída do modelo. Diferentes modelos têm limites diferentes. Tente trocar de modelo ou peça para continuar.","chat.highlight.warningDescriptionToolCalls":"A resposta foi pausada após a execução da ferramenta para evitar loops infinitos e economizar custos. Clique continuar para continuar trabalhando.","chat.iceBreakers.allPromptsTitle":"Todos os prompts","chat.iceBreakers.failedToLoadPrompt":"Falha ao carregar prompt. Tente novamente.","chat.iceBreakers.mcpClientNotAvailable":"Cliente MCP não disponível","chat.iceBreakers.moreButton":"+{count} mais","chat.iceBreakers.noPromptsMatch":'Nenhum prompt correspondente a "{search}"',"chat.iceBreakers.promptsLabel":"Prompts","chat.iceBreakers.searchPromptsPlaceholder":"Pesquisar prompts...","chat.imageLightbox.downloadImage":"Baixar imagem","chat.imageLightbox.zoomIn":"Aumentar zoom","chat.imageLightbox.zoomOut":"Diminuir zoom","chat.input.cancelRecording":"Cancelar gravação","chat.input.cancelRun":"Cancelar execução","chat.input.createImage":"Criar imagem","chat.input.deepResearch":"Pesquisa profunda","chat.input.dropFilesHere":"Solte {fileTypes} aqui","chat.input.microphoneAccessDenied":"Acesso ao microfone negado — clique para tentar novamente","chat.input.modelCannotReadAttachments":"Este modelo não consegue ler anexos — mude para um com suporte a visão ou arquivos","chat.input.planMode":"Modo de planejamento","chat.input.codingAgentRequiresDesktop":"Continue este chat do agente de código no aplicativo Studio para desktop.","chat.input.fastPreviewUnavailable":"O chat não está disponível em projetos Fast Preview. Use o CMS para editar o conteúdo.","chat.fastPreview.chatNeedsSession":"O chat precisa de um sandbox de código por trás. A sessão continua neste branch e o CMS segue funcionando normalmente.","chat.fastPreview.startCodingSession":"Iniciar sessão de código","chat.input.readOnlyOthersChat":"Apenas leitura - você está visualizando um chat de outra pessoa","chat.input.readOnlyOthersChatNamed":"Apenas leitura - você está visualizando o chat de {name}","chat.input.readOnlyThread":"Apenas leitura - este chat rodou de forma autônoma e não aceita respostas","chat.input.sendMessage":"Enviar mensagem","chat.input.sendMessageEnter":"Enviar mensagem (Enter)","chat.input.stillSendingPreviousMessage":"Ainda enviando sua mensagem anterior — tente novamente em um momento","chat.input.stopGenerating":"Parar de gerar","chat.input.useTranscription":"Usar transcrição","chat.input.voiceInput":"Entrada de voz","chat.input.webSearch":"Busca na web","chat.input.placeholder":"Pergunte qualquer coisa, / para prompts & habilidades, @ para agentes & recursos...","chat.markdown.copyAsCSV":"Copiar como CSV","chat.markdown.copyCode":"Copiar código","chat.markdown.image":"Imagem","chat.markdown.openFile":"Abrir arquivo","chat.mentionAt.agentsDescription":"Mencione um agente para transferir o trabalho","chat.mentionAt.agentsTitle":"Agentes","chat.mentionAt.failedToLoadResource":"Falha ao carregar recurso. Tente novamente.","chat.mentionAt.resourcesDescription":"Anexar um recurso como contexto","chat.mentionAt.resourcesTitle":"Recursos","chat.mentionSlash.failedLoadPrompt":"Falha ao carregar prompt. Tente novamente.","chat.mentionSlash.failedLoadResource":"Falha ao carregar recurso. Tente novamente.","chat.mentionSlash.failedLoadSkill":"Falha ao carregar skill. Tente novamente.","chat.mentionSlash.failedUpdatePrompt":"Falha ao atualizar prompt. Tente novamente.","chat.nextActionChip.failedLoadPrompt":"Falha ao carregar prompt. Tente novamente.","chat.nextActionChip.mcpClientNotAvailable":"Cliente MCP não disponível","chat.nextActionChip.next":"Próximo:","chat.nativeAgentEmptyState.agentListLabel":"Agentes de codificação","chat.nativeAgentEmptyState.detected":"detectado","chat.nativeAgentEmptyState.detecting":"detectando","chat.nativeAgentEmptyState.heading":"Escolha um agente de codificação","chat.nativeAgentEmptyState.keyboardHint":"↑↓ selecionar · ↵ iniciar","chat.nativeAgentEmptyState.notDetected":"{label} não foi detectado neste computador","chat.nativeAgentEmptyState.tryAnyway":"tentar mesmo assim","chat.nativeTerminal.chooseAgentFirst":"Escolha Claude Code, Codex ou OpenCode antes de enviar uma mensagem.","chat.nativeTerminal.agentLabel":"agente de codificação","chat.nativeTerminal.chatClosedBeforePrompt":"O chat foi fechado antes do envio da mensagem. Reabra-o e tente novamente.","chat.nativeTerminal.connectionFailed":"Não foi possível conectar ao agente de codificação. Reabra o chat e tente novamente.","chat.nativeTerminal.emptyPrompt":"Escreva uma mensagem antes de enviar.","chat.nativeTerminal.exited":"O agente de codificação foi encerrado","chat.nativeTerminal.exitedBeforeReady":"O agente de codificação parou antes de ficar pronto. Reabra o chat e tente novamente.","chat.nativeTerminal.failed":"Erro no terminal","chat.nativeTerminal.promptFailed":"Não foi possível enviar a mensagem.","chat.nativeTerminal.promptDeliveryUnknown":"Perdemos a conexão depois que sua mensagem foi enviada. Ela pode já estar em execução; confira o agente de codificação antes de enviar novamente.","chat.nativeTerminal.promptTooLarge":"Esta mensagem é grande demais para enviar. Encurte-a e tente novamente.","chat.nativeTerminal.attachmentsUnsupported":"Anexos de arquivos e imagens ainda não estão disponíveis em chats com agentes de codificação.","chat.nativeTerminal.readOnly":"Somente o proprietário do chat pode abrir ou controlar o terminal.","chat.nativeTerminal.readOnlyTitle":"Chat somente leitura","chat.nativeTerminal.reconnectingAgent":"Reconectando ao {agent}…","chat.nativeTerminal.pulseConnected":"conectado","chat.nativeTerminal.pulseInitializing":"inicializando","chat.nativeTerminal.pulseReconnecting":"reconectando","chat.nativeTerminal.startingAgent":"Iniciando {agent}…","chat.nativeTerminal.structuredActionUnsupported":"Esta ação ainda não está disponível em chats com agentes de codificação.","chat.nativeTerminal.terminalLabel":"Terminal do agente de codificação","chat.nativeTerminal.unsupportedHarness":"Este chat foi criado com um agente que o aplicativo para desktop não suporta. Abra-o no Studio pela web ou atualize o Studio e tente novamente.","chat.nativeTerminal.unsupportedHarnessTitle":"Este chat não pode ser aberto no aplicativo para desktop","chat.nativeTerminal.unexpectedExit":"O agente de codificação parou inesperadamente. Reabra o chat e tente novamente.","chat.nativeTerminal.waitingForAgentOutput":"Aguardando saída do {agent}…","chat.nativeTerminal.waitingForTerminalDraw":"aguardando a exibição do terminal","chat.noAiProviderEmptyState.headingDefault":"Seus agentes estão quase prontos","chat.noAiProviderEmptyState.headingWithOrg":"{org} está pronto para agentes","chat.noAiProviderEmptyState.subtitleDefault":"Conecte um provedor de IA para começar a conversar.","chat.noAiProviderEmptyState.useLabel":"Usar {label}","chat.outputFileRow.download":"Baixar","chat.outputFileRow.downloadFile":"Baixar {filename}","chat.outputFileRow.open":"Abrir","chat.pagination.counter":"{current} de {total}","chat.pagination.nextLabel":"Próxima pergunta","chat.pagination.previousLabel":"Pergunta anterior","chat.proposePlan.approved":"Aprovado","chat.proposePlan.implementationPlan":"Plano de Implementação","chat.proposePlan.keepIterating":"Continuar iterando","chat.proposePlan.letsGo":"Vamos lá","chat.proposePlan.planReady":"Plano pronto","chat.proposePlan.preparingPlan":"Preparando plano...","chat.proposePlan.rejected":"Rejeitado","chat.proposePlan.viewPlan":"Ver plano","chat.queueTray.queuedMessage":"{count} mensagem na fila","chat.queueTray.queuedMessages":"{count} mensagens na fila","chat.queueTray.removeFromQueue":"Remover da fila","chat.queueTray.sendNow":"Enviar agora","chat.runStatus.analyzingScopeDetail":"Descobrindo como responder","chat.runStatus.analyzingScopeLabel":"Pensando","chat.runStatus.choosingNextStepsDetail":"Decidindo o que fazer a seguir","chat.runStatus.choosingNextStepsLabel":"Pensando","chat.runStatus.gatheringContextDetail":"Analisando o histórico, arquivos e notas","chat.runStatus.gatheringContextLabel":"Lendo o chat","chat.runStatus.preparingToolsDetail":"Preparando as ferramentas que ele pode usar","chat.runStatus.preparingToolsLabel":"Se preparando","chat.runStatus.receivedDetail":"Sua mensagem está na fila para ser tratada","chat.runStatus.receivedLabel":"Mensagem recebida","chat.runStatus.sendingDetail":"Adicionando sua mensagem ao chat","chat.runStatus.sendingLabel":"Enviando sua mensagem","chat.runStatus.startingAssistantDetail":"Quase pronto para responder","chat.runStatus.startingAssistantLabel":"Se preparando","chat.runStatus.startingRunDetail":"Configurando para trabalhar na sua mensagem","chat.runStatus.startingRunLabel":"Começando","chat.runStatus.waitingCapacityDetail":"Todos os outros runners estão ocupados — este começa assim que um ficar livre","chat.runStatus.waitingCapacityLabel":"Aguardando um runner livre","chat.runStatus.waitingRunnerDetail":"Finalizando a mensagem anterior neste chat","chat.runStatus.waitingRunnerLabel":"Aguardando para começar","chat.selectModel.selectModel":"Selecionar modelo","chat.selectVirtualMcp.chooseAgentTooltip":"Escolha um agente para conversar","chat.selectVirtualMcp.createAgent":"Criar Agente","chat.selectVirtualMcp.creating":"Criando...","chat.selectVirtualMcp.noAgentsFound":"Nenhum agente encontrado","chat.selectVirtualMcp.searchPlaceholder":"Pesquisar por um agente...","chat.selectVirtualMcp.selectAgent":"Selecionar Agente","chat.shared.approxWords":"~{wordCount} palavras","chat.shared.capabilityImage":"Imagem","chat.shared.capabilityReasoning":"Raciocínio","chat.shared.capabilityText":"Texto","chat.shared.capabilityTools":"Ferramentas","chat.shared.capabilityVision":"Visão","chat.shared.capabilityWebSearch":"Pesquisa na web","chat.shared.context":"Contexto","chat.shared.contextLevelLarge":"Grande","chat.shared.contextLevelLargeDesc":"Projetos longos e pesquisa","chat.shared.contextLevelMedium":"Médio","chat.shared.contextLevelMediumDesc":"Bom para a maioria das tarefas","chat.shared.contextLevelSmall":"Pequeno","chat.shared.contextLevelSmallDesc":"Conversas curtas","chat.shared.contextLevelVeryLarge":"Muito grande","chat.shared.contextLevelVeryLargeDesc":"Arquivos e dados massivos","chat.shared.contextWindow":"Janela de contexto","chat.shared.costLevelCheap":"Barato","chat.shared.costLevelExpensive":"Caro","chat.shared.costLevelHigh":"Alto","chat.shared.costLevelModerate":"Moderado","chat.shared.fileTypeAudio":"áudio","chat.shared.fileTypeImages":"imagens","chat.shared.fileTypeOffice":"Arquivos Office","chat.shared.fileTypePdfs":"PDFs","chat.shared.fileTypeVideo":"vídeo","chat.shared.hoverToPreview":"Passe o mouse para visualizar","chat.shared.input":"Entrada","chat.shared.output":"Saída","chat.shared.outputLimit":"Limite de saída","chat.shared.pricing":"Preços","chat.shared.selectModel":"Selecionar modelo","chat.shared.tokens":"tokens","chat.subtask.awaitingApproval":"Aguardando aprovação...","chat.subtask.completedNoOutput":"Subtarefa concluída (sem saída).","chat.subtask.completedTitle":"Subtarefa concluída","chat.subtask.errorLabel":"Erro","chat.subtask.failedTitle":"Subtarefa falhou","chat.subtask.failedWithError":"Subtarefa falhou: {error}","chat.subtask.flipToBackground":"Executar em background","chat.subtask.flipping":"Movendo para background…","chat.subtask.noPromptProvided":"Nenhum prompt fornecido","chat.subtask.resultLabel":"Resultado","chat.subtask.running":"Executando…","chat.subtask.runningEllipsis":"Subtarefa em execução...","chat.subtask.runningInBackground":"Executando em background…","chat.subtask.startingEllipsis":"Iniciando subtarefa...","chat.subtask.stepLimitNoOutput":"[A subtarefa atingiu o limite de etapas antes de produzir um relatório final. O subagente trabalhou, mas ficou sem etapas. Restrinja a tarefa ou aumente o orçamento.]","chat.subtask.stepLimitPartial":"[A subtarefa atingiu o limite de etapas — resultado parcial abaixo; considere restringir a tarefa.]","chat.subtask.subtaskNoun":"Subtarefa","chat.subtask.taskLabel":"Tarefa","chat.takeScreenshot.failed":"Falhou","chat.takeScreenshot.screenshot":"Captura de tela","chat.takeScreenshot.screenshotAlt":"Captura de tela","chat.takeScreenshot.taking":"Capturando tela","chat.takeScreenshot.title":"Capturar tela","chat.textPart.copyMessage":"Copiar mensagem","chat.thinkingIndicator.cancel":"Cancelar","chat.thinkingIndicator.planningDetail":"Decidindo como abordar a solicitação","chat.thinkingIndicator.planningLabel":"Planejando os próximos passos","chat.thinkingIndicator.takingLonger":"Isso está levando mais tempo que o usual.","chat.thinkingIndicator.thinking":"Pensando...","chat.thinkingIndicator.thinkingDetail":"Processando a próxima resposta","chat.thinkingIndicator.thinkingLabel":"Pensando","chat.thinkingIndicator.thought":"Pensou","chat.thinkingIndicator.thoughtFor":"Pensou por {duration}","chat.tierTrigger.selected":"Selecionado","chat.tierTrigger.tierFast":"Rápido","chat.tierTrigger.tierSmart":"Inteligente","chat.tierTrigger.tierThinking":"Pensamento","chat.threadsMenu.chats":"Chats","chat.toolsPopover.addFile":"Adicionar arquivo","chat.toolsPopover.approval":"Aprovação","chat.toolsPopover.connections":"Conexões","chat.toolsPopover.createImage":"Criar imagem","chat.toolsPopover.deepResearch":"Pesquisa aprofundada","chat.toolsPopover.failedLoadPrompt":"Falha ao carregar prompt. Por favor, tente novamente.","chat.toolsPopover.loadingPrompts":"Carregando prompts…","chat.toolsPopover.modelNoFileSupport":"O modelo selecionado não suporta leitura de arquivos ou imagens.","chat.toolsPopover.noPromptsAvailable":"Nenhum prompt disponível","chat.toolsPopover.on":"Ativado","chat.toolsPopover.planMode":"Modo planejamento","chat.toolsPopover.prompts":"Prompts","chat.toolsPopover.tools":"Ferramentas","chat.toolsPopover.webSearch":"Busca na web","chat.triggerEventPart.triggeredByEvent":"Acionado por evento","chat.uploader.accepts":"{modelName} aceita","chat.uploader.cantAttachToChat":"não pode ser anexado a este chat.","chat.uploader.fileTypeNotSupported":"Tipo de arquivo não suportado","chat.uploader.gotIt":"Entendi","chat.userAskQuestion.choiceOptionsAriaLabel":"Opções de escolha","chat.userAskQuestion.confirmNo":"Não","chat.userAskQuestion.confirmValue":"Confirme {value}","chat.userAskQuestion.confirmYes":"Sim","chat.userAskQuestion.confirmationOptionsAriaLabel":"Opções de confirmação","chat.userAskQuestion.customChoiceInputAriaLabel":"Entrada de escolha customizada","chat.userAskQuestion.preparingQuestion":"Preparando pergunta...","chat.userAskQuestion.question":"Pergunta","chat.userAskQuestion.questionCount":"{current} de {total}","chat.userAskQuestion.questionPending":"Pergunta pendente","chat.userAskQuestion.selectOption":"Selecione {option}","chat.userAskQuestion.skip":"Pular","chat.userAskQuestion.skipMessage":"usuário pulou esta pergunta","chat.userAskQuestion.skippedAnswer":"Pulado","chat.userAskQuestion.somethingElsePlaceholder":"Algo mais...","chat.userAskQuestion.textResponseInputAriaLabel":"Entrada de resposta em texto","chat.userAskQuestion.typeResponse":"Digite sua resposta...","chat.webSearch.failed":"Falhou","chat.webSearch.researching":"Pesquisando...","chat.webSearch.showLess":"mostrar menos","chat.webSearch.showMore":"+{count} mais","chat.webSearch.title":"Busca na web","chat.mention.editPrompt":"Editar argumentos do prompt {name}","chat.mention.noItemsFound":"Nenhum item encontrado","chat.modelPreferences.title":"Seus modelos","chat.modelPreferences.description":"Escolha qual modelo cada nível usa para você. Isso altera apenas os seus chats — o padrão da organização permanece o mesmo.","chat.modelPreferences.customizeModel":"Personalizar modelo de {tier}","chat.modelPreferences.pickModel":"Escolher modelo","chat.modelPreferences.reset":"Redefinir","chat.modelPreferences.usingOrgDefault":"Usando o padrão da organização","chat.modelPreferences.orgDefaultIs":"Padrão da organização: {model}","chat.modelPreferences.autoPicked":"escolhido automaticamente","chat.modelPreferences.loadFailed":"Não foi possível carregar suas escolhas de modelo. O que aparece abaixo pode não corresponder ao que seus chats usam.","chat.todoStatus.completed":"concluído","chat.todoStatus.inProgress":"em progresso","chat.todoStatus.pending":"pendente","chat.subscriptionLimit.trialLabel":"Assinatura necessária","chat.subscriptionLimit.trialTitle":"Esta organização usou as 3 execuções grátis de auto tasks. Assine para continuar.","chat.subscriptionLimit.monthlyLabel":"Cota de auto tasks esgotada","chat.subscriptionLimit.monthlyTitle":"Esta organização usou suas execuções de auto tasks deste ciclo de cobrança. Mais ficam disponíveis no próximo ciclo.","chat.subscriptionLimit.runsLabel":"Limite da task atingido","chat.subscriptionLimit.runsTitle":"Esta task atingiu o limite de re-execuções. Crie uma nova task para continuar.","chat.subscriptionLimit.subscribeButton":"Assinar"},wae={"automations.addStarterPopover.addStarter":"Adicionar Gatilho","automations.addStarterPopover.customCron":"Personalizado (cron)","automations.addStarterPopover.event":"Evento","automations.addStarterPopover.every":"A cada...","automations.addStarterPopover.everyUnit":"A cada {unit}","automations.addStarterPopover.failedAddStarter":"Erro ao adicionar gatilho","automations.addStarterPopover.failedAddWebhookStarter":"Erro ao adicionar gatilho webhook","automations.addStarterPopover.starterAdded":"Gatilho adicionado","automations.addStarterPopover.webhook":"Webhook","automations.addStarterPopover.webhookStarterAdded":"Gatilho webhook adicionado","automations.automationConfig.all":"Todos","automations.automationConfig.allTools":"Todas as ferramentas","automations.automationConfig.allToolsEnabled":"Todas as {count} ferramentas habilitadas","automations.automationConfig.browser":"Navegador","automations.automationConfig.builtinCapabilities":"Capacidades integradas","automations.automationConfig.clear":"Limpar","automations.automationConfig.connectAiProviderHint":"Conecte um provedor de IA nas configurações para selecionar um modelo específico.","automations.automationConfig.context":"Contexto","automations.automationConfig.filesCode":"Arquivos e código","automations.automationConfig.loadingModels":"Carregando modelos…","automations.automationConfig.loadingTools":"Carregando ferramentas…","automations.automationConfig.modelLabel":"Modelo","automations.automationConfig.noToolsFound":"Nenhuma ferramenta encontrada","automations.automationConfig.none":"Nenhum","automations.automationConfig.otherTools":"Outras ferramentas","automations.automationConfig.pickAgentFirst":"Selecione um agente primeiro","automations.automationConfig.pickModelPlaceholder":"Selecione um modelo","automations.automationConfig.searchToolsPlaceholder":"Pesquisar ferramentas...","automations.automationConfig.selectAll":"Selecionar tudo","automations.automationConfig.specificModel":"Modelo específico","automations.automationConfig.tierFast":"Rápido","automations.automationConfig.tierFastSubtitle":"Respostas rápidas para tarefas simples","automations.automationConfig.tierSmart":"Inteligente","automations.automationConfig.tierSmartSubtitle":"Equilíbrio entre qualidade e velocidade","automations.automationConfig.tierThinking":"Raciocínio","automations.automationConfig.tierThinkingSubtitle":"Raciocínio profundo para tarefas complexas","automations.automationConfig.toolAskUser":"Pergunte ao usuário","automations.automationConfig.toolAskUserDesc":"Pause para fazer uma pergunta de esclarecimento ao usuário","automations.automationConfig.toolEditFile":"Editar arquivo","automations.automationConfig.toolEditFileDesc":"Faça edições direcionadas em um arquivo existente","automations.automationConfig.toolFindFiles":"Encontrar arquivos","automations.automationConfig.toolFindFilesDesc":"Encontre arquivos por padrão de nome","automations.automationConfig.toolGenerateImage":"Gerar imagem","automations.automationConfig.toolGenerateImageDesc":"Crie imagens a partir de um prompt de texto","automations.automationConfig.toolInspectPage":"Inspecionar página","automations.automationConfig.toolInspectPageDesc":"Inspecione a estrutura de uma página web","automations.automationConfig.toolLoadSkill":"Carregar habilidade","automations.automationConfig.toolLoadSkillDesc":"Carregue as instruções completas de uma habilidade (SKILL.md) por id","automations.automationConfig.toolReadFile":"Ler arquivo","automations.automationConfig.toolReadFileDesc":"Leia um arquivo do espaço de trabalho","automations.automationConfig.toolReadPrompt":"Ler prompt","automations.automationConfig.toolReadPromptDesc":"Leia uma definição de prompt MCP","automations.automationConfig.toolReadResource":"Ler recurso","automations.automationConfig.toolReadResourceDesc":"Leia um recurso MCP por URI","automations.automationConfig.toolRunCommand":"Executar comando","automations.automationConfig.toolRunCommandDesc":"Execute comandos shell na sandbox","automations.automationConfig.toolScrapeUrl":"Raspar URL","automations.automationConfig.toolScrapeUrlDesc":"Busque e extraia conteúdo de uma URL","automations.automationConfig.toolSearchContent":"Pesquisar conteúdo","automations.automationConfig.toolSearchContentDesc":"Pesquise conteúdo de arquivo por padrão","automations.automationConfig.toolSubtask":"Subtarefa","automations.automationConfig.toolSubtaskDesc":"Crie um sub-agente focado para lidar com parte do trabalho","automations.automationConfig.toolTakeScreenshot":"Tirar captura de tela","automations.automationConfig.toolTakeScreenshotDesc":"Capture uma captura de tela de uma página web","automations.automationConfig.toolWebSearch":"Busca na web","automations.automationConfig.toolWebSearchDesc":"Pesquise informações atuais na web","automations.automationConfig.toolWriteFile":"Escrever arquivo","automations.automationConfig.toolWriteFileDesc":"Crie ou sobrescreva um arquivo","automations.automationConfig.tools":"Ferramentas","automations.automationConfig.toolsEnabledCount":"{enabled} de {total} habilitadas","automations.automationConfig.toolsLabel":"Ferramentas","automations.automationDetail.active":"Ativo","automations.automationDetail.addStarter":"Adicionar um acionador","automations.automationDetail.advanced":"Avançado","automations.automationDetail.automationNamePlaceholder":"Nome da automação","automations.automationDetail.backToList":"Voltar para a lista","automations.automationDetail.failedToAddStarter":"Falha ao adicionar acionador","automations.automationDetail.improve":"Melhorar","automations.automationDetail.inactive":"Inativo","automations.automationDetail.instructions":"Instruções","automations.automationDetail.instructionsPlaceholder":"O que esta automação deve fazer?","automations.automationDetail.invalid":"inválido","automations.automationDetail.loadingConnections":"Carregando conexões...","automations.automationDetail.maxSteps":"Máx. passos","automations.automationDetail.maxStepsPlaceholder":"{default} (padrão)","automations.automationDetail.noInstructionsConfigured":"Nenhuma instrução configurada para esta automação","automations.automationDetail.starter":"Acionador","automations.automationDetail.starterAdded":"Acionador adicionado","automations.automationDetail.test":"Testar","automations.automationDetail.testAutomation":"Testar Automação","automations.automationDetail.toGetGoing":"para começar.","automations.automationDetail.whenShouldRun":"Quando esta automação deve executar?","automations.automationListRow.ariaActive":"Ativo","automations.automationListRow.ariaNoTriggers":"Nenhum gatilho configurado","automations.automationListRow.ariaPaused":"Pausado","automations.automationListRow.cancel":"Cancelar","automations.automationListRow.delete":"Deletar","automations.automationListRow.deleteButton":"Deletar","automations.automationListRow.deleteDescription":"Isto remove {name} e todos os seus gatilhos. Esta ação não pode ser desfeita.","automations.automationListRow.deleteTitle":"Deletar automação?","automations.automationListRow.nextRun":"Próxima execução {date}","automations.automationListRow.noTriggers":"Nenhum gatilho configurado","automations.automationListRow.triggers":"{count} gatilho(s)","automations.automationRuns.costHeader":"Custo","automations.automationRuns.costTitle":"Custo","automations.automationRuns.failed":"falhadas","automations.automationRuns.lastRunsSubtitle":"últimas {count} execuções","automations.automationRuns.loadingMore":"Carregando mais…","automations.automationRuns.loadingRuns":"Carregando execuções…","automations.automationRuns.noRunsDescription":"Esta automação ainda não foi executada. Dispare-a ou aguarde um inicializador disparar.","automations.automationRuns.noRunsTitle":"Nenhuma execução ainda","automations.automationRuns.noStartersDescription":"Adicione um inicializador (cron, evento ou webhook) para começar a coletar execuções.","automations.automationRuns.noStartersTitle":"Nenhum inicializador ainda","automations.automationRuns.ok":"ok","automations.automationRuns.runHeader":"Execução","automations.automationRuns.running":"em execução","automations.automationRuns.runsTitle":"Execuções","automations.automationRuns.startedHeader":"Iniciada","automations.automationRuns.statusHeader":"Status","automations.automationRuns.successRateTitle":"Taxa de sucesso","automations.automationRuns.tokensHeader":"Tokens","automations.automationRuns.tokensTitle":"Tokens","automations.automationsList.emptyDescription":"Crie sua primeira automação para executar este agente em um cronograma ou em resposta a eventos.","automations.automationsList.emptyTitle":"Nenhuma automação ainda","automations.automationsList.newAutomation":"Nova automação","automations.automationsList.noResultsDescription":'Nenhuma automação corresponde a "{search}"',"automations.automationsList.noResultsTitle":"Nenhuma automação encontrada","automations.automationsList.searchPlaceholder":"Pesquisar automações...","automations.automationsList.title":"Automações","automations.eventTriggerForm.addTriggerButton":"Adicionar gatilho","automations.eventTriggerForm.errorFailed":"Falha ao adicionar gatilho de evento","automations.eventTriggerForm.loadingEvents":"Carregando eventos...","automations.eventTriggerForm.noConnectionsWithTrigger":"Nenhuma conexão com suporte a gatilho","automations.eventTriggerForm.selectConnectionPlaceholder":"Selecionar conexão...","automations.eventTriggerForm.selectEventTypePlaceholder":"Selecionar tipo de evento...","automations.eventTriggerForm.selectParamPlaceholder":"Selecionar {key}...","automations.eventTriggerForm.successAdded":"Gatilho de evento adicionado","automations.eventTriggerForm.title":"Gatilho de evento","automations.triggerCard.cancel":"Cancelar","automations.triggerCard.confirmRemoveStarter":"Tem certeza de que deseja remover este disparador?","automations.triggerCard.every":"A cada","automations.triggerCard.failedToRemoveStarter":"Falha ao remover disparador","automations.triggerCard.failedToUpdateStarter":"Falha ao atualizar disparador","automations.triggerCard.invalid":"inválido","automations.triggerCard.newWebhookToken":"Novo token de webhook","automations.triggerCard.newWebhookTokenDescription":"O token anterior foi revogado. Copie o novo token agora — ele não será mostrado novamente.","automations.triggerCard.remove":"Remover","automations.triggerCard.removeStarter":"Remover Disparador","automations.triggerCard.rotate":"Girar","automations.triggerCard.rotateToken":"Girar token","automations.triggerCard.rotateWebhookToken":"Girar token de webhook","automations.triggerCard.rotateWebhookTokenDescription":"Um novo token será gerado e o token atual deixará de funcionar. Quaisquer remetentes que usem o token antigo devem ser atualizados.","automations.triggerCard.starterRemoved":"Disparador removido","automations.triggerCard.webhookPostToFire":"Webhook · POST para disparar","automations.webhookSecretDialog.copied":"Copiado","automations.webhookSecretDialog.copy":"Copiar","automations.webhookSecretDialog.done":"Concluído","automations.webhookSecretDialog.failedCopy":"Falha ao copiar","automations.webhookSecretDialog.snippet":"Snippet","automations.webhookSecretDialog.tokenInUrl":"Token na URL","automations.webhookSecretDialog.tokenLabel":"Token (exibido uma vez)","automations.webhookSecretDialog.url":"URL"},Cae={"agentShellLayout.agentShellLayout.runtimeUnavailableOnWeb":"Este chat não está disponível na web","agentShellLayout.agentShellLayout.runtimeUnavailableOnWebDescription":"Chats com agentes de código são executados localmente no Studio Desktop. Abra este chat lá para continuar.","agentShellLayout.agentShellLayout.agentNotFound":"Agente não encontrado","agentShellLayout.agentShellLayout.agentNotFoundDescription":'O agente "{virtualMcpId}" não existe nesta organização.',"agentShellLayout.agentShellLayout.chatLoadingError":"Algo deu errado ao carregar o chat. Tente atualizar.","agentShellLayout.agentShellLayout.creatingTask":"Criando tarefa…","agentShellLayout.agentShellLayout.goToOrgHome":"Ir para a página inicial da organização","agentShellLayout.agentShellLayout.nativeRuntimeUnavailable":"O terminal nativo não está disponível. Reinicie o Studio e tente novamente.","agentShellLayout.agentShellLayout.somethingWentWrong":"Algo deu errado. Tente atualizar.","agentShellLayout.agentShellLayout.taskUnavailable":"Tarefa indisponível","agentShellLayout.libraryToggle.library":"Biblioteca","agentShellLayout.tasksToggle.tasks":"Tarefas","agentShellLayout.toggleButtons.hideChat":"Ocultar chat","agentShellLayout.toggleButtons.hidePanel":"Ocultar painel","agentShellLayout.toggleButtons.showChat":"Mostrar chat","agentShellLayout.toggleButtons.showPanel":"Mostrar painel","agentShellLayout.toggleButtons.chat":"Chat","agentShellLayout.toolbar.backToHome":"Voltar para home","agentShellLayout.toolbar.logo":"Logo"},xae={"admin.layout.adminDashboard":"Painel de Administração","admin.layout.adminDashboardArea":"o painel de administração","admin.layout.emailVerificationRequired":"Verifique seu endereço de e-mail para acessar o painel de administração.","admin.layout.goHome":"Voltar para início","admin.layout.organizationsTab":"Organizações","admin.layout.restrictedToDashboard":"Este painel é restrito a administradores de implantação.","admin.layout.usersTab":"Usuários","admin.orgs.addMember":"Adicionar membro","admin.orgs.addMemberTo":"Adicionar membro para {org}","admin.orgs.adding":"Adicionando...","admin.orgs.cancel":"Cancelar","admin.orgs.created":"Criado","admin.orgs.email":"E-mail","admin.orgs.emailPlaceholder":"usuario@example.com","admin.orgs.failedAddMember":"Falha ao adicionar membro","admin.orgs.failedLoadOrgs":"Falha ao carregar organizações","admin.orgs.failedLoadOrgsDescription":"Algo deu errado. Atualize para tentar novamente.","admin.orgs.memberAdded":"{email} adicionado(a) a {org}","admin.orgs.members":"Membros","admin.orgs.noOrgsFound":"Nenhuma organização encontrada","admin.orgs.noOrgsMatchSearch":'Nenhuma organização corresponde a "{search}"',"admin.orgs.noOrgsYet":"Nenhuma organização existe ainda.","admin.orgs.organization":"Organização","admin.orgs.searchPlaceholder":"Procure organizações por nome ou slug...","admin.users.columnCreated":"Criado","admin.users.columnEmail":"E-mail","admin.users.columnUser":"Usuário","admin.users.failedToImpersonate":"Falha ao assumir identidade do usuário","admin.users.failedToLoadDescription":"Algo deu errado. Atualize a página para tentar novamente.","admin.users.failedToLoadTitle":"Falha ao carregar usuários","admin.users.impersonate":"Assumir identidade","admin.users.noUsersFoundTitle":"Nenhum usuário encontrado","admin.users.noUsersMatchSearch":'Nenhum usuário corresponde a "{search}"',"admin.users.noUsersYet":"Nenhum usuário ainda.","admin.users.searchPlaceholder":"Pesquise usuários por e-mail ou nome...","admin.users.unknown":"Desconhecido","admin.users.unverified":"Não verificado","admin.users.verified":"Verificado"},Eae={"sandbox.appEditor.createdSection":'Seção "{name}" criada',"sandbox.appEditor.editingBreadcrumb":"Trilha de navegação de edição","sandbox.appEditor.failedAddSection":"Não foi possível adicionar a seção","sandbox.appEditor.loadingSchema":"Carregando schema do app…","sandbox.appEditor.noEditableSchema":"Nenhum schema editável foi encontrado para este app.","sandbox.availableSectionEditor.editingBreadcrumb":"Navegação de edição","sandbox.availableSectionEditor.localEditsHint":"{typeLabel} — edições permanecem locais até que você salve isto como uma seção global.","sandbox.availableSectionEditor.noEditableFields":"Nenhum campo editável para esta seção.","sandbox.availableSectionEditor.saveAsGlobalSection":"Salvar como seção global","sandbox.blockPicker.blocksLabel":"Blocos","sandbox.blockPicker.customBlocksLabel":"Blocos personalizados","sandbox.blockPicker.insertBlockButton":"Inserir bloco","sandbox.blockPicker.noBlocksFound":"Nenhum bloco encontrado.","sandbox.blockPicker.searchPlaceholder":"Pesquisar blocos…","sandbox.blockRegistry.unknownBlockType":'Tipo de bloco desconhecido{type ? ` (${type})` : ""}.',"sandbox.blockRegistry.writeSomethingPlaceholder":"Escreva algo…","sandbox.blockRow.deleteBlock":"Deletar bloco","sandbox.blockRow.dragToReorder":"Arraste para reordenar","sandbox.blockRow.duplicateBlock":"Duplicar bloco","sandbox.bulkCategoryPanel.applyButton":"Aplicar","sandbox.bulkCategoryPanel.cancelButton":"Cancelar","sandbox.bulkCategoryPanel.categoryLabel":"Categoria","sandbox.bulkCategoryPanel.descriptionEmpty":"Selecione posts da lista para escolher a quais posts essa atualização se aplica.","sandbox.bulkCategoryPanel.descriptionWithCount":"Escolha uma categoria para aplicar a {count} post(s).","sandbox.bulkCategoryPanel.exitSelection":"Sair da seleção","sandbox.bulkCategoryPanel.modeAddDescription":"Mantenha as categorias existentes e adicione esta.","sandbox.bulkCategoryPanel.modeAddTitle":"Adicionar categoria","sandbox.bulkCategoryPanel.modeReplaceDescription":"Remova todas as categorias atuais e defina apenas esta.","sandbox.bulkCategoryPanel.modeReplaceTitle":"Substituir categoria","sandbox.bulkCategoryPanel.noCategoriesMessage":"Nenhuma categoria ainda — crie uma na coleção de Categorias.","sandbox.bulkCategoryPanel.noPostsSelectedMessage":"Nenhum post selecionado ainda — escolha-os da lista à esquerda.","sandbox.bulkCategoryPanel.selectCategoryPlaceholder":"Selecione uma categoria","sandbox.bulkCategoryPanel.selectedCount":"{count} post(s) selecionado(s)","sandbox.bulkCategoryPanel.selectedPostsLabel":"{count} post(s) selecionado(s)","sandbox.bulkCategoryPanel.title":"Atualizar categoria","sandbox.bulkCategoryPanel.updatingButton":"Atualizando…","sandbox.categoryEditor.addPostsButton":"Adicionar posts","sandbox.categoryEditor.cancelButton":"Cancelar","sandbox.categoryEditor.categoryNamePlaceholder":"Nome da categoria","sandbox.categoryEditor.contentTitle":"Conteúdo","sandbox.categoryEditor.descriptionLabel":"Descrição","sandbox.categoryEditor.descriptionPlaceholder":"Descrição breve desta categoria","sandbox.categoryEditor.noContentEmpty":"Esta categoria ainda não possui conteúdo. Use ⊕ para adicionar seu primeiro bloco.","sandbox.categoryEditor.pickPostsTooltip":"Selecione posts para adicionar nesta categoria","sandbox.categoryEditor.postsInCategory":"{count} post(s) nesta categoria","sandbox.categoryEditor.previewTooltip":"Abra a visualização da categoria em uma nova aba","sandbox.categoryEditor.renameActionButton":"Renomear e atualizar posts","sandbox.categoryEditor.renameDialogDescription":'Alterar o slug de "{oldSlug}" para "{newSlug}" atualizará {count} post(s) que fazem referência a esta categoria.',"sandbox.categoryEditor.renameDialogTitle":"Renomear slug da categoria?","sandbox.categoryEditor.renameFailed":"Falha ao renomear","sandbox.categoryEditor.renameSuccessNoPosts":"Slug renomeado","sandbox.categoryEditor.renameSuccessWithPosts":"Slug renomeado e {count} post(s) atualizado(s)","sandbox.categoryEditor.renamingLabel":"Renomeando…","sandbox.categoryEditor.seeCategoryPreview":"Ver visualização da categoria","sandbox.categoryEditor.setSlugTooltip":"Defina um slug para adicionar posts nesta categoria","sandbox.categoryEditor.slugLabel":"Slug","sandbox.categoryEditor.slugPlaceholder":"minha-categoria","sandbox.categoryEditor.untitledCategory":"Categoria sem título","sandbox.categoryEditor.untitledPost":"Post sem título","sandbox.collectionsSidebar.actions":"Ações","sandbox.collectionsSidebar.apps":"Apps","sandbox.collectionsSidebar.authors":"Autores","sandbox.collectionsSidebar.blog":"Blog","sandbox.collectionsSidebar.calendar":"Calendário","sandbox.collectionsSidebar.categories":"Categorias","sandbox.collectionsSidebar.content":"Conteúdo","sandbox.collectionsSidebar.loaders":"Carregadores","sandbox.collectionsSidebar.pages":"Páginas","sandbox.collectionsSidebar.posts":"Posts","sandbox.collectionsSidebar.redirects":"Redirecionamentos","sandbox.collectionsSidebar.sections":"Seções","sandbox.collectionsSidebar.seo":"SEO","sandbox.collectionsSidebar.site":"Site","sandbox.drawer.failedToRestart":"Falha ao reiniciar {name}","sandbox.drawer.failedToRun":"Falha ao executar {name}","sandbox.drawer.failedToStop":"Falha ao parar {name}","sandbox.drawer.run":"Executar","sandbox.drawer.scriptNotRunning":'Script "{name}" não está em execução',"sandbox.envVarsField.addEnvVar":"Adicionar variável de ambiente","sandbox.envVarsField.added":"Adicionada(s) {added} variável(eis)","sandbox.envVarsField.addedWithSkipped":"Adicionada(s) {added} variável(eis) ({skipped} já existia(m))","sandbox.envVarsField.allKeysExist":"Todas as {count} chave(s) já existem","sandbox.envVarsField.cancel":"Cancelar","sandbox.envVarsField.clipboardEmpty":"A área de transferência está vazia","sandbox.envVarsField.clipboardReadFailed":"Não foi possível ler a área de transferência","sandbox.envVarsField.createNewSecret":"Criar novo segredo","sandbox.envVarsField.createNewSecretAriaLabel":"Criar novo segredo","sandbox.envVarsField.createNewSecretDescription":"Armazenado criptografado no cofre de credenciais. A variável de ambiente referenciará o novo segredo por id.","sandbox.envVarsField.createNewSecretTitle":"Criar novo segredo","sandbox.envVarsField.description":"Injetadas na sandbox a cada início. Referencie um segredo de org/usuário para manter os valores fora dos metadados; valores literais são armazenados inline.","sandbox.envVarsField.descriptionLabel":"Descrição (opcional)","sandbox.envVarsField.descriptionPlaceholder":"Para que este segredo é usado?","sandbox.envVarsField.envVarKeyLabel":"Chave da variável de ambiente {index}","sandbox.envVarsField.envVarValueLabel":"Valor da variável de ambiente {index}","sandbox.envVarsField.failedToLoadSecrets":"Falha ao carregar segredos","sandbox.envVarsField.failedToSaveSecret":"Falha ao salvar","sandbox.envVarsField.invalidKeyMessage":"Letras, dígitos, sublinhados. Deve começar com uma letra ou sublinhado.","sandbox.envVarsField.keyPlaceholder":"CHAVE","sandbox.envVarsField.literal":"Literal","sandbox.envVarsField.missingSecret":"Segredo ausente ({id})","sandbox.envVarsField.nameHelperText":"Letras, dígitos, sublinhado, ponto, hífen. Independente da chave da variável de ambiente.","sandbox.envVarsField.nameLabel":"Nome","sandbox.envVarsField.namePlaceholder":"STRIPE_API_KEY","sandbox.envVarsField.noSecretsYet":'Nenhum segredo ainda. Use o "+" para criar um.',"sandbox.envVarsField.nothingToAdd":"Nada para adicionar","sandbox.envVarsField.pasteDotenv":"Colar .env","sandbox.envVarsField.pasteDotenvAriaLabel":"Colar .env","sandbox.envVarsField.pasteDotenvTooltip":"Leia um blob .env da área de transferência. Cada par é preparado como um literal — salve as linhas individuais como segredos depois.","sandbox.envVarsField.pickSecretPlaceholder":"Escolha um segredo…","sandbox.envVarsField.remove":"Remover","sandbox.envVarsField.removeEnvVarAriaLabel":"Remover variável de ambiente","sandbox.envVarsField.restartDev":"Reiniciar dev","sandbox.envVarsField.restartFailed":"Falha ao reiniciar {failed} de {total} ramificação(ões)","sandbox.envVarsField.restartedMultiple":"Reiniciadas {count} ramificações com novo ambiente","sandbox.envVarsField.restartedSingle":"Dev reiniciado com novo ambiente","sandbox.envVarsField.restarting":"Reiniciando…","sandbox.envVarsField.sandboxRunningNotice":"Sua sandbox está em execução. Reinicie o script de desenvolvimento para aplicar o novo ambiente.","sandbox.envVarsField.saveAsSecret":"Salvar valor como segredo","sandbox.envVarsField.saveAsSecretAriaLabel":"Salvar valor como segredo","sandbox.envVarsField.saveSecret":"Salvar segredo","sandbox.envVarsField.saveValueAsSecretDescription":"Mova este valor para o cofre criptografado. A variável de ambiente referenciará o segredo por id — seu valor nunca sai do servidor.","sandbox.envVarsField.saveValueAsSecretTitle":"Salvar valor como segredo","sandbox.envVarsField.saving":"Salvando…","sandbox.envVarsField.scopeLabel":"Escopo","sandbox.envVarsField.scopeOrganization":"Organização — visível para todos os membros","sandbox.envVarsField.scopePrivate":"Privado — visível apenas para mim","sandbox.envVarsField.secret":"Segredo","sandbox.envVarsField.secretSaved":'Segredo "{name}" salvo',"sandbox.envVarsField.secretValuePlaceholder":"valor do segredo","sandbox.envVarsField.title":"Variáveis de ambiente","sandbox.envVarsField.valueLabel":"Valor","sandbox.envVarsField.valuePlaceholder":"valor","sandbox.fileExplorer.askTheAiPlaceholder":"Pergunte à IA...","sandbox.fileExplorer.deleteFailed":"Falha ao deletar","sandbox.fileExplorer.failedToCopyText":"Falha ao copiar {label}","sandbox.fileExplorer.failedToLoadFolder":"Falha ao carregar pasta","sandbox.fileExplorer.failedToOpenFile":"Falha ao abrir arquivo","sandbox.fileExplorer.failedToRefreshFileTree":"Falha ao atualizar árvore de arquivos","sandbox.fileExplorer.fileAlreadyExists":'"{name}" já existe',"sandbox.fileExplorer.fileCreated":'Criado "{name}"',"sandbox.fileExplorer.fileDeleted":'Deletado "{name}"',"sandbox.fileExplorer.fileListTruncated":"Lista de arquivos truncada — alguns arquivos podem estar ocultos","sandbox.fileExplorer.files":"Arquivos","sandbox.fileExplorer.folderCreated":'Pasta criada "{name}"',"sandbox.fileExplorer.folderListingTruncated":"Lista de pastas truncada — expanda novamente para carregar mais","sandbox.fileExplorer.inFiles":"Nos arquivos","sandbox.fileExplorer.modified":"Modificado","sandbox.fileExplorer.newFile":"Novo arquivo","sandbox.fileExplorer.newFileLabel":"Novo arquivo","sandbox.fileExplorer.newFolder":"Nova pasta","sandbox.fileExplorer.newFolderLabel":"Nova pasta","sandbox.fileExplorer.noFileNamesMatch":"Nenhum nome de arquivo corresponde","sandbox.fileExplorer.noFilesFound":"Nenhum arquivo encontrado","sandbox.fileExplorer.noMatchesInFileContents":"Nenhuma correspondência no conteúdo dos arquivos","sandbox.fileExplorer.operationFailed":"Operação falhou","sandbox.fileExplorer.renamedTo":'Renomeado para "{name}"',"sandbox.fileExplorer.saved":"Salvo","sandbox.fileExplorer.searchFilesLabel":"Pesquisar arquivos","sandbox.fileExplorer.searchFilesPlaceholder":"Pesquisar arquivos...","sandbox.fileExplorer.selectFileToEdit":"Selecione um arquivo para editar","sandbox.fileExplorer.send":"Enviar","sandbox.fileExplorer.textCopied":"{label} copiado","sandbox.fileExplorerDeleteDialog.cancel":"Cancelar","sandbox.fileExplorerDeleteDialog.delete":"Excluir","sandbox.fileExplorerDeleteDialog.description":"Isso excluirá permanentemente","sandbox.fileExplorerDeleteDialog.folderSuffix":" e tudo dentro dela.","sandbox.fileExplorerDeleteDialog.titleFile":"Excluir arquivo?","sandbox.fileExplorerDeleteDialog.titleFolder":"Excluir pasta?","sandbox.fileExplorerDeleteDialog.unsavedChangesMany":"{count} arquivos abertos têm alterações não salvas que serão perdidas.","sandbox.fileExplorerDeleteDialog.unsavedChangesOne":"Um arquivo aberto tem alterações não salvas que serão perdidas.","sandbox.fileExplorerNameDialog.cancel":"Cancelar","sandbox.fileExplorerNameDialog.location":"Local","sandbox.fileExplorerNameDialog.name":"Nome","sandbox.fileExplorerNameDialog.newFileDescription":"Digite um nome para o novo arquivo.","sandbox.fileExplorerNameDialog.newFilePlaceholder":"nomedoarquivo.ts","sandbox.fileExplorerNameDialog.newFileSubmit":"Criar","sandbox.fileExplorerNameDialog.newFileTitle":"Novo Arquivo","sandbox.fileExplorerNameDialog.newFolderDescription":"Digite um nome para a nova pasta.","sandbox.fileExplorerNameDialog.newFolderPlaceholder":"nome-da-pasta","sandbox.fileExplorerNameDialog.newFolderSubmit":"Criar","sandbox.fileExplorerNameDialog.newFolderTitle":"Nova Pasta","sandbox.fileExplorerNameDialog.renameDescription":"Digite um novo nome para este item.","sandbox.fileExplorerNameDialog.renamePlaceholder":"novo-nome","sandbox.fileExplorerNameDialog.renameSubmit":"Renomear","sandbox.fileExplorerNameDialog.renameTitle":"Renomear","sandbox.fileExplorerNameDialog.saving":"Salvando…","sandbox.fileTreeRow.copyPath":"Copiar caminho","sandbox.fileTreeRow.copyRelativePath":"Copiar caminho relativo","sandbox.fileTreeRow.delete":"Deletar","sandbox.fileTreeRow.newFile":"Novo arquivo","sandbox.fileTreeRow.newFolder":"Nova pasta","sandbox.fileTreeRow.rename":"Renomear","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.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.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.mediaBlocks.divider":"Divisor","sandbox.mediaBlocks.fullWidth":"Largura total","sandbox.mediaBlocks.image":"Imagem","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.headingPlaceholder":"Título","sandbox.plainBlocks.languagePlaceholder":"linguagem","sandbox.plainBlocks.listItemPlaceholder":"Item de lista","sandbox.plainBlocks.numberedLabel":"Numerada","sandbox.plainBlocks.quotePlaceholder":"Citação","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.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.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.publishedLabel":"Publicado","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.slugLabel":"Slug","sandbox.postEditor.slugPlaceholder":"meu-post","sandbox.postEditor.untitledPost":"Post sem título","sandbox.postEditor.valuePlaceholder":"valor","sandbox.postToolbar.allPosts":"Todos os posts","sandbox.postToolbar.authorLabel":"Autor","sandbox.postToolbar.categoryLabel":"Categoria","sandbox.postToolbar.clearFilter":"Limpar filtro","sandbox.postToolbar.deleteSelected":"Deletar selecionados","sandbox.postToolbar.deleteSelectedPosts":"Deletar posts selecionados","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":"{count} selecionados","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.statusDraft":"Rascunho","sandbox.postToolbar.statusLabel":"Status","sandbox.postToolbar.statusPublished":"Publicado","sandbox.preview.catchAllParamLabel":"caminho","sandbox.preview.choosePage":"Escolher página","sandbox.preview.clickElementToAsk":"Clique em qualquer elemento para perguntar à IA","sandbox.preview.cms":"CMS","sandbox.preview.collapseTerminal":"Recolher terminal","sandbox.preview.editContent":"Editar conteúdo","sandbox.preview.exitEditor":"Sair do editor","sandbox.preview.expandTerminal":"Expandir terminal","sandbox.preview.resizeTerminal":"Redimensionar terminal","sandbox.preview.copyCurrentUrl":"Copiar URL atual","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.editSeo":"Editar SEO","sandbox.preview.enterToGo":"Enter para ir","sandbox.preview.failedToCopyUrl":"Falha ao copiar URL","sandbox.preview.failedToCreatePage":"Falha ao criar página","sandbox.preview.globalComponents":"Componentes globais","sandbox.preview.globalLoaders":"Loaders globais","sandbox.preview.invalidPageBlockKey":"Chave de bloco de página inválida","sandbox.preview.loaderBadge":"Loader","sandbox.preview.loaderNoLongerExists":"Este loader não existe mais.","sandbox.preview.moreOptions":"Mais opções","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.openInCursor":"Abrir no Cursor","sandbox.preview.openInBrowser":"Abrir no navegador","sandbox.preview.failedToOpenInBrowser":"Não foi possível abrir seu navegador","sandbox.preview.openInNewTab":"Abrir em nova aba","sandbox.preview.openInVscode":"Abrir no VSCode","sandbox.preview.pageAlreadyExists":'Uma página com o caminho "{path}" já existe.',"sandbox.preview.pageCreated":'Página "{name}" criada',"sandbox.preview.previewMetadataNotReady":"Metadados de visualização não estão prontos ainda","sandbox.preview.refresh":"Atualizar","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.urlCopiedToClipboard":"URL copiada para a área de transferência","sandbox.preview.valueForParam":"Valor de {label}","sandbox.preview.viewJson":"Visualizar JSON","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.productPickerDialog.typeToSearchPrompt":"Digite para buscar produtos.","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.optionOrganization":"Organização","sandbox.recordEditor.optionPerson":"Pessoa","sandbox.recordEditor.placeholderEmail":"autor@exemplo.com","sandbox.recordEditor.titleAuthor":"Autor","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.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.editing.title":"Edição","sandbox.cmsUnavailable.title":"Este chat não consegue pré-visualizar seu site","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.cmsSettings.editing.description":"Personalize a experiência de edição de conteúdo no formulário de blocos.","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.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 agente. 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.backToList":"Voltar para a lista","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.editingBreadcrumb":"Trilha de migalhas da edição","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.savedSectionEditor.editAsJson":"Editar como JSON","sandbox.savedSectionEditor.editingBreadcrumb":"Trilha de edição","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.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 agente 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.submoduleCredentialsField.addSubmoduleCredential":"Adicionar credencial de submódulo","sandbox.submoduleCredentialsField.cancel":"Cancelar","sandbox.submoduleCredentialsField.createNewSecret":"Criar novo segredo","sandbox.submoduleCredentialsField.createNewSecretAriaLabel":"Criar novo segredo","sandbox.submoduleCredentialsField.createNewSecretDescription":"Armazenado criptografado no cofre de credenciais. A credencial de submódulo fará referência ao novo segredo pelo id — seu valor nunca sai do servidor.","sandbox.submoduleCredentialsField.createNewSecretTitle":"Criar novo segredo","sandbox.submoduleCredentialsField.description":"Tokens de acesso pessoal para clonar submódulos git privados hospedados em outros repositórios. Referencie um segredo de org/usuário por host; URLs SSH de submódulo são reescritas para HTTPS para que o token se aplique.","sandbox.submoduleCredentialsField.descriptionLabel":"Descrição (opcional)","sandbox.submoduleCredentialsField.descriptionPlaceholder":"Para que este token é usado?","sandbox.submoduleCredentialsField.failedToLoadSecrets":"Falha ao carregar segredos","sandbox.submoduleCredentialsField.failedToSaveSecret":"Falha ao salvar","sandbox.submoduleCredentialsField.hostAriaLabel":"Host da credencial de submódulo {index}","sandbox.submoduleCredentialsField.hostInvalidMessage":"Nome de host simples, ex.: github.com (sem esquema ou caminho).","sandbox.submoduleCredentialsField.hostPlaceholder":"github.com","sandbox.submoduleCredentialsField.nameLabel":"Nome","sandbox.submoduleCredentialsField.namePlaceholder":"GITHUB_SUBMODULE_PAT","sandbox.submoduleCredentialsField.nameHelperText":"Letras, dígitos, underscore, ponto, hífen.","sandbox.submoduleCredentialsField.noSecretsYet":'Nenhum segredo ainda. Use o "+" para criar um.',"sandbox.submoduleCredentialsField.pickSecretPlaceholder":"Escolha um segredo…","sandbox.submoduleCredentialsField.remove":"Remover","sandbox.submoduleCredentialsField.removeAriaLabel":"Remover credencial de submódulo","sandbox.submoduleCredentialsField.saveSecret":"Salvar segredo","sandbox.submoduleCredentialsField.saving":"Salvando…","sandbox.submoduleCredentialsField.scopeLabel":"Escopo","sandbox.submoduleCredentialsField.scopeOrganization":"Organização — visível para todos os membros","sandbox.submoduleCredentialsField.scopePrivate":"Privado — visível apenas para mim","sandbox.submoduleCredentialsField.secretSaved":'Segredo "{name}" salvo',"sandbox.submoduleCredentialsField.title":"Credenciais de submódulo","sandbox.submoduleCredentialsField.tokenLabel":"Token de acesso pessoal","sandbox.submoduleCredentialsField.tokenPlaceholder":"ghp_…","sandbox.toolbar.closeTab":"Fechar {tab}","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"},Tae={"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.apiKeys":"Chaves de API","settings.nav.billing":"Cobrança e IA","settings.nav.buckets":"Buckets","settings.nav.syncedRepos":"Repos sincronizados","settings.nav.storage":"Armazenamento","settings.nav.advanced":"Avançado","settings.subnav.ariaLabel":"Seções de configurações","settings.subnav.clients":"Clientes","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":"Os cards visíveis do board são espelhados — a aba Backlog, epics e sub-tasks nã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.mappingLabel":"Mapeamento de colunas","settings.jira.mappingDescription":"Mapeie as colunas do board pras lanes deste quadro. Colunas marcadas como “Não sincronizar” nunca aparecem aqui.","settings.jira.dontSync":"Não sincronizar","settings.jira.jqlLabel":"Filtro JQL (opcional)","settings.jira.jqlDescription":"JQL extra pra restringir o que sincroniza — útil pra casar com o filtro salvo do seu board no Jira. Epics e sub-tasks são sempre excluídos.","settings.jira.jqlPlaceholder":"ex.: labels = storefront AND sprint in openSprints()","settings.jira.jqlSave":"Salvar filtro","settings.jira.jqlSaved":"Filtro salvo — vale a partir da próxima sincronização","settings.jira.columnsFailed":"Não foi possível carregar as colunas do board","settings.jira.autoDelegateLabel":"Delegar automaticamente pro agente","settings.jira.autoDelegateDescription":"Quando uma issue entra numa coluna mapeada pra To Do, o Super Agent assume o card e começa a trabalhar. O progresso dele é espelhado de volta na issue.","settings.jira.enableLabel":"Sincronização ativa","settings.jira.enableRequirements":"Escolha um projeto e mapeie pelo menos um status antes de ativar a sincronização","settings.jira.lastSynced":"Última sincronização {ago}","settings.jira.waitingFirstSync":"Aguardando a primeira sincronização","settings.jira.syncNow":"Sincronizar agora","settings.jira.syncing":"Sincronizando…","settings.jira.syncDone":"Sincronizado: {created} criados, {updated} atualizados","settings.jira.syncFailed":"Falha na sincronizaçã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, mudanças feitas no Jira chegam ao quadro na próxima sincronização de 10 minutos; com ele, chegam em segundos.","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. Mudanças feitas no Jira passam a aparecer no quadro em segundos.","settings.syncedRepos.pageDescription":"Repositórios do GitHub 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 do GitHub 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.nav.connections":"Conexões","settings.nav.agents":"Agentes","settings.nav.automations":"Automações","settings.nav.store":"Loja","settings.nav.monitor":"Monitoramento","settings.nav.members":"Membros","settings.nav.security":"Segurança","settings.nav.profile":"Perfil e preferências","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.updateSuccess":"Perfil atualizado com sucesso","settings.profile.updateError":"Falha ao atualizar o perfil","settings.preferences.title":"Preferências","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 agentes","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.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.activeKeys":"Chaves ativas","settings.connectClients.activeKeysDescription":"Chaves que você gerou para clientes headless. Revogue quando quiser.","settings.connectClients.apiKeyTab":"Chave API","settings.connectClients.copy":"Copiar","settings.connectClients.createdAt":"Criada em {date}","settings.connectClients.customClientHint":"Conectando um cliente personalizado?","settings.connectClients.doneHideKey":"Concluído, ocultar chave","settings.connectClients.failedToLoadKeys":"Falha ao carregar chaves: {error}","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.keyCreated":"Chave criada","settings.connectClients.keyRevoked":"Chave revogada","settings.connectClients.loadingActiveKeys":"Carregando chaves ativas…","settings.connectClients.noConnectKeysYet":"Nenhuma chave de conexão criada ainda. Gere uma na aba de um cliente acima para configurações headless.","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.oauthTab":"OAuth","settings.connectClients.orgUnifiedMcp":"O MCP unificado da sua org","settings.connectClients.orgUnifiedMcpDescription":"Insira esta URL em qualquer cliente MCP para dar a esse runtime toda conexão habilitada nesta org, governada pelas suas regras do Decopilot.","settings.connectClients.pageTitle":"Conectar a clientes","settings.connectClients.revoke":"Revogar","settings.connectClients.revokeConfirm":'Revogar "{name}"? Qualquer cliente que ainda use esta chave perderá o acesso.',"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.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.decoCreditsHero.accessModels":"Acesso a 100+ modelos","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.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.navigation.title":"Navegação","settings.navigation.description":"Como esta organização circula pelo Studio.","settings.navigation.updateError":"Não foi possível atualizar as configurações de navegação","settings.navigation.navV2Title":"Navegação de primeira classe","settings.navigation.navV2Description":"A barra lateral lista destinos (Relatórios, Biblioteca, Tarefas) em vez de chats, e a lista de chats vai para o topo do painel de chat. Ativada por padrão em organizações novas e em organizações de relatório.","settings.orgGeneral.organization":"Organização","settings.mainAgent.title":"Agente principal","settings.mainAgent.description":"O agente em que esta organização abre. Todos os membros chegam aqui em vez do Super Agent.","settings.mainAgent.itemTitle":"Agente de entrada","settings.mainAgent.itemDescription":"Escolha o agente que abre ao entrar nesta organização.","settings.mainAgent.superAgentOption":"Super Agent (padrão)","settings.mainAgent.setToast":'"{title}" agora é o agente principal',"settings.mainAgent.resetToast":"Redefinido para o Super Agent","settings.mainAgent.errorToast":"Não foi possível atualizar o agente principal","settings.review.title":"Revisores e merge","settings.review.description":"Revisores automáticos rodam no pull request de uma tarefa assim que ela entra em Revisão (checks passando ou inexistentes). Ambos aparecem como sessões no card da tarefa.","settings.review.qaAgentTitle":"Ativar QA Agent","settings.review.qaAgentDescription":"Garante que a tarefa realmente resolveu o problema — testa a feature, não só o diff.","settings.review.codeReviewerTitle":"Ativar Code Reviewer","settings.review.codeReviewerDescription":"Revisa o código usando as skills de review apropriadas à stack do repositório.","settings.review.cheapReviewerModelTitle":"Rodar os revisores em um modelo mais barato","settings.review.cheapReviewerModelDescription":"O QA Agent e o Code Reviewer leem um diff e chegam a um veredito, então rodam 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 todos os revisores habilitados aprovam, mescla o pull request automaticamente em vez de esperar por uma pessoa. Se um conflito bloquear o merge, o Super Agent resolve antes.","settings.review.autoAssignReportTasksTitle":"Atribuir tarefas de relatório ao Super Agent automaticamente","settings.review.autoAssignReportTasksDescription":"Tarefas criadas a partir de um relatório 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.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.allModels":"Todos os modelos","settings.orgRoleDetail.allOrgPermissions":"Todas as permissões da organização","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.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.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.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.orgStore.addRegistry":"Adicionar Registro","settings.orgStore.adding":"Adicionando...","settings.orgStore.authTokenLabel":"Token de Autenticação","settings.orgStore.authTokenPlaceholder":"Token Bearer...","settings.orgStore.cancel":"Cancelar","settings.orgStore.communityRegistryDescription":"Registro MCP da comunidade com milhares de MCPs úteis","settings.orgStore.communityRegistryNotAdded":"Registro MCP da comunidade — ainda não adicionado","settings.orgStore.communitySection":"Comunidade","settings.orgStore.connectionNotFound":"Conexão não encontrada — será criada automaticamente.","settings.orgStore.decoStoreDescription":"Registro MCP deco oficial com integrações selecionadas","settings.orgStore.decoStoreName":"Loja Deco","settings.orgStore.decoStoreSection":"Loja Deco","settings.orgStore.failedAddRegistry":"Falha ao adicionar registro: {error}","settings.orgStore.failedLoadStoreSettings":"Falha ao carregar configurações da loja:","settings.orgStore.mcpRegistry":"Registro MCP","settings.orgStore.nameLabel":"Nome","settings.orgStore.namePlaceholder":"p.ex. Registro Acme Corp","settings.orgStore.optional":"Opcional","settings.orgStore.pageTitle":"Loja","settings.orgStore.privateMcpRegistry":"Registro MCP privado","settings.orgStore.privateRegistriesSection":"Registros Privados","settings.orgStore.privateRegistry":"Registro Privado","settings.orgStore.privateRegistryAdded":"Registro privado adicionado","settings.orgStore.privateRegistryDescription":"Registro MCP privado da sua organização","settings.orgStore.registryUrlLabel":"URL do Registro","settings.orgStore.registryUrlPlaceholder":"https://registry.exemplo.com/mcp","settings.orgStore.remove":"Remover","settings.orgStore.removeRegistry":"Remover este registro?","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.nameTitle":"Nome","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.keysCountPlural":"{count} chaves","settings.apiKeys.keysCountSingular":"{count} chave","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.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.billing.autoTasksTitle":"Tarefas automáticas","settings.billing.unlimitedDescription":"As execuções de tarefas automáticas são ilimitadas neste deployment. Tarefas criadas por você também nunca têm limite.","settings.billing.autoTasksDescriptionTrial":"3 execuções grátis vitalícias, depois R$ 250/mês para 10 execuções por ciclo de cobrança.","settings.billing.autoTasksDescriptionSubscribed":"10 execuções de tarefas automáticas por ciclo de cobrança. Tarefas criadas por você nunca têm limite.","settings.billing.statusTrial":"Teste grátis","settings.billing.statusActive":"Ativa","settings.billing.statusPastDue":"Problema no pagamento","settings.billing.runsUsedLabel":"execuções usadas","settings.billing.renewsOn":"Renova em {date}","settings.billing.subscribeButton":"Assinar","settings.billing.manageButton":"Gerenciar cobrança","settings.billing.checkoutError":"Não foi possível iniciar o checkout: {message}","settings.billing.portalError":"Não foi possível abrir o portal de cobrança: {message}","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":"Plano e faturas são de um único time legado — filtre a seleção para vê-los.","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 site.","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"},kae={"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.descriptionNative":"Uma atualização está pronta. Reinicie o aplicativo para concluir a instalação.","announcements.version.currentSession":"Sessão atual · {version}","announcements.version.refresh":"Atualizar agora","announcements.version.restart":"Reiniciar para atualizar","announcements.version.restarting":"Reiniciando…"},Pae={"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"},Aae={...Vne,...Hne,...Gne,...Kne,...Wne,...Yne,...Zne,...Qne,...Jne,...Xne,...eae,...tae,...oae,...nae,...aae,...rae,...iae,...sae,...lae,...cae,...uae,...dae,...mae,...pae,...hae,...gae,...fae,...vae,...bae,...yae,...Sae,..._ae,...wae,...Cae,...xae,...Eae,...Tae,...kae,...Pae},KB={en:qne,"pt-BR":Aae};function Lhe(e,t){return GB(KB[one()][e],t)}function xl(){const e=Ne.c(2),[t]=HB(),o=KB[t.language];let n;return e[0]!==o?(n=(a,i)=>GB(o[a],i),e[0]=o,e[1]=n):n=e[1],n}function WB(e){const t=Ne.c(20),{orgName:o}=e,n=xl(),a=Rae;let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=C.jsx("div",{className:"bg-muted p-3 rounded-full",children:C.jsx(CL,{className:"h-6 w-6 text-muted-foreground"})}),t[0]=i):i=t[0];let l;t[1]!==n?(l=n("common.archivedOrgScreen.orgUnavailable"),t[1]=n,t[2]=l):l=t[2];let c;t[3]!==l?(c=C.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]!==n?(d=o?n("common.archivedOrgScreen.deletedWithName",{orgName:o}):n("common.archivedOrgScreen.deletedGeneric"),t[5]=o,t[6]=n,t[7]=d):d=t[7];let m;t[8]!==d?(m=C.jsx("p",{className:"text-sm text-muted-foreground",children:d}),t[8]=d,t[9]=m):m=t[9];let h;t[10]!==c||t[11]!==m?(h=C.jsxs("div",{className:"space-y-2",children:[c,m]}),t[10]=c,t[11]=m,t[12]=h):h=t[12];let p;t[13]!==n?(p=n("common.archivedOrgScreen.goHome"),t[13]=n,t[14]=p):p=t[14];let f;t[15]!==p?(f=C.jsx(tu,{onClick:a,children:p}),t[15]=p,t[16]=f):f=t[16];let v;return t[17]!==h||t[18]!==f?(v=C.jsxs(Qoe,{children:[i,h,f]}),t[17]=h,t[18]=f,t[19]=v):v=t[19],v}function Rae(){window.location.href="/"}function Dae(){const e=Ne.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}=Cm(t);let n;return e[1]!==o?(n=C.jsx(tu,{variant:"outline",size:"sm",asChild:!0,children:C.jsx(mu,{to:"/$org/settings/profile",params:{org:o},children:"Go to your profile"})}),e[1]=o,e[2]=n):n=e[2],n}function Oae(e){const t=Ne.c(13),{area:o,description:n,action:a}=e,i=o?`No access to ${o}`:"No access",l=n??"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=C.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted text-muted-foreground",children:C.jsx(TL,{size:28})}),t[0]=c):c=t[0];let d;t[1]!==i?(d=C.jsx("h3",{className:"text-lg font-medium",children:i}),t[1]=i,t[2]=d):d=t[2];let m;t[3]!==l?(m=C.jsx("p",{className:"mx-auto max-w-sm text-sm text-muted-foreground",children:l}),t[3]=l,t[4]=m):m=t[4];let h;t[5]!==d||t[6]!==m?(h=C.jsxs("div",{className:"space-y-1",children:[d,m]}),t[5]=d,t[6]=m,t[7]=h):h=t[7];let p;t[8]!==a?(p=a??C.jsx(Dae,{}),t[8]=a,t[9]=p):p=t[9];let f;return t[10]!==h||t[11]!==p?(f=C.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,h,p]}),t[10]=h,t[11]=p,t[12]=f):f=t[12],f}const CO="__studio_chunk_reload_ts";function YB(e){return e?.message==="Organization is archived"}function Iae(e){return!!e?.message?.includes("Access denied")}function xO(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 Mae 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),$B(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:YB(this.state.error)?C.jsx(WB,{}):Iae(this.state.error)?C.jsx(Oae,{}):C.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[C.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:C.jsx(IC,{className:"h-6 w-6 text-destructive"})}),C.jsxs("div",{className:"space-y-2",children:[C.jsx("h3",{className:"text-lg font-medium",children:o("common.errorBoundary.somethingWentWrong")}),C.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||o("common.errorBoundary.unexpectedError")})]}),C.jsx(tu,{variant:"outline",onClick:this.resetError,children:o("common.errorBoundary.tryAgain")})]})}return this.props.children}}function Lae(e){const t=Ne.c(3),o=xl();let n;return t[0]!==e||t[1]!==o?(n=C.jsx(Mae,{...e,t:o}),t[0]=e,t[1]=o,t[2]=n):n=t[2],n}class Nae 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 n=xO(t);if($B(t,{boundary:"chunk_root",is_chunk_load_error:n,error_name:t.name,error_message:t.message,component_stack:o.componentStack??null,route:typeof window<"u"?window.location.pathname:null}),!n)return;const a=sessionStorage.getItem(CO),i=Date.now();(!a||i-Number(a)>1e4)&&(sessionStorage.setItem(CO,String(i)),window.location.reload())}render(){const{t}=this.props;return this.state.hasError&&xO(this.state.error)?C.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[C.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:C.jsx(kL,{className:"h-6 w-6 text-primary"})}),C.jsxs("div",{className:"space-y-2",children:[C.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.newVersionAvailable")}),C.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:t("common.errorBoundary.newVersionDeployed")})]}),C.jsx(tu,{onClick:()=>window.location.reload(),children:t("common.errorBoundary.refresh")})]}):this.state.hasError?YB(this.state.error)?C.jsx(WB,{}):C.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[C.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:C.jsx(IC,{className:"h-6 w-6 text-destructive"})}),C.jsxs("div",{className:"space-y-2",children:[C.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.somethingWentWrong")}),C.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||t("common.errorBoundary.unexpectedError")})]}),C.jsx(tu,{variant:"outline",onClick:()=>this.setState({hasError:!1,error:null}),children:t("common.errorBoundary.tryAgain")})]}):this.props.children}}function Fae(e){const t=Ne.c(3),o=xl();let n;return t[0]!==e||t[1]!==o?(n=C.jsx(Nae,{...e,t:o}),t[0]=e,t[1]=o,t[2]=n):n=t[2],n}function Bae(e){const t=Ne.c(8);let o,n;t[0]!==e?({className:o,...n}=e,t[0]=e,t[1]=o,t[2]=n):(o=t[1],n=t[2]);let a;t[3]!==o?(a=Et("bg-card text-card-foreground flex flex-col gap-6 rounded-xl card-shadow",o),t[3]=o,t[4]=a):a=t[4];let i;return t[5]!==n||t[6]!==a?(i=C.jsx("div",{"data-slot":"card",className:a,...n}),t[5]=n,t[6]=a,t[7]=i):i=t[7],i}function Nhe(e){const t=Ne.c(4);let o;t[0]!==e?({...o}=e,t[0]=e,t[1]=o):o=t[1];let n;return t[2]!==o?(n=C.jsx("div",{"data-slot":"card-content",...o}),t[2]=o,t[3]=n):n=t[3],n}function Fhe(e){const t=Ne.c(12),{title:o,description:n,docsHref:a,actions:i,className:l,headerClassName:c,children:d}=e;let m;t[0]!==l?(m=Et("flex flex-col gap-3",l),t[0]=l,t[1]=m):m=t[1];let h;t[2]!==i||t[3]!==n||t[4]!==a||t[5]!==c||t[6]!==o?(h=(o||n||a||i)&&C.jsxs("div",{className:Et("flex items-center justify-between gap-3 px-4",c),children:[C.jsxs("div",{className:"flex flex-col gap-1 min-w-0",children:[o&&C.jsx("h2",{className:"text-[15px] font-medium leading-tight",children:o}),(n||a)&&C.jsxs("p",{className:"text-sm text-muted-foreground leading-snug",children:[n,a&&C.jsxs("a",{href:a,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-0.5 ml-1 text-foreground hover:underline",children:["Docs ",C.jsx(xL,{size:12})]})]})]}),i&&C.jsx("div",{className:"shrink-0",children:i})]}),t[2]=i,t[3]=n,t[4]=a,t[5]=c,t[6]=o,t[7]=h):h=t[7];let p;return t[8]!==d||t[9]!==m||t[10]!==h?(p=C.jsxs("section",{className:m,children:[h,d]}),t[8]=d,t[9]=m,t[10]=h,t[11]=p):p=t[11],p}function Bhe(e){const t=Ne.c(11),{className:o,children:n}=e;let a,i,l;if(t[0]!==n||t[1]!==o){const d=A.Children.toArray(n).filter(A.isValidElement);a=Bae,t[5]!==o?(i=Et("p-0 gap-0 overflow-hidden",o),t[5]=o,t[6]=i):i=t[6],l=d.map(jae),t[0]=n,t[1]=o,t[2]=a,t[3]=i,t[4]=l}else a=t[2],i=t[3],l=t[4];let c;return t[7]!==a||t[8]!==i||t[9]!==l?(c=C.jsx(a,{className:i,children:l}),t[7]=a,t[8]=i,t[9]=l,t[10]=c):c=t[10],c}function jae(e,t){return C.jsxs("div",{children:[t>0&&C.jsx("div",{className:"h-px bg-border mx-5"}),e]},t)}function jhe(e){const t=Ne.c(27),{icon:o,title:n,description:a,action:i,onClick:l,className:c,children:d}=e,m=d?"flex items-start gap-3 px-4 py-4":"flex items-center gap-3 px-4 py-4",h=l&&"hover:bg-muted/50 cursor-pointer";let p;t[0]!==c||t[1]!==m||t[2]!==h?(p=Et(m,h,c),t[0]=c,t[1]=m,t[2]=h,t[3]=p):p=t[3];const f=l?"button":void 0,v=l?0:void 0;let b;t[4]!==l?(b=l?k=>{(k.key==="Enter"||k.key===" ")&&(k.preventDefault(),l())}:void 0,t[4]=l,t[5]=b):b=t[5];let S;t[6]!==o?(S=o&&C.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 x;t[8]!==n?(x=C.jsx("div",{className:"text-sm font-medium",children:n}),t[8]=n,t[9]=x):x=t[9];let _;t[10]!==a?(_=a&&C.jsx("p",{className:"text-xs text-muted-foreground mt-0.5 leading-relaxed",children:a}),t[10]=a,t[11]=_):_=t[11];let w;t[12]!==d||t[13]!==x||t[14]!==_?(w=C.jsxs("div",{className:"flex-1 min-w-0",children:[x,_,d]}),t[12]=d,t[13]=x,t[14]=_,t[15]=w):w=t[15];let P;t[16]!==i?(P=i&&C.jsx("div",{className:"shrink-0",onClick:zae,children:i}),t[16]=i,t[17]=P):P=t[17];let T;return t[18]!==l||t[19]!==w||t[20]!==P||t[21]!==p||t[22]!==f||t[23]!==v||t[24]!==b||t[25]!==S?(T=C.jsxs("div",{className:p,onClick:l,role:f,tabIndex:v,onKeyDown:b,children:[S,w,P]}),t[18]=l,t[19]=w,t[20]=P,t[21]=p,t[22]=f,t[23]=v,t[24]=b,t[25]=S,t[26]=T):T=t[26],T}function zae(e){return e.stopPropagation()}function zhe(e){const t=Ne.c(5),{children:o,className:n}=e;let a;t[0]!==n?(a=Et("flex items-center justify-end gap-2 px-4 py-4",n),t[0]=n,t[1]=a):a=t[1];let i;return t[2]!==o||t[3]!==a?(i=C.jsx("div",{className:a,children:o}),t[2]=o,t[3]=a,t[4]=i):i=t[4],i}function Uae(e){const t=Ne.c(5),{className:o,children:n}=e;let a;t[0]!==o?(a=Et("flex flex-col gap-10",o),t[0]=o,t[1]=a):a=t[1];let i;return t[2]!==n||t[3]!==a?(i=C.jsx("div",{className:a,children:n}),t[2]=n,t[3]=a,t[4]=i):i=t[4],i}const wx={connect:{key:"connect",titleKey:"settings.connectClients.pageTitle",tabs:[{key:"clients",labelKey:"settings.subnav.clients",to:"/$org/settings/connect"},{key:"api-keys",labelKey:"settings.nav.apiKeys",to:"/$org/settings/api-keys",requires:"api-keys:manage"}]},members:{key:"members",titleKey:"orgs.members.title",tabs:[{key:"members",labelKey:"orgs.members.title",to:"/$org/settings/members",requires:"members:manage"},{key:"roles",labelKey:"settings.roles.pageTitle",to:"/$org/settings/roles",privilegedOnly:!0}]},billing:{key:"billing",titleKey:"settings.nav.billing",tabs:[{key:"ai-providers",labelKey:"settings.nav.aiProviders",to:"/$org/settings/ai-providers",requires:"ai-providers:manage"},{key:"infra",labelKey:"settings.subnav.infrastructure",to:"/$org/settings/infra-billing",requires:"members:manage",requiresOwnedSites:!0}]},storage:{key:"storage",titleKey:"settings.nav.storage",tabs:[{key:"buckets",labelKey:"settings.nav.buckets",to:"/$org/settings/buckets",requires:"file-configs:manage"},{key:"synced-repos",labelKey:"settings.nav.syncedRepos",to:"/$org/settings/synced-repos",requires:"file-configs:manage"}]}};function Uhe(e){return wx[e].tabs.map(t=>t.to)}const $ae=new Set(["owner","admin"]);function ZB(){const e=Ne.c(11),{org:t,locator:o}=Om();let n;e[0]!==o?(n=hr.myCapabilities(o),e[0]=o,e[1]=n):n=e[1];let a;e[2]!==t?(a=async()=>{const h=await fetch(`/api/auth/custom/my-capabilities/${encodeURIComponent(t.slug)}`,{credentials:"include"});if(!h.ok)throw new Error(`my-capabilities request failed: ${h.status}`);return await h.json()},e[2]=t,e[3]=a):a=e[3];let i;e[4]!==n||e[5]!==a?(i={queryKey:n,queryFn:a,staleTime:3e4,retry:2},e[4]=n,e[5]=a,e[6]=i):i=e[6];const{data:l,isLoading:c,isError:d}=xm(i);let m;return e[7]!==l||e[8]!==d||e[9]!==c?(m={data:l,loading:c,error:d},e[7]=l,e[8]=d,e[9]=c,e[10]=m):m=e[10],m}function $he(e){const t=Ne.c(8),{data:o,loading:n,error:a}=ZB();if(n){let m;return t[0]===Symbol.for("react.memo_cache_sentinel")?(m={granted:!1,loading:!0,error:!1,reason:"loading"},t[0]=m):m=t[0],m}if(a){let m;return t[1]===Symbol.for("react.memo_cache_sentinel")?(m={granted:!1,loading:!1,error:!0,reason:"error"},t[1]=m):m=t[1],m}const i=o?.role??null;if(!i){let m;return t[2]===Symbol.for("react.memo_cache_sentinel")?(m={granted:!1,loading:!1,error:!1,reason:"denied"},t[2]=m):m=t[2],m}if(i==="owner"){let m;return t[3]===Symbol.for("react.memo_cache_sentinel")?(m={granted:!0,loading:!1,error:!1,reason:"owner"},t[3]=m):m=t[3],m}if(i==="admin"){let m;return t[4]===Symbol.for("react.memo_cache_sentinel")?(m={granted:!0,loading:!1,error:!1,reason:"admin"},t[4]=m):m=t[4],m}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 QB(){const e=Ne.c(10),{data:t,loading:o,error:n}=ZB(),a=t?.role??void 0;let i;e[0]!==a?(i=a?$ae.has(a):!1,e[0]=a,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 m;return e[4]!==n||e[5]!==l||e[6]!==o||e[7]!==a||e[8]!==d?(m={capabilities:d,loading:o,error:n,isPrivileged:l,roleSlug:a},e[4]=n,e[5]=l,e[6]=o,e[7]=a,e[8]=d,e[9]=m):m=e[9],m}class EO extends Error{constructor(t,o){super(t),this.status=o,this.name="StudioToolError"}status}async function qae(e,t,o){const n=await fetch(`/api/${encodeURIComponent(e)}/tools/${encodeURIComponent(t)}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o??{})});if(!n.ok){let a=`${t} failed (${n.status})`;try{const i=await n.json();i?.error&&(a=i.error)}catch{}throw new EO(a,n.status)}try{return await n.json()}catch{throw new EO(`${t} returned a non-JSON response`,n.status)}}function Cx(){const e=Ne.c(5),{org:t}=Om(),o=t.slug;let n;e[0]!==o?(n=(i,l)=>qae(o,i,l),e[0]=o,e[1]=n):n=e[1];let a;return e[2]!==o||e[3]!==n?(a={orgSlug:o,call:n},e[2]=o,e[3]=n,e[4]=a):a=e[4],a}function Vae(){const e=Ne.c(13),{org:t}=Om(),o=Cx(),{capabilities:n,isPrivileged:a}=QB(),i=a||!!n["members:manage"];let l;e[0]!==t.id?(l=hr.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 m;e[4]!==l||e[5]!==c||e[6]!==d?(m={queryKey:l,staleTime:3e5,enabled:c,queryFn:d},e[4]=l,e[5]=c,e[6]=d,e[7]=m):m=e[7];const{data:h,isLoading:p}=xm(m);let f;e[8]!==h?.sites?(f=h?.sites.map(Hae)??[],e[8]=h?.sites,e[9]=f):f=e[9];let v;return e[10]!==p||e[11]!==f?(v={sites:f,isLoading:p},e[10]=p,e[11]=f,e[12]=v):v=e[12],v}function Hae(e){return e.slug}function qhe(){const e=Ne.c(7),t=Cx(),o=xl();let n;e[0]!==t?(n=l=>t.call("INFRA_BILLING_PORTAL",{siteSlugs:l}),e[0]=t,e[1]=n):n=e[1];let a;e[2]!==o?(a=l=>Si.error(o("settings.infraBilling.portalError",{message:l.message})),e[2]=o,e[3]=a):a=e[3];let i;return e[4]!==n||e[5]!==a?(i={mutationFn:n,onSuccess:Gae,onError:a},e[4]=n,e[5]=a,e[6]=i):i=e[6],Vd(i)}function Gae(e){const{url:t}=e;return window.open(t,"_blank","noopener,noreferrer")}function Vhe(e,t){const o=Ne.c(14),{org:n}=Om(),a=Cx();let i,l,c;o[0]!==n.id||o[1]!==t||o[2]!==e?(i=[...e].sort(),c=xm,l=hr.infraBilling(n.id,i.join(","),t),o[0]=n.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 m;o[6]!==t||o[7]!==i||o[8]!==a?(m=()=>a.call("INFRA_BILLING_GET",{siteSlugs:i,period:t}),o[6]=t,o[7]=i,o[8]=a,o[9]=m):m=o[9];let h;return o[10]!==l||o[11]!==d||o[12]!==m?(h={queryKey:l,enabled:d,staleTime:6e4,queryFn:m},o[10]=l,o[11]=d,o[12]=m,o[13]=h):h=o[13],c(h)}function Kae(){const e=Ne.c(7),{capabilities:t,isPrivileged:o,loading:n,error:a}=QB(),{sites:i,isLoading:l}=Vae(),c=i.length>0;let d;if(e[0]!==t||e[1]!==a||e[2]!==o||e[3]!==n||e[4]!==c||e[5]!==l){const m=h=>h.requiresOwnedSites&&!c&&!l?!1:n||a?!0:h.privilegedOnly?o:h.requires?o||t[h.requires]:!0;d=Object.fromEntries(Object.values(wx).map(h=>[h.key,h.tabs.filter(m)])),e[0]=t,e[1]=a,e[2]=o,e[3]=n,e[4]=c,e[5]=l,e[6]=d}else d=e[6];return d}function Wae(e){const t=Ne.c(16),{group:o}=e,n=xl();let a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a={from:"/shell/$org"},t[0]=a):a=t[0];const{org:i}=Cm(a);let l;t[1]===Symbol.for("react.memo_cache_sentinel")?(l={select:Yae},t[1]=l):l=t[1];const c=zU(l),d=Kae()[o],{titleKey:m}=wx[o];let h;t[2]!==n||t[3]!==m?(h=n(m),t[2]=n,t[3]=m,t[4]=h):h=t[4];let p;t[5]!==h?(p=C.jsx(Lg.Title,{children:h}),t[5]=h,t[6]=p):p=t[6];let f;t[7]!==o||t[8]!==i||t[9]!==c||t[10]!==n||t[11]!==d?(f=d.length>1&&C.jsx("nav",{"data-slot":"settings-subnav","aria-label":n("settings.subnav.ariaLabel"),className:"bg-muted inline-flex h-10 w-fit items-center rounded-xl p-[3px] gap-0.5",children:d.map(b=>{const S=b.to.replace("$org",i),x=c===S||c.startsWith(`${S}/`);return C.jsx(mu,{to:b.to,params:{org:i},onClick:()=>UB("settings_subnav_clicked",{group_key:o,tab_key:b.key}),className:Et("inline-flex h-full items-center justify-center rounded-lg border border-transparent px-3 text-sm font-medium whitespace-nowrap transition-[color,box-shadow]",x?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"),children:n(b.labelKey)},b.key)})}),t[7]=o,t[8]=i,t[9]=c,t[10]=n,t[11]=d,t[12]=f):f=t[12];let v;return t[13]!==p||t[14]!==f?(v=C.jsxs("div",{"data-slot":"settings-heading",className:"flex flex-col gap-4",children:[p,f]}),t[13]=p,t[14]=f,t[15]=v):v=t[15],v}function Yae(e){return e.location.pathname}function JB(){const e=Ne.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=C.jsxs("div",{"data-testid":"settings-content-loading",className:"flex flex-col gap-4",children:[C.jsx(qR,{className:"h-32 w-full"}),C.jsx(qR,{className:"h-32 w-full"})]}),e[0]=t):t=e[0],t}function Zae(e){const t=Ne.c(14),{group:o,fallback:n,errorFallback:a,className:i,children:l}=e;let c;t[0]!==o?(c=C.jsx(Wae,{group:o}),t[0]=o,t[1]=c):c=t[1];let d;t[2]!==n?(d=n??C.jsx(JB,{}),t[2]=n,t[3]=d):d=t[3];let m;t[4]!==l||t[5]!==d?(m=C.jsx(A.Suspense,{fallback:d,children:l}),t[4]=l,t[5]=d,t[6]=m):m=t[6];let h;t[7]!==a||t[8]!==m?(h=C.jsx(Lae,{fallback:a,children:m}),t[7]=a,t[8]=m,t[9]=h):h=t[9];let p;return t[10]!==i||t[11]!==c||t[12]!==h?(p=C.jsx(Lg,{children:C.jsx(Lg.Content,{children:C.jsx(Lg.Body,{children:C.jsxs(Uae,{className:i,children:[c,h]})})})}),t[10]=i,t[11]=c,t[12]=h,t[13]=p):p=t[13],p}function As(e){return function(){return C.jsx(Zae,{group:e,children:C.jsx(JB,{})})}}function XB(e){try{localStorage.setItem(Cl.lastLocation(),JSON.stringify(e))}catch{}}function Qae(){try{const e=localStorage.getItem(Cl.lastLocation());if(!e)return null;const t=JSON.parse(e);if(typeof t?.org=="string")return{org:t.org,taskId:typeof t.taskId=="string"?t.taskId:void 0,virtualmcpid:typeof t.virtualmcpid=="string"?t.virtualmcpid:void 0}}catch{}return null}function Hhe(){try{localStorage.removeItem(Cl.lastLocation())}catch{}}const xa=EU({component:()=>C.jsx(Fae,{children:C.jsx(A.Suspense,{fallback:C.jsx(LC,{}),children:C.jsx(tM,{})})})}),Jae=it({getParentRoute:()=>xa,path:"/login",component:ut(()=>ct(()=>import("./login-BoUiAbPR.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]))),validateSearch:Lr(()=>Ae({next:G().optional(),client_id:G().optional(),redirect_uri:G().optional(),response_type:G().optional(),state:G().optional(),scope:G().optional(),code_challenge:G().optional(),code_challenge_method:G().optional(),src:G().optional(),ref:G().optional()}))}),Xae=it({getParentRoute:()=>xa,path:"/cli/auth-success",component:ut(()=>ct(()=>import("./cli-auth-success-BKkBveK7.js"),__vite__mapDeps([9,8])))}),ere=it({getParentRoute:()=>xa,path:"/reset-password",component:ut(()=>ct(()=>import("./reset-password-DDPC0WP5.js"),__vite__mapDeps([10,2]))),validateSearch:Lr(()=>Ae({token:G().optional(),error:G().optional()}))}),tre=it({getParentRoute:()=>xa,path:"/auth/$pathname",component:ut(()=>ct(()=>import("./auth-catchall-CFKvepKy.js"),[]))}),ore=it({getParentRoute:()=>xa,path:"/oauth/callback",component:ut(()=>ct(()=>import("./oauth-callback-CvsRTDAl.js"),__vite__mapDeps([11,12,13])))}),nre=it({getParentRoute:()=>xa,path:"/oauth/callback/ai-provider",component:ut(()=>ct(()=>import("./oauth-callback-ai-provider-BTZRnTS3.js"),[]))}),Pv=it({getParentRoute:()=>xa,path:"/_admin",component:ut(()=>ct(()=>import("./layout-ExdNCowx.js"),__vite__mapDeps([14,15,16])))}),are=it({getParentRoute:()=>Pv,path:"/",beforeLoad:()=>{throw vi({to:"/_admin/users"})}}),rre=it({getParentRoute:()=>Pv,path:"/users",component:ut(()=>ct(()=>import("./users-Csrapr9p.js"),__vite__mapDeps([17,18,19,20,21,22,23,24,25,26,27,28,29,30,31])))}),ire=it({getParentRoute:()=>Pv,path:"/orgs",component:ut(()=>ct(()=>import("./orgs-jsXpwgtJ.js"),__vite__mapDeps([32,18,19,20,21,22,23,2,33,27,34,35,36,37,38,28,29,30])))}),sre=Pv.addChildren([are,rre,ire]),xx=it({getParentRoute:()=>xa,id:"shell",component:ut(()=>ct(()=>import("./shell-layout-DPDTGLA3.js").then(e=>e.s),__vite__mapDeps([39,24,25,40,41,42,43,44,34,36,45,46,47,48,49,50,3,15,51,52,13,53,54,6,7,55,56])))}),lre=it({getParentRoute:()=>xx,path:"/",beforeLoad:async()=>{const e=Qae();if(e)throw vi({to:"/$org",params:{org:e.org}});const t=localStorage.getItem(Cl.lastOrgSlug());if(t)throw vi({to:"/$org",params:{org:t}});const{data:o}=await wL();if(!o)return;const n=o[0];throw vi(n?{to:"/$org",params:{org:n.slug}}:{to:"/onboarding"})}}),cre=it({getParentRoute:()=>xa,path:"/onboarding",beforeLoad:async()=>{const{data:e}=await wL();if(e&&e.length>0)throw vi({to:"/"})},component:ut(()=>ct(()=>import("./onboarding-og3I_xVV.js"),__vite__mapDeps([57,15,8,58,24,25,59,2,33,60,40,47,61,62,63])))}),ure=it({getParentRoute:()=>xa,path:"/commerce-onboarding",component:ut(()=>ct(()=>import("./commerce-onboarding-DTgTL1Sa.js"),__vite__mapDeps([64,65,66,67,33,2,4,51,52,13,68,69,70,71,72,20,73,74,75,76,40,47,36,37,77,78,38,79,42,80,45,81,46,82,83,48,84,85,61,86,87,88,89,90,91,49,92,62,93,59,41,23,94,95,96,63,25,97,43,50,34,98,99,100,27,101,12,102,1,3,5,6,7,8,58,24,103]))),validateSearch:Lr(()=>Ae({org:G().optional(),siteUrl:G().optional()}))}),dre=it({getParentRoute:()=>xa,path:"/choose-editor",component:ut(()=>ct(()=>import("./choose-editor-DDZWpEEU.js"),__vite__mapDeps([104,70,71,72,20,73,69,74,75,76,40,47,36,37,77,78,38,79,42,80,45,81,46,82,83,48,84,85,61,86,87,88,89,90,91,49,92,62,93,59,41,23,94,95,96,63,25,97,43,50,15]))),validateSearch:Lr(()=>Ae({site:G().optional(),domain:G().optional(),pageId:G().optional(),path:G().optional(),pathTemplate:G().optional()}))}),mre=it({getParentRoute:()=>xa,path:"/report/$domain",component:ut(()=>ct(()=>import("./reports-CZRAYZND.js"),__vite__mapDeps([105,1,2,3,4,5,6,7,102,71,20,74,75,47,83,91,41,94,95,50,106]))),validateSearch:Lr(()=>Ae({key:G().optional()}))}),Ex=it({getParentRoute:()=>xx,path:"/$org",beforeLoad:({params:e})=>{XB({org:e.org})},component:ut(()=>ct(()=>import("./org-layout-QWnp58dZ.js"),[]))}),Av=it({getParentRoute:()=>Ex,id:"org-shell",component:ut(()=>ct(()=>import("./index-BxFod4ty.js"),__vite__mapDeps([107,65,66,67,33,2,4,51,52,13,68,69,70,71,72,20,73,74,75,76,40,47,36,37,77,78,38,79,42,80,45,81,46,82,83,48,84,85,61,86,87,88,89,90,91,49,92,62,93,59,41,23,94,95,96,63,25,97,43,50,34,98,99,100,27,101,12,102,44,55,108,109,110,111,112,113,114,115,116,117,53,54,6,7,118,119,120,39,24,3,15,56,121,122,123,124,5,125,35,126,127,128,26,129,130,131,132,133,134,29,30,16,135,136,137,138,139,140])))}),e3=it({getParentRoute:()=>Av,id:"agent-shell",pendingComponent:NC,component:ut(()=>ct(()=>import("./index-CxZcM7iI.js").then(e=>e.bE),__vite__mapDeps([141,20,139,44,34,36,45,46,119,53,51,52,13,54,6,7,3,109,130,140,55,142,35,37,38,70,71,72,73,69,74,75,76,40,47,77,78,79,42,80,81,82,83,48,84,85,61,86,87,88,89,90,91,49,92,62,93,59,41,23,94,95,96,63,25,97,43,50,123,124,115,19,21,143,136,134,144,129,24,29,30,145,146,4,147,39,15,56,68,117,118,148,149,67,33,2,150,112,114,151,131,108,110,65,66,98,99,100,27,101,12,102,111,113,116,120,121,122,5,125,126,127,128,26,132,133,152,153,154,155,103,156,157,158,159,60,160,22,161,162,163,164,165,31,166,167,168])))}),pre=Ae({virtualmcpid:G().optional(),tab:G().optional(),sidepanel:ro([Ye("chat"),Ye(0)]).optional(),main:ro([G(),Ye(0)]).optional(),preview:G().optional(),id:G().optional(),toolName:G().optional(),task:G().optional(),tasks:Ot().optional(),mainOpen:Ot().optional(),autosend:G().optional(),runLocally:G().optional(),connect:E2().optional(),siteUrl:G().optional(),contentPageId:G().optional(),contentPath:G().optional(),contentPathTemplate:G().optional(),view:G().optional(),q:G().optional(),assignee:G().optional(),priority:G().optional(),due:G().optional(),tags:G().optional(),repo:G().optional()}),hre=it({getParentRoute:()=>e3,path:"/$taskId",validateSearch:pre,beforeLoad:({params:e,search:t})=>{XB({org:e.org,taskId:e.taskId,virtualmcpid:t.virtualmcpid})},component:()=>null}),gre=Ae({main:G().optional(),connect:E2().optional(),siteUrl:G().optional(),task:G().optional()}),fre=it({getParentRoute:()=>Av,path:"/",validateSearch:gre,pendingComponent:NC,component:ut(()=>ct(()=>import("./index-dzFuJh3g.js"),__vite__mapDeps([169,52,109,51,13,53,54,6,7,55,118,119])))}),vre=it({getParentRoute:()=>Av,path:"/t/$taskKey",pendingComponent:NC,component:ut(()=>ct(()=>import("./index-CxD2n68d.js"),__vite__mapDeps([170,164,54,6,140])))}),ho=it({getParentRoute:()=>Ex,path:"/settings",component:ut(()=>ct(()=>import("./settings-layout-BgcGIDRi.js"),__vite__mapDeps([171,76,40,37,77,81,87,88,89,91,25,50,172,157,156,140,54,6,111,138])))}),bre=it({getParentRoute:()=>ho,path:"/",component:ut(()=>ct(()=>import("./index-redirect-CSQT7dVz.js"),__vite__mapDeps([173,174])))}),yre=it({getParentRoute:()=>ho,path:"/connections",component:ut(()=>ct(()=>import("./connections-sw9Pef3f.js"),__vite__mapDeps([175,98,99,51,52,13,176,103,36,77,79,20,86,177,26,22,23,128,121,122,115,55,123,124,5,6,7,125,68,69,70,71,72,73,74,75,76,40,47,37,78,38,42,80,45,81,46,82,83,48,84,85,61,87,88,89,90,91,49,92,62,93,59,41,94,95,96,63,25,97,43,50,21,178,66,179,34,112,67,33,2,35,126,109,127,101,12,153]))),validateSearch:Lr(()=>Ae({action:yn(["create"]).optional(),tab:yn(["all","connected"]).optional()}))}),Sre=it({getParentRoute:()=>ho,path:"/connections/$appSlug",component:ut(()=>ct(()=>import("./connection-detail-Ceqi_UkX.js"),__vite__mapDeps([180,98,99,51,52,13,21,127,2,59,96,181,116,70,71,72,20,73,69,74,75,76,40,47,36,37,77,78,38,79,42,80,45,81,46,82,83,48,84,85,61,86,87,88,89,90,91,49,92,62,93,41,23,94,95,63,25,97,43,50,115,122,55,35,149,161,26,147,12,133,110,109,182,117,53,54,6,7,118,119,143,136,24,148,68,67,33,178,66,183,184,163,151,125,114,103,185]))),validateSearch:Lr(()=>Ae({tab:G().optional()}))}),_re=it({getParentRoute:()=>ho,path:"/connections/$appSlug/$collectionName/$itemId",component:ut(()=>ct(()=>import("./collection-detail-i2uJ3G4p.js"),__vite__mapDeps([186,21,51,52,13,67,33,2,126,181,116,70,71,72,20,73,69,74,75,76,40,47,36,37,77,78,38,79,42,80,45,81,46,82,83,48,84,85,61,86,87,88,89,90,91,49,92,62,93,59,41,23,94,95,96,63,25,97,43,50,115,98,99,122,55,35,149,161,26,147,12,133,110,109,182,117,53,54,6,7,118,119,187,125,146,4,68,139,44,34,3,130,140,39,24,15,56]))),validateSearch:Lr(()=>Ae({replayId:G().optional()}))}),wre=it({getParentRoute:()=>ho,path:"/monitor",component:ut(()=>ct(()=>import("./index-CWPBMaeR.js"),__vite__mapDeps([188,22,23,21,189,190,174,142,35,36,37,38,70,71,72,20,73,69,74,75,76,40,47,77,78,79,42,80,45,81,46,82,83,48,84,85,61,86,87,88,89,90,91,49,92,62,93,59,41,94,95,96,63,25,97,43,50,123,124,115,51,52,13,109,19,143,136,134,144,129,24,29,30,145,34,44,53,54,6,7,139,119,3,130,140,55,146,4,147,39,15,56,68,117,118,148,149,67,33,2,150,125,26,110,191,153,132,133,126,128,60,187,183,184,163]))),validateSearch:Lr(()=>Ae({tab:yn(["overview","audit","dashboards","threads","automations"]).default("overview"),from:G().default("now-30m"),to:G().default("now"),connectionId:Le(G()).optional().default([]),virtualMcpId:Le(G()).optional().default([]),tool:G().default(""),status:yn(["all","success","errors"]).default("all"),search:G().default(""),page:Ot().optional(),streaming:Gt().default(!0),propertyFilters:G().default(""),hideSystem:Gt().default(!1)}))}),Cre=it({getParentRoute:()=>ho,path:"/general",component:ut(()=>ct(()=>import("./general-Bvd3m1q-.js"),__vite__mapDeps([192,187,74,89,43,136,160,24,25,2,35,36,37,38,70,71,72,20,73,69,75,76,40,47,77,78,79,42,80,45,81,46,82,83,48,84,85,61,86,87,88,90,91,49,92,62,93,59,41,23,94,95,96,63,97,50,52,109,51,13,120,55,60,193,26,66,189,190,174])))}),xre=it({getParentRoute:()=>ho,path:"/connect",pendingComponent:As("connect"),component:ut(()=>ct(()=>import("./connect-Bo1Gdnm2.js"),__vite__mapDeps([194,187,151,145,36,45,88,89,96,195,51,52,13])))}),Ere=it({getParentRoute:()=>ho,path:"/ai-providers",pendingComponent:As("billing"),component:ut(()=>ct(()=>import("./ai-providers-ByCNS5tk.js"),__vite__mapDeps([196,71,130,47,55,52,152,34,112,139,44,36,45,46,119,53,51,13,54,6,7,3,109,140,153,2,35,37,38,73,78,88,82,23,154,49,4,77,24,25,83,72,95,160,81,26,131,66,59,159,30,96,189,190,174])))}),Tre=it({getParentRoute:()=>ho,path:"/billing",beforeLoad:({params:e})=>{throw vi({to:"/$org/settings/ai-providers",params:{org:e.org}})}}),kre=it({getParentRoute:()=>ho,path:"/infra-billing",pendingComponent:As("billing"),component:ut(()=>ct(()=>import("./infra-billing-D1_-S4Iu.js"),__vite__mapDeps([197,81,89,26,191,153,36,37,132,133,34,23,110,35,38,19,184,163,149,189,190,174])))}),Pre=it({getParentRoute:()=>ho,path:"/secrets",component:ut(()=>ct(()=>import("./secrets-DcwYYhlg.js"),__vite__mapDeps([198,71,59,25,97,34,2,33,35,36,37,38,126,162,189,190,174])))}),Are=it({getParentRoute:()=>ho,path:"/api-keys",pendingComponent:As("connect"),component:ut(()=>ct(()=>import("./api-keys-DHBiaV_r.js"),__vite__mapDeps([199,71,45,88,59,96,66,34,2,33,195,51,52,13,189,190,174])))}),Rre=it({getParentRoute:()=>ho,path:"/buckets",pendingComponent:As("storage"),component:ut(()=>ct(()=>import("./buckets-C-YB4kjm.js"),__vite__mapDeps([200,71,87,59,96,66,34,2,33,35,36,37,38,60,126,158,189,190,174])))}),Dre=it({getParentRoute:()=>ho,path:"/synced-repos",pendingComponent:As("storage"),component:ut(()=>ct(()=>import("./synced-repos-BUf8qMc_.js"),__vite__mapDeps([201,59,66,34,2,113,114,23,27,115,51,52,13,101,12,73,89,90,116,98,99,117,109,53,54,6,7,118,119,100,167,155,79,46,84,85,88,62,96,50,103,36,77,150,83,189,190,174])))}),Ore=it({getParentRoute:()=>ho,path:"/tasks",component:ut(()=>ct(()=>import("./tasks-CjQzsFHS.js"),__vite__mapDeps([202,2,36,78,132,133,34,23,110,60,66,35,37,38,80,55,52,155,79,46,84,85,88,62,96,50,103,77,150,83,189,190,174])))}),Ire=it({getParentRoute:()=>ho,path:"/members",pendingComponent:As("members"),component:ut(()=>ct(()=>import("./members-DRacrCiw.js"),__vite__mapDeps([203,176,103,36,77,79,20,86,177,26,22,23,18,19,21,135,34,67,33,35,37,38,126,136,137,172,24,25,29,30,31,143,204,66,88,94,96,43,153,132,133,110,59,165,189,190,174])))}),Mre=it({getParentRoute:()=>ho,path:"/roles",pendingComponent:As("members"),component:ut(()=>ct(()=>import("./roles-qcaRRwf8.js"),__vite__mapDeps([205,137,136,204,26,66,103,36,77,79,59,96,18,19,20,21,22,23,154,68,69,70,71,72,73,74,75,76,40,47,37,78,38,42,80,45,81,46,82,83,48,84,85,61,86,87,88,89,90,91,49,92,62,93,41,94,95,63,25,97,43,50,124,153,129,51,52,13,114,185,143,31,115,130,24,60,190,174]))),validateSearch:Lr(()=>Ae({role:G().optional()}))}),Lre=it({getParentRoute:()=>ho,path:"/sso",component:ut(()=>ct(()=>import("./sso-BlKU6Kgb.js"),__vite__mapDeps([206,193,26,2,35,36,37,38,66,60,56,96,189,190,174])))}),Nre=it({getParentRoute:()=>ho,path:"/profile",component:ut(()=>ct(()=>import("./profile-BRSzqaGC.js"),__vite__mapDeps([207,24,25,60,35,36,37,38,131,2,49,92,93,160,156])))}),Fre=it({getParentRoute:()=>ho,path:"/store",component:ut(()=>ct(()=>import("./store-BYS_aOKm.js"),__vite__mapDeps([208,71,77,59,96,2,60,24,25,110,115,51,52,13,122,55,189,190,174])))}),Bre=it({getParentRoute:()=>ho,path:"/registry",component:ut(()=>ct(()=>import("./registry-Us39sPL5.js"),__vite__mapDeps([209,189,190,174])))}),jre=it({getParentRoute:()=>ho,path:"/store/registry",component:ut(()=>ct(()=>import("./store-registry-BPg2BhqF.js"),__vite__mapDeps([210,189,190,174])))}),zre=it({getParentRoute:()=>ho,path:"/agents",component:ut(()=>ct(()=>import("./agents-list-BSXmKvPI.js"),__vite__mapDeps([211,103,36,77,79,40,113,34,114,23,27,115,51,52,13,101,12,73,89,90,116,98,99,117,109,53,54,6,7,118,119,100,70,71,72,20,69,74,75,76,47,37,78,38,42,80,45,81,46,82,83,48,84,85,61,86,87,88,91,49,92,62,93,59,41,94,95,96,63,25,97,43,50,159,30,55,21,182,66,22])))}),Ure=it({getParentRoute:()=>ho,path:"/automations",component:ut(()=>ct(()=>import("./automations-DXRcT17e.js"),__vite__mapDeps([212,59,50,22,23,21,144,51,52,13,117,109,53,54,6,7,118,119,166,66,103,36,77,79,42,96,70,71,72,20,73,69,74,75,76,40,47,37,78,38,80,45,81,46,82,83,48,84,85,61,86,87,88,89,90,91,49,92,62,93,41,94,95,63,25,97,43,189,190,174])))}),$re=ho.addChildren([bre,yre,Sre,_re,zre,Ure,wre,Cre,xre,Ere,Tre,kre,Pre,Are,Rre,Dre,Ore,Ire,Mre,Lre,Nre,Fre,jre,Bre]),qre=e3.addChildren([hre]),Vre=Av.addChildren([fre,vre,qre]),Hre=Ex.addChildren([Vre,$re]),Gre=xx.addChildren([lre,Hre]),Kre=xa.addChildren([Gre,sre,cre,ure,dre,mre,Jae,Xae,ere,tre,ore,nre]);function Wre(){const e=Ne.c(16),t=xl();let o;e[0]!==t?(o=t("common.index.pageNotFound"),e[0]=t,e[1]=o):o=e[1];let n;e[2]!==o?(n=C.jsx("h3",{className:"text-lg font-medium text-foreground",children:o}),e[2]=o,e[3]=n):n=e[3];let a;e[4]!==t?(a=t("common.index.pageNotFoundDescription"),e[4]=t,e[5]=a):a=e[5];let i;e[6]!==a?(i=C.jsx("p",{className:"text-sm text-muted-foreground text-center max-w-[300px]",children:a}),e[6]=a,e[7]=i):i=e[7];let l;e[8]!==t?(l=t("common.index.goBack"),e[8]=t,e[9]=l):l=e[9];let c;e[10]!==l?(c=C.jsx("button",{type:"button",onClick:Yre,className:"text-sm text-primary hover:underline",children:l}),e[10]=l,e[11]=c):c=e[11];let d;return e[12]!==n||e[13]!==i||e[14]!==c?(d=C.jsx("div",{className:"flex h-full items-center justify-center",children:C.jsxs("div",{className:"flex flex-col items-center gap-4 p-8",children:[n,i,c]})}),e[12]=n,e[13]=i,e[14]=c,e[15]=d):d=e[15],d}function Yre(){return window.history.back()}const Tx=NU({routeTree:Kre,defaultPendingComponent:LC,defaultPendingMs:200,defaultNotFoundComponent:Wre});function Te(...e){return VL(FC(e))}function Zre(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}function Fo({error:e,localization:t,localizeErrors:o=!0}){var n;const a="Request failed";if(!o)return e?.message?e.message:(n=e?.error)!=null&&n.message?e.error.message:a;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||a}function El(e){return typeof window<"u"?new URLSearchParams(window.location.search).get(e):null}function kw(e,t){for(const o in e)if(e[o]===t)return o}function vm(e,t){let o=G().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 Qre={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"},Jre={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"},Xre={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."},eie={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."},tie={VERIFICATION_FAILED:"Captcha verification failed",MISSING_RESPONSE:"Missing CAPTCHA response",UNKNOWN_ERROR:"Something went wrong"},oie={MISSING_SECRET_KEY:"Missing secret key",SERVICE_UNAVAILABLE:"CAPTCHA service unavailable"},nie={...tie,...oie},aie={OTP_EXPIRED:"otp expired",INVALID_OTP:"Invalid OTP",INVALID_EMAIL:"Invalid email",USER_NOT_FOUND:"User not found",TOO_MANY_ATTEMPTS:"Too many attempts"},rie={INVALID_OAUTH_CONFIGURATION:"Invalid OAuth configuration"},iie={PASSWORD_COMPROMISED:"The password you entered has been compromised. Please choose a different password."},sie={INVALID_SESSION_TOKEN:"Invalid session token"},lie={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"},cie={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"},uie={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"},die={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"},mie={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"},pie={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"},hie={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"},gie={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",...eie,...Qre,...Jre,...Xre,...nie,...aie,...rie,...iie,...sie,...lie,...cie,...uie,...die,...mie,...pie,...hie},fie={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"},TO={SETTINGS:"settings",SECURITY:"security",TEAMS:"teams",API_KEYS:"api-keys",ORGANIZATIONS:"organizations"},kO={SETTINGS:"settings",MEMBERS:"members",TEAMS:"teams",API_KEYS:"api-keys"};const t3=A.createContext({});function o3(){return A.useContext(t3)}var fS,PO;function vie(){if(PO)return fS;PO=1;var e=function(){};return fS=e,fS}var bie=vie();const yie=yl(bie);function Sie({async:e,appendTo:t,defer:o,id:n,nonce:a,src:i}){const l=document.createElement("script");e!==void 0&&(l.async=e),o!==void 0&&(l.defer=o),n&&(l.id=n),a&&l.setAttribute("nonce",a),l.src=i,(t==="head"?document.head:document.body).appendChild(l)}var _ie=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(o[n[a]]=e[n[a]]);return o};let Jd=null,bm=!1;const Lf=new Set,Nf=new Set,wie=typeof window<"u",Kc="___grecaptcha_cfg",n3=`onLoadCallback_${Math.random().toString(36).slice(2)}`;function Cie(){if(!wie)return;function e(o){if(bm)o();else{window[Kc]||(window[Kc]={});const n=window[Kc];n.fns||(n.fns=[]),n.fns.push(o)}}window.grecaptcha||(window.grecaptcha={}),window.grecaptcha.enterprise||(window.grecaptcha.enterprise={}),window.grecaptcha.ready=e,window.grecaptcha.enterprise.ready=e;function t(){bm=!0;for(const o of Nf)o();Nf.clear()}window[n3]=t}function xie({language:e,onLoadCallbackName:t,render:o,useEnterprise:n=!1,useRecaptchaNet:a=!1}){const i=a?"recaptcha.net":"google.com",l=n?"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 Eie({language:e,render:t,scriptProps:o,useEnterprise:n,useRecaptchaNet:a}){const i={id:"google-recaptcha-v3"},l=xie({language:e,onLoadCallbackName:n3,render:t,useEnterprise:n,useRecaptchaNet:a});if(Jd){if(Jd!==l)throw new Error("reCAPTCHA has already been loaded with different parameters. Remove the existing script and load it again.");return}Jd=l,Sie(Object.assign(Object.assign(Object.assign({},i),o),{src:l}))}function Tie(e){if(!window[Kc])return;const t=window[Kc];t.clients&&delete t.clients[e]}function kie(e,t){var{onLoadCallback:o,onLoadCallbackName:n}=t,a=_ie(t,["onLoadCallback","onLoadCallbackName"]);if(Lf.size===0&&Cie(),Eie(a),Lf.add(e),o&&(bm?o():Nf.add(o)),n){let i=function(){if(!n)return;const l=window[n];typeof l=="function"&&l()};bm?i():Nf.add(i)}}function Pie(e){var t,o,n;Lf.delete(e),Lf.size===0&&(window.grecaptcha=void 0,window[Kc]=void 0,(t=document.querySelector(".grecaptcha-badge"))===null||t===void 0||t.remove(),(o=document.querySelector(`script[src="${Jd}"]`))===null||o===void 0||o.remove(),(n=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]'))===null||n===void 0||n.remove(),Jd=null,bm=!1)}let AO=!1;function Aie({container:e,children:t,language:o,reCaptchaKey:n,scriptProps:a,useEnterprise:i,useRecaptchaNet:l}){var c,d,m,h,p,f,v;const b=A.useId(),[S,x]=A.useState(null),[_,w]=A.useState(null),P=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(()=>{x(L)})}return kie(b,{language:o,onLoadCallback:D,onLoadCallbackName:a?.onLoadCallbackName,render:e?.element?"explicit":n,scriptProps:{appendTo:a?.appendTo,async:a?.async,defer:a?.defer,id:a?.id,nonce:a?.nonce},useEnterprise:i,useRecaptchaNet:l}),()=>{Pie(b),x(null)}},[e?.element,b,o,n,a?.appendTo,a?.async,a?.defer,a?.id,a?.nonce,a?.onLoadCallbackName,i,l]),A.useEffect(()=>{var D,O,L;if(!e?.element||!S?.render)return;const U={"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:n,size:"invisible",tabindex:e.parameters.tabindex,theme:e.parameters.theme},F=typeof e?.element=="string"?document.getElementById(e.element):e?.element;if(!F)throw new Error("reCAPTCHA container element not found");const $=S.render(F,U);return!((O=e?.parameters)===null||O===void 0)&&O.hidden&&(AO||(yie(!1,"reCAPTCHA badge hidden. See https://cloud.google.com/recaptcha/docs/faq#id_like_to_hide_the_badge_what_is_allowed for more information."),AO=!0),(L=F.querySelector(".grecaptcha-badge"))===null||L===void 0||L.style.setProperty("display","none")),w($),P.current=!0,()=>{w(null),P.current=!1,Tie($),F.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,(m=e?.parameters)===null||m===void 0?void 0:m.callback,(h=e?.parameters)===null||h===void 0?void 0:h.errorCallback,(p=e?.parameters)===null||p===void 0?void 0:p.expiredCallback,(f=e?.parameters)===null||f===void 0?void 0:f.tabindex,(v=e?.parameters)===null||v===void 0?void 0:v.theme,S,n]);const T=!!e?.element,k=T?_:n,R=A.useMemo(()=>k!==null&&S?.execute?D=>{if(k===null||!S?.execute)throw new Error("reCAPTCHA has not been loaded");return T&&!P.current?(console.warn("Client ID not mounted"),null):S.execute(k,{action:D})}:void 0,[k,S,T]);return C.jsx(t3.Provider,{value:{container:e?.element,executeRecaptcha:R,reCaptchaInstance:S},children:t})}var Rie=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 n of o)n()}}},Fa=new Rie;function Die(){return()=>{}}function Ti(){return A.useSyncExternalStore(Die,()=>!0,()=>!1)}function a3(){const[e,t]=A.useState();return A.useEffect(()=>{const o=()=>{const a=document.documentElement.getAttribute("lang");t(a??void 0)};o();const n=new MutationObserver(a=>{for(const i of a)i.attributeName==="lang"&&o()});return n.observe(document.documentElement,{attributes:!0}),()=>{n.disconnect()}},[]),{lang:e}}function kx(){const[e,t]=A.useState("light");return A.useEffect(()=>{const o=()=>{var a;const i=document.documentElement.classList.contains("dark")||((a=document.documentElement.getAttribute("style"))==null?void 0:a.includes("color-scheme: dark"));t(i?"dark":"light")};o();const n=new MutationObserver(a=>{for(const i of a)(i.attributeName==="style"||i.attributeName==="class")&&o()});return n.observe(document.documentElement,{attributes:!0}),()=>{n.disconnect()}},[]),{theme:e}}function Oie({children:e}){const t=Ti(),{captcha:o}=A.useContext(bt);return o?.provider!=="google-recaptcha-v3"?e:C.jsxs(Aie,{reCaptchaKey:o.siteKey,useEnterprise:o.enterprise,useRecaptchaNet:o.recaptchaNet,children:[t&&C.jsx("style",{children:`
165
165
  .grecaptcha-badge {
166
166
  visibility: hidden;
167
167
  border-radius: var(--radius) !important;