@riverbankcms/sdk 0.182.0 → 0.183.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/CHANGELOG.md +79 -0
  2. package/README.md +49 -3
  3. package/dist/_dts/{BlocksIslandsHydrator-Bvw2bUif.d.ts → BlocksIslandsHydrator-X1_G96iN.d.ts} +1 -1
  4. package/dist/_dts/{Page-B2EAT-bE.d.ts → Page-CEqZJZEE.d.ts} +7 -7
  5. package/dist/_dts/{SdkPreviewMode-D0vww6rh.d.ts → SdkPreviewMode-DQejfbXL.d.ts} +2 -2
  6. package/dist/_dts/{client-D6T430bk.d.ts → client-B_B_amKD.d.ts} +2 -1
  7. package/dist/_dts/{content-types-wZVWccC6.d.ts → content-types-Dhx5Ocvx.d.ts} +9 -16
  8. package/dist/_dts/{contracts-B-vtOcr8.d.ts → contracts-FeOnfoa1.d.ts} +3 -3
  9. package/dist/_dts/{generatePageMetadata-CxfwHE6z.d.ts → generatePageMetadata-m70J6tit.d.ts} +2 -2
  10. package/dist/_dts/{index-CEyYMhLJ.d.ts → index-BOpUh8kO.d.ts} +1 -1
  11. package/dist/_dts/{index-DIU-wL1M.d.ts → index-Bizdaxji.d.ts} +2 -2
  12. package/dist/_dts/{index-Cqxis-nv.d.ts → index-BxCmCit0.d.ts} +1 -1
  13. package/dist/_dts/{index-CQrb3Ccc.d.ts → index-CjAkEWAp.d.ts} +4 -4
  14. package/dist/_dts/{index-DqPKdeTk.d.ts → index-iuFrbIjt.d.ts} +1 -1
  15. package/dist/_dts/{index-CciRW_w1.d.ts → index-liuhlOX7.d.ts} +2 -2
  16. package/dist/_dts/{loadContent-D0wrxiSp.d.ts → loadContent-D4wrTIIw.d.ts} +7 -7
  17. package/dist/_dts/{request-DEwxUSw8.d.ts → request-Gn0O1blj.d.ts} +24912 -23733
  18. package/dist/_dts/{resolveBlockData-VaG_MYbN.d.ts → resolveBlockData-D5duwuqS.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-DTwklC_v.d.ts → resolvePageContent-xzJ3c9Na.d.ts} +1 -1
  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 +7 -7
  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/gifting/client.d.ts +1 -1
  30. package/dist/_dts/sdk/src/index.d.ts +8 -8
  31. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  33. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  35. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  36. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  37. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  38. package/dist/_dts/sdk/src/portal/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  40. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  42. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  44. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  46. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  47. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  48. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  49. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  50. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  51. package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
  52. package/dist/_dts/sdk/src/server.d.ts +5 -5
  53. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  54. package/dist/_dts/sdk/src/theme/index.d.ts +91 -2
  55. package/dist/_dts/{serviceBookingOutline-DtQuFlID.d.ts → serviceBookingOutline-B1gyJon_.d.ts} +7 -7
  56. package/dist/_dts/{types-B3RjeBLV.d.ts → types-BoITy0rA.d.ts} +41 -4
  57. package/dist/_dts/{types-BvUSGQrw.d.ts → types-DBNuMtSk.d.ts} +16 -5
  58. package/dist/_dts/{types-CkRFtBqd.d.ts → types-DHMcuoeQ.d.ts} +7 -7
  59. package/dist/_dts/{validation-BZA3DhcV.d.ts → validation-BIPO-XlE.d.ts} +4 -4
  60. package/dist/client/{BlocksIslandsHydrator-CQMf0HdN.mjs → BlocksIslandsHydrator-Ct8slgRk.mjs} +22 -18
  61. package/dist/client/{BookingMailingListNote-7kdvuPow.mjs → BookingMailingListNote-qqTxGGS4.mjs} +7 -7
  62. package/dist/client/{BookingQuestionFields-BJI7mZuV.mjs → BookingQuestionFields-DCh9MUIF.mjs} +2 -2
  63. package/dist/client/{CalendarAction-D_Glwvz2.mjs → CalendarAction-RcdaStG7.mjs} +1 -1
  64. package/dist/client/{CalendarNavigationChevron-DPUD6wjy.mjs → CalendarNavigationChevron-D7Wt-Oaa.mjs} +25 -8
  65. package/dist/client/{CheckboxChoice-C8i4NraK.mjs → CheckboxChoice-BdGxZWeg.mjs} +1 -1
  66. package/dist/client/{DemoBookingPortalAccess-8kwNF9HN.mjs → DemoBookingPortalAccess-HFVkoOac.mjs} +5 -5
  67. package/dist/client/{EventCalendar.client-Dhb14bcC.mjs → EventCalendar.client-BtkJW8bA.mjs} +10 -10
  68. package/dist/client/{EventCombined.client-C1jEZBN9.mjs → EventCombined.client-DxaGjFFS.mjs} +9 -9
  69. package/dist/client/{EventEmbeddedCheckoutStep-BGkbUhuw.mjs → EventEmbeddedCheckoutStep-B2c5dR49.mjs} +1 -1
  70. package/dist/client/{EventItem-Bb0ppG2N.mjs → EventItem-Fr2qi2C2.mjs} +29 -14
  71. package/dist/client/{EventListWeekNavigation-DMryCaNV.mjs → EventListWeekNavigation-BRMaq0ky.mjs} +1 -1
  72. package/dist/client/{EventListing.client-BuH5kKA3.mjs → EventListing.client-BhGxfbjt.mjs} +3 -3
  73. package/dist/client/{EventListing.view-DsqvuulZ.mjs → EventListing.view-COuEJzbO.mjs} +6 -6
  74. package/dist/client/{EventRegistrationPayment-D4FvQSFF.mjs → EventRegistrationPayment-BTLYhVxD.mjs} +21 -42
  75. package/dist/client/{Page-sV6BJkXX.mjs → Page-CgbQZP5g.mjs} +2786 -927
  76. package/dist/client/{ProtectedSubmitButton-BNnKuir8.mjs → ProtectedSubmitButton-BG7my0Qf.mjs} +1 -1
  77. package/dist/client/{SiteTermsAgreementField-VfSd6JU-.mjs → SiteTermsAgreementField-DQNkfNLA.mjs} +3 -3
  78. package/dist/client/{StepIndicator-B6o5B7g3.mjs → StepIndicator-DvPekKeM.mjs} +1 -1
  79. package/dist/client/{StepIndicator-BTqO7cJl.mjs → StepIndicator-DyXoI3ob.mjs} +7 -7
  80. package/dist/client/{ThemedButton-PFOhXktM.mjs → ThemedButton-Bc9DBbVp.mjs} +42 -9
  81. package/dist/client/{accessibleSurfaces-BogaGutk.mjs → accessibleSurfaces-wj4Rloo5.mjs} +336 -119
  82. package/dist/client/{accordion-6cuswD_s.mjs → accordion-BVXfjnh-.mjs} +1 -1
  83. package/dist/client/{booking-form.client-BOMe_SKi.mjs → booking-form.client-DycPGtke.mjs} +191 -71
  84. package/dist/client/{bookingForm-DSCH-VHo.mjs → bookingForm-DrWSUqL3.mjs} +4 -4
  85. package/dist/client/bookings.mjs +5 -5
  86. package/dist/client/{boxStyleClassNames-BFuqZCfz.mjs → boxStyleClassNames-CduDRcIk.mjs} +2 -2
  87. package/dist/client/buttonParts-CJEtVOUy.mjs +1511 -0
  88. package/dist/client/{carousel-CGyQVV1M.mjs → carousel-DyCLMP8s.mjs} +2 -2
  89. package/dist/client/{carousel.client-BtLwHefX.mjs → carousel.client-DffP_Nv0.mjs} +1 -1
  90. package/dist/client/{cart-BYOe7MCh.mjs → cart-BuEp_cj4.mjs} +3 -3
  91. package/dist/client/{cart.client-BKFkaXdV.mjs → cart.client-CAO39uDG.mjs} +1 -1
  92. package/dist/client/{checkout-Dwd7Di77.mjs → checkout-BoxzT64s.mjs} +3 -3
  93. package/dist/client/{checkout.client-C25hpi-z.mjs → checkout.client-IGUy7XOx.mjs} +1 -1
  94. package/dist/client/{checkoutUrls-tG788sw0.mjs → checkoutUrls-D0UsiFmm.mjs} +1 -1
  95. package/dist/client/client.mjs +446 -93
  96. package/dist/client/{constants-DdxFG3Ic.mjs → constants-C_8AxMdm.mjs} +1 -1
  97. package/dist/client/{context-Hi1RuYEM.mjs → context-D1L0pe__.mjs} +2 -2
  98. package/dist/client/{dateFormatting-C8vBCHuo.mjs → dateFormatting-HvfmS_cH.mjs} +1 -1
  99. package/dist/client/{demoPortalMagicLink-BAL5UIDG.mjs → demoPortalMagicLink-BunFTnIq.mjs} +1 -1
  100. package/dist/client/{enhanceHeaderSection-Dv1Lr9kJ.mjs → enhanceHeaderSection-CtLAG651.mjs} +4 -4
  101. package/dist/client/{event-registration.client-dB_Z7bb-.mjs → event-registration.client-DiSxkBUP.mjs} +15 -15
  102. package/dist/client/{eventCalendar-CQnRA4Ww.mjs → eventCalendar-DUnhwZ1o.mjs} +4 -4
  103. package/dist/client/{eventCombined-BDOG1hVp.mjs → eventCombined-BvBQo0nF.mjs} +4 -4
  104. package/dist/client/{eventListing-DSVmhy9n.mjs → eventListing-aTLifOX7.mjs} +4 -4
  105. package/dist/client/{eventRegistration-CD5mRtEH.mjs → eventRegistration-DFd7pr09.mjs} +4 -4
  106. package/dist/client/{form-DWnlEVSK.mjs → form-Dikmc2AO.mjs} +3 -3
  107. package/dist/client/{form.client-D7zmeqNI.mjs → form.client-zHaQK5I9.mjs} +5 -5
  108. package/dist/client/{form.parts-C-G6N_MK.mjs → form.parts-BLl9n8TH.mjs} +3 -3
  109. package/dist/client/gifting/client.mjs +16 -9
  110. package/dist/client/{gifting-Cn0jidP5.mjs → gifting-CufPM38H.mjs} +4 -4
  111. package/dist/client/{gifting.client-DVo1YFLs.mjs → gifting.client--N1GaSY8.mjs} +155 -84
  112. package/dist/client/gifting.interactive-D9MK4HkV.mjs +157 -0
  113. package/dist/client/gifting.parts-CRtiRzo-.mjs +119 -0
  114. package/dist/client/{headerSection-DjQuj_6v.mjs → headerSection-BIaBpmk3.mjs} +2 -2
  115. package/dist/client/{noop-jesvJXEE.mjs → islands-DJDLGQEm.mjs} +14007 -6685
  116. package/dist/client/{newsletter-form.client-rIYPziZC.mjs → newsletter-form.client-wg_JHTxm.mjs} +6 -6
  117. package/dist/client/{newsletter-form.interactive-DVt3enLr.mjs → newsletter-form.interactive-hzpkW9NQ.mjs} +226 -195
  118. package/dist/client/{newsletter-form.parts-CH6dGfdn.mjs → newsletter-form.parts-CgzpSv9p.mjs} +2 -2
  119. package/dist/client/{newsletterForm-Cg8cBDHd.mjs → newsletterForm-CvxLiEBT.mjs} +3 -3
  120. package/dist/client/portal/client.mjs +31 -27
  121. package/dist/client/{portalOrders-oEoTvzkW.mjs → portalOrders-tCxS04g0.mjs} +3 -2
  122. package/dist/client/{portalRoutes-ByyVZfVq.mjs → portalRoutes-DTHlWg_F.mjs} +22 -7
  123. package/dist/client/{product-detail.client-5aHq-vuu.mjs → product-detail.client-22Q7zgjN.mjs} +1 -1
  124. package/dist/client/{product-list.client-CyAk5rnC.mjs → product-list.client-DFWYvK8z.mjs} +1 -1
  125. package/dist/client/{productDetail-B8aZ2mqY.mjs → productDetail-DhZAwo60.mjs} +3 -3
  126. package/dist/client/{productList-BuLemmod.mjs → productList-BiVpbZK2.mjs} +3 -3
  127. package/dist/client/{propsDecoder-0Unsqn3R.mjs → propsDecoder-DFYqKnLy.mjs} +4 -2
  128. package/dist/client/{registry.server-DzvtVVD0.mjs → registry.server-C3OBRg7x.mjs} +2027 -781
  129. package/dist/client/rendering/client.mjs +29 -26
  130. package/dist/client/rendering/islands.mjs +1 -1
  131. package/dist/client/rendering.mjs +5 -5
  132. package/dist/client/{richText-coerce-Bnng7JFA.mjs → richText-coerce-ms477Z08.mjs} +2 -2
  133. package/dist/client/{routeIslandApiConfig-BGfcc9sk.mjs → routeIslandApiConfig-B6nQeqvH.mjs} +1 -1
  134. package/dist/client/{runtimeResponse-DAPVRToN.mjs → runtimeResponse-BYqsV1Kb.mjs} +1 -1
  135. package/dist/client/runtimeResponse-CUX_lldL.mjs +3 -0
  136. package/dist/client/{shop-commerce-D5bDY1o1.mjs → shop-commerce-DVsIcPaI.mjs} +16 -15
  137. package/dist/client/{shop-commerce-store-B7sHnLwI.mjs → shop-commerce-store-7mO6KY7_.mjs} +1 -1
  138. package/dist/client/{shop-discount-apply.state-Dos2zdC2.mjs → shop-discount-apply.state-L1Vge8tG.mjs} +2 -2
  139. package/dist/client/{shop-GuMqnDL-.mjs → shop-xt4dQ3HH.mjs} +3 -3
  140. package/dist/client/{shop.client-uvj5GDZb.mjs → shop.client-DNJfD3VQ.mjs} +28 -17
  141. package/dist/client/{shopShared-3giNWE3H.mjs → shopShared-DS8t6749.mjs} +2 -2
  142. package/dist/client/spam-protection.mjs +1 -1
  143. package/dist/client/{src-CmXh3JWs.mjs → src-Do_s2lqH.mjs} +11 -18
  144. package/dist/client/{timetableModel-GA-hn1qM.mjs → timetableModel-Dy3nNfTG.mjs} +11 -8
  145. package/dist/client/{useAvailableSlots-CBneCxbG.mjs → useAvailableSlots-DcjtDpUu.mjs} +2 -2
  146. package/dist/client/{useDiscountCodeUi-D0kGF0C7.mjs → useDiscountCodeUi-DvdFFWOT.mjs} +1 -1
  147. package/dist/client/{useEventPagination-xX8n_Tuu.mjs → useEventPagination-Cq-7sU5_.mjs} +8 -8
  148. package/dist/client/{view-DOyZc-DF.mjs → view-4gnPcpWJ.mjs} +24 -9
  149. package/dist/client/{wizardSteps-B952ify5.mjs → wizardSteps-DDvL3iza.mjs} +76 -159
  150. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-aRJjq4x8.mjs → EventEmbeddedCheckoutStep-CLqSRUpt.mjs} +1 -1
  151. package/dist/preview-next/client/{LocationPickerEnvironment-BW3dRFIv.mjs → LocationPickerEnvironment-CIdAg-Tm.mjs} +1 -1
  152. package/dist/preview-next/client/{MapLibreEditMap-Db9BHyXh.mjs → MapLibreEditMap-Bm85jX35.mjs} +2 -2
  153. package/dist/preview-next/client/{PageSectionToolbar-BI3UCdpu.mjs → PageSectionToolbar-D8srnz9R.mjs} +445 -18
  154. package/dist/preview-next/client/{PreviewEditorSidebar-jkfLVOgY.mjs → PreviewEditorSidebar-DVpk5cqp.mjs} +3864 -1943
  155. package/dist/preview-next/client/{PreviewEditorUI-DwJQs4hM.mjs → PreviewEditorUI-XoTtHSFH.mjs} +11 -36
  156. package/dist/preview-next/client/{PreviewShell-BAxAkuz8.mjs → PreviewShell-VQHsRg2u.mjs} +40 -35
  157. package/dist/preview-next/client/{SdkPreviewModeRuntime-0UVB-39f.mjs → SdkPreviewModeRuntime-CLdF9f6o.mjs} +12 -8
  158. package/dist/preview-next/client/{ThemedButton-CVYz7h68.mjs → ThemedButton-ORNN4x-3.mjs} +782 -16
  159. package/dist/preview-next/client/{lucide-react-00FF_oar.mjs → lucide-react-eAi3tDAr.mjs} +11 -1
  160. package/dist/preview-next/client/{previewAssistantSlot-BgiYk3PB.mjs → previewAssistantSlot-CqH91EwA.mjs} +17988 -6757
  161. package/dist/preview-next/client/{previewChromeRoot-tieNdF3E.mjs → previewChromeRoot-B3ySEu6p.mjs} +3 -90
  162. package/dist/preview-next/client/runtime.mjs +3 -3
  163. package/dist/preview-next/client/{sdk-runtime-DXb_Evl0.mjs → sdk-runtime-CdpSupcr.mjs} +2 -2
  164. package/dist/preview-next/client/{siteStyleAccess-BlN0jt2c.mjs → siteStyleAccess-C6eOP6QW.mjs} +35 -6
  165. package/dist/preview-next/client/{useAutosaveStatus-BUEPA4oL.mjs → useAutosaveStatus-BhPg4e-r.mjs} +49 -3
  166. package/dist/preview-next/client/{useOpenBlockForSetup-BVfr5P--.mjs → useOpenBlockForSetup-BaWUF9D7.mjs} +2007 -448
  167. package/dist/preview-next/container-responsive.css +320 -0
  168. package/dist/preview-next/editor-chrome.css +23 -2
  169. package/dist/preview-next/keepAlive.mjs +1 -1
  170. package/dist/preview-next/middleware.mjs +1 -1
  171. package/dist/preview-next/{route-contract-BHTBA48n.mjs → route-contract-Ch0X99vE.mjs} +163 -17
  172. package/dist/server/{Block.shared-hGoyEdjJ.mjs → Block.shared-B2FmczLO.mjs} +5 -5
  173. package/dist/server/{ThemeScopeCore-BfUCTOwj.mjs → ThemeScopeCore-DtAyv9qA.mjs} +17 -7
  174. package/dist/server/{accessibleSurfaces-Dskni4Xj.mjs → accessibleSurfaces-BtPqb76u.mjs} +418 -31
  175. package/dist/server/{accordions-By_0Ykks.mjs → accordions-vzdZ2Wt1.mjs} +1 -1
  176. package/dist/server/{bindings-DMJH4bvo.mjs → bindings-B_9JuU66.mjs} +7 -7
  177. package/dist/server/{client-DrwlRNAH.mjs → client-DC7cjiSw.mjs} +469 -92
  178. package/dist/server/config-validation.mjs +1 -1
  179. package/dist/server/config.mjs +2 -2
  180. package/dist/server/{constants-CeMywaiD.mjs → constants-d6nPNJpe.mjs} +22 -6
  181. package/dist/server/{customCss-C9kgPHvr.mjs → customCss-rtIfEYwQ.mjs} +1 -18
  182. package/dist/server/data/resolveBlockData.mjs +1 -1
  183. package/dist/server/{expandPalette-ehuW8r2g.mjs → expandPalette-DxPrNOAB.mjs} +182 -90
  184. package/dist/server/index.mjs +3 -3
  185. package/dist/server/{loadContent-D0prFflT.mjs → loadContent-hb27HYic.mjs} +11 -10
  186. package/dist/server/{loadPage-CBLke9pJ.mjs → loadPage-JToD8wDD.mjs} +3 -3
  187. package/dist/server/{lookMediaFrame-H0fi4bJk.mjs → lookMediaFrame-CTsycLLK.mjs} +94 -39
  188. package/dist/server/manifest.mjs +2 -2
  189. package/dist/server/{navigation-wrcuWmgp.mjs → navigation-B2WhGofA.mjs} +1 -1
  190. package/dist/server/navigation.mjs +1 -1
  191. package/dist/server/next.mjs +8 -8
  192. package/dist/server/{overrideResolution-DUgCEH8z.mjs → overrideResolution-vD5KTClL.mjs} +1 -1
  193. package/dist/server/page-converter.mjs +3 -3
  194. package/dist/server/{pageRenderPlan-BHrmogsW.mjs → pageRenderPlan-CdqJ1NQZ.mjs} +86 -97
  195. package/dist/server/{pageRuntimeSupport-D2-YMRei.mjs → pageRuntimeSupport-CAhr4oOf.mjs} +3 -3
  196. package/dist/server/{pageShared-CG8O31Eo.mjs → pageShared-m80Xu2pd.mjs} +429 -247
  197. package/dist/server/{parseThemeForPersistence-CrPlbJEN.mjs → parseThemeForPersistence-CRwOZfpa.mjs} +3 -3
  198. package/dist/server/{portal-pG_uhsI2.mjs → portal-B2wCQno_.mjs} +1 -1
  199. package/dist/server/portal.mjs +2 -2
  200. package/dist/server/{prebuild-C8Amvzce.mjs → prebuild-BWIkFaXq.mjs} +1 -1
  201. package/dist/server/prebuild.mjs +1 -1
  202. package/dist/server/{prefetchBlockData-BxUETRIZ.mjs → prefetchBlockData-D1PHU-K9.mjs} +3 -3
  203. package/dist/server/{registry-Cc88-23f.mjs → registry-KtsOsAzY.mjs} +20113 -9774
  204. package/dist/server/rendering/components/pageShared.mjs +1 -1
  205. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  206. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  207. package/dist/server/rendering/server.mjs +4 -4
  208. package/dist/server/rendering.mjs +9 -9
  209. package/dist/server/{resolveBlockData-OG3KOkig.mjs → resolveBlockData-sjIDJYl7.mjs} +1 -1
  210. package/dist/server/{schema-CwfxQjc4.mjs → schema-BBEqquBM.mjs} +44 -28
  211. package/dist/server/server.mjs +3 -3
  212. package/dist/server/{servicePageContent-BcFuhhD7.mjs → servicePageContent-ChEZDRwU.mjs} +37 -14
  213. package/dist/server/theme-bridge.mjs +3 -3
  214. package/dist/server/theme.mjs +2 -2
  215. package/dist/server/{three-pass-converter-DPaUPTfl.mjs → three-pass-converter-DKCIBeb1.mjs} +2 -2
  216. package/dist/server/{titleSourceSchema-NhK6azFS.mjs → titleSourceSchema-DybHErxH.mjs} +4 -4
  217. package/dist/server/{typeGuards-CTW_9AXq.mjs → typeGuards-DZOaGTEv.mjs} +126 -126
  218. package/dist/server/{types-BKaBZFjD.mjs → types-vyz09w64.mjs} +479 -8
  219. package/dist/server/{validation-BovmbS8N.mjs → validation-Cvi-1TZZ.mjs} +13 -9
  220. package/dist/server/{version-hws4hgyX.mjs → version-B-icAIV1.mjs} +1 -1
  221. package/dist/server/{video-Cdr3wh-q.mjs → video-DBaeSawZ.mjs} +1 -1
  222. package/dist/styles/index.css +2482 -108
  223. package/package.json +1 -1
  224. package/dist/client/gifting.parts-Bak93gD2.mjs +0 -86
  225. package/dist/client/runtimeResponse-nXT8VAMl.mjs +0 -3
  226. package/dist/client/types-BEaKfam_.mjs +0 -778
