@riverbankcms/sdk 0.172.0 → 0.173.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (194) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-DtrzTJ77.d.ts → BlocksIslandsHydrator-O50mTMCY.d.ts} +1 -1
  2. package/dist/_dts/{Page-DViYbakk.d.ts → Page-Bk99sJwV.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-D-5OeDbT.d.ts → SdkPreviewMode-DzAue6Kj.d.ts} +2 -2
  4. package/dist/_dts/{client-DZBOzd3U.d.ts → client-ZlNEIvlU.d.ts} +1002 -139
  5. package/dist/_dts/{content-types-DS3DrYn_.d.ts → content-types-DBXPNc0h.d.ts} +2 -2
  6. package/dist/_dts/{contracts-C3QGPCUf.d.ts → contracts-D9bhu0bb.d.ts} +4 -3
  7. package/dist/_dts/{footerPageOutline-D9Q7VIul.d.ts → footerPageOutline-Bfap3soN.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-R7NeFT1u.d.ts → generatePageMetadata-DwCdg31h.d.ts} +2 -2
  9. package/dist/_dts/{index-CpOkfBt1.d.ts → index-BnatulTs.d.ts} +3 -3
  10. package/dist/_dts/{index-Dns7OHyl.d.ts → index-C611wjIL.d.ts} +1 -1
  11. package/dist/_dts/{index-Da4UMgbs.d.ts → index-CJzs-yIJ.d.ts} +2 -2
  12. package/dist/_dts/{index-MuMYjetm.d.ts → index-DW3eeNph.d.ts} +4 -4
  13. package/dist/_dts/{index-DkFV_1Bc.d.ts → index-Dq_AboWN.d.ts} +1 -1
  14. package/dist/_dts/{index-C0zjLMAW.d.ts → index-DutLU2d2.d.ts} +1 -1
  15. package/dist/_dts/{index-BnMavhoh.d.ts → index-KXh8FQ2s.d.ts} +2 -2
  16. package/dist/_dts/{loadContent-DJmXHzfi.d.ts → loadContent-Bde2y870.d.ts} +7 -7
  17. package/dist/_dts/{request-wQ28JWbr.d.ts → request-Bysk4QPI.d.ts} +1842 -262
  18. package/dist/_dts/{resolveBlockData-C-IP53u9.d.ts → resolveBlockData-ChbNvpSF.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-Cc4zqaEC.d.ts → resolvePageContent-CGa6QMgc.d.ts} +2 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  29. package/dist/_dts/sdk/src/index.d.ts +8 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +6 -2
  33. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  53. package/dist/_dts/{types-DrinAfeW.d.ts → types-BoEk9ZON.d.ts} +3 -3
  54. package/dist/_dts/{types-CpjyP5I4.d.ts → types-BwitGNTl.d.ts} +7 -7
  55. package/dist/_dts/{types-ZuZoGsZV.d.ts → types-kpp8XyXv.d.ts} +2 -2
  56. package/dist/_dts/{validation-CIZ_fP5l.d.ts → validation-ChftKX-o.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-UFmQB1BE.mjs → BlocksIslandsHydrator-BnUeSE3d.mjs} +17 -17
  58. package/dist/client/{BookingMailingListNote-VjRYhx1c.mjs → BookingMailingListNote-LHQMODqB.mjs} +13 -7
  59. package/dist/client/{BookingPanelArrangement-DpqnRo-t.mjs → BookingPanelArrangement-Be704P85.mjs} +1 -1
  60. package/dist/client/{BookingQuestionFields-CzOT8ZWo.mjs → BookingQuestionFields-BewbU_cV.mjs} +2 -2
  61. package/dist/client/{CalendarNavigationChevron-CNckKZct.mjs → CalendarNavigationChevron-BMZp3RS3.mjs} +41 -34
  62. package/dist/client/{DemoBookingPortalAccess-CmZLVXOy.mjs → DemoBookingPortalAccess-CARUWQ_E.mjs} +21 -21
  63. package/dist/client/{EventCalendar.client-BU-SxLCn.mjs → EventCalendar.client-CaI6upCX.mjs} +11 -10
  64. package/dist/client/{EventCombined.client-f28VltfY.mjs → EventCombined.client-CoRUaYHY.mjs} +10 -9
  65. package/dist/client/{EventItem-sKBofjiW.mjs → EventItem-Doe4KodB.mjs} +25 -16
  66. package/dist/client/{EventListWeekNavigation-IAcax47T.mjs → EventListWeekNavigation-CXWLKDfa.mjs} +1 -1
  67. package/dist/client/{EventListing.client-BEtnRvZr.mjs → EventListing.client-DvJ5tGTx.mjs} +3 -3
  68. package/dist/client/{EventListing.view-BZ4l_rmT.mjs → EventListing.view-BmfyK7S5.mjs} +37 -14
  69. package/dist/client/{EventRegistrationPayment-BWb295cD.mjs → EventRegistrationPayment-DwMlJB2V.mjs} +846 -145
  70. package/dist/client/{LocationMapActions-Hsj2HC_1.mjs → LocationMapActions-CdRPU6gp.mjs} +1 -1
  71. package/dist/client/{MapDrawingSvg-C7E7Lyfa.mjs → MapDrawingSvg-DCLtxOnt.mjs} +1 -1
  72. package/dist/client/{Page-Ds1s3DuC.mjs → Page-D46Dmr7b.mjs} +548 -44
  73. package/dist/client/{StepIndicator-CSCyAaKY.mjs → StepIndicator-CrSZCZn1.mjs} +82 -11
  74. package/dist/client/{accessibleSurfaces-OsAseM7H.mjs → accessibleSurfaces-D4DhWo9j.mjs} +1 -20
  75. package/dist/client/{accordion-DgwFZJSx.mjs → accordion-P8xcfKxq.mjs} +1 -1
  76. package/dist/client/bookability-SargNwlO.mjs +17 -0
  77. package/dist/client/{booking-form.client-CKY9oksp.mjs → booking-form.client-BM2s-NqR.mjs} +11 -11
  78. package/dist/client/{bookingForm-CsHhcdSF.mjs → bookingForm-JnaZPZge.mjs} +4 -4
  79. package/dist/client/bookings.mjs +5 -5
  80. package/dist/client/{boxStyleClassNames-B1Z_TGAe.mjs → boxStyleClassNames-Cahps5kR.mjs} +1 -1
  81. package/dist/client/{carousel-0sw2Kc3a.mjs → carousel-CQQ_m0KA.mjs} +1 -1
  82. package/dist/client/{cart-CPfvMDGJ.mjs → cart-0Q4fjw_K.mjs} +3 -3
  83. package/dist/client/{cart.client-BJBPUTmg.mjs → cart.client-BI0IaHX3.mjs} +1 -1
  84. package/dist/client/{checkout-DU4JFjGT.mjs → checkout-1J-3ftxF.mjs} +3 -3
  85. package/dist/client/{checkout.client-BbNCO4xa.mjs → checkout.client-DOGYDlDk.mjs} +1 -1
  86. package/dist/client/{checkoutUrls-BQ3OlWlM.mjs → checkoutUrls-CwHqcqzP.mjs} +1 -1
  87. package/dist/client/client.mjs +52 -4
  88. package/dist/client/{context-xNC1Cyjw.mjs → context-D0KCgbOq.mjs} +81 -14
  89. package/dist/client/{cta-CNVQHLKs.mjs → course-CmOuoZHN.mjs} +76 -2
  90. package/dist/client/{dateFormatting-B6ea-egy.mjs → dateFormatting-Dmfaczzq.mjs} +1 -1
  91. package/dist/client/{demoPortalMagicLink-BhjGxhX3.mjs → demoPortalMagicLink-CL7KGRta.mjs} +1 -1
  92. package/dist/client/{display-B5DfNb6A.mjs → display-lL-YRApN.mjs} +2462 -426
  93. package/dist/client/{enhanceHeaderSection-BFcHLuqk.mjs → enhanceHeaderSection-B-eLGs2C.mjs} +3 -3
  94. package/dist/client/{event-details.client-WHT5GLn2.mjs → event-details.client-DH1-Jxsh.mjs} +1 -1
  95. package/dist/client/{event-registration.client-CmnRKELC.mjs → event-registration.client-GuuElczW.mjs} +1314 -552
  96. package/dist/client/{eventCalendar-2NbdCyov.mjs → eventCalendar-BiCINPkV.mjs} +4 -4
  97. package/dist/client/{eventCombined-D1lH1n2T.mjs → eventCombined-BtzmH6FW.mjs} +4 -4
  98. package/dist/client/{eventDetails-BHvnF2Tw.mjs → eventDetails-BJpAD10-.mjs} +2 -2
  99. package/dist/client/{eventListing-EhSDk4UL.mjs → eventListing-jLB8iRqp.mjs} +4 -4
  100. package/dist/client/{eventRegistration-z_0jN_KS.mjs → eventRegistration-WhtpDEbq.mjs} +4 -4
  101. package/dist/client/{form-BfChzSkS.mjs → form-DO6qKH3M.mjs} +3 -3
  102. package/dist/client/{form.client-D1zehtPk.mjs → form.client-D12ljYiX.mjs} +3 -3
  103. package/dist/client/{form.parts-rMDlUQIv.mjs → form.parts-C8QHaQOI.mjs} +1 -1
  104. package/dist/client/{formatDate-ymSVT9Y5.mjs → formatDate-BnhfIpCa.mjs} +1 -1
  105. package/dist/client/gifting/client.mjs +2 -2
  106. package/dist/client/{headerSection-BX9bQ84k.mjs → headerSection-BtFWtoUm.mjs} +2 -2
  107. package/dist/client/{newsletter-form.client-DMbuJCtJ.mjs → newsletter-form.client-oHrqM_Ao.mjs} +4 -4
  108. package/dist/client/{newsletter-form.parts-BxrVsoI0.mjs → newsletter-form.parts-D5U-FuVy.mjs} +1 -1
  109. package/dist/client/{newsletterForm-B_I3FJFS.mjs → newsletterForm-CBYbFxSx.mjs} +3 -3
  110. package/dist/client/{noop-CamIX2yK.mjs → noop-CN0o0yjH.mjs} +115 -12
  111. package/dist/client/portal/client.mjs +7 -7
  112. package/dist/client/{product-detail.client-qxuiYCof.mjs → product-detail.client-d_sNCapC.mjs} +1 -1
  113. package/dist/client/{product-list.client-CDL-jihv.mjs → product-list.client-DkSpw6WQ.mjs} +1 -1
  114. package/dist/client/{productDetail-B97m0uZy.mjs → productDetail-DaqM-LgL.mjs} +3 -3
  115. package/dist/client/{productList-DE4vSSG_.mjs → productList-CMx4-XlG.mjs} +3 -3
  116. package/dist/client/{propsDecoder-BTde6Syh.mjs → propsDecoder-BZbUKstC.mjs} +3 -3
  117. package/dist/client/{registry.server-Cn8XjRte.mjs → registry.server-Cdot3dMk.mjs} +85 -57
  118. package/dist/client/rendering/client.mjs +25 -25
  119. package/dist/client/rendering/islands.mjs +1 -1
  120. package/dist/client/rendering.mjs +24 -55
  121. package/dist/client/{richText-coerce-Bcl3vTb4.mjs → richText-coerce-ByApwB4q.mjs} +1 -1
  122. package/dist/client/{routeIslandApiConfig-BjRoLoMD.mjs → routeIslandApiConfig-DTET8f__.mjs} +1 -1
  123. package/dist/client/{runtimeResponse-B-lrAGhX.mjs → runtimeResponse-IkOwKZD0.mjs} +1 -1
  124. package/dist/client/runtimeResponse-Wd6kwhE_.mjs +3 -0
  125. package/dist/client/{shop-BC4H0oYT.mjs → shop-Cy6xXDM7.mjs} +3 -3
  126. package/dist/client/{shop-commerce-BsY7a71m.mjs → shop-commerce-oDR76k1q.mjs} +11 -10
  127. package/dist/client/{shop-commerce-store-BZ5j90HD.mjs → shop-commerce-store-DjoUpL3a.mjs} +1 -1
  128. package/dist/client/shop-discount-apply.state-WsGb9DD8.mjs +166 -0
  129. package/dist/client/{shop.client-WgGVGelc.mjs → shop.client-Brha4BSM.mjs} +11 -10
  130. package/dist/client/{shop.interactive-Bb67gPLL.mjs → shop.interactive-CXhYl0DW.mjs} +35 -12
  131. package/dist/client/{shopShared-BE6TEk2A.mjs → shopShared-JCa_SRhP.mjs} +2 -2
  132. package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
  133. package/dist/client/{timetableModel-Bbz_ECL5.mjs → timetableModel-CZeJwMxP.mjs} +10 -10
  134. package/dist/client/{useAvailableSlots-CdP14E_b.mjs → useAvailableSlots-DfbSkWop.mjs} +17 -6
  135. package/dist/client/{useDiscountApply-DvOSso2l.mjs → useDiscountApply-Dq-wjb1d.mjs} +4 -167
  136. package/dist/client/{useDiscountCodeUi-B4fRd2jy.mjs → useDiscountCodeUi-Cyy0meCH.mjs} +1 -1
  137. package/dist/client/{useEventPagination-M3jC8lgP.mjs → useEventPagination-CCAGQHsD.mjs} +5 -5
  138. package/dist/client/{view-B0TFnP4y.mjs → view-D6yebI4r.mjs} +51 -31
  139. package/dist/client/{view-DNNNbnNj.mjs → view-Sw075FOY.mjs} +2 -2
  140. package/dist/preview-next/client/{PageSectionToolbar-D59tHj_L.mjs → PageSectionToolbar-DG2rXUmo.mjs} +26 -19
  141. package/dist/preview-next/client/{PreviewEditorSidebar-CjOIZlUk.mjs → PreviewEditorSidebar-BDY5vdHU.mjs} +27 -360
  142. package/dist/preview-next/client/{PreviewEditorUI--kS9Cwsc.mjs → PreviewEditorUI-CqZCfOaz.mjs} +4 -4
  143. package/dist/preview-next/client/{PreviewShell-Bi8-rclb.mjs → PreviewShell-Bv2HZ7JY.mjs} +7 -7
  144. package/dist/preview-next/client/{SdkPreviewModeRuntime-CWTUw-3L.mjs → SdkPreviewModeRuntime-BMTcR-MW.mjs} +5 -55
  145. package/dist/preview-next/client/{SiteChromeCustomizeButton-CrgS3I8d.mjs → SiteChromeCustomizeButton-D1MGyN_Z.mjs} +2668 -799
  146. package/dist/preview-next/client/{previewAssistantSlot-Caofnr1Z.mjs → previewAssistantSlot-La6MerV_.mjs} +3540 -684
  147. package/dist/preview-next/client/{previewChromeRoot-CbAI_jSH.mjs → previewChromeRoot-BcOQqJIP.mjs} +1 -1
  148. package/dist/preview-next/client/runtime.mjs +3 -3
  149. package/dist/preview-next/client/{sdk-runtime-DY65_hLk.mjs → sdk-runtime-BkckHox4.mjs} +2 -2
  150. package/dist/preview-next/client/{useAutosaveStatus-CakNU3lp.mjs → useAutosaveStatus-CPAHgGqI.mjs} +1 -1
  151. package/dist/preview-next/client/{useOpenBlockForSetup-CCEMkosU.mjs → useOpenBlockForSetup-BDkuSZxQ.mjs} +1 -1
  152. package/dist/preview-next/keepAlive.mjs +1 -1
  153. package/dist/preview-next/middleware.mjs +1 -1
  154. package/dist/preview-next/{route-contract-DsKDQoVW.mjs → route-contract-CPV30ABr.mjs} +48 -0
  155. package/dist/server/{Block.shared-D7Qy9F4a.mjs → Block.shared-BaMMstO1.mjs} +5 -5
  156. package/dist/server/{bindings-Bp6OnR3n.mjs → bindings-Dge4sqel.mjs} +4 -4
  157. package/dist/server/{client-dROAfMRa.mjs → client-VVIQjC4r.mjs} +51 -3
  158. package/dist/server/config-validation.mjs +1 -1
  159. package/dist/server/config.mjs +2 -2
  160. package/dist/server/data/resolveBlockData.mjs +1 -1
  161. package/dist/server/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
  162. package/dist/server/index.mjs +3 -3
  163. package/dist/server/{loadContent-zOIrtqz-.mjs → loadContent-BIJb3WAK.mjs} +5 -6
  164. package/dist/server/{loadPage-vwFiq1Rk.mjs → loadPage-DjTU19y7.mjs} +2 -2
  165. package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
  166. package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
  167. package/dist/server/navigation.mjs +1 -1
  168. package/dist/server/next.mjs +6 -6
  169. package/dist/server/{overrideResolution-DjboggbB.mjs → overrideResolution-1Ru3NMQj.mjs} +1 -1
  170. package/dist/server/page-converter.mjs +1 -1
  171. package/dist/server/{pageRenderPlan-BR4t1rOw.mjs → pageRenderPlan-CytPhrI9.mjs} +143 -27
  172. package/dist/server/{pageRuntimeSupport-BKo6XVK-.mjs → pageRuntimeSupport-DWspU5EZ.mjs} +3 -3
  173. package/dist/server/{pageShared-BJjptSGp.mjs → pageShared-Bhx8bVe1.mjs} +166 -67
  174. package/dist/server/{parseThemeForPersistence-B18KDEue.mjs → parseThemeForPersistence-CtgRtvo3.mjs} +1 -1
  175. package/dist/server/{prebuild-CntSkZQI.mjs → prebuild-BjvFb0CA.mjs} +1 -1
  176. package/dist/server/prebuild.mjs +1 -1
  177. package/dist/server/{prefetchBlockData-BM9Ds0OQ.mjs → prefetchBlockData-Db3stNpp.mjs} +3 -3
  178. package/dist/server/{registry-wYH0LH5f.mjs → registry-BMCfcev6.mjs} +809 -191
  179. package/dist/server/rendering/components/pageShared.mjs +1 -1
  180. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  181. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  182. package/dist/server/rendering/server.mjs +3 -3
  183. package/dist/server/rendering.mjs +8 -8
  184. package/dist/server/{resolveBlockData-Bu_p4HxZ.mjs → resolveBlockData--yUbI-Ll.mjs} +1 -1
  185. package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
  186. package/dist/server/{schema-BFOqYIMQ.mjs → schema-D5Vfmqzw.mjs} +394 -1
  187. package/dist/server/server.mjs +3 -3
  188. package/dist/server/theme.mjs +2 -2
  189. package/dist/server/{validation-DAQdPDku.mjs → validation-EgTtnTcY.mjs} +4 -4
  190. package/dist/server/{version-DAB0O3yx.mjs → version-LjgU0Cq1.mjs} +1 -1
  191. package/dist/styles/index.css +174 -0
  192. package/package.json +1 -1
  193. package/dist/client/runtimeResponse-CPcA8xSm.mjs +0 -3
  194. package/dist/server/rich-text-CRcONdyM.mjs +0 -33
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import { n as __exportAll } from "./rolldown-runtime-CE6sIgz8.mjs";
3
- import { $_ as authoredValuesEqual, $d as deriveFieldValidationPlan, $h as isAcceptedRepeaterGridSpan, $l as suggestSemanticIconForFeatureCard, $n as getAtPath, $t as useSidebarView, A as usePreviewRenderReadiness, A_ as getDirectImageUrlForMediaAsset, Ah as useControllableState, Ai as chooseScheduleScope, An as getGroupChildFields, At as listPageSurfaceContentSlots, Ay as parseSiteId, B_ as asRecord, Bh as createSlot, Bm as DialogHeader, Br as buildNewsletterFormInteractiveIslandProps, Bv as createEditorRemoveBlockCommand, Ca as resolveMediaSlotContract, Cf as plainTextToInlineText, Ch as useId$1, Cm as unwrapResponse, Cn as initialBlockDraftValues, Cp as sectionTransitionFamilies, Ct as partitionFieldsByIntent, Cv as knownSocialPlatformLabels, Cy as assertNever$1, Df as parseFieldDefinition, Di as EVENT_SELECTION_SCOPE_OPTIONS, Dm as journalTargetKey, Dn as getFieldDefault, Dt as deleteSlotBlock, Dv as publishedContactDetails, Eh as DismissableLayer, Em as journalLabels, En as manifestFieldSectionOptions, Et as deleteBlock, Ev as publicProfileWeekdays, Ey as parseMediaAssetId, Ff as sectionPhotoPresence, Fm as Dialog, Ft as normalizeApiError, Fv as knownRevision, G_ as asAppearancePresetId, Gf as concretePaletteFromTheme, Gh as useShallow, Gp as flowRepeaterGridItems, Gt as routeLifecycleContext, Gv as unsafeAsEditorBlockValues, Hm as DialogTrigger, Hn as rankBackgroundImagePoolItems, Hp as planRepeaterGridSpanChange, Hv as editorBlockCollectionOwnerKey, I as selectedLookTile, Ih as Button$1, Im as DialogClose, In as enabledBackgroundModes, Iv as pristineValueSync, J as runHeldLifecycle, Jh as canWriteLinkedEntry, Jl as createFeatureCardIconKey, Jp as planRepeaterGridStartNewRow, Jt as resolveContentTitle, Kf as concretePaletteToTheme, Kl as FEATURE_CARD_GENERATED_ICON_SIZE_PX, Kp as isRepeaterGridLayoutInvalid, Kt as deriveRouteMetadataPresentation, Kv as formatDate, Lh as buttonVariants, Lm as DialogContent, Ln as imagePoolForOverride, Lt as getDashboardUrl, Lv as syncStateOf, M_ as mediaSchema, Mh as createContextScope, Mi as toggleEventType, Mm as Callout, Mn as readSliderFieldUiConfig, Mr as getBlockDefinition, Mt as reorderSlotBlocks, My as expectParsedBrandedId, N as lookTilePosition, N_ as runtimeMediaSchema, Nh as composeEventHandlers, Ni as writeEventSelectionChips, Nm as CalloutDescription, Nr as listBlockDescriptors, Nt as withSlotCompositionHash, O as usePreviewJoinOutcome, O_ as parseAspectRatioValue, Oh as useDirection, Oi as EVENT_SELECTION_TYPE_OPTIONS, Om as journalTrustAt, On as getRepeaterItemDefault, Ot as isSurfaceSlotBlockTarget, P as lookTilesFor, Ph as Primitive, Pm as CalloutTitle, Pn as canCycleBackgroundOverrideValue, Pt as blocksKeys, Pv as displayedValues, Qd as admitLayoutGridForPlan, Qf as defaultPolicyPageFlowPresetId, R_ as PUBLIC_FILE_FIELD_KINDS, Rm as DialogDescription$1, Rp as isInternalResolvedLinkValue, Rv as valueStatus, S as setPageDesignBlockBackground, Sh as useSize, Sm as extractApiEnvelopeErrorDetails, So as planOfferingPreviewCardSelection, Sp as defaultSectionTransitionVariantForFamily, St as isNonEmptyValue, Sv as parseNewsletterListId, T_ as isRotationDimensionSwap, Td as isBlockButtonRole, Th as useFocusGuards, Tm as sidebarReturnView, Tn as createManifestValidation, Tp as sectionTransitionVariantForBoundaryOptionId, Tt as createSlotBlock, Tv as parsePublicProfile, Uf as getHeaderLayout, Uh as useComposedRefs, Un as resolveBackgroundCapability, Up as projectRepeaterGridLayout, Uv as editorBlockCollectionOwnersEqual, V as usePreviewAuth, V_ as getFontWidthRange, Vm as DialogTitle$1, Vn as planBackgroundTransition, Vp as buildRepeaterGridDropTargets, Vt as ApiRequestError, Vv as createEditorReorderBlocksCommand, W as useEntryController, Wf as getHeaderStyle, Wh as cn, Wp as findFirstAvailableRepeaterGridPlacement, Wv as unsafeAsEditorBlockId, X as useServerRefresh, Xh as canEditorWrite, Xl as parseFeatureCardGeneratedIconSizePx, Xm as DialogTitle, Xp as resolveRepeaterGridBreakpointForWidth, Xt as useEditorUiStore, Yh as readLinkedEntryLease, Yl as getFeatureCardIconCompletion, Yp as resolveRepeaterGridAcceptedSpans, Yt as planLeaseNotice, Z as useSessionJournal, Zl as resolveFeatureCardGeneratedIconSizePx, Zp as resolveRepeaterGridColumnsForBreakpoint, Zt as useEditorUiStoreInstance, _a as resolveImageSourceSetWithContext, _h as Anchor, _n as useStore, _o as isOfferingsPreviewSourceKey, _t as collectVisibleWhenWatchPaths, _v as mailingListTargetingChoiceIds, af as getBlockIconSemanticId, ag as buttonStyleSelectionParameterValue, ay as parseBookingLocalDate, bh as Root2$1, bn as deriveEditorValuePublicationState, bt as getWidgetKey, bv as parseMailchimpAudienceId, cg as updateButtonStyleHoverPreference, cn as journalNoticeMessage, cp as gradientToCss, ct as LeaseNoticeButtons, cy as resolveBookingTimeZoneId, d as cycleSiteChromeSelectionId, d_ as paletteValueKey, df as parseSiteIconStyleGuideVersionId, dh as hideOthers, dp as findCuratedPalette, dt as JournalWriteRefused, dv as assessMailingListTargeting, dy as toUtcIsoDateTimeString, eg as resolveRepeaterGridColumnFieldId, en as recoveryConflictCopy, er as siblingPath$2, eu as toFeatureCardIconSuggestionInputs, fm as editorAdmissionSession, fv as resolveMailingListDefaultDestination, gh as Portal$1, go as inferLegacyOfferingsPreviewGroupOrder, gt as derivePromotedFieldPlan, gv as DEFAULT_MAILING_LIST_TARGETING, hh as Presence, ht as publishContentEntry, i as usePreviewSidebarNavigation, ig as buttonStyleHoverPreferenceValue, im as resolveBlockTitle, ip as palettesForSiteStyle, jf as resolveVisiblePromotedFieldPathsForEditorBlock, ji as readEventSelectionChips, jn as readNumberFieldUiConfig, jp as appearancePresets, jt as reorderBlocks, ju as buildFormInteractiveIslandProps, jy as unsafeAsSiteId, k_ as resolveMediaTransformForAspect, kh as createCollection, ki as chooseAllEvents, kn as normalizeFieldForCanonicalValidation, kt as listEntryPageContentSlots, lf as parseGeneratedIconAssetId, lg as updateButtonStyleSelectionChoice, lm as editorAdmissionIsOpen, ln as lifecycleOutcomeMessage, lp as GRADIENT_PRESETS, mm as OPERATION_ID_HEADER, mp as findFooterLook, mt as missingReceiptError, mv as parseMailingListPlacementTargeting, n as usePreviewAssistantSlot, ng as resolveRepeaterGridSpanFieldId, nh as ReactRemoveScroll, nn as unfinishedBlockCopy, o as usePreviewPageDesignEditorState, of as getGeneratedBlockIconStyleState, og as findButtonStyleRecipe, ov as generateUuidV4, pa as computeMediaTransformStyle, pf as coerceInlineTextWithFallback, pt as sendPageCommand, pv as mailingListProviderName, q as DONE, qh as isEdited, qm as DialogDescription, qp as normalizeRepeaterGridSpan, qt as resolvePageRouteSlug, qv as formatDateTime, rf as sanitizeHref, rg as siteOptionSources, rp as offeredSiteStyles, s as usePreviewPageDesignRenderState, sf as parseBlockIconValue, sg as resolveButtonStyleSelection, sn as selectJournalWriteState, st as LeaseDiscardedNoticeView, sv as slugify$1, sy as resolveBookingBusinessTimeZone, tf as isRichTextDoc, tg as resolveRepeaterGridRowFieldId, th as usePortalContainer, tp as getCuratedSiteStyle, tr as withValueAtPath, u as useSiteChromeCustomizeOptional, uf as parseGeneratedIconSetId, ug as buttonStyleSelectionKey, up as getGradientPreset, uy as parseUtcIsoDateTimeString, v as buildPageDesignEditorReadModelForBlocks, va as resolveImageUrlWithContext, vf as inlineTextToPlainText, vh as Arrow$1, vn as toEditorBlockItem, vo as normalizeOfferingsPreviewGroupOrder, vt as evaluateVisibility, wa as buildResolveImageUrlContext, wd as BLOCK_BUTTON_ROLE_OPTIONS, wh as FocusScope, wn as createManifestFormAdapter, wo as resolveOfferingsPreviewGroupOrderEntries, wp as sectionTransitionFamilyForBoundaryOptionId, wt as createBlock, wv as knownSocialPlatforms, x as pageDesignLookTiles, xh as createPopperScope, xt as hasVisibilityConditions, xv as parseMailchimpInterestId, yh as Content, yn as withoutServerVersions, yt as getFieldIntent, yv as parseBrevoListId, z_ as mediaIdentifierSchema, zh as cva, zm as DialogFooter, zn as parseBackgroundOverrideFromContent, zp as planLayoutGridColumnEdit, zv as createEditorInsertBlockCommand } from "./previewAssistantSlot-Caofnr1Z.mjs";
3
+ import { $f as admitLayoutGridForPlan, $m as planRepeaterGridStartNewRow, $n as getAtPath, $p as defaultPolicyPageFlowPresetId, $t as useSidebarView, $u as suggestSemanticIconForFeatureCard, $v as asAppearancePresetId, $y as unsafeAsEditorBlockId, A as usePreviewRenderReadiness, Ag as useId$1, Ah as unwrapResponse, Ai as chooseScheduleScope, Am as sectionTransitionVariantForBoundaryOptionId, An as getGroupChildFields, At as listPageSurfaceContentSlots, Ay as parseNewsletterListId, Bb as unsafeAsSiteId, Bg as composeEventHandlers, Bh as CalloutDescription, Br as buildNewsletterFormInteractiveIslandProps, Bv as runtimeMediaSchema, Ca as resolveMediaSlotContract, Cg as Portal$1, Cn as initialBlockDraftValues, Ct as partitionFieldsByIntent, Dg as Root2$1, Di as EVENT_SELECTION_SCOPE_OPTIONS, Dm as defaultSectionTransitionVariantForFamily, Dn as getFieldDefault, Dt as deleteSlotBlock, Dy as parseBrevoListId, Ef as isBlockButtonRole, Eg as Content, En as manifestFieldSectionOptions, Et as deleteBlock, Fb as parseMediaAssetId, Fg as useDirection, Fh as journalTrustAt, Ft as normalizeApiError, Fv as parseAspectRatioValue, Fy as publicProfileWeekdays, Gh as DialogDescription$1, Gp as getHeaderStyle, Gt as routeLifecycleContext, Gv as PUBLIC_FILE_FIELD_KINDS, Gy as pristineValueSync, Hh as Dialog, Hn as rankBackgroundImagePoolItems, I as selectedLookTile, Ig as createCollection, Im as appearancePresets, In as enabledBackgroundModes, Ip as sectionPhotoPresence, Iv as resolveMediaTransformForAspect, Iy as publishedContactDetails, J as runHeldLifecycle, Jh as DialogTitle$1, Jm as projectRepeaterGridLayout, Jt as resolveContentTitle, Ju as createFeatureCardIconKey, Jy as createEditorInsertBlockCommand, Kg as cva, Kh as DialogFooter, Km as buildRepeaterGridDropTargets, Kp as concretePaletteFromTheme, Kt as deriveRouteMetadataPresentation, Ku as FEATURE_CARD_GENERATED_ICON_SIZE_PX, Kv as mediaIdentifierSchema, Ky as syncStateOf, Lg as useControllableState, Ln as imagePoolForOverride, Lt as getDashboardUrl, Lv as getDirectImageUrlForMediaAsset, Mb as assertNever$1, Mg as useFocusGuards, Mh as sidebarReturnView, Mi as toggleEventType, Mn as readSliderFieldUiConfig, Mp as resolveVisiblePromotedFieldPathsForEditorBlock, Mr as getBlockDefinition, Mt as reorderSlotBlocks, Mv as isRotationDimensionSwap, My as knownSocialPlatformLabels, N as lookTilePosition, Ng as DismissableLayer, Nh as journalLabels, Ni as writeEventSelectionChips, Nr as listBlockDescriptors, Nt as withSlotCompositionHash, Ny as knownSocialPlatforms, O as usePreviewJoinOutcome, Og as createPopperScope, Oi as EVENT_SELECTION_TYPE_OPTIONS, Om as sectionTransitionFamilies, On as getRepeaterItemDefault, Op as parseFieldDefinition, Ot as isSurfaceSlotBlockTarget, Oy as parseMailchimpAudienceId, P as lookTilesFor, Ph as journalTargetKey, Pn as canCycleBackgroundOverrideValue, Pt as blocksKeys, Py as parsePublicProfile, Qg as useShallow, Qm as normalizeRepeaterGridSpan, Qy as editorBlockCollectionOwnersEqual, S as setPageDesignBlockBackground, Sg as Presence, So as planOfferingPreviewCardSelection, St as isNonEmptyValue, Sy as parseMailingListPlacementTargeting, Tf as BLOCK_BUTTON_ROLE_OPTIONS, Tg as Arrow$1, Tn as createManifestValidation, Tt as createSlotBlock, Ty as mailingListTargetingChoiceIds, Ug as Button$1, Uh as DialogClose, Um as isInternalResolvedLinkValue, Un as resolveBackgroundCapability, Uy as displayedValues, V as usePreviewAuth, Vb as expectParsedBrandedId, Vg as Primitive, Vh as CalloutTitle, Vn as planBackgroundTransition, Vt as ApiRequestError, W as useEntryController, Wg as buttonVariants, Wh as DialogContent, Wm as planLayoutGridColumnEdit, Wp as getHeaderLayout, Wy as knownRevision, X as useServerRefresh, Xg as useComposedRefs, Xm as flowRepeaterGridItems, Xt as useEditorUiStore, Xu as parseFeatureCardGeneratedIconSizePx, Xy as createEditorReorderBlocksCommand, Yh as DialogTrigger, Ym as findFirstAvailableRepeaterGridPlacement, Yt as planLeaseNotice, Yu as getFeatureCardIconCompletion, Yv as isBodyFontFamily, Yy as createEditorRemoveBlockCommand, Z as useSessionJournal, Zg as cn, Zm as isRepeaterGridLayoutInvalid, Zt as useEditorUiStoreInstance, Zu as resolveFeatureCardGeneratedIconSizePx, Zy as editorBlockCollectionOwnerKey, __ as buttonStyleSelectionKey, _a as resolveImageSourceSetWithContext, _b as resolveBookingTimeZoneId, _h as editorAdmissionSession, _n as useStore, _o as isOfferingsPreviewSourceKey, _t as collectVisibleWhenWatchPaths, am as palettesForSiteStyle, bb as toUtcIsoDateTimeString, bn as deriveEditorValuePublicationState, bt as getWidgetKey, by as resolveMailingListDefaultDestination, c_ as resolveRepeaterGridRowFieldId, cg as usePortalContainer, cn as journalNoticeMessage, cp as parseBlockIconValue, ct as LeaseNoticeButtons, d as cycleSiteChromeSelectionId, d_ as buttonStyleHoverPreferenceValue, dm as getGradientPreset, dp as parseGeneratedIconSetId, dt as JournalWriteRefused, e_ as isEdited, eb as unsafeAsEditorBlockValues, ed as toFeatureCardIconSuggestionInputs, eg as DialogDescription, eh as resolveRepeaterGridAcceptedSpans, en as recoveryConflictCopy, ep as deriveFieldValidationPlan, er as siblingPath$2, f_ as buttonStyleSelectionParameterValue, fm as buildFontPreviewUrl, fp as parseSiteIconStyleGuideVersionId, g_ as updateButtonStyleSelectionChoice, gb as resolveBookingBusinessTimeZone, gm as findCuratedPalette, go as inferLegacyOfferingsPreviewGroupOrder, gt as derivePromotedFieldPlan, h_ as updateButtonStyleHoverPreference, ht as publishContentEntry, hy as slugify$1, i as usePreviewSidebarNavigation, im as offeredSiteStyles, ip as sanitizeHref, jd as buildFormInteractiveIslandProps, jg as FocusScope, ji as readEventSelectionChips, jn as readNumberFieldUiConfig, jt as reorderBlocks, kg as useSize, kh as extractApiEnvelopeErrorDetails, ki as chooseAllEvents, km as sectionTransitionFamilyForBoundaryOptionId, kn as normalizeFieldForCanonicalValidation, kt as listEntryPageContentSlots, ky as parseMailchimpInterestId, l_ as resolveRepeaterGridSpanFieldId, lg as ReactRemoveScroll, lh as resolveBlockTitle, lm as gradientToCss, ln as lifecycleOutcomeMessage, m_ as resolveButtonStyleSelection, mb as parseBookingLocalDate, mh as editorAdmissionIsOpen, mp as coerceInlineTextWithFallback, mt as missingReceiptError, my as generateUuidV4, n as usePreviewAssistantSlot, n_ as readLinkedEntryLease, nb as formatDateTime, nh as resolveRepeaterGridColumnsForBreakpoint, nm as getCuratedSiteStyle, nn as unfinishedBlockCopy, np as isRichTextDoc, o as usePreviewPageDesignEditorState, o_ as isAcceptedRepeaterGridSpan, op as getBlockIconSemanticId, p_ as findButtonStyleRecipe, pa as computeMediaTransformStyle, pt as sendPageCommand, q as DONE, qg as createSlot, qh as DialogHeader, qm as planRepeaterGridSpanChange, qp as concretePaletteToTheme, qt as resolvePageRouteSlug, qv as asRecord, qy as valueStatus, r_ as canEditorWrite, rg as DialogTitle, s as usePreviewPageDesignRenderState, s_ as resolveRepeaterGridColumnFieldId, sn as selectJournalWriteState, sp as getGeneratedBlockIconStyleState, st as LeaseDiscardedNoticeView, sy as authoredValuesEqual, t_ as canWriteLinkedEntry, tb as formatDate, th as resolveRepeaterGridBreakpointForWidth, tr as withValueAtPath, u as useSiteChromeCustomizeOptional, u_ as siteOptionSources, um as GRADIENT_PRESETS, up as parseGeneratedIconAssetId, v as buildPageDesignEditorReadModelForBlocks, va as resolveImageUrlWithContext, vg as hideOthers, vn as toEditorBlockItem, vo as normalizeOfferingsPreviewGroupOrder, vt as evaluateVisibility, wa as buildResolveImageUrlContext, wg as Anchor, wn as createManifestFormAdapter, wo as resolveOfferingsPreviewGroupOrderEntries, wp as plainTextToInlineText, wt as createBlock, wy as DEFAULT_MAILING_LIST_TARGETING, x as pageDesignLookTiles, xt as hasVisibilityConditions, xy as mailingListProviderName, yb as parseUtcIsoDateTimeString, yh as OPERATION_ID_HEADER, ym as findFooterLook, yn as withoutServerVersions, yp as inlineTextToPlainText, yt as getFieldIntent, yv as paletteValueKey, yy as assessMailingListTargeting, zb as parseSiteId, zg as createContextScope, zh as Callout, zn as parseBackgroundOverrideFromContent, zv as mediaSchema } from "./previewAssistantSlot-La6MerV_.mjs";
4
4
  import { $ as EllipsisVertical, A as LoaderCircle, B as ImageOff, E as Maximize2, G as FileText, Gt as err, Kt as ok, L as Image, O as Lock, P as Link2, R as ImageUp, S as Palette, U as GripVertical, Z as EyeOff, _t as Box$1, b as PanelTop, bt as ArrowUpRight, c as Trash2, d as SlidersHorizontal, dt as ChevronRight, f as Settings, ft as ChevronLeft, g as RotateCcw, ht as Calendar$1, i as Video, it as Clock3, lt as CircleAlert, m as Rows3, mt as Check, n as X$1, nt as Copy, pt as ChevronDown, rt as Clock, s as TriangleAlert, t as lucide_react_exports, tt as Crop, u as Sparkles, v as Plus, x as PanelBottom, xt as ArrowDown, y as Pencil, yt as ArrowUp, z as ImagePlus } from "./lucide-react-BCNn8dEQ.mjs";
