decocms 4.593.0 → 4.594.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (449) hide show
  1. package/dist/client/assets/{AlertCircle-BPb6lfDc.js → AlertCircle-CngNmW3n.js} +1 -1
  2. package/dist/client/assets/{AreaChart-Yh5pBNgF.js → AreaChart-w2QCUzTm.js} +1 -1
  3. package/dist/client/assets/{ArrowLeft-D_px05Ip.js → ArrowLeft-7wIIyF4Y.js} +1 -1
  4. package/dist/client/assets/{ArrowRight-DYc-7xj5.js → ArrowRight-Dyuh-rXZ.js} +1 -1
  5. package/dist/client/assets/{ArrowUp-bsUZSt57.js → ArrowUp-C9hRfWJJ.js} +1 -1
  6. package/dist/client/assets/{BookOpen01-CKzuPfPT.js → BookOpen01-Bov9QL4X.js} +1 -1
  7. package/dist/client/assets/{CartesianChart-8sA8UDc5.js → CartesianChart-DZFTbe0Q.js} +1 -1
  8. package/dist/client/assets/{CategoricalChart-D0wEIkFu.js → CategoricalChart-BJA3WMzp.js} +1 -1
  9. package/dist/client/assets/{CheckCircle-Dvda272I.js → CheckCircle-C0mDI2jO.js} +1 -1
  10. package/dist/client/assets/{ChevronDown-C0zFtKr8.js → ChevronDown-Cz82ih9S.js} +1 -1
  11. package/dist/client/assets/{ChevronSelectorVertical-BtbkxpS7.js → ChevronSelectorVertical-B_wf9OPd.js} +1 -1
  12. package/dist/client/assets/{ChevronUp-CHkdbh-i.js → ChevronUp-CLsy4_cr.js} +1 -1
  13. package/dist/client/assets/{CreditCard01-BnEtKIxX.js → CreditCard01-C7XdJQOf.js} +1 -1
  14. package/dist/client/assets/{Eye-CE9bd3Ra.js → Eye-BoMcImel.js} +1 -1
  15. package/dist/client/assets/{File02-OGn6eCfs.js → File02-BmbcQ1JX.js} +1 -1
  16. package/dist/client/assets/{Fingerprint04-ZnmHU3Kp.js → Fingerprint04-CeWGcIpe.js} +1 -1
  17. package/dist/client/assets/{Globe04-BK5-p2nj.js → Globe04-_51WnfFJ.js} +1 -1
  18. package/dist/client/assets/{Image01-Do_f-fPi.js → Image01-nL5rafgN.js} +1 -1
  19. package/dist/client/assets/{Key01-C2Ozqf6q.js → Key01-DPEcpDw6.js} +1 -1
  20. package/dist/client/assets/{LayoutLeft-tXOkIxzs.js → LayoutLeft-DFrTynS3.js} +1 -1
  21. package/dist/client/assets/{LinkBroken01-sFiApfPs.js → LinkBroken01-BPaKcMJ1.js} +1 -1
  22. package/dist/client/assets/{MessageCircle01-LN8Gr1lL.js → MessageCircle01-DEwhGd-N.js} +1 -1
  23. package/dist/client/assets/{Minus-vz8sJtmc.js → Minus-CZtTY14n.js} +1 -1
  24. package/dist/client/assets/{Monitor01-Ctq4Y9xp.js → Monitor01-Dzk9r8YI.js} +1 -1
  25. package/dist/client/assets/{Play-B5OMs0GO.js → Play-BNkIfSsq.js} +1 -1
  26. package/dist/client/assets/{Plus-KLH-MPJh.js → Plus-WQeLSh07.js} +1 -1
  27. package/dist/client/assets/{ReferenceLine-Hl32My8w.js → ReferenceLine-Kl_nxn9t.js} +1 -1
  28. package/dist/client/assets/{SearchMd-1p8IP99o.js → SearchMd-CrM5HGUz.js} +1 -1
  29. package/dist/client/assets/{ShoppingBag01-BZ5p5Jaw.js → ShoppingBag01-Dvi8noNw.js} +1 -1
  30. package/dist/client/assets/{Sun-8QBdDNyc.js → Sun-BUSaNVU-.js} +1 -1
  31. package/dist/client/assets/{SwitchHorizontal01-BRSeU65r.js → SwitchHorizontal01-HaaMuIs0.js} +1 -1
  32. package/dist/client/assets/{Tool01-CIkfFpNs.js → Tool01-9Nk8XcOI.js} +1 -1
  33. package/dist/client/assets/{Tooltip-B9ptxG-X.js → Tooltip--i_yceGL.js} +1 -1
  34. package/dist/client/assets/{Trash01-1e348d5z.js → Trash01-By8obgKt.js} +1 -1
  35. package/dist/client/assets/{TrendUp01-Sag3n7qI.js → TrendUp01-D-BYwryf.js} +1 -1
  36. package/dist/client/assets/{Upload01-DQiq1N5L.js → Upload01-BPnZnmHF.js} +1 -1
  37. package/dist/client/assets/{UserCheck01-Dq2vpnim.js → UserCheck01-CuByTN5F.js} +1 -1
  38. package/dist/client/assets/{UserSquare-BAlzvt_y.js → UserSquare-T90Jaoc-.js} +1 -1
  39. package/dist/client/assets/{Users01-CJNRoJXK.js → Users01-D1-vaLa3.js} +1 -1
  40. package/dist/client/assets/{XClose-CQjSvos9.js → XClose-Bomoew3H.js} +1 -1
  41. package/dist/client/assets/{Zap-BbT-W69e.js → Zap-lo-lOcPp.js} +1 -1
  42. package/dist/client/assets/{access-gate-BwaSQQ2b.js → access-gate-D9gT0mCZ.js} +1 -1
  43. package/dist/client/assets/{add-connection-dialog-b9bCaaJ-.js → add-connection-dialog-Bn6L9Ywx.js} +1 -1
  44. package/dist/client/assets/agent-app-BBl0rE0n.js +1 -0
  45. package/dist/client/assets/{agent-assets-epUkCzig.js → agent-assets-BLuZ1J0l.js} +1 -1
  46. package/dist/client/assets/{agent-automation-DN5QlWy_.js → agent-automation-C0jF6GoO.js} +1 -1
  47. package/dist/client/assets/{agent-automations-DeGcvAoe.js → agent-automations-CIknlYgn.js} +1 -1
  48. package/dist/client/assets/agent-blog-Dz0ZGfFq.js +2 -0
  49. package/dist/client/assets/agent-blog-post-r0FRVJ6G.js +2 -0
  50. package/dist/client/assets/{agent-calendar-EBTKBv82.js → agent-calendar-eiAtEeXX.js} +1 -1
  51. package/dist/client/assets/{agent-capabilities-Dsy9OzBC.js → agent-capabilities-DWZ6HVp_.js} +1 -1
  52. package/dist/client/assets/{agent-connect-sources-B2TM-6qo.js → agent-connect-sources-tGjfqQgF.js} +1 -1
  53. package/dist/client/assets/agent-deck-Bhm8TGFo.js +1 -0
  54. package/dist/client/assets/{agent-e2e-DMK6Z36v.js → agent-e2e-ba5rV3St.js} +1 -1
  55. package/dist/client/assets/agent-experiments-D8dPEPBA.js +1 -0
  56. package/dist/client/assets/agent-file-n_x6LXzO.js +1 -0
  57. package/dist/client/assets/{agent-hosting-DOLRQkiF.js → agent-hosting-D6vOkjJV.js} +1 -1
  58. package/dist/client/assets/{agent-icon-CFsULo4q.js → agent-icon-zvo6Zsex.js} +1 -1
  59. package/dist/client/assets/agent-library-BM2Fah9h.js +1 -0
  60. package/dist/client/assets/agent-library-file-BO40iakQ.js +1 -0
  61. package/dist/client/assets/agent-overview-CJRKK7hh.js +1 -0
  62. package/dist/client/assets/agent-releases-CjP_903O.js +3 -0
  63. package/dist/client/assets/agent-settings-CE2XV9z9.js +1 -0
  64. package/dist/client/assets/{agent-site-editor-BiguEz5z.js → agent-site-editor-CRCOwi7y.js} +1 -1
  65. package/dist/client/assets/agent-site-editor-code-1w7lcxGQ.js +2 -0
  66. package/dist/client/assets/agent-site-editor-content-BU4N-bBf.js +1 -0
  67. package/dist/client/assets/agent-site-editor-preview-D9XYlGea.js +1 -0
  68. package/dist/client/assets/agent-view-B4jYgL5h.js +1 -0
  69. package/dist/client/assets/{agent-view-guard-BRen2fDa.js → agent-view-guard-DupPwYUR.js} +1 -1
  70. package/dist/client/assets/{ai-providers-X4uIftAC.js → ai-providers-P9lSOFin.js} +1 -1
  71. package/dist/client/assets/{alert-D6c8UL8s.js → alert-QfzOpdUg.js} +1 -1
  72. package/dist/client/assets/{analytics-sections-BeagNbn2.js → analytics-sections-at8BigEj.js} +1 -1
  73. package/dist/client/assets/api-keys-BoLbPekZ.js +1 -0
  74. package/dist/client/assets/{api-keys-Bhaq6l4m.js → api-keys-yj-YvHdL.js} +1 -1
  75. package/dist/client/assets/app-editor-CALR-Eh0.js +1 -0
  76. package/dist/client/assets/{asset-utils-DedHJB9N.js → asset-utils-BDYUvtkF.js} +1 -1
  77. package/dist/client/assets/{auth-WUI0GELm.js → auth--2gxCib9.js} +1 -1
  78. package/dist/client/assets/{auth-catchall-36sTseza.js → auth-catchall-BwHg1hCN.js} +1 -1
  79. package/dist/client/assets/{auth-entry-BtvDZBee.js → auth-entry-8MjIvWkA.js} +1 -1
  80. package/dist/client/assets/{auth-split-layout-DbgIe7Q7.js → auth-split-layout-DP2m0wm-.js} +1 -1
  81. package/dist/client/assets/{authenticate-and-persist-oauth-D7yFnk3v.js → authenticate-and-persist-oauth-GGQFCWKI.js} +1 -1
  82. package/dist/client/assets/{automation-list-row-B-bTXdxL.js → automation-list-row-BJoBOS8m.js} +1 -1
  83. package/dist/client/assets/{automation-runs-DTOCdqSY.js → automation-runs-ComF4nUM.js} +1 -1
  84. package/dist/client/assets/{automations-BXXmJoq9.js → automations-C5fxNUIr.js} +1 -1
  85. package/dist/client/assets/{badge-xkOOGTR2.js → badge-Di6qp_17.js} +1 -1
  86. package/dist/client/assets/{block-document-ClS1Gx3q.js → block-document-D7KablrH.js} +3 -3
  87. package/dist/client/assets/{blocks-preview-workspace-context-BOiyLqjl.js → blocks-preview-workspace-context-JYcUL0TS.js} +1 -1
  88. package/dist/client/assets/{blocks-tab-states-Dgkd6bcn.js → blocks-tab-states-D8VyxdkW.js} +1 -1
  89. package/dist/client/assets/blog-preview-url-DwcMPB8a.js +1 -0
  90. package/dist/client/assets/blog-schema-Dhm1FJA9.js +1 -0
  91. package/dist/client/assets/blog-source-gate-B93Jk1n3.js +1 -0
  92. package/dist/client/assets/{blog-view-gate-DYONh8sE.js → blog-view-gate-BDjHkxlS.js} +1 -1
  93. package/dist/client/assets/{buckets-W8OuOQja.js → buckets-DAeP-NAt.js} +1 -1
  94. package/dist/client/assets/{build-improve-prompt-doc-7R1He4iw.js → build-improve-prompt-doc-WLZ-Q0Fx.js} +1 -1
  95. package/dist/client/assets/{calendar-CCy2brqO.js → calendar-CqkLsAo9.js} +1 -1
  96. package/dist/client/assets/{capability-load-error-74rIpav9.js → capability-load-error-j4JpxktV.js} +1 -1
  97. package/dist/client/assets/category-editor-BblvA1zP.js +1 -0
  98. package/dist/client/assets/category-tree-DSsAlLjn.js +18 -0
  99. package/dist/client/assets/{chart-DVwx0iDS.js → chart-BZy9kWyI.js} +1 -1
  100. package/dist/client/assets/{chat-context-Dk_Ebz6D.js → chat-context-CxkYg5uT.js} +1 -1
  101. package/dist/client/assets/{chat-draft-x-F0ZPWu.js → chat-draft-DzaoNZT_.js} +1 -1
  102. package/dist/client/assets/{checkbox-DR00CmJr.js → checkbox-C-dWRGEo.js} +1 -1
  103. package/dist/client/assets/{choose-editor-3geZkU-m.js → choose-editor-DS4c61th.js} +1 -1
  104. package/dist/client/assets/{cli-auth-success-CX_XFx5r.js → cli-auth-success-DV77yJjs.js} +1 -1
  105. package/dist/client/assets/cms-settings-editor-DaqJeGro.js +1 -0
  106. package/dist/client/assets/{cms-store-drafts-BdqXOATK.js → cms-store-drafts-5dkWWhlw.js} +1 -1
  107. package/dist/client/assets/{collapsible-C5AFdLwb.js → collapsible-BSD-rIyq.js} +1 -1
  108. package/dist/client/assets/{collection-detail-DJYxfZho.js → collection-detail-wkxjhC55.js} +1 -1
  109. package/dist/client/assets/{collection-display-button-BS2sbab3.js → collection-display-button-JBmYQ-27.js} +1 -1
  110. package/dist/client/assets/{collection-search-ugxEd4a5.js → collection-search-BpNjeFlC.js} +1 -1
  111. package/dist/client/assets/{collection-table-wrapper-omwG60bs.js → collection-table-wrapper-BmrrNnjL.js} +1 -1
  112. package/dist/client/assets/{collection-tabs-BsiuG_yk.js → collection-tabs-CmuugrOY.js} +1 -1
  113. package/dist/client/assets/{combobox-BYBZebi0.js → combobox-D_fSr7_C.js} +1 -1
  114. package/dist/client/assets/{command-CRJnywSm.js → command-CwP4XJhp.js} +1 -1
  115. package/dist/client/assets/{companion-mcps-section-C5X6hxKV.js → companion-mcps-section-CG0lncr5.js} +1 -1
  116. package/dist/client/assets/{config-Br1Io2is.js → config-4NBdyaeh.js} +1 -1
  117. package/dist/client/assets/{connect-BvcW8HFx.js → connect-ChCcHtpb.js} +1 -1
  118. package/dist/client/assets/{connect-key-Bng8UgOW.js → connect-key-CJ6TvBP8.js} +1 -1
  119. package/dist/client/assets/{connect-layout-BK-aWbrg.js → connect-layout-DTpwfpPI.js} +1 -1
  120. package/dist/client/assets/{connect-source-dialog-D8TZSkBE.js → connect-source-dialog-_ChBZ2Vd.js} +1 -1
  121. package/dist/client/assets/{connection-C7PBWSJ2.js → connection-DezKWiQc.js} +1 -1
  122. package/dist/client/assets/{connection-card-DbjUpBUS.js → connection-card-CxiJ1Nzx.js} +1 -1
  123. package/dist/client/assets/{connection-detail-FZzRV6Ym.js → connection-detail-CYCmhAUL.js} +1 -1
  124. package/dist/client/assets/{connection-form-helpers-tAcDvyB7.js → connection-form-helpers-UXeTmEmu.js} +1 -1
  125. package/dist/client/assets/{connection-slug-xMtStNjP.js → connection-slug-DWaKdRBx.js} +1 -1
  126. package/dist/client/assets/{connections-IQMsafFW.js → connections-Bc9bEkOC.js} +1 -1
  127. package/dist/client/assets/{content-tab-Dby-qF-f.js → content-tab-ChWZ09d_.js} +4 -4
  128. package/dist/client/assets/{context-jsYDuqDI.js → context-1XEBvNOV.js} +1 -1
  129. package/dist/client/assets/{context-menu-Cvn-dR-4.js → context-menu-haKBWhFK.js} +1 -1
  130. package/dist/client/assets/{context-shell-Bm22btDj.js → context-shell-DApzBqkB.js} +3 -3
  131. package/dist/client/assets/{create-organization-dialog-CXfqVYbt.js → create-organization-dialog-BXvqxw2I.js} +1 -1
  132. package/dist/client/assets/{daily-pulse-CxBxkzGT.js → daily-pulse-Dpm7YKyw.js} +1 -1
  133. package/dist/client/assets/{delete-copy-tGyXeEYr.js → delete-copy-L_pixdww.js} +2 -2
  134. package/dist/client/assets/{device-hint-D3KIwRP_.js → device-hint-DfNddHqx.js} +1 -1
  135. package/dist/client/assets/{discover-UPogBeQB.js → discover-CDF3_FOL.js} +1 -1
  136. package/dist/client/assets/{domain-settings-DarbfYc3.js → domain-settings-SR0-GydA.js} +1 -1
  137. package/dist/client/assets/{drawer-CQosC7Hh.js → drawer-CmJXwXhP.js} +1 -1
  138. package/dist/client/assets/{editor-classes-CiUorYg6.js → editor-classes-C_k7lpha.js} +1 -1
  139. package/dist/client/assets/{editor-DnZdk2c2.js → editor-stZYyxdg.js} +1 -1
  140. package/dist/client/assets/{empty-state-D4GKvYHp.js → empty-state-BP4JRDLR.js} +1 -1
  141. package/dist/client/assets/{empty-state-B5kfNSn2.js → empty-state-DlNabApi.js} +1 -1
  142. package/dist/client/assets/{experiments-tab-choice-BNwFp10h.js → experiments-tab-choice-DZp7Pnbi.js} +1 -1
  143. package/dist/client/assets/{extract-connection-data-BwsA-RYq.js → extract-connection-data-CzqnFJl9.js} +1 -1
  144. package/dist/client/assets/{feature-gate-WGXGW3TJ.js → feature-gate-C_eiJnqB.js} +1 -1
  145. package/dist/client/assets/{feature-paywall-CXj-cCjT.js → feature-paywall-CBOn7yV2.js} +1 -1
  146. package/dist/client/assets/{file-explorer-CQ0OZXxU.js → file-explorer-BrZ-CG01.js} +1 -1
  147. package/dist/client/assets/{file-preview-CimYREH1.js → file-preview-PTP8hmPn.js} +1 -1
  148. package/dist/client/assets/{file-share-button-BAqDjZ0D.js → file-share-button-BegoNidK.js} +1 -1
  149. package/dist/client/assets/{file-type-icon-Cst2WgHg.js → file-type-icon-M87xyG0K.js} +1 -1
  150. package/dist/client/assets/{folder-icon-h8_LtFFJ.js → folder-icon-Dcx7O7hC.js} +1 -1
  151. package/dist/client/assets/{form-Bmlz7qRb.js → form-CJTkS9yd.js} +1 -1
  152. package/dist/client/assets/{frame-navigation-DiMr25uz.js → frame-navigation-BZ8W_2dq.js} +1 -1
  153. package/dist/client/assets/{gateway-client-Dcj5rv8f.js → gateway-client-zPU6BhGI.js} +1 -1
  154. package/dist/client/assets/{general-BTp6LTq7.js → general-CvWpV1rC.js} +1 -1
  155. package/dist/client/assets/{github-icon-HoxHOYky.js → github-icon-D3IlXxDN.js} +1 -1
  156. package/dist/client/assets/{held-block-view-CB9_UtVc.js → held-block-view-CEue5DyE.js} +1 -1
  157. package/dist/client/assets/{home-CTP0vpaw.js → home-CBhOYnUz.js} +1 -1
  158. package/dist/client/assets/{home-overview-oJuOP6Jj.js → home-overview-nMDmkNSh.js} +1 -1
  159. package/dist/client/assets/{hosted-reconcile-DipRdTAf.js → hosted-reconcile-CC64pDxA.js} +1 -1
  160. package/dist/client/assets/{icon-button-CkP-MdlY.js → icon-button-C9InOUgM.js} +1 -1
  161. package/dist/client/assets/{index-oZBvLpfd.js → index-B6vsr4i3.js} +1 -1
  162. package/dist/client/assets/{index-CpqnzQ6X.js → index-B8ZkvDME.js} +1 -1
  163. package/dist/client/assets/{index-ztFBZP-a.js → index-BIBRRoOW.js} +1 -1
  164. package/dist/client/assets/{index-C4-rqYj_.js → index-BPvzZzln.js} +1 -1
  165. package/dist/client/assets/{index-D4nZeJZF.js → index-C-bUN66r.js} +1 -1
  166. package/dist/client/assets/index-CFbcObvG.css +1 -0
  167. package/dist/client/assets/{index-Dj_uCaww.js → index-CY-w4kYr.js} +1 -1
  168. package/dist/client/assets/{index-DGcnGUGR.js → index-Cdf0nHrK.js} +1 -1
  169. package/dist/client/assets/{index-C5wldXHS.js → index-CiG92g6c.js} +1 -1
  170. package/dist/client/assets/{index-CtgoU6en.js → index-CnFOA69K.js} +1 -1
  171. package/dist/client/assets/{index-fjBXVTkP.js → index-CyK1A-PV.js} +1 -1
  172. package/dist/client/assets/{index-Cy5OtK8P.js → index-D2FJssDQ.js} +1 -1
  173. package/dist/client/assets/{index-B7BDvGS9.js → index-Dy0Aphio.js} +1 -1
  174. package/dist/client/assets/{index-CrMNCOay.js → index-OaQ5Wven.js} +1 -1
  175. package/dist/client/assets/{index-DFEtjxfd.js → index-g0fJQ3Ik.js} +1 -1
  176. package/dist/client/assets/{index-jEofb67j.js → index-hl8iFWLs.js} +1 -1
  177. package/dist/client/assets/{index-DCNDjBOm.js → index-kPKwu4SB.js} +1 -1
  178. package/dist/client/assets/{index-BGvfgBXQ.js → index-mb-jxjEy.js} +8 -8
  179. package/dist/client/assets/{index-redirect-DTMlUMlL.js → index-redirect-Cc2j63PQ.js} +1 -1
  180. package/dist/client/assets/{infiniteQueryObserver-CjHha6VI.js → infiniteQueryObserver-Dfcni9SV.js} +1 -1
  181. package/dist/client/assets/{infra-billing-R5GG28fc.js → infra-billing-BYZXmRJD.js} +1 -1
  182. package/dist/client/assets/{input-CIXcgL8B.js → input-BUC-cGry.js} +3 -3
  183. package/dist/client/assets/{input-CWx7kP2y.js → input-DjfzIqsk.js} +1 -1
  184. package/dist/client/assets/{integration-icon-nO6TvSsO.js → integration-icon-DRbGJhQo.js} +1 -1
  185. package/dist/client/assets/item-actions-CDU7n7Cr.js +1 -0
  186. package/dist/client/assets/{jira-icon-DX-tTt4z.js → jira-icon-DdgjDC_T.js} +1 -1
  187. package/dist/client/assets/{label-2ri5y0AT.js → label-DFYaZzfV.js} +1 -1
  188. package/dist/client/assets/{layout-m0ghuzGv.js → layout-C1ShA0A2.js} +1 -1
  189. package/dist/client/assets/{legacy-admin-welcome-dialog-dJnURvJJ.js → legacy-admin-welcome-dialog-C0rLwEhl.js} +1 -1
  190. package/dist/client/assets/{legacy-agents-deep-JluLJXF7.js → legacy-agents-deep-0KD5AZ-a.js} +1 -1
  191. package/dist/client/assets/{legacy-main-redirect-COiP2ETV.js → legacy-main-redirect-DsJJQAHz.js} +1 -1
  192. package/dist/client/assets/library-DKYFm9Uv.js +1 -0
  193. package/dist/client/assets/{library-tab-CAU7uiMF.js → library-tab-BttdbOwT.js} +1 -1
  194. package/dist/client/assets/{login-DgFE1SmG.js → login-DkrQRBM-.js} +1 -1
  195. package/dist/client/assets/{markdown-Du_1i_DV.js → markdown-B-EQMrBl.js} +1 -1
  196. package/dist/client/assets/{mcp-app-renderer-CHuh8eBE.js → mcp-app-renderer-B8_THT37.js} +1 -1
  197. package/dist/client/assets/{mcp-oauth-Be_pa5Ik.js → mcp-oauth-Cya-fh0P.js} +1 -1
  198. package/dist/client/assets/{mcp-oauth-Bppcz_3X.js → mcp-oauth-_iPR8QjI.js} +1 -1
  199. package/dist/client/assets/{members-CS-oK1Zf.js → members-BVOPoO_W.js} +1 -1
  200. package/dist/client/assets/{memory-Bl0VJnb1.js → memory-C23hLBrZ.js} +1 -1
  201. package/dist/client/assets/{mock-board-BQeILTVh.js → mock-board-BcZu24PK.js} +3 -3
  202. package/dist/client/assets/{monaco-editor-DCzjvWW2.js → monaco-editor-DttATUsj.js} +1 -1
  203. package/dist/client/assets/{monitoring-B4nvDMf7.js → monitoring-CLDBgSzo.js} +1 -1
  204. package/dist/client/assets/{monitoring-stats-row-BK9I1n3g.js → monitoring-stats-row-CRxmylqh.js} +1 -1
  205. package/dist/client/assets/{multi-select-DLpc9WGW.js → multi-select-CSOG3KaA.js} +1 -1
  206. package/dist/client/assets/{mustache-fgm1GoLm.js → mustache-clchl4ci.js} +1 -1
  207. package/dist/client/assets/{named-rule-step-ikHUM8J-.js → named-rule-step-C-_N0SXT.js} +1 -1
  208. package/dist/client/assets/{named-rule-view-BJLF9MVt.js → named-rule-view-DrUf_Aau.js} +1 -1
  209. package/dist/client/assets/{new-project-dialog-BfJtWdgg.js → new-project-dialog-KtG8l1yi.js} +1 -1
  210. package/dist/client/assets/{new-project-store-CUIYzGdu.js → new-project-store-DDZH8miu.js} +1 -1
  211. package/dist/client/assets/{oauth-callback-DAF-HNU5.js → oauth-callback-B-J4rjBS.js} +1 -1
  212. package/dist/client/assets/{oauth-callback-ai-provider-BlZK1cl5.js → oauth-callback-ai-provider-DCheihxt.js} +1 -1
  213. package/dist/client/assets/{oauth-consent-BjKAsSxp.js → oauth-consent-P6jhSz87.js} +1 -1
  214. package/dist/client/assets/{onboarding-CStDT_bk.js → onboarding-BoQQb_DJ.js} +1 -1
  215. package/dist/client/assets/{openai-conversation-DJ7Npc2v.js → openai-conversation-BRIcN7ns.js} +1 -1
  216. package/dist/client/assets/{optimistic-project-sidebar-views-CaqEFCbi.js → optimistic-project-sidebar-views-BhBXjk9R.js} +1 -1
  217. package/dist/client/assets/{order-monitor-day-B3sADUCG.js → order-monitor-day-DEr2FQ1w.js} +1 -1
  218. package/dist/client/assets/{organization-choice-vaH8PRN7.js → organization-choice-NHrCNKHD.js} +1 -1
  219. package/dist/client/assets/{orgs-C-TKQP3D.js → orgs-oDKfi1NH.js} +1 -1
  220. package/dist/client/assets/{own-accounts-section-BpgBL9aq.js → own-accounts-section-DfQklfiL.js} +1 -1
  221. package/dist/client/assets/{pair-M_Ks4KYr.js → pair-CI1Rts6X.js} +1 -1
  222. package/dist/client/assets/{parse-sections-BuUvGGsv.js → parse-sections-Cv7KSMgB.js} +3 -3
  223. package/dist/client/assets/{plan-D-khZ7ZC.js → plan-DhBEXV7d.js} +1 -1
  224. package/dist/client/assets/{plan-ladder-De9sRz_u.js → plan-ladder-Dn1mCpkd.js} +1 -1
  225. package/dist/client/assets/{plan-usage-card-8gBO_kT7.js → plan-usage-card-CoidaM8B.js} +1 -1
  226. package/dist/client/assets/{popover-BdGhwX6j.js → popover-D73VbCM5.js} +1 -1
  227. package/dist/client/assets/post-calendar-bB_dTysf.js +1 -0
  228. package/dist/client/assets/{post-editor-mxtEx2vX.js → post-editor-DJgKYRYW.js} +2 -2
  229. package/dist/client/assets/{preview-content-Dxe4XKdO.js → preview-content-g2WEpueQ.js} +1 -1
  230. package/dist/client/assets/{preview-dialog--RYpR3-k.js → preview-dialog-DEGn7q2O.js} +1 -1
  231. package/dist/client/assets/{preview-panel-Bk5cvms4.js → preview-panel-BWh6T2ND.js} +1 -1
  232. package/dist/client/assets/preview-tab-BFrQickY.js +557 -0
  233. package/dist/client/assets/primitives-BHTaKbue.js +1 -0
  234. package/dist/client/assets/{product-picker-dialog-CIU4p36P.js → product-picker-dialog-B1FnNY41.js} +1 -1
  235. package/dist/client/assets/{profile-CA2wDqLs.js → profile-KHrko28l.js} +1 -1
  236. package/dist/client/assets/{project-app-view-CsobOn93.js → project-app-view-CEsZ7pyQ.js} +1 -1
  237. package/dist/client/assets/{project-apps-CzXp3RuA.js → project-apps-BFfwYw5p.js} +1 -1
  238. package/dist/client/assets/{project-icon-BUl2sFaB.js → project-icon-Bl4IAncl.js} +1 -1
  239. package/dist/client/assets/{project-index-D3eqGaeY.js → project-index-DyqPLhTf.js} +1 -1
  240. package/dist/client/assets/project-reports-Bo9Tf1zF.js +1 -0
  241. package/dist/client/assets/project-tasks-t-YvuQ_q.js +1 -0
  242. package/dist/client/assets/{projects-DSjvBTqn.js → projects-D4oIfDMZ.js} +1 -1
  243. package/dist/client/assets/{projects-empty-state-C_4sZ19U.js → projects-empty-state-PFeDurZg.js} +1 -1
  244. package/dist/client/assets/{prompts-JIqJQ8rm.js → prompts-TmqmoJme.js} +1 -1
  245. package/dist/client/assets/record-editor-WmiU2d6T.js +1 -0
  246. package/dist/client/assets/redirect-editor-BlBcxP_z.js +1 -0
  247. package/dist/client/assets/reports-Cb0Mwz-u.js +1 -0
  248. package/dist/client/assets/{reports-DJZwSZy6.js → reports-DxGhEr3Y.js} +1 -1
  249. package/dist/client/assets/{reports-onboarding-CSkswBMH.js → reports-onboarding-CM7YPxA7.js} +1 -1
  250. package/dist/client/assets/{reports-tab-6fV3Jvgl.js → reports-tab-DLrLzkx3.js} +2 -2
  251. package/dist/client/assets/{repositories-BTuTm0L2.js → repositories-67wiZj2r.js} +1 -1
  252. package/dist/client/assets/repositories-CDNeFlHK.js +1 -0
  253. package/dist/client/assets/{repository-binding-DrxBu24C.js → repository-binding-w-FCDYuS.js} +1 -1
  254. package/dist/client/assets/{repository-picker-Darc81nL.js → repository-picker-DF0-TGsg.js} +1 -1
  255. package/dist/client/assets/{require-capability-C51SGps0.js → require-capability-7Xn2Fb3C.js} +1 -1
  256. package/dist/client/assets/{required-auth-layout-pSTI6t_x.js → required-auth-layout-B1owCwtw.js} +1 -1
  257. package/dist/client/assets/{reset-password-BnNzHLPz.js → reset-password-BvZRYC01.js} +1 -1
  258. package/dist/client/assets/{resizable-BU7UxgwC.js → resizable-CJbr1Nyi.js} +1 -1
  259. package/dist/client/assets/{resolve-tab-icon-Bd3WwXB0.js → resolve-tab-icon-3aZJM1BR.js} +1 -1
  260. package/dist/client/assets/{review-settings-D31XkFbq.js → review-settings-CISstknV.js} +1 -1
  261. package/dist/client/assets/{role-color-CJIemPpG.js → role-color-CW1lGNZj.js} +1 -1
  262. package/dist/client/assets/{roles-C7hVcM54.js → roles-D7rYnEMh.js} +1 -1
  263. package/dist/client/assets/route-CFBPrBcw.js +1 -0
  264. package/dist/client/assets/{route-ajk3Lz1i.js → route-CPaIZZ88.js} +1 -1
  265. package/dist/client/assets/{route-1boDLy4Y.js → route-CT0-z-8-.js} +1 -1
  266. package/dist/client/assets/{route-page-header-D3RVWIBC.js → route-page-header-CRzmHOKm.js} +1 -1
  267. package/dist/client/assets/{sandbox-git-api-lqhbN6-M.js → sandbox-git-api-1xYJwdHB.js} +1 -1
  268. package/dist/client/assets/{sandbox-lifecycle-context-QpFv1h24.js → sandbox-lifecycle-context-CxRkhFod.js} +1 -1
  269. package/dist/client/assets/{save-status-96Apsuux.js → save-status-Csuo4rYY.js} +1 -1
  270. package/dist/client/assets/{schema-DIQ-2mII.js → schema-BluyjH2z.js} +1 -1
  271. package/dist/client/assets/{schema-DklwT0XH.js → schema-DU3GC-Ez.js} +1 -1
  272. package/dist/client/assets/{scroll-area-CLaLCTf7.js → scroll-area-D9mVov2B.js} +1 -1
  273. package/dist/client/assets/{search-input-BytjnRYd.js → search-input-D-gp-h4P.js} +1 -1
  274. package/dist/client/assets/{search-toggle-BEH-S2im.js → search-toggle-C1j-Ki1u.js} +1 -1
  275. package/dist/client/assets/{secret-picker-k0C3uZq8.js → secret-picker-BoQX39kK.js} +1 -1
  276. package/dist/client/assets/{secrets-1-DGosfc.js → secrets-BZwPjTxC.js} +1 -1
  277. package/dist/client/assets/section-array-field-4siTAXTX.js +1 -0
  278. package/dist/client/assets/{sections-DfnSEAao.js → sections-Cwqt7k6K.js} +1 -1
  279. package/dist/client/assets/sections-editor-B2wYNbjz.js +1 -0
  280. package/dist/client/assets/{select-BH6i4t87.js → select-DnlDCB9E.js} +1 -1
  281. package/dist/client/assets/{select-model-DuodXwbD.js → select-model-Cm1Kbu8h.js} +1 -1
  282. package/dist/client/assets/seo-editor-DbLTH9Vw.js +1 -0
  283. package/dist/client/assets/{separator-DE4QJAwp.js → separator-DsSANYB0.js} +1 -1
  284. package/dist/client/assets/{session-runtime-CnePJMYk.js → session-runtime-D2GKulko.js} +1 -1
  285. package/dist/client/assets/settings-tab-CSzHYez6.js +1 -0
  286. package/dist/client/assets/{sheet-CX86ajAE.js → sheet-Ctckoytn.js} +1 -1
  287. package/dist/client/assets/{shell-layout-MrR8EGxZ.js → shell-layout-BS_Y65pV.js} +1 -1
  288. package/dist/client/assets/{site-draft-actions-CCPyXgQA.js → site-draft-actions-BZf0yVqo.js} +1 -1
  289. package/dist/client/assets/{site-draft-view-B3wpg14y.js → site-draft-view-NypTEK1x.js} +1 -1
  290. package/dist/client/assets/site-editor-BbPLQWC_.js +1 -0
  291. package/dist/client/assets/{site-editor-toast-DjTYO8yl.js → site-editor-toast-DfzFv4iY.js} +1 -1
  292. package/dist/client/assets/{skills-CwoSapY8.js → skills-2_Ugx28k.js} +1 -1
  293. package/dist/client/assets/{slider-B1Q72VZH.js → slider-Bqy5W8RM.js} +1 -1
  294. package/dist/client/assets/{sortable.esm-CXd3MFy1.js → sortable.esm-Cl-YQgc8.js} +1 -1
  295. package/dist/client/assets/{sso-DieJGjil.js → sso-CdbJh-Eu.js} +1 -1
  296. package/dist/client/assets/{suggestion-Cpa996zU.js → suggestion-BoV2NIg6.js} +1 -1
  297. package/dist/client/assets/{super-agent-icon-Db04o97L.js → super-agent-icon-CDA5EiNS.js} +1 -1
  298. package/dist/client/assets/{switch-B7uarNO5.js → switch--3C-A5oU.js} +1 -1
  299. package/dist/client/assets/{synced-repos-aIXgLnBB.js → synced-repos-BpiKoBMD.js} +1 -1
  300. package/dist/client/assets/{tab-icon-glyph-D_VxeQZE.js → tab-icon-glyph-CEoTzCNL.js} +1 -1
  301. package/dist/client/assets/{table-Bta2Y1CD.js → table-Cy5fo0ER.js} +1 -1
  302. package/dist/client/assets/{tabs-s8CSecQV.js → tabs-DJ6SkMve.js} +1 -1
  303. package/dist/client/assets/{task-board-DshmncwN.js → task-board-CShHcm1L.js} +1 -1
  304. package/dist/client/assets/{task-key-PomUyZRb.js → task-key-BP2--GY6.js} +1 -1
  305. package/dist/client/assets/{task-route-DIKoinWO.js → task-route-BDNP9yC7.js} +1 -1
  306. package/dist/client/assets/{task-status-LX7lBTjN.js → task-status-GPS8HLw1.js} +1 -1
  307. package/dist/client/assets/{taskboard-analytics-DfkqsYeI.js → taskboard-analytics-DPlKE9oq.js} +1 -1
  308. package/dist/client/assets/tasks-Coh8-0jv.js +1 -0
  309. package/dist/client/assets/{tasks-BGD-BUHo.js → tasks-DQ5zrDt3.js} +1 -1
  310. package/dist/client/assets/{textarea-C_mtz3Kv.js → textarea-BCGFjA5F.js} +1 -1
  311. package/dist/client/assets/{thread-analytics-aGwSdxKv.js → thread-analytics-B5IqH-5A.js} +1 -1
  312. package/dist/client/assets/{thread-button-Bc5fnhGX.js → thread-button-Dw70OEJl.js} +1 -1
  313. package/dist/client/assets/{thread-intent-DJ2isQQx.js → thread-intent-BQWCtBA_.js} +1 -1
  314. package/dist/client/assets/{thread-route-DI1GCHqT.js → thread-route-DRsKlO-E.js} +1 -1
  315. package/dist/client/assets/{thread-route-C13LdFpr.js → thread-route-Dix8r-rB.js} +1 -1
  316. package/dist/client/assets/{thread-sheet-body-CnbjjV-I.js → thread-sheet-body-iwOtv26B.js} +1 -1
  317. package/dist/client/assets/{time-range-picker-A0UZNhWR.js → time-range-picker-CUAzqD4s.js} +1 -1
  318. package/dist/client/assets/{toggle-group-BjeGXB13.js → toggle-group-jkikwCcL.js} +1 -1
  319. package/dist/client/assets/{tool-set-selector-rXUFKU4u.js → tool-set-selector-Clh56c6v.js} +1 -1
  320. package/dist/client/assets/{toolbar-icon-button-BmCu83-X.js → toolbar-icon-button-DcIFSTOI.js} +1 -1
  321. package/dist/client/assets/{tooltip-D0-ybZJ-.js → tooltip-DCzbfwd7.js} +1 -1
  322. package/dist/client/assets/{tooltipContext-Dm5XB4Pa.js → tooltipContext-2wUW4UR-.js} +1 -1
  323. package/dist/client/assets/{track-BI5WxsF3.js → track-D4IkVAbh.js} +1 -1
  324. package/dist/client/assets/{types-DeHdmC2C.js → types-BQYXFpO6.js} +1 -1
  325. package/dist/client/assets/{url-slug-Bt323BC1.js → url-slug-E3otz4_J.js} +1 -1
  326. package/dist/client/assets/{usage-stats-4TwUkhM4.js → usage-stats-CiB8uQLm.js} +1 -1
  327. package/dist/client/assets/{use-ai-providers-Cykm4Omp.js → use-ai-providers-CTbi7eSd.js} +1 -1
  328. package/dist/client/assets/{use-api-keys-QqkV0EMu.js → use-api-keys-CuxnpyDB.js} +1 -1
  329. package/dist/client/assets/{use-apply-named-rule-B0v5Nv1Q.js → use-apply-named-rule-BroFciug.js} +1 -1
  330. package/dist/client/assets/use-ask-in-chat-vlpFfAp7.js +1 -0
  331. package/dist/client/assets/{use-automations-CIfofZgd.js → use-automations-BdniAcmH.js} +1 -1
  332. package/dist/client/assets/{use-autosave-phCMBUyD.js → use-autosave-C9MsBAi1.js} +1 -1
  333. package/dist/client/assets/use-blocks-v8-project-BloQ91Xb.js +1 -0
  334. package/dist/client/assets/use-blog-view-Bi3aoju6.js +1 -0
  335. package/dist/client/assets/{use-chat-layout-state-BWjgOEMc.js → use-chat-layout-state-77HNlix_.js} +1 -1
  336. package/dist/client/assets/{use-cms-publish-actions-CPyM3m5I.js → use-cms-publish-actions-DGO40mZ2.js} +1 -1
  337. package/dist/client/assets/{use-connect-companion-eWYXL_LA.js → use-connect-companion-BkEQhdBC.js} +1 -1
  338. package/dist/client/assets/{use-connection-dER7f5j5.js → use-connection-DxwzNo03.js} +1 -1
  339. package/dist/client/assets/{use-content-sync-BSudZND-.js → use-content-sync-C9H2kDwl.js} +1 -1
  340. package/dist/client/assets/{use-copy-CzwPMJY2.js → use-copy-DSNmvH9L.js} +1 -1
  341. package/dist/client/assets/{use-current-view-BhCzT_on.js → use-current-view-DvszbK0Z.js} +1 -1
  342. package/dist/client/assets/{use-date-fns-locale-DbDI1yRa.js → use-date-fns-locale-BSsydU_s.js} +1 -1
  343. package/dist/client/assets/{use-debounced-autosave-BUqTz9gI.js → use-debounced-autosave-D6iRm-Vv.js} +1 -1
  344. package/dist/client/assets/{use-debounced-value-DNV71VAt.js → use-debounced-value-CAOKwJaL.js} +1 -1
  345. package/dist/client/assets/{use-deco-credits-D1eTXz3B.js → use-deco-credits-DnZKzVHP.js} +1 -1
  346. package/dist/client/assets/{use-decopilot-events-DwV1bANi.js → use-decopilot-events-BhcT5RAV.js} +1 -1
  347. package/dist/client/assets/{use-delete-block-B3Q8p71v.js → use-delete-block-Bd0Db3-p.js} +1 -1
  348. package/dist/client/assets/{use-delete-connection-KjVy0n0M.js → use-delete-connection-BMDl_PP-.js} +1 -1
  349. package/dist/client/assets/{use-deployment-admin-U97at0FL.js → use-deployment-admin-DCWHLNad.js} +1 -1
  350. package/dist/client/assets/{use-entitlements-BnUu4797.js → use-entitlements-CzwT7L5B.js} +1 -1
  351. package/dist/client/assets/{use-fast-preview-draft-url-Cyb7nHOV.js → use-fast-preview-draft-url-DbEjmD3f.js} +1 -1
  352. package/dist/client/assets/{use-file-configs-D-0GlBYS.js → use-file-configs-yKe4yLHn.js} +1 -1
  353. package/dist/client/assets/{use-id-selection-lO2dafiF.js → use-id-selection-DmcvY3GI.js} +1 -1
  354. package/dist/client/assets/{use-in-settings-BZ-N_1GQ.js → use-in-settings-BTBVzmbg.js} +1 -1
  355. package/dist/client/assets/{use-inbox-feed-adObXP9V.js → use-inbox-feed-BOy7gIMv.js} +1 -1
  356. package/dist/client/assets/{use-infinite-scroll-DuNc__Oo.js → use-infinite-scroll-DnhPBPks.js} +1 -1
  357. package/dist/client/assets/{use-join-requests-CGnr0fzd.js → use-join-requests-C0zVtdAh.js} +1 -1
  358. package/dist/client/assets/{use-main-panel-tabs-C_KJU7HA.js → use-main-panel-tabs-BCg6GLFm.js} +1 -1
  359. package/dist/client/assets/{use-mcp-auth-status-CIA9x3GT.js → use-mcp-auth-status-BZRJODR4.js} +1 -1
  360. package/dist/client/assets/{use-mcp-client-CsG2AAiF.js → use-mcp-client-4k5JKqzF.js} +1 -1
  361. package/dist/client/assets/{use-mcp-prompts-DJkMWAp0.js → use-mcp-prompts-pJuJ9yii.js} +1 -1
  362. package/dist/client/assets/{use-mcp-tools-C4sfkkEQ.js → use-mcp-tools-Dh4scI4V.js} +1 -1
  363. package/dist/client/assets/{use-mobile-B4kazYmP.js → use-mobile-CBwmaBFU.js} +1 -1
  364. package/dist/client/assets/{use-move-blocks-CQpVSPWP.js → use-move-blocks-D8MFSTf7.js} +1 -1
  365. package/dist/client/assets/{use-navigate-to-agent-CYt8D-re.js → use-navigate-to-agent-H87rWFYJ.js} +1 -1
  366. package/dist/client/assets/{use-never-published-Dhj1oB8k.js → use-never-published-Db-SviVk.js} +1 -1
  367. package/dist/client/assets/{use-org-fs-BQ1-EjeH.js → use-org-fs-CbXrwKDd.js} +1 -1
  368. package/dist/client/assets/{use-org-notice-FqFlDSJV.js → use-org-notice-BLDWm2ef.js} +1 -1
  369. package/dist/client/assets/{use-org-repo-syncs-DZJLO1tr.js → use-org-repo-syncs-BLfbsB0Y.js} +1 -1
  370. package/dist/client/assets/{use-org-sso-CCCXGXRa.js → use-org-sso-Cfy5SkJ5.js} +1 -1
  371. package/dist/client/assets/{use-organization-settings-CcEgBKiR.js → use-organization-settings-UrGbnM2k.js} +1 -1
  372. package/dist/client/assets/{use-panel-navigate-BEVdshk4.js → use-panel-navigate-B5u6ws6M.js} +1 -1
  373. package/dist/client/assets/{use-project-native-view-presence-BWWCr0OJ.js → use-project-native-view-presence-Cww1Huve.js} +1 -1
  374. package/dist/client/assets/{use-project-scope-DaSiwM20.js → use-project-scope-Dydp2D08.js} +1 -1
  375. package/dist/client/assets/{use-recent-apps-DJU0pj25.js → use-recent-apps-B6ojF6fA.js} +1 -1
  376. package/dist/client/assets/{use-reports-diagnostic-BBFJaws_.js → use-reports-diagnostic-EfyKTU1j.js} +1 -1
  377. package/dist/client/assets/{use-sandbox-events-Bh6eTl2p.js → use-sandbox-events-DEHux0gs.js} +1 -1
  378. package/dist/client/assets/{use-secrets-DRWI9snD.js → use-secrets-G3Yo5eAI.js} +1 -1
  379. package/dist/client/assets/{use-section-preview-base-DgxMYdVR.js → use-section-preview-base-C2ASOAPw.js} +1 -1
  380. package/dist/client/assets/{use-sidebar-collapsed-Cb1DkW28.js → use-sidebar-collapsed-DgMGLJyh.js} +1 -1
  381. package/dist/client/assets/{use-tags-CY161EKU.js → use-tags-laGjgQqt.js} +1 -1
  382. package/dist/client/assets/{use-task-board-analytics-DstP91hQ.js → use-task-board-analytics-Ct6FAXeB.js} +1 -1
  383. package/dist/client/assets/{use-task-board-item-prs-DENiL_-n.js → use-task-board-item-prs-BbVn1nYd.js} +1 -1
  384. package/dist/client/assets/{use-task-board-items-BOf8g772.js → use-task-board-items-B_EMxvU9.js} +1 -1
  385. package/dist/client/assets/{use-task-board-prompts-Cy7ux4ZM.js → use-task-board-prompts-CE2PVOHH.js} +1 -1
  386. package/dist/client/assets/{use-task-metadata-CLvpp-M5.js → use-task-metadata-L0GKyc-x.js} +1 -1
  387. package/dist/client/assets/{use-thread-outputs-CBGDKGBc.js → use-thread-outputs-B9502nWa.js} +1 -1
  388. package/dist/client/assets/{use-view-draft-kind-Bm-Nz5rU.js → use-view-draft-kind-CZT4hOaN.js} +1 -1
  389. package/dist/client/assets/{use-voice-input-l3y10Zzf.js → use-voice-input-Nzha8Za1.js} +1 -1
  390. package/dist/client/assets/useInfiniteQuery-FxnnBp9W.js +1 -0
  391. package/dist/client/assets/{useQueries-BADhFyMC.js → useQueries-CQ0xJF7W.js} +1 -1
  392. package/dist/client/assets/useSuspenseInfiniteQuery-CtWAJlQZ.js +1 -0
  393. package/dist/client/assets/{users-BlAutU5k.js → users-C_-sgV42.js} +1 -1
  394. package/dist/client/assets/{utils-D3hrWqhu.js → utils-pe9cqItP.js} +1 -1
  395. package/dist/client/assets/{variant-calendar-Cf89P2oq.js → variant-calendar-d5m67-k3.js} +1 -1
  396. package/dist/client/assets/{variant-matcher-override-cabGpziX.js → variant-matcher-override-DoPQRIHU.js} +1 -1
  397. package/dist/client/assets/{view-header-CqefLZ8T.js → view-header-B0xV_oWh.js} +1 -1
  398. package/dist/client/assets/{virtual-mcp-BfLRvmz0.js → virtual-mcp-DN6fu9Nf.js} +1 -1
  399. package/dist/client/assets/{watch-sse-pool-mz6vVQb7.js → watch-sse-pool-7J-tc7Ge.js} +1 -1
  400. package/dist/client/index.html +2 -2
  401. package/dist/server/server.js +2 -2
  402. package/package.json +1 -1
  403. package/dist/client/assets/agent-app-qi4Zg0Ko.js +0 -1
  404. package/dist/client/assets/agent-blog-C-T8yJPu.js +0 -2
  405. package/dist/client/assets/agent-blog-post-spGtFEpJ.js +0 -2
  406. package/dist/client/assets/agent-deck-8F4Y3xtF.js +0 -1
  407. package/dist/client/assets/agent-experiments-CxOy1OMh.js +0 -1
  408. package/dist/client/assets/agent-file-BHPXEsLM.js +0 -1
  409. package/dist/client/assets/agent-library-BDMtzZv5.js +0 -1
  410. package/dist/client/assets/agent-library-file-BU6GZbp1.js +0 -1
  411. package/dist/client/assets/agent-overview-BpZl9px0.js +0 -1
  412. package/dist/client/assets/agent-releases-BojH--RB.js +0 -2
  413. package/dist/client/assets/agent-settings-CmejIfdg.js +0 -1
  414. package/dist/client/assets/agent-site-editor-code-CsUpsDOZ.js +0 -2
  415. package/dist/client/assets/agent-site-editor-content-DcDYGjSi.js +0 -1
  416. package/dist/client/assets/agent-site-editor-preview-DoYr2JdT.js +0 -1
  417. package/dist/client/assets/agent-view-5HH2xFah.js +0 -1
  418. package/dist/client/assets/api-keys-tTCGO1A5.js +0 -1
  419. package/dist/client/assets/app-editor-BDvMcyIq.js +0 -1
  420. package/dist/client/assets/blog-preview-url-CQF91dum.js +0 -1
  421. package/dist/client/assets/blog-schema-B993jmPJ.js +0 -1
  422. package/dist/client/assets/blog-source-gate-B40koNXU.js +0 -1
  423. package/dist/client/assets/category-editor-DrOqNXNY.js +0 -1
  424. package/dist/client/assets/category-tree-B08EozIk.js +0 -4
  425. package/dist/client/assets/cms-settings-editor-DMhLCkuK.js +0 -1
  426. package/dist/client/assets/empty-message-CG0mkpBx.js +0 -15
  427. package/dist/client/assets/index-w9K6scL8.css +0 -1
  428. package/dist/client/assets/item-actions-DHBqlB8t.js +0 -1
  429. package/dist/client/assets/library-Wi-0o3Yx.js +0 -1
  430. package/dist/client/assets/post-calendar-CYarN2j3.js +0 -1
  431. package/dist/client/assets/preview-tab-BRY7e3Ww.js +0 -557
  432. package/dist/client/assets/project-reports-DUszwxkV.js +0 -1
  433. package/dist/client/assets/project-tasks-C9wh-MvK.js +0 -1
  434. package/dist/client/assets/record-editor-5hDNYEyc.js +0 -1
  435. package/dist/client/assets/redirect-editor-CIkflDxt.js +0 -1
  436. package/dist/client/assets/reports-BQo9TgIr.js +0 -1
  437. package/dist/client/assets/repositories-BT4LP6yW.js +0 -1
  438. package/dist/client/assets/route-FPh-7Znc.js +0 -1
  439. package/dist/client/assets/section-array-field-08gf_aaJ.js +0 -1
  440. package/dist/client/assets/sections-editor-Cm1IpUw4.js +0 -1
  441. package/dist/client/assets/seo-editor-vJ_3bHov.js +0 -1
  442. package/dist/client/assets/settings-tab-C97802nQ.js +0 -1
  443. package/dist/client/assets/site-editor-BiU8V7py.js +0 -1
  444. package/dist/client/assets/tasks-B2acfxpH.js +0 -1
  445. package/dist/client/assets/use-ask-in-chat-CJn-8DXz.js +0 -1
  446. package/dist/client/assets/use-blocks-v8-project-BUDjuC95.js +0 -1
  447. package/dist/client/assets/use-blog-view-CZ2egr0r.js +0 -1
  448. package/dist/client/assets/useInfiniteQuery-Comohppg.js +0 -1
  449. package/dist/client/assets/useSuspenseInfiniteQuery-XSNjcYue.js +0 -1
