@riverbankcms/sdk 0.174.0 → 0.174.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-GqVX3I8E.d.ts → BlocksIslandsHydrator-YRmc-Yxz.d.ts} +1 -1
  2. package/dist/_dts/{Page-BhUH31M-.d.ts → Page-Du0zX1B-.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-DBn2x0UL.d.ts → SdkPreviewMode-4L8v3FkY.d.ts} +2 -2
  4. package/dist/_dts/{client-Cr-sOeSl.d.ts → client-B1J6Akyf.d.ts} +1 -1
  5. package/dist/_dts/{content-types-DKw1yJdN.d.ts → content-types-CGGYI0u_.d.ts} +2 -2
  6. package/dist/_dts/{contracts-CJ2O03nB.d.ts → contracts-CHMlw9hT.d.ts} +3 -3
  7. package/dist/_dts/{footerPageOutline-DoGHHKr_.d.ts → footerPageOutline-DIHSU1Vr.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-CJGu4hoa.d.ts → generatePageMetadata-JITXD6BU.d.ts} +2 -2
  9. package/dist/_dts/{index-Bq-488M7.d.ts → index-BLEKFHt1.d.ts} +1 -1
  10. package/dist/_dts/{index-DYsP4k6S.d.ts → index-BgOr1Xyz.d.ts} +3 -3
  11. package/dist/_dts/{index-DQZ5L0Gb.d.ts → index-CF62FntA.d.ts} +2 -2
  12. package/dist/_dts/{index-3GzargmS.d.ts → index-CXZSy_9M.d.ts} +2 -2
  13. package/dist/_dts/{index-DYlfdT1O.d.ts → index-D9ZYmGAJ.d.ts} +1 -1
  14. package/dist/_dts/{index-DdEi2iXd.d.ts → index-DpJm0NpL.d.ts} +4 -4
  15. package/dist/_dts/{index--39uLjrr.d.ts → index-yWDbUojb.d.ts} +1 -1
  16. package/dist/_dts/{loadContent-BVPagYmy.d.ts → loadContent-M-s0p0rq.d.ts} +7 -7
  17. package/dist/_dts/{request-Be1E-H-V.d.ts → request-BK-pHf0P.d.ts} +449 -118
  18. package/dist/_dts/{resolveBlockData-D1pL25bD.d.ts → resolveBlockData-DZAlnhwt.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-B4sbTf96.d.ts → resolvePageContent-DXUCWJ3y.d.ts} +2 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  29. package/dist/_dts/sdk/src/index.d.ts +8 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  53. package/dist/_dts/{types-5MeDI1w8.d.ts → types-CwmB2NHU.d.ts} +7 -7
  54. package/dist/_dts/{types-Bm5_3VEd.d.ts → types-DjVNADXR.d.ts} +3 -3
  55. package/dist/_dts/{types-CVoCc_Ia.d.ts → types-Dmow_FI6.d.ts} +2 -2
  56. package/dist/_dts/{validation-lEtYD-Rh.d.ts → validation-h8t1HLlL.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-DkflFLGQ.mjs → BlocksIslandsHydrator-DRVx_XLi.mjs} +16 -16
  58. package/dist/client/{BookingMailingListNote-CAyoiAGD.mjs → BookingMailingListNote-CwrMzj-k.mjs} +2 -2
  59. package/dist/client/{BookingPanelArrangement-C7yiJrxm.mjs → BookingPanelArrangement-C2_hFT6K.mjs} +1 -1
  60. package/dist/client/{CalendarNavigationChevron-BPQU5Snc.mjs → CalendarNavigationChevron-Az1-TIEI.mjs} +4 -4
  61. package/dist/client/{DemoBookingPortalAccess-BnEgvJas.mjs → DemoBookingPortalAccess-1p-pJ1lg.mjs} +1 -1
  62. package/dist/client/{EventCalendar.client-BiWQc28-.mjs → EventCalendar.client-CDkkP-Lv.mjs} +8 -8
  63. package/dist/client/{EventCombined.client-B_ytWQtn.mjs → EventCombined.client-DK3aaz62.mjs} +5 -5
  64. package/dist/client/{EventItem-C-mxXpX_.mjs → EventItem-WeUipfIP.mjs} +3 -3
  65. package/dist/client/{EventListWeekNavigation-Bm3Ap1Rd.mjs → EventListWeekNavigation-D3sbAeDo.mjs} +1 -1
  66. package/dist/client/{EventListing.client-Bs_8im5_.mjs → EventListing.client-DL3gGGmF.mjs} +3 -3
  67. package/dist/client/{EventListing.view-CN7BjGgC.mjs → EventListing.view-DKFImKOx.mjs} +5 -5
  68. package/dist/client/{EventRegistrationPayment-DPkRcSdw.mjs → EventRegistrationPayment-Dn9TpWyL.mjs} +39 -13
  69. package/dist/client/{Page--xJ23nA5.mjs → Page-BpeP9xdt.mjs} +58 -1011
  70. package/dist/client/{StepIndicator-D391QRNc.mjs → StepIndicator-CP6zrwkl.mjs} +4 -241
  71. package/dist/client/{accordion-BQtTkDN8.mjs → accordion-nR7D4m1a.mjs} +1 -1
  72. package/dist/client/{booking-form.client-D9M7TKGV.mjs → booking-form.client-Ce-mQZ7W.mjs} +6 -6
  73. package/dist/client/{bookingForm-BsOS0sl9.mjs → bookingForm-B-qT_AQB.mjs} +3 -3
  74. package/dist/client/bookings.mjs +3 -3
  75. package/dist/client/{boxStyleClassNames-CNDLpT06.mjs → boxStyleClassNames-CrE3TDpW.mjs} +2 -29
  76. package/dist/client/{carousel-CPsW-FPh.mjs → carousel-CVUOatsY.mjs} +1 -1
  77. package/dist/client/{cart-CwElmocm.mjs → cart-DE0K6E0R.mjs} +3 -3
  78. package/dist/client/{cart.client-RpqI56w8.mjs → cart.client-C23E6WQ5.mjs} +1 -1
  79. package/dist/client/{checkout-CfMgqY8H.mjs → checkout-76cdHyPL.mjs} +3 -3
  80. package/dist/client/{checkout.client-BpuPyOuJ.mjs → checkout.client-DJOzqb26.mjs} +1 -1
  81. package/dist/client/{checkoutUrls-VeHY6WYj.mjs → checkoutUrls-CvIP5DCO.mjs} +1 -1
  82. package/dist/client/client.mjs +4 -3
  83. package/dist/client/{course-q1sA4Cj-.mjs → course-DHIrXqNT.mjs} +1 -1
  84. package/dist/client/{display-D8MW2b0e.mjs → display-Cf_j5stk.mjs} +1972 -382
  85. package/dist/client/{enhanceHeaderSection-BzjY6AiY.mjs → enhanceHeaderSection-5GD5o4Mt.mjs} +3 -3
  86. package/dist/client/{event-details.client-CseTWUFC.mjs → event-details.client-D7Oz1q2L.mjs} +1 -1
  87. package/dist/client/{event-registration.client-b5TLxntR.mjs → event-registration.client-zbuX36aA.mjs} +133 -127
  88. package/dist/client/{eventCalendar-C-kJNIc9.mjs → eventCalendar-uZrksODt.mjs} +3 -3
  89. package/dist/client/{eventCombined-BgHJGhwE.mjs → eventCombined-DxhvNAx8.mjs} +3 -3
  90. package/dist/client/{eventDetails-CAwbreD0.mjs → eventDetails-DCIH4BYG.mjs} +2 -2
  91. package/dist/client/{eventListing-_14atrj8.mjs → eventListing-B9KrnPvc.mjs} +3 -3
  92. package/dist/client/{eventRegistration-BOqSdstJ.mjs → eventRegistration-TjnURMKl.mjs} +3 -3
  93. package/dist/client/{form-DfAB-llc.mjs → form-CfqIAhfN.mjs} +2 -2
  94. package/dist/client/{form.client-DN-I9_qC.mjs → form.client-CL6fF0cW.mjs} +2 -2
  95. package/dist/client/{form.parts-t2Q1neM6.mjs → form.parts-Bf-L66Gg.mjs} +1 -1
  96. package/dist/client/{headerSection-Dces54pb.mjs → headerSection-WVXtOcuW.mjs} +2 -2
  97. package/dist/client/{newsletter-form.client-D_YFUlR2.mjs → newsletter-form.client-Bb7GAZpO.mjs} +3 -3
  98. package/dist/client/{newsletter-form.parts-URO5Mn_I.mjs → newsletter-form.parts-BqOVRdIc.mjs} +1 -1
  99. package/dist/client/{newsletterForm-_c9fKIzS.mjs → newsletterForm-DOVe-qY3.mjs} +2 -2
  100. package/dist/client/{product-detail.client-CVW1UIxJ.mjs → product-detail.client-CNzeFnFf.mjs} +1 -1
  101. package/dist/client/{product-list.client-CF9hO23G.mjs → product-list.client-LKpzC7pj.mjs} +1 -1
  102. package/dist/client/{productDetail-C_qbmUuP.mjs → productDetail-D2JNeEgx.mjs} +3 -3
  103. package/dist/client/{productList-Df5qDD0z.mjs → productList-DTgZXOEq.mjs} +3 -3
  104. package/dist/client/{propsDecoder-BiEyK2ii.mjs → propsDecoder-mpBQt2AT.mjs} +2 -2
  105. package/dist/client/{registry.server-ClcfWpvM.mjs → registry.server-DdTJyar2.mjs} +19 -37
  106. package/dist/client/rendering/client.mjs +20 -20
  107. package/dist/client/rendering/islands.mjs +1 -1
  108. package/dist/client/rendering.mjs +5 -6
  109. package/dist/client/{routeIslandApiConfig-DAypPzSo.mjs → routeIslandApiConfig-8cfSgT0E.mjs} +1 -1
  110. package/dist/client/{shop-gteEpeO5.mjs → shop-5LBhftWx.mjs} +3 -3
  111. package/dist/client/{shop-commerce-Bw4_BXQg.mjs → shop-commerce-DkValjZj.mjs} +8 -8
  112. package/dist/client/{shop-commerce-store-Da6Ah-_4.mjs → shop-commerce-store-BOmXFmk_.mjs} +1 -1
  113. package/dist/client/{shop-discount-apply.state-DidgH7ow.mjs → shop-discount-apply.state-D0ifS6KX.mjs} +1 -1
  114. package/dist/client/{shop.client-CbbdjWWd.mjs → shop.client-BTtZqNmv.mjs} +8 -8
  115. package/dist/client/{shop.interactive-CKFORzux.mjs → shop.interactive-DNRqG4aX.mjs} +6 -5
  116. package/dist/client/{shopShared-C7QjoywZ.mjs → shopShared-Nky6kPYr.mjs} +1 -1
  117. package/dist/client/{timetableModel-CtZiIj9q.mjs → timetableModel-DZArznD_.mjs} +5 -142
  118. package/dist/client/{useDiscountApply-BZU5DWZQ.mjs → useDiscountApply-BBnStWXU.mjs} +1 -1
  119. package/dist/client/{useDiscountCodeUi-BuLgof7O.mjs → useDiscountCodeUi-d7viY_mu.mjs} +1 -1
  120. package/dist/client/{useEventPagination-B4VPtSEF.mjs → useEventPagination-Da2JqxGC.mjs} +4 -4
  121. package/dist/client/{view-CvlTplao.mjs → view-BvuYmQJ5.mjs} +2 -2
  122. package/dist/client/{view-CxUpgcM6.mjs → view-D9ObkFtz.mjs} +5 -6
  123. package/dist/preview-next/client/{PageSectionToolbar-BFbSrDbi.mjs → PageSectionToolbar-DwxHT-2k.mjs} +3 -3
  124. package/dist/preview-next/client/{PreviewEditorSidebar-BtpzqQ-i.mjs → PreviewEditorSidebar-D4SBxGU6.mjs} +9 -9
  125. package/dist/preview-next/client/{PreviewEditorUI-z22h-CCY.mjs → PreviewEditorUI-D8mUct32.mjs} +4 -4
  126. package/dist/preview-next/client/{PreviewShell-BW3Qpoa_.mjs → PreviewShell-L2AEdNUQ.mjs} +5 -5
  127. package/dist/preview-next/client/{SdkPreviewModeRuntime-BvVeK1hR.mjs → SdkPreviewModeRuntime-bhVAU2D2.mjs} +5 -5
  128. package/dist/preview-next/client/{previewAssistantSlot-BUqAh1FL.mjs → previewAssistantSlot-Jpj_HDra.mjs} +852 -610
  129. package/dist/preview-next/client/{previewChromeRoot-NCy5zHO8.mjs → previewChromeRoot-CYTDvx4u.mjs} +1 -1
  130. package/dist/preview-next/client/runtime.mjs +3 -3
  131. package/dist/preview-next/client/{sdk-runtime-CxmKDVGZ.mjs → sdk-runtime-CZHX6J_4.mjs} +2 -2
  132. package/dist/preview-next/client/{siteStyleAccess-B_UaDyJO.mjs → siteStyleAccess-DmGIG9Hk.mjs} +3 -3
  133. package/dist/preview-next/client/{useAutosaveStatus-BqmWvPLY.mjs → useAutosaveStatus-DQCyswQ-.mjs} +1 -1
  134. package/dist/preview-next/client/{useOpenBlockForSetup-LAllV0rU.mjs → useOpenBlockForSetup-LwE5yXvL.mjs} +13 -2
  135. package/dist/preview-next/keepAlive.mjs +1 -1
  136. package/dist/preview-next/middleware.mjs +1 -1
  137. package/dist/preview-next/{route-contract-DV6SeCNv.mjs → route-contract-BOuNcOcN.mjs} +1 -0
  138. package/dist/server/{Block.shared-Ch2FKAvU.mjs → Block.shared-wfJfhs08.mjs} +4 -4
  139. package/dist/server/{ThemeScopeCore-DFvjDVzi.mjs → ThemeScopeCore-BtrJNHTB.mjs} +1 -1
  140. package/dist/server/{bindings-CQg2lzZn.mjs → bindings-P1CF2Gm6.mjs} +4 -4
  141. package/dist/server/{client-aYRTVneD.mjs → client-CGtU5fHI.mjs} +2 -1
  142. package/dist/server/config-validation.mjs +1 -1
  143. package/dist/server/config.mjs +2 -2
  144. package/dist/server/data/resolveBlockData.mjs +1 -1
  145. package/dist/server/index.mjs +2 -2
  146. package/dist/server/{loadContent-Cgpfr44e.mjs → loadContent-ChnkJSay.mjs} +4 -4
  147. package/dist/server/{loadPage-RDk10NMP.mjs → loadPage-DesHhgxj.mjs} +2 -2
  148. package/dist/server/{lookMediaFrame-CQtkvlDn.mjs → lookMediaFrame-BBr0mkze.mjs} +106 -8
  149. package/dist/server/next.mjs +6 -6
  150. package/dist/server/{overrideResolution-VhhN94d8.mjs → overrideResolution-DHEkHcZs.mjs} +1 -1
  151. package/dist/server/page-converter.mjs +1 -1
  152. package/dist/server/{pageRenderPlan-CkFTsxkd.mjs → pageRenderPlan-0jvm0RBk.mjs} +13 -323
  153. package/dist/server/{pageRuntimeSupport-CpAtzNxD.mjs → pageRuntimeSupport-8-f1Zr9e.mjs} +1 -1
  154. package/dist/server/{pageShared-B8yLPjs0.mjs → pageShared-CuVFoV4z.mjs} +7 -243
  155. package/dist/server/{prebuild-DOu6QceG.mjs → prebuild-Bms_Y7wQ.mjs} +1 -1
  156. package/dist/server/prebuild.mjs +1 -1
  157. package/dist/server/{prefetchBlockData-CfOXFKYG.mjs → prefetchBlockData-5oC5kyHe.mjs} +2 -2
  158. package/dist/server/{registry-34rkAfaU.mjs → registry-DmqxC8th.mjs} +663 -48
  159. package/dist/server/rendering/components/pageShared.mjs +1 -1
  160. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  161. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  162. package/dist/server/rendering/server.mjs +3 -3
  163. package/dist/server/rendering.mjs +7 -7
  164. package/dist/server/{resolveBlockData-D7VeoWgr.mjs → resolveBlockData-EYogtwQc.mjs} +1 -1
  165. package/dist/server/server.mjs +3 -3
  166. package/dist/server/theme-bridge.mjs +1 -1
  167. package/dist/server/{validation-CLVKoJrX.mjs → validation-Bt_8IL1g.mjs} +3 -3
  168. package/dist/server/{version-HVfdvBJ0.mjs → version-DT_efohp.mjs} +1 -1
  169. package/dist/styles/index.css +66 -20
  170. package/package.json +1 -1
  171. package/dist/client/bookability-CE637yDE.mjs +0 -17
@@ -387,7 +387,7 @@ function formatBookingPriceDisplay(display, options = {}) {
387
387
  case "exact": return formatCurrencyAmount(display.amount, display.currency, options);
388
388
  case "from": return `From ${formatCurrencyAmount(display.amount, display.currency, options)}`;
389
389
  case "range": return `${formatCurrencyAmount(display.minAmount, display.currency, options)}–${formatCurrencyAmount(display.maxAmount, display.currency, options)}`;
390
- case "mixed": return display.paidToAmount > display.paidFromAmount ? `Free / ${formatCurrencyAmount(display.paidFromAmount, display.currency, options)}–${formatCurrencyAmount(display.paidToAmount, display.currency, options)}` : `Free / ${formatCurrencyAmount(display.paidFromAmount, display.currency, options)}`;
390
+ case "mixed": return display.paidToAmount > display.paidFromAmount ? `Free or ${formatCurrencyAmount(display.paidFromAmount, display.currency, options)}–${formatCurrencyAmount(display.paidToAmount, display.currency, options)}` : `Free or ${formatCurrencyAmount(display.paidFromAmount, display.currency, options)}`;
391
391
  case "unavailable": return "Pricing unavailable";
392
392
  case "external": return display.label;
393
393
  default: return assertNever$9(display);
@@ -3506,6 +3506,7 @@ const PUBLIC_READ_CACHE_POLICIES = {
3506
3506
  "public_passes",
3507
3507
  "public_memberships"
3508
3508
  ], "batch_only"),
3509
+ getPublicMapLocation: availability(["public_events", "public_event_filters"], "batch_only"),
3509
3510
  resolveEventSubroute: availability(["public_events", "public_event_filters"], "direct"),
3510
3511
  listPublicRouteCandidates: content(["published_content"], "batch_only"),
3511
3512
  listPublicTeamMembers: content(["public_team_members"]),
@@ -4237,6 +4238,11 @@ const eventRegistrationErrors = {
4237
4238
  message: "Booking is currently closed for this event. Please contact the organiser if you’d like to find out more.",
4238
4239
  action: "none"
4239
4240
  },