5
- import { $t as Textarea, An as removeFooterEngagementSection, C as HeaderMenuControls, Cn as Trigger$1, Dn as normalizeLegacyFooterContentToV1, En as deriveFooterEditorOverview, Fn as footerArrangementPolicy, G as useSiteOptionWidgetContext, Gt as buildThemeRuntime, H as resolveFooterLayoutHints, Ht as buildThemeDataAttrs, I as siteColourCss, In as planFooterArrangement, J as getPublicProfile, Jt as DEFAULT_THEME_RESPONSIVE_MODE, K as getFooterComposition, Kt as escapeStyleContent, L as locationWidgetOverrides, Mn as setFooterSectionSelected, Nn as upsertFooterEngagementSection, On as parseFooterEngagementSection, Pn as validateFooterComposition, Q as footerCreditLine, S as useSiteFontStorageUrl, Sn as Root$2, St as ThemeScopeCore, Tn as classifyKnownMimeType, V as buildFooterRuntimeViewModel, W as SiteOptionWidgetProvider, Wt as themeRuntimeScopeProps, X as updateFooterCredit, Xt as CHOSEN_OPTION_CLASS, Y as updateFooterComposition, Z as updatePublicProfile, Zt as ChoiceTileGroup, _n as Content$2, _t as FieldFrame, an as usePrevious$1, at as NewsletterFormClient, b as resolvePreviewSidebarChromeModel, bn as Trigger$2, bt as useLinkedInlineTextField, cn as FieldTrigger, ct as FormNodeClient, d as CustomizeBackgroundControlRows, dn as FIELD_SURFACE_CLASS, dt as useBlockContext, en as Select$1, et as useMediaEditor, ft as SelectField, g as resolvePreviewDashboardSetupHandoff, gn as TabsTrigger, gt as unmapValueFromSelect, h as buildPreviewDashboardSetupUrl, hn as TabsList, ht as mapOptionValueForSelect, in as SelectValue, jn as resolveFooterSections, ln as Input, lt as BlockApiProvider, mn as TabsContent, mt as mapCurrentValueForSelect, n as SiteChromeSurfaceControls, nn as SelectItem, on as clamp, p as canInspectSiteStyle, pn as Tabs, pt as hasEmptyOption, q as getFooterEngagementAuthoringOptions, r as dashboardLogoSettingsHref, rn as SelectTrigger, sn as SearchInput, st as useImageResolveContextOptional, tn as SelectContent, un as FIELD_FOCUS_WITHIN_CLASS, ut as BlockContextProvider, v as resolvePreviewEditorGuidanceModel, vn as List, vt as FieldLabelText, w as isHeaderMenuSurfaceState, xn as Content$1, xt as revealEditorElement, yn as Root2$2, yt as useField, z as useSiteEditorAdmission } from "./SiteChromeCustomizeButton-CrgS3I8d.mjs";
5
+ import { $ as footerCreditLine, $t as Textarea, An as removeFooterEngagementSection, B as useSiteEditorAdmission, Cn as Trigger$1, Ct as ThemeScopeCore, D as SiteFontFaceStyles, Dn as normalizeLegacyFooterContentToV1, En as deriveFooterEditorOverview, Fn as footerArrangementPolicy, G as SiteOptionWidgetProvider, Gt as themeRuntimeScopeProps, H as buildFooterRuntimeViewModel, In as planFooterArrangement, J as getFooterEngagementAuthoringOptions, Jt as DEFAULT_THEME_RESPONSIVE_MODE, K as useSiteOptionWidgetContext, Kt as buildThemeRuntime, L as siteColourCss, Mn as setFooterSectionSelected, Nn as upsertFooterEngagementSection, On as parseFooterEngagementSection, Pn as validateFooterComposition, Q as updatePublicProfile, R as locationWidgetOverrides, S as isHeaderMenuSurfaceState, Sn as Root$2, St as revealEditorElement, Tn as classifyKnownMimeType, U as resolveFooterLayoutHints, Ut as buildThemeDataAttrs, X as updateFooterComposition, Xt as CHOSEN_OPTION_CLASS, Y as getPublicProfile, Z as updateFooterCredit, Zt as ChoiceTileGroup, _n as Content$2, _t as unmapValueFromSelect, an as usePrevious$1, b as resolvePreviewSidebarChromeModel, bn as Trigger$2, bt as useField, cn as FieldTrigger, ct as useImageResolveContextOptional, d as CustomizeBackgroundControlRows, dn as FIELD_SURFACE_CLASS, dt as BlockContextProvider, en as Select$1, ft as useBlockContext, g as resolvePreviewDashboardSetupHandoff, gn as TabsTrigger, gt as mapOptionValueForSelect, h as buildPreviewDashboardSetupUrl, hn as TabsList, ht as mapCurrentValueForSelect, in as SelectValue, jn as resolveFooterSections, k as useRememberSiteFonts, ln as Input, lt as FormNodeClient, mn as TabsContent, mt as hasEmptyOption, n as SiteChromeSurfaceControls, nn as SelectItem, on as clamp, ot as NewsletterFormClient, p as canInspectSiteStyle, pn as Tabs, pt as SelectField, q as getFooterComposition, r as dashboardLogoSettingsHref, rn as SelectTrigger, sn as SearchInput, tn as SelectContent, tt as useMediaEditor, un as FIELD_FOCUS_WITHIN_CLASS, ut as BlockApiProvider, v as resolvePreviewEditorGuidanceModel, vn as List, vt as FieldFrame, x as HeaderMenuControls, xn as Content$1, xt as useLinkedInlineTextField, yn as Root2$2, yt as FieldLabelText } from "./SiteChromeCustomizeButton-D1MGyN_Z.mjs";
6
6
  import { J as paletteTokenNameSchema, V as hexColorSchema, W as paletteColorEntries, c as isKnownIconName, i as ThemedButtonSpecimen, l as isIconPickerPreset, o as getIconComponent, s as getIconPickerOptionsForPreset, tt as VARIANT_ROLES, u as resolveIconPickerPreset } from "./ThemedButton-CVYz7h68.mjs";