@@ -1,19 +1,19 @@
1
- import { D as surfaceInkStyle, E as surfaceInkDeclarations, F as textColorValue, J as parseColorTokenParts, L as callsCssLoadingFunction, M as mergeStyles, N as rgbColorValue, P as textColorStyle, R as staysInsideDeclaration, S as surfaceForegroundInputFromResolved, Y as parseThemeColorToken, a as createStandardButtonSurfacePolicy, i as buttonSizeNameSchema, j as cssVarValue, k as backgroundColorStyle, s as unsafeAsOpaqueButtonColourToken, t as DEFAULT_VARIANT_ALIAS_ID, w as surfaceForegroundValue, x as surfaceForegroundDeclarations, y as SURFACE_INK_CSS_VARS } from "./types-BKaBZFjD.mjs";
2
- import { L as contrastRatio, M as resolveOpaqueSurfaceHex, U as hexToRgb, a as compositeHex, d as resolveSolidButtonColour, f as BUTTON_CONTRAST_POLICY, g as DEFAULT_BUTTON_SIZES, h as BORDER_WIDTH_MAP, j as resolveConcreteColorHex, p as formatButtonColourContractError, r as expandPalette, u as compileButtonColourStates, v as FONT_SIZE_MAP, y as generateShadowValue$1 } from "./expandPalette-ehuW8r2g.mjs";
3
- import { $ as formatEventDuration, A as OfferingCourseCards, B as EventItem, C as resolvePageRouteTarget, D as EVENT_REGISTRATION_ANCHOR_ID, E as EventHeader, F as createEditorPresentationPageReader, G as eventDisplayTitleText, H as CalendarIcon, I as createPresentationPageReader, J as buildMonthDay, K as formatCourseDatesAfter, L as EmptyState, M as offeringDatesBySeries, N as deriveEventScheduleSummary, O as MonthLookView, P as derivePreviewRunSchedule, Q as formatEventTeacherLine, R as CardListCollection, S as resolveEntryRouteTarget, T as lookPartShown, U as MapPinIcon, V as eventCategoryBadge, W as eventDisplayTitle, X as formatEventQuickDate, Y as resolveMonthSelectedDay, Z as selectQuickDateEvents, _ as publicAppointmentLocationSchema, a as joinSlotKey, at as buildThemeTokens, d as resolveLinkedEntryInlineFieldEligibility, et as parseStoredVariant, g as formatAppointmentPrice, h as formatAppointmentLocation, i as composePageJoins, j as eventCardListContent, k as EventListingFrameView, l as buildLinkedContentEditTarget, m as formatAppointmentDuration, n as createPageRenderPlanReader, o as renderedJoinLayout, ot as defaultThemeTokens, p as defaultTransforms, q as formatCourseSessions, s as retargetJoinsAcrossOmissions, v as publicAppointmentPricingSchema, w as resolveRouteTarget, z as CardListItems } from "./pageRenderPlan-BHrmogsW.mjs";
4
- import { $ as cardListPresentationSchemaShape, $i as buildGeneratedBlockIconRenderAssetLookupFromUnknown, $n as selectionRepresentativeEvent, $t as browserReadAuthoritySchema, A as membershipCardListContent, Ai as boxStyleClassNames, An as getLocalMinuteOfDay, Ao as generateInteractiveChildInheritanceCSS, At as groupOfferingRunsByCourse, Ba as authoredHeaderLinkForeground, Bi as layoutSectionGround, Bn as cancelledDateCopy, Br as defineInteractiveIslandMetaKeys, Bs as orderedLiveRunSessions, Bt as ThemedAuthoredButton, C as shopBlockDefinition, Ci as testimonialsHeadingFragment, Co as generateDefaultCardSystem, Cr as parseTeamMemberSpecialties, Cs as publicEventsArraySchema, Ct as bookingNowSchema, D as buildProductListInteractiveIslandProps, Da as eventReadinessResultSchema, Di as isBlockButtonRole, Dn as groupEventsByDate, Do as generateEffectsCSS, Dr as resolveDateRuntimeContext, Ds as beforeBookingQuestionsPresentationSchema, E as buildProductDetailInteractiveIslandProps, Ei as ctaRowFragment, En as formatTime, Eo as generateNavLinkCSS, Er as readRuntimeNow, Es as bookingConsentCarrierSchema, F as buildOfferingsCatalogueListing, Fa as resolveHeaderRootForeground, Fn as getWeekCalendarDayTuple, Fs as unavailableReadinessFact, Ft as resolveOfferingsPreviewGroupCta, G as buildEventCollectionListingDisplay, Ga as headerRootIsTransparent, Gn as isOrdinaryPublicEvent, Gr as listLookControl, Gt as SpinnerNode, H as buildEventListingInteractiveIslandProps, Ha as readOpeningToneProjection, Hi as bodyCopyFragment, Hn as eventOccurrenceContext, Hr as defineClientOwnedBlockRuntime, Hs as resolveWholeSeriesPaymentDates, Ht as ThemedButtonLink, I as offeringsCatalogueShape, In as getWeekCalendarDays, Ir as formBlockDefinition, It as resolveOfferingsPreviewGroups, J as eventCollectionSourceSchemaShape, Ja as arrangementLookHooks, Jn as planWholeSeriesParentBooking, Jr as resolvedItemSurfaceProps, Jt as eventWeekGroupingContext, K as eventCollectionDisplaySchemaShape, Ka as headerRootPaint, Kn as planDropInPanel, Kr as listLookSlot, Ks as parseMailingListPlacementTargeting, Kt as buildEventListWeek, L as eventCalendarBlockDefinition, Ln as isSameCalendarDay, Lo as pageGround, Lr as buildFormInteractiveIslandProps, Lt as resolveOfferingsRenderInput, M as passCardListContent, Ma as parseThemeButtonVariantId, Mi as resolveCardRoleForBoxStyles, Mn as formatDateKey, Mr as staticHeaderChromeRuntime, Ms as hiddenFromVisitors, Mt as offeringRunLifecycle, N as offeringsPreviewBlockDefinition, Na as themeButtonSelector, Nn as getDayOfWeek, Ns as loadedReadinessFact, Nt as offeringsListingFor, O as buildShopInteractiveIslandProps, Oi as heroCopyFragment, On as resolveEventTimeZone, Oo as resolveEffectApplications, Ot as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, P as publicRouteCandidatesSchema, Pa as AFFORDANCE_SUPPRESS_CLASS, Pn as getOrderedDayNames, Ps as pageTemplateFromEntry, Pt as readOfferingsGrouping, Qi as when, Qn as resolveSelectionBookingClosedDetail, Qt as bookingPresentation, R as buildEventCalendarInteractiveIslandProps, Ra as selectItemSurfacePresentation, Ri as resolveBackgroundColorValue, Rn as isToday, Rr as buildInteractiveIslandProps, Rs as CANCELLED_SESSION_STATUS, Rt as normalizeEventRegistrationPageSurfaceSubject, S as productListBlockDefinition, Sa as chosenString, Si as testimonialsCarouselFragment, Sn as formatEventNextDateFact, So as resolveCardRole, St as resolveEventRegistrationEventSource, T as buildCheckoutInteractiveIslandProps, Ti as heroCtaRowFragment, To as buildTextContrastShadow, Tr as teamMemberCardBiography, Ts as blockBookingConsentSchema, U as buildEventCollectionDisplay, Ui as defineFragment, Un as getPublicEventCanonicalPath, Uo as boundaryRuntimeMetricsForDecorativeTransition, Ur as defineProgressiveBlockRuntime, Us as buildMailingListSignupBlockSourceRef, Ut as ThemedDownloadLink, V as eventListingBlockDefinition, Va as effectiveHeaderNavLinkStyle, Vn as hasCancelledRegistrationDate, Vr as createZodCodec, Vs as resolveWholeSeriesBookingPhase, Vt as ThemedButton, W as buildEventCollectionHydration, Wa as headerNeedsPhotoShade, Wn as isDropInPublicEvent, Wr as listItemPresentation, Ws as parseMailingListRuntimeContext, Wt as getIconComponent, X as listingEventCardProps, Xi as runTransforms, Xn as planWholeSeriesRunSelection, Xo as anglePolygonCss, Xr as Grid, Xs as formatDate$1, Y as catalogueEventCardProps, Yn as planWholeSeriesParentSelection, Yr as itemRole, Ys as EVENT_ADDRESS_AFTER_BOOKING_LABEL, Z as CardListContentPart, Zi as el, Zo as transitionCatalogueEntries, Zr as clsx, _ as giftingBlockDefinition, _c as publicEventPricingType, _i as faqHeadingFragment, _n as formatDate, _t as getCardOrientation, aa as CirclePlusIcon, ac as getBookingLocalDateKey, ai as formatCoursePrice, an as pageNavigationSchema, ar as resolveRuntimeEventDestination, at as MediaPlaceholder, b as cartBlockDefinition, ba as PUBLIC_DOWNLOAD_MEDIA_TYPES, bc as formatCurrencyAmount, bi as formEmbedFragment, bn as formatEventDateParts, br as markEditableSurfaceForwarding, bt as eventRegistrationBlockDefinition, c as normalizeLocationMapProps, ca as FileAudioIcon, cc as parseLocalScheduleTime, ci as formatEventPriceAmount, cn as closedRunCopy, cr as formatEventRemainingPlaces, d as resolveLocationMapLocation, da as MinusIcon, dc as toBookingTimeZone, dn as cutOffDateCopy, dr as getEventAvailabilityStatus, ea as parseBlockIconValue, ec as formatBookingCompactEnglishTime, en as eventOnlinePlace, er as eventDestinationBookingLink, f as newsletterSignupBlockDefinition, fa as PlusIcon, fn as buildCalendarViewport, fr as isEventFull, g as newsletterBlockSubmissionMessage, gc as publicEventPricingDisplay, gi as faqAccordionFragment, gn as formatCalendarTitle, gr as shouldReserveFeatureCardIconZone, gt as EventQuickFacts, h as buildNewsletterFormInteractiveIslandProps, ha as parseInlineTextFromUnknown, hc as publicEventPricingCurrency, hi as cardFragment, hr as resolveFeatureCardGeneratedIconSizePx, ht as setContextResolveImageUrlContext, i as normalizeBlockContent, ia as CircleMinusIcon, ic as formatLocalScheduleDate, in as blockSiteTermsSchema, io as resolveEffectiveArrangement, ir as resolveEventPageLink, it as ImagePresets, j as membershipClassesLabel, ji as normalizeBoxStylesBorder, jn as addDays, js as admitReadinessFacts, jt as normalizeOfferingsPreviewItemLimit, k as shopProductPresentation, kn as getLocalDateKey, ko as resolveEffectPaint, kt as buildOfferingsPreviewListing, l as normalizeLocationMapSource, la as FileSpreadsheetIcon, lc as toUtcIsoDateTimeString, ln as bookElsewhereDateCopy, lr as formatTotalCapacity, m as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, ma as isInlineTextEmpty, mc as isPublicEventPricingOptionDisplayable, mi as headingFragment, mn as eventDateOptions, mr as FEATURE_CARD_ICON_TREATMENTS, mt as getCurrentResolveImageUrlContext, n as hasBlockDefinition, na as ArrowDownIcon, nc as addLocalScheduleDays, nn as eventVenuePlace, no as arrangementManifestFromVariants, nr as resolveEventCardBooking, nt as MediaNodeServer, o as LOCATION_MAP_LOADER_KEYS, oa as ClockIcon, oc as getLocalScheduleDate, oi as formatEventDepositNote, on as closedDateListCopy, or as isBookableEvent, pa as inlineTextToPlainText, pc as formatBookingPriceDisplay, pi as richTextFragment, pr as groupPublicEventsByRun, pt as buildResolveImageUrlContext, q as eventCollectionHydrationSchema, qn as planOrdinarySeriesSelection, qr as lookListPresentationSchemaShape, qs as sameMailingListPlacementTargeting, qt as eventListWeekDays, ra as ChevronDownIcon, rn as formatEventLocation, rr as resolveEventCta, rt as RichText, s as describeUnresolvedLocationMapLocation, sa as FileArchiveIcon, sc as parseBookingLocalDate, si as formatEventPrice, sn as closedDatesCopy, sr as isInBookingCutOffWindow, t as getBlockDefinition, ta as resolveBlockIconRenderValue, tc as toScheduledBookingDateTime, tn as eventPlaceName, tr as eventDestinationPagePath, u as parseLocationMapLoaderResult, ua as FileTextIcon, uc as resolveBookingBusinessTimeZone, un as closedDateCopy, ut as resolvePublicMediaUrl, v as buildGiftingInteractiveIslandProps, vc as resolveExactOrFreePriceDisplay, vi as blogFeaturedPostFragment, vn as formatEventClockLabel, vo as requireCuratedSiteStyle, vt as getContainerClass, w as buildCartInteractiveIslandProps, wa as eventReadinessLoaderKey, wc as TokenResolver, wi as ctaCopyFragment, wn as formatEventTimeRange, wo as generateFooterCss, wr as teamMemberBiography, ws as blockBookingPaymentTermsSchema, wt as previewStageSchema, x as productDetailBlockDefinition, xi as formCopyFragment, xn as formatEventHourLabel, xr as splitPositioningClasses, xt as buildEventRegistrationInteractiveIslandProps, y as checkoutBlockDefinition, ya as parseFieldDefinitions, yi as singleButtonFragment, yn as formatEventCompactDateRail, yr as composeHeaderSectionWrapperClassName, z as buildEventCalendarListingDisplay, zi as ctaButton, zn as bookingPageKindSchema, zr as createInteractiveIslandCodec, zt as resolveEventRegistrationScopedEvents } from "./registry-Cc88-23f.mjs";
5
- import { A as ownedThemeSnapshot, I as HOVER_TEXT_THRESHOLD, L as certifyPaint, N as surfaceInkPublication, R as contrastThresholdByPolicy, _ as buttonStateAppearanceDeclarations, b as paddingDeclarations, f as actionVariableFallback, g as buttonShadow, h as buttonRadius, j as resolveSurfaceForeground, k as freezeOwnedThemeValue, m as buttonBorder, n as parseSurfaceTree, o as resolveSurface, s as serializeSurfaceTree, v as buttonTypographyDeclarations, w as mapButtonVisualAppearances, y as materializeRuntimeButtonAppearance, z as inkReference } from "./accessibleSurfaces-Dskni4Xj.mjs";
6
- import { b as siteChromeBackgroundOverrideOwner, m as surfaceCardRoleValues, s as boxBackgroundSchema } from "./schema-CwfxQjc4.mjs";
1
+ import { $ as parseThemeColorToken, A as surfaceInkDeclarations, C as SURFACE_INK_CSS_VARS, E as surfaceForegroundInputFromResolved, F as cssVarValue, H as staysInsideDeclaration, I as mergeStyles, L as rgbColorValue, N as backgroundColorStyle, O as surfaceForegroundValue, Q as parseColorTokenParts, R as textColorStyle, T as surfaceForegroundDeclarations, V as callsCssLoadingFunction, a as createStandardButtonSurfacePolicy, i as buttonSizeNameSchema, j as surfaceInkStyle, s as unsafeAsOpaqueButtonColourToken, t as DEFAULT_VARIANT_ALIAS_ID, z as textColorValue } from "./types-vyz09w64.mjs";
2
+ import { L as contrastRatio, M as resolveOpaqueSurfaceHex, U as hexToRgb, a as compositeHex, d as resolveSolidButtonColour, f as BUTTON_CONTRAST_POLICY, g as DEFAULT_BUTTON_SIZES, h as BORDER_WIDTH_MAP, j as resolveConcreteColorHex, p as formatButtonColourContractError, r as expandPalette, u as compileButtonColourStates, v as FONT_SIZE_MAP, y as generateShadowValue$1 } from "./expandPalette-DxPrNOAB.mjs";
3
+ import { $ as parseStoredVariant, A as eventCardListContent, B as eventCategoryBadge, C as resolvePageRouteTarget, D as MonthLookView, E as EVENT_REGISTRATION_ANCHOR_ID, F as createPresentationPageReader, G as formatCourseDatesAfter, H as MapPinIcon, I as EmptyState, J as resolveMonthSelectedDay, K as formatCourseSessions, L as CardListCollection, M as deriveEventScheduleSummary, N as derivePreviewRunSchedule, O as EventListingFrameView, P as createEditorPresentationPageReader, Q as formatEventDuration, R as CardListItems, S as resolveEntryRouteTarget, T as EventHeader, U as eventDisplayTitle, V as CalendarIcon, W as eventDisplayTitleText, X as selectQuickDateEvents, Y as formatEventQuickDate, Z as formatEventTeacherLine, _ as publicAppointmentLocationSchema, a as joinSlotKey, at as defaultThemeTokens, d as resolveLinkedEntryInlineFieldEligibility, g as formatAppointmentPrice, h as formatAppointmentLocation, i as composePageJoins, it as buildThemeTokens, j as offeringDatesBySeries, k as OfferingCourseCards, l as buildLinkedContentEditTarget, m as formatAppointmentDuration, n as createPageRenderPlanReader, o as renderedJoinLayout, p as defaultTransforms, q as buildMonthDay, s as retargetJoinsAcrossOmissions, v as publicAppointmentPricingSchema, w as resolveRouteTarget, z as EventItem } from "./pageRenderPlan-CdqJ1NQZ.mjs";
4
+ import { $ as cardListPresentationSchemaShape, $i as when, $n as resolveSelectionBookingClosedDetail, $t as bookingPresentation, A as membershipCardListContent, An as getLocalDateKey, Ao as generateNavLinkCSS, At as buildOfferingsPreviewListing, Ba as selectItemSurfacePresentation, Bi as ctaButton, Bn as bookingPageKindSchema, Br as createInteractiveIslandCodec, Bt as resolveEventRegistrationScopedEvents, C as shopBlockDefinition, Ca as chosenString, Cc as publicEventPricingCurrency, Ci as testimonialsCarouselFragment, Cn as formatEventNextDateFact, Ct as resolveEventRegistrationEventSource, D as buildProductListInteractiveIslandProps, Di as ctaRowFragment, Dn as formatTime, Do as generateDefaultCardSystem, Dr as readRuntimeNow, Ds as pageTemplateFromEntry, E as buildProductDetailInteractiveIslandProps, Ec as resolveExactOrFreePriceDisplay, Ei as heroCtaRowFragment, Eo as resolveCardRole, Er as teamMemberCardBiography, Es as loadedReadinessFact, F as buildOfferingsCatalogueListing, Fa as themeButtonSelector, Fn as getOrderedDayNames, Ft as readOfferingsGrouping, G as buildEventCollectionListingDisplay, Gn as isDropInPublicEvent, Gr as listItemPresentation, Gt as getIconComponent, H as buildEventListingInteractiveIslandProps, Ha as authoredHeaderLinkForeground, Hn as hasCancelledRegistrationDate, Hr as createZodCodec, Ht as ThemedButton, I as offeringsCatalogueShape, Ia as AFFORDANCE_SUPPRESS_CLASS, In as getWeekCalendarDayTuple, It as resolveOfferingsPreviewGroupCta, J as eventCollectionSourceSchemaShape, Ja as headerNeedsPhotoShade, Jn as planOrdinarySeriesSelection, Jr as lookListPresentationSchemaShape, Js as orderedLiveRunSessions, Jt as eventListWeekDays, K as eventCollectionDisplaySchemaShape, Kn as isOrdinaryPublicEvent, Kr as listLookControl, Ks as CANCELLED_SESSION_STATUS, Kt as SpinnerNode, L as eventCalendarBlockDefinition, La as resolveHeaderRootForeground, Ln as getWeekCalendarDays, Lr as formBlockDefinition, Lt as resolveOfferingsPreviewGroups, M as passCardListContent, Mc as TokenResolver, Mi as normalizeBoxStylesBorder, Mn as addDays, Mo as resolveEffectApplications, Mt as normalizeOfferingsPreviewItemLimit, N as offeringsPreviewBlockDefinition, Ni as resolveCardRoleForBoxStyles, Nn as formatDateKey, No as resolveEffectPaint, Nr as staticHeaderChromeRuntime, Nt as offeringRunLifecycle, O as buildShopInteractiveIslandProps, Oa as eventReadinessResultSchema, Oc as formatCurrencyAmount, Oi as isBlockButtonRole, On as groupEventsByDate, Oo as generateFooterCss, Or as resolveDateRuntimeContext, Os as unavailableReadinessFact, P as publicRouteCandidatesSchema, Pa as parseThemeButtonVariantId, Pn as getDayOfWeek, Po as generateInteractiveChildInheritanceCSS, Pt as offeringsListingFor, Qa as arrangementLookHooks, Qi as el, Qr as clsx, Qs as parseMailingListRuntimeContext, R as buildEventCalendarInteractiveIslandProps, Rn as isSameCalendarDay, Rr as buildFormInteractiveIslandProps, Rt as resolveOfferingsRenderInput, S as productListBlockDefinition, Sc as isPublicEventPricingOptionDisplayable, Si as formCopyFragment, Sn as formatEventHourLabel, So as requireCuratedSiteStyle, Sr as splitPositioningClasses, St as buildEventRegistrationInteractiveIslandProps, T as buildCheckoutInteractiveIslandProps, Ta as eventReadinessLoaderKey, Tc as publicEventPricingType, Ti as ctaCopyFragment, Tn as formatEventTimeRange, Tr as teamMemberBiography, Ts as hiddenFromVisitors, Tt as previewStageSchema, U as buildEventCollectionDisplay, Ua as effectiveHeaderNavLinkStyle, Ui as bodyCopyFragment, Un as eventOccurrenceContext, Ur as defineClientOwnedBlockRuntime, Us as mapReadinessFact, Ut as ThemedButtonLink, V as eventListingBlockDefinition, Vi as layoutSectionGround, Vn as cancelledDateCopy, Vo as pageGround, Vr as defineInteractiveIslandMetaKeys, Vt as ThemedAuthoredButton, W as buildEventCollectionHydration, Wa as readOpeningToneProjection, Wi as defineFragment, Wn as getPublicEventCanonicalPath, Wr as defineProgressiveBlockRuntime, Wt as ThemedDownloadLink, X as listingEventCardProps, Xa as headerRootPaint, Xn as planWholeSeriesParentSelection, Xr as itemRole, Xs as resolveWholeSeriesPaymentDates, Y as catalogueEventCardProps, Ya as headerRootIsTransparent, Yn as planWholeSeriesParentBooking, Yr as resolvedItemSurfaceProps, Ys as resolveWholeSeriesBookingPhase, Yt as eventWeekGroupingContext, Z as CardListContentPart, Zi as runTransforms, Zn as planWholeSeriesRunSelection, Zr as Grid, Zs as buildMailingListSignupBlockSourceRef, _ as giftingBlockDefinition, _c as toUtcIsoDateTimeString, _i as faqAccordionFragment, _n as formatCalendarTitle, _r as shouldReserveFeatureCardIconZone, _s as blockBookingPaymentTermsSchema, _t as getCardOrientation, aa as CircleMinusIcon, an as blockSiteTermsSchema, ar as resolveEventPageLink, at as MediaPlaceholder, b as cartBlockDefinition, ba as parseFieldDefinitions, bi as singleButtonFragment, bn as formatEventCompactDateRail, br as composeHeaderSectionWrapperClassName, bs as beforeBookingQuestionsPresentationSchema, bt as lookPartShown, c as normalizeLocationMapProps, ca as FileArchiveIcon, cc as formatBookingCompactEnglishTime, ci as formatEventPrice, cn as closedDatesCopy, co as resolveEffectiveArrangement, cr as isInBookingCutOffWindow, d as resolveLocationMapLocation, da as FileTextIcon, dn as closedDateCopy, ea as buildGeneratedBlockIconRenderAssetLookupFromUnknown, ec as parseMailingListPlacementTargeting, en as browserReadAuthoritySchema, er as selectionRepresentativeEvent, es as anglePolygonCss, f as newsletterSignupBlockDefinition, fa as MinusIcon, fc as formatLocalScheduleDate, fn as cutOffDateCopy, fr as getEventAvailabilityStatus, g as newsletterBlockSubmissionMessage, ga as parseInlineTextFromUnknown, gc as parseLocalScheduleTime, gi as cardFragment, gr as resolveFeatureCardGeneratedIconSizePx, gs as publicEventsArraySchema, gt as EventQuickFacts, h as buildNewsletterFormInteractiveIslandProps, ha as isInlineTextEmpty, hc as parseBookingLocalDate, hi as headingFragment, hn as eventDateOptions, hr as FEATURE_CARD_ICON_TREATMENTS, ht as setContextResolveImageUrlContext, i as normalizeBlockContent, ia as ChevronDownIcon, ic as formatDate$1, in as formatEventLocation, ir as resolveEventCta, it as ImagePresets, j as membershipClassesLabel, ji as boxStyleClassNames, jn as getLocalMinuteOfDay, jo as generateEffectsCSS, jt as groupOfferingRunsByCourse, k as shopProductPresentation, ki as heroCopyFragment, kn as resolveEventTimeZone, ko as buildTextContrastShadow, kt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, l as normalizeLocationMapSource, la as FileAudioIcon, lc as toScheduledBookingDateTime, li as formatEventPriceAmount, ln as closedRunCopy, lr as formatEventRemainingPlaces, m as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, ma as inlineTextToPlainText, mc as getLocalScheduleDate, mi as richTextFragment, mr as groupPublicEventsByRun, mt as getCurrentResolveImageUrlContext, n as hasBlockDefinition, na as resolveBlockIconRenderValue, nn as eventPlaceName, nr as eventDestinationPagePath, nt as MediaNodeServer, o as LOCATION_MAP_LOADER_KEYS, oa as CirclePlusIcon, oi as formatCoursePrice, on as pageNavigationSchema, oo as arrangementManifestFromVariants, or as resolveRuntimeEventDestination, pa as PlusIcon, pc as getBookingLocalDateKey, pn as buildCalendarViewport, pr as isEventFull, pt as buildResolveImageUrlContext, q as eventCollectionHydrationSchema, qn as planDropInPanel, qo as boundaryRuntimeMetricsForDecorativeTransition, qr as listLookSlot, qt as buildEventListWeek, ra as ArrowDownIcon, rc as EVENT_ADDRESS_AFTER_BOOKING_LABEL, rn as eventVenuePlace, rr as resolveEventCardBooking, rt as RichText, s as describeUnresolvedLocationMapLocation, sa as ClockIcon, si as formatEventDepositNote, sn as closedDateListCopy, sr as isBookableEvent, t as getBlockDefinition, ta as parseBlockIconValue, tc as sameMailingListPlacementTargeting, tn as eventOnlinePlace, tr as eventDestinationBookingLink, ts as transitionCatalogueEntries, u as parseLocationMapLoaderResult, ua as FileSpreadsheetIcon, uc as addLocalScheduleDays, un as bookElsewhereDateCopy, ur as formatTotalCapacity, ut as resolvePublicMediaUrl, v as buildGiftingInteractiveIslandProps, vc as resolveBookingBusinessTimeZone, vi as faqHeadingFragment, vn as formatDate, vs as blockBookingConsentSchema, vt as getContainerClass, w as buildCartInteractiveIslandProps, wc as publicEventPricingDisplay, wi as testimonialsHeadingFragment, wr as parseTeamMemberSpecialties, ws as admitReadinessFacts, wt as bookingNowSchema, x as productDetailBlockDefinition, xa as PUBLIC_DOWNLOAD_MEDIA_TYPES, xc as formatBookingPriceDisplay, xi as formEmbedFragment, xn as formatEventDateParts, xr as markEditableSurfaceForwarding, xt as eventRegistrationBlockDefinition, y as checkoutBlockDefinition, yc as toBookingTimeZone, yi as blogFeaturedPostFragment, yn as formatEventClockLabel, ys as bookingConsentCarrierSchema, z as buildEventCalendarListingDisplay, zi as resolveBackgroundColorValue, zn as isToday, zr as buildInteractiveIslandProps, zt as normalizeEventRegistrationPageSurfaceSubject } from "./registry-KtsOsAzY.mjs";
5
+ import { A as actionVariableFallback, C as buttonShadowLayersValue, F as freezeOwnedThemeValue, G as inkReference, H as HOVER_TEXT_THRESHOLD, I as ownedThemeSnapshot, L as resolveSurfaceForeground, S as buttonPartsCss, T as affordanceIconMaskUrl, U as certifyPaint, W as contrastThresholdByPolicy, _ as buttonTypographyDeclarations, g as buttonStateShadow, h as buttonStateAppearanceDeclarations, k as mapButtonVisualAppearances, m as buttonRadius, n as parseSurfaceTree, o as resolveSurface, p as buttonBorder, s as serializeSurfaceTree, v as materializeRuntimeButtonAppearance, w as partOwnedPseudoElements, y as paddingDeclarations, z as surfaceInkPublication } from "./accessibleSurfaces-BtPqb76u.mjs";
6
+ import { h as surfaceCardRoleValues, l as fontWidthFits, s as boxBackgroundSchema, x as siteChromeBackgroundOverrideOwner } from "./schema-BBEqquBM.mjs";
7
7
  import { a as normalizeLocationAddressText, c as publicLocationSchema, d as mapDrawingSchema } from "./mapLocation-MDDSubTp.mjs";
