@riverbankcms/sdk 0.173.0 → 0.174.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 (208) hide show
  1. package/README.md +6 -1
  2. package/dist/_dts/{BlocksIslandsHydrator-O50mTMCY.d.ts → BlocksIslandsHydrator-GqVX3I8E.d.ts} +1 -1
  3. package/dist/_dts/{Page-Bk99sJwV.d.ts → Page-BhUH31M-.d.ts} +27 -16
  4. package/dist/_dts/{SdkPreviewMode-DzAue6Kj.d.ts → SdkPreviewMode-DBn2x0UL.d.ts} +14 -7
  5. package/dist/_dts/{client-ZlNEIvlU.d.ts → client-Cr-sOeSl.d.ts} +1 -1
  6. package/dist/_dts/{content-types-DBXPNc0h.d.ts → content-types-DKw1yJdN.d.ts} +2 -2
  7. package/dist/_dts/{contracts-D9bhu0bb.d.ts → contracts-CJ2O03nB.d.ts} +5 -4
  8. package/dist/_dts/{footerPageOutline-Bfap3soN.d.ts → footerPageOutline-DoGHHKr_.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-DwCdg31h.d.ts → generatePageMetadata-CJGu4hoa.d.ts} +2 -2
  10. package/dist/_dts/{index-C611wjIL.d.ts → index--39uLjrr.d.ts} +1 -1
  11. package/dist/_dts/{index-CJzs-yIJ.d.ts → index-3GzargmS.d.ts} +2 -2
  12. package/dist/_dts/{index-Dq_AboWN.d.ts → index-Bq-488M7.d.ts} +1 -1
  13. package/dist/_dts/{index-KXh8FQ2s.d.ts → index-DQZ5L0Gb.d.ts} +2 -2
  14. package/dist/_dts/{index-DutLU2d2.d.ts → index-DYlfdT1O.d.ts} +2 -1
  15. package/dist/_dts/{index-BnatulTs.d.ts → index-DYsP4k6S.d.ts} +3 -3
  16. package/dist/_dts/{index-DW3eeNph.d.ts → index-DdEi2iXd.d.ts} +4 -4
  17. package/dist/_dts/{loadContent-Bde2y870.d.ts → loadContent-BVPagYmy.d.ts} +11 -11
  18. package/dist/_dts/{request-Bysk4QPI.d.ts → request-Be1E-H-V.d.ts} +3559 -1967
  19. package/dist/_dts/{resolveBlockData-ChbNvpSF.d.ts → resolveBlockData-D1pL25bD.d.ts} +5 -5
  20. package/dist/_dts/{resolvePageContent-CGa6QMgc.d.ts → resolvePageContent-B4sbTf96.d.ts} +2 -2
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client.d.ts +9 -9
  24. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  25. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  28. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  29. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  30. package/dist/_dts/sdk/src/index.d.ts +8 -8
  31. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  33. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  35. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  36. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  37. package/dist/_dts/sdk/src/portal/client.d.ts +4 -2
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +13 -8
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +36 -204
  54. package/dist/_dts/{types-BwitGNTl.d.ts → types-5MeDI1w8.d.ts} +7 -7
  55. package/dist/_dts/{types-BoEk9ZON.d.ts → types-Bm5_3VEd.d.ts} +3 -3
  56. package/dist/_dts/{types-kpp8XyXv.d.ts → types-CVoCc_Ia.d.ts} +2 -2
  57. package/dist/_dts/{validation-ChftKX-o.d.ts → validation-lEtYD-Rh.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-BnUeSE3d.mjs → BlocksIslandsHydrator-DkflFLGQ.mjs} +17 -17
  59. package/dist/client/{BookingMailingListNote-LHQMODqB.mjs → BookingMailingListNote-CAyoiAGD.mjs} +10 -10
  60. package/dist/client/{BookingPanelArrangement-Be704P85.mjs → BookingPanelArrangement-C7yiJrxm.mjs} +1 -1
  61. package/dist/client/{BookingQuestionFields-BewbU_cV.mjs → BookingQuestionFields-DZMrGvBh.mjs} +3 -3
  62. package/dist/client/{CalendarNavigationChevron-BMZp3RS3.mjs → CalendarNavigationChevron-BPQU5Snc.mjs} +6 -6
  63. package/dist/client/{DemoBookingPortalAccess-CARUWQ_E.mjs → DemoBookingPortalAccess-BnEgvJas.mjs} +5 -5
  64. package/dist/client/{EventCalendar.client-CaI6upCX.mjs → EventCalendar.client-BiWQc28-.mjs} +9 -9
  65. package/dist/client/{EventCombined.client-CoRUaYHY.mjs → EventCombined.client-B_ytWQtn.mjs} +7 -7
  66. package/dist/client/{EventItem-Doe4KodB.mjs → EventItem-C-mxXpX_.mjs} +4 -4
  67. package/dist/client/{EventListWeekNavigation-CXWLKDfa.mjs → EventListWeekNavigation-Bm3Ap1Rd.mjs} +1 -1
  68. package/dist/client/{EventListing.client-DvJ5tGTx.mjs → EventListing.client-Bs_8im5_.mjs} +3 -3
  69. package/dist/client/{EventListing.view-BmfyK7S5.mjs → EventListing.view-CN7BjGgC.mjs} +6 -6
  70. package/dist/client/{EventRegistrationPayment-DwMlJB2V.mjs → EventRegistrationPayment-DPkRcSdw.mjs} +11 -10
  71. package/dist/client/{LocationMapActions-CdRPU6gp.mjs → LocationMapActions-BJT7MqP2.mjs} +1 -1
  72. package/dist/client/{MapDrawingSvg-DCLtxOnt.mjs → MapDrawingSvg-DCIwlON6.mjs} +1 -1
  73. package/dist/client/{Page-D46Dmr7b.mjs → Page--xJ23nA5.mjs} +629 -494
  74. package/dist/client/{StepIndicator-CrSZCZn1.mjs → StepIndicator-D391QRNc.mjs} +9 -8
  75. package/dist/client/{accessibleSurfaces-D4DhWo9j.mjs → accessibleSurfaces-DN8it_Cx.mjs} +35 -7
  76. package/dist/client/{accordion-P8xcfKxq.mjs → accordion-BQtTkDN8.mjs} +1 -1
  77. package/dist/client/{bookability-SargNwlO.mjs → bookability-CE637yDE.mjs} +1 -1
  78. package/dist/client/{booking-form.client-BM2s-NqR.mjs → booking-form.client-D9M7TKGV.mjs} +362 -47
  79. package/dist/client/{bookingForm-JnaZPZge.mjs → bookingForm-BsOS0sl9.mjs} +4 -4
  80. package/dist/client/bookings.mjs +6 -6
  81. package/dist/client/{boxStyleClassNames-Cahps5kR.mjs → boxStyleClassNames-CNDLpT06.mjs} +1 -1
  82. package/dist/client/{carousel-CQQ_m0KA.mjs → carousel-CPsW-FPh.mjs} +1 -1
  83. package/dist/client/{cart-0Q4fjw_K.mjs → cart-CwElmocm.mjs} +3 -3
  84. package/dist/client/{cart.client-BI0IaHX3.mjs → cart.client-RpqI56w8.mjs} +1 -1
  85. package/dist/client/{checkout-1J-3ftxF.mjs → checkout-CfMgqY8H.mjs} +3 -3
  86. package/dist/client/{checkout.client-DOGYDlDk.mjs → checkout.client-BpuPyOuJ.mjs} +1 -1
  87. package/dist/client/{checkoutUrls-CwHqcqzP.mjs → checkoutUrls-VeHY6WYj.mjs} +1 -1
  88. package/dist/client/client.mjs +158 -7
  89. package/dist/client/{context-D0KCgbOq.mjs → context-CNlesLfF.mjs} +1 -1
  90. package/dist/client/{course-CmOuoZHN.mjs → course-q1sA4Cj-.mjs} +2 -2
  91. package/dist/client/{creditProducts-BTRX4edc.mjs → creditProducts-KYMVIH3J.mjs} +2 -84
  92. package/dist/client/{dateFormatting-Dmfaczzq.mjs → dateFormatting-B73Ll0s4.mjs} +9 -1
  93. package/dist/client/{demoPortalMagicLink-CL7KGRta.mjs → demoPortalMagicLink-BVbLD4pi.mjs} +1 -1
  94. package/dist/client/{display-lL-YRApN.mjs → display-D8MW2b0e.mjs} +618 -397
  95. package/dist/client/{enhanceHeaderSection-B-eLGs2C.mjs → enhanceHeaderSection-BzjY6AiY.mjs} +3 -3
  96. package/dist/client/{event-details.client-DH1-Jxsh.mjs → event-details.client-CseTWUFC.mjs} +1 -1
  97. package/dist/client/{event-registration.client-GuuElczW.mjs → event-registration.client-b5TLxntR.mjs} +11 -11
  98. package/dist/client/{eventCalendar-BiCINPkV.mjs → eventCalendar-C-kJNIc9.mjs} +4 -4
  99. package/dist/client/{eventCombined-BtzmH6FW.mjs → eventCombined-BgHJGhwE.mjs} +4 -4
  100. package/dist/client/{eventDetails-BJpAD10-.mjs → eventDetails-CAwbreD0.mjs} +2 -2
  101. package/dist/client/{eventListing-jLB8iRqp.mjs → eventListing-_14atrj8.mjs} +4 -4
  102. package/dist/client/{eventRegistration-WhtpDEbq.mjs → eventRegistration-BOqSdstJ.mjs} +4 -4
  103. package/dist/client/{form-DO6qKH3M.mjs → form-DfAB-llc.mjs} +3 -3
  104. package/dist/client/{form.client-D12ljYiX.mjs → form.client-DN-I9_qC.mjs} +6 -6
  105. package/dist/client/{form.parts-C8QHaQOI.mjs → form.parts-t2Q1neM6.mjs} +1 -1
  106. package/dist/client/{formatDate-BnhfIpCa.mjs → formatDate-Dp7POa9Y.mjs} +1 -1
  107. package/dist/client/gifting/client.mjs +2 -2
  108. package/dist/client/{headerSection-BtFWtoUm.mjs → headerSection-Dces54pb.mjs} +2 -2
  109. package/dist/client/{newsletter-form.client-oHrqM_Ao.mjs → newsletter-form.client-D_YFUlR2.mjs} +9 -7
  110. package/dist/client/{newsletter-form.parts-D5U-FuVy.mjs → newsletter-form.parts-URO5Mn_I.mjs} +1 -1
  111. package/dist/client/{newsletterForm-CBYbFxSx.mjs → newsletterForm-_c9fKIzS.mjs} +3 -3
  112. package/dist/client/{noop-CN0o0yjH.mjs → noop-D5mFWXtN.mjs} +30 -6
  113. package/dist/client/portal/client.mjs +346 -272
  114. package/dist/client/{product-detail.client-d_sNCapC.mjs → product-detail.client-CVW1UIxJ.mjs} +1 -1
  115. package/dist/client/{product-list.client-DkSpw6WQ.mjs → product-list.client-CF9hO23G.mjs} +1 -1
  116. package/dist/client/{productDetail-DaqM-LgL.mjs → productDetail-C_qbmUuP.mjs} +3 -3
  117. package/dist/client/{productList-CMx4-XlG.mjs → productList-Df5qDD0z.mjs} +3 -3
  118. package/dist/client/{propsDecoder-BZbUKstC.mjs → propsDecoder-BiEyK2ii.mjs} +3 -3
  119. package/dist/client/{registry.server-Cdot3dMk.mjs → registry.server-ClcfWpvM.mjs} +28 -26
  120. package/dist/client/rendering/client.mjs +26 -26
  121. package/dist/client/rendering/islands.mjs +1 -1
  122. package/dist/client/rendering.mjs +17 -13
  123. package/dist/client/{richText-coerce-ByApwB4q.mjs → richText-coerce-C32cRQ03.mjs} +1 -1
  124. package/dist/client/{routeIslandApiConfig-DTET8f__.mjs → routeIslandApiConfig-DAypPzSo.mjs} +1 -1
  125. package/dist/client/{runtimeResponse-IkOwKZD0.mjs → runtimeResponse-9v8q2NBc.mjs} +1 -1
  126. package/dist/client/runtimeResponse-CVkM0dHy.mjs +3 -0
  127. package/dist/client/{shop-commerce-oDR76k1q.mjs → shop-commerce-Bw4_BXQg.mjs} +12 -12
  128. package/dist/client/{shop-commerce-store-DjoUpL3a.mjs → shop-commerce-store-Da6Ah-_4.mjs} +1 -1
  129. package/dist/client/{shop-discount-apply.state-WsGb9DD8.mjs → shop-discount-apply.state-DidgH7ow.mjs} +2 -2
  130. package/dist/client/{shop-Cy6xXDM7.mjs → shop-gteEpeO5.mjs} +3 -3
  131. package/dist/client/{shop.client-Brha4BSM.mjs → shop.client-CbbdjWWd.mjs} +13 -13
  132. package/dist/client/{shop.interactive-CXhYl0DW.mjs → shop.interactive-CKFORzux.mjs} +13 -20
  133. package/dist/client/{shopShared-JCa_SRhP.mjs → shopShared-C7QjoywZ.mjs} +2 -2
  134. package/dist/client/{timetableModel-CZeJwMxP.mjs → timetableModel-CtZiIj9q.mjs} +24 -14
  135. package/dist/client/{useAvailableSlots-DfbSkWop.mjs → useAvailableSlots-CUVRD1nx.mjs} +24 -4
  136. package/dist/client/{useDiscountApply-Dq-wjb1d.mjs → useDiscountApply-BZU5DWZQ.mjs} +1 -1
  137. package/dist/client/{useDiscountCodeUi-Cyy0meCH.mjs → useDiscountCodeUi-BuLgof7O.mjs} +1 -1
  138. package/dist/client/{useEventPagination-CCAGQHsD.mjs → useEventPagination-B4VPtSEF.mjs} +6 -6
  139. package/dist/client/{view-Sw075FOY.mjs → view-CvlTplao.mjs} +2 -2
  140. package/dist/client/{view-D6yebI4r.mjs → view-CxUpgcM6.mjs} +12 -10
  141. package/dist/preview-next/client/{LocationPickerEnvironment-D4F_5rnr.mjs → LocationPickerEnvironment-8iKKoYZr.mjs} +1 -1
  142. package/dist/preview-next/client/{MapLibreEditMap-BKMNxSEJ.mjs → MapLibreEditMap-AIUPN1Zx.mjs} +2 -2
  143. package/dist/preview-next/client/{PageSectionToolbar-DG2rXUmo.mjs → PageSectionToolbar-BFbSrDbi.mjs} +57 -144
  144. package/dist/preview-next/client/{PreviewEditorSidebar-BDY5vdHU.mjs → PreviewEditorSidebar-BtpzqQ-i.mjs} +758 -1279
  145. package/dist/preview-next/client/{PreviewEditorUI-CqZCfOaz.mjs → PreviewEditorUI-z22h-CCY.mjs} +29 -26
  146. package/dist/preview-next/client/{PreviewShell-Bv2HZ7JY.mjs → PreviewShell-BW3Qpoa_.mjs} +50 -30
  147. package/dist/preview-next/client/{SdkPreviewModeRuntime-BMTcR-MW.mjs → SdkPreviewModeRuntime-BvVeK1hR.mjs} +47 -19
  148. package/dist/preview-next/client/{lucide-react-BCNn8dEQ.mjs → lucide-react-Dfgl3Vtq.mjs} +7 -1
  149. package/dist/preview-next/client/{previewAssistantSlot-La6MerV_.mjs → previewAssistantSlot-BUqAh1FL.mjs} +100626 -51720
  150. package/dist/preview-next/client/{previewChromeRoot-BcOQqJIP.mjs → previewChromeRoot-NCy5zHO8.mjs} +1 -1
  151. package/dist/preview-next/client/runtime.mjs +3 -3
  152. package/dist/preview-next/client/{sdk-runtime-BkckHox4.mjs → sdk-runtime-CxmKDVGZ.mjs} +2 -2
  153. package/dist/preview-next/client/siteStyleAccess-B_UaDyJO.mjs +9356 -0
  154. package/dist/preview-next/client/{useAutosaveStatus-CPAHgGqI.mjs → useAutosaveStatus-BqmWvPLY.mjs} +2 -2
  155. package/dist/preview-next/client/{useOpenBlockForSetup-BDkuSZxQ.mjs → useOpenBlockForSetup-LAllV0rU.mjs} +8 -4
  156. package/dist/preview-next/container-responsive.css +117 -32
  157. package/dist/preview-next/keepAlive.mjs +1 -1
  158. package/dist/preview-next/middleware.mjs +1 -1
  159. package/dist/preview-next/{route-contract-CPV30ABr.mjs → route-contract-DV6SeCNv.mjs} +152 -2
  160. package/dist/server/{Block.shared-BaMMstO1.mjs → Block.shared-Ch2FKAvU.mjs} +10 -5
  161. package/dist/server/{ThemeScopeCore-D1NTXZdX.mjs → ThemeScopeCore-DFvjDVzi.mjs} +23 -6
  162. package/dist/server/{accessibleSurfaces-Dbd2__Le.mjs → accessibleSurfaces-CM3QANtw.mjs} +22 -5
  163. package/dist/server/{bindings-Dge4sqel.mjs → bindings-CQg2lzZn.mjs} +6 -4
  164. package/dist/server/{client-VVIQjC4r.mjs → client-aYRTVneD.mjs} +155 -4
  165. package/dist/server/config-validation.mjs +1 -1
  166. package/dist/server/config.mjs +2 -2
  167. package/dist/server/customCss-BGB8gMVb.mjs +210 -0
  168. package/dist/server/data/resolveBlockData.mjs +1 -1
  169. package/dist/server/index.mjs +2 -2
  170. package/dist/server/{loadContent-BIJb3WAK.mjs → loadContent-Cgpfr44e.mjs} +8 -9
  171. package/dist/server/{loadPage-DjTU19y7.mjs → loadPage-RDk10NMP.mjs} +3 -3
  172. package/dist/server/lookMediaFrame-CQtkvlDn.mjs +2528 -0
  173. package/dist/server/manifest.mjs +2 -2
  174. package/dist/server/next.mjs +9 -8
  175. package/dist/server/{overrideResolution-1Ru3NMQj.mjs → overrideResolution-VhhN94d8.mjs} +3 -4
  176. package/dist/server/page-converter.mjs +2 -2
  177. package/dist/server/{pageRenderPlan-CytPhrI9.mjs → pageRenderPlan-CkFTsxkd.mjs} +25 -17
  178. package/dist/server/{pageRuntimeSupport-DWspU5EZ.mjs → pageRuntimeSupport-CpAtzNxD.mjs} +14 -6
  179. package/dist/server/{pageShared-Bhx8bVe1.mjs → pageShared-B8yLPjs0.mjs} +371 -56
  180. package/dist/server/{parseThemeForPersistence-CtgRtvo3.mjs → parseThemeForPersistence-Cwqb5pZx.mjs} +2 -2
  181. package/dist/server/{portal-Ce1Prfl3.mjs → portal-BjVHMAUC.mjs} +1 -1
  182. package/dist/server/portal.mjs +1 -1
  183. package/dist/server/{prebuild-BjvFb0CA.mjs → prebuild-DOu6QceG.mjs} +1 -1
  184. package/dist/server/prebuild.mjs +1 -1
  185. package/dist/server/{prefetchBlockData-Db3stNpp.mjs → prefetchBlockData-CfOXFKYG.mjs} +2 -2
  186. package/dist/server/{registry-BMCfcev6.mjs → registry-34rkAfaU.mjs} +608 -3131
  187. package/dist/server/rendering/components/pageShared.mjs +1 -1
  188. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  189. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +2 -2
  190. package/dist/server/rendering/server.mjs +3 -3
  191. package/dist/server/rendering.mjs +7 -7
  192. package/dist/server/{resolveBlockData--yUbI-Ll.mjs → resolveBlockData-D7VeoWgr.mjs} +1 -1
  193. package/dist/server/{resolveButtonColourStates-CCPUY9Xh.mjs → resolveButtonColourStates--6yJp9Tq.mjs} +15 -4
  194. package/dist/server/{schema-D5Vfmqzw.mjs → schema-CUDHMirj.mjs} +46 -153
  195. package/dist/server/server.mjs +3 -3
  196. package/dist/server/{src-Cxucn-1P.mjs → src-DHK4JUlp.mjs} +4 -1
  197. package/dist/server/theme-bridge.mjs +21 -15
  198. package/dist/server/theme.mjs +2 -2
  199. package/dist/server/{three-pass-converter-Bsfdy_ZV.mjs → three-pass-converter-39SXCCnh.mjs} +1 -1
  200. package/dist/server/{titleSourceSchema-DwKJfMYb.mjs → titleSourceSchema-Cu-3PRvv.mjs} +0 -1
  201. package/dist/server/{validation-EgTtnTcY.mjs → validation-CLVKoJrX.mjs} +4 -4
  202. package/dist/server/{version-LjgU0Cq1.mjs → version-HVfdvBJ0.mjs} +1 -1
  203. package/dist/styles/index.css +935 -271
  204. package/package.json +1 -1
  205. package/dist/client/runtimeResponse-Wd6kwhE_.mjs +0 -3
  206. package/dist/preview-next/client/SiteChromeCustomizeButton-D1MGyN_Z.mjs +0 -55403
  207. package/dist/server/customCss-QymcmOZ-.mjs +0 -97
  208. package/dist/server/opaqueSurface-COEKXVwk.mjs +0 -54
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import { c as unsafeAsMediaAssetId, d as parseUuidBrand, f as err, i as resolveManagedMediaReference, l as unsafeAsStorageBucketName, o as parseCanonicalMediaIdentifier, p as ok$1, u as unsafeAsStoragePath } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
3
- import { $ as externalMediaSchema, $t as getBookingLocalDateKey, A as eyebrowTreatmentValues, Bt as formatDateTime, Ct as allocateReductionCents, D as accordionIconSetValues, E as accordionIconMotionValues, F as visibleHeadingDecorationFamilyValues, G as toBookingRequirementConsentField, Gt as inferSiteDateLocale, H as blockBookingConsentSchema, Ht as formatTime$2, Jt as toScheduledBookingDateTime, K as beforeBookingQuestionsPresentationSchema, Kt as resolveBookingDisplayContext, M as headingDecorationOverrideValues, N as isArrangementMode, O as arrangementModes, P as tileTreatmentValues, Q as assetMediaSchema, Rt as formatDate$2, T as accordionIconColorTokenValues, Tt as unsafeAsPositiveCheckoutQuantity, Ut as formatTimeRange, V as blockBookingPaymentTermsSchema, Vt as formatDateTimeRange, Zt as compareLocalScheduleDates, an as toBookingTimeZone, cn as validateBookingPaymentOptionKinds, ct as eventCalendarDefaultViewValues, dn as toNonNegativeCents, dt as eventCalendarListLayoutValues, en as getLocalScheduleDate, et as imageMediaSchema, fn as formatCurrencyAmount, in as resolveBookingTimeZoneId, it as videoMediaSchema, j as headingDecorationColorTokenValues, k as eventListTreatmentValues, lt as eventCalendarDisplayModeValues, n as blockSiteTermsSchema, nn as parseLocalScheduleTime, on as parseUtcIsoDateTimeString, q as bookingQuestionsAnswerValueSchema, rn as resolveBookingBusinessTimeZone, rt as runtimeMediaSchema, sn as toUtcIsoDateTimeString, tt as mediaSchema, wt as normalizeCurrencyCode, zt as formatDateRange } from "./noop-CN0o0yjH.mjs";
4
- import { A as resolveFlexibleBalanceDueAt, C as addIntervalPreservingMonthAnchor, D as getBookingInstalmentPlanIntervalCount, E as getBookingInstalmentDepositRefundability, N as assertNever$2, O as omitZeroAmountFutureRows, P as parseAppointmentServiceId, S as formatCreditProductUnits, a as buildBookingQuestionsSubmission, b as creditProductUnitNoun, d as resolveBookingQuestionsAnswerMode, j as resolveFlexibleBalanceInitialPaymentCents, k as splitAmountWithRemainderInFirst, l as initialBookingQuestionsAnswerMode, o as checkBookingQuestionsAnswered, p as assertNever$3, t as deriveCreditProductLabels, u as initialBookingQuestionsValues, w as clampConfiguredAmount } from "./creditProducts-BTRX4edc.mjs";
3
+ import { $ as assetMediaSchema, $t as compareLocalScheduleDates, A as eventListTreatmentValues, Bt as formatDate$2, D as accordionIconSetValues, E as accordionIconMotionValues, Et as normalizeCurrencyCode, F as tileTreatmentValues, Gt as formatTimeRange, H as blockBookingPaymentTermsSchema, Ht as formatDateTime, I as visibleHeadingDecorationFamilyValues, J as bookingQuestionsAnswerValueSchema, Jt as resolveBookingDisplayContext, K as toBookingRequirementConsentField, M as headingDecorationColorTokenValues, N as headingDecorationOverrideValues, O as arrangementModes, P as isArrangementMode, Qt as addLocalScheduleDays, T as accordionIconColorTokenValues, Tt as allocateReductionCents, U as blockBookingConsentSchema, Ut as formatDateTimeRange, Vt as formatDateRange, Wt as formatTime$2, Xt as toScheduledBookingDateTime, an as resolveBookingBusinessTimeZone, at as videoMediaSchema, cn as parseUtcIsoDateTimeString, en as formatLocalScheduleDate, et as externalMediaSchema, ft as eventCalendarListLayoutValues, in as parseLocalScheduleTime, it as runtimeMediaSchema, j as eyebrowTreatmentValues, k as decorativeTransitionIntentValues, ln as toUtcIsoDateTimeString, lt as eventCalendarDefaultViewValues, mn as formatCurrencyAmount, n as blockSiteTermsSchema, nn as getLocalScheduleDate, nt as mediaSchema, on as resolveBookingTimeZoneId, pn as toNonNegativeCents, q as beforeBookingQuestionsPresentationSchema, qt as inferSiteDateLocale, rn as parseBookingLocalDate, sn as toBookingTimeZone, tn as getBookingLocalDateKey, tt as imageMediaSchema, un as validateBookingPaymentOptionKinds, ut as eventCalendarDisplayModeValues, wt as unsafeAsPositiveCheckoutQuantity } from "./noop-D5mFWXtN.mjs";
4
+ import { A as assertNever$2, C as addIntervalPreservingMonthAnchor, D as getBookingInstalmentPlanIntervalCount, E as getBookingInstalmentDepositRefundability, O as omitZeroAmountFutureRows, S as formatCreditProductUnits, a as buildBookingQuestionsSubmission, b as creditProductUnitNoun, d as resolveBookingQuestionsAnswerMode, j as parseAppointmentServiceId, k as splitAmountWithRemainderInFirst, l as initialBookingQuestionsAnswerMode, o as checkBookingQuestionsAnswered, p as assertNever$3, t as deriveCreditProductLabels, u as initialBookingQuestionsValues, w as clampConfiguredAmount } from "./creditProducts-KYMVIH3J.mjs";
5
5
  import { t as stableJsonStringify } from "./stable-json-D0XAEIXc.mjs";