@@ -1 +1 @@
1
- import{j as u,r as D,c as ht,m as H,ba as Pe,au as mt}from"./index-BGvfgBXQ.js";import{b as vt}from"./UserCheck01-Dq2vpnim.js";function w(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function S(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function C(e,t){const n=w(e);return isNaN(t)?S(e,NaN):(t&&n.setDate(n.getDate()+t),n)}function j(e,t){const n=w(e);if(isNaN(t))return S(e,NaN);if(!t)return n;const a=n.getDate(),r=S(e,n.getTime());r.setMonth(n.getMonth()+t+1,0);const o=r.getDate();return a>=o?r:(n.setFullYear(r.getFullYear(),r.getMonth(),a),n)}const ye=6048e5,yt=864e5;let gt={};function z(){return gt}function Y(e,t){const n=z(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=w(e),o=r.getDay(),i=(o<a?7:0)+o-a;return r.setDate(r.getDate()-i),r.setHours(0,0,0,0),r}function I(e){return Y(e,{weekStartsOn:1})}function Ie(e){const t=w(e),n=t.getFullYear(),a=S(e,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const r=I(a),o=S(e,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);const i=I(o);return t.getTime()>=r.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function A(e){const t=w(e);return t.setHours(0,0,0,0),t}function Z(e){const t=w(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function T(e,t){const n=A(e),a=A(t),r=+n-Z(n),o=+a-Z(a);return Math.round((r-o)/yt)}function bt(e){const t=Ie(e),n=S(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),I(n)}function me(e,t){const n=t*7;return C(e,n)}function pt(e,t){return j(e,t*12)}function wt(e){let t;return e.forEach(function(n){const a=w(n);(t===void 0||t<a||isNaN(Number(a)))&&(t=a)}),t||new Date(NaN)}function xt(e){let t;return e.forEach(n=>{const a=w(n);(!t||t>a||isNaN(+a))&&(t=a)}),t||new Date(NaN)}function P(e,t){const n=A(e),a=A(t);return+n==+a}function ge(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function _t(e){if(!ge(e)&&typeof e!="number")return!1;const t=w(e);return!isNaN(Number(t))}function G(e,t){const n=w(e),a=w(t),r=n.getFullYear()-a.getFullYear(),o=n.getMonth()-a.getMonth();return r*12+o}function Dt(e,t,n){const a=Y(e,n),r=Y(t,n),o=+a-Z(a),i=+r-Z(r);return Math.round((o-i)/ye)}function be(e){const t=w(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function O(e){const t=w(e);return t.setDate(1),t.setHours(0,0,0,0),t}function Re(e){const t=w(e),n=S(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function pe(e,t){const n=z(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=w(e),o=r.getDay(),i=(o<a?-7:0)+6-(o-a);return r.setDate(r.getDate()+i),r.setHours(23,59,59,999),r}function Be(e){return pe(e,{weekStartsOn:1})}const Mt={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},kt=(e,t,n)=>{let a;const r=Mt[e];return typeof r=="string"?a=r:t===1?a=r.one:a=r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function se(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Nt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ct={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Pt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ot={date:se({formats:Nt,defaultWidth:"full"}),time:se({formats:Ct,defaultWidth:"full"}),dateTime:se({formats:Pt,defaultWidth:"full"})},St={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},jt=(e,t,n,a)=>St[e];function X(e){return(t,n)=>{const a=n?.context?String(n.context):"standalone";let r;if(a==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,s=n?.width?String(n.width):i;r=e.formattingValues[s]||e.formattingValues[i]}else{const i=e.defaultWidth,s=n?.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[i]}const o=e.argumentCallback?e.argumentCallback(t):t;return r[o]}}const Wt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Tt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Yt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ft={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Et={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Lt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},It=(e,t)=>{const n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Rt={ordinalNumber:It,era:X({values:Wt,defaultWidth:"wide"}),quarter:X({values:Tt,defaultWidth:"wide",argumentCallback:e=>e-1}),month:X({values:Yt,defaultWidth:"wide"}),day:X({values:Ft,defaultWidth:"wide"}),dayPeriod:X({values:Et,defaultWidth:"wide",formattingValues:Lt,defaultFormattingWidth:"wide"})};function V(e){return(t,n={})=>{const a=n.width,r=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=t.match(r);if(!o)return null;const i=o[0],s=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?Ht(s,f=>f.test(i)):Bt(s,f=>f.test(i));let d;d=e.valueCallback?e.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;const l=t.slice(i.length);return{value:d,rest:l}}}function Bt(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Ht(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function At(e){return(t,n={})=>{const a=t.match(e.matchPattern);if(!a)return null;const r=a[0],o=t.match(e.parsePattern);if(!o)return null;let i=e.valueCallback?e.valueCallback(o[0]):o[0];i=n.valueCallback?n.valueCallback(i):i;const s=t.slice(r.length);return{value:i,rest:s}}}const qt=/^(\d+)(th|st|nd|rd)?/i,Qt=/\d+/i,Xt={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Vt={any:[/^b/i,/^(a|c)/i]},Gt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},zt={any:[/1/i,/2/i,/3/i,/4/i]},Ut={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Jt={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Kt={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},$t={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Zt={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},en={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},tn={ordinalNumber:At({matchPattern:qt,parsePattern:Qt,valueCallback:e=>parseInt(e,10)}),era:V({matchPatterns:Xt,defaultMatchWidth:"wide",parsePatterns:Vt,defaultParseWidth:"any"}),quarter:V({matchPatterns:Gt,defaultMatchWidth:"wide",parsePatterns:zt,defaultParseWidth:"any",valueCallback:e=>e+1}),month:V({matchPatterns:Ut,defaultMatchWidth:"wide",parsePatterns:Jt,defaultParseWidth:"any"}),day:V({matchPatterns:Kt,defaultMatchWidth:"wide",parsePatterns:$t,defaultParseWidth:"any"}),dayPeriod:V({matchPatterns:Zt,defaultMatchWidth:"any",parsePatterns:en,defaultParseWidth:"any"})},He={code:"en-US",formatDistance:kt,formatLong:Ot,formatRelative:jt,localize:Rt,match:tn,options:{weekStartsOn:0,firstWeekContainsDate:1}};function nn(e){const t=w(e);return T(t,Re(t))+1}function Ae(e){const t=w(e),n=+I(t)-+bt(t);return Math.round(n/ye)+1}function qe(e,t){const n=w(e),a=n.getFullYear(),r=z(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,i=S(e,0);i.setFullYear(a+1,0,o),i.setHours(0,0,0,0);const s=Y(i,t),c=S(e,0);c.setFullYear(a,0,o),c.setHours(0,0,0,0);const d=Y(c,t);return n.getTime()>=s.getTime()?a+1:n.getTime()>=d.getTime()?a:a-1}function an(e,t){const n=z(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,r=qe(e,t),o=S(e,0);return o.setFullYear(r,0,a),o.setHours(0,0,0,0),Y(o,t)}function Qe(e,t){const n=w(e),a=+Y(n,t)-+an(n,t);return Math.round(a/ye)+1}function _(e,t){const n=e<0?"-":"",a=Math.abs(e).toString().padStart(t,"0");return n+a}const E={y(e,t){const n=e.getFullYear(),a=n>0?n:1-n;return _(t==="yy"?a%100:a,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):_(n+1,2)},d(e,t){return _(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return n==="am"?"a.m.":"p.m."}},h(e,t){return _(e.getHours()%12||12,t.length)},H(e,t){return _(e.getHours(),t.length)},m(e,t){return _(e.getMinutes(),t.length)},s(e,t){return _(e.getSeconds(),t.length)},S(e,t){const n=t.length,a=e.getMilliseconds(),r=Math.trunc(a*Math.pow(10,n-3));return _(r,t.length)}},B={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Oe={G:function(e,t,n){const a=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});default:return n.era(a,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const a=e.getFullYear(),r=a>0?a:1-a;return n.ordinalNumber(r,{unit:"year"})}return E.y(e,t)},Y:function(e,t,n,a){const r=qe(e,a),o=r>0?r:1-r;if(t==="YY"){const i=o%100;return _(i,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):_(o,t.length)},R:function(e,t){const n=Ie(e);return _(n,t.length)},u:function(e,t){const n=e.getFullYear();return _(n,t.length)},Q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return _(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return _(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,n){const a=e.getMonth();switch(t){case"M":case"MM":return E.M(e,t);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,n){const a=e.getMonth();switch(t){case"L":return String(a+1);case"LL":return _(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,n,a){const r=Qe(e,a);return t==="wo"?n.ordinalNumber(r,{unit:"week"}):_(r,t.length)},I:function(e,t,n){const a=Ae(e);return t==="Io"?n.ordinalNumber(a,{unit:"week"}):_(a,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):E.d(e,t)},D:function(e,t,n){const a=nn(e);return t==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):_(a,t.length)},E:function(e,t,n){const a=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,n,a){const r=e.getDay(),o=(r-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return _(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,a){const r=e.getDay(),o=(r-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return _(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){const a=e.getDay(),r=a===0?7:a;switch(t){case"i":return String(r);case"ii":return _(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const a=e.getHours();let r;switch(a===12?r=B.noon:a===0?r=B.midnight:r=a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){const a=e.getHours();let r;switch(a>=17?r=B.evening:a>=12?r=B.afternoon:a>=4?r=B.morning:r=B.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let a=e.getHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return E.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):E.H(e,t)},K:function(e,t,n){const a=e.getHours()%12;return t==="Ko"?n.ordinalNumber(a,{unit:"hour"}):_(a,t.length)},k:function(e,t,n){let a=e.getHours();return a===0&&(a=24),t==="ko"?n.ordinalNumber(a,{unit:"hour"}):_(a,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):E.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):E.s(e,t)},S:function(e,t){return E.S(e,t)},X:function(e,t,n){const a=e.getTimezoneOffset();if(a===0)return"Z";switch(t){case"X":return je(a);case"XXXX":case"XX":return L(a);default:return L(a,":")}},x:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"x":return je(a);case"xxxx":case"xx":return L(a);default:return L(a,":")}},O:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Se(a,":");default:return"GMT"+L(a,":")}},z:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Se(a,":");default:return"GMT"+L(a,":")}},t:function(e,t,n){const a=Math.trunc(e.getTime()/1e3);return _(a,t.length)},T:function(e,t,n){const a=e.getTime();return _(a,t.length)}};function Se(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),r=Math.trunc(a/60),o=a%60;return o===0?n+String(r):n+String(r)+t+_(o,2)}function je(e,t){return e%60===0?(e>0?"-":"+")+_(Math.abs(e)/60,2):L(e,t)}function L(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),r=_(Math.trunc(a/60),2),o=_(a%60,2);return n+r+t+o}const We=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Xe=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},rn=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],a=n[1],r=n[2];if(!r)return We(e,t);let o;switch(a){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",We(a,t)).replace("{{time}}",Xe(r,t))},on={p:Xe,P:rn},sn=/^D+$/,un=/^Y+$/,ln=["D","DD","YY","YYYY"];function cn(e){return sn.test(e)}function dn(e){return un.test(e)}function fn(e,t,n){const a=hn(e,t,n);if(console.warn(a),ln.includes(e))throw new RangeError(a)}function hn(e,t,n){const a=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${a} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const mn=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,vn=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,yn=/^'([^]*?)'?$/,gn=/''/g,bn=/[a-zA-Z]/;function R(e,t,n){const a=z(),r=n?.locale??a.locale??He,o=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,i=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,s=w(e);if(!_t(s))throw new RangeError("Invalid time value");let c=t.match(vn).map(l=>{const f=l[0];if(f==="p"||f==="P"){const h=on[f];return h(l,r.formatLong)}return l}).join("").match(mn).map(l=>{if(l==="''")return{isToken:!1,value:"'"};const f=l[0];if(f==="'")return{isToken:!1,value:pn(l)};if(Oe[f])return{isToken:!0,value:l};if(f.match(bn))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return{isToken:!1,value:l}});r.localize.preprocessor&&(c=r.localize.preprocessor(s,c));const d={firstWeekContainsDate:o,weekStartsOn:i,locale:r};return c.map(l=>{if(!l.isToken)return l.value;const f=l.value;(!n?.useAdditionalWeekYearTokens&&dn(f)||!n?.useAdditionalDayOfYearTokens&&cn(f))&&fn(f,t,String(e));const h=Oe[f[0]];return h(s,f,r.localize,d)}).join("")}function pn(e){const t=e.match(yn);return t?t[1].replace(gn,"'"):e}function wn(e){const t=w(e),n=t.getFullYear(),a=t.getMonth(),r=S(e,0);return r.setFullYear(n,a+1,0),r.setHours(0,0,0,0),r.getDate()}function xn(e){return Math.trunc(+w(e)/1e3)}function _n(e){const t=w(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}function Dn(e,t){return Dt(_n(e),O(e),t)+1}function ve(e,t){const n=w(e),a=w(t);return n.getTime()>a.getTime()}function Ve(e,t){const n=w(e),a=w(t);return+n<+a}function we(e,t){const n=w(e),a=w(t);return n.getFullYear()===a.getFullYear()&&n.getMonth()===a.getMonth()}function Mn(e,t){const n=w(e),a=w(t);return n.getFullYear()===a.getFullYear()}function ue(e,t){return C(e,-t)}function le(e,t){const n=w(e),a=n.getFullYear(),r=n.getDate(),o=S(e,0);o.setFullYear(a,t,15),o.setHours(0,0,0,0);const i=wn(o);return n.setMonth(t,Math.min(r,i)),n}function Te(e,t){const n=w(e);return isNaN(+n)?S(e,NaN):(n.setFullYear(t),n)}var g=function(){return g=Object.assign||function(t){for(var n,a=1,r=arguments.length;a<r;a++){n=arguments[a];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},g.apply(this,arguments)};function kn(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n}function Ge(e,t,n){for(var a=0,r=t.length,o;a<r;a++)(o||!(a in t))&&(o||(o=Array.prototype.slice.call(t,0,a)),o[a]=t[a]);return e.concat(o||Array.prototype.slice.call(t))}function U(e){return e.mode==="multiple"}function J(e){return e.mode==="range"}function te(e){return e.mode==="single"}var Nn={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function Cn(e,t){return R(e,"LLLL y",t)}function Pn(e,t){return R(e,"d",t)}function On(e,t){return R(e,"LLLL",t)}function Sn(e){return"".concat(e)}function jn(e,t){return R(e,"cccccc",t)}function Wn(e,t){return R(e,"yyyy",t)}var Tn=Object.freeze({__proto__:null,formatCaption:Cn,formatDay:Pn,formatMonthCaption:On,formatWeekNumber:Sn,formatWeekdayName:jn,formatYearCaption:Wn}),Yn=function(e,t,n){return R(e,"do MMMM (EEEE)",n)},Fn=function(){return"Month: "},En=function(){return"Go to next month"},Ln=function(){return"Go to previous month"},In=function(e,t){return R(e,"cccc",t)},Rn=function(e){return"Week n. ".concat(e)},Bn=function(){return"Year: "},Hn=Object.freeze({__proto__:null,labelDay:Yn,labelMonthDropdown:Fn,labelNext:En,labelPrevious:Ln,labelWeekNumber:Rn,labelWeekday:In,labelYearDropdown:Bn});function An(){var e="buttons",t=Nn,n=He,a={},r={},o=1,i={},s=new Date;return{captionLayout:e,classNames:t,formatters:Tn,labels:Hn,locale:n,modifiersClassNames:a,modifiers:r,numberOfMonths:o,styles:i,today:s,mode:"default"}}function qn(e){var t=e.fromYear,n=e.toYear,a=e.fromMonth,r=e.toMonth,o=e.fromDate,i=e.toDate;return a?o=O(a):t&&(o=new Date(t,0,1)),r?i=be(r):n&&(i=new Date(n,11,31)),{fromDate:o?A(o):void 0,toDate:i?A(i):void 0}}var ze=D.createContext(void 0);function Qn(e){var t,n=e.initialProps,a=An(),r=qn(n),o=r.fromDate,i=r.toDate,s=(t=n.captionLayout)!==null&&t!==void 0?t:a.captionLayout;s!=="buttons"&&(!o||!i)&&(s="buttons");var c;(te(n)||U(n)||J(n))&&(c=n.onSelect);var d=g(g(g({},a),n),{captionLayout:s,classNames:g(g({},a.classNames),n.classNames),components:g({},n.components),formatters:g(g({},a.formatters),n.formatters),fromDate:o,labels:g(g({},a.labels),n.labels),mode:n.mode||a.mode,modifiers:g(g({},a.modifiers),n.modifiers),modifiersClassNames:g(g({},a.modifiersClassNames),n.modifiersClassNames),onSelect:c,styles:g(g({},a.styles),n.styles),toDate:i});return u.jsx(ze.Provider,{value:d,children:e.children})}function M(){var e=D.useContext(ze);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}function Ue(e){var t=M(),n=t.locale,a=t.classNames,r=t.styles,o=t.formatters.formatCaption;return u.jsx("div",{className:a.caption_label,style:r.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:o(e.displayMonth,{locale:n})})}function Xn(e){return u.jsx("svg",g({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:u.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function Je(e){var t,n,a=e.onChange,r=e.value,o=e.children,i=e.caption,s=e.className,c=e.style,d=M(),l=(n=(t=d.components)===null||t===void 0?void 0:t.IconDropdown)!==null&&n!==void 0?n:Xn;return u.jsxs("div",{className:s,style:c,children:[u.jsx("span",{className:d.classNames.vhidden,children:e["aria-label"]}),u.jsx("select",{name:e.name,"aria-label":e["aria-label"],className:d.classNames.dropdown,style:d.styles.dropdown,value:r,onChange:a,children:o}),u.jsxs("div",{className:d.classNames.caption_label,style:d.styles.caption_label,"aria-hidden":"true",children:[i,u.jsx(l,{className:d.classNames.dropdown_icon,style:d.styles.dropdown_icon})]})]})}function Vn(e){var t,n=M(),a=n.fromDate,r=n.toDate,o=n.styles,i=n.locale,s=n.formatters.formatMonthCaption,c=n.classNames,d=n.components,l=n.labels.labelMonthDropdown;if(!a)return u.jsx(u.Fragment,{});if(!r)return u.jsx(u.Fragment,{});var f=[];if(Mn(a,r))for(var h=O(a),m=a.getMonth();m<=r.getMonth();m++)f.push(le(h,m));else for(var h=O(new Date),m=0;m<=11;m++)f.push(le(h,m));var y=function(p){var N=Number(p.target.value),k=le(O(e.displayMonth),N);e.onChange(k)},x=(t=d?.Dropdown)!==null&&t!==void 0?t:Je;return u.jsx(x,{name:"months","aria-label":l(),className:c.dropdown_month,style:o.dropdown_month,onChange:y,value:e.displayMonth.getMonth(),caption:s(e.displayMonth,{locale:i}),children:f.map(function(p){return u.jsx("option",{value:p.getMonth(),children:s(p,{locale:i})},p.getMonth())})})}function Gn(e){var t,n=e.displayMonth,a=M(),r=a.fromDate,o=a.toDate,i=a.locale,s=a.styles,c=a.classNames,d=a.components,l=a.formatters.formatYearCaption,f=a.labels.labelYearDropdown,h=[];if(!r)return u.jsx(u.Fragment,{});if(!o)return u.jsx(u.Fragment,{});for(var m=r.getFullYear(),y=o.getFullYear(),x=m;x<=y;x++)h.push(Te(Re(new Date),x));var p=function(k){var q=Te(O(n),Number(k.target.value));e.onChange(q)},N=(t=d?.Dropdown)!==null&&t!==void 0?t:Je;return u.jsx(N,{name:"years","aria-label":f(),className:c.dropdown_year,style:s.dropdown_year,onChange:p,value:n.getFullYear(),caption:l(n,{locale:i}),children:h.map(function(k){return u.jsx("option",{value:k.getFullYear(),children:l(k,{locale:i})},k.getFullYear())})})}function zn(e,t){var n=D.useState(e),a=n[0],r=n[1],o=t===void 0?a:t;return[o,r]}function Un(e){var t=e.month,n=e.defaultMonth,a=e.today,r=t||n||a||new Date,o=e.toDate,i=e.fromDate,s=e.numberOfMonths,c=s===void 0?1:s;if(o&&G(o,r)<0){var d=-1*(c-1);r=j(o,d)}return i&&G(r,i)<0&&(r=i),O(r)}function Jn(){var e=M(),t=Un(e),n=zn(t,e.month),a=n[0],r=n[1],o=function(i){var s;if(!e.disableNavigation){var c=O(i);r(c),(s=e.onMonthChange)===null||s===void 0||s.call(e,c)}};return[a,o]}function Kn(e,t){for(var n=t.reverseMonths,a=t.numberOfMonths,r=O(e),o=O(j(r,a)),i=G(o,r),s=[],c=0;c<i;c++){var d=j(r,c);s.push(d)}return n&&(s=s.reverse()),s}function $n(e,t){if(!t.disableNavigation){var n=t.toDate,a=t.pagedNavigation,r=t.numberOfMonths,o=r===void 0?1:r,i=a?o:1,s=O(e);if(!n)return j(s,i);var c=G(n,e);if(!(c<o))return j(s,i)}}function Zn(e,t){if(!t.disableNavigation){var n=t.fromDate,a=t.pagedNavigation,r=t.numberOfMonths,o=r===void 0?1:r,i=a?o:1,s=O(e);if(!n)return j(s,-i);var c=G(s,n);if(!(c<=0))return j(s,-i)}}var Ke=D.createContext(void 0);function ea(e){var t=M(),n=Jn(),a=n[0],r=n[1],o=Kn(a,t),i=$n(a,t),s=Zn(a,t),c=function(f){return o.some(function(h){return we(f,h)})},d=function(f,h){c(f)||(h&&Ve(f,h)?r(j(f,1+t.numberOfMonths*-1)):r(f))},l={currentMonth:a,displayMonths:o,goToMonth:r,goToDate:d,previousMonth:s,nextMonth:i,isDateDisplayed:c};return u.jsx(Ke.Provider,{value:l,children:e.children})}function K(){var e=D.useContext(Ke);if(!e)throw new Error("useNavigation must be used within a NavigationProvider");return e}function Ye(e){var t,n=M(),a=n.classNames,r=n.styles,o=n.components,i=K().goToMonth,s=function(l){i(j(l,e.displayIndex?-e.displayIndex:0))},c=(t=o?.CaptionLabel)!==null&&t!==void 0?t:Ue,d=u.jsx(c,{id:e.id,displayMonth:e.displayMonth});return u.jsxs("div",{className:a.caption_dropdowns,style:r.caption_dropdowns,children:[u.jsx("div",{className:a.vhidden,children:d}),u.jsx(Vn,{onChange:s,displayMonth:e.displayMonth}),u.jsx(Gn,{onChange:s,displayMonth:e.displayMonth})]})}function ta(e){return u.jsx("svg",g({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:u.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function na(e){return u.jsx("svg",g({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:u.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var ee=D.forwardRef(function(e,t){var n=M(),a=n.classNames,r=n.styles,o=[a.button_reset,a.button];e.className&&o.push(e.className);var i=o.join(" "),s=g(g({},r.button_reset),r.button);return e.style&&Object.assign(s,e.style),u.jsx("button",g({},e,{ref:t,type:"button",className:i,style:s}))});function aa(e){var t,n,a=M(),r=a.dir,o=a.locale,i=a.classNames,s=a.styles,c=a.labels,d=c.labelPrevious,l=c.labelNext,f=a.components;if(!e.nextMonth&&!e.previousMonth)return u.jsx(u.Fragment,{});var h=d(e.previousMonth,{locale:o}),m=[i.nav_button,i.nav_button_previous].join(" "),y=l(e.nextMonth,{locale:o}),x=[i.nav_button,i.nav_button_next].join(" "),p=(t=f?.IconRight)!==null&&t!==void 0?t:na,N=(n=f?.IconLeft)!==null&&n!==void 0?n:ta;return u.jsxs("div",{className:i.nav,style:s.nav,children:[!e.hidePrevious&&u.jsx(ee,{name:"previous-month","aria-label":h,className:m,style:s.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:r==="rtl"?u.jsx(p,{className:i.nav_icon,style:s.nav_icon}):u.jsx(N,{className:i.nav_icon,style:s.nav_icon})}),!e.hideNext&&u.jsx(ee,{name:"next-month","aria-label":y,className:x,style:s.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:r==="rtl"?u.jsx(N,{className:i.nav_icon,style:s.nav_icon}):u.jsx(p,{className:i.nav_icon,style:s.nav_icon})})]})}function Fe(e){var t=M().numberOfMonths,n=K(),a=n.previousMonth,r=n.nextMonth,o=n.goToMonth,i=n.displayMonths,s=i.findIndex(function(y){return we(e.displayMonth,y)}),c=s===0,d=s===i.length-1,l=t>1&&(c||!d),f=t>1&&(d||!c),h=function(){a&&o(a)},m=function(){r&&o(r)};return u.jsx(aa,{displayMonth:e.displayMonth,hideNext:l,hidePrevious:f,nextMonth:r,previousMonth:a,onPreviousClick:h,onNextClick:m})}function ra(e){var t,n=M(),a=n.classNames,r=n.disableNavigation,o=n.styles,i=n.captionLayout,s=n.components,c=(t=s?.CaptionLabel)!==null&&t!==void 0?t:Ue,d;return r?d=u.jsx(c,{id:e.id,displayMonth:e.displayMonth}):i==="dropdown"?d=u.jsx(Ye,{displayMonth:e.displayMonth,id:e.id}):i==="dropdown-buttons"?d=u.jsxs(u.Fragment,{children:[u.jsx(Ye,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),u.jsx(Fe,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):d=u.jsxs(u.Fragment,{children:[u.jsx(c,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),u.jsx(Fe,{displayMonth:e.displayMonth,id:e.id})]}),u.jsx("div",{className:a.caption,style:o.caption,children:d})}function oa(e){var t=M(),n=t.footer,a=t.styles,r=t.classNames.tfoot;return n?u.jsx("tfoot",{className:r,style:a.tfoot,children:u.jsx("tr",{children:u.jsx("td",{colSpan:8,children:n})})}):u.jsx(u.Fragment,{})}function ia(e,t,n){for(var a=n?I(new Date):Y(new Date,{locale:e,weekStartsOn:t}),r=[],o=0;o<7;o++){var i=C(a,o);r.push(i)}return r}function sa(){var e=M(),t=e.classNames,n=e.styles,a=e.showWeekNumber,r=e.locale,o=e.weekStartsOn,i=e.ISOWeek,s=e.formatters.formatWeekdayName,c=e.labels.labelWeekday,d=ia(r,o,i);return u.jsxs("tr",{style:n.head_row,className:t.head_row,children:[a&&u.jsx("td",{style:n.head_cell,className:t.head_cell}),d.map(function(l,f){return u.jsx("th",{scope:"col",className:t.head_cell,style:n.head_cell,"aria-label":c(l,{locale:r}),children:s(l,{locale:r})},f)})]})}function ua(){var e,t=M(),n=t.classNames,a=t.styles,r=t.components,o=(e=r?.HeadRow)!==null&&e!==void 0?e:sa;return u.jsx("thead",{style:a.head,className:n.head,children:u.jsx(o,{})})}function la(e){var t=M(),n=t.locale,a=t.formatters.formatDay;return u.jsx(u.Fragment,{children:a(e.date,{locale:n})})}var xe=D.createContext(void 0);function ca(e){if(!U(e.initialProps)){var t={selected:void 0,modifiers:{disabled:[]}};return u.jsx(xe.Provider,{value:t,children:e.children})}return u.jsx(da,{initialProps:e.initialProps,children:e.children})}function da(e){var t=e.initialProps,n=e.children,a=t.selected,r=t.min,o=t.max,i=function(d,l,f){var h,m;(h=t.onDayClick)===null||h===void 0||h.call(t,d,l,f);var y=!!(l.selected&&r&&a?.length===r);if(!y){var x=!!(!l.selected&&o&&a?.length===o);if(!x){var p=a?Ge([],a):[];if(l.selected){var N=p.findIndex(function(k){return P(d,k)});p.splice(N,1)}else p.push(d);(m=t.onSelect)===null||m===void 0||m.call(t,p,d,l,f)}}},s={disabled:[]};a&&s.disabled.push(function(d){var l=o&&a.length>o-1,f=a.some(function(h){return P(h,d)});return!!(l&&!f)});var c={selected:a,onDayClick:i,modifiers:s};return u.jsx(xe.Provider,{value:c,children:n})}function _e(){var e=D.useContext(xe);if(!e)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}function fa(e,t){var n=t||{},a=n.from,r=n.to;return a&&r?P(r,e)&&P(a,e)?void 0:P(r,e)?{from:r,to:void 0}:P(a,e)?void 0:ve(a,e)?{from:e,to:r}:{from:a,to:e}:r?ve(e,r)?{from:r,to:e}:{from:e,to:r}:a?Ve(e,a)?{from:e,to:a}:{from:a,to:e}:{from:e,to:void 0}}var De=D.createContext(void 0);function ha(e){if(!J(e.initialProps)){var t={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return u.jsx(De.Provider,{value:t,children:e.children})}return u.jsx(ma,{initialProps:e.initialProps,children:e.children})}function ma(e){var t=e.initialProps,n=e.children,a=t.selected,r=a||{},o=r.from,i=r.to,s=t.min,c=t.max,d=function(m,y,x){var p,N;(p=t.onDayClick)===null||p===void 0||p.call(t,m,y,x);var k=fa(m,a);(N=t.onSelect)===null||N===void 0||N.call(t,k,m,y,x)},l={range_start:[],range_end:[],range_middle:[],disabled:[]};if(o?(l.range_start=[o],i?(l.range_end=[i],P(o,i)||(l.range_middle=[{after:o,before:i}])):l.range_end=[o]):i&&(l.range_start=[i],l.range_end=[i]),s&&(o&&!i&&l.disabled.push({after:ue(o,s-1),before:C(o,s-1)}),o&&i&&l.disabled.push({after:o,before:C(o,s-1)}),!o&&i&&l.disabled.push({after:ue(i,s-1),before:C(i,s-1)})),c){if(o&&!i&&(l.disabled.push({before:C(o,-c+1)}),l.disabled.push({after:C(o,c-1)})),o&&i){var f=T(i,o)+1,h=c-f;l.disabled.push({before:ue(o,h)}),l.disabled.push({after:C(i,h)})}!o&&i&&(l.disabled.push({before:C(i,-c+1)}),l.disabled.push({after:C(i,c-1)}))}return u.jsx(De.Provider,{value:{selected:a,onDayClick:d,modifiers:l},children:n})}function Me(){var e=D.useContext(De);if(!e)throw new Error("useSelectRange must be used within a SelectRangeProvider");return e}function $(e){return Array.isArray(e)?Ge([],e):e!==void 0?[e]:[]}function va(e){var t={};return Object.entries(e).forEach(function(n){var a=n[0],r=n[1];t[a]=$(r)}),t}var W;(function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"})(W||(W={}));var ya=W.Selected,F=W.Disabled,ga=W.Hidden,ba=W.Today,ce=W.RangeEnd,de=W.RangeMiddle,fe=W.RangeStart,pa=W.Outside;function wa(e,t,n){var a,r=(a={},a[ya]=$(e.selected),a[F]=$(e.disabled),a[ga]=$(e.hidden),a[ba]=[e.today],a[ce]=[],a[de]=[],a[fe]=[],a[pa]=[],a);return e.fromDate&&r[F].push({before:e.fromDate}),e.toDate&&r[F].push({after:e.toDate}),U(e)?r[F]=r[F].concat(t.modifiers[F]):J(e)&&(r[F]=r[F].concat(n.modifiers[F]),r[fe]=n.modifiers[fe],r[de]=n.modifiers[de],r[ce]=n.modifiers[ce]),r}var $e=D.createContext(void 0);function xa(e){var t=M(),n=_e(),a=Me(),r=wa(t,n,a),o=va(t.modifiers),i=g(g({},r),o);return u.jsx($e.Provider,{value:i,children:e.children})}function Ze(){var e=D.useContext($e);if(!e)throw new Error("useModifiers must be used within a ModifiersProvider");return e}function _a(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function Da(e){return!!(e&&typeof e=="object"&&"from"in e)}function Ma(e){return!!(e&&typeof e=="object"&&"after"in e)}function ka(e){return!!(e&&typeof e=="object"&&"before"in e)}function Na(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function Ca(e,t){var n,a=t.from,r=t.to;if(a&&r){var o=T(r,a)<0;o&&(n=[r,a],a=n[0],r=n[1]);var i=T(e,a)>=0&&T(r,e)>=0;return i}return r?P(r,e):a?P(a,e):!1}function Pa(e){return ge(e)}function Oa(e){return Array.isArray(e)&&e.every(ge)}function Sa(e,t){return t.some(function(n){if(typeof n=="boolean")return n;if(Pa(n))return P(e,n);if(Oa(n))return n.includes(e);if(Da(n))return Ca(e,n);if(Na(n))return n.dayOfWeek.includes(e.getDay());if(_a(n)){var a=T(n.before,e),r=T(n.after,e),o=a>0,i=r<0,s=ve(n.before,n.after);return s?i&&o:o||i}return Ma(n)?T(e,n.after)>0:ka(n)?T(n.before,e)>0:typeof n=="function"?n(e):!1})}function ke(e,t,n){var a=Object.keys(t).reduce(function(o,i){var s=t[i];return Sa(e,s)&&o.push(i),o},[]),r={};return a.forEach(function(o){return r[o]=!0}),n&&!we(e,n)&&(r.outside=!0),r}function ja(e,t){for(var n=O(e[0]),a=be(e[e.length-1]),r,o,i=n;i<=a;){var s=ke(i,t),c=!s.disabled&&!s.hidden;if(!c){i=C(i,1);continue}if(s.selected)return i;s.today&&!o&&(o=i),r||(r=i),i=C(i,1)}return o||r}var Wa=365;function et(e,t){var n=t.moveBy,a=t.direction,r=t.context,o=t.modifiers,i=t.retry,s=i===void 0?{count:0,lastFocused:e}:i,c=r.weekStartsOn,d=r.fromDate,l=r.toDate,f=r.locale,h={day:C,week:me,month:j,year:pt,startOfWeek:function(p){return r.ISOWeek?I(p):Y(p,{locale:f,weekStartsOn:c})},endOfWeek:function(p){return r.ISOWeek?Be(p):pe(p,{locale:f,weekStartsOn:c})}},m=h[n](e,a==="after"?1:-1);a==="before"&&d?m=wt([d,m]):a==="after"&&l&&(m=xt([l,m]));var y=!0;if(o){var x=ke(m,o);y=!x.disabled&&!x.hidden}return y?m:s.count>Wa?s.lastFocused:et(m,{moveBy:n,direction:a,context:r,modifiers:o,retry:g(g({},s),{count:s.count+1})})}var tt=D.createContext(void 0);function Ta(e){var t=K(),n=Ze(),a=D.useState(),r=a[0],o=a[1],i=D.useState(),s=i[0],c=i[1],d=ja(t.displayMonths,n),l=r??(s&&t.isDateDisplayed(s))?s:d,f=function(){c(r),o(void 0)},h=function(p){o(p)},m=M(),y=function(p,N){if(r){var k=et(r,{moveBy:p,direction:N,context:m,modifiers:n});P(r,k)||(t.goToDate(k,r),h(k))}},x={focusedDay:r,focusTarget:l,blur:f,focus:h,focusDayAfter:function(){return y("day","after")},focusDayBefore:function(){return y("day","before")},focusWeekAfter:function(){return y("week","after")},focusWeekBefore:function(){return y("week","before")},focusMonthBefore:function(){return y("month","before")},focusMonthAfter:function(){return y("month","after")},focusYearBefore:function(){return y("year","before")},focusYearAfter:function(){return y("year","after")},focusStartOfWeek:function(){return y("startOfWeek","before")},focusEndOfWeek:function(){return y("endOfWeek","after")}};return u.jsx(tt.Provider,{value:x,children:e.children})}function Ne(){var e=D.useContext(tt);if(!e)throw new Error("useFocusContext must be used within a FocusProvider");return e}function Ya(e,t){var n=Ze(),a=ke(e,n,t);return a}var Ce=D.createContext(void 0);function Fa(e){if(!te(e.initialProps)){var t={selected:void 0};return u.jsx(Ce.Provider,{value:t,children:e.children})}return u.jsx(Ea,{initialProps:e.initialProps,children:e.children})}function Ea(e){var t=e.initialProps,n=e.children,a=function(o,i,s){var c,d,l;if((c=t.onDayClick)===null||c===void 0||c.call(t,o,i,s),i.selected&&!t.required){(d=t.onSelect)===null||d===void 0||d.call(t,void 0,o,i,s);return}(l=t.onSelect)===null||l===void 0||l.call(t,o,o,i,s)},r={selected:t.selected,onDayClick:a};return u.jsx(Ce.Provider,{value:r,children:n})}function nt(){var e=D.useContext(Ce);if(!e)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return e}function La(e,t){var n=M(),a=nt(),r=_e(),o=Me(),i=Ne(),s=i.focusDayAfter,c=i.focusDayBefore,d=i.focusWeekAfter,l=i.focusWeekBefore,f=i.blur,h=i.focus,m=i.focusMonthBefore,y=i.focusMonthAfter,x=i.focusYearBefore,p=i.focusYearAfter,N=i.focusStartOfWeek,k=i.focusEndOfWeek,q=function(b){var v,re,oe,ie;te(n)?(v=a.onDayClick)===null||v===void 0||v.call(a,e,t,b):U(n)?(re=r.onDayClick)===null||re===void 0||re.call(r,e,t,b):J(n)?(oe=o.onDayClick)===null||oe===void 0||oe.call(o,e,t,b):(ie=n.onDayClick)===null||ie===void 0||ie.call(n,e,t,b)},ne=function(b){var v;h(e),(v=n.onDayFocus)===null||v===void 0||v.call(n,e,t,b)},ae=function(b){var v;f(),(v=n.onDayBlur)===null||v===void 0||v.call(n,e,t,b)},Q=function(b){var v;(v=n.onDayMouseEnter)===null||v===void 0||v.call(n,e,t,b)},at=function(b){var v;(v=n.onDayMouseLeave)===null||v===void 0||v.call(n,e,t,b)},rt=function(b){var v;(v=n.onDayPointerEnter)===null||v===void 0||v.call(n,e,t,b)},ot=function(b){var v;(v=n.onDayPointerLeave)===null||v===void 0||v.call(n,e,t,b)},it=function(b){var v;(v=n.onDayTouchCancel)===null||v===void 0||v.call(n,e,t,b)},st=function(b){var v;(v=n.onDayTouchEnd)===null||v===void 0||v.call(n,e,t,b)},ut=function(b){var v;(v=n.onDayTouchMove)===null||v===void 0||v.call(n,e,t,b)},lt=function(b){var v;(v=n.onDayTouchStart)===null||v===void 0||v.call(n,e,t,b)},ct=function(b){var v;(v=n.onDayKeyUp)===null||v===void 0||v.call(n,e,t,b)},dt=function(b){var v;switch(b.key){case"ArrowLeft":b.preventDefault(),b.stopPropagation(),n.dir==="rtl"?s():c();break;case"ArrowRight":b.preventDefault(),b.stopPropagation(),n.dir==="rtl"?c():s();break;case"ArrowDown":b.preventDefault(),b.stopPropagation(),d();break;case"ArrowUp":b.preventDefault(),b.stopPropagation(),l();break;case"PageUp":b.preventDefault(),b.stopPropagation(),b.shiftKey?x():m();break;case"PageDown":b.preventDefault(),b.stopPropagation(),b.shiftKey?p():y();break;case"Home":b.preventDefault(),b.stopPropagation(),N();break;case"End":b.preventDefault(),b.stopPropagation(),k();break}(v=n.onDayKeyDown)===null||v===void 0||v.call(n,e,t,b)},ft={onClick:q,onFocus:ne,onBlur:ae,onKeyDown:dt,onKeyUp:ct,onMouseEnter:Q,onMouseLeave:at,onPointerEnter:rt,onPointerLeave:ot,onTouchCancel:it,onTouchEnd:st,onTouchMove:ut,onTouchStart:lt};return ft}function Ia(){var e=M(),t=nt(),n=_e(),a=Me(),r=te(e)?t.selected:U(e)?n.selected:J(e)?a.selected:void 0;return r}function Ra(e){return Object.values(W).includes(e)}function Ba(e,t){var n=[e.classNames.day];return Object.keys(t).forEach(function(a){var r=e.modifiersClassNames[a];if(r)n.push(r);else if(Ra(a)){var o=e.classNames["day_".concat(a)];o&&n.push(o)}}),n}function Ha(e,t){var n=g({},e.styles.day);return Object.keys(t).forEach(function(a){var r;n=g(g({},n),(r=e.modifiersStyles)===null||r===void 0?void 0:r[a])}),n}function Aa(e,t,n){var a,r,o,i=M(),s=Ne(),c=Ya(e,t),d=La(e,c),l=Ia(),f=!!(i.onDayClick||i.mode!=="default");D.useEffect(function(){var Q;c.outside||s.focusedDay&&f&&P(s.focusedDay,e)&&((Q=n.current)===null||Q===void 0||Q.focus())},[s.focusedDay,e,n,f,c.outside]);var h=Ba(i,c).join(" "),m=Ha(i,c),y=!!(c.outside&&!i.showOutsideDays||c.hidden),x=(o=(r=i.components)===null||r===void 0?void 0:r.DayContent)!==null&&o!==void 0?o:la,p=u.jsx(x,{date:e,displayMonth:t,activeModifiers:c}),N={style:m,className:h,children:p,role:"gridcell"},k=s.focusTarget&&P(s.focusTarget,e)&&!c.outside,q=s.focusedDay&&P(s.focusedDay,e),ne=g(g(g({},N),(a={disabled:c.disabled,role:"gridcell"},a["aria-selected"]=c.selected,a.tabIndex=q||k?0:-1,a)),d),ae={isButton:f,isHidden:y,activeModifiers:c,selectedDays:l,buttonProps:ne,divProps:N};return ae}function qa(e){var t=D.useRef(null),n=Aa(e.date,e.displayMonth,t);return n.isHidden?u.jsx("div",{role:"gridcell"}):n.isButton?u.jsx(ee,g({name:"day",ref:t},n.buttonProps)):u.jsx("div",g({},n.divProps))}function Qa(e){var t=e.number,n=e.dates,a=M(),r=a.onWeekNumberClick,o=a.styles,i=a.classNames,s=a.locale,c=a.labels.labelWeekNumber,d=a.formatters.formatWeekNumber,l=d(Number(t),{locale:s});if(!r)return u.jsx("span",{className:i.weeknumber,style:o.weeknumber,children:l});var f=c(Number(t),{locale:s}),h=function(m){r(t,n,m)};return u.jsx(ee,{name:"week-number","aria-label":f,className:i.weeknumber,style:o.weeknumber,onClick:h,children:l})}function Xa(e){var t,n,a=M(),r=a.styles,o=a.classNames,i=a.showWeekNumber,s=a.components,c=(t=s?.Day)!==null&&t!==void 0?t:qa,d=(n=s?.WeekNumber)!==null&&n!==void 0?n:Qa,l;return i&&(l=u.jsx("td",{className:o.cell,style:r.cell,children:u.jsx(d,{number:e.weekNumber,dates:e.dates})})),u.jsxs("tr",{className:o.row,style:r.row,children:[l,e.dates.map(function(f){return u.jsx("td",{className:o.cell,style:r.cell,role:"presentation",children:u.jsx(c,{displayMonth:e.displayMonth,date:f})},xn(f))})]})}function Ee(e,t,n){for(var a=n?.ISOWeek?Be(t):pe(t,n),r=n?.ISOWeek?I(e):Y(e,n),o=T(a,r),i=[],s=0;s<=o;s++)i.push(C(r,s));var c=i.reduce(function(d,l){var f=n?.ISOWeek?Ae(l):Qe(l,n),h=d.find(function(m){return m.weekNumber===f});return h?(h.dates.push(l),d):(d.push({weekNumber:f,dates:[l]}),d)},[]);return c}function Va(e,t){var n=Ee(O(e),be(e),t);if(t?.useFixedWeeks){var a=Dn(e,t);if(a<6){var r=n[n.length-1],o=r.dates[r.dates.length-1],i=me(o,6-a),s=Ee(me(o,1),i,t);n.push.apply(n,s)}}return n}function Ga(e){var t,n,a,r=M(),o=r.locale,i=r.classNames,s=r.styles,c=r.hideHead,d=r.fixedWeeks,l=r.components,f=r.weekStartsOn,h=r.firstWeekContainsDate,m=r.ISOWeek,y=Va(e.displayMonth,{useFixedWeeks:!!d,ISOWeek:m,locale:o,weekStartsOn:f,firstWeekContainsDate:h}),x=(t=l?.Head)!==null&&t!==void 0?t:ua,p=(n=l?.Row)!==null&&n!==void 0?n:Xa,N=(a=l?.Footer)!==null&&a!==void 0?a:oa;return u.jsxs("table",{id:e.id,className:i.table,style:s.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!c&&u.jsx(x,{}),u.jsx("tbody",{className:i.tbody,style:s.tbody,children:y.map(function(k){return u.jsx(p,{displayMonth:e.displayMonth,dates:k.dates,weekNumber:k.weekNumber},k.weekNumber)})}),u.jsx(N,{displayMonth:e.displayMonth})]})}function za(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var Ua=za()?D.useLayoutEffect:D.useEffect,he=!1,Ja=0;function Le(){return"react-day-picker-".concat(++Ja)}function Ka(e){var t,n=e??(he?Le():null),a=D.useState(n),r=a[0],o=a[1];return Ua(function(){r===null&&o(Le())},[]),D.useEffect(function(){he===!1&&(he=!0)},[]),(t=e??r)!==null&&t!==void 0?t:void 0}function $a(e){var t,n,a=M(),r=a.dir,o=a.classNames,i=a.styles,s=a.components,c=K().displayMonths,d=Ka(a.id?"".concat(a.id,"-").concat(e.displayIndex):void 0),l=a.id?"".concat(a.id,"-grid-").concat(e.displayIndex):void 0,f=[o.month],h=i.month,m=e.displayIndex===0,y=e.displayIndex===c.length-1,x=!m&&!y;r==="rtl"&&(t=[m,y],y=t[0],m=t[1]),m&&(f.push(o.caption_start),h=g(g({},h),i.caption_start)),y&&(f.push(o.caption_end),h=g(g({},h),i.caption_end)),x&&(f.push(o.caption_between),h=g(g({},h),i.caption_between));var p=(n=s?.Caption)!==null&&n!==void 0?n:ra;return u.jsxs("div",{className:f.join(" "),style:h,children:[u.jsx(p,{id:d,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),u.jsx(Ga,{id:l,"aria-labelledby":d,displayMonth:e.displayMonth})]},e.displayIndex)}function Za(e){var t=M(),n=t.classNames,a=t.styles;return u.jsx("div",{className:n.months,style:a.months,children:e.children})}function er(e){var t,n,a=e.initialProps,r=M(),o=Ne(),i=K(),s=D.useState(!1),c=s[0],d=s[1];D.useEffect(function(){r.initialFocus&&o.focusTarget&&(c||(o.focus(o.focusTarget),d(!0)))},[r.initialFocus,c,o.focus,o.focusTarget,o]);var l=[r.classNames.root,r.className];r.numberOfMonths>1&&l.push(r.classNames.multiple_months),r.showWeekNumber&&l.push(r.classNames.with_weeknumber);var f=g(g({},r.styles.root),r.style),h=Object.keys(a).filter(function(y){return y.startsWith("data-")}).reduce(function(y,x){var p;return g(g({},y),(p={},p[x]=a[x],p))},{}),m=(n=(t=a.components)===null||t===void 0?void 0:t.Months)!==null&&n!==void 0?n:Za;return u.jsx("div",g({className:l.join(" "),style:f,dir:r.dir,id:r.id,nonce:a.nonce,title:a.title,lang:a.lang},h,{children:u.jsx(m,{children:i.displayMonths.map(function(y,x){return u.jsx($a,{displayIndex:x,displayMonth:y},x)})})}))}function tr(e){var t=e.children,n=kn(e,["children"]);return u.jsx(Qn,{initialProps:n,children:u.jsx(ea,{children:u.jsx(Fa,{initialProps:n,children:u.jsx(ca,{initialProps:n,children:u.jsx(ha,{initialProps:n,children:u.jsx(xa,{children:u.jsx(Ta,{children:t})})})})})})})}function nr(e){return u.jsx(tr,g({},e,{children:u.jsx(er,{initialProps:e})}))}function sr(e){const t=ht.c(20);let n,a,r,o;t[0]!==e?({className:n,classNames:a,showOutsideDays:o,...r}=e,t[0]=e,t[1]=n,t[2]=a,t[3]=r,t[4]=o):(n=t[1],a=t[2],r=t[3],o=t[4]);const i=o===void 0?!0:o;let s;t[5]!==n?(s=H("p-3",n),t[5]=n,t[6]=s):s=t[6];let c;t[7]===Symbol.for("react.memo_cache_sentinel")?(c=H(Pe({variant:"outline"}),"size-7 bg-transparent p-0 opacity-50 hover:opacity-100"),t[7]=c):c=t[7];const d=r.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md";let l;t[8]!==d?(l=H("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-range-end)]:rounded-r-md",d),t[8]=d,t[9]=l):l=t[9];let f;t[10]===Symbol.for("react.memo_cache_sentinel")?(f=H(Pe({variant:"ghost"}),"size-8 p-0 font-normal aria-selected:opacity-100"),t[10]=f):f=t[10];let h;t[11]!==a||t[12]!==l?(h={months:"flex flex-col sm:flex-row gap-2",month:"flex flex-col gap-4",caption:"flex justify-center pt-1 relative items-center w-full",caption_label:"text-sm font-medium",nav:"flex items-center gap-1",nav_button:c,nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-x-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:l,day:f,day_range_start:"day-range-start aria-selected:bg-primary aria-selected:text-primary-foreground",day_range_end:"day-range-end aria-selected:bg-primary aria-selected:text-primary-foreground",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...a},t[11]=a,t[12]=l,t[13]=h):h=t[13];let m;t[14]===Symbol.for("react.memo_cache_sentinel")?(m={IconLeft:rr,IconRight:ar},t[14]=m):m=t[14];let y;return t[15]!==r||t[16]!==i||t[17]!==s||t[18]!==h?(y=u.jsx(nr,{showOutsideDays:i,className:s,classNames:h,components:m,...r}),t[15]=r,t[16]=i,t[17]=s,t[18]=h,t[19]=y):y=t[19],y}function ar(e){const{className:t,...n}=e;return u.jsx(mt,{className:H("size-4",t),...n})}function rr(e){const{className:t,...n}=e;return u.jsx(vt,{className:H("size-4",t),...n})}export{sr as C};
1
+ import{j as u,r as D,c as ht,m as H,ba as Pe,au as mt}from"./index-mb-jxjEy.js";import{b as vt}from"./UserCheck01-CuByTN5F.js";function w(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function S(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function C(e,t){const n=w(e);return isNaN(t)?S(e,NaN):(t&&n.setDate(n.getDate()+t),n)}function j(e,t){const n=w(e);if(isNaN(t))return S(e,NaN);if(!t)return n;const a=n.getDate(),r=S(e,n.getTime());r.setMonth(n.getMonth()+t+1,0);const o=r.getDate();return a>=o?r:(n.setFullYear(r.getFullYear(),r.getMonth(),a),n)}const ye=6048e5,yt=864e5;let gt={};function z(){return gt}function Y(e,t){const n=z(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=w(e),o=r.getDay(),i=(o<a?7:0)+o-a;return r.setDate(r.getDate()-i),r.setHours(0,0,0,0),r}function I(e){return Y(e,{weekStartsOn:1})}function Ie(e){const t=w(e),n=t.getFullYear(),a=S(e,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const r=I(a),o=S(e,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);const i=I(o);return t.getTime()>=r.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function A(e){const t=w(e);return t.setHours(0,0,0,0),t}function Z(e){const t=w(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function T(e,t){const n=A(e),a=A(t),r=+n-Z(n),o=+a-Z(a);return Math.round((r-o)/yt)}function bt(e){const t=Ie(e),n=S(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),I(n)}function me(e,t){const n=t*7;return C(e,n)}function pt(e,t){return j(e,t*12)}function wt(e){let t;return e.forEach(function(n){const a=w(n);(t===void 0||t<a||isNaN(Number(a)))&&(t=a)}),t||new Date(NaN)}function xt(e){let t;return e.forEach(n=>{const a=w(n);(!t||t>a||isNaN(+a))&&(t=a)}),t||new Date(NaN)}function P(e,t){const n=A(e),a=A(t);return+n==+a}function ge(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function _t(e){if(!ge(e)&&typeof e!="number")return!1;const t=w(e);return!isNaN(Number(t))}function G(e,t){const n=w(e),a=w(t),r=n.getFullYear()-a.getFullYear(),o=n.getMonth()-a.getMonth();return r*12+o}function Dt(e,t,n){const a=Y(e,n),r=Y(t,n),o=+a-Z(a),i=+r-Z(r);return Math.round((o-i)/ye)}function be(e){const t=w(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function O(e){const t=w(e);return t.setDate(1),t.setHours(0,0,0,0),t}function Re(e){const t=w(e),n=S(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function pe(e,t){const n=z(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=w(e),o=r.getDay(),i=(o<a?-7:0)+6-(o-a);return r.setDate(r.getDate()+i),r.setHours(23,59,59,999),r}function Be(e){return pe(e,{weekStartsOn:1})}const Mt={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},kt=(e,t,n)=>{let a;const r=Mt[e];return typeof r=="string"?a=r:t===1?a=r.one:a=r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function se(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Nt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ct={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Pt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ot={date:se({formats:Nt,defaultWidth:"full"}),time:se({formats:Ct,defaultWidth:"full"}),dateTime:se({formats:Pt,defaultWidth:"full"})},St={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},jt=(e,t,n,a)=>St[e];function X(e){return(t,n)=>{const a=n?.context?String(n.context):"standalone";let r;if(a==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,s=n?.width?String(n.width):i;r=e.formattingValues[s]||e.formattingValues[i]}else{const i=e.defaultWidth,s=n?.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[i]}const o=e.argumentCallback?e.argumentCallback(t):t;return r[o]}}const Wt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Tt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Yt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ft={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Et={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Lt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},It=(e,t)=>{const n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Rt={ordinalNumber:It,era:X({values:Wt,defaultWidth:"wide"}),quarter:X({values:Tt,defaultWidth:"wide",argumentCallback:e=>e-1}),month:X({values:Yt,defaultWidth:"wide"}),day:X({values:Ft,defaultWidth:"wide"}),dayPeriod:X({values:Et,defaultWidth:"wide",formattingValues:Lt,defaultFormattingWidth:"wide"})};function V(e){return(t,n={})=>{const a=n.width,r=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=t.match(r);if(!o)return null;const i=o[0],s=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?Ht(s,f=>f.test(i)):Bt(s,f=>f.test(i));let d;d=e.valueCallback?e.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;const l=t.slice(i.length);return{value:d,rest:l}}}function Bt(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Ht(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function At(e){return(t,n={})=>{const a=t.match(e.matchPattern);if(!a)return null;const r=a[0],o=t.match(e.parsePattern);if(!o)return null;let i=e.valueCallback?e.valueCallback(o[0]):o[0];i=n.valueCallback?n.valueCallback(i):i;const s=t.slice(r.length);return{value:i,rest:s}}}const qt=/^(\d+)(th|st|nd|rd)?/i,Qt=/\d+/i,Xt={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Vt={any:[/^b/i,/^(a|c)/i]},Gt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},zt={any:[/1/i,/2/i,/3/i,/4/i]},Ut={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Jt={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Kt={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},$t={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Zt={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},en={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},tn={ordinalNumber:At({matchPattern:qt,parsePattern:Qt,valueCallback:e=>parseInt(e,10)}),era:V({matchPatterns:Xt,defaultMatchWidth:"wide",parsePatterns:Vt,defaultParseWidth:"any"}),quarter:V({matchPatterns:Gt,defaultMatchWidth:"wide",parsePatterns:zt,defaultParseWidth:"any",valueCallback:e=>e+1}),month:V({matchPatterns:Ut,defaultMatchWidth:"wide",parsePatterns:Jt,defaultParseWidth:"any"}),day:V({matchPatterns:Kt,defaultMatchWidth:"wide",parsePatterns:$t,defaultParseWidth:"any"}),dayPeriod:V({matchPatterns:Zt,defaultMatchWidth:"any",parsePatterns:en,defaultParseWidth:"any"})},He={code:"en-US",formatDistance:kt,formatLong:Ot,formatRelative:jt,localize:Rt,match:tn,options:{weekStartsOn:0,firstWeekContainsDate:1}};function nn(e){const t=w(e);return T(t,Re(t))+1}function Ae(e){const t=w(e),n=+I(t)-+bt(t);return Math.round(n/ye)+1}function qe(e,t){const n=w(e),a=n.getFullYear(),r=z(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,i=S(e,0);i.setFullYear(a+1,0,o),i.setHours(0,0,0,0);const s=Y(i,t),c=S(e,0);c.setFullYear(a,0,o),c.setHours(0,0,0,0);const d=Y(c,t);return n.getTime()>=s.getTime()?a+1:n.getTime()>=d.getTime()?a:a-1}function an(e,t){const n=z(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,r=qe(e,t),o=S(e,0);return o.setFullYear(r,0,a),o.setHours(0,0,0,0),Y(o,t)}function Qe(e,t){const n=w(e),a=+Y(n,t)-+an(n,t);return Math.round(a/ye)+1}function _(e,t){const n=e<0?"-":"",a=Math.abs(e).toString().padStart(t,"0");return n+a}const E={y(e,t){const n=e.getFullYear(),a=n>0?n:1-n;return _(t==="yy"?a%100:a,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):_(n+1,2)},d(e,t){return _(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return n==="am"?"a.m.":"p.m."}},h(e,t){return _(e.getHours()%12||12,t.length)},H(e,t){return _(e.getHours(),t.length)},m(e,t){return _(e.getMinutes(),t.length)},s(e,t){return _(e.getSeconds(),t.length)},S(e,t){const n=t.length,a=e.getMilliseconds(),r=Math.trunc(a*Math.pow(10,n-3));return _(r,t.length)}},B={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Oe={G:function(e,t,n){const a=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});default:return n.era(a,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const a=e.getFullYear(),r=a>0?a:1-a;return n.ordinalNumber(r,{unit:"year"})}return E.y(e,t)},Y:function(e,t,n,a){const r=qe(e,a),o=r>0?r:1-r;if(t==="YY"){const i=o%100;return _(i,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):_(o,t.length)},R:function(e,t){const n=Ie(e);return _(n,t.length)},u:function(e,t){const n=e.getFullYear();return _(n,t.length)},Q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return _(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return _(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,n){const a=e.getMonth();switch(t){case"M":case"MM":return E.M(e,t);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,n){const a=e.getMonth();switch(t){case"L":return String(a+1);case"LL":return _(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,n,a){const r=Qe(e,a);return t==="wo"?n.ordinalNumber(r,{unit:"week"}):_(r,t.length)},I:function(e,t,n){const a=Ae(e);return t==="Io"?n.ordinalNumber(a,{unit:"week"}):_(a,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):E.d(e,t)},D:function(e,t,n){const a=nn(e);return t==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):_(a,t.length)},E:function(e,t,n){const a=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,n,a){const r=e.getDay(),o=(r-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return _(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,a){const r=e.getDay(),o=(r-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return _(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){const a=e.getDay(),r=a===0?7:a;switch(t){case"i":return String(r);case"ii":return _(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const a=e.getHours();let r;switch(a===12?r=B.noon:a===0?r=B.midnight:r=a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){const a=e.getHours();let r;switch(a>=17?r=B.evening:a>=12?r=B.afternoon:a>=4?r=B.morning:r=B.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let a=e.getHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return E.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):E.H(e,t)},K:function(e,t,n){const a=e.getHours()%12;return t==="Ko"?n.ordinalNumber(a,{unit:"hour"}):_(a,t.length)},k:function(e,t,n){let a=e.getHours();return a===0&&(a=24),t==="ko"?n.ordinalNumber(a,{unit:"hour"}):_(a,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):E.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):E.s(e,t)},S:function(e,t){return E.S(e,t)},X:function(e,t,n){const a=e.getTimezoneOffset();if(a===0)return"Z";switch(t){case"X":return je(a);case"XXXX":case"XX":return L(a);default:return L(a,":")}},x:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"x":return je(a);case"xxxx":case"xx":return L(a);default:return L(a,":")}},O:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Se(a,":");default:return"GMT"+L(a,":")}},z:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Se(a,":");default:return"GMT"+L(a,":")}},t:function(e,t,n){const a=Math.trunc(e.getTime()/1e3);return _(a,t.length)},T:function(e,t,n){const a=e.getTime();return _(a,t.length)}};function Se(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),r=Math.trunc(a/60),o=a%60;return o===0?n+String(r):n+String(r)+t+_(o,2)}function je(e,t){return e%60===0?(e>0?"-":"+")+_(Math.abs(e)/60,2):L(e,t)}function L(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),r=_(Math.trunc(a/60),2),o=_(a%60,2);return n+r+t+o}const We=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Xe=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},rn=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],a=n[1],r=n[2];if(!r)return We(e,t);let o;switch(a){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",We(a,t)).replace("{{time}}",Xe(r,t))},on={p:Xe,P:rn},sn=/^D+$/,un=/^Y+$/,ln=["D","DD","YY","YYYY"];function cn(e){return sn.test(e)}function dn(e){return un.test(e)}function fn(e,t,n){const a=hn(e,t,n);if(console.warn(a),ln.includes(e))throw new RangeError(a)}function hn(e,t,n){const a=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${a} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const mn=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,vn=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,yn=/^'([^]*?)'?$/,gn=/''/g,bn=/[a-zA-Z]/;function R(e,t,n){const a=z(),r=n?.locale??a.locale??He,o=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,i=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,s=w(e);if(!_t(s))throw new RangeError("Invalid time value");let c=t.match(vn).map(l=>{const f=l[0];if(f==="p"||f==="P"){const h=on[f];return h(l,r.formatLong)}return l}).join("").match(mn).map(l=>{if(l==="''")return{isToken:!1,value:"'"};const f=l[0];if(f==="'")return{isToken:!1,value:pn(l)};if(Oe[f])return{isToken:!0,value:l};if(f.match(bn))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return{isToken:!1,value:l}});r.localize.preprocessor&&(c=r.localize.preprocessor(s,c));const d={firstWeekContainsDate:o,weekStartsOn:i,locale:r};return c.map(l=>{if(!l.isToken)return l.value;const f=l.value;(!n?.useAdditionalWeekYearTokens&&dn(f)||!n?.useAdditionalDayOfYearTokens&&cn(f))&&fn(f,t,String(e));const h=Oe[f[0]];return h(s,f,r.localize,d)}).join("")}function pn(e){const t=e.match(yn);return t?t[1].replace(gn,"'"):e}function wn(e){const t=w(e),n=t.getFullYear(),a=t.getMonth(),r=S(e,0);return r.setFullYear(n,a+1,0),r.setHours(0,0,0,0),r.getDate()}function xn(e){return Math.trunc(+w(e)/1e3)}function _n(e){const t=w(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}function Dn(e,t){return Dt(_n(e),O(e),t)+1}function ve(e,t){const n=w(e),a=w(t);return n.getTime()>a.getTime()}function Ve(e,t){const n=w(e),a=w(t);return+n<+a}function we(e,t){const n=w(e),a=w(t);return n.getFullYear()===a.getFullYear()&&n.getMonth()===a.getMonth()}function Mn(e,t){const n=w(e),a=w(t);return n.getFullYear()===a.getFullYear()}function ue(e,t){return C(e,-t)}function le(e,t){const n=w(e),a=n.getFullYear(),r=n.getDate(),o=S(e,0);o.setFullYear(a,t,15),o.setHours(0,0,0,0);const i=wn(o);return n.setMonth(t,Math.min(r,i)),n}function Te(e,t){const n=w(e);return isNaN(+n)?S(e,NaN):(n.setFullYear(t),n)}var g=function(){return g=Object.assign||function(t){for(var n,a=1,r=arguments.length;a<r;a++){n=arguments[a];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},g.apply(this,arguments)};function kn(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n}function Ge(e,t,n){for(var a=0,r=t.length,o;a<r;a++)(o||!(a in t))&&(o||(o=Array.prototype.slice.call(t,0,a)),o[a]=t[a]);return e.concat(o||Array.prototype.slice.call(t))}function U(e){return e.mode==="multiple"}function J(e){return e.mode==="range"}function te(e){return e.mode==="single"}var Nn={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function Cn(e,t){return R(e,"LLLL y",t)}function Pn(e,t){return R(e,"d",t)}function On(e,t){return R(e,"LLLL",t)}function Sn(e){return"".concat(e)}function jn(e,t){return R(e,"cccccc",t)}function Wn(e,t){return R(e,"yyyy",t)}var Tn=Object.freeze({__proto__:null,formatCaption:Cn,formatDay:Pn,formatMonthCaption:On,formatWeekNumber:Sn,formatWeekdayName:jn,formatYearCaption:Wn}),Yn=function(e,t,n){return R(e,"do MMMM (EEEE)",n)},Fn=function(){return"Month: "},En=function(){return"Go to next month"},Ln=function(){return"Go to previous month"},In=function(e,t){return R(e,"cccc",t)},Rn=function(e){return"Week n. ".concat(e)},Bn=function(){return"Year: "},Hn=Object.freeze({__proto__:null,labelDay:Yn,labelMonthDropdown:Fn,labelNext:En,labelPrevious:Ln,labelWeekNumber:Rn,labelWeekday:In,labelYearDropdown:Bn});function An(){var e="buttons",t=Nn,n=He,a={},r={},o=1,i={},s=new Date;return{captionLayout:e,classNames:t,formatters:Tn,labels:Hn,locale:n,modifiersClassNames:a,modifiers:r,numberOfMonths:o,styles:i,today:s,mode:"default"}}function qn(e){var t=e.fromYear,n=e.toYear,a=e.fromMonth,r=e.toMonth,o=e.fromDate,i=e.toDate;return a?o=O(a):t&&(o=new Date(t,0,1)),r?i=be(r):n&&(i=new Date(n,11,31)),{fromDate:o?A(o):void 0,toDate:i?A(i):void 0}}var ze=D.createContext(void 0);function Qn(e){var t,n=e.initialProps,a=An(),r=qn(n),o=r.fromDate,i=r.toDate,s=(t=n.captionLayout)!==null&&t!==void 0?t:a.captionLayout;s!=="buttons"&&(!o||!i)&&(s="buttons");var c;(te(n)||U(n)||J(n))&&(c=n.onSelect);var d=g(g(g({},a),n),{captionLayout:s,classNames:g(g({},a.classNames),n.classNames),components:g({},n.components),formatters:g(g({},a.formatters),n.formatters),fromDate:o,labels:g(g({},a.labels),n.labels),mode:n.mode||a.mode,modifiers:g(g({},a.modifiers),n.modifiers),modifiersClassNames:g(g({},a.modifiersClassNames),n.modifiersClassNames),onSelect:c,styles:g(g({},a.styles),n.styles),toDate:i});return u.jsx(ze.Provider,{value:d,children:e.children})}function M(){var e=D.useContext(ze);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}function Ue(e){var t=M(),n=t.locale,a=t.classNames,r=t.styles,o=t.formatters.formatCaption;return u.jsx("div",{className:a.caption_label,style:r.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:o(e.displayMonth,{locale:n})})}function Xn(e){return u.jsx("svg",g({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:u.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function Je(e){var t,n,a=e.onChange,r=e.value,o=e.children,i=e.caption,s=e.className,c=e.style,d=M(),l=(n=(t=d.components)===null||t===void 0?void 0:t.IconDropdown)!==null&&n!==void 0?n:Xn;return u.jsxs("div",{className:s,style:c,children:[u.jsx("span",{className:d.classNames.vhidden,children:e["aria-label"]}),u.jsx("select",{name:e.name,"aria-label":e["aria-label"],className:d.classNames.dropdown,style:d.styles.dropdown,value:r,onChange:a,children:o}),u.jsxs("div",{className:d.classNames.caption_label,style:d.styles.caption_label,"aria-hidden":"true",children:[i,u.jsx(l,{className:d.classNames.dropdown_icon,style:d.styles.dropdown_icon})]})]})}function Vn(e){var t,n=M(),a=n.fromDate,r=n.toDate,o=n.styles,i=n.locale,s=n.formatters.formatMonthCaption,c=n.classNames,d=n.components,l=n.labels.labelMonthDropdown;if(!a)return u.jsx(u.Fragment,{});if(!r)return u.jsx(u.Fragment,{});var f=[];if(Mn(a,r))for(var h=O(a),m=a.getMonth();m<=r.getMonth();m++)f.push(le(h,m));else for(var h=O(new Date),m=0;m<=11;m++)f.push(le(h,m));var y=function(p){var N=Number(p.target.value),k=le(O(e.displayMonth),N);e.onChange(k)},x=(t=d?.Dropdown)!==null&&t!==void 0?t:Je;return u.jsx(x,{name:"months","aria-label":l(),className:c.dropdown_month,style:o.dropdown_month,onChange:y,value:e.displayMonth.getMonth(),caption:s(e.displayMonth,{locale:i}),children:f.map(function(p){return u.jsx("option",{value:p.getMonth(),children:s(p,{locale:i})},p.getMonth())})})}function Gn(e){var t,n=e.displayMonth,a=M(),r=a.fromDate,o=a.toDate,i=a.locale,s=a.styles,c=a.classNames,d=a.components,l=a.formatters.formatYearCaption,f=a.labels.labelYearDropdown,h=[];if(!r)return u.jsx(u.Fragment,{});if(!o)return u.jsx(u.Fragment,{});for(var m=r.getFullYear(),y=o.getFullYear(),x=m;x<=y;x++)h.push(Te(Re(new Date),x));var p=function(k){var q=Te(O(n),Number(k.target.value));e.onChange(q)},N=(t=d?.Dropdown)!==null&&t!==void 0?t:Je;return u.jsx(N,{name:"years","aria-label":f(),className:c.dropdown_year,style:s.dropdown_year,onChange:p,value:n.getFullYear(),caption:l(n,{locale:i}),children:h.map(function(k){return u.jsx("option",{value:k.getFullYear(),children:l(k,{locale:i})},k.getFullYear())})})}function zn(e,t){var n=D.useState(e),a=n[0],r=n[1],o=t===void 0?a:t;return[o,r]}function Un(e){var t=e.month,n=e.defaultMonth,a=e.today,r=t||n||a||new Date,o=e.toDate,i=e.fromDate,s=e.numberOfMonths,c=s===void 0?1:s;if(o&&G(o,r)<0){var d=-1*(c-1);r=j(o,d)}return i&&G(r,i)<0&&(r=i),O(r)}function Jn(){var e=M(),t=Un(e),n=zn(t,e.month),a=n[0],r=n[1],o=function(i){var s;if(!e.disableNavigation){var c=O(i);r(c),(s=e.onMonthChange)===null||s===void 0||s.call(e,c)}};return[a,o]}function Kn(e,t){for(var n=t.reverseMonths,a=t.numberOfMonths,r=O(e),o=O(j(r,a)),i=G(o,r),s=[],c=0;c<i;c++){var d=j(r,c);s.push(d)}return n&&(s=s.reverse()),s}function $n(e,t){if(!t.disableNavigation){var n=t.toDate,a=t.pagedNavigation,r=t.numberOfMonths,o=r===void 0?1:r,i=a?o:1,s=O(e);if(!n)return j(s,i);var c=G(n,e);if(!(c<o))return j(s,i)}}function Zn(e,t){if(!t.disableNavigation){var n=t.fromDate,a=t.pagedNavigation,r=t.numberOfMonths,o=r===void 0?1:r,i=a?o:1,s=O(e);if(!n)return j(s,-i);var c=G(s,n);if(!(c<=0))return j(s,-i)}}var Ke=D.createContext(void 0);function ea(e){var t=M(),n=Jn(),a=n[0],r=n[1],o=Kn(a,t),i=$n(a,t),s=Zn(a,t),c=function(f){return o.some(function(h){return we(f,h)})},d=function(f,h){c(f)||(h&&Ve(f,h)?r(j(f,1+t.numberOfMonths*-1)):r(f))},l={currentMonth:a,displayMonths:o,goToMonth:r,goToDate:d,previousMonth:s,nextMonth:i,isDateDisplayed:c};return u.jsx(Ke.Provider,{value:l,children:e.children})}function K(){var e=D.useContext(Ke);if(!e)throw new Error("useNavigation must be used within a NavigationProvider");return e}function Ye(e){var t,n=M(),a=n.classNames,r=n.styles,o=n.components,i=K().goToMonth,s=function(l){i(j(l,e.displayIndex?-e.displayIndex:0))},c=(t=o?.CaptionLabel)!==null&&t!==void 0?t:Ue,d=u.jsx(c,{id:e.id,displayMonth:e.displayMonth});return u.jsxs("div",{className:a.caption_dropdowns,style:r.caption_dropdowns,children:[u.jsx("div",{className:a.vhidden,children:d}),u.jsx(Vn,{onChange:s,displayMonth:e.displayMonth}),u.jsx(Gn,{onChange:s,displayMonth:e.displayMonth})]})}function ta(e){return u.jsx("svg",g({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:u.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function na(e){return u.jsx("svg",g({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:u.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var ee=D.forwardRef(function(e,t){var n=M(),a=n.classNames,r=n.styles,o=[a.button_reset,a.button];e.className&&o.push(e.className);var i=o.join(" "),s=g(g({},r.button_reset),r.button);return e.style&&Object.assign(s,e.style),u.jsx("button",g({},e,{ref:t,type:"button",className:i,style:s}))});function aa(e){var t,n,a=M(),r=a.dir,o=a.locale,i=a.classNames,s=a.styles,c=a.labels,d=c.labelPrevious,l=c.labelNext,f=a.components;if(!e.nextMonth&&!e.previousMonth)return u.jsx(u.Fragment,{});var h=d(e.previousMonth,{locale:o}),m=[i.nav_button,i.nav_button_previous].join(" "),y=l(e.nextMonth,{locale:o}),x=[i.nav_button,i.nav_button_next].join(" "),p=(t=f?.IconRight)!==null&&t!==void 0?t:na,N=(n=f?.IconLeft)!==null&&n!==void 0?n:ta;return u.jsxs("div",{className:i.nav,style:s.nav,children:[!e.hidePrevious&&u.jsx(ee,{name:"previous-month","aria-label":h,className:m,style:s.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:r==="rtl"?u.jsx(p,{className:i.nav_icon,style:s.nav_icon}):u.jsx(N,{className:i.nav_icon,style:s.nav_icon})}),!e.hideNext&&u.jsx(ee,{name:"next-month","aria-label":y,className:x,style:s.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:r==="rtl"?u.jsx(N,{className:i.nav_icon,style:s.nav_icon}):u.jsx(p,{className:i.nav_icon,style:s.nav_icon})})]})}function Fe(e){var t=M().numberOfMonths,n=K(),a=n.previousMonth,r=n.nextMonth,o=n.goToMonth,i=n.displayMonths,s=i.findIndex(function(y){return we(e.displayMonth,y)}),c=s===0,d=s===i.length-1,l=t>1&&(c||!d),f=t>1&&(d||!c),h=function(){a&&o(a)},m=function(){r&&o(r)};return u.jsx(aa,{displayMonth:e.displayMonth,hideNext:l,hidePrevious:f,nextMonth:r,previousMonth:a,onPreviousClick:h,onNextClick:m})}function ra(e){var t,n=M(),a=n.classNames,r=n.disableNavigation,o=n.styles,i=n.captionLayout,s=n.components,c=(t=s?.CaptionLabel)!==null&&t!==void 0?t:Ue,d;return r?d=u.jsx(c,{id:e.id,displayMonth:e.displayMonth}):i==="dropdown"?d=u.jsx(Ye,{displayMonth:e.displayMonth,id:e.id}):i==="dropdown-buttons"?d=u.jsxs(u.Fragment,{children:[u.jsx(Ye,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),u.jsx(Fe,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):d=u.jsxs(u.Fragment,{children:[u.jsx(c,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),u.jsx(Fe,{displayMonth:e.displayMonth,id:e.id})]}),u.jsx("div",{className:a.caption,style:o.caption,children:d})}function oa(e){var t=M(),n=t.footer,a=t.styles,r=t.classNames.tfoot;return n?u.jsx("tfoot",{className:r,style:a.tfoot,children:u.jsx("tr",{children:u.jsx("td",{colSpan:8,children:n})})}):u.jsx(u.Fragment,{})}function ia(e,t,n){for(var a=n?I(new Date):Y(new Date,{locale:e,weekStartsOn:t}),r=[],o=0;o<7;o++){var i=C(a,o);r.push(i)}return r}function sa(){var e=M(),t=e.classNames,n=e.styles,a=e.showWeekNumber,r=e.locale,o=e.weekStartsOn,i=e.ISOWeek,s=e.formatters.formatWeekdayName,c=e.labels.labelWeekday,d=ia(r,o,i);return u.jsxs("tr",{style:n.head_row,className:t.head_row,children:[a&&u.jsx("td",{style:n.head_cell,className:t.head_cell}),d.map(function(l,f){return u.jsx("th",{scope:"col",className:t.head_cell,style:n.head_cell,"aria-label":c(l,{locale:r}),children:s(l,{locale:r})},f)})]})}function ua(){var e,t=M(),n=t.classNames,a=t.styles,r=t.components,o=(e=r?.HeadRow)!==null&&e!==void 0?e:sa;return u.jsx("thead",{style:a.head,className:n.head,children:u.jsx(o,{})})}function la(e){var t=M(),n=t.locale,a=t.formatters.formatDay;return u.jsx(u.Fragment,{children:a(e.date,{locale:n})})}var xe=D.createContext(void 0);function ca(e){if(!U(e.initialProps)){var t={selected:void 0,modifiers:{disabled:[]}};return u.jsx(xe.Provider,{value:t,children:e.children})}return u.jsx(da,{initialProps:e.initialProps,children:e.children})}function da(e){var t=e.initialProps,n=e.children,a=t.selected,r=t.min,o=t.max,i=function(d,l,f){var h,m;(h=t.onDayClick)===null||h===void 0||h.call(t,d,l,f);var y=!!(l.selected&&r&&a?.length===r);if(!y){var x=!!(!l.selected&&o&&a?.length===o);if(!x){var p=a?Ge([],a):[];if(l.selected){var N=p.findIndex(function(k){return P(d,k)});p.splice(N,1)}else p.push(d);(m=t.onSelect)===null||m===void 0||m.call(t,p,d,l,f)}}},s={disabled:[]};a&&s.disabled.push(function(d){var l=o&&a.length>o-1,f=a.some(function(h){return P(h,d)});return!!(l&&!f)});var c={selected:a,onDayClick:i,modifiers:s};return u.jsx(xe.Provider,{value:c,children:n})}function _e(){var e=D.useContext(xe);if(!e)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}function fa(e,t){var n=t||{},a=n.from,r=n.to;return a&&r?P(r,e)&&P(a,e)?void 0:P(r,e)?{from:r,to:void 0}:P(a,e)?void 0:ve(a,e)?{from:e,to:r}:{from:a,to:e}:r?ve(e,r)?{from:r,to:e}:{from:e,to:r}:a?Ve(e,a)?{from:e,to:a}:{from:a,to:e}:{from:e,to:void 0}}var De=D.createContext(void 0);function ha(e){if(!J(e.initialProps)){var t={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return u.jsx(De.Provider,{value:t,children:e.children})}return u.jsx(ma,{initialProps:e.initialProps,children:e.children})}function ma(e){var t=e.initialProps,n=e.children,a=t.selected,r=a||{},o=r.from,i=r.to,s=t.min,c=t.max,d=function(m,y,x){var p,N;(p=t.onDayClick)===null||p===void 0||p.call(t,m,y,x);var k=fa(m,a);(N=t.onSelect)===null||N===void 0||N.call(t,k,m,y,x)},l={range_start:[],range_end:[],range_middle:[],disabled:[]};if(o?(l.range_start=[o],i?(l.range_end=[i],P(o,i)||(l.range_middle=[{after:o,before:i}])):l.range_end=[o]):i&&(l.range_start=[i],l.range_end=[i]),s&&(o&&!i&&l.disabled.push({after:ue(o,s-1),before:C(o,s-1)}),o&&i&&l.disabled.push({after:o,before:C(o,s-1)}),!o&&i&&l.disabled.push({after:ue(i,s-1),before:C(i,s-1)})),c){if(o&&!i&&(l.disabled.push({before:C(o,-c+1)}),l.disabled.push({after:C(o,c-1)})),o&&i){var f=T(i,o)+1,h=c-f;l.disabled.push({before:ue(o,h)}),l.disabled.push({after:C(i,h)})}!o&&i&&(l.disabled.push({before:C(i,-c+1)}),l.disabled.push({after:C(i,c-1)}))}return u.jsx(De.Provider,{value:{selected:a,onDayClick:d,modifiers:l},children:n})}function Me(){var e=D.useContext(De);if(!e)throw new Error("useSelectRange must be used within a SelectRangeProvider");return e}function $(e){return Array.isArray(e)?Ge([],e):e!==void 0?[e]:[]}function va(e){var t={};return Object.entries(e).forEach(function(n){var a=n[0],r=n[1];t[a]=$(r)}),t}var W;(function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"})(W||(W={}));var ya=W.Selected,F=W.Disabled,ga=W.Hidden,ba=W.Today,ce=W.RangeEnd,de=W.RangeMiddle,fe=W.RangeStart,pa=W.Outside;function wa(e,t,n){var a,r=(a={},a[ya]=$(e.selected),a[F]=$(e.disabled),a[ga]=$(e.hidden),a[ba]=[e.today],a[ce]=[],a[de]=[],a[fe]=[],a[pa]=[],a);return e.fromDate&&r[F].push({before:e.fromDate}),e.toDate&&r[F].push({after:e.toDate}),U(e)?r[F]=r[F].concat(t.modifiers[F]):J(e)&&(r[F]=r[F].concat(n.modifiers[F]),r[fe]=n.modifiers[fe],r[de]=n.modifiers[de],r[ce]=n.modifiers[ce]),r}var $e=D.createContext(void 0);function xa(e){var t=M(),n=_e(),a=Me(),r=wa(t,n,a),o=va(t.modifiers),i=g(g({},r),o);return u.jsx($e.Provider,{value:i,children:e.children})}function Ze(){var e=D.useContext($e);if(!e)throw new Error("useModifiers must be used within a ModifiersProvider");return e}function _a(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function Da(e){return!!(e&&typeof e=="object"&&"from"in e)}function Ma(e){return!!(e&&typeof e=="object"&&"after"in e)}function ka(e){return!!(e&&typeof e=="object"&&"before"in e)}function Na(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function Ca(e,t){var n,a=t.from,r=t.to;if(a&&r){var o=T(r,a)<0;o&&(n=[r,a],a=n[0],r=n[1]);var i=T(e,a)>=0&&T(r,e)>=0;return i}return r?P(r,e):a?P(a,e):!1}function Pa(e){return ge(e)}function Oa(e){return Array.isArray(e)&&e.every(ge)}function Sa(e,t){return t.some(function(n){if(typeof n=="boolean")return n;if(Pa(n))return P(e,n);if(Oa(n))return n.includes(e);if(Da(n))return Ca(e,n);if(Na(n))return n.dayOfWeek.includes(e.getDay());if(_a(n)){var a=T(n.before,e),r=T(n.after,e),o=a>0,i=r<0,s=ve(n.before,n.after);return s?i&&o:o||i}return Ma(n)?T(e,n.after)>0:ka(n)?T(n.before,e)>0:typeof n=="function"?n(e):!1})}function ke(e,t,n){var a=Object.keys(t).reduce(function(o,i){var s=t[i];return Sa(e,s)&&o.push(i),o},[]),r={};return a.forEach(function(o){return r[o]=!0}),n&&!we(e,n)&&(r.outside=!0),r}function ja(e,t){for(var n=O(e[0]),a=be(e[e.length-1]),r,o,i=n;i<=a;){var s=ke(i,t),c=!s.disabled&&!s.hidden;if(!c){i=C(i,1);continue}if(s.selected)return i;s.today&&!o&&(o=i),r||(r=i),i=C(i,1)}return o||r}var Wa=365;function et(e,t){var n=t.moveBy,a=t.direction,r=t.context,o=t.modifiers,i=t.retry,s=i===void 0?{count:0,lastFocused:e}:i,c=r.weekStartsOn,d=r.fromDate,l=r.toDate,f=r.locale,h={day:C,week:me,month:j,year:pt,startOfWeek:function(p){return r.ISOWeek?I(p):Y(p,{locale:f,weekStartsOn:c})},endOfWeek:function(p){return r.ISOWeek?Be(p):pe(p,{locale:f,weekStartsOn:c})}},m=h[n](e,a==="after"?1:-1);a==="before"&&d?m=wt([d,m]):a==="after"&&l&&(m=xt([l,m]));var y=!0;if(o){var x=ke(m,o);y=!x.disabled&&!x.hidden}return y?m:s.count>Wa?s.lastFocused:et(m,{moveBy:n,direction:a,context:r,modifiers:o,retry:g(g({},s),{count:s.count+1})})}var tt=D.createContext(void 0);function Ta(e){var t=K(),n=Ze(),a=D.useState(),r=a[0],o=a[1],i=D.useState(),s=i[0],c=i[1],d=ja(t.displayMonths,n),l=r??(s&&t.isDateDisplayed(s))?s:d,f=function(){c(r),o(void 0)},h=function(p){o(p)},m=M(),y=function(p,N){if(r){var k=et(r,{moveBy:p,direction:N,context:m,modifiers:n});P(r,k)||(t.goToDate(k,r),h(k))}},x={focusedDay:r,focusTarget:l,blur:f,focus:h,focusDayAfter:function(){return y("day","after")},focusDayBefore:function(){return y("day","before")},focusWeekAfter:function(){return y("week","after")},focusWeekBefore:function(){return y("week","before")},focusMonthBefore:function(){return y("month","before")},focusMonthAfter:function(){return y("month","after")},focusYearBefore:function(){return y("year","before")},focusYearAfter:function(){return y("year","after")},focusStartOfWeek:function(){return y("startOfWeek","before")},focusEndOfWeek:function(){return y("endOfWeek","after")}};return u.jsx(tt.Provider,{value:x,children:e.children})}function Ne(){var e=D.useContext(tt);if(!e)throw new Error("useFocusContext must be used within a FocusProvider");return e}function Ya(e,t){var n=Ze(),a=ke(e,n,t);return a}var Ce=D.createContext(void 0);function Fa(e){if(!te(e.initialProps)){var t={selected:void 0};return u.jsx(Ce.Provider,{value:t,children:e.children})}return u.jsx(Ea,{initialProps:e.initialProps,children:e.children})}function Ea(e){var t=e.initialProps,n=e.children,a=function(o,i,s){var c,d,l;if((c=t.onDayClick)===null||c===void 0||c.call(t,o,i,s),i.selected&&!t.required){(d=t.onSelect)===null||d===void 0||d.call(t,void 0,o,i,s);return}(l=t.onSelect)===null||l===void 0||l.call(t,o,o,i,s)},r={selected:t.selected,onDayClick:a};return u.jsx(Ce.Provider,{value:r,children:n})}function nt(){var e=D.useContext(Ce);if(!e)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return e}function La(e,t){var n=M(),a=nt(),r=_e(),o=Me(),i=Ne(),s=i.focusDayAfter,c=i.focusDayBefore,d=i.focusWeekAfter,l=i.focusWeekBefore,f=i.blur,h=i.focus,m=i.focusMonthBefore,y=i.focusMonthAfter,x=i.focusYearBefore,p=i.focusYearAfter,N=i.focusStartOfWeek,k=i.focusEndOfWeek,q=function(b){var v,re,oe,ie;te(n)?(v=a.onDayClick)===null||v===void 0||v.call(a,e,t,b):U(n)?(re=r.onDayClick)===null||re===void 0||re.call(r,e,t,b):J(n)?(oe=o.onDayClick)===null||oe===void 0||oe.call(o,e,t,b):(ie=n.onDayClick)===null||ie===void 0||ie.call(n,e,t,b)},ne=function(b){var v;h(e),(v=n.onDayFocus)===null||v===void 0||v.call(n,e,t,b)},ae=function(b){var v;f(),(v=n.onDayBlur)===null||v===void 0||v.call(n,e,t,b)},Q=function(b){var v;(v=n.onDayMouseEnter)===null||v===void 0||v.call(n,e,t,b)},at=function(b){var v;(v=n.onDayMouseLeave)===null||v===void 0||v.call(n,e,t,b)},rt=function(b){var v;(v=n.onDayPointerEnter)===null||v===void 0||v.call(n,e,t,b)},ot=function(b){var v;(v=n.onDayPointerLeave)===null||v===void 0||v.call(n,e,t,b)},it=function(b){var v;(v=n.onDayTouchCancel)===null||v===void 0||v.call(n,e,t,b)},st=function(b){var v;(v=n.onDayTouchEnd)===null||v===void 0||v.call(n,e,t,b)},ut=function(b){var v;(v=n.onDayTouchMove)===null||v===void 0||v.call(n,e,t,b)},lt=function(b){var v;(v=n.onDayTouchStart)===null||v===void 0||v.call(n,e,t,b)},ct=function(b){var v;(v=n.onDayKeyUp)===null||v===void 0||v.call(n,e,t,b)},dt=function(b){var v;switch(b.key){case"ArrowLeft":b.preventDefault(),b.stopPropagation(),n.dir==="rtl"?s():c();break;case"ArrowRight":b.preventDefault(),b.stopPropagation(),n.dir==="rtl"?c():s();break;case"ArrowDown":b.preventDefault(),b.stopPropagation(),d();break;case"ArrowUp":b.preventDefault(),b.stopPropagation(),l();break;case"PageUp":b.preventDefault(),b.stopPropagation(),b.shiftKey?x():m();break;case"PageDown":b.preventDefault(),b.stopPropagation(),b.shiftKey?p():y();break;case"Home":b.preventDefault(),b.stopPropagation(),N();break;case"End":b.preventDefault(),b.stopPropagation(),k();break}(v=n.onDayKeyDown)===null||v===void 0||v.call(n,e,t,b)},ft={onClick:q,onFocus:ne,onBlur:ae,onKeyDown:dt,onKeyUp:ct,onMouseEnter:Q,onMouseLeave:at,onPointerEnter:rt,onPointerLeave:ot,onTouchCancel:it,onTouchEnd:st,onTouchMove:ut,onTouchStart:lt};return ft}function Ia(){var e=M(),t=nt(),n=_e(),a=Me(),r=te(e)?t.selected:U(e)?n.selected:J(e)?a.selected:void 0;return r}function Ra(e){return Object.values(W).includes(e)}function Ba(e,t){var n=[e.classNames.day];return Object.keys(t).forEach(function(a){var r=e.modifiersClassNames[a];if(r)n.push(r);else if(Ra(a)){var o=e.classNames["day_".concat(a)];o&&n.push(o)}}),n}function Ha(e,t){var n=g({},e.styles.day);return Object.keys(t).forEach(function(a){var r;n=g(g({},n),(r=e.modifiersStyles)===null||r===void 0?void 0:r[a])}),n}function Aa(e,t,n){var a,r,o,i=M(),s=Ne(),c=Ya(e,t),d=La(e,c),l=Ia(),f=!!(i.onDayClick||i.mode!=="default");D.useEffect(function(){var Q;c.outside||s.focusedDay&&f&&P(s.focusedDay,e)&&((Q=n.current)===null||Q===void 0||Q.focus())},[s.focusedDay,e,n,f,c.outside]);var h=Ba(i,c).join(" "),m=Ha(i,c),y=!!(c.outside&&!i.showOutsideDays||c.hidden),x=(o=(r=i.components)===null||r===void 0?void 0:r.DayContent)!==null&&o!==void 0?o:la,p=u.jsx(x,{date:e,displayMonth:t,activeModifiers:c}),N={style:m,className:h,children:p,role:"gridcell"},k=s.focusTarget&&P(s.focusTarget,e)&&!c.outside,q=s.focusedDay&&P(s.focusedDay,e),ne=g(g(g({},N),(a={disabled:c.disabled,role:"gridcell"},a["aria-selected"]=c.selected,a.tabIndex=q||k?0:-1,a)),d),ae={isButton:f,isHidden:y,activeModifiers:c,selectedDays:l,buttonProps:ne,divProps:N};return ae}function qa(e){var t=D.useRef(null),n=Aa(e.date,e.displayMonth,t);return n.isHidden?u.jsx("div",{role:"gridcell"}):n.isButton?u.jsx(ee,g({name:"day",ref:t},n.buttonProps)):u.jsx("div",g({},n.divProps))}function Qa(e){var t=e.number,n=e.dates,a=M(),r=a.onWeekNumberClick,o=a.styles,i=a.classNames,s=a.locale,c=a.labels.labelWeekNumber,d=a.formatters.formatWeekNumber,l=d(Number(t),{locale:s});if(!r)return u.jsx("span",{className:i.weeknumber,style:o.weeknumber,children:l});var f=c(Number(t),{locale:s}),h=function(m){r(t,n,m)};return u.jsx(ee,{name:"week-number","aria-label":f,className:i.weeknumber,style:o.weeknumber,onClick:h,children:l})}function Xa(e){var t,n,a=M(),r=a.styles,o=a.classNames,i=a.showWeekNumber,s=a.components,c=(t=s?.Day)!==null&&t!==void 0?t:qa,d=(n=s?.WeekNumber)!==null&&n!==void 0?n:Qa,l;return i&&(l=u.jsx("td",{className:o.cell,style:r.cell,children:u.jsx(d,{number:e.weekNumber,dates:e.dates})})),u.jsxs("tr",{className:o.row,style:r.row,children:[l,e.dates.map(function(f){return u.jsx("td",{className:o.cell,style:r.cell,role:"presentation",children:u.jsx(c,{displayMonth:e.displayMonth,date:f})},xn(f))})]})}function Ee(e,t,n){for(var a=n?.ISOWeek?Be(t):pe(t,n),r=n?.ISOWeek?I(e):Y(e,n),o=T(a,r),i=[],s=0;s<=o;s++)i.push(C(r,s));var c=i.reduce(function(d,l){var f=n?.ISOWeek?Ae(l):Qe(l,n),h=d.find(function(m){return m.weekNumber===f});return h?(h.dates.push(l),d):(d.push({weekNumber:f,dates:[l]}),d)},[]);return c}function Va(e,t){var n=Ee(O(e),be(e),t);if(t?.useFixedWeeks){var a=Dn(e,t);if(a<6){var r=n[n.length-1],o=r.dates[r.dates.length-1],i=me(o,6-a),s=Ee(me(o,1),i,t);n.push.apply(n,s)}}return n}function Ga(e){var t,n,a,r=M(),o=r.locale,i=r.classNames,s=r.styles,c=r.hideHead,d=r.fixedWeeks,l=r.components,f=r.weekStartsOn,h=r.firstWeekContainsDate,m=r.ISOWeek,y=Va(e.displayMonth,{useFixedWeeks:!!d,ISOWeek:m,locale:o,weekStartsOn:f,firstWeekContainsDate:h}),x=(t=l?.Head)!==null&&t!==void 0?t:ua,p=(n=l?.Row)!==null&&n!==void 0?n:Xa,N=(a=l?.Footer)!==null&&a!==void 0?a:oa;return u.jsxs("table",{id:e.id,className:i.table,style:s.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!c&&u.jsx(x,{}),u.jsx("tbody",{className:i.tbody,style:s.tbody,children:y.map(function(k){return u.jsx(p,{displayMonth:e.displayMonth,dates:k.dates,weekNumber:k.weekNumber},k.weekNumber)})}),u.jsx(N,{displayMonth:e.displayMonth})]})}function za(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var Ua=za()?D.useLayoutEffect:D.useEffect,he=!1,Ja=0;function Le(){return"react-day-picker-".concat(++Ja)}function Ka(e){var t,n=e??(he?Le():null),a=D.useState(n),r=a[0],o=a[1];return Ua(function(){r===null&&o(Le())},[]),D.useEffect(function(){he===!1&&(he=!0)},[]),(t=e??r)!==null&&t!==void 0?t:void 0}function $a(e){var t,n,a=M(),r=a.dir,o=a.classNames,i=a.styles,s=a.components,c=K().displayMonths,d=Ka(a.id?"".concat(a.id,"-").concat(e.displayIndex):void 0),l=a.id?"".concat(a.id,"-grid-").concat(e.displayIndex):void 0,f=[o.month],h=i.month,m=e.displayIndex===0,y=e.displayIndex===c.length-1,x=!m&&!y;r==="rtl"&&(t=[m,y],y=t[0],m=t[1]),m&&(f.push(o.caption_start),h=g(g({},h),i.caption_start)),y&&(f.push(o.caption_end),h=g(g({},h),i.caption_end)),x&&(f.push(o.caption_between),h=g(g({},h),i.caption_between));var p=(n=s?.Caption)!==null&&n!==void 0?n:ra;return u.jsxs("div",{className:f.join(" "),style:h,children:[u.jsx(p,{id:d,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),u.jsx(Ga,{id:l,"aria-labelledby":d,displayMonth:e.displayMonth})]},e.displayIndex)}function Za(e){var t=M(),n=t.classNames,a=t.styles;return u.jsx("div",{className:n.months,style:a.months,children:e.children})}function er(e){var t,n,a=e.initialProps,r=M(),o=Ne(),i=K(),s=D.useState(!1),c=s[0],d=s[1];D.useEffect(function(){r.initialFocus&&o.focusTarget&&(c||(o.focus(o.focusTarget),d(!0)))},[r.initialFocus,c,o.focus,o.focusTarget,o]);var l=[r.classNames.root,r.className];r.numberOfMonths>1&&l.push(r.classNames.multiple_months),r.showWeekNumber&&l.push(r.classNames.with_weeknumber);var f=g(g({},r.styles.root),r.style),h=Object.keys(a).filter(function(y){return y.startsWith("data-")}).reduce(function(y,x){var p;return g(g({},y),(p={},p[x]=a[x],p))},{}),m=(n=(t=a.components)===null||t===void 0?void 0:t.Months)!==null&&n!==void 0?n:Za;return u.jsx("div",g({className:l.join(" "),style:f,dir:r.dir,id:r.id,nonce:a.nonce,title:a.title,lang:a.lang},h,{children:u.jsx(m,{children:i.displayMonths.map(function(y,x){return u.jsx($a,{displayIndex:x,displayMonth:y},x)})})}))}function tr(e){var t=e.children,n=kn(e,["children"]);return u.jsx(Qn,{initialProps:n,children:u.jsx(ea,{children:u.jsx(Fa,{initialProps:n,children:u.jsx(ca,{initialProps:n,children:u.jsx(ha,{initialProps:n,children:u.jsx(xa,{children:u.jsx(Ta,{children:t})})})})})})})}function nr(e){return u.jsx(tr,g({},e,{children:u.jsx(er,{initialProps:e})}))}function sr(e){const t=ht.c(20);let n,a,r,o;t[0]!==e?({className:n,classNames:a,showOutsideDays:o,...r}=e,t[0]=e,t[1]=n,t[2]=a,t[3]=r,t[4]=o):(n=t[1],a=t[2],r=t[3],o=t[4]);const i=o===void 0?!0:o;let s;t[5]!==n?(s=H("p-3",n),t[5]=n,t[6]=s):s=t[6];let c;t[7]===Symbol.for("react.memo_cache_sentinel")?(c=H(Pe({variant:"outline"}),"size-7 bg-transparent p-0 opacity-50 hover:opacity-100"),t[7]=c):c=t[7];const d=r.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md";let l;t[8]!==d?(l=H("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-range-end)]:rounded-r-md",d),t[8]=d,t[9]=l):l=t[9];let f;t[10]===Symbol.for("react.memo_cache_sentinel")?(f=H(Pe({variant:"ghost"}),"size-8 p-0 font-normal aria-selected:opacity-100"),t[10]=f):f=t[10];let h;t[11]!==a||t[12]!==l?(h={months:"flex flex-col sm:flex-row gap-2",month:"flex flex-col gap-4",caption:"flex justify-center pt-1 relative items-center w-full",caption_label:"text-sm font-medium",nav:"flex items-center gap-1",nav_button:c,nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-x-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:l,day:f,day_range_start:"day-range-start aria-selected:bg-primary aria-selected:text-primary-foreground",day_range_end:"day-range-end aria-selected:bg-primary aria-selected:text-primary-foreground",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...a},t[11]=a,t[12]=l,t[13]=h):h=t[13];let m;t[14]===Symbol.for("react.memo_cache_sentinel")?(m={IconLeft:rr,IconRight:ar},t[14]=m):m=t[14];let y;return t[15]!==r||t[16]!==i||t[17]!==s||t[18]!==h?(y=u.jsx(nr,{showOutsideDays:i,className:s,classNames:h,components:m,...r}),t[15]=r,t[16]=i,t[17]=s,t[18]=h,t[19]=y):y=t[19],y}function ar(e){const{className:t,...n}=e;return u.jsx(mt,{className:H("size-4",t),...n})}function rr(e){const{className:t,...n}=e;return u.jsx(vt,{className:H("size-4",t),...n})}export{sr as C};
@@ -1 +1 @@
1
- import{c as p,b as y,q as h,a6 as j,j as s,a7 as b,K as C,B as E}from"./index-BGvfgBXQ.js";function v(){const e=p.c(23),t=y(),d=h(),{locator:x}=j();let u;e[0]===Symbol.for("react.memo_cache_sentinel")?(u=s.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted text-muted-foreground",children:s.jsx(b,{size:28})}),e[0]=u):u=e[0];let i;e[1]!==t?(i=t("common.capabilityLoadError.title"),e[1]=t,e[2]=i):i=e[2];let l;e[3]!==i?(l=s.jsx("h3",{className:"text-lg font-medium",children:i}),e[3]=i,e[4]=l):l=e[4];let a;e[5]!==t?(a=t("common.capabilityLoadError.description"),e[5]=t,e[6]=a):a=e[6];let r;e[7]!==a?(r=s.jsx("p",{className:"mx-auto max-w-sm text-sm text-muted-foreground",children:a}),e[7]=a,e[8]=r):r=e[8];let o;e[9]!==l||e[10]!==r?(o=s.jsxs("div",{className:"space-y-1",children:[l,r]}),e[9]=l,e[10]=r,e[11]=o):o=e[11];let n;e[12]!==x||e[13]!==d?(n=()=>d.invalidateQueries({queryKey:C.myCapabilities(x)}),e[12]=x,e[13]=d,e[14]=n):n=e[14];let c;e[15]!==t?(c=t("common.capabilityLoadError.tryAgain"),e[15]=t,e[16]=c):c=e[16];let m;e[17]!==n||e[18]!==c?(m=s.jsx(E,{variant:"outline",size:"sm",onClick:n,children:c}),e[17]=n,e[18]=c,e[19]=m):m=e[19];let f;return e[20]!==o||e[21]!==m?(f=s.jsxs("div",{className:"flex h-full min-h-[60vh] flex-1 flex-col items-center justify-center gap-4 p-6 text-center",children:[u,o,m]}),e[20]=o,e[21]=m,e[22]=f):f=e[22],f}export{v as C};
1
+ import{c as p,b as y,q as h,a6 as j,j as s,a7 as b,K as C,B as E}from"./index-mb-jxjEy.js";function v(){const e=p.c(23),t=y(),d=h(),{locator:x}=j();let u;e[0]===Symbol.for("react.memo_cache_sentinel")?(u=s.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted text-muted-foreground",children:s.jsx(b,{size:28})}),e[0]=u):u=e[0];let i;e[1]!==t?(i=t("common.capabilityLoadError.title"),e[1]=t,e[2]=i):i=e[2];let l;e[3]!==i?(l=s.jsx("h3",{className:"text-lg font-medium",children:i}),e[3]=i,e[4]=l):l=e[4];let a;e[5]!==t?(a=t("common.capabilityLoadError.description"),e[5]=t,e[6]=a):a=e[6];let r;e[7]!==a?(r=s.jsx("p",{className:"mx-auto max-w-sm text-sm text-muted-foreground",children:a}),e[7]=a,e[8]=r):r=e[8];let o;e[9]!==l||e[10]!==r?(o=s.jsxs("div",{className:"space-y-1",children:[l,r]}),e[9]=l,e[10]=r,e[11]=o):o=e[11];let n;e[12]!==x||e[13]!==d?(n=()=>d.invalidateQueries({queryKey:C.myCapabilities(x)}),e[12]=x,e[13]=d,e[14]=n):n=e[14];let c;e[15]!==t?(c=t("common.capabilityLoadError.tryAgain"),e[15]=t,e[16]=c):c=e[16];let m;e[17]!==n||e[18]!==c?(m=s.jsx(E,{variant:"outline",size:"sm",onClick:n,children:c}),e[17]=n,e[18]=c,e[19]=m):m=e[19];let f;return e[20]!==o||e[21]!==m?(f=s.jsxs("div",{className:"flex h-full min-h-[60vh] flex-1 flex-col items-center justify-center gap-4 p-6 text-center",children:[u,o,m]}),e[20]=o,e[21]=m,e[22]=f):f=e[22],f}export{v as C};
@@ -0,0 +1 @@
1
+ import{c as jt,j as t,b as St,r as k,B as et,a9 as Et,I as ot,aP as vt,aO as Nt,aL as Ct,aJ as wt,aK as Pt,aN as kt,aM as Bt,b9 as Dt,h as Tt,t as B}from"./index-mb-jxjEy.js";import{u as Ft}from"./chat-context-CxkYg5uT.js";import{i as L}from"./AlertCircle-CngNmW3n.js";import{i as At}from"./ArrowRight-Dyuh-rXZ.js";import{i as st}from"./File02-BmbcQ1JX.js";import{d as _t}from"./UserSquare-T90Jaoc-.js";import{L as O}from"./label-DFYaZzfV.js";import{S as Rt,b as Lt,a as Ot,d as zt,c as z}from"./select-DnlDCB9E.js";import{b as It,C as Ht,a as Mt,c as $t}from"./blog-schema-Dhm1FJA9.js";import{H as Wt,u as Vt}from"./held-block-view-CEue5DyE.js";import{a as Gt,b as I,R as Yt,s as qt,aM as Jt,o as Qt,aN as Ut,a7 as Xt,aO as Zt,m as rt,ab as Kt,a3 as te,u as ee,l as oe,aP as se,d as re,f as ie,I as ae,aQ as ne}from"./category-tree-DSsAlLjn.js";import{e as le}from"./blog-preview-url-DwcMPB8a.js";import{u as me}from"./use-never-published-Db-SviVk.js";import{u as ce}from"./use-move-blocks-D8MFSTf7.js";import{H as it}from"./hosted-reconcile-CC64pDxA.js";import{u as de}from"./use-fast-preview-draft-url-DbEjmD3f.js";import{u as pe}from"./use-autosave-C9MsBAi1.js";import{S as ue}from"./save-status-Csuo4rYY.js";import{B as ge,a as xe}from"./block-document-D7KablrH.js";import{s as p,E as he}from"./primitives-BHTaKbue.js";import{c as fe,T as ye,a as be}from"./tooltip-DCzbfwd7.js";import"./use-panel-navigate-B5u6ws6M.js";import"./thread-route-DRsKlO-E.js";import"./use-project-scope-Dydp2D08.js";import"./repository-binding-w-FCDYuS.js";import"./use-mcp-client-4k5JKqzF.js";import"./auth--2gxCib9.js";import"./use-view-draft-kind-CZT4hOaN.js";import"./use-blog-view-Bi3aoju6.js";import"./use-organization-settings-UrGbnM2k.js";import"./schema-BluyjH2z.js";import"./task-board-CShHcm1L.js";import"./thread-intent-BQWCtBA_.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./watch-sse-pool-7J-tc7Ge.js";import"./session-runtime-D2GKulko.js";import"./use-entitlements-CzwT7L5B.js";import"./use-ai-providers-CTbi7eSd.js";import"./use-current-view-DvszbK0Z.js";import"./use-in-settings-BTBVzmbg.js";import"./use-decopilot-events-BhcT5RAV.js";import"./index-BdQq_4o_.js";import"./index-B8ZkvDME.js";import"./ChevronDown-Cz82ih9S.js";import"./ChevronUp-CLsy4_cr.js";import"./UserCheck01-CuByTN5F.js";import"./collapsible-BSD-rIyq.js";import"./utils-pe9cqItP.js";import"./agent-icon-zvo6Zsex.js";import"./Tool01-9Nk8XcOI.js";import"./ArrowUp-C9hRfWJJ.js";import"./ArrowLeft-7wIIyF4Y.js";import"./BookOpen01-Bov9QL4X.js";import"./Globe04-_51WnfFJ.js";import"./CheckCircle-C0mDI2jO.js";import"./TrendUp01-D-BYwryf.js";import"./ChevronSelectorVertical-B_wf9OPd.js";import"./LinkBroken01-BPaKcMJ1.js";import"./CreditCard01-C7XdJQOf.js";import"./MessageCircle01-DEwhGd-N.js";import"./SwitchHorizontal01-HaaMuIs0.js";import"./Eye-BoMcImel.js";import"./Fingerprint04-CeWGcIpe.js";import"./Image01-nL5rafgN.js";import"./Key01-DPEcpDw6.js";import"./LayoutLeft-DFrTynS3.js";import"./Minus-CZtTY14n.js";import"./Monitor01-Dzk9r8YI.js";import"./Sun-BUSaNVU-.js";import"./Play-BNkIfSsq.js";import"./Plus-WQeLSh07.js";import"./SearchMd-CrM5HGUz.js";import"./ShoppingBag01-Dvi8noNw.js";import"./Trash01-By8obgKt.js";import"./Upload01-BPnZnmHF.js";import"./Users01-D1-vaLa3.js";import"./XClose-Bomoew3H.js";import"./Zap-lo-lOcPp.js";import"./blocks-tab-states-D8VyxdkW.js";import"./site-editor-toast-DfzFv4iY.js";import"./use-sandbox-events-DEHux0gs.js";import"./sandbox-url-D3mC8qhT.js";import"./use-blocks-v8-project-BloQ91Xb.js";import"./use-voice-input-Nzha8Za1.js";import"./popover-D73VbCM5.js";import"./drawer-CmJXwXhP.js";import"./use-mobile-CBwmaBFU.js";import"./index-BIBRRoOW.js";import"./checkbox-C-dWRGEo.js";import"./ai-providers-logos-DD3qZ33J.js";import"./openai-compatible-presets-BKGfVqEx.js";import"./sandbox-git-api-1xYJwdHB.js";import"./empty-state-DlNabApi.js";import"./calendar-CqkLsAo9.js";import"./textarea-BCGFjA5F.js";import"./usage-stats-CiB8uQLm.js";import"./utils-CVEq3hMx.js";import"./markdown-B-EQMrBl.js";import"./use-copy-DSNmvH9L.js";import"./gateway-client-zPU6BhGI.js";import"./form-CJTkS9yd.js";import"./editor-classes-C_k7lpha.js";import"./switch--3C-A5oU.js";import"./task-key-BP2--GY6.js";import"./sortable.esm-Cl-YQgc8.js";import"./toggle-group-jkikwCcL.js";import"./active-indicator-CCMhAsc_.js";import"./section-array-field-4siTAXTX.js";import"./command-CwP4XJhp.js";import"./index-Dy0Aphio.js";import"./named-rule-step-C-_N0SXT.js";import"./slider-Bqy5W8RM.js";import"./index-kPKwu4SB.js";import"./tooltipContext-2wUW4UR-.js";import"./CategoricalChart-BJA3WMzp.js";import"./index-OaQ5Wven.js";import"./combobox-D_fSr7_C.js";import"./scroll-area-D9mVov2B.js";import"./match-site-slug-config-B47_xZCi.js";import"./use-file-configs-yKe4yLHn.js";import"./asset-utils-BDYUvtkF.js";import"./useInfiniteQuery-FxnnBp9W.js";import"./infiniteQueryObserver-Dfcni9SV.js";import"./sandbox-start-errors-BK_aDCyt.js";import"./pair-CI1Rts6X.js";import"./use-task-board-items-B_EMxvU9.js";import"./config-4NBdyaeh.js";import"./task-route-BDNP9yC7.js";import"./project-index-DyqPLhTf.js";import"./shell-layout-BS_Y65pV.js";import"./use-deployment-admin-DCWHLNad.js";import"./admin-fetch-BhTJlAsX.js";import"./use-org-notice-BLDWm2ef.js";import"./integration-icon-DRbGJhQo.js";import"./project-icon-Bl4IAncl.js";import"./use-navigate-to-agent-H87rWFYJ.js";import"./use-debounced-value-CAOKwJaL.js";import"./new-project-dialog-KtG8l1yi.js";import"./repository-picker-DF0-TGsg.js";import"./github-icon-D3IlXxDN.js";import"./collection-search-BpNjeFlC.js";import"./new-project-store-DDZH8miu.js";import"./legacy-admin-welcome-dialog-C0rLwEhl.js";import"./required-auth-layout-B1owCwtw.js";import"./use-org-sso-Cfy5SkJ5.js";import"./content-blocks-o63cs2vh.js";import"./mcp-app-renderer-B8_THT37.js";import"./types-BQYXFpO6.js";import"./omit-server-managed-metadata-L5IhjRZB.js";import"./sheet-Ctckoytn.js";import"./use-connection-DxwzNo03.js";import"./use-mcp-prompts-pJuJ9yii.js";import"./use-thread-outputs-B9502nWa.js";import"./file-type-icon-M87xyG0K.js";import"./search-input-D-gp-h4P.js";import"./tabs-DJ6SkMve.js";import"./delete-copy-L_pixdww.js";import"./index-B6vsr4i3.js";import"./suggestion-BoV2NIg6.js";import"./product-picker-dialog-B1FnNY41.js";import"./index-C-bUN66r.js";const H="__none__";function je({orgSlug:r,virtualMcpId:s,branch:u,blockKey:n,block:y,decofile:x,meta:D,onManagePosts:at,onOpenPost:nt,previewBaseUrl:M,fastPreviewActive:lt=!0}){const o=St(),$=Ft()?.taskId??null,b=me({orgSlug:r,virtualMcpId:s,branch:u},{holdsCopy:!0}),v=ce({orgSlug:r,virtualMcpId:s,branch:u}),mt=de({orgSlug:r,virtualMcpId:s,branch:u}),W=Gt(y,"categories"),V=e=>{const a=b.shown(e);return a?{[e]:a}:{}},[m,G,Y]=pe(W,e=>{b.mutate({blockKey:n,data:I(n,"categories",e)})},{isSaving:b.isPending||v.isPending,onSeed:()=>b.hold(n)}),N=(e,a)=>G({...m,[e]:a}),ct=It("categories",D,$t),R=Vt({orgSlug:r,virtualMcpId:s,branch:u},x),q=R.save,J=le({decofile:x,category:m,previewBaseUrl:M,draftPointer:lt?mt:null,meta:D}),i=p(m.slug),[Q,f]=k.useState(i),[U,j]=k.useState(null),[dt,pt]=k.useState(i);dt!==i&&(pt(i),f(i));const[d,T]=k.useState(null),[S,F]=k.useState(!1),X=i?Yt(x).filter(e=>e.categorySlugs.includes(i)):[],A=X.length,_=qt(x).categories,Z=(i?_.filter(e=>e.parentSlug===i):[]).length,ut=i?Jt(i,_).add(i):new Set,K=Qt(_).filter(({entry:e,depth:a})=>e.slug&&!ut.has(e.slug)&&a+1<Ut).map(({entry:e,depth:a})=>({slug:e.slug,label:e.label,depth:a})),C=p(m.parentSlug),gt=Xt(x,"categories",n,p(m.name)),E=Zt(m),xt=E.length===1?o("sandbox.postEditor.missingFieldSingular",{fields:rt(E,o)}):o("sandbox.postEditor.missingFieldPlural",{fields:rt(E,o)}),ht=e=>N("slug",e),tt=(e,a)=>{const c={name:p(a.name),slug:p(a.slug)},l={[n]:I(n,"categories",a)};let h=0;for(const{key:g,payload:w}of oe(x)){const P=se(w,e,c);P!==w&&(l[g]=re(g,ie(P)),h+=1)}if(e!==c.slug)for(const{key:g,payload:w}of ae(x,"categories")){if(g===n)continue;const P=ne(w,e,c.slug);P!==w&&(l[g]=I(g,"categories",P))}return{writes:l,posts:h}},ft=async()=>{if(!i||S)return;const e=p(m.name),a={...m,name:e},{writes:c,posts:l}=tt(i,a);if(!(l===0&&e===p(W.name))){F(!0);try{Y(a),await v.move({writes:c,deletes:[]},{shown:()=>V(n)}),l>0&&B.success(o("sandbox.categoryEditor.renameNameSuccess",{count:String(l)}))}catch(h){if(h instanceof it)return;B.error(h instanceof Error?h.message:o("sandbox.categoryEditor.renameFailed"))}finally{F(!1)}}},yt=async(e,a)=>{const c={...m,slug:a},{writes:l,posts:h}=tt(e,c);F(!0);try{Y(c),await v.move({writes:l,deletes:[]},{shown:()=>V(n)}),B.success(h>0?o("sandbox.categoryEditor.renameSuccessWithPosts",{count:String(h)}):o("sandbox.categoryEditor.renameSuccessNoPosts")),T(null)}catch(g){if(f(e),j(null),T(null),g instanceof it)return;B.error(g instanceof Error?g.message:o("sandbox.categoryEditor.renameFailed"))}finally{F(!1)}},bt=()=>{const e=te(Q);if(f(e),e===i)return;if(!e){f(i),j(null);return}const a=_.filter(l=>l.key!==n).map(l=>p(l.slug)).filter(Boolean);let c=e;if(a.includes(e)){c=ee(e,a);const l=o("sandbox.categoryEditor.slugDeduped",{slug:c});f(c),j(l),B.info(l)}else j(null);if(A===0&&Z===0){ht(c);return}T({oldSlug:i,newSlug:c,count:A,children:Z})};return t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:"flex h-full flex-col",children:[t.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[t.jsx("span",{className:"truncate text-sm font-medium",children:p(m.name)||o("sandbox.categoryEditor.untitledCategory")}),t.jsxs("div",{className:"flex shrink-0 items-center gap-3",children:[t.jsx(ue,{isPending:b.isPending||R.isPending||v.isPending,isError:b.isError||R.isError||v.isError}),E.length>0&&t.jsxs(fe,{children:[t.jsx(ye,{asChild:!0,children:t.jsxs("span",{className:"flex items-center gap-1.5 text-xs font-medium text-destructive",children:[t.jsx(L,{size:14}),E.length," ",E.length===1?o("sandbox.postEditor.issueSingular"):o("sandbox.postEditor.issuePlural")]})}),t.jsx(be,{side:"bottom",children:xt})]}),J&&t.jsxs(et,{type:"button",variant:"outline",size:"sm",title:o("sandbox.categoryEditor.previewTooltip"),onClick:()=>window.open(J,"_blank","noopener,noreferrer"),children:[t.jsx(Et,{size:14}),o("sandbox.categoryEditor.seeCategoryPreview")]})]})]}),t.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto",children:t.jsxs("div",{className:"mx-auto max-w-4xl px-8 py-8",children:[t.jsx(he,{value:p(m.name),onChange:e=>N("name",e),readOnly:S,onBlur:()=>{ft()},placeholder:o("sandbox.categoryEditor.categoryNamePlaceholder"),className:"py-1 text-3xl font-bold text-foreground"}),gt&&t.jsxs("p",{className:"mt-2 flex items-start gap-1.5 text-xs text-warning",children:[t.jsx(L,{size:14,className:"mt-px shrink-0"}),o("sandbox.categoryEditor.duplicateNameWarning")]}),t.jsxs("div",{className:"mt-4 space-y-2",children:[t.jsx(O,{htmlFor:"category-slug",children:o("sandbox.categoryEditor.slugLabel")}),t.jsx(ot,{id:"category-slug",value:Q,onChange:e=>{j(null),f(Kt(e.target.value))},onBlur:bt,placeholder:o("sandbox.categoryEditor.slugPlaceholder"),maxLength:80,className:"h-10"}),U&&t.jsxs("p",{className:"flex items-start gap-1.5 text-xs text-warning",children:[t.jsx(L,{size:14,className:"mt-px shrink-0"}),U]})]}),t.jsxs("div",{className:"mt-4 space-y-2",children:[t.jsx(O,{htmlFor:"category-parent",children:o("sandbox.categoryEditor.parentLabel")}),t.jsxs(Rt,{value:C||H,onValueChange:e=>N("parentSlug",e===H?void 0:e),children:[t.jsx(Lt,{id:"category-parent",className:"h-10 w-full",children:t.jsx(Ot,{})}),t.jsxs(zt,{children:[t.jsx(z,{value:H,children:o("sandbox.categoryEditor.parentNone")}),C&&!K.some(e=>e.slug===C)&&t.jsx(z,{value:C,children:C}),K.map(e=>t.jsx(z,{value:e.slug,children:t.jsx("span",{style:{paddingLeft:e.depth*12},children:e.label})},e.slug))]})]}),t.jsx("p",{className:"text-xs text-muted-foreground",children:o("sandbox.categoryEditor.parentDescription")})]}),t.jsxs("div",{className:"mt-4 space-y-2",children:[t.jsx(O,{htmlFor:"category-description",children:o("sandbox.categoryEditor.descriptionLabel")}),t.jsx(ot,{id:"category-description",value:p(m.description),onChange:e=>N("description",e.target.value),placeholder:o("sandbox.categoryEditor.descriptionPlaceholder"),className:"h-10"})]}),t.jsx(Ht,{schema:ct,value:m,onChange:G,basePath:"category",meta:D,decofile:x,sandbox:{orgSlug:r,virtualMcpId:s,branch:u,threadId:$},onSaveReferencedBlock:q}),t.jsx(Mt,{icon:_t,title:o("sandbox.categoryEditor.contentTitle"),defaultOpen:!0,children:t.jsx(ge,{value:xe(m.sections),onChange:e=>N("sections",e),meta:D,decofile:x,sandboxRef:{orgSlug:r,virtualMcpId:s,branch:u,threadId:$},previewBaseUrl:M,onSaveReferencedBlock:q,emptyMessage:o("sandbox.categoryEditor.noContentEmpty")})}),t.jsxs("div",{className:"mt-6 overflow-hidden rounded-lg border bg-muted/30",children:[t.jsxs("div",{className:"flex items-center justify-between gap-3 px-4 py-3",children:[t.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[t.jsx(st,{size:16,className:"shrink-0 text-muted-foreground"}),t.jsx("span",{className:"text-sm",children:o("sandbox.categoryEditor.postsInCategory",{count:String(A)})})]}),t.jsxs(et,{type:"button",variant:"outline",size:"sm",disabled:!i,title:o(i?"sandbox.categoryEditor.pickPostsTooltip":"sandbox.categoryEditor.setSlugTooltip"),onClick:()=>at(i),children:[o("sandbox.categoryEditor.addPostsButton"),t.jsx(At,{size:14})]})]}),A>0&&t.jsx("ul",{className:"divide-y border-t bg-background",children:X.map(e=>t.jsx("li",{children:t.jsxs("button",{type:"button",onClick:()=>nt(e.key),className:"flex w-full items-center gap-2.5 px-4 py-2.5 text-left transition-colors hover:bg-accent cursor-pointer",children:[t.jsx(st,{size:14,className:"shrink-0 text-muted-foreground"}),t.jsxs("span",{className:"min-w-0 flex-1",children:[t.jsx("span",{className:"block truncate text-sm",children:e.title||o("sandbox.categoryEditor.untitledPost")}),e.slug&&t.jsx("span",{className:"block truncate text-xs text-muted-foreground",children:e.slug})]})]})},e.key))})]})]})})]}),t.jsx(vt,{open:!!d,onOpenChange:e=>{e||S||(f(i),j(null),T(null))},children:t.jsxs(Nt,{children:[t.jsxs(Ct,{children:[t.jsx(wt,{children:o("sandbox.categoryEditor.renameDialogTitle")}),t.jsxs(Pt,{children:[d?o("sandbox.categoryEditor.renameDialogDescription",{oldSlug:d.oldSlug,newSlug:d.newSlug,count:String(d.count)}):null,d&&d.children>0?` ${o("sandbox.categoryEditor.renameDialogChildren",{count:String(d.children)})}`:null]})]}),t.jsxs(kt,{children:[t.jsx(Bt,{disabled:S,children:o("sandbox.categoryEditor.cancelButton")}),t.jsx(Dt,{onClick:e=>{e.preventDefault(),d&&yt(d.oldSlug,d.newSlug)},disabled:S,children:S?t.jsxs(t.Fragment,{children:[t.jsx(Tt,{className:"size-3.5"}),o("sandbox.categoryEditor.renamingLabel")]}):o("sandbox.categoryEditor.renameActionButton")})]})]})})]})}function vr(r){const s=jt.c(10),u=r.block!==void 0;let n;s[0]!==r?(n=t.jsx(je,{...r}),s[0]=r,s[1]=n):n=s[1];let y;return s[2]!==r.blockKey||s[3]!==r.branch||s[4]!==r.decofile||s[5]!==r.orgSlug||s[6]!==r.virtualMcpId||s[7]!==u||s[8]!==n?(y=t.jsx(Wt,{listing:r.decofile,orgSlug:r.orgSlug,virtualMcpId:r.virtualMcpId,branch:r.branch,blockKey:r.blockKey,present:u,children:n}),s[2]=r.blockKey,s[3]=r.branch,s[4]=r.decofile,s[5]=r.orgSlug,s[6]=r.virtualMcpId,s[7]=u,s[8]=n,s[9]=y):y=s[9],y}export{vr as CategoryEditor};
@@ -0,0 +1,18 @@
1
+ import{r as Oe,c as R,b as Re,j as l,m as _,B as le,a7 as vt,b6 as xt,bo as De,bB as Se,bA as St,bc as At,bf as Ct,bg as kt,bd as Be,bC as Nt,aI as Tt}from"./index-mb-jxjEy.js";import{_ as Et}from"./agent-icon-zvo6Zsex.js";import{i as jt}from"./Play-BNkIfSsq.js";import{S as Ae}from"./sandbox-start-errors-BK_aDCyt.js";import{G as wt}from"./pair-CI1Rts6X.js";import{C as Pt}from"./section-array-field-4siTAXTX.js";import{s as Ot}from"./session-runtime-D2GKulko.js";import{$ as Rt,q as Dt,a0 as te,X as Bt,z as ye,a1 as Lt,e as It,a2 as Mt,x as $t}from"./blocks-tab-states-D8VyxdkW.js";import"./site-editor-toast-DfzFv4iY.js";const Le=Oe.createContext(!1),Bs=Le.Provider;function Ls(){return Oe.useContext(Le)}const Kt={provision:0,cloning:1,install:2,dev:3};function Ft(t){return Kt[t.step]}const Ce=48,Ie=28,Me=3,Ut=(()=>{const t=[];let e=0;for(let n=0;n<Ce;n++)n===Ie?t.push(null):(t.push(e/(Ce-1)*Me),e++);return t})();function Gt(t){return{provision:t("sandbox.bootingVisual.phaseProvision"),cloning:t("sandbox.bootingVisual.phaseCloning"),install:t("sandbox.bootingVisual.phaseInstall"),dev:t("sandbox.bootingVisual.phaseDev")}}function Vt(t,e,n){return t.step==="provision"&&e!=null&&e.kind!=="ready"&&e.kind!=="failed"?Pt[e.kind].long:n[t.step]}const j="bg-foreground/[0.05]",C="bg-foreground/[0.09]",zt=Array.from({length:35},()=>Math.random()*1.8),Ht=Array.from({length:35},()=>Math.random()<.4);function Yt(t){const e=R.c(31),{progress:n,claimPhase:s}=t,o=Re();let r;e[0]!==n?(r=Ft(n),e[0]=n,e[1]=r):r=e[1];const i=r;let a;e[2]!==s||e[3]!==n||e[4]!==o?(a=Vt(n,s,Gt(o)),e[2]=s,e[3]=n,e[4]=o,e[5]=a):a=e[5];const c=a;let f;e[6]===Symbol.for("react.memo_cache_sentinel")?(f=l.jsx(wt,{}),e[6]=f):f=e[6];const p=`${n.step}-${c}`;let g;e[7]!==c||e[8]!==p?(g=l.jsxs("div",{className:"flex items-center gap-2 rounded-full border border-foreground/10 bg-background px-3.5 py-1.5 shadow-[0_4px_20px_-4px_rgb(0_0_0_/_0.12)]",children:[f,l.jsxs("span",{className:"animate-in fade-in text-sm font-medium text-foreground/85 duration-500",children:[c,"…"]},p)]}),e[7]=c,e[8]=p,e[9]=g):g=e[9];let d;e[10]===Symbol.for("react.memo_cache_sentinel")?(d=l.jsx(Xt,{}),e[10]=d):d=e[10];let m;e[11]!==i?(m=l.jsx(q,{phase:0,current:i,children:d}),e[11]=i,e[12]=m):m=e[12];let y;e[13]===Symbol.for("react.memo_cache_sentinel")?(y=l.jsx(Wt,{}),e[13]=y):y=e[13];let b;e[14]!==i?(b=l.jsx(q,{phase:1,current:i,children:y}),e[14]=i,e[15]=b):b=e[15];let v;e[16]===Symbol.for("react.memo_cache_sentinel")?(v=l.jsx(Qt,{}),e[16]=v):v=e[16];let x;e[17]!==i?(x=l.jsx(q,{phase:2,current:i,children:v}),e[17]=i,e[18]=x):x=e[18];let T;e[19]===Symbol.for("react.memo_cache_sentinel")?(T=l.jsx(Zt,{}),e[19]=T):T=e[19];let S;e[20]!==i?(S=l.jsx(q,{phase:3,current:i,children:T}),e[20]=i,e[21]=S):S=e[21];let A;e[22]!==x||e[23]!==S||e[24]!==m||e[25]!==b?(A=l.jsxs("div",{className:"relative aspect-[4/3] w-[min(78%,560px)]",children:[m,b,x,S]}),e[22]=x,e[23]=S,e[24]=m,e[25]=b,e[26]=A):A=e[26];let L;e[27]===Symbol.for("react.memo_cache_sentinel")?(L=l.jsx("style",{children:`
2
+ @keyframes vm-pulse-soft {
3
+ 0%, 100% { opacity: 0.25; }
4
+ 50% { opacity: 1; }
5
+ }
6
+ @keyframes vm-breathe {
7
+ 0%, 100% { opacity: 0.5; }
8
+ 50% { opacity: 1; }
9
+ }
10
+ @keyframes vm-rack-scan {
11
+ 0%, 100% { opacity: 0; }
12
+ 8% { opacity: 1; }
13
+ 22% { opacity: 0; }
14
+ }
15
+ `}),e[27]=L):L=e[27];let w;return e[28]!==A||e[29]!==g?(w=l.jsxs("div",{className:"relative flex w-full flex-col items-center justify-center gap-12 select-none [clip-path:inset(-24px_0_-200px_0)]",children:[g,A,L]}),e[28]=A,e[29]=g,e[30]=w):w=e[30],w}function q(t){const e=R.c(10),{phase:n,current:s,children:o}=t,r=n-s,i=r<0,a=r===0,c=i?90:r*-22,f=i?.94:1-Math.max(r,0)*.04,p=i?0:a?1:r===1?.8:.55,g=i?10:30-r,d=!a;let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m=_("absolute inset-0 overflow-hidden rounded-xl border border-foreground/10 bg-background shadow-[0_20px_60px_-20px_rgb(0_0_0_/_0.35)] transition-all ease-[cubic-bezier(0.22,1,0.36,1)]"),e[0]=m):m=e[0];const y=`translateY(${c}px) scale(${f})`,b=a?"auto":"none";let v;e[1]!==p||e[2]!==y||e[3]!==b||e[4]!==g?(v={transform:y,opacity:p,zIndex:g,transitionDuration:"1000ms",pointerEvents:b},e[1]=p,e[2]=y,e[3]=b,e[4]=g,e[5]=v):v=e[5];let x;return e[6]!==o||e[7]!==d||e[8]!==v?(x=l.jsx("div",{"aria-hidden":d,className:m,style:v,children:o}),e[6]=o,e[7]=d,e[8]=v,e[9]=x):x=e[9],x}function ne(t){const e=R.c(7),{showUrl:n}=t,s=n===void 0?!1:n;let o,r,i;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=l.jsx("div",{className:_("size-2.5 rounded-full",C)}),r=l.jsx("div",{className:_("size-2.5 rounded-full",C)}),i=l.jsx("div",{className:_("size-2.5 rounded-full",C)}),e[0]=o,e[1]=r,e[2]=i):(o=e[0],r=e[1],i=e[2]);let a;e[3]!==s?(a=s&&l.jsx("div",{className:_("ml-3 h-3.5 max-w-[220px] flex-1 rounded-sm",j)}),e[3]=s,e[4]=a):a=e[4];let c;return e[5]!==a?(c=l.jsxs("div",{className:"flex h-7 shrink-0 items-center gap-1.5 px-3",children:[o,r,i,a]}),e[5]=a,e[6]=c):c=e[6],c}function Xt(){const t=R.c(2);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e=l.jsx(ne,{}),t[0]=e):e=t[0];let n;return t[1]===Symbol.for("react.memo_cache_sentinel")?(n=l.jsxs("div",{className:"flex h-full flex-col",children:[e,l.jsx("div",{className:"flex flex-1 px-8 py-5",children:l.jsx("div",{className:"grid h-full w-full grid-cols-8 grid-rows-6 gap-2",children:Ut.map(qt)})})]}),t[1]=n):n=t[1],n}function qt(t,e){if(e===Ie)return l.jsx("div",{className:"rounded-md bg-chart-1/[0.55]",style:{animation:"vm-breathe 2.4s ease-in-out infinite"}},e);const n=t;return l.jsx("div",{className:_("relative rounded-md",C),children:l.jsx("div",{className:"absolute inset-0 rounded-md bg-chart-1/40 opacity-0",style:{animation:`vm-rack-scan ${Me}s ease-in-out infinite`,animationDelay:`${n}s`}})},e)}function Wt(){const t=R.c(5);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e=l.jsx(ne,{}),t[0]=e):e=t[0];let n;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=l.jsx("div",{className:_("w-[18%] rounded-md",j),style:{animation:"vm-breathe 3s ease-in-out infinite"}}),t[1]=n):n=t[1];let s;t[2]===Symbol.for("react.memo_cache_sentinel")?(s=l.jsx("div",{className:"h-[42%] shrink-0 rounded-md bg-chart-3/[0.12]",style:{animation:"vm-breathe 3s ease-in-out 0.4s infinite"}}),t[2]=s):s=t[2];let o;t[3]===Symbol.for("react.memo_cache_sentinel")?(o=l.jsx("div",{className:"col-span-3 rounded-md bg-chart-3/[0.12]",style:{animation:"vm-breathe 3s ease-in-out 0.8s infinite"}}),t[3]=o):o=t[3];let r;return t[4]===Symbol.for("react.memo_cache_sentinel")?(r=l.jsxs("div",{className:"flex h-full flex-col",children:[e,l.jsxs("div",{className:"flex min-h-0 flex-1 gap-1.5 p-3",children:[n,l.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-1.5",children:[s,l.jsxs("div",{className:"grid min-h-0 flex-1 grid-cols-5 gap-1.5",children:[o,l.jsxs("div",{className:"col-span-2 grid grid-rows-2 gap-1.5",children:[l.jsx("div",{className:_("rounded-md",j),style:{animation:"vm-breathe 3s ease-in-out 1.2s infinite"}}),l.jsx("div",{className:_("rounded-md",j),style:{animation:"vm-breathe 3s ease-in-out 1.6s infinite"}})]})]})]})]})]}),t[4]=r):r=t[4],r}function Qt(){const t=R.c(2);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e=l.jsx(ne,{}),t[0]=e):e=t[0];let n;return t[1]===Symbol.for("react.memo_cache_sentinel")?(n=l.jsxs("div",{className:"flex h-full flex-col",children:[e,l.jsx("div",{className:"relative flex flex-1 items-center justify-center px-8 py-5",children:l.jsx("div",{className:"grid w-full gap-2",style:{gridTemplateColumns:"repeat(7, minmax(0, 1fr))"},children:zt.map(Jt)})})]}),t[1]=n):n=t[1],n}function Jt(t,e){return l.jsx("div",{className:_("aspect-square rounded-md",Ht[e]?"bg-chart-2/70":C),style:{animation:`vm-pulse-soft 2.2s ease-in-out ${t}s infinite`}},e)}function Zt(){const t=R.c(11);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e=l.jsx(ne,{showUrl:!0}),t[0]=e):e=t[0];let n,s,o,r,i;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=l.jsx("div",{className:"mb-2 h-5 rounded-md bg-chart-1/[0.10]"}),s=l.jsx("div",{className:_("h-1.5 w-[70%] rounded-sm",C)}),o=l.jsx("div",{className:_("h-1.5 w-[55%] rounded-sm",C)}),r=l.jsx("div",{className:_("h-1.5 w-[80%] rounded-sm",C)}),i=l.jsx("div",{className:_("h-1.5 w-[50%] rounded-sm",C)}),t[1]=n,t[2]=s,t[3]=o,t[4]=r,t[5]=i):(n=t[1],s=t[2],o=t[3],r=t[4],i=t[5]);let a;t[6]===Symbol.for("react.memo_cache_sentinel")?(a=l.jsxs("div",{className:"flex w-[18%] shrink-0 flex-col gap-1.5 bg-chart-1/[0.05] p-2.5",children:[n,s,o,r,i,l.jsx("div",{className:"mt-auto",children:l.jsx("div",{className:_("h-4 rounded-md",C)})})]}),t[6]=a):a=t[6];let c;t[7]===Symbol.for("react.memo_cache_sentinel")?(c=l.jsx("div",{className:"relative h-[42%] shrink-0 overflow-hidden bg-chart-1/[0.10]",children:l.jsxs("div",{className:"absolute right-3 bottom-3 left-3 space-y-1.5",children:[l.jsx("div",{className:"h-3 w-[35%] rounded-sm bg-chart-1/[0.15]"}),l.jsx("div",{className:_("h-1.5 w-[55%] rounded-sm",j)})]})}),t[7]=c):c=t[7];let f;t[8]===Symbol.for("react.memo_cache_sentinel")?(f=l.jsxs("div",{className:"flex shrink-0 gap-1.5",children:[l.jsx("div",{className:"h-4 w-12 rounded-full bg-chart-1/[0.12]"}),l.jsx("div",{className:_("h-4 w-10 rounded-full",j)}),l.jsx("div",{className:_("h-4 w-14 rounded-full",j)})]}),t[8]=f):f=t[8];let p;t[9]===Symbol.for("react.memo_cache_sentinel")?(p=l.jsxs("div",{className:_("col-span-3 flex flex-col justify-end gap-1 rounded-md p-2",j),children:[l.jsx("div",{className:_("h-1.5 w-[50%] rounded-sm",C)}),l.jsx("div",{className:_("h-1 w-[75%] rounded-sm",C)})]}),t[9]=p):p=t[9];let g;return t[10]===Symbol.for("react.memo_cache_sentinel")?(g=l.jsxs("div",{className:"flex h-full flex-col",children:[e,l.jsxs("div",{className:"flex min-h-0 flex-1",children:[a,l.jsxs("div",{className:"flex min-w-0 flex-1 flex-col",children:[c,l.jsxs("div",{className:"flex min-h-0 flex-1 flex-col gap-2.5 p-3",children:[f,l.jsxs("div",{className:"grid min-h-0 flex-1 grid-cols-5 gap-2",children:[p,l.jsxs("div",{className:"col-span-2 grid grid-rows-2 gap-2",children:[l.jsx("div",{className:_("rounded-md",j)}),l.jsx("div",{className:_("rounded-md",j)})]})]})]})]})]})]}),t[10]=g):g=t[10],g}function Is(t){const e=R.c(52),n=Re();if(t.kind==="starting"){let m;return e[0]!==t.claimPhase||e[1]!==t.progress?(m=l.jsx("div",{className:"flex h-full w-full items-center justify-center bg-background p-6",children:l.jsx(Yt,{progress:t.progress,claimPhase:t.claimPhase})}),e[0]=t.claimPhase,e[1]=t.progress,e[2]=m):m=e[2],m}if(t.kind==="errored"){const m=t.error.code===Ae.githubNotAuthenticated,y=t.error.code===Ae.githubConnectionMissing;let b;e[3]===Symbol.for("react.memo_cache_sentinel")?(b=l.jsx(vt,{className:"size-12 text-destructive"}),e[3]=b):b=e[3];let v;e[4]!==n?(v=n("sandbox.stateCard.erroredHeadline"),e[4]=n,e[5]=v):v=e[5];let x;e[6]!==v?(x=l.jsx("h3",{className:"text-lg font-medium",children:v}),e[6]=v,e[7]=x):x=e[7];let T;e[8]!==y||e[9]!==m||e[10]!==t.error.message||e[11]!==n?(T=y?n("sandbox.stateCard.githubConnectionMissingMessage"):m?n("sandbox.stateCard.githubNotAuthenticatedMessage"):t.error.message,e[8]=y,e[9]=m,e[10]=t.error.message,e[11]=n,e[12]=T):T=e[12];let S;e[13]!==T?(S=l.jsx("p",{className:"max-w-sm text-sm text-muted-foreground",children:T}),e[13]=T,e[14]=S):S=e[14];let A;e[15]!==y||e[16]!==m||e[17]!==t.connectionsHref||e[18]!==n?(A=(m||y)&&t.connectionsHref&&l.jsx(le,{asChild:!0,children:l.jsx("a",{href:t.connectionsHref,children:n(y?"sandbox.stateCard.linkRepoAgain":"sandbox.stateCard.reconnectGithub")})}),e[15]=y,e[16]=m,e[17]=t.connectionsHref,e[18]=n,e[19]=A):A=e[19];const L=t.onRetry;let w;e[20]===Symbol.for("react.memo_cache_sentinel")?(w=l.jsx(xt,{className:"size-4"}),e[20]=w):w=e[20];let I;e[21]!==n?(I=n("sandbox.stateCard.retry"),e[21]=n,e[22]=I):I=e[22];let M;e[23]!==t.onRetry||e[24]!==I?(M=l.jsxs(le,{variant:"outline",onClick:L,children:[w," ",I]}),e[23]=t.onRetry,e[24]=I,e[25]=M):M=e[25];let $;e[26]!==A||e[27]!==M?($=l.jsxs("div",{className:"mt-2 flex items-center gap-2",children:[A,M]}),e[26]=A,e[27]=M,e[28]=$):$=e[28];let X;return e[29]!==$||e[30]!==x||e[31]!==S?(X=l.jsx("div",{className:"flex h-full w-full items-center justify-center bg-background p-6",children:l.jsxs("div",{className:"flex w-full max-w-md flex-col items-center gap-4 text-center",children:[b,x,S,$]})}),e[29]=$,e[30]=x,e[31]=S,e[32]=X):X=e[32],X}let s;e[33]===Symbol.for("react.memo_cache_sentinel")?(s=l.jsx(Et,{className:"size-12 text-muted-foreground"}),e[33]=s):s=e[33];let o;e[34]!==n?(o=n("sandbox.stateCard.suspendedHeadline"),e[34]=n,e[35]=o):o=e[35];let r;e[36]!==o?(r=l.jsx("h3",{className:"text-lg font-medium",children:o}),e[36]=o,e[37]=r):r=e[37];let i;e[38]!==n?(i=n("sandbox.stateCard.resumeToContinue"),e[38]=n,e[39]=i):i=e[39];let a;e[40]!==i?(a=l.jsx("p",{className:"max-w-sm text-sm text-muted-foreground",children:i}),e[40]=i,e[41]=a):a=e[41];const c=t.onResume;let f;e[42]===Symbol.for("react.memo_cache_sentinel")?(f=l.jsx(jt,{className:"size-4"}),e[42]=f):f=e[42];let p;e[43]!==n?(p=n("sandbox.stateCard.resume"),e[43]=n,e[44]=p):p=e[44];let g;e[45]!==t.onResume||e[46]!==p?(g=l.jsxs(le,{onClick:c,className:"mt-2",children:[f," ",p]}),e[45]=t.onResume,e[46]=p,e[47]=g):g=e[47];let d;return e[48]!==r||e[49]!==a||e[50]!==g?(d=l.jsx("div",{className:"flex h-full w-full items-center justify-center bg-background p-6",children:l.jsxs("div",{className:"flex w-full max-w-md flex-col items-center gap-4 text-center",children:[s,r,a,g]})}),e[48]=r,e[49]=a,e[50]=g,e[51]=d):d=e[51],d}function Ms(t){switch(t.lifecycle.phase){case"cloning":case"checking-out":return{step:"cloning",status:"doing"};case"clone-failed":return{step:"cloning",status:"failed"};case"installing":return{step:"install",status:"doing"};case"install-failed":return{step:"install",status:"failed"};case"starting":return{step:"dev",status:"doing"};case"running":return{step:"dev",status:"done"};case"start-failed":return{step:"dev",status:"failed"};case"crashed":return{step:"dev",status:"failed"};case"idle":return t.claimPhase&&t.claimPhase.kind!=="ready"&&t.claimPhase.kind!=="failed"?{step:"provision",status:"doing"}:{step:"cloning",status:"doing"}}}const en="website/sections/Rendering/Lazy.tsx";function J(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function be(t){if(!J(t))return!1;const e=t.__resolveType;return typeof e=="string"&&De(e)}function $e(t){return t!=null}function G(t){if(t==null)return t;if(be(t)){const e=t.section;return e==null?null:J(e)?e:{}}return J(t)?t:void 0}function tn(t,e){return t===null?null:be(e)?{...e,section:t}:t}function $s(t){return{__resolveType:t}}function Ks(t,e){if(!$e(e))return null;if(t){const n=G(e)??{};return{__resolveType:en,section:n}}return be(e)?G(e)??null:J(e)?e:null}const B="website/sections/Seo/SeoV2.tsx",nn=["title","titleTemplate","description","descriptionTemplate","image","favicon","type","noIndexing"];function K(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function sn(t,e){return typeof t.__resolveType=="string"&&V(t.__resolveType,e)?!0:nn.some(n=>n in t)}function Fs(t,e){return Object.entries(t).filter(([n,s])=>{if(!K(s))return!1;const o=s.__resolveType;return Dt(n,s)||typeof o=="string"&&V(o,e)}).map(([n])=>n)}function Ke(t,e){for(const[n,s]of Object.entries(t)){if(!K(s)||Se(s))continue;const o=s,r=o.__resolveType;if(typeof r=="string"&&Rt(r,e))continue;const i=o.seo;if(K(i)){const a=i;if(sn(a,e))return{blockKey:n,kind:"nested",seoData:a,blockData:o,seoResolveType:e?un(e,o,a):typeof a.__resolveType=="string"&&V(a.__resolveType)?a.__resolveType:B}}}for(const[n,s]of Object.entries(t)){if(!K(s)||Se(s))continue;const o=s;if(typeof o.__resolveType=="string"&&V(o.__resolveType,e))return{blockKey:n,kind:"block",seoData:o,blockData:o,seoResolveType:o.__resolveType}}return null}function on(t,e){return t.kind==="block"?e:{...t.blockData,seo:e}}function Us(t,e,n){if(e.kind==="site"){const c=Ke(t,n);return c?{blockKey:c.blockKey,seoData:c.seoData,seoResolveType:c.seoResolveType,siteKind:c.kind,seoTypeOptions:n?Ve(n,c.blockData):void 0,build:f=>on(c,f)}:null}const s=t[e.pageKey];if(!K(s))return null;const o=s,r=o.seo,i=G(r),a=i&&K(i)?i:void 0;return{blockKey:e.pageKey,seoData:a,rawSeoData:r,seoResolveType:n?ln(n,a):typeof a?.__resolveType=="string"?a.__resolveType:B,seoTypeOptions:n?se(n):void 0,build:c=>({...o,seo:c===null?null:tn(c,r)})}}const rn="General";function _e(t){return/\/Seo(V\d+)?\.tsx$/i.test(t)||t.includes("/sections/Seo")}function V(t,e){return _e(t)?!0:!e||!te(e)?!1:se(e).some(n=>n.resolveType===t)}function Gs(t,e,n){const s=new Set;let o=t;for(let r=0;r<32;r++){if(s.has(o))return null;if(s.add(o),!Object.hasOwn(e,o))return ye(o,n)?o:null;const i=e[o];if(!i||typeof i!="object"||Array.isArray(i))return null;const a=i.__resolveType;if(typeof a!="string"||!a)return null;o=a}return null}function Fe(t,e){return t===B?rn:e}function Ue(t,e){const n=Lt(t),s=te(e),o=new Set,r=[];for(const i of n){if(s){if(De(i.resolveType))continue}else if(!_e(i.resolveType))continue;St(i.resolveType,e)||o.has(i.resolveType)||(o.add(i.resolveType),r.push({resolveType:i.resolveType,title:Fe(i.resolveType,i.title),description:i.description}))}return r}function se(t){const e=Bt(t),n=ye(e,t),s=Ue(n?.properties?.seo,t);return s.length>0?s:te(t)?[]:an(t)}function an(t){const e=t.manifest?.blocks??{},n=[];for(const[s,o]of Object.entries(e))if(s.includes("sections"))for(const r of Object.keys(o)){if(!_e(r))continue;const i=r.split("/").pop()?.replace(/\.tsx?$/,"")??r;n.push({resolveType:r,title:Fe(r,i)})}return n}function Ge(t){const e=se(t),n=e.find(o=>o.resolveType===B);if(n)return n.resolveType;const s=te(t)?"":B;return e[0]?.resolveType??s}function Ve(t,e){const n=e.__resolveType;if(typeof n=="string"){const s=ye(n,t),o=Ue(s?.properties?.seo,t);if(o.length>0)return o}return se(t)}function cn(t,e){const n=Ve(t,e),s=n.find(o=>o.resolveType===B);return s?s.resolveType:n[0]?.resolveType??Ge(t)}function ln(t,e){const n=e?.__resolveType;return typeof n=="string"&&n.length>0?n:Ge(t)}function un(t,e,n){const s=n.__resolveType;return typeof s=="string"&&V(s,t)?s:cn(t,e)}const fn=["draft","active","paused","finished"],dn=["launch","seasonal","trend","seo_gap","inventory","partnership","reputation"],pn=["awareness","education","conversion","retention","repositioning"],mn=["category","collection"],gn=3,Vs=12,hn=60,yn=25,bn=8e3,_n=2e3,vn="vtex/loaders/intelligentSearch/productList.ts";function P(t){return t&&typeof t=="object"&&!Array.isArray(t)?t:null}function ue(t){return typeof t=="string"||typeof t=="number"?String(t):""}function fe(t){const e=P(t);return!!e&&typeof e.__resolveType=="string"&&"productId"in e}function zs(t){if(typeof t=="string")return t?[t]:[];if(Array.isArray(t))return t.every(s=>typeof s=="string")?t:t.map(s=>ue(P(s)?.productId));const e=P(t),n=P(e?.props);return n&&Array.isArray(n.ids)?n.ids.map(ue):e&&"productId"in e?[ue(e.productId)]:[]}function xn(t){const e=P(t)??{};return typeof e.__resolveType=="string"?e.__resolveType:vn}function Sn(t,e){if(typeof t=="string")return e[0]??"";if(Array.isArray(t)){if(t.length>0&&t.every(i=>typeof i=="string"))return e;const r=t.find(fe);if(r)return e.map((i,a)=>{const c=P(t[a]);return{...fe(c)?c:{__resolveType:r.__resolveType},productId:i}})}const n=P(t);if(fe(n)&&!P(n.props)?.ids)return{...n,productId:e[0]??""};const s=P(n?.props)??{},o=xn(t);return{...n??{},__resolveType:o,props:{...s,ids:e,simulationBehavior:s.simulationBehavior??"default"}}}const ve=["type","title","description","canonical","noIndexing","favicon","image","themeColor"],ze=["jsonLD","omitVariants","title","description","noIndexing","ignoreStructuredData"],He=["jsonLD","title","description","noIndexing","configJsonLD"];function An(t){return t===B||/\/Seo\/SeoV2\.tsx$/i.test(t)?"general":/\/Seo\/SeoPDP/i.test(t)?"pdp":/\/Seo\/SeoPLP/i.test(t)?"plp":null}function Cn(t){const e=t.toLowerCase();return/pdp|product/.test(e)?"pdp":/plp|listing|categor|search/.test(e)?"plp":null}function de(t,e){const n=Object.keys(t.properties??{}).filter(s=>s!=="__resolveType");return n.length>0&&n.every(s=>e.includes(s))}function Ye(t,e,n=!1){const s=An(t);if(s)return s;if(!n||t.includes("/"))return"full";const o=Cn(t);return e?o==="pdp"&&de(e,ze)?"pdp":o==="plp"&&de(e,He)?"plp":de(e,ve)?"general":"full":o??"full"}function kn(t){switch(t){case"general":return ve;case"pdp":return ze;case"plp":return He;default:return null}}function Hs(t,e,n=!1){const s=kn(Ye(e,t,n));if(!s||!t.properties)return t;const o={};for(const r of s){const i=t.properties[r];i&&(o[r]=i)}return{...t,properties:o}}function Ys(){return ve.filter(t=>t!=="type")}const Nn=["title","titleTemplate","description","descriptionTemplate"];function Xe(t){return typeof t=="string"?t.trim():""}function ke(t){if(!$e(t))return"";const e=G(t);if(!e)return"";const n=[];for(const s of Nn){const o=Xe(e[s]);o&&n.push(`${s}: ${o}`)}return n.join(`
16
+ `).slice(0,_n)}function qe(t,e){const n=t[e.key],s=n&&typeof n=="object"?G(n.seo):null,o=Xe(s?.__resolveType);if(o){const r=Ye(o);if(r==="pdp"||r==="plp")return"commerce"}return It(e.path).length>0?"commerce":e.path==="/"?"home":"institutional"}function Tn(t,e){const n=[],s=new Set;let o=bn;const r=(f,p)=>{!p||s.has(p)||n.length>=yn||p.length>o||(s.add(p),n.push({key:f,content:p}),o-=p.length)},i=Ke(t);i&&r("site",ke(i.seoData));const a={home:[],institutional:[],commerce:[]};for(const f of e)a[qe(t,f)].push(f);const c=[...a.home,...a.institutional,...a.commerce.slice(0,2)];for(const f of c){const p=t[f.key];!p||typeof p!="object"||r(f.path,ke(p.seo))}return n}const pe={post:"blog/loaders/Blogpost.ts",author:"blog/loaders/Author.ts",category:"blog/loaders/Category.ts"},We=["posts","authors","categories"],Xs={posts:"post",authors:"author",categories:"category"};function qs(t){return We.includes(t)}const oe={posts:"post",authors:"author",categories:"category"},Qe={posts:pe.post,authors:pe.author,categories:pe.category},En=Object.fromEntries(Object.entries(Qe).map(([t,e])=>[e,t]));function Je(t){return typeof t=="string"?En[t]??null:null}function Ws(t){return Je(t)!==null}function h(t){return t&&typeof t=="object"&&!Array.isArray(t)?t:null}function u(t){return typeof t=="string"?t:""}function jn(t,e){switch(t){case"posts":return{label:u(e.title)||"Untitled post",subtitle:u(e.slug),missing:re(e)};case"authors":return{label:u(e.name)||"Unnamed author",subtitle:u(e.email),missing:[]};case"categories":return{label:u(e.name)||"Unnamed category",subtitle:u(e.slug),slug:u(e.slug),parentSlug:u(e.parentSlug),missing:Mn(e)};default:{const n=t;throw new Error(`Unhandled blog kind: ${String(n)}`)}}}function wn(t){const e={posts:[],authors:[],categories:[]},n=[];for(const[s,o]of Object.entries(t)){const r=h(o);if(!r)continue;const i=Je(r.__resolveType);if(!i)continue;const a=h(r[oe[i]])??{},c={key:s,kind:i,...jn(i,a)};e[i].push(c),n.push({entry:c,key:ee(u(a[i==="posts"?"title":"name"]))})}Pn(n);for(const s of We)e[s].sort((o,r)=>o.label.localeCompare(r.label));return e}function Pn(t){const e=new Map;for(const{entry:n,key:s}of t){if(!s)continue;const o=`${n.kind}:${s}`;e.set(o,(e.get(o)??0)+1)}for(const{entry:n,key:s}of t)s&&(e.get(`${n.kind}:${s}`)??0)>1&&(n.duplicateName=!0)}function On(t,e){return wn(t)[e]}function D(t,e){return On(t,e).map(n=>({key:n.key,payload:Ze(h(t[n.key])??void 0,e)}))}const me=Object.freeze({});function Ze(t,e){return t?h(t[oe[e]])??me:me}function et(t,e,n){return{name:t,__resolveType:Qe[e],[oe[e]]:n}}function Qs({records:t,selected:e,valueField:n,toRef:s}){const o=Array.isArray(e)?e:[],r=d=>typeof d=="string"?d:u(h(d)?.[n]),i=d=>typeof d=="string"?d:u(h(d)?.name),a=d=>{const m=r(d),y=m?t.find(({payload:v})=>u(v[n])===m):void 0;if(y)return y;const b=i(d);return b?t.find(({payload:v})=>u(v.name)===b):void 0},c=t.map(({key:d,payload:m})=>({value:d,label:u(m.name)||u(m[n])||d})),f=new Map,p=[];return o.forEach((d,m)=>{const y=a(d);if(y){p.includes(y.key)||p.push(y.key);return}const b=`unresolved:${m}`;f.set(b,d),p.push(b),c.push({value:b,label:i(d)||r(d)||"Unknown"})}),{options:c,selectedValues:p,refsForValues:d=>d.map(m=>{const y=t.find(b=>b.key===m);return y?s(y.payload):f.get(m)}).filter(m=>m!==void 0)}}function Js(t){return D(t,"authors").map(({payload:e})=>({...e,name:u(e.name),email:u(e.email)})).filter(e=>e.email)}function N(t){return Array.isArray(t)?t:[]}function O(t){if(typeof t=="string")return t;const e=h(t);return e?u(e.slug):""}function tt(t){if(typeof t=="string")return t;const e=h(t);return e?u(e.email):""}const Rn={title:"sandbox.blogField.title",slug:"sandbox.blogField.slug",category:"sandbox.blogField.category",excerpt:"sandbox.blogField.excerpt",image:"sandbox.blogField.image",name:"sandbox.blogField.name"};function Zs(t,e){return t.map(n=>e(Rn[n])).join(", ")}function re(t){const e=[];return u(t.title).trim()||e.push("title"),u(t.slug).trim()||e.push("slug"),N(t.categories).map(O).filter(Boolean).length===0&&e.push("category"),u(t.excerpt).trim()||e.push("excerpt"),u(t.image).trim()||e.push("image"),e}const eo=["draft","generating","awaiting_review","scheduled","published","archived"],Dn=8;function Y(t){switch(u(t.status)){case"draft":case"idea":return"draft";case"generating":return"generating";case"awaiting_review":case"in_review":return"awaiting_review";case"scheduled":return"scheduled";case"published":return"published";case"archived":return"archived";case"":return"published";default:return"awaiting_review"}}function to(t){return Y(t)==="archived"}function no(t,e){return e!=="published"&&e!=="scheduled"||Y(t)===e?!1:re(t).length>0}function Bn(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+1,Dn).toISOString()}function nt(t,e,n){if(e!=="scheduled")return{...t,status:e,scheduledDatetime:""};const s=u(t.scheduledDatetime);return{...t,status:"scheduled",scheduledDatetime:Number.isNaN(new Date(s).getTime())?Bn(n):s}}function Ln(t,e=gt(t)){return D(t,"posts").map(({key:n,payload:s})=>({key:n,duplicateTitle:e.has(n),title:u(s.title)||"Untitled post",slug:u(s.slug),date:u(s.date),scheduledDatetime:u(s.scheduledDatetime),categorySlugs:N(s.categories).map(O).filter(Boolean),authorEmails:N(s.authors).map(tt).filter(Boolean),missing:re(s),status:Y(s),form:"live"}))}function so(){return F(12)}function oo(t){const e=h(t.planning)??{},n=h(e.format);return{campaignKey:u(e.campaignKey)||void 0,format:n?{name:u(n.name),value:u(n.value)}:void 0,brief:u(e.brief)||void 0}}function st(t=!1){return t?{content:""}:{sections:[]}}function ro(t){return{title:t.title,slug:"",excerpt:"",date:t.now.toISOString().slice(0,10),image:"",alt:"",authors:[],categories:[],...st(t.legacyContent),status:"draft",planning:t.planning??{}}}function ot(t,e){return{name:t,[oe.posts]:e}}function io(t,e){return Be(t)?ot(t,e):et(t,"posts",e)}function rt(t){const e=[];for(const[n,s]of Object.entries(t)){if(!Be(n))continue;const o=h(s);o&&e.push({key:n,payload:Ze(o,"posts")})}return e}function In(t){return[...rt(t),...D(t,"posts")]}function ao(t){const e=gt(t);return[...rt(t).map(({key:s,payload:o})=>({key:s,duplicateTitle:e.has(s),title:u(o.title)||"Untitled post",slug:u(o.slug),date:u(o.date),scheduledDatetime:u(o.scheduledDatetime),categorySlugs:N(o.categories).map(O).filter(Boolean),authorEmails:N(o.authors).map(tt).filter(Boolean),missing:re(o),status:Y(o),form:"planning"})),...Ln(t,e)]}function co(t,e,n){const s=nt(t.payload,e,n),o=At(t.key),r=e==="scheduled"||e==="published"?"live":"planning",i=r==="live"?Ct(o):kt(o),a=r==="live"?et(i,"posts",s):ot(i,s);return{writes:{[i]:a},deletes:i===t.key?[]:[t.key]}}function lo(t,e,n){const s=N(t.categories);if(!s.some(c=>O(c)===e))return t;let o=!1;const r=s.map(c=>{const f=O(c);if(f!==e&&f!==n.slug)return c;const p=h(c);return p&&u(p.slug)===n.slug&&u(p.name)===n.name?c:(o=!0,{name:n.name,slug:n.slug})});if(!o){const c=s.map(O).filter(Boolean);if(new Set(c).size===c.length)return t}const i=new Set,a=r.filter(c=>{const f=O(c);return f?i.has(f)?!1:(i.add(f),!0):!0});return{...t,categories:a}}function Mn(t){const e=[];return u(t.name).trim()||e.push("name"),u(t.slug).trim()||e.push("slug"),e}function uo(t,e){const n=N(t.categories);return n.some(s=>O(s)===e)?{...t,categories:n.filter(s=>O(s)!==e)}:t}function fo(t,e,n){return u(t.parentSlug)!==e?t:{...t,parentSlug:n}}function po(t){const e=u(t.status),n=e==="idea"||e==="in_review"?{status:Y(t)}:{};return{...t,...n,dateModified:new Date().toISOString()}}function F(t){const e=new Uint8Array(Math.ceil(t/2));return crypto.getRandomValues(e),Array.from(e,n=>n.toString(16).padStart(2,"0")).join("").slice(0,t)}function mo(t,e){const n=`collections/blog/${e}/${F(12)}`;if(!Object.hasOwn(t,n))return n;throw new Error("Could not generate a unique blog block key")}function go(t,{legacyContent:e=!1}={}){switch(t){case"posts":return{title:"Untitled post",excerpt:"",slug:`untitled-${F(8)}`,date:new Date().toISOString().slice(0,10),image:"",alt:"",authors:[],categories:[],...st(e)};case"authors":return{name:"New author",type:"Person",email:"",jobTitle:"",company:"",url:"",avatar:""};case"categories":return{name:"New category",slug:`category-${F(8)}`,description:"",sections:[]};default:{const n=t;throw new Error(`Unhandled blog kind: ${String(n)}`)}}}const $n={Paragraph:{title:"Paragraph",description:"Rich text content",iconName:"Pilcrow01"},Heading:{title:"Heading",description:"Section title (H1–H6)",iconName:"HeadingSquare"},Quote:{title:"Quote",description:"Pull quote",iconName:"MessageTextSquare02"},Code:{title:"Code",description:"Code block with syntax highlighting",iconName:"Code02"},List:{title:"List",description:"Bulleted or numbered list",iconName:"List"},BlockImage:{title:"Image",description:"Image with optional caption",iconName:"Image01"},Video:{title:"Video",description:"Embedded video",iconName:"PlayCircle"},Divider:{title:"Divider",description:"Horizontal divider",iconName:"Divider"},Cta:{title:"Call to action",description:"Button linking to a URL",iconName:"CursorClick01"},Callout:{title:"Callout",description:"Highlighted note, tip or warning",iconName:"Lightbulb02"},Stat:{title:"Stat",description:"Single key metric",iconName:"BarChartSquareUp"},StatGroup:{title:"Stat group",description:"Row of metrics",iconName:"BarChartSquare02"},CardGroup:{title:"Card group",description:"Grid of cards",iconName:"LayoutGrid01"},Checklist:{title:"Checklist",description:"List of check items",iconName:"CheckSquare"},Steps:{title:"Steps",description:"Step-by-step guide",iconName:"LayersThree01"},Comparison:{title:"Comparison",description:"Side-by-side comparison",iconName:"Columns03"},Table:{title:"Table",description:"Rows and columns of structured data",iconName:"Table"},ProductCard:{title:"Product card",description:"Single product",iconName:"Tag01"},ProductShelf:{title:"Product shelf",description:"Row of products",iconName:"ShoppingBag01"}},Ne="Box";function it(t){return t.startsWith("blog/")?"app":"site"}function Kn(t){return t.startsWith("http://")||t.startsWith("https://")||t.startsWith("data:")||t.startsWith("/")}function U(...t){for(const e of t)if(e!==void 0)return e}function Te(t){if(t&&!(t.includes("/")||/\.(tsx?|jsx?)$/.test(t)))return t}function Fn(t){const e=t.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[-_]+/g," ").trim();return e?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():t}function Un(t,e){const n=$t(t,e),s=ie(t),o=$n[s],r=it(t),i=Te(n.title),a=Te(n.description),c=(r==="site"?U(i,o?.title):U(o?.title,i))??Fn(s),f=r==="site"?U(a,o?.description):U(o?.description,a),p=r==="site"?n.icon:void 0,g=p&&Kn(p)?p:void 0,d=g!==void 0?o?.iconName??Ne:U(p,o?.iconName)??Ne;return{resolveType:t,title:c,description:f,iconName:d,iconUrl:g,source:r}}function at(t,{hideDefaults:e=!1,customPaths:n=[]}={}){const s=new Set,o=[],r=t.manifest?.blocks??{};for(const[i,a]of Object.entries(r))for(const c of Object.keys(a))s.has(c)||!(i==="sections"&&ct(c,n)&&!Mt(c,t))&&!Vn(c)||e&&it(c)==="app"||(s.add(c),o.push(Un(c,t)));return o.sort((i,a)=>i.title.localeCompare(a.title))}function ie(t){return(t.split("/").pop()??t).replace(/\.(tsx?|jsx?)$/,"")}const Gn=["blog/sections/blocks/","site/sections/Blog/Post/"];function Vn(t,e=[]){return Gn.some(n=>t.startsWith(n))||ct(t,e)}function ct(t,e){if(e.length===0)return!1;const n=t.toLowerCase();return e.some(s=>n===s||n.startsWith(`${s}/`))}const zn=/\/blog\.tsx?$/;function Hn(t){const e=[];for(const[n,s]of Object.entries(t)){if(n.includes("/")||!s||typeof s!="object"||Array.isArray(s))continue;const o=s;typeof o.__resolveType=="string"&&zn.test(o.__resolveType)&&e.push(o)}return e}const Yn=Nt(Tt());function ho(t){const e=new Set;for(const n of Hn(t)){const s=Yn.safeParse(n.customSectionPaths);if(s.success)for(const o of s.data){const r=o.trim().replace(/^\/+|\/+$/g,"").toLowerCase();r&&e.add(r)}}return[...e]}const Xn="blog-manager-brand",qn="blog-manager-context",lt=["companyName","description","language","storeUrl","targetAudience","values","competitors","keywords","commercialPolicies","specialDates"],ut=["tone","dos","avoid","categories","vocabulary","voiceExamples"];function yo(t){return h(t)??me}function Z(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function bo(t,e,n){const s=Z(t,lt);if(h(n))return s;const o=h(e)??{};return{...Z(o,ut),...s}}function Wn(t,e){const n=h(t)??{},s=h(e),o=Z(n,lt),r=s??Z(n,ut);return{brand:o,context:r,merged:{...o,...r}}}function _o(t){return Wn(t[Xn],t[qn])}function vo(t){return{companyName:u(t.companyName),description:u(t.description),language:u(t.language),storeUrl:Ot(u(t.storeUrl))??"",tone:u(t.tone),targetAudience:u(t.targetAudience),values:E(k(t.values)),competitors:E(k(t.competitors)),specialDates:E(k(t.specialDates)),dos:E(k(t.dos)),avoid:E(k(t.avoid)),keywords:H(z(t.keywords)),commercialPolicies:E(k(t.commercialPolicies)),vocabulary:E(k(t.vocabulary)),voiceExamples:he(ge(t.voiceExamples))}}function ge(t){if(!Array.isArray(t))return[];const e=[];for(const n of t){if(typeof n=="string"){n.trim()&&e.push({text:n,sounds:!0});continue}const s=h(n);if(!s)continue;const o=u(s.text)||u(s.value);e.push({text:o,sounds:s.sounds!==!1})}return e}function he(t){return t.filter(e=>e.text.trim())}function xo(t,e,n){const s=[];for(const o of n.textFields){const r=u(e[o]).trim();r&&(n.mode==="empty"&&u(t[o]).trim()||(t[o]=r,s.push(o)))}for(const o of n.ruleFields){const r=E(k(e[o]));r.length!==0&&(n.mode==="empty"&&E(k(t[o])).length>0||(t[o]=r,s.push(o)))}for(const o of n.termFields??[]){const r=H(z(e[o]));r.length!==0&&(n.mode==="empty"&&H(z(t[o])).length>0||(t[o]=r,s.push(o)))}for(const o of n.exampleFields??[]){const r=he(ge(e[o]));r.length!==0&&(n.mode==="empty"&&he(ge(t[o])).length>0||(t[o]=r,s.push(o)))}return s}function z(t){if(!Array.isArray(t))return[];const e=[];for(const n of t){if(typeof n=="string"){e.push(n);continue}const s=h(n);s&&e.push(u(s.name)||u(s.value))}return e}function H(t){return t.filter(e=>e.trim())}function k(t){if(!Array.isArray(t))return[];const e=[];for(const n of t){if(typeof n=="string"){n.trim()&&e.push({name:n,value:""});continue}const s=h(n);s&&e.push({name:u(s.name),value:u(s.value)})}return e}function E(t){return t.filter(e=>e.name.trim()||e.value.trim())}const Qn=6e4,Jn=4e3;function Zn(t){const e=[],n=new Set,s=(o,r)=>{if(typeof o=="string"){if(!o.includes(" ")||o.length<4||/^(https?:)?\/\//.test(o)||/^data:/.test(o))return;const i=`${r}: ${o.trim()}`;if(n.has(i))return;n.add(i),e.push(i);return}if(Array.isArray(o)){for(const i of o)s(i,r);return}if(o&&typeof o=="object")for(const[i,a]of Object.entries(o))i!=="__resolveType"&&s(a,i)};return s(t,"block"),e.join(`
17
+ `)}function So(t,e){const n=new Map,s=d=>{const m=n.get(d);if(m!==void 0)return m;const y=Zn(t[d]).slice(0,Jn);return n.set(d,y),y},o=(d,m)=>s(m).length-s(d).length,r=Tn(t,e),i=r.reduce((d,m)=>d+m.content.length,0),a={home:[],institutional:[],commerce:[]};for(const d of e)a[qe(t,d)].push(d.key);const c=[...D(t,"posts").map(d=>d.key).sort(o),...D(t,"categories").map(d=>d.key),...a.home,...a.institutional.sort(o),...a.commerce.sort(o)],f=[],p=new Set;let g=Math.max(0,Qn-i);for(const d of c){if(f.length>=hn)break;if(p.has(d)||!t[d])continue;p.add(d);const m=s(d);if(m.length>g)break;f.push({key:d,content:m}),g-=m.length}return{blocks:f,seo:r}}const ft="blog-manager/campaigns/";function Ao(){return`${ft}${crypto.randomUUID()}`}function W(t,e,n){return t.find(s=>s===e)??n}function Ee(t){return u(t)||null}function es(t){const e=[];for(const n of N(t)){const s=h(n);s&&e.push({kind:W(mn,s.kind,"category"),id:u(s.id),name:u(s.name),url:u(s.url),description:u(s.description)})}return e}function ts(t){const e=N(t.images).map(s=>u(s));return(e.length>0?e:[u(t.image)].filter(Boolean)).slice(0,gn)}function ns(t){const e=[];for(const n of N(t)){const s=h(n);s&&e.push({id:u(s.id),name:u(s.name),url:u(s.url),images:ts(s),category:u(s.category),description:u(s.description)})}return e}function Co(t,e){return{name:t,campaignName:e.name,seedKey:e.seedKey,status:e.status,period:{start:e.period.start??"",end:e.period.end??""},trigger:{type:e.trigger.type,note:e.trigger.note},intent:{objective:e.intent.objective,targets:e.intent.targets,products:e.intent.products,keywords:e.intent.keywords},guardrails:{avoidComplements:e.guardrails.avoidComplements,toneOverrides:e.guardrails.toneOverrides},createdAt:e.createdAt,updatedAt:e.updatedAt}}function ko(t){const e=[];for(const[n,s]of Object.entries(t)){if(!n.startsWith(ft))continue;const o=h(s);if(!o)continue;const r=h(o.period)??{},i=h(o.trigger)??{},a=h(o.intent)??{},c=h(o.guardrails)??{};e.push({key:n,name:u(o.campaignName),seedKey:u(o.seedKey),status:W(fn,o.status,"draft"),period:{start:Ee(r.start),end:Ee(r.end)},trigger:{type:W(dn,i.type,"seasonal"),note:u(i.note)},intent:{objective:W(pn,a.objective,"awareness"),targets:es(a.targets),products:ns(a.products),keywords:H(z(a.keywords))},guardrails:{avoidComplements:k(c.avoidComplements),toneOverrides:u(c.toneOverrides)},createdAt:u(o.createdAt),updatedAt:u(o.updatedAt)})}return e.sort((n,s)=>s.createdAt.localeCompare(n.createdAt)||n.name.localeCompare(s.name))}function No(t){const e=t.toISOString();return{name:"",seedKey:"",status:"draft",period:{start:null,end:null},trigger:{type:"seasonal",note:""},intent:{objective:"awareness",targets:[],products:[],keywords:[]},guardrails:{avoidComplements:[],toneOverrides:""},createdAt:e,updatedAt:e}}const dt="blog-manager/campaign-seeds/";function To(){return`${dt}${crypto.randomUUID()}`}function Eo(t,e){return{name:t,seedName:e.name,keywords:e.keywords,prompt:e.prompt,createdAt:e.createdAt,updatedAt:e.updatedAt}}function jo(t){const e=[];for(const[n,s]of Object.entries(t)){if(!n.startsWith(dt))continue;const o=h(s);o&&e.push({key:n,name:u(o.seedName),keywords:H(z(o.keywords)),prompt:u(o.prompt),createdAt:u(o.createdAt),updatedAt:u(o.updatedAt)})}return e.sort((n,s)=>s.createdAt.localeCompare(n.createdAt)||n.name.localeCompare(s.name))}function wo(t){const e=t.toISOString();return{name:"",keywords:[],prompt:"",createdAt:e,updatedAt:e}}const Po="blog-manager-formats",ss=40;function Oo(t){return D(t,"posts").slice(0,ss).map(({key:e,payload:n})=>({key:e,title:u(n.title),sections:N(n.sections).map(s=>u(h(s)?.__resolveType)).filter(Boolean).map(ie)}))}function os(t,e){return at(t,e).map(n=>({name:ie(n.resolveType),resolveType:n.resolveType,title:n.title,description:n.description}))}function pt(t,e={}){const n=new Set,s=/\[@[^\]]+\]\(([^)\s]+)\)/g;for(const r of t.matchAll(s))r[1]&&n.add(r[1]);const o=/(?:^|[\s([{>])@([A-Za-z][\w-]*)/g;for(const r of t.replace(s," ").matchAll(o)){const i=r[1];i&&n.add(e[i]??i)}return[...n]}function Ro(t,e,n={}){const s=new Set(e);return pt(t,n).filter(o=>!s.has(o))}function Do(t,e){const n=/\[@[^\]]+\]\([^)\s]+\)/g,s=[];let o=0;for(const r of t.matchAll(n)){const i=r.index??0;s.push(je(t.slice(o,i),e),r[0]),o=i+r[0].length}return s.push(je(t.slice(o),e)),s.join("")}function je(t,e){return t.replace(/(^|[\s([{>])@([A-Za-z][\w-]*)/g,(n,s,o)=>{const r=e[o];return r?`${s}[@${o}](${r})`:n})}const rs=["Heading","Paragraph","BlockImage","List","Cta"];function Bo(t){return rs.filter(e=>e in t)}function ee(t){return t.normalize("NFD").replace(new RegExp("\\p{Diacritic}","gu"),"").toLowerCase().replace(/\s+/g," ").trim()}function Lo(t,e,n,s){const o=ee(s);return o?mt(t,e).some(r=>r.key!==n&&ee(r.name)===o):!1}function mt(t,e){return e!=="posts"?D(t,e).map(({key:n,payload:s})=>({key:n,name:u(s.name)})):In(t).map(({key:n,payload:s})=>({key:n,name:u(s.title)}))}function gt(t){const e=new Map;for(const{key:s,name:o}of mt(t,"posts")){const r=ee(o);if(!r)continue;const i=e.get(r);i?i.push(s):e.set(r,[s])}const n=new Set;for(const s of e.values())if(s.length>1)for(const o of s)n.add(o);return n}const is=["companyName","language","description","tone","targetAudience"];function Io(t){const e=h(t)??{},n=[];for(const s of is)u(e[s]).trim()||n.push(s);return E(k(e.dos)).length===0&&n.push("dos"),E(k(e.avoid)).length===0&&n.push("avoid"),n}function as(t,e){const n=t.required;if(!Array.isArray(n))return;const s=new Set(e&&typeof e=="object"?Object.keys(e):[]),o=n.filter(r=>typeof r=="string"&&s.has(r));return o.length>0?o:void 0}const cs=6,ls=6e3;function us(t){const e=t.schema??{},n=e.$defs??e.definitions;return n&&typeof n=="object"?n:{}}function fs(t,e){for(const n of Object.values(e.manifest?.blocks??{})){const s=n[t];if(s)return s}}function Q(t,e,n){if(Array.isArray(t))return t.map(r=>Q(r,e,n));if(!t||typeof t!="object")return t;const s=t;if(typeof s.$ref=="string"){if(n>=cs)return{};const r=s.$ref.split("/").pop()??"",i=e[r];return i===void 0?{}:Q(i,e,n+1)}const o={};for(const[r,i]of Object.entries(s))o[r]=Q(i,e,n);return o}function ds(t,e){const n=us(e),s=Q(fs(t,e),n,0);if(!s||typeof s!="object")return{};const o=s,r=o.allOf,i=Array.isArray(r)&&r.length===1?r[0]:o;if(!i||typeof i!="object")return{};const{$schema:a,...c}=i,f=we(c);return JSON.stringify(f).length>ls?we(c,!0):f}function we(t,e=!1){const n={...t},s=n.properties;if(s&&typeof s=="object"){const o=Object.fromEntries(Object.entries(s).filter(([r])=>!r.startsWith("__")).map(([r,i])=>[r,e?ht(i):i]));n.properties=o,n.required=as(n,o),n.required||delete n.required}return n}function ht(t){if(!t||typeof t!="object")return t;const e=t,n={};for(const s of["type","description","format","options","enum"])s in e&&(n[s]=e[s]);return Array.isArray(e.anyOf)&&(n.anyOf=e.anyOf.map(ht)),n}function ps(t){if(t==null)return null;if(Array.isArray(t))return"array";const e=typeof t;return e==="number"||e==="boolean"||e==="string"||e==="object"?e:null}function ms(t,e){const n=t.properties;if(!e||!n||typeof n!="object")return t;const s=n;let o=!1;const r={};for(const[i,a]of Object.entries(s)){const c=a&&typeof a=="object"?{...a}:a,f=c?.type,p=ps(e[i]);c&&typeof c=="object"&&p&&typeof f=="string"&&f!==p&&(delete c.type,delete c.enum,o=!0),r[i]=c}return o?{...t,properties:r}:t}const gs={Paragraph:{html:"<p>A dúvida entre 9000 ou 12000 BTUs é a mais comum na hora de escolher.</p>"},Heading:{text:"Antes de escolher: o resumo",level:"h2"},Quote:{quote:"Levei só a mala de bordo e não senti falta de nada.",attribution:"Ana, leitora"},List:{items:`<strong>Tecnologia Inverter:</strong> temperatura mais estável;
18
+ <strong>Gaveta HortiNatura:</strong> frescor por duas vezes mais tempo;`,style:"unordered"},BlockImage:{url:"https://cdn.exemplo.com/2026/10/mochila.webp",alt:"Mochila escolar azul apoiada em uma cadeira de sala de aula",size:"full"},Video:{url:"https://www.youtube.com/watch?v=dQw4w9WgXcQ",caption:"Como medir a capacidade da mala"},Divider:{},Cta:{text:"Ver toda a linha Escolar",href:"/escolar"},Callout:{title:"VOCÊ SABIA?",body:"Pediatras recomendam que a mochila carregada não passe de 10% do peso da criança.",variant:"tip"},Code:{code:"const total = itens.length;",language:"ts"},Stat:{value:"30%",label:"menos desperdício",description:"Comparado ao modelo anterior da mesma linha."},StatGroup:{stats:'[{"value":"30%","label":"menos desperdício"},{"value":"2x","label":"mais frescor"}]'},CardGroup:{cards:'[{"title":"Pré-escola","body":"Pouco material, mochila pequena."},{"title":"Fundamental","body":"Cadernos e livros pesam; considere rodinhas."}]'},Checklist:{title:"Antes de comprar, confira",items:'["Capacidade em litros","Alças acolchoadas","Compartimento para notebook"]'},Steps:{title:"Como medir",steps:'[{"title":"Meça a altura","description":"Da base ao topo, sem as alças."},{"title":"Some a profundidade"}]'},Comparison:{left:'{"title":"Com rodinhas","items":["Poupa a coluna","Mais pesada vazia"]}',right:'{"title":"De costas","items":["Mais leve","Exige ajuste das alças"]}'},Table:{headers:'["Modelo","Capacidade","Preço"]',rows:'[["Bordo","38L","R$ 399"],["Média","68L","R$ 599"]]'}},hs=600;function ys(t,e){for(const{payload:n}of D(e,"posts"))for(const s of N(n.sections)){const o=h(s);if(!o||o.__resolveType!==t)continue;const{__resolveType:r,...i}=o;if(Object.keys(i).length!==0&&!(JSON.stringify(i).length>hs))return i}}function Mo(t,e,n,s){const o=os(e,s),r=bs(e,s),i=new Set(pt(t.value,r)),a=o.filter(g=>i.has(g.resolveType)),c=a.length>0?a:o,f=new Set,p=[];for(const g of c){if(f.has(g.name)||r[g.name]!==g.resolveType)continue;f.add(g.name);const d=ys(g.resolveType,n)??gs[g.name];p.push({name:g.name,title:g.title,description:g.description??"",schema:ms(ds(g.resolveType,e),d),example:d})}return p}function bs(t,e){const n={};for(const s of at(t,e)){const o=ie(s.resolveType);o in n||(n[o]=s.resolveType)}return n}function _s(t,e,n={}){const s=[];for(const o of t){const r=e[o.type];if(!r)continue;const i=Ss(o.props,o.productIds??[],n[o.type]);s.push({__resolveType:r,...i})}return s}const vs=["product","products"];function xs(t){const e=h(t);return e?vs.find(n=>n in e)??null:null}function Ss(t,e,n){const s=e.filter(Boolean),o=xs(n);if(s.length===0||!o)return t;const r=n[o];return{...t,[o]:Sn(r,s)}}const xe=80;function As(t){return t.normalize("NFD").replace(new RegExp("\\p{Diacritic}","gu"),"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,xe)}function $o(t){return t.normalize("NFD").replace(new RegExp("\\p{Diacritic}","gu"),"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+/,"").slice(0,xe)}function Pe(t,e){const n=xe-e.length-1;return`${t.slice(0,n).replace(/-+$/,"")}-${e}`}function yt(t,e,n){const s=As(t)||`${n}-${F(6)}`,o=new Set(e);if(!o.has(s))return s;for(let r=2;r<100;r++){const i=Pe(s,String(r));if(!o.has(i))return i}return Pe(s,F(4))}function Cs(t,e){return yt(t,e,"post")}function Ko(t,e){return yt(t,e,"category")}function Fo({draft:t,resolveTypes:e,productShapes:n,categories:s,authors:o,planning:r,takenSlugs:i,now:a}){const c=new Set(t.categorySlugs),f=new Set(t.authorEmails),p={title:t.title,slug:Cs(t.title,i),date:a.toISOString().slice(0,10),excerpt:t.excerpt,image:t.cover.url,alt:t.cover.alt,authors:o.filter(g=>f.has(g.email)),categories:s.filter(g=>c.has(g.slug)),seo:{title:t.seo.title,description:t.seo.description,image:t.cover.url},sections:_s(t.sections,e,n),planning:r??{}};return nt(p,"awaiting_review",a)}function Uo(t){const e=R.c(10),{icon:n,title:s,description:o}=t;let r;e[0]!==n?(r=n&&l.jsx(n,{size:24,className:"text-muted-foreground/60"}),e[0]=n,e[1]=r):r=e[1];let i;e[2]!==s?(i=l.jsx("div",{children:s}),e[2]=s,e[3]=i):i=e[3];let a;e[4]!==o?(a=o&&l.jsx("div",{className:"text-xs text-muted-foreground/80 max-w-sm",children:o}),e[4]=o,e[5]=a):a=e[5];let c;return e[6]!==r||e[7]!==i||e[8]!==a?(c=l.jsxs("div",{className:"flex h-full w-full flex-col items-center justify-center gap-2 p-6 text-center text-sm text-muted-foreground",children:[r,i,a]}),e[6]=r,e[7]=i,e[8]=a,e[9]=c):c=e[9],c}const bt=4;function ae(t){const e=new Map;for(const n of t)n.slug&&!e.has(n.slug)&&e.set(n.slug,n);return e}function ce(t,e){const n=t.parentSlug;if(!t.slug||!n||n===t.slug)return;const s=e.get(n);return s===t?void 0:s}function ks(t,e){const n=ae(e),s=[],o=new Set;let r=n.get(t);for(;r&&!o.has(r.slug??"")&&(o.add(r.slug??""),s.push(r),!(s.length>=bt));)r=ce(r,n);return s.reverse()}function _t(t,e){const n=new Map;for(const s of t){const o=ce(s,e);if(!o?.slug)continue;const r=n.get(o);r?r.push(s):n.set(o,[s])}for(const s of n.values())s.sort((o,r)=>o.label.localeCompare(r.label));return n}function Go(t,e){const n=ae(e),s=_t(e,n),o=new Set([t]),r=n.get(t);let i=r?[r]:[];for(;i.length;){const a=[];for(const c of i)for(const f of s.get(c)??[])f.slug&&!o.has(f.slug)&&(o.add(f.slug),a.push(f));i=a}return o.delete(t),o}function Vo(t,e){if(!t)return[];const n=ae(e),s=ks(t,e),o=s[0];return!o||ce(o,n)?[t]:s.map(r=>r.slug??"")}function zo(t){const e=ae(t),n=_t(t,e),s=new Set,o=[],r=(a,c)=>{if(!s.has(a)&&(s.add(a),o.push({entry:a,depth:c}),!(c+1>=bt)))for(const f of n.get(a)??[])r(f,c+1)},i=t.filter(a=>!ce(a,e)).sort((a,c)=>a.label.localeCompare(c.label));for(const a of i)r(a,0);for(const a of t)r(a,0);return o}export{Ys as $,ro as A,Xs as B,qn as C,Dn as D,Uo as E,Po as F,so as G,vo as H,D as I,Js as J,Mo as K,ot as L,bs as M,Ln as N,Fo as O,Vs as P,eo as Q,ao as R,Is as S,oo as T,no as U,co as V,oe as W,Ge as X,Ls as Y,Hs as Z,B as _,Ze as a,ve as a0,Ye as a1,Cs as a2,As as a3,Vo as a4,Hn as a5,ie as a6,Lo as a7,to as a8,re as a9,lt as aA,ut as aB,Ro as aC,bo as aD,Z as aE,xo as aF,Oo as aG,z as aH,ge as aI,ee as aJ,Do as aK,Bo as aL,Go as aM,bt as aN,Mn as aO,lo as aP,fo as aQ,Us as aR,G as aS,$e as aT,Ke as aU,be as aV,Ks as aW,$s as aX,tn as aY,Fs as aZ,Gs as a_,Qs as aa,$o as ab,zs as ac,Sn as ad,Un as ae,Vn as af,ho as ag,at as ah,Qe as ai,jo as aj,wo as ak,To as al,es as am,ns as an,fn as ao,dn as ap,pn as aq,mn as ar,gn as as,Co as at,Ao as au,No as av,Eo as aw,yo as ax,os as ay,So as az,et as b,ks as c,io as d,go as e,po as f,mo as g,Xn as h,Ws as i,We as j,Bs as k,In as l,Zs as m,Ms as n,zo as o,Y as p,qs as q,uo as r,wn as s,_o as t,Ko as u,Io as v,ko as w,E as x,k as y,nt as z};