8
8
  import { t as assertNever$3 } from "./assert-never-ku-PUn9U.mjs";
9
- import { A as MQ_MD_UP, M as MQ_SM_UP, N as MQ_TABLET_ONLY, O as MQ_LG_UP, c as readSdkPreviewPublishedPlacement, h as compileManifestContentContract, j as MQ_SM_DOWN, k as MQ_MD_DOWN, y as validateManifestDraft } from "./pageRuntimeSupport-D2-YMRei.mjs";
10
- import { a as bindingSchema, l as RichTextDocSchema, m as sanitizeHref, n as isRecord$4, t as isObjectRecord } from "./typeGuards-CTW_9AXq.mjs";
9
+ import { A as MQ_MD_UP, M as MQ_SM_UP, N as MQ_TABLET_ONLY, O as MQ_LG_UP, c as readSdkPreviewPublishedPlacement, h as compileManifestContentContract, j as MQ_SM_DOWN, k as MQ_MD_DOWN, y as validateManifestDraft } from "./pageRuntimeSupport-CAhr4oOf.mjs";
10
+ import { f as bindingSchema, i as RichTextDocSchema, l as sanitizeHref, n as isRecord$4, t as isObjectRecord } from "./typeGuards-DZOaGTEv.mjs";
11
11
  import { l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-gvfIw3z8.mjs";
12
- import { M as opaqueSurfaceDeclarations, T as testimonialsCompositionTreatmentValues, j as opaqueSurfaceContextFromTheme, v as featureCardCompositionTreatmentValues, x as offeringsPreviewCompositionTreatmentValues, y as introCompositionTreatmentValues } from "./lookMediaFrame-H0fi4bJk.mjs";
13
- import { l as mergeHeaderNavTypographyPreference, u as readHeaderNavFontSizePreference } from "./bindings-DMJH4bvo.mjs";
14
- import { A as generateShadowCssVars, C as INPUT_ERROR_BORDER_COLOR_VAR, D as RESOLVED_BUTTON_DISABLED_DECLARATIONS, E as generateOpaquePanelCss, M as cardBorderDeclarations, N as cardDecorationPseudoRules, O as resolvedButtonColourDeclarations, S as INPUT_EDGE_COLOR_VAR, T as generateCheckableCss, _ as getResponsiveScopeSpec, a as escapeStyleContent, b as INPUT_GROUP_SELECTOR, c as parseBlockCustomCssRules, d as generateBlockCustomVarsCss, f as generateTypographyCss, g as THEME_RESPONSIVE_CONTAINER_NAME, h as DEFAULT_THEME_RESPONSIVE_MODE, i as compileCustomCssRules, j as renderCssDeclarations, k as resolvedButtonFocusDeclarations, l as parseCustomCssRules, m as generateStatusCss, n as THEME_RADIUS_CSS_VARS, o as prefixSelector, p as generateProgressCss, r as compileBlockCustomCssRules, s as toKebabCase, t as ThemeScopeCore, u as generateAllBlockVarsCss, v as INPUT_GROUP_ERROR_SELECTOR, w as inputEdgeColorValue, x as generateInputGroupCss, y as INPUT_GROUP_FOCUS_SELECTOR } from "./ThemeScopeCore-BfUCTOwj.mjs";
15
- import { c as ACCORDION_SPACING_MAP, d as ICON_CONFIG, f as ICON_SIZE_PX, i as getNodeProps, l as ACCORDION_TRIGGER_FONT_SCALE, n as getVideoEmbed, r as getVideoEmbedLoadingStrategy, s as ACCORDION_OPEN_ACCENT_THICKNESS, t as VIDEO_ASPECT_RATIO_PATTERN, u as ACCORDION_TRIGGER_LETTER_SPACING } from "./video-Cdr3wh-q.mjs";
16
- import { t as parseThemeForPersistence } from "./parseThemeForPersistence-CrPlbJEN.mjs";
12
+ import { M as opaqueSurfaceDeclarations, T as testimonialsCompositionTreatmentValues, j as opaqueSurfaceContextFromTheme, v as featureCardCompositionTreatmentValues, x as offeringsPreviewCompositionTreatmentValues, y as introCompositionTreatmentValues } from "./lookMediaFrame-CTsycLLK.mjs";
13
+ import { l as mergeHeaderNavTypographyPreference, u as readHeaderNavFontSizePreference } from "./bindings-B_9JuU66.mjs";
14
+ import { A as generateShadowCssVars, C as INPUT_ERROR_BORDER_COLOR_VAR, D as RESOLVED_BUTTON_DISABLED_DECLARATIONS, E as generateOpaquePanelCss, M as cardBorderDeclarations, N as cardDecorationPseudoRules, O as resolvedButtonColourDeclarations, S as INPUT_EDGE_COLOR_VAR, T as generateCheckableCss, _ as getResponsiveScopeSpec, a as escapeStyleContent, b as INPUT_GROUP_SELECTOR, c as parseBlockCustomCssRules, d as generateBlockCustomVarsCss, f as generateTypographyCss, g as THEME_RESPONSIVE_CONTAINER_NAME, h as DEFAULT_THEME_RESPONSIVE_MODE, i as compileCustomCssRules, j as renderCssDeclarations, k as resolvedButtonFocusDeclarations, l as parseCustomCssRules, m as generateStatusCss, n as THEME_RADIUS_CSS_VARS, o as prefixSelector, p as generateProgressCss, r as compileBlockCustomCssRules, s as toKebabCase, t as ThemeScopeCore, u as generateAllBlockVarsCss, v as INPUT_GROUP_ERROR_SELECTOR, w as inputEdgeColorValue, x as generateInputGroupCss, y as INPUT_GROUP_FOCUS_SELECTOR } from "./ThemeScopeCore-DtAyv9qA.mjs";
15
+ import { c as ACCORDION_SPACING_MAP, d as ICON_CONFIG, f as ICON_SIZE_PX, i as getNodeProps, l as ACCORDION_TRIGGER_FONT_SCALE, n as getVideoEmbed, r as getVideoEmbedLoadingStrategy, s as ACCORDION_OPEN_ACCENT_THICKNESS, t as VIDEO_ASPECT_RATIO_PATTERN, u as ACCORDION_TRIGGER_LETTER_SPACING } from "./video-DBaeSawZ.mjs";
16
+ import { t as parseThemeForPersistence } from "./parseThemeForPersistence-CRwOZfpa.mjs";
17
17
  import { n as mapOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
18
18
  import { t as getAtPath } from "./src-DHK4JUlp.mjs";
19
19
  import * as React$1 from "react";
@@ -1107,46 +1107,6 @@ function generateDefaultButtonSystem(theme) {
1107
1107
  };
1108
1108
  }
1109
1109
  //#endregion
1110
- //#region ../theme-core/src/buttons/affordanceIcons.ts
1111
- /**
1112
- * Affordance icon path data for CSS-emitted button affordances.
1113
- *
1114
- * A button variant may declare a trailing `affordance` icon (see
1115
- * `ButtonVariantAffordance`). The generated button CSS renders that icon as a
1116
- * masked `::after` pseudo-element, so the theme supplies it to every
1117
- * button of the variant without per-node authoring.
1118
- *
1119
- * Icons live in the `@riverbankcms/blocks` registry, but the button CSS is
1120
- * generated here in theme-core, so this module carries a small, curated copy of
1121
- * the *affordance-eligible* icon path data (arrows/chevrons — the action-oriented
1122
- * subset). The `d` values below are duplicated verbatim from the matching entries
1123
- * in `blocks/src/system/icons/svg.tsx`; ids match the registry ids exactly so a
1124
- * node-level `trailingIcon` and a theme-owned `affordance` share one id space.
1125
- *
1126
- * Keep this set intentionally tiny. It is not the full CTA icon set — only the
1127
- * shapes that read as a trailing affordance.
1128
- */
1129
- /** Registry icon id → the SVG path `d` fragments composing that icon. */
1130
- const AFFORDANCE_ICON_PATHS = {
1131
- ArrowRight: ["M5 12h14", "m13 6 6 6-6 6"],
1132
- ArrowLeft: ["M19 12H5", "m11 6-6 6 6 6"],
1133
- ChevronRight: ["m9 18 6-6-6-6"],
1134
- ChevronLeft: ["m15 18-6-6 6-6"],
1135
- ChevronDown: ["m6 9 6 6 6-6"],
1136
- ArrowUpRight: ["M7 17 17 7", "M7 7h10v10"]
1137
- };
1138
- /**
1139
- * Build a `data:image/svg+xml,...` URL for an affordance icon, suitable for use
1140
- * as a CSS `mask-image`. The stroke is painted solid black so the mask's alpha
1141
- * traces the icon outline; the visible colour is supplied separately by the
1142
- * `::after` rule's `background-color`. Returns `null` for unknown ids.
1143
- */
1144
- function affordanceIconMaskUrl(iconId) {
1145
- const paths = AFFORDANCE_ICON_PATHS[iconId];
1146
- if (!paths || paths.length === 0) return null;
1147
- return `data:image/svg+xml,${`<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>${paths.map((d) => `<path d='${d}'/>`).join("")}</svg>`.replace(/"/g, "'").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ")}`;
1148
- }
1149
- //#endregion
1150
1110
  //#region ../theme-core/src/buttons/generateButtonCss.ts
1151
1111
  const BUTTON_SIZE_NAMES = buttonSizeNameSchema.options;
1152
1112
  function rule$1(selector, declarations) {
@@ -1294,20 +1254,27 @@ function variantChunks(variant, global, themeSizes, themeId, tokens, theme, colo
1294
1254
  const out = [];
1295
1255
  const variantId = parseButtonVariantIdForCss(variant.id);
1296
1256
  const selector = `:where([data-theme-scope="${themeId}"]) ${themeButtonSelector(variantId)}`;
1297
- out.push(variantBaseRule(variant, selector, tokens, colours.base));
1257
+ const paint = {
1258
+ role: variant.id,
1259
+ colours,
1260
+ keyframePrefix: `${themeId.replace(/[^a-zA-Z0-9_-]/g, "-")}-${variant.id}`
1261
+ };
1262
+ out.push(variantBaseRule(variant, selector, tokens, colours.base, paint));
1298
1263
  out.push({ raw: generateInteractiveChildInheritanceCSS(selector) });
1299
1264
  for (const state of [
1300
1265
  "hover",
1301
1266
  "focus",
1302
1267
  "active"
1303
- ]) out.push(variantStateColourRule(variant, variantId, themeId, state, colours[state], tokens));
1268
+ ]) out.push(variantStateColourRule(variant, variantId, themeId, state, colours[state], tokens, paint));
1304
1269
  const effects = variantEffectsCss(variant, nonColourEffects, themeId, tokens, theme);
1305
1270
  if (effects) out.push({ raw: effects });
1306
1271
  out.push(...variantStateTransformRules(variant, selector));
1307
- out.push(variantFocusVisibleRule(variantId, themeId, focusIndicator));
1272
+ const parts = buttonPartsCss(variant, selector, paint);
1273
+ if (parts) out.push({ raw: parts });
1274
+ out.push(variantFocusVisibleRule(variantId, themeId, focusIndicator, focusShadowLayers(variant, paint)));
1308
1275
  const affordance = variantAffordanceRule(variant, selector);
1309
1276
  if (affordance) out.push(affordance);
1310
- out.push(...variantDisabledRules(variant, variantId, themeId, colours.disabled, tokens));
1277
+ out.push(...variantDisabledRules(variant, variantId, themeId, colours.disabled, tokens, paint));
1311
1278
  out.push(...variantSizeRules(variant, variantId, themeSizes, themeId));
1312
1279
  out.push(...variantStateSizeRules(variant, variantId, themeId));
1313
1280
  return out;
@@ -1344,7 +1311,7 @@ function parseButtonVariantIdForCss(value) {
1344
1311
  if (!variantId) throw new Error("Button variant id must be a non-empty string");
1345
1312
  return variantId;
1346
1313
  }
1347
- function variantBaseRule(variant, selector, tokens, colour) {
1314
+ function variantBaseRule(variant, selector, tokens, colour, paint) {
1348
1315
  const appearance = variant.visualStates?.base;
1349
1316
  if (!appearance) throw new Error("Button appearance must be materialized before CSS emission");
1350
1317
  const border = buttonBorder(appearance.border, tokens);
@@ -1352,7 +1319,7 @@ function variantBaseRule(variant, selector, tokens, colour) {
1352
1319
  ...buttonTypographyDeclarations(appearance.typography),
1353
1320
  ...STRUCTURAL_DECLARATIONS,
1354
1321
  ["border-radius", buttonRadius(appearance.borderRadius)],
1355
- ["box-shadow", buttonShadow(appearance.shadow, tokens)],
1322
+ ["box-shadow", buttonStateShadow(appearance, tokens, paint) ?? "none"],
1356
1323
  ...resolvedButtonColourDeclarations(colour, {
1357
1324
  role: variant.id,
1358
1325
  state: "base"
@@ -1369,15 +1336,19 @@ function variantBaseRule(variant, selector, tokens, colour) {
1369
1336
  * token fallback keeps buttons usable in contexts that do not provide that
1370
1337
  * contract (and preserves the existing theme behaviour there).
1371
1338
  */
1372
- function variantStateColourRule(variant, variantId, themeId, state, colour, tokens) {
1339
+ function variantStateColourRule(variant, variantId, themeId, state, colour, tokens, paint) {
1373
1340
  const baseSelector = `:where([data-theme-scope="${themeId}"]) ${themeButtonSelector(variantId)}`;
1374
1341
  return rule$1(state === "hover" ? [`${baseSelector}:hover`, `${baseSelector}[data-force-hover="true"]`] : `${baseSelector}:${state}`, [...resolvedButtonColourDeclarations(colour, {
1375
1342
  role: variantId,
1376
1343
  state
1377
- }), ...variant.visualStates ? buttonStateAppearanceDeclarations(variant.visualStates.base, variant.visualStates[state], tokens) : []]);
1344
+ }), ...variant.visualStates ? buttonStateAppearanceDeclarations(variant.visualStates.base, variant.visualStates[state], tokens, paint) : []]);
1345
+ }
1346
+ function variantFocusVisibleRule(variantId, themeId, focusIndicator, layers) {
1347
+ return rule$1(`:where([data-theme-scope="${themeId}"]) ${themeButtonSelector(variantId)}:focus-visible`, resolvedButtonFocusDeclarations(focusIndicator, variantId).map(([property, value]) => property === "box-shadow" && layers !== null ? [property, `${layers}, ${value}`] : [property, value]));
1378
1348
  }
1379
- function variantFocusVisibleRule(variantId, themeId, focusIndicator) {
1380
- return rule$1(`:where([data-theme-scope="${themeId}"]) ${themeButtonSelector(variantId)}:focus-visible`, resolvedButtonFocusDeclarations(focusIndicator, variantId));
1349
+ function focusShadowLayers(variant, paint) {
1350
+ const layers = variant.visualStates?.focus.shadowLayers;
1351
+ return layers && layers.length > 0 ? buttonShadowLayersValue(layers, paint) : null;
1381
1352
  }
1382
1353
  function variantEffectsCss(variant, effects, themeId, tokens, theme) {
1383
1354
  if (!effects) return "";
@@ -1395,7 +1366,7 @@ function variantEffectsCss(variant, effects, themeId, tokens, theme) {
1395
1366
  theme
1396
1367
  });
1397
1368
  }
1398
- function variantDisabledRules(variant, variantId, themeId, colour, tokens) {
1369
+ function variantDisabledRules(variant, variantId, themeId, colour, tokens, paint) {
1399
1370
  const base = `:where([data-theme-scope="${themeId}"]) ${themeButtonSelector(variantId)}:disabled`;
1400
1371
  const disabledSelectors = [
1401
1372
  base,
@@ -1403,19 +1374,20 @@ function variantDisabledRules(variant, variantId, themeId, colour, tokens) {
1403
1374
  `${base}:active`,
1404
1375
  `${base}:focus`
1405
1376
  ];
1406
- const pseudoSelectors = [`${base}::before`, `${base}::after`];
1377
+ const owned = partOwnedPseudoElements(variant.visualStates);
1378
+ const [firstHidden, ...otherHidden] = ["before", "after"].filter((pseudo) => !owned.includes(pseudo)).map((pseudo) => `${base}::${pseudo}`);
1407
1379
  return [rule$1(disabledSelectors, [
1408
1380
  ...resolvedButtonColourDeclarations(colour, {
1409
1381
  role: variantId,
1410
1382
  state: "disabled"
1411
1383
  }),
1412
- ...variant.visualStates ? buttonStateAppearanceDeclarations(variant.visualStates.base, variant.visualStates.disabled, tokens, true) : [],
1384
+ ...variant.visualStates ? buttonStateAppearanceDeclarations(variant.visualStates.base, variant.visualStates.disabled, tokens, paint, true) : [],
1413
1385
  ...RESOLVED_BUTTON_DISABLED_DECLARATIONS
1414
- ]), rule$1(pseudoSelectors, [
1386
+ ]), ...firstHidden === void 0 ? [] : [rule$1([firstHidden, ...otherHidden], [
1415
1387
  ["opacity", "0"],
1416
1388
  ["animation", "none"],
1417
1389
  ["pointer-events", "none"]
1418
- ])];
1390
+ ])]];
1419
1391
  }
1420
1392
  /** Explicit rest transforms follow hover effects so :active can return to rest. */
1421
1393
  function variantStateTransformRules(variant, selector) {
@@ -2533,6 +2505,19 @@ function resolvedHeaderNavLinkStyle(header, contrastTreatment, navTextSize) {
2533
2505
  });
2534
2506
  }
2535
2507
  //#endregion
2508
+ //#region ../theme-core/src/typography/fontWeight.ts
2509
+ const fontWeights = {
2510
+ light: 300,
2511
+ regular: 400,
2512
+ medium: 500,
2513
+ semibold: 600,
2514
+ bold: 700
2515
+ };
2516
+ /** The CSS weight of a typography weight. Every role that names one (headings, body, eyebrow, the logo) is drawn through this. */
2517
+ function mapWeight(weight) {
2518
+ return fontWeights[weight];
2519
+ }
2520
+ //#endregion
2536
2521
  //#region ../theme-core/src/header/generateHeaderLogoStyles.ts
2537
2522
  function generateHeaderLogoStyles(input) {
2538
2523
  const { logo, themeId } = input;
@@ -2540,6 +2525,7 @@ function generateHeaderLogoStyles(input) {
2540
2525
  ...logoTextColorRules(input),
2541
2526
  logo?.fontFamily === "body" ? "font-family: var(--font-body);" : "font-family: var(--font-heading);",
2542
2527
  ...logoLetterSpacingRules(logo),
2528
+ ...logoTypeRules(logo, input.theme.typography),
2543
2529
  ...logoContrastRules(input)
2544
2530
  ].join("\n ")}\n}\n${mobilePanelLogoColor(input)}`;
2545
2531
  }
@@ -2561,6 +2547,23 @@ function logoLetterSpacingRules(logo) {
2561
2547
  widest: "0.15em"
2562
2548
  }[spacing]};`];
2563
2549
  }
2550
+ /**
2551
+ * The site name's weight, case and width, each only when the recipe states it. The width is checked
2552
+ * against the logo's own family the way typography widths are: a family whose width axis doesn't reach
2553
+ * it (after the owner picks another heading font, say) draws the site name at its normal width.
2554
+ */
2555
+ function logoTypeRules(logo, typography) {
2556
+ return [
2557
+ ...logo?.weight ? [`font-weight: ${mapWeight(logo.weight)};`] : [],
2558
+ ...logo?.case ? [`text-transform: ${logo.case === "uppercase" ? "uppercase" : "none"};`] : [],
2559
+ ...logoWidthRules(logo, typography)
2560
+ ];
2561
+ }
2562
+ function logoWidthRules(logo, typography) {
2563
+ if (logo?.width == null) return [];
2564
+ const family = logo.fontFamily === "body" ? typography.body.family : typography.headings.default.family;
2565
+ return fontWidthFits(logo.width, family) ? [`font-stretch: ${logo.width}%;`] : [];
2566
+ }
2564
2567
  function logoContrastRules(input) {
2565
2568
  const colorToken = input.textColor?.trim() || input.fallbackTextColor?.trim() || "text";
2566
2569
  const shadow = buildTextContrastShadow({
@@ -3098,6 +3101,11 @@ function arcMaskDataUrl(echo) {
3098
3101
  const lines = arcEchoLinePaths.map((d) => `<path d='${d}' fill='none' stroke='url(#fade)' stroke-width='1.5' vector-effect='non-scaling-stroke'/>`).join("");
3099
3102
  return svgDataUrl(`<svg viewBox='0 0 1440 110' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'>${echo ? `<defs><linearGradient id='fade' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='1440' y2='0'><stop offset='0' stop-color='black' stop-opacity='0.42'/><stop offset='0.5' stop-color='black' stop-opacity='0'/><stop offset='1' stop-color='black' stop-opacity='0.42'/></linearGradient><mask id='lines'><rect width='1440' height='110' fill='white'/>${lines}</mask></defs><path d='${arcShapePath}' fill='white' mask='url(#lines)'/>` : `<path d='${arcShapePath}' fill='white'/>`}</svg>`);
3100
3103
  }
3104
+ /** One half disc of the next colour, rising from the join. Between two of them the colour above shows as a punched hole would. */
3105
+ function tornMaskDataUrl(pitchPx, holeRadiusPx) {
3106
+ const height = Math.ceil(holeRadiusPx);
3107
+ return svgDataUrl(`<svg viewBox='0 0 ${pitchPx} ${height}' xmlns='http://www.w3.org/2000/svg'><circle cx='${pitchPx / 2}' cy='${height}' r='${holeRadiusPx}' fill='white'/></svg>`);
3108
+ }
3101
3109
  function waveMaskDataUrl(mask) {
3102
3110
  return svgDataUrl(`<svg viewBox='0 0 1440 72' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><path d='${waveMaskSvgPaths[mask]}' fill='white'/></svg>`);
3103
3111
  }
@@ -3210,6 +3218,20 @@ function shapeDeclarations(entry) {
3210
3218
  ];
3211
3219
  case "wave": return maskDeclarations(waveMaskDataUrl(entry.shape.mask));
3212
3220
  case "arc": return [...maskDeclarations(entry.shape.bulge ? arcBulgeMaskDataUrl() : arcMaskDataUrl(entry.shape.echo === true)), "height: calc(var(--boundary-height) + 2px);"];
3221
+ case "torn": {
3222
+ const mask = tornMaskDataUrl(entry.shape.pitchPx, entry.shape.holeRadiusPx);
3223
+ return [
3224
+ "background: var(--boundary-shape-paint);",
3225
+ `mask-image: url("${mask}");`,
3226
+ "mask-repeat: repeat-x;",
3227
+ `mask-size: ${entry.shape.pitchPx}px 100%;`,
3228
+ "mask-position: center bottom;",
3229
+ `-webkit-mask-image: url("${mask}");`,
3230
+ "-webkit-mask-repeat: repeat-x;",
3231
+ `-webkit-mask-size: ${entry.shape.pitchPx}px 100%;`,
3232
+ "-webkit-mask-position: center bottom;"
3233
+ ];
3234
+ }
3213
3235
  case "angle": return [
3214
3236
  "height: calc(var(--boundary-height) + 2px);",
3215
3237
  "background: var(--boundary-shape-paint);",
@@ -3854,15 +3876,6 @@ function typographyFontRoleCssVars(typography) {
3854
3876
  } : {}
3855
3877
  };
3856
3878
  }
3857
- function mapWeight(w) {
3858
- return {
3859
- light: 300,
3860
- regular: 400,
3861
- medium: 500,
3862
- semibold: 600,
3863
- bold: 700
3864
- }[w];
3865
- }
3866
3879
  function mapShadow(level, softness, position = "bottom", colorToken) {
3867
3880
  if (level === "none") return "none";
3868
3881
  const tintVar = colorToken ? cssVarValue(colorToken) : null;
@@ -5106,6 +5119,45 @@ function StepIndicator$1({ currentStep, totalSteps, stepLabels, classPrefix, emi
5106
5119
  });
5107
5120
  }
5108
5121
  //#endregion
5122
+ //#region ../blocks/src/system/runtime/shared/components/ChoiceGroup.tsx
5123
+ function ChoiceGroup(props) {
5124
+ const size = props.size ?? "pill";
5125
+ return /* @__PURE__ */ jsxs("fieldset", {
5126
+ className: ["rb-choice-group", props.className].filter(Boolean).join(" "),
5127
+ "data-choice-size": size,
5128
+ disabled: props.disabled,
5129
+ children: [/* @__PURE__ */ jsx("legend", {
5130
+ className: props.legendHidden ? "rb-choice-legend rb-choice-legend--hidden" : "rb-choice-legend",
5131
+ children: props.legend
5132
+ }), /* @__PURE__ */ jsx("div", {
5133
+ className: "rb-choice-options",
5134
+ children: props.options.map((option) => /* @__PURE__ */ jsxs("label", {
5135
+ className: "rb-choice",
5136
+ "data-choice-size": size,
5137
+ children: [/* @__PURE__ */ jsx("input", {
5138
+ type: "radio",
5139
+ className: "rb-choice-input",
5140
+ name: props.name,
5141
+ value: option.value,
5142
+ required: props.required,
5143
+ disabled: option.disabled,
5144
+ ...props.value === void 0 ? { defaultChecked: option.value === props.defaultValue } : { checked: option.value === props.value },
5145
+ onChange: props.onChange ? () => props.onChange?.(option.value) : void 0
5146
+ }), /* @__PURE__ */ jsxs("span", {
5147
+ className: "rb-choice-face",
5148
+ children: [/* @__PURE__ */ jsx("span", {
5149
+ className: "rb-choice-label",
5150
+ children: option.label
5151
+ }), option.detail ? /* @__PURE__ */ jsx("span", {
5152
+ className: "rb-choice-detail",
5153
+ children: option.detail
5154
+ }) : null]
5155
+ })]
5156
+ }, option.value))
5157
+ })]
5158
+ });
5159
+ }
5160
+ //#endregion
5109
5161
  //#region ../blocks/src/system/runtime/nodes/events/shared/EventCard.tsx
5110
5162
  /**
5111
5163
  * EventCard Component
@@ -5713,9 +5765,12 @@ const formSchema = z.union([z.null(), z.object({
5713
5765
  slug: z.string().optional()
5714
5766
  })]).transform((form) => form !== null);
5715
5767
  const productsSchema = z.object({ products: z.array(z.object({ slug: z.string() })) });
5768
+ const passesSchema = z.object({ passes: countSchema }).transform(({ passes }) => passes);
5769
+ const membershipsSchema = z.object({ memberships: countSchema }).transform(({ memberships }) => memberships);
5716
5770
  /** Both producers pass raw facts through the same stage admission. */
5717
5771
  function readinessFactsFromLoaders(stage, input) {
5718
5772
  const facts = {
5773
+ catalogue: loaderFactProducers.catalogue(input),
5719
5774
  mailingList: loaderFactProducers.mailingList(input),
5720
5775
  testimonials: loaderFactProducers.testimonials(input),
5721
5776
  events: loaderFactProducers.events(input),
@@ -5730,8 +5785,16 @@ function readinessFactsFromLoaders(stage, input) {
5730
5785
  });
5731
5786
  }
5732
5787
  const loaderFactProducers = {
5788
+ catalogue: (input) => {
5789
+ const passes = firstLoaderFact(input, "catalogue", "passes", passesSchema);
5790
+ const memberships = firstLoaderFact(input, "catalogue", "memberships", membershipsSchema);
5791
+ return passes.kind === "Loaded" && memberships.kind === "Loaded" ? loadedReadinessFact({
5792
+ passes: passes.value,
5793
+ memberships: memberships.value
5794
+ }) : unavailableReadinessFact;
5795
+ },
5733
5796
  mailingList: (input) => input.mailingList === void 0 ? unavailableReadinessFact : loadedReadinessFact(input.mailingList),
5734
- testimonials: (input) => mapFact(firstLoaderFact(input, "testimonials", "entries", countSchema), (count) => ({
5797
+ testimonials: (input) => mapReadinessFact(firstLoaderFact(input, "testimonials", "entries", countSchema), (count) => ({
5735
5798
  count,
5736
5799
  total: "unknown"
5737
5800
  })),
@@ -5743,7 +5806,7 @@ const loaderFactProducers = {
5743
5806
  })),
5744
5807
  products: (input) => new Map(projections(input, "products").flatMap(({ id, block }) => {
5745
5808
  const selection = chosenString(block.content.productSlug);
5746
- return selection ? [[selection, mapFact(loaderFact(input, id, "products", productsSchema), ({ products }) => products.some((product) => product.slug === selection))]] : [];
5809
+ return selection ? [[selection, mapReadinessFact(loaderFact(input, id, "products", productsSchema), ({ products }) => products.some((product) => product.slug === selection))]] : [];
5747
5810
  })),
5748
5811
  template: (input) => loadedReadinessFact(input.template)
5749
5812
  };
@@ -5764,9 +5827,6 @@ function loaderFact(input, id, key, schema) {
5764
5827
  const parsed = z.safeParse(schema, prefetched.resolvedData[id]?.[key]);
5765
5828
  return parsed.success ? loadedReadinessFact(parsed.data) : unavailableReadinessFact;
5766
5829
  }
5767
- function mapFact(fact, project) {
5768
- return fact.kind === "Loaded" ? loadedReadinessFact(project(fact.value)) : fact;
5769
- }
5770
5830
  //#endregion
5771
5831
  //#region ../blocks/src/system/runtime/nodes/carousel.shared.ts
5772
5832
  /**
@@ -6246,7 +6306,8 @@ function renderMark(mark, key, child) {
6246
6306
  /**
6247
6307
  * `compact` (event details) is one plain Google Maps text link under the venue;
6248
6308
  * `block` (the map block) leads with a secondary directions button and keeps
6249
- * the same Google Maps text link beside it.
6309
+ * the same Google Maps text link beside it. Look layouts mark the row as the
6310
+ * `actions` slot, so a skin dresses it like every other button row.
6250
6311
  */
6251
6312
  function LocationMapActions(props) {
6252
6313
  const links = locationMapLinks(props);
@@ -6254,6 +6315,7 @@ function LocationMapActions(props) {
6254
6315
  const googleMapsLabel = props.googleMapsLabel ?? "Open in Google Maps";
6255
6316
  if (props.layout === "block") return /* @__PURE__ */ jsxs("div", {
6256
6317
  className: "rb-location-map-actions",
6318
+ "data-slot": props.lookLayout ? "actions" : void 0,
6257
6319
  children: [links.directions ? /* @__PURE__ */ jsx(ThemedButtonLink, {
6258
6320
  href: links.directions,
6259
6321
  target: "_blank",
@@ -6560,6 +6622,7 @@ function LocationMapPlace(props) {
6560
6622
  }) : null,
6561
6623
  props.showDirections ? /* @__PURE__ */ jsx(LocationMapActions, {
6562
6624
  layout: "block",
6625
+ lookLayout: props.lookLayout,
6563
6626
  location: props.location,
6564
6627
  addressText: props.addressText,
6565
6628
  directionsLabel: props.directionsLabel,
@@ -8588,25 +8651,42 @@ function resolveEventDetailsPresentation(input) {
8588
8651
  };
8589
8652
  }
8590
8653
  //#endregion
8654
+ //#region ../blocks/src/system/runtime/nodes/event-details/detailSlots.ts
8655
+ function resolveDetailSlots(presentation) {
8656
+ return {
8657
+ detail: listLookSlot(presentation, "detail"),
8658
+ label: listLookSlot(presentation, "detail-label"),
8659
+ value: listLookSlot(presentation, "detail-value"),
8660
+ sessions: listLookSlot(presentation, "sessions"),
8661
+ session: listLookSlot(presentation, "session")
8662
+ };
8663
+ }
8664
+ //#endregion
8591
8665
  //#region ../blocks/src/system/runtime/nodes/event-details/WholeSeriesPricingDisplay.tsx
8592
8666
  /** A course lists every active option, whether or not its sale window is open. */
8593
8667
  function wholeSeriesPriceOptions(pricing) {
8594
8668
  return pricing.kind === "tiered" ? pricing.options.filter((option) => option.isActive) : [];
8595
8669
  }
8596
8670
  /** The price, with any deposit option said beside it. */
8597
- function PriceLine({ price, depositNote }) {
8598
- return /* @__PURE__ */ jsxs("p", { children: [/* @__PURE__ */ jsx("strong", { children: price }), depositNote ? `, ${depositNote}` : null] });
8671
+ function PriceLine({ price, depositNote, valueSlot }) {
8672
+ return /* @__PURE__ */ jsxs("p", {
8673
+ ...valueSlot,
8674
+ children: [/* @__PURE__ */ jsx("strong", { children: price }), depositNote ? `, ${depositNote}` : null]
8675
+ });
8599
8676
  }
8600
- function WholeSeriesPricingDisplay({ pricing, depositNote, acceptedItems }) {
8677
+ function WholeSeriesPricingDisplay({ pricing, depositNote, acceptedItems, slots }) {
8601
8678
  const options = wholeSeriesPriceOptions(pricing);
8602
8679
  return /* @__PURE__ */ jsxs("div", {
8680
+ ...slots.detail,
8603
8681
  className: "rb-mt-6",
8604
8682
  children: [
8605
8683
  /* @__PURE__ */ jsx("div", {
8684
+ ...slots.label,
8606
8685
  className: "rb-label rb-mb-2",
8607
8686
  children: options.length > 1 ? "Pricing" : "Cost"
8608
8687
  }),
8609
8688
  options.length > 1 ? /* @__PURE__ */ jsx("div", {
8689
+ ...slots.value,
8610
8690
  className: "rb-flex rb-flex-col rb-gap-2",
8611
8691
  children: options.map((option) => /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsxs("strong", { children: [
8612
8692
  option.name,
@@ -8619,7 +8699,8 @@ function WholeSeriesPricingDisplay({ pricing, depositNote, acceptedItems }) {
8619
8699
  }) : null] }, option.id))
8620
8700
  }) : /* @__PURE__ */ jsx(PriceLine, {
8621
8701
  price: formatBookingPriceDisplay(publicEventPricingDisplay(pricing), { decimals: "auto" }),
8622
- depositNote
8702
+ depositNote,
8703
+ valueSlot: slots.value
8623
8704
  }),
8624
8705
  depositNote && options.length > 1 ? /* @__PURE__ */ jsxs("p", {
8625
8706
  className: "rb-caption rb-mt-1",
@@ -8666,13 +8747,16 @@ function TicketTypePriceList({ ticketTypes, currency }) {
8666
8747
  }, ticketType.id))
8667
8748
  });
8668
8749
  }
8669
- function EventPricingDetails({ isDropIn, wholeSeriesPricingDisplay, acceptedItems, eventCostLabel, depositNote, eventPricingCurrency, ticketTypes, autoApplyDiscount }) {
8750
+ function EventPricingDetails({ isDropIn, wholeSeriesPricingDisplay, acceptedItems, eventCostLabel, depositNote, eventPricingCurrency, ticketTypes, autoApplyDiscount, slots }) {
8670
8751
  if (isDropIn) return /* @__PURE__ */ jsxs("div", {
8752
+ ...slots.detail,
8671
8753
  className: "rb-mt-6",
8672
8754
  children: [/* @__PURE__ */ jsx("div", {
8755
+ ...slots.label,
8673
8756
  className: "rb-label rb-mb-2",
8674
8757
  children: "Registration"
8675
8758
  }), /* @__PURE__ */ jsx("p", {
8759
+ ...slots.value,
8676
8760
  className: "rb-caption status-muted",
8677
8761
  children: "No registration required - just show up"
8678
8762
  })]
@@ -8680,18 +8764,22 @@ function EventPricingDetails({ isDropIn, wholeSeriesPricingDisplay, acceptedItem
8680
8764
  if (wholeSeriesPricingDisplay) return /* @__PURE__ */ jsx(WholeSeriesPricingDisplay, {
8681
8765
  pricing: wholeSeriesPricingDisplay,
8682
8766
  depositNote,
8683
- acceptedItems: [...acceptedItems]
8767
+ acceptedItems: [...acceptedItems],
8768
+ slots
8684
8769
  });
8685
8770
  if (eventCostLabel) return /* @__PURE__ */ jsxs("div", {
8771
+ ...slots.detail,
8686
8772
  className: "rb-mt-6",
8687
8773
  children: [
8688
8774
  /* @__PURE__ */ jsx("div", {
8775
+ ...slots.label,
8689
8776
  className: "rb-label rb-mb-2",
8690
8777
  children: "Cost"
8691
8778
  }),
8692
8779
  /* @__PURE__ */ jsx(PriceLine, {
8693
8780
  price: eventCostLabel,
8694
- depositNote
8781
+ depositNote,
8782
+ valueSlot: slots.value
8695
8783
  }),
8696
8784
  autoApplyDiscount && eventPricingCurrency ? /* @__PURE__ */ jsx("p", {
8697
8785
  className: "rb-caption rb-mt-1",
@@ -8708,14 +8796,16 @@ function EventPricingDetails({ isDropIn, wholeSeriesPricingDisplay, acceptedItem
8708
8796
  ]
8709
8797
  });
8710
8798
  return acceptedItems.length > 0 ? /* @__PURE__ */ jsx("div", {
8799
+ ...slots.detail,
8711
8800
  className: "rb-mt-6",
8712
8801
  children: /* @__PURE__ */ jsxs("p", {
8802
+ ...slots.value,
8713
8803
  className: "rb-caption",
8714
8804
  children: ["You can also attend with: ", acceptedItems.join(", ")]
8715
8805
  })
8716
8806
  }) : null;
8717
8807
  }
8718
- function EventFacts({ selection, selected, venue, online, addressAfterBooking, teamMembers, pricing, showCapacity, lookSlots }) {
8808
+ function EventFacts({ selection, selected, venue, online, addressAfterBooking, teamMembers, pricing, showCapacity, lookSlots, slots }) {
8719
8809
  const { date, timeRange } = formatEventDateParts({
8720
8810
  startsAt: selected.startsAt,
8721
8811
  endsAt: selected.endsAt,
@@ -8726,34 +8816,51 @@ function EventFacts({ selection, selected, venue, online, addressAfterBooking, t
8726
8816
  ...listLookSlot({ lookSlots }, "facts"),
8727
8817
  className: "rb-flex rb-flex-col rb-gap-4",
8728
8818
  children: [
8729
- /* @__PURE__ */ jsxs("div", { children: [
8730
- /* @__PURE__ */ jsx("div", {
8731
- className: "rb-label rb-mb-2",
8732
- children: dateHeading
8733
- }),
8734
- /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: date }) }),
8735
- /* @__PURE__ */ jsx("p", {
8736
- className: "rb-caption",
8737
- children: timeRange
8738
- })
8739
- ] }),
8819
+ /* @__PURE__ */ jsxs("div", {
8820
+ ...slots.detail,
8821
+ children: [
8822
+ /* @__PURE__ */ jsx("div", {
8823
+ ...slots.label,
8824
+ className: "rb-label rb-mb-2",
8825
+ children: dateHeading
8826
+ }),
8827
+ /* @__PURE__ */ jsx("p", {
8828
+ ...slots.value,
8829
+ children: /* @__PURE__ */ jsx("strong", { children: date })
8830
+ }),
8831
+ /* @__PURE__ */ jsx("p", {
8832
+ className: "rb-caption",
8833
+ children: timeRange
8834
+ })
8835
+ ]
8836
+ }),
8740
8837
  /* @__PURE__ */ jsx(EventVenueFact, {
8741
8838
  venue,
8742
8839
  online,
8743
- addressAfterBooking
8840
+ addressAfterBooking,
8841
+ slots
8842
+ }),
8843
+ /* @__PURE__ */ jsx(EventTeacherFacts, {
8844
+ teamMembers,
8845
+ slots
8744
8846
  }),
8745
- /* @__PURE__ */ jsx(EventTeacherFacts, { teamMembers }),
8746
8847
  showCapacity && selected.capacity != null ? /* @__PURE__ */ jsxs("div", {
8848
+ ...slots.detail,
8747
8849
  className: "rb-mt-6",
8748
8850
  children: [/* @__PURE__ */ jsx("div", {
8851
+ ...slots.label,
8749
8852
  className: "rb-label rb-mb-2",
8750
8853
  children: "Places"
8751
- }), /* @__PURE__ */ jsx("p", { children: formatEventRemainingPlaces(selected) ?? formatTotalCapacity(selected.capacity) })]
8854
+ }), /* @__PURE__ */ jsx("p", {
8855
+ ...slots.value,
8856
+ children: formatEventRemainingPlaces(selected) ?? formatTotalCapacity(selected.capacity)
8857
+ })]
8752
8858
  }) : null,
8753
8859
  pricing,
8754
8860
  selection.kind === "wholeSeries" ? /* @__PURE__ */ jsx(BookingState, {
8755
8861
  phase: selection.bookingPhase,
8756
- event: selected
8862
+ event: selected,
8863
+ slots
8757
8864
  }) : null
8758
8865
  ]
8759
8866
  });
@@ -8762,23 +8869,33 @@ const eventOnlinePlaceShown = (event, showVenue) => showVenue ? eventOnlinePlace
8762
8869
  const hasEventPlaceFact = (event, showVenue) => showVenue && (Boolean(event.venue) || eventOnlinePlace(event) !== null || event.addressAfterBooking === true);
8763
8870
  const addressAfterBookingShown = (event, showVenue) => showVenue && event.addressAfterBooking === true;
8764
8871
  /** Where a venue would go: online, the owner's word that the address follows the booking, or nothing at all. */
8765
- function EventPlaceWithoutVenue({ online, addressAfterBooking }) {
8872
+ function EventPlaceWithoutVenue({ online, addressAfterBooking, slots }) {
8766
8873
  if (!online && !addressAfterBooking) return null;
8767
8874
  if (!online) return /* @__PURE__ */ jsxs("div", {
8875
+ ...slots.detail,
8768
8876
  className: "rb-mt-6",
8769
8877
  children: [/* @__PURE__ */ jsx("div", {
8878
+ ...slots.label,
8770
8879
  className: "rb-label rb-mb-2",
8771
8880
  children: "Venue"
8772
- }), /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: EVENT_ADDRESS_AFTER_BOOKING_LABEL }) })]
8881
+ }), /* @__PURE__ */ jsx("p", {
8882
+ ...slots.value,
8883
+ children: /* @__PURE__ */ jsx("strong", { children: EVENT_ADDRESS_AFTER_BOOKING_LABEL })
8884
+ })]
8773
8885
  });
8774
8886
  return /* @__PURE__ */ jsxs("div", {
8887
+ ...slots.detail,
8775
8888
  className: "rb-mt-6",
8776
8889
  children: [
8777
8890
  /* @__PURE__ */ jsx("div", {
8891
+ ...slots.label,
8778
8892
  className: "rb-label rb-mb-2",
8779
8893
  children: "Venue"
8780
8894
  }),
8781
- /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: online.mode === "online" ? "Online" : "In person or online" }) }),
8895
+ /* @__PURE__ */ jsx("p", {
8896
+ ...slots.value,
8897
+ children: /* @__PURE__ */ jsx("strong", { children: online.mode === "online" ? "Online" : "In person or online" })
8898
+ }),
8782
8899
  addressAfterBooking ? /* @__PURE__ */ jsxs("p", {
8783
8900
  className: "rb-caption",
8784
8901
  children: [EVENT_ADDRESS_AFTER_BOOKING_LABEL, "."]
@@ -8791,20 +8908,26 @@ function EventPlaceWithoutVenue({ online, addressAfterBooking }) {
8791
8908
  });
8792
8909
  }
8793
8910
  /** An online event says so where a venue would go; a hybrid one adds it under the venue. */
8794
- function EventVenueFact({ venue, online, addressAfterBooking }) {
8911
+ function EventVenueFact({ venue, online, addressAfterBooking, slots }) {
8795
8912
  if (!venue) return /* @__PURE__ */ jsx(EventPlaceWithoutVenue, {
8796
8913
  online,
8797
- addressAfterBooking
8914
+ addressAfterBooking,
8915
+ slots
8798
8916
  });
8799
8917
  const { place, addressWithBooking } = eventVenuePlace(venue);
8800
8918
  return /* @__PURE__ */ jsxs("div", {
8919
+ ...slots.detail,
8801
8920
  className: "rb-mt-6",
8802
8921
  children: [
8803
8922
  /* @__PURE__ */ jsx("div", {
8923
+ ...slots.label,
8804
8924
  className: "rb-label rb-mb-2",
8805
8925
  children: "Venue"
8806
8926
  }),
8807
- /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: venue.name }) }),
8927
+ /* @__PURE__ */ jsx("p", {
8928
+ ...slots.value,
8929
+ children: /* @__PURE__ */ jsx("strong", { children: venue.name })
8930
+ }),
8808
8931
  place ? /* @__PURE__ */ jsx("p", {
8809
8932
  className: "rb-caption",
8810
8933
  children: place
@@ -8823,13 +8946,16 @@ function EventVenueFact({ venue, online, addressAfterBooking }) {
8823
8946
  ]
8824
8947
  });
8825
8948
  }
8826
- function EventTeacherFacts({ teamMembers }) {
8949
+ function EventTeacherFacts({ teamMembers, slots }) {
8827
8950
  return teamMembers.length ? /* @__PURE__ */ jsxs("div", {
8951
+ ...slots.detail,
8828
8952
  className: "rb-mt-6",
8829
8953
  children: [/* @__PURE__ */ jsx("div", {
8954
+ ...slots.label,
8830
8955
  className: "rb-label rb-mb-2",
8831
8956
  children: "With"
8832
8957
  }), /* @__PURE__ */ jsx("div", {
8958
+ ...slots.value,
8833
8959
  className: "rb-flex rb-flex-col rb-gap-3",
8834
8960
  children: teamMembers.map((member) => /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx(TeamMemberName, {
8835
8961
  name: member.name,
@@ -8863,15 +8989,20 @@ function runLifecycleLabel(lifecycle) {
8863
8989
  * the booking panel beside it says cancelled is the contradiction a visitor
8864
8990
  * actually notices.
8865
8991
  */
8866
- function BookingState({ phase, event }) {
8992
+ function BookingState({ phase, event, slots }) {
8867
8993
  return /* @__PURE__ */ jsxs("div", {
8994
+ ...slots.detail,
8868
8995
  className: "rb-mt-6",
8869
8996
  children: [
8870
8997
  /* @__PURE__ */ jsx("div", {
8998
+ ...slots.label,
8871
8999
  className: "rb-label rb-mb-2",
8872
9000
  children: "Booking"
8873
9001
  }),
8874
- /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: phase.kind === "closed" ? "Closed" : isEventFull(event) ? formatEventRemainingPlaces(event) : "Open" }) }),
9002
+ /* @__PURE__ */ jsx("p", {
9003
+ ...slots.value,
9004
+ children: /* @__PURE__ */ jsx("strong", { children: phase.kind === "closed" ? "Closed" : isEventFull(event) ? formatEventRemainingPlaces(event) : "Open" })
9005
+ }),
8875
9006
  phase.kind === "closed" ? /* @__PURE__ */ jsx("p", {
8876
9007
  className: "rb-caption",
8877
9008
  children: bookingClosedReason(phase.reason)
@@ -8897,16 +9028,19 @@ function bookingClosedReason(reason) {
8897
9028
  * the list and says so: dropping it would leave a visitor wondering whether
8898
9029
  * they had misremembered the dates.
8899
9030
  */
8900
- function SessionSchedule({ sessions, event }) {
9031
+ function SessionSchedule({ sessions, event, slots }) {
8901
9032
  if (sessions.length === 0) return null;
8902
9033
  return /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("div", {
9034
+ ...slots.label,
8903
9035
  className: "rb-label",
8904
9036
  children: "Session schedule"
8905
9037
  }), /* @__PURE__ */ jsx("div", {
9038
+ ...slots.sessions,
8906
9039
  className: "rb-mt-2 rb-tiles-grid",
8907
9040
  children: sessions.map((session) => {
8908
9041
  const cancelled = session.status === CANCELLED_SESSION_STATUS;
8909
9042
  return /* @__PURE__ */ jsxs("div", {
9043
+ ...slots.session,
8910
9044
  className: `rb-tile${cancelled ? " rb-tile--cancelled" : ""}`,
8911
9045
  children: [/* @__PURE__ */ jsx(DateTimeTile, {
8912
9046
  startsAt: session.startsAt,
@@ -8923,20 +9057,24 @@ function SessionSchedule({ sessions, event }) {
8923
9057
  })
8924
9058
  })] });
8925
9059
  }
8926
- function OtherEventDates({ selection }) {
9060
+ function OtherEventDates({ selection, slots }) {
8927
9061
  if (selection.kind === "empty") return null;
8928
9062
  if (selection.kind === "wholeSeries") return /* @__PURE__ */ jsx(SessionSchedule, {
8929
9063
  sessions: selection.sessions,
8930
- event: selection.selected
9064
+ event: selection.selected,
9065
+ slots
8931
9066
  });
8932
9067
  const dates = selection.otherDates;
8933
9068
  if (dates.length === 0) return null;
8934
9069
  return /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("div", {
9070
+ ...slots.label,
8935
9071
  className: "rb-label",
8936
9072
  children: "Other dates"
8937
9073
  }), /* @__PURE__ */ jsx("div", {
9074
+ ...slots.sessions,
8938
9075
  className: "rb-mt-2 rb-tiles-grid",
8939
9076
  children: dates.map((event) => /* @__PURE__ */ jsx("a", {
9077
+ ...slots.session,
8940
9078
  className: "rb-tile rb-tile--interactive",
8941
9079
  ...resolveEventPageLink(event),
8942
9080
  children: /* @__PURE__ */ jsx(DateTimeTile, {
@@ -9007,6 +9145,7 @@ function SelectedEventDetailsView(props) {
9007
9145
  className: "rb-grid rb-grid-cols-1 rb-gap-6 rb-items-start rb-sm-grid-cols-2",
9008
9146
  children: [/* @__PURE__ */ jsx(EventFacts, {
9009
9147
  lookSlots: props.lookSlots,
9148
+ slots: props.slots,
9010
9149
  selection,
9011
9150
  selected,
9012
9151
  venue,
@@ -9017,7 +9156,8 @@ function SelectedEventDetailsView(props) {
9017
9156
  pricing: /* @__PURE__ */ jsx(EventPricingDetails, {
9018
9157
  ...pricing,
9019
9158
  acceptedItems,
9020
- autoApplyDiscount: props.autoApplyDiscount ?? null
9159
+ autoApplyDiscount: props.autoApplyDiscount ?? null,
9160
+ slots: props.slots
9021
9161
  })
9022
9162
  }), /* @__PURE__ */ jsx(EventVenueMap, {
9023
9163
  venue,
@@ -9027,7 +9167,10 @@ function SelectedEventDetailsView(props) {
9027
9167
  drawing: props.selectedVenueDrawing
9028
9168
  })]
9029
9169
  }),
9030
- showOtherDates ? /* @__PURE__ */ jsx(OtherEventDates, { selection }) : null
9170
+ showOtherDates ? /* @__PURE__ */ jsx(OtherEventDates, {
9171
+ selection,
9172
+ slots: props.slots
9173
+ }) : null
9031
9174
  ]
9032
9175
  });
9033
9176
  }
@@ -9038,6 +9181,7 @@ function LegacyEventDetailsView(props) {
9038
9181
  });
9039
9182
  return /* @__PURE__ */ jsx(SelectedEventDetailsView, {
9040
9183
  lookSlots: props.lookSlots,
9184
+ slots: resolveDetailSlots(props),
9041
9185
  selection: props.selection,
9042
9186
  showVenue: props.showVenue,
9043
9187
  showMap: props.showMap,
@@ -9087,34 +9231,48 @@ function EventDetailsView(input) {
9087
9231
  function EventHeaderPanel(props) {
9088
9232
  const content = headerPanelContent(props);
9089
9233
  if (!content.hasFacts && !content.hasMap && !content.hasDates) return null;
9234
+ const slots = resolveDetailSlots(props);
9090
9235
  return /* @__PURE__ */ jsx("div", {
9091
9236
  ...listLookSlot(props, "panel"),
9092
9237
  children: /* @__PURE__ */ jsxs("div", {
9093
9238
  className: "rb-flex rb-flex-col rb-gap-6 rb-text-left",
9094
9239
  children: [content.hasFacts || content.hasMap ? /* @__PURE__ */ jsxs("div", {
9095
9240
  className: "rb-grid rb-grid-cols-1 rb-gap-6 rb-items-start rb-sm-grid-cols-2",
9096
- children: [content.hasFacts ? /* @__PURE__ */ jsx(HeaderPanelFacts, { ...content }) : null, /* @__PURE__ */ jsx(EventVenueMap, {
9241
+ children: [content.hasFacts ? /* @__PURE__ */ jsx(HeaderPanelFacts, {
9242
+ ...content,
9243
+ slots
9244
+ }) : null, /* @__PURE__ */ jsx(EventVenueMap, {
9097
9245
  venue: content.venue,
9098
9246
  showMap: props.showMap,
9099
9247
  drawing: props.selectedVenueDrawing,
9100
9248
  mapHeight: props.mapHeight ?? 200,
9101
9249
  mapClassName: props.mapClassName ?? "event-details-map"
9102
9250
  })]
9103
- }) : null, content.hasDates ? /* @__PURE__ */ jsx(OtherEventDates, { selection: props.selection }) : null]
9251
+ }) : null, content.hasDates ? /* @__PURE__ */ jsx(OtherEventDates, {
9252
+ selection: props.selection,
9253
+ slots
9254
+ }) : null]
9104
9255
  })
9105
9256
  });
9106
9257
  }
9107
- function HeaderPanelFacts({ venue, online, addressAfterBooking, teamMembers, pricing }) {
9258
+ function HeaderPanelFacts({ venue, online, addressAfterBooking, teamMembers, pricing, slots }) {
9108
9259
  return /* @__PURE__ */ jsxs("div", {
9109
9260
  className: "rb-flex rb-flex-col rb-gap-4",
9110
9261
  children: [
9111
9262
  /* @__PURE__ */ jsx(EventVenueFact, {
9112
9263
  venue,
9113
9264
  online,
9114
- addressAfterBooking
9265
+ addressAfterBooking,
9266
+ slots
9115
9267
  }),
9116
- /* @__PURE__ */ jsx(EventTeacherFacts, { teamMembers }),
9117
- pricing ? /* @__PURE__ */ jsx(EventPricingDetails, { ...pricing }) : null
9268
+ /* @__PURE__ */ jsx(EventTeacherFacts, {
9269
+ teamMembers,
9270
+ slots
9271
+ }),
9272
+ pricing ? /* @__PURE__ */ jsx(EventPricingDetails, {
9273
+ ...pricing,
9274
+ slots
9275
+ }) : null
9118
9276
  ]
9119
9277
  });
9120
9278
  }
@@ -10373,8 +10531,8 @@ function buildSlotCtaLabel(ctaText, slot) {
10373
10531
  }
10374
10532
  function WeeklySlotAvailabilityView({ availability, loading = false, error, emptyMessage, ctaText, ctaUrl }) {
10375
10533
  const slots = availability?.slots ?? [];
10376
- const resolvedEmptyMessage = emptyMessage ?? "No regular weekly openings are currently available.";
10377
- const resolvedCtaText = ctaText ?? "Enquire about this slot";
10534
+ const resolvedEmptyMessage = emptyMessage?.trim() || "No regular weekly openings are currently available.";
10535
+ const resolvedCtaText = ctaText?.trim() || "Enquire about this slot";
10378
10536
  const resolvedCtaUrl = typeof ctaUrl === "string" ? ctaUrl.trim() : "";
10379
10537
  return /* @__PURE__ */ jsxs("div", {
10380
10538
  className: "weekly-slot-availability",
@@ -10538,6 +10696,11 @@ function RecurringScheduleRow({ item, locale, buttonText, buttonVariant, showVen
10538
10696
  });
10539
10697
  }
10540
10698
  //#endregion
10699
+ //#region ../blocks/src/system/runtime/editorParts.ts
10700
+ const unmarked = {};
10701
+ /** Visitors' pages, and any renderer the editor doesn't drive. */
10702
+ const noEditorParts = () => unmarked;
10703
+ //#endregion
10541
10704
  //#region ../blocks/src/system/runtime/nodes/commerce/shared/view.tsx
10542
10705
  function VariantSelectView(props) {
10543
10706
  const { options, selectedVariantId, disabled = false, onChange } = props;
@@ -10786,9 +10949,10 @@ function MembershipCardView(props) {
10786
10949
  });
10787
10950
  }
10788
10951
  function PassesMembershipsSectionView(props) {
10789
- const { display, beforeContent, passCards, membershipCards } = props;
10952
+ const { display, beforeContent, passCards, membershipCards, part = noEditorParts } = props;
10790
10953
  if (props.presentation?.lookSlots) return /* @__PURE__ */ jsx(ShopCardListSections, {
10791
10954
  ...props,
10955
+ part,
10792
10956
  presentation: props.presentation
10793
10957
  });
10794
10958
  const productsClass = `shop__products shop__products--${display.layout}`;
@@ -10808,6 +10972,7 @@ function PassesMembershipsSectionView(props) {
10808
10972
  className: "shop__section shop__section--passes",
10809
10973
  children: [/* @__PURE__ */ jsx("h3", {
10810
10974
  className: "shop__section-heading",
10975
+ ...part("passesHeading"),
10811
10976
  children: display.passesHeading
10812
10977
  }), /* @__PURE__ */ jsx("div", {
10813
10978
  className: productsClass,
@@ -10818,6 +10983,7 @@ function PassesMembershipsSectionView(props) {
10818
10983
  className: "shop__section shop__section--memberships",
10819
10984
  children: [/* @__PURE__ */ jsx("h3", {
10820
10985
  className: "shop__section-heading",
10986
+ ...part("membershipsHeading"),
10821
10987
  children: display.membershipsHeading
10822
10988
  }), /* @__PURE__ */ jsx("div", {
10823
10989
  className: productsClass,
@@ -10885,13 +11051,15 @@ function CheckoutShellView(props) {
10885
11051
  });
10886
11052
  }
10887
11053
  function ShopCardListSections(props) {
10888
- const { display, presentation } = props;
11054
+ const { display, presentation, part } = props;
10889
11055
  const groups = [{
10890
11056
  heading: display.passesHeading,
11057
+ headingPart: part("passesHeading"),
10891
11058
  items: display.passes,
10892
11059
  cards: props.passCards
10893
11060
  }, {
10894
11061
  heading: display.membershipsHeading,
11062
+ headingPart: part("membershipsHeading"),
10895
11063
  items: display.memberships,
10896
11064
  cards: props.membershipCards
10897
11065
  }];
@@ -10906,6 +11074,7 @@ function ShopCardListSections(props) {
10906
11074
  ...listLookSlot(presentation, "group"),
10907
11075
  children: [/* @__PURE__ */ jsx("h3", {
10908
11076
  ...listLookSlot(presentation, "group-label"),
11077
+ ...group.headingPart,
10909
11078
  children: group.heading
10910
11079
  }), /* @__PURE__ */ jsx(ShopCardListCollection, {
10911
11080
  presentation,
@@ -10932,14 +11101,18 @@ function ShopCardListCollection(props) {
10932
11101
  }))
10933
11102
  });
10934
11103
  }
10935
- function ShopPurchaseAction({ presentation, ...props }) {
10936
- if (presentation?.itemActionStyle !== "link") return /* @__PURE__ */ jsx(ThemedButton, { ...props });
11104
+ function ShopPurchaseAction({ presentation, editorPart, ...props }) {
11105
+ if (presentation?.itemActionStyle !== "link") return /* @__PURE__ */ jsx(ThemedButton, {
11106
+ ...props,
11107
+ ...editorPart
11108
+ });
10937
11109
  return /* @__PURE__ */ jsx("button", {
10938
11110
  type: "button",
10939
11111
  className: "rb-item-text-link",
10940
11112
  onClick: props.onClick,
10941
11113
  disabled: props.disabled,
10942
11114
  "aria-disabled": props["aria-disabled"],
11115
+ ...editorPart,
10943
11116
  children: props.label
10944
11117
  });
10945
11118
  }
@@ -11064,75 +11237,69 @@ const CUSTOM_GIFT_AMOUNT = "custom";
11064
11237
  function giftingSlot(look, slot) {
11065
11238
  return listLookSlot(look ?? {}, slot);
11066
11239
  }
11067
- /** The word above the heading: only one kind on offer names it here, two kinds label their own groups. */
11068
- function giftingEyebrow(offers, headings) {
11069
- const giftCards = offers?.giftCards.length ?? 0;
11070
- const vouchers = offers?.vouchers.length ?? 0;
11071
- if (giftCards > 0 && vouchers === 0) return headings.giftCards;
11072
- if (vouchers > 0 && giftCards === 0) return headings.vouchers;
11073
- return null;
11074
- }
11075
11240
  function GiftingPanelHead(props) {
11076
11241
  const { look } = props;
11077
11242
  return /* @__PURE__ */ jsxs("div", {
11078
11243
  className: "gifting-panel-head",
11079
11244
  ...giftingSlot(look, "head"),
11080
- children: [
11081
- props.eyebrow ? /* @__PURE__ */ jsx("span", {
11082
- className: "gifting-eyebrow",
11083
- ...giftingSlot(look, "eyebrow"),
11084
- children: props.eyebrow
11085
- }) : null,
11086
- /* @__PURE__ */ jsx("h2", {
11087
- className: "gifting-heading",
11088
- ...giftingSlot(look, "heading"),
11089
- children: props.heading
11090
- }),
11091
- props.intro ? /* @__PURE__ */ jsx("p", {
11092
- className: "gifting-intro",
11093
- ...giftingSlot(look, "intro"),
11094
- children: props.intro
11095
- }) : null
11096
- ]
11245
+ children: [/* @__PURE__ */ jsx("h2", {
11246
+ className: "gifting-heading",
11247
+ ...giftingSlot(look, "heading"),
11248
+ children: props.heading
11249
+ }), props.intro ? /* @__PURE__ */ jsx("p", {
11250
+ className: "gifting-intro",
11251
+ ...giftingSlot(look, "intro"),
11252
+ children: props.intro
11253
+ }) : null]
11097
11254
  });
11098
11255
  }
11099
11256
  /** Amount buttons are radios, so they keep working from the keyboard and post with the form. */
11100
11257
  function GiftCardAmounts(props) {
11101
11258
  const { offer, currency, disabled, onChoose } = props;
11102
- const denominations = offer.giftCard.fixedDenominations;
11103
- const checkedChoice = props.initialChoice ?? firstGiftAmountChoice(offer);
11104
- const chip = (value, label) => /* @__PURE__ */ jsxs("label", {
11105
- className: "gifting-amount",
11106
- children: [/* @__PURE__ */ jsx("input", {
11107
- type: "radio",
11108
- name: props.groupName ?? "amountChoice",
11109
- value,
11110
- required: true,
11111
- disabled,
11112
- defaultChecked: value === checkedChoice,
11113
- onChange: onChoose ? () => onChoose(value) : void 0
11114
- }), /* @__PURE__ */ jsx("span", {
11115
- ...giftingSlot(props.look, "chip"),
11116
- children: label
11117
- })]
11118
- }, value);
11119
- return /* @__PURE__ */ jsxs("fieldset", {
11259
+ const options = [...offer.giftCard.fixedDenominations.map((amount) => ({
11260
+ value: String(amount),
11261
+ label: formatGiftAmount(amount, currency)
11262
+ })), ...offer.giftCard.customAmountEnabled ? [{
11263
+ value: CUSTOM_GIFT_AMOUNT,
11264
+ label: "Another amount"
11265
+ }] : []];
11266
+ return /* @__PURE__ */ jsx(ChoiceGroup, {
11120
11267
  className: "gifting-amounts",
11121
- ...giftingSlot(props.look, "chips"),
11122
- children: [
11123
- /* @__PURE__ */ jsx("legend", {
11124
- className: "gifting-visually-hidden",
11125
- children: "Amount"
11126
- }),
11127
- denominations.map((amount) => chip(String(amount), formatCurrencyAmount(amount, currency))),
11128
- offer.giftCard.customAmountEnabled ? chip(CUSTOM_GIFT_AMOUNT, "Another amount") : null
11129
- ]
11268
+ name: props.groupName ?? "amountChoice",
11269
+ legend: "Amount",
11270
+ legendHidden: true,
11271
+ options,
11272
+ defaultValue: props.initialChoice ?? firstGiftAmountChoice(offer),
11273
+ disabled,
11274
+ required: true,
11275
+ onChange: onChoose
11130
11276
  });
11131
11277
  }
11132
11278
  function firstGiftAmountChoice(offer) {
11133
11279
  const first = offer.giftCard.fixedDenominations[0];
11134
11280
  return first === void 0 ? CUSTOM_GIFT_AMOUNT : String(first);
11135
11281
  }
11282
+ function formatGiftAmount(amount, currency) {
11283
+ return formatCurrencyAmount(amount, currency, { decimals: "auto" });
11284
+ }
11285
+ /** Shared by first paint and the island; the resolved group carries all its copy. */
11286
+ function GiftGroup(props) {
11287
+ return /* @__PURE__ */ jsxs("div", {
11288
+ className: "gifting-group",
11289
+ "data-gift-kind": props.group.kind,
11290
+ ...giftingSlot(props.look, "panel"),
11291
+ children: [/* @__PURE__ */ jsxs("div", {
11292
+ className: "gifting-group-head",
11293
+ children: [/* @__PURE__ */ jsx("h3", {
11294
+ className: "gifting-group-title",
11295
+ children: props.group.heading
11296
+ }), /* @__PURE__ */ jsx("p", {
11297
+ className: "gifting-group-line",
11298
+ children: props.group.line
11299
+ })]
11300
+ }), props.children]
11301
+ });
11302
+ }
11136
11303
  //#endregion
11137
11304
  //#region ../blocks/src/system/runtime/nodes/gifting.server.tsx
11138
11305
  /** What shows until the island takes over: the same panel, with the details form still closed. */
@@ -11143,10 +11310,6 @@ function GiftingSSR({ blockId, ...rest }) {
11143
11310
  const giftCards = offers?.giftCards ?? [];
11144
11311
  const vouchers = offers?.vouchers ?? [];
11145
11312
  const hasOffers = giftCards.length > 0 || vouchers.length > 0;
11146
- const eyebrow = giftingEyebrow(offers, {
11147
- giftCards: display.giftCardsHeading,
11148
- vouchers: display.vouchersHeading
11149
- });
11150
11313
  return /* @__PURE__ */ jsx(IslandRoot, {
11151
11314
  kind: "gifting",
11152
11315
  id: blockId,
@@ -11157,69 +11320,88 @@ function GiftingSSR({ blockId, ...rest }) {
11157
11320
  },
11158
11321
  value: islandProps,
11159
11322
  children: /* @__PURE__ */ jsxs("div", {
11160
- className: "gifting-panel",
11161
- ...giftingSlot(display, "panel"),
11323
+ className: "gifting",
11324
+ ...display.lookSlots ? { "data-slot": "layout" } : {},
11162
11325
  children: [/* @__PURE__ */ jsx(GiftingPanelHead, {
11163
- eyebrow,
11164
11326
  heading: display.heading,
11165
11327
  intro: display.intro,
11166
11328
  look: display
11167
- }), hasOffers ? /* @__PURE__ */ jsxs("div", {
11168
- className: "gifting-panel-offers",
11169
- children: [giftCards.map((offer) => /* @__PURE__ */ jsxs("div", {
11170
- className: "gifting-offer",
11171
- "data-gift-offer": offer.id,
11172
- children: [
11173
- giftCards.length > 1 ? /* @__PURE__ */ jsx("h3", {
11174
- className: "gifting-offer-title",
11175
- children: offer.title
11176
- }) : null,
11177
- offer.description ? /* @__PURE__ */ jsx("p", {
11178
- className: "gifting-offer-description",
11179
- children: offer.description
11180
- }) : null,
11181
- /* @__PURE__ */ jsxs("div", {
11182
- className: "gifting-offer-row",
11183
- "data-gift-offer-row": "",
11184
- children: [/* @__PURE__ */ jsx(GiftCardAmounts, {
11185
- offer,
11186
- currency: offers?.currency ?? "GBP",
11187
- groupName: `amountChoice-${offer.id}`,
11188
- look: display
11189
- }), /* @__PURE__ */ jsx(ThemedButton, {
11190
- ...giftingSlot(display, "action"),
11191
- type: "button",
11192
- variant: "primary",
11193
- size: "md",
11194
- extraClassName: "gifting-buy",
11195
- label: "Buy a gift card"
11196
- })]
11197
- })
11198
- ]
11199
- }, offer.id)), vouchers.map((offer) => /* @__PURE__ */ jsxs("div", {
11200
- className: "gifting-offer",
11201
- children: [
11202
- /* @__PURE__ */ jsx("h3", {
11203
- className: "gifting-offer-title",
11204
- children: offer.title
11205
- }),
11206
- offer.description ? /* @__PURE__ */ jsx("p", {
11207
- className: "gifting-offer-description",
11208
- children: offer.description
11209
- }) : null,
11210
- /* @__PURE__ */ jsx(ThemedButton, {
11211
- ...giftingSlot(display, "action"),
11212
- type: "button",
11213
- variant: "primary",
11214
- size: "md",
11215
- extraClassName: "gifting-buy",
11216
- label: "Buy this voucher"
11329
+ }), /* @__PURE__ */ jsx("div", {
11330
+ className: "gifting-main",
11331
+ children: hasOffers ? /* @__PURE__ */ jsx("div", {
11332
+ className: "gifting-groups",
11333
+ "data-group-count": display.groups.length,
11334
+ children: display.groups.map((group) => /* @__PURE__ */ jsx(GiftGroup, {
11335
+ group,
11336
+ look: display,
11337
+ children: group.kind === "gift_card" ? /* @__PURE__ */ jsx(Fragment, { children: giftCards.map((offer) => /* @__PURE__ */ jsxs("div", {
11338
+ className: "gifting-offer",
11339
+ "data-gift-offer": offer.id,
11340
+ children: [
11341
+ giftCards.length > 1 ? /* @__PURE__ */ jsx("h4", {
11342
+ className: "gifting-offer-title",
11343
+ children: offer.title
11344
+ }) : null,
11345
+ offer.description ? /* @__PURE__ */ jsx("p", {
11346
+ className: "gifting-offer-description",
11347
+ children: offer.description
11348
+ }) : null,
11349
+ /* @__PURE__ */ jsxs("div", {
11350
+ className: "gifting-offer-row",
11351
+ "data-gift-offer-row": "",
11352
+ children: [/* @__PURE__ */ jsx(GiftCardAmounts, {
11353
+ offer,
11354
+ currency: offers?.currency ?? "GBP",
11355
+ groupName: `amountChoice-${offer.id}`,
11356
+ look: display
11357
+ }), /* @__PURE__ */ jsx(ThemedButton, {
11358
+ ...giftingSlot(display, "action"),
11359
+ type: "button",
11360
+ variant: "primary",
11361
+ size: "md",
11362
+ extraClassName: "gifting-buy",
11363
+ label: "Buy a gift card"
11364
+ })]
11365
+ })
11366
+ ]
11367
+ }, offer.id)) }) : /* @__PURE__ */ jsx("ul", {
11368
+ className: "gifting-voucher-list",
11369
+ children: vouchers.map((offer) => /* @__PURE__ */ jsx("li", {
11370
+ className: "gifting-voucher",
11371
+ children: /* @__PURE__ */ jsxs("div", {
11372
+ className: "gifting-offer",
11373
+ children: [
11374
+ /* @__PURE__ */ jsxs("div", {
11375
+ className: "gifting-offer-summary",
11376
+ children: [/* @__PURE__ */ jsx("h4", {
11377
+ className: "gifting-offer-title",
11378
+ children: offer.title
11379
+ }), /* @__PURE__ */ jsx("strong", {
11380
+ className: "gifting-offer-price",
11381
+ children: formatGiftAmount(offer.voucher.purchaseAmountCents, offers?.currency ?? "GBP")
11382
+ })]
11383
+ }),
11384
+ offer.description ? /* @__PURE__ */ jsx("p", {
11385
+ className: "gifting-offer-description",
11386
+ children: offer.description
11387
+ }) : null,
11388
+ /* @__PURE__ */ jsx(ThemedButton, {
11389
+ ...giftingSlot(display, "action"),
11390
+ type: "button",
11391
+ variant: "secondary",
11392
+ size: "md",
11393
+ extraClassName: "gifting-buy",
11394
+ label: "Buy this voucher"
11395
+ })
11396
+ ]
11397
+ })
11398
+ }, offer.id))
11217
11399
  })
11218
- ]
11219
- }, offer.id))]
11220
- }) : /* @__PURE__ */ jsx("p", {
11221
- className: "gifting-empty",
11222
- children: display.emptyStateText
11400
+ }, group.kind))
11401
+ }) : /* @__PURE__ */ jsx("p", {
11402
+ className: "gifting-empty",
11403
+ children: display.emptyStateText
11404
+ })
11223
11405
  })]
11224
11406
  })
11225
11407
  });
@@ -16068,7 +16250,7 @@ function survivingPreparedRegion(entries, survivors) {
16068
16250
  }
16069
16251
  /** Admission always sees current loader provenance, even when block preparation can be reused. */
16070
16252
  function preparationAdmission(input) {
16071
- const facts = readinessFactsFromLoaders("published", {
16253
+ const facts = readinessFactsFromLoaders(input.dataContext?.previewStage === "preview" ? "draft" : "published", {
16072
16254
  prefetched: input.dataContext?.prefetchedBlockData,
16073
16255
  previewStage: input.dataContext?.previewStage,
16074
16256
  mailingList: input.dataContext?.mailingList,