6
6
  import { l as buildCalendarViewport$1, n as calendarLinks, r as groupItemsByDate } from "./src-xrjaKaCj.mjs";
7
- import { Ct as paletteValueKey, Dt as preparePaletteColourIndex, F as defineButtonStyleRecipe, G as mergeStyles, H as backgroundColorStyle, I as mapButtonRoleAppearances, J as textColorStyle, K as rgbColorValue, L as mapButtonVisualAppearances, P as PUBLIC_BUTTON_ROLES, St as resolveOpaqueSurfaceHex, Tt as requirePaletteColorsFromEntries, X as resolveSurfaceForeground, _ as contextualButtonSurfaceResetStyles, _t as surfaceInkDeclarations, a as requireResolvedSurface, b as BUTTON_CONTRAST_POLICY, bt as ownedThemeSnapshot, c as surfaceButtonRequest, d as toAccessibleColorSurfaceIntent, dt as SURFACE_INK_CSS_VARS, ft as surfaceForegroundDeclarations, h as scrimTone, ht as surfaceForegroundValue, i as prepareThemeSurfaceRevision, it as contrastThresholdByPolicy, j as ELEVATION_OFFSET, kt as featuresFromHex, m as minimumScrimOpacity, o as resolveSurface, ot as expandPalette, p as gradientScrimSamples, t as parseResolvedSurface, u as surfaceTransportContext, ut as SURFACE_FOREGROUND_CSS_VARS, wt as paletteValueKeySchema, xt as resolveConcreteColorHex, yt as freezeOwnedThemeValue } from "./accessibleSurfaces-D4DhWo9j.mjs";
7
+ import { At as featuresFromHex, Ct as resolveOpaqueSurfaceHex, Et as requirePaletteColorsFromEntries, F as defineButtonStyleRecipe, G as mergeStyles, H as backgroundColorStyle, I as mapButtonRoleAppearances, K as rgbColorValue, L as mapButtonVisualAppearances, Ot as preparePaletteColourIndex, P as PUBLIC_BUTTON_ROLES, St as resolveConcreteColorHex, Tt as paletteValueKeySchema, Y as resolveSurfaceForeground, _ as contextualButtonSurfaceResetStyles, _t as surfaceInkDeclarations, a as requireResolvedSurface, b as BUTTON_CONTRAST_POLICY, bt as freezeOwnedThemeValue, c as surfaceButtonRequest, d as toAccessibleColorSurfaceIntent, dt as SURFACE_INK_CSS_VARS, ft as surfaceForegroundDeclarations, h as scrimTone, ht as surfaceForegroundValue, i as prepareThemeSurfaceRevision, it as contrastThresholdByPolicy, j as ELEVATION_OFFSET, m as minimumScrimOpacity, o as resolveSurface, ot as expandPalette, p as gradientScrimSamples, q as textColorStyle, t as parseResolvedSurface, u as surfaceTransportContext, ut as SURFACE_FOREGROUND_CSS_VARS, wt as paletteValueKey, xt as ownedThemeSnapshot } from "./accessibleSurfaces-DN8it_Cx.mjs";
8
8
  import { C as paletteColorsFromEntries, D as parseThemeColorToken, E as parseColorTokenParts, O as themeColorTokenSchema, S as paletteColorEntries, T as paletteModeSchema, b as isThemeColorToken, c as buttonEffectApplicationSchema, f as buttonVisualStatesSchema, g as VARIANT_ROLES, l as buttonPressOffsetSchema, s as unsafeAsOpaqueButtonColourToken, u as buttonSystemSchema, w as paletteColorsSchema, y as hexColorSchema } from "./types-DjWUR_O6.mjs";
9
9
  import { S as clsx } from "./ThemedButton-DuaYtnvG.mjs";
10
10
  import { a as getSupabaseUrl, i as getSiteId, n as getCurrentResolveImageUrlContext, r as getMediaAssetIndex } from "./mediaContext-Fusweriw.mjs";
@@ -410,6 +410,14 @@ function deriveTotalTicketQuantity(lines) {
410
410
  return parsed.ok ? parsed.value : null;
411
411
  }
412
412
  //#endregion
413
+ //#region ../core/src/booking-flexible-balance.ts
414
+ function clampFlexibleBalanceConfiguredAmount(amountCents, totalAmountCents) {
415
+ return Math.max(0, Math.min(amountCents, totalAmountCents));
416
+ }
417
+ function resolveFlexibleBalanceInitialPaymentCents(input) {
418
+ return clampFlexibleBalanceConfiguredAmount(input.config.upfrontAmountCents, input.totalAmountCents);
419
+ }
420
+ //#endregion
413
421
  //#region ../core/src/mailing-list-identifiers.ts
414
422
  const UUID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/iu;
415
423
  const OPAQUE_ID_PATTERN = /^[A-Za-z0-9_-]{1,100}$/u;
@@ -868,6 +876,54 @@ function getBookingLaterInstalments(schedule) {
868
876
  return schedule.filter((row) => row.stateAtBooking === "scheduled");
869
877
  }
870
878
  //#endregion
879
+ //#region ../commerce/src/purchase/stripeMinimumCharge.ts
880
+ const STRIPE_MINIMUM_CHARGE_CENTS_BY_CURRENCY = {
881
+ GBP: 30,
882
+ USD: 50,
883
+ EUR: 50,
884
+ AED: 200,
885
+ AUD: 50,
886
+ BGN: 100,
887
+ BRL: 50,
888
+ CAD: 50,
889
+ CHF: 50,
890
+ CZK: 1500,
891
+ DKK: 250,
892
+ HKD: 400,
893
+ HUF: 17500,
894
+ JPY: 50,
895
+ MXN: 1e3,
896
+ MYR: 200,
897
+ NOK: 300,
898
+ NZD: 50,
899
+ PLN: 200,
900
+ RON: 200,
901
+ SEK: 300,
902
+ SGD: 50,
903
+ THB: 1e3
904
+ };
905
+ function isStripeMinimumChargeCurrency(currency) {
906
+ return currency in STRIPE_MINIMUM_CHARGE_CENTS_BY_CURRENCY;
907
+ }
908
+ function getStripeMinimumChargeRequirement(rawCurrency) {
909
+ let currency;
910
+ try {
911
+ currency = normalizeCurrencyCode(rawCurrency);
912
+ } catch {
913
+ return null;
914
+ }
915
+ const currencyKey = currency;
916
+ if (!isStripeMinimumChargeCurrency(currencyKey)) return null;
917
+ return {
918
+ currency,
919
+ minimumAmountCents: STRIPE_MINIMUM_CHARGE_CENTS_BY_CURRENCY[currencyKey]
920
+ };
921
+ }
922
+ function isStripeChargeBelowMinimum(options) {
923
+ const requirement = getStripeMinimumChargeRequirement(options.currency);
924
+ return Boolean(requirement && options.amountCents > 0 && options.amountCents < requirement.minimumAmountCents);
925
+ }
926
+ //#endregion
871
927
  //#region ../commerce/src/purchase/bookingPaymentSelection.ts