4241
+ siteNotTakingBookings: {
4242
+ endsCommand: false,
4243
+ message: "This business isn’t taking online bookings right now. Please contact them if you’d like to book.",
4244
+ action: "none"
4245
+ },
4240
4246
  paymentInvestigationRequired: {
4241
4247
  endsCommand: false,
4242
4248
  message: "We still can’t confirm your payment. Please don’t make another payment. Contact the organiser so they can check your booking.",
@@ -44077,6 +44083,80 @@ function resolveBlockAppearancePresetDesign(preset, layoutProfile = null) {
44077
44083
  * for a card role; the style owns its paint. Arrangement Looks own structure
44078
44084
  * and never a section background. Removing an entry retires its pins to auto.
44079
44085
  */
44086
+ /** Shape knobs override the skin's ordinary photo frame. Corner choices keep its ratio. */
44087
+ const photoShapeFrames = [{
44088
+ knob: "imageShape",
44089
+ values: {
44090
+ circle: {
44091
+ kind: "fixed",
44092
+ aspectRatio: "1/1",
44093
+ borderRadius: "50%"
44094
+ },
44095
+ arch: {
44096
+ kind: "fixed",
44097
+ aspectRatio: "4/5",
44098
+ borderRadius: "9999px 9999px 0.125rem 0.125rem"
44099
+ }
44100
+ }
44101
+ }];
44102
+ const naturalPhotoFrame = {
44103
+ kind: "variable",
44104
+ because: "The photo keeps its own proportions.",
44105
+ aspectRatio: "auto"
44106
+ };
44107
+ const introPhotoFrames = {
44108
+ default: naturalPhotoFrame,
44109
+ bySkin: {
44110
+ haven: {
44111
+ kind: "fixed",
44112
+ aspectRatio: "1/1"
44113
+ },
44114
+ brook: {
44115
+ kind: "fixed",
44116
+ aspectRatio: "4/3"
44117
+ },
44118
+ orbit: {
44119
+ kind: "fixed",
44120
+ aspectRatio: "1/1",
44121
+ borderRadius: "50%"
44122
+ }
44123
+ },
44124
+ byKnob: photoShapeFrames
44125
+ };
44126
+ const mediaTextPhotoFrames = {
44127
+ default: naturalPhotoFrame,
44128
+ bySkin: {
44129
+ poster: {
44130
+ kind: "fixed",
44131
+ aspectRatio: "4/3"
44132
+ },
44133
+ poise: {
44134
+ kind: "fixed",
44135
+ aspectRatio: "4/5"
44136
+ },
44137
+ haven: {
44138
+ kind: "fixed",
44139
+ aspectRatio: "5/4"
44140
+ },
44141
+ loom: {
44142
+ kind: "fixed",
44143
+ aspectRatio: "3/2"
44144
+ },
44145
+ folio: {
44146
+ kind: "fixed",
44147
+ aspectRatio: "4/5"
44148
+ },
44149
+ brook: {
44150
+ kind: "fixed",
44151
+ aspectRatio: "4/3"
44152
+ },
44153
+ orbit: {
44154
+ kind: "fixed",
44155
+ aspectRatio: "4/3"
44156
+ }
44157
+ },
44158
+ byKnob: photoShapeFrames
44159
+ };
44080
44160
  const brandScrimOptionGroups = [{
44081
44161
  id: "image-surface-treatment",
44082
44162
  label: "Photo tint",
@@ -45101,6 +45181,11 @@ const blockAppearancePresets = [
45101
45181
  styleFallback: [id$1("image-gallery-square-tiles")]
45102
45182
  }),
45103
45183
  defineArrangementLook("media-text-circle-beside-text", "media-text", "Circle beside the text", "circle-beside", ["imagePosition"], {
45184
+ mediaFrame: { default: {
45185
+ kind: "fixed",
45186
+ aspectRatio: "1/1",
45187
+ borderRadius: "50%"
45188
+ } },
45104
45189
  thumbnail: sketch.page([sketch.middle([sketch.photo("medium", "circle")], [sketch.title(.8), sketch.text(3)])]),
45105
45190
  forcedKnobs: {
45106
45191
  imageShape: "circle",
@@ -45536,6 +45621,7 @@ const blockAppearancePresets = [
45536
45621
  styleFallback: [id$1("intro-photo-beside-text")]
45537
45622
  }),
45538
45623
  defineArrangementLook("intro-photo-beside-text", "intro", "Small photo beside the text", "media-copy", ["imagePosition", "imageShape"], {
45624
+ mediaFrame: introPhotoFrames,
45539
45625
  thumbnail: sketch.page([sketch.middle(sketch.weight(1, [sketch.photo("medium")]), sketch.weight(2, [sketch.title(.7), sketch.text(3)]))]),
45540
45626
  whenMissing: [{
45541
45627
  fact: "photo",
@@ -45543,6 +45629,7 @@ const blockAppearancePresets = [
45543
45629
  }]
45544
45630
  }),
45545
45631
  defineArrangementLook("intro-large-photo-beside-text", "intro", "Large photo beside the text", "media-copy", ["imagePosition"], {
45632
+ mediaFrame: { default: naturalPhotoFrame },
45546
45633
  thumbnail: sketch.page([sketch.row(sketch.weight(1, [sketch.photo("tall")]), sketch.weight(1, [sketch.title(.7), sketch.text(5)]))]),
45547
45634
  whenMissing: [{
45548
45635
  fact: "photo",
@@ -45550,12 +45637,20 @@ const blockAppearancePresets = [
45550
45637
  }],
45551
45638
  styleFallback: [id$1("intro-photo-beside-text")]
45552
45639
  }),
45553
- defineArrangementLook("media-text-photo-beside-text", "media-text", "Photo beside the text", "default", ["imagePosition", "imageShape"], { thumbnail: sketch.page([sketch.middle([sketch.photo("tall")], [
45554
- sketch.rule,
45555
- sketch.title(.8),
45556
- sketch.text(3)
45557
- ])]) }),
45640
+ defineArrangementLook("media-text-photo-beside-text", "media-text", "Photo beside the text", "default", ["imagePosition", "imageShape"], {
45641
+ mediaFrame: mediaTextPhotoFrames,
45642
+ thumbnail: sketch.page([sketch.middle([sketch.photo("tall")], [
45643
+ sketch.rule,
45644
+ sketch.title(.8),
45645
+ sketch.text(3)
45646
+ ])])
45647
+ }),
45558
45648
  defineArrangementLook("media-text-photo-to-edge", "media-text", "Photo to the edge", "default", ["imagePosition"], {
45649
+ mediaFrame: { default: {
45650
+ kind: "variable",
45651
+ because: "The photo fills the section height, which depends on the text and viewport.",
45652
+ aspectRatio: "auto"
45653
+ } },
45559
45654
  thumbnail: sketch.page([sketch.row(sketch.weight(1, [
45560
45655
  sketch.rule,
45561
45656
  sketch.title(.8),
@@ -56046,6 +56141,26 @@ function defineHeaderCuration(input) {
56046
56141
  const [first, ...remaining] = input;
56047
56142
  return [toEntry(first), ...remaining.map(toEntry)];
56048
56143
  }
56144
+ /** A brand-coloured bar in the style's own type: its navigation keeps sentence case rather than the catalogue's capitals. */
56145
+ const sentenceCaseBrandBar = {
56146
+ tone: "brand",
56147
+ dropdown: brandHeaderDropdown,
56148
+ background: {
56149
+ kind: "token",
56150
+ token: "primary"
56151
+ },
56152
+ nav: {
56153
+ kind: "minimal",
56154
+ hoverColorToken: "secondary"
56155
+ },
56156
+ navWeight: "semibold",
56157
+ navLinkWeight: "medium",
56158
+ navTypography: "plain",
56159
+ border: "none",
56160
+ shadow: { kind: "absent" },
56161
+ frame: { kind: "none" },
56162
+ cta: { treatment: "inverted" }
56163
+ };
56049
56164
  const headerCurationBySiteStyle = {
56050
56165
  "site-style:loom": defineHeaderCuration([{
56051
56166
  layoutId: "classic",
@@ -56097,6 +56212,7 @@ const headerCurationBySiteStyle = {
56097
56212
  "site-style:fulcrum": defineHeaderCuration([{
56098
56213
  layoutId: "classic",
56099
56214
  styleIds: [
56215
+ "brand-bar",
56100
56216
  "fine-line",
56101
56217
  "minimal",
56102
56218
  "serif-line",
@@ -56164,7 +56280,11 @@ const headerCurationBySiteStyle = {
56164
56280
  ]),
56165
56281
  "site-style:measure": defineHeaderCuration([{
56166
56282
  layoutId: "classic",
56167
- styleIds: ["fine-line", "minimal"]
56283
+ styleIds: [
56284
+ "brand-bar",
56285
+ "fine-line",
56286
+ "minimal"
56287
+ ]
56168
56288
  }])
56169
56289
  };
56170
56290
  /** Optional authored overrides remain absent when the catalogue did not supply them. */
@@ -61078,6 +61198,7 @@ const curatedSiteStyles = [
61078
61198
  },
61079
61199
  testimonialQuote: serifDisplayQuote
61080
61200
  },
61201
+ headerStyleRecipes: { "brand-bar": sentenceCaseBrandBar },
61081
61202
  ...fulcrumFooter,
61082
61203
  buttonStyleChoices: [
61083
61204
  buttonChoice("fulcrum"),
@@ -61204,6 +61325,7 @@ const curatedSiteStyles = [
61204
61325
  accordions: editorialDividedAccordionSystem,
61205
61326
  testimonialQuote: serifDisplayQuote
61206
61327
  },
61328
+ headerStyleRecipes: { "brand-bar": sentenceCaseBrandBar },
61207
61329
  ...measureFooter,
61208
61330
  buttonStyleChoices: [
61209
61331
  buttonChoice("flat-ink", void 0, { corners: "square" }),
@@ -66504,8 +66626,13 @@ function isPageDesignAppearancePresetAvailable(block, appearancePresetId) {
66504
66626
  }
66505
66627
  //#endregion
66506
66628
  //#region ../theme-core/src/site-styles/lookMediaFrame.ts
66507
- function resolveLookMediaFrame(frames, skin) {
66508
- return (skin ? frames?.bySkin?.[skin] : void 0) ?? frames?.default;
66629
+ function resolveLookMediaFrame(frames, skin, knobs = {}) {
66630
+ if (!frames) return void 0;
66631
+ const base = (skin ? frames.bySkin?.[skin] : void 0) ?? frames.default;
66632
+ return (frames.byKnob ?? []).reduce((frame, rule) => {
66633
+ const value = knobs[rule.knob];
66634
+ return (typeof value === "string" ? rule.values[value] : void 0) ?? frame;
66635
+ }, base);
66509
66636
  }
66510
66637
  function frameVars(frame) {
66511
66638
  return [
@@ -66523,7 +66650,11 @@ function generateLookMediaFrameCss(themeId) {
66523
66650
  if (!frames) return [];
66524
66651
  const scope = `:where([data-theme-scope="${themeId}"])`;
66525
66652
  const selector = `[data-look="${look.id}"]`;
66526
- return [`${scope} ${selector} { ${frameVars(frames.default)} }`, ...Object.entries(frames.bySkin ?? {}).map(([skin, frame]) => `${scope} :is([data-skin="${skin}"], [data-skin="${skin}"] *)${selector} { ${frameVars(frame)} }`)];
66653
+ return [
66654
+ `${scope} ${selector} { ${frameVars(frames.default)} }`,
66655
+ ...Object.entries(frames.bySkin ?? {}).map(([skin, frame]) => `${scope} :is([data-skin="${skin}"], [data-skin="${skin}"] *)${selector} { ${frameVars(frame)} }`),
66656
+ ...(frames.byKnob ?? []).flatMap((rule) => Object.entries(rule.values).map(([value, frame]) => `${scope} ${selector}[data-knob-${rule.knob.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`)}="${value}"] { ${frameVars(frame)} }`))
66657
+ ];
66527
66658
  }).join("\n");
66528
66659
  }
66529
66660
  //#endregion
@@ -80253,7 +80384,7 @@ const publicMembershipProductCollectionSchema = z.object({ memberships: z.array(
80253
80384
  //#region ../blocks/src/system/runtime/nodes/events/domain/pricing.ts
80254
80385
  /**
80255
80386
  * Format event price for display.
80256
- * @returns "Free", "£25", "£12–£25", "Free / £12–£25", "£220 for the course", etc.
80387
+ * @returns "Free", "£25", "£12–£25", "Free or £12–£25", "£220 for the course", etc.
80257
80388
  *
80258
80389
  * Events render compact amounts (no trailing ".00"); the actual ADT→string
80259
80390
  * mapping lives in `formatBookingPriceDisplay` in @riverbankcms/core so all
@@ -81524,10 +81655,13 @@ const introMedia = media({
81524
81655
  }],
81525
81656
  fallback: "rb-intro-media rb-w-full rb-h-auto rb-object-cover"
81526
81657
  } },
81527
- style: { aspectRatio: { $bind: {
81528
- from: "content.aspectRatio",
81529
- fallback: "1/1"
81530
- } } }
81658
+ style: {
81659
+ borderRadius: { $bind: { from: "content._lookMediaFrame.borderRadius" } },
81660
+ aspectRatio: { $bind: {
81661
+ from: "content.aspectRatio",
81662
+ fallback: "1/1"
81663
+ } }
81664
+ }
81531
81665
  }, bind("content.media"), when("content.media"));
81532
81666
  const centeredCopyLayout = styledSection({
81533
81667
  children: styledContainer({
@@ -85069,7 +85203,11 @@ const centeredLayout = stack({
85069
85203
  transforms: pipe(tx("layout.maxWidthClass", { base: `rb-header-layout header-desktop-bar ${desktopOnlyDisplay("flex")} rb-w-full rb-flex-col rb-items-center rb-gap-5 rb-text-center` })),
85070
85204
  fallback: `rb-container rb-header-layout header-desktop-bar ${desktopOnlyDisplay("flex")} rb-w-full rb-flex-col rb-items-center rb-gap-5 rb-text-center`
85071
85205
  })
85072
- }, [centeredLogoRow, createNavRow(`${desktopOnlyDisplay("flex")} rb-flex-wrap rb-justify-center rb-gap-x-6 rb-gap-y-3`, "center")], when("$root.theme.header.variant", { equals: "centered" }));
85206
+ }, [centeredLogoRow, inline({
85207
+ className: `${desktopOnlyDisplay("flex")} rb-flex-wrap rb-items-center rb-justify-center rb-gap-y-3`,
85208
+ align: "center",
85209
+ justify: "center"
85210
+ }, [createNavRow(`${desktopOnlyDisplay("flex")} rb-flex-wrap rb-justify-center rb-gap-x-6 rb-gap-y-3`, "center"), headerCta])], when("$root.theme.header.variant", { equals: "centered" }));
85073
85211
  const floatingLayout = inline({
85074
85212
  [SITE_CHROME_VISIBLE_HEADER_ATTR]: "true",
85075
85213
  className: bindProp("$root.theme.header.maxWidth", {
@@ -87054,7 +87192,10 @@ const mediaTextBlockDefinition = { manifest: createBlockManifest({
87054
87192
  }],
87055
87193
  fallback: "rb-w-full rb-h-auto rb-object-cover"
87056
87194
  } },
87057
- style: { aspectRatio: { $bind: { from: "content.aspectRatio" } } }
87195
+ style: {
87196
+ borderRadius: { $bind: { from: "content._lookMediaFrame.borderRadius" } },
87197
+ aspectRatio: { $bind: { from: "content.aspectRatio" } }
87198
+ }
87058
87199
  };
87059
87200
  const defaultSingleImage = media(defaultImageCommonProps, bind("content.images[0].image"), when("content.images[0].image"));
87060
87201
  const defaultCarouselImages = carousel({
@@ -88556,7 +88697,7 @@ const copy = {
88556
88697
  },
88557
88698
  completed: {
88558
88699
  titleText: "These dates have finished",
88559
- bodyText: "These dates have all taken place. The details are kept here for reference."
88700
+ bodyText: "The details are kept here for reference."
88560
88701
  },
88561
88702
  "enrolment-closed": {
88562
88703
  titleText: "Booking closed",
@@ -88644,7 +88785,7 @@ function shownVenue(event, display) {
88644
88785
  }
88645
88786
  /** Full/waitlist explanations remain visible even when optional counts are hidden. */
88646
88787
  function placesLeftLabel(source, display, wording = {}) {
88647
- if ("kind" in source) return ticketPlacesLabel(source.remaining, display);
88788
+ if ("kind" in source) return ticketPlacesLabel(source, display);
88648
88789
  if (source.deliveryMode === "hybrid" && source.attendanceModes?.length) return hybridPlacesLabel(source, display, wording);
88649
88790
  return capacityPlacesLabel(source, display, wording);
88650
88791
  }
@@ -88666,7 +88807,9 @@ function hybridPlacesLabel(event, display, wording) {
88666
88807
  return label ? [`${mode.mode === "online" ? "Online" : "In person"}: ${label}`] : [];
88667
88808
  }).join(" · ") || null;
88668
88809
  }
88669
- function ticketPlacesLabel(remaining, display) {
88810
+ function ticketPlacesLabel(source, display) {
88811
+ const { remaining, dateRemaining } = source;
88812
+ if (remaining !== null && dateRemaining !== null && remaining >= dateRemaining) return null;
88670
88813
  if (remaining !== null && remaining > 0 && display.placesLeft === "hidden") return null;
88671
88814
  return formatTicketTypeRemaining(remaining);
88672
88815
  }
@@ -89973,7 +90116,7 @@ function getHeldPlacesBySelection(current, held) {
89973
90116
  *
89974
90117
  * @returns Formatted price string (e.g., "£100" or "£8.50")
89975
90118
  */
89976
- function formatPrice$1(cents, currency = "GBP", locale) {
90119
+ function formatPrice(cents, currency = "GBP", locale) {
89977
90120
  return formatCurrencyAmount(cents, currency, {
89978
90121
  decimals: "auto",
89979
90122
  locale
@@ -91638,40 +91781,74 @@ function selectionPreviewKey(code, lines) {
91638
91781
  if (code !== null && !trimmed || !lines) return null;
91639
91782
  return JSON.stringify([trimmed, lines]);
91640
91783
  }
91784
+ /**
91785
+ * The lines' sum, shown as "Subtotal" only when something comes off it;
91786
+ * otherwise the lines lead straight to the total.
91787
+ */
91788
+ function paymentSubtotal(subtotalCents, reductions) {
91789
+ return reductions.length > 0 ? subtotalCents : null;
91790
+ }
91791
+ /** "4 dates, 1 place on each", above the list. */
91792
+ function paymentCaption(several, items, places) {
91793
+ return `${plural(items, several === "runs" ? "run" : "date")}, ${plural(places, "place")} on each`;
91794
+ }
91795
+ /** The multiplier for a line, when its amount splits evenly into a price per place. */
91796
+ function paymentLine(input) {
91797
+ const { key, label, amountCents, places, unitPriceCents } = input;
91798
+ return {
91799
+ key,
91800
+ label,
91801
+ amountCents,
91802
+ multiplier: places > 1 && unitPriceCents !== null && unitPriceCents * places === amountCents ? {
91803
+ places,
91804
+ unitPriceCents
91805
+ } : null
91806
+ };
91807
+ }
91641
91808
  const USUAL_PRICE = "At the usual price";
91642
- function plannedGroups(plan) {
91809
+ function plannedGroups(plan, unitPrices) {
91643
91810
  const label = (lineId) => plan.lines.find((row) => row.line.lineId === lineId)?.line.label ?? "";
91644
91811
  const combined = plan.applications.map((app, index) => ({
91645
91812
  key: `combination-${index}`,
91646
91813
  heading: app.offer.label,
91647
- lines: app.allocations.map((row) => ({
91814
+ lines: app.allocations.map((row) => paymentLine({
91648
91815
  key: row.lineId,
91649
91816
  label: label(row.lineId),
91650
- amountCents: row.totalCents
91817
+ amountCents: row.totalCents,
91818
+ places: plan.places,
91819
+ unitPriceCents: null
91651
91820
  }))
91652
91821
  }));
91653
- const usual = plan.lines.filter((row) => !row.combined).map((row) => ({
91654
- key: row.line.lineId,
91655
- label: row.line.label,
91656
- amountCents: row.listCents
91657
- }));
91822
+ const usual = plan.lines.filter((row) => !row.combined).map((row) => planLine(plan, unitPrices, row.line.lineId, row.line.label, row.listCents));
91658
91823
  return [...combined, ...usual.length > 0 ? [{
91659
91824
  key: "usual",
91660
91825
  heading: USUAL_PRICE,
91661
91826
  lines: usual
91662
91827
  }] : []];
91663
91828
  }
91664
- function usualGroups(plan) {
91829
+ function usualGroups(plan, unitPrices) {
91665
91830
  return [{
91666
91831
  key: "usual",
91667
91832
  heading: null,
91668
- lines: plan.lines.map((row) => ({
91669
- key: row.line.lineId,
91670
- label: row.line.label,
91671
- amountCents: row.listCents
91672
- }))
91833
+ lines: plan.lines.map((row) => planLine(plan, unitPrices, row.line.lineId, row.line.label, row.listCents))
91673
91834
  }];
91674
91835
  }
91836
+ function selectionUnitPrices(selection, unitPriceOf) {
91837
+ return new Map(selection.flatMap((event) => {
91838
+ const unitPriceCents = unitPriceOf(event);
91839
+ return unitPriceCents === null ? [] : [[lineIdOf(event), unitPriceCents]];
91840
+ }));
91841
+ }
91842
+ /** An item at its usual price, with its known price per place. */
91843
+ function planLine(plan, unitPrices, key, label, amountCents) {
91844
+ return paymentLine({
91845
+ key,
91846
+ label,
91847
+ amountCents,
91848
+ places: plan.places,
91849
+ unitPriceCents: unitPrices.get(key) ?? null
91850
+ });
91851
+ }
91675
91852
  function sumKind(reductions, kind) {
91676
91853
  return reductions.filter((row) => row.kind === kind).reduce((sum, row) => sum + row.amountCents, 0);
91677
91854
  }
@@ -91693,8 +91870,8 @@ function codeNote(plan, several) {
91693
91870
  const noun = several === "dates" ? "date" : "run";
91694
91871
  return `This code can’t be used with the “${label}” price, so it’s been taken off your other ${others === 1 ? noun : `${noun}s`}.`;
91695
91872
  }
91696
- function placesLabel$2(several, places) {
91697
- return `${plural(places, "place")} on each ${several === "runs" ? "run" : "date"}`;
91873
+ function planCaption(plan, several) {
91874
+ return paymentCaption(several, plan.lines.length, plan.places);
91698
91875
  }
91699
91876
  /**
91700
91877
  * The payment step's list when combinations apply: each combination's items
@@ -91713,9 +91890,9 @@ function summariseCombinedPayment(input) {
91713
91890
  if (!planCombines(plan)) return null;
91714
91891
  return {
91715
91892
  kind: "combined",
91716
- placesLabel: placesLabel$2(input.several, plan.places),
91717
- groups: plannedGroups(plan),
91718
- subtotalCents: plan.totalCents,
91893
+ caption: planCaption(plan, input.several),
91894
+ groups: plannedGroups(plan, input.unitPrices),
91895
+ subtotalCents: null,
91719
91896
  reductions: [],
91720
91897
  note: null,
91721
91898
  totalCents: plan.totalCents,
@@ -91752,7 +91929,7 @@ function previewedPayment(input) {
91752
91929
  const codeRows = code.amountCents > 0 ? [code] : [];
91753
91930
  const base = {
91754
91931
  kind: "combined",
91755
- placesLabel: placesLabel$2(input.several, plan.places),
91932
+ caption: planCaption(plan, input.several),
91756
91933
  note: null,
91757
91934
  totalCents: preview.totalAfterDiscountCents,
91758
91935
  savingCents: savingFrom(plan, preview.totalAfterDiscountCents)
@@ -91762,16 +91939,16 @@ function previewedPayment(input) {
91762
91939
  const limited = quote.source === "typed" && preview.type === "applied" && preview.codeCombinesWithCombinationPrices === false && code.amountCents > 0;
91763
91940
  return {
91764
91941
  ...base,
91765
- groups: plannedGroups(plan),
91766
- subtotalCents: plan.totalCents,
91942
+ groups: plannedGroups(plan, input.unitPrices),
91943
+ subtotalCents: paymentSubtotal(plan.totalCents, codeRows),
91767
91944
  reductions: codeRows,
91768
91945
  note: limited ? codeNote(plan, input.several) : null
91769
91946
  };
91770
91947
  }
91771
91948
  case "usual": return {
91772
91949
  ...base,
91773
- groups: usualGroups(plan),
91774
- subtotalCents: plan.listTotalCents,
91950
+ groups: usualGroups(plan, input.unitPrices),
91951
+ subtotalCents: paymentSubtotal(plan.listTotalCents, codeRows),
91775
91952
  reductions: codeRows
91776
91953
  };
91777
91954
  case "server": {
@@ -91783,8 +91960,8 @@ function previewedPayment(input) {
91783
91960
  const sameBasket = preview.subtotalCents === plan.listTotalCents;
91784
91961
  return {
91785
91962
  ...base,
91786
- groups: sameBasket ? usualGroups(plan) : [],
91787
- subtotalCents: preview.subtotalCents,
91963
+ groups: sameBasket ? usualGroups(plan, input.unitPrices) : [],
91964
+ subtotalCents: paymentSubtotal(preview.subtotalCents, rows),
91788
91965
  reductions: rows
91789
91966
  };
91790
91967
  }
@@ -92115,17 +92292,22 @@ function summariseSelectionPayment(input) {
92115
92292
  const { several, quote } = input;
92116
92293
  if (several === null || input.ready === false) return null;
92117
92294
  const combination = input.price.combination;
92295
+ const unitPrices = selectionUnitPrices(input.selection, (event) => itemPriceCents({
92296
+ ...input,
92297
+ several
92298
+ }, event)?.unitPriceCents ?? null);
92118
92299
  return (combination ? summariseCombinedPayment({
92119
92300
  plan: combination,
92120
92301
  several,
92121
- quote
92302
+ quote,
92303
+ unitPrices
92122
92304
  }) : null) ?? plainSelectionPayment({
92123
92305
  ...input,
92124
92306
  several,
92125
92307
  listTotalCents
92126
92308
  });
92127
92309
  }
92128
- /** Several items without combination prices: each at its price, the places, any automatic code, the total. */
92310
+ /** Several items without combination prices: each at its price for all places, any automatic code, the total. */
92129
92311
  function plainSelectionPayment(input) {
92130
92312
  const { several, quote, listTotalCents } = input;
92131
92313
  const lines = input.selection.map((event) => ({
@@ -92133,19 +92315,22 @@ function plainSelectionPayment(input) {
92133
92315
  label: selectionItemName(event, input.selection),
92134
92316
  price: itemPriceCents(input, event)
92135
92317
  }));
92136
- const priced = lines.flatMap((line) => line.price === null ? [] : [{
92318
+ const priced = lines.flatMap((line) => line.price === null ? [] : [paymentLine({
92137
92319
  key: line.key,
92138
- label: line.price.unitPriceCents === null ? `${line.label} (${countLabel(input.places, "place")})` : line.label,
92139
- amountCents: line.price.unitPriceCents ?? line.price.subtotalCents
92140
- }]);
92320
+ label: line.label,
92321
+ amountCents: line.price.subtotalCents,
92322
+ places: input.places,
92323
+ unitPriceCents: line.price.unitPriceCents
92324
+ })]);
92141
92325
  const totalCents = quote ? quote.preview.totalAfterDiscountCents : input.price.totalCents;
92142
92326
  if (priced.length !== lines.length || listTotalCents === null || totalCents === null) return null;
92327
+ const reductions = quoteReductions(quote);
92143
92328
  return {
92144
92329
  kind: "plain",
92330
+ caption: paymentCaption(several, priced.length, input.places),
92145
92331
  lines: priced,
92146
- placesLabel: `${countLabel(input.places, "place")} on each ${several === "runs" ? "run" : "date"}`,
92147
- subtotalCents: listTotalCents,
92148
- reductions: quoteReductions(quote),
92332
+ subtotalCents: paymentSubtotal(listTotalCents, reductions),
92333
+ reductions,
92149
92334
  totalCents
92150
92335
  };
92151
92336
  }
@@ -92823,7 +93008,7 @@ function duePayment(balance, currency, paidRows, instructions) {
92823
93008
  paidRows,
92824
93009
  amountDueRow: {
92825
93010
  label: "Still to pay",
92826
- value: formatPrice$1(balance.amountCents, currency)
93011
+ value: formatPrice(balance.amountCents, currency)
92827
93012
  },
92828
93013
  instructions
92829
93014
  };
@@ -92847,7 +93032,7 @@ function presentConfirmationPayment(payment) {
92847
93032
  case "manual_due": return duePayment(payment.balance, payment.currency, [], OFFLINE_BOOKING_PAYMENT_INSTRUCTIONS);
92848
93033
  case "monetary":
92849
93034
  case "managed_balance_due": {
92850
- const paidRows = row("Paid", payment.amountPaidCents > 0 ? formatPrice$1(payment.amountPaidCents, payment.currency) : null);
93035
+ const paidRows = row("Paid", payment.amountPaidCents > 0 ? formatPrice(payment.amountPaidCents, payment.currency) : null);
92851
93036
  return payment.balance.kind === "settled" ? {
92852
93037
  kind: "settled",
92853
93038
  rows: paidRows
@@ -92994,7 +93179,7 @@ function severalPayment(outcomes) {
92994
93179
  kind: "settled",
92995
93180
  rows: currency && total > 0 ? [{
92996
93181
  label: "Paid",
92997
- value: formatPrice$1(total, currency)
93182
+ value: formatPrice(total, currency)
92998
93183
  }] : []
92999
93184
  };
93000
93185
  }
@@ -93439,9 +93624,9 @@ function buildInstalmentOption(input) {
93439
93624
  presentationKind: "instalment_plan",
93440
93625
  flexibleBalance: null,
93441
93626
  ...buildInstalmentBookingPaymentOptionCopy({
93442
- formattedDueToday: formatPrice$1(input.option.dueNowCents, input.currency, input.locale),
93627
+ formattedDueToday: formatPrice(input.option.dueNowCents, input.currency, input.locale),
93443
93628
  futurePaymentCount: futureRows.length,
93444
- formattedFirstFuture: futureRows[0] ? formatPrice$1(futureRows[0].amountCents, input.currency, input.locale) : null,
93629
+ formattedFirstFuture: futureRows[0] ? formatPrice(futureRows[0].amountCents, input.currency, input.locale) : null,
93445
93630
  cadenceLabel: buildBookingInstalmentCadenceLabel(input.option.plan),
93446
93631
  depositRefundability: refundability
93447
93632
  }),
@@ -93455,14 +93640,14 @@ function buildInstalmentOption(input) {
93455
93640
  value: depositPolicy(refundability)
93456
93641
  }] : [], ...futureRows.map((row) => ({
93457
93642
  label: formatScheduleDate(row.dueAt, input.dateContext),
93458
- value: formatPrice$1(row.amountCents, input.currency, input.locale)
93643
+ value: formatPrice(row.amountCents, input.currency, input.locale)
93459
93644
  }))]
93460
93645
  })
93461
93646
  };
93462
93647
  }
93463
93648
  function buildFlexibleBalanceOption(input) {
93464
93649
  const balance = {
93465
- remainingBalance: formatPrice$1(input.option.remainingBalanceCents, input.currency, input.locale),
93650
+ remainingBalance: formatPrice(input.option.remainingBalanceCents, input.currency, input.locale),
93466
93651
  balanceDueBy: formatDate$4({
93467
93652
  kind: "civil",
93468
93653
  value: parseBookingLocalDate(input.option.balanceDueDay)
@@ -93474,7 +93659,7 @@ function buildFlexibleBalanceOption(input) {
93474
93659
  presentationKind: "flexible_balance",
93475
93660
  flexibleBalance: balance,
93476
93661
  ...buildFlexibleBalanceBookingPaymentOptionCopy({
93477
- formattedDueToday: formatPrice$1(input.option.dueNowCents, input.currency, input.locale),
93662
+ formattedDueToday: formatPrice(input.option.dueNowCents, input.currency, input.locale),
93478
93663
  dueDateLabel: formatDate$4({
93479
93664
  kind: "civil",
93480
93665
  value: parseBookingLocalDate(input.option.balanceDueDay)
@@ -93515,8 +93700,8 @@ function summaryFor(input) {
93515
93700
  const amounts = {
93516
93701
  totalCents: input.totalCents,
93517
93702
  dueTodayCents: input.dueTodayCents,
93518
- formattedTotal: formatPrice$1(input.totalCents, input.currency, input.locale),
93519
- formattedDueToday: formatPrice$1(input.dueTodayCents, input.currency, input.locale)
93703
+ formattedTotal: formatPrice(input.totalCents, input.currency, input.locale),
93704
+ formattedDueToday: formatPrice(input.dueTodayCents, input.currency, input.locale)
93520
93705
  };
93521
93706
  const termRows = input.termRows ?? [];
93522
93707
  return {
@@ -93536,7 +93721,7 @@ function summaryFor(input) {
93536
93721
  };
93537
93722
  }
93538
93723
  function buildFullPaymentOptionViewModel(input) {
93539
- const copy = buildUpfrontBookingPaymentOptionCopy(formatPrice$1(input.option.totalCents, input.currency, input.locale));
93724
+ const copy = buildUpfrontBookingPaymentOptionCopy(formatPrice(input.option.totalCents, input.currency, input.locale));
93540
93725
  return {
93541
93726
  kind: input.option.kind,
93542
93727
  presentationKind: "upfront",
@@ -94221,8 +94406,8 @@ function resolvePaymentButtonText(method, siteCreditPreview, eligibility, select
94221
94406
  case "stripe":
94222
94407
  if (siteCreditPreview.kind !== "applied") return selectedDirectOption?.ctaLabel ?? "Continue to payment";
94223
94408
  if (!eligibility) return "Continue to Payment";
94224
- if (siteCreditPreview.cardDueNowCents > 0) return `Pay ${formatPrice$1(siteCreditPreview.cardDueNowCents, eligibility.currency)} by card`;
94225
- return `Book with ${formatPrice$1(siteCreditPreview.appliedCreditCents, eligibility.currency)} site credit`;
94409
+ if (siteCreditPreview.cardDueNowCents > 0) return `Pay ${formatPrice(siteCreditPreview.cardDueNowCents, eligibility.currency)} by card`;
94410
+ return `Book with ${formatPrice(siteCreditPreview.appliedCreditCents, eligibility.currency)} site credit`;
94226
94411
  case "pass": return "Book using class pass";
94227
94412
  case "pass_bundle":
94228
94413
  case "membership_bundle": return "Buy and book";
@@ -95883,6 +96068,14 @@ function resolveEventRegistrationScopedEvents(events, context) {
95883
96068
  case "unscoped": return [...events];
95884
96069
  }
95885
96070
  }
96071
+ /** Keep dated detail/recovery targets, but only invite bookings for future choices. */
96072
+ function resolveEventRegistrationChoices(events, context, now) {
96073
+ const scoped = resolveEventRegistrationScopedEvents(events, context);
96074
+ const runs = groupPublicEventsByRun(scoped);
96075
+ if (context.occurrenceContext || context.subject?.kind === "eventSeries" && context.subject.bookingScope === "whole_series" || runs.length === 1 && scoped.every((event) => event.bookingScope === "whole_series")) return scoped;
96076
+ const eligibleRunIds = new Set(runs.filter((group) => resolveWholeSeriesChooserEligibility(group, now).kind === "eligible").map((group) => group.eventSeriesId));
96077
+ return scoped.filter((event) => event.bookingScope === "whole_series" ? eligibleRunIds.has(event.seriesId) : Date.parse(event.startsAt) > now.getTime());
96078
+ }
95886
96079
  //#endregion
95887
96080
  //#region ../blocks/src/system/constants/events.ts
95888
96081
  /**
@@ -96168,9 +96361,10 @@ function buildEventRegistrationDisplayFromScopedEvents(source, scopedSourceEvent
96168
96361
  className: eventRegistrationRootClassName(source) ?? null,
96169
96362
  ...closedRunCopy(phase.reason)
96170
96363
  };
96171
- const card = bookingCardDisplay(source, scopedSourceEvents, display);
96364
+ const choices = resolveEventRegistrationChoices(scopedSourceEvents, source, new Date(source.now));
96365
+ const card = bookingCardDisplay(source, choices, display);
96172
96366
  if (card) return card;
96173
- const stepLabels = buildEventRegistrationShellStepLabels(source, scopedSourceEvents);
96367
+ const stepLabels = buildEventRegistrationShellStepLabels(source, choices);
96174
96368
  return {
96175
96369
  kind: "event-registration",
96176
96370
  state: "generic-shell",
@@ -96301,26 +96495,6 @@ function buildEventRegistrationInteractiveIslandProps(props) {
96301
96495
  source: props
96302
96496
  });
96303
96497
  }
96304
- //#endregion
96305
- //#region ../blocks/src/system/blocks/event-registration.ts
96306
- /**
96307
- * Event Registration Block
96308
- *
96309
- * Multi-step registration form for events. Can be placed on event content type
96310
- * templates or standalone pages.
96311
- *
96312
- * Features:
96313
- * - Occurrence selection (if not pre-selected via URL)
96314
- * - Ticket quantity selection
96315
- * - Attendee information form
96316
- * - Confirmation display
96317
- *
96318
- * Context:
96319
- * - When placed on an event template with occurrence URL (/events/yoga/2025-01-15),
96320
- * the occurrence is pre-selected from route context
96321
- * - When on event template without occurrence, shows occurrence picker
96322
- * - When standalone, shows full event + occurrence picker
96323
- */
96324
96498
  const eventRegistrationManifest = createBlockManifest({
96325
96499
  variantMeaning: { kind: "arrangement" },
96326
96500
  id: "block.event-registration",
@@ -96461,7 +96635,10 @@ const eventRegistrationManifest = createBlockManifest({
96461
96635
  baseClass: "",
96462
96636
  spacing: "spacious",
96463
96637
  children: sectionContainer([
96464
- text({ as: "h2" }, bind("content.heading"), when("content.heading")),
96638
+ text({
96639
+ as: "h2",
96640
+ className: "event-registration__heading"
96641
+ }, bind("content.heading"), when("content.heading")),
96465
96642
  richText({ className: "rb-prose rb-max-w-none" }, bind("content.description"), when("content.description")),
96466
96643
  eventRegistration(withApiBindings({
96467
96644
  demoEmailSuppressed: { $bind: {
@@ -97916,6 +98093,377 @@ function getMediaAssetIndex(context) {
97916
98093
  return context?.mediaAssetIndex ?? getMediaContext().mediaAssetIndex;
97917
98094
  }
97918
98095
  //#endregion
98096
+ //#region ../blocks/src/system/customize/facets.ts
98097
+ function defineCustomizeFacet(definition) {
98098
+ return definition;
98099
+ }
98100
+ const eventCalendarListLayoutFacet = defineCustomizeFacet({
98101
+ blockKind: "block.event-calendar",
98102
+ id: "eventCalendar.listLayout",
98103
+ label: "List style",
98104
+ legacyOnly: true,
98105
+ values: eventCalendarListLayoutOptions.map((option) => ({
98106
+ value: option.id,
98107
+ label: option.label
98108
+ })),
98109
+ defaultValue: "stack",
98110
+ target: { kind: "event-calendar-list-layout-content" },
98111
+ appliesToLayoutVariants: eventCalendarListLayoutCompatibleDisplayModeValues
98112
+ });
98113
+ const fixedKnob = (blockKind, id, label, values, defaultValue, ordered = false, boolean = false) => ({
98114
+ blockKind,
98115
+ id,
98116
+ label,
98117
+ values,
98118
+ defaultValue,
98119
+ knob: {
98120
+ kind: "fixed",
98121
+ ordered
98122
+ },
98123
+ target: {
98124
+ kind: "content-field",
98125
+ field: id,
98126
+ ...boolean ? { boolean: true } : {}
98127
+ }
98128
+ });
98129
+ const textKnob = (id, label, maxLength) => ({
98130
+ blockKind: "block.hero",
98131
+ id,
98132
+ label,
98133
+ values: [],
98134
+ defaultValue: "",
98135
+ knob: {
98136
+ kind: "text",
98137
+ maxLength
98138
+ },
98139
+ target: {
98140
+ kind: "content-field",
98141
+ field: id
98142
+ }
98143
+ });
98144
+ const onOff = [{
98145
+ value: "true",
98146
+ label: "On"
98147
+ }, {
98148
+ value: "false",
98149
+ label: "Off"
98150
+ }];
98151
+ const columnCounts = [
98152
+ {
98153
+ value: "2",
98154
+ label: "2"
98155
+ },
98156
+ {
98157
+ value: "3",
98158
+ label: "3"
98159
+ },
98160
+ {
98161
+ value: "4",
98162
+ label: "4"
98163
+ }
98164
+ ];
98165
+ const systemCustomizeFacetDefinitions = [
98166
+ eventCalendarListLayoutFacet,
98167
+ fixedKnob("block.offerings-preview", "grouping", "Grouping", [{
98168
+ value: "by-kind",
98169
+ label: "Grouped by kind"
98170
+ }, {
98171
+ value: "one-list",
98172
+ label: "One list"
98173
+ }], "by-kind"),
98174
+ fixedKnob("block.offerings-preview", "dates", "Dates", [{
98175
+ value: "summary",
98176
+ label: "Summary"
98177
+ }, {
98178
+ value: "next-dates",
98179
+ label: "Next dates"
98180
+ }], "summary"),
98181
+ {
98182
+ ...fixedKnob("block.feature-cards", "actionStyle", "Item actions", [{
98183
+ value: "button",
98184
+ label: "Button"
98185
+ }, {
98186
+ value: "link",
98187
+ label: "Link"
98188
+ }], "button"),
98189
+ blockKinds: cardListKnobBlocks
98190
+ },
98191
+ fixedKnob("block.testimonials", "quoteCount", "How many quotes", [
98192
+ {
98193
+ value: "1",
98194
+ label: "1"
98195
+ },
98196
+ {
98197
+ value: "2",
98198
+ label: "2"
98199
+ },
98200
+ {
98201
+ value: "3",
98202
+ label: "3"
98203
+ },
98204
+ {
98205
+ value: "all",
98206
+ label: "All"
98207
+ }
98208
+ ], "3", true),
98209
+ {
98210
+ ...fixedKnob("block.testimonials", "autoAdvance", "Moves on by itself", onOff, "false", false, true),
98211
+ description: "Moves to the next quote every few seconds, and stops while someone's reading."
98212
+ },
98213
+ fixedKnob("block.testimonials", "tilt", "Tilt the small cards", onOff, "true", false, true),
98214
+ {
98215
+ ...fixedKnob("block.testimonials", "archFrame", "Arch frame", onOff, "true", false, true),
98216
+ blockKinds: [
98217
+ "block.testimonials",
98218
+ "block.newsletter-signup",
98219
+ "block.form"
98220
+ ]
98221
+ },
98222
+ fixedKnob("block.hero", "photoTint", "Photo tint", [{
98223
+ value: "dark",
98224
+ label: "Dark"
98225
+ }, {
98226
+ value: "brand",
98227
+ label: "Brand colour"
98228
+ }], "dark"),
98229
+ fixedKnob("block.hero", "candleGlow", "Candle glow", onOff, "true", false, true),
98230
+ fixedKnob("block.hero", "columnGuides", "Column guides", onOff, "true", false, true),
98231
+ fixedKnob("block.hero", "titleSize", "Headline size", heroTitleSizeOptions, "auto", true),
98232
+ fixedKnob("block.hero", "imagePosition", "Photo side", [{
98233
+ value: "left",
98234
+ label: "Left"
98235
+ }, {
98236
+ value: "right",
98237
+ label: "Right"
98238
+ }], "right"),
98239
+ fixedKnob("block.intro", "imageShape", "Media shape", standardImageShapeOptions, "default"),
98240
+ fixedKnob("block.intro", "imagePosition", "Photo side", [{
98241
+ value: "left",
98242
+ label: "Left"
98243
+ }, {
98244
+ value: "right",
98245
+ label: "Right"
98246
+ }], "left"),
98247
+ fixedKnob("block.media-text", "imagePosition", "Photo side", [{
98248
+ value: "left",
98249
+ label: "Left"
98250
+ }, {
98251
+ value: "right",
98252
+ label: "Right"
98253
+ }], "left"),
98254
+ fixedKnob("block.media-text", "imageShape", "Media shape", standardImageShapeOptions, "default"),
98255
+ fixedKnob("block.media-text", "aspectRatio", "Media aspect ratio", standardAspectRatioOptions, "auto"),
98256
+ textKnob("stickerLine", "Sticker line", 32),
98257
+ textKnob("smallCaption", "Small caption", 24),
98258
+ {
98259
+ ...fixedKnob("block.feature-cards", "showPhotos", "Show photos", onOff, "true", false, true),
98260
+ blockKinds: cardListFamilyBlocks
98261
+ },
98262
+ fixedKnob("block.feature-cards", "columns", "Columns", columnCounts, "3", true),
98263
+ fixedKnob("block.image-gallery", "blackAndWhite", "Black and white", onOff, "false", false, true),
98264
+ fixedKnob("block.event-calendar", "listColumns", "Columns", columnCounts, "3", true),
98265
+ fixedKnob("block.event-calendar", "showPhotos", "Photos", [{
98266
+ value: "true",
98267
+ label: "Show"
98268
+ }, {
98269
+ value: "false",
98270
+ label: "Hide"
98271
+ }], "true", false, true),
98272
+ {
98273
+ ...fixedKnob("block.feature-cards", "cardMarker", "Item markers", [
98274
+ {
98275
+ value: "icons",
98276
+ label: "Icons"
98277
+ },
98278
+ {
98279
+ value: "numbers",
98280
+ label: "Numbers"
98281
+ },
98282
+ {
98283
+ value: "none",
98284
+ label: "None"
98285
+ }
98286
+ ], "icons"),
98287
+ blockKinds: cardListFamilyBlocks
98288
+ },
98289
+ fixedKnob("block.body-text", "alignment", "Text alignment", [{
98290
+ value: "left",
98291
+ label: "Left"
98292
+ }, {
98293
+ value: "center",
98294
+ label: "Centre"
98295
+ }], "left"),
98296
+ {
98297
+ ...fixedKnob("block.event-calendar", "showCapacity", "Places left", onOff, "true", false, true),
98298
+ description: "Show how many places are left on each event"
98299
+ }
98300
+ ];
98301
+ systemCustomizeFacetDefinitions.map((definition) => definition.id);
98302
+ Array.from(new Set(systemCustomizeFacetDefinitions.flatMap((definition) => definition.values.map((option) => option.value))));
98303
+ function isSystemCustomizeFacetId(value) {
98304
+ return typeof value === "string" && systemCustomizeFacetDefinitions.some((definition) => definition.id === value);
98305
+ }
98306
+ function systemCustomizeFacetDefinitionForBlock(blockKind, facetId) {
98307
+ return systemCustomizeFacetDefinitions.find((definition) => definition.id === facetId && (definition.blockKind === blockKind || "blockKinds" in definition && definition.blockKinds?.some((kind) => kind === blockKind))) ?? null;
98308
+ }
98309
+ function systemCustomizeFacetDefinitionsForBlock(blockKind) {
98310
+ return systemCustomizeFacetDefinitions.filter((definition) => definition.blockKind === blockKind || "blockKinds" in definition && definition.blockKinds?.some((kind) => kind === blockKind));
98311
+ }
98312
+ function isSystemCustomizeFacetValue(definition, value) {
98313
+ return typeof value === "string" && (definition.knob?.kind === "text" ? value.length <= definition.knob.maxLength : definition.values.some((option) => option.value === value));
98314
+ }
98315
+ /** Only a knob's own content field can be unset; other facets always hold a value. */
98316
+ function isSystemCustomizeFacetStoredValue(definition, value) {
98317
+ return value === null ? definition.knob !== void 0 && definition.target.kind === "content-field" : isSystemCustomizeFacetValue(definition, value);
98318
+ }
98319
+ /** The value as stored, or null when a knob's field was never set. */
98320
+ function systemCustomizeFacetStoredValue(definition, content) {
98321
+ return definition.knob !== void 0 && definition.target.kind === "content-field" && content[definition.target.field] === void 0 ? null : systemCustomizeFacetCurrentValue(definition, content);
98322
+ }
98323
+ function systemCustomizeFacetAppliesToLayoutVariant(definition, layoutVariantKey, lookKind = "legacy") {
98324
+ if (definition.legacyOnly && lookKind !== "legacy") return false;
98325
+ if (definition.knob && lookKind === "legacy") return false;
98326
+ if (!definition.appliesToLayoutVariants) return true;
98327
+ return typeof layoutVariantKey === "string" && definition.appliesToLayoutVariants.includes(layoutVariantKey);
98328
+ }
98329
+ function systemCustomizeFacetCurrentValue(definition, content) {
98330
+ switch (definition.target.kind) {
98331
+ case "content-field": {
98332
+ const stored = content[definition.target.field];
98333
+ const value = typeof stored === "boolean" ? String(stored) : stored;
98334
+ return isSystemCustomizeFacetValue(definition, value) ? value : definition.defaultValue;
98335
+ }
98336
+ case "event-calendar-list-layout-content":
98337
+ if (isSystemCustomizeFacetValue(definition, content.listLayout)) return content.listLayout;
98338
+ if (isSystemCustomizeFacetValue(definition, content.layout)) return content.layout;
98339
+ return definition.defaultValue;
98340
+ }
98341
+ }
98342
+ function systemCustomizeFacetApplyContentPatch(definition, content, value) {
98343
+ if (!isSystemCustomizeFacetStoredValue(definition, value)) throw new Error(`Invalid value for facet ${definition.id}`);
98344
+ switch (definition.target.kind) {
98345
+ case "content-field":
98346
+ if (value === null) return omitRecordKey$2(content, definition.target.field);
98347
+ return {
98348
+ ...content,
98349
+ [definition.target.field]: definition.target.boolean ? value === "true" : value
98350
+ };
98351
+ case "event-calendar-list-layout-content": return {
98352
+ ...omitRecordKey$2(content, "layout"),
98353
+ listLayout: value ?? definition.defaultValue
98354
+ };
98355
+ }
98356
+ }
98357
+ function systemCustomizeFacetRollbackContentPatch(definition, currentContent, previousContent) {
98358
+ switch (definition.target.kind) {
98359
+ case "content-field": return restoreRecordKey(currentContent, previousContent, definition.target.field);
98360
+ case "event-calendar-list-layout-content": return restoreRecordKey(restoreRecordKey(currentContent, previousContent, "listLayout"), previousContent, "layout");
98361
+ }
98362
+ }
98363
+ function restoreRecordKey(content, previousContent, key) {
98364
+ if (Object.prototype.hasOwnProperty.call(previousContent, key)) return {
98365
+ ...content,
98366
+ [key]: previousContent[key]
98367
+ };
98368
+ return omitRecordKey$2(content, key);
98369
+ }
98370
+ function omitRecordKey$2(content, key) {
98371
+ return Object.fromEntries(Object.entries(content).filter(([entryKey]) => entryKey !== key));
98372
+ }
98373
+ //#endregion
98374
+ //#region ../blocks/src/system/customize/arrangementKnobs.ts
98375
+ /**
98376
+ * Content stage for knobs, shared by the renderer and the editor so what the
98377
+ * options show and what renders can't disagree. Knob buffets are the block's
98378
+ * customise facets; the Look exposes, forces or narrows them and the style's
98379
+ * offer can only remove or narrow further.
98380
+ */
98381
+ function resolveArrangementKnobs(input) {
98382
+ const length = input.blockKind === "block.hero" ? resolveHeroTitleLength({ ...input.content }, "look") : null;
98383
+ const exposure = arrangementKnobExposure(input.blockKind, input.look, length, storedSplitPhotoSide(input.blockKind, input.content));
98384
+ return {
98385
+ length,
98386
+ exposure,
98387
+ knobs: resolveEffectiveKnobs({
98388
+ exposure,
98389
+ content: normalizedHeadlinePreference(input.content)
98390
+ })
98391
+ };
98392
+ }
98393
+ /** The values an owner can choose for an exposed knob, before any length cap. */
98394
+ function arrangementKnobChoices(exposure) {
98395
+ return exposure.definition.values.filter((value) => (exposure.lookValues?.includes(value) ?? true) && (exposure.styleValues?.includes(value) ?? true));
98396
+ }
98397
+ function arrangementKnobExposure(blockKind, look, length, splitPhotoSide) {
98398
+ return systemCustomizeFacetDefinitionsForBlock(blockKind).flatMap((facet) => {
98399
+ if (facet.knob === void 0 || facet.target.kind !== "content-field") return [];
98400
+ const id = facet.target.field;
98401
+ const defaults = look.look.structure.knobDefaults ?? {};
98402
+ const storedDefault = id === "imagePosition" ? splitPhotoSide : null;
98403
+ return [{
98404
+ definition: {
98405
+ id,
98406
+ defaultValue: defaults[id] ?? storedDefault ?? facet.defaultValue,
98407
+ values: facet.values.map((value) => value.value),
98408
+ ...knobKindMetadata(facet.knob)
98409
+ },
98410
+ exposed: exposedKnobIds(look).includes(id),
98411
+ forced: look.look.structure.forcedKnobs?.[id],
98412
+ lookValues: look.look.structure.knobValues?.[id],
98413
+ styleValues: look.knobValues[id],
98414
+ lengthValues: id === "titleSize" ? headlineAllowedValues(length) : void 0
98415
+ }];
98416
+ });
98417
+ }
98418
+ /**
98419
+ * A hero stored as "Split, photo on the left" or "Split, photo on the right"
98420
+ * already says which side its photo is on. Under a Look that side is the Photo
98421
+ * side default, so the photo stays where it was until the owner picks a side.
98422
+ */
98423
+ function storedSplitPhotoSide(blockKind, content) {
98424
+ if (blockKind !== "block.hero") return null;
98425
+ switch (content.variant) {
98426
+ case "split": return "left";
98427
+ case "splitReverse": return "right";
98428
+ default: return null;
98429
+ }
98430
+ }
98431
+ function knobKindMetadata(knob) {
98432
+ return knob.kind === "fixed" ? { ordered: knob.ordered } : {
98433
+ ordered: false,
98434
+ textMaxLength: knob.maxLength
98435
+ };
98436
+ }
98437
+ function headlineAllowedValues(length) {
98438
+ switch (length) {
98439
+ case "long": return ["quiet"];
98440
+ case "medium": return ["quiet", "auto"];
98441
+ case "short": return [
98442
+ "quiet",
98443
+ "auto",
98444
+ "display"
98445
+ ];
98446
+ case null: return;
98447
+ }
98448
+ }
98449
+ /** `titleSize` keeps its five stored values; under a Look they read as three steps. */
98450
+ function normalizedHeadlinePreference(content) {
98451
+ switch (content.titleSize) {
98452
+ case "editorial": return {
98453
+ ...content,
98454
+ titleSize: "auto"
98455
+ };
98456
+ case "poster": return {
98457
+ ...content,
98458
+ titleSize: "display"
98459
+ };
98460
+ default: return content;
98461
+ }
98462
+ }
98463
+ function exposedKnobIds(look) {
98464
+ return [...look.look.structure.knobs, ...look.addKnobs ?? []].filter((id) => !look.removeKnobs.some((removed) => removed === id));
98465
+ }
98466
+ //#endregion
97919
98467
  //#region ../blocks/src/system/media/slotContracts.ts
97920
98468
  const DEFAULT_MIN_SOURCE_WIDTH = 1200;
97921
98469
  const LARGE_MIN_SOURCE_WIDTH = 1400;
@@ -98322,19 +98870,53 @@ function resolveStrategyDelivery(blockKind, fieldPath, slotPath, values) {
98322
98870
  if (blockKind === "block.site-header" && slotPath === "logo") return resolveSmallLogoDeliveryContract();
98323
98871
  if (blockKind === "block.site-footer" && slotPath === "logo") return resolveSmallLogoDeliveryContract();
98324
98872
  }
98325
- /** Only gallery photos use the gallery Look's frame; backgrounds keep their own contract. */
98326
- function galleryMediaFrame(blockKind, path, frame, values) {
98327
- if (blockKind !== "block.image-gallery" || !/^images\.\d+\.image$/.test(path)) return void 0;
98328
- const effective = asRecord(values?._effectiveLook);
98873
+ function isLookPhotoSlot(blockKind, path) {
98874
+ switch (blockKind) {
98875
+ case "block.image-gallery":
98876
+ case "block.media-text": return /^images\.\d+\.image$/.test(path);
98877
+ case "block.intro": return path === "media";
98878
+ default: return false;
98879
+ }
98880
+ }
98881
+ /** Resolve live editor preferences through the same knob owner as the page planner. */
98882
+ function mediaKnobValues(blockKind, mediaLook, values) {
98883
+ const { knobs } = resolveArrangementKnobs({
98884
+ blockKind,
98885
+ look: mediaLook,
98886
+ content: values
98887
+ });
98888
+ return Object.fromEntries(Object.entries(knobs).flatMap(([key, knob]) => knob.kind === "kept" ? [] : [[key, knob.value]]));
98889
+ }
98890
+ /** Delivery receives content whose knob choices have already been resolved by the page planner. */
98891
+ function renderedLookMediaFrame(values) {
98892
+ const effective = asRecord(values._effectiveLook);
98329
98893
  const look = blockAppearancePresets.find((candidate) => candidate.id === effectiveLookId(values));
98330
- const declared = frame ?? resolveLookMediaFrame(look?.structure.kind === "arrangement" ? look.structure.mediaFrame : void 0, asString(effective?.skin));
98331
- return declared?.kind === "fixed" ? declared : void 0;
98894
+ if (look?.structure.kind !== "arrangement") return void 0;
98895
+ return resolveLookMediaFrame(look.structure.mediaFrame, asString(effective?.skin), {
98896
+ ...values,
98897
+ ...look.structure.forcedKnobs
98898
+ });
98332
98899
  }
98333
- /** The slot contract plus the gallery Look frame it was decided from, so callers needn't resolve the frame again. */
98334
- function resolveMediaSlot({ blockKind, fieldPath, values, fieldAspectRatio, fieldUi, lookMediaFrame }) {
98900
+ function editorLookMediaFrame(blockKind, mediaLook, values) {
98901
+ return resolveLookMediaFrame(mediaLook.look.structure.mediaFrame, mediaLook.skin, mediaKnobValues(blockKind, mediaLook, values));
98902
+ }
98903
+ /** Backgrounds and other photos keep their own contract. */
98904
+ function slotLookMediaFrame(blockKind, path, input) {
98905
+ if (!blockKind || !isLookPhotoSlot(blockKind, path)) return void 0;
98906
+ if (input.lookMediaFrame) return input.lookMediaFrame;
98907
+ const values = input.values ?? {};
98908
+ return input.mediaLook ? editorLookMediaFrame(blockKind, input.mediaLook, values) : renderedLookMediaFrame(values);
98909
+ }
98910
+ /** The contract and its decided frame, shared by editor presentation and delivery. */
98911
+ function resolveMediaSlot({ blockKind, fieldPath, values, fieldAspectRatio, fieldUi, lookMediaFrame, mediaLook }) {
98335
98912
  const slotPath = normalizeSlotPath(fieldPath);
98336
98913
  const variant = asString(values?.variant);
98337
- const frame = galleryMediaFrame(blockKind, fieldPath, lookMediaFrame, values);
98914
+ const declared = slotLookMediaFrame(blockKind, fieldPath, {
98915
+ lookMediaFrame,
98916
+ mediaLook,
98917
+ values
98918
+ });
98919
+ const frame = declared?.kind === "fixed" ? declared : void 0;
98338
98920
  const edit = frame ? {
98339
98921
  mode: "fixed-aspect",
98340
98922
  aspectRatio: frame.aspectRatio,
@@ -98345,7 +98927,7 @@ function resolveMediaSlot({ blockKind, fieldPath, values, fieldAspectRatio, fiel
98345
98927
  const strategyDelivery = resolveStrategyDelivery(blockKind, fieldPath, slotPath, values);
98346
98928
  return {
98347
98929
  contract: buildContract(edit, mergeDelivery(mergeDelivery(defaultDelivery, fieldDelivery), strategyDelivery)),
98348
- galleryFrame: frame
98930
+ mediaFrame: frame
98349
98931
  };
98350
98932
  }
98351
98933
  function resolveMediaSlotContract(input) {
@@ -98629,7 +99211,7 @@ function resolveMediaNodeAspectRatios(size, style, slotContract) {
98629
99211
  const slotAspect = slotContract?.edit.mode === "fixed-aspect" ? slotContract.edit.aspectRatio : void 0;
98630
99212
  return {
98631
99213
  targetAspectRatio: parseAspectRatioValue(slotAspect),
98632
- transformAspectRatio: resolveStyleAspectRatio(style) ?? slotAspect ?? resolveTargetAspectRatio(size)
99214
+ transformAspectRatio: slotAspect ?? resolveStyleAspectRatio(style) ?? resolveTargetAspectRatio(size)
98633
99215
  };
98634
99216
  }
98635
99217
  function resolveMediaNodeResponsiveImage(value, size, style, slot, context) {
@@ -110149,377 +110731,6 @@ function listBlockDescriptors() {
110149
110731
  }));
110150
110732
  }
110151
110733
  //#endregion
110152
- //#region ../blocks/src/system/customize/arrangementKnobs.ts
110153
- /**
110154
- * Content stage for knobs, shared by the renderer and the editor so what the
110155
- * options show and what renders can't disagree. Knob buffets are the block's
110156
- * customise facets; the Look exposes, forces or narrows them and the style's
110157
- * offer can only remove or narrow further.
110158
- */
110159
- function resolveArrangementKnobs(input) {
110160
- const length = input.blockKind === "block.hero" ? resolveHeroTitleLength({ ...input.content }, "look") : null;
110161
- const exposure = arrangementKnobExposure(input.blockKind, input.look, length, storedSplitPhotoSide(input.blockKind, input.content));
110162
- return {
110163
- length,
110164
- exposure,
110165
- knobs: resolveEffectiveKnobs({
110166
- exposure,
110167
- content: normalizedHeadlinePreference(input.content)
110168
- })
110169
- };
110170
- }
110171
- /** The values an owner can choose for an exposed knob, before any length cap. */
110172
- function arrangementKnobChoices(exposure) {
110173
- return exposure.definition.values.filter((value) => (exposure.lookValues?.includes(value) ?? true) && (exposure.styleValues?.includes(value) ?? true));
110174
- }
110175
- function arrangementKnobExposure(blockKind, look, length, splitPhotoSide) {
110176
- return systemCustomizeFacetDefinitionsForBlock(blockKind).flatMap((facet) => {
110177
- if (facet.knob === void 0 || facet.target.kind !== "content-field") return [];
110178
- const id = facet.target.field;
110179
- const defaults = look.look.structure.knobDefaults ?? {};
110180
- const storedDefault = id === "imagePosition" ? splitPhotoSide : null;
110181
- return [{
110182
- definition: {
110183
- id,
110184
- defaultValue: defaults[id] ?? storedDefault ?? facet.defaultValue,
110185
- values: facet.values.map((value) => value.value),
110186
- ...knobKindMetadata(facet.knob)
110187
- },
110188
- exposed: exposedKnobIds(look).includes(id),
110189
- forced: look.look.structure.forcedKnobs?.[id],
110190
- lookValues: look.look.structure.knobValues?.[id],
110191
- styleValues: look.knobValues[id],
110192
- lengthValues: id === "titleSize" ? headlineAllowedValues(length) : void 0
110193
- }];
110194
- });
110195
- }
110196
- /**
110197
- * A hero stored as "Split, photo on the left" or "Split, photo on the right"
110198
- * already says which side its photo is on. Under a Look that side is the Photo
110199
- * side default, so the photo stays where it was until the owner picks a side.
110200
- */
110201
- function storedSplitPhotoSide(blockKind, content) {
110202
- if (blockKind !== "block.hero") return null;
110203
- switch (content.variant) {
110204
- case "split": return "left";
110205
- case "splitReverse": return "right";
110206
- default: return null;
110207
- }
110208
- }
110209
- function knobKindMetadata(knob) {
110210
- return knob.kind === "fixed" ? { ordered: knob.ordered } : {
110211
- ordered: false,
110212
- textMaxLength: knob.maxLength
110213
- };
110214
- }
110215
- function headlineAllowedValues(length) {
110216
- switch (length) {
110217
- case "long": return ["quiet"];
110218
- case "medium": return ["quiet", "auto"];
110219
- case "short": return [
110220
- "quiet",
110221
- "auto",
110222
- "display"
110223
- ];
110224
- case null: return;
110225
- }
110226
- }
110227
- /** `titleSize` keeps its five stored values; under a Look they read as three steps. */
110228
- function normalizedHeadlinePreference(content) {
110229
- switch (content.titleSize) {
110230
- case "editorial": return {
110231
- ...content,
110232
- titleSize: "auto"
110233
- };
110234
- case "poster": return {
110235
- ...content,
110236
- titleSize: "display"
110237
- };
110238
- default: return content;
110239
- }
110240
- }
110241
- function exposedKnobIds(look) {
110242
- return [...look.look.structure.knobs, ...look.addKnobs ?? []].filter((id) => !look.removeKnobs.some((removed) => removed === id));
110243
- }
110244
- //#endregion
110245
- //#region ../blocks/src/system/customize/facets.ts
110246
- function defineCustomizeFacet(definition) {
110247
- return definition;
110248
- }
110249
- const eventCalendarListLayoutFacet = defineCustomizeFacet({
110250
- blockKind: "block.event-calendar",
110251
- id: "eventCalendar.listLayout",
110252
- label: "List style",
110253
- legacyOnly: true,
110254
- values: eventCalendarListLayoutOptions.map((option) => ({
110255
- value: option.id,
110256
- label: option.label
110257
- })),
110258
- defaultValue: "stack",
110259
- target: { kind: "event-calendar-list-layout-content" },
110260
- appliesToLayoutVariants: eventCalendarListLayoutCompatibleDisplayModeValues
110261
- });
110262
- const fixedKnob = (blockKind, id, label, values, defaultValue, ordered = false, boolean = false) => ({
110263
- blockKind,
110264
- id,
110265
- label,
110266
- values,
110267
- defaultValue,
110268
- knob: {
110269
- kind: "fixed",
110270
- ordered
110271
- },
110272
- target: {
110273
- kind: "content-field",
110274
- field: id,
110275
- ...boolean ? { boolean: true } : {}
110276
- }
110277
- });
110278
- const textKnob = (id, label, maxLength) => ({
110279
- blockKind: "block.hero",
110280
- id,
110281
- label,
110282
- values: [],
110283
- defaultValue: "",
110284
- knob: {
110285
- kind: "text",
110286
- maxLength
110287
- },
110288
- target: {
110289
- kind: "content-field",
110290
- field: id
110291
- }
110292
- });
110293
- const onOff = [{
110294
- value: "true",
110295
- label: "On"
110296
- }, {
110297
- value: "false",
110298
- label: "Off"
110299
- }];
110300
- const columnCounts = [
110301
- {
110302
- value: "2",
110303
- label: "2"
110304
- },
110305
- {
110306
- value: "3",
110307
- label: "3"
110308
- },
110309
- {
110310
- value: "4",
110311
- label: "4"
110312
- }
110313
- ];
110314
- const systemCustomizeFacetDefinitions = [
110315
- eventCalendarListLayoutFacet,
110316
- fixedKnob("block.offerings-preview", "grouping", "Grouping", [{
110317
- value: "by-kind",
110318
- label: "Grouped by kind"
110319
- }, {
110320
- value: "one-list",
110321
- label: "One list"
110322
- }], "by-kind"),
110323
- fixedKnob("block.offerings-preview", "dates", "Dates", [{
110324
- value: "summary",
110325
- label: "Summary"
110326
- }, {
110327
- value: "next-dates",
110328
- label: "Next dates"
110329
- }], "summary"),
110330
- {
110331
- ...fixedKnob("block.feature-cards", "actionStyle", "Item actions", [{
110332
- value: "button",
110333
- label: "Button"
110334
- }, {
110335
- value: "link",
110336
- label: "Link"
110337
- }], "button"),
110338
- blockKinds: cardListKnobBlocks
110339
- },
110340
- fixedKnob("block.testimonials", "quoteCount", "How many quotes", [
110341
- {
110342
- value: "1",
110343
- label: "1"
110344
- },
110345
- {
110346
- value: "2",
110347
- label: "2"
110348
- },
110349
- {
110350
- value: "3",
110351
- label: "3"
110352
- },
110353
- {
110354
- value: "all",
110355
- label: "All"
110356
- }
110357
- ], "3", true),
110358
- {
110359
- ...fixedKnob("block.testimonials", "autoAdvance", "Moves on by itself", onOff, "false", false, true),
110360
- description: "Moves to the next quote every few seconds, and stops while someone's reading."
110361
- },
110362
- fixedKnob("block.testimonials", "tilt", "Tilt the small cards", onOff, "true", false, true),
110363
- {
110364
- ...fixedKnob("block.testimonials", "archFrame", "Arch frame", onOff, "true", false, true),
110365
- blockKinds: [
110366
- "block.testimonials",
110367
- "block.newsletter-signup",
110368
- "block.form"
110369
- ]
110370
- },
110371
- fixedKnob("block.hero", "photoTint", "Photo tint", [{
110372
- value: "dark",
110373
- label: "Dark"
110374
- }, {
110375
- value: "brand",
110376
- label: "Brand colour"
110377
- }], "dark"),
110378
- fixedKnob("block.hero", "candleGlow", "Candle glow", onOff, "true", false, true),
110379
- fixedKnob("block.hero", "columnGuides", "Column guides", onOff, "true", false, true),
110380
- fixedKnob("block.hero", "titleSize", "Headline size", heroTitleSizeOptions, "auto", true),
110381
- fixedKnob("block.hero", "imagePosition", "Photo side", [{
110382
- value: "left",
110383
- label: "Left"
110384
- }, {
110385
- value: "right",
110386
- label: "Right"
110387
- }], "right"),
110388
- fixedKnob("block.intro", "imageShape", "Media shape", standardImageShapeOptions, "default"),
110389
- fixedKnob("block.intro", "imagePosition", "Photo side", [{
110390
- value: "left",
110391
- label: "Left"
110392
- }, {
110393
- value: "right",
110394
- label: "Right"
110395
- }], "left"),
110396
- fixedKnob("block.media-text", "imagePosition", "Photo side", [{
110397
- value: "left",
110398
- label: "Left"
110399
- }, {
110400
- value: "right",
110401
- label: "Right"
110402
- }], "left"),
110403
- fixedKnob("block.media-text", "imageShape", "Media shape", standardImageShapeOptions, "default"),
110404
- fixedKnob("block.media-text", "aspectRatio", "Media aspect ratio", standardAspectRatioOptions, "auto"),
110405
- textKnob("stickerLine", "Sticker line", 32),
110406
- textKnob("smallCaption", "Small caption", 24),
110407
- {
110408
- ...fixedKnob("block.feature-cards", "showPhotos", "Show photos", onOff, "true", false, true),
110409
- blockKinds: cardListFamilyBlocks
110410
- },
110411
- fixedKnob("block.feature-cards", "columns", "Columns", columnCounts, "3", true),
110412
- fixedKnob("block.image-gallery", "blackAndWhite", "Black and white", onOff, "false", false, true),
110413
- fixedKnob("block.event-calendar", "listColumns", "Columns", columnCounts, "3", true),
110414
- fixedKnob("block.event-calendar", "showPhotos", "Photos", [{
110415
- value: "true",
110416
- label: "Show"
110417
- }, {
110418
- value: "false",
110419
- label: "Hide"
110420
- }], "true", false, true),
110421
- {
110422
- ...fixedKnob("block.feature-cards", "cardMarker", "Item markers", [
110423
- {
110424
- value: "icons",
110425
- label: "Icons"
110426
- },
110427
- {
110428
- value: "numbers",
110429
- label: "Numbers"
110430
- },
110431
- {
110432
- value: "none",
110433
- label: "None"
110434
- }
110435
- ], "icons"),
110436
- blockKinds: cardListFamilyBlocks
110437
- },
110438
- fixedKnob("block.body-text", "alignment", "Text alignment", [{
110439
- value: "left",
110440
- label: "Left"
110441
- }, {
110442
- value: "center",
110443
- label: "Centre"
110444
- }], "left"),
110445
- {
110446
- ...fixedKnob("block.event-calendar", "showCapacity", "Places left", onOff, "true", false, true),
110447
- description: "Show how many places are left on each event"
110448
- }
110449
- ];
110450
- systemCustomizeFacetDefinitions.map((definition) => definition.id);
110451
- Array.from(new Set(systemCustomizeFacetDefinitions.flatMap((definition) => definition.values.map((option) => option.value))));
110452
- function isSystemCustomizeFacetId(value) {
110453
- return typeof value === "string" && systemCustomizeFacetDefinitions.some((definition) => definition.id === value);
110454
- }
110455
- function systemCustomizeFacetDefinitionForBlock(blockKind, facetId) {
110456
- return systemCustomizeFacetDefinitions.find((definition) => definition.id === facetId && (definition.blockKind === blockKind || "blockKinds" in definition && definition.blockKinds?.some((kind) => kind === blockKind))) ?? null;
110457
- }
110458
- function systemCustomizeFacetDefinitionsForBlock(blockKind) {
110459
- return systemCustomizeFacetDefinitions.filter((definition) => definition.blockKind === blockKind || "blockKinds" in definition && definition.blockKinds?.some((kind) => kind === blockKind));
110460
- }
110461
- function isSystemCustomizeFacetValue(definition, value) {
110462
- return typeof value === "string" && (definition.knob?.kind === "text" ? value.length <= definition.knob.maxLength : definition.values.some((option) => option.value === value));
110463
- }
110464
- /** Only a knob's own content field can be unset; other facets always hold a value. */
110465
- function isSystemCustomizeFacetStoredValue(definition, value) {
110466
- return value === null ? definition.knob !== void 0 && definition.target.kind === "content-field" : isSystemCustomizeFacetValue(definition, value);
110467
- }
110468
- /** The value as stored, or null when a knob's field was never set. */
110469
- function systemCustomizeFacetStoredValue(definition, content) {
110470
- return definition.knob !== void 0 && definition.target.kind === "content-field" && content[definition.target.field] === void 0 ? null : systemCustomizeFacetCurrentValue(definition, content);
110471
- }
110472
- function systemCustomizeFacetAppliesToLayoutVariant(definition, layoutVariantKey, lookKind = "legacy") {
110473
- if (definition.legacyOnly && lookKind !== "legacy") return false;
110474
- if (definition.knob && lookKind === "legacy") return false;
110475
- if (!definition.appliesToLayoutVariants) return true;
110476
- return typeof layoutVariantKey === "string" && definition.appliesToLayoutVariants.includes(layoutVariantKey);
110477
- }
110478
- function systemCustomizeFacetCurrentValue(definition, content) {
110479
- switch (definition.target.kind) {
110480
- case "content-field": {
110481
- const stored = content[definition.target.field];
110482
- const value = typeof stored === "boolean" ? String(stored) : stored;
110483
- return isSystemCustomizeFacetValue(definition, value) ? value : definition.defaultValue;
110484
- }
110485
- case "event-calendar-list-layout-content":
110486
- if (isSystemCustomizeFacetValue(definition, content.listLayout)) return content.listLayout;
110487
- if (isSystemCustomizeFacetValue(definition, content.layout)) return content.layout;
110488
- return definition.defaultValue;
110489
- }
110490
- }
110491
- function systemCustomizeFacetApplyContentPatch(definition, content, value) {
110492
- if (!isSystemCustomizeFacetStoredValue(definition, value)) throw new Error(`Invalid value for facet ${definition.id}`);
110493
- switch (definition.target.kind) {
110494
- case "content-field":
110495
- if (value === null) return omitRecordKey$2(content, definition.target.field);
110496
- return {
110497
- ...content,
110498
- [definition.target.field]: definition.target.boolean ? value === "true" : value
110499
- };
110500
- case "event-calendar-list-layout-content": return {
110501
- ...omitRecordKey$2(content, "layout"),
110502
- listLayout: value ?? definition.defaultValue
110503
- };
110504
- }
110505
- }
110506
- function systemCustomizeFacetRollbackContentPatch(definition, currentContent, previousContent) {
110507
- switch (definition.target.kind) {
110508
- case "content-field": return restoreRecordKey(currentContent, previousContent, definition.target.field);
110509
- case "event-calendar-list-layout-content": return restoreRecordKey(restoreRecordKey(currentContent, previousContent, "listLayout"), previousContent, "layout");
110510
- }
110511
- }
110512
- function restoreRecordKey(content, previousContent, key) {
110513
- if (Object.prototype.hasOwnProperty.call(previousContent, key)) return {
110514
- ...content,
110515
- [key]: previousContent[key]
110516
- };
110517
- return omitRecordKey$2(content, key);
110518
- }
110519
- function omitRecordKey$2(content, key) {
110520
- return Object.fromEntries(Object.entries(content).filter(([entryKey]) => entryKey !== key));
110521
- }
110522
- //#endregion
110523
110734
  //#region ../blocks/src/system/customize/fieldOwnership.ts
110524
110735
  /**
110525
110736
  * Values with their own owner, whatever their fields are tagged: the Background
@@ -116176,7 +116387,7 @@ function TeamMemberName({ name, profilePath }) {
116176
116387
  }) : /* @__PURE__ */ jsx("strong", { children: name });
116177
116388
  }
116178
116389
  function formatTicketTypePrice(ticketType, currency) {
116179
- return formatCurrencyAmount(ticketType.priceAmount, currency, { decimals: "auto" });
116390
+ return formatBookingPriceDisplay(resolveExactOrFreePriceDisplay(ticketType.priceAmount, currency), { decimals: "auto" });
116180
116391
  }
116181
116392
  function getDisplayablePricingOptions(event) {
116182
116393
  return event.pricing.kind === "tiered" ? event.pricing.options.filter(isPublicEventPricingOptionDisplayable).sort((left, right) => left.sortOrder - right.sortOrder) : [];
@@ -123405,7 +123616,7 @@ function planArrangementContent(blockKind, manifest, authored, audience) {
123405
123616
  ...mode !== null ? { variant: mode } : {},
123406
123617
  ...effectiveContent,
123407
123618
  ...photoContent,
123408
- ...arrangementShapeContent(knobs),
123619
+ ...arrangementMediaFrameContent(blockKind, effective, values, authored),
123409
123620
  ...arrangementPanelContent(activeContent, effective, mode),
123410
123621
  ...arrangementQuoteContent(blockKind, effective, values),
123411
123622
  _arrangementLooks: runtime,
@@ -123457,11 +123668,15 @@ function arrangementPhotoTreatmentContent(content, look, palette, tint) {
123457
123668
  function arrangementContentSlots(blockKind) {
123458
123669
  return Object.fromEntries(arrangementSlotNames.filter((slot) => (!slot.startsWith("price-") || blockKind === "block.shop") && slot !== "schedule-section" && slot !== "shop-section" && (slot !== "background" || blockKind === "block.hero")).map((slot) => [slot, slot]));
123459
123670
  }
123460
- /** Where a Look offers the photo shape, the shape sets the crop, without rewriting authored preferences. */
123461
- function arrangementShapeContent(knobs) {
123462
- const shape = knobs.imageShape;
123463
- if (!shape || shape.kind === "kept") return {};
123464
- return shape.value === "circle" ? { aspectRatio: "1/1" } : shape.value === "arch" ? { aspectRatio: "4/5" } : {};
123671
+ /** One frame declaration owns shape crops and keeps authored ratios for variable layouts. */
123672
+ function arrangementMediaFrameContent(blockKind, look, knobs, authored) {
123673
+ if (blockKind !== "block.intro" && blockKind !== "block.media-text") return {};
123674
+ const frame = resolveLookMediaFrame(look.look.structure.mediaFrame, look.skin, knobs);
123675
+ if (!frame) return {};
123676
+ return frame.kind === "fixed" ? {
123677
+ aspectRatio: frame.aspectRatio,
123678
+ _lookMediaFrame: frame
123679
+ } : { aspectRatio: typeof authored.aspectRatio === "string" ? authored.aspectRatio : frame.aspectRatio };
123465
123680
  }
123466
123681
  function arrangementQuoteContent(blockKind, effective, values) {
123467
123682
  if (blockKind !== "block.testimonials") return {};
@@ -140978,10 +141193,18 @@ function clearEventPayment(siteId) {
140978
141193
  //#region ../blocks/src/system/runtime/nodes/event-registration/registrationErrorPresentation.ts
140979
141194
  /** The tag the server gives a refused booking request, with a message meant for the booker. */
140980
141195
  const REFUSED_INPUT_TAG = "REGISTRATION_INVALID_INPUT";
141196
+ /**
141197
+ * Public-site admission refusals: the site isn't open for online bookings.
141198
+ * The booker's details were fine, so these never ask them to check them.
141199
+ */
141200
+ const SITE_UNAVAILABLE_TAGS = /* @__PURE__ */ new Set(["PUBLIC_SITE_UNAVAILABLE", "PUBLIC_SITE_NOT_FOUND"]);
141201
+ function siteUnavailable(error) {
141202
+ return error.tag !== void 0 && SITE_UNAVAILABLE_TAGS.has(error.tag);
141203
+ }
140981
141204
  function parseEventRegistrationFailure(error) {
140982
141205
  return {
140983
141206
  ...parseBookingSubmissionFailure(error, "Something went wrong. Please try again."),
140984
- reason: error instanceof BlockApiError ? parseEventRegistrationErrorReason(error.tag) : null,
141207
+ reason: !(error instanceof BlockApiError) ? null : siteUnavailable(error) ? "siteNotTakingBookings" : parseEventRegistrationErrorReason(error.tag),
140985
141208
  siteTermsFailure: siteTermsFailureKind(error),
140986
141209
  isClientError: error instanceof BlockApiError && error.status < 500 && error.code !== "invalid_booking_response",
140987
141210
  refusedInput: error instanceof BlockApiError && error.tag === REFUSED_INPUT_TAG && error.message.trim().length > 0
@@ -142374,21 +142597,34 @@ function initialSlidingAmountInput(event) {
142374
142597
  function useEventRegistrationWizard(options) {
142375
142598
  return useEventRegistrationWizardWithDeps(options, eventRegistrationWizardDeps);
142376
142599
  }
142377
- /** Preserve source availability through event adaptation and page scoping. */
142378
- function useRegistrationEventSource(options) {
142600
+ const CHOOSER_CLOCK = { kind: "relative" };
142601
+ /**
142602
+ * Preserve source availability through event adaptation and page scoping.
142603
+ *
142604
+ * `choiceNowIso` is the chooser's clock: it starts at the server snapshot so hydration matches, then
142605
+ * follows the browser, so a date that starts while the page is open leaves the chooser.
142606
+ * `registrationEvents` stays the full set, so payment recovery still finds a date that has started.
142607
+ */
142608
+ function useRegistrationEventSource(options, choiceNowIso) {
142379
142609
  const events = options.eventSource.kind === "ready" ? options.eventSource.events : NO_EVENTS;
142380
142610
  const registrationEvents = useMemo(() => [...toRegistrationEvents(events), ...toWholeSeriesRegistrationEvents(events)], [events]);
142381
- const scopedEvents = useMemo(() => {
142382
- return resolveEventRegistrationScopedEvents(registrationEvents, {
142611
+ const choiceKey = useMemo(() => {
142612
+ const choices = resolveEventRegistrationChoices(events, {
142383
142613
  occurrenceContext: options.occurrenceContext,
142384
142614
  subject: options.subject
142385
- });
142615
+ }, new Date(choiceNowIso));
142616
+ return [...toRegistrationEvents(choices), ...toWholeSeriesRegistrationEvents(choices)].map((event) => event.selectionId).join("\n");
142386
142617
  }, [
142387
- registrationEvents,
142618
+ events,
142619
+ choiceNowIso,
142388
142620
  options.occurrenceContext?.seriesId,
142389
142621
  options.subject?.kind,
142390
142622
  options.subject?.kind === "eventSeries" ? options.subject.eventSeriesId : options.subject?.kind === "eventOffering" ? `${options.subject.eventOfferingId}:${options.subject.catalogueEventSeriesIds.join(",")}` : options.subject?.reason
142391
142623
  ]);
142624
+ const scopedEvents = useMemo(() => {
142625
+ const choiceIds = new Set(choiceKey.split("\n"));
142626
+ return registrationEvents.filter((event) => choiceIds.has(event.selectionId));
142627
+ }, [registrationEvents, choiceKey]);
142392
142628
  return {
142393
142629
  events,
142394
142630
  registrationEvents,
@@ -142411,7 +142647,7 @@ function useEventRegistrationWizardWithDeps(options, deps) {
142411
142647
  const api = useBlockApi();
142412
142648
  const arrivalCredential = deps.useWaitlistClaimCredential();
142413
142649
  const nowIso = deps.useBookingNowIso(options.now);
142414
- const { events, registrationEvents, scopedEvents, scopedEventSource } = useRegistrationEventSource(options);
142650
+ const { events, registrationEvents, scopedEvents, scopedEventSource } = useRegistrationEventSource(options, deps.useBookingNowIso(options.now, CHOOSER_CLOCK));
142415
142651
  const preSelectedEvent = useMemo(() => findPreSelectedEvent({
142416
142652
  scopedEvents,
142417
142653
  occurrenceContext: options.occurrenceContext
@@ -143875,10 +144111,10 @@ function CombinationPricing(props) {
143875
144111
  className: "er-summary-bar-pricing",
143876
144112
  children: [/* @__PURE__ */ jsx("span", {
143877
144113
  className: "er-summary-bar-price er-summary-bar-price--struck",
143878
- children: formatPrice$1(props.listCents, props.currency)
144114
+ children: formatPrice(props.listCents, props.currency)
143879
144115
  }), /* @__PURE__ */ jsx("span", {
143880
144116
  className: "er-summary-bar-price",
143881
- children: formatPrice$1(props.totalCents, props.currency)
144117
+ children: formatPrice(props.totalCents, props.currency)
143882
144118
  })]
143883
144119
  });
143884
144120
  }
@@ -144007,7 +144243,7 @@ function EntitlementSummaryRow(props) {
144007
144243
  children: props.copy.productPrice ? /* @__PURE__ */ jsx("span", {
144008
144244
  className: "er-summary-bar-included",
144009
144245
  children: props.copy.productPrice
144010
- }) : productPrice && productCurrency ? formatPrice$1(productPrice, productCurrency) : null
144246
+ }) : productPrice && productCurrency ? formatPrice(productPrice, productCurrency) : null
144011
144247
  })]
144012
144248
  });
144013
144249
  }
@@ -144054,9 +144290,26 @@ function PaymentProductRow(props) {
144054
144290
  function summaryCountLabel(wizard, summaryEvent) {
144055
144291
  if (wizard.severalItems !== null) return selectionPlacesLabel(wizard.severalItems, wizard.selection, wizard.ticketsCount);
144056
144292
  if (wizard.ticketsCount <= 0) return null;
144057
- const unit = summaryEvent && publicEventPricingStrategy(summaryEvent.pricing) === "tiered" ? "ticket" : "place";
144293
+ const tiered = summaryEvent !== null && summaryEvent !== void 0 && publicEventPricingStrategy(summaryEvent.pricing) === "tiered";
144294
+ if (tiered) {
144295
+ const byType = ticketTypeCountLabel(wizard.selectedTicketLines, wizard.visibleTicketTypes);
144296
+ if (byType) return byType;
144297
+ }
144298
+ const unit = tiered ? "ticket" : "place";
144058
144299
  return `${wizard.ticketsCount} ${unit}${wizard.ticketsCount === 1 ? "" : "s"}`;
144059
144300
  }
144301
+ /** "1 Standard, 1 Concession" when tickets of more than one type are chosen; otherwise null. */
144302
+ function ticketTypeCountLabel(lines, ticketTypes) {
144303
+ const chosen = lines.filter((line) => line.quantity > 0);
144304
+ if (chosen.length < 2) return null;
144305
+ const parts = [];
144306
+ for (const line of chosen) {
144307
+ const name = ticketTypes.find((type) => type.pricingOptionId === line.pricingOptionId)?.name;
144308
+ if (!name) return null;
144309
+ parts.push(`${line.quantity} ${name}`);
144310
+ }
144311
+ return parts.join(", ");
144312
+ }
144060
144313
  /**
144061
144314
  * The footer's one line (issue 1581): how many, the discount's name, then
144062
144315
  * when. Ticket types are tickets; a single price, or a course, is places.
@@ -144164,7 +144417,7 @@ function SeveralStepSummary({ wizard }) {
144164
144417
  className: "er-summary-bar-pricing",
144165
144418
  children: /* @__PURE__ */ jsx("span", {
144166
144419
  className: "er-summary-bar-price",
144167
- children: formatPrice$1(total, currency)
144420
+ children: formatPrice(total, currency)
144168
144421
  })
144169
144422
  }) : null,
144170
144423
  /* @__PURE__ */ jsx(CombinationDetail, { working })
@@ -144273,21 +144526,21 @@ function EventRegistrationSummaryBar(props) {
144273
144526
  className: "er-summary-bar-pricing",
144274
144527
  children: productMethod ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
144275
144528
  className: "er-summary-bar-price er-summary-bar-price--struck",
144276
- children: formatPrice$1(subtotalCents, summaryCurrency)
144529
+ children: formatPrice(subtotalCents, summaryCurrency)
144277
144530
  }), /* @__PURE__ */ jsx("div", {
144278
144531
  className: "er-summary-bar-included",
144279
144532
  children: entitlementCopy.pricingNote
144280
144533
  })] }) : flexibleBalanceSummary ? /* @__PURE__ */ jsx(FlexibleBalancePricing, {
144281
144534
  summary: flexibleBalanceSummary,
144282
- fallbackDueToday: formatPrice$1(discountedTotalCents, summaryCurrency)
144535
+ fallbackDueToday: formatPrice(discountedTotalCents, summaryCurrency)
144283
144536
  }) : autoAppliedDiscount && autoAppliedDiscountCents > 0 ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
144284
144537
  /* @__PURE__ */ jsx("span", {
144285
144538
  className: "er-summary-bar-price er-summary-bar-price--struck",
144286
- children: formatPrice$1(subtotalCents, summaryCurrency)
144539
+ children: formatPrice(subtotalCents, summaryCurrency)
144287
144540
  }),
144288
144541
  /* @__PURE__ */ jsx("span", {
144289
144542
  className: "er-summary-bar-price",
144290
- children: formatPrice$1(discountedTotalCents, summaryCurrency)
144543
+ children: formatPrice(discountedTotalCents, summaryCurrency)
144291
144544
  }),
144292
144545
  autoAppliedDiscount.description ? /* @__PURE__ */ jsx("div", {
144293
144546
  className: "er-summary-bar-product-detail er-summary-bar-discount-detail",
@@ -144295,7 +144548,7 @@ function EventRegistrationSummaryBar(props) {
144295
144548
  }) : null
144296
144549
  ] }) : /* @__PURE__ */ jsx("span", {
144297
144550
  className: "er-summary-bar-price",
144298
- children: formatPrice$1(subtotalCents, summaryCurrency)
144551
+ children: formatPrice(subtotalCents, summaryCurrency)
144299
144552
  })
144300
144553
  }),
144301
144554
  /* @__PURE__ */ jsx(CombinationDetail, { working })
@@ -144805,9 +145058,9 @@ function BookingQuantityPrompt(props) {
144805
145058
  }
144806
145059
  function SlidingScaleAmountField(props) {
144807
145060
  const id = props.id ?? "er-sliding-amount";
144808
- const minLabel = formatPrice$1(props.slidingScale.minAmount, props.currency);
144809
- const maxLabel = formatPrice$1(props.slidingScale.maxAmount, props.currency);
144810
- const suggestedLabel = props.slidingScale.suggestedAmount !== null ? formatPrice$1(props.slidingScale.suggestedAmount, props.currency) : null;
145061
+ const minLabel = formatPrice(props.slidingScale.minAmount, props.currency);
145062
+ const maxLabel = formatPrice(props.slidingScale.maxAmount, props.currency);
145063
+ const suggestedLabel = props.slidingScale.suggestedAmount !== null ? formatPrice(props.slidingScale.suggestedAmount, props.currency) : null;
144811
145064
  return /* @__PURE__ */ jsxs("div", {
144812
145065
  className: "er-field",
144813
145066
  children: [
@@ -144861,9 +145114,10 @@ function TicketTypeQuantityRows(props) {
144861
145114
  const availabilityLabel = getTicketTypeAvailabilityLabel(ticketType);
144862
145115
  const ticketTypeRemainingLabel = placesLeftLabel({
144863
145116
  kind: "ticketType",
144864
- remaining: ticketType.availability.remainingPlaces
145117
+ remaining: ticketType.availability.remainingPlaces,
145118
+ dateRemaining: props.availableSpots ?? null
144865
145119
  }, props.display);
144866
- const priceLabel = ticketType.priceAmount > 0 ? formatPrice$1(ticketType.priceAmount, props.currency) : "Free";
145120
+ const priceLabel = ticketType.priceAmount > 0 ? formatPrice(ticketType.priceAmount, props.currency) : "Free";
144867
145121
  const maxAllowed = getTicketTypeLineMax({
144868
145122
  currentQuantity: quantity,
144869
145123
  totalSelectedQuantity,
@@ -145171,7 +145425,7 @@ function RunTicketTypeChoice({ run, name, choice, facts, onChange }) {
145171
145425
  id: option.id,
145172
145426
  label: option.name,
145173
145427
  details: option.description ? [option.description] : [],
145174
- price: option.priceAmount > 0 ? formatPrice$1(option.priceAmount, currency) : "Free",
145428
+ price: option.priceAmount > 0 ? formatPrice(option.priceAmount, currency) : "Free",
145175
145429
  selected: choice.pricingOptionId === option.id,
145176
145430
  disabled: !usable,
145177
145431
  disabledReason: usable ? void 0 : "Not available",
@@ -145308,110 +145562,98 @@ function SeveralRunsTicketStep(props) {
145308
145562
  }
145309
145563
  //#endregion
145310
145564
  //#region ../blocks/src/system/runtime/nodes/event-registration/SelectionPaymentSummary.tsx
145311
- /** Pence always show here ("£36.00"), so whole and part pounds line up in the list. */
145312
- function formatPrice(cents, currency) {
145313
- return formatCurrencyAmount(cents, currency);
145314
- }
145315
- function Rows(props) {
145316
- return props.rows.map((row) => /* @__PURE__ */ jsxs("div", {
145317
- className: "er-confirmation-summary__row",
145318
- children: [/* @__PURE__ */ jsx("dt", { children: row.label }), /* @__PURE__ */ jsx("dd", { children: row.value })]
145319
- }, row.key));
145320
- }
145321
- /**
145322
- * Several items with combination prices (issue 1725): each combination's
145323
- * items under its name with what each now costs, the rest "At the usual
145324
- * price", then the places, any code, the total and the saving.
145325
- */
145326
- function CombinedSummary(props) {
145327
- const { summary, currency } = props;
145328
- const money = (cents) => formatPrice(cents, currency);
145329
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [
145330
- /* @__PURE__ */ jsxs("div", {
145331
- className: "er-confirmation-summary er-selection-payment",
145332
- children: [summary.groups.map((group) => /* @__PURE__ */ jsxs(React.Fragment, { children: [group.heading ? /* @__PURE__ */ jsx("p", {
145333
- className: "er-selection-payment__group",
145334
- children: group.heading
145335
- }) : null, /* @__PURE__ */ jsx("dl", {
145336
- className: "er-selection-payment__lines",
145337
- children: /* @__PURE__ */ jsx(Rows, { rows: group.lines.map((line) => ({
145338
- key: line.key,
145339
- label: line.label,
145340
- value: money(line.amountCents)
145341
- })) })
145342
- })] }, group.key)), /* @__PURE__ */ jsx("dl", {
145343
- className: "er-selection-payment__lines er-selection-payment__totals",
145344
- children: /* @__PURE__ */ jsx(Rows, { rows: [
145345
- {
145346
- key: "places",
145347
- label: summary.placesLabel,
145348
- value: money(summary.subtotalCents)
145349
- },
145350
- ...summary.reductions.map((row) => ({
145351
- key: row.key,
145352
- label: row.label,
145353
- value: `−${money(row.amountCents)}`
145354
- })),
145355
- {
145356
- key: "total",
145357
- label: "Total",
145358
- value: money(summary.totalCents)
145359
- }
145360
- ] })
145361
- })]
145362
- }),
145363
- summary.note ? /* @__PURE__ */ jsx("p", {
145364
- className: "er-combination-note",
145365
- role: "status",
145366
- children: summary.note
145367
- }) : null,
145368
- summary.savingCents !== null ? /* @__PURE__ */ jsxs("p", {
145369
- className: "er-combination-saving",
145370
- children: ["You save ", money(summary.savingCents)]
145371
- }) : null
145372
- ] });
145565
+ function Lines(props) {
145566
+ return /* @__PURE__ */ jsx("dl", {
145567
+ className: "er-selection-payment__lines",
145568
+ children: props.lines.map((line) => /* @__PURE__ */ jsxs("div", {
145569
+ className: "er-confirmation-summary__row",
145570
+ children: [/* @__PURE__ */ jsxs("dt", { children: [line.label, line.multiplier ? /* @__PURE__ */ jsxs("span", {
145571
+ className: "er-selection-payment__multiplier",
145572
+ children: [
145573
+ line.multiplier.places,
145574
+ " × ",
145575
+ props.money(line.multiplier.unitPriceCents)
145576
+ ]
145577
+ }) : null] }), /* @__PURE__ */ jsx("dd", { children: props.money(line.amountCents) })]
145578
+ }, line.key))
145579
+ });
145580
+ }
145581
+ function Totals(props) {
145582
+ const { money } = props;
145583
+ return /* @__PURE__ */ jsxs("dl", {
145584
+ className: "er-selection-payment__lines er-selection-payment__totals",
145585
+ children: [[...props.subtotalCents === null ? [] : [{
145586
+ key: "subtotal",
145587
+ label: "Subtotal",
145588
+ value: money(props.subtotalCents)
145589
+ }], ...props.reductions.map((row) => ({
145590
+ key: row.key,
145591
+ label: row.label,
145592
+ value: `−${money(row.amountCents)}`
145593
+ }))].map((row) => /* @__PURE__ */ jsxs("div", {
145594
+ className: "er-confirmation-summary__row",
145595
+ children: [/* @__PURE__ */ jsx("dt", { children: row.label }), /* @__PURE__ */ jsx("dd", { children: row.value })]
145596
+ }, row.key)), /* @__PURE__ */ jsxs("div", {
145597
+ className: "er-confirmation-summary__row er-selection-payment__total",
145598
+ children: [/* @__PURE__ */ jsx("dt", { children: "Total" }), /* @__PURE__ */ jsx("dd", { children: money(props.totalCents) })]
145599
+ })]
145600
+ });
145373
145601
  }
145374
145602
  /**
145375
- * What several items cost, above the payment choice (issue 1725): each item
145376
- * at its price for one place, the places on each, then the total; grouped by
145377
- * combination when combination prices apply.
145603
+ * What several items cost, above the payment choice (issue 1725): the items
145604
+ * and places as a caption, each item at what all its places cost, then the
145605
+ * total (after a subtotal and any code when something comes off). With
145606
+ * combination prices the items are grouped by combination, with the note
145607
+ * and saving under the list.
145378
145608
  */
145379
145609
  function SelectionPaymentSummary(props) {
145380
145610
  const { summary, currency } = props;
145611
+ const money = (cents) => formatCurrencyAmount(cents, currency);
145612
+ const groups = summary.kind === "combined" ? summary.groups : [{
145613
+ key: "items",
145614
+ heading: null,
145615
+ lines: summary.lines
145616
+ }];
145381
145617
  return /* @__PURE__ */ jsxs("div", {
145382
145618
  className: "rb-reg-stack er-stack er-selection-payment-summary",
145383
- children: [/* @__PURE__ */ jsx("h3", {
145384
- tabIndex: -1,
145385
- className: "er-title",
145386
- children: "Your booking"
145387
- }), summary.kind === "combined" ? /* @__PURE__ */ jsx(CombinedSummary, {
145388
- summary,
145389
- currency
145390
- }) : /* @__PURE__ */ jsx("dl", {
145391
- className: "er-confirmation-summary er-selection-payment",
145392
- children: /* @__PURE__ */ jsx(Rows, { rows: [
145393
- ...summary.lines.map((line) => ({
145394
- key: line.key,
145395
- label: line.label,
145396
- value: formatPrice(line.amountCents, currency)
145397
- })),
145398
- {
145399
- key: "places",
145400
- label: summary.placesLabel,
145401
- value: formatPrice(summary.subtotalCents, currency)
145402
- },
145403
- ...summary.reductions.map((row) => ({
145404
- key: row.key,
145405
- label: row.label,
145406
- value: `−${formatPrice(row.amountCents, currency)}`
145407
- })),
145408
- {
145409
- key: "total",
145410
- label: "Total",
145411
- value: formatPrice(summary.totalCents, currency)
145412
- }
145413
- ] })
145414
- })]
145619
+ children: [
145620
+ /* @__PURE__ */ jsx("h3", {
145621
+ tabIndex: -1,
145622
+ className: "er-title",
145623
+ children: "Your booking"
145624
+ }),
145625
+ /* @__PURE__ */ jsxs("div", {
145626
+ className: "er-confirmation-summary er-selection-payment",
145627
+ children: [
145628
+ /* @__PURE__ */ jsx("p", {
145629
+ className: "er-selection-payment__caption",
145630
+ children: summary.caption
145631
+ }),
145632
+ groups.map((group) => /* @__PURE__ */ jsxs(React.Fragment, { children: [group.heading ? /* @__PURE__ */ jsx("p", {
145633
+ className: "er-selection-payment__group",
145634
+ children: group.heading
145635
+ }) : null, /* @__PURE__ */ jsx(Lines, {
145636
+ lines: group.lines,
145637
+ money
145638
+ })] }, group.key)),
145639
+ /* @__PURE__ */ jsx(Totals, {
145640
+ subtotalCents: summary.subtotalCents,
145641
+ reductions: summary.reductions,
145642
+ totalCents: summary.totalCents,
145643
+ money
145644
+ })
145645
+ ]
145646
+ }),
145647
+ summary.kind === "combined" && summary.note ? /* @__PURE__ */ jsx("p", {
145648
+ className: "er-combination-note",
145649
+ role: "status",
145650
+ children: summary.note
145651
+ }) : null,
145652
+ summary.kind === "combined" && summary.savingCents !== null ? /* @__PURE__ */ jsxs("p", {
145653
+ className: "er-combination-saving",
145654
+ children: ["You save ", money(summary.savingCents)]
145655
+ }) : null
145656
+ ]
145415
145657
  });
145416
145658
  }
145417
145659
  //#endregion
@@ -146281,7 +146523,7 @@ function SiteCreditPreviewPanel(props) {
146281
146523
  children: [
146282
146524
  "You have",
146283
146525
  " ",
146284
- formatPrice$1(preview.availableCreditCents, preview.creditCurrency),
146526
+ formatPrice(preview.availableCreditCents, preview.creditCurrency),
146285
146527
  " ",
146286
146528
  "in site credit, but it can't be used for this",
146287
146529
  " ",
@@ -146300,18 +146542,18 @@ function SiteCreditPreviewPanel(props) {
146300
146542
  }),
146301
146543
  /* @__PURE__ */ jsxs("p", {
146302
146544
  className: "er-text",
146303
- children: ["Available: ", formatPrice$1(preview.availableCreditCents, props.currency)]
146545
+ children: ["Available: ", formatPrice(preview.availableCreditCents, props.currency)]
146304
146546
  }),
146305
146547
  /* @__PURE__ */ jsx("p", {
146306
146548
  className: "er-text",
146307
- children: preview.outcome === "credit_only" ? `Your credit covers this registration. ${formatPrice$1(preview.appliedCreditCents, props.currency)} will be used and no card payment is needed.` : preview.cardDueNowCents === 0 ? `${formatPrice$1(preview.appliedCreditCents, props.currency)} will be applied automatically. No card payment is needed today.` : `${formatPrice$1(preview.appliedCreditCents, props.currency)} will be applied automatically. ${formatPrice$1(preview.cardDueNowCents, props.currency)} is due by card today.`
146549
+ children: preview.outcome === "credit_only" ? `Your credit covers this registration. ${formatPrice(preview.appliedCreditCents, props.currency)} will be used and no card payment is needed.` : preview.cardDueNowCents === 0 ? `${formatPrice(preview.appliedCreditCents, props.currency)} will be applied automatically. No card payment is needed today.` : `${formatPrice(preview.appliedCreditCents, props.currency)} will be applied automatically. ${formatPrice(preview.cardDueNowCents, props.currency)} is due by card today.`
146308
146550
  }),
146309
146551
  preview.laterBalanceCents > 0 && /* @__PURE__ */ jsxs("p", {
146310
146552
  className: "er-text er-text--muted",
146311
146553
  children: [
146312
146554
  "Remaining balance after today:",
146313
146555
  " ",
146314
- formatPrice$1(preview.laterBalanceCents, props.currency)
146556
+ formatPrice(preview.laterBalanceCents, props.currency)
146315
146557
  ]
146316
146558
  }),
146317
146559
  preview.remainingCreditCents > 0 && /* @__PURE__ */ jsxs("p", {
@@ -146319,7 +146561,7 @@ function SiteCreditPreviewPanel(props) {
146319
146561
  children: [
146320
146562
  "Credit left afterwards:",
146321
146563
  " ",
146322
- formatPrice$1(preview.remainingCreditCents, props.currency)
146564
+ formatPrice(preview.remainingCreditCents, props.currency)
146323
146565
  ]
146324
146566
  }),
146325
146567
  preview.manualDiscountPending && /* @__PURE__ */ jsx("p", {
@@ -146430,7 +146672,7 @@ function purchasablePassChoices(eligibility) {
146430
146672
  },
146431
146673
  label: pass.name,
146432
146674
  details: [`${pass.creditsTotal} credits`, ...pass.description ? [pass.description] : []],
146433
- price: formatPrice$1(pass.price, pass.currency)
146675
+ price: formatPrice(pass.price, pass.currency)
146434
146676
  }));
146435
146677
  }
146436
146678
  function purchasableMembershipChoices(eligibility) {
@@ -146446,7 +146688,7 @@ function purchasableMembershipChoices(eligibility) {
146446
146688
  },
146447
146689
  label: membership.name,
146448
146690
  details: membership.description ? [membership.description] : [],
146449
- price: `${formatPrice$1(membership.price, membership.currency)}/${membership.interval}`
146691
+ price: `${formatPrice(membership.price, membership.currency)}/${membership.interval}`
146450
146692
  }));
146451
146693
  }
146452
146694
  /** Passes and memberships, when the selection can use them (one item, issue 1725). */
@@ -170315,4 +170557,4 @@ function usePreviewAssistantSlot() {
170315
170557
  return useContext(PreviewAssistantSlotContext);
170316
170558
  }
170317
170559
  //#endregion
170318
- export { useFooterComposerState as $, getGeneratedBlockIconStyleState as $a, Button as $c, FEATURE_CARD_GENERATED_ICON_SIZE_PX as $i, mediaIdentifierSchema as $l, readSliderFieldUiConfig as $n, getGradientPreset as $o, selectBlockContent as $r, DialogFooter as $s, listEntryPageContentSlots as $t, formatDateTime as $u, usePreviewJoinOutcome as A, formEmbedFragment as Aa, Root$2 as Ac, resolveImageUrlWithContext as Ai, surfaceForegroundValue as Al, lifecycleOutcomeMessage as An, sectionPhotoPresence as Ao, LocationMapView as Ar, isObjectRecord$1 as As, toRoutableLinkPayload as At, knownSocialPlatformLabels as Au, initPreviewAuth as B, ctaButton as Ba, useId$1 as Bc, normalizeEventRegistrationPageSurfaceSubject as Bi, normalizeRightAngle as Bl, withoutServerVersions as Bn, lookDefinitionForId as Bo, defaultTransforms as Br, extractApiEnvelopeErrorDetails as Bs, derivePromotedFieldPlan as Bt, displayedValues as Bu, pageDesignLookTiles as C, richTextFragment as Ca, __generator as Cc, toggleEventType as Ci, resolveButtonStyleSelection as Cl, recoveryConflictCopy as Cn, DEFAULT_THEME_RESPONSIVE_MODE as Co, arrangementHooksFromContent as Cr, normalizeRepeaterGridSpan as Cs, EditorWriteSurface as Ct, DEFAULT_MAILING_LIST_TARGETING as Cu, ObservedJoin as D, faqHeadingFragment as Da, __spreadArrays as Dc, getRichTextImageSize as Di, parseThemeForPersistence as Dl, parseStoredSidebarWidth as Dn, heroPhotoPaintsGround as Do, buildLoadedOfferingsPreviewListing as Dr, resolveRepeaterGridColumnsForBreakpoint as Ds, sendPageCommand as Dt, parseMailchimpAudienceId as Du, selectedImageFromRenderableAsset as E, faqAccordionFragment as Ea, __spreadArray as Ec, RichText as Ei, buttonStyleSelectionKey as El, SIDEBAR_WIDTH as En, resolveVisiblePromotedFieldPathsForEditorBlock as Eo, getDefaultComponentRegistry as Er, resolveRepeaterGridBreakpointForWidth as Es, getEditorClientId as Et, parseBrevoListId as Eu, lookTilePosition as F, heroCtaRowFragment as Fa, Arrow as Fc, buildResolveImageUrlContext as Fi, resolveSurfaceForeground as Fl, renderSourceFor as Fn, formatSiteChromeBackgroundTokenLabel as Fo, siblingPath as Fr, observeEditorAdmission as Fs, NewsletterFormClient as Ft, NO_BLOCK_VERSIONS as Fu, renderSiteChromeBlock as G, validateManifestDraft as Ga, useDirection as Gc, normalizeOfferingsPreviewGroupOrder as Gi, getImageUrl as Gl, createManifestFormAdapter as Gn, getCuratedSiteStyle as Go, createEditorPresentationPageReader as Gr, VISUALLY_HIDDEN_STYLES as Gs, hasVisibilityConditions as Gt, createEditorInsertBlockCommand as Gu, renewPreviewSession as H, defineFragment as Ha, useFocusGuards as Hc, groupOfferingRunsByCourse as Hi, parseAspectRatioValue as Hl, unsafeAsLinkedContentEntryId as Hn, defaultPolicyPageFlowPresetId as Ho, resolvePageRouteTarget as Hr, selectedCanvasBlockId as Hs, evaluateVisibility as Ht, pristineValueSync as Hu, lookTilesFor as I, ctaRowFragment as Ia, Content$1 as Ic, getCurrentResolveImageUrlContext as Ii, paletteValueKey as Il, renderedFieldChanges as In, getHeaderLayout as Io, withValueAtPath as Ir, OPERATION_ID_HEADER as Is, ImageResolveContextProvider as It, readEditorBlockVersionsFromPlacement as Iu, footerLayoutSelection as J, RichTextDocSchema as Ja, useLayoutEffect2 as Jc, readOfferingsGrouping as Ji, buildRenderableMediaAssetIndex as Jl, getFieldDefault as Jn, palettesForSiteStyle as Jo, mapOutlineRegions as Jr, CalloutTitle as Js, createBlock as Jt, editorBlockCollectionOwnerKey as Ju, siteChromeHeaderLogoMayBeHardToSee as K, admitLayoutGridForPlan as Ka, createCollection as Kc, offeringsListingFor as Ki, mediaSchema as Kl, createManifestValidation as Kn, headerStyleRecipeForTheme as Ko, allOutlineBlocks as Kr, Callout as Ks, isNonEmptyValue as Kt, createEditorRemoveBlockCommand as Ku, nextLookTilePin as L, BLOCK_BUTTON_ROLE_OPTIONS as La, Root2$1 as Lc, setContextResolveImageUrlContext as Li, defaultThemeTokens as Ll, resolveRenderedValues as Ln, getHeaderStyle as Lo, LINKED_CONTENT_ENTRY_META_KEY as Lr, API_ENDPOINTS as Ls, useImageResolveContextOptional as Lt, readPublishedBlockPlacement as Lu, usePreviewRenderReadiness as M, testimonialsCarouselFragment as Ma, Presence as Mc, SECTION_BACKGROUND_MIN_SOURCE_WIDTH as Mi, textColorStyle as Ml, activeLinkedSaveHandover as Mn, compileEditorModelRuntime as Mo, logger as Mr, editorAdmissionIsOpen as Ms, updateFooterComposition as Mt, parsePublicProfile as Mu, STYLE_DEFAULT_LOOK_KEY as N, testimonialsHeadingFragment as Na, Portal as Nc, resolveMediaSlot as Ni, mapDrawingStyle as Nl, planLinkedSaveHandoverRetention as Nn, resolveEditorArrangementLook as No, Text as Nr, editorAdmissionNotice as Ns, footerCreditLine as Nt, publicProfileWeekdays as Nu, PreviewRenderObservationsProvider as O, blogFeaturedPostFragment as Oa, hideOthers as Oc, computeMediaTransformStyle as Oi, surfaceForegroundInputFromResolved as Ol, selectAutosaveStatus as On, backgroundImagePromotedFieldPath as Oo, resolveEventDetailsPresentation as Or, resolveBlockTitle as Os, missingReceiptError as Ot, parseMailchimpInterestId as Ou, lookPositionLabel as P, ctaCopyFragment as Pa, Anchor as Pc, resolveMediaSlotContract as Pi, parseSurfaceTree as Pl, remoteDraftValues as Pn, restoreCompiledRuntimeFieldsFromContent as Po, getAtPath as Pr, editorAdmissionSession as Ps, clientComponentRegistry as Pt, publishedContactDetails as Pu, useFooterAuthoringOptional as Q, getBlockIconSemanticId as Qa, dispatchDiscreteCustomEvent as Qc, themeRuntimeScopeProps as Qi, PUBLIC_FILE_FIELD_KINDS as Ql, readNumberFieldUiConfig as Qn, GRADIENT_PRESETS as Qo, readinessFactsFromLoaders as Qr, DialogDescription as Qs, isSurfaceSlotBlockTarget as Qt, formatDate$4 as Qu, selectedLookTile as R, isBlockButtonRole as Ra, createPopperScope as Rc, projectRecurringSchedule as Ri, expandPalette as Rl, useStore as Rn, concretePaletteFromTheme as Ro, coerceLinkedContentEntriesPayload as Rr, calendarWindowQuerySchema as Rs, FormNodeClient as Rt, selectedContentVersionId as Ru, pageDesignLookPosition as S, bookingConsentCarrierSchema as Sa, __extends as Sc, readEventSelectionChips as Si, findButtonStyleRecipe as Sl, useSidebarView as Sn, mergeContentWithBlockStyleOverrides as So, resolveDefaultBlockTree as Sr, isRepeaterGridLayoutInvalid as Ss, EditLeaseModal as St, parseMailingListPlacementTargeting as Su, selectedImageFromMediaValue as T, cardFragment as Ta, __rest as Tc, cardListPresentationSchemaShape as Ti, updateButtonStyleSelectionChoice as Tl, unfinishedBlockCopy as Tn, resolveLookMediaFrame as To, readBlockComposition as Tr, resolveRepeaterGridAcceptedSpans as Ts, LeaseNoticeButtons as Tt, sameMailingListPlacementTargeting as Tu, usePreviewAuth as U, runTransforms as Ua, DismissableLayer as Uc, inferLegacyOfferingsPreviewGroupOrder as Ui, resolveMediaTransformForAspect as Ul, editorAuthoredBlockDocument as Un, componentRuntimeRulesForTheme as Uo, resolveRouteTarget as Ur, sidebarReturnView as Us, getFieldIntent as Ut, syncStateOf as Uu, registerPreviewRenewalFetcher as V, bodyCopyFragment as Va, FocusScope as Vc, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Vi, formatAspectRatioToken as Vl, deriveEditorValuePublicationState as Vn, readStoredMode as Vo, resolveEntryRouteTarget as Vr, unwrapResponse as Vs, collectVisibleWhenWatchPaths as Vt, knownRevision as Vu, usePreviewToken as W, compileManifestContentContract as Wa, useCallbackRef$1 as Wc, isOfferingsPreviewSourceKey as Wi, getDirectImageUrlForMediaAsset as Wl, initialBlockDraftValues as Wn, designRuntimeRulesForTheme as Wo, fieldsNotShownIn as Wr, Root as Ws, getWidgetKey as Wt, valueStatus as Wu, resolveFooterEngagementPreview as X, richTextVariantCapabilities as Xa, composeEventHandlers as Xc, buildThemeDataAttrs as Xi, indexRenderableMediaAssets as Xl, normalizeFieldForCanonicalValidation as Xn, surfaceResolutionContextFromTheme as Xo, publishReadinessWarning as Xr, DialogClose as Xs, deleteBlock as Xt, unsafeAsEditorBlockId as Xu, resolveFooterEngagementAuthoringState as Y, isRichTextDoc as Ya, createContextScope as Yc, resolveOfferingsPreviewGroupOrderEntries as Yi, renderableMediaAssetSchema as Yl, getRepeaterItemDefault as Yn, compiledRuntimeStyleFieldNames as Yo, PUBLISH_READINESS_COPY as Yr, Dialog as Ys, createSlotBlock as Yt, editorBlockCollectionOwnersEqual as Yu, FooterComposerProvider as Z, sanitizeHref as Za, Primitive as Zc, readThemeScopeContext as Zi, resolveManagedMediaReference as Zl, getGroupChildFields as Zn, gradientToCss as Zo, readinessFactsFromPayload as Zr, DialogContent as Zs, deleteSlotBlock as Zt, unsafeAsEditorBlockValues as Zu, PreviewFooterProvider as _, planSiteChromePlacement as _a, PortalContainerProvider as _c, eventCalendarPagingFields as _i, resolveRepeaterGridRowFieldId as _l, resolveContentTitle as _n, replaceInlineTextRange as _o, createCustomBlockRegistry as _r, buildRepeaterGridDropTargets as _s, savedContentReceipt as _t, parseFooterModuleId as _u, PreviewPageDesignEditorStateProvider as a, toFeatureCardIconSuggestionInputs as aa, DialogClose$1 as ac, assertNever$9 as ad, systemCustomizeFacetDefinitionsForBlock as ai, composeRefs as al, getDashboardBaseUrl as an, coerceInlineTextWithFallback as ao, parseBackgroundColorToken as ar, defaultSectionTransitionVariantForFamily as as, readFooterEngagementDraft as at, asLayoutVariantKey as au, buildPageDesignEditorReadModelForBlocks as b, pageTemplateFromEntry as ba, __assign as bc, chooseAllEvents as bi, buttonStyleHoverPreferenceValue as bl, useEditorUiStoreInstance as bn, buildThemeRuntime as bo, makeDefaultBlockComponent as br, findFirstAvailableRepeaterGridPlacement as bs, VIEWING_PARTICIPATION as bt, unsafeAsFooterModuleId as bu, usePreviewShownTheme as c, SITE_STICKY_CHROME_HEIGHT_CSS_VAR as ca, DialogOverlay$1 as cc, unsafeAsPositiveByteCount as cd, resolveArrangementKnobs as ci, useShallow as cl, SURFACE_DOCUMENT_DATA_ATTRIBUTE as cn, inlineTextEqual as co, planBackgroundTransition as cr, sectionTransitionVariantForBoundaryOptionId as cs, EntryControllerProvider as ct, generateUuidV4 as cu, cycleSiteChromeSelectionId as d, measureSiteTopChromeBottomPx as da, DialogTrigger$1 as dc, expectParsedBrandedId as dd, normalizeBlockContent as di, canWriteLinkedEntry as dl, PREVIEW_CHROME_Z_INDEX as dn, isInlineTextEmpty as do, createPageRenderPlanReader as dr, isThemeV2NormalEditorRawStylePath as ds, DONE as dt, assessMailingListTargeting as du, createFeatureCardIconKey as ea, DialogHeader as ec, parseBookingLocalDate as ed, fieldPathsOwnedBy as ei, buttonVariants as el, listPageSurfaceContentSlots as en, parseBlockIconValue as eo, backgroundColorTokens as er, buildFontPreviewUrl as es, useFooterPanelOwnsNotice as et, asRecord as eu, PreviewThemeJournalProvider as f, planSiteOverlayHeaderClearance as fa, Content as fc, normalizeLocationMapSource as fi, readLinkedEntryLease as fl, createRoutingHelpers as fn, normalizeInlineText as fo, planArrangementContent as fr, appearancePresets as fs, runHeldLifecycle as ft, resolveMailingListDefaultDestination as fu, previewThemeBase as g, resolveDateRuntimeContext as ga, menuTriggerInteractionClassName as gc, publicRouteCandidatesSchema as gi, resolveRepeaterGridColumnFieldId as gl, resolvePageRouteSlug as gn, removeInlineTextMarkFromRange as go, retargetJoinsAcrossOmissions as gr, planLayoutGridColumnEdit as gs, createEditorApiClientFactory as gt, parseFooterCompositionV1 as gu, composePreviewTheme as h, readRuntimeNow as ha, menuItemInteractionClassName as hc, offeringsPreviewBlockDefinition as hi, isAcceptedRepeaterGridSpan as hl, deriveRouteMetadataPresentation as hn, plainTextToInlineText as ho, renderedJoinLayout as hr, isInternalResolvedLinkValue as hs, useSessionJournalHistory as ht, normalizeLegacyFooterContentToV1 as hu, usePreviewSidebarNavigation as i, suggestSemanticIconForFeatureCard as ia, Dialog$1 as ic, toUtcIsoDateTimeString as id, systemCustomizeFacetDefinitionForBlock as ii, createSlottable as il, blocksKeys as in, applyInlineTextMarkToRange as io, imagePoolForOverride as ir, findCuratedPalette as is, footerPartKey as it, asDesignBlockId as iu, usePreviewRenderBackgrounds as j, formCopyFragment as ja, createRovingFocusGroupScope as jc, resolveMediaStorageUrl as ji, rgbColorValue as jl, canDiscardDraft as jn, applyCompiledRuntimeFieldsToContent as jo, renderInlineText as jr, isRecord$23 as js, publishContentEntry as jt, knownSocialPlatforms as ju, PreviewRenderPlanProjection as k, singleButtonFragment as ka, Item$1 as kc, resolveImageSourceSetWithContext as ki, surfaceForegroundStyle as kl, selectEditorWriteState as kn, decideSectionPhoto as ko, buildAppointmentServicesView as kr, augmentManifestWithStyleGroups as ks, footerMenuNavigationFacts as kt, parseNewsletterListId as ku, SiteChromeCustomizeProvider as l, SITE_STICKY_CHROME_HEIGHT_FALLBACK as la, DialogPortal$1 as lc, unsafeAsPositiveSeconds as ld, getBlockDefinition as li, baselineRevisionOf as ll, resolveSurfaceDocumentAttributes as ln, inlineTextHighlightTones as lo, rankBackgroundImagePoolItems as lr, resolveCompiledSectionContextFromContent as ls, useEntryController as lt, slugify as lu, usePreviewThemeSourceOptional as m, EDITABLE_SURFACE_FORWARDING_PROP as ma, Trigger as mc, buildNewsletterFormInteractiveIslandProps as mi, bindingSchema as ml, routeLifecycleContext as mn, parseInlineTextFromUnknown as mo, joinSlotKey as mr, assertNever$5 as ms, useSessionJournal as mt, deriveFooterEditorOverview as mu, usePreviewAssistantSlot as n, parseFeatureCardGeneratedIconSizePx as na, DialogTrigger as nc, resolveBookingTimeZoneId as nd, isSystemCustomizeFacetId as ni, cva as nl, reorderSlotBlocks as nn, parseGeneratedIconSetId as no, defaultBackgroundOverrideForMode as nr, generateFontFaceCss as ns, footerHeaderStatus as nt, isBodyFontFamily as nu, usePreviewPageDesignEditorState as o, SITE_CHROME_VISIBLE_HEADER_SELECTOR as oa, DialogContent$1 as oc, parseMediaAssetId as od, systemCustomizeFacetStoredValue as oi, useComposedRefs as ol, getDashboardUrl as on, deriveInlineTextFieldChanges as oo, parseBackgroundOverrideFromContent as or, sectionTransitionFamilies as os, footerEngagementEventFields as ot, asSiteStyleId as ou, usePreviewThemeSource as p, siteTopChromeMeasurementTargets as pa, Root$1 as pc, resolveLocationMapLocation as pi, canEditorWrite as pl, createSnapshotFromPageRecord as pn, normalizeInlineTextMarks as po, composePageJoins as pr, lookModes as ps, useServerRefresh as pt, mailingListProviderName as pu, buildFooterRuntimeViewModel as q, deriveFieldValidationPlan as qa, useControllableState as qc, planOfferingPreviewCardSelection as qi, runtimeMediaSchema as ql, manifestFieldSectionOptions as qn, offeredSiteStyles as qo, mapOutlineBlocks as qr, CalloutDescription as qs, partitionFieldsByIntent as qt, createEditorReorderBlocksCommand as qu, PreviewSidebarBootstrap as r, resolveFeatureCardGeneratedIconSizePx as ra, overlayScrimClass as rc, parseUtcIsoDateTimeString as rd, systemCustomizeFacetAppliesToLayoutVariant as ri, createSlot as rl, withSlotCompositionHash as rn, parseSiteIconStyleGuideVersionId as ro, enabledBackgroundModes as rr, getSiteFontsStorageUrl as rs, footerEngagementStarted as rt, asAppearancePresetId as ru, usePreviewPageDesignRenderState as s, SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR as sa, DialogDescription$1 as sc, unsafeAsMediaAssetId as sd, arrangementKnobChoices as si, cn as sl, DEFAULT_SURFACE_ID as sn, inlineTextAccentTones as so, parseCanonicalSectionBackground as sr, sectionTransitionFamilyForBoundaryOptionId as ss, parseFooterEngagementDraft as st, authoredValuesEqual as su, PreviewAssistantSlotProvider as t, getFeatureCardIconCompletion as ta, DialogTitle as tc, resolveBookingBusinessTimeZone as td, resolveFieldOwnership as ti, useControlReadiness as tl, reorderBlocks as tn, parseGeneratedIconAssetId as to, canCycleBackgroundOverrideValue as tr, buildGoogleFontFamilyQuery as ts, SessionJournalHost as tt, getFontWidthRange as tu, useSiteChromeCustomizeOptional as u, measureSiteStickyChromeHeightPx as ua, DialogTitle$1 as uc, parseSiteId as ud, listBlockDescriptors as ui, isEdited as ul, ApiRequestError as un, inlineTextToPlainText as uo, resolveBackgroundCapability as ur, isThemeV2NormalEditorRawStyleFieldName as us, useEntryEditorController as ut, buildMailingListSignupBlockSourceRef as uu, useLiveFooterRuntime as v, buildFormInteractiveIslandProps as va, usePortalContainer as vc, EVENT_SELECTION_SCOPE_OPTIONS as vi, resolveRepeaterGridSpanFieldId as vl, planLeaseNotice as vn, truncateInlineText as vo, mergeBlockDescriptorsWithRegistry as vr, planRepeaterGridSpanChange as vs, savedPageSurfaceMetadataReceipt as vt, resolveFooterSections as vu, setPageDesignBlockBackground as w, headingFragment as wa, __read as wc, writeEventSelectionChips as wi, updateButtonStyleHoverPreference as wl, shouldRevealAllBlockFieldValidation as wn, getResponsiveScopeSpec as wo, blockLookFromContent as wr, planRepeaterGridStartNewRow as ws, LeaseDiscardedNoticeView as wt, mailingListTargetingChoiceIds as wu, cyclePageDesignBlockLook as x, publicEventsArraySchema as xa, __awaiter as xc, chooseScheduleScope as xi, buttonStyleSelectionParameterValue as xl, useOptionalEditorUiStoreInstance as xn, escapeStyleContent as xo, resolveBlockVariantKey as xr, flowRepeaterGridItems as xs, EditLeaseDiscardedNotice as xt, planFooterLayout as xu, applyBindingsToContent as y, hiddenFromVisitors as ya, ReactRemoveScroll as yc, EVENT_SELECTION_TYPE_OPTIONS as yi, siteOptionSources as yl, useEditorUiStore as yn, parseFieldDefinition as yo, mergeManifestWithSdkOptions as yr, projectRepeaterGridLayout as ys, useRetentionTicks as yt, setFooterSectionSelected as yu, createGuardedPreviewApiClient as z, heroCopyFragment as za, useSize as zc, eventCalendarListGroupingDecision as zi, isRotationDimensionSwap as zl, toEditorBlockItem as zn, concretePaletteToTheme as zo, getLinkedContentEntryMeta as zr, ApiEnvelopeError as zs, BlockApiProvider as zt, parseEditLeaseScope as zu };
170560
+ export { useFooterComposerState as $, getGeneratedBlockIconStyleState as $a, buttonVariants as $c, FEATURE_CARD_GENERATED_ICON_SIZE_PX as $i, asRecord as $l, readSliderFieldUiConfig as $n, buildFontPreviewUrl as $o, selectBlockContent as $r, DialogHeader as $s, listEntryPageContentSlots as $t, parseBookingLocalDate as $u, usePreviewJoinOutcome as A, formEmbedFragment as Aa, createRovingFocusGroupScope as Ac, isSystemCustomizeFacetId as Ai, rgbColorValue as Al, lifecycleOutcomeMessage as An, applyCompiledRuntimeFieldsToContent as Ao, LocationMapView as Ar, isRecord$23 as As, toRoutableLinkPayload as At, knownSocialPlatforms as Au, initPreviewAuth as B, ctaButton as Ba, FocusScope as Bc, normalizeEventRegistrationPageSurfaceSubject as Bi, formatAspectRatioToken as Bl, withoutServerVersions as Bn, readStoredMode as Bo, defaultTransforms as Br, unwrapResponse as Bs, derivePromotedFieldPlan as Bt, knownRevision as Bu, pageDesignLookTiles as C, richTextFragment as Ca, __read as Cc, resolveImageUrlWithContext as Ci, updateButtonStyleHoverPreference as Cl, recoveryConflictCopy as Cn, DEFAULT_THEME_RESPONSIVE_MODE as Co, arrangementHooksFromContent as Cr, planRepeaterGridStartNewRow as Cs, EditorWriteSurface as Ct, mailingListTargetingChoiceIds as Cu, ObservedJoin as D, faqHeadingFragment as Da, hideOthers as Dc, resolveMediaSlotContract as Di, surfaceForegroundInputFromResolved as Dl, parseStoredSidebarWidth as Dn, backgroundImagePromotedFieldPath as Do, buildLoadedOfferingsPreviewListing as Dr, resolveBlockTitle as Ds, sendPageCommand as Dt, parseMailchimpInterestId as Du, selectedImageFromRenderableAsset as E, faqAccordionFragment as Ea, __spreadArrays as Ec, resolveMediaSlot as Ei, parseThemeForPersistence as El, SIDEBAR_WIDTH as En, heroPhotoPaintsGround as Eo, getDefaultComponentRegistry as Er, resolveRepeaterGridColumnsForBreakpoint as Es, getEditorClientId as Et, parseMailchimpAudienceId as Eu, lookTilePosition as F, heroCtaRowFragment as Fa, Content$1 as Fc, buildResolveImageUrlContext as Fi, paletteValueKey as Fl, renderSourceFor as Fn, getHeaderLayout as Fo, siblingPath as Fr, OPERATION_ID_HEADER as Fs, NewsletterFormClient as Ft, readEditorBlockVersionsFromPlacement as Fu, renderSiteChromeBlock as G, validateManifestDraft as Ga, createCollection as Gc, normalizeOfferingsPreviewGroupOrder as Gi, mediaSchema as Gl, createManifestFormAdapter as Gn, headerStyleRecipeForTheme as Go, createEditorPresentationPageReader as Gr, Callout as Gs, hasVisibilityConditions as Gt, createEditorRemoveBlockCommand as Gu, renewPreviewSession as H, defineFragment as Ha, DismissableLayer as Hc, groupOfferingRunsByCourse as Hi, resolveMediaTransformForAspect as Hl, unsafeAsLinkedContentEntryId as Hn, componentRuntimeRulesForTheme as Ho, resolvePageRouteTarget as Hr, sidebarReturnView as Hs, evaluateVisibility as Ht, syncStateOf as Hu, lookTilesFor as I, ctaRowFragment as Ia, Root2$1 as Ic, getCurrentResolveImageUrlContext as Ii, defaultThemeTokens as Il, renderedFieldChanges as In, getHeaderStyle as Io, withValueAtPath as Ir, API_ENDPOINTS as Is, ImageResolveContextProvider as It, readPublishedBlockPlacement as Iu, footerLayoutSelection as J, RichTextDocSchema as Ja, createContextScope as Jc, readOfferingsGrouping as Ji, renderableMediaAssetSchema as Jl, getFieldDefault as Jn, compiledRuntimeStyleFieldNames as Jo, mapOutlineRegions as Jr, Dialog as Js, createBlock as Jt, editorBlockCollectionOwnersEqual as Ju, siteChromeHeaderLogoMayBeHardToSee as K, admitLayoutGridForPlan as Ka, useControllableState as Kc, offeringsListingFor as Ki, runtimeMediaSchema as Kl, createManifestValidation as Kn, offeredSiteStyles as Ko, allOutlineBlocks as Kr, CalloutDescription as Ks, isNonEmptyValue as Kt, createEditorReorderBlocksCommand as Ku, nextLookTilePin as L, BLOCK_BUTTON_ROLE_OPTIONS as La, createPopperScope as Lc, setContextResolveImageUrlContext as Li, expandPalette as Ll, resolveRenderedValues as Ln, concretePaletteFromTheme as Lo, LINKED_CONTENT_ENTRY_META_KEY as Lr, calendarWindowQuerySchema as Ls, useImageResolveContextOptional as Lt, selectedContentVersionId as Lu, usePreviewRenderReadiness as M, testimonialsCarouselFragment as Ma, Portal as Mc, systemCustomizeFacetDefinitionForBlock as Mi, mapDrawingStyle as Ml, activeLinkedSaveHandover as Mn, resolveEditorArrangementLook as Mo, logger as Mr, editorAdmissionNotice as Ms, updateFooterComposition as Mt, publicProfileWeekdays as Mu, STYLE_DEFAULT_LOOK_KEY as N, testimonialsHeadingFragment as Na, Anchor as Nc, systemCustomizeFacetDefinitionsForBlock as Ni, parseSurfaceTree as Nl, planLinkedSaveHandoverRetention as Nn, restoreCompiledRuntimeFieldsFromContent as No, Text as Nr, editorAdmissionSession as Ns, footerCreditLine as Nt, publishedContactDetails as Nu, PreviewRenderObservationsProvider as O, blogFeaturedPostFragment as Oa, Item$1 as Oc, arrangementKnobChoices as Oi, surfaceForegroundStyle as Ol, selectAutosaveStatus as On, decideSectionPhoto as Oo, resolveEventDetailsPresentation as Or, augmentManifestWithStyleGroups as Os, missingReceiptError as Ot, parseNewsletterListId as Ou, lookPositionLabel as P, ctaCopyFragment as Pa, Arrow as Pc, systemCustomizeFacetStoredValue as Pi, resolveSurfaceForeground as Pl, remoteDraftValues as Pn, formatSiteChromeBackgroundTokenLabel as Po, getAtPath as Pr, observeEditorAdmission as Ps, clientComponentRegistry as Pt, NO_BLOCK_VERSIONS as Pu, useFooterAuthoringOptional as Q, getBlockIconSemanticId as Qa, Button as Qc, themeRuntimeScopeProps as Qi, mediaIdentifierSchema as Ql, readNumberFieldUiConfig as Qn, getGradientPreset as Qo, readinessFactsFromLoaders as Qr, DialogFooter as Qs, isSurfaceSlotBlockTarget as Qt, formatDateTime as Qu, selectedLookTile as R, isBlockButtonRole as Ra, useSize as Rc, projectRecurringSchedule as Ri, isRotationDimensionSwap as Rl, useStore as Rn, concretePaletteToTheme as Ro, coerceLinkedContentEntriesPayload as Rr, ApiEnvelopeError as Rs, FormNodeClient as Rt, parseEditLeaseScope as Ru, pageDesignLookPosition as S, bookingConsentCarrierSchema as Sa, __generator as Sc, resolveImageSourceSetWithContext as Si, resolveButtonStyleSelection as Sl, useSidebarView as Sn, mergeContentWithBlockStyleOverrides as So, resolveDefaultBlockTree as Sr, normalizeRepeaterGridSpan as Ss, EditLeaseModal as St, DEFAULT_MAILING_LIST_TARGETING as Su, selectedImageFromMediaValue as T, cardFragment as Ta, __spreadArray as Tc, SECTION_BACKGROUND_MIN_SOURCE_WIDTH as Ti, buttonStyleSelectionKey as Tl, unfinishedBlockCopy as Tn, resolveVisiblePromotedFieldPathsForEditorBlock as To, readBlockComposition as Tr, resolveRepeaterGridBreakpointForWidth as Ts, LeaseNoticeButtons as Tt, parseBrevoListId as Tu, usePreviewAuth as U, runTransforms as Ua, useCallbackRef$1 as Uc, inferLegacyOfferingsPreviewGroupOrder as Ui, getDirectImageUrlForMediaAsset as Ul, editorAuthoredBlockDocument as Un, designRuntimeRulesForTheme as Uo, resolveRouteTarget as Ur, Root as Us, getFieldIntent as Ut, valueStatus as Uu, registerPreviewRenewalFetcher as V, bodyCopyFragment as Va, useFocusGuards as Vc, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Vi, parseAspectRatioValue as Vl, deriveEditorValuePublicationState as Vn, defaultPolicyPageFlowPresetId as Vo, resolveEntryRouteTarget as Vr, selectedCanvasBlockId as Vs, collectVisibleWhenWatchPaths as Vt, pristineValueSync as Vu, usePreviewToken as W, compileManifestContentContract as Wa, useDirection as Wc, isOfferingsPreviewSourceKey as Wi, getImageUrl as Wl, initialBlockDraftValues as Wn, getCuratedSiteStyle as Wo, fieldsNotShownIn as Wr, VISUALLY_HIDDEN_STYLES as Ws, getWidgetKey as Wt, createEditorInsertBlockCommand as Wu, resolveFooterEngagementPreview as X, richTextVariantCapabilities as Xa, Primitive as Xc, buildThemeDataAttrs as Xi, resolveManagedMediaReference as Xl, normalizeFieldForCanonicalValidation as Xn, gradientToCss as Xo, publishReadinessWarning as Xr, DialogContent as Xs, deleteBlock as Xt, unsafeAsEditorBlockValues as Xu, resolveFooterEngagementAuthoringState as Y, isRichTextDoc as Ya, composeEventHandlers as Yc, resolveOfferingsPreviewGroupOrderEntries as Yi, indexRenderableMediaAssets as Yl, getRepeaterItemDefault as Yn, surfaceResolutionContextFromTheme as Yo, PUBLISH_READINESS_COPY as Yr, DialogClose as Ys, createSlotBlock as Yt, unsafeAsEditorBlockId as Yu, FooterComposerProvider as Z, sanitizeHref as Za, dispatchDiscreteCustomEvent as Zc, readThemeScopeContext as Zi, PUBLIC_FILE_FIELD_KINDS as Zl, getGroupChildFields as Zn, GRADIENT_PRESETS as Zo, readinessFactsFromPayload as Zr, DialogDescription as Zs, deleteSlotBlock as Zt, formatDate$4 as Zu, PreviewFooterProvider as _, planSiteChromePlacement as _a, usePortalContainer as _c, writeEventSelectionChips as _i, resolveRepeaterGridSpanFieldId as _l, resolveContentTitle as _n, replaceInlineTextRange as _o, createCustomBlockRegistry as _r, planRepeaterGridSpanChange as _s, savedContentReceipt as _t, resolveFooterSections as _u, PreviewPageDesignEditorStateProvider as a, toFeatureCardIconSuggestionInputs as aa, DialogContent$1 as ac, parseMediaAssetId as ad, normalizeLocationMapSource as ai, useComposedRefs as al, getDashboardBaseUrl as an, coerceInlineTextWithFallback as ao, parseBackgroundColorToken as ar, sectionTransitionFamilies as as, readFooterEngagementDraft as at, asSiteStyleId as au, buildPageDesignEditorReadModelForBlocks as b, pageTemplateFromEntry as ba, __awaiter as bc, getRichTextImageSize as bi, buttonStyleSelectionParameterValue as bl, useEditorUiStoreInstance as bn, buildThemeRuntime as bo, makeDefaultBlockComponent as br, flowRepeaterGridItems as bs, VIEWING_PARTICIPATION as bt, planFooterLayout as bu, usePreviewShownTheme as c, SITE_STICKY_CHROME_HEIGHT_CSS_VAR as ca, DialogPortal$1 as cc, unsafeAsPositiveSeconds as cd, offeringsPreviewBlockDefinition as ci, baselineRevisionOf as cl, SURFACE_DOCUMENT_DATA_ATTRIBUTE as cn, inlineTextEqual as co, planBackgroundTransition as cr, resolveCompiledSectionContextFromContent as cs, EntryControllerProvider as ct, slugify as cu, cycleSiteChromeSelectionId as d, measureSiteTopChromeBottomPx as da, Content as dc, EVENT_SELECTION_SCOPE_OPTIONS as di, readLinkedEntryLease as dl, PREVIEW_CHROME_Z_INDEX as dn, isInlineTextEmpty as do, createPageRenderPlanReader as dr, appearancePresets as ds, DONE as dt, resolveMailingListDefaultDestination as du, createFeatureCardIconKey as ea, DialogTitle as ec, resolveBookingBusinessTimeZone as ed, fieldPathsOwnedBy as ei, useControlReadiness as el, listPageSurfaceContentSlots as en, parseBlockIconValue as eo, backgroundColorTokens as er, buildGoogleFontFamilyQuery as es, useFooterPanelOwnsNotice as et, getFontWidthRange as eu, PreviewThemeJournalProvider as f, planSiteOverlayHeaderClearance as fa, Root$1 as fc, EVENT_SELECTION_TYPE_OPTIONS as fi, canEditorWrite as fl, createRoutingHelpers as fn, normalizeInlineText as fo, planArrangementContent as fr, lookModes as fs, runHeldLifecycle as ft, mailingListProviderName as fu, previewThemeBase as g, resolveDateRuntimeContext as ga, PortalContainerProvider as gc, toggleEventType as gi, resolveRepeaterGridRowFieldId as gl, resolvePageRouteSlug as gn, removeInlineTextMarkFromRange as go, retargetJoinsAcrossOmissions as gr, buildRepeaterGridDropTargets as gs, createEditorApiClientFactory as gt, parseFooterModuleId as gu, composePreviewTheme as h, readRuntimeNow as ha, menuTriggerInteractionClassName as hc, readEventSelectionChips as hi, resolveRepeaterGridColumnFieldId as hl, deriveRouteMetadataPresentation as hn, plainTextToInlineText as ho, renderedJoinLayout as hr, planLayoutGridColumnEdit as hs, useSessionJournalHistory as ht, parseFooterCompositionV1 as hu, usePreviewSidebarNavigation as i, suggestSemanticIconForFeatureCard as ia, DialogClose$1 as ic, assertNever$9 as id, normalizeBlockContent as ii, composeRefs as il, blocksKeys as in, applyInlineTextMarkToRange as io, imagePoolForOverride as ir, defaultSectionTransitionVariantForFamily as is, footerPartKey as it, asLayoutVariantKey as iu, usePreviewRenderBackgrounds as j, formCopyFragment as ja, Presence as jc, systemCustomizeFacetAppliesToLayoutVariant as ji, textColorStyle as jl, canDiscardDraft as jn, compileEditorModelRuntime as jo, renderInlineText as jr, editorAdmissionIsOpen as js, publishContentEntry as jt, parsePublicProfile as ju, PreviewRenderPlanProjection as k, singleButtonFragment as ka, Root$2 as kc, resolveArrangementKnobs as ki, surfaceForegroundValue as kl, selectEditorWriteState as kn, sectionPhotoPresence as ko, buildAppointmentServicesView as kr, isObjectRecord$1 as ks, footerMenuNavigationFacts as kt, knownSocialPlatformLabels as ku, SiteChromeCustomizeProvider as l, SITE_STICKY_CHROME_HEIGHT_FALLBACK as la, DialogTitle$1 as lc, parseSiteId as ld, publicRouteCandidatesSchema as li, isEdited as ll, resolveSurfaceDocumentAttributes as ln, inlineTextHighlightTones as lo, rankBackgroundImagePoolItems as lr, isThemeV2NormalEditorRawStyleFieldName as ls, useEntryController as lt, buildMailingListSignupBlockSourceRef as lu, usePreviewThemeSourceOptional as m, EDITABLE_SURFACE_FORWARDING_PROP as ma, menuItemInteractionClassName as mc, chooseScheduleScope as mi, isAcceptedRepeaterGridSpan as ml, routeLifecycleContext as mn, parseInlineTextFromUnknown as mo, joinSlotKey as mr, isInternalResolvedLinkValue as ms, useSessionJournal as mt, normalizeLegacyFooterContentToV1 as mu, usePreviewAssistantSlot as n, parseFeatureCardGeneratedIconSizePx as na, overlayScrimClass as nc, parseUtcIsoDateTimeString as nd, getBlockDefinition as ni, createSlot as nl, reorderSlotBlocks as nn, parseGeneratedIconSetId as no, defaultBackgroundOverrideForMode as nr, getSiteFontsStorageUrl as ns, footerHeaderStatus as nt, asAppearancePresetId as nu, usePreviewPageDesignEditorState as o, SITE_CHROME_VISIBLE_HEADER_SELECTOR as oa, DialogDescription$1 as oc, unsafeAsMediaAssetId as od, resolveLocationMapLocation as oi, cn as ol, getDashboardUrl as on, deriveInlineTextFieldChanges as oo, parseBackgroundOverrideFromContent as or, sectionTransitionFamilyForBoundaryOptionId as os, footerEngagementEventFields as ot, authoredValuesEqual as ou, usePreviewThemeSource as p, siteTopChromeMeasurementTargets as pa, Trigger as pc, chooseAllEvents as pi, bindingSchema as pl, createSnapshotFromPageRecord as pn, normalizeInlineTextMarks as po, composePageJoins as pr, assertNever$5 as ps, useServerRefresh as pt, deriveFooterEditorOverview as pu, buildFooterRuntimeViewModel as q, deriveFieldValidationPlan as qa, useLayoutEffect2 as qc, planOfferingPreviewCardSelection as qi, buildRenderableMediaAssetIndex as ql, manifestFieldSectionOptions as qn, palettesForSiteStyle as qo, mapOutlineBlocks as qr, CalloutTitle as qs, partitionFieldsByIntent as qt, editorBlockCollectionOwnerKey as qu, PreviewSidebarBootstrap as r, resolveFeatureCardGeneratedIconSizePx as ra, Dialog$1 as rc, toUtcIsoDateTimeString as rd, listBlockDescriptors as ri, createSlottable as rl, withSlotCompositionHash as rn, parseSiteIconStyleGuideVersionId as ro, enabledBackgroundModes as rr, findCuratedPalette as rs, footerEngagementStarted as rt, asDesignBlockId as ru, usePreviewPageDesignRenderState as s, SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR as sa, DialogOverlay$1 as sc, unsafeAsPositiveByteCount as sd, buildNewsletterFormInteractiveIslandProps as si, useShallow as sl, DEFAULT_SURFACE_ID as sn, inlineTextAccentTones as so, parseCanonicalSectionBackground as sr, sectionTransitionVariantForBoundaryOptionId as ss, parseFooterEngagementDraft as st, generateUuidV4 as su, PreviewAssistantSlotProvider as t, getFeatureCardIconCompletion as ta, DialogTrigger as tc, resolveBookingTimeZoneId as td, resolveFieldOwnership as ti, cva as tl, reorderBlocks as tn, parseGeneratedIconAssetId as to, canCycleBackgroundOverrideValue as tr, generateFontFaceCss as ts, SessionJournalHost as tt, isBodyFontFamily as tu, useSiteChromeCustomizeOptional as u, measureSiteStickyChromeHeightPx as ua, DialogTrigger$1 as uc, expectParsedBrandedId as ud, eventCalendarPagingFields as ui, canWriteLinkedEntry as ul, ApiRequestError as un, inlineTextToPlainText as uo, resolveBackgroundCapability as ur, isThemeV2NormalEditorRawStylePath as us, useEntryEditorController as ut, assessMailingListTargeting as uu, useLiveFooterRuntime as v, buildFormInteractiveIslandProps as va, ReactRemoveScroll as vc, cardListPresentationSchemaShape as vi, siteOptionSources as vl, planLeaseNotice as vn, truncateInlineText as vo, mergeBlockDescriptorsWithRegistry as vr, projectRepeaterGridLayout as vs, savedPageSurfaceMetadataReceipt as vt, setFooterSectionSelected as vu, setPageDesignBlockBackground as w, headingFragment as wa, __rest as wc, resolveMediaStorageUrl as wi, updateButtonStyleSelectionChoice as wl, shouldRevealAllBlockFieldValidation as wn, getResponsiveScopeSpec as wo, blockLookFromContent as wr, resolveRepeaterGridAcceptedSpans as ws, LeaseDiscardedNoticeView as wt, sameMailingListPlacementTargeting as wu, cyclePageDesignBlockLook as x, publicEventsArraySchema as xa, __extends as xc, computeMediaTransformStyle as xi, findButtonStyleRecipe as xl, useOptionalEditorUiStoreInstance as xn, escapeStyleContent as xo, resolveBlockVariantKey as xr, isRepeaterGridLayoutInvalid as xs, EditLeaseDiscardedNotice as xt, parseMailingListPlacementTargeting as xu, applyBindingsToContent as y, hiddenFromVisitors as ya, __assign as yc, RichText as yi, buttonStyleHoverPreferenceValue as yl, useEditorUiStore as yn, parseFieldDefinition as yo, mergeManifestWithSdkOptions as yr, findFirstAvailableRepeaterGridPlacement as ys, useRetentionTicks as yt, unsafeAsFooterModuleId as yu, createGuardedPreviewApiClient as z, heroCopyFragment as za, useId$1 as zc, eventCalendarListGroupingDecision as zi, normalizeRightAngle as zl, toEditorBlockItem as zn, lookDefinitionForId as zo, getLinkedContentEntryMeta as zr, extractApiEnvelopeErrorDetails as zs, BlockApiProvider as zt, displayedValues as zu };