decocms 4.571.0 → 4.572.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (389) hide show
  1. package/dist/client/assets/{AlertCircle-Cbs5Ab1P.js → AlertCircle-kYtqXGU8.js} +1 -1
  2. package/dist/client/assets/{AreaChart-CToSouiR.js → AreaChart-DDNkWSZu.js} +1 -1
  3. package/dist/client/assets/{ArrowLeft-2ggpgqb0.js → ArrowLeft-B1m5qQi9.js} +1 -1
  4. package/dist/client/assets/{ArrowUp-cgUvwam2.js → ArrowUp-DcYpepHk.js} +1 -1
  5. package/dist/client/assets/{CartesianChart-CQdu8PPi.js → CartesianChart-BfCEFz3y.js} +1 -1
  6. package/dist/client/assets/{CategoricalChart-B5fszPCD.js → CategoricalChart-Bp-vLaQf.js} +1 -1
  7. package/dist/client/assets/{CheckCircle-D2qom1Qe.js → CheckCircle-B4NfGYxe.js} +1 -1
  8. package/dist/client/assets/{ChevronSelectorVertical-CSCxxcTv.js → ChevronSelectorVertical-EqyUOMMk.js} +1 -1
  9. package/dist/client/assets/{ChevronUp-DPwvtZ7T.js → ChevronUp-DRG0w_P4.js} +1 -1
  10. package/dist/client/assets/{CreditCard01-BeIdgKm8.js → CreditCard01-BLl0RgXC.js} +1 -1
  11. package/dist/client/assets/{Globe04-BNjS8hE_.js → Globe04--FaZazgw.js} +1 -1
  12. package/dist/client/assets/{Key01-Bb2fYsyQ.js → Key01-D0Pq98hT.js} +1 -1
  13. package/dist/client/assets/{LinkBroken01-a5oI2X-K.js → LinkBroken01-C9GtmpYY.js} +1 -1
  14. package/dist/client/assets/{Minus-HfQUebB7.js → Minus-eGpg4-RN.js} +1 -1
  15. package/dist/client/assets/{Monitor01-D0NO-K1o.js → Monitor01-Su614Ctg.js} +1 -1
  16. package/dist/client/assets/{Play-UerN5i51.js → Play-D_ph4pZ0.js} +1 -1
  17. package/dist/client/assets/{Plus-BqBCvRtk.js → Plus-D8rFucQH.js} +1 -1
  18. package/dist/client/assets/{ReferenceLine-8Od-_LqW.js → ReferenceLine-BsZk9TgE.js} +1 -1
  19. package/dist/client/assets/{SearchMd-ip9BTueQ.js → SearchMd-2MPq0KPN.js} +1 -1
  20. package/dist/client/assets/{ShoppingBag01-Z5jujKnF.js → ShoppingBag01-DDCYsqx9.js} +1 -1
  21. package/dist/client/assets/{Sun-BqxGPQ7c.js → Sun-Dvv08Urq.js} +1 -1
  22. package/dist/client/assets/{SwitchHorizontal01-xah_f_KH.js → SwitchHorizontal01-D7HAXgYP.js} +1 -1
  23. package/dist/client/assets/{Tool01-CAgFzAvv.js → Tool01-BTDYOKsB.js} +1 -1
  24. package/dist/client/assets/{Tooltip-2CGCyakg.js → Tooltip-CPoCGNVz.js} +1 -1
  25. package/dist/client/assets/{Trash01-C7v1fWGY.js → Trash01-CHCe7_6o.js} +1 -1
  26. package/dist/client/assets/{Upload01-7apXt8L7.js → Upload01-Q6ECKQXp.js} +1 -1
  27. package/dist/client/assets/{UserSquare-Dfda7sxk.js → UserSquare-BJHrMhrM.js} +1 -1
  28. package/dist/client/assets/{Users01-DGaGzIcz.js → Users01-DHfg9AEk.js} +1 -1
  29. package/dist/client/assets/{XClose-DaTfQwji.js → XClose-BDiB_Nvo.js} +1 -1
  30. package/dist/client/assets/{Zap-CmFvKOKc.js → Zap-DpvU6Dp2.js} +1 -1
  31. package/dist/client/assets/{access-gate-DSrHE9mR.js → access-gate-BjRwuLrP.js} +1 -1
  32. package/dist/client/assets/{add-connection-dialog-sfNoRM_t.js → add-connection-dialog-Bh0vHlQ5.js} +1 -1
  33. package/dist/client/assets/agent-app-IWHPMxEK.js +1 -0
  34. package/dist/client/assets/{agent-assets-BOBiAU4U.js → agent-assets-BZWSLrfd.js} +1 -1
  35. package/dist/client/assets/{agent-automation-JSDOOiNt.js → agent-automation-C1Vdho1R.js} +1 -1
  36. package/dist/client/assets/{agent-automations-dSGzVGTE.js → agent-automations-BOxoQlGs.js} +1 -1
  37. package/dist/client/assets/{agent-calendar-JsZQH9DJ.js → agent-calendar-CdFd9RbD.js} +1 -1
  38. package/dist/client/assets/{agent-capabilities-CuOmNgv3.js → agent-capabilities-C80Nj8dH.js} +1 -1
  39. package/dist/client/assets/{agent-connect-sources-f0poJHtj.js → agent-connect-sources-CEmlztKl.js} +1 -1
  40. package/dist/client/assets/agent-deck-CtBABaGT.js +1 -0
  41. package/dist/client/assets/{agent-e2e-DsNy3BsN.js → agent-e2e-CFF1rulz.js} +1 -1
  42. package/dist/client/assets/agent-experiments-ui7FfvYG.js +1 -0
  43. package/dist/client/assets/{agent-file-Y-EO6Btn.js → agent-file-Cq3onOpE.js} +1 -1
  44. package/dist/client/assets/{agent-hosting-BS_jB6we.js → agent-hosting-vCUxyXYf.js} +1 -1
  45. package/dist/client/assets/{agent-icon-BGTckvlP.js → agent-icon-DqjTL3cE.js} +1 -1
  46. package/dist/client/assets/agent-library-CrZB4N_E.js +1 -0
  47. package/dist/client/assets/agent-library-file-BOxLy0sn.js +1 -0
  48. package/dist/client/assets/agent-overview-BcgCBEmB.js +1 -0
  49. package/dist/client/assets/{agent-releases-B_K3FIWy.js → agent-releases-aYJGzx-T.js} +1 -1
  50. package/dist/client/assets/agent-settings-CxJPBxUl.js +1 -0
  51. package/dist/client/assets/agent-site-editor-code-CLO4vASe.js +2 -0
  52. package/dist/client/assets/agent-site-editor-content-DwQjPdJR.js +1 -0
  53. package/dist/client/assets/{agent-site-editor-CiaB1f7K.js → agent-site-editor-gGRvmvu9.js} +1 -1
  54. package/dist/client/assets/agent-site-editor-preview-DVAXUJER.js +1 -0
  55. package/dist/client/assets/agent-view-BWBpZVUF.js +1 -0
  56. package/dist/client/assets/{agent-view-guard-H_xpaENl.js → agent-view-guard-Bppi7Mra.js} +1 -1
  57. package/dist/client/assets/{ai-providers-OlLaxP2V.js → ai-providers-JXuyHqZ0.js} +1 -1
  58. package/dist/client/assets/{alert-CWtTJO7c.js → alert-Cddl0pAs.js} +1 -1
  59. package/dist/client/assets/{analytics-sections-DH9U0O99.js → analytics-sections-DFGgGKah.js} +1 -1
  60. package/dist/client/assets/{api-keys-B4joTgKi.js → api-keys-CyRPnxt1.js} +1 -1
  61. package/dist/client/assets/api-keys-G9chtY31.js +1 -0
  62. package/dist/client/assets/{app-editor-BrdqMvUA.js → app-editor-XjHMyWR2.js} +1 -1
  63. package/dist/client/assets/{asset-utils-BO-AcYFX.js → asset-utils-Cekn7DV3.js} +1 -1
  64. package/dist/client/assets/{auth-catchall-CU4VU9mW.js → auth-catchall-BEu29rgq.js} +1 -1
  65. package/dist/client/assets/{auth-entry-CuJQjZjM.js → auth-entry-C-rkFm2s.js} +1 -1
  66. package/dist/client/assets/{auth-BExDXNDY.js → auth-qAWEiaXq.js} +1 -1
  67. package/dist/client/assets/{auth-split-layout-BCXGVZBW.js → auth-split-layout-E78PPbPV.js} +1 -1
  68. package/dist/client/assets/{authenticate-and-persist-oauth-vexqf63k.js → authenticate-and-persist-oauth-D7iMHNSW.js} +1 -1
  69. package/dist/client/assets/{automation-list-row-Bp87yYiZ.js → automation-list-row-guzwZg5A.js} +1 -1
  70. package/dist/client/assets/{automation-runs-DiRDWuN3.js → automation-runs-BHP_sOU-.js} +1 -1
  71. package/dist/client/assets/{automations-DMWU0I6x.js → automations-BgweD4e5.js} +1 -1
  72. package/dist/client/assets/{autosend-DL4CutFR.js → autosend-_WPHuuuS.js} +1 -1
  73. package/dist/client/assets/{badge-CVFmvf1e.js → badge-DtxRsHGH.js} +1 -1
  74. package/dist/client/assets/{block-document-BENHfkyr.js → block-document-CT7wSVO4.js} +1 -1
  75. package/dist/client/assets/{blocks-preview-workspace-context-EXsoCHPE.js → blocks-preview-workspace-context-BoHWp5NJ.js} +1 -1
  76. package/dist/client/assets/{blocks-tab-states-Of3CFRB8.js → blocks-tab-states-2A_KUVRA.js} +1 -1
  77. package/dist/client/assets/{blog-schema-BG9a5NjF.js → blog-schema-DyhIMTKN.js} +1 -1
  78. package/dist/client/assets/{buckets-CC28Un34.js → buckets-B6SQeYKj.js} +1 -1
  79. package/dist/client/assets/{build-improve-prompt-doc-BISiPdsN.js → build-improve-prompt-doc--GJGk9lj.js} +1 -1
  80. package/dist/client/assets/{calendar-9d4oM3ql.js → calendar-gF784tOB.js} +1 -1
  81. package/dist/client/assets/{capability-load-error-ByWk_AoZ.js → capability-load-error-gokttFVD.js} +1 -1
  82. package/dist/client/assets/{category-editor-7CKgp_eM.js → category-editor-DH5eEcV-.js} +1 -1
  83. package/dist/client/assets/{chart-DXLoDuxi.js → chart-2s7SvZtT.js} +1 -1
  84. package/dist/client/assets/{chat-context-WEEHZlsn.js → chat-context-aSjAR9mm.js} +1 -1
  85. package/dist/client/assets/{chat-draft-CeM2nWLu.js → chat-draft-C4Ql1o7U.js} +1 -1
  86. package/dist/client/assets/{checkbox-KpsWsk0_.js → checkbox-CBfkrmis.js} +1 -1
  87. package/dist/client/assets/{choose-editor-PfXE6_H8.js → choose-editor-DOrF20ax.js} +1 -1
  88. package/dist/client/assets/{cli-auth-success-C2W_huzL.js → cli-auth-success-B188GHrd.js} +1 -1
  89. package/dist/client/assets/{client-icons-CCN4dFtx.js → client-icons-CGEm3mRa.js} +1 -1
  90. package/dist/client/assets/{cms-settings-editor-CdGJgv0b.js → cms-settings-editor-CLowE0HB.js} +1 -1
  91. package/dist/client/assets/{cms-store-drafts-dVKFaKA7.js → cms-store-drafts-CSMnfrKb.js} +1 -1
  92. package/dist/client/assets/{collapsible-B14xMZuR.js → collapsible-C6tkGF0M.js} +1 -1
  93. package/dist/client/assets/{collection-detail-pdnHCRF6.js → collection-detail-EKABwIVL.js} +1 -1
  94. package/dist/client/assets/{collection-display-button-CRiNqITy.js → collection-display-button-CiexA8e6.js} +1 -1
  95. package/dist/client/assets/{collection-search-Ck-1gfFY.js → collection-search-iHJVqUHB.js} +1 -1
  96. package/dist/client/assets/{collection-table-wrapper-BlhppHAs.js → collection-table-wrapper-Dw3f1ge7.js} +1 -1
  97. package/dist/client/assets/{collection-tabs-6FzXiv6G.js → collection-tabs-Trcf-II9.js} +1 -1
  98. package/dist/client/assets/{combobox-fgtxpSsO.js → combobox-DqTAA7CX.js} +1 -1
  99. package/dist/client/assets/{command-C37DfioB.js → command-CtR4gjCr.js} +1 -1
  100. package/dist/client/assets/{companion-mcps-section-pEyer4h1.js → companion-mcps-section-CMxxXZB8.js} +1 -1
  101. package/dist/client/assets/{config-C_d2w75d.js → config-BpJVAl-p.js} +1 -1
  102. package/dist/client/assets/{connect-CyzT5SDn.js → connect-DjUzAPce.js} +1 -1
  103. package/dist/client/assets/{connect-layout-DCavpmFh.js → connect-layout-atO8SWTe.js} +1 -1
  104. package/dist/client/assets/{connect-source-dialog-MOlb_mGB.js → connect-source-dialog-CpTTYi_l.js} +1 -1
  105. package/dist/client/assets/{connection-BjCYlDIW.js → connection-CZHWvxVM.js} +1 -1
  106. package/dist/client/assets/{connection-card-qC58rx0g.js → connection-card-Dt4OQ0Zk.js} +1 -1
  107. package/dist/client/assets/{connection-detail-CnaYuh7u.js → connection-detail-weWLbsDk.js} +1 -1
  108. package/dist/client/assets/{connection-form-helpers-9PE7Ghza.js → connection-form-helpers-KX0UMFtC.js} +1 -1
  109. package/dist/client/assets/{connection-slug-DgmEtT2x.js → connection-slug-BQwcAWfG.js} +1 -1
  110. package/dist/client/assets/{connections-DG7FZ0U7.js → connections-i22Te-Si.js} +1 -1
  111. package/dist/client/assets/{content-tab-Ce8Q2_t2.js → content-tab-CxWiT9yK.js} +3 -3
  112. package/dist/client/assets/{context-BB5j-Jdw.js → context-BHoetvxj.js} +1 -1
  113. package/dist/client/assets/{context-menu-BrSBg_ox.js → context-menu-CmlGLO8r.js} +1 -1
  114. package/dist/client/assets/{context-shell-D7i0aANg.js → context-shell-PkAxZmyt.js} +3 -3
  115. package/dist/client/assets/{core.esm-FUcIa7Fp.js → core.esm-DkzVh4mV.js} +1 -1
  116. package/dist/client/assets/{create-organization-dialog-D_0hk2gK.js → create-organization-dialog-_VIsUUpV.js} +1 -1
  117. package/dist/client/assets/{device-hint-CyMFSeT8.js → device-hint-CdtW8Ayx.js} +1 -1
  118. package/dist/client/assets/{discover-DJRtlG9n.js → discover-DylE9QvC.js} +1 -1
  119. package/dist/client/assets/{domain-settings-Y_vTNHIA.js → domain-settings-BuPEVvED.js} +1 -1
  120. package/dist/client/assets/{drawer-C8tQ9pS2.js → drawer-ChCkx76W.js} +1 -1
  121. package/dist/client/assets/{editor-QJRHEQ16.js → editor-BKO3Ouyu.js} +1 -1
  122. package/dist/client/assets/{editor-classes-B6F-sROj.js → editor-classes-BNXGx3Ep.js} +1 -1
  123. package/dist/client/assets/{empty-state-BCvL-1M3.js → empty-state-DiGOrU7G.js} +1 -1
  124. package/dist/client/assets/{empty-state-DKsEkDWT.js → empty-state-ajQCApN0.js} +1 -1
  125. package/dist/client/assets/{experiments-tab-choice-CbV3SQAK.js → experiments-tab-choice-BUQKBcCh.js} +1 -1
  126. package/dist/client/assets/{extract-connection-data-Co4igpCy.js → extract-connection-data-CTb_9Cpr.js} +1 -1
  127. package/dist/client/assets/{feature-gate-CS539brz.js → feature-gate-DReJia4Z.js} +1 -1
  128. package/dist/client/assets/{feature-paywall-BVeAB8_F.js → feature-paywall-DbaCusI2.js} +1 -1
  129. package/dist/client/assets/{feedback-DF1F9BRw.js → feedback-CVUSSdB5.js} +1 -1
  130. package/dist/client/assets/{file-explorer-Sdd0azAq.js → file-explorer-CgN8XtEL.js} +1 -1
  131. package/dist/client/assets/{file-preview-BQioSlJw.js → file-preview-CO8Jx_5T.js} +1 -1
  132. package/dist/client/assets/{file-share-button-Dq-dVjtE.js → file-share-button-B1R4GS_L.js} +1 -1
  133. package/dist/client/assets/{file-type-icon-CNDz0hBy.js → file-type-icon-Bo3Nsgdh.js} +1 -1
  134. package/dist/client/assets/{folder-icon-U2FEFXsO.js → folder-icon-DHVgg162.js} +1 -1
  135. package/dist/client/assets/{form-DXyLAoEr.js → form-BhXakrt_.js} +1 -1
  136. package/dist/client/assets/{general-DxPErvh9.js → general-BvxlAOrY.js} +1 -1
  137. package/dist/client/assets/{github-icon-DTSso41S.js → github-icon-BBNizm_E.js} +1 -1
  138. package/dist/client/assets/{home-C-LgRFYa.js → home-CppOBOPg.js} +1 -1
  139. package/dist/client/assets/{home-overview-BLmq-j06.js → home-overview-6RI8kIqs.js} +1 -1
  140. package/dist/client/assets/{hosted-reconcile-BRk5mz3x.js → hosted-reconcile-C9_-UERm.js} +1 -1
  141. package/dist/client/assets/{icon-button-B4XnwraP.js → icon-button-muPqJd-h.js} +1 -1
  142. package/dist/client/assets/{index-B6AqVyRx.js → index-2LwpmkET.js} +1 -1
  143. package/dist/client/assets/{index-kwATYZnP.js → index-878qqrH2.js} +1 -1
  144. package/dist/client/assets/{index-DObYgDqg.js → index-8ANyj4B7.js} +1 -1
  145. package/dist/client/assets/{index-BgFyWMUk.js → index-A822oipr.js} +1 -1
  146. package/dist/client/assets/{index-DovyWo-R.js → index-B6_lV1vO.js} +1 -1
  147. package/dist/client/assets/{index-RQA3UZ8F.js → index-BRwiTdyd.js} +1 -1
  148. package/dist/client/assets/{index-cE8Cg_AR.js → index-Bcy7_FA1.js} +1 -1
  149. package/dist/client/assets/{index-CQ63loJV.js → index-BlAiq0AL.js} +1 -1
  150. package/dist/client/assets/{index-Bgkjt4vy.js → index-CcqLnTyv.js} +5 -5
  151. package/dist/client/assets/{index-DP8sH5of.js → index-D146teOp.js} +1 -1
  152. package/dist/client/assets/{index-BFve9Wi8.js → index-DCh3kkGn.js} +1 -1
  153. package/dist/client/assets/{index-D3t73ds8.js → index-DhM4mrtt.js} +1 -1
  154. package/dist/client/assets/{index-D08mzr4H.js → index-GYpV5EH9.js} +1 -1
  155. package/dist/client/assets/{index-DxfUJlA4.js → index-QDvBZCSy.js} +1 -1
  156. package/dist/client/assets/{index-BMlrWTB1.js → index-TupjNSVk.js} +1 -1
  157. package/dist/client/assets/{index-C7lWWhIU.js → index-n9xCS6Sf.js} +1 -1
  158. package/dist/client/assets/{index-redirect-CcWBc9jM.js → index-redirect-BUCPvmVN.js} +1 -1
  159. package/dist/client/assets/{infiniteQueryObserver-X5CcDr9j.js → infiniteQueryObserver-uDA4YvYL.js} +1 -1
  160. package/dist/client/assets/{infra-billing-DFPWiYwa.js → infra-billing-Bql8vBuZ.js} +1 -1
  161. package/dist/client/assets/{input-B1ylvcHV.js → input-BDAmWj4c.js} +3 -3
  162. package/dist/client/assets/{input-BYA2vxZm.js → input-COtL628i.js} +1 -1
  163. package/dist/client/assets/{integration-icon-C7bRwcH_.js → integration-icon-ChQEBlMz.js} +1 -1
  164. package/dist/client/assets/{jira-icon-DGCOmFp6.js → jira-icon-CJhoZQuc.js} +1 -1
  165. package/dist/client/assets/{label-D25-0Wh6.js → label-CsfAEF08.js} +1 -1
  166. package/dist/client/assets/{layout-DnoCv7Y5.js → layout-B-LTaCR7.js} +1 -1
  167. package/dist/client/assets/{legacy-agents-deep-C5jspcJW.js → legacy-agents-deep-B3LnX3dE.js} +1 -1
  168. package/dist/client/assets/{legacy-main-redirect-D7NT1WBZ.js → legacy-main-redirect-KlovZkVM.js} +1 -1
  169. package/dist/client/assets/library-B2C1_FfB.js +1 -0
  170. package/dist/client/assets/{library-tab-tbFrXHgR.js → library-tab-DdqY20-1.js} +1 -1
  171. package/dist/client/assets/{login-Cn8-U1Kv.js → login-DRAz2Byx.js} +1 -1
  172. package/dist/client/assets/{markdown-12a9C6gs.js → markdown-CPuTm6Mv.js} +1 -1
  173. package/dist/client/assets/{mcp-app-renderer-D5couJ6l.js → mcp-app-renderer-Cigj7X9N.js} +1 -1
  174. package/dist/client/assets/{mcp-oauth-a2WNYr35.js → mcp-oauth-BU_Qloaj.js} +1 -1
  175. package/dist/client/assets/{mcp-oauth-BaddOlGq.js → mcp-oauth-ChfuZkYU.js} +1 -1
  176. package/dist/client/assets/{members-CZ44ad9P.js → members-BDBxWp17.js} +1 -1
  177. package/dist/client/assets/{memory-C6DEVRSO.js → memory-B9jEAxkU.js} +1 -1
  178. package/dist/client/assets/{mock-board-DfUD0CJt.js → mock-board-Bsls4MQk.js} +3 -3
  179. package/dist/client/assets/{monaco-editor-Cn1TEUmq.js → monaco-editor-XS1Vx7aB.js} +1 -1
  180. package/dist/client/assets/{monitoring-z5KlpAiC.js → monitoring-B3WSTrVO.js} +1 -1
  181. package/dist/client/assets/{monitoring-stats-row-B_RviRp-.js → monitoring-stats-row-CuWemrnJ.js} +1 -1
  182. package/dist/client/assets/{multi-select-DAJzscc4.js → multi-select-C2R3RZPE.js} +1 -1
  183. package/dist/client/assets/{mustache-BYgEr74H.js → mustache-ByRkTjky.js} +1 -1
  184. package/dist/client/assets/{named-rule-view-a6Af9Y_h.js → named-rule-view-D9J5jfxv.js} +1 -1
  185. package/dist/client/assets/{new-project-dialog-DZScwreb.js → new-project-dialog-C_1Rs0SG.js} +1 -1
  186. package/dist/client/assets/{oauth-callback-CssoBuAl.js → oauth-callback-Du4CoqhX.js} +1 -1
  187. package/dist/client/assets/{oauth-callback-ai-provider-DeW99Mbt.js → oauth-callback-ai-provider-CGOatJwS.js} +1 -1
  188. package/dist/client/assets/{oauth-consent-3FbtrQ-O.js → oauth-consent-DP5dM3Bl.js} +1 -1
  189. package/dist/client/assets/{onboarding-idlA3-zh.js → onboarding-CNJgq5g8.js} +1 -1
  190. package/dist/client/assets/{openai-conversation-C88BC7Je.js → openai-conversation-RmvHRGWP.js} +1 -1
  191. package/dist/client/assets/{optimistic-project-sidebar-views-C-XQYFtN.js → optimistic-project-sidebar-views-BF6tqK9w.js} +1 -1
  192. package/dist/client/assets/{order-monitor-day-DRh7v9Pq.js → order-monitor-day-Cs26_K8M.js} +1 -1
  193. package/dist/client/assets/{organization-choice-D8HF6Nft.js → organization-choice-Bntbf3d6.js} +1 -1
  194. package/dist/client/assets/{orgs-HEuftt--.js → orgs-CGfTnYKc.js} +1 -1
  195. package/dist/client/assets/own-accounts-section-Dv_Ox_cI.js +1 -0
  196. package/dist/client/assets/{pair-Ct1xgxut.js → pair-h0916MQd.js} +1 -1
  197. package/dist/client/assets/{parse-sections-D-35SZIB.js → parse-sections-BhaTg9vA.js} +3 -3
  198. package/dist/client/assets/{plan-CfTunmR6.js → plan-GL1imSbx.js} +1 -1
  199. package/dist/client/assets/{plan-ladder-iJPGG0mc.js → plan-ladder-BLc0_1i8.js} +1 -1
  200. package/dist/client/assets/{plan-usage-card-CPmF1Mdc.js → plan-usage-card-DWVVT2WQ.js} +1 -1
  201. package/dist/client/assets/{popover-CRX5tFOb.js → popover-BQnTqyWU.js} +1 -1
  202. package/dist/client/assets/{post-calendar-BJXCzebc.js → post-calendar-HNq1Smaq.js} +1 -1
  203. package/dist/client/assets/{post-editor-wf3j_7Z5.js → post-editor-B1Q3Pcgn.js} +1 -1
  204. package/dist/client/assets/{preview-content-BSZZr-mZ.js → preview-content-DHz0okBk.js} +1 -1
  205. package/dist/client/assets/{preview-dialog-BcxXfQ6o.js → preview-dialog-geLovY3F.js} +1 -1
  206. package/dist/client/assets/{preview-panel-Ce1qZOdd.js → preview-panel-5qTld6rM.js} +1 -1
  207. package/dist/client/assets/{preview-tab-ClX_Bl94.js → preview-tab-DTmM7FWc.js} +3 -3
  208. package/dist/client/assets/{product-picker-dialog-Q92D1y36.js → product-picker-dialog-CkKwZuBF.js} +1 -1
  209. package/dist/client/assets/{profile-CERW1LgW.js → profile-DDg9c8sx.js} +1 -1
  210. package/dist/client/assets/{project-app-view-CEubGD1t.js → project-app-view-BTrJDLFt.js} +1 -1
  211. package/dist/client/assets/{project-apps-C951mymv.js → project-apps-sFKq8oaX.js} +1 -1
  212. package/dist/client/assets/{project-icon-CzcU3Mqg.js → project-icon-BlOLnUr2.js} +1 -1
  213. package/dist/client/assets/{project-index-BJwudS3v.js → project-index-C12cl71J.js} +1 -1
  214. package/dist/client/assets/project-reports-AxUmLNIH.js +1 -0
  215. package/dist/client/assets/project-tasks-CAr2Cqy5.js +1 -0
  216. package/dist/client/assets/{projects-DYDXJVDD.js → projects-APtBmhWY.js} +1 -1
  217. package/dist/client/assets/{projects-empty-state-DQUhcI6R.js → projects-empty-state-B_-RYmNY.js} +1 -1
  218. package/dist/client/assets/{prompts-Pr-m_FAx.js → prompts-rGT4H9HS.js} +1 -1
  219. package/dist/client/assets/record-editor-Ci0iG6uP.js +1 -0
  220. package/dist/client/assets/{redirect-editor-BGvUBqUv.js → redirect-editor-CMuoDESV.js} +1 -1
  221. package/dist/client/assets/{reports-DzbfP0a1.js → reports-B5SaRV3H.js} +1 -1
  222. package/dist/client/assets/reports-D-qIr9kO.js +1 -0
  223. package/dist/client/assets/{reports-onboarding-fdfwoC5Y.js → reports-onboarding-C3O3uPM5.js} +1 -1
  224. package/dist/client/assets/{reports-tab-DsenaOP3.js → reports-tab-BU0ZPXc5.js} +2 -2
  225. package/dist/client/assets/repositories-DcYP84R5.js +1 -0
  226. package/dist/client/assets/{repositories-BKBt9Cjw.js → repositories-EzK0gp8T.js} +1 -1
  227. package/dist/client/assets/{repository-binding-SOF1batH.js → repository-binding-CuR-5wbj.js} +1 -1
  228. package/dist/client/assets/{repository-picker-DL7LhDyE.js → repository-picker-DEa_L5X-.js} +1 -1
  229. package/dist/client/assets/{require-capability-CulwBmL_.js → require-capability-s4T8ky9G.js} +1 -1
  230. package/dist/client/assets/{required-auth-layout-Bbj3yijQ.js → required-auth-layout-BnfTNype.js} +1 -1
  231. package/dist/client/assets/{reset-password-CEDutYaS.js → reset-password-DyQQJ8dn.js} +1 -1
  232. package/dist/client/assets/{resizable-BF1q0sZm.js → resizable-G0IV9sBv.js} +1 -1
  233. package/dist/client/assets/{resolve-tab-icon-BZMbKk3n.js → resolve-tab-icon-73RgcuQe.js} +1 -1
  234. package/dist/client/assets/{review-settings-ZkiMBoaj.js → review-settings-CuOWj38_.js} +1 -1
  235. package/dist/client/assets/{role-color-C9uhwzF-.js → role-color-DsX-V5ks.js} +1 -1
  236. package/dist/client/assets/{roles-CEON3RQs.js → roles-Dx9qwbnQ.js} +1 -1
  237. package/dist/client/assets/{route-DEPx9jGW.js → route-BhRhH95H.js} +1 -1
  238. package/dist/client/assets/route-CSMzYXoN.js +1 -0
  239. package/dist/client/assets/{route-iWPPipTt.js → route-DyaXyBfS.js} +1 -1
  240. package/dist/client/assets/{sandbox-lifecycle-context-Cuu6DFTF.js → sandbox-lifecycle-context-BbXRjeM5.js} +1 -1
  241. package/dist/client/assets/{schema-DJM5djBQ.js → schema-D4ZSsKIV.js} +1 -1
  242. package/dist/client/assets/{schema-DCIk1LTk.js → schema-DyZV-W0g.js} +1 -1
  243. package/dist/client/assets/{scroll-area-jAJHvOhj.js → scroll-area-Dc2A2LkE.js} +1 -1
  244. package/dist/client/assets/{search-input-DVDThqIB.js → search-input-DFXG_UYw.js} +1 -1
  245. package/dist/client/assets/{search-toggle-CI-y0p8p.js → search-toggle-B9QbSQeA.js} +1 -1
  246. package/dist/client/assets/{secret-picker-popVUrUL.js → secret-picker-DmxIms9y.js} +1 -1
  247. package/dist/client/assets/{secrets-DalYwIr1.js → secrets-AGU75gav.js} +1 -1
  248. package/dist/client/assets/{section-array-field-DC06wjHY.js → section-array-field-ClWKGp_4.js} +1 -1
  249. package/dist/client/assets/{sections-D1hA-xOU.js → sections-BVT_1GZf.js} +1 -1
  250. package/dist/client/assets/{sections-editor-D78O6u_r.js → sections-editor-CYlxI1p5.js} +1 -1
  251. package/dist/client/assets/{select-lF0wcoip.js → select-DQqbq83t.js} +1 -1
  252. package/dist/client/assets/{select-model-D7HU-f3b.js → select-model-DrY_3vXN.js} +1 -1
  253. package/dist/client/assets/{seo-editor-CtzJbmZQ.js → seo-editor-BlBhyBAl.js} +1 -1
  254. package/dist/client/assets/{separator-C_6waQwt.js → separator-C0H8Yj6d.js} +1 -1
  255. package/dist/client/assets/settings-tab-DWTMFT0X.js +1 -0
  256. package/dist/client/assets/{sheet-B-HfTX7L.js → sheet-B2jsXlHJ.js} +1 -1
  257. package/dist/client/assets/{shell-layout-DJhfQde-.js → shell-layout-CBX9BtMX.js} +1 -1
  258. package/dist/client/assets/{site-draft-actions-CMHnwxCd.js → site-draft-actions-CD85gRfI.js} +1 -1
  259. package/dist/client/assets/{site-draft-view-CwjjGmMd.js → site-draft-view-D0hJTk9N.js} +1 -1
  260. package/dist/client/assets/site-editor-CWVoX5OY.js +1 -0
  261. package/dist/client/assets/{site-editor-toast-CFZ3g20k.js → site-editor-toast-CIOA7Zq3.js} +1 -1
  262. package/dist/client/assets/{skills-TRY4s8Yy.js → skills-XkOrIlnS.js} +1 -1
  263. package/dist/client/assets/{slider-DGqHqKd3.js → slider-84yNNCUP.js} +1 -1
  264. package/dist/client/assets/{sortable.esm-DwDHqu2Z.js → sortable.esm-BHALCXRV.js} +1 -1
  265. package/dist/client/assets/{sso-Am4Nf_A1.js → sso-6pnL0iJa.js} +1 -1
  266. package/dist/client/assets/{suggestion-9_dojs-y.js → suggestion-C3enCUG8.js} +1 -1
  267. package/dist/client/assets/{switch-Bh4leDQ8.js → switch-2cMTOO8e.js} +1 -1
  268. package/dist/client/assets/{synced-repos-lK4skxC9.js → synced-repos-bmkfQV3e.js} +1 -1
  269. package/dist/client/assets/{tab-icon-glyph-DQowlddo.js → tab-icon-glyph-lzQzl_Ov.js} +1 -1
  270. package/dist/client/assets/{table-BVlqjzf4.js → table-DvZCTg5z.js} +1 -1
  271. package/dist/client/assets/{tabs-CE50d848.js → tabs-BzwzpfZ1.js} +1 -1
  272. package/dist/client/assets/{task-board-D_hXj2Vy.js → task-board-DcTNURQy.js} +1 -1
  273. package/dist/client/assets/{task-route-Be5seRTj.js → task-route-DfbZq1yE.js} +1 -1
  274. package/dist/client/assets/{task-status-1axt5dZB.js → task-status-CxLWWnTs.js} +1 -1
  275. package/dist/client/assets/{taskboard-analytics-r6HixYm_.js → taskboard-analytics-Cmr5hCm9.js} +1 -1
  276. package/dist/client/assets/tasks-140YlmT4.js +1 -0
  277. package/dist/client/assets/{tasks-CdxgNM_V.js → tasks-CzV2b6I-.js} +1 -1
  278. package/dist/client/assets/{textarea-DnFolSR6.js → textarea-CpPhDLVU.js} +1 -1
  279. package/dist/client/assets/{thread-analytics-BoSR9_dC.js → thread-analytics-9huoP8m_.js} +1 -1
  280. package/dist/client/assets/{thread-intent-W-PQxNVd.js → thread-intent-pegObLq9.js} +1 -1
  281. package/dist/client/assets/{thread-route-B-6djUfH.js → thread-route-D5E5K-lU.js} +1 -1
  282. package/dist/client/assets/{thread-route-mCuisQJI.js → thread-route-DORnlP1l.js} +1 -1
  283. package/dist/client/assets/{thread-sheet-body-C1IbmVK3.js → thread-sheet-body-BFBUt-Sx.js} +1 -1
  284. package/dist/client/assets/{time-range-picker-DihnOOBB.js → time-range-picker-CO070soZ.js} +1 -1
  285. package/dist/client/assets/{toggle-group-DErjWYXo.js → toggle-group-D9bXIbAb.js} +1 -1
  286. package/dist/client/assets/{tool-namespace-Dwob85yl.js → tool-namespace-BQSaNq7N.js} +1 -1
  287. package/dist/client/assets/{tool-set-selector-C4XbxKMC.js → tool-set-selector-DM-ejAZy.js} +1 -1
  288. package/dist/client/assets/{toolbar-icon-button-CuzSG6Ep.js → toolbar-icon-button-CTRAa2ng.js} +1 -1
  289. package/dist/client/assets/{tooltip-BP38juWI.js → tooltip-AKf-E49i.js} +1 -1
  290. package/dist/client/assets/{tooltipContext-BmU0TqD4.js → tooltipContext-C6xZbBgY.js} +1 -1
  291. package/dist/client/assets/{track-auFJ_XdC.js → track-ClB7tKVt.js} +1 -1
  292. package/dist/client/assets/{types-8U8D-Y9v.js → types-BQOtvCBo.js} +1 -1
  293. package/dist/client/assets/{url-slug-CvXmCpJZ.js → url-slug-ihGFL5bo.js} +1 -1
  294. package/dist/client/assets/{usage-stats-C-iZo0BZ.js → usage-stats-CVX23WNU.js} +1 -1
  295. package/dist/client/assets/{use-ai-providers-BIh1KBLl.js → use-ai-providers-BrqJh5BT.js} +1 -1
  296. package/dist/client/assets/{use-apply-named-rule-Cp8bLYtd.js → use-apply-named-rule-BVdRelp-.js} +1 -1
  297. package/dist/client/assets/use-ask-in-chat-CtKzpyFU.js +1 -0
  298. package/dist/client/assets/{use-automations-BomrPGWU.js → use-automations-B64sqUmg.js} +1 -1
  299. package/dist/client/assets/{use-autosave-CwfHnqn6.js → use-autosave-CXs3BFTf.js} +1 -1
  300. package/dist/client/assets/use-blocks-v8-project-BPQNHFav.js +1 -0
  301. package/dist/client/assets/{use-chat-layout-state-BJFKgYgw.js → use-chat-layout-state-Be9vIJ9A.js} +1 -1
  302. package/dist/client/assets/{use-cms-publish-actions-BqHNyOA0.js → use-cms-publish-actions-_yzMD1wJ.js} +1 -1
  303. package/dist/client/assets/{use-connect-companion-B9Lrc-HW.js → use-connect-companion-CB7F6AWc.js} +1 -1
  304. package/dist/client/assets/{use-connection-BT_OOtuG.js → use-connection-CECJF8rf.js} +1 -1
  305. package/dist/client/assets/{use-content-sync-B0MN54yQ.js → use-content-sync-D6gXnizV.js} +1 -1
  306. package/dist/client/assets/{use-copy-DrB0tWuk.js → use-copy-CtSedmtg.js} +1 -1
  307. package/dist/client/assets/{use-date-fns-locale-BBt-5tGJ.js → use-date-fns-locale-DQTvoMF-.js} +1 -1
  308. package/dist/client/assets/{use-debounced-autosave-DsHXF_za.js → use-debounced-autosave-BLJ3k7wG.js} +1 -1
  309. package/dist/client/assets/{use-debounced-value-CekhRquV.js → use-debounced-value-CcMMD4Qy.js} +1 -1
  310. package/dist/client/assets/{use-deco-credits-qwzMk2Ai.js → use-deco-credits-C6qbWrOQ.js} +1 -1
  311. package/dist/client/assets/{use-decopilot-events-Dd92yoAZ.js → use-decopilot-events-Dc1L96mp.js} +1 -1
  312. package/dist/client/assets/{use-delete-connection-D-UTTC0v.js → use-delete-connection-Cw1Qu4uu.js} +1 -1
  313. package/dist/client/assets/{use-deployment-admin-DE1jKIDx.js → use-deployment-admin-D9sSgOb1.js} +1 -1
  314. package/dist/client/assets/{use-entitlements-BWZ6Su0L.js → use-entitlements-BKF4jYfc.js} +1 -1
  315. package/dist/client/assets/{use-fast-preview-draft-url-Cqws--qI.js → use-fast-preview-draft-url-TUtYOptx.js} +1 -1
  316. package/dist/client/assets/{use-file-configs-DpxzYxst.js → use-file-configs-D7-mFpqA.js} +1 -1
  317. package/dist/client/assets/{use-id-selection-BGnSfWFf.js → use-id-selection-JEuFRU8t.js} +1 -1
  318. package/dist/client/assets/{use-inbox-feed-lQA3V0xG.js → use-inbox-feed-RrCfNvIm.js} +1 -1
  319. package/dist/client/assets/{use-infinite-scroll-wFaFK15q.js → use-infinite-scroll-Z_9MLZyx.js} +1 -1
  320. package/dist/client/assets/{use-join-requests-BdaV0Rjj.js → use-join-requests-CANHKzNj.js} +1 -1
  321. package/dist/client/assets/{use-main-panel-tabs-Dk8fH1fE.js → use-main-panel-tabs-DA6Ypr8r.js} +1 -1
  322. package/dist/client/assets/{use-mcp-auth-status-Ck3Se_Y3.js → use-mcp-auth-status-CMC6AisX.js} +1 -1
  323. package/dist/client/assets/{use-mcp-client-IMgoLgFY.js → use-mcp-client-DvDomB9A.js} +1 -1
  324. package/dist/client/assets/{use-mcp-prompts-Bk_g-v-0.js → use-mcp-prompts-CgDM8qHG.js} +1 -1
  325. package/dist/client/assets/{use-mcp-tools-CtpSFCmz.js → use-mcp-tools-mI5K7YKF.js} +1 -1
  326. package/dist/client/assets/{use-mobile-CW7DCn5M.js → use-mobile-BgN1E82d.js} +1 -1
  327. package/dist/client/assets/{use-move-blocks-DfaBs3sc.js → use-move-blocks-CPMJkp5h.js} +1 -1
  328. package/dist/client/assets/{use-navigate-to-agent-DUsfLcvr.js → use-navigate-to-agent-DmfSMV3R.js} +1 -1
  329. package/dist/client/assets/{use-org-fs-DDvKBG9i.js → use-org-fs-BWA2rFQC.js} +1 -1
  330. package/dist/client/assets/{use-org-repo-syncs-C4JLwrAt.js → use-org-repo-syncs-CTHMawzN.js} +1 -1
  331. package/dist/client/assets/{use-org-sso-BH_ZUFcu.js → use-org-sso-CGB_T6WF.js} +1 -1
  332. package/dist/client/assets/{use-organization-settings-Ca4qUgyM.js → use-organization-settings-sxurgilE.js} +1 -1
  333. package/dist/client/assets/{use-project-native-view-presence-4sY_IqcV.js → use-project-native-view-presence-CwgTlxOv.js} +1 -1
  334. package/dist/client/assets/{use-project-scope-CxaJ6AcP.js → use-project-scope-Cb4T7-Pe.js} +1 -1
  335. package/dist/client/assets/{use-recent-apps-kdlh-9NG.js → use-recent-apps-DD97o_H1.js} +1 -1
  336. package/dist/client/assets/{use-reports-diagnostic-DYAFraaD.js → use-reports-diagnostic-BA9L8p6c.js} +1 -1
  337. package/dist/client/assets/{use-sandbox-events-Bv6EHRzy.js → use-sandbox-events-CdAdPYjL.js} +1 -1
  338. package/dist/client/assets/{use-secrets-BwcJJCVK.js → use-secrets-rjK8WMv5.js} +1 -1
  339. package/dist/client/assets/{use-section-preview-base-CWdiCrj1.js → use-section-preview-base-DcuAqWGB.js} +1 -1
  340. package/dist/client/assets/{use-sidebar-collapsed-CEHXblGy.js → use-sidebar-collapsed-B34u6RwD.js} +1 -1
  341. package/dist/client/assets/{use-tags-CoD8SrC4.js → use-tags-0YxcWwJI.js} +1 -1
  342. package/dist/client/assets/{use-task-board-analytics-B7geh4Sd.js → use-task-board-analytics-tpDvOzAs.js} +1 -1
  343. package/dist/client/assets/{use-task-board-events-CVDrlP1V.js → use-task-board-events-CGZxY00s.js} +1 -1
  344. package/dist/client/assets/{use-task-board-item-prs-BrtOevur.js → use-task-board-item-prs-B6YW8nsa.js} +1 -1
  345. package/dist/client/assets/{use-task-board-items-COv-bhs6.js → use-task-board-items-BcL-6L6N.js} +1 -1
  346. package/dist/client/assets/{use-task-board-prompts-Dx8vM0fR.js → use-task-board-prompts-B9dDmO_e.js} +1 -1
  347. package/dist/client/assets/{use-task-metadata-DPZ7Y524.js → use-task-metadata-hgLXNv36.js} +1 -1
  348. package/dist/client/assets/{use-thread-outputs-Pm3V0nbB.js → use-thread-outputs-X5IsW797.js} +1 -1
  349. package/dist/client/assets/{use-voice-input-DwO5kNPT.js → use-voice-input-DmZaOhTZ.js} +1 -1
  350. package/dist/client/assets/useInfiniteQuery-WRSkkanY.js +1 -0
  351. package/dist/client/assets/{useQueries-CvrSJ4L5.js → useQueries-BbhbAWNG.js} +1 -1
  352. package/dist/client/assets/useSuspenseInfiniteQuery-B1s2URZC.js +1 -0
  353. package/dist/client/assets/{users-B-jZ9pgk.js → users-BNwLmtY6.js} +1 -1
  354. package/dist/client/assets/{utils-CnVlph4k.js → utils-KeMhVvdQ.js} +1 -1
  355. package/dist/client/assets/{variant-calendar-DSMYmXmT.js → variant-calendar-VCJbhkWd.js} +1 -1
  356. package/dist/client/assets/{variant-matcher-override-DCs6FrU7.js → variant-matcher-override-DLQRivi9.js} +1 -1
  357. package/dist/client/assets/{view-header-CggAPEpA.js → view-header-cnfShdRT.js} +1 -1
  358. package/dist/client/assets/{virtual-mcp-knTda3gw.js → virtual-mcp-YmAa-VVd.js} +1 -1
  359. package/dist/client/assets/{watch-sse-pool-CjiXfMh2.js → watch-sse-pool-CYcZM1HP.js} +1 -1
  360. package/dist/client/index.html +1 -1
  361. package/dist/server/server.js +1 -1
  362. package/package.json +1 -1
  363. package/dist/client/assets/agent-app-B_xuQBe4.js +0 -1
  364. package/dist/client/assets/agent-deck-DrS8cvv6.js +0 -1
  365. package/dist/client/assets/agent-experiments-BmXzB7sO.js +0 -1
  366. package/dist/client/assets/agent-library-BeOICuv4.js +0 -1
  367. package/dist/client/assets/agent-library-file-BLEe6X-g.js +0 -1
  368. package/dist/client/assets/agent-overview-DK7iRg_t.js +0 -1
  369. package/dist/client/assets/agent-settings-BjOD_o2l.js +0 -1
  370. package/dist/client/assets/agent-site-editor-code--mSzyNhn.js +0 -2
  371. package/dist/client/assets/agent-site-editor-content-CxN1Ldoy.js +0 -1
  372. package/dist/client/assets/agent-site-editor-preview-RW-nzlvn.js +0 -1
  373. package/dist/client/assets/agent-view-DaSIF8yy.js +0 -1
  374. package/dist/client/assets/api-keys-CI8mz52i.js +0 -1
  375. package/dist/client/assets/library-B8KAYORe.js +0 -1
  376. package/dist/client/assets/own-accounts-section-BoGn4pOO.js +0 -1
  377. package/dist/client/assets/project-reports-BfKeLcLP.js +0 -1
  378. package/dist/client/assets/project-tasks-Dn-Gv_TR.js +0 -1
  379. package/dist/client/assets/record-editor-DBJCnSL6.js +0 -1
  380. package/dist/client/assets/reports-DR2YJPbu.js +0 -1
  381. package/dist/client/assets/repositories-ByhK-3bU.js +0 -1
  382. package/dist/client/assets/route-D7DW4Q6o.js +0 -1
  383. package/dist/client/assets/settings-tab-udmQO91m.js +0 -1
  384. package/dist/client/assets/site-editor-DG5keOVm.js +0 -1
  385. package/dist/client/assets/tasks-BWjB_1VS.js +0 -1
  386. package/dist/client/assets/use-ask-in-chat-BvyYDdXE.js +0 -1
  387. package/dist/client/assets/use-blocks-v8-project-iz2iNvo9.js +0 -1
  388. package/dist/client/assets/useInfiniteQuery-Sda1zjLQ.js +0 -1
  389. package/dist/client/assets/useSuspenseInfiniteQuery-CscGJh0l.js +0 -1
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/login-Cn8-U1Kv.js","assets/auth-entry-CuJQjZjM.js","assets/delay-CnY5UFtP.js","assets/auth-split-layout-BCXGVZBW.js","assets/cli-auth-success-C2W_huzL.js","assets/oauth-callback-CssoBuAl.js","assets/mcp-oauth-BaddOlGq.js","assets/auth-BExDXNDY.js","assets/oauth-consent-3FbtrQ-O.js","assets/layout-DnoCv7Y5.js","assets/required-auth-layout-Bbj3yijQ.js","assets/use-deployment-admin-DE1jKIDx.js","assets/users-B-jZ9pgk.js","assets/collection-table-wrapper-BlhppHAs.js","assets/table-BVlqjzf4.js","assets/ArrowUp-cgUvwam2.js","assets/empty-state-BCvL-1M3.js","assets/search-input-DVDThqIB.js","assets/SearchMd-ip9BTueQ.js","assets/badge-CVFmvf1e.js","assets/use-debounced-value-CekhRquV.js","assets/admin-fetch-BhTJlAsX.js","assets/orgs-HEuftt--.js","assets/label-D25-0Wh6.js","assets/select-lF0wcoip.js","assets/index-BdQq_4o_.js","assets/index-DP8sH5of.js","assets/ChevronUp-DPwvtZ7T.js","assets/switch-Bh4leDQ8.js","assets/textarea-DnFolSR6.js","assets/roles-DW32thi2.js","assets/schema-DJM5djBQ.js","assets/prompts-Pr-m_FAx.js","assets/shell-layout-DJhfQde-.js","assets/Globe04-BNjS8hE_.js","assets/UserSquare-Dfda7sxk.js","assets/agent-icon-BGTckvlP.js","assets/AlertCircle-Cbs5Ab1P.js","assets/Tool01-CAgFzAvv.js","assets/ArrowLeft-2ggpgqb0.js","assets/LinkBroken01-a5oI2X-K.js","assets/ShoppingBag01-Z5jujKnF.js","assets/CheckCircle-D2qom1Qe.js","assets/ChevronSelectorVertical-CSCxxcTv.js","assets/CreditCard01-BeIdgKm8.js","assets/SwitchHorizontal01-xah_f_KH.js","assets/Key01-Bb2fYsyQ.js","assets/Minus-HfQUebB7.js","assets/Monitor01-D0NO-K1o.js","assets/Sun-BqxGPQ7c.js","assets/Play-UerN5i51.js","assets/Plus-BqBCvRtk.js","assets/Trash01-C7v1fWGY.js","assets/Upload01-7apXt8L7.js","assets/Users01-DGaGzIcz.js","assets/XClose-DaTfQwji.js","assets/Zap-CmFvKOKc.js","assets/use-project-scope-CxaJ6AcP.js","assets/repository-binding-SOF1batH.js","assets/use-mcp-client-IMgoLgFY.js","assets/autosend-DL4CutFR.js","assets/thread-route-B-6djUfH.js","assets/command-C37DfioB.js","assets/index-BFve9Wi8.js","assets/integration-icon-C7bRwcH_.js","assets/project-icon-CzcU3Mqg.js","assets/use-navigate-to-agent-DUsfLcvr.js","assets/thread-intent-W-PQxNVd.js","assets/watch-sse-pool-CjiXfMh2.js","assets/task-board-D_hXj2Vy.js","assets/new-project-dialog-DZScwreb.js","assets/repository-picker-DL7LhDyE.js","assets/tooltip-BP38juWI.js","assets/github-icon-DTSso41S.js","assets/useInfiniteQuery-Sda1zjLQ.js","assets/infiniteQueryObserver-X5CcDr9j.js","assets/collection-search-Ck-1gfFY.js","assets/use-organization-settings-Ca4qUgyM.js","assets/use-org-sso-BH_ZUFcu.js","assets/shell-layout-CE2Eihra.css","assets/onboarding-idlA3-zh.js","assets/organization-choice-D8HF6Nft.js","assets/reports-onboarding-fdfwoC5Y.js","assets/site-url-en5df9c-.js","assets/create-organization-dialog-D_0hk2gK.js","assets/form-DXyLAoEr.js","assets/companion-mcps-section-pEyer4h1.js","assets/use-connect-companion-B9Lrc-HW.js","assets/companions-core-DhUD88pR.js","assets/metadata-D72DunRR.js","assets/github-repo-scope-C58hYmYC.js","assets/icon-button-B4XnwraP.js","assets/useQueries-CvrSJ4L5.js","assets/authenticate-and-persist-oauth-vexqf63k.js","assets/mcp-oauth-a2WNYr35.js","assets/track-auFJ_XdC.js","assets/extract-connection-data-Co4igpCy.js","assets/connection-BjCYlDIW.js","assets/url-slug-CvXmCpJZ.js","assets/self-tool-result-8OxPN9Nm.js","assets/site-error-Da6iapvu.js","assets/choose-editor-PfXE6_H8.js","assets/site-editor-DG5keOVm.js","assets/chat-context-WEEHZlsn.js","assets/use-entitlements-BWZ6Su0L.js","assets/use-ai-providers-BIh1KBLl.js","assets/use-decopilot-events-Dd92yoAZ.js","assets/index-DObYgDqg.js","assets/use-mobile-CW7DCn5M.js","assets/use-sidebar-collapsed-CEHXblGy.js","assets/use-chat-layout-state-BJFKgYgw.js","assets/toolbar-icon-button-CuzSG6Ep.js","assets/sheet-B-HfTX7L.js","assets/resizable-BF1q0sZm.js","assets/index-BgFyWMUk.js","assets/core.esm-FUcIa7Fp.js","assets/sortable.esm-DwDHqu2Z.js","assets/context-menu-BrSBg_ox.js","assets/project-apps-C951mymv.js","assets/use-recent-apps-kdlh-9NG.js","assets/blocks-preview-workspace-context-EXsoCHPE.js","assets/site-editor-toast-CFZ3g20k.js","assets/use-voice-input-DwO5kNPT.js","assets/popover-CRX5tFOb.js","assets/drawer-C8tQ9pS2.js","assets/index-D3t73ds8.js","assets/checkbox-KpsWsk0_.js","assets/ai-providers-logos-DD3qZ33J.js","assets/openai-compatible-presets-BKGfVqEx.js","assets/use-blocks-v8-project-iz2iNvo9.js","assets/sandbox-url-D3mC8qhT.js","assets/utils-CnVlph4k.js","assets/use-sandbox-events-Bv6EHRzy.js","assets/sandbox-git-api-DcqI6XE4.js","assets/preview-tab-ClX_Bl94.js","assets/parse-sections-D-35SZIB.js","assets/sandbox-start-errors-BK_aDCyt.js","assets/pair-Ct1xgxut.js","assets/collapsible-B14xMZuR.js","assets/use-copy-DrB0tWuk.js","assets/usage-stats-C-iZo0BZ.js","assets/tool-namespace-Dwob85yl.js","assets/utils-CVEq3hMx.js","assets/markdown-12a9C6gs.js","assets/content-blocks-o63cs2vh.js","assets/mcp-app-renderer-D5couJ6l.js","assets/types-8U8D-Y9v.js","assets/omit-server-managed-metadata-L5IhjRZB.js","assets/use-connection-BT_OOtuG.js","assets/use-mcp-prompts-Bk_g-v-0.js","assets/use-thread-outputs-Pm3V0nbB.js","assets/file-type-icon-CNDz0hBy.js","assets/section-array-field-DC06wjHY.js","assets/blocks-tab-states-Of3CFRB8.js","assets/hosted-reconcile-BRk5mz3x.js","assets/slider-DGqHqKd3.js","assets/index-cE8Cg_AR.js","assets/tooltipContext-BmU0TqD4.js","assets/CategoricalChart-B5fszPCD.js","assets/index-D08mzr4H.js","assets/scroll-area-jAJHvOhj.js","assets/monaco-editor-Cn1TEUmq.js","assets/editor-QJRHEQ16.js","assets/calendar-9d4oM3ql.js","assets/editor-classes-B6F-sROj.js","assets/toggle-group-DErjWYXo.js","assets/active-indicator-CCMhAsc_.js","assets/combobox-fgtxpSsO.js","assets/tabs-CE50d848.js","assets/use-file-configs-DpxzYxst.js","assets/asset-utils-BO-AcYFX.js","assets/match-site-slug-config-D3fUJ6vX.js","assets/sandbox-lifecycle-context-Cuu6DFTF.js","assets/variant-matcher-override-DCs6FrU7.js","assets/use-fast-preview-draft-url-Cqws--qI.js","assets/device-hint-CyMFSeT8.js","assets/alert-CWtTJO7c.js","assets/virtual-mcp-knTda3gw.js","assets/app-preview-url-9Od4s8Sz.js","assets/agent-capabilities-CuOmNgv3.js","assets/preview-source-BsRLGWUP.js","assets/use-task-metadata-DPZ7Y524.js","assets/content-tab-Ce8Q2_t2.js","assets/view-header-CggAPEpA.js","assets/use-cms-publish-actions-BqHNyOA0.js","assets/use-content-sync-B0MN54yQ.js","assets/mustache-BYgEr74H.js","assets/date-utils-CrvIKg-s.js","assets/use-move-blocks-DfaBs3sc.js","assets/empty-state-DKsEkDWT.js","assets/tab-icon-glyph-DQowlddo.js","assets/resolve-tab-icon-BZMbKk3n.js","assets/agent-site-editor-CiaB1f7K.js","assets/site-draft-actions-CMHnwxCd.js","assets/separator-C_6waQwt.js","assets/cms-store-drafts-dVKFaKA7.js","assets/serial-task-queue-CGOeQgpr.js","assets/index-C7lWWhIU.js","assets/input-B1ylvcHV.js","assets/chat-draft-CeM2nWLu.js","assets/use-deco-credits-qwzMk2Ai.js","assets/input-BYA2vxZm.js","assets/suggestion-9_dojs-y.js","assets/use-org-fs-DDvKBG9i.js","assets/question-004-sINsf4GQ.js","assets/feature-paywall-BVeAB8_F.js","assets/plan-ladder-iJPGG0mc.js","assets/add-connection-dialog-sfNoRM_t.js","assets/connection-card-qC58rx0g.js","assets/connection-slug-DgmEtT2x.js","assets/schema-DCIk1LTk.js","assets/connection-form-helpers-9PE7Ghza.js","assets/collection-tabs-6FzXiv6G.js","assets/use-infinite-scroll-wFaFK15q.js","assets/useSuspenseInfiniteQuery-CscGJh0l.js","assets/use-task-board-events-CVDrlP1V.js","assets/input-Bwd_JSM8.css","assets/save-changes-debug-nBi-n9eV.js","assets/site-draft-view-CwjjGmMd.js","assets/agent-site-editor-DDGTF8rc.css","assets/reports-DzbfP0a1.js","assets/reports-Dl0n8WK0.css","assets/route-iWPPipTt.js","assets/use-inbox-feed-lQA3V0xG.js","assets/task-key-BCHdFiOO.js","assets/feedback-DF1F9BRw.js","assets/optimistic-project-sidebar-views-C-XQYFtN.js","assets/use-project-native-view-presence-4sY_IqcV.js","assets/own-accounts-section-BoGn4pOO.js","assets/use-date-fns-locale-BBt-5tGJ.js","assets/use-task-board-items-COv-bhs6.js","assets/config-C_d2w75d.js","assets/project-index-BJwudS3v.js","assets/use-join-requests-BdaV0Rjj.js","assets/thread-route-mCuisQJI.js","assets/use-reports-diagnostic-DYAFraaD.js","assets/connect-layout-DCavpmFh.js","assets/route-DEPx9jGW.js","assets/task-status-1axt5dZB.js","assets/use-main-panel-tabs-Dk8fH1fE.js","assets/use-mcp-tools-CtpSFCmz.js","assets/legacy-main-redirect-D7NT1WBZ.js","assets/preview-dialog-BcxXfQ6o.js","assets/preview-content-BSZZr-mZ.js","assets/file-share-button-Dq-dVjtE.js","assets/file-preview-BQioSlJw.js","assets/home-C-LgRFYa.js","assets/home-overview-BLmq-j06.js","assets/client-icons-CCN4dFtx.js","assets/chart-DXLoDuxi.js","assets/CartesianChart-CQdu8PPi.js","assets/task-route-Be5seRTj.js","assets/ReferenceLine-8Od-_LqW.js","assets/sprints-C1z9xhcL.js","assets/projects-empty-state-DQUhcI6R.js","assets/agent-overview-DK7iRg_t.js","assets/project-tasks-Dn-Gv_TR.js","assets/mock-board-DfUD0CJt.js","assets/use-task-board-analytics-B7geh4Sd.js","assets/use-task-board-prompts-Dx8vM0fR.js","assets/use-automations-BomrPGWU.js","assets/search-toggle-CI-y0p8p.js","assets/use-tags-CoD8SrC4.js","assets/index-RQA3UZ8F.js","assets/index-kwATYZnP.js","assets/use-task-board-item-prs-BrtOevur.js","assets/thread-sheet-body-C1IbmVK3.js","assets/feature-gate-CS539brz.js","assets/project-reports-BfKeLcLP.js","assets/reports-tab-DsenaOP3.js","assets/project-profile-dMAv1_XF.js","assets/agent-site-editor-preview-RW-nzlvn.js","assets/agent-view-guard-H_xpaENl.js","assets/agent-site-editor-content-CxN1Ldoy.js","assets/agent-site-editor-code--mSzyNhn.js","assets/agent-automations-dSGzVGTE.js","assets/automation-list-row-Bp87yYiZ.js","assets/agent-automation-JSDOOiNt.js","assets/select-model-D7HU-f3b.js","assets/build-improve-prompt-doc-BISiPdsN.js","assets/use-debounced-autosave-DsHXF_za.js","assets/jira-icon-DGCOmFp6.js","assets/multi-select-DAJzscc4.js","assets/automation-runs-DiRDWuN3.js","assets/use-id-selection-BGnSfWFf.js","assets/agent-settings-BjOD_o2l.js","assets/context-shell-D7i0aANg.js","assets/require-capability-CulwBmL_.js","assets/access-gate-DSrHE9mR.js","assets/capability-load-error-ByWk_AoZ.js","assets/sections-D1hA-xOU.js","assets/use-ask-in-chat-BvyYDdXE.js","assets/index-DxfUJlA4.js","assets/use-mcp-auth-status-Ck3Se_Y3.js","assets/secret-picker-popVUrUL.js","assets/use-secrets-BwcJJCVK.js","assets/agent-library-BeOICuv4.js","assets/library-tab-tbFrXHgR.js","assets/use-org-repo-syncs-C4JLwrAt.js","assets/folder-icon-U2FEFXsO.js","assets/agent-assets-BOBiAU4U.js","assets/agent-releases-B_K3FIWy.js","assets/agent-hosting-BS_jB6we.js","assets/settings-tab-udmQO91m.js","assets/agent-e2e-DsNy3BsN.js","assets/taskboard-analytics-r6HixYm_.js","assets/time-range-picker-DihnOOBB.js","assets/analytics-sections-DH9U0O99.js","assets/AreaChart-CToSouiR.js","assets/agent-experiments-BmXzB7sO.js","assets/experiments-tab-choice-CbV3SQAK.js","assets/named-rule-view-a6Af9Y_h.js","assets/use-apply-named-rule-Cp8bLYtd.js","assets/agent-calendar-JsZQH9DJ.js","assets/agent-app-B_xuQBe4.js","assets/project-app-view-CEubGD1t.js","assets/connect-source-dialog-MOlb_mGB.js","assets/agent-view-DaSIF8yy.js","assets/agent-file-Y-EO6Btn.js","assets/agent-deck-DrS8cvv6.js","assets/agent-library-file-BLEe6X-g.js","assets/preview-panel-Ce1qZOdd.js","assets/agent-connect-sources-f0poJHtj.js","assets/legacy-agents-deep-C5jspcJW.js","assets/tasks-BWjB_1VS.js","assets/thread-analytics-BoSR9_dC.js","assets/reports-DR2YJPbu.js","assets/library-B8KAYORe.js","assets/plan-CfTunmR6.js","assets/monitoring-z5KlpAiC.js","assets/order-monitor-day-DRh7v9Pq.js","assets/Tooltip-2CGCyakg.js","assets/monitoring-D_tSeZWt.css","assets/discover-DJRtlG9n.js","assets/index-DovyWo-R.js","assets/route-D7DW4Q6o.js","assets/plan-usage-card-CPmF1Mdc.js","assets/index-redirect-CcWBc9jM.js","assets/connection-detail-CnaYuh7u.js","assets/index-CQ63loJV.js","assets/index-B6AqVyRx.js","assets/use-delete-connection-D-UTTC0v.js","assets/monitoring-stats-row-B_RviRp-.js","assets/collection-detail-pdnHCRF6.js","assets/index-BMlrWTB1.js","assets/general-DxPErvh9.js","assets/review-settings-ZkiMBoaj.js","assets/domain-settings-Y_vTNHIA.js","assets/connect-CyzT5SDn.js","assets/api-keys-B4joTgKi.js","assets/tool-set-selector-C4XbxKMC.js","assets/ai-providers-OlLaxP2V.js","assets/infra-billing-DFPWiYwa.js","assets/secrets-DalYwIr1.js","assets/api-keys-CI8mz52i.js","assets/buckets-CC28Un34.js","assets/repositories-ByhK-3bU.js","assets/repositories-BKBt9Cjw.js","assets/synced-repos-lK4skxC9.js","assets/tasks-CdxgNM_V.js","assets/projects-DYDXJVDD.js","assets/members-CZ44ad9P.js","assets/collection-display-button-CRiNqITy.js","assets/role-color-C9uhwzF-.js","assets/roles-CEON3RQs.js","assets/sso-Am4Nf_A1.js","assets/profile-CERW1LgW.js","assets/automations-DMWU0I6x.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/login-DRAz2Byx.js","assets/auth-entry-C-rkFm2s.js","assets/delay-CnY5UFtP.js","assets/auth-split-layout-E78PPbPV.js","assets/cli-auth-success-B188GHrd.js","assets/oauth-callback-Du4CoqhX.js","assets/mcp-oauth-ChfuZkYU.js","assets/auth-qAWEiaXq.js","assets/oauth-consent-DP5dM3Bl.js","assets/layout-B-LTaCR7.js","assets/required-auth-layout-BnfTNype.js","assets/use-deployment-admin-D9sSgOb1.js","assets/users-BNwLmtY6.js","assets/collection-table-wrapper-Dw3f1ge7.js","assets/table-DvZCTg5z.js","assets/ArrowUp-DcYpepHk.js","assets/empty-state-DiGOrU7G.js","assets/search-input-DFXG_UYw.js","assets/SearchMd-2MPq0KPN.js","assets/badge-DtxRsHGH.js","assets/use-debounced-value-CcMMD4Qy.js","assets/admin-fetch-BhTJlAsX.js","assets/orgs-CGfTnYKc.js","assets/label-CsfAEF08.js","assets/select-DQqbq83t.js","assets/index-BdQq_4o_.js","assets/index-D146teOp.js","assets/ChevronUp-DRG0w_P4.js","assets/switch-2cMTOO8e.js","assets/textarea-CpPhDLVU.js","assets/roles-DW32thi2.js","assets/schema-D4ZSsKIV.js","assets/prompts-rGT4H9HS.js","assets/shell-layout-CBX9BtMX.js","assets/Globe04--FaZazgw.js","assets/UserSquare-BJHrMhrM.js","assets/agent-icon-DqjTL3cE.js","assets/AlertCircle-kYtqXGU8.js","assets/Tool01-BTDYOKsB.js","assets/ArrowLeft-B1m5qQi9.js","assets/LinkBroken01-C9GtmpYY.js","assets/ShoppingBag01-DDCYsqx9.js","assets/CheckCircle-B4NfGYxe.js","assets/ChevronSelectorVertical-EqyUOMMk.js","assets/CreditCard01-BLl0RgXC.js","assets/SwitchHorizontal01-D7HAXgYP.js","assets/Key01-D0Pq98hT.js","assets/Minus-eGpg4-RN.js","assets/Monitor01-Su614Ctg.js","assets/Sun-Dvv08Urq.js","assets/Play-D_ph4pZ0.js","assets/Plus-D8rFucQH.js","assets/Trash01-CHCe7_6o.js","assets/Upload01-Q6ECKQXp.js","assets/Users01-DHfg9AEk.js","assets/XClose-BDiB_Nvo.js","assets/Zap-DpvU6Dp2.js","assets/use-project-scope-Cb4T7-Pe.js","assets/repository-binding-CuR-5wbj.js","assets/use-mcp-client-DvDomB9A.js","assets/autosend-_WPHuuuS.js","assets/thread-route-D5E5K-lU.js","assets/command-CtR4gjCr.js","assets/index-DCh3kkGn.js","assets/integration-icon-ChQEBlMz.js","assets/project-icon-BlOLnUr2.js","assets/use-navigate-to-agent-DmfSMV3R.js","assets/thread-intent-pegObLq9.js","assets/watch-sse-pool-CYcZM1HP.js","assets/task-board-DcTNURQy.js","assets/new-project-dialog-C_1Rs0SG.js","assets/repository-picker-DEa_L5X-.js","assets/tooltip-AKf-E49i.js","assets/github-icon-BBNizm_E.js","assets/useInfiniteQuery-WRSkkanY.js","assets/infiniteQueryObserver-uDA4YvYL.js","assets/collection-search-iHJVqUHB.js","assets/use-organization-settings-sxurgilE.js","assets/use-org-sso-CGB_T6WF.js","assets/shell-layout-CE2Eihra.css","assets/onboarding-CNJgq5g8.js","assets/organization-choice-Bntbf3d6.js","assets/reports-onboarding-C3O3uPM5.js","assets/site-url-en5df9c-.js","assets/create-organization-dialog-_VIsUUpV.js","assets/form-BhXakrt_.js","assets/companion-mcps-section-CMxxXZB8.js","assets/use-connect-companion-CB7F6AWc.js","assets/companions-core-DhUD88pR.js","assets/metadata-D72DunRR.js","assets/github-repo-scope-C58hYmYC.js","assets/icon-button-muPqJd-h.js","assets/useQueries-BbhbAWNG.js","assets/authenticate-and-persist-oauth-D7iMHNSW.js","assets/mcp-oauth-BU_Qloaj.js","assets/track-ClB7tKVt.js","assets/extract-connection-data-CTb_9Cpr.js","assets/connection-CZHWvxVM.js","assets/url-slug-ihGFL5bo.js","assets/self-tool-result-8OxPN9Nm.js","assets/site-error-Da6iapvu.js","assets/choose-editor-DOrF20ax.js","assets/site-editor-CWVoX5OY.js","assets/chat-context-aSjAR9mm.js","assets/use-entitlements-BKF4jYfc.js","assets/use-ai-providers-BrqJh5BT.js","assets/use-decopilot-events-Dc1L96mp.js","assets/index-8ANyj4B7.js","assets/use-mobile-BgN1E82d.js","assets/use-sidebar-collapsed-B34u6RwD.js","assets/use-chat-layout-state-Be9vIJ9A.js","assets/toolbar-icon-button-CTRAa2ng.js","assets/sheet-B2jsXlHJ.js","assets/resizable-G0IV9sBv.js","assets/index-A822oipr.js","assets/core.esm-DkzVh4mV.js","assets/sortable.esm-BHALCXRV.js","assets/context-menu-CmlGLO8r.js","assets/project-apps-sFKq8oaX.js","assets/use-recent-apps-DD97o_H1.js","assets/blocks-preview-workspace-context-BoHWp5NJ.js","assets/site-editor-toast-CIOA7Zq3.js","assets/use-voice-input-DmZaOhTZ.js","assets/popover-BQnTqyWU.js","assets/drawer-ChCkx76W.js","assets/index-DhM4mrtt.js","assets/checkbox-CBfkrmis.js","assets/ai-providers-logos-DD3qZ33J.js","assets/openai-compatible-presets-BKGfVqEx.js","assets/use-blocks-v8-project-BPQNHFav.js","assets/sandbox-url-D3mC8qhT.js","assets/utils-KeMhVvdQ.js","assets/use-sandbox-events-CdAdPYjL.js","assets/sandbox-git-api-DcqI6XE4.js","assets/preview-tab-DTmM7FWc.js","assets/parse-sections-BhaTg9vA.js","assets/sandbox-start-errors-BK_aDCyt.js","assets/pair-h0916MQd.js","assets/collapsible-C6tkGF0M.js","assets/use-copy-CtSedmtg.js","assets/usage-stats-CVX23WNU.js","assets/tool-namespace-BQSaNq7N.js","assets/utils-CVEq3hMx.js","assets/markdown-CPuTm6Mv.js","assets/content-blocks-o63cs2vh.js","assets/mcp-app-renderer-Cigj7X9N.js","assets/types-BQOtvCBo.js","assets/omit-server-managed-metadata-L5IhjRZB.js","assets/use-connection-CECJF8rf.js","assets/use-mcp-prompts-CgDM8qHG.js","assets/use-thread-outputs-X5IsW797.js","assets/file-type-icon-Bo3Nsgdh.js","assets/section-array-field-ClWKGp_4.js","assets/blocks-tab-states-2A_KUVRA.js","assets/hosted-reconcile-C9_-UERm.js","assets/slider-84yNNCUP.js","assets/index-Bcy7_FA1.js","assets/tooltipContext-C6xZbBgY.js","assets/CategoricalChart-Bp-vLaQf.js","assets/index-GYpV5EH9.js","assets/scroll-area-Dc2A2LkE.js","assets/monaco-editor-XS1Vx7aB.js","assets/editor-BKO3Ouyu.js","assets/calendar-gF784tOB.js","assets/editor-classes-BNXGx3Ep.js","assets/toggle-group-D9bXIbAb.js","assets/active-indicator-CCMhAsc_.js","assets/combobox-DqTAA7CX.js","assets/tabs-BzwzpfZ1.js","assets/use-file-configs-D7-mFpqA.js","assets/asset-utils-Cekn7DV3.js","assets/match-site-slug-config-D3fUJ6vX.js","assets/sandbox-lifecycle-context-BbXRjeM5.js","assets/variant-matcher-override-DLQRivi9.js","assets/use-fast-preview-draft-url-TUtYOptx.js","assets/device-hint-CdtW8Ayx.js","assets/alert-Cddl0pAs.js","assets/virtual-mcp-YmAa-VVd.js","assets/app-preview-url-9Od4s8Sz.js","assets/agent-capabilities-C80Nj8dH.js","assets/preview-source-BsRLGWUP.js","assets/use-task-metadata-hgLXNv36.js","assets/content-tab-CxWiT9yK.js","assets/view-header-cnfShdRT.js","assets/use-cms-publish-actions-_yzMD1wJ.js","assets/use-content-sync-D6gXnizV.js","assets/mustache-ByRkTjky.js","assets/date-utils-CrvIKg-s.js","assets/use-move-blocks-CPMJkp5h.js","assets/empty-state-ajQCApN0.js","assets/tab-icon-glyph-lzQzl_Ov.js","assets/resolve-tab-icon-73RgcuQe.js","assets/agent-site-editor-gGRvmvu9.js","assets/site-draft-actions-CD85gRfI.js","assets/separator-C0H8Yj6d.js","assets/cms-store-drafts-CSMnfrKb.js","assets/serial-task-queue-CGOeQgpr.js","assets/index-n9xCS6Sf.js","assets/input-BDAmWj4c.js","assets/chat-draft-C4Ql1o7U.js","assets/use-deco-credits-C6qbWrOQ.js","assets/input-COtL628i.js","assets/suggestion-C3enCUG8.js","assets/use-org-fs-BWA2rFQC.js","assets/question-004-sINsf4GQ.js","assets/feature-paywall-DbaCusI2.js","assets/plan-ladder-BLc0_1i8.js","assets/add-connection-dialog-Bh0vHlQ5.js","assets/connection-card-Dt4OQ0Zk.js","assets/connection-slug-BQwcAWfG.js","assets/schema-DyZV-W0g.js","assets/connection-form-helpers-KX0UMFtC.js","assets/collection-tabs-Trcf-II9.js","assets/use-infinite-scroll-Z_9MLZyx.js","assets/useSuspenseInfiniteQuery-B1s2URZC.js","assets/use-task-board-events-CGZxY00s.js","assets/input-Bwd_JSM8.css","assets/save-changes-debug-nBi-n9eV.js","assets/site-draft-view-D0hJTk9N.js","assets/agent-site-editor-DDGTF8rc.css","assets/reports-B5SaRV3H.js","assets/reports-Dl0n8WK0.css","assets/route-DyaXyBfS.js","assets/use-inbox-feed-RrCfNvIm.js","assets/task-key-BCHdFiOO.js","assets/feedback-CVUSSdB5.js","assets/optimistic-project-sidebar-views-BF6tqK9w.js","assets/use-project-native-view-presence-CwgTlxOv.js","assets/own-accounts-section-Dv_Ox_cI.js","assets/use-date-fns-locale-DQTvoMF-.js","assets/use-task-board-items-BcL-6L6N.js","assets/config-BpJVAl-p.js","assets/project-index-C12cl71J.js","assets/use-join-requests-CANHKzNj.js","assets/thread-route-DORnlP1l.js","assets/use-reports-diagnostic-BA9L8p6c.js","assets/connect-layout-atO8SWTe.js","assets/route-BhRhH95H.js","assets/task-status-CxLWWnTs.js","assets/use-main-panel-tabs-DA6Ypr8r.js","assets/use-mcp-tools-mI5K7YKF.js","assets/legacy-main-redirect-KlovZkVM.js","assets/preview-dialog-geLovY3F.js","assets/preview-content-DHz0okBk.js","assets/file-share-button-B1R4GS_L.js","assets/file-preview-CO8Jx_5T.js","assets/home-CppOBOPg.js","assets/home-overview-6RI8kIqs.js","assets/client-icons-CGEm3mRa.js","assets/chart-2s7SvZtT.js","assets/CartesianChart-BfCEFz3y.js","assets/task-route-DfbZq1yE.js","assets/ReferenceLine-BsZk9TgE.js","assets/sprints-C1z9xhcL.js","assets/projects-empty-state-B_-RYmNY.js","assets/agent-overview-BcgCBEmB.js","assets/project-tasks-CAr2Cqy5.js","assets/mock-board-Bsls4MQk.js","assets/use-task-board-analytics-tpDvOzAs.js","assets/use-task-board-prompts-B9dDmO_e.js","assets/use-automations-B64sqUmg.js","assets/search-toggle-B9QbSQeA.js","assets/use-tags-0YxcWwJI.js","assets/index-BRwiTdyd.js","assets/index-878qqrH2.js","assets/use-task-board-item-prs-B6YW8nsa.js","assets/thread-sheet-body-BFBUt-Sx.js","assets/feature-gate-DReJia4Z.js","assets/project-reports-AxUmLNIH.js","assets/reports-tab-BU0ZPXc5.js","assets/project-profile-dMAv1_XF.js","assets/agent-site-editor-preview-DVAXUJER.js","assets/agent-view-guard-Bppi7Mra.js","assets/agent-site-editor-content-DwQjPdJR.js","assets/agent-site-editor-code-CLO4vASe.js","assets/agent-automations-BOxoQlGs.js","assets/automation-list-row-guzwZg5A.js","assets/agent-automation-C1Vdho1R.js","assets/select-model-DrY_3vXN.js","assets/build-improve-prompt-doc--GJGk9lj.js","assets/use-debounced-autosave-BLJ3k7wG.js","assets/jira-icon-CJhoZQuc.js","assets/multi-select-C2R3RZPE.js","assets/automation-runs-BHP_sOU-.js","assets/use-id-selection-JEuFRU8t.js","assets/agent-settings-CxJPBxUl.js","assets/context-shell-PkAxZmyt.js","assets/require-capability-s4T8ky9G.js","assets/access-gate-BjRwuLrP.js","assets/capability-load-error-gokttFVD.js","assets/sections-BVT_1GZf.js","assets/use-ask-in-chat-CtKzpyFU.js","assets/index-QDvBZCSy.js","assets/use-mcp-auth-status-CMC6AisX.js","assets/secret-picker-DmxIms9y.js","assets/use-secrets-rjK8WMv5.js","assets/agent-library-CrZB4N_E.js","assets/library-tab-DdqY20-1.js","assets/use-org-repo-syncs-CTHMawzN.js","assets/folder-icon-DHVgg162.js","assets/agent-assets-BZWSLrfd.js","assets/agent-releases-aYJGzx-T.js","assets/agent-hosting-vCUxyXYf.js","assets/settings-tab-DWTMFT0X.js","assets/agent-e2e-CFF1rulz.js","assets/taskboard-analytics-Cmr5hCm9.js","assets/time-range-picker-CO070soZ.js","assets/analytics-sections-DFGgGKah.js","assets/AreaChart-DDNkWSZu.js","assets/agent-experiments-ui7FfvYG.js","assets/experiments-tab-choice-BUQKBcCh.js","assets/named-rule-view-D9J5jfxv.js","assets/use-apply-named-rule-BVdRelp-.js","assets/agent-calendar-CdFd9RbD.js","assets/agent-app-IWHPMxEK.js","assets/project-app-view-BTrJDLFt.js","assets/connect-source-dialog-CpTTYi_l.js","assets/agent-view-BWBpZVUF.js","assets/agent-file-Cq3onOpE.js","assets/agent-deck-CtBABaGT.js","assets/agent-library-file-BOxLy0sn.js","assets/preview-panel-5qTld6rM.js","assets/agent-connect-sources-CEmlztKl.js","assets/legacy-agents-deep-B3LnX3dE.js","assets/tasks-140YlmT4.js","assets/thread-analytics-9huoP8m_.js","assets/reports-D-qIr9kO.js","assets/library-B2C1_FfB.js","assets/plan-GL1imSbx.js","assets/monitoring-B3WSTrVO.js","assets/order-monitor-day-Cs26_K8M.js","assets/Tooltip-CPoCGNVz.js","assets/monitoring-D_tSeZWt.css","assets/discover-DylE9QvC.js","assets/index-B6_lV1vO.js","assets/route-CSMzYXoN.js","assets/plan-usage-card-DWVVT2WQ.js","assets/index-redirect-BUCPvmVN.js","assets/connection-detail-weWLbsDk.js","assets/index-BlAiq0AL.js","assets/index-2LwpmkET.js","assets/use-delete-connection-Cw1Qu4uu.js","assets/monitoring-stats-row-CuWemrnJ.js","assets/collection-detail-EKABwIVL.js","assets/index-TupjNSVk.js","assets/general-BvxlAOrY.js","assets/review-settings-CuOWj38_.js","assets/domain-settings-BuPEVvED.js","assets/connect-DjUzAPce.js","assets/api-keys-CyRPnxt1.js","assets/tool-set-selector-DM-ejAZy.js","assets/ai-providers-JXuyHqZ0.js","assets/infra-billing-Bql8vBuZ.js","assets/secrets-AGU75gav.js","assets/api-keys-G9chtY31.js","assets/buckets-B6SQeYKj.js","assets/repositories-DcYP84R5.js","assets/repositories-EzK0gp8T.js","assets/synced-repos-bmkfQV3e.js","assets/tasks-CzV2b6I-.js","assets/projects-APtBmhWY.js","assets/members-BDBxWp17.js","assets/collection-display-button-CiexA8e6.js","assets/role-color-DsX-V5ks.js","assets/roles-Dx9qwbnQ.js","assets/sso-6pnL0iJa.js","assets/profile-DDg9c8sx.js","assets/automations-BgweD4e5.js"])))=>i.map(i=>d[i]);
2
2
  function bU(t,e){for(var o=0;o<e.length;o++){const a=e[o];if(typeof a!="string"&&!Array.isArray(a)){for(const n in a)if(n!=="default"&&!(n in t)){const r=Object.getOwnPropertyDescriptor(a,n);r&&Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>a[n]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))a(n);new MutationObserver(n=>{for(const r of n)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&a(i)}).observe(document,{childList:!0,subtree:!0});function o(n){const r={};return n.integrity&&(r.integrity=n.integrity),n.referrerPolicy&&(r.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?r.credentials="include":n.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function a(n){if(n.ep)return;n.ep=!0;const r=o(n);fetch(n.href,r)}})();var lxe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Gl(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var WS={exports:{}},Uu={};var _A;function yU(){if(_A)return Uu;_A=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function o(a,n,r){var i=null;if(r!==void 0&&(i=""+r),n.key!==void 0&&(i=""+n.key),"key"in n){r={};for(var c in n)c!=="key"&&(r[c]=n[c])}else r=n;return n=r.ref,{$$typeof:t,type:a,key:i,ref:n!==void 0?n:null,props:r}}return Uu.Fragment=e,Uu.jsx=o,Uu.jsxs=o,Uu}var PA;function SU(){return PA||(PA=1,WS.exports=yU()),WS.exports}var y=SU(),KS={exports:{}},dt={};var AA;function wU(){if(AA)return dt;AA=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),r=Symbol.for("react.consumer"),i=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),h=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,T={};function x(M,G,V){this.props=M,this.context=G,this.refs=T,this.updater=V||b}x.prototype.isReactComponent={},x.prototype.setState=function(M,G){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,G,"setState")},x.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function k(){}k.prototype=x.prototype;function C(M,G,V){this.props=M,this.context=G,this.refs=T,this.updater=V||b}var E=C.prototype=new k;E.constructor=C,S(E,x.prototype),E.isPureReactComponent=!0;var P=Array.isArray;function D(){}var R={H:null,A:null,T:null,S:null},O=Object.prototype.hasOwnProperty;function I(M,G,V){var L=V.ref;return{$$typeof:t,type:M,key:G,ref:L!==void 0?L:null,props:V}}function q(M,G){return I(M.type,G,M.props)}function B(M){return typeof M=="object"&&M!==null&&M.$$typeof===t}function j(M){var G={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(V){return G[V]})}var F=/\/+/g;function W(M,G){return typeof M=="object"&&M!==null&&M.key!=null?j(""+M.key):G.toString(36)}function oe(M){switch(M.status){case"fulfilled":return M.value;case"rejected":throw M.reason;default:switch(typeof M.status=="string"?M.then(D,D):(M.status="pending",M.then(function(G){M.status==="pending"&&(M.status="fulfilled",M.value=G)},function(G){M.status==="pending"&&(M.status="rejected",M.reason=G)})),M.status){case"fulfilled":return M.value;case"rejected":throw M.reason}}throw M}function H(M,G,V,L,z){var X=typeof M;(X==="undefined"||X==="boolean")&&(M=null);var de=!1;if(M===null)de=!0;else switch(X){case"bigint":case"string":case"number":de=!0;break;case"object":switch(M.$$typeof){case t:case e:de=!0;break;case m:return de=M._init,H(de(M._payload),G,V,L,z)}}if(de)return z=z(M),de=L===""?"."+W(M,0):L,P(z)?(V="",de!=null&&(V=de.replace(F,"$&/")+"/"),H(z,G,V,"",function(qe){return qe})):z!=null&&(B(z)&&(z=q(z,V+(z.key==null||M&&M.key===z.key?"":(""+z.key).replace(F,"$&/")+"/")+de)),G.push(z)),1;de=0;var ue=L===""?".":L+":";if(P(M))for(var Ee=0;Ee<M.length;Ee++)L=M[Ee],X=ue+W(L,Ee),de+=H(L,G,V,X,z);else if(Ee=v(M),typeof Ee=="function")for(M=Ee.call(M),Ee=0;!(L=M.next()).done;)L=L.value,X=ue+W(L,Ee++),de+=H(L,G,V,X,z);else if(X==="object"){if(typeof M.then=="function")return H(oe(M),G,V,L,z);throw G=String(M),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return de}function K(M,G,V){if(M==null)return M;var L=[],z=0;return H(M,L,"","",function(X){return G.call(V,X,z++)}),L}function J(M){if(M._status===-1){var G=M._result;G=G(),G.then(function(V){(M._status===0||M._status===-1)&&(M._status=1,M._result=V)},function(V){(M._status===0||M._status===-1)&&(M._status=2,M._result=V)}),M._status===-1&&(M._status=0,M._result=G)}if(M._status===1)return M._result.default;throw M._result}var se=typeof reportError=="function"?reportError:function(M){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=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(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",M);return}console.error(M)},Q={map:K,forEach:function(M,G,V){K(M,function(){G.apply(this,arguments)},V)},count:function(M){var G=0;return K(M,function(){G++}),G},toArray:function(M){return K(M,function(G){return G})||[]},only:function(M){if(!B(M))throw Error("React.Children.only expected to receive a single React element child.");return M}};return dt.Activity=h,dt.Children=Q,dt.Component=x,dt.Fragment=o,dt.Profiler=n,dt.PureComponent=C,dt.StrictMode=a,dt.Suspense=d,dt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=R,dt.__COMPILER_RUNTIME={__proto__:null,c:function(M){return R.H.useMemoCache(M)}},dt.cache=function(M){return function(){return M.apply(null,arguments)}},dt.cacheSignal=function(){return null},dt.cloneElement=function(M,G,V){if(M==null)throw Error("The argument must be a React element, but you passed "+M+".");var L=S({},M.props),z=M.key;if(G!=null)for(X in G.key!==void 0&&(z=""+G.key),G)!O.call(G,X)||X==="key"||X==="__self"||X==="__source"||X==="ref"&&G.ref===void 0||(L[X]=G[X]);var X=arguments.length-2;if(X===1)L.children=V;else if(1<X){for(var de=Array(X),ue=0;ue<X;ue++)de[ue]=arguments[ue+2];L.children=de}return I(M.type,z,L)},dt.createContext=function(M){return M={$$typeof:i,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null},M.Provider=M,M.Consumer={$$typeof:r,_context:M},M},dt.createElement=function(M,G,V){var L,z={},X=null;if(G!=null)for(L in G.key!==void 0&&(X=""+G.key),G)O.call(G,L)&&L!=="key"&&L!=="__self"&&L!=="__source"&&(z[L]=G[L]);var de=arguments.length-2;if(de===1)z.children=V;else if(1<de){for(var ue=Array(de),Ee=0;Ee<de;Ee++)ue[Ee]=arguments[Ee+2];z.children=ue}if(M&&M.defaultProps)for(L in de=M.defaultProps,de)z[L]===void 0&&(z[L]=de[L]);return I(M,X,z)},dt.createRef=function(){return{current:null}},dt.forwardRef=function(M){return{$$typeof:c,render:M}},dt.isValidElement=B,dt.lazy=function(M){return{$$typeof:m,_payload:{_status:-1,_result:M},_init:J}},dt.memo=function(M,G){return{$$typeof:u,type:M,compare:G===void 0?null:G}},dt.startTransition=function(M){var G=R.T,V={};R.T=V;try{var L=M(),z=R.S;z!==null&&z(V,L),typeof L=="object"&&L!==null&&typeof L.then=="function"&&L.then(D,se)}catch(X){se(X)}finally{G!==null&&V.types!==null&&(G.types=V.types),R.T=G}},dt.unstable_useCacheRefresh=function(){return R.H.useCacheRefresh()},dt.use=function(M){return R.H.use(M)},dt.useActionState=function(M,G,V){return R.H.useActionState(M,G,V)},dt.useCallback=function(M,G){return R.H.useCallback(M,G)},dt.useContext=function(M){return R.H.useContext(M)},dt.useDebugValue=function(){},dt.useDeferredValue=function(M,G){return R.H.useDeferredValue(M,G)},dt.useEffect=function(M,G){return R.H.useEffect(M,G)},dt.useEffectEvent=function(M){return R.H.useEffectEvent(M)},dt.useId=function(){return R.H.useId()},dt.useImperativeHandle=function(M,G,V){return R.H.useImperativeHandle(M,G,V)},dt.useInsertionEffect=function(M,G){return R.H.useInsertionEffect(M,G)},dt.useLayoutEffect=function(M,G){return R.H.useLayoutEffect(M,G)},dt.useMemo=function(M,G){return R.H.useMemo(M,G)},dt.useOptimistic=function(M,G){return R.H.useOptimistic(M,G)},dt.useReducer=function(M,G,V){return R.H.useReducer(M,G,V)},dt.useRef=function(M){return R.H.useRef(M)},dt.useState=function(M){return R.H.useState(M)},dt.useSyncExternalStore=function(M,G,V){return R.H.useSyncExternalStore(M,G,V)},dt.useTransition=function(){return R.H.useTransition()},dt.version="19.2.6",dt}var RA;function Hi(){return RA||(RA=1,KS.exports=wU()),KS.exports}var A=Hi();const ee=Gl(A),ck=bU({__proto__:null,default:ee},[A]);var YS={exports:{}},$u={},ZS={exports:{}},QS={};var DA;function xU(){return DA||(DA=1,(function(t){function e(H,K){var J=H.length;H.push(K);e:for(;0<J;){var se=J-1>>>1,Q=H[se];if(0<n(Q,K))H[se]=K,H[J]=Q,J=se;else break e}}function o(H){return H.length===0?null:H[0]}function a(H){if(H.length===0)return null;var K=H[0],J=H.pop();if(J!==K){H[0]=J;e:for(var se=0,Q=H.length,M=Q>>>1;se<M;){var G=2*(se+1)-1,V=H[G],L=G+1,z=H[L];if(0>n(V,J))L<Q&&0>n(z,V)?(H[se]=z,H[L]=J,se=L):(H[se]=V,H[G]=J,se=G);else if(L<Q&&0>n(z,J))H[se]=z,H[L]=J,se=L;else break e}}return K}function n(H,K){var J=H.sortIndex-K.sortIndex;return J!==0?J:H.id-K.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var r=performance;t.unstable_now=function(){return r.now()}}else{var i=Date,c=i.now();t.unstable_now=function(){return i.now()-c}}var d=[],u=[],m=1,h=null,f=3,v=!1,b=!1,S=!1,T=!1,x=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null;function E(H){for(var K=o(u);K!==null;){if(K.callback===null)a(u);else if(K.startTime<=H)a(u),K.sortIndex=K.expirationTime,e(d,K);else break;K=o(u)}}function P(H){if(S=!1,E(H),!b)if(o(d)!==null)b=!0,D||(D=!0,j());else{var K=o(u);K!==null&&oe(P,K.startTime-H)}}var D=!1,R=-1,O=5,I=-1;function q(){return T?!0:!(t.unstable_now()-I<O)}function B(){if(T=!1,D){var H=t.unstable_now();I=H;var K=!0;try{e:{b=!1,S&&(S=!1,k(R),R=-1),v=!0;var J=f;try{t:{for(E(H),h=o(d);h!==null&&!(h.expirationTime>H&&q());){var se=h.callback;if(typeof se=="function"){h.callback=null,f=h.priorityLevel;var Q=se(h.expirationTime<=H);if(H=t.unstable_now(),typeof Q=="function"){h.callback=Q,E(H),K=!0;break t}h===o(d)&&a(d),E(H)}else a(d);h=o(d)}if(h!==null)K=!0;else{var M=o(u);M!==null&&oe(P,M.startTime-H),K=!1}}break e}finally{h=null,f=J,v=!1}K=void 0}}finally{K?j():D=!1}}}var j;if(typeof C=="function")j=function(){C(B)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,W=F.port2;F.port1.onmessage=B,j=function(){W.postMessage(null)}}else j=function(){x(B,0)};function oe(H,K){R=x(function(){H(t.unstable_now())},K)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(H){H.callback=null},t.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<H?Math.floor(1e3/H):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_next=function(H){switch(f){case 1:case 2:case 3:var K=3;break;default:K=f}var J=f;f=K;try{return H()}finally{f=J}},t.unstable_requestPaint=function(){T=!0},t.unstable_runWithPriority=function(H,K){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var J=f;f=H;try{return K()}finally{f=J}},t.unstable_scheduleCallback=function(H,K,J){var se=t.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?se+J:se):J=se,H){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=J+Q,H={id:m++,callback:K,priorityLevel:H,startTime:J,expirationTime:Q,sortIndex:-1},J>se?(H.sortIndex=J,e(u,H),o(d)===null&&H===o(u)&&(S?(k(R),R=-1):S=!0,oe(P,J-se))):(H.sortIndex=Q,e(d,H),b||v||(b=!0,D||(D=!0,j()))),H},t.unstable_shouldYield=q,t.unstable_wrapCallback=function(H){var K=f;return function(){var J=f;f=K;try{return H.apply(this,arguments)}finally{f=J}}}})(QS)),QS}var OA;function TU(){return OA||(OA=1,ZS.exports=xU()),ZS.exports}var JS={exports:{}},Ma={};var NA;function kU(){if(NA)return Ma;NA=1;var t=Hi();function e(d){var u="https://react.dev/errors/"+d;if(1<arguments.length){u+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)u+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+d+"; visit "+u+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var a={d:{f:o,r:function(){throw Error(e(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},n=Symbol.for("react.portal");function r(d,u,m){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:n,key:h==null?null:""+h,children:d,containerInfo:u,implementation:m}}var i=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(d,u){if(d==="font")return"";if(typeof u=="string")return u==="use-credentials"?u:""}return Ma.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,Ma.createPortal=function(d,u){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)throw Error(e(299));return r(d,u,null,m)},Ma.flushSync=function(d){var u=i.T,m=a.p;try{if(i.T=null,a.p=2,d)return d()}finally{i.T=u,a.p=m,a.d.f()}},Ma.preconnect=function(d,u){typeof d=="string"&&(u?(u=u.crossOrigin,u=typeof u=="string"?u==="use-credentials"?u:"":void 0):u=null,a.d.C(d,u))},Ma.prefetchDNS=function(d){typeof d=="string"&&a.d.D(d)},Ma.preinit=function(d,u){if(typeof d=="string"&&u&&typeof u.as=="string"){var m=u.as,h=c(m,u.crossOrigin),f=typeof u.integrity=="string"?u.integrity:void 0,v=typeof u.fetchPriority=="string"?u.fetchPriority:void 0;m==="style"?a.d.S(d,typeof u.precedence=="string"?u.precedence:void 0,{crossOrigin:h,integrity:f,fetchPriority:v}):m==="script"&&a.d.X(d,{crossOrigin:h,integrity:f,fetchPriority:v,nonce:typeof u.nonce=="string"?u.nonce:void 0})}},Ma.preinitModule=function(d,u){if(typeof d=="string")if(typeof u=="object"&&u!==null){if(u.as==null||u.as==="script"){var m=c(u.as,u.crossOrigin);a.d.M(d,{crossOrigin:m,integrity:typeof u.integrity=="string"?u.integrity:void 0,nonce:typeof u.nonce=="string"?u.nonce:void 0})}}else u==null&&a.d.M(d)},Ma.preload=function(d,u){if(typeof d=="string"&&typeof u=="object"&&u!==null&&typeof u.as=="string"){var m=u.as,h=c(m,u.crossOrigin);a.d.L(d,m,{crossOrigin:h,integrity:typeof u.integrity=="string"?u.integrity:void 0,nonce:typeof u.nonce=="string"?u.nonce:void 0,type:typeof u.type=="string"?u.type:void 0,fetchPriority:typeof u.fetchPriority=="string"?u.fetchPriority:void 0,referrerPolicy:typeof u.referrerPolicy=="string"?u.referrerPolicy:void 0,imageSrcSet:typeof u.imageSrcSet=="string"?u.imageSrcSet:void 0,imageSizes:typeof u.imageSizes=="string"?u.imageSizes:void 0,media:typeof u.media=="string"?u.media:void 0})}},Ma.preloadModule=function(d,u){if(typeof d=="string")if(u){var m=c(u.as,u.crossOrigin);a.d.m(d,{as:typeof u.as=="string"&&u.as!=="script"?u.as:void 0,crossOrigin:m,integrity:typeof u.integrity=="string"?u.integrity:void 0})}else a.d.m(d)},Ma.requestFormReset=function(d){a.d.r(d)},Ma.unstable_batchedUpdates=function(d,u){return d(u)},Ma.useFormState=function(d,u,m){return i.H.useFormState(d,u,m)},Ma.useFormStatus=function(){return i.H.useHostTransitionStatus()},Ma.version="19.2.6",Ma}var MA;function AM(){if(MA)return JS.exports;MA=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),JS.exports=kU(),JS.exports}var IA;function EU(){if(IA)return $u;IA=1;var t=TU(),e=Hi(),o=AM();function a(s){var l="https://react.dev/errors/"+s;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)l+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+s+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)}function r(s){var l=s,p=s;if(s.alternate)for(;l.return;)l=l.return;else{s=l;do l=s,(l.flags&4098)!==0&&(p=l.return),s=l.return;while(s)}return l.tag===3?p:null}function i(s){if(s.tag===13){var l=s.memoizedState;if(l===null&&(s=s.alternate,s!==null&&(l=s.memoizedState)),l!==null)return l.dehydrated}return null}function c(s){if(s.tag===31){var l=s.memoizedState;if(l===null&&(s=s.alternate,s!==null&&(l=s.memoizedState)),l!==null)return l.dehydrated}return null}function d(s){if(r(s)!==s)throw Error(a(188))}function u(s){var l=s.alternate;if(!l){if(l=r(s),l===null)throw Error(a(188));return l!==s?null:s}for(var p=s,g=l;;){var w=p.return;if(w===null)break;var _=w.alternate;if(_===null){if(g=w.return,g!==null){p=g;continue}break}if(w.child===_.child){for(_=w.child;_;){if(_===p)return d(w),s;if(_===g)return d(w),l;_=_.sibling}throw Error(a(188))}if(p.return!==g.return)p=w,g=_;else{for(var N=!1,U=w.child;U;){if(U===p){N=!0,p=w,g=_;break}if(U===g){N=!0,g=w,p=_;break}U=U.sibling}if(!N){for(U=_.child;U;){if(U===p){N=!0,p=_,g=w;break}if(U===g){N=!0,g=_,p=w;break}U=U.sibling}if(!N)throw Error(a(189))}}if(p.alternate!==g)throw Error(a(190))}if(p.tag!==3)throw Error(a(188));return p.stateNode.current===p?s:l}function m(s){var l=s.tag;if(l===5||l===26||l===27||l===6)return s;for(s=s.child;s!==null;){if(l=m(s),l!==null)return l;s=s.sibling}return null}var h=Object.assign,f=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),k=Symbol.for("react.consumer"),C=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),I=Symbol.for("react.activity"),q=Symbol.for("react.memo_cache_sentinel"),B=Symbol.iterator;function j(s){return s===null||typeof s!="object"?null:(s=B&&s[B]||s["@@iterator"],typeof s=="function"?s:null)}var F=Symbol.for("react.client.reference");function W(s){if(s==null)return null;if(typeof s=="function")return s.$$typeof===F?null:s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case S:return"Fragment";case x:return"Profiler";case T:return"StrictMode";case P:return"Suspense";case D:return"SuspenseList";case I:return"Activity"}if(typeof s=="object")switch(s.$$typeof){case b:return"Portal";case C:return s.displayName||"Context";case k:return(s._context.displayName||"Context")+".Consumer";case E:var l=s.render;return s=s.displayName,s||(s=l.displayName||l.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case R:return l=s.displayName||null,l!==null?l:W(s.type)||"Memo";case O:l=s._payload,s=s._init;try{return W(s(l))}catch{}}return null}var oe=Array.isArray,H=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},se=[],Q=-1;function M(s){return{current:s}}function G(s){0>Q||(s.current=se[Q],se[Q]=null,Q--)}function V(s,l){Q++,se[Q]=s.current,s.current=l}var L=M(null),z=M(null),X=M(null),de=M(null);function ue(s,l){switch(V(X,l),V(z,s),V(L,null),l.nodeType){case 9:case 11:s=(s=l.documentElement)&&(s=s.namespaceURI)?Z1(s):0;break;default:if(s=l.tagName,l=l.namespaceURI)l=Z1(l),s=Q1(l,s);else switch(s){case"svg":s=1;break;case"math":s=2;break;default:s=0}}G(L),V(L,s)}function Ee(){G(L),G(z),G(X)}function qe(s){s.memoizedState!==null&&V(de,s);var l=L.current,p=Q1(l,s.type);l!==p&&(V(z,s),V(L,p))}function Z(s){z.current===s&&(G(L),G(z)),de.current===s&&(G(de),Fu._currentValue=J)}var ne,ve;function ie(s){if(ne===void 0)try{throw Error()}catch(p){var l=p.stack.trim().match(/\n( *(at )?)/);ne=l&&l[1]||"",ve=-1<p.stack.indexOf(`
3
3
  at`)?" (<anonymous>)":-1<p.stack.indexOf("@")?"@unknown:0:0":""}return`
4
4
  `+ne+s+ve}var Te=!1;function _e(s,l){if(!s||Te)return"";Te=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var g={DetermineComponentFrameRoot:function(){try{if(l){var ke=function(){throw Error()};if(Object.defineProperty(ke.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ke,[])}catch(fe){var he=fe}Reflect.construct(s,[],ke)}else{try{ke.call()}catch(fe){he=fe}s.call(ke.prototype)}}else{try{throw Error()}catch(fe){he=fe}(ke=s())&&typeof ke.catch=="function"&&ke.catch(function(){})}}catch(fe){if(fe&&he&&typeof fe.stack=="string")return[fe.stack,he.stack]}return[null,null]}};g.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var w=Object.getOwnPropertyDescriptor(g.DetermineComponentFrameRoot,"name");w&&w.configurable&&Object.defineProperty(g.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var _=g.DetermineComponentFrameRoot(),N=_[0],U=_[1];if(N&&U){var te=N.split(`
@@ -52,7 +52,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
52
52
  || ${O} === "boolean" || ${D} === null`).assign(I,(0,a._)`[${D}]`)}}}function f({gen:k,parentData:C,parentDataProperty:E},P){k.if((0,a._)`${C} !== undefined`,()=>k.assign((0,a._)`${C}[${E}]`,P))}function v(k,C,E,P=r.Correct){const D=P===r.Correct?a.operators.EQ:a.operators.NEQ;let R;switch(k){case"null":return(0,a._)`${C} ${D} null`;case"array":R=(0,a._)`Array.isArray(${C})`;break;case"object":R=(0,a._)`${C} && typeof ${C} == "object" && !Array.isArray(${C})`;break;case"integer":R=O((0,a._)`!(${C} % 1) && !isNaN(${C})`);break;case"number":R=O();break;default:return(0,a._)`typeof ${C} ${D} ${k}`}return P===r.Correct?R:(0,a.not)(R);function O(I=a.nil){return(0,a.and)((0,a._)`typeof ${C} == "number"`,I,E?(0,a._)`isFinite(${C})`:a.nil)}}xa.checkDataType=v;function b(k,C,E,P){if(k.length===1)return v(k[0],C,E,P);let D;const R=(0,n.toHash)(k);if(R.array&&R.object){const O=(0,a._)`typeof ${C} != "object"`;D=R.null?O:(0,a._)`!${C} || ${O}`,delete R.null,delete R.array,delete R.object}else D=a.nil;R.number&&delete R.integer;for(const O in R)D=(0,a.and)(D,v(O,C,E,P));return D}xa.checkDataTypes=b;const S={message:({schema:k})=>`must be ${k}`,params:({schema:k,schemaValue:C})=>typeof k=="string"?(0,a._)`{type: ${k}}`:(0,a._)`{type: ${C}}`};function T(k){const C=x(k);(0,o.reportError)(C,S)}xa.reportTypeError=T;function x(k){const{gen:C,data:E,schema:P}=k,D=(0,n.schemaRefOrVal)(k,P,"type");return{gen:C,keyword:"type",data:E,schema:P.type,schemaCode:D,schemaValue:D,parentSchema:P,params:{},it:k}}return xa}var Ku={},tD;function GZ(){if(tD)return Ku;tD=1,Object.defineProperty(Ku,"__esModule",{value:!0}),Ku.assignDefaults=void 0;const t=yt(),e=Lt();function o(n,r){const{properties:i,items:c}=n.schema;if(r==="object"&&i)for(const d in i)a(n,d,i[d].default);else r==="array"&&Array.isArray(c)&&c.forEach((d,u)=>a(n,u,d.default))}Ku.assignDefaults=o;function a(n,r,i){const{gen:c,compositeRule:d,data:u,opts:m}=n;if(i===void 0)return;const h=(0,t._)`${u}${(0,t.getProperty)(r)}`;if(d){(0,e.checkStrictMode)(n,`default is ignored for: ${h}`);return}let f=(0,t._)`${h} === undefined`;m.useDefaults==="empty"&&(f=(0,t._)`${f} || ${h} === null || ${h} === ""`),c.if(f,(0,t._)`${h} = ${(0,t.stringify)(i)}`)}return Ku}var gr={},Zt={},oD;function Dr(){if(oD)return Zt;oD=1,Object.defineProperty(Zt,"__esModule",{value:!0}),Zt.validateUnion=Zt.validateArray=Zt.usePattern=Zt.callValidateCode=Zt.schemaProperties=Zt.allSchemaProperties=Zt.noPropertyInData=Zt.propertyInData=Zt.isOwnProperty=Zt.hasPropFunc=Zt.reportMissingProp=Zt.checkMissingProp=Zt.checkReportMissingProp=void 0;const t=yt(),e=Lt(),o=Zi(),a=Lt();function n(k,C){const{gen:E,data:P,it:D}=k;E.if(m(E,P,C,D.opts.ownProperties),()=>{k.setParams({missingProperty:(0,t._)`${C}`},!0),k.error()})}Zt.checkReportMissingProp=n;function r({gen:k,data:C,it:{opts:E}},P,D){return(0,t.or)(...P.map(R=>(0,t.and)(m(k,C,R,E.ownProperties),(0,t._)`${D} = ${R}`)))}Zt.checkMissingProp=r;function i(k,C){k.setParams({missingProperty:C},!0),k.error()}Zt.reportMissingProp=i;function c(k){return k.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,t._)`Object.prototype.hasOwnProperty`})}Zt.hasPropFunc=c;function d(k,C,E){return(0,t._)`${c(k)}.call(${C}, ${E})`}Zt.isOwnProperty=d;function u(k,C,E,P){const D=(0,t._)`${C}${(0,t.getProperty)(E)} !== undefined`;return P?(0,t._)`${D} && ${d(k,C,E)}`:D}Zt.propertyInData=u;function m(k,C,E,P){const D=(0,t._)`${C}${(0,t.getProperty)(E)} === undefined`;return P?(0,t.or)(D,(0,t.not)(d(k,C,E))):D}Zt.noPropertyInData=m;function h(k){return k?Object.keys(k).filter(C=>C!=="__proto__"):[]}Zt.allSchemaProperties=h;function f(k,C){return h(C).filter(E=>!(0,e.alwaysValidSchema)(k,C[E]))}Zt.schemaProperties=f;function v({schemaCode:k,data:C,it:{gen:E,topSchemaRef:P,schemaPath:D,errorPath:R},it:O},I,q,B){const j=B?(0,t._)`${k}, ${C}, ${P}${D}`:C,F=[[o.default.instancePath,(0,t.strConcat)(o.default.instancePath,R)],[o.default.parentData,O.parentData],[o.default.parentDataProperty,O.parentDataProperty],[o.default.rootData,o.default.rootData]];O.opts.dynamicRef&&F.push([o.default.dynamicAnchors,o.default.dynamicAnchors]);const W=(0,t._)`${j}, ${E.object(...F)}`;return q!==t.nil?(0,t._)`${I}.call(${q}, ${W})`:(0,t._)`${I}(${W})`}Zt.callValidateCode=v;const b=(0,t._)`new RegExp`;function S({gen:k,it:{opts:C}},E){const P=C.unicodeRegExp?"u":"",{regExp:D}=C.code,R=D(E,P);return k.scopeValue("pattern",{key:R.toString(),ref:R,code:(0,t._)`${D.code==="new RegExp"?b:(0,a.useFunc)(k,D)}(${E}, ${P})`})}Zt.usePattern=S;function T(k){const{gen:C,data:E,keyword:P,it:D}=k,R=C.name("valid");if(D.allErrors){const I=C.let("valid",!0);return O(()=>C.assign(I,!1)),I}return C.var(R,!0),O(()=>C.break()),R;function O(I){const q=C.const("len",(0,t._)`${E}.length`);C.forRange("i",0,q,B=>{k.subschema({keyword:P,dataProp:B,dataPropType:e.Type.Num},R),C.if((0,t.not)(R),I)})}}Zt.validateArray=T;function x(k){const{gen:C,schema:E,keyword:P,it:D}=k;if(!Array.isArray(E))throw new Error("ajv implementation error");if(E.some(q=>(0,e.alwaysValidSchema)(D,q))&&!D.opts.unevaluated)return;const O=C.let("valid",!1),I=C.name("_valid");C.block(()=>E.forEach((q,B)=>{const j=k.subschema({keyword:P,schemaProp:B,compositeRule:!0},I);C.assign(O,(0,t._)`${O} || ${I}`),k.mergeValidEvaluated(j,I)||C.if((0,t.not)(O))})),k.result(O,()=>k.reset(),()=>k.error(!0))}return Zt.validateUnion=x,Zt}var aD;function WZ(){if(aD)return gr;aD=1,Object.defineProperty(gr,"__esModule",{value:!0}),gr.validateKeywordUsage=gr.validSchemaType=gr.funcKeywordCode=gr.macroKeywordCode=void 0;const t=yt(),e=Zi(),o=Dr(),a=ob();function n(f,v){const{gen:b,keyword:S,schema:T,parentSchema:x,it:k}=f,C=v.macro.call(k.self,T,x,k),E=u(b,S,C);k.opts.validateSchema!==!1&&k.self.validateSchema(C,!0);const P=b.name("valid");f.subschema({schema:C,schemaPath:t.nil,errSchemaPath:`${k.errSchemaPath}/${S}`,topSchemaRef:E,compositeRule:!0},P),f.pass(P,()=>f.error(!0))}gr.macroKeywordCode=n;function r(f,v){var b;const{gen:S,keyword:T,schema:x,parentSchema:k,$data:C,it:E}=f;d(E,v);const P=!C&&v.compile?v.compile.call(E.self,x,k,E):v.validate,D=u(S,T,P),R=S.let("valid");f.block$data(R,O),f.ok((b=v.valid)!==null&&b!==void 0?b:R);function O(){if(v.errors===!1)B(),v.modifying&&i(f),j(()=>f.error());else{const F=v.async?I():q();v.modifying&&i(f),j(()=>c(f,F))}}function I(){const F=S.let("ruleErrs",null);return S.try(()=>B((0,t._)`await `),W=>S.assign(R,!1).if((0,t._)`${W} instanceof ${E.ValidationError}`,()=>S.assign(F,(0,t._)`${W}.errors`),()=>S.throw(W))),F}function q(){const F=(0,t._)`${D}.errors`;return S.assign(F,null),B(t.nil),F}function B(F=v.async?(0,t._)`await `:t.nil){const W=E.opts.passContext?e.default.this:e.default.self,oe=!("compile"in v&&!C||v.schema===!1);S.assign(R,(0,t._)`${F}${(0,o.callValidateCode)(f,D,W,oe)}`,v.modifying)}function j(F){var W;S.if((0,t.not)((W=v.valid)!==null&&W!==void 0?W:R),F)}}gr.funcKeywordCode=r;function i(f){const{gen:v,data:b,it:S}=f;v.if(S.parentData,()=>v.assign(b,(0,t._)`${S.parentData}[${S.parentDataProperty}]`))}function c(f,v){const{gen:b}=f;b.if((0,t._)`Array.isArray(${v})`,()=>{b.assign(e.default.vErrors,(0,t._)`${e.default.vErrors} === null ? ${v} : ${e.default.vErrors}.concat(${v})`).assign(e.default.errors,(0,t._)`${e.default.vErrors}.length`),(0,a.extendErrors)(f)},()=>f.error())}function d({schemaEnv:f},v){if(v.async&&!f.$async)throw new Error("async keyword in sync schema")}function u(f,v,b){if(b===void 0)throw new Error(`keyword "${v}" failed to compile`);return f.scopeValue("keyword",typeof b=="function"?{ref:b}:{ref:b,code:(0,t.stringify)(b)})}function m(f,v,b=!1){return!v.length||v.some(S=>S==="array"?Array.isArray(f):S==="object"?f&&typeof f=="object"&&!Array.isArray(f):typeof f==S||b&&typeof f>"u")}gr.validSchemaType=m;function h({schema:f,opts:v,self:b,errSchemaPath:S},T,x){if(Array.isArray(T.keyword)?!T.keyword.includes(x):T.keyword!==x)throw new Error("ajv implementation error");const k=T.dependencies;if(k?.some(C=>!Object.prototype.hasOwnProperty.call(f,C)))throw new Error(`parent schema must have dependencies of ${x}: ${k.join(",")}`);if(T.validateSchema&&!T.validateSchema(f[x])){const E=`keyword "${x}" value is invalid at path "${S}": `+b.errorsText(T.validateSchema.errors);if(v.validateSchema==="log")b.logger.error(E);else throw new Error(E)}}return gr.validateKeywordUsage=h,gr}var ks={},nD;function KZ(){if(nD)return ks;nD=1,Object.defineProperty(ks,"__esModule",{value:!0}),ks.extendSubschemaMode=ks.extendSubschemaData=ks.getSubschema=void 0;const t=yt(),e=Lt();function o(r,{keyword:i,schemaProp:c,schema:d,schemaPath:u,errSchemaPath:m,topSchemaRef:h}){if(i!==void 0&&d!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(i!==void 0){const f=r.schema[i];return c===void 0?{schema:f,schemaPath:(0,t._)`${r.schemaPath}${(0,t.getProperty)(i)}`,errSchemaPath:`${r.errSchemaPath}/${i}`}:{schema:f[c],schemaPath:(0,t._)`${r.schemaPath}${(0,t.getProperty)(i)}${(0,t.getProperty)(c)}`,errSchemaPath:`${r.errSchemaPath}/${i}/${(0,e.escapeFragment)(c)}`}}if(d!==void 0){if(u===void 0||m===void 0||h===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:d,schemaPath:u,topSchemaRef:h,errSchemaPath:m}}throw new Error('either "keyword" or "schema" must be passed')}ks.getSubschema=o;function a(r,i,{dataProp:c,dataPropType:d,data:u,dataTypes:m,propertyName:h}){if(u!==void 0&&c!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:f}=i;if(c!==void 0){const{errorPath:b,dataPathArr:S,opts:T}=i,x=f.let("data",(0,t._)`${i.data}${(0,t.getProperty)(c)}`,!0);v(x),r.errorPath=(0,t.str)`${b}${(0,e.getErrorPath)(c,d,T.jsPropertySyntax)}`,r.parentDataProperty=(0,t._)`${c}`,r.dataPathArr=[...S,r.parentDataProperty]}if(u!==void 0){const b=u instanceof t.Name?u:f.let("data",u,!0);v(b),h!==void 0&&(r.propertyName=h)}m&&(r.dataTypes=m);function v(b){r.data=b,r.dataLevel=i.dataLevel+1,r.dataTypes=[],i.definedProperties=new Set,r.parentData=i.data,r.dataNames=[...i.dataNames,b]}}ks.extendSubschemaData=a;function n(r,{jtdDiscriminator:i,jtdMetadata:c,compositeRule:d,createErrors:u,allErrors:m}){d!==void 0&&(r.compositeRule=d),u!==void 0&&(r.createErrors=u),m!==void 0&&(r.allErrors=m),r.jtdDiscriminator=i,r.jtdMetadata=c}return ks.extendSubschemaMode=n,ks}var Wa={},Sw,rD;function dB(){return rD||(rD=1,Sw=function t(e,o){if(e===o)return!0;if(e&&o&&typeof e=="object"&&typeof o=="object"){if(e.constructor!==o.constructor)return!1;var a,n,r;if(Array.isArray(e)){if(a=e.length,a!=o.length)return!1;for(n=a;n--!==0;)if(!t(e[n],o[n]))return!1;return!0}if(e.constructor===RegExp)return e.source===o.source&&e.flags===o.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===o.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===o.toString();if(r=Object.keys(e),a=r.length,a!==Object.keys(o).length)return!1;for(n=a;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,r[n]))return!1;for(n=a;n--!==0;){var i=r[n];if(!t(e[i],o[i]))return!1}return!0}return e!==e&&o!==o}),Sw}var ww={exports:{}},sD;function YZ(){if(sD)return ww.exports;sD=1;var t=ww.exports=function(a,n,r){typeof n=="function"&&(r=n,n={}),r=n.cb||r;var i=typeof r=="function"?r:r.pre||function(){},c=r.post||function(){};e(n,i,c,a,"",a)};t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function e(a,n,r,i,c,d,u,m,h,f){if(i&&typeof i=="object"&&!Array.isArray(i)){n(i,c,d,u,m,h,f);for(var v in i){var b=i[v];if(Array.isArray(b)){if(v in t.arrayKeywords)for(var S=0;S<b.length;S++)e(a,n,r,b[S],c+"/"+v+"/"+S,d,c,v,i,S)}else if(v in t.propsKeywords){if(b&&typeof b=="object")for(var T in b)e(a,n,r,b[T],c+"/"+v+"/"+o(T),d,c,v,i,T)}else(v in t.keywords||a.allKeys&&!(v in t.skipKeywords))&&e(a,n,r,b,c+"/"+v,d,c,v,i)}r(i,c,d,u,m,h,f)}}function o(a){return a.replace(/~/g,"~0").replace(/\//g,"~1")}return ww.exports}var iD;function ab(){if(iD)return Wa;iD=1,Object.defineProperty(Wa,"__esModule",{value:!0}),Wa.getSchemaRefs=Wa.resolveUrl=Wa.normalizeId=Wa._getFullPath=Wa.getFullPath=Wa.inlineRef=void 0;const t=Lt(),e=dB(),o=YZ(),a=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function n(S,T=!0){return typeof S=="boolean"?!0:T===!0?!i(S):T?c(S)<=T:!1}Wa.inlineRef=n;const r=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function i(S){for(const T in S){if(r.has(T))return!0;const x=S[T];if(Array.isArray(x)&&x.some(i)||typeof x=="object"&&i(x))return!0}return!1}function c(S){let T=0;for(const x in S){if(x==="$ref")return 1/0;if(T++,!a.has(x)&&(typeof S[x]=="object"&&(0,t.eachItem)(S[x],k=>T+=c(k)),T===1/0))return 1/0}return T}function d(S,T="",x){x!==!1&&(T=h(T));const k=S.parse(T);return u(S,k)}Wa.getFullPath=d;function u(S,T){return S.serialize(T).split("#")[0]+"#"}Wa._getFullPath=u;const m=/#\/?$/;function h(S){return S?S.replace(m,""):""}Wa.normalizeId=h;function f(S,T,x){return x=h(x),S.resolve(T,x)}Wa.resolveUrl=f;const v=/^[a-z_][-a-z0-9._]*$/i;function b(S,T){if(typeof S=="boolean")return{};const{schemaId:x,uriResolver:k}=this.opts,C=h(S[x]||T),E={"":C},P=d(k,C,!1),D={},R=new Set;return o(S,{allKeys:!0},(q,B,j,F)=>{if(F===void 0)return;const W=P+B;let oe=E[F];typeof q[x]=="string"&&(oe=H.call(this,q[x])),K.call(this,q.$anchor),K.call(this,q.$dynamicAnchor),E[B]=oe;function H(J){const se=this.opts.uriResolver.resolve;if(J=h(oe?se(oe,J):J),R.has(J))throw I(J);R.add(J);let Q=this.refs[J];return typeof Q=="string"&&(Q=this.refs[Q]),typeof Q=="object"?O(q,Q.schema,J):J!==h(W)&&(J[0]==="#"?(O(q,D[J],J),D[J]=q):this.refs[J]=W),J}function K(J){if(typeof J=="string"){if(!v.test(J))throw new Error(`invalid anchor "${J}"`);H.call(this,`#${J}`)}}}),D;function O(q,B,j){if(B!==void 0&&!e(q,B))throw I(j)}function I(q){return new Error(`reference "${q}" resolves to more than one schema`)}}return Wa.getSchemaRefs=b,Wa}var lD;function nb(){if(lD)return xs;lD=1,Object.defineProperty(xs,"__esModule",{value:!0}),xs.getData=xs.KeywordCxt=xs.validateFunctionCode=void 0;const t=HZ(),e=Jf(),o=cB(),a=Jf(),n=GZ(),r=WZ(),i=KZ(),c=yt(),d=Zi(),u=ab(),m=Lt(),h=ob();function f(Z){if(P(Z)&&(R(Z),E(Z))){T(Z);return}v(Z,()=>(0,t.topBoolOrEmptySchema)(Z))}xs.validateFunctionCode=f;function v({gen:Z,validateName:ne,schema:ve,schemaEnv:ie,opts:Te},_e){Te.code.es5?Z.func(ne,(0,c._)`${d.default.data}, ${d.default.valCxt}`,ie.$async,()=>{Z.code((0,c._)`"use strict"; ${k(ve,Te)}`),S(Z,Te),Z.code(_e)}):Z.func(ne,(0,c._)`${d.default.data}, ${b(Te)}`,ie.$async,()=>Z.code(k(ve,Te)).code(_e))}function b(Z){return(0,c._)`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${Z.dynamicRef?(0,c._)`, ${d.default.dynamicAnchors}={}`:c.nil}}={}`}function S(Z,ne){Z.if(d.default.valCxt,()=>{Z.var(d.default.instancePath,(0,c._)`${d.default.valCxt}.${d.default.instancePath}`),Z.var(d.default.parentData,(0,c._)`${d.default.valCxt}.${d.default.parentData}`),Z.var(d.default.parentDataProperty,(0,c._)`${d.default.valCxt}.${d.default.parentDataProperty}`),Z.var(d.default.rootData,(0,c._)`${d.default.valCxt}.${d.default.rootData}`),ne.dynamicRef&&Z.var(d.default.dynamicAnchors,(0,c._)`${d.default.valCxt}.${d.default.dynamicAnchors}`)},()=>{Z.var(d.default.instancePath,(0,c._)`""`),Z.var(d.default.parentData,(0,c._)`undefined`),Z.var(d.default.parentDataProperty,(0,c._)`undefined`),Z.var(d.default.rootData,d.default.data),ne.dynamicRef&&Z.var(d.default.dynamicAnchors,(0,c._)`{}`)})}function T(Z){const{schema:ne,opts:ve,gen:ie}=Z;v(Z,()=>{ve.$comment&&ne.$comment&&F(Z),q(Z),ie.let(d.default.vErrors,null),ie.let(d.default.errors,0),ve.unevaluated&&x(Z),O(Z),W(Z)})}function x(Z){const{gen:ne,validateName:ve}=Z;Z.evaluated=ne.const("evaluated",(0,c._)`${ve}.evaluated`),ne.if((0,c._)`${Z.evaluated}.dynamicProps`,()=>ne.assign((0,c._)`${Z.evaluated}.props`,(0,c._)`undefined`)),ne.if((0,c._)`${Z.evaluated}.dynamicItems`,()=>ne.assign((0,c._)`${Z.evaluated}.items`,(0,c._)`undefined`))}function k(Z,ne){const ve=typeof Z=="object"&&Z[ne.schemaId];return ve&&(ne.code.source||ne.code.process)?(0,c._)`/*# sourceURL=${ve} */`:c.nil}function C(Z,ne){if(P(Z)&&(R(Z),E(Z))){D(Z,ne);return}(0,t.boolOrEmptySchema)(Z,ne)}function E({schema:Z,self:ne}){if(typeof Z=="boolean")return!Z;for(const ve in Z)if(ne.RULES.all[ve])return!0;return!1}function P(Z){return typeof Z.schema!="boolean"}function D(Z,ne){const{schema:ve,gen:ie,opts:Te}=Z;Te.$comment&&ve.$comment&&F(Z),B(Z),j(Z);const _e=ie.const("_errs",d.default.errors);O(Z,_e),ie.var(ne,(0,c._)`${_e} === ${d.default.errors}`)}function R(Z){(0,m.checkUnknownRules)(Z),I(Z)}function O(Z,ne){if(Z.opts.jtd)return H(Z,[],!1,ne);const ve=(0,e.getSchemaTypes)(Z.schema),ie=(0,e.coerceAndCheckDataType)(Z,ve);H(Z,ve,!ie,ne)}function I(Z){const{schema:ne,errSchemaPath:ve,opts:ie,self:Te}=Z;ne.$ref&&ie.ignoreKeywordsWithRef&&(0,m.schemaHasRulesButRef)(ne,Te.RULES)&&Te.logger.warn(`$ref: keywords ignored in schema at path "${ve}"`)}function q(Z){const{schema:ne,opts:ve}=Z;ne.default!==void 0&&ve.useDefaults&&ve.strictSchema&&(0,m.checkStrictMode)(Z,"default is ignored in the schema root")}function B(Z){const ne=Z.schema[Z.opts.schemaId];ne&&(Z.baseId=(0,u.resolveUrl)(Z.opts.uriResolver,Z.baseId,ne))}function j(Z){if(Z.schema.$async&&!Z.schemaEnv.$async)throw new Error("async schema in sync schema")}function F({gen:Z,schemaEnv:ne,schema:ve,errSchemaPath:ie,opts:Te}){const _e=ve.$comment;if(Te.$comment===!0)Z.code((0,c._)`${d.default.self}.logger.log(${_e})`);else if(typeof Te.$comment=="function"){const it=(0,c.str)`${ie}/$comment`,ct=Z.scopeValue("root",{ref:ne.root});Z.code((0,c._)`${d.default.self}.opts.$comment(${_e}, ${it}, ${ct}.schema)`)}}function W(Z){const{gen:ne,schemaEnv:ve,validateName:ie,ValidationError:Te,opts:_e}=Z;ve.$async?ne.if((0,c._)`${d.default.errors} === 0`,()=>ne.return(d.default.data),()=>ne.throw((0,c._)`new ${Te}(${d.default.vErrors})`)):(ne.assign((0,c._)`${ie}.errors`,d.default.vErrors),_e.unevaluated&&oe(Z),ne.return((0,c._)`${d.default.errors} === 0`))}function oe({gen:Z,evaluated:ne,props:ve,items:ie}){ve instanceof c.Name&&Z.assign((0,c._)`${ne}.props`,ve),ie instanceof c.Name&&Z.assign((0,c._)`${ne}.items`,ie)}function H(Z,ne,ve,ie){const{gen:Te,schema:_e,data:it,allErrors:ct,opts:Ge,self:at}=Z,{RULES:Ne}=at;if(_e.$ref&&(Ge.ignoreKeywordsWithRef||!(0,m.schemaHasRulesButRef)(_e,Ne))){Te.block(()=>de(Z,"$ref",Ne.all.$ref.definition));return}Ge.jtd||J(Z,ne),Te.block(()=>{for(const He of Ne.rules)Oe(He);Oe(Ne.post)});function Oe(He){(0,o.shouldUseGroup)(_e,He)&&(He.type?(Te.if((0,a.checkDataType)(He.type,it,Ge.strictNumbers)),K(Z,He),ne.length===1&&ne[0]===He.type&&ve&&(Te.else(),(0,a.reportTypeError)(Z)),Te.endIf()):K(Z,He),ct||Te.if((0,c._)`${d.default.errors} === ${ie||0}`))}}function K(Z,ne){const{gen:ve,schema:ie,opts:{useDefaults:Te}}=Z;Te&&(0,n.assignDefaults)(Z,ne.type),ve.block(()=>{for(const _e of ne.rules)(0,o.shouldUseRule)(ie,_e)&&de(Z,_e.keyword,_e.definition,ne.type)})}function J(Z,ne){Z.schemaEnv.meta||!Z.opts.strictTypes||(se(Z,ne),Z.opts.allowUnionTypes||Q(Z,ne),M(Z,Z.dataTypes))}function se(Z,ne){if(ne.length){if(!Z.dataTypes.length){Z.dataTypes=ne;return}ne.forEach(ve=>{V(Z.dataTypes,ve)||z(Z,`type "${ve}" not allowed by context "${Z.dataTypes.join(",")}"`)}),L(Z,ne)}}function Q(Z,ne){ne.length>1&&!(ne.length===2&&ne.includes("null"))&&z(Z,"use allowUnionTypes to allow union type keyword")}function M(Z,ne){const ve=Z.self.RULES.all;for(const ie in ve){const Te=ve[ie];if(typeof Te=="object"&&(0,o.shouldUseRule)(Z.schema,Te)){const{type:_e}=Te.definition;_e.length&&!_e.some(it=>G(ne,it))&&z(Z,`missing type "${_e.join(",")}" for keyword "${ie}"`)}}}function G(Z,ne){return Z.includes(ne)||ne==="number"&&Z.includes("integer")}function V(Z,ne){return Z.includes(ne)||ne==="integer"&&Z.includes("number")}function L(Z,ne){const ve=[];for(const ie of Z.dataTypes)V(ne,ie)?ve.push(ie):ne.includes("integer")&&ie==="number"&&ve.push("integer");Z.dataTypes=ve}function z(Z,ne){const ve=Z.schemaEnv.baseId+Z.errSchemaPath;ne+=` at "${ve}" (strictTypes)`,(0,m.checkStrictMode)(Z,ne,Z.opts.strictTypes)}class X{constructor(ne,ve,ie){if((0,r.validateKeywordUsage)(ne,ve,ie),this.gen=ne.gen,this.allErrors=ne.allErrors,this.keyword=ie,this.data=ne.data,this.schema=ne.schema[ie],this.$data=ve.$data&&ne.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,m.schemaRefOrVal)(ne,this.schema,ie,this.$data),this.schemaType=ve.schemaType,this.parentSchema=ne.schema,this.params={},this.it=ne,this.def=ve,this.$data)this.schemaCode=ne.gen.const("vSchema",qe(this.$data,ne));else if(this.schemaCode=this.schemaValue,!(0,r.validSchemaType)(this.schema,ve.schemaType,ve.allowUndefined))throw new Error(`${ie} value must be ${JSON.stringify(ve.schemaType)}`);("code"in ve?ve.trackErrors:ve.errors!==!1)&&(this.errsCount=ne.gen.const("_errs",d.default.errors))}result(ne,ve,ie){this.failResult((0,c.not)(ne),ve,ie)}failResult(ne,ve,ie){this.gen.if(ne),ie?ie():this.error(),ve?(this.gen.else(),ve(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(ne,ve){this.failResult((0,c.not)(ne),void 0,ve)}fail(ne){if(ne===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(ne),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(ne){if(!this.$data)return this.fail(ne);const{schemaCode:ve}=this;this.fail((0,c._)`${ve} !== undefined && (${(0,c.or)(this.invalid$data(),ne)})`)}error(ne,ve,ie){if(ve){this.setParams(ve),this._error(ne,ie),this.setParams({});return}this._error(ne,ie)}_error(ne,ve){(ne?h.reportExtraError:h.reportError)(this,this.def.error,ve)}$dataError(){(0,h.reportError)(this,this.def.$dataError||h.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,h.resetErrorsCount)(this.gen,this.errsCount)}ok(ne){this.allErrors||this.gen.if(ne)}setParams(ne,ve){ve?Object.assign(this.params,ne):this.params=ne}block$data(ne,ve,ie=c.nil){this.gen.block(()=>{this.check$data(ne,ie),ve()})}check$data(ne=c.nil,ve=c.nil){if(!this.$data)return;const{gen:ie,schemaCode:Te,schemaType:_e,def:it}=this;ie.if((0,c.or)((0,c._)`${Te} === undefined`,ve)),ne!==c.nil&&ie.assign(ne,!0),(_e.length||it.validateSchema)&&(ie.elseIf(this.invalid$data()),this.$dataError(),ne!==c.nil&&ie.assign(ne,!1)),ie.else()}invalid$data(){const{gen:ne,schemaCode:ve,schemaType:ie,def:Te,it:_e}=this;return(0,c.or)(it(),ct());function it(){if(ie.length){if(!(ve instanceof c.Name))throw new Error("ajv implementation error");const Ge=Array.isArray(ie)?ie:[ie];return(0,c._)`${(0,a.checkDataTypes)(Ge,ve,_e.opts.strictNumbers,a.DataType.Wrong)}`}return c.nil}function ct(){if(Te.validateSchema){const Ge=ne.scopeValue("validate$data",{ref:Te.validateSchema});return(0,c._)`!${Ge}(${ve})`}return c.nil}}subschema(ne,ve){const ie=(0,i.getSubschema)(this.it,ne);(0,i.extendSubschemaData)(ie,this.it,ne),(0,i.extendSubschemaMode)(ie,ne);const Te={...this.it,...ie,items:void 0,props:void 0};return C(Te,ve),Te}mergeEvaluated(ne,ve){const{it:ie,gen:Te}=this;ie.opts.unevaluated&&(ie.props!==!0&&ne.props!==void 0&&(ie.props=m.mergeEvaluated.props(Te,ne.props,ie.props,ve)),ie.items!==!0&&ne.items!==void 0&&(ie.items=m.mergeEvaluated.items(Te,ne.items,ie.items,ve)))}mergeValidEvaluated(ne,ve){const{it:ie,gen:Te}=this;if(ie.opts.unevaluated&&(ie.props!==!0||ie.items!==!0))return Te.if(ve,()=>this.mergeEvaluated(ne,c.Name)),!0}}xs.KeywordCxt=X;function de(Z,ne,ve,ie){const Te=new X(Z,ve,ne);"code"in ve?ve.code(Te,ie):Te.$data&&ve.validate?(0,r.funcKeywordCode)(Te,ve):"macro"in ve?(0,r.macroKeywordCode)(Te,ve):(ve.compile||ve.validate)&&(0,r.funcKeywordCode)(Te,ve)}const ue=/^\/(?:[^~]|~0|~1)*$/,Ee=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function qe(Z,{dataLevel:ne,dataNames:ve,dataPathArr:ie}){let Te,_e;if(Z==="")return d.default.rootData;if(Z[0]==="/"){if(!ue.test(Z))throw new Error(`Invalid JSON-pointer: ${Z}`);Te=Z,_e=d.default.rootData}else{const at=Ee.exec(Z);if(!at)throw new Error(`Invalid JSON-pointer: ${Z}`);const Ne=+at[1];if(Te=at[2],Te==="#"){if(Ne>=ne)throw new Error(Ge("property/index",Ne));return ie[ne-Ne]}if(Ne>ne)throw new Error(Ge("data",Ne));if(_e=ve[ne-Ne],!Te)return _e}let it=_e;const ct=Te.split("/");for(const at of ct)at&&(_e=(0,c._)`${_e}${(0,c.getProperty)((0,m.unescapeJsonPointer)(at))}`,it=(0,c._)`${it} && ${_e}`);return it;function Ge(at,Ne){return`Cannot access ${at} ${Ne} levels up, current level is ${ne}`}}return xs.getData=qe,xs}var og={},cD;function Hk(){if(cD)return og;cD=1,Object.defineProperty(og,"__esModule",{value:!0});class t extends Error{constructor(o){super("validation failed"),this.errors=o,this.ajv=this.validation=!0}}return og.default=t,og}var ag={},dD;function rb(){if(dD)return ag;dD=1,Object.defineProperty(ag,"__esModule",{value:!0});const t=ab();class e extends Error{constructor(a,n,r,i){super(i||`can't resolve reference ${r} from id ${n}`),this.missingRef=(0,t.resolveUrl)(a,n,r),this.missingSchema=(0,t.normalizeId)((0,t.getFullPath)(a,this.missingRef))}}return ag.default=e,ag}var _n={},uD;function Gk(){if(uD)return _n;uD=1,Object.defineProperty(_n,"__esModule",{value:!0}),_n.resolveSchema=_n.getCompilingSchema=_n.resolveRef=_n.compileSchema=_n.SchemaEnv=void 0;const t=yt(),e=Hk(),o=Zi(),a=ab(),n=Lt(),r=nb();class i{constructor(x){var k;this.refs={},this.dynamicAnchors={};let C;typeof x.schema=="object"&&(C=x.schema),this.schema=x.schema,this.schemaId=x.schemaId,this.root=x.root||this,this.baseId=(k=x.baseId)!==null&&k!==void 0?k:(0,a.normalizeId)(C?.[x.schemaId||"$id"]),this.schemaPath=x.schemaPath,this.localRefs=x.localRefs,this.meta=x.meta,this.$async=C?.$async,this.refs={}}}_n.SchemaEnv=i;function c(T){const x=m.call(this,T);if(x)return x;const k=(0,a.getFullPath)(this.opts.uriResolver,T.root.baseId),{es5:C,lines:E}=this.opts.code,{ownProperties:P}=this.opts,D=new t.CodeGen(this.scope,{es5:C,lines:E,ownProperties:P});let R;T.$async&&(R=D.scopeValue("Error",{ref:e.default,code:(0,t._)`require("ajv/dist/runtime/validation_error").default`}));const O=D.scopeName("validate");T.validateName=O;const I={gen:D,allErrors:this.opts.allErrors,data:o.default.data,parentData:o.default.parentData,parentDataProperty:o.default.parentDataProperty,dataNames:[o.default.data],dataPathArr:[t.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:D.scopeValue("schema",this.opts.code.source===!0?{ref:T.schema,code:(0,t.stringify)(T.schema)}:{ref:T.schema}),validateName:O,ValidationError:R,schema:T.schema,schemaEnv:T,rootId:k,baseId:T.baseId||k,schemaPath:t.nil,errSchemaPath:T.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,t._)`""`,opts:this.opts,self:this};let q;try{this._compilations.add(T),(0,r.validateFunctionCode)(I),D.optimize(this.opts.code.optimize);const B=D.toString();q=`${D.scopeRefs(o.default.scope)}return ${B}`,this.opts.code.process&&(q=this.opts.code.process(q,T));const F=new Function(`${o.default.self}`,`${o.default.scope}`,q)(this,this.scope.get());if(this.scope.value(O,{ref:F}),F.errors=null,F.schema=T.schema,F.schemaEnv=T,T.$async&&(F.$async=!0),this.opts.code.source===!0&&(F.source={validateName:O,validateCode:B,scopeValues:D._values}),this.opts.unevaluated){const{props:W,items:oe}=I;F.evaluated={props:W instanceof t.Name?void 0:W,items:oe instanceof t.Name?void 0:oe,dynamicProps:W instanceof t.Name,dynamicItems:oe instanceof t.Name},F.source&&(F.source.evaluated=(0,t.stringify)(F.evaluated))}return T.validate=F,T}catch(B){throw delete T.validate,delete T.validateName,q&&this.logger.error("Error compiling schema, function code:",q),B}finally{this._compilations.delete(T)}}_n.compileSchema=c;function d(T,x,k){var C;k=(0,a.resolveUrl)(this.opts.uriResolver,x,k);const E=T.refs[k];if(E)return E;let P=f.call(this,T,k);if(P===void 0){const D=(C=T.localRefs)===null||C===void 0?void 0:C[k],{schemaId:R}=this.opts;D&&(P=new i({schema:D,schemaId:R,root:T,baseId:x}))}if(P!==void 0)return T.refs[k]=u.call(this,P)}_n.resolveRef=d;function u(T){return(0,a.inlineRef)(T.schema,this.opts.inlineRefs)?T.schema:T.validate?T:c.call(this,T)}function m(T){for(const x of this._compilations)if(h(x,T))return x}_n.getCompilingSchema=m;function h(T,x){return T.schema===x.schema&&T.root===x.root&&T.baseId===x.baseId}function f(T,x){let k;for(;typeof(k=this.refs[x])=="string";)x=k;return k||this.schemas[x]||v.call(this,T,x)}function v(T,x){const k=this.opts.uriResolver.parse(x),C=(0,a._getFullPath)(this.opts.uriResolver,k);let E=(0,a.getFullPath)(this.opts.uriResolver,T.baseId,void 0);if(Object.keys(T.schema).length>0&&C===E)return S.call(this,k,T);const P=(0,a.normalizeId)(C),D=this.refs[P]||this.schemas[P];if(typeof D=="string"){const R=v.call(this,T,D);return typeof R?.schema!="object"?void 0:S.call(this,k,R)}if(typeof D?.schema=="object"){if(D.validate||c.call(this,D),P===(0,a.normalizeId)(x)){const{schema:R}=D,{schemaId:O}=this.opts,I=R[O];return I&&(E=(0,a.resolveUrl)(this.opts.uriResolver,E,I)),new i({schema:R,schemaId:O,root:T,baseId:E})}return S.call(this,k,D)}}_n.resolveSchema=v;const b=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function S(T,{baseId:x,schema:k,root:C}){var E;if(((E=T.fragment)===null||E===void 0?void 0:E[0])!=="/")return;for(const R of T.fragment.slice(1).split("/")){if(typeof k=="boolean")return;const O=k[(0,n.unescapeFragment)(R)];if(O===void 0)return;k=O;const I=typeof k=="object"&&k[this.opts.schemaId];!b.has(R)&&I&&(x=(0,a.resolveUrl)(this.opts.uriResolver,x,I))}let P;if(typeof k!="boolean"&&k.$ref&&!(0,n.schemaHasRulesButRef)(k,this.RULES)){const R=(0,a.resolveUrl)(this.opts.uriResolver,x,k.$ref);P=v.call(this,C,R)}const{schemaId:D}=this.opts;if(P=P||new i({schema:k,schemaId:D,root:C,baseId:x}),P.schema!==P.root.schema)return P}return _n}const ZZ="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",QZ="Meta-schema for $data reference (JSON AnySchema extension proposal)",JZ="object",XZ=["$data"],eQ={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},tQ=!1,oQ={$id:ZZ,description:QZ,type:JZ,required:XZ,properties:eQ,additionalProperties:tQ};var ng={},Yu={exports:{}},xw,pD;function uB(){if(pD)return xw;pD=1;const t=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),e=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);function o(f){let v="",b=0,S=0;for(S=0;S<f.length;S++)if(b=f[S].charCodeAt(0),b!==48){if(!(b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102))return"";v+=f[S];break}for(S+=1;S<f.length;S++){if(b=f[S].charCodeAt(0),!(b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102))return"";v+=f[S]}return v}const a=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function n(f){return f.length=0,!0}function r(f,v,b){if(f.length){const S=o(f);if(S!=="")v.push(S);else return b.error=!0,!1;f.length=0}return!0}function i(f){let v=0;const b={error:!1,address:"",zone:""},S=[],T=[];let x=!1,k=!1,C=r;for(let E=0;E<f.length;E++){const P=f[E];if(!(P==="["||P==="]"))if(P===":"){if(x===!0&&(k=!0),!C(T,S,b))break;if(++v>7){b.error=!0;break}E>0&&f[E-1]===":"&&(x=!0),S.push(":");continue}else if(P==="%"){if(!C(T,S,b))break;C=n}else{T.push(P);continue}}return T.length&&(C===n?b.zone=T.join(""):k?S.push(T.join("")):S.push(o(T))),b.address=S.join(""),b}function c(f){if(d(f,":")<2)return{host:f,isIPV6:!1};const v=i(f);if(v.error)return{host:f,isIPV6:!1};{let b=v.address,S=v.address;return v.zone&&(b+="%"+v.zone,S+="%25"+v.zone),{host:b,isIPV6:!0,escapedHost:S}}}function d(f,v){let b=0;for(let S=0;S<f.length;S++)f[S]===v&&b++;return b}function u(f){let v=f;const b=[];let S=-1,T=0;for(;T=v.length;){if(T===1){if(v===".")break;if(v==="/"){b.push("/");break}else{b.push(v);break}}else if(T===2){if(v[0]==="."){if(v[1]===".")break;if(v[1]==="/"){v=v.slice(2);continue}}else if(v[0]==="/"&&(v[1]==="."||v[1]==="/")){b.push("/");break}}else if(T===3&&v==="/.."){b.length!==0&&b.pop(),b.push("/");break}if(v[0]==="."){if(v[1]==="."){if(v[2]==="/"){v=v.slice(3);continue}}else if(v[1]==="/"){v=v.slice(2);continue}}else if(v[0]==="/"&&v[1]==="."){if(v[2]==="/"){v=v.slice(2);continue}else if(v[2]==="."&&v[3]==="/"){v=v.slice(3),b.length!==0&&b.pop();continue}}if((S=v.indexOf("/",1))===-1){b.push(v);break}else b.push(v.slice(0,S)),v=v.slice(S)}return b.join("")}function m(f,v){const b=v!==!0?escape:unescape;return f.scheme!==void 0&&(f.scheme=b(f.scheme)),f.userinfo!==void 0&&(f.userinfo=b(f.userinfo)),f.host!==void 0&&(f.host=b(f.host)),f.path!==void 0&&(f.path=b(f.path)),f.query!==void 0&&(f.query=b(f.query)),f.fragment!==void 0&&(f.fragment=b(f.fragment)),f}function h(f){const v=[];if(f.userinfo!==void 0&&(v.push(f.userinfo),v.push("@")),f.host!==void 0){let b=unescape(f.host);if(!e(b)){const S=c(b);S.isIPV6===!0?b=`[${S.escapedHost}]`:b=f.host}v.push(b)}return(typeof f.port=="number"||typeof f.port=="string")&&(v.push(":"),v.push(String(f.port))),v.length?v.join(""):void 0}return xw={nonSimpleDomain:a,recomposeAuthority:h,normalizeComponentEncoding:m,removeDotSegments:u,isIPv4:e,isUUID:t,normalizeIPv6:c,stringArrayToHexStripped:o},xw}var Tw,mD;function aQ(){if(mD)return Tw;mD=1;const{isUUID:t}=uB(),e=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,o=["http","https","ws","wss","urn","urn:uuid"];function a(P){return o.indexOf(P)!==-1}function n(P){return P.secure===!0?!0:P.secure===!1?!1:P.scheme?P.scheme.length===3&&(P.scheme[0]==="w"||P.scheme[0]==="W")&&(P.scheme[1]==="s"||P.scheme[1]==="S")&&(P.scheme[2]==="s"||P.scheme[2]==="S"):!1}function r(P){return P.host||(P.error=P.error||"HTTP URIs must have a host."),P}function i(P){const D=String(P.scheme).toLowerCase()==="https";return(P.port===(D?443:80)||P.port==="")&&(P.port=void 0),P.path||(P.path="/"),P}function c(P){return P.secure=n(P),P.resourceName=(P.path||"/")+(P.query?"?"+P.query:""),P.path=void 0,P.query=void 0,P}function d(P){if((P.port===(n(P)?443:80)||P.port==="")&&(P.port=void 0),typeof P.secure=="boolean"&&(P.scheme=P.secure?"wss":"ws",P.secure=void 0),P.resourceName){const[D,R]=P.resourceName.split("?");P.path=D&&D!=="/"?D:void 0,P.query=R,P.resourceName=void 0}return P.fragment=void 0,P}function u(P,D){if(!P.path)return P.error="URN can not be parsed",P;const R=P.path.match(e);if(R){const O=D.scheme||P.scheme||"urn";P.nid=R[1].toLowerCase(),P.nss=R[2];const I=`${O}:${D.nid||P.nid}`,q=E(I);P.path=void 0,q&&(P=q.parse(P,D))}else P.error=P.error||"URN can not be parsed.";return P}function m(P,D){if(P.nid===void 0)throw new Error("URN without nid cannot be serialized");const R=D.scheme||P.scheme||"urn",O=P.nid.toLowerCase(),I=`${R}:${D.nid||O}`,q=E(I);q&&(P=q.serialize(P,D));const B=P,j=P.nss;return B.path=`${O||D.nid}:${j}`,D.skipEscape=!0,B}function h(P,D){const R=P;return R.uuid=R.nss,R.nss=void 0,!D.tolerant&&(!R.uuid||!t(R.uuid))&&(R.error=R.error||"UUID is not valid."),R}function f(P){const D=P;return D.nss=(P.uuid||"").toLowerCase(),D}const v={scheme:"http",domainHost:!0,parse:r,serialize:i},b={scheme:"https",domainHost:v.domainHost,parse:r,serialize:i},S={scheme:"ws",domainHost:!0,parse:c,serialize:d},T={scheme:"wss",domainHost:S.domainHost,parse:S.parse,serialize:S.serialize},C={http:v,https:b,ws:S,wss:T,urn:{scheme:"urn",parse:u,serialize:m,skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:h,serialize:f,skipNormalize:!0}};Object.setPrototypeOf(C,null);function E(P){return P&&(C[P]||C[P.toLowerCase()])||void 0}return Tw={wsIsSecure:n,SCHEMES:C,isValidSchemeName:a,getSchemeHandler:E},Tw}var hD;function nQ(){if(hD)return Yu.exports;hD=1;const{normalizeIPv6:t,removeDotSegments:e,recomposeAuthority:o,normalizeComponentEncoding:a,isIPv4:n,nonSimpleDomain:r}=uB(),{SCHEMES:i,getSchemeHandler:c}=aQ();function d(T,x){return typeof T=="string"?T=f(b(T,x),x):typeof T=="object"&&(T=b(f(T,x),x)),T}function u(T,x,k){const C=k?Object.assign({scheme:"null"},k):{scheme:"null"},E=m(b(T,C),b(x,C),C,!0);return C.skipEscape=!0,f(E,C)}function m(T,x,k,C){const E={};return C||(T=b(f(T,k),k),x=b(f(x,k),k)),k=k||{},!k.tolerant&&x.scheme?(E.scheme=x.scheme,E.userinfo=x.userinfo,E.host=x.host,E.port=x.port,E.path=e(x.path||""),E.query=x.query):(x.userinfo!==void 0||x.host!==void 0||x.port!==void 0?(E.userinfo=x.userinfo,E.host=x.host,E.port=x.port,E.path=e(x.path||""),E.query=x.query):(x.path?(x.path[0]==="/"?E.path=e(x.path):((T.userinfo!==void 0||T.host!==void 0||T.port!==void 0)&&!T.path?E.path="/"+x.path:T.path?E.path=T.path.slice(0,T.path.lastIndexOf("/")+1)+x.path:E.path=x.path,E.path=e(E.path)),E.query=x.query):(E.path=T.path,x.query!==void 0?E.query=x.query:E.query=T.query),E.userinfo=T.userinfo,E.host=T.host,E.port=T.port),E.scheme=T.scheme),E.fragment=x.fragment,E}function h(T,x,k){return typeof T=="string"?(T=unescape(T),T=f(a(b(T,k),!0),{...k,skipEscape:!0})):typeof T=="object"&&(T=f(a(T,!0),{...k,skipEscape:!0})),typeof x=="string"?(x=unescape(x),x=f(a(b(x,k),!0),{...k,skipEscape:!0})):typeof x=="object"&&(x=f(a(x,!0),{...k,skipEscape:!0})),T.toLowerCase()===x.toLowerCase()}function f(T,x){const k={host:T.host,scheme:T.scheme,userinfo:T.userinfo,port:T.port,path:T.path,query:T.query,nid:T.nid,nss:T.nss,uuid:T.uuid,fragment:T.fragment,reference:T.reference,resourceName:T.resourceName,secure:T.secure,error:""},C=Object.assign({},x),E=[],P=c(C.scheme||k.scheme);P&&P.serialize&&P.serialize(k,C),k.path!==void 0&&(C.skipEscape?k.path=unescape(k.path):(k.path=escape(k.path),k.scheme!==void 0&&(k.path=k.path.split("%3A").join(":")))),C.reference!=="suffix"&&k.scheme&&E.push(k.scheme,":");const D=o(k);if(D!==void 0&&(C.reference!=="suffix"&&E.push("//"),E.push(D),k.path&&k.path[0]!=="/"&&E.push("/")),k.path!==void 0){let R=k.path;!C.absolutePath&&(!P||!P.absolutePath)&&(R=e(R)),D===void 0&&R[0]==="/"&&R[1]==="/"&&(R="/%2F"+R.slice(2)),E.push(R)}return k.query!==void 0&&E.push("?",k.query),k.fragment!==void 0&&E.push("#",k.fragment),E.join("")}const v=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function b(T,x){const k=Object.assign({},x),C={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0};let E=!1;k.reference==="suffix"&&(k.scheme?T=k.scheme+":"+T:T="//"+T);const P=T.match(v);if(P){if(C.scheme=P[1],C.userinfo=P[3],C.host=P[4],C.port=parseInt(P[5],10),C.path=P[6]||"",C.query=P[7],C.fragment=P[8],isNaN(C.port)&&(C.port=P[5]),C.host)if(n(C.host)===!1){const O=t(C.host);C.host=O.host.toLowerCase(),E=O.isIPV6}else E=!0;C.scheme===void 0&&C.userinfo===void 0&&C.host===void 0&&C.port===void 0&&C.query===void 0&&!C.path?C.reference="same-document":C.scheme===void 0?C.reference="relative":C.fragment===void 0?C.reference="absolute":C.reference="uri",k.reference&&k.reference!=="suffix"&&k.reference!==C.reference&&(C.error=C.error||"URI is not a "+k.reference+" reference.");const D=c(k.scheme||C.scheme);if(!k.unicodeSupport&&(!D||!D.unicodeSupport)&&C.host&&(k.domainHost||D&&D.domainHost)&&E===!1&&r(C.host))try{C.host=URL.domainToASCII(C.host.toLowerCase())}catch(R){C.error=C.error||"Host's domain name can not be converted to ASCII: "+R}(!D||D&&!D.skipNormalize)&&(T.indexOf("%")!==-1&&(C.scheme!==void 0&&(C.scheme=unescape(C.scheme)),C.host!==void 0&&(C.host=unescape(C.host))),C.path&&(C.path=escape(unescape(C.path))),C.fragment&&(C.fragment=encodeURI(decodeURIComponent(C.fragment)))),D&&D.parse&&D.parse(C,k)}else C.error=C.error||"URI can not be parsed.";return C}const S={SCHEMES:i,normalize:d,resolve:u,resolveComponent:m,equal:h,serialize:f,parse:b};return Yu.exports=S,Yu.exports.default=S,Yu.exports.fastUri=S,Yu.exports}var gD;function rQ(){if(gD)return ng;gD=1,Object.defineProperty(ng,"__esModule",{value:!0});const t=nQ();return t.code='require("ajv/dist/runtime/uri").default',ng.default=t,ng}var fD;function sQ(){return fD||(fD=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var e=nb();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return e.KeywordCxt}});var o=yt();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return o.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return o.CodeGen}});const a=Hk(),n=rb(),r=lB(),i=Gk(),c=yt(),d=ab(),u=Jf(),m=Lt(),h=oQ,f=rQ(),v=(Q,M)=>new RegExp(Q,M);v.code="new RegExp";const b=["removeAdditional","useDefaults","coerceTypes"],S=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),T={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},x={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},k=200;function C(Q){var M,G,V,L,z,X,de,ue,Ee,qe,Z,ne,ve,ie,Te,_e,it,ct,Ge,at,Ne,Oe,He,Y,ae;const le=Q.strict,Ce=(M=Q.code)===null||M===void 0?void 0:M.optimize,Ae=Ce===!0||Ce===void 0?1:Ce||0,Re=(V=(G=Q.code)===null||G===void 0?void 0:G.regExp)!==null&&V!==void 0?V:v,Ie=(L=Q.uriResolver)!==null&&L!==void 0?L:f.default;return{strictSchema:(X=(z=Q.strictSchema)!==null&&z!==void 0?z:le)!==null&&X!==void 0?X:!0,strictNumbers:(ue=(de=Q.strictNumbers)!==null&&de!==void 0?de:le)!==null&&ue!==void 0?ue:!0,strictTypes:(qe=(Ee=Q.strictTypes)!==null&&Ee!==void 0?Ee:le)!==null&&qe!==void 0?qe:"log",strictTuples:(ne=(Z=Q.strictTuples)!==null&&Z!==void 0?Z:le)!==null&&ne!==void 0?ne:"log",strictRequired:(ie=(ve=Q.strictRequired)!==null&&ve!==void 0?ve:le)!==null&&ie!==void 0?ie:!1,code:Q.code?{...Q.code,optimize:Ae,regExp:Re}:{optimize:Ae,regExp:Re},loopRequired:(Te=Q.loopRequired)!==null&&Te!==void 0?Te:k,loopEnum:(_e=Q.loopEnum)!==null&&_e!==void 0?_e:k,meta:(it=Q.meta)!==null&&it!==void 0?it:!0,messages:(ct=Q.messages)!==null&&ct!==void 0?ct:!0,inlineRefs:(Ge=Q.inlineRefs)!==null&&Ge!==void 0?Ge:!0,schemaId:(at=Q.schemaId)!==null&&at!==void 0?at:"$id",addUsedSchema:(Ne=Q.addUsedSchema)!==null&&Ne!==void 0?Ne:!0,validateSchema:(Oe=Q.validateSchema)!==null&&Oe!==void 0?Oe:!0,validateFormats:(He=Q.validateFormats)!==null&&He!==void 0?He:!0,unicodeRegExp:(Y=Q.unicodeRegExp)!==null&&Y!==void 0?Y:!0,int32range:(ae=Q.int32range)!==null&&ae!==void 0?ae:!0,uriResolver:Ie}}class E{constructor(M={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,M=this.opts={...M,...C(M)};const{es5:G,lines:V}=this.opts.code;this.scope=new c.ValueScope({scope:{},prefixes:S,es5:G,lines:V}),this.logger=j(M.logger);const L=M.validateFormats;M.validateFormats=!1,this.RULES=(0,r.getRules)(),P.call(this,T,M,"NOT SUPPORTED"),P.call(this,x,M,"DEPRECATED","warn"),this._metaOpts=q.call(this),M.formats&&O.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),M.keywords&&I.call(this,M.keywords),typeof M.meta=="object"&&this.addMetaSchema(M.meta),R.call(this),M.validateFormats=L}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:M,meta:G,schemaId:V}=this.opts;let L=h;V==="id"&&(L={...h},L.id=L.$id,delete L.$id),G&&M&&this.addMetaSchema(L,L[V],!1)}defaultMeta(){const{meta:M,schemaId:G}=this.opts;return this.opts.defaultMeta=typeof M=="object"?M[G]||M:void 0}validate(M,G){let V;if(typeof M=="string"){if(V=this.getSchema(M),!V)throw new Error(`no schema with key or ref "${M}"`)}else V=this.compile(M);const L=V(G);return"$async"in V||(this.errors=V.errors),L}compile(M,G){const V=this._addSchema(M,G);return V.validate||this._compileSchemaEnv(V)}compileAsync(M,G){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:V}=this.opts;return L.call(this,M,G);async function L(qe,Z){await z.call(this,qe.$schema);const ne=this._addSchema(qe,Z);return ne.validate||X.call(this,ne)}async function z(qe){qe&&!this.getSchema(qe)&&await L.call(this,{$ref:qe},!0)}async function X(qe){try{return this._compileSchemaEnv(qe)}catch(Z){if(!(Z instanceof n.default))throw Z;return de.call(this,Z),await ue.call(this,Z.missingSchema),X.call(this,qe)}}function de({missingSchema:qe,missingRef:Z}){if(this.refs[qe])throw new Error(`AnySchema ${qe} is loaded but ${Z} cannot be resolved`)}async function ue(qe){const Z=await Ee.call(this,qe);this.refs[qe]||await z.call(this,Z.$schema),this.refs[qe]||this.addSchema(Z,qe,G)}async function Ee(qe){const Z=this._loading[qe];if(Z)return Z;try{return await(this._loading[qe]=V(qe))}finally{delete this._loading[qe]}}}addSchema(M,G,V,L=this.opts.validateSchema){if(Array.isArray(M)){for(const X of M)this.addSchema(X,void 0,V,L);return this}let z;if(typeof M=="object"){const{schemaId:X}=this.opts;if(z=M[X],z!==void 0&&typeof z!="string")throw new Error(`schema ${X} must be string`)}return G=(0,d.normalizeId)(G||z),this._checkUnique(G),this.schemas[G]=this._addSchema(M,V,G,L,!0),this}addMetaSchema(M,G,V=this.opts.validateSchema){return this.addSchema(M,G,!0,V),this}validateSchema(M,G){if(typeof M=="boolean")return!0;let V;if(V=M.$schema,V!==void 0&&typeof V!="string")throw new Error("$schema must be a string");if(V=V||this.opts.defaultMeta||this.defaultMeta(),!V)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const L=this.validate(V,M);if(!L&&G){const z="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(z);else throw new Error(z)}return L}getSchema(M){let G;for(;typeof(G=D.call(this,M))=="string";)M=G;if(G===void 0){const{schemaId:V}=this.opts,L=new i.SchemaEnv({schema:{},schemaId:V});if(G=i.resolveSchema.call(this,L,M),!G)return;this.refs[M]=G}return G.validate||this._compileSchemaEnv(G)}removeSchema(M){if(M instanceof RegExp)return this._removeAllSchemas(this.schemas,M),this._removeAllSchemas(this.refs,M),this;switch(typeof M){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const G=D.call(this,M);return typeof G=="object"&&this._cache.delete(G.schema),delete this.schemas[M],delete this.refs[M],this}case"object":{const G=M;this._cache.delete(G);let V=M[this.opts.schemaId];return V&&(V=(0,d.normalizeId)(V),delete this.schemas[V],delete this.refs[V]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(M){for(const G of M)this.addKeyword(G);return this}addKeyword(M,G){let V;if(typeof M=="string")V=M,typeof G=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),G.keyword=V);else if(typeof M=="object"&&G===void 0){if(G=M,V=G.keyword,Array.isArray(V)&&!V.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(W.call(this,V,G),!G)return(0,m.eachItem)(V,z=>oe.call(this,z)),this;K.call(this,G);const L={...G,type:(0,u.getJSONTypes)(G.type),schemaType:(0,u.getJSONTypes)(G.schemaType)};return(0,m.eachItem)(V,L.type.length===0?z=>oe.call(this,z,L):z=>L.type.forEach(X=>oe.call(this,z,L,X))),this}getKeyword(M){const G=this.RULES.all[M];return typeof G=="object"?G.definition:!!G}removeKeyword(M){const{RULES:G}=this;delete G.keywords[M],delete G.all[M];for(const V of G.rules){const L=V.rules.findIndex(z=>z.keyword===M);L>=0&&V.rules.splice(L,1)}return this}addFormat(M,G){return typeof G=="string"&&(G=new RegExp(G)),this.formats[M]=G,this}errorsText(M=this.errors,{separator:G=", ",dataVar:V="data"}={}){return!M||M.length===0?"No errors":M.map(L=>`${V}${L.instancePath} ${L.message}`).reduce((L,z)=>L+G+z)}$dataMetaSchema(M,G){const V=this.RULES.all;M=JSON.parse(JSON.stringify(M));for(const L of G){const z=L.split("/").slice(1);let X=M;for(const de of z)X=X[de];for(const de in V){const ue=V[de];if(typeof ue!="object")continue;const{$data:Ee}=ue.definition,qe=X[de];Ee&&qe&&(X[de]=se(qe))}}return M}_removeAllSchemas(M,G){for(const V in M){const L=M[V];(!G||G.test(V))&&(typeof L=="string"?delete M[V]:L&&!L.meta&&(this._cache.delete(L.schema),delete M[V]))}}_addSchema(M,G,V,L=this.opts.validateSchema,z=this.opts.addUsedSchema){let X;const{schemaId:de}=this.opts;if(typeof M=="object")X=M[de];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof M!="boolean")throw new Error("schema must be object or boolean")}let ue=this._cache.get(M);if(ue!==void 0)return ue;V=(0,d.normalizeId)(X||V);const Ee=d.getSchemaRefs.call(this,M,V);return ue=new i.SchemaEnv({schema:M,schemaId:de,meta:G,baseId:V,localRefs:Ee}),this._cache.set(ue.schema,ue),z&&!V.startsWith("#")&&(V&&this._checkUnique(V),this.refs[V]=ue),L&&this.validateSchema(M,!0),ue}_checkUnique(M){if(this.schemas[M]||this.refs[M])throw new Error(`schema with key or id "${M}" already exists`)}_compileSchemaEnv(M){if(M.meta?this._compileMetaSchema(M):i.compileSchema.call(this,M),!M.validate)throw new Error("ajv implementation error");return M.validate}_compileMetaSchema(M){const G=this.opts;this.opts=this._metaOpts;try{i.compileSchema.call(this,M)}finally{this.opts=G}}}E.ValidationError=a.default,E.MissingRefError=n.default,t.default=E;function P(Q,M,G,V="error"){for(const L in Q){const z=L;z in M&&this.logger[V](`${G}: option ${L}. ${Q[z]}`)}}function D(Q){return Q=(0,d.normalizeId)(Q),this.schemas[Q]||this.refs[Q]}function R(){const Q=this.opts.schemas;if(Q)if(Array.isArray(Q))this.addSchema(Q);else for(const M in Q)this.addSchema(Q[M],M)}function O(){for(const Q in this.opts.formats){const M=this.opts.formats[Q];M&&this.addFormat(Q,M)}}function I(Q){if(Array.isArray(Q)){this.addVocabulary(Q);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const M in Q){const G=Q[M];G.keyword||(G.keyword=M),this.addKeyword(G)}}function q(){const Q={...this.opts};for(const M of b)delete Q[M];return Q}const B={log(){},warn(){},error(){}};function j(Q){if(Q===!1)return B;if(Q===void 0)return console;if(Q.log&&Q.warn&&Q.error)return Q;throw new Error("logger must implement log, warn and error methods")}const F=/^[a-z_$][a-z0-9_$:-]*$/i;function W(Q,M){const{RULES:G}=this;if((0,m.eachItem)(Q,V=>{if(G.keywords[V])throw new Error(`Keyword ${V} is already defined`);if(!F.test(V))throw new Error(`Keyword ${V} has invalid name`)}),!!M&&M.$data&&!("code"in M||"validate"in M))throw new Error('$data keyword must have "code" or "validate" function')}function oe(Q,M,G){var V;const L=M?.post;if(G&&L)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:z}=this;let X=L?z.post:z.rules.find(({type:ue})=>ue===G);if(X||(X={type:G,rules:[]},z.rules.push(X)),z.keywords[Q]=!0,!M)return;const de={keyword:Q,definition:{...M,type:(0,u.getJSONTypes)(M.type),schemaType:(0,u.getJSONTypes)(M.schemaType)}};M.before?H.call(this,X,de,M.before):X.rules.push(de),z.all[Q]=de,(V=M.implements)===null||V===void 0||V.forEach(ue=>this.addKeyword(ue))}function H(Q,M,G){const V=Q.rules.findIndex(L=>L.keyword===G);V>=0?Q.rules.splice(V,0,M):(Q.rules.push(M),this.logger.warn(`rule ${G} is not defined`))}function K(Q){let{metaSchema:M}=Q;M!==void 0&&(Q.$data&&this.opts.$data&&(M=se(M)),Q.validateSchema=this.compile(M,!0))}const J={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function se(Q){return{anyOf:[Q,J]}}})(gw)),gw}var rg={},sg={},ig={},vD;function iQ(){if(vD)return ig;vD=1,Object.defineProperty(ig,"__esModule",{value:!0});const t={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return ig.default=t,ig}var gi={},bD;function lQ(){if(bD)return gi;bD=1,Object.defineProperty(gi,"__esModule",{value:!0}),gi.callRef=gi.getValidate=void 0;const t=rb(),e=Dr(),o=yt(),a=Zi(),n=Gk(),r=Lt(),i={keyword:"$ref",schemaType:"string",code(u){const{gen:m,schema:h,it:f}=u,{baseId:v,schemaEnv:b,validateName:S,opts:T,self:x}=f,{root:k}=b;if((h==="#"||h==="#/")&&v===k.baseId)return E();const C=n.resolveRef.call(x,k,v,h);if(C===void 0)throw new t.default(f.opts.uriResolver,v,h);if(C instanceof n.SchemaEnv)return P(C);return D(C);function E(){if(b===k)return d(u,S,b,b.$async);const R=m.scopeValue("root",{ref:k});return d(u,(0,o._)`${R}.validate`,k,k.$async)}function P(R){const O=c(u,R);d(u,O,R,R.$async)}function D(R){const O=m.scopeValue("schema",T.code.source===!0?{ref:R,code:(0,o.stringify)(R)}:{ref:R}),I=m.name("valid"),q=u.subschema({schema:R,dataTypes:[],schemaPath:o.nil,topSchemaRef:O,errSchemaPath:h},I);u.mergeEvaluated(q),u.ok(I)}}};function c(u,m){const{gen:h}=u;return m.validate?h.scopeValue("validate",{ref:m.validate}):(0,o._)`${h.scopeValue("wrapper",{ref:m})}.validate`}gi.getValidate=c;function d(u,m,h,f){const{gen:v,it:b}=u,{allErrors:S,schemaEnv:T,opts:x}=b,k=x.passContext?a.default.this:o.nil;f?C():E();function C(){if(!T.$async)throw new Error("async schema referenced by sync schema");const R=v.let("valid");v.try(()=>{v.code((0,o._)`await ${(0,e.callValidateCode)(u,m,k)}`),D(m),S||v.assign(R,!0)},O=>{v.if((0,o._)`!(${O} instanceof ${b.ValidationError})`,()=>v.throw(O)),P(O),S||v.assign(R,!1)}),u.ok(R)}function E(){u.result((0,e.callValidateCode)(u,m,k),()=>D(m),()=>P(m))}function P(R){const O=(0,o._)`${R}.errors`;v.assign(a.default.vErrors,(0,o._)`${a.default.vErrors} === null ? ${O} : ${a.default.vErrors}.concat(${O})`),v.assign(a.default.errors,(0,o._)`${a.default.vErrors}.length`)}function D(R){var O;if(!b.opts.unevaluated)return;const I=(O=h?.validate)===null||O===void 0?void 0:O.evaluated;if(b.props!==!0)if(I&&!I.dynamicProps)I.props!==void 0&&(b.props=r.mergeEvaluated.props(v,I.props,b.props));else{const q=v.var("props",(0,o._)`${R}.evaluated.props`);b.props=r.mergeEvaluated.props(v,q,b.props,o.Name)}if(b.items!==!0)if(I&&!I.dynamicItems)I.items!==void 0&&(b.items=r.mergeEvaluated.items(v,I.items,b.items));else{const q=v.var("items",(0,o._)`${R}.evaluated.items`);b.items=r.mergeEvaluated.items(v,q,b.items,o.Name)}}}return gi.callRef=d,gi.default=i,gi}var yD;function cQ(){if(yD)return sg;yD=1,Object.defineProperty(sg,"__esModule",{value:!0});const t=iQ(),e=lQ(),o=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",t.default,e.default];return sg.default=o,sg}var lg={},cg={},SD;function dQ(){if(SD)return cg;SD=1,Object.defineProperty(cg,"__esModule",{value:!0});const t=yt(),e=t.operators,o={maximum:{okStr:"<=",ok:e.LTE,fail:e.GT},minimum:{okStr:">=",ok:e.GTE,fail:e.LT},exclusiveMaximum:{okStr:"<",ok:e.LT,fail:e.GTE},exclusiveMinimum:{okStr:">",ok:e.GT,fail:e.LTE}},a={message:({keyword:r,schemaCode:i})=>(0,t.str)`must be ${o[r].okStr} ${i}`,params:({keyword:r,schemaCode:i})=>(0,t._)`{comparison: ${o[r].okStr}, limit: ${i}}`},n={keyword:Object.keys(o),type:"number",schemaType:"number",$data:!0,error:a,code(r){const{keyword:i,data:c,schemaCode:d}=r;r.fail$data((0,t._)`${c} ${o[i].fail} ${d} || isNaN(${c})`)}};return cg.default=n,cg}var dg={},wD;function uQ(){if(wD)return dg;wD=1,Object.defineProperty(dg,"__esModule",{value:!0});const t=yt(),o={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:a})=>(0,t.str)`must be multiple of ${a}`,params:({schemaCode:a})=>(0,t._)`{multipleOf: ${a}}`},code(a){const{gen:n,data:r,schemaCode:i,it:c}=a,d=c.opts.multipleOfPrecision,u=n.let("res"),m=d?(0,t._)`Math.abs(Math.round(${u}) - ${u}) > 1e-${d}`:(0,t._)`${u} !== parseInt(${u})`;a.fail$data((0,t._)`(${i} === 0 || (${u} = ${r}/${i}, ${m}))`)}};return dg.default=o,dg}var ug={},pg={},xD;function pQ(){if(xD)return pg;xD=1,Object.defineProperty(pg,"__esModule",{value:!0});function t(e){const o=e.length;let a=0,n=0,r;for(;n<o;)a++,r=e.charCodeAt(n++),r>=55296&&r<=56319&&n<o&&(r=e.charCodeAt(n),(r&64512)===56320&&n++);return a}return pg.default=t,t.code='require("ajv/dist/runtime/ucs2length").default',pg}var TD;function mQ(){if(TD)return ug;TD=1,Object.defineProperty(ug,"__esModule",{value:!0});const t=yt(),e=Lt(),o=pQ(),n={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:r,schemaCode:i}){const c=r==="maxLength"?"more":"fewer";return(0,t.str)`must NOT have ${c} than ${i} characters`},params:({schemaCode:r})=>(0,t._)`{limit: ${r}}`},code(r){const{keyword:i,data:c,schemaCode:d,it:u}=r,m=i==="maxLength"?t.operators.GT:t.operators.LT,h=u.opts.unicode===!1?(0,t._)`${c}.length`:(0,t._)`${(0,e.useFunc)(r.gen,o.default)}(${c})`;r.fail$data((0,t._)`${h} ${m} ${d}`)}};return ug.default=n,ug}var mg={},kD;function hQ(){if(kD)return mg;kD=1,Object.defineProperty(mg,"__esModule",{value:!0});const t=Dr(),e=Lt(),o=yt(),n={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:r})=>(0,o.str)`must match pattern "${r}"`,params:({schemaCode:r})=>(0,o._)`{pattern: ${r}}`},code(r){const{gen:i,data:c,$data:d,schema:u,schemaCode:m,it:h}=r,f=h.opts.unicodeRegExp?"u":"";if(d){const{regExp:v}=h.opts.code,b=v.code==="new RegExp"?(0,o._)`new RegExp`:(0,e.useFunc)(i,v),S=i.let("valid");i.try(()=>i.assign(S,(0,o._)`${b}(${m}, ${f}).test(${c})`),()=>i.assign(S,!1)),r.fail$data((0,o._)`!${S}`)}else{const v=(0,t.usePattern)(r,u);r.fail$data((0,o._)`!${v}.test(${c})`)}}};return mg.default=n,mg}var hg={},ED;function gQ(){if(ED)return hg;ED=1,Object.defineProperty(hg,"__esModule",{value:!0});const t=yt(),o={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:a,schemaCode:n}){const r=a==="maxProperties"?"more":"fewer";return(0,t.str)`must NOT have ${r} than ${n} properties`},params:({schemaCode:a})=>(0,t._)`{limit: ${a}}`},code(a){const{keyword:n,data:r,schemaCode:i}=a,c=n==="maxProperties"?t.operators.GT:t.operators.LT;a.fail$data((0,t._)`Object.keys(${r}).length ${c} ${i}`)}};return hg.default=o,hg}var gg={},CD;function fQ(){if(CD)return gg;CD=1,Object.defineProperty(gg,"__esModule",{value:!0});const t=Dr(),e=yt(),o=Lt(),n={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:r}})=>(0,e.str)`must have required property '${r}'`,params:({params:{missingProperty:r}})=>(0,e._)`{missingProperty: ${r}}`},code(r){const{gen:i,schema:c,schemaCode:d,data:u,$data:m,it:h}=r,{opts:f}=h;if(!m&&c.length===0)return;const v=c.length>=f.loopRequired;if(h.allErrors?b():S(),f.strictRequired){const k=r.parentSchema.properties,{definedProperties:C}=r.it;for(const E of c)if(k?.[E]===void 0&&!C.has(E)){const P=h.schemaEnv.baseId+h.errSchemaPath,D=`required property "${E}" is not defined at "${P}" (strictRequired)`;(0,o.checkStrictMode)(h,D,h.opts.strictRequired)}}function b(){if(v||m)r.block$data(e.nil,T);else for(const k of c)(0,t.checkReportMissingProp)(r,k)}function S(){const k=i.let("missing");if(v||m){const C=i.let("valid",!0);r.block$data(C,()=>x(k,C)),r.ok(C)}else i.if((0,t.checkMissingProp)(r,c,k)),(0,t.reportMissingProp)(r,k),i.else()}function T(){i.forOf("prop",d,k=>{r.setParams({missingProperty:k}),i.if((0,t.noPropertyInData)(i,u,k,f.ownProperties),()=>r.error())})}function x(k,C){r.setParams({missingProperty:k}),i.forOf(k,d,()=>{i.assign(C,(0,t.propertyInData)(i,u,k,f.ownProperties)),i.if((0,e.not)(C),()=>{r.error(),i.break()})},e.nil)}}};return gg.default=n,gg}var fg={},_D;function vQ(){if(_D)return fg;_D=1,Object.defineProperty(fg,"__esModule",{value:!0});const t=yt(),o={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:a,schemaCode:n}){const r=a==="maxItems"?"more":"fewer";return(0,t.str)`must NOT have ${r} than ${n} items`},params:({schemaCode:a})=>(0,t._)`{limit: ${a}}`},code(a){const{keyword:n,data:r,schemaCode:i}=a,c=n==="maxItems"?t.operators.GT:t.operators.LT;a.fail$data((0,t._)`${r}.length ${c} ${i}`)}};return fg.default=o,fg}var vg={},bg={},PD;function Wk(){if(PD)return bg;PD=1,Object.defineProperty(bg,"__esModule",{value:!0});const t=dB();return t.code='require("ajv/dist/runtime/equal").default',bg.default=t,bg}var AD;function bQ(){if(AD)return vg;AD=1,Object.defineProperty(vg,"__esModule",{value:!0});const t=Jf(),e=yt(),o=Lt(),a=Wk(),r={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i,j:c}})=>(0,e.str)`must NOT have duplicate items (items ## ${c} and ${i} are identical)`,params:({params:{i,j:c}})=>(0,e._)`{i: ${i}, j: ${c}}`},code(i){const{gen:c,data:d,$data:u,schema:m,parentSchema:h,schemaCode:f,it:v}=i;if(!u&&!m)return;const b=c.let("valid"),S=h.items?(0,t.getSchemaTypes)(h.items):[];i.block$data(b,T,(0,e._)`${f} === false`),i.ok(b);function T(){const E=c.let("i",(0,e._)`${d}.length`),P=c.let("j");i.setParams({i:E,j:P}),c.assign(b,!0),c.if((0,e._)`${E} > 1`,()=>(x()?k:C)(E,P))}function x(){return S.length>0&&!S.some(E=>E==="object"||E==="array")}function k(E,P){const D=c.name("item"),R=(0,t.checkDataTypes)(S,D,v.opts.strictNumbers,t.DataType.Wrong),O=c.const("indices",(0,e._)`{}`);c.for((0,e._)`;${E}--;`,()=>{c.let(D,(0,e._)`${d}[${E}]`),c.if(R,(0,e._)`continue`),S.length>1&&c.if((0,e._)`typeof ${D} == "string"`,(0,e._)`${D} += "_"`),c.if((0,e._)`typeof ${O}[${D}] == "number"`,()=>{c.assign(P,(0,e._)`${O}[${D}]`),i.error(),c.assign(b,!1).break()}).code((0,e._)`${O}[${D}] = ${E}`)})}function C(E,P){const D=(0,o.useFunc)(c,a.default),R=c.name("outer");c.label(R).for((0,e._)`;${E}--;`,()=>c.for((0,e._)`${P} = ${E}; ${P}--;`,()=>c.if((0,e._)`${D}(${d}[${E}], ${d}[${P}])`,()=>{i.error(),c.assign(b,!1).break(R)})))}}};return vg.default=r,vg}var yg={},RD;function yQ(){if(RD)return yg;RD=1,Object.defineProperty(yg,"__esModule",{value:!0});const t=yt(),e=Lt(),o=Wk(),n={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:r})=>(0,t._)`{allowedValue: ${r}}`},code(r){const{gen:i,data:c,$data:d,schemaCode:u,schema:m}=r;d||m&&typeof m=="object"?r.fail$data((0,t._)`!${(0,e.useFunc)(i,o.default)}(${c}, ${u})`):r.fail((0,t._)`${m} !== ${c}`)}};return yg.default=n,yg}var Sg={},DD;function SQ(){if(DD)return Sg;DD=1,Object.defineProperty(Sg,"__esModule",{value:!0});const t=yt(),e=Lt(),o=Wk(),n={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:r})=>(0,t._)`{allowedValues: ${r}}`},code(r){const{gen:i,data:c,$data:d,schema:u,schemaCode:m,it:h}=r;if(!d&&u.length===0)throw new Error("enum must have non-empty array");const f=u.length>=h.opts.loopEnum;let v;const b=()=>v??(v=(0,e.useFunc)(i,o.default));let S;if(f||d)S=i.let("valid"),r.block$data(S,T);else{if(!Array.isArray(u))throw new Error("ajv implementation error");const k=i.const("vSchema",m);S=(0,t.or)(...u.map((C,E)=>x(k,E)))}r.pass(S);function T(){i.assign(S,!1),i.forOf("v",m,k=>i.if((0,t._)`${b()}(${c}, ${k})`,()=>i.assign(S,!0).break()))}function x(k,C){const E=u[C];return typeof E=="object"&&E!==null?(0,t._)`${b()}(${c}, ${k}[${C}])`:(0,t._)`${c} === ${E}`}}};return Sg.default=n,Sg}var OD;function wQ(){if(OD)return lg;OD=1,Object.defineProperty(lg,"__esModule",{value:!0});const t=dQ(),e=uQ(),o=mQ(),a=hQ(),n=gQ(),r=fQ(),i=vQ(),c=bQ(),d=yQ(),u=SQ(),m=[t.default,e.default,o.default,a.default,n.default,r.default,i.default,c.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},d.default,u.default];return lg.default=m,lg}var wg={},$c={},ND;function pB(){if(ND)return $c;ND=1,Object.defineProperty($c,"__esModule",{value:!0}),$c.validateAdditionalItems=void 0;const t=yt(),e=Lt(),a={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:r}})=>(0,t.str)`must NOT have more than ${r} items`,params:({params:{len:r}})=>(0,t._)`{limit: ${r}}`},code(r){const{parentSchema:i,it:c}=r,{items:d}=i;if(!Array.isArray(d)){(0,e.checkStrictMode)(c,'"additionalItems" is ignored when "items" is not an array of schemas');return}n(r,d)}};function n(r,i){const{gen:c,schema:d,data:u,keyword:m,it:h}=r;h.items=!0;const f=c.const("len",(0,t._)`${u}.length`);if(d===!1)r.setParams({len:i.length}),r.pass((0,t._)`${f} <= ${i.length}`);else if(typeof d=="object"&&!(0,e.alwaysValidSchema)(h,d)){const b=c.var("valid",(0,t._)`${f} <= ${i.length}`);c.if((0,t.not)(b),()=>v(b)),r.ok(b)}function v(b){c.forRange("i",i.length,f,S=>{r.subschema({keyword:m,dataProp:S,dataPropType:e.Type.Num},b),h.allErrors||c.if((0,t.not)(b),()=>c.break())})}}return $c.validateAdditionalItems=n,$c.default=a,$c}var xg={},Vc={},MD;function mB(){if(MD)return Vc;MD=1,Object.defineProperty(Vc,"__esModule",{value:!0}),Vc.validateTuple=void 0;const t=yt(),e=Lt(),o=Dr(),a={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(r){const{schema:i,it:c}=r;if(Array.isArray(i))return n(r,"additionalItems",i);c.items=!0,!(0,e.alwaysValidSchema)(c,i)&&r.ok((0,o.validateArray)(r))}};function n(r,i,c=r.schema){const{gen:d,parentSchema:u,data:m,keyword:h,it:f}=r;S(u),f.opts.unevaluated&&c.length&&f.items!==!0&&(f.items=e.mergeEvaluated.items(d,c.length,f.items));const v=d.name("valid"),b=d.const("len",(0,t._)`${m}.length`);c.forEach((T,x)=>{(0,e.alwaysValidSchema)(f,T)||(d.if((0,t._)`${b} > ${x}`,()=>r.subschema({keyword:h,schemaProp:x,dataProp:x},v)),r.ok(v))});function S(T){const{opts:x,errSchemaPath:k}=f,C=c.length,E=C===T.minItems&&(C===T.maxItems||T[i]===!1);if(x.strictTuples&&!E){const P=`"${h}" is ${C}-tuple, but minItems or maxItems/${i} are not specified or different at path "${k}"`;(0,e.checkStrictMode)(f,P,x.strictTuples)}}}return Vc.validateTuple=n,Vc.default=a,Vc}var ID;function xQ(){if(ID)return xg;ID=1,Object.defineProperty(xg,"__esModule",{value:!0});const t=mB(),e={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:o=>(0,t.validateTuple)(o,"items")};return xg.default=e,xg}var Tg={},LD;function TQ(){if(LD)return Tg;LD=1,Object.defineProperty(Tg,"__esModule",{value:!0});const t=yt(),e=Lt(),o=Dr(),a=pB(),r={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:i}})=>(0,t.str)`must NOT have more than ${i} items`,params:({params:{len:i}})=>(0,t._)`{limit: ${i}}`},code(i){const{schema:c,parentSchema:d,it:u}=i,{prefixItems:m}=d;u.items=!0,!(0,e.alwaysValidSchema)(u,c)&&(m?(0,a.validateAdditionalItems)(i,m):i.ok((0,o.validateArray)(i)))}};return Tg.default=r,Tg}var kg={},BD;function kQ(){if(BD)return kg;BD=1,Object.defineProperty(kg,"__esModule",{value:!0});const t=yt(),e=Lt(),a={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:n,max:r}})=>r===void 0?(0,t.str)`must contain at least ${n} valid item(s)`:(0,t.str)`must contain at least ${n} and no more than ${r} valid item(s)`,params:({params:{min:n,max:r}})=>r===void 0?(0,t._)`{minContains: ${n}}`:(0,t._)`{minContains: ${n}, maxContains: ${r}}`},code(n){const{gen:r,schema:i,parentSchema:c,data:d,it:u}=n;let m,h;const{minContains:f,maxContains:v}=c;u.opts.next?(m=f===void 0?1:f,h=v):m=1;const b=r.const("len",(0,t._)`${d}.length`);if(n.setParams({min:m,max:h}),h===void 0&&m===0){(0,e.checkStrictMode)(u,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(h!==void 0&&m>h){(0,e.checkStrictMode)(u,'"minContains" > "maxContains" is always invalid'),n.fail();return}if((0,e.alwaysValidSchema)(u,i)){let C=(0,t._)`${b} >= ${m}`;h!==void 0&&(C=(0,t._)`${C} && ${b} <= ${h}`),n.pass(C);return}u.items=!0;const S=r.name("valid");h===void 0&&m===1?x(S,()=>r.if(S,()=>r.break())):m===0?(r.let(S,!0),h!==void 0&&r.if((0,t._)`${d}.length > 0`,T)):(r.let(S,!1),T()),n.result(S,()=>n.reset());function T(){const C=r.name("_valid"),E=r.let("count",0);x(C,()=>r.if(C,()=>k(E)))}function x(C,E){r.forRange("i",0,b,P=>{n.subschema({keyword:"contains",dataProp:P,dataPropType:e.Type.Num,compositeRule:!0},C),E()})}function k(C){r.code((0,t._)`${C}++`),h===void 0?r.if((0,t._)`${C} >= ${m}`,()=>r.assign(S,!0).break()):(r.if((0,t._)`${C} > ${h}`,()=>r.assign(S,!1).break()),m===1?r.assign(S,!0):r.if((0,t._)`${C} >= ${m}`,()=>r.assign(S,!0)))}}};return kg.default=a,kg}var kw={},FD;function EQ(){return FD||(FD=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const e=yt(),o=Lt(),a=Dr();t.error={message:({params:{property:d,depsCount:u,deps:m}})=>{const h=u===1?"property":"properties";return(0,e.str)`must have ${h} ${m} when property ${d} is present`},params:({params:{property:d,depsCount:u,deps:m,missingProperty:h}})=>(0,e._)`{property: ${d},
53
53
  missingProperty: ${h},
54
54
  depsCount: ${u},
55
- deps: ${m}}`};const n={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(d){const[u,m]=r(d);i(d,u),c(d,m)}};function r({schema:d}){const u={},m={};for(const h in d){if(h==="__proto__")continue;const f=Array.isArray(d[h])?u:m;f[h]=d[h]}return[u,m]}function i(d,u=d.schema){const{gen:m,data:h,it:f}=d;if(Object.keys(u).length===0)return;const v=m.let("missing");for(const b in u){const S=u[b];if(S.length===0)continue;const T=(0,a.propertyInData)(m,h,b,f.opts.ownProperties);d.setParams({property:b,depsCount:S.length,deps:S.join(", ")}),f.allErrors?m.if(T,()=>{for(const x of S)(0,a.checkReportMissingProp)(d,x)}):(m.if((0,e._)`${T} && (${(0,a.checkMissingProp)(d,S,v)})`),(0,a.reportMissingProp)(d,v),m.else())}}t.validatePropertyDeps=i;function c(d,u=d.schema){const{gen:m,data:h,keyword:f,it:v}=d,b=m.name("valid");for(const S in u)(0,o.alwaysValidSchema)(v,u[S])||(m.if((0,a.propertyInData)(m,h,S,v.opts.ownProperties),()=>{const T=d.subschema({keyword:f,schemaProp:S},b);d.mergeValidEvaluated(T,b)},()=>m.var(b,!0)),d.ok(b))}t.validateSchemaDeps=c,t.default=n})(kw)),kw}var Eg={},jD;function CQ(){if(jD)return Eg;jD=1,Object.defineProperty(Eg,"__esModule",{value:!0});const t=yt(),e=Lt(),a={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:n})=>(0,t._)`{propertyName: ${n.propertyName}}`},code(n){const{gen:r,schema:i,data:c,it:d}=n;if((0,e.alwaysValidSchema)(d,i))return;const u=r.name("valid");r.forIn("key",c,m=>{n.setParams({propertyName:m}),n.subschema({keyword:"propertyNames",data:m,dataTypes:["string"],propertyName:m,compositeRule:!0},u),r.if((0,t.not)(u),()=>{n.error(!0),d.allErrors||r.break()})}),n.ok(u)}};return Eg.default=a,Eg}var Cg={},zD;function hB(){if(zD)return Cg;zD=1,Object.defineProperty(Cg,"__esModule",{value:!0});const t=Dr(),e=yt(),o=Zi(),a=Lt(),r={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:i})=>(0,e._)`{additionalProperty: ${i.additionalProperty}}`},code(i){const{gen:c,schema:d,parentSchema:u,data:m,errsCount:h,it:f}=i;if(!h)throw new Error("ajv implementation error");const{allErrors:v,opts:b}=f;if(f.props=!0,b.removeAdditional!=="all"&&(0,a.alwaysValidSchema)(f,d))return;const S=(0,t.allSchemaProperties)(u.properties),T=(0,t.allSchemaProperties)(u.patternProperties);x(),i.ok((0,e._)`${h} === ${o.default.errors}`);function x(){c.forIn("key",m,D=>{!S.length&&!T.length?E(D):c.if(k(D),()=>E(D))})}function k(D){let R;if(S.length>8){const O=(0,a.schemaRefOrVal)(f,u.properties,"properties");R=(0,t.isOwnProperty)(c,O,D)}else S.length?R=(0,e.or)(...S.map(O=>(0,e._)`${D} === ${O}`)):R=e.nil;return T.length&&(R=(0,e.or)(R,...T.map(O=>(0,e._)`${(0,t.usePattern)(i,O)}.test(${D})`))),(0,e.not)(R)}function C(D){c.code((0,e._)`delete ${m}[${D}]`)}function E(D){if(b.removeAdditional==="all"||b.removeAdditional&&d===!1){C(D);return}if(d===!1){i.setParams({additionalProperty:D}),i.error(),v||c.break();return}if(typeof d=="object"&&!(0,a.alwaysValidSchema)(f,d)){const R=c.name("valid");b.removeAdditional==="failing"?(P(D,R,!1),c.if((0,e.not)(R),()=>{i.reset(),C(D)})):(P(D,R),v||c.if((0,e.not)(R),()=>c.break()))}}function P(D,R,O){const I={keyword:"additionalProperties",dataProp:D,dataPropType:a.Type.Str};O===!1&&Object.assign(I,{compositeRule:!0,createErrors:!1,allErrors:!1}),i.subschema(I,R)}}};return Cg.default=r,Cg}var _g={},qD;function _Q(){if(qD)return _g;qD=1,Object.defineProperty(_g,"__esModule",{value:!0});const t=nb(),e=Dr(),o=Lt(),a=hB(),n={keyword:"properties",type:"object",schemaType:"object",code(r){const{gen:i,schema:c,parentSchema:d,data:u,it:m}=r;m.opts.removeAdditional==="all"&&d.additionalProperties===void 0&&a.default.code(new t.KeywordCxt(m,a.default,"additionalProperties"));const h=(0,e.allSchemaProperties)(c);for(const T of h)m.definedProperties.add(T);m.opts.unevaluated&&h.length&&m.props!==!0&&(m.props=o.mergeEvaluated.props(i,(0,o.toHash)(h),m.props));const f=h.filter(T=>!(0,o.alwaysValidSchema)(m,c[T]));if(f.length===0)return;const v=i.name("valid");for(const T of f)b(T)?S(T):(i.if((0,e.propertyInData)(i,u,T,m.opts.ownProperties)),S(T),m.allErrors||i.else().var(v,!0),i.endIf()),r.it.definedProperties.add(T),r.ok(v);function b(T){return m.opts.useDefaults&&!m.compositeRule&&c[T].default!==void 0}function S(T){r.subschema({keyword:"properties",schemaProp:T,dataProp:T},v)}}};return _g.default=n,_g}var Pg={},UD;function PQ(){if(UD)return Pg;UD=1,Object.defineProperty(Pg,"__esModule",{value:!0});const t=Dr(),e=yt(),o=Lt(),a=Lt(),n={keyword:"patternProperties",type:"object",schemaType:"object",code(r){const{gen:i,schema:c,data:d,parentSchema:u,it:m}=r,{opts:h}=m,f=(0,t.allSchemaProperties)(c),v=f.filter(E=>(0,o.alwaysValidSchema)(m,c[E]));if(f.length===0||v.length===f.length&&(!m.opts.unevaluated||m.props===!0))return;const b=h.strictSchema&&!h.allowMatchingProperties&&u.properties,S=i.name("valid");m.props!==!0&&!(m.props instanceof e.Name)&&(m.props=(0,a.evaluatedPropsToName)(i,m.props));const{props:T}=m;x();function x(){for(const E of f)b&&k(E),m.allErrors?C(E):(i.var(S,!0),C(E),i.if(S))}function k(E){for(const P in b)new RegExp(E).test(P)&&(0,o.checkStrictMode)(m,`property ${P} matches pattern ${E} (use allowMatchingProperties)`)}function C(E){i.forIn("key",d,P=>{i.if((0,e._)`${(0,t.usePattern)(r,E)}.test(${P})`,()=>{const D=v.includes(E);D||r.subschema({keyword:"patternProperties",schemaProp:E,dataProp:P,dataPropType:a.Type.Str},S),m.opts.unevaluated&&T!==!0?i.assign((0,e._)`${T}[${P}]`,!0):!D&&!m.allErrors&&i.if((0,e.not)(S),()=>i.break())})})}}};return Pg.default=n,Pg}var Ag={},$D;function AQ(){if($D)return Ag;$D=1,Object.defineProperty(Ag,"__esModule",{value:!0});const t=Lt(),e={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(o){const{gen:a,schema:n,it:r}=o;if((0,t.alwaysValidSchema)(r,n)){o.fail();return}const i=a.name("valid");o.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),o.failResult(i,()=>o.reset(),()=>o.error())},error:{message:"must NOT be valid"}};return Ag.default=e,Ag}var Rg={},VD;function RQ(){if(VD)return Rg;VD=1,Object.defineProperty(Rg,"__esModule",{value:!0});const e={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Dr().validateUnion,error:{message:"must match a schema in anyOf"}};return Rg.default=e,Rg}var Dg={},HD;function DQ(){if(HD)return Dg;HD=1,Object.defineProperty(Dg,"__esModule",{value:!0});const t=yt(),e=Lt(),a={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:n})=>(0,t._)`{passingSchemas: ${n.passing}}`},code(n){const{gen:r,schema:i,parentSchema:c,it:d}=n;if(!Array.isArray(i))throw new Error("ajv implementation error");if(d.opts.discriminator&&c.discriminator)return;const u=i,m=r.let("valid",!1),h=r.let("passing",null),f=r.name("_valid");n.setParams({passing:h}),r.block(v),n.result(m,()=>n.reset(),()=>n.error(!0));function v(){u.forEach((b,S)=>{let T;(0,e.alwaysValidSchema)(d,b)?r.var(f,!0):T=n.subschema({keyword:"oneOf",schemaProp:S,compositeRule:!0},f),S>0&&r.if((0,t._)`${f} && ${m}`).assign(m,!1).assign(h,(0,t._)`[${h}, ${S}]`).else(),r.if(f,()=>{r.assign(m,!0),r.assign(h,S),T&&n.mergeEvaluated(T,t.Name)})})}}};return Dg.default=a,Dg}var Og={},GD;function OQ(){if(GD)return Og;GD=1,Object.defineProperty(Og,"__esModule",{value:!0});const t=Lt(),e={keyword:"allOf",schemaType:"array",code(o){const{gen:a,schema:n,it:r}=o;if(!Array.isArray(n))throw new Error("ajv implementation error");const i=a.name("valid");n.forEach((c,d)=>{if((0,t.alwaysValidSchema)(r,c))return;const u=o.subschema({keyword:"allOf",schemaProp:d},i);o.ok(i),o.mergeEvaluated(u)})}};return Og.default=e,Og}var Ng={},WD;function NQ(){if(WD)return Ng;WD=1,Object.defineProperty(Ng,"__esModule",{value:!0});const t=yt(),e=Lt(),a={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:r})=>(0,t.str)`must match "${r.ifClause}" schema`,params:({params:r})=>(0,t._)`{failingKeyword: ${r.ifClause}}`},code(r){const{gen:i,parentSchema:c,it:d}=r;c.then===void 0&&c.else===void 0&&(0,e.checkStrictMode)(d,'"if" without "then" and "else" is ignored');const u=n(d,"then"),m=n(d,"else");if(!u&&!m)return;const h=i.let("valid",!0),f=i.name("_valid");if(v(),r.reset(),u&&m){const S=i.let("ifClause");r.setParams({ifClause:S}),i.if(f,b("then",S),b("else",S))}else u?i.if(f,b("then")):i.if((0,t.not)(f),b("else"));r.pass(h,()=>r.error(!0));function v(){const S=r.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},f);r.mergeEvaluated(S)}function b(S,T){return()=>{const x=r.subschema({keyword:S},f);i.assign(h,f),r.mergeValidEvaluated(x,h),T?i.assign(T,(0,t._)`${S}`):r.setParams({ifClause:S})}}}};function n(r,i){const c=r.schema[i];return c!==void 0&&!(0,e.alwaysValidSchema)(r,c)}return Ng.default=a,Ng}var Mg={},KD;function MQ(){if(KD)return Mg;KD=1,Object.defineProperty(Mg,"__esModule",{value:!0});const t=Lt(),e={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:o,parentSchema:a,it:n}){a.if===void 0&&(0,t.checkStrictMode)(n,`"${o}" without "if" is ignored`)}};return Mg.default=e,Mg}var YD;function IQ(){if(YD)return wg;YD=1,Object.defineProperty(wg,"__esModule",{value:!0});const t=pB(),e=xQ(),o=mB(),a=TQ(),n=kQ(),r=EQ(),i=CQ(),c=hB(),d=_Q(),u=PQ(),m=AQ(),h=RQ(),f=DQ(),v=OQ(),b=NQ(),S=MQ();function T(x=!1){const k=[m.default,h.default,f.default,v.default,b.default,S.default,i.default,c.default,r.default,d.default,u.default];return x?k.push(e.default,a.default):k.push(t.default,o.default),k.push(n.default),k}return wg.default=T,wg}var Ig={},Lg={},ZD;function LQ(){if(ZD)return Lg;ZD=1,Object.defineProperty(Lg,"__esModule",{value:!0});const t=yt(),o={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:a})=>(0,t.str)`must match format "${a}"`,params:({schemaCode:a})=>(0,t._)`{format: ${a}}`},code(a,n){const{gen:r,data:i,$data:c,schema:d,schemaCode:u,it:m}=a,{opts:h,errSchemaPath:f,schemaEnv:v,self:b}=m;if(!h.validateFormats)return;c?S():T();function S(){const x=r.scopeValue("formats",{ref:b.formats,code:h.code.formats}),k=r.const("fDef",(0,t._)`${x}[${u}]`),C=r.let("fType"),E=r.let("format");r.if((0,t._)`typeof ${k} == "object" && !(${k} instanceof RegExp)`,()=>r.assign(C,(0,t._)`${k}.type || "string"`).assign(E,(0,t._)`${k}.validate`),()=>r.assign(C,(0,t._)`"string"`).assign(E,k)),a.fail$data((0,t.or)(P(),D()));function P(){return h.strictSchema===!1?t.nil:(0,t._)`${u} && !${E}`}function D(){const R=v.$async?(0,t._)`(${k}.async ? await ${E}(${i}) : ${E}(${i}))`:(0,t._)`${E}(${i})`,O=(0,t._)`(typeof ${E} == "function" ? ${R} : ${E}.test(${i}))`;return(0,t._)`${E} && ${E} !== true && ${C} === ${n} && !${O}`}}function T(){const x=b.formats[d];if(!x){P();return}if(x===!0)return;const[k,C,E]=D(x);k===n&&a.pass(R());function P(){if(h.strictSchema===!1){b.logger.warn(O());return}throw new Error(O());function O(){return`unknown format "${d}" ignored in schema at path "${f}"`}}function D(O){const I=O instanceof RegExp?(0,t.regexpCode)(O):h.code.formats?(0,t._)`${h.code.formats}${(0,t.getProperty)(d)}`:void 0,q=r.scopeValue("formats",{key:d,ref:O,code:I});return typeof O=="object"&&!(O instanceof RegExp)?[O.type||"string",O.validate,(0,t._)`${q}.validate`]:["string",O,q]}function R(){if(typeof x=="object"&&!(x instanceof RegExp)&&x.async){if(!v.$async)throw new Error("async format in sync schema");return(0,t._)`await ${E}(${i})`}return typeof C=="function"?(0,t._)`${E}(${i})`:(0,t._)`${E}.test(${i})`}}}};return Lg.default=o,Lg}var QD;function BQ(){if(QD)return Ig;QD=1,Object.defineProperty(Ig,"__esModule",{value:!0});const e=[LQ().default];return Ig.default=e,Ig}var wl={},JD;function FQ(){return JD||(JD=1,Object.defineProperty(wl,"__esModule",{value:!0}),wl.contentVocabulary=wl.metadataVocabulary=void 0,wl.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],wl.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),wl}var XD;function jQ(){if(XD)return rg;XD=1,Object.defineProperty(rg,"__esModule",{value:!0});const t=cQ(),e=wQ(),o=IQ(),a=BQ(),n=FQ(),r=[t.default,e.default,(0,o.default)(),a.default,n.metadataVocabulary,n.contentVocabulary];return rg.default=r,rg}var Bg={},Zu={},eO;function zQ(){if(eO)return Zu;eO=1,Object.defineProperty(Zu,"__esModule",{value:!0}),Zu.DiscrError=void 0;var t;return(function(e){e.Tag="tag",e.Mapping="mapping"})(t||(Zu.DiscrError=t={})),Zu}var tO;function qQ(){if(tO)return Bg;tO=1,Object.defineProperty(Bg,"__esModule",{value:!0});const t=yt(),e=zQ(),o=Gk(),a=rb(),n=Lt(),i={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:c,tagName:d}})=>c===e.DiscrError.Tag?`tag "${d}" must be string`:`value of tag "${d}" must be in oneOf`,params:({params:{discrError:c,tag:d,tagName:u}})=>(0,t._)`{error: ${c}, tag: ${u}, tagValue: ${d}}`},code(c){const{gen:d,data:u,schema:m,parentSchema:h,it:f}=c,{oneOf:v}=h;if(!f.opts.discriminator)throw new Error("discriminator: requires discriminator option");const b=m.propertyName;if(typeof b!="string")throw new Error("discriminator: requires propertyName");if(m.mapping)throw new Error("discriminator: mapping is not supported");if(!v)throw new Error("discriminator: requires oneOf keyword");const S=d.let("valid",!1),T=d.const("tag",(0,t._)`${u}${(0,t.getProperty)(b)}`);d.if((0,t._)`typeof ${T} == "string"`,()=>x(),()=>c.error(!1,{discrError:e.DiscrError.Tag,tag:T,tagName:b})),c.ok(S);function x(){const E=C();d.if(!1);for(const P in E)d.elseIf((0,t._)`${T} === ${P}`),d.assign(S,k(E[P]));d.else(),c.error(!1,{discrError:e.DiscrError.Mapping,tag:T,tagName:b}),d.endIf()}function k(E){const P=d.name("valid"),D=c.subschema({keyword:"oneOf",schemaProp:E},P);return c.mergeEvaluated(D,t.Name),P}function C(){var E;const P={},D=O(h);let R=!0;for(let B=0;B<v.length;B++){let j=v[B];if(j?.$ref&&!(0,n.schemaHasRulesButRef)(j,f.self.RULES)){const W=j.$ref;if(j=o.resolveRef.call(f.self,f.schemaEnv.root,f.baseId,W),j instanceof o.SchemaEnv&&(j=j.schema),j===void 0)throw new a.default(f.opts.uriResolver,f.baseId,W)}const F=(E=j?.properties)===null||E===void 0?void 0:E[b];if(typeof F!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${b}"`);R=R&&(D||O(j)),I(F,B)}if(!R)throw new Error(`discriminator: "${b}" must be required`);return P;function O({required:B}){return Array.isArray(B)&&B.includes(b)}function I(B,j){if(B.const)q(B.const,j);else if(B.enum)for(const F of B.enum)q(F,j);else throw new Error(`discriminator: "properties/${b}" must have "const" or "enum"`)}function q(B,j){if(typeof B!="string"||B in P)throw new Error(`discriminator: "${b}" values must be unique strings`);P[B]=j}}}};return Bg.default=i,Bg}const UQ="http://json-schema.org/draft-07/schema#",$Q="http://json-schema.org/draft-07/schema#",VQ="Core schema meta-schema",HQ={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},GQ=["object","boolean"],WQ={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},KQ={$schema:UQ,$id:$Q,title:VQ,definitions:HQ,type:GQ,properties:WQ,default:!0};var oO;function YQ(){return oO||(oO=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.MissingRefError=e.ValidationError=e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=e.Ajv=void 0;const o=sQ(),a=jQ(),n=qQ(),r=KQ,i=["/properties"],c="http://json-schema.org/draft-07/schema";class d extends o.default{_addVocabularies(){super._addVocabularies(),a.default.forEach(b=>this.addVocabulary(b)),this.opts.discriminator&&this.addKeyword(n.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const b=this.opts.$data?this.$dataMetaSchema(r,i):r;this.addMetaSchema(b,c,!1),this.refs["http://json-schema.org/schema"]=c}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(c)?c:void 0)}}e.Ajv=d,t.exports=e=d,t.exports.Ajv=d,Object.defineProperty(e,"__esModule",{value:!0}),e.default=d;var u=nb();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var m=yt();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return m._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return m.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return m.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return m.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return m.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return m.CodeGen}});var h=Hk();Object.defineProperty(e,"ValidationError",{enumerable:!0,get:function(){return h.default}});var f=rb();Object.defineProperty(e,"MissingRefError",{enumerable:!0,get:function(){return f.default}})})(eg,eg.exports)),eg.exports}var Fg={exports:{}},Ew={},aO;function ZQ(){return aO||(aO=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.formatNames=t.fastFormats=t.fullFormats=void 0;function e(B,j){return{validate:B,compare:j}}t.fullFormats={date:e(r,i),time:e(d(!0),u),"date-time":e(f(!0),v),"iso-time":e(d(),m),"iso-date-time":e(f(),b),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:x,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:q,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:C,int32:{type:"number",validate:D},int64:{type:"number",validate:R},float:{type:"number",validate:O},double:{type:"number",validate:O},password:!0,binary:!0},t.fastFormats={...t.fullFormats,date:e(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,i),time:e(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,u),"date-time":e(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,v),"iso-time":e(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,m),"iso-date-time":e(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,b),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},t.formatNames=Object.keys(t.fullFormats);function o(B){return B%4===0&&(B%100!==0||B%400===0)}const a=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,n=[0,31,28,31,30,31,30,31,31,30,31,30,31];function r(B){const j=a.exec(B);if(!j)return!1;const F=+j[1],W=+j[2],oe=+j[3];return W>=1&&W<=12&&oe>=1&&oe<=(W===2&&o(F)?29:n[W])}function i(B,j){if(B&&j)return B>j?1:B<j?-1:0}const c=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function d(B){return function(F){const W=c.exec(F);if(!W)return!1;const oe=+W[1],H=+W[2],K=+W[3],J=W[4],se=W[5]==="-"?-1:1,Q=+(W[6]||0),M=+(W[7]||0);if(Q>23||M>59||B&&!J)return!1;if(oe<=23&&H<=59&&K<60)return!0;const G=H-M*se,V=oe-Q*se-(G<0?1:0);return(V===23||V===-1)&&(G===59||G===-1)&&K<61}}function u(B,j){if(!(B&&j))return;const F=new Date("2020-01-01T"+B).valueOf(),W=new Date("2020-01-01T"+j).valueOf();if(F&&W)return F-W}function m(B,j){if(!(B&&j))return;const F=c.exec(B),W=c.exec(j);if(F&&W)return B=F[1]+F[2]+F[3],j=W[1]+W[2]+W[3],B>j?1:B<j?-1:0}const h=/t|\s/i;function f(B){const j=d(B);return function(W){const oe=W.split(h);return oe.length===2&&r(oe[0])&&j(oe[1])}}function v(B,j){if(!(B&&j))return;const F=new Date(B).valueOf(),W=new Date(j).valueOf();if(F&&W)return F-W}function b(B,j){if(!(B&&j))return;const[F,W]=B.split(h),[oe,H]=j.split(h),K=i(F,oe);if(K!==void 0)return K||u(W,H)}const S=/\/|:/,T=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function x(B){return S.test(B)&&T.test(B)}const k=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function C(B){return k.lastIndex=0,k.test(B)}const E=-2147483648,P=2**31-1;function D(B){return Number.isInteger(B)&&B<=P&&B>=E}function R(B){return Number.isInteger(B)}function O(){return!0}const I=/[^\\]\\Z/;function q(B){if(I.test(B))return!1;try{return new RegExp(B),!0}catch{return!1}}})(Ew)),Ew}var Cw={},nO;function QQ(){return nO||(nO=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.formatLimitDefinition=void 0;const e=YQ(),o=yt(),a=o.operators,n={formatMaximum:{okStr:"<=",ok:a.LTE,fail:a.GT},formatMinimum:{okStr:">=",ok:a.GTE,fail:a.LT},formatExclusiveMaximum:{okStr:"<",ok:a.LT,fail:a.GTE},formatExclusiveMinimum:{okStr:">",ok:a.GT,fail:a.LTE}},r={message:({keyword:c,schemaCode:d})=>(0,o.str)`should be ${n[c].okStr} ${d}`,params:({keyword:c,schemaCode:d})=>(0,o._)`{comparison: ${n[c].okStr}, limit: ${d}}`};t.formatLimitDefinition={keyword:Object.keys(n),type:"string",schemaType:"string",$data:!0,error:r,code(c){const{gen:d,data:u,schemaCode:m,keyword:h,it:f}=c,{opts:v,self:b}=f;if(!v.validateFormats)return;const S=new e.KeywordCxt(f,b.RULES.all.format.definition,"format");S.$data?T():x();function T(){const C=d.scopeValue("formats",{ref:b.formats,code:v.code.formats}),E=d.const("fmt",(0,o._)`${C}[${S.schemaCode}]`);c.fail$data((0,o.or)((0,o._)`typeof ${E} != "object"`,(0,o._)`${E} instanceof RegExp`,(0,o._)`typeof ${E}.compare != "function"`,k(E)))}function x(){const C=S.schema,E=b.formats[C];if(!E||E===!0)return;if(typeof E!="object"||E instanceof RegExp||typeof E.compare!="function")throw new Error(`"${h}": format "${C}" does not define "compare" function`);const P=d.scopeValue("formats",{key:C,ref:E,code:v.code.formats?(0,o._)`${v.code.formats}${(0,o.getProperty)(C)}`:void 0});c.fail$data(k(P))}function k(C){return(0,o._)`${C}.compare(${u}, ${m}) ${n[h].fail} 0`}},dependencies:["format"]};const i=c=>(c.addKeyword(t.formatLimitDefinition),c);t.default=i})(Cw)),Cw}var rO;function JQ(){return rO||(rO=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});const o=ZQ(),a=QQ(),n=yt(),r=new n.Name("fullFormats"),i=new n.Name("fastFormats"),c=(u,m={keywords:!0})=>{if(Array.isArray(m))return d(u,m,o.fullFormats,r),u;const[h,f]=m.mode==="fast"?[o.fastFormats,i]:[o.fullFormats,r],v=m.formats||o.formatNames;return d(u,v,h,f),m.keywords&&(0,a.default)(u),u};c.get=(u,m="full")=>{const f=(m==="fast"?o.fastFormats:o.fullFormats)[u];if(!f)throw new Error(`Unknown format "${u}"`);return f};function d(u,m,h,f){var v,b;(v=(b=u.opts.code).formats)!==null&&v!==void 0||(b.formats=(0,n._)`require("ajv-formats/dist/formats").${f}`);for(const S of m)u.addFormat(S,h[S])}t.exports=e=c,Object.defineProperty(e,"__esModule",{value:!0}),e.default=c})(Fg,Fg.exports)),Fg.exports}var XQ=JQ();const Jxe=Gl(XQ);function eJ({studioUrl:t,meshUrl:e},o){return t??e??o}let Kk;Kk=globalThis.crypto;async function tJ(t){return(await Kk).getRandomValues(new Uint8Array(t))}async function oJ(t){const e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~",o=Math.pow(2,8)-Math.pow(2,8)%e.length;let a="";for(;a.length<t;){const n=await tJ(t-a.length);for(const r of n)r<o&&(a+=e[r%e.length])}return a}async function aJ(t){return await oJ(t)}async function nJ(t){const e=await(await Kk).subtle.digest("SHA-256",new TextEncoder().encode(t));return btoa(String.fromCharCode(...new Uint8Array(e))).replace(/\//g,"_").replace(/\+/g,"-").replace(/=/g,"")}async function Xxe(t){if(t||(t=43),t<43||t>128)throw`Expected a length between 43 and 128. Received ${t}.`;const e=await aJ(t),o=await nJ(e);return{code_verifier:e,code_challenge:o}}const Ca=SL().superRefine((t,e)=>{if(!URL.canParse(t))return e.addIssue({code:nK.custom,message:"URL must be parseable",fatal:!0}),d7}).refine(t=>{const e=new URL(t);return e.protocol!=="javascript:"&&e.protocol!=="data:"&&e.protocol!=="vbscript:"},{message:"URL cannot use javascript:, data:, or vbscript: scheme"}),eTe=_a({resource:$().url(),authorization_servers:je(Ca).optional(),jwks_uri:$().url().optional(),scopes_supported:je($()).optional(),bearer_methods_supported:je($()).optional(),resource_signing_alg_values_supported:je($()).optional(),resource_name:$().optional(),resource_documentation:$().optional(),resource_policy_uri:$().url().optional(),resource_tos_uri:$().url().optional(),tls_client_certificate_bound_access_tokens:Vt().optional(),authorization_details_types_supported:je($()).optional(),dpop_signing_alg_values_supported:je($()).optional(),dpop_bound_access_tokens_required:Vt().optional()}),rJ=_a({issuer:$(),authorization_endpoint:Ca,token_endpoint:Ca,registration_endpoint:Ca.optional(),scopes_supported:je($()).optional(),response_types_supported:je($()),response_modes_supported:je($()).optional(),grant_types_supported:je($()).optional(),token_endpoint_auth_methods_supported:je($()).optional(),token_endpoint_auth_signing_alg_values_supported:je($()).optional(),service_documentation:Ca.optional(),revocation_endpoint:Ca.optional(),revocation_endpoint_auth_methods_supported:je($()).optional(),revocation_endpoint_auth_signing_alg_values_supported:je($()).optional(),introspection_endpoint:$().optional(),introspection_endpoint_auth_methods_supported:je($()).optional(),introspection_endpoint_auth_signing_alg_values_supported:je($()).optional(),code_challenge_methods_supported:je($()).optional(),client_id_metadata_document_supported:Vt().optional()}),sJ=_a({issuer:$(),authorization_endpoint:Ca,token_endpoint:Ca,userinfo_endpoint:Ca.optional(),jwks_uri:Ca,registration_endpoint:Ca.optional(),scopes_supported:je($()).optional(),response_types_supported:je($()),response_modes_supported:je($()).optional(),grant_types_supported:je($()).optional(),acr_values_supported:je($()).optional(),subject_types_supported:je($()),id_token_signing_alg_values_supported:je($()),id_token_encryption_alg_values_supported:je($()).optional(),id_token_encryption_enc_values_supported:je($()).optional(),userinfo_signing_alg_values_supported:je($()).optional(),userinfo_encryption_alg_values_supported:je($()).optional(),userinfo_encryption_enc_values_supported:je($()).optional(),request_object_signing_alg_values_supported:je($()).optional(),request_object_encryption_alg_values_supported:je($()).optional(),request_object_encryption_enc_values_supported:je($()).optional(),token_endpoint_auth_methods_supported:je($()).optional(),token_endpoint_auth_signing_alg_values_supported:je($()).optional(),display_values_supported:je($()).optional(),claim_types_supported:je($()).optional(),claims_supported:je($()).optional(),service_documentation:$().optional(),claims_locales_supported:je($()).optional(),ui_locales_supported:je($()).optional(),claims_parameter_supported:Vt().optional(),request_parameter_supported:Vt().optional(),request_uri_parameter_supported:Vt().optional(),require_request_uri_registration:Vt().optional(),op_policy_uri:Ca.optional(),op_tos_uri:Ca.optional(),client_id_metadata_document_supported:Vt().optional()}),tTe=we({...sJ.shape,...rJ.pick({code_challenge_methods_supported:!0}).shape}),oTe=we({access_token:$(),id_token:$().optional(),token_type:$(),expires_in:AL().optional(),scope:$().optional(),refresh_token:$().optional()}).strip(),aTe=we({error:$(),error_description:$().optional(),error_uri:$().optional()}),sO=Ca.optional().or(Qe("").transform(()=>{})),iJ=we({redirect_uris:je(Ca),token_endpoint_auth_method:$().optional(),grant_types:je($()).optional(),response_types:je($()).optional(),client_name:$().optional(),client_uri:Ca.optional(),logo_uri:sO,scope:$().optional(),contacts:je($()).optional(),tos_uri:sO,policy_uri:$().optional(),jwks_uri:Ca.optional(),jwks:RW().optional(),software_id:$().optional(),software_version:$().optional(),software_statement:$().optional()}).strip(),lJ=we({client_id:$(),client_secret:$().optional(),client_id_issued_at:Mt().optional(),client_secret_expires_at:Mt().optional()}).strip(),nTe=iJ.merge(lJ);we({error:$(),error_description:$().optional()}).strip();we({token:$(),token_type_hint:$().optional()}).strip();class Oa extends Error{constructor(e,o){super(e),this.errorUri=o,this.name=this.constructor.name}toResponseObject(){const e={error:this.errorCode,error_description:this.message};return this.errorUri&&(e.error_uri=this.errorUri),e}get errorCode(){return this.constructor.errorCode}}class gT extends Oa{}gT.errorCode="invalid_request";class fT extends Oa{}fT.errorCode="invalid_client";class vT extends Oa{}vT.errorCode="invalid_grant";class bT extends Oa{}bT.errorCode="unauthorized_client";class yT extends Oa{}yT.errorCode="unsupported_grant_type";class ST extends Oa{}ST.errorCode="invalid_scope";class wT extends Oa{}wT.errorCode="access_denied";class xT extends Oa{}xT.errorCode="server_error";class TT extends Oa{}TT.errorCode="temporarily_unavailable";class kT extends Oa{}kT.errorCode="unsupported_response_type";class ET extends Oa{}ET.errorCode="unsupported_token_type";class CT extends Oa{}CT.errorCode="invalid_token";class _T extends Oa{}_T.errorCode="method_not_allowed";class PT extends Oa{}PT.errorCode="too_many_requests";class AT extends Oa{}AT.errorCode="invalid_client_metadata";class RT extends Oa{}RT.errorCode="insufficient_scope";class DT extends Oa{}DT.errorCode="invalid_target";const rTe={[gT.errorCode]:gT,[fT.errorCode]:fT,[vT.errorCode]:vT,[bT.errorCode]:bT,[yT.errorCode]:yT,[ST.errorCode]:ST,[wT.errorCode]:wT,[xT.errorCode]:xT,[TT.errorCode]:TT,[kT.errorCode]:kT,[ET.errorCode]:ET,[CT.errorCode]:CT,[_T.errorCode]:_T,[PT.errorCode]:PT,[AT.errorCode]:AT,[RT.errorCode]:RT,[DT.errorCode]:DT};async function gB(t){if(!t.getServerCapabilities()?.resources)return{resources:[]};try{return await t.listResources()}catch(o){if(o instanceof tb&&o.code===Up.MethodNotFound)return{resources:[]};throw o}}async function cJ(t,e){return await t.readResource({uri:e})}function sTe(t){const e=ye.c(12);let o,a;e[0]!==t?({client:o,...a}=t,e[0]=t,e[1]=o,e[2]=a):(o=e[1],a=e[2]);let n;e[3]!==o?(n=no.mcpResourcesList(o),e[3]=o,e[4]=n):n=e[4];let r;e[5]!==o?(r=()=>gB(o),e[5]=o,e[6]=r):r=e[6];const i=a.staleTime??3e4;let c;return e[7]!==a||e[8]!==n||e[9]!==r||e[10]!==i?(c={...a,queryKey:n,queryFn:r,staleTime:i,retry:!1},e[7]=a,e[8]=n,e[9]=r,e[10]=i,e[11]=c):c=e[11],Wi(c)}function iTe(t){const e=ye.c(12);let o,a;e[0]!==t?({client:o,...a}=t,e[0]=t,e[1]=o,e[2]=a):(o=e[1],a=e[2]);let n;e[3]!==o?(n=no.mcpResourcesList(o),e[3]=o,e[4]=n):n=e[4];let r;e[5]!==o?(r=()=>gB(o),e[5]=o,e[6]=r):r=e[6];const i=a.staleTime??3e4;let c;return e[7]!==a||e[8]!==n||e[9]!==r||e[10]!==i?(c={...a,queryKey:n,queryFn:r,staleTime:i,retry:!1},e[7]=a,e[8]=n,e[9]=r,e[10]=i,e[11]=c):c=e[11],Ls(c)}function lTe(t){const e=ye.c(15);let o,a,n;e[0]!==t?({client:o,uri:n,...a}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n):(o=e[1],a=e[2],n=e[3]);let r;e[4]!==o||e[5]!==n?(r=no.mcpReadResource(o,n),e[4]=o,e[5]=n,e[6]=r):r=e[6];let i;e[7]!==o||e[8]!==n?(i=()=>cJ(o,n),e[7]=o,e[8]=n,e[9]=i):i=e[9];const c=a.staleTime??3e4;let d;return e[10]!==a||e[11]!==r||e[12]!==i||e[13]!==c?(d={...a,queryKey:r,queryFn:i,staleTime:c,retry:!1},e[10]=a,e[11]=r,e[12]=i,e[13]=c,e[14]=d):d=e[14],Wi(d)}const fB="ui-resource-html";function cTe(t){const e=ye.c(22);let o,a,n,r,i,c;e[0]!==t?({orgSlug:n,connectionId:o,uri:c,studioUrl:i,meshUrl:a,...r}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n,e[4]=r,e[5]=i,e[6]=c):(o=e[1],a=e[2],n=e[3],r=e[4],i=e[5],c=e[6]);let d;e[7]!==o||e[8]!==n||e[9]!==c?(d=no.mcpUiResourceHtml(n,o,c),e[7]=o,e[8]=n,e[9]=c,e[10]=d):d=e[10];let u;e[11]!==o||e[12]!==a||e[13]!==n||e[14]!==i||e[15]!==c?(u=async()=>{const v=`${eJ({studioUrl:i,meshUrl:a},typeof window<"u"?window.location.origin:"")}/api/${encodeURIComponent(n)}/mcp/${encodeURIComponent(o)}/ui-resource?uri=${encodeURIComponent(c)}`,b=await fetch(v,{credentials:"include"});if(!b.ok)throw new Error(`Failed to read UI resource (${b.status})`);return b.text()},e[11]=o,e[12]=a,e[13]=n,e[14]=i,e[15]=c,e[16]=u):u=e[16];const m=r.staleTime??3e4;let h;return e[17]!==r||e[18]!==d||e[19]!==u||e[20]!==m?(h={...r,queryKey:d,queryFn:u,staleTime:m,retry:!1},e[17]=r,e[18]=d,e[19]=u,e[20]=m,e[21]=h):h=e[21],Wi(h)}const vB={featureNotInPlan:"feature_not_in_plan",aiBudgetExhausted:"ai_budget_exhausted"};class OT extends Error{constructor(e,o,a){super(e),this.status=o,this.code=a,this.name="StudioToolError"}status;code}function bB(t){return t instanceof OT&&Object.values(vB).includes(t.code??"")?t.code:null}async function dJ(t,e,o){const a=await fetch(`/api/${encodeURIComponent(t)}/tools/${encodeURIComponent(e)}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o??{})});if(!a.ok){let n=`${e} failed (${a.status})`,r;try{const i=await a.json();i?.error&&(n=i.error),typeof i?.code=="string"&&(r=i.code)}catch{}throw new OT(n,a.status,r)}try{return await a.json()}catch{throw new OT(`${e} returned a non-JSON response`,a.status)}}function Yk(){const t=ye.c(5),{org:e}=Yi(),o=e.slug;let a;t[0]!==o?(a=(r,i)=>dJ(o,r,i),t[0]=o,t[1]=a):a=t[1];let n;return t[2]!==o||t[3]!==a?(n={orgSlug:o,call:a},t[2]=o,t[3]=a,t[4]=n):n=t[4],n}function Zk(t){for(const e of["content-revision","content-versions","content-changes","content-draft-tombstones","content-index"])t.getQueryDefaults([e]).gcTime!==1/0&&t.setQueryDefaults([e],{gcTime:1/0})}const uJ="studio-ui-resources",Xf="html",pJ=10080*60*1e3,mJ=50,hJ=16*1024*1024;function gJ(t){return t[0]==="mcp"&&t[1]===fB}function sb(){return new Promise((t,e)=>{const o=indexedDB.open(uJ,1);o.onupgradeneeded=()=>{o.result.objectStoreNames.contains(Xf)||o.result.createObjectStore(Xf)},o.onsuccess=()=>t(o.result),o.onerror=()=>e(o.error)})}function Fd(t,e){return t.transaction(Xf,e).objectStore(Xf)}function NT(t){return new Promise((e,o)=>{t.onsuccess=()=>e(t.result),t.onerror=()=>o(t.error)})}async function fJ(t){if(!(typeof indexedDB>"u"))try{const e=await sb(),o=Fd(e,"readonly"),a=await NT(o.getAllKeys()),n=await NT(o.getAll()),r=Date.now(),i=a.map((u,m)=>({key:u,value:n[m]})).sort((u,m)=>(m.value?.updatedAt??0)-(u.value?.updatedAt??0)),c=[];let d=0;for(const{key:u,value:m}of i){if(!m||r-m.updatedAt>pJ||d>=mJ){c.push(u);continue}d++;try{const f=JSON.parse(String(u));t.getQueryData(f)===void 0&&t.setQueryData(f,m.html,{updatedAt:0})}catch{c.push(u)}}if(c.length>0){const u=Fd(e,"readwrite");for(const m of c)u.delete(m)}}catch{}}function vJ(t){if(typeof indexedDB>"u")return()=>{};const e=sb().catch(()=>null);return t.getQueryCache().subscribe(o=>{const a=o.query;if(!Array.isArray(a.queryKey)||!gJ(a.queryKey)||a.state.status!=="success")return;const n=a.state.data;typeof n!="string"||n.length>hJ||e.then(r=>{if(r)try{Fd(r,"readwrite").put({html:n,updatedAt:Date.now()},JSON.stringify(a.queryKey))}catch{}})})}function bJ(){typeof indexedDB>"u"||sb().then(t=>Fd(t,"readwrite").clear()).catch(()=>{})}async function dTe(t){if(!(typeof indexedDB>"u"))try{const e=await sb(),o=await NT(Fd(e,"readonly").getAllKeys()),a=Fd(e,"readwrite");for(const n of o)try{const r=JSON.parse(String(n));r[1]===fB&&r[3]===t&&a.delete(n)}catch{}}catch{}}const ev="studio:rq-cache",Qk=1440*60*1e3,yJ=1e3,SJ=new Set(["publicConfig","ai-provider-keys","organization-settings","home-next-actions","order-monitor"]),wJ=new Set(["VIRTUAL_MCP","CONNECTIONS"]);let yB=!1,SB=!1;function xJ(t){const e=t[0];return typeof e=="string"&&SJ.has(e)?!0:t[3]==="collection"&&typeof t[4]=="string"&&wJ.has(t[4])}function TJ(t){if(!(typeof window>"u"))try{const e=window.localStorage.getItem(ev);if(!e)return;const o=JSON.parse(e),a=!o.timestamp||Date.now()-o.timestamp>Qk;if(o.buster!=="4.571.0"||a||!o.state){window.localStorage.removeItem(ev);return}qV(t,o.state),t.invalidateQueries({queryKey:no.publicConfig(),refetchType:"none"}),yB=!0}catch{AJ()}}function kJ(t){if(typeof window>"u")return()=>{};let e=null;const o=()=>{e=null;try{const r=zV(t,{shouldDehydrateQuery:i=>i.state.status==="success"&&xJ(i.queryKey)});window.localStorage.setItem(ev,JSON.stringify({buster:"4.571.0",timestamp:Date.now(),state:r}))}catch{}},a=t.getQueryCache().subscribe(()=>{e==null&&(e=setTimeout(o,yJ))}),n=()=>{e!=null&&(clearTimeout(e),o())};return window.addEventListener("pagehide",n),()=>{e!=null&&clearTimeout(e),window.removeEventListener("pagehide",n),a()}}const wB="studio:org-cache:",EJ=20;function CJ(t){const e=Date.now(),o=Object.entries(t).filter(([,a])=>e-a.updatedAt<=Qk);for(o.sort(([,a],[,n])=>a.updatedAt-n.updatedAt);o.length>EJ;)o.shift();return Object.fromEntries(o)}function xB(t){return`${wB}${t}`}function _J(t,e){if(typeof window>"u")return null;try{const o=window.localStorage.getItem(xB(t));if(!o)return null;const a=JSON.parse(o)[e];return!a||Date.now()-a.updatedAt>Qk?null:(SB=!0,a)}catch{return null}}function PJ(t,e,o){if(!(typeof window>"u"))try{const a=xB(t),n=window.localStorage.getItem(a),r=n?JSON.parse(n):{};r[e]={data:o,updatedAt:Date.now()},window.localStorage.setItem(a,JSON.stringify(CJ(r)))}catch{}}function AJ(){if(bJ(),!(typeof window>"u"))try{window.localStorage.removeItem(ev);for(let t=window.localStorage.length-1;t>=0;t--){const e=window.localStorage.key(t);e?.startsWith(wB)&&window.localStorage.removeItem(e)}}catch{}}function RJ(){return yB}function DJ(){return SB}function iO(t){const e=bB(t);if(!e)return;const o=e===vB.aiBudgetExhausted?tv.budget||"This organization's AI allowance is used up.":tv.feature||"This organization's plan does not include that.";Bd.error(o,{id:`plan-refusal:${e}`})}const tv={feature:"",budget:""},Zl=new JV({queryCache:new mI({onError:iO}),mutationCache:new pI({onError:iO}),defaultOptions:{queries:{staleTime:6e4,refetchOnWindowFocus:!0,refetchOnMount:!0,retry:(t,e)=>bB(e)===null&&t<1,gcTime:300*1e3}}});Zk(Zl);TJ(Zl);kJ(Zl);fJ(Zl);vJ(Zl);const Jk=5*6e4;async function TB(){return(await(await fetch("/api/config")).json()).config}function kB(){const t=ye.c(1);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={queryKey:no.publicConfig(),queryFn:TB,staleTime:Jk},t[0]=e):e=t[0];const{data:o}=Wi(e);return o}function uTe(){const t=ye.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e={queryKey:no.publicConfig(),queryFn:TB,staleTime:Jk},t[0]=e):e=t[0],Ls(e).data}const EB=A.createContext(void 0);function OJ(t){const e=ye.c(3),{children:o}=t,a=kB();let n;return e[0]!==o||e[1]!==a.auth?(n=y.jsx(EB.Provider,{value:a.auth,children:o}),e[0]=o,e[1]=a.auth,e[2]=n):n=e[2],n}function pTe(){const t=A.useContext(EB);if(t===void 0)throw new Error("useAuthConfig must be used within AuthConfigProvider");return t}var NJ={},lO={};const wf=Object.create(null),Qu=t=>NJ||globalThis.Deno?.env.toObject()||globalThis.__env__||(t?wf:globalThis),Xn=new Proxy(wf,{get(t,e){return Qu()[e]??wf[e]},has(t,e){return e in Qu()||e in wf},set(t,e,o){const a=Qu(!0);return a[e]=o,!0},deleteProperty(t,e){if(!e)return!1;const o=Qu(!0);return delete o[e],!0},ownKeys(){const t=Qu(!0);return Object.keys(t)}});function Qo(t,e){return typeof process<"u"&&lO?lO[t]??e:typeof Deno<"u"?Deno.env.get(t)??e:typeof Bun<"u"?Bun.env[t]??e:e}const Ju=1,ma=4,Vr=8,Nn=24,cO={eterm:ma,cons25:ma,console:ma,cygwin:ma,dtterm:ma,gnome:ma,hurd:ma,jfbterm:ma,konsole:ma,kterm:ma,mlterm:ma,mosh:Nn,putty:ma,st:ma,"rxvt-unicode-24bit":Nn,terminator:Nn,"xterm-kitty":Nn},MJ=new Map(Object.entries({APPVEYOR:Vr,BUILDKITE:Vr,CIRCLECI:Nn,DRONE:Vr,GITEA_ACTIONS:Nn,GITHUB_ACTIONS:Nn,GITLAB_CI:Vr,TRAVIS:Vr})),IJ=[/ansi/,/color/,/linux/,/direct/,/^con[0-9]*x[0-9]/,/^rxvt/,/^screen/,/^xterm/,/^vt100/,/^vt220/];function LJ(){if(Qo("FORCE_COLOR")!==void 0)switch(Qo("FORCE_COLOR")){case"":case"1":case"true":return ma;case"2":return Vr;case"3":return Nn;default:return Ju}if(Qo("NODE_DISABLE_COLORS")!==void 0&&Qo("NODE_DISABLE_COLORS")!==""||Qo("NO_COLOR")!==void 0&&Qo("NO_COLOR")!==""||Qo("TERM")==="dumb")return Ju;if(Qo("TMUX"))return Nn;if("TF_BUILD"in Xn&&"AGENT_NAME"in Xn)return ma;if("CI"in Xn){for(const{0:t,1:e}of MJ)if(t in Xn)return e;return Qo("CI_NAME")==="codeship"?Vr:Ju}if("TEAMCITY_VERSION"in Xn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.exec(Qo("TEAMCITY_VERSION"))!==null?ma:Ju;switch(Qo("TERM_PROGRAM")){case"iTerm.app":return!Qo("TERM_PROGRAM_VERSION")||/^[0-2]\./.exec(Qo("TERM_PROGRAM_VERSION"))!==null?Vr:Nn;case"HyperTerm":case"MacTerm":return Nn;case"Apple_Terminal":return Vr}if(Qo("COLORTERM")==="truecolor"||Qo("COLORTERM")==="24bit")return Nn;if(Qo("TERM")){if(/truecolor/.exec(Qo("TERM"))!==null)return Nn;if(/^xterm-256/.exec(Qo("TERM"))!==null)return Vr;const t=Qo("TERM").toLowerCase();if(cO[t])return cO[t];if(IJ.some(e=>e.exec(t)!==null))return ma}return Qo("COLORTERM")?ma:Ju}const Hr={reset:"\x1B[0m",bright:"\x1B[1m",dim:"\x1B[2m",fg:{red:"\x1B[31m",green:"\x1B[32m",yellow:"\x1B[33m",blue:"\x1B[34m",magenta:"\x1B[35m"}},MT=["debug","info","success","warn","error"];function BJ(t,e){return MT.indexOf(e)>=MT.indexOf(t)}const FJ={info:Hr.fg.blue,success:Hr.fg.green,warn:Hr.fg.yellow,error:Hr.fg.red,debug:Hr.fg.magenta},jJ=(t,e,o)=>{const a=new Date().toISOString();return o?`${Hr.dim}${a}${Hr.reset} ${FJ[t]}${t.toUpperCase()}${Hr.reset} ${Hr.bright}[Better Auth]:${Hr.reset} ${e}`:`${a} ${t.toUpperCase()} [Better Auth]: ${e}`},zJ=t=>{const e="warn",o=LJ()!==1,a=(n,r,i=[])=>{if(!BJ(e,n))return;const c=jJ(n,r,o);{n==="error"?console.error(c,...i):n==="warn"?console.warn(c,...i):console.log(c,...i);return}};return{...Object.fromEntries(MT.map(n=>[n,(...[r,...i])=>a(n,r,i)])),get level(){return e}}};zJ();function qJ(t){return t.charAt(0).toUpperCase()+t.slice(1)}var Ep=class extends Error{constructor(t,e){super(t,e),this.name="BetterAuthError",this.message=t,this.stack=""}};function UJ(t){try{return(new URL(t).pathname.replace(/\/+$/,"")||"/")!=="/"}catch{throw new Ep(`Invalid base URL: ${t}. Please provide a valid base URL.`)}}function $J(t){try{const e=new URL(t);if(e.protocol!=="http:"&&e.protocol!=="https:")throw new Ep(`Invalid base URL: ${t}. URL must include 'http://' or 'https://'`)}catch(e){throw e instanceof Ep?e:new Ep(`Invalid base URL: ${t}. Please provide a valid base URL.`,{cause:e})}}function _w(t,e="/api/auth"){if($J(t),UJ(t))return t;const o=t.replace(/\/+$/,"");return!e||e==="/"?o:(e=e.startsWith("/")?e:`/${e}`,`${o}${e}`)}function VJ(t,e,o,a,n){if(t)return _w(t,e);{const r=Xn.BETTER_AUTH_URL||Xn.NEXT_PUBLIC_BETTER_AUTH_URL||Xn.PUBLIC_BETTER_AUTH_URL||Xn.NUXT_PUBLIC_BETTER_AUTH_URL||Xn.NUXT_PUBLIC_AUTH_URL||(Xn.BASE_URL!=="/"?Xn.BASE_URL:void 0);if(r)return _w(r,e)}if(typeof window<"u"&&window.location)return _w(window.location.origin,e)}const HJ={id:"redirect",name:"Redirect",hooks:{onSuccess(t){if(t.data?.url&&t.data?.redirect&&typeof window<"u"&&window.location&&window.location)try{window.location.href=t.data.url}catch{}}}},GJ={proto:/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,constructor:/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,protoShort:/"__proto__"\s*:/,constructorShort:/"constructor"\s*:/},WJ=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/,dO={true:!0,false:!1,null:null,undefined:void 0,nan:NaN,infinity:Number.POSITIVE_INFINITY,"-infinity":Number.NEGATIVE_INFINITY},KJ=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,7}))?(?:Z|([+-])(\d{2}):(\d{2}))$/;function YJ(t){return t instanceof Date&&!isNaN(t.getTime())}function ZJ(t){const e=KJ.exec(t);if(!e)return null;const[,o,a,n,r,i,c,d,u,m,h]=e,f=new Date(Date.UTC(parseInt(o,10),parseInt(a,10)-1,parseInt(n,10),parseInt(r,10),parseInt(i,10),parseInt(c,10),d?parseInt(d.padEnd(3,"0"),10):0));if(u){const v=(parseInt(m,10)*60+parseInt(h,10))*(u==="+"?-1:1);f.setUTCMinutes(f.getUTCMinutes()+v)}return YJ(f)?f:null}function QJ(t,e={}){const{strict:o=!1,warnings:a=!1,reviver:n,parseDates:r=!0}=e;if(typeof t!="string")return t;const i=t.trim();if(i.length>0&&i[0]==='"'&&i.endsWith('"')&&!i.slice(1,-1).includes('"'))return i.slice(1,-1);const c=i.toLowerCase();if(c.length<=9&&c in dO)return dO[c];if(!WJ.test(i)){if(o)throw new SyntaxError("[better-json] Invalid JSON");return t}if(Object.entries(GJ).some(([d,u])=>{const m=u.test(i);return m&&a&&console.warn(`[better-json] Detected potential prototype pollution attempt using ${d} pattern`),m})&&o)throw new Error("[better-json] Potential prototype pollution attempt detected");try{return JSON.parse(i,(u,m)=>{if(u==="__proto__"||u==="constructor"&&m&&typeof m=="object"&&"prototype"in m){a&&console.warn(`[better-json] Dropping "${u}" key to prevent prototype pollution`);return}if(r&&typeof m=="string"){const h=ZJ(m);if(h)return h}return n?n(u,m):m})}catch(d){if(o)throw d;return t}}function JJ(t,e={strict:!0}){return QJ(t,e)}let fr=[],fi=0;const jg=4,XJ=globalThis.nanostoresGlobal||={epoch:0},hd=t=>{let e=[],o={get(){return o.lc||o.listen(()=>{})(),o.value},init:t,lc:0,listen(a){return o.lc=e.push(a),()=>{for(let r=fi+jg;r<fr.length;)fr[r]===a?fr.splice(r,jg):r+=jg;let n=e.indexOf(a);~n&&(e.splice(n,1),--o.lc||o.off())}},notify(a,n){XJ.epoch++;let r=!fr.length;for(let i of e)fr.push(i,o.value,a,n);if(r){for(fi=0;fi<fr.length;fi+=jg)fr[fi](fr[fi+1],fr[fi+2],fr[fi+3]);fr.length=0}},off(){},set(a){let n=o.value;n!==a&&(o.value=a,o.notify(n))},subscribe(a){let n=o.listen(a);return a(o.value),n},value:t};return o},eX=5,zg=6,qg=10;let tX=(t,e,o,a)=>(t.events=t.events||{},t.events[o+qg]||(t.events[o+qg]=a(n=>{t.events[o].reduceRight((r,i)=>(i(r),r),{shared:{},...n})})),t.events[o]=t.events[o]||[],t.events[o].push(e),()=>{let n=t.events[o],r=n.indexOf(e);n.splice(r,1),n.length||(delete t.events[o],t.events[o+qg](),delete t.events[o+qg])});const oX=1e3;let CB=(t,e)=>tX(t,a=>{let n=e(a);n&&t.events[zg].push(n)},eX,a=>{let n=t.listen;t.listen=(...i)=>(!t.lc&&!t.active&&(t.active=!0,a()),n(...i));let r=t.off;return t.events[zg]=[],t.off=()=>{r(),setTimeout(()=>{if(t.active&&!t.lc){t.active=!1;for(let i of t.events[zg])i();t.events[zg]=[]}},oX)},()=>{t.listen=n,t.off=r}});function aX(t,e,o){let a=new Set(e).add(void 0);return t.listen((n,r,i)=>{a.has(i)&&o(n,r,i)})}const nX=()=>typeof window>"u",hp=(t,e,o,a)=>{const n=hd({data:null,error:null,isPending:!0,isRefetching:!1,refetch:c=>r(c)}),r=async c=>new Promise(d=>{const u=typeof a=="function"?a({data:n.get().data,error:n.get().error,isPending:n.get().isPending}):a;o(e,{...u,query:{...u?.query,...c?.query},async onSuccess(m){n.set({data:m.data,error:null,isPending:!1,isRefetching:!1,refetch:n.value.refetch}),await u?.onSuccess?.(m)},async onError(m){const{request:h}=m,f=typeof h.retry=="number"?h.retry:h.retry?.attempts,v=h.retryAttempt||0;f&&v<f||(n.set({error:m.error,data:null,isPending:!1,isRefetching:!1,refetch:n.value.refetch}),await u?.onError?.(m))},async onRequest(m){const h=n.get();n.set({isPending:h.data===null,data:h.data,error:null,isRefetching:!0,refetch:n.value.refetch}),await u?.onRequest?.(m)}}).catch(m=>{n.set({error:m,data:null,isPending:!1,isRefetching:!1,refetch:n.value.refetch})}).finally(()=>{d(void 0)})});t=Array.isArray(t)?t:[t];let i=!1;for(const c of t)c.subscribe(async()=>{nX()||(i?await r():CB(n,()=>{const d=setTimeout(async()=>{i||(await r(),i=!0)},0);return()=>{n.off(),c.off(),clearTimeout(d)}}))});return n},Pw=Symbol.for("better-auth:broadcast-channel"),rX=()=>Math.floor(Date.now()/1e3);var sX=class{listeners=new Set;name;constructor(t="better-auth.message"){this.name=t}subscribe(t){return this.listeners.add(t),()=>{this.listeners.delete(t)}}post(t){if(!(typeof window>"u"))try{localStorage.setItem(this.name,JSON.stringify({...t,timestamp:rX()}))}catch{}}setup(){if(typeof window>"u"||typeof window.addEventListener>"u")return()=>{};const t=e=>{if(e.key!==this.name)return;const o=JSON.parse(e.newValue??"{}");o?.event!=="session"||!o?.data||this.listeners.forEach(a=>a(o))};return window.addEventListener("storage",t),()=>{window.removeEventListener("storage",t)}}};function Aw(t="better-auth.message"){return globalThis[Pw]||(globalThis[Pw]=new sX(t)),globalThis[Pw]}const Rw=Symbol.for("better-auth:focus-manager");var iX=class{listeners=new Set;subscribe(t){return this.listeners.add(t),()=>{this.listeners.delete(t)}}setFocused(t){this.listeners.forEach(e=>e(t))}setup(){if(typeof window>"u"||typeof document>"u"||typeof window.addEventListener>"u")return()=>{};const t=()=>{document.visibilityState==="visible"&&this.setFocused(!0)};return document.addEventListener("visibilitychange",t,!1),()=>{document.removeEventListener("visibilitychange",t,!1)}}};function uO(){return globalThis[Rw]||(globalThis[Rw]=new iX),globalThis[Rw]}const Dw=Symbol.for("better-auth:online-manager");var lX=class{listeners=new Set;isOnline=typeof navigator<"u"?navigator.onLine:!0;subscribe(t){return this.listeners.add(t),()=>{this.listeners.delete(t)}}setOnline(t){this.isOnline=t,this.listeners.forEach(e=>e(t))}setup(){if(typeof window>"u"||typeof window.addEventListener>"u")return()=>{};const t=()=>this.setOnline(!0),e=()=>this.setOnline(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",e,!1),()=>{window.removeEventListener("online",t,!1),window.removeEventListener("offline",e,!1)}}};function Ow(){return globalThis[Dw]||(globalThis[Dw]=new lX),globalThis[Dw]}const Hc=()=>Math.floor(Date.now()/1e3),cX=5;function dX(t){const{sessionAtom:e,sessionSignal:o,$fetch:a,options:n={}}=t,r=n.sessionOptions?.refetchInterval??0,i=n.sessionOptions?.refetchOnWindowFocus??!0,c=n.sessionOptions?.refetchWhenOffline??!1,d={lastSync:0,lastSessionRequest:0,cachedSession:void 0},u=()=>c||Ow().isOnline,m=k=>{if(!u())return;if(k?.event==="storage"){d.lastSync=Hc(),o.set(!o.get());return}const C=e.get();if(k?.event==="poll"){d.lastSessionRequest=Hc(),a("/get-session").then(E=>{E.error?e.set({...C,data:null,error:E.error}):e.set({...C,data:E.data,error:null}),d.lastSync=Hc(),o.set(!o.get())}).catch(()=>{});return}if(k?.event==="visibilitychange"){if(Hc()-d.lastSessionRequest<cX)return;d.lastSessionRequest=Hc()}(C?.data===null||C?.data===void 0||k?.event==="visibilitychange")&&(d.lastSync=Hc(),o.set(!o.get()))},h=k=>{Aw().post({event:"session",data:{trigger:k},clientId:Math.random().toString(36).substring(7)})},f=()=>{r&&r>0&&(d.pollInterval=setInterval(()=>{e.get()?.data&&m({event:"poll"})},r*1e3))},v=()=>{d.unsubscribeBroadcast=Aw().subscribe(()=>{m({event:"storage"})})},b=()=>{i&&(d.unsubscribeFocus=uO().subscribe(()=>{m({event:"visibilitychange"})}))},S=()=>{d.unsubscribeOnline=Ow().subscribe(k=>{k&&m({event:"visibilitychange"})})};return{init:()=>{f(),v(),b(),S(),Aw().setup(),uO().setup(),Ow().setup()},cleanup:()=>{d.pollInterval&&(clearInterval(d.pollInterval),d.pollInterval=void 0),d.unsubscribeBroadcast&&(d.unsubscribeBroadcast(),d.unsubscribeBroadcast=void 0),d.unsubscribeFocus&&(d.unsubscribeFocus(),d.unsubscribeFocus=void 0),d.unsubscribeOnline&&(d.unsubscribeOnline(),d.unsubscribeOnline=void 0),d.lastSync=0,d.lastSessionRequest=0,d.cachedSession=void 0},triggerRefetch:m,broadcastSessionUpdate:h}}function uX(t,e){const o=hd(!1),a=hp(o,"/get-session",t,{method:"GET"});return CB(a,()=>{const n=dX({sessionAtom:a,sessionSignal:o,$fetch:t,options:e});return n.init(),()=>{n.cleanup()}}),{session:a,$sessionSignal:o}}function Nw(t){if(t===null||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null||Symbol.iterator in t?!1:Symbol.toStringTag in t?Object.prototype.toString.call(t)==="[object Module]":!0}function IT(t,e,o=".",a){if(!Nw(e))return IT(t,{},o,a);const n={...e};for(const r of Object.keys(t)){if(r==="__proto__"||r==="constructor")continue;const i=t[r];i!=null&&(a&&a(n,r,i,o)||(Array.isArray(i)&&Array.isArray(n[r])?n[r]=[...i,...n[r]]:Nw(i)&&Nw(n[r])?n[r]=IT(i,n[r],(o?`${o}.`:"")+r.toString(),a):n[r]=i))}return n}function pX(t){return(...e)=>e.reduce((o,a)=>IT(o,a,"",t),{})}const mX=pX();var hX=Object.defineProperty,gX=Object.defineProperties,fX=Object.getOwnPropertyDescriptors,pO=Object.getOwnPropertySymbols,vX=Object.prototype.hasOwnProperty,bX=Object.prototype.propertyIsEnumerable,mO=(t,e,o)=>e in t?hX(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,Sr=(t,e)=>{for(var o in e||(e={}))vX.call(e,o)&&mO(t,o,e[o]);if(pO)for(var o of pO(e))bX.call(e,o)&&mO(t,o,e[o]);return t},qr=(t,e)=>gX(t,fX(e)),yX=class extends Error{constructor(t,e,o){super(e||t.toString(),{cause:o}),this.status=t,this.statusText=e,this.error=o,Error.captureStackTrace(this,this.constructor)}},SX=async(t,e)=>{var o,a,n,r,i,c;let d=e||{};const u={onRequest:[e?.onRequest],onResponse:[e?.onResponse],onSuccess:[e?.onSuccess],onError:[e?.onError],onRetry:[e?.onRetry]};if(!e||!e?.plugins)return{url:t,options:d,hooks:u};for(const m of e?.plugins||[]){if(m.init){const h=await((o=m.init)==null?void 0:o.call(m,t.toString(),e));d=h.options||d,t=h.url}u.onRequest.push((a=m.hooks)==null?void 0:a.onRequest),u.onResponse.push((n=m.hooks)==null?void 0:n.onResponse),u.onSuccess.push((r=m.hooks)==null?void 0:r.onSuccess),u.onError.push((i=m.hooks)==null?void 0:i.onError),u.onRetry.push((c=m.hooks)==null?void 0:c.onRetry)}return{url:t,options:d,hooks:u}},hO=class{constructor(t){this.options=t}shouldAttemptRetry(t,e){return this.options.shouldRetry?Promise.resolve(t<this.options.attempts&&this.options.shouldRetry(e)):Promise.resolve(t<this.options.attempts)}getDelay(){return this.options.delay}},wX=class{constructor(t){this.options=t}shouldAttemptRetry(t,e){return this.options.shouldRetry?Promise.resolve(t<this.options.attempts&&this.options.shouldRetry(e)):Promise.resolve(t<this.options.attempts)}getDelay(t){return Math.min(this.options.maxDelay,this.options.baseDelay*2**t)}};function xX(t){if(typeof t=="number")return new hO({type:"linear",attempts:t,delay:1e3});switch(t.type){case"linear":return new hO(t);case"exponential":return new wX(t);default:throw new Error("Invalid retry strategy")}}var TX=async t=>{const e={},o=async a=>typeof a=="function"?await a():a;if(t?.auth){if(t.auth.type==="Bearer"){const a=await o(t.auth.token);if(!a)return e;e.authorization=`Bearer ${a}`}else if(t.auth.type==="Basic"){const[a,n]=await Promise.all([o(t.auth.username),o(t.auth.password)]);if(!a||!n)return e;e.authorization=`Basic ${btoa(`${a}:${n}`)}`}else if(t.auth.type==="Custom"){const[a,n]=await Promise.all([o(t.auth.prefix),o(t.auth.value)]);if(!n)return e;e.authorization=`${a??""} ${n}`}}return e},kX=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function EX(t){const e=t.headers.get("content-type"),o=new Set(["image/svg","application/xml","application/xhtml","application/html"]);if(!e)return"json";const a=e.split(";").shift()||"";return kX.test(a)?"json":o.has(a)||a.startsWith("text/")?"text":"blob"}function CX(t){try{return JSON.parse(t),!0}catch{return!1}}function LT(t){if(t===void 0)return!1;const e=typeof t;return e==="string"||e==="number"||e==="boolean"||e===null?!0:e!=="object"?!1:Array.isArray(t)?!0:t.buffer?!1:t.constructor&&t.constructor.name==="Object"||typeof t.toJSON=="function"}function gO(t){try{return JSON.parse(t)}catch{return t}}function fO(t){return typeof t=="function"}function _X(t){if(t?.customFetchImpl)return t.customFetchImpl;if(typeof globalThis<"u"&&fO(globalThis.fetch))return globalThis.fetch;if(typeof window<"u"&&fO(window.fetch))return window.fetch;throw new Error("No fetch implementation found")}async function PX(t){const e=new Headers(t?.headers),o=await TX(t);for(const[a,n]of Object.entries(o||{}))e.set(a,n);if(!e.has("content-type")){const a=AX(t?.body);a&&e.set("content-type",a)}return e}function AX(t){return LT(t)?"application/json":null}function RX(t){if(!t?.body)return null;const e=new Headers(t?.headers);if(LT(t.body)&&!e.has("content-type")){for(const[o,a]of Object.entries(t?.body))a instanceof Date&&(t.body[o]=a.toISOString());return JSON.stringify(t.body)}return e.has("content-type")&&e.get("content-type")==="application/x-www-form-urlencoded"&&LT(t.body)?new URLSearchParams(t.body).toString():t.body}function DX(t,e){var o;if(e?.method)return e.method.toUpperCase();if(t.startsWith("@")){const a=(o=t.split("@")[1])==null?void 0:o.split("/")[0];return PB.includes(a)?a.toUpperCase():e?.body?"POST":"GET"}return e?.body?"POST":"GET"}function OX(t,e){let o;return!t?.signal&&t?.timeout&&(o=setTimeout(()=>e?.abort(),t?.timeout)),{abortTimeout:o,clearTimeout:()=>{o&&clearTimeout(o)}}}var NX=class _B extends Error{constructor(e,o){super(o||JSON.stringify(e,null,2)),this.issues=e,Object.setPrototypeOf(this,_B.prototype)}};async function xf(t,e){const o=await t["~standard"].validate(e);if(o.issues)throw new NX(o.issues);return o.value}var PB=["get","post","put","patch","delete"],MX=t=>({id:"apply-schema",name:"Apply Schema",version:"1.0.0",async init(e,o){var a,n,r,i;const c=((n=(a=t.plugins)==null?void 0:a.find(d=>{var u;return(u=d.schema)!=null&&u.config?e.startsWith(d.schema.config.baseURL||"")||e.startsWith(d.schema.config.prefix||""):!1}))==null?void 0:n.schema)||t.schema;if(c){let d=e;(r=c.config)!=null&&r.prefix&&d.startsWith(c.config.prefix)&&(d=d.replace(c.config.prefix,""),c.config.baseURL&&(e=e.replace(c.config.prefix,c.config.baseURL))),(i=c.config)!=null&&i.baseURL&&d.startsWith(c.config.baseURL)&&(d=d.replace(c.config.baseURL,""));const u=c.schema[d];if(u){let m=qr(Sr({},o),{method:u.method,output:u.output});return o?.disableValidation||(m=qr(Sr({},m),{body:u.input?await xf(u.input,o?.body):o?.body,params:u.params?await xf(u.params,o?.params):o?.params,query:u.query?await xf(u.query,o?.query):o?.query})),{url:e,options:m}}}return{url:e,options:o}}}),IX=t=>{async function e(o,a){const n=qr(Sr(Sr({},t),a),{plugins:[...t?.plugins||[],MX(t||{}),...a?.plugins||[]]});if(t?.catchAllError)try{return await BT(o,n)}catch(r){return{data:null,error:{status:500,statusText:"Fetch Error",message:"Fetch related error. Captured by catchAllError option. See error property for more details.",error:r}}}return await BT(o,n)}return e};function LX(t,e){const{baseURL:o,params:a,query:n}=e||{query:{},params:{},baseURL:""};let r=t.startsWith("http")?t.split("/").slice(0,3).join("/"):o||"";if(t.startsWith("@")){const h=t.toString().split("@")[1].split("/")[0];PB.includes(h)&&(t=t.replace(`@${h}/`,"/"))}r.endsWith("/")||(r+="/");let[i,c]=t.replace(r,"").split("?");const d=new URLSearchParams(c);for(const[h,f]of Object.entries(n||{})){if(f==null)continue;let v;if(typeof f=="string")v=f;else if(Array.isArray(f)){for(const b of f)d.append(h,b);continue}else v=JSON.stringify(f);d.set(h,v)}if(a)if(Array.isArray(a)){const h=i.split("/").filter(f=>f.startsWith(":"));for(const[f,v]of h.entries()){const b=a[f];i=i.replace(v,b)}}else for(const[h,f]of Object.entries(a))i=i.replace(`:${h}`,String(f));i=i.split("/").map(encodeURIComponent).join("/"),i.startsWith("/")&&(i=i.slice(1));let u=d.toString();return u=u.length>0?`?${u}`.replace(/\+/g,"%20"):"",r.startsWith("http")?new URL(`${i}${u}`,r):`${r}${i}${u}`}var BT=async(t,e)=>{var o,a,n,r,i,c,d,u;const{hooks:m,url:h,options:f}=await SX(t,e),v=_X(f),b=new AbortController,S=(o=f.signal)!=null?o:b.signal,T=LX(h,f),x=RX(f),k=await PX(f),C=DX(h,f);let E=qr(Sr({},f),{url:T,headers:k,body:x,method:C,signal:S});for(const F of m.onRequest)if(F){const W=await F(E);typeof W=="object"&&W!==null&&(E=W)}("pipeTo"in E&&typeof E.pipeTo=="function"||typeof((a=e?.body)==null?void 0:a.pipe)=="function")&&("duplex"in E||(E.duplex="half"));const{clearTimeout:P}=OX(f,b);let D=await v(E.url,E);P();const R={response:D,request:E};for(const F of m.onResponse)if(F){const W=await F(qr(Sr({},R),{response:(n=e?.hookOptions)!=null&&n.cloneResponse?D.clone():D}));W instanceof Response?D=W:typeof W=="object"&&W!==null&&(D=W.response)}if(D.ok){if(!(E.method!=="HEAD"))return{data:"",error:null};const W=EX(D),oe={data:null,response:D,request:E};if(W==="json"||W==="text"){const H=await D.text(),K=(r=E.jsonParser)!=null?r:gO;oe.data=await K(H)}else oe.data=await D[W]();E?.output&&E.output&&!E.disableValidation&&(oe.data=await xf(E.output,oe.data));for(const H of m.onSuccess)H&&await H(qr(Sr({},oe),{response:(i=e?.hookOptions)!=null&&i.cloneResponse?D.clone():D}));return e?.throw?oe.data:{data:oe.data,error:null}}const O=(c=e?.jsonParser)!=null?c:gO,I=await D.text(),q=CX(I),B=q?await O(I):null,j={response:D,responseText:I,request:E,error:qr(Sr({},B),{status:D.status,statusText:D.statusText})};for(const F of m.onError)F&&await F(qr(Sr({},j),{response:(d=e?.hookOptions)!=null&&d.cloneResponse?D.clone():D}));if(e?.retry){const F=xX(e.retry),W=(u=e.retryAttempt)!=null?u:0;if(await F.shouldAttemptRetry(W,D)){for(const H of m.onRetry)H&&await H(R);const oe=F.getDelay(W);return await new Promise(H=>setTimeout(H,oe)),await BT(t,qr(Sr({},e),{retryAttempt:W+1}))}}if(e?.throw)throw new yX(D.status,D.statusText,q?B:I);return{data:null,error:qr(Sr({},B),{status:D.status,statusText:D.statusText})}};const BX=(t,e)=>{const o="credentials"in Request.prototype,a=VJ(t?.baseURL,t?.basePath)??"/api/auth",n=t?.plugins?.flatMap(E=>E.fetchPlugins).filter(E=>E!==void 0)||[],r={id:"lifecycle-hooks",name:"lifecycle-hooks",hooks:{onSuccess:t?.fetchOptions?.onSuccess,onError:t?.fetchOptions?.onError,onRequest:t?.fetchOptions?.onRequest,onResponse:t?.fetchOptions?.onResponse}},{onSuccess:i,onError:c,onRequest:d,onResponse:u,...m}=t?.fetchOptions||{},h=IX({baseURL:a,...o?{credentials:"include"}:{},method:"GET",jsonParser(E){return E?JJ(E,{strict:!1}):null},customFetchImpl:fetch,...m,plugins:[r,...m.plugins||[],...t?.disableDefaultFetchPlugins?[]:[HJ],...n]}),{$sessionSignal:f,session:v}=uX(h,t),b=t?.plugins||[];let S={};const T={$sessionSignal:f,session:v},x={"/sign-out":"POST","/revoke-sessions":"POST","/revoke-other-sessions":"POST","/delete-user":"POST"},k=[{signal:"$sessionSignal",matcher(E){return E==="/sign-out"||E==="/update-user"||E==="/sign-up/email"||E==="/sign-in/email"||E==="/delete-user"||E==="/verify-email"||E==="/revoke-sessions"||E==="/revoke-session"||E==="/change-email"}}];for(const E of b)E.getAtoms&&Object.assign(T,E.getAtoms?.(h)),E.pathMethods&&Object.assign(x,E.pathMethods),E.atomListeners&&k.push(...E.atomListeners);const C={notify:E=>{T[E].set(!T[E].get())},listen:(E,P)=>{T[E].subscribe(P)},atoms:T};for(const E of b)E.getActions&&(S=mX(E.getActions?.(h,C,t)??{},S));return{get baseURL(){return a},pluginsActions:S,pluginsAtoms:T,pluginPathMethods:x,atomListeners:k,$fetch:h,$store:C}};function FX(t){return typeof t=="object"&&t!==null&&"get"in t&&typeof t.get=="function"&&"lc"in t&&typeof t.lc=="number"}function jX(t,e,o){const a=e[t],{fetchOptions:n,query:r,...i}=o||{};return a||(n?.method?n.method:i&&Object.keys(i).length>0?"POST":"GET")}function zX(t,e,o,a,n){function r(i=[]){return new Proxy(function(){},{get(c,d){if(typeof d!="string"||d==="then"||d==="catch"||d==="finally")return;const u=[...i,d];let m=t;for(const h of u)if(m&&typeof m=="object"&&h in m)m=m[h];else{m=void 0;break}return typeof m=="function"||FX(m)?m:r(u)},apply:async(c,d,u)=>{const m="/"+i.map(k=>k.replace(/[A-Z]/g,C=>`-${C.toLowerCase()}`)).join("/"),h=u[0]||{},f=u[1]||{},{query:v,fetchOptions:b,...S}=h,T={...f,...b},x=jX(m,o,h);return await e(m,{...T,body:x==="GET"?void 0:{...S,...T?.body||{}},query:v||T?.query,method:x,async onSuccess(k){if(await T?.onSuccess?.(k),!n||T.disableSignal)return;const C=n.filter(P=>P.matcher(m));if(!C.length)return;const E=new Set;for(const P of C){const D=a[P.signal];if(!D)return;if(E.has(P.signal))continue;E.add(P.signal);const R=D.get();setTimeout(()=>{D.set(!R)},10)}}})}})}return r()}function qX(t,e={}){const o=A.useRef(t.get()),{keys:a,deps:n=[t,a]}=e,r=A.useCallback(c=>{const d=u=>{o.current!==u&&(o.current=u,c())};return d(t.value),a?.length?aX(t,a,d):t.listen(d)},n),i=()=>o.current;return A.useSyncExternalStore(r,i,i)}function UX(t){return`use${qJ(t)}`}function $X(t){const{pluginPathMethods:e,pluginsActions:o,pluginsAtoms:a,$fetch:n,$store:r,atomListeners:i}=BX(t),c={};for(const[d,u]of Object.entries(a))c[UX(d)]=()=>qX(u);return zX({...o,...c,$fetch:n,$store:r},n,e,a,i)}function VX(t){return{authorize(e,o="AND"){let a=!1;for(const[n,r]of Object.entries(e)){const i=t[n];if(!i)return{success:!1,error:`You are not allowed to access resource: ${n}`};if(Array.isArray(r))a=r.every(c=>i.includes(c));else if(typeof r=="object"){const c=r;c.connector==="OR"?a=c.actions.some(d=>i.includes(d)):a=c.actions.every(d=>i.includes(d))}else throw new Ep("Invalid access control request");if(a&&o==="OR")return{success:a};if(!a&&o==="AND")return{success:!1,error:`unauthorized to access resource "${n}"`}}return a?{success:a}:{success:!1,error:"Not authorized"}},statements:t}}function AB(t){return{newRole(e){return VX(e)},statements:t}}const HX={user:["create","list","set-role","ban","impersonate","delete","set-password","get","update"],session:["list","revoke","delete"]},RB=AB(HX),DB=RB.newRole({user:["create","list","set-role","ban","impersonate","delete","set-password","get","update"],session:["list","revoke","delete"]}),OB=RB.newRole({user:[],session:[]}),GX={admin:DB,user:OB},WX=t=>{if(t.userId&&t.options?.adminUserIds?.includes(t.userId))return!0;if(!t.permissions&&!t.permission)return!1;const e=(t.role||t.options?.defaultRole||"user").split(","),o=t.options?.roles||GX;for(const a of e)if(o[a]?.authorize(t.permission??t.permissions)?.success)return!0;return!1},KX=t=>{const e={admin:DB,user:OB,...t?.roles};return{id:"admin-client",$InferServerPlugin:{},getActions:()=>({admin:{checkRolePermission:o=>WX({role:o.role,options:{ac:t?.ac,roles:e},permissions:o.permissions??o.permission})}}),pathMethods:{"/admin/list-users":"GET","/admin/stop-impersonating":"POST"}}},YX=()=>({id:"email-otp",$InferServerPlugin:{},atomListeners:[{matcher:t=>t==="/email-otp/verify-email"||t==="/sign-in/email-otp",signal:"$sessionSignal"}]}),ZX=()=>({id:"magic-link",$InferServerPlugin:{}}),QX={organization:["update","delete"],member:["create","update","delete"],invitation:["create","cancel"],team:["create","update","delete"],ac:["create","read","update","delete"]},Xk=AB(QX),NB=Xk.newRole({organization:["update"],invitation:["create","cancel"],member:["create","update","delete"],team:["create","update","delete"],ac:["create","read","update","delete"]}),MB=Xk.newRole({organization:["update","delete"],member:["create","update","delete"],invitation:["create","cancel"],team:["create","update","delete"],ac:["create","read","update","delete"]}),IB=Xk.newRole({organization:[],member:[],invitation:[],team:[],ac:["read"]}),JX={admin:NB,owner:MB,member:IB},XX=(t,e)=>{if(!t.permissions&&!t.permission)return!1;const o=t.role.split(","),a=t.options.creatorRole||"owner",n=o.includes(a),r=t.allowCreatorAllPermissions||!1;if(n&&r)return!0;for(const i of o)if(e[i]?.authorize(t.permissions??t.permission)?.success)return!0;return!1},eee=t=>XX(t,t.options.roles||JX),tee=t=>{const e=hd(!1),o=hd(!1),a=hd(!1),n=hd(!1),r={admin:NB,member:IB,owner:MB,...t?.roles};return{id:"organization",$InferServerPlugin:{},getActions:(i,c,d)=>({$Infer:{ActiveOrganization:{},Organization:{},Invitation:{},Member:{},Team:{}},organization:{checkRolePermission:u=>eee({role:u.role,options:{ac:t?.ac,roles:r},permissions:u.permissions??u.permission})}}),getAtoms:i=>{const c=hp(e,"/organization/list",i,{method:"GET"});return{$listOrg:e,$activeOrgSignal:o,$activeMemberSignal:a,$activeMemberRoleSignal:n,activeOrganization:hp([o],"/organization/get-full-organization",i,()=>({method:"GET"})),listOrganizations:c,activeMember:hp([a],"/organization/get-active-member",i,{method:"GET"}),activeMemberRole:hp([n],"/organization/get-active-member-role",i,{method:"GET"})}},pathMethods:{"/organization/get-full-organization":"GET","/organization/list-user-teams":"GET"},atomListeners:[{matcher(i){return i==="/organization/create"||i==="/organization/delete"||i==="/organization/update"},signal:"$listOrg"},{matcher(i){return i.startsWith("/organization")},signal:"$activeOrgSignal"},{matcher(i){return i.startsWith("/organization/set-active")},signal:"$sessionSignal"},{matcher(i){return i.includes("/organization/update-member-role")},signal:"$activeMemberSignal"},{matcher(i){return i.includes("/organization/update-member-role")},signal:"$activeMemberRoleSignal"}]}},oee="1.6.11",aee=t=>({id:"sso-client",version:oee,$InferServerPlugin:{},pathMethods:{"/sso/providers":"GET","/sso/get-provider":"GET"}});function nee(t){let e=t;if(typeof t=="string")try{e=JSON.parse(t)}catch{return{}}return e&&typeof e=="object"&&!Array.isArray(e)?Object.fromEntries(Object.entries(e)):{}}function eE(t){return nee(t?.metadata).archived===!0}function LB(t){const e=new Set;return t.filter(o=>eE(o)||e.has(o.id)?!1:(e.add(o.id),!0))}const ree="Organization is archived",ga=$X({plugins:[tee({}),KX(),aee(),ZX(),YX()]}),see=8e3;let vO;function BB(){return vO??=new Promise(t=>{const e=setTimeout(t,see);ga.$store.listen("session",o=>{o&&typeof o=="object"&&"isPending"in o&&(o.isPending||(clearTimeout(e),t()))})}),vO}const iee=we({data:we({user:we({id:$()})}).nullish()});function lee(){const t=iee.safeParse(ga.$store.atoms.session?.get());return t.success?t.data.data?.user.id:void 0}const cee=3e4;let gp=null,Ug=null;function FB(){if(gp&&gp.expiresAt>Date.now())return Promise.resolve(gp.result);if(Ug)return Ug;const t=ga.organization.list().then(e=>{const o=e.data?{...e,data:LB(e.data)}:e;return o.data&&(gp={result:o,expiresAt:Date.now()+cee}),o}).finally(()=>{Ug=null});return Ug=t,t}function mTe(){const t=ga.useListOrganizations(),e=t.data?LB(t.data):void 0;return{...t,data:e}}function hTe(){gp=null}const dee="modulepreload",uee=function(t){return"/"+t},bO={},Fe=function(e,o,a){let n=Promise.resolve();if(o&&o.length>0){let i=function(u){return Promise.all(u.map(m=>Promise.resolve(m).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),d=c?.nonce||c?.getAttribute("nonce");n=i(o.map(u=>{if(u=uee(u),u in bO)return;bO[u]=!0;const m=u.endsWith(".css"),h=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${h}`))return;const f=document.createElement("link");if(f.rel=m?"stylesheet":dee,m||(f.as="script"),f.crossOrigin="",f.href=u,d&&f.setAttribute("nonce",d),document.head.appendChild(f),m)return new Promise((v,b)=>{f.addEventListener("load",v),f.addEventListener("error",()=>b(Error(`Unable to preload CSS for ${u}`)))})}))}function r(i){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=i,window.dispatchEvent(c),!c.defaultPrevented)throw i}return n.then(i=>{for(const c of i||[])c.status==="rejected"&&r(c.reason);return e().catch(r)})};function pee(t){try{return JSON.parse(t)}catch{return}}function yO(t,e){if(typeof localStorage>"u")return typeof e=="function"?e(void 0):e;const o=localStorage.getItem(t),a=o?pee(o):void 0,n=typeof e=="function"?e(a):a??e;if(a===void 0||n!==a)try{const r=JSON.stringify(n);localStorage.setItem(t,r)}catch{}return n}function mee(t,e){const o=ye.c(17),a=Kl();let n;o[0]!==t?(n=["localStorage",t],o[0]=t,o[1]=n):n=o[1];const r=n;let i,c;o[2]!==e||o[3]!==t?(i=()=>yO(t,e),c=()=>yO(t,e),o[2]=e,o[3]=t,o[4]=i,o[5]=c):(i=o[4],c=o[5]);let d;o[6]!==r||o[7]!==i||o[8]!==c?(d={queryKey:r,queryFn:i,initialData:c,staleTime:1/0,gcTime:1/0},o[6]=r,o[7]=i,o[8]=c,o[9]=d):d=o[9];const{data:u}=Ls(d);let m;o[10]!==t||o[11]!==a||o[12]!==r?(m=b=>{const S=a.getQueryData(r),T=typeof b=="function"?b(S):b;if(typeof localStorage<"u")try{localStorage.setItem(t,JSON.stringify(T))}catch{}a.setQueryData(r,T)},o[10]=t,o[11]=a,o[12]=r,o[13]=m):m=o[13];const h=m,f=u;let v;return o[14]!==h||o[15]!==f?(v=[f,h],o[14]=h,o[15]=f,o[16]=v):v=o[16],v}const Qi={chatSelectedImageModel:t=>`studio:chat:selectedImageModel:${t}`,chatSelectedWebSearchModel:t=>`studio:chat:selectedWebSearchModel:${t}`,chatSelectedDeepResearchModel:t=>`studio:chat:selectedDeepResearchModel:${t}`,chatSimpleModeTier:t=>`studio:chat:simpleModeTier:${t}`,chatAutosend:(t,e)=>`studio:chat:autosend:${t}:${e}`,chatThreadIntent:(t,e)=>`studio:chat:threadIntent:${t}:${e}`,homeTaskMode:t=>`home-task-mode:${t}`,chatDraft:(t,e)=>`studio:chat:draft:${t}:${e}`,taskBoardPrs:t=>`studio:task-board-prs:${t}`,taskFeedBehindTheScenes:()=>"studio:task-feed:behind-the-scenes",taskBoardAssignee:(t,e)=>`studio:task-board-assignee:${t}:${e}`,recentApps:t=>`studio:recent-apps:${t}`,recentProjects:t=>`studio:recent-projects:${t}`,recentOrgs:()=>"studio:recent-orgs",railOrgPrefs:()=>"studio:rail-org-prefs",sidePanelWidth:()=>"studio:side-panel:width",sidebarOpen:()=>"studio:sidebar-open",preferences:()=>"studio:user:preferences",lastOrgSlug:()=>"studio:last-org-slug",lastLocation:()=>"studio:last-location",connectionsTab:t=>`studio:connections:tab:${t}`,taskLastViewed:t=>`studio:chat:task-last-viewed:${t}`,sidebarSectionOpen:(t,e)=>`studio:sidebar:section-open:${t}:${e}`,ptBrAnnouncementSeen:t=>`studio:announcement:pt-br:${t}`,localPreviewUrl:t=>`studio:local-preview-url:${t}`,previewDeviceSize:t=>`studio:preview:device-size:${t}`,previewEditingMode:t=>`studio:preview:editing-mode:${t}`,previewAppLayout:t=>`studio:preview:app-layout:${t}`,arrayFieldLayout:()=>"studio:cms:array-field-layout",decoServeConnection:(t,e)=>`studio:deco-serve-connection:${t}:${e}`,decoServeEndpoint:(t,e)=>`studio:deco-serve-endpoint:${t}:${e}`},jB=["en","pt-BR"],gTe={en:"en-US","pt-BR":"pt-BR"};function tE(){return typeof navigator<"u"&&navigator.language?.toLowerCase().startsWith("pt")?"pt-BR":"en"}const hee={toolApprovalLevel:"auto",enableNotifications:typeof Notification<"u",enableSounds:!1,theme:"system",language:tE(),taskBoardLaneVisibility:{},collapsedTaskBoardLanes:[]},zB=["auto","readonly"],fTe=[{value:"readonly",labelKey:"settings.preferences.toolApprovalAsk",shortKey:"settings.preferences.toolApprovalAskShort"},{value:"auto",labelKey:"settings.preferences.toolApprovalAuto",shortKey:"settings.preferences.toolApprovalAutoShort"}],gee=["light","dark","system"];function vTe(){try{const t=JSON.parse(localStorage.getItem(Qi.preferences())??"{}");if(zB.includes(t.toolApprovalLevel))return t.toolApprovalLevel}catch{}return"auto"}function ib(){try{const t=JSON.parse(localStorage.getItem(Qi.preferences())??"{}");if(jB.includes(t.language))return t.language}catch{}return tE()}function fee(t){const e={};if(Array.isArray(t.shownTaskBoardLanes))for(const a of t.shownTaskBoardLanes)typeof a=="string"&&(e[a]=!0);const o=t.taskBoardLaneVisibility;if(o&&typeof o=="object"&&!Array.isArray(o))for(const[a,n]of Object.entries(o))typeof n=="boolean"&&(e[a]=n);return e}function oE(){const t=ye.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=Qi.preferences(),t[0]=e):e=t[0],mee(e,vee)}function vee(t){const e={...hee,...t};return"showProjectSettingsGear"in e&&delete e.showProjectSettingsGear,"compactPageLayout"in e&&delete e.compactPageLayout,"projectFirstNav"in e&&delete e.projectFirstNav,zB.includes(e.toolApprovalLevel)||(e.toolApprovalLevel="auto"),gee.includes(e.theme)||(e.theme="system"),jB.includes(e.language)||(e.language=tE()),e.taskBoardLaneVisibility=fee(e),"shownTaskBoardLanes"in e&&delete e.shownTaskBoardLanes,Array.isArray(e.collapsedTaskBoardLanes)||(e.collapsedTaskBoardLanes=[]),e}const bee={"page.overview":"Overview","page.app":"App","page.view":"View","page.file":"File","page.document":"Document","page.item":"Item","page.breadcrumbs":"Breadcrumbs","page.breadcrumbMenu":"Show navigation path","page.views":"Page views","page.openThread":"Open chat","page.closeThread":"Close chat","page.collapseSidebar":"Collapse sidebar","page.expandSidebar":"Expand sidebar"},yee={"projects.overview.metrics":"Metrics","projects.platform.vtex":"VTEX","projects.platform.shopify":"Shopify","projects.platform.wake":"Wake","projects.platform.nuvemshop":"Nuvemshop","projects.platform.linx":"Linx","projects.platform.vnda":"VNDA","projects.home.newProject":"New project","projects.card.updated":"Updated {time}","projects.empty.title":"Your commerce, one project at a time","projects.empty.description":"A site, an app, a store. Each one keeps its own connections, report and board.","projects.empty.readOnly":"Ask an admin to create the first project.","projects.new.title":"New project","projects.new.subtitle":"What are you setting up?","projects.new.back":"Back","projects.new.create":"Create project","projects.new.creating":"Creating…","projects.new.nameLabel":"Project name","projects.new.namePlaceholder":"Farm web","projects.new.nameRequired":"Give the project a name","projects.new.failed":"Couldn't create the project","projects.new.created":"{title} is ready","projects.new.path.repository":"Import a codebase","projects.new.path.repository.hint":"Bring a storefront or app codebase in","projects.new.path.folder":"New project folder","projects.new.path.folder.hint":"Name it now, connect it later","projects.new.step.folder.title":"Name your project","projects.reports.chooserTitle":"Continue to Reports","projects.reports.chooserSubtitle":"Choose a project to continue","projects.reports.chooserSearch":"Find project…","projects.reports.chooserEmpty":"No project by that name.","projects.reports.status.ready":"Ready","projects.reports.status.running":"Running","projects.reports.status.none":"Not run","projects.reports.status.locked":"Locked","projects.connections.orgWide":"Organization-wide","projects.connections.usedBy":"{count} projects","projects.settings.title":"Projects","projects.settings.searchPlaceholder":"Search projects…","projects.settings.open":"Open","projects.settings.openSettings":"Settings","projects.settings.noResults":"No projects match “{search}”","projects.identity.storeUrlLabel":"Store URL","projects.identity.storeUrlDescription":"The live storefront. Reports run against this address.","projects.apps.reports":"Report","projects.apps.siteEditor":"Site editor","projects.apps.assets":"Assets","projects.apps.releases":"Releases","projects.apps.hosting":"Hosting","projects.apps.e2e":"End-to-end tests","projects.apps.automations":"Automations","projects.apps.calendar":"Calendar","projects.apps.experiments":"Experiments"},See={"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 project, 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.connectionNotFound":"Connection not found","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 project 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.noMainView":"No main view","virtualMcp.layoutTabContent.automations":"Automations","virtualMcp.layoutTabContent.chatAlwaysShown":"Chat is always shown when it is the default view","virtualMcp.layoutTabContent.layout":"Layout","virtualMcp.layoutTabContent.mainView":"Main view","virtualMcp.layoutTabContent.mainViewDescription":"What users see when they first open this project.","virtualMcp.layoutTabContent.settings":"Settings","virtualMcp.layoutTabContent.showChat":"Show chat","virtualMcp.layoutTabContent.showChatDescription":"Display Chat in the side panel alongside the main view.","virtualMcp.layoutTabContent.siteEditor":"Site Editor","virtualMcp.settings.title":"Project settings","virtualMcp.settings.navigation":"Project settings sections","virtualMcp.settings.identity.icon":"Project icon","virtualMcp.settings.identity.iconDescription":"How your project appears in the sidebar and across Studio.","virtualMcp.settings.identity.name":"Project name","virtualMcp.settings.identity.description":"Description","virtualMcp.settings.repository.title":"Repository","virtualMcp.settings.repository.description":"The code this project is, and how its sandbox runs it.","virtualMcp.settings.repository.repoTitle":"Repository","virtualMcp.settings.repository.runtimeTitle":"How it runs","virtualMcp.settings.repository.runtimeDescription":"What the sandbox installs and starts to preview this project.","virtualMcp.settings.pageTitle":"Project settings","virtualMcp.settings.views.title":"Views","virtualMcp.settings.views.description":"What opens first, and which views the sidebar shows.","virtualMcp.settings.cmsEmptyTitle":"No site content yet","virtualMcp.settings.repository.open":"Go to Repository","virtualMcp.settings.repository.none":"No repository connected","virtualMcp.settings.repository.noneDescription":"Connect a GitHub repository to edit and preview this project's site.","virtualMcp.settings.repository.connect":"Connect repository","virtualMcp.settings.repository.change":"Change","virtualMcp.settings.repository.connected":"Connected {name}","virtualMcp.settings.cmsEmpty":"Connect the site's repository to turn the CMS on.","virtualMcp.settings.general.title":"General","virtualMcp.settings.site.title":"CMS","virtualMcp.settings.site.classicTitle":"Site and sandbox","virtualMcp.settings.blocksV8Site.label":"Blocks v8 site","virtualMcp.settings.blocksV8Site.description":"Edit this site with the Blocks v8 editor and hosted CMS. Off: v7, git-backed.","virtualMcp.settings.groups.advanced":"Advanced","virtualMcp.settings.groups.details":"Details","virtualMcp.settings.connections.title":"Connections","virtualMcp.settings.views.defaults":"Default layout","virtualMcp.settings.views.sidebar":"Views","virtualMcp.settings.views.open":"Open","virtualMcp.settings.views.pin":"Pin to sidebar","virtualMcp.settings.views.unpin":"Remove from sidebar","virtualMcp.settings.views.setMainView":"Set as main view","virtualMcp.settings.views.rowActions":"View options","virtualMcp.virtualMcp.addConnection":"Add connection","virtualMcp.virtualMcp.agentDeleted":'Deleted "{title}"',"virtualMcp.virtualMcp.agentNameFallback":"Agent","virtualMcp.virtualMcp.agentNamePlaceholder":"Project 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.createdBy":"Created by","virtualMcp.virtualMcp.delete":"Delete","virtualMcp.virtualMcp.deleteAgent":"Delete project","virtualMcp.virtualMcp.deleteAgentConfirm":"Delete Project?","virtualMcp.virtualMcp.deleteAgentConfirmDescription":"This action cannot be undone. This will permanently delete {title}.","virtualMcp.virtualMcp.deleteAgentDescription":"Permanently delete this project 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 project","virtualMcp.virtualMcp.instructions":"Instructions","virtualMcp.virtualMcp.instructionsPlaceholder":"Define how this agent should behave, what tone to use, any constraints or guidelines...","virtualMcp.virtualMcp.lastUsedLabel":"Last used","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>
55
+ deps: ${m}}`};const n={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(d){const[u,m]=r(d);i(d,u),c(d,m)}};function r({schema:d}){const u={},m={};for(const h in d){if(h==="__proto__")continue;const f=Array.isArray(d[h])?u:m;f[h]=d[h]}return[u,m]}function i(d,u=d.schema){const{gen:m,data:h,it:f}=d;if(Object.keys(u).length===0)return;const v=m.let("missing");for(const b in u){const S=u[b];if(S.length===0)continue;const T=(0,a.propertyInData)(m,h,b,f.opts.ownProperties);d.setParams({property:b,depsCount:S.length,deps:S.join(", ")}),f.allErrors?m.if(T,()=>{for(const x of S)(0,a.checkReportMissingProp)(d,x)}):(m.if((0,e._)`${T} && (${(0,a.checkMissingProp)(d,S,v)})`),(0,a.reportMissingProp)(d,v),m.else())}}t.validatePropertyDeps=i;function c(d,u=d.schema){const{gen:m,data:h,keyword:f,it:v}=d,b=m.name("valid");for(const S in u)(0,o.alwaysValidSchema)(v,u[S])||(m.if((0,a.propertyInData)(m,h,S,v.opts.ownProperties),()=>{const T=d.subschema({keyword:f,schemaProp:S},b);d.mergeValidEvaluated(T,b)},()=>m.var(b,!0)),d.ok(b))}t.validateSchemaDeps=c,t.default=n})(kw)),kw}var Eg={},jD;function CQ(){if(jD)return Eg;jD=1,Object.defineProperty(Eg,"__esModule",{value:!0});const t=yt(),e=Lt(),a={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:n})=>(0,t._)`{propertyName: ${n.propertyName}}`},code(n){const{gen:r,schema:i,data:c,it:d}=n;if((0,e.alwaysValidSchema)(d,i))return;const u=r.name("valid");r.forIn("key",c,m=>{n.setParams({propertyName:m}),n.subschema({keyword:"propertyNames",data:m,dataTypes:["string"],propertyName:m,compositeRule:!0},u),r.if((0,t.not)(u),()=>{n.error(!0),d.allErrors||r.break()})}),n.ok(u)}};return Eg.default=a,Eg}var Cg={},zD;function hB(){if(zD)return Cg;zD=1,Object.defineProperty(Cg,"__esModule",{value:!0});const t=Dr(),e=yt(),o=Zi(),a=Lt(),r={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:i})=>(0,e._)`{additionalProperty: ${i.additionalProperty}}`},code(i){const{gen:c,schema:d,parentSchema:u,data:m,errsCount:h,it:f}=i;if(!h)throw new Error("ajv implementation error");const{allErrors:v,opts:b}=f;if(f.props=!0,b.removeAdditional!=="all"&&(0,a.alwaysValidSchema)(f,d))return;const S=(0,t.allSchemaProperties)(u.properties),T=(0,t.allSchemaProperties)(u.patternProperties);x(),i.ok((0,e._)`${h} === ${o.default.errors}`);function x(){c.forIn("key",m,D=>{!S.length&&!T.length?E(D):c.if(k(D),()=>E(D))})}function k(D){let R;if(S.length>8){const O=(0,a.schemaRefOrVal)(f,u.properties,"properties");R=(0,t.isOwnProperty)(c,O,D)}else S.length?R=(0,e.or)(...S.map(O=>(0,e._)`${D} === ${O}`)):R=e.nil;return T.length&&(R=(0,e.or)(R,...T.map(O=>(0,e._)`${(0,t.usePattern)(i,O)}.test(${D})`))),(0,e.not)(R)}function C(D){c.code((0,e._)`delete ${m}[${D}]`)}function E(D){if(b.removeAdditional==="all"||b.removeAdditional&&d===!1){C(D);return}if(d===!1){i.setParams({additionalProperty:D}),i.error(),v||c.break();return}if(typeof d=="object"&&!(0,a.alwaysValidSchema)(f,d)){const R=c.name("valid");b.removeAdditional==="failing"?(P(D,R,!1),c.if((0,e.not)(R),()=>{i.reset(),C(D)})):(P(D,R),v||c.if((0,e.not)(R),()=>c.break()))}}function P(D,R,O){const I={keyword:"additionalProperties",dataProp:D,dataPropType:a.Type.Str};O===!1&&Object.assign(I,{compositeRule:!0,createErrors:!1,allErrors:!1}),i.subschema(I,R)}}};return Cg.default=r,Cg}var _g={},qD;function _Q(){if(qD)return _g;qD=1,Object.defineProperty(_g,"__esModule",{value:!0});const t=nb(),e=Dr(),o=Lt(),a=hB(),n={keyword:"properties",type:"object",schemaType:"object",code(r){const{gen:i,schema:c,parentSchema:d,data:u,it:m}=r;m.opts.removeAdditional==="all"&&d.additionalProperties===void 0&&a.default.code(new t.KeywordCxt(m,a.default,"additionalProperties"));const h=(0,e.allSchemaProperties)(c);for(const T of h)m.definedProperties.add(T);m.opts.unevaluated&&h.length&&m.props!==!0&&(m.props=o.mergeEvaluated.props(i,(0,o.toHash)(h),m.props));const f=h.filter(T=>!(0,o.alwaysValidSchema)(m,c[T]));if(f.length===0)return;const v=i.name("valid");for(const T of f)b(T)?S(T):(i.if((0,e.propertyInData)(i,u,T,m.opts.ownProperties)),S(T),m.allErrors||i.else().var(v,!0),i.endIf()),r.it.definedProperties.add(T),r.ok(v);function b(T){return m.opts.useDefaults&&!m.compositeRule&&c[T].default!==void 0}function S(T){r.subschema({keyword:"properties",schemaProp:T,dataProp:T},v)}}};return _g.default=n,_g}var Pg={},UD;function PQ(){if(UD)return Pg;UD=1,Object.defineProperty(Pg,"__esModule",{value:!0});const t=Dr(),e=yt(),o=Lt(),a=Lt(),n={keyword:"patternProperties",type:"object",schemaType:"object",code(r){const{gen:i,schema:c,data:d,parentSchema:u,it:m}=r,{opts:h}=m,f=(0,t.allSchemaProperties)(c),v=f.filter(E=>(0,o.alwaysValidSchema)(m,c[E]));if(f.length===0||v.length===f.length&&(!m.opts.unevaluated||m.props===!0))return;const b=h.strictSchema&&!h.allowMatchingProperties&&u.properties,S=i.name("valid");m.props!==!0&&!(m.props instanceof e.Name)&&(m.props=(0,a.evaluatedPropsToName)(i,m.props));const{props:T}=m;x();function x(){for(const E of f)b&&k(E),m.allErrors?C(E):(i.var(S,!0),C(E),i.if(S))}function k(E){for(const P in b)new RegExp(E).test(P)&&(0,o.checkStrictMode)(m,`property ${P} matches pattern ${E} (use allowMatchingProperties)`)}function C(E){i.forIn("key",d,P=>{i.if((0,e._)`${(0,t.usePattern)(r,E)}.test(${P})`,()=>{const D=v.includes(E);D||r.subschema({keyword:"patternProperties",schemaProp:E,dataProp:P,dataPropType:a.Type.Str},S),m.opts.unevaluated&&T!==!0?i.assign((0,e._)`${T}[${P}]`,!0):!D&&!m.allErrors&&i.if((0,e.not)(S),()=>i.break())})})}}};return Pg.default=n,Pg}var Ag={},$D;function AQ(){if($D)return Ag;$D=1,Object.defineProperty(Ag,"__esModule",{value:!0});const t=Lt(),e={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(o){const{gen:a,schema:n,it:r}=o;if((0,t.alwaysValidSchema)(r,n)){o.fail();return}const i=a.name("valid");o.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),o.failResult(i,()=>o.reset(),()=>o.error())},error:{message:"must NOT be valid"}};return Ag.default=e,Ag}var Rg={},VD;function RQ(){if(VD)return Rg;VD=1,Object.defineProperty(Rg,"__esModule",{value:!0});const e={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Dr().validateUnion,error:{message:"must match a schema in anyOf"}};return Rg.default=e,Rg}var Dg={},HD;function DQ(){if(HD)return Dg;HD=1,Object.defineProperty(Dg,"__esModule",{value:!0});const t=yt(),e=Lt(),a={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:n})=>(0,t._)`{passingSchemas: ${n.passing}}`},code(n){const{gen:r,schema:i,parentSchema:c,it:d}=n;if(!Array.isArray(i))throw new Error("ajv implementation error");if(d.opts.discriminator&&c.discriminator)return;const u=i,m=r.let("valid",!1),h=r.let("passing",null),f=r.name("_valid");n.setParams({passing:h}),r.block(v),n.result(m,()=>n.reset(),()=>n.error(!0));function v(){u.forEach((b,S)=>{let T;(0,e.alwaysValidSchema)(d,b)?r.var(f,!0):T=n.subschema({keyword:"oneOf",schemaProp:S,compositeRule:!0},f),S>0&&r.if((0,t._)`${f} && ${m}`).assign(m,!1).assign(h,(0,t._)`[${h}, ${S}]`).else(),r.if(f,()=>{r.assign(m,!0),r.assign(h,S),T&&n.mergeEvaluated(T,t.Name)})})}}};return Dg.default=a,Dg}var Og={},GD;function OQ(){if(GD)return Og;GD=1,Object.defineProperty(Og,"__esModule",{value:!0});const t=Lt(),e={keyword:"allOf",schemaType:"array",code(o){const{gen:a,schema:n,it:r}=o;if(!Array.isArray(n))throw new Error("ajv implementation error");const i=a.name("valid");n.forEach((c,d)=>{if((0,t.alwaysValidSchema)(r,c))return;const u=o.subschema({keyword:"allOf",schemaProp:d},i);o.ok(i),o.mergeEvaluated(u)})}};return Og.default=e,Og}var Ng={},WD;function NQ(){if(WD)return Ng;WD=1,Object.defineProperty(Ng,"__esModule",{value:!0});const t=yt(),e=Lt(),a={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:r})=>(0,t.str)`must match "${r.ifClause}" schema`,params:({params:r})=>(0,t._)`{failingKeyword: ${r.ifClause}}`},code(r){const{gen:i,parentSchema:c,it:d}=r;c.then===void 0&&c.else===void 0&&(0,e.checkStrictMode)(d,'"if" without "then" and "else" is ignored');const u=n(d,"then"),m=n(d,"else");if(!u&&!m)return;const h=i.let("valid",!0),f=i.name("_valid");if(v(),r.reset(),u&&m){const S=i.let("ifClause");r.setParams({ifClause:S}),i.if(f,b("then",S),b("else",S))}else u?i.if(f,b("then")):i.if((0,t.not)(f),b("else"));r.pass(h,()=>r.error(!0));function v(){const S=r.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},f);r.mergeEvaluated(S)}function b(S,T){return()=>{const x=r.subschema({keyword:S},f);i.assign(h,f),r.mergeValidEvaluated(x,h),T?i.assign(T,(0,t._)`${S}`):r.setParams({ifClause:S})}}}};function n(r,i){const c=r.schema[i];return c!==void 0&&!(0,e.alwaysValidSchema)(r,c)}return Ng.default=a,Ng}var Mg={},KD;function MQ(){if(KD)return Mg;KD=1,Object.defineProperty(Mg,"__esModule",{value:!0});const t=Lt(),e={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:o,parentSchema:a,it:n}){a.if===void 0&&(0,t.checkStrictMode)(n,`"${o}" without "if" is ignored`)}};return Mg.default=e,Mg}var YD;function IQ(){if(YD)return wg;YD=1,Object.defineProperty(wg,"__esModule",{value:!0});const t=pB(),e=xQ(),o=mB(),a=TQ(),n=kQ(),r=EQ(),i=CQ(),c=hB(),d=_Q(),u=PQ(),m=AQ(),h=RQ(),f=DQ(),v=OQ(),b=NQ(),S=MQ();function T(x=!1){const k=[m.default,h.default,f.default,v.default,b.default,S.default,i.default,c.default,r.default,d.default,u.default];return x?k.push(e.default,a.default):k.push(t.default,o.default),k.push(n.default),k}return wg.default=T,wg}var Ig={},Lg={},ZD;function LQ(){if(ZD)return Lg;ZD=1,Object.defineProperty(Lg,"__esModule",{value:!0});const t=yt(),o={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:a})=>(0,t.str)`must match format "${a}"`,params:({schemaCode:a})=>(0,t._)`{format: ${a}}`},code(a,n){const{gen:r,data:i,$data:c,schema:d,schemaCode:u,it:m}=a,{opts:h,errSchemaPath:f,schemaEnv:v,self:b}=m;if(!h.validateFormats)return;c?S():T();function S(){const x=r.scopeValue("formats",{ref:b.formats,code:h.code.formats}),k=r.const("fDef",(0,t._)`${x}[${u}]`),C=r.let("fType"),E=r.let("format");r.if((0,t._)`typeof ${k} == "object" && !(${k} instanceof RegExp)`,()=>r.assign(C,(0,t._)`${k}.type || "string"`).assign(E,(0,t._)`${k}.validate`),()=>r.assign(C,(0,t._)`"string"`).assign(E,k)),a.fail$data((0,t.or)(P(),D()));function P(){return h.strictSchema===!1?t.nil:(0,t._)`${u} && !${E}`}function D(){const R=v.$async?(0,t._)`(${k}.async ? await ${E}(${i}) : ${E}(${i}))`:(0,t._)`${E}(${i})`,O=(0,t._)`(typeof ${E} == "function" ? ${R} : ${E}.test(${i}))`;return(0,t._)`${E} && ${E} !== true && ${C} === ${n} && !${O}`}}function T(){const x=b.formats[d];if(!x){P();return}if(x===!0)return;const[k,C,E]=D(x);k===n&&a.pass(R());function P(){if(h.strictSchema===!1){b.logger.warn(O());return}throw new Error(O());function O(){return`unknown format "${d}" ignored in schema at path "${f}"`}}function D(O){const I=O instanceof RegExp?(0,t.regexpCode)(O):h.code.formats?(0,t._)`${h.code.formats}${(0,t.getProperty)(d)}`:void 0,q=r.scopeValue("formats",{key:d,ref:O,code:I});return typeof O=="object"&&!(O instanceof RegExp)?[O.type||"string",O.validate,(0,t._)`${q}.validate`]:["string",O,q]}function R(){if(typeof x=="object"&&!(x instanceof RegExp)&&x.async){if(!v.$async)throw new Error("async format in sync schema");return(0,t._)`await ${E}(${i})`}return typeof C=="function"?(0,t._)`${E}(${i})`:(0,t._)`${E}.test(${i})`}}}};return Lg.default=o,Lg}var QD;function BQ(){if(QD)return Ig;QD=1,Object.defineProperty(Ig,"__esModule",{value:!0});const e=[LQ().default];return Ig.default=e,Ig}var wl={},JD;function FQ(){return JD||(JD=1,Object.defineProperty(wl,"__esModule",{value:!0}),wl.contentVocabulary=wl.metadataVocabulary=void 0,wl.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],wl.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),wl}var XD;function jQ(){if(XD)return rg;XD=1,Object.defineProperty(rg,"__esModule",{value:!0});const t=cQ(),e=wQ(),o=IQ(),a=BQ(),n=FQ(),r=[t.default,e.default,(0,o.default)(),a.default,n.metadataVocabulary,n.contentVocabulary];return rg.default=r,rg}var Bg={},Zu={},eO;function zQ(){if(eO)return Zu;eO=1,Object.defineProperty(Zu,"__esModule",{value:!0}),Zu.DiscrError=void 0;var t;return(function(e){e.Tag="tag",e.Mapping="mapping"})(t||(Zu.DiscrError=t={})),Zu}var tO;function qQ(){if(tO)return Bg;tO=1,Object.defineProperty(Bg,"__esModule",{value:!0});const t=yt(),e=zQ(),o=Gk(),a=rb(),n=Lt(),i={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:c,tagName:d}})=>c===e.DiscrError.Tag?`tag "${d}" must be string`:`value of tag "${d}" must be in oneOf`,params:({params:{discrError:c,tag:d,tagName:u}})=>(0,t._)`{error: ${c}, tag: ${u}, tagValue: ${d}}`},code(c){const{gen:d,data:u,schema:m,parentSchema:h,it:f}=c,{oneOf:v}=h;if(!f.opts.discriminator)throw new Error("discriminator: requires discriminator option");const b=m.propertyName;if(typeof b!="string")throw new Error("discriminator: requires propertyName");if(m.mapping)throw new Error("discriminator: mapping is not supported");if(!v)throw new Error("discriminator: requires oneOf keyword");const S=d.let("valid",!1),T=d.const("tag",(0,t._)`${u}${(0,t.getProperty)(b)}`);d.if((0,t._)`typeof ${T} == "string"`,()=>x(),()=>c.error(!1,{discrError:e.DiscrError.Tag,tag:T,tagName:b})),c.ok(S);function x(){const E=C();d.if(!1);for(const P in E)d.elseIf((0,t._)`${T} === ${P}`),d.assign(S,k(E[P]));d.else(),c.error(!1,{discrError:e.DiscrError.Mapping,tag:T,tagName:b}),d.endIf()}function k(E){const P=d.name("valid"),D=c.subschema({keyword:"oneOf",schemaProp:E},P);return c.mergeEvaluated(D,t.Name),P}function C(){var E;const P={},D=O(h);let R=!0;for(let B=0;B<v.length;B++){let j=v[B];if(j?.$ref&&!(0,n.schemaHasRulesButRef)(j,f.self.RULES)){const W=j.$ref;if(j=o.resolveRef.call(f.self,f.schemaEnv.root,f.baseId,W),j instanceof o.SchemaEnv&&(j=j.schema),j===void 0)throw new a.default(f.opts.uriResolver,f.baseId,W)}const F=(E=j?.properties)===null||E===void 0?void 0:E[b];if(typeof F!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${b}"`);R=R&&(D||O(j)),I(F,B)}if(!R)throw new Error(`discriminator: "${b}" must be required`);return P;function O({required:B}){return Array.isArray(B)&&B.includes(b)}function I(B,j){if(B.const)q(B.const,j);else if(B.enum)for(const F of B.enum)q(F,j);else throw new Error(`discriminator: "properties/${b}" must have "const" or "enum"`)}function q(B,j){if(typeof B!="string"||B in P)throw new Error(`discriminator: "${b}" values must be unique strings`);P[B]=j}}}};return Bg.default=i,Bg}const UQ="http://json-schema.org/draft-07/schema#",$Q="http://json-schema.org/draft-07/schema#",VQ="Core schema meta-schema",HQ={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},GQ=["object","boolean"],WQ={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},KQ={$schema:UQ,$id:$Q,title:VQ,definitions:HQ,type:GQ,properties:WQ,default:!0};var oO;function YQ(){return oO||(oO=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.MissingRefError=e.ValidationError=e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=e.Ajv=void 0;const o=sQ(),a=jQ(),n=qQ(),r=KQ,i=["/properties"],c="http://json-schema.org/draft-07/schema";class d extends o.default{_addVocabularies(){super._addVocabularies(),a.default.forEach(b=>this.addVocabulary(b)),this.opts.discriminator&&this.addKeyword(n.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const b=this.opts.$data?this.$dataMetaSchema(r,i):r;this.addMetaSchema(b,c,!1),this.refs["http://json-schema.org/schema"]=c}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(c)?c:void 0)}}e.Ajv=d,t.exports=e=d,t.exports.Ajv=d,Object.defineProperty(e,"__esModule",{value:!0}),e.default=d;var u=nb();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var m=yt();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return m._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return m.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return m.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return m.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return m.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return m.CodeGen}});var h=Hk();Object.defineProperty(e,"ValidationError",{enumerable:!0,get:function(){return h.default}});var f=rb();Object.defineProperty(e,"MissingRefError",{enumerable:!0,get:function(){return f.default}})})(eg,eg.exports)),eg.exports}var Fg={exports:{}},Ew={},aO;function ZQ(){return aO||(aO=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.formatNames=t.fastFormats=t.fullFormats=void 0;function e(B,j){return{validate:B,compare:j}}t.fullFormats={date:e(r,i),time:e(d(!0),u),"date-time":e(f(!0),v),"iso-time":e(d(),m),"iso-date-time":e(f(),b),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:x,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:q,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:C,int32:{type:"number",validate:D},int64:{type:"number",validate:R},float:{type:"number",validate:O},double:{type:"number",validate:O},password:!0,binary:!0},t.fastFormats={...t.fullFormats,date:e(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,i),time:e(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,u),"date-time":e(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,v),"iso-time":e(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,m),"iso-date-time":e(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,b),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},t.formatNames=Object.keys(t.fullFormats);function o(B){return B%4===0&&(B%100!==0||B%400===0)}const a=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,n=[0,31,28,31,30,31,30,31,31,30,31,30,31];function r(B){const j=a.exec(B);if(!j)return!1;const F=+j[1],W=+j[2],oe=+j[3];return W>=1&&W<=12&&oe>=1&&oe<=(W===2&&o(F)?29:n[W])}function i(B,j){if(B&&j)return B>j?1:B<j?-1:0}const c=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function d(B){return function(F){const W=c.exec(F);if(!W)return!1;const oe=+W[1],H=+W[2],K=+W[3],J=W[4],se=W[5]==="-"?-1:1,Q=+(W[6]||0),M=+(W[7]||0);if(Q>23||M>59||B&&!J)return!1;if(oe<=23&&H<=59&&K<60)return!0;const G=H-M*se,V=oe-Q*se-(G<0?1:0);return(V===23||V===-1)&&(G===59||G===-1)&&K<61}}function u(B,j){if(!(B&&j))return;const F=new Date("2020-01-01T"+B).valueOf(),W=new Date("2020-01-01T"+j).valueOf();if(F&&W)return F-W}function m(B,j){if(!(B&&j))return;const F=c.exec(B),W=c.exec(j);if(F&&W)return B=F[1]+F[2]+F[3],j=W[1]+W[2]+W[3],B>j?1:B<j?-1:0}const h=/t|\s/i;function f(B){const j=d(B);return function(W){const oe=W.split(h);return oe.length===2&&r(oe[0])&&j(oe[1])}}function v(B,j){if(!(B&&j))return;const F=new Date(B).valueOf(),W=new Date(j).valueOf();if(F&&W)return F-W}function b(B,j){if(!(B&&j))return;const[F,W]=B.split(h),[oe,H]=j.split(h),K=i(F,oe);if(K!==void 0)return K||u(W,H)}const S=/\/|:/,T=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function x(B){return S.test(B)&&T.test(B)}const k=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function C(B){return k.lastIndex=0,k.test(B)}const E=-2147483648,P=2**31-1;function D(B){return Number.isInteger(B)&&B<=P&&B>=E}function R(B){return Number.isInteger(B)}function O(){return!0}const I=/[^\\]\\Z/;function q(B){if(I.test(B))return!1;try{return new RegExp(B),!0}catch{return!1}}})(Ew)),Ew}var Cw={},nO;function QQ(){return nO||(nO=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.formatLimitDefinition=void 0;const e=YQ(),o=yt(),a=o.operators,n={formatMaximum:{okStr:"<=",ok:a.LTE,fail:a.GT},formatMinimum:{okStr:">=",ok:a.GTE,fail:a.LT},formatExclusiveMaximum:{okStr:"<",ok:a.LT,fail:a.GTE},formatExclusiveMinimum:{okStr:">",ok:a.GT,fail:a.LTE}},r={message:({keyword:c,schemaCode:d})=>(0,o.str)`should be ${n[c].okStr} ${d}`,params:({keyword:c,schemaCode:d})=>(0,o._)`{comparison: ${n[c].okStr}, limit: ${d}}`};t.formatLimitDefinition={keyword:Object.keys(n),type:"string",schemaType:"string",$data:!0,error:r,code(c){const{gen:d,data:u,schemaCode:m,keyword:h,it:f}=c,{opts:v,self:b}=f;if(!v.validateFormats)return;const S=new e.KeywordCxt(f,b.RULES.all.format.definition,"format");S.$data?T():x();function T(){const C=d.scopeValue("formats",{ref:b.formats,code:v.code.formats}),E=d.const("fmt",(0,o._)`${C}[${S.schemaCode}]`);c.fail$data((0,o.or)((0,o._)`typeof ${E} != "object"`,(0,o._)`${E} instanceof RegExp`,(0,o._)`typeof ${E}.compare != "function"`,k(E)))}function x(){const C=S.schema,E=b.formats[C];if(!E||E===!0)return;if(typeof E!="object"||E instanceof RegExp||typeof E.compare!="function")throw new Error(`"${h}": format "${C}" does not define "compare" function`);const P=d.scopeValue("formats",{key:C,ref:E,code:v.code.formats?(0,o._)`${v.code.formats}${(0,o.getProperty)(C)}`:void 0});c.fail$data(k(P))}function k(C){return(0,o._)`${C}.compare(${u}, ${m}) ${n[h].fail} 0`}},dependencies:["format"]};const i=c=>(c.addKeyword(t.formatLimitDefinition),c);t.default=i})(Cw)),Cw}var rO;function JQ(){return rO||(rO=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});const o=ZQ(),a=QQ(),n=yt(),r=new n.Name("fullFormats"),i=new n.Name("fastFormats"),c=(u,m={keywords:!0})=>{if(Array.isArray(m))return d(u,m,o.fullFormats,r),u;const[h,f]=m.mode==="fast"?[o.fastFormats,i]:[o.fullFormats,r],v=m.formats||o.formatNames;return d(u,v,h,f),m.keywords&&(0,a.default)(u),u};c.get=(u,m="full")=>{const f=(m==="fast"?o.fastFormats:o.fullFormats)[u];if(!f)throw new Error(`Unknown format "${u}"`);return f};function d(u,m,h,f){var v,b;(v=(b=u.opts.code).formats)!==null&&v!==void 0||(b.formats=(0,n._)`require("ajv-formats/dist/formats").${f}`);for(const S of m)u.addFormat(S,h[S])}t.exports=e=c,Object.defineProperty(e,"__esModule",{value:!0}),e.default=c})(Fg,Fg.exports)),Fg.exports}var XQ=JQ();const Jxe=Gl(XQ);function eJ({studioUrl:t,meshUrl:e},o){return t??e??o}let Kk;Kk=globalThis.crypto;async function tJ(t){return(await Kk).getRandomValues(new Uint8Array(t))}async function oJ(t){const e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~",o=Math.pow(2,8)-Math.pow(2,8)%e.length;let a="";for(;a.length<t;){const n=await tJ(t-a.length);for(const r of n)r<o&&(a+=e[r%e.length])}return a}async function aJ(t){return await oJ(t)}async function nJ(t){const e=await(await Kk).subtle.digest("SHA-256",new TextEncoder().encode(t));return btoa(String.fromCharCode(...new Uint8Array(e))).replace(/\//g,"_").replace(/\+/g,"-").replace(/=/g,"")}async function Xxe(t){if(t||(t=43),t<43||t>128)throw`Expected a length between 43 and 128. Received ${t}.`;const e=await aJ(t),o=await nJ(e);return{code_verifier:e,code_challenge:o}}const Ca=SL().superRefine((t,e)=>{if(!URL.canParse(t))return e.addIssue({code:nK.custom,message:"URL must be parseable",fatal:!0}),d7}).refine(t=>{const e=new URL(t);return e.protocol!=="javascript:"&&e.protocol!=="data:"&&e.protocol!=="vbscript:"},{message:"URL cannot use javascript:, data:, or vbscript: scheme"}),eTe=_a({resource:$().url(),authorization_servers:je(Ca).optional(),jwks_uri:$().url().optional(),scopes_supported:je($()).optional(),bearer_methods_supported:je($()).optional(),resource_signing_alg_values_supported:je($()).optional(),resource_name:$().optional(),resource_documentation:$().optional(),resource_policy_uri:$().url().optional(),resource_tos_uri:$().url().optional(),tls_client_certificate_bound_access_tokens:Vt().optional(),authorization_details_types_supported:je($()).optional(),dpop_signing_alg_values_supported:je($()).optional(),dpop_bound_access_tokens_required:Vt().optional()}),rJ=_a({issuer:$(),authorization_endpoint:Ca,token_endpoint:Ca,registration_endpoint:Ca.optional(),scopes_supported:je($()).optional(),response_types_supported:je($()),response_modes_supported:je($()).optional(),grant_types_supported:je($()).optional(),token_endpoint_auth_methods_supported:je($()).optional(),token_endpoint_auth_signing_alg_values_supported:je($()).optional(),service_documentation:Ca.optional(),revocation_endpoint:Ca.optional(),revocation_endpoint_auth_methods_supported:je($()).optional(),revocation_endpoint_auth_signing_alg_values_supported:je($()).optional(),introspection_endpoint:$().optional(),introspection_endpoint_auth_methods_supported:je($()).optional(),introspection_endpoint_auth_signing_alg_values_supported:je($()).optional(),code_challenge_methods_supported:je($()).optional(),client_id_metadata_document_supported:Vt().optional()}),sJ=_a({issuer:$(),authorization_endpoint:Ca,token_endpoint:Ca,userinfo_endpoint:Ca.optional(),jwks_uri:Ca,registration_endpoint:Ca.optional(),scopes_supported:je($()).optional(),response_types_supported:je($()),response_modes_supported:je($()).optional(),grant_types_supported:je($()).optional(),acr_values_supported:je($()).optional(),subject_types_supported:je($()),id_token_signing_alg_values_supported:je($()),id_token_encryption_alg_values_supported:je($()).optional(),id_token_encryption_enc_values_supported:je($()).optional(),userinfo_signing_alg_values_supported:je($()).optional(),userinfo_encryption_alg_values_supported:je($()).optional(),userinfo_encryption_enc_values_supported:je($()).optional(),request_object_signing_alg_values_supported:je($()).optional(),request_object_encryption_alg_values_supported:je($()).optional(),request_object_encryption_enc_values_supported:je($()).optional(),token_endpoint_auth_methods_supported:je($()).optional(),token_endpoint_auth_signing_alg_values_supported:je($()).optional(),display_values_supported:je($()).optional(),claim_types_supported:je($()).optional(),claims_supported:je($()).optional(),service_documentation:$().optional(),claims_locales_supported:je($()).optional(),ui_locales_supported:je($()).optional(),claims_parameter_supported:Vt().optional(),request_parameter_supported:Vt().optional(),request_uri_parameter_supported:Vt().optional(),require_request_uri_registration:Vt().optional(),op_policy_uri:Ca.optional(),op_tos_uri:Ca.optional(),client_id_metadata_document_supported:Vt().optional()}),tTe=we({...sJ.shape,...rJ.pick({code_challenge_methods_supported:!0}).shape}),oTe=we({access_token:$(),id_token:$().optional(),token_type:$(),expires_in:AL().optional(),scope:$().optional(),refresh_token:$().optional()}).strip(),aTe=we({error:$(),error_description:$().optional(),error_uri:$().optional()}),sO=Ca.optional().or(Qe("").transform(()=>{})),iJ=we({redirect_uris:je(Ca),token_endpoint_auth_method:$().optional(),grant_types:je($()).optional(),response_types:je($()).optional(),client_name:$().optional(),client_uri:Ca.optional(),logo_uri:sO,scope:$().optional(),contacts:je($()).optional(),tos_uri:sO,policy_uri:$().optional(),jwks_uri:Ca.optional(),jwks:RW().optional(),software_id:$().optional(),software_version:$().optional(),software_statement:$().optional()}).strip(),lJ=we({client_id:$(),client_secret:$().optional(),client_id_issued_at:Mt().optional(),client_secret_expires_at:Mt().optional()}).strip(),nTe=iJ.merge(lJ);we({error:$(),error_description:$().optional()}).strip();we({token:$(),token_type_hint:$().optional()}).strip();class Oa extends Error{constructor(e,o){super(e),this.errorUri=o,this.name=this.constructor.name}toResponseObject(){const e={error:this.errorCode,error_description:this.message};return this.errorUri&&(e.error_uri=this.errorUri),e}get errorCode(){return this.constructor.errorCode}}class gT extends Oa{}gT.errorCode="invalid_request";class fT extends Oa{}fT.errorCode="invalid_client";class vT extends Oa{}vT.errorCode="invalid_grant";class bT extends Oa{}bT.errorCode="unauthorized_client";class yT extends Oa{}yT.errorCode="unsupported_grant_type";class ST extends Oa{}ST.errorCode="invalid_scope";class wT extends Oa{}wT.errorCode="access_denied";class xT extends Oa{}xT.errorCode="server_error";class TT extends Oa{}TT.errorCode="temporarily_unavailable";class kT extends Oa{}kT.errorCode="unsupported_response_type";class ET extends Oa{}ET.errorCode="unsupported_token_type";class CT extends Oa{}CT.errorCode="invalid_token";class _T extends Oa{}_T.errorCode="method_not_allowed";class PT extends Oa{}PT.errorCode="too_many_requests";class AT extends Oa{}AT.errorCode="invalid_client_metadata";class RT extends Oa{}RT.errorCode="insufficient_scope";class DT extends Oa{}DT.errorCode="invalid_target";const rTe={[gT.errorCode]:gT,[fT.errorCode]:fT,[vT.errorCode]:vT,[bT.errorCode]:bT,[yT.errorCode]:yT,[ST.errorCode]:ST,[wT.errorCode]:wT,[xT.errorCode]:xT,[TT.errorCode]:TT,[kT.errorCode]:kT,[ET.errorCode]:ET,[CT.errorCode]:CT,[_T.errorCode]:_T,[PT.errorCode]:PT,[AT.errorCode]:AT,[RT.errorCode]:RT,[DT.errorCode]:DT};async function gB(t){if(!t.getServerCapabilities()?.resources)return{resources:[]};try{return await t.listResources()}catch(o){if(o instanceof tb&&o.code===Up.MethodNotFound)return{resources:[]};throw o}}async function cJ(t,e){return await t.readResource({uri:e})}function sTe(t){const e=ye.c(12);let o,a;e[0]!==t?({client:o,...a}=t,e[0]=t,e[1]=o,e[2]=a):(o=e[1],a=e[2]);let n;e[3]!==o?(n=no.mcpResourcesList(o),e[3]=o,e[4]=n):n=e[4];let r;e[5]!==o?(r=()=>gB(o),e[5]=o,e[6]=r):r=e[6];const i=a.staleTime??3e4;let c;return e[7]!==a||e[8]!==n||e[9]!==r||e[10]!==i?(c={...a,queryKey:n,queryFn:r,staleTime:i,retry:!1},e[7]=a,e[8]=n,e[9]=r,e[10]=i,e[11]=c):c=e[11],Wi(c)}function iTe(t){const e=ye.c(12);let o,a;e[0]!==t?({client:o,...a}=t,e[0]=t,e[1]=o,e[2]=a):(o=e[1],a=e[2]);let n;e[3]!==o?(n=no.mcpResourcesList(o),e[3]=o,e[4]=n):n=e[4];let r;e[5]!==o?(r=()=>gB(o),e[5]=o,e[6]=r):r=e[6];const i=a.staleTime??3e4;let c;return e[7]!==a||e[8]!==n||e[9]!==r||e[10]!==i?(c={...a,queryKey:n,queryFn:r,staleTime:i,retry:!1},e[7]=a,e[8]=n,e[9]=r,e[10]=i,e[11]=c):c=e[11],Ls(c)}function lTe(t){const e=ye.c(15);let o,a,n;e[0]!==t?({client:o,uri:n,...a}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n):(o=e[1],a=e[2],n=e[3]);let r;e[4]!==o||e[5]!==n?(r=no.mcpReadResource(o,n),e[4]=o,e[5]=n,e[6]=r):r=e[6];let i;e[7]!==o||e[8]!==n?(i=()=>cJ(o,n),e[7]=o,e[8]=n,e[9]=i):i=e[9];const c=a.staleTime??3e4;let d;return e[10]!==a||e[11]!==r||e[12]!==i||e[13]!==c?(d={...a,queryKey:r,queryFn:i,staleTime:c,retry:!1},e[10]=a,e[11]=r,e[12]=i,e[13]=c,e[14]=d):d=e[14],Wi(d)}const fB="ui-resource-html";function cTe(t){const e=ye.c(22);let o,a,n,r,i,c;e[0]!==t?({orgSlug:n,connectionId:o,uri:c,studioUrl:i,meshUrl:a,...r}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n,e[4]=r,e[5]=i,e[6]=c):(o=e[1],a=e[2],n=e[3],r=e[4],i=e[5],c=e[6]);let d;e[7]!==o||e[8]!==n||e[9]!==c?(d=no.mcpUiResourceHtml(n,o,c),e[7]=o,e[8]=n,e[9]=c,e[10]=d):d=e[10];let u;e[11]!==o||e[12]!==a||e[13]!==n||e[14]!==i||e[15]!==c?(u=async()=>{const v=`${eJ({studioUrl:i,meshUrl:a},typeof window<"u"?window.location.origin:"")}/api/${encodeURIComponent(n)}/mcp/${encodeURIComponent(o)}/ui-resource?uri=${encodeURIComponent(c)}`,b=await fetch(v,{credentials:"include"});if(!b.ok)throw new Error(`Failed to read UI resource (${b.status})`);return b.text()},e[11]=o,e[12]=a,e[13]=n,e[14]=i,e[15]=c,e[16]=u):u=e[16];const m=r.staleTime??3e4;let h;return e[17]!==r||e[18]!==d||e[19]!==u||e[20]!==m?(h={...r,queryKey:d,queryFn:u,staleTime:m,retry:!1},e[17]=r,e[18]=d,e[19]=u,e[20]=m,e[21]=h):h=e[21],Wi(h)}const vB={featureNotInPlan:"feature_not_in_plan",aiBudgetExhausted:"ai_budget_exhausted"};class OT extends Error{constructor(e,o,a){super(e),this.status=o,this.code=a,this.name="StudioToolError"}status;code}function bB(t){return t instanceof OT&&Object.values(vB).includes(t.code??"")?t.code:null}async function dJ(t,e,o){const a=await fetch(`/api/${encodeURIComponent(t)}/tools/${encodeURIComponent(e)}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o??{})});if(!a.ok){let n=`${e} failed (${a.status})`,r;try{const i=await a.json();i?.error&&(n=i.error),typeof i?.code=="string"&&(r=i.code)}catch{}throw new OT(n,a.status,r)}try{return await a.json()}catch{throw new OT(`${e} returned a non-JSON response`,a.status)}}function Yk(){const t=ye.c(5),{org:e}=Yi(),o=e.slug;let a;t[0]!==o?(a=(r,i)=>dJ(o,r,i),t[0]=o,t[1]=a):a=t[1];let n;return t[2]!==o||t[3]!==a?(n={orgSlug:o,call:a},t[2]=o,t[3]=a,t[4]=n):n=t[4],n}function Zk(t){for(const e of["content-revision","content-versions","content-changes","content-draft-tombstones","content-index"])t.getQueryDefaults([e]).gcTime!==1/0&&t.setQueryDefaults([e],{gcTime:1/0})}const uJ="studio-ui-resources",Xf="html",pJ=10080*60*1e3,mJ=50,hJ=16*1024*1024;function gJ(t){return t[0]==="mcp"&&t[1]===fB}function sb(){return new Promise((t,e)=>{const o=indexedDB.open(uJ,1);o.onupgradeneeded=()=>{o.result.objectStoreNames.contains(Xf)||o.result.createObjectStore(Xf)},o.onsuccess=()=>t(o.result),o.onerror=()=>e(o.error)})}function Fd(t,e){return t.transaction(Xf,e).objectStore(Xf)}function NT(t){return new Promise((e,o)=>{t.onsuccess=()=>e(t.result),t.onerror=()=>o(t.error)})}async function fJ(t){if(!(typeof indexedDB>"u"))try{const e=await sb(),o=Fd(e,"readonly"),a=await NT(o.getAllKeys()),n=await NT(o.getAll()),r=Date.now(),i=a.map((u,m)=>({key:u,value:n[m]})).sort((u,m)=>(m.value?.updatedAt??0)-(u.value?.updatedAt??0)),c=[];let d=0;for(const{key:u,value:m}of i){if(!m||r-m.updatedAt>pJ||d>=mJ){c.push(u);continue}d++;try{const f=JSON.parse(String(u));t.getQueryData(f)===void 0&&t.setQueryData(f,m.html,{updatedAt:0})}catch{c.push(u)}}if(c.length>0){const u=Fd(e,"readwrite");for(const m of c)u.delete(m)}}catch{}}function vJ(t){if(typeof indexedDB>"u")return()=>{};const e=sb().catch(()=>null);return t.getQueryCache().subscribe(o=>{const a=o.query;if(!Array.isArray(a.queryKey)||!gJ(a.queryKey)||a.state.status!=="success")return;const n=a.state.data;typeof n!="string"||n.length>hJ||e.then(r=>{if(r)try{Fd(r,"readwrite").put({html:n,updatedAt:Date.now()},JSON.stringify(a.queryKey))}catch{}})})}function bJ(){typeof indexedDB>"u"||sb().then(t=>Fd(t,"readwrite").clear()).catch(()=>{})}async function dTe(t){if(!(typeof indexedDB>"u"))try{const e=await sb(),o=await NT(Fd(e,"readonly").getAllKeys()),a=Fd(e,"readwrite");for(const n of o)try{const r=JSON.parse(String(n));r[1]===fB&&r[3]===t&&a.delete(n)}catch{}}catch{}}const ev="studio:rq-cache",Qk=1440*60*1e3,yJ=1e3,SJ=new Set(["publicConfig","ai-provider-keys","organization-settings","home-next-actions","order-monitor"]),wJ=new Set(["VIRTUAL_MCP","CONNECTIONS"]);let yB=!1,SB=!1;function xJ(t){const e=t[0];return typeof e=="string"&&SJ.has(e)?!0:t[3]==="collection"&&typeof t[4]=="string"&&wJ.has(t[4])}function TJ(t){if(!(typeof window>"u"))try{const e=window.localStorage.getItem(ev);if(!e)return;const o=JSON.parse(e),a=!o.timestamp||Date.now()-o.timestamp>Qk;if(o.buster!=="4.572.0"||a||!o.state){window.localStorage.removeItem(ev);return}qV(t,o.state),t.invalidateQueries({queryKey:no.publicConfig(),refetchType:"none"}),yB=!0}catch{AJ()}}function kJ(t){if(typeof window>"u")return()=>{};let e=null;const o=()=>{e=null;try{const r=zV(t,{shouldDehydrateQuery:i=>i.state.status==="success"&&xJ(i.queryKey)});window.localStorage.setItem(ev,JSON.stringify({buster:"4.572.0",timestamp:Date.now(),state:r}))}catch{}},a=t.getQueryCache().subscribe(()=>{e==null&&(e=setTimeout(o,yJ))}),n=()=>{e!=null&&(clearTimeout(e),o())};return window.addEventListener("pagehide",n),()=>{e!=null&&clearTimeout(e),window.removeEventListener("pagehide",n),a()}}const wB="studio:org-cache:",EJ=20;function CJ(t){const e=Date.now(),o=Object.entries(t).filter(([,a])=>e-a.updatedAt<=Qk);for(o.sort(([,a],[,n])=>a.updatedAt-n.updatedAt);o.length>EJ;)o.shift();return Object.fromEntries(o)}function xB(t){return`${wB}${t}`}function _J(t,e){if(typeof window>"u")return null;try{const o=window.localStorage.getItem(xB(t));if(!o)return null;const a=JSON.parse(o)[e];return!a||Date.now()-a.updatedAt>Qk?null:(SB=!0,a)}catch{return null}}function PJ(t,e,o){if(!(typeof window>"u"))try{const a=xB(t),n=window.localStorage.getItem(a),r=n?JSON.parse(n):{};r[e]={data:o,updatedAt:Date.now()},window.localStorage.setItem(a,JSON.stringify(CJ(r)))}catch{}}function AJ(){if(bJ(),!(typeof window>"u"))try{window.localStorage.removeItem(ev);for(let t=window.localStorage.length-1;t>=0;t--){const e=window.localStorage.key(t);e?.startsWith(wB)&&window.localStorage.removeItem(e)}}catch{}}function RJ(){return yB}function DJ(){return SB}function iO(t){const e=bB(t);if(!e)return;const o=e===vB.aiBudgetExhausted?tv.budget||"This organization's AI allowance is used up.":tv.feature||"This organization's plan does not include that.";Bd.error(o,{id:`plan-refusal:${e}`})}const tv={feature:"",budget:""},Zl=new JV({queryCache:new mI({onError:iO}),mutationCache:new pI({onError:iO}),defaultOptions:{queries:{staleTime:6e4,refetchOnWindowFocus:!0,refetchOnMount:!0,retry:(t,e)=>bB(e)===null&&t<1,gcTime:300*1e3}}});Zk(Zl);TJ(Zl);kJ(Zl);fJ(Zl);vJ(Zl);const Jk=5*6e4;async function TB(){return(await(await fetch("/api/config")).json()).config}function kB(){const t=ye.c(1);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={queryKey:no.publicConfig(),queryFn:TB,staleTime:Jk},t[0]=e):e=t[0];const{data:o}=Wi(e);return o}function uTe(){const t=ye.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e={queryKey:no.publicConfig(),queryFn:TB,staleTime:Jk},t[0]=e):e=t[0],Ls(e).data}const EB=A.createContext(void 0);function OJ(t){const e=ye.c(3),{children:o}=t,a=kB();let n;return e[0]!==o||e[1]!==a.auth?(n=y.jsx(EB.Provider,{value:a.auth,children:o}),e[0]=o,e[1]=a.auth,e[2]=n):n=e[2],n}function pTe(){const t=A.useContext(EB);if(t===void 0)throw new Error("useAuthConfig must be used within AuthConfigProvider");return t}var NJ={},lO={};const wf=Object.create(null),Qu=t=>NJ||globalThis.Deno?.env.toObject()||globalThis.__env__||(t?wf:globalThis),Xn=new Proxy(wf,{get(t,e){return Qu()[e]??wf[e]},has(t,e){return e in Qu()||e in wf},set(t,e,o){const a=Qu(!0);return a[e]=o,!0},deleteProperty(t,e){if(!e)return!1;const o=Qu(!0);return delete o[e],!0},ownKeys(){const t=Qu(!0);return Object.keys(t)}});function Qo(t,e){return typeof process<"u"&&lO?lO[t]??e:typeof Deno<"u"?Deno.env.get(t)??e:typeof Bun<"u"?Bun.env[t]??e:e}const Ju=1,ma=4,Vr=8,Nn=24,cO={eterm:ma,cons25:ma,console:ma,cygwin:ma,dtterm:ma,gnome:ma,hurd:ma,jfbterm:ma,konsole:ma,kterm:ma,mlterm:ma,mosh:Nn,putty:ma,st:ma,"rxvt-unicode-24bit":Nn,terminator:Nn,"xterm-kitty":Nn},MJ=new Map(Object.entries({APPVEYOR:Vr,BUILDKITE:Vr,CIRCLECI:Nn,DRONE:Vr,GITEA_ACTIONS:Nn,GITHUB_ACTIONS:Nn,GITLAB_CI:Vr,TRAVIS:Vr})),IJ=[/ansi/,/color/,/linux/,/direct/,/^con[0-9]*x[0-9]/,/^rxvt/,/^screen/,/^xterm/,/^vt100/,/^vt220/];function LJ(){if(Qo("FORCE_COLOR")!==void 0)switch(Qo("FORCE_COLOR")){case"":case"1":case"true":return ma;case"2":return Vr;case"3":return Nn;default:return Ju}if(Qo("NODE_DISABLE_COLORS")!==void 0&&Qo("NODE_DISABLE_COLORS")!==""||Qo("NO_COLOR")!==void 0&&Qo("NO_COLOR")!==""||Qo("TERM")==="dumb")return Ju;if(Qo("TMUX"))return Nn;if("TF_BUILD"in Xn&&"AGENT_NAME"in Xn)return ma;if("CI"in Xn){for(const{0:t,1:e}of MJ)if(t in Xn)return e;return Qo("CI_NAME")==="codeship"?Vr:Ju}if("TEAMCITY_VERSION"in Xn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.exec(Qo("TEAMCITY_VERSION"))!==null?ma:Ju;switch(Qo("TERM_PROGRAM")){case"iTerm.app":return!Qo("TERM_PROGRAM_VERSION")||/^[0-2]\./.exec(Qo("TERM_PROGRAM_VERSION"))!==null?Vr:Nn;case"HyperTerm":case"MacTerm":return Nn;case"Apple_Terminal":return Vr}if(Qo("COLORTERM")==="truecolor"||Qo("COLORTERM")==="24bit")return Nn;if(Qo("TERM")){if(/truecolor/.exec(Qo("TERM"))!==null)return Nn;if(/^xterm-256/.exec(Qo("TERM"))!==null)return Vr;const t=Qo("TERM").toLowerCase();if(cO[t])return cO[t];if(IJ.some(e=>e.exec(t)!==null))return ma}return Qo("COLORTERM")?ma:Ju}const Hr={reset:"\x1B[0m",bright:"\x1B[1m",dim:"\x1B[2m",fg:{red:"\x1B[31m",green:"\x1B[32m",yellow:"\x1B[33m",blue:"\x1B[34m",magenta:"\x1B[35m"}},MT=["debug","info","success","warn","error"];function BJ(t,e){return MT.indexOf(e)>=MT.indexOf(t)}const FJ={info:Hr.fg.blue,success:Hr.fg.green,warn:Hr.fg.yellow,error:Hr.fg.red,debug:Hr.fg.magenta},jJ=(t,e,o)=>{const a=new Date().toISOString();return o?`${Hr.dim}${a}${Hr.reset} ${FJ[t]}${t.toUpperCase()}${Hr.reset} ${Hr.bright}[Better Auth]:${Hr.reset} ${e}`:`${a} ${t.toUpperCase()} [Better Auth]: ${e}`},zJ=t=>{const e="warn",o=LJ()!==1,a=(n,r,i=[])=>{if(!BJ(e,n))return;const c=jJ(n,r,o);{n==="error"?console.error(c,...i):n==="warn"?console.warn(c,...i):console.log(c,...i);return}};return{...Object.fromEntries(MT.map(n=>[n,(...[r,...i])=>a(n,r,i)])),get level(){return e}}};zJ();function qJ(t){return t.charAt(0).toUpperCase()+t.slice(1)}var Ep=class extends Error{constructor(t,e){super(t,e),this.name="BetterAuthError",this.message=t,this.stack=""}};function UJ(t){try{return(new URL(t).pathname.replace(/\/+$/,"")||"/")!=="/"}catch{throw new Ep(`Invalid base URL: ${t}. Please provide a valid base URL.`)}}function $J(t){try{const e=new URL(t);if(e.protocol!=="http:"&&e.protocol!=="https:")throw new Ep(`Invalid base URL: ${t}. URL must include 'http://' or 'https://'`)}catch(e){throw e instanceof Ep?e:new Ep(`Invalid base URL: ${t}. Please provide a valid base URL.`,{cause:e})}}function _w(t,e="/api/auth"){if($J(t),UJ(t))return t;const o=t.replace(/\/+$/,"");return!e||e==="/"?o:(e=e.startsWith("/")?e:`/${e}`,`${o}${e}`)}function VJ(t,e,o,a,n){if(t)return _w(t,e);{const r=Xn.BETTER_AUTH_URL||Xn.NEXT_PUBLIC_BETTER_AUTH_URL||Xn.PUBLIC_BETTER_AUTH_URL||Xn.NUXT_PUBLIC_BETTER_AUTH_URL||Xn.NUXT_PUBLIC_AUTH_URL||(Xn.BASE_URL!=="/"?Xn.BASE_URL:void 0);if(r)return _w(r,e)}if(typeof window<"u"&&window.location)return _w(window.location.origin,e)}const HJ={id:"redirect",name:"Redirect",hooks:{onSuccess(t){if(t.data?.url&&t.data?.redirect&&typeof window<"u"&&window.location&&window.location)try{window.location.href=t.data.url}catch{}}}},GJ={proto:/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,constructor:/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,protoShort:/"__proto__"\s*:/,constructorShort:/"constructor"\s*:/},WJ=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/,dO={true:!0,false:!1,null:null,undefined:void 0,nan:NaN,infinity:Number.POSITIVE_INFINITY,"-infinity":Number.NEGATIVE_INFINITY},KJ=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,7}))?(?:Z|([+-])(\d{2}):(\d{2}))$/;function YJ(t){return t instanceof Date&&!isNaN(t.getTime())}function ZJ(t){const e=KJ.exec(t);if(!e)return null;const[,o,a,n,r,i,c,d,u,m,h]=e,f=new Date(Date.UTC(parseInt(o,10),parseInt(a,10)-1,parseInt(n,10),parseInt(r,10),parseInt(i,10),parseInt(c,10),d?parseInt(d.padEnd(3,"0"),10):0));if(u){const v=(parseInt(m,10)*60+parseInt(h,10))*(u==="+"?-1:1);f.setUTCMinutes(f.getUTCMinutes()+v)}return YJ(f)?f:null}function QJ(t,e={}){const{strict:o=!1,warnings:a=!1,reviver:n,parseDates:r=!0}=e;if(typeof t!="string")return t;const i=t.trim();if(i.length>0&&i[0]==='"'&&i.endsWith('"')&&!i.slice(1,-1).includes('"'))return i.slice(1,-1);const c=i.toLowerCase();if(c.length<=9&&c in dO)return dO[c];if(!WJ.test(i)){if(o)throw new SyntaxError("[better-json] Invalid JSON");return t}if(Object.entries(GJ).some(([d,u])=>{const m=u.test(i);return m&&a&&console.warn(`[better-json] Detected potential prototype pollution attempt using ${d} pattern`),m})&&o)throw new Error("[better-json] Potential prototype pollution attempt detected");try{return JSON.parse(i,(u,m)=>{if(u==="__proto__"||u==="constructor"&&m&&typeof m=="object"&&"prototype"in m){a&&console.warn(`[better-json] Dropping "${u}" key to prevent prototype pollution`);return}if(r&&typeof m=="string"){const h=ZJ(m);if(h)return h}return n?n(u,m):m})}catch(d){if(o)throw d;return t}}function JJ(t,e={strict:!0}){return QJ(t,e)}let fr=[],fi=0;const jg=4,XJ=globalThis.nanostoresGlobal||={epoch:0},hd=t=>{let e=[],o={get(){return o.lc||o.listen(()=>{})(),o.value},init:t,lc:0,listen(a){return o.lc=e.push(a),()=>{for(let r=fi+jg;r<fr.length;)fr[r]===a?fr.splice(r,jg):r+=jg;let n=e.indexOf(a);~n&&(e.splice(n,1),--o.lc||o.off())}},notify(a,n){XJ.epoch++;let r=!fr.length;for(let i of e)fr.push(i,o.value,a,n);if(r){for(fi=0;fi<fr.length;fi+=jg)fr[fi](fr[fi+1],fr[fi+2],fr[fi+3]);fr.length=0}},off(){},set(a){let n=o.value;n!==a&&(o.value=a,o.notify(n))},subscribe(a){let n=o.listen(a);return a(o.value),n},value:t};return o},eX=5,zg=6,qg=10;let tX=(t,e,o,a)=>(t.events=t.events||{},t.events[o+qg]||(t.events[o+qg]=a(n=>{t.events[o].reduceRight((r,i)=>(i(r),r),{shared:{},...n})})),t.events[o]=t.events[o]||[],t.events[o].push(e),()=>{let n=t.events[o],r=n.indexOf(e);n.splice(r,1),n.length||(delete t.events[o],t.events[o+qg](),delete t.events[o+qg])});const oX=1e3;let CB=(t,e)=>tX(t,a=>{let n=e(a);n&&t.events[zg].push(n)},eX,a=>{let n=t.listen;t.listen=(...i)=>(!t.lc&&!t.active&&(t.active=!0,a()),n(...i));let r=t.off;return t.events[zg]=[],t.off=()=>{r(),setTimeout(()=>{if(t.active&&!t.lc){t.active=!1;for(let i of t.events[zg])i();t.events[zg]=[]}},oX)},()=>{t.listen=n,t.off=r}});function aX(t,e,o){let a=new Set(e).add(void 0);return t.listen((n,r,i)=>{a.has(i)&&o(n,r,i)})}const nX=()=>typeof window>"u",hp=(t,e,o,a)=>{const n=hd({data:null,error:null,isPending:!0,isRefetching:!1,refetch:c=>r(c)}),r=async c=>new Promise(d=>{const u=typeof a=="function"?a({data:n.get().data,error:n.get().error,isPending:n.get().isPending}):a;o(e,{...u,query:{...u?.query,...c?.query},async onSuccess(m){n.set({data:m.data,error:null,isPending:!1,isRefetching:!1,refetch:n.value.refetch}),await u?.onSuccess?.(m)},async onError(m){const{request:h}=m,f=typeof h.retry=="number"?h.retry:h.retry?.attempts,v=h.retryAttempt||0;f&&v<f||(n.set({error:m.error,data:null,isPending:!1,isRefetching:!1,refetch:n.value.refetch}),await u?.onError?.(m))},async onRequest(m){const h=n.get();n.set({isPending:h.data===null,data:h.data,error:null,isRefetching:!0,refetch:n.value.refetch}),await u?.onRequest?.(m)}}).catch(m=>{n.set({error:m,data:null,isPending:!1,isRefetching:!1,refetch:n.value.refetch})}).finally(()=>{d(void 0)})});t=Array.isArray(t)?t:[t];let i=!1;for(const c of t)c.subscribe(async()=>{nX()||(i?await r():CB(n,()=>{const d=setTimeout(async()=>{i||(await r(),i=!0)},0);return()=>{n.off(),c.off(),clearTimeout(d)}}))});return n},Pw=Symbol.for("better-auth:broadcast-channel"),rX=()=>Math.floor(Date.now()/1e3);var sX=class{listeners=new Set;name;constructor(t="better-auth.message"){this.name=t}subscribe(t){return this.listeners.add(t),()=>{this.listeners.delete(t)}}post(t){if(!(typeof window>"u"))try{localStorage.setItem(this.name,JSON.stringify({...t,timestamp:rX()}))}catch{}}setup(){if(typeof window>"u"||typeof window.addEventListener>"u")return()=>{};const t=e=>{if(e.key!==this.name)return;const o=JSON.parse(e.newValue??"{}");o?.event!=="session"||!o?.data||this.listeners.forEach(a=>a(o))};return window.addEventListener("storage",t),()=>{window.removeEventListener("storage",t)}}};function Aw(t="better-auth.message"){return globalThis[Pw]||(globalThis[Pw]=new sX(t)),globalThis[Pw]}const Rw=Symbol.for("better-auth:focus-manager");var iX=class{listeners=new Set;subscribe(t){return this.listeners.add(t),()=>{this.listeners.delete(t)}}setFocused(t){this.listeners.forEach(e=>e(t))}setup(){if(typeof window>"u"||typeof document>"u"||typeof window.addEventListener>"u")return()=>{};const t=()=>{document.visibilityState==="visible"&&this.setFocused(!0)};return document.addEventListener("visibilitychange",t,!1),()=>{document.removeEventListener("visibilitychange",t,!1)}}};function uO(){return globalThis[Rw]||(globalThis[Rw]=new iX),globalThis[Rw]}const Dw=Symbol.for("better-auth:online-manager");var lX=class{listeners=new Set;isOnline=typeof navigator<"u"?navigator.onLine:!0;subscribe(t){return this.listeners.add(t),()=>{this.listeners.delete(t)}}setOnline(t){this.isOnline=t,this.listeners.forEach(e=>e(t))}setup(){if(typeof window>"u"||typeof window.addEventListener>"u")return()=>{};const t=()=>this.setOnline(!0),e=()=>this.setOnline(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",e,!1),()=>{window.removeEventListener("online",t,!1),window.removeEventListener("offline",e,!1)}}};function Ow(){return globalThis[Dw]||(globalThis[Dw]=new lX),globalThis[Dw]}const Hc=()=>Math.floor(Date.now()/1e3),cX=5;function dX(t){const{sessionAtom:e,sessionSignal:o,$fetch:a,options:n={}}=t,r=n.sessionOptions?.refetchInterval??0,i=n.sessionOptions?.refetchOnWindowFocus??!0,c=n.sessionOptions?.refetchWhenOffline??!1,d={lastSync:0,lastSessionRequest:0,cachedSession:void 0},u=()=>c||Ow().isOnline,m=k=>{if(!u())return;if(k?.event==="storage"){d.lastSync=Hc(),o.set(!o.get());return}const C=e.get();if(k?.event==="poll"){d.lastSessionRequest=Hc(),a("/get-session").then(E=>{E.error?e.set({...C,data:null,error:E.error}):e.set({...C,data:E.data,error:null}),d.lastSync=Hc(),o.set(!o.get())}).catch(()=>{});return}if(k?.event==="visibilitychange"){if(Hc()-d.lastSessionRequest<cX)return;d.lastSessionRequest=Hc()}(C?.data===null||C?.data===void 0||k?.event==="visibilitychange")&&(d.lastSync=Hc(),o.set(!o.get()))},h=k=>{Aw().post({event:"session",data:{trigger:k},clientId:Math.random().toString(36).substring(7)})},f=()=>{r&&r>0&&(d.pollInterval=setInterval(()=>{e.get()?.data&&m({event:"poll"})},r*1e3))},v=()=>{d.unsubscribeBroadcast=Aw().subscribe(()=>{m({event:"storage"})})},b=()=>{i&&(d.unsubscribeFocus=uO().subscribe(()=>{m({event:"visibilitychange"})}))},S=()=>{d.unsubscribeOnline=Ow().subscribe(k=>{k&&m({event:"visibilitychange"})})};return{init:()=>{f(),v(),b(),S(),Aw().setup(),uO().setup(),Ow().setup()},cleanup:()=>{d.pollInterval&&(clearInterval(d.pollInterval),d.pollInterval=void 0),d.unsubscribeBroadcast&&(d.unsubscribeBroadcast(),d.unsubscribeBroadcast=void 0),d.unsubscribeFocus&&(d.unsubscribeFocus(),d.unsubscribeFocus=void 0),d.unsubscribeOnline&&(d.unsubscribeOnline(),d.unsubscribeOnline=void 0),d.lastSync=0,d.lastSessionRequest=0,d.cachedSession=void 0},triggerRefetch:m,broadcastSessionUpdate:h}}function uX(t,e){const o=hd(!1),a=hp(o,"/get-session",t,{method:"GET"});return CB(a,()=>{const n=dX({sessionAtom:a,sessionSignal:o,$fetch:t,options:e});return n.init(),()=>{n.cleanup()}}),{session:a,$sessionSignal:o}}function Nw(t){if(t===null||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null||Symbol.iterator in t?!1:Symbol.toStringTag in t?Object.prototype.toString.call(t)==="[object Module]":!0}function IT(t,e,o=".",a){if(!Nw(e))return IT(t,{},o,a);const n={...e};for(const r of Object.keys(t)){if(r==="__proto__"||r==="constructor")continue;const i=t[r];i!=null&&(a&&a(n,r,i,o)||(Array.isArray(i)&&Array.isArray(n[r])?n[r]=[...i,...n[r]]:Nw(i)&&Nw(n[r])?n[r]=IT(i,n[r],(o?`${o}.`:"")+r.toString(),a):n[r]=i))}return n}function pX(t){return(...e)=>e.reduce((o,a)=>IT(o,a,"",t),{})}const mX=pX();var hX=Object.defineProperty,gX=Object.defineProperties,fX=Object.getOwnPropertyDescriptors,pO=Object.getOwnPropertySymbols,vX=Object.prototype.hasOwnProperty,bX=Object.prototype.propertyIsEnumerable,mO=(t,e,o)=>e in t?hX(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,Sr=(t,e)=>{for(var o in e||(e={}))vX.call(e,o)&&mO(t,o,e[o]);if(pO)for(var o of pO(e))bX.call(e,o)&&mO(t,o,e[o]);return t},qr=(t,e)=>gX(t,fX(e)),yX=class extends Error{constructor(t,e,o){super(e||t.toString(),{cause:o}),this.status=t,this.statusText=e,this.error=o,Error.captureStackTrace(this,this.constructor)}},SX=async(t,e)=>{var o,a,n,r,i,c;let d=e||{};const u={onRequest:[e?.onRequest],onResponse:[e?.onResponse],onSuccess:[e?.onSuccess],onError:[e?.onError],onRetry:[e?.onRetry]};if(!e||!e?.plugins)return{url:t,options:d,hooks:u};for(const m of e?.plugins||[]){if(m.init){const h=await((o=m.init)==null?void 0:o.call(m,t.toString(),e));d=h.options||d,t=h.url}u.onRequest.push((a=m.hooks)==null?void 0:a.onRequest),u.onResponse.push((n=m.hooks)==null?void 0:n.onResponse),u.onSuccess.push((r=m.hooks)==null?void 0:r.onSuccess),u.onError.push((i=m.hooks)==null?void 0:i.onError),u.onRetry.push((c=m.hooks)==null?void 0:c.onRetry)}return{url:t,options:d,hooks:u}},hO=class{constructor(t){this.options=t}shouldAttemptRetry(t,e){return this.options.shouldRetry?Promise.resolve(t<this.options.attempts&&this.options.shouldRetry(e)):Promise.resolve(t<this.options.attempts)}getDelay(){return this.options.delay}},wX=class{constructor(t){this.options=t}shouldAttemptRetry(t,e){return this.options.shouldRetry?Promise.resolve(t<this.options.attempts&&this.options.shouldRetry(e)):Promise.resolve(t<this.options.attempts)}getDelay(t){return Math.min(this.options.maxDelay,this.options.baseDelay*2**t)}};function xX(t){if(typeof t=="number")return new hO({type:"linear",attempts:t,delay:1e3});switch(t.type){case"linear":return new hO(t);case"exponential":return new wX(t);default:throw new Error("Invalid retry strategy")}}var TX=async t=>{const e={},o=async a=>typeof a=="function"?await a():a;if(t?.auth){if(t.auth.type==="Bearer"){const a=await o(t.auth.token);if(!a)return e;e.authorization=`Bearer ${a}`}else if(t.auth.type==="Basic"){const[a,n]=await Promise.all([o(t.auth.username),o(t.auth.password)]);if(!a||!n)return e;e.authorization=`Basic ${btoa(`${a}:${n}`)}`}else if(t.auth.type==="Custom"){const[a,n]=await Promise.all([o(t.auth.prefix),o(t.auth.value)]);if(!n)return e;e.authorization=`${a??""} ${n}`}}return e},kX=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function EX(t){const e=t.headers.get("content-type"),o=new Set(["image/svg","application/xml","application/xhtml","application/html"]);if(!e)return"json";const a=e.split(";").shift()||"";return kX.test(a)?"json":o.has(a)||a.startsWith("text/")?"text":"blob"}function CX(t){try{return JSON.parse(t),!0}catch{return!1}}function LT(t){if(t===void 0)return!1;const e=typeof t;return e==="string"||e==="number"||e==="boolean"||e===null?!0:e!=="object"?!1:Array.isArray(t)?!0:t.buffer?!1:t.constructor&&t.constructor.name==="Object"||typeof t.toJSON=="function"}function gO(t){try{return JSON.parse(t)}catch{return t}}function fO(t){return typeof t=="function"}function _X(t){if(t?.customFetchImpl)return t.customFetchImpl;if(typeof globalThis<"u"&&fO(globalThis.fetch))return globalThis.fetch;if(typeof window<"u"&&fO(window.fetch))return window.fetch;throw new Error("No fetch implementation found")}async function PX(t){const e=new Headers(t?.headers),o=await TX(t);for(const[a,n]of Object.entries(o||{}))e.set(a,n);if(!e.has("content-type")){const a=AX(t?.body);a&&e.set("content-type",a)}return e}function AX(t){return LT(t)?"application/json":null}function RX(t){if(!t?.body)return null;const e=new Headers(t?.headers);if(LT(t.body)&&!e.has("content-type")){for(const[o,a]of Object.entries(t?.body))a instanceof Date&&(t.body[o]=a.toISOString());return JSON.stringify(t.body)}return e.has("content-type")&&e.get("content-type")==="application/x-www-form-urlencoded"&&LT(t.body)?new URLSearchParams(t.body).toString():t.body}function DX(t,e){var o;if(e?.method)return e.method.toUpperCase();if(t.startsWith("@")){const a=(o=t.split("@")[1])==null?void 0:o.split("/")[0];return PB.includes(a)?a.toUpperCase():e?.body?"POST":"GET"}return e?.body?"POST":"GET"}function OX(t,e){let o;return!t?.signal&&t?.timeout&&(o=setTimeout(()=>e?.abort(),t?.timeout)),{abortTimeout:o,clearTimeout:()=>{o&&clearTimeout(o)}}}var NX=class _B extends Error{constructor(e,o){super(o||JSON.stringify(e,null,2)),this.issues=e,Object.setPrototypeOf(this,_B.prototype)}};async function xf(t,e){const o=await t["~standard"].validate(e);if(o.issues)throw new NX(o.issues);return o.value}var PB=["get","post","put","patch","delete"],MX=t=>({id:"apply-schema",name:"Apply Schema",version:"1.0.0",async init(e,o){var a,n,r,i;const c=((n=(a=t.plugins)==null?void 0:a.find(d=>{var u;return(u=d.schema)!=null&&u.config?e.startsWith(d.schema.config.baseURL||"")||e.startsWith(d.schema.config.prefix||""):!1}))==null?void 0:n.schema)||t.schema;if(c){let d=e;(r=c.config)!=null&&r.prefix&&d.startsWith(c.config.prefix)&&(d=d.replace(c.config.prefix,""),c.config.baseURL&&(e=e.replace(c.config.prefix,c.config.baseURL))),(i=c.config)!=null&&i.baseURL&&d.startsWith(c.config.baseURL)&&(d=d.replace(c.config.baseURL,""));const u=c.schema[d];if(u){let m=qr(Sr({},o),{method:u.method,output:u.output});return o?.disableValidation||(m=qr(Sr({},m),{body:u.input?await xf(u.input,o?.body):o?.body,params:u.params?await xf(u.params,o?.params):o?.params,query:u.query?await xf(u.query,o?.query):o?.query})),{url:e,options:m}}}return{url:e,options:o}}}),IX=t=>{async function e(o,a){const n=qr(Sr(Sr({},t),a),{plugins:[...t?.plugins||[],MX(t||{}),...a?.plugins||[]]});if(t?.catchAllError)try{return await BT(o,n)}catch(r){return{data:null,error:{status:500,statusText:"Fetch Error",message:"Fetch related error. Captured by catchAllError option. See error property for more details.",error:r}}}return await BT(o,n)}return e};function LX(t,e){const{baseURL:o,params:a,query:n}=e||{query:{},params:{},baseURL:""};let r=t.startsWith("http")?t.split("/").slice(0,3).join("/"):o||"";if(t.startsWith("@")){const h=t.toString().split("@")[1].split("/")[0];PB.includes(h)&&(t=t.replace(`@${h}/`,"/"))}r.endsWith("/")||(r+="/");let[i,c]=t.replace(r,"").split("?");const d=new URLSearchParams(c);for(const[h,f]of Object.entries(n||{})){if(f==null)continue;let v;if(typeof f=="string")v=f;else if(Array.isArray(f)){for(const b of f)d.append(h,b);continue}else v=JSON.stringify(f);d.set(h,v)}if(a)if(Array.isArray(a)){const h=i.split("/").filter(f=>f.startsWith(":"));for(const[f,v]of h.entries()){const b=a[f];i=i.replace(v,b)}}else for(const[h,f]of Object.entries(a))i=i.replace(`:${h}`,String(f));i=i.split("/").map(encodeURIComponent).join("/"),i.startsWith("/")&&(i=i.slice(1));let u=d.toString();return u=u.length>0?`?${u}`.replace(/\+/g,"%20"):"",r.startsWith("http")?new URL(`${i}${u}`,r):`${r}${i}${u}`}var BT=async(t,e)=>{var o,a,n,r,i,c,d,u;const{hooks:m,url:h,options:f}=await SX(t,e),v=_X(f),b=new AbortController,S=(o=f.signal)!=null?o:b.signal,T=LX(h,f),x=RX(f),k=await PX(f),C=DX(h,f);let E=qr(Sr({},f),{url:T,headers:k,body:x,method:C,signal:S});for(const F of m.onRequest)if(F){const W=await F(E);typeof W=="object"&&W!==null&&(E=W)}("pipeTo"in E&&typeof E.pipeTo=="function"||typeof((a=e?.body)==null?void 0:a.pipe)=="function")&&("duplex"in E||(E.duplex="half"));const{clearTimeout:P}=OX(f,b);let D=await v(E.url,E);P();const R={response:D,request:E};for(const F of m.onResponse)if(F){const W=await F(qr(Sr({},R),{response:(n=e?.hookOptions)!=null&&n.cloneResponse?D.clone():D}));W instanceof Response?D=W:typeof W=="object"&&W!==null&&(D=W.response)}if(D.ok){if(!(E.method!=="HEAD"))return{data:"",error:null};const W=EX(D),oe={data:null,response:D,request:E};if(W==="json"||W==="text"){const H=await D.text(),K=(r=E.jsonParser)!=null?r:gO;oe.data=await K(H)}else oe.data=await D[W]();E?.output&&E.output&&!E.disableValidation&&(oe.data=await xf(E.output,oe.data));for(const H of m.onSuccess)H&&await H(qr(Sr({},oe),{response:(i=e?.hookOptions)!=null&&i.cloneResponse?D.clone():D}));return e?.throw?oe.data:{data:oe.data,error:null}}const O=(c=e?.jsonParser)!=null?c:gO,I=await D.text(),q=CX(I),B=q?await O(I):null,j={response:D,responseText:I,request:E,error:qr(Sr({},B),{status:D.status,statusText:D.statusText})};for(const F of m.onError)F&&await F(qr(Sr({},j),{response:(d=e?.hookOptions)!=null&&d.cloneResponse?D.clone():D}));if(e?.retry){const F=xX(e.retry),W=(u=e.retryAttempt)!=null?u:0;if(await F.shouldAttemptRetry(W,D)){for(const H of m.onRetry)H&&await H(R);const oe=F.getDelay(W);return await new Promise(H=>setTimeout(H,oe)),await BT(t,qr(Sr({},e),{retryAttempt:W+1}))}}if(e?.throw)throw new yX(D.status,D.statusText,q?B:I);return{data:null,error:qr(Sr({},B),{status:D.status,statusText:D.statusText})}};const BX=(t,e)=>{const o="credentials"in Request.prototype,a=VJ(t?.baseURL,t?.basePath)??"/api/auth",n=t?.plugins?.flatMap(E=>E.fetchPlugins).filter(E=>E!==void 0)||[],r={id:"lifecycle-hooks",name:"lifecycle-hooks",hooks:{onSuccess:t?.fetchOptions?.onSuccess,onError:t?.fetchOptions?.onError,onRequest:t?.fetchOptions?.onRequest,onResponse:t?.fetchOptions?.onResponse}},{onSuccess:i,onError:c,onRequest:d,onResponse:u,...m}=t?.fetchOptions||{},h=IX({baseURL:a,...o?{credentials:"include"}:{},method:"GET",jsonParser(E){return E?JJ(E,{strict:!1}):null},customFetchImpl:fetch,...m,plugins:[r,...m.plugins||[],...t?.disableDefaultFetchPlugins?[]:[HJ],...n]}),{$sessionSignal:f,session:v}=uX(h,t),b=t?.plugins||[];let S={};const T={$sessionSignal:f,session:v},x={"/sign-out":"POST","/revoke-sessions":"POST","/revoke-other-sessions":"POST","/delete-user":"POST"},k=[{signal:"$sessionSignal",matcher(E){return E==="/sign-out"||E==="/update-user"||E==="/sign-up/email"||E==="/sign-in/email"||E==="/delete-user"||E==="/verify-email"||E==="/revoke-sessions"||E==="/revoke-session"||E==="/change-email"}}];for(const E of b)E.getAtoms&&Object.assign(T,E.getAtoms?.(h)),E.pathMethods&&Object.assign(x,E.pathMethods),E.atomListeners&&k.push(...E.atomListeners);const C={notify:E=>{T[E].set(!T[E].get())},listen:(E,P)=>{T[E].subscribe(P)},atoms:T};for(const E of b)E.getActions&&(S=mX(E.getActions?.(h,C,t)??{},S));return{get baseURL(){return a},pluginsActions:S,pluginsAtoms:T,pluginPathMethods:x,atomListeners:k,$fetch:h,$store:C}};function FX(t){return typeof t=="object"&&t!==null&&"get"in t&&typeof t.get=="function"&&"lc"in t&&typeof t.lc=="number"}function jX(t,e,o){const a=e[t],{fetchOptions:n,query:r,...i}=o||{};return a||(n?.method?n.method:i&&Object.keys(i).length>0?"POST":"GET")}function zX(t,e,o,a,n){function r(i=[]){return new Proxy(function(){},{get(c,d){if(typeof d!="string"||d==="then"||d==="catch"||d==="finally")return;const u=[...i,d];let m=t;for(const h of u)if(m&&typeof m=="object"&&h in m)m=m[h];else{m=void 0;break}return typeof m=="function"||FX(m)?m:r(u)},apply:async(c,d,u)=>{const m="/"+i.map(k=>k.replace(/[A-Z]/g,C=>`-${C.toLowerCase()}`)).join("/"),h=u[0]||{},f=u[1]||{},{query:v,fetchOptions:b,...S}=h,T={...f,...b},x=jX(m,o,h);return await e(m,{...T,body:x==="GET"?void 0:{...S,...T?.body||{}},query:v||T?.query,method:x,async onSuccess(k){if(await T?.onSuccess?.(k),!n||T.disableSignal)return;const C=n.filter(P=>P.matcher(m));if(!C.length)return;const E=new Set;for(const P of C){const D=a[P.signal];if(!D)return;if(E.has(P.signal))continue;E.add(P.signal);const R=D.get();setTimeout(()=>{D.set(!R)},10)}}})}})}return r()}function qX(t,e={}){const o=A.useRef(t.get()),{keys:a,deps:n=[t,a]}=e,r=A.useCallback(c=>{const d=u=>{o.current!==u&&(o.current=u,c())};return d(t.value),a?.length?aX(t,a,d):t.listen(d)},n),i=()=>o.current;return A.useSyncExternalStore(r,i,i)}function UX(t){return`use${qJ(t)}`}function $X(t){const{pluginPathMethods:e,pluginsActions:o,pluginsAtoms:a,$fetch:n,$store:r,atomListeners:i}=BX(t),c={};for(const[d,u]of Object.entries(a))c[UX(d)]=()=>qX(u);return zX({...o,...c,$fetch:n,$store:r},n,e,a,i)}function VX(t){return{authorize(e,o="AND"){let a=!1;for(const[n,r]of Object.entries(e)){const i=t[n];if(!i)return{success:!1,error:`You are not allowed to access resource: ${n}`};if(Array.isArray(r))a=r.every(c=>i.includes(c));else if(typeof r=="object"){const c=r;c.connector==="OR"?a=c.actions.some(d=>i.includes(d)):a=c.actions.every(d=>i.includes(d))}else throw new Ep("Invalid access control request");if(a&&o==="OR")return{success:a};if(!a&&o==="AND")return{success:!1,error:`unauthorized to access resource "${n}"`}}return a?{success:a}:{success:!1,error:"Not authorized"}},statements:t}}function AB(t){return{newRole(e){return VX(e)},statements:t}}const HX={user:["create","list","set-role","ban","impersonate","delete","set-password","get","update"],session:["list","revoke","delete"]},RB=AB(HX),DB=RB.newRole({user:["create","list","set-role","ban","impersonate","delete","set-password","get","update"],session:["list","revoke","delete"]}),OB=RB.newRole({user:[],session:[]}),GX={admin:DB,user:OB},WX=t=>{if(t.userId&&t.options?.adminUserIds?.includes(t.userId))return!0;if(!t.permissions&&!t.permission)return!1;const e=(t.role||t.options?.defaultRole||"user").split(","),o=t.options?.roles||GX;for(const a of e)if(o[a]?.authorize(t.permission??t.permissions)?.success)return!0;return!1},KX=t=>{const e={admin:DB,user:OB,...t?.roles};return{id:"admin-client",$InferServerPlugin:{},getActions:()=>({admin:{checkRolePermission:o=>WX({role:o.role,options:{ac:t?.ac,roles:e},permissions:o.permissions??o.permission})}}),pathMethods:{"/admin/list-users":"GET","/admin/stop-impersonating":"POST"}}},YX=()=>({id:"email-otp",$InferServerPlugin:{},atomListeners:[{matcher:t=>t==="/email-otp/verify-email"||t==="/sign-in/email-otp",signal:"$sessionSignal"}]}),ZX=()=>({id:"magic-link",$InferServerPlugin:{}}),QX={organization:["update","delete"],member:["create","update","delete"],invitation:["create","cancel"],team:["create","update","delete"],ac:["create","read","update","delete"]},Xk=AB(QX),NB=Xk.newRole({organization:["update"],invitation:["create","cancel"],member:["create","update","delete"],team:["create","update","delete"],ac:["create","read","update","delete"]}),MB=Xk.newRole({organization:["update","delete"],member:["create","update","delete"],invitation:["create","cancel"],team:["create","update","delete"],ac:["create","read","update","delete"]}),IB=Xk.newRole({organization:[],member:[],invitation:[],team:[],ac:["read"]}),JX={admin:NB,owner:MB,member:IB},XX=(t,e)=>{if(!t.permissions&&!t.permission)return!1;const o=t.role.split(","),a=t.options.creatorRole||"owner",n=o.includes(a),r=t.allowCreatorAllPermissions||!1;if(n&&r)return!0;for(const i of o)if(e[i]?.authorize(t.permissions??t.permission)?.success)return!0;return!1},eee=t=>XX(t,t.options.roles||JX),tee=t=>{const e=hd(!1),o=hd(!1),a=hd(!1),n=hd(!1),r={admin:NB,member:IB,owner:MB,...t?.roles};return{id:"organization",$InferServerPlugin:{},getActions:(i,c,d)=>({$Infer:{ActiveOrganization:{},Organization:{},Invitation:{},Member:{},Team:{}},organization:{checkRolePermission:u=>eee({role:u.role,options:{ac:t?.ac,roles:r},permissions:u.permissions??u.permission})}}),getAtoms:i=>{const c=hp(e,"/organization/list",i,{method:"GET"});return{$listOrg:e,$activeOrgSignal:o,$activeMemberSignal:a,$activeMemberRoleSignal:n,activeOrganization:hp([o],"/organization/get-full-organization",i,()=>({method:"GET"})),listOrganizations:c,activeMember:hp([a],"/organization/get-active-member",i,{method:"GET"}),activeMemberRole:hp([n],"/organization/get-active-member-role",i,{method:"GET"})}},pathMethods:{"/organization/get-full-organization":"GET","/organization/list-user-teams":"GET"},atomListeners:[{matcher(i){return i==="/organization/create"||i==="/organization/delete"||i==="/organization/update"},signal:"$listOrg"},{matcher(i){return i.startsWith("/organization")},signal:"$activeOrgSignal"},{matcher(i){return i.startsWith("/organization/set-active")},signal:"$sessionSignal"},{matcher(i){return i.includes("/organization/update-member-role")},signal:"$activeMemberSignal"},{matcher(i){return i.includes("/organization/update-member-role")},signal:"$activeMemberRoleSignal"}]}},oee="1.6.11",aee=t=>({id:"sso-client",version:oee,$InferServerPlugin:{},pathMethods:{"/sso/providers":"GET","/sso/get-provider":"GET"}});function nee(t){let e=t;if(typeof t=="string")try{e=JSON.parse(t)}catch{return{}}return e&&typeof e=="object"&&!Array.isArray(e)?Object.fromEntries(Object.entries(e)):{}}function eE(t){return nee(t?.metadata).archived===!0}function LB(t){const e=new Set;return t.filter(o=>eE(o)||e.has(o.id)?!1:(e.add(o.id),!0))}const ree="Organization is archived",ga=$X({plugins:[tee({}),KX(),aee(),ZX(),YX()]}),see=8e3;let vO;function BB(){return vO??=new Promise(t=>{const e=setTimeout(t,see);ga.$store.listen("session",o=>{o&&typeof o=="object"&&"isPending"in o&&(o.isPending||(clearTimeout(e),t()))})}),vO}const iee=we({data:we({user:we({id:$()})}).nullish()});function lee(){const t=iee.safeParse(ga.$store.atoms.session?.get());return t.success?t.data.data?.user.id:void 0}const cee=3e4;let gp=null,Ug=null;function FB(){if(gp&&gp.expiresAt>Date.now())return Promise.resolve(gp.result);if(Ug)return Ug;const t=ga.organization.list().then(e=>{const o=e.data?{...e,data:LB(e.data)}:e;return o.data&&(gp={result:o,expiresAt:Date.now()+cee}),o}).finally(()=>{Ug=null});return Ug=t,t}function mTe(){const t=ga.useListOrganizations(),e=t.data?LB(t.data):void 0;return{...t,data:e}}function hTe(){gp=null}const dee="modulepreload",uee=function(t){return"/"+t},bO={},Fe=function(e,o,a){let n=Promise.resolve();if(o&&o.length>0){let i=function(u){return Promise.all(u.map(m=>Promise.resolve(m).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),d=c?.nonce||c?.getAttribute("nonce");n=i(o.map(u=>{if(u=uee(u),u in bO)return;bO[u]=!0;const m=u.endsWith(".css"),h=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${h}`))return;const f=document.createElement("link");if(f.rel=m?"stylesheet":dee,m||(f.as="script"),f.crossOrigin="",f.href=u,d&&f.setAttribute("nonce",d),document.head.appendChild(f),m)return new Promise((v,b)=>{f.addEventListener("load",v),f.addEventListener("error",()=>b(Error(`Unable to preload CSS for ${u}`)))})}))}function r(i){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=i,window.dispatchEvent(c),!c.defaultPrevented)throw i}return n.then(i=>{for(const c of i||[])c.status==="rejected"&&r(c.reason);return e().catch(r)})};function pee(t){try{return JSON.parse(t)}catch{return}}function yO(t,e){if(typeof localStorage>"u")return typeof e=="function"?e(void 0):e;const o=localStorage.getItem(t),a=o?pee(o):void 0,n=typeof e=="function"?e(a):a??e;if(a===void 0||n!==a)try{const r=JSON.stringify(n);localStorage.setItem(t,r)}catch{}return n}function mee(t,e){const o=ye.c(17),a=Kl();let n;o[0]!==t?(n=["localStorage",t],o[0]=t,o[1]=n):n=o[1];const r=n;let i,c;o[2]!==e||o[3]!==t?(i=()=>yO(t,e),c=()=>yO(t,e),o[2]=e,o[3]=t,o[4]=i,o[5]=c):(i=o[4],c=o[5]);let d;o[6]!==r||o[7]!==i||o[8]!==c?(d={queryKey:r,queryFn:i,initialData:c,staleTime:1/0,gcTime:1/0},o[6]=r,o[7]=i,o[8]=c,o[9]=d):d=o[9];const{data:u}=Ls(d);let m;o[10]!==t||o[11]!==a||o[12]!==r?(m=b=>{const S=a.getQueryData(r),T=typeof b=="function"?b(S):b;if(typeof localStorage<"u")try{localStorage.setItem(t,JSON.stringify(T))}catch{}a.setQueryData(r,T)},o[10]=t,o[11]=a,o[12]=r,o[13]=m):m=o[13];const h=m,f=u;let v;return o[14]!==h||o[15]!==f?(v=[f,h],o[14]=h,o[15]=f,o[16]=v):v=o[16],v}const Qi={chatSelectedImageModel:t=>`studio:chat:selectedImageModel:${t}`,chatSelectedWebSearchModel:t=>`studio:chat:selectedWebSearchModel:${t}`,chatSelectedDeepResearchModel:t=>`studio:chat:selectedDeepResearchModel:${t}`,chatSimpleModeTier:t=>`studio:chat:simpleModeTier:${t}`,chatAutosend:(t,e)=>`studio:chat:autosend:${t}:${e}`,chatThreadIntent:(t,e)=>`studio:chat:threadIntent:${t}:${e}`,homeTaskMode:t=>`home-task-mode:${t}`,chatDraft:(t,e)=>`studio:chat:draft:${t}:${e}`,taskBoardPrs:t=>`studio:task-board-prs:${t}`,taskFeedBehindTheScenes:()=>"studio:task-feed:behind-the-scenes",taskBoardAssignee:(t,e)=>`studio:task-board-assignee:${t}:${e}`,recentApps:t=>`studio:recent-apps:${t}`,recentProjects:t=>`studio:recent-projects:${t}`,recentOrgs:()=>"studio:recent-orgs",railOrgPrefs:()=>"studio:rail-org-prefs",sidePanelWidth:()=>"studio:side-panel:width",sidebarOpen:()=>"studio:sidebar-open",preferences:()=>"studio:user:preferences",lastOrgSlug:()=>"studio:last-org-slug",lastLocation:()=>"studio:last-location",connectionsTab:t=>`studio:connections:tab:${t}`,taskLastViewed:t=>`studio:chat:task-last-viewed:${t}`,sidebarSectionOpen:(t,e)=>`studio:sidebar:section-open:${t}:${e}`,ptBrAnnouncementSeen:t=>`studio:announcement:pt-br:${t}`,localPreviewUrl:t=>`studio:local-preview-url:${t}`,previewDeviceSize:t=>`studio:preview:device-size:${t}`,previewEditingMode:t=>`studio:preview:editing-mode:${t}`,previewAppLayout:t=>`studio:preview:app-layout:${t}`,arrayFieldLayout:()=>"studio:cms:array-field-layout",decoServeConnection:(t,e)=>`studio:deco-serve-connection:${t}:${e}`,decoServeEndpoint:(t,e)=>`studio:deco-serve-endpoint:${t}:${e}`},jB=["en","pt-BR"],gTe={en:"en-US","pt-BR":"pt-BR"};function tE(){return typeof navigator<"u"&&navigator.language?.toLowerCase().startsWith("pt")?"pt-BR":"en"}const hee={toolApprovalLevel:"auto",enableNotifications:typeof Notification<"u",enableSounds:!1,theme:"system",language:tE(),taskBoardLaneVisibility:{},collapsedTaskBoardLanes:[]},zB=["auto","readonly"],fTe=[{value:"readonly",labelKey:"settings.preferences.toolApprovalAsk",shortKey:"settings.preferences.toolApprovalAskShort"},{value:"auto",labelKey:"settings.preferences.toolApprovalAuto",shortKey:"settings.preferences.toolApprovalAutoShort"}],gee=["light","dark","system"];function vTe(){try{const t=JSON.parse(localStorage.getItem(Qi.preferences())??"{}");if(zB.includes(t.toolApprovalLevel))return t.toolApprovalLevel}catch{}return"auto"}function ib(){try{const t=JSON.parse(localStorage.getItem(Qi.preferences())??"{}");if(jB.includes(t.language))return t.language}catch{}return tE()}function fee(t){const e={};if(Array.isArray(t.shownTaskBoardLanes))for(const a of t.shownTaskBoardLanes)typeof a=="string"&&(e[a]=!0);const o=t.taskBoardLaneVisibility;if(o&&typeof o=="object"&&!Array.isArray(o))for(const[a,n]of Object.entries(o))typeof n=="boolean"&&(e[a]=n);return e}function oE(){const t=ye.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=Qi.preferences(),t[0]=e):e=t[0],mee(e,vee)}function vee(t){const e={...hee,...t};return"showProjectSettingsGear"in e&&delete e.showProjectSettingsGear,"compactPageLayout"in e&&delete e.compactPageLayout,"projectFirstNav"in e&&delete e.projectFirstNav,zB.includes(e.toolApprovalLevel)||(e.toolApprovalLevel="auto"),gee.includes(e.theme)||(e.theme="system"),jB.includes(e.language)||(e.language=tE()),e.taskBoardLaneVisibility=fee(e),"shownTaskBoardLanes"in e&&delete e.shownTaskBoardLanes,Array.isArray(e.collapsedTaskBoardLanes)||(e.collapsedTaskBoardLanes=[]),e}const bee={"page.overview":"Overview","page.app":"App","page.view":"View","page.file":"File","page.document":"Document","page.item":"Item","page.breadcrumbs":"Breadcrumbs","page.breadcrumbMenu":"Show navigation path","page.views":"Page views","page.openThread":"Open chat","page.closeThread":"Close chat","page.collapseSidebar":"Collapse sidebar","page.expandSidebar":"Expand sidebar"},yee={"projects.overview.metrics":"Metrics","projects.platform.vtex":"VTEX","projects.platform.shopify":"Shopify","projects.platform.wake":"Wake","projects.platform.nuvemshop":"Nuvemshop","projects.platform.linx":"Linx","projects.platform.vnda":"VNDA","projects.home.newProject":"New project","projects.card.updated":"Updated {time}","projects.empty.title":"Your commerce, one project at a time","projects.empty.description":"A site, an app, a store. Each one keeps its own connections, report and board.","projects.empty.readOnly":"Ask an admin to create the first project.","projects.new.title":"New project","projects.new.subtitle":"What are you setting up?","projects.new.back":"Back","projects.new.create":"Create project","projects.new.creating":"Creating…","projects.new.nameLabel":"Project name","projects.new.namePlaceholder":"Farm web","projects.new.nameRequired":"Give the project a name","projects.new.failed":"Couldn't create the project","projects.new.created":"{title} is ready","projects.new.path.repository":"Import a codebase","projects.new.path.repository.hint":"Bring a storefront or app codebase in","projects.new.path.folder":"New project folder","projects.new.path.folder.hint":"Name it now, connect it later","projects.new.step.folder.title":"Name your project","projects.reports.chooserTitle":"Continue to Reports","projects.reports.chooserSubtitle":"Choose a project to continue","projects.reports.chooserSearch":"Find project…","projects.reports.chooserEmpty":"No project by that name.","projects.reports.status.ready":"Ready","projects.reports.status.running":"Running","projects.reports.status.none":"Not run","projects.reports.status.locked":"Locked","projects.connections.orgWide":"Organization-wide","projects.connections.usedBy":"{count} projects","projects.settings.title":"Projects","projects.settings.searchPlaceholder":"Search projects…","projects.settings.open":"Open","projects.settings.openSettings":"Settings","projects.settings.noResults":"No projects match “{search}”","projects.identity.storeUrlLabel":"Store URL","projects.identity.storeUrlDescription":"The live storefront. Reports run against this address.","projects.apps.reports":"Report","projects.apps.siteEditor":"Site editor","projects.apps.assets":"Assets","projects.apps.releases":"Releases","projects.apps.hosting":"Hosting","projects.apps.e2e":"End-to-end tests","projects.apps.automations":"Automations","projects.apps.calendar":"Calendar","projects.apps.experiments":"Experiments"},See={"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 project, 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.connectionNotFound":"Connection not found","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 project 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.noMainView":"No main view","virtualMcp.layoutTabContent.automations":"Automations","virtualMcp.layoutTabContent.chatAlwaysShown":"Chat is always shown when it is the default view","virtualMcp.layoutTabContent.layout":"Layout","virtualMcp.layoutTabContent.mainView":"Main view","virtualMcp.layoutTabContent.mainViewDescription":"What users see when they first open this project.","virtualMcp.layoutTabContent.settings":"Settings","virtualMcp.layoutTabContent.showChat":"Show chat","virtualMcp.layoutTabContent.showChatDescription":"Display Chat in the side panel alongside the main view.","virtualMcp.layoutTabContent.siteEditor":"Site Editor","virtualMcp.settings.title":"Project settings","virtualMcp.settings.navigation":"Project settings sections","virtualMcp.settings.identity.icon":"Project icon","virtualMcp.settings.identity.iconDescription":"How your project appears in the sidebar and across Studio.","virtualMcp.settings.identity.name":"Project name","virtualMcp.settings.identity.description":"Description","virtualMcp.settings.repository.title":"Repository","virtualMcp.settings.repository.description":"The code this project is, and how its sandbox runs it.","virtualMcp.settings.repository.repoTitle":"Repository","virtualMcp.settings.repository.runtimeTitle":"How it runs","virtualMcp.settings.repository.runtimeDescription":"What the sandbox installs and starts to preview this project.","virtualMcp.settings.pageTitle":"Project settings","virtualMcp.settings.views.title":"Views","virtualMcp.settings.views.description":"What opens first, and which views the sidebar shows.","virtualMcp.settings.cmsEmptyTitle":"No site content yet","virtualMcp.settings.repository.open":"Go to Repository","virtualMcp.settings.repository.none":"No repository connected","virtualMcp.settings.repository.noneDescription":"Connect a GitHub repository to edit and preview this project's site.","virtualMcp.settings.repository.connect":"Connect repository","virtualMcp.settings.repository.change":"Change","virtualMcp.settings.repository.connected":"Connected {name}","virtualMcp.settings.cmsEmpty":"Connect the site's repository to turn the CMS on.","virtualMcp.settings.general.title":"General","virtualMcp.settings.site.title":"CMS","virtualMcp.settings.site.classicTitle":"Site and sandbox","virtualMcp.settings.blocksV8Site.label":"Blocks v8 site","virtualMcp.settings.blocksV8Site.description":"Edit this site with the Blocks v8 editor and hosted CMS. Off: v7, git-backed.","virtualMcp.settings.groups.advanced":"Advanced","virtualMcp.settings.groups.details":"Details","virtualMcp.settings.connections.title":"Connections","virtualMcp.settings.views.defaults":"Default layout","virtualMcp.settings.views.sidebar":"Views","virtualMcp.settings.views.open":"Open","virtualMcp.settings.views.pin":"Pin to sidebar","virtualMcp.settings.views.unpin":"Remove from sidebar","virtualMcp.settings.views.setMainView":"Set as main view","virtualMcp.settings.views.rowActions":"View options","virtualMcp.virtualMcp.addConnection":"Add connection","virtualMcp.virtualMcp.agentDeleted":'Deleted "{title}"',"virtualMcp.virtualMcp.agentNameFallback":"Agent","virtualMcp.virtualMcp.agentNamePlaceholder":"Project 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.createdBy":"Created by","virtualMcp.virtualMcp.delete":"Delete","virtualMcp.virtualMcp.deleteAgent":"Delete project","virtualMcp.virtualMcp.deleteAgentConfirm":"Delete Project?","virtualMcp.virtualMcp.deleteAgentConfirmDescription":"This action cannot be undone. This will permanently delete {title}.","virtualMcp.virtualMcp.deleteAgentDescription":"Permanently delete this project 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 project","virtualMcp.virtualMcp.instructions":"Instructions","virtualMcp.virtualMcp.instructionsPlaceholder":"Define how this agent should behave, what tone to use, any constraints or guidelines...","virtualMcp.virtualMcp.lastUsedLabel":"Last used","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>
56
56
  Define who this agent is and what it specializes in.
57
57
  Example: You are a support triage agent for B2B merchants.
58
58
  </role>
@@ -88,7 +88,7 @@ or one per line`,"common.inviteMemberDialog.errorAlreadyInvited":"{email} alread
88
88
 
89
89
  Sections that carry it: {sections}. How many of each, and in what order, depends on the theme.`,"sandbox.formats.starterBodyNoSections":`Use this for a straightforward post: open with the subject and why it matters to the reader, develop it in a few short passages, and close with what to do next.
90
90
 
91
- This site reports no post sections yet — once it does, cite them here with @.`,"sandbox.formats.starterName":"Standard post","sandbox.formats.suggestButton":"Suggest formats","sandbox.formats.suggestFailed":"Couldn't suggest formats","sandbox.formats.suggestHint":"Name the formats this blog already writes in, from how its posts are built","sandbox.formats.suggested":"{count} format(s) added","sandbox.formats.unknownCitations":"This format cites sections the site doesn't have: {names}","sandbox.generatePost.stepCampaign":"Campaign","sandbox.generatePost.campaignHint":"A post is written for a campaign: it carries the moment, the products it may name and the links to them.","sandbox.generatePost.noCampaigns":"No campaign to write for yet. Create one under Context → Campaigns.","sandbox.generatePost.campaignProducts":"{count} product(s)","sandbox.generatePost.campaignNoProducts":"No products","sandbox.generatePost.formatBlocksHint":"The blocks this format cites are the only ones a post may be built from, and each is filled to its own schema.","sandbox.generatePost.countLabel":"How many drafts","sandbox.generatePost.countHint":"Each takes a different angle on the same campaign. They land as separate cards.","sandbox.generatePost.coverHint":"Every draft gets a cover image, generated and uploaded to your bucket.","sandbox.generatePost.gapNoStoreData":"No connected system answered, so nothing in these posts was checked against the store.","sandbox.generatePost.gapSectionsDropped":"{count} section(s) were dropped: their props did not match the block that renders them.","sandbox.generatePost.gapNoBucket":"No bucket to upload images to, so the posts have no cover. Configure one under Settings → Buckets.","sandbox.generatePost.gapNoImageModel":"This organization has no image model configured, so the posts have no cover.","sandbox.generatePost.gapImagesFailed":"The cover images could not be generated. The posts are otherwise complete.","sandbox.generatePost.gapDraftsFailed":"{count} draft(s) could not be written and their cards were left empty.","sandbox.generatePost.back":"Back","sandbox.generatePost.blockedBrand":"Fill in {fields} on the Brand tab first — a post written without them reads like any other brand's.","sandbox.generatePost.done":"Wrote {count} draft(s) — ready for review","sandbox.generatePost.extraLabel":"Anything else?","sandbox.generatePost.extraPlaceholder":"What you want on top of everything else, in your words.","sandbox.generatePost.failed":"Could not write these posts","sandbox.generatePost.formatHint":"Pick a format this brand already uses, or describe a new one.","sandbox.generatePost.formatNameLabel":"Format name","sandbox.generatePost.formatNamePlaceholder":"The format, named by the job it does","sandbox.generatePost.formatValueLabel":"How a post like this is built","sandbox.generatePost.formatValuePlaceholder":"How it opens, develops and closes.","sandbox.generatePost.generate":"Generate {count} draft(s)","sandbox.generatePost.next":"Next","sandbox.generatePost.stepExtra":"Instructions","sandbox.generatePost.stepFormat":"Format","sandbox.generatePost.subtitle":"Pick the campaign and the format. The posts land on the board as drafts.","sandbox.generatePost.title":"Generate posts","sandbox.itemActions.addVariant":"Add variant","sandbox.itemActions.delete":"Delete","sandbox.itemActions.duplicate":"Duplicate","sandbox.itemActions.editSeo":"Edit SEO","sandbox.itemActions.moreActions":"More actions","sandbox.itemActions.rename":"Rename","sandbox.itemActions.viewJson":"View JSON","sandbox.itemRow.duplicateName":"Another record uses this name","sandbox.itemRow.missingFields":"Missing: {fields}","sandbox.itemRow.selectItem":"Select {title}","sandbox.itemRow.variantCount":"{count} variants","sandbox.listBlocks.addCard":"Add card","sandbox.listBlocks.addItem":"Add item","sandbox.listBlocks.addStat":"Add stat","sandbox.listBlocks.addStep":"Add step","sandbox.listBlocks.cardBody":"Card body","sandbox.listBlocks.cardTitle":"Card title","sandbox.listBlocks.checklistItem":"Checklist item","sandbox.listBlocks.checklistTitle":"Checklist title (optional)","sandbox.listBlocks.columnTitle":"Column title","sandbox.listBlocks.item":"Item","sandbox.listBlocks.label":"Label","sandbox.listBlocks.optionA":"Option A","sandbox.listBlocks.optionB":"Option B","sandbox.listBlocks.removeCard":"Remove card","sandbox.listBlocks.removeItem":"Remove item","sandbox.listBlocks.removeStat":"Remove stat","sandbox.listBlocks.removeStep":"Remove step","sandbox.listBlocks.statValuePlaceholder":"99%","sandbox.listBlocks.stepDescription":"Step description","sandbox.listBlocks.stepTitle":"Step title","sandbox.listBlocks.stepsTitle":"Steps title (optional)","sandbox.mediaBlocks.addCaption":"Add a caption…","sandbox.mediaBlocks.altText":"Alt text (accessibility)","sandbox.mediaBlocks.altLabel":"Alt","sandbox.mediaBlocks.buttonLabel":"Button label","sandbox.mediaBlocks.calloutText":"Callout text…","sandbox.mediaBlocks.calloutTitle":"Callout title","sandbox.mediaBlocks.destinationUrlPlaceholder":"https://destination-url.com","sandbox.linkSuggest.button":"Suggest links","sandbox.linkSuggest.hint":"Find phrases to link to your other posts (uses AI credits)","sandbox.linkSuggest.noCandidates":"No other posts to link to yet","sandbox.linkSuggest.title":"Suggested internal links","sandbox.linkSuggest.description":"Pick which phrases to link to your other posts. Nothing changes until you apply.","sandbox.linkSuggest.none":"No internal links to suggest.","sandbox.linkSuggest.apply":"Apply {count}","sandbox.linkSuggest.applied":"Applied {count} link(s)","sandbox.linkSuggest.failed":"Could not suggest links","sandbox.linkPicker.tabPost":"Post","sandbox.linkPicker.tabProduct":"Product","sandbox.linkPicker.searchPosts":"Search your posts…","sandbox.linkPicker.noPosts":"No matching posts","sandbox.linkPicker.searchProducts":"Search your catalog…","sandbox.linkPicker.searching":"Searching…","sandbox.linkPicker.noProducts":"No matching products","sandbox.mediaBlocks.divider":"Divider","sandbox.mediaBlocks.fullWidth":"Full width","sandbox.mediaBlocks.highPriority":"Priority","sandbox.mediaBlocks.highPriorityHint":"Loads eagerly with high fetch priority. Use for images above the fold.","sandbox.mediaBlocks.label":"Label","sandbox.mediaBlocks.normal":"Normal","sandbox.mediaBlocks.optionalDescription":"Optional description","sandbox.mediaBlocks.pasteVideoUrl":"Paste a YouTube or Vimeo URL to preview","sandbox.mediaBlocks.statValuePlaceholder":"42%","sandbox.mediaBlocks.video":"Video","sandbox.mediaBlocks.videoUrlPlaceholder":"https://youtube.com/watch?v=…","sandbox.pageFormDialog.buttonCancel":"Cancel","sandbox.pageFormDialog.labelName":"Name","sandbox.pageFormDialog.labelPath":"Path","sandbox.pageFormDialog.labelTemplate":"Template","sandbox.pageFormDialog.pendingCreate":"Creating…","sandbox.pageFormDialog.pendingDuplicate":"Duplicating…","sandbox.pageFormDialog.pendingSave":"Saving…","sandbox.pageFormDialog.placeholderName":"My page","sandbox.pageFormDialog.placeholderPath":"/example","sandbox.pageFormDialog.submitCreate":"Create","sandbox.pageFormDialog.submitDuplicate":"Duplicate","sandbox.pageFormDialog.submitSave":"Save","sandbox.pageFormDialog.titleCreate":"Create new page","sandbox.pageFormDialog.titleDuplicate":"Duplicate page","sandbox.pageFormDialog.titleRename":"Rename page","sandbox.pathParamPickerChip.buttonTitle":"Value for {paramLabel} — click to pick","sandbox.pathParamPickerChip.couldNotLoad":"Couldn't load — is the dev server running?","sandbox.pathParamPickerChip.kindCategoryHeading":"Categories","sandbox.pathParamPickerChip.kindCategoryNoun":"category","sandbox.pathParamPickerChip.kindProductHeading":"Products","sandbox.pathParamPickerChip.kindProductNoun":"product","sandbox.pathParamPickerChip.loading":"Loading {noun}…","sandbox.pathParamPickerChip.noResults":"No results.","sandbox.pathParamPickerChip.pickValueHeading":"Pick a value for","sandbox.pathParamPickerChip.pickValueTitle":"Pick a value for {paramLabel}","sandbox.pathParamPickerChip.searchPlaceholder":"Search {options} or enter a value…","sandbox.pathParamPickerChip.useRawValue":'Use "{rawTerm}" as {paramLabel}',"sandbox.plainBlocks.bulletedLabel":"Bulleted","sandbox.plainBlocks.codePlaceholder":"Code","sandbox.plainBlocks.headingLevel1":"Heading 1","sandbox.plainBlocks.headingLevel2":"Heading 2","sandbox.plainBlocks.headingLevel3":"Heading 3","sandbox.plainBlocks.headingLevel4":"Heading 4","sandbox.plainBlocks.headingPlaceholder":"Heading","sandbox.plainBlocks.languagePlaceholder":"language","sandbox.plainBlocks.listItemPlaceholder":"List item","sandbox.plainBlocks.numberedLabel":"Numbered","sandbox.plainBlocks.quotePlaceholder":"Quote","sandbox.postBoard.close":"Close","sandbox.postBoard.archived":"Moved to Archived","sandbox.postBoard.collapse":"Collapse to panel","sandbox.postBoard.collapseLane":"Collapse {lane}","sandbox.postBoard.delete":"Delete","sandbox.postBoard.emptyDescription":"Generate a few ideas and shape them into published posts.","sandbox.postBoard.emptyTitle":"No posts yet","sandbox.postBoard.duplicateTitle":"Duplicate title","sandbox.postBoard.expand":"Expand to full page","sandbox.postBoard.expandLane":"Expand {lane}","sandbox.postBoard.laneEmpty":"Nothing here yet","sandbox.postBoard.laneArchived":"Archived","sandbox.postBoard.laneGenerating":"Generating","sandbox.postBoard.laneDraft":"Draft","sandbox.postBoard.laneAwaitingReview":"Awaiting review","sandbox.postBoard.lanePublished":"Published","sandbox.postBoard.laneScheduled":"Scheduled","sandbox.postBoard.moveBlocked":"This post is missing required fields — open it to finish before scheduling.","sandbox.postBoard.moveFailed":"Could not move this post","sandbox.postBoard.moveInFlight":"Still moving this post…","sandbox.postBoard.moveNotATarget":"Generating is set by the generation run, not by hand.","sandbox.postBoard.nIssues":"{count} to fix before scheduling","sandbox.postBoard.newPost":"New post","sandbox.postBoard.newPostGenerate":"Generate","sandbox.postBoard.newPostGenerateHint":"Write it with AI, from your context","sandbox.postBoard.newPostWrite":"Write","sandbox.postBoard.newPostWriteHint":"Start an empty draft yourself","sandbox.postBoard.importContent":"Import content","sandbox.postBoard.importContentHint":"Bring in HTML or Markdown you already wrote","sandbox.postBoard.importTitle":"Import content","sandbox.postBoard.importDescription":"Paste HTML or Markdown you already wrote. It becomes an editable draft in your design system — no AI, no credits.","sandbox.postBoard.importUpload":"Upload a file","sandbox.postBoard.importRun":"Import","sandbox.postBoard.importEmpty":"Nothing to import — the content was empty.","sandbox.postBoard.imported":"Imported — review and publish.","sandbox.postBoard.readyToSchedule":"Ready to schedule","sandbox.postBoard.selectPrompt":"Select a post to view it here.","sandbox.postBoard.untitled":"Untitled post","sandbox.postBoard.generatingLabel":"Generating…","sandbox.postBoard.usesCredits":"Uses AI credits","sandbox.postBoard.viewBoard":"Board","sandbox.postBoard.viewList":"List","sandbox.postCalendar.couldNotCreate":"Could not create","sandbox.postCalendar.couldNotReschedule":"Could not reschedule","sandbox.postCalendar.createdScheduledPost":"Created scheduled post","sandbox.postCalendar.legendScheduled":"Scheduled","sandbox.postCalendar.legendUnscheduled":"Not scheduled","sandbox.postCalendar.next":"Next month","sandbox.postCalendar.onlyScheduledCanMove":"Only scheduled posts can be moved.","sandbox.postCalendar.previous":"Previous month","sandbox.postCalendar.schedulePostOn":"Schedule a post on {date}","sandbox.postCalendar.today":"Today","sandbox.postCalendar.unscheduledHint":"Dashed posts aren't scheduled — they sit on their display date, and nothing will publish them.","sandbox.postCalendar.undatedEmpty":"Every post has a date.","sandbox.postCalendar.undatedLabel":"No date · {count}","sandbox.postEditor.addPropLabel":"Add prop","sandbox.postEditor.authorsLabel":"Authors","sandbox.postEditor.categoriesLabel":"Categories","sandbox.postEditor.contentTab":"Content","sandbox.postEditor.coverAltDescription":"Describes the image for screen readers and when it fails to load. Empty: the post title is used.","sandbox.postEditor.coverAltLabel":"Cover image alt text","sandbox.postEditor.coverImageLabel":"Cover image","sandbox.postEditor.dateLabel":"Date","sandbox.postEditor.deletePost":"Delete post","sandbox.postEditor.deletePostCancel":"Cancel","sandbox.postEditor.deletePostConfirmBody":`"{title}" will be removed permanently. This can't be undone.`,"sandbox.postEditor.deletePostConfirmBodyDraft":'"{title}" will be removed from your draft. Nothing goes live until you publish, and until then you can bring it back by discarding this change in Publish.',"sandbox.postEditor.deletePostConfirmBodyNeverPublished":`"{title}" will be removed from your draft. It was never published, so nothing changes on the live site, and once removed it can't be brought back.`,"sandbox.postEditor.deletePostConfirmTitle":"Delete this post?","sandbox.postEditor.deletePostFailed":"Delete failed","sandbox.postEditor.deletePostSuccess":'Deleted "{title}"',"sandbox.postEditor.deletingPost":"Deleting…","sandbox.postEditor.duplicateTitleWarning":"Another post already uses this title. Duplicate titles compete with each other in search.","sandbox.postEditor.excerptLabel":"Excerpt","sandbox.postEditor.extraPropsLabel":"Extra props","sandbox.postEditor.issuePlural":"issues","sandbox.postEditor.issueSingular":"issue","sandbox.postEditor.keyPlaceholder":"key","sandbox.postEditor.missingFieldPlural":"Missing required fields: {fields}","sandbox.postEditor.missingFieldSingular":"Missing required field: {fields}","sandbox.postEditor.noAuthorsYet":"No authors yet — create some in the authors collection.","sandbox.postEditor.noCategoriesYet":"No categories yet — create some in the categories collection.","sandbox.postEditor.noContentYet":"This post has no content yet. Use ⊕ to add your first block.","sandbox.postEditor.postTitlePlaceholder":"Post title","sandbox.postEditor.readTimeLabel":"Read time (minutes)","sandbox.postEditor.previewRequiresSlugAndCategory":"Set the post slug (and its category) plus the blog app's pageSlug to preview","sandbox.postEditor.previewTooltip":"Open the post preview in a new tab","sandbox.postEditor.scheduledDatetimeDescription":"When this post goes live. The site publishes it on its own once this moment passes.","sandbox.postEditor.scheduledDatetimeLabel":"Goes live at","sandbox.postEditor.removePropLabel":"Remove prop","sandbox.postEditor.seePreview":"See preview","sandbox.postEditor.selectAuthorsPlaceholder":"Select authors","sandbox.postEditor.selectCategoriesPlaceholder":"Select categories","sandbox.postEditor.seoCanonicalLabel":"Canonical URL","sandbox.postEditor.seoCanonicalPlaceholder":"https://example.com/blog/my-post","sandbox.postEditor.seoDescriptionLabel":"SEO description","sandbox.postEditor.seoImageLabel":"SEO image","sandbox.postEditor.seoNoIndexingLabel":"Hide from search engines (noindex)","sandbox.postEditor.seoSectionHint":"Overrides how this post appears in search engines. Empty fields fall back to the post's title, excerpt and cover image.","sandbox.postEditor.seoSectionLabel":"SEO","sandbox.postEditor.seoTitleLabel":"SEO title","sandbox.postEditor.settingsTab":"Settings","sandbox.postEditor.statusLabel":"Status","sandbox.postEditor.slugDeduped":"That slug was already taken — saved as “{slug}”.","sandbox.postEditor.slugLabel":"Slug","sandbox.postEditor.slugPlaceholder":"my-post","sandbox.postEditor.valuePlaceholder":"value","sandbox.postList.noMatches":"No posts match your search or filters.","sandbox.postToolbar.allPosts":"All posts","sandbox.postToolbar.archiveSelected":"Archive selected","sandbox.postToolbar.archiveSelectedPosts":"Archive selected posts","sandbox.postToolbar.authorLabel":"Author","sandbox.postToolbar.categoryLabel":"Category","sandbox.postToolbar.clearFilter":"Clear filter","sandbox.postToolbar.deselectAll":"Deselect all","sandbox.postToolbar.deselectAllPosts":"Deselect all posts","sandbox.postToolbar.exitSelection":"Exit selection","sandbox.postToolbar.filterBy":"Filter by","sandbox.postToolbar.filterLabel":"Filter","sandbox.postToolbar.itemsSelected":"{count} selected","sandbox.postToolbar.clearSearch":"Clear search","sandbox.postToolbar.searchAriaLabel":"Search posts","sandbox.postToolbar.searchPlaceholder":"Search posts","sandbox.postToolbar.selectAll":"Select all","sandbox.postToolbar.selectAllPosts":"Select all posts","sandbox.postToolbar.sortAZ":"A–Z","sandbox.postToolbar.sortBy":"Sort by","sandbox.postToolbar.sortNewest":"Newest","sandbox.postToolbar.sortNewestFirst":"Newest first","sandbox.postToolbar.sortOldest":"Oldest","sandbox.postToolbar.sortOldestFirst":"Oldest first","sandbox.postToolbar.sortTitleAZ":"Title A–Z","sandbox.postToolbar.sortTitleZA":"Title Z–A","sandbox.postToolbar.sortZA":"Z–A","sandbox.postToolbar.statusLabel":"Status","sandbox.preview.catchAllParamLabel":"path","sandbox.preview.choosePage":"Choose page","sandbox.preview.clickElementToAsk":"Click any element to ask the AI","sandbox.preview.collapseTerminal":"Collapse terminal","sandbox.preview.expandTerminal":"Expand terminal","sandbox.preview.resizeTerminal":"Resize terminal","sandbox.preview.createNewPage":"Create new page","sandbox.preview.devServerPreviewTitle":"Dev Server Preview","sandbox.preview.deviceDesktop":"Desktop","sandbox.preview.deviceMobile":"Mobile (375px)","sandbox.preview.deviceTablet":"Tablet (768px)","sandbox.preview.enterToGo":"Enter to go","sandbox.preview.failedToCreatePage":"Failed to create page","sandbox.preview.globalBadge":"Global","sandbox.preview.globalComponents":"Global components","sandbox.preview.globalLoaders":"Global loaders","sandbox.preview.loaderBadge":"Loader","sandbox.preview.loaderNoLongerExists":"This loader no longer exists.","sandbox.preview.noPagesFound":"No pages found in this site.","sandbox.preview.noSearchResults":"No results match your search.","sandbox.preview.siteRoutes":"Site routes","sandbox.preview.noServerRunning":"No server running","sandbox.preview.openInNewTab":"Open in new tab","sandbox.preview.pageAlreadyExists":'A page with path "{path}" already exists.',"sandbox.preview.pageCreated":'Page "{name}" created',"sandbox.preview.blockOnNoPage":"This block isn't used on any page, so there's nothing to preview.","sandbox.preview.previewMetadataNotReady":"Preview metadata not ready yet","sandbox.preview.pageSchemaNotReady":"The site is still loading. Try again in a moment.","sandbox.preview.searchPagesAndComponents":"Search pages and components...","sandbox.preview.startingPreview":"Starting your preview","sandbox.preview.startingPreviewHint":"Showing your published site. You can make changes now — they'll appear once the preview is ready.","sandbox.preview.templateNoLongerExists":"Selected template no longer exists.","sandbox.preview.valueForParam":"Value for {label}","sandbox.preview.blocksEditor":"Blocks editor","sandbox.preview.visualEditor":"Visual editor","sandbox.productBlocks.addProductIdButton":"Add product ID","sandbox.productBlocks.addProductsButton":"Add products","sandbox.productBlocks.addProductsDescription":"Search VTEX products, or pick a category or cluster","sandbox.productBlocks.browseProductsButton":"Browse products","sandbox.productBlocks.changeButton":"Change","sandbox.productBlocks.chooseProductButton":"Choose a product","sandbox.productBlocks.ctaLabelField":"CTA label","sandbox.productBlocks.ctaLabelPlaceholder":"View product","sandbox.productBlocks.dragToReorderLabel":"Drag to reorder","sandbox.productBlocks.headingH1":"H1","sandbox.productBlocks.headingH2":"H2","sandbox.productBlocks.headingH3":"H3","sandbox.productBlocks.headingNormal":"Normal","sandbox.productBlocks.idLabel":"ID {id}","sandbox.productBlocks.loadingEllipsis":"Loading…","sandbox.productBlocks.productCardLabel":"Product card","sandbox.productBlocks.productField":"Product","sandbox.productBlocks.productPlural":"products","sandbox.productBlocks.productSingular":"product","sandbox.productBlocks.productSlugField":"Product slug","sandbox.productBlocks.productSlugPlaceholder":"product-slug","sandbox.productBlocks.productWithId":"Product {id}","sandbox.productBlocks.removeProductButton":"Remove product","sandbox.productBlocks.removeProductIdButton":"Remove product ID","sandbox.productBlocks.removeProductLabel":"Remove product","sandbox.productBlocks.shelfTitlePlaceholder":"Shelf title","sandbox.productBlocks.skuIdPlaceholder":"151331","sandbox.productBlocks.startDevServerDescription":"Start the dev server to browse products, or add SKU ids below.","sandbox.productBlocks.vtexProductIdPlaceholder":"VTEX product ID (e.g. 151331)","sandbox.productBlocks.vtexProductIds":"VTEX product IDs","sandbox.productPickerDialog.addProducts":"Add products","sandbox.productPickerDialog.categoryLabel":"Category: ","sandbox.productPickerDialog.change":" — change","sandbox.productPickerDialog.chooseProduct":"Choose a product","sandbox.productPickerDialog.clusterIdPlaceholder":"Collection / cluster ID (e.g. 2140)","sandbox.productPickerDialog.couldNotLoad":"Couldn't load — is the dev server running?","sandbox.productPickerDialog.done":"Done","sandbox.productPickerDialog.enterClusterPrompt":"Enter a collection or cluster ID.","sandbox.productPickerDialog.filterCategoriesPlaceholder":"Filter categories…","sandbox.productPickerDialog.loadingCategories":"Loading categories…","sandbox.productPickerDialog.loadingProducts":"Loading products…","sandbox.productPickerDialog.modeCategory":"Category","sandbox.productPickerDialog.modeClusterId":"Cluster ID","sandbox.productPickerDialog.modeSearch":"Search","sandbox.productPickerDialog.noCategories":"No categories.","sandbox.productPickerDialog.noProductsFound":"No products found.","sandbox.productPickerDialog.noneSelected":"None selected","sandbox.productPickerDialog.pickCategoryPrompt":"Pick a category to see its products.","sandbox.productPickerDialog.searchProductsPlaceholder":"Search products by name or ID…","sandbox.productPickerDialog.selectedCount":"{count} selected","sandbox.recordEditor.fieldAvatar":"Avatar","sandbox.recordEditor.fieldCompany":"Company","sandbox.recordEditor.fieldEmail":"Email","sandbox.recordEditor.fieldJobTitle":"Job title","sandbox.recordEditor.fieldName":"Name","sandbox.recordEditor.fieldType":"Type","sandbox.recordEditor.fieldUrl":"Website","sandbox.recordEditor.optionOrganization":"Organization","sandbox.recordEditor.optionPerson":"Person","sandbox.recordEditor.placeholderEmail":"author@example.com","sandbox.recordEditor.placeholderUrl":"https://example.com","sandbox.recordEditor.titleAuthor":"Author","sandbox.redirectFormDialog.title":"Create redirect","sandbox.redirectFormDialog.submit":"Create","sandbox.redirectFormDialog.pending":"Creating…","sandbox.redirectFormDialog.cancel":"Cancel","sandbox.redirectFormDialog.errorRequired":"From and To are required.","sandbox.redirectEditor.discardQueryParameters":"Discard query parameters","sandbox.redirectEditor.fromDescription":"The source path to match. Supports URLPattern syntax (e.g. /product/:slug).","sandbox.redirectEditor.fromLabel":"From","sandbox.redirectEditor.fromPlaceholder":"/old-path","sandbox.redirectEditor.statusDescription":"An explicit status code wins over the type.","sandbox.redirectEditor.statusFromType":"Follow the type ({status})","sandbox.redirectEditor.statusLabel":"Status code","sandbox.redirectEditor.title":"Redirect","sandbox.redirectEditor.toDescription":"The destination — a relative path or an absolute URL.","sandbox.redirectEditor.toLabel":"To","sandbox.redirectEditor.toPlaceholder":"/new-path","sandbox.redirectEditor.typeLabel":"Type","sandbox.redirectEditor.typePermanent":"Permanent ({status})","sandbox.redirectEditor.typePlaceholder":"Type","sandbox.redirectEditor.typeTemporary":"Temporary ({status})","sandbox.cmsSettings.title":"CMS","sandbox.cmsSettings.preview.title":"Preview","sandbox.cmsSettings.preview.description":"See your changes before they go live.","sandbox.cmsSettings.fastPreview.label":"Fast Preview","sandbox.cmsSettings.fastPreview.description":"New chats start as CMS sessions, previewed on your preview server instead of a sandbox. Existing chats keep the mode they were created with.","sandbox.cmsSettings.fastPreview.needsPreviewServerUrl":"Set a preview server above to enable Fast Preview.","sandbox.cmsSettings.blocksV8.needsPreviewServerUrl":"Add your site's address above to preview drafts. Until then, new chats start a coding session.","sandbox.cmsSettings.fastPreviewInPlace.label":"Instant preview (experimental)","sandbox.cmsSettings.fastPreviewInPlace.description":"Refresh edits in place, without waiting for a save — much faster, but only works on websites that have /live/previews route.","sandbox.cmsSettings.contentEditing.on":"Enabled","sandbox.cmsSettings.contentEditing.onDescription":"The Site Editor offers Content and opens Blocks beside Preview on desktop.","sandbox.cmsUnavailable.noPreviewServer":"It's a CMS session, but this project has no preview server configured.","sandbox.cmsUnavailable.noRepo":"It's a CMS session, but this project has no GitHub repository to save to.","sandbox.cmsUnavailable.startCodingSession":"Continue this branch in a coding session","sandbox.previewServerUrlField.description":"Your live server's address, used to preview content. Required for Fast Preview.","sandbox.previewServerUrlField.descriptionBlocksV8":"Your live site's address. Studio shows your drafts on it before you publish. A new address shows drafts after your next publish.","sandbox.previewServerUrlField.label":"Preview server","sandbox.previewServerUrlField.placeholder":"https://example.com","sandbox.fieldDescriptionTooltipsField.label":"Compact descriptions","sandbox.fieldDescriptionTooltipsField.description":"In the blocks form, show a field's description as a hover tooltip on its title instead of text below the title.","sandbox.runnableBlockEditor.availableModeDescription":"{typeLabel} — edits stay local until you save this as a global {singular}. Run to invoke it against the live preview.","sandbox.runnableBlockEditor.closeJsonEditor":"Close JSON editor","sandbox.runnableBlockEditor.closeResult":"Close result","sandbox.runnableBlockEditor.collapse":"Collapse","sandbox.runnableBlockEditor.collapseResult":"Collapse result","sandbox.runnableBlockEditor.editAsJson":"Edit as JSON","sandbox.runnableBlockEditor.expand":"Expand","sandbox.runnableBlockEditor.expandResult":"Expand result","sandbox.runnableBlockEditor.failedToRun":"Failed to run {singular}","sandbox.runnableBlockEditor.freeformPropsEmptyState":"This {singular} doesn't publish a props schema. Edit its props as JSON, then run it.","sandbox.runnableBlockEditor.inferredSchemaNotice":"This {singular} doesn't publish a props schema — fields below are inferred from its saved values. Use the JSON editor to add props not shown here.","sandbox.runnableBlockEditor.invalidJsonError":"Invalid JSON — changes aren't saved until it parses.","sandbox.runnableBlockEditor.noInputEmptyState":"This {singular} takes no configurable input. Run it to see its output.","sandbox.runnableBlockEditor.openInNewTabTooltip":"Open in new tab (re-runs the {singular})","sandbox.runnableBlockEditor.openResultInNewTabAriaLabel":"Open result in new tab","sandbox.runnableBlockEditor.pressRunToInvoke":"Press Run to invoke this {singular}.","sandbox.runnableBlockEditor.resultPanelTitle":"Result","sandbox.runnableBlockEditor.run":"Run","sandbox.runnableBlockEditor.runAriaLabel":"Run {singular}","sandbox.runnableBlockEditor.running":"Running {singular}…","sandbox.runnableBlockEditor.saveAsGlobal":"Save as global {singular}","sandbox.runnableBlockEditor.saveAsGlobalAriaLabel":"Save as global {singular}","sandbox.runnableBlockEditor.savedModeDescription":"Global {singular} — changes save automatically. Run to invoke it against the live preview.","sandbox.runnableBlocksBrowser.emptyFolder":"This folder is empty.","sandbox.runnableBlocksBrowser.emptyFolderNoManifest":"Start the preview dev server so its manifest loads.","sandbox.runnableBlocksBrowser.emptyFolderTitle":"No {kind} here","sandbox.runnableBlocksBrowser.folderBreadcrumb":"Folder breadcrumb","sandbox.runnableBlocksBrowser.hideSaved":"Hide saved","sandbox.runnableBlocksBrowser.noSearchResults":'No {kind} match "{query}"',"sandbox.runnableBlocksBrowser.noSearchResultsDescription":"Search covers every folder — try a different term.","sandbox.runnableBlocksBrowser.savedBlockToast":'Saved {singular} "{blockId}"',"sandbox.runnableBlocksBrowser.savedCountLabel":"{count} saved","sandbox.runnableBlocksBrowser.searchAriaLabel":"Search all {kind}","sandbox.runnableBlocksBrowser.searchPlaceholder":"Search all {kind}…","sandbox.runnableBlocksBrowser.seeSaved":"See saved","sandbox.runtimeFields.auto":"Auto","sandbox.runtimeFields.autoDetect":"Auto-detect","sandbox.runtimeFields.devServerPort":"Dev server port","sandbox.runtimeFields.devServerPortDescription":"Leave blank to let the runner pick.","sandbox.runtimeFields.packageManager":"Package manager","sandbox.runtimeFields.packagePath":"Package path","sandbox.runtimeFields.packagePathDescription":"Path (relative to repo root) to the directory containing package.json. Leave blank for the repo root.","sandbox.runtimeApps.title":"Other apps","sandbox.runtimeApps.description":"Other apps of this repository to preview beside the main one, up to {max}. Each runs its own dev server.","sandbox.runtimeApps.add":"Add app","sandbox.runtimeApps.remove":"Remove {path}","sandbox.runtimeApps.duplicate":"This app is already in the list.","sandbox.appTabs.label":"Apps","sandbox.appTabs.root":"root","sandbox.appTabs.main":"Main","sandbox.appTabs.remove":"Remove {app}","sandbox.appTabs.add":"Add another app from this repository","sandbox.appTabs.pathLabel":"Path of the app in the repository, like apps/checkout","sandbox.appTabs.mainHint":"The chat and the editor work on this app.","sandbox.appTabs.extraHint":"Preview only. The chat keeps working on {app}.","sandbox.appPane.previewOnly":"Preview only. The chat and the editor keep working on {app}.","sandbox.appTabs.saveError":"Couldn't save the project's apps.","sandbox.appTabs.split":"View side by side","sandbox.appTabs.single":"View one app","sandbox.appPane.path":"Path in {app}","sandbox.appPane.reload":"Reload {app}","sandbox.appPane.openInNewTab":"Open {app} in a new tab","sandbox.appPane.close":"Close {app}","sandbox.appPane.failed":"The sandbox couldn't start. Retry from {app}.","sandbox.appPane.waiting":"Starting the sandbox…","sandbox.appPane.noUrl":"This app has no preview address.","sandbox.appPane.notStarted":"{app} isn't running yet: the sandbox started before it was added.","sandbox.appPane.start":"Start {app}","sandbox.savedSectionEditor.closeJsonEditor":"Close JSON editor","sandbox.saveStatus.failed":"Couldn't save","sandbox.saveStatus.saved":"Saved","sandbox.saveStatus.saving":"Saving…","sandbox.savedSectionEditor.editAsJson":"Edit as JSON","sandbox.savedSectionEditor.globalSectionDescription":"Global section — changes save automatically and apply everywhere it's used.","sandbox.savedSectionEditor.invalidJsonError":"Invalid JSON — changes aren't saved until it parses.","sandbox.savedSectionEditor.noEditableFields":"No editable fields for this section.","sandbox.schemaless.agentPrompt":"This site's content is edited in deco Studio, but Studio hasn't received the site's schema yet, so its content forms show raw fields. Please set that up in this repository:\n\n1. Make sure @decocms/blocks is 8.11.0 or newer (upgrade it if not), then run `npx deco skills install` to add the deco framework skills to this repository.\n2. Load the deco-site-workflow skill and follow its references/schema.md: generate the schema with `npx deco schema` and commit .deco/schema.gen.json; make DECO_SITE resolve to the Studio site {site}; send the schema to Studio with `npx deco schema push`; and wire `npx deco schema push` into the production deploy (after the deploy succeeds, with a Studio API key in the DECO_TOKEN secret) so every deploy sends it.\n3. Run `npx deco check` and report back: what you changed, and what each command printed.","sandbox.schemaless.agentPromptSiteUnknown":"this project uses (ask me for its name if you can't find it)","sandbox.schemaless.back":"All blocks","sandbox.schemaless.bannerBody":"This site hasn't sent Studio its schema yet (the description of each form's fields), so every block opens with plain fields built from its saved values. Saving still keeps everything else as it is. Ask the coding agent working on your site to set it up: copy the prompt and paste it into the agent. It takes one deploy, and the forms here update on their own.","sandbox.schemaless.bannerTitle":"Content forms are showing raw fields","sandbox.schemaless.copyPrompt":"Copy prompt for your agent","sandbox.schemaless.copyPromptFailed":"Couldn't copy the prompt. Check that this page may use the clipboard, then try again.","sandbox.schemaless.empty":"Empty","sandbox.schemaless.installSkill":"Install skill","sandbox.schemaless.item":"Item {n}","sandbox.schemaless.itemCount":"{count} items","sandbox.schemaless.listLabel":"Saved blocks","sandbox.schemaless.noBlocks":"No saved blocks yet.","sandbox.schemaless.noMatches":"No blocks match your search.","sandbox.schemaless.noType":"Without a type","sandbox.schemaless.notANumber":"Enter a number. The saved value stays until you do.","sandbox.schemaless.notSet":"Not set","sandbox.schemaless.pickBlock":"Pick a block to see its content.","sandbox.schemaless.promptCopied":"Copied","sandbox.schemaless.promptCopiedAnnouncement":"Prompt copied to the clipboard","sandbox.schemaless.searchPlaceholder":"Search blocks","sandbox.schemaless.usesSkill":"Uses the deco-site-workflow skill","sandbox.sectionRenameDialog.cancel":"Cancel","sandbox.sectionRenameDialog.description":"Updates the display name. The internal key stays the same so pages referencing this section keep working.","sandbox.sectionRenameDialog.keyLabel":"Key","sandbox.sectionRenameDialog.nameLabel":"Name","sandbox.sectionRenameDialog.save":"Save","sandbox.sectionRenameDialog.saving":"Saving…","sandbox.sectionRenameDialog.title":"Rename section","sandbox.sectionsRightPane.selectSectionDescription":"Pick a saved section to edit it, or an available one to customize and save as global.","sandbox.sectionsRightPane.selectSectionTitle":"Select a section to edit","sandbox.stateCard.erroredHeadline":"Couldn't start the sandbox","sandbox.stateCard.githubConnectionMissingMessage":"The GitHub connection this chat used was removed. Link the repository again to start the sandbox.","sandbox.stateCard.linkRepoAgain":"Link repository","sandbox.stateCard.githubNotAuthenticatedMessage":"This project's GitHub repo isn't authenticated. Reconnect it in Connections, then retry.","sandbox.stateCard.reconnectGithub":"Reconnect GitHub","sandbox.stateCard.resume":"Resume","sandbox.stateCard.suspendedHeadline":"Sandbox is paused","sandbox.stateCard.resumeToContinue":"Resume to continue.","sandbox.stateCard.retry":"Retry","sandbox.tableBlock.addColumn":"Add column","sandbox.tableBlock.addRow":"Add row","sandbox.tableBlock.headerPlaceholder":"Header {n}","sandbox.tableBlock.noRowsYet":"No rows yet — add one below.","sandbox.tableBlock.removeColumn":"Remove column {n}","sandbox.tableBlock.removeRow":"Remove row {n}","sandbox.toolbar.closeTab":"Close {tab}","sandbox.toolbar.moreActions":"More actions","sandbox.toolbar.noScriptsFound":"No scripts found","sandbox.toolbar.restart":"Restart","sandbox.toolbar.resume":"Resume","sandbox.toolbar.retry":"Retry","sandbox.toolbar.run":"Run","sandbox.toolbar.runAScript":"run a script","sandbox.toolbar.runScript":"Run script","sandbox.toolbar.setupTab":"sandbox","sandbox.toolbar.start":"Start","sandbox.toolbar.startProcess":"Start process","sandbox.toolbar.stop":"Stop","sandbox.toolbar.stopProcess":"Stop process","sandbox.toolbar.stopSandboxTooltip":"Stop sandbox","sandbox.toolbar.stopping":"Stopping…","sandbox.variantCalendar.always":"Always","sandbox.variantCalendar.calendarMode":"Calendar","sandbox.variantCalendar.dateMatcherInfo":"Variants gated by a date matcher appear here.","sandbox.variantCalendar.hiddenOngoingVariants":'{count} ongoing variant(s) hidden — enable "Show ongoing" to view.',"sandbox.variantCalendar.next":"Next","sandbox.variantCalendar.noDatedVariants":"No dated variants in view.","sandbox.variantCalendar.noScheduledVariants":"No scheduled variants.","sandbox.variantCalendar.ongoing":"Ongoing","sandbox.variantCalendar.previous":"Previous","sandbox.variantCalendar.showOngoing":"Show ongoing ({count})","sandbox.variantCalendar.timelineMode":"Timeline","sandbox.variantCalendar.today":"Today","sandbox.variantCalendar.todayLabel":"Today","sandbox.variantCalendar.variantBlock":"Variant / Block","sandbox.visualEditorPrompt.inputPlaceholder":"Ask the AI...","sandbox.visualEditorPrompt.sendButton":"Send","sandbox.calendarView.noDraft.title":"Pick a draft to plan your campaigns","sandbox.calendarView.noDraft.desc":"Your campaigns are saved in a draft, like any other edit. Pick a draft in the bar above, or open the site editor to start one.","sandbox.calendarView.loadFailed":"Couldn't load your campaigns.","sandbox.calendarView.loadFailedHint":"Nothing was changed. Try again in a moment.","sandbox.dateCampaigns.intro":"Every date on your site is a campaign: a variant with the rule “Campaign” shows while its campaign runs. Changes are saved in your draft and go live when you publish.","sandbox.dateCampaigns.new":"New campaign","sandbox.dateCampaigns.empty.title":"No campaigns yet","sandbox.dateCampaigns.empty.desc":"Create one here, or from a variant in the site editor: choose the rule “Campaign” and type a name.","sandbox.dateCampaigns.listMode":"List","sandbox.dateCampaigns.timelineMode":"Timeline","sandbox.dateCampaigns.status.running":"Running","sandbox.dateCampaigns.status.upcoming":"Upcoming","sandbox.dateCampaigns.status.ended":"Ended","sandbox.dateCampaigns.status.always":"Always on","sandbox.dateCampaigns.status.unreadable":"Dates can't be read","sandbox.dateCampaigns.state.new":"Not published yet","sandbox.dateCampaigns.state.changed":"Changed in your draft","sandbox.dateCampaigns.removedTitle":"Removed in your draft","sandbox.dateCampaigns.removedHint":"These campaigns stop when you publish. To keep one, create it again with the same name.","sandbox.dateCampaigns.unreadableHint":"One of its dates can't be read, so its variants don't show. Pick new dates and save.","sandbox.dateCampaigns.publishedWindow":"Published: {window}","sandbox.dateCampaigns.saveDates":"Save dates","sandbox.dateCampaigns.delete":"Delete campaign","sandbox.dateCampaigns.deleted":"Campaign “{name}” deleted from your draft","sandbox.dateCampaigns.deletedHint":"It leaves the site when you publish. Undo brings it back.","sandbox.dateCampaigns.allCampaigns":"All campaigns","sandbox.dateCampaigns.today":"Today","sandbox.dateCampaigns.previous":"Earlier","sandbox.dateCampaigns.next":"Later","sandbox.dateCampaigns.nothingInRange":"No campaign runs in these months.","sandbox.dateCampaigns.missing.title":"Your site needs an update for campaigns","sandbox.dateCampaigns.missing.desc":"Ask your developer to update the site to the latest version of Blocks and publish it. Your campaigns will show up here.","sandbox.dateCampaigns.replaced.title":"Your site handles campaigns in its own code","sandbox.dateCampaigns.replaced.desc":"Its developers defined their own campaigns, so they can't be changed here. Ask them how to change one.","sandbox.dateCampaigns.conflict.title":"Your site already has a block named “campaigns”","sandbox.dateCampaigns.conflict.desc":"It isn't a list of campaigns, so campaigns can't be added yet. Rename that block, then come back here.","sandbox.previewAs.label":"Preview as","sandbox.previewAs.intro":"Only this preview changes. Your visitors keep seeing the site as it is.","sandbox.previewAs.unavailable":"Make a change or publish your site first; then the preview can show another moment or force a test.","sandbox.previewAs.momentLabel":"Preview as of","sandbox.previewAs.momentHint":"Campaigns show as they will at this moment. Times are in your computer's time zone.","sandbox.previewAs.now":"Now","sandbox.previewAs.testsLabel":"A/B tests","sandbox.previewAs.testsHint":"Not set: you see the side your own visit got.","sandbox.previewAs.noTests":"No A/B tests yet.","sandbox.previewAs.testsLoadFailed":"Couldn't load your tests.","sandbox.previewAs.tryAgain":"Try again","sandbox.previewAs.off":"Off","sandbox.previewAs.on":"On","sandbox.previewAs.reset":"Show as it is now"},mte={"settings.subscriptionUsage.refresh":"Refresh","settings.subscriptionUsage.codeReview":"Code review","settings.subscriptionUsage.primary":"Primary limit","settings.subscriptionUsage.secondary":"Secondary limit","settings.subscriptionUsage.resets":"Resets {date}","settings.subscriptionUsage.limitReached":"Limit reached","settings.subscriptionUsage.permission":"This token cannot read usage limits. Check usage on the provider’s website.","settings.subscriptionUsage.authorization":"The provider could not authorize this usage request. Relink your subscription to refresh its credentials.","settings.subscriptionUsage.rateLimited":"The provider is limiting usage checks. Try again after the time below.","settings.subscriptionUsage.disconnected":"Link your subscription to view usage limits.","settings.subscriptionUsage.unavailable":"Usage limits are unavailable right now. Check the provider for the latest status.","settings.subscriptionUsage.openProvider":"View on provider","settings.voice.title":"Voice mode","settings.voice.description":"Let members talk to agents by voice. Needs ElevenLabs set up on this deployment.","settings.title":"Profile & Preferences","settings.nav.organization":"Organization","settings.nav.build":"Build","settings.nav.manage":"Manage","settings.nav.general":"General","settings.nav.connect":"Connect","settings.nav.aiProviders":"AI Providers","settings.nav.secrets":"Secrets","settings.nav.billing":"Billing & AI","settings.nav.buckets":"Buckets","settings.nav.syncedRepos":"Synced repos","settings.nav.repositories":"Repositories","settings.nav.storage":"Storage","settings.nav.advanced":"Advanced","settings.subnav.ariaLabel":"Settings sections","settings.subnav.infrastructure":"Infrastructure","settings.nav.tasks":"Board","settings.jira.sectionTitle":"Jira","settings.jira.connectTitle":"Connect Jira","settings.jira.connectDescription":"Use a Jira Cloud site and an API token, ideally from a service account with access to 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 stay, but stop updating.","settings.jira.cancel":"Cancel","settings.jira.boardLabel":"Jira board","settings.jira.boardDescription":"Studio acts when a card enters one of this board's columns.","settings.jira.boardPlaceholder":"Select a board","settings.jira.boardSearchPlaceholder":"Search boards…","settings.jira.noBoardsMatch":"No board matches that search","settings.jira.loadingBoards":"Loading boards…","settings.jira.enabledLabel":"Integration enabled","settings.jira.enabledDescription":"While off, cards moving on the board are ignored.","settings.jira.enableRequirements":"Pick a board before enabling the integration","settings.jira.saveFailed":"Could not save the Jira settings","settings.jira.createTokenLink":"Create an API token","settings.jira.webhookTitle":"Instant updates (webhook)","settings.jira.webhookDescription":"Optional. Without it, an issue entering an automated status is picked up on the next 5-minute check; with it, the run starts once the card has stayed put for 20 seconds.","settings.jira.webhookCopy":"Copy","settings.jira.webhookCopied":"Webhook URL copied","settings.jira.webhookStep1":"In Jira, open Settings (gear icon) → System → Webhooks. This requires a Jira admin.","settings.jira.webhookStep2":"Click “Create a webhook” and paste the URL above.","settings.jira.webhookStep3":"Under Events, check Issue: created and Issue: updated.","settings.jira.webhookStep4":"Optionally scope it with a JQL filter, e.g. project = <your project key>.","settings.jira.webhookStep5":"Save. An issue entering an automated status now starts its run once it has stayed there for 20 seconds.","settings.jira.automationsLabel":"Run the agent when an issue enters…","settings.jira.automationsDescription":"The automations that run when an issue enters one of these statuses and stays there for 20 seconds. Open one to change its prompt, or give any automation a “When a Jira issue enters a status” starter. A card dragged through a status, or into the wrong one and straight back, starts nothing. An issue that links an open pull request has it continued. The agent reads the issue and updates it in Jira; nothing is copied to the board.","settings.jira.toggleAutomation":"Turn {name} on or off","settings.jira.addAutomation":"Add automation","settings.jira.fromAny":"From any column","settings.jira.fromEarlier":"From an earlier column","settings.jira.fromLater":"From a later column (sent back)","settings.jira.fromStatuses":"From {statuses}","settings.jira.originLabel":"When the card comes from","settings.jira.originStatusesPlaceholder":"Pick statuses","settings.jira.originHelp":"A move starts one rule: the one naming where the card came from, else the one for its direction on the board, else the one for any column. Where it came from is the status it last stayed in, not one it was dragged through.","settings.jira.createRule":"Create automation","settings.jira.cancelRule":"Cancel","settings.jira.noColumnsYet":"No columns on this board yet","settings.jira.columnsFailed":"Could not load this board's columns","settings.jira.testRunLabel":"Run it by hand","settings.jira.testRunDescription":"Run an automation on one issue or a batch now, without enabling the integration, to see what its prompt does.","settings.jira.issueKeysPlaceholder":"ABC-123 or a link, one per line or comma-separated","settings.jira.issueKeysCount":"{count} issue(s)","settings.jira.issueKeysUnreadable":"could not read: {items}","settings.jira.testRunIssueAriaLabel":"Jira issue key or link","settings.jira.testRun":"Run agent {count}","settings.jira.testRunRunning":"Starting…","settings.jira.testRunStarted":"Started on","settings.jira.testRunFailed":"Could not start the run","settings.jira.testRunHelp":"This is a real run: the agent reads the actual issue, comments on it, and may move it. Running it again stops whatever run is still working that issue, and an issue that links an open pull request has it continued.","settings.jira.testRunAutomation":"Automation to run","settings.jira.testRunNoAutomations":"Add an automation above first: running by hand fires one of them.","settings.jira.together":"One run for all of them, so the agent works the issues as a batch","settings.jira.togetherStarted":"Started one run on","settings.jira.testRunWatch":"Watch runs in Monitor","settings.syncedRepos.addRepo":"Add repo","settings.syncedRepos.cancel":"Cancel","settings.syncedRepos.create":"Create","settings.syncedRepos.creating":"Creating…","settings.syncedRepos.created":'Sync created — syncing into "{volume}" in the background',"settings.syncedRepos.emptyTitle":"No synced repos yet","settings.syncedRepos.emptyDescription":"Pick a repository and it will appear in the library as a read-only folder, kept in sync automatically.","settings.syncedRepos.failed":"Something went wrong","settings.syncedRepos.nameDialogDescription":"{repo} will be kept in sync into this read-only library folder.","settings.syncedRepos.nameDialogTitle":"Name the synced folder","settings.syncedRepos.namePlaceholder":"folder-name","settings.syncedRepos.pickerTitle":"Sync a repo into the library","settings.syncedRepos.remove":"Stop syncing","settings.syncedRepos.removeDescription":"The already-synced files stay in the library; only the sync stops. You can delete the folder afterwards if you don't need it.","settings.syncedRepos.removeTitle":'Stop syncing "{volume}"?',"settings.syncedRepos.removed":"Sync removed","settings.syncedRepos.rowSubtitle":"Library folder: {volume}","settings.repositories.accountsTitle":"Connected accounts","settings.repositories.accountsEmptyTitle":"No accounts connected","settings.repositories.accountsEmptyDescription":"Connect a GitHub, GitLab or Bitbucket account to browse your repositories and link private ones.","settings.repositories.noProvidersTitle":"No git provider configured","settings.repositories.noProvidersDescription":"Signing in with GitHub, GitLab or Bitbucket needs provider credentials an administrator configures for this deployment. You can still connect a GitLab or Bitbucket account with an access token.","settings.repositories.githubUnavailable":"Ask an administrator to enable GitHub.","settings.repositories.connectGithubCli":"Connect with GitHub CLI","settings.repositories.githubCliHint":"Use your local gh login to browse and import repositories.","settings.repositories.authKindGithubCli":"GitHub CLI","settings.repositories.addGithubAccount":"Add GitHub account or organization","settings.repositories.githubSelectTitle":"Select repositories","settings.repositories.githubSelectedShareHint":"Members with repository permissions in {organization} can use the repositories you authorize here.","settings.repositories.githubPreselectedHint":"Previously authorized or linked repositories are already selected when you have permission to authorize them. Review the selection before saving.","settings.repositories.githubReplaceHint":"Saving replaces this account’s existing workspace access with your selection. Removed repositories stop receiving new credentials. Previously issued credentials may work until they expire.","settings.repositories.githubFilterRepos":"Search repositories","settings.repositories.githubNoRepos":"No repositories available to authorize.","settings.repositories.githubSearchNoMatches":"No repositories match your search.","settings.repositories.githubAccessChanged":"Someone changed this account’s access. Go back and review the repositories again before saving.","settings.repositories.githubMoreRepos":"Load more repositories","settings.repositories.githubBack":"Back to accounts","settings.repositories.githubSaveOneRepo":"Authorize 1 repository","settings.repositories.githubSaveRepos":"Authorize {count} repositories","settings.repositories.githubEditWorkspaceAccess":"Change workspace access","settings.repositories.githubShareHint":"Choose your personal GitHub account, or an organization where you administer repositories, to share with {organization}. Members with repository permissions in Studio can use this connection.","settings.repositories.githubInstallHint":"Nothing here is yours to share yet. Install the GitHub App on your personal account or on repositories you administer, or ask an account owner to connect it to Studio. A repository you only collaborate on is not yours to share.","settings.repositories.installGithubAccount":"Install on another account","settings.repositories.checkGithubAccess":"Check access","settings.repositories.switchGithubUser":"Use another GitHub login","settings.repositories.githubReturnHint":"GitHub opens in a new tab. After saving access, return here to choose the account. If it does not appear, use Check access.","settings.repositories.githubRefreshFailed":"Could not check GitHub access. Try again without leaving this dialog.","settings.repositories.githubConnected":"GitHub account connected","settings.repositories.manageRepositoryAccess":"Manage repository access","settings.repositories.connectedBy":"Connected by {name}","settings.repositories.connectedByUnknown":"Connected by an unavailable user","settings.repositories.dismiss":"Dismiss","settings.repositories.tryAgain":"Try again","settings.repositories.oauthNoInstallations":"GitHub authorization succeeded, but no app installations are available to this user. Add a GitHub account or organization to finish setup.","settings.repositories.oauthDenied":"Authorization was cancelled. Connect again when you are ready.","settings.repositories.oauthExpired":"This connection attempt expired or belongs to another session. Start again from this page.","settings.repositories.oauthNotConfigured":"This git provider is not configured. Ask an administrator to enable it.","settings.repositories.oauthFailed":"Could not connect your git account. Try again. If it keeps failing, contact an administrator.","settings.repositories.authKindGithubApp":"GitHub App","settings.repositories.authKindOauth":"OAuth","settings.repositories.authKindToken":"Personal token","settings.repositories.accessUnavailable":"Access unavailable","settings.repositories.accessUnavailableHint":"Studio cannot access this account. Authorize it again to continue using its repositories.","settings.repositories.githubReconnect":"Reconnect GitHub","settings.repositories.authorizeWorkspaceAccess":"Authorize workspace access","settings.repositories.selectRepositories":"Select repositories","settings.repositories.authorizationRequired":"Workspace authorization required","settings.repositories.authorizationRequiredHint":"Studio has a GitHub App installation recorded for {login}, but this workspace has no authorization to use it. Sign in to GitHub and choose the repositories to share with this workspace.","settings.repositories.accessRevoked":"Access revoked","settings.repositories.accessRevokedHint":"Access to this account was revoked. Authorize it again to restore repository access.","settings.repositories.noAuthorizedRepositories":"No repositories authorized","settings.repositories.noAuthorizedRepositoriesHint":"This workspace has no repositories authorized through {login}. Select which repositories it can use.","settings.repositories.providerUnavailable":"Provider unavailable","settings.repositories.providerUnavailableHint":"This deployment is not configured to access this account. Ask an administrator to enable the provider.","settings.repositories.installationMissing":"GitHub connection incomplete","settings.repositories.installationMissingHint":"Studio has no GitHub App installation linked to this account. Connect GitHub and select the installation for {login}.","settings.repositories.githubReconnectUnavailable":"GitHub reconnection is unavailable on this deployment. Ask an administrator to configure the GitHub App, then authorize workspace access.","settings.repositories.disconnect":"Disconnect","settings.repositories.disconnectTitle":'Disconnect "{login}"?',"settings.repositories.disconnectDescription":"Repositories linked through this account stay listed, but become anonymous public clones — private ones will stop working.","settings.repositories.disconnected":"Account disconnected","settings.repositories.tokenDialogTitle":"Connect GitLab with a token","settings.repositories.tokenDialogDescription":"Use a personal, project or group access token with the api scope — agents push branches and open merge requests with it. Stored encrypted and never shown again.","settings.repositories.tokenDialogTitleBitbucket":"Connect Bitbucket with a token","settings.repositories.tokenDialogDescriptionBitbucket":"Use a workspace, project or repository access token that can write repositories and pull requests — agents push branches and open pull requests with it. Bitbucket Cloud only. Stored encrypted and never shown again.","settings.repositories.addAccount":"Add account","settings.repositories.addAccountTitle":"Connect a git account","settings.repositories.addAccountDescription":"Choose where your repositories live.","settings.repositories.chooseMethodDescription":"Pick how Studio should connect to this provider.","settings.repositories.back":"Back","settings.repositories.providerGithub":"GitHub","settings.repositories.providerGitlab":"GitLab","settings.repositories.providerBitbucket":"Bitbucket","settings.repositories.providerGithubHint":"Install the Studio app and pick the repositories to share.","settings.repositories.providerTokenOrOauthHint":"Connect with an access token, or authorize with OAuth.","settings.repositories.providerTokenOnlyHint":"Connect with an access token.","settings.repositories.methodToken":"Use an access token","settings.repositories.methodTokenHint":"The provider limits the token to the repositories you scope it to.","settings.repositories.methodOauth":"Authorize with OAuth","settings.repositories.methodOauthHint":"Sign in and authorize Studio in your browser.","settings.repositories.methodOauthScopeNote":"Reaches every repository this account can see; it cannot be narrowed to a subset.","settings.repositories.methodApp":"Install the GitHub app","settings.repositories.methodAppHint":"Choose exactly which repositories Studio may use.","settings.repositories.tokenStepsTitle":"Creating the token","settings.repositories.openProvider":"Open provider","settings.repositories.tokenWorkspaceLabel":"Workspace","settings.repositories.tokenWorkspacePlaceholder":"your-workspace","settings.repositories.tokenWorkspaceHint":"The slug in your Bitbucket URL. An access token cannot name its own workspace, so Studio verifies it against this one.","settings.repositories.tokenProjectLabel":"Project path (optional)","settings.repositories.tokenProjectPlaceholder":"group/project","settings.repositories.tokenProjectHint":"Fill this in to jump straight to that project’s token page.","settings.repositories.bitbucketStep1":"Open the repository you want Studio to reach, or the project that groups them.","settings.repositories.bitbucketStep2":"Settings → Security → Access tokens → Create token.","settings.repositories.bitbucketStep3":"Grant Repositories read and write, and Pull requests read and write.","settings.repositories.bitbucketStep4":"Paste the token below. Bitbucket keeps it to what you scoped it to.","settings.repositories.gitlabStep1":"Open the project or group you want Studio to reach.","settings.repositories.gitlabStep2":"Settings → Access tokens → Add new token.","settings.repositories.gitlabStep3":"Role: Developer or above. Scope: api.","settings.repositories.gitlabStep4":"Paste the token below. A project token only reaches that project.","settings.repositories.tokenHostLabel":"Host","settings.repositories.tokenHostPlaceholder":"gitlab.com","settings.repositories.tokenLabel":"Access token","settings.repositories.tokenPlaceholder":"glpat-…","settings.repositories.tokenPlaceholderBitbucket":"ATCTT…","settings.repositories.connect":"Connect","settings.repositories.connecting":"Connecting…","settings.repositories.connected":'Connected as "{login}"',"settings.repositories.reposTitle":"Repositories","settings.repositories.reposEmptyTitle":"No repositories yet","settings.repositories.reposEmptyDescription":"Choose a repository from a connected GitHub, GitLab or Bitbucket account.","settings.repositories.addRepository":"Add repository","settings.repositories.moreActions":"More actions","settings.repositories.repoAccountNeedsAttention":"Connected through {login}, which needs attention in Connected accounts.","settings.repositories.unlink":"Unlink","settings.repositories.unlinkTitle":'Unlink "{path}"?',"settings.repositories.unlinkDescription":"The repository is removed from this organization. Nothing is deleted on the provider.","settings.repositories.unlinked":"Repository unlinked","settings.repositories.openInProvider":"Open repository","settings.repositories.visibilityPublic":"Public","settings.repositories.visibilityPrivate":"Private","settings.repositories.visibilityInternal":"Internal","settings.repositories.anonymousClone":"Anonymous clone","settings.repositories.sandboxImageLabel":"Sandbox image","settings.repositories.sandboxImageDefault":"Default image","settings.repositories.sandboxImageAndroid":"Android emulator","settings.repositories.sandboxImageError":"Could not change the sandbox image","settings.repositories.monitorDeploys":"Show deploys on Monitor","settings.repositories.monitorDeploysError":"Could not change whether Monitor shows this repository","settings.repositories.addDialogTitle":"Add repository","settings.repositories.cancel":"Cancel","settings.repositories.failed":"Something went wrong","settings.nav.connections":"Connections","settings.nav.automations":"Automations","settings.nav.skills":"Skills","settings.nav.memory":"Memory","settings.nav.monitor":"Monitor","settings.nav.members":"Members","settings.nav.security":"Security","settings.nav.profile":"Profile & Preferences","settings.nav.backToHome":"Back to home","settings.nav.signOut":"Sign Out","settings.profile.avatar":"Avatar","settings.profile.displayName":"Display name","settings.profile.displayNamePlaceholder":"Your name","settings.profile.email":"Email","settings.profile.avatarUpload":"Change your picture","settings.profile.avatarDialogTitle":"Profile picture","settings.profile.avatarDialogDescription":"Drag to reposition and scroll to zoom. Only the picture you are using is visible to other people.","settings.profile.avatarDeleted":"Picture deleted","settings.profile.avatarRemove":"Remove","settings.profile.avatarRemoved":"Picture removed","settings.profile.avatarUpdated":"Picture updated","settings.profile.avatarUploadError":"Failed to update the picture","settings.profile.updateSuccess":"Profile updated successfully","settings.profile.updateError":"Failed to update profile","settings.preferences.title":"Preferences","settings.blog.sectionTitle":"Blog","settings.blog.aiTitle":"AI blog","settings.blog.aiDescription":"Brand context, campaigns and post generation. When off, posts are written by hand.","settings.blogBlocks.title":"Hide the default blog blocks","settings.blogBlocks.description":"Only this site's own post blocks are offered when writing or importing a post. Existing posts are unaffected.","settings.blocksEditor.title":"New blocks editor","settings.blocksEditor.description":"Applies to everyone in this organization. The rest of Studio always uses the new layout.","settings.siteAppsInstall.title":"Install apps from the catalogue","settings.siteAppsInstall.description":"Let the Apps tab install an app into the site: it writes the app's module and its registration to the branch, adds the dependency, and restarts the sandbox's dev server so the app's settings form appears. With it off the catalogue stays browsable and nothing is installable.","settings.multiAppPreview.title":"Preview several apps of a monorepo","settings.multiAppPreview.description":"Add other apps of a project's repository and view them side by side in the preview. Each one runs its own dev server in the sandbox.","settings.preferences.theme":"Theme","settings.preferences.themeLight":"Light theme","settings.preferences.themeDark":"Dark theme","settings.preferences.themeSystem":"System theme","settings.preferences.language":"Language","settings.preferences.notifications":"Notifications","settings.preferences.notificationsDescription":"Browser notifications for important events.","settings.preferences.notificationsDenied":"Notifications denied. Please enable them in your browser settings.","settings.preferences.sounds":"Sounds","settings.preferences.soundsDescription":"Sounds for agent actions and notifications.","settings.preferences.soundsPreview":"Preview notification sound","settings.preferences.toolApproval":"Tool approval","settings.preferences.toolApprovalDescription":"Which tools need your approval before they run.","settings.preferences.toolApprovalAsk":"Ask before edit","settings.preferences.toolApprovalAskShort":"Ask","settings.preferences.toolApprovalAskDescription":"Auto-approve read-only tools","settings.preferences.toolApprovalAuto":"Auto approve","settings.preferences.toolApprovalAutoShort":"Auto","settings.preferences.toolApprovalAutoDescription":"Execute all without approval","settings.automations.browseAgentsButton":"Browse projects","settings.automations.emptyDescription":"Automations are created per agent. Open an agent and add one from its Automations tab.","settings.automations.emptyTitle":"No automations yet","settings.automations.noResultsDescription":'No automations match "{search}"',"settings.automations.noResultsTitle":"No automations found","settings.automations.pageTitle":"Automations","settings.automations.searchPlaceholder":"Search automations...","settings.skills.importButton":"Import skill","settings.skills.importing":"Importing…","settings.skills.importSuccess":'Imported "{name}"',"settings.skills.importError":"Failed to import skill","settings.skills.importMissingSkillMd":"That folder has no SKILL.md at its root. Pick the skill's own folder.","settings.skills.importNeedsFolder":"Pick a folder, not individual files — this browser may not support folder upload.","settings.skills.searchPlaceholder":"Search skills...","settings.skills.noDescription":"No description","settings.skills.filterAll":"All","settings.skills.emptyTitle":"No skills yet","settings.skills.emptyDescription":"Import a folder with a SKILL.md to give your agents reusable instructions they can load on demand.","settings.skills.noResultsTitle":"No skills found","settings.skills.noResultsDescription":'No skills match "{search}"',"settings.skills.cancel":"Cancel","settings.skills.deleteButton":"Delete","settings.skills.deleteDialogTitle":"Delete this skill?","settings.skills.deleteDialogDescription":`This removes "{name}" and its files. This can't be undone.`,"settings.skills.deleteSuccess":"Skill deleted","settings.skills.deleteError":"Failed to delete skill","settings.skills.importTooManyFiles":"That folder has {count} files (limit {max}). Import a folder with just the skill's own files.","settings.skills.importSlugTaken":'A skill named "{slug}" already exists. Delete it first to re-import.',"settings.skills.errorTitle":"Couldn't load skills","settings.skills.errorDescription":"The skill catalog could not be loaded. You may not have access to this org's files.","settings.skills.retry":"Try again","settings.memory.tabOrg":"Organization","settings.memory.tabUser":"Just you","settings.memory.orgHeading":"Shared with everyone in {org}","settings.memory.userHeading":"Your personal memory","settings.memory.orgPlaceholder":"Facts everyone's chats should know. For example: we ship on Thursdays, prices are in BRL, the brand voice is informal.","settings.memory.userPlaceholder":"Things Deco should remember about you. For example: reply in Portuguese, I own the checkout, keep summaries short.","settings.memory.saving":"Saving…","settings.memory.saved":"Saved","settings.memory.notSaved":"Not saved","settings.memory.saveError":"Couldn't save. Keep typing to retry.","settings.memory.readOnly":"You can read this memory but not change it.","settings.memory.updated":"Updated {time}","settings.memory.notStarted":"Nothing remembered yet","settings.memory.conflict":"This memory changed while you were editing.","settings.memory.loadLatest":"Load latest","settings.memory.keepMine":"Keep my version","settings.memory.budget":"{percent}% of what chats read","settings.memory.budgetOver":"Chats only read the beginning","settings.memory.budgetHint":"Chats load the first 16,000 characters. Keep this a short index and move details into separate notes.","settings.memory.errorTitle":"Couldn't load memory","settings.memory.errorDescription":"The organization's files couldn't be loaded. You may not have access to them.","settings.memory.retry":"Try again","settings.buckets.accessKeyIdLabel":"Access key ID","settings.buckets.addBucket":"Add bucket","settings.buckets.addBucketButton":"Add bucket","settings.buckets.addS3Bucket":"Add S3 bucket","settings.buckets.addingButton":"Adding…","settings.buckets.apiKeyHelperText":"Sent as the x-api-key header on each refresh call.","settings.buckets.apiKeyLabel":"API key","settings.buckets.bucketAdded":'Bucket "{name}" added',"settings.buckets.bucketLabel":"Bucket","settings.buckets.bucketPlaceholder":"my-bucket","settings.buckets.bucketRemoved":'Bucket "{name}" removed',"settings.buckets.bucketsConfigured":"{count} bucket(s) configured","settings.buckets.cancelButton":"Cancel","settings.buckets.credentialsEncryptedDescription":"Credentials are encrypted at rest and never returned over the API. For Cloudflare R2, Google Cloud Storage, or MinIO, set a custom endpoint.","settings.buckets.credentialsLabel":"Credentials","settings.buckets.deleteButton":"Delete {name}","settings.buckets.descriptionLabel":"Description (optional)","settings.buckets.descriptionPlaceholder":"What is this bucket used for?","settings.buckets.emptyStateDescription":"Add an S3-compatible bucket (AWS S3, Cloudflare R2, Google Cloud Storage, MinIO). Access keys are encrypted at rest and never returned over the API.","settings.buckets.endpointHelperText":"Required for non-AWS providers (R2, GCS, MinIO).","settings.buckets.endpointLabel":"Endpoint (optional)","settings.buckets.endpointPlaceholder":"https://<account>.r2.cloudflarestorage.com","settings.buckets.failedToAddBucket":"Failed to add bucket","settings.buckets.failedToLoadConfigs":"Failed to load file configurations: {error}","settings.buckets.failedToLoadConfigsFallback":"Failed to load file configs","settings.buckets.failedToRemoveBucket":"Failed to remove bucket","settings.buckets.forcePathStyleHelperText":"Required for Google Cloud Storage and most MinIO setups.","settings.buckets.forcePathStyleLabel":"Force path-style URLs","settings.buckets.managed":"Managed","settings.buckets.nameHelperText":"Letters, digits, underscore, dot, hyphen. Unique within the organization.","settings.buckets.nameLabel":"Name","settings.buckets.namePlaceholder":"production-uploads","settings.buckets.noBucketsConfigured":"No buckets yet","settings.buckets.pathStyle":"path-style","settings.buckets.prefix":"prefix: {prefix}","settings.buckets.prefixHelperText":"All object keys are written under this prefix. Useful for multi-tenant buckets or credentials scoped to a sub-path. A trailing slash is added automatically.","settings.buckets.prefixLabel":"Key prefix (optional)","settings.buckets.prefixPlaceholder":"tenants/acme/","settings.buckets.public":"public: {url}","settings.buckets.publicUrlBaseHelperText":"Host used to build public URLs returned by the picker (R2 dev domain, CDN, custom host). Leave blank to use the bucket's S3 host (AWS default).","settings.buckets.publicUrlBaseLabel":"Public URL base (optional)","settings.buckets.publicUrlBasePlaceholder":"https://pub-xxxx.r2.dev or https://cdn.example.com","settings.buckets.refreshUrlHelperText":"Endpoint POSTed (with the API key below) to vend temporary credentials. Must return accessKeyId, secretAccessKey, sessionToken, and expiration.","settings.buckets.refreshUrlLabel":"Refresh URL","settings.buckets.refreshUrlPlaceholder":"https://admin.example.com/api/acme/s3-credentials","settings.buckets.regionLabel":"Region","settings.buckets.regionPlaceholder":"us-east-1","settings.buckets.removeBucketDescription":"This deletes the encrypted credentials for {name}. The bucket itself is not affected. This cannot be undone.","settings.buckets.removeBucketTitle":"Remove bucket configuration?","settings.buckets.removeButton":"Remove","settings.buckets.removingButton":"Removing…","settings.buckets.secretAccessKeyLabel":"Secret access key","settings.buckets.staticKeyHelperText":"A long-lived access key ID and secret, used as-is.","settings.buckets.staticKeyOption":"Static key pair (long-lived)","settings.buckets.stsSessionHelperText":"Stores only a refresh endpoint + API key; short-lived credentials are fetched on demand and refreshed automatically.","settings.buckets.temporarySessionOption":"Temporary session (STS, auto-refreshed)","settings.connectClients.anyOtherClientDescription":"Any other MCP client: paste this endpoint into it to give that runtime every connection enabled in this org, governed by your Decopilot rules.","settings.connectClients.apiKeyOption":"API key","settings.connectClients.copy":"Copy","settings.connectClients.doneHideKey":"Done, hide key","settings.connectClients.generateKey":"Generate key","settings.connectClients.generateKeyFor":"Generate key for {client}","settings.connectClients.generatingKey":"Generating…","settings.connectClients.headlessKeyHint":"For CI, Conductor, or headless agents that can't open a browser.","settings.connectClients.installMethod":"Installation method","settings.connectClients.keyCreated":"Key created","settings.connectClients.mcpDescription":"For clients without a shell. Sharing Library files and messaging agents need the CLI + skill.","settings.connectClients.oauthDiscoveryDetails":"OAuth discovery details","settings.connectClients.oauthKeyHint":"Recommended for your laptop. A browser opens on first use to sign in, with no token to manage.","settings.connectClients.oauthMetadataHint":"OAuth 2.1 Protected Resource Metadata is advertised on 401:","settings.connectClients.oauthOption":"OAuth","settings.connectClients.otherClient":"Other","settings.connectClients.pageTitle":"Connect","settings.connectClients.recommended":"Recommended","settings.connectClients.skillDescription":"Install the Studio skill and log in once. Your agent can then use this org's chats, agents, tasks and Library files through the decocms CLI.","settings.connectClients.skillInstallStep":"1. Install the skill","settings.connectClients.skillLoginHint":"A browser opens to approve the login. The session renews itself.","settings.connectClients.skillLoginStep":"2. Log in","settings.connectClients.skillNeedsBun":"Needs Bun.","settings.connectClients.skillOtherAgentsHint":"The installer asks which agents to add the skill to.","settings.connectClients.skillTab":"CLI + skill","settings.connectClients.skillTitle":"Connect your agent","settings.connectClients.snippetOneTimeWarning":"Copy this snippet now. The key won't be shown again, and you can revoke it 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":"Add API key","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.agentTools.chatHarnessCodexTitle":"Use Codex for new sandbox chats","settings.agentTools.chatHarnessCodexDescription":"Runs new sandbox chats with Codex. Link your ChatGPT subscription in AI Providers or connect a Responses API provider. Existing chats keep their runtime.","settings.codexSubscription.setupHeading":"Connect Codex","settings.codexSubscription.setupDescription":"Link your ChatGPT subscription in Settings → AI Providers, or connect a provider with an OpenAI Responses API endpoint.","settings.codexSubscription.connect":"Link","settings.codexSubscription.connected":"ChatGPT subscription linked","settings.codexSubscription.disconnect":"Disconnect","settings.codexSubscription.disconnected":"ChatGPT subscription unlinked","settings.codexSubscription.howTo":"Run this command locally, sign in with ChatGPT, then paste the contents of ~/.codex/auth.json:","settings.codexSubscription.title":"ChatGPT for Codex","settings.codexSubscription.tokenPlaceholder":"Paste the contents of auth.json","settings.claudeSubscription.connect":"Link","settings.claudeSubscription.connected":"Claude subscription linked","settings.claudeSubscription.disconnect":"Disconnect","settings.claudeSubscription.disconnected":"Claude subscription unlinked","settings.claudeSubscription.howTo":"Generate a token on your own machine with","settings.claudeSubscription.title":"Claude Pro or Max","settings.claudeSubscription.tokenPlaceholder":"Paste your token","settings.githubCopilot.connect":"Link","settings.githubCopilot.connected":"GitHub Copilot linked","settings.githubCopilot.disconnect":"Disconnect","settings.githubCopilot.disconnected":"GitHub Copilot unlinked","settings.githubCopilot.howTo":"Create a fine-grained GitHub token with the Copilot Requests permission","settings.githubCopilot.sharedBy":"Every run in this organization uses {name}'s shared GitHub Copilot plan.","settings.githubCopilot.shareTitle":"Share with org","settings.githubCopilot.shareDescription":"Every chat and task in this organization runs on your Copilot plan, ahead of members' own plans and the organization's AI providers.","settings.githubCopilot.title":"GitHub Copilot","settings.githubCopilot.tokenPlaceholder":"Paste your github_pat_… token","settings.subscriptionUsage.unavailableShort":"Usage unavailable","settings.ownAccounts.more":"More actions","settings.providerKeyRow.edit":"Edit","settings.ownAccounts.title":"Your own accounts","settings.ownAccounts.cancel":"Cancel","settings.ownAccounts.addApiKey":"Add API key","settings.ownAccounts.linked":"Linked","settings.ownAccounts.expired":"Expired","settings.decoCreditsHero.add":"Add","settings.decoCreditsHero.addCredits":"Add credits","settings.decoCreditsHero.amountPlaceholder":"50","settings.decoCreditsHero.availableBalance":"Available credit balance","settings.decoCreditsHero.cancel":"Cancel","settings.decoCreditsHero.cancelButton":"Cancel","settings.decoCreditsHero.custom":"Custom","settings.decoCreditsHero.decoAiGatewayAlt":"Deco AI Gateway","settings.decoCreditsHero.disconnect":"Disconnect","settings.decoCreditsHero.disconnectButton":"Disconnect","settings.decoCreditsHero.disconnectDescription":"This will remove the Deco AI Gateway from this workspace. Your credit balance is preserved and will be available if you reconnect.","settings.decoCreditsHero.disconnectError":"Failed to disconnect: {message}","settings.decoCreditsHero.disconnectSuccess":"Deco AI Gateway disconnected","settings.decoCreditsHero.disconnectTitle":"Disconnect Deco AI Gateway","settings.decoCreditsHero.refreshBalance":"Refresh balance","settings.decoCreditsHero.title":"Deco AI Gateway","settings.planUsage.title":"Plan","settings.planUsage.loadFailed":"Couldn't read this organization's plan.","settings.planUsage.retry":"Retry","settings.planUsage.aiUsage":"AI usage","settings.planUsage.usageUnavailable":"Unavailable","settings.planUsage.used":"used","settings.plans.perMonth":"/ month","settings.planUsage.periodHint":"Resets at the start of each billing period.","settings.planUsage.noAiIncluded":"No AI usage included.","settings.planUsage.included":"Included in plan","settings.planUsage.credits":"Added credits","settings.planUsage.creditsInUse":"In use","settings.planUsage.manageBilling":"Manage billing","settings.planUsage.portalFailed":"Couldn't open billing: {message}","settings.planUsage.subscribe":"Subscribe","settings.planUsage.changePlan":"Change plan","settings.planUsage.changed":"Plan updated","settings.planUsage.changeFailed":"Couldn't change plan: {message}","settings.planUsage.feature.cms":"CMS","settings.planUsage.feature.chat":"Superagent chat","settings.planUsage.feature.monitoring":"Site analytics","settings.planUsage.feature.kanban":"Agentic Kanban","settings.planUsage.feature.model_choice":"Choose your model","settings.planUsage.feature.credits":"Extra credits","settings.planUsage.feature.diagnostic":"Deco Score","settings.planUsage.feature.diagnostic_enriched":"Enriched Deco Score","settings.plans.title":"Plans","settings.plans.loadFailed":"Couldn't load the plans.","settings.plans.currentPlan":"Current plan","settings.plans.firstMonthFree":"1st month free","settings.plans.startTrial":"Start free trial","settings.plans.custom.name":"Custom","settings.plans.custom.description":"For large teams with their own contract","settings.plans.custom.cta":"Talk to us","settings.plans.managed":"Your plan: {plan}. Contact us to change it.","settings.plans.invoice.cta":"Add to my invoice","settings.plans.invoice.confirm":"{plan} will be added to your next invoice. Switch now?","settings.plans.invoice.cancel":"Cancel","settings.plans.invoice.switch":"Switch plan","settings.paywall.bullets.kanban.1":"Agents that do the work and move the cards","settings.paywall.bullets.kanban.2":"A board the whole team shares","settings.paywall.bullets.kanban.3":"Columns, tags and priorities","settings.paywall.bullets.allowance.1":"A monthly allowance that resets","settings.paywall.bullets.allowance.2":"Top up with extra credits any time","settings.paywall.bullets.allowance.3":"Your message stays in the composer","settings.paywall.bullets.cms.1":"Edit content and layout","settings.paywall.bullets.cms.2":"Live preview as you go","settings.paywall.bullets.cms.3":"Publish when it looks right","settings.paywall.bullets.monitoring.1":"Pageviews, visitors and sources","settings.paywall.bullets.monitoring.2":"Cache hit rate, latency and errors","settings.paywall.bullets.monitoring.3":"Traffic by country and device","settings.paywall.upgradeTitle":"{feature} comes with {plan}","settings.paywall.upgradeDescription":"Unlocks it for everyone in the organization.","settings.paywall.description":"This organization's plan doesn't include {feature}. Change the plan to unlock it for everyone in the org.","settings.paywall.seePlans":"See plans","settings.paywall.dismiss":"Not now","settings.paywall.serverRefusedFeature":"Your plan does not include this. Ask an owner to upgrade, or see plans.","settings.paywall.serverRefusedBudget":"This organization has used its monthly AI allowance. Chat and tasks pause until you upgrade or top up.","settings.decoCreditsHero.topUpFailed":"Top-up failed: {message}","settings.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.","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.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.review.title":"Reviewers & merge","settings.review.description":"The Reviewer runs on a task's pull request when its card reaches In Review.","settings.review.reviewerTitle":"Reviewer","settings.review.reviewerDescription":"Reviews the code with the repo's own review skills, fixes what it finds and tests the change on the deploy preview. An approval moves the card to QA; anything it can't settle comes back to you.","settings.review.cheapReviewerModelTitle":"Run reviewers on a cheaper model","settings.review.cheapReviewerModelDescription":"Uses a smaller model than the Super Agent. Cheaper, possibly less thorough.","settings.review.autoMergeTitle":"Auto-merge","settings.review.autoMergeDescription":"Merge the pull request when its card reaches Ready for Deployment, without waiting for Ship.","settings.review.autoResolveConflictsTitle":"Auto-resolve merge conflicts","settings.review.autoResolveConflictsDescription":"When a pull request in Ready for Deployment conflicts with its base, the Super Agent merges the base and pushes. Follows Auto-merge unless set here.","settings.review.autoAssignReportTasksTitle":"Assign Deco Score tasks to the Super Agent","settings.review.autoAssignReportTasksDescription":"Tasks created from the Deco Score go to the Super Agent instead of staying unassigned.","settings.review.updateError":"Couldn't update the setting","settings.taskPrompt.title":"System prompt","settings.taskPrompt.fieldLabel":"Instructions","settings.taskPrompt.placeholder":"e.g. Use pnpm, never npm. Never edit files under src/generated/.","settings.taskPrompt.save":"Save","settings.taskPrompt.saved":"System prompt saved","settings.taskPrompt.failed":"Couldn't save the system prompt","settings.taskPrompt.skillsLabel":"Skills on every column","settings.agentTools.title":"Agent tools","settings.agentTools.description":"What coding-agent runs can reach beyond their repository.","settings.agentTools.orgMcpsTitle":"Give runs this org's MCP connections","settings.agentTools.orgMcpsDescription":"The Super Agent and reviewers get every connected MCP. Tools load only when needed, so more connections don't crowd the context.","settings.agentTools.orgMcpsPickTitle":"Connections runs can reach","settings.agentTools.orgMcpsPickDescription":"Turn one off to keep it out of runs, for example an MCP for the tracker a run already reports to. New connections start on.","settings.agentTools.orgMcpsPickAriaLabel":"Let runs reach {name}","settings.agentTools.orgMcpsPickEmpty":"This organization has no MCP connections yet","settings.agentTools.orgMcpsPickFailed":"Could not save which connections runs can reach","settings.agentTools.orgMcpsPickLoadFailed":"Could not load MCP connections","settings.agentTools.orgMcpsPickSearch":"Search connections…","settings.agentTools.orgMcpsPickEnableAll":"Enable all","settings.agentTools.orgMcpsPickDisableAll":"Disable all","settings.agentTools.orgMcpsPickNoMatch":"No connection matches that search","settings.agentTools.orgMcpsPickSave":"Save","settings.agentTools.orgMcpsPickSaving":"Saving…","settings.agentTools.orgMcpsPickDiscard":"Discard","settings.agentTools.orgMcpsPickSaved":"Saved which connections runs can reach","settings.agentTools.chatRuntimeSection":"Chats","settings.agentTools.chatHarnessSandboxOnlyTitle":"Run chats with Claude Code in a sandbox","settings.agentTools.chatHarnessSandboxOnlyDescription":"Each chat gets its own sandbox instead of running on Decopilot. The first message waits for the sandbox to start. Needs an Anthropic, OpenRouter or deco AI gateway key, or a Claude subscription.","settings.agentTools.codingAgentsClaudeCodeTitle":"Run Code Agent chats with Claude Code","settings.agentTools.codingAgentsClaudeCodeDescription":"Chats on an agent imported from GitHub run in that agent's sandbox, next to the code. Replies arrive a whole turn at a time. Applies to new chats only.","settings.orgRoleDetail.addMember":"Add Member","settings.orgRoleDetail.addMembersToGrantPermissions":"Add members to grant them the configured permissions.","settings.orgRoleDetail.addMembersToRole":"Add Members to Role","settings.orgRoleDetail.addWithCount":"Add ({count})","settings.orgRoleDetail.added":"Added","settings.orgRoleDetail.allConnections":"All connections","settings.orgRoleDetail.allConnectionsDescription":"Every tool on every connection, including ones added later. Uncheck a connection to leave it out.","settings.orgRoleDetail.allModels":"All models","settings.orgRoleDetail.allOrgPermissions":"All organization permissions","settings.orgRoleDetail.allProjects":"All projects","settings.orgRoleDetail.allProjectsDescription":"This role can access every project, including ones created later. Uncheck a project to hide it from this role, or turn off to pick specific projects.","settings.orgRoleDetail.builtinRolePermissionsCannotBeChanged":"Built-in role permissions cannot be changed","settings.orgRoleDetail.cancel":"Cancel","settings.orgRoleDetail.createRole":"Create role","settings.orgRoleDetail.enabledCount":"{enabledCount}/{total} enabled","settings.orgRoleDetail.failedToSaveRole":"Failed to save role","settings.orgRoleDetail.general":"General","settings.orgRoleDetail.grantFullAccessToAllFeaturesBelow":"Grant full access to all features below","settings.orgRoleDetail.loadingModels":"Loading models...","settings.orgRoleDetail.mcpPermissions":"MCP Permissions","settings.orgRoleDetail.members":"Members","settings.orgRoleDetail.membersUpdatedSuccessfully":"Members updated successfully!","settings.orgRoleDetail.models":"Models","settings.orgRoleDetail.noLlmConnectionsConfigured":"No LLM connections configured","settings.orgRoleDetail.noMembers":"No members","settings.orgRoleDetail.noMembersAvailable":"No members available","settings.orgRoleDetail.noMembersFound":"No members found","settings.orgRoleDetail.noMembersMatch":'No members match "{searchQuery}"',"settings.orgRoleDetail.noPermissionsMatch":'No permissions match "{searchQuery}"',"settings.orgRoleDetail.noProjectsAvailable":"No projects available","settings.orgRoleDetail.noProjectsMatch":'No projects match "{searchQuery}"',"settings.orgRoleDetail.organizationPermissions":"Organization Permissions","settings.orgRoleDetail.owner":"Owner","settings.orgRoleDetail.ownerMembershipCannotBeChanged":"Owner membership cannot be changed","settings.orgRoleDetail.projects":"Projects","settings.orgRoleDetail.removeMember":"Remove {name} from role","settings.orgRoleDetail.roleCreatedSuccessfully":"Role created successfully!","settings.orgRoleDetail.roleName":"Role name","settings.orgRoleDetail.roleNameIsRequired":"Role name is required","settings.orgRoleDetail.roleUpdatedSuccessfully":"Role updated successfully!","settings.orgRoleDetail.saveChanges":"Save Changes","settings.orgRoleDetail.saving":"Saving...","settings.orgRoleDetail.searchMcpServers":"Search MCP servers...","settings.orgRoleDetail.searchMembers":"Search members...","settings.orgRoleDetail.searchModels":"Search models...","settings.orgRoleDetail.searchPermissions":"Search permissions...","settings.orgRoleDetail.searchProjects":"Search projects...","settings.orgRoleDetail.selectMembersToAddToThisRole":"Select members to add to this role.","settings.orgRoleDetail.showMore":"Show more ({remaining} remaining)","settings.orgRoleDetail.somethingWentWrong":"Something went wrong","settings.orgRoleDetail.unknown":"Unknown","settings.orgRoleDetail.userIsDefaultRoleMessage":"User is the default role — members can't be removed from it; assign another role to change their access","settings.orgSso.cancelButton":"Cancel","settings.orgSso.clientIdLabel":"Client ID","settings.orgSso.clientIdPlaceholder":"your-client-id","settings.orgSso.clientSecretEditDescription":"Leave empty to keep current","settings.orgSso.clientSecretLabel":"Client secret","settings.orgSso.clientSecretPlaceholder":"your-client-secret","settings.orgSso.clientSecretRequiredError":"Client secret is required for the first setup","settings.orgSso.configurationRemovedSuccess":"SSO configuration removed","settings.orgSso.configurationSavedSuccess":"SSO configuration saved","settings.orgSso.configureSsoButton":"Configure SSO","settings.orgSso.discoveryEndpointDescription":"Optional. Detected from the issuer when empty.","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 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":"Your identity provider's OIDC issuer URL.","settings.orgSso.issuerUrlLabel":"Issuer URL","settings.orgSso.issuerUrlPlaceholder":"https://login.microsoftonline.com/{tenant}/v2.0","settings.orgSso.loading":"Loading...","settings.orgSso.providerLabel":"Provider","settings.orgSso.removeButton":"Remove","settings.orgSso.removeConfirmation":"Are you sure you want to remove SSO configuration?","settings.orgSso.removeSsoConfigError":"Failed to remove SSO config","settings.orgSso.requiredFieldsError":"Issuer, Client ID, and Domain are required","settings.orgSso.saveSsoConfigError":"Failed to save SSO config","settings.orgSso.savingButton":"Saving...","settings.orgSso.scopesLabel":"Scopes","settings.orgSso.scopesPlaceholder":"openid email profile","settings.orgSso.sectionTitle":"Single sign-on","settings.orgSso.securityTitle":"Security","settings.orgSso.testSsoButton":"Test SSO","settings.orgSso.toggleEnforcementError":"Failed to toggle SSO enforcement","settings.orgSso.updateButton":"Update","settings.organizationForm.failedToReadImage":"Failed to read image","settings.organizationForm.failedToUpdateOrg":"Failed to update organization","settings.organizationForm.imageTooLarge":"Image must be smaller than 2MB","settings.organizationForm.logoDescription":"256×256px recommended.","settings.organizationForm.logoTitle":"Logo","settings.organizationForm.namePlaceholder":"Organization name","settings.organizationForm.nameRequired":"Name is required","settings.organizationForm.nameTitle":"Name","settings.organizationForm.nameTooLong":"Name is too long","settings.organizationForm.updateSuccess":"Organization updated successfully","settings.organizationForm.uploadLogoLabel":"Upload organization logo","settings.organizationForm.urlDescription":"Used in links and API integrations, so it can't be changed.","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.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":"New 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.accessLabel":"Access","settings.apiKeys.accessReadOnly":"Read only","settings.apiKeys.accessReadOnlyDescription":"The {count} Studio tools that never change data. Tools added later stay out.","settings.apiKeys.accessCustom":"Choose tools","settings.apiKeys.accessCustomDescription":"Only the Studio and connection tools you pick. Tools added later stay out.","settings.apiKeys.accessFull":"Full access","settings.apiKeys.accessFullDescription":"Every tool, including ones that delete data and ones added later.","settings.apiKeys.expired":"Expired","settings.apiKeys.expiredOn":"Expired {date}","settings.apiKeys.expiresOn":"Expires {date}","settings.apiKeys.expiryDays":"{days} days","settings.apiKeys.expiryLabel":"Expires after","settings.apiKeys.expiryNever":"Never","settings.apiKeys.expiryYear":"1 year","settings.apiKeys.neverExpires":"Never expires","settings.apiKeys.readOnlyBadge":"Read only","settings.apiKeys.toolCount":"{count} tools","settings.apiKeys.studioTools":"Studio","settings.apiKeys.toolsGroupCount":"{count}/{total}","settings.apiKeys.toolsNone":"No tools","settings.apiKeys.toolsSelectGroup":"Select every tool in {name}","settings.apiKeys.toolsSelected":"{count} selected","settings.apiKeys.toolsLoadFailed":"Couldn't load the tool list. Close and try again.","settings.apiKeys.toolsSearch":"Search tools…","settings.apiKeys.cancelButton":"Cancel","settings.apiKeys.copied":"Copied to clipboard","settings.apiKeys.copyKey":"Copy key","settings.apiKeys.createButton":"Create key","settings.apiKeys.createdAt":"Created {date}","settings.apiKeys.createdDescription":"Copy this key now — it won't be shown again.","settings.apiKeys.createdTitle":"API key created","settings.apiKeys.creatingButton":"Creating…","settings.apiKeys.deleteDescription":"Any application using this key will immediately lose access. This cannot be undone.","settings.apiKeys.deleteKey":"Delete key","settings.apiKeys.deleteTitle":'Delete "{name}"?',"settings.apiKeys.done":"Done","settings.apiKeys.emptyDescription":"Create a key to authenticate external applications with this organization.","settings.apiKeys.emptyTitle":"No API keys yet","settings.apiKeys.failedToCreateKey":"Failed to create API key","settings.apiKeys.failedToDeleteKey":"Failed to delete API key","settings.apiKeys.failedToLoadError":"Failed to load API keys: {error}","settings.apiKeys.keyDeleted":'API key "{name}" deleted',"settings.apiKeys.loading":"Loading API keys…","settings.apiKeys.nameLabel":"Name","settings.apiKeys.namePlaceholder":"My integration","settings.apiKeys.newKey":"New key","settings.apiKeys.newKeyDescription":"Give the key only the tools it needs. Whoever holds the key can use them, even if it leaks.","settings.apiKeys.newKeyTitle":"New API key","settings.apiKeys.sectionDescription":"For scripts and clients that can't sign in through a browser.","settings.apiKeys.sectionTitle":"API keys","settings.secrets.cancelButton":"Cancel","settings.secrets.createButton":"Create secret","settings.secrets.creatingButton":"Creating…","settings.secrets.descriptionLabel":"Description (optional)","settings.secrets.descriptionPlaceholder":"What is this secret used for?","settings.secrets.emptyDescription":"Store API keys, tokens, and other sensitive values. Values are encrypted at rest and never returned over the API.","settings.secrets.emptyTitle":"No secrets yet","settings.secrets.failedToCreateSecret":"Failed to create secret","settings.secrets.failedToLoadError":"Failed to load secrets: {error}","settings.secrets.nameHelp":"Letters, digits, underscore, dot, hyphen. Case-insensitive within its scope.","settings.secrets.nameLabel":"Name","settings.secrets.namePlaceholder":"STRIPE_API_KEY","settings.secrets.newSecret":"New secret","settings.secrets.newSecretDescription":"Stored encrypted in the credential vault. Choose who can read it.","settings.secrets.newSecretTitle":"New secret","settings.secrets.scopeLabel":"Scope","settings.secrets.scopeOrganization":"Organization","settings.secrets.scopeOrganizationDescription":"Organization — visible to all members","settings.secrets.scopePrivate":"Private","settings.secrets.scopePrivateDescription":"Private — only visible to me","settings.secrets.secretCreated":'Secret "{name}" created',"settings.secrets.secretsCountSingular":"{count} secret stored","settings.secrets.secretsCountPlural":"{count} secrets stored","settings.secrets.sectionOrganization":"Organization","settings.secrets.sectionPrivate":"Private to me","settings.secrets.valueLabel":"Value","settings.simpleModeSection.defaultModels":"Default models","settings.simpleModeSection.failedToSave":"Failed to save: {error}","settings.simpleModeSection.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.tierFast":"Fast","settings.simpleModeSection.tierImage":"Image","settings.simpleModeSection.tierSmart":"Smart","settings.simpleModeSection.tierThinking":"Thinking","settings.simpleModeSection.tierWebSearch":"Web search","settings.aiProviders.groupChat":"Chat and tasks","settings.aiProviders.groupMedia":"Images and web search only","settings.aiProviders.customOpenAiCompatible":"Custom OpenAI-compatible","settings.aiProviders.customOpenAiDescription":"Bring your own model server (advanced)","settings.infraBilling.noSites":"This organization doesn't own any deco.cx site yet.","settings.infraBilling.siteLabel":"Sites","settings.infraBilling.pickASite":"Select at least one site.","settings.infraBilling.tooManySites":"Showing the first {count} sites. Select specific sites to see the rest.","settings.infraBilling.multipleTeams":"These sites are billed by {count} legacy teams. Each team's plan and invoices are listed under Invoices.","settings.infraBilling.noTeam":"These sites aren't linked to a legacy billing team.","settings.infraBilling.partialTeam":"This site's legacy team also bills sites outside this organization, so its plan and invoices aren't shown here.","settings.infraBilling.billingUnavailable":"Plan and invoices are temporarily unavailable.","settings.infraBilling.monthLabel":"Month","settings.infraBilling.warehouseUnavailable":"Usage data couldn't be read, so the figures below are incomplete.","settings.infraBilling.summaryTitle":"Summary","settings.infraBilling.metricsTitle":"Metrics","settings.infraBilling.invoicesTitle":"Invoices","settings.infraBilling.detailsTitle":"Billing details","settings.infraBilling.currentPlan":"Current plan","settings.infraBilling.nextBilling":"Next billing","settings.infraBilling.manageButton":"Manage","settings.infraBilling.portalError":"Couldn't open billing portal: {message}","settings.infraBilling.requestsPerPageview":"Requests per pageview","settings.infraBilling.plan.free":"Free","settings.infraBilling.plan.pro":"Pro","settings.infraBilling.plan.enterprise":"Enterprise","settings.infraBilling.pageviews":"Pageviews","settings.infraBilling.pageviewsDescription":"Pages served to visitors this month.","settings.infraBilling.requests":"Requests","settings.infraBilling.requestsDescription":"CDN and shared infrastructure requests.","settings.infraBilling.dataTransfer":"Data transfer","settings.infraBilling.dataTransferDescription":"Bandwidth served from the edge and the origin.","settings.infraBilling.noInvoices":"No invoices issued for this team.","settings.infraBilling.invoiceReference":"Reference","settings.infraBilling.invoiceDue":"Due date","settings.infraBilling.invoiceAmount":"Amount","settings.infraBilling.invoiceStatus":"Status","settings.infraBilling.invoiceDocuments":"Documents","settings.infraBilling.invoiceNf":"Invoice","settings.infraBilling.invoiceBankSlip":"Bank slip","settings.infraBilling.invoiceBankTransfer":"Bank transfer","settings.infraBilling.statusPaid":"Paid","settings.infraBilling.statusOverdue":"Overdue","settings.infraBilling.statusPending":"Pending","settings.gitCredentials.title":"Git credentials","settings.gitCredentials.description":"Tokens that let sandboxes pull private repos and dependencies, like submodules or private npm, go, pub or cargo packages. Pick a secret per host.","settings.gitCredentials.addCredential":"Add credential","settings.gitCredentials.cancel":"Cancel","settings.gitCredentials.createNewSecret":"Create new secret","settings.gitCredentials.createNewSecretAriaLabel":"Create new secret","settings.gitCredentials.createNewSecretDescription":"Stored encrypted. The credential references the secret by id, and its value never leaves the server.","settings.gitCredentials.createNewSecretTitle":"Create new secret","settings.gitCredentials.descriptionLabel":"Description (optional)","settings.gitCredentials.descriptionPlaceholder":"What is this token used for?","settings.gitCredentials.failedToLoadSecrets":"Failed to load secrets","settings.gitCredentials.failedToSave":"Failed to save git credentials","settings.gitCredentials.failedToSaveSecret":"Failed to save","settings.gitCredentials.hostAriaLabel":"Git credential {index} host","settings.gitCredentials.hostInvalidMessage":"Bare hostname, e.g. github.com (no scheme or path).","settings.gitCredentials.hostPlaceholder":"github.com","settings.gitCredentials.maxReached":"You've reached the limit of {max} git credentials. Remove one to add another.","settings.gitCredentials.nameLabel":"Name","settings.gitCredentials.namePlaceholder":"GITHUB_DEPS_PAT","settings.gitCredentials.nameHelperText":"Letters, digits, underscore, dot, hyphen.","settings.gitCredentials.noSecretsYet":'No secrets yet. Use the "+" to create one.',"settings.gitCredentials.pickSecretPlaceholder":"Pick a secret…","settings.gitCredentials.remove":"Remove","settings.gitCredentials.removeAriaLabel":"Remove git credential","settings.gitCredentials.saveSecret":"Save secret","settings.gitCredentials.saving":"Saving…","settings.gitCredentials.secretAriaLabel":"Git credential {index} secret","settings.gitCredentials.scopeLabel":"Scope","settings.gitCredentials.scopeOrganization":"Organization, visible to all members","settings.gitCredentials.scopePrivate":"Private, only visible to me","settings.gitCredentials.secretSaved":'Saved secret "{name}"',"settings.gitCredentials.tokenExposureWarning":"The token is installed in the sandbox's git config for the session, so commands and agents running there can use it. Scope it to the repositories it needs.","settings.gitCredentials.tokenLabel":"Personal access token","settings.gitCredentials.tokenPlaceholder":"Paste your token"},hte={"announcements.ptBr.title":"Studio is now in Portuguese","announcements.ptBr.description":"We noticed your browser is set to Portuguese, so we switched Studio to Portuguese (Brazil) for you. You can switch back to English anytime in settings.","announcements.ptBr.ok":"OK!","announcements.ptBr.switchBack":"Switch back to English","announcements.release.ariaLabel":"Release announcement","announcements.release.dismiss":"Dismiss release announcement","announcements.release.learnMore":"Learn more","announcements.version.ariaLabel":"Studio update","announcements.version.dismiss":"Dismiss Studio update","announcements.version.eyebrow":"Studio update","announcements.version.title":"A new version is ready","announcements.version.description":"Refresh to load the latest Studio updates.","announcements.version.currentSession":"Current session · {version}","announcements.version.refresh":"Refresh now"},gte={"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"},fte={...See,...wee,...xee,...Tee,...kee,...Eee,...Cee,..._ee,...Pee,...Aee,...Ree,...Dee,...Oee,...Nee,...Mee,...Iee,...Lee,...Bee,...Fee,...Jee,...Xee,...ete,...jee,...zee,...qee,...Uee,...$ee,...Vee,...Hee,...Gee,...Wee,...Kee,...Yee,...Zee,...Qee,...tte,...ote,...ate,...nte,...rte,...ste,...ite,...lte,...cte,...dte,...ute,...pte,...mte,...hte,...gte,...yee,...bee};function qB(t,e){return e?t.replace(/\{(\w+)\}/g,(o,a)=>Object.hasOwn(e,a)?String(e[a]):o):t}const vte={"page.overview":"Visão geral","page.app":"App","page.view":"Visualização","page.file":"Arquivo","page.document":"Documento","page.item":"Item","page.breadcrumbs":"Navegação estrutural","page.breadcrumbMenu":"Mostrar caminho de navegação","page.views":"Visualizações da página","page.openThread":"Abrir chat","page.closeThread":"Fechar chat","page.collapseSidebar":"Recolher barra lateral","page.expandSidebar":"Expandir barra lateral"},bte={"projects.overview.metrics":"Métricas","projects.platform.vtex":"VTEX","projects.platform.shopify":"Shopify","projects.platform.wake":"Wake","projects.platform.nuvemshop":"Nuvemshop","projects.platform.linx":"Linx","projects.platform.vnda":"VNDA","projects.home.newProject":"Novo projeto","projects.card.updated":"Atualizado {time}","projects.empty.title":"Seu comércio, um projeto por vez","projects.empty.description":"Um site, um app, uma loja. Cada um com suas conexões, seu relatório e seu quadro.","projects.empty.readOnly":"Peça a um admin para criar o primeiro projeto.","projects.new.title":"Novo projeto","projects.new.subtitle":"O que você vai configurar?","projects.new.back":"Voltar","projects.new.create":"Criar projeto","projects.new.creating":"Criando…","projects.new.nameLabel":"Nome do projeto","projects.new.namePlaceholder":"Farm web","projects.new.nameRequired":"Dê um nome ao projeto","projects.new.failed":"Não foi possível criar o projeto","projects.new.created":"{title} está pronto","projects.new.path.repository":"Importar um código","projects.new.path.repository.hint":"Traga o código de um site ou app","projects.new.path.folder":"Nova pasta de projeto","projects.new.path.folder.hint":"Dê o nome agora, conecte depois","projects.new.step.folder.title":"Dê nome ao seu projeto","projects.reports.chooserTitle":"Continuar para Relatórios","projects.reports.chooserSubtitle":"Escolha um projeto para continuar","projects.reports.chooserSearch":"Buscar projeto…","projects.reports.chooserEmpty":"Nenhum projeto com esse nome.","projects.reports.status.ready":"Pronto","projects.reports.status.running":"Rodando","projects.reports.status.none":"Não rodou","projects.reports.status.locked":"Bloqueado","projects.connections.orgWide":"Toda a organização","projects.connections.usedBy":"{count} projetos","projects.settings.title":"Projetos","projects.settings.searchPlaceholder":"Buscar projetos…","projects.settings.open":"Abrir","projects.settings.openSettings":"Configurações","projects.settings.noResults":"Nenhum projeto corresponde a “{search}”","projects.identity.storeUrlLabel":"URL da loja","projects.identity.storeUrlDescription":"A loja no ar. Os relatórios rodam contra este endereço.","projects.apps.reports":"Relatório","projects.apps.siteEditor":"Editor de site","projects.apps.assets":"Assets","projects.apps.releases":"Releases","projects.apps.hosting":"Hosting","projects.apps.e2e":"Testes ponta a ponta","projects.apps.automations":"Automações","projects.apps.calendar":"Calendário","projects.apps.experiments":"Experimentos"},yte={"virtualMcp.addConnectionDialog.addConnectionTitle":"Adicionar Conexão","virtualMcp.addConnectionDialog.authenticationFailedError":"Autenticação falhou: {error}","virtualMcp.addConnectionDialog.connected":"Conectado","virtualMcp.addConnectionDialog.connectedAuthenticated":"Conectado e autenticado","virtualMcp.addConnectionDialog.connectionsTitle":"Conexões","virtualMcp.addConnectionDialog.failedToAddConnection":"Falha ao adicionar conexão","virtualMcp.addConnectionDialog.failedToConnect":"Falha ao conectar","virtualMcp.addConnectionDialog.mcpServerConnectionError":"Este servidor MCP não pode ser conectado: nenhum método de conexão disponível","virtualMcp.addConnectionDialog.searchConnectionsPlaceholder":"Pesquisar conexões...","virtualMcp.addConnectionDialog.signInFailedDescription":"Foi adicionada ao seu projeto, mas sua configuração de login parece estar errada. Você pode tentar autenticar novamente mais tarde nas configurações da conexão. ({error})","virtualMcp.addConnectionDialog.signInFailedTitle":"Não foi possível fazer login nesta conexão","virtualMcp.connectionDialogContent.add":"Adicionar","virtualMcp.connectionDialogContent.added":"Adicionado","virtualMcp.connectionDialogContent.builtByDeco":"Construído e mantido pela Deco","virtualMcp.connectionDialogContent.builtByOfficial":"Construído e mantido pelo fornecedor oficial","virtualMcp.connectionDialogContent.connect":"Conectar","virtualMcp.connectionDialogContent.connected":"Conectado","virtualMcp.connectionDialogContent.customConnection":"Conexão Personalizada","virtualMcp.connectionDialogContent.emptyStateNoConnectionsAvailable":"Nenhuma conexão disponível","virtualMcp.connectionDialogContent.emptyStateNoConnectionsYet":"Nenhuma conexão ainda","virtualMcp.connectionDialogContent.emptyStateSearchNoMatch":'Nenhuma conexão corresponde a "{search}"',"virtualMcp.connectionDialogContent.madeByDeco":"Feito por Deco","virtualMcp.connectionDialogContent.sectionAllConnections":"Todas as conexões","virtualMcp.connectionDialogContent.sectionVerified":"Verificado","virtualMcp.connectionDialogContent.tabAll":"Todos","virtualMcp.connectionDialogContent.tabConnected":"Conectados","virtualMcp.connectionDialogContent.verifiedByDeco":"Verificado pelo time da Deco","virtualMcp.connectionItem.authorize":"Autorizar","virtualMcp.connectionItem.configureResources":"Configurar recursos","virtualMcp.connectionItem.connectionDisabled":"Conexão desativada","virtualMcp.connectionItem.connectionEnabled":"Conexão ativada","virtualMcp.connectionItem.connectionNotFound":"Conexão não encontrada","virtualMcp.connectionItem.connectionSettings":"Configurações de conexão","virtualMcp.connectionItem.disable":"Desativar","virtualMcp.connectionItem.disableConnection":"Desativar conexão","virtualMcp.connectionItem.disabled":"Desativada","virtualMcp.connectionItem.disabledError":"Desativada (erro)","virtualMcp.connectionItem.enable":"Ativar","virtualMcp.connectionItem.failedToUpdateConnection":"Falha ao atualizar a conexão","virtualMcp.connectionItem.needsAuthorization":"Requer autorização","virtualMcp.connectionItem.newInstance":"Nova instância","virtualMcp.connectionItem.remove":"Remover","virtualMcp.connectionItem.removeConnection":"Remover conexão","virtualMcp.dependencySelectionDialog.authorizationDescription":"Esta conexão deve ser autorizada antes de você poder configurar suas ferramentas e recursos.","virtualMcp.dependencySelectionDialog.authorizationRequired":"Autorização obrigatória","virtualMcp.dependencySelectionDialog.authorize":"Autorizar","virtualMcp.dependencySelectionDialog.deselectAll":"Desselecionar tudo","virtualMcp.dependencySelectionDialog.done":"Concluído","virtualMcp.dependencySelectionDialog.noActiveToolsSelected":"Nenhuma ferramenta ativa selecionada","virtualMcp.dependencySelectionDialog.noPromptsAvailable":"Nenhum prompt disponível","virtualMcp.dependencySelectionDialog.noResourcesAvailable":"Nenhum recurso disponível","virtualMcp.dependencySelectionDialog.noToolsAvailable":"Nenhuma ferramenta disponível","virtualMcp.dependencySelectionDialog.promptsNotSupported":"Prompts não são suportados por este servidor","virtualMcp.dependencySelectionDialog.resourcesNotSupported":"Recursos não são suportados por este servidor","virtualMcp.dependencySelectionDialog.selectAll":"Selecionar tudo","virtualMcp.dependencySelectionDialog.somethingWentWrong":"Algo deu errado","virtualMcp.dependencySelectionDialog.tabActive":"Ativas","virtualMcp.dependencySelectionDialog.tabPrompts":"Prompts","virtualMcp.dependencySelectionDialog.tabResources":"Recursos","virtualMcp.dependencySelectionDialog.tabTools":"Ferramentas","virtualMcp.dependencySelectionDialog.toolsNotSupported":"Ferramentas não são suportadas por este servidor","virtualMcp.dependencySelectionDialog.unexpectedError":"Erro inesperado","virtualMcp.filesSection.add":"Adicionar","virtualMcp.filesSection.description":"Anexe arquivos e skills que o projeto sempre pode consultar.","virtualMcp.filesSection.failedUploadFile":"Falha ao enviar arquivo.","virtualMcp.filesSection.fileTooLargeDescription":"Excede o limite de 25MB, não enviado: {names}","virtualMcp.filesSection.fileTooLargeTitle":"Arquivo muito grande","virtualMcp.filesSection.filesAndSkills":"Arquivos e skills","virtualMcp.filesSection.kindFile":"Arquivo","virtualMcp.filesSection.kindSkill":"Skill","virtualMcp.filesSection.noFilesFound":"Nenhum arquivo encontrado.","virtualMcp.filesSection.noFilesOrSkillsYet":"Nenhum arquivo ou skill ainda. Adicione um ou arraste e solte aqui.","virtualMcp.filesSection.noSkillsFound":"Nenhum skill encontrado.","virtualMcp.filesSection.removeAriaLabel":"Remover {name}","virtualMcp.filesSection.searchFilesPlaceholder":"Pesquisar arquivos...","virtualMcp.filesSection.searchSkillsPlaceholder":"Pesquisar skills...","virtualMcp.filesSection.selectFileOrFolder":"Selecionar arquivo ou pasta","virtualMcp.filesSection.selectSkill":"Selecionar skill","virtualMcp.filesSection.uploadFile":"Enviar arquivo","virtualMcp.layoutTabContent.noMainView":"Sem visão principal","virtualMcp.layoutTabContent.automations":"Automações","virtualMcp.layoutTabContent.chatAlwaysShown":"O Chat sempre aparece quando é a visualização padrão","virtualMcp.layoutTabContent.layout":"Layout","virtualMcp.layoutTabContent.mainView":"Visualização principal","virtualMcp.layoutTabContent.mainViewDescription":"O que os usuários veem quando abrem este projeto pela primeira vez.","virtualMcp.layoutTabContent.settings":"Configurações","virtualMcp.layoutTabContent.showChat":"Mostrar chat","virtualMcp.layoutTabContent.showChatDescription":"Exibir Chat no painel lateral junto com a visualização principal.","virtualMcp.layoutTabContent.siteEditor":"Editor do site","virtualMcp.settings.title":"Configurações do projeto","virtualMcp.settings.navigation":"Seções das configurações do projeto","virtualMcp.settings.identity.icon":"Ícone do projeto","virtualMcp.settings.identity.iconDescription":"Como seu projeto aparece na barra lateral e no Studio.","virtualMcp.settings.identity.name":"Nome do projeto","virtualMcp.settings.identity.description":"Descrição","virtualMcp.settings.repository.title":"Repositório","virtualMcp.settings.repository.description":"O código deste projeto e como o sandbox roda ele.","virtualMcp.settings.repository.repoTitle":"Repositório","virtualMcp.settings.repository.runtimeTitle":"Como roda","virtualMcp.settings.repository.runtimeDescription":"O que o sandbox instala e sobe para mostrar o preview deste projeto.","virtualMcp.settings.pageTitle":"Configurações do projeto","virtualMcp.settings.views.title":"Views","virtualMcp.settings.views.description":"O que abre primeiro e quais views aparecem na sidebar.","virtualMcp.settings.cmsEmptyTitle":"Nenhum conteúdo de site ainda","virtualMcp.settings.repository.open":"Ir para Repositório","virtualMcp.settings.repository.none":"Nenhum repositório conectado","virtualMcp.settings.repository.noneDescription":"Conecte um repositório do GitHub para editar e pré-visualizar o site deste projeto.","virtualMcp.settings.repository.connect":"Conectar repositório","virtualMcp.settings.repository.change":"Trocar","virtualMcp.settings.repository.connected":"{name} conectado","virtualMcp.settings.cmsEmpty":"Conecte o repositório do site para ligar o CMS.","virtualMcp.settings.general.title":"Geral","virtualMcp.settings.site.title":"CMS","virtualMcp.settings.site.classicTitle":"Site e sandbox","virtualMcp.settings.blocksV8Site.label":"Site Blocks v8","virtualMcp.settings.blocksV8Site.description":"Edite este site com o editor do Blocks v8 e o CMS hospedado. Desligado: v7, ligado ao git.","virtualMcp.settings.groups.advanced":"Avançado","virtualMcp.settings.groups.details":"Detalhes","virtualMcp.settings.connections.title":"Conexões","virtualMcp.settings.views.defaults":"Layout padrão","virtualMcp.settings.views.sidebar":"Visualizações","virtualMcp.settings.views.open":"Abrir","virtualMcp.settings.views.pin":"Fixar na barra lateral","virtualMcp.settings.views.unpin":"Remover da barra lateral","virtualMcp.settings.views.setMainView":"Definir como visualização principal","virtualMcp.settings.views.rowActions":"Opções da visualização","virtualMcp.virtualMcp.addConnection":"Adicionar conexão","virtualMcp.virtualMcp.agentDeleted":'Excluído "{title}"',"virtualMcp.virtualMcp.agentNameFallback":"Agente","virtualMcp.virtualMcp.agentNamePlaceholder":"Nome do projeto","virtualMcp.virtualMcp.authenticationFailed":"Falha na autenticação: {error}","virtualMcp.virtualMcp.authenticationSuccessful":"Autenticação bem-sucedida","virtualMcp.virtualMcp.backToSpaces":"Voltar aos espaços","virtualMcp.virtualMcp.cancel":"Cancelar","virtualMcp.virtualMcp.connect":"Conectar","virtualMcp.virtualMcp.connections":"Conexões","virtualMcp.virtualMcp.created":"Criado em","virtualMcp.virtualMcp.createdBy":"Criado por","virtualMcp.virtualMcp.delete":"Excluir","virtualMcp.virtualMcp.deleteAgent":"Excluir projeto","virtualMcp.virtualMcp.deleteAgentConfirm":"Excluir Projeto?","virtualMcp.virtualMcp.deleteAgentConfirmDescription":"Esta ação não pode ser desfeita. Isto excluirá permanentemente {title}.","virtualMcp.virtualMcp.deleteAgentDescription":"Exclua permanentemente este projeto e todos os seus dados.","virtualMcp.virtualMcp.descriptionPlaceholder":"Adicionar uma descrição...","virtualMcp.virtualMcp.failedToCreateInstance":"Falha ao criar instância","virtualMcp.virtualMcp.fullscreen":"Tela cheia","virtualMcp.virtualMcp.improve":"Melhorar","virtualMcp.virtualMcp.instanceAlreadyAdded":"Esta instância já foi adicionada ao projeto","virtualMcp.virtualMcp.instructions":"Instruções","virtualMcp.virtualMcp.instructionsPlaceholder":"Defina como este agente deve se comportar, qual tom usar, qualquer restrição ou diretriz...","virtualMcp.virtualMcp.lastUsedLabel":"Último uso","virtualMcp.virtualMcp.neverUsed":"Nunca foi usado","virtualMcp.virtualMcp.newInstanceCreated":"Nova instância criada","virtualMcp.virtualMcp.noConnectionsYet":"Nenhuma conexão ainda. Adicione uma para começar.","virtualMcp.virtualMcp.openFullscreenEditor":"Abrir editor em tela cheia","virtualMcp.virtualMcp.promptTemplate":"+ Modelo de prompt","virtualMcp.virtualMcp.promptTemplateContent":`<role>
91
+ This site reports no post sections yet — once it does, cite them here with @.`,"sandbox.formats.starterName":"Standard post","sandbox.formats.suggestButton":"Suggest formats","sandbox.formats.suggestFailed":"Couldn't suggest formats","sandbox.formats.suggestHint":"Name the formats this blog already writes in, from how its posts are built","sandbox.formats.suggested":"{count} format(s) added","sandbox.formats.unknownCitations":"This format cites sections the site doesn't have: {names}","sandbox.generatePost.stepCampaign":"Campaign","sandbox.generatePost.campaignHint":"A post is written for a campaign: it carries the moment, the products it may name and the links to them.","sandbox.generatePost.noCampaigns":"No campaign to write for yet. Create one under Context → Campaigns.","sandbox.generatePost.campaignProducts":"{count} product(s)","sandbox.generatePost.campaignNoProducts":"No products","sandbox.generatePost.formatBlocksHint":"The blocks this format cites are the only ones a post may be built from, and each is filled to its own schema.","sandbox.generatePost.countLabel":"How many drafts","sandbox.generatePost.countHint":"Each takes a different angle on the same campaign. They land as separate cards.","sandbox.generatePost.coverHint":"Every draft gets a cover image, generated and uploaded to your bucket.","sandbox.generatePost.gapNoStoreData":"No connected system answered, so nothing in these posts was checked against the store.","sandbox.generatePost.gapSectionsDropped":"{count} section(s) were dropped: their props did not match the block that renders them.","sandbox.generatePost.gapNoBucket":"No bucket to upload images to, so the posts have no cover. Configure one under Settings → Buckets.","sandbox.generatePost.gapNoImageModel":"This organization has no image model configured, so the posts have no cover.","sandbox.generatePost.gapImagesFailed":"The cover images could not be generated. The posts are otherwise complete.","sandbox.generatePost.gapDraftsFailed":"{count} draft(s) could not be written and their cards were left empty.","sandbox.generatePost.back":"Back","sandbox.generatePost.blockedBrand":"Fill in {fields} on the Brand tab first — a post written without them reads like any other brand's.","sandbox.generatePost.done":"Wrote {count} draft(s) — ready for review","sandbox.generatePost.extraLabel":"Anything else?","sandbox.generatePost.extraPlaceholder":"What you want on top of everything else, in your words.","sandbox.generatePost.failed":"Could not write these posts","sandbox.generatePost.formatHint":"Pick a format this brand already uses, or describe a new one.","sandbox.generatePost.formatNameLabel":"Format name","sandbox.generatePost.formatNamePlaceholder":"The format, named by the job it does","sandbox.generatePost.formatValueLabel":"How a post like this is built","sandbox.generatePost.formatValuePlaceholder":"How it opens, develops and closes.","sandbox.generatePost.generate":"Generate {count} draft(s)","sandbox.generatePost.next":"Next","sandbox.generatePost.stepExtra":"Instructions","sandbox.generatePost.stepFormat":"Format","sandbox.generatePost.subtitle":"Pick the campaign and the format. The posts land on the board as drafts.","sandbox.generatePost.title":"Generate posts","sandbox.itemActions.addVariant":"Add variant","sandbox.itemActions.delete":"Delete","sandbox.itemActions.duplicate":"Duplicate","sandbox.itemActions.editSeo":"Edit SEO","sandbox.itemActions.moreActions":"More actions","sandbox.itemActions.rename":"Rename","sandbox.itemActions.viewJson":"View JSON","sandbox.itemRow.duplicateName":"Another record uses this name","sandbox.itemRow.missingFields":"Missing: {fields}","sandbox.itemRow.selectItem":"Select {title}","sandbox.itemRow.variantCount":"{count} variants","sandbox.listBlocks.addCard":"Add card","sandbox.listBlocks.addItem":"Add item","sandbox.listBlocks.addStat":"Add stat","sandbox.listBlocks.addStep":"Add step","sandbox.listBlocks.cardBody":"Card body","sandbox.listBlocks.cardTitle":"Card title","sandbox.listBlocks.checklistItem":"Checklist item","sandbox.listBlocks.checklistTitle":"Checklist title (optional)","sandbox.listBlocks.columnTitle":"Column title","sandbox.listBlocks.item":"Item","sandbox.listBlocks.label":"Label","sandbox.listBlocks.optionA":"Option A","sandbox.listBlocks.optionB":"Option B","sandbox.listBlocks.removeCard":"Remove card","sandbox.listBlocks.removeItem":"Remove item","sandbox.listBlocks.removeStat":"Remove stat","sandbox.listBlocks.removeStep":"Remove step","sandbox.listBlocks.statValuePlaceholder":"99%","sandbox.listBlocks.stepDescription":"Step description","sandbox.listBlocks.stepTitle":"Step title","sandbox.listBlocks.stepsTitle":"Steps title (optional)","sandbox.mediaBlocks.addCaption":"Add a caption…","sandbox.mediaBlocks.altText":"Alt text (accessibility)","sandbox.mediaBlocks.altLabel":"Alt","sandbox.mediaBlocks.buttonLabel":"Button label","sandbox.mediaBlocks.calloutText":"Callout text…","sandbox.mediaBlocks.calloutTitle":"Callout title","sandbox.mediaBlocks.destinationUrlPlaceholder":"https://destination-url.com","sandbox.linkSuggest.button":"Suggest links","sandbox.linkSuggest.hint":"Find phrases to link to your other posts (uses AI credits)","sandbox.linkSuggest.noCandidates":"No other posts to link to yet","sandbox.linkSuggest.title":"Suggested internal links","sandbox.linkSuggest.description":"Pick which phrases to link to your other posts. Nothing changes until you apply.","sandbox.linkSuggest.none":"No internal links to suggest.","sandbox.linkSuggest.apply":"Apply {count}","sandbox.linkSuggest.applied":"Applied {count} link(s)","sandbox.linkSuggest.failed":"Could not suggest links","sandbox.linkPicker.tabPost":"Post","sandbox.linkPicker.tabProduct":"Product","sandbox.linkPicker.searchPosts":"Search your posts…","sandbox.linkPicker.noPosts":"No matching posts","sandbox.linkPicker.searchProducts":"Search your catalog…","sandbox.linkPicker.searching":"Searching…","sandbox.linkPicker.noProducts":"No matching products","sandbox.mediaBlocks.divider":"Divider","sandbox.mediaBlocks.fullWidth":"Full width","sandbox.mediaBlocks.highPriority":"Priority","sandbox.mediaBlocks.highPriorityHint":"Loads eagerly with high fetch priority. Use for images above the fold.","sandbox.mediaBlocks.label":"Label","sandbox.mediaBlocks.normal":"Normal","sandbox.mediaBlocks.optionalDescription":"Optional description","sandbox.mediaBlocks.pasteVideoUrl":"Paste a YouTube or Vimeo URL to preview","sandbox.mediaBlocks.statValuePlaceholder":"42%","sandbox.mediaBlocks.video":"Video","sandbox.mediaBlocks.videoUrlPlaceholder":"https://youtube.com/watch?v=…","sandbox.pageFormDialog.buttonCancel":"Cancel","sandbox.pageFormDialog.labelName":"Name","sandbox.pageFormDialog.labelPath":"Path","sandbox.pageFormDialog.labelTemplate":"Template","sandbox.pageFormDialog.pendingCreate":"Creating…","sandbox.pageFormDialog.pendingDuplicate":"Duplicating…","sandbox.pageFormDialog.pendingSave":"Saving…","sandbox.pageFormDialog.placeholderName":"My page","sandbox.pageFormDialog.placeholderPath":"/example","sandbox.pageFormDialog.submitCreate":"Create","sandbox.pageFormDialog.submitDuplicate":"Duplicate","sandbox.pageFormDialog.submitSave":"Save","sandbox.pageFormDialog.titleCreate":"Create new page","sandbox.pageFormDialog.titleDuplicate":"Duplicate page","sandbox.pageFormDialog.titleRename":"Rename page","sandbox.pathParamPickerChip.buttonTitle":"Value for {paramLabel} — click to pick","sandbox.pathParamPickerChip.couldNotLoad":"Couldn't load — is the dev server running?","sandbox.pathParamPickerChip.kindCategoryHeading":"Categories","sandbox.pathParamPickerChip.kindCategoryNoun":"category","sandbox.pathParamPickerChip.kindProductHeading":"Products","sandbox.pathParamPickerChip.kindProductNoun":"product","sandbox.pathParamPickerChip.loading":"Loading {noun}…","sandbox.pathParamPickerChip.noResults":"No results.","sandbox.pathParamPickerChip.pickValueHeading":"Pick a value for","sandbox.pathParamPickerChip.pickValueTitle":"Pick a value for {paramLabel}","sandbox.pathParamPickerChip.searchPlaceholder":"Search {options} or enter a value…","sandbox.pathParamPickerChip.useRawValue":'Use "{rawTerm}" as {paramLabel}',"sandbox.plainBlocks.bulletedLabel":"Bulleted","sandbox.plainBlocks.codePlaceholder":"Code","sandbox.plainBlocks.headingLevel1":"Heading 1","sandbox.plainBlocks.headingLevel2":"Heading 2","sandbox.plainBlocks.headingLevel3":"Heading 3","sandbox.plainBlocks.headingLevel4":"Heading 4","sandbox.plainBlocks.headingPlaceholder":"Heading","sandbox.plainBlocks.languagePlaceholder":"language","sandbox.plainBlocks.listItemPlaceholder":"List item","sandbox.plainBlocks.numberedLabel":"Numbered","sandbox.plainBlocks.quotePlaceholder":"Quote","sandbox.postBoard.close":"Close","sandbox.postBoard.archived":"Moved to Archived","sandbox.postBoard.collapse":"Collapse to panel","sandbox.postBoard.collapseLane":"Collapse {lane}","sandbox.postBoard.delete":"Delete","sandbox.postBoard.emptyDescription":"Generate a few ideas and shape them into published posts.","sandbox.postBoard.emptyTitle":"No posts yet","sandbox.postBoard.duplicateTitle":"Duplicate title","sandbox.postBoard.expand":"Expand to full page","sandbox.postBoard.expandLane":"Expand {lane}","sandbox.postBoard.laneEmpty":"Nothing here yet","sandbox.postBoard.laneArchived":"Archived","sandbox.postBoard.laneGenerating":"Generating","sandbox.postBoard.laneDraft":"Draft","sandbox.postBoard.laneAwaitingReview":"Awaiting review","sandbox.postBoard.lanePublished":"Published","sandbox.postBoard.laneScheduled":"Scheduled","sandbox.postBoard.moveBlocked":"This post is missing required fields — open it to finish before scheduling.","sandbox.postBoard.moveFailed":"Could not move this post","sandbox.postBoard.moveInFlight":"Still moving this post…","sandbox.postBoard.moveNotATarget":"Generating is set by the generation run, not by hand.","sandbox.postBoard.nIssues":"{count} to fix before scheduling","sandbox.postBoard.newPost":"New post","sandbox.postBoard.newPostGenerate":"Generate","sandbox.postBoard.newPostGenerateHint":"Write it with AI, from your context","sandbox.postBoard.newPostWrite":"Write","sandbox.postBoard.newPostWriteHint":"Start an empty draft yourself","sandbox.postBoard.importContent":"Import content","sandbox.postBoard.importContentHint":"Bring in HTML or Markdown you already wrote","sandbox.postBoard.importTitle":"Import content","sandbox.postBoard.importDescription":"Paste HTML or Markdown you already wrote. It becomes an editable draft in your design system — no AI, no credits.","sandbox.postBoard.importUpload":"Upload a file","sandbox.postBoard.importRun":"Import","sandbox.postBoard.importEmpty":"Nothing to import — the content was empty.","sandbox.postBoard.imported":"Imported — review and publish.","sandbox.postBoard.readyToSchedule":"Ready to schedule","sandbox.postBoard.selectPrompt":"Select a post to view it here.","sandbox.postBoard.untitled":"Untitled post","sandbox.postBoard.generatingLabel":"Generating…","sandbox.postBoard.usesCredits":"Uses AI credits","sandbox.postBoard.viewBoard":"Board","sandbox.postBoard.viewList":"List","sandbox.postCalendar.couldNotCreate":"Could not create","sandbox.postCalendar.couldNotReschedule":"Could not reschedule","sandbox.postCalendar.createdScheduledPost":"Created scheduled post","sandbox.postCalendar.legendScheduled":"Scheduled","sandbox.postCalendar.legendUnscheduled":"Not scheduled","sandbox.postCalendar.next":"Next month","sandbox.postCalendar.onlyScheduledCanMove":"Only scheduled posts can be moved.","sandbox.postCalendar.previous":"Previous month","sandbox.postCalendar.schedulePostOn":"Schedule a post on {date}","sandbox.postCalendar.today":"Today","sandbox.postCalendar.unscheduledHint":"Dashed posts aren't scheduled — they sit on their display date, and nothing will publish them.","sandbox.postCalendar.undatedEmpty":"Every post has a date.","sandbox.postCalendar.undatedLabel":"No date · {count}","sandbox.postEditor.addPropLabel":"Add prop","sandbox.postEditor.authorsLabel":"Authors","sandbox.postEditor.categoriesLabel":"Categories","sandbox.postEditor.contentTab":"Content","sandbox.postEditor.coverAltDescription":"Describes the image for screen readers and when it fails to load. Empty: the post title is used.","sandbox.postEditor.coverAltLabel":"Cover image alt text","sandbox.postEditor.coverImageLabel":"Cover image","sandbox.postEditor.dateLabel":"Date","sandbox.postEditor.deletePost":"Delete post","sandbox.postEditor.deletePostCancel":"Cancel","sandbox.postEditor.deletePostConfirmBody":`"{title}" will be removed permanently. This can't be undone.`,"sandbox.postEditor.deletePostConfirmBodyDraft":'"{title}" will be removed from your draft. Nothing goes live until you publish, and until then you can bring it back by discarding this change in Publish.',"sandbox.postEditor.deletePostConfirmBodyNeverPublished":`"{title}" will be removed from your draft. It was never published, so nothing changes on the live site, and once removed it can't be brought back.`,"sandbox.postEditor.deletePostConfirmTitle":"Delete this post?","sandbox.postEditor.deletePostFailed":"Delete failed","sandbox.postEditor.deletePostSuccess":'Deleted "{title}"',"sandbox.postEditor.deletingPost":"Deleting…","sandbox.postEditor.duplicateTitleWarning":"Another post already uses this title. Duplicate titles compete with each other in search.","sandbox.postEditor.excerptLabel":"Excerpt","sandbox.postEditor.extraPropsLabel":"Extra props","sandbox.postEditor.issuePlural":"issues","sandbox.postEditor.issueSingular":"issue","sandbox.postEditor.keyPlaceholder":"key","sandbox.postEditor.missingFieldPlural":"Missing required fields: {fields}","sandbox.postEditor.missingFieldSingular":"Missing required field: {fields}","sandbox.postEditor.noAuthorsYet":"No authors yet — create some in the authors collection.","sandbox.postEditor.noCategoriesYet":"No categories yet — create some in the categories collection.","sandbox.postEditor.noContentYet":"This post has no content yet. Use ⊕ to add your first block.","sandbox.postEditor.postTitlePlaceholder":"Post title","sandbox.postEditor.readTimeLabel":"Read time (minutes)","sandbox.postEditor.previewRequiresSlugAndCategory":"Set the post slug (and its category) plus the blog app's pageSlug to preview","sandbox.postEditor.previewTooltip":"Open the post preview in a new tab","sandbox.postEditor.scheduledDatetimeDescription":"When this post goes live. The site publishes it on its own once this moment passes.","sandbox.postEditor.scheduledDatetimeLabel":"Goes live at","sandbox.postEditor.removePropLabel":"Remove prop","sandbox.postEditor.seePreview":"See preview","sandbox.postEditor.selectAuthorsPlaceholder":"Select authors","sandbox.postEditor.selectCategoriesPlaceholder":"Select categories","sandbox.postEditor.seoCanonicalLabel":"Canonical URL","sandbox.postEditor.seoCanonicalPlaceholder":"https://example.com/blog/my-post","sandbox.postEditor.seoDescriptionLabel":"SEO description","sandbox.postEditor.seoImageLabel":"SEO image","sandbox.postEditor.seoNoIndexingLabel":"Hide from search engines (noindex)","sandbox.postEditor.seoSectionHint":"Overrides how this post appears in search engines. Empty fields fall back to the post's title, excerpt and cover image.","sandbox.postEditor.seoSectionLabel":"SEO","sandbox.postEditor.seoTitleLabel":"SEO title","sandbox.postEditor.settingsTab":"Settings","sandbox.postEditor.statusLabel":"Status","sandbox.postEditor.slugDeduped":"That slug was already taken — saved as “{slug}”.","sandbox.postEditor.slugLabel":"Slug","sandbox.postEditor.slugPlaceholder":"my-post","sandbox.postEditor.valuePlaceholder":"value","sandbox.postList.noMatches":"No posts match your search or filters.","sandbox.postToolbar.allPosts":"All posts","sandbox.postToolbar.archiveSelected":"Archive selected","sandbox.postToolbar.archiveSelectedPosts":"Archive selected posts","sandbox.postToolbar.authorLabel":"Author","sandbox.postToolbar.categoryLabel":"Category","sandbox.postToolbar.clearFilter":"Clear filter","sandbox.postToolbar.deselectAll":"Deselect all","sandbox.postToolbar.deselectAllPosts":"Deselect all posts","sandbox.postToolbar.exitSelection":"Exit selection","sandbox.postToolbar.filterBy":"Filter by","sandbox.postToolbar.filterLabel":"Filter","sandbox.postToolbar.itemsSelected":"{count} selected","sandbox.postToolbar.clearSearch":"Clear search","sandbox.postToolbar.searchAriaLabel":"Search posts","sandbox.postToolbar.searchPlaceholder":"Search posts","sandbox.postToolbar.selectAll":"Select all","sandbox.postToolbar.selectAllPosts":"Select all posts","sandbox.postToolbar.sortAZ":"A–Z","sandbox.postToolbar.sortBy":"Sort by","sandbox.postToolbar.sortNewest":"Newest","sandbox.postToolbar.sortNewestFirst":"Newest first","sandbox.postToolbar.sortOldest":"Oldest","sandbox.postToolbar.sortOldestFirst":"Oldest first","sandbox.postToolbar.sortTitleAZ":"Title A–Z","sandbox.postToolbar.sortTitleZA":"Title Z–A","sandbox.postToolbar.sortZA":"Z–A","sandbox.postToolbar.statusLabel":"Status","sandbox.preview.catchAllParamLabel":"path","sandbox.preview.choosePage":"Choose page","sandbox.preview.clickElementToAsk":"Click any element to ask the AI","sandbox.preview.collapseTerminal":"Collapse terminal","sandbox.preview.expandTerminal":"Expand terminal","sandbox.preview.resizeTerminal":"Resize terminal","sandbox.preview.createNewPage":"Create new page","sandbox.preview.devServerPreviewTitle":"Dev Server Preview","sandbox.preview.deviceDesktop":"Desktop","sandbox.preview.deviceMobile":"Mobile (375px)","sandbox.preview.deviceTablet":"Tablet (768px)","sandbox.preview.enterToGo":"Enter to go","sandbox.preview.failedToCreatePage":"Failed to create page","sandbox.preview.globalBadge":"Global","sandbox.preview.globalComponents":"Global components","sandbox.preview.globalLoaders":"Global loaders","sandbox.preview.loaderBadge":"Loader","sandbox.preview.loaderNoLongerExists":"This loader no longer exists.","sandbox.preview.noPagesFound":"No pages found in this site.","sandbox.preview.noSearchResults":"No results match your search.","sandbox.preview.siteRoutes":"Site routes","sandbox.preview.noServerRunning":"No server running","sandbox.preview.openInNewTab":"Open in new tab","sandbox.preview.pageAlreadyExists":'A page with path "{path}" already exists.',"sandbox.preview.pageCreated":'Page "{name}" created',"sandbox.preview.blockOnNoPage":"This block isn't used on any page, so there's nothing to preview.","sandbox.preview.previewMetadataNotReady":"Preview metadata not ready yet","sandbox.preview.pageSchemaNotReady":"The site is still loading. Try again in a moment.","sandbox.preview.searchPagesAndComponents":"Search pages and components...","sandbox.preview.startingPreview":"Starting your preview","sandbox.preview.startingPreviewHint":"Showing your published site. You can make changes now — they'll appear once the preview is ready.","sandbox.preview.templateNoLongerExists":"Selected template no longer exists.","sandbox.preview.valueForParam":"Value for {label}","sandbox.preview.blocksEditor":"Blocks editor","sandbox.preview.visualEditor":"Visual editor","sandbox.productBlocks.addProductIdButton":"Add product ID","sandbox.productBlocks.addProductsButton":"Add products","sandbox.productBlocks.addProductsDescription":"Search VTEX products, or pick a category or cluster","sandbox.productBlocks.browseProductsButton":"Browse products","sandbox.productBlocks.changeButton":"Change","sandbox.productBlocks.chooseProductButton":"Choose a product","sandbox.productBlocks.ctaLabelField":"CTA label","sandbox.productBlocks.ctaLabelPlaceholder":"View product","sandbox.productBlocks.dragToReorderLabel":"Drag to reorder","sandbox.productBlocks.headingH1":"H1","sandbox.productBlocks.headingH2":"H2","sandbox.productBlocks.headingH3":"H3","sandbox.productBlocks.headingNormal":"Normal","sandbox.productBlocks.idLabel":"ID {id}","sandbox.productBlocks.loadingEllipsis":"Loading…","sandbox.productBlocks.productCardLabel":"Product card","sandbox.productBlocks.productField":"Product","sandbox.productBlocks.productPlural":"products","sandbox.productBlocks.productSingular":"product","sandbox.productBlocks.productSlugField":"Product slug","sandbox.productBlocks.productSlugPlaceholder":"product-slug","sandbox.productBlocks.productWithId":"Product {id}","sandbox.productBlocks.removeProductButton":"Remove product","sandbox.productBlocks.removeProductIdButton":"Remove product ID","sandbox.productBlocks.removeProductLabel":"Remove product","sandbox.productBlocks.shelfTitlePlaceholder":"Shelf title","sandbox.productBlocks.skuIdPlaceholder":"151331","sandbox.productBlocks.startDevServerDescription":"Start the dev server to browse products, or add SKU ids below.","sandbox.productBlocks.vtexProductIdPlaceholder":"VTEX product ID (e.g. 151331)","sandbox.productBlocks.vtexProductIds":"VTEX product IDs","sandbox.productPickerDialog.addProducts":"Add products","sandbox.productPickerDialog.categoryLabel":"Category: ","sandbox.productPickerDialog.change":" — change","sandbox.productPickerDialog.chooseProduct":"Choose a product","sandbox.productPickerDialog.clusterIdPlaceholder":"Collection / cluster ID (e.g. 2140)","sandbox.productPickerDialog.couldNotLoad":"Couldn't load — is the dev server running?","sandbox.productPickerDialog.done":"Done","sandbox.productPickerDialog.enterClusterPrompt":"Enter a collection or cluster ID.","sandbox.productPickerDialog.filterCategoriesPlaceholder":"Filter categories…","sandbox.productPickerDialog.loadingCategories":"Loading categories…","sandbox.productPickerDialog.loadingProducts":"Loading products…","sandbox.productPickerDialog.modeCategory":"Category","sandbox.productPickerDialog.modeClusterId":"Cluster ID","sandbox.productPickerDialog.modeSearch":"Search","sandbox.productPickerDialog.noCategories":"No categories.","sandbox.productPickerDialog.noProductsFound":"No products found.","sandbox.productPickerDialog.noneSelected":"None selected","sandbox.productPickerDialog.pickCategoryPrompt":"Pick a category to see its products.","sandbox.productPickerDialog.searchProductsPlaceholder":"Search products by name or ID…","sandbox.productPickerDialog.selectedCount":"{count} selected","sandbox.recordEditor.fieldAvatar":"Avatar","sandbox.recordEditor.fieldCompany":"Company","sandbox.recordEditor.fieldEmail":"Email","sandbox.recordEditor.fieldJobTitle":"Job title","sandbox.recordEditor.fieldName":"Name","sandbox.recordEditor.fieldType":"Type","sandbox.recordEditor.fieldUrl":"Website","sandbox.recordEditor.optionOrganization":"Organization","sandbox.recordEditor.optionPerson":"Person","sandbox.recordEditor.placeholderEmail":"author@example.com","sandbox.recordEditor.placeholderUrl":"https://example.com","sandbox.recordEditor.titleAuthor":"Author","sandbox.redirectFormDialog.title":"Create redirect","sandbox.redirectFormDialog.submit":"Create","sandbox.redirectFormDialog.pending":"Creating…","sandbox.redirectFormDialog.cancel":"Cancel","sandbox.redirectFormDialog.errorRequired":"From and To are required.","sandbox.redirectEditor.discardQueryParameters":"Discard query parameters","sandbox.redirectEditor.fromDescription":"The source path to match. Supports URLPattern syntax (e.g. /product/:slug).","sandbox.redirectEditor.fromLabel":"From","sandbox.redirectEditor.fromPlaceholder":"/old-path","sandbox.redirectEditor.statusDescription":"An explicit status code wins over the type.","sandbox.redirectEditor.statusFromType":"Follow the type ({status})","sandbox.redirectEditor.statusLabel":"Status code","sandbox.redirectEditor.title":"Redirect","sandbox.redirectEditor.toDescription":"The destination — a relative path or an absolute URL.","sandbox.redirectEditor.toLabel":"To","sandbox.redirectEditor.toPlaceholder":"/new-path","sandbox.redirectEditor.typeLabel":"Type","sandbox.redirectEditor.typePermanent":"Permanent ({status})","sandbox.redirectEditor.typePlaceholder":"Type","sandbox.redirectEditor.typeTemporary":"Temporary ({status})","sandbox.cmsSettings.title":"CMS","sandbox.cmsSettings.preview.title":"Preview","sandbox.cmsSettings.preview.description":"See your changes before they go live.","sandbox.cmsSettings.fastPreview.label":"Fast Preview","sandbox.cmsSettings.fastPreview.description":"New chats start as CMS sessions, previewed on your preview server instead of a sandbox. Existing chats keep the mode they were created with.","sandbox.cmsSettings.fastPreview.needsPreviewServerUrl":"Set a preview server above to enable Fast Preview.","sandbox.cmsSettings.blocksV8.needsPreviewServerUrl":"Add your site's address above to preview drafts. Until then, new chats start a coding session.","sandbox.cmsSettings.fastPreviewInPlace.label":"Instant preview (experimental)","sandbox.cmsSettings.fastPreviewInPlace.description":"Refresh edits in place, without waiting for a save — much faster, but only works on websites that have /live/previews route.","sandbox.cmsSettings.contentEditing.on":"Enabled","sandbox.cmsSettings.contentEditing.onDescription":"The Site Editor offers Content and opens Blocks beside Preview on desktop.","sandbox.cmsUnavailable.noPreviewServer":"It's a CMS session, but this project has no preview server configured.","sandbox.cmsUnavailable.noRepo":"It's a CMS session, but this project has no GitHub repository to save to.","sandbox.cmsUnavailable.startCodingSession":"Continue this branch in a coding session","sandbox.previewServerUrlField.description":"Your live server's address, used to preview content. Required for Fast Preview.","sandbox.previewServerUrlField.descriptionBlocksV8":"Your live site's address. Studio shows your drafts on it before you publish. A new address shows drafts after your next publish.","sandbox.previewServerUrlField.label":"Preview server","sandbox.previewServerUrlField.placeholder":"https://example.com","sandbox.fieldDescriptionTooltipsField.label":"Compact descriptions","sandbox.fieldDescriptionTooltipsField.description":"In the blocks form, show a field's description as a hover tooltip on its title instead of text below the title.","sandbox.runnableBlockEditor.availableModeDescription":"{typeLabel} — edits stay local until you save this as a global {singular}. Run to invoke it against the live preview.","sandbox.runnableBlockEditor.closeJsonEditor":"Close JSON editor","sandbox.runnableBlockEditor.closeResult":"Close result","sandbox.runnableBlockEditor.collapse":"Collapse","sandbox.runnableBlockEditor.collapseResult":"Collapse result","sandbox.runnableBlockEditor.editAsJson":"Edit as JSON","sandbox.runnableBlockEditor.expand":"Expand","sandbox.runnableBlockEditor.expandResult":"Expand result","sandbox.runnableBlockEditor.failedToRun":"Failed to run {singular}","sandbox.runnableBlockEditor.freeformPropsEmptyState":"This {singular} doesn't publish a props schema. Edit its props as JSON, then run it.","sandbox.runnableBlockEditor.inferredSchemaNotice":"This {singular} doesn't publish a props schema — fields below are inferred from its saved values. Use the JSON editor to add props not shown here.","sandbox.runnableBlockEditor.invalidJsonError":"Invalid JSON — changes aren't saved until it parses.","sandbox.runnableBlockEditor.noInputEmptyState":"This {singular} takes no configurable input. Run it to see its output.","sandbox.runnableBlockEditor.openInNewTabTooltip":"Open in new tab (re-runs the {singular})","sandbox.runnableBlockEditor.openResultInNewTabAriaLabel":"Open result in new tab","sandbox.runnableBlockEditor.pressRunToInvoke":"Press Run to invoke this {singular}.","sandbox.runnableBlockEditor.resultPanelTitle":"Result","sandbox.runnableBlockEditor.run":"Run","sandbox.runnableBlockEditor.runAriaLabel":"Run {singular}","sandbox.runnableBlockEditor.running":"Running {singular}…","sandbox.runnableBlockEditor.saveAsGlobal":"Save as global {singular}","sandbox.runnableBlockEditor.saveAsGlobalAriaLabel":"Save as global {singular}","sandbox.runnableBlockEditor.savedModeDescription":"Global {singular} — changes save automatically. Run to invoke it against the live preview.","sandbox.runnableBlocksBrowser.emptyFolder":"This folder is empty.","sandbox.runnableBlocksBrowser.emptyFolderNoManifest":"Start the preview dev server so its manifest loads.","sandbox.runnableBlocksBrowser.emptyFolderTitle":"No {kind} here","sandbox.runnableBlocksBrowser.folderBreadcrumb":"Folder breadcrumb","sandbox.runnableBlocksBrowser.hideSaved":"Hide saved","sandbox.runnableBlocksBrowser.noSearchResults":'No {kind} match "{query}"',"sandbox.runnableBlocksBrowser.noSearchResultsDescription":"Search covers every folder — try a different term.","sandbox.runnableBlocksBrowser.savedBlockToast":'Saved {singular} "{blockId}"',"sandbox.runnableBlocksBrowser.savedCountLabel":"{count} saved","sandbox.runnableBlocksBrowser.searchAriaLabel":"Search all {kind}","sandbox.runnableBlocksBrowser.searchPlaceholder":"Search all {kind}…","sandbox.runnableBlocksBrowser.seeSaved":"See saved","sandbox.runtimeFields.auto":"Auto","sandbox.runtimeFields.autoDetect":"Auto-detect","sandbox.runtimeFields.devServerPort":"Dev server port","sandbox.runtimeFields.devServerPortDescription":"Leave blank to let the runner pick.","sandbox.runtimeFields.packageManager":"Package manager","sandbox.runtimeFields.packagePath":"Package path","sandbox.runtimeFields.packagePathDescription":"Path (relative to repo root) to the directory containing package.json. Leave blank for the repo root.","sandbox.runtimeApps.title":"Other apps","sandbox.runtimeApps.description":"Other apps of this repository to preview beside the main one, up to {max}. Each runs its own dev server.","sandbox.runtimeApps.add":"Add app","sandbox.runtimeApps.remove":"Remove {path}","sandbox.runtimeApps.duplicate":"This app is already in the list.","sandbox.appTabs.label":"Apps","sandbox.appTabs.root":"root","sandbox.appTabs.main":"Main","sandbox.appTabs.remove":"Remove {app}","sandbox.appTabs.add":"Add another app from this repository","sandbox.appTabs.pathLabel":"Path of the app in the repository, like apps/checkout","sandbox.appTabs.mainHint":"The chat and the editor work on this app.","sandbox.appTabs.extraHint":"Preview only. The chat keeps working on {app}.","sandbox.appPane.previewOnly":"Preview only. The chat and the editor keep working on {app}.","sandbox.appTabs.saveError":"Couldn't save the project's apps.","sandbox.appTabs.split":"View side by side","sandbox.appTabs.single":"View one app","sandbox.appPane.path":"Path in {app}","sandbox.appPane.reload":"Reload {app}","sandbox.appPane.openInNewTab":"Open {app} in a new tab","sandbox.appPane.close":"Close {app}","sandbox.appPane.failed":"The sandbox couldn't start. Retry from {app}.","sandbox.appPane.waiting":"Starting the sandbox…","sandbox.appPane.noUrl":"This app has no preview address.","sandbox.appPane.notStarted":"{app} isn't running yet: the sandbox started before it was added.","sandbox.appPane.start":"Start {app}","sandbox.savedSectionEditor.closeJsonEditor":"Close JSON editor","sandbox.saveStatus.failed":"Couldn't save","sandbox.saveStatus.saved":"Saved","sandbox.saveStatus.saving":"Saving…","sandbox.savedSectionEditor.editAsJson":"Edit as JSON","sandbox.savedSectionEditor.globalSectionDescription":"Global section — changes save automatically and apply everywhere it's used.","sandbox.savedSectionEditor.invalidJsonError":"Invalid JSON — changes aren't saved until it parses.","sandbox.savedSectionEditor.noEditableFields":"No editable fields for this section.","sandbox.schemaless.agentPrompt":"This site's content is edited in deco Studio, but Studio hasn't received the site's schema yet, so its content forms show raw fields. Please set that up in this repository:\n\n1. Make sure @decocms/blocks is 8.11.0 or newer (upgrade it if not), then run `npx deco skills install` to add the deco framework skills to this repository.\n2. Load the deco-site-workflow skill and follow its references/schema.md: generate the schema with `npx deco schema` and commit .deco/schema.gen.json; make DECO_SITE resolve to the Studio site {site}; send the schema to Studio with `npx deco schema push`; and wire `npx deco schema push` into the production deploy (after the deploy succeeds, with a Studio API key in the DECO_TOKEN secret) so every deploy sends it.\n3. Run `npx deco check` and report back: what you changed, and what each command printed.","sandbox.schemaless.agentPromptSiteUnknown":"this project uses (ask me for its name if you can't find it)","sandbox.schemaless.back":"All blocks","sandbox.schemaless.bannerBody":"This site hasn't sent Studio its schema yet (the description of each form's fields), so every block opens with plain fields built from its saved values. Saving still keeps everything else as it is. Ask the coding agent working on your site to set it up: copy the prompt and paste it into the agent. It takes one deploy, and the forms here update on their own.","sandbox.schemaless.bannerTitle":"Content forms are showing raw fields","sandbox.schemaless.copyPrompt":"Copy prompt for your agent","sandbox.schemaless.copyPromptFailed":"Couldn't copy the prompt. Check that this page may use the clipboard, then try again.","sandbox.schemaless.empty":"Empty","sandbox.schemaless.installSkill":"Install skill","sandbox.schemaless.item":"Item {n}","sandbox.schemaless.itemCount":"{count} items","sandbox.schemaless.listLabel":"Saved blocks","sandbox.schemaless.noBlocks":"No saved blocks yet.","sandbox.schemaless.noMatches":"No blocks match your search.","sandbox.schemaless.noType":"Without a type","sandbox.schemaless.notANumber":"Enter a number. The saved value stays until you do.","sandbox.schemaless.notSet":"Not set","sandbox.schemaless.pickBlock":"Pick a block to see its content.","sandbox.schemaless.promptCopied":"Copied","sandbox.schemaless.promptCopiedAnnouncement":"Prompt copied to the clipboard","sandbox.schemaless.searchPlaceholder":"Search blocks","sandbox.schemaless.usesSkill":"Uses the deco-site-workflow skill","sandbox.sectionRenameDialog.cancel":"Cancel","sandbox.sectionRenameDialog.description":"Updates the display name. The internal key stays the same so pages referencing this section keep working.","sandbox.sectionRenameDialog.keyLabel":"Key","sandbox.sectionRenameDialog.nameLabel":"Name","sandbox.sectionRenameDialog.save":"Save","sandbox.sectionRenameDialog.saving":"Saving…","sandbox.sectionRenameDialog.title":"Rename section","sandbox.sectionsRightPane.selectSectionDescription":"Pick a saved section to edit it, or an available one to customize and save as global.","sandbox.sectionsRightPane.selectSectionTitle":"Select a section to edit","sandbox.stateCard.erroredHeadline":"Couldn't start the sandbox","sandbox.stateCard.githubConnectionMissingMessage":"The GitHub connection this chat used was removed. Link the repository again to start the sandbox.","sandbox.stateCard.linkRepoAgain":"Link repository","sandbox.stateCard.githubNotAuthenticatedMessage":"This project's GitHub repo isn't authenticated. Reconnect it in Connections, then retry.","sandbox.stateCard.reconnectGithub":"Reconnect GitHub","sandbox.stateCard.resume":"Resume","sandbox.stateCard.suspendedHeadline":"Sandbox is paused","sandbox.stateCard.resumeToContinue":"Resume to continue.","sandbox.stateCard.retry":"Retry","sandbox.tableBlock.addColumn":"Add column","sandbox.tableBlock.addRow":"Add row","sandbox.tableBlock.headerPlaceholder":"Header {n}","sandbox.tableBlock.noRowsYet":"No rows yet — add one below.","sandbox.tableBlock.removeColumn":"Remove column {n}","sandbox.tableBlock.removeRow":"Remove row {n}","sandbox.toolbar.closeTab":"Close {tab}","sandbox.toolbar.moreActions":"More actions","sandbox.toolbar.noScriptsFound":"No scripts found","sandbox.toolbar.restart":"Restart","sandbox.toolbar.resume":"Resume","sandbox.toolbar.retry":"Retry","sandbox.toolbar.run":"Run","sandbox.toolbar.runAScript":"run a script","sandbox.toolbar.runScript":"Run script","sandbox.toolbar.setupTab":"sandbox","sandbox.toolbar.start":"Start","sandbox.toolbar.startProcess":"Start process","sandbox.toolbar.stop":"Stop","sandbox.toolbar.stopProcess":"Stop process","sandbox.toolbar.stopSandboxTooltip":"Stop sandbox","sandbox.toolbar.stopping":"Stopping…","sandbox.variantCalendar.always":"Always","sandbox.variantCalendar.calendarMode":"Calendar","sandbox.variantCalendar.dateMatcherInfo":"Variants gated by a date matcher appear here.","sandbox.variantCalendar.hiddenOngoingVariants":'{count} ongoing variant(s) hidden — enable "Show ongoing" to view.',"sandbox.variantCalendar.next":"Next","sandbox.variantCalendar.noDatedVariants":"No dated variants in view.","sandbox.variantCalendar.noScheduledVariants":"No scheduled variants.","sandbox.variantCalendar.ongoing":"Ongoing","sandbox.variantCalendar.previous":"Previous","sandbox.variantCalendar.showOngoing":"Show ongoing ({count})","sandbox.variantCalendar.timelineMode":"Timeline","sandbox.variantCalendar.today":"Today","sandbox.variantCalendar.todayLabel":"Today","sandbox.variantCalendar.variantBlock":"Variant / Block","sandbox.visualEditorPrompt.inputPlaceholder":"Ask the AI...","sandbox.visualEditorPrompt.sendButton":"Send","sandbox.calendarView.noDraft.title":"Pick a draft to plan your campaigns","sandbox.calendarView.noDraft.desc":"Your campaigns are saved in a draft, like any other edit. Pick a draft in the bar above, or open the site editor to start one.","sandbox.calendarView.loadFailed":"Couldn't load your campaigns.","sandbox.calendarView.loadFailedHint":"Nothing was changed. Try again in a moment.","sandbox.dateCampaigns.intro":"Every date on your site is a campaign: a variant with the rule “Campaign” shows while its campaign runs. Changes are saved in your draft and go live when you publish.","sandbox.dateCampaigns.new":"New campaign","sandbox.dateCampaigns.empty.title":"No campaigns yet","sandbox.dateCampaigns.empty.desc":"Create one here, or from a variant in the site editor: choose the rule “Campaign” and type a name.","sandbox.dateCampaigns.listMode":"List","sandbox.dateCampaigns.timelineMode":"Timeline","sandbox.dateCampaigns.status.running":"Running","sandbox.dateCampaigns.status.upcoming":"Upcoming","sandbox.dateCampaigns.status.ended":"Ended","sandbox.dateCampaigns.status.always":"Always on","sandbox.dateCampaigns.status.unreadable":"Dates can't be read","sandbox.dateCampaigns.state.new":"Not published yet","sandbox.dateCampaigns.state.changed":"Changed in your draft","sandbox.dateCampaigns.removedTitle":"Removed in your draft","sandbox.dateCampaigns.removedHint":"These campaigns stop when you publish. To keep one, create it again with the same name.","sandbox.dateCampaigns.unreadableHint":"One of its dates can't be read, so its variants don't show. Pick new dates and save.","sandbox.dateCampaigns.publishedWindow":"Published: {window}","sandbox.dateCampaigns.saveDates":"Save dates","sandbox.dateCampaigns.delete":"Delete campaign","sandbox.dateCampaigns.deleted":"Campaign “{name}” deleted from your draft","sandbox.dateCampaigns.deletedHint":"It leaves the site when you publish. Undo brings it back.","sandbox.dateCampaigns.allCampaigns":"All campaigns","sandbox.dateCampaigns.today":"Today","sandbox.dateCampaigns.previous":"Earlier","sandbox.dateCampaigns.next":"Later","sandbox.dateCampaigns.nothingInRange":"No campaign runs in these months.","sandbox.dateCampaigns.missing.title":"Your site needs an update for campaigns","sandbox.dateCampaigns.missing.desc":"Ask your developer to update the site to the latest version of Blocks and publish it. Your campaigns will show up here.","sandbox.dateCampaigns.replaced.title":"Your site handles campaigns in its own code","sandbox.dateCampaigns.replaced.desc":"Its developers defined their own campaigns, so they can't be changed here. Ask them how to change one.","sandbox.dateCampaigns.conflict.title":"Your site already has a block named “campaigns”","sandbox.dateCampaigns.conflict.desc":"It isn't a list of campaigns, so campaigns can't be added yet. Rename that block, then come back here.","sandbox.previewAs.label":"Preview as","sandbox.previewAs.intro":"Only this preview changes. Your visitors keep seeing the site as it is.","sandbox.previewAs.unavailable":"Make a change or publish your site first; then the preview can show another moment or force a test.","sandbox.previewAs.momentLabel":"Preview as of","sandbox.previewAs.momentHint":"Campaigns show as they will at this moment. Times are in your computer's time zone.","sandbox.previewAs.now":"Now","sandbox.previewAs.testsLabel":"A/B tests","sandbox.previewAs.testsHint":"Not set: you see the side your own visit got.","sandbox.previewAs.noTests":"No A/B tests yet.","sandbox.previewAs.testsLoadFailed":"Couldn't load your tests.","sandbox.previewAs.tryAgain":"Try again","sandbox.previewAs.off":"Off","sandbox.previewAs.on":"On","sandbox.previewAs.reset":"Show as it is now"},mte={"settings.subscriptionUsage.refresh":"Refresh","settings.subscriptionUsage.codeReview":"Code review","settings.subscriptionUsage.primary":"Primary limit","settings.subscriptionUsage.secondary":"Secondary limit","settings.subscriptionUsage.resets":"Resets {date}","settings.subscriptionUsage.limitReached":"Limit reached","settings.subscriptionUsage.viewUsage":"View usage","settings.subscriptionUsage.openProvider":"View on provider","settings.voice.title":"Voice mode","settings.voice.description":"Let members talk to agents by voice. Needs ElevenLabs set up on this deployment.","settings.title":"Profile & Preferences","settings.nav.organization":"Organization","settings.nav.build":"Build","settings.nav.manage":"Manage","settings.nav.general":"General","settings.nav.connect":"Connect","settings.nav.aiProviders":"AI Providers","settings.nav.secrets":"Secrets","settings.nav.billing":"Billing & AI","settings.nav.buckets":"Buckets","settings.nav.syncedRepos":"Synced repos","settings.nav.repositories":"Repositories","settings.nav.storage":"Storage","settings.nav.advanced":"Advanced","settings.subnav.ariaLabel":"Settings sections","settings.subnav.infrastructure":"Infrastructure","settings.nav.tasks":"Board","settings.jira.sectionTitle":"Jira","settings.jira.connectTitle":"Connect Jira","settings.jira.connectDescription":"Use a Jira Cloud site and an API token, ideally from a service account with access to 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 stay, but stop updating.","settings.jira.cancel":"Cancel","settings.jira.boardLabel":"Jira board","settings.jira.boardDescription":"Studio acts when a card enters one of this board's columns.","settings.jira.boardPlaceholder":"Select a board","settings.jira.boardSearchPlaceholder":"Search boards…","settings.jira.noBoardsMatch":"No board matches that search","settings.jira.loadingBoards":"Loading boards…","settings.jira.enabledLabel":"Integration enabled","settings.jira.enabledDescription":"While off, cards moving on the board are ignored.","settings.jira.enableRequirements":"Pick a board before enabling the integration","settings.jira.saveFailed":"Could not save the Jira settings","settings.jira.createTokenLink":"Create an API token","settings.jira.webhookTitle":"Instant updates (webhook)","settings.jira.webhookDescription":"Optional. Without it, an issue entering an automated status is picked up on the next 5-minute check; with it, the run starts once the card has stayed put for 20 seconds.","settings.jira.webhookCopy":"Copy","settings.jira.webhookCopied":"Webhook URL copied","settings.jira.webhookStep1":"In Jira, open Settings (gear icon) → System → Webhooks. This requires a Jira admin.","settings.jira.webhookStep2":"Click “Create a webhook” and paste the URL above.","settings.jira.webhookStep3":"Under Events, check Issue: created and Issue: updated.","settings.jira.webhookStep4":"Optionally scope it with a JQL filter, e.g. project = <your project key>.","settings.jira.webhookStep5":"Save. An issue entering an automated status now starts its run once it has stayed there for 20 seconds.","settings.jira.automationsLabel":"Run the agent when an issue enters…","settings.jira.automationsDescription":"The automations that run when an issue enters one of these statuses and stays there for 20 seconds. Open one to change its prompt, or give any automation a “When a Jira issue enters a status” starter. A card dragged through a status, or into the wrong one and straight back, starts nothing. An issue that links an open pull request has it continued. The agent reads the issue and updates it in Jira; nothing is copied to the board.","settings.jira.toggleAutomation":"Turn {name} on or off","settings.jira.addAutomation":"Add automation","settings.jira.fromAny":"From any column","settings.jira.fromEarlier":"From an earlier column","settings.jira.fromLater":"From a later column (sent back)","settings.jira.fromStatuses":"From {statuses}","settings.jira.originLabel":"When the card comes from","settings.jira.originStatusesPlaceholder":"Pick statuses","settings.jira.originHelp":"A move starts one rule: the one naming where the card came from, else the one for its direction on the board, else the one for any column. Where it came from is the status it last stayed in, not one it was dragged through.","settings.jira.createRule":"Create automation","settings.jira.cancelRule":"Cancel","settings.jira.noColumnsYet":"No columns on this board yet","settings.jira.columnsFailed":"Could not load this board's columns","settings.jira.testRunLabel":"Run it by hand","settings.jira.testRunDescription":"Run an automation on one issue or a batch now, without enabling the integration, to see what its prompt does.","settings.jira.issueKeysPlaceholder":"ABC-123 or a link, one per line or comma-separated","settings.jira.issueKeysCount":"{count} issue(s)","settings.jira.issueKeysUnreadable":"could not read: {items}","settings.jira.testRunIssueAriaLabel":"Jira issue key or link","settings.jira.testRun":"Run agent {count}","settings.jira.testRunRunning":"Starting…","settings.jira.testRunStarted":"Started on","settings.jira.testRunFailed":"Could not start the run","settings.jira.testRunHelp":"This is a real run: the agent reads the actual issue, comments on it, and may move it. Running it again stops whatever run is still working that issue, and an issue that links an open pull request has it continued.","settings.jira.testRunAutomation":"Automation to run","settings.jira.testRunNoAutomations":"Add an automation above first: running by hand fires one of them.","settings.jira.together":"One run for all of them, so the agent works the issues as a batch","settings.jira.togetherStarted":"Started one run on","settings.jira.testRunWatch":"Watch runs in Monitor","settings.syncedRepos.addRepo":"Add repo","settings.syncedRepos.cancel":"Cancel","settings.syncedRepos.create":"Create","settings.syncedRepos.creating":"Creating…","settings.syncedRepos.created":'Sync created — syncing into "{volume}" in the background',"settings.syncedRepos.emptyTitle":"No synced repos yet","settings.syncedRepos.emptyDescription":"Pick a repository and it will appear in the library as a read-only folder, kept in sync automatically.","settings.syncedRepos.failed":"Something went wrong","settings.syncedRepos.nameDialogDescription":"{repo} will be kept in sync into this read-only library folder.","settings.syncedRepos.nameDialogTitle":"Name the synced folder","settings.syncedRepos.namePlaceholder":"folder-name","settings.syncedRepos.pickerTitle":"Sync a repo into the library","settings.syncedRepos.remove":"Stop syncing","settings.syncedRepos.removeDescription":"The already-synced files stay in the library; only the sync stops. You can delete the folder afterwards if you don't need it.","settings.syncedRepos.removeTitle":'Stop syncing "{volume}"?',"settings.syncedRepos.removed":"Sync removed","settings.syncedRepos.rowSubtitle":"Library folder: {volume}","settings.repositories.accountsTitle":"Connected accounts","settings.repositories.accountsEmptyTitle":"No accounts connected","settings.repositories.accountsEmptyDescription":"Connect a GitHub, GitLab or Bitbucket account to browse your repositories and link private ones.","settings.repositories.noProvidersTitle":"No git provider configured","settings.repositories.noProvidersDescription":"Signing in with GitHub, GitLab or Bitbucket needs provider credentials an administrator configures for this deployment. You can still connect a GitLab or Bitbucket account with an access token.","settings.repositories.githubUnavailable":"Ask an administrator to enable GitHub.","settings.repositories.connectGithubCli":"Connect with GitHub CLI","settings.repositories.githubCliHint":"Use your local gh login to browse and import repositories.","settings.repositories.authKindGithubCli":"GitHub CLI","settings.repositories.addGithubAccount":"Add GitHub account or organization","settings.repositories.githubSelectTitle":"Select repositories","settings.repositories.githubSelectedShareHint":"Members with repository permissions in {organization} can use the repositories you authorize here.","settings.repositories.githubPreselectedHint":"Previously authorized or linked repositories are already selected when you have permission to authorize them. Review the selection before saving.","settings.repositories.githubReplaceHint":"Saving replaces this account’s existing workspace access with your selection. Removed repositories stop receiving new credentials. Previously issued credentials may work until they expire.","settings.repositories.githubFilterRepos":"Search repositories","settings.repositories.githubNoRepos":"No repositories available to authorize.","settings.repositories.githubSearchNoMatches":"No repositories match your search.","settings.repositories.githubAccessChanged":"Someone changed this account’s access. Go back and review the repositories again before saving.","settings.repositories.githubMoreRepos":"Load more repositories","settings.repositories.githubBack":"Back to accounts","settings.repositories.githubSaveOneRepo":"Authorize 1 repository","settings.repositories.githubSaveRepos":"Authorize {count} repositories","settings.repositories.githubEditWorkspaceAccess":"Change workspace access","settings.repositories.githubShareHint":"Choose your personal GitHub account, or an organization where you administer repositories, to share with {organization}. Members with repository permissions in Studio can use this connection.","settings.repositories.githubInstallHint":"Nothing here is yours to share yet. Install the GitHub App on your personal account or on repositories you administer, or ask an account owner to connect it to Studio. A repository you only collaborate on is not yours to share.","settings.repositories.installGithubAccount":"Install on another account","settings.repositories.checkGithubAccess":"Check access","settings.repositories.switchGithubUser":"Use another GitHub login","settings.repositories.githubReturnHint":"GitHub opens in a new tab. After saving access, return here to choose the account. If it does not appear, use Check access.","settings.repositories.githubRefreshFailed":"Could not check GitHub access. Try again without leaving this dialog.","settings.repositories.githubConnected":"GitHub account connected","settings.repositories.manageRepositoryAccess":"Manage repository access","settings.repositories.connectedBy":"Connected by {name}","settings.repositories.connectedByUnknown":"Connected by an unavailable user","settings.repositories.dismiss":"Dismiss","settings.repositories.tryAgain":"Try again","settings.repositories.oauthNoInstallations":"GitHub authorization succeeded, but no app installations are available to this user. Add a GitHub account or organization to finish setup.","settings.repositories.oauthDenied":"Authorization was cancelled. Connect again when you are ready.","settings.repositories.oauthExpired":"This connection attempt expired or belongs to another session. Start again from this page.","settings.repositories.oauthNotConfigured":"This git provider is not configured. Ask an administrator to enable it.","settings.repositories.oauthFailed":"Could not connect your git account. Try again. If it keeps failing, contact an administrator.","settings.repositories.authKindGithubApp":"GitHub App","settings.repositories.authKindOauth":"OAuth","settings.repositories.authKindToken":"Personal token","settings.repositories.accessUnavailable":"Access unavailable","settings.repositories.accessUnavailableHint":"Studio cannot access this account. Authorize it again to continue using its repositories.","settings.repositories.githubReconnect":"Reconnect GitHub","settings.repositories.authorizeWorkspaceAccess":"Authorize workspace access","settings.repositories.selectRepositories":"Select repositories","settings.repositories.authorizationRequired":"Workspace authorization required","settings.repositories.authorizationRequiredHint":"Studio has a GitHub App installation recorded for {login}, but this workspace has no authorization to use it. Sign in to GitHub and choose the repositories to share with this workspace.","settings.repositories.accessRevoked":"Access revoked","settings.repositories.accessRevokedHint":"Access to this account was revoked. Authorize it again to restore repository access.","settings.repositories.noAuthorizedRepositories":"No repositories authorized","settings.repositories.noAuthorizedRepositoriesHint":"This workspace has no repositories authorized through {login}. Select which repositories it can use.","settings.repositories.providerUnavailable":"Provider unavailable","settings.repositories.providerUnavailableHint":"This deployment is not configured to access this account. Ask an administrator to enable the provider.","settings.repositories.installationMissing":"GitHub connection incomplete","settings.repositories.installationMissingHint":"Studio has no GitHub App installation linked to this account. Connect GitHub and select the installation for {login}.","settings.repositories.githubReconnectUnavailable":"GitHub reconnection is unavailable on this deployment. Ask an administrator to configure the GitHub App, then authorize workspace access.","settings.repositories.disconnect":"Disconnect","settings.repositories.disconnectTitle":'Disconnect "{login}"?',"settings.repositories.disconnectDescription":"Repositories linked through this account stay listed, but become anonymous public clones — private ones will stop working.","settings.repositories.disconnected":"Account disconnected","settings.repositories.tokenDialogTitle":"Connect GitLab with a token","settings.repositories.tokenDialogDescription":"Use a personal, project or group access token with the api scope — agents push branches and open merge requests with it. Stored encrypted and never shown again.","settings.repositories.tokenDialogTitleBitbucket":"Connect Bitbucket with a token","settings.repositories.tokenDialogDescriptionBitbucket":"Use a workspace, project or repository access token that can write repositories and pull requests — agents push branches and open pull requests with it. Bitbucket Cloud only. Stored encrypted and never shown again.","settings.repositories.addAccount":"Add account","settings.repositories.addAccountTitle":"Connect a git account","settings.repositories.addAccountDescription":"Choose where your repositories live.","settings.repositories.chooseMethodDescription":"Pick how Studio should connect to this provider.","settings.repositories.back":"Back","settings.repositories.providerGithub":"GitHub","settings.repositories.providerGitlab":"GitLab","settings.repositories.providerBitbucket":"Bitbucket","settings.repositories.providerGithubHint":"Install the Studio app and pick the repositories to share.","settings.repositories.providerTokenOrOauthHint":"Connect with an access token, or authorize with OAuth.","settings.repositories.providerTokenOnlyHint":"Connect with an access token.","settings.repositories.methodToken":"Use an access token","settings.repositories.methodTokenHint":"The provider limits the token to the repositories you scope it to.","settings.repositories.methodOauth":"Authorize with OAuth","settings.repositories.methodOauthHint":"Sign in and authorize Studio in your browser.","settings.repositories.methodOauthScopeNote":"Reaches every repository this account can see; it cannot be narrowed to a subset.","settings.repositories.methodApp":"Install the GitHub app","settings.repositories.methodAppHint":"Choose exactly which repositories Studio may use.","settings.repositories.tokenStepsTitle":"Creating the token","settings.repositories.openProvider":"Open provider","settings.repositories.tokenWorkspaceLabel":"Workspace","settings.repositories.tokenWorkspacePlaceholder":"your-workspace","settings.repositories.tokenWorkspaceHint":"The slug in your Bitbucket URL. An access token cannot name its own workspace, so Studio verifies it against this one.","settings.repositories.tokenProjectLabel":"Project path (optional)","settings.repositories.tokenProjectPlaceholder":"group/project","settings.repositories.tokenProjectHint":"Fill this in to jump straight to that project’s token page.","settings.repositories.bitbucketStep1":"Open the repository you want Studio to reach, or the project that groups them.","settings.repositories.bitbucketStep2":"Settings → Security → Access tokens → Create token.","settings.repositories.bitbucketStep3":"Grant Repositories read and write, and Pull requests read and write.","settings.repositories.bitbucketStep4":"Paste the token below. Bitbucket keeps it to what you scoped it to.","settings.repositories.gitlabStep1":"Open the project or group you want Studio to reach.","settings.repositories.gitlabStep2":"Settings → Access tokens → Add new token.","settings.repositories.gitlabStep3":"Role: Developer or above. Scope: api.","settings.repositories.gitlabStep4":"Paste the token below. A project token only reaches that project.","settings.repositories.tokenHostLabel":"Host","settings.repositories.tokenHostPlaceholder":"gitlab.com","settings.repositories.tokenLabel":"Access token","settings.repositories.tokenPlaceholder":"glpat-…","settings.repositories.tokenPlaceholderBitbucket":"ATCTT…","settings.repositories.connect":"Connect","settings.repositories.connecting":"Connecting…","settings.repositories.connected":'Connected as "{login}"',"settings.repositories.reposTitle":"Repositories","settings.repositories.reposEmptyTitle":"No repositories yet","settings.repositories.reposEmptyDescription":"Choose a repository from a connected GitHub, GitLab or Bitbucket account.","settings.repositories.addRepository":"Add repository","settings.repositories.moreActions":"More actions","settings.repositories.repoAccountNeedsAttention":"Connected through {login}, which needs attention in Connected accounts.","settings.repositories.unlink":"Unlink","settings.repositories.unlinkTitle":'Unlink "{path}"?',"settings.repositories.unlinkDescription":"The repository is removed from this organization. Nothing is deleted on the provider.","settings.repositories.unlinked":"Repository unlinked","settings.repositories.openInProvider":"Open repository","settings.repositories.visibilityPublic":"Public","settings.repositories.visibilityPrivate":"Private","settings.repositories.visibilityInternal":"Internal","settings.repositories.anonymousClone":"Anonymous clone","settings.repositories.sandboxImageLabel":"Sandbox image","settings.repositories.sandboxImageDefault":"Default image","settings.repositories.sandboxImageAndroid":"Android emulator","settings.repositories.sandboxImageError":"Could not change the sandbox image","settings.repositories.monitorDeploys":"Show deploys on Monitor","settings.repositories.monitorDeploysError":"Could not change whether Monitor shows this repository","settings.repositories.addDialogTitle":"Add repository","settings.repositories.cancel":"Cancel","settings.repositories.failed":"Something went wrong","settings.nav.connections":"Connections","settings.nav.automations":"Automations","settings.nav.skills":"Skills","settings.nav.memory":"Memory","settings.nav.monitor":"Monitor","settings.nav.members":"Members","settings.nav.security":"Security","settings.nav.profile":"Profile & Preferences","settings.nav.backToHome":"Back to home","settings.nav.signOut":"Sign Out","settings.profile.avatar":"Avatar","settings.profile.displayName":"Display name","settings.profile.displayNamePlaceholder":"Your name","settings.profile.email":"Email","settings.profile.avatarUpload":"Change your picture","settings.profile.avatarDialogTitle":"Profile picture","settings.profile.avatarDialogDescription":"Drag to reposition and scroll to zoom. Only the picture you are using is visible to other people.","settings.profile.avatarDeleted":"Picture deleted","settings.profile.avatarRemove":"Remove","settings.profile.avatarRemoved":"Picture removed","settings.profile.avatarUpdated":"Picture updated","settings.profile.avatarUploadError":"Failed to update the picture","settings.profile.updateSuccess":"Profile updated successfully","settings.profile.updateError":"Failed to update profile","settings.preferences.title":"Preferences","settings.blog.sectionTitle":"Blog","settings.blog.aiTitle":"AI blog","settings.blog.aiDescription":"Brand context, campaigns and post generation. When off, posts are written by hand.","settings.blogBlocks.title":"Hide the default blog blocks","settings.blogBlocks.description":"Only this site's own post blocks are offered when writing or importing a post. Existing posts are unaffected.","settings.blocksEditor.title":"New blocks editor","settings.blocksEditor.description":"Applies to everyone in this organization. The rest of Studio always uses the new layout.","settings.siteAppsInstall.title":"Install apps from the catalogue","settings.siteAppsInstall.description":"Let the Apps tab install an app into the site: it writes the app's module and its registration to the branch, adds the dependency, and restarts the sandbox's dev server so the app's settings form appears. With it off the catalogue stays browsable and nothing is installable.","settings.multiAppPreview.title":"Preview several apps of a monorepo","settings.multiAppPreview.description":"Add other apps of a project's repository and view them side by side in the preview. Each one runs its own dev server in the sandbox.","settings.preferences.theme":"Theme","settings.preferences.themeLight":"Light theme","settings.preferences.themeDark":"Dark theme","settings.preferences.themeSystem":"System theme","settings.preferences.language":"Language","settings.preferences.notifications":"Notifications","settings.preferences.notificationsDescription":"Browser notifications for important events.","settings.preferences.notificationsDenied":"Notifications denied. Please enable them in your browser settings.","settings.preferences.sounds":"Sounds","settings.preferences.soundsDescription":"Sounds for agent actions and notifications.","settings.preferences.soundsPreview":"Preview notification sound","settings.preferences.toolApproval":"Tool approval","settings.preferences.toolApprovalDescription":"Which tools need your approval before they run.","settings.preferences.toolApprovalAsk":"Ask before edit","settings.preferences.toolApprovalAskShort":"Ask","settings.preferences.toolApprovalAskDescription":"Auto-approve read-only tools","settings.preferences.toolApprovalAuto":"Auto approve","settings.preferences.toolApprovalAutoShort":"Auto","settings.preferences.toolApprovalAutoDescription":"Execute all without approval","settings.automations.browseAgentsButton":"Browse projects","settings.automations.emptyDescription":"Automations are created per agent. Open an agent and add one from its Automations tab.","settings.automations.emptyTitle":"No automations yet","settings.automations.noResultsDescription":'No automations match "{search}"',"settings.automations.noResultsTitle":"No automations found","settings.automations.pageTitle":"Automations","settings.automations.searchPlaceholder":"Search automations...","settings.skills.importButton":"Import skill","settings.skills.importing":"Importing…","settings.skills.importSuccess":'Imported "{name}"',"settings.skills.importError":"Failed to import skill","settings.skills.importMissingSkillMd":"That folder has no SKILL.md at its root. Pick the skill's own folder.","settings.skills.importNeedsFolder":"Pick a folder, not individual files — this browser may not support folder upload.","settings.skills.searchPlaceholder":"Search skills...","settings.skills.noDescription":"No description","settings.skills.filterAll":"All","settings.skills.emptyTitle":"No skills yet","settings.skills.emptyDescription":"Import a folder with a SKILL.md to give your agents reusable instructions they can load on demand.","settings.skills.noResultsTitle":"No skills found","settings.skills.noResultsDescription":'No skills match "{search}"',"settings.skills.cancel":"Cancel","settings.skills.deleteButton":"Delete","settings.skills.deleteDialogTitle":"Delete this skill?","settings.skills.deleteDialogDescription":`This removes "{name}" and its files. This can't be undone.`,"settings.skills.deleteSuccess":"Skill deleted","settings.skills.deleteError":"Failed to delete skill","settings.skills.importTooManyFiles":"That folder has {count} files (limit {max}). Import a folder with just the skill's own files.","settings.skills.importSlugTaken":'A skill named "{slug}" already exists. Delete it first to re-import.',"settings.skills.errorTitle":"Couldn't load skills","settings.skills.errorDescription":"The skill catalog could not be loaded. You may not have access to this org's files.","settings.skills.retry":"Try again","settings.memory.tabOrg":"Organization","settings.memory.tabUser":"Just you","settings.memory.orgHeading":"Shared with everyone in {org}","settings.memory.userHeading":"Your personal memory","settings.memory.orgPlaceholder":"Facts everyone's chats should know. For example: we ship on Thursdays, prices are in BRL, the brand voice is informal.","settings.memory.userPlaceholder":"Things Deco should remember about you. For example: reply in Portuguese, I own the checkout, keep summaries short.","settings.memory.saving":"Saving…","settings.memory.saved":"Saved","settings.memory.notSaved":"Not saved","settings.memory.saveError":"Couldn't save. Keep typing to retry.","settings.memory.readOnly":"You can read this memory but not change it.","settings.memory.updated":"Updated {time}","settings.memory.notStarted":"Nothing remembered yet","settings.memory.conflict":"This memory changed while you were editing.","settings.memory.loadLatest":"Load latest","settings.memory.keepMine":"Keep my version","settings.memory.budget":"{percent}% of what chats read","settings.memory.budgetOver":"Chats only read the beginning","settings.memory.budgetHint":"Chats load the first 16,000 characters. Keep this a short index and move details into separate notes.","settings.memory.errorTitle":"Couldn't load memory","settings.memory.errorDescription":"The organization's files couldn't be loaded. You may not have access to them.","settings.memory.retry":"Try again","settings.buckets.accessKeyIdLabel":"Access key ID","settings.buckets.addBucket":"Add bucket","settings.buckets.addBucketButton":"Add bucket","settings.buckets.addS3Bucket":"Add S3 bucket","settings.buckets.addingButton":"Adding…","settings.buckets.apiKeyHelperText":"Sent as the x-api-key header on each refresh call.","settings.buckets.apiKeyLabel":"API key","settings.buckets.bucketAdded":'Bucket "{name}" added',"settings.buckets.bucketLabel":"Bucket","settings.buckets.bucketPlaceholder":"my-bucket","settings.buckets.bucketRemoved":'Bucket "{name}" removed',"settings.buckets.bucketsConfigured":"{count} bucket(s) configured","settings.buckets.cancelButton":"Cancel","settings.buckets.credentialsEncryptedDescription":"Credentials are encrypted at rest and never returned over the API. For Cloudflare R2, Google Cloud Storage, or MinIO, set a custom endpoint.","settings.buckets.credentialsLabel":"Credentials","settings.buckets.deleteButton":"Delete {name}","settings.buckets.descriptionLabel":"Description (optional)","settings.buckets.descriptionPlaceholder":"What is this bucket used for?","settings.buckets.emptyStateDescription":"Add an S3-compatible bucket (AWS S3, Cloudflare R2, Google Cloud Storage, MinIO). Access keys are encrypted at rest and never returned over the API.","settings.buckets.endpointHelperText":"Required for non-AWS providers (R2, GCS, MinIO).","settings.buckets.endpointLabel":"Endpoint (optional)","settings.buckets.endpointPlaceholder":"https://<account>.r2.cloudflarestorage.com","settings.buckets.failedToAddBucket":"Failed to add bucket","settings.buckets.failedToLoadConfigs":"Failed to load file configurations: {error}","settings.buckets.failedToLoadConfigsFallback":"Failed to load file configs","settings.buckets.failedToRemoveBucket":"Failed to remove bucket","settings.buckets.forcePathStyleHelperText":"Required for Google Cloud Storage and most MinIO setups.","settings.buckets.forcePathStyleLabel":"Force path-style URLs","settings.buckets.managed":"Managed","settings.buckets.nameHelperText":"Letters, digits, underscore, dot, hyphen. Unique within the organization.","settings.buckets.nameLabel":"Name","settings.buckets.namePlaceholder":"production-uploads","settings.buckets.noBucketsConfigured":"No buckets yet","settings.buckets.pathStyle":"path-style","settings.buckets.prefix":"prefix: {prefix}","settings.buckets.prefixHelperText":"All object keys are written under this prefix. Useful for multi-tenant buckets or credentials scoped to a sub-path. A trailing slash is added automatically.","settings.buckets.prefixLabel":"Key prefix (optional)","settings.buckets.prefixPlaceholder":"tenants/acme/","settings.buckets.public":"public: {url}","settings.buckets.publicUrlBaseHelperText":"Host used to build public URLs returned by the picker (R2 dev domain, CDN, custom host). Leave blank to use the bucket's S3 host (AWS default).","settings.buckets.publicUrlBaseLabel":"Public URL base (optional)","settings.buckets.publicUrlBasePlaceholder":"https://pub-xxxx.r2.dev or https://cdn.example.com","settings.buckets.refreshUrlHelperText":"Endpoint POSTed (with the API key below) to vend temporary credentials. Must return accessKeyId, secretAccessKey, sessionToken, and expiration.","settings.buckets.refreshUrlLabel":"Refresh URL","settings.buckets.refreshUrlPlaceholder":"https://admin.example.com/api/acme/s3-credentials","settings.buckets.regionLabel":"Region","settings.buckets.regionPlaceholder":"us-east-1","settings.buckets.removeBucketDescription":"This deletes the encrypted credentials for {name}. The bucket itself is not affected. This cannot be undone.","settings.buckets.removeBucketTitle":"Remove bucket configuration?","settings.buckets.removeButton":"Remove","settings.buckets.removingButton":"Removing…","settings.buckets.secretAccessKeyLabel":"Secret access key","settings.buckets.staticKeyHelperText":"A long-lived access key ID and secret, used as-is.","settings.buckets.staticKeyOption":"Static key pair (long-lived)","settings.buckets.stsSessionHelperText":"Stores only a refresh endpoint + API key; short-lived credentials are fetched on demand and refreshed automatically.","settings.buckets.temporarySessionOption":"Temporary session (STS, auto-refreshed)","settings.connectClients.anyOtherClientDescription":"Any other MCP client: paste this endpoint into it to give that runtime every connection enabled in this org, governed by your Decopilot rules.","settings.connectClients.apiKeyOption":"API key","settings.connectClients.copy":"Copy","settings.connectClients.doneHideKey":"Done, hide key","settings.connectClients.generateKey":"Generate key","settings.connectClients.generateKeyFor":"Generate key for {client}","settings.connectClients.generatingKey":"Generating…","settings.connectClients.headlessKeyHint":"For CI, Conductor, or headless agents that can't open a browser.","settings.connectClients.installMethod":"Installation method","settings.connectClients.keyCreated":"Key created","settings.connectClients.mcpDescription":"For clients without a shell. Sharing Library files and messaging agents need the CLI + skill.","settings.connectClients.oauthDiscoveryDetails":"OAuth discovery details","settings.connectClients.oauthKeyHint":"Recommended for your laptop. A browser opens on first use to sign in, with no token to manage.","settings.connectClients.oauthMetadataHint":"OAuth 2.1 Protected Resource Metadata is advertised on 401:","settings.connectClients.oauthOption":"OAuth","settings.connectClients.otherClient":"Other","settings.connectClients.pageTitle":"Connect","settings.connectClients.recommended":"Recommended","settings.connectClients.skillDescription":"Install the Studio skill and log in once. Your agent can then use this org's chats, agents, tasks and Library files through the decocms CLI.","settings.connectClients.skillInstallStep":"1. Install the skill","settings.connectClients.skillLoginHint":"A browser opens to approve the login. The session renews itself.","settings.connectClients.skillLoginStep":"2. Log in","settings.connectClients.skillNeedsBun":"Needs Bun.","settings.connectClients.skillOtherAgentsHint":"The installer asks which agents to add the skill to.","settings.connectClients.skillTab":"CLI + skill","settings.connectClients.skillTitle":"Connect your agent","settings.connectClients.snippetOneTimeWarning":"Copy this snippet now. The key won't be shown again, and you can revoke it 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":"Add API key","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.agentTools.chatHarnessCodexTitle":"Use Codex for new sandbox chats","settings.agentTools.chatHarnessCodexDescription":"Runs new sandbox chats with Codex. Link your ChatGPT subscription in AI Providers or connect a Responses API provider. Existing chats keep their runtime.","settings.codexSubscription.setupHeading":"Connect Codex","settings.codexSubscription.setupDescription":"Link your ChatGPT subscription in Settings → AI Providers, or connect a provider with an OpenAI Responses API endpoint.","settings.codexSubscription.connect":"Link","settings.codexSubscription.connected":"ChatGPT subscription linked","settings.codexSubscription.disconnect":"Disconnect","settings.codexSubscription.disconnected":"ChatGPT subscription unlinked","settings.codexSubscription.howTo":"Run this command locally, sign in with ChatGPT, then paste the contents of ~/.codex/auth.json:","settings.codexSubscription.title":"ChatGPT for Codex","settings.codexSubscription.tokenPlaceholder":"Paste the contents of auth.json","settings.claudeSubscription.connect":"Link","settings.claudeSubscription.connected":"Claude subscription linked","settings.claudeSubscription.disconnect":"Disconnect","settings.claudeSubscription.disconnected":"Claude subscription unlinked","settings.claudeSubscription.howTo":"Generate a token on your own machine with","settings.claudeSubscription.title":"Claude Pro or Max","settings.claudeSubscription.tokenPlaceholder":"Paste your token","settings.githubCopilot.connect":"Link","settings.githubCopilot.connected":"GitHub Copilot linked","settings.githubCopilot.disconnect":"Disconnect","settings.githubCopilot.disconnected":"GitHub Copilot unlinked","settings.githubCopilot.howTo":"Create a fine-grained GitHub token with the Copilot Requests permission","settings.githubCopilot.sharedBy":"Every run in this organization uses {name}'s shared GitHub Copilot plan.","settings.githubCopilot.shareTitle":"Share with org","settings.githubCopilot.shareDescription":"Every chat and task in this organization runs on your Copilot plan, ahead of members' own plans and the organization's AI providers.","settings.githubCopilot.title":"GitHub Copilot","settings.githubCopilot.tokenPlaceholder":"Paste your github_pat_… token","settings.ownAccounts.more":"More actions","settings.providerKeyRow.edit":"Edit","settings.ownAccounts.title":"Your own accounts","settings.ownAccounts.cancel":"Cancel","settings.ownAccounts.addApiKey":"Add API key","settings.ownAccounts.linked":"Linked","settings.ownAccounts.expired":"Expired","settings.decoCreditsHero.add":"Add","settings.decoCreditsHero.addCredits":"Add credits","settings.decoCreditsHero.amountPlaceholder":"50","settings.decoCreditsHero.availableBalance":"Available credit balance","settings.decoCreditsHero.cancel":"Cancel","settings.decoCreditsHero.cancelButton":"Cancel","settings.decoCreditsHero.custom":"Custom","settings.decoCreditsHero.decoAiGatewayAlt":"Deco AI Gateway","settings.decoCreditsHero.disconnect":"Disconnect","settings.decoCreditsHero.disconnectButton":"Disconnect","settings.decoCreditsHero.disconnectDescription":"This will remove the Deco AI Gateway from this workspace. Your credit balance is preserved and will be available if you reconnect.","settings.decoCreditsHero.disconnectError":"Failed to disconnect: {message}","settings.decoCreditsHero.disconnectSuccess":"Deco AI Gateway disconnected","settings.decoCreditsHero.disconnectTitle":"Disconnect Deco AI Gateway","settings.decoCreditsHero.refreshBalance":"Refresh balance","settings.decoCreditsHero.title":"Deco AI Gateway","settings.planUsage.title":"Plan","settings.planUsage.loadFailed":"Couldn't read this organization's plan.","settings.planUsage.retry":"Retry","settings.planUsage.aiUsage":"AI usage","settings.planUsage.usageUnavailable":"Unavailable","settings.planUsage.used":"used","settings.plans.perMonth":"/ month","settings.planUsage.periodHint":"Resets at the start of each billing period.","settings.planUsage.noAiIncluded":"No AI usage included.","settings.planUsage.included":"Included in plan","settings.planUsage.credits":"Added credits","settings.planUsage.creditsInUse":"In use","settings.planUsage.manageBilling":"Manage billing","settings.planUsage.portalFailed":"Couldn't open billing: {message}","settings.planUsage.subscribe":"Subscribe","settings.planUsage.changePlan":"Change plan","settings.planUsage.changed":"Plan updated","settings.planUsage.changeFailed":"Couldn't change plan: {message}","settings.planUsage.feature.cms":"CMS","settings.planUsage.feature.chat":"Superagent chat","settings.planUsage.feature.monitoring":"Site analytics","settings.planUsage.feature.kanban":"Agentic Kanban","settings.planUsage.feature.model_choice":"Choose your model","settings.planUsage.feature.credits":"Extra credits","settings.planUsage.feature.diagnostic":"Deco Score","settings.planUsage.feature.diagnostic_enriched":"Enriched Deco Score","settings.plans.title":"Plans","settings.plans.loadFailed":"Couldn't load the plans.","settings.plans.currentPlan":"Current plan","settings.plans.firstMonthFree":"1st month free","settings.plans.startTrial":"Start free trial","settings.plans.custom.name":"Custom","settings.plans.custom.description":"For large teams with their own contract","settings.plans.custom.cta":"Talk to us","settings.plans.managed":"Your plan: {plan}. Contact us to change it.","settings.plans.invoice.cta":"Add to my invoice","settings.plans.invoice.confirm":"{plan} will be added to your next invoice. Switch now?","settings.plans.invoice.cancel":"Cancel","settings.plans.invoice.switch":"Switch plan","settings.paywall.bullets.kanban.1":"Agents that do the work and move the cards","settings.paywall.bullets.kanban.2":"A board the whole team shares","settings.paywall.bullets.kanban.3":"Columns, tags and priorities","settings.paywall.bullets.allowance.1":"A monthly allowance that resets","settings.paywall.bullets.allowance.2":"Top up with extra credits any time","settings.paywall.bullets.allowance.3":"Your message stays in the composer","settings.paywall.bullets.cms.1":"Edit content and layout","settings.paywall.bullets.cms.2":"Live preview as you go","settings.paywall.bullets.cms.3":"Publish when it looks right","settings.paywall.bullets.monitoring.1":"Pageviews, visitors and sources","settings.paywall.bullets.monitoring.2":"Cache hit rate, latency and errors","settings.paywall.bullets.monitoring.3":"Traffic by country and device","settings.paywall.upgradeTitle":"{feature} comes with {plan}","settings.paywall.upgradeDescription":"Unlocks it for everyone in the organization.","settings.paywall.description":"This organization's plan doesn't include {feature}. Change the plan to unlock it for everyone in the org.","settings.paywall.seePlans":"See plans","settings.paywall.dismiss":"Not now","settings.paywall.serverRefusedFeature":"Your plan does not include this. Ask an owner to upgrade, or see plans.","settings.paywall.serverRefusedBudget":"This organization has used its monthly AI allowance. Chat and tasks pause until you upgrade or top up.","settings.decoCreditsHero.topUpFailed":"Top-up failed: {message}","settings.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.","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.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.review.title":"Reviewers & merge","settings.review.description":"The Reviewer runs on a task's pull request when its card reaches In Review.","settings.review.reviewerTitle":"Reviewer","settings.review.reviewerDescription":"Reviews the code with the repo's own review skills, fixes what it finds and tests the change on the deploy preview. An approval moves the card to QA; anything it can't settle comes back to you.","settings.review.cheapReviewerModelTitle":"Run reviewers on a cheaper model","settings.review.cheapReviewerModelDescription":"Uses a smaller model than the Super Agent. Cheaper, possibly less thorough.","settings.review.autoMergeTitle":"Auto-merge","settings.review.autoMergeDescription":"Merge the pull request when its card reaches Ready for Deployment, without waiting for Ship.","settings.review.autoResolveConflictsTitle":"Auto-resolve merge conflicts","settings.review.autoResolveConflictsDescription":"When a pull request in Ready for Deployment conflicts with its base, the Super Agent merges the base and pushes. Follows Auto-merge unless set here.","settings.review.autoAssignReportTasksTitle":"Assign Deco Score tasks to the Super Agent","settings.review.autoAssignReportTasksDescription":"Tasks created from the Deco Score go to the Super Agent instead of staying unassigned.","settings.review.updateError":"Couldn't update the setting","settings.taskPrompt.title":"System prompt","settings.taskPrompt.fieldLabel":"Instructions","settings.taskPrompt.placeholder":"e.g. Use pnpm, never npm. Never edit files under src/generated/.","settings.taskPrompt.save":"Save","settings.taskPrompt.saved":"System prompt saved","settings.taskPrompt.failed":"Couldn't save the system prompt","settings.taskPrompt.skillsLabel":"Skills on every column","settings.agentTools.title":"Agent tools","settings.agentTools.description":"What coding-agent runs can reach beyond their repository.","settings.agentTools.orgMcpsTitle":"Give runs this org's MCP connections","settings.agentTools.orgMcpsDescription":"The Super Agent and reviewers get every connected MCP. Tools load only when needed, so more connections don't crowd the context.","settings.agentTools.orgMcpsPickTitle":"Connections runs can reach","settings.agentTools.orgMcpsPickDescription":"Turn one off to keep it out of runs, for example an MCP for the tracker a run already reports to. New connections start on.","settings.agentTools.orgMcpsPickAriaLabel":"Let runs reach {name}","settings.agentTools.orgMcpsPickEmpty":"This organization has no MCP connections yet","settings.agentTools.orgMcpsPickFailed":"Could not save which connections runs can reach","settings.agentTools.orgMcpsPickLoadFailed":"Could not load MCP connections","settings.agentTools.orgMcpsPickSearch":"Search connections…","settings.agentTools.orgMcpsPickEnableAll":"Enable all","settings.agentTools.orgMcpsPickDisableAll":"Disable all","settings.agentTools.orgMcpsPickNoMatch":"No connection matches that search","settings.agentTools.orgMcpsPickSave":"Save","settings.agentTools.orgMcpsPickSaving":"Saving…","settings.agentTools.orgMcpsPickDiscard":"Discard","settings.agentTools.orgMcpsPickSaved":"Saved which connections runs can reach","settings.agentTools.chatRuntimeSection":"Chats","settings.agentTools.chatHarnessSandboxOnlyTitle":"Run chats with Claude Code in a sandbox","settings.agentTools.chatHarnessSandboxOnlyDescription":"Each chat gets its own sandbox instead of running on Decopilot. The first message waits for the sandbox to start. Needs an Anthropic, OpenRouter or deco AI gateway key, or a Claude subscription.","settings.agentTools.codingAgentsClaudeCodeTitle":"Run Code Agent chats with Claude Code","settings.agentTools.codingAgentsClaudeCodeDescription":"Chats on an agent imported from GitHub run in that agent's sandbox, next to the code. Replies arrive a whole turn at a time. Applies to new chats only.","settings.orgRoleDetail.addMember":"Add Member","settings.orgRoleDetail.addMembersToGrantPermissions":"Add members to grant them the configured permissions.","settings.orgRoleDetail.addMembersToRole":"Add Members to Role","settings.orgRoleDetail.addWithCount":"Add ({count})","settings.orgRoleDetail.added":"Added","settings.orgRoleDetail.allConnections":"All connections","settings.orgRoleDetail.allConnectionsDescription":"Every tool on every connection, including ones added later. Uncheck a connection to leave it out.","settings.orgRoleDetail.allModels":"All models","settings.orgRoleDetail.allOrgPermissions":"All organization permissions","settings.orgRoleDetail.allProjects":"All projects","settings.orgRoleDetail.allProjectsDescription":"This role can access every project, including ones created later. Uncheck a project to hide it from this role, or turn off to pick specific projects.","settings.orgRoleDetail.builtinRolePermissionsCannotBeChanged":"Built-in role permissions cannot be changed","settings.orgRoleDetail.cancel":"Cancel","settings.orgRoleDetail.createRole":"Create role","settings.orgRoleDetail.enabledCount":"{enabledCount}/{total} enabled","settings.orgRoleDetail.failedToSaveRole":"Failed to save role","settings.orgRoleDetail.general":"General","settings.orgRoleDetail.grantFullAccessToAllFeaturesBelow":"Grant full access to all features below","settings.orgRoleDetail.loadingModels":"Loading models...","settings.orgRoleDetail.mcpPermissions":"MCP Permissions","settings.orgRoleDetail.members":"Members","settings.orgRoleDetail.membersUpdatedSuccessfully":"Members updated successfully!","settings.orgRoleDetail.models":"Models","settings.orgRoleDetail.noLlmConnectionsConfigured":"No LLM connections configured","settings.orgRoleDetail.noMembers":"No members","settings.orgRoleDetail.noMembersAvailable":"No members available","settings.orgRoleDetail.noMembersFound":"No members found","settings.orgRoleDetail.noMembersMatch":'No members match "{searchQuery}"',"settings.orgRoleDetail.noPermissionsMatch":'No permissions match "{searchQuery}"',"settings.orgRoleDetail.noProjectsAvailable":"No projects available","settings.orgRoleDetail.noProjectsMatch":'No projects match "{searchQuery}"',"settings.orgRoleDetail.organizationPermissions":"Organization Permissions","settings.orgRoleDetail.owner":"Owner","settings.orgRoleDetail.ownerMembershipCannotBeChanged":"Owner membership cannot be changed","settings.orgRoleDetail.projects":"Projects","settings.orgRoleDetail.removeMember":"Remove {name} from role","settings.orgRoleDetail.roleCreatedSuccessfully":"Role created successfully!","settings.orgRoleDetail.roleName":"Role name","settings.orgRoleDetail.roleNameIsRequired":"Role name is required","settings.orgRoleDetail.roleUpdatedSuccessfully":"Role updated successfully!","settings.orgRoleDetail.saveChanges":"Save Changes","settings.orgRoleDetail.saving":"Saving...","settings.orgRoleDetail.searchMcpServers":"Search MCP servers...","settings.orgRoleDetail.searchMembers":"Search members...","settings.orgRoleDetail.searchModels":"Search models...","settings.orgRoleDetail.searchPermissions":"Search permissions...","settings.orgRoleDetail.searchProjects":"Search projects...","settings.orgRoleDetail.selectMembersToAddToThisRole":"Select members to add to this role.","settings.orgRoleDetail.showMore":"Show more ({remaining} remaining)","settings.orgRoleDetail.somethingWentWrong":"Something went wrong","settings.orgRoleDetail.unknown":"Unknown","settings.orgRoleDetail.userIsDefaultRoleMessage":"User is the default role — members can't be removed from it; assign another role to change their access","settings.orgSso.cancelButton":"Cancel","settings.orgSso.clientIdLabel":"Client ID","settings.orgSso.clientIdPlaceholder":"your-client-id","settings.orgSso.clientSecretEditDescription":"Leave empty to keep current","settings.orgSso.clientSecretLabel":"Client secret","settings.orgSso.clientSecretPlaceholder":"your-client-secret","settings.orgSso.clientSecretRequiredError":"Client secret is required for the first setup","settings.orgSso.configurationRemovedSuccess":"SSO configuration removed","settings.orgSso.configurationSavedSuccess":"SSO configuration saved","settings.orgSso.configureSsoButton":"Configure SSO","settings.orgSso.discoveryEndpointDescription":"Optional. Detected from the issuer when empty.","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 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":"Your identity provider's OIDC issuer URL.","settings.orgSso.issuerUrlLabel":"Issuer URL","settings.orgSso.issuerUrlPlaceholder":"https://login.microsoftonline.com/{tenant}/v2.0","settings.orgSso.loading":"Loading...","settings.orgSso.providerLabel":"Provider","settings.orgSso.removeButton":"Remove","settings.orgSso.removeConfirmation":"Are you sure you want to remove SSO configuration?","settings.orgSso.removeSsoConfigError":"Failed to remove SSO config","settings.orgSso.requiredFieldsError":"Issuer, Client ID, and Domain are required","settings.orgSso.saveSsoConfigError":"Failed to save SSO config","settings.orgSso.savingButton":"Saving...","settings.orgSso.scopesLabel":"Scopes","settings.orgSso.scopesPlaceholder":"openid email profile","settings.orgSso.sectionTitle":"Single sign-on","settings.orgSso.securityTitle":"Security","settings.orgSso.testSsoButton":"Test SSO","settings.orgSso.toggleEnforcementError":"Failed to toggle SSO enforcement","settings.orgSso.updateButton":"Update","settings.organizationForm.failedToReadImage":"Failed to read image","settings.organizationForm.failedToUpdateOrg":"Failed to update organization","settings.organizationForm.imageTooLarge":"Image must be smaller than 2MB","settings.organizationForm.logoDescription":"256×256px recommended.","settings.organizationForm.logoTitle":"Logo","settings.organizationForm.namePlaceholder":"Organization name","settings.organizationForm.nameRequired":"Name is required","settings.organizationForm.nameTitle":"Name","settings.organizationForm.nameTooLong":"Name is too long","settings.organizationForm.updateSuccess":"Organization updated successfully","settings.organizationForm.uploadLogoLabel":"Upload organization logo","settings.organizationForm.urlDescription":"Used in links and API integrations, so it can't be changed.","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.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":"New 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.accessLabel":"Access","settings.apiKeys.accessReadOnly":"Read only","settings.apiKeys.accessReadOnlyDescription":"The {count} Studio tools that never change data. Tools added later stay out.","settings.apiKeys.accessCustom":"Choose tools","settings.apiKeys.accessCustomDescription":"Only the Studio and connection tools you pick. Tools added later stay out.","settings.apiKeys.accessFull":"Full access","settings.apiKeys.accessFullDescription":"Every tool, including ones that delete data and ones added later.","settings.apiKeys.expired":"Expired","settings.apiKeys.expiredOn":"Expired {date}","settings.apiKeys.expiresOn":"Expires {date}","settings.apiKeys.expiryDays":"{days} days","settings.apiKeys.expiryLabel":"Expires after","settings.apiKeys.expiryNever":"Never","settings.apiKeys.expiryYear":"1 year","settings.apiKeys.neverExpires":"Never expires","settings.apiKeys.readOnlyBadge":"Read only","settings.apiKeys.toolCount":"{count} tools","settings.apiKeys.studioTools":"Studio","settings.apiKeys.toolsGroupCount":"{count}/{total}","settings.apiKeys.toolsNone":"No tools","settings.apiKeys.toolsSelectGroup":"Select every tool in {name}","settings.apiKeys.toolsSelected":"{count} selected","settings.apiKeys.toolsLoadFailed":"Couldn't load the tool list. Close and try again.","settings.apiKeys.toolsSearch":"Search tools…","settings.apiKeys.cancelButton":"Cancel","settings.apiKeys.copied":"Copied to clipboard","settings.apiKeys.copyKey":"Copy key","settings.apiKeys.createButton":"Create key","settings.apiKeys.createdAt":"Created {date}","settings.apiKeys.createdDescription":"Copy this key now — it won't be shown again.","settings.apiKeys.createdTitle":"API key created","settings.apiKeys.creatingButton":"Creating…","settings.apiKeys.deleteDescription":"Any application using this key will immediately lose access. This cannot be undone.","settings.apiKeys.deleteKey":"Delete key","settings.apiKeys.deleteTitle":'Delete "{name}"?',"settings.apiKeys.done":"Done","settings.apiKeys.emptyDescription":"Create a key to authenticate external applications with this organization.","settings.apiKeys.emptyTitle":"No API keys yet","settings.apiKeys.failedToCreateKey":"Failed to create API key","settings.apiKeys.failedToDeleteKey":"Failed to delete API key","settings.apiKeys.failedToLoadError":"Failed to load API keys: {error}","settings.apiKeys.keyDeleted":'API key "{name}" deleted',"settings.apiKeys.loading":"Loading API keys…","settings.apiKeys.nameLabel":"Name","settings.apiKeys.namePlaceholder":"My integration","settings.apiKeys.newKey":"New key","settings.apiKeys.newKeyDescription":"Give the key only the tools it needs. Whoever holds the key can use them, even if it leaks.","settings.apiKeys.newKeyTitle":"New API key","settings.apiKeys.sectionDescription":"For scripts and clients that can't sign in through a browser.","settings.apiKeys.sectionTitle":"API keys","settings.secrets.cancelButton":"Cancel","settings.secrets.createButton":"Create secret","settings.secrets.creatingButton":"Creating…","settings.secrets.descriptionLabel":"Description (optional)","settings.secrets.descriptionPlaceholder":"What is this secret used for?","settings.secrets.emptyDescription":"Store API keys, tokens, and other sensitive values. Values are encrypted at rest and never returned over the API.","settings.secrets.emptyTitle":"No secrets yet","settings.secrets.failedToCreateSecret":"Failed to create secret","settings.secrets.failedToLoadError":"Failed to load secrets: {error}","settings.secrets.nameHelp":"Letters, digits, underscore, dot, hyphen. Case-insensitive within its scope.","settings.secrets.nameLabel":"Name","settings.secrets.namePlaceholder":"STRIPE_API_KEY","settings.secrets.newSecret":"New secret","settings.secrets.newSecretDescription":"Stored encrypted in the credential vault. Choose who can read it.","settings.secrets.newSecretTitle":"New secret","settings.secrets.scopeLabel":"Scope","settings.secrets.scopeOrganization":"Organization","settings.secrets.scopeOrganizationDescription":"Organization — visible to all members","settings.secrets.scopePrivate":"Private","settings.secrets.scopePrivateDescription":"Private — only visible to me","settings.secrets.secretCreated":'Secret "{name}" created',"settings.secrets.secretsCountSingular":"{count} secret stored","settings.secrets.secretsCountPlural":"{count} secrets stored","settings.secrets.sectionOrganization":"Organization","settings.secrets.sectionPrivate":"Private to me","settings.secrets.valueLabel":"Value","settings.simpleModeSection.defaultModels":"Default models","settings.simpleModeSection.failedToSave":"Failed to save: {error}","settings.simpleModeSection.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.tierFast":"Fast","settings.simpleModeSection.tierImage":"Image","settings.simpleModeSection.tierSmart":"Smart","settings.simpleModeSection.tierThinking":"Thinking","settings.simpleModeSection.tierWebSearch":"Web search","settings.aiProviders.groupChat":"Chat and tasks","settings.aiProviders.groupMedia":"Images and web search only","settings.aiProviders.customOpenAiCompatible":"Custom OpenAI-compatible","settings.aiProviders.customOpenAiDescription":"Bring your own model server (advanced)","settings.infraBilling.noSites":"This organization doesn't own any deco.cx site yet.","settings.infraBilling.siteLabel":"Sites","settings.infraBilling.pickASite":"Select at least one site.","settings.infraBilling.tooManySites":"Showing the first {count} sites. Select specific sites to see the rest.","settings.infraBilling.multipleTeams":"These sites are billed by {count} legacy teams. Each team's plan and invoices are listed under Invoices.","settings.infraBilling.noTeam":"These sites aren't linked to a legacy billing team.","settings.infraBilling.partialTeam":"This site's legacy team also bills sites outside this organization, so its plan and invoices aren't shown here.","settings.infraBilling.billingUnavailable":"Plan and invoices are temporarily unavailable.","settings.infraBilling.monthLabel":"Month","settings.infraBilling.warehouseUnavailable":"Usage data couldn't be read, so the figures below are incomplete.","settings.infraBilling.summaryTitle":"Summary","settings.infraBilling.metricsTitle":"Metrics","settings.infraBilling.invoicesTitle":"Invoices","settings.infraBilling.detailsTitle":"Billing details","settings.infraBilling.currentPlan":"Current plan","settings.infraBilling.nextBilling":"Next billing","settings.infraBilling.manageButton":"Manage","settings.infraBilling.portalError":"Couldn't open billing portal: {message}","settings.infraBilling.requestsPerPageview":"Requests per pageview","settings.infraBilling.plan.free":"Free","settings.infraBilling.plan.pro":"Pro","settings.infraBilling.plan.enterprise":"Enterprise","settings.infraBilling.pageviews":"Pageviews","settings.infraBilling.pageviewsDescription":"Pages served to visitors this month.","settings.infraBilling.requests":"Requests","settings.infraBilling.requestsDescription":"CDN and shared infrastructure requests.","settings.infraBilling.dataTransfer":"Data transfer","settings.infraBilling.dataTransferDescription":"Bandwidth served from the edge and the origin.","settings.infraBilling.noInvoices":"No invoices issued for this team.","settings.infraBilling.invoiceReference":"Reference","settings.infraBilling.invoiceDue":"Due date","settings.infraBilling.invoiceAmount":"Amount","settings.infraBilling.invoiceStatus":"Status","settings.infraBilling.invoiceDocuments":"Documents","settings.infraBilling.invoiceNf":"Invoice","settings.infraBilling.invoiceBankSlip":"Bank slip","settings.infraBilling.invoiceBankTransfer":"Bank transfer","settings.infraBilling.statusPaid":"Paid","settings.infraBilling.statusOverdue":"Overdue","settings.infraBilling.statusPending":"Pending","settings.gitCredentials.title":"Git credentials","settings.gitCredentials.description":"Tokens that let sandboxes pull private repos and dependencies, like submodules or private npm, go, pub or cargo packages. Pick a secret per host.","settings.gitCredentials.addCredential":"Add credential","settings.gitCredentials.cancel":"Cancel","settings.gitCredentials.createNewSecret":"Create new secret","settings.gitCredentials.createNewSecretAriaLabel":"Create new secret","settings.gitCredentials.createNewSecretDescription":"Stored encrypted. The credential references the secret by id, and its value never leaves the server.","settings.gitCredentials.createNewSecretTitle":"Create new secret","settings.gitCredentials.descriptionLabel":"Description (optional)","settings.gitCredentials.descriptionPlaceholder":"What is this token used for?","settings.gitCredentials.failedToLoadSecrets":"Failed to load secrets","settings.gitCredentials.failedToSave":"Failed to save git credentials","settings.gitCredentials.failedToSaveSecret":"Failed to save","settings.gitCredentials.hostAriaLabel":"Git credential {index} host","settings.gitCredentials.hostInvalidMessage":"Bare hostname, e.g. github.com (no scheme or path).","settings.gitCredentials.hostPlaceholder":"github.com","settings.gitCredentials.maxReached":"You've reached the limit of {max} git credentials. Remove one to add another.","settings.gitCredentials.nameLabel":"Name","settings.gitCredentials.namePlaceholder":"GITHUB_DEPS_PAT","settings.gitCredentials.nameHelperText":"Letters, digits, underscore, dot, hyphen.","settings.gitCredentials.noSecretsYet":'No secrets yet. Use the "+" to create one.',"settings.gitCredentials.pickSecretPlaceholder":"Pick a secret…","settings.gitCredentials.remove":"Remove","settings.gitCredentials.removeAriaLabel":"Remove git credential","settings.gitCredentials.saveSecret":"Save secret","settings.gitCredentials.saving":"Saving…","settings.gitCredentials.secretAriaLabel":"Git credential {index} secret","settings.gitCredentials.scopeLabel":"Scope","settings.gitCredentials.scopeOrganization":"Organization, visible to all members","settings.gitCredentials.scopePrivate":"Private, only visible to me","settings.gitCredentials.secretSaved":'Saved secret "{name}"',"settings.gitCredentials.tokenExposureWarning":"The token is installed in the sandbox's git config for the session, so commands and agents running there can use it. Scope it to the repositories it needs.","settings.gitCredentials.tokenLabel":"Personal access token","settings.gitCredentials.tokenPlaceholder":"Paste your token"},hte={"announcements.ptBr.title":"Studio is now in Portuguese","announcements.ptBr.description":"We noticed your browser is set to Portuguese, so we switched Studio to Portuguese (Brazil) for you. You can switch back to English anytime in settings.","announcements.ptBr.ok":"OK!","announcements.ptBr.switchBack":"Switch back to English","announcements.release.ariaLabel":"Release announcement","announcements.release.dismiss":"Dismiss release announcement","announcements.release.learnMore":"Learn more","announcements.version.ariaLabel":"Studio update","announcements.version.dismiss":"Dismiss Studio update","announcements.version.eyebrow":"Studio update","announcements.version.title":"A new version is ready","announcements.version.description":"Refresh to load the latest Studio updates.","announcements.version.currentSession":"Current session · {version}","announcements.version.refresh":"Refresh now"},gte={"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"},fte={...See,...wee,...xee,...Tee,...kee,...Eee,...Cee,..._ee,...Pee,...Aee,...Ree,...Dee,...Oee,...Nee,...Mee,...Iee,...Lee,...Bee,...Fee,...Jee,...Xee,...ete,...jee,...zee,...qee,...Uee,...$ee,...Vee,...Hee,...Gee,...Wee,...Kee,...Yee,...Zee,...Qee,...tte,...ote,...ate,...nte,...rte,...ste,...ite,...lte,...cte,...dte,...ute,...pte,...mte,...hte,...gte,...yee,...bee};function qB(t,e){return e?t.replace(/\{(\w+)\}/g,(o,a)=>Object.hasOwn(e,a)?String(e[a]):o):t}const vte={"page.overview":"Visão geral","page.app":"App","page.view":"Visualização","page.file":"Arquivo","page.document":"Documento","page.item":"Item","page.breadcrumbs":"Navegação estrutural","page.breadcrumbMenu":"Mostrar caminho de navegação","page.views":"Visualizações da página","page.openThread":"Abrir chat","page.closeThread":"Fechar chat","page.collapseSidebar":"Recolher barra lateral","page.expandSidebar":"Expandir barra lateral"},bte={"projects.overview.metrics":"Métricas","projects.platform.vtex":"VTEX","projects.platform.shopify":"Shopify","projects.platform.wake":"Wake","projects.platform.nuvemshop":"Nuvemshop","projects.platform.linx":"Linx","projects.platform.vnda":"VNDA","projects.home.newProject":"Novo projeto","projects.card.updated":"Atualizado {time}","projects.empty.title":"Seu comércio, um projeto por vez","projects.empty.description":"Um site, um app, uma loja. Cada um com suas conexões, seu relatório e seu quadro.","projects.empty.readOnly":"Peça a um admin para criar o primeiro projeto.","projects.new.title":"Novo projeto","projects.new.subtitle":"O que você vai configurar?","projects.new.back":"Voltar","projects.new.create":"Criar projeto","projects.new.creating":"Criando…","projects.new.nameLabel":"Nome do projeto","projects.new.namePlaceholder":"Farm web","projects.new.nameRequired":"Dê um nome ao projeto","projects.new.failed":"Não foi possível criar o projeto","projects.new.created":"{title} está pronto","projects.new.path.repository":"Importar um código","projects.new.path.repository.hint":"Traga o código de um site ou app","projects.new.path.folder":"Nova pasta de projeto","projects.new.path.folder.hint":"Dê o nome agora, conecte depois","projects.new.step.folder.title":"Dê nome ao seu projeto","projects.reports.chooserTitle":"Continuar para Relatórios","projects.reports.chooserSubtitle":"Escolha um projeto para continuar","projects.reports.chooserSearch":"Buscar projeto…","projects.reports.chooserEmpty":"Nenhum projeto com esse nome.","projects.reports.status.ready":"Pronto","projects.reports.status.running":"Rodando","projects.reports.status.none":"Não rodou","projects.reports.status.locked":"Bloqueado","projects.connections.orgWide":"Toda a organização","projects.connections.usedBy":"{count} projetos","projects.settings.title":"Projetos","projects.settings.searchPlaceholder":"Buscar projetos…","projects.settings.open":"Abrir","projects.settings.openSettings":"Configurações","projects.settings.noResults":"Nenhum projeto corresponde a “{search}”","projects.identity.storeUrlLabel":"URL da loja","projects.identity.storeUrlDescription":"A loja no ar. Os relatórios rodam contra este endereço.","projects.apps.reports":"Relatório","projects.apps.siteEditor":"Editor de site","projects.apps.assets":"Assets","projects.apps.releases":"Releases","projects.apps.hosting":"Hosting","projects.apps.e2e":"Testes ponta a ponta","projects.apps.automations":"Automações","projects.apps.calendar":"Calendário","projects.apps.experiments":"Experimentos"},yte={"virtualMcp.addConnectionDialog.addConnectionTitle":"Adicionar Conexão","virtualMcp.addConnectionDialog.authenticationFailedError":"Autenticação falhou: {error}","virtualMcp.addConnectionDialog.connected":"Conectado","virtualMcp.addConnectionDialog.connectedAuthenticated":"Conectado e autenticado","virtualMcp.addConnectionDialog.connectionsTitle":"Conexões","virtualMcp.addConnectionDialog.failedToAddConnection":"Falha ao adicionar conexão","virtualMcp.addConnectionDialog.failedToConnect":"Falha ao conectar","virtualMcp.addConnectionDialog.mcpServerConnectionError":"Este servidor MCP não pode ser conectado: nenhum método de conexão disponível","virtualMcp.addConnectionDialog.searchConnectionsPlaceholder":"Pesquisar conexões...","virtualMcp.addConnectionDialog.signInFailedDescription":"Foi adicionada ao seu projeto, mas sua configuração de login parece estar errada. Você pode tentar autenticar novamente mais tarde nas configurações da conexão. ({error})","virtualMcp.addConnectionDialog.signInFailedTitle":"Não foi possível fazer login nesta conexão","virtualMcp.connectionDialogContent.add":"Adicionar","virtualMcp.connectionDialogContent.added":"Adicionado","virtualMcp.connectionDialogContent.builtByDeco":"Construído e mantido pela Deco","virtualMcp.connectionDialogContent.builtByOfficial":"Construído e mantido pelo fornecedor oficial","virtualMcp.connectionDialogContent.connect":"Conectar","virtualMcp.connectionDialogContent.connected":"Conectado","virtualMcp.connectionDialogContent.customConnection":"Conexão Personalizada","virtualMcp.connectionDialogContent.emptyStateNoConnectionsAvailable":"Nenhuma conexão disponível","virtualMcp.connectionDialogContent.emptyStateNoConnectionsYet":"Nenhuma conexão ainda","virtualMcp.connectionDialogContent.emptyStateSearchNoMatch":'Nenhuma conexão corresponde a "{search}"',"virtualMcp.connectionDialogContent.madeByDeco":"Feito por Deco","virtualMcp.connectionDialogContent.sectionAllConnections":"Todas as conexões","virtualMcp.connectionDialogContent.sectionVerified":"Verificado","virtualMcp.connectionDialogContent.tabAll":"Todos","virtualMcp.connectionDialogContent.tabConnected":"Conectados","virtualMcp.connectionDialogContent.verifiedByDeco":"Verificado pelo time da Deco","virtualMcp.connectionItem.authorize":"Autorizar","virtualMcp.connectionItem.configureResources":"Configurar recursos","virtualMcp.connectionItem.connectionDisabled":"Conexão desativada","virtualMcp.connectionItem.connectionEnabled":"Conexão ativada","virtualMcp.connectionItem.connectionNotFound":"Conexão não encontrada","virtualMcp.connectionItem.connectionSettings":"Configurações de conexão","virtualMcp.connectionItem.disable":"Desativar","virtualMcp.connectionItem.disableConnection":"Desativar conexão","virtualMcp.connectionItem.disabled":"Desativada","virtualMcp.connectionItem.disabledError":"Desativada (erro)","virtualMcp.connectionItem.enable":"Ativar","virtualMcp.connectionItem.failedToUpdateConnection":"Falha ao atualizar a conexão","virtualMcp.connectionItem.needsAuthorization":"Requer autorização","virtualMcp.connectionItem.newInstance":"Nova instância","virtualMcp.connectionItem.remove":"Remover","virtualMcp.connectionItem.removeConnection":"Remover conexão","virtualMcp.dependencySelectionDialog.authorizationDescription":"Esta conexão deve ser autorizada antes de você poder configurar suas ferramentas e recursos.","virtualMcp.dependencySelectionDialog.authorizationRequired":"Autorização obrigatória","virtualMcp.dependencySelectionDialog.authorize":"Autorizar","virtualMcp.dependencySelectionDialog.deselectAll":"Desselecionar tudo","virtualMcp.dependencySelectionDialog.done":"Concluído","virtualMcp.dependencySelectionDialog.noActiveToolsSelected":"Nenhuma ferramenta ativa selecionada","virtualMcp.dependencySelectionDialog.noPromptsAvailable":"Nenhum prompt disponível","virtualMcp.dependencySelectionDialog.noResourcesAvailable":"Nenhum recurso disponível","virtualMcp.dependencySelectionDialog.noToolsAvailable":"Nenhuma ferramenta disponível","virtualMcp.dependencySelectionDialog.promptsNotSupported":"Prompts não são suportados por este servidor","virtualMcp.dependencySelectionDialog.resourcesNotSupported":"Recursos não são suportados por este servidor","virtualMcp.dependencySelectionDialog.selectAll":"Selecionar tudo","virtualMcp.dependencySelectionDialog.somethingWentWrong":"Algo deu errado","virtualMcp.dependencySelectionDialog.tabActive":"Ativas","virtualMcp.dependencySelectionDialog.tabPrompts":"Prompts","virtualMcp.dependencySelectionDialog.tabResources":"Recursos","virtualMcp.dependencySelectionDialog.tabTools":"Ferramentas","virtualMcp.dependencySelectionDialog.toolsNotSupported":"Ferramentas não são suportadas por este servidor","virtualMcp.dependencySelectionDialog.unexpectedError":"Erro inesperado","virtualMcp.filesSection.add":"Adicionar","virtualMcp.filesSection.description":"Anexe arquivos e skills que o projeto sempre pode consultar.","virtualMcp.filesSection.failedUploadFile":"Falha ao enviar arquivo.","virtualMcp.filesSection.fileTooLargeDescription":"Excede o limite de 25MB, não enviado: {names}","virtualMcp.filesSection.fileTooLargeTitle":"Arquivo muito grande","virtualMcp.filesSection.filesAndSkills":"Arquivos e skills","virtualMcp.filesSection.kindFile":"Arquivo","virtualMcp.filesSection.kindSkill":"Skill","virtualMcp.filesSection.noFilesFound":"Nenhum arquivo encontrado.","virtualMcp.filesSection.noFilesOrSkillsYet":"Nenhum arquivo ou skill ainda. Adicione um ou arraste e solte aqui.","virtualMcp.filesSection.noSkillsFound":"Nenhum skill encontrado.","virtualMcp.filesSection.removeAriaLabel":"Remover {name}","virtualMcp.filesSection.searchFilesPlaceholder":"Pesquisar arquivos...","virtualMcp.filesSection.searchSkillsPlaceholder":"Pesquisar skills...","virtualMcp.filesSection.selectFileOrFolder":"Selecionar arquivo ou pasta","virtualMcp.filesSection.selectSkill":"Selecionar skill","virtualMcp.filesSection.uploadFile":"Enviar arquivo","virtualMcp.layoutTabContent.noMainView":"Sem visão principal","virtualMcp.layoutTabContent.automations":"Automações","virtualMcp.layoutTabContent.chatAlwaysShown":"O Chat sempre aparece quando é a visualização padrão","virtualMcp.layoutTabContent.layout":"Layout","virtualMcp.layoutTabContent.mainView":"Visualização principal","virtualMcp.layoutTabContent.mainViewDescription":"O que os usuários veem quando abrem este projeto pela primeira vez.","virtualMcp.layoutTabContent.settings":"Configurações","virtualMcp.layoutTabContent.showChat":"Mostrar chat","virtualMcp.layoutTabContent.showChatDescription":"Exibir Chat no painel lateral junto com a visualização principal.","virtualMcp.layoutTabContent.siteEditor":"Editor do site","virtualMcp.settings.title":"Configurações do projeto","virtualMcp.settings.navigation":"Seções das configurações do projeto","virtualMcp.settings.identity.icon":"Ícone do projeto","virtualMcp.settings.identity.iconDescription":"Como seu projeto aparece na barra lateral e no Studio.","virtualMcp.settings.identity.name":"Nome do projeto","virtualMcp.settings.identity.description":"Descrição","virtualMcp.settings.repository.title":"Repositório","virtualMcp.settings.repository.description":"O código deste projeto e como o sandbox roda ele.","virtualMcp.settings.repository.repoTitle":"Repositório","virtualMcp.settings.repository.runtimeTitle":"Como roda","virtualMcp.settings.repository.runtimeDescription":"O que o sandbox instala e sobe para mostrar o preview deste projeto.","virtualMcp.settings.pageTitle":"Configurações do projeto","virtualMcp.settings.views.title":"Views","virtualMcp.settings.views.description":"O que abre primeiro e quais views aparecem na sidebar.","virtualMcp.settings.cmsEmptyTitle":"Nenhum conteúdo de site ainda","virtualMcp.settings.repository.open":"Ir para Repositório","virtualMcp.settings.repository.none":"Nenhum repositório conectado","virtualMcp.settings.repository.noneDescription":"Conecte um repositório do GitHub para editar e pré-visualizar o site deste projeto.","virtualMcp.settings.repository.connect":"Conectar repositório","virtualMcp.settings.repository.change":"Trocar","virtualMcp.settings.repository.connected":"{name} conectado","virtualMcp.settings.cmsEmpty":"Conecte o repositório do site para ligar o CMS.","virtualMcp.settings.general.title":"Geral","virtualMcp.settings.site.title":"CMS","virtualMcp.settings.site.classicTitle":"Site e sandbox","virtualMcp.settings.blocksV8Site.label":"Site Blocks v8","virtualMcp.settings.blocksV8Site.description":"Edite este site com o editor do Blocks v8 e o CMS hospedado. Desligado: v7, ligado ao git.","virtualMcp.settings.groups.advanced":"Avançado","virtualMcp.settings.groups.details":"Detalhes","virtualMcp.settings.connections.title":"Conexões","virtualMcp.settings.views.defaults":"Layout padrão","virtualMcp.settings.views.sidebar":"Visualizações","virtualMcp.settings.views.open":"Abrir","virtualMcp.settings.views.pin":"Fixar na barra lateral","virtualMcp.settings.views.unpin":"Remover da barra lateral","virtualMcp.settings.views.setMainView":"Definir como visualização principal","virtualMcp.settings.views.rowActions":"Opções da visualização","virtualMcp.virtualMcp.addConnection":"Adicionar conexão","virtualMcp.virtualMcp.agentDeleted":'Excluído "{title}"',"virtualMcp.virtualMcp.agentNameFallback":"Agente","virtualMcp.virtualMcp.agentNamePlaceholder":"Nome do projeto","virtualMcp.virtualMcp.authenticationFailed":"Falha na autenticação: {error}","virtualMcp.virtualMcp.authenticationSuccessful":"Autenticação bem-sucedida","virtualMcp.virtualMcp.backToSpaces":"Voltar aos espaços","virtualMcp.virtualMcp.cancel":"Cancelar","virtualMcp.virtualMcp.connect":"Conectar","virtualMcp.virtualMcp.connections":"Conexões","virtualMcp.virtualMcp.created":"Criado em","virtualMcp.virtualMcp.createdBy":"Criado por","virtualMcp.virtualMcp.delete":"Excluir","virtualMcp.virtualMcp.deleteAgent":"Excluir projeto","virtualMcp.virtualMcp.deleteAgentConfirm":"Excluir Projeto?","virtualMcp.virtualMcp.deleteAgentConfirmDescription":"Esta ação não pode ser desfeita. Isto excluirá permanentemente {title}.","virtualMcp.virtualMcp.deleteAgentDescription":"Exclua permanentemente este projeto e todos os seus dados.","virtualMcp.virtualMcp.descriptionPlaceholder":"Adicionar uma descrição...","virtualMcp.virtualMcp.failedToCreateInstance":"Falha ao criar instância","virtualMcp.virtualMcp.fullscreen":"Tela cheia","virtualMcp.virtualMcp.improve":"Melhorar","virtualMcp.virtualMcp.instanceAlreadyAdded":"Esta instância já foi adicionada ao projeto","virtualMcp.virtualMcp.instructions":"Instruções","virtualMcp.virtualMcp.instructionsPlaceholder":"Defina como este agente deve se comportar, qual tom usar, qualquer restrição ou diretriz...","virtualMcp.virtualMcp.lastUsedLabel":"Último uso","virtualMcp.virtualMcp.neverUsed":"Nunca foi usado","virtualMcp.virtualMcp.newInstanceCreated":"Nova instância criada","virtualMcp.virtualMcp.noConnectionsYet":"Nenhuma conexão ainda. Adicione uma para começar.","virtualMcp.virtualMcp.openFullscreenEditor":"Abrir editor em tela cheia","virtualMcp.virtualMcp.promptTemplate":"+ Modelo de prompt","virtualMcp.virtualMcp.promptTemplateContent":`<role>
92
92
  Defina quem é este agente e em que ele é especializado.
93
93
  Exemplo: Você é um agente de triagem de suporte para comerciantes B2B.
94
94
  </role>
@@ -124,7 +124,7 @@ ou um por linha`,"common.inviteMemberDialog.errorAlreadyInvited":"{email} já te
124
124
 
125
125
  Sections que sustentam ele: {sections}. Quantas de cada, e em que ordem, depende do tema.`,"sandbox.formats.starterBodyNoSections":`Use para um post direto: abra com o assunto e por que ele importa para quem lê, desenvolva em algumas passagens curtas, e feche com o próximo passo.
126
126
 
127
- Este site ainda não reporta sections de post — quando reportar, cite elas aqui com @.`,"sandbox.formats.starterName":"Post padrão","sandbox.formats.suggestButton":"Sugerir formatos","sandbox.formats.suggestFailed":"Não foi possível sugerir formatos","sandbox.formats.suggestHint":"Nomear os formatos em que este blog já escreve, a partir de como os posts são montados","sandbox.formats.suggested":"{count} formato(s) adicionado(s)","sandbox.formats.unknownCitations":"Este formato cita sections que o site não tem: {names}","sandbox.generatePost.stepCampaign":"Campanha","sandbox.generatePost.campaignHint":"Um post é escrito para uma campanha: é ela que carrega o momento, os produtos que podem ser citados e os links deles.","sandbox.generatePost.noCampaigns":"Nenhuma campanha para escrever ainda. Crie uma em Contexto → Campanhas.","sandbox.generatePost.campaignProducts":"{count} produto(s)","sandbox.generatePost.campaignNoProducts":"Sem produtos","sandbox.generatePost.formatBlocksHint":"Os blocos que este formato cita são os únicos que o post pode usar, e cada um é preenchido conforme o schema dele.","sandbox.generatePost.countLabel":"Quantos rascunhos","sandbox.generatePost.countHint":"Cada um pega um ângulo diferente da mesma campanha. Caem como cartões separados.","sandbox.generatePost.coverHint":"Todo rascunho ganha uma imagem de capa, gerada e enviada para o seu bucket.","sandbox.generatePost.gapNoStoreData":"Nenhum sistema conectado respondeu, então nada nestes posts foi conferido com a loja.","sandbox.generatePost.gapSectionsDropped":"{count} seção(ões) foram descartadas: os props não bateram com o bloco que as renderiza.","sandbox.generatePost.gapNoBucket":"Nenhum bucket para enviar imagens, então os posts estão sem capa. Configure um em Configurações → Buckets.","sandbox.generatePost.gapNoImageModel":"Esta organização não tem modelo de imagem configurado, então os posts estão sem capa.","sandbox.generatePost.gapImagesFailed":"As imagens de capa não puderam ser geradas. Os posts estão completos no resto.","sandbox.generatePost.gapDraftsFailed":"{count} rascunho(s) não puderam ser escritos e os cartões ficaram vazios.","sandbox.generatePost.back":"Voltar","sandbox.generatePost.blockedBrand":"Preencha {fields} na aba Marca primeiro — um post escrito sem isso parece o de qualquer outra marca.","sandbox.generatePost.done":"Escrevi {count} rascunho(s) — prontos para revisão","sandbox.generatePost.extraLabel":"Mais alguma coisa?","sandbox.generatePost.extraPlaceholder":"O que você quer além de tudo isso, nas suas palavras.","sandbox.generatePost.failed":"Não consegui escrever estes posts","sandbox.generatePost.formatHint":"Escolha um formato que a marca já usa, ou descreva um novo.","sandbox.generatePost.formatNameLabel":"Nome do formato","sandbox.generatePost.formatNamePlaceholder":"O formato, nomeado pelo trabalho que faz","sandbox.generatePost.formatValueLabel":"Como um post assim é construído","sandbox.generatePost.formatValuePlaceholder":"Como ele abre, desenvolve e fecha.","sandbox.generatePost.generate":"Gerar {count} rascunho(s)","sandbox.generatePost.next":"Avançar","sandbox.generatePost.stepExtra":"Instruções","sandbox.generatePost.stepFormat":"Formato","sandbox.generatePost.subtitle":"Escolha a campanha e o formato. Os posts caem no quadro como rascunhos.","sandbox.generatePost.title":"Gerar posts","sandbox.itemActions.addVariant":"Adicionar variante","sandbox.itemActions.delete":"Excluir","sandbox.itemActions.duplicate":"Duplicar","sandbox.itemActions.editSeo":"Editar SEO","sandbox.itemActions.moreActions":"Mais ações","sandbox.itemActions.rename":"Renomear","sandbox.itemActions.viewJson":"Visualizar JSON","sandbox.itemRow.duplicateName":"Outro registro usa esse nome","sandbox.itemRow.missingFields":"Faltando: {fields}","sandbox.itemRow.selectItem":"Selecionar {title}","sandbox.itemRow.variantCount":"{count} variantes","sandbox.listBlocks.addCard":"Adicionar card","sandbox.listBlocks.addItem":"Adicionar item","sandbox.listBlocks.addStat":"Adicionar estatística","sandbox.listBlocks.addStep":"Adicionar passo","sandbox.listBlocks.cardBody":"Corpo do card","sandbox.listBlocks.cardTitle":"Título do card","sandbox.listBlocks.checklistItem":"Item da checklist","sandbox.listBlocks.checklistTitle":"Título da checklist (opcional)","sandbox.listBlocks.columnTitle":"Título da coluna","sandbox.listBlocks.item":"Item","sandbox.listBlocks.label":"Rótulo","sandbox.listBlocks.optionA":"Opção A","sandbox.listBlocks.optionB":"Opção B","sandbox.listBlocks.removeCard":"Remover card","sandbox.listBlocks.removeItem":"Remover item","sandbox.listBlocks.removeStat":"Remover estatística","sandbox.listBlocks.removeStep":"Remover passo","sandbox.listBlocks.statValuePlaceholder":"99%","sandbox.listBlocks.stepDescription":"Descrição do passo","sandbox.listBlocks.stepTitle":"Título do passo","sandbox.listBlocks.stepsTitle":"Título dos passos (opcional)","sandbox.mediaBlocks.addCaption":"Adicione uma legenda…","sandbox.mediaBlocks.altText":"Texto alternativo (acessibilidade)","sandbox.mediaBlocks.altLabel":"Alt","sandbox.mediaBlocks.buttonLabel":"Rótulo do botão","sandbox.mediaBlocks.calloutText":"Texto do destaque…","sandbox.mediaBlocks.calloutTitle":"Título do destaque","sandbox.mediaBlocks.destinationUrlPlaceholder":"https://url-de-destino.com","sandbox.linkSuggest.button":"Sugerir links","sandbox.linkSuggest.hint":"Encontrar trechos para linkar com seus outros posts (usa créditos de IA)","sandbox.linkSuggest.noCandidates":"Ainda não há outros posts para linkar","sandbox.linkSuggest.title":"Links internos sugeridos","sandbox.linkSuggest.description":"Escolha quais trechos linkar com seus outros posts. Nada muda até você aplicar.","sandbox.linkSuggest.none":"Nenhum link interno para sugerir.","sandbox.linkSuggest.apply":"Aplicar {count}","sandbox.linkSuggest.applied":"{count} link(s) aplicado(s)","sandbox.linkSuggest.failed":"Não foi possível sugerir links","sandbox.linkPicker.tabPost":"Post","sandbox.linkPicker.tabProduct":"Produto","sandbox.linkPicker.searchPosts":"Buscar seus posts…","sandbox.linkPicker.noPosts":"Nenhum post encontrado","sandbox.linkPicker.searchProducts":"Buscar no seu catálogo…","sandbox.linkPicker.searching":"Buscando…","sandbox.linkPicker.noProducts":"Nenhum produto encontrado","sandbox.mediaBlocks.divider":"Divisor","sandbox.mediaBlocks.fullWidth":"Largura total","sandbox.mediaBlocks.highPriority":"Prioridade","sandbox.mediaBlocks.highPriorityHint":"Carrega de imediato e com prioridade alta. Use em imagens acima da dobra.","sandbox.mediaBlocks.label":"Rótulo","sandbox.mediaBlocks.normal":"Normal","sandbox.mediaBlocks.optionalDescription":"Descrição opcional","sandbox.mediaBlocks.pasteVideoUrl":"Cole uma URL do YouTube ou Vimeo para visualizar","sandbox.mediaBlocks.statValuePlaceholder":"42%","sandbox.mediaBlocks.video":"Vídeo","sandbox.mediaBlocks.videoUrlPlaceholder":"https://youtube.com/watch?v=…","sandbox.pageFormDialog.buttonCancel":"Cancelar","sandbox.pageFormDialog.labelName":"Nome","sandbox.pageFormDialog.labelPath":"Caminho","sandbox.pageFormDialog.labelTemplate":"Modelo","sandbox.pageFormDialog.pendingCreate":"Criando…","sandbox.pageFormDialog.pendingDuplicate":"Duplicando…","sandbox.pageFormDialog.pendingSave":"Salvando…","sandbox.pageFormDialog.placeholderName":"Minha página","sandbox.pageFormDialog.placeholderPath":"/exemplo","sandbox.pageFormDialog.submitCreate":"Criar","sandbox.pageFormDialog.submitDuplicate":"Duplicar","sandbox.pageFormDialog.submitSave":"Salvar","sandbox.pageFormDialog.titleCreate":"Criar nova página","sandbox.pageFormDialog.titleDuplicate":"Duplicar página","sandbox.pageFormDialog.titleRename":"Renomear página","sandbox.pathParamPickerChip.buttonTitle":"Valor para {paramLabel} — clique para escolher","sandbox.pathParamPickerChip.couldNotLoad":"Não foi possível carregar — o servidor de desenvolvimento está rodando?","sandbox.pathParamPickerChip.kindCategoryHeading":"Categorias","sandbox.pathParamPickerChip.kindCategoryNoun":"categoria","sandbox.pathParamPickerChip.kindProductHeading":"Produtos","sandbox.pathParamPickerChip.kindProductNoun":"produto","sandbox.pathParamPickerChip.loading":"Carregando {noun}…","sandbox.pathParamPickerChip.noResults":"Nenhum resultado.","sandbox.pathParamPickerChip.pickValueHeading":"Escolha um valor para","sandbox.pathParamPickerChip.pickValueTitle":"Escolha um valor para {paramLabel}","sandbox.pathParamPickerChip.searchPlaceholder":"Procurar {options} ou digite um valor…","sandbox.pathParamPickerChip.useRawValue":'Usar "{rawTerm}" como {paramLabel}',"sandbox.plainBlocks.bulletedLabel":"Com marcadores","sandbox.plainBlocks.codePlaceholder":"Código","sandbox.plainBlocks.headingLevel1":"Título 1","sandbox.plainBlocks.headingLevel2":"Título 2","sandbox.plainBlocks.headingLevel3":"Título 3","sandbox.plainBlocks.headingLevel4":"Título 4","sandbox.plainBlocks.headingPlaceholder":"Título","sandbox.plainBlocks.languagePlaceholder":"linguagem","sandbox.plainBlocks.listItemPlaceholder":"Item de lista","sandbox.plainBlocks.numberedLabel":"Numerada","sandbox.plainBlocks.quotePlaceholder":"Citação","sandbox.postBoard.close":"Fechar","sandbox.postBoard.archived":"Movido para Arquivado","sandbox.postBoard.collapse":"Recolher para o painel","sandbox.postBoard.collapseLane":"Recolher {lane}","sandbox.postBoard.delete":"Excluir","sandbox.postBoard.emptyDescription":"Gere algumas ideias e transforme-as em posts publicados.","sandbox.postBoard.emptyTitle":"Nenhum post ainda","sandbox.postBoard.duplicateTitle":"Título duplicado","sandbox.postBoard.expand":"Expandir para página inteira","sandbox.postBoard.expandLane":"Expandir {lane}","sandbox.postBoard.laneEmpty":"Nada aqui ainda","sandbox.postBoard.laneArchived":"Arquivado","sandbox.postBoard.laneGenerating":"Gerando","sandbox.postBoard.laneDraft":"Rascunho","sandbox.postBoard.laneAwaitingReview":"Aguardando revisão","sandbox.postBoard.lanePublished":"Publicado","sandbox.postBoard.laneScheduled":"Agendado","sandbox.postBoard.moveBlocked":"Este post está sem campos obrigatórios — abra-o para concluir antes de agendar.","sandbox.postBoard.moveFailed":"Não foi possível mover este post","sandbox.postBoard.moveInFlight":"Ainda movendo este post…","sandbox.postBoard.moveNotATarget":"Gerando é definido pela geração, não à mão.","sandbox.postBoard.nIssues":"{count} a corrigir antes de agendar","sandbox.postBoard.newPost":"Novo post","sandbox.postBoard.newPostGenerate":"Gerar","sandbox.postBoard.newPostGenerateHint":"Escrever com IA, a partir do seu contexto","sandbox.postBoard.newPostWrite":"Escrever","sandbox.postBoard.newPostWriteHint":"Começar um rascunho vazio você mesmo","sandbox.postBoard.importContent":"Importar conteúdo","sandbox.postBoard.importContentHint":"Traga o HTML ou Markdown que você já escreveu","sandbox.postBoard.importTitle":"Importar conteúdo","sandbox.postBoard.importDescription":"Cole o HTML ou Markdown que você já escreveu. Vira um rascunho editável no seu design system — sem IA, sem créditos.","sandbox.postBoard.importUpload":"Enviar um arquivo","sandbox.postBoard.importRun":"Importar","sandbox.postBoard.importEmpty":"Nada para importar — o conteúdo estava vazio.","sandbox.postBoard.imported":"Importado — revise e publique.","sandbox.postBoard.readyToSchedule":"Pronto para agendar","sandbox.postBoard.selectPrompt":"Selecione um post para vê-lo aqui.","sandbox.postBoard.untitled":"Post sem título","sandbox.postBoard.generatingLabel":"Gerando…","sandbox.postBoard.usesCredits":"Usa créditos de IA","sandbox.postBoard.viewBoard":"Quadro","sandbox.postBoard.viewList":"Lista","sandbox.postCalendar.couldNotCreate":"Não foi possível criar","sandbox.postCalendar.couldNotReschedule":"Não foi possível reagendar","sandbox.postCalendar.createdScheduledPost":"Post agendado criado","sandbox.postCalendar.legendScheduled":"Agendado","sandbox.postCalendar.legendUnscheduled":"Não agendado","sandbox.postCalendar.next":"Próximo mês","sandbox.postCalendar.onlyScheduledCanMove":"Apenas posts agendados podem ser movidos.","sandbox.postCalendar.previous":"Mês anterior","sandbox.postCalendar.schedulePostOn":"Agendar um post em {date}","sandbox.postCalendar.today":"Hoje","sandbox.postCalendar.unscheduledHint":"Posts tracejados não estão agendados — estão na data de exibição deles, e nada vai publicá-los.","sandbox.postCalendar.undatedEmpty":"Todos os posts têm data.","sandbox.postCalendar.undatedLabel":"Sem data · {count}","sandbox.postEditor.addPropLabel":"Adicionar propriedade","sandbox.postEditor.authorsLabel":"Autores","sandbox.postEditor.categoriesLabel":"Categorias","sandbox.postEditor.contentTab":"Conteúdo","sandbox.postEditor.coverAltDescription":"Descreve a imagem para leitores de tela e para quando ela não carrega. Vazio: o título do post é usado.","sandbox.postEditor.coverAltLabel":"Texto alternativo da capa","sandbox.postEditor.coverImageLabel":"Imagem de capa","sandbox.postEditor.dateLabel":"Data","sandbox.postEditor.deletePost":"Excluir post","sandbox.postEditor.deletePostCancel":"Cancelar","sandbox.postEditor.deletePostConfirmBody":'"{title}" será removido permanentemente. Isso não pode ser desfeito.',"sandbox.postEditor.deletePostConfirmBodyDraft":'"{title}" será removido do seu rascunho. Nada vai ao ar até você publicar, e até lá você pode trazê-lo de volta descartando esta alteração em Publicar.',"sandbox.postEditor.deletePostConfirmBodyNeverPublished":'"{title}" será removido do seu rascunho. Ele nunca foi publicado, então nada muda no site no ar, e depois de removido não dá para trazer de volta.',"sandbox.postEditor.deletePostConfirmTitle":"Excluir este post?","sandbox.postEditor.deletePostFailed":"Falha ao excluir","sandbox.postEditor.deletePostSuccess":'"{title}" excluído',"sandbox.postEditor.deletingPost":"Excluindo…","sandbox.postEditor.duplicateTitleWarning":"Já existe outro post com esse título. Títulos duplicados competem entre si na busca.","sandbox.postEditor.excerptLabel":"Resumo","sandbox.postEditor.extraPropsLabel":"Propriedades extras","sandbox.postEditor.issuePlural":"problemas","sandbox.postEditor.issueSingular":"problema","sandbox.postEditor.keyPlaceholder":"chave","sandbox.postEditor.missingFieldPlural":"Campos obrigatórios faltando: {fields}","sandbox.postEditor.missingFieldSingular":"Campo obrigatório faltando: {fields}","sandbox.postEditor.noAuthorsYet":"Nenhum autor ainda — crie alguns na coleção de autores.","sandbox.postEditor.noCategoriesYet":"Nenhuma categoria ainda — crie algumas na coleção de categorias.","sandbox.postEditor.noContentYet":"Este post ainda não tem conteúdo. Use ⊕ para adicionar seu primeiro bloco.","sandbox.postEditor.postTitlePlaceholder":"Título do post","sandbox.postEditor.readTimeLabel":"Tempo de leitura (minutos)","sandbox.postEditor.previewRequiresSlugAndCategory":"Defina o slug do post (e sua categoria) mais o pageSlug do aplicativo de blog para visualizar","sandbox.postEditor.previewTooltip":"Abrir visualização do post em uma nova aba","sandbox.postEditor.scheduledDatetimeDescription":"Quando este post entra no ar. O site publica sozinho depois que esse momento passa.","sandbox.postEditor.scheduledDatetimeLabel":"Entra no ar em","sandbox.postEditor.removePropLabel":"Remover propriedade","sandbox.postEditor.seePreview":"Ver visualização","sandbox.postEditor.selectAuthorsPlaceholder":"Selecionar autores","sandbox.postEditor.selectCategoriesPlaceholder":"Selecionar categorias","sandbox.postEditor.seoCanonicalLabel":"URL canônica","sandbox.postEditor.seoCanonicalPlaceholder":"https://exemplo.com/blog/meu-post","sandbox.postEditor.seoDescriptionLabel":"Descrição de SEO","sandbox.postEditor.seoImageLabel":"Imagem de SEO","sandbox.postEditor.seoNoIndexingLabel":"Ocultar dos mecanismos de busca (noindex)","sandbox.postEditor.seoSectionHint":"Sobrescreve como este post aparece nos mecanismos de busca. Campos vazios usam o título, resumo e imagem de capa do post.","sandbox.postEditor.seoSectionLabel":"SEO","sandbox.postEditor.seoTitleLabel":"Título de SEO","sandbox.postEditor.settingsTab":"Configurações","sandbox.postEditor.statusLabel":"Status","sandbox.postEditor.slugDeduped":"Esse slug já estava em uso — salvamos como “{slug}”.","sandbox.postEditor.slugLabel":"Slug","sandbox.postEditor.slugPlaceholder":"meu-post","sandbox.postEditor.valuePlaceholder":"valor","sandbox.postList.noMatches":"Nenhum post corresponde à busca ou aos filtros.","sandbox.postToolbar.allPosts":"Todos os posts","sandbox.postToolbar.archiveSelected":"Arquivar selecionados","sandbox.postToolbar.archiveSelectedPosts":"Arquivar posts selecionados","sandbox.postToolbar.authorLabel":"Autor","sandbox.postToolbar.categoryLabel":"Categoria","sandbox.postToolbar.clearFilter":"Limpar filtro","sandbox.postToolbar.deselectAll":"Desselecionar tudo","sandbox.postToolbar.deselectAllPosts":"Desselecionar todos os posts","sandbox.postToolbar.exitSelection":"Sair da seleção","sandbox.postToolbar.filterBy":"Filtrar por","sandbox.postToolbar.filterLabel":"Filtro","sandbox.postToolbar.itemsSelected":"Selecionados: {count}","sandbox.postToolbar.clearSearch":"Limpar busca","sandbox.postToolbar.searchAriaLabel":"Buscar posts","sandbox.postToolbar.searchPlaceholder":"Buscar posts","sandbox.postToolbar.selectAll":"Selecionar tudo","sandbox.postToolbar.selectAllPosts":"Selecionar todos os posts","sandbox.postToolbar.sortAZ":"A–Z","sandbox.postToolbar.sortBy":"Ordenar por","sandbox.postToolbar.sortNewest":"Recentes","sandbox.postToolbar.sortNewestFirst":"Mais recentes primeiro","sandbox.postToolbar.sortOldest":"Antigas","sandbox.postToolbar.sortOldestFirst":"Mais antigas primeiro","sandbox.postToolbar.sortTitleAZ":"Título A–Z","sandbox.postToolbar.sortTitleZA":"Título Z–A","sandbox.postToolbar.sortZA":"Z–A","sandbox.postToolbar.statusLabel":"Status","sandbox.preview.catchAllParamLabel":"caminho","sandbox.preview.choosePage":"Escolher página","sandbox.preview.clickElementToAsk":"Clique em qualquer elemento para perguntar à IA","sandbox.preview.collapseTerminal":"Recolher terminal","sandbox.preview.expandTerminal":"Expandir terminal","sandbox.preview.resizeTerminal":"Redimensionar terminal","sandbox.preview.createNewPage":"Criar nova página","sandbox.preview.devServerPreviewTitle":"Visualização do servidor de desenvolvimento","sandbox.preview.deviceDesktop":"Desktop","sandbox.preview.deviceMobile":"Celular (375px)","sandbox.preview.deviceTablet":"Tablet (768px)","sandbox.preview.enterToGo":"Enter para ir","sandbox.preview.failedToCreatePage":"Falha ao criar página","sandbox.preview.globalBadge":"Global","sandbox.preview.globalComponents":"Componentes globais","sandbox.preview.globalLoaders":"Loaders globais","sandbox.preview.loaderBadge":"Loader","sandbox.preview.loaderNoLongerExists":"Este loader não existe mais.","sandbox.preview.noPagesFound":"Nenhuma página encontrada neste site.","sandbox.preview.noSearchResults":"Nenhum resultado corresponde à sua pesquisa.","sandbox.preview.siteRoutes":"Rotas do site","sandbox.preview.noServerRunning":"Nenhum servidor em execução","sandbox.preview.openInNewTab":"Abrir em nova aba","sandbox.preview.pageAlreadyExists":'Uma página com o caminho "{path}" já existe.',"sandbox.preview.pageCreated":'Página "{name}" criada',"sandbox.preview.blockOnNoPage":"Este bloco não é usado em nenhuma página, então não há o que visualizar.","sandbox.preview.previewMetadataNotReady":"Metadados de visualização não estão prontos ainda","sandbox.preview.pageSchemaNotReady":"O site ainda está carregando. Tente de novo em instantes.","sandbox.preview.searchPagesAndComponents":"Procurar páginas e componentes...","sandbox.preview.startingPreview":"Iniciando seu preview","sandbox.preview.startingPreviewHint":"Mostrando seu site publicado. Você já pode fazer alterações — elas aparecem quando o preview estiver pronto.","sandbox.preview.templateNoLongerExists":"O modelo selecionado não existe mais.","sandbox.preview.valueForParam":"Valor de {label}","sandbox.preview.blocksEditor":"Editor de blocos","sandbox.preview.visualEditor":"Editor visual","sandbox.productBlocks.addProductIdButton":"Adicionar ID do produto","sandbox.productBlocks.addProductsButton":"Adicionar produtos","sandbox.productBlocks.addProductsDescription":"Pesquise produtos VTEX ou escolha uma categoria ou cluster","sandbox.productBlocks.browseProductsButton":"Procurar produtos","sandbox.productBlocks.changeButton":"Alterar","sandbox.productBlocks.chooseProductButton":"Escolher um produto","sandbox.productBlocks.ctaLabelField":"Rótulo de CTA","sandbox.productBlocks.ctaLabelPlaceholder":"Ver produto","sandbox.productBlocks.dragToReorderLabel":"Arraste para reordenar","sandbox.productBlocks.headingH1":"H1","sandbox.productBlocks.headingH2":"H2","sandbox.productBlocks.headingH3":"H3","sandbox.productBlocks.headingNormal":"Normal","sandbox.productBlocks.idLabel":"ID {id}","sandbox.productBlocks.loadingEllipsis":"Carregando…","sandbox.productBlocks.productCardLabel":"Cartão de produto","sandbox.productBlocks.productField":"Produto","sandbox.productBlocks.productPlural":"produtos","sandbox.productBlocks.productSingular":"produto","sandbox.productBlocks.productSlugField":"Slug do produto","sandbox.productBlocks.productSlugPlaceholder":"slug-do-produto","sandbox.productBlocks.productWithId":"Produto {id}","sandbox.productBlocks.removeProductButton":"Remover produto","sandbox.productBlocks.removeProductIdButton":"Remover ID do produto","sandbox.productBlocks.removeProductLabel":"Remover produto","sandbox.productBlocks.shelfTitlePlaceholder":"Título da prateleira","sandbox.productBlocks.skuIdPlaceholder":"151331","sandbox.productBlocks.startDevServerDescription":"Inicie o servidor de desenvolvimento para procurar produtos ou adicione IDs de SKU abaixo.","sandbox.productBlocks.vtexProductIdPlaceholder":"ID de produto VTEX (ex. 151331)","sandbox.productBlocks.vtexProductIds":"IDs de produtos VTEX","sandbox.productPickerDialog.addProducts":"Adicionar produtos","sandbox.productPickerDialog.categoryLabel":"Categoria: ","sandbox.productPickerDialog.change":" — alterar","sandbox.productPickerDialog.chooseProduct":"Escolher um produto","sandbox.productPickerDialog.clusterIdPlaceholder":"ID da coleção / cluster (ex.: 2140)","sandbox.productPickerDialog.couldNotLoad":"Não foi possível carregar — o servidor de desenvolvimento está em execução?","sandbox.productPickerDialog.done":"Concluído","sandbox.productPickerDialog.enterClusterPrompt":"Digite um ID de coleção ou cluster.","sandbox.productPickerDialog.filterCategoriesPlaceholder":"Filtrar categorias…","sandbox.productPickerDialog.loadingCategories":"Carregando categorias…","sandbox.productPickerDialog.loadingProducts":"Carregando produtos…","sandbox.productPickerDialog.modeCategory":"Categoria","sandbox.productPickerDialog.modeClusterId":"ID do cluster","sandbox.productPickerDialog.modeSearch":"Busca","sandbox.productPickerDialog.noCategories":"Nenhuma categoria.","sandbox.productPickerDialog.noProductsFound":"Nenhum produto encontrado.","sandbox.productPickerDialog.noneSelected":"Nenhum selecionado","sandbox.productPickerDialog.pickCategoryPrompt":"Escolha uma categoria para ver seus produtos.","sandbox.productPickerDialog.searchProductsPlaceholder":"Buscar produtos por nome ou ID…","sandbox.productPickerDialog.selectedCount":"{count} selecionado(s)","sandbox.recordEditor.fieldAvatar":"Avatar","sandbox.recordEditor.fieldCompany":"Empresa","sandbox.recordEditor.fieldEmail":"E-mail","sandbox.recordEditor.fieldJobTitle":"Cargo","sandbox.recordEditor.fieldName":"Nome","sandbox.recordEditor.fieldType":"Tipo","sandbox.recordEditor.fieldUrl":"Site","sandbox.recordEditor.optionOrganization":"Organização","sandbox.recordEditor.optionPerson":"Pessoa","sandbox.recordEditor.placeholderEmail":"autor@exemplo.com","sandbox.recordEditor.placeholderUrl":"https://exemplo.com","sandbox.recordEditor.titleAuthor":"Autor","sandbox.redirectFormDialog.title":"Criar redirecionamento","sandbox.redirectFormDialog.submit":"Criar","sandbox.redirectFormDialog.pending":"Criando…","sandbox.redirectFormDialog.cancel":"Cancelar","sandbox.redirectFormDialog.errorRequired":"De e Para são obrigatórios.","sandbox.redirectEditor.discardQueryParameters":"Descartar parâmetros de consulta","sandbox.redirectEditor.fromDescription":"O caminho de origem a corresponder. Suporta sintaxe URLPattern (ex. /produto/:slug).","sandbox.redirectEditor.fromLabel":"De","sandbox.redirectEditor.fromPlaceholder":"/caminho-antigo","sandbox.redirectEditor.statusDescription":"Um código de status explícito prevalece sobre o tipo.","sandbox.redirectEditor.statusFromType":"Seguir o tipo ({status})","sandbox.redirectEditor.statusLabel":"Código de status","sandbox.redirectEditor.title":"Redirecionamento","sandbox.redirectEditor.toDescription":"O destino — um caminho relativo ou uma URL absoluta.","sandbox.redirectEditor.toLabel":"Para","sandbox.redirectEditor.toPlaceholder":"/caminho-novo","sandbox.redirectEditor.typeLabel":"Tipo","sandbox.redirectEditor.typePermanent":"Permanente ({status})","sandbox.redirectEditor.typePlaceholder":"Tipo","sandbox.redirectEditor.typeTemporary":"Temporário ({status})","sandbox.cmsSettings.title":"CMS","sandbox.cmsSettings.preview.title":"Preview","sandbox.cmsSettings.preview.description":"Veja suas alterações antes de publicá-las.","sandbox.cmsSettings.fastPreview.label":"Preview Rápido","sandbox.cmsSettings.fastPreview.description":"Novos chats começam como sessões de CMS, pré-visualizadas no seu servidor de preview em vez de um sandbox. Chats existentes mantêm o modo com que foram criados.","sandbox.cmsSettings.fastPreview.needsPreviewServerUrl":"Defina um servidor de preview acima para ativar o Preview Rápido.","sandbox.cmsSettings.blocksV8.needsPreviewServerUrl":"Adicione o endereço do seu site acima para visualizar rascunhos. Até lá, novos chats começam uma sessão de código.","sandbox.cmsSettings.fastPreviewInPlace.label":"Preview instantâneo (experimental)","sandbox.cmsSettings.fastPreviewInPlace.description":"Atualiza as edições no lugar, sem esperar o salvamento — bem mais rápido, mas só funciona em sites que têm a rota /live/previews.","sandbox.cmsSettings.contentEditing.on":"Ativado","sandbox.cmsSettings.contentEditing.onDescription":"O Editor do Site oferece Conteúdo e abre Blocos ao lado do Preview no desktop.","sandbox.cmsUnavailable.noPreviewServer":"É uma sessão de CMS, mas este projeto não tem servidor de preview configurado.","sandbox.cmsUnavailable.noRepo":"É uma sessão de CMS, mas este projeto não tem repositório do GitHub para salvar.","sandbox.cmsUnavailable.startCodingSession":"Continuar esta branch em uma sessão de código","sandbox.previewServerUrlField.description":"O endereço do seu servidor ativo, usado para pré-visualizar conteúdo. Necessário para o Preview Rápido.","sandbox.previewServerUrlField.descriptionBlocksV8":"O endereço do seu site no ar. O Studio mostra seus rascunhos nele antes de você publicar. Um endereço novo mostra rascunhos após a próxima publicação.","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.runnableBlockEditor.availableModeDescription":"{typeLabel} — edições permanecem locais até que você salve como um {singular} global. Execute para invocar contra a visualização em tempo real.","sandbox.runnableBlockEditor.closeJsonEditor":"Fechar editor JSON","sandbox.runnableBlockEditor.closeResult":"Fechar resultado","sandbox.runnableBlockEditor.collapse":"Recolher","sandbox.runnableBlockEditor.collapseResult":"Recolher resultado","sandbox.runnableBlockEditor.editAsJson":"Editar como JSON","sandbox.runnableBlockEditor.expand":"Expandir","sandbox.runnableBlockEditor.expandResult":"Expandir resultado","sandbox.runnableBlockEditor.failedToRun":"Falha ao executar {singular}","sandbox.runnableBlockEditor.freeformPropsEmptyState":"Este {singular} não publica um esquema de props. Edite suas props como JSON e execute.","sandbox.runnableBlockEditor.inferredSchemaNotice":"Este {singular} não publica um esquema de props — os campos abaixo são inferidos de seus valores salvos. Use o editor JSON para adicionar props não mostrados aqui.","sandbox.runnableBlockEditor.invalidJsonError":"JSON inválido — mudanças não são salvas até que seja analisado.","sandbox.runnableBlockEditor.noInputEmptyState":"Este {singular} não aceita entrada configurável. Execute para ver seu resultado.","sandbox.runnableBlockEditor.openInNewTabTooltip":"Abrir em nova aba (executa novamente o {singular})","sandbox.runnableBlockEditor.openResultInNewTabAriaLabel":"Abrir resultado em nova aba","sandbox.runnableBlockEditor.pressRunToInvoke":"Pressione Executar para invocar este {singular}.","sandbox.runnableBlockEditor.resultPanelTitle":"Resultado","sandbox.runnableBlockEditor.run":"Executar","sandbox.runnableBlockEditor.runAriaLabel":"Executar {singular}","sandbox.runnableBlockEditor.running":"Executando {singular}…","sandbox.runnableBlockEditor.saveAsGlobal":"Salvar como {singular} global","sandbox.runnableBlockEditor.saveAsGlobalAriaLabel":"Salvar como {singular} global","sandbox.runnableBlockEditor.savedModeDescription":"{singular} global — mudanças são salvas automaticamente. Execute para invocar contra a visualização em tempo real.","sandbox.runnableBlocksBrowser.emptyFolder":"Esta pasta está vazia.","sandbox.runnableBlocksBrowser.emptyFolderNoManifest":"Inicie o servidor de desenvolvimento de pré-visualização para que o manifest seja carregado.","sandbox.runnableBlocksBrowser.emptyFolderTitle":"Nenhum {kind} aqui","sandbox.runnableBlocksBrowser.folderBreadcrumb":"Navegação de pastas","sandbox.runnableBlocksBrowser.hideSaved":"Ocultar salvos","sandbox.runnableBlocksBrowser.noSearchResults":'Nenhum {kind} corresponde a "{query}"',"sandbox.runnableBlocksBrowser.noSearchResultsDescription":"A pesquisa abrange todas as pastas — tente um termo diferente.","sandbox.runnableBlocksBrowser.savedBlockToast":'{singular} "{blockId}" salvo(a)',"sandbox.runnableBlocksBrowser.savedCountLabel":"{count} salvo(s)","sandbox.runnableBlocksBrowser.searchAriaLabel":"Pesquisar todos os {kind}","sandbox.runnableBlocksBrowser.searchPlaceholder":"Pesquisar todos os {kind}…","sandbox.runnableBlocksBrowser.seeSaved":"Ver salvos","sandbox.runtimeFields.auto":"Automático","sandbox.runtimeFields.autoDetect":"Auto-detectar","sandbox.runtimeFields.devServerPort":"Porta do servidor de desenvolvimento","sandbox.runtimeFields.devServerPortDescription":"Deixe em branco para deixar o executor escolher.","sandbox.runtimeFields.packageManager":"Gerenciador de pacotes","sandbox.runtimeFields.packagePath":"Caminho do pacote","sandbox.runtimeFields.packagePathDescription":"Caminho (relativo à raiz do repositório) do diretório que contém package.json. Deixe em branco para a raiz do repositório.","sandbox.runtimeApps.title":"Outros apps","sandbox.runtimeApps.description":"Outros apps deste repositório para ver ao lado do principal, até {max}. Cada um roda o próprio servidor de desenvolvimento.","sandbox.runtimeApps.add":"Adicionar app","sandbox.runtimeApps.remove":"Remover {path}","sandbox.runtimeApps.duplicate":"Este app já está na lista.","sandbox.appTabs.label":"Apps","sandbox.appTabs.root":"raiz","sandbox.appTabs.main":"Principal","sandbox.appTabs.remove":"Remover {app}","sandbox.appTabs.add":"Adicionar outro app deste repositório","sandbox.appTabs.pathLabel":"Caminho do app no repositório, como apps/checkout","sandbox.appTabs.mainHint":"O chat e o editor trabalham neste app.","sandbox.appTabs.extraHint":"Só preview. O chat continua trabalhando em {app}.","sandbox.appPane.previewOnly":"Só preview. O chat e o editor continuam em {app}.","sandbox.appTabs.saveError":"Não foi possível salvar os apps do projeto.","sandbox.appTabs.split":"Ver lado a lado","sandbox.appTabs.single":"Ver um app","sandbox.appPane.path":"Caminho em {app}","sandbox.appPane.reload":"Recarregar {app}","sandbox.appPane.openInNewTab":"Abrir {app} em nova aba","sandbox.appPane.close":"Fechar {app}","sandbox.appPane.failed":"A sandbox não conseguiu iniciar. Tente de novo em {app}.","sandbox.appPane.waiting":"Iniciando a sandbox…","sandbox.appPane.noUrl":"Este app não tem endereço de preview.","sandbox.appPane.notStarted":"{app} ainda não está rodando: a sandbox subiu antes de ele ser adicionado.","sandbox.appPane.start":"Iniciar {app}","sandbox.savedSectionEditor.closeJsonEditor":"Fechar editor JSON","sandbox.saveStatus.failed":"Não foi possível salvar","sandbox.saveStatus.saved":"Salvo","sandbox.saveStatus.saving":"Salvando…","sandbox.savedSectionEditor.editAsJson":"Editar como JSON","sandbox.savedSectionEditor.globalSectionDescription":"Seção global — alterações são salvas automaticamente e aplicadas em todos os locais onde é usada.","sandbox.savedSectionEditor.invalidJsonError":"JSON inválido — as alterações não serão salvas até que seja processado.","sandbox.savedSectionEditor.noEditableFields":"Nenhum campo editável para esta seção.","sandbox.schemaless.agentPrompt":"O conteúdo deste site é editado no deco Studio, mas o Studio ainda não recebeu o schema do site, então os formulários de conteúdo mostram campos crus. Configure isso neste repositório:\n\n1. Garanta que o @decocms/blocks está na versão 8.11.0 ou mais nova (atualize se não estiver) e rode `npx deco skills install` para adicionar as skills do framework deco a este repositório.\n2. Carregue a skill deco-site-workflow e siga o references/schema.md dela: gere o schema com `npx deco schema` e faça commit de .deco/schema.gen.json; faça o DECO_SITE apontar para o site {site} do Studio; envie o schema ao Studio com `npx deco schema push`; e inclua `npx deco schema push` no deploy de produção (depois que o deploy der certo, com uma chave de API do Studio no secret DECO_TOKEN) para que todo deploy o envie.\n3. Rode `npx deco check` e me conte o que você mudou e o que cada comando imprimiu.","sandbox.schemaless.agentPromptSiteUnknown":"que este projeto usa (me pergunte o nome se não encontrar)","sandbox.schemaless.back":"Todos os blocos","sandbox.schemaless.bannerBody":"Este site ainda não enviou ao Studio o schema dele (a descrição dos campos de cada formulário), então cada bloco abre com campos simples criados a partir dos valores salvos. Salvar continua mantendo todo o resto como está. Peça ao agente de código que trabalha no seu site para configurar isso: copie o prompt e cole no agente. Leva um deploy, e os formulários aqui se atualizam sozinhos.","sandbox.schemaless.bannerTitle":"Os formulários de conteúdo estão mostrando campos crus","sandbox.schemaless.copyPrompt":"Copiar prompt para o seu agente","sandbox.schemaless.copyPromptFailed":"Não foi possível copiar o prompt. Verifique se esta página pode usar a área de transferência e tente de novo.","sandbox.schemaless.empty":"Vazio","sandbox.schemaless.installSkill":"Instalar a skill","sandbox.schemaless.item":"Item {n}","sandbox.schemaless.itemCount":"{count} itens","sandbox.schemaless.listLabel":"Blocos salvos","sandbox.schemaless.noBlocks":"Nenhum bloco salvo ainda.","sandbox.schemaless.noMatches":"Nenhum bloco corresponde à busca.","sandbox.schemaless.noType":"Sem tipo","sandbox.schemaless.notANumber":"Digite um número. O valor salvo continua até você digitar.","sandbox.schemaless.notSet":"Sem valor","sandbox.schemaless.pickBlock":"Escolha um bloco para ver o conteúdo.","sandbox.schemaless.promptCopied":"Copiado","sandbox.schemaless.promptCopiedAnnouncement":"Prompt copiado para a área de transferência","sandbox.schemaless.searchPlaceholder":"Buscar blocos","sandbox.schemaless.usesSkill":"Usa a skill deco-site-workflow","sandbox.sectionRenameDialog.cancel":"Cancelar","sandbox.sectionRenameDialog.description":"Atualiza o nome de exibição. A chave interna permanece a mesma para que as páginas que referem esta seção continuem funcionando.","sandbox.sectionRenameDialog.keyLabel":"Chave","sandbox.sectionRenameDialog.nameLabel":"Nome","sandbox.sectionRenameDialog.save":"Salvar","sandbox.sectionRenameDialog.saving":"Salvando…","sandbox.sectionRenameDialog.title":"Renomear seção","sandbox.sectionsRightPane.selectSectionDescription":"Escolha uma seção salva para editar, ou uma disponível para personalizar e salvar como global.","sandbox.sectionsRightPane.selectSectionTitle":"Selecione uma seção para editar","sandbox.stateCard.erroredHeadline":"Não foi possível iniciar o sandbox","sandbox.stateCard.githubConnectionMissingMessage":"A conexão do GitHub usada neste chat foi removida. Vincule o repositório novamente para iniciar o sandbox.","sandbox.stateCard.linkRepoAgain":"Vincular repositório","sandbox.stateCard.githubNotAuthenticatedMessage":"O repositório GitHub deste projeto não está autenticado. Reconecte em Conexões e tente novamente.","sandbox.stateCard.reconnectGithub":"Reconectar GitHub","sandbox.stateCard.resume":"Retomar","sandbox.stateCard.resumeToContinue":"Retome para continuar.","sandbox.stateCard.retry":"Tentar Novamente","sandbox.stateCard.suspendedHeadline":"O sandbox está pausado","sandbox.tableBlock.addColumn":"Adicionar coluna","sandbox.tableBlock.addRow":"Adicionar linha","sandbox.tableBlock.headerPlaceholder":"Cabeçalho {n}","sandbox.tableBlock.noRowsYet":"Nenhuma linha ainda — adicione uma abaixo.","sandbox.tableBlock.removeColumn":"Remover coluna {n}","sandbox.tableBlock.removeRow":"Remover linha {n}","sandbox.toolbar.closeTab":"Fechar {tab}","sandbox.toolbar.moreActions":"Mais ações","sandbox.toolbar.noScriptsFound":"Nenhum script encontrado","sandbox.toolbar.restart":"Reiniciar","sandbox.toolbar.resume":"Retomar","sandbox.toolbar.retry":"Tentar Novamente","sandbox.toolbar.run":"Executar","sandbox.toolbar.runAScript":"executar um script","sandbox.toolbar.runScript":"Executar script","sandbox.toolbar.setupTab":"sandbox","sandbox.toolbar.start":"Iniciar","sandbox.toolbar.startProcess":"Iniciar processo","sandbox.toolbar.stop":"Parar","sandbox.toolbar.stopProcess":"Parar processo","sandbox.toolbar.stopSandboxTooltip":"Parar sandbox","sandbox.toolbar.stopping":"Parando…","sandbox.variantCalendar.always":"Sempre","sandbox.variantCalendar.calendarMode":"Calendário","sandbox.variantCalendar.dateMatcherInfo":"Variantes condicionadas a um critério de data aparecem aqui.","sandbox.variantCalendar.hiddenOngoingVariants":'{count} variante(s) em andamento oculta(s) — ative "Mostrar em andamento" para visualizar.',"sandbox.variantCalendar.next":"Próximo","sandbox.variantCalendar.noDatedVariants":"Nenhuma variante com data à vista.","sandbox.variantCalendar.noScheduledVariants":"Nenhuma variante agendada.","sandbox.variantCalendar.ongoing":"Em andamento","sandbox.variantCalendar.previous":"Anterior","sandbox.variantCalendar.showOngoing":"Mostrar em andamento ({count})","sandbox.variantCalendar.timelineMode":"Linha do tempo","sandbox.variantCalendar.today":"Hoje","sandbox.variantCalendar.todayLabel":"Hoje","sandbox.variantCalendar.variantBlock":"Variante / Bloco","sandbox.visualEditorPrompt.inputPlaceholder":"Pergunte à IA...","sandbox.visualEditorPrompt.sendButton":"Enviar","sandbox.calendarView.noDraft.title":"Escolha um rascunho para planejar suas campanhas","sandbox.calendarView.noDraft.desc":"Suas campanhas ficam salvas em um rascunho, como qualquer outra edição. Escolha um rascunho na barra acima ou abra o editor do site para começar um.","sandbox.calendarView.loadFailed":"Não foi possível carregar suas campanhas.","sandbox.calendarView.loadFailedHint":"Nada foi alterado. Tente de novo em instantes.","sandbox.dateCampaigns.intro":"Toda data do seu site é uma campanha: uma variante com a regra “Campanha” aparece enquanto a campanha dela está rodando. As mudanças ficam salvas no seu rascunho e vão ao ar quando você publica.","sandbox.dateCampaigns.new":"Nova campanha","sandbox.dateCampaigns.empty.title":"Nenhuma campanha ainda","sandbox.dateCampaigns.empty.desc":"Crie uma aqui ou a partir de uma variante no editor do site: escolha a regra “Campanha” e digite um nome.","sandbox.dateCampaigns.listMode":"Lista","sandbox.dateCampaigns.timelineMode":"Linha do tempo","sandbox.dateCampaigns.status.running":"Rodando","sandbox.dateCampaigns.status.upcoming":"Em breve","sandbox.dateCampaigns.status.ended":"Encerrada","sandbox.dateCampaigns.status.always":"Sempre ativa","sandbox.dateCampaigns.status.unreadable":"Datas ilegíveis","sandbox.dateCampaigns.state.new":"Ainda não publicada","sandbox.dateCampaigns.state.changed":"Alterada no seu rascunho","sandbox.dateCampaigns.removedTitle":"Removidas no seu rascunho","sandbox.dateCampaigns.removedHint":"Estas campanhas param quando você publicar. Para manter uma, crie-a de novo com o mesmo nome.","sandbox.dateCampaigns.unreadableHint":"Uma das datas não pode ser lida, então as variantes dela não aparecem. Escolha novas datas e salve.","sandbox.dateCampaigns.publishedWindow":"Publicado: {window}","sandbox.dateCampaigns.saveDates":"Salvar datas","sandbox.dateCampaigns.delete":"Excluir campanha","sandbox.dateCampaigns.deleted":"Campanha “{name}” excluída do seu rascunho","sandbox.dateCampaigns.deletedHint":"Ela sai do site quando você publicar. Desfazer traz ela de volta.","sandbox.dateCampaigns.allCampaigns":"Todas as campanhas","sandbox.dateCampaigns.today":"Hoje","sandbox.dateCampaigns.previous":"Antes","sandbox.dateCampaigns.next":"Depois","sandbox.dateCampaigns.nothingInRange":"Nenhuma campanha roda nestes meses.","sandbox.dateCampaigns.missing.title":"Seu site precisa de uma atualização para campanhas","sandbox.dateCampaigns.missing.desc":"Peça ao seu desenvolvedor para atualizar o site para a versão mais recente do Blocks e publicá-lo. Suas campanhas vão aparecer aqui.","sandbox.dateCampaigns.replaced.title":"Seu site cuida das campanhas no próprio código","sandbox.dateCampaigns.replaced.desc":"Os desenvolvedores definiram as próprias campanhas, então elas não podem ser alteradas aqui. Pergunte a eles como mudar uma.","sandbox.dateCampaigns.conflict.title":"Seu site já tem um bloco chamado “campaigns”","sandbox.dateCampaigns.conflict.desc":"Ele não é uma lista de campanhas, então ainda não dá para adicionar campanhas. Renomeie esse bloco e volte aqui.","sandbox.previewAs.label":"Visualizar como","sandbox.previewAs.intro":"Só esta pré-visualização muda. Seus visitantes continuam vendo o site como ele está.","sandbox.previewAs.unavailable":"Faça uma mudança ou publique o site primeiro; depois a pré-visualização pode mostrar outro momento ou forçar um teste.","sandbox.previewAs.momentLabel":"Visualizar em","sandbox.previewAs.momentHint":"As campanhas aparecem como vão estar neste momento. Os horários estão no fuso do seu computador.","sandbox.previewAs.now":"Agora","sandbox.previewAs.testsLabel":"Testes A/B","sandbox.previewAs.testsHint":"Sem escolha: você vê o lado que a sua própria visita recebeu.","sandbox.previewAs.noTests":"Nenhum teste A/B ainda.","sandbox.previewAs.testsLoadFailed":"Não foi possível carregar seus testes.","sandbox.previewAs.tryAgain":"Tentar de novo","sandbox.previewAs.off":"Desligado","sandbox.previewAs.on":"Ligado","sandbox.previewAs.reset":"Mostrar como está agora"},poe={"settings.subscriptionUsage.refresh":"Atualizar","settings.subscriptionUsage.codeReview":"Revisão de código","settings.subscriptionUsage.primary":"Limite principal","settings.subscriptionUsage.secondary":"Limite secundário","settings.subscriptionUsage.resets":"Renova em {date}","settings.subscriptionUsage.limitReached":"Limite atingido","settings.subscriptionUsage.permission":"Este token não permite consultar limites. Veja o uso no site do provedor.","settings.subscriptionUsage.authorization":"O provedor não autorizou a consulta. Vincule seu plano novamente para atualizar as credenciais.","settings.subscriptionUsage.rateLimited":"O provedor está limitando as consultas. Tente novamente após o horário abaixo.","settings.subscriptionUsage.disconnected":"Vincule seu plano para consultar os limites.","settings.subscriptionUsage.unavailable":"Os limites estão indisponíveis agora. Consulte o provedor para ver o status atual.","settings.subscriptionUsage.openProvider":"Ver no provedor","settings.voice.title":"Modo voz","settings.voice.description":"Permite falar com os agentes por voz. Requer a ElevenLabs configurada nesta instalação.","settings.title":"Perfil e preferências","settings.nav.organization":"Organização","settings.nav.build":"Construir","settings.nav.manage":"Gerenciar","settings.nav.general":"Geral","settings.nav.connect":"Conectar","settings.nav.aiProviders":"Provedores de IA","settings.nav.secrets":"Segredos","settings.nav.billing":"Cobrança e IA","settings.nav.buckets":"Buckets","settings.nav.syncedRepos":"Repos sincronizados","settings.nav.repositories":"Repositórios","settings.nav.storage":"Armazenamento","settings.nav.advanced":"Avançado","settings.subnav.ariaLabel":"Seções de configurações","settings.subnav.infrastructure":"Infraestrutura","settings.nav.tasks":"Quadro","settings.jira.sectionTitle":"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 ficam, mas deixam de atualizar.","settings.jira.cancel":"Cancelar","settings.jira.boardLabel":"Board do Jira","settings.jira.boardDescription":"O Studio age quando um card entra numa coluna deste board.","settings.jira.boardPlaceholder":"Selecione um board","settings.jira.boardSearchPlaceholder":"Buscar boards…","settings.jira.noBoardsMatch":"Nenhum board corresponde à busca","settings.jira.loadingBoards":"Carregando boards…","settings.jira.enabledLabel":"Integração ativa","settings.jira.enabledDescription":"Enquanto desativada, os cards que se movem no board são ignorados.","settings.jira.enableRequirements":"Escolha um board antes de ativar a integração","settings.jira.saveFailed":"Não foi possível salvar as configurações do Jira","settings.jira.createTokenLink":"Criar um API token","settings.jira.webhookTitle":"Atualizações instantâneas (webhook)","settings.jira.webhookDescription":"Opcional. Sem ele, uma issue que entra num status automatizado é detectada na próxima verificação de 5 minutos; com ele, a run começa quando o card fica 20 segundos parado.","settings.jira.webhookCopy":"Copiar","settings.jira.webhookCopied":"URL do webhook copiada","settings.jira.webhookStep1":"No Jira, abra Settings (ícone de engrenagem) → System → Webhooks. Requer um admin do Jira.","settings.jira.webhookStep2":"Clique em “Create a webhook” e cole a URL acima.","settings.jira.webhookStep3":"Em Events, marque Issue: created e Issue: updated.","settings.jira.webhookStep4":"Opcionalmente restrinja com um filtro JQL, ex.: project = <chave do projeto>.","settings.jira.webhookStep5":"Salve. Uma issue que entra num status automatizado passa a iniciar sua run depois de ficar 20 segundos nele.","settings.jira.automationsLabel":"Rodar o agente quando uma issue entrar em…","settings.jira.automationsDescription":"As automações que rodam quando uma issue entra num destes status e fica nele por 20 segundos. Abra uma para mudar o prompt, ou dê a qualquer automação um gatilho “Quando uma issue do Jira entra num status”. Um card arrastado por um status, ou para o errado e de volta, não inicia nada. Uma issue que tem um pull request aberto linkado continua nele. O agente lê a issue e a atualiza no Jira; nada é copiado para o quadro.","settings.jira.toggleAutomation":"Ligar ou desligar {name}","settings.jira.addAutomation":"Adicionar automação","settings.jira.fromAny":"Vindo de qualquer coluna","settings.jira.fromEarlier":"Vindo de uma coluna anterior","settings.jira.fromLater":"Vindo de uma coluna posterior (devolvido)","settings.jira.fromStatuses":"Vindo de {statuses}","settings.jira.originLabel":"Quando o card vem de","settings.jira.originStatusesPlaceholder":"Escolha os status","settings.jira.originHelp":"Um movimento inicia uma regra só: a que nomeia de onde o card veio, senão a da direção dele no board, senão a de qualquer coluna. De onde ele veio é o último status em que ficou parado, não um pelo qual foi arrastado.","settings.jira.createRule":"Criar automação","settings.jira.cancelRule":"Cancelar","settings.jira.noColumnsYet":"Este board ainda não tem colunas","settings.jira.columnsFailed":"Não foi possível carregar as colunas do board","settings.jira.testRunLabel":"Rodar na mão","settings.jira.testRunDescription":"Rode uma automação numa issue ou num lote agora, sem ativar a integração, para ver o que o prompt faz.","settings.jira.issueKeysPlaceholder":"ABC-123 ou um link, um por linha ou separados por vírgula","settings.jira.issueKeysCount":"{count} issue(s)","settings.jira.issueKeysUnreadable":"não consegui ler: {items}","settings.jira.testRunIssueAriaLabel":"Chave ou link da issue do Jira","settings.jira.testRun":"Rodar agente {count}","settings.jira.testRunRunning":"Iniciando…","settings.jira.testRunStarted":"Iniciado em","settings.jira.testRunFailed":"Não foi possível iniciar o run","settings.jira.testRunHelp":"Este é um run de verdade: o agente lê a issue real, comenta nela e pode movê-la. Rodar de novo interrompe o run que ainda estiver trabalhando nessa issue, e uma issue com um pull request aberto linkado continua nele.","settings.jira.testRunAutomation":"Automação a rodar","settings.jira.testRunNoAutomations":"Adicione uma automação acima primeiro: rodar à mão dispara uma delas.","settings.jira.together":"Um run só para todas, e o agente trabalha nas issues como um lote","settings.jira.togetherStarted":"Iniciado um run em","settings.jira.testRunWatch":"Ver os runs no Monitor","settings.syncedRepos.addRepo":"Adicionar repo","settings.syncedRepos.cancel":"Cancelar","settings.syncedRepos.create":"Criar","settings.syncedRepos.creating":"Criando…","settings.syncedRepos.created":'Sincronização criada — sincronizando em "{volume}" em segundo plano',"settings.syncedRepos.emptyTitle":"Nenhum repo sincronizado ainda","settings.syncedRepos.emptyDescription":"Escolha um repositório e ele aparecerá na biblioteca como uma pasta somente leitura, sincronizada automaticamente.","settings.syncedRepos.failed":"Algo deu errado","settings.syncedRepos.nameDialogDescription":"{repo} será mantido em sincronia nesta pasta somente leitura da biblioteca.","settings.syncedRepos.nameDialogTitle":"Nomeie a pasta sincronizada","settings.syncedRepos.namePlaceholder":"nome-da-pasta","settings.syncedRepos.pickerTitle":"Sincronizar um repo na biblioteca","settings.syncedRepos.remove":"Parar de sincronizar","settings.syncedRepos.removeDescription":"Os arquivos já sincronizados continuam na biblioteca; só a sincronização para. Você pode apagar a pasta depois, se não precisar dela.","settings.syncedRepos.removeTitle":'Parar de sincronizar "{volume}"?',"settings.syncedRepos.removed":"Sincronização removida","settings.syncedRepos.rowSubtitle":"Pasta da biblioteca: {volume}","settings.repositories.accountsTitle":"Contas conectadas","settings.repositories.accountsEmptyTitle":"Nenhuma conta conectada","settings.repositories.accountsEmptyDescription":"Conecte uma conta do GitHub, GitLab ou Bitbucket para navegar pelos seus repositórios e vincular os privados.","settings.repositories.noProvidersTitle":"Nenhum provedor git configurado","settings.repositories.noProvidersDescription":"Entrar com GitHub, GitLab ou Bitbucket depende de credenciais do provedor que um administrador configura nesta instalação. Você ainda pode conectar uma conta do GitLab ou do Bitbucket com um token de acesso.","settings.repositories.githubUnavailable":"Peça a um administrador para habilitar o GitHub.","settings.repositories.connectGithubCli":"Conectar com GitHub CLI","settings.repositories.githubCliHint":"Use seu login local do gh para buscar e importar repositórios.","settings.repositories.authKindGithubCli":"GitHub CLI","settings.repositories.addGithubAccount":"Adicionar conta ou organização do GitHub","settings.repositories.githubSelectTitle":"Selecionar repositórios","settings.repositories.githubSelectedShareHint":"Membros com permissão de repositórios em {organization} poderão usar os repositórios que você autorizar aqui.","settings.repositories.githubPreselectedHint":"Os repositórios já autorizados ou vinculados estão selecionados quando você tem permissão para autorizá-los. Revise a seleção antes de salvar.","settings.repositories.githubReplaceHint":"Salvar substitui o acesso atual desta conta no workspace pela sua seleção. Repositórios removidos deixam de receber novas credenciais. Credenciais já emitidas podem funcionar até expirarem.","settings.repositories.githubFilterRepos":"Buscar repositórios","settings.repositories.githubNoRepos":"Nenhum repositório disponível para autorizar.","settings.repositories.githubSearchNoMatches":"Nenhum repositório corresponde à sua busca.","settings.repositories.githubAccessChanged":"Alguém alterou o acesso desta conta. Volte e revise os repositórios antes de salvar.","settings.repositories.githubMoreRepos":"Carregar mais repositórios","settings.repositories.githubBack":"Voltar às contas","settings.repositories.githubSaveOneRepo":"Autorizar 1 repositório","settings.repositories.githubSaveRepos":"Autorizar {count} repositórios","settings.repositories.githubEditWorkspaceAccess":"Alterar acesso do workspace","settings.repositories.githubShareHint":"Escolha sua conta pessoal do GitHub, ou uma organização onde você administra repositórios, para compartilhar com {organization}. Membros com permissão para repositórios no Studio podem usar esta conexão.","settings.repositories.githubInstallHint":"Ainda não há nada seu para compartilhar. Instale o app do GitHub na sua conta pessoal ou nos repositórios que você administra, ou peça ao dono da conta para conectá-la ao Studio. Um repositório em que você só colabora não é seu para compartilhar.","settings.repositories.installGithubAccount":"Instalar em outra conta","settings.repositories.checkGithubAccess":"Verificar acesso","settings.repositories.switchGithubUser":"Usar outro login do GitHub","settings.repositories.githubReturnHint":"O GitHub abre em uma nova aba. Depois de salvar o acesso, volte aqui para escolher a conta. Se ela não aparecer, use Verificar acesso.","settings.repositories.githubRefreshFailed":"Não foi possível verificar o acesso no GitHub. Tente novamente sem sair desta janela.","settings.repositories.githubConnected":"Conta do GitHub conectada","settings.repositories.manageRepositoryAccess":"Gerenciar acesso aos repositórios","settings.repositories.connectedBy":"Conectado por {name}","settings.repositories.connectedByUnknown":"Conectado por um usuário indisponível","settings.repositories.dismiss":"Dispensar","settings.repositories.tryAgain":"Tentar novamente","settings.repositories.oauthNoInstallations":"A autorização no GitHub foi concluída, mas nenhuma instalação do app está disponível para este usuário. Adicione uma conta ou organização do GitHub para concluir a configuração.","settings.repositories.oauthDenied":"A autorização foi cancelada. Conecte novamente quando quiser.","settings.repositories.oauthExpired":"Esta tentativa de conexão expirou ou pertence a outra sessão. Comece novamente por esta página.","settings.repositories.oauthNotConfigured":"Este provedor git não está configurado. Peça a um administrador para habilitá-lo.","settings.repositories.oauthFailed":"Não foi possível conectar sua conta git. Tente novamente. Se o erro persistir, entre em contato com um administrador.","settings.repositories.authKindGithubApp":"GitHub App","settings.repositories.authKindOauth":"OAuth","settings.repositories.authKindToken":"Token pessoal","settings.repositories.accessUnavailable":"Acesso indisponível","settings.repositories.accessUnavailableHint":"O Studio não consegue acessar esta conta. Autorize-a novamente para continuar usando seus repositórios.","settings.repositories.githubReconnect":"Reconectar GitHub","settings.repositories.authorizeWorkspaceAccess":"Autorizar acesso do workspace","settings.repositories.selectRepositories":"Selecionar repositórios","settings.repositories.authorizationRequired":"Falta autorizar este workspace","settings.repositories.authorizationRequiredHint":"O Studio tem uma instalação do GitHub App registrada para {login}, mas este workspace ainda não tem autorização para usá-la. Entre no GitHub e escolha os repositórios que quer compartilhar com este workspace.","settings.repositories.accessRevoked":"Acesso revogado","settings.repositories.accessRevokedHint":"O acesso a esta conta foi revogado. Autorize-a novamente para restaurar o acesso aos repositórios.","settings.repositories.noAuthorizedRepositories":"Nenhum repositório autorizado","settings.repositories.noAuthorizedRepositoriesHint":"Este workspace não tem repositórios autorizados por {login}. Selecione quais repositórios ele pode usar.","settings.repositories.providerUnavailable":"Provedor indisponível","settings.repositories.providerUnavailableHint":"Esta instalação não está configurada para acessar esta conta. Peça a um administrador para habilitar o provedor.","settings.repositories.installationMissing":"Conexão com o GitHub incompleta","settings.repositories.installationMissingHint":"O Studio não tem uma instalação do GitHub App vinculada a esta conta. Conecte o GitHub e selecione a instalação de {login}.","settings.repositories.githubReconnectUnavailable":"A reconexão com o GitHub não está disponível nesta instalação. Peça a um administrador para configurar o GitHub App e depois autorize o acesso do workspace.","settings.repositories.disconnect":"Desconectar","settings.repositories.disconnectTitle":'Desconectar "{login}"?',"settings.repositories.disconnectDescription":"Os repositórios vinculados por esta conta continuam na lista, mas viram clones públicos anônimos — os privados deixarão de funcionar.","settings.repositories.disconnected":"Conta desconectada","settings.repositories.tokenDialogTitle":"Conectar o GitLab com um token","settings.repositories.tokenDialogDescription":"Use um token de acesso pessoal, de projeto ou de grupo com o escopo api — os agentes usam ele para dar push e abrir merge requests. É guardado criptografado e não é exibido novamente.","settings.repositories.tokenDialogTitleBitbucket":"Conectar o Bitbucket com um token","settings.repositories.tokenDialogDescriptionBitbucket":"Use um token de acesso de workspace, de projeto ou de repositório com permissão de escrita em repositórios e pull requests — os agentes usam ele para dar push e abrir pull requests. Somente Bitbucket Cloud. É guardado criptografado e não é exibido novamente.","settings.repositories.addAccount":"Adicionar conta","settings.repositories.addAccountTitle":"Conectar uma conta git","settings.repositories.addAccountDescription":"Escolha onde seus repositórios ficam.","settings.repositories.chooseMethodDescription":"Escolha como o Studio deve se conectar a este provedor.","settings.repositories.back":"Voltar","settings.repositories.providerGithub":"GitHub","settings.repositories.providerGitlab":"GitLab","settings.repositories.providerBitbucket":"Bitbucket","settings.repositories.providerGithubHint":"Instale o app do Studio e escolha os repositórios a compartilhar.","settings.repositories.providerTokenOrOauthHint":"Conecte com um token de acesso, ou autorize via OAuth.","settings.repositories.providerTokenOnlyHint":"Conecte com um token de acesso.","settings.repositories.methodToken":"Usar um token de acesso","settings.repositories.methodTokenHint":"O provedor limita o token aos repositórios para os quais você o criou.","settings.repositories.methodOauth":"Autorizar via OAuth","settings.repositories.methodOauthHint":"Entre e autorize o Studio no seu navegador.","settings.repositories.methodOauthScopeNote":"Alcança todos os repositórios que esta conta enxerga; não dá para restringir a um subconjunto.","settings.repositories.methodApp":"Instalar o app do GitHub","settings.repositories.methodAppHint":"Escolha exatamente quais repositórios o Studio pode usar.","settings.repositories.tokenStepsTitle":"Como criar o token","settings.repositories.openProvider":"Abrir provedor","settings.repositories.tokenWorkspaceLabel":"Workspace","settings.repositories.tokenWorkspacePlaceholder":"sua-workspace","settings.repositories.tokenWorkspaceHint":"O slug na URL do Bitbucket. Um token de acesso não consegue dizer a que workspace pertence, então o Studio o verifica contra esta.","settings.repositories.tokenProjectLabel":"Caminho do projeto (opcional)","settings.repositories.tokenProjectPlaceholder":"grupo/projeto","settings.repositories.tokenProjectHint":"Preencha para ir direto à página de tokens desse projeto.","settings.repositories.bitbucketStep1":"Abra o repositório que o Studio deve alcançar, ou o projeto que os agrupa.","settings.repositories.bitbucketStep2":"Settings → Security → Access tokens → Create token.","settings.repositories.bitbucketStep3":"Conceda Repositories read e write, e Pull requests read e write.","settings.repositories.bitbucketStep4":"Cole o token abaixo. O Bitbucket o mantém restrito ao escopo que você deu.","settings.repositories.gitlabStep1":"Abra o projeto ou grupo que o Studio deve alcançar.","settings.repositories.gitlabStep2":"Settings → Access tokens → Add new token.","settings.repositories.gitlabStep3":"Papel: Developer ou acima. Escopo: api.","settings.repositories.gitlabStep4":"Cole o token abaixo. Um token de projeto só alcança aquele projeto.","settings.repositories.tokenHostLabel":"Host","settings.repositories.tokenHostPlaceholder":"gitlab.com","settings.repositories.tokenLabel":"Token de acesso","settings.repositories.tokenPlaceholder":"glpat-…","settings.repositories.tokenPlaceholderBitbucket":"ATCTT…","settings.repositories.connect":"Conectar","settings.repositories.connecting":"Conectando…","settings.repositories.connected":'Conectado como "{login}"',"settings.repositories.reposTitle":"Repositórios","settings.repositories.reposEmptyTitle":"Nenhum repositório ainda","settings.repositories.reposEmptyDescription":"Escolha um repositório de uma conta conectada do GitHub, GitLab ou Bitbucket.","settings.repositories.addRepository":"Adicionar repositório","settings.repositories.moreActions":"Mais ações","settings.repositories.repoAccountNeedsAttention":"Conectado por {login}, que precisa de atenção em Contas conectadas.","settings.repositories.unlink":"Desvincular","settings.repositories.unlinkTitle":'Desvincular "{path}"?',"settings.repositories.unlinkDescription":"O repositório é removido desta organização. Nada é apagado no provedor.","settings.repositories.unlinked":"Repositório desvinculado","settings.repositories.openInProvider":"Abrir repositório","settings.repositories.visibilityPublic":"Público","settings.repositories.visibilityPrivate":"Privado","settings.repositories.visibilityInternal":"Interno","settings.repositories.anonymousClone":"Clone anônimo","settings.repositories.sandboxImageLabel":"Imagem do sandbox","settings.repositories.sandboxImageDefault":"Imagem padrão","settings.repositories.sandboxImageAndroid":"Emulador Android","settings.repositories.sandboxImageError":"Não foi possível alterar a imagem do sandbox","settings.repositories.monitorDeploys":"Mostrar deploys no Monitor","settings.repositories.monitorDeploysError":"Não foi possível alterar se o Monitor mostra este repositório","settings.repositories.addDialogTitle":"Adicionar repositório","settings.repositories.cancel":"Cancelar","settings.repositories.failed":"Algo deu errado","settings.nav.connections":"Conexões","settings.nav.automations":"Automações","settings.nav.skills":"Skills","settings.nav.memory":"Memória","settings.nav.monitor":"Monitoramento","settings.nav.members":"Membros","settings.nav.security":"Segurança","settings.nav.profile":"Perfil e preferências","settings.nav.backToHome":"Voltar para o início","settings.nav.signOut":"Sair","settings.profile.avatar":"Avatar","settings.profile.displayName":"Nome de exibição","settings.profile.displayNamePlaceholder":"Seu nome","settings.profile.email":"E-mail","settings.profile.avatarUpload":"Trocar sua foto","settings.profile.avatarDialogTitle":"Foto de perfil","settings.profile.avatarDialogDescription":"Arraste para reposicionar e role para dar zoom. Só a foto em uso fica visível para outras pessoas.","settings.profile.avatarDeleted":"Foto excluída","settings.profile.avatarRemove":"Remover","settings.profile.avatarRemoved":"Foto removida","settings.profile.avatarUpdated":"Foto atualizada","settings.profile.avatarUploadError":"Falha ao atualizar a foto","settings.profile.updateSuccess":"Perfil atualizado com sucesso","settings.profile.updateError":"Falha ao atualizar o perfil","settings.preferences.title":"Preferências","settings.blog.sectionTitle":"Blog","settings.blog.aiTitle":"Blog com IA","settings.blog.aiDescription":"Contexto da marca, campanhas e geração de posts. Desligado, os posts são escritos à mão.","settings.blogBlocks.title":"Esconder os blocos de blog padrão","settings.blogBlocks.description":"Só os blocos de post do próprio site aparecem ao escrever ou importar um post. Posts existentes não mudam.","settings.blocksEditor.title":"Novo editor de blocos","settings.blocksEditor.description":"Vale para todos desta organização. O restante do Studio sempre usa o novo layout.","settings.siteAppsInstall.title":"Instalar apps do catálogo","settings.siteAppsInstall.description":"Permite que a aba Apps instale um app no site: escreve o módulo do app e o registro dele na branch, adiciona a dependência e reinicia o dev server da sandbox para o formulário de configuração aparecer. Com isso desligado o catálogo continua navegável e nada é instalável.","settings.multiAppPreview.title":"Ver vários apps de um monorepo","settings.multiAppPreview.description":"Adicione outros apps do repositório de um projeto e veja lado a lado no preview. Cada um roda o próprio servidor de desenvolvimento na sandbox.","settings.preferences.theme":"Tema","settings.preferences.themeLight":"Tema claro","settings.preferences.themeDark":"Tema escuro","settings.preferences.themeSystem":"Tema do sistema","settings.preferences.language":"Idioma","settings.preferences.notifications":"Notificações","settings.preferences.notificationsDescription":"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":"Sons para ações dos agentes e notificações.","settings.preferences.soundsPreview":"Ouvir som de notificação","settings.preferences.toolApproval":"Aprovação de ferramentas","settings.preferences.toolApprovalDescription":"Quais ferramentas precisam da sua aprovação antes de rodar.","settings.preferences.toolApprovalAsk":"Perguntar antes de editar","settings.preferences.toolApprovalAskShort":"Perguntar","settings.preferences.toolApprovalAskDescription":"Aprova automaticamente ferramentas somente leitura","settings.preferences.toolApprovalAuto":"Aprovar automaticamente","settings.preferences.toolApprovalAutoShort":"Auto","settings.preferences.toolApprovalAutoDescription":"Executa tudo sem aprovação","settings.automations.browseAgentsButton":"Procurar projetos","settings.automations.emptyDescription":"As automações são criadas por agente. Abra um agente e adicione uma na aba de Automações.","settings.automations.emptyTitle":"Nenhuma automação ainda","settings.automations.noResultsDescription":'Nenhuma automação corresponde a "{search}"',"settings.automations.noResultsTitle":"Nenhuma automação encontrada","settings.automations.pageTitle":"Automações","settings.automations.searchPlaceholder":"Pesquisar automações...","settings.skills.importButton":"Importar skill","settings.skills.importing":"Importando…","settings.skills.importSuccess":'"{name}" importada',"settings.skills.importError":"Falha ao importar a skill","settings.skills.importMissingSkillMd":"Essa pasta não tem um SKILL.md na raiz. Selecione a pasta da própria skill.","settings.skills.importNeedsFolder":"Selecione uma pasta, não arquivos individuais — este navegador pode não suportar upload de pastas.","settings.skills.searchPlaceholder":"Pesquisar skills...","settings.skills.noDescription":"Sem descrição","settings.skills.filterAll":"Todas","settings.skills.emptyTitle":"Nenhuma skill ainda","settings.skills.emptyDescription":"Importe uma pasta com um SKILL.md para dar aos seus agentes instruções reutilizáveis que eles podem carregar sob demanda.","settings.skills.noResultsTitle":"Nenhuma skill encontrada","settings.skills.noResultsDescription":'Nenhuma skill corresponde a "{search}"',"settings.skills.cancel":"Cancelar","settings.skills.deleteButton":"Excluir","settings.skills.deleteDialogTitle":"Excluir esta skill?","settings.skills.deleteDialogDescription":'Isso remove "{name}" e seus arquivos. Essa ação não pode ser desfeita.',"settings.skills.deleteSuccess":"Skill excluída","settings.skills.deleteError":"Falha ao excluir a skill","settings.skills.importTooManyFiles":"Essa pasta tem {count} arquivos (limite {max}). Importe uma pasta com apenas os arquivos da skill.","settings.skills.importSlugTaken":'Já existe uma skill chamada "{slug}". Exclua-a antes de reimportar.',"settings.skills.errorTitle":"Não foi possível carregar as skills","settings.skills.errorDescription":"O catálogo de skills não pôde ser carregado. Você pode não ter acesso aos arquivos desta organização.","settings.skills.retry":"Tentar novamente","settings.memory.tabOrg":"Organização","settings.memory.tabUser":"Só você","settings.memory.orgHeading":"Compartilhada com todo mundo em {org}","settings.memory.userHeading":"Sua memória pessoal","settings.memory.orgPlaceholder":"Fatos que todos os chats devem saber. Por exemplo: a gente sobe na quinta, preços em BRL, o tom da marca é informal.","settings.memory.userPlaceholder":"Coisas que o Deco deve lembrar sobre você. Por exemplo: responda em português, cuido do checkout, resumos curtos.","settings.memory.saving":"Salvando…","settings.memory.saved":"Salvo","settings.memory.notSaved":"Não salvo","settings.memory.saveError":"Não deu para salvar. Continue digitando para tentar de novo.","settings.memory.readOnly":"Você pode ler esta memória, mas não alterá-la.","settings.memory.updated":"Atualizada {time}","settings.memory.notStarted":"Nada lembrado ainda","settings.memory.conflict":"Esta memória mudou enquanto você editava.","settings.memory.loadLatest":"Carregar a mais recente","settings.memory.keepMine":"Manter a minha","settings.memory.budget":"{percent}% do que os chats leem","settings.memory.budgetOver":"Os chats só leem o começo","settings.memory.budgetHint":"Os chats carregam os primeiros 16.000 caracteres. Mantenha isto como um índice curto e leve os detalhes para notas separadas.","settings.memory.errorTitle":"Não deu para carregar a memória","settings.memory.errorDescription":"Não deu para carregar os arquivos da organização. Talvez você não tenha acesso a eles.","settings.memory.retry":"Tentar novamente","settings.buckets.accessKeyIdLabel":"ID de chave de acesso","settings.buckets.addBucket":"Adicionar bucket","settings.buckets.addBucketButton":"Adicionar bucket","settings.buckets.addS3Bucket":"Adicionar bucket S3","settings.buckets.addingButton":"Adicionando…","settings.buckets.apiKeyHelperText":"Enviado como header x-api-key em cada chamada de atualização.","settings.buckets.apiKeyLabel":"Chave API","settings.buckets.bucketAdded":'Bucket "{name}" adicionado',"settings.buckets.bucketLabel":"Bucket","settings.buckets.bucketPlaceholder":"meu-bucket","settings.buckets.bucketRemoved":'Bucket "{name}" removido',"settings.buckets.bucketsConfigured":"{count} bucket(s) configurado(s)","settings.buckets.cancelButton":"Cancelar","settings.buckets.credentialsEncryptedDescription":"As credenciais são criptografadas em repouso e nunca retornadas pela API. Para Cloudflare R2, Google Cloud Storage ou MinIO, defina um endpoint personalizado.","settings.buckets.credentialsLabel":"Credenciais","settings.buckets.deleteButton":"Deletar {name}","settings.buckets.descriptionLabel":"Descrição (opcional)","settings.buckets.descriptionPlaceholder":"Para que este bucket é usado?","settings.buckets.emptyStateDescription":"Adicione um bucket compatível com S3 (AWS S3, Cloudflare R2, Google Cloud Storage, MinIO). As chaves de acesso são criptografadas em repouso e nunca retornadas pela API.","settings.buckets.endpointHelperText":"Obrigatório para provedores que não são AWS (R2, GCS, MinIO).","settings.buckets.endpointLabel":"Endpoint (opcional)","settings.buckets.endpointPlaceholder":"https://<account>.r2.cloudflarestorage.com","settings.buckets.failedToAddBucket":"Falha ao adicionar bucket","settings.buckets.failedToLoadConfigs":"Falha ao carregar configurações de arquivo: {error}","settings.buckets.failedToLoadConfigsFallback":"Falha ao carregar configurações de arquivo","settings.buckets.failedToRemoveBucket":"Falha ao remover bucket","settings.buckets.forcePathStyleHelperText":"Obrigatório para Google Cloud Storage e a maioria das configurações do MinIO.","settings.buckets.forcePathStyleLabel":"Forçar URLs path-style","settings.buckets.managed":"Gerenciado","settings.buckets.nameHelperText":"Letras, dígitos, underscore, ponto, hífen. Único dentro da organização.","settings.buckets.nameLabel":"Nome","settings.buckets.namePlaceholder":"production-uploads","settings.buckets.noBucketsConfigured":"Nenhum bucket ainda","settings.buckets.pathStyle":"path-style","settings.buckets.prefix":"prefixo: {prefix}","settings.buckets.prefixHelperText":"Todas as chaves de objeto são escritas sob este prefixo. Útil para buckets multi-tenant ou credenciais escopo de um sub-path. Uma barra à direita é adicionada automaticamente.","settings.buckets.prefixLabel":"Prefixo de chave (opcional)","settings.buckets.prefixPlaceholder":"tenants/acme/","settings.buckets.public":"público: {url}","settings.buckets.publicUrlBaseHelperText":"Host usado para construir URLs públicas retornadas pelo seletor (domínio dev do R2, CDN, host personalizado). Deixe em branco para usar o host S3 do bucket (padrão da AWS).","settings.buckets.publicUrlBaseLabel":"Base de URL pública (opcional)","settings.buckets.publicUrlBasePlaceholder":"https://pub-xxxx.r2.dev ou https://cdn.example.com","settings.buckets.refreshUrlHelperText":"Endpoint para o qual é feito POST (com a chave API abaixo) para fornecer credenciais temporárias. Deve retornar accessKeyId, secretAccessKey, sessionToken e expiration.","settings.buckets.refreshUrlLabel":"URL de atualização","settings.buckets.refreshUrlPlaceholder":"https://admin.example.com/api/acme/s3-credentials","settings.buckets.regionLabel":"Região","settings.buckets.regionPlaceholder":"us-east-1","settings.buckets.removeBucketDescription":"Isto exclui as credenciais criptografadas para {name}. O bucket em si não é afetado. Isto não pode ser desfeito.","settings.buckets.removeBucketTitle":"Remover configuração do bucket?","settings.buckets.removeButton":"Remover","settings.buckets.removingButton":"Removendo…","settings.buckets.secretAccessKeyLabel":"Chave de acesso secreta","settings.buckets.staticKeyHelperText":"Um ID de chave de acesso de longa duração e segredo, usados conforme fornecidos.","settings.buckets.staticKeyOption":"Par de chave estática (longa duração)","settings.buckets.stsSessionHelperText":"Armazena apenas um endpoint de atualização + chave API; credenciais de curta duração são buscadas sob demanda e atualizadas automaticamente.","settings.buckets.temporarySessionOption":"Sessão temporária (STS, auto-atualizada)","settings.connectClients.anyOtherClientDescription":"Qualquer outro cliente MCP: cole este endpoint nele para dar a esse runtime toda conexão habilitada nesta org, governada pelas suas regras do Decopilot.","settings.connectClients.apiKeyOption":"Chave API","settings.connectClients.copy":"Copiar","settings.connectClients.doneHideKey":"Concluído, ocultar chave","settings.connectClients.generateKey":"Gerar chave","settings.connectClients.generateKeyFor":"Gerar chave para {client}","settings.connectClients.generatingKey":"Gerando…","settings.connectClients.headlessKeyHint":"Para CI, Conductor, ou agentes headless que não conseguem abrir um navegador.","settings.connectClients.installMethod":"Método de instalação","settings.connectClients.keyCreated":"Chave criada","settings.connectClients.mcpDescription":"Para clientes sem shell. Compartilhar arquivos da Library e mandar mensagem para agentes exige a CLI + skill.","settings.connectClients.oauthDiscoveryDetails":"Detalhes de descoberta OAuth","settings.connectClients.oauthKeyHint":"Recomendado para o seu laptop. Um navegador abre no primeiro uso para você entrar, sem token para gerenciar.","settings.connectClients.oauthMetadataHint":"Os metadados do OAuth 2.1 Protected Resource são anunciados no 401:","settings.connectClients.oauthOption":"OAuth","settings.connectClients.otherClient":"Outro","settings.connectClients.pageTitle":"Conectar","settings.connectClients.recommended":"Recomendado","settings.connectClients.skillDescription":"Instale a skill do Studio e faça login uma vez. Depois, seu agente usa os chats, agentes, tarefas e arquivos da Library desta org pela CLI decocms.","settings.connectClients.skillInstallStep":"1. Instale a skill","settings.connectClients.skillLoginHint":"Um navegador abre para aprovar o login. A sessão se renova sozinha.","settings.connectClients.skillLoginStep":"2. Faça login","settings.connectClients.skillNeedsBun":"Precisa do Bun.","settings.connectClients.skillOtherAgentsHint":"O instalador pergunta em quais agentes adicionar a skill.","settings.connectClients.skillTab":"CLI + skill","settings.connectClients.skillTitle":"Conectar seu agente","settings.connectClients.snippetOneTimeWarning":"Copie este snippet agora. A chave não será exibida de novo, e você pode revogá-la 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":"Adicionar chave de API","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.agentTools.chatHarnessCodexTitle":"Usar Codex em novos chats no sandbox","settings.agentTools.chatHarnessCodexDescription":"Executa novos chats no sandbox com Codex. Vincule sua assinatura do ChatGPT em Provedores de IA ou conecte um provedor da API Responses. Os chats existentes mantêm seu runtime.","settings.codexSubscription.setupHeading":"Conecte o Codex","settings.codexSubscription.setupDescription":"Vincule sua assinatura do ChatGPT em Configurações → Provedores de IA ou conecte um provedor com um endpoint da API Responses da OpenAI.","settings.codexSubscription.connect":"Vincular","settings.codexSubscription.connected":"Assinatura do ChatGPT vinculada","settings.codexSubscription.disconnect":"Desconectar","settings.codexSubscription.disconnected":"Assinatura do ChatGPT desconectada","settings.codexSubscription.howTo":"Execute este comando na sua máquina, entre com o ChatGPT e cole o conteúdo de ~/.codex/auth.json:","settings.codexSubscription.title":"ChatGPT para Codex","settings.codexSubscription.tokenPlaceholder":"Cole o conteúdo de auth.json","settings.claudeSubscription.connect":"Vincular","settings.claudeSubscription.connected":"Assinatura Claude conectada","settings.claudeSubscription.disconnect":"Desconectar","settings.claudeSubscription.disconnected":"Assinatura Claude desconectada","settings.claudeSubscription.howTo":"Gere um token na sua própria máquina com","settings.claudeSubscription.title":"Claude Pro ou Max","settings.claudeSubscription.tokenPlaceholder":"Cole seu token","settings.githubCopilot.connect":"Vincular","settings.githubCopilot.connected":"GitHub Copilot conectado","settings.githubCopilot.disconnect":"Desconectar","settings.githubCopilot.disconnected":"GitHub Copilot desconectado","settings.githubCopilot.howTo":"Crie um token fine-grained do GitHub com a permissão Copilot Requests","settings.githubCopilot.sharedBy":"Toda execução nesta organização usa o plano GitHub Copilot compartilhado por {name}.","settings.githubCopilot.shareTitle":"Compartilhar com a org","settings.githubCopilot.shareDescription":"Todo chat e tarefa nesta organização roda no seu plano Copilot, antes dos planos dos membros e dos provedores de IA da organização.","settings.githubCopilot.title":"GitHub Copilot","settings.githubCopilot.tokenPlaceholder":"Cole seu token github_pat_…","settings.subscriptionUsage.unavailableShort":"Uso indisponível","settings.ownAccounts.more":"Mais ações","settings.providerKeyRow.edit":"Editar","settings.ownAccounts.title":"Suas contas","settings.ownAccounts.cancel":"Cancelar","settings.ownAccounts.addApiKey":"Adicionar chave de API","settings.ownAccounts.linked":"Vinculado","settings.ownAccounts.expired":"Expirado","settings.decoCreditsHero.add":"Adicionar","settings.decoCreditsHero.addCredits":"Adicionar créditos","settings.decoCreditsHero.amountPlaceholder":"50","settings.decoCreditsHero.availableBalance":"Saldo de crédito disponível","settings.decoCreditsHero.cancel":"Cancelar","settings.decoCreditsHero.cancelButton":"Cancelar","settings.decoCreditsHero.custom":"Personalizado","settings.decoCreditsHero.decoAiGatewayAlt":"Deco AI Gateway","settings.decoCreditsHero.disconnect":"Desconectar","settings.decoCreditsHero.disconnectButton":"Desconectar","settings.decoCreditsHero.disconnectDescription":"Isso removerá o Deco AI Gateway deste espaço de trabalho. Seu saldo de crédito é preservado e estará disponível se você se reconectar.","settings.decoCreditsHero.disconnectError":"Falha ao desconectar: {message}","settings.decoCreditsHero.disconnectSuccess":"Deco AI Gateway desconectado","settings.decoCreditsHero.disconnectTitle":"Desconectar Deco AI Gateway","settings.decoCreditsHero.refreshBalance":"Atualizar saldo","settings.decoCreditsHero.title":"Deco AI Gateway","settings.planUsage.title":"Plano","settings.planUsage.loadFailed":"Não foi possível ler o plano desta organização.","settings.planUsage.retry":"Tentar novamente","settings.planUsage.aiUsage":"Uso de IA","settings.planUsage.usageUnavailable":"Indisponível","settings.planUsage.used":"usado","settings.plans.perMonth":"/ mês","settings.planUsage.periodHint":"Reinicia no começo de cada ciclo de cobrança.","settings.planUsage.noAiIncluded":"Sem uso de IA incluído.","settings.planUsage.included":"Incluído no plano","settings.planUsage.credits":"Créditos adicionados","settings.planUsage.creditsInUse":"Em uso","settings.planUsage.manageBilling":"Gerenciar cobrança","settings.planUsage.portalFailed":"Não foi possível abrir a cobrança: {message}","settings.planUsage.subscribe":"Assinar","settings.planUsage.changePlan":"Mudar de plano","settings.planUsage.changed":"Plano atualizado","settings.planUsage.changeFailed":"Não foi possível trocar o plano: {message}","settings.planUsage.feature.cms":"CMS","settings.planUsage.feature.chat":"Chat superagent","settings.planUsage.feature.monitoring":"Analytics do site","settings.planUsage.feature.kanban":"Kanban agêntico","settings.planUsage.feature.model_choice":"Escolher o modelo","settings.planUsage.feature.credits":"Créditos extras","settings.planUsage.feature.diagnostic":"Deco Score","settings.planUsage.feature.diagnostic_enriched":"Deco Score enriquecido","settings.plans.title":"Planos","settings.plans.loadFailed":"Não foi possível carregar os planos.","settings.plans.currentPlan":"Plano atual","settings.plans.firstMonthFree":"1º mês grátis","settings.plans.startTrial":"Começar teste grátis","settings.plans.custom.name":"Custom","settings.plans.custom.description":"Para grandes times com contrato próprio","settings.plans.custom.cta":"Fale com a gente","settings.plans.managed":"Seu plano: {plan}. Fale com a gente para mudá-lo.","settings.plans.invoice.cta":"Adicionar à minha fatura","settings.plans.invoice.confirm":"O plano {plan} será adicionado à sua próxima fatura. Mudar agora?","settings.plans.invoice.cancel":"Cancelar","settings.plans.invoice.switch":"Mudar de plano","settings.paywall.bullets.kanban.1":"Agentes que fazem o trabalho e movem os cards","settings.paywall.bullets.kanban.2":"Um board que o time inteiro compartilha","settings.paywall.bullets.kanban.3":"Colunas, tags e prioridades","settings.paywall.bullets.allowance.1":"Uma franquia mensal que reinicia","settings.paywall.bullets.allowance.2":"Compre créditos extras quando quiser","settings.paywall.bullets.allowance.3":"Sua mensagem fica no composer","settings.paywall.bullets.cms.1":"Edite conteúdo e layout","settings.paywall.bullets.cms.2":"Preview ao vivo enquanto edita","settings.paywall.bullets.cms.3":"Publique quando estiver do jeito certo","settings.paywall.bullets.monitoring.1":"Pageviews, visitantes e origens","settings.paywall.bullets.monitoring.2":"Taxa de cache, latência e erros","settings.paywall.bullets.monitoring.3":"Tráfego por país e dispositivo","settings.paywall.upgradeTitle":"{feature} vem com o {plan}","settings.paywall.upgradeDescription":"Libera para todo mundo na organização.","settings.paywall.description":"O plano desta organização não inclui {feature}. Troque de plano para liberar para todo mundo na org.","settings.paywall.seePlans":"Ver planos","settings.paywall.dismiss":"Agora não","settings.paywall.serverRefusedFeature":"Seu plano não inclui este recurso. Peça a um owner para fazer upgrade, ou veja os planos.","settings.paywall.serverRefusedBudget":"Esta organização usou todo o limite mensal de IA. O chat e as tarefas ficam pausados até fazer upgrade ou adicionar créditos.","settings.decoCreditsHero.topUpFailed":"Recarga falhou: {message}","settings.deleteOrganizationSection.cancel":"Cancelar","settings.deleteOrganizationSection.dangerZone":"Zona de risco","settings.deleteOrganizationSection.deleteButton":"Deletar","settings.deleteOrganizationSection.deleteOrganizationAction":"Deletar organização","settings.deleteOrganizationSection.deleteOrganizationDescription":"Apaga esta organização e todos os seus dados, para sempre.","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.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.review.title":"Revisores e merge","settings.review.description":"O Reviewer roda no pull request de uma tarefa quando o card chega em Em Revisão.","settings.review.reviewerTitle":"Reviewer","settings.review.reviewerDescription":"Revisa o código com as skills de review do repositório, corrige o que encontra e testa a mudança no preview do deploy. Uma aprovação move o card para QA; o que não conseguir resolver volta para você.","settings.review.cheapReviewerModelTitle":"Rodar os revisores em um modelo mais barato","settings.review.cheapReviewerModelDescription":"Usa um modelo menor que o do Super Agent. Mais barato, talvez menos profundo.","settings.review.autoMergeTitle":"Auto-merge","settings.review.autoMergeDescription":"Mescla o pull request quando o card chega em Pronto para Deploy, sem esperar alguém clicar em Subir para produção.","settings.review.autoResolveConflictsTitle":"Resolver conflitos de merge automaticamente","settings.review.autoResolveConflictsDescription":"Quando um pull request em Pronto para Deploy conflita com a base, o Super Agent mescla a base e dá push. Segue o Auto-merge, a menos que você ajuste aqui.","settings.review.autoAssignReportTasksTitle":"Atribuir tarefas do Deco Score ao Super Agent","settings.review.autoAssignReportTasksDescription":"Tarefas criadas pelo Deco Score vão para o Super Agent em vez de ficarem sem responsável.","settings.review.updateError":"Não foi possível atualizar a configuração","settings.taskPrompt.title":"System prompt","settings.taskPrompt.fieldLabel":"Instruções","settings.taskPrompt.placeholder":"ex.: Use pnpm, nunca npm. Nunca edite arquivos em src/generated/.","settings.taskPrompt.save":"Salvar","settings.taskPrompt.saved":"System prompt salvo","settings.taskPrompt.failed":"Não foi possível salvar o system prompt","settings.taskPrompt.skillsLabel":"Skills em todas as colunas","settings.agentTools.title":"Ferramentas do agente","settings.agentTools.description":"O que os runs de agente de código alcançam além do repositório.","settings.agentTools.orgMcpsTitle":"Dar aos runs as conexões MCP desta organização","settings.agentTools.orgMcpsDescription":"O Super Agent e os revisores recebem todo MCP conectado. As ferramentas só carregam quando necessário, então mais conexões não ocupam o contexto.","settings.agentTools.orgMcpsPickTitle":"Conexões que os runs alcançam","settings.agentTools.orgMcpsPickDescription":"Desligue uma para deixá-la fora dos runs, por exemplo um MCP do tracker em que o run já reporta. Conexões novas começam ligadas.","settings.agentTools.orgMcpsPickAriaLabel":"Deixar os runs alcançarem {name}","settings.agentTools.orgMcpsPickEmpty":"Esta organização ainda não tem conexões MCP","settings.agentTools.orgMcpsPickFailed":"Não foi possível salvar quais conexões os runs alcançam","settings.agentTools.orgMcpsPickSearch":"Buscar conexões…","settings.agentTools.orgMcpsPickLoadFailed":"Não foi possível carregar as conexões MCP","settings.agentTools.orgMcpsPickEnableAll":"Ligar todas","settings.agentTools.orgMcpsPickDisableAll":"Desligar todas","settings.agentTools.orgMcpsPickNoMatch":"Nenhuma conexão corresponde a essa busca","settings.agentTools.orgMcpsPickSave":"Salvar","settings.agentTools.orgMcpsPickSaving":"Salvando…","settings.agentTools.orgMcpsPickDiscard":"Descartar","settings.agentTools.orgMcpsPickSaved":"Conexões que os runs alcançam salvas","settings.agentTools.chatRuntimeSection":"Chats","settings.agentTools.chatHarnessSandboxOnlyTitle":"Rodar chats com o Claude Code em um sandbox","settings.agentTools.chatHarnessSandboxOnlyDescription":"Cada chat ganha um sandbox próprio em vez de rodar no Decopilot. A primeira mensagem espera o sandbox iniciar. Requer uma chave da Anthropic, OpenRouter ou do gateway de IA da deco, ou uma assinatura do Claude.","settings.agentTools.codingAgentsClaudeCodeTitle":"Rodar chats de Code Agent com o Claude Code","settings.agentTools.codingAgentsClaudeCodeDescription":"Chats em um agente importado do GitHub rodam no sandbox desse agente, junto do código. As respostas chegam de turno inteiro. Vale só para chats novos.","settings.orgRoleDetail.addMember":"Adicionar Membro","settings.orgRoleDetail.addMembersToGrantPermissions":"Adicione membros para conceder as permissões configuradas.","settings.orgRoleDetail.addMembersToRole":"Adicionar Membros ao Papel","settings.orgRoleDetail.addWithCount":"Adicionar ({count})","settings.orgRoleDetail.added":"Adicionado","settings.orgRoleDetail.allConnections":"Todas as conexões","settings.orgRoleDetail.allConnectionsDescription":"Todas as ferramentas de todas as conexões, inclusive as adicionadas depois. Desmarque uma conexão para deixá-la de fora.","settings.orgRoleDetail.allModels":"Todos os modelos","settings.orgRoleDetail.allOrgPermissions":"Todas as permissões da organização","settings.orgRoleDetail.allProjects":"Todos os projetos","settings.orgRoleDetail.allProjectsDescription":"Este papel pode acessar todos os projetos, inclusive os criados depois. Desmarque um projeto para escondê-lo deste papel, ou desative para escolher projetos específicos.","settings.orgRoleDetail.builtinRolePermissionsCannotBeChanged":"Permissões de papel integrado não podem ser alteradas","settings.orgRoleDetail.cancel":"Cancelar","settings.orgRoleDetail.createRole":"Criar função","settings.orgRoleDetail.enabledCount":"{enabledCount}/{total} ativados","settings.orgRoleDetail.failedToSaveRole":"Falha ao salvar papel","settings.orgRoleDetail.general":"Geral","settings.orgRoleDetail.grantFullAccessToAllFeaturesBelow":"Conceder acesso completo a todos os recursos abaixo","settings.orgRoleDetail.loadingModels":"Carregando modelos...","settings.orgRoleDetail.mcpPermissions":"Permissões MCP","settings.orgRoleDetail.members":"Membros","settings.orgRoleDetail.membersUpdatedSuccessfully":"Membros atualizados com sucesso!","settings.orgRoleDetail.models":"Modelos","settings.orgRoleDetail.noLlmConnectionsConfigured":"Nenhuma conexão LLM configurada","settings.orgRoleDetail.noMembers":"Sem membros","settings.orgRoleDetail.noMembersAvailable":"Nenhum membro disponível","settings.orgRoleDetail.noMembersFound":"Nenhum membro encontrado","settings.orgRoleDetail.noMembersMatch":'Nenhum membro corresponde a "{searchQuery}"',"settings.orgRoleDetail.noPermissionsMatch":'Nenhuma permissão corresponde a "{searchQuery}"',"settings.orgRoleDetail.noProjectsAvailable":"Nenhum projeto disponível","settings.orgRoleDetail.noProjectsMatch":'Nenhum projeto corresponde a "{searchQuery}"',"settings.orgRoleDetail.organizationPermissions":"Permissões da Organização","settings.orgRoleDetail.owner":"Proprietário","settings.orgRoleDetail.ownerMembershipCannotBeChanged":"A associação de proprietário não pode ser alterada","settings.orgRoleDetail.projects":"Projetos","settings.orgRoleDetail.removeMember":"Remover {name} do papel","settings.orgRoleDetail.roleCreatedSuccessfully":"Papel criado com sucesso!","settings.orgRoleDetail.roleName":"Nome do papel","settings.orgRoleDetail.roleNameIsRequired":"Nome do papel é obrigatório","settings.orgRoleDetail.roleUpdatedSuccessfully":"Papel atualizado com sucesso!","settings.orgRoleDetail.saveChanges":"Salvar Alterações","settings.orgRoleDetail.saving":"Salvando...","settings.orgRoleDetail.searchMcpServers":"Procurar servidores MCP...","settings.orgRoleDetail.searchMembers":"Procurar membros...","settings.orgRoleDetail.searchModels":"Procurar modelos...","settings.orgRoleDetail.searchPermissions":"Procurar permissões...","settings.orgRoleDetail.searchProjects":"Procurar projetos...","settings.orgRoleDetail.selectMembersToAddToThisRole":"Selecione membros para adicionar a este papel.","settings.orgRoleDetail.showMore":"Mostrar mais ({remaining} restantes)","settings.orgRoleDetail.somethingWentWrong":"Algo deu errado","settings.orgRoleDetail.unknown":"Desconhecido","settings.orgRoleDetail.userIsDefaultRoleMessage":"Usuário é o papel padrão — membros não podem ser removidos dele; atribua outro papel para alterar seu acesso","settings.orgSso.cancelButton":"Cancelar","settings.orgSso.clientIdLabel":"ID do cliente","settings.orgSso.clientIdPlaceholder":"seu-id-cliente","settings.orgSso.clientSecretEditDescription":"Deixe em branco para manter atual","settings.orgSso.clientSecretLabel":"Segredo do cliente","settings.orgSso.clientSecretPlaceholder":"seu-segredo-cliente","settings.orgSso.clientSecretRequiredError":"O segredo do cliente é obrigatório na primeira configuração","settings.orgSso.configurationRemovedSuccess":"Configuração SSO removida","settings.orgSso.configurationSavedSuccess":"Configuração SSO salva","settings.orgSso.configureSsoButton":"Configurar SSO","settings.orgSso.discoveryEndpointDescription":"Opcional. Detectado pelo issuer quando vazio.","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 cobre.","settings.orgSso.emailDomainLabel":"Domínio de e-mail","settings.orgSso.emailDomainPlaceholder":"empresa.com","settings.orgSso.enforceSsoDescription":"Exigir que todos os membros se autentiquem via SSO","settings.orgSso.enforceSsoLabel":"Forçar SSO","settings.orgSso.enforcementDisabledSuccess":"Aplicação de SSO desativada","settings.orgSso.enforcementEnabledSuccess":"Aplicação de SSO ativada","settings.orgSso.issuerUrlDescription":"A URL do issuer OIDC do seu provedor de identidade.","settings.orgSso.issuerUrlLabel":"URL do issuer","settings.orgSso.issuerUrlPlaceholder":"https://login.microsoftonline.com/{tenant}/v2.0","settings.orgSso.loading":"Carregando...","settings.orgSso.providerLabel":"Provedor","settings.orgSso.removeButton":"Remover","settings.orgSso.removeConfirmation":"Tem certeza de que deseja remover a configuração SSO?","settings.orgSso.removeSsoConfigError":"Falha ao remover configuração SSO","settings.orgSso.requiredFieldsError":"Issuer, ID do Cliente e Domínio são obrigatórios","settings.orgSso.saveSsoConfigError":"Falha ao salvar configuração SSO","settings.orgSso.savingButton":"Salvando...","settings.orgSso.scopesLabel":"Escopos","settings.orgSso.scopesPlaceholder":"openid email profile","settings.orgSso.sectionTitle":"Single sign-on","settings.orgSso.securityTitle":"Segurança","settings.orgSso.testSsoButton":"Testar SSO","settings.orgSso.toggleEnforcementError":"Falha ao alternar aplicação de SSO","settings.orgSso.updateButton":"Atualizar","settings.organizationForm.failedToReadImage":"Falha ao ler imagem","settings.organizationForm.failedToUpdateOrg":"Falha ao atualizar organização","settings.organizationForm.imageTooLarge":"Imagem deve ser menor que 2MB","settings.organizationForm.logoDescription":"Recomendado: 256×256px.","settings.organizationForm.logoTitle":"Logo","settings.organizationForm.namePlaceholder":"Nome da organização","settings.organizationForm.nameRequired":"O nome é obrigatório","settings.organizationForm.nameTitle":"Nome","settings.organizationForm.nameTooLong":"O nome é muito longo","settings.organizationForm.updateSuccess":"Organização atualizada com sucesso","settings.organizationForm.uploadLogoLabel":"Enviar logo da organização","settings.organizationForm.urlDescription":"Usada em links e integrações de API, por isso não pode ser alterada.","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.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":"Nova 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.accessLabel":"Acesso","settings.apiKeys.accessReadOnly":"Somente leitura","settings.apiKeys.accessReadOnlyDescription":"As {count} ferramentas do Studio que nunca alteram dados. Ferramentas novas ficam de fora.","settings.apiKeys.accessCustom":"Escolher ferramentas","settings.apiKeys.accessCustomDescription":"Só as ferramentas do Studio e das conexões que você marcar. Ferramentas novas ficam de fora.","settings.apiKeys.accessFull":"Acesso total","settings.apiKeys.accessFullDescription":"Todas as ferramentas, inclusive as que apagam dados e as que forem lançadas depois.","settings.apiKeys.expired":"Expirada","settings.apiKeys.expiredOn":"Expirou em {date}","settings.apiKeys.expiresOn":"Expira em {date}","settings.apiKeys.expiryDays":"{days} dias","settings.apiKeys.expiryLabel":"Validade","settings.apiKeys.expiryNever":"Sem validade","settings.apiKeys.expiryYear":"1 ano","settings.apiKeys.neverExpires":"Sem validade","settings.apiKeys.readOnlyBadge":"Leitura","settings.apiKeys.toolCount":"{count} ferramentas","settings.apiKeys.studioTools":"Studio","settings.apiKeys.toolsGroupCount":"{count}/{total}","settings.apiKeys.toolsNone":"Nenhuma ferramenta","settings.apiKeys.toolsSelectGroup":"Selecionar todas as ferramentas de {name}","settings.apiKeys.toolsSelected":"{count} selecionadas","settings.apiKeys.toolsLoadFailed":"Não foi possível carregar a lista de ferramentas. Feche e tente de novo.","settings.apiKeys.toolsSearch":"Buscar ferramentas…","settings.apiKeys.cancelButton":"Cancelar","settings.apiKeys.copied":"Copiado para a área de transferência","settings.apiKeys.copyKey":"Copiar chave","settings.apiKeys.createButton":"Criar chave","settings.apiKeys.createdAt":"Criada em {date}","settings.apiKeys.createdDescription":"Copie esta chave agora — ela não será mostrada novamente.","settings.apiKeys.createdTitle":"Chave de API criada","settings.apiKeys.creatingButton":"Criando…","settings.apiKeys.deleteDescription":"Qualquer aplicação usando esta chave perderá acesso imediatamente. Isso não pode ser desfeito.","settings.apiKeys.deleteKey":"Excluir chave","settings.apiKeys.deleteTitle":'Excluir "{name}"?',"settings.apiKeys.done":"Concluído","settings.apiKeys.emptyDescription":"Crie uma chave para autenticar aplicações externas nesta organização.","settings.apiKeys.emptyTitle":"Nenhuma chave de API ainda","settings.apiKeys.failedToCreateKey":"Falha ao criar chave de API","settings.apiKeys.failedToDeleteKey":"Falha ao excluir chave de API","settings.apiKeys.failedToLoadError":"Falha ao carregar chaves de API: {error}","settings.apiKeys.keyDeleted":'Chave de API "{name}" excluída',"settings.apiKeys.loading":"Carregando chaves de API…","settings.apiKeys.nameLabel":"Nome","settings.apiKeys.namePlaceholder":"Minha integração","settings.apiKeys.newKey":"Nova chave","settings.apiKeys.newKeyDescription":"Dê à chave só as ferramentas de que ela precisa. Quem tiver a chave pode usá-las, mesmo se ela vazar.","settings.apiKeys.newKeyTitle":"Nova chave de API","settings.apiKeys.sectionDescription":"Para scripts e clientes que não conseguem entrar pelo navegador.","settings.apiKeys.sectionTitle":"Chaves de API","settings.secrets.cancelButton":"Cancelar","settings.secrets.createButton":"Criar segredo","settings.secrets.creatingButton":"Criando…","settings.secrets.descriptionLabel":"Descrição (opcional)","settings.secrets.descriptionPlaceholder":"Para que é usado este segredo?","settings.secrets.emptyDescription":"Armazene chaves de API, tokens e outros valores sensíveis. Os valores são criptografados em repouso e nunca retornados pela API.","settings.secrets.emptyTitle":"Nenhum segredo ainda","settings.secrets.failedToCreateSecret":"Falha ao criar segredo","settings.secrets.failedToLoadError":"Falha ao carregar segredos: {error}","settings.secrets.nameHelp":"Letras, dígitos, sublinhado, ponto, hífen. Sem distinção entre maiúsculas e minúsculas dentro do seu escopo.","settings.secrets.nameLabel":"Nome","settings.secrets.namePlaceholder":"STRIPE_API_KEY","settings.secrets.newSecret":"Novo segredo","settings.secrets.newSecretDescription":"Armazenado criptografado no cofre de credenciais. Escolha quem pode lê-lo.","settings.secrets.newSecretTitle":"Novo segredo","settings.secrets.scopeLabel":"Escopo","settings.secrets.scopeOrganization":"Organização","settings.secrets.scopeOrganizationDescription":"Organização — visível para todos os membros","settings.secrets.scopePrivate":"Privado","settings.secrets.scopePrivateDescription":"Privado — visível apenas para mim","settings.secrets.secretCreated":'Segredo "{name}" criado',"settings.secrets.secretsCountSingular":"{count} segredo armazenado","settings.secrets.secretsCountPlural":"{count} segredos armazenados","settings.secrets.sectionOrganization":"Organização","settings.secrets.sectionPrivate":"Privado para mim","settings.secrets.valueLabel":"Valor","settings.simpleModeSection.defaultModels":"Modelos padrão","settings.simpleModeSection.failedToSave":"Falha ao salvar: {error}","settings.simpleModeSection.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.tierFast":"Rápido","settings.simpleModeSection.tierImage":"Imagem","settings.simpleModeSection.tierSmart":"Inteligente","settings.simpleModeSection.tierThinking":"Reflexivo","settings.simpleModeSection.tierWebSearch":"Busca na web","settings.aiProviders.groupChat":"Chat e tarefas","settings.aiProviders.groupMedia":"Só imagens e busca na web","settings.aiProviders.customOpenAiCompatible":"OpenAI-compatível personalizado","settings.aiProviders.customOpenAiDescription":"Traga seu próprio servidor de modelos (avançado)","settings.infraBilling.noSites":"Esta organização ainda não é dona de nenhum site deco.cx.","settings.infraBilling.siteLabel":"Sites","settings.infraBilling.pickASite":"Selecione ao menos um site.","settings.infraBilling.tooManySites":"Mostrando os primeiros {count} sites. Selecione sites específicos para ver os demais.","settings.infraBilling.multipleTeams":"Estes sites são cobrados por {count} times legados. O plano e as faturas de cada time estão em Faturas.","settings.infraBilling.noTeam":"Estes sites não estão vinculados a um time de cobrança legado.","settings.infraBilling.partialTeam":"O time legado deste site também cobra sites fora desta organização, então o plano e as faturas não aparecem aqui.","settings.infraBilling.billingUnavailable":"Plano e faturas estão temporariamente indisponíveis.","settings.infraBilling.monthLabel":"Mês","settings.infraBilling.warehouseUnavailable":"Não foi possível ler os dados de uso, então os números abaixo estão incompletos.","settings.infraBilling.summaryTitle":"Resumo","settings.infraBilling.metricsTitle":"Métricas","settings.infraBilling.invoicesTitle":"Faturas","settings.infraBilling.detailsTitle":"Detalhes de cobrança","settings.infraBilling.currentPlan":"Plano atual","settings.infraBilling.nextBilling":"Próxima cobrança","settings.infraBilling.manageButton":"Gerenciar","settings.infraBilling.portalError":"Não foi possível abrir o portal de cobrança: {message}","settings.infraBilling.requestsPerPageview":"Requisições por pageview","settings.infraBilling.plan.free":"Free","settings.infraBilling.plan.pro":"Pro","settings.infraBilling.plan.enterprise":"Enterprise","settings.infraBilling.pageviews":"Pageviews","settings.infraBilling.pageviewsDescription":"Páginas entregues a visitantes neste mês.","settings.infraBilling.requests":"Requisições","settings.infraBilling.requestsDescription":"Requisições de CDN e da infraestrutura compartilhada.","settings.infraBilling.dataTransfer":"Transferência de dados","settings.infraBilling.dataTransferDescription":"Banda entregue pela edge e pela origem.","settings.infraBilling.noInvoices":"Nenhuma fatura emitida para este time.","settings.infraBilling.invoiceReference":"Referência","settings.infraBilling.invoiceDue":"Vencimento","settings.infraBilling.invoiceAmount":"Valor","settings.infraBilling.invoiceStatus":"Status","settings.infraBilling.invoiceDocuments":"Documentos","settings.infraBilling.invoiceNf":"Nota fiscal","settings.infraBilling.invoiceBankSlip":"Boleto","settings.infraBilling.invoiceBankTransfer":"Transferência","settings.infraBilling.statusPaid":"Paga","settings.infraBilling.statusOverdue":"Vencida","settings.infraBilling.statusPending":"Pendente","settings.gitCredentials.title":"Credenciais git","settings.gitCredentials.description":"Tokens que deixam os sandboxes baixarem repositórios e dependências privadas, como submódulos ou pacotes privados de npm, go, pub ou cargo. Escolha um segredo por host.","settings.gitCredentials.addCredential":"Adicionar credencial","settings.gitCredentials.cancel":"Cancelar","settings.gitCredentials.createNewSecret":"Criar novo segredo","settings.gitCredentials.createNewSecretAriaLabel":"Criar novo segredo","settings.gitCredentials.createNewSecretDescription":"Armazenado criptografado. A credencial referencia o segredo pelo id, e o valor nunca sai do servidor.","settings.gitCredentials.createNewSecretTitle":"Criar novo segredo","settings.gitCredentials.descriptionLabel":"Descrição (opcional)","settings.gitCredentials.descriptionPlaceholder":"Para que este token é usado?","settings.gitCredentials.failedToLoadSecrets":"Falha ao carregar segredos","settings.gitCredentials.failedToSave":"Falha ao salvar as credenciais git","settings.gitCredentials.failedToSaveSecret":"Falha ao salvar","settings.gitCredentials.hostAriaLabel":"Host da credencial git {index}","settings.gitCredentials.hostInvalidMessage":"Nome de host simples, ex.: github.com (sem esquema ou caminho).","settings.gitCredentials.hostPlaceholder":"github.com","settings.gitCredentials.maxReached":"Você atingiu o limite de {max} credenciais git. Remova uma para adicionar outra.","settings.gitCredentials.nameLabel":"Nome","settings.gitCredentials.namePlaceholder":"GITHUB_DEPS_PAT","settings.gitCredentials.nameHelperText":"Letras, dígitos, underscore, ponto, hífen.","settings.gitCredentials.noSecretsYet":'Nenhum segredo ainda. Use o "+" para criar um.',"settings.gitCredentials.pickSecretPlaceholder":"Escolha um segredo…","settings.gitCredentials.remove":"Remover","settings.gitCredentials.removeAriaLabel":"Remover credencial git","settings.gitCredentials.saveSecret":"Salvar segredo","settings.gitCredentials.saving":"Salvando…","settings.gitCredentials.secretAriaLabel":"Segredo da credencial git {index}","settings.gitCredentials.scopeLabel":"Escopo","settings.gitCredentials.scopeOrganization":"Organização, visível para todos os membros","settings.gitCredentials.scopePrivate":"Privado, visível só para mim","settings.gitCredentials.secretSaved":'Segredo "{name}" salvo',"settings.gitCredentials.tokenExposureWarning":"O token é instalado na configuração git do sandbox durante a sessão, então comandos e agentes executados lá podem usá-lo. Restrinja-o aos repositórios necessários.","settings.gitCredentials.tokenLabel":"Token de acesso pessoal","settings.gitCredentials.tokenPlaceholder":"Cole seu token"},moe={"announcements.ptBr.title":"O Studio agora está em português","announcements.ptBr.description":"Notamos que seu navegador está em português, então mudamos o Studio para português (Brasil). Você pode voltar para o inglês quando quiser nas configurações.","announcements.ptBr.ok":"OK!","announcements.ptBr.switchBack":"Voltar para o inglês","announcements.release.ariaLabel":"Anúncio de lançamento","announcements.release.dismiss":"Dispensar anúncio de lançamento","announcements.release.learnMore":"Saiba mais","announcements.version.ariaLabel":"Atualização do Studio","announcements.version.dismiss":"Dispensar atualização do Studio","announcements.version.eyebrow":"Atualização do Studio","announcements.version.title":"Uma nova versão está pronta","announcements.version.description":"Atualize a página para carregar as novidades do Studio.","announcements.version.currentSession":"Sessão atual · {version}","announcements.version.refresh":"Atualizar agora"},hoe={"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"},goe={...yte,...Ste,...wte,...xte,...Tte,...kte,...Ete,...Cte,..._te,...Pte,...Ate,...Rte,...Dte,...Ote,...Nte,...Mte,...Ite,...Lte,...Bte,...Qte,...Jte,...Xte,...Fte,...jte,...zte,...qte,...Ute,...$te,...Vte,...Hte,...Gte,...Wte,...Kte,...Yte,...Zte,...eoe,...toe,...ooe,...aoe,...noe,...roe,...soe,...ioe,...loe,...coe,...doe,...uoe,...poe,...moe,...hoe,...bte,...vte},UB={en:fte,"pt-BR":goe};function ar(t,e){return qB(UB[ib()][t],e)}function Ua(){const t=ye.c(2),[e]=oE(),o=UB[e.language];let a;return t[0]!==o?(a=(n,r)=>qB(o[n],r),t[0]=o,t[1]=a):a=t[1],a}function $B(t){var e,o,a="";if(typeof t=="string"||typeof t=="number")a+=t;else if(typeof t=="object")if(Array.isArray(t)){var n=t.length;for(e=0;e<n;e++)t[e]&&(o=$B(t[e]))&&(a&&(a+=" "),a+=o)}else for(o in t)t[o]&&(a&&(a+=" "),a+=o);return a}function aE(){for(var t,e,o=0,a="",n=arguments.length;o<n;o++)(t=arguments[o])&&(e=$B(t))&&(a&&(a+=" "),a+=e);return a}const SO=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,wO=aE,Ql=(t,e)=>o=>{var a;if(e?.variants==null)return wO(t,o?.class,o?.className);const{variants:n,defaultVariants:r}=e,i=Object.keys(n).map(u=>{const m=o?.[u],h=r?.[u];if(m===null)return null;const f=SO(m)||SO(h);return n[u][f]}),c=o&&Object.entries(o).reduce((u,m)=>{let[h,f]=m;return f===void 0||(u[h]=f),u},{}),d=e==null||(a=e.compoundVariants)===null||a===void 0?void 0:a.reduce((u,m)=>{let{class:h,className:f,...v}=m;return Object.entries(v).every(b=>{let[S,T]=b;return Array.isArray(T)?T.includes({...r,...c}[S]):{...r,...c}[S]===T})?[...u,h,f]:u},[]);return wO(t,i,d,o?.class,o?.className)},foe=(t,e)=>{const o=new Array(t.length+e.length);for(let a=0;a<t.length;a++)o[a]=t[a];for(let a=0;a<e.length;a++)o[t.length+a]=e[a];return o},voe=(t,e)=>({classGroupId:t,validator:e}),VB=(t=new Map,e=null,o)=>({nextPart:t,validators:e,classGroupId:o}),ov="-",xO=[],boe="arbitrary..",yoe=t=>{const e=woe(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:a}=t;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return Soe(i);const c=i.split(ov),d=c[0]===""&&c.length>1?1:0;return HB(c,d,e)},getConflictingClassGroupIds:(i,c)=>{if(c){const d=a[i],u=o[i];return d?u?foe(u,d):d:u||xO}return o[i]||xO}}},HB=(t,e,o)=>{if(t.length-e===0)return o.classGroupId;const n=t[e],r=o.nextPart.get(n);if(r){const u=HB(t,e+1,r);if(u)return u}const i=o.validators;if(i===null)return;const c=e===0?t.join(ov):t.slice(e).join(ov),d=i.length;for(let u=0;u<d;u++){const m=i[u];if(m.validator(c))return m.classGroupId}},Soe=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),o=e.indexOf(":"),a=e.slice(0,o);return a?boe+a:void 0})(),woe=t=>{const{theme:e,classGroups:o}=t;return xoe(o,e)},xoe=(t,e)=>{const o=VB();for(const a in t){const n=t[a];nE(n,o,a,e)}return o},nE=(t,e,o,a)=>{const n=t.length;for(let r=0;r<n;r++){const i=t[r];Toe(i,e,o,a)}},Toe=(t,e,o,a)=>{if(typeof t=="string"){koe(t,e,o);return}if(typeof t=="function"){Eoe(t,e,o,a);return}Coe(t,e,o,a)},koe=(t,e,o)=>{const a=t===""?e:GB(e,t);a.classGroupId=o},Eoe=(t,e,o,a)=>{if(_oe(t)){nE(t(a),e,o,a);return}e.validators===null&&(e.validators=[]),e.validators.push(voe(o,t))},Coe=(t,e,o,a)=>{const n=Object.entries(t),r=n.length;for(let i=0;i<r;i++){const[c,d]=n[i];nE(d,GB(e,c),o,a)}},GB=(t,e)=>{let o=t;const a=e.split(ov),n=a.length;for(let r=0;r<n;r++){const i=a[r];let c=o.nextPart.get(i);c||(c=VB(),o.nextPart.set(i,c)),o=c}return o},_oe=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,Poe=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,o=Object.create(null),a=Object.create(null);const n=(r,i)=>{o[r]=i,e++,e>t&&(e=0,a=o,o=Object.create(null))};return{get(r){let i=o[r];if(i!==void 0)return i;if((i=a[r])!==void 0)return n(r,i),i},set(r,i){r in o?o[r]=i:n(r,i)}}},FT="!",TO=":",Aoe=[],kO=(t,e,o,a,n)=>({modifiers:t,hasImportantModifier:e,baseClassName:o,maybePostfixModifierPosition:a,isExternal:n}),Roe=t=>{const{prefix:e,experimentalParseClassName:o}=t;let a=n=>{const r=[];let i=0,c=0,d=0,u;const m=n.length;for(let S=0;S<m;S++){const T=n[S];if(i===0&&c===0){if(T===TO){r.push(n.slice(d,S)),d=S+1;continue}if(T==="/"){u=S;continue}}T==="["?i++:T==="]"?i--:T==="("?c++:T===")"&&c--}const h=r.length===0?n:n.slice(d);let f=h,v=!1;h.endsWith(FT)?(f=h.slice(0,-1),v=!0):h.startsWith(FT)&&(f=h.slice(1),v=!0);const b=u&&u>d?u-d:void 0;return kO(r,v,f,b)};if(e){const n=e+TO,r=a;a=i=>i.startsWith(n)?r(i.slice(n.length)):kO(Aoe,!1,i,void 0,!0)}if(o){const n=a;a=r=>o({className:r,parseClassName:n})}return a},Doe=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((o,a)=>{e.set(o,1e6+a)}),o=>{const a=[];let n=[];for(let r=0;r<o.length;r++){const i=o[r],c=i[0]==="[",d=e.has(i);c||d?(n.length>0&&(n.sort(),a.push(...n),n=[]),a.push(i)):n.push(i)}return n.length>0&&(n.sort(),a.push(...n)),a}},Ooe=t=>({cache:Poe(t.cacheSize),parseClassName:Roe(t),sortModifiers:Doe(t),postfixLookupClassGroupIds:Noe(t),...yoe(t)}),Noe=t=>{const e=Object.create(null),o=t.postfixLookupClassGroups;if(o)for(let a=0;a<o.length;a++)e[o[a]]=!0;return e},Moe=/\s+/,Ioe=(t,e)=>{const{parseClassName:o,getClassGroupId:a,getConflictingClassGroupIds:n,sortModifiers:r,postfixLookupClassGroupIds:i}=e,c=[],d=t.trim().split(Moe);let u="";for(let m=d.length-1;m>=0;m-=1){const h=d[m],{isExternal:f,modifiers:v,hasImportantModifier:b,baseClassName:S,maybePostfixModifierPosition:T}=o(h);if(f){u=h+(u.length>0?" "+u:u);continue}let x=!!T,k;if(x){const R=S.substring(0,T);k=a(R);const O=k&&i[k]?a(S):void 0;O&&O!==k&&(k=O,x=!1)}else k=a(S);if(!k){if(!x){u=h+(u.length>0?" "+u:u);continue}if(k=a(S),!k){u=h+(u.length>0?" "+u:u);continue}x=!1}const C=v.length===0?"":v.length===1?v[0]:r(v).join(":"),E=b?C+FT:C,P=E+k;if(c.indexOf(P)>-1)continue;c.push(P);const D=n(k,x);for(let R=0;R<D.length;++R){const O=D[R];c.push(E+O)}u=h+(u.length>0?" "+u:u)}return u},Loe=(...t)=>{let e=0,o,a,n="";for(;e<t.length;)(o=t[e++])&&(a=WB(o))&&(n&&(n+=" "),n+=a);return n},WB=t=>{if(typeof t=="string")return t;let e,o="";for(let a=0;a<t.length;a++)t[a]&&(e=WB(t[a]))&&(o&&(o+=" "),o+=e);return o},Boe=(t,...e)=>{let o,a,n,r;const i=d=>{const u=e.reduce((m,h)=>h(m),t());return o=Ooe(u),a=o.cache.get,n=o.cache.set,r=c,c(d)},c=d=>{const u=a(d);if(u)return u;const m=Ioe(d,o);return n(d,m),m};return r=i,(...d)=>r(Loe(...d))},Foe=[],aa=t=>{const e=o=>o[t]||Foe;return e.isThemeGetter=!0,e},KB=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,YB=/^\((?:(\w[\w-]*):)?(.+)\)$/i,joe=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,zoe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,qoe=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Uoe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,$oe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Voe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,vi=t=>joe.test(t),bt=t=>!!t&&!Number.isNaN(Number(t)),Fr=t=>!!t&&Number.isInteger(Number(t)),Mw=t=>t.endsWith("%")&&bt(t.slice(0,-1)),Es=t=>zoe.test(t),ZB=()=>!0,Hoe=t=>qoe.test(t)&&!Uoe.test(t),rE=()=>!1,Goe=t=>$oe.test(t),Woe=t=>Voe.test(t),Koe=t=>!We(t)&&!Ke(t),Yoe=t=>t.startsWith("@container")&&(t[10]==="/"&&t[11]!==void 0||t[11]==="s"&&t[16]!==void 0&&t.startsWith("-size/",10)||t[11]==="n"&&t[18]!==void 0&&t.startsWith("-normal/",10)),Zoe=t=>Ji(t,XB,rE),We=t=>KB.test(t),xl=t=>Ji(t,eF,Hoe),EO=t=>Ji(t,nae,bt),Qoe=t=>Ji(t,oF,ZB),Joe=t=>Ji(t,tF,rE),CO=t=>Ji(t,QB,rE),Xoe=t=>Ji(t,JB,Woe),$g=t=>Ji(t,aF,Goe),Ke=t=>YB.test(t),Xu=t=>Jl(t,eF),eae=t=>Jl(t,tF),_O=t=>Jl(t,QB),tae=t=>Jl(t,XB),oae=t=>Jl(t,JB),Vg=t=>Jl(t,aF,!0),aae=t=>Jl(t,oF,!0),Ji=(t,e,o)=>{const a=KB.exec(t);return a?a[1]?e(a[1]):o(a[2]):!1},Jl=(t,e,o=!1)=>{const a=YB.exec(t);return a?a[1]?e(a[1]):o:!1},QB=t=>t==="position"||t==="percentage",JB=t=>t==="image"||t==="url",XB=t=>t==="length"||t==="size"||t==="bg-size",eF=t=>t==="length",nae=t=>t==="number",tF=t=>t==="family-name",oF=t=>t==="number"||t==="weight",aF=t=>t==="shadow",rae=()=>{const t=aa("color"),e=aa("font"),o=aa("text"),a=aa("font-weight"),n=aa("tracking"),r=aa("leading"),i=aa("breakpoint"),c=aa("container"),d=aa("spacing"),u=aa("radius"),m=aa("shadow"),h=aa("inset-shadow"),f=aa("text-shadow"),v=aa("drop-shadow"),b=aa("blur"),S=aa("perspective"),T=aa("aspect"),x=aa("ease"),k=aa("animate"),C=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],P=()=>[...E(),Ke,We],D=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto","contain","none"],O=()=>[Ke,We,d],I=()=>[vi,"full","auto",...O()],q=()=>[Fr,"none","subgrid",Ke,We],B=()=>["auto",{span:["full",Fr,Ke,We]},Fr,Ke,We],j=()=>[Fr,"auto",Ke,We],F=()=>["auto","min","max","fr",Ke,We],W=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],oe=()=>["start","end","center","stretch","center-safe","end-safe"],H=()=>["auto",...O()],K=()=>[vi,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...O()],J=()=>[vi,"screen","full","dvw","lvw","svw","min","max","fit",...O()],se=()=>[vi,"screen","full","lh","dvh","lvh","svh","min","max","fit",...O()],Q=()=>[t,Ke,We],M=()=>[...E(),_O,CO,{position:[Ke,We]}],G=()=>["no-repeat",{repeat:["","x","y","space","round"]}],V=()=>["auto","cover","contain",tae,Zoe,{size:[Ke,We]}],L=()=>[Mw,Xu,xl],z=()=>["","none","full",u,Ke,We],X=()=>["",bt,Xu,xl],de=()=>["solid","dashed","dotted","double"],ue=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ee=()=>[bt,Mw,_O,CO],qe=()=>["","none",b,Ke,We],Z=()=>["none",bt,Ke,We],ne=()=>["none",bt,Ke,We],ve=()=>[bt,Ke,We],ie=()=>[vi,"full",...O()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Es],breakpoint:[Es],color:[ZB],container:[Es],"drop-shadow":[Es],ease:["in","out","in-out"],font:[Koe],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Es],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Es],shadow:[Es],spacing:["px",bt],text:[Es],"text-shadow":[Es],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",vi,We,Ke,T]}],container:["container"],"container-type":[{"@container":["","normal","size",Ke,We]}],"container-named":[Yoe],columns:[{columns:[bt,We,Ke,c]}],"break-after":[{"break-after":C()}],"break-before":[{"break-before":C()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:P()}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{"inset-s":I(),start:I()}],end:[{"inset-e":I(),end:I()}],"inset-bs":[{"inset-bs":I()}],"inset-be":[{"inset-be":I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[Fr,"auto",Ke,We]}],basis:[{basis:[vi,"full","auto",c,...O()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[bt,vi,"auto","initial","none",We]}],grow:[{grow:["",bt,Ke,We]}],shrink:[{shrink:["",bt,Ke,We]}],order:[{order:[Fr,"first","last","none",Ke,We]}],"grid-cols":[{"grid-cols":q()}],"col-start-end":[{col:B()}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":q()}],"row-start-end":[{row:B()}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":F()}],"auto-rows":[{"auto-rows":F()}],gap:[{gap:O()}],"gap-x":[{"gap-x":O()}],"gap-y":[{"gap-y":O()}],"justify-content":[{justify:[...W(),"normal"]}],"justify-items":[{"justify-items":[...oe(),"normal"]}],"justify-self":[{"justify-self":["auto",...oe()]}],"align-content":[{content:["normal",...W()]}],"align-items":[{items:[...oe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...oe(),{baseline:["","last"]}]}],"place-content":[{"place-content":W()}],"place-items":[{"place-items":[...oe(),"baseline"]}],"place-self":[{"place-self":["auto",...oe()]}],p:[{p:O()}],px:[{px:O()}],py:[{py:O()}],ps:[{ps:O()}],pe:[{pe:O()}],pbs:[{pbs:O()}],pbe:[{pbe:O()}],pt:[{pt:O()}],pr:[{pr:O()}],pb:[{pb:O()}],pl:[{pl:O()}],m:[{m:H()}],mx:[{mx:H()}],my:[{my:H()}],ms:[{ms:H()}],me:[{me:H()}],mbs:[{mbs:H()}],mbe:[{mbe:H()}],mt:[{mt:H()}],mr:[{mr:H()}],mb:[{mb:H()}],ml:[{ml:H()}],"space-x":[{"space-x":O()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":O()}],"space-y-reverse":["space-y-reverse"],size:[{size:K()}],"inline-size":[{inline:["auto",...J()]}],"min-inline-size":[{"min-inline":["auto",...J()]}],"max-inline-size":[{"max-inline":["none",...J()]}],"block-size":[{block:["auto",...se()]}],"min-block-size":[{"min-block":["auto",...se()]}],"max-block-size":[{"max-block":["none",...se()]}],w:[{w:[c,"screen",...K()]}],"min-w":[{"min-w":[c,"screen","none",...K()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[i]},...K()]}],h:[{h:["screen","lh",...K()]}],"min-h":[{"min-h":["screen","lh","none",...K()]}],"max-h":[{"max-h":["screen","lh",...K()]}],"font-size":[{text:["base",o,Xu,xl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[a,aae,Qoe]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Mw,We]}],"font-family":[{font:[eae,Joe,e]}],"font-features":[{"font-features":[We]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,Ke,We]}],"line-clamp":[{"line-clamp":[bt,"none",Ke,EO]}],leading:[{leading:[r,...O()]}],"list-image":[{"list-image":["none",Ke,We]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ke,We]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Q()}],"text-color":[{text:Q()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...de(),"wavy"]}],"text-decoration-thickness":[{decoration:[bt,"from-font","auto",Ke,xl]}],"text-decoration-color":[{decoration:Q()}],"underline-offset":[{"underline-offset":[bt,"auto",Ke,We]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"tab-size":[{tab:[Fr,Ke,We]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ke,We]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ke,We]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:M()}],"bg-repeat":[{bg:G()}],"bg-size":[{bg:V()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Fr,Ke,We],radial:["",Ke,We],conic:[Fr,Ke,We]},oae,Xoe]}],"bg-color":[{bg:Q()}],"gradient-from-pos":[{from:L()}],"gradient-via-pos":[{via:L()}],"gradient-to-pos":[{to:L()}],"gradient-from":[{from:Q()}],"gradient-via":[{via:Q()}],"gradient-to":[{to:Q()}],rounded:[{rounded:z()}],"rounded-s":[{"rounded-s":z()}],"rounded-e":[{"rounded-e":z()}],"rounded-t":[{"rounded-t":z()}],"rounded-r":[{"rounded-r":z()}],"rounded-b":[{"rounded-b":z()}],"rounded-l":[{"rounded-l":z()}],"rounded-ss":[{"rounded-ss":z()}],"rounded-se":[{"rounded-se":z()}],"rounded-ee":[{"rounded-ee":z()}],"rounded-es":[{"rounded-es":z()}],"rounded-tl":[{"rounded-tl":z()}],"rounded-tr":[{"rounded-tr":z()}],"rounded-br":[{"rounded-br":z()}],"rounded-bl":[{"rounded-bl":z()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-bs":[{"border-bs":X()}],"border-w-be":[{"border-be":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...de(),"hidden","none"]}],"divide-style":[{divide:[...de(),"hidden","none"]}],"border-color":[{border:Q()}],"border-color-x":[{"border-x":Q()}],"border-color-y":[{"border-y":Q()}],"border-color-s":[{"border-s":Q()}],"border-color-e":[{"border-e":Q()}],"border-color-bs":[{"border-bs":Q()}],"border-color-be":[{"border-be":Q()}],"border-color-t":[{"border-t":Q()}],"border-color-r":[{"border-r":Q()}],"border-color-b":[{"border-b":Q()}],"border-color-l":[{"border-l":Q()}],"divide-color":[{divide:Q()}],"outline-style":[{outline:[...de(),"none","hidden"]}],"outline-offset":[{"outline-offset":[bt,Ke,We]}],"outline-w":[{outline:["",bt,Xu,xl]}],"outline-color":[{outline:Q()}],shadow:[{shadow:["","none",m,Vg,$g]}],"shadow-color":[{shadow:Q()}],"inset-shadow":[{"inset-shadow":["none",h,Vg,$g]}],"inset-shadow-color":[{"inset-shadow":Q()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Q()}],"ring-offset-w":[{"ring-offset":[bt,xl]}],"ring-offset-color":[{"ring-offset":Q()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":Q()}],"text-shadow":[{"text-shadow":["none",f,Vg,$g]}],"text-shadow-color":[{"text-shadow":Q()}],opacity:[{opacity:[bt,Ke,We]}],"mix-blend":[{"mix-blend":[...ue(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ue()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[bt]}],"mask-image-linear-from-pos":[{"mask-linear-from":Ee()}],"mask-image-linear-to-pos":[{"mask-linear-to":Ee()}],"mask-image-linear-from-color":[{"mask-linear-from":Q()}],"mask-image-linear-to-color":[{"mask-linear-to":Q()}],"mask-image-t-from-pos":[{"mask-t-from":Ee()}],"mask-image-t-to-pos":[{"mask-t-to":Ee()}],"mask-image-t-from-color":[{"mask-t-from":Q()}],"mask-image-t-to-color":[{"mask-t-to":Q()}],"mask-image-r-from-pos":[{"mask-r-from":Ee()}],"mask-image-r-to-pos":[{"mask-r-to":Ee()}],"mask-image-r-from-color":[{"mask-r-from":Q()}],"mask-image-r-to-color":[{"mask-r-to":Q()}],"mask-image-b-from-pos":[{"mask-b-from":Ee()}],"mask-image-b-to-pos":[{"mask-b-to":Ee()}],"mask-image-b-from-color":[{"mask-b-from":Q()}],"mask-image-b-to-color":[{"mask-b-to":Q()}],"mask-image-l-from-pos":[{"mask-l-from":Ee()}],"mask-image-l-to-pos":[{"mask-l-to":Ee()}],"mask-image-l-from-color":[{"mask-l-from":Q()}],"mask-image-l-to-color":[{"mask-l-to":Q()}],"mask-image-x-from-pos":[{"mask-x-from":Ee()}],"mask-image-x-to-pos":[{"mask-x-to":Ee()}],"mask-image-x-from-color":[{"mask-x-from":Q()}],"mask-image-x-to-color":[{"mask-x-to":Q()}],"mask-image-y-from-pos":[{"mask-y-from":Ee()}],"mask-image-y-to-pos":[{"mask-y-to":Ee()}],"mask-image-y-from-color":[{"mask-y-from":Q()}],"mask-image-y-to-color":[{"mask-y-to":Q()}],"mask-image-radial":[{"mask-radial":[Ke,We]}],"mask-image-radial-from-pos":[{"mask-radial-from":Ee()}],"mask-image-radial-to-pos":[{"mask-radial-to":Ee()}],"mask-image-radial-from-color":[{"mask-radial-from":Q()}],"mask-image-radial-to-color":[{"mask-radial-to":Q()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":E()}],"mask-image-conic-pos":[{"mask-conic":[bt]}],"mask-image-conic-from-pos":[{"mask-conic-from":Ee()}],"mask-image-conic-to-pos":[{"mask-conic-to":Ee()}],"mask-image-conic-from-color":[{"mask-conic-from":Q()}],"mask-image-conic-to-color":[{"mask-conic-to":Q()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:M()}],"mask-repeat":[{mask:G()}],"mask-size":[{mask:V()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ke,We]}],filter:[{filter:["","none",Ke,We]}],blur:[{blur:qe()}],brightness:[{brightness:[bt,Ke,We]}],contrast:[{contrast:[bt,Ke,We]}],"drop-shadow":[{"drop-shadow":["","none",v,Vg,$g]}],"drop-shadow-color":[{"drop-shadow":Q()}],grayscale:[{grayscale:["",bt,Ke,We]}],"hue-rotate":[{"hue-rotate":[bt,Ke,We]}],invert:[{invert:["",bt,Ke,We]}],saturate:[{saturate:[bt,Ke,We]}],sepia:[{sepia:["",bt,Ke,We]}],"backdrop-filter":[{"backdrop-filter":["","none",Ke,We]}],"backdrop-blur":[{"backdrop-blur":qe()}],"backdrop-brightness":[{"backdrop-brightness":[bt,Ke,We]}],"backdrop-contrast":[{"backdrop-contrast":[bt,Ke,We]}],"backdrop-grayscale":[{"backdrop-grayscale":["",bt,Ke,We]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[bt,Ke,We]}],"backdrop-invert":[{"backdrop-invert":["",bt,Ke,We]}],"backdrop-opacity":[{"backdrop-opacity":[bt,Ke,We]}],"backdrop-saturate":[{"backdrop-saturate":[bt,Ke,We]}],"backdrop-sepia":[{"backdrop-sepia":["",bt,Ke,We]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":O()}],"border-spacing-x":[{"border-spacing-x":O()}],"border-spacing-y":[{"border-spacing-y":O()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ke,We]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[bt,"initial",Ke,We]}],ease:[{ease:["linear","initial",x,Ke,We]}],delay:[{delay:[bt,Ke,We]}],animate:[{animate:["none",k,Ke,We]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,Ke,We]}],"perspective-origin":[{"perspective-origin":P()}],rotate:[{rotate:Z()}],"rotate-x":[{"rotate-x":Z()}],"rotate-y":[{"rotate-y":Z()}],"rotate-z":[{"rotate-z":Z()}],scale:[{scale:ne()}],"scale-x":[{"scale-x":ne()}],"scale-y":[{"scale-y":ne()}],"scale-z":[{"scale-z":ne()}],"scale-3d":["scale-3d"],skew:[{skew:ve()}],"skew-x":[{"skew-x":ve()}],"skew-y":[{"skew-y":ve()}],transform:[{transform:[Ke,We,"","none","gpu","cpu"]}],"transform-origin":[{origin:P()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ie()}],"translate-x":[{"translate-x":ie()}],"translate-y":[{"translate-y":ie()}],"translate-z":[{"translate-z":ie()}],"translate-none":["translate-none"],zoom:[{zoom:[Fr,Ke,We]}],accent:[{accent:Q()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Q()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ke,We]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":Q()}],"scrollbar-track-color":[{"scrollbar-track":Q()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mbs":[{"scroll-mbs":O()}],"scroll-mbe":[{"scroll-mbe":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pbs":[{"scroll-pbs":O()}],"scroll-pbe":[{"scroll-pbe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ke,We]}],fill:[{fill:["none",...Q()]}],"stroke-w":[{stroke:[bt,Xu,xl,EO]}],stroke:[{stroke:["none",...Q()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},nF=Boe(rae);function Ze(...t){return nF(aE(t))}const sae=Ql("animate-spin shrink-0",{variants:{size:{"2xs":"size-3",xs:"size-4",sm:"size-6",default:"size-7",lg:"size-8",icon:"size-6"}},defaultVariants:{size:"default"}});function iae(t){const e=ye.c(11),{size:o,className:a,style:n,label:r}=t;let i;e[0]!==r?(i=r?{role:"status","aria-label":r}:{"aria-hidden":!0},e[0]=r,e[1]=i):i=e[1];let c;e[2]!==a||e[3]!==o?(c=Ze(sae({size:o}),a),e[2]=a,e[3]=o,e[4]=c):c=e[4];let d,u;e[5]===Symbol.for("react.memo_cache_sentinel")?(d=y.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor",opacity:"0.2"}),u=y.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentColor"}),e[5]=d,e[6]=u):(d=e[5],u=e[6]);let m;return e[7]!==n||e[8]!==i||e[9]!==c?(m=y.jsxs("svg",{...i,className:c,style:n,viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d,u]}),e[7]=n,e[8]=i,e[9]=c,e[10]=m):m=e[10],m}function Qd(){const t=ye.c(4),e=Ua();let o;t[0]!==e?(o=e("common.loading"),t[0]=e,t[1]=o):o=t[1];let a;return t[2]!==o?(a=y.jsx("div",{"data-testid":"panel-loading",className:"flex flex-1 h-full w-full items-center justify-center",children:y.jsx(iae,{className:"size-5 text-muted-foreground",label:o})}),t[2]=o,t[3]=a):a=t[3],a}function bTe(t){const e=ye.c(3),{children:o}=t;let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=y.jsx(Qd,{}),e[0]=a):a=e[0];let n;return e[1]!==o?(n=y.jsx(A.Suspense,{fallback:a,children:o}),e[1]=o,e[2]=n):n=e[2],n}const rF=lo([Vt(),Qe("chat"),Qe(0)]).optional().transform(t=>t===void 0?void 0:t===!0||t==="chat").catch(void 0),sF=Vt().optional().catch(void 0);function PO(t){const e=ye.c(8);let o,a;e[0]!==t?({className:o,...a}=t,e[0]=t,e[1]=o,e[2]=a):(o=e[1],a=e[2]);let n;e[3]!==o?(n=Ze("bg-secondary-hover animate-pulse rounded-md",o),e[3]=o,e[4]=n):n=e[4];let r;return e[5]!==a||e[6]!==n?(r=y.jsx("div",{"data-slot":"skeleton",className:n,...a}),e[5]=a,e[6]=n,e[7]=r):r=e[7],r}function AO(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function gm(...t){return e=>{let o=!1;const a=t.map(n=>{const r=AO(n,e);return!o&&typeof r=="function"&&(o=!0),r});if(o)return()=>{for(let n=0;n<a.length;n++){const r=a[n];typeof r=="function"?r():AO(t[n],null)}}}}function Vo(...t){return A.useCallback(gm(...t),t)}var lae=Symbol.for("react.lazy"),av=ck[" use ".trim().toString()];function cae(t){return typeof t=="object"&&t!==null&&"then"in t}function iF(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===lae&&"_payload"in t&&cae(t._payload)}function lF(t){const e=dae(t),o=A.forwardRef((a,n)=>{let{children:r,...i}=a;iF(r)&&typeof av=="function"&&(r=av(r._payload));const c=A.Children.toArray(r),d=c.find(pae);if(d){const u=d.props.children,m=c.map(h=>h===d?A.Children.count(u)>1?A.Children.only(null):A.isValidElement(u)?u.props.children:null:h);return y.jsx(e,{...i,ref:n,children:A.isValidElement(u)?A.cloneElement(u,void 0,m):null})}return y.jsx(e,{...i,ref:n,children:r})});return o.displayName=`${t}.Slot`,o}var lb=lF("Slot");function dae(t){const e=A.forwardRef((o,a)=>{let{children:n,...r}=o;if(iF(n)&&typeof av=="function"&&(n=av(n._payload)),A.isValidElement(n)){const i=hae(n),c=mae(r,n.props);return n.type!==A.Fragment&&(c.ref=a?gm(a,i):i),A.cloneElement(n,c)}return A.Children.count(n)>1?A.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var cF=Symbol("radix.slottable");function uae(t){const e=({children:o})=>y.jsx(y.Fragment,{children:o});return e.displayName=`${t}.Slottable`,e.__radixId=cF,e}var yTe=uae("Slottable");function pae(t){return A.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===cF}function mae(t,e){const o={...e};for(const a in e){const n=t[a],r=e[a];/^on[A-Z]/.test(a)?n&&r?o[a]=(...c)=>{const d=r(...c);return n(...c),d}:n&&(o[a]=n):a==="style"?o[a]={...n,...r}:a==="className"&&(o[a]=[n,r].filter(Boolean).join(" "))}return{...t,...o}}function hae(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,o=e&&"isReactWarning"in e&&e.isReactWarning;return o?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,o=e&&"isReactWarning"in e&&e.isReactWarning,o?t.props.ref:t.props.ref||t.ref)}const gae="bg-[var(--studio-secondary-background)] text-[color:var(--studio-secondary-foreground)] shadow-[var(--studio-secondary-shadow)] hover:bg-[var(--studio-secondary-hover-background)] hover:text-[color:var(--studio-secondary-hover-foreground)]",sE=Ql(["relative inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap","rounded-[var(--studio-button-radius)] text-sm font-medium","transition-[background-color,box-shadow,color,opacity] duration-150 ease-[var(--ease-out-cubic)]","active:translate-y-px active:transition-none motion-reduce:active:translate-y-0","focus-ring","disabled:pointer-events-none disabled:opacity-40","[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","aria-invalid:outline-destructive"],{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary-hover",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/85 dark:bg-destructive/70",secondary:gae,outline:"bg-card text-[color:var(--studio-outline-foreground)] shadow-edge hover:bg-[var(--studio-outline-hover-background)] hover:text-accent-foreground aria-pressed:bg-accent aria-pressed:text-accent-foreground data-[state=open]:bg-accent",success:"bg-success text-success-foreground hover:bg-success/90",warning:"bg-warning text-warning-foreground hover:bg-warning/90",brand:"bg-brand text-brand-foreground hover:bg-brand/85",special:"bg-special text-special-foreground hover:bg-special/90",ghost:"hover:bg-accent hover:text-accent-foreground","ghost-destructive":"text-muted-foreground hover:bg-accent hover:text-destructive",agent:"bg-card text-card-foreground shadow-edge hover:bg-accent has-[>[data-slot=agent-avatar]]:pl-[3px]",sidebar:"text-sidebar-foreground hover:bg-sidebar-accent aria-pressed:bg-sidebar-accent [&_svg:not([class*='text-'])]:text-muted-foreground hover:[&_svg:not([class*='text-'])]:text-sidebar-foreground",link:"text-foreground/80 hover:text-foreground",tab:"text-muted-foreground hover:bg-accent hover:text-foreground aria-pressed:bg-card aria-pressed:text-card-foreground aria-pressed:shadow-edge aria-[current=page]:bg-card aria-[current=page]:text-card-foreground aria-[current=page]:shadow-edge",menu:"w-full justify-start font-normal hover:bg-accent hover:text-accent-foreground"},size:{default:"h-8 px-3.5 has-[>svg]:px-3",sm:"h-7 gap-1.5 px-3 has-[>svg]:px-2.5",xs:"h-6 gap-1 px-2.5 text-xs has-[>svg]:px-2",lg:"h-10 px-4.5 has-[>svg]:px-4",xl:"h-12 px-6 text-base has-[>svg]:px-5",icon:"size-8","icon-sm":"size-7","icon-xs":"size-6"}},defaultVariants:{variant:"default",size:"default"}});function bn(t){const e=ye.c(14);let o,a,n,r,i;e[0]!==t?({className:o,variant:i,size:n,asChild:r,...a}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n,e[4]=r,e[5]=i):(o=e[1],a=e[2],n=e[3],r=e[4],i=e[5]);const d=(r===void 0?!1:r)?lb:"button";let u;e[6]!==o||e[7]!==n||e[8]!==i?(u=Ze(sE({variant:i,size:n,className:o})),e[6]=o,e[7]=n,e[8]=i,e[9]=u):u=e[9];let m;return e[10]!==d||e[11]!==a||e[12]!==u?(m=y.jsx(d,{"data-slot":"button",className:u,...a}),e[10]=d,e[11]=a,e[12]=u,e[13]=m):m=e[13],m}const $p=A.createContext(null);function fae(t){const e=ye.c(18);let o,a,n,r;e[0]!==t?({children:o,className:a,variant:r,...n}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n,e[4]=r):(o=e[1],a=e[2],n=e[3],r=e[4]);const i=r===void 0?"card":r;let c;e[5]===Symbol.for("react.memo_cache_sentinel")?(c={left:null,center:null,right:null,"toolbar-left":null,"toolbar-center":null,"toolbar-right":null},e[5]=c):c=e[5];const[d,u]=A.useState(c);let m;e[6]!==d?(m={targets:d,setTargets:u},e[6]=d,e[7]=m):m=e[7];const h=i==="card"&&"rounded-xl shadow-edge [transform:translateZ(0)]";let f;e[8]!==a||e[9]!==h?(f=Ze("flex h-full min-h-0 min-w-0 flex-col overflow-hidden bg-background",h,a),e[8]=a,e[9]=h,e[10]=f):f=e[10];let v;e[11]!==o||e[12]!==n||e[13]!==f?(v=y.jsx("div",{...n,"data-slot":"panel",className:f,children:o}),e[11]=o,e[12]=n,e[13]=f,e[14]=v):v=e[14];let b;return e[15]!==m||e[16]!==v?(b=y.jsx($p,{value:m,children:v}),e[15]=m,e[16]=v,e[17]=b):b=e[17],b}function vae(t){const e=ye.c(8);let o,a;e[0]!==t?({className:o,...a}=t,e[0]=t,e[1]=o,e[2]=a):(o=e[1],a=e[2]);let n;e[3]!==o?(n=Ze("@container/panel-header relative z-10 flex h-12 shrink-0 items-center justify-between gap-2 px-1.5",o),e[3]=o,e[4]=n):n=e[4];let r;return e[5]!==a||e[6]!==n?(r=y.jsx("header",{...a,"data-slot":"panel-topbar",className:n}),e[5]=a,e[6]=n,e[7]=r):r=e[7],r}function Gc(t,e){const o=t.startsWith("toolbar-")?`panel-${t}`:`panel-topbar-${t}`;function a(i){const c=ye.c(8);let d,u;c[0]!==i?({className:d,...u}=i,c[0]=i,c[1]=d,c[2]=u):(d=c[1],u=c[2]);let m;c[3]!==d?(m=Ze("flex min-w-0 items-center gap-1",e,d),c[3]=d,c[4]=m):m=c[4];let h;return c[5]!==u||c[6]!==m?(h=y.jsx("div",{...u,"data-slot":o,className:m}),c[5]=u,c[6]=m,c[7]=h):h=c[7],h}function n(i){const c=ye.c(16);let d,u,m;c[0]!==i?({className:d,fallback:u,...m}=i,c[0]=i,c[1]=d,c[2]=u,c[3]=m):(d=c[1],u=c[2],m=c[3]);const h=A.use($p);if(!h)throw new Error("Panel targets require a Panel");const{setTargets:f}=h;let v;c[4]!==f?(v=()=>C=>{if(C)return f(E=>{if(E[t]&&E[t]!==C)throw new Error(`Panel has two targets for ${t}`);return E[t]===C?E:{...E,[t]:C}}),()=>{f(E=>E[t]===C?{...E,[t]:null}:E)}},c[4]=f,c[5]=v):v=c[5];const[b]=A.useState(v);let S;c[6]!==d?(S=Ze("peer contents empty:hidden",d),c[6]=d,c[7]=S):S=c[7];let T;c[8]!==m||c[9]!==S?(T=y.jsx("div",{"data-toolbar-content":t.startsWith("toolbar-")?"":void 0,...m,ref:b,"data-slot":`${o}-target`,className:S}),c[8]=m,c[9]=S,c[10]=T):T=c[10];let x;c[11]!==u?(x=u&&y.jsx("div",{className:"hidden peer-empty:contents",children:u}),c[11]=u,c[12]=x):x=c[12];let k;return c[13]!==T||c[14]!==x?(k=y.jsxs(y.Fragment,{children:[T,x]}),c[13]=T,c[14]=x,c[15]=k):k=c[15],k}function r({children:i,fallback:c=null}){const u=A.use($p)?.targets[t];return u?im.createPortal(i,u):c}return Object.assign(a,{Target:n,Portal:r})}function bae(t){const e=ye.c(12),{children:o}=t,a=A.use($p);if(!a)throw new Error("A toolbar scope requires a Panel");let n;e[0]!==a.targets?(n={...a.targets,"toolbar-left":null,"toolbar-center":null,"toolbar-right":null},e[0]=a.targets,e[1]=n):n=e[1];const[r,i]=A.useState(n),c=r["toolbar-left"],d=r["toolbar-center"],u=r["toolbar-right"];let m;e[2]!==a.targets||e[3]!==c||e[4]!==d||e[5]!==u?(m={...a.targets,"toolbar-left":c,"toolbar-center":d,"toolbar-right":u},e[2]=a.targets,e[3]=c,e[4]=d,e[5]=u,e[6]=m):m=e[6];const h=m;let f;e[7]!==h?(f={targets:h,setTargets:i},e[7]=h,e[8]=f):f=e[8];let v;return e[9]!==o||e[10]!==f?(v=y.jsx($p,{value:f,children:o}),e[9]=o,e[10]=f,e[11]=v):v=e[11],v}function yae(t){const e=ye.c(8);let o,a;e[0]!==t?({className:o,...a}=t,e[0]=t,e[1]=o,e[2]=a):(o=e[1],a=e[2]);let n;e[3]!==o?(n=Ze("@container/panel-toolbar relative z-10 flex min-h-11 shrink-0 flex-wrap items-center gap-x-2 gap-y-1 px-3 py-1.5 [&:not(:has([data-toolbar-content]:not(:empty)))]:hidden",o),e[3]=o,e[4]=n):n=e[4];let r;return e[5]!==a||e[6]!==n?(r=y.jsx("div",{...a,"data-slot":"panel-toolbar",className:n}),e[5]=a,e[6]=n,e[7]=r):r=e[7],r}function Sae(t){const e=ye.c(11);let o,a,n;e[0]!==t?({className:o,mode:n,...a}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n):(o=e[1],a=e[2],n=e[3]);const r=n===void 0?"canvas":n,i=r==="scroll"?"overflow-auto":"overflow-hidden";let c;e[4]!==o||e[5]!==i?(c=Ze("flex min-h-0 min-w-0 flex-1 flex-col",i,o),e[4]=o,e[5]=i,e[6]=c):c=e[6];let d;return e[7]!==r||e[8]!==a||e[9]!==c?(d=y.jsx("div",{...a,"data-slot":"panel-content","data-mode":r,className:c}),e[7]=r,e[8]=a,e[9]=c,e[10]=d):d=e[10],d}const pn=Object.assign(fae,{Topbar:Object.assign(vae,{Left:Gc("left","shrink overflow-hidden"),Center:Gc("center","flex-1 justify-center"),Right:Gc("right","shrink justify-end")}),Toolbar:Object.assign(yae,{Scope:bae,Left:Gc("toolbar-left","shrink"),Center:Gc("toolbar-center","flex-1 justify-center"),Right:Gc("toolbar-right","ml-auto shrink-0 justify-end")}),Content:Sae});function mt(t,e,{checkForDefaultPrevented:o=!0}={}){return function(n){if(t?.(n),o===!1||!n.defaultPrevented)return e?.(n)}}function wae(t,e){const o=A.createContext(e),a=r=>{const{children:i,...c}=r,d=A.useMemo(()=>c,Object.values(c));return y.jsx(o.Provider,{value:d,children:i})};a.displayName=t+"Provider";function n(r){const i=A.useContext(o);if(i)return i;if(e!==void 0)return e;throw new Error(`\`${r}\` must be used within \`${t}\``)}return[a,n]}function Xi(t,e=[]){let o=[];function a(r,i){const c=A.createContext(i),d=o.length;o=[...o,i];const u=h=>{const{scope:f,children:v,...b}=h,S=f?.[t]?.[d]||c,T=A.useMemo(()=>b,Object.values(b));return y.jsx(S.Provider,{value:T,children:v})};u.displayName=r+"Provider";function m(h,f){const v=f?.[t]?.[d]||c,b=A.useContext(v);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${r}\``)}return[u,m]}const n=()=>{const r=o.map(i=>A.createContext(i));return function(c){const d=c?.[t]||r;return A.useMemo(()=>({[`__scope${t}`]:{...c,[t]:d}}),[c,d])}};return n.scopeName=t,[a,xae(n,...e)]}function xae(...t){const e=t[0];if(t.length===1)return e;const o=()=>{const a=t.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(r){const i=a.reduce((c,{useScope:d,scopeName:u})=>{const h=d(r)[`__scope${u}`];return{...c,...h}},{});return A.useMemo(()=>({[`__scope${e.scopeName}`]:i}),[i])}};return o.scopeName=e.scopeName,o}var Er=globalThis?.document?A.useLayoutEffect:()=>{},Tae=ck[" useInsertionEffect ".trim().toString()]||Er;function fm({prop:t,defaultProp:e,onChange:o=()=>{},caller:a}){const[n,r,i]=kae({defaultProp:e,onChange:o}),c=t!==void 0,d=c?t:n;{const m=A.useRef(t!==void 0);A.useEffect(()=>{const h=m.current;h!==c&&console.warn(`${a} is changing from ${h?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),m.current=c},[c,a])}const u=A.useCallback(m=>{if(c){const h=Eae(m)?m(t):m;h!==t&&i.current?.(h)}else r(m)},[c,t,r,i]);return[d,u]}function kae({defaultProp:t,onChange:e}){const[o,a]=A.useState(t),n=A.useRef(o),r=A.useRef(e);return Tae(()=>{r.current=e},[e]),A.useEffect(()=>{n.current!==o&&(r.current?.(o),n.current=o)},[o,n]),[o,a,r]}function Eae(t){return typeof t=="function"}function Vp(t){const e=Cae(t),o=A.forwardRef((a,n)=>{const{children:r,...i}=a,c=A.Children.toArray(r),d=c.find(Pae);if(d){const u=d.props.children,m=c.map(h=>h===d?A.Children.count(u)>1?A.Children.only(null):A.isValidElement(u)?u.props.children:null:h);return y.jsx(e,{...i,ref:n,children:A.isValidElement(u)?A.cloneElement(u,void 0,m):null})}return y.jsx(e,{...i,ref:n,children:r})});return o.displayName=`${t}.Slot`,o}function Cae(t){const e=A.forwardRef((o,a)=>{const{children:n,...r}=o;if(A.isValidElement(n)){const i=Rae(n),c=Aae(r,n.props);return n.type!==A.Fragment&&(c.ref=a?gm(a,i):i),A.cloneElement(n,c)}return A.Children.count(n)>1?A.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var dF=Symbol("radix.slottable");function _ae(t){const e=({children:o})=>y.jsx(y.Fragment,{children:o});return e.displayName=`${t}.Slottable`,e.__radixId=dF,e}function Pae(t){return A.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===dF}function Aae(t,e){const o={...e};for(const a in e){const n=t[a],r=e[a];/^on[A-Z]/.test(a)?n&&r?o[a]=(...c)=>{const d=r(...c);return n(...c),d}:n&&(o[a]=n):a==="style"?o[a]={...n,...r}:a==="className"&&(o[a]=[n,r].filter(Boolean).join(" "))}return{...t,...o}}function Rae(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,o=e&&"isReactWarning"in e&&e.isReactWarning;return o?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,o=e&&"isReactWarning"in e&&e.isReactWarning,o?t.props.ref:t.props.ref||t.ref)}var Dae=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Oo=Dae.reduce((t,e)=>{const o=Vp(`Primitive.${e}`),a=A.forwardRef((n,r)=>{const{asChild:i,...c}=n,d=i?o:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),y.jsx(d,{...c,ref:r})});return a.displayName=`Primitive.${e}`,{...t,[e]:a}},{});function uF(t,e){t&&im.flushSync(()=>t.dispatchEvent(e))}function pF(t){const e=t+"CollectionProvider",[o,a]=Xi(e),[n,r]=o(e,{collectionRef:{current:null},itemMap:new Map}),i=S=>{const{scope:T,children:x}=S,k=ee.useRef(null),C=ee.useRef(new Map).current;return y.jsx(n,{scope:T,itemMap:C,collectionRef:k,children:x})};i.displayName=e;const c=t+"CollectionSlot",d=Vp(c),u=ee.forwardRef((S,T)=>{const{scope:x,children:k}=S,C=r(c,x),E=Vo(T,C.collectionRef);return y.jsx(d,{ref:E,children:k})});u.displayName=c;const m=t+"CollectionItemSlot",h="data-radix-collection-item",f=Vp(m),v=ee.forwardRef((S,T)=>{const{scope:x,children:k,...C}=S,E=ee.useRef(null),P=Vo(T,E),D=r(m,x);return ee.useEffect(()=>(D.itemMap.set(E,{ref:E,...C}),()=>{D.itemMap.delete(E)})),y.jsx(f,{[h]:"",ref:P,children:k})});v.displayName=m;function b(S){const T=r(t+"CollectionConsumer",S);return ee.useCallback(()=>{const k=T.collectionRef.current;if(!k)return[];const C=Array.from(k.querySelectorAll(`[${h}]`));return Array.from(T.itemMap.values()).sort((D,R)=>C.indexOf(D.ref.current)-C.indexOf(R.ref.current))},[T.collectionRef,T.itemMap])}return[{Provider:i,Slot:u,ItemSlot:v},b,a]}var Oae=A.createContext(void 0);function mF(t){const e=A.useContext(Oae);return t||e||"ltr"}function Cr(t){const e=A.useRef(t);return A.useEffect(()=>{e.current=t}),A.useMemo(()=>(...o)=>e.current?.(...o),[])}function Nae(t,e=globalThis?.document){const o=Cr(t);A.useEffect(()=>{const a=n=>{n.key==="Escape"&&o(n)};return e.addEventListener("keydown",a,{capture:!0}),()=>e.removeEventListener("keydown",a,{capture:!0})},[o,e])}var Mae="DismissableLayer",jT="dismissableLayer.update",Iae="dismissableLayer.pointerDownOutside",Lae="dismissableLayer.focusOutside",RO,hF=A.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),iE=A.forwardRef((t,e)=>{const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:a,onPointerDownOutside:n,onFocusOutside:r,onInteractOutside:i,onDismiss:c,...d}=t,u=A.useContext(hF),[m,h]=A.useState(null),f=m?.ownerDocument??globalThis?.document,[,v]=A.useState({}),b=Vo(e,R=>h(R)),S=Array.from(u.layers),[T]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=S.indexOf(T),k=m?S.indexOf(m):-1,C=u.layersWithOutsidePointerEventsDisabled.size>0,E=k>=x,P=jae(R=>{const O=R.target,I=[...u.branches].some(q=>q.contains(O));!E||I||(n?.(R),i?.(R),R.defaultPrevented||c?.())},f),D=zae(R=>{const O=R.target;[...u.branches].some(q=>q.contains(O))||(r?.(R),i?.(R),R.defaultPrevented||c?.())},f);return Nae(R=>{k===u.layers.size-1&&(a?.(R),!R.defaultPrevented&&c&&(R.preventDefault(),c()))},f),A.useEffect(()=>{if(m)return o&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(RO=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(m)),u.layers.add(m),DO(),()=>{o&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=RO)}},[m,f,o,u]),A.useEffect(()=>()=>{m&&(u.layers.delete(m),u.layersWithOutsidePointerEventsDisabled.delete(m),DO())},[m,u]),A.useEffect(()=>{const R=()=>v({});return document.addEventListener(jT,R),()=>document.removeEventListener(jT,R)},[]),y.jsx(Oo.div,{...d,ref:b,style:{pointerEvents:C?E?"auto":"none":void 0,...t.style},onFocusCapture:mt(t.onFocusCapture,D.onFocusCapture),onBlurCapture:mt(t.onBlurCapture,D.onBlurCapture),onPointerDownCapture:mt(t.onPointerDownCapture,P.onPointerDownCapture)})});iE.displayName=Mae;var Bae="DismissableLayerBranch",Fae=A.forwardRef((t,e)=>{const o=A.useContext(hF),a=A.useRef(null),n=Vo(e,a);return A.useEffect(()=>{const r=a.current;if(r)return o.branches.add(r),()=>{o.branches.delete(r)}},[o.branches]),y.jsx(Oo.div,{...t,ref:n})});Fae.displayName=Bae;function jae(t,e=globalThis?.document){const o=Cr(t),a=A.useRef(!1),n=A.useRef(()=>{});return A.useEffect(()=>{const r=c=>{if(c.target&&!a.current){let d=function(){gF(Iae,o,u,{discrete:!0})};const u={originalEvent:c};c.pointerType==="touch"?(e.removeEventListener("click",n.current),n.current=d,e.addEventListener("click",n.current,{once:!0})):d()}else e.removeEventListener("click",n.current);a.current=!1},i=window.setTimeout(()=>{e.addEventListener("pointerdown",r)},0);return()=>{window.clearTimeout(i),e.removeEventListener("pointerdown",r),e.removeEventListener("click",n.current)}},[e,o]),{onPointerDownCapture:()=>a.current=!0}}function zae(t,e=globalThis?.document){const o=Cr(t),a=A.useRef(!1);return A.useEffect(()=>{const n=r=>{r.target&&!a.current&&gF(Lae,o,{originalEvent:r},{discrete:!1})};return e.addEventListener("focusin",n),()=>e.removeEventListener("focusin",n)},[e,o]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}function DO(){const t=new CustomEvent(jT);document.dispatchEvent(t)}function gF(t,e,o,{discrete:a}){const n=o.originalEvent.target,r=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:o});e&&n.addEventListener(t,e,{once:!0}),a?uF(n,r):n.dispatchEvent(r)}var Iw=0;function fF(){A.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??OO()),document.body.insertAdjacentElement("beforeend",t[1]??OO()),Iw++,()=>{Iw===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Iw--}},[])}function OO(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var Lw="focusScope.autoFocusOnMount",Bw="focusScope.autoFocusOnUnmount",NO={bubbles:!1,cancelable:!0},qae="FocusScope",lE=A.forwardRef((t,e)=>{const{loop:o=!1,trapped:a=!1,onMountAutoFocus:n,onUnmountAutoFocus:r,...i}=t,[c,d]=A.useState(null),u=Cr(n),m=Cr(r),h=A.useRef(null),f=Vo(e,S=>d(S)),v=A.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;A.useEffect(()=>{if(a){let S=function(C){if(v.paused||!c)return;const E=C.target;c.contains(E)?h.current=E:Ci(h.current,{select:!0})},T=function(C){if(v.paused||!c)return;const E=C.relatedTarget;E!==null&&(c.contains(E)||Ci(h.current,{select:!0}))},x=function(C){if(document.activeElement===document.body)for(const P of C)P.removedNodes.length>0&&Ci(c)};document.addEventListener("focusin",S),document.addEventListener("focusout",T);const k=new MutationObserver(x);return c&&k.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",T),k.disconnect()}}},[a,c,v.paused]),A.useEffect(()=>{if(c){IO.add(v);const S=document.activeElement;if(!c.contains(S)){const x=new CustomEvent(Lw,NO);c.addEventListener(Lw,u),c.dispatchEvent(x),x.defaultPrevented||(Uae(Wae(vF(c)),{select:!0}),document.activeElement===S&&Ci(c))}return()=>{c.removeEventListener(Lw,u),setTimeout(()=>{const x=new CustomEvent(Bw,NO);c.addEventListener(Bw,m),c.dispatchEvent(x),x.defaultPrevented||Ci(S??document.body,{select:!0}),c.removeEventListener(Bw,m),IO.remove(v)},0)}}},[c,u,m,v]);const b=A.useCallback(S=>{if(!o&&!a||v.paused)return;const T=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,x=document.activeElement;if(T&&x){const k=S.currentTarget,[C,E]=$ae(k);C&&E?!S.shiftKey&&x===E?(S.preventDefault(),o&&Ci(C,{select:!0})):S.shiftKey&&x===C&&(S.preventDefault(),o&&Ci(E,{select:!0})):x===k&&S.preventDefault()}},[o,a,v.paused]);return y.jsx(Oo.div,{tabIndex:-1,...i,ref:f,onKeyDown:b})});lE.displayName=qae;function Uae(t,{select:e=!1}={}){const o=document.activeElement;for(const a of t)if(Ci(a,{select:e}),document.activeElement!==o)return}function $ae(t){const e=vF(t),o=MO(e,t),a=MO(e.reverse(),t);return[o,a]}function vF(t){const e=[],o=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const n=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||n?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)e.push(o.currentNode);return e}function MO(t,e){for(const o of t)if(!Vae(o,{upTo:e}))return o}function Vae(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function Hae(t){return t instanceof HTMLInputElement&&"select"in t}function Ci(t,{select:e=!1}={}){if(t&&t.focus){const o=document.activeElement;t.focus({preventScroll:!0}),t!==o&&Hae(t)&&e&&t.select()}}var IO=Gae();function Gae(){let t=[];return{add(e){const o=t[0];e!==o&&o?.pause(),t=LO(t,e),t.unshift(e)},remove(e){t=LO(t,e),t[0]?.resume()}}}function LO(t,e){const o=[...t],a=o.indexOf(e);return a!==-1&&o.splice(a,1),o}function Wae(t){return t.filter(e=>e.tagName!=="A")}var Kae=ck[" useId ".trim().toString()]||(()=>{}),Yae=0;function Fi(t){const[e,o]=A.useState(Kae());return Er(()=>{o(a=>a??String(Yae++))},[t]),e?`radix-${e}`:""}const bF=["top","right","bottom","left"],BO=["start","end"],FO=bF.reduce((t,e)=>t.concat(e,e+"-"+BO[0],e+"-"+BO[1]),[]),_r=Math.min,Ba=Math.max,nv=Math.round,Hg=Math.floor,Zr=t=>({x:t,y:t}),Zae={left:"right",right:"left",bottom:"top",top:"bottom"};function zT(t,e,o){return Ba(t,_r(e,o))}function Pr(t,e){return typeof t=="function"?t(e):t}function Bn(t){return t.split("-")[0]}function Tr(t){return t.split("-")[1]}function cE(t){return t==="x"?"y":"x"}function dE(t){return t==="y"?"height":"width"}function xr(t){const e=t[0];return e==="t"||e==="b"?"y":"x"}function uE(t){return cE(xr(t))}function yF(t,e,o){o===void 0&&(o=!1);const a=Tr(t),n=uE(t),r=dE(n);let i=n==="x"?a===(o?"end":"start")?"right":"left":a==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(i=sv(i)),[i,sv(i)]}function Qae(t){const e=sv(t);return[rv(t),e,rv(e)]}function rv(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const jO=["left","right"],zO=["right","left"],Jae=["top","bottom"],Xae=["bottom","top"];function ene(t,e,o){switch(t){case"top":case"bottom":return o?e?zO:jO:e?jO:zO;case"left":case"right":return e?Jae:Xae;default:return[]}}function tne(t,e,o,a){const n=Tr(t);let r=ene(Bn(t),o==="start",a);return n&&(r=r.map(i=>i+"-"+n),e&&(r=r.concat(r.map(rv)))),r}function sv(t){const e=Bn(t);return Zae[e]+t.slice(e.length)}function one(t){return{top:0,right:0,bottom:0,left:0,...t}}function pE(t){return typeof t!="number"?one(t):{top:t,right:t,bottom:t,left:t}}function jd(t){const{x:e,y:o,width:a,height:n}=t;return{width:a,height:n,top:o,left:e,right:e+a,bottom:o+n,x:e,y:o}}function qO(t,e,o){let{reference:a,floating:n}=t;const r=xr(e),i=uE(e),c=dE(i),d=Bn(e),u=r==="y",m=a.x+a.width/2-n.width/2,h=a.y+a.height/2-n.height/2,f=a[c]/2-n[c]/2;let v;switch(d){case"top":v={x:m,y:a.y-n.height};break;case"bottom":v={x:m,y:a.y+a.height};break;case"right":v={x:a.x+a.width,y:h};break;case"left":v={x:a.x-n.width,y:h};break;default:v={x:a.x,y:a.y}}switch(Tr(e)){case"start":v[i]-=f*(o&&u?-1:1);break;case"end":v[i]+=f*(o&&u?-1:1);break}return v}async function ane(t,e){var o;e===void 0&&(e={});const{x:a,y:n,platform:r,rects:i,elements:c,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:h="floating",altBoundary:f=!1,padding:v=0}=Pr(e,t),b=pE(v),T=c[f?h==="floating"?"reference":"floating":h],x=jd(await r.getClippingRect({element:(o=await(r.isElement==null?void 0:r.isElement(T)))==null||o?T:T.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:u,rootBoundary:m,strategy:d})),k=h==="floating"?{x:a,y:n,width:i.floating.width,height:i.floating.height}:i.reference,C=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),E=await(r.isElement==null?void 0:r.isElement(C))?await(r.getScale==null?void 0:r.getScale(C))||{x:1,y:1}:{x:1,y:1},P=jd(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:k,offsetParent:C,strategy:d}):k);return{top:(x.top-P.top+b.top)/E.y,bottom:(P.bottom-x.bottom+b.bottom)/E.y,left:(x.left-P.left+b.left)/E.x,right:(P.right-x.right+b.right)/E.x}}const nne=50,rne=async(t,e,o)=>{const{placement:a="bottom",strategy:n="absolute",middleware:r=[],platform:i}=o,c=i.detectOverflow?i:{...i,detectOverflow:ane},d=await(i.isRTL==null?void 0:i.isRTL(e));let u=await i.getElementRects({reference:t,floating:e,strategy:n}),{x:m,y:h}=qO(u,a,d),f=a,v=0;const b={};for(let S=0;S<r.length;S++){const T=r[S];if(!T)continue;const{name:x,fn:k}=T,{x:C,y:E,data:P,reset:D}=await k({x:m,y:h,initialPlacement:a,placement:f,strategy:n,middlewareData:b,rects:u,platform:c,elements:{reference:t,floating:e}});m=C??m,h=E??h,b[x]={...b[x],...P},D&&v<nne&&(v++,typeof D=="object"&&(D.placement&&(f=D.placement),D.rects&&(u=D.rects===!0?await i.getElementRects({reference:t,floating:e,strategy:n}):D.rects),{x:m,y:h}=qO(u,f,d)),S=-1)}return{x:m,y:h,placement:f,strategy:n,middlewareData:b}},sne=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:a,placement:n,rects:r,platform:i,elements:c,middlewareData:d}=e,{element:u,padding:m=0}=Pr(t,e)||{};if(u==null)return{};const h=pE(m),f={x:o,y:a},v=uE(n),b=dE(v),S=await i.getDimensions(u),T=v==="y",x=T?"top":"left",k=T?"bottom":"right",C=T?"clientHeight":"clientWidth",E=r.reference[b]+r.reference[v]-f[v]-r.floating[b],P=f[v]-r.reference[v],D=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let R=D?D[C]:0;(!R||!await(i.isElement==null?void 0:i.isElement(D)))&&(R=c.floating[C]||r.floating[b]);const O=E/2-P/2,I=R/2-S[b]/2-1,q=_r(h[x],I),B=_r(h[k],I),j=q,F=R-S[b]-B,W=R/2-S[b]/2+O,oe=zT(j,W,F),H=!d.arrow&&Tr(n)!=null&&W!==oe&&r.reference[b]/2-(W<j?q:B)-S[b]/2<0,K=H?W<j?W-j:W-F:0;return{[v]:f[v]+K,data:{[v]:oe,centerOffset:W-oe-K,...H&&{alignmentOffset:K}},reset:H}}});function ine(t,e,o){return(t?[...o.filter(n=>Tr(n)===t),...o.filter(n=>Tr(n)!==t)]:o.filter(n=>Bn(n)===n)).filter(n=>t?Tr(n)===t||(e?rv(n)!==n:!1):!0)}const lne=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,a,n;const{rects:r,middlewareData:i,placement:c,platform:d,elements:u}=e,{crossAxis:m=!1,alignment:h,allowedPlacements:f=FO,autoAlignment:v=!0,...b}=Pr(t,e),S=h!==void 0||f===FO?ine(h||null,v,f):f,T=await d.detectOverflow(e,b),x=((o=i.autoPlacement)==null?void 0:o.index)||0,k=S[x];if(k==null)return{};const C=yF(k,r,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(c!==k)return{reset:{placement:S[0]}};const E=[T[Bn(k)],T[C[0]],T[C[1]]],P=[...((a=i.autoPlacement)==null?void 0:a.overflows)||[],{placement:k,overflows:E}],D=S[x+1];if(D)return{data:{index:x+1,overflows:P},reset:{placement:D}};const R=P.map(q=>{const B=Tr(q.placement);return[q.placement,B&&m?q.overflows.slice(0,2).reduce((j,F)=>j+F,0):q.overflows[0],q.overflows]}).sort((q,B)=>q[1]-B[1]),I=((n=R.filter(q=>q[2].slice(0,Tr(q[0])?2:3).every(B=>B<=0))[0])==null?void 0:n[0])||R[0][0];return I!==c?{data:{index:x+1,overflows:P},reset:{placement:I}}:{}}}},cne=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var o,a;const{placement:n,middlewareData:r,rects:i,initialPlacement:c,platform:d,elements:u}=e,{mainAxis:m=!0,crossAxis:h=!0,fallbackPlacements:f,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:S=!0,...T}=Pr(t,e);if((o=r.arrow)!=null&&o.alignmentOffset)return{};const x=Bn(n),k=xr(c),C=Bn(c)===c,E=await(d.isRTL==null?void 0:d.isRTL(u.floating)),P=f||(C||!S?[sv(c)]:Qae(c)),D=b!=="none";!f&&D&&P.push(...tne(c,S,b,E));const R=[c,...P],O=await d.detectOverflow(e,T),I=[];let q=((a=r.flip)==null?void 0:a.overflows)||[];if(m&&I.push(O[x]),h){const W=yF(n,i,E);I.push(O[W[0]],O[W[1]])}if(q=[...q,{placement:n,overflows:I}],!I.every(W=>W<=0)){var B,j;const W=(((B=r.flip)==null?void 0:B.index)||0)+1,oe=R[W];if(oe&&(!(h==="alignment"?k!==xr(oe):!1)||q.every(J=>xr(J.placement)===k?J.overflows[0]>0:!0)))return{data:{index:W,overflows:q},reset:{placement:oe}};let H=(j=q.filter(K=>K.overflows[0]<=0).sort((K,J)=>K.overflows[1]-J.overflows[1])[0])==null?void 0:j.placement;if(!H)switch(v){case"bestFit":{var F;const K=(F=q.filter(J=>{if(D){const se=xr(J.placement);return se===k||se==="y"}return!0}).map(J=>[J.placement,J.overflows.filter(se=>se>0).reduce((se,Q)=>se+Q,0)]).sort((J,se)=>J[1]-se[1])[0])==null?void 0:F[0];K&&(H=K);break}case"initialPlacement":H=c;break}if(n!==H)return{reset:{placement:H}}}return{}}}};function UO(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function $O(t){return bF.some(e=>t[e]>=0)}const dne=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:o,platform:a}=e,{strategy:n="referenceHidden",...r}=Pr(t,e);switch(n){case"referenceHidden":{const i=await a.detectOverflow(e,{...r,elementContext:"reference"}),c=UO(i,o.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:$O(c)}}}case"escaped":{const i=await a.detectOverflow(e,{...r,altBoundary:!0}),c=UO(i,o.floating);return{data:{escapedOffsets:c,escaped:$O(c)}}}default:return{}}}}};function SF(t){const e=_r(...t.map(r=>r.left)),o=_r(...t.map(r=>r.top)),a=Ba(...t.map(r=>r.right)),n=Ba(...t.map(r=>r.bottom));return{x:e,y:o,width:a-e,height:n-o}}function une(t){const e=t.slice().sort((n,r)=>n.y-r.y),o=[];let a=null;for(let n=0;n<e.length;n++){const r=e[n];!a||r.y-a.y>a.height/2?o.push([r]):o[o.length-1].push(r),a=r}return o.map(n=>jd(SF(n)))}const pne=function(t){return t===void 0&&(t={}),{name:"inline",options:t,async fn(e){const{placement:o,elements:a,rects:n,platform:r,strategy:i}=e,{padding:c=2,x:d,y:u}=Pr(t,e),m=Array.from(await(r.getClientRects==null?void 0:r.getClientRects(a.reference))||[]),h=une(m),f=jd(SF(m)),v=pE(c);function b(){if(h.length===2&&h[0].left>h[1].right&&d!=null&&u!=null)return h.find(T=>d>T.left-v.left&&d<T.right+v.right&&u>T.top-v.top&&u<T.bottom+v.bottom)||f;if(h.length>=2){if(xr(o)==="y"){const q=h[0],B=h[h.length-1],j=Bn(o)==="top",F=q.top,W=B.bottom,oe=j?q.left:B.left,H=j?q.right:B.right,K=H-oe,J=W-F;return{top:F,bottom:W,left:oe,right:H,width:K,height:J,x:oe,y:F}}const T=Bn(o)==="left",x=Ba(...h.map(q=>q.right)),k=_r(...h.map(q=>q.left)),C=h.filter(q=>T?q.left===k:q.right===x),E=C[0].top,P=C[C.length-1].bottom,D=k,R=x,O=R-D,I=P-E;return{top:E,bottom:P,left:D,right:R,width:O,height:I,x:D,y:E}}return f}const S=await r.getElementRects({reference:{getBoundingClientRect:b},floating:a.floating,strategy:i});return n.reference.x!==S.reference.x||n.reference.y!==S.reference.y||n.reference.width!==S.reference.width||n.reference.height!==S.reference.height?{reset:{rects:S}}:{}}}},wF=new Set(["left","top"]);async function mne(t,e){const{placement:o,platform:a,elements:n}=t,r=await(a.isRTL==null?void 0:a.isRTL(n.floating)),i=Bn(o),c=Tr(o),d=xr(o)==="y",u=wF.has(i)?-1:1,m=r&&d?-1:1,h=Pr(e,t);let{mainAxis:f,crossAxis:v,alignmentAxis:b}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof b=="number"&&(v=c==="end"?b*-1:b),d?{x:v*m,y:f*u}:{x:f*u,y:v*m}}const hne=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,a;const{x:n,y:r,placement:i,middlewareData:c}=e,d=await mne(e,t);return i===((o=c.offset)==null?void 0:o.placement)&&(a=c.arrow)!=null&&a.alignmentOffset?{}:{x:n+d.x,y:r+d.y,data:{...d,placement:i}}}}},gne=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:a,placement:n,platform:r}=e,{mainAxis:i=!0,crossAxis:c=!1,limiter:d={fn:x=>{let{x:k,y:C}=x;return{x:k,y:C}}},...u}=Pr(t,e),m={x:o,y:a},h=await r.detectOverflow(e,u),f=xr(Bn(n)),v=cE(f);let b=m[v],S=m[f];if(i){const x=v==="y"?"top":"left",k=v==="y"?"bottom":"right",C=b+h[x],E=b-h[k];b=zT(C,b,E)}if(c){const x=f==="y"?"top":"left",k=f==="y"?"bottom":"right",C=S+h[x],E=S-h[k];S=zT(C,S,E)}const T=d.fn({...e,[v]:b,[f]:S});return{...T,data:{x:T.x-o,y:T.y-a,enabled:{[v]:i,[f]:c}}}}}},fne=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:o,y:a,placement:n,rects:r,middlewareData:i}=e,{offset:c=0,mainAxis:d=!0,crossAxis:u=!0}=Pr(t,e),m={x:o,y:a},h=xr(n),f=cE(h);let v=m[f],b=m[h];const S=Pr(c,e),T=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(d){const C=f==="y"?"height":"width",E=r.reference[f]-r.floating[C]+T.mainAxis,P=r.reference[f]+r.reference[C]-T.mainAxis;v<E?v=E:v>P&&(v=P)}if(u){var x,k;const C=f==="y"?"width":"height",E=wF.has(Bn(n)),P=r.reference[h]-r.floating[C]+(E&&((x=i.offset)==null?void 0:x[h])||0)+(E?0:T.crossAxis),D=r.reference[h]+r.reference[C]+(E?0:((k=i.offset)==null?void 0:k[h])||0)-(E?T.crossAxis:0);b<P?b=P:b>D&&(b=D)}return{[f]:v,[h]:b}}}},vne=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var o,a;const{placement:n,rects:r,platform:i,elements:c}=e,{apply:d=()=>{},...u}=Pr(t,e),m=await i.detectOverflow(e,u),h=Bn(n),f=Tr(n),v=xr(n)==="y",{width:b,height:S}=r.floating;let T,x;h==="top"||h==="bottom"?(T=h,x=f===(await(i.isRTL==null?void 0:i.isRTL(c.floating))?"start":"end")?"left":"right"):(x=h,T=f==="end"?"top":"bottom");const k=S-m.top-m.bottom,C=b-m.left-m.right,E=_r(S-m[T],k),P=_r(b-m[x],C),D=!e.middlewareData.shift;let R=E,O=P;if((o=e.middlewareData.shift)!=null&&o.enabled.x&&(O=C),(a=e.middlewareData.shift)!=null&&a.enabled.y&&(R=k),D&&!f){const q=Ba(m.left,0),B=Ba(m.right,0),j=Ba(m.top,0),F=Ba(m.bottom,0);v?O=b-2*(q!==0||B!==0?q+B:Ba(m.left,m.right)):R=S-2*(j!==0||F!==0?j+F:Ba(m.top,m.bottom))}await d({...e,availableWidth:O,availableHeight:R});const I=await i.getDimensions(c.floating);return b!==I.width||S!==I.height?{reset:{rects:!0}}:{}}}};function cb(){return typeof window<"u"}function Jd(t){return xF(t)?(t.nodeName||"").toLowerCase():"#document"}function In(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Jr(t){var e;return(e=(xF(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function xF(t){return cb()?t instanceof Node||t instanceof In(t).Node:!1}function Ar(t){return cb()?t instanceof Element||t instanceof In(t).Element:!1}function Fs(t){return cb()?t instanceof HTMLElement||t instanceof In(t).HTMLElement:!1}function VO(t){return!cb()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof In(t).ShadowRoot}function vm(t){const{overflow:e,overflowX:o,overflowY:a,display:n}=Rr(t);return/auto|scroll|overlay|hidden|clip/.test(e+a+o)&&n!=="inline"&&n!=="contents"}function bne(t){return/^(table|td|th)$/.test(Jd(t))}function db(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const yne=/transform|translate|scale|rotate|perspective|filter/,Sne=/paint|layout|strict|content/,Tl=t=>!!t&&t!=="none";let Fw;function mE(t){const e=Ar(t)?Rr(t):t;return Tl(e.transform)||Tl(e.translate)||Tl(e.scale)||Tl(e.rotate)||Tl(e.perspective)||!hE()&&(Tl(e.backdropFilter)||Tl(e.filter))||yne.test(e.willChange||"")||Sne.test(e.contain||"")}function wne(t){let e=Vi(t);for(;Fs(e)&&!zd(e);){if(mE(e))return e;if(db(e))return null;e=Vi(e)}return null}function hE(){return Fw==null&&(Fw=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Fw}function zd(t){return/^(html|body|#document)$/.test(Jd(t))}function Rr(t){return In(t).getComputedStyle(t)}function ub(t){return Ar(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Vi(t){if(Jd(t)==="html")return t;const e=t.assignedSlot||t.parentNode||VO(t)&&t.host||Jr(t);return VO(e)?e.host:e}function TF(t){const e=Vi(t);return zd(e)?t.ownerDocument?t.ownerDocument.body:t.body:Fs(e)&&vm(e)?e:TF(e)}function Hp(t,e,o){var a;e===void 0&&(e=[]),o===void 0&&(o=!0);const n=TF(t),r=n===((a=t.ownerDocument)==null?void 0:a.body),i=In(n);if(r){const c=qT(i);return e.concat(i,i.visualViewport||[],vm(n)?n:[],c&&o?Hp(c):[])}else return e.concat(n,Hp(n,[],o))}function qT(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function kF(t){const e=Rr(t);let o=parseFloat(e.width)||0,a=parseFloat(e.height)||0;const n=Fs(t),r=n?t.offsetWidth:o,i=n?t.offsetHeight:a,c=nv(o)!==r||nv(a)!==i;return c&&(o=r,a=i),{width:o,height:a,$:c}}function gE(t){return Ar(t)?t:t.contextElement}function xd(t){const e=gE(t);if(!Fs(e))return Zr(1);const o=e.getBoundingClientRect(),{width:a,height:n,$:r}=kF(e);let i=(r?nv(o.width):o.width)/a,c=(r?nv(o.height):o.height)/n;return(!i||!Number.isFinite(i))&&(i=1),(!c||!Number.isFinite(c))&&(c=1),{x:i,y:c}}const xne=Zr(0);function EF(t){const e=In(t);return!hE()||!e.visualViewport?xne:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Tne(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==In(t)?!1:e}function zl(t,e,o,a){e===void 0&&(e=!1),o===void 0&&(o=!1);const n=t.getBoundingClientRect(),r=gE(t);let i=Zr(1);e&&(a?Ar(a)&&(i=xd(a)):i=xd(t));const c=Tne(r,o,a)?EF(r):Zr(0);let d=(n.left+c.x)/i.x,u=(n.top+c.y)/i.y,m=n.width/i.x,h=n.height/i.y;if(r){const f=In(r),v=a&&Ar(a)?In(a):a;let b=f,S=qT(b);for(;S&&a&&v!==b;){const T=xd(S),x=S.getBoundingClientRect(),k=Rr(S),C=x.left+(S.clientLeft+parseFloat(k.paddingLeft))*T.x,E=x.top+(S.clientTop+parseFloat(k.paddingTop))*T.y;d*=T.x,u*=T.y,m*=T.x,h*=T.y,d+=C,u+=E,b=In(S),S=qT(b)}}return jd({width:m,height:h,x:d,y:u})}function pb(t,e){const o=ub(t).scrollLeft;return e?e.left+o:zl(Jr(t)).left+o}function CF(t,e){const o=t.getBoundingClientRect(),a=o.left+e.scrollLeft-pb(t,o),n=o.top+e.scrollTop;return{x:a,y:n}}function kne(t){let{elements:e,rect:o,offsetParent:a,strategy:n}=t;const r=n==="fixed",i=Jr(a),c=e?db(e.floating):!1;if(a===i||c&&r)return o;let d={scrollLeft:0,scrollTop:0},u=Zr(1);const m=Zr(0),h=Fs(a);if((h||!h&&!r)&&((Jd(a)!=="body"||vm(i))&&(d=ub(a)),h)){const v=zl(a);u=xd(a),m.x=v.x+a.clientLeft,m.y=v.y+a.clientTop}const f=i&&!h&&!r?CF(i,d):Zr(0);return{width:o.width*u.x,height:o.height*u.y,x:o.x*u.x-d.scrollLeft*u.x+m.x+f.x,y:o.y*u.y-d.scrollTop*u.y+m.y+f.y}}function Ene(t){return Array.from(t.getClientRects())}function Cne(t){const e=Jr(t),o=ub(t),a=t.ownerDocument.body,n=Ba(e.scrollWidth,e.clientWidth,a.scrollWidth,a.clientWidth),r=Ba(e.scrollHeight,e.clientHeight,a.scrollHeight,a.clientHeight);let i=-o.scrollLeft+pb(t);const c=-o.scrollTop;return Rr(a).direction==="rtl"&&(i+=Ba(e.clientWidth,a.clientWidth)-n),{width:n,height:r,x:i,y:c}}const HO=25;function _ne(t,e){const o=In(t),a=Jr(t),n=o.visualViewport;let r=a.clientWidth,i=a.clientHeight,c=0,d=0;if(n){r=n.width,i=n.height;const m=hE();(!m||m&&e==="fixed")&&(c=n.offsetLeft,d=n.offsetTop)}const u=pb(a);if(u<=0){const m=a.ownerDocument,h=m.body,f=getComputedStyle(h),v=m.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,b=Math.abs(a.clientWidth-h.clientWidth-v);b<=HO&&(r-=b)}else u<=HO&&(r+=u);return{width:r,height:i,x:c,y:d}}function Pne(t,e){const o=zl(t,!0,e==="fixed"),a=o.top+t.clientTop,n=o.left+t.clientLeft,r=Fs(t)?xd(t):Zr(1),i=t.clientWidth*r.x,c=t.clientHeight*r.y,d=n*r.x,u=a*r.y;return{width:i,height:c,x:d,y:u}}function GO(t,e,o){let a;if(e==="viewport")a=_ne(t,o);else if(e==="document")a=Cne(Jr(t));else if(Ar(e))a=Pne(e,o);else{const n=EF(t);a={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return jd(a)}function _F(t,e){const o=Vi(t);return o===e||!Ar(o)||zd(o)?!1:Rr(o).position==="fixed"||_F(o,e)}function Ane(t,e){const o=e.get(t);if(o)return o;let a=Hp(t,[],!1).filter(c=>Ar(c)&&Jd(c)!=="body"),n=null;const r=Rr(t).position==="fixed";let i=r?Vi(t):t;for(;Ar(i)&&!zd(i);){const c=Rr(i),d=mE(i);!d&&c.position==="fixed"&&(n=null),(r?!d&&!n:!d&&c.position==="static"&&!!n&&(n.position==="absolute"||n.position==="fixed")||vm(i)&&!d&&_F(t,i))?a=a.filter(m=>m!==i):n=c,i=Vi(i)}return e.set(t,a),a}function Rne(t){let{element:e,boundary:o,rootBoundary:a,strategy:n}=t;const i=[...o==="clippingAncestors"?db(e)?[]:Ane(e,this._c):[].concat(o),a],c=GO(e,i[0],n);let d=c.top,u=c.right,m=c.bottom,h=c.left;for(let f=1;f<i.length;f++){const v=GO(e,i[f],n);d=Ba(v.top,d),u=_r(v.right,u),m=_r(v.bottom,m),h=Ba(v.left,h)}return{width:u-h,height:m-d,x:h,y:d}}function Dne(t){const{width:e,height:o}=kF(t);return{width:e,height:o}}function One(t,e,o){const a=Fs(e),n=Jr(e),r=o==="fixed",i=zl(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const d=Zr(0);function u(){d.x=pb(n)}if(a||!a&&!r)if((Jd(e)!=="body"||vm(n))&&(c=ub(e)),a){const v=zl(e,!0,r,e);d.x=v.x+e.clientLeft,d.y=v.y+e.clientTop}else n&&u();r&&!a&&n&&u();const m=n&&!a&&!r?CF(n,c):Zr(0),h=i.left+c.scrollLeft-d.x-m.x,f=i.top+c.scrollTop-d.y-m.y;return{x:h,y:f,width:i.width,height:i.height}}function jw(t){return Rr(t).position==="static"}function WO(t,e){if(!Fs(t)||Rr(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return Jr(t)===o&&(o=o.ownerDocument.body),o}function PF(t,e){const o=In(t);if(db(t))return o;if(!Fs(t)){let n=Vi(t);for(;n&&!zd(n);){if(Ar(n)&&!jw(n))return n;n=Vi(n)}return o}let a=WO(t,e);for(;a&&bne(a)&&jw(a);)a=WO(a,e);return a&&zd(a)&&jw(a)&&!mE(a)?o:a||wne(t)||o}const Nne=async function(t){const e=this.getOffsetParent||PF,o=this.getDimensions,a=await o(t.floating);return{reference:One(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function Mne(t){return Rr(t).direction==="rtl"}const Ine={convertOffsetParentRelativeRectToViewportRelativeRect:kne,getDocumentElement:Jr,getClippingRect:Rne,getOffsetParent:PF,getElementRects:Nne,getClientRects:Ene,getDimensions:Dne,getScale:xd,isElement:Ar,isRTL:Mne};function AF(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Lne(t,e){let o=null,a;const n=Jr(t);function r(){var c;clearTimeout(a),(c=o)==null||c.disconnect(),o=null}function i(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),r();const u=t.getBoundingClientRect(),{left:m,top:h,width:f,height:v}=u;if(c||e(),!f||!v)return;const b=Hg(h),S=Hg(n.clientWidth-(m+f)),T=Hg(n.clientHeight-(h+v)),x=Hg(m),C={rootMargin:-b+"px "+-S+"px "+-T+"px "+-x+"px",threshold:Ba(0,_r(1,d))||1};let E=!0;function P(D){const R=D[0].intersectionRatio;if(R!==d){if(!E)return i();R?i(!1,R):a=setTimeout(()=>{i(!1,1e-7)},1e3)}R===1&&!AF(u,t.getBoundingClientRect())&&i(),E=!1}try{o=new IntersectionObserver(P,{...C,root:n.ownerDocument})}catch{o=new IntersectionObserver(P,C)}o.observe(t)}return i(!0),r}function Bne(t,e,o,a){a===void 0&&(a={});const{ancestorScroll:n=!0,ancestorResize:r=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:d=!1}=a,u=gE(t),m=n||r?[...u?Hp(u):[],...e?Hp(e):[]]:[];m.forEach(x=>{n&&x.addEventListener("scroll",o,{passive:!0}),r&&x.addEventListener("resize",o)});const h=u&&c?Lne(u,o):null;let f=-1,v=null;i&&(v=new ResizeObserver(x=>{let[k]=x;k&&k.target===u&&v&&e&&(v.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var C;(C=v)==null||C.observe(e)})),o()}),u&&!d&&v.observe(u),e&&v.observe(e));let b,S=d?zl(t):null;d&&T();function T(){const x=zl(t);S&&!AF(S,x)&&o(),S=x,b=requestAnimationFrame(T)}return o(),()=>{var x;m.forEach(k=>{n&&k.removeEventListener("scroll",o),r&&k.removeEventListener("resize",o)}),h?.(),(x=v)==null||x.disconnect(),v=null,d&&cancelAnimationFrame(b)}}const Fne=hne,STe=lne,jne=gne,zne=cne,qne=vne,Une=dne,KO=sne,wTe=pne,$ne=fne,Vne=(t,e,o)=>{const a=new Map,n={platform:Ine,...o},r={...n.platform,_c:a};return rne(t,e,{...n,platform:r})};var Hne=typeof document<"u",Gne=function(){},Tf=Hne?A.useLayoutEffect:Gne;function iv(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let o,a,n;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(o=t.length,o!==e.length)return!1;for(a=o;a--!==0;)if(!iv(t[a],e[a]))return!1;return!0}if(n=Object.keys(t),o=n.length,o!==Object.keys(e).length)return!1;for(a=o;a--!==0;)if(!{}.hasOwnProperty.call(e,n[a]))return!1;for(a=o;a--!==0;){const r=n[a];if(!(r==="_owner"&&t.$$typeof)&&!iv(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function RF(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function YO(t,e){const o=RF(t);return Math.round(e*o)/o}function zw(t){const e=A.useRef(t);return Tf(()=>{e.current=t}),e}function Wne(t){t===void 0&&(t={});const{placement:e="bottom",strategy:o="absolute",middleware:a=[],platform:n,elements:{reference:r,floating:i}={},transform:c=!0,whileElementsMounted:d,open:u}=t,[m,h]=A.useState({x:0,y:0,strategy:o,placement:e,middlewareData:{},isPositioned:!1}),[f,v]=A.useState(a);iv(f,a)||v(a);const[b,S]=A.useState(null),[T,x]=A.useState(null),k=A.useCallback(J=>{J!==D.current&&(D.current=J,S(J))},[]),C=A.useCallback(J=>{J!==R.current&&(R.current=J,x(J))},[]),E=r||b,P=i||T,D=A.useRef(null),R=A.useRef(null),O=A.useRef(m),I=d!=null,q=zw(d),B=zw(n),j=zw(u),F=A.useCallback(()=>{if(!D.current||!R.current)return;const J={placement:e,strategy:o,middleware:f};B.current&&(J.platform=B.current),Vne(D.current,R.current,J).then(se=>{const Q={...se,isPositioned:j.current!==!1};W.current&&!iv(O.current,Q)&&(O.current=Q,im.flushSync(()=>{h(Q)}))})},[f,e,o,B,j]);Tf(()=>{u===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,h(J=>({...J,isPositioned:!1})))},[u]);const W=A.useRef(!1);Tf(()=>(W.current=!0,()=>{W.current=!1}),[]),Tf(()=>{if(E&&(D.current=E),P&&(R.current=P),E&&P){if(q.current)return q.current(E,P,F);F()}},[E,P,F,q,I]);const oe=A.useMemo(()=>({reference:D,floating:R,setReference:k,setFloating:C}),[k,C]),H=A.useMemo(()=>({reference:E,floating:P}),[E,P]),K=A.useMemo(()=>{const J={position:o,left:0,top:0};if(!H.floating)return J;const se=YO(H.floating,m.x),Q=YO(H.floating,m.y);return c?{...J,transform:"translate("+se+"px, "+Q+"px)",...RF(H.floating)>=1.5&&{willChange:"transform"}}:{position:o,left:se,top:Q}},[o,c,H.floating,m.x,m.y]);return A.useMemo(()=>({...m,update:F,refs:oe,elements:H,floatingStyles:K}),[m,F,oe,H,K])}const Kne=t=>{function e(o){return{}.hasOwnProperty.call(o,"current")}return{name:"arrow",options:t,fn(o){const{element:a,padding:n}=typeof t=="function"?t(o):t;return a&&e(a)?a.current!=null?KO({element:a.current,padding:n}).fn(o):{}:a?KO({element:a,padding:n}).fn(o):{}}}},Yne=(t,e)=>{const o=Fne(t);return{name:o.name,fn:o.fn,options:[t,e]}},Zne=(t,e)=>{const o=jne(t);return{name:o.name,fn:o.fn,options:[t,e]}},Qne=(t,e)=>({fn:$ne(t).fn,options:[t,e]}),Jne=(t,e)=>{const o=zne(t);return{name:o.name,fn:o.fn,options:[t,e]}},Xne=(t,e)=>{const o=qne(t);return{name:o.name,fn:o.fn,options:[t,e]}},ere=(t,e)=>{const o=Une(t);return{name:o.name,fn:o.fn,options:[t,e]}},tre=(t,e)=>{const o=Kne(t);return{name:o.name,fn:o.fn,options:[t,e]}};var ore="Arrow",DF=A.forwardRef((t,e)=>{const{children:o,width:a=10,height:n=5,...r}=t;return y.jsx(Oo.svg,{...r,ref:e,width:a,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?o:y.jsx("polygon",{points:"0,0 30,0 15,10"})})});DF.displayName=ore;var are=DF;function OF(t){const[e,o]=A.useState(void 0);return Er(()=>{if(t){o({width:t.offsetWidth,height:t.offsetHeight});const a=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;const r=n[0];let i,c;if("borderBoxSize"in r){const d=r.borderBoxSize,u=Array.isArray(d)?d[0]:d;i=u.inlineSize,c=u.blockSize}else i=t.offsetWidth,c=t.offsetHeight;o({width:i,height:c})});return a.observe(t,{box:"border-box"}),()=>a.unobserve(t)}else o(void 0)},[t]),e}var fE="Popper",[NF,MF]=Xi(fE),[nre,IF]=NF(fE),LF=t=>{const{__scopePopper:e,children:o}=t,[a,n]=A.useState(null);return y.jsx(nre,{scope:e,anchor:a,onAnchorChange:n,children:o})};LF.displayName=fE;var BF="PopperAnchor",FF=A.forwardRef((t,e)=>{const{__scopePopper:o,virtualRef:a,...n}=t,r=IF(BF,o),i=A.useRef(null),c=Vo(e,i),d=A.useRef(null);return A.useEffect(()=>{const u=d.current;d.current=a?.current||i.current,u!==d.current&&r.onAnchorChange(d.current)}),a?null:y.jsx(Oo.div,{...n,ref:c})});FF.displayName=BF;var vE="PopperContent",[rre,sre]=NF(vE),jF=A.forwardRef((t,e)=>{const{__scopePopper:o,side:a="bottom",sideOffset:n=0,align:r="center",alignOffset:i=0,arrowPadding:c=0,avoidCollisions:d=!0,collisionBoundary:u=[],collisionPadding:m=0,sticky:h="partial",hideWhenDetached:f=!1,updatePositionStrategy:v="optimized",onPlaced:b,...S}=t,T=IF(vE,o),[x,k]=A.useState(null),C=Vo(e,de=>k(de)),[E,P]=A.useState(null),D=OF(E),R=D?.width??0,O=D?.height??0,I=a+(r!=="center"?"-"+r:""),q=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},B=Array.isArray(u)?u:[u],j=B.length>0,F={padding:q,boundary:B.filter(lre),altBoundary:j},{refs:W,floatingStyles:oe,placement:H,isPositioned:K,middlewareData:J}=Wne({strategy:"fixed",placement:I,whileElementsMounted:(...de)=>Bne(...de,{animationFrame:v==="always"}),elements:{reference:T.anchor},middleware:[Yne({mainAxis:n+O,alignmentAxis:i}),d&&Zne({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?Qne():void 0,...F}),d&&Jne({...F}),Xne({...F,apply:({elements:de,rects:ue,availableWidth:Ee,availableHeight:qe})=>{const{width:Z,height:ne}=ue.reference,ve=de.floating.style;ve.setProperty("--radix-popper-available-width",`${Ee}px`),ve.setProperty("--radix-popper-available-height",`${qe}px`),ve.setProperty("--radix-popper-anchor-width",`${Z}px`),ve.setProperty("--radix-popper-anchor-height",`${ne}px`)}}),E&&tre({element:E,padding:c}),cre({arrowWidth:R,arrowHeight:O}),f&&ere({strategy:"referenceHidden",...F})]}),[se,Q]=UF(H),M=Cr(b);Er(()=>{K&&M?.()},[K,M]);const G=J.arrow?.x,V=J.arrow?.y,L=J.arrow?.centerOffset!==0,[z,X]=A.useState();return Er(()=>{x&&X(window.getComputedStyle(x).zIndex)},[x]),y.jsx("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...oe,transform:K?oe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:z,"--radix-popper-transform-origin":[J.transformOrigin?.x,J.transformOrigin?.y].join(" "),...J.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:y.jsx(rre,{scope:o,placedSide:se,onArrowChange:P,arrowX:G,arrowY:V,shouldHideArrow:L,children:y.jsx(Oo.div,{"data-side":se,"data-align":Q,...S,ref:C,style:{...S.style,animation:K?void 0:"none"}})})})});jF.displayName=vE;var zF="PopperArrow",ire={top:"bottom",right:"left",bottom:"top",left:"right"},qF=A.forwardRef(function(e,o){const{__scopePopper:a,...n}=e,r=sre(zF,a),i=ire[r.placedSide];return y.jsx("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:y.jsx(are,{...n,ref:o,style:{...n.style,display:"block"}})})});qF.displayName=zF;function lre(t){return t!==null}var cre=t=>({name:"transformOrigin",options:t,fn(e){const{placement:o,rects:a,middlewareData:n}=e,i=n.arrow?.centerOffset!==0,c=i?0:t.arrowWidth,d=i?0:t.arrowHeight,[u,m]=UF(o),h={start:"0%",center:"50%",end:"100%"}[m],f=(n.arrow?.x??0)+c/2,v=(n.arrow?.y??0)+d/2;let b="",S="";return u==="bottom"?(b=i?h:`${f}px`,S=`${-d}px`):u==="top"?(b=i?h:`${f}px`,S=`${a.floating.height+d}px`):u==="right"?(b=`${-d}px`,S=i?h:`${v}px`):u==="left"&&(b=`${a.floating.width+d}px`,S=i?h:`${v}px`),{data:{x:b,y:S}}}});function UF(t){const[e,o="center"]=t.split("-");return[e,o]}var $F=LF,dre=FF,ure=jF,pre=qF,mre="Portal",bE=A.forwardRef((t,e)=>{const{container:o,...a}=t,[n,r]=A.useState(!1);Er(()=>r(!0),[]);const i=o||n&&globalThis?.document?.body;return i?JM.createPortal(y.jsx(Oo.div,{...a,ref:e}),i):null});bE.displayName=mre;function hre(t,e){return A.useReducer((o,a)=>e[o][a]??o,t)}var js=t=>{const{present:e,children:o}=t,a=gre(e),n=typeof o=="function"?o({present:a.isPresent}):A.Children.only(o),r=Vo(a.ref,fre(n));return typeof o=="function"||a.isPresent?A.cloneElement(n,{ref:r}):null};js.displayName="Presence";function gre(t){const[e,o]=A.useState(),a=A.useRef(null),n=A.useRef(t),r=A.useRef("none"),i=t?"mounted":"unmounted",[c,d]=hre(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return A.useEffect(()=>{const u=Gg(a.current);r.current=c==="mounted"?u:"none"},[c]),Er(()=>{const u=a.current,m=n.current;if(m!==t){const f=r.current,v=Gg(u);t?d("MOUNT"):v==="none"||u?.display==="none"?d("UNMOUNT"):d(m&&f!==v?"ANIMATION_OUT":"UNMOUNT"),n.current=t}},[t,d]),Er(()=>{if(e){let u;const m=e.ownerDocument.defaultView??window,h=v=>{const S=Gg(a.current).includes(CSS.escape(v.animationName));if(v.target===e&&S&&(d("ANIMATION_END"),!n.current)){const T=e.style.animationFillMode;e.style.animationFillMode="forwards",u=m.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=T)})}},f=v=>{v.target===e&&(r.current=Gg(a.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",h),e.addEventListener("animationend",h),()=>{m.clearTimeout(u),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",h),e.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:A.useCallback(u=>{a.current=u?getComputedStyle(u):null,o(u)},[])}}function Gg(t){return t?.animationName||"none"}function fre(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,o=e&&"isReactWarning"in e&&e.isReactWarning;return o?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,o=e&&"isReactWarning"in e&&e.isReactWarning,o?t.props.ref:t.props.ref||t.ref)}var qw="rovingFocusGroup.onEntryFocus",vre={bubbles:!1,cancelable:!0},bm="RovingFocusGroup",[UT,VF,bre]=pF(bm),[yre,HF]=Xi(bm,[bre]),[Sre,wre]=yre(bm),GF=A.forwardRef((t,e)=>y.jsx(UT.Provider,{scope:t.__scopeRovingFocusGroup,children:y.jsx(UT.Slot,{scope:t.__scopeRovingFocusGroup,children:y.jsx(xre,{...t,ref:e})})}));GF.displayName=bm;var xre=A.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:o,orientation:a,loop:n=!1,dir:r,currentTabStopId:i,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:d,onEntryFocus:u,preventScrollOnEntryFocus:m=!1,...h}=t,f=A.useRef(null),v=Vo(e,f),b=mF(r),[S,T]=fm({prop:i,defaultProp:c??null,onChange:d,caller:bm}),[x,k]=A.useState(!1),C=Cr(u),E=VF(o),P=A.useRef(!1),[D,R]=A.useState(0);return A.useEffect(()=>{const O=f.current;if(O)return O.addEventListener(qw,C),()=>O.removeEventListener(qw,C)},[C]),y.jsx(Sre,{scope:o,orientation:a,dir:b,loop:n,currentTabStopId:S,onItemFocus:A.useCallback(O=>T(O),[T]),onItemShiftTab:A.useCallback(()=>k(!0),[]),onFocusableItemAdd:A.useCallback(()=>R(O=>O+1),[]),onFocusableItemRemove:A.useCallback(()=>R(O=>O-1),[]),children:y.jsx(Oo.div,{tabIndex:x||D===0?-1:0,"data-orientation":a,...h,ref:v,style:{outline:"none",...t.style},onMouseDown:mt(t.onMouseDown,()=>{P.current=!0}),onFocus:mt(t.onFocus,O=>{const I=!P.current;if(O.target===O.currentTarget&&I&&!x){const q=new CustomEvent(qw,vre);if(O.currentTarget.dispatchEvent(q),!q.defaultPrevented){const B=E().filter(H=>H.focusable),j=B.find(H=>H.active),F=B.find(H=>H.id===S),oe=[j,F,...B].filter(Boolean).map(H=>H.ref.current);YF(oe,m)}}P.current=!1}),onBlur:mt(t.onBlur,()=>k(!1))})})}),WF="RovingFocusGroupItem",KF=A.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:o,focusable:a=!0,active:n=!1,tabStopId:r,children:i,...c}=t,d=Fi(),u=r||d,m=wre(WF,o),h=m.currentTabStopId===u,f=VF(o),{onFocusableItemAdd:v,onFocusableItemRemove:b,currentTabStopId:S}=m;return A.useEffect(()=>{if(a)return v(),()=>b()},[a,v,b]),y.jsx(UT.ItemSlot,{scope:o,id:u,focusable:a,active:n,children:y.jsx(Oo.span,{tabIndex:h?0:-1,"data-orientation":m.orientation,...c,ref:e,onMouseDown:mt(t.onMouseDown,T=>{a?m.onItemFocus(u):T.preventDefault()}),onFocus:mt(t.onFocus,()=>m.onItemFocus(u)),onKeyDown:mt(t.onKeyDown,T=>{if(T.key==="Tab"&&T.shiftKey){m.onItemShiftTab();return}if(T.target!==T.currentTarget)return;const x=Ere(T,m.orientation,m.dir);if(x!==void 0){if(T.metaKey||T.ctrlKey||T.altKey||T.shiftKey)return;T.preventDefault();let C=f().filter(E=>E.focusable).map(E=>E.ref.current);if(x==="last")C.reverse();else if(x==="prev"||x==="next"){x==="prev"&&C.reverse();const E=C.indexOf(T.currentTarget);C=m.loop?Cre(C,E+1):C.slice(E+1)}setTimeout(()=>YF(C))}}),children:typeof i=="function"?i({isCurrentTabStop:h,hasTabStop:S!=null}):i})})});KF.displayName=WF;var Tre={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function kre(t,e){return e!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function Ere(t,e,o){const a=kre(t.key,o);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(a))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(a)))return Tre[a]}function YF(t,e=!1){const o=document.activeElement;for(const a of t)if(a===o||(a.focus({preventScroll:e}),document.activeElement!==o))return}function Cre(t,e){return t.map((o,a)=>t[(e+a)%t.length])}var _re=GF,Pre=KF,Are=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Wc=new WeakMap,Wg=new WeakMap,Kg={},Uw=0,ZF=function(t){return t&&(t.host||ZF(t.parentNode))},Rre=function(t,e){return e.map(function(o){if(t.contains(o))return o;var a=ZF(o);return a&&t.contains(a)?a:(console.error("aria-hidden",o,"in not contained inside",t,". Doing nothing"),null)}).filter(function(o){return!!o})},Dre=function(t,e,o,a){var n=Rre(e,Array.isArray(t)?t:[t]);Kg[o]||(Kg[o]=new WeakMap);var r=Kg[o],i=[],c=new Set,d=new Set(n),u=function(h){!h||c.has(h)||(c.add(h),u(h.parentNode))};n.forEach(u);var m=function(h){!h||d.has(h)||Array.prototype.forEach.call(h.children,function(f){if(c.has(f))m(f);else try{var v=f.getAttribute(a),b=v!==null&&v!=="false",S=(Wc.get(f)||0)+1,T=(r.get(f)||0)+1;Wc.set(f,S),r.set(f,T),i.push(f),S===1&&b&&Wg.set(f,!0),T===1&&f.setAttribute(o,"true"),b||f.setAttribute(a,"true")}catch(x){console.error("aria-hidden: cannot operate on ",f,x)}})};return m(e),c.clear(),Uw++,function(){i.forEach(function(h){var f=Wc.get(h)-1,v=r.get(h)-1;Wc.set(h,f),r.set(h,v),f||(Wg.has(h)||h.removeAttribute(a),Wg.delete(h)),v||h.removeAttribute(o)}),Uw--,Uw||(Wc=new WeakMap,Wc=new WeakMap,Wg=new WeakMap,Kg={})}},QF=function(t,e,o){o===void 0&&(o="data-aria-hidden");var a=Array.from(Array.isArray(t)?t:[t]),n=Are(t);return n?(a.push.apply(a,Array.from(n.querySelectorAll("[aria-live], script"))),Dre(a,n,o,"aria-hidden")):function(){return null}},Gr=function(){return Gr=Object.assign||function(e){for(var o,a=1,n=arguments.length;a<n;a++){o=arguments[a];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Gr.apply(this,arguments)};function JF(t,e){var o={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(o[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(t);n<a.length;n++)e.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(t,a[n])&&(o[a[n]]=t[a[n]]);return o}function Ore(t,e,o){if(o||arguments.length===2)for(var a=0,n=e.length,r;a<n;a++)(r||!(a in e))&&(r||(r=Array.prototype.slice.call(e,0,a)),r[a]=e[a]);return t.concat(r||Array.prototype.slice.call(e))}var kf="right-scroll-bar-position",Ef="width-before-scroll-bar",Nre="with-scroll-bars-hidden",Mre="--removed-body-scroll-bar-size";function $w(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function Ire(t,e){var o=A.useState(function(){return{value:t,callback:e,facade:{get current(){return o.value},set current(a){var n=o.value;n!==a&&(o.value=a,o.callback(a,n))}}}})[0];return o.callback=e,o.facade}var Lre=typeof window<"u"?A.useLayoutEffect:A.useEffect,ZO=new WeakMap;function Bre(t,e){var o=Ire(null,function(a){return t.forEach(function(n){return $w(n,a)})});return Lre(function(){var a=ZO.get(o);if(a){var n=new Set(a),r=new Set(t),i=o.current;n.forEach(function(c){r.has(c)||$w(c,null)}),r.forEach(function(c){n.has(c)||$w(c,i)})}ZO.set(o,t)},[t]),o}function Fre(t){return t}function jre(t,e){e===void 0&&(e=Fre);var o=[],a=!1,n={read:function(){if(a)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:t},useMedium:function(r){var i=e(r,a);return o.push(i),function(){o=o.filter(function(c){return c!==i})}},assignSyncMedium:function(r){for(a=!0;o.length;){var i=o;o=[],i.forEach(r)}o={push:function(c){return r(c)},filter:function(){return o}}},assignMedium:function(r){a=!0;var i=[];if(o.length){var c=o;o=[],c.forEach(r),i=o}var d=function(){var m=i;i=[],m.forEach(r)},u=function(){return Promise.resolve().then(d)};u(),o={push:function(m){i.push(m),u()},filter:function(m){return i=i.filter(m),o}}}};return n}function zre(t){t===void 0&&(t={});var e=jre(null);return e.options=Gr({async:!0,ssr:!1},t),e}var XF=function(t){var e=t.sideCar,o=JF(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var a=e.read();if(!a)throw new Error("Sidecar medium not found");return A.createElement(a,Gr({},o))};XF.isSideCarExport=!0;function qre(t,e){return t.useMedium(e),XF}var ej=zre(),Vw=function(){},mb=A.forwardRef(function(t,e){var o=A.useRef(null),a=A.useState({onScrollCapture:Vw,onWheelCapture:Vw,onTouchMoveCapture:Vw}),n=a[0],r=a[1],i=t.forwardProps,c=t.children,d=t.className,u=t.removeScrollBar,m=t.enabled,h=t.shards,f=t.sideCar,v=t.noRelative,b=t.noIsolation,S=t.inert,T=t.allowPinchZoom,x=t.as,k=x===void 0?"div":x,C=t.gapMode,E=JF(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=f,D=Bre([o,e]),R=Gr(Gr({},E),n);return A.createElement(A.Fragment,null,m&&A.createElement(P,{sideCar:ej,removeScrollBar:u,shards:h,noRelative:v,noIsolation:b,inert:S,setCallbacks:r,allowPinchZoom:!!T,lockRef:o,gapMode:C}),i?A.cloneElement(A.Children.only(c),Gr(Gr({},R),{ref:D})):A.createElement(k,Gr({},R,{className:d,ref:D}),c))});mb.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};mb.classNames={fullWidth:Ef,zeroRight:kf};var Ure=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function $re(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=Ure();return e&&t.setAttribute("nonce",e),t}function Vre(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function Hre(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var Gre=function(){var t=0,e=null;return{add:function(o){t==0&&(e=$re())&&(Vre(e,o),Hre(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},Wre=function(){var t=Gre();return function(e,o){A.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&o])}},tj=function(){var t=Wre(),e=function(o){var a=o.styles,n=o.dynamic;return t(a,n),null};return e},Kre={left:0,top:0,right:0,gap:0},Hw=function(t){return parseInt(t||"",10)||0},Yre=function(t){var e=window.getComputedStyle(document.body),o=e[t==="padding"?"paddingLeft":"marginLeft"],a=e[t==="padding"?"paddingTop":"marginTop"],n=e[t==="padding"?"paddingRight":"marginRight"];return[Hw(o),Hw(a),Hw(n)]},Zre=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return Kre;var e=Yre(t),o=document.documentElement.clientWidth,a=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,a-o+e[2]-e[0])}},Qre=tj(),Td="data-scroll-locked",Jre=function(t,e,o,a){var n=t.left,r=t.top,i=t.right,c=t.gap;return o===void 0&&(o="margin"),`
127
+ Este site ainda não reporta sections de post — quando reportar, cite elas aqui com @.`,"sandbox.formats.starterName":"Post padrão","sandbox.formats.suggestButton":"Sugerir formatos","sandbox.formats.suggestFailed":"Não foi possível sugerir formatos","sandbox.formats.suggestHint":"Nomear os formatos em que este blog já escreve, a partir de como os posts são montados","sandbox.formats.suggested":"{count} formato(s) adicionado(s)","sandbox.formats.unknownCitations":"Este formato cita sections que o site não tem: {names}","sandbox.generatePost.stepCampaign":"Campanha","sandbox.generatePost.campaignHint":"Um post é escrito para uma campanha: é ela que carrega o momento, os produtos que podem ser citados e os links deles.","sandbox.generatePost.noCampaigns":"Nenhuma campanha para escrever ainda. Crie uma em Contexto → Campanhas.","sandbox.generatePost.campaignProducts":"{count} produto(s)","sandbox.generatePost.campaignNoProducts":"Sem produtos","sandbox.generatePost.formatBlocksHint":"Os blocos que este formato cita são os únicos que o post pode usar, e cada um é preenchido conforme o schema dele.","sandbox.generatePost.countLabel":"Quantos rascunhos","sandbox.generatePost.countHint":"Cada um pega um ângulo diferente da mesma campanha. Caem como cartões separados.","sandbox.generatePost.coverHint":"Todo rascunho ganha uma imagem de capa, gerada e enviada para o seu bucket.","sandbox.generatePost.gapNoStoreData":"Nenhum sistema conectado respondeu, então nada nestes posts foi conferido com a loja.","sandbox.generatePost.gapSectionsDropped":"{count} seção(ões) foram descartadas: os props não bateram com o bloco que as renderiza.","sandbox.generatePost.gapNoBucket":"Nenhum bucket para enviar imagens, então os posts estão sem capa. Configure um em Configurações → Buckets.","sandbox.generatePost.gapNoImageModel":"Esta organização não tem modelo de imagem configurado, então os posts estão sem capa.","sandbox.generatePost.gapImagesFailed":"As imagens de capa não puderam ser geradas. Os posts estão completos no resto.","sandbox.generatePost.gapDraftsFailed":"{count} rascunho(s) não puderam ser escritos e os cartões ficaram vazios.","sandbox.generatePost.back":"Voltar","sandbox.generatePost.blockedBrand":"Preencha {fields} na aba Marca primeiro — um post escrito sem isso parece o de qualquer outra marca.","sandbox.generatePost.done":"Escrevi {count} rascunho(s) — prontos para revisão","sandbox.generatePost.extraLabel":"Mais alguma coisa?","sandbox.generatePost.extraPlaceholder":"O que você quer além de tudo isso, nas suas palavras.","sandbox.generatePost.failed":"Não consegui escrever estes posts","sandbox.generatePost.formatHint":"Escolha um formato que a marca já usa, ou descreva um novo.","sandbox.generatePost.formatNameLabel":"Nome do formato","sandbox.generatePost.formatNamePlaceholder":"O formato, nomeado pelo trabalho que faz","sandbox.generatePost.formatValueLabel":"Como um post assim é construído","sandbox.generatePost.formatValuePlaceholder":"Como ele abre, desenvolve e fecha.","sandbox.generatePost.generate":"Gerar {count} rascunho(s)","sandbox.generatePost.next":"Avançar","sandbox.generatePost.stepExtra":"Instruções","sandbox.generatePost.stepFormat":"Formato","sandbox.generatePost.subtitle":"Escolha a campanha e o formato. Os posts caem no quadro como rascunhos.","sandbox.generatePost.title":"Gerar posts","sandbox.itemActions.addVariant":"Adicionar variante","sandbox.itemActions.delete":"Excluir","sandbox.itemActions.duplicate":"Duplicar","sandbox.itemActions.editSeo":"Editar SEO","sandbox.itemActions.moreActions":"Mais ações","sandbox.itemActions.rename":"Renomear","sandbox.itemActions.viewJson":"Visualizar JSON","sandbox.itemRow.duplicateName":"Outro registro usa esse nome","sandbox.itemRow.missingFields":"Faltando: {fields}","sandbox.itemRow.selectItem":"Selecionar {title}","sandbox.itemRow.variantCount":"{count} variantes","sandbox.listBlocks.addCard":"Adicionar card","sandbox.listBlocks.addItem":"Adicionar item","sandbox.listBlocks.addStat":"Adicionar estatística","sandbox.listBlocks.addStep":"Adicionar passo","sandbox.listBlocks.cardBody":"Corpo do card","sandbox.listBlocks.cardTitle":"Título do card","sandbox.listBlocks.checklistItem":"Item da checklist","sandbox.listBlocks.checklistTitle":"Título da checklist (opcional)","sandbox.listBlocks.columnTitle":"Título da coluna","sandbox.listBlocks.item":"Item","sandbox.listBlocks.label":"Rótulo","sandbox.listBlocks.optionA":"Opção A","sandbox.listBlocks.optionB":"Opção B","sandbox.listBlocks.removeCard":"Remover card","sandbox.listBlocks.removeItem":"Remover item","sandbox.listBlocks.removeStat":"Remover estatística","sandbox.listBlocks.removeStep":"Remover passo","sandbox.listBlocks.statValuePlaceholder":"99%","sandbox.listBlocks.stepDescription":"Descrição do passo","sandbox.listBlocks.stepTitle":"Título do passo","sandbox.listBlocks.stepsTitle":"Título dos passos (opcional)","sandbox.mediaBlocks.addCaption":"Adicione uma legenda…","sandbox.mediaBlocks.altText":"Texto alternativo (acessibilidade)","sandbox.mediaBlocks.altLabel":"Alt","sandbox.mediaBlocks.buttonLabel":"Rótulo do botão","sandbox.mediaBlocks.calloutText":"Texto do destaque…","sandbox.mediaBlocks.calloutTitle":"Título do destaque","sandbox.mediaBlocks.destinationUrlPlaceholder":"https://url-de-destino.com","sandbox.linkSuggest.button":"Sugerir links","sandbox.linkSuggest.hint":"Encontrar trechos para linkar com seus outros posts (usa créditos de IA)","sandbox.linkSuggest.noCandidates":"Ainda não há outros posts para linkar","sandbox.linkSuggest.title":"Links internos sugeridos","sandbox.linkSuggest.description":"Escolha quais trechos linkar com seus outros posts. Nada muda até você aplicar.","sandbox.linkSuggest.none":"Nenhum link interno para sugerir.","sandbox.linkSuggest.apply":"Aplicar {count}","sandbox.linkSuggest.applied":"{count} link(s) aplicado(s)","sandbox.linkSuggest.failed":"Não foi possível sugerir links","sandbox.linkPicker.tabPost":"Post","sandbox.linkPicker.tabProduct":"Produto","sandbox.linkPicker.searchPosts":"Buscar seus posts…","sandbox.linkPicker.noPosts":"Nenhum post encontrado","sandbox.linkPicker.searchProducts":"Buscar no seu catálogo…","sandbox.linkPicker.searching":"Buscando…","sandbox.linkPicker.noProducts":"Nenhum produto encontrado","sandbox.mediaBlocks.divider":"Divisor","sandbox.mediaBlocks.fullWidth":"Largura total","sandbox.mediaBlocks.highPriority":"Prioridade","sandbox.mediaBlocks.highPriorityHint":"Carrega de imediato e com prioridade alta. Use em imagens acima da dobra.","sandbox.mediaBlocks.label":"Rótulo","sandbox.mediaBlocks.normal":"Normal","sandbox.mediaBlocks.optionalDescription":"Descrição opcional","sandbox.mediaBlocks.pasteVideoUrl":"Cole uma URL do YouTube ou Vimeo para visualizar","sandbox.mediaBlocks.statValuePlaceholder":"42%","sandbox.mediaBlocks.video":"Vídeo","sandbox.mediaBlocks.videoUrlPlaceholder":"https://youtube.com/watch?v=…","sandbox.pageFormDialog.buttonCancel":"Cancelar","sandbox.pageFormDialog.labelName":"Nome","sandbox.pageFormDialog.labelPath":"Caminho","sandbox.pageFormDialog.labelTemplate":"Modelo","sandbox.pageFormDialog.pendingCreate":"Criando…","sandbox.pageFormDialog.pendingDuplicate":"Duplicando…","sandbox.pageFormDialog.pendingSave":"Salvando…","sandbox.pageFormDialog.placeholderName":"Minha página","sandbox.pageFormDialog.placeholderPath":"/exemplo","sandbox.pageFormDialog.submitCreate":"Criar","sandbox.pageFormDialog.submitDuplicate":"Duplicar","sandbox.pageFormDialog.submitSave":"Salvar","sandbox.pageFormDialog.titleCreate":"Criar nova página","sandbox.pageFormDialog.titleDuplicate":"Duplicar página","sandbox.pageFormDialog.titleRename":"Renomear página","sandbox.pathParamPickerChip.buttonTitle":"Valor para {paramLabel} — clique para escolher","sandbox.pathParamPickerChip.couldNotLoad":"Não foi possível carregar — o servidor de desenvolvimento está rodando?","sandbox.pathParamPickerChip.kindCategoryHeading":"Categorias","sandbox.pathParamPickerChip.kindCategoryNoun":"categoria","sandbox.pathParamPickerChip.kindProductHeading":"Produtos","sandbox.pathParamPickerChip.kindProductNoun":"produto","sandbox.pathParamPickerChip.loading":"Carregando {noun}…","sandbox.pathParamPickerChip.noResults":"Nenhum resultado.","sandbox.pathParamPickerChip.pickValueHeading":"Escolha um valor para","sandbox.pathParamPickerChip.pickValueTitle":"Escolha um valor para {paramLabel}","sandbox.pathParamPickerChip.searchPlaceholder":"Procurar {options} ou digite um valor…","sandbox.pathParamPickerChip.useRawValue":'Usar "{rawTerm}" como {paramLabel}',"sandbox.plainBlocks.bulletedLabel":"Com marcadores","sandbox.plainBlocks.codePlaceholder":"Código","sandbox.plainBlocks.headingLevel1":"Título 1","sandbox.plainBlocks.headingLevel2":"Título 2","sandbox.plainBlocks.headingLevel3":"Título 3","sandbox.plainBlocks.headingLevel4":"Título 4","sandbox.plainBlocks.headingPlaceholder":"Título","sandbox.plainBlocks.languagePlaceholder":"linguagem","sandbox.plainBlocks.listItemPlaceholder":"Item de lista","sandbox.plainBlocks.numberedLabel":"Numerada","sandbox.plainBlocks.quotePlaceholder":"Citação","sandbox.postBoard.close":"Fechar","sandbox.postBoard.archived":"Movido para Arquivado","sandbox.postBoard.collapse":"Recolher para o painel","sandbox.postBoard.collapseLane":"Recolher {lane}","sandbox.postBoard.delete":"Excluir","sandbox.postBoard.emptyDescription":"Gere algumas ideias e transforme-as em posts publicados.","sandbox.postBoard.emptyTitle":"Nenhum post ainda","sandbox.postBoard.duplicateTitle":"Título duplicado","sandbox.postBoard.expand":"Expandir para página inteira","sandbox.postBoard.expandLane":"Expandir {lane}","sandbox.postBoard.laneEmpty":"Nada aqui ainda","sandbox.postBoard.laneArchived":"Arquivado","sandbox.postBoard.laneGenerating":"Gerando","sandbox.postBoard.laneDraft":"Rascunho","sandbox.postBoard.laneAwaitingReview":"Aguardando revisão","sandbox.postBoard.lanePublished":"Publicado","sandbox.postBoard.laneScheduled":"Agendado","sandbox.postBoard.moveBlocked":"Este post está sem campos obrigatórios — abra-o para concluir antes de agendar.","sandbox.postBoard.moveFailed":"Não foi possível mover este post","sandbox.postBoard.moveInFlight":"Ainda movendo este post…","sandbox.postBoard.moveNotATarget":"Gerando é definido pela geração, não à mão.","sandbox.postBoard.nIssues":"{count} a corrigir antes de agendar","sandbox.postBoard.newPost":"Novo post","sandbox.postBoard.newPostGenerate":"Gerar","sandbox.postBoard.newPostGenerateHint":"Escrever com IA, a partir do seu contexto","sandbox.postBoard.newPostWrite":"Escrever","sandbox.postBoard.newPostWriteHint":"Começar um rascunho vazio você mesmo","sandbox.postBoard.importContent":"Importar conteúdo","sandbox.postBoard.importContentHint":"Traga o HTML ou Markdown que você já escreveu","sandbox.postBoard.importTitle":"Importar conteúdo","sandbox.postBoard.importDescription":"Cole o HTML ou Markdown que você já escreveu. Vira um rascunho editável no seu design system — sem IA, sem créditos.","sandbox.postBoard.importUpload":"Enviar um arquivo","sandbox.postBoard.importRun":"Importar","sandbox.postBoard.importEmpty":"Nada para importar — o conteúdo estava vazio.","sandbox.postBoard.imported":"Importado — revise e publique.","sandbox.postBoard.readyToSchedule":"Pronto para agendar","sandbox.postBoard.selectPrompt":"Selecione um post para vê-lo aqui.","sandbox.postBoard.untitled":"Post sem título","sandbox.postBoard.generatingLabel":"Gerando…","sandbox.postBoard.usesCredits":"Usa créditos de IA","sandbox.postBoard.viewBoard":"Quadro","sandbox.postBoard.viewList":"Lista","sandbox.postCalendar.couldNotCreate":"Não foi possível criar","sandbox.postCalendar.couldNotReschedule":"Não foi possível reagendar","sandbox.postCalendar.createdScheduledPost":"Post agendado criado","sandbox.postCalendar.legendScheduled":"Agendado","sandbox.postCalendar.legendUnscheduled":"Não agendado","sandbox.postCalendar.next":"Próximo mês","sandbox.postCalendar.onlyScheduledCanMove":"Apenas posts agendados podem ser movidos.","sandbox.postCalendar.previous":"Mês anterior","sandbox.postCalendar.schedulePostOn":"Agendar um post em {date}","sandbox.postCalendar.today":"Hoje","sandbox.postCalendar.unscheduledHint":"Posts tracejados não estão agendados — estão na data de exibição deles, e nada vai publicá-los.","sandbox.postCalendar.undatedEmpty":"Todos os posts têm data.","sandbox.postCalendar.undatedLabel":"Sem data · {count}","sandbox.postEditor.addPropLabel":"Adicionar propriedade","sandbox.postEditor.authorsLabel":"Autores","sandbox.postEditor.categoriesLabel":"Categorias","sandbox.postEditor.contentTab":"Conteúdo","sandbox.postEditor.coverAltDescription":"Descreve a imagem para leitores de tela e para quando ela não carrega. Vazio: o título do post é usado.","sandbox.postEditor.coverAltLabel":"Texto alternativo da capa","sandbox.postEditor.coverImageLabel":"Imagem de capa","sandbox.postEditor.dateLabel":"Data","sandbox.postEditor.deletePost":"Excluir post","sandbox.postEditor.deletePostCancel":"Cancelar","sandbox.postEditor.deletePostConfirmBody":'"{title}" será removido permanentemente. Isso não pode ser desfeito.',"sandbox.postEditor.deletePostConfirmBodyDraft":'"{title}" será removido do seu rascunho. Nada vai ao ar até você publicar, e até lá você pode trazê-lo de volta descartando esta alteração em Publicar.',"sandbox.postEditor.deletePostConfirmBodyNeverPublished":'"{title}" será removido do seu rascunho. Ele nunca foi publicado, então nada muda no site no ar, e depois de removido não dá para trazer de volta.',"sandbox.postEditor.deletePostConfirmTitle":"Excluir este post?","sandbox.postEditor.deletePostFailed":"Falha ao excluir","sandbox.postEditor.deletePostSuccess":'"{title}" excluído',"sandbox.postEditor.deletingPost":"Excluindo…","sandbox.postEditor.duplicateTitleWarning":"Já existe outro post com esse título. Títulos duplicados competem entre si na busca.","sandbox.postEditor.excerptLabel":"Resumo","sandbox.postEditor.extraPropsLabel":"Propriedades extras","sandbox.postEditor.issuePlural":"problemas","sandbox.postEditor.issueSingular":"problema","sandbox.postEditor.keyPlaceholder":"chave","sandbox.postEditor.missingFieldPlural":"Campos obrigatórios faltando: {fields}","sandbox.postEditor.missingFieldSingular":"Campo obrigatório faltando: {fields}","sandbox.postEditor.noAuthorsYet":"Nenhum autor ainda — crie alguns na coleção de autores.","sandbox.postEditor.noCategoriesYet":"Nenhuma categoria ainda — crie algumas na coleção de categorias.","sandbox.postEditor.noContentYet":"Este post ainda não tem conteúdo. Use ⊕ para adicionar seu primeiro bloco.","sandbox.postEditor.postTitlePlaceholder":"Título do post","sandbox.postEditor.readTimeLabel":"Tempo de leitura (minutos)","sandbox.postEditor.previewRequiresSlugAndCategory":"Defina o slug do post (e sua categoria) mais o pageSlug do aplicativo de blog para visualizar","sandbox.postEditor.previewTooltip":"Abrir visualização do post em uma nova aba","sandbox.postEditor.scheduledDatetimeDescription":"Quando este post entra no ar. O site publica sozinho depois que esse momento passa.","sandbox.postEditor.scheduledDatetimeLabel":"Entra no ar em","sandbox.postEditor.removePropLabel":"Remover propriedade","sandbox.postEditor.seePreview":"Ver visualização","sandbox.postEditor.selectAuthorsPlaceholder":"Selecionar autores","sandbox.postEditor.selectCategoriesPlaceholder":"Selecionar categorias","sandbox.postEditor.seoCanonicalLabel":"URL canônica","sandbox.postEditor.seoCanonicalPlaceholder":"https://exemplo.com/blog/meu-post","sandbox.postEditor.seoDescriptionLabel":"Descrição de SEO","sandbox.postEditor.seoImageLabel":"Imagem de SEO","sandbox.postEditor.seoNoIndexingLabel":"Ocultar dos mecanismos de busca (noindex)","sandbox.postEditor.seoSectionHint":"Sobrescreve como este post aparece nos mecanismos de busca. Campos vazios usam o título, resumo e imagem de capa do post.","sandbox.postEditor.seoSectionLabel":"SEO","sandbox.postEditor.seoTitleLabel":"Título de SEO","sandbox.postEditor.settingsTab":"Configurações","sandbox.postEditor.statusLabel":"Status","sandbox.postEditor.slugDeduped":"Esse slug já estava em uso — salvamos como “{slug}”.","sandbox.postEditor.slugLabel":"Slug","sandbox.postEditor.slugPlaceholder":"meu-post","sandbox.postEditor.valuePlaceholder":"valor","sandbox.postList.noMatches":"Nenhum post corresponde à busca ou aos filtros.","sandbox.postToolbar.allPosts":"Todos os posts","sandbox.postToolbar.archiveSelected":"Arquivar selecionados","sandbox.postToolbar.archiveSelectedPosts":"Arquivar posts selecionados","sandbox.postToolbar.authorLabel":"Autor","sandbox.postToolbar.categoryLabel":"Categoria","sandbox.postToolbar.clearFilter":"Limpar filtro","sandbox.postToolbar.deselectAll":"Desselecionar tudo","sandbox.postToolbar.deselectAllPosts":"Desselecionar todos os posts","sandbox.postToolbar.exitSelection":"Sair da seleção","sandbox.postToolbar.filterBy":"Filtrar por","sandbox.postToolbar.filterLabel":"Filtro","sandbox.postToolbar.itemsSelected":"Selecionados: {count}","sandbox.postToolbar.clearSearch":"Limpar busca","sandbox.postToolbar.searchAriaLabel":"Buscar posts","sandbox.postToolbar.searchPlaceholder":"Buscar posts","sandbox.postToolbar.selectAll":"Selecionar tudo","sandbox.postToolbar.selectAllPosts":"Selecionar todos os posts","sandbox.postToolbar.sortAZ":"A–Z","sandbox.postToolbar.sortBy":"Ordenar por","sandbox.postToolbar.sortNewest":"Recentes","sandbox.postToolbar.sortNewestFirst":"Mais recentes primeiro","sandbox.postToolbar.sortOldest":"Antigas","sandbox.postToolbar.sortOldestFirst":"Mais antigas primeiro","sandbox.postToolbar.sortTitleAZ":"Título A–Z","sandbox.postToolbar.sortTitleZA":"Título Z–A","sandbox.postToolbar.sortZA":"Z–A","sandbox.postToolbar.statusLabel":"Status","sandbox.preview.catchAllParamLabel":"caminho","sandbox.preview.choosePage":"Escolher página","sandbox.preview.clickElementToAsk":"Clique em qualquer elemento para perguntar à IA","sandbox.preview.collapseTerminal":"Recolher terminal","sandbox.preview.expandTerminal":"Expandir terminal","sandbox.preview.resizeTerminal":"Redimensionar terminal","sandbox.preview.createNewPage":"Criar nova página","sandbox.preview.devServerPreviewTitle":"Visualização do servidor de desenvolvimento","sandbox.preview.deviceDesktop":"Desktop","sandbox.preview.deviceMobile":"Celular (375px)","sandbox.preview.deviceTablet":"Tablet (768px)","sandbox.preview.enterToGo":"Enter para ir","sandbox.preview.failedToCreatePage":"Falha ao criar página","sandbox.preview.globalBadge":"Global","sandbox.preview.globalComponents":"Componentes globais","sandbox.preview.globalLoaders":"Loaders globais","sandbox.preview.loaderBadge":"Loader","sandbox.preview.loaderNoLongerExists":"Este loader não existe mais.","sandbox.preview.noPagesFound":"Nenhuma página encontrada neste site.","sandbox.preview.noSearchResults":"Nenhum resultado corresponde à sua pesquisa.","sandbox.preview.siteRoutes":"Rotas do site","sandbox.preview.noServerRunning":"Nenhum servidor em execução","sandbox.preview.openInNewTab":"Abrir em nova aba","sandbox.preview.pageAlreadyExists":'Uma página com o caminho "{path}" já existe.',"sandbox.preview.pageCreated":'Página "{name}" criada',"sandbox.preview.blockOnNoPage":"Este bloco não é usado em nenhuma página, então não há o que visualizar.","sandbox.preview.previewMetadataNotReady":"Metadados de visualização não estão prontos ainda","sandbox.preview.pageSchemaNotReady":"O site ainda está carregando. Tente de novo em instantes.","sandbox.preview.searchPagesAndComponents":"Procurar páginas e componentes...","sandbox.preview.startingPreview":"Iniciando seu preview","sandbox.preview.startingPreviewHint":"Mostrando seu site publicado. Você já pode fazer alterações — elas aparecem quando o preview estiver pronto.","sandbox.preview.templateNoLongerExists":"O modelo selecionado não existe mais.","sandbox.preview.valueForParam":"Valor de {label}","sandbox.preview.blocksEditor":"Editor de blocos","sandbox.preview.visualEditor":"Editor visual","sandbox.productBlocks.addProductIdButton":"Adicionar ID do produto","sandbox.productBlocks.addProductsButton":"Adicionar produtos","sandbox.productBlocks.addProductsDescription":"Pesquise produtos VTEX ou escolha uma categoria ou cluster","sandbox.productBlocks.browseProductsButton":"Procurar produtos","sandbox.productBlocks.changeButton":"Alterar","sandbox.productBlocks.chooseProductButton":"Escolher um produto","sandbox.productBlocks.ctaLabelField":"Rótulo de CTA","sandbox.productBlocks.ctaLabelPlaceholder":"Ver produto","sandbox.productBlocks.dragToReorderLabel":"Arraste para reordenar","sandbox.productBlocks.headingH1":"H1","sandbox.productBlocks.headingH2":"H2","sandbox.productBlocks.headingH3":"H3","sandbox.productBlocks.headingNormal":"Normal","sandbox.productBlocks.idLabel":"ID {id}","sandbox.productBlocks.loadingEllipsis":"Carregando…","sandbox.productBlocks.productCardLabel":"Cartão de produto","sandbox.productBlocks.productField":"Produto","sandbox.productBlocks.productPlural":"produtos","sandbox.productBlocks.productSingular":"produto","sandbox.productBlocks.productSlugField":"Slug do produto","sandbox.productBlocks.productSlugPlaceholder":"slug-do-produto","sandbox.productBlocks.productWithId":"Produto {id}","sandbox.productBlocks.removeProductButton":"Remover produto","sandbox.productBlocks.removeProductIdButton":"Remover ID do produto","sandbox.productBlocks.removeProductLabel":"Remover produto","sandbox.productBlocks.shelfTitlePlaceholder":"Título da prateleira","sandbox.productBlocks.skuIdPlaceholder":"151331","sandbox.productBlocks.startDevServerDescription":"Inicie o servidor de desenvolvimento para procurar produtos ou adicione IDs de SKU abaixo.","sandbox.productBlocks.vtexProductIdPlaceholder":"ID de produto VTEX (ex. 151331)","sandbox.productBlocks.vtexProductIds":"IDs de produtos VTEX","sandbox.productPickerDialog.addProducts":"Adicionar produtos","sandbox.productPickerDialog.categoryLabel":"Categoria: ","sandbox.productPickerDialog.change":" — alterar","sandbox.productPickerDialog.chooseProduct":"Escolher um produto","sandbox.productPickerDialog.clusterIdPlaceholder":"ID da coleção / cluster (ex.: 2140)","sandbox.productPickerDialog.couldNotLoad":"Não foi possível carregar — o servidor de desenvolvimento está em execução?","sandbox.productPickerDialog.done":"Concluído","sandbox.productPickerDialog.enterClusterPrompt":"Digite um ID de coleção ou cluster.","sandbox.productPickerDialog.filterCategoriesPlaceholder":"Filtrar categorias…","sandbox.productPickerDialog.loadingCategories":"Carregando categorias…","sandbox.productPickerDialog.loadingProducts":"Carregando produtos…","sandbox.productPickerDialog.modeCategory":"Categoria","sandbox.productPickerDialog.modeClusterId":"ID do cluster","sandbox.productPickerDialog.modeSearch":"Busca","sandbox.productPickerDialog.noCategories":"Nenhuma categoria.","sandbox.productPickerDialog.noProductsFound":"Nenhum produto encontrado.","sandbox.productPickerDialog.noneSelected":"Nenhum selecionado","sandbox.productPickerDialog.pickCategoryPrompt":"Escolha uma categoria para ver seus produtos.","sandbox.productPickerDialog.searchProductsPlaceholder":"Buscar produtos por nome ou ID…","sandbox.productPickerDialog.selectedCount":"{count} selecionado(s)","sandbox.recordEditor.fieldAvatar":"Avatar","sandbox.recordEditor.fieldCompany":"Empresa","sandbox.recordEditor.fieldEmail":"E-mail","sandbox.recordEditor.fieldJobTitle":"Cargo","sandbox.recordEditor.fieldName":"Nome","sandbox.recordEditor.fieldType":"Tipo","sandbox.recordEditor.fieldUrl":"Site","sandbox.recordEditor.optionOrganization":"Organização","sandbox.recordEditor.optionPerson":"Pessoa","sandbox.recordEditor.placeholderEmail":"autor@exemplo.com","sandbox.recordEditor.placeholderUrl":"https://exemplo.com","sandbox.recordEditor.titleAuthor":"Autor","sandbox.redirectFormDialog.title":"Criar redirecionamento","sandbox.redirectFormDialog.submit":"Criar","sandbox.redirectFormDialog.pending":"Criando…","sandbox.redirectFormDialog.cancel":"Cancelar","sandbox.redirectFormDialog.errorRequired":"De e Para são obrigatórios.","sandbox.redirectEditor.discardQueryParameters":"Descartar parâmetros de consulta","sandbox.redirectEditor.fromDescription":"O caminho de origem a corresponder. Suporta sintaxe URLPattern (ex. /produto/:slug).","sandbox.redirectEditor.fromLabel":"De","sandbox.redirectEditor.fromPlaceholder":"/caminho-antigo","sandbox.redirectEditor.statusDescription":"Um código de status explícito prevalece sobre o tipo.","sandbox.redirectEditor.statusFromType":"Seguir o tipo ({status})","sandbox.redirectEditor.statusLabel":"Código de status","sandbox.redirectEditor.title":"Redirecionamento","sandbox.redirectEditor.toDescription":"O destino — um caminho relativo ou uma URL absoluta.","sandbox.redirectEditor.toLabel":"Para","sandbox.redirectEditor.toPlaceholder":"/caminho-novo","sandbox.redirectEditor.typeLabel":"Tipo","sandbox.redirectEditor.typePermanent":"Permanente ({status})","sandbox.redirectEditor.typePlaceholder":"Tipo","sandbox.redirectEditor.typeTemporary":"Temporário ({status})","sandbox.cmsSettings.title":"CMS","sandbox.cmsSettings.preview.title":"Preview","sandbox.cmsSettings.preview.description":"Veja suas alterações antes de publicá-las.","sandbox.cmsSettings.fastPreview.label":"Preview Rápido","sandbox.cmsSettings.fastPreview.description":"Novos chats começam como sessões de CMS, pré-visualizadas no seu servidor de preview em vez de um sandbox. Chats existentes mantêm o modo com que foram criados.","sandbox.cmsSettings.fastPreview.needsPreviewServerUrl":"Defina um servidor de preview acima para ativar o Preview Rápido.","sandbox.cmsSettings.blocksV8.needsPreviewServerUrl":"Adicione o endereço do seu site acima para visualizar rascunhos. Até lá, novos chats começam uma sessão de código.","sandbox.cmsSettings.fastPreviewInPlace.label":"Preview instantâneo (experimental)","sandbox.cmsSettings.fastPreviewInPlace.description":"Atualiza as edições no lugar, sem esperar o salvamento — bem mais rápido, mas só funciona em sites que têm a rota /live/previews.","sandbox.cmsSettings.contentEditing.on":"Ativado","sandbox.cmsSettings.contentEditing.onDescription":"O Editor do Site oferece Conteúdo e abre Blocos ao lado do Preview no desktop.","sandbox.cmsUnavailable.noPreviewServer":"É uma sessão de CMS, mas este projeto não tem servidor de preview configurado.","sandbox.cmsUnavailable.noRepo":"É uma sessão de CMS, mas este projeto não tem repositório do GitHub para salvar.","sandbox.cmsUnavailable.startCodingSession":"Continuar esta branch em uma sessão de código","sandbox.previewServerUrlField.description":"O endereço do seu servidor ativo, usado para pré-visualizar conteúdo. Necessário para o Preview Rápido.","sandbox.previewServerUrlField.descriptionBlocksV8":"O endereço do seu site no ar. O Studio mostra seus rascunhos nele antes de você publicar. Um endereço novo mostra rascunhos após a próxima publicação.","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.runnableBlockEditor.availableModeDescription":"{typeLabel} — edições permanecem locais até que você salve como um {singular} global. Execute para invocar contra a visualização em tempo real.","sandbox.runnableBlockEditor.closeJsonEditor":"Fechar editor JSON","sandbox.runnableBlockEditor.closeResult":"Fechar resultado","sandbox.runnableBlockEditor.collapse":"Recolher","sandbox.runnableBlockEditor.collapseResult":"Recolher resultado","sandbox.runnableBlockEditor.editAsJson":"Editar como JSON","sandbox.runnableBlockEditor.expand":"Expandir","sandbox.runnableBlockEditor.expandResult":"Expandir resultado","sandbox.runnableBlockEditor.failedToRun":"Falha ao executar {singular}","sandbox.runnableBlockEditor.freeformPropsEmptyState":"Este {singular} não publica um esquema de props. Edite suas props como JSON e execute.","sandbox.runnableBlockEditor.inferredSchemaNotice":"Este {singular} não publica um esquema de props — os campos abaixo são inferidos de seus valores salvos. Use o editor JSON para adicionar props não mostrados aqui.","sandbox.runnableBlockEditor.invalidJsonError":"JSON inválido — mudanças não são salvas até que seja analisado.","sandbox.runnableBlockEditor.noInputEmptyState":"Este {singular} não aceita entrada configurável. Execute para ver seu resultado.","sandbox.runnableBlockEditor.openInNewTabTooltip":"Abrir em nova aba (executa novamente o {singular})","sandbox.runnableBlockEditor.openResultInNewTabAriaLabel":"Abrir resultado em nova aba","sandbox.runnableBlockEditor.pressRunToInvoke":"Pressione Executar para invocar este {singular}.","sandbox.runnableBlockEditor.resultPanelTitle":"Resultado","sandbox.runnableBlockEditor.run":"Executar","sandbox.runnableBlockEditor.runAriaLabel":"Executar {singular}","sandbox.runnableBlockEditor.running":"Executando {singular}…","sandbox.runnableBlockEditor.saveAsGlobal":"Salvar como {singular} global","sandbox.runnableBlockEditor.saveAsGlobalAriaLabel":"Salvar como {singular} global","sandbox.runnableBlockEditor.savedModeDescription":"{singular} global — mudanças são salvas automaticamente. Execute para invocar contra a visualização em tempo real.","sandbox.runnableBlocksBrowser.emptyFolder":"Esta pasta está vazia.","sandbox.runnableBlocksBrowser.emptyFolderNoManifest":"Inicie o servidor de desenvolvimento de pré-visualização para que o manifest seja carregado.","sandbox.runnableBlocksBrowser.emptyFolderTitle":"Nenhum {kind} aqui","sandbox.runnableBlocksBrowser.folderBreadcrumb":"Navegação de pastas","sandbox.runnableBlocksBrowser.hideSaved":"Ocultar salvos","sandbox.runnableBlocksBrowser.noSearchResults":'Nenhum {kind} corresponde a "{query}"',"sandbox.runnableBlocksBrowser.noSearchResultsDescription":"A pesquisa abrange todas as pastas — tente um termo diferente.","sandbox.runnableBlocksBrowser.savedBlockToast":'{singular} "{blockId}" salvo(a)',"sandbox.runnableBlocksBrowser.savedCountLabel":"{count} salvo(s)","sandbox.runnableBlocksBrowser.searchAriaLabel":"Pesquisar todos os {kind}","sandbox.runnableBlocksBrowser.searchPlaceholder":"Pesquisar todos os {kind}…","sandbox.runnableBlocksBrowser.seeSaved":"Ver salvos","sandbox.runtimeFields.auto":"Automático","sandbox.runtimeFields.autoDetect":"Auto-detectar","sandbox.runtimeFields.devServerPort":"Porta do servidor de desenvolvimento","sandbox.runtimeFields.devServerPortDescription":"Deixe em branco para deixar o executor escolher.","sandbox.runtimeFields.packageManager":"Gerenciador de pacotes","sandbox.runtimeFields.packagePath":"Caminho do pacote","sandbox.runtimeFields.packagePathDescription":"Caminho (relativo à raiz do repositório) do diretório que contém package.json. Deixe em branco para a raiz do repositório.","sandbox.runtimeApps.title":"Outros apps","sandbox.runtimeApps.description":"Outros apps deste repositório para ver ao lado do principal, até {max}. Cada um roda o próprio servidor de desenvolvimento.","sandbox.runtimeApps.add":"Adicionar app","sandbox.runtimeApps.remove":"Remover {path}","sandbox.runtimeApps.duplicate":"Este app já está na lista.","sandbox.appTabs.label":"Apps","sandbox.appTabs.root":"raiz","sandbox.appTabs.main":"Principal","sandbox.appTabs.remove":"Remover {app}","sandbox.appTabs.add":"Adicionar outro app deste repositório","sandbox.appTabs.pathLabel":"Caminho do app no repositório, como apps/checkout","sandbox.appTabs.mainHint":"O chat e o editor trabalham neste app.","sandbox.appTabs.extraHint":"Só preview. O chat continua trabalhando em {app}.","sandbox.appPane.previewOnly":"Só preview. O chat e o editor continuam em {app}.","sandbox.appTabs.saveError":"Não foi possível salvar os apps do projeto.","sandbox.appTabs.split":"Ver lado a lado","sandbox.appTabs.single":"Ver um app","sandbox.appPane.path":"Caminho em {app}","sandbox.appPane.reload":"Recarregar {app}","sandbox.appPane.openInNewTab":"Abrir {app} em nova aba","sandbox.appPane.close":"Fechar {app}","sandbox.appPane.failed":"A sandbox não conseguiu iniciar. Tente de novo em {app}.","sandbox.appPane.waiting":"Iniciando a sandbox…","sandbox.appPane.noUrl":"Este app não tem endereço de preview.","sandbox.appPane.notStarted":"{app} ainda não está rodando: a sandbox subiu antes de ele ser adicionado.","sandbox.appPane.start":"Iniciar {app}","sandbox.savedSectionEditor.closeJsonEditor":"Fechar editor JSON","sandbox.saveStatus.failed":"Não foi possível salvar","sandbox.saveStatus.saved":"Salvo","sandbox.saveStatus.saving":"Salvando…","sandbox.savedSectionEditor.editAsJson":"Editar como JSON","sandbox.savedSectionEditor.globalSectionDescription":"Seção global — alterações são salvas automaticamente e aplicadas em todos os locais onde é usada.","sandbox.savedSectionEditor.invalidJsonError":"JSON inválido — as alterações não serão salvas até que seja processado.","sandbox.savedSectionEditor.noEditableFields":"Nenhum campo editável para esta seção.","sandbox.schemaless.agentPrompt":"O conteúdo deste site é editado no deco Studio, mas o Studio ainda não recebeu o schema do site, então os formulários de conteúdo mostram campos crus. Configure isso neste repositório:\n\n1. Garanta que o @decocms/blocks está na versão 8.11.0 ou mais nova (atualize se não estiver) e rode `npx deco skills install` para adicionar as skills do framework deco a este repositório.\n2. Carregue a skill deco-site-workflow e siga o references/schema.md dela: gere o schema com `npx deco schema` e faça commit de .deco/schema.gen.json; faça o DECO_SITE apontar para o site {site} do Studio; envie o schema ao Studio com `npx deco schema push`; e inclua `npx deco schema push` no deploy de produção (depois que o deploy der certo, com uma chave de API do Studio no secret DECO_TOKEN) para que todo deploy o envie.\n3. Rode `npx deco check` e me conte o que você mudou e o que cada comando imprimiu.","sandbox.schemaless.agentPromptSiteUnknown":"que este projeto usa (me pergunte o nome se não encontrar)","sandbox.schemaless.back":"Todos os blocos","sandbox.schemaless.bannerBody":"Este site ainda não enviou ao Studio o schema dele (a descrição dos campos de cada formulário), então cada bloco abre com campos simples criados a partir dos valores salvos. Salvar continua mantendo todo o resto como está. Peça ao agente de código que trabalha no seu site para configurar isso: copie o prompt e cole no agente. Leva um deploy, e os formulários aqui se atualizam sozinhos.","sandbox.schemaless.bannerTitle":"Os formulários de conteúdo estão mostrando campos crus","sandbox.schemaless.copyPrompt":"Copiar prompt para o seu agente","sandbox.schemaless.copyPromptFailed":"Não foi possível copiar o prompt. Verifique se esta página pode usar a área de transferência e tente de novo.","sandbox.schemaless.empty":"Vazio","sandbox.schemaless.installSkill":"Instalar a skill","sandbox.schemaless.item":"Item {n}","sandbox.schemaless.itemCount":"{count} itens","sandbox.schemaless.listLabel":"Blocos salvos","sandbox.schemaless.noBlocks":"Nenhum bloco salvo ainda.","sandbox.schemaless.noMatches":"Nenhum bloco corresponde à busca.","sandbox.schemaless.noType":"Sem tipo","sandbox.schemaless.notANumber":"Digite um número. O valor salvo continua até você digitar.","sandbox.schemaless.notSet":"Sem valor","sandbox.schemaless.pickBlock":"Escolha um bloco para ver o conteúdo.","sandbox.schemaless.promptCopied":"Copiado","sandbox.schemaless.promptCopiedAnnouncement":"Prompt copiado para a área de transferência","sandbox.schemaless.searchPlaceholder":"Buscar blocos","sandbox.schemaless.usesSkill":"Usa a skill deco-site-workflow","sandbox.sectionRenameDialog.cancel":"Cancelar","sandbox.sectionRenameDialog.description":"Atualiza o nome de exibição. A chave interna permanece a mesma para que as páginas que referem esta seção continuem funcionando.","sandbox.sectionRenameDialog.keyLabel":"Chave","sandbox.sectionRenameDialog.nameLabel":"Nome","sandbox.sectionRenameDialog.save":"Salvar","sandbox.sectionRenameDialog.saving":"Salvando…","sandbox.sectionRenameDialog.title":"Renomear seção","sandbox.sectionsRightPane.selectSectionDescription":"Escolha uma seção salva para editar, ou uma disponível para personalizar e salvar como global.","sandbox.sectionsRightPane.selectSectionTitle":"Selecione uma seção para editar","sandbox.stateCard.erroredHeadline":"Não foi possível iniciar o sandbox","sandbox.stateCard.githubConnectionMissingMessage":"A conexão do GitHub usada neste chat foi removida. Vincule o repositório novamente para iniciar o sandbox.","sandbox.stateCard.linkRepoAgain":"Vincular repositório","sandbox.stateCard.githubNotAuthenticatedMessage":"O repositório GitHub deste projeto não está autenticado. Reconecte em Conexões e tente novamente.","sandbox.stateCard.reconnectGithub":"Reconectar GitHub","sandbox.stateCard.resume":"Retomar","sandbox.stateCard.resumeToContinue":"Retome para continuar.","sandbox.stateCard.retry":"Tentar Novamente","sandbox.stateCard.suspendedHeadline":"O sandbox está pausado","sandbox.tableBlock.addColumn":"Adicionar coluna","sandbox.tableBlock.addRow":"Adicionar linha","sandbox.tableBlock.headerPlaceholder":"Cabeçalho {n}","sandbox.tableBlock.noRowsYet":"Nenhuma linha ainda — adicione uma abaixo.","sandbox.tableBlock.removeColumn":"Remover coluna {n}","sandbox.tableBlock.removeRow":"Remover linha {n}","sandbox.toolbar.closeTab":"Fechar {tab}","sandbox.toolbar.moreActions":"Mais ações","sandbox.toolbar.noScriptsFound":"Nenhum script encontrado","sandbox.toolbar.restart":"Reiniciar","sandbox.toolbar.resume":"Retomar","sandbox.toolbar.retry":"Tentar Novamente","sandbox.toolbar.run":"Executar","sandbox.toolbar.runAScript":"executar um script","sandbox.toolbar.runScript":"Executar script","sandbox.toolbar.setupTab":"sandbox","sandbox.toolbar.start":"Iniciar","sandbox.toolbar.startProcess":"Iniciar processo","sandbox.toolbar.stop":"Parar","sandbox.toolbar.stopProcess":"Parar processo","sandbox.toolbar.stopSandboxTooltip":"Parar sandbox","sandbox.toolbar.stopping":"Parando…","sandbox.variantCalendar.always":"Sempre","sandbox.variantCalendar.calendarMode":"Calendário","sandbox.variantCalendar.dateMatcherInfo":"Variantes condicionadas a um critério de data aparecem aqui.","sandbox.variantCalendar.hiddenOngoingVariants":'{count} variante(s) em andamento oculta(s) — ative "Mostrar em andamento" para visualizar.',"sandbox.variantCalendar.next":"Próximo","sandbox.variantCalendar.noDatedVariants":"Nenhuma variante com data à vista.","sandbox.variantCalendar.noScheduledVariants":"Nenhuma variante agendada.","sandbox.variantCalendar.ongoing":"Em andamento","sandbox.variantCalendar.previous":"Anterior","sandbox.variantCalendar.showOngoing":"Mostrar em andamento ({count})","sandbox.variantCalendar.timelineMode":"Linha do tempo","sandbox.variantCalendar.today":"Hoje","sandbox.variantCalendar.todayLabel":"Hoje","sandbox.variantCalendar.variantBlock":"Variante / Bloco","sandbox.visualEditorPrompt.inputPlaceholder":"Pergunte à IA...","sandbox.visualEditorPrompt.sendButton":"Enviar","sandbox.calendarView.noDraft.title":"Escolha um rascunho para planejar suas campanhas","sandbox.calendarView.noDraft.desc":"Suas campanhas ficam salvas em um rascunho, como qualquer outra edição. Escolha um rascunho na barra acima ou abra o editor do site para começar um.","sandbox.calendarView.loadFailed":"Não foi possível carregar suas campanhas.","sandbox.calendarView.loadFailedHint":"Nada foi alterado. Tente de novo em instantes.","sandbox.dateCampaigns.intro":"Toda data do seu site é uma campanha: uma variante com a regra “Campanha” aparece enquanto a campanha dela está rodando. As mudanças ficam salvas no seu rascunho e vão ao ar quando você publica.","sandbox.dateCampaigns.new":"Nova campanha","sandbox.dateCampaigns.empty.title":"Nenhuma campanha ainda","sandbox.dateCampaigns.empty.desc":"Crie uma aqui ou a partir de uma variante no editor do site: escolha a regra “Campanha” e digite um nome.","sandbox.dateCampaigns.listMode":"Lista","sandbox.dateCampaigns.timelineMode":"Linha do tempo","sandbox.dateCampaigns.status.running":"Rodando","sandbox.dateCampaigns.status.upcoming":"Em breve","sandbox.dateCampaigns.status.ended":"Encerrada","sandbox.dateCampaigns.status.always":"Sempre ativa","sandbox.dateCampaigns.status.unreadable":"Datas ilegíveis","sandbox.dateCampaigns.state.new":"Ainda não publicada","sandbox.dateCampaigns.state.changed":"Alterada no seu rascunho","sandbox.dateCampaigns.removedTitle":"Removidas no seu rascunho","sandbox.dateCampaigns.removedHint":"Estas campanhas param quando você publicar. Para manter uma, crie-a de novo com o mesmo nome.","sandbox.dateCampaigns.unreadableHint":"Uma das datas não pode ser lida, então as variantes dela não aparecem. Escolha novas datas e salve.","sandbox.dateCampaigns.publishedWindow":"Publicado: {window}","sandbox.dateCampaigns.saveDates":"Salvar datas","sandbox.dateCampaigns.delete":"Excluir campanha","sandbox.dateCampaigns.deleted":"Campanha “{name}” excluída do seu rascunho","sandbox.dateCampaigns.deletedHint":"Ela sai do site quando você publicar. Desfazer traz ela de volta.","sandbox.dateCampaigns.allCampaigns":"Todas as campanhas","sandbox.dateCampaigns.today":"Hoje","sandbox.dateCampaigns.previous":"Antes","sandbox.dateCampaigns.next":"Depois","sandbox.dateCampaigns.nothingInRange":"Nenhuma campanha roda nestes meses.","sandbox.dateCampaigns.missing.title":"Seu site precisa de uma atualização para campanhas","sandbox.dateCampaigns.missing.desc":"Peça ao seu desenvolvedor para atualizar o site para a versão mais recente do Blocks e publicá-lo. Suas campanhas vão aparecer aqui.","sandbox.dateCampaigns.replaced.title":"Seu site cuida das campanhas no próprio código","sandbox.dateCampaigns.replaced.desc":"Os desenvolvedores definiram as próprias campanhas, então elas não podem ser alteradas aqui. Pergunte a eles como mudar uma.","sandbox.dateCampaigns.conflict.title":"Seu site já tem um bloco chamado “campaigns”","sandbox.dateCampaigns.conflict.desc":"Ele não é uma lista de campanhas, então ainda não dá para adicionar campanhas. Renomeie esse bloco e volte aqui.","sandbox.previewAs.label":"Visualizar como","sandbox.previewAs.intro":"Só esta pré-visualização muda. Seus visitantes continuam vendo o site como ele está.","sandbox.previewAs.unavailable":"Faça uma mudança ou publique o site primeiro; depois a pré-visualização pode mostrar outro momento ou forçar um teste.","sandbox.previewAs.momentLabel":"Visualizar em","sandbox.previewAs.momentHint":"As campanhas aparecem como vão estar neste momento. Os horários estão no fuso do seu computador.","sandbox.previewAs.now":"Agora","sandbox.previewAs.testsLabel":"Testes A/B","sandbox.previewAs.testsHint":"Sem escolha: você vê o lado que a sua própria visita recebeu.","sandbox.previewAs.noTests":"Nenhum teste A/B ainda.","sandbox.previewAs.testsLoadFailed":"Não foi possível carregar seus testes.","sandbox.previewAs.tryAgain":"Tentar de novo","sandbox.previewAs.off":"Desligado","sandbox.previewAs.on":"Ligado","sandbox.previewAs.reset":"Mostrar como está agora"},poe={"settings.subscriptionUsage.refresh":"Atualizar","settings.subscriptionUsage.codeReview":"Revisão de código","settings.subscriptionUsage.primary":"Limite principal","settings.subscriptionUsage.secondary":"Limite secundário","settings.subscriptionUsage.resets":"Renova em {date}","settings.subscriptionUsage.limitReached":"Limite atingido","settings.subscriptionUsage.viewUsage":"Ver uso","settings.subscriptionUsage.openProvider":"Ver no provedor","settings.voice.title":"Modo voz","settings.voice.description":"Permite falar com os agentes por voz. Requer a ElevenLabs configurada nesta instalação.","settings.title":"Perfil e preferências","settings.nav.organization":"Organização","settings.nav.build":"Construir","settings.nav.manage":"Gerenciar","settings.nav.general":"Geral","settings.nav.connect":"Conectar","settings.nav.aiProviders":"Provedores de IA","settings.nav.secrets":"Segredos","settings.nav.billing":"Cobrança e IA","settings.nav.buckets":"Buckets","settings.nav.syncedRepos":"Repos sincronizados","settings.nav.repositories":"Repositórios","settings.nav.storage":"Armazenamento","settings.nav.advanced":"Avançado","settings.subnav.ariaLabel":"Seções de configurações","settings.subnav.infrastructure":"Infraestrutura","settings.nav.tasks":"Quadro","settings.jira.sectionTitle":"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 ficam, mas deixam de atualizar.","settings.jira.cancel":"Cancelar","settings.jira.boardLabel":"Board do Jira","settings.jira.boardDescription":"O Studio age quando um card entra numa coluna deste board.","settings.jira.boardPlaceholder":"Selecione um board","settings.jira.boardSearchPlaceholder":"Buscar boards…","settings.jira.noBoardsMatch":"Nenhum board corresponde à busca","settings.jira.loadingBoards":"Carregando boards…","settings.jira.enabledLabel":"Integração ativa","settings.jira.enabledDescription":"Enquanto desativada, os cards que se movem no board são ignorados.","settings.jira.enableRequirements":"Escolha um board antes de ativar a integração","settings.jira.saveFailed":"Não foi possível salvar as configurações do Jira","settings.jira.createTokenLink":"Criar um API token","settings.jira.webhookTitle":"Atualizações instantâneas (webhook)","settings.jira.webhookDescription":"Opcional. Sem ele, uma issue que entra num status automatizado é detectada na próxima verificação de 5 minutos; com ele, a run começa quando o card fica 20 segundos parado.","settings.jira.webhookCopy":"Copiar","settings.jira.webhookCopied":"URL do webhook copiada","settings.jira.webhookStep1":"No Jira, abra Settings (ícone de engrenagem) → System → Webhooks. Requer um admin do Jira.","settings.jira.webhookStep2":"Clique em “Create a webhook” e cole a URL acima.","settings.jira.webhookStep3":"Em Events, marque Issue: created e Issue: updated.","settings.jira.webhookStep4":"Opcionalmente restrinja com um filtro JQL, ex.: project = <chave do projeto>.","settings.jira.webhookStep5":"Salve. Uma issue que entra num status automatizado passa a iniciar sua run depois de ficar 20 segundos nele.","settings.jira.automationsLabel":"Rodar o agente quando uma issue entrar em…","settings.jira.automationsDescription":"As automações que rodam quando uma issue entra num destes status e fica nele por 20 segundos. Abra uma para mudar o prompt, ou dê a qualquer automação um gatilho “Quando uma issue do Jira entra num status”. Um card arrastado por um status, ou para o errado e de volta, não inicia nada. Uma issue que tem um pull request aberto linkado continua nele. O agente lê a issue e a atualiza no Jira; nada é copiado para o quadro.","settings.jira.toggleAutomation":"Ligar ou desligar {name}","settings.jira.addAutomation":"Adicionar automação","settings.jira.fromAny":"Vindo de qualquer coluna","settings.jira.fromEarlier":"Vindo de uma coluna anterior","settings.jira.fromLater":"Vindo de uma coluna posterior (devolvido)","settings.jira.fromStatuses":"Vindo de {statuses}","settings.jira.originLabel":"Quando o card vem de","settings.jira.originStatusesPlaceholder":"Escolha os status","settings.jira.originHelp":"Um movimento inicia uma regra só: a que nomeia de onde o card veio, senão a da direção dele no board, senão a de qualquer coluna. De onde ele veio é o último status em que ficou parado, não um pelo qual foi arrastado.","settings.jira.createRule":"Criar automação","settings.jira.cancelRule":"Cancelar","settings.jira.noColumnsYet":"Este board ainda não tem colunas","settings.jira.columnsFailed":"Não foi possível carregar as colunas do board","settings.jira.testRunLabel":"Rodar na mão","settings.jira.testRunDescription":"Rode uma automação numa issue ou num lote agora, sem ativar a integração, para ver o que o prompt faz.","settings.jira.issueKeysPlaceholder":"ABC-123 ou um link, um por linha ou separados por vírgula","settings.jira.issueKeysCount":"{count} issue(s)","settings.jira.issueKeysUnreadable":"não consegui ler: {items}","settings.jira.testRunIssueAriaLabel":"Chave ou link da issue do Jira","settings.jira.testRun":"Rodar agente {count}","settings.jira.testRunRunning":"Iniciando…","settings.jira.testRunStarted":"Iniciado em","settings.jira.testRunFailed":"Não foi possível iniciar o run","settings.jira.testRunHelp":"Este é um run de verdade: o agente lê a issue real, comenta nela e pode movê-la. Rodar de novo interrompe o run que ainda estiver trabalhando nessa issue, e uma issue com um pull request aberto linkado continua nele.","settings.jira.testRunAutomation":"Automação a rodar","settings.jira.testRunNoAutomations":"Adicione uma automação acima primeiro: rodar à mão dispara uma delas.","settings.jira.together":"Um run só para todas, e o agente trabalha nas issues como um lote","settings.jira.togetherStarted":"Iniciado um run em","settings.jira.testRunWatch":"Ver os runs no Monitor","settings.syncedRepos.addRepo":"Adicionar repo","settings.syncedRepos.cancel":"Cancelar","settings.syncedRepos.create":"Criar","settings.syncedRepos.creating":"Criando…","settings.syncedRepos.created":'Sincronização criada — sincronizando em "{volume}" em segundo plano',"settings.syncedRepos.emptyTitle":"Nenhum repo sincronizado ainda","settings.syncedRepos.emptyDescription":"Escolha um repositório e ele aparecerá na biblioteca como uma pasta somente leitura, sincronizada automaticamente.","settings.syncedRepos.failed":"Algo deu errado","settings.syncedRepos.nameDialogDescription":"{repo} será mantido em sincronia nesta pasta somente leitura da biblioteca.","settings.syncedRepos.nameDialogTitle":"Nomeie a pasta sincronizada","settings.syncedRepos.namePlaceholder":"nome-da-pasta","settings.syncedRepos.pickerTitle":"Sincronizar um repo na biblioteca","settings.syncedRepos.remove":"Parar de sincronizar","settings.syncedRepos.removeDescription":"Os arquivos já sincronizados continuam na biblioteca; só a sincronização para. Você pode apagar a pasta depois, se não precisar dela.","settings.syncedRepos.removeTitle":'Parar de sincronizar "{volume}"?',"settings.syncedRepos.removed":"Sincronização removida","settings.syncedRepos.rowSubtitle":"Pasta da biblioteca: {volume}","settings.repositories.accountsTitle":"Contas conectadas","settings.repositories.accountsEmptyTitle":"Nenhuma conta conectada","settings.repositories.accountsEmptyDescription":"Conecte uma conta do GitHub, GitLab ou Bitbucket para navegar pelos seus repositórios e vincular os privados.","settings.repositories.noProvidersTitle":"Nenhum provedor git configurado","settings.repositories.noProvidersDescription":"Entrar com GitHub, GitLab ou Bitbucket depende de credenciais do provedor que um administrador configura nesta instalação. Você ainda pode conectar uma conta do GitLab ou do Bitbucket com um token de acesso.","settings.repositories.githubUnavailable":"Peça a um administrador para habilitar o GitHub.","settings.repositories.connectGithubCli":"Conectar com GitHub CLI","settings.repositories.githubCliHint":"Use seu login local do gh para buscar e importar repositórios.","settings.repositories.authKindGithubCli":"GitHub CLI","settings.repositories.addGithubAccount":"Adicionar conta ou organização do GitHub","settings.repositories.githubSelectTitle":"Selecionar repositórios","settings.repositories.githubSelectedShareHint":"Membros com permissão de repositórios em {organization} poderão usar os repositórios que você autorizar aqui.","settings.repositories.githubPreselectedHint":"Os repositórios já autorizados ou vinculados estão selecionados quando você tem permissão para autorizá-los. Revise a seleção antes de salvar.","settings.repositories.githubReplaceHint":"Salvar substitui o acesso atual desta conta no workspace pela sua seleção. Repositórios removidos deixam de receber novas credenciais. Credenciais já emitidas podem funcionar até expirarem.","settings.repositories.githubFilterRepos":"Buscar repositórios","settings.repositories.githubNoRepos":"Nenhum repositório disponível para autorizar.","settings.repositories.githubSearchNoMatches":"Nenhum repositório corresponde à sua busca.","settings.repositories.githubAccessChanged":"Alguém alterou o acesso desta conta. Volte e revise os repositórios antes de salvar.","settings.repositories.githubMoreRepos":"Carregar mais repositórios","settings.repositories.githubBack":"Voltar às contas","settings.repositories.githubSaveOneRepo":"Autorizar 1 repositório","settings.repositories.githubSaveRepos":"Autorizar {count} repositórios","settings.repositories.githubEditWorkspaceAccess":"Alterar acesso do workspace","settings.repositories.githubShareHint":"Escolha sua conta pessoal do GitHub, ou uma organização onde você administra repositórios, para compartilhar com {organization}. Membros com permissão para repositórios no Studio podem usar esta conexão.","settings.repositories.githubInstallHint":"Ainda não há nada seu para compartilhar. Instale o app do GitHub na sua conta pessoal ou nos repositórios que você administra, ou peça ao dono da conta para conectá-la ao Studio. Um repositório em que você só colabora não é seu para compartilhar.","settings.repositories.installGithubAccount":"Instalar em outra conta","settings.repositories.checkGithubAccess":"Verificar acesso","settings.repositories.switchGithubUser":"Usar outro login do GitHub","settings.repositories.githubReturnHint":"O GitHub abre em uma nova aba. Depois de salvar o acesso, volte aqui para escolher a conta. Se ela não aparecer, use Verificar acesso.","settings.repositories.githubRefreshFailed":"Não foi possível verificar o acesso no GitHub. Tente novamente sem sair desta janela.","settings.repositories.githubConnected":"Conta do GitHub conectada","settings.repositories.manageRepositoryAccess":"Gerenciar acesso aos repositórios","settings.repositories.connectedBy":"Conectado por {name}","settings.repositories.connectedByUnknown":"Conectado por um usuário indisponível","settings.repositories.dismiss":"Dispensar","settings.repositories.tryAgain":"Tentar novamente","settings.repositories.oauthNoInstallations":"A autorização no GitHub foi concluída, mas nenhuma instalação do app está disponível para este usuário. Adicione uma conta ou organização do GitHub para concluir a configuração.","settings.repositories.oauthDenied":"A autorização foi cancelada. Conecte novamente quando quiser.","settings.repositories.oauthExpired":"Esta tentativa de conexão expirou ou pertence a outra sessão. Comece novamente por esta página.","settings.repositories.oauthNotConfigured":"Este provedor git não está configurado. Peça a um administrador para habilitá-lo.","settings.repositories.oauthFailed":"Não foi possível conectar sua conta git. Tente novamente. Se o erro persistir, entre em contato com um administrador.","settings.repositories.authKindGithubApp":"GitHub App","settings.repositories.authKindOauth":"OAuth","settings.repositories.authKindToken":"Token pessoal","settings.repositories.accessUnavailable":"Acesso indisponível","settings.repositories.accessUnavailableHint":"O Studio não consegue acessar esta conta. Autorize-a novamente para continuar usando seus repositórios.","settings.repositories.githubReconnect":"Reconectar GitHub","settings.repositories.authorizeWorkspaceAccess":"Autorizar acesso do workspace","settings.repositories.selectRepositories":"Selecionar repositórios","settings.repositories.authorizationRequired":"Falta autorizar este workspace","settings.repositories.authorizationRequiredHint":"O Studio tem uma instalação do GitHub App registrada para {login}, mas este workspace ainda não tem autorização para usá-la. Entre no GitHub e escolha os repositórios que quer compartilhar com este workspace.","settings.repositories.accessRevoked":"Acesso revogado","settings.repositories.accessRevokedHint":"O acesso a esta conta foi revogado. Autorize-a novamente para restaurar o acesso aos repositórios.","settings.repositories.noAuthorizedRepositories":"Nenhum repositório autorizado","settings.repositories.noAuthorizedRepositoriesHint":"Este workspace não tem repositórios autorizados por {login}. Selecione quais repositórios ele pode usar.","settings.repositories.providerUnavailable":"Provedor indisponível","settings.repositories.providerUnavailableHint":"Esta instalação não está configurada para acessar esta conta. Peça a um administrador para habilitar o provedor.","settings.repositories.installationMissing":"Conexão com o GitHub incompleta","settings.repositories.installationMissingHint":"O Studio não tem uma instalação do GitHub App vinculada a esta conta. Conecte o GitHub e selecione a instalação de {login}.","settings.repositories.githubReconnectUnavailable":"A reconexão com o GitHub não está disponível nesta instalação. Peça a um administrador para configurar o GitHub App e depois autorize o acesso do workspace.","settings.repositories.disconnect":"Desconectar","settings.repositories.disconnectTitle":'Desconectar "{login}"?',"settings.repositories.disconnectDescription":"Os repositórios vinculados por esta conta continuam na lista, mas viram clones públicos anônimos — os privados deixarão de funcionar.","settings.repositories.disconnected":"Conta desconectada","settings.repositories.tokenDialogTitle":"Conectar o GitLab com um token","settings.repositories.tokenDialogDescription":"Use um token de acesso pessoal, de projeto ou de grupo com o escopo api — os agentes usam ele para dar push e abrir merge requests. É guardado criptografado e não é exibido novamente.","settings.repositories.tokenDialogTitleBitbucket":"Conectar o Bitbucket com um token","settings.repositories.tokenDialogDescriptionBitbucket":"Use um token de acesso de workspace, de projeto ou de repositório com permissão de escrita em repositórios e pull requests — os agentes usam ele para dar push e abrir pull requests. Somente Bitbucket Cloud. É guardado criptografado e não é exibido novamente.","settings.repositories.addAccount":"Adicionar conta","settings.repositories.addAccountTitle":"Conectar uma conta git","settings.repositories.addAccountDescription":"Escolha onde seus repositórios ficam.","settings.repositories.chooseMethodDescription":"Escolha como o Studio deve se conectar a este provedor.","settings.repositories.back":"Voltar","settings.repositories.providerGithub":"GitHub","settings.repositories.providerGitlab":"GitLab","settings.repositories.providerBitbucket":"Bitbucket","settings.repositories.providerGithubHint":"Instale o app do Studio e escolha os repositórios a compartilhar.","settings.repositories.providerTokenOrOauthHint":"Conecte com um token de acesso, ou autorize via OAuth.","settings.repositories.providerTokenOnlyHint":"Conecte com um token de acesso.","settings.repositories.methodToken":"Usar um token de acesso","settings.repositories.methodTokenHint":"O provedor limita o token aos repositórios para os quais você o criou.","settings.repositories.methodOauth":"Autorizar via OAuth","settings.repositories.methodOauthHint":"Entre e autorize o Studio no seu navegador.","settings.repositories.methodOauthScopeNote":"Alcança todos os repositórios que esta conta enxerga; não dá para restringir a um subconjunto.","settings.repositories.methodApp":"Instalar o app do GitHub","settings.repositories.methodAppHint":"Escolha exatamente quais repositórios o Studio pode usar.","settings.repositories.tokenStepsTitle":"Como criar o token","settings.repositories.openProvider":"Abrir provedor","settings.repositories.tokenWorkspaceLabel":"Workspace","settings.repositories.tokenWorkspacePlaceholder":"sua-workspace","settings.repositories.tokenWorkspaceHint":"O slug na URL do Bitbucket. Um token de acesso não consegue dizer a que workspace pertence, então o Studio o verifica contra esta.","settings.repositories.tokenProjectLabel":"Caminho do projeto (opcional)","settings.repositories.tokenProjectPlaceholder":"grupo/projeto","settings.repositories.tokenProjectHint":"Preencha para ir direto à página de tokens desse projeto.","settings.repositories.bitbucketStep1":"Abra o repositório que o Studio deve alcançar, ou o projeto que os agrupa.","settings.repositories.bitbucketStep2":"Settings → Security → Access tokens → Create token.","settings.repositories.bitbucketStep3":"Conceda Repositories read e write, e Pull requests read e write.","settings.repositories.bitbucketStep4":"Cole o token abaixo. O Bitbucket o mantém restrito ao escopo que você deu.","settings.repositories.gitlabStep1":"Abra o projeto ou grupo que o Studio deve alcançar.","settings.repositories.gitlabStep2":"Settings → Access tokens → Add new token.","settings.repositories.gitlabStep3":"Papel: Developer ou acima. Escopo: api.","settings.repositories.gitlabStep4":"Cole o token abaixo. Um token de projeto só alcança aquele projeto.","settings.repositories.tokenHostLabel":"Host","settings.repositories.tokenHostPlaceholder":"gitlab.com","settings.repositories.tokenLabel":"Token de acesso","settings.repositories.tokenPlaceholder":"glpat-…","settings.repositories.tokenPlaceholderBitbucket":"ATCTT…","settings.repositories.connect":"Conectar","settings.repositories.connecting":"Conectando…","settings.repositories.connected":'Conectado como "{login}"',"settings.repositories.reposTitle":"Repositórios","settings.repositories.reposEmptyTitle":"Nenhum repositório ainda","settings.repositories.reposEmptyDescription":"Escolha um repositório de uma conta conectada do GitHub, GitLab ou Bitbucket.","settings.repositories.addRepository":"Adicionar repositório","settings.repositories.moreActions":"Mais ações","settings.repositories.repoAccountNeedsAttention":"Conectado por {login}, que precisa de atenção em Contas conectadas.","settings.repositories.unlink":"Desvincular","settings.repositories.unlinkTitle":'Desvincular "{path}"?',"settings.repositories.unlinkDescription":"O repositório é removido desta organização. Nada é apagado no provedor.","settings.repositories.unlinked":"Repositório desvinculado","settings.repositories.openInProvider":"Abrir repositório","settings.repositories.visibilityPublic":"Público","settings.repositories.visibilityPrivate":"Privado","settings.repositories.visibilityInternal":"Interno","settings.repositories.anonymousClone":"Clone anônimo","settings.repositories.sandboxImageLabel":"Imagem do sandbox","settings.repositories.sandboxImageDefault":"Imagem padrão","settings.repositories.sandboxImageAndroid":"Emulador Android","settings.repositories.sandboxImageError":"Não foi possível alterar a imagem do sandbox","settings.repositories.monitorDeploys":"Mostrar deploys no Monitor","settings.repositories.monitorDeploysError":"Não foi possível alterar se o Monitor mostra este repositório","settings.repositories.addDialogTitle":"Adicionar repositório","settings.repositories.cancel":"Cancelar","settings.repositories.failed":"Algo deu errado","settings.nav.connections":"Conexões","settings.nav.automations":"Automações","settings.nav.skills":"Skills","settings.nav.memory":"Memória","settings.nav.monitor":"Monitoramento","settings.nav.members":"Membros","settings.nav.security":"Segurança","settings.nav.profile":"Perfil e preferências","settings.nav.backToHome":"Voltar para o início","settings.nav.signOut":"Sair","settings.profile.avatar":"Avatar","settings.profile.displayName":"Nome de exibição","settings.profile.displayNamePlaceholder":"Seu nome","settings.profile.email":"E-mail","settings.profile.avatarUpload":"Trocar sua foto","settings.profile.avatarDialogTitle":"Foto de perfil","settings.profile.avatarDialogDescription":"Arraste para reposicionar e role para dar zoom. Só a foto em uso fica visível para outras pessoas.","settings.profile.avatarDeleted":"Foto excluída","settings.profile.avatarRemove":"Remover","settings.profile.avatarRemoved":"Foto removida","settings.profile.avatarUpdated":"Foto atualizada","settings.profile.avatarUploadError":"Falha ao atualizar a foto","settings.profile.updateSuccess":"Perfil atualizado com sucesso","settings.profile.updateError":"Falha ao atualizar o perfil","settings.preferences.title":"Preferências","settings.blog.sectionTitle":"Blog","settings.blog.aiTitle":"Blog com IA","settings.blog.aiDescription":"Contexto da marca, campanhas e geração de posts. Desligado, os posts são escritos à mão.","settings.blogBlocks.title":"Esconder os blocos de blog padrão","settings.blogBlocks.description":"Só os blocos de post do próprio site aparecem ao escrever ou importar um post. Posts existentes não mudam.","settings.blocksEditor.title":"Novo editor de blocos","settings.blocksEditor.description":"Vale para todos desta organização. O restante do Studio sempre usa o novo layout.","settings.siteAppsInstall.title":"Instalar apps do catálogo","settings.siteAppsInstall.description":"Permite que a aba Apps instale um app no site: escreve o módulo do app e o registro dele na branch, adiciona a dependência e reinicia o dev server da sandbox para o formulário de configuração aparecer. Com isso desligado o catálogo continua navegável e nada é instalável.","settings.multiAppPreview.title":"Ver vários apps de um monorepo","settings.multiAppPreview.description":"Adicione outros apps do repositório de um projeto e veja lado a lado no preview. Cada um roda o próprio servidor de desenvolvimento na sandbox.","settings.preferences.theme":"Tema","settings.preferences.themeLight":"Tema claro","settings.preferences.themeDark":"Tema escuro","settings.preferences.themeSystem":"Tema do sistema","settings.preferences.language":"Idioma","settings.preferences.notifications":"Notificações","settings.preferences.notificationsDescription":"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":"Sons para ações dos agentes e notificações.","settings.preferences.soundsPreview":"Ouvir som de notificação","settings.preferences.toolApproval":"Aprovação de ferramentas","settings.preferences.toolApprovalDescription":"Quais ferramentas precisam da sua aprovação antes de rodar.","settings.preferences.toolApprovalAsk":"Perguntar antes de editar","settings.preferences.toolApprovalAskShort":"Perguntar","settings.preferences.toolApprovalAskDescription":"Aprova automaticamente ferramentas somente leitura","settings.preferences.toolApprovalAuto":"Aprovar automaticamente","settings.preferences.toolApprovalAutoShort":"Auto","settings.preferences.toolApprovalAutoDescription":"Executa tudo sem aprovação","settings.automations.browseAgentsButton":"Procurar projetos","settings.automations.emptyDescription":"As automações são criadas por agente. Abra um agente e adicione uma na aba de Automações.","settings.automations.emptyTitle":"Nenhuma automação ainda","settings.automations.noResultsDescription":'Nenhuma automação corresponde a "{search}"',"settings.automations.noResultsTitle":"Nenhuma automação encontrada","settings.automations.pageTitle":"Automações","settings.automations.searchPlaceholder":"Pesquisar automações...","settings.skills.importButton":"Importar skill","settings.skills.importing":"Importando…","settings.skills.importSuccess":'"{name}" importada',"settings.skills.importError":"Falha ao importar a skill","settings.skills.importMissingSkillMd":"Essa pasta não tem um SKILL.md na raiz. Selecione a pasta da própria skill.","settings.skills.importNeedsFolder":"Selecione uma pasta, não arquivos individuais — este navegador pode não suportar upload de pastas.","settings.skills.searchPlaceholder":"Pesquisar skills...","settings.skills.noDescription":"Sem descrição","settings.skills.filterAll":"Todas","settings.skills.emptyTitle":"Nenhuma skill ainda","settings.skills.emptyDescription":"Importe uma pasta com um SKILL.md para dar aos seus agentes instruções reutilizáveis que eles podem carregar sob demanda.","settings.skills.noResultsTitle":"Nenhuma skill encontrada","settings.skills.noResultsDescription":'Nenhuma skill corresponde a "{search}"',"settings.skills.cancel":"Cancelar","settings.skills.deleteButton":"Excluir","settings.skills.deleteDialogTitle":"Excluir esta skill?","settings.skills.deleteDialogDescription":'Isso remove "{name}" e seus arquivos. Essa ação não pode ser desfeita.',"settings.skills.deleteSuccess":"Skill excluída","settings.skills.deleteError":"Falha ao excluir a skill","settings.skills.importTooManyFiles":"Essa pasta tem {count} arquivos (limite {max}). Importe uma pasta com apenas os arquivos da skill.","settings.skills.importSlugTaken":'Já existe uma skill chamada "{slug}". Exclua-a antes de reimportar.',"settings.skills.errorTitle":"Não foi possível carregar as skills","settings.skills.errorDescription":"O catálogo de skills não pôde ser carregado. Você pode não ter acesso aos arquivos desta organização.","settings.skills.retry":"Tentar novamente","settings.memory.tabOrg":"Organização","settings.memory.tabUser":"Só você","settings.memory.orgHeading":"Compartilhada com todo mundo em {org}","settings.memory.userHeading":"Sua memória pessoal","settings.memory.orgPlaceholder":"Fatos que todos os chats devem saber. Por exemplo: a gente sobe na quinta, preços em BRL, o tom da marca é informal.","settings.memory.userPlaceholder":"Coisas que o Deco deve lembrar sobre você. Por exemplo: responda em português, cuido do checkout, resumos curtos.","settings.memory.saving":"Salvando…","settings.memory.saved":"Salvo","settings.memory.notSaved":"Não salvo","settings.memory.saveError":"Não deu para salvar. Continue digitando para tentar de novo.","settings.memory.readOnly":"Você pode ler esta memória, mas não alterá-la.","settings.memory.updated":"Atualizada {time}","settings.memory.notStarted":"Nada lembrado ainda","settings.memory.conflict":"Esta memória mudou enquanto você editava.","settings.memory.loadLatest":"Carregar a mais recente","settings.memory.keepMine":"Manter a minha","settings.memory.budget":"{percent}% do que os chats leem","settings.memory.budgetOver":"Os chats só leem o começo","settings.memory.budgetHint":"Os chats carregam os primeiros 16.000 caracteres. Mantenha isto como um índice curto e leve os detalhes para notas separadas.","settings.memory.errorTitle":"Não deu para carregar a memória","settings.memory.errorDescription":"Não deu para carregar os arquivos da organização. Talvez você não tenha acesso a eles.","settings.memory.retry":"Tentar novamente","settings.buckets.accessKeyIdLabel":"ID de chave de acesso","settings.buckets.addBucket":"Adicionar bucket","settings.buckets.addBucketButton":"Adicionar bucket","settings.buckets.addS3Bucket":"Adicionar bucket S3","settings.buckets.addingButton":"Adicionando…","settings.buckets.apiKeyHelperText":"Enviado como header x-api-key em cada chamada de atualização.","settings.buckets.apiKeyLabel":"Chave API","settings.buckets.bucketAdded":'Bucket "{name}" adicionado',"settings.buckets.bucketLabel":"Bucket","settings.buckets.bucketPlaceholder":"meu-bucket","settings.buckets.bucketRemoved":'Bucket "{name}" removido',"settings.buckets.bucketsConfigured":"{count} bucket(s) configurado(s)","settings.buckets.cancelButton":"Cancelar","settings.buckets.credentialsEncryptedDescription":"As credenciais são criptografadas em repouso e nunca retornadas pela API. Para Cloudflare R2, Google Cloud Storage ou MinIO, defina um endpoint personalizado.","settings.buckets.credentialsLabel":"Credenciais","settings.buckets.deleteButton":"Deletar {name}","settings.buckets.descriptionLabel":"Descrição (opcional)","settings.buckets.descriptionPlaceholder":"Para que este bucket é usado?","settings.buckets.emptyStateDescription":"Adicione um bucket compatível com S3 (AWS S3, Cloudflare R2, Google Cloud Storage, MinIO). As chaves de acesso são criptografadas em repouso e nunca retornadas pela API.","settings.buckets.endpointHelperText":"Obrigatório para provedores que não são AWS (R2, GCS, MinIO).","settings.buckets.endpointLabel":"Endpoint (opcional)","settings.buckets.endpointPlaceholder":"https://<account>.r2.cloudflarestorage.com","settings.buckets.failedToAddBucket":"Falha ao adicionar bucket","settings.buckets.failedToLoadConfigs":"Falha ao carregar configurações de arquivo: {error}","settings.buckets.failedToLoadConfigsFallback":"Falha ao carregar configurações de arquivo","settings.buckets.failedToRemoveBucket":"Falha ao remover bucket","settings.buckets.forcePathStyleHelperText":"Obrigatório para Google Cloud Storage e a maioria das configurações do MinIO.","settings.buckets.forcePathStyleLabel":"Forçar URLs path-style","settings.buckets.managed":"Gerenciado","settings.buckets.nameHelperText":"Letras, dígitos, underscore, ponto, hífen. Único dentro da organização.","settings.buckets.nameLabel":"Nome","settings.buckets.namePlaceholder":"production-uploads","settings.buckets.noBucketsConfigured":"Nenhum bucket ainda","settings.buckets.pathStyle":"path-style","settings.buckets.prefix":"prefixo: {prefix}","settings.buckets.prefixHelperText":"Todas as chaves de objeto são escritas sob este prefixo. Útil para buckets multi-tenant ou credenciais escopo de um sub-path. Uma barra à direita é adicionada automaticamente.","settings.buckets.prefixLabel":"Prefixo de chave (opcional)","settings.buckets.prefixPlaceholder":"tenants/acme/","settings.buckets.public":"público: {url}","settings.buckets.publicUrlBaseHelperText":"Host usado para construir URLs públicas retornadas pelo seletor (domínio dev do R2, CDN, host personalizado). Deixe em branco para usar o host S3 do bucket (padrão da AWS).","settings.buckets.publicUrlBaseLabel":"Base de URL pública (opcional)","settings.buckets.publicUrlBasePlaceholder":"https://pub-xxxx.r2.dev ou https://cdn.example.com","settings.buckets.refreshUrlHelperText":"Endpoint para o qual é feito POST (com a chave API abaixo) para fornecer credenciais temporárias. Deve retornar accessKeyId, secretAccessKey, sessionToken e expiration.","settings.buckets.refreshUrlLabel":"URL de atualização","settings.buckets.refreshUrlPlaceholder":"https://admin.example.com/api/acme/s3-credentials","settings.buckets.regionLabel":"Região","settings.buckets.regionPlaceholder":"us-east-1","settings.buckets.removeBucketDescription":"Isto exclui as credenciais criptografadas para {name}. O bucket em si não é afetado. Isto não pode ser desfeito.","settings.buckets.removeBucketTitle":"Remover configuração do bucket?","settings.buckets.removeButton":"Remover","settings.buckets.removingButton":"Removendo…","settings.buckets.secretAccessKeyLabel":"Chave de acesso secreta","settings.buckets.staticKeyHelperText":"Um ID de chave de acesso de longa duração e segredo, usados conforme fornecidos.","settings.buckets.staticKeyOption":"Par de chave estática (longa duração)","settings.buckets.stsSessionHelperText":"Armazena apenas um endpoint de atualização + chave API; credenciais de curta duração são buscadas sob demanda e atualizadas automaticamente.","settings.buckets.temporarySessionOption":"Sessão temporária (STS, auto-atualizada)","settings.connectClients.anyOtherClientDescription":"Qualquer outro cliente MCP: cole este endpoint nele para dar a esse runtime toda conexão habilitada nesta org, governada pelas suas regras do Decopilot.","settings.connectClients.apiKeyOption":"Chave API","settings.connectClients.copy":"Copiar","settings.connectClients.doneHideKey":"Concluído, ocultar chave","settings.connectClients.generateKey":"Gerar chave","settings.connectClients.generateKeyFor":"Gerar chave para {client}","settings.connectClients.generatingKey":"Gerando…","settings.connectClients.headlessKeyHint":"Para CI, Conductor, ou agentes headless que não conseguem abrir um navegador.","settings.connectClients.installMethod":"Método de instalação","settings.connectClients.keyCreated":"Chave criada","settings.connectClients.mcpDescription":"Para clientes sem shell. Compartilhar arquivos da Library e mandar mensagem para agentes exige a CLI + skill.","settings.connectClients.oauthDiscoveryDetails":"Detalhes de descoberta OAuth","settings.connectClients.oauthKeyHint":"Recomendado para o seu laptop. Um navegador abre no primeiro uso para você entrar, sem token para gerenciar.","settings.connectClients.oauthMetadataHint":"Os metadados do OAuth 2.1 Protected Resource são anunciados no 401:","settings.connectClients.oauthOption":"OAuth","settings.connectClients.otherClient":"Outro","settings.connectClients.pageTitle":"Conectar","settings.connectClients.recommended":"Recomendado","settings.connectClients.skillDescription":"Instale a skill do Studio e faça login uma vez. Depois, seu agente usa os chats, agentes, tarefas e arquivos da Library desta org pela CLI decocms.","settings.connectClients.skillInstallStep":"1. Instale a skill","settings.connectClients.skillLoginHint":"Um navegador abre para aprovar o login. A sessão se renova sozinha.","settings.connectClients.skillLoginStep":"2. Faça login","settings.connectClients.skillNeedsBun":"Precisa do Bun.","settings.connectClients.skillOtherAgentsHint":"O instalador pergunta em quais agentes adicionar a skill.","settings.connectClients.skillTab":"CLI + skill","settings.connectClients.skillTitle":"Conectar seu agente","settings.connectClients.snippetOneTimeWarning":"Copie este snippet agora. A chave não será exibida de novo, e você pode revogá-la 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":"Adicionar chave de API","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.agentTools.chatHarnessCodexTitle":"Usar Codex em novos chats no sandbox","settings.agentTools.chatHarnessCodexDescription":"Executa novos chats no sandbox com Codex. Vincule sua assinatura do ChatGPT em Provedores de IA ou conecte um provedor da API Responses. Os chats existentes mantêm seu runtime.","settings.codexSubscription.setupHeading":"Conecte o Codex","settings.codexSubscription.setupDescription":"Vincule sua assinatura do ChatGPT em Configurações → Provedores de IA ou conecte um provedor com um endpoint da API Responses da OpenAI.","settings.codexSubscription.connect":"Vincular","settings.codexSubscription.connected":"Assinatura do ChatGPT vinculada","settings.codexSubscription.disconnect":"Desconectar","settings.codexSubscription.disconnected":"Assinatura do ChatGPT desconectada","settings.codexSubscription.howTo":"Execute este comando na sua máquina, entre com o ChatGPT e cole o conteúdo de ~/.codex/auth.json:","settings.codexSubscription.title":"ChatGPT para Codex","settings.codexSubscription.tokenPlaceholder":"Cole o conteúdo de auth.json","settings.claudeSubscription.connect":"Vincular","settings.claudeSubscription.connected":"Assinatura Claude conectada","settings.claudeSubscription.disconnect":"Desconectar","settings.claudeSubscription.disconnected":"Assinatura Claude desconectada","settings.claudeSubscription.howTo":"Gere um token na sua própria máquina com","settings.claudeSubscription.title":"Claude Pro ou Max","settings.claudeSubscription.tokenPlaceholder":"Cole seu token","settings.githubCopilot.connect":"Vincular","settings.githubCopilot.connected":"GitHub Copilot conectado","settings.githubCopilot.disconnect":"Desconectar","settings.githubCopilot.disconnected":"GitHub Copilot desconectado","settings.githubCopilot.howTo":"Crie um token fine-grained do GitHub com a permissão Copilot Requests","settings.githubCopilot.sharedBy":"Toda execução nesta organização usa o plano GitHub Copilot compartilhado por {name}.","settings.githubCopilot.shareTitle":"Compartilhar com a org","settings.githubCopilot.shareDescription":"Todo chat e tarefa nesta organização roda no seu plano Copilot, antes dos planos dos membros e dos provedores de IA da organização.","settings.githubCopilot.title":"GitHub Copilot","settings.githubCopilot.tokenPlaceholder":"Cole seu token github_pat_…","settings.ownAccounts.more":"Mais ações","settings.providerKeyRow.edit":"Editar","settings.ownAccounts.title":"Suas contas","settings.ownAccounts.cancel":"Cancelar","settings.ownAccounts.addApiKey":"Adicionar chave de API","settings.ownAccounts.linked":"Vinculado","settings.ownAccounts.expired":"Expirado","settings.decoCreditsHero.add":"Adicionar","settings.decoCreditsHero.addCredits":"Adicionar créditos","settings.decoCreditsHero.amountPlaceholder":"50","settings.decoCreditsHero.availableBalance":"Saldo de crédito disponível","settings.decoCreditsHero.cancel":"Cancelar","settings.decoCreditsHero.cancelButton":"Cancelar","settings.decoCreditsHero.custom":"Personalizado","settings.decoCreditsHero.decoAiGatewayAlt":"Deco AI Gateway","settings.decoCreditsHero.disconnect":"Desconectar","settings.decoCreditsHero.disconnectButton":"Desconectar","settings.decoCreditsHero.disconnectDescription":"Isso removerá o Deco AI Gateway deste espaço de trabalho. Seu saldo de crédito é preservado e estará disponível se você se reconectar.","settings.decoCreditsHero.disconnectError":"Falha ao desconectar: {message}","settings.decoCreditsHero.disconnectSuccess":"Deco AI Gateway desconectado","settings.decoCreditsHero.disconnectTitle":"Desconectar Deco AI Gateway","settings.decoCreditsHero.refreshBalance":"Atualizar saldo","settings.decoCreditsHero.title":"Deco AI Gateway","settings.planUsage.title":"Plano","settings.planUsage.loadFailed":"Não foi possível ler o plano desta organização.","settings.planUsage.retry":"Tentar novamente","settings.planUsage.aiUsage":"Uso de IA","settings.planUsage.usageUnavailable":"Indisponível","settings.planUsage.used":"usado","settings.plans.perMonth":"/ mês","settings.planUsage.periodHint":"Reinicia no começo de cada ciclo de cobrança.","settings.planUsage.noAiIncluded":"Sem uso de IA incluído.","settings.planUsage.included":"Incluído no plano","settings.planUsage.credits":"Créditos adicionados","settings.planUsage.creditsInUse":"Em uso","settings.planUsage.manageBilling":"Gerenciar cobrança","settings.planUsage.portalFailed":"Não foi possível abrir a cobrança: {message}","settings.planUsage.subscribe":"Assinar","settings.planUsage.changePlan":"Mudar de plano","settings.planUsage.changed":"Plano atualizado","settings.planUsage.changeFailed":"Não foi possível trocar o plano: {message}","settings.planUsage.feature.cms":"CMS","settings.planUsage.feature.chat":"Chat superagent","settings.planUsage.feature.monitoring":"Analytics do site","settings.planUsage.feature.kanban":"Kanban agêntico","settings.planUsage.feature.model_choice":"Escolher o modelo","settings.planUsage.feature.credits":"Créditos extras","settings.planUsage.feature.diagnostic":"Deco Score","settings.planUsage.feature.diagnostic_enriched":"Deco Score enriquecido","settings.plans.title":"Planos","settings.plans.loadFailed":"Não foi possível carregar os planos.","settings.plans.currentPlan":"Plano atual","settings.plans.firstMonthFree":"1º mês grátis","settings.plans.startTrial":"Começar teste grátis","settings.plans.custom.name":"Custom","settings.plans.custom.description":"Para grandes times com contrato próprio","settings.plans.custom.cta":"Fale com a gente","settings.plans.managed":"Seu plano: {plan}. Fale com a gente para mudá-lo.","settings.plans.invoice.cta":"Adicionar à minha fatura","settings.plans.invoice.confirm":"O plano {plan} será adicionado à sua próxima fatura. Mudar agora?","settings.plans.invoice.cancel":"Cancelar","settings.plans.invoice.switch":"Mudar de plano","settings.paywall.bullets.kanban.1":"Agentes que fazem o trabalho e movem os cards","settings.paywall.bullets.kanban.2":"Um board que o time inteiro compartilha","settings.paywall.bullets.kanban.3":"Colunas, tags e prioridades","settings.paywall.bullets.allowance.1":"Uma franquia mensal que reinicia","settings.paywall.bullets.allowance.2":"Compre créditos extras quando quiser","settings.paywall.bullets.allowance.3":"Sua mensagem fica no composer","settings.paywall.bullets.cms.1":"Edite conteúdo e layout","settings.paywall.bullets.cms.2":"Preview ao vivo enquanto edita","settings.paywall.bullets.cms.3":"Publique quando estiver do jeito certo","settings.paywall.bullets.monitoring.1":"Pageviews, visitantes e origens","settings.paywall.bullets.monitoring.2":"Taxa de cache, latência e erros","settings.paywall.bullets.monitoring.3":"Tráfego por país e dispositivo","settings.paywall.upgradeTitle":"{feature} vem com o {plan}","settings.paywall.upgradeDescription":"Libera para todo mundo na organização.","settings.paywall.description":"O plano desta organização não inclui {feature}. Troque de plano para liberar para todo mundo na org.","settings.paywall.seePlans":"Ver planos","settings.paywall.dismiss":"Agora não","settings.paywall.serverRefusedFeature":"Seu plano não inclui este recurso. Peça a um owner para fazer upgrade, ou veja os planos.","settings.paywall.serverRefusedBudget":"Esta organização usou todo o limite mensal de IA. O chat e as tarefas ficam pausados até fazer upgrade ou adicionar créditos.","settings.decoCreditsHero.topUpFailed":"Recarga falhou: {message}","settings.deleteOrganizationSection.cancel":"Cancelar","settings.deleteOrganizationSection.dangerZone":"Zona de risco","settings.deleteOrganizationSection.deleteButton":"Deletar","settings.deleteOrganizationSection.deleteOrganizationAction":"Deletar organização","settings.deleteOrganizationSection.deleteOrganizationDescription":"Apaga esta organização e todos os seus dados, para sempre.","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.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.review.title":"Revisores e merge","settings.review.description":"O Reviewer roda no pull request de uma tarefa quando o card chega em Em Revisão.","settings.review.reviewerTitle":"Reviewer","settings.review.reviewerDescription":"Revisa o código com as skills de review do repositório, corrige o que encontra e testa a mudança no preview do deploy. Uma aprovação move o card para QA; o que não conseguir resolver volta para você.","settings.review.cheapReviewerModelTitle":"Rodar os revisores em um modelo mais barato","settings.review.cheapReviewerModelDescription":"Usa um modelo menor que o do Super Agent. Mais barato, talvez menos profundo.","settings.review.autoMergeTitle":"Auto-merge","settings.review.autoMergeDescription":"Mescla o pull request quando o card chega em Pronto para Deploy, sem esperar alguém clicar em Subir para produção.","settings.review.autoResolveConflictsTitle":"Resolver conflitos de merge automaticamente","settings.review.autoResolveConflictsDescription":"Quando um pull request em Pronto para Deploy conflita com a base, o Super Agent mescla a base e dá push. Segue o Auto-merge, a menos que você ajuste aqui.","settings.review.autoAssignReportTasksTitle":"Atribuir tarefas do Deco Score ao Super Agent","settings.review.autoAssignReportTasksDescription":"Tarefas criadas pelo Deco Score vão para o Super Agent em vez de ficarem sem responsável.","settings.review.updateError":"Não foi possível atualizar a configuração","settings.taskPrompt.title":"System prompt","settings.taskPrompt.fieldLabel":"Instruções","settings.taskPrompt.placeholder":"ex.: Use pnpm, nunca npm. Nunca edite arquivos em src/generated/.","settings.taskPrompt.save":"Salvar","settings.taskPrompt.saved":"System prompt salvo","settings.taskPrompt.failed":"Não foi possível salvar o system prompt","settings.taskPrompt.skillsLabel":"Skills em todas as colunas","settings.agentTools.title":"Ferramentas do agente","settings.agentTools.description":"O que os runs de agente de código alcançam além do repositório.","settings.agentTools.orgMcpsTitle":"Dar aos runs as conexões MCP desta organização","settings.agentTools.orgMcpsDescription":"O Super Agent e os revisores recebem todo MCP conectado. As ferramentas só carregam quando necessário, então mais conexões não ocupam o contexto.","settings.agentTools.orgMcpsPickTitle":"Conexões que os runs alcançam","settings.agentTools.orgMcpsPickDescription":"Desligue uma para deixá-la fora dos runs, por exemplo um MCP do tracker em que o run já reporta. Conexões novas começam ligadas.","settings.agentTools.orgMcpsPickAriaLabel":"Deixar os runs alcançarem {name}","settings.agentTools.orgMcpsPickEmpty":"Esta organização ainda não tem conexões MCP","settings.agentTools.orgMcpsPickFailed":"Não foi possível salvar quais conexões os runs alcançam","settings.agentTools.orgMcpsPickSearch":"Buscar conexões…","settings.agentTools.orgMcpsPickLoadFailed":"Não foi possível carregar as conexões MCP","settings.agentTools.orgMcpsPickEnableAll":"Ligar todas","settings.agentTools.orgMcpsPickDisableAll":"Desligar todas","settings.agentTools.orgMcpsPickNoMatch":"Nenhuma conexão corresponde a essa busca","settings.agentTools.orgMcpsPickSave":"Salvar","settings.agentTools.orgMcpsPickSaving":"Salvando…","settings.agentTools.orgMcpsPickDiscard":"Descartar","settings.agentTools.orgMcpsPickSaved":"Conexões que os runs alcançam salvas","settings.agentTools.chatRuntimeSection":"Chats","settings.agentTools.chatHarnessSandboxOnlyTitle":"Rodar chats com o Claude Code em um sandbox","settings.agentTools.chatHarnessSandboxOnlyDescription":"Cada chat ganha um sandbox próprio em vez de rodar no Decopilot. A primeira mensagem espera o sandbox iniciar. Requer uma chave da Anthropic, OpenRouter ou do gateway de IA da deco, ou uma assinatura do Claude.","settings.agentTools.codingAgentsClaudeCodeTitle":"Rodar chats de Code Agent com o Claude Code","settings.agentTools.codingAgentsClaudeCodeDescription":"Chats em um agente importado do GitHub rodam no sandbox desse agente, junto do código. As respostas chegam de turno inteiro. Vale só para chats novos.","settings.orgRoleDetail.addMember":"Adicionar Membro","settings.orgRoleDetail.addMembersToGrantPermissions":"Adicione membros para conceder as permissões configuradas.","settings.orgRoleDetail.addMembersToRole":"Adicionar Membros ao Papel","settings.orgRoleDetail.addWithCount":"Adicionar ({count})","settings.orgRoleDetail.added":"Adicionado","settings.orgRoleDetail.allConnections":"Todas as conexões","settings.orgRoleDetail.allConnectionsDescription":"Todas as ferramentas de todas as conexões, inclusive as adicionadas depois. Desmarque uma conexão para deixá-la de fora.","settings.orgRoleDetail.allModels":"Todos os modelos","settings.orgRoleDetail.allOrgPermissions":"Todas as permissões da organização","settings.orgRoleDetail.allProjects":"Todos os projetos","settings.orgRoleDetail.allProjectsDescription":"Este papel pode acessar todos os projetos, inclusive os criados depois. Desmarque um projeto para escondê-lo deste papel, ou desative para escolher projetos específicos.","settings.orgRoleDetail.builtinRolePermissionsCannotBeChanged":"Permissões de papel integrado não podem ser alteradas","settings.orgRoleDetail.cancel":"Cancelar","settings.orgRoleDetail.createRole":"Criar função","settings.orgRoleDetail.enabledCount":"{enabledCount}/{total} ativados","settings.orgRoleDetail.failedToSaveRole":"Falha ao salvar papel","settings.orgRoleDetail.general":"Geral","settings.orgRoleDetail.grantFullAccessToAllFeaturesBelow":"Conceder acesso completo a todos os recursos abaixo","settings.orgRoleDetail.loadingModels":"Carregando modelos...","settings.orgRoleDetail.mcpPermissions":"Permissões MCP","settings.orgRoleDetail.members":"Membros","settings.orgRoleDetail.membersUpdatedSuccessfully":"Membros atualizados com sucesso!","settings.orgRoleDetail.models":"Modelos","settings.orgRoleDetail.noLlmConnectionsConfigured":"Nenhuma conexão LLM configurada","settings.orgRoleDetail.noMembers":"Sem membros","settings.orgRoleDetail.noMembersAvailable":"Nenhum membro disponível","settings.orgRoleDetail.noMembersFound":"Nenhum membro encontrado","settings.orgRoleDetail.noMembersMatch":'Nenhum membro corresponde a "{searchQuery}"',"settings.orgRoleDetail.noPermissionsMatch":'Nenhuma permissão corresponde a "{searchQuery}"',"settings.orgRoleDetail.noProjectsAvailable":"Nenhum projeto disponível","settings.orgRoleDetail.noProjectsMatch":'Nenhum projeto corresponde a "{searchQuery}"',"settings.orgRoleDetail.organizationPermissions":"Permissões da Organização","settings.orgRoleDetail.owner":"Proprietário","settings.orgRoleDetail.ownerMembershipCannotBeChanged":"A associação de proprietário não pode ser alterada","settings.orgRoleDetail.projects":"Projetos","settings.orgRoleDetail.removeMember":"Remover {name} do papel","settings.orgRoleDetail.roleCreatedSuccessfully":"Papel criado com sucesso!","settings.orgRoleDetail.roleName":"Nome do papel","settings.orgRoleDetail.roleNameIsRequired":"Nome do papel é obrigatório","settings.orgRoleDetail.roleUpdatedSuccessfully":"Papel atualizado com sucesso!","settings.orgRoleDetail.saveChanges":"Salvar Alterações","settings.orgRoleDetail.saving":"Salvando...","settings.orgRoleDetail.searchMcpServers":"Procurar servidores MCP...","settings.orgRoleDetail.searchMembers":"Procurar membros...","settings.orgRoleDetail.searchModels":"Procurar modelos...","settings.orgRoleDetail.searchPermissions":"Procurar permissões...","settings.orgRoleDetail.searchProjects":"Procurar projetos...","settings.orgRoleDetail.selectMembersToAddToThisRole":"Selecione membros para adicionar a este papel.","settings.orgRoleDetail.showMore":"Mostrar mais ({remaining} restantes)","settings.orgRoleDetail.somethingWentWrong":"Algo deu errado","settings.orgRoleDetail.unknown":"Desconhecido","settings.orgRoleDetail.userIsDefaultRoleMessage":"Usuário é o papel padrão — membros não podem ser removidos dele; atribua outro papel para alterar seu acesso","settings.orgSso.cancelButton":"Cancelar","settings.orgSso.clientIdLabel":"ID do cliente","settings.orgSso.clientIdPlaceholder":"seu-id-cliente","settings.orgSso.clientSecretEditDescription":"Deixe em branco para manter atual","settings.orgSso.clientSecretLabel":"Segredo do cliente","settings.orgSso.clientSecretPlaceholder":"seu-segredo-cliente","settings.orgSso.clientSecretRequiredError":"O segredo do cliente é obrigatório na primeira configuração","settings.orgSso.configurationRemovedSuccess":"Configuração SSO removida","settings.orgSso.configurationSavedSuccess":"Configuração SSO salva","settings.orgSso.configureSsoButton":"Configurar SSO","settings.orgSso.discoveryEndpointDescription":"Opcional. Detectado pelo issuer quando vazio.","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 cobre.","settings.orgSso.emailDomainLabel":"Domínio de e-mail","settings.orgSso.emailDomainPlaceholder":"empresa.com","settings.orgSso.enforceSsoDescription":"Exigir que todos os membros se autentiquem via SSO","settings.orgSso.enforceSsoLabel":"Forçar SSO","settings.orgSso.enforcementDisabledSuccess":"Aplicação de SSO desativada","settings.orgSso.enforcementEnabledSuccess":"Aplicação de SSO ativada","settings.orgSso.issuerUrlDescription":"A URL do issuer OIDC do seu provedor de identidade.","settings.orgSso.issuerUrlLabel":"URL do issuer","settings.orgSso.issuerUrlPlaceholder":"https://login.microsoftonline.com/{tenant}/v2.0","settings.orgSso.loading":"Carregando...","settings.orgSso.providerLabel":"Provedor","settings.orgSso.removeButton":"Remover","settings.orgSso.removeConfirmation":"Tem certeza de que deseja remover a configuração SSO?","settings.orgSso.removeSsoConfigError":"Falha ao remover configuração SSO","settings.orgSso.requiredFieldsError":"Issuer, ID do Cliente e Domínio são obrigatórios","settings.orgSso.saveSsoConfigError":"Falha ao salvar configuração SSO","settings.orgSso.savingButton":"Salvando...","settings.orgSso.scopesLabel":"Escopos","settings.orgSso.scopesPlaceholder":"openid email profile","settings.orgSso.sectionTitle":"Single sign-on","settings.orgSso.securityTitle":"Segurança","settings.orgSso.testSsoButton":"Testar SSO","settings.orgSso.toggleEnforcementError":"Falha ao alternar aplicação de SSO","settings.orgSso.updateButton":"Atualizar","settings.organizationForm.failedToReadImage":"Falha ao ler imagem","settings.organizationForm.failedToUpdateOrg":"Falha ao atualizar organização","settings.organizationForm.imageTooLarge":"Imagem deve ser menor que 2MB","settings.organizationForm.logoDescription":"Recomendado: 256×256px.","settings.organizationForm.logoTitle":"Logo","settings.organizationForm.namePlaceholder":"Nome da organização","settings.organizationForm.nameRequired":"O nome é obrigatório","settings.organizationForm.nameTitle":"Nome","settings.organizationForm.nameTooLong":"O nome é muito longo","settings.organizationForm.updateSuccess":"Organização atualizada com sucesso","settings.organizationForm.uploadLogoLabel":"Enviar logo da organização","settings.organizationForm.urlDescription":"Usada em links e integrações de API, por isso não pode ser alterada.","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.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":"Nova 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.accessLabel":"Acesso","settings.apiKeys.accessReadOnly":"Somente leitura","settings.apiKeys.accessReadOnlyDescription":"As {count} ferramentas do Studio que nunca alteram dados. Ferramentas novas ficam de fora.","settings.apiKeys.accessCustom":"Escolher ferramentas","settings.apiKeys.accessCustomDescription":"Só as ferramentas do Studio e das conexões que você marcar. Ferramentas novas ficam de fora.","settings.apiKeys.accessFull":"Acesso total","settings.apiKeys.accessFullDescription":"Todas as ferramentas, inclusive as que apagam dados e as que forem lançadas depois.","settings.apiKeys.expired":"Expirada","settings.apiKeys.expiredOn":"Expirou em {date}","settings.apiKeys.expiresOn":"Expira em {date}","settings.apiKeys.expiryDays":"{days} dias","settings.apiKeys.expiryLabel":"Validade","settings.apiKeys.expiryNever":"Sem validade","settings.apiKeys.expiryYear":"1 ano","settings.apiKeys.neverExpires":"Sem validade","settings.apiKeys.readOnlyBadge":"Leitura","settings.apiKeys.toolCount":"{count} ferramentas","settings.apiKeys.studioTools":"Studio","settings.apiKeys.toolsGroupCount":"{count}/{total}","settings.apiKeys.toolsNone":"Nenhuma ferramenta","settings.apiKeys.toolsSelectGroup":"Selecionar todas as ferramentas de {name}","settings.apiKeys.toolsSelected":"{count} selecionadas","settings.apiKeys.toolsLoadFailed":"Não foi possível carregar a lista de ferramentas. Feche e tente de novo.","settings.apiKeys.toolsSearch":"Buscar ferramentas…","settings.apiKeys.cancelButton":"Cancelar","settings.apiKeys.copied":"Copiado para a área de transferência","settings.apiKeys.copyKey":"Copiar chave","settings.apiKeys.createButton":"Criar chave","settings.apiKeys.createdAt":"Criada em {date}","settings.apiKeys.createdDescription":"Copie esta chave agora — ela não será mostrada novamente.","settings.apiKeys.createdTitle":"Chave de API criada","settings.apiKeys.creatingButton":"Criando…","settings.apiKeys.deleteDescription":"Qualquer aplicação usando esta chave perderá acesso imediatamente. Isso não pode ser desfeito.","settings.apiKeys.deleteKey":"Excluir chave","settings.apiKeys.deleteTitle":'Excluir "{name}"?',"settings.apiKeys.done":"Concluído","settings.apiKeys.emptyDescription":"Crie uma chave para autenticar aplicações externas nesta organização.","settings.apiKeys.emptyTitle":"Nenhuma chave de API ainda","settings.apiKeys.failedToCreateKey":"Falha ao criar chave de API","settings.apiKeys.failedToDeleteKey":"Falha ao excluir chave de API","settings.apiKeys.failedToLoadError":"Falha ao carregar chaves de API: {error}","settings.apiKeys.keyDeleted":'Chave de API "{name}" excluída',"settings.apiKeys.loading":"Carregando chaves de API…","settings.apiKeys.nameLabel":"Nome","settings.apiKeys.namePlaceholder":"Minha integração","settings.apiKeys.newKey":"Nova chave","settings.apiKeys.newKeyDescription":"Dê à chave só as ferramentas de que ela precisa. Quem tiver a chave pode usá-las, mesmo se ela vazar.","settings.apiKeys.newKeyTitle":"Nova chave de API","settings.apiKeys.sectionDescription":"Para scripts e clientes que não conseguem entrar pelo navegador.","settings.apiKeys.sectionTitle":"Chaves de API","settings.secrets.cancelButton":"Cancelar","settings.secrets.createButton":"Criar segredo","settings.secrets.creatingButton":"Criando…","settings.secrets.descriptionLabel":"Descrição (opcional)","settings.secrets.descriptionPlaceholder":"Para que é usado este segredo?","settings.secrets.emptyDescription":"Armazene chaves de API, tokens e outros valores sensíveis. Os valores são criptografados em repouso e nunca retornados pela API.","settings.secrets.emptyTitle":"Nenhum segredo ainda","settings.secrets.failedToCreateSecret":"Falha ao criar segredo","settings.secrets.failedToLoadError":"Falha ao carregar segredos: {error}","settings.secrets.nameHelp":"Letras, dígitos, sublinhado, ponto, hífen. Sem distinção entre maiúsculas e minúsculas dentro do seu escopo.","settings.secrets.nameLabel":"Nome","settings.secrets.namePlaceholder":"STRIPE_API_KEY","settings.secrets.newSecret":"Novo segredo","settings.secrets.newSecretDescription":"Armazenado criptografado no cofre de credenciais. Escolha quem pode lê-lo.","settings.secrets.newSecretTitle":"Novo segredo","settings.secrets.scopeLabel":"Escopo","settings.secrets.scopeOrganization":"Organização","settings.secrets.scopeOrganizationDescription":"Organização — visível para todos os membros","settings.secrets.scopePrivate":"Privado","settings.secrets.scopePrivateDescription":"Privado — visível apenas para mim","settings.secrets.secretCreated":'Segredo "{name}" criado',"settings.secrets.secretsCountSingular":"{count} segredo armazenado","settings.secrets.secretsCountPlural":"{count} segredos armazenados","settings.secrets.sectionOrganization":"Organização","settings.secrets.sectionPrivate":"Privado para mim","settings.secrets.valueLabel":"Valor","settings.simpleModeSection.defaultModels":"Modelos padrão","settings.simpleModeSection.failedToSave":"Falha ao salvar: {error}","settings.simpleModeSection.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.tierFast":"Rápido","settings.simpleModeSection.tierImage":"Imagem","settings.simpleModeSection.tierSmart":"Inteligente","settings.simpleModeSection.tierThinking":"Reflexivo","settings.simpleModeSection.tierWebSearch":"Busca na web","settings.aiProviders.groupChat":"Chat e tarefas","settings.aiProviders.groupMedia":"Só imagens e busca na web","settings.aiProviders.customOpenAiCompatible":"OpenAI-compatível personalizado","settings.aiProviders.customOpenAiDescription":"Traga seu próprio servidor de modelos (avançado)","settings.infraBilling.noSites":"Esta organização ainda não é dona de nenhum site deco.cx.","settings.infraBilling.siteLabel":"Sites","settings.infraBilling.pickASite":"Selecione ao menos um site.","settings.infraBilling.tooManySites":"Mostrando os primeiros {count} sites. Selecione sites específicos para ver os demais.","settings.infraBilling.multipleTeams":"Estes sites são cobrados por {count} times legados. O plano e as faturas de cada time estão em Faturas.","settings.infraBilling.noTeam":"Estes sites não estão vinculados a um time de cobrança legado.","settings.infraBilling.partialTeam":"O time legado deste site também cobra sites fora desta organização, então o plano e as faturas não aparecem aqui.","settings.infraBilling.billingUnavailable":"Plano e faturas estão temporariamente indisponíveis.","settings.infraBilling.monthLabel":"Mês","settings.infraBilling.warehouseUnavailable":"Não foi possível ler os dados de uso, então os números abaixo estão incompletos.","settings.infraBilling.summaryTitle":"Resumo","settings.infraBilling.metricsTitle":"Métricas","settings.infraBilling.invoicesTitle":"Faturas","settings.infraBilling.detailsTitle":"Detalhes de cobrança","settings.infraBilling.currentPlan":"Plano atual","settings.infraBilling.nextBilling":"Próxima cobrança","settings.infraBilling.manageButton":"Gerenciar","settings.infraBilling.portalError":"Não foi possível abrir o portal de cobrança: {message}","settings.infraBilling.requestsPerPageview":"Requisições por pageview","settings.infraBilling.plan.free":"Free","settings.infraBilling.plan.pro":"Pro","settings.infraBilling.plan.enterprise":"Enterprise","settings.infraBilling.pageviews":"Pageviews","settings.infraBilling.pageviewsDescription":"Páginas entregues a visitantes neste mês.","settings.infraBilling.requests":"Requisições","settings.infraBilling.requestsDescription":"Requisições de CDN e da infraestrutura compartilhada.","settings.infraBilling.dataTransfer":"Transferência de dados","settings.infraBilling.dataTransferDescription":"Banda entregue pela edge e pela origem.","settings.infraBilling.noInvoices":"Nenhuma fatura emitida para este time.","settings.infraBilling.invoiceReference":"Referência","settings.infraBilling.invoiceDue":"Vencimento","settings.infraBilling.invoiceAmount":"Valor","settings.infraBilling.invoiceStatus":"Status","settings.infraBilling.invoiceDocuments":"Documentos","settings.infraBilling.invoiceNf":"Nota fiscal","settings.infraBilling.invoiceBankSlip":"Boleto","settings.infraBilling.invoiceBankTransfer":"Transferência","settings.infraBilling.statusPaid":"Paga","settings.infraBilling.statusOverdue":"Vencida","settings.infraBilling.statusPending":"Pendente","settings.gitCredentials.title":"Credenciais git","settings.gitCredentials.description":"Tokens que deixam os sandboxes baixarem repositórios e dependências privadas, como submódulos ou pacotes privados de npm, go, pub ou cargo. Escolha um segredo por host.","settings.gitCredentials.addCredential":"Adicionar credencial","settings.gitCredentials.cancel":"Cancelar","settings.gitCredentials.createNewSecret":"Criar novo segredo","settings.gitCredentials.createNewSecretAriaLabel":"Criar novo segredo","settings.gitCredentials.createNewSecretDescription":"Armazenado criptografado. A credencial referencia o segredo pelo id, e o valor nunca sai do servidor.","settings.gitCredentials.createNewSecretTitle":"Criar novo segredo","settings.gitCredentials.descriptionLabel":"Descrição (opcional)","settings.gitCredentials.descriptionPlaceholder":"Para que este token é usado?","settings.gitCredentials.failedToLoadSecrets":"Falha ao carregar segredos","settings.gitCredentials.failedToSave":"Falha ao salvar as credenciais git","settings.gitCredentials.failedToSaveSecret":"Falha ao salvar","settings.gitCredentials.hostAriaLabel":"Host da credencial git {index}","settings.gitCredentials.hostInvalidMessage":"Nome de host simples, ex.: github.com (sem esquema ou caminho).","settings.gitCredentials.hostPlaceholder":"github.com","settings.gitCredentials.maxReached":"Você atingiu o limite de {max} credenciais git. Remova uma para adicionar outra.","settings.gitCredentials.nameLabel":"Nome","settings.gitCredentials.namePlaceholder":"GITHUB_DEPS_PAT","settings.gitCredentials.nameHelperText":"Letras, dígitos, underscore, ponto, hífen.","settings.gitCredentials.noSecretsYet":'Nenhum segredo ainda. Use o "+" para criar um.',"settings.gitCredentials.pickSecretPlaceholder":"Escolha um segredo…","settings.gitCredentials.remove":"Remover","settings.gitCredentials.removeAriaLabel":"Remover credencial git","settings.gitCredentials.saveSecret":"Salvar segredo","settings.gitCredentials.saving":"Salvando…","settings.gitCredentials.secretAriaLabel":"Segredo da credencial git {index}","settings.gitCredentials.scopeLabel":"Escopo","settings.gitCredentials.scopeOrganization":"Organização, visível para todos os membros","settings.gitCredentials.scopePrivate":"Privado, visível só para mim","settings.gitCredentials.secretSaved":'Segredo "{name}" salvo',"settings.gitCredentials.tokenExposureWarning":"O token é instalado na configuração git do sandbox durante a sessão, então comandos e agentes executados lá podem usá-lo. Restrinja-o aos repositórios necessários.","settings.gitCredentials.tokenLabel":"Token de acesso pessoal","settings.gitCredentials.tokenPlaceholder":"Cole seu token"},moe={"announcements.ptBr.title":"O Studio agora está em português","announcements.ptBr.description":"Notamos que seu navegador está em português, então mudamos o Studio para português (Brasil). Você pode voltar para o inglês quando quiser nas configurações.","announcements.ptBr.ok":"OK!","announcements.ptBr.switchBack":"Voltar para o inglês","announcements.release.ariaLabel":"Anúncio de lançamento","announcements.release.dismiss":"Dispensar anúncio de lançamento","announcements.release.learnMore":"Saiba mais","announcements.version.ariaLabel":"Atualização do Studio","announcements.version.dismiss":"Dispensar atualização do Studio","announcements.version.eyebrow":"Atualização do Studio","announcements.version.title":"Uma nova versão está pronta","announcements.version.description":"Atualize a página para carregar as novidades do Studio.","announcements.version.currentSession":"Sessão atual · {version}","announcements.version.refresh":"Atualizar agora"},hoe={"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"},goe={...yte,...Ste,...wte,...xte,...Tte,...kte,...Ete,...Cte,..._te,...Pte,...Ate,...Rte,...Dte,...Ote,...Nte,...Mte,...Ite,...Lte,...Bte,...Qte,...Jte,...Xte,...Fte,...jte,...zte,...qte,...Ute,...$te,...Vte,...Hte,...Gte,...Wte,...Kte,...Yte,...Zte,...eoe,...toe,...ooe,...aoe,...noe,...roe,...soe,...ioe,...loe,...coe,...doe,...uoe,...poe,...moe,...hoe,...bte,...vte},UB={en:fte,"pt-BR":goe};function ar(t,e){return qB(UB[ib()][t],e)}function Ua(){const t=ye.c(2),[e]=oE(),o=UB[e.language];let a;return t[0]!==o?(a=(n,r)=>qB(o[n],r),t[0]=o,t[1]=a):a=t[1],a}function $B(t){var e,o,a="";if(typeof t=="string"||typeof t=="number")a+=t;else if(typeof t=="object")if(Array.isArray(t)){var n=t.length;for(e=0;e<n;e++)t[e]&&(o=$B(t[e]))&&(a&&(a+=" "),a+=o)}else for(o in t)t[o]&&(a&&(a+=" "),a+=o);return a}function aE(){for(var t,e,o=0,a="",n=arguments.length;o<n;o++)(t=arguments[o])&&(e=$B(t))&&(a&&(a+=" "),a+=e);return a}const SO=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,wO=aE,Ql=(t,e)=>o=>{var a;if(e?.variants==null)return wO(t,o?.class,o?.className);const{variants:n,defaultVariants:r}=e,i=Object.keys(n).map(u=>{const m=o?.[u],h=r?.[u];if(m===null)return null;const f=SO(m)||SO(h);return n[u][f]}),c=o&&Object.entries(o).reduce((u,m)=>{let[h,f]=m;return f===void 0||(u[h]=f),u},{}),d=e==null||(a=e.compoundVariants)===null||a===void 0?void 0:a.reduce((u,m)=>{let{class:h,className:f,...v}=m;return Object.entries(v).every(b=>{let[S,T]=b;return Array.isArray(T)?T.includes({...r,...c}[S]):{...r,...c}[S]===T})?[...u,h,f]:u},[]);return wO(t,i,d,o?.class,o?.className)},foe=(t,e)=>{const o=new Array(t.length+e.length);for(let a=0;a<t.length;a++)o[a]=t[a];for(let a=0;a<e.length;a++)o[t.length+a]=e[a];return o},voe=(t,e)=>({classGroupId:t,validator:e}),VB=(t=new Map,e=null,o)=>({nextPart:t,validators:e,classGroupId:o}),ov="-",xO=[],boe="arbitrary..",yoe=t=>{const e=woe(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:a}=t;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return Soe(i);const c=i.split(ov),d=c[0]===""&&c.length>1?1:0;return HB(c,d,e)},getConflictingClassGroupIds:(i,c)=>{if(c){const d=a[i],u=o[i];return d?u?foe(u,d):d:u||xO}return o[i]||xO}}},HB=(t,e,o)=>{if(t.length-e===0)return o.classGroupId;const n=t[e],r=o.nextPart.get(n);if(r){const u=HB(t,e+1,r);if(u)return u}const i=o.validators;if(i===null)return;const c=e===0?t.join(ov):t.slice(e).join(ov),d=i.length;for(let u=0;u<d;u++){const m=i[u];if(m.validator(c))return m.classGroupId}},Soe=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),o=e.indexOf(":"),a=e.slice(0,o);return a?boe+a:void 0})(),woe=t=>{const{theme:e,classGroups:o}=t;return xoe(o,e)},xoe=(t,e)=>{const o=VB();for(const a in t){const n=t[a];nE(n,o,a,e)}return o},nE=(t,e,o,a)=>{const n=t.length;for(let r=0;r<n;r++){const i=t[r];Toe(i,e,o,a)}},Toe=(t,e,o,a)=>{if(typeof t=="string"){koe(t,e,o);return}if(typeof t=="function"){Eoe(t,e,o,a);return}Coe(t,e,o,a)},koe=(t,e,o)=>{const a=t===""?e:GB(e,t);a.classGroupId=o},Eoe=(t,e,o,a)=>{if(_oe(t)){nE(t(a),e,o,a);return}e.validators===null&&(e.validators=[]),e.validators.push(voe(o,t))},Coe=(t,e,o,a)=>{const n=Object.entries(t),r=n.length;for(let i=0;i<r;i++){const[c,d]=n[i];nE(d,GB(e,c),o,a)}},GB=(t,e)=>{let o=t;const a=e.split(ov),n=a.length;for(let r=0;r<n;r++){const i=a[r];let c=o.nextPart.get(i);c||(c=VB(),o.nextPart.set(i,c)),o=c}return o},_oe=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,Poe=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,o=Object.create(null),a=Object.create(null);const n=(r,i)=>{o[r]=i,e++,e>t&&(e=0,a=o,o=Object.create(null))};return{get(r){let i=o[r];if(i!==void 0)return i;if((i=a[r])!==void 0)return n(r,i),i},set(r,i){r in o?o[r]=i:n(r,i)}}},FT="!",TO=":",Aoe=[],kO=(t,e,o,a,n)=>({modifiers:t,hasImportantModifier:e,baseClassName:o,maybePostfixModifierPosition:a,isExternal:n}),Roe=t=>{const{prefix:e,experimentalParseClassName:o}=t;let a=n=>{const r=[];let i=0,c=0,d=0,u;const m=n.length;for(let S=0;S<m;S++){const T=n[S];if(i===0&&c===0){if(T===TO){r.push(n.slice(d,S)),d=S+1;continue}if(T==="/"){u=S;continue}}T==="["?i++:T==="]"?i--:T==="("?c++:T===")"&&c--}const h=r.length===0?n:n.slice(d);let f=h,v=!1;h.endsWith(FT)?(f=h.slice(0,-1),v=!0):h.startsWith(FT)&&(f=h.slice(1),v=!0);const b=u&&u>d?u-d:void 0;return kO(r,v,f,b)};if(e){const n=e+TO,r=a;a=i=>i.startsWith(n)?r(i.slice(n.length)):kO(Aoe,!1,i,void 0,!0)}if(o){const n=a;a=r=>o({className:r,parseClassName:n})}return a},Doe=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((o,a)=>{e.set(o,1e6+a)}),o=>{const a=[];let n=[];for(let r=0;r<o.length;r++){const i=o[r],c=i[0]==="[",d=e.has(i);c||d?(n.length>0&&(n.sort(),a.push(...n),n=[]),a.push(i)):n.push(i)}return n.length>0&&(n.sort(),a.push(...n)),a}},Ooe=t=>({cache:Poe(t.cacheSize),parseClassName:Roe(t),sortModifiers:Doe(t),postfixLookupClassGroupIds:Noe(t),...yoe(t)}),Noe=t=>{const e=Object.create(null),o=t.postfixLookupClassGroups;if(o)for(let a=0;a<o.length;a++)e[o[a]]=!0;return e},Moe=/\s+/,Ioe=(t,e)=>{const{parseClassName:o,getClassGroupId:a,getConflictingClassGroupIds:n,sortModifiers:r,postfixLookupClassGroupIds:i}=e,c=[],d=t.trim().split(Moe);let u="";for(let m=d.length-1;m>=0;m-=1){const h=d[m],{isExternal:f,modifiers:v,hasImportantModifier:b,baseClassName:S,maybePostfixModifierPosition:T}=o(h);if(f){u=h+(u.length>0?" "+u:u);continue}let x=!!T,k;if(x){const R=S.substring(0,T);k=a(R);const O=k&&i[k]?a(S):void 0;O&&O!==k&&(k=O,x=!1)}else k=a(S);if(!k){if(!x){u=h+(u.length>0?" "+u:u);continue}if(k=a(S),!k){u=h+(u.length>0?" "+u:u);continue}x=!1}const C=v.length===0?"":v.length===1?v[0]:r(v).join(":"),E=b?C+FT:C,P=E+k;if(c.indexOf(P)>-1)continue;c.push(P);const D=n(k,x);for(let R=0;R<D.length;++R){const O=D[R];c.push(E+O)}u=h+(u.length>0?" "+u:u)}return u},Loe=(...t)=>{let e=0,o,a,n="";for(;e<t.length;)(o=t[e++])&&(a=WB(o))&&(n&&(n+=" "),n+=a);return n},WB=t=>{if(typeof t=="string")return t;let e,o="";for(let a=0;a<t.length;a++)t[a]&&(e=WB(t[a]))&&(o&&(o+=" "),o+=e);return o},Boe=(t,...e)=>{let o,a,n,r;const i=d=>{const u=e.reduce((m,h)=>h(m),t());return o=Ooe(u),a=o.cache.get,n=o.cache.set,r=c,c(d)},c=d=>{const u=a(d);if(u)return u;const m=Ioe(d,o);return n(d,m),m};return r=i,(...d)=>r(Loe(...d))},Foe=[],aa=t=>{const e=o=>o[t]||Foe;return e.isThemeGetter=!0,e},KB=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,YB=/^\((?:(\w[\w-]*):)?(.+)\)$/i,joe=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,zoe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,qoe=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Uoe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,$oe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Voe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,vi=t=>joe.test(t),bt=t=>!!t&&!Number.isNaN(Number(t)),Fr=t=>!!t&&Number.isInteger(Number(t)),Mw=t=>t.endsWith("%")&&bt(t.slice(0,-1)),Es=t=>zoe.test(t),ZB=()=>!0,Hoe=t=>qoe.test(t)&&!Uoe.test(t),rE=()=>!1,Goe=t=>$oe.test(t),Woe=t=>Voe.test(t),Koe=t=>!We(t)&&!Ke(t),Yoe=t=>t.startsWith("@container")&&(t[10]==="/"&&t[11]!==void 0||t[11]==="s"&&t[16]!==void 0&&t.startsWith("-size/",10)||t[11]==="n"&&t[18]!==void 0&&t.startsWith("-normal/",10)),Zoe=t=>Ji(t,XB,rE),We=t=>KB.test(t),xl=t=>Ji(t,eF,Hoe),EO=t=>Ji(t,nae,bt),Qoe=t=>Ji(t,oF,ZB),Joe=t=>Ji(t,tF,rE),CO=t=>Ji(t,QB,rE),Xoe=t=>Ji(t,JB,Woe),$g=t=>Ji(t,aF,Goe),Ke=t=>YB.test(t),Xu=t=>Jl(t,eF),eae=t=>Jl(t,tF),_O=t=>Jl(t,QB),tae=t=>Jl(t,XB),oae=t=>Jl(t,JB),Vg=t=>Jl(t,aF,!0),aae=t=>Jl(t,oF,!0),Ji=(t,e,o)=>{const a=KB.exec(t);return a?a[1]?e(a[1]):o(a[2]):!1},Jl=(t,e,o=!1)=>{const a=YB.exec(t);return a?a[1]?e(a[1]):o:!1},QB=t=>t==="position"||t==="percentage",JB=t=>t==="image"||t==="url",XB=t=>t==="length"||t==="size"||t==="bg-size",eF=t=>t==="length",nae=t=>t==="number",tF=t=>t==="family-name",oF=t=>t==="number"||t==="weight",aF=t=>t==="shadow",rae=()=>{const t=aa("color"),e=aa("font"),o=aa("text"),a=aa("font-weight"),n=aa("tracking"),r=aa("leading"),i=aa("breakpoint"),c=aa("container"),d=aa("spacing"),u=aa("radius"),m=aa("shadow"),h=aa("inset-shadow"),f=aa("text-shadow"),v=aa("drop-shadow"),b=aa("blur"),S=aa("perspective"),T=aa("aspect"),x=aa("ease"),k=aa("animate"),C=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],P=()=>[...E(),Ke,We],D=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto","contain","none"],O=()=>[Ke,We,d],I=()=>[vi,"full","auto",...O()],q=()=>[Fr,"none","subgrid",Ke,We],B=()=>["auto",{span:["full",Fr,Ke,We]},Fr,Ke,We],j=()=>[Fr,"auto",Ke,We],F=()=>["auto","min","max","fr",Ke,We],W=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],oe=()=>["start","end","center","stretch","center-safe","end-safe"],H=()=>["auto",...O()],K=()=>[vi,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...O()],J=()=>[vi,"screen","full","dvw","lvw","svw","min","max","fit",...O()],se=()=>[vi,"screen","full","lh","dvh","lvh","svh","min","max","fit",...O()],Q=()=>[t,Ke,We],M=()=>[...E(),_O,CO,{position:[Ke,We]}],G=()=>["no-repeat",{repeat:["","x","y","space","round"]}],V=()=>["auto","cover","contain",tae,Zoe,{size:[Ke,We]}],L=()=>[Mw,Xu,xl],z=()=>["","none","full",u,Ke,We],X=()=>["",bt,Xu,xl],de=()=>["solid","dashed","dotted","double"],ue=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ee=()=>[bt,Mw,_O,CO],qe=()=>["","none",b,Ke,We],Z=()=>["none",bt,Ke,We],ne=()=>["none",bt,Ke,We],ve=()=>[bt,Ke,We],ie=()=>[vi,"full",...O()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Es],breakpoint:[Es],color:[ZB],container:[Es],"drop-shadow":[Es],ease:["in","out","in-out"],font:[Koe],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Es],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Es],shadow:[Es],spacing:["px",bt],text:[Es],"text-shadow":[Es],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",vi,We,Ke,T]}],container:["container"],"container-type":[{"@container":["","normal","size",Ke,We]}],"container-named":[Yoe],columns:[{columns:[bt,We,Ke,c]}],"break-after":[{"break-after":C()}],"break-before":[{"break-before":C()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:P()}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{"inset-s":I(),start:I()}],end:[{"inset-e":I(),end:I()}],"inset-bs":[{"inset-bs":I()}],"inset-be":[{"inset-be":I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[Fr,"auto",Ke,We]}],basis:[{basis:[vi,"full","auto",c,...O()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[bt,vi,"auto","initial","none",We]}],grow:[{grow:["",bt,Ke,We]}],shrink:[{shrink:["",bt,Ke,We]}],order:[{order:[Fr,"first","last","none",Ke,We]}],"grid-cols":[{"grid-cols":q()}],"col-start-end":[{col:B()}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":q()}],"row-start-end":[{row:B()}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":F()}],"auto-rows":[{"auto-rows":F()}],gap:[{gap:O()}],"gap-x":[{"gap-x":O()}],"gap-y":[{"gap-y":O()}],"justify-content":[{justify:[...W(),"normal"]}],"justify-items":[{"justify-items":[...oe(),"normal"]}],"justify-self":[{"justify-self":["auto",...oe()]}],"align-content":[{content:["normal",...W()]}],"align-items":[{items:[...oe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...oe(),{baseline:["","last"]}]}],"place-content":[{"place-content":W()}],"place-items":[{"place-items":[...oe(),"baseline"]}],"place-self":[{"place-self":["auto",...oe()]}],p:[{p:O()}],px:[{px:O()}],py:[{py:O()}],ps:[{ps:O()}],pe:[{pe:O()}],pbs:[{pbs:O()}],pbe:[{pbe:O()}],pt:[{pt:O()}],pr:[{pr:O()}],pb:[{pb:O()}],pl:[{pl:O()}],m:[{m:H()}],mx:[{mx:H()}],my:[{my:H()}],ms:[{ms:H()}],me:[{me:H()}],mbs:[{mbs:H()}],mbe:[{mbe:H()}],mt:[{mt:H()}],mr:[{mr:H()}],mb:[{mb:H()}],ml:[{ml:H()}],"space-x":[{"space-x":O()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":O()}],"space-y-reverse":["space-y-reverse"],size:[{size:K()}],"inline-size":[{inline:["auto",...J()]}],"min-inline-size":[{"min-inline":["auto",...J()]}],"max-inline-size":[{"max-inline":["none",...J()]}],"block-size":[{block:["auto",...se()]}],"min-block-size":[{"min-block":["auto",...se()]}],"max-block-size":[{"max-block":["none",...se()]}],w:[{w:[c,"screen",...K()]}],"min-w":[{"min-w":[c,"screen","none",...K()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[i]},...K()]}],h:[{h:["screen","lh",...K()]}],"min-h":[{"min-h":["screen","lh","none",...K()]}],"max-h":[{"max-h":["screen","lh",...K()]}],"font-size":[{text:["base",o,Xu,xl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[a,aae,Qoe]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Mw,We]}],"font-family":[{font:[eae,Joe,e]}],"font-features":[{"font-features":[We]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,Ke,We]}],"line-clamp":[{"line-clamp":[bt,"none",Ke,EO]}],leading:[{leading:[r,...O()]}],"list-image":[{"list-image":["none",Ke,We]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ke,We]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Q()}],"text-color":[{text:Q()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...de(),"wavy"]}],"text-decoration-thickness":[{decoration:[bt,"from-font","auto",Ke,xl]}],"text-decoration-color":[{decoration:Q()}],"underline-offset":[{"underline-offset":[bt,"auto",Ke,We]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"tab-size":[{tab:[Fr,Ke,We]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ke,We]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ke,We]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:M()}],"bg-repeat":[{bg:G()}],"bg-size":[{bg:V()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Fr,Ke,We],radial:["",Ke,We],conic:[Fr,Ke,We]},oae,Xoe]}],"bg-color":[{bg:Q()}],"gradient-from-pos":[{from:L()}],"gradient-via-pos":[{via:L()}],"gradient-to-pos":[{to:L()}],"gradient-from":[{from:Q()}],"gradient-via":[{via:Q()}],"gradient-to":[{to:Q()}],rounded:[{rounded:z()}],"rounded-s":[{"rounded-s":z()}],"rounded-e":[{"rounded-e":z()}],"rounded-t":[{"rounded-t":z()}],"rounded-r":[{"rounded-r":z()}],"rounded-b":[{"rounded-b":z()}],"rounded-l":[{"rounded-l":z()}],"rounded-ss":[{"rounded-ss":z()}],"rounded-se":[{"rounded-se":z()}],"rounded-ee":[{"rounded-ee":z()}],"rounded-es":[{"rounded-es":z()}],"rounded-tl":[{"rounded-tl":z()}],"rounded-tr":[{"rounded-tr":z()}],"rounded-br":[{"rounded-br":z()}],"rounded-bl":[{"rounded-bl":z()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-bs":[{"border-bs":X()}],"border-w-be":[{"border-be":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...de(),"hidden","none"]}],"divide-style":[{divide:[...de(),"hidden","none"]}],"border-color":[{border:Q()}],"border-color-x":[{"border-x":Q()}],"border-color-y":[{"border-y":Q()}],"border-color-s":[{"border-s":Q()}],"border-color-e":[{"border-e":Q()}],"border-color-bs":[{"border-bs":Q()}],"border-color-be":[{"border-be":Q()}],"border-color-t":[{"border-t":Q()}],"border-color-r":[{"border-r":Q()}],"border-color-b":[{"border-b":Q()}],"border-color-l":[{"border-l":Q()}],"divide-color":[{divide:Q()}],"outline-style":[{outline:[...de(),"none","hidden"]}],"outline-offset":[{"outline-offset":[bt,Ke,We]}],"outline-w":[{outline:["",bt,Xu,xl]}],"outline-color":[{outline:Q()}],shadow:[{shadow:["","none",m,Vg,$g]}],"shadow-color":[{shadow:Q()}],"inset-shadow":[{"inset-shadow":["none",h,Vg,$g]}],"inset-shadow-color":[{"inset-shadow":Q()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Q()}],"ring-offset-w":[{"ring-offset":[bt,xl]}],"ring-offset-color":[{"ring-offset":Q()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":Q()}],"text-shadow":[{"text-shadow":["none",f,Vg,$g]}],"text-shadow-color":[{"text-shadow":Q()}],opacity:[{opacity:[bt,Ke,We]}],"mix-blend":[{"mix-blend":[...ue(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ue()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[bt]}],"mask-image-linear-from-pos":[{"mask-linear-from":Ee()}],"mask-image-linear-to-pos":[{"mask-linear-to":Ee()}],"mask-image-linear-from-color":[{"mask-linear-from":Q()}],"mask-image-linear-to-color":[{"mask-linear-to":Q()}],"mask-image-t-from-pos":[{"mask-t-from":Ee()}],"mask-image-t-to-pos":[{"mask-t-to":Ee()}],"mask-image-t-from-color":[{"mask-t-from":Q()}],"mask-image-t-to-color":[{"mask-t-to":Q()}],"mask-image-r-from-pos":[{"mask-r-from":Ee()}],"mask-image-r-to-pos":[{"mask-r-to":Ee()}],"mask-image-r-from-color":[{"mask-r-from":Q()}],"mask-image-r-to-color":[{"mask-r-to":Q()}],"mask-image-b-from-pos":[{"mask-b-from":Ee()}],"mask-image-b-to-pos":[{"mask-b-to":Ee()}],"mask-image-b-from-color":[{"mask-b-from":Q()}],"mask-image-b-to-color":[{"mask-b-to":Q()}],"mask-image-l-from-pos":[{"mask-l-from":Ee()}],"mask-image-l-to-pos":[{"mask-l-to":Ee()}],"mask-image-l-from-color":[{"mask-l-from":Q()}],"mask-image-l-to-color":[{"mask-l-to":Q()}],"mask-image-x-from-pos":[{"mask-x-from":Ee()}],"mask-image-x-to-pos":[{"mask-x-to":Ee()}],"mask-image-x-from-color":[{"mask-x-from":Q()}],"mask-image-x-to-color":[{"mask-x-to":Q()}],"mask-image-y-from-pos":[{"mask-y-from":Ee()}],"mask-image-y-to-pos":[{"mask-y-to":Ee()}],"mask-image-y-from-color":[{"mask-y-from":Q()}],"mask-image-y-to-color":[{"mask-y-to":Q()}],"mask-image-radial":[{"mask-radial":[Ke,We]}],"mask-image-radial-from-pos":[{"mask-radial-from":Ee()}],"mask-image-radial-to-pos":[{"mask-radial-to":Ee()}],"mask-image-radial-from-color":[{"mask-radial-from":Q()}],"mask-image-radial-to-color":[{"mask-radial-to":Q()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":E()}],"mask-image-conic-pos":[{"mask-conic":[bt]}],"mask-image-conic-from-pos":[{"mask-conic-from":Ee()}],"mask-image-conic-to-pos":[{"mask-conic-to":Ee()}],"mask-image-conic-from-color":[{"mask-conic-from":Q()}],"mask-image-conic-to-color":[{"mask-conic-to":Q()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:M()}],"mask-repeat":[{mask:G()}],"mask-size":[{mask:V()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ke,We]}],filter:[{filter:["","none",Ke,We]}],blur:[{blur:qe()}],brightness:[{brightness:[bt,Ke,We]}],contrast:[{contrast:[bt,Ke,We]}],"drop-shadow":[{"drop-shadow":["","none",v,Vg,$g]}],"drop-shadow-color":[{"drop-shadow":Q()}],grayscale:[{grayscale:["",bt,Ke,We]}],"hue-rotate":[{"hue-rotate":[bt,Ke,We]}],invert:[{invert:["",bt,Ke,We]}],saturate:[{saturate:[bt,Ke,We]}],sepia:[{sepia:["",bt,Ke,We]}],"backdrop-filter":[{"backdrop-filter":["","none",Ke,We]}],"backdrop-blur":[{"backdrop-blur":qe()}],"backdrop-brightness":[{"backdrop-brightness":[bt,Ke,We]}],"backdrop-contrast":[{"backdrop-contrast":[bt,Ke,We]}],"backdrop-grayscale":[{"backdrop-grayscale":["",bt,Ke,We]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[bt,Ke,We]}],"backdrop-invert":[{"backdrop-invert":["",bt,Ke,We]}],"backdrop-opacity":[{"backdrop-opacity":[bt,Ke,We]}],"backdrop-saturate":[{"backdrop-saturate":[bt,Ke,We]}],"backdrop-sepia":[{"backdrop-sepia":["",bt,Ke,We]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":O()}],"border-spacing-x":[{"border-spacing-x":O()}],"border-spacing-y":[{"border-spacing-y":O()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ke,We]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[bt,"initial",Ke,We]}],ease:[{ease:["linear","initial",x,Ke,We]}],delay:[{delay:[bt,Ke,We]}],animate:[{animate:["none",k,Ke,We]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,Ke,We]}],"perspective-origin":[{"perspective-origin":P()}],rotate:[{rotate:Z()}],"rotate-x":[{"rotate-x":Z()}],"rotate-y":[{"rotate-y":Z()}],"rotate-z":[{"rotate-z":Z()}],scale:[{scale:ne()}],"scale-x":[{"scale-x":ne()}],"scale-y":[{"scale-y":ne()}],"scale-z":[{"scale-z":ne()}],"scale-3d":["scale-3d"],skew:[{skew:ve()}],"skew-x":[{"skew-x":ve()}],"skew-y":[{"skew-y":ve()}],transform:[{transform:[Ke,We,"","none","gpu","cpu"]}],"transform-origin":[{origin:P()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ie()}],"translate-x":[{"translate-x":ie()}],"translate-y":[{"translate-y":ie()}],"translate-z":[{"translate-z":ie()}],"translate-none":["translate-none"],zoom:[{zoom:[Fr,Ke,We]}],accent:[{accent:Q()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Q()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ke,We]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":Q()}],"scrollbar-track-color":[{"scrollbar-track":Q()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mbs":[{"scroll-mbs":O()}],"scroll-mbe":[{"scroll-mbe":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pbs":[{"scroll-pbs":O()}],"scroll-pbe":[{"scroll-pbe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ke,We]}],fill:[{fill:["none",...Q()]}],"stroke-w":[{stroke:[bt,Xu,xl,EO]}],stroke:[{stroke:["none",...Q()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},nF=Boe(rae);function Ze(...t){return nF(aE(t))}const sae=Ql("animate-spin shrink-0",{variants:{size:{"2xs":"size-3",xs:"size-4",sm:"size-6",default:"size-7",lg:"size-8",icon:"size-6"}},defaultVariants:{size:"default"}});function iae(t){const e=ye.c(11),{size:o,className:a,style:n,label:r}=t;let i;e[0]!==r?(i=r?{role:"status","aria-label":r}:{"aria-hidden":!0},e[0]=r,e[1]=i):i=e[1];let c;e[2]!==a||e[3]!==o?(c=Ze(sae({size:o}),a),e[2]=a,e[3]=o,e[4]=c):c=e[4];let d,u;e[5]===Symbol.for("react.memo_cache_sentinel")?(d=y.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor",opacity:"0.2"}),u=y.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentColor"}),e[5]=d,e[6]=u):(d=e[5],u=e[6]);let m;return e[7]!==n||e[8]!==i||e[9]!==c?(m=y.jsxs("svg",{...i,className:c,style:n,viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d,u]}),e[7]=n,e[8]=i,e[9]=c,e[10]=m):m=e[10],m}function Qd(){const t=ye.c(4),e=Ua();let o;t[0]!==e?(o=e("common.loading"),t[0]=e,t[1]=o):o=t[1];let a;return t[2]!==o?(a=y.jsx("div",{"data-testid":"panel-loading",className:"flex flex-1 h-full w-full items-center justify-center",children:y.jsx(iae,{className:"size-5 text-muted-foreground",label:o})}),t[2]=o,t[3]=a):a=t[3],a}function bTe(t){const e=ye.c(3),{children:o}=t;let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=y.jsx(Qd,{}),e[0]=a):a=e[0];let n;return e[1]!==o?(n=y.jsx(A.Suspense,{fallback:a,children:o}),e[1]=o,e[2]=n):n=e[2],n}const rF=lo([Vt(),Qe("chat"),Qe(0)]).optional().transform(t=>t===void 0?void 0:t===!0||t==="chat").catch(void 0),sF=Vt().optional().catch(void 0);function PO(t){const e=ye.c(8);let o,a;e[0]!==t?({className:o,...a}=t,e[0]=t,e[1]=o,e[2]=a):(o=e[1],a=e[2]);let n;e[3]!==o?(n=Ze("bg-secondary-hover animate-pulse rounded-md",o),e[3]=o,e[4]=n):n=e[4];let r;return e[5]!==a||e[6]!==n?(r=y.jsx("div",{"data-slot":"skeleton",className:n,...a}),e[5]=a,e[6]=n,e[7]=r):r=e[7],r}function AO(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function gm(...t){return e=>{let o=!1;const a=t.map(n=>{const r=AO(n,e);return!o&&typeof r=="function"&&(o=!0),r});if(o)return()=>{for(let n=0;n<a.length;n++){const r=a[n];typeof r=="function"?r():AO(t[n],null)}}}}function Vo(...t){return A.useCallback(gm(...t),t)}var lae=Symbol.for("react.lazy"),av=ck[" use ".trim().toString()];function cae(t){return typeof t=="object"&&t!==null&&"then"in t}function iF(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===lae&&"_payload"in t&&cae(t._payload)}function lF(t){const e=dae(t),o=A.forwardRef((a,n)=>{let{children:r,...i}=a;iF(r)&&typeof av=="function"&&(r=av(r._payload));const c=A.Children.toArray(r),d=c.find(pae);if(d){const u=d.props.children,m=c.map(h=>h===d?A.Children.count(u)>1?A.Children.only(null):A.isValidElement(u)?u.props.children:null:h);return y.jsx(e,{...i,ref:n,children:A.isValidElement(u)?A.cloneElement(u,void 0,m):null})}return y.jsx(e,{...i,ref:n,children:r})});return o.displayName=`${t}.Slot`,o}var lb=lF("Slot");function dae(t){const e=A.forwardRef((o,a)=>{let{children:n,...r}=o;if(iF(n)&&typeof av=="function"&&(n=av(n._payload)),A.isValidElement(n)){const i=hae(n),c=mae(r,n.props);return n.type!==A.Fragment&&(c.ref=a?gm(a,i):i),A.cloneElement(n,c)}return A.Children.count(n)>1?A.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var cF=Symbol("radix.slottable");function uae(t){const e=({children:o})=>y.jsx(y.Fragment,{children:o});return e.displayName=`${t}.Slottable`,e.__radixId=cF,e}var yTe=uae("Slottable");function pae(t){return A.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===cF}function mae(t,e){const o={...e};for(const a in e){const n=t[a],r=e[a];/^on[A-Z]/.test(a)?n&&r?o[a]=(...c)=>{const d=r(...c);return n(...c),d}:n&&(o[a]=n):a==="style"?o[a]={...n,...r}:a==="className"&&(o[a]=[n,r].filter(Boolean).join(" "))}return{...t,...o}}function hae(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,o=e&&"isReactWarning"in e&&e.isReactWarning;return o?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,o=e&&"isReactWarning"in e&&e.isReactWarning,o?t.props.ref:t.props.ref||t.ref)}const gae="bg-[var(--studio-secondary-background)] text-[color:var(--studio-secondary-foreground)] shadow-[var(--studio-secondary-shadow)] hover:bg-[var(--studio-secondary-hover-background)] hover:text-[color:var(--studio-secondary-hover-foreground)]",sE=Ql(["relative inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap","rounded-[var(--studio-button-radius)] text-sm font-medium","transition-[background-color,box-shadow,color,opacity] duration-150 ease-[var(--ease-out-cubic)]","active:translate-y-px active:transition-none motion-reduce:active:translate-y-0","focus-ring","disabled:pointer-events-none disabled:opacity-40","[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","aria-invalid:outline-destructive"],{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary-hover",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/85 dark:bg-destructive/70",secondary:gae,outline:"bg-card text-[color:var(--studio-outline-foreground)] shadow-edge hover:bg-[var(--studio-outline-hover-background)] hover:text-accent-foreground aria-pressed:bg-accent aria-pressed:text-accent-foreground data-[state=open]:bg-accent",success:"bg-success text-success-foreground hover:bg-success/90",warning:"bg-warning text-warning-foreground hover:bg-warning/90",brand:"bg-brand text-brand-foreground hover:bg-brand/85",special:"bg-special text-special-foreground hover:bg-special/90",ghost:"hover:bg-accent hover:text-accent-foreground","ghost-destructive":"text-muted-foreground hover:bg-accent hover:text-destructive",agent:"bg-card text-card-foreground shadow-edge hover:bg-accent has-[>[data-slot=agent-avatar]]:pl-[3px]",sidebar:"text-sidebar-foreground hover:bg-sidebar-accent aria-pressed:bg-sidebar-accent [&_svg:not([class*='text-'])]:text-muted-foreground hover:[&_svg:not([class*='text-'])]:text-sidebar-foreground",link:"text-foreground/80 hover:text-foreground",tab:"text-muted-foreground hover:bg-accent hover:text-foreground aria-pressed:bg-card aria-pressed:text-card-foreground aria-pressed:shadow-edge aria-[current=page]:bg-card aria-[current=page]:text-card-foreground aria-[current=page]:shadow-edge",menu:"w-full justify-start font-normal hover:bg-accent hover:text-accent-foreground"},size:{default:"h-8 px-3.5 has-[>svg]:px-3",sm:"h-7 gap-1.5 px-3 has-[>svg]:px-2.5",xs:"h-6 gap-1 px-2.5 text-xs has-[>svg]:px-2",lg:"h-10 px-4.5 has-[>svg]:px-4",xl:"h-12 px-6 text-base has-[>svg]:px-5",icon:"size-8","icon-sm":"size-7","icon-xs":"size-6"}},defaultVariants:{variant:"default",size:"default"}});function bn(t){const e=ye.c(14);let o,a,n,r,i;e[0]!==t?({className:o,variant:i,size:n,asChild:r,...a}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n,e[4]=r,e[5]=i):(o=e[1],a=e[2],n=e[3],r=e[4],i=e[5]);const d=(r===void 0?!1:r)?lb:"button";let u;e[6]!==o||e[7]!==n||e[8]!==i?(u=Ze(sE({variant:i,size:n,className:o})),e[6]=o,e[7]=n,e[8]=i,e[9]=u):u=e[9];let m;return e[10]!==d||e[11]!==a||e[12]!==u?(m=y.jsx(d,{"data-slot":"button",className:u,...a}),e[10]=d,e[11]=a,e[12]=u,e[13]=m):m=e[13],m}const $p=A.createContext(null);function fae(t){const e=ye.c(18);let o,a,n,r;e[0]!==t?({children:o,className:a,variant:r,...n}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n,e[4]=r):(o=e[1],a=e[2],n=e[3],r=e[4]);const i=r===void 0?"card":r;let c;e[5]===Symbol.for("react.memo_cache_sentinel")?(c={left:null,center:null,right:null,"toolbar-left":null,"toolbar-center":null,"toolbar-right":null},e[5]=c):c=e[5];const[d,u]=A.useState(c);let m;e[6]!==d?(m={targets:d,setTargets:u},e[6]=d,e[7]=m):m=e[7];const h=i==="card"&&"rounded-xl shadow-edge [transform:translateZ(0)]";let f;e[8]!==a||e[9]!==h?(f=Ze("flex h-full min-h-0 min-w-0 flex-col overflow-hidden bg-background",h,a),e[8]=a,e[9]=h,e[10]=f):f=e[10];let v;e[11]!==o||e[12]!==n||e[13]!==f?(v=y.jsx("div",{...n,"data-slot":"panel",className:f,children:o}),e[11]=o,e[12]=n,e[13]=f,e[14]=v):v=e[14];let b;return e[15]!==m||e[16]!==v?(b=y.jsx($p,{value:m,children:v}),e[15]=m,e[16]=v,e[17]=b):b=e[17],b}function vae(t){const e=ye.c(8);let o,a;e[0]!==t?({className:o,...a}=t,e[0]=t,e[1]=o,e[2]=a):(o=e[1],a=e[2]);let n;e[3]!==o?(n=Ze("@container/panel-header relative z-10 flex h-12 shrink-0 items-center justify-between gap-2 px-1.5",o),e[3]=o,e[4]=n):n=e[4];let r;return e[5]!==a||e[6]!==n?(r=y.jsx("header",{...a,"data-slot":"panel-topbar",className:n}),e[5]=a,e[6]=n,e[7]=r):r=e[7],r}function Gc(t,e){const o=t.startsWith("toolbar-")?`panel-${t}`:`panel-topbar-${t}`;function a(i){const c=ye.c(8);let d,u;c[0]!==i?({className:d,...u}=i,c[0]=i,c[1]=d,c[2]=u):(d=c[1],u=c[2]);let m;c[3]!==d?(m=Ze("flex min-w-0 items-center gap-1",e,d),c[3]=d,c[4]=m):m=c[4];let h;return c[5]!==u||c[6]!==m?(h=y.jsx("div",{...u,"data-slot":o,className:m}),c[5]=u,c[6]=m,c[7]=h):h=c[7],h}function n(i){const c=ye.c(16);let d,u,m;c[0]!==i?({className:d,fallback:u,...m}=i,c[0]=i,c[1]=d,c[2]=u,c[3]=m):(d=c[1],u=c[2],m=c[3]);const h=A.use($p);if(!h)throw new Error("Panel targets require a Panel");const{setTargets:f}=h;let v;c[4]!==f?(v=()=>C=>{if(C)return f(E=>{if(E[t]&&E[t]!==C)throw new Error(`Panel has two targets for ${t}`);return E[t]===C?E:{...E,[t]:C}}),()=>{f(E=>E[t]===C?{...E,[t]:null}:E)}},c[4]=f,c[5]=v):v=c[5];const[b]=A.useState(v);let S;c[6]!==d?(S=Ze("peer contents empty:hidden",d),c[6]=d,c[7]=S):S=c[7];let T;c[8]!==m||c[9]!==S?(T=y.jsx("div",{"data-toolbar-content":t.startsWith("toolbar-")?"":void 0,...m,ref:b,"data-slot":`${o}-target`,className:S}),c[8]=m,c[9]=S,c[10]=T):T=c[10];let x;c[11]!==u?(x=u&&y.jsx("div",{className:"hidden peer-empty:contents",children:u}),c[11]=u,c[12]=x):x=c[12];let k;return c[13]!==T||c[14]!==x?(k=y.jsxs(y.Fragment,{children:[T,x]}),c[13]=T,c[14]=x,c[15]=k):k=c[15],k}function r({children:i,fallback:c=null}){const u=A.use($p)?.targets[t];return u?im.createPortal(i,u):c}return Object.assign(a,{Target:n,Portal:r})}function bae(t){const e=ye.c(12),{children:o}=t,a=A.use($p);if(!a)throw new Error("A toolbar scope requires a Panel");let n;e[0]!==a.targets?(n={...a.targets,"toolbar-left":null,"toolbar-center":null,"toolbar-right":null},e[0]=a.targets,e[1]=n):n=e[1];const[r,i]=A.useState(n),c=r["toolbar-left"],d=r["toolbar-center"],u=r["toolbar-right"];let m;e[2]!==a.targets||e[3]!==c||e[4]!==d||e[5]!==u?(m={...a.targets,"toolbar-left":c,"toolbar-center":d,"toolbar-right":u},e[2]=a.targets,e[3]=c,e[4]=d,e[5]=u,e[6]=m):m=e[6];const h=m;let f;e[7]!==h?(f={targets:h,setTargets:i},e[7]=h,e[8]=f):f=e[8];let v;return e[9]!==o||e[10]!==f?(v=y.jsx($p,{value:f,children:o}),e[9]=o,e[10]=f,e[11]=v):v=e[11],v}function yae(t){const e=ye.c(8);let o,a;e[0]!==t?({className:o,...a}=t,e[0]=t,e[1]=o,e[2]=a):(o=e[1],a=e[2]);let n;e[3]!==o?(n=Ze("@container/panel-toolbar relative z-10 flex min-h-11 shrink-0 flex-wrap items-center gap-x-2 gap-y-1 px-3 py-1.5 [&:not(:has([data-toolbar-content]:not(:empty)))]:hidden",o),e[3]=o,e[4]=n):n=e[4];let r;return e[5]!==a||e[6]!==n?(r=y.jsx("div",{...a,"data-slot":"panel-toolbar",className:n}),e[5]=a,e[6]=n,e[7]=r):r=e[7],r}function Sae(t){const e=ye.c(11);let o,a,n;e[0]!==t?({className:o,mode:n,...a}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n):(o=e[1],a=e[2],n=e[3]);const r=n===void 0?"canvas":n,i=r==="scroll"?"overflow-auto":"overflow-hidden";let c;e[4]!==o||e[5]!==i?(c=Ze("flex min-h-0 min-w-0 flex-1 flex-col",i,o),e[4]=o,e[5]=i,e[6]=c):c=e[6];let d;return e[7]!==r||e[8]!==a||e[9]!==c?(d=y.jsx("div",{...a,"data-slot":"panel-content","data-mode":r,className:c}),e[7]=r,e[8]=a,e[9]=c,e[10]=d):d=e[10],d}const pn=Object.assign(fae,{Topbar:Object.assign(vae,{Left:Gc("left","shrink overflow-hidden"),Center:Gc("center","flex-1 justify-center"),Right:Gc("right","shrink justify-end")}),Toolbar:Object.assign(yae,{Scope:bae,Left:Gc("toolbar-left","shrink"),Center:Gc("toolbar-center","flex-1 justify-center"),Right:Gc("toolbar-right","ml-auto shrink-0 justify-end")}),Content:Sae});function mt(t,e,{checkForDefaultPrevented:o=!0}={}){return function(n){if(t?.(n),o===!1||!n.defaultPrevented)return e?.(n)}}function wae(t,e){const o=A.createContext(e),a=r=>{const{children:i,...c}=r,d=A.useMemo(()=>c,Object.values(c));return y.jsx(o.Provider,{value:d,children:i})};a.displayName=t+"Provider";function n(r){const i=A.useContext(o);if(i)return i;if(e!==void 0)return e;throw new Error(`\`${r}\` must be used within \`${t}\``)}return[a,n]}function Xi(t,e=[]){let o=[];function a(r,i){const c=A.createContext(i),d=o.length;o=[...o,i];const u=h=>{const{scope:f,children:v,...b}=h,S=f?.[t]?.[d]||c,T=A.useMemo(()=>b,Object.values(b));return y.jsx(S.Provider,{value:T,children:v})};u.displayName=r+"Provider";function m(h,f){const v=f?.[t]?.[d]||c,b=A.useContext(v);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${r}\``)}return[u,m]}const n=()=>{const r=o.map(i=>A.createContext(i));return function(c){const d=c?.[t]||r;return A.useMemo(()=>({[`__scope${t}`]:{...c,[t]:d}}),[c,d])}};return n.scopeName=t,[a,xae(n,...e)]}function xae(...t){const e=t[0];if(t.length===1)return e;const o=()=>{const a=t.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(r){const i=a.reduce((c,{useScope:d,scopeName:u})=>{const h=d(r)[`__scope${u}`];return{...c,...h}},{});return A.useMemo(()=>({[`__scope${e.scopeName}`]:i}),[i])}};return o.scopeName=e.scopeName,o}var Er=globalThis?.document?A.useLayoutEffect:()=>{},Tae=ck[" useInsertionEffect ".trim().toString()]||Er;function fm({prop:t,defaultProp:e,onChange:o=()=>{},caller:a}){const[n,r,i]=kae({defaultProp:e,onChange:o}),c=t!==void 0,d=c?t:n;{const m=A.useRef(t!==void 0);A.useEffect(()=>{const h=m.current;h!==c&&console.warn(`${a} is changing from ${h?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),m.current=c},[c,a])}const u=A.useCallback(m=>{if(c){const h=Eae(m)?m(t):m;h!==t&&i.current?.(h)}else r(m)},[c,t,r,i]);return[d,u]}function kae({defaultProp:t,onChange:e}){const[o,a]=A.useState(t),n=A.useRef(o),r=A.useRef(e);return Tae(()=>{r.current=e},[e]),A.useEffect(()=>{n.current!==o&&(r.current?.(o),n.current=o)},[o,n]),[o,a,r]}function Eae(t){return typeof t=="function"}function Vp(t){const e=Cae(t),o=A.forwardRef((a,n)=>{const{children:r,...i}=a,c=A.Children.toArray(r),d=c.find(Pae);if(d){const u=d.props.children,m=c.map(h=>h===d?A.Children.count(u)>1?A.Children.only(null):A.isValidElement(u)?u.props.children:null:h);return y.jsx(e,{...i,ref:n,children:A.isValidElement(u)?A.cloneElement(u,void 0,m):null})}return y.jsx(e,{...i,ref:n,children:r})});return o.displayName=`${t}.Slot`,o}function Cae(t){const e=A.forwardRef((o,a)=>{const{children:n,...r}=o;if(A.isValidElement(n)){const i=Rae(n),c=Aae(r,n.props);return n.type!==A.Fragment&&(c.ref=a?gm(a,i):i),A.cloneElement(n,c)}return A.Children.count(n)>1?A.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var dF=Symbol("radix.slottable");function _ae(t){const e=({children:o})=>y.jsx(y.Fragment,{children:o});return e.displayName=`${t}.Slottable`,e.__radixId=dF,e}function Pae(t){return A.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===dF}function Aae(t,e){const o={...e};for(const a in e){const n=t[a],r=e[a];/^on[A-Z]/.test(a)?n&&r?o[a]=(...c)=>{const d=r(...c);return n(...c),d}:n&&(o[a]=n):a==="style"?o[a]={...n,...r}:a==="className"&&(o[a]=[n,r].filter(Boolean).join(" "))}return{...t,...o}}function Rae(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,o=e&&"isReactWarning"in e&&e.isReactWarning;return o?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,o=e&&"isReactWarning"in e&&e.isReactWarning,o?t.props.ref:t.props.ref||t.ref)}var Dae=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Oo=Dae.reduce((t,e)=>{const o=Vp(`Primitive.${e}`),a=A.forwardRef((n,r)=>{const{asChild:i,...c}=n,d=i?o:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),y.jsx(d,{...c,ref:r})});return a.displayName=`Primitive.${e}`,{...t,[e]:a}},{});function uF(t,e){t&&im.flushSync(()=>t.dispatchEvent(e))}function pF(t){const e=t+"CollectionProvider",[o,a]=Xi(e),[n,r]=o(e,{collectionRef:{current:null},itemMap:new Map}),i=S=>{const{scope:T,children:x}=S,k=ee.useRef(null),C=ee.useRef(new Map).current;return y.jsx(n,{scope:T,itemMap:C,collectionRef:k,children:x})};i.displayName=e;const c=t+"CollectionSlot",d=Vp(c),u=ee.forwardRef((S,T)=>{const{scope:x,children:k}=S,C=r(c,x),E=Vo(T,C.collectionRef);return y.jsx(d,{ref:E,children:k})});u.displayName=c;const m=t+"CollectionItemSlot",h="data-radix-collection-item",f=Vp(m),v=ee.forwardRef((S,T)=>{const{scope:x,children:k,...C}=S,E=ee.useRef(null),P=Vo(T,E),D=r(m,x);return ee.useEffect(()=>(D.itemMap.set(E,{ref:E,...C}),()=>{D.itemMap.delete(E)})),y.jsx(f,{[h]:"",ref:P,children:k})});v.displayName=m;function b(S){const T=r(t+"CollectionConsumer",S);return ee.useCallback(()=>{const k=T.collectionRef.current;if(!k)return[];const C=Array.from(k.querySelectorAll(`[${h}]`));return Array.from(T.itemMap.values()).sort((D,R)=>C.indexOf(D.ref.current)-C.indexOf(R.ref.current))},[T.collectionRef,T.itemMap])}return[{Provider:i,Slot:u,ItemSlot:v},b,a]}var Oae=A.createContext(void 0);function mF(t){const e=A.useContext(Oae);return t||e||"ltr"}function Cr(t){const e=A.useRef(t);return A.useEffect(()=>{e.current=t}),A.useMemo(()=>(...o)=>e.current?.(...o),[])}function Nae(t,e=globalThis?.document){const o=Cr(t);A.useEffect(()=>{const a=n=>{n.key==="Escape"&&o(n)};return e.addEventListener("keydown",a,{capture:!0}),()=>e.removeEventListener("keydown",a,{capture:!0})},[o,e])}var Mae="DismissableLayer",jT="dismissableLayer.update",Iae="dismissableLayer.pointerDownOutside",Lae="dismissableLayer.focusOutside",RO,hF=A.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),iE=A.forwardRef((t,e)=>{const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:a,onPointerDownOutside:n,onFocusOutside:r,onInteractOutside:i,onDismiss:c,...d}=t,u=A.useContext(hF),[m,h]=A.useState(null),f=m?.ownerDocument??globalThis?.document,[,v]=A.useState({}),b=Vo(e,R=>h(R)),S=Array.from(u.layers),[T]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=S.indexOf(T),k=m?S.indexOf(m):-1,C=u.layersWithOutsidePointerEventsDisabled.size>0,E=k>=x,P=jae(R=>{const O=R.target,I=[...u.branches].some(q=>q.contains(O));!E||I||(n?.(R),i?.(R),R.defaultPrevented||c?.())},f),D=zae(R=>{const O=R.target;[...u.branches].some(q=>q.contains(O))||(r?.(R),i?.(R),R.defaultPrevented||c?.())},f);return Nae(R=>{k===u.layers.size-1&&(a?.(R),!R.defaultPrevented&&c&&(R.preventDefault(),c()))},f),A.useEffect(()=>{if(m)return o&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(RO=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(m)),u.layers.add(m),DO(),()=>{o&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=RO)}},[m,f,o,u]),A.useEffect(()=>()=>{m&&(u.layers.delete(m),u.layersWithOutsidePointerEventsDisabled.delete(m),DO())},[m,u]),A.useEffect(()=>{const R=()=>v({});return document.addEventListener(jT,R),()=>document.removeEventListener(jT,R)},[]),y.jsx(Oo.div,{...d,ref:b,style:{pointerEvents:C?E?"auto":"none":void 0,...t.style},onFocusCapture:mt(t.onFocusCapture,D.onFocusCapture),onBlurCapture:mt(t.onBlurCapture,D.onBlurCapture),onPointerDownCapture:mt(t.onPointerDownCapture,P.onPointerDownCapture)})});iE.displayName=Mae;var Bae="DismissableLayerBranch",Fae=A.forwardRef((t,e)=>{const o=A.useContext(hF),a=A.useRef(null),n=Vo(e,a);return A.useEffect(()=>{const r=a.current;if(r)return o.branches.add(r),()=>{o.branches.delete(r)}},[o.branches]),y.jsx(Oo.div,{...t,ref:n})});Fae.displayName=Bae;function jae(t,e=globalThis?.document){const o=Cr(t),a=A.useRef(!1),n=A.useRef(()=>{});return A.useEffect(()=>{const r=c=>{if(c.target&&!a.current){let d=function(){gF(Iae,o,u,{discrete:!0})};const u={originalEvent:c};c.pointerType==="touch"?(e.removeEventListener("click",n.current),n.current=d,e.addEventListener("click",n.current,{once:!0})):d()}else e.removeEventListener("click",n.current);a.current=!1},i=window.setTimeout(()=>{e.addEventListener("pointerdown",r)},0);return()=>{window.clearTimeout(i),e.removeEventListener("pointerdown",r),e.removeEventListener("click",n.current)}},[e,o]),{onPointerDownCapture:()=>a.current=!0}}function zae(t,e=globalThis?.document){const o=Cr(t),a=A.useRef(!1);return A.useEffect(()=>{const n=r=>{r.target&&!a.current&&gF(Lae,o,{originalEvent:r},{discrete:!1})};return e.addEventListener("focusin",n),()=>e.removeEventListener("focusin",n)},[e,o]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}function DO(){const t=new CustomEvent(jT);document.dispatchEvent(t)}function gF(t,e,o,{discrete:a}){const n=o.originalEvent.target,r=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:o});e&&n.addEventListener(t,e,{once:!0}),a?uF(n,r):n.dispatchEvent(r)}var Iw=0;function fF(){A.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??OO()),document.body.insertAdjacentElement("beforeend",t[1]??OO()),Iw++,()=>{Iw===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Iw--}},[])}function OO(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var Lw="focusScope.autoFocusOnMount",Bw="focusScope.autoFocusOnUnmount",NO={bubbles:!1,cancelable:!0},qae="FocusScope",lE=A.forwardRef((t,e)=>{const{loop:o=!1,trapped:a=!1,onMountAutoFocus:n,onUnmountAutoFocus:r,...i}=t,[c,d]=A.useState(null),u=Cr(n),m=Cr(r),h=A.useRef(null),f=Vo(e,S=>d(S)),v=A.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;A.useEffect(()=>{if(a){let S=function(C){if(v.paused||!c)return;const E=C.target;c.contains(E)?h.current=E:Ci(h.current,{select:!0})},T=function(C){if(v.paused||!c)return;const E=C.relatedTarget;E!==null&&(c.contains(E)||Ci(h.current,{select:!0}))},x=function(C){if(document.activeElement===document.body)for(const P of C)P.removedNodes.length>0&&Ci(c)};document.addEventListener("focusin",S),document.addEventListener("focusout",T);const k=new MutationObserver(x);return c&&k.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",T),k.disconnect()}}},[a,c,v.paused]),A.useEffect(()=>{if(c){IO.add(v);const S=document.activeElement;if(!c.contains(S)){const x=new CustomEvent(Lw,NO);c.addEventListener(Lw,u),c.dispatchEvent(x),x.defaultPrevented||(Uae(Wae(vF(c)),{select:!0}),document.activeElement===S&&Ci(c))}return()=>{c.removeEventListener(Lw,u),setTimeout(()=>{const x=new CustomEvent(Bw,NO);c.addEventListener(Bw,m),c.dispatchEvent(x),x.defaultPrevented||Ci(S??document.body,{select:!0}),c.removeEventListener(Bw,m),IO.remove(v)},0)}}},[c,u,m,v]);const b=A.useCallback(S=>{if(!o&&!a||v.paused)return;const T=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,x=document.activeElement;if(T&&x){const k=S.currentTarget,[C,E]=$ae(k);C&&E?!S.shiftKey&&x===E?(S.preventDefault(),o&&Ci(C,{select:!0})):S.shiftKey&&x===C&&(S.preventDefault(),o&&Ci(E,{select:!0})):x===k&&S.preventDefault()}},[o,a,v.paused]);return y.jsx(Oo.div,{tabIndex:-1,...i,ref:f,onKeyDown:b})});lE.displayName=qae;function Uae(t,{select:e=!1}={}){const o=document.activeElement;for(const a of t)if(Ci(a,{select:e}),document.activeElement!==o)return}function $ae(t){const e=vF(t),o=MO(e,t),a=MO(e.reverse(),t);return[o,a]}function vF(t){const e=[],o=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const n=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||n?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)e.push(o.currentNode);return e}function MO(t,e){for(const o of t)if(!Vae(o,{upTo:e}))return o}function Vae(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function Hae(t){return t instanceof HTMLInputElement&&"select"in t}function Ci(t,{select:e=!1}={}){if(t&&t.focus){const o=document.activeElement;t.focus({preventScroll:!0}),t!==o&&Hae(t)&&e&&t.select()}}var IO=Gae();function Gae(){let t=[];return{add(e){const o=t[0];e!==o&&o?.pause(),t=LO(t,e),t.unshift(e)},remove(e){t=LO(t,e),t[0]?.resume()}}}function LO(t,e){const o=[...t],a=o.indexOf(e);return a!==-1&&o.splice(a,1),o}function Wae(t){return t.filter(e=>e.tagName!=="A")}var Kae=ck[" useId ".trim().toString()]||(()=>{}),Yae=0;function Fi(t){const[e,o]=A.useState(Kae());return Er(()=>{o(a=>a??String(Yae++))},[t]),e?`radix-${e}`:""}const bF=["top","right","bottom","left"],BO=["start","end"],FO=bF.reduce((t,e)=>t.concat(e,e+"-"+BO[0],e+"-"+BO[1]),[]),_r=Math.min,Ba=Math.max,nv=Math.round,Hg=Math.floor,Zr=t=>({x:t,y:t}),Zae={left:"right",right:"left",bottom:"top",top:"bottom"};function zT(t,e,o){return Ba(t,_r(e,o))}function Pr(t,e){return typeof t=="function"?t(e):t}function Bn(t){return t.split("-")[0]}function Tr(t){return t.split("-")[1]}function cE(t){return t==="x"?"y":"x"}function dE(t){return t==="y"?"height":"width"}function xr(t){const e=t[0];return e==="t"||e==="b"?"y":"x"}function uE(t){return cE(xr(t))}function yF(t,e,o){o===void 0&&(o=!1);const a=Tr(t),n=uE(t),r=dE(n);let i=n==="x"?a===(o?"end":"start")?"right":"left":a==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(i=sv(i)),[i,sv(i)]}function Qae(t){const e=sv(t);return[rv(t),e,rv(e)]}function rv(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const jO=["left","right"],zO=["right","left"],Jae=["top","bottom"],Xae=["bottom","top"];function ene(t,e,o){switch(t){case"top":case"bottom":return o?e?zO:jO:e?jO:zO;case"left":case"right":return e?Jae:Xae;default:return[]}}function tne(t,e,o,a){const n=Tr(t);let r=ene(Bn(t),o==="start",a);return n&&(r=r.map(i=>i+"-"+n),e&&(r=r.concat(r.map(rv)))),r}function sv(t){const e=Bn(t);return Zae[e]+t.slice(e.length)}function one(t){return{top:0,right:0,bottom:0,left:0,...t}}function pE(t){return typeof t!="number"?one(t):{top:t,right:t,bottom:t,left:t}}function jd(t){const{x:e,y:o,width:a,height:n}=t;return{width:a,height:n,top:o,left:e,right:e+a,bottom:o+n,x:e,y:o}}function qO(t,e,o){let{reference:a,floating:n}=t;const r=xr(e),i=uE(e),c=dE(i),d=Bn(e),u=r==="y",m=a.x+a.width/2-n.width/2,h=a.y+a.height/2-n.height/2,f=a[c]/2-n[c]/2;let v;switch(d){case"top":v={x:m,y:a.y-n.height};break;case"bottom":v={x:m,y:a.y+a.height};break;case"right":v={x:a.x+a.width,y:h};break;case"left":v={x:a.x-n.width,y:h};break;default:v={x:a.x,y:a.y}}switch(Tr(e)){case"start":v[i]-=f*(o&&u?-1:1);break;case"end":v[i]+=f*(o&&u?-1:1);break}return v}async function ane(t,e){var o;e===void 0&&(e={});const{x:a,y:n,platform:r,rects:i,elements:c,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:h="floating",altBoundary:f=!1,padding:v=0}=Pr(e,t),b=pE(v),T=c[f?h==="floating"?"reference":"floating":h],x=jd(await r.getClippingRect({element:(o=await(r.isElement==null?void 0:r.isElement(T)))==null||o?T:T.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:u,rootBoundary:m,strategy:d})),k=h==="floating"?{x:a,y:n,width:i.floating.width,height:i.floating.height}:i.reference,C=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),E=await(r.isElement==null?void 0:r.isElement(C))?await(r.getScale==null?void 0:r.getScale(C))||{x:1,y:1}:{x:1,y:1},P=jd(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:k,offsetParent:C,strategy:d}):k);return{top:(x.top-P.top+b.top)/E.y,bottom:(P.bottom-x.bottom+b.bottom)/E.y,left:(x.left-P.left+b.left)/E.x,right:(P.right-x.right+b.right)/E.x}}const nne=50,rne=async(t,e,o)=>{const{placement:a="bottom",strategy:n="absolute",middleware:r=[],platform:i}=o,c=i.detectOverflow?i:{...i,detectOverflow:ane},d=await(i.isRTL==null?void 0:i.isRTL(e));let u=await i.getElementRects({reference:t,floating:e,strategy:n}),{x:m,y:h}=qO(u,a,d),f=a,v=0;const b={};for(let S=0;S<r.length;S++){const T=r[S];if(!T)continue;const{name:x,fn:k}=T,{x:C,y:E,data:P,reset:D}=await k({x:m,y:h,initialPlacement:a,placement:f,strategy:n,middlewareData:b,rects:u,platform:c,elements:{reference:t,floating:e}});m=C??m,h=E??h,b[x]={...b[x],...P},D&&v<nne&&(v++,typeof D=="object"&&(D.placement&&(f=D.placement),D.rects&&(u=D.rects===!0?await i.getElementRects({reference:t,floating:e,strategy:n}):D.rects),{x:m,y:h}=qO(u,f,d)),S=-1)}return{x:m,y:h,placement:f,strategy:n,middlewareData:b}},sne=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:a,placement:n,rects:r,platform:i,elements:c,middlewareData:d}=e,{element:u,padding:m=0}=Pr(t,e)||{};if(u==null)return{};const h=pE(m),f={x:o,y:a},v=uE(n),b=dE(v),S=await i.getDimensions(u),T=v==="y",x=T?"top":"left",k=T?"bottom":"right",C=T?"clientHeight":"clientWidth",E=r.reference[b]+r.reference[v]-f[v]-r.floating[b],P=f[v]-r.reference[v],D=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let R=D?D[C]:0;(!R||!await(i.isElement==null?void 0:i.isElement(D)))&&(R=c.floating[C]||r.floating[b]);const O=E/2-P/2,I=R/2-S[b]/2-1,q=_r(h[x],I),B=_r(h[k],I),j=q,F=R-S[b]-B,W=R/2-S[b]/2+O,oe=zT(j,W,F),H=!d.arrow&&Tr(n)!=null&&W!==oe&&r.reference[b]/2-(W<j?q:B)-S[b]/2<0,K=H?W<j?W-j:W-F:0;return{[v]:f[v]+K,data:{[v]:oe,centerOffset:W-oe-K,...H&&{alignmentOffset:K}},reset:H}}});function ine(t,e,o){return(t?[...o.filter(n=>Tr(n)===t),...o.filter(n=>Tr(n)!==t)]:o.filter(n=>Bn(n)===n)).filter(n=>t?Tr(n)===t||(e?rv(n)!==n:!1):!0)}const lne=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,a,n;const{rects:r,middlewareData:i,placement:c,platform:d,elements:u}=e,{crossAxis:m=!1,alignment:h,allowedPlacements:f=FO,autoAlignment:v=!0,...b}=Pr(t,e),S=h!==void 0||f===FO?ine(h||null,v,f):f,T=await d.detectOverflow(e,b),x=((o=i.autoPlacement)==null?void 0:o.index)||0,k=S[x];if(k==null)return{};const C=yF(k,r,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(c!==k)return{reset:{placement:S[0]}};const E=[T[Bn(k)],T[C[0]],T[C[1]]],P=[...((a=i.autoPlacement)==null?void 0:a.overflows)||[],{placement:k,overflows:E}],D=S[x+1];if(D)return{data:{index:x+1,overflows:P},reset:{placement:D}};const R=P.map(q=>{const B=Tr(q.placement);return[q.placement,B&&m?q.overflows.slice(0,2).reduce((j,F)=>j+F,0):q.overflows[0],q.overflows]}).sort((q,B)=>q[1]-B[1]),I=((n=R.filter(q=>q[2].slice(0,Tr(q[0])?2:3).every(B=>B<=0))[0])==null?void 0:n[0])||R[0][0];return I!==c?{data:{index:x+1,overflows:P},reset:{placement:I}}:{}}}},cne=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var o,a;const{placement:n,middlewareData:r,rects:i,initialPlacement:c,platform:d,elements:u}=e,{mainAxis:m=!0,crossAxis:h=!0,fallbackPlacements:f,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:S=!0,...T}=Pr(t,e);if((o=r.arrow)!=null&&o.alignmentOffset)return{};const x=Bn(n),k=xr(c),C=Bn(c)===c,E=await(d.isRTL==null?void 0:d.isRTL(u.floating)),P=f||(C||!S?[sv(c)]:Qae(c)),D=b!=="none";!f&&D&&P.push(...tne(c,S,b,E));const R=[c,...P],O=await d.detectOverflow(e,T),I=[];let q=((a=r.flip)==null?void 0:a.overflows)||[];if(m&&I.push(O[x]),h){const W=yF(n,i,E);I.push(O[W[0]],O[W[1]])}if(q=[...q,{placement:n,overflows:I}],!I.every(W=>W<=0)){var B,j;const W=(((B=r.flip)==null?void 0:B.index)||0)+1,oe=R[W];if(oe&&(!(h==="alignment"?k!==xr(oe):!1)||q.every(J=>xr(J.placement)===k?J.overflows[0]>0:!0)))return{data:{index:W,overflows:q},reset:{placement:oe}};let H=(j=q.filter(K=>K.overflows[0]<=0).sort((K,J)=>K.overflows[1]-J.overflows[1])[0])==null?void 0:j.placement;if(!H)switch(v){case"bestFit":{var F;const K=(F=q.filter(J=>{if(D){const se=xr(J.placement);return se===k||se==="y"}return!0}).map(J=>[J.placement,J.overflows.filter(se=>se>0).reduce((se,Q)=>se+Q,0)]).sort((J,se)=>J[1]-se[1])[0])==null?void 0:F[0];K&&(H=K);break}case"initialPlacement":H=c;break}if(n!==H)return{reset:{placement:H}}}return{}}}};function UO(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function $O(t){return bF.some(e=>t[e]>=0)}const dne=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:o,platform:a}=e,{strategy:n="referenceHidden",...r}=Pr(t,e);switch(n){case"referenceHidden":{const i=await a.detectOverflow(e,{...r,elementContext:"reference"}),c=UO(i,o.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:$O(c)}}}case"escaped":{const i=await a.detectOverflow(e,{...r,altBoundary:!0}),c=UO(i,o.floating);return{data:{escapedOffsets:c,escaped:$O(c)}}}default:return{}}}}};function SF(t){const e=_r(...t.map(r=>r.left)),o=_r(...t.map(r=>r.top)),a=Ba(...t.map(r=>r.right)),n=Ba(...t.map(r=>r.bottom));return{x:e,y:o,width:a-e,height:n-o}}function une(t){const e=t.slice().sort((n,r)=>n.y-r.y),o=[];let a=null;for(let n=0;n<e.length;n++){const r=e[n];!a||r.y-a.y>a.height/2?o.push([r]):o[o.length-1].push(r),a=r}return o.map(n=>jd(SF(n)))}const pne=function(t){return t===void 0&&(t={}),{name:"inline",options:t,async fn(e){const{placement:o,elements:a,rects:n,platform:r,strategy:i}=e,{padding:c=2,x:d,y:u}=Pr(t,e),m=Array.from(await(r.getClientRects==null?void 0:r.getClientRects(a.reference))||[]),h=une(m),f=jd(SF(m)),v=pE(c);function b(){if(h.length===2&&h[0].left>h[1].right&&d!=null&&u!=null)return h.find(T=>d>T.left-v.left&&d<T.right+v.right&&u>T.top-v.top&&u<T.bottom+v.bottom)||f;if(h.length>=2){if(xr(o)==="y"){const q=h[0],B=h[h.length-1],j=Bn(o)==="top",F=q.top,W=B.bottom,oe=j?q.left:B.left,H=j?q.right:B.right,K=H-oe,J=W-F;return{top:F,bottom:W,left:oe,right:H,width:K,height:J,x:oe,y:F}}const T=Bn(o)==="left",x=Ba(...h.map(q=>q.right)),k=_r(...h.map(q=>q.left)),C=h.filter(q=>T?q.left===k:q.right===x),E=C[0].top,P=C[C.length-1].bottom,D=k,R=x,O=R-D,I=P-E;return{top:E,bottom:P,left:D,right:R,width:O,height:I,x:D,y:E}}return f}const S=await r.getElementRects({reference:{getBoundingClientRect:b},floating:a.floating,strategy:i});return n.reference.x!==S.reference.x||n.reference.y!==S.reference.y||n.reference.width!==S.reference.width||n.reference.height!==S.reference.height?{reset:{rects:S}}:{}}}},wF=new Set(["left","top"]);async function mne(t,e){const{placement:o,platform:a,elements:n}=t,r=await(a.isRTL==null?void 0:a.isRTL(n.floating)),i=Bn(o),c=Tr(o),d=xr(o)==="y",u=wF.has(i)?-1:1,m=r&&d?-1:1,h=Pr(e,t);let{mainAxis:f,crossAxis:v,alignmentAxis:b}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof b=="number"&&(v=c==="end"?b*-1:b),d?{x:v*m,y:f*u}:{x:f*u,y:v*m}}const hne=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,a;const{x:n,y:r,placement:i,middlewareData:c}=e,d=await mne(e,t);return i===((o=c.offset)==null?void 0:o.placement)&&(a=c.arrow)!=null&&a.alignmentOffset?{}:{x:n+d.x,y:r+d.y,data:{...d,placement:i}}}}},gne=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:a,placement:n,platform:r}=e,{mainAxis:i=!0,crossAxis:c=!1,limiter:d={fn:x=>{let{x:k,y:C}=x;return{x:k,y:C}}},...u}=Pr(t,e),m={x:o,y:a},h=await r.detectOverflow(e,u),f=xr(Bn(n)),v=cE(f);let b=m[v],S=m[f];if(i){const x=v==="y"?"top":"left",k=v==="y"?"bottom":"right",C=b+h[x],E=b-h[k];b=zT(C,b,E)}if(c){const x=f==="y"?"top":"left",k=f==="y"?"bottom":"right",C=S+h[x],E=S-h[k];S=zT(C,S,E)}const T=d.fn({...e,[v]:b,[f]:S});return{...T,data:{x:T.x-o,y:T.y-a,enabled:{[v]:i,[f]:c}}}}}},fne=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:o,y:a,placement:n,rects:r,middlewareData:i}=e,{offset:c=0,mainAxis:d=!0,crossAxis:u=!0}=Pr(t,e),m={x:o,y:a},h=xr(n),f=cE(h);let v=m[f],b=m[h];const S=Pr(c,e),T=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(d){const C=f==="y"?"height":"width",E=r.reference[f]-r.floating[C]+T.mainAxis,P=r.reference[f]+r.reference[C]-T.mainAxis;v<E?v=E:v>P&&(v=P)}if(u){var x,k;const C=f==="y"?"width":"height",E=wF.has(Bn(n)),P=r.reference[h]-r.floating[C]+(E&&((x=i.offset)==null?void 0:x[h])||0)+(E?0:T.crossAxis),D=r.reference[h]+r.reference[C]+(E?0:((k=i.offset)==null?void 0:k[h])||0)-(E?T.crossAxis:0);b<P?b=P:b>D&&(b=D)}return{[f]:v,[h]:b}}}},vne=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var o,a;const{placement:n,rects:r,platform:i,elements:c}=e,{apply:d=()=>{},...u}=Pr(t,e),m=await i.detectOverflow(e,u),h=Bn(n),f=Tr(n),v=xr(n)==="y",{width:b,height:S}=r.floating;let T,x;h==="top"||h==="bottom"?(T=h,x=f===(await(i.isRTL==null?void 0:i.isRTL(c.floating))?"start":"end")?"left":"right"):(x=h,T=f==="end"?"top":"bottom");const k=S-m.top-m.bottom,C=b-m.left-m.right,E=_r(S-m[T],k),P=_r(b-m[x],C),D=!e.middlewareData.shift;let R=E,O=P;if((o=e.middlewareData.shift)!=null&&o.enabled.x&&(O=C),(a=e.middlewareData.shift)!=null&&a.enabled.y&&(R=k),D&&!f){const q=Ba(m.left,0),B=Ba(m.right,0),j=Ba(m.top,0),F=Ba(m.bottom,0);v?O=b-2*(q!==0||B!==0?q+B:Ba(m.left,m.right)):R=S-2*(j!==0||F!==0?j+F:Ba(m.top,m.bottom))}await d({...e,availableWidth:O,availableHeight:R});const I=await i.getDimensions(c.floating);return b!==I.width||S!==I.height?{reset:{rects:!0}}:{}}}};function cb(){return typeof window<"u"}function Jd(t){return xF(t)?(t.nodeName||"").toLowerCase():"#document"}function In(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Jr(t){var e;return(e=(xF(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function xF(t){return cb()?t instanceof Node||t instanceof In(t).Node:!1}function Ar(t){return cb()?t instanceof Element||t instanceof In(t).Element:!1}function Fs(t){return cb()?t instanceof HTMLElement||t instanceof In(t).HTMLElement:!1}function VO(t){return!cb()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof In(t).ShadowRoot}function vm(t){const{overflow:e,overflowX:o,overflowY:a,display:n}=Rr(t);return/auto|scroll|overlay|hidden|clip/.test(e+a+o)&&n!=="inline"&&n!=="contents"}function bne(t){return/^(table|td|th)$/.test(Jd(t))}function db(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const yne=/transform|translate|scale|rotate|perspective|filter/,Sne=/paint|layout|strict|content/,Tl=t=>!!t&&t!=="none";let Fw;function mE(t){const e=Ar(t)?Rr(t):t;return Tl(e.transform)||Tl(e.translate)||Tl(e.scale)||Tl(e.rotate)||Tl(e.perspective)||!hE()&&(Tl(e.backdropFilter)||Tl(e.filter))||yne.test(e.willChange||"")||Sne.test(e.contain||"")}function wne(t){let e=Vi(t);for(;Fs(e)&&!zd(e);){if(mE(e))return e;if(db(e))return null;e=Vi(e)}return null}function hE(){return Fw==null&&(Fw=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Fw}function zd(t){return/^(html|body|#document)$/.test(Jd(t))}function Rr(t){return In(t).getComputedStyle(t)}function ub(t){return Ar(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Vi(t){if(Jd(t)==="html")return t;const e=t.assignedSlot||t.parentNode||VO(t)&&t.host||Jr(t);return VO(e)?e.host:e}function TF(t){const e=Vi(t);return zd(e)?t.ownerDocument?t.ownerDocument.body:t.body:Fs(e)&&vm(e)?e:TF(e)}function Hp(t,e,o){var a;e===void 0&&(e=[]),o===void 0&&(o=!0);const n=TF(t),r=n===((a=t.ownerDocument)==null?void 0:a.body),i=In(n);if(r){const c=qT(i);return e.concat(i,i.visualViewport||[],vm(n)?n:[],c&&o?Hp(c):[])}else return e.concat(n,Hp(n,[],o))}function qT(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function kF(t){const e=Rr(t);let o=parseFloat(e.width)||0,a=parseFloat(e.height)||0;const n=Fs(t),r=n?t.offsetWidth:o,i=n?t.offsetHeight:a,c=nv(o)!==r||nv(a)!==i;return c&&(o=r,a=i),{width:o,height:a,$:c}}function gE(t){return Ar(t)?t:t.contextElement}function xd(t){const e=gE(t);if(!Fs(e))return Zr(1);const o=e.getBoundingClientRect(),{width:a,height:n,$:r}=kF(e);let i=(r?nv(o.width):o.width)/a,c=(r?nv(o.height):o.height)/n;return(!i||!Number.isFinite(i))&&(i=1),(!c||!Number.isFinite(c))&&(c=1),{x:i,y:c}}const xne=Zr(0);function EF(t){const e=In(t);return!hE()||!e.visualViewport?xne:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Tne(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==In(t)?!1:e}function zl(t,e,o,a){e===void 0&&(e=!1),o===void 0&&(o=!1);const n=t.getBoundingClientRect(),r=gE(t);let i=Zr(1);e&&(a?Ar(a)&&(i=xd(a)):i=xd(t));const c=Tne(r,o,a)?EF(r):Zr(0);let d=(n.left+c.x)/i.x,u=(n.top+c.y)/i.y,m=n.width/i.x,h=n.height/i.y;if(r){const f=In(r),v=a&&Ar(a)?In(a):a;let b=f,S=qT(b);for(;S&&a&&v!==b;){const T=xd(S),x=S.getBoundingClientRect(),k=Rr(S),C=x.left+(S.clientLeft+parseFloat(k.paddingLeft))*T.x,E=x.top+(S.clientTop+parseFloat(k.paddingTop))*T.y;d*=T.x,u*=T.y,m*=T.x,h*=T.y,d+=C,u+=E,b=In(S),S=qT(b)}}return jd({width:m,height:h,x:d,y:u})}function pb(t,e){const o=ub(t).scrollLeft;return e?e.left+o:zl(Jr(t)).left+o}function CF(t,e){const o=t.getBoundingClientRect(),a=o.left+e.scrollLeft-pb(t,o),n=o.top+e.scrollTop;return{x:a,y:n}}function kne(t){let{elements:e,rect:o,offsetParent:a,strategy:n}=t;const r=n==="fixed",i=Jr(a),c=e?db(e.floating):!1;if(a===i||c&&r)return o;let d={scrollLeft:0,scrollTop:0},u=Zr(1);const m=Zr(0),h=Fs(a);if((h||!h&&!r)&&((Jd(a)!=="body"||vm(i))&&(d=ub(a)),h)){const v=zl(a);u=xd(a),m.x=v.x+a.clientLeft,m.y=v.y+a.clientTop}const f=i&&!h&&!r?CF(i,d):Zr(0);return{width:o.width*u.x,height:o.height*u.y,x:o.x*u.x-d.scrollLeft*u.x+m.x+f.x,y:o.y*u.y-d.scrollTop*u.y+m.y+f.y}}function Ene(t){return Array.from(t.getClientRects())}function Cne(t){const e=Jr(t),o=ub(t),a=t.ownerDocument.body,n=Ba(e.scrollWidth,e.clientWidth,a.scrollWidth,a.clientWidth),r=Ba(e.scrollHeight,e.clientHeight,a.scrollHeight,a.clientHeight);let i=-o.scrollLeft+pb(t);const c=-o.scrollTop;return Rr(a).direction==="rtl"&&(i+=Ba(e.clientWidth,a.clientWidth)-n),{width:n,height:r,x:i,y:c}}const HO=25;function _ne(t,e){const o=In(t),a=Jr(t),n=o.visualViewport;let r=a.clientWidth,i=a.clientHeight,c=0,d=0;if(n){r=n.width,i=n.height;const m=hE();(!m||m&&e==="fixed")&&(c=n.offsetLeft,d=n.offsetTop)}const u=pb(a);if(u<=0){const m=a.ownerDocument,h=m.body,f=getComputedStyle(h),v=m.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,b=Math.abs(a.clientWidth-h.clientWidth-v);b<=HO&&(r-=b)}else u<=HO&&(r+=u);return{width:r,height:i,x:c,y:d}}function Pne(t,e){const o=zl(t,!0,e==="fixed"),a=o.top+t.clientTop,n=o.left+t.clientLeft,r=Fs(t)?xd(t):Zr(1),i=t.clientWidth*r.x,c=t.clientHeight*r.y,d=n*r.x,u=a*r.y;return{width:i,height:c,x:d,y:u}}function GO(t,e,o){let a;if(e==="viewport")a=_ne(t,o);else if(e==="document")a=Cne(Jr(t));else if(Ar(e))a=Pne(e,o);else{const n=EF(t);a={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return jd(a)}function _F(t,e){const o=Vi(t);return o===e||!Ar(o)||zd(o)?!1:Rr(o).position==="fixed"||_F(o,e)}function Ane(t,e){const o=e.get(t);if(o)return o;let a=Hp(t,[],!1).filter(c=>Ar(c)&&Jd(c)!=="body"),n=null;const r=Rr(t).position==="fixed";let i=r?Vi(t):t;for(;Ar(i)&&!zd(i);){const c=Rr(i),d=mE(i);!d&&c.position==="fixed"&&(n=null),(r?!d&&!n:!d&&c.position==="static"&&!!n&&(n.position==="absolute"||n.position==="fixed")||vm(i)&&!d&&_F(t,i))?a=a.filter(m=>m!==i):n=c,i=Vi(i)}return e.set(t,a),a}function Rne(t){let{element:e,boundary:o,rootBoundary:a,strategy:n}=t;const i=[...o==="clippingAncestors"?db(e)?[]:Ane(e,this._c):[].concat(o),a],c=GO(e,i[0],n);let d=c.top,u=c.right,m=c.bottom,h=c.left;for(let f=1;f<i.length;f++){const v=GO(e,i[f],n);d=Ba(v.top,d),u=_r(v.right,u),m=_r(v.bottom,m),h=Ba(v.left,h)}return{width:u-h,height:m-d,x:h,y:d}}function Dne(t){const{width:e,height:o}=kF(t);return{width:e,height:o}}function One(t,e,o){const a=Fs(e),n=Jr(e),r=o==="fixed",i=zl(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const d=Zr(0);function u(){d.x=pb(n)}if(a||!a&&!r)if((Jd(e)!=="body"||vm(n))&&(c=ub(e)),a){const v=zl(e,!0,r,e);d.x=v.x+e.clientLeft,d.y=v.y+e.clientTop}else n&&u();r&&!a&&n&&u();const m=n&&!a&&!r?CF(n,c):Zr(0),h=i.left+c.scrollLeft-d.x-m.x,f=i.top+c.scrollTop-d.y-m.y;return{x:h,y:f,width:i.width,height:i.height}}function jw(t){return Rr(t).position==="static"}function WO(t,e){if(!Fs(t)||Rr(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return Jr(t)===o&&(o=o.ownerDocument.body),o}function PF(t,e){const o=In(t);if(db(t))return o;if(!Fs(t)){let n=Vi(t);for(;n&&!zd(n);){if(Ar(n)&&!jw(n))return n;n=Vi(n)}return o}let a=WO(t,e);for(;a&&bne(a)&&jw(a);)a=WO(a,e);return a&&zd(a)&&jw(a)&&!mE(a)?o:a||wne(t)||o}const Nne=async function(t){const e=this.getOffsetParent||PF,o=this.getDimensions,a=await o(t.floating);return{reference:One(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function Mne(t){return Rr(t).direction==="rtl"}const Ine={convertOffsetParentRelativeRectToViewportRelativeRect:kne,getDocumentElement:Jr,getClippingRect:Rne,getOffsetParent:PF,getElementRects:Nne,getClientRects:Ene,getDimensions:Dne,getScale:xd,isElement:Ar,isRTL:Mne};function AF(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Lne(t,e){let o=null,a;const n=Jr(t);function r(){var c;clearTimeout(a),(c=o)==null||c.disconnect(),o=null}function i(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),r();const u=t.getBoundingClientRect(),{left:m,top:h,width:f,height:v}=u;if(c||e(),!f||!v)return;const b=Hg(h),S=Hg(n.clientWidth-(m+f)),T=Hg(n.clientHeight-(h+v)),x=Hg(m),C={rootMargin:-b+"px "+-S+"px "+-T+"px "+-x+"px",threshold:Ba(0,_r(1,d))||1};let E=!0;function P(D){const R=D[0].intersectionRatio;if(R!==d){if(!E)return i();R?i(!1,R):a=setTimeout(()=>{i(!1,1e-7)},1e3)}R===1&&!AF(u,t.getBoundingClientRect())&&i(),E=!1}try{o=new IntersectionObserver(P,{...C,root:n.ownerDocument})}catch{o=new IntersectionObserver(P,C)}o.observe(t)}return i(!0),r}function Bne(t,e,o,a){a===void 0&&(a={});const{ancestorScroll:n=!0,ancestorResize:r=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:d=!1}=a,u=gE(t),m=n||r?[...u?Hp(u):[],...e?Hp(e):[]]:[];m.forEach(x=>{n&&x.addEventListener("scroll",o,{passive:!0}),r&&x.addEventListener("resize",o)});const h=u&&c?Lne(u,o):null;let f=-1,v=null;i&&(v=new ResizeObserver(x=>{let[k]=x;k&&k.target===u&&v&&e&&(v.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var C;(C=v)==null||C.observe(e)})),o()}),u&&!d&&v.observe(u),e&&v.observe(e));let b,S=d?zl(t):null;d&&T();function T(){const x=zl(t);S&&!AF(S,x)&&o(),S=x,b=requestAnimationFrame(T)}return o(),()=>{var x;m.forEach(k=>{n&&k.removeEventListener("scroll",o),r&&k.removeEventListener("resize",o)}),h?.(),(x=v)==null||x.disconnect(),v=null,d&&cancelAnimationFrame(b)}}const Fne=hne,STe=lne,jne=gne,zne=cne,qne=vne,Une=dne,KO=sne,wTe=pne,$ne=fne,Vne=(t,e,o)=>{const a=new Map,n={platform:Ine,...o},r={...n.platform,_c:a};return rne(t,e,{...n,platform:r})};var Hne=typeof document<"u",Gne=function(){},Tf=Hne?A.useLayoutEffect:Gne;function iv(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let o,a,n;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(o=t.length,o!==e.length)return!1;for(a=o;a--!==0;)if(!iv(t[a],e[a]))return!1;return!0}if(n=Object.keys(t),o=n.length,o!==Object.keys(e).length)return!1;for(a=o;a--!==0;)if(!{}.hasOwnProperty.call(e,n[a]))return!1;for(a=o;a--!==0;){const r=n[a];if(!(r==="_owner"&&t.$$typeof)&&!iv(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function RF(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function YO(t,e){const o=RF(t);return Math.round(e*o)/o}function zw(t){const e=A.useRef(t);return Tf(()=>{e.current=t}),e}function Wne(t){t===void 0&&(t={});const{placement:e="bottom",strategy:o="absolute",middleware:a=[],platform:n,elements:{reference:r,floating:i}={},transform:c=!0,whileElementsMounted:d,open:u}=t,[m,h]=A.useState({x:0,y:0,strategy:o,placement:e,middlewareData:{},isPositioned:!1}),[f,v]=A.useState(a);iv(f,a)||v(a);const[b,S]=A.useState(null),[T,x]=A.useState(null),k=A.useCallback(J=>{J!==D.current&&(D.current=J,S(J))},[]),C=A.useCallback(J=>{J!==R.current&&(R.current=J,x(J))},[]),E=r||b,P=i||T,D=A.useRef(null),R=A.useRef(null),O=A.useRef(m),I=d!=null,q=zw(d),B=zw(n),j=zw(u),F=A.useCallback(()=>{if(!D.current||!R.current)return;const J={placement:e,strategy:o,middleware:f};B.current&&(J.platform=B.current),Vne(D.current,R.current,J).then(se=>{const Q={...se,isPositioned:j.current!==!1};W.current&&!iv(O.current,Q)&&(O.current=Q,im.flushSync(()=>{h(Q)}))})},[f,e,o,B,j]);Tf(()=>{u===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,h(J=>({...J,isPositioned:!1})))},[u]);const W=A.useRef(!1);Tf(()=>(W.current=!0,()=>{W.current=!1}),[]),Tf(()=>{if(E&&(D.current=E),P&&(R.current=P),E&&P){if(q.current)return q.current(E,P,F);F()}},[E,P,F,q,I]);const oe=A.useMemo(()=>({reference:D,floating:R,setReference:k,setFloating:C}),[k,C]),H=A.useMemo(()=>({reference:E,floating:P}),[E,P]),K=A.useMemo(()=>{const J={position:o,left:0,top:0};if(!H.floating)return J;const se=YO(H.floating,m.x),Q=YO(H.floating,m.y);return c?{...J,transform:"translate("+se+"px, "+Q+"px)",...RF(H.floating)>=1.5&&{willChange:"transform"}}:{position:o,left:se,top:Q}},[o,c,H.floating,m.x,m.y]);return A.useMemo(()=>({...m,update:F,refs:oe,elements:H,floatingStyles:K}),[m,F,oe,H,K])}const Kne=t=>{function e(o){return{}.hasOwnProperty.call(o,"current")}return{name:"arrow",options:t,fn(o){const{element:a,padding:n}=typeof t=="function"?t(o):t;return a&&e(a)?a.current!=null?KO({element:a.current,padding:n}).fn(o):{}:a?KO({element:a,padding:n}).fn(o):{}}}},Yne=(t,e)=>{const o=Fne(t);return{name:o.name,fn:o.fn,options:[t,e]}},Zne=(t,e)=>{const o=jne(t);return{name:o.name,fn:o.fn,options:[t,e]}},Qne=(t,e)=>({fn:$ne(t).fn,options:[t,e]}),Jne=(t,e)=>{const o=zne(t);return{name:o.name,fn:o.fn,options:[t,e]}},Xne=(t,e)=>{const o=qne(t);return{name:o.name,fn:o.fn,options:[t,e]}},ere=(t,e)=>{const o=Une(t);return{name:o.name,fn:o.fn,options:[t,e]}},tre=(t,e)=>{const o=Kne(t);return{name:o.name,fn:o.fn,options:[t,e]}};var ore="Arrow",DF=A.forwardRef((t,e)=>{const{children:o,width:a=10,height:n=5,...r}=t;return y.jsx(Oo.svg,{...r,ref:e,width:a,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?o:y.jsx("polygon",{points:"0,0 30,0 15,10"})})});DF.displayName=ore;var are=DF;function OF(t){const[e,o]=A.useState(void 0);return Er(()=>{if(t){o({width:t.offsetWidth,height:t.offsetHeight});const a=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;const r=n[0];let i,c;if("borderBoxSize"in r){const d=r.borderBoxSize,u=Array.isArray(d)?d[0]:d;i=u.inlineSize,c=u.blockSize}else i=t.offsetWidth,c=t.offsetHeight;o({width:i,height:c})});return a.observe(t,{box:"border-box"}),()=>a.unobserve(t)}else o(void 0)},[t]),e}var fE="Popper",[NF,MF]=Xi(fE),[nre,IF]=NF(fE),LF=t=>{const{__scopePopper:e,children:o}=t,[a,n]=A.useState(null);return y.jsx(nre,{scope:e,anchor:a,onAnchorChange:n,children:o})};LF.displayName=fE;var BF="PopperAnchor",FF=A.forwardRef((t,e)=>{const{__scopePopper:o,virtualRef:a,...n}=t,r=IF(BF,o),i=A.useRef(null),c=Vo(e,i),d=A.useRef(null);return A.useEffect(()=>{const u=d.current;d.current=a?.current||i.current,u!==d.current&&r.onAnchorChange(d.current)}),a?null:y.jsx(Oo.div,{...n,ref:c})});FF.displayName=BF;var vE="PopperContent",[rre,sre]=NF(vE),jF=A.forwardRef((t,e)=>{const{__scopePopper:o,side:a="bottom",sideOffset:n=0,align:r="center",alignOffset:i=0,arrowPadding:c=0,avoidCollisions:d=!0,collisionBoundary:u=[],collisionPadding:m=0,sticky:h="partial",hideWhenDetached:f=!1,updatePositionStrategy:v="optimized",onPlaced:b,...S}=t,T=IF(vE,o),[x,k]=A.useState(null),C=Vo(e,de=>k(de)),[E,P]=A.useState(null),D=OF(E),R=D?.width??0,O=D?.height??0,I=a+(r!=="center"?"-"+r:""),q=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},B=Array.isArray(u)?u:[u],j=B.length>0,F={padding:q,boundary:B.filter(lre),altBoundary:j},{refs:W,floatingStyles:oe,placement:H,isPositioned:K,middlewareData:J}=Wne({strategy:"fixed",placement:I,whileElementsMounted:(...de)=>Bne(...de,{animationFrame:v==="always"}),elements:{reference:T.anchor},middleware:[Yne({mainAxis:n+O,alignmentAxis:i}),d&&Zne({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?Qne():void 0,...F}),d&&Jne({...F}),Xne({...F,apply:({elements:de,rects:ue,availableWidth:Ee,availableHeight:qe})=>{const{width:Z,height:ne}=ue.reference,ve=de.floating.style;ve.setProperty("--radix-popper-available-width",`${Ee}px`),ve.setProperty("--radix-popper-available-height",`${qe}px`),ve.setProperty("--radix-popper-anchor-width",`${Z}px`),ve.setProperty("--radix-popper-anchor-height",`${ne}px`)}}),E&&tre({element:E,padding:c}),cre({arrowWidth:R,arrowHeight:O}),f&&ere({strategy:"referenceHidden",...F})]}),[se,Q]=UF(H),M=Cr(b);Er(()=>{K&&M?.()},[K,M]);const G=J.arrow?.x,V=J.arrow?.y,L=J.arrow?.centerOffset!==0,[z,X]=A.useState();return Er(()=>{x&&X(window.getComputedStyle(x).zIndex)},[x]),y.jsx("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...oe,transform:K?oe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:z,"--radix-popper-transform-origin":[J.transformOrigin?.x,J.transformOrigin?.y].join(" "),...J.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:y.jsx(rre,{scope:o,placedSide:se,onArrowChange:P,arrowX:G,arrowY:V,shouldHideArrow:L,children:y.jsx(Oo.div,{"data-side":se,"data-align":Q,...S,ref:C,style:{...S.style,animation:K?void 0:"none"}})})})});jF.displayName=vE;var zF="PopperArrow",ire={top:"bottom",right:"left",bottom:"top",left:"right"},qF=A.forwardRef(function(e,o){const{__scopePopper:a,...n}=e,r=sre(zF,a),i=ire[r.placedSide];return y.jsx("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:y.jsx(are,{...n,ref:o,style:{...n.style,display:"block"}})})});qF.displayName=zF;function lre(t){return t!==null}var cre=t=>({name:"transformOrigin",options:t,fn(e){const{placement:o,rects:a,middlewareData:n}=e,i=n.arrow?.centerOffset!==0,c=i?0:t.arrowWidth,d=i?0:t.arrowHeight,[u,m]=UF(o),h={start:"0%",center:"50%",end:"100%"}[m],f=(n.arrow?.x??0)+c/2,v=(n.arrow?.y??0)+d/2;let b="",S="";return u==="bottom"?(b=i?h:`${f}px`,S=`${-d}px`):u==="top"?(b=i?h:`${f}px`,S=`${a.floating.height+d}px`):u==="right"?(b=`${-d}px`,S=i?h:`${v}px`):u==="left"&&(b=`${a.floating.width+d}px`,S=i?h:`${v}px`),{data:{x:b,y:S}}}});function UF(t){const[e,o="center"]=t.split("-");return[e,o]}var $F=LF,dre=FF,ure=jF,pre=qF,mre="Portal",bE=A.forwardRef((t,e)=>{const{container:o,...a}=t,[n,r]=A.useState(!1);Er(()=>r(!0),[]);const i=o||n&&globalThis?.document?.body;return i?JM.createPortal(y.jsx(Oo.div,{...a,ref:e}),i):null});bE.displayName=mre;function hre(t,e){return A.useReducer((o,a)=>e[o][a]??o,t)}var js=t=>{const{present:e,children:o}=t,a=gre(e),n=typeof o=="function"?o({present:a.isPresent}):A.Children.only(o),r=Vo(a.ref,fre(n));return typeof o=="function"||a.isPresent?A.cloneElement(n,{ref:r}):null};js.displayName="Presence";function gre(t){const[e,o]=A.useState(),a=A.useRef(null),n=A.useRef(t),r=A.useRef("none"),i=t?"mounted":"unmounted",[c,d]=hre(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return A.useEffect(()=>{const u=Gg(a.current);r.current=c==="mounted"?u:"none"},[c]),Er(()=>{const u=a.current,m=n.current;if(m!==t){const f=r.current,v=Gg(u);t?d("MOUNT"):v==="none"||u?.display==="none"?d("UNMOUNT"):d(m&&f!==v?"ANIMATION_OUT":"UNMOUNT"),n.current=t}},[t,d]),Er(()=>{if(e){let u;const m=e.ownerDocument.defaultView??window,h=v=>{const S=Gg(a.current).includes(CSS.escape(v.animationName));if(v.target===e&&S&&(d("ANIMATION_END"),!n.current)){const T=e.style.animationFillMode;e.style.animationFillMode="forwards",u=m.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=T)})}},f=v=>{v.target===e&&(r.current=Gg(a.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",h),e.addEventListener("animationend",h),()=>{m.clearTimeout(u),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",h),e.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:A.useCallback(u=>{a.current=u?getComputedStyle(u):null,o(u)},[])}}function Gg(t){return t?.animationName||"none"}function fre(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,o=e&&"isReactWarning"in e&&e.isReactWarning;return o?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,o=e&&"isReactWarning"in e&&e.isReactWarning,o?t.props.ref:t.props.ref||t.ref)}var qw="rovingFocusGroup.onEntryFocus",vre={bubbles:!1,cancelable:!0},bm="RovingFocusGroup",[UT,VF,bre]=pF(bm),[yre,HF]=Xi(bm,[bre]),[Sre,wre]=yre(bm),GF=A.forwardRef((t,e)=>y.jsx(UT.Provider,{scope:t.__scopeRovingFocusGroup,children:y.jsx(UT.Slot,{scope:t.__scopeRovingFocusGroup,children:y.jsx(xre,{...t,ref:e})})}));GF.displayName=bm;var xre=A.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:o,orientation:a,loop:n=!1,dir:r,currentTabStopId:i,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:d,onEntryFocus:u,preventScrollOnEntryFocus:m=!1,...h}=t,f=A.useRef(null),v=Vo(e,f),b=mF(r),[S,T]=fm({prop:i,defaultProp:c??null,onChange:d,caller:bm}),[x,k]=A.useState(!1),C=Cr(u),E=VF(o),P=A.useRef(!1),[D,R]=A.useState(0);return A.useEffect(()=>{const O=f.current;if(O)return O.addEventListener(qw,C),()=>O.removeEventListener(qw,C)},[C]),y.jsx(Sre,{scope:o,orientation:a,dir:b,loop:n,currentTabStopId:S,onItemFocus:A.useCallback(O=>T(O),[T]),onItemShiftTab:A.useCallback(()=>k(!0),[]),onFocusableItemAdd:A.useCallback(()=>R(O=>O+1),[]),onFocusableItemRemove:A.useCallback(()=>R(O=>O-1),[]),children:y.jsx(Oo.div,{tabIndex:x||D===0?-1:0,"data-orientation":a,...h,ref:v,style:{outline:"none",...t.style},onMouseDown:mt(t.onMouseDown,()=>{P.current=!0}),onFocus:mt(t.onFocus,O=>{const I=!P.current;if(O.target===O.currentTarget&&I&&!x){const q=new CustomEvent(qw,vre);if(O.currentTarget.dispatchEvent(q),!q.defaultPrevented){const B=E().filter(H=>H.focusable),j=B.find(H=>H.active),F=B.find(H=>H.id===S),oe=[j,F,...B].filter(Boolean).map(H=>H.ref.current);YF(oe,m)}}P.current=!1}),onBlur:mt(t.onBlur,()=>k(!1))})})}),WF="RovingFocusGroupItem",KF=A.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:o,focusable:a=!0,active:n=!1,tabStopId:r,children:i,...c}=t,d=Fi(),u=r||d,m=wre(WF,o),h=m.currentTabStopId===u,f=VF(o),{onFocusableItemAdd:v,onFocusableItemRemove:b,currentTabStopId:S}=m;return A.useEffect(()=>{if(a)return v(),()=>b()},[a,v,b]),y.jsx(UT.ItemSlot,{scope:o,id:u,focusable:a,active:n,children:y.jsx(Oo.span,{tabIndex:h?0:-1,"data-orientation":m.orientation,...c,ref:e,onMouseDown:mt(t.onMouseDown,T=>{a?m.onItemFocus(u):T.preventDefault()}),onFocus:mt(t.onFocus,()=>m.onItemFocus(u)),onKeyDown:mt(t.onKeyDown,T=>{if(T.key==="Tab"&&T.shiftKey){m.onItemShiftTab();return}if(T.target!==T.currentTarget)return;const x=Ere(T,m.orientation,m.dir);if(x!==void 0){if(T.metaKey||T.ctrlKey||T.altKey||T.shiftKey)return;T.preventDefault();let C=f().filter(E=>E.focusable).map(E=>E.ref.current);if(x==="last")C.reverse();else if(x==="prev"||x==="next"){x==="prev"&&C.reverse();const E=C.indexOf(T.currentTarget);C=m.loop?Cre(C,E+1):C.slice(E+1)}setTimeout(()=>YF(C))}}),children:typeof i=="function"?i({isCurrentTabStop:h,hasTabStop:S!=null}):i})})});KF.displayName=WF;var Tre={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function kre(t,e){return e!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function Ere(t,e,o){const a=kre(t.key,o);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(a))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(a)))return Tre[a]}function YF(t,e=!1){const o=document.activeElement;for(const a of t)if(a===o||(a.focus({preventScroll:e}),document.activeElement!==o))return}function Cre(t,e){return t.map((o,a)=>t[(e+a)%t.length])}var _re=GF,Pre=KF,Are=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Wc=new WeakMap,Wg=new WeakMap,Kg={},Uw=0,ZF=function(t){return t&&(t.host||ZF(t.parentNode))},Rre=function(t,e){return e.map(function(o){if(t.contains(o))return o;var a=ZF(o);return a&&t.contains(a)?a:(console.error("aria-hidden",o,"in not contained inside",t,". Doing nothing"),null)}).filter(function(o){return!!o})},Dre=function(t,e,o,a){var n=Rre(e,Array.isArray(t)?t:[t]);Kg[o]||(Kg[o]=new WeakMap);var r=Kg[o],i=[],c=new Set,d=new Set(n),u=function(h){!h||c.has(h)||(c.add(h),u(h.parentNode))};n.forEach(u);var m=function(h){!h||d.has(h)||Array.prototype.forEach.call(h.children,function(f){if(c.has(f))m(f);else try{var v=f.getAttribute(a),b=v!==null&&v!=="false",S=(Wc.get(f)||0)+1,T=(r.get(f)||0)+1;Wc.set(f,S),r.set(f,T),i.push(f),S===1&&b&&Wg.set(f,!0),T===1&&f.setAttribute(o,"true"),b||f.setAttribute(a,"true")}catch(x){console.error("aria-hidden: cannot operate on ",f,x)}})};return m(e),c.clear(),Uw++,function(){i.forEach(function(h){var f=Wc.get(h)-1,v=r.get(h)-1;Wc.set(h,f),r.set(h,v),f||(Wg.has(h)||h.removeAttribute(a),Wg.delete(h)),v||h.removeAttribute(o)}),Uw--,Uw||(Wc=new WeakMap,Wc=new WeakMap,Wg=new WeakMap,Kg={})}},QF=function(t,e,o){o===void 0&&(o="data-aria-hidden");var a=Array.from(Array.isArray(t)?t:[t]),n=Are(t);return n?(a.push.apply(a,Array.from(n.querySelectorAll("[aria-live], script"))),Dre(a,n,o,"aria-hidden")):function(){return null}},Gr=function(){return Gr=Object.assign||function(e){for(var o,a=1,n=arguments.length;a<n;a++){o=arguments[a];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Gr.apply(this,arguments)};function JF(t,e){var o={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(o[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(t);n<a.length;n++)e.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(t,a[n])&&(o[a[n]]=t[a[n]]);return o}function Ore(t,e,o){if(o||arguments.length===2)for(var a=0,n=e.length,r;a<n;a++)(r||!(a in e))&&(r||(r=Array.prototype.slice.call(e,0,a)),r[a]=e[a]);return t.concat(r||Array.prototype.slice.call(e))}var kf="right-scroll-bar-position",Ef="width-before-scroll-bar",Nre="with-scroll-bars-hidden",Mre="--removed-body-scroll-bar-size";function $w(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function Ire(t,e){var o=A.useState(function(){return{value:t,callback:e,facade:{get current(){return o.value},set current(a){var n=o.value;n!==a&&(o.value=a,o.callback(a,n))}}}})[0];return o.callback=e,o.facade}var Lre=typeof window<"u"?A.useLayoutEffect:A.useEffect,ZO=new WeakMap;function Bre(t,e){var o=Ire(null,function(a){return t.forEach(function(n){return $w(n,a)})});return Lre(function(){var a=ZO.get(o);if(a){var n=new Set(a),r=new Set(t),i=o.current;n.forEach(function(c){r.has(c)||$w(c,null)}),r.forEach(function(c){n.has(c)||$w(c,i)})}ZO.set(o,t)},[t]),o}function Fre(t){return t}function jre(t,e){e===void 0&&(e=Fre);var o=[],a=!1,n={read:function(){if(a)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:t},useMedium:function(r){var i=e(r,a);return o.push(i),function(){o=o.filter(function(c){return c!==i})}},assignSyncMedium:function(r){for(a=!0;o.length;){var i=o;o=[],i.forEach(r)}o={push:function(c){return r(c)},filter:function(){return o}}},assignMedium:function(r){a=!0;var i=[];if(o.length){var c=o;o=[],c.forEach(r),i=o}var d=function(){var m=i;i=[],m.forEach(r)},u=function(){return Promise.resolve().then(d)};u(),o={push:function(m){i.push(m),u()},filter:function(m){return i=i.filter(m),o}}}};return n}function zre(t){t===void 0&&(t={});var e=jre(null);return e.options=Gr({async:!0,ssr:!1},t),e}var XF=function(t){var e=t.sideCar,o=JF(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var a=e.read();if(!a)throw new Error("Sidecar medium not found");return A.createElement(a,Gr({},o))};XF.isSideCarExport=!0;function qre(t,e){return t.useMedium(e),XF}var ej=zre(),Vw=function(){},mb=A.forwardRef(function(t,e){var o=A.useRef(null),a=A.useState({onScrollCapture:Vw,onWheelCapture:Vw,onTouchMoveCapture:Vw}),n=a[0],r=a[1],i=t.forwardProps,c=t.children,d=t.className,u=t.removeScrollBar,m=t.enabled,h=t.shards,f=t.sideCar,v=t.noRelative,b=t.noIsolation,S=t.inert,T=t.allowPinchZoom,x=t.as,k=x===void 0?"div":x,C=t.gapMode,E=JF(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=f,D=Bre([o,e]),R=Gr(Gr({},E),n);return A.createElement(A.Fragment,null,m&&A.createElement(P,{sideCar:ej,removeScrollBar:u,shards:h,noRelative:v,noIsolation:b,inert:S,setCallbacks:r,allowPinchZoom:!!T,lockRef:o,gapMode:C}),i?A.cloneElement(A.Children.only(c),Gr(Gr({},R),{ref:D})):A.createElement(k,Gr({},R,{className:d,ref:D}),c))});mb.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};mb.classNames={fullWidth:Ef,zeroRight:kf};var Ure=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function $re(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=Ure();return e&&t.setAttribute("nonce",e),t}function Vre(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function Hre(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var Gre=function(){var t=0,e=null;return{add:function(o){t==0&&(e=$re())&&(Vre(e,o),Hre(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},Wre=function(){var t=Gre();return function(e,o){A.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&o])}},tj=function(){var t=Wre(),e=function(o){var a=o.styles,n=o.dynamic;return t(a,n),null};return e},Kre={left:0,top:0,right:0,gap:0},Hw=function(t){return parseInt(t||"",10)||0},Yre=function(t){var e=window.getComputedStyle(document.body),o=e[t==="padding"?"paddingLeft":"marginLeft"],a=e[t==="padding"?"paddingTop":"marginTop"],n=e[t==="padding"?"paddingRight":"marginRight"];return[Hw(o),Hw(a),Hw(n)]},Zre=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return Kre;var e=Yre(t),o=document.documentElement.clientWidth,a=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,a-o+e[2]-e[0])}},Qre=tj(),Td="data-scroll-locked",Jre=function(t,e,o,a){var n=t.left,r=t.top,i=t.right,c=t.gap;return o===void 0&&(o="margin"),`
128
128
  .`.concat(Nre,` {
129
129
  overflow: hidden `).concat(a,`;
130
130
  padding-right: `).concat(c,"px ").concat(a,`;
@@ -165,7 +165,7 @@ Este site ainda não reporta sections de post — quando reportar, cite elas aqu
165
165
  .block-interactivity-`.concat(t,` {pointer-events: none;}
166
166
  .allow-interactivity-`).concat(t,` {pointer-events: all;}
167
167
  `)},dse=0,Yc=[];function use(t){var e=A.useRef([]),o=A.useRef([0,0]),a=A.useRef(),n=A.useState(dse++)[0],r=A.useState(tj)[0],i=A.useRef(t);A.useEffect(function(){i.current=t},[t]),A.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(n));var S=Ore([t.lockRef.current],(t.shards||[]).map(e2),!0).filter(Boolean);return S.forEach(function(T){return T.classList.add("allow-interactivity-".concat(n))}),function(){document.body.classList.remove("block-interactivity-".concat(n)),S.forEach(function(T){return T.classList.remove("allow-interactivity-".concat(n))})}}},[t.inert,t.lockRef.current,t.shards]);var c=A.useCallback(function(S,T){if("touches"in S&&S.touches.length===2||S.type==="wheel"&&S.ctrlKey)return!i.current.allowPinchZoom;var x=Zg(S),k=o.current,C="deltaX"in S?S.deltaX:k[0]-x[0],E="deltaY"in S?S.deltaY:k[1]-x[1],P,D=S.target,R=Math.abs(C)>Math.abs(E)?"h":"v";if("touches"in S&&R==="h"&&D.type==="range")return!1;var O=window.getSelection(),I=O&&O.anchorNode,q=I?I===D||I.contains(D):!1;if(q)return!1;var B=JO(R,D);if(!B)return!0;if(B?P=R:(P=R==="v"?"h":"v",B=JO(R,D)),!B)return!1;if(!a.current&&"changedTouches"in S&&(C||E)&&(a.current=P),!P)return!0;var j=a.current||P;return ise(j,T,S,j==="h"?C:E)},[]),d=A.useCallback(function(S){var T=S;if(!(!Yc.length||Yc[Yc.length-1]!==r)){var x="deltaY"in T?XO(T):Zg(T),k=e.current.filter(function(P){return P.name===T.type&&(P.target===T.target||T.target===P.shadowParent)&&lse(P.delta,x)})[0];if(k&&k.should){T.cancelable&&T.preventDefault();return}if(!k){var C=(i.current.shards||[]).map(e2).filter(Boolean).filter(function(P){return P.contains(T.target)}),E=C.length>0?c(T,C[0]):!i.current.noIsolation;E&&T.cancelable&&T.preventDefault()}}},[]),u=A.useCallback(function(S,T,x,k){var C={name:S,delta:T,target:x,should:k,shadowParent:pse(x)};e.current.push(C),setTimeout(function(){e.current=e.current.filter(function(E){return E!==C})},1)},[]),m=A.useCallback(function(S){o.current=Zg(S),a.current=void 0},[]),h=A.useCallback(function(S){u(S.type,XO(S),S.target,c(S,t.lockRef.current))},[]),f=A.useCallback(function(S){u(S.type,Zg(S),S.target,c(S,t.lockRef.current))},[]);A.useEffect(function(){return Yc.push(r),t.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:f}),document.addEventListener("wheel",d,Kc),document.addEventListener("touchmove",d,Kc),document.addEventListener("touchstart",m,Kc),function(){Yc=Yc.filter(function(S){return S!==r}),document.removeEventListener("wheel",d,Kc),document.removeEventListener("touchmove",d,Kc),document.removeEventListener("touchstart",m,Kc)}},[]);var v=t.removeScrollBar,b=t.inert;return A.createElement(A.Fragment,null,b?A.createElement(r,{styles:cse(n)}):null,v?A.createElement(ese,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function pse(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const mse=qre(ej,use);var yE=A.forwardRef(function(t,e){return A.createElement(mb,Gr({},t,{ref:e,sideCar:mse}))});yE.classNames=mb.classNames;var VT=["Enter"," "],hse=["ArrowDown","PageUp","Home"],rj=["ArrowUp","PageDown","End"],gse=[...hse,...rj],fse={ltr:[...VT,"ArrowRight"],rtl:[...VT,"ArrowLeft"]},vse={ltr:["ArrowLeft"],rtl:["ArrowRight"]},ym="Menu",[Gp,bse,yse]=pF(ym),[Xl,sj]=Xi(ym,[yse,MF,HF]),Sm=MF(),ij=HF(),[lj,el]=Xl(ym),[Sse,wm]=Xl(ym),cj=t=>{const{__scopeMenu:e,open:o=!1,children:a,dir:n,onOpenChange:r,modal:i=!0}=t,c=Sm(e),[d,u]=A.useState(null),m=A.useRef(!1),h=Cr(r),f=mF(n);return A.useEffect(()=>{const v=()=>{m.current=!0,document.addEventListener("pointerdown",b,{capture:!0,once:!0}),document.addEventListener("pointermove",b,{capture:!0,once:!0})},b=()=>m.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",b,{capture:!0}),document.removeEventListener("pointermove",b,{capture:!0})}},[]),y.jsx($F,{...c,children:y.jsx(lj,{scope:e,open:o,onOpenChange:h,content:d,onContentChange:u,children:y.jsx(Sse,{scope:e,onClose:A.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:m,dir:f,modal:i,children:a})})})};cj.displayName=ym;var wse="MenuAnchor",SE=A.forwardRef((t,e)=>{const{__scopeMenu:o,...a}=t,n=Sm(o);return y.jsx(dre,{...n,...a,ref:e})});SE.displayName=wse;var wE="MenuPortal",[xse,dj]=Xl(wE,{forceMount:void 0}),uj=t=>{const{__scopeMenu:e,forceMount:o,children:a,container:n}=t,r=el(wE,e);return y.jsx(xse,{scope:e,forceMount:o,children:y.jsx(js,{present:o||r.open,children:y.jsx(bE,{asChild:!0,container:n,children:a})})})};uj.displayName=wE;var nr="MenuContent",[Tse,xE]=Xl(nr),pj=A.forwardRef((t,e)=>{const o=dj(nr,t.__scopeMenu),{forceMount:a=o.forceMount,...n}=t,r=el(nr,t.__scopeMenu),i=wm(nr,t.__scopeMenu);return y.jsx(Gp.Provider,{scope:t.__scopeMenu,children:y.jsx(js,{present:a||r.open,children:y.jsx(Gp.Slot,{scope:t.__scopeMenu,children:i.modal?y.jsx(kse,{...n,ref:e}):y.jsx(Ese,{...n,ref:e})})})})}),kse=A.forwardRef((t,e)=>{const o=el(nr,t.__scopeMenu),a=A.useRef(null),n=Vo(e,a);return A.useEffect(()=>{const r=a.current;if(r)return QF(r)},[]),y.jsx(TE,{...t,ref:n,trapFocus:o.open,disableOutsidePointerEvents:o.open,disableOutsideScroll:!0,onFocusOutside:mt(t.onFocusOutside,r=>r.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>o.onOpenChange(!1)})}),Ese=A.forwardRef((t,e)=>{const o=el(nr,t.__scopeMenu);return y.jsx(TE,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>o.onOpenChange(!1)})}),Cse=Vp("MenuContent.ScrollLock"),TE=A.forwardRef((t,e)=>{const{__scopeMenu:o,loop:a=!1,trapFocus:n,onOpenAutoFocus:r,onCloseAutoFocus:i,disableOutsidePointerEvents:c,onEntryFocus:d,onEscapeKeyDown:u,onPointerDownOutside:m,onFocusOutside:h,onInteractOutside:f,onDismiss:v,disableOutsideScroll:b,...S}=t,T=el(nr,o),x=wm(nr,o),k=Sm(o),C=ij(o),E=bse(o),[P,D]=A.useState(null),R=A.useRef(null),O=Vo(e,R,T.onContentChange),I=A.useRef(0),q=A.useRef(""),B=A.useRef(0),j=A.useRef(null),F=A.useRef("right"),W=A.useRef(0),oe=b?yE:A.Fragment,H=b?{as:Cse,allowPinchZoom:!0}:void 0,K=se=>{const Q=q.current+se,M=E().filter(de=>!de.disabled),G=document.activeElement,V=M.find(de=>de.ref.current===G)?.textValue,L=M.map(de=>de.textValue),z=Fse(L,Q,V),X=M.find(de=>de.textValue===z)?.ref.current;(function de(ue){q.current=ue,window.clearTimeout(I.current),ue!==""&&(I.current=window.setTimeout(()=>de(""),1e3))})(Q),X&&setTimeout(()=>X.focus())};A.useEffect(()=>()=>window.clearTimeout(I.current),[]),fF();const J=A.useCallback(se=>F.current===j.current?.side&&zse(se,j.current?.area),[]);return y.jsx(Tse,{scope:o,searchRef:q,onItemEnter:A.useCallback(se=>{J(se)&&se.preventDefault()},[J]),onItemLeave:A.useCallback(se=>{J(se)||(R.current?.focus(),D(null))},[J]),onTriggerLeave:A.useCallback(se=>{J(se)&&se.preventDefault()},[J]),pointerGraceTimerRef:B,onPointerGraceIntentChange:A.useCallback(se=>{j.current=se},[]),children:y.jsx(oe,{...H,children:y.jsx(lE,{asChild:!0,trapped:n,onMountAutoFocus:mt(r,se=>{se.preventDefault(),R.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:i,children:y.jsx(iE,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:u,onPointerDownOutside:m,onFocusOutside:h,onInteractOutside:f,onDismiss:v,children:y.jsx(_re,{asChild:!0,...C,dir:x.dir,orientation:"vertical",loop:a,currentTabStopId:P,onCurrentTabStopIdChange:D,onEntryFocus:mt(d,se=>{x.isUsingKeyboardRef.current||se.preventDefault()}),preventScrollOnEntryFocus:!0,children:y.jsx(ure,{role:"menu","aria-orientation":"vertical","data-state":Aj(T.open),"data-radix-menu-content":"",dir:x.dir,...k,...S,ref:O,style:{outline:"none",...S.style},onKeyDown:mt(S.onKeyDown,se=>{const M=se.target.closest("[data-radix-menu-content]")===se.currentTarget,G=se.ctrlKey||se.altKey||se.metaKey,V=se.key.length===1;M&&(se.key==="Tab"&&se.preventDefault(),!G&&V&&K(se.key));const L=R.current;if(se.target!==L||!gse.includes(se.key))return;se.preventDefault();const X=E().filter(de=>!de.disabled).map(de=>de.ref.current);rj.includes(se.key)&&X.reverse(),Lse(X)}),onBlur:mt(t.onBlur,se=>{se.currentTarget.contains(se.target)||(window.clearTimeout(I.current),q.current="")}),onPointerMove:mt(t.onPointerMove,Wp(se=>{const Q=se.target,M=W.current!==se.clientX;if(se.currentTarget.contains(Q)&&M){const G=se.clientX>W.current?"right":"left";F.current=G,W.current=se.clientX}}))})})})})})})});pj.displayName=nr;var _se="MenuGroup",kE=A.forwardRef((t,e)=>{const{__scopeMenu:o,...a}=t;return y.jsx(Oo.div,{role:"group",...a,ref:e})});kE.displayName=_se;var Pse="MenuLabel",mj=A.forwardRef((t,e)=>{const{__scopeMenu:o,...a}=t;return y.jsx(Oo.div,{...a,ref:e})});mj.displayName=Pse;var lv="MenuItem",t2="menu.itemSelect",hb=A.forwardRef((t,e)=>{const{disabled:o=!1,onSelect:a,...n}=t,r=A.useRef(null),i=wm(lv,t.__scopeMenu),c=xE(lv,t.__scopeMenu),d=Vo(e,r),u=A.useRef(!1),m=()=>{const h=r.current;if(!o&&h){const f=new CustomEvent(t2,{bubbles:!0,cancelable:!0});h.addEventListener(t2,v=>a?.(v),{once:!0}),uF(h,f),f.defaultPrevented?u.current=!1:i.onClose()}};return y.jsx(hj,{...n,ref:d,disabled:o,onClick:mt(t.onClick,m),onPointerDown:h=>{t.onPointerDown?.(h),u.current=!0},onPointerUp:mt(t.onPointerUp,h=>{u.current||h.currentTarget?.click()}),onKeyDown:mt(t.onKeyDown,h=>{const f=c.searchRef.current!=="";o||f&&h.key===" "||VT.includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})})});hb.displayName=lv;var hj=A.forwardRef((t,e)=>{const{__scopeMenu:o,disabled:a=!1,textValue:n,...r}=t,i=xE(lv,o),c=ij(o),d=A.useRef(null),u=Vo(e,d),[m,h]=A.useState(!1),[f,v]=A.useState("");return A.useEffect(()=>{const b=d.current;b&&v((b.textContent??"").trim())},[r.children]),y.jsx(Gp.ItemSlot,{scope:o,disabled:a,textValue:n??f,children:y.jsx(Pre,{asChild:!0,...c,focusable:!a,children:y.jsx(Oo.div,{role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":a||void 0,"data-disabled":a?"":void 0,...r,ref:u,onPointerMove:mt(t.onPointerMove,Wp(b=>{a?i.onItemLeave(b):(i.onItemEnter(b),b.defaultPrevented||b.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:mt(t.onPointerLeave,Wp(b=>i.onItemLeave(b))),onFocus:mt(t.onFocus,()=>h(!0)),onBlur:mt(t.onBlur,()=>h(!1))})})})}),Ase="MenuCheckboxItem",gj=A.forwardRef((t,e)=>{const{checked:o=!1,onCheckedChange:a,...n}=t;return y.jsx(Sj,{scope:t.__scopeMenu,checked:o,children:y.jsx(hb,{role:"menuitemcheckbox","aria-checked":cv(o)?"mixed":o,...n,ref:e,"data-state":_E(o),onSelect:mt(n.onSelect,()=>a?.(cv(o)?!0:!o),{checkForDefaultPrevented:!1})})})});gj.displayName=Ase;var fj="MenuRadioGroup",[Rse,Dse]=Xl(fj,{value:void 0,onValueChange:()=>{}}),vj=A.forwardRef((t,e)=>{const{value:o,onValueChange:a,...n}=t,r=Cr(a);return y.jsx(Rse,{scope:t.__scopeMenu,value:o,onValueChange:r,children:y.jsx(kE,{...n,ref:e})})});vj.displayName=fj;var bj="MenuRadioItem",yj=A.forwardRef((t,e)=>{const{value:o,...a}=t,n=Dse(bj,t.__scopeMenu),r=o===n.value;return y.jsx(Sj,{scope:t.__scopeMenu,checked:r,children:y.jsx(hb,{role:"menuitemradio","aria-checked":r,...a,ref:e,"data-state":_E(r),onSelect:mt(a.onSelect,()=>n.onValueChange?.(o),{checkForDefaultPrevented:!1})})})});yj.displayName=bj;var EE="MenuItemIndicator",[Sj,Ose]=Xl(EE,{checked:!1}),wj=A.forwardRef((t,e)=>{const{__scopeMenu:o,forceMount:a,...n}=t,r=Ose(EE,o);return y.jsx(js,{present:a||cv(r.checked)||r.checked===!0,children:y.jsx(Oo.span,{...n,ref:e,"data-state":_E(r.checked)})})});wj.displayName=EE;var Nse="MenuSeparator",xj=A.forwardRef((t,e)=>{const{__scopeMenu:o,...a}=t;return y.jsx(Oo.div,{role:"separator","aria-orientation":"horizontal",...a,ref:e})});xj.displayName=Nse;var Mse="MenuArrow",Tj=A.forwardRef((t,e)=>{const{__scopeMenu:o,...a}=t,n=Sm(o);return y.jsx(pre,{...n,...a,ref:e})});Tj.displayName=Mse;var CE="MenuSub",[Ise,kj]=Xl(CE),Ej=t=>{const{__scopeMenu:e,children:o,open:a=!1,onOpenChange:n}=t,r=el(CE,e),i=Sm(e),[c,d]=A.useState(null),[u,m]=A.useState(null),h=Cr(n);return A.useEffect(()=>(r.open===!1&&h(!1),()=>h(!1)),[r.open,h]),y.jsx($F,{...i,children:y.jsx(lj,{scope:e,open:a,onOpenChange:h,content:u,onContentChange:m,children:y.jsx(Ise,{scope:e,contentId:Fi(),triggerId:Fi(),trigger:c,onTriggerChange:d,children:o})})})};Ej.displayName=CE;var fp="MenuSubTrigger",Cj=A.forwardRef((t,e)=>{const o=el(fp,t.__scopeMenu),a=wm(fp,t.__scopeMenu),n=kj(fp,t.__scopeMenu),r=xE(fp,t.__scopeMenu),i=A.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:d}=r,u={__scopeMenu:t.__scopeMenu},m=A.useCallback(()=>{i.current&&window.clearTimeout(i.current),i.current=null},[]);return A.useEffect(()=>m,[m]),A.useEffect(()=>{const h=c.current;return()=>{window.clearTimeout(h),d(null)}},[c,d]),y.jsx(SE,{asChild:!0,...u,children:y.jsx(hj,{id:n.triggerId,"aria-haspopup":"menu","aria-expanded":o.open,"aria-controls":n.contentId,"data-state":Aj(o.open),...t,ref:gm(e,n.onTriggerChange),onClick:h=>{t.onClick?.(h),!(t.disabled||h.defaultPrevented)&&(h.currentTarget.focus(),o.open||o.onOpenChange(!0))},onPointerMove:mt(t.onPointerMove,Wp(h=>{r.onItemEnter(h),!h.defaultPrevented&&!t.disabled&&!o.open&&!i.current&&(r.onPointerGraceIntentChange(null),i.current=window.setTimeout(()=>{o.onOpenChange(!0),m()},100))})),onPointerLeave:mt(t.onPointerLeave,Wp(h=>{m();const f=o.content?.getBoundingClientRect();if(f){const v=o.content?.dataset.side,b=v==="right",S=b?-5:5,T=f[b?"left":"right"],x=f[b?"right":"left"];r.onPointerGraceIntentChange({area:[{x:h.clientX+S,y:h.clientY},{x:T,y:f.top},{x,y:f.top},{x,y:f.bottom},{x:T,y:f.bottom}],side:v}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>r.onPointerGraceIntentChange(null),300)}else{if(r.onTriggerLeave(h),h.defaultPrevented)return;r.onPointerGraceIntentChange(null)}})),onKeyDown:mt(t.onKeyDown,h=>{const f=r.searchRef.current!=="";t.disabled||f&&h.key===" "||fse[a.dir].includes(h.key)&&(o.onOpenChange(!0),o.content?.focus(),h.preventDefault())})})})});Cj.displayName=fp;var _j="MenuSubContent",Pj=A.forwardRef((t,e)=>{const o=dj(nr,t.__scopeMenu),{forceMount:a=o.forceMount,...n}=t,r=el(nr,t.__scopeMenu),i=wm(nr,t.__scopeMenu),c=kj(_j,t.__scopeMenu),d=A.useRef(null),u=Vo(e,d);return y.jsx(Gp.Provider,{scope:t.__scopeMenu,children:y.jsx(js,{present:a||r.open,children:y.jsx(Gp.Slot,{scope:t.__scopeMenu,children:y.jsx(TE,{id:c.contentId,"aria-labelledby":c.triggerId,...n,ref:u,align:"start",side:i.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:m=>{i.isUsingKeyboardRef.current&&d.current?.focus(),m.preventDefault()},onCloseAutoFocus:m=>m.preventDefault(),onFocusOutside:mt(t.onFocusOutside,m=>{m.target!==c.trigger&&r.onOpenChange(!1)}),onEscapeKeyDown:mt(t.onEscapeKeyDown,m=>{i.onClose(),m.preventDefault()}),onKeyDown:mt(t.onKeyDown,m=>{const h=m.currentTarget.contains(m.target),f=vse[i.dir].includes(m.key);h&&f&&(r.onOpenChange(!1),c.trigger?.focus(),m.preventDefault())})})})})})});Pj.displayName=_j;function Aj(t){return t?"open":"closed"}function cv(t){return t==="indeterminate"}function _E(t){return cv(t)?"indeterminate":t?"checked":"unchecked"}function Lse(t){const e=document.activeElement;for(const o of t)if(o===e||(o.focus(),document.activeElement!==e))return}function Bse(t,e){return t.map((o,a)=>t[(e+a)%t.length])}function Fse(t,e,o){const n=e.length>1&&Array.from(e).every(u=>u===e[0])?e[0]:e,r=o?t.indexOf(o):-1;let i=Bse(t,Math.max(r,0));n.length===1&&(i=i.filter(u=>u!==o));const d=i.find(u=>u.toLowerCase().startsWith(n.toLowerCase()));return d!==o?d:void 0}function jse(t,e){const{x:o,y:a}=t;let n=!1;for(let r=0,i=e.length-1;r<e.length;i=r++){const c=e[r],d=e[i],u=c.x,m=c.y,h=d.x,f=d.y;m>a!=f>a&&o<(h-u)*(a-m)/(f-m)+u&&(n=!n)}return n}function zse(t,e){if(!e)return!1;const o={x:t.clientX,y:t.clientY};return jse(o,e)}function Wp(t){return e=>e.pointerType==="mouse"?t(e):void 0}var qse=cj,Use=SE,$se=uj,Vse=pj,Hse=kE,Gse=mj,Wse=hb,Kse=gj,Yse=vj,Zse=yj,Qse=wj,Jse=xj,Xse=Tj,eie=Ej,tie=Cj,oie=Pj,gb="DropdownMenu",[aie]=Xi(gb,[sj]),$a=sj(),[nie,Rj]=aie(gb),Dj=t=>{const{__scopeDropdownMenu:e,children:o,dir:a,open:n,defaultOpen:r,onOpenChange:i,modal:c=!0}=t,d=$a(e),u=A.useRef(null),[m,h]=fm({prop:n,defaultProp:r??!1,onChange:i,caller:gb});return y.jsx(nie,{scope:e,triggerId:Fi(),triggerRef:u,contentId:Fi(),open:m,onOpenChange:h,onOpenToggle:A.useCallback(()=>h(f=>!f),[h]),modal:c,children:y.jsx(qse,{...d,open:m,onOpenChange:h,dir:a,modal:c,children:o})})};Dj.displayName=gb;var Oj="DropdownMenuTrigger",Nj=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:o,disabled:a=!1,...n}=t,r=Rj(Oj,o),i=$a(o);return y.jsx(Use,{asChild:!0,...i,children:y.jsx(Oo.button,{type:"button",id:r.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":r.open?r.contentId:void 0,"data-state":r.open?"open":"closed","data-disabled":a?"":void 0,disabled:a,...n,ref:gm(e,r.triggerRef),onPointerDown:mt(t.onPointerDown,c=>{!a&&c.button===0&&c.ctrlKey===!1&&(r.onOpenToggle(),r.open||c.preventDefault())}),onKeyDown:mt(t.onKeyDown,c=>{a||(["Enter"," "].includes(c.key)&&r.onOpenToggle(),c.key==="ArrowDown"&&r.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(c.key)&&c.preventDefault())})})})});Nj.displayName=Oj;var rie="DropdownMenuPortal",Mj=t=>{const{__scopeDropdownMenu:e,...o}=t,a=$a(e);return y.jsx($se,{...a,...o})};Mj.displayName=rie;var Ij="DropdownMenuContent",Lj=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:o,...a}=t,n=Rj(Ij,o),r=$a(o),i=A.useRef(!1);return y.jsx(Vse,{id:n.contentId,"aria-labelledby":n.triggerId,...r,...a,ref:e,onCloseAutoFocus:mt(t.onCloseAutoFocus,c=>{i.current||n.triggerRef.current?.focus(),i.current=!1,c.preventDefault()}),onInteractOutside:mt(t.onInteractOutside,c=>{const d=c.detail.originalEvent,u=d.button===0&&d.ctrlKey===!0,m=d.button===2||u;(!n.modal||m)&&(i.current=!0)}),style:{...t.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Lj.displayName=Ij;var sie="DropdownMenuGroup",iie=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:o,...a}=t,n=$a(o);return y.jsx(Hse,{...n,...a,ref:e})});iie.displayName=sie;var lie="DropdownMenuLabel",Bj=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:o,...a}=t,n=$a(o);return y.jsx(Gse,{...n,...a,ref:e})});Bj.displayName=lie;var cie="DropdownMenuItem",Fj=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:o,...a}=t,n=$a(o);return y.jsx(Wse,{...n,...a,ref:e})});Fj.displayName=cie;var die="DropdownMenuCheckboxItem",jj=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:o,...a}=t,n=$a(o);return y.jsx(Kse,{...n,...a,ref:e})});jj.displayName=die;var uie="DropdownMenuRadioGroup",zj=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:o,...a}=t,n=$a(o);return y.jsx(Yse,{...n,...a,ref:e})});zj.displayName=uie;var pie="DropdownMenuRadioItem",qj=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:o,...a}=t,n=$a(o);return y.jsx(Zse,{...n,...a,ref:e})});qj.displayName=pie;var mie="DropdownMenuItemIndicator",Uj=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:o,...a}=t,n=$a(o);return y.jsx(Qse,{...n,...a,ref:e})});Uj.displayName=mie;var hie="DropdownMenuSeparator",$j=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:o,...a}=t,n=$a(o);return y.jsx(Jse,{...n,...a,ref:e})});$j.displayName=hie;var gie="DropdownMenuArrow",fie=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:o,...a}=t,n=$a(o);return y.jsx(Xse,{...n,...a,ref:e})});fie.displayName=gie;var vie=t=>{const{__scopeDropdownMenu:e,children:o,open:a,onOpenChange:n,defaultOpen:r}=t,i=$a(e),[c,d]=fm({prop:a,defaultProp:r??!1,onChange:n,caller:"DropdownMenuSub"});return y.jsx(eie,{...i,open:c,onOpenChange:d,children:o})},bie="DropdownMenuSubTrigger",Vj=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:o,...a}=t,n=$a(o);return y.jsx(tie,{...n,...a,ref:e})});Vj.displayName=bie;var yie="DropdownMenuSubContent",Hj=A.forwardRef((t,e)=>{const{__scopeDropdownMenu:o,...a}=t,n=$a(o);return y.jsx(oie,{...n,...a,ref:e,style:{...t.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Hj.displayName=yie;var Gj=Dj,Wj=Nj,Kj=Mj,Yj=Lj,Sie=Bj,Zj=Fj,wie=jj,xie=zj,Tie=qj,Qj=Uj,kie=$j,Eie=vie,Cie=Vj,_ie=Hj;const PE=({size:t=24,color:e="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M12 9v4m0 4h.01M10.615 3.892 2.39 18.098c-.456.788-.684 1.182-.65 1.506a1 1 0 0 0 .406.705c.263.191.718.191 1.629.191h16.45c.91 0 1.365 0 1.628-.191a1 1 0 0 0 .407-.705c.034-.324-.195-.718-.65-1.506L13.383 3.892c-.454-.785-.681-1.178-.978-1.31a1 1 0 0 0-.813 0c-.296.132-.523.525-.978 1.31Z"}));PE.displayName="AlertTriangle";const Jj=({size:t=24,color:e="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M4 7.997a2.295 2.295 0 0 1-.39-.035A2 2 0 0 1 2.038 6.39C2 6.197 2 5.965 2 5.5s0-.697.038-.89A2 2 0 0 1 3.61 3.038C3.803 3 4.035 3 4.5 3h15c.465 0 .697 0 .89.038a2 2 0 0 1 1.572 1.572c.038.193.038.425.038.89s0 .697-.038.89a2 2 0 0 1-1.572 1.572c-.107.02-.226.03-.39.035M10 13h4M4 8h16v8.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C17.72 21 16.88 21 15.2 21H8.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C4 18.72 4 17.88 4 16.2V8Z"}));Jj.displayName="Archive";const Xj=({size:t=24,color:e="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M7 17 17 7m0 0H7m10 0v10"}));Xj.displayName="ArrowUpRight";const e3=({size:t=24,color:e="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M20 6 9 17l-5-5"}));e3.displayName="Check";const AE=({size:t=24,color:e="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"m9 18 6-6-6-6"}));AE.displayName="ChevronRight";const t3=({size:t=24,color:e="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z"}));t3.displayName="Circle";const o3=({size:t=24,color:e="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M9 2v2m6-2v2M9 20v2m6-2v2m5-13h2m-2 5h2M2 9h2m-2 5h2m4.8 6h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 17.72 20 16.88 20 15.2V8.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 4 16.88 4 15.2 4H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 6.28 4 7.12 4 8.8v6.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 20 7.12 20 8.8 20Zm1.8-5h2.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C15 14.24 15 13.96 15 13.4v-2.8c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C14.24 9 13.96 9 13.4 9h-2.8c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C9 9.76 9 10.04 9 10.6v2.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C9.76 15 10.04 15 10.6 15Z"}));o3.displayName="CpuChip01";const a3=({size:t=24,color:e="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M12 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm7 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM5 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}));a3.displayName="DotsHorizontal";const n3=({size:t=24,color:e="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M3 3v10.2c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 18 6.12 18 7.8 18H15m0 0a3 3 0 1 0 6 0 3 3 0 0 0-6 0ZM3 8h12m0 0a3 3 0 1 0 6 0 3 3 0 0 0-6 0Z"}));n3.displayName="GitBranch01";const r3=({size:t=24,color:e="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M2.5 12h19M6 16h4M8.967 4h6.066c1.077 0 1.616 0 2.091.164a3 3 0 0 1 1.121.693c.36.352.6.833 1.082 1.796l2.166 4.333c.19.378.284.567.35.765.06.177.102.357.128.541.029.207.029.418.029.841V15.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 20 18.88 20 17.2 20H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 17.72 2 16.88 2 15.2v-2.067c0-.422 0-.634.029-.84.026-.184.068-.365.128-.541.066-.199.16-.388.35-.766l2.166-4.333c.482-.963.723-1.444 1.082-1.796a3 3 0 0 1 1.12-.693C7.352 4 7.89 4 8.968 4Z"}));r3.displayName="HardDrive";const s3=({size:t=24,color:e="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M21 9V3m0 0h-6m6 0-8 8m-3-6H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 7.28 3 8.12 3 9.8v6.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 21 6.12 21 7.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C19 18.72 19 17.88 19 16.2V14"}));s3.displayName="LinkExternal01";const i3=({size:t=24,color:e="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M17 10V8A5 5 0 0 0 7 8v2m5 4.5v2M8.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 18.72 20 17.88 20 16.2v-1.4c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 10 16.88 10 15.2 10H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 12.28 4 13.12 4 14.8v1.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 21 7.12 21 8.8 21Z"}));i3.displayName="Lock01";const l3=({size:t=24,color:e="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M21 10s-2.005-2.732-3.634-4.362a9 9 0 1 0 2.282 8.862M21 10V4m0 6h-6"}));l3.displayName="RefreshCw01";const c3=({size:t=24,color:e="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M6 6h.01M6 18h.01m-.81-8h13.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C22 8.48 22 7.92 22 6.8V5.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C20.48 2 19.92 2 18.8 2H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 3.52 2 4.08 2 5.2v1.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 10 4.08 10 5.2 10Zm0 12h13.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C22 20.48 22 19.92 22 18.8v-1.6c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C20.48 14 19.92 14 18.8 14H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 15.52 2 16.08 2 17.2v1.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 22 4.08 22 5.2 22Z"}));c3.displayName="Server01";const d3=({size:t=24,color:e="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M11.302 21.615c.221.129.332.194.488.227.122.026.298.026.42 0 .156-.034.267-.098.488-.227C14.646 20.478 20 16.908 20 12V7.217c0-.799 0-1.199-.13-1.542a2 2 0 0 0-.548-.79c-.275-.243-.65-.383-1.398-.664l-5.362-2.01c-.208-.078-.312-.117-.419-.133a1 1 0 0 0-.286 0c-.107.016-.21.055-.419.133L6.076 4.22c-.748.28-1.122.421-1.398.664a2 2 0 0 0-.547.79C4 6.018 4 6.418 4 7.217V12c0 4.908 5.354 8.478 7.302 9.615Z"}));d3.displayName="Shield01";const u3=({size:t=24,color:e="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M20 21c0-1.396 0-2.093-.172-2.661a4 4 0 0 0-2.667-2.667c-.568-.172-1.265-.172-2.661-.172h-5c-1.396 0-2.093 0-2.661.172a4 4 0 0 0-2.667 2.667C4 18.907 4 19.604 4 21M16.5 7.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z"}));u3.displayName="User01";const p3=({size:t=24,color:e="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M18 15.837c1.456.731 2.704 1.905 3.615 3.373.18.29.27.436.302.637.063.409-.216.912-.597 1.073-.188.08-.398.08-.82.08M16 11.532a4.5 4.5 0 0 0 0-8.064M14 7.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM2.56 18.938C4.153 16.545 6.67 15 9.5 15s5.346 1.545 6.94 3.938c.35.525.525.787.505 1.122-.016.26-.187.58-.396.738-.267.202-.635.202-1.371.202H3.822c-.736 0-1.104 0-1.372-.202a1.109 1.109 0 0 1-.395-.738c-.02-.335.155-.597.504-1.122Z"}));p3.displayName="Users03";const m3=({size:t=24,color:e="currentColor",...o})=>A.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},A.createElement("path",{d:"M17 7 7 17M7 7l10 10"}));m3.displayName="X";function Pie(t){const e=ye.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let a;return e[2]!==o?(a=y.jsx(Gj,{"data-slot":"dropdown-menu",...o}),e[2]=o,e[3]=a):a=e[3],a}function Aie(t){const e=ye.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let a;return e[2]!==o?(a=y.jsx(Wj,{"data-slot":"dropdown-menu-trigger",...o}),e[2]=o,e[3]=a):a=e[3],a}function Rie(t){const e=ye.c(10);let o,a,n;e[0]!==t?({className:o,sideOffset:n,...a}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n):(o=e[1],a=e[2],n=e[3]);const r=n===void 0?4:n;let i;e[4]!==o?(i=Ze("notranslate bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg border p-1 shadow-md",o),e[4]=o,e[5]=i):i=e[5];let c;return e[6]!==a||e[7]!==r||e[8]!==i?(c=y.jsx(Kj,{children:y.jsx(Yj,{"data-slot":"dropdown-menu-content",sideOffset:r,translate:"no",className:i,...a})}),e[6]=a,e[7]=r,e[8]=i,e[9]=c):c=e[9],c}function Die(t){const e=ye.c(12);let o,a,n,r;e[0]!==t?({className:o,inset:a,variant:r,...n}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n,e[4]=r):(o=e[1],a=e[2],n=e[3],r=e[4]);const i=r===void 0?"default":r;let c;e[5]!==o?(c=Ze("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-pointer items-center gap-2 rounded-lg px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",o),e[5]=o,e[6]=c):c=e[6];let d;return e[7]!==a||e[8]!==n||e[9]!==c||e[10]!==i?(d=y.jsx(Zj,{"data-slot":"dropdown-menu-item","data-inset":a,"data-variant":i,className:c,...n}),e[7]=a,e[8]=n,e[9]=c,e[10]=i,e[11]=d):d=e[11],d}function xTe(t){const e=ye.c(13);let o,a,n,r;e[0]!==t?({className:n,children:a,checked:o,...r}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n,e[4]=r):(o=e[1],a=e[2],n=e[3],r=e[4]);let i;e[5]!==n?(i=Ze("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-lg py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",n),e[5]=n,e[6]=i):i=e[6];let c;e[7]===Symbol.for("react.memo_cache_sentinel")?(c=y.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:y.jsx(Qj,{children:y.jsx(e3,{className:"size-4"})})}),e[7]=c):c=e[7];let d;return e[8]!==o||e[9]!==a||e[10]!==r||e[11]!==i?(d=y.jsxs(wie,{"data-slot":"dropdown-menu-checkbox-item",className:i,checked:o,...r,children:[c,a]}),e[8]=o,e[9]=a,e[10]=r,e[11]=i,e[12]=d):d=e[12],d}function TTe(t){const e=ye.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let a;return e[2]!==o?(a=y.jsx(xie,{"data-slot":"dropdown-menu-radio-group",...o}),e[2]=o,e[3]=a):a=e[3],a}function kTe(t){const e=ye.c(11);let o,a,n;e[0]!==t?({className:a,children:o,...n}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n):(o=e[1],a=e[2],n=e[3]);let r;e[4]!==a?(r=Ze("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-lg py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",a),e[4]=a,e[5]=r):r=e[5];let i;e[6]===Symbol.for("react.memo_cache_sentinel")?(i=y.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:y.jsx(Qj,{children:y.jsx(t3,{className:"size-2 fill-current"})})}),e[6]=i):i=e[6];let c;return e[7]!==o||e[8]!==n||e[9]!==r?(c=y.jsxs(Tie,{"data-slot":"dropdown-menu-radio-item",className:r,...n,children:[i,o]}),e[7]=o,e[8]=n,e[9]=r,e[10]=c):c=e[10],c}function ETe(t){const e=ye.c(10);let o,a,n;e[0]!==t?({className:o,inset:a,...n}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n):(o=e[1],a=e[2],n=e[3]);let r;e[4]!==o?(r=Ze("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",o),e[4]=o,e[5]=r):r=e[5];let i;return e[6]!==a||e[7]!==n||e[8]!==r?(i=y.jsx(Sie,{"data-slot":"dropdown-menu-label","data-inset":a,className:r,...n}),e[6]=a,e[7]=n,e[8]=r,e[9]=i):i=e[9],i}function CTe(t){const e=ye.c(8);let o,a;e[0]!==t?({className:o,...a}=t,e[0]=t,e[1]=o,e[2]=a):(o=e[1],a=e[2]);let n;e[3]!==o?(n=Ze("bg-border -mx-1 my-1 h-px",o),e[3]=o,e[4]=n):n=e[4];let r;return e[5]!==a||e[6]!==n?(r=y.jsx(kie,{"data-slot":"dropdown-menu-separator",className:n,...a}),e[5]=a,e[6]=n,e[7]=r):r=e[7],r}function _Te(t){const e=ye.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let a;return e[2]!==o?(a=y.jsx(Eie,{"data-slot":"dropdown-menu-sub",...o}),e[2]=o,e[3]=a):a=e[3],a}function PTe(t){const e=ye.c(13);let o,a,n,r;e[0]!==t?({className:a,inset:n,children:o,...r}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n,e[4]=r):(o=e[1],a=e[2],n=e[3],r=e[4]);let i;e[5]!==a?(i=Ze("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground flex cursor-default items-center gap-2 rounded-lg px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",a),e[5]=a,e[6]=i):i=e[6];let c;e[7]===Symbol.for("react.memo_cache_sentinel")?(c=y.jsx(AE,{className:"ml-auto size-4"}),e[7]=c):c=e[7];let d;return e[8]!==o||e[9]!==n||e[10]!==r||e[11]!==i?(d=y.jsxs(Cie,{"data-slot":"dropdown-menu-sub-trigger","data-inset":n,className:i,...r,children:[o,c]}),e[8]=o,e[9]=n,e[10]=r,e[11]=i,e[12]=d):d=e[12],d}function ATe(t){const e=ye.c(8);let o,a;e[0]!==t?({className:o,...a}=t,e[0]=t,e[1]=o,e[2]=a):(o=e[1],a=e[2]);let n;e[3]!==o?(n=Ze("notranslate bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",o),e[3]=o,e[4]=n):n=e[4];let r;return e[5]!==a||e[6]!==n?(r=y.jsx(_ie,{"data-slot":"dropdown-menu-sub-content",translate:"no",className:n,...a}),e[5]=a,e[6]=n,e[7]=r):r=e[7],r}function Oie(){const t=ye.c(3),[e,o]=A.useState(-1);let a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a=i=>{if(!i)return;const c=()=>o(i.clientWidth);c();const d=new ResizeObserver(c);return d.observe(i),()=>d.disconnect()},t[0]=a):a=t[0];const n=a;let r;return t[1]!==e?(r=[e,n],t[1]=e,t[2]=r):r=t[2],r}function Nie(){let t=new Map;const e=new Set,o=()=>e.forEach(a=>a());return{getSnapshot:()=>t,subscribe(a){return e.add(a),()=>{e.delete(a)}},register(a){if(t.has(a.after))throw new Error(`Two components extend breadcrumb: ${a.after}`);return t=new Map(t).set(a.after,a),o(),()=>{if(t.get(a.after)!==a)return;const n=new Map(t);n.delete(a.after),t=n,o()}}}}const RE=A.createContext(null);function Mie(t){const e=ye.c(3),{children:o}=t,[a]=A.useState(Nie);let n;return e[0]!==o||e[1]!==a?(n=y.jsx(RE,{value:a,children:o}),e[0]=o,e[1]=a,e[2]=n):n=e[2],n}function Iie(t){const e=ye.c(2),{children:o}=t;let a;return e[0]!==o?(a=y.jsx(RE,{value:null,children:o}),e[0]=o,e[1]=a):a=e[1],a}function fb(){return A.use(RE)}function h3(t){const e=ye.c(3),o=fb();if(!o)throw new Error("Breadcrumb contributions require Page.Breadcrumbs.Provider");let a;return e[0]!==t||e[1]!==o?(a=y.jsx("span",{hidden:!0,ref:n=>n?o.register(t):void 0}),e[0]=t,e[1]=o,e[2]=a):a=e[2],a}function Lie(t,e){const o=new Set,a=n=>{if(o.has(n.key))throw new Error(`Duplicate breadcrumb key: ${n.key}`);o.add(n.key);const r=e.get(n.key);return[{...n,...r?.parent},...r?.items?.flatMap(a)??[]]};return t.flatMap(a)}function Bie(t,e){const o=t.map(a=>a.label).filter(a=>typeof a=="string").reverse();return e&&o.push(e),o.map(a=>a.trim()).filter(Boolean).join(" · ")}const g3=5;function Fie(t,e=!1,o=g3){const a=t.map(i=>({type:"item",item:i}));if(t.length<=(e?1:o))return a;const n=e?0:1,r=t.length-(e?1:2);return a.splice(n,r-n,{type:"menu",items:t.slice(n,r)}),a}const f3=tV(function(e){return y.jsx("a",{...e,"aria-current":void 0})});function jie(t){const e=ye.c(12),{items:o}=t,a=Ua();let n;e[0]!==a?(n=a("page.breadcrumbMenu"),e[0]=a,e[1]=n):n=e[1];let r;e[2]===Symbol.for("react.memo_cache_sentinel")?(r=y.jsx(a3,{"aria-hidden":"true",className:"size-4"}),e[2]=r):r=e[2];let i;e[3]!==n?(i=y.jsx(Aie,{asChild:!0,children:y.jsx(bn,{variant:"ghost",size:"icon-xs",className:"shrink-0","aria-label":n,children:r})}),e[3]=n,e[4]=i):i=e[4];let c;e[5]!==o?(c=o.map(zie),e[5]=o,e[6]=c):c=e[6];let d;e[7]!==c?(d=y.jsx(Rie,{align:"start",children:c}),e[7]=c,e[8]=d):d=e[8];let u;return e[9]!==i||e[10]!==d?(u=y.jsxs(Pie,{children:[i,d]}),e[9]=i,e[10]=d,e[11]=u):u=e[11],u}function zie(t){const e=y.jsx("span",{className:"max-w-64 truncate",title:typeof t.label=="string"?t.label:void 0,children:t.label});return y.jsx(Die,{asChild:!!t.link&&!t.onSelect,onSelect:t.onSelect,disabled:!t.onSelect&&!t.link,children:t.link&&!t.onSelect?y.jsx(f3,{...t.link,children:e}):e},t.key)}function qie(t){const e=ye.c(14),{item:o,current:a}=t,n=typeof o.label=="string"?o.label:void 0;if(a){let i;return e[0]!==o.label||e[1]!==n?(i=y.jsx("h1",{"data-slot":"page-title","aria-current":"page",title:n,className:"truncate text-sm font-medium text-foreground",children:o.label}),e[0]=o.label,e[1]=n,e[2]=i):i=e[2],i}if(o.onSelect){let i;return e[3]!==o.label||e[4]!==o.onSelect||e[5]!==n?(i=y.jsx("button",{type:"button",onClick:o.onSelect,title:n,className:"block max-w-48 truncate rounded-lg hover:text-foreground focus-ring",children:o.label}),e[3]=o.label,e[4]=o.onSelect,e[5]=n,e[6]=i):i=e[6],i}if(o.link){let i;return e[7]!==o.label||e[8]!==o.link||e[9]!==n?(i=y.jsx(f3,{...o.link,title:n,className:"block max-w-48 truncate rounded-lg hover:text-foreground focus-ring",children:o.label}),e[7]=o.label,e[8]=o.link,e[9]=n,e[10]=i):i=e[10],i}let r;return e[11]!==o.label||e[12]!==n?(r=y.jsx("span",{title:n,className:"block max-w-48 truncate",children:o.label}),e[11]=o.label,e[12]=n,e[13]=r):r=e[13],r}function v3(t){const e=ye.c(21),{items:o}=t,a=Ua(),[n,r]=Oie();let i,c,d,u,m,h;if(e[0]!==o||e[1]!==r||e[2]!==a||e[3]!==n){const b=Fie(o,n>=0&&n<320,g3);u=r,e[10]!==a?(m=a("page.breadcrumbs"),e[10]=a,e[11]=m):m=e[11],h='min-w-0 flex-1 first:pl-3 [&:has(~[data-slot="panel-topbar-left-target"]:not(:empty))]:flex-initial',i="page-breadcrumbs",c="flex min-w-0 items-center gap-2 text-sm text-muted-foreground",d=b.map((S,T)=>y.jsxs("li",{className:Ze("flex min-w-0 items-center gap-2",T>0&&"min-w-5",S.type==="item"?"last:min-w-16 last:flex-[1_1_auto]":"shrink-0"),children:[T>0&&y.jsx(AE,{"aria-hidden":"true",className:"size-3 shrink-0 text-muted-foreground/60"}),S.type==="item"?y.jsx(qie,{item:S.item,current:T===b.length-1}):y.jsx(jie,{items:S.items})]},S.type==="item"?`item:${S.item.key}`:"menu")),e[0]=o,e[1]=r,e[2]=a,e[3]=n,e[4]=i,e[5]=c,e[6]=d,e[7]=u,e[8]=m,e[9]=h}else i=e[4],c=e[5],d=e[6],u=e[7],m=e[8],h=e[9];let f;e[12]!==i||e[13]!==c||e[14]!==d?(f=y.jsx("ol",{"data-slot":i,className:c,children:d}),e[12]=i,e[13]=c,e[14]=d,e[15]=f):f=e[15];let v;return e[16]!==u||e[17]!==m||e[18]!==h||e[19]!==f?(v=y.jsx("nav",{ref:u,"aria-label":m,className:h,children:f}),e[16]=u,e[17]=m,e[18]=h,e[19]=f,e[20]=v):v=e[20],v}function Uie(t){const e=ye.c(12),{items:o,scope:a}=t,n=fb();if(!n)throw new Error("Page.Header requires Page.Breadcrumbs.Provider");const r=A.useSyncExternalStore(n.subscribe,n.getSnapshot,n.getSnapshot);let i,c;e[0]!==r||e[1]!==o||e[2]!==a?(i=Lie(o,r),c=Bie(i,a),e[0]=r,e[1]=o,e[2]=a,e[3]=i,e[4]=c):(i=e[3],c=e[4]);const d=c;let u;e[5]!==d?(u=d&&y.jsx("title",{children:d}),e[5]=d,e[6]=u):u=e[6];let m;e[7]!==i?(m=y.jsx(v3,{items:i}),e[7]=i,e[8]=m):m=e[8];let h;return e[9]!==u||e[10]!==m?(h=y.jsxs(y.Fragment,{children:[u,m]}),e[9]=u,e[10]=m,e[11]=h):h=e[11],h}function $ie(t){const e=ye.c(3),o=fb();let a;return e[0]!==t||e[1]!==o?(a=o?y.jsx(h3,{...t}):y.jsx("div",{className:"min-w-0 shrink-0 border-b px-3 py-2",children:y.jsx(v3,{items:t.items??[]})}),e[0]=t,e[1]=o,e[2]=a):a=e[2],a}const Vie=Object.assign($ie,{Provider:Mie,Detached:Iie});function Hie(t){const e=ye.c(8);let o,a;e[0]!==t?({className:o,...a}=t,e[0]=t,e[1]=o,e[2]=a):(o=e[1],a=e[2]);let n;e[3]!==o?(n=Ze("flex h-full min-h-0 min-w-0 w-full flex-col overflow-hidden",o),e[3]=o,e[4]=n):n=e[4];let r;return e[5]!==a||e[6]!==n?(r=y.jsx("div",{...a,"data-slot":"page",className:n}),e[5]=a,e[6]=n,e[7]=r):r=e[7],r}function Gie(t){const e=ye.c(8);let o,a;e[0]!==t?({className:o,...a}=t,e[0]=t,e[1]=o,e[2]=a):(o=e[1],a=e[2]);let n;e[3]!==o?(n=Ze("min-h-0 min-w-0 flex-1 overflow-auto",o),e[3]=o,e[4]=n):n=e[4];let r;return e[5]!==a||e[6]!==n?(r=y.jsx("div",{...a,"data-slot":"page-content",className:n}),e[5]=a,e[6]=n,e[7]=r):r=e[7],r}const Wie={reading:"max-w-[720px]",standard:"max-w-5xl",wide:"max-w-[1200px]",fluid:"max-w-none"},Kie="px-4 md:pl-6 md:pr-8",b3=A.createContext(!1);function Yie(t){const e=ye.c(12);let o,a,n;e[0]!==t?({className:o,width:n,...a}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n):(o=e[1],a=e[2],n=e[3]);const r=n===void 0?"wide":n,i=A.use(b3);let c;e[4]!==o||e[5]!==i||e[6]!==r?(c=Ze("w-full",i?Ze(Kie,"pt-4 pb-8"):"mx-auto px-4 py-6 md:px-8 md:py-8",Wie[r],o),e[4]=o,e[5]=i,e[6]=r,e[7]=c):c=e[7];let d;return e[8]!==a||e[9]!==c||e[10]!==r?(d=y.jsx("div",{...a,"data-slot":"page-container","data-width":r,className:c}),e[8]=a,e[9]=c,e[10]=r,e[11]=d):d=e[11],d}function Zie(t){const e=ye.c(9),{children:o,actions:a,className:n}=t,r=fb();let i;e[0]!==o||e[1]!==n||e[2]!==r?(i=r?y.jsx(h3,{after:"page",parent:{label:o}}):y.jsx("div",{"data-slot":"page-title",className:Ze("flex flex-wrap items-center justify-between gap-3",n),children:y.jsx("h1",{className:"min-w-0 text-xl font-medium",children:o})}),e[0]=o,e[1]=n,e[2]=r,e[3]=i):i=e[3];let c;e[4]!==a?(c=a&&y.jsx(y3,{children:a}),e[4]=a,e[5]=c):c=e[5];let d;return e[6]!==i||e[7]!==c?(d=y.jsxs(y.Fragment,{children:[i,c]}),e[6]=i,e[7]=c,e[8]=d):d=e[8],d}function y3(t){const e=ye.c(3),{children:o,secondary:a}=t;let n;if(e[0]!==o||e[1]!==a){const r=y.jsxs("div",{"data-slot":"page-actions",className:"flex shrink-0 items-center gap-2",children:[a,o]});n=y.jsx(pn.Topbar.Right.Portal,{fallback:r,children:r}),e[0]=o,e[1]=a,e[2]=n}else n=e[2];return n}function Qie(t){const e=ye.c(28),{breadcrumbs:o,scope:a,leading:n,actions:r,navigation:i,trailingActions:c}=t;let d;e[0]!==o||e[1]!==a?(d=y.jsx(Uie,{items:o,scope:a}),e[0]=o,e[1]=a,e[2]=d):d=e[2];let u;e[3]===Symbol.for("react.memo_cache_sentinel")?(u=y.jsx(pn.Topbar.Left.Target,{}),e[3]=u):u=e[3];let m;e[4]!==n||e[5]!==d?(m=y.jsxs(pn.Topbar.Left,{className:"flex-1 gap-2",children:[n,d,u]}),e[4]=n,e[5]=d,e[6]=m):m=e[6];let h;e[7]!==r?(h=y.jsx("div",{className:"peer flex min-w-0 items-center gap-2 empty:hidden",children:r}),e[7]=r,e[8]=h):h=e[8];let f;e[9]===Symbol.for("react.memo_cache_sentinel")?(f=y.jsx(pn.Topbar.Right.Target,{className:"flex items-center gap-2 before:hidden before:h-4 before:w-px before:shrink-0 before:bg-border peer-[:not(:empty)]:before:block"}),e[9]=f):f=e[9];let v;e[10]!==h||e[11]!==c?(v=y.jsxs(pn.Topbar.Right,{className:"shrink-0 gap-2",children:[h,f,c]}),e[10]=h,e[11]=c,e[12]=v):v=e[12];let b;e[13]!==m||e[14]!==v?(b=y.jsxs(pn.Topbar,{className:"gap-3 border-b border-border/60 px-3","data-testid":"page-header",children:[m,v]}),e[13]=m,e[14]=v,e[15]=b):b=e[15];let S;e[16]!==i?(S=y.jsx("div",{"data-toolbar-content":"",className:"min-w-0 empty:hidden",children:i}),e[16]=i,e[17]=S):S=e[17];let T;e[18]===Symbol.for("react.memo_cache_sentinel")?(T=y.jsx(pn.Toolbar.Left.Target,{}),e[18]=T):T=e[18];let x;e[19]!==S?(x=y.jsxs(pn.Toolbar.Left,{children:[S,T]}),e[19]=S,e[20]=x):x=e[20];let k;e[21]===Symbol.for("react.memo_cache_sentinel")?(k=y.jsx(pn.Toolbar.Center,{className:"@max-xl/panel-toolbar:order-last @max-xl/panel-toolbar:basis-full [&:not(:has([data-toolbar-content]:not(:empty)))]:hidden",children:y.jsx(pn.Toolbar.Center.Target,{})}),e[21]=k):k=e[21];let C;e[22]===Symbol.for("react.memo_cache_sentinel")?(C=y.jsx(pn.Toolbar.Right,{children:y.jsx(pn.Toolbar.Right.Target,{})}),e[22]=C):C=e[22];let E;e[23]!==x?(E=y.jsxs(pn.Toolbar,{children:[x,k,C]}),e[23]=x,e[24]=E):E=e[24];let P;return e[25]!==E||e[26]!==b?(P=y.jsxs(y.Fragment,{children:[b,E]}),e[25]=E,e[26]=b,e[27]=P):P=e[27],P}function Jie(t){const e=ye.c(11);let o,a;e[0]!==t?({className:o,...a}=t,e[0]=t,e[1]=o,e[2]=a):(o=e[1],a=e[2]);const n=Ua();let r;e[3]!==n?(r=n("page.views"),e[3]=n,e[4]=r):r=e[4];let i;e[5]!==o?(i=Ze("-m-2 flex min-w-0 items-center gap-1 overflow-x-auto p-2 no-scrollbar",o),e[5]=o,e[6]=i):i=e[6];let c;return e[7]!==a||e[8]!==r||e[9]!==i?(c=y.jsx("nav",{"aria-label":r,...a,"data-slot":"page-tabs",className:i}),e[7]=a,e[8]=r,e[9]=i,e[10]=c):c=e[10],c}function Xie(t){const e=ye.c(14);let o,a,n,r;e[0]!==t?({active:o,asChild:r,className:a,...n}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n,e[4]=r):(o=e[1],a=e[2],n=e[3],r=e[4]);const i=r===void 0?!1:r,c=i?void 0:"button",d=i&&o?"page":void 0,u=i?void 0:o;let m;e[5]!==a?(m=Ze("shrink-0",a),e[5]=a,e[6]=m):m=e[6];let h;return e[7]!==i||e[8]!==n||e[9]!==c||e[10]!==d||e[11]!==u||e[12]!==m?(h=y.jsx(bn,{asChild:i,variant:"tab",size:"sm",...n,type:c,"aria-current":d,"aria-pressed":u,"data-slot":"page-tab",className:m}),e[7]=i,e[8]=n,e[9]=c,e[10]=d,e[11]=u,e[12]=m,e[13]=h):h=e[13],h}const kd=Object.assign(Hie,{Header:Qie,Tabs:Jie,Tab:Xie,Actions:y3,Content:Gie,Container:Object.assign(Yie,{Inset:b3}),Title:Zie,Breadcrumbs:Vie});var ge=typeof window<"u"?window:void 0,la=typeof globalThis<"u"?globalThis:ge;typeof self>"u"&&(la.self=la),typeof File>"u"&&(la.File=function(){});var Mn=la?.navigator,ze=la?.document,ka=la?.location,HT=la?.fetch,GT=la!=null&&la.XMLHttpRequest&&"withCredentials"in new la.XMLHttpRequest?la.XMLHttpRequest:void 0,o2=la?.AbortController,ele=la?.CompressionStream,mn=Mn?.userAgent,ot=ge??{},a2="1.372.3",Qa={DEBUG:!1,LIB_VERSION:a2,LIB_NAME:"web",JS_SDK_VERSION:a2};function n2(t,e,o,a,n,r,i){try{var c=t[r](i),d=c.value}catch(u){return void o(u)}c.done?e(d):Promise.resolve(d).then(a,n)}function er(t){return function(){var e=this,o=arguments;return new Promise((function(a,n){var r=t.apply(e,o);function i(d){n2(r,a,n,i,c,"next",d)}function c(d){n2(r,a,n,i,c,"throw",d)}i(void 0)}))}}function Me(){return Me=Object.assign?Object.assign.bind():function(t){for(var e=1;arguments.length>e;e++){var o=arguments[e];for(var a in o)({}).hasOwnProperty.call(o,a)&&(t[a]=o[a])}return t},Me.apply(null,arguments)}function S3(t,e){if(t==null)return{};var o={};for(var a in t)if({}.hasOwnProperty.call(t,a)){if(e.indexOf(a)!==-1)continue;o[a]=t[a]}return o}function WT(){return WT=er((function*(t,e,o){e===void 0&&(e=!0);try{var a=new CompressionStream("gzip"),n=a.writable.getWriter(),r=n.write(new TextEncoder().encode(t)).then((()=>n.close())).catch((function(){var d=er((function*(u){try{yield n.abort(u)}catch{}throw u}));return function(u){return d.apply(this,arguments)}})()),i=new Response(a.readable).blob(),[c]=yield Promise.all([i,r]);return c}catch(d){if(o!=null&&o.rethrow)throw d;return e&&console.error("Failed to gzip compress data",d),null}})),WT.apply(this,arguments)}var tle=["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"],r2=function(t,e){if(e===void 0&&(e=[]),!t)return!1;var o=t.toLowerCase();return tle.concat(e).some((a=>{var n=a.toLowerCase();return o.indexOf(n)!==-1}))},ole=["$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 Et(t,e){return t.indexOf(e)!==-1}var vb=function(t){return t.trim()},KT=function(t){return t.replace(/^\$/,"")},w3=Object.prototype,x3=w3.hasOwnProperty,bb=w3.toString,It=Array.isArray||function(t){return bb.call(t)==="[object Array]"},As=t=>typeof t=="function",jo=t=>t===Object(t)&&!It(t),gd=t=>{if(jo(t)){for(var e in t)if(x3.call(t,e))return!1;return!0}return!1},$e=t=>t===void 0,Po=t=>bb.call(t)=="[object String]",Cf=t=>Po(t)&&t.trim().length===0,zs=t=>t===null,_t=t=>$e(t)||zs(t),sr=t=>bb.call(t)=="[object Number]"&&t==t,id=t=>sr(t)&&t>0,Kr=t=>bb.call(t)==="[object Boolean]",ale=t=>t instanceof FormData,nle=t=>Et(ole,t);function T3(t){return t===null||typeof t!="object"}function dv(t,e){return{}.toString.call(t)==="[object "+e+"]"}function DE(t){return typeof Event<"u"&&(function(e,o){try{return e instanceof o}catch{return!1}})(t,Event)}var rle=[!0,"true",1,"1","yes"],Gw=t=>Et(rle,t),sle=[!1,"false",0,"0","no"];function Yr(t,e,o,a,n){return e>o&&(a.warn("min cannot be greater than max."),e=o),sr(t)?t>o?(a.warn(" cannot be greater than max: "+o+". Using max value instead."),o):e>t?(a.warn(" cannot be less than min: "+e+". Using min value instead."),e):t:(a.warn(" must be a number. using max or fallback. max: "+o+", fallback: "+n),Yr(n||o,e,o,a))}let ile=class{constructor(e){this.$t={},this.zt=e.zt,this.Ut=Yr(e.bucketSize,0,100,e.Gt),this.Wt=Yr(e.refillRate,0,this.Ut,e.Gt),this.Xt=Yr(e.refillInterval,0,864e5,e.Gt)}Jt(e,o){var a=Math.floor((o-e.lastAccess)/this.Xt);a>0&&(e.tokens=Math.min(e.tokens+a*this.Wt,this.Ut),e.lastAccess=e.lastAccess+a*this.Xt)}consumeRateLimit(e){var o,a=Date.now(),n=String(e),r=this.$t[n];return r?this.Jt(r,a):this.$t[n]=r={tokens:this.Ut,lastAccess:a},r.tokens===0||(r.tokens--,r.tokens===0&&((o=this.zt)==null||o.call(this,e)),r.tokens===0)}stop(){this.$t={}}};var Qg,s2,Ww,Ln="Mobile",uv="iOS",Ns="Android",qd="Tablet",k3=Ns+" "+qd,E3="iPad",C3="Apple",_3=C3+" Watch",Cp="Safari",Ud="BlackBerry",P3="Samsung",A3=P3+"Browser",R3=P3+" Internet",Fl="Chrome",lle=Fl+" OS",D3=Fl+" "+uv,OE="Internet Explorer",O3=OE+" "+Ln,NE="Opera",cle=NE+" Mini",ME="Edge",N3="Microsoft "+ME,Ed="Firefox",M3=Ed+" "+uv,Kp="Nintendo",Yp="PlayStation",Cd="Xbox",I3=Ns+" "+Ln,L3=Ln+" "+Cp,vp="Windows",YT=vp+" Phone",i2="Nokia",ZT="Ouya",B3="Generic",dle=B3+" "+Ln.toLowerCase(),F3=B3+" "+qd.toLowerCase(),QT="Konqueror",Za="(\\d+(\\.\\d+)?)",Kw=new RegExp("Version/"+Za),ule=new RegExp(Cd,"i"),ple=new RegExp(Yp+" \\w+","i"),mle=new RegExp(Kp+" \\w+","i"),IE=new RegExp(Ud+"|PlayBook|BB10","i"),hle={"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"},j3=function(t,e){return e=e||"",Et(t," OPR/")&&Et(t,"Mini")?cle:Et(t," OPR/")?NE:IE.test(t)?Ud:Et(t,"IE"+Ln)||Et(t,"WPDesktop")?O3:Et(t,A3)?R3:Et(t,ME)||Et(t,"Edg/")?N3:Et(t,"FBIOS")?"Facebook "+Ln:Et(t,"UCWEB")||Et(t,"UCBrowser")?"UC Browser":Et(t,"CriOS")?D3:Et(t,"CrMo")||Et(t,Fl)?Fl:Et(t,Ns)&&Et(t,Cp)?I3:Et(t,"FxiOS")?M3:Et(t.toLowerCase(),QT.toLowerCase())?QT:((o,a)=>a&&Et(a,C3)||(function(n){return Et(n,Cp)&&!Et(n,Fl)&&!Et(n,Ns)})(o))(t,e)?Et(t,Ln)?L3:Cp:Et(t,Ed)?Ed:Et(t,"MSIE")||Et(t,"Trident/")?OE:Et(t,"Gecko")?Ed:""},gle={[O3]:[new RegExp("rv:"+Za)],[N3]:[new RegExp(ME+"?\\/"+Za)],[Fl]:[new RegExp("("+Fl+"|CrMo)\\/"+Za)],[D3]:[new RegExp("CriOS\\/"+Za)],"UC Browser":[new RegExp("(UCBrowser|UCWEB)\\/"+Za)],[Cp]:[Kw],[L3]:[Kw],[NE]:[new RegExp("(Opera|OPR)\\/"+Za)],[Ed]:[new RegExp(Ed+"\\/"+Za)],[M3]:[new RegExp("FxiOS\\/"+Za)],[QT]:[new RegExp("Konqueror[:/]?"+Za,"i")],[Ud]:[new RegExp(Ud+" "+Za),Kw],[I3]:[new RegExp("android\\s"+Za,"i")],[R3]:[new RegExp(A3+"\\/"+Za)],[OE]:[new RegExp("(rv:|MSIE )"+Za)],Mozilla:[new RegExp("rv:"+Za)]},fle=function(t,e){var o=j3(t,e),a=gle[o];if($e(a))return null;for(var n=0;a.length>n;n++){var r=t.match(a[n]);if(r)return parseFloat(r[r.length-2])}return null},l2=[[new RegExp(Cd+"; "+Cd+" (.*?)[);]","i"),t=>[Cd,t&&t[1]||""]],[new RegExp(Kp,"i"),[Kp,""]],[new RegExp(Yp,"i"),[Yp,""]],[IE,[Ud,""]],[new RegExp(vp,"i"),(t,e)=>{if(/Phone/.test(e)||/WPDesktop/.test(e))return[YT,""];if(new RegExp(Ln).test(e)&&!/IEMobile\b/.test(e))return[vp+" "+Ln,""];var o=/Windows NT ([0-9.]+)/i.exec(e);if(o&&o[1]){var a=hle[o[1]]||"";return/arm/i.test(e)&&(a="RT"),[vp,a]}return[vp,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,t=>t&&t[3]?[uv,[t[3],t[4],t[5]||"0"].join(".")]:[uv,""]],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,t=>{var e="";return t&&t.length>=3&&(e=$e(t[2])?t[3]:t[2]),["watchOS",e]}],[new RegExp("("+Ns+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+Ns+")","i"),t=>t&&t[2]?[Ns,[t[2],t[3],t[4]||"0"].join(".")]:[Ns,""]],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,t=>{var e=["Mac OS X",""];return t&&t[1]&&(e[1]=[t[1],t[2],t[3]||"0"].join(".")),e}],[/Mac/i,["Mac OS X",""]],[/CrOS/,[lle,""]],[/Linux|debian/i,["Linux",""]]],c2=function(t){return mle.test(t)?Kp:ple.test(t)?Yp:ule.test(t)?Cd:new RegExp(ZT,"i").test(t)?ZT:new RegExp("("+YT+"|WPDesktop)","i").test(t)?YT:/iPad/.test(t)?E3:/iPod/.test(t)?"iPod Touch":/iPhone/.test(t)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(t)?_3:IE.test(t)?Ud:/(kobo)\s(ereader|touch)/i.test(t)?"Kobo":new RegExp(i2,"i").test(t)?i2:/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i.test(t)||/(kf[a-z]+)( bui|\)).+silk\//i.test(t)?"Kindle Fire":/(Android|ZTE)/i.test(t)?new RegExp(Ln).test(t)&&!/(9138B|TB782B|Nexus [97]|pixel c|HUAWEISHT|BTV|noble nook|smart ultra 6)/i.test(t)||/pixel[\daxl ]{1,6}/i.test(t)&&!/pixel c/i.test(t)||/(huaweimed-al00|tah-|APA|SM-G92|i980|zte|U304AA)/i.test(t)||/lmy47v/i.test(t)&&!/QTAQZ3/i.test(t)?Ns:k3:new RegExp("(pda|"+Ln+")","i").test(t)?dle:new RegExp(qd,"i").test(t)&&!new RegExp(qd+" pc","i").test(t)?F3:""},vle=t=>t instanceof Error,z3={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}},ble=z3.info;function q3(t){if(Kr(t))return{boolValue:t};if(typeof t=="number")return Number.isFinite(t)?Number.isInteger(t)?{intValue:t}:{doubleValue:t}:{stringValue:String(t)};if(typeof t=="string")return{stringValue:t};if(It(t))return{arrayValue:{values:t.map((e=>q3(e)))}};try{return{stringValue:JSON.stringify(t)}}catch{return{stringValue:String(t)}}}function d2(t){var e=[];for(var o in t){var a=t[o];zs(a)||$e(a)||e.push({key:o,value:q3(a)})}return e}function yle(t){var e=globalThis._posthogChunkIds;if(e){var o=Object.keys(e);return Ww&&o.length===s2||(s2=o.length,Ww=o.reduce(((a,n)=>{Qg||(Qg={});var r=Qg[n];if(r)a[r[0]]=r[1];else for(var i=t(n),c=i.length-1;c>=0;c--){var d=i[c],u=d?.filename,m=e[n];if(u&&m){a[u]=m,Qg[n]=[u,m];break}}return a}),{})),Ww}}class Sle{constructor(e,o,a){a===void 0&&(a=[]),this.coercers=e,this.stackParser=o,this.modifiers=a}buildFromUnknown(e,o){o===void 0&&(o={});var a=o&&o.mechanism||{handled:!0,type:"generic"},n=this.buildCoercingContext(a,o,0).apply(e),r=this.buildParsingContext(o),i=this.parseStacktrace(n,r);return{$exception_list:this.convertToExceptionList(i,a),$exception_level:"error"}}modifyFrames(e){var o=this;return er((function*(){for(var a of e)a.stacktrace&&a.stacktrace.frames&&It(a.stacktrace.frames)&&(a.stacktrace.frames=yield o.applyModifiers(a.stacktrace.frames));return e}))()}coerceFallback(e){var o;return{type:"Error",value:"Unknown error",stack:(o=e.syntheticException)==null?void 0:o.stack,synthetic:!0}}parseStacktrace(e,o){var a,n;return e.cause!=null&&(a=this.parseStacktrace(e.cause,o)),e.stack!=""&&e.stack!=null&&(n=this.applyChunkIds(this.stackParser(e.stack,e.synthetic?o.skipFirstLines:0),o.chunkIdMap)),Me({},e,{cause:a,stack:n})}applyChunkIds(e,o){return e.map((a=>(a.filename&&o&&(a.chunk_id=o[a.filename]),a)))}applyCoercers(e,o){for(var a of this.coercers)if(a.match(e))return a.coerce(e,o);return this.coerceFallback(o)}applyModifiers(e){var o=this;return er((function*(){var a=e;for(var n of o.modifiers)a=yield n(a);return a}))()}convertToExceptionList(e,o){var a,n,r,i={type:e.type,value:e.value,mechanism:{type:(a=o.type)!==null&&a!==void 0?a:"generic",handled:(n=o.handled)===null||n===void 0||n,synthetic:(r=e.synthetic)!==null&&r!==void 0&&r}};e.stack&&(i.stacktrace={type:"raw",frames:e.stack});var c=[i];return e.cause!=null&&c.push(...this.convertToExceptionList(e.cause,Me({},o,{handled:!0}))),c}buildParsingContext(e){var o;return{chunkIdMap:yle(this.stackParser),skipFirstLines:(o=e.skipFirstLines)!==null&&o!==void 0?o:1}}buildCoercingContext(e,o,a){a===void 0&&(a=0);var n=(r,i)=>{if(4>=i){var c=this.buildCoercingContext(e,o,i);return this.applyCoercers(r,c)}};return Me({},o,{syntheticException:a==0?o.syntheticException:void 0,mechanism:e,apply:r=>n(r,a),next:r=>n(r,a+1)})}}var $d="?";function JT(t,e,o,a,n){var r={platform:t,filename:e,function:o==="<anonymous>"?$d:o,in_app:!0};return $e(a)||(r.lineno=a),$e(n)||(r.colno=n),r}var U3=(t,e)=>{var o=t.indexOf("safari-extension")!==-1,a=t.indexOf("safari-web-extension")!==-1;return o||a?[t.indexOf("@")!==-1?t.split("@")[0]:$d,o?"safari-extension:"+e:"safari-web-extension:"+e]:[t,e]},wle=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,xle=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Tle=/\((\S*)(?::(\d+))(?::(\d+))\)/,kle=(t,e)=>{var o=wle.exec(t);if(o){var[,a,n,r]=o;return JT(e,a,$d,+n,+r)}var i=xle.exec(t);if(i){if(i[2]&&i[2].indexOf("eval")===0){var c=Tle.exec(i[2]);c&&(i[2]=c[1],i[3]=c[2],i[4]=c[3])}var[d,u]=U3(i[1]||$d,i[2]);return JT(e,u,d,i[3]?+i[3]:void 0,i[4]?+i[4]:void 0)}},Ele=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Cle=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,_le=(t,e)=>{var o=Ele.exec(t);if(o){if(o[3]&&o[3].indexOf(" > eval")>-1){var a=Cle.exec(o[3]);a&&(o[1]=o[1]||"eval",o[3]=a[1],o[4]=a[2],o[5]="")}var n=o[3],r=o[1]||$d;return[r,n]=U3(r,n),JT(e,n,r,o[4]?+o[4]:void 0,o[5]?+o[5]:void 0)}},u2=/\(error: (.*)\)/;let Ple=class{match(e){return this.isDOMException(e)||this.isDOMError(e)}coerce(e,o){var a=Po(e.stack);return{type:this.getType(e),value:this.getValue(e),stack:a?e.stack:void 0,cause:e.cause?o.next(e.cause):void 0,synthetic:!1}}getType(e){return this.isDOMError(e)?"DOMError":"DOMException"}getValue(e){var o=e.name||(this.isDOMError(e)?"DOMError":"DOMException");return e.message?o+": "+e.message:o}isDOMException(e){return dv(e,"DOMException")}isDOMError(e){return dv(e,"DOMError")}};class Ale{match(e){return(o=>o instanceof Error)(e)}coerce(e,o){return{type:this.getType(e),value:this.getMessage(e,o),stack:this.getStack(e),cause:e.cause?o.next(e.cause):void 0,synthetic:!1}}getType(e){return e.name||e.constructor.name}getMessage(e,o){var a=e.message;return String(a.error&&typeof a.error.message=="string"?a.error.message:a)}getStack(e){return e.stacktrace||e.stack||void 0}}let Rle=class{constructor(){}match(e){return dv(e,"ErrorEvent")&&e.error!=null}coerce(e,o){var a;return o.apply(e.error)||{type:"ErrorEvent",value:e.message,stack:(a=o.syntheticException)==null?void 0:a.stack,synthetic:!0}}};var Dle=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let Ole=class{match(e){return typeof e=="string"}coerce(e,o){var a,[n,r]=this.getInfos(e);return{type:n??"Error",value:r??e,stack:(a=o.syntheticException)==null?void 0:a.stack,synthetic:!0}}getInfos(e){var o="Error",a=e,n=e.match(Dle);return n&&(o=n[1],a=n[2]),[o,a]}};var Nle=["fatal","error","warning","log","info","debug"];function $3(t,e){e===void 0&&(e=40);var o=Object.keys(t);if(o.sort(),!o.length)return"[object has no keys]";for(var a=o.length;a>0;a--){var n=o.slice(0,a).join(", ");if(e>=n.length)return a===o.length?n:n.length>e?n.slice(0,e)+"...":n}return""}let Mle=class{match(e){return typeof e=="object"&&e!==null}coerce(e,o){var a,n=this.getErrorPropertyFromObject(e);return n?o.apply(n):{type:this.getType(e),value:this.getValue(e),stack:(a=o.syntheticException)==null?void 0:a.stack,level:this.isSeverityLevel(e.level)?e.level:"error",synthetic:!0}}getType(e){return DE(e)?e.constructor.name:"Error"}getValue(e){if("name"in e&&typeof e.name=="string"){var o="'"+e.name+"' captured as exception";return"message"in e&&typeof e.message=="string"&&(o+=" with message: '"+e.message+"'"),o}if("message"in e&&typeof e.message=="string")return e.message;var a=this.getObjectClassName(e);return(a&&a!=="Object"?"'"+a+"'":"Object")+" captured as exception with keys: "+$3(e)}isSeverityLevel(e){return Po(e)&&!Cf(e)&&Nle.indexOf(e)>=0}getErrorPropertyFromObject(e){for(var o in e)if({}.hasOwnProperty.call(e,o)){var a=e[o];if(vle(a))return a}}getObjectClassName(e){try{var o=Object.getPrototypeOf(e);return o?o.constructor.name:void 0}catch{return}}},Ile=class{match(e){return DE(e)}coerce(e,o){var a,n=e.constructor.name;return{type:n,value:n+" captured as exception with keys: "+$3(e),stack:(a=o.syntheticException)==null?void 0:a.stack,synthetic:!0}}},Lle=class{match(e){return T3(e)}coerce(e,o){var a;return{type:"Error",value:"Primitive value captured as exception: "+String(e),stack:(a=o.syntheticException)==null?void 0:a.stack,synthetic:!0}}},Ble=class{match(e){return dv(e,"PromiseRejectionEvent")||this.isCustomEventWrappingRejection(e)}isCustomEventWrappingRejection(e){if(!DE(e))return!1;try{var o=e.detail;return o!=null&&typeof o=="object"&&"reason"in o}catch{return!1}}coerce(e,o){var a,n=this.getUnhandledRejectionReason(e);return T3(n)?{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(n),stack:(a=o.syntheticException)==null?void 0:a.stack,synthetic:!0}:o.apply(n)}getUnhandledRejectionReason(e){try{if("reason"in e)return e.reason;if("detail"in e&&e.detail!=null&&typeof e.detail=="object"&&"reason"in e.detail)return e.detail.reason}catch{}return e}};var pv="$message",mv="$timestamp",Fle=new Set([pv,mv]),Yw={enabled:!0,max_bytes:32768};function hv(t){var e;return t?{enabled:(e=t.enabled)!==null&&e!==void 0?e:Yw.enabled,max_bytes:zle(t.max_bytes,Yw.max_bytes)}:Me({},Yw)}let jle=class{constructor(e){this.Kt=[],this.Qt=0,this.Bt=hv(e)}setConfig(e){this.Bt=hv(e),this.er()}add(e){var o=(function(n){var r=(function(m){var h=new WeakSet;try{return JSON.stringify(m,((f,v)=>{if(typeof v=="bigint")return v.toString();if(typeof v!="function"&&typeof v!="symbol"){if(v instanceof Date)return v.toISOString();if(v instanceof Error)return{name:v.name,message:v.message,stack:v.stack};if(v&&typeof v=="object"){if(h.has(v))return"[Circular]";h.add(v)}return v}}))}catch{return}})(n);if(r)try{var i=JSON.parse(r);if(!jo(i))return;var c=i,d=c[pv],u=c[mv];return!Po(d)||d.trim().length===0||!Po(u)&&!sr(u)?void 0:{step:c,json:r}}catch{return}})(e);if(o){var a=(function(n){if(typeof TextEncoder<"u")return new TextEncoder().encode(n).length;for(var r=encodeURIComponent(n),i=0,c=0;r.length>c;c++)r[c]==="%"?(i+=1,c+=2):i+=1;return i})(o.json);a>this.Bt.max_bytes||(this.Kt.push({step:o.step,bytes:a}),this.Qt+=a,this.er())}}getAttachable(){return this.Kt.map((e=>e.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 e=this.Kt.shift();e&&(this.Qt-=e.bytes)}}};function zle(t,e){if(!sr(t)||t===1/0||t===-1/0)return e;var o=Math.floor(t);return 0>o?e:o}var V3=function(t,e){var{debugEnabled:o}=e===void 0?{}:e,a={C(n){if(ge&&(Qa.DEBUG||ot.POSTHOG_DEBUG||o)&&!$e(ge.console)&&ge.console){for(var r=("__rrweb_original__"in ge.console[n])?ge.console[n].__rrweb_original__:ge.console[n],i=arguments.length,c=new Array(i>1?i-1:0),d=1;i>d;d++)c[d-1]=arguments[d];r(t,...c)}},info(){for(var n=arguments.length,r=new Array(n),i=0;n>i;i++)r[i]=arguments[i];a.C("log",...r)},warn(){for(var n=arguments.length,r=new Array(n),i=0;n>i;i++)r[i]=arguments[i];a.C("warn",...r)},error(){for(var n=arguments.length,r=new Array(n),i=0;n>i;i++)r[i]=arguments[i];a.C("error",...r)},critical(){for(var n=arguments.length,r=new Array(n),i=0;n>i;i++)r[i]=arguments[i];console.error(t,...r)},uninitializedWarning(n){a.error("You must initialize PostHog before calling "+n)},createLogger:(n,r)=>V3(t+" "+n,r)};return a},Ue=V3("[PostHog.js]"),ko=Ue.createLogger,qle=ko("[ExternalScriptsLoader]"),Zw=(t,e,o)=>{if(t.config.disable_external_dependency_loading)return qle.warn(e+" was requested but loading of external scripts is disabled."),o("Loading of external scripts is disabled");var a=ze?.querySelectorAll("script");if(a){for(var n,r=function(){if(a[i].src===e){var d=a[i];return d.__posthog_loading_callback_fired?{v:o()}:(d.addEventListener("load",(u=>{d.__posthog_loading_callback_fired=!0,o(void 0,u)})),d.onerror=u=>o(u),{v:void 0})}},i=0;a.length>i;i++)if(n=r())return n.v}var c=()=>{if(!ze)return o("document not found");var d=ze.createElement("script");if(d.type="text/javascript",d.crossOrigin="anonymous",d.src=e,d.onload=h=>{d.__posthog_loading_callback_fired=!0,o(void 0,h)},d.onerror=h=>o(h),t.config.prepare_external_dependency_script&&(d=t.config.prepare_external_dependency_script(d)),!d)return o("prepare_external_dependency_script returned null");if(t.config.external_scripts_inject_target==="head")ze.head.appendChild(d);else{var u,m=ze.querySelectorAll("body > script");m.length>0?(u=m[0].parentNode)==null||u.insertBefore(d,m[0]):ze.body.appendChild(d)}};ze!=null&&ze.body?c():ze?.addEventListener("DOMContentLoaded",c)};ot.__PosthogExtensions__=ot.__PosthogExtensions__||{},ot.__PosthogExtensions__.loadExternalDependency=(t,e,o)=>{if(e!=="remote-config"){var a;if(t.config.__preview_external_dependency_versioned_paths)a=t.requestRouter.endpointFor("assets","/static/"+t.version+"/"+e+".js");else{var n="/static/"+e+".js?v="+t.version;if(e==="toolbar"){var r=3e5;n=n+"&t="+Math.floor(Date.now()/r)*r}a=t.requestRouter.endpointFor("assets",n)}Zw(t,a,o)}else{var i=t.requestRouter.endpointFor("assets","/array/"+t.config.token+"/config.js");Zw(t,i,o)}},ot.__PosthogExtensions__.loadSiteApp=(t,e,o)=>{var a=t.requestRouter.endpointFor("api",e);Zw(t,a,o)};var H3="$people_distinct_id",gv="$device_id",bp="__alias",yp="__timers",XT="$autocapture_disabled_server_side",e0="$heatmaps_enabled_server_side",t0="$exception_capture_enabled_server_side",o0="$error_tracking_suppression_rules",a0="$error_tracking_capture_extension_exceptions",n0="$web_vitals_enabled_server_side",LE="$dead_clicks_enabled_server_side",r0="$product_tours_enabled_server_side",s0="$web_vitals_allowed_metrics",Sp="$session_recording_remote_config",G3="$replay_override_sampling",W3="$replay_override_linked_flag",K3="$replay_override_url_trigger",Y3="$replay_override_event_trigger",fv="$sesid",BE="$session_is_sampled",fd="$enabled_feature_flags",_f="$active_feature_flags",wp="$early_access_features",i0="$feature_flag_details",l0="$feature_flag_payloads",c0="$feature_flag_request_id",Ps="$override_feature_flags",ld="$override_feature_flag_payloads",xp="$stored_person_properties",Al="$stored_group_properties",d0="$surveys",u0="$surveys_activated",Pf="ph_product_tours",_p="$flag_call_reported",p0="$flag_call_reported_session_id",m0="$feature_flag_errors",vv="$feature_flag_evaluated_at",br="$user_state",h0="$client_session_props",g0="$capture_rate_limit",f0="$initial_campaign_params",v0="$initial_referrer_info",bv="$initial_person_info",yv="$epp",Z3="__POSTHOG_TOOLBAR__",Jg="$posthog_cookieless",Q3="$sdk_debug_extensions_init_method",J3="$sdk_debug_extensions_init_time_ms",X3="$sdk_debug_recording_script_not_loaded",FE="PostHog loadExternalDependency extension not found.",Rl="on_reject",Rs="always",Zc="anonymous",Qc="identified",b0="identified_only",Sv="visibilitychange",wv="beforeunload",cd="$pageview",Qw="$pageleave",Jw="$identify",p2="$groupidentify";function Xg(t,e){It(t)&&t.forEach(e)}function yo(t,e){if(!_t(t))if(It(t))t.forEach(e);else if(ale(t))t.forEach(((a,n)=>e(a,n)));else for(var o in t)x3.call(t,o)&&e(t[o],o)}var Io=function(t){for(var e=arguments.length,o=new Array(e>1?e-1:0),a=1;e>a;a++)o[a-1]=arguments[a];for(var n of o)for(var r in n)n[r]!==void 0&&(t[r]=n[r]);return t};function Af(t){for(var e=Object.keys(t),o=e.length,a=new Array(o);o--;)a[o]=[e[o],t[e[o]]];return a}var m2=function(t){try{return t()}catch{return}},Ule=function(t){return function(){try{for(var e=arguments.length,o=new Array(e),a=0;e>a;a++)o[a]=arguments[a];return t.apply(this,o)}catch(n){Ue.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),Ue.critical(n)}}},jE=function(t){var e={};return yo(t,(function(o,a){(Po(o)&&o.length>0||sr(o))&&(e[a]=o)})),e},$le=["herokuapp.com","vercel.app","netlify.app"];function Vle(t){var e=t?.hostname;if(!Po(e))return!1;var o=e.split(".").slice(-2).join(".");for(var a of $le)if(o===a)return!1;return!0}function Xo(t,e,o,a){var{capture:n=!1,passive:r=!0}=a??{};t?.addEventListener(e,o,{capture:n,passive:r})}function e4(t){return t.name==="ph_toolbar_internal"}Math.trunc||(Math.trunc=function(t){return 0>t?Math.ceil(t):Math.floor(t)}),Number.isInteger||(Number.isInteger=function(t){return sr(t)&&isFinite(t)&&Math.floor(t)===t});class xv{constructor(e){if(this.bytes=e,e.length!==16)throw new TypeError("not 128-bit length")}static fromFieldsV7(e,o,a,n){if(!Number.isInteger(e)||!Number.isInteger(o)||!Number.isInteger(a)||!Number.isInteger(n)||0>e||0>o||0>a||0>n||e>0xffffffffffff||o>4095||a>1073741823||n>4294967295)throw new RangeError("invalid field value");var r=new Uint8Array(16);return r[0]=e/Math.pow(2,40),r[1]=e/Math.pow(2,32),r[2]=e/Math.pow(2,24),r[3]=e/Math.pow(2,16),r[4]=e/Math.pow(2,8),r[5]=e,r[6]=112|o>>>8,r[7]=o,r[8]=128|a>>>24,r[9]=a>>>16,r[10]=a>>>8,r[11]=a,r[12]=n>>>24,r[13]=n>>>16,r[14]=n>>>8,r[15]=n,new xv(r)}toString(){for(var e="",o=0;this.bytes.length>o;o++)e=e+(this.bytes[o]>>>4).toString(16)+(15&this.bytes[o]).toString(16),o!==3&&o!==5&&o!==7&&o!==9||(e+="-");if(e.length!==36)throw new Error("Invalid UUIDv7 was generated");return e}clone(){return new xv(this.bytes.slice(0))}equals(e){return this.compareTo(e)===0}compareTo(e){for(var o=0;16>o;o++){var a=this.bytes[o]-e.bytes[o];if(a!==0)return Math.sign(a)}return 0}}class Hle{constructor(){this.I=0,this.S=0,this.k=new Gle}generate(){var e=this.generateOrAbort();if($e(e)){this.I=0;var o=this.generateOrAbort();if($e(o))throw new Error("Could not generate UUID after timestamp reset");return o}return e}generateOrAbort(){var e=Date.now();if(e>this.I)this.I=e,this.A();else{if(this.I>=e+1e4)return;this.S++,this.S>4398046511103&&(this.I++,this.A())}return xv.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 h2,t4=t=>{if(typeof UUIDV7_DENY_WEAK_RNG<"u"&&UUIDV7_DENY_WEAK_RNG)throw new Error("no cryptographically strong RNG available");for(var e=0;t.length>e;e++)t[e]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return t};ge&&!$e(ge.crypto)&&crypto.getRandomValues&&(t4=t=>crypto.getRandomValues(t));class Gle{constructor(){this.T=new Uint32Array(8),this.N=1/0}nextUint32(){return this.T.length>this.N||(t4(this.T),this.N=0),this.T[this.N++]}}var Ri=()=>Wle().toString(),Wle=()=>(h2||(h2=new Hle)).generate(),ep="",Kle=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i,Wr={R:()=>!!ze,B(t){Ue.error("cookieStore error: "+t)},O(t){if(ze){try{for(var e=t+"=",o=ze.cookie.split(";").filter((r=>r.length)),a=0;o.length>a;a++){for(var n=o[a];n.charAt(0)==" ";)n=n.substring(1,n.length);if(n.indexOf(e)===0)return decodeURIComponent(n.substring(e.length,n.length))}}catch{}return null}},Z(t){var e;try{e=JSON.parse(Wr.O(t))||{}}catch{}return e},M(t,e,o,a,n){if(ze)try{var r="",i="",c=(function(m,h){if(h){var f=(function(b,S){if(S===void 0&&(S=ze),ep)return ep;if(!S||["localhost","127.0.0.1"].includes(b))return"";for(var T=b.split("."),x=Math.min(T.length,8),k="dmn_chk_"+Ri();!ep&&x--;){var C=T.slice(x).join("."),E=k+"=1;domain=."+C+";path=/";S.cookie=E+";max-age=3",S.cookie.includes(k)&&(S.cookie=E+";max-age=0",ep=C)}return ep})(m);if(!f){var v=(b=>{var S=b.match(Kle);return S?S[0]:""})(m);v!==f&&Ue.info("Warning: cookie subdomain discovery mismatch",v,f),f=v}return f?"; domain=."+f:""}return""})(ze.location.hostname,a);if(o){var d=new Date;d.setTime(d.getTime()+864e5*o),r="; expires="+d.toUTCString()}n&&(i="; secure");var u=t+"="+encodeURIComponent(JSON.stringify(e))+r+"; SameSite=Lax; path=/"+c+i;return u.length>3686.4&&Ue.warn("cookieStore warning: large cookie, len="+u.length),ze.cookie=u,u}catch{return}},F(t,e){if(ze!=null&&ze.cookie)try{Wr.M(t,"",-1,e)}catch{return}}},Xw=null,_o={R(){if(!zs(Xw))return Xw;var t=!0;if($e(ge))t=!1;else try{var e="__mplssupport__";_o.M(e,"xyz"),_o.O(e)!=='"xyz"'&&(t=!1),_o.F(e)}catch{t=!1}return t||Ue.error("localStorage unsupported; falling back to cookie store"),Xw=t,t},B(t){Ue.error("localStorage error: "+t)},O(t){try{return ge?.localStorage.getItem(t)}catch(e){_o.B(e)}return null},Z(t){try{return JSON.parse(_o.O(t))||{}}catch{}return null},M(t,e){try{ge?.localStorage.setItem(t,JSON.stringify(e))}catch(o){_o.B(o)}},F(t){try{ge?.localStorage.removeItem(t)}catch(e){_o.B(e)}}},Yle=[gv,"distinct_id",fv,BE,yv,bv,br],ef={},Zle={R:()=>!0,B(t){Ue.error("memoryStorage error: "+t)},O:t=>ef[t]||null,Z:t=>ef[t]||null,M(t,e){ef[t]=e},F(t){delete ef[t]}},kl=null,Ea={R(){if(!zs(kl))return kl;if(kl=!0,$e(ge))kl=!1;else try{var t="__support__";Ea.M(t,"xyz"),Ea.O(t)!=='"xyz"'&&(kl=!1),Ea.F(t)}catch{kl=!1}return kl},B(t){Ue.error("sessionStorage error: ",t)},O(t){try{return ge?.sessionStorage.getItem(t)}catch(e){Ea.B(e)}return null},Z(t){try{return JSON.parse(Ea.O(t))||null}catch{}return null},M(t,e){try{ge?.sessionStorage.setItem(t,JSON.stringify(e))}catch(o){Ea.B(o)}},F(t){try{ge?.sessionStorage.removeItem(t)}catch(e){Ea.B(e)}}};class Qle{constructor(e){this._instance=e}get Bt(){return this._instance.config}get consent(){return this.rr()?0:this.ir}isOptedOut(){return this.Bt.cookieless_mode===Rs||this.isRejected()||this.consent===-1&&this.Bt.cookieless_mode===Rl}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(e){this.nr.M(this.sr,e?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:e,opt_out_capturing_cookie_prefix:o,consent_persistence_name:a}=this._instance.config;return a||(o?o+e:"__ph_opt_in_out_"+e)}get ir(){var e=this.nr.O(this.sr);return Gw(e)?1:Et(sle,e)?0:-1}get nr(){var e=this.Bt.opt_out_capturing_persistence_type,o=e==="localStorage"?_o:Wr;if(!this.ar||this.ar!==o){this.ar=o;var a=e==="localStorage"?Wr:_o;a.O(this.sr)&&(this.ar.O(this.sr)||this.optInOut(Gw(a.O(this.sr))),a.F(this.sr,this.Bt.cross_subdomain_cookie))}return this.ar}rr(){return!!this.Bt.respect_dnt&&[Mn?.doNotTrack,Mn?.msDoNotTrack,ot.doNotTrack].some((e=>Gw(e)))}}var tf=ko("[Dead Clicks]"),Jle=()=>!0,Xle=t=>{var e,o=!((e=t.instance.persistence)==null||!e.get_property(LE)),a=t.instance.config.capture_dead_clicks;return Kr(a)?a:!!jo(a)||o};class g2{get lazyLoadedDeadClicksAutocapture(){return this.lr}constructor(e,o,a){this.instance=e,this.isEnabled=o,this.onCapture=a,this.startIfEnabledOrStop()}onRemoteConfig(e){"captureDeadClicks"in e&&(this.instance.persistence&&this.instance.persistence.register({[LE]:e.captureDeadClicks}),this.startIfEnabledOrStop())}startIfEnabledOrStop(){this.isEnabled(this)?this.ur((()=>{this.hr()})):this.stop()}ur(e){var o,a;(o=ot.__PosthogExtensions__)!=null&&o.initDeadClicksAutocapture&&e(),(a=ot.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this.instance,"dead-clicks-autocapture",(n=>{n?tf.error("failed to load script",n):e()}))}hr(){var e;if(ze){if(!this.lr&&(e=ot.__PosthogExtensions__)!=null&&e.initDeadClicksAutocapture){var o=jo(this.instance.config.capture_dead_clicks)?this.instance.config.capture_dead_clicks:{};o.__onCapture=this.onCapture,this.lr=ot.__PosthogExtensions__.initDeadClicksAutocapture(this.instance,o),this.lr.start(ze),tf.info("starting...")}}else tf.error("`document` not found. Cannot start.")}stop(){this.lr&&(this.lr.stop(),this.lr=void 0,tf.info("stopping..."))}}var ex=ko("[SegmentIntegration]"),o4="posthog-js";function a4(t,e){var{organization:o,projectId:a,prefix:n,severityAllowList:r=["error"],sendExceptionsToPostHog:i=!0}=e===void 0?{}:e;return c=>{var d,u,m,h,f;if(r!=="*"&&!r.includes(c.level)||!t.__loaded)return c;c.tags||(c.tags={});var v=t.requestRouter.endpointFor("ui","/project/"+t.config.token+"/person/"+t.get_distinct_id());c.tags["PostHog Person URL"]=v,t.sessionRecordingStarted()&&(c.tags["PostHog Recording URL"]=t.get_session_replay_url({withTimestamp:!0}));var b,S=((d=c.exception)==null?void 0:d.values)||[],T=S.map((k=>Me({},k,{stacktrace:k.stacktrace?Me({},k.stacktrace,{type:"raw",frames:(k.stacktrace.frames||[]).map((C=>Me({},C,{platform:"web:javascript"})))}):void 0}))),x={$exception_message:((u=S[0])==null?void 0:u.value)||c.message,$exception_type:(m=S[0])==null?void 0:m.type,$exception_level:c.level,$exception_list:T,$sentry_event_id:c.event_id,$sentry_exception:c.exception,$sentry_exception_message:((h=S[0])==null?void 0:h.value)||c.message,$sentry_exception_type:(f=S[0])==null?void 0:f.type,$sentry_tags:c.tags};return o&&a&&(x.$sentry_url=(n||"https://sentry.io/organizations/")+o+"/issues/?project="+a+"&query="+c.event_id),i&&((b=t.exceptions)==null||b.sendExceptionEvent(x)),c}}class ece{constructor(e,o,a,n,r,i){this.name=o4,this.setupOnce=function(c){c(a4(e,{organization:o,projectId:a,prefix:n,severityAllowList:r,sendExceptionsToPostHog:i==null||i}))}}}class f2{constructor(e){this.cr=(o,a,n)=>{n&&(n.noSessionId||n.activityTimeout||n.sessionPastMaximumLength)&&(Ue.info("[PageViewManager] Session rotated, clearing pageview state",{sessionId:o,changeReason:n}),this.dr=void 0,this._instance.scrollManager.resetContext())},this._instance=e,this.vr()}vr(){var e;this.pr=(e=this._instance.sessionManager)==null?void 0:e.onSessionId(this.cr)}destroy(){var e;(e=this.pr)==null||e.call(this),this.pr=void 0}doPageView(e,o){var a,n=this.gr(e,o);return this.dr={pathname:(a=ge?.location.pathname)!==null&&a!==void 0?a:"",pageViewId:o,timestamp:e},this._instance.scrollManager.resetContext(),n}doPageLeave(e){var o;return this.gr(e,(o=this.dr)==null?void 0:o.pageViewId)}doEvent(){var e;return{$pageview_id:(e=this.dr)==null?void 0:e.pageViewId}}gr(e,o){var a=this.dr;if(!a)return{$pageview_id:o};var n={$pageview_id:o,$prev_pageview_id:a.pageViewId},r=this._instance.scrollManager.getContext();if(r&&!this._instance.config.disable_scroll_properties){var{maxScrollHeight:i,lastScrollY:c,maxScrollY:d,maxContentHeight:u,lastContentY:m,maxContentY:h}=r;if(!($e(i)||$e(c)||$e(d)||$e(u)||$e(m)||$e(h))){i=Math.ceil(i),c=Math.ceil(c),d=Math.ceil(d),u=Math.ceil(u),m=Math.ceil(m),h=Math.ceil(h);var f=i>1?Yr(c/i,0,1,Ue):1,v=i>1?Yr(d/i,0,1,Ue):1,b=u>1?Yr(m/u,0,1,Ue):1,S=u>1?Yr(h/u,0,1,Ue):1;n=Io(n,{$prev_pageview_last_scroll:c,$prev_pageview_last_scroll_percentage:f,$prev_pageview_max_scroll:d,$prev_pageview_max_scroll_percentage:v,$prev_pageview_last_content:m,$prev_pageview_last_content_percentage:b,$prev_pageview_max_content:h,$prev_pageview_max_content_percentage:S})}}return a.pathname&&(n.$prev_pageview_pathname=a.pathname),a.timestamp&&(n.$prev_pageview_duration=(e.getTime()-a.timestamp.getTime())/1e3),n}}var tce={[H3]:{exposure:"hidden"},[bp]:{exposure:"hidden"},__cmpns:{exposure:"hidden"},[yp]:{exposure:"hidden"},[XT]:{exposure:"event"},[e0]:{exposure:"hidden"},[t0]:{exposure:"event"},[o0]:{exposure:"hidden"},[a0]:{exposure:"event"},[n0]:{exposure:"event"},[LE]:{exposure:"event"},[r0]:{exposure:"hidden"},[s0]:{exposure:"event"},[Sp]:{exposure:"hidden"},$session_recording_enabled_server_side:{exposure:"hidden"},[fv]:{exposure:"hidden"},[BE]:{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"},[fd]:{exposure:"derived",shouldSkipFromEventProperties:(t,e)=>e(),transformToEventProperties(t){if(!jo(t))return{};for(var e={},o=Object.keys(t),a=0;o.length>a;a++)e["$feature/"+o[a]]=t[o[a]];return e}},[_f]:{exposure:"event"},[wp]:{exposure:"hidden"},[i0]:{exposure:"hidden"},[l0]:{exposure:"event"},[c0]:{exposure:"event"},[Ps]:{exposure:"event"},[ld]:{exposure:"hidden"},[xp]:{exposure:"hidden"},[Al]:{exposure:"hidden"},[d0]:{exposure:"hidden"},[u0]:{exposure:"event"},[Pf]:{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"},[_p]:{exposure:"hidden"},[p0]:{exposure:"hidden"},[m0]:{exposure:"hidden"},[vv]:{exposure:"hidden"},[br]:{exposure:"hidden"},[h0]:{exposure:"hidden"},[g0]:{exposure:"hidden"},[f0]:{exposure:"hidden"},[v0]:{exposure:"hidden"},[bv]:{exposure:"hidden"},[yv]:{exposure:"hidden"},[G3]:{exposure:"event"},[W3]:{exposure:"event"},[K3]:{exposure:"event"},[Y3]:{exposure:"event"},[Q3]:{exposure:"event"},[J3]:{exposure:"event"},[X3]:{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"}},oce=[["$posthog_sr_group_event_trigger_",{exposure:"hidden"}],["$posthog_sr_group_url_trigger_",{exposure:"hidden"}],["$posthog_sr_group_sampling_",{exposure:"hidden"}]],Tv=t=>{var e=ze?.createElement("a");return $e(e)?null:(e.href=t,e)},kv=function(t,e){for(var o,a=((t.split("#")[0]||"").split(/\?(.*)/)[1]||"").replace(/^\?+/g,"").split("&"),n=0;a.length>n;n++){var r=a[n].split("=");if(r[0]===e){o=r;break}}if(!It(o)||2>o.length)return"";var i=o[1];try{i=decodeURIComponent(i)}catch{Ue.error("Skipping decoding for malformed query param: "+i)}return i.replace(/\+/g," ")},Zp=function(t,e,o){if(!t||!e||!e.length)return t;for(var a=t.split("#"),n=a[1],r=(a[0]||"").split("?"),i=r[1],c=r[0],d=(i||"").split("&"),u=[],m=0;d.length>m;m++){var h=d[m].split("=");It(h)&&(e.includes(h[0])?u.push(h[0]+"="+o):u.push(d[m]))}var f=c;return i!=null&&(f+="?"+u.join("&")),n!=null&&(f+="#"+n),f},Ev=function(t,e){var o=t.match(new RegExp(e+"=([^&]*)"));return o?o[1]:null},of="https?://(.*)",Vd=["gclid","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","igshid","ttclid","rdt_cid","epik","qclid","sccid","irclid","_kx"],ace=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gad_source","mc_cid",...Vd],Qp="<masked>",nce=["li_fat_id"];function n4(t,e,o){if(!ze)return{};var a,n=e?[...Vd,...o||[]]:[],r=r4(Zp(ze.URL,n,Qp),t),i=(a={},yo(nce,(function(c){var d=Wr.O(c);a[c]=d||null})),a);return Io(i,r)}function r4(t,e){var o=ace.concat(e||[]),a={};return yo(o,(function(n){var r=kv(t,n);a[n]=r||null})),a}function s4(t){var e=(function(r){return r?r.search(of+"google.([^/?]*)")===0?"google":r.search(of+"bing.com")===0?"bing":r.search(of+"yahoo.com")===0?"yahoo":r.search(of+"duckduckgo.com")===0?"duckduckgo":null:null})(t),o=e!="yahoo"?"q":"p",a={};if(!zs(e)){a.$search_engine=e;var n=ze?kv(ze.referrer,o):"";n.length&&(a.ph_keyword=n)}return a}function v2(){return navigator.language||navigator.userLanguage}var Cv="$direct";function i4(){return ze?.referrer||Cv}function l4(t,e){var o=t?[...Vd,...e||[]]:[],a=ka?.href.substring(0,1e3);return{r:i4().substring(0,1e3),u:a?Zp(a,o,Qp):void 0}}function c4(t){var e,{r:o,u:a}=t,n={$referrer:o,$referring_domain:o==null?void 0:o==Cv?Cv:(e=Tv(o))==null?void 0:e.host};if(a){n.$current_url=a;var r=Tv(a);n.$host=r?.host,n.$pathname=r?.pathname;var i=r4(a);Io(n,i)}if(o){var c=s4(o);Io(n,c)}return n}function d4(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return}}function rce(){try{return new Date().getTimezoneOffset()}catch{return}}var sce=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"];class tx{constructor(e,o){this.Bt=e,this.props={},this.mr=!1,this.yr=(a=>{var n="";return a.token&&(n=a.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),a.persistence_name?"ph_"+a.persistence_name:"ph_"+n+"_posthog"})(e),this.nr=this.br(e),this.load(),e.debug&&Ue.info("Persistence loaded",e.persistence,Me({},this.props)),this.update_config(e,e,o),this.save()}isDisabled(){return!!this._r}br(e){sce.indexOf(e.persistence.toLowerCase())===-1&&(Ue.critical("Unknown persistence type "+e.persistence+"; falling back to localStorage+cookie"),e.persistence="localStorage+cookie");var o=(function(n){n===void 0&&(n=[]);var r=[...Yle,...n];return Me({},_o,{Z(i){try{var c={};try{c=Wr.Z(i)||{}}catch{}var d=Io(c,JSON.parse(_o.O(i)||"{}"));return _o.M(i,d),d}catch{}return null},M(i,c,d,u,m,h){try{_o.M(i,c,void 0,void 0,h);var f={};r.forEach((v=>{c[v]&&(f[v]=c[v])})),Object.keys(f).length&&Wr.M(i,f,d,u,m,h)}catch(v){_o.B(v)}},F(i,c){try{ge?.localStorage.removeItem(i),Wr.F(i,c)}catch(d){_o.B(d)}}})})(e.cookie_persisted_properties||[]),a=e.persistence.toLowerCase();return a==="localstorage"&&_o.R()?_o:a==="localstorage+cookie"&&o.R()?o:a==="sessionstorage"&&Ea.R()?Ea:a==="memory"?Zle:a==="cookie"?Wr:o.R()?o:Wr}wr(e){var o=e??this.Bt.feature_flag_cache_ttl_ms;if(!o||0>=o)return!1;var a=this.props[vv];return!a||typeof a!="number"||Date.now()-a>o}properties(){var e={};return yo(this.props,((o,a)=>{var n=(r=>{var i=tce[r];if(i)return i;for(var[c,d]of oce)if(r.indexOf(c)===0)return d})(a);if(n?.exposure==="derived"){if(n.shouldSkipFromEventProperties!=null&&n.shouldSkipFromEventProperties(o,a===fd?()=>this.wr():()=>!1))return;n.transformToEventProperties&&Io(e,n.transformToEventProperties(o))}else n&&n.exposure!=="event"||(e[a]=o)})),e}load(){if(!this._r){var e=this.nr.Z(this.yr);e&&(this.props=Io({},e))}}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(e,o,a){if(jo(e)){$e(o)&&(o="None"),this.Ir=$e(a)?this.kr:a;var n=!1;if(yo(e,((r,i)=>{this.props.hasOwnProperty(i)&&this.props[i]!==o||(this.Tr(i,r),n=!0)})),n)return this.save(),!0}return!1}register(e,o){if(jo(e)){this.Ir=$e(o)?this.kr:o;var a=!1;if(yo(e,((n,r)=>{e.hasOwnProperty(r)&&this.props[r]!==n&&(this.Tr(r,n),a=!0)})),a)return this.save(),!0}return!1}unregister(e){e in this.props&&(this.Ar(e),this.save())}update_campaign_params(){if(!this.mr){var e=n4(this.Bt.custom_campaign_params,this.Bt.mask_personal_data_properties,this.Bt.custom_personal_data_properties);gd(jE(e))||this.register(e),this.mr=!0}}update_search_keyword(){var e;this.register((e=ze?.referrer)?s4(e):{})}update_referrer_info(){var e;this.register_once({$referrer:i4(),$referring_domain:ze!=null&&ze.referrer&&((e=Tv(ze.referrer))==null?void 0:e.host)||Cv},void 0)}set_initial_person_info(){this.props[f0]||this.props[v0]||this.register_once({[bv]:l4(this.Bt.mask_personal_data_properties,this.Bt.custom_personal_data_properties)},void 0)}get_initial_props(){var e={};yo([v0,f0],(i=>{var c=this.props[i];c&&yo(c,(function(d,u){e["$initial_"+KT(u)]=d}))}));var o,a,n=this.props[bv];if(n){var r=(o=c4(n),a={},yo(o,(function(i,c){a["$initial_"+KT(c)]=i})),a);Io(e,r)}return e}safe_merge(e){return yo(this.props,(function(o,a){a in e||(e[a]=o)})),e}update_config(e,o,a){if(this.kr=this.Ir=e.cookie_expiration,this.set_disabled(e.disable_persistence||!!a),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie),e.persistence!==o.persistence||!((i,c)=>{if(i.length!==c.length)return!1;var d=[...i].sort(),u=[...c].sort();return d.every(((m,h)=>m===u[h]))})(e.cookie_persisted_properties||[],o.cookie_persisted_properties||[])){var n=this.br(e),r=this.props;this.clear(),this.nr=n,this.props=r,this.save()}}set_disabled(e){this._r=e,this._r?this.remove():this.save()}set_cross_subdomain(e){e!==this.Cr&&(this.Cr=e,this.remove(),this.save())}set_secure(e){e!==this.Sr&&(this.Sr=e,this.remove(),this.save())}set_event_timer(e,o){var a=this.props[yp]||{};a[e]=o,this.Tr(yp,a),this.save()}remove_event_timer(e){var o=this.props[yp]||{},a=o[e];return $e(a)||(delete o[e],this.Tr(yp,o),this.save()),a}get_property(e){return this.props[e]}set_property(e,o){this.Tr(e,o),this.save()}Tr(e,o){this.props[e]=o}Ar(e){delete this.props[e]}}var tp={Activation:"events",Cancellation:"cancelEvents"},ox={Popover:"popover",API:"api",Widget:"widget"},Tp={SHOWN:"survey shown",DISMISSED:"survey dismissed",SENT:"survey sent"},ax={SURVEY_ID:"$survey_id",SURVEY_ITERATION:"$survey_iteration",SURVEY_LAST_SEEN_DATE:"$survey_last_seen_date"},y0={Popover:"popover",Inline:"inline"},ice={SHOWN:"product tour shown"},b2={TOUR_LAST_SEEN_DATE:"$product_tour_last_seen_date",TOUR_TYPE:"$product_tour_type"},y2=ko("[RateLimiter]");class lce{constructor(e){this.serverLimits={},this.lastEventRateLimited=!1,this.checkForLimiting=o=>{var a=o.text;if(a&&a.length)try{(JSON.parse(a).quota_limited||[]).forEach((n=>{y2.info((n||"events")+" is quota limited."),this.serverLimits[n]=new Date().getTime()+6e4}))}catch(n){return void y2.warn('could not rate limit - continuing. Error: "'+n?.message+'"',{text:a})}},this.instance=e,this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}get captureEventsPerSecond(){var e;return((e=this.instance.config.rate_limiting)==null?void 0:e.events_per_second)||10}get captureEventsBurstLimit(){var e;return Math.max(((e=this.instance.config.rate_limiting)==null?void 0:e.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond)}clientRateLimitContext(e){var o,a,n;e===void 0&&(e=!1);var{captureEventsBurstLimit:r,captureEventsPerSecond:i}=this,c=new Date().getTime(),d=(o=(a=this.instance.persistence)==null?void 0:a.get_property(g0))!==null&&o!==void 0?o:{tokens:r,last:c};d.tokens+=(c-d.last)/1e3*i,d.last=c,d.tokens>r&&(d.tokens=r);var u=1>d.tokens;return u||e||(d.tokens=Math.max(0,d.tokens-1)),!u||this.lastEventRateLimited||e||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to "+i+" events per second and "+r+" events burst limit."},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=u,(n=this.instance.persistence)==null||n.set_property(g0,d),{isRateLimited:u,remainingTokens:d.tokens}}isServerRateLimited(e){var o=this.serverLimits[e||"events"]||!1;return o!==!1&&new Date().getTime()<o}}var op=ko("[RemoteConfig]");class u4{constructor(e){this._instance=e}get remoteConfig(){var e;return(e=ot._POSTHOG_REMOTE_CONFIG)==null||(e=e[this._instance.config.token])==null?void 0:e.config}Er(e){var o,a;(o=ot.__PosthogExtensions__)!=null&&o.loadExternalDependency?(a=ot.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this._instance,"remote-config",(()=>e(this.remoteConfig))):e()}Rr(e){this._instance._send_request({method:"GET",url:this._instance.requestRouter.endpointFor("assets","/array/"+this._instance.config.token+"/config"),callback(o){e(o.json)}})}load(){try{if(this.remoteConfig)return op.info("Using preloaded remote config",this.remoteConfig),this.Nr(this.remoteConfig),void this.Mr();if(this._instance.Fr())return void op.warn("Remote config is disabled. Falling back to local config.");this.Er((e=>{if(!e)return op.info("No config found after loading remote JS config. Falling back to JSON."),void this.Rr((o=>{this.Nr(o),this.Mr()}));this.Nr(e),this.Mr()}))}catch(e){op.error("Error loading remote config",e)}}stop(){this.Or&&(clearInterval(this.Or),this.Or=void 0)}refresh(){this._instance.Fr()||ze?.visibilityState==="hidden"||this._instance.reloadFeatureFlags()}Mr(){var e;if(!this.Or){var o=(e=this._instance.config.remote_config_refresh_interval_ms)!==null&&e!==void 0?e:3e5;o!==0&&(this.Or=setInterval((()=>{this.refresh()}),o))}}Nr(e){var o;e||op.error("Failed to fetch remote config from PostHog."),this._instance.Nr(e??{}),e?.hasFeatureFlags!==!1&&(this._instance.config.advanced_disable_feature_flags_on_first_load||(o=this._instance.featureFlags)==null||o.ensureFlagsLoaded())}}var Ur={GZipJS:"gzip-js",Base64:"base64"},rr=Uint8Array,fn=Uint16Array,Hd=Uint32Array,zE=new rr([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]),qE=new rr([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]),S2=new rr([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),p4=function(t,e){for(var o=new fn(31),a=0;31>a;++a)o[a]=e+=1<<t[a-1];var n=new Hd(o[30]);for(a=1;30>a;++a)for(var r=o[a];o[a+1]>r;++r)n[r]=r-o[a]<<5|a;return[o,n]},m4=p4(zE,2),S0=m4[1];m4[0][28]=258,S0[258]=28;for(var w2=p4(qE,0)[1],h4=new fn(32768),So=0;32768>So;++So){var Jc=(43690&So)>>>1|(21845&So)<<1;h4[So]=((65280&(Jc=(61680&(Jc=(52428&Jc)>>>2|(13107&Jc)<<2))>>>4|(3855&Jc)<<4))>>>8|(255&Jc)<<8)>>>1}var Pp=function(t,e,o){for(var a=t.length,n=0,r=new fn(e);a>n;++n)++r[t[n]-1];var i,c=new fn(e);for(n=0;e>n;++n)c[n]=c[n-1]+r[n-1]<<1;for(i=new fn(a),n=0;a>n;++n)i[n]=h4[c[t[n]-1]++]>>>15-t[n];return i},ql=new rr(288);for(So=0;144>So;++So)ql[So]=8;for(So=144;256>So;++So)ql[So]=9;for(So=256;280>So;++So)ql[So]=7;for(So=280;288>So;++So)ql[So]=8;var _v=new rr(32);for(So=0;32>So;++So)_v[So]=5;var cce=Pp(ql,9),dce=Pp(_v,5),g4=function(t){return(t/8>>0)+(7&t&&1)},f4=function(t,e,o){(o==null||o>t.length)&&(o=t.length);var a=new(t instanceof fn?fn:t instanceof Hd?Hd:rr)(o-e);return a.set(t.subarray(e,o)),a},Cs=function(t,e,o){var a=e/8>>0;t[a]|=o<<=7&e,t[a+1]|=o>>>8},ap=function(t,e,o){var a=e/8>>0;t[a]|=o<<=7&e,t[a+1]|=o>>>8,t[a+2]|=o>>>16},nx=function(t,e){for(var o=[],a=0;t.length>a;++a)t[a]&&o.push({s:a,f:t[a]});var n=o.length,r=o.slice();if(!n)return[new rr(0),0];if(n==1){var i=new rr(o[0].s+1);return i[o[0].s]=1,[i,1]}o.sort((function(P,D){return P.f-D.f})),o.push({s:-1,f:25001});var c=o[0],d=o[1],u=0,m=1,h=2;for(o[0]={s:-1,f:c.f+d.f,l:c,r:d};m!=n-1;)c=o[o[h].f>o[u].f?u++:h++],d=o[u!=m&&o[h].f>o[u].f?u++:h++],o[m++]={s:-1,f:c.f+d.f,l:c,r:d};var f=r[0].s;for(a=1;n>a;++a)r[a].s>f&&(f=r[a].s);var v=new fn(f+1),b=w0(o[m-1],v,0);if(b>e){a=0;var S=0,T=b-e,x=1<<T;for(r.sort((function(P,D){return v[D.s]-v[P.s]||P.f-D.f}));n>a;++a){var k=r[a].s;if(e>=v[k])break;S+=x-(1<<b-v[k]),v[k]=e}for(S>>>=T;S>0;){var C=r[a].s;e>v[C]?S-=1<<e-v[C]++-1:++a}for(;a>=0&&S;--a){var E=r[a].s;v[E]==e&&(--v[E],++S)}b=e}return[new rr(v),b]},w0=function(t,e,o){return t.s==-1?Math.max(w0(t.l,e,o+1),w0(t.r,e,o+1)):e[t.s]=o},x2=function(t){for(var e=t.length;e&&!t[--e];);for(var o=new fn(++e),a=0,n=t[0],r=1,i=function(d){o[a++]=d},c=1;e>=c;++c)if(t[c]==n&&c!=e)++r;else{if(!n&&r>2){for(;r>138;r-=138)i(32754);r>2&&(i(r>10?r-11<<5|28690:r-3<<5|12305),r=0)}else if(r>3){for(i(n),--r;r>6;r-=6)i(8304);r>2&&(i(r-3<<5|8208),r=0)}for(;r--;)i(n);r=1,n=t[c]}return[o.subarray(0,a),e]},np=function(t,e){for(var o=0,a=0;e.length>a;++a)o+=t[a]*e[a];return o},x0=function(t,e,o){var a=o.length,n=g4(e+2);t[n]=255&a,t[n+1]=a>>>8,t[n+2]=255^t[n],t[n+3]=255^t[n+1];for(var r=0;a>r;++r)t[n+r+4]=o[r];return 8*(n+4+a)},T2=function(t,e,o,a,n,r,i,c,d,u,m){Cs(e,m++,o),++n[256];for(var h=nx(n,15),f=h[0],v=h[1],b=nx(r,15),S=b[0],T=b[1],x=x2(f),k=x[0],C=x[1],E=x2(S),P=E[0],D=E[1],R=new fn(19),O=0;k.length>O;++O)R[31&k[O]]++;for(O=0;P.length>O;++O)R[31&P[O]]++;for(var I=nx(R,7),q=I[0],B=I[1],j=19;j>4&&!q[S2[j-1]];--j);var F,W,oe,H,K=u+5<<3,J=np(n,ql)+np(r,_v)+i,se=np(n,f)+np(r,S)+i+14+3*j+np(R,q)+(2*R[16]+3*R[17]+7*R[18]);if(J>=K&&se>=K)return x0(e,m,t.subarray(d,d+u));if(Cs(e,m,1+(J>se)),m+=2,J>se){F=Pp(f,v),W=f,oe=Pp(S,T),H=S;var Q=Pp(q,B);for(Cs(e,m,C-257),Cs(e,m+5,D-1),Cs(e,m+10,j-4),m+=14,O=0;j>O;++O)Cs(e,m+3*O,q[S2[O]]);m+=3*j;for(var M=[k,P],G=0;2>G;++G){var V=M[G];for(O=0;V.length>O;++O)Cs(e,m,Q[L=31&V[O]]),m+=q[L],L>15&&(Cs(e,m,V[O]>>>5&127),m+=V[O]>>>12)}}else F=cce,W=ql,oe=dce,H=_v;for(O=0;c>O;++O)if(a[O]>255){var L;ap(e,m,F[257+(L=a[O]>>>18&31)]),m+=W[L+257],L>7&&(Cs(e,m,a[O]>>>23&31),m+=zE[L]);var z=31&a[O];ap(e,m,oe[z]),m+=H[z],z>3&&(ap(e,m,a[O]>>>5&8191),m+=qE[z])}else ap(e,m,F[a[O]]),m+=W[a[O]];return ap(e,m,F[256]),m+W[256]},uce=new Hd([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),pce=(function(){for(var t=new Hd(256),e=0;256>e;++e){for(var o=e,a=9;--a;)o=(1&o&&3988292384)^o>>>1;t[e]=o}return t})(),rx=function(t,e,o){for(;o;++e)t[e]=o,o>>>=8};function mce(t,e){e===void 0&&(e={});var o=(function(){var h=4294967295;return{p(f){for(var v=h,b=0;f.length>b;++b)v=pce[255&v^f[b]]^v>>>8;h=v},d(){return 4294967295^h}}})(),a=t.length;o.p(t);var n,r,i,c,d,u=(c=10+((n=e).filename&&n.filename.length+1||0),d=8,(function(h,f,v,b,S,T){var x=h.length,k=new rr(b+x+5*(1+Math.floor(x/7e3))+S),C=k.subarray(b,k.length-S),E=0;if(!f||8>x)for(var P=0;x>=P;P+=65535){var D=P+65535;x>D?E=x0(C,E,h.subarray(P,D)):(C[P]=!0,E=x0(C,E,h.subarray(P,x)))}else{for(var R=uce[f-1],O=R>>>13,I=8191&R,q=(1<<v)-1,B=new fn(32768),j=new fn(q+1),F=Math.ceil(v/3),W=2*F,oe=function(He){return(h[He]^h[He+1]<<F^h[He+2]<<W)&q},H=new Hd(25e3),K=new fn(288),J=new fn(32),se=0,Q=0,M=(P=0,0),G=0,V=0;x>P;++P){var L=oe(P),z=32767&P,X=j[L];if(B[z]=X,j[L]=z,P>=G){var de=x-P;if((se>7e3||M>24576)&&de>423){E=T2(h,C,0,H,K,J,Q,M,V,P-V,E),M=se=Q=0,V=P;for(var ue=0;286>ue;++ue)K[ue]=0;for(ue=0;30>ue;++ue)J[ue]=0}var Ee=2,qe=0,Z=I,ne=z-X&32767;if(de>2&&L==oe(P-ne))for(var ve=Math.min(O,de)-1,ie=Math.min(32767,P),Te=Math.min(258,de);ie>=ne&&--Z&&z!=X;){if(h[P+Ee]==h[P+Ee-ne]){for(var _e=0;Te>_e&&h[P+_e]==h[P+_e-ne];++_e);if(_e>Ee){if(Ee=_e,qe=ne,_e>ve)break;var it=Math.min(ne,_e-2),ct=0;for(ue=0;it>ue;++ue){var Ge=P-ne+ue+32768&32767,at=Ge-B[Ge]+32768&32767;at>ct&&(ct=at,X=Ge)}}}ne+=(z=X)-(X=B[z])+32768&32767}if(qe){H[M++]=268435456|S0[Ee]<<18|w2[qe];var Ne=31&S0[Ee],Oe=31&w2[qe];Q+=zE[Ne]+qE[Oe],++K[257+Ne],++J[Oe],G=P+Ee,++se}else H[M++]=h[P],++K[h[P]]}}E=T2(h,C,!0,H,K,J,Q,M,V,P-V,E)}return f4(k,0,b+g4(E)+S)})(r=t,(i=e).level==null?6:i.level,i.mem==null?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(r.length)))):12+i.mem,c,d)),m=u.length;return(function(h,f){var v=f.filename;if(h[0]=31,h[1]=139,h[2]=8,h[8]=2>f.level?4:f.level==9?2:0,h[9]=3,f.mtime!=0&&rx(h,4,Math.floor(new Date(f.mtime||Date.now())/1e3)),v){h[3]=8;for(var b=0;v.length>=b;++b)h[b+10]=v.charCodeAt(b)}})(u,e),rx(u,m-8,o.d()),rx(u,m-4,a),u}var hce=!!GT||!!HT,v4="text/plain",k2=!1,yb=function(t,e,o){var a;o===void 0&&(o=!0);var[n,r]=t.split("?"),i=Me({},e),c=(a=r?.split("&").map((u=>{var m,[h,f]=u.split("="),v=o&&(m=i[h])!==null&&m!==void 0?m:f;return delete i[h],h+"="+v})))!==null&&a!==void 0?a:[],d=(function(u,m){var h,f;m===void 0&&(m="&");var v=[];return yo(u,(function(b,S){$e(b)||$e(S)||S==="undefined"||(h=encodeURIComponent((T=>T instanceof File)(b)?b.name:b.toString()),f=encodeURIComponent(S),v[v.length]=f+"="+h)})),v.join(m)})(i);return d&&c.push(d),n+"?"+c.join("&")},vd=(t,e)=>JSON.stringify(t,((o,a)=>typeof a=="bigint"?a.toString():a),e),sx=t=>{if(t.tr)return t.tr;var{data:e,compression:o}=t;if(e){if(o===Ur.GZipJS){var a=mce((function(c,d){var u=c.length;if(typeof TextEncoder<"u")return new TextEncoder().encode(c);for(var m=new rr(c.length+(c.length>>>1)),h=0,f=function(T){m[h++]=T},v=0;u>v;++v){if(h+5>m.length){var b=new rr(h+8+(u-v<<1));b.set(m),m=b}var S=c.charCodeAt(v);128>S?f(S):2048>S?(f(192|S>>>6),f(128|63&S)):S>55295&&57344>S?(f(240|(S=65536+(1047552&S)|1023&c.charCodeAt(++v))>>>18),f(128|S>>>12&63),f(128|S>>>6&63),f(128|63&S)):(f(224|S>>>12),f(128|S>>>6&63),f(128|63&S))}return f4(m,0,h)})(vd(e)),{mtime:0});return{contentType:v4,body:a.buffer.slice(a.byteOffset,a.byteOffset+a.byteLength),estimatedSize:a.byteLength}}if(o===Ur.Base64){var n=(function(c){return c&&btoa(encodeURIComponent(c).replace(/%([0-9A-F]{2})/g,((d,u)=>String.fromCharCode(parseInt(u,16)))))})(vd(e)),r=(c=>"data="+encodeURIComponent(typeof c=="string"?c:vd(c)))(n);return{contentType:"application/x-www-form-urlencoded",body:r,estimatedSize:new Blob([r]).size}}var i=vd(e);return{contentType:"application/json",body:i,estimatedSize:new Blob([i]).size}}},gce=(function(){var t=er((function*(e){var o=vd(e.data),a=yield(function(r,i,c){return WT.apply(this,arguments)})(o,Qa.DEBUG,{rethrow:!0});if(!a)return e;var n=yield a.arrayBuffer();return Me({},e,{tr:{contentType:v4,body:n,estimatedSize:n.byteLength}})}));return function(e){return t.apply(this,arguments)}})(),E2=(t,e)=>yb(t,{_:new Date().getTime().toString(),ver:Qa.JS_SDK_VERSION,compression:e}),Rf=[];HT&&Rf.push({transport:"fetch",method(t){var e,o,{contentType:a,body:n,estimatedSize:r}=(e=sx(t))!==null&&e!==void 0?e:{},i=new Headers;yo(t.headers,(function(m,h){i.append(h,m)})),a&&i.append("Content-Type",a);var c=t.url,d=null;if(o2){var u=new o2;d={signal:u.signal,timeout:setTimeout((()=>u.abort()),t.timeout)}}HT(c,Me({method:t?.method||"GET",headers:i,keepalive:t.method==="POST"&&52428.8>(r||0),body:n,signal:(o=d)==null?void 0:o.signal},t.fetchOptions)).then((m=>m.text().then((h=>{var f={statusCode:m.status,text:h};if(m.status===200)try{f.json=JSON.parse(h)}catch(v){Ue.error(v)}t.callback==null||t.callback(f)})))).catch((m=>{Ue.error(m),t.callback==null||t.callback({statusCode:0,error:m})})).finally((()=>d?clearTimeout(d.timeout):null))}}),GT&&Rf.push({transport:"XHR",method(t){var e,o=new GT;o.open(t.method||"GET",t.url,!0);var{contentType:a,body:n}=(e=sx(t))!==null&&e!==void 0?e:{};yo(t.headers,(function(r,i){o.setRequestHeader(i,r)})),a&&o.setRequestHeader("Content-Type",a),t.timeout&&(o.timeout=t.timeout),t.disableXHRCredentials||(o.withCredentials=!0),o.onreadystatechange=()=>{if(o.readyState===4){var r={statusCode:o.status,text:o.responseText};if(o.status===200)try{r.json=JSON.parse(o.responseText)}catch{}t.callback==null||t.callback(r)}},o.send(n)}}),Mn!=null&&Mn.sendBeacon&&Rf.push({transport:"sendBeacon",method(t){var e=yb(t.url,{beacon:"1"});try{var o,{contentType:a,body:n}=(o=sx(t))!==null&&o!==void 0?o:{};if(!n)return;var r=n instanceof Blob?n:new Blob([n],{type:a});Mn.sendBeacon(e,r)}catch{}}});var T0=3e3;class fce{constructor(e,o){this.Pr=!0,this.Lr=[],this.Dr=Yr(o?.flush_interval_ms||T0,250,5e3,Ue.createLogger("flush interval"),T0),this.Br=e}enqueue(e){this.Lr.push(e),this.jr||this.$r()}unload(){this.qr();var e=this.Lr.length>0?this.Zr():{},o=Object.values(e);[...o.filter((a=>a.url.indexOf("/e")===0)),...o.filter((a=>a.url.indexOf("/e")!==0))].map((a=>{this.Br(Me({},a,{transport:"sendBeacon"}))}))}enable(){this.Pr=!1,this.$r()}$r(){var e=this;this.Pr||(this.jr=setTimeout((()=>{if(this.qr(),this.Lr.length>0){var o=this.Zr(),a=function(){var r=o[n],i=new Date().getTime();r.data&&It(r.data)&&yo(r.data,(c=>{c.offset=Math.abs(c.timestamp-i),delete c.timestamp})),e.Br(r)};for(var n in o)a()}}),this.Dr))}qr(){clearTimeout(this.jr),this.jr=void 0}Zr(){var e={};return yo(this.Lr,(o=>{var a,n=o,r=(n?n.batchKey:null)||n.url;$e(e[r])&&(e[r]=Me({},n,{data:[]})),(a=e[r].data)==null||a.push(n.data)})),this.Lr=[],e}}var vce=["retriesPerformedSoFar"];class bce{constructor(e){this.Vr=!1,this.Hr=3e3,this.Lr=[],this._instance=e,this.Lr=[],this.zr=!0,!$e(ge)&&"onLine"in ge.navigator&&(this.zr=ge.navigator.onLine,this.Ur=()=>{this.zr=!0,this.Yr()},this.Gr=()=>{this.zr=!1},Xo(ge,"online",this.Ur),Xo(ge,"offline",this.Gr))}get length(){return this.Lr.length}retriableRequest(e){var{retriesPerformedSoFar:o}=e,a=S3(e,vce);id(o)&&(a.url=yb(a.url,{retry_count:o})),this._instance._send_request(Me({},a,{callback:n=>{n.statusCode===200||n.statusCode>=400&&500>n.statusCode||(o??0)>=10?a.callback==null||a.callback(n):this.Wr(Me({retriesPerformedSoFar:o},a))}}))}Wr(e){var o=e.retriesPerformedSoFar||0;e.retriesPerformedSoFar=o+1;var a=(function(i){var c=3e3*Math.pow(2,i),d=c/2,u=Math.min(18e5,c),m=Math.random()-.5;return Math.ceil(u+m*(u-d))})(o),n=Date.now()+a;this.Lr.push({retryAt:n,requestOptions:e});var r="Enqueued failed request for retry in "+a;navigator.onLine||(r+=" (Browser is offline)"),Ue.warn(r),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 e=Date.now(),o=[],a=this.Lr.filter((r=>e>r.retryAt||(o.push(r),!1)));if(this.Lr=o,a.length>0)for(var{requestOptions:n}of a)this.retriableRequest(n)}unload(){for(var{requestOptions:e}of(this.Jr&&(clearTimeout(this.Jr),this.Jr=void 0),this.Vr=!1,$e(ge)||(this.Ur&&(ge.removeEventListener("online",this.Ur),this.Ur=void 0),this.Gr&&(ge.removeEventListener("offline",this.Gr),this.Gr=void 0)),this.Lr))try{this._instance._send_request(Me({},e,{transport:"sendBeacon"}))}catch(o){Ue.error(o)}this.Lr=[]}}class yce{constructor(e){this.Kr=()=>{var o,a,n,r;this.Qr||(this.Qr={});var i=this.scrollElement(),c=this.scrollY(),d=i?Math.max(0,i.scrollHeight-i.clientHeight):0,u=c+(i?.clientHeight||0),m=i?.scrollHeight||0;this.Qr.lastScrollY=Math.ceil(c),this.Qr.maxScrollY=Math.max(c,(o=this.Qr.maxScrollY)!==null&&o!==void 0?o:0),this.Qr.maxScrollHeight=Math.max(d,(a=this.Qr.maxScrollHeight)!==null&&a!==void 0?a:0),this.Qr.lastContentY=u,this.Qr.maxContentY=Math.max(u,(n=this.Qr.maxContentY)!==null&&n!==void 0?n:0),this.Qr.maxContentHeight=Math.max(m,(r=this.Qr.maxContentHeight)!==null&&r!==void 0?r:0)},this._instance=e}get ei(){return this._instance.config.scroll_root_selector}getContext(){return this.Qr}resetContext(){var e=this.Qr;return setTimeout(this.Kr,0),e}startMeasuringScrollPosition(){Xo(ge,"scroll",this.Kr,{capture:!0}),Xo(ge,"scrollend",this.Kr,{capture:!0}),Xo(ge,"resize",this.Kr)}scrollElement(){if(!this.ei)return ge?.document.documentElement;var e=It(this.ei)?this.ei:[this.ei];for(var o of e){var a=ge?.document.querySelector(o);if(a)return a}}scrollY(){if(this.ei){var e=this.scrollElement();return e&&e.scrollTop||0}return ge&&(ge.scrollY||ge.pageYOffset||ge.document.documentElement.scrollTop)||0}scrollX(){if(this.ei){var e=this.scrollElement();return e&&e.scrollLeft||0}return ge&&(ge.scrollX||ge.pageXOffset||ge.document.documentElement.scrollLeft)||0}}var Sce=t=>l4(t?.config.mask_personal_data_properties,t?.config.custom_personal_data_properties);class C2{constructor(e,o,a,n){this.ti=r=>{var i=this.ri();if(!i||i.sessionId!==r){var c={sessionId:r,props:this.ii(this._instance)};this.ni.register({[h0]:c})}},this._instance=e,this.si=o,this.ni=a,this.ii=n||Sce,this.si.onSessionId(this.ti)}ri(){return this.ni.props[h0]}getSetOnceProps(){var e,o=(e=this.ri())==null?void 0:e.props;return o?"r"in o?c4(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 e={};return yo(jE(this.getSetOnceProps()),((o,a)=>{a==="$current_url"&&(a="url"),e["$session_entry_"+KT(a)]=o})),e}}class UE{constructor(){this.oi={}}on(e,o){return this.oi[e]||(this.oi[e]=[]),this.oi[e].push(o),()=>{this.oi[e]=this.oi[e].filter((a=>a!==o))}}emit(e,o){for(var a of this.oi[e]||[])a(o);for(var n of this.oi["*"]||[])n(e,o)}}var ix=ko("[SessionId]");class _2{on(e,o){return this.ai.on(e,o)}constructor(e,o,a){var n;if(this.li=[],this.ui=void 0,this.ai=new UE,this.hi=(u,m)=>!(!id(u)||!id(m))&&Math.abs(u-m)>this.sessionTimeoutMs,!e.persistence)throw new Error("SessionIdManager requires a PostHogPersistence instance");if(e.config.cookieless_mode===Rs)throw new Error('SessionIdManager cannot be used with cookieless_mode="always"');this.Bt=e.config,this.ni=e.persistence,this.ci=void 0,this.di=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this.vi=o||Ri,this.fi=a||Ri;var r=this.Bt.persistence_name||this.Bt.token;if(this._sessionTimeoutMs=1e3*Yr(this.Bt.session_idle_timeout_seconds||1800,60,36e3,ix.createLogger("session_idle_timeout_seconds"),1800),e.register({$configured_session_timeout_ms:this._sessionTimeoutMs}),this.pi(),this.gi="ph_"+r+"_window_id",this.mi="ph_"+r+"_primary_window_exists",this.yi()){var i=Ea.Z(this.gi),c=Ea.Z(this.mi);i&&!c?this.ci=i:Ea.F(this.gi),Ea.M(this.mi,!0)}if((n=this.Bt.bootstrap)!=null&&n.sessionID)try{var d=(u=>{var m=this.Bt.bootstrap.sessionID.replace(/-/g,"");if(m.length!==32)throw new Error("Not a valid UUID");if(m[12]!=="7")throw new Error("Not a UUIDv7");return parseInt(m.substring(0,12),16)})();this.bi(this.Bt.bootstrap.sessionID,new Date().getTime(),d)}catch(u){ix.error("Invalid sessionID in bootstrap",u)}this.wi()}get sessionTimeoutMs(){return this._sessionTimeoutMs}onSessionId(e){return $e(this.li)&&(this.li=[]),this.li.push(e),this.di&&e(this.di,this.ci),()=>{this.li=this.li.filter((o=>o!==e))}}yi(){return this.Bt.persistence!=="memory"&&!this.ni._r&&Ea.R()}Ii(e){e!==this.ci&&(this.ci=e,this.yi()&&Ea.M(this.gi,e))}Ci(){return this.ci?this.ci:this.yi()?Ea.Z(this.gi):null}bi(e,o,a){e===this.di&&o===this._sessionActivityTimestamp&&a===this._sessionStartTimestamp||(this._sessionStartTimestamp=a,this._sessionActivityTimestamp=o,this.di=e,this.ni.register({[fv]:[o,e,a]}))}Si(){var e=this.ni.props[fv];return It(e)&&e.length===2&&e.push(e[0]),e||[0,null,0]}resetSessionId(){this.bi(null,null,null)}destroy(){clearTimeout(this.xi),this.xi=void 0,this.ui&&ge&&(ge.removeEventListener(wv,this.ui,{capture:!1}),this.ui=void 0),this.li=[]}wi(){this.ui=()=>{this.yi()&&Ea.F(this.mi)},Xo(ge,wv,this.ui,{capture:!1})}checkAndGetSessionAndWindowId(e,o){if(e===void 0&&(e=!1),o===void 0&&(o=null),this.Bt.cookieless_mode===Rs)throw new Error('checkAndGetSessionAndWindowId should not be called with cookieless_mode="always"');var a=o||new Date().getTime(),[n,r,i]=this.Si(),c=this.Ci(),d=id(i)&&Math.abs(a-i)>864e5,u=!1,m=!r,h=!m&&!e&&this.hi(a,n);m||h||d?(r=this.vi(),c=this.fi(),ix.info("new session ID generated",{sessionId:r,windowId:c,changeReason:{noSessionId:m,activityTimeout:h,sessionPastMaximumLength:d}}),i=a,u=!0):c||(c=this.fi(),u=!0);var f=id(n)&&e&&!d?n:a,v=id(i)?i:new Date().getTime();return this.Ii(c),this.bi(r,f,v),e||this.pi(),u&&this.li.forEach((b=>b(r,c,u?{noSessionId:m,activityTimeout:h,sessionPastMaximumLength:d}:void 0))),{sessionId:r,windowId:c,sessionStartTimestamp:v,changeReason:u?{noSessionId:m,activityTimeout:h,sessionPastMaximumLength:d}:void 0,lastActivityTimestamp:n}}pi(){clearTimeout(this.xi),this.xi=setTimeout((()=>{var[e]=this.Si();if(this.hi(new Date().getTime(),e)){var o=this.di;this.resetSessionId(),this.ai.emit("forcedIdleReset",{idleSessionId:o})}}),1.1*this.sessionTimeoutMs)}}var b4=function(t,e){if(!t)return!1;var o=t.userAgent;if(o&&r2(o,e))return!0;try{var a=t?.userAgentData;if(a!=null&&a.brands&&a.brands.some((n=>r2(n?.brand,e))))return!0}catch{}return!!t.webdriver},Pv=function(t,e){if(!(function(o){try{new RegExp(o)}catch{return!1}return!0})(e))return!1;try{return new RegExp(e).test(t)}catch{return!1}};function P2(t,e,o){return vd({distinct_id:t,userPropertiesToSet:e,userPropertiesToSetOnce:o})}var y4={exact:(t,e)=>e.some((o=>t.some((a=>o===a)))),is_not:(t,e)=>e.every((o=>t.every((a=>o!==a)))),regex:(t,e)=>e.some((o=>t.some((a=>Pv(o,a))))),not_regex:(t,e)=>e.every((o=>t.every((a=>!Pv(o,a))))),icontains:(t,e)=>e.map(af).some((o=>t.map(af).some((a=>o.includes(a))))),not_icontains:(t,e)=>e.map(af).every((o=>t.map(af).every((a=>!o.includes(a))))),gt:(t,e)=>e.some((o=>{var a=parseFloat(o);return!isNaN(a)&&t.some((n=>a>parseFloat(n)))})),lt:(t,e)=>e.some((o=>{var a=parseFloat(o);return!isNaN(a)&&t.some((n=>a<parseFloat(n)))}))},af=t=>t.toLowerCase();function S4(t,e){return!t||Object.entries(t).every((o=>{var[a,n]=o,r=e?.[a];if($e(r)||zs(r))return!1;var i=[String(r)],c=y4[n.operator];return!!c&&c(n.values,i)}))}var k0="custom",A2="i.posthog.com",wce=/^\/static\//;class xce{constructor(e){this.ki={},this.instance=e}get apiHost(){var e=this.instance.config.api_host.trim().replace(/\/$/,"");return e==="https://app.posthog.com"?"https://us.i.posthog.com":e}get flagsApiHost(){var e=this.instance.config.flags_api_host;return e?e.trim().replace(/\/$/,""):this.apiHost}get uiHost(){var e,o=(e=this.instance.config.ui_host)==null?void 0:e.replace(/\/$/,"");return o||(o=this.apiHost.replace("."+A2,".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":k0),this.ki[this.apiHost]}Ti(e){var o=this.instance.config.__preview_external_dependency_versioned_paths;if(typeof o=="string"&&wce.test(e))return o.trim().replace(/\/$/,"")||void 0}endpointFor(e,o){if(o===void 0&&(o=""),o&&(o=o[0]==="/"?o:"/"+o),e==="ui")return this.uiHost+o;if(e==="flags")return this.flagsApiHost+o;if(e==="assets"){var a=this.Ti(o);if(a)return""+a+o}if(this.region===k0)return this.apiHost+o;var n=A2+o;switch(e){case"assets":return"https://"+this.region+"-assets."+n;case"api":return"https://"+this.region+"."+n}}}var oo=ko("[Surveys]"),E0="seenSurvey_",Tce=[ox.Popover,ox.Widget,ox.API],kce={ignoreConditions:!1,ignoreDelay:!1,displayType:y0.Popover},Ece=ko("[PostHog ExternalIntegrations]"),Cce={intercom:"intercom-integration",crispChat:"crisp-chat-integration"};class _ce{constructor(e){this._instance=e}ur(e,o){var a;(a=ot.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this._instance,e,(n=>{if(n)return Ece.error("failed to load script",n);o()}))}startIfEnabledOrStop(){var e=this,o=function(i){var c,d,u;!n||(c=ot.__PosthogExtensions__)!=null&&(c=c.integrations)!=null&&c[i]||e.ur(Cce[i],(()=>{var m;(m=ot.__PosthogExtensions__)==null||(m=m.integrations)==null||(m=m[i])==null||m.start(e._instance)})),!n&&(d=ot.__PosthogExtensions__)!=null&&(d=d.integrations)!=null&&d[i]&&((u=ot.__PosthogExtensions__)==null||(u=u.integrations)==null||(u=u[i])==null||u.stop())};for(var[a,n]of Object.entries((r=this._instance.config.integrations)!==null&&r!==void 0?r:{})){var r;o(a)}}}var Xc,Ap={},lx=0,C0=()=>{},R2='Consent opt in/out is not valid with cookieless_mode="always" and will be ignored',rp="Surveys module not available",D2="sanitize_properties is deprecated. Use before_send instead",w4="Invalid value for property_denylist config: ",dd="posthog",x4=!hce&&mn?.indexOf("MSIE")===-1&&mn?.indexOf("Mozilla")===-1,O2=t=>{var e;return Me({api_host:"https://us.i.posthog.com",flags_api_host:null,ui_host:null,token:"",autocapture:!0,cross_subdomain_cookie:Vle(ze?.location),persistence:"localStorage+cookie",persistence_name:"",cookie_persisted_properties:[],loaded:C0,save_campaign_params:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageleave:"if_capture_pageview",defaults:t??"unset",__preview_deferred_init_extensions:!1,__preview_external_dependency_versioned_paths:!1,debug:ka&&Po(ka?.search)&&ka.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||(e=ge.location)==null?void 0:e.protocol)==="https:",ip:!1,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:"localStorage",consent_persistence_name:null,opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_denylist:[],respect_dnt:!1,sanitize_properties:null,request_headers:{},request_batching:!0,properties_string_max_length:65535,mask_all_element_attributes:!1,mask_all_text:!1,mask_personal_data_properties:!1,custom_personal_data_properties:[],advanced_disable_flags:!1,advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_only_evaluate_survey_feature_flags:!1,advanced_feature_flags_dedup_per_session:!1,advanced_enable_surveys:!1,advanced_disable_toolbar_metrics:!1,feature_flag_request_timeout_ms:3e3,surveys_request_timeout_ms:1e4,on_request_error(o){Ue.error("Bad HTTP status: "+o.statusCode+" "+o.text)},get_device_id:o=>o,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:b0,before_send:void 0,request_queue_config:{flush_interval_ms:T0},error_tracking:{},_onCapture:C0,__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}))(t))},Pce=[["process_person","person_profiles"],["xhr_headers","request_headers"],["cookie_name","persistence_name"],["disable_cookie","disable_persistence"],["store_google","save_campaign_params"],["verbose","debug"]],N2=t=>{var e={};for(var[o,a]of Pce)$e(t[o])||(e[a]=t[o]);var n=Io({},e,t);return It(t.property_blacklist)&&($e(t.property_denylist)?n.property_denylist=t.property_blacklist:It(t.property_denylist)?n.property_denylist=[...t.property_blacklist,...t.property_denylist]:Ue.error(w4+t.property_denylist)),n};class Ace{constructor(){this.__forceAllowLocalhost=!1}get Ai(){return this.__forceAllowLocalhost}set Ai(e){Ue.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=e}}class tr{Ei(e,o){if(e){var a=this.Ri.indexOf(e);a!==-1&&this.Ri.splice(a,1)}return this.Ri.push(o),o.initialize==null||o.initialize(),o}Ni(){return this.config.cookieless_mode===Rs||this.config.cookieless_mode===Rl&&this.consent.isRejected()}get decideEndpointWasHit(){var e,o;return(e=(o=this.featureFlags)==null?void 0:o.hasLoadedFlags)!==null&&e!==void 0&&e}get flagsEndpointWasHit(){var e,o;return(e=(o=this.featureFlags)==null?void 0:o.hasLoadedFlags)!==null&&e!==void 0&&e}constructor(){var e;this.webPerformance=new Ace,this.Mi=!1,this.version=Qa.LIB_VERSION,this.Fi=new UE,this.Ri=[],this._calculate_event_properties=this.calculateEventProperties.bind(this),this.config=O2(),this.SentryIntegration=ece,this.sentryIntegration=a=>(function(n,r){var i=a4(n,r);return{name:o4,processEvent:c=>i(c)}})(this,a),this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.Oi=!1,this.Pi=null,this.Li=null,this.Di=null,this.scrollManager=new yce(this),this.pageViewManager=new f2(this),this.rateLimiter=new lce(this),this.requestRouter=new xce(this),this.consent=new Qle(this),this.externalIntegrations=new _ce(this);var o=(e=tr.__defaultExtensionClasses)!==null&&e!==void 0?e:{};this.featureFlags=o.featureFlags&&new o.featureFlags(this),this.toolbar=o.toolbar&&new o.toolbar(this),this.surveys=o.surveys&&new o.surveys(this),this.conversations=o.conversations&&new o.conversations(this),this.logs=o.logs&&new o.logs(this),this.experiments=o.experiments&&new o.experiments(this),this.exceptions=o.exceptions&&new o.exceptions(this),this.people={set:(a,n,r)=>{var i=Po(a)?{[a]:n}:a;this.setPersonProperties(i),r?.({})},set_once:(a,n,r)=>{var i=Po(a)?{[a]:n}:a;this.setPersonProperties(void 0,i),r?.({})}},this.on("eventCaptured",(a=>Ue.info('send "'+a?.event+'"',a)))}init(e,o,a){if(a&&a!==dd){var n,r=(n=Ap[a])!==null&&n!==void 0?n:new tr;return r._init(e,o,a),Ap[a]=r,Ap[dd][a]=r,r}return this._init(e,o,a)}_init(e,o,a){var n,r;if(o===void 0&&(o={}),$e(e)||Cf(e))return Ue.critical("PostHog was initialized without a token. This likely indicates a misconfiguration. Please check the first argument passed to posthog.init()"),this;if(this.__loaded)return console.warn("[PostHog.js]","You have already initialized PostHog! Re-initializing is a no-op"),this;this.__loaded=!0,this.config={},o.debug=this.Bi(o.debug),this.ji=o,this.$i=[],o.person_profiles?this.Li=o.person_profiles:o.process_person&&(this.Li=o.process_person),this.set_config(Io({},O2(o.defaults),N2(o),{name:a,token:e})),this.config.on_xhr_error&&Ue.error("on_xhr_error is deprecated. Use on_request_error instead"),this.compression=o.disable_compression?void 0:Ur.GZipJS;var i=this.qi();this.persistence=new tx(this.config,i),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new tx(Me({},this.config,{persistence:"sessionStorage"}),i);var c=Me({},this.persistence.props),d=Me({},this.sessionPersistence.props);this.register({$initialization_time:new Date().toISOString()}),this.Zi=new fce((T=>this.Vi(T)),this.config.request_queue_config),this.Hi=new bce(this),this.__request_queue=[];var u=this.Ni();if(u||(this.sessionManager=new _2(this),this.sessionPropsManager=new C2(this,this.sessionManager,this.persistence)),this.config.__preview_deferred_init_extensions?(Ue.info("Deferring extension initialization to improve startup performance"),setTimeout((()=>{this.zi(u)}),0)):(Ue.info("Initializing extensions synchronously"),this.zi(u)),Qa.DEBUG=Qa.DEBUG||this.config.debug,Qa.DEBUG&&Ue.info("Starting in debug mode",{this:this,config:o,thisC:Me({},this.config),p:c,s:d}),!this.config.identity_distinct_id||(n=o.bootstrap)!=null&&n.distinctID||(o.bootstrap=Me({},o.bootstrap,{distinctID:this.config.identity_distinct_id,isIdentifiedID:!0})),((r=o.bootstrap)==null?void 0:r.distinctID)!==void 0){var m=o.bootstrap.distinctID,h=this.get_distinct_id(),f=this.persistence.get_property(br);if(o.bootstrap.isIdentifiedID&&h!=null&&h!==m&&f===Zc)this.identify(m);else if(o.bootstrap.isIdentifiedID&&h!=null&&h!==m&&f===Qc)Ue.warn("Bootstrap distinctID differs from an already-identified user. The existing identity is preserved. Call reset() before reinitializing if you intend to switch users.");else{var v=this.config.get_device_id(Ri()),b=o.bootstrap.isIdentifiedID?v:m;this.persistence.set_property(br,o.bootstrap.isIdentifiedID?Qc:Zc),this.register({distinct_id:m,$device_id:b})}}if(u)this.register_once({distinct_id:Jg,$device_id:null},"");else if(!this.get_distinct_id()){var S=this.config.get_device_id(Ri());this.register_once({distinct_id:S,$device_id:S},""),this.persistence.set_property(br,Zc)}return Xo(ge,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this),{passive:!1}),o.segment?(function(T,x){var k=T.config.segment;if(!k)return x();(function(C,E){var P=C.config.segment;if(!P)return E();var D=O=>{var I=()=>O.anonymousId()||Ri();C.config.get_device_id=I,O.id()&&(C.register({distinct_id:O.id(),$device_id:I()}),C.persistence.set_property(br,Qc)),E()},R=P.user();"then"in R&&As(R.then)?R.then(D):D(R)})(T,(()=>{k.register((C=>{Promise&&Promise.resolve||ex.warn("This browser does not have Promise support, and can not use the segment integration");var E=(P,D)=>{if(!D)return P;P.event.userId||P.event.anonymousId===C.get_distinct_id()||(ex.info("No userId set, resetting PostHog"),C.reset()),P.event.userId&&P.event.userId!==C.get_distinct_id()&&(ex.info("UserId set, identifying with PostHog"),C.identify(P.event.userId));var R=C.calculateEventProperties(D,P.event.properties);return P.event.properties=Object.assign({},R,P.event.properties),P};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:P=>E(P,P.event.event),page:P=>E(P,cd),identify:P=>E(P,Jw),screen:P=>E(P,"$screen")}})(T)).then((()=>{x()}))}))})(this,(()=>this.Ui())):this.Ui(),As(this.config._onCapture)&&this.config._onCapture!==C0&&(Ue.warn("onCapture is deprecated. Please use `before_send` instead"),this.on("eventCaptured",(T=>this.config._onCapture(T.event,T)))),this.config.ip&&Ue.warn('The `ip` config option has NO EFFECT AT ALL and has been deprecated. Use a custom transformation or "Discard IP data" project setting instead. See https://posthog.com/tutorials/web-redact-properties#hiding-customer-ip-address for more information.'),this}zi(e){var o,a,n,r,i,c,d,u=performance.now(),m=Me({},tr.__defaultExtensionClasses,this.config.__extensionClasses),h=[];m.featureFlags&&this.Ri.push(this.featureFlags=(o=this.featureFlags)!==null&&o!==void 0?o:new m.featureFlags(this)),m.exceptions&&this.Ri.push(this.exceptions=(a=this.exceptions)!==null&&a!==void 0?a:new m.exceptions(this)),m.historyAutocapture&&this.Ri.push(this.historyAutocapture=new m.historyAutocapture(this)),m.tracingHeaders&&this.Ri.push(new m.tracingHeaders(this)),m.siteApps&&this.Ri.push(this.siteApps=new m.siteApps(this)),m.sessionRecording&&!e&&this.Ri.push(this.sessionRecording=new m.sessionRecording(this)),this.config.disable_scroll_properties||h.push((()=>{this.scrollManager.startMeasuringScrollPosition()})),m.autocapture&&this.Ri.push(this.autocapture=new m.autocapture(this)),m.surveys&&this.Ri.push(this.surveys=(n=this.surveys)!==null&&n!==void 0?n:new m.surveys(this)),m.logs&&this.Ri.push(this.logs=(r=this.logs)!==null&&r!==void 0?r:new m.logs(this)),m.conversations&&this.Ri.push(this.conversations=(i=this.conversations)!==null&&i!==void 0?i:new m.conversations(this)),m.productTours&&this.Ri.push(this.productTours=new m.productTours(this)),m.heatmaps&&this.Ri.push(this.heatmaps=new m.heatmaps(this)),m.webVitalsAutocapture&&this.Ri.push(this.webVitalsAutocapture=new m.webVitalsAutocapture(this)),m.exceptionObserver&&this.Ri.push(this.exceptionObserver=new m.exceptionObserver(this)),m.deadClicksAutocapture&&this.Ri.push(this.deadClicksAutocapture=new m.deadClicksAutocapture(this,Xle)),m.toolbar&&this.Ri.push(this.toolbar=(c=this.toolbar)!==null&&c!==void 0?c:new m.toolbar(this)),m.experiments&&this.Ri.push(this.experiments=(d=this.experiments)!==null&&d!==void 0?d:new m.experiments(this)),this.Ri.forEach((f=>{f.initialize&&h.push((()=>{f.initialize==null||f.initialize()}))})),h.push((()=>{if(this.Yi){var f=this.Yi;this.Yi=void 0,this.Nr(f)}})),this.Gi(h,u)}Gi(e,o){for(;e.length>0;){if(this.config.__preview_deferred_init_extensions&&performance.now()-o>=30&&e.length>0)return void setTimeout((()=>{this.Gi(e,o)}),0);var a=e.shift();if(a)try{a()}catch(r){Ue.error("Error initializing extension:",r)}}var n=Math.round(performance.now()-o);this.register_for_session({[Q3]:this.config.__preview_deferred_init_extensions?"deferred":"synchronous",[J3]:n}),this.config.__preview_deferred_init_extensions&&Ue.info("PostHog extensions initialized ("+n+"ms)")}Nr(e){var o;if(!ze||!ze.body)return Ue.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout((()=>{this.Nr(e)}),500);this.config.__preview_deferred_init_extensions&&(this.Yi=e),this.Wi=e,this.compression=void 0,e.supportedCompression&&!this.config.disable_compression&&(this.compression=Et(e.supportedCompression,Ur.GZipJS)?Ur.GZipJS:Et(e.supportedCompression,Ur.Base64)?Ur.Base64:void 0),(o=e.analytics)!=null&&o.endpoint&&(this.analyticsDefaultEndpoint=e.analytics.endpoint),this.set_config({person_profiles:this.Li?this.Li:b0}),this.Ri.forEach((a=>a.onRemoteConfig==null?void 0:a.onRemoteConfig(e)))}Ui(){try{this.config.loaded(this)}catch(a){Ue.critical("`loaded` function failed",a)}if(this.Xi(),this.config.internal_or_test_user_hostname&&ka!=null&&ka.hostname){var e=ka.hostname,o=this.config.internal_or_test_user_hostname;(typeof o=="string"?e===o:o.test(e))&&this.setInternalOrTestUser()}this.config.capture_pageview&&setTimeout((()=>{(this.consent.isOptedIn()||this.Ni())&&this.Ji()}),1),this.Ki=new u4(this),this.Ki.load()}Xi(){var e;this.is_capturing()&&this.config.request_batching&&((e=this.Zi)==null||e.enable())}_dom_loaded(){this.is_capturing()&&Xg(this.__request_queue,(e=>this.Vi(e))),this.__request_queue=[],this.Xi()}_handle_unload(){var e,o,a,n;(e=this.surveys)==null||e.handlePageUnload(),this.config.request_batching?(this.Qi()&&this.capture(Qw),(o=this.logs)==null||o.flushLogs("sendBeacon"),(a=this.Zi)==null||a.unload(),(n=this.Hi)==null||n.unload()):this.Qi()&&this.capture(Qw,null,{transport:"sendBeacon"})}_send_request(e){this.__loaded&&(x4?this.__request_queue.push(e):this.rateLimiter.isServerRateLimited(e.batchKey)||(e.transport=e.transport||this.config.api_transport,e.url=yb(e.url,{ip:this.config.ip?1:0}),e.headers=Me({},this.config.request_headers,e.headers),e.compression=e.compression==="best-available"?this.compression:e.compression,e.disableXHRCredentials=this.config.__preview_disable_xhr_credentials,this.config.__preview_disable_beacon&&(e.disableTransport=["sendBeacon"]),e.fetchOptions=e.fetchOptions||this.config.fetch_options,(o=>{var a,n,r,i=Me({},o);i.timeout=i.timeout||6e4,i.url=E2(i.url,i.compression);var c=(a=i.transport)!==null&&a!==void 0?a:"fetch",d=Rf.filter((m=>!i.disableTransport||!m.transport||!i.disableTransport.includes(m.transport))),u=(n=(r=(function(m,h){for(var f=0;m.length>f;f++)if(m[f].transport===c)return m[f]})(d))==null?void 0:r.method)!==null&&n!==void 0?n:d[0].method;if(!u)throw new Error("No available transport method");c!=="sendBeacon"&&i.data&&i.compression===Ur.GZipJS&&ele&&!k2?gce(i).then((m=>{u(m)})).catch((m=>{if((h=>!(!h||typeof h!="object")&&("name"in h?String(h.name):"")==="NotReadableError")(m))return k2=!0,void u(Me({},i,{compression:void 0,url:E2(o.url,void 0)}));u(i)})):u(i)})(Me({},e,{callback:o=>{var a,n;this.rateLimiter.checkForLimiting(o),400>o.statusCode||(a=(n=this.config).on_request_error)==null||a.call(n,o),e.callback==null||e.callback(o)}}))))}Vi(e){this.Hi?this.Hi.retriableRequest(e):this._send_request(e)}_execute_array(e){lx++;try{var o,a=[],n=[],r=[];Xg(e,(c=>{c&&(It(o=c[0])?r.push(c):As(c)?c.call(this):It(c)&&o==="alias"?a.push(c):It(c)&&o.indexOf("capture")!==-1&&As(this[o])?r.push(c):n.push(c))}));var i=function(c,d){Xg(c,(function(u){if(It(u[0])){var m=d;yo(u,(function(h){m=m[h[0]].apply(m,h.slice(1))}))}else d[u[0]].apply(d,u.slice(1))}))};i(a,this),i(n,this),i(r,this)}finally{lx--}}push(e){if(lx>0&&It(e)&&Po(e[0])){var o=tr.prototype[e[0]];As(o)&&o.apply(this,e.slice(1))}else this._execute_array([e])}capture(e,o,a){var n,r,i,c,d;if(this.__loaded&&this.persistence&&this.sessionPersistence&&this.Zi){if(this.is_capturing())if(!$e(e)&&Po(e)){var u=!this.config.opt_out_useragent_filter&&this._is_bot();if(!u||this.config.__preview_capture_bot_pageviews){var m=a!=null&&a.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(m==null||!m.isRateLimited){o!=null&&o.$current_url&&!Po(o?.$current_url)&&(Ue.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."),o==null||delete o.$current_url),e!=="$exception"||a!=null&&a.en||Ue.warn("Using `posthog.capture('$exception')` is unreliable because it does not attach required metadata. Use `posthog.captureException(error)` instead, which attaches required metadata automatically."),this.sessionPersistence.update_search_keyword(),this.config.save_campaign_params&&this.sessionPersistence.update_campaign_params(),this.config.save_referrer&&this.sessionPersistence.update_referrer_info(),(this.config.save_campaign_params||this.config.save_referrer)&&this.persistence.set_initial_person_info();var h=new Date,f=a?.timestamp||h,v=Ri(),b={uuid:v,event:e,properties:this.calculateEventProperties(e,o||{},f,v)};e===cd&&this.config.__preview_capture_bot_pageviews&&u&&(b.event="$bot_pageview",b.properties.$browser_type="bot"),m&&(b.properties.$lib_rate_limit_remaining_tokens=m.remainingTokens),a?.$set&&(b.$set=a?.$set);var S,T,x,k=this.tn(a?.$set_once,e!==p2,e===Jw);if(k&&(b.$set_once=k),a!=null&&a._noTruncate||(r=this.config.properties_string_max_length,i=b,c=I=>Po(I)?I.slice(0,r):I,d=new Set,b=(function I(q,B){return q!==Object(q)?c?c(q):q:d.has(q)?void 0:(d.add(q),It(q)?(j=[],Xg(q,(F=>{j.push(I(F))}))):(j={},yo(q,((F,W)=>{d.has(F)||(j[W]=I(F))}))),j);var j})(i)),b.timestamp=f,$e(a?.timestamp)||(b.properties.$event_time_override_provided=!0,b.properties.$event_time_override_system_time=h),e===Tp.DISMISSED||e===Tp.SENT){var C=o?.[ax.SURVEY_ID],E=o?.[ax.SURVEY_ITERATION];(I=>{try{var q=(B=>((j,F)=>{var W=""+E0+F.id;return F.current_iteration&&F.current_iteration>0&&(W=""+E0+F.id+"_"+F.current_iteration),W})(0,B))(I);if(localStorage.getItem(q))return;localStorage.setItem(q,"true")}catch(B){oo.error("Failed to persist survey seen state",B)}})({id:C,current_iteration:E}),b.$set=Me({},b.$set,{[(S={id:C,current_iteration:E},T=e===Tp.SENT?"responded":"dismissed",x="$survey_"+T+"/"+S.id,S.current_iteration&&S.current_iteration>0&&(x="$survey_"+T+"/"+S.id+"/"+S.current_iteration),x)]:!0})}else e===Tp.SHOWN&&(b.$set=Me({},b.$set,{[ax.SURVEY_LAST_SEEN_DATE]:new Date().toISOString()}));if(e===ice.SHOWN){var P=o?.[b2.TOUR_TYPE];P&&(b.$set=Me({},b.$set,{[b2.TOUR_LAST_SEEN_DATE+"/"+P]:new Date().toISOString()}))}var D=Me({},b.properties.$set,b.$set);if(gd(D)||this.setPersonPropertiesForFlags(D),!_t(this.config.before_send)){var R=this.rn(b);if(!R)return;b=R}this.Fi.emit("eventCaptured",b);var O={method:"POST",url:(n=a?._url)!==null&&n!==void 0?n:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:b,compression:"best-available",batchKey:a?._batchKey};return!this.config.request_batching||a&&(a==null||!a._batchKey)||a!=null&&a.send_instantly?this.Vi(O):this.Zi.enqueue(O),b}Ue.critical("This capture call is ignored due to client rate limiting.")}}else Ue.error("No event name provided to posthog.capture")}else Ue.uninitializedWarning("posthog.capture")}_addCaptureHook(e){return this.on("eventCaptured",(o=>e(o.event,o)))}calculateEventProperties(e,o,a,n,r){if(a=a||new Date,!this.persistence||!this.sessionPersistence)return o;var i=r?void 0:this.persistence.remove_event_timer(e),c=Me({},o);if(c.token=this.config.token,c.$config_defaults=this.config.defaults,this.Ni()&&(c.$cookieless_mode=!0),e==="$snapshot"){var d=Me({},this.persistence.properties(),this.sessionPersistence.properties());return c.distinct_id=d.distinct_id,(!Po(c.distinct_id)&&!sr(c.distinct_id)||Cf(c.distinct_id))&&Ue.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),c}var u,m=(function(x,k){var C,E,P,D;if(!mn)return{};var R,O,I,q,B,j,F,W,oe=x?[...Vd,...k||[]]:[],[H,K]=(function(J){for(var se=0;l2.length>se;se++){var[Q,M]=l2[se],G=Q.exec(J),V=G&&(As(M)?M(G,J):M);if(V)return V}return["",""]})(mn);return Io(jE({$os:H,$os_version:K,$browser:j3(mn,navigator.vendor),$device:c2(mn),$device_type:(O=mn,I={userAgentDataPlatform:(C=navigator)==null||(C=C.userAgentData)==null?void 0:C.platform,maxTouchPoints:(E=navigator)==null?void 0:E.maxTouchPoints,screenWidth:ge==null||(P=ge.screen)==null?void 0:P.width,screenHeight:ge==null||(D=ge.screen)==null?void 0:D.height,devicePixelRatio:ge?.devicePixelRatio},W=c2(O),W===E3||W===k3||W==="Kobo"||W==="Kindle Fire"||W===F3?qd:W===Kp||W===Cd||W===Yp||W===ZT?"Console":W===_3?"Wearable":W?Ln:I?.userAgentDataPlatform==="Android"&&((q=I?.maxTouchPoints)!==null&&q!==void 0?q:0)>0?600>Math.min((B=I?.screenWidth)!==null&&B!==void 0?B:0,(j=I?.screenHeight)!==null&&j!==void 0?j:0)/((F=I?.devicePixelRatio)!==null&&F!==void 0?F:1)?Ln:qd:"Desktop"),$timezone:d4(),$timezone_offset:rce()}),{$current_url:Zp(ka?.href,oe,Qp),$host:ka?.host,$pathname:ka?.pathname,$raw_user_agent:mn.length>1e3?mn.substring(0,997)+"...":mn,$browser_version:fle(mn,navigator.vendor),$browser_language:v2(),$browser_language_prefix:(R=v2(),typeof R=="string"?R.split("-")[0]:void 0),$screen_height:ge?.screen.height,$screen_width:ge?.screen.width,$viewport_height:ge?.innerHeight,$viewport_width:ge?.innerWidth,$lib:Qa.LIB_NAME,$lib_version:Qa.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:Date.now()/1e3})})(this.config.mask_personal_data_properties,this.config.custom_personal_data_properties);if(this.sessionManager){var{sessionId:h,windowId:f}=this.sessionManager.checkAndGetSessionAndWindowId(r,a.getTime());c.$session_id=h,c.$window_id=f}this.sessionPropsManager&&Io(c,this.sessionPropsManager.getSessionProps());try{var v;this.sessionRecording&&Io(c,this.sessionRecording.sdkDebugProperties),c.$sdk_debug_retry_queue_size=(v=this.Hi)==null?void 0:v.length}catch(x){c.$sdk_debug_error_capturing_properties=String(x)}if(this.requestRouter.region===k0&&(c.$lib_custom_api_host=this.config.api_host),u=e!==cd||r?e!==Qw||r?this.pageViewManager.doEvent():this.pageViewManager.doPageLeave(a):this.pageViewManager.doPageView(a,n),c=Io(c,u),e===cd&&ze&&(c.title=ze.title),!$e(i)){var b=a.getTime()-i;c.$duration=parseFloat((b/1e3).toFixed(3))}mn&&this.config.opt_out_useragent_filter&&(c.$browser_type=this._is_bot()?"bot":"browser"),(c=Io({},m,this.persistence.properties(),this.sessionPersistence.properties(),c)).$is_identified=this._isIdentified(),It(this.config.property_denylist)?yo(this.config.property_denylist,(function(x){delete c[x]})):Ue.error(w4+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var S=this.config.sanitize_properties;S&&(Ue.error(D2),c=S(c,e));var T=this.nn();return c.$process_person_profile=T,T&&!r&&this.sn("_calculate_event_properties"),c}tn(e,o,a){var n;if(o===void 0&&(o=!0),a===void 0&&(a=!1),!this.persistence||!this.nn()||this.Mi&&!a)return e;var r=this.persistence.get_initial_props(),i=(n=this.sessionPropsManager)==null?void 0:n.getSetOnceProps(),c=Io({},r,i||{},e||{}),d=this.config.sanitize_properties;return d&&(Ue.error(D2),c=d(c,"$set_once")),o&&(this.Mi=!0),gd(c)?void 0:c}register(e,o){var a;(a=this.persistence)==null||a.register(e,o)}register_once(e,o,a){var n;(n=this.persistence)==null||n.register_once(e,o,a)}register_for_session(e){var o;(o=this.sessionPersistence)==null||o.register(e)}unregister(e){var o;(o=this.persistence)==null||o.unregister(e)}unregister_for_session(e){var o;(o=this.sessionPersistence)==null||o.unregister(e)}an(e,o){this.register({[e]:o})}getFeatureFlag(e,o){var a;return(a=this.featureFlags)==null?void 0:a.getFeatureFlag(e,o)}getFeatureFlagPayload(e){var o;return(o=this.featureFlags)==null?void 0:o.getFeatureFlagPayload(e)}getFeatureFlagResult(e,o){var a;return(a=this.featureFlags)==null?void 0:a.getFeatureFlagResult(e,o)}isFeatureEnabled(e,o){var a;return(a=this.featureFlags)==null?void 0:a.isFeatureEnabled(e,o)}reloadFeatureFlags(){var e;(e=this.featureFlags)==null||e.reloadFeatureFlags()}updateFlags(e,o,a){var n;(n=this.featureFlags)==null||n.updateFlags(e,o,a)}updateEarlyAccessFeatureEnrollment(e,o,a){var n;(n=this.featureFlags)==null||n.updateEarlyAccessFeatureEnrollment(e,o,a)}getEarlyAccessFeatures(e,o,a){var n;return o===void 0&&(o=!1),(n=this.featureFlags)==null?void 0:n.getEarlyAccessFeatures(e,o,a)}on(e,o){return this.Fi.on(e,o)}onFeatureFlags(e){return this.featureFlags?this.featureFlags.onFeatureFlags(e):(e([],{},{errorsLoading:!0}),()=>{})}onSurveysLoaded(e){return this.surveys?this.surveys.onSurveysLoaded(e):(e([],{isLoaded:!1,error:rp}),()=>{})}onSessionId(e){var o,a;return(o=(a=this.sessionManager)==null?void 0:a.onSessionId(e))!==null&&o!==void 0?o:()=>{}}getSurveys(e,o){o===void 0&&(o=!1),this.surveys?this.surveys.getSurveys(e,o):e([],{isLoaded:!1,error:rp})}getActiveMatchingSurveys(e,o){o===void 0&&(o=!1),this.surveys?this.surveys.getActiveMatchingSurveys(e,o):e([],{isLoaded:!1,error:rp})}renderSurvey(e,o){var a;(a=this.surveys)==null||a.renderSurvey(e,o)}displaySurvey(e,o){var a;o===void 0&&(o=kce),(a=this.surveys)==null||a.displaySurvey(e,o)}cancelPendingSurvey(e){var o;(o=this.surveys)==null||o.cancelPendingSurvey(e)}canRenderSurvey(e){var o,a;return(o=(a=this.surveys)==null?void 0:a.canRenderSurvey(e))!==null&&o!==void 0?o:{visible:!1,disabledReason:rp}}canRenderSurveyAsync(e,o){var a,n;return o===void 0&&(o=!1),(a=(n=this.surveys)==null?void 0:n.canRenderSurveyAsync(e,o))!==null&&a!==void 0?a:Promise.resolve({visible:!1,disabledReason:rp})}ln(e){return!e||Cf(e)?(Ue.critical("Unique user id has not been set in posthog.identify"),!1):e===Jg?(Ue.critical('The string "'+e+'" was set in posthog.identify which indicates an error. This ID is only used as a sentinel value.'),!1):!["distinct_id","distinctid"].includes(e.toLowerCase())&&!["undefined","null"].includes(e.toLowerCase())||(Ue.critical('The string "'+e+'" was set in posthog.identify which indicates an error. This ID should be unique to the user and not a hardcoded string.'),!1)}identify(e,o,a){if(!this.__loaded||!this.persistence)return Ue.uninitializedWarning("posthog.identify");if(sr(e)&&(e=e.toString(),Ue.warn("The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.")),this.ln(e)&&this.sn("posthog.identify")){var n=this.get_distinct_id();this.register({$user_id:e}),this.get_property(gv)||this.register_once({$had_persisted_distinct_id:!0,$device_id:n},""),e!==n&&e!==this.get_property(bp)&&(this.unregister(bp),this.register({distinct_id:e}));var r,i=(this.persistence.get_property(br)||Zc)===Zc;e!==n&&i?(this.persistence.set_property(br,Qc),this.setPersonPropertiesForFlags({$set:o||{},$set_once:a||{}},!1),this.capture(Jw,{distinct_id:e,$anon_distinct_id:n},{$set:o||{},$set_once:a||{}}),this.Di=P2(e,o,a),(r=this.featureFlags)==null||r.setAnonymousDistinctId(n)):(o||a)&&this.setPersonProperties(o,a),e!==n&&(this.reloadFeatureFlags(),this.unregister(_p))}}setPersonProperties(e,o){if((e||o)&&this.sn("posthog.setPersonProperties")){var a=P2(this.get_distinct_id(),e,o);this.Di!==a?(this.setPersonPropertiesForFlags({$set:e||{},$set_once:o||{}},!0),this.capture("$set",{$set:e||{},$set_once:o||{}}),this.Di=a):Ue.info("A duplicate setPersonProperties call was made with the same properties. It has been ignored.")}}group(e,o,a){if(e&&o){var n=this.getGroups(),r=n[e]!==o;if(r&&this.resetGroupPropertiesForFlags(e),this.register({$groups:Me({},n,{[e]:o})}),r||a){var i={$group_type:e,$group_key:o};a&&(i.$group_set=a),this.capture(p2,i)}a&&this.setGroupPropertiesForFlags({[e]:a}),r&&!a&&this.reloadFeatureFlags()}else Ue.error("posthog.group requires a group type and group key")}resetGroups(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}setPersonPropertiesForFlags(e,o){var a;o===void 0&&(o=!0),(a=this.featureFlags)==null||a.setPersonPropertiesForFlags(e,o)}resetPersonPropertiesForFlags(){var e;(e=this.featureFlags)==null||e.resetPersonPropertiesForFlags()}setGroupPropertiesForFlags(e,o){var a;o===void 0&&(o=!0),this.sn("posthog.setGroupPropertiesForFlags")&&((a=this.featureFlags)==null||a.setGroupPropertiesForFlags(e,o))}resetGroupPropertiesForFlags(e){var o;(o=this.featureFlags)==null||o.resetGroupPropertiesForFlags(e)}reset(e){var o,a,n,r,i,c,d,u;if(Ue.info("reset"),!this.__loaded)return Ue.uninitializedWarning("posthog.reset");var m=this.get_property(gv);if(this.consent.reset(),(o=this.persistence)==null||o.clear(),(a=this.sessionPersistence)==null||a.clear(),(n=this.surveys)==null||n.reset(),(r=this.Ki)==null||r.stop(),(i=this.featureFlags)==null||i.reset(),(c=this.conversations)==null||c.reset(),(d=this.persistence)==null||d.set_property(br,Zc),(u=this.sessionManager)==null||u.resetSessionId(),this.Di=null,this.config.cookieless_mode===Rs)this.register_once({distinct_id:Jg,$device_id:null},"");else{var h=this.config.get_device_id(Ri());this.register_once({distinct_id:h,$device_id:e?h:m},"")}this.register({$last_posthog_reset:new Date().toISOString()},1),delete this.config.identity_distinct_id,delete this.config.identity_hash,this.reloadFeatureFlags()}setIdentity(e,o){var a;this.config.identity_distinct_id=e,this.config.identity_hash=o,this.alias(e),(a=this.conversations)==null||a.un()}clearIdentity(){var e;delete this.config.identity_distinct_id,delete this.config.identity_hash,(e=this.conversations)==null||e.hn()}get_distinct_id(){return this.get_property("distinct_id")}getGroups(){return this.get_property("$groups")||{}}get_session_id(){var e,o;return(e=(o=this.sessionManager)==null?void 0:o.checkAndGetSessionAndWindowId(!0).sessionId)!==null&&e!==void 0?e:""}get_session_replay_url(e){if(!this.sessionManager)return"";var{sessionId:o,sessionStartTimestamp:a}=this.sessionManager.checkAndGetSessionAndWindowId(!0),n=this.requestRouter.endpointFor("ui","/project/"+this.config.token+"/replay/"+o);if(e!=null&&e.withTimestamp&&a){var r,i=(r=e.timestampLookBack)!==null&&r!==void 0?r:10;if(!a)return n;n+="?t="+Math.max(Math.floor((new Date().getTime()-a)/1e3)-i,0)}return n}alias(e,o){return e===this.get_property(H3)?(Ue.critical("Attempting to create alias for existing People user - aborting."),-2):this.sn("posthog.alias")?($e(o)&&(o=this.get_distinct_id()),e!==o?(this.an(bp,e),this.capture("$create_alias",{alias:e,distinct_id:o})):(Ue.warn("alias matches current distinct_id - skipping api call."),this.identify(e),-1)):void 0}set_config(e){var o=Me({},this.config);if(jo(e)){var a,n,r,i,c,d,u,m,h,f;Io(this.config,N2(e));var v=this.qi();(a=this.persistence)==null||a.update_config(this.config,o,v),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new tx(Me({},this.config,{persistence:"sessionStorage"}),v);var b=this.Bi(this.config.debug);Kr(b)&&(this.config.debug=b),Kr(this.config.debug)&&(this.config.debug?(Qa.DEBUG=!0,_o.R()&&_o.M("ph_debug",!0),Ue.info("set_config",{config:e,oldConfig:o,newConfig:Me({},this.config)})):(Qa.DEBUG=!1,_o.R()&&_o.F("ph_debug"))),(n=this.exceptionObserver)==null||n.onConfigChange(),(r=this.exceptions)==null||r.onConfigChange(),(i=this.sessionRecording)==null||i.startIfEnabledOrStop(),(c=this.autocapture)==null||c.startIfEnabled(),(d=this.heatmaps)==null||d.startIfEnabled(),(u=this.exceptionObserver)==null||u.startIfEnabledOrStop(),(m=this.deadClicksAutocapture)==null||m.startIfEnabledOrStop(),(h=this.surveys)==null||h.loadIfEnabled(),this.cn(),(f=this.externalIntegrations)==null||f.startIfEnabledOrStop()}}_overrideSDKInfo(e,o){Qa.LIB_NAME=e,Qa.LIB_VERSION=o}startSessionRecording(e){var o,a,n,r,i,c=e===!0,d={sampling:c||!(e==null||!e.sampling),linked_flag:c||!(e==null||!e.linked_flag),url_trigger:c||!(e==null||!e.url_trigger),event_trigger:c||!(e==null||!e.event_trigger)};Object.values(d).some(Boolean)&&((o=this.sessionManager)==null||o.checkAndGetSessionAndWindowId(),d.sampling&&((a=this.sessionRecording)==null||a.overrideSampling()),d.linked_flag&&((n=this.sessionRecording)==null||n.overrideLinkedFlag()),d.url_trigger&&((r=this.sessionRecording)==null||r.overrideTrigger("url")),d.event_trigger&&((i=this.sessionRecording)==null||i.overrideTrigger("event"))),this.set_config({disable_session_recording:!1})}stopSessionRecording(){this.set_config({disable_session_recording:!0})}sessionRecordingStarted(){var e;return!((e=this.sessionRecording)==null||!e.started)}captureException(e,o){if(this.exceptions){var a=new Error("PostHog syntheticException"),n=this.exceptions.buildProperties(e,{handled:!0,syntheticException:a});return this.exceptions.sendExceptionEvent(Me({},n,o))}}addExceptionStep(e,o){var a;(a=this.exceptions)==null||a.addExceptionStep(e,o)}captureLog(e){var o;(o=this.logs)==null||o.captureLog(e)}get logger(){var e,o;return(e=(o=this.logs)==null?void 0:o.logger)!==null&&e!==void 0?e:tr.dn}startExceptionAutocapture(e){this.set_config({capture_exceptions:e==null||e})}stopExceptionAutocapture(){this.set_config({capture_exceptions:!1})}loadToolbar(e){var o,a;return(o=(a=this.toolbar)==null?void 0:a.loadToolbar(e))!==null&&o!==void 0&&o}get_property(e){var o;return(o=this.persistence)==null?void 0:o.props[e]}getSessionProperty(e){var o;return(o=this.sessionPersistence)==null?void 0:o.props[e]}toString(){var e,o=(e=this.config.name)!==null&&e!==void 0?e:dd;return o!==dd&&(o=dd+"."+o),o}_isIdentified(){var e,o;return((e=this.persistence)==null?void 0:e.get_property(br))===Qc||((o=this.sessionPersistence)==null?void 0:o.get_property(br))===Qc}nn(){var e,o;return!(this.config.person_profiles==="never"||this.config.person_profiles===b0&&!this._isIdentified()&&gd(this.getGroups())&&((e=this.persistence)==null||(e=e.props)==null||!e[bp])&&((o=this.persistence)==null||(o=o.props)==null||!o[yv]))}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(e){return this.config.person_profiles==="never"?(Ue.error(e+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this.an(yv,!0),!0)}qi(){if(this.config.cookieless_mode==="always")return!0;var e=this.consent.isOptedOut();return this.config.disable_persistence||e&&!(!this.config.opt_out_persistence_by_default&&this.config.cookieless_mode!==Rl)}cn(){var e,o,a,n,r=this.qi();return((e=this.persistence)==null?void 0:e._r)!==r&&((a=this.persistence)==null||a.set_disabled(r)),((o=this.sessionPersistence)==null?void 0:o._r)!==r&&((n=this.sessionPersistence)==null||n.set_disabled(r)),r}opt_in_capturing(e){var o;if(this.config.cookieless_mode!==Rs){if(this.Ni()){var a,n,r,i,c;this.reset(!0),(a=this.sessionManager)==null||a.destroy(),(n=this.pageViewManager)==null||n.destroy(),this.sessionManager=new _2(this),this.pageViewManager=new f2(this),this.persistence&&(this.sessionPropsManager=new C2(this,this.sessionManager,this.persistence));var d,u=(r=(i=this.config.__extensionClasses)==null?void 0:i.sessionRecording)!==null&&r!==void 0?r:(c=tr.__defaultExtensionClasses)==null?void 0:c.sessionRecording;u&&(this.sessionRecording=this.Ei(this.sessionRecording,new u(this)),this.Wi&&((d=this.sessionRecording)==null||d.onRemoteConfig==null||d.onRemoteConfig(this.Wi)))}var m,h;this.consent.optInOut(!0),this.cn(),this.Xi(),(o=this.sessionRecording)==null||o.startIfEnabledOrStop(),this.config.cookieless_mode==Rl&&((m=this.surveys)==null||m.loadIfEnabled()),($e(e?.captureEventName)||e!=null&&e.captureEventName)&&this.capture((h=e?.captureEventName)!==null&&h!==void 0?h:"$opt_in",e?.captureProperties,{send_instantly:!0}),this.config.capture_pageview&&this.Ji()}else Ue.warn(R2)}opt_out_capturing(){var e,o,a;this.config.cookieless_mode!==Rs?(this.config.cookieless_mode===Rl&&this.consent.isOptedIn()&&this.reset(!0),this.consent.optInOut(!1),this.cn(),this.config.cookieless_mode===Rl&&(this.register({distinct_id:Jg,$device_id:null}),(e=this.sessionManager)==null||e.destroy(),(o=this.pageViewManager)==null||o.destroy(),this.sessionManager=void 0,this.sessionPropsManager=void 0,(a=this.sessionRecording)==null||a.stopRecording(),this.sessionRecording=void 0,this.Ji())):Ue.warn(R2)}has_opted_in_capturing(){return this.consent.isOptedIn()}has_opted_out_capturing(){return this.consent.isOptedOut()}get_explicit_consent_status(){var e=this.consent.consent;return e===1?"granted":e===0?"denied":"pending"}is_capturing(){return this.config.cookieless_mode===Rs||(this.config.cookieless_mode===Rl?this.consent.isRejected()||this.consent.isOptedIn():!this.has_opted_out_capturing())}clear_opt_in_out_capturing(){this.consent.reset(),this.cn()}_is_bot(){return Mn?b4(Mn,this.config.custom_blocked_useragents):void 0}Ji(){ze&&(ze.visibilityState==="visible"?this.Oi||(this.Oi=!0,this.capture(cd,{title:ze.title},{send_instantly:!0}),this.Pi&&(ze.removeEventListener(Sv,this.Pi),this.Pi=null)):this.Pi||(this.Pi=this.Ji.bind(this),Xo(ze,Sv,this.Pi)))}debug(e){e===!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 e,o,a,n,r,i,c=this.ji||{};return"advanced_disable_flags"in c?!!c.advanced_disable_flags:this.config.advanced_disable_flags!==!1?!!this.config.advanced_disable_flags:this.config.advanced_disable_decide===!0?(Ue.warn("Config field 'advanced_disable_decide' is deprecated. Please use 'advanced_disable_flags' instead. The old field will be removed in a future major version."),!0):(a="advanced_disable_decide",n=Ue,r=(o="advanced_disable_flags")in(e=c)&&!_t(e[o]),i=a in e&&!_t(e[a]),r?e[o]:!!i&&(n&&n.warn("Config field '"+a+"' is deprecated. Please use '"+o+"' instead. The old field will be removed in a future major version."),e[a]))}rn(e){if(_t(this.config.before_send))return e;var o=It(this.config.before_send)?this.config.before_send:[this.config.before_send],a=e;for(var n of o){if(a=n(a),_t(a)){var r="Event '"+e.event+"' was rejected in beforeSend function";return nle(e.event)?Ue.warn(r+". This can cause unexpected behavior."):Ue.info(r),null}a.properties&&!gd(a.properties)||Ue.warn("Event '"+e.event+"' has no properties after beforeSend function, this is likely an error.")}return a}getPageViewId(){var e;return(e=this.pageViewManager.dr)==null?void 0:e.pageViewId}captureTraceFeedback(e,o){this.capture("$ai_feedback",{$ai_trace_id:String(e),$ai_feedback_text:o})}captureTraceMetric(e,o,a){this.capture("$ai_metric",{$ai_trace_id:String(e),$ai_metric_name:o,$ai_metric_value:String(a)})}Bi(e){var o=Kr(e)&&!e,a=_o.R()&&_o.O("ph_debug")==="true";return!o&&(!!a||e)}}function M2(t){return t instanceof Element&&(t.id===Z3||!(t.closest==null||!t.closest(".toolbar-global-fade-container")))}function Sb(t){return!!t&&t.nodeType===1}function ji(t,e){return!!t&&!!t.tagName&&t.tagName.toLowerCase()===e.toLowerCase()}function T4(t){return!!t&&t.nodeType===3}function k4(t){return!!t&&t.nodeType===11}function $E(t){return t?vb(t).split(/\s+/):[]}function I2(t){var e=ge?.location.href;return!!(e&&t&&t.some((o=>e.match(o))))}function Av(t){var e="";switch(typeof t.className){case"string":e=t.className;break;case"object":e=(t.className&&"baseVal"in t.className?t.className.baseVal:null)||t.getAttribute("class")||"";break;default:e=""}return $E(e)}function E4(t){return _t(t)?null:vb(t).split(/(\s+)/).filter((e=>Rp(e))).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function Jp(t){var e="";return P0(t)&&!_4(t)&&t.childNodes&&t.childNodes.length&&yo(t.childNodes,(function(o){var a;T4(o)&&o.textContent&&(e+=(a=E4(o.textContent))!==null&&a!==void 0?a:"")})),vb(e)}function L2(t){return $e(t.target)?t.srcElement||null:(e=t.target)!=null&&e.shadowRoot?t.composedPath()[0]||null:t.target||null;var e}tr.__defaultExtensionClasses={},tr.dn={trace:Xc=()=>{},debug:Xc,info:Xc,warn:Xc,error:Xc,fatal:Xc},(function(t,e){for(var o=0;e.length>o;o++)t.prototype[e[o]]=Ule(t.prototype[e[o]])})(tr,["identify"]);var VE=["a","button","form","input","select","textarea","label"];function B2(t,e){if($e(e))return!0;var o,a=function(r){if(e.some((i=>r.matches(i))))return{v:!0}};for(var n of t)if(o=a(n))return o.v;return!1}function C4(t){var e=t.parentNode;return!(!e||!Sb(e))&&e}var Rce=["next","previous","prev",">","<"],F2=[".ph-no-rageclick",".ph-no-capture"],_0=t=>!t||ji(t,"html")||!Sb(t),j2=(t,e)=>{if(!ge||_0(t))return{parentIsUsefulElement:!1,targetElementList:[]};for(var o=!1,a=[t],n=t;n.parentNode&&!ji(n,"body");)if(k4(n.parentNode))a.push(n.parentNode.host),n=n.parentNode.host;else{var r=C4(n);if(!r)break;if(e||VE.indexOf(r.tagName.toLowerCase())>-1)o=!0;else{var i=ge.getComputedStyle(r);i&&i.getPropertyValue("cursor")==="pointer"&&(o=!0)}a.push(r),n=r}return{parentIsUsefulElement:o,targetElementList:a}};function P0(t){for(var e=t;e.parentNode&&!ji(e,"body");e=e.parentNode){var o=Av(e);if(Et(o,"ph-sensitive")||Et(o,"ph-no-capture"))return!1}if(Et(Av(t),"ph-include"))return!0;var a=t.type||"";if(Po(a))switch(a.toLowerCase()){case"hidden":case"password":return!1}var n=t.name||t.id||"";return!Po(n)||!/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(n.replace(/[^a-zA-Z0-9]/g,""))}function _4(t){return!!(ji(t,"input")&&!["button","checkbox","submit","reset"].includes(t.type)||ji(t,"select")||ji(t,"textarea")||t.getAttribute("contenteditable")==="true")}var P4="(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})",Dce=new RegExp("^(?:"+P4+")$"),Oce=new RegExp(P4),A4="\\d{3}-?\\d{2}-?\\d{4}",Nce=new RegExp("^("+A4+")$"),Mce=new RegExp("("+A4+")");function Rp(t,e){return e===void 0&&(e=!0),!(_t(t)||Po(t)&&(t=vb(t),(e?Dce:Oce).test((t||"").replace(/[- ]/g,""))||(e?Nce:Mce).test(t)))}function z2(t){var e=Jp(t);return Rp(e=(e+" "+R4(t)).trim())?e:""}function R4(t){var e="";return t&&t.childNodes&&t.childNodes.length&&yo(t.childNodes,(function(o){var a;if(o&&((a=o.tagName)==null?void 0:a.toLowerCase())==="span")try{var n=Jp(o);e=(e+" "+n).trim(),o.childNodes&&o.childNodes.length&&(e=(e+" "+R4(o)).trim())}catch(r){Ue.error("[AutoCapture]",r)}})),e}function q2(t){return t.replace(/"|\\"/g,'\\"')}function Ice(t){var e=t.attr__class;return e?It(e)?e:$E(e):void 0}class U2{constructor(e){this.disabled=e===!1;var o=jo(e)?e:{};this.thresholdPx=o.threshold_px||30,this.timeoutMs=o.timeout_ms||1e3,this.clickCount=o.click_count||3,this.clicks=[]}isRageClick(e,o,a){if(this.disabled)return!1;var n=this.clicks[this.clicks.length-1];if(n&&Math.abs(e-n.x)+Math.abs(o-n.y)<this.thresholdPx&&this.timeoutMs>a-n.timestamp){if(this.clicks.push({x:e,y:o,timestamp:a}),this.clicks.length===this.clickCount)return!0}else this.clicks=[{x:e,y:o,timestamp:a}];return!1}}var cx="$copy_autocapture",$2=ko("[AutoCapture]");function dx(t,e){return e.length>t?e.slice(0,t)+"...":e}function Lce(t){if(t.previousElementSibling)return t.previousElementSibling;var e=t;do e=e.previousSibling;while(e&&!Sb(e));return e}function Bce(t,e){for(var o,a,{e:n,maskAllElementAttributes:r,maskAllText:i,elementAttributeIgnoreList:c,elementsChainAsString:d}=e,u=[t],m=t;m.parentNode&&!ji(m,"body");)k4(m.parentNode)?(u.push(m.parentNode.host),m=m.parentNode.host):(u.push(m.parentNode),m=m.parentNode);var h,f,v=[],b={},S=!1,T=!1;if(yo(u,(P=>{var D=P0(P);P.tagName.toLowerCase()==="a"&&(S=P.getAttribute("href"),S=D&&S&&Rp(S)&&S),Et(Av(P),"ph-no-capture")&&(T=!0),v.push((function(O,I,q,B){var j=O.tagName.toLowerCase(),F={tag_name:j};VE.indexOf(j)>-1&&!q&&(F.$el_text=j.toLowerCase()==="a"||j.toLowerCase()==="button"?dx(1024,z2(O)):dx(1024,Jp(O)));var W=Av(O);W.length>0&&(F.classes=W.filter((function(J){return J!==""}))),yo(O.attributes,(function(J){var se;if((!_4(O)||["name","id","class","aria-label"].indexOf(J.name)!==-1)&&(B==null||!B.includes(J.name))&&!I&&Rp(J.value)&&(!Po(se=J.name)||se.substring(0,10)!=="_ngcontent"&&se.substring(0,7)!=="_nghost")){var Q=J.value;J.name==="class"&&(Q=$E(Q).join(" ")),F["attr__"+J.name]=dx(1024,Q)}}));for(var oe=1,H=1,K=O;K=Lce(K);)oe++,K.tagName===O.tagName&&H++;return F.nth_child=oe,F.nth_of_type=H,F})(P,r,i,c));var R=(function(O){if(!P0(O))return{};var I={};return yo(O.attributes,(function(q){if(q.name&&q.name.indexOf("data-ph-capture-attribute")===0){var B=q.name.replace("data-ph-capture-attribute-",""),j=q.value;B&&j&&Rp(j)&&(I[B]=j)}})),I})(P);Io(b,R)})),T)return{props:{},explicitNoCapture:T};if(i||(v[0].$el_text=t.tagName.toLowerCase()==="a"||t.tagName.toLowerCase()==="button"?z2(t):Jp(t)),S){var x,k;v[0].attr__href=S;var C=(x=Tv(S))==null?void 0:x.host,E=ge==null||(k=ge.location)==null?void 0:k.host;C&&E&&C!==E&&(h=S)}return{props:Io({$event_type:n.type,$ce_version:1},d?{}:{$elements:v},{$elements_chain:(f=v,(function(P){return P.map((D=>{var R,O,I="";if(D.tag_name&&(I+=D.tag_name),D.attr_class)for(var q of(D.attr_class.sort(),D.attr_class))I+="."+q.replace(/"/g,"");var B=Me({},D.text?{text:D.text}:{},{"nth-child":(R=D.nth_child)!==null&&R!==void 0?R:0,"nth-of-type":(O=D.nth_of_type)!==null&&O!==void 0?O:0},D.href?{href:D.href}:{},D.attr_id?{attr_id:D.attr_id}:{},D.attributes),j={};return Af(B).sort(((F,W)=>{var[oe]=F,[H]=W;return oe.localeCompare(H)})).forEach((F=>{var[W,oe]=F;return j[q2(W.toString())]=q2(oe.toString())})),(I+=":")+Af(j).map((F=>{var[W,oe]=F;return W+'="'+oe+'"'})).join("")})).join(";")})((function(P){return P.map((D=>{var R,O,I={text:(R=D.$el_text)==null?void 0:R.slice(0,400),tag_name:D.tag_name,href:(O=D.attr__href)==null?void 0:O.slice(0,2048),attr_class:Ice(D),attr_id:D.attr__id,nth_child:D.nth_child,nth_of_type:D.nth_of_type,attributes:{}};return Af(D).filter((q=>{var[B]=q;return B.indexOf("attr__")===0})).forEach((q=>{var[B,j]=q;return I.attributes[B]=j})),I}))})(f)))},(o=v[0])!=null&&o.$el_text?{$el_text:(a=v[0])==null?void 0:a.$el_text}:{},h&&n.type==="click"?{$external_click_url:h}:{},b)}}var sp=ko("[ExceptionAutocapture]");function V2(t,e,o){try{if(!(e in t))return()=>{};var a=t[e],n=o(a);return As(n)&&(n.prototype=n.prototype||{},Object.defineProperties(n,{__posthog_wrapped__:{enumerable:!1,value:!0}})),t[e]=n,()=>{t[e]=a}}catch{return()=>{}}}var Fce=ko("[TracingHeaders]"),bi=ko("[Web Vitals]"),H2=9e5,G2="disabled",W2="lazy_loading",ip="awaiting_config",nf="missing_config";ko("[SessionRecording]"),ko("[SessionRecording]");var A0="[SessionRecording]",yi=ko(A0),jce=ko("[Heatmaps]");function K2(t){return jo(t)&&"clientX"in t&&"clientY"in t&&sr(t.clientX)&&sr(t.clientY)}var Y2=ko("[Product Tours]"),zce=["$set_once","$set"],Si=ko("[SiteApps]"),Z2="Error while initializing PostHog app with config id ";function ed(t,e,o){if(_t(t))return!1;switch(o){case"exact":return t===e;case"contains":var a=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/_/g,".").replace(/%/g,".*");return new RegExp(a,"i").test(t);case"regex":try{return new RegExp(e).test(t)}catch{return!1}default:return!1}}class qce{constructor(e){this.vn=new UE,this.fn=(o,a)=>this.pn(o,a)&&this.gn(o,a)&&this.mn(o,a)&&this.yn(o,a),this.pn=(o,a)=>a==null||!a.event||o?.event===a?.event,this._instance=e,this.bn=new Set,this._n=new Set}init(){var e,o;$e((e=this._instance)==null?void 0:e._addCaptureHook)||(o=this._instance)==null||o._addCaptureHook(((a,n)=>{this.on(a,n)}))}register(e){var o,a;if(!$e((o=this._instance)==null?void 0:o._addCaptureHook)&&(e.forEach((i=>{var c,d;(c=this._n)==null||c.add(i),(d=i.steps)==null||d.forEach((u=>{var m;(m=this.bn)==null||m.add(u?.event||"")}))})),(a=this._instance)!=null&&a.autocapture)){var n,r=new Set;e.forEach((i=>{var c;(c=i.steps)==null||c.forEach((d=>{d!=null&&d.selector&&r.add(d?.selector)}))})),(n=this._instance)==null||n.autocapture.setElementSelectors(r)}}on(e,o){var a;o!=null&&e.length!=0&&(this.bn.has(e)||this.bn.has(o?.event))&&this._n&&((a=this._n)==null?void 0:a.size)>0&&this._n.forEach((n=>{this.wn(o,n)&&this.vn.emit("actionCaptured",n.name)}))}In(e){this.onAction("actionCaptured",(o=>e(o)))}wn(e,o){if(o?.steps==null)return!1;for(var a of o.steps)if(this.fn(e,a))return!0;return!1}onAction(e,o){return this.vn.on(e,o)}gn(e,o){if(o!=null&&o.url){var a,n=e==null||(a=e.properties)==null?void 0:a.$current_url;if(!n||typeof n!="string"||!ed(n,o.url,o.url_matching||"contains"))return!1}return!0}mn(e,o){return!!this.Cn(e,o)&&!!this.Sn(e,o)&&!!this.xn(e,o)}Cn(e,o){var a;if(o==null||!o.href)return!0;var n=this.kn(e);if(n.length>0)return n.some((c=>ed(c.href,o.href,o.href_matching||"exact")));var r,i=(e==null||(a=e.properties)==null?void 0:a.$elements_chain)||"";return!!i&&ed((r=i.match(/(?::|")href="(.*?)"/))?r[1]:"",o.href,o.href_matching||"exact")}Sn(e,o){var a;if(o==null||!o.text)return!0;var n=this.kn(e);if(n.length>0)return n.some((u=>ed(u.text,o.text,o.text_matching||"exact")||ed(u.$el_text,o.text,o.text_matching||"exact")));var r,i,c,d=(e==null||(a=e.properties)==null?void 0:a.$elements_chain)||"";return!!d&&(r=(function(u){for(var m,h=[],f=/(?::|")text="(.*?)"/g;!_t(m=f.exec(u));)h.includes(m[1])||h.push(m[1]);return h})(d),i=o.text,c=o.text_matching||"exact",r.some((u=>ed(u,i,c))))}xn(e,o){var a,n;if(o==null||!o.selector)return!0;var r=e==null||(a=e.properties)==null?void 0:a.$element_selectors;if(r!=null&&r.includes(o.selector))return!0;var i=(e==null||(n=e.properties)==null?void 0:n.$elements_chain)||"";if(o.selector_regex&&i)try{return new RegExp(o.selector_regex).test(i)}catch{return!1}return!1}kn(e){var o;return(e==null||(o=e.properties)==null?void 0:o.$elements)==null?[]:e?.properties.$elements}yn(e,o){return o==null||!o.properties||o.properties.length===0||S4(o.properties.reduce(((a,n)=>{var r=It(n.value)?n.value.map(String):n.value!=null?[String(n.value)]:[];return a[n.key]={values:r,operator:n.operator||"exact"},a}),{}),e?.properties)}}class Uce{constructor(e){this._instance=e,this.Tn=new Map,this.An=new Map,this.En=new Map}Rn(e,o){return!!e&&S4(e.propertyFilters,o?.properties)}Nn(e,o){var a=new Map;return e.forEach((n=>{var r;(r=n.conditions)==null||(r=r[o])==null||(r=r.values)==null||r.forEach((i=>{if(i!=null&&i.name){var c=a.get(i.name)||[];c.push(n.id),a.set(i.name,c)}}))})),a}Mn(e,o,a){var n=(a===tp.Activation?this.Tn:this.An).get(e),r=[];return this.Fn((i=>{r=i.filter((c=>n?.includes(c.id)))})),r.filter((i=>{var c,d=(c=i.conditions)==null||(c=c[a])==null||(c=c.values)==null?void 0:c.find((u=>u.name===e));return this.Rn(d,o)}))}register(e){var o;$e((o=this._instance)==null?void 0:o._addCaptureHook)||(this.On(e),this.Pn(e))}Pn(e){var o=e.filter((a=>{var n,r;return((n=a.conditions)==null?void 0:n.actions)&&((r=a.conditions)==null||(r=r.actions)==null||(r=r.values)==null?void 0:r.length)>0}));o.length!==0&&(this.Ln==null&&(this.Ln=new qce(this._instance),this.Ln.init(),this.Ln.In((a=>{this.onAction(a)}))),o.forEach((a=>{var n,r,i,c,d;a.conditions&&(n=a.conditions)!=null&&n.actions&&(r=a.conditions)!=null&&(r=r.actions)!=null&&r.values&&((i=a.conditions)==null||(i=i.actions)==null||(i=i.values)==null?void 0:i.length)>0&&((c=this.Ln)==null||c.register(a.conditions.actions.values),(d=a.conditions)==null||(d=d.actions)==null||(d=d.values)==null||d.forEach((u=>{if(u&&u.name){var m=this.En.get(u.name);m&&m.push(a.id),this.En.set(u.name,m||[a.id])}})))})))}On(e){var o,a=e.filter((r=>{var i,c;return((i=r.conditions)==null?void 0:i.events)&&((c=r.conditions)==null||(c=c.events)==null||(c=c.values)==null?void 0:c.length)>0})),n=e.filter((r=>{var i,c;return((i=r.conditions)==null?void 0:i.cancelEvents)&&((c=r.conditions)==null||(c=c.cancelEvents)==null||(c=c.values)==null?void 0:c.length)>0}));a.length===0&&n.length===0||((o=this._instance)==null||o._addCaptureHook(((r,i)=>{this.onEvent(r,i)})),this.Tn=this.Nn(e,tp.Activation),this.An=this.Nn(e,tp.Cancellation))}onEvent(e,o){var a,n=this.le(),r=this.Dn(),i=this.Bn(),c=((a=this._instance)==null||(a=a.persistence)==null?void 0:a.props[r])||[];if(i===e&&o&&c.length>0){var d,u;n.info("event matched, removing item from activated items",{event:e,eventPayload:o,existingActivatedItems:c});var m=(o==null||(d=o.properties)==null?void 0:d.$survey_id)||(o==null||(u=o.properties)==null?void 0:u.$product_tour_id);if(m){var h=c.indexOf(m);0>h||(c.splice(h,1),this.jn(c))}}else{if(this.An.has(e)){var f=this.Mn(e,o,tp.Cancellation);f.length>0&&(n.info("cancel event matched, cancelling items",{event:e,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(e)){n.info("event name matched",{event:e,eventPayload:o,items:this.Tn.get(e)});var v=this.Mn(e,o,tp.Activation);this.jn(c.concat(v.map((b=>b.id))||[]))}}}onAction(e){var o,a=this.Dn(),n=((o=this._instance)==null||(o=o.persistence)==null?void 0:o.props[a])||[];this.En.has(e)&&this.jn(n.concat(this.En.get(e)||[]))}jn(e){var o=this.le(),a=[...new Set(e)].filter((n=>!this.qn(n)));o.info("updating activated items",{activatedItems:a}),this.Zn(a)}getActivatedIds(){var e,o=this.Dn();return((e=this._instance)==null||(e=e.persistence)==null?void 0:e.props[o])||[]}getEventToItemsMap(){return this.Tn}Vn(){return this.Ln}}class $ce extends Uce{constructor(e){super(e)}Dn(){return u0}Bn(){return Tp.SHOWN}Fn(e){var o;(o=this._instance)==null||o.getSurveys(e)}$n(e){var o;(o=this._instance)==null||o.cancelPendingSurvey(e)}le(){return oo}Zn(e){var o;(o=this._instance)==null||(o=o.persistence)==null||o.register({[u0]:e})}qn(){return!1}getSurveys(){return this.getActivatedIds()}getEventToSurveys(){return this.getEventToItemsMap()}}var ux="SDK is not enabled or survey functionality is not yet loaded",Q2="Disabled. Not loading surveys.",Vce=ge!=null&&ge.location?Ev(ge.location.hash,"__posthog")||Ev(location.hash,"state"):null,J2="_postHogToolbarParams",X2=ko("[Toolbar]"),Ka=ko("[FeatureFlags]"),El=ko("[FeatureFlags]",{debugEnabled:!0}),px=`" failed. Feature flags didn't load in time.`,eN=t=>{for(var e={},o=0;t.length>o;o++)e[t[o]]=!0;return e},tN=t=>{var e={};for(var[o,a]of Af(t||{}))a&&(e[o]=a);return e},_s=ko("[Error tracking]"),oN="Refusing to render web experiment since the viewer is a likely bot",Hce={icontains:(t,e)=>!!ge&&e.href.toLowerCase().indexOf(t.toLowerCase())>-1,not_icontains:(t,e)=>!!ge&&e.href.toLowerCase().indexOf(t.toLowerCase())===-1,regex:(t,e)=>!!ge&&Pv(e.href,t),not_regex:(t,e)=>!!ge&&!Pv(e.href,t),exact:(t,e)=>e.href===t,is_not:(t,e)=>e.href!==t};class La{get Bt(){return this._instance.config}constructor(e){var o=this;this.getWebExperimentsAndEvaluateDisplayLogic=function(a){a===void 0&&(a=!1),o.getWebExperiments((n=>{La.Hn("retrieved web experiments from the server"),o.zn=new Map,n.forEach((r=>{if(r.feature_flag_key){var i;o.zn&&(La.Hn("setting flag key ",r.feature_flag_key," to web experiment ",r),(i=o.zn)==null||i.set(r.feature_flag_key,r));var c=o._instance.getFeatureFlag(r.feature_flag_key);Po(c)&&r.variants[c]&&o.Un(r.name,c,r.variants[c].transforms)}else if(r.variants)for(var d in r.variants){var u=r.variants[d];La.Yn(u)&&o.Un(r.name,d,u.transforms)}}))}),a)},this._instance=e,this._instance.onFeatureFlags((a=>{this.onFeatureFlags(a)}))}initialize(){}onFeatureFlags(e){if(this._is_bot())La.Hn(oN);else if(!this.Bt.disable_web_experiments){if(_t(this.zn))return this.zn=new Map,this.loadIfEnabled(),void this.previewWebExperiment();La.Hn("applying feature flags",e),e.forEach((o=>{var a;if(this.zn&&(a=this.zn)!=null&&a.has(o)){var n,r=this._instance.getFeatureFlag(o),i=(n=this.zn)==null?void 0:n.get(o);r&&i!=null&&i.variants[r]&&this.Un(i.name,r,i.variants[r].transforms)}}))}}previewWebExperiment(){var e=La.getWindowLocation();if(e!=null&&e.search){var o=kv(e?.search,"__experiment_id"),a=kv(e?.search,"__experiment_variant");o&&a&&(La.Hn("previewing web experiments "+o+" && "+a),this.getWebExperiments((n=>{this.Gn(parseInt(o),a,n)}),!1,!0))}}loadIfEnabled(){this.Bt.disable_web_experiments||this.getWebExperimentsAndEvaluateDisplayLogic()}getWebExperiments(e,o,a){if(this.Bt.disable_web_experiments&&!a)return e([]);var n=this._instance.get_property("$web_experiments");if(n&&!o)return e(n);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/web_experiments/?token="+this.Bt.token),method:"GET",callback:r=>e(r.statusCode===200&&r.json&&r.json.experiments||[])})}Gn(e,o,a){var n=a.filter((r=>r.id===e));n&&n.length>0&&(La.Hn("Previewing web experiment ["+n[0].name+"] with variant ["+o+"]"),this.Un(n[0].name,o,n[0].variants[o].transforms))}static Yn(e){return!_t(e.conditions)&&La.Wn(e)&&La.Xn(e)}static Wn(e){var o;if(_t(e.conditions)||_t((o=e.conditions)==null?void 0:o.url))return!0;var a,n,r,i=La.getWindowLocation();return!!i&&((a=e.conditions)==null||!a.url||Hce[(n=(r=e.conditions)==null?void 0:r.urlMatchType)!==null&&n!==void 0?n:"icontains"](e.conditions.url,i))}static getWindowLocation(){return ge?.location}static Xn(e){var o;if(_t(e.conditions)||_t((o=e.conditions)==null?void 0:o.utm))return!0;var a=n4();if(a.utm_source){var n,r,i,c,d,u,m,h,f=(n=e.conditions)==null||(n=n.utm)==null||!n.utm_campaign||((r=e.conditions)==null||(r=r.utm)==null?void 0:r.utm_campaign)==a.utm_campaign,v=(i=e.conditions)==null||(i=i.utm)==null||!i.utm_source||((c=e.conditions)==null||(c=c.utm)==null?void 0:c.utm_source)==a.utm_source,b=(d=e.conditions)==null||(d=d.utm)==null||!d.utm_medium||((u=e.conditions)==null||(u=u.utm)==null?void 0:u.utm_medium)==a.utm_medium,S=(m=e.conditions)==null||(m=m.utm)==null||!m.utm_term||((h=e.conditions)==null||(h=h.utm)==null?void 0:h.utm_term)==a.utm_term;return f&&b&&S&&v}return!1}static Hn(e){for(var o=arguments.length,a=new Array(o>1?o-1:0),n=1;o>n;n++)a[n-1]=arguments[n];Ue.info("[WebExperiments] "+e,a)}Un(e,o,a){this._is_bot()?La.Hn(oN):o!=="control"?a.forEach((n=>{if(n.selector){var r;La.Hn("applying transform of variant "+o+" for experiment "+e+" ",n);var i=(r=document)==null?void 0:r.querySelectorAll(n.selector);i?.forEach((c=>{var d=c;n.html&&(d.innerHTML=n.html),n.css&&d.setAttribute("style",n.css)}))}})):La.Hn("Control variants leave the page unmodified.")}_is_bot(){return Mn&&this._instance?b4(Mn,this.Bt.custom_blocked_useragents):void 0}}var Zn=ko("[Conversations]"),Cl="Conversations not available yet.",wb={featureFlags:class{constructor(t){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=t,this.featureFlagEventHandlers=[]}get Bt(){return this._instance.config}get ni(){return this._instance.persistence}os(t){return this._instance.get_property(t)}ls(){var t,e;return(t=(e=this.ni)==null?void 0:e.wr(this.Bt.feature_flag_cache_ttl_ms))!==null&&t!==void 0&&t}us(){return!!this.ls()&&(this.ss||this.Qn||(this.ss=!0,Ka.warn("Feature flag cache is stale, triggering refresh..."),this.reloadFeatureFlags()),!0)}hs(){var t,e=(t=this.Bt.evaluation_contexts)!==null&&t!==void 0?t:this.Bt.evaluation_environments;return!this.Bt.evaluation_environments||this.Bt.evaluation_contexts||this.ns||(Ka.warn("evaluation_environments is deprecated. Use evaluation_contexts instead. evaluation_environments will be removed in a future version."),this.ns=!0),e!=null&&e.length?e.filter((o=>{var a=o&&typeof o=="string"&&o.trim().length>0;return a||Ka.error("Invalid evaluation context found:",o,"Expected non-empty string"),a})):[]}cs(){return this.hs().length>0}initialize(){var t,e,{config:o}=this._instance,a=(t=(e=o.bootstrap)==null?void 0:e.featureFlags)!==null&&t!==void 0?t:{};if(Object.keys(a).length){var n,r,i=(n=(r=o.bootstrap)==null?void 0:r.featureFlagPayloads)!==null&&n!==void 0?n:{},c=Object.keys(a).filter((u=>!!a[u])).reduce(((u,m)=>(u[m]=a[m]||!1,u)),{}),d=Object.keys(i).filter((u=>c[u])).reduce(((u,m)=>(i[m]&&(u[m]=i[m]),u)),{});this.receivedFeatureFlags({featureFlags:c,featureFlagPayloads:d})}}updateFlags(t,e,o){var a=o!=null&&o.merge?this.getFlagVariants():{},n=o!=null&&o.merge?this.getFlagPayloads():{},r=Me({},a,t),i=Me({},n,e),c={};for(var[d,u]of Object.entries(r)){var m=typeof u=="string";c[d]={key:d,enabled:!!m||!!u,variant:m?u:void 0,reason:void 0,metadata:$e(i?.[d])?void 0:{id:0,version:void 0,description:void 0,payload:i[d]}}}this.receivedFeatureFlags({flags:c})}get hasLoadedFlags(){return this.Kn}getFlags(){return Object.keys(this.getFlagVariants())}getFlagsWithDetails(){var t=this.os(i0),e=this.os(Ps),o=this.os(ld);if(!o&&!e)return t||{};var a=Io({},t||{}),n=[...new Set([...Object.keys(o||{}),...Object.keys(e||{})])];for(var r of n){var i,c,d=a[r],u=e?.[r],m=$e(u)?(i=d?.enabled)!==null&&i!==void 0&&i:!!u,h=$e(u)?d.variant:typeof u=="string"?u:void 0,f=o?.[r],v=Me({},d,{enabled:m,variant:m?h??d?.variant:void 0});m!==d?.enabled&&(v.original_enabled=d?.enabled),h!==d?.variant&&(v.original_variant=d?.variant),f&&(v.metadata=Me({},d?.metadata,{payload:f,original_payload:d==null||(c=d.metadata)==null?void 0:c.payload})),a[r]=v}return this.Jn||(Ka.warn(" Overriding feature flag details!",{flagDetails:t,overriddenPayloads:o,finalDetails:a}),this.Jn=!0),a}getFlagVariants(){var t=this.os(fd),e=this.os(Ps);if(!e)return t||{};for(var o=Io({},t),a=Object.keys(e),n=0;a.length>n;n++)o[a[n]]=e[a[n]];return this.Jn||(Ka.warn(" Overriding feature flags!",{enabledFlags:t,overriddenFlags:e,finalFlags:o}),this.Jn=!0),o}getFlagPayloads(){var t=this.os(l0),e=this.os(ld);if(!e)return t||{};for(var o=Io({},t||{}),a=Object.keys(e),n=0;a.length>n;n++)o[a[n]]=e[a[n]];return this.Jn||(Ka.warn(" Overriding feature flag payloads!",{flagPayloads:t,overriddenPayloads:e,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(t){this.$anon_distinct_id=t}setReloadingPaused(t){this.es=t}vs(t){var e;if(this.fs(),!this._instance.Fr())if(this.Qn)this.ts=!0;else{var o=this.Bt.token,a=this.os(gv),n={token:o,distinct_id:this._instance.get_distinct_id(),groups:this._instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:Me({},((e=this.ni)==null?void 0:e.get_initial_props())||{},this.os(xp)||{}),group_properties:this.os(Al),timezone:d4()};zs(a)||$e(a)||(n.$device_id=a),(t!=null&&t.disableFlags||this.Bt.advanced_disable_feature_flags)&&(n.disable_flags=!0),this.cs()&&(n.evaluation_contexts=this.hs());var r=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:r,data:n,compression:this.Bt.disable_compression?void 0:Ur.Base64,timeout:this.Bt.feature_flag_request_timeout_ms,callback:i=>{var c,d,u,m=!0;if(i.statusCode===200&&(this.ts||(this.$anon_distinct_id=void 0),m=!1),this.Qn=!1,!n.disable_flags||this.ts){this.rs=!m;var h=[];i.error?i.error instanceof Error?h.push(i.error.name==="AbortError"?"timeout":"connection_error"):h.push("unknown_error"):i.statusCode!==200&&h.push("api_error_"+i.statusCode),(c=i.json)!=null&&c.errorsWhileComputingFlags&&h.push("errors_while_computing_flags");var f,v=!((d=i.json)==null||(d=d.quotaLimited)==null||!d.includes("feature_flags"));v&&h.push("quota_limited"),(u=this.ni)==null||u.register({[m0]:h}),v?Ka.warn("You have hit your feature flags quota limit, and will not be able to load feature flags until the quota is reset. Please visit https://posthog.com/docs/billing/limits-alerts to learn more."):(n.disable_flags||this.receivedFeatureFlags((f=i.json)!==null&&f!==void 0?f:{},m,{partialResponse:!!this.Bt.advanced_only_evaluate_survey_feature_flags}),this.ts&&(this.ts=!1,this.vs()))}}})}}getFeatureFlag(t,e){var o;if(e===void 0&&(e={}),!e.fresh||this.rs)if(this.Kn||this.getFlags()&&this.getFlags().length>0){if(!this.us()){var a=this.getFeatureFlagResult(t,e);return(o=a?.variant)!==null&&o!==void 0?o:a?.enabled}}else Ka.warn('getFeatureFlag for key "'+t+px)}getFeatureFlagDetails(t){return this.getFlagsWithDetails()[t]}getFeatureFlagPayload(t){var e=this.getFeatureFlagResult(t,{send_event:!1});return e?.payload}getFeatureFlagResult(t,e){if(e===void 0&&(e={}),!e.fresh||this.rs)if(this.Kn||this.getFlags()&&this.getFlags().length>0){if(!this.us()){var o=this.getFlagVariants(),a=t in o,n=o[t],r=this.getFlagPayloads()[t],i=String(n),c=this.os(c0)||void 0,d=this.os(vv)||void 0,u=this.os(_p)||{};if(this.Bt.advanced_feature_flags_dedup_per_session){var m,h=this._instance.get_session_id(),f=this.os(p0);h&&h!==f&&(u={},(m=this.ni)==null||m.register({[_p]:u,[p0]:h}))}if((e.send_event||!("send_event"in e))&&(!(t in u)||!u[t].includes(i))){var v,b,S,T,x,k,C,E,P,D;It(u[t])?u[t].push(i):u[t]=[i],(v=this.ni)==null||v.register({[_p]:u});var R=this.getFeatureFlagDetails(t),O=[...(b=this.os(m0))!==null&&b!==void 0?b:[]];$e(n)&&O.push("flag_missing");var I={$feature_flag:t,$feature_flag_response:n,$feature_flag_payload:r||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[t])||null,$feature_flag_bootstrapped_payload:((T=this.Bt.bootstrap)==null||(T=T.featureFlagPayloads)==null?void 0:T[t])||null,$used_bootstrap_value:!this.rs};$e(R==null||(x=R.metadata)==null?void 0:x.version)||(I.$feature_flag_version=R.metadata.version);var q,B=(k=R==null||(C=R.reason)==null?void 0:C.description)!==null&&k!==void 0?k:R==null||(E=R.reason)==null?void 0:E.code;B&&(I.$feature_flag_reason=B),R!=null&&(P=R.metadata)!=null&&P.id&&(I.$feature_flag_id=R.metadata.id),$e(R?.original_variant)&&$e(R?.original_enabled)||(I.$feature_flag_original_response=$e(R.original_variant)?R.original_enabled:R.original_variant),R!=null&&(D=R.metadata)!=null&&D.original_payload&&(I.$feature_flag_original_payload=R==null||(q=R.metadata)==null?void 0:q.original_payload),O.length&&(I.$feature_flag_error=O.join(",")),this._instance.capture("$feature_flag_called",I)}if(a){var j=r;if(!$e(r))try{j=JSON.parse(r)}catch{}return{key:t,enabled:!!n,variant:typeof n=="string"?n:void 0,payload:j}}}}else Ka.warn('getFeatureFlagResult for key "'+t+px)}getRemoteConfigPayload(t,e){var o=this.Bt.token,a={distinct_id:this._instance.get_distinct_id(),token:o};this.cs()&&(a.evaluation_contexts=this.hs()),this._instance._send_request({method:"POST",url:this._instance.requestRouter.endpointFor("flags","/flags/?v=2"),data:a,compression:this.Bt.disable_compression?void 0:Ur.Base64,timeout:this.Bt.feature_flag_request_timeout_ms,callback(n){var r,i=(r=n.json)==null?void 0:r.featureFlagPayloads;e(i?.[t]||void 0)}})}isFeatureEnabled(t,e){if(e===void 0&&(e={}),!e.fresh||this.rs){if(this.Kn||this.getFlags()&&this.getFlags().length>0){var o=this.getFeatureFlag(t,e);return $e(o)?void 0:!!o}Ka.warn('isFeatureEnabled for key "'+t+px)}}addFeatureFlagsHandler(t){this.featureFlagEventHandlers.push(t)}removeFeatureFlagsHandler(t){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter((e=>e!==t))}receivedFeatureFlags(t,e,o){if(this.ni){this.Kn=!0;var a=this.getFlagVariants(),n=this.getFlagPayloads(),r=this.getFlagsWithDetails();(function(i,c,d,u,m,h){d===void 0&&(d={}),u===void 0&&(u={}),m===void 0&&(m={});var f=(O=>{var I=O.flags;return I?(O.featureFlags=Object.fromEntries(Object.keys(I).map((q=>{var B;return[q,(B=I[q].variant)!==null&&B!==void 0?B:I[q].enabled]}))),O.featureFlagPayloads=Object.fromEntries(Object.keys(I).filter((q=>I[q].enabled)).filter((q=>{var B;return(B=I[q].metadata)==null?void 0:B.payload})).map((q=>{var B;return[q,(B=I[q].metadata)==null?void 0:B.payload]})))):Ka.warn("Using an older version of the feature flags endpoint. Please upgrade your PostHog server to the latest version"),O})(i),v=f.flags,b=f.featureFlags,S=f.featureFlagPayloads;if(b){var T=i.requestId,x=i.evaluatedAt;if(It(b)){Ka.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");var k={};if(b)for(var C=0;b.length>C;C++)k[b[C]]=!0;c&&c.register({[_f]:b,[fd]:k})}else{var E=b,P=S,D=v;if(h!=null&&h.partialResponse)E=Me({},d,E),P=Me({},u,P),D=Me({},m,D);else if(i.errorsWhileComputingFlags)if(v){var R=new Set(Object.keys(v).filter((O=>{var I;return!((I=v[O])!=null&&I.failed)})));E=Me({},d,Object.fromEntries(Object.entries(E).filter((O=>{var[I]=O;return R.has(I)})))),P=Me({},u,Object.fromEntries(Object.entries(P||{}).filter((O=>{var[I]=O;return R.has(I)})))),D=Me({},m,Object.fromEntries(Object.entries(D||{}).filter((O=>{var[I]=O;return R.has(I)}))))}else E=Me({},d,E),P=Me({},u,P),D=Me({},m,D);c&&c.register(Me({[_f]:Object.keys(tN(E)),[fd]:E||{},[l0]:P||{},[i0]:D||{}},T?{[c0]:T}:{},x?{[vv]:x}:{}))}}})(t,this.ni,a,n,r,o),e||(this.ss=!1),this.ps(e)}}override(t,e){e===void 0&&(e=!1),Ka.warn("override is deprecated. Please use overrideFeatureFlags instead."),this.overrideFeatureFlags({flags:t,suppressWarning:e})}overrideFeatureFlags(t){if(!this._instance.__loaded||!this.ni)return Ka.uninitializedWarning("posthog.featureFlags.overrideFeatureFlags");if(t===!1)return this.ni.unregister(Ps),this.ni.unregister(ld),this.ps(),El.info("All overrides cleared");if(It(t)){var e=eN(t);return this.ni.register({[Ps]:e}),this.ps(),El.info("Flag overrides set",{flags:t})}if(t&&typeof t=="object"&&("flags"in t||"payloads"in t)){var o,a=t;if(this.Jn=!!((o=a.suppressWarning)!==null&&o!==void 0&&o),"flags"in a){if(a.flags===!1)this.ni.unregister(Ps),El.info("Flag overrides cleared");else if(a.flags){if(It(a.flags)){var n=eN(a.flags);this.ni.register({[Ps]:n})}else this.ni.register({[Ps]:a.flags});El.info("Flag overrides set",{flags:a.flags})}}return"payloads"in a&&(a.payloads===!1?(this.ni.unregister(ld),El.info("Payload overrides cleared")):a.payloads&&(this.ni.register({[ld]:a.payloads}),El.info("Payload overrides set",{payloads:a.payloads}))),void this.ps()}if(t&&typeof t=="object")return this.ni.register({[Ps]:t}),this.ps(),El.info("Flag overrides set",{flags:t});Ka.warn("Invalid overrideOptions provided to overrideFeatureFlags",{overrideOptions:t})}onFeatureFlags(t){if(this.addFeatureFlagsHandler(t),this.Kn){var{flags:e,flagVariants:o}=this.gs();t(e,o)}return()=>this.removeFeatureFlagsHandler(t)}updateEarlyAccessFeatureEnrollment(t,e,o){var a,n=(this.os(wp)||[]).find((d=>d.flagKey===t)),r={["$feature_enrollment/"+t]:e},i={$feature_flag:t,$feature_enrollment:e,$set:r};n&&(i.$early_access_feature_name=n.name),o&&(i.$feature_enrollment_stage=o),this._instance.capture("$feature_enrollment_update",i),this.setPersonPropertiesForFlags(r,!1);var c=Me({},this.getFlagVariants(),{[t]:e});(a=this.ni)==null||a.register({[_f]:Object.keys(tN(c)),[fd]:c}),this.ps()}getEarlyAccessFeatures(t,e,o){e===void 0&&(e=!1);var a=this.os(wp),n=o?"&"+o.map((r=>"stage="+r)).join("&"):"";if(a&&!e)return t(a);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/early_access_features/?token="+this.Bt.token+n),method:"GET",callback:r=>{var i,c;if(r.json){var d=r.json.earlyAccessFeatures;return(i=this.ni)==null||i.unregister(wp),(c=this.ni)==null||c.register({[wp]:d}),t(d)}}})}gs(){var t=this.getFlags(),e=this.getFlagVariants();return{flags:t.filter((o=>e[o])),flagVariants:Object.keys(e).filter((o=>e[o])).reduce(((o,a)=>(o[a]=e[a],o)),{})}}ps(t){var{flags:e,flagVariants:o}=this.gs();this.featureFlagEventHandlers.forEach((a=>a(e,o,{errorsLoading:t})))}setPersonPropertiesForFlags(t,e){e===void 0&&(e=!0);var o=this.os(xp)||{},a=t?.$set||(t!=null&&t.$set_once?{}:t),n=t?.$set_once,r={};if(n)for(var i in n)({}).hasOwnProperty.call(n,i)&&(i in o||(r[i]=n[i]));this._instance.register({[xp]:Me({},o,r,a)}),e&&this._instance.reloadFeatureFlags()}resetPersonPropertiesForFlags(){this._instance.unregister(xp)}setGroupPropertiesForFlags(t,e){e===void 0&&(e=!0);var o=this.os(Al)||{};Object.keys(o).length!==0&&Object.keys(o).forEach((a=>{o[a]=Me({},o[a],t[a]),delete t[a]})),this._instance.register({[Al]:Me({},o,t)}),e&&this._instance.reloadFeatureFlags()}resetGroupPropertiesForFlags(t){if(t){var e=this.os(Al)||{};this._instance.register({[Al]:Me({},e,{[t]:{}})})}else this._instance.unregister(Al)}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}}},Gce={sessionRecording:class{get Bt(){return this._instance.config}get ni(){return this._instance.persistence}get started(){var t;return!((t=this.ys)==null||!t.isStarted)}get status(){var t,e;return this.bs===ip||this.bs===nf?this.bs:(t=(e=this.ys)==null?void 0:e.status)!==null&&t!==void 0?t:this.bs}constructor(t){if(this._forceAllowLocalhostNetworkCapture=!1,this.bs=G2,this._s=void 0,this._instance=t,!this._instance.sessionManager)throw yi.error("started without valid sessionManager"),new Error(A0+" started without valid sessionManager. This is a bug.");if(this.Bt.cookieless_mode===Rs)throw new Error(A0+' cannot be used with cookieless_mode="always"')}initialize(){this.startIfEnabledOrStop()}get ws(){var t,e=!((t=this._instance.get_property(Sp))==null||!t.enabled),o=!this.Bt.disable_session_recording,a=this.Bt.disable_session_recording||this._instance.consent.isOptedOut();return ge&&e&&o&&!a}startIfEnabledOrStop(t){var e;if(!this.ws||(e=this.ys)==null||!e.isStarted){var o=!$e(Object.assign)&&!$e(Array.from);this.ws&&o?(this.Is(t),yi.info("starting")):(this.bs=G2,this.stopRecording())}}Is(t){var e,o,a;this.ws&&(this.bs!==ip&&this.bs!==nf&&(this.bs=W2),ot!=null&&(e=ot.__PosthogExtensions__)!=null&&(e=e.rrweb)!=null&&e.record&&(o=ot.__PosthogExtensions__)!=null&&o.initSessionRecording?this.Cs(t):(a=ot.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this._instance,this.Ss,(n=>{if(n)return yi.error("could not load recorder",n);this.Cs(t)})))}stopRecording(){var t,e;(t=this._s)==null||t.call(this),this._s=void 0,(e=this.ys)==null||e.stop()}xs(){var t,e;(t=this._s)==null||t.call(this),this._s=void 0,(e=this.ys)==null||e.discard()}ks(){var t;(t=this.ni)==null||t.unregister(BE)}Ts(t,e){if(_t(t))return null;var o,a=sr(t)?t:parseFloat(t);return typeof(o=a)!="number"||!Number.isFinite(o)||0>o||o>1?(yi.warn(e+" must be between 0 and 1. Ignoring invalid value:",t),null):a}As(t){if(this.ni){var e,o,a=this.ni,n=()=>{var r,i=t.sessionRecording===!1?void 0:t.sessionRecording,c=this.Ts((r=this.Bt.session_recording)==null?void 0:r.sampleRate,"session_recording.sampleRate"),d=this.Ts(i?.sampleRate,"remote config sampleRate"),u=c??d;_t(u)&&this.ks();var m=i?.minimumDurationMilliseconds;a.register({[Sp]:Me({cache_timestamp:Date.now(),enabled:!!i},i,{networkPayloadCapture:Me({capturePerformance:t.capturePerformance},i?.networkPayloadCapture),canvasRecording:{enabled:i?.recordCanvas,fps:i?.canvasFps,quality:i?.canvasQuality},sampleRate:u,minimumDurationMilliseconds:$e(m)?null:m,endpoint:i?.endpoint,triggerMatchType:i?.triggerMatchType,masking:i?.masking,urlTriggers:i?.urlTriggers,version:i?.version,triggerGroups:i?.triggerGroups})})};n(),(e=this._s)==null||e.call(this),this._s=(o=this._instance.sessionManager)==null?void 0:o.onSessionId(n)}}onRemoteConfig(t){return"sessionRecording"in t?t.sessionRecording===!1?(this.As(t),void this.xs()):(this.As(t),void this.startIfEnabledOrStop()):(this.bs===ip&&(this.bs=nf,yi.warn("config refresh failed, recording will not start until page reload")),void this.startIfEnabledOrStop())}log(t,e){var o;e===void 0&&(e="log"),(o=this.ys)!=null&&o.log?this.ys.log(t,e):yi.warn("log called before recorder was ready")}get Ss(){var t,e,o=(t=this._instance)==null||(t=t.persistence)==null?void 0:t.get_property(Sp);return(o==null||(e=o.scriptConfig)==null?void 0:e.script)||"lazy-recorder"}Es(){var t,e=this._instance.get_property(Sp);if(!e)return!1;var o=(t=(typeof e=="object"?e:JSON.parse(e)).cache_timestamp)!==null&&t!==void 0?t:Date.now();return 36e5>=Date.now()-o}Cs(t){var e,o;if((e=ot.__PosthogExtensions__)==null||!e.initSessionRecording)return yi.warn("Called on script loaded before session recording is available. This can be caused by adblockers."),void this._instance.register_for_session({[X3]:!0});if(this.ys||(this.ys=(o=ot.__PosthogExtensions__)==null?void 0:o.initSessionRecording(this._instance),this.ys._forceAllowLocalhostNetworkCapture=this._forceAllowLocalhostNetworkCapture),!this.Es())return this.bs===nf||this.bs===ip?void 0:(this.bs=ip,yi.info("persisted remote config is stale, requesting fresh config before starting"),void new u4(this._instance).load());this.bs=W2,this.ys.start(t)}onRRwebEmit(t){var e;(e=this.ys)==null||e.onRRwebEmit==null||e.onRRwebEmit(t)}overrideLinkedFlag(){var t,e;this.ys||(e=this.ni)==null||e.register({[W3]:!0}),(t=this.ys)==null||t.overrideLinkedFlag()}overrideSampling(){var t,e;this.ys||(e=this.ni)==null||e.register({[G3]:!0}),(t=this.ys)==null||t.overrideSampling()}overrideTrigger(t){var e,o;this.ys||(o=this.ni)==null||o.register({[t==="url"?K3:Y3]:!0}),(e=this.ys)==null||e.overrideTrigger(t)}get sdkDebugProperties(){var t;return((t=this.ys)==null?void 0:t.sdkDebugProperties)||{$recording_status:this.status}}tryAddCustomEvent(t,e){var o;return!((o=this.ys)==null||!o.tryAddCustomEvent(t,e))}}},Wce={autocapture:class{constructor(t){this.Rs=!1,this.Ns=null,this.Ms=!1,this.instance=t,this.rageclicks=new U2(t.config.rageclick),this.Fs=null}initialize(){this.startIfEnabled()}get Bt(){var t,e,o=jo(this.instance.config.autocapture)?this.instance.config.autocapture:{};return o.url_allowlist=(t=o.url_allowlist)==null?void 0:t.map((a=>new RegExp(a))),o.url_ignorelist=(e=o.url_ignorelist)==null?void 0:e.map((a=>new RegExp(a))),o}Os(){if(this.isBrowserSupported()){if(ge&&ze){var t=o=>{o=o||ge?.event;try{this.Ps(o)}catch(a){$2.error("Failed to capture event",a)}};if(Xo(ze,"submit",t,{capture:!0}),Xo(ze,"change",t,{capture:!0}),Xo(ze,"click",t,{capture:!0}),this.Bt.capture_copied_text){var e=o=>{this.Ps(o=o||ge?.event,cx)};Xo(ze,"copy",e,{capture:!0}),Xo(ze,"cut",e,{capture:!0})}}}else $2.info("Disabling Automatic Event Collection because this browser is not supported")}startIfEnabled(){this.isEnabled&&!this.Rs&&(this.Os(),this.Rs=!0)}onRemoteConfig(t){t.elementsChainAsString&&(this.Ms=t.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register({[XT]:!!t.autocapture_opt_out}),this.Ns=!!t.autocapture_opt_out,this.startIfEnabled()}setElementSelectors(t){this.Fs=t}getElementSelectors(t){var e,o=[];return(e=this.Fs)==null||e.forEach((a=>{var n=ze?.querySelectorAll(a);n?.forEach((r=>{t===r&&o.push(a)}))})),o}get isEnabled(){var t,e,o=(t=this.instance.persistence)==null?void 0:t.props[XT];if(zs(this.Ns)&&!Kr(o)&&!this.instance.Fr())return!1;var a=(e=this.Ns)!==null&&e!==void 0?e:!!o;return!!this.instance.config.autocapture&&!a}Ps(t,e){if(e===void 0&&(e="$autocapture"),this.isEnabled){var o,a=L2(t);T4(a)&&(a=a.parentNode||null),e==="$autocapture"&&t.type==="click"&&t instanceof MouseEvent&&this.instance.config.rageclick&&(o=this.rageclicks)!=null&&o.isRageClick(t.clientX,t.clientY,t.timeStamp||new Date().getTime())&&(function(h,f){if(!ge||_0(h))return!1;var v,b,S;if(Kr(f)?(v=!!f&&F2,b=void 0):(v=(S=f?.css_selector_ignorelist)!==null&&S!==void 0?S:F2,b=f?.content_ignorelist),v===!1)return!1;var{targetElementList:T}=j2(h,!1);return!(function(x,k){if(x===!1||$e(x))return!1;var C;if(x===!0)C=Rce;else{if(!It(x))return!1;if(x.length>10)return Ue.error("[PostHog] content_ignorelist array cannot exceed 10 items. Use css_selector_ignorelist for more complex matching."),!1;C=x.map((E=>E.toLowerCase()))}return k.some((E=>{var{safeText:P,ariaLabel:D}=E;return C.some((R=>P.includes(R)||D.includes(R)))}))})(b,T.map((x=>{var k;return{safeText:Jp(x).toLowerCase(),ariaLabel:((k=x.getAttribute("aria-label"))==null?void 0:k.toLowerCase().trim())||""}})))&&!B2(T,v)})(a,this.instance.config.rageclick)&&this.Ps(t,"$rageclick");var n=e===cx;if(a&&(function(h,f,v,b,S){var T,x,k,C;if(v===void 0&&(v=void 0),!ge||_0(h)||(T=v)!=null&&T.url_allowlist&&!I2(v.url_allowlist)||(x=v)!=null&&x.url_ignorelist&&I2(v.url_ignorelist))return!1;if((k=v)!=null&&k.dom_event_allowlist){var E=v.dom_event_allowlist;if(E&&!E.some((I=>f.type===I)))return!1}var{parentIsUsefulElement:P,targetElementList:D}=j2(h,b);if(!(function(I,q){var B=q?.element_allowlist;if($e(B))return!0;var j,F=function(oe){if(B.some((H=>oe.tagName.toLowerCase()===H)))return{v:!0}};for(var W of I)if(j=F(W))return j.v;return!1})(D,v)||!B2(D,(C=v)==null?void 0:C.css_selector_allowlist))return!1;var R=ge.getComputedStyle(h);if(R&&R.getPropertyValue("cursor")==="pointer"&&f.type==="click")return!0;var O=h.tagName.toLowerCase();switch(O){case"html":return!1;case"form":return(S||["submit"]).indexOf(f.type)>=0;case"input":case"select":case"textarea":return(S||["change","click"]).indexOf(f.type)>=0;default:return P?(S||["click"]).indexOf(f.type)>=0:(S||["click"]).indexOf(f.type)>=0&&(VE.indexOf(O)>-1||h.getAttribute("contenteditable")==="true")}})(a,t,this.Bt,n,n?["copy","cut"]:void 0)){var{props:r,explicitNoCapture:i}=Bce(a,{e:t,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(i)return!1;var c=this.getElementSelectors(a);if(c&&c.length>0&&(r.$element_selectors=c),e===cx){var d,u=E4(ge==null||(d=ge.getSelection())==null?void 0:d.toString()),m=t.type||"clipboard";if(!u)return!1;r.$selected_content=u,r.$copy_type=m}return this.instance.capture(e,r),!0}}}isBrowserSupported(){return As(ze?.querySelectorAll)}},historyAutocapture:class{constructor(t){var e;this._instance=t,this.Ls=(ge==null||(e=ge.location)==null?void 0:e.pathname)||""}initialize(){this.startIfEnabled()}get isEnabled(){return this._instance.config.capture_pageview==="history_change"}startIfEnabled(){this.isEnabled&&(Ue.info("History API monitoring enabled, starting..."),this.monitorHistoryChanges())}stop(){this.Ds&&this.Ds(),this.Ds=void 0,Ue.info("History API monitoring stopped")}monitorHistoryChanges(){var t,e;if(ge&&ge.history){var o=this;(t=ge.history.pushState)!=null&&t.__posthog_wrapped__||V2(ge.history,"pushState",(a=>function(n,r,i){a.call(this,n,r,i),o.Bs("pushState")})),(e=ge.history.replaceState)!=null&&e.__posthog_wrapped__||V2(ge.history,"replaceState",(a=>function(n,r,i){a.call(this,n,r,i),o.Bs("replaceState")})),this.js()}}Bs(t){try{var e,o=ge==null||(e=ge.location)==null?void 0:e.pathname;if(!o)return;o!==this.Ls&&this.isEnabled&&this._instance.capture(cd,{navigation_type:t}),this.Ls=o}catch(a){Ue.error("Error capturing "+t+" pageview",a)}}js(){if(!this.Ds){var t=()=>{this.Bs("popstate")};Xo(ge,"popstate",t),this.Ds=()=>{ge&&ge.removeEventListener("popstate",t)}}}},heatmaps:class{get Bt(){return this.instance.config}constructor(t){var e;this.$s=!1,this.Rs=!1,this.qs=null,this.instance=t,this.$s=!((e=this.instance.persistence)==null||!e.props[e0]),this.rageclicks=new U2(t.config.rageclick)}initialize(){this.startIfEnabled()}get flushIntervalMilliseconds(){var t=5e3;return jo(this.Bt.capture_heatmaps)&&this.Bt.capture_heatmaps.flush_interval_milliseconds&&(t=this.Bt.capture_heatmaps.flush_interval_milliseconds),t}get isEnabled(){return _t(this.Bt.capture_heatmaps)?_t(this.Bt.enable_heatmaps)?this.$s:this.Bt.enable_heatmaps:this.Bt.capture_heatmaps!==!1}startIfEnabled(){if(this.isEnabled){if(this.Rs)return;jce.info("starting..."),this.Zs(),this.Ft()}else{var t;clearInterval((t=this.qs)!==null&&t!==void 0?t:void 0),this.Vs(),this.getAndClearBuffer()}}onRemoteConfig(t){if("heatmaps"in t){var e=!!t.heatmaps;this.instance.persistence&&this.instance.persistence.register({[e0]:e}),this.$s=e,this.startIfEnabled()}}getAndClearBuffer(){var t=this.T;return this.T=void 0,t}Hs(t){this.Tt(t.originalEvent,"deadclick")}Ft(){this.qs&&clearInterval(this.qs),this.qs=ze?.visibilityState==="visible"?setInterval(this.Yr.bind(this),this.flushIntervalMilliseconds):null}Zs(){ge&&ze&&(this.zs=this.Yr.bind(this),Xo(ge,wv,this.zs),this.Us=t=>this.Tt(t||ge?.event),Xo(ze,"click",this.Us,{capture:!0}),this.Ys=t=>this.Gs(t||ge?.event),Xo(ze,"mousemove",this.Ys,{capture:!0}),this.Ws=new g2(this.instance,Jle,this.Hs.bind(this)),this.Ws.startIfEnabledOrStop(),this.Xs=this.Ft.bind(this),Xo(ze,Sv,this.Xs),this.Rs=!0)}Vs(){var t;ge&&ze&&(this.zs&&ge.removeEventListener(wv,this.zs),this.Us&&ze.removeEventListener("click",this.Us,{capture:!0}),this.Ys&&ze.removeEventListener("mousemove",this.Ys,{capture:!0}),this.Xs&&ze.removeEventListener(Sv,this.Xs),clearTimeout(this.Js),(t=this.Ws)==null||t.stop(),this.Rs=!1)}Ks(t,e){var o=this.instance.scrollManager.scrollY(),a=this.instance.scrollManager.scrollX(),n=this.instance.scrollManager.scrollElement(),r=(function(i,c,d){for(var u=i;u&&Sb(u)&&!ji(u,"body");){if(u===d)return!1;if(Et(c,ge?.getComputedStyle(u).position))return!0;u=C4(u)}return!1})(L2(t),["fixed","sticky"],n);return{x:t.clientX+(r?0:a),y:t.clientY+(r?0:o),target_fixed:r,type:e}}Tt(t,e){var o;if(e===void 0&&(e="click"),!M2(t.target)&&K2(t)){var a=this.Ks(t,e);(o=this.rageclicks)!=null&&o.isRageClick(t.clientX,t.clientY,new Date().getTime())&&this.Qs(Me({},a,{type:"rageclick"})),this.Qs(a)}}Gs(t){!M2(t.target)&&K2(t)&&(clearTimeout(this.Js),this.Js=setTimeout((()=>{this.Qs(this.Ks(t,"mousemove"))}),500))}Qs(t){if(ge){var e=ge.location.href,o=this.Bt.custom_personal_data_properties,a=this.Bt.mask_personal_data_properties?[...Vd,...o||[]]:[],n=Zp(e,a,Qp);this.T=this.T||{},this.T[n]||(this.T[n]=[]),this.T[n].push(t)}}Yr(){this.T&&!gd(this.T)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}},deadClicksAutocapture:g2,webVitalsAutocapture:class{constructor(t){var e;this.$s=!1,this.Rs=!1,this.T={url:void 0,metrics:[],firstMetricTimestamp:void 0},this.eo=()=>{clearTimeout(this.ro),this.T.metrics.length!==0&&(this._instance.capture("$web_vitals",this.T.metrics.reduce(((o,a)=>Me({},o,{["$web_vitals_"+a.name+"_event"]:Me({},a),["$web_vitals_"+a.name+"_value"]:a.value})),{})),this.T={url:void 0,metrics:[],firstMetricTimestamp:void 0})},this.ht=o=>{var a,n=(a=this._instance.sessionManager)==null?void 0:a.checkAndGetSessionAndWindowId(!0);if($e(n))bi.error("Could not read session ID. Dropping metrics!");else{this.T=this.T||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var r=this.io();$e(r)||(_t(o?.name)||_t(o?.value)?bi.error("Invalid metric received",o):!this.no||this.no>o.value?(this.T.url!==r&&(this.eo(),this.ro=setTimeout(this.eo,this.flushToCaptureTimeoutMs)),$e(this.T.url)&&(this.T.url=r),this.T.firstMetricTimestamp=$e(this.T.firstMetricTimestamp)?Date.now():this.T.firstMetricTimestamp,o.attribution&&o.attribution.interactionTargetElement&&(o.attribution.interactionTargetElement=void 0),this.T.metrics.push(Me({},o,{$current_url:r,$session_id:n.sessionId,$window_id:n.windowId,timestamp:Date.now()})),this.T.metrics.length===this.allowedMetrics.length&&this.eo()):bi.error("Ignoring metric with value >= "+this.no,o))}},this.so=()=>{if(!this.Rs){var o,a,n,r,i=ot.__PosthogExtensions__;$e(i)||$e(i.postHogWebVitalsCallbacks)||({onLCP:o,onCLS:a,onFCP:n,onINP:r}=i.postHogWebVitalsCallbacks),o&&a&&n&&r?(this.allowedMetrics.indexOf("LCP")>-1&&o(this.ht.bind(this)),this.allowedMetrics.indexOf("CLS")>-1&&a(this.ht.bind(this)),this.allowedMetrics.indexOf("FCP")>-1&&n(this.ht.bind(this)),this.allowedMetrics.indexOf("INP")>-1&&r(this.ht.bind(this)),this.Rs=!0):bi.error("web vitals callbacks not loaded - not starting")}},this._instance=t,this.$s=!((e=this._instance.persistence)==null||!e.props[n0]),this.startIfEnabled()}get oo(){return this._instance.config.capture_performance}get allowedMetrics(){var t,e,o=jo(this.oo)?(t=this.oo)==null?void 0:t.web_vitals_allowed_metrics:void 0;return _t(o)?((e=this._instance.persistence)==null?void 0:e.props[s0])||["CLS","FCP","INP","LCP"]:o}get flushToCaptureTimeoutMs(){return(jo(this.oo)?this.oo.web_vitals_delayed_flush_ms:void 0)||5e3}get useAttribution(){var t=jo(this.oo)?this.oo.web_vitals_attribution:void 0;return t!=null&&t}get no(){var t=jo(this.oo)&&sr(this.oo.__web_vitals_max_value)?this.oo.__web_vitals_max_value:H2;return t>0&&6e4>=t?H2:t}get isEnabled(){var t=ka?.protocol;if(t!=="http:"&&t!=="https:")return bi.info("Web Vitals are disabled on non-http/https protocols"),!1;var e=jo(this.oo)?this.oo.web_vitals:Kr(this.oo)?this.oo:void 0;return Kr(e)?e:this.$s}startIfEnabled(){this.isEnabled&&!this.Rs&&(bi.info("enabled, starting..."),this.ur(this.so))}onRemoteConfig(t){if("capturePerformance"in t){var e=jo(t.capturePerformance)&&!!t.capturePerformance.web_vitals,o=jo(t.capturePerformance)?t.capturePerformance.web_vitals_allowed_metrics:void 0;this._instance.persistence&&(this._instance.persistence.register({[n0]:e}),this._instance.persistence.register({[s0]:o})),this.$s=e,this.startIfEnabled()}}ur(t){var e,o;(e=ot.__PosthogExtensions__)!=null&&e.postHogWebVitalsCallbacks?t():(o=ot.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,this.useAttribution?"web-vitals-with-attribution":"web-vitals",(a=>{a?bi.error("failed to load script",a):t()}))}io(){var t=ge?ge.location.href:void 0;if(t){var e=this._instance.config.custom_personal_data_properties,o=this._instance.config.mask_personal_data_properties?[...Vd,...e||[]]:[];return Zp(t,o,Qp)}bi.error("Could not determine current URL")}}},Kce={exceptionObserver:class{constructor(t){var e,o,a;this.so=()=>{var n;if(ge&&this.isEnabled&&(n=ot.__PosthogExtensions__)!=null&&n.errorWrappingFunctions){var r=ot.__PosthogExtensions__.errorWrappingFunctions.wrapOnError,i=ot.__PosthogExtensions__.errorWrappingFunctions.wrapUnhandledRejection,c=ot.__PosthogExtensions__.errorWrappingFunctions.wrapConsoleError;try{!this.ao&&this.Bt.capture_unhandled_errors&&(this.ao=r(this.captureException.bind(this))),!this.lo&&this.Bt.capture_unhandled_rejections&&(this.lo=i(this.captureException.bind(this))),!this.uo&&this.Bt.capture_console_errors&&(this.uo=c(this.captureException.bind(this)))}catch(d){sp.error("failed to start",d),this.ho()}}},this._instance=t,this.co=!((e=this._instance.persistence)==null||!e.props[t0]),this.do=new ile({refillRate:(o=this._instance.config.error_tracking.__exceptionRateLimiterRefillRate)!==null&&o!==void 0?o:1,bucketSize:(a=this._instance.config.error_tracking.__exceptionRateLimiterBucketSize)!==null&&a!==void 0?a:10,refillInterval:1e4,Gt:sp}),this.Bt=this.vo(),this.startIfEnabledOrStop()}vo(){var t=this._instance.config.capture_exceptions,e={capture_unhandled_errors:!1,capture_unhandled_rejections:!1,capture_console_errors:!1};return jo(t)?e=Me({},e,t):($e(t)?this.co:t)&&(e=Me({},e,{capture_unhandled_errors:!0,capture_unhandled_rejections:!0})),e}get isEnabled(){return this.Bt.capture_console_errors||this.Bt.capture_unhandled_errors||this.Bt.capture_unhandled_rejections}startIfEnabledOrStop(){this.isEnabled?(sp.info("enabled"),this.ho(),this.ur(this.so)):this.ho()}ur(t){var e,o;(e=ot.__PosthogExtensions__)!=null&&e.errorWrappingFunctions&&t(),(o=ot.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"exception-autocapture",(a=>{if(a)return sp.error("failed to load script",a);t()}))}ho(){var t,e,o;(t=this.ao)==null||t.call(this),this.ao=void 0,(e=this.lo)==null||e.call(this),this.lo=void 0,(o=this.uo)==null||o.call(this),this.uo=void 0}onRemoteConfig(t){"autocaptureExceptions"in t&&(this.co=!!t.autocaptureExceptions||!1,this._instance.persistence&&this._instance.persistence.register({[t0]:this.co}),this.Bt=this.vo(),this.startIfEnabledOrStop())}onConfigChange(){this.Bt=this.vo()}captureException(t){var e,o,a,n=(e=t==null||(o=t.$exception_list)==null||(o=o[0])==null?void 0:o.type)!==null&&e!==void 0?e:"Exception";this.do.consumeRateLimit(n)?sp.info("Skipping exception capture because of client rate limiting.",{exception:n}):(a=this._instance.exceptions)==null||a.sendExceptionEvent(t)}},exceptions:class{constructor(t){var e,o;this.fo=[],this.po=new Sle([new Ple,new Ble,new Rle,new Ale,new Ile,new Mle,new Ole,new Lle],(function(a){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;n>i;i++)r[i-1]=arguments[i];return function(c,d){d===void 0&&(d=0);for(var u=[],m=c.split(`
168
- `),h=d;m.length>h;h++){var f=m[h];if(1024>=f.length){var v=u2.test(f)?f.replace(u2,"$1"):f;if(!v.match(/\S*Error: /)){for(var b of r){var S=b(v,a);if(S){u.push(S);break}}if(u.length>=50)break}}}return(function(T){if(!T.length)return[];var x=Array.from(T);return x.reverse(),x.slice(0,50).map((k=>{return Me({},k,{filename:k.filename||(C=x,C[C.length-1]||{}).filename,function:k.function||$d});var C}))})(u)}})("web:javascript",kle,_le)),this._instance=t,this.fo=(e=(o=this._instance.persistence)==null?void 0:o.get_property(o0))!==null&&e!==void 0?e:[],this.mo=hv(this.yo()),this.bo=new jle(this.mo)}onConfigChange(){this.mo=hv(this.yo()),this.bo.setConfig(this.mo)}onRemoteConfig(t){var e,o,a;if("errorTracking"in t){var n=(e=(o=t.errorTracking)==null?void 0:o.suppressionRules)!==null&&e!==void 0?e:[],r=(a=t.errorTracking)==null?void 0:a.captureExtensionExceptions;this.fo=n,this._instance.persistence&&this._instance.persistence.register({[o0]:this.fo,[a0]:r})}}get _o(){var t,e=!!this._instance.get_property(a0),o=this._instance.config.error_tracking.captureExtensionExceptions;return(t=o??e)!==null&&t!==void 0&&t}buildProperties(t,e){return this.po.buildFromUnknown(t,{syntheticException:e?.syntheticException,mechanism:{handled:e?.handled}})}addExceptionStep(t,e){if(this.mo.enabled)try{if(!Po(t)||t.trim().length===0)return void _s.warn("Ignoring exception step because message must be a non-empty string");var o=this.wo(e),{sanitizedProperties:a,droppedKeys:n}=(function(r){if(!r)return{sanitizedProperties:{},droppedKeys:[]};var i=[];return{sanitizedProperties:Object.keys(r).reduce(((c,d)=>Fle.has(d)?(i.push(d),c):(c[d]=r[d],c)),{}),droppedKeys:i}})(o);n.length>0&&_s.warn("Ignoring reserved exception step fields",{droppedKeys:n}),this.bo.add(Me({[pv]:t,[mv]:new Date().toISOString()},a))}catch(r){_s.error("Failed to add exception step. Ignoring breadcrumb.",r)}}sendExceptionEvent(t){try{var e=t.$exception_list;if(this.Io(e)){if(this.Co(e))return this.So("Exception dropped: matched a suppression rule"),void _s.info("Skipping exception capture because a suppression rule matched");if(!this._o&&this.xo(e))return this.So("Exception dropped: thrown by a browser extension"),void _s.info("Skipping exception capture because it was thrown by an extension");if(!this._instance.config.error_tracking.__capturePostHogExceptions&&this.ko(e))return this.So("Exception dropped: thrown by the PostHog SDK"),void _s.info("Skipping exception capture because it was thrown by the PostHog SDK")}var o=this.mo.enabled&&_t(t.$exception_steps)?this.To(t):t;try{var a=this._instance.capture("$exception",o,{_noTruncate:!0,_batchKey:"exceptionEvent",en:!0});return a&&this.bo.clear(),a}catch(n){return _s.error("Failed to capture exception event. Dropping this exception.",n),void this.bo.clear()}}catch(n){return void _s.error("Failed to process exception event. Ignoring this exception.",n)}}To(t){try{var e=this.bo.getAttachable();return e.length===0?t:Me({},t,{$exception_steps:e})}catch(o){return _s.error("Failed to read buffered exception steps. Capturing exception without steps.",o),t}}So(t){this.mo.enabled&&this.bo.add({[pv]:t,[mv]:new Date().toISOString()})}wo(t){return jo(t)?Me({},t):{}}yo(){var t,e;return(t=(e=this._instance.config.error_tracking)==null?void 0:e.exception_steps)!==null&&t!==void 0?t:{}}Co(t){if(t.length===0)return!1;var e=t.reduce(((o,a)=>{var{type:n,value:r}=a;return Po(n)&&n.length>0&&o.$exception_types.push(n),Po(r)&&r.length>0&&o.$exception_values.push(r),o}),{$exception_types:[],$exception_values:[]});return this.fo.some((o=>{var a=o.values.map((n=>{var r,i=y4[n.operator],c=It(n.value)?n.value:[n.value],d=(r=e[n.key])!==null&&r!==void 0?r:[];return c.length>0&&i(c,d)}));return o.type==="OR"?a.some(Boolean):a.every(Boolean)}))}xo(t){return t.flatMap((e=>{var o,a;return(o=(a=e.stacktrace)==null?void 0:a.frames)!==null&&o!==void 0?o:[]})).some((e=>e.filename&&e.filename.startsWith("chrome-extension://")))}ko(t){if(t.length>0){var e,o,a,n,r=(e=(o=t[0].stacktrace)==null?void 0:o.frames)!==null&&e!==void 0?e:[],i=r[r.length-1];return(a=i==null||(n=i.filename)==null?void 0:n.includes("posthog.com/static"))!==null&&a!==void 0&&a}return!1}Io(t){return!_t(t)&&It(t)}}},Yce=Me({productTours:class{get ni(){return this._instance.persistence}constructor(t){this.Ao=null,this.Eo=null,this._instance=t}initialize(){this.loadIfEnabled()}onRemoteConfig(t){"productTours"in t&&(this.ni&&this.ni.register({[r0]:!!t.productTours}),this.loadIfEnabled())}loadIfEnabled(){var t,e;this.Ao||(t=this._instance).config.disable_product_tours||(e=t.persistence)==null||!e.get_property(r0)||this.ur((()=>this.Ro()))}ur(t){var e,o;(e=ot.__PosthogExtensions__)!=null&&e.generateProductTours?t():(o=ot.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"product-tours",(a=>{a?Y2.error("Could not load product tours script",a):t()}))}Ro(){var t;!this.Ao&&(t=ot.__PosthogExtensions__)!=null&&t.generateProductTours&&(this.Ao=ot.__PosthogExtensions__.generateProductTours(this._instance,!0))}getProductTours(t,e){if(e===void 0&&(e=!1),!It(this.Eo)||e){var o=this.ni;if(o){var a=o.props[Pf];if(It(a)&&!e)return this.Eo=a,void t(a,{isLoaded:!0})}this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/product_tours/?token="+this._instance.config.token),method:"GET",callback:n=>{var r=n.statusCode;if(r!==200||!n.json){var i="Product Tours API could not be loaded, status: "+r;return Y2.error(i),void t([],{isLoaded:!1,error:i})}var c=It(n.json.product_tours)?n.json.product_tours:[];this.Eo=c,o&&o.register({[Pf]:c}),t(c,{isLoaded:!0})}})}else t(this.Eo,{isLoaded:!0})}getActiveProductTours(t){_t(this.Ao)?t([],{isLoaded:!1,error:"Product tours not loaded"}):this.Ao.getActiveProductTours(t)}showProductTour(t){var e;(e=this.Ao)==null||e.showTourById(t)}previewTour(t){this.Ao?this.Ao.previewTour(t):this.ur((()=>{var e;this.Ro(),(e=this.Ao)==null||e.previewTour(t)}))}dismissProductTour(){var t;(t=this.Ao)==null||t.dismissTour("user_clicked_skip")}nextStep(){var t;(t=this.Ao)==null||t.nextStep()}previousStep(){var t;(t=this.Ao)==null||t.previousStep()}clearCache(){var t;this.Eo=null,(t=this.ni)==null||t.unregister(Pf)}resetTour(t){var e;(e=this.Ao)==null||e.resetTour(t)}resetAllTours(){var t;(t=this.Ao)==null||t.resetAllTours()}cancelPendingTour(t){var e;(e=this.Ao)==null||e.cancelPendingTour(t)}}},wb),Zce={siteApps:class{constructor(t){this._instance=t,this.No=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}Mo(t,e){if(e){var o=this.globalsForEvent(e);this.No.push(o),this.No.length>1e3&&(this.No=this.No.slice(10))}}get siteAppLoaders(){var t;return(t=ot._POSTHOG_REMOTE_CONFIG)==null||(t=t[this._instance.config.token])==null?void 0:t.siteApps}initialize(){if(this.isEnabled){var t=this._instance._addCaptureHook(this.Mo.bind(this));this.Fo=()=>{t(),this.No=[],this.Fo=void 0}}}globalsForEvent(t){var e,o,a,n,r,i,c;if(!t)throw new Error("Event payload is required");var d={},u=this._instance.get_property("$groups")||[],m=this._instance.get_property("$stored_group_properties")||{};for(var[h,f]of Object.entries(m))d[h]={id:u[h],type:h,properties:f};var{$set_once:v,$set:b}=t;return{event:Me({},S3(t,zce),{properties:Me({},t.properties,b?{$set:Me({},(e=(o=t.properties)==null?void 0:o.$set)!==null&&e!==void 0?e:{},b)}:{},v?{$set_once:Me({},(a=(n=t.properties)==null?void 0:n.$set_once)!==null&&a!==void 0?a:{},v)}:{}),elements_chain:(r=(i=t.properties)==null?void 0:i.$elements_chain)!==null&&r!==void 0?r:"",distinct_id:(c=t.properties)==null?void 0:c.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:d}}setupSiteApp(t){var e=this.apps[t.id],o=()=>{var i;!e.errored&&this.No.length&&(Si.info("Processing "+this.No.length+" events for site app with id "+t.id),this.No.forEach((c=>e.processEvent==null?void 0:e.processEvent(c))),e.processedBuffer=!0),Object.values(this.apps).every((c=>c.processedBuffer||c.errored))&&((i=this.Fo)==null||i.call(this))},a=!1,n=i=>{e.errored=!i,e.loaded=!0,Si.info("Site app with id "+t.id+" "+(i?"loaded":"errored")),a&&o()};try{var{processEvent:r}=t.init({posthog:this._instance,callback(i){n(i)}});r&&(e.processEvent=r),a=!0}catch(i){Si.error(Z2+t.id,i),n(!1)}if(a&&e.loaded)try{o()}catch(i){Si.error("Error while processing buffered events PostHog app with config id "+t.id,i),e.errored=!0}}Oo(){var t=this.siteAppLoaders||[];for(var e of t)this.apps[e.id]={id:e.id,loaded:!1,errored:!1,processedBuffer:!1};for(var o of t)this.setupSiteApp(o)}Po(t){if(Object.keys(this.apps).length!==0){var e=this.globalsForEvent(t);for(var o of Object.values(this.apps))try{o.processEvent==null||o.processEvent(e)}catch(a){Si.error("Error while processing event "+t.event+" for site app "+o.id,a)}}}onRemoteConfig(t){var e,o,a,n=this;if((e=this.siteAppLoaders)!=null&&e.length)return this.isEnabled?(this.Oo(),void this._instance.on("eventCaptured",(d=>this.Po(d)))):void Si.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if((o=this.Fo)==null||o.call(this),(a=t.siteApps)!=null&&a.length)if(this.isEnabled){var r=function(d){var u;ot["__$$ph_site_app_"+d]=n._instance,(u=ot.__PosthogExtensions__)==null||u.loadSiteApp==null||u.loadSiteApp(n._instance,c,(m=>{if(m)return Si.error(Z2+d,m)}))};for(var{id:i,url:c}of t.siteApps)r(i)}else Si.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}},Qce={tracingHeaders:class{constructor(t){this.Lo=void 0,this.Do=void 0,this.so=()=>{var e,o,a=this.Bo()||[];$e(this.Lo)&&((e=ot.__PosthogExtensions__)==null||(e=e.tracingHeadersPatchFns)==null||e._patchXHR(a,this._instance.get_distinct_id(),this._instance.sessionManager)),$e(this.Do)&&((o=ot.__PosthogExtensions__)==null||(o=o.tracingHeadersPatchFns)==null||o._patchFetch(a,this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=t}initialize(){this.startIfEnabledOrStop()}ur(t){var e,o;(e=ot.__PosthogExtensions__)!=null&&e.tracingHeadersPatchFns&&t(),(o=ot.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"tracing-headers",(a=>{if(a)return Fce.error("failed to load script",a);t()}))}Bo(){var t;return(t=this._instance.config.addTracingHeaders)!==null&&t!==void 0?t:this._instance.config.__add_tracing_headers}startIfEnabledOrStop(){var t,e;this.Bo()?this.ur(this.so):((t=this.Lo)==null||t.call(this),(e=this.Do)==null||e.call(this),this.Lo=void 0,this.Do=void 0)}}},Jce=Me({surveys:class{get Bt(){return this._instance.config}constructor(t){this.jo=void 0,this._surveyManager=null,this.$o=!1,this.qo=[],this.Zo=null,this._instance=t,this._surveyEventReceiver=null}initialize(){this.loadIfEnabled()}onRemoteConfig(t){if(!this.Bt.disable_surveys){var e=t.surveys;if(_t(e))return oo.warn("Flags not loaded yet. Not loading surveys.");var o=It(e);this.jo=o?e.length>0:e,oo.info("flags response received, isSurveysEnabled: "+this.jo),this.loadIfEnabled()}}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var t=[],e=0;e<localStorage.length;e++){var o=localStorage.key(e);(o!=null&&o.startsWith(E0)||o!=null&&o.startsWith("inProgressSurvey_"))&&t.push(o)}t.forEach((a=>localStorage.removeItem(a)))}loadIfEnabled(){if(!this._surveyManager)if(this.$o)oo.info("Already initializing surveys, skipping...");else if(this.Bt.disable_surveys)oo.info(Q2);else if(this.Bt.cookieless_mode&&this._instance.consent.isOptedOut())oo.info("Not loading surveys in cookieless mode without consent.");else{var t=ot?.__PosthogExtensions__;if(t){if(!$e(this.jo)||this.Bt.advanced_enable_surveys){var e=this.jo||this.Bt.advanced_enable_surveys;this.$o=!0;try{var o=t.generateSurveys;if(o)return void this.Vo(o,e);var a=t.loadExternalDependency;if(!a)return void this.Ho(FE);a(this._instance,"surveys",(n=>{n||!t.generateSurveys?this.Ho("Could not load surveys script",n):this.Vo(t.generateSurveys,e)}))}catch(n){throw this.Ho("Error initializing surveys",n),n}finally{this.$o=!1}}}else oo.error("PostHog Extensions not found.")}}Vo(t,e){this._surveyManager=t(this._instance,e),this._surveyEventReceiver=new $ce(this._instance),oo.info("Surveys loaded successfully"),this.zo({isLoaded:!0})}Ho(t,e){oo.error(t,e),this.zo({isLoaded:!1,error:t})}onSurveysLoaded(t){return this.qo.push(t),this._surveyManager&&this.zo({isLoaded:!0}),()=>{this.qo=this.qo.filter((e=>e!==t))}}getSurveys(t,e){if(e===void 0&&(e=!1),this.Bt.disable_surveys)return oo.info(Q2),t([]);var o,a=this._instance.get_property(d0);if(a&&!e)return t(a,{isLoaded:!0});typeof Promise<"u"&&this.Zo?this.Zo.then((n=>{var{surveys:r,context:i}=n;return t(r,i)})):(typeof Promise<"u"&&(this.Zo=new Promise((n=>{o=n}))),this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this.Bt.token),method:"GET",timeout:this.Bt.surveys_request_timeout_ms,callback:n=>{var r;this.Zo=null;var i=n.statusCode;if(i!==200||!n.json){var c="Surveys API could not be loaded, status: "+i;oo.error(c);var d={isLoaded:!1,error:c};return t([],d),void(o==null||o({surveys:[],context:d}))}var u,m=n.json.surveys||[],h=m.filter((v=>(function(b){return!(!b.start_date||b.end_date)})(v)&&((function(b){var S;return!((S=b.conditions)==null||(S=S.events)==null||(S=S.values)==null||!S.length)})(v)||(function(b){var S;return!((S=b.conditions)==null||(S=S.actions)==null||(S=S.values)==null||!S.length)})(v))));h.length>0&&((u=this._surveyEventReceiver)==null||u.register(h)),(r=this._instance.persistence)==null||r.register({[d0]:m});var f={isLoaded:!0};t(m,f),o?.({surveys:m,context:f})}}))}zo(t){for(var e of this.qo)try{if(!t.isLoaded)return e([],t);this.getSurveys(e)}catch(o){oo.error("Error in survey callback",o)}}getActiveMatchingSurveys(t,e){if(e===void 0&&(e=!1),!_t(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(t,e);oo.warn("init was not called")}Uo(t){var e=null;return this.getSurveys((o=>{var a;e=(a=o.find((n=>n.id===t)))!==null&&a!==void 0?a:null})),e}Yo(t){if(_t(this._surveyManager))return{eligible:!1,reason:ux};var e=typeof t=="string"?this.Uo(t):t;return e?this._surveyManager.checkSurveyEligibility(e):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(t){if(_t(this._surveyManager))return oo.warn("init was not called"),{visible:!1,disabledReason:ux};var e=this.Yo(t);return{visible:e.eligible,disabledReason:e.reason}}canRenderSurveyAsync(t,e){return _t(this._surveyManager)?(oo.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:ux})):new Promise((o=>{this.getSurveys((a=>{var n,r=(n=a.find((c=>c.id===t)))!==null&&n!==void 0?n:null;if(r){var i=this.Yo(r);o({visible:i.eligible,disabledReason:i.reason})}else o({visible:!1,disabledReason:"Survey not found"})}),e)}))}renderSurvey(t,e,o){var a;if(_t(this._surveyManager))oo.warn("init was not called");else{var n=typeof t=="string"?this.Uo(t):t;if(n!=null&&n.id)if(Tce.includes(n.type)){var r=ze?.querySelector(e);if(r)return(a=n.appearance)!=null&&a.surveyPopupDelaySeconds?(oo.info("Rendering survey "+n.id+" with delay of "+n.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout((()=>{var i,c;oo.info("Rendering survey "+n.id+" with delay of "+((i=n.appearance)==null?void 0:i.surveyPopupDelaySeconds)+" seconds"),(c=this._surveyManager)==null||c.renderSurvey(n,r,o),oo.info("Survey "+n.id+" rendered")}),1e3*n.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(n,r,o);oo.warn("Survey element not found")}else oo.warn("Surveys of type "+n.type+" cannot be rendered in the app");else oo.warn("Survey not found")}}displaySurvey(t,e){var o;if(_t(this._surveyManager))oo.warn("init was not called");else{var a=this.Uo(t);if(a){var n=a;if((o=a.appearance)!=null&&o.surveyPopupDelaySeconds&&e.ignoreDelay&&(n=Me({},a,{appearance:Me({},a.appearance,{surveyPopupDelaySeconds:0})})),e.displayType!==y0.Popover&&e.initialResponses&&oo.warn("initialResponses is only supported for popover surveys. prefill will not be applied."),e.ignoreConditions===!1){var r=this.canRenderSurvey(a);if(!r.visible)return void oo.warn("Survey is not eligible to be displayed: ",r.disabledReason)}e.displayType!==y0.Inline?this._surveyManager.handlePopoverSurvey(n,e):this.renderSurvey(n,e.selector,e.properties)}else oo.warn("Survey not found")}}cancelPendingSurvey(t){_t(this._surveyManager)?oo.warn("init was not called"):this._surveyManager.cancelSurvey(t)}handlePageUnload(){var t;(t=this._surveyManager)==null||t.handlePageUnload()}}},wb),Xce={toolbar:class{constructor(t){this.instance=t}Go(t){ot.ph_toolbar_state=t}Wo(){var t;return(t=ot.ph_toolbar_state)!==null&&t!==void 0?t:0}initialize(){return this.maybeLoadToolbar()}maybeLoadToolbar(t,e,o){if(t===void 0&&(t=void 0),e===void 0&&(e=void 0),o===void 0&&(o=void 0),e4(this.instance.config)||!ge||!ze)return!1;t=t??ge.location,o=o??ge.history;try{if(!e){try{ge.localStorage.setItem("test","test"),ge.localStorage.removeItem("test")}catch{return!1}e=ge?.localStorage}var a,n=Vce||Ev(t.hash,"__posthog")||Ev(t.hash,"state"),r=n?m2((()=>JSON.parse(atob(decodeURIComponent(n)))))||m2((()=>JSON.parse(decodeURIComponent(n)))):null;return r&&r.action==="ph_authorize"?((a=r).source="url",a&&Object.keys(a).length>0&&(r.desiredHash?t.hash=r.desiredHash:o?o.replaceState(o.state,"",t.pathname+t.search):t.hash="")):((a=JSON.parse(e.getItem(J2)||"{}")).source="localstorage",delete a.userIntent),!(!a.token||this.instance.config.token!==a.token||(this.loadToolbar(a),0))}catch{return!1}}Xo(t){var e=ot.ph_load_toolbar||ot.ph_load_editor;!_t(e)&&As(e)?e(t,this.instance):X2.warn("No toolbar load function found")}loadToolbar(t){var e=!(ze==null||!ze.getElementById(Z3));if(!ge||e)return!1;var o=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,a=Me({token:this.instance.config.token},t,{apiURL:this.instance.requestRouter.endpointFor("ui")},o?{instrument:!1}:{});if(ge.localStorage.setItem(J2,JSON.stringify(Me({},a,{source:void 0}))),this.Wo()===2)this.Xo(a);else if(this.Wo()===0){var n;this.Go(1),(n=ot.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this.instance,"toolbar",(r=>{if(r)return X2.error("[Toolbar] Failed to load",r),void this.Go(0);this.Go(2),this.Xo(a)})),Xo(ge,"turbolinks:load",(()=>{this.Go(0),this.loadToolbar(a)}))}return!0}Jo(t){return this.loadToolbar(t)}maybeLoadEditor(t,e,o){return t===void 0&&(t=void 0),e===void 0&&(e=void 0),o===void 0&&(o=void 0),this.maybeLoadToolbar(t,e,o)}}},ede=Me({experiments:La},wb),tde={conversations:class{constructor(t){this.Ko=void 0,this._conversationsManager=null,this.Qo=!1,this.ea=null,this._instance=t}initialize(){this.loadIfEnabled()}onRemoteConfig(t){if(!this._instance.config.disable_conversations){var e=t.conversations;_t(e)||(Kr(e)?this.Ko=e:(this.Ko=e.enabled,this.ea=e),this.loadIfEnabled())}}reset(){var t;(t=this._conversationsManager)==null||t.reset(),this._conversationsManager=null,this.Ko=void 0,this.ea=null}loadIfEnabled(){if(!(this._conversationsManager||this.Qo||this._instance.config.disable_conversations||e4(this._instance.config)||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var t=ot?.__PosthogExtensions__;if(t&&!$e(this.Ko)&&this.Ko)if(this.ea&&this.ea.token){this.Qo=!0;try{var e=t.initConversations;if(e)return this.ta(e),void(this.Qo=!1);var o=t.loadExternalDependency;if(!o)return void this.ra(FE);o(this._instance,"conversations",(a=>{a||!t.initConversations?this.ra("Could not load conversations script",a):this.ta(t.initConversations),this.Qo=!1}))}catch(a){this.ra("Error initializing conversations",a),this.Qo=!1}}else Zn.error("Conversations enabled but missing token in remote config.")}}ta(t){if(this.ea)try{this._conversationsManager=t(this.ea,this._instance),Zn.info("Conversations loaded successfully")}catch(e){this.ra("Error completing conversations initialization",e)}else Zn.error("Cannot complete initialization: remote config is null")}ra(t,e){Zn.error(t,e),this._conversationsManager=null,this.Qo=!1}show(){this._conversationsManager?this._conversationsManager.show():Zn.warn("Conversations not loaded yet.")}hide(){this._conversationsManager&&this._conversationsManager.hide()}isAvailable(){return this.Ko===!0&&!zs(this._conversationsManager)}isVisible(){var t,e;return(t=(e=this._conversationsManager)==null?void 0:e.isVisible())!==null&&t!==void 0&&t}sendMessage(t,e,o){var a=this;return er((function*(){return a._conversationsManager?a._conversationsManager.sendMessage(t,e,o):(Zn.warn(Cl),null)}))()}getMessages(t,e){var o=this;return er((function*(){return o._conversationsManager?o._conversationsManager.getMessages(t,e):(Zn.warn(Cl),null)}))()}markAsRead(t){var e=this;return er((function*(){return e._conversationsManager?e._conversationsManager.markAsRead(t):(Zn.warn(Cl),null)}))()}getTickets(t){var e=this;return er((function*(){return e._conversationsManager?e._conversationsManager.getTickets(t):(Zn.warn(Cl),null)}))()}requestRestoreLink(t){var e=this;return er((function*(){return e._conversationsManager?e._conversationsManager.requestRestoreLink(t):(Zn.warn(Cl),null)}))()}restoreFromToken(t){var e=this;return er((function*(){return e._conversationsManager?e._conversationsManager.restoreFromToken(t):(Zn.warn(Cl),null)}))()}restoreFromUrlToken(){var t=this;return er((function*(){return t._conversationsManager?t._conversationsManager.restoreFromUrlToken():(Zn.warn(Cl),null)}))()}getCurrentTicketId(){var t,e;return(t=(e=this._conversationsManager)==null?void 0:e.getCurrentTicketId())!==null&&t!==void 0?t:null}getWidgetSessionId(){var t,e;return(t=(e=this._conversationsManager)==null?void 0:e.getWidgetSessionId())!==null&&t!==void 0?t:null}un(){var t;(t=this._conversationsManager)==null||t.setIdentity()}hn(){var t;(t=this._conversationsManager)==null||t.clearIdentity()}}},ode={logs:class{constructor(t){var e;this.ia=!1,this.na=!1,this.Gt=ko("[logs]"),this.sa=[],this.oa=0,this.aa=0,this.la=!1,this._instance=t,this._instance&&(e=this._instance.config.logs)!=null&&e.captureConsoleLogs&&(this.ia=!0)}initialize(){this.loadIfEnabled()}onRemoteConfig(t){var e,o=(e=t.logs)==null?void 0:e.captureConsoleLogs;!_t(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 t=ot?.__PosthogExtensions__;if(t){var e=t.loadExternalDependency;e?e(this._instance,"logs",(o=>{var a;o||(a=t.logs)==null||!a.initializeLogs?this.Gt.error("Could not load logs script",o):(t.logs.initializeLogs(this._instance),this.na=!0)})):this.Gt.error(FE)}else this.Gt.error("PostHog Extensions not found.")}}captureLog(t){var e,o,a,n,r,i;if(this._instance.is_capturing())if(t&&t.body){var c=(e=(o=this._instance.config.logs)==null?void 0:o.flushIntervalMs)!==null&&e!==void 0?e:3e3,d=(a=(n=this._instance.config.logs)==null?void 0:n.maxLogsPerInterval)!==null&&a!==void 0?a:1e3,u=Date.now();if(c>u-this.aa||(this.aa=u,this.oa=0,this.la=!1),d>this.oa){this.oa++;var m=(function(h,f){var v=h.level||"info",{text:b,number:S}=z3[v]||ble,T=String(Date.now())+"000000",x={};f.distinctId&&(x.posthogDistinctId=f.distinctId),f.sessionId&&(x.sessionId=f.sessionId),f.currentUrl&&(x["url.full"]=f.currentUrl),f.screenName&&(x["screen.name"]=f.screenName),f.appState&&(x["app.state"]=f.appState),f.activeFeatureFlags&&f.activeFeatureFlags.length>0&&(x.feature_flags=f.activeFeatureFlags);var k=Me({},x,h.attributes||{}),C={timeUnixNano:T,observedTimeUnixNano:T,severityNumber:S,severityText:b,body:{stringValue:h.body},attributes:d2(k)};return h.trace_id&&(C.traceId=h.trace_id),h.span_id&&(C.spanId=h.span_id),$e(h.trace_flags)||(C.flags=h.trace_flags),C})(t,this.ua());this.sa.push({record:m}),((r=(i=this._instance.config.logs)==null?void 0:i.maxBufferSize)!==null&&r!==void 0?r: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:(t,e)=>this.captureLog({body:t,level:"trace",attributes:e}),debug:(t,e)=>this.captureLog({body:t,level:"debug",attributes:e}),info:(t,e)=>this.captureLog({body:t,level:"info",attributes:e}),warn:(t,e)=>this.captureLog({body:t,level:"warn",attributes:e}),error:(t,e)=>this.captureLog({body:t,level:"error",attributes:e}),fatal:(t,e)=>this.captureLog({body:t,level:"fatal",attributes:e})}),this.ca}flushLogs(t){if(this.jr&&(clearTimeout(this.jr),this.jr=void 0),this.sa.length!==0){var e=this.sa;this.sa=[];var o=this._instance.config.logs,a=Me({"service.name":o?.serviceName||"unknown_service"},o?.environment&&{"deployment.environment":o.environment},o?.serviceVersion&&{"service.version":o.serviceVersion},o?.resourceAttributes),n=(function(i,c,d,u){return{resourceLogs:[{resource:{attributes:d2(c)},scopeLogs:[{scope:{name:d,version:u},logRecords:i}]}]}})(e.map((i=>i.record)),a,Qa.LIB_NAME,Qa.LIB_VERSION),r=this._instance.requestRouter.endpointFor("api","/i/v1/logs")+"?token="+encodeURIComponent(this._instance.config.token);this._instance.Vi({method:"POST",url:r,data:n,compression:"best-available",batchKey:"logs",transport:t})}}ha(){var t,e;this.jr||(this.jr=setTimeout((()=>{this.jr=void 0,this.flushLogs()}),(t=(e=this._instance.config.logs)==null?void 0:e.flushIntervalMs)!==null&&t!==void 0?t:3e3))}ua(){var t,e={};if(e.distinctId=this._instance.get_distinct_id(),this._instance.sessionManager){var{sessionId:o}=this._instance.sessionManager.checkAndGetSessionAndWindowId(!0);e.sessionId=o}if(ot!=null&&(t=ot.location)!=null&&t.href&&(e.currentUrl=ot.location.href),this._instance.featureFlags){var a=this._instance.featureFlags.getFlags();a&&a.length>0&&(e.activeFeatureFlags=a)}return e}}},ade=Me({},wb,Gce,Wce,Kce,Yce,Zce,Jce,Qce,Xce,ede,tde,ode);tr.__defaultExtensionClasses=Me({},ade);var aN,qs=(aN=Ap[dd]=new tr,(function(){function t(){t.done||(t.done=!0,x4=!1,yo(Ap,(function(e){e._dom_loaded()})))}ze!=null&&ze.addEventListener?ze.readyState==="complete"?t():Xo(ze,"DOMContentLoaded",t,{capture:!1}):ge&&Ue.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")})(),aN);let Is=!1,R0=null,nN=!1;const HE="studio:lp-distinct-id",D4="mesh:lp-distinct-id",mx="/api/_reports/link-token/",nde=1440*60*1e3;function O4(t){const e="https://analytics.invalid",o=/^[a-z][a-z\d+.-]*:\/\//i.test(t),a=t.startsWith("//");try{const n=new URL(t,e);let r=!1;for(const i of["key","d"])n.searchParams.has(i)&&(n.searchParams.delete(i),r=!0);return n.pathname.startsWith(mx)&&n.pathname!==mx&&(n.pathname=`${mx}redacted`,r=!0),r?o?n.toString():a?`//${n.host}${n.pathname}${n.search}${n.hash}`:`${n.pathname}${n.search}${n.hash}`:t}catch{return t}}function hx(t){return Object.fromEntries(Object.entries(t).map(([e,o])=>[e,typeof o=="string"?O4(o):o]))}const rde=t=>t?(t.properties=hx(t.properties),t.$set&&(t.$set=hx(t.$set)),t.$set_once&&(t.$set_once=hx(t.$set_once)),t):null;function N4(){try{const t=window.localStorage.getItem(HE)??window.localStorage.getItem(D4);if(!t)return;const{id:e,ts:o}=JSON.parse(t);return typeof e!="string"||!e||typeof o!="number"?void 0:Date.now()-o<=nde?e:void 0}catch{return}}function sde(){try{window.localStorage.removeItem(HE),window.localStorage.removeItem(D4)}catch{}}function ide(){try{const t=new URL(window.location.href),e=t.searchParams.get("ph_did");e&&(window.localStorage.setItem(HE,JSON.stringify({id:e,ts:Date.now()})),t.searchParams.delete("ph_did"),window.history.replaceState(window.history.state,"",t.toString()));const o=e??N4();return o?Object.keys(window.localStorage).some(n=>n.startsWith("ph_")&&n.endsWith("_posthog"))?void 0:o:void 0}catch{return}}function lde(t){const e=N4();if(e&&(sde(),e!==t))try{qs.alias(e)}catch{}}function cde(t,e){if(Is||typeof window>"u")return;const o=ide();qs.init(t,{api_host:e,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:rde,capture_performance:{web_vitals:!0,network_timing:!0},capture_exceptions:!0,session_recording:{maskAllInputs:!0,blockClass:"ph-no-capture",maskCapturedNetworkRequestFn:a=>({...a,...typeof a.name=="string"?{name:O4(a.name)}:{}})},person_profiles:"identified_only"}),Is=!0}function dde(t,e){Is&&(qs.identify(t,e),lde(t))}function ude(){Is&&(qs.reset(),R0=null)}function M4(t,e){Is&&qs.capture(t,e)}function jTe(){return Is}function zTe(){if(!Is||nN||typeof performance>"u")return;nN=!0;const t=performance.getEntriesByType("navigation")[0],e=o=>{const a=performance.getEntriesByName(o,"measure")[0];return a?Math.round(a.duration):void 0};M4("perf_app_bootstrap",{nav_type:t?.type,ttfb_ms:t?Math.round(t.responseStart):void 0,dom_interactive_ms:t?Math.round(t.domInteractive):void 0,dom_content_loaded_ms:t?Math.round(t.domContentLoadedEventEnd):void 0,config_fetch_ms:e("studio:config-fetch"),active_org_fetch_ms:e("studio:active-org-fetch"),time_to_shell_ms:Math.round(performance.now()),cache_restored:RJ(),org_cache_restored:DJ()})}function qTe(t,e){Is&&t!==R0&&(qs.group("organization",t,e),R0=t)}function I4(t,e){if(Is)try{qs.captureException(t,e)}catch{}}const pde=["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 mde(t){const e=ye.c(3),{children:o}=t;let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=y.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:pde}}),e[0]=a):a=e[0];let n;return e[1]!==o?(n=y.jsxs("div",{className:"relative flex items-center justify-center min-h-screen bg-background overflow-hidden",children:[a,y.jsx("div",{className:"relative flex flex-col items-center text-center space-y-4 max-w-sm px-6",children:o})]}),e[1]=o,e[2]=n):n=e[2],n}function L4(t){const e=ye.c(20),{orgName:o}=t,a=Ua(),n=hde;let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r=y.jsx("div",{className:"bg-muted p-3 rounded-full","aria-hidden":"true",children:y.jsx(Jj,{className:"h-6 w-6 text-muted-foreground"})}),e[0]=r):r=e[0];let i;e[1]!==a?(i=a("common.archivedOrgScreen.orgUnavailable"),e[1]=a,e[2]=i):i=e[2];let c;e[3]!==i?(c=y.jsx("h3",{className:"text-lg font-medium",children:i}),e[3]=i,e[4]=c):c=e[4];let d;e[5]!==o||e[6]!==a?(d=o?a("common.archivedOrgScreen.deletedWithName",{orgName:o}):a("common.archivedOrgScreen.deletedGeneric"),e[5]=o,e[6]=a,e[7]=d):d=e[7];let u;e[8]!==d?(u=y.jsx("p",{className:"text-sm text-muted-foreground",children:d}),e[8]=d,e[9]=u):u=e[9];let m;e[10]!==c||e[11]!==u?(m=y.jsxs("div",{className:"space-y-2",children:[c,u]}),e[10]=c,e[11]=u,e[12]=m):m=e[12];let h;e[13]!==a?(h=a("common.goHome"),e[13]=a,e[14]=h):h=e[14];let f;e[15]!==h?(f=y.jsx(bn,{onClick:n,children:h}),e[15]=h,e[16]=f):f=e[16];let v;return e[17]!==m||e[18]!==f?(v=y.jsxs(mde,{children:[r,m,f]}),e[17]=m,e[18]=f,e[19]=v):v=e[19],v}function hde(){window.location.href="/"}function gde(){const t=ye.c(3);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={from:"/shell/$org"},t[0]=e):e=t[0];const{org:o}=sm(e);let a;return t[1]!==o?(a=y.jsx(bn,{variant:"outline",size:"sm",asChild:!0,children:y.jsx(Wl,{to:"/$org/settings/profile",params:{org:o},children:"Go to your profile"})}),t[1]=o,t[2]=a):a=t[2],a}function fde(t){const e=ye.c(13),{area:o,description:a,action:n}=t,r=o?`No access to ${o}`:"No access",i=a??"Your role doesn't include permission for this section. Ask an organization admin to update your role if you need it.";let c;e[0]===Symbol.for("react.memo_cache_sentinel")?(c=y.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted text-muted-foreground",children:y.jsx(i3,{size:28})}),e[0]=c):c=e[0];let d;e[1]!==r?(d=y.jsx("h3",{className:"text-lg font-medium",children:r}),e[1]=r,e[2]=d):d=e[2];let u;e[3]!==i?(u=y.jsx("p",{className:"mx-auto max-w-sm text-sm text-muted-foreground",children:i}),e[3]=i,e[4]=u):u=e[4];let m;e[5]!==d||e[6]!==u?(m=y.jsxs("div",{className:"space-y-1",children:[d,u]}),e[5]=d,e[6]=u,e[7]=m):m=e[7];let h;e[8]!==n?(h=n??y.jsx(gde,{}),e[8]=n,e[9]=h):h=e[9];let f;return e[10]!==m||e[11]!==h?(f=y.jsxs("div",{className:"flex h-full min-h-[60vh] flex-1 flex-col items-center justify-center gap-4 p-6 text-center",children:[c,m,h]}),e[10]=m,e[11]=h,e[12]=f):f=e[12],f}const rN="__studio_chunk_reload_ts";function B4(t){return t?.message===ree}function vde(t){return!!t?.message?.includes("Access denied")}function sN(t){if(!t)return!1;const e=t.message||"";return e.includes("Failed to fetch dynamically imported module")||e.includes("Importing a module script failed")||e.includes("error loading dynamically imported module")||e.includes("Failed to fetch")&&t.name==="TypeError"}class bde extends A.Component{state={hasError:!1,error:null};static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,o){console.error("Uncaught error:",e,o),I4(e,{boundary:"default",error_name:e.name,error_message:e.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:e,t:o}=this.props;return typeof e=="function"?e({error:this.state.error,resetError:this.resetError}):e!==void 0?e:B4(this.state.error)?y.jsx(L4,{}):vde(this.state.error)?y.jsx(fde,{}):y.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[y.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:y.jsx(PE,{className:"h-6 w-6 text-destructive"})}),y.jsxs("div",{className:"space-y-2",children:[y.jsx("h3",{className:"text-lg font-medium",children:o("common.errorBoundary.somethingWentWrong")}),y.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||o("common.errorBoundary.unexpectedError")})]}),y.jsx(bn,{variant:"outline",onClick:this.resetError,children:o("common.errorBoundary.tryAgain")})]})}return this.props.children}}function yde(t){const e=ye.c(3),o=Ua();let a;return e[0]!==t||e[1]!==o?(a=y.jsx(bde,{...t,t:o}),e[0]=t,e[1]=o,e[2]=a):a=e[2],a}class Sde extends A.Component{state={hasError:!1,error:null};static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,o){console.error("Uncaught error:",e,o);const a=sN(e);if(I4(e,{boundary:"chunk_root",is_chunk_load_error:a,error_name:e.name,error_message:e.message,component_stack:o.componentStack??null,route:typeof window<"u"?window.location.pathname:null}),!a)return;const n=sessionStorage.getItem(rN),r=Date.now();(!n||r-Number(n)>1e4)&&(sessionStorage.setItem(rN,String(r)),window.location.reload())}render(){const{t:e}=this.props;return this.state.hasError&&sN(this.state.error)?y.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[y.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:y.jsx(l3,{className:"h-6 w-6 text-primary"})}),y.jsxs("div",{className:"space-y-2",children:[y.jsx("h3",{className:"text-lg font-medium",children:e("common.errorBoundary.newVersionAvailable")}),y.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:e("common.errorBoundary.newVersionDeployed")})]}),y.jsx(bn,{onClick:()=>window.location.reload(),children:e("common.errorBoundary.refresh")})]}):this.state.hasError?B4(this.state.error)?y.jsx(L4,{}):y.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[y.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:y.jsx(PE,{className:"h-6 w-6 text-destructive"})}),y.jsxs("div",{className:"space-y-2",children:[y.jsx("h3",{className:"text-lg font-medium",children:e("common.errorBoundary.somethingWentWrong")}),y.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||e("common.errorBoundary.unexpectedError")})]}),y.jsx(bn,{variant:"outline",onClick:()=>this.setState({hasError:!1,error:null}),children:e("common.errorBoundary.tryAgain")})]}):this.props.children}}function wde(t){const e=ye.c(3),o=Ua();let a;return e[0]!==t||e[1]!==o?(a=y.jsx(Sde,{...t,t:o}),e[0]=t,e[1]=o,e[2]=a):a=e[2],a}const xde=Ql("surface flex flex-col gap-4",{variants:{size:{default:"p-5",tile:"gap-3 p-4",flush:"p-0"},interactive:{true:"surface-interactive focus-ring cursor-pointer text-left",false:""}},defaultVariants:{size:"default",interactive:!1}});function Tde(t){const e=ye.c(14);let o,a,n,r,i;e[0]!==t?({className:o,size:r,interactive:a,asChild:i,...n}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n,e[4]=r,e[5]=i):(o=e[1],a=e[2],n=e[3],r=e[4],i=e[5]);const d=(i===void 0?!1:i)?lb:"div";let u;e[6]!==o||e[7]!==a||e[8]!==r?(u=Ze(xde({size:r,interactive:a}),o),e[6]=o,e[7]=a,e[8]=r,e[9]=u):u=e[9];let m;return e[10]!==d||e[11]!==n||e[12]!==u?(m=y.jsx(d,{"data-slot":"card",className:u,...n}),e[10]=d,e[11]=n,e[12]=u,e[13]=m):m=e[13],m}function UTe(t){const e=ye.c(11),{title:o,description:a,docsHref:n,actions:r,className:i,children:c}=t;let d;e[0]!==i?(d=Ze("flex flex-col gap-3",i),e[0]=i,e[1]=d):d=e[1];let u;e[2]!==r||e[3]!==a||e[4]!==n||e[5]!==o?(u=(o||a||n||r)&&y.jsxs("div",{className:"flex items-center justify-between gap-3 px-4",children:[y.jsxs("div",{className:"flex flex-col gap-1 min-w-0",children:[o&&y.jsx("h2",{className:"text-base font-medium leading-tight",children:o}),(a||n)&&y.jsxs("p",{className:"text-sm text-muted-foreground leading-snug",children:[a,n&&y.jsxs("a",{href:n,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-0.5 ml-1 text-foreground hover:underline",children:["Docs ",y.jsx(Xj,{size:12})]})]})]}),r&&y.jsx("div",{className:"shrink-0",children:r})]}),e[2]=r,e[3]=a,e[4]=n,e[5]=o,e[6]=u):u=e[6];let m;return e[7]!==c||e[8]!==d||e[9]!==u?(m=y.jsxs("section",{className:d,children:[u,c]}),e[7]=c,e[8]=d,e[9]=u,e[10]=m):m=e[10],m}function $Te(t){const e=ye.c(11),{className:o,children:a}=t;let n,r,i;if(e[0]!==a||e[1]!==o){const d=A.Children.toArray(a).filter(A.isValidElement);n=Tde,e[5]!==o?(r=Ze("p-0 gap-0 overflow-hidden",o),e[5]=o,e[6]=r):r=e[6],i=d.map(kde),e[0]=a,e[1]=o,e[2]=n,e[3]=r,e[4]=i}else n=e[2],r=e[3],i=e[4];let c;return e[7]!==n||e[8]!==r||e[9]!==i?(c=y.jsx(n,{className:r,children:i}),e[7]=n,e[8]=r,e[9]=i,e[10]=c):c=e[10],c}function kde(t,e){return y.jsxs("div",{children:[e>0&&y.jsx("div",{className:"h-px bg-border mx-5"}),t]},e)}function VTe(t){const e=ye.c(27),{icon:o,title:a,description:n,action:r,onClick:i,className:c,children:d}=t,u=d?"flex items-start gap-3 px-4 py-4":"flex items-center gap-3 px-4 py-4",m=i&&"hover:bg-accent cursor-pointer";let h;e[0]!==c||e[1]!==u||e[2]!==m?(h=Ze(u,m,c),e[0]=c,e[1]=u,e[2]=m,e[3]=h):h=e[3];const f=i?"button":void 0,v=i?0:void 0;let b;e[4]!==i?(b=i?P=>{P.target===P.currentTarget&&(P.key==="Enter"||P.key===" ")&&(P.preventDefault(),i())}:void 0,e[4]=i,e[5]=b):b=e[5];let S;e[6]!==o?(S=o&&y.jsx("div",{className:"size-8 shrink-0 rounded-lg bg-muted/60 flex items-center justify-center text-muted-foreground",children:o}),e[6]=o,e[7]=S):S=e[7];let T;e[8]!==a?(T=y.jsx("div",{className:"text-sm font-medium",children:a}),e[8]=a,e[9]=T):T=e[9];let x;e[10]!==n?(x=n&&y.jsx("p",{className:"text-xs text-muted-foreground mt-0.5 leading-relaxed",children:n}),e[10]=n,e[11]=x):x=e[11];let k;e[12]!==d||e[13]!==T||e[14]!==x?(k=y.jsxs("div",{className:"flex-1 min-w-0",children:[T,x,d]}),e[12]=d,e[13]=T,e[14]=x,e[15]=k):k=e[15];let C;e[16]!==r?(C=r&&y.jsx("div",{className:"shrink-0",onClick:Ede,children:r}),e[16]=r,e[17]=C):C=e[17];let E;return e[18]!==i||e[19]!==k||e[20]!==C||e[21]!==h||e[22]!==f||e[23]!==v||e[24]!==b||e[25]!==S?(E=y.jsxs("div",{className:h,onClick:i,role:f,tabIndex:v,onKeyDown:b,children:[S,k,C]}),e[18]=i,e[19]=k,e[20]=C,e[21]=h,e[22]=f,e[23]=v,e[24]=b,e[25]=S,e[26]=E):E=e[26],E}function Ede(t){return t.stopPropagation()}function HTe(t){const e=ye.c(5),{className:o,children:a}=t;let n;e[0]!==o?(n=Ze("px-4 py-4",o),e[0]=o,e[1]=n):n=e[1];let r;return e[2]!==a||e[3]!==n?(r=y.jsx("div",{className:n,children:a}),e[2]=a,e[3]=n,e[4]=r):r=e[4],r}function GTe(t){const e=ye.c(5),{children:o,className:a}=t;let n;e[0]!==a?(n=Ze("flex items-center justify-end gap-2 px-4 py-4",a),e[0]=a,e[1]=n):n=e[1];let r;return e[2]!==o||e[3]!==n?(r=y.jsx("div",{className:n,children:o}),e[2]=o,e[3]=n,e[4]=r):r=e[4],r}function Cde(t){const e=ye.c(5),{className:o,children:a}=t;let n;e[0]!==o?(n=Ze("flex flex-col gap-10",o),e[0]=o,e[1]=n):n=e[1];let r;return e[2]!==a||e[3]!==n?(r=y.jsx("div",{className:n,children:a}),e[2]=a,e[3]=n,e[4]=r):r=e[4],r}const xb={connect:{key:"connect",titleKey:"settings.connectClients.pageTitle",tabs:[],ownedRoutes:["/$org/settings/api-keys"]},members:{key:"members",titleKey:"orgs.members.title",tabs:[{key:"members",icon:p3,labelKey:"orgs.members.title",to:"/$org/settings/members",requires:"members:manage"},{key:"roles",icon:d3,labelKey:"settings.roles.pageTitle",to:"/$org/settings/roles",privilegedOnly:!0}]},billing:{key:"billing",titleKey:"settings.nav.billing",tabs:[{key:"ai-providers",icon:o3,labelKey:"settings.nav.aiProviders",to:"/$org/settings/ai-providers",requires:"ai-providers:manage"},{key:"infra",icon:c3,labelKey:"settings.subnav.infrastructure",to:"/$org/settings/infra-billing",requires:"members:manage",requiresOwnedSites:!0}]},repositories:{key:"repositories",titleKey:"settings.nav.repositories",tabs:[],ownedRoutes:["/$org/settings/repositories"]},storage:{key:"storage",titleKey:"settings.nav.storage",tabs:[{key:"buckets",icon:r3,labelKey:"settings.nav.buckets",to:"/$org/settings/buckets",requires:"file-configs:manage"},{key:"synced-repos",icon:n3,labelKey:"settings.nav.syncedRepos",to:"/$org/settings/synced-repos",requires:"file-configs:manage"}]}};function WTe(t){const e=xb[t];return[...e.tabs.map(o=>o.to),...e.ownedRoutes??[]]}function KTe(t){return xb[t].tabs.length>0}const _de=new Set(["owner","admin"]);function F4(){const t=ye.c(11),{org:e,locator:o}=Yi();let a;t[0]!==o?(a=no.myCapabilities(o),t[0]=o,t[1]=a):a=t[1];let n;t[2]!==e?(n=async()=>{const m=await fetch(`/api/auth/custom/my-capabilities/${encodeURIComponent(e.slug)}`,{credentials:"include"});if(!m.ok)throw new Error(`my-capabilities request failed: ${m.status}`);return await m.json()},t[2]=e,t[3]=n):n=t[3];let r;t[4]!==a||t[5]!==n?(r={queryKey:a,queryFn:n,staleTime:3e4,retry:2},t[4]=a,t[5]=n,t[6]=r):r=t[6];const{data:i,isLoading:c,isError:d}=Ls(r);let u;return t[7]!==i||t[8]!==d||t[9]!==c?(u={data:i,loading:c,error:d},t[7]=i,t[8]=d,t[9]=c,t[10]=u):u=t[10],u}function YTe(t){const e=ye.c(8),{data:o,loading:a,error:n}=F4();if(a){let u;return e[0]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!1,loading:!0,error:!1,reason:"loading"},e[0]=u):u=e[0],u}if(n){let u;return e[1]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!1,loading:!1,error:!0,reason:"error"},e[1]=u):u=e[1],u}const r=o?.role??null;if(!r){let u;return e[2]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!1,loading:!1,error:!1,reason:"denied"},e[2]=u):u=e[2],u}if(r==="owner"){let u;return e[3]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!0,loading:!1,error:!1,reason:"owner"},e[3]=u):u=e[3],u}if(r==="admin"){let u;return e[4]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!0,loading:!1,error:!1,reason:"admin"},e[4]=u):u=e[4],u}const i=o?.capabilities?.[t]===!0,c=i?"role":"denied";let d;return e[5]!==i||e[6]!==c?(d={granted:i,loading:!1,error:!1,reason:c},e[5]=i,e[6]=c,e[7]=d):d=e[7],d}function j4(){const t=ye.c(10),{data:e,loading:o,error:a}=F4(),n=e?.role??void 0;let r;t[0]!==n?(r=n?_de.has(n):!1,t[0]=n,t[1]=r):r=t[1];const i=r;let c;t[2]!==e?.capabilities?(c=e?.capabilities??{},t[2]=e?.capabilities,t[3]=c):c=t[3];const d=c;let u;return t[4]!==a||t[5]!==i||t[6]!==o||t[7]!==n||t[8]!==d?(u={capabilities:d,loading:o,error:a,isPrivileged:i,roleSlug:n},t[4]=a,t[5]=i,t[6]=o,t[7]=n,t[8]=d,t[9]=u):u=t[9],u}function Pde(){const t=ye.c(13),{org:e}=Yi(),o=Yk(),{capabilities:a,isPrivileged:n}=j4(),r=n||!!a["members:manage"];let i;t[0]!==e.id?(i=no.infraBillingSites(e.id),t[0]=e.id,t[1]=i):i=t[1];const c=!!e.id&&r;let d;t[2]!==o?(d=()=>o.call("INFRA_BILLING_SITES_LIST",{}),t[2]=o,t[3]=d):d=t[3];let u;t[4]!==i||t[5]!==c||t[6]!==d?(u={queryKey:i,staleTime:3e5,enabled:c,queryFn:d},t[4]=i,t[5]=c,t[6]=d,t[7]=u):u=t[7];const{data:m,isLoading:h}=Ls(u);let f;t[8]!==m?.sites?(f=m?.sites.map(Ade)??[],t[8]=m?.sites,t[9]=f):f=t[9];let v;return t[10]!==h||t[11]!==f?(v={sites:f,isLoading:h},t[10]=h,t[11]=f,t[12]=v):v=t[12],v}function Ade(t){return t.slug}function ZTe(){const t=ye.c(7),e=Yk(),o=Ua();let a;t[0]!==e?(a=i=>e.call("INFRA_BILLING_PORTAL",{siteSlugs:i}),t[0]=e,t[1]=a):a=t[1];let n;t[2]!==o?(n=i=>Bd.error(o("settings.infraBilling.portalError",{message:i.message})),t[2]=o,t[3]=n):n=t[3];let r;return t[4]!==a||t[5]!==n?(r={mutationFn:a,onSuccess:Rde,onError:n},t[4]=a,t[5]=n,t[6]=r):r=t[6],Sf(r)}function Rde(t){const{url:e}=t;return window.open(e,"_blank","noopener,noreferrer")}function QTe(t,e){const o=ye.c(14),{org:a}=Yi(),n=Yk();let r,i,c;o[0]!==a.id||o[1]!==e||o[2]!==t?(r=[...t].sort(),c=Ls,i=no.infraBilling(a.id,r.join(","),e),o[0]=a.id,o[1]=e,o[2]=t,o[3]=r,o[4]=i,o[5]=c):(r=o[3],i=o[4],c=o[5]);const d=r.length>0;let u;o[6]!==e||o[7]!==r||o[8]!==n?(u=()=>n.call("INFRA_BILLING_GET",{siteSlugs:r,period:e}),o[6]=e,o[7]=r,o[8]=n,o[9]=u):u=o[9];let m;return o[10]!==i||o[11]!==d||o[12]!==u?(m={queryKey:i,enabled:d,staleTime:6e4,queryFn:u},o[10]=i,o[11]=d,o[12]=u,o[13]=m):m=o[13],c(m)}function Dde(){const t=ye.c(7),{capabilities:e,isPrivileged:o,loading:a,error:n}=j4(),{sites:r,isLoading:i}=Pde(),c=r.length>0;let d;if(t[0]!==e||t[1]!==n||t[2]!==o||t[3]!==a||t[4]!==c||t[5]!==i){const u=m=>m.requiresOwnedSites&&!c&&!i?!1:a||n?!0:m.privilegedOnly?o:m.requires?o||e[m.requires]:!0;d=Object.fromEntries(Object.values(xb).map(m=>[m.key,m.tabs.filter(u)])),t[0]=e,t[1]=n,t[2]=o,t[3]=a,t[4]=c,t[5]=i,t[6]=d}else d=t[6];return d}function Ode(t){const e=ye.c(16),{group:o}=t,a=Ua();let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={from:"/shell/$org"},e[0]=n):n=e[0];const{org:r}=sm(n);let i;e[1]===Symbol.for("react.memo_cache_sentinel")?(i={select:Nde},e[1]=i):i=e[1];const c=Sk(i),d=Dde()[o],{titleKey:u}=xb[o];let m;e[2]!==a||e[3]!==u?(m=a(u),e[2]=a,e[3]=u,e[4]=m):m=e[4];let h;e[5]!==m?(h=y.jsx(kd.Title,{children:m}),e[5]=m,e[6]=h):h=e[6];let f;e[7]!==o||e[8]!==r||e[9]!==c||e[10]!==a||e[11]!==d?(f=d.length>1&&y.jsx(pn.Toolbar.Left.Portal,{children:y.jsx(kd.Tabs,{"data-testid":"settings-subnav","aria-label":a("settings.subnav.ariaLabel"),children:d.map(b=>{const S=b.to.replace("$org",r),T=c===S||c.startsWith(`${S}/`);return y.jsx(kd.Tab,{active:T,asChild:!0,children:y.jsx(Wl,{to:b.to,params:{org:r},onClick:()=>M4("settings_subnav_clicked",{group_key:o,tab_key:b.key}),children:a(b.labelKey)})},b.key)})})}),e[7]=o,e[8]=r,e[9]=c,e[10]=a,e[11]=d,e[12]=f):f=e[12];let v;return e[13]!==h||e[14]!==f?(v=y.jsxs(y.Fragment,{children:[h,f]}),e[13]=h,e[14]=f,e[15]=v):v=e[15],v}function Nde(t){return t.location.pathname}function z4(){const t=ye.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=y.jsxs("div",{"data-testid":"settings-content-loading",className:"flex flex-col gap-4",children:[y.jsx(PO,{className:"h-32 w-full"}),y.jsx(PO,{className:"h-32 w-full"})]}),t[0]=e):e=t[0],e}function Mde(t){const e=ye.c(14),{group:o,fallback:a,errorFallback:n,className:r,children:i}=t;let c;e[0]!==o?(c=y.jsx(Ode,{group:o}),e[0]=o,e[1]=c):c=e[1];let d;e[2]!==a?(d=a??y.jsx(z4,{}),e[2]=a,e[3]=d):d=e[3];let u;e[4]!==i||e[5]!==d?(u=y.jsx(A.Suspense,{fallback:d,children:i}),e[4]=i,e[5]=d,e[6]=u):u=e[6];let m;e[7]!==n||e[8]!==u?(m=y.jsx(yde,{fallback:n,children:u}),e[7]=n,e[8]=u,e[9]=m):m=e[9];let h;return e[10]!==r||e[11]!==c||e[12]!==m?(h=y.jsx(kd,{children:y.jsx(kd.Content,{children:y.jsx(kd.Container,{children:y.jsxs(Cde,{className:r,children:[c,m]})})})}),e[10]=r,e[11]=c,e[12]=m,e[13]=h):h=e[13],h}function Us(t){return function(){return y.jsx(Mde,{group:t,children:y.jsx(z4,{})})}}function Ide(t){try{localStorage.setItem(Qi.lastLocation(),JSON.stringify(t))}catch{}}function Lde(){try{const t=localStorage.getItem(Qi.lastLocation());if(!t)return null;const e=JSON.parse(t);if(typeof e?.org=="string")return{org:e.org}}catch{}return null}function JTe(){try{localStorage.removeItem(Qi.lastLocation())}catch{}}function Bde(t,e){const o=t&&e?_J(e,t):null;return{queryKey:no.activeOrganization(t),queryFn:async()=>{if(!t)return null;const a={organizationSlug:t};performance.mark("mesh:active-org-fetch:start");const{data:n}=await ga.organization.getFullOrganization({query:a}).finally(()=>{performance.mark("mesh:active-org-fetch:end"),performance.measure("mesh:active-org-fetch","mesh:active-org-fetch:start","mesh:active-org-fetch:end")}),r=eE(n);return n&&!r&&localStorage.setItem(Qi.lastOrgSlug(),t),e&&n&&PJ(e,t,n),n},initialData:o?o.data:void 0,initialDataUpdatedAt:o?.updatedAt,gcTime:1/0,refetchOnWindowFocus:!1}}let iN;async function Fde(t){iN=t,await BB();const e=lee();if(!e)return;const o=await Zl.ensureQueryData(Bde(t,e)).catch(()=>null);o&&!eE(o)&&iN===t&&Ide({org:t})}const Ct={home:"/$org/home",projects:"/$org/projects/$agentId",tasks:"/$org/tasks/{-$taskKey}",reports:"/$org/reports",library:"/$org/library",discover:"/$org/discover",plan:"/$org/plan",monitoring:"/$org/monitoring",orgIndex:"/$org/"},tt={root:Ct.projects,tasks:"/$org/projects/$agentId/tasks/{-$taskKey}",reports:"/$org/projects/$agentId/reports",siteEditor:"/$org/projects/$agentId/site-editor",siteEditorContent:"/$org/projects/$agentId/site-editor/content",siteEditorCode:"/$org/projects/$agentId/site-editor/code",automations:"/$org/projects/$agentId/automations",automation:"/$org/projects/$agentId/automations/$automationId",app:"/$org/projects/$agentId/apps/$connectionId/$toolName",view:"/$org/projects/$agentId/views/$viewId",outputFile:"/$org/projects/$agentId/outputs/file",outputDeck:"/$org/projects/$agentId/outputs/deck",library:"/$org/projects/$agentId/library",libraryFile:"/$org/projects/$agentId/library/file",connectSources:"/$org/projects/$agentId/connect-sources",settings:"/$org/projects/$agentId/settings",assets:"/$org/projects/$agentId/assets",releases:"/$org/projects/$agentId/releases",hosting:"/$org/projects/$agentId/hosting",e2e:"/$org/projects/$agentId/e2e",calendar:"/$org/projects/$agentId/calendar",experiments:"/$org/projects/$agentId/experiments",plan:"/$org/projects/$agentId/plan",monitoring:"/$org/projects/$agentId/monitoring"};function XTe(){const t=ye.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e={select:jde},t[0]=e):e=t[0],Sk(e)}function jde(t){return t.matches.at(-1)?.fullPath??""}function e0e(){const t=ye.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e={select:zde},t[0]=e):e=t[0],Sk(e)}function zde(t){return t.matches.findLast(qde)?.staticData.mainView}function qde(t){return t.staticData.mainView}function Df(t){return`agent-view:${encodeURIComponent(t)}`}function Ude(t){if(!t?.startsWith("agent-view:"))return null;const e=t.slice(11);if(!e)return null;try{const o=decodeURIComponent(e);return o?{id:o}:null}catch{return null}}function q4(t){if(!t||!t.startsWith("automation:"))return null;const e=t.slice(11);return e?{id:e}:null}function GE(t,e){return`app:${t}:${e}`}function $de(t){if(!t||!t.startsWith("app:"))return null;const e=t.slice(4),o=e.indexOf(":");if(o<=0)return null;const a=e.slice(0,o),n=e.slice(o+1);return!a||!n?null:{connectionId:a,toolName:n}}function U4(t){return`deck:${encodeURIComponent(t)}`}function Vde(t){if(!t||!t.startsWith("deck:"))return null;const e=t.slice(5);if(!e)return null;try{return{path:decodeURIComponent(e)}}catch{return null}}function $4(t){return`file:${encodeURIComponent(t)}`}function Hde(t){if(!t||!t.startsWith("file:"))return null;const e=t.slice(5);if(!e)return null;try{return{key:decodeURIComponent(e)}}catch{return null}}function V4(t){return`library-file:${encodeURIComponent(t)}`}function Gde(t){if(!t||!t.startsWith("library-file:"))return null;const e=t.slice(13);if(!e)return null;try{return{path:decodeURIComponent(e)}}catch{return null}}function H4(t){return`code:${encodeURIComponent(t)}`}function Wde(t){if(!t)return null;if(t==="code")return{path:null};if(!t.startsWith("code:"))return null;const e=t.slice(5);if(!e)return null;try{return{path:decodeURIComponent(e)}}catch{return null}}const G4=["overview","settings","automations","site-editor","code","content","assets","hosting","e2e","analytics","cdn"],Kde=new Set(G4),W4=new Set(["hosting","e2e","analytics","cdn"]),Yde=new Set(["board","files","connect-sources","reports"]);function t0e(t){return t.startsWith("app:")||t.startsWith("automation:")||t.startsWith("file:")||t.startsWith("deck:")||t.startsWith("library-file:")||t.startsWith("code:")}const Zde=new Map([["preview","site-editor"],["git","site-editor"]]);function Tb(t){return Zde.get(t)??t}const WE=new Set(["instructions","connections","layout","settings"]);function Qde(t){return!!t&&WE.has(t)}const Jde=new Set(["overview","board","reports"]);function K4(t){const e=t?.defaultMainView??null;if(!e)return"settings";const o=Tb(e.type);if(WE.has(o))return"settings";if(Kde.has(o)||Jde.has(o))return o;if(o==="ext-app"||o==="ext-apps"){if(e.id&&e.toolName)return GE(e.id,e.toolName);const n=t?.tabs?.map(r=>r.id)??[];return e.id&&n.includes(e.id)?Df(e.id):n[0]?Df(n[0]):"settings"}const a=t?.tabs?.[0]?.id;return a?Df(a):"settings"}function o0e(t){const e=t?.defaultMainView?.type;if(!e||e==="chat")return null;const o=K4(t);return o==="overview"?null:o}function a0e(t){const e=t.routeDefaultMain||K4(t.metadata),o=t.panelTabId&&WE.has(t.panelTabId)?"settings":t.panelTabId?Tb(t.panelTabId):t.panelTabId,a=t.metadata?.defaultMainView??null,n=a==null||a.type==="chat";return{mainOpen:t.mainPanelParam??(!!o||!!t.routeDefaultMain||!n),activeTab:o??e}}function n0e(t){return t.mainOpen&&t.clickedId===t.activeTab?{close:!0}:{tabId:t.clickedId}}function r0e(t){return t.mainOpen?t.activeTab==="automations"?!0:q4(t.activeTab)!==null:!1}const Xde=new Set([...G4.filter(t=>!W4.has(t)),...Yde,"app","file","deck","library-file","connect-sources","instructions","connections","layout","preview","discover"]);function eue(t){return!!t&&Xde.has(t)}function tue(t,e){if(t)switch(t){case"app":return e.connection&&e.tool?GE(e.connection,e.tool):void 0;case"automations":return e.automation?`automation:${e.automation}`:"automations";case"file":return e.key?$4(e.key):void 0;case"deck":return e.deck?U4(e.deck):void 0;case"library-file":return e.path?V4(e.path):void 0;case"code":return e.file?H4(e.file):"code";default:{const o=Tb(t);return o==="site-editor"&&e.main==="content"?"content":o}}}function s0e(t){const e=t.params??{},o=t.search??{};if(t.siteEditorView==="content")return"content";if(t.siteEditorView==="code")return o.file?H4(o.file):"code";if(t.siteEditorView==="preview")return"site-editor";switch(t.mainView){case"automation":return e.automationId?`automation:${e.automationId}`:"automations";case"app":return e.connectionId&&e.toolName?GE(e.connectionId,e.toolName):void 0;case"view":return e.viewId?Df(e.viewId):void 0;case"file":return o.key?$4(o.key):void 0;case"deck":return o.path?U4(o.path):void 0;case"library-file":return o.path?V4(o.path):void 0;default:return t.mainView}}const oue={files:"library",discover:"discover"},aue={board:"tasks",reports:"reports",plan:"plan",monitoring:"monitoring",analytics:"monitoring",cdn:"monitoring"},nue={analytics:"audience",cdn:"performance"},rue={settings:"settings",assets:"assets",releases:"releases",hosting:"hosting",e2e:"e2e",calendar:"calendar",experiments:"experiments"};function Y4(t){const e=Ude(t);if(e)return{kind:"agent-view",viewId:e.id};const o=$de(t);if(o)return{kind:"app",connectionId:o.connectionId,toolName:o.toolName};const a=q4(t);if(a)return{kind:"automations",automationId:a.id};const n=Hde(t);if(n)return{kind:"output-file",key:n.key};const r=Vde(t);if(r)return{kind:"output-deck",path:r.path};const i=Gde(t);if(i)return{kind:"library-file",path:i.path};const c=Wde(t);if(c)return{kind:"site-editor",view:"code",...c.path?{file:c.path}:{}};if(Qde(t))return{kind:"agent-section",section:"settings"};const d=Tb(t);if(d==="overview")return{kind:"agent-overview"};if(d==="site-editor")return{kind:"site-editor",view:"preview"};if(d==="content")return{kind:"site-editor",view:"content"};if(d==="automations")return{kind:"automations"};if(d==="connect-sources")return{kind:"connect-sources"};const u=aue[d];if(u){const f=nue[d];return{kind:"project-destination",destination:u,...f?{monitorView:f}:{}}}const m=oue[d];if(m)return{kind:"org-destination",destination:m};const h=rue[d];return h?{kind:"agent-section",section:h}:{kind:"agent-view",viewId:d}}function Ul(t){const{org:e,agentId:o}=t,a={org:e,agentId:o},n=Y4(t.tabId);switch(n.kind){case"project-destination":{const r=t.destinationScope==="organization";switch(n.destination){case"tasks":return r?{to:Ct.tasks,params:{org:e,taskKey:t.taskKey},search:{}}:{to:tt.tasks,params:{...a,taskKey:t.taskKey},search:{}};case"reports":return r?{to:Ct.reports,params:{org:e},search:{}}:{to:tt.reports,params:a,search:{}};case"plan":return r?{to:Ct.plan,params:{org:e},search:{}}:{to:tt.plan,params:a,search:{}};case"monitoring":{const i=n.monitorView?{view:n.monitorView}:{};return r?{to:Ct.monitoring,params:{org:e},search:i}:{to:tt.monitoring,params:a,search:i}}}}case"org-destination":switch(n.destination){case"home":return{to:Ct.home,params:{org:e},search:{}};case"discover":return{to:Ct.discover,params:{org:e},search:{}};case"library":return{to:Ct.library,params:{org:e},search:{}}}case"agent-overview":return{to:tt.root,params:a,search:{}};case"site-editor":return n.view==="content"?{to:tt.siteEditorContent,params:a,search:{}}:n.view==="code"?{to:tt.siteEditorCode,params:a,search:{file:n.file}}:{to:tt.siteEditor,params:a,search:{}};case"agent-section":return{to:tt[n.section],params:a,search:{}};case"automations":return n.automationId?{to:tt.automation,params:{...a,automationId:n.automationId},search:{}}:{to:tt.automations,params:a,search:{}};case"app":return{to:tt.app,params:{...a,connectionId:n.connectionId,toolName:n.toolName},search:{}};case"agent-view":return{to:tt.view,params:{...a,viewId:n.viewId},search:{}};case"output-file":return{to:tt.outputFile,params:a,search:{key:n.key}};case"output-deck":return{to:tt.outputDeck,params:a,search:{path:n.path}};case"library-file":return{to:tt.libraryFile,params:a,search:{path:n.path}};case"connect-sources":return{to:tt.connectSources,params:a,search:{}}}}function i0e(t){if(!t.agentId||t.agentId===t.superAgentId&&(t.tabId===void 0||t.tabId==="overview"))return{to:Ct.home,params:{org:t.org},search:{}};const e=t.tabId??"overview",o=t.agentId!==t.superAgentId&&Y4(e).kind==="org-destination"?"overview":e;return Ul({org:t.org,agentId:t.agentId,tabId:o,destinationScope:t.agentId===t.superAgentId?"organization":"project"})}function sue(t,e,o={}){const a=r=>({...o.search?.(r)??{},...e.search}),n=o.replace??!0;switch(e.to){case Ct.tasks:t({to:Ct.tasks,params:e.params,search:a,replace:n});return;case Ct.home:t({to:Ct.home,params:e.params,search:a,replace:n});return;case Ct.reports:t({to:Ct.reports,params:e.params,search:a,replace:n});return;case Ct.discover:t({to:Ct.discover,params:e.params,search:a,replace:n});return;case Ct.plan:t({to:Ct.plan,params:e.params,search:a,replace:n});return;case Ct.monitoring:t({to:Ct.monitoring,params:e.params,search:a,replace:n});return;case Ct.library:t({to:Ct.library,params:e.params,search:a,replace:n});return;case tt.root:t({to:tt.root,params:e.params,search:a,replace:n});return;case tt.tasks:t({to:tt.tasks,params:e.params,search:a,replace:n});return;case tt.reports:t({to:tt.reports,params:e.params,search:a,replace:n});return;case tt.plan:t({to:tt.plan,params:e.params,search:a,replace:n});return;case tt.monitoring:t({to:tt.monitoring,params:e.params,search:a,replace:n});return;case tt.siteEditor:t({to:tt.siteEditor,params:e.params,search:a,replace:n});return;case tt.siteEditorContent:t({to:tt.siteEditorContent,params:e.params,search:a,replace:n});return;case tt.siteEditorCode:t({to:tt.siteEditorCode,params:e.params,search:a,replace:n});return;case tt.automations:t({to:tt.automations,params:e.params,search:a,replace:n});return;case tt.automation:t({to:tt.automation,params:e.params,search:a,replace:n});return;case tt.app:t({to:tt.app,params:e.params,search:a,replace:n});return;case tt.view:t({to:tt.view,params:e.params,search:a,replace:n});return;case tt.outputFile:t({to:tt.outputFile,params:e.params,search:a,replace:n});return;case tt.outputDeck:t({to:tt.outputDeck,params:e.params,search:a,replace:n});return;case tt.libraryFile:t({to:tt.libraryFile,params:e.params,search:a,replace:n});return;case tt.connectSources:t({to:tt.connectSources,params:e.params,search:a,replace:n});return;case tt.settings:case tt.assets:case tt.releases:case tt.hosting:case tt.e2e:case tt.calendar:case tt.experiments:t({to:e.to,params:e.params,search:a,replace:n})}}function l0e(t,e){sue(t,Ul(e),e)}function iue(t){const e=/^(\/[^/]+)\/agents(?=\/|$)/.exec(t);return e?.[1]?`${e[1]}/projects${t.slice(e[0].length)}`:null}function lue(t){const e=t.split("/").filter(Boolean);return(e[1]==="projects"||e[1]==="agents")&&e.length>3}const cue=new Set(["main","virtualmcpid","file","key","deck","path","connection","tool","automation"]),Z4=new Set(["main"]),due=new Set(["virtualmcpid"]);function kb(t,e){return Object.fromEntries(Object.entries(t).filter(([o])=>!e.has(o)))}function jl(t,e){return{...kb(t,cue),...e.search}}function uue(t){return kb(t,due)}function c0e(t){if(t.search.virtualmcpid===void 0)return null;const e=kr(t.search.virtualmcpid);if(e){const o=t.routePath===Ct.tasks?"board":t.routePath===Ct.reports?"reports":null;if(t.routePath===Ct.home||o){const a=o?Ul({org:t.org,agentId:e,tabId:o}):Gd(t.org,e);return{kind:"canonical",route:a,search:jl(t.search,a)}}}return t.routePath===Ct.home||t.routePath===Ct.tasks||t.routePath===Ct.reports||t.routePath===Ct.library?{kind:"same-route",search:uue(t.search)}:null}function kr(t){return t?.trim()||void 0}function Q4(t){return eue(t)||t!==void 0&&W4.has(t)}function J4(t){const e=kr(t);return e?e.startsWith("vir_")&&e.length>4||aB(e)!==null||oZ(e)!==null||aZ(e)!==null||rB(e)||sB(e):!1}function pue(t){const e=kr(t.agentIdParam),o=Q4(e);return e&&!o?e:kr(t.virtualMcpIdSearch)??kr(t.fallbackAgentId)}function d0e(t){const e=t.pathAgentId;if(e&&t.pathLegacyView){const i=D0({org:t.org,agentId:e,panel:t.pathLegacyView,source:"project-first",search:t.search});return i?.kind==="canonical"?{route:i.route,search:i.search}:null}if(!e||lue(t.pathname))return null;const o=t.search.virtualmcpid!==void 0&&!J4(e);if(!(Q4(e)||o))return null;const n=pue({agentIdParam:o?void 0:e,virtualMcpIdSearch:t.search.virtualmcpid,fallbackAgentId:t.fallbackAgentId}),r=D0({org:t.org,agentId:n,panel:e,source:"view-first",search:t.search});return r?.kind==="canonical"?{route:r.route,search:r.search}:null}function mue(t,e,o,a){const n=kr(a);switch(t){case"board":return n?Ul({org:e,agentId:n,tabId:"board"}):{to:Ct.tasks,params:{org:e,taskKey:void 0},search:{}};case"files":{const r=_i(o.path);return{to:Ct.library,params:{org:e},search:r?{path:r}:{}}}case"reports":return n?Ul({org:e,agentId:n,tabId:"reports"}):{to:Ct.reports,params:{org:e},search:{}};case"overview":return{to:Ct.home,params:{org:e},search:{}};case"discover":return{to:Ct.discover,params:{org:e},search:{}};default:return null}}function Xp(t){const e=mue(t.tabId,t.org,t.search,t.agentId);if(e)return e;if(t.tabId==="chat")return Gd(t.org,t.agentId);const o=kr(t.agentId);return o?t.tabId==="app"||t.tabId==="file"||t.tabId==="deck"||t.tabId==="library-file"||t.tabId.trim()===""?{to:tt.root,params:{org:t.org,agentId:o},search:{}}:Ul({org:t.org,agentId:o,tabId:t.tabId}):null}function Gd(t,e){const o=kr(e);return o?{to:tt.root,params:{org:t,agentId:o},search:{}}:{to:Ct.home,params:{org:t},search:{}}}function hue(t){const{main:e}=t;if(e===void 0)return null;const o=t.search??{};if(e===0||e==="0")return{kind:"same-route",search:{...kb(o,Z4),mainpanel:!1}};if(e==="chat"){const n=Gd(t.org,t.agentId);return{kind:"canonical",route:n,search:{...jl(o,n),sidepanel:!0,mainpanel:!1}}}const a=Xp({org:t.org,agentId:t.agentId,tabId:e,search:o});return a?{kind:"canonical",route:a,search:jl(o,a)}:null}function _i(t){return typeof t=="string"&&t.length>0?t:void 0}function D0(t){const e=t.search??{};if((e.main===0||e.main==="0")&&t.panel){const i=D0({...t,search:kb(e,Z4)});return i?.kind!=="canonical"?i:{...i,search:{...i.search,mainpanel:!1}}}if(e.main!==void 0)return hue({org:t.org,agentId:t.agentId,main:e.main,search:e});const o=kr(t.agentId),a=t.panel;if(!a){const i=Gd(t.org,o);return{kind:"canonical",route:i,search:jl(e,i)}}const n=tue(a,{file:_i(e.file),key:_i(e.key),deck:_i(e.deck),path:_i(e.path),connection:_i(e.connection),tool:_i(e.tool),automation:_i(e.automation)}),r=n?t.source==="project-first"&&n==="overview"&&o?Ul({org:t.org,agentId:o,tabId:n}):Xp({org:t.org,agentId:o,tabId:n,search:e}):Xp({org:t.org,agentId:o,tabId:"",search:e});return r?{kind:"canonical",route:r,search:n==="chat"?{...jl(e,r),sidepanel:!0,mainpanel:!1}:jl(e,r)}:null}function u0e(t){const e=t.search??{},o=kr(e.virtualmcpid),a=kr(t.fallbackAgentId),n=e.main;let r;if(n==="chat")r=Gd(t.org,o);else if(n!==void 0&&n!==0&&n!=="0"){const i=Xp({org:t.org,agentId:o,tabId:n,search:e}),c=!i&&n.trim().length>0&&a?Xp({org:t.org,agentId:a,tabId:n,search:e}):null;r=i??c??{to:Ct.home,params:{org:t.org},search:{}}}else r=Gd(t.org,o);return{route:r,search:{...jl(e,r),...n===void 0&&e.sidepanel===void 0?{sidepanel:!0}:{},...n===0||n==="0"?{mainpanel:!1}:{},...n==="chat"?{sidepanel:!0,mainpanel:!1}:{},thread:t.taskId}}}function X4(t,e){if(e.task===void 0)return null;const{task:o,...a}=e;return{taskKey:t??(o.trim()||void 0),search:a}}const gue={contentPageId:$().optional(),contentPath:$().optional(),contentPathTemplate:$().optional(),contentCollection:$().optional(),contentItem:$().optional()},e5=gue,KE={view:$().optional(),group:$().optional(),subgroup:$().optional(),sort:$().optional(),dir:$().optional(),q:$().optional(),assignee:$().optional(),priority:$().optional(),due:$().optional(),tags:$().optional(),repo:$().optional(),sprint:$().optional(),boardOrg:$().optional()},fue=["files","brand","connections","repositories","skills","memory","instructions","general","views","repository","site"],Rv={fileView:ao(["all","documents","media"]).catch("all").optional(),modified:ao(["any","today","week","month"]).catch("any").optional(),layout:ao(["list","grid"]).catch("list").optional(),sort:ao(["name","updated","size"]).catch("name").optional(),path:$().optional(),preview:$().optional(),expanded:pT().optional().catch(void 0),skill:$().optional(),brand:$().optional(),section:ao(fue).catch("files").optional(),scope:ao(["user"]).optional().catch(void 0),action:ao(["create"]).optional().catch(void 0),tab:ao(["all","connected"]).optional().catch(void 0)},vue={file:$().optional(),key:$().optional(),deck:$().optional(),path:$().optional(),connection:$().optional(),tool:$().optional(),automation:$().optional(),section:$().optional(),preview:$().optional(),autosend:$().optional(),connect:Jv().optional(),siteUrl:$().optional(),...e5},t5={...vue,task:$().optional(),project:$().optional(),...KE,skill:Rv.skill,brand:Rv.brand},xm=we(t5),Va=sV({component:()=>y.jsx(wde,{children:y.jsx(yk,{})})}),bue=De({getParentRoute:()=>Va,path:"/login",component:Be(()=>Fe(()=>import("./login-Cn8-U1Kv.js"),__vite__mapDeps([0,1,2,3]))),validateSearch:Qr(()=>we({next:$().optional(),client_id:$().optional(),redirect_uri:$().optional(),response_type:$().optional(),state:$().optional(),scope:$().optional(),code_challenge:$().optional(),code_challenge_method:$().optional(),src:$().optional(),ref:$().optional()}))}),yue=De({getParentRoute:()=>Va,path:"/cli/auth-success",component:Be(()=>Fe(()=>import("./cli-auth-success-C2W_huzL.js"),__vite__mapDeps([4,3])))}),Sue=De({getParentRoute:()=>Va,path:"/reset-password",component:Be(()=>Fe(()=>import("./reset-password-CEDutYaS.js"),[])),validateSearch:Qr(()=>we({token:$().optional(),error:$().optional()}))}),wue=De({getParentRoute:()=>Va,path:"/auth/$pathname",component:Be(()=>Fe(()=>import("./auth-catchall-CU4VU9mW.js"),[]))}),xue=De({getParentRoute:()=>Va,path:"/oauth/callback",component:Be(()=>Fe(()=>import("./oauth-callback-CssoBuAl.js"),__vite__mapDeps([5,6,7])))}),Tue=De({getParentRoute:()=>Va,path:"/oauth/consent",component:Be(()=>Fe(()=>import("./oauth-consent-3FbtrQ-O.js"),__vite__mapDeps([8,3,1,2])))}),kue=De({getParentRoute:()=>Va,path:"/oauth/callback/ai-provider",component:Be(()=>Fe(()=>import("./oauth-callback-ai-provider-DeW99Mbt.js"),[]))}),Tm=De({getParentRoute:()=>Va,path:"/_admin",component:Be(()=>Fe(()=>import("./layout-DnoCv7Y5.js"),__vite__mapDeps([9,10,11])))}),Eue=De({getParentRoute:()=>Tm,path:"/",beforeLoad:()=>{throw mo({to:"/_admin/users"})}}),Cue=De({getParentRoute:()=>Tm,path:"/users",component:Be(()=>Fe(()=>import("./users-B-jZ9pgk.js"),__vite__mapDeps([12,13,14,15,16,17,18,19,20,21])))}),_ue=De({getParentRoute:()=>Tm,path:"/orgs",component:Be(()=>Fe(()=>import("./orgs-HEuftt--.js"),__vite__mapDeps([22,13,14,15,16,17,18,23,20,24,25,26,27,28,29,19,30,31,21])))}),Pue=De({getParentRoute:()=>Tm,path:"/prompts",component:Be(()=>Fe(()=>import("./prompts-Pr-m_FAx.js"),__vite__mapDeps([32,16,23,29,21])))}),Aue=Tm.addChildren([Eue,Cue,_ue,Pue]),YE=De({getParentRoute:()=>Va,id:"shell",component:Be(()=>Fe(()=>import("./shell-layout-DJhfQde-.js").then(t=>t.q),__vite__mapDeps([33,34,35,11,21,36,37,38,15,39,40,41,42,27,43,44,45,46,47,48,49,50,51,18,52,53,54,55,56,57,58,59,7,60,61,62,63,64,65,66,67,2,68,69,31,20,70,23,71,72,26,73,74,75,76,77,10,78,79])))}),Rue=De({getParentRoute:()=>YE,path:"/",beforeLoad:async()=>{const t=Lde();if(t)throw mo({to:"/$org",params:{org:t.org}});const e=localStorage.getItem(Qi.lastOrgSlug());if(e)throw mo({to:"/$org",params:{org:e}});const{data:o}=await FB();if(!o)return;const a=o[0];throw mo(a?{to:"/$org",params:{org:a.slug}}:{to:"/onboarding"})}}),Due=De({getParentRoute:()=>Va,path:"/onboarding",beforeLoad:async()=>{const{data:t}=await FB();if(t&&t.length>0)throw mo({to:"/"})},component:Be(()=>Fe(()=>import("./onboarding-idlA3-zh.js"),__vite__mapDeps([80,10,3,81,51,23,28,34,42,53])))}),o5=Qr(()=>we({org:$().optional(),siteUrl:$().optional(),fix:$().optional()})),Oue=De({getParentRoute:()=>Va,path:"/reports-onboarding",component:Be(()=>Fe(()=>import("./reports-onboarding-fdfwoC5Y.js"),__vite__mapDeps([82,83,1,2,3,81,51,84,85,23,86,59,7,87,64,40,36,37,38,15,39,41,34,42,27,43,35,44,45,46,47,48,49,50,18,52,53,54,55,56,72,26,88,89,90,91,20,92,93,94,6,95,96,97,98,99,100]))),validateSearch:o5}),Nue=De({getParentRoute:()=>Va,path:"/commerce-onboarding",validateSearch:o5,beforeLoad:({search:t})=>{throw mo({to:"/reports-onboarding",search:t})}}),Mue=De({getParentRoute:()=>Va,path:"/choose-editor",component:Be(()=>Fe(()=>import("./choose-editor-PfXE6_H8.js"),__vite__mapDeps([101,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,10]))),validateSearch:Qr(()=>we({site:$().optional(),domain:$().optional(),pageId:$().optional(),path:$().optional(),pathTemplate:$().optional()}))}),ZE=De({getParentRoute:()=>Va,path:"/site-editor",staticData:{pageTitle:"sidebar.projectNav.siteEditor"},component:Be(()=>Fe(()=>import("./site-editor-DG5keOVm.js"),__vite__mapDeps([102,103,60,61,57,58,59,7,67,2,68,69,31,104,105,106,77,107,108,109,110,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,10,78,79,112,113,114,115,116,117,84,85,118,119,120,121,122,123,124,125,126,24,25,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,16,154,155,156,157,158,159,28,29,160,161,162,163,164,165,166,167,17,168,169,170,171,172,173,174,92,175,176,177,98,178,179,180,181,182,183,184,185,186,187,188,19,189,13,14,190,191,192,193,194,195,196,197,198,91,199,200,201,202,203,204,205,206,207,96,89,97,208,209,210,211,93,94,6,212,213,214,215,216,217,218,219])))}),Iue=De({getParentRoute:()=>ZE,path:"/",staticData:{mainView:"site-editor",siteEditorView:"preview",local:!0},component:Be(()=>Fe(()=>import("./site-editor-DG5keOVm.js"),__vite__mapDeps([102,103,60,61,57,58,59,7,67,2,68,69,31,104,105,106,77,107,108,109,110,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,10,78,79,112,113,114,115,116,117,84,85,118,119,120,121,122,123,124,125,126,24,25,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,16,154,155,156,157,158,159,28,29,160,161,162,163,164,165,166,167,17,168,169,170,171,172,173,174,92,175,176,177,98,178,179,180,181,182,183,184,185,186,187,188,19,189,13,14,190,191,192,193,194,195,196,197,198,91,199,200,201,202,203,204,205,206,207,96,89,97,208,209,210,211,93,94,6,212,213,214,215,216,217,218,219])),"SiteEditorPreview")}),Lue=De({getParentRoute:()=>ZE,path:"/content",staticData:{mainView:"content",siteEditorView:"content",local:!0},component:Be(()=>Fe(()=>import("./site-editor-DG5keOVm.js"),__vite__mapDeps([102,103,60,61,57,58,59,7,67,2,68,69,31,104,105,106,77,107,108,109,110,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,10,78,79,112,113,114,115,116,117,84,85,118,119,120,121,122,123,124,125,126,24,25,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,16,154,155,156,157,158,159,28,29,160,161,162,163,164,165,166,167,17,168,169,170,171,172,173,174,92,175,176,177,98,178,179,180,181,182,183,184,185,186,187,188,19,189,13,14,190,191,192,193,194,195,196,197,198,91,199,200,201,202,203,204,205,206,207,96,89,97,208,209,210,211,93,94,6,212,213,214,215,216,217,218,219])),"SiteEditorContent")}),Bue=De({getParentRoute:()=>Va,path:"/report/$domain",component:Be(()=>Fe(()=>import("./reports-DzbfP0a1.js"),__vite__mapDeps([220,95,2,1,221])))}),Eb=De({getParentRoute:()=>YE,path:"/$org",loader:({params:t})=>Fde(t.org),pendingMs:1/0,component:Be(()=>Fe(()=>import("./route-iWPPipTt.js"),__vite__mapDeps([222,114,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,108,112,115,116,117,84,85,118,119,123,124,200,105,104,206,160,25,223,224,225,19,226,227,171,169,129,127,228,28,229,128,29,179,191,190,230,231,215,106,232,126,91,233,204])))}),Cb=De({getParentRoute:()=>Eb,id:"org-shell",pendingComponent:Qd,component:Be(()=>Fe(()=>import("./thread-route-mCuisQJI.js"),__vite__mapDeps([234,103,60,61,57,58,59,7,67,2,68,69,31,104,105,106,77,83,235,88,89,90,40,86,87,64,36,37,38,15,39,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,85,23,91,20,92,93,94,6,95,96,97,98,236,99])))}),Fue=we({sidepanel:rF,mainpanel:sF,main:lo([$(),Qe(0)]).optional(),thread:$().optional(),autosend:$().optional(),preview:$().optional(),virtualmcpid:$().optional()}),en=De({getParentRoute:()=>Cb,id:"agent-shell",validateSearch:Fue,search:{middlewares:[R$(["sidepanel"])]},pendingComponent:Qd,component:Be(()=>Fe(()=>import("./route-DEPx9jGW.js"),__vite__mapDeps([237,37,36,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,109,110,61,60,57,58,59,7,67,2,68,69,31,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,108,112,197,103,104,105,106,141,124,149,140,85,142,143,139,198,91,151,199,122,123,125,126,24,25,127,128,168,166,200,165,201,202,203,204,205,206,207,96,89,97,98,208,209,29,148,210,211,93,94,6,212,19,213,214,215,216,137,138,144,145,146,147,150,179,195,196,172,132,130,136,16,129,107,113,238,239,240,191,181,180,227,171,169,177,190,118,241,242,243,244,245,131,162,120])))}),jue=xm.extend({virtualmcpid:$().optional()}),zue=De({getParentRoute:()=>en,path:"/$taskId",validateSearch:jue,component:()=>null}),Bt=Be(()=>Fe(()=>import("./index-DObYgDqg.js").then(t=>t.i),__vite__mapDeps([107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113])),"ChatLayoutPending"),Ft=Be(()=>Fe(()=>import("./index-DObYgDqg.js").then(t=>t.i),__vite__mapDeps([107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113])),"ChatLayoutError"),que=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/home",staticData:{pageTitle:"sidebar.navDestinations.home",defaultMain:"overview",mainView:"overview"},validateSearch:we({connect:Jv().optional(),siteUrl:$().optional()}),component:Be(()=>Fe(()=>import("./home-C-LgRFYa.js"),__vite__mapDeps([246,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,198,140,141,85,142,143,139,103,104,105,106,91,151,199,122,123,124,125,126,24,25,127,128,168,166,200,165,201,202,149,203,204,205,206,207,96,89,97,98,208,209,29,148,210,211,93,94,6,212,19,213,214,215,216,247,248,230,231,115,249,158,159,157,250,118,251,224,232,252,253,245,131,162,242,243,244,254,223,119])))}),Uue=De({getParentRoute:()=>en,path:"/projects",validateSearch:xm,beforeLoad:({params:t,search:e})=>{const o=(e.project??e.virtualmcpid)?.trim(),a=r=>({...r,virtualmcpid:void 0,project:void 0,task:void 0});if(!o)throw mo({to:"/$org/home",params:{org:t.org},search:a,hash:!0,replace:!0});const n=e.task?.trim();throw mo(n?{to:"/$org/projects/$agentId/tasks/{-$taskKey}",params:{org:t.org,agentId:o,taskKey:n},search:a,hash:!0,replace:!0}:{to:"/$org/projects/$agentId",params:{org:t.org,agentId:o},search:a,hash:!0,replace:!0})}});let lN;const co=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/projects/$agentId",validateSearch:xm,beforeLoad:({cause:t,params:e})=>{if(t==="preload")return{enteredProject:!1};const o=t==="enter"||e.agentId!==lN;return lN=e.agentId,{enteredProject:o}},component:yk}),$ue=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/",staticData:{pageTitle:"page.overview",defaultMain:"overview",mainView:"overview"},component:Be(()=>Fe(()=>import("./agent-overview-DK7iRg_t.js"),__vite__mapDeps([255,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,103,104,105,106,198,140,141,85,142,143,139,91,151,199,122,123,124,125,126,24,25,127,128,168,166,200,165,201,202,149,203,204,205,206,207,96,89,97,98,208,209,29,148,210,211,93,94,6,212,19,213,214,215,216,247,248,230,231,115,249,158,159,157,250,118,251,224,232,252,223,241])))}),Vue=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/tasks/{-$taskKey}",staticData:{pageTitle:"sidebar.navDestinations.tasks",defaultMain:"board",mainView:"board"},validateSearch:we({task:$().optional(),...KE}),beforeLoad:({params:t,search:e})=>{const o=X4(t.taskKey,e);if(o)throw mo({to:"/$org/projects/$agentId/tasks/{-$taskKey}",params:{org:t.org,agentId:t.agentId,taskKey:o?.taskKey??t.taskKey},search:o.search,hash:!0,replace:!0})},component:Be(()=>Fe(()=>import("./project-tasks-Dn-Gv_TR.js"),__vite__mapDeps([256,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,257,115,116,258,167,123,259,19,91,203,260,261,117,225,230,231,215,106,253,24,25,251,224,232,262,163,176,138,139,143,103,104,105,263,140,141,85,142,164,202,264,136,265,148,90,266,214,137,144,145,146,147,149,150,151,213,238,194,199,267,205,206])))}),Hue=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/reports",staticData:{pageTitle:"sidebar.navDestinations.reports",defaultMain:"reports",mainView:"reports"},validateSearch:we({connect:Jv().optional(),siteUrl:$().optional()}),component:Be(()=>Fe(()=>import("./project-reports-BfKeLcLP.js"),__vite__mapDeps([268,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,269,83,235,88,89,90,99,100,254,270])))}),_b=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/site-editor",staticData:{pageTitle:"sidebar.projectNav.siteEditor",defaultMain:"site-editor",mainView:"site-editor"},validateSearch:we({autosend:$().optional(),...e5}),component:Be(()=>Fe(()=>import("./agent-site-editor-CiaB1f7K.js"),__vite__mapDeps([192,103,60,61,57,58,59,7,67,2,68,69,31,104,105,106,77,193,194,121,122,123,124,72,26,108,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,125,126,24,25,127,128,129,130,131,132,133,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,10,78,79,111,168,166,195,196,177,98,174,153,16,197,141,149,140,85,142,143,139,198,91,151,199,200,165,201,202,203,204,205,206,207,96,89,97,208,209,29,148,210,211,93,94,6,212,19,213,214,215,110,216,137,138,144,145,146,147,112,150,184,185,175,176,152,162,217,172,136,179,218,189,107,109,113,219])))}),Gue=De({getParentRoute:()=>_b,path:"/",staticData:{defaultMain:"site-editor",mainView:"site-editor",siteEditorView:"preview"},component:Be(()=>Fe(()=>import("./agent-site-editor-preview-RW-nzlvn.js"),__vite__mapDeps([271,272,239,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,148,240,146,142,179,197,103,104,105,106,77,141,72,26,124,76,108,149,140,85,23,143,139,198,91,151,199,122,123,125,126,24,25,127,128,168,166,200,165,201,202,203,74,75,204,205,206,207,96,89,97,98,208,209,64,29,210,211,93,94,6,212,19,213,214,215,216,137,138,33,11,21,62,63,65,66,20,70,71,73,10,78,79,144,145,147,112,150,132,130,191,181,180,227,171,169,129,177,267,134,135,131,136,152,153,121,133,16,154,155,156,157,158,159,28,160,161,162,163,164,115,116,167,17,170,172,111,173,174,92,120,113,175,176,178])))}),Wue=De({getParentRoute:()=>_b,path:"/content",staticData:{defaultMain:"content",mainView:"content",siteEditorView:"content"},component:Be(()=>Fe(()=>import("./agent-site-editor-content-CxN1Ldoy.js"),__vite__mapDeps([273,272,239,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,148,240,146,142,179,197,103,104,105,106,77,141,72,26,124,76,108,149,140,85,23,143,139,198,91,151,199,122,123,125,126,24,25,127,128,168,166,200,165,201,202,203,74,75,204,205,206,207,96,89,97,98,208,209,64,29,210,211,93,94,6,212,19,213,214,215,216,137,138,33,11,21,62,63,65,66,20,70,71,73,10,78,79,144,145,147,112,150,132,130,191,181,180,227,171,169,129,177,267,182,154,155,156,157,158,159,153,121,131,133,16,135,136,152,28,160,161,162,163,164,115,116,167,17,170,183,184,185,186,172,187,188,189,13,14])))}),Kue=De({getParentRoute:()=>_b,path:"/code",staticData:{defaultMain:"code",mainView:"code",siteEditorView:"code"},validateSearch:we({file:$().optional()}),component:Be(()=>Fe(()=>import("./agent-site-editor-code--mSzyNhn.js"),__vite__mapDeps([274,272,239,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,148,240,146,142,179,197,103,104,105,106,77,141,72,26,124,76,108,149,140,85,23,143,139,198,91,151,199,122,123,125,126,24,25,127,128,168,166,200,165,201,202,203,74,75,204,205,206,207,96,89,97,98,208,209,64,29,210,211,93,94,6,212,19,213,214,215,216,137,138,33,11,21,62,63,65,66,20,70,71,73,10,78,79,144,145,147,112,150,132,130,191,181,180,227,171,169,129,177,267,16])))}),Yue=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/automations",staticData:{pageTitle:"settings.nav.automations",defaultMain:"automations",mainView:"automations"},beforeLoad:({params:t,search:e})=>{const o=e.automation;if(o)throw mo({to:"/$org/projects/$agentId/automations/$automationId",params:{org:t.org,agentId:t.agentId,automationId:o},search:a=>({...a,automation:void 0}),hash:!0,replace:!0})},component:Be(()=>Fe(()=>import("./agent-automations-dSGzVGTE.js"),__vite__mapDeps([275,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,17,16,260,276,19])))}),Zue=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/automations/$automationId",staticData:{pageTitle:"settings.nav.automations",defaultMain:"automations",mainView:"automation"},validateSearch:we({automationView:ao(["settings","runs"]).optional()}),component:Be(()=>Fe(()=>import("./agent-automation-JSDOOiNt.js"),__vite__mapDeps([277,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,19,126,28,123,141,148,240,278,124,103,104,105,106,125,24,25,127,128,279,260,138,280,201,202,140,85,142,143,139,149,203,281,231,115,282,168,166,161,162,283,14,16,284,213,238,266,214,137,144,145,146,147,150,151,212])))}),Que=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/settings",staticData:{pageTitle:"sidebar.navDestinations.settings",defaultMain:"settings",mainView:"settings"},component:Be(()=>Fe(()=>import("./agent-settings-BjOD_o2l.js"),__vite__mapDeps([285,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,286,287,288,289,290,103,104,105,106,29,16,291,203,292,96,89,97,98,279,229,94,6,148,280,207,208,209,124,85,24,25,210,211,93,212,19,213,214,151,293,146,126,240,149,142,28,123,160,179,227,171,169,129,226,139,30,177,130,294,295,147,178,196])))}),Jue=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/library",staticData:{pageTitle:"sidebar.navDestinations.library",defaultMain:"files",mainView:"files"},validateSearch:we(Rv),component:Be(()=>Fe(()=>import("./agent-library-BeOICuv4.js"),__vite__mapDeps([296,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,297,17,103,104,105,106,203,298,29,143,139,286,287,288,289,290,16,291,244,123,242,243,91,245,131,162,151,299,189,14,292,96,89,97,98,279,229,94,6,148,280,207,208,209,124,85,24,25,210,211,93,212,19,213,214,293,146,126,240,149,142,28,160,179,227,171,169,129,226,30,177,130,294,295,147,178,196])))}),Xue=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/assets",staticData:{pageTitle:"common.mainPanelTabs.assets",defaultMain:"assets",mainView:"assets"},component:Be(()=>Fe(()=>import("./agent-assets-BOBiAU4U.js"),__vite__mapDeps([300,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,272,239,148,240,146,142,179,197,103,104,105,106,141,124,149,140,85,143,139,198,91,151,199,122,123,125,126,24,25,127,128,168,166,200,165,201,202,203,204,205,206,207,96,89,97,98,208,209,29,210,211,93,94,6,212,19,213,214,215,216,137,138,144,145,147,150,132,130,191,181,180,227,171,169,129,177,17,170])))}),epe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/releases",staticData:{pageTitle:"common.mainPanelTabs.releases",defaultMain:"releases",mainView:"releases"},component:Be(()=>Fe(()=>import("./agent-releases-B_K3FIWy.js"),__vite__mapDeps([301,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,272,239,148,240,146,142,179,197,103,104,105,106,141,124,149,140,85,143,139,198,91,151,199,122,123,125,126,24,25,127,128,168,166,200,165,201,202,203,204,205,206,207,96,89,97,98,208,209,29,210,211,93,94,6,212,19,213,214,215,216,137,138,144,145,147,150,132,130,191,181,180,227,171,169,129,177,121,131,133,185])))}),tpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/hosting",staticData:{pageTitle:"common.mainPanelTabs.hosting",defaultMain:"hosting",mainView:"hosting"},component:Be(()=>Fe(()=>import("./agent-hosting-BS_jB6we.js"),__vite__mapDeps([302,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,19,189,91,14,138,24,25,303,292,96,89,97,98,103,104,105,106,279,16,229,94,6,29,148,280,207,208,209,124,85,210,211,93,212,213,214,151,203,293,146,126,240,149,142,28,123,160,179,227,171,169,129,226,290,139,30,177,130,294,295,147,178,196])))}),ope=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/e2e",staticData:{pageTitle:"common.mainPanelTabs.e2e",defaultMain:"e2e",mainView:"e2e"},component:Be(()=>Fe(()=>import("./agent-e2e-DsNy3BsN.js"),__vite__mapDeps([304,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,19,24,25,14,189,138,168,166,303,292,96,89,97,98,103,104,105,106,279,16,229,94,6,29,148,280,207,208,209,124,85,210,211,93,212,213,214,151,203,293,146,126,240,149,142,28,123,160,179,227,171,169,129,226,290,139,30,177,130,294,295,147,178,196])))}),ape=De({getParentRoute:()=>co,path:"/analytics",validateSearch:we({view:$().optional()}),beforeLoad:({params:t,search:e})=>{throw mo({to:"/$org/projects/$agentId/monitoring",params:t,search:{view:e.view==="experiments"?"experiments":"audience"},replace:!0})}}),npe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/taskboard-analytics",staticData:{pageTitle:"taskBoard.analytics.title",defaultMain:"board",mainView:"board"},component:Be(()=>Fe(()=>import("./taskboard-analytics-r6HixYm_.js"),__vite__mapDeps([305,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,212,19,258,306,123,160,25,163,307,249,158,159,157,250,14,165,166,231,115,308,251,224,232,167])))}),rpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/experiments",staticData:{pageTitle:"common.mainPanelTabs.experiments",defaultMain:"experiments",mainView:"experiments"},validateSearch:we({test:$().optional().catch(void 0)}),component:Be(()=>Fe(()=>import("./agent-experiments-BmXzB7sO.js"),__vite__mapDeps([309,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,193,194,103,104,105,106,121,122,123,124,125,126,24,25,127,128,129,130,131,132,133,168,166,195,196,177,98,174,153,16,197,141,149,140,85,142,143,139,198,91,151,199,200,165,201,202,203,204,205,206,207,96,89,97,208,209,29,148,210,211,93,94,6,212,19,213,214,215,216,137,138,144,145,146,147,150,184,185,175,176,152,162,217,172,136,179,310,189,311,154,155,156,157,158,159,312,188,183,218])))}),spe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/calendar",staticData:{pageTitle:"common.mainPanelTabs.calendar",defaultMain:"calendar",mainView:"calendar"},component:Be(()=>Fe(()=>import("./agent-calendar-JsZQH9DJ.js"),__vite__mapDeps([313,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,193,194,103,104,105,106,121,122,123,124,125,126,24,25,127,128,129,130,131,132,133,168,166,195,196,177,98,174,153,16,197,141,149,140,85,142,143,139,198,91,151,199,200,165,201,202,203,204,205,206,207,96,89,97,208,209,29,148,210,211,93,94,6,212,19,213,214,215,216,137,138,144,145,146,147,150,184,185,175,176,152,162,217,172,136,179,160,183,311,154,155,156,157,158,159,312,188,187,218,189,303,292,279,229,280,293,240,28,227,171,169,226,290,30,294,295,178])))}),ipe=De({getParentRoute:()=>co,path:"/cdn",beforeLoad:({params:t})=>{throw mo({to:"/$org/projects/$agentId/monitoring",params:t,search:{view:"performance"},replace:!0})}}),a5=we({args:$().optional()}),lpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/apps/$connectionId/$toolName",validateSearch:a5,staticData:{pageTitle:"page.app",defaultMain:"app",mainView:"app"},component:Be(()=>Fe(()=>import("./agent-app-B_xuQBe4.js"),__vite__mapDeps([314,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,181,315,141,240,144,145,146,103,104,105,106,251,224,232,115,316,83,87,88,89,90,85,91,92,93,94,6,95,96,97,98])))}),cpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/views/$viewId",validateSearch:a5,staticData:{pageTitle:"page.view",defaultMain:"view",mainView:"view"},component:Be(()=>Fe(()=>import("./agent-view-DaSIF8yy.js"),__vite__mapDeps([317,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,315,141,240,144,145,146,103,104,105,106,251,224,232,115,316,83,87,88,89,90,85,91,92,93,94,6,95,96,97,98,303,292,279,16,229,29,148,280,207,208,209,124,24,25,210,211,212,19,213,214,151,203,293,126,149,142,28,123,160,179,227,171,169,129,226,290,139,30,177,130,294,295,147,178,196])))}),dpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/outputs/file",staticData:{pageTitle:"page.file",defaultMain:"file",mainView:"file"},validateSearch:we({key:$().optional()}),component:Be(()=>Fe(()=>import("./agent-file-Y-EO6Btn.js"),__vite__mapDeps([318,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,151,245,203,131,162,143,139,103,104,105,106,150,303,292,96,89,97,98,279,16,229,94,6,29,148,280,207,208,209,124,85,24,25,210,211,93,212,19,213,214,293,146,126,240,149,142,28,123,160,179,227,171,169,129,226,290,30,177,130,294,295,147,178,196])))}),upe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/outputs/deck",staticData:{pageTitle:"page.document",defaultMain:"deck",mainView:"deck"},validateSearch:we({path:$().optional()}),component:Be(()=>Fe(()=>import("./agent-deck-DrS8cvv6.js"),__vite__mapDeps([319,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,244,203,123,303,292,96,89,97,98,103,104,105,106,279,16,229,94,6,29,148,280,207,208,209,124,85,24,25,210,211,93,212,19,213,214,151,293,146,126,240,149,142,28,160,179,227,171,169,129,226,290,139,30,177,130,294,295,147,178,196])))}),ppe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/library/file",staticData:{pageTitle:"page.file",defaultMain:"library-file",mainView:"library-file"},validateSearch:we({path:$().optional()}),component:Be(()=>Fe(()=>import("./agent-library-file-BLEe6X-g.js"),__vite__mapDeps([320,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,321,243,91,244,203,123,245,131,162,151,143,139,103,104,105,106,303,292,96,89,97,98,279,16,229,94,6,29,148,280,207,208,209,124,85,24,25,210,211,93,212,19,213,214,293,146,126,240,149,142,28,160,179,227,171,169,129,226,290,30,177,130,294,295,147,178,196])))}),mpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/connect-sources",staticData:{pageTitle:"settings.nav.connect",defaultMain:"connect-sources",mainView:"connect-sources"},component:Be(()=>Fe(()=>import("./agent-connect-sources-f0poJHtj.js"),__vite__mapDeps([322,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,86,83,87,88,89,90,85,91,92,93,94,6,95,96,97,98,236,99])))}),hpe=De({getParentRoute:()=>co,path:"/$legacyView",component:()=>null}),gpe=De({getParentRoute:()=>en,path:"/agents",validateSearch:xm,beforeLoad:({params:t,search:e})=>{const o=e.virtualmcpid?.trim();throw mo(o?{to:"/$org/projects/$agentId",params:{org:t.org,agentId:o},search:a=>a,hash:!0,replace:!0}:{to:"/$org/projects",params:{org:t.org},search:a=>a,hash:!0,replace:!0})}}),fpe=De({getParentRoute:()=>en,path:"/agents/$",validateSearch:xm,beforeLoad:({params:t,location:e})=>{const o=t._splat?.split("/").find(Boolean);if(!J4(o))return;const a=iue(e.pathname);if(!a)return;const n=e.hash?`#${e.hash}`:"";throw mo({href:`${a}${e.searchStr}${n}`,replace:!0})},component:Be(()=>Fe(()=>import("./legacy-agents-deep-C5jspcJW.js"),__vite__mapDeps([323,241,61])))}),vpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/tasks/{-$taskKey}",staticData:{pageTitle:"sidebar.navDestinations.tasks",defaultMain:"board",mainView:"board"},validateSearch:we({task:$().optional(),...KE}),beforeLoad:({params:t,search:e})=>{const o=X4(t.taskKey,e);if(o)throw mo({to:"/$org/tasks/{-$taskKey}",params:{org:t.org,taskKey:o.taskKey},search:o.search,hash:!0,replace:!0})},component:Be(()=>Fe(()=>import("./tasks-BWjB_1VS.js"),__vite__mapDeps([324,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,257,115,116,258,167,123,259,19,91,203,260,261,117,225,230,231,215,106,253,24,25,251,224,232,262,163,176,138,139,143,103,104,105,263,140,141,85,142,164,202,264,136,265,148,90,266,214,137,144,145,146,147,149,150,151,213,238,194,199,267,205,206])))}),bpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/taskboard-analytics",staticData:{defaultMain:"board",mainView:"board"},component:Be(()=>Fe(()=>import("./taskboard-analytics-r6HixYm_.js"),__vite__mapDeps([305,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,212,19,258,306,123,160,25,163,307,249,158,159,157,250,14,165,166,231,115,308,251,224,232,167])))}),ype=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/thread-analytics",staticData:{defaultMain:"board",mainView:"board"},component:Be(()=>Fe(()=>import("./thread-analytics-BoSR9_dC.js"),__vite__mapDeps([325,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,307,249,158,159,157,250,14,165,166,19,231,115,308,167,123,24,25,168,266,214,137,138,139,140,141,85,142,143,103,104,105,106,144,145,146,147,148,149,150,151,213,238])))}),Spe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/reports",staticData:{pageTitle:"sidebar.navDestinations.reports",defaultMain:"reports",mainView:"reports"},validateSearch:we({connect:Jv().optional(),siteUrl:$().optional()}),component:Be(()=>Fe(()=>import("./reports-DR2YJPbu.js"),__vite__mapDeps([326,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,269,83,235,88,89,90,99,100,254,270])))}),wpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/library",staticData:{pageTitle:"sidebar.navDestinations.library",defaultMain:"files",mainView:"files"},validateSearch:we(Rv),component:Be(()=>Fe(()=>import("./library-B8KAYORe.js"),__vite__mapDeps([327,103,60,61,57,58,59,7,67,2,68,69,31,104,105,106,77,108,107,109,110,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,10,78,79,112,113,286,287,288,289,290,29,16,291,203,321,243,91,244,123,245,131,162,151,143,139,297,17,298,242,299,189,14])))}),xpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/plan",staticData:{pageTitle:"sidebar.navDestinations.plan",defaultMain:"plan",mainView:"plan"},component:Be(()=>Fe(()=>import("./plan-CfTunmR6.js"),__vite__mapDeps([328,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,19])))}),n5=we({view:ao(["metrics","performance","logs","audience","heatmap","analytics","errors","realtime","pages","events","deploys","experiments"]).optional().catch(void 0),date:fL().optional().catch(void 0),store:$().optional(),at:$().optional(),project:$().optional(),section:$().optional(),test:$().optional().catch(void 0),f:je($()).optional().catch(void 0),currency:$().optional(),prop:$().optional()}),Tpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/monitoring",staticData:{pageTitle:"sidebar.navDestinations.monitor",defaultMain:"monitoring",mainView:"monitoring"},validateSearch:n5,component:Be(()=>Fe(()=>import("./monitoring-z5KlpAiC.js"),__vite__mapDeps([329,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,189,123,330,249,158,159,157,250,19,163,92,308,252,103,104,105,106,122,124,125,126,24,25,127,128,291,307,14,165,166,231,115,316,83,87,88,89,90,85,91,93,94,6,95,96,97,98,148,167,155,156,168,129,224,310,311,153,121,130,131,132,133,16,154,312,188,183,218,331,29,261,265,17,28,284,213,332])))}),kpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/plan",staticData:{pageTitle:"sidebar.navDestinations.plan",defaultMain:"plan",mainView:"plan"},component:Be(()=>Fe(()=>import("./plan-CfTunmR6.js"),__vite__mapDeps([328,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,19])))}),Epe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/monitoring",staticData:{pageTitle:"sidebar.navDestinations.monitor",defaultMain:"monitoring",mainView:"monitoring"},validateSearch:n5,component:Be(()=>Fe(()=>import("./monitoring-z5KlpAiC.js"),__vite__mapDeps([329,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,189,123,330,249,158,159,157,250,19,163,92,308,252,103,104,105,106,122,124,125,126,24,25,127,128,291,307,14,165,166,231,115,316,83,87,88,89,90,85,91,93,94,6,95,96,97,98,148,167,155,156,168,129,224,310,311,153,121,130,131,132,133,16,154,312,188,183,218,331,29,261,265,17,28,284,213,332])))}),Cpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/discover",staticData:{pageTitle:"sidebar.navDestinations.discover",defaultMain:"discover",mainView:"discover"},component:Be(()=>Fe(()=>import("./discover-DJRtlG9n.js"),__vite__mapDeps([333,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,148,169,171,177,98])))}),_pe=De({getParentRoute:()=>Eb,path:"/members",beforeLoad:({params:t})=>{throw mo({to:"/$org/settings/members",params:{org:t.org}})}}),Ppe=we({main:lo([$(),Qe(0)]).optional(),virtualmcpid:$().optional(),...t5,sidepanel:rF,mainpanel:sF,thread:$().optional()}),Ape=De({getParentRoute:()=>Cb,path:"/",validateSearch:Ppe,pendingComponent:Qd,component:Be(()=>Fe(()=>import("./index-DovyWo-R.js"),__vite__mapDeps([334,241,61])))}),Rpe=De({getParentRoute:()=>Cb,path:"/t/$taskKey",beforeLoad:({params:t})=>{throw mo({to:"/$org/tasks/{-$taskKey}",params:{org:t.org,taskKey:t.taskKey},search:e=>e,hash:!0,replace:!0})}}),uo=De({staticData:{pageTitle:"sidebar.navDestinations.settings"},getParentRoute:()=>Eb,path:"/settings",pendingComponent:Qd,component:Be(()=>Fe(()=>import("./route-D7DW4Q6o.js"),__vite__mapDeps([335,108,107,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,336,19,123,165,166,105,104,206])))}),Dpe=De({getParentRoute:()=>uo,path:"/",component:Be(()=>Fe(()=>import("./index-redirect-CcWBc9jM.js"),__vite__mapDeps([337,289])))}),Ope=De({getParentRoute:()=>uo,path:"/connections",validateSearch:Qr(()=>we({action:ao(["create"]).optional(),tab:ao(["all","connected"]).optional()})),beforeLoad:({params:t,search:e})=>{throw mo({to:"/$org/library",params:{org:t.org},search:{section:"connections",...e},replace:!0})}}),Npe=De({staticData:{pageTitle:"settings.nav.connections"},getParentRoute:()=>uo,path:"/connections/$appSlug",component:Be(()=>Fe(()=>import("./connection-detail-CnaYuh7u.js"),__vite__mapDeps([338,96,89,97,98,16,211,51,52,339,59,7,240,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,18,53,54,55,56,148,24,25,26,159,340,156,63,123,72,58,108,66,67,2,68,69,31,210,293,19,146,6,94,64,112,85,23,149,341,342,249,158,157,250,308,168,166,209,145,76]))),validateSearch:Qr(()=>we({tab:$().optional()}))}),Mpe=De({staticData:{pageTitle:"page.item"},getParentRoute:()=>uo,path:"/connections/$appSlug/$collectionName/$itemId",component:Be(()=>Fe(()=>import("./collection-detail-pdnHCRF6.js"),__vite__mapDeps([343,16,59,7,85,23,29,339,240,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,148,96,89,97,98,24,25,26,159,340,156,63,123,72,58,108,66,67,2,68,69,31,210,145,146,176,209,293,19,6,144,64,103,60,61,57,104,105,106,77,33,11,21,62,65,20,70,71,73,74,75,76,10,78,79,161,162,189]))),validateSearch:Qr(()=>we({replayId:$().optional()}))}),Ipe=De({staticData:{pageTitle:"orgs.monitoring.title"},getParentRoute:()=>uo,path:"/monitor",component:Be(()=>Fe(()=>import("./index-BMlrWTB1.js"),__vite__mapDeps([344,17,18,16,287,288,289,137,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,52,53,54,55,56,138,139,140,141,85,23,142,143,103,60,61,57,58,59,7,67,2,68,69,31,104,105,106,77,108,72,26,33,11,21,62,63,64,65,66,20,70,71,73,74,75,76,10,78,79,144,145,146,147,112,148,149,150,151,209,19,123,161,162,282,126,24,25,306,160,163,29,212,28,176,342,249,158,159,157,250,308,266,214,213,238,14,284,260,283,189,224,330,92,252,267,205,206]))),validateSearch:Qr(()=>we({tab:ao(["overview","audit","dashboards","threads","automations","stores"]).default("threads"),store:$().optional(),at:$().optional(),from:$().default("now-24h"),to:$().default("now"),connectionId:je($()).optional().default([]),virtualMcpId:je($()).optional().default([]),tool:$().default(""),status:ao(["all","success","errors"]).default("all"),search:$().default(""),page:Mt().optional(),streaming:Vt().default(!0),propertyFilters:$().default(""),hideSystem:Vt().default(!1)}))}),Lpe=De({staticData:{pageTitle:"settings.nav.general"},getParentRoute:()=>uo,path:"/general",component:Be(()=>Fe(()=>import("./general-DxPErvh9.js"),__vite__mapDeps([345,280,346,28,35,77,31,69,148,59,7,347,19,24,25,26,27,289])))}),Bpe=De({staticData:{pageTitle:"settings.nav.connect"},getParentRoute:()=>uo,path:"/connect",pendingComponent:Us("connect"),component:Be(()=>Fe(()=>import("./connect-CyzT5SDn.js"),__vite__mapDeps([348,176,19,24,25,26,27,168,166,139,36,37,38,15,39,40,41,34,42,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,248,349,189,23,340,59,7,240,126,17,64,350,213,214,75,76,97,98,148,287,288,289])))}),Fpe=De({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>uo,path:"/ai-providers",pendingComponent:Us("billing"),component:Be(()=>Fe(()=>import("./ai-providers-OlLaxP2V.js"),__vite__mapDeps([351,37,105,42,77,31,69,278,124,108,103,60,61,57,58,59,7,67,2,68,104,106,125,126,47,24,25,26,27,39,43,46,38,18,127,128,48,280,336,51,19,123,165,166,72,206,228,28,73,52,229,287,288,289])))}),jpe=De({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>uo,path:"/billing",beforeLoad:({params:t})=>{throw mo({to:"/$org/settings/ai-providers",params:{org:t.org}})}}),zpe=De({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>uo,path:"/infra-billing",pendingComponent:Us("billing"),component:Be(()=>Fe(()=>import("./infra-billing-DFPWiYwa.js"),__vite__mapDeps([352,44,19,282,126,47,27,62,63,18,123,24,25,26,14,250,158,159,331,308,287,288,289])))}),qpe=De({staticData:{pageTitle:"settings.nav.secrets"},getParentRoute:()=>uo,path:"/secrets",component:Be(()=>Fe(()=>import("./secrets-DalYwIr1.js"),__vite__mapDeps([353,37,51,54,189,23,24,25,26,27,29,295,287,288,289])))}),Upe=De({staticData:{pageTitle:"settings.nav.connect"},getParentRoute:()=>uo,path:"/api-keys",pendingComponent:Us("connect"),component:Be(()=>Fe(()=>import("./api-keys-CI8mz52i.js"),__vite__mapDeps([354,349,37,36,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,189,23,19,340,24,25,26,59,7,240,126,17,64,350,213,214,75,76,97,98,148,287,288,289])))}),$pe=De({staticData:{pageTitle:"settings.nav.storage"},getParentRoute:()=>uo,path:"/buckets",pendingComponent:Us("storage"),component:Be(()=>Fe(()=>import("./buckets-CC28Un34.js"),__vite__mapDeps([355,37,51,52,19,189,23,24,25,26,27,28,29,169,287,288,289])))}),Vpe=De({staticData:{pageTitle:"settings.nav.repositories"},getParentRoute:()=>uo,path:"/repositories",validateSearch:we({git_error:$().optional().catch(void 0),git_flow:$().uuid().optional().catch(void 0),git_installation:Mt().int().positive().safe().optional().catch(void 0),git_return:Vt().optional().catch(void 0)}),pendingComponent:Us("repositories"),component:Be(()=>Fe(()=>import("./repositories-ByhK-3bU.js"),__vite__mapDeps([356,357,71,39,51,72,26,23,73,74,75,76,18,41,20,77,31,69,40,126,47,54,189,19,176,91,138,24,25,27,29,52,294,295,287,288,289])))}),Hpe=De({staticData:{pageTitle:"settings.nav.storage"},getParentRoute:()=>uo,path:"/synced-repos",pendingComponent:Us("storage"),component:Be(()=>Fe(()=>import("./synced-repos-lK4skxC9.js"),__vite__mapDeps([358,51,189,71,39,72,26,23,73,74,75,76,18,41,20,77,31,69,298,287,288,289])))}),Gpe=De({staticData:{pageTitle:"settings.nav.tasks"},getParentRoute:()=>uo,path:"/task-board",component:Be(()=>Fe(()=>import("./tasks-CdxgNM_V.js"),__vite__mapDeps([359,126,47,29,43,50,51,167,62,63,18,123,282,19,27,24,25,26,28,281,346,35,77,31,69,148,59,7,20,260,259,55,56,91,72,112,203,74,75,57,58,68,287,288,289])))}),Wpe=De({getParentRoute:()=>uo,path:"/tasks",beforeLoad:({params:t})=>{throw mo({to:"/$org/settings/task-board",params:{org:t.org}})}}),Kpe=De({staticData:{pageTitle:"projects.settings.title"},getParentRoute:()=>uo,path:"/projects",component:Be(()=>Fe(()=>import("./projects-DYDXJVDD.js"),__vite__mapDeps([360,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,19,17,70,23,59,7,66,58,67,2,68,69,31,71,72,26,73,74,75,76,20,77,254,229,235,88,89,90,270,57,148])))}),Ype=De({staticData:{pageTitle:"settings.nav.members"},getParentRoute:()=>uo,path:"/members",pendingComponent:Us("members"),component:Be(()=>Fe(()=>import("./members-CZ44ad9P.js"),__vite__mapDeps([361,362,15,45,72,26,165,166,19,17,18,13,14,16,85,23,24,25,27,29,363,233,46,52,55,126,47,62,63,123,51,262,287,288,289])))}),Zpe=De({staticData:{pageTitle:"settings.nav.members"},getParentRoute:()=>uo,path:"/roles",pendingComponent:Us("members"),component:Be(()=>Fe(()=>import("./roles-CEON3RQs.js"),__vite__mapDeps([364,363,19,45,51,52,13,14,15,16,17,18,127,350,64,40,36,37,38,39,41,34,42,27,43,35,44,46,47,48,49,50,53,54,55,56,213,126,214,75,59,7,76,97,98,148,58,105,28,72,26,65,57,288,289]))),validateSearch:Qr(()=>we({role:$().optional()}))}),Qpe=De({staticData:{pageTitle:"settings.nav.security"},getParentRoute:()=>uo,path:"/sso",component:Be(()=>Fe(()=>import("./sso-Am4Nf_A1.js"),__vite__mapDeps([365,347,19,24,25,26,27,28,78,52,287,288,289])))}),Jpe=De({staticData:{pageTitle:"settings.nav.profile"},getParentRoute:()=>uo,path:"/profile",component:Be(()=>Fe(()=>import("./profile-CERW1LgW.js"),__vite__mapDeps([366,155,156,25,52,53,28,24,26,27,165,166,72,48,49,50,280,204])))}),Xpe=De({getParentRoute:()=>uo,path:"/agents",beforeLoad:({params:t})=>{throw mo({to:"/$org/settings/projects",params:{org:t.org}})}}),eme=De({staticData:{pageTitle:"settings.nav.automations"},getParentRoute:()=>uo,path:"/automations",component:Be(()=>Fe(()=>import("./automations-DMWU0I6x.js"),__vite__mapDeps([367,51,56,17,18,16,260,59,7,66,58,67,2,68,69,31,276,19,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,52,53,54,55,287,288,289])))}),tme=De({getParentRoute:()=>uo,path:"/skills",beforeLoad:({params:t})=>{throw mo({to:"/$org/library",params:{org:t.org},search:{section:"skills"},replace:!0})}}),ome=De({getParentRoute:()=>uo,path:"/memory",validateSearch:Qr(()=>we({scope:ao(["user"]).optional()})),beforeLoad:({params:t,search:e})=>{throw mo({to:"/$org/library",params:{org:t.org},search:{section:"memory",...e},replace:!0})}}),ame=uo.addChildren([Dpe,Ope,Npe,Mpe,Xpe,eme,tme,ome,Ipe,Lpe,Bpe,Fpe,jpe,zpe,qpe,Upe,$pe,Vpe,Hpe,Gpe,Wpe,Kpe,Ype,Zpe,Qpe,Jpe]),nme=_b.addChildren([Gue,Wue,Kue]),rme=co.addChildren([$ue,Vue,Hue,nme,Yue,Zue,Que,Jue,Xue,epe,tpe,ope,ape,npe,rpe,spe,ipe,lpe,cpe,dpe,upe,ppe,mpe,hpe,kpe,Epe]),sme=en.addChildren([zue,que,Uue,rme,gpe,fpe,vpe,bpe,ype,Spe,wpe,Cpe,xpe,Tpe]),ime=Cb.addChildren([Ape,Rpe,sme]),lme=Eb.addChildren([ime,_pe,ame]),cme=YE.addChildren([Rue,lme]),dme=Va.addChildren([cme,Aue,Due,Oue,Nue,Mue,ZE.addChildren([Iue,Lue]),Bue,bue,yue,Sue,wue,xue,Tue,kue]);function ume(){const t=ye.c(16),e=Ua();let o;t[0]!==e?(o=e("common.index.pageNotFound"),t[0]=e,t[1]=o):o=t[1];let a;t[2]!==o?(a=y.jsx("h3",{className:"text-lg font-medium text-foreground",children:o}),t[2]=o,t[3]=a):a=t[3];let n;t[4]!==e?(n=e("common.index.pageNotFoundDescription"),t[4]=e,t[5]=n):n=t[5];let r;t[6]!==n?(r=y.jsx("p",{className:"text-sm text-muted-foreground text-center max-w-[300px]",children:n}),t[6]=n,t[7]=r):r=t[7];let i;t[8]!==e?(i=e("common.goBack"),t[8]=e,t[9]=i):i=t[9];let c;t[10]!==i?(c=y.jsx("button",{type:"button",onClick:pme,className:"text-sm text-primary hover:underline",children:i}),t[10]=i,t[11]=c):c=t[11];let d;return t[12]!==a||t[13]!==r||t[14]!==c?(d=y.jsx("div",{className:"flex h-full items-center justify-center",children:y.jsxs("div",{className:"flex flex-col items-center gap-4 p-8",children:[a,r,c]})}),t[12]=a,t[13]=r,t[14]=c,t[15]=d):d=t[15],d}function pme(){return window.history.back()}const Pb=vV({routeTree:dme,defaultPendingComponent:Qd,defaultPendingMs:200,defaultPendingMinMs:500,defaultNotFoundComponent:ume});function Pe(...t){return nF(aE(t))}function mme(t){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)}function Ho({error:t,localization:e,localizeErrors:o=!0}){var a;const n="Request failed";if(!o)return t?.message?t.message:(a=t?.error)!=null&&a.message?t.error.message:n;if(typeof t=="string"&&e?.[t])return e[t];if(t?.error){if(t.error.code){const r=t.error.code;if(e?.[r])return e[r]}return t.error.message||t.error.code||t.error.statusText||e?.REQUEST_FAILED}return t?.message||e?.REQUEST_FAILED||n}function ec(t){return typeof window<"u"?new URLSearchParams(window.location.search).get(t):null}function O0(t,e){for(const o in t)if(t[o]===e)return o}function em(t,e){let o=$().min(1,{message:e?.PASSWORD_REQUIRED});return t?.minLength&&(o=o.min(t.minLength,{message:e?.PASSWORD_TOO_SHORT})),t?.maxLength&&(o=o.max(t.maxLength,{message:e?.PASSWORD_TOO_LONG})),t?.regex&&(o=o.regex(t.regex,{message:e?.INVALID_PASSWORD})),o}var hme={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"},gme={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"},fme={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."},vme={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."},bme={VERIFICATION_FAILED:"Captcha verification failed",MISSING_RESPONSE:"Missing CAPTCHA response",UNKNOWN_ERROR:"Something went wrong"},yme={MISSING_SECRET_KEY:"Missing secret key",SERVICE_UNAVAILABLE:"CAPTCHA service unavailable"},Sme={...bme,...yme},wme={OTP_EXPIRED:"otp expired",INVALID_OTP:"Invalid OTP",INVALID_EMAIL:"Invalid email",USER_NOT_FOUND:"User not found",TOO_MANY_ATTEMPTS:"Too many attempts"},xme={INVALID_OAUTH_CONFIGURATION:"Invalid OAuth configuration"},Tme={PASSWORD_COMPROMISED:"The password you entered has been compromised. Please choose a different password."},kme={INVALID_SESSION_TOKEN:"Invalid session token"},Eme={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"},Cme={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"},_me={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"},Pme={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"},Ame={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"},Rme={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"},Dme={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"},Ome={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",...vme,...hme,...gme,...fme,...Sme,...wme,...xme,...Tme,...kme,...Eme,...Cme,..._me,...Pme,...Ame,...Rme,...Dme},Nme={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"},cN={SETTINGS:"settings",SECURITY:"security",TEAMS:"teams",API_KEYS:"api-keys",ORGANIZATIONS:"organizations"},dN={SETTINGS:"settings",MEMBERS:"members",TEAMS:"teams",API_KEYS:"api-keys"};const r5=A.createContext({});function s5(){return A.useContext(r5)}var gx,uN;function Mme(){if(uN)return gx;uN=1;var t=function(){};return gx=t,gx}var Ime=Mme();const Lme=Gl(Ime);function Bme({async:t,appendTo:e,defer:o,id:a,nonce:n,src:r}){const i=document.createElement("script");t!==void 0&&(i.async=t),o!==void 0&&(i.defer=o),a&&(i.id=a),n&&i.setAttribute("nonce",n),i.src=r,(e==="head"?document.head:document.body).appendChild(i)}var Fme=function(t,e){var o={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(o[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(t);n<a.length;n++)e.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(t,a[n])&&(o[a[n]]=t[a[n]]);return o};let Dp=null,tm=!1;const Dv=new Set,Ov=new Set,jme=typeof window<"u",_d="___grecaptcha_cfg",i5=`onLoadCallback_${Math.random().toString(36).slice(2)}`;function zme(){if(!jme)return;function t(o){if(tm)o();else{window[_d]||(window[_d]={});const a=window[_d];a.fns||(a.fns=[]),a.fns.push(o)}}window.grecaptcha||(window.grecaptcha={}),window.grecaptcha.enterprise||(window.grecaptcha.enterprise={}),window.grecaptcha.ready=t,window.grecaptcha.enterprise.ready=t;function e(){tm=!0;for(const o of Ov)o();Ov.clear()}window[i5]=e}function qme({language:t,onLoadCallbackName:e,render:o,useEnterprise:a=!1,useRecaptchaNet:n=!1}){const r=n?"recaptcha.net":"google.com",i=a?"enterprise.js":"api.js",c=new URLSearchParams({render:o});return e&&c.set("onload",e),t&&c.set("hl",t),`https://www.${r}/recaptcha/${i}?${c.toString()}`}function Ume({language:t,render:e,scriptProps:o,useEnterprise:a,useRecaptchaNet:n}){const r={id:"google-recaptcha-v3"},i=qme({language:t,onLoadCallbackName:i5,render:e,useEnterprise:a,useRecaptchaNet:n});if(Dp){if(Dp!==i)throw new Error("reCAPTCHA has already been loaded with different parameters. Remove the existing script and load it again.");return}Dp=i,Bme(Object.assign(Object.assign(Object.assign({},r),o),{src:i}))}function $me(t){if(!window[_d])return;const e=window[_d];e.clients&&delete e.clients[t]}function Vme(t,e){var{onLoadCallback:o,onLoadCallbackName:a}=e,n=Fme(e,["onLoadCallback","onLoadCallbackName"]);if(Dv.size===0&&zme(),Ume(n),Dv.add(t),o&&(tm?o():Ov.add(o)),a){let r=function(){if(!a)return;const i=window[a];typeof i=="function"&&i()};tm?r():Ov.add(r)}}function Hme(t){var e,o,a;Dv.delete(t),Dv.size===0&&(window.grecaptcha=void 0,window[_d]=void 0,(e=document.querySelector(".grecaptcha-badge"))===null||e===void 0||e.remove(),(o=document.querySelector(`script[src="${Dp}"]`))===null||o===void 0||o.remove(),(a=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]'))===null||a===void 0||a.remove(),Dp=null,tm=!1)}let pN=!1;function Gme({container:t,children:e,language:o,reCaptchaKey:a,scriptProps:n,useEnterprise:r,useRecaptchaNet:i}){var c,d,u,m,h,f,v;const b=A.useId(),[S,T]=A.useState(null),[x,k]=A.useState(null),C=A.useRef(!1);A.useEffect(()=>{function R(){var O;const I=r?(O=window.grecaptcha)===null||O===void 0?void 0:O.enterprise:window.grecaptcha;if(!I)throw new Error("reCAPTCHA not found");if(!I.ready)throw new Error("reCAPTCHA ready callback not found");I.ready(()=>{T(I)})}return Vme(b,{language:o,onLoadCallback:R,onLoadCallbackName:n?.onLoadCallbackName,render:t?.element?"explicit":a,scriptProps:{appendTo:n?.appendTo,async:n?.async,defer:n?.defer,id:n?.id,nonce:n?.nonce},useEnterprise:r,useRecaptchaNet:i}),()=>{Hme(b),T(null)}},[t?.element,b,o,a,n?.appendTo,n?.async,n?.defer,n?.id,n?.nonce,n?.onLoadCallbackName,r,i]),A.useEffect(()=>{var R,O,I;if(!t?.element||!S?.render)return;const q={"error-callback":t.parameters.errorCallback,"expired-callback":t.parameters.expiredCallback,badge:((R=t.parameters)===null||R===void 0?void 0:R.badge)||"inline",callback:t.parameters.callback,sitekey:a,size:"invisible",tabindex:t.parameters.tabindex,theme:t.parameters.theme},B=typeof t?.element=="string"?document.getElementById(t.element):t?.element;if(!B)throw new Error("reCAPTCHA container element not found");const j=S.render(B,q);return!((O=t?.parameters)===null||O===void 0)&&O.hidden&&(pN||(Lme(!1,"reCAPTCHA badge hidden. See https://cloud.google.com/recaptcha/docs/faq#id_like_to_hide_the_badge_what_is_allowed for more information."),pN=!0),(I=B.querySelector(".grecaptcha-badge"))===null||I===void 0||I.style.setProperty("display","none")),k(j),C.current=!0,()=>{k(null),C.current=!1,$me(j),B.innerHTML=""}},[t?.element,(c=t?.parameters)===null||c===void 0?void 0:c.badge,(d=t?.parameters)===null||d===void 0?void 0:d.hidden,(u=t?.parameters)===null||u===void 0?void 0:u.callback,(m=t?.parameters)===null||m===void 0?void 0:m.errorCallback,(h=t?.parameters)===null||h===void 0?void 0:h.expiredCallback,(f=t?.parameters)===null||f===void 0?void 0:f.tabindex,(v=t?.parameters)===null||v===void 0?void 0:v.theme,S,a]);const E=!!t?.element,P=E?x:a,D=A.useMemo(()=>P!==null&&S?.execute?R=>{if(P===null||!S?.execute)throw new Error("reCAPTCHA has not been loaded");return E&&!C.current?(console.warn("Client ID not mounted"),null):S.execute(P,{action:R})}:void 0,[P,S,E]);return y.jsx(r5.Provider,{value:{container:t?.element,executeRecaptcha:D,reCaptchaInstance:S},children:e})}var Wme=class{cache=new Map;listeners=new Map;inFlightRequests=new Map;get(t){return this.cache.get(t)}set(t,e){const o={data:e,timestamp:Date.now(),isRefetching:!1};this.cache.set(t,o),this.notify(t)}setRefetching(t,e){const o=this.cache.get(t);o&&(o.isRefetching=e,this.notify(t))}clear(t){if(t)this.cache.delete(t),this.inFlightRequests.delete(t),this.notify(t);else{this.cache.clear(),this.inFlightRequests.clear();const e=Array.from(this.listeners.keys());for(const o of e)this.notify(o)}}getInFlightRequest(t){return this.inFlightRequests.get(t)}setInFlightRequest(t,e){this.inFlightRequests.set(t,e)}removeInFlightRequest(t){this.inFlightRequests.delete(t)}subscribe(t,e){return this.listeners.has(t)||this.listeners.set(t,new Set),this.listeners.get(t).add(e),()=>{const o=this.listeners.get(t);o&&(o.delete(e),o.size===0&&this.listeners.delete(t))}}notify(t){const e=this.listeners.get(t);if(e){const o=Array.from(e);for(const a of o)a()}}},Qn=new Wme;function Kme(){return()=>{}}function $s(){return A.useSyncExternalStore(Kme,()=>!0,()=>!1)}function l5(){const[t,e]=A.useState();return A.useEffect(()=>{const o=()=>{const n=document.documentElement.getAttribute("lang");e(n??void 0)};o();const a=new MutationObserver(n=>{for(const r of n)r.attributeName==="lang"&&o()});return a.observe(document.documentElement,{attributes:!0}),()=>{a.disconnect()}},[]),{lang:t}}function QE(){const[t,e]=A.useState("light");return A.useEffect(()=>{const o=()=>{var n;const r=document.documentElement.classList.contains("dark")||((n=document.documentElement.getAttribute("style"))==null?void 0:n.includes("color-scheme: dark"));e(r?"dark":"light")};o();const a=new MutationObserver(n=>{for(const r of n)(r.attributeName==="style"||r.attributeName==="class")&&o()});return a.observe(document.documentElement,{attributes:!0}),()=>{a.disconnect()}},[]),{theme:t}}function Yme({children:t}){const e=$s(),{captcha:o}=A.useContext(St);return o?.provider!=="google-recaptcha-v3"?t:y.jsxs(Gme,{reCaptchaKey:o.siteKey,useEnterprise:o.enterprise,useRecaptchaNet:o.recaptchaNet,children:[e&&y.jsx("style",{children:`
168
+ `),h=d;m.length>h;h++){var f=m[h];if(1024>=f.length){var v=u2.test(f)?f.replace(u2,"$1"):f;if(!v.match(/\S*Error: /)){for(var b of r){var S=b(v,a);if(S){u.push(S);break}}if(u.length>=50)break}}}return(function(T){if(!T.length)return[];var x=Array.from(T);return x.reverse(),x.slice(0,50).map((k=>{return Me({},k,{filename:k.filename||(C=x,C[C.length-1]||{}).filename,function:k.function||$d});var C}))})(u)}})("web:javascript",kle,_le)),this._instance=t,this.fo=(e=(o=this._instance.persistence)==null?void 0:o.get_property(o0))!==null&&e!==void 0?e:[],this.mo=hv(this.yo()),this.bo=new jle(this.mo)}onConfigChange(){this.mo=hv(this.yo()),this.bo.setConfig(this.mo)}onRemoteConfig(t){var e,o,a;if("errorTracking"in t){var n=(e=(o=t.errorTracking)==null?void 0:o.suppressionRules)!==null&&e!==void 0?e:[],r=(a=t.errorTracking)==null?void 0:a.captureExtensionExceptions;this.fo=n,this._instance.persistence&&this._instance.persistence.register({[o0]:this.fo,[a0]:r})}}get _o(){var t,e=!!this._instance.get_property(a0),o=this._instance.config.error_tracking.captureExtensionExceptions;return(t=o??e)!==null&&t!==void 0&&t}buildProperties(t,e){return this.po.buildFromUnknown(t,{syntheticException:e?.syntheticException,mechanism:{handled:e?.handled}})}addExceptionStep(t,e){if(this.mo.enabled)try{if(!Po(t)||t.trim().length===0)return void _s.warn("Ignoring exception step because message must be a non-empty string");var o=this.wo(e),{sanitizedProperties:a,droppedKeys:n}=(function(r){if(!r)return{sanitizedProperties:{},droppedKeys:[]};var i=[];return{sanitizedProperties:Object.keys(r).reduce(((c,d)=>Fle.has(d)?(i.push(d),c):(c[d]=r[d],c)),{}),droppedKeys:i}})(o);n.length>0&&_s.warn("Ignoring reserved exception step fields",{droppedKeys:n}),this.bo.add(Me({[pv]:t,[mv]:new Date().toISOString()},a))}catch(r){_s.error("Failed to add exception step. Ignoring breadcrumb.",r)}}sendExceptionEvent(t){try{var e=t.$exception_list;if(this.Io(e)){if(this.Co(e))return this.So("Exception dropped: matched a suppression rule"),void _s.info("Skipping exception capture because a suppression rule matched");if(!this._o&&this.xo(e))return this.So("Exception dropped: thrown by a browser extension"),void _s.info("Skipping exception capture because it was thrown by an extension");if(!this._instance.config.error_tracking.__capturePostHogExceptions&&this.ko(e))return this.So("Exception dropped: thrown by the PostHog SDK"),void _s.info("Skipping exception capture because it was thrown by the PostHog SDK")}var o=this.mo.enabled&&_t(t.$exception_steps)?this.To(t):t;try{var a=this._instance.capture("$exception",o,{_noTruncate:!0,_batchKey:"exceptionEvent",en:!0});return a&&this.bo.clear(),a}catch(n){return _s.error("Failed to capture exception event. Dropping this exception.",n),void this.bo.clear()}}catch(n){return void _s.error("Failed to process exception event. Ignoring this exception.",n)}}To(t){try{var e=this.bo.getAttachable();return e.length===0?t:Me({},t,{$exception_steps:e})}catch(o){return _s.error("Failed to read buffered exception steps. Capturing exception without steps.",o),t}}So(t){this.mo.enabled&&this.bo.add({[pv]:t,[mv]:new Date().toISOString()})}wo(t){return jo(t)?Me({},t):{}}yo(){var t,e;return(t=(e=this._instance.config.error_tracking)==null?void 0:e.exception_steps)!==null&&t!==void 0?t:{}}Co(t){if(t.length===0)return!1;var e=t.reduce(((o,a)=>{var{type:n,value:r}=a;return Po(n)&&n.length>0&&o.$exception_types.push(n),Po(r)&&r.length>0&&o.$exception_values.push(r),o}),{$exception_types:[],$exception_values:[]});return this.fo.some((o=>{var a=o.values.map((n=>{var r,i=y4[n.operator],c=It(n.value)?n.value:[n.value],d=(r=e[n.key])!==null&&r!==void 0?r:[];return c.length>0&&i(c,d)}));return o.type==="OR"?a.some(Boolean):a.every(Boolean)}))}xo(t){return t.flatMap((e=>{var o,a;return(o=(a=e.stacktrace)==null?void 0:a.frames)!==null&&o!==void 0?o:[]})).some((e=>e.filename&&e.filename.startsWith("chrome-extension://")))}ko(t){if(t.length>0){var e,o,a,n,r=(e=(o=t[0].stacktrace)==null?void 0:o.frames)!==null&&e!==void 0?e:[],i=r[r.length-1];return(a=i==null||(n=i.filename)==null?void 0:n.includes("posthog.com/static"))!==null&&a!==void 0&&a}return!1}Io(t){return!_t(t)&&It(t)}}},Yce=Me({productTours:class{get ni(){return this._instance.persistence}constructor(t){this.Ao=null,this.Eo=null,this._instance=t}initialize(){this.loadIfEnabled()}onRemoteConfig(t){"productTours"in t&&(this.ni&&this.ni.register({[r0]:!!t.productTours}),this.loadIfEnabled())}loadIfEnabled(){var t,e;this.Ao||(t=this._instance).config.disable_product_tours||(e=t.persistence)==null||!e.get_property(r0)||this.ur((()=>this.Ro()))}ur(t){var e,o;(e=ot.__PosthogExtensions__)!=null&&e.generateProductTours?t():(o=ot.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"product-tours",(a=>{a?Y2.error("Could not load product tours script",a):t()}))}Ro(){var t;!this.Ao&&(t=ot.__PosthogExtensions__)!=null&&t.generateProductTours&&(this.Ao=ot.__PosthogExtensions__.generateProductTours(this._instance,!0))}getProductTours(t,e){if(e===void 0&&(e=!1),!It(this.Eo)||e){var o=this.ni;if(o){var a=o.props[Pf];if(It(a)&&!e)return this.Eo=a,void t(a,{isLoaded:!0})}this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/product_tours/?token="+this._instance.config.token),method:"GET",callback:n=>{var r=n.statusCode;if(r!==200||!n.json){var i="Product Tours API could not be loaded, status: "+r;return Y2.error(i),void t([],{isLoaded:!1,error:i})}var c=It(n.json.product_tours)?n.json.product_tours:[];this.Eo=c,o&&o.register({[Pf]:c}),t(c,{isLoaded:!0})}})}else t(this.Eo,{isLoaded:!0})}getActiveProductTours(t){_t(this.Ao)?t([],{isLoaded:!1,error:"Product tours not loaded"}):this.Ao.getActiveProductTours(t)}showProductTour(t){var e;(e=this.Ao)==null||e.showTourById(t)}previewTour(t){this.Ao?this.Ao.previewTour(t):this.ur((()=>{var e;this.Ro(),(e=this.Ao)==null||e.previewTour(t)}))}dismissProductTour(){var t;(t=this.Ao)==null||t.dismissTour("user_clicked_skip")}nextStep(){var t;(t=this.Ao)==null||t.nextStep()}previousStep(){var t;(t=this.Ao)==null||t.previousStep()}clearCache(){var t;this.Eo=null,(t=this.ni)==null||t.unregister(Pf)}resetTour(t){var e;(e=this.Ao)==null||e.resetTour(t)}resetAllTours(){var t;(t=this.Ao)==null||t.resetAllTours()}cancelPendingTour(t){var e;(e=this.Ao)==null||e.cancelPendingTour(t)}}},wb),Zce={siteApps:class{constructor(t){this._instance=t,this.No=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}Mo(t,e){if(e){var o=this.globalsForEvent(e);this.No.push(o),this.No.length>1e3&&(this.No=this.No.slice(10))}}get siteAppLoaders(){var t;return(t=ot._POSTHOG_REMOTE_CONFIG)==null||(t=t[this._instance.config.token])==null?void 0:t.siteApps}initialize(){if(this.isEnabled){var t=this._instance._addCaptureHook(this.Mo.bind(this));this.Fo=()=>{t(),this.No=[],this.Fo=void 0}}}globalsForEvent(t){var e,o,a,n,r,i,c;if(!t)throw new Error("Event payload is required");var d={},u=this._instance.get_property("$groups")||[],m=this._instance.get_property("$stored_group_properties")||{};for(var[h,f]of Object.entries(m))d[h]={id:u[h],type:h,properties:f};var{$set_once:v,$set:b}=t;return{event:Me({},S3(t,zce),{properties:Me({},t.properties,b?{$set:Me({},(e=(o=t.properties)==null?void 0:o.$set)!==null&&e!==void 0?e:{},b)}:{},v?{$set_once:Me({},(a=(n=t.properties)==null?void 0:n.$set_once)!==null&&a!==void 0?a:{},v)}:{}),elements_chain:(r=(i=t.properties)==null?void 0:i.$elements_chain)!==null&&r!==void 0?r:"",distinct_id:(c=t.properties)==null?void 0:c.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:d}}setupSiteApp(t){var e=this.apps[t.id],o=()=>{var i;!e.errored&&this.No.length&&(Si.info("Processing "+this.No.length+" events for site app with id "+t.id),this.No.forEach((c=>e.processEvent==null?void 0:e.processEvent(c))),e.processedBuffer=!0),Object.values(this.apps).every((c=>c.processedBuffer||c.errored))&&((i=this.Fo)==null||i.call(this))},a=!1,n=i=>{e.errored=!i,e.loaded=!0,Si.info("Site app with id "+t.id+" "+(i?"loaded":"errored")),a&&o()};try{var{processEvent:r}=t.init({posthog:this._instance,callback(i){n(i)}});r&&(e.processEvent=r),a=!0}catch(i){Si.error(Z2+t.id,i),n(!1)}if(a&&e.loaded)try{o()}catch(i){Si.error("Error while processing buffered events PostHog app with config id "+t.id,i),e.errored=!0}}Oo(){var t=this.siteAppLoaders||[];for(var e of t)this.apps[e.id]={id:e.id,loaded:!1,errored:!1,processedBuffer:!1};for(var o of t)this.setupSiteApp(o)}Po(t){if(Object.keys(this.apps).length!==0){var e=this.globalsForEvent(t);for(var o of Object.values(this.apps))try{o.processEvent==null||o.processEvent(e)}catch(a){Si.error("Error while processing event "+t.event+" for site app "+o.id,a)}}}onRemoteConfig(t){var e,o,a,n=this;if((e=this.siteAppLoaders)!=null&&e.length)return this.isEnabled?(this.Oo(),void this._instance.on("eventCaptured",(d=>this.Po(d)))):void Si.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if((o=this.Fo)==null||o.call(this),(a=t.siteApps)!=null&&a.length)if(this.isEnabled){var r=function(d){var u;ot["__$$ph_site_app_"+d]=n._instance,(u=ot.__PosthogExtensions__)==null||u.loadSiteApp==null||u.loadSiteApp(n._instance,c,(m=>{if(m)return Si.error(Z2+d,m)}))};for(var{id:i,url:c}of t.siteApps)r(i)}else Si.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}},Qce={tracingHeaders:class{constructor(t){this.Lo=void 0,this.Do=void 0,this.so=()=>{var e,o,a=this.Bo()||[];$e(this.Lo)&&((e=ot.__PosthogExtensions__)==null||(e=e.tracingHeadersPatchFns)==null||e._patchXHR(a,this._instance.get_distinct_id(),this._instance.sessionManager)),$e(this.Do)&&((o=ot.__PosthogExtensions__)==null||(o=o.tracingHeadersPatchFns)==null||o._patchFetch(a,this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=t}initialize(){this.startIfEnabledOrStop()}ur(t){var e,o;(e=ot.__PosthogExtensions__)!=null&&e.tracingHeadersPatchFns&&t(),(o=ot.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"tracing-headers",(a=>{if(a)return Fce.error("failed to load script",a);t()}))}Bo(){var t;return(t=this._instance.config.addTracingHeaders)!==null&&t!==void 0?t:this._instance.config.__add_tracing_headers}startIfEnabledOrStop(){var t,e;this.Bo()?this.ur(this.so):((t=this.Lo)==null||t.call(this),(e=this.Do)==null||e.call(this),this.Lo=void 0,this.Do=void 0)}}},Jce=Me({surveys:class{get Bt(){return this._instance.config}constructor(t){this.jo=void 0,this._surveyManager=null,this.$o=!1,this.qo=[],this.Zo=null,this._instance=t,this._surveyEventReceiver=null}initialize(){this.loadIfEnabled()}onRemoteConfig(t){if(!this.Bt.disable_surveys){var e=t.surveys;if(_t(e))return oo.warn("Flags not loaded yet. Not loading surveys.");var o=It(e);this.jo=o?e.length>0:e,oo.info("flags response received, isSurveysEnabled: "+this.jo),this.loadIfEnabled()}}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var t=[],e=0;e<localStorage.length;e++){var o=localStorage.key(e);(o!=null&&o.startsWith(E0)||o!=null&&o.startsWith("inProgressSurvey_"))&&t.push(o)}t.forEach((a=>localStorage.removeItem(a)))}loadIfEnabled(){if(!this._surveyManager)if(this.$o)oo.info("Already initializing surveys, skipping...");else if(this.Bt.disable_surveys)oo.info(Q2);else if(this.Bt.cookieless_mode&&this._instance.consent.isOptedOut())oo.info("Not loading surveys in cookieless mode without consent.");else{var t=ot?.__PosthogExtensions__;if(t){if(!$e(this.jo)||this.Bt.advanced_enable_surveys){var e=this.jo||this.Bt.advanced_enable_surveys;this.$o=!0;try{var o=t.generateSurveys;if(o)return void this.Vo(o,e);var a=t.loadExternalDependency;if(!a)return void this.Ho(FE);a(this._instance,"surveys",(n=>{n||!t.generateSurveys?this.Ho("Could not load surveys script",n):this.Vo(t.generateSurveys,e)}))}catch(n){throw this.Ho("Error initializing surveys",n),n}finally{this.$o=!1}}}else oo.error("PostHog Extensions not found.")}}Vo(t,e){this._surveyManager=t(this._instance,e),this._surveyEventReceiver=new $ce(this._instance),oo.info("Surveys loaded successfully"),this.zo({isLoaded:!0})}Ho(t,e){oo.error(t,e),this.zo({isLoaded:!1,error:t})}onSurveysLoaded(t){return this.qo.push(t),this._surveyManager&&this.zo({isLoaded:!0}),()=>{this.qo=this.qo.filter((e=>e!==t))}}getSurveys(t,e){if(e===void 0&&(e=!1),this.Bt.disable_surveys)return oo.info(Q2),t([]);var o,a=this._instance.get_property(d0);if(a&&!e)return t(a,{isLoaded:!0});typeof Promise<"u"&&this.Zo?this.Zo.then((n=>{var{surveys:r,context:i}=n;return t(r,i)})):(typeof Promise<"u"&&(this.Zo=new Promise((n=>{o=n}))),this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this.Bt.token),method:"GET",timeout:this.Bt.surveys_request_timeout_ms,callback:n=>{var r;this.Zo=null;var i=n.statusCode;if(i!==200||!n.json){var c="Surveys API could not be loaded, status: "+i;oo.error(c);var d={isLoaded:!1,error:c};return t([],d),void(o==null||o({surveys:[],context:d}))}var u,m=n.json.surveys||[],h=m.filter((v=>(function(b){return!(!b.start_date||b.end_date)})(v)&&((function(b){var S;return!((S=b.conditions)==null||(S=S.events)==null||(S=S.values)==null||!S.length)})(v)||(function(b){var S;return!((S=b.conditions)==null||(S=S.actions)==null||(S=S.values)==null||!S.length)})(v))));h.length>0&&((u=this._surveyEventReceiver)==null||u.register(h)),(r=this._instance.persistence)==null||r.register({[d0]:m});var f={isLoaded:!0};t(m,f),o?.({surveys:m,context:f})}}))}zo(t){for(var e of this.qo)try{if(!t.isLoaded)return e([],t);this.getSurveys(e)}catch(o){oo.error("Error in survey callback",o)}}getActiveMatchingSurveys(t,e){if(e===void 0&&(e=!1),!_t(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(t,e);oo.warn("init was not called")}Uo(t){var e=null;return this.getSurveys((o=>{var a;e=(a=o.find((n=>n.id===t)))!==null&&a!==void 0?a:null})),e}Yo(t){if(_t(this._surveyManager))return{eligible:!1,reason:ux};var e=typeof t=="string"?this.Uo(t):t;return e?this._surveyManager.checkSurveyEligibility(e):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(t){if(_t(this._surveyManager))return oo.warn("init was not called"),{visible:!1,disabledReason:ux};var e=this.Yo(t);return{visible:e.eligible,disabledReason:e.reason}}canRenderSurveyAsync(t,e){return _t(this._surveyManager)?(oo.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:ux})):new Promise((o=>{this.getSurveys((a=>{var n,r=(n=a.find((c=>c.id===t)))!==null&&n!==void 0?n:null;if(r){var i=this.Yo(r);o({visible:i.eligible,disabledReason:i.reason})}else o({visible:!1,disabledReason:"Survey not found"})}),e)}))}renderSurvey(t,e,o){var a;if(_t(this._surveyManager))oo.warn("init was not called");else{var n=typeof t=="string"?this.Uo(t):t;if(n!=null&&n.id)if(Tce.includes(n.type)){var r=ze?.querySelector(e);if(r)return(a=n.appearance)!=null&&a.surveyPopupDelaySeconds?(oo.info("Rendering survey "+n.id+" with delay of "+n.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout((()=>{var i,c;oo.info("Rendering survey "+n.id+" with delay of "+((i=n.appearance)==null?void 0:i.surveyPopupDelaySeconds)+" seconds"),(c=this._surveyManager)==null||c.renderSurvey(n,r,o),oo.info("Survey "+n.id+" rendered")}),1e3*n.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(n,r,o);oo.warn("Survey element not found")}else oo.warn("Surveys of type "+n.type+" cannot be rendered in the app");else oo.warn("Survey not found")}}displaySurvey(t,e){var o;if(_t(this._surveyManager))oo.warn("init was not called");else{var a=this.Uo(t);if(a){var n=a;if((o=a.appearance)!=null&&o.surveyPopupDelaySeconds&&e.ignoreDelay&&(n=Me({},a,{appearance:Me({},a.appearance,{surveyPopupDelaySeconds:0})})),e.displayType!==y0.Popover&&e.initialResponses&&oo.warn("initialResponses is only supported for popover surveys. prefill will not be applied."),e.ignoreConditions===!1){var r=this.canRenderSurvey(a);if(!r.visible)return void oo.warn("Survey is not eligible to be displayed: ",r.disabledReason)}e.displayType!==y0.Inline?this._surveyManager.handlePopoverSurvey(n,e):this.renderSurvey(n,e.selector,e.properties)}else oo.warn("Survey not found")}}cancelPendingSurvey(t){_t(this._surveyManager)?oo.warn("init was not called"):this._surveyManager.cancelSurvey(t)}handlePageUnload(){var t;(t=this._surveyManager)==null||t.handlePageUnload()}}},wb),Xce={toolbar:class{constructor(t){this.instance=t}Go(t){ot.ph_toolbar_state=t}Wo(){var t;return(t=ot.ph_toolbar_state)!==null&&t!==void 0?t:0}initialize(){return this.maybeLoadToolbar()}maybeLoadToolbar(t,e,o){if(t===void 0&&(t=void 0),e===void 0&&(e=void 0),o===void 0&&(o=void 0),e4(this.instance.config)||!ge||!ze)return!1;t=t??ge.location,o=o??ge.history;try{if(!e){try{ge.localStorage.setItem("test","test"),ge.localStorage.removeItem("test")}catch{return!1}e=ge?.localStorage}var a,n=Vce||Ev(t.hash,"__posthog")||Ev(t.hash,"state"),r=n?m2((()=>JSON.parse(atob(decodeURIComponent(n)))))||m2((()=>JSON.parse(decodeURIComponent(n)))):null;return r&&r.action==="ph_authorize"?((a=r).source="url",a&&Object.keys(a).length>0&&(r.desiredHash?t.hash=r.desiredHash:o?o.replaceState(o.state,"",t.pathname+t.search):t.hash="")):((a=JSON.parse(e.getItem(J2)||"{}")).source="localstorage",delete a.userIntent),!(!a.token||this.instance.config.token!==a.token||(this.loadToolbar(a),0))}catch{return!1}}Xo(t){var e=ot.ph_load_toolbar||ot.ph_load_editor;!_t(e)&&As(e)?e(t,this.instance):X2.warn("No toolbar load function found")}loadToolbar(t){var e=!(ze==null||!ze.getElementById(Z3));if(!ge||e)return!1;var o=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,a=Me({token:this.instance.config.token},t,{apiURL:this.instance.requestRouter.endpointFor("ui")},o?{instrument:!1}:{});if(ge.localStorage.setItem(J2,JSON.stringify(Me({},a,{source:void 0}))),this.Wo()===2)this.Xo(a);else if(this.Wo()===0){var n;this.Go(1),(n=ot.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this.instance,"toolbar",(r=>{if(r)return X2.error("[Toolbar] Failed to load",r),void this.Go(0);this.Go(2),this.Xo(a)})),Xo(ge,"turbolinks:load",(()=>{this.Go(0),this.loadToolbar(a)}))}return!0}Jo(t){return this.loadToolbar(t)}maybeLoadEditor(t,e,o){return t===void 0&&(t=void 0),e===void 0&&(e=void 0),o===void 0&&(o=void 0),this.maybeLoadToolbar(t,e,o)}}},ede=Me({experiments:La},wb),tde={conversations:class{constructor(t){this.Ko=void 0,this._conversationsManager=null,this.Qo=!1,this.ea=null,this._instance=t}initialize(){this.loadIfEnabled()}onRemoteConfig(t){if(!this._instance.config.disable_conversations){var e=t.conversations;_t(e)||(Kr(e)?this.Ko=e:(this.Ko=e.enabled,this.ea=e),this.loadIfEnabled())}}reset(){var t;(t=this._conversationsManager)==null||t.reset(),this._conversationsManager=null,this.Ko=void 0,this.ea=null}loadIfEnabled(){if(!(this._conversationsManager||this.Qo||this._instance.config.disable_conversations||e4(this._instance.config)||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var t=ot?.__PosthogExtensions__;if(t&&!$e(this.Ko)&&this.Ko)if(this.ea&&this.ea.token){this.Qo=!0;try{var e=t.initConversations;if(e)return this.ta(e),void(this.Qo=!1);var o=t.loadExternalDependency;if(!o)return void this.ra(FE);o(this._instance,"conversations",(a=>{a||!t.initConversations?this.ra("Could not load conversations script",a):this.ta(t.initConversations),this.Qo=!1}))}catch(a){this.ra("Error initializing conversations",a),this.Qo=!1}}else Zn.error("Conversations enabled but missing token in remote config.")}}ta(t){if(this.ea)try{this._conversationsManager=t(this.ea,this._instance),Zn.info("Conversations loaded successfully")}catch(e){this.ra("Error completing conversations initialization",e)}else Zn.error("Cannot complete initialization: remote config is null")}ra(t,e){Zn.error(t,e),this._conversationsManager=null,this.Qo=!1}show(){this._conversationsManager?this._conversationsManager.show():Zn.warn("Conversations not loaded yet.")}hide(){this._conversationsManager&&this._conversationsManager.hide()}isAvailable(){return this.Ko===!0&&!zs(this._conversationsManager)}isVisible(){var t,e;return(t=(e=this._conversationsManager)==null?void 0:e.isVisible())!==null&&t!==void 0&&t}sendMessage(t,e,o){var a=this;return er((function*(){return a._conversationsManager?a._conversationsManager.sendMessage(t,e,o):(Zn.warn(Cl),null)}))()}getMessages(t,e){var o=this;return er((function*(){return o._conversationsManager?o._conversationsManager.getMessages(t,e):(Zn.warn(Cl),null)}))()}markAsRead(t){var e=this;return er((function*(){return e._conversationsManager?e._conversationsManager.markAsRead(t):(Zn.warn(Cl),null)}))()}getTickets(t){var e=this;return er((function*(){return e._conversationsManager?e._conversationsManager.getTickets(t):(Zn.warn(Cl),null)}))()}requestRestoreLink(t){var e=this;return er((function*(){return e._conversationsManager?e._conversationsManager.requestRestoreLink(t):(Zn.warn(Cl),null)}))()}restoreFromToken(t){var e=this;return er((function*(){return e._conversationsManager?e._conversationsManager.restoreFromToken(t):(Zn.warn(Cl),null)}))()}restoreFromUrlToken(){var t=this;return er((function*(){return t._conversationsManager?t._conversationsManager.restoreFromUrlToken():(Zn.warn(Cl),null)}))()}getCurrentTicketId(){var t,e;return(t=(e=this._conversationsManager)==null?void 0:e.getCurrentTicketId())!==null&&t!==void 0?t:null}getWidgetSessionId(){var t,e;return(t=(e=this._conversationsManager)==null?void 0:e.getWidgetSessionId())!==null&&t!==void 0?t:null}un(){var t;(t=this._conversationsManager)==null||t.setIdentity()}hn(){var t;(t=this._conversationsManager)==null||t.clearIdentity()}}},ode={logs:class{constructor(t){var e;this.ia=!1,this.na=!1,this.Gt=ko("[logs]"),this.sa=[],this.oa=0,this.aa=0,this.la=!1,this._instance=t,this._instance&&(e=this._instance.config.logs)!=null&&e.captureConsoleLogs&&(this.ia=!0)}initialize(){this.loadIfEnabled()}onRemoteConfig(t){var e,o=(e=t.logs)==null?void 0:e.captureConsoleLogs;!_t(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 t=ot?.__PosthogExtensions__;if(t){var e=t.loadExternalDependency;e?e(this._instance,"logs",(o=>{var a;o||(a=t.logs)==null||!a.initializeLogs?this.Gt.error("Could not load logs script",o):(t.logs.initializeLogs(this._instance),this.na=!0)})):this.Gt.error(FE)}else this.Gt.error("PostHog Extensions not found.")}}captureLog(t){var e,o,a,n,r,i;if(this._instance.is_capturing())if(t&&t.body){var c=(e=(o=this._instance.config.logs)==null?void 0:o.flushIntervalMs)!==null&&e!==void 0?e:3e3,d=(a=(n=this._instance.config.logs)==null?void 0:n.maxLogsPerInterval)!==null&&a!==void 0?a:1e3,u=Date.now();if(c>u-this.aa||(this.aa=u,this.oa=0,this.la=!1),d>this.oa){this.oa++;var m=(function(h,f){var v=h.level||"info",{text:b,number:S}=z3[v]||ble,T=String(Date.now())+"000000",x={};f.distinctId&&(x.posthogDistinctId=f.distinctId),f.sessionId&&(x.sessionId=f.sessionId),f.currentUrl&&(x["url.full"]=f.currentUrl),f.screenName&&(x["screen.name"]=f.screenName),f.appState&&(x["app.state"]=f.appState),f.activeFeatureFlags&&f.activeFeatureFlags.length>0&&(x.feature_flags=f.activeFeatureFlags);var k=Me({},x,h.attributes||{}),C={timeUnixNano:T,observedTimeUnixNano:T,severityNumber:S,severityText:b,body:{stringValue:h.body},attributes:d2(k)};return h.trace_id&&(C.traceId=h.trace_id),h.span_id&&(C.spanId=h.span_id),$e(h.trace_flags)||(C.flags=h.trace_flags),C})(t,this.ua());this.sa.push({record:m}),((r=(i=this._instance.config.logs)==null?void 0:i.maxBufferSize)!==null&&r!==void 0?r: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:(t,e)=>this.captureLog({body:t,level:"trace",attributes:e}),debug:(t,e)=>this.captureLog({body:t,level:"debug",attributes:e}),info:(t,e)=>this.captureLog({body:t,level:"info",attributes:e}),warn:(t,e)=>this.captureLog({body:t,level:"warn",attributes:e}),error:(t,e)=>this.captureLog({body:t,level:"error",attributes:e}),fatal:(t,e)=>this.captureLog({body:t,level:"fatal",attributes:e})}),this.ca}flushLogs(t){if(this.jr&&(clearTimeout(this.jr),this.jr=void 0),this.sa.length!==0){var e=this.sa;this.sa=[];var o=this._instance.config.logs,a=Me({"service.name":o?.serviceName||"unknown_service"},o?.environment&&{"deployment.environment":o.environment},o?.serviceVersion&&{"service.version":o.serviceVersion},o?.resourceAttributes),n=(function(i,c,d,u){return{resourceLogs:[{resource:{attributes:d2(c)},scopeLogs:[{scope:{name:d,version:u},logRecords:i}]}]}})(e.map((i=>i.record)),a,Qa.LIB_NAME,Qa.LIB_VERSION),r=this._instance.requestRouter.endpointFor("api","/i/v1/logs")+"?token="+encodeURIComponent(this._instance.config.token);this._instance.Vi({method:"POST",url:r,data:n,compression:"best-available",batchKey:"logs",transport:t})}}ha(){var t,e;this.jr||(this.jr=setTimeout((()=>{this.jr=void 0,this.flushLogs()}),(t=(e=this._instance.config.logs)==null?void 0:e.flushIntervalMs)!==null&&t!==void 0?t:3e3))}ua(){var t,e={};if(e.distinctId=this._instance.get_distinct_id(),this._instance.sessionManager){var{sessionId:o}=this._instance.sessionManager.checkAndGetSessionAndWindowId(!0);e.sessionId=o}if(ot!=null&&(t=ot.location)!=null&&t.href&&(e.currentUrl=ot.location.href),this._instance.featureFlags){var a=this._instance.featureFlags.getFlags();a&&a.length>0&&(e.activeFeatureFlags=a)}return e}}},ade=Me({},wb,Gce,Wce,Kce,Yce,Zce,Jce,Qce,Xce,ede,tde,ode);tr.__defaultExtensionClasses=Me({},ade);var aN,qs=(aN=Ap[dd]=new tr,(function(){function t(){t.done||(t.done=!0,x4=!1,yo(Ap,(function(e){e._dom_loaded()})))}ze!=null&&ze.addEventListener?ze.readyState==="complete"?t():Xo(ze,"DOMContentLoaded",t,{capture:!1}):ge&&Ue.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")})(),aN);let Is=!1,R0=null,nN=!1;const HE="studio:lp-distinct-id",D4="mesh:lp-distinct-id",mx="/api/_reports/link-token/",nde=1440*60*1e3;function O4(t){const e="https://analytics.invalid",o=/^[a-z][a-z\d+.-]*:\/\//i.test(t),a=t.startsWith("//");try{const n=new URL(t,e);let r=!1;for(const i of["key","d"])n.searchParams.has(i)&&(n.searchParams.delete(i),r=!0);return n.pathname.startsWith(mx)&&n.pathname!==mx&&(n.pathname=`${mx}redacted`,r=!0),r?o?n.toString():a?`//${n.host}${n.pathname}${n.search}${n.hash}`:`${n.pathname}${n.search}${n.hash}`:t}catch{return t}}function hx(t){return Object.fromEntries(Object.entries(t).map(([e,o])=>[e,typeof o=="string"?O4(o):o]))}const rde=t=>t?(t.properties=hx(t.properties),t.$set&&(t.$set=hx(t.$set)),t.$set_once&&(t.$set_once=hx(t.$set_once)),t):null;function N4(){try{const t=window.localStorage.getItem(HE)??window.localStorage.getItem(D4);if(!t)return;const{id:e,ts:o}=JSON.parse(t);return typeof e!="string"||!e||typeof o!="number"?void 0:Date.now()-o<=nde?e:void 0}catch{return}}function sde(){try{window.localStorage.removeItem(HE),window.localStorage.removeItem(D4)}catch{}}function ide(){try{const t=new URL(window.location.href),e=t.searchParams.get("ph_did");e&&(window.localStorage.setItem(HE,JSON.stringify({id:e,ts:Date.now()})),t.searchParams.delete("ph_did"),window.history.replaceState(window.history.state,"",t.toString()));const o=e??N4();return o?Object.keys(window.localStorage).some(n=>n.startsWith("ph_")&&n.endsWith("_posthog"))?void 0:o:void 0}catch{return}}function lde(t){const e=N4();if(e&&(sde(),e!==t))try{qs.alias(e)}catch{}}function cde(t,e){if(Is||typeof window>"u")return;const o=ide();qs.init(t,{api_host:e,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:rde,capture_performance:{web_vitals:!0,network_timing:!0},capture_exceptions:!0,session_recording:{maskAllInputs:!0,blockClass:"ph-no-capture",maskCapturedNetworkRequestFn:a=>({...a,...typeof a.name=="string"?{name:O4(a.name)}:{}})},person_profiles:"identified_only"}),Is=!0}function dde(t,e){Is&&(qs.identify(t,e),lde(t))}function ude(){Is&&(qs.reset(),R0=null)}function M4(t,e){Is&&qs.capture(t,e)}function jTe(){return Is}function zTe(){if(!Is||nN||typeof performance>"u")return;nN=!0;const t=performance.getEntriesByType("navigation")[0],e=o=>{const a=performance.getEntriesByName(o,"measure")[0];return a?Math.round(a.duration):void 0};M4("perf_app_bootstrap",{nav_type:t?.type,ttfb_ms:t?Math.round(t.responseStart):void 0,dom_interactive_ms:t?Math.round(t.domInteractive):void 0,dom_content_loaded_ms:t?Math.round(t.domContentLoadedEventEnd):void 0,config_fetch_ms:e("studio:config-fetch"),active_org_fetch_ms:e("studio:active-org-fetch"),time_to_shell_ms:Math.round(performance.now()),cache_restored:RJ(),org_cache_restored:DJ()})}function qTe(t,e){Is&&t!==R0&&(qs.group("organization",t,e),R0=t)}function I4(t,e){if(Is)try{qs.captureException(t,e)}catch{}}const pde=["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 mde(t){const e=ye.c(3),{children:o}=t;let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=y.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:pde}}),e[0]=a):a=e[0];let n;return e[1]!==o?(n=y.jsxs("div",{className:"relative flex items-center justify-center min-h-screen bg-background overflow-hidden",children:[a,y.jsx("div",{className:"relative flex flex-col items-center text-center space-y-4 max-w-sm px-6",children:o})]}),e[1]=o,e[2]=n):n=e[2],n}function L4(t){const e=ye.c(20),{orgName:o}=t,a=Ua(),n=hde;let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r=y.jsx("div",{className:"bg-muted p-3 rounded-full","aria-hidden":"true",children:y.jsx(Jj,{className:"h-6 w-6 text-muted-foreground"})}),e[0]=r):r=e[0];let i;e[1]!==a?(i=a("common.archivedOrgScreen.orgUnavailable"),e[1]=a,e[2]=i):i=e[2];let c;e[3]!==i?(c=y.jsx("h3",{className:"text-lg font-medium",children:i}),e[3]=i,e[4]=c):c=e[4];let d;e[5]!==o||e[6]!==a?(d=o?a("common.archivedOrgScreen.deletedWithName",{orgName:o}):a("common.archivedOrgScreen.deletedGeneric"),e[5]=o,e[6]=a,e[7]=d):d=e[7];let u;e[8]!==d?(u=y.jsx("p",{className:"text-sm text-muted-foreground",children:d}),e[8]=d,e[9]=u):u=e[9];let m;e[10]!==c||e[11]!==u?(m=y.jsxs("div",{className:"space-y-2",children:[c,u]}),e[10]=c,e[11]=u,e[12]=m):m=e[12];let h;e[13]!==a?(h=a("common.goHome"),e[13]=a,e[14]=h):h=e[14];let f;e[15]!==h?(f=y.jsx(bn,{onClick:n,children:h}),e[15]=h,e[16]=f):f=e[16];let v;return e[17]!==m||e[18]!==f?(v=y.jsxs(mde,{children:[r,m,f]}),e[17]=m,e[18]=f,e[19]=v):v=e[19],v}function hde(){window.location.href="/"}function gde(){const t=ye.c(3);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={from:"/shell/$org"},t[0]=e):e=t[0];const{org:o}=sm(e);let a;return t[1]!==o?(a=y.jsx(bn,{variant:"outline",size:"sm",asChild:!0,children:y.jsx(Wl,{to:"/$org/settings/profile",params:{org:o},children:"Go to your profile"})}),t[1]=o,t[2]=a):a=t[2],a}function fde(t){const e=ye.c(13),{area:o,description:a,action:n}=t,r=o?`No access to ${o}`:"No access",i=a??"Your role doesn't include permission for this section. Ask an organization admin to update your role if you need it.";let c;e[0]===Symbol.for("react.memo_cache_sentinel")?(c=y.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted text-muted-foreground",children:y.jsx(i3,{size:28})}),e[0]=c):c=e[0];let d;e[1]!==r?(d=y.jsx("h3",{className:"text-lg font-medium",children:r}),e[1]=r,e[2]=d):d=e[2];let u;e[3]!==i?(u=y.jsx("p",{className:"mx-auto max-w-sm text-sm text-muted-foreground",children:i}),e[3]=i,e[4]=u):u=e[4];let m;e[5]!==d||e[6]!==u?(m=y.jsxs("div",{className:"space-y-1",children:[d,u]}),e[5]=d,e[6]=u,e[7]=m):m=e[7];let h;e[8]!==n?(h=n??y.jsx(gde,{}),e[8]=n,e[9]=h):h=e[9];let f;return e[10]!==m||e[11]!==h?(f=y.jsxs("div",{className:"flex h-full min-h-[60vh] flex-1 flex-col items-center justify-center gap-4 p-6 text-center",children:[c,m,h]}),e[10]=m,e[11]=h,e[12]=f):f=e[12],f}const rN="__studio_chunk_reload_ts";function B4(t){return t?.message===ree}function vde(t){return!!t?.message?.includes("Access denied")}function sN(t){if(!t)return!1;const e=t.message||"";return e.includes("Failed to fetch dynamically imported module")||e.includes("Importing a module script failed")||e.includes("error loading dynamically imported module")||e.includes("Failed to fetch")&&t.name==="TypeError"}class bde extends A.Component{state={hasError:!1,error:null};static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,o){console.error("Uncaught error:",e,o),I4(e,{boundary:"default",error_name:e.name,error_message:e.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:e,t:o}=this.props;return typeof e=="function"?e({error:this.state.error,resetError:this.resetError}):e!==void 0?e:B4(this.state.error)?y.jsx(L4,{}):vde(this.state.error)?y.jsx(fde,{}):y.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[y.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:y.jsx(PE,{className:"h-6 w-6 text-destructive"})}),y.jsxs("div",{className:"space-y-2",children:[y.jsx("h3",{className:"text-lg font-medium",children:o("common.errorBoundary.somethingWentWrong")}),y.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||o("common.errorBoundary.unexpectedError")})]}),y.jsx(bn,{variant:"outline",onClick:this.resetError,children:o("common.errorBoundary.tryAgain")})]})}return this.props.children}}function yde(t){const e=ye.c(3),o=Ua();let a;return e[0]!==t||e[1]!==o?(a=y.jsx(bde,{...t,t:o}),e[0]=t,e[1]=o,e[2]=a):a=e[2],a}class Sde extends A.Component{state={hasError:!1,error:null};static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,o){console.error("Uncaught error:",e,o);const a=sN(e);if(I4(e,{boundary:"chunk_root",is_chunk_load_error:a,error_name:e.name,error_message:e.message,component_stack:o.componentStack??null,route:typeof window<"u"?window.location.pathname:null}),!a)return;const n=sessionStorage.getItem(rN),r=Date.now();(!n||r-Number(n)>1e4)&&(sessionStorage.setItem(rN,String(r)),window.location.reload())}render(){const{t:e}=this.props;return this.state.hasError&&sN(this.state.error)?y.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[y.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:y.jsx(l3,{className:"h-6 w-6 text-primary"})}),y.jsxs("div",{className:"space-y-2",children:[y.jsx("h3",{className:"text-lg font-medium",children:e("common.errorBoundary.newVersionAvailable")}),y.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:e("common.errorBoundary.newVersionDeployed")})]}),y.jsx(bn,{onClick:()=>window.location.reload(),children:e("common.errorBoundary.refresh")})]}):this.state.hasError?B4(this.state.error)?y.jsx(L4,{}):y.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[y.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:y.jsx(PE,{className:"h-6 w-6 text-destructive"})}),y.jsxs("div",{className:"space-y-2",children:[y.jsx("h3",{className:"text-lg font-medium",children:e("common.errorBoundary.somethingWentWrong")}),y.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||e("common.errorBoundary.unexpectedError")})]}),y.jsx(bn,{variant:"outline",onClick:()=>this.setState({hasError:!1,error:null}),children:e("common.errorBoundary.tryAgain")})]}):this.props.children}}function wde(t){const e=ye.c(3),o=Ua();let a;return e[0]!==t||e[1]!==o?(a=y.jsx(Sde,{...t,t:o}),e[0]=t,e[1]=o,e[2]=a):a=e[2],a}const xde=Ql("surface flex flex-col gap-4",{variants:{size:{default:"p-5",tile:"gap-3 p-4",flush:"p-0"},interactive:{true:"surface-interactive focus-ring cursor-pointer text-left",false:""}},defaultVariants:{size:"default",interactive:!1}});function Tde(t){const e=ye.c(14);let o,a,n,r,i;e[0]!==t?({className:o,size:r,interactive:a,asChild:i,...n}=t,e[0]=t,e[1]=o,e[2]=a,e[3]=n,e[4]=r,e[5]=i):(o=e[1],a=e[2],n=e[3],r=e[4],i=e[5]);const d=(i===void 0?!1:i)?lb:"div";let u;e[6]!==o||e[7]!==a||e[8]!==r?(u=Ze(xde({size:r,interactive:a}),o),e[6]=o,e[7]=a,e[8]=r,e[9]=u):u=e[9];let m;return e[10]!==d||e[11]!==n||e[12]!==u?(m=y.jsx(d,{"data-slot":"card",className:u,...n}),e[10]=d,e[11]=n,e[12]=u,e[13]=m):m=e[13],m}function UTe(t){const e=ye.c(11),{title:o,description:a,docsHref:n,actions:r,className:i,children:c}=t;let d;e[0]!==i?(d=Ze("flex flex-col gap-3",i),e[0]=i,e[1]=d):d=e[1];let u;e[2]!==r||e[3]!==a||e[4]!==n||e[5]!==o?(u=(o||a||n||r)&&y.jsxs("div",{className:"flex items-center justify-between gap-3 px-4",children:[y.jsxs("div",{className:"flex flex-col gap-1 min-w-0",children:[o&&y.jsx("h2",{className:"text-base font-medium leading-tight",children:o}),(a||n)&&y.jsxs("p",{className:"text-sm text-muted-foreground leading-snug",children:[a,n&&y.jsxs("a",{href:n,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-0.5 ml-1 text-foreground hover:underline",children:["Docs ",y.jsx(Xj,{size:12})]})]})]}),r&&y.jsx("div",{className:"shrink-0",children:r})]}),e[2]=r,e[3]=a,e[4]=n,e[5]=o,e[6]=u):u=e[6];let m;return e[7]!==c||e[8]!==d||e[9]!==u?(m=y.jsxs("section",{className:d,children:[u,c]}),e[7]=c,e[8]=d,e[9]=u,e[10]=m):m=e[10],m}function $Te(t){const e=ye.c(11),{className:o,children:a}=t;let n,r,i;if(e[0]!==a||e[1]!==o){const d=A.Children.toArray(a).filter(A.isValidElement);n=Tde,e[5]!==o?(r=Ze("p-0 gap-0 overflow-hidden",o),e[5]=o,e[6]=r):r=e[6],i=d.map(kde),e[0]=a,e[1]=o,e[2]=n,e[3]=r,e[4]=i}else n=e[2],r=e[3],i=e[4];let c;return e[7]!==n||e[8]!==r||e[9]!==i?(c=y.jsx(n,{className:r,children:i}),e[7]=n,e[8]=r,e[9]=i,e[10]=c):c=e[10],c}function kde(t,e){return y.jsxs("div",{children:[e>0&&y.jsx("div",{className:"h-px bg-border mx-5"}),t]},e)}function VTe(t){const e=ye.c(27),{icon:o,title:a,description:n,action:r,onClick:i,className:c,children:d}=t,u=d?"flex items-start gap-3 px-4 py-4":"flex items-center gap-3 px-4 py-4",m=i&&"hover:bg-accent cursor-pointer";let h;e[0]!==c||e[1]!==u||e[2]!==m?(h=Ze(u,m,c),e[0]=c,e[1]=u,e[2]=m,e[3]=h):h=e[3];const f=i?"button":void 0,v=i?0:void 0;let b;e[4]!==i?(b=i?P=>{P.target===P.currentTarget&&(P.key==="Enter"||P.key===" ")&&(P.preventDefault(),i())}:void 0,e[4]=i,e[5]=b):b=e[5];let S;e[6]!==o?(S=o&&y.jsx("div",{className:"size-8 shrink-0 rounded-lg bg-muted/60 flex items-center justify-center text-muted-foreground",children:o}),e[6]=o,e[7]=S):S=e[7];let T;e[8]!==a?(T=y.jsx("div",{className:"text-sm font-medium",children:a}),e[8]=a,e[9]=T):T=e[9];let x;e[10]!==n?(x=n&&y.jsx("p",{className:"text-xs text-muted-foreground mt-0.5 leading-relaxed",children:n}),e[10]=n,e[11]=x):x=e[11];let k;e[12]!==d||e[13]!==T||e[14]!==x?(k=y.jsxs("div",{className:"flex-1 min-w-0",children:[T,x,d]}),e[12]=d,e[13]=T,e[14]=x,e[15]=k):k=e[15];let C;e[16]!==r?(C=r&&y.jsx("div",{className:"shrink-0",onClick:Ede,children:r}),e[16]=r,e[17]=C):C=e[17];let E;return e[18]!==i||e[19]!==k||e[20]!==C||e[21]!==h||e[22]!==f||e[23]!==v||e[24]!==b||e[25]!==S?(E=y.jsxs("div",{className:h,onClick:i,role:f,tabIndex:v,onKeyDown:b,children:[S,k,C]}),e[18]=i,e[19]=k,e[20]=C,e[21]=h,e[22]=f,e[23]=v,e[24]=b,e[25]=S,e[26]=E):E=e[26],E}function Ede(t){return t.stopPropagation()}function HTe(t){const e=ye.c(5),{className:o,children:a}=t;let n;e[0]!==o?(n=Ze("px-4 py-4",o),e[0]=o,e[1]=n):n=e[1];let r;return e[2]!==a||e[3]!==n?(r=y.jsx("div",{className:n,children:a}),e[2]=a,e[3]=n,e[4]=r):r=e[4],r}function GTe(t){const e=ye.c(5),{children:o,className:a}=t;let n;e[0]!==a?(n=Ze("flex items-center justify-end gap-2 px-4 py-4",a),e[0]=a,e[1]=n):n=e[1];let r;return e[2]!==o||e[3]!==n?(r=y.jsx("div",{className:n,children:o}),e[2]=o,e[3]=n,e[4]=r):r=e[4],r}function Cde(t){const e=ye.c(5),{className:o,children:a}=t;let n;e[0]!==o?(n=Ze("flex flex-col gap-10",o),e[0]=o,e[1]=n):n=e[1];let r;return e[2]!==a||e[3]!==n?(r=y.jsx("div",{className:n,children:a}),e[2]=a,e[3]=n,e[4]=r):r=e[4],r}const xb={connect:{key:"connect",titleKey:"settings.connectClients.pageTitle",tabs:[],ownedRoutes:["/$org/settings/api-keys"]},members:{key:"members",titleKey:"orgs.members.title",tabs:[{key:"members",icon:p3,labelKey:"orgs.members.title",to:"/$org/settings/members",requires:"members:manage"},{key:"roles",icon:d3,labelKey:"settings.roles.pageTitle",to:"/$org/settings/roles",privilegedOnly:!0}]},billing:{key:"billing",titleKey:"settings.nav.billing",tabs:[{key:"ai-providers",icon:o3,labelKey:"settings.nav.aiProviders",to:"/$org/settings/ai-providers",requires:"ai-providers:manage"},{key:"infra",icon:c3,labelKey:"settings.subnav.infrastructure",to:"/$org/settings/infra-billing",requires:"members:manage",requiresOwnedSites:!0}]},repositories:{key:"repositories",titleKey:"settings.nav.repositories",tabs:[],ownedRoutes:["/$org/settings/repositories"]},storage:{key:"storage",titleKey:"settings.nav.storage",tabs:[{key:"buckets",icon:r3,labelKey:"settings.nav.buckets",to:"/$org/settings/buckets",requires:"file-configs:manage"},{key:"synced-repos",icon:n3,labelKey:"settings.nav.syncedRepos",to:"/$org/settings/synced-repos",requires:"file-configs:manage"}]}};function WTe(t){const e=xb[t];return[...e.tabs.map(o=>o.to),...e.ownedRoutes??[]]}function KTe(t){return xb[t].tabs.length>0}const _de=new Set(["owner","admin"]);function F4(){const t=ye.c(11),{org:e,locator:o}=Yi();let a;t[0]!==o?(a=no.myCapabilities(o),t[0]=o,t[1]=a):a=t[1];let n;t[2]!==e?(n=async()=>{const m=await fetch(`/api/auth/custom/my-capabilities/${encodeURIComponent(e.slug)}`,{credentials:"include"});if(!m.ok)throw new Error(`my-capabilities request failed: ${m.status}`);return await m.json()},t[2]=e,t[3]=n):n=t[3];let r;t[4]!==a||t[5]!==n?(r={queryKey:a,queryFn:n,staleTime:3e4,retry:2},t[4]=a,t[5]=n,t[6]=r):r=t[6];const{data:i,isLoading:c,isError:d}=Ls(r);let u;return t[7]!==i||t[8]!==d||t[9]!==c?(u={data:i,loading:c,error:d},t[7]=i,t[8]=d,t[9]=c,t[10]=u):u=t[10],u}function YTe(t){const e=ye.c(8),{data:o,loading:a,error:n}=F4();if(a){let u;return e[0]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!1,loading:!0,error:!1,reason:"loading"},e[0]=u):u=e[0],u}if(n){let u;return e[1]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!1,loading:!1,error:!0,reason:"error"},e[1]=u):u=e[1],u}const r=o?.role??null;if(!r){let u;return e[2]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!1,loading:!1,error:!1,reason:"denied"},e[2]=u):u=e[2],u}if(r==="owner"){let u;return e[3]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!0,loading:!1,error:!1,reason:"owner"},e[3]=u):u=e[3],u}if(r==="admin"){let u;return e[4]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!0,loading:!1,error:!1,reason:"admin"},e[4]=u):u=e[4],u}const i=o?.capabilities?.[t]===!0,c=i?"role":"denied";let d;return e[5]!==i||e[6]!==c?(d={granted:i,loading:!1,error:!1,reason:c},e[5]=i,e[6]=c,e[7]=d):d=e[7],d}function j4(){const t=ye.c(10),{data:e,loading:o,error:a}=F4(),n=e?.role??void 0;let r;t[0]!==n?(r=n?_de.has(n):!1,t[0]=n,t[1]=r):r=t[1];const i=r;let c;t[2]!==e?.capabilities?(c=e?.capabilities??{},t[2]=e?.capabilities,t[3]=c):c=t[3];const d=c;let u;return t[4]!==a||t[5]!==i||t[6]!==o||t[7]!==n||t[8]!==d?(u={capabilities:d,loading:o,error:a,isPrivileged:i,roleSlug:n},t[4]=a,t[5]=i,t[6]=o,t[7]=n,t[8]=d,t[9]=u):u=t[9],u}function Pde(){const t=ye.c(13),{org:e}=Yi(),o=Yk(),{capabilities:a,isPrivileged:n}=j4(),r=n||!!a["members:manage"];let i;t[0]!==e.id?(i=no.infraBillingSites(e.id),t[0]=e.id,t[1]=i):i=t[1];const c=!!e.id&&r;let d;t[2]!==o?(d=()=>o.call("INFRA_BILLING_SITES_LIST",{}),t[2]=o,t[3]=d):d=t[3];let u;t[4]!==i||t[5]!==c||t[6]!==d?(u={queryKey:i,staleTime:3e5,enabled:c,queryFn:d},t[4]=i,t[5]=c,t[6]=d,t[7]=u):u=t[7];const{data:m,isLoading:h}=Ls(u);let f;t[8]!==m?.sites?(f=m?.sites.map(Ade)??[],t[8]=m?.sites,t[9]=f):f=t[9];let v;return t[10]!==h||t[11]!==f?(v={sites:f,isLoading:h},t[10]=h,t[11]=f,t[12]=v):v=t[12],v}function Ade(t){return t.slug}function ZTe(){const t=ye.c(7),e=Yk(),o=Ua();let a;t[0]!==e?(a=i=>e.call("INFRA_BILLING_PORTAL",{siteSlugs:i}),t[0]=e,t[1]=a):a=t[1];let n;t[2]!==o?(n=i=>Bd.error(o("settings.infraBilling.portalError",{message:i.message})),t[2]=o,t[3]=n):n=t[3];let r;return t[4]!==a||t[5]!==n?(r={mutationFn:a,onSuccess:Rde,onError:n},t[4]=a,t[5]=n,t[6]=r):r=t[6],Sf(r)}function Rde(t){const{url:e}=t;return window.open(e,"_blank","noopener,noreferrer")}function QTe(t,e){const o=ye.c(14),{org:a}=Yi(),n=Yk();let r,i,c;o[0]!==a.id||o[1]!==e||o[2]!==t?(r=[...t].sort(),c=Ls,i=no.infraBilling(a.id,r.join(","),e),o[0]=a.id,o[1]=e,o[2]=t,o[3]=r,o[4]=i,o[5]=c):(r=o[3],i=o[4],c=o[5]);const d=r.length>0;let u;o[6]!==e||o[7]!==r||o[8]!==n?(u=()=>n.call("INFRA_BILLING_GET",{siteSlugs:r,period:e}),o[6]=e,o[7]=r,o[8]=n,o[9]=u):u=o[9];let m;return o[10]!==i||o[11]!==d||o[12]!==u?(m={queryKey:i,enabled:d,staleTime:6e4,queryFn:u},o[10]=i,o[11]=d,o[12]=u,o[13]=m):m=o[13],c(m)}function Dde(){const t=ye.c(7),{capabilities:e,isPrivileged:o,loading:a,error:n}=j4(),{sites:r,isLoading:i}=Pde(),c=r.length>0;let d;if(t[0]!==e||t[1]!==n||t[2]!==o||t[3]!==a||t[4]!==c||t[5]!==i){const u=m=>m.requiresOwnedSites&&!c&&!i?!1:a||n?!0:m.privilegedOnly?o:m.requires?o||e[m.requires]:!0;d=Object.fromEntries(Object.values(xb).map(m=>[m.key,m.tabs.filter(u)])),t[0]=e,t[1]=n,t[2]=o,t[3]=a,t[4]=c,t[5]=i,t[6]=d}else d=t[6];return d}function Ode(t){const e=ye.c(16),{group:o}=t,a=Ua();let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={from:"/shell/$org"},e[0]=n):n=e[0];const{org:r}=sm(n);let i;e[1]===Symbol.for("react.memo_cache_sentinel")?(i={select:Nde},e[1]=i):i=e[1];const c=Sk(i),d=Dde()[o],{titleKey:u}=xb[o];let m;e[2]!==a||e[3]!==u?(m=a(u),e[2]=a,e[3]=u,e[4]=m):m=e[4];let h;e[5]!==m?(h=y.jsx(kd.Title,{children:m}),e[5]=m,e[6]=h):h=e[6];let f;e[7]!==o||e[8]!==r||e[9]!==c||e[10]!==a||e[11]!==d?(f=d.length>1&&y.jsx(pn.Toolbar.Left.Portal,{children:y.jsx(kd.Tabs,{"data-testid":"settings-subnav","aria-label":a("settings.subnav.ariaLabel"),children:d.map(b=>{const S=b.to.replace("$org",r),T=c===S||c.startsWith(`${S}/`);return y.jsx(kd.Tab,{active:T,asChild:!0,children:y.jsx(Wl,{to:b.to,params:{org:r},onClick:()=>M4("settings_subnav_clicked",{group_key:o,tab_key:b.key}),children:a(b.labelKey)})},b.key)})})}),e[7]=o,e[8]=r,e[9]=c,e[10]=a,e[11]=d,e[12]=f):f=e[12];let v;return e[13]!==h||e[14]!==f?(v=y.jsxs(y.Fragment,{children:[h,f]}),e[13]=h,e[14]=f,e[15]=v):v=e[15],v}function Nde(t){return t.location.pathname}function z4(){const t=ye.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=y.jsxs("div",{"data-testid":"settings-content-loading",className:"flex flex-col gap-4",children:[y.jsx(PO,{className:"h-32 w-full"}),y.jsx(PO,{className:"h-32 w-full"})]}),t[0]=e):e=t[0],e}function Mde(t){const e=ye.c(14),{group:o,fallback:a,errorFallback:n,className:r,children:i}=t;let c;e[0]!==o?(c=y.jsx(Ode,{group:o}),e[0]=o,e[1]=c):c=e[1];let d;e[2]!==a?(d=a??y.jsx(z4,{}),e[2]=a,e[3]=d):d=e[3];let u;e[4]!==i||e[5]!==d?(u=y.jsx(A.Suspense,{fallback:d,children:i}),e[4]=i,e[5]=d,e[6]=u):u=e[6];let m;e[7]!==n||e[8]!==u?(m=y.jsx(yde,{fallback:n,children:u}),e[7]=n,e[8]=u,e[9]=m):m=e[9];let h;return e[10]!==r||e[11]!==c||e[12]!==m?(h=y.jsx(kd,{children:y.jsx(kd.Content,{children:y.jsx(kd.Container,{children:y.jsxs(Cde,{className:r,children:[c,m]})})})}),e[10]=r,e[11]=c,e[12]=m,e[13]=h):h=e[13],h}function Us(t){return function(){return y.jsx(Mde,{group:t,children:y.jsx(z4,{})})}}function Ide(t){try{localStorage.setItem(Qi.lastLocation(),JSON.stringify(t))}catch{}}function Lde(){try{const t=localStorage.getItem(Qi.lastLocation());if(!t)return null;const e=JSON.parse(t);if(typeof e?.org=="string")return{org:e.org}}catch{}return null}function JTe(){try{localStorage.removeItem(Qi.lastLocation())}catch{}}function Bde(t,e){const o=t&&e?_J(e,t):null;return{queryKey:no.activeOrganization(t),queryFn:async()=>{if(!t)return null;const a={organizationSlug:t};performance.mark("mesh:active-org-fetch:start");const{data:n}=await ga.organization.getFullOrganization({query:a}).finally(()=>{performance.mark("mesh:active-org-fetch:end"),performance.measure("mesh:active-org-fetch","mesh:active-org-fetch:start","mesh:active-org-fetch:end")}),r=eE(n);return n&&!r&&localStorage.setItem(Qi.lastOrgSlug(),t),e&&n&&PJ(e,t,n),n},initialData:o?o.data:void 0,initialDataUpdatedAt:o?.updatedAt,gcTime:1/0,refetchOnWindowFocus:!1}}let iN;async function Fde(t){iN=t,await BB();const e=lee();if(!e)return;const o=await Zl.ensureQueryData(Bde(t,e)).catch(()=>null);o&&!eE(o)&&iN===t&&Ide({org:t})}const Ct={home:"/$org/home",projects:"/$org/projects/$agentId",tasks:"/$org/tasks/{-$taskKey}",reports:"/$org/reports",library:"/$org/library",discover:"/$org/discover",plan:"/$org/plan",monitoring:"/$org/monitoring",orgIndex:"/$org/"},tt={root:Ct.projects,tasks:"/$org/projects/$agentId/tasks/{-$taskKey}",reports:"/$org/projects/$agentId/reports",siteEditor:"/$org/projects/$agentId/site-editor",siteEditorContent:"/$org/projects/$agentId/site-editor/content",siteEditorCode:"/$org/projects/$agentId/site-editor/code",automations:"/$org/projects/$agentId/automations",automation:"/$org/projects/$agentId/automations/$automationId",app:"/$org/projects/$agentId/apps/$connectionId/$toolName",view:"/$org/projects/$agentId/views/$viewId",outputFile:"/$org/projects/$agentId/outputs/file",outputDeck:"/$org/projects/$agentId/outputs/deck",library:"/$org/projects/$agentId/library",libraryFile:"/$org/projects/$agentId/library/file",connectSources:"/$org/projects/$agentId/connect-sources",settings:"/$org/projects/$agentId/settings",assets:"/$org/projects/$agentId/assets",releases:"/$org/projects/$agentId/releases",hosting:"/$org/projects/$agentId/hosting",e2e:"/$org/projects/$agentId/e2e",calendar:"/$org/projects/$agentId/calendar",experiments:"/$org/projects/$agentId/experiments",plan:"/$org/projects/$agentId/plan",monitoring:"/$org/projects/$agentId/monitoring"};function XTe(){const t=ye.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e={select:jde},t[0]=e):e=t[0],Sk(e)}function jde(t){return t.matches.at(-1)?.fullPath??""}function e0e(){const t=ye.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e={select:zde},t[0]=e):e=t[0],Sk(e)}function zde(t){return t.matches.findLast(qde)?.staticData.mainView}function qde(t){return t.staticData.mainView}function Df(t){return`agent-view:${encodeURIComponent(t)}`}function Ude(t){if(!t?.startsWith("agent-view:"))return null;const e=t.slice(11);if(!e)return null;try{const o=decodeURIComponent(e);return o?{id:o}:null}catch{return null}}function q4(t){if(!t||!t.startsWith("automation:"))return null;const e=t.slice(11);return e?{id:e}:null}function GE(t,e){return`app:${t}:${e}`}function $de(t){if(!t||!t.startsWith("app:"))return null;const e=t.slice(4),o=e.indexOf(":");if(o<=0)return null;const a=e.slice(0,o),n=e.slice(o+1);return!a||!n?null:{connectionId:a,toolName:n}}function U4(t){return`deck:${encodeURIComponent(t)}`}function Vde(t){if(!t||!t.startsWith("deck:"))return null;const e=t.slice(5);if(!e)return null;try{return{path:decodeURIComponent(e)}}catch{return null}}function $4(t){return`file:${encodeURIComponent(t)}`}function Hde(t){if(!t||!t.startsWith("file:"))return null;const e=t.slice(5);if(!e)return null;try{return{key:decodeURIComponent(e)}}catch{return null}}function V4(t){return`library-file:${encodeURIComponent(t)}`}function Gde(t){if(!t||!t.startsWith("library-file:"))return null;const e=t.slice(13);if(!e)return null;try{return{path:decodeURIComponent(e)}}catch{return null}}function H4(t){return`code:${encodeURIComponent(t)}`}function Wde(t){if(!t)return null;if(t==="code")return{path:null};if(!t.startsWith("code:"))return null;const e=t.slice(5);if(!e)return null;try{return{path:decodeURIComponent(e)}}catch{return null}}const G4=["overview","settings","automations","site-editor","code","content","assets","hosting","e2e","analytics","cdn"],Kde=new Set(G4),W4=new Set(["hosting","e2e","analytics","cdn"]),Yde=new Set(["board","files","connect-sources","reports"]);function t0e(t){return t.startsWith("app:")||t.startsWith("automation:")||t.startsWith("file:")||t.startsWith("deck:")||t.startsWith("library-file:")||t.startsWith("code:")}const Zde=new Map([["preview","site-editor"],["git","site-editor"]]);function Tb(t){return Zde.get(t)??t}const WE=new Set(["instructions","connections","layout","settings"]);function Qde(t){return!!t&&WE.has(t)}const Jde=new Set(["overview","board","reports"]);function K4(t){const e=t?.defaultMainView??null;if(!e)return"settings";const o=Tb(e.type);if(WE.has(o))return"settings";if(Kde.has(o)||Jde.has(o))return o;if(o==="ext-app"||o==="ext-apps"){if(e.id&&e.toolName)return GE(e.id,e.toolName);const n=t?.tabs?.map(r=>r.id)??[];return e.id&&n.includes(e.id)?Df(e.id):n[0]?Df(n[0]):"settings"}const a=t?.tabs?.[0]?.id;return a?Df(a):"settings"}function o0e(t){const e=t?.defaultMainView?.type;if(!e||e==="chat")return null;const o=K4(t);return o==="overview"?null:o}function a0e(t){const e=t.routeDefaultMain||K4(t.metadata),o=t.panelTabId&&WE.has(t.panelTabId)?"settings":t.panelTabId?Tb(t.panelTabId):t.panelTabId,a=t.metadata?.defaultMainView??null,n=a==null||a.type==="chat";return{mainOpen:t.mainPanelParam??(!!o||!!t.routeDefaultMain||!n),activeTab:o??e}}function n0e(t){return t.mainOpen&&t.clickedId===t.activeTab?{close:!0}:{tabId:t.clickedId}}function r0e(t){return t.mainOpen?t.activeTab==="automations"?!0:q4(t.activeTab)!==null:!1}const Xde=new Set([...G4.filter(t=>!W4.has(t)),...Yde,"app","file","deck","library-file","connect-sources","instructions","connections","layout","preview","discover"]);function eue(t){return!!t&&Xde.has(t)}function tue(t,e){if(t)switch(t){case"app":return e.connection&&e.tool?GE(e.connection,e.tool):void 0;case"automations":return e.automation?`automation:${e.automation}`:"automations";case"file":return e.key?$4(e.key):void 0;case"deck":return e.deck?U4(e.deck):void 0;case"library-file":return e.path?V4(e.path):void 0;case"code":return e.file?H4(e.file):"code";default:{const o=Tb(t);return o==="site-editor"&&e.main==="content"?"content":o}}}function s0e(t){const e=t.params??{},o=t.search??{};if(t.siteEditorView==="content")return"content";if(t.siteEditorView==="code")return o.file?H4(o.file):"code";if(t.siteEditorView==="preview")return"site-editor";switch(t.mainView){case"automation":return e.automationId?`automation:${e.automationId}`:"automations";case"app":return e.connectionId&&e.toolName?GE(e.connectionId,e.toolName):void 0;case"view":return e.viewId?Df(e.viewId):void 0;case"file":return o.key?$4(o.key):void 0;case"deck":return o.path?U4(o.path):void 0;case"library-file":return o.path?V4(o.path):void 0;default:return t.mainView}}const oue={files:"library",discover:"discover"},aue={board:"tasks",reports:"reports",plan:"plan",monitoring:"monitoring",analytics:"monitoring",cdn:"monitoring"},nue={analytics:"audience",cdn:"performance"},rue={settings:"settings",assets:"assets",releases:"releases",hosting:"hosting",e2e:"e2e",calendar:"calendar",experiments:"experiments"};function Y4(t){const e=Ude(t);if(e)return{kind:"agent-view",viewId:e.id};const o=$de(t);if(o)return{kind:"app",connectionId:o.connectionId,toolName:o.toolName};const a=q4(t);if(a)return{kind:"automations",automationId:a.id};const n=Hde(t);if(n)return{kind:"output-file",key:n.key};const r=Vde(t);if(r)return{kind:"output-deck",path:r.path};const i=Gde(t);if(i)return{kind:"library-file",path:i.path};const c=Wde(t);if(c)return{kind:"site-editor",view:"code",...c.path?{file:c.path}:{}};if(Qde(t))return{kind:"agent-section",section:"settings"};const d=Tb(t);if(d==="overview")return{kind:"agent-overview"};if(d==="site-editor")return{kind:"site-editor",view:"preview"};if(d==="content")return{kind:"site-editor",view:"content"};if(d==="automations")return{kind:"automations"};if(d==="connect-sources")return{kind:"connect-sources"};const u=aue[d];if(u){const f=nue[d];return{kind:"project-destination",destination:u,...f?{monitorView:f}:{}}}const m=oue[d];if(m)return{kind:"org-destination",destination:m};const h=rue[d];return h?{kind:"agent-section",section:h}:{kind:"agent-view",viewId:d}}function Ul(t){const{org:e,agentId:o}=t,a={org:e,agentId:o},n=Y4(t.tabId);switch(n.kind){case"project-destination":{const r=t.destinationScope==="organization";switch(n.destination){case"tasks":return r?{to:Ct.tasks,params:{org:e,taskKey:t.taskKey},search:{}}:{to:tt.tasks,params:{...a,taskKey:t.taskKey},search:{}};case"reports":return r?{to:Ct.reports,params:{org:e},search:{}}:{to:tt.reports,params:a,search:{}};case"plan":return r?{to:Ct.plan,params:{org:e},search:{}}:{to:tt.plan,params:a,search:{}};case"monitoring":{const i=n.monitorView?{view:n.monitorView}:{};return r?{to:Ct.monitoring,params:{org:e},search:i}:{to:tt.monitoring,params:a,search:i}}}}case"org-destination":switch(n.destination){case"home":return{to:Ct.home,params:{org:e},search:{}};case"discover":return{to:Ct.discover,params:{org:e},search:{}};case"library":return{to:Ct.library,params:{org:e},search:{}}}case"agent-overview":return{to:tt.root,params:a,search:{}};case"site-editor":return n.view==="content"?{to:tt.siteEditorContent,params:a,search:{}}:n.view==="code"?{to:tt.siteEditorCode,params:a,search:{file:n.file}}:{to:tt.siteEditor,params:a,search:{}};case"agent-section":return{to:tt[n.section],params:a,search:{}};case"automations":return n.automationId?{to:tt.automation,params:{...a,automationId:n.automationId},search:{}}:{to:tt.automations,params:a,search:{}};case"app":return{to:tt.app,params:{...a,connectionId:n.connectionId,toolName:n.toolName},search:{}};case"agent-view":return{to:tt.view,params:{...a,viewId:n.viewId},search:{}};case"output-file":return{to:tt.outputFile,params:a,search:{key:n.key}};case"output-deck":return{to:tt.outputDeck,params:a,search:{path:n.path}};case"library-file":return{to:tt.libraryFile,params:a,search:{path:n.path}};case"connect-sources":return{to:tt.connectSources,params:a,search:{}}}}function i0e(t){if(!t.agentId||t.agentId===t.superAgentId&&(t.tabId===void 0||t.tabId==="overview"))return{to:Ct.home,params:{org:t.org},search:{}};const e=t.tabId??"overview",o=t.agentId!==t.superAgentId&&Y4(e).kind==="org-destination"?"overview":e;return Ul({org:t.org,agentId:t.agentId,tabId:o,destinationScope:t.agentId===t.superAgentId?"organization":"project"})}function sue(t,e,o={}){const a=r=>({...o.search?.(r)??{},...e.search}),n=o.replace??!0;switch(e.to){case Ct.tasks:t({to:Ct.tasks,params:e.params,search:a,replace:n});return;case Ct.home:t({to:Ct.home,params:e.params,search:a,replace:n});return;case Ct.reports:t({to:Ct.reports,params:e.params,search:a,replace:n});return;case Ct.discover:t({to:Ct.discover,params:e.params,search:a,replace:n});return;case Ct.plan:t({to:Ct.plan,params:e.params,search:a,replace:n});return;case Ct.monitoring:t({to:Ct.monitoring,params:e.params,search:a,replace:n});return;case Ct.library:t({to:Ct.library,params:e.params,search:a,replace:n});return;case tt.root:t({to:tt.root,params:e.params,search:a,replace:n});return;case tt.tasks:t({to:tt.tasks,params:e.params,search:a,replace:n});return;case tt.reports:t({to:tt.reports,params:e.params,search:a,replace:n});return;case tt.plan:t({to:tt.plan,params:e.params,search:a,replace:n});return;case tt.monitoring:t({to:tt.monitoring,params:e.params,search:a,replace:n});return;case tt.siteEditor:t({to:tt.siteEditor,params:e.params,search:a,replace:n});return;case tt.siteEditorContent:t({to:tt.siteEditorContent,params:e.params,search:a,replace:n});return;case tt.siteEditorCode:t({to:tt.siteEditorCode,params:e.params,search:a,replace:n});return;case tt.automations:t({to:tt.automations,params:e.params,search:a,replace:n});return;case tt.automation:t({to:tt.automation,params:e.params,search:a,replace:n});return;case tt.app:t({to:tt.app,params:e.params,search:a,replace:n});return;case tt.view:t({to:tt.view,params:e.params,search:a,replace:n});return;case tt.outputFile:t({to:tt.outputFile,params:e.params,search:a,replace:n});return;case tt.outputDeck:t({to:tt.outputDeck,params:e.params,search:a,replace:n});return;case tt.libraryFile:t({to:tt.libraryFile,params:e.params,search:a,replace:n});return;case tt.connectSources:t({to:tt.connectSources,params:e.params,search:a,replace:n});return;case tt.settings:case tt.assets:case tt.releases:case tt.hosting:case tt.e2e:case tt.calendar:case tt.experiments:t({to:e.to,params:e.params,search:a,replace:n})}}function l0e(t,e){sue(t,Ul(e),e)}function iue(t){const e=/^(\/[^/]+)\/agents(?=\/|$)/.exec(t);return e?.[1]?`${e[1]}/projects${t.slice(e[0].length)}`:null}function lue(t){const e=t.split("/").filter(Boolean);return(e[1]==="projects"||e[1]==="agents")&&e.length>3}const cue=new Set(["main","virtualmcpid","file","key","deck","path","connection","tool","automation"]),Z4=new Set(["main"]),due=new Set(["virtualmcpid"]);function kb(t,e){return Object.fromEntries(Object.entries(t).filter(([o])=>!e.has(o)))}function jl(t,e){return{...kb(t,cue),...e.search}}function uue(t){return kb(t,due)}function c0e(t){if(t.search.virtualmcpid===void 0)return null;const e=kr(t.search.virtualmcpid);if(e){const o=t.routePath===Ct.tasks?"board":t.routePath===Ct.reports?"reports":null;if(t.routePath===Ct.home||o){const a=o?Ul({org:t.org,agentId:e,tabId:o}):Gd(t.org,e);return{kind:"canonical",route:a,search:jl(t.search,a)}}}return t.routePath===Ct.home||t.routePath===Ct.tasks||t.routePath===Ct.reports||t.routePath===Ct.library?{kind:"same-route",search:uue(t.search)}:null}function kr(t){return t?.trim()||void 0}function Q4(t){return eue(t)||t!==void 0&&W4.has(t)}function J4(t){const e=kr(t);return e?e.startsWith("vir_")&&e.length>4||aB(e)!==null||oZ(e)!==null||aZ(e)!==null||rB(e)||sB(e):!1}function pue(t){const e=kr(t.agentIdParam),o=Q4(e);return e&&!o?e:kr(t.virtualMcpIdSearch)??kr(t.fallbackAgentId)}function d0e(t){const e=t.pathAgentId;if(e&&t.pathLegacyView){const i=D0({org:t.org,agentId:e,panel:t.pathLegacyView,source:"project-first",search:t.search});return i?.kind==="canonical"?{route:i.route,search:i.search}:null}if(!e||lue(t.pathname))return null;const o=t.search.virtualmcpid!==void 0&&!J4(e);if(!(Q4(e)||o))return null;const n=pue({agentIdParam:o?void 0:e,virtualMcpIdSearch:t.search.virtualmcpid,fallbackAgentId:t.fallbackAgentId}),r=D0({org:t.org,agentId:n,panel:e,source:"view-first",search:t.search});return r?.kind==="canonical"?{route:r.route,search:r.search}:null}function mue(t,e,o,a){const n=kr(a);switch(t){case"board":return n?Ul({org:e,agentId:n,tabId:"board"}):{to:Ct.tasks,params:{org:e,taskKey:void 0},search:{}};case"files":{const r=_i(o.path);return{to:Ct.library,params:{org:e},search:r?{path:r}:{}}}case"reports":return n?Ul({org:e,agentId:n,tabId:"reports"}):{to:Ct.reports,params:{org:e},search:{}};case"overview":return{to:Ct.home,params:{org:e},search:{}};case"discover":return{to:Ct.discover,params:{org:e},search:{}};default:return null}}function Xp(t){const e=mue(t.tabId,t.org,t.search,t.agentId);if(e)return e;if(t.tabId==="chat")return Gd(t.org,t.agentId);const o=kr(t.agentId);return o?t.tabId==="app"||t.tabId==="file"||t.tabId==="deck"||t.tabId==="library-file"||t.tabId.trim()===""?{to:tt.root,params:{org:t.org,agentId:o},search:{}}:Ul({org:t.org,agentId:o,tabId:t.tabId}):null}function Gd(t,e){const o=kr(e);return o?{to:tt.root,params:{org:t,agentId:o},search:{}}:{to:Ct.home,params:{org:t},search:{}}}function hue(t){const{main:e}=t;if(e===void 0)return null;const o=t.search??{};if(e===0||e==="0")return{kind:"same-route",search:{...kb(o,Z4),mainpanel:!1}};if(e==="chat"){const n=Gd(t.org,t.agentId);return{kind:"canonical",route:n,search:{...jl(o,n),sidepanel:!0,mainpanel:!1}}}const a=Xp({org:t.org,agentId:t.agentId,tabId:e,search:o});return a?{kind:"canonical",route:a,search:jl(o,a)}:null}function _i(t){return typeof t=="string"&&t.length>0?t:void 0}function D0(t){const e=t.search??{};if((e.main===0||e.main==="0")&&t.panel){const i=D0({...t,search:kb(e,Z4)});return i?.kind!=="canonical"?i:{...i,search:{...i.search,mainpanel:!1}}}if(e.main!==void 0)return hue({org:t.org,agentId:t.agentId,main:e.main,search:e});const o=kr(t.agentId),a=t.panel;if(!a){const i=Gd(t.org,o);return{kind:"canonical",route:i,search:jl(e,i)}}const n=tue(a,{file:_i(e.file),key:_i(e.key),deck:_i(e.deck),path:_i(e.path),connection:_i(e.connection),tool:_i(e.tool),automation:_i(e.automation)}),r=n?t.source==="project-first"&&n==="overview"&&o?Ul({org:t.org,agentId:o,tabId:n}):Xp({org:t.org,agentId:o,tabId:n,search:e}):Xp({org:t.org,agentId:o,tabId:"",search:e});return r?{kind:"canonical",route:r,search:n==="chat"?{...jl(e,r),sidepanel:!0,mainpanel:!1}:jl(e,r)}:null}function u0e(t){const e=t.search??{},o=kr(e.virtualmcpid),a=kr(t.fallbackAgentId),n=e.main;let r;if(n==="chat")r=Gd(t.org,o);else if(n!==void 0&&n!==0&&n!=="0"){const i=Xp({org:t.org,agentId:o,tabId:n,search:e}),c=!i&&n.trim().length>0&&a?Xp({org:t.org,agentId:a,tabId:n,search:e}):null;r=i??c??{to:Ct.home,params:{org:t.org},search:{}}}else r=Gd(t.org,o);return{route:r,search:{...jl(e,r),...n===void 0&&e.sidepanel===void 0?{sidepanel:!0}:{},...n===0||n==="0"?{mainpanel:!1}:{},...n==="chat"?{sidepanel:!0,mainpanel:!1}:{},thread:t.taskId}}}function X4(t,e){if(e.task===void 0)return null;const{task:o,...a}=e;return{taskKey:t??(o.trim()||void 0),search:a}}const gue={contentPageId:$().optional(),contentPath:$().optional(),contentPathTemplate:$().optional(),contentCollection:$().optional(),contentItem:$().optional()},e5=gue,KE={view:$().optional(),group:$().optional(),subgroup:$().optional(),sort:$().optional(),dir:$().optional(),q:$().optional(),assignee:$().optional(),priority:$().optional(),due:$().optional(),tags:$().optional(),repo:$().optional(),sprint:$().optional(),boardOrg:$().optional()},fue=["files","brand","connections","repositories","skills","memory","instructions","general","views","repository","site"],Rv={fileView:ao(["all","documents","media"]).catch("all").optional(),modified:ao(["any","today","week","month"]).catch("any").optional(),layout:ao(["list","grid"]).catch("list").optional(),sort:ao(["name","updated","size"]).catch("name").optional(),path:$().optional(),preview:$().optional(),expanded:pT().optional().catch(void 0),skill:$().optional(),brand:$().optional(),section:ao(fue).catch("files").optional(),scope:ao(["user"]).optional().catch(void 0),action:ao(["create"]).optional().catch(void 0),tab:ao(["all","connected"]).optional().catch(void 0)},vue={file:$().optional(),key:$().optional(),deck:$().optional(),path:$().optional(),connection:$().optional(),tool:$().optional(),automation:$().optional(),section:$().optional(),preview:$().optional(),autosend:$().optional(),connect:Jv().optional(),siteUrl:$().optional(),...e5},t5={...vue,task:$().optional(),project:$().optional(),...KE,skill:Rv.skill,brand:Rv.brand},xm=we(t5),Va=sV({component:()=>y.jsx(wde,{children:y.jsx(yk,{})})}),bue=De({getParentRoute:()=>Va,path:"/login",component:Be(()=>Fe(()=>import("./login-DRAz2Byx.js"),__vite__mapDeps([0,1,2,3]))),validateSearch:Qr(()=>we({next:$().optional(),client_id:$().optional(),redirect_uri:$().optional(),response_type:$().optional(),state:$().optional(),scope:$().optional(),code_challenge:$().optional(),code_challenge_method:$().optional(),src:$().optional(),ref:$().optional()}))}),yue=De({getParentRoute:()=>Va,path:"/cli/auth-success",component:Be(()=>Fe(()=>import("./cli-auth-success-B188GHrd.js"),__vite__mapDeps([4,3])))}),Sue=De({getParentRoute:()=>Va,path:"/reset-password",component:Be(()=>Fe(()=>import("./reset-password-DyQQJ8dn.js"),[])),validateSearch:Qr(()=>we({token:$().optional(),error:$().optional()}))}),wue=De({getParentRoute:()=>Va,path:"/auth/$pathname",component:Be(()=>Fe(()=>import("./auth-catchall-BEu29rgq.js"),[]))}),xue=De({getParentRoute:()=>Va,path:"/oauth/callback",component:Be(()=>Fe(()=>import("./oauth-callback-Du4CoqhX.js"),__vite__mapDeps([5,6,7])))}),Tue=De({getParentRoute:()=>Va,path:"/oauth/consent",component:Be(()=>Fe(()=>import("./oauth-consent-DP5dM3Bl.js"),__vite__mapDeps([8,3,1,2])))}),kue=De({getParentRoute:()=>Va,path:"/oauth/callback/ai-provider",component:Be(()=>Fe(()=>import("./oauth-callback-ai-provider-CGOatJwS.js"),[]))}),Tm=De({getParentRoute:()=>Va,path:"/_admin",component:Be(()=>Fe(()=>import("./layout-B-LTaCR7.js"),__vite__mapDeps([9,10,11])))}),Eue=De({getParentRoute:()=>Tm,path:"/",beforeLoad:()=>{throw mo({to:"/_admin/users"})}}),Cue=De({getParentRoute:()=>Tm,path:"/users",component:Be(()=>Fe(()=>import("./users-BNwLmtY6.js"),__vite__mapDeps([12,13,14,15,16,17,18,19,20,21])))}),_ue=De({getParentRoute:()=>Tm,path:"/orgs",component:Be(()=>Fe(()=>import("./orgs-CGfTnYKc.js"),__vite__mapDeps([22,13,14,15,16,17,18,23,20,24,25,26,27,28,29,19,30,31,21])))}),Pue=De({getParentRoute:()=>Tm,path:"/prompts",component:Be(()=>Fe(()=>import("./prompts-rGT4H9HS.js"),__vite__mapDeps([32,16,23,29,21])))}),Aue=Tm.addChildren([Eue,Cue,_ue,Pue]),YE=De({getParentRoute:()=>Va,id:"shell",component:Be(()=>Fe(()=>import("./shell-layout-CBX9BtMX.js").then(t=>t.q),__vite__mapDeps([33,34,35,11,21,36,37,38,15,39,40,41,42,27,43,44,45,46,47,48,49,50,51,18,52,53,54,55,56,57,58,59,7,60,61,62,63,64,65,66,67,2,68,69,31,20,70,23,71,72,26,73,74,75,76,77,10,78,79])))}),Rue=De({getParentRoute:()=>YE,path:"/",beforeLoad:async()=>{const t=Lde();if(t)throw mo({to:"/$org",params:{org:t.org}});const e=localStorage.getItem(Qi.lastOrgSlug());if(e)throw mo({to:"/$org",params:{org:e}});const{data:o}=await FB();if(!o)return;const a=o[0];throw mo(a?{to:"/$org",params:{org:a.slug}}:{to:"/onboarding"})}}),Due=De({getParentRoute:()=>Va,path:"/onboarding",beforeLoad:async()=>{const{data:t}=await FB();if(t&&t.length>0)throw mo({to:"/"})},component:Be(()=>Fe(()=>import("./onboarding-CNJgq5g8.js"),__vite__mapDeps([80,10,3,81,51,23,28,34,42,53])))}),o5=Qr(()=>we({org:$().optional(),siteUrl:$().optional(),fix:$().optional()})),Oue=De({getParentRoute:()=>Va,path:"/reports-onboarding",component:Be(()=>Fe(()=>import("./reports-onboarding-C3O3uPM5.js"),__vite__mapDeps([82,83,1,2,3,81,51,84,85,23,86,59,7,87,64,40,36,37,38,15,39,41,34,42,27,43,35,44,45,46,47,48,49,50,18,52,53,54,55,56,72,26,88,89,90,91,20,92,93,94,6,95,96,97,98,99,100]))),validateSearch:o5}),Nue=De({getParentRoute:()=>Va,path:"/commerce-onboarding",validateSearch:o5,beforeLoad:({search:t})=>{throw mo({to:"/reports-onboarding",search:t})}}),Mue=De({getParentRoute:()=>Va,path:"/choose-editor",component:Be(()=>Fe(()=>import("./choose-editor-DOrF20ax.js"),__vite__mapDeps([101,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,10]))),validateSearch:Qr(()=>we({site:$().optional(),domain:$().optional(),pageId:$().optional(),path:$().optional(),pathTemplate:$().optional()}))}),ZE=De({getParentRoute:()=>Va,path:"/site-editor",staticData:{pageTitle:"sidebar.projectNav.siteEditor"},component:Be(()=>Fe(()=>import("./site-editor-CWVoX5OY.js"),__vite__mapDeps([102,103,60,61,57,58,59,7,67,2,68,69,31,104,105,106,77,107,108,109,110,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,10,78,79,112,113,114,115,116,117,84,85,118,119,120,121,122,123,124,125,126,24,25,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,16,154,155,156,157,158,159,28,29,160,161,162,163,164,165,166,167,17,168,169,170,171,172,173,174,92,175,176,177,98,178,179,180,181,182,183,184,185,186,187,188,19,189,13,14,190,191,192,193,194,195,196,197,198,91,199,200,201,202,203,204,205,206,207,96,89,97,208,209,210,211,93,94,6,212,213,214,215,216,217,218,219])))}),Iue=De({getParentRoute:()=>ZE,path:"/",staticData:{mainView:"site-editor",siteEditorView:"preview",local:!0},component:Be(()=>Fe(()=>import("./site-editor-CWVoX5OY.js"),__vite__mapDeps([102,103,60,61,57,58,59,7,67,2,68,69,31,104,105,106,77,107,108,109,110,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,10,78,79,112,113,114,115,116,117,84,85,118,119,120,121,122,123,124,125,126,24,25,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,16,154,155,156,157,158,159,28,29,160,161,162,163,164,165,166,167,17,168,169,170,171,172,173,174,92,175,176,177,98,178,179,180,181,182,183,184,185,186,187,188,19,189,13,14,190,191,192,193,194,195,196,197,198,91,199,200,201,202,203,204,205,206,207,96,89,97,208,209,210,211,93,94,6,212,213,214,215,216,217,218,219])),"SiteEditorPreview")}),Lue=De({getParentRoute:()=>ZE,path:"/content",staticData:{mainView:"content",siteEditorView:"content",local:!0},component:Be(()=>Fe(()=>import("./site-editor-CWVoX5OY.js"),__vite__mapDeps([102,103,60,61,57,58,59,7,67,2,68,69,31,104,105,106,77,107,108,109,110,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,10,78,79,112,113,114,115,116,117,84,85,118,119,120,121,122,123,124,125,126,24,25,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,16,154,155,156,157,158,159,28,29,160,161,162,163,164,165,166,167,17,168,169,170,171,172,173,174,92,175,176,177,98,178,179,180,181,182,183,184,185,186,187,188,19,189,13,14,190,191,192,193,194,195,196,197,198,91,199,200,201,202,203,204,205,206,207,96,89,97,208,209,210,211,93,94,6,212,213,214,215,216,217,218,219])),"SiteEditorContent")}),Bue=De({getParentRoute:()=>Va,path:"/report/$domain",component:Be(()=>Fe(()=>import("./reports-B5SaRV3H.js"),__vite__mapDeps([220,95,2,1,221])))}),Eb=De({getParentRoute:()=>YE,path:"/$org",loader:({params:t})=>Fde(t.org),pendingMs:1/0,component:Be(()=>Fe(()=>import("./route-DyaXyBfS.js"),__vite__mapDeps([222,114,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,108,112,115,116,117,84,85,118,119,123,124,200,105,104,206,160,25,223,224,225,19,226,227,171,169,129,127,228,28,229,128,29,179,191,190,230,231,215,106,232,126,91,233,204])))}),Cb=De({getParentRoute:()=>Eb,id:"org-shell",pendingComponent:Qd,component:Be(()=>Fe(()=>import("./thread-route-DORnlP1l.js"),__vite__mapDeps([234,103,60,61,57,58,59,7,67,2,68,69,31,104,105,106,77,83,235,88,89,90,40,86,87,64,36,37,38,15,39,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,85,23,91,20,92,93,94,6,95,96,97,98,236,99])))}),Fue=we({sidepanel:rF,mainpanel:sF,main:lo([$(),Qe(0)]).optional(),thread:$().optional(),autosend:$().optional(),preview:$().optional(),virtualmcpid:$().optional()}),en=De({getParentRoute:()=>Cb,id:"agent-shell",validateSearch:Fue,search:{middlewares:[R$(["sidepanel"])]},pendingComponent:Qd,component:Be(()=>Fe(()=>import("./route-BhRhH95H.js"),__vite__mapDeps([237,37,36,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,109,110,61,60,57,58,59,7,67,2,68,69,31,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,108,112,197,103,104,105,106,141,124,149,140,85,142,143,139,198,91,151,199,122,123,125,126,24,25,127,128,168,166,200,165,201,202,203,204,205,206,207,96,89,97,98,208,209,29,148,210,211,93,94,6,212,19,213,214,215,216,137,138,144,145,146,147,150,179,195,196,172,132,130,136,16,129,107,113,238,239,240,191,181,180,227,171,169,177,190,118,241,242,243,244,245,131,162,120])))}),jue=xm.extend({virtualmcpid:$().optional()}),zue=De({getParentRoute:()=>en,path:"/$taskId",validateSearch:jue,component:()=>null}),Bt=Be(()=>Fe(()=>import("./index-8ANyj4B7.js").then(t=>t.i),__vite__mapDeps([107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113])),"ChatLayoutPending"),Ft=Be(()=>Fe(()=>import("./index-8ANyj4B7.js").then(t=>t.i),__vite__mapDeps([107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113])),"ChatLayoutError"),que=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/home",staticData:{pageTitle:"sidebar.navDestinations.home",defaultMain:"overview",mainView:"overview"},validateSearch:we({connect:Jv().optional(),siteUrl:$().optional()}),component:Be(()=>Fe(()=>import("./home-CppOBOPg.js"),__vite__mapDeps([246,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,198,140,141,85,142,143,139,103,104,105,106,91,151,199,122,123,124,125,126,24,25,127,128,168,166,200,165,201,202,149,203,204,205,206,207,96,89,97,98,208,209,29,148,210,211,93,94,6,212,19,213,214,215,216,247,248,230,231,115,249,158,159,157,250,118,251,224,232,252,253,245,131,162,242,243,244,254,223,119])))}),Uue=De({getParentRoute:()=>en,path:"/projects",validateSearch:xm,beforeLoad:({params:t,search:e})=>{const o=(e.project??e.virtualmcpid)?.trim(),a=r=>({...r,virtualmcpid:void 0,project:void 0,task:void 0});if(!o)throw mo({to:"/$org/home",params:{org:t.org},search:a,hash:!0,replace:!0});const n=e.task?.trim();throw mo(n?{to:"/$org/projects/$agentId/tasks/{-$taskKey}",params:{org:t.org,agentId:o,taskKey:n},search:a,hash:!0,replace:!0}:{to:"/$org/projects/$agentId",params:{org:t.org,agentId:o},search:a,hash:!0,replace:!0})}});let lN;const co=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/projects/$agentId",validateSearch:xm,beforeLoad:({cause:t,params:e})=>{if(t==="preload")return{enteredProject:!1};const o=t==="enter"||e.agentId!==lN;return lN=e.agentId,{enteredProject:o}},component:yk}),$ue=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/",staticData:{pageTitle:"page.overview",defaultMain:"overview",mainView:"overview"},component:Be(()=>Fe(()=>import("./agent-overview-BcgCBEmB.js"),__vite__mapDeps([255,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,103,104,105,106,198,140,141,85,142,143,139,91,151,199,122,123,124,125,126,24,25,127,128,168,166,200,165,201,202,149,203,204,205,206,207,96,89,97,98,208,209,29,148,210,211,93,94,6,212,19,213,214,215,216,247,248,230,231,115,249,158,159,157,250,118,251,224,232,252,223,241])))}),Vue=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/tasks/{-$taskKey}",staticData:{pageTitle:"sidebar.navDestinations.tasks",defaultMain:"board",mainView:"board"},validateSearch:we({task:$().optional(),...KE}),beforeLoad:({params:t,search:e})=>{const o=X4(t.taskKey,e);if(o)throw mo({to:"/$org/projects/$agentId/tasks/{-$taskKey}",params:{org:t.org,agentId:t.agentId,taskKey:o?.taskKey??t.taskKey},search:o.search,hash:!0,replace:!0})},component:Be(()=>Fe(()=>import("./project-tasks-CAr2Cqy5.js"),__vite__mapDeps([256,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,257,115,116,258,167,123,259,19,91,203,260,261,117,225,230,231,215,106,253,24,25,251,224,232,262,163,176,138,139,143,103,104,105,263,140,141,85,142,164,202,264,136,265,148,90,266,214,137,144,145,146,147,149,150,151,213,238,194,199,267,205,206])))}),Hue=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/reports",staticData:{pageTitle:"sidebar.navDestinations.reports",defaultMain:"reports",mainView:"reports"},validateSearch:we({connect:Jv().optional(),siteUrl:$().optional()}),component:Be(()=>Fe(()=>import("./project-reports-AxUmLNIH.js"),__vite__mapDeps([268,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,269,83,235,88,89,90,99,100,254,270])))}),_b=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/site-editor",staticData:{pageTitle:"sidebar.projectNav.siteEditor",defaultMain:"site-editor",mainView:"site-editor"},validateSearch:we({autosend:$().optional(),...e5}),component:Be(()=>Fe(()=>import("./agent-site-editor-gGRvmvu9.js"),__vite__mapDeps([192,103,60,61,57,58,59,7,67,2,68,69,31,104,105,106,77,193,194,121,122,123,124,72,26,108,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,125,126,24,25,127,128,129,130,131,132,133,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,10,78,79,111,168,166,195,196,177,98,174,153,16,197,141,149,140,85,142,143,139,198,91,151,199,200,165,201,202,203,204,205,206,207,96,89,97,208,209,29,148,210,211,93,94,6,212,19,213,214,215,110,216,137,138,144,145,146,147,112,150,184,185,175,176,152,162,217,172,136,179,218,189,107,109,113,219])))}),Gue=De({getParentRoute:()=>_b,path:"/",staticData:{defaultMain:"site-editor",mainView:"site-editor",siteEditorView:"preview"},component:Be(()=>Fe(()=>import("./agent-site-editor-preview-DVAXUJER.js"),__vite__mapDeps([271,272,239,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,148,240,146,142,179,197,103,104,105,106,77,141,72,26,124,76,108,149,140,85,23,143,139,198,91,151,199,122,123,125,126,24,25,127,128,168,166,200,165,201,202,203,74,75,204,205,206,207,96,89,97,98,208,209,64,29,210,211,93,94,6,212,19,213,214,215,216,137,138,33,11,21,62,63,65,66,20,70,71,73,10,78,79,144,145,147,112,150,132,130,191,181,180,227,171,169,129,177,267,134,135,131,136,152,153,121,133,16,154,155,156,157,158,159,28,160,161,162,163,164,115,116,167,17,170,172,111,173,174,92,120,113,175,176,178])))}),Wue=De({getParentRoute:()=>_b,path:"/content",staticData:{defaultMain:"content",mainView:"content",siteEditorView:"content"},component:Be(()=>Fe(()=>import("./agent-site-editor-content-DwQjPdJR.js"),__vite__mapDeps([273,272,239,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,148,240,146,142,179,197,103,104,105,106,77,141,72,26,124,76,108,149,140,85,23,143,139,198,91,151,199,122,123,125,126,24,25,127,128,168,166,200,165,201,202,203,74,75,204,205,206,207,96,89,97,98,208,209,64,29,210,211,93,94,6,212,19,213,214,215,216,137,138,33,11,21,62,63,65,66,20,70,71,73,10,78,79,144,145,147,112,150,132,130,191,181,180,227,171,169,129,177,267,182,154,155,156,157,158,159,153,121,131,133,16,135,136,152,28,160,161,162,163,164,115,116,167,17,170,183,184,185,186,172,187,188,189,13,14])))}),Kue=De({getParentRoute:()=>_b,path:"/code",staticData:{defaultMain:"code",mainView:"code",siteEditorView:"code"},validateSearch:we({file:$().optional()}),component:Be(()=>Fe(()=>import("./agent-site-editor-code-CLO4vASe.js"),__vite__mapDeps([274,272,239,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,148,240,146,142,179,197,103,104,105,106,77,141,72,26,124,76,108,149,140,85,23,143,139,198,91,151,199,122,123,125,126,24,25,127,128,168,166,200,165,201,202,203,74,75,204,205,206,207,96,89,97,98,208,209,64,29,210,211,93,94,6,212,19,213,214,215,216,137,138,33,11,21,62,63,65,66,20,70,71,73,10,78,79,144,145,147,112,150,132,130,191,181,180,227,171,169,129,177,267,16])))}),Yue=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/automations",staticData:{pageTitle:"settings.nav.automations",defaultMain:"automations",mainView:"automations"},beforeLoad:({params:t,search:e})=>{const o=e.automation;if(o)throw mo({to:"/$org/projects/$agentId/automations/$automationId",params:{org:t.org,agentId:t.agentId,automationId:o},search:a=>({...a,automation:void 0}),hash:!0,replace:!0})},component:Be(()=>Fe(()=>import("./agent-automations-BOxoQlGs.js"),__vite__mapDeps([275,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,17,16,260,276,19])))}),Zue=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/automations/$automationId",staticData:{pageTitle:"settings.nav.automations",defaultMain:"automations",mainView:"automation"},validateSearch:we({automationView:ao(["settings","runs"]).optional()}),component:Be(()=>Fe(()=>import("./agent-automation-C1Vdho1R.js"),__vite__mapDeps([277,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,19,126,28,123,141,148,240,278,124,103,104,105,106,125,24,25,127,128,279,260,138,280,201,202,140,85,142,143,139,149,203,281,231,115,282,168,166,161,162,283,14,16,284,213,238,266,214,137,144,145,146,147,150,151,212])))}),Que=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/settings",staticData:{pageTitle:"sidebar.navDestinations.settings",defaultMain:"settings",mainView:"settings"},component:Be(()=>Fe(()=>import("./agent-settings-CxJPBxUl.js"),__vite__mapDeps([285,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,286,287,288,289,290,103,104,105,106,29,16,291,203,292,96,89,97,98,279,229,94,6,148,280,207,208,209,124,85,24,25,210,211,93,212,19,213,214,151,293,146,126,240,149,142,28,123,160,179,227,171,169,129,226,139,30,177,130,294,295,147,178,196])))}),Jue=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/library",staticData:{pageTitle:"sidebar.navDestinations.library",defaultMain:"files",mainView:"files"},validateSearch:we(Rv),component:Be(()=>Fe(()=>import("./agent-library-CrZB4N_E.js"),__vite__mapDeps([296,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,297,17,103,104,105,106,203,298,29,143,139,286,287,288,289,290,16,291,244,123,242,243,91,245,131,162,151,299,189,14,292,96,89,97,98,279,229,94,6,148,280,207,208,209,124,85,24,25,210,211,93,212,19,213,214,293,146,126,240,149,142,28,160,179,227,171,169,129,226,30,177,130,294,295,147,178,196])))}),Xue=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/assets",staticData:{pageTitle:"common.mainPanelTabs.assets",defaultMain:"assets",mainView:"assets"},component:Be(()=>Fe(()=>import("./agent-assets-BZWSLrfd.js"),__vite__mapDeps([300,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,272,239,148,240,146,142,179,197,103,104,105,106,141,124,149,140,85,143,139,198,91,151,199,122,123,125,126,24,25,127,128,168,166,200,165,201,202,203,204,205,206,207,96,89,97,98,208,209,29,210,211,93,94,6,212,19,213,214,215,216,137,138,144,145,147,150,132,130,191,181,180,227,171,169,129,177,17,170])))}),epe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/releases",staticData:{pageTitle:"common.mainPanelTabs.releases",defaultMain:"releases",mainView:"releases"},component:Be(()=>Fe(()=>import("./agent-releases-aYJGzx-T.js"),__vite__mapDeps([301,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,272,239,148,240,146,142,179,197,103,104,105,106,141,124,149,140,85,143,139,198,91,151,199,122,123,125,126,24,25,127,128,168,166,200,165,201,202,203,204,205,206,207,96,89,97,98,208,209,29,210,211,93,94,6,212,19,213,214,215,216,137,138,144,145,147,150,132,130,191,181,180,227,171,169,129,177,121,131,133,185])))}),tpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/hosting",staticData:{pageTitle:"common.mainPanelTabs.hosting",defaultMain:"hosting",mainView:"hosting"},component:Be(()=>Fe(()=>import("./agent-hosting-vCUxyXYf.js"),__vite__mapDeps([302,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,19,189,91,14,138,24,25,303,292,96,89,97,98,103,104,105,106,279,16,229,94,6,29,148,280,207,208,209,124,85,210,211,93,212,213,214,151,203,293,146,126,240,149,142,28,123,160,179,227,171,169,129,226,290,139,30,177,130,294,295,147,178,196])))}),ope=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/e2e",staticData:{pageTitle:"common.mainPanelTabs.e2e",defaultMain:"e2e",mainView:"e2e"},component:Be(()=>Fe(()=>import("./agent-e2e-CFF1rulz.js"),__vite__mapDeps([304,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,19,24,25,14,189,138,168,166,303,292,96,89,97,98,103,104,105,106,279,16,229,94,6,29,148,280,207,208,209,124,85,210,211,93,212,213,214,151,203,293,146,126,240,149,142,28,123,160,179,227,171,169,129,226,290,139,30,177,130,294,295,147,178,196])))}),ape=De({getParentRoute:()=>co,path:"/analytics",validateSearch:we({view:$().optional()}),beforeLoad:({params:t,search:e})=>{throw mo({to:"/$org/projects/$agentId/monitoring",params:t,search:{view:e.view==="experiments"?"experiments":"audience"},replace:!0})}}),npe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/taskboard-analytics",staticData:{pageTitle:"taskBoard.analytics.title",defaultMain:"board",mainView:"board"},component:Be(()=>Fe(()=>import("./taskboard-analytics-Cmr5hCm9.js"),__vite__mapDeps([305,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,212,19,258,306,123,160,25,163,307,249,158,159,157,250,14,165,166,231,115,308,251,224,232,167])))}),rpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/experiments",staticData:{pageTitle:"common.mainPanelTabs.experiments",defaultMain:"experiments",mainView:"experiments"},validateSearch:we({test:$().optional().catch(void 0)}),component:Be(()=>Fe(()=>import("./agent-experiments-ui7FfvYG.js"),__vite__mapDeps([309,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,193,194,103,104,105,106,121,122,123,124,125,126,24,25,127,128,129,130,131,132,133,168,166,195,196,177,98,174,153,16,197,141,149,140,85,142,143,139,198,91,151,199,200,165,201,202,203,204,205,206,207,96,89,97,208,209,29,148,210,211,93,94,6,212,19,213,214,215,216,137,138,144,145,146,147,150,184,185,175,176,152,162,217,172,136,179,310,189,311,154,155,156,157,158,159,312,188,183,218])))}),spe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/calendar",staticData:{pageTitle:"common.mainPanelTabs.calendar",defaultMain:"calendar",mainView:"calendar"},component:Be(()=>Fe(()=>import("./agent-calendar-CdFd9RbD.js"),__vite__mapDeps([313,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,193,194,103,104,105,106,121,122,123,124,125,126,24,25,127,128,129,130,131,132,133,168,166,195,196,177,98,174,153,16,197,141,149,140,85,142,143,139,198,91,151,199,200,165,201,202,203,204,205,206,207,96,89,97,208,209,29,148,210,211,93,94,6,212,19,213,214,215,216,137,138,144,145,146,147,150,184,185,175,176,152,162,217,172,136,179,160,183,311,154,155,156,157,158,159,312,188,187,218,189,303,292,279,229,280,293,240,28,227,171,169,226,290,30,294,295,178])))}),ipe=De({getParentRoute:()=>co,path:"/cdn",beforeLoad:({params:t})=>{throw mo({to:"/$org/projects/$agentId/monitoring",params:t,search:{view:"performance"},replace:!0})}}),a5=we({args:$().optional()}),lpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/apps/$connectionId/$toolName",validateSearch:a5,staticData:{pageTitle:"page.app",defaultMain:"app",mainView:"app"},component:Be(()=>Fe(()=>import("./agent-app-IWHPMxEK.js"),__vite__mapDeps([314,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,181,315,141,240,144,145,146,103,104,105,106,251,224,232,115,316,83,87,88,89,90,85,91,92,93,94,6,95,96,97,98])))}),cpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/views/$viewId",validateSearch:a5,staticData:{pageTitle:"page.view",defaultMain:"view",mainView:"view"},component:Be(()=>Fe(()=>import("./agent-view-BWBpZVUF.js"),__vite__mapDeps([317,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,315,141,240,144,145,146,103,104,105,106,251,224,232,115,316,83,87,88,89,90,85,91,92,93,94,6,95,96,97,98,303,292,279,16,229,29,148,280,207,208,209,124,24,25,210,211,212,19,213,214,151,203,293,126,149,142,28,123,160,179,227,171,169,129,226,290,139,30,177,130,294,295,147,178,196])))}),dpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/outputs/file",staticData:{pageTitle:"page.file",defaultMain:"file",mainView:"file"},validateSearch:we({key:$().optional()}),component:Be(()=>Fe(()=>import("./agent-file-Cq3onOpE.js"),__vite__mapDeps([318,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,151,245,203,131,162,143,139,103,104,105,106,150,303,292,96,89,97,98,279,16,229,94,6,29,148,280,207,208,209,124,85,24,25,210,211,93,212,19,213,214,293,146,126,240,149,142,28,123,160,179,227,171,169,129,226,290,30,177,130,294,295,147,178,196])))}),upe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/outputs/deck",staticData:{pageTitle:"page.document",defaultMain:"deck",mainView:"deck"},validateSearch:we({path:$().optional()}),component:Be(()=>Fe(()=>import("./agent-deck-CtBABaGT.js"),__vite__mapDeps([319,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,244,203,123,303,292,96,89,97,98,103,104,105,106,279,16,229,94,6,29,148,280,207,208,209,124,85,24,25,210,211,93,212,19,213,214,151,293,146,126,240,149,142,28,160,179,227,171,169,129,226,290,139,30,177,130,294,295,147,178,196])))}),ppe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/library/file",staticData:{pageTitle:"page.file",defaultMain:"library-file",mainView:"library-file"},validateSearch:we({path:$().optional()}),component:Be(()=>Fe(()=>import("./agent-library-file-BOxLy0sn.js"),__vite__mapDeps([320,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,321,243,91,244,203,123,245,131,162,151,143,139,103,104,105,106,303,292,96,89,97,98,279,16,229,94,6,29,148,280,207,208,209,124,85,24,25,210,211,93,212,19,213,214,293,146,126,240,149,142,28,160,179,227,171,169,129,226,290,30,177,130,294,295,147,178,196])))}),mpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/connect-sources",staticData:{pageTitle:"settings.nav.connect",defaultMain:"connect-sources",mainView:"connect-sources"},component:Be(()=>Fe(()=>import("./agent-connect-sources-CEmlztKl.js"),__vite__mapDeps([322,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,86,83,87,88,89,90,85,91,92,93,94,6,95,96,97,98,236,99])))}),hpe=De({getParentRoute:()=>co,path:"/$legacyView",component:()=>null}),gpe=De({getParentRoute:()=>en,path:"/agents",validateSearch:xm,beforeLoad:({params:t,search:e})=>{const o=e.virtualmcpid?.trim();throw mo(o?{to:"/$org/projects/$agentId",params:{org:t.org,agentId:o},search:a=>a,hash:!0,replace:!0}:{to:"/$org/projects",params:{org:t.org},search:a=>a,hash:!0,replace:!0})}}),fpe=De({getParentRoute:()=>en,path:"/agents/$",validateSearch:xm,beforeLoad:({params:t,location:e})=>{const o=t._splat?.split("/").find(Boolean);if(!J4(o))return;const a=iue(e.pathname);if(!a)return;const n=e.hash?`#${e.hash}`:"";throw mo({href:`${a}${e.searchStr}${n}`,replace:!0})},component:Be(()=>Fe(()=>import("./legacy-agents-deep-B3LnX3dE.js"),__vite__mapDeps([323,241,61])))}),vpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/tasks/{-$taskKey}",staticData:{pageTitle:"sidebar.navDestinations.tasks",defaultMain:"board",mainView:"board"},validateSearch:we({task:$().optional(),...KE}),beforeLoad:({params:t,search:e})=>{const o=X4(t.taskKey,e);if(o)throw mo({to:"/$org/tasks/{-$taskKey}",params:{org:t.org,taskKey:o.taskKey},search:o.search,hash:!0,replace:!0})},component:Be(()=>Fe(()=>import("./tasks-140YlmT4.js"),__vite__mapDeps([324,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,257,115,116,258,167,123,259,19,91,203,260,261,117,225,230,231,215,106,253,24,25,251,224,232,262,163,176,138,139,143,103,104,105,263,140,141,85,142,164,202,264,136,265,148,90,266,214,137,144,145,146,147,149,150,151,213,238,194,199,267,205,206])))}),bpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/taskboard-analytics",staticData:{defaultMain:"board",mainView:"board"},component:Be(()=>Fe(()=>import("./taskboard-analytics-Cmr5hCm9.js"),__vite__mapDeps([305,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,212,19,258,306,123,160,25,163,307,249,158,159,157,250,14,165,166,231,115,308,251,224,232,167])))}),ype=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/thread-analytics",staticData:{defaultMain:"board",mainView:"board"},component:Be(()=>Fe(()=>import("./thread-analytics-9huoP8m_.js"),__vite__mapDeps([325,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,307,249,158,159,157,250,14,165,166,19,231,115,308,167,123,24,25,168,266,214,137,138,139,140,141,85,142,143,103,104,105,106,144,145,146,147,148,149,150,151,213,238])))}),Spe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/reports",staticData:{pageTitle:"sidebar.navDestinations.reports",defaultMain:"reports",mainView:"reports"},validateSearch:we({connect:Jv().optional(),siteUrl:$().optional()}),component:Be(()=>Fe(()=>import("./reports-D-qIr9kO.js"),__vite__mapDeps([326,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,269,83,235,88,89,90,99,100,254,270])))}),wpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/library",staticData:{pageTitle:"sidebar.navDestinations.library",defaultMain:"files",mainView:"files"},validateSearch:we(Rv),component:Be(()=>Fe(()=>import("./library-B2C1_FfB.js"),__vite__mapDeps([327,103,60,61,57,58,59,7,67,2,68,69,31,104,105,106,77,108,107,109,110,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,10,78,79,112,113,286,287,288,289,290,29,16,291,203,321,243,91,244,123,245,131,162,151,143,139,297,17,298,242,299,189,14])))}),xpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/plan",staticData:{pageTitle:"sidebar.navDestinations.plan",defaultMain:"plan",mainView:"plan"},component:Be(()=>Fe(()=>import("./plan-GL1imSbx.js"),__vite__mapDeps([328,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,19])))}),n5=we({view:ao(["metrics","performance","logs","audience","heatmap","analytics","errors","realtime","pages","events","deploys","experiments"]).optional().catch(void 0),date:fL().optional().catch(void 0),store:$().optional(),at:$().optional(),project:$().optional(),section:$().optional(),test:$().optional().catch(void 0),f:je($()).optional().catch(void 0),currency:$().optional(),prop:$().optional()}),Tpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/monitoring",staticData:{pageTitle:"sidebar.navDestinations.monitor",defaultMain:"monitoring",mainView:"monitoring"},validateSearch:n5,component:Be(()=>Fe(()=>import("./monitoring-B3WSTrVO.js"),__vite__mapDeps([329,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,189,123,330,249,158,159,157,250,19,163,92,308,252,103,104,105,106,122,124,125,126,24,25,127,128,291,307,14,165,166,231,115,316,83,87,88,89,90,85,91,93,94,6,95,96,97,98,148,167,155,156,168,129,224,310,311,153,121,130,131,132,133,16,154,312,188,183,218,331,29,261,265,17,28,284,213,332])))}),kpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/plan",staticData:{pageTitle:"sidebar.navDestinations.plan",defaultMain:"plan",mainView:"plan"},component:Be(()=>Fe(()=>import("./plan-GL1imSbx.js"),__vite__mapDeps([328,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,19])))}),Epe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>co,path:"/monitoring",staticData:{pageTitle:"sidebar.navDestinations.monitor",defaultMain:"monitoring",mainView:"monitoring"},validateSearch:n5,component:Be(()=>Fe(()=>import("./monitoring-B3WSTrVO.js"),__vite__mapDeps([329,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,189,123,330,249,158,159,157,250,19,163,92,308,252,103,104,105,106,122,124,125,126,24,25,127,128,291,307,14,165,166,231,115,316,83,87,88,89,90,85,91,93,94,6,95,96,97,98,148,167,155,156,168,129,224,310,311,153,121,130,131,132,133,16,154,312,188,183,218,331,29,261,265,17,28,284,213,332])))}),Cpe=De({pendingComponent:Bt,errorComponent:Ft,getParentRoute:()=>en,path:"/discover",staticData:{pageTitle:"sidebar.navDestinations.discover",defaultMain:"discover",mainView:"discover"},component:Be(()=>Fe(()=>import("./discover-DylE9QvC.js"),__vite__mapDeps([333,107,108,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,148,169,171,177,98])))}),_pe=De({getParentRoute:()=>Eb,path:"/members",beforeLoad:({params:t})=>{throw mo({to:"/$org/settings/members",params:{org:t.org}})}}),Ppe=we({main:lo([$(),Qe(0)]).optional(),virtualmcpid:$().optional(),...t5,sidepanel:rF,mainpanel:sF,thread:$().optional()}),Ape=De({getParentRoute:()=>Cb,path:"/",validateSearch:Ppe,pendingComponent:Qd,component:Be(()=>Fe(()=>import("./index-B6_lV1vO.js"),__vite__mapDeps([334,241,61])))}),Rpe=De({getParentRoute:()=>Cb,path:"/t/$taskKey",beforeLoad:({params:t})=>{throw mo({to:"/$org/tasks/{-$taskKey}",params:{org:t.org,taskKey:t.taskKey},search:e=>e,hash:!0,replace:!0})}}),uo=De({staticData:{pageTitle:"sidebar.navDestinations.settings"},getParentRoute:()=>Eb,path:"/settings",pendingComponent:Qd,component:Be(()=>Fe(()=>import("./route-CSMzYXoN.js"),__vite__mapDeps([335,108,107,109,110,61,60,57,58,59,7,67,2,68,69,31,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,72,26,111,33,11,21,62,63,64,65,66,20,70,23,71,73,74,75,76,77,10,78,79,112,113,336,19,123,165,166,105,104,206])))}),Dpe=De({getParentRoute:()=>uo,path:"/",component:Be(()=>Fe(()=>import("./index-redirect-BUCPvmVN.js"),__vite__mapDeps([337,289])))}),Ope=De({getParentRoute:()=>uo,path:"/connections",validateSearch:Qr(()=>we({action:ao(["create"]).optional(),tab:ao(["all","connected"]).optional()})),beforeLoad:({params:t,search:e})=>{throw mo({to:"/$org/library",params:{org:t.org},search:{section:"connections",...e},replace:!0})}}),Npe=De({staticData:{pageTitle:"settings.nav.connections"},getParentRoute:()=>uo,path:"/connections/$appSlug",component:Be(()=>Fe(()=>import("./connection-detail-weWLbsDk.js"),__vite__mapDeps([338,96,89,97,98,16,211,51,52,339,59,7,240,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,18,53,54,55,56,148,24,25,26,159,340,156,63,123,72,58,108,66,67,2,68,69,31,210,293,19,146,6,94,64,112,85,23,149,341,342,249,158,157,250,308,168,166,209,145,76]))),validateSearch:Qr(()=>we({tab:$().optional()}))}),Mpe=De({staticData:{pageTitle:"page.item"},getParentRoute:()=>uo,path:"/connections/$appSlug/$collectionName/$itemId",component:Be(()=>Fe(()=>import("./collection-detail-EKABwIVL.js"),__vite__mapDeps([343,16,59,7,85,23,29,339,240,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,148,96,89,97,98,24,25,26,159,340,156,63,123,72,58,108,66,67,2,68,69,31,210,145,146,176,209,293,19,6,144,64,103,60,61,57,104,105,106,77,33,11,21,62,65,20,70,71,73,74,75,76,10,78,79,161,162,189]))),validateSearch:Qr(()=>we({replayId:$().optional()}))}),Ipe=De({staticData:{pageTitle:"orgs.monitoring.title"},getParentRoute:()=>uo,path:"/monitor",component:Be(()=>Fe(()=>import("./index-TupjNSVk.js"),__vite__mapDeps([344,17,18,16,287,288,289,137,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,52,53,54,55,56,138,139,140,141,85,23,142,143,103,60,61,57,58,59,7,67,2,68,69,31,104,105,106,77,108,72,26,33,11,21,62,63,64,65,66,20,70,71,73,74,75,76,10,78,79,144,145,146,147,112,148,149,150,151,209,19,123,161,162,282,126,24,25,306,160,163,29,212,28,176,342,249,158,159,157,250,308,266,214,213,238,14,284,260,283,189,224,330,92,252,267,205,206]))),validateSearch:Qr(()=>we({tab:ao(["overview","audit","dashboards","threads","automations","stores"]).default("threads"),store:$().optional(),at:$().optional(),from:$().default("now-24h"),to:$().default("now"),connectionId:je($()).optional().default([]),virtualMcpId:je($()).optional().default([]),tool:$().default(""),status:ao(["all","success","errors"]).default("all"),search:$().default(""),page:Mt().optional(),streaming:Vt().default(!0),propertyFilters:$().default(""),hideSystem:Vt().default(!1)}))}),Lpe=De({staticData:{pageTitle:"settings.nav.general"},getParentRoute:()=>uo,path:"/general",component:Be(()=>Fe(()=>import("./general-BvxlAOrY.js"),__vite__mapDeps([345,280,346,28,35,77,31,69,148,59,7,347,19,24,25,26,27,289])))}),Bpe=De({staticData:{pageTitle:"settings.nav.connect"},getParentRoute:()=>uo,path:"/connect",pendingComponent:Us("connect"),component:Be(()=>Fe(()=>import("./connect-DjUzAPce.js"),__vite__mapDeps([348,176,19,24,25,26,27,168,166,139,36,37,38,15,39,40,41,34,42,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,248,349,189,23,340,59,7,240,126,17,64,350,213,214,75,76,97,98,148,287,288,289])))}),Fpe=De({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>uo,path:"/ai-providers",pendingComponent:Us("billing"),component:Be(()=>Fe(()=>import("./ai-providers-JXuyHqZ0.js"),__vite__mapDeps([351,37,105,42,77,31,69,278,124,108,103,60,61,57,58,59,7,67,2,68,104,106,125,126,47,24,25,26,27,39,43,46,38,18,127,128,48,280,336,51,19,123,165,166,72,206,228,28,73,52,229,287,288,289])))}),jpe=De({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>uo,path:"/billing",beforeLoad:({params:t})=>{throw mo({to:"/$org/settings/ai-providers",params:{org:t.org}})}}),zpe=De({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>uo,path:"/infra-billing",pendingComponent:Us("billing"),component:Be(()=>Fe(()=>import("./infra-billing-Bql8vBuZ.js"),__vite__mapDeps([352,44,19,282,126,47,27,62,63,18,123,24,25,26,14,250,158,159,331,308,287,288,289])))}),qpe=De({staticData:{pageTitle:"settings.nav.secrets"},getParentRoute:()=>uo,path:"/secrets",component:Be(()=>Fe(()=>import("./secrets-AGU75gav.js"),__vite__mapDeps([353,37,51,54,189,23,24,25,26,27,29,295,287,288,289])))}),Upe=De({staticData:{pageTitle:"settings.nav.connect"},getParentRoute:()=>uo,path:"/api-keys",pendingComponent:Us("connect"),component:Be(()=>Fe(()=>import("./api-keys-G9chtY31.js"),__vite__mapDeps([354,349,37,36,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,189,23,19,340,24,25,26,59,7,240,126,17,64,350,213,214,75,76,97,98,148,287,288,289])))}),$pe=De({staticData:{pageTitle:"settings.nav.storage"},getParentRoute:()=>uo,path:"/buckets",pendingComponent:Us("storage"),component:Be(()=>Fe(()=>import("./buckets-B6SQeYKj.js"),__vite__mapDeps([355,37,51,52,19,189,23,24,25,26,27,28,29,169,287,288,289])))}),Vpe=De({staticData:{pageTitle:"settings.nav.repositories"},getParentRoute:()=>uo,path:"/repositories",validateSearch:we({git_error:$().optional().catch(void 0),git_flow:$().uuid().optional().catch(void 0),git_installation:Mt().int().positive().safe().optional().catch(void 0),git_return:Vt().optional().catch(void 0)}),pendingComponent:Us("repositories"),component:Be(()=>Fe(()=>import("./repositories-DcYP84R5.js"),__vite__mapDeps([356,357,71,39,51,72,26,23,73,74,75,76,18,41,20,77,31,69,40,126,47,54,189,19,176,91,138,24,25,27,29,52,294,295,287,288,289])))}),Hpe=De({staticData:{pageTitle:"settings.nav.storage"},getParentRoute:()=>uo,path:"/synced-repos",pendingComponent:Us("storage"),component:Be(()=>Fe(()=>import("./synced-repos-bmkfQV3e.js"),__vite__mapDeps([358,51,189,71,39,72,26,23,73,74,75,76,18,41,20,77,31,69,298,287,288,289])))}),Gpe=De({staticData:{pageTitle:"settings.nav.tasks"},getParentRoute:()=>uo,path:"/task-board",component:Be(()=>Fe(()=>import("./tasks-CzV2b6I-.js"),__vite__mapDeps([359,126,47,29,43,50,51,167,62,63,18,123,282,19,27,24,25,26,28,281,346,35,77,31,69,148,59,7,20,260,259,55,56,91,72,112,203,74,75,57,58,68,287,288,289])))}),Wpe=De({getParentRoute:()=>uo,path:"/tasks",beforeLoad:({params:t})=>{throw mo({to:"/$org/settings/task-board",params:{org:t.org}})}}),Kpe=De({staticData:{pageTitle:"projects.settings.title"},getParentRoute:()=>uo,path:"/projects",component:Be(()=>Fe(()=>import("./projects-APtBmhWY.js"),__vite__mapDeps([360,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,51,18,52,53,54,55,56,19,17,70,23,59,7,66,58,67,2,68,69,31,71,72,26,73,74,75,76,20,77,254,229,235,88,89,90,270,57,148])))}),Ype=De({staticData:{pageTitle:"settings.nav.members"},getParentRoute:()=>uo,path:"/members",pendingComponent:Us("members"),component:Be(()=>Fe(()=>import("./members-BDBxWp17.js"),__vite__mapDeps([361,362,15,45,72,26,165,166,19,17,18,13,14,16,85,23,24,25,27,29,363,233,46,52,55,126,47,62,63,123,51,262,287,288,289])))}),Zpe=De({staticData:{pageTitle:"settings.nav.members"},getParentRoute:()=>uo,path:"/roles",pendingComponent:Us("members"),component:Be(()=>Fe(()=>import("./roles-Dx9qwbnQ.js"),__vite__mapDeps([364,363,19,45,51,52,13,14,15,16,17,18,127,350,64,40,36,37,38,39,41,34,42,27,43,35,44,46,47,48,49,50,53,54,55,56,213,126,214,75,59,7,76,97,98,148,58,105,28,72,26,65,57,288,289]))),validateSearch:Qr(()=>we({role:$().optional()}))}),Qpe=De({staticData:{pageTitle:"settings.nav.security"},getParentRoute:()=>uo,path:"/sso",component:Be(()=>Fe(()=>import("./sso-6pnL0iJa.js"),__vite__mapDeps([365,347,19,24,25,26,27,28,78,52,287,288,289])))}),Jpe=De({staticData:{pageTitle:"settings.nav.profile"},getParentRoute:()=>uo,path:"/profile",component:Be(()=>Fe(()=>import("./profile-DDg9c8sx.js"),__vite__mapDeps([366,155,156,25,52,53,28,24,26,27,165,166,72,48,49,50,280,204])))}),Xpe=De({getParentRoute:()=>uo,path:"/agents",beforeLoad:({params:t})=>{throw mo({to:"/$org/settings/projects",params:{org:t.org}})}}),eme=De({staticData:{pageTitle:"settings.nav.automations"},getParentRoute:()=>uo,path:"/automations",component:Be(()=>Fe(()=>import("./automations-BgweD4e5.js"),__vite__mapDeps([367,51,56,17,18,16,260,59,7,66,58,67,2,68,69,31,276,19,36,37,38,15,39,40,41,34,42,27,43,35,44,45,46,47,48,49,50,52,53,54,55,287,288,289])))}),tme=De({getParentRoute:()=>uo,path:"/skills",beforeLoad:({params:t})=>{throw mo({to:"/$org/library",params:{org:t.org},search:{section:"skills"},replace:!0})}}),ome=De({getParentRoute:()=>uo,path:"/memory",validateSearch:Qr(()=>we({scope:ao(["user"]).optional()})),beforeLoad:({params:t,search:e})=>{throw mo({to:"/$org/library",params:{org:t.org},search:{section:"memory",...e},replace:!0})}}),ame=uo.addChildren([Dpe,Ope,Npe,Mpe,Xpe,eme,tme,ome,Ipe,Lpe,Bpe,Fpe,jpe,zpe,qpe,Upe,$pe,Vpe,Hpe,Gpe,Wpe,Kpe,Ype,Zpe,Qpe,Jpe]),nme=_b.addChildren([Gue,Wue,Kue]),rme=co.addChildren([$ue,Vue,Hue,nme,Yue,Zue,Que,Jue,Xue,epe,tpe,ope,ape,npe,rpe,spe,ipe,lpe,cpe,dpe,upe,ppe,mpe,hpe,kpe,Epe]),sme=en.addChildren([zue,que,Uue,rme,gpe,fpe,vpe,bpe,ype,Spe,wpe,Cpe,xpe,Tpe]),ime=Cb.addChildren([Ape,Rpe,sme]),lme=Eb.addChildren([ime,_pe,ame]),cme=YE.addChildren([Rue,lme]),dme=Va.addChildren([cme,Aue,Due,Oue,Nue,Mue,ZE.addChildren([Iue,Lue]),Bue,bue,yue,Sue,wue,xue,Tue,kue]);function ume(){const t=ye.c(16),e=Ua();let o;t[0]!==e?(o=e("common.index.pageNotFound"),t[0]=e,t[1]=o):o=t[1];let a;t[2]!==o?(a=y.jsx("h3",{className:"text-lg font-medium text-foreground",children:o}),t[2]=o,t[3]=a):a=t[3];let n;t[4]!==e?(n=e("common.index.pageNotFoundDescription"),t[4]=e,t[5]=n):n=t[5];let r;t[6]!==n?(r=y.jsx("p",{className:"text-sm text-muted-foreground text-center max-w-[300px]",children:n}),t[6]=n,t[7]=r):r=t[7];let i;t[8]!==e?(i=e("common.goBack"),t[8]=e,t[9]=i):i=t[9];let c;t[10]!==i?(c=y.jsx("button",{type:"button",onClick:pme,className:"text-sm text-primary hover:underline",children:i}),t[10]=i,t[11]=c):c=t[11];let d;return t[12]!==a||t[13]!==r||t[14]!==c?(d=y.jsx("div",{className:"flex h-full items-center justify-center",children:y.jsxs("div",{className:"flex flex-col items-center gap-4 p-8",children:[a,r,c]})}),t[12]=a,t[13]=r,t[14]=c,t[15]=d):d=t[15],d}function pme(){return window.history.back()}const Pb=vV({routeTree:dme,defaultPendingComponent:Qd,defaultPendingMs:200,defaultPendingMinMs:500,defaultNotFoundComponent:ume});function Pe(...t){return nF(aE(t))}function mme(t){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)}function Ho({error:t,localization:e,localizeErrors:o=!0}){var a;const n="Request failed";if(!o)return t?.message?t.message:(a=t?.error)!=null&&a.message?t.error.message:n;if(typeof t=="string"&&e?.[t])return e[t];if(t?.error){if(t.error.code){const r=t.error.code;if(e?.[r])return e[r]}return t.error.message||t.error.code||t.error.statusText||e?.REQUEST_FAILED}return t?.message||e?.REQUEST_FAILED||n}function ec(t){return typeof window<"u"?new URLSearchParams(window.location.search).get(t):null}function O0(t,e){for(const o in t)if(t[o]===e)return o}function em(t,e){let o=$().min(1,{message:e?.PASSWORD_REQUIRED});return t?.minLength&&(o=o.min(t.minLength,{message:e?.PASSWORD_TOO_SHORT})),t?.maxLength&&(o=o.max(t.maxLength,{message:e?.PASSWORD_TOO_LONG})),t?.regex&&(o=o.regex(t.regex,{message:e?.INVALID_PASSWORD})),o}var hme={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"},gme={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"},fme={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."},vme={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."},bme={VERIFICATION_FAILED:"Captcha verification failed",MISSING_RESPONSE:"Missing CAPTCHA response",UNKNOWN_ERROR:"Something went wrong"},yme={MISSING_SECRET_KEY:"Missing secret key",SERVICE_UNAVAILABLE:"CAPTCHA service unavailable"},Sme={...bme,...yme},wme={OTP_EXPIRED:"otp expired",INVALID_OTP:"Invalid OTP",INVALID_EMAIL:"Invalid email",USER_NOT_FOUND:"User not found",TOO_MANY_ATTEMPTS:"Too many attempts"},xme={INVALID_OAUTH_CONFIGURATION:"Invalid OAuth configuration"},Tme={PASSWORD_COMPROMISED:"The password you entered has been compromised. Please choose a different password."},kme={INVALID_SESSION_TOKEN:"Invalid session token"},Eme={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"},Cme={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"},_me={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"},Pme={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"},Ame={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"},Rme={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"},Dme={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"},Ome={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",...vme,...hme,...gme,...fme,...Sme,...wme,...xme,...Tme,...kme,...Eme,...Cme,..._me,...Pme,...Ame,...Rme,...Dme},Nme={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"},cN={SETTINGS:"settings",SECURITY:"security",TEAMS:"teams",API_KEYS:"api-keys",ORGANIZATIONS:"organizations"},dN={SETTINGS:"settings",MEMBERS:"members",TEAMS:"teams",API_KEYS:"api-keys"};const r5=A.createContext({});function s5(){return A.useContext(r5)}var gx,uN;function Mme(){if(uN)return gx;uN=1;var t=function(){};return gx=t,gx}var Ime=Mme();const Lme=Gl(Ime);function Bme({async:t,appendTo:e,defer:o,id:a,nonce:n,src:r}){const i=document.createElement("script");t!==void 0&&(i.async=t),o!==void 0&&(i.defer=o),a&&(i.id=a),n&&i.setAttribute("nonce",n),i.src=r,(e==="head"?document.head:document.body).appendChild(i)}var Fme=function(t,e){var o={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(o[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(t);n<a.length;n++)e.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(t,a[n])&&(o[a[n]]=t[a[n]]);return o};let Dp=null,tm=!1;const Dv=new Set,Ov=new Set,jme=typeof window<"u",_d="___grecaptcha_cfg",i5=`onLoadCallback_${Math.random().toString(36).slice(2)}`;function zme(){if(!jme)return;function t(o){if(tm)o();else{window[_d]||(window[_d]={});const a=window[_d];a.fns||(a.fns=[]),a.fns.push(o)}}window.grecaptcha||(window.grecaptcha={}),window.grecaptcha.enterprise||(window.grecaptcha.enterprise={}),window.grecaptcha.ready=t,window.grecaptcha.enterprise.ready=t;function e(){tm=!0;for(const o of Ov)o();Ov.clear()}window[i5]=e}function qme({language:t,onLoadCallbackName:e,render:o,useEnterprise:a=!1,useRecaptchaNet:n=!1}){const r=n?"recaptcha.net":"google.com",i=a?"enterprise.js":"api.js",c=new URLSearchParams({render:o});return e&&c.set("onload",e),t&&c.set("hl",t),`https://www.${r}/recaptcha/${i}?${c.toString()}`}function Ume({language:t,render:e,scriptProps:o,useEnterprise:a,useRecaptchaNet:n}){const r={id:"google-recaptcha-v3"},i=qme({language:t,onLoadCallbackName:i5,render:e,useEnterprise:a,useRecaptchaNet:n});if(Dp){if(Dp!==i)throw new Error("reCAPTCHA has already been loaded with different parameters. Remove the existing script and load it again.");return}Dp=i,Bme(Object.assign(Object.assign(Object.assign({},r),o),{src:i}))}function $me(t){if(!window[_d])return;const e=window[_d];e.clients&&delete e.clients[t]}function Vme(t,e){var{onLoadCallback:o,onLoadCallbackName:a}=e,n=Fme(e,["onLoadCallback","onLoadCallbackName"]);if(Dv.size===0&&zme(),Ume(n),Dv.add(t),o&&(tm?o():Ov.add(o)),a){let r=function(){if(!a)return;const i=window[a];typeof i=="function"&&i()};tm?r():Ov.add(r)}}function Hme(t){var e,o,a;Dv.delete(t),Dv.size===0&&(window.grecaptcha=void 0,window[_d]=void 0,(e=document.querySelector(".grecaptcha-badge"))===null||e===void 0||e.remove(),(o=document.querySelector(`script[src="${Dp}"]`))===null||o===void 0||o.remove(),(a=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]'))===null||a===void 0||a.remove(),Dp=null,tm=!1)}let pN=!1;function Gme({container:t,children:e,language:o,reCaptchaKey:a,scriptProps:n,useEnterprise:r,useRecaptchaNet:i}){var c,d,u,m,h,f,v;const b=A.useId(),[S,T]=A.useState(null),[x,k]=A.useState(null),C=A.useRef(!1);A.useEffect(()=>{function R(){var O;const I=r?(O=window.grecaptcha)===null||O===void 0?void 0:O.enterprise:window.grecaptcha;if(!I)throw new Error("reCAPTCHA not found");if(!I.ready)throw new Error("reCAPTCHA ready callback not found");I.ready(()=>{T(I)})}return Vme(b,{language:o,onLoadCallback:R,onLoadCallbackName:n?.onLoadCallbackName,render:t?.element?"explicit":a,scriptProps:{appendTo:n?.appendTo,async:n?.async,defer:n?.defer,id:n?.id,nonce:n?.nonce},useEnterprise:r,useRecaptchaNet:i}),()=>{Hme(b),T(null)}},[t?.element,b,o,a,n?.appendTo,n?.async,n?.defer,n?.id,n?.nonce,n?.onLoadCallbackName,r,i]),A.useEffect(()=>{var R,O,I;if(!t?.element||!S?.render)return;const q={"error-callback":t.parameters.errorCallback,"expired-callback":t.parameters.expiredCallback,badge:((R=t.parameters)===null||R===void 0?void 0:R.badge)||"inline",callback:t.parameters.callback,sitekey:a,size:"invisible",tabindex:t.parameters.tabindex,theme:t.parameters.theme},B=typeof t?.element=="string"?document.getElementById(t.element):t?.element;if(!B)throw new Error("reCAPTCHA container element not found");const j=S.render(B,q);return!((O=t?.parameters)===null||O===void 0)&&O.hidden&&(pN||(Lme(!1,"reCAPTCHA badge hidden. See https://cloud.google.com/recaptcha/docs/faq#id_like_to_hide_the_badge_what_is_allowed for more information."),pN=!0),(I=B.querySelector(".grecaptcha-badge"))===null||I===void 0||I.style.setProperty("display","none")),k(j),C.current=!0,()=>{k(null),C.current=!1,$me(j),B.innerHTML=""}},[t?.element,(c=t?.parameters)===null||c===void 0?void 0:c.badge,(d=t?.parameters)===null||d===void 0?void 0:d.hidden,(u=t?.parameters)===null||u===void 0?void 0:u.callback,(m=t?.parameters)===null||m===void 0?void 0:m.errorCallback,(h=t?.parameters)===null||h===void 0?void 0:h.expiredCallback,(f=t?.parameters)===null||f===void 0?void 0:f.tabindex,(v=t?.parameters)===null||v===void 0?void 0:v.theme,S,a]);const E=!!t?.element,P=E?x:a,D=A.useMemo(()=>P!==null&&S?.execute?R=>{if(P===null||!S?.execute)throw new Error("reCAPTCHA has not been loaded");return E&&!C.current?(console.warn("Client ID not mounted"),null):S.execute(P,{action:R})}:void 0,[P,S,E]);return y.jsx(r5.Provider,{value:{container:t?.element,executeRecaptcha:D,reCaptchaInstance:S},children:e})}var Wme=class{cache=new Map;listeners=new Map;inFlightRequests=new Map;get(t){return this.cache.get(t)}set(t,e){const o={data:e,timestamp:Date.now(),isRefetching:!1};this.cache.set(t,o),this.notify(t)}setRefetching(t,e){const o=this.cache.get(t);o&&(o.isRefetching=e,this.notify(t))}clear(t){if(t)this.cache.delete(t),this.inFlightRequests.delete(t),this.notify(t);else{this.cache.clear(),this.inFlightRequests.clear();const e=Array.from(this.listeners.keys());for(const o of e)this.notify(o)}}getInFlightRequest(t){return this.inFlightRequests.get(t)}setInFlightRequest(t,e){this.inFlightRequests.set(t,e)}removeInFlightRequest(t){this.inFlightRequests.delete(t)}subscribe(t,e){return this.listeners.has(t)||this.listeners.set(t,new Set),this.listeners.get(t).add(e),()=>{const o=this.listeners.get(t);o&&(o.delete(e),o.size===0&&this.listeners.delete(t))}}notify(t){const e=this.listeners.get(t);if(e){const o=Array.from(e);for(const a of o)a()}}},Qn=new Wme;function Kme(){return()=>{}}function $s(){return A.useSyncExternalStore(Kme,()=>!0,()=>!1)}function l5(){const[t,e]=A.useState();return A.useEffect(()=>{const o=()=>{const n=document.documentElement.getAttribute("lang");e(n??void 0)};o();const a=new MutationObserver(n=>{for(const r of n)r.attributeName==="lang"&&o()});return a.observe(document.documentElement,{attributes:!0}),()=>{a.disconnect()}},[]),{lang:t}}function QE(){const[t,e]=A.useState("light");return A.useEffect(()=>{const o=()=>{var n;const r=document.documentElement.classList.contains("dark")||((n=document.documentElement.getAttribute("style"))==null?void 0:n.includes("color-scheme: dark"));e(r?"dark":"light")};o();const a=new MutationObserver(n=>{for(const r of n)(r.attributeName==="style"||r.attributeName==="class")&&o()});return a.observe(document.documentElement,{attributes:!0}),()=>{a.disconnect()}},[]),{theme:t}}function Yme({children:t}){const e=$s(),{captcha:o}=A.useContext(St);return o?.provider!=="google-recaptcha-v3"?t:y.jsxs(Gme,{reCaptchaKey:o.siteKey,useEnterprise:o.enterprise,useRecaptchaNet:o.recaptchaNet,children:[e&&y.jsx("style",{children:`
169
169
  .grecaptcha-badge {
170
170
  visibility: hidden;
171
171
  border-radius: var(--radius) !important;