872
928
  /** Identity is decided against the authoritative quote, before display repricing. */
873
929
  function resolveAvailableBookingCollectionOptions(input) {
@@ -878,17 +934,15 @@ function resolveAvailableBookingCollectionOptions(input) {
878
934
  option,
879
935
  totalCents: input.totalCents,
880
936
  anchorAt: input.now,
881
- bookingStartAt: input.bookingStartAt
882
- })).filter((option) => option.kind !== "instalment_plan" || deadline !== null && canInstalmentPlanCompleteBefore({
883
- now: input.now,
884
- deadline,
885
- schedule: option.schedule
886
- }));
937
+ bookingStartAt: input.bookingStartAt,
938
+ timeZone: input.timeZone
939
+ })).filter((option) => canOfferBookingCollectionOption(option, input.currency ?? "USD", deadline));
887
940
  const upfront = resolveBookingCollectionOptionFacts({
888
941
  option: { kind: "upfront" },
889
942
  totalCents: input.totalCents,
890
943
  anchorAt: input.now,
891
- bookingStartAt: input.bookingStartAt
944
+ bookingStartAt: input.bookingStartAt,
945
+ timeZone: input.timeZone
892
946
  });
893
947
  const collapsed = available.map((option) => isBookingCollectionEquivalentToUpfront(option) ? upfront : option);
894
948
  const unique = collapsed.filter((option, index) => collapsed.findIndex((other) => other.kind === option.kind) === index);
@@ -907,7 +961,8 @@ function resolveBookingCollectionOptionFacts(input) {
907
961
  const money = {
908
962
  totalCents: input.totalCents,
909
963
  anchorAt: input.anchorAt,
910
- bookingStartAt: input.bookingStartAt
964
+ bookingStartAt: input.bookingStartAt,
965
+ timeZone: input.timeZone ?? "UTC"
911
966
  };
912
967
  switch (input.option.kind) {
913
968
  case "upfront": return {
@@ -946,10 +1001,7 @@ function resolveBookingCollectionOptionFacts(input) {
946
1001
  config: input.option.config,
947
1002
  dueNowCents,
948
1003
  remainingBalanceCents: Math.max(0, input.totalCents - dueNowCents),
949
- balanceDueAt: resolveFlexibleBalanceDueAt({
950
- bookingStartAt: input.bookingStartAt ?? input.anchorAt,
951
- dueDateRule: input.option.config.dueDateRule
952
- })
1004
+ balanceDueDay: flexibleBalanceDueDay(input.option.config, input.bookingStartAt ?? input.anchorAt, money.timeZone)
953
1005
  };
954
1006
  }
955
1007
  default: return assertNever$1(input.option);
@@ -957,12 +1009,62 @@ function resolveBookingCollectionOptionFacts(input) {
957
1009
  }
958
1010
  /** Discounts change preview money, never an already admitted collection identity. */
959
1011
  function repriceBookingCollectionOptions(input) {
960
- return input.options.map((option) => option.totalCents === input.totalCents ? option : resolveBookingCollectionOptionFacts({
1012
+ const repriced = input.options.map((option) => option.totalCents === input.totalCents ? option : resolveBookingCollectionOptionFacts({
961
1013
  option,
962
1014
  totalCents: input.totalCents,
963
1015
  anchorAt: option.anchorAt,
964
- bookingStartAt: option.bookingStartAt
1016
+ bookingStartAt: option.bookingStartAt,
1017
+ timeZone: option.timeZone
965
1018
  }));
1019
+ const available = repriced.filter((option) => canOfferBookingCollectionOption(option, input.currency, input.instalmentCollectionDeadlineAt));
1020
+ const first = repriced[0];
1021
+ return available.length > 0 || !first ? available : [resolveBookingCollectionOptionFacts({
1022
+ option: { kind: "upfront" },
1023
+ totalCents: input.totalCents,
1024
+ anchorAt: first.anchorAt,
1025
+ bookingStartAt: first.bookingStartAt,
1026
+ timeZone: first.timeZone
1027
+ })];
1028
+ }
1029
+ /** The same admission is used for the offer and the submitted selection. */
1030
+ function canOfferBookingCollectionOption(option, currency, deadline = option.bookingStartAt) {
1031
+ if (option.kind === "upfront" || option.kind === "deferred_manual") return true;
1032
+ const window = bookingCollectionWindow(option);
1033
+ if (!window) return false;
1034
+ const { now, start } = window;
1035
+ if (option.kind === "flexible_balance") return flexibleBalanceCanBeCollected(option, currency, now, start);
1036
+ return deadline !== null && canInstalmentPlanCompleteBefore({
1037
+ now: option.anchorAt,
1038
+ deadline,
1039
+ schedule: option.schedule
1040
+ }) && laterInstalmentsCanBeCollected(option, currency, now);
1041
+ }
1042
+ function laterInstalmentsCanBeCollected(option, currency, now) {
1043
+ return option.schedule.filter((row) => row.stateAtBooking === "scheduled").every((row) => Date.parse(row.dueAt) > now && !isStripeChargeBelowMinimum({
1044
+ amountCents: row.amountCents,
1045
+ currency
1046
+ }));
1047
+ }
1048
+ function flexibleBalanceCanBeCollected(option, currency, now, start) {
1049
+ const today = formatLocalScheduleDate(getLocalScheduleDate(new Date(now), option.timeZone));
1050
+ const startDay = formatLocalScheduleDate(getLocalScheduleDate(new Date(start), option.timeZone));
1051
+ return option.balanceDueDay >= today && option.balanceDueDay < startDay && !isStripeChargeBelowMinimum({
1052
+ amountCents: option.remainingBalanceCents,
1053
+ currency
1054
+ });
1055
+ }
1056
+ function bookingCollectionWindow(option) {
1057
+ const now = Date.parse(option.anchorAt);
1058
+ const start = Date.parse(option.bookingStartAt ?? "");
1059
+ return Number.isFinite(now) && Number.isFinite(start) && start > now ? {
1060
+ now,
1061
+ start
1062
+ } : null;
1063
+ }
1064
+ /** Mirrors private.flexible_balance_due_day: fixed civil date, or local start minus calendar days. */
1065
+ function flexibleBalanceDueDay(config, bookingStartAt, timeZone) {
1066
+ const rule = config.dueDateRule;
1067
+ return formatLocalScheduleDate(rule.kind === "fixed_calendar_date" ? parseBookingLocalDate(rule.dueAt.slice(0, 10)) : addLocalScheduleDays(getLocalScheduleDate(new Date(bookingStartAt), timeZone), -rule.daysBeforeStart));
966
1068
  }
967
1069
  //#endregion
968
1070
  //#region ../commerce/src/purchase/checkoutPaymentFlow.ts
@@ -1044,50 +1146,6 @@ function planFlexibleBalanceCreditFirst(input) {
1044
1146
  };
1045
1147
  }
1046
1148
  //#endregion
1047
- //#region ../commerce/src/purchase/stripeMinimumCharge.ts
1048
- const STRIPE_MINIMUM_CHARGE_CENTS_BY_CURRENCY = {
1049
- GBP: 30,
1050
- USD: 50,
1051
- EUR: 50,
1052
- AED: 200,
1053
- AUD: 50,
1054
- BGN: 100,
1055
- BRL: 50,
1056
- CAD: 50,
1057
- CHF: 50,
1058
- CZK: 1500,
1059
- DKK: 250,
1060
- HKD: 400,
1061
- HUF: 17500,
1062
- JPY: 50,
1063
- MXN: 1e3,
1064
- MYR: 200,
1065
- NOK: 300,
1066
- NZD: 50,
1067
- PLN: 200,
1068
- RON: 200,
1069
- SEK: 300,
1070
- SGD: 50,
1071
- THB: 1e3
1072
- };
1073
- function isStripeMinimumChargeCurrency(currency) {
1074
- return currency in STRIPE_MINIMUM_CHARGE_CENTS_BY_CURRENCY;
1075
- }
1076
- function getStripeMinimumChargeRequirement(rawCurrency) {
1077
- let currency;
1078
- try {
1079
- currency = normalizeCurrencyCode(rawCurrency);
1080
- } catch {
1081
- return null;
1082
- }
1083
- const currencyKey = currency;
1084
- if (!isStripeMinimumChargeCurrency(currencyKey)) return null;
1085
- return {
1086
- currency,
1087
- minimumAmountCents: STRIPE_MINIMUM_CHARGE_CENTS_BY_CURRENCY[currencyKey]
1088
- };
1089
- }
1090
- //#endregion
1091
1149
  //#region ../commerce/src/purchase/checkoutCopy.ts
1092
1150
  /**
1093
1151
  * Customer copy shared by checkout surfaces, so one approved wording reaches
@@ -3083,6 +3141,19 @@ const componentShadowSchema = z.object({ elevation: z.enum([
3083
3141
  "2xl"
3084
3142
  ]).default("sm") });
3085
3143
  //#endregion
3144
+ //#region ../site-contracts/src/siteStyle/footerPreferences.ts
3145
+ const footerEdgeIntentValues = decorativeTransitionIntentValues.filter((id) => id !== "wave-edge-echo");
3146
+ const footerEdgePreferenceSchema = z.discriminatedUnion("kind", [
3147
+ z.strictObject({ kind: z.literal("style-default") }),
3148
+ z.strictObject({ kind: z.literal("none") }),
3149
+ z.strictObject({
3150
+ kind: z.literal("option"),
3151
+ id: z.enum(footerEdgeIntentValues)
3152
+ })
3153
+ ]);
3154
+ z.strictObject({ edge: footerEdgePreferenceSchema });
3155
+ z.strictObject({ edge: footerEdgePreferenceSchema });
3156
+ //#endregion
3086
3157
  //#region ../site-contracts/src/theme/tokenOrColor.ts
3087
3158
  /**
3088
3159
  * Runtime color-reference fields intentionally accept any string, including
@@ -3934,26 +4005,7 @@ const headerSchema = z.object({
3934
4005
  ctaInMobileBar: z.literal(true).optional(),
3935
4006
  dropdownStyle: dropdownStyleSchema
3936
4007
  });
3937
- const footerVariant = z.enum([
3938
- "simple",
3939
- "columns",
3940
- "split",
3941
- "centred"
3942
- ]).transform((value) => value === "columns" ? "simple" : value);
3943
4008
  const footerMaxWidth = z.enum(["container", "full"]);
3944
- const footerNavLayoutMode = z.enum([
3945
- "stack",
3946
- "inline",
3947
- "inline-wrap"
3948
- ]);
3949
- const footerSpacing = z.enum([
3950
- "none",
3951
- "tight",
3952
- "compact",
3953
- "default",
3954
- "relaxed",
3955
- "spacious"
3956
- ]);
3957
4009
  const footerLogoSize = z.enum([
3958
4010
  "sm",
3959
4011
  "md",
@@ -3972,53 +4024,49 @@ const footerBottomTextLinkStyleSchema = z.object({
3972
4024
  decorationColorToken: themeColorTokenSchema.nullable().optional(),
3973
4025
  underline: z.boolean().optional()
3974
4026
  });
3975
- const footerBottomBarSchema = z.object({
3976
- enabled: z.boolean().optional(),
3977
- fullBleed: z.boolean().optional(),
3978
- background: headerBackgroundSchema.optional(),
3979
- textColor: themeColorTokenSchema.nullable().optional(),
3980
- textAlign: z.enum([
3981
- "left",
3982
- "center",
3983
- "right"
3984
- ]).optional(),
3985
- paddingY: footerSpacing.optional(),
3986
- paddingX: footerSpacing.optional(),
3987
- borderTop: z.object({
3988
- colorToken: themeColorTokenSchema.nullable().optional(),
3989
- width: z.enum([
3990
- "none",
3991
- "thin",
3992
- "medium",
3993
- "thick"
3994
- ]).optional()
3995
- }).optional()
4027
+ /**
4028
+ * One footer area's paint: a solid ground and, only where a style needs it, the
4029
+ * text colour to try first. Inks come from the ground's surface resolution.
4030
+ */
4031
+ const footerBandPaintSchema = z.object({
4032
+ ground: themeColorTokenSchema,
4033
+ textColor: themeColorTokenSchema.optional()
4034
+ });
4035
+ /**
4036
+ * The footer's areas. `main` is the footer's own ground; an unpainted area
4037
+ * (`null`) sits on it under a hairline rule.
4038
+ */
4039
+ const footerBandsSchema = z.object({
4040
+ main: footerBandPaintSchema,
4041
+ band: footerBandPaintSchema.nullable(),
4042
+ strip: footerBandPaintSchema.nullable(),
4043
+ base: footerBandPaintSchema.nullable()
3996
4044
  });
3997
- const footerNavLayoutSchema = z.object({ layout: footerNavLayoutMode.optional() });
3998
4045
  const footerLogoSchema = z.object({
3999
4046
  size: footerLogoSize.optional(),
4000
- maxHeight: footerLogoMaxHeight.optional(),
4001
- align: z.enum([
4002
- "start",
4003
- "center",
4004
- "end"
4005
- ]).optional()
4047
+ maxHeight: footerLogoMaxHeight.optional()
4006
4048
  });
4007
4049
  const footerSchema = z.object({
4008
- variant: footerVariant,
4050
+ layout: z.enum([
4051
+ "beside-links",
4052
+ "centred",
4053
+ "compact"
4054
+ ]).default("beside-links"),
4009
4055
  maxWidth: footerMaxWidth,
4010
- background: headerBackgroundSchema.default({
4011
- type: "color",
4012
- color: "surface"
4056
+ bands: footerBandsSchema.default({
4057
+ main: { ground: "surface" },
4058
+ band: null,
4059
+ strip: null,
4060
+ base: null
4013
4061
  }),
4014
4062
  navStyle: headerNavStyle.default("minimal"),
4015
4063
  navColor: themeColorTokenSchema.nullable().optional(),
4016
4064
  navWeight: navFontWeight.default("medium"),
4017
4065
  navLinkStyle: navLinkStyleSchema.optional(),
4018
4066
  bottomTextLinkStyle: footerBottomTextLinkStyleSchema.optional(),
4019
- navLayout: footerNavLayoutSchema.optional(),
4020
4067
  logo: footerLogoSchema.optional(),
4021
- bottomBar: footerBottomBarSchema.optional()
4068
+ /** The shape the footer draws where the page above meets it; absent draws none. */
4069
+ edge: z.enum(footerEdgeIntentValues).optional()
4022
4070
  });
4023
4071
  const containerPaddingPresetSchema = z.enum([
4024
4072
  "tight",
@@ -4314,7 +4362,14 @@ const arrangementSlotNames = [
4314
4362
  "controls",
4315
4363
  "control",
4316
4364
  "counter",
4317
- "point"
4365
+ "point",
4366
+ "band",
4367
+ "main",
4368
+ "brand",
4369
+ "links",
4370
+ "details",
4371
+ "signup",
4372
+ "strip"
4318
4373
  ];
4319
4374
  //#endregion
4320
4375
  //#region ../theme-core/src/surfaces/logoVariant.ts
@@ -4463,6 +4518,7 @@ const lookKnobBlocks = {
4463
4518
  showPhotos: cardListKnobBlocks,
4464
4519
  cardMarker: cardListFamilyBlocks,
4465
4520
  dates: "block.offerings-preview",
4521
+ grouping: "block.offerings-preview",
4466
4522
  columns: "block.feature-cards",
4467
4523
  listColumns: "block.event-calendar",
4468
4524
  blackAndWhite: "block.image-gallery",
@@ -4663,8 +4719,13 @@ function defineCardListLook(id, name, arrangement, requires, knobs, input) {
4663
4719
  blockKinds: cardListFamilyBlocks.filter((block) => requires.every((part) => cardListBlockParts[block].includes(part))),
4664
4720
  structure: {
4665
4721
  ...base.structure,
4666
- knobs: [...base.structure.knobs, "dates"],
4722
+ knobs: [
4723
+ ...base.structure.knobs,
4724
+ "dates",
4725
+ "grouping"
4726
+ ],
4667
4727
  knobDefaults: {
4728
+ grouping: "by-kind",
4668
4729
  dates: arrangement === "cards" || arrangement === "plates" ? "next-dates" : "summary",
4669
4730
  ...base.structure.knobDefaults
4670
4731
  },
@@ -5001,9 +5062,7 @@ const arrangementLookFits = {
5001
5062
  "intro-photo-beside-text": { needs: ["photo"] },
5002
5063
  "intro-large-photo-beside-text": { needs: ["photo"] }
5003
5064
  };
5004
- //#endregion
5005
- //#region ../theme-core/src/site-styles/appearancePresetCatalog.ts
5006
- const appearancePresets = [
5065
+ const blockAppearancePresets = [
5007
5066
  defineBlockAppearancePreset({
5008
5067
  structure: {
5009
5068
  kind: "recipe",
@@ -5935,12 +5994,29 @@ const appearancePresets = [
5935
5994
  ])], { align: "center" }),
5936
5995
  styleFallback: [id$1("newsletter-signup-text-beside")]
5937
5996
  }),
5938
- defineArrangementLook("image-gallery-square-tiles", "image-gallery", "Square tiles", "tiles", ["blackAndWhite"], { thumbnail: sketch.page([
5939
- sketch.title(.4),
5940
- sketch.across(4, [sketch.photo("short")]),
5941
- sketch.across(4, [sketch.photo("short")])
5942
- ]) }),
5997
+ defineArrangementLook("image-gallery-square-tiles", "image-gallery", "Square tiles", "tiles", ["blackAndWhite"], {
5998
+ mediaFrame: { default: {
5999
+ kind: "fixed",
6000
+ aspectRatio: "1/1"
6001
+ } },
6002
+ thumbnail: sketch.page([
6003
+ sketch.title(.4),
6004
+ sketch.across(4, [sketch.photo("short")]),
6005
+ sketch.across(4, [sketch.photo("short")])
6006
+ ])
6007
+ }),
5943
6008
  defineArrangementLook("image-gallery-arched-captions", "image-gallery", "Arched photos with captions", "tiles", ["blackAndWhite"], {
6009
+ mediaFrame: {
6010
+ default: {
6011
+ kind: "fixed",
6012
+ aspectRatio: "1/1"
6013
+ },
6014
+ bySkin: { lantern: {
6015
+ kind: "fixed",
6016
+ aspectRatio: "3/4",
6017
+ borderRadius: "9999px 9999px 0 0"
6018
+ } }
6019
+ },
5944
6020
  thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.photo("tall", "arch"), sketch.text(1, .7)])]),
5945
6021
  styleFallback: [id$1("image-gallery-square-tiles")]
5946
6022
  }),
@@ -6448,6 +6524,7 @@ const appearancePresets = [
6448
6524
  ])])], { arrows: true })]),