7
- import { A as ScrollableDialogContent, C as EMPTY_DOC, D as resolveSdkFooterMode, F as resolveVideoSelectionIntentForMediaField, I as isSvgMimeType, M as Surface, N as surfaceVariants, P as emitMediaCropDebug, S as useRichTextEditor, T as InlineTextEditor, _ as MediaPickerMiniDialog, a as ArrangementOptionsBody, b as getRichTextImagePositionFromTarget, c as BackgroundChooser, d as gradientLabel, f as readBackgroundColorPaletteSnapshot, g as MediaEditor, h as getUnresolvedRichTextImageWarnings, i as ArrangementLookNote, j as ScrollableDialogShell, k as Switch, l as BackgroundPreviewSwatch, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, o as lookIsAutomatic, p as useSiteColourVariables, s as useArrangementToolbar, u as formatTokenLabel, v as MediaPickerMini, x as insertOrReplaceRichTextImage, y as RichTextEditorSurface } from "./PageSectionToolbar-D59tHj_L.mjs";
7
+ import { A as ScrollableDialogContent, C as EMPTY_DOC, D as resolveSdkFooterMode, F as resolveVideoSelectionIntentForMediaField, I as isSvgMimeType, M as Surface, N as surfaceVariants, P as emitMediaCropDebug, S as useRichTextEditor, T as InlineTextEditor, _ as MediaPickerMiniDialog, a as ArrangementOptionsBody, b as getRichTextImagePositionFromTarget, c as BackgroundChooser, d as gradientLabel, f as readBackgroundColorPaletteSnapshot, g as MediaEditor, h as getUnresolvedRichTextImageWarnings, i as ArrangementLookNote, j as ScrollableDialogShell, k as Switch, l as BackgroundPreviewSwatch, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, o as lookIsAutomatic, p as useSiteColourVariables, s as useArrangementToolbar, u as formatTokenLabel, v as MediaPickerMini, x as insertOrReplaceRichTextImage, y as RichTextEditorSurface } from "./PageSectionToolbar-DG2rXUmo.mjs";
8
8
  import { n as TZDate } from "./src-DzXUmsyK.mjs";