6449
6525
  itemRoles: { items: "card" },
6450
6526
  slotRoles: { date: "highlight" },
6527
+ forcedKnobs: { grouping: "one-list" },
6451
6528
  knobDefaults: {
6452
6529
  actionStyle: "button",
6453
6530
  dates: "summary"
@@ -6467,6 +6544,7 @@ const appearancePresets = [
6467
6544
  ])], { overflow: true })]),
6468
6545
  itemRoles: { items: "card" },
6469
6546
  slotRoles: { date: "highlight" },
6547
+ forcedKnobs: { grouping: "one-list" },
6470
6548
  knobDefaults: {
6471
6549
  actionStyle: "button",
6472
6550
  dates: "summary"
@@ -6510,18 +6588,58 @@ const appearancePresets = [
6510
6588
  styleFallback: [id$1("faq-questions-two-columns")]
6511
6589
  }),
6512
6590
  defineArrangementLook("image-gallery-lead-photo", "image-gallery", "One large photo, then smaller ones", "tiles", ["blackAndWhite"], {
6591
+ mediaFrame: { default: {
6592
+ kind: "variable",
6593
+ because: "The lead fills two rows; on phones the lead and a trailing full-width tile are landscape.",
6594
+ aspectRatio: "1/1",
6595
+ firstAspectRatio: "auto",
6596
+ mobileAspectRatio: "4/3"
6597
+ } },
6513
6598
  thumbnail: sketch.page([sketch.row(sketch.weight(2, [sketch.photo("tall")]), sketch.weight(1, [sketch.photo("short"), sketch.photo("short")]))]),
6514
6599
  styleFallback: [id$1("image-gallery-square-tiles")]
6515
6600
  }),
6516
6601
  defineArrangementLook("image-gallery-captions-under", "image-gallery", "Photos with captions underneath", "tiles", ["blackAndWhite"], {
6602
+ mediaFrame: {
6603
+ default: {
6604
+ kind: "fixed",
6605
+ aspectRatio: "4/3"
6606
+ },
6607
+ bySkin: { loom: {
6608
+ kind: "fixed",
6609
+ aspectRatio: "1/1"
6610
+ } }
6611
+ },
6517
6612
  thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.photo("medium"), sketch.text(1, .8)])]),
6518
6613
  styleFallback: [id$1("image-gallery-arched-captions"), id$1("image-gallery-square-tiles")]
6519
6614
  }),
6520
6615
  defineArrangementLook("image-gallery-photo-band", "image-gallery", "One photo across the page", "tiles", ["blackAndWhite"], {
6616
+ mediaFrame: {
6617
+ default: {
6618
+ kind: "fixed",
6619
+ aspectRatio: "1/1"
6620
+ },
6621
+ bySkin: { orbit: {
6622
+ kind: "variable",
6623
+ because: "The full-width band has a clamped height and curved edges.",
6624
+ aspectRatio: "auto",
6625
+ height: "clamp(18rem, 38cqi, 36rem)"
6626
+ } }
6627
+ },
6521
6628
  thumbnail: sketch.band([sketch.photo("short")]),
6522
6629
  styleFallback: [id$1("image-gallery-square-tiles")]
6523
6630
  }),
6524
6631
  defineArrangementLook("image-gallery-moving-row", "image-gallery", "A moving row of photos", "moving-row", ["blackAndWhite"], {
6632
+ mediaFrame: {
6633
+ default: {
6634
+ kind: "fixed",
6635
+ aspectRatio: "1/1"
6636
+ },
6637
+ bySkin: { orbit: {
6638
+ kind: "fixed",
6639
+ aspectRatio: "1/1",
6640
+ borderRadius: "50%"
6641
+ } }
6642
+ },
6525
6643
  thumbnail: sketch.band([sketch.across(5, [sketch.photo("short")], { overflow: true })]),
6526
6644
  styleFallback: [id$1("image-gallery-square-tiles")]
6527
6645
  }),
@@ -6742,7 +6860,10 @@ const appearancePresets = [
6742
6860
  sketch.button
6743
6861
  ])])]),
6744
6862
  knobDefaults: { actionStyle: "button" },
6745
- forcedKnobs: { dates: "summary" },
6863
+ forcedKnobs: {
6864
+ dates: "summary",
6865
+ grouping: "by-kind"
6866
+ },
6746
6867
  styleFallback: [id$1("card-list-photos-on-top")]
6747
6868
  }),
6748
6869
  blockKinds: ["block.offerings-preview"]
@@ -6760,6 +6881,7 @@ const appearancePresets = [
6760
6881
  sketch.link
6761
6882
  ])])]),
6762
6883
  itemRoles: { items: "card" },
6884
+ forcedKnobs: { grouping: "by-kind" },
6763
6885
  styleFallback: [id$1("card-list-photos-on-top")]
6764
6886
  }),
6765
6887
  blockKinds: ["block.offerings-preview"]
@@ -6772,6 +6894,7 @@ const appearancePresets = [
6772
6894
  ], [], {
6773
6895
  thumbnail: sketch.page([sketch.title(.4), sketch.across(2, [sketch.panel([sketch.title(.5, "small"), sketch.down(3, [sketch.row(sketch.weight(1, [sketch.title(.6, "small")]), sketch.weight(3, [sketch.text(2, .8)]))], { ruled: true })])])]),
6774
6896
  slotRoles: { panel: "card" },
6897
+ forcedKnobs: { grouping: "by-kind" },
6775
6898
  knobDefaults: { dates: "summary" },
6776
6899
  styleFallback: [id$1("feature-cards-index")]
6777
6900
  }),
@@ -6779,6 +6902,9 @@ const appearancePresets = [
6779
6902
  }
6780
6903
  ];
6781
6904
  //#endregion
6905
+ //#region ../theme-core/src/site-styles/appearancePresetCatalog.ts
6906
+ const appearancePresets = blockAppearancePresets;
6907
+ //#endregion
6782
6908
  //#region ../theme-core/src/site-styles/rawStyleFields.ts
6783
6909
  const themeV2RuntimeStyleFieldNames = [
6784
6910
  "_frameStyles",
@@ -9637,8 +9763,8 @@ function footerForegroundCandidates(footer, proseHoverCandidate) {
9637
9763
  if (!footer) return {};
9638
9764
  const style = effectiveFooterNavLinkStyle(footer);
9639
9765
  return {
9640
- text: footer.background?.textColor ?? (footer.variant === "centred" ? "text" : void 0),
9641
- link: style?.colorToken ?? footer.navColor ?? footer.background?.textColor,
9766
+ text: footer.bands?.main.textColor ?? (footer.layout === "centred" ? "text" : void 0),
9767
+ link: style?.colorToken ?? footer.navColor ?? footer.bands?.main.textColor,
9642
9768
  linkHover: navLinkOwnsHoverForeground(style) ? proseHoverCandidate : navLinkHoverColorCandidate(style)
9643
9769
  };
9644
9770
  }
@@ -9708,15 +9834,14 @@ function generateFooterNavLinkStyles(footer, themeId, tokens, theme) {
9708
9834
  theme,
9709
9835
  style,
9710
9836
  className: "footer-nav-link",
9711
- surfaceDependent: true,
9712
- surfaceRestingColor: footer.background?.contentOwner === siteChromeBackgroundOverrideOwner
9837
+ surfaceDependent: true
9713
9838
  });
9714
9839
  }