9
9
  import { i as useOptionalLocationPickerEnvironment, n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-D4F_5rnr.mjs";
10
- import { a as publicationLabel, o as Spinner, s as Separator, t as useAutosaveStatus } from "./useAutosaveStatus-CakNU3lp.mjs";
11
- import { A as Tooltip, C as blockLookOwnedFieldPaths, D as showRawStyleFields, E as prepareBlockEditorManifest, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, O as getBlockManifestFromSdkConfig, P as Badge, S as arrangementVisibilityValues, T as hideThemeV2RawStyleFields, V as DropdownMenuSeparator, _ as createFieldObservation, b as arrangementLookResolution, f as arrangementBlockControlsFor, g as isRecord$1, h as isObjectRecord, i as NEEDS_SETUP_LABEL, j as TooltipContent, k as mergeBlockDescriptors, l as needsSetupOf, m as createStoreBackend, n as resolveBlockManifest, o as blockNoticeLabel, p as arrangementLookNameFor, r as useBlockCustomizeControls, s as blockNoticeMessage, u as useBlockNotice, v as SdkConfigProvider, w as lookNotShownFieldIds, x as arrangementOwnedFieldIds, y as useSdkConfig } from "./useOpenBlockForSetup-CCEMkosU.mjs";
10
+ import { a as publicationLabel, o as Spinner, s as Separator, t as useAutosaveStatus } from "./useAutosaveStatus-CPAHgGqI.mjs";
11
+ import { A as Tooltip, C as blockLookOwnedFieldPaths, D as showRawStyleFields, E as prepareBlockEditorManifest, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, O as getBlockManifestFromSdkConfig, P as Badge, S as arrangementVisibilityValues, T as hideThemeV2RawStyleFields, V as DropdownMenuSeparator, _ as createFieldObservation, b as arrangementLookResolution, f as arrangementBlockControlsFor, g as isRecord$1, h as isObjectRecord, i as NEEDS_SETUP_LABEL, j as TooltipContent, k as mergeBlockDescriptors, l as needsSetupOf, m as createStoreBackend, n as resolveBlockManifest, o as blockNoticeLabel, p as arrangementLookNameFor, r as useBlockCustomizeControls, s as blockNoticeMessage, u as useBlockNotice, v as SdkConfigProvider, w as lookNotShownFieldIds, x as arrangementOwnedFieldIds, y as useSdkConfig } from "./useOpenBlockForSetup-BDkuSZxQ.mjs";
12
12
  import * as React$1 from "react";
13
13
  import React, { Fragment, createContext, forwardRef, memo, useCallback, useContext, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
14
14
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -8037,106 +8037,6 @@ const automaticPageDocumentIntent = {
8037
8037
  boundaryPins: []
8038
8038
  };
8039
8039
  //#endregion
8040
- //#region ../theme-core/src/fonts/types.ts
8041
- /**
8042
- * The Supabase storage bucket name for site fonts
8043
- */
8044
- const SITE_FONTS_BUCKET = "site-fonts";
8045
- /**
8046
- * Construct the storage base URL for site fonts
8047
- *
8048
- * @param supabaseUrl - The Supabase project URL (e.g., https://xxx.supabase.co)
8049
- * @returns The full storage URL for the site-fonts bucket
8050
- *
8051
- * @example
8052
- * ```ts
8053
- * const storageUrl = getSiteFontsStorageUrl('https://xxx.supabase.co')
8054
- * // Returns: 'https://xxx.supabase.co/storage/v1/object/public/site-fonts'
8055
- * ```
8056
- */
8057
- function getSiteFontsStorageUrl(supabaseUrl) {
8058
- return `${supabaseUrl}/storage/v1/object/public/${SITE_FONTS_BUCKET}`;
8059
- }
8060
- /**
8061
- * Build a lightweight Google Fonts stylesheet URL for a family-name preview.
8062
- * The text subset keeps catalog rows cheap while still rendering the name in
8063
- * the typeface being chosen. Pass `text` when the preview draws something
8064
- * other than the name (a sample heading, "Aa"); its letters are deduplicated.
8065
- */
8066
- function buildFontPreviewUrl(family, text = family) {
8067
- return `https://fonts.googleapis.com/css2?family=${encodeURIComponent(family).replace(/%20/gu, "+")}&display=swap&text=${encodeURIComponent(text === family ? family : [...new Set(text)].join(""))}`;
8068
- }
8069
- /**
8070
- * Escape a string for use in CSS font-family declaration
8071
- * Escapes quotes, backslashes, and newlines
8072
- */
8073
- function escapeCssFontFamily(name) {
8074
- return name.replace(/\\/g, "\\\\").replace(/'/g, "\\'").replace(/"/g, "\\\"").replace(/\n/g, "\\n").replace(/\r/g, "\\r");
8075
- }
8076
- /**
8077
- * Encode storage path segments for use in URLs
8078
- * Encodes each path segment individually to handle special characters
8079
- */
8080
- function encodeStoragePath(storagePath) {
8081
- return storagePath.split("/").map((segment) => encodeURIComponent(segment)).join("/");
8082
- }
8083
- /**
8084
- * Generate @font-face CSS for a single font file
8085
- */
8086
- function generateFontFaceForFile(familyName, file, storageBaseUrl) {
8087
- return `@font-face {
8088
- font-family: '${escapeCssFontFamily(familyName)}';
8089
- src: url('${`${storageBaseUrl}/${encodeStoragePath(file.storagePath)}`}') format('woff2');
8090
- font-weight: ${file.weight};
8091
- font-style: ${file.style};
8092
- font-display: swap;
8093
- }`;
8094
- }
8095
- /**
8096
- * Generate @font-face CSS for a variable font
8097
- */
8098
- function generateFontFaceForVariableFont(familyName, file, weightMin, weightMax, storageBaseUrl) {
8099
- return `@font-face {
8100
- font-family: '${escapeCssFontFamily(familyName)}';
8101
- src: url('${`${storageBaseUrl}/${encodeStoragePath(file.storagePath)}`}') format('woff2');
8102
- font-weight: ${weightMin} ${weightMax};
8103
- font-style: ${file.style};
8104
- font-display: swap;
8105
- }`;
8106
- }
8107
- /**
8108
- * Generate all @font-face rules for custom fonts
8109
- *
8110
- * @param fonts - Array of custom fonts
8111
- * @param storageBaseUrl - Base URL for storage (e.g., https://xxx.supabase.co/storage/v1/object/public/site-fonts)
8112
- * @returns CSS string with all @font-face rules
8113
- */
8114
- function generateFontFaceCss(fonts, storageBaseUrl) {
8115
- const rules = [];
8116
- const seenFamilies = /* @__PURE__ */ new Set();
8117
- for (const font of fonts) {
8118
- if (seenFamilies.has(font.familyName)) continue;
8119
- seenFamilies.add(font.familyName);
8120
- if (font.isVariable && font.variableWeightMin && font.variableWeightMax) {
8121
- const normalFile = font.files.find((f) => f.style === "normal");
8122
- const italicFile = font.files.find((f) => f.style === "italic");
8123
- if (normalFile) rules.push(generateFontFaceForVariableFont(font.familyName, normalFile, font.variableWeightMin, font.variableWeightMax, storageBaseUrl));
8124
- if (italicFile) rules.push(generateFontFaceForVariableFont(font.familyName, italicFile, font.variableWeightMin, font.variableWeightMax, storageBaseUrl));
8125
- } else for (const file of font.files) rules.push(generateFontFaceForFile(font.familyName, file, storageBaseUrl));
8126
- }
8127
- return rules.join("\n\n");
8128
- }
8129
- /** CSS2 axis tuples are sorted normal-first, then real italic weights. */
8130
- function buildGoogleFontFamilyQuery(family, weights, italics = [], widthRange) {
8131
- const name = encodeURIComponent(family.replace(/\s+/g, "+")).replace(/%2B/g, "+");
8132
- const normal = [...new Set(weights)].sort((a, b) => a - b);
8133
- const width = widthRange ? `${widthRange.min}..${widthRange.max},` : "";
8134
- const axes = widthRange ? "wdth,wght" : "wght";
8135
- if (italics.length === 0) return `family=${name}:${axes}@${normal.map((weight) => `${width}${weight}`).join(";")}`;
8136
- const italic = [...new Set(italics)].sort((a, b) => a - b);
8137
- return `family=${name}:ital,${axes}@${[...normal.map((weight) => `0,${width}${weight}`), ...italic.map((weight) => `1,${width}${weight}`)].join(";")}`;
8138
- }
8139
- //#endregion
8140
8040
  //#region ../blocks/src/subroutes/formatDate.ts
8141
8041
  /** Occurrence instants name the occurrence-local day; civil keys preserve their day. */
8142
8042
  function formatOccurrenceDate(iso, context) {
@@ -8229,215 +8129,6 @@ function ThemeScope({ theme, children, themeId = "theme-default", responsiveMode
8229
8129
  });
8230
8130
  }
8231
8131
  //#endregion
8232
- //#region ../theme-core/src/ThemeFontLoader.tsx
8233
- /**
8234
- * Map typography weight names to numeric CSS font-weight values.
8235
- * These values correspond to the weight enum in schema.ts (typographyStyleSchema).
8236
- * Keep in sync if new weight options are added to the schema.
8237
- */
8238
- const WEIGHT_MAP = {
8239
- light: 300,
8240
- regular: 400,
8241
- medium: 500,
8242
- semibold: 600,
8243
- bold: 700,
8244
- black: 800
8245
- };
8246
- function resolveNamedWeight(weight) {
8247
- if (typeof weight === "number" && Number.isFinite(weight)) return weight;
8248
- if (typeof weight !== "string") return null;
8249
- return WEIGHT_MAP[weight] ?? null;
8250
- }
8251
- /**
8252
- * Extract the primary font family from a CSS font-family stack
8253
- * e.g., "Inter, system-ui, sans-serif" -> "Inter"
8254
- */
8255
- function extractPrimaryFont(family) {
8256
- return (family.split(",")[0] ?? "").trim().replace(/^["']|["']$/g, "");
8257
- }
8258
- function collectFontFamilies(typography) {
8259
- return new Set([
8260
- typography.body.family,
8261
- typography.headings.default.family,
8262
- ...typography.eyebrow?.width != null ? [typography.eyebrow.family] : [],
8263
- ...typography.smallHeading ? [typography.smallHeading.family] : []
8264
- ].map(extractPrimaryFont).filter(Boolean));
8265
- }
8266
- /**
8267
- * Collect font weights per font family from typography config
8268
- * Returns a Map of font family -> Set of numeric weights
8269
- */
8270
- function collectFontWeights(typography, buttonFontWeight, extraBodyFontWeights, extraHeadingFontWeights) {
8271
- const bodyFamily = extractPrimaryFont(typography.body.family);
8272
- const headingFamily = extractPrimaryFont(typography.headings.default.family);
8273
- const headingStyles = [typography.headings.default, ...[
8274
- "h1",
8275
- "h2",
8276
- "h3",
8277
- "h4",
8278
- "h5",
8279
- "h6"
8280
- ].map((level) => typography.headings[level])];
8281
- const entries = [
8282
- ...typography.smallHeading ? [{
8283
- family: extractPrimaryFont(typography.smallHeading.family),
8284
- weights: [resolveNamedWeight(typography.smallHeading.weight)]
8285
- }] : [],
8286
- {
8287
- family: bodyFamily,
8288
- weights: [
8289
- resolveNamedWeight(typography.body.weight),
8290
- buttonFontWeight,
8291
- ...extraBodyFontWeights ?? []
8292
- ]
8293
- },
8294
- {
8295
- family: headingFamily,
8296
- weights: [...headingStyles.map((style) => resolveNamedWeight(style?.weight)), ...extraHeadingFontWeights ?? []]
8297
- },
8298
- ...typography.eyebrow?.width != null ? [{
8299
- family: extractPrimaryFont(typography.eyebrow.family),
8300
- weights: [resolveNamedWeight(typography.eyebrow.weight) ?? 600]
8301
- }] : []
8302
- ];
8303
- return new Map([...collectFontFamilies(typography)].map((family) => [family, /* @__PURE__ */ new Set([400, ...entries.filter((entry) => entry.family === family).flatMap((entry) => entry.weights).filter((weight) => typeof weight === "number" && Number.isFinite(weight))])]));
8304
- }
8305
- /**
8306
- * Build Google Fonts CSS2 API URL for the given typography config.
8307
- * Includes all font weights used by the theme so they load correctly.
8308
- */
8309
- function buildGoogleFontsUrl(typography, buttonFontWeight, extraBodyFontWeights, extraHeadingFontWeights, italicWeights = {}, customFonts = []) {
8310
- const families = collectFontFamilies(typography);
8311
- if (families.size === 0) return null;
8312
- const fontWeights = collectFontWeights(typography, buttonFontWeight, extraBodyFontWeights, extraHeadingFontWeights);
8313
- const familyParams = Array.from(families).filter((family) => !findCustomFont(family, customFonts)).map((family) => {
8314
- const weights = fontWeights.get(family);
8315
- return buildGoogleFontFamilyQuery(family, weights ? Array.from(weights).sort((a, b) => a - b) : [400], italicWeights[family] ?? [], usedFontWidthRange(typography, family));
8316
- }).join("&");
8317
- return familyParams ? `https://fonts.googleapis.com/css2?${familyParams}&display=swap` : null;
8318
- }
8319
- /**
8320
- * Find a custom font by family name (case-insensitive match)
8321
- */
8322
- function findCustomFont(familyName, customFonts) {
8323
- const normalized = familyName.toLowerCase();
8324
- return customFonts.find((f) => f.familyName.toLowerCase() === normalized);
8325
- }
8326
- function usedFontWidthRange(typography, family) {
8327
- const bodyUsesWidth = extractPrimaryFont(typography.body.family) === family && typography.body.width != null;
8328
- const headingUsesWidth = extractPrimaryFont(typography.headings.default.family) === family && [typography.headings.default, ...[
8329
- "h1",
8330
- "h2",
8331
- "h3",
8332
- "h4",
8333
- "h5",
8334
- "h6"
8335
- ].map((level) => typography.headings[level])].some((style) => style?.width != null);
8336
- const eyebrowUsesWidth = typography.eyebrow?.width != null && extractPrimaryFont(typography.eyebrow.family) === family;
8337
- return bodyUsesWidth || headingUsesWidth || eyebrowUsesWidth ? getFontWidthRange(family) : void 0;
8338
- }
8339
- function ThemeFontLoader({ typography, buttonFontWeight, extraBodyFontWeights, extraHeadingFontWeights, italicBodyFontWeights, italicHeadingFontWeights, customFonts, storageBaseUrl }) {
8340
- const italicWeights = React$1.useMemo(() => {
8341
- const body = extractPrimaryFont(typography.body.family);
8342
- const heading = extractPrimaryFont(typography.headings.default.family);
8343
- return {
8344
- [body]: italicBodyFontWeights ?? [],
8345
- [heading]: [...body === heading ? italicBodyFontWeights ?? [] : [], ...italicHeadingFontWeights ?? []]
8346
- };
8347
- }, [
8348
- typography,
8349
- italicBodyFontWeights,
8350
- italicHeadingFontWeights
8351
- ]);
8352
- const googleFontsUrl = React$1.useMemo(() => buildGoogleFontsUrl(typography, buttonFontWeight, extraBodyFontWeights, extraHeadingFontWeights, italicWeights, customFonts), [
8353
- typography,
8354
- buttonFontWeight,
8355
- extraBodyFontWeights,
8356
- extraHeadingFontWeights,
8357
- customFonts,
8358
- italicWeights
8359
- ]);
8360
- const customFontCss = React$1.useMemo(() => {
8361
- if (!customFonts || customFonts.length === 0 || !storageBaseUrl) return null;
8362
- const families = collectFontFamilies(typography);
8363
- const usedCustomFonts = [];
8364
- for (const familyName of families) {
8365
- const customFont = findCustomFont(familyName, customFonts);
8366
- if (customFont) usedCustomFonts.push(customFont);
8367
- }
8368
- if (usedCustomFonts.length === 0) return null;
8369
- return generateFontFaceCss(usedCustomFonts, storageBaseUrl);
8370
- }, [
8371
- typography,
8372
- customFonts,
8373
- storageBaseUrl
8374
- ]);
8375
- const hasGoogleFonts = !!googleFontsUrl;
8376
- const hasCustomFonts = !!customFontCss;
8377
- if (!hasGoogleFonts && !hasCustomFonts) return null;
8378
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [hasCustomFonts && /* @__PURE__ */ jsx("style", { dangerouslySetInnerHTML: { __html: escapeStyleContent(customFontCss) } }), hasGoogleFonts && /* @__PURE__ */ jsxs(Fragment$1, { children: [
8379
- /* @__PURE__ */ jsx("link", {
8380
- rel: "preconnect",
8381
- href: "https://fonts.googleapis.com"
8382
- }),
8383
- /* @__PURE__ */ jsx("link", {
8384
- rel: "preconnect",
8385
- href: "https://fonts.gstatic.com",
8386
- crossOrigin: ""
8387
- }),
8388
- /* @__PURE__ */ jsx("link", {
8389
- rel: "stylesheet",
8390
- href: googleFontsUrl
8391
- })
8392
- ] })] });
8393
- }
8394
- function getThemeFontLoadingOptions(theme) {
8395
- const buttonFontWeight = typeof theme.buttons?.global?.fontWeight === "number" ? theme.buttons.global.fontWeight : void 0;
8396
- const fontLoading = themeFontLoading(theme);
8397
- const extraBody = new Set(fontLoading.extraBodyFontWeights);
8398
- const extraHeading = new Set(fontLoading.extraHeadingFontWeights);
8399
- const labelWeight = resolveNamedWeight(theme.inputs?.label?.fontWeight);
8400
- if (labelWeight && labelWeight !== 400) extraBody.add(labelWeight);
8401
- const addNavLinkWeight = (options) => {
8402
- const weight = resolveNamedWeight(options?.fontWeight);
8403
- if (!weight || weight === 400) return;
8404
- if (options?.typography === "heading") extraHeading.add(weight);
8405
- else extraBody.add(weight);
8406
- };
8407
- const navFontRole = theme.header?.navFontRole;
8408
- if (navFontRole) addNavLinkWeight({
8409
- typography: navFontRole,
8410
- fontWeight: theme.header.navLinkStyle?.fontWeight ?? theme.header.navWeight
8411
- });
8412
- else addNavLinkWeight(theme.header?.navLinkStyle);
8413
- addNavLinkWeight(theme.footer?.navLinkStyle);
8414
- return {
8415
- buttonFontWeight,
8416
- italicBodyFontWeights: fontLoading.italicBodyFontWeights,
8417
- italicHeadingFontWeights: fontLoading.italicHeadingFontWeights,
8418
- extraBodyFontWeights: extraBody.size > 0 ? Array.from(extraBody).sort((a, b) => a - b) : void 0,
8419
- extraHeadingFontWeights: extraHeading.size > 0 ? Array.from(extraHeading).sort((a, b) => a - b) : void 0
8420
- };
8421
- }
8422
- function ThemeFontLoaderFromTheme({ theme, customFonts, storageBaseUrl }) {
8423
- const typography = theme.typography;
8424
- if (!typography) return null;
8425
- const { buttonFontWeight, extraBodyFontWeights, extraHeadingFontWeights, italicBodyFontWeights, italicHeadingFontWeights } = getThemeFontLoadingOptions(theme);
8426
- return /* @__PURE__ */ jsx(ThemeFontLoader, {
8427
- typography,
8428
- buttonFontWeight,
8429
- extraBodyFontWeights,
8430
- extraHeadingFontWeights,
8431
- italicBodyFontWeights,
8432
- italicHeadingFontWeights,
8433
- customFonts,
8434
- storageBaseUrl
8435
- });
8436
- }
8437
- function themeFontLoading(theme) {
8438
- return theme.fontLoading ?? {};
8439
- }
8440
- //#endregion
8441
8132
  //#region ../content-model/src/content-types/entryValidation.ts
8442
8133
  function hasRepeaterVariants(field) {
8443
8134
  return field.itemTypes !== void 0;
@@ -21036,6 +20727,7 @@ function DatePickerPopover({ selectedDate, onSelectDate, onOpenChange, placehold
21036
20727
  labels: calendarLabels,
21037
20728
  locale: calendarLocale,
21038
20729
  selected: selectedDate ?? void 0,
20730
+ defaultMonth: selectedDate ?? void 0,
21039
20731
  onSelect: handleSelect,
21040
20732
  initialFocus: true,
21041
20733
  disabled
@@ -25836,7 +25528,7 @@ function RichTextField({ path, backend, config }) {
25836
25528
  editor,
25837
25529
  config: editorConfig,
25838
25530
  isEmpty,
25839
- placeholderText: "Add text",
25531
+ placeholderText: config.ui?.placeholder ?? "Add text",
25840
25532
  onPickImage,
25841
25533
  linkItems,
25842
25534
  onRequestLinkItems: loadLinkItems,
@@ -25851,7 +25543,7 @@ function RichTextField({ path, backend, config }) {
25851
25543
  });
25852
25544
  }
25853
25545
  function toEditorContent(value) {
25854
- if (value === void 0) return EMPTY_DOC;
25546
+ if (value == null) return EMPTY_DOC;
25855
25547
  if (!isRichTextDoc(value)) throw new TypeError("Rich-text editor requires a canonical TipTap document");
25856
25548
  return value;
25857
25549
  }
@@ -34383,22 +34075,23 @@ const typographyFontCategories = [
34383
34075
  }
34384
34076
  ];
34385
34077
  /**
34386
- * Display and handwriting faces are drawn for a few large words. Set as
34387
- * paragraphs and navigation they're hard to read, so the body slot doesn't
34388
- * offer them. A site's own uploaded fonts stay on offer, because someone chose
34389
- * those on purpose, and so do fonts Google hasn't given a category.
34078
+ * Body text is paragraphs, menus and buttons, so the body slot offers only
34079
+ * Google families built for reading (`isBodyFontFamily`, the same rule the
34080
+ * server applies). A site's own uploaded fonts stay on offer, because someone
34081
+ * chose those on purpose. Headings offer everything.
34390
34082
  */
34391
- const headingOnlyCategories = /* @__PURE__ */ new Set(["display", "handwriting"]);
34083
+ const headingOnlyCategories = /* @__PURE__ */ new Set([
34084
+ "display",
34085
+ "handwriting",
34086
+ "monospace"
34087
+ ]);
34392
34088
  /** The category filters a slot shows: the body slot leaves out the ones it doesn't offer. */
34393
34089
  function typographyFontCategoriesForSlot(slot) {
34394
34090
  return slot === "body" ? typographyFontCategories.filter((option) => !headingOnlyCategories.has(option.value)) : typographyFontCategories;
34395
34091
  }
34396
- function fontOptionSuitsSlot(option, slot) {
34397
- return slot === "heading" || option.source === "site" || option.category === null || !headingOnlyCategories.has(option.category);
34398
- }
34399
34092
  /** The Google families a slot can offer, before any search or category. */
34400
34093
  function googleFontsForSlot(googleFonts, slot) {
34401
- return googleFonts.filter((font) => !/^material (?:icons|symbols)(?:\s|$)/iu.test(font.family.trim())).filter((font) => fontOptionSuitsSlot(googleFontOption(font), slot));
34094
+ return googleFonts.filter((font) => !/^material (?:icons|symbols)(?:\s|$)/iu.test(font.family.trim())).filter((font) => slot === "heading" || isBodyFontFamily(font.family));
34402
34095
  }
34403
34096
  /** The name a category goes by, on its filter and beside a font in the list. */
34404
34097
  function typographyFontCategoryLabel(category) {
@@ -34515,29 +34208,6 @@ function familyKey(family) {
34515
34208
  return family.trim().toLocaleLowerCase();
34516
34209
  }
34517
34210
  //#endregion
34518
- //#region ../preview-next/src/client/fonts/siteFontPreview.tsx
34519
- /** Load complete faces for the staged theme, separately from picker subsets. */
34520
- function TypographyThemeFontStyles({ theme, siteFonts }) {
34521
- const siteFontStorageUrl = useSiteFontStorageUrl();
34522
- return /* @__PURE__ */ jsx(ThemeFontLoaderFromTheme, {
34523
- theme,
34524
- customFonts: [...siteFonts],
34525
- storageBaseUrl: siteFontStorageUrl ? getSiteFontsStorageUrl(siteFontStorageUrl) : void 0
34526
- });
34527
- }
34528
- function buildSiteFontFaceCss(siteFonts, siteFontStorageUrl) {
34529
- if (!siteFontStorageUrl || siteFonts.length === 0) return "";
34530
- return generateFontFaceCss([...siteFonts], getSiteFontsStorageUrl(siteFontStorageUrl));
34531
- }
34532
- function SiteFontFaceStyles({ siteFonts }) {
34533
- const siteFontStorageUrl = useSiteFontStorageUrl();
34534
- const css = useMemo(() => buildSiteFontFaceCss(siteFonts, siteFontStorageUrl), [siteFontStorageUrl, siteFonts]);
34535
- return css ? /* @__PURE__ */ jsx("style", {
34536
- "data-typography-site-fonts": true,
34537
- children: css
34538
- }) : null;
34539
- }
34540
- //#endregion
34541
34211
  //#region ../preview-next/src/client/fonts/TypographyEditor.tsx
34542
34212
  const typographyOverviewSurface = { kind: "overview" };
34543
34213
  function useTypographyFontCatalog(apiClient, siteId, enabled) {
@@ -34551,6 +34221,7 @@ function useTypographyFontCatalog(apiClient, siteId, enabled) {
34551
34221
  });
34552
34222
  const googleRequestRef = useRef(null);
34553
34223
  const siteRequestRef = useRef(null);
34224
+ const rememberSiteFonts = useRememberSiteFonts();
34554
34225
  useEffect(() => {
34555
34226
  if (!enabled) return;
34556
34227
  if (googleRequestRef.current?.apiClient === apiClient) return;
@@ -34618,10 +34289,12 @@ function useTypographyFontCatalog(apiClient, siteId, enabled) {
34618
34289
  siteId: requestedSiteId,
34619
34290
  status: "loaded"
34620
34291
  };
34292
+ const fonts = Array.isArray(value?.fonts) ? value.fonts : [];
34621
34293
  setSite({
34622
34294
  kind: "loaded",
34623
- value: Array.isArray(value?.fonts) ? value.fonts : []
34295
+ value: fonts
34624
34296
  });
34297
+ rememberSiteFonts(fonts);
34625
34298
  }
34626
34299
  } catch (error) {
34627
34300
  if (!cancelled) {
@@ -34642,7 +34315,8 @@ function useTypographyFontCatalog(apiClient, siteId, enabled) {
34642
34315
  }, [
34643
34316
  apiClient,
34644
34317
  enabled,
34645
- siteId
34318
+ siteId,
34319
+ rememberSiteFonts
34646
34320
  ]);
34647
34321
  return {
34648
34322
  google,
@@ -35605,13 +35279,10 @@ function StyleConfigurator({ siteId, apiClient, buttonStyleRepairs, onFocusedSur
35605
35279
  const headerSurfaceState = siteChromeCustomize.getSurfaceState("header");
35606
35280
  const styleSelections = siteChromeCustomize.styleSelections;
35607
35281
  const { handlePreviewButtonStyle, handlePreviewHeaderLayout, handlePreviewHeaderStyle, handlePreviewFooterLook, handlePreviewPalette, handleHeadingTypographyChange, handleBodyTypographyChange, handleTypographyScaleChange, handleTokenOverride, handleChooseSiteStyle } = controls;
35608
- if (expandedRow === "typography" && typographySurface.kind !== "overview") return /* @__PURE__ */ jsxs("div", {
35282
+ if (expandedRow === "typography" && typographySurface.kind !== "overview") return /* @__PURE__ */ jsx("div", {
35609
35283
  className: "flex h-full min-h-0 flex-col",
35610
35284
  "data-style-configurator-focused-surface": true,
35611
- children: [/* @__PURE__ */ jsx(TypographyThemeFontStyles, {
35612
- theme: shown.theme,
35613
- siteFonts: fontCatalog.site.value
35614
- }), typographySurface.kind === "font-picker" ? /* @__PURE__ */ jsx(TypographyFontPickerTakeover, {
35285
+ children: typographySurface.kind === "font-picker" ? /* @__PURE__ */ jsx(TypographyFontPickerTakeover, {
35615
35286
  slot: typographySurface.slot,
35616
35287
  value: typographySurface.slot === "heading" ? currentTypography.headings.default.family : currentTypography.body.family,
35617
35288
  catalog: fontCatalog,
@@ -35626,15 +35297,11 @@ function StyleConfigurator({ siteId, apiClient, buttonStyleRepairs, onFocusedSur
35626
35297
  onBodyChange: handleBodyTypographyChange,
35627
35298
  onScaleChange: handleTypographyScaleChange,
35628
35299
  disabled
35629
- })]
35300
+ })
35630
35301
  });
35631
35302
  return /* @__PURE__ */ jsxs("div", {
35632
35303
  className: "space-y-3",
35633
35304
  children: [
35634
- /* @__PURE__ */ jsx(TypographyThemeFontStyles, {
35635
- theme: shown.theme,
35636
- siteFonts: fontCatalog.site.value
35637
- }),
35638
35305
  /* @__PURE__ */ jsx(SiteStyleRow, {
35639
35306
  expanded: expandedRow === "style",
35640
35307
  onToggle: () => handleToggleRow("style"),
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { $_ as authoredValuesEqual, Bm as DialogHeader, Cm as unwrapResponse, Fm as Dialog, G as useEntryEditorController, Gu as pageTemplateFromEntry, Ht as PREVIEW_CHROME_Z_INDEX, Ih as Button, Lm as DialogContent, Pv as displayedValues, Q as useSessionJournalHistory, Rm as DialogDescription, Sn as editorAuthoredBlockDocument, V as usePreviewAuth, Vm as DialogTitle, Wh as cn, Wv as unsafeAsEditorBlockId, X as useServerRefresh, Xt as useEditorUiStore, Z as useSessionJournal, Zt as useEditorUiStoreInstance, br as readinessFactsFromPayload, im as resolveBlockTitle, lm as editorAdmissionIsOpen, n as usePreviewAssistantSlot, ot as EditorWriteSurface, un as canDiscardDraft, vr as PUBLISH_READINESS_COPY, yr as publishReadinessWarning, zh as cva, zm as DialogFooter } from "./previewAssistantSlot-Caofnr1Z.mjs";
2
+ import { $y as unsafeAsEditorBlockId, Ah as unwrapResponse, G as useEntryEditorController, Gd as pageTemplateFromEntry, Gh as DialogDescription, Hh as Dialog, Ht as PREVIEW_CHROME_Z_INDEX, Jh as DialogTitle, Kg as cva, Kh as DialogFooter, Q as useSessionJournalHistory, Sn as editorAuthoredBlockDocument, Ug as Button, Uy as displayedValues, V as usePreviewAuth, Wh as DialogContent, X as useServerRefresh, Xt as useEditorUiStore, Z as useSessionJournal, Zg as cn, Zt as useEditorUiStoreInstance, br as readinessFactsFromPayload, lh as resolveBlockTitle, mh as editorAdmissionIsOpen, n as usePreviewAssistantSlot, ot as EditorWriteSurface, qh as DialogHeader, sy as authoredValuesEqual, un as canDiscardDraft, vr as PUBLISH_READINESS_COPY, yr as publishReadinessWarning } from "./previewAssistantSlot-La6MerV_.mjs";
3
3
  import { $ as EllipsisVertical, A as LoaderCircle, S as Palette, X as Eye, _ as Redo2, o as Undo2, pt as ChevronDown, s as TriangleAlert, y as Pencil } from "./lucide-react-BCNn8dEQ.mjs";
4
- import { i as formatEditorStatus, n as useEditorWriteState, o as Spinner, r as decideEditorStatus } from "./useAutosaveStatus-CakNU3lp.mjs";
5
- import { A as Tooltip, B as DropdownMenuRadioItem, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, N as TooltipTrigger, P as Badge, R as DropdownMenuLabel, V as DropdownMenuSeparator, c as needsSetupAsk, j as TooltipContent, n as resolveBlockManifest, t as useOpenBlockForSetup, z as DropdownMenuRadioGroup } from "./useOpenBlockForSetup-CCEMkosU.mjs";
6
- import { c as writePreviewThemeCookie, f as useEditor, n as usePreviewChromeRoot, o as readPreviewThemeCookie, p as FixedBottomSurface } from "./previewChromeRoot-CbAI_jSH.mjs";
4
+ import { i as formatEditorStatus, n as useEditorWriteState, o as Spinner, r as decideEditorStatus } from "./useAutosaveStatus-CPAHgGqI.mjs";
5
+ import { A as Tooltip, B as DropdownMenuRadioItem, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, N as TooltipTrigger, P as Badge, R as DropdownMenuLabel, V as DropdownMenuSeparator, c as needsSetupAsk, j as TooltipContent, n as resolveBlockManifest, t as useOpenBlockForSetup, z as DropdownMenuRadioGroup } from "./useOpenBlockForSetup-BDkuSZxQ.mjs";
6
+ import { c as writePreviewThemeCookie, f as useEditor, n as usePreviewChromeRoot, o as readPreviewThemeCookie, p as FixedBottomSurface } from "./previewChromeRoot-BcOQqJIP.mjs";
7
7
  import * as React$1 from "react";
8
8
  import { useCallback, useEffect, useMemo, useRef, useState, useTransition } from "react";
9
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";