9715
9840
  function generateFooterBottomTextLinkStyles(footer, themeId, tokens) {
9716
9841
  const style = footer.bottomTextLinkStyle;
9717
9842
  if (!style) return "";
9718
9843
  const scope = `:where([data-theme-scope="${themeId}"])`;
9719
- const selectors = [`${scope} .block-site-footer [data-footer-region="bottom"] .rb-prose a`, `${scope} .block-siteFooter [data-footer-region="bottom"] .rb-prose a`];
9844
+ const selectors = [`${scope} .block-site-footer [data-slot="base"] .rb-prose a`, `${scope} .block-siteFooter [data-slot="base"] .rb-prose a`];
9720
9845
  const baseRules = [];
9721
9846
  const decorationColorToken = style.decorationColorToken?.trim();
9722
9847
  if (decorationColorToken) baseRules.push(`text-decoration-color: ${tokens.getColor(decorationColorToken)};`);
@@ -9728,20 +9853,29 @@ function generateFooterBottomTextLinkStyles(footer, themeId, tokens) {
9728
9853
  }
9729
9854
  //#endregion
9730
9855
  //#region ../theme-core/src/site-styles/footerLookRecipe.ts
9856
+ const footerSideBands = [
9857
+ "band",
9858
+ "strip",
9859
+ "base"
9860
+ ];
9731
9861
  /** Reject undeclared references when the curated catalogue is loaded, before rendering. */
9732
9862
  function validateFooterRecipeSurfaces(style, recipe) {
9733
- [recipe.ground, ...recipe.legal.bar ? [recipe.legal.bar.background] : []].forEach((ground) => {
9863
+ [recipe.bands.main, ...footerSideBands.flatMap((band) => recipe.bands[band] ?? [])].forEach(({ ground }) => {
9734
9864
  if (ground.kind === "style-surface" && (style.looks.kind !== "offers" || !style.looks.surfaces[ground.surface])) throw new Error(`Undeclared footer surface: ${ground.surface}`);
9735
9865
  });
9736
9866
  }
9737
9867
  //#endregion
9738
9868
  //#region ../theme-core/src/site-styles/footerLookDefaults.ts
9739
9869
  const defaultFooterLookRecipes = {
9740
- "footer-centred-name": {
9741
- arrangement: "centred",
9742
- ground: {
9743
- kind: "token",
9744
- token: "surface"
9870
+ "footer-centred": {
9871
+ bands: {
9872
+ main: { ground: {
9873
+ kind: "token",
9874
+ token: "surface"
9875
+ } },
9876
+ band: null,
9877
+ strip: null,
9878
+ base: null
9745
9879
  },
9746
9880
  nav: {
9747
9881
  weight: "regular",
@@ -9749,14 +9883,17 @@ const defaultFooterLookRecipes = {
9749
9883
  hoverColorToken: "primary",
9750
9884
  typography: "body"
9751
9885
  },
9752
- legal: { bar: null },
9753
- brandAlign: "center"
9886
+ edges: []
9754
9887
  },
9755
- "footer-links-row": {
9756
- arrangement: "simple",
9757
- ground: {
9758
- kind: "token",
9759
- token: "surface"
9888
+ "footer-beside-links": {
9889
+ bands: {
9890
+ main: { ground: {
9891
+ kind: "token",
9892
+ token: "surface"
9893
+ } },
9894
+ band: null,
9895
+ strip: null,
9896
+ base: null
9760
9897
  },
9761
9898
  nav: {
9762
9899
  weight: "regular",
@@ -9764,8 +9901,25 @@ const defaultFooterLookRecipes = {
9764
9901
  hoverColorToken: "primary",
9765
9902
  typography: "body"
9766
9903
  },
9767
- legal: { bar: null },
9768
- brandAlign: "start"
9904
+ edges: []
9905
+ },
9906
+ "footer-compact": {
9907
+ bands: {
9908
+ main: { ground: {
9909
+ kind: "token",
9910
+ token: "surface"
9911
+ } },
9912
+ band: null,
9913
+ strip: null,
9914
+ base: null
9915
+ },
9916
+ nav: {
9917
+ weight: "regular",
9918
+ colorToken: "text",
9919
+ hoverColorToken: "primary",
9920
+ typography: "body"
9921
+ },
9922
+ edges: []
9769
9923
  }
9770
9924
  };
9771
9925
  /** A whole authored recipe replaces the default; facets are never deep-merged. */
@@ -25882,6 +26036,195 @@ const measureLooks = {
25882
26036
  ],
25883
26037
  ownLayoutBlocks
25884
26038
  };
26039
+ /** The layouts a style offers (the first is its default), all dressed by one recipe. */
26040
+ function styleFooter(offers, recipe) {
26041
+ return {
26042
+ footerLookRecipes: Object.fromEntries(offers.map((lookId) => [lookId, recipe])),
26043
+ recommendedFooterLookIds: offers
26044
+ };
26045
+ }
26046
+ const footerSurface = (surface) => ({ ground: {
26047
+ kind: "style-surface",
26048
+ surface
26049
+ } });
26050
+ const footerToken = (token) => ({ ground: {
26051
+ kind: "token",
26052
+ token
26053
+ } });
26054
+ /** Orbit: the brand colour under the arc, the signup band and base strip in the darker band colour. */
26055
+ const orbitFooter = styleFooter(["footer-beside-links", "footer-compact"], {
26056
+ bands: {
26057
+ band: footerSurface("deep"),
26058
+ main: footerSurface("brand"),
26059
+ strip: null,
26060
+ base: footerSurface("deep")
26061
+ },
26062
+ nav: {
26063
+ weight: "regular",
26064
+ colorToken: "primaryForeground",
26065
+ hoverColorToken: "primaryForeground",
26066
+ typography: "body"
26067
+ },
26068
+ brandLogoSize: "md",
26069
+ edges: ["arc-edge-echo"]
26070
+ });
26071
+ /** Lantern: the near-black deep ground, a slightly lifted details strip, and rules rather than bands elsewhere. */
26072
+ const lanternFooter = styleFooter(["footer-centred", "footer-compact"], {
26073
+ bands: {
26074
+ band: null,
26075
+ main: footerSurface("deep"),
26076
+ strip: footerToken("secondary-900"),
26077
+ base: null
26078
+ },
26079
+ nav: {
26080
+ weight: "regular",
26081
+ colorToken: "text",
26082
+ hoverColorToken: "primary",
26083
+ typography: "heading"
26084
+ },
26085
+ edges: []
26086
+ });
26087
+ /** Poster: flat blocks of colour, the pop colour for the signup band, the brand block, a deeper brand strip and an ink base. */
26088
+ const posterFooter = styleFooter(["footer-beside-links", "footer-compact"], {
26089
+ bands: {
26090
+ band: footerSurface("pop"),
26091
+ main: footerSurface("brand"),
26092
+ strip: footerToken("primary-800"),
26093
+ base: footerSurface("inverse")
26094
+ },
26095
+ nav: {
26096
+ weight: "medium",
26097
+ colorToken: "primaryForeground",
26098
+ hoverColorToken: "primaryForeground",
26099
+ typography: "body"
26100
+ },
26101
+ edges: []
26102
+ });
26103
+ /** Haven: the soft band colour, the signup on a sheet (the skin sets it in as a rounded card), a page-colour strip and the wash for the base. */
26104
+ const havenFooter = styleFooter([
26105
+ "footer-beside-links",
26106
+ "footer-centred",
26107
+ "footer-compact"
26108
+ ], {
26109
+ bands: {
26110
+ band: footerSurface("sheet"),
26111
+ main: footerSurface("band"),
26112
+ strip: footerSurface("base"),
26113
+ base: footerSurface("deep")
26114
+ },
26115
+ nav: {
26116
+ weight: "regular",
26117
+ colorToken: "text",
26118
+ hoverColorToken: "text",
26119
+ typography: "body"
26120
+ },
26121
+ brandLogoSize: "md",
26122
+ edges: ["wave-edge-gentle"]
26123
+ });
26124
+ /** Brook: a dark shade of the secondary colour under the wave, the accent for the signup band, and a deeper shade for the strip and base. */
26125
+ const brookFooter = styleFooter([
26126
+ "footer-beside-links",
26127
+ "footer-centred",
26128
+ "footer-compact"
26129
+ ], {
26130
+ bands: {
26131
+ band: footerToken("accent"),
26132
+ main: footerToken("secondary-800"),
26133
+ strip: footerToken("secondary-900"),
26134
+ base: footerToken("secondary-900")
26135
+ },
26136
+ nav: {
26137
+ weight: "regular",
26138
+ colorToken: "background",
26139
+ hoverColorToken: "background",
26140
+ typography: "body"
26141
+ },
26142
+ brandLogoSize: "md",
26143
+ edges: ["wave-edge-balanced"]
26144
+ });
26145
+ /** Fulcrum: one quiet tinted ground, with hairlines rather than bands between the areas. */
26146
+ const fulcrumFooter = styleFooter(["footer-beside-links", "footer-compact"], {
26147
+ bands: {
26148
+ band: null,
26149
+ main: footerSurface("band"),
26150
+ strip: null,
26151
+ base: null
26152
+ },
26153
+ nav: {
26154
+ weight: "regular",
26155
+ colorToken: "text",
26156
+ hoverColorToken: "primary",
26157
+ typography: "body"
26158
+ },
26159
+ edges: []
26160
+ });
26161
+ /** Measure: the page ground, opened by the heavy rule every section has (in the skin). */
26162
+ const measureFooter = styleFooter(["footer-beside-links", "footer-compact"], {
26163
+ bands: {
26164
+ band: null,
26165
+ main: footerSurface("base"),
26166
+ strip: null,
26167
+ base: null
26168
+ },
26169
+ nav: {
26170
+ weight: "regular",
26171
+ colorToken: "text",
26172
+ hoverColorToken: "text",
26173
+ typography: "body"
26174
+ },
26175
+ edges: []
26176
+ });
26177
+ /** Folio: a quiet tinted ground with thin rules between the areas. */
26178
+ const folioFooter = styleFooter(["footer-beside-links", "footer-compact"], {
26179
+ bands: {
26180
+ band: null,
26181
+ main: footerSurface("band"),
26182
+ strip: null,
26183
+ base: null
26184
+ },
26185
+ nav: {
26186
+ weight: "regular",
26187
+ colorToken: "text",
26188
+ hoverColorToken: "primary",
26189
+ typography: "body"
26190
+ },
26191
+ brandLogoSize: "md",
26192
+ edges: []
26193
+ });
26194
+ /** Loom: the deep ground, with the brand colour as the one strong patch behind the signup. */
26195
+ const loomFooter = styleFooter(["footer-beside-links", "footer-compact"], {
26196
+ bands: {
26197
+ band: footerSurface("brand"),
26198
+ main: footerSurface("deep"),
26199
+ strip: null,
26200
+ base: null
26201
+ },
26202
+ nav: {
26203
+ weight: "regular",
26204
+ colorToken: "primaryForeground",
26205
+ hoverColorToken: "primaryForeground",
26206
+ typography: "body"
26207
+ },
26208
+ brandLogoSize: "md",
26209
+ edges: []
26210
+ });
26211
+ /** Poise: the inverse ground, drawn by the skin as a rounded field set in from the page edge like its inverse sections. */
26212
+ const poiseFooter = styleFooter(["footer-beside-links", "footer-compact"], {
26213
+ bands: {
26214
+ band: null,
26215
+ main: footerSurface("inverse"),
26216
+ strip: null,
26217
+ base: null
26218
+ },
26219
+ nav: {
26220
+ weight: "semibold",
26221
+ colorToken: "background",
26222
+ hoverColorToken: "background",
26223
+ typography: "body"
26224
+ },
26225
+ brandLogoSize: "md",
26226
+ edges: []
26227
+ });
25885
26228
  const curatedSiteStyles = [
25886
26229
  defineCuratedSiteStyle({
25887
26230
  id: "site-style:south-west-twerk-school",
@@ -25935,11 +26278,21 @@ const curatedSiteStyles = [
25935
26278
  join: asBoundaryOptionId("break:wave")
25936
26279
  }]
25937
26280
  },
25938
- footerLookRecipes: { "footer-links-row": {
25939
- arrangement: "split",
25940
- ground: {
25941
- kind: "token",
25942
- token: "primary-800"
26281
+ footerLookRecipes: { "footer-beside-links": {
26282
+ bands: {
26283
+ main: { ground: {
26284
+ kind: "token",
26285
+ token: "primary-800"
26286
+ } },
26287
+ band: null,
26288
+ strip: null,
26289
+ base: {
26290
+ ground: {
26291
+ kind: "token",
26292
+ token: "primary-900"
26293
+ },
26294
+ textColor: "primaryForeground"
26295
+ }
25943
26296
  },
25944
26297
  nav: {
25945
26298
  weight: "medium",
@@ -25947,28 +26300,14 @@ const curatedSiteStyles = [
25947
26300
  hoverColorToken: "secondary",
25948
26301
  typography: "body"
25949
26302
  },
25950
- legal: {
25951
- bar: {
25952
- fullBleed: true,
25953
- background: {
25954
- kind: "token",
25955
- token: "primary-900"
25956
- },
25957
- textColor: "primaryForeground",
25958
- textAlign: "center",
25959
- paddingY: "compact",
25960
- paddingX: "default",
25961
- borderTop: { width: "none" }
25962
- },
25963
- linkStyle: {
25964
- colorToken: "secondary",
25965
- decorationColorToken: "secondary"
25966
- }
26303
+ legalLinkStyle: {
26304
+ colorToken: "secondary",
26305
+ decorationColorToken: "secondary"
25967
26306
  },
25968
- brandAlign: "start",
26307
+ edges: [],
25969
26308
  brandLogoSize: "sm"
25970
26309
  } },
25971
- recommendedFooterLookIds: ["footer-links-row"],
26310
+ recommendedFooterLookIds: ["footer-beside-links"],
25972
26311
  buttonStyleChoices: [
25973
26312
  buttonChoice("showtime-pill"),
25974
26313
  buttonChoice("confident-chip"),
@@ -26030,7 +26369,7 @@ const curatedSiteStyles = [
26030
26369
  },
26031
26370
  testimonialQuote: serifDisplayQuote
26032
26371
  },
26033
- recommendedFooterLookIds: ["footer-links-row"],
26372
+ ...fulcrumFooter,
26034
26373
  buttonStyleChoices: [
26035
26374
  buttonChoice("fulcrum"),
26036
26375
  buttonChoice("editorial-link"),
@@ -26073,22 +26412,7 @@ const curatedSiteStyles = [
26073
26412
  accordions: boldBorderedAccordionSystem,
26074
26413
  testimonialQuote: accentGlyphQuote
26075
26414
  },
26076
- footerLookRecipes: { "footer-links-row": {
26077
- arrangement: "simple",
26078
- ground: {
26079
- kind: "token",
26080
- token: "surface"
26081
- },
26082
- nav: {
26083
- weight: "medium",
26084
- colorToken: "text",
26085
- hoverColorToken: "primary",
26086
- typography: "body"
26087
- },
26088
- legal: { bar: null },
26089
- brandAlign: "start"
26090
- } },
26091
- recommendedFooterLookIds: ["footer-links-row"],
26415
+ ...posterFooter,
26092
26416
  buttonStyleChoices: [
26093
26417
  buttonChoice("offset-block"),
26094
26418
  buttonChoice("ink-stamp"),
@@ -26128,22 +26452,7 @@ const curatedSiteStyles = [
26128
26452
  accordions: warmInsetAccordionSystem,
26129
26453
  testimonialQuote: serifDisplayQuote
26130
26454
  },
26131
- footerLookRecipes: { "footer-centred-name": {
26132
- arrangement: "centred",
26133
- ground: {
26134
- kind: "style-surface",
26135
- surface: "deep"
26136
- },
26137
- nav: {
26138
- weight: "regular",
26139
- colorToken: "text",
26140
- hoverColorToken: "primary",
26141
- typography: "heading"
26142
- },
26143
- legal: { bar: null },
26144
- brandAlign: "center"
26145
- } },
26146
- recommendedFooterLookIds: ["footer-centred-name", "footer-links-row"],
26455
+ ...lanternFooter,
26147
26456
  buttonStyleChoices: [
26148
26457
  buttonChoice("gilt-slab"),
26149
26458
  buttonChoice("hairline-tab"),
@@ -26186,7 +26495,7 @@ const curatedSiteStyles = [
26186
26495
  accordions: editorialDividedAccordionSystem,
26187
26496
  testimonialQuote: serifDisplayQuote
26188
26497
  },
26189
- recommendedFooterLookIds: ["footer-links-row"],
26498
+ ...measureFooter,
26190
26499
  buttonStyleChoices: [
26191
26500
  buttonChoice("flat-ink", void 0, { corners: "square" }),
26192
26501
  buttonChoice("editorial-link"),
@@ -26205,7 +26514,7 @@ const curatedSiteStyles = [
26205
26514
  kind: "public",
26206
26515
  generation: { kind: "explicit_only" }
26207
26516
  },
26208
- description: "Calm and editorial: a classic serif over a plain sans, soft corners, thin rules and photos with room around them. For practitioners who teach classes, see clients and run workshops.",
26517
+ description: "Calm and editorial: a classic serif over a plain sans, soft corners, thin rules and photos with room around them. For people who teach classes, see clients and run workshops.",
26209
26518
  generationBrief: "Use restrained serif headings, clear sans-serif body copy, natural photography, practical calls to action and concrete class and workshop details.",
26210
26519
  headingDecoration: noHeadingDecoration,
26211
26520
  tokenRecipes: {
@@ -26254,34 +26563,7 @@ const curatedSiteStyles = [
26254
26563
  cta: { treatment: "default" },
26255
26564
  openingPlacement: "photo-behind-text"
26256
26565
  } },
26257
- footerLookRecipes: { "footer-links-row": {
26258
- arrangement: "simple",
26259
- ground: {
26260
- kind: "token",
26261
- token: "surface"
26262
- },
26263
- nav: {
26264
- weight: "regular",
26265
- colorToken: "text",
26266
- hoverColorToken: "primary",
26267
- typography: "body"
26268
- },
26269
- legal: { bar: {
26270
- fullBleed: false,
26271
- background: {
26272
- kind: "token",
26273
- token: "surface"
26274
- },
26275
- textColor: "text",
26276
- textAlign: "left",
26277
- paddingY: "tight",
26278
- paddingX: "none",
26279
- borderTop: { width: "none" }
26280
- } },
26281
- brandAlign: "start",
26282
- brandLogoSize: "md"
26283
- } },
26284
- recommendedFooterLookIds: ["footer-links-row"],
26566
+ ...folioFooter,
26285
26567
  buttonStyleChoices: [
26286
26568
  buttonChoice("quiet-arrow", void 0, {
26287
26569
  secondaryTreatment: "solid-accent",
@@ -26351,37 +26633,7 @@ const curatedSiteStyles = [
26351
26633
  },
26352
26634
  cta: { treatment: "primary" }
26353
26635
  } },
26354
- footerLookRecipes: { "footer-links-row": {
26355
- arrangement: "simple",
26356
- ground: {
26357
- kind: "style-surface",
26358
- surface: "deep"
26359
- },
26360
- nav: {
26361
- weight: "regular",
26362
- colorToken: "primaryForeground",
26363
- hoverColorToken: "primaryForeground",
26364
- typography: "body"
26365
- },
26366
- legal: { bar: {
26367
- fullBleed: false,
26368
- background: {
26369
- kind: "style-surface",
26370
- surface: "deep"
26371
- },
26372
- textColor: "primaryForeground",
26373
- textAlign: "left",
26374
- paddingY: "compact",
26375
- paddingX: "none",
26376
- borderTop: {
26377
- width: "medium",
26378
- colorToken: "primaryForeground"
26379
- }
26380
- } },
26381
- brandAlign: "start",
26382
- brandLogoSize: "md"
26383
- } },
26384
- recommendedFooterLookIds: ["footer-links-row"],
26636
+ ...loomFooter,
26385
26637
  buttonStyleChoices: [
26386
26638
  buttonChoice("sewn-label"),
26387
26639
  buttonChoice("square-outline", void 0, {
@@ -26450,37 +26702,7 @@ const curatedSiteStyles = [
26450
26702
  },
26451
26703
  cta: { treatment: "primary" }
26452
26704
  } },
26453
- footerLookRecipes: { "footer-links-row": {
26454
- arrangement: "simple",
26455
- ground: {
26456
- kind: "style-surface",
26457
- surface: "inverse"
26458
- },
26459
- nav: {
26460
- weight: "semibold",
26461
- colorToken: "background",
26462
- hoverColorToken: "background",
26463
- typography: "body"
26464
- },
26465
- legal: { bar: {
26466
- fullBleed: false,
26467
- background: {
26468
- kind: "style-surface",
26469
- surface: "inverse"
26470
- },
26471
- textColor: "background",
26472
- textAlign: "left",
26473
- paddingY: "compact",
26474
- paddingX: "none",
26475
- borderTop: {
26476
- width: "thin",
26477
- colorToken: "background"
26478
- }
26479
- } },
26480
- brandAlign: "start",
26481
- brandLogoSize: "md"
26482
- } },
26483
- recommendedFooterLookIds: ["footer-links-row"],
26705
+ ...poiseFooter,
26484
26706
  buttonStyleChoices: [
26485
26707
  buttonChoice("edged-pill"),
26486
26708
  buttonChoice("soft-pill"),
@@ -26520,37 +26742,7 @@ const curatedSiteStyles = [
26520
26742
  accordions: editorialDividedAccordionSystem,
26521
26743
  testimonialQuote: accentGlyphQuote
26522
26744
  },
26523
- footerLookRecipes: { "footer-links-row": {
26524
- arrangement: "simple",
26525
- ground: {
26526
- kind: "style-surface",
26527
- surface: "band"
26528
- },
26529
- nav: {
26530
- weight: "regular",
26531
- colorToken: "text",
26532
- hoverColorToken: "text",
26533
- typography: "body"
26534
- },
26535
- legal: { bar: {
26536
- fullBleed: false,
26537
- background: {
26538
- kind: "style-surface",
26539
- surface: "band"
26540
- },
26541
- textColor: "text",
26542
- textAlign: "left",
26543
- paddingY: "compact",
26544
- paddingX: "none",
26545
- borderTop: {
26546
- width: "thin",
26547
- colorToken: "border"
26548
- }
26549
- } },
26550
- brandAlign: "start",
26551
- brandLogoSize: "md"
26552
- } },
26553
- recommendedFooterLookIds: ["footer-links-row"],
26745
+ ...havenFooter,
26554
26746
  buttonStyleChoices: [
26555
26747
  buttonChoice("soft-pill"),
26556
26748
  buttonChoice("pebble"),
@@ -26589,37 +26781,7 @@ const curatedSiteStyles = [
26589
26781
  accordions: editorialDividedAccordionSystem,
26590
26782
  testimonialQuote: serifDisplayQuote
26591
26783
  },
26592
- footerLookRecipes: { "footer-links-row": {
26593
- arrangement: "simple",
26594
- ground: {
26595
- kind: "style-surface",
26596
- surface: "base"
26597
- },
26598
- nav: {
26599
- weight: "regular",
26600
- colorToken: "text",
26601
- hoverColorToken: "primary",
26602
- typography: "body"
26603
- },
26604
- legal: { bar: {
26605
- fullBleed: false,
26606
- background: {
26607
- kind: "style-surface",
26608
- surface: "base"
26609
- },
26610
- textColor: "text",
26611
- textAlign: "left",
26612
- paddingY: "compact",
26613
- paddingX: "none",
26614
- borderTop: {
26615
- width: "thin",
26616
- colorToken: "border"
26617
- }
26618
- } },
26619
- brandAlign: "start",
26620
- brandLogoSize: "md"
26621
- } },
26622
- recommendedFooterLookIds: ["footer-links-row"],
26784
+ ...brookFooter,
26623
26785
  buttonStyleChoices: [
26624
26786
  buttonChoice("pebble"),
26625
26787
  buttonChoice("showtime-pill"),
@@ -26677,37 +26839,7 @@ const curatedSiteStyles = [
26677
26839
  mobileBar: "beside-menu"
26678
26840
  }
26679
26841
  } },
26680
- footerLookRecipes: { "footer-links-row": {
26681
- arrangement: "simple",
26682
- ground: {
26683
- kind: "style-surface",
26684
- surface: "brand"
26685
- },
26686
- nav: {
26687
- weight: "regular",
26688
- colorToken: "primaryForeground",
26689
- hoverColorToken: "primaryForeground",
26690
- typography: "body"
26691
- },
26692
- legal: { bar: {
26693
- fullBleed: false,
26694
- background: {
26695
- kind: "style-surface",
26696
- surface: "brand"
26697
- },
26698
- textColor: "primaryForeground",
26699
- textAlign: "left",
26700
- paddingY: "compact",
26701
- paddingX: "none",
26702
- borderTop: {
26703
- width: "thin",
26704
- colorToken: "primaryForeground"
26705
- }
26706
- } },
26707
- brandAlign: "start",
26708
- brandLogoSize: "md"
26709
- } },
26710
- recommendedFooterLookIds: ["footer-links-row"],
26842
+ ...orbitFooter,
26711
26843
  buttonStyleChoices: [
26712
26844
  buttonChoice("orbit-pill"),
26713
26845
  buttonChoice("soft-pill"),
@@ -27364,6 +27496,30 @@ function sectionRhythmSurfaces(style, flow) {
27364
27496
  });
27365
27497
  }
27366
27498
  //#endregion
27499
+ //#region ../theme-core/src/site-styles/lookMediaFrame.ts
27500
+ function resolveLookMediaFrame(frames, skin) {
27501
+ return (skin ? frames?.bySkin?.[skin] : void 0) ?? frames?.default;
27502
+ }
27503
+ function frameVars(frame) {
27504
+ return [
27505
+ `--rb-look-media-ratio: ${frame.aspectRatio};`,
27506
+ ...frame.kind === "fixed" && frame.borderRadius ? [`--rb-look-media-radius: ${frame.borderRadius};`] : [],
27507
+ ...frame.kind === "variable" && frame.firstAspectRatio ? [`--rb-look-media-first-ratio: ${frame.firstAspectRatio};`] : [],
27508
+ ...frame.kind === "variable" && frame.height ? [`--rb-look-media-height: ${frame.height};`] : [],
27509
+ ...frame.kind === "variable" && frame.mobileAspectRatio ? [`--rb-look-media-mobile-ratio: ${frame.mobileAspectRatio};`] : []
27510
+ ].join(" ");
27511
+ }
27512
+ /** The same declaration supplies the editor frame and the CSS's crop values. */
27513
+ function generateLookMediaFrameCss(themeId) {
27514
+ return blockAppearancePresets.flatMap((look) => {
27515
+ const frames = look.structure.kind === "arrangement" ? look.structure.mediaFrame : void 0;
27516
+ if (!frames) return [];
27517
+ const scope = `:where([data-theme-scope="${themeId}"])`;
27518
+ const selector = `[data-look="${look.id}"]`;
27519
+ return [`${scope} ${selector} { ${frameVars(frames.default)} }`, ...Object.entries(frames.bySkin ?? {}).map(([skin, frame]) => `${scope} :is([data-skin="${skin}"], [data-skin="${skin}"] *)${selector} { ${frameVars(frame)} }`)];
27520
+ }).join("\n");
27521
+ }
27522
+ //#endregion
27367
27523
  //#region ../theme-core/src/site-styles/lookSurfacePresentation.ts
27368
27524
  /** Selection is the only per-item operation; all paint has already been decided. */
27369
27525
  function selectItemSurfacePresentation(presentation, role) {
@@ -28488,6 +28644,12 @@ function resolveAppointmentCheckoutVerificationState(input) {
28488
28644
  if (!input.config) return { tag: "idle" };
28489
28645
  const sessionId = input.config.sessionId;
28490
28646
  if (input.pollingStatus === "completed") {
28647
+ if (input.result?.checkoutRecovery) return {
28648
+ tag: "unpaid",
28649
+ sessionId,
28650
+ ...input.result.checkoutRecovery,
28651
+ startAt: input.result.appointment.startAt
28652
+ };
28491
28653
  const confirmed = confirmedAppointmentCheckout(sessionId, input.result);
28492
28654
  if (confirmed) return confirmed;
28493
28655
  }
@@ -28513,6 +28675,11 @@ function resolveAppointmentCheckoutVerificationState(input) {
28513
28675
  };
28514
28676
  }
28515
28677
  }
28678
+ /** Whether a fresh status read still says exactly what an open checkout's page is showing. */
28679
+ function isSameOpenCheckout(shown, latest) {
28680
+ const recovery = latest.checkoutRecovery;
28681
+ return recovery?.kind === "unpaid" && recovery.checkoutUrl === shown.checkoutUrl && recovery.heldUntil === shown.heldUntil;
28682
+ }
28516
28683
  /** Verified payment carries its booked facts instead of asking the view to rebuild them. */
28517
28684
  function confirmedAppointmentCheckout(sessionId, result) {
28518
28685
  if (!result || !result.appointmentId) return null;
@@ -28554,11 +28721,17 @@ function deriveBookingFormViewState(input) {
28554
28721
  kind: "success",
28555
28722
  resourceName: input.localSuccessResourceName
28556
28723
  };
28557
- if (input.redirectState.kind === "cancelled") return {
28724
+ if (input.redirectState.kind === "cancelled" && input.verificationState.tag === "idle") return {
28558
28725
  kind: "error",
28559
28726
  message: "Checkout was cancelled before your appointment was confirmed."
28560
28727
  };
28561
28728
  switch (input.verificationState.tag) {
28729
+ case "unpaid": return {
28730
+ kind: "unpaid",
28731
+ checkoutUrl: input.verificationState.checkoutUrl,
28732
+ heldUntil: input.verificationState.heldUntil,
28733
+ startAt: input.verificationState.startAt
28734
+ };
28562
28735
  case "idle": return { kind: "form" };
28563
28736
  case "verifying": return {
28564
28737
  kind: "verifying",
@@ -28756,6 +28929,8 @@ function resolveBookingPaymentStep(input) {
28756
28929
  };
28757
28930
  const [first, ...rest] = resolveAvailableBookingCollectionOptions({
28758
28931
  paymentTerms: service.paymentTerms ?? { allowedOptions: [{ kind: "upfront" }] },
28932
+ currency: service.priceCurrency,
28933
+ timeZone: input.timeZone,
28759
28934
  totalCents,
28760
28935
  bookingStartAt: input.data.selectedSlot ?? null,
28761
28936
  now: input.nowIso
@@ -29193,6 +29368,11 @@ const bookingMailingListContextSchema = z.unknown().transform((value) => {
29193
29368
  const parsed = parseMailingListRuntimeContext(value);
29194
29369
  return parsed.ok ? parsed.value : void 0;
29195
29370
  });
29371
+ /** Missing on older payloads and SDK sites, which then word things without a noun. */
29372
+ const businessPersonSchema = z.object({
29373
+ singular: z.string(),
29374
+ plural: z.string()
29375
+ }).nullable().optional();
29196
29376
  const bookingDateContextSchema = z.object({
29197
29377
  locale: z.string(),
29198
29378
  timeZone: z.string().transform(resolveBookingBusinessTimeZone)
@@ -29206,6 +29386,7 @@ const bookingSourceSchema = z.object({
29206
29386
  siteTerms: blockSiteTermsSchema.optional(),
29207
29387
  pageNavigation: pageNavigationSchema.optional(),
29208
29388
  siteName: z.string().optional(),
29389
+ businessPerson: businessPersonSchema,
29209
29390
  siteId: z.string().optional(),
29210
29391
  apiBaseUrl: z.string().optional(),
29211
29392
  portalToken: z.string().nullable().optional(),
@@ -29242,6 +29423,7 @@ const bookingHydrationSchema = z.object({
29242
29423
  siteTerms: blockSiteTermsSchema.optional(),
29243
29424
  pageNavigation: pageNavigationSchema.optional(),
29244
29425
  siteName: z.string().optional(),
29426
+ businessPerson: businessPersonSchema,
29245
29427
  formId: z.string().nullable(),
29246
29428
  serviceId: z.string().nullable(),
29247
29429
  resourceId: z.string().nullable(),
@@ -29296,6 +29478,7 @@ const bookingFormBlockRuntime = defineClientOwnedBlockRuntime({
29296
29478
  siteTerms: source.siteTerms,
29297
29479
  pageNavigation: source.pageNavigation,
29298
29480
  siteName: source.siteName,
29481
+ businessPerson: source.businessPerson,
29299
29482
  formId: form?.id ?? source.formId ?? null,
29300
29483
  serviceId: source.serviceId ?? form?.settings?.serviceId ?? null,
29301
29484
  resourceId: source.resourceId ?? form?.settings?.resourceId ?? null,
@@ -30273,14 +30456,34 @@ function resolveStrategyDelivery(blockKind, fieldPath, slotPath, values) {
30273
30456
  if (blockKind === "block.site-header" && slotPath === "logo") return resolveSmallLogoDeliveryContract();
30274
30457
  if (blockKind === "block.site-footer" && slotPath === "logo") return resolveSmallLogoDeliveryContract();
30275
30458
  }
30276
- function resolveMediaSlotContract({ blockKind, fieldPath, values, fieldAspectRatio, fieldUi }) {
30459
+ /** Only gallery photos use the gallery Look's frame; backgrounds keep their own contract. */
30460
+ function galleryMediaFrame(blockKind, path, frame, values) {
30461
+ if (blockKind !== "block.image-gallery" || !/^images\.\d+\.image$/.test(path)) return void 0;
30462
+ const effective = asRecord(values?._effectiveLook);
30463
+ const look = blockAppearancePresets.find((candidate) => candidate.id === effectiveLookId(values));
30464
+ const declared = frame ?? resolveLookMediaFrame(look?.structure.kind === "arrangement" ? look.structure.mediaFrame : void 0, asString(effective?.skin));
30465
+ return declared?.kind === "fixed" ? declared : void 0;
30466
+ }
30467
+ /** The slot contract plus the gallery Look frame it was decided from, so callers needn't resolve the frame again. */
30468
+ function resolveMediaSlot({ blockKind, fieldPath, values, fieldAspectRatio, fieldUi, lookMediaFrame }) {
30277
30469
  const slotPath = normalizeSlotPath(fieldPath);
30278
30470
  const variant = asString(values?.variant);
30279
- const edit = resolveEditContract(blockKind, fieldPath, slotPath, values, fieldAspectRatio);
30471
+ const frame = galleryMediaFrame(blockKind, fieldPath, lookMediaFrame, values);
30472
+ const edit = frame ? {
30473
+ mode: "fixed-aspect",
30474
+ aspectRatio: frame.aspectRatio,
30475
+ ...getMinSourceConstraints(frame.aspectRatio, DEFAULT_MIN_SOURCE_WIDTH)
30476
+ } : resolveEditContract(blockKind, fieldPath, slotPath, values, fieldAspectRatio);
30280
30477
  const defaultDelivery = resolveDefaultDeliveryContract(slotPath);
30281
30478
  const fieldDelivery = resolveFieldUiDeliveryConfig(fieldUi, variant);
30282
30479
  const strategyDelivery = resolveStrategyDelivery(blockKind, fieldPath, slotPath, values);
30283
- return buildContract(edit, mergeDelivery(mergeDelivery(defaultDelivery, fieldDelivery), strategyDelivery));
30480
+ return {
30481
+ contract: buildContract(edit, mergeDelivery(mergeDelivery(defaultDelivery, fieldDelivery), strategyDelivery)),
30482
+ galleryFrame: frame
30483
+ };
30484
+ }
30485
+ function resolveMediaSlotContract(input) {
30486
+ return resolveMediaSlot(input).contract;
30284
30487
  }
30285
30488
  //#endregion
30286
30489
  //#region ../blocks/src/system/runtime/nodes/media.tsx
@@ -30555,10 +30758,17 @@ const debugMediaNodeLog = (...args) => {
30555
30758
  if (typeof window === "undefined") return;
30556
30759
  if (Reflect.get(window, "__DEBUG_MEDIA_NODE__") === true) console.log("[MediaNode]", ...args);
30557
30760
  };
30761
+ /** Keep responsive delivery and transform selection on the slot's decided crop. */
30762
+ function resolveMediaNodeAspectRatios(size, style, slotContract) {
30763
+ const slotAspect = slotContract?.edit.mode === "fixed-aspect" ? slotContract.edit.aspectRatio : void 0;
30764
+ return {
30765
+ targetAspectRatio: parseAspectRatioValue(slotAspect),
30766
+ transformAspectRatio: resolveStyleAspectRatio(style) ?? slotAspect ?? resolveTargetAspectRatio(size)
30767
+ };
30768
+ }
30558
30769
  function resolveMediaNodeResponsiveImage(value, size, style, slot, context) {
30559
- const transformAspectRatio = resolveStyleAspectRatio(style) ?? resolveTargetAspectRatio(size);
30560
30770
  const slotContract = resolveSlotContract(slot);
30561
- const targetAspectRatio = parseAspectRatioValue(slotContract?.edit.mode === "fixed-aspect" ? slotContract.edit.aspectRatio : void 0);
30771
+ const { targetAspectRatio, transformAspectRatio } = resolveMediaNodeAspectRatios(size, style, slotContract);
30562
30772
  const responsive = slotContract ? resolveImageSourceSetWithContext(value, {
30563
30773
  widthCandidates: slotContract.delivery.widthCandidates,
30564
30774
  sizes: slotContract.delivery.sizes,
@@ -33823,7 +34033,10 @@ function buildInstalmentOption(input) {
33823
34033
  function buildFlexibleBalanceOption(input) {
33824
34034
  const balance = {
33825
34035
  remainingBalance: formatPrice(input.option.remainingBalanceCents, input.currency, input.locale),
33826
- balanceDueBy: formatScheduleDate(input.option.balanceDueAt, input.dateContext),
34036
+ balanceDueBy: formatDate$2({
34037
+ kind: "civil",
34038
+ value: parseBookingLocalDate(input.option.balanceDueDay)
34039
+ }, input.dateContext, { date: "short" }),
33827
34040
  depositPolicy: depositPolicy(input.option.config.depositRefundability)
33828
34041
  };
33829
34042
  return {
@@ -33832,7 +34045,10 @@ function buildFlexibleBalanceOption(input) {
33832
34045
  flexibleBalance: balance,
33833
34046
  ...buildFlexibleBalanceBookingPaymentOptionCopy({
33834
34047
  formattedDueToday: formatPrice(input.option.dueNowCents, input.currency, input.locale),
33835
- dueDateLabel: formatScheduleDate(input.option.balanceDueAt, input.dateContext, "long"),
34048
+ dueDateLabel: formatDate$2({
34049
+ kind: "civil",
34050
+ value: parseBookingLocalDate(input.option.balanceDueDay)
34051
+ }, input.dateContext, { date: "long" }),
33836
34052
  depositRefundability: input.option.config.depositRefundability
33837
34053
  }),
33838
34054
  ...summaryFor({
@@ -33932,7 +34148,8 @@ function buildReviewedBookingPaymentViewModel(input) {
33932
34148
  option: input.terms.paymentOption,
33933
34149
  totalCents: input.terms.totalCents,
33934
34150
  anchorAt: input.anchorAt,
33935
- bookingStartAt: input.bookingStartAt
34151
+ bookingStartAt: input.bookingStartAt,
34152
+ timeZone: input.dateContext.timeZone
33936
34153
  }), input.terms);
33937
34154
  return {
33938
34155
  ...buildBookingPaymentOptionViewModel({
@@ -34575,10 +34792,14 @@ function buildEventRegistrationPaymentOptionsViewModel(input) {
34575
34792
  dateContext: input.dateContext,
34576
34793
  serviceTitle: input.eventTitle,
34577
34794
  availableOptions: repriceBookingCollectionOptions({
34795
+ currency: input.currency,
34796
+ instalmentCollectionDeadlineAt: input.instalmentCollectionDeadlineAt,
34578
34797
  options: resolveAvailableBookingCollectionOptions({
34579
34798
  paymentTerms: { allowedOptions: approvedOptions },
34580
34799
  now: input.nowIso,
34800
+ timeZone: input.dateContext.timeZone,
34581
34801
  instalmentCollectionDeadlineAt: input.instalmentCollectionDeadlineAt,
34802
+ currency: input.currency,
34582
34803
  bookingStartAt: input.startsAt ?? null,
34583
34804
  totalCents: input.quotedSubtotalCents
34584
34805
  }),
@@ -35870,4 +36091,4 @@ function membershipCardListContent(display) {
35870
36091
  };
35871
36092
  }
35872
36093
  //#endregion
35873
- export { resolveHeadlessEventRegistrationStatus as $, arrangementStyleAvailability as $a, resolveBookingPackagePaymentSelection as $i, getSingleSelectedPricingOptionId as $n, transitionCatalogueEntries as $o, formatTotalCapacity as $r, asPageFlowPresetId as $s, runPricingChoice as $t, createInitialRegistrationFlowState as A, requestSignIn as Aa, resolveExactOrFreePriceDisplay as Ac, projectSelectedAppointmentConsentIntoForm as Ai, formatDate as An, buildTextContrastShadow as Ao, buildCalendarViewport as Ar, arrangementSlotNames as As, toEventSignInDraft as At, placeCountCeiling as B, defineProgressiveBlockRuntime as Ba, decideBookingQuestionsRestoration as Bi, transformRegistrationOptionsResponse as Bn, sectionShapeForGround as Bo, formatEventHourLabel as Br, boxlessCardVariantValue as Bs, toRunRequirementsSnapshots as Bt, panelShouldOpen as C, browserReadAuthoritySchema as Ca, formatBookingPriceDisplay as Cc, resolveBookingSelectedService as Ci, selectionPreviewKey as Cn, gradientToCss as Co, renderAudio as Cr, toNonEmptyReadonlyArray as Cs, toRegistrationEvents as Ct, registrationStepLabel as D, canonicalUrl as Da, publicEventPricingDisplay as Dc, toSelectedCollectionOptionKind as Di, areEntitlementsDisabledForTicketCount as Dn, generateFooterCss as Do, resolveImageUrlWithContext as Dr, opaqueSurfaceDeclarations as Ds, eventSignInDraftStore as Dt, registrationRoute as E, PAGE_NAVIGATION as Ea, publicEventPricingCurrency as Ec, selectedBookingCollectionOptionKind as Ei, ENTITLEMENT_SINGLE_TICKET_TOOLTIP as En, generateDefaultCardSystem as Eo, resolveImageUrl as Er, opaqueSurfaceContextFromTheme as Es, EVENT_SIGN_IN_FORM_ID as Et, buildEventRegistrationPaymentOptionsViewModel as F, eventRegistrationPageSurfaceSubjectSchema as Fa, unsafeAsEventCategoryId as Fc, deriveAppointmentBookingQuestions as Fi, getImplicitSingleTicketType as Fn, navLinkOwnsHoverForeground as Fo, formatCalendarTitle as Fr, blockCustomCssRuleSchema as Fs, deriveRunRequirements as Ft, resolveRegistrationAvailabilityBlocker as G, lookListPresentationSchemaShape as Ga, toBookingQuestionsPaymentSnapshot as Gi, getSlidingScaleForEvent as Gn, boundaryRuntimeMetricsForDecorativeTransition as Go, formatTime$1 as Gr, surfaceCardRoleValues as Gs, decideSelectionPayment as Gt, planRegistrationDetailsContinuation as H, listItemPresentation as Ha, needsBookingQuestionsRefresh as Hi, getCurrentTicketSelection as Hn, sectionShapeHook as Ho, formatEventRunDates as Hr, cardVariantRoleValues as Hs, SELECTION_LIMIT_NOTE as Ht, decideEventRegistrationPayment as I, normalizeEventRegistrationPageSurfaceSubject as Ia, isAppointmentBookingQuestionsEvent as Ii, getPortalSubjectEmail as In, navLinkOwnsUnderline as Io, formatDate$1 as Ir, customCssRuleSchema as Is, nextRunToRead as It, visitorHoldsOwnPlace as J, lookPresentationOnPalette as Ja, applyBookingPaymentAdmission as Ji, parseCurrencyInputToCents as Jn, noneBoundaryOption as Jo, resolveRuntimeEventDestination as Jr, asHeaderStyleId as Js, planSelectionPrice as Jt, resolveRegistrationTicketContinuation as K, resolvedItemSurfaceProps as Ka, BOOKING_FORM_DATA_RESERVED_KEYS as Ki, getSlidingScaleSelectionMessage as Kn, boundaryTreatmentForBoundaryOptionId as Ko, groupEventsByDate as Kr, parseGradientPresetId as Ks, effectiveSelection as Kt, shouldPromptForLogin as L, resolveEventRegistrationScopedEvents as La, needsAppointmentQuestionsRefresh as Li, getTicketTypeAvailabilityLabel as Ln, parsePageDesignIntent as Lo, formatEventClockLabel as Lr, boxBackgroundOverlaySchema as Ls, runFieldErrors as Lt, getDeclinedPass as M, buildInteractiveIslandProps as Ma, parseSiteId as Mc, EMPTY_APPOINTMENT_BOOKING_QUESTIONS as Mi, formatPassCreditUsageLabel as Mn, generateEffectsCSS as Mo, eventDateLocale as Mr, sectionStylesOverrideSchema as Ms, buildSelectionRequirementsSubmission as Mt, isRegistrationLocked as N, createInteractiveIslandCodec as Na, unsafeAsSiteId as Nc, applyAppointmentBookingQuestionsEvent as Ni, formatRegistrationSchedule as Nn, generateInteractiveChildInheritanceCSS as No, eventDateOptions as Nr, themeSchema as Ns, checkRunRequirements as Nt, registrationStepLabelContext as O, leavePage as Oa, publicEventPricingStrategy as Oc, formatCentsAsCurrencyInput as Oi, findSelectedTicketType as On, footerForegroundCandidates as Oo, resolveMediaNodeResponsiveImage as Or, selectLogoVariant as Os, eventSignInEnds as Ot, registrationFlowReducer as P, defineInteractiveIslandMetaKeys as Pa, parseEventSeriesId as Pc, appointmentQuestionsRefusal as Pi, formatTime as Pn, navLinkHoverColorCandidate as Po, eventLocalDateKey as Pr, headerVariantValues as Ps, decideSelectionRequirementsLayout as Pt, resolveEventRegistrationSubmitPlan as Q, arrangementLookHooks as Qa, reconcileBookingPackagePurchase as Qi, canRequestTicketOption as Qn, anglePolygonCss as Qo, formatRemainingPlaces as Qr, asLayoutVariantKey as Qs, runNeedsPricingChoice as Qt, fullyBookedLabel as R, createZodCodec as Ra, bookingQuestionsAnswerDraftSchema as Ri, getVisibleTicketTypes as Rn, resolvePageDesignBlockLookChoice as Ro, formatEventCompactDateRail as Rr, boxBackgroundSchema as Rs, runRequirementsSnapshotSchema as Rt, getEventSelectionMode as S, resolveDateRuntimeContext as Sa, EVENT_PRESET_VOCABULARY as Sc, resolveBookingPaymentStep as Si, selectionItemName as Sn, surfaceResolutionContextFromTheme as So, mediaImageHostProps as Sr, testimonialsCompositionTreatmentValues as Ss, getRegistrationStartAt as St, registrationPresentation as T, getBlockApiReadStage as Ta, isPublicEventPricingOptionDisplayable as Tc, resolveDefaultBookingServiceId as Ti, serverPricedTotalCents as Tn, resolveCardRole as To, resolveImageSourceSetWithContext as Tr, cardListKnobBlocks as Ts, toWholeSeriesRegistrationEvents as Tt, resolveGuestNextStepCheck as U, listLookControl as Ua, restoreBookingQuestionsAnswers as Ui, getEligibilityFlowFlags as Un, boundaryOptionForTransitionIntent as Uo, formatEventTimeRange as Ur, itemRoleValues as Us, SEVERAL_BOOKINGS_ACCOUNT_NOTE as Ut, planRegistrationDetailsCheck as V, isDecodeSuccess as Va, deriveBookingQuestions as Vi, withOccurrenceTitle as Vn, sectionShapeFromContent as Vo, formatEventNextDateFact as Vr, cardRoleSchema as Vs, withoutKeptAnswers as Vt, resolveRegistrationAdmission as W, listLookSlot as Wa, toBookingQuestionsAnswerDraft as Wi, getRegistrationOccurrenceId as Wn, boundaryOptions as Wo, formatEventWeekdayTime as Wr, openCardRoleValue as Ws, canToggleSelectionItem as Wt, isEventRegistrationAvailable as X, selectItemSurfacePresentation as Xa, bookingPackageRequestKey as Xi, shouldLoadRegistrationOptions as Xn, spaciousBoundaryOption as Xo, canJoinEventWaitlistOnAnyMode as Xr, asAppearancePresetId as Xs, registrationSelectionMode as Xt, deriveEventRegistrationSteps as Y, resolveLookSurfacePresentation as Ya, bookingHasPackagePaymentChoices as Yi, resolveHeldTicketPlaces as Yn, softBoundaryOption as Yo, canJoinEventWaitlist as Yr, siteChromeBackgroundOverrideOwner as Ys, primarySelectionItem as Yt, normalizeEventRegistrationMaxTickets as Z, arrangementAppearancePresets as Za, bookingRequiresResourceSelection as Zi, withRegistrationAvailability as Zn, transitionIntentForTreatment as Zo, formatEventRemainingPlaces as Zr, asDesignBlockId as Zs, runChoiceUsable as Zt, parseStoredCommerceCartState as _, weekStartSchema as _a, parseBrevoListId as _c, normalizeBookingFormConfig as _i, combinationHintCopy as _n, getCuratedSiteStyle as _o, shownVenue as _r, featureCardCompositionTreatmentValues as _s, invitationSubmission as _t, buildProductDetailDisplay as a, toBookingPurchasablePackages as aa, INCOMPATIBLE_ATTENDANCE_MESSAGE as ac, selectMostOpenCapacitySource as ai, selectionIncludes as an, styleSectionBackgroundForColour as ao, setTicketLineQuantity as ar, sectionSurfaceBase as as, buildReviewedBookingPaymentViewModel as at, resolveSelectedProduct as b, isBlockButtonRole as ba, parseNewsletterListId as bc, prepareBookingSubmission as bi, combinationWorking as bn, compiledRuntimeStyleFieldNames as bo, MediaPlaceholder as br, plainFrame as bs, confirmationPaymentRows as bt, formatInterval as c, calendarTabViewsSchema as ca, firstLiveRunSessionStartMs as cc, buildBookingFormInteractiveIslandProps as ci, selectionPlacesLabel as cn, resolveEffectiveArrangement as co, decideSignInReturn as cr, appearancePresets as cs, buildRegistrationSelectionRequest as ct, membershipClassesLabel as d, eventCalendarDefaultViewSchema as da, resolveWholeSeriesBookingPhase as dc, formatBookingSubmissionPreparationError as di, selectionTicketInputs as dn, buildInitialPolicyPageDesignIntent as do, signInReturnPath as dr, assertNever as ds, resolveEventRequiresPayment as dt, resolveBookingPackageSources as ea, asSiteStyleId as ec, getEventAvailability as ei, runUnitPriceCents as en, automaticArrangementLook as eo, getTicketLineQuantity as er, applyLookPhotoTreatment as es, resolveHeadlessEventRegistrationView as et, passCardListContent as f, eventCalendarDisplayModeSchema as fa, resolveWholeSeriesRunLifecycle as fc, getBookingRedirectStateFromLocation as fi, severalConfirmationSentence as fn, deriveSiteStyleBlockPolicy as fo, sweepExpiredSignInReturnDrafts as fr, defineBlockDesignCapability as fs, resolveRegistrationTarget as ft, deriveCommerceCheckoutState as g, registrationButtonVariantSchema as ga, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as gc, isBookingServiceSlidingAmountInRange as gi, toggleSelectionItem as gn, designRuntimeRulesForSiteStyle as go, resolveRegistrationDisplay as gr, designIssueSeverityForPolicy as gs, createRegistrationDraftData as gt, buildProductCartItem as h, previewStageSchema as ha, DEFAULT_MAILING_LIST_PRIVACY_NOTE as hc, getShopSuccessCopy as hi, summariseSelectionPayment as hn, componentRuntimeRulesForSiteStyle as ho, registrationDisplaySchema as hr, defineNoBlockDesignCapability as hs, beginWaitlistInvitation as ht, buildProductCardDisplay as i, resolveBookingPurchasablePackages as ia, isRecord$4 as ic, selectEventCapacitySource as ii, selectionEntitlementNote as in, resolveLookForBlock as io, normalizeTicketSelectionLines as ir, sectionForegroundBackground as is, buildBookingPaymentSelectionViewModel as it, decideEventChoice as j, bookingPageKindSchema as ja, resolvePricingOptionsPriceDisplay as jc, resolveSelectedAppointmentConsent as ji, formatEventDateTime as jn, generateNavLinkCSS as jo, eventCalendarWeekStart as jr, TokenResolver as js, paymentReturnRestoration as jt, areEventRegistrationPaymentSelectionsEqual as k, pageNavigationSchema as ka, publicEventPricingType as kc, formatPrice as ki, formatBookingWhen as kn, getNavLinkPreset as ko, resolvePublicMediaUrl as kr, surfaceToneFromForegroundToken as ks, eventSignInRestoration as kt, formatValidity as l, columnOptionSchema as la, nextLiveRunSessionStartMs as lc, readOverrideServiceCategories as li, selectionPlacesNote as ln, resolveModeArrangement as lo, nextSignInReturnExpiry as lr, resolveEffectiveKnobs as ls, findPreSelectedEvent as lt, buildPassCartItem as m, filterAutoShowSchema as ma, resolveBookingSignupOffer as mc, getRegistrationSuccessCopy as mi, severalRunsChoiceMessage as mn, filterLookIdsForPolicy as mo, placesLeftLabel as mr, defineFrameCapability as ms, toRegistrationRequestSubject as mt, buildCheckoutDisplay as n, resolveBookingPaymentChoice as na, sanitizeHref as nc, getRemainingPlaces as ni, selectionConfirmationHint as nn, getCompatibleBlockAppearancePresets as no, getTicketTypeLineMax as nr, parseCanonicalRuntimeBackground as ns, toInternalPaymentSelection as nt, buildProductListDisplay as o, getBookingServiceSlidingScale as oa, decideSelectionAttendance as oc, groupPublicEventsByRun as oi, selectionItemPrice as on, arrangementManifestFromVariants as oo, clearSignInReturnDrafts as or, stripStaleTransitionStyleGroup as os, paymentChoiceDetails as ot, EMPTY_COMMERCE_CART_STATE as p, eventLayoutSchema as pa, parseMailingListRuntimeContext as pc, getBookingSuccessCopy as pi, severalItemsOf as pn, filterLayoutProfilesForPolicy as po, bookingPresentation as pr, defineExactCatalog as ps, resolveRouteRequiresPayment as pt, settledRemainingPlaces as q, itemRole as qa, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as qi, getTicketSelectionRemainingPlaces as qn, isDecorativeTransitionIntent as qo, resolveEventTimeZone as qr, asHeaderLayoutId as qs, incompleteRunChoiceMessage as qt, buildPassesMembershipsDisplay as r, resolveBookingPaymentMode as ra, parseAspectRatioValue as rc, isEventFull as ri, selectionConsentLabel as rn, resolveArrangementLookForBlock as ro, hasValidPricingOptionSelection as rr, resolveSectionBackground as rs, calculateEventRegistrationPreviewTotal as rt, formatCommercePrice as s, bookingNowSchema as sa, CANCELLED_SESSION_STATUS as sc, bookingFormInteractiveIslandPropsCodec as si, selectionItemsLabel as sn, readStoredMode as so, createSignInReturnDraftStore as sr, themeV2CompilerOwnedFieldNames as ss, paymentChoicePrice as st, buildCartDisplay as t, resolveBookingPaymentAvailability as ta, makeBoundaryId as tc, getEventAvailabilityStatus as ti, selectionAtLimit as tn, compileArrangementLookRuntime as to, getTicketSelectionTotal as tr, deriveSectionGround as ts, toHeadlessPaymentSelection as tt, membershipCardListContent as u, eventButtonVariantSchema as ua, orderedLiveRunSessions as uc, deriveBookingFormViewState as ui, selectionRowAvailability as un, resolvePublishedLook as uo, readSignInReturn as ur, lookModes as us, resolveDiscountContext as ut, productItemKey as v, BLOCK_BUTTON_ROLE_OPTIONS as va, parseMailchimpAudienceId as vc, normalizeBookingServices as vi, combinationOfferLine as vn, requireCuratedSiteStyle as vo, RichText as vr, introCompositionTreatmentValues as vs, registrationQuestionsMessage as vt, registrationPaymentRoute as w, createHostedBlockApiConfig as wa, formatEventPricing as wc, resolveBookingSiteId as wi, selectionPreviewLines as wn, getGradientPreset as wo, renderVideo as wr, cardListFamilyBlocks as ws, toWholeSeriesRegistrationEvent as wt, REGISTRATION_STEP_LABELS as x, readRuntimeNow as xa, offeringLabelForPageSurfaceSubject as xc, resolveAppointmentCheckoutVerificationState as xi, selectionCombinationHint as xn, stripCompiledRuntimeStyleFields as xo, computeMediaTransformStyle as xr, sectionBackgroundPaintValues as xs, resolveFinishedPresentation as xt, reduceCommerceCart as y, blockButtonRoleSchema as ya, parseMailchimpInterestId as yc, parseBookingCurrencyInputToCents as yi, combinationOffersOf as yn, compilePageRuntimeFields as yo, ImagePresets as yr, offeringsPreviewCompositionTreatmentValues as ys, validateFormData as yt, getTicketSelectionPurpose as z, defineClientOwnedBlockRuntime as za, bookingQuestionsPaymentSnapshotSchema as zi, occurrenceTitleOverride as zn, resolvePageDesignBoundaryChoice as zo, formatEventDateParts as zr, runtimeBoxBackgroundSchema as zs, runsKeepingAnswers as zt };
36094
+ export { resolveHeadlessEventRegistrationStatus as $, arrangementAppearancePresets as $a, reconcileBookingPackagePurchase as $i, getSingleSelectedPricingOptionId as $n, transitionIntentForTreatment as $o, formatTotalCapacity as $r, asDesignBlockId as $s, runPricingChoice as $t, createInitialRegistrationFlowState as A, pageNavigationSchema as Aa, publicEventPricingStrategy as Ac, formatPrice as Ai, formatDate as An, footerForegroundCandidates as Ao, buildCalendarViewport as Ar, selectLogoVariant as As, toEventSignInDraft as At, placeCountCeiling as B, defineClientOwnedBlockRuntime as Ba, bookingQuestionsPaymentSnapshotSchema as Bi, transformRegistrationOptionsResponse as Bn, resolvePageDesignBlockLookChoice as Bo, formatEventHourLabel as Br, boxBackgroundSchema as Bs, toRunRequirementsSnapshots as Bt, panelShouldOpen as C, resolveDateRuntimeContext as Ca, offeringLabelForPageSurfaceSubject as Cc, resolveBookingPaymentStep as Ci, selectionPreviewKey as Cn, stripCompiledRuntimeStyleFields as Co, renderAudio as Cr, sectionBackgroundPaintValues as Cs, toRegistrationEvents as Ct, registrationStepLabel as D, PAGE_NAVIGATION as Da, isPublicEventPricingOptionDisplayable as Dc, selectedBookingCollectionOptionKind as Di, areEntitlementsDisabledForTicketCount as Dn, resolveCardRole as Do, resolveImageUrlWithContext as Dr, cardListKnobBlocks as Ds, eventSignInDraftStore as Dt, registrationRoute as E, getBlockApiReadStage as Ea, formatEventPricing as Ec, resolveDefaultBookingServiceId as Ei, ENTITLEMENT_SINGLE_TICKET_TOOLTIP as En, getGradientPreset as Eo, resolveImageUrl as Er, cardListFamilyBlocks as Es, EVENT_SIGN_IN_FORM_ID as Et, buildEventRegistrationPaymentOptionsViewModel as F, defineInteractiveIslandMetaKeys as Fa, unsafeAsSiteId as Fc, appointmentQuestionsRefusal as Fi, getImplicitSingleTicketType as Fn, generateInteractiveChildInheritanceCSS as Fo, formatCalendarTitle as Fr, themeSchema as Fs, deriveRunRequirements as Ft, resolveRegistrationAvailabilityBlocker as G, listLookSlot as Ga, toBookingQuestionsAnswerDraft as Gi, getSlidingScaleForEvent as Gn, boundaryOptionForTransitionIntent as Go, formatTime$1 as Gr, itemRoleValues as Gs, decideSelectionPayment as Gt, planRegistrationDetailsContinuation as H, isDecodeSuccess as Ha, deriveBookingQuestions as Hi, getCurrentTicketSelection as Hn, sectionShapeForGround as Ho, formatEventRunDates as Hr, boxlessCardVariantValue as Hs, SELECTION_LIMIT_NOTE as Ht, decideEventRegistrationPayment as I, eventRegistrationPageSurfaceSubjectSchema as Ia, parseEventSeriesId as Ic, deriveAppointmentBookingQuestions as Ii, getPortalSubjectEmail as In, navLinkHoverColorCandidate as Io, formatDate$1 as Ir, headerVariantValues as Is, nextRunToRead as It, visitorHoldsOwnPlace as J, itemRole as Ja, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as Ji, parseCurrencyInputToCents as Jn, boundaryTreatmentForBoundaryOptionId as Jo, resolveRuntimeEventDestination as Jr, parseGradientPresetId as Js, planSelectionPrice as Jt, resolveRegistrationTicketContinuation as K, lookListPresentationSchemaShape as Ka, toBookingQuestionsPaymentSnapshot as Ki, getSlidingScaleSelectionMessage as Kn, boundaryOptions as Ko, groupEventsByDate as Kr, openCardRoleValue as Ks, effectiveSelection as Kt, shouldPromptForLogin as L, normalizeEventRegistrationPageSurfaceSubject as La, unsafeAsEventCategoryId as Lc, isAppointmentBookingQuestionsEvent as Li, getTicketTypeAvailabilityLabel as Ln, navLinkOwnsHoverForeground as Lo, formatEventClockLabel as Lr, blockCustomCssRuleSchema as Ls, runFieldErrors as Lt, getDeclinedPass as M, bookingPageKindSchema as Ma, resolveExactOrFreePriceDisplay as Mc, resolveSelectedAppointmentConsent as Mi, formatPassCreditUsageLabel as Mn, buildTextContrastShadow as Mo, eventDateLocale as Mr, arrangementSlotNames as Ms, buildSelectionRequirementsSubmission as Mt, isRegistrationLocked as N, buildInteractiveIslandProps as Na, resolvePricingOptionsPriceDisplay as Nc, EMPTY_APPOINTMENT_BOOKING_QUESTIONS as Ni, formatRegistrationSchedule as Nn, generateNavLinkCSS as No, eventDateOptions as Nr, TokenResolver as Ns, checkRunRequirements as Nt, registrationStepLabelContext as O, canonicalUrl as Oa, publicEventPricingCurrency as Oc, toSelectedCollectionOptionKind as Oi, findSelectedTicketType as On, generateDefaultCardSystem as Oo, resolveMediaNodeResponsiveImage as Or, opaqueSurfaceContextFromTheme as Os, eventSignInEnds as Ot, registrationFlowReducer as P, createInteractiveIslandCodec as Pa, parseSiteId as Pc, applyAppointmentBookingQuestionsEvent as Pi, formatTime as Pn, generateEffectsCSS as Po, eventLocalDateKey as Pr, sectionStylesOverrideSchema as Ps, decideSelectionRequirementsLayout as Pt, resolveEventRegistrationSubmitPlan as Q, generateLookMediaFrameCss as Qa, bookingRequiresResourceSelection as Qi, canRequestTicketOption as Qn, spaciousBoundaryOption as Qo, formatRemainingPlaces as Qr, asAppearancePresetId as Qs, runNeedsPricingChoice as Qt, fullyBookedLabel as R, resolveEventRegistrationScopedEvents as Ra, needsAppointmentQuestionsRefresh as Ri, getVisibleTicketTypes as Rn, navLinkOwnsUnderline as Ro, formatEventCompactDateRail as Rr, customCssRuleSchema as Rs, runRequirementsSnapshotSchema as Rt, getEventSelectionMode as S, readRuntimeNow as Sa, parseNewsletterListId as Sc, resolveAppointmentCheckoutVerificationState as Si, selectionItemName as Sn, compiledRuntimeStyleFieldNames as So, mediaImageHostProps as Sr, plainFrame as Ss, getRegistrationStartAt as St, registrationPresentation as T, createHostedBlockApiConfig as Ta, formatBookingPriceDisplay as Tc, resolveBookingSiteId as Ti, serverPricedTotalCents as Tn, gradientToCss as To, resolveImageSourceSetWithContext as Tr, toNonEmptyReadonlyArray as Ts, toWholeSeriesRegistrationEvents as Tt, resolveGuestNextStepCheck as U, listItemPresentation as Ua, needsBookingQuestionsRefresh as Ui, getEligibilityFlowFlags as Un, sectionShapeFromContent as Uo, formatEventTimeRange as Ur, cardRoleSchema as Us, SEVERAL_BOOKINGS_ACCOUNT_NOTE as Ut, planRegistrationDetailsCheck as V, defineProgressiveBlockRuntime as Va, decideBookingQuestionsRestoration as Vi, withOccurrenceTitle as Vn, resolvePageDesignBoundaryChoice as Vo, formatEventNextDateFact as Vr, runtimeBoxBackgroundSchema as Vs, withoutKeptAnswers as Vt, resolveRegistrationAdmission as W, listLookControl as Wa, restoreBookingQuestionsAnswers as Wi, getRegistrationOccurrenceId as Wn, sectionShapeHook as Wo, formatEventWeekdayTime as Wr, cardVariantRoleValues as Ws, canToggleSelectionItem as Wt, isEventRegistrationAvailable as X, resolveLookSurfacePresentation as Xa, bookingHasPackagePaymentChoices as Xi, shouldLoadRegistrationOptions as Xn, noneBoundaryOption as Xo, canJoinEventWaitlistOnAnyMode as Xr, asHeaderStyleId as Xs, registrationSelectionMode as Xt, deriveEventRegistrationSteps as Y, lookPresentationOnPalette as Ya, applyBookingPaymentAdmission as Yi, resolveHeldTicketPlaces as Yn, isDecorativeTransitionIntent as Yo, canJoinEventWaitlist as Yr, asHeaderLayoutId as Ys, primarySelectionItem as Yt, normalizeEventRegistrationMaxTickets as Z, selectItemSurfacePresentation as Za, bookingPackageRequestKey as Zi, withRegistrationAvailability as Zn, softBoundaryOption as Zo, formatEventRemainingPlaces as Zr, siteChromeBackgroundOverrideOwner as Zs, runChoiceUsable as Zt, parseStoredCommerceCartState as _, registrationButtonVariantSchema as _a, DEFAULT_MAILING_LIST_PRIVACY_NOTE as _c, isSameOpenCheckout as _i, combinationHintCopy as _n, componentRuntimeRulesForSiteStyle as _o, shownVenue as _r, defineNoBlockDesignCapability as _s, invitationSubmission as _t, buildProductDetailDisplay as a, resolveBookingPurchasablePackages as aa, parseAspectRatioValue as ac, selectMostOpenCapacitySource as ai, selectionIncludes as an, resolveArrangementLookForBlock as ao, setTicketLineQuantity as ar, resolveSectionBackground as as, buildReviewedBookingPaymentViewModel as at, resolveSelectedProduct as b, blockButtonRoleSchema as ba, parseMailchimpAudienceId as bc, parseBookingCurrencyInputToCents as bi, combinationWorking as bn, requireCuratedSiteStyle as bo, MediaPlaceholder as br, introCompositionTreatmentValues as bs, confirmationPaymentRows as bt, formatInterval as c, bookingNowSchema as ca, decideSelectionAttendance as cc, buildBookingFormInteractiveIslandProps as ci, selectionPlacesLabel as cn, arrangementManifestFromVariants as co, decideSignInReturn as cr, stripStaleTransitionStyleGroup as cs, buildRegistrationSelectionRequest as ct, membershipClassesLabel as d, eventButtonVariantSchema as da, nextLiveRunSessionStartMs as dc, formatBookingSubmissionPreparationError as di, selectionTicketInputs as dn, resolveModeArrangement as do, signInReturnPath as dr, resolveEffectiveKnobs as ds, resolveEventRequiresPayment as dt, resolveBookingPackagePaymentSelection as ea, asLayoutVariantKey as ec, getEventAvailability as ei, runUnitPriceCents as en, arrangementLookHooks as eo, getTicketLineQuantity as er, anglePolygonCss as es, resolveHeadlessEventRegistrationView as et, passCardListContent as f, eventCalendarDefaultViewSchema as fa, orderedLiveRunSessions as fc, getBookingRedirectStateFromLocation as fi, severalConfirmationSentence as fn, resolvePublishedLook as fo, sweepExpiredSignInReturnDrafts as fr, lookModes as fs, resolveRegistrationTarget as ft, deriveCommerceCheckoutState as g, previewStageSchema as ga, resolveBookingSignupOffer as gc, isBookingServiceSlidingAmountInRange as gi, toggleSelectionItem as gn, filterLookIdsForPolicy as go, resolveRegistrationDisplay as gr, defineFrameCapability as gs, createRegistrationDraftData as gt, buildProductCartItem as h, filterAutoShowSchema as ha, parseMailingListRuntimeContext as hc, getShopSuccessCopy as hi, summariseSelectionPayment as hn, filterLayoutProfilesForPolicy as ho, registrationDisplaySchema as hr, defineExactCatalog as hs, beginWaitlistInvitation as ht, buildProductCardDisplay as i, resolveBookingPaymentMode as ia, sanitizeHref as ic, selectEventCapacitySource as ii, selectionEntitlementNote as in, getCompatibleBlockAppearancePresets as io, normalizeTicketSelectionLines as ir, parseCanonicalRuntimeBackground as is, buildBookingPaymentSelectionViewModel as it, decideEventChoice as j, requestSignIn as ja, publicEventPricingType as jc, projectSelectedAppointmentConsentIntoForm as ji, formatEventDateTime as jn, getNavLinkPreset as jo, eventCalendarWeekStart as jr, surfaceToneFromForegroundToken as js, paymentReturnRestoration as jt, areEventRegistrationPaymentSelectionsEqual as k, leavePage as ka, publicEventPricingDisplay as kc, formatCentsAsCurrencyInput as ki, formatBookingWhen as kn, generateFooterCss as ko, resolvePublicMediaUrl as kr, opaqueSurfaceDeclarations as ks, eventSignInRestoration as kt, formatValidity as l, calendarTabViewsSchema as la, CANCELLED_SESSION_STATUS as lc, readOverrideServiceCategories as li, selectionPlacesNote as ln, readStoredMode as lo, nextSignInReturnExpiry as lr, themeV2CompilerOwnedFieldNames as ls, findPreSelectedEvent as lt, buildPassCartItem as m, eventLayoutSchema as ma, resolveWholeSeriesRunLifecycle as mc, getRegistrationSuccessCopy as mi, severalRunsChoiceMessage as mn, deriveSiteStyleBlockPolicy as mo, placesLeftLabel as mr, defineBlockDesignCapability as ms, toRegistrationRequestSubject as mt, buildCheckoutDisplay as n, resolveBookingPaymentAvailability as na, asSiteStyleId as nc, getRemainingPlaces as ni, selectionConfirmationHint as nn, automaticArrangementLook as no, getTicketTypeLineMax as nr, applyLookPhotoTreatment as ns, toInternalPaymentSelection as nt, buildProductListDisplay as o, toBookingPurchasablePackages as oa, isRecord$4 as oc, groupPublicEventsByRun as oi, selectionItemPrice as on, resolveLookForBlock as oo, clearSignInReturnDrafts as or, sectionForegroundBackground as os, paymentChoiceDetails as ot, EMPTY_COMMERCE_CART_STATE as p, eventCalendarDisplayModeSchema as pa, resolveWholeSeriesBookingPhase as pc, getBookingSuccessCopy as pi, severalItemsOf as pn, buildInitialPolicyPageDesignIntent as po, bookingPresentation as pr, assertNever as ps, resolveRouteRequiresPayment as pt, settledRemainingPlaces as q, resolvedItemSurfaceProps as qa, BOOKING_FORM_DATA_RESERVED_KEYS as qi, getTicketSelectionRemainingPlaces as qn, boundaryRuntimeMetricsForDecorativeTransition as qo, resolveEventTimeZone as qr, surfaceCardRoleValues as qs, incompleteRunChoiceMessage as qt, buildPassesMembershipsDisplay as r, resolveBookingPaymentChoice as ra, makeBoundaryId as rc, isEventFull as ri, selectionConsentLabel as rn, compileArrangementLookRuntime as ro, hasValidPricingOptionSelection as rr, deriveSectionGround as rs, calculateEventRegistrationPreviewTotal as rt, formatCommercePrice as s, getBookingServiceSlidingScale as sa, INCOMPATIBLE_ATTENDANCE_MESSAGE as sc, bookingFormInteractiveIslandPropsCodec as si, selectionItemsLabel as sn, styleSectionBackgroundForColour as so, createSignInReturnDraftStore as sr, sectionSurfaceBase as ss, paymentChoicePrice as st, buildCartDisplay as t, resolveBookingPackageSources as ta, asPageFlowPresetId as tc, getEventAvailabilityStatus as ti, selectionAtLimit as tn, arrangementStyleAvailability as to, getTicketSelectionTotal as tr, transitionCatalogueEntries as ts, toHeadlessPaymentSelection as tt, membershipCardListContent as u, columnOptionSchema as ua, firstLiveRunSessionStartMs as uc, deriveBookingFormViewState as ui, selectionRowAvailability as un, resolveEffectiveArrangement as uo, readSignInReturn as ur, appearancePresets as us, resolveDiscountContext as ut, productItemKey as v, weekStartSchema as va, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as vc, normalizeBookingFormConfig as vi, combinationOfferLine as vn, designRuntimeRulesForSiteStyle as vo, RichText as vr, designIssueSeverityForPolicy as vs, registrationQuestionsMessage as vt, registrationPaymentRoute as w, browserReadAuthoritySchema as wa, EVENT_PRESET_VOCABULARY as wc, resolveBookingSelectedService as wi, selectionPreviewLines as wn, surfaceResolutionContextFromTheme as wo, renderVideo as wr, testimonialsCompositionTreatmentValues as ws, toWholeSeriesRegistrationEvent as wt, REGISTRATION_STEP_LABELS as x, isBlockButtonRole as xa, parseMailchimpInterestId as xc, prepareBookingSubmission as xi, selectionCombinationHint as xn, compilePageRuntimeFields as xo, computeMediaTransformStyle as xr, offeringsPreviewCompositionTreatmentValues as xs, resolveFinishedPresentation as xt, reduceCommerceCart as y, BLOCK_BUTTON_ROLE_OPTIONS as ya, parseBrevoListId as yc, normalizeBookingServices as yi, combinationOffersOf as yn, getCuratedSiteStyle as yo, ImagePresets as yr, featureCardCompositionTreatmentValues as ys, validateFormData as yt, getTicketSelectionPurpose as z, createZodCodec as za, bookingQuestionsAnswerDraftSchema as zi, occurrenceTitleOverride as zn, parsePageDesignIntent as zo, formatEventDateParts as zr, boxBackgroundOverlaySchema as zs, runsKeepingAnswers as zt };