@riverbankcms/sdk 0.173.0 → 0.174.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. package/README.md +6 -1
  2. package/dist/_dts/{BlocksIslandsHydrator-O50mTMCY.d.ts → BlocksIslandsHydrator-GqVX3I8E.d.ts} +1 -1
  3. package/dist/_dts/{Page-Bk99sJwV.d.ts → Page-BhUH31M-.d.ts} +27 -16
  4. package/dist/_dts/{SdkPreviewMode-DzAue6Kj.d.ts → SdkPreviewMode-DBn2x0UL.d.ts} +14 -7
  5. package/dist/_dts/{client-ZlNEIvlU.d.ts → client-Cr-sOeSl.d.ts} +1 -1
  6. package/dist/_dts/{content-types-DBXPNc0h.d.ts → content-types-DKw1yJdN.d.ts} +2 -2
  7. package/dist/_dts/{contracts-D9bhu0bb.d.ts → contracts-CJ2O03nB.d.ts} +5 -4
  8. package/dist/_dts/{footerPageOutline-Bfap3soN.d.ts → footerPageOutline-DoGHHKr_.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-DwCdg31h.d.ts → generatePageMetadata-CJGu4hoa.d.ts} +2 -2
  10. package/dist/_dts/{index-C611wjIL.d.ts → index--39uLjrr.d.ts} +1 -1
  11. package/dist/_dts/{index-CJzs-yIJ.d.ts → index-3GzargmS.d.ts} +2 -2
  12. package/dist/_dts/{index-Dq_AboWN.d.ts → index-Bq-488M7.d.ts} +1 -1
  13. package/dist/_dts/{index-KXh8FQ2s.d.ts → index-DQZ5L0Gb.d.ts} +2 -2
  14. package/dist/_dts/{index-DutLU2d2.d.ts → index-DYlfdT1O.d.ts} +2 -1
  15. package/dist/_dts/{index-BnatulTs.d.ts → index-DYsP4k6S.d.ts} +3 -3
  16. package/dist/_dts/{index-DW3eeNph.d.ts → index-DdEi2iXd.d.ts} +4 -4
  17. package/dist/_dts/{loadContent-Bde2y870.d.ts → loadContent-BVPagYmy.d.ts} +11 -11
  18. package/dist/_dts/{request-Bysk4QPI.d.ts → request-Be1E-H-V.d.ts} +3559 -1967
  19. package/dist/_dts/{resolveBlockData-ChbNvpSF.d.ts → resolveBlockData-D1pL25bD.d.ts} +5 -5
  20. package/dist/_dts/{resolvePageContent-CGa6QMgc.d.ts → resolvePageContent-B4sbTf96.d.ts} +2 -2
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client.d.ts +9 -9
  24. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  25. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  28. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  29. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  30. package/dist/_dts/sdk/src/index.d.ts +8 -8
  31. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  33. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  35. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  36. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  37. package/dist/_dts/sdk/src/portal/client.d.ts +4 -2
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +13 -8
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +36 -204
  54. package/dist/_dts/{types-BwitGNTl.d.ts → types-5MeDI1w8.d.ts} +7 -7
  55. package/dist/_dts/{types-BoEk9ZON.d.ts → types-Bm5_3VEd.d.ts} +3 -3
  56. package/dist/_dts/{types-kpp8XyXv.d.ts → types-CVoCc_Ia.d.ts} +2 -2
  57. package/dist/_dts/{validation-ChftKX-o.d.ts → validation-lEtYD-Rh.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-BnUeSE3d.mjs → BlocksIslandsHydrator-DkflFLGQ.mjs} +17 -17
  59. package/dist/client/{BookingMailingListNote-LHQMODqB.mjs → BookingMailingListNote-CAyoiAGD.mjs} +10 -10
  60. package/dist/client/{BookingPanelArrangement-Be704P85.mjs → BookingPanelArrangement-C7yiJrxm.mjs} +1 -1
  61. package/dist/client/{BookingQuestionFields-BewbU_cV.mjs → BookingQuestionFields-DZMrGvBh.mjs} +3 -3
  62. package/dist/client/{CalendarNavigationChevron-BMZp3RS3.mjs → CalendarNavigationChevron-BPQU5Snc.mjs} +6 -6
  63. package/dist/client/{DemoBookingPortalAccess-CARUWQ_E.mjs → DemoBookingPortalAccess-BnEgvJas.mjs} +5 -5
  64. package/dist/client/{EventCalendar.client-CaI6upCX.mjs → EventCalendar.client-BiWQc28-.mjs} +9 -9
  65. package/dist/client/{EventCombined.client-CoRUaYHY.mjs → EventCombined.client-B_ytWQtn.mjs} +7 -7
  66. package/dist/client/{EventItem-Doe4KodB.mjs → EventItem-C-mxXpX_.mjs} +4 -4
  67. package/dist/client/{EventListWeekNavigation-CXWLKDfa.mjs → EventListWeekNavigation-Bm3Ap1Rd.mjs} +1 -1
  68. package/dist/client/{EventListing.client-DvJ5tGTx.mjs → EventListing.client-Bs_8im5_.mjs} +3 -3
  69. package/dist/client/{EventListing.view-BmfyK7S5.mjs → EventListing.view-CN7BjGgC.mjs} +6 -6
  70. package/dist/client/{EventRegistrationPayment-DwMlJB2V.mjs → EventRegistrationPayment-DPkRcSdw.mjs} +11 -10
  71. package/dist/client/{LocationMapActions-CdRPU6gp.mjs → LocationMapActions-BJT7MqP2.mjs} +1 -1
  72. package/dist/client/{MapDrawingSvg-DCLtxOnt.mjs → MapDrawingSvg-DCIwlON6.mjs} +1 -1
  73. package/dist/client/{Page-D46Dmr7b.mjs → Page--xJ23nA5.mjs} +629 -494
  74. package/dist/client/{StepIndicator-CrSZCZn1.mjs → StepIndicator-D391QRNc.mjs} +9 -8
  75. package/dist/client/{accessibleSurfaces-D4DhWo9j.mjs → accessibleSurfaces-DN8it_Cx.mjs} +35 -7
  76. package/dist/client/{accordion-P8xcfKxq.mjs → accordion-BQtTkDN8.mjs} +1 -1
  77. package/dist/client/{bookability-SargNwlO.mjs → bookability-CE637yDE.mjs} +1 -1
  78. package/dist/client/{booking-form.client-BM2s-NqR.mjs → booking-form.client-D9M7TKGV.mjs} +362 -47
  79. package/dist/client/{bookingForm-JnaZPZge.mjs → bookingForm-BsOS0sl9.mjs} +4 -4
  80. package/dist/client/bookings.mjs +6 -6
  81. package/dist/client/{boxStyleClassNames-Cahps5kR.mjs → boxStyleClassNames-CNDLpT06.mjs} +1 -1
  82. package/dist/client/{carousel-CQQ_m0KA.mjs → carousel-CPsW-FPh.mjs} +1 -1
  83. package/dist/client/{cart-0Q4fjw_K.mjs → cart-CwElmocm.mjs} +3 -3
  84. package/dist/client/{cart.client-BI0IaHX3.mjs → cart.client-RpqI56w8.mjs} +1 -1
  85. package/dist/client/{checkout-1J-3ftxF.mjs → checkout-CfMgqY8H.mjs} +3 -3
  86. package/dist/client/{checkout.client-DOGYDlDk.mjs → checkout.client-BpuPyOuJ.mjs} +1 -1
  87. package/dist/client/{checkoutUrls-CwHqcqzP.mjs → checkoutUrls-VeHY6WYj.mjs} +1 -1
  88. package/dist/client/client.mjs +158 -7
  89. package/dist/client/{context-D0KCgbOq.mjs → context-CNlesLfF.mjs} +1 -1
  90. package/dist/client/{course-CmOuoZHN.mjs → course-q1sA4Cj-.mjs} +2 -2
  91. package/dist/client/{creditProducts-BTRX4edc.mjs → creditProducts-KYMVIH3J.mjs} +2 -84
  92. package/dist/client/{dateFormatting-Dmfaczzq.mjs → dateFormatting-B73Ll0s4.mjs} +9 -1
  93. package/dist/client/{demoPortalMagicLink-CL7KGRta.mjs → demoPortalMagicLink-BVbLD4pi.mjs} +1 -1
  94. package/dist/client/{display-lL-YRApN.mjs → display-D8MW2b0e.mjs} +618 -397
  95. package/dist/client/{enhanceHeaderSection-B-eLGs2C.mjs → enhanceHeaderSection-BzjY6AiY.mjs} +3 -3
  96. package/dist/client/{event-details.client-DH1-Jxsh.mjs → event-details.client-CseTWUFC.mjs} +1 -1
  97. package/dist/client/{event-registration.client-GuuElczW.mjs → event-registration.client-b5TLxntR.mjs} +11 -11
  98. package/dist/client/{eventCalendar-BiCINPkV.mjs → eventCalendar-C-kJNIc9.mjs} +4 -4
  99. package/dist/client/{eventCombined-BtzmH6FW.mjs → eventCombined-BgHJGhwE.mjs} +4 -4
  100. package/dist/client/{eventDetails-BJpAD10-.mjs → eventDetails-CAwbreD0.mjs} +2 -2
  101. package/dist/client/{eventListing-jLB8iRqp.mjs → eventListing-_14atrj8.mjs} +4 -4
  102. package/dist/client/{eventRegistration-WhtpDEbq.mjs → eventRegistration-BOqSdstJ.mjs} +4 -4
  103. package/dist/client/{form-DO6qKH3M.mjs → form-DfAB-llc.mjs} +3 -3
  104. package/dist/client/{form.client-D12ljYiX.mjs → form.client-DN-I9_qC.mjs} +6 -6
  105. package/dist/client/{form.parts-C8QHaQOI.mjs → form.parts-t2Q1neM6.mjs} +1 -1
  106. package/dist/client/{formatDate-BnhfIpCa.mjs → formatDate-Dp7POa9Y.mjs} +1 -1
  107. package/dist/client/gifting/client.mjs +2 -2
  108. package/dist/client/{headerSection-BtFWtoUm.mjs → headerSection-Dces54pb.mjs} +2 -2
  109. package/dist/client/{newsletter-form.client-oHrqM_Ao.mjs → newsletter-form.client-D_YFUlR2.mjs} +9 -7
  110. package/dist/client/{newsletter-form.parts-D5U-FuVy.mjs → newsletter-form.parts-URO5Mn_I.mjs} +1 -1
  111. package/dist/client/{newsletterForm-CBYbFxSx.mjs → newsletterForm-_c9fKIzS.mjs} +3 -3
  112. package/dist/client/{noop-CN0o0yjH.mjs → noop-D5mFWXtN.mjs} +30 -6
  113. package/dist/client/portal/client.mjs +346 -272
  114. package/dist/client/{product-detail.client-d_sNCapC.mjs → product-detail.client-CVW1UIxJ.mjs} +1 -1
  115. package/dist/client/{product-list.client-DkSpw6WQ.mjs → product-list.client-CF9hO23G.mjs} +1 -1
  116. package/dist/client/{productDetail-DaqM-LgL.mjs → productDetail-C_qbmUuP.mjs} +3 -3
  117. package/dist/client/{productList-CMx4-XlG.mjs → productList-Df5qDD0z.mjs} +3 -3
  118. package/dist/client/{propsDecoder-BZbUKstC.mjs → propsDecoder-BiEyK2ii.mjs} +3 -3
  119. package/dist/client/{registry.server-Cdot3dMk.mjs → registry.server-ClcfWpvM.mjs} +28 -26
  120. package/dist/client/rendering/client.mjs +26 -26
  121. package/dist/client/rendering/islands.mjs +1 -1
  122. package/dist/client/rendering.mjs +17 -13
  123. package/dist/client/{richText-coerce-ByApwB4q.mjs → richText-coerce-C32cRQ03.mjs} +1 -1
  124. package/dist/client/{routeIslandApiConfig-DTET8f__.mjs → routeIslandApiConfig-DAypPzSo.mjs} +1 -1
  125. package/dist/client/{runtimeResponse-IkOwKZD0.mjs → runtimeResponse-9v8q2NBc.mjs} +1 -1
  126. package/dist/client/runtimeResponse-CVkM0dHy.mjs +3 -0
  127. package/dist/client/{shop-commerce-oDR76k1q.mjs → shop-commerce-Bw4_BXQg.mjs} +12 -12
  128. package/dist/client/{shop-commerce-store-DjoUpL3a.mjs → shop-commerce-store-Da6Ah-_4.mjs} +1 -1
  129. package/dist/client/{shop-discount-apply.state-WsGb9DD8.mjs → shop-discount-apply.state-DidgH7ow.mjs} +2 -2
  130. package/dist/client/{shop-Cy6xXDM7.mjs → shop-gteEpeO5.mjs} +3 -3
  131. package/dist/client/{shop.client-Brha4BSM.mjs → shop.client-CbbdjWWd.mjs} +13 -13
  132. package/dist/client/{shop.interactive-CXhYl0DW.mjs → shop.interactive-CKFORzux.mjs} +13 -20
  133. package/dist/client/{shopShared-JCa_SRhP.mjs → shopShared-C7QjoywZ.mjs} +2 -2
  134. package/dist/client/{timetableModel-CZeJwMxP.mjs → timetableModel-CtZiIj9q.mjs} +24 -14
  135. package/dist/client/{useAvailableSlots-DfbSkWop.mjs → useAvailableSlots-CUVRD1nx.mjs} +24 -4
  136. package/dist/client/{useDiscountApply-Dq-wjb1d.mjs → useDiscountApply-BZU5DWZQ.mjs} +1 -1
  137. package/dist/client/{useDiscountCodeUi-Cyy0meCH.mjs → useDiscountCodeUi-BuLgof7O.mjs} +1 -1
  138. package/dist/client/{useEventPagination-CCAGQHsD.mjs → useEventPagination-B4VPtSEF.mjs} +6 -6
  139. package/dist/client/{view-Sw075FOY.mjs → view-CvlTplao.mjs} +2 -2
  140. package/dist/client/{view-D6yebI4r.mjs → view-CxUpgcM6.mjs} +12 -10
  141. package/dist/preview-next/client/{LocationPickerEnvironment-D4F_5rnr.mjs → LocationPickerEnvironment-8iKKoYZr.mjs} +1 -1
  142. package/dist/preview-next/client/{MapLibreEditMap-BKMNxSEJ.mjs → MapLibreEditMap-AIUPN1Zx.mjs} +2 -2
  143. package/dist/preview-next/client/{PageSectionToolbar-DG2rXUmo.mjs → PageSectionToolbar-BFbSrDbi.mjs} +57 -144
  144. package/dist/preview-next/client/{PreviewEditorSidebar-BDY5vdHU.mjs → PreviewEditorSidebar-BtpzqQ-i.mjs} +758 -1279
  145. package/dist/preview-next/client/{PreviewEditorUI-CqZCfOaz.mjs → PreviewEditorUI-z22h-CCY.mjs} +29 -26
  146. package/dist/preview-next/client/{PreviewShell-Bv2HZ7JY.mjs → PreviewShell-BW3Qpoa_.mjs} +50 -30
  147. package/dist/preview-next/client/{SdkPreviewModeRuntime-BMTcR-MW.mjs → SdkPreviewModeRuntime-BvVeK1hR.mjs} +47 -19
  148. package/dist/preview-next/client/{lucide-react-BCNn8dEQ.mjs → lucide-react-Dfgl3Vtq.mjs} +7 -1
  149. package/dist/preview-next/client/{previewAssistantSlot-La6MerV_.mjs → previewAssistantSlot-BUqAh1FL.mjs} +100626 -51720
  150. package/dist/preview-next/client/{previewChromeRoot-BcOQqJIP.mjs → previewChromeRoot-NCy5zHO8.mjs} +1 -1
  151. package/dist/preview-next/client/runtime.mjs +3 -3
  152. package/dist/preview-next/client/{sdk-runtime-BkckHox4.mjs → sdk-runtime-CxmKDVGZ.mjs} +2 -2
  153. package/dist/preview-next/client/siteStyleAccess-B_UaDyJO.mjs +9356 -0
  154. package/dist/preview-next/client/{useAutosaveStatus-CPAHgGqI.mjs → useAutosaveStatus-BqmWvPLY.mjs} +2 -2
  155. package/dist/preview-next/client/{useOpenBlockForSetup-BDkuSZxQ.mjs → useOpenBlockForSetup-LAllV0rU.mjs} +8 -4
  156. package/dist/preview-next/container-responsive.css +117 -32
  157. package/dist/preview-next/keepAlive.mjs +1 -1
  158. package/dist/preview-next/middleware.mjs +1 -1
  159. package/dist/preview-next/{route-contract-CPV30ABr.mjs → route-contract-DV6SeCNv.mjs} +152 -2
  160. package/dist/server/{Block.shared-BaMMstO1.mjs → Block.shared-Ch2FKAvU.mjs} +10 -5
  161. package/dist/server/{ThemeScopeCore-D1NTXZdX.mjs → ThemeScopeCore-DFvjDVzi.mjs} +23 -6
  162. package/dist/server/{accessibleSurfaces-Dbd2__Le.mjs → accessibleSurfaces-CM3QANtw.mjs} +22 -5
  163. package/dist/server/{bindings-Dge4sqel.mjs → bindings-CQg2lzZn.mjs} +6 -4
  164. package/dist/server/{client-VVIQjC4r.mjs → client-aYRTVneD.mjs} +155 -4
  165. package/dist/server/config-validation.mjs +1 -1
  166. package/dist/server/config.mjs +2 -2
  167. package/dist/server/customCss-BGB8gMVb.mjs +210 -0
  168. package/dist/server/data/resolveBlockData.mjs +1 -1
  169. package/dist/server/index.mjs +2 -2
  170. package/dist/server/{loadContent-BIJb3WAK.mjs → loadContent-Cgpfr44e.mjs} +8 -9
  171. package/dist/server/{loadPage-DjTU19y7.mjs → loadPage-RDk10NMP.mjs} +3 -3
  172. package/dist/server/lookMediaFrame-CQtkvlDn.mjs +2528 -0
  173. package/dist/server/manifest.mjs +2 -2
  174. package/dist/server/next.mjs +9 -8
  175. package/dist/server/{overrideResolution-1Ru3NMQj.mjs → overrideResolution-VhhN94d8.mjs} +3 -4
  176. package/dist/server/page-converter.mjs +2 -2
  177. package/dist/server/{pageRenderPlan-CytPhrI9.mjs → pageRenderPlan-CkFTsxkd.mjs} +25 -17
  178. package/dist/server/{pageRuntimeSupport-DWspU5EZ.mjs → pageRuntimeSupport-CpAtzNxD.mjs} +14 -6
  179. package/dist/server/{pageShared-Bhx8bVe1.mjs → pageShared-B8yLPjs0.mjs} +371 -56
  180. package/dist/server/{parseThemeForPersistence-CtgRtvo3.mjs → parseThemeForPersistence-Cwqb5pZx.mjs} +2 -2
  181. package/dist/server/{portal-Ce1Prfl3.mjs → portal-BjVHMAUC.mjs} +1 -1
  182. package/dist/server/portal.mjs +1 -1
  183. package/dist/server/{prebuild-BjvFb0CA.mjs → prebuild-DOu6QceG.mjs} +1 -1
  184. package/dist/server/prebuild.mjs +1 -1
  185. package/dist/server/{prefetchBlockData-Db3stNpp.mjs → prefetchBlockData-CfOXFKYG.mjs} +2 -2
  186. package/dist/server/{registry-BMCfcev6.mjs → registry-34rkAfaU.mjs} +608 -3131
  187. package/dist/server/rendering/components/pageShared.mjs +1 -1
  188. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  189. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +2 -2
  190. package/dist/server/rendering/server.mjs +3 -3
  191. package/dist/server/rendering.mjs +7 -7
  192. package/dist/server/{resolveBlockData--yUbI-Ll.mjs → resolveBlockData-D7VeoWgr.mjs} +1 -1
  193. package/dist/server/{resolveButtonColourStates-CCPUY9Xh.mjs → resolveButtonColourStates--6yJp9Tq.mjs} +15 -4
  194. package/dist/server/{schema-D5Vfmqzw.mjs → schema-CUDHMirj.mjs} +46 -153
  195. package/dist/server/server.mjs +3 -3
  196. package/dist/server/{src-Cxucn-1P.mjs → src-DHK4JUlp.mjs} +4 -1
  197. package/dist/server/theme-bridge.mjs +21 -15
  198. package/dist/server/theme.mjs +2 -2
  199. package/dist/server/{three-pass-converter-Bsfdy_ZV.mjs → three-pass-converter-39SXCCnh.mjs} +1 -1
  200. package/dist/server/{titleSourceSchema-DwKJfMYb.mjs → titleSourceSchema-Cu-3PRvv.mjs} +0 -1
  201. package/dist/server/{validation-EgTtnTcY.mjs → validation-CLVKoJrX.mjs} +4 -4
  202. package/dist/server/{version-LjgU0Cq1.mjs → version-HVfdvBJ0.mjs} +1 -1
  203. package/dist/styles/index.css +935 -271
  204. package/package.json +1 -1
  205. package/dist/client/runtimeResponse-Wd6kwhE_.mjs +0 -3
  206. package/dist/preview-next/client/SiteChromeCustomizeButton-D1MGyN_Z.mjs +0 -55403
  207. package/dist/server/customCss-QymcmOZ-.mjs +0 -97
  208. package/dist/server/opaqueSurface-COEKXVwk.mjs +0 -54
@@ -1,10 +1,11 @@
1
- import { C as buttonVisualStatesSchema, Dt as parseThemeColorToken, E as VARIANT_ROLES, Et as parseColorTokenParts, G as hexToRgb, S as buttonVariantIdSchema, T as SYSTEM_BLOCK_KINDS, Tt as paletteModeSchema, W as featuresFromHex, _ as isVariantRole, at as surfaceForegroundValue, b as buttonPressOffsetSchema, ct as surfaceInkStyle, f as DEFAULT_VARIANT_ALIAS_ID, ft as mergeStyles, ht as textColorStyle, i as BUTTON_CONTRAST_POLICY, it as surfaceForegroundStyle, j as expandPalette, l as ELEVATION_OFFSET, lt as backgroundColorStyle, m as asSpecialVariantId, mt as surfaceRoleForTextToken, pt as rgbColorValue, rt as surfaceForegroundInputFromResolved, ut as borderColorStyle, v as unsafeAsOpaqueButtonColourToken, vt as blockColorTokenNames, wt as paletteColorsSchema, y as buttonEffectApplicationSchema, yt as hexColorSchema } from "./resolveButtonColourStates-CCPUY9Xh.mjs";
2
- import { B as certifyPaint, D as mapButtonRoleAppearances, E as defineButtonStyleRecipe, F as resolveSurfaceForeground, G as resolveOpaqueSurfaceHex, J as requirePaletteColorsFromEntries, K as paletteValueKey, L as surfaceInkPublication, O as mapButtonVisualAppearances, T as PUBLIC_BUTTON_ROLES, U as planForegroundHover, V as contrastThresholdByPolicy, W as resolveConcreteColorHex, c as surfaceButtonRequest, d as toAccessibleColorSurfaceIntent, h as scrimTone, i as prepareThemeSurfaceRevision, j as resolveThemeColorReferenceValue, l as surfaceDecorationColors, m as minimumScrimOpacity, o as resolveSurface, p as gradientScrimSamples, q as paletteValueKeySchema, t as parseResolvedSurface, u as surfaceTransportContext } from "./accessibleSurfaces-Dbd2__Le.mjs";
3
- import { A as asBoundaryOptionId, C as eventListTreatmentValues, D as tileTreatmentValues, E as isArrangementMode, F as asPageFlowPresetId, I as asSiteStyleId, L as makeBoundaryId, M as asDesignBoundaryId, N as asDesignSystemTemplateId, O as visibleHeadingDecorationFamilyValues, P as asLayoutVariantKey, S as arrangementModes, T as headingDecorationColorTokenValues, _ as asHeaderLayoutId, a as headerVariantValues, c as runtimeBoxBackgroundSchema, d as cardRoleValues, f as cardVariantRoleValues, g as asFooterLookId, j as asDesignBlockId, k as asAppearancePresetId, l as boxlessCardVariantValue, m as openCardRoleValue, n as containerStylesOverrideSchema, o as boxBackgroundOverlaySchema, p as itemRoleValues, r as sectionStylesOverrideSchema, s as boxBackgroundSchema, t as cardStylesOverrideSchema, u as cardRoleSchema, v as asHeaderStyleId, w as eyebrowTreatmentValues, x as siteChromeBackgroundOverrideOwner, y as bookingPageLookIdValues } from "./schema-D5Vfmqzw.mjs";
1
+ import { C as buttonVisualStatesSchema, Dt as parseThemeColorToken, E as VARIANT_ROLES, Et as parseColorTokenParts, S as buttonVariantIdSchema, T as SYSTEM_BLOCK_KINDS, Tt as paletteModeSchema, W as featuresFromHex, _ as isVariantRole, at as surfaceForegroundValue, b as buttonPressOffsetSchema, ct as surfaceInkStyle, dt as borderColorStyle, f as DEFAULT_VARIANT_ALIAS_ID, ht as textColorStyle, i as BUTTON_CONTRAST_POLICY, it as surfaceForegroundStyle, j as expandPalette, l as ELEVATION_OFFSET, m as asSpecialVariantId, mt as rgbColorValue, pt as mergeStyles, rt as surfaceForegroundInputFromResolved, ut as backgroundColorStyle, v as unsafeAsOpaqueButtonColourToken, vt as blockColorTokenNames, wt as paletteColorsSchema, y as buttonEffectApplicationSchema, yt as hexColorSchema } from "./resolveButtonColourStates--6yJp9Tq.mjs";
2
+ import { D as mapButtonRoleAppearances, E as defineButtonStyleRecipe, F as resolveSurfaceForeground, G as resolveConcreteColorHex, H as contrastThresholdByPolicy, J as paletteValueKeySchema, K as resolveOpaqueSurfaceHex, L as surfaceInkPublication, O as mapButtonVisualAppearances, T as PUBLIC_BUTTON_ROLES, W as planForegroundHover, Y as requirePaletteColorsFromEntries, c as surfaceButtonRequest, d as toAccessibleColorSurfaceIntent, h as scrimTone, i as prepareThemeSurfaceRevision, j as resolveThemeColorReferenceValue, l as surfaceDecorationColors, m as minimumScrimOpacity, o as resolveSurface, p as gradientScrimSamples, q as paletteValueKey, t as parseResolvedSurface, u as surfaceTransportContext } from "./accessibleSurfaces-CM3QANtw.mjs";
3
+ import { C as asDesignBoundaryId, D as asSiteStyleId, E as asPageFlowPresetId, O as makeBoundaryId, S as asDesignBlockId, T as asLayoutVariantKey, _ as isArrangementMode, b as asAppearancePresetId, d as arrangementModes, h as headingDecorationColorTokenValues, m as eyebrowTreatmentValues, p as eventListTreatmentValues, v as tileTreatmentValues, w as asDesignSystemTemplateId, x as asBoundaryOptionId, y as visibleHeadingDecorationFamilyValues } from "./customCss-BGB8gMVb.mjs";
4
+ import { _ as asHeaderLayoutId, a as headerVariantValues, c as runtimeBoxBackgroundSchema, d as cardRoleValues, f as cardVariantRoleValues, g as asFooterLookId, l as boxlessCardVariantValue, m as openCardRoleValue, n as containerStylesOverrideSchema, o as boxBackgroundOverlaySchema, p as itemRoleValues, r as sectionStylesOverrideSchema, s as boxBackgroundSchema, t as cardStylesOverrideSchema, u as cardRoleSchema, v as asHeaderStyleId, y as bookingPageLookIdValues } from "./schema-CUDHMirj.mjs";
4
5
  import { C as ok$1, S as err, b as unsafeAsStoragePath, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, f as PUBLIC_FILE_FIELD_KINDS, g as parseCanonicalMediaIdentifier, m as mediaTypeDiscriminants, o as runtimeMediaSchema, p as isDisplayMediaKind, v as unsafeAsMediaAssetId, x as parseUuidBrand, y as unsafeAsStorageBucketName } from "./media-luf7RF22.mjs";
5
- import { t as assertNever$1 } from "./assert-never-ku-PUn9U.mjs";
6
+ import { t as assertNever } from "./assert-never-ku-PUn9U.mjs";
6
7
  import { n as RichTextDocSchema } from "./richTextSchema-QLaQrbII.mjs";
7
- import { n as opaqueSurfaceDeclarations } from "./opaqueSurface-COEKXVwk.mjs";
8
+ import { C as panelFrame, D as testimonialsCompositionTreatmentValues, M as lookKnobBlocks, O as toNonEmptyReadonlyArray, P as opaqueSurfaceDeclarations, S as offeringsPreviewCompositionTreatmentValues, T as requireNonEmptyReadonlyArray, a as layoutProfileSupportsConstraints, c as isArrangementAppearancePreset, d as lookModes, f as assertNever$1, g as defineNoBlockDesignCapability, h as defineFrameCapability, i as blockAppearancePresets, k as cardListBlockParts, l as isLookSettingFact, m as defineExactCatalog, n as resolveLookMediaFrame, o as resolveBlockAppearancePresetDesign, p as defineBlockDesignCapability, r as arrangementLookFits, u as isRecipeAppearancePreset, w as plainFrame, x as noHeadingDecoration, y as flushPanelFrame } from "./lookMediaFrame-CQtkvlDn.mjs";
8
9
  import React from "react";
9
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
11
  import { z } from "zod";
@@ -181,7 +182,14 @@ const arrangementSlotNames = [
181
182
  "controls",
182
183
  "control",
183
184
  "counter",
184
- "point"
185
+ "point",
186
+ "band",
187
+ "main",
188
+ "brand",
189
+ "links",
190
+ "details",
191
+ "signup",
192
+ "strip"
185
193
  ];
186
194
  //#endregion
187
195
  //#region ../theme-core/src/surfaces/logoVariant.ts
@@ -437,7 +445,7 @@ function isPublicEventPricingOptionDisplayable(option) {
437
445
  case "not_on_sale_yet":
438
446
  case "sale_ended":
439
447
  case "attendance_mode_unavailable": return false;
440
- default: return assertNever$1(reason);
448
+ default: return assertNever(reason);
441
449
  }
442
450
  }
443
451
  function publicEventPricingDisplay(pricing) {
@@ -566,7 +574,7 @@ function canonicalEventPricingDisplay(pricing) {
566
574
  currency: pricing.currency,
567
575
  purpose: "configured"
568
576
  });
569
- default: return assertNever$1(pricing);
577
+ default: return assertNever(pricing);
570
578
  }
571
579
  }
572
580
  /**
@@ -585,7 +593,7 @@ function formatBookingPriceDisplay(display, options = {}) {
585
593
  case "mixed": return display.paidToAmount > display.paidFromAmount ? `Free / ${formatCurrencyAmount(display.paidFromAmount, display.currency, options)}–${formatCurrencyAmount(display.paidToAmount, display.currency, options)}` : `Free / ${formatCurrencyAmount(display.paidFromAmount, display.currency, options)}`;
586
594
  case "unavailable": return "Pricing unavailable";
587
595
  case "external": return display.label;
588
- default: return assertNever$1(display);
596
+ default: return assertNever(display);
589
597
  }
590
598
  }
591
599
  /** Render an event's price directly from its pricing value. */
@@ -3629,2383 +3637,8 @@ const nodeTreeSchema = z.union([z.array(nodeSchema), nodeSchema]);
3629
3637
  const NodeSchema = nodeSchema;
3630
3638
  const NodeTreeSchema = nodeTreeSchema;
3631
3639
  //#endregion
3632
- //#region ../site-contracts/src/blocks/knobs.ts
3633
- /** Block supply is capability, never a second Look catalogue. */
3634
- const cardListBlockParts = {
3635
- "block.feature-cards": [
3636
- "media",
3637
- "title",
3638
- "text",
3639
- "action"
3640
- ],
3641
- "block.offerings-preview": [
3642
- "media",
3643
- "title",
3644
- "text",
3645
- "facts",
3646
- "chips",
3647
- "numeral",
3648
- "schedule",
3649
- "dates",
3650
- "availability",
3651
- "action",
3652
- "date-stamp"
3653
- ],
3654
- "block.appointment-services": [
3655
- "media",
3656
- "title",
3657
- "text",
3658
- "facts",
3659
- "action"
3660
- ],
3661
- "block.team-members": [
3662
- "media",
3663
- "title",
3664
- "text",
3665
- "facts",
3666
- "chips",
3667
- "action"
3668
- ],
3669
- "block.shop": [
3670
- "title",
3671
- "text",
3672
- "facts",
3673
- "price",
3674
- "action"
3675
- ]
3676
- };
3677
- const cardListFamilyBlocks = Object.keys(cardListBlockParts);
3678
- const cardListKnobBlocks = [...cardListFamilyBlocks, "block.event-calendar"];
3679
- const lookKnobBlocks = {
3680
- actionStyle: cardListKnobBlocks,
3681
- titleSize: "block.hero",
3682
- imagePosition: [
3683
- "block.hero",
3684
- "block.intro",
3685
- "block.media-text"
3686
- ],
3687
- imageShape: ["block.intro", "block.media-text"],
3688
- aspectRatio: "block.media-text",
3689
- stickerLine: "block.hero",
3690
- smallCaption: "block.hero",
3691
- photoTint: "block.hero",
3692
- candleGlow: "block.hero",
3693
- columnGuides: "block.hero",
3694
- showPhotos: cardListKnobBlocks,
3695
- cardMarker: cardListFamilyBlocks,
3696
- dates: "block.offerings-preview",
3697
- columns: "block.feature-cards",
3698
- listColumns: "block.event-calendar",
3699
- blackAndWhite: "block.image-gallery",
3700
- showCapacity: "block.event-calendar",
3701
- alignment: "block.body-text",
3702
- autoAdvance: "block.testimonials",
3703
- quoteCount: "block.testimonials",
3704
- archFrame: [
3705
- "block.testimonials",
3706
- "block.newsletter-signup",
3707
- "block.form"
3708
- ],
3709
- tilt: "block.testimonials"
3710
- };
3711
- //#endregion
3712
- //#region ../theme-core/src/site-styles/types.ts
3713
- /**
3714
- * Defines a literal-preserving catalog while rejecting top-level extra keys on
3715
- * each entry: `defineExactCatalog<Entry>()([{ ... }])`.
3716
- */
3717
- function defineExactCatalog() {
3718
- return (entries) => entries;
3719
- }
3720
- function toNonEmptyReadonlyArray(values) {
3721
- const [first, ...rest] = values;
3722
- return first === void 0 ? null : [first, ...rest];
3723
- }
3724
- function requireNonEmptyReadonlyArray(values, message = "Expected a non-empty array.") {
3725
- const result = toNonEmptyReadonlyArray(values);
3726
- if (!result) throw new Error(message);
3727
- return result;
3728
- }
3729
- function assertNever(value, message = "Unhandled Theme V2 variant") {
3730
- throw new Error(`${message}: ${String(value)}`);
3731
- }
3732
- function designIssueSeverityForPolicy(policy) {
3733
- switch (policy) {
3734
- case "generated": return "repairable";
3735
- case "user":
3736
- case "admin":
3737
- case "sdk": return "advisory";
3738
- }
3739
- }
3740
- /**
3741
- * What a block's own section background field admits, read from its manifest.
3742
- * A site style's surface rule may paint a gradient or a photo; a block whose
3743
- * `_sectionStyles.background` refuses that paint would be dropped at render
3744
- * admission, so the runtime compiler paints the surface's colour equivalent
3745
- * instead (see `compileSectionBackground`).
3746
- */
3747
- const sectionBackgroundPaintValues = [
3748
- "color",
3749
- "gradient",
3750
- "image"
3751
- ];
3752
- const plainFrame = { kind: "plain" };
3753
- function panelFrame(treatment) {
3754
- return {
3755
- kind: "panel",
3756
- treatment
3757
- };
3758
- }
3759
- function flushPanelFrame(options) {
3760
- return {
3761
- kind: "flush-panel",
3762
- treatment: options.treatment ?? "media-panel",
3763
- bleed: options.bleed
3764
- };
3765
- }
3766
- const introCompositionTreatmentValues = ["editorial-statement", "portrait-bio"];
3767
- const featureCardCompositionTreatmentValues = ["asymmetric-emphasis", "framed-programme"];
3768
- const testimonialsCompositionTreatmentValues = [
3769
- "open-editorial",
3770
- "evergreen-lead",
3771
- "room-and-response",
3772
- "open-floor"
3773
- ];
3774
- /**
3775
- * How an offerings preview arranges its groups. Structure only — the group
3776
- * card surface is the Look's `cardRole` and the site style's card system.
3777
- */
3778
- const offeringsPreviewCompositionTreatmentValues = [
3779
- "paired-feature-cards",
3780
- "open-editorial-columns",
3781
- "joined-programme-panel"
3782
- ];
3783
- const noHeadingDecoration = { family: "none" };
3784
- function defineBlockDesignCapability(capability) {
3785
- return {
3786
- ...capability,
3787
- kind: "designed",
3788
- looks: capability.looks ?? "not-applicable",
3789
- sectionBackgroundPaints: admittedSectionBackgroundPaints(capability.sectionBackgroundPaints),
3790
- sectionHeights: capability.sectionHeights ?? ["default"],
3791
- imageSurfaceTreatments: capability.imageSurfaceTreatments ?? ["none"],
3792
- imageSurfaceMotions: capability.imageSurfaceMotions ?? ["static"],
3793
- tileTreatments: capability.tileTreatments ?? ["default"],
3794
- eventListTreatments: capability.eventListTreatments ?? ["plain"],
3795
- eyebrowTreatments: capability.eyebrowTreatments ?? ["plain"],
3796
- ...capability.headingDecorations ? { headingDecorations: capability.headingDecorations } : {},
3797
- headingDecorationCapability: capability.headingDecorationCapability ?? { kind: "unsupported" },
3798
- compositions: capability.compositions ?? { kind: "none" },
3799
- ...capability.accordionIconSets ? { accordionIconSets: capability.accordionIconSets } : {}
3800
- };
3801
- }
3802
- /** Absent means the block admits every section background paint. */
3803
- function admittedSectionBackgroundPaints(paints) {
3804
- return paints ?? sectionBackgroundPaintValues;
3805
- }
3806
- function defineNoBlockDesignCapability(reason) {
3807
- return {
3808
- kind: "not-designed",
3809
- reason
3810
- };
3811
- }
3812
- //#endregion
3813
- //#region ../theme-core/src/site-styles/appearancePresetTypes.ts
3814
- /** Facts about how the owner set the block up, rather than what they filled in. */
3815
- const lookSettingFacts = ["listed-by-week"];
3816
- function isLookSettingFact(fact) {
3817
- return lookSettingFacts.includes(fact);
3818
- }
3819
- function isRecipeAppearancePreset(preset) {
3820
- return preset.structure.kind === "recipe";
3821
- }
3822
- function isArrangementAppearancePreset(preset) {
3823
- return preset.structure.kind === "arrangement";
3824
- }
3825
- function lookModes(look) {
3826
- return Object.keys(look.structure.byMode).map((mode) => isArrangementMode(mode) ? mode : null);
3827
- }
3828
- function cardListKnobDefaults(block, arrangement, knobs, defaults) {
3829
- if (!cardListKnobBlocks.some((kind) => kind === `block.${block}`)) return {};
3830
- const actionStyle = [
3831
- "index",
3832
- "ledger",
3833
- "compact",
3834
- "day-groups",
3835
- "sequence",
3836
- "lead-support"
3837
- ].includes(arrangement) ? "link" : "button";
3838
- return {
3839
- knobs: [.../* @__PURE__ */ new Set([...["actionStyle"], ...knobs])],
3840
- knobDefaults: {
3841
- actionStyle,
3842
- ...defaults
3843
- }
3844
- };
3845
- }
3846
- const arrangementLookTargets = {
3847
- hero: "hero",
3848
- intro: "intro",
3849
- "class-prices": "feature-cards",
3850
- "feature-cards": "feature-cards",
3851
- "event-calendar": "events",
3852
- testimonials: "testimonials",
3853
- "event-details": "events",
3854
- "media-text": "media-text",
3855
- "image-gallery": "image-gallery",
3856
- "video-grid": "video-grid",
3857
- "newsletter-signup": "newsletter",
3858
- form: "contact-form",
3859
- "body-text": "body-text",
3860
- faq: "faq",
3861
- "cta-full": "cta",
3862
- "location-map": "location",
3863
- list: "list"
3864
- };
3865
- function defineArrangementLook(id, block, name, arrangement, knobs, input) {
3866
- const mode = block === "event-calendar" ? "list" : null;
3867
- const { thumbnail, ...structure } = input;
3868
- return {
3869
- id: asAppearancePresetId(id),
3870
- blockKinds: [`block.${block}`],
3871
- label: name,
3872
- target: arrangementLookTargets[block],
3873
- thumbnail,
3874
- structure: {
3875
- kind: "arrangement",
3876
- byMode: { [mode ?? "default"]: arrangement },
3877
- knobs,
3878
- itemRoles: {},
3879
- whenMissing: [],
3880
- styleFallback: [],
3881
- photoUse: "none",
3882
- ...structure,
3883
- ...cardListKnobDefaults(block, arrangement, knobs, structure.knobDefaults)
3884
- }
3885
- };
3886
- }
3887
- function defineCardListLook(id, name, arrangement, requires, knobs, input) {
3888
- const base = defineArrangementLook(id, "feature-cards", name, arrangement, knobs, input);
3889
- return {
3890
- ...base,
3891
- blockKinds: cardListFamilyBlocks.filter((block) => requires.every((part) => cardListBlockParts[block].includes(part))),
3892
- structure: {
3893
- ...base.structure,
3894
- knobs: [...base.structure.knobs, "dates"],
3895
- knobDefaults: {
3896
- dates: arrangement === "cards" || arrangement === "plates" ? "next-dates" : "summary",
3897
- ...base.structure.knobDefaults
3898
- },
3899
- family: {
3900
- kind: "card-list",
3901
- requires
3902
- }
3903
- }
3904
- };
3905
- }
3906
- //#endregion
3907
- //#region ../theme-core/src/site-styles/lookThumbnail.ts
3908
- /** Short builders, so each Look's drawing reads as one line in the catalogue. */
3909
- const sketch = {
3910
- page: (items, options = {}) => ({
3911
- ground: options.ground ?? "page",
3912
- align: options.align ?? "start",
3913
- items
3914
- }),
3915
- band: (items, options = {}) => ({
3916
- ground: "band",
3917
- align: options.align ?? "start",
3918
- items
3919
- }),
3920
- rule: { kind: "rule" },
3921
- title: (width = .55, size = "medium") => ({
3922
- kind: "title",
3923
- width,
3924
- size
3925
- }),
3926
- text: (lines = 3, width = 1) => ({
3927
- kind: "text",
3928
- lines,
3929
- width
3930
- }),
3931
- photo: (height = "medium", shape = "rect") => ({
3932
- kind: "photo",
3933
- shape,
3934
- height
3935
- }),
3936
- button: {
3937
- kind: "button",
3938
- style: "solid"
3939
- },
3940
- link: {
3941
- kind: "button",
3942
- style: "link"
3943
- },
3944
- field: { kind: "field" },
3945
- quote: (size = "small") => ({
3946
- kind: "quote",
3947
- size
3948
- }),
3949
- map: { kind: "map" },
3950
- calendar: { kind: "calendar" },
3951
- number: { kind: "number" },
3952
- price: { kind: "price" },
3953
- divider: { kind: "divider" },
3954
- row: (...columns) => ({
3955
- kind: "row",
3956
- align: "start",
3957
- columns: columns.map((column) => "items" in column ? column : {
3958
- weight: 1,
3959
- items: column
3960
- })
3961
- }),
3962
- middle: (...columns) => ({
3963
- kind: "row",
3964
- align: "center",
3965
- columns: columns.map((column) => "items" in column ? column : {
3966
- weight: 1,
3967
- items: column
3968
- })
3969
- }),
3970
- weight: (weight, items) => ({
3971
- weight,
3972
- items
3973
- }),
3974
- card: (items) => ({
3975
- kind: "box",
3976
- frame: "card",
3977
- items
3978
- }),
3979
- panel: (items) => ({
3980
- kind: "box",
3981
- frame: "panel",
3982
- items
3983
- }),
3984
- accentCard: (items) => ({
3985
- kind: "box",
3986
- frame: "accent",
3987
- items
3988
- }),
3989
- featured: (items) => ({
3990
- kind: "box",
3991
- frame: "featured",
3992
- items
3993
- }),
3994
- across: (count, item, options = {}) => ({
3995
- kind: "repeat",
3996
- count,
3997
- direction: "row",
3998
- item,
3999
- ruled: false,
4000
- overflow: options.overflow ?? false,
4001
- arrows: options.arrows ?? false
4002
- }),
4003
- down: (count, item, options = {}) => ({
4004
- kind: "repeat",
4005
- count,
4006
- direction: "column",
4007
- item,
4008
- ruled: options.ruled ?? false,
4009
- overflow: false,
4010
- arrows: false
4011
- }),
4012
- over: (photo, items, options = {}) => ({
4013
- kind: "overlay",
4014
- photo,
4015
- items,
4016
- panel: options.panel ?? false
4017
- })
4018
- };
4019
- //#endregion
4020
- //#region ../theme-core/src/site-styles/lookOptionGroups.ts
4021
- function defineLookOptionGroup(group) {
4022
- defaultOption(group);
4023
- return group;
4024
- }
4025
- function resolveLookOption(group, requestedOptionId) {
4026
- const fallback = defaultOption(group);
4027
- if (requestedOptionId === null || requestedOptionId === void 0) return {
4028
- kind: "defaulted",
4029
- option: fallback
4030
- };
4031
- const selected = group.options.find((option) => option.id === requestedOptionId);
4032
- return selected ? {
4033
- kind: "selected",
4034
- option: selected
4035
- } : {
4036
- kind: "repaired",
4037
- requestedOptionId,
4038
- option: fallback,
4039
- reason: "unsupported-option"
4040
- };
4041
- }
4042
- function defaultOption(group) {
4043
- const option = group.options.find((candidate) => candidate.id === group.defaultOptionId);
4044
- if (option) return option;
4045
- throw new Error(`Look option group "${group.id}" defaults to missing option "${group.defaultOptionId}".`);
4046
- }
4047
- /** The declared order owns distance; unordered choices use their default. */
4048
- function resolveEffectiveKnobs(input) {
4049
- return Object.fromEntries(input.exposure.map((entry) => [entry.definition.id, resolveEffectiveKnob(entry, input.content[entry.definition.id])]));
4050
- }
4051
- function resolveEffectiveKnob(exposure, stored) {
4052
- const { definition } = exposure;
4053
- if (exposure.forced !== void 0) return {
4054
- kind: "forced",
4055
- value: exposure.forced
4056
- };
4057
- if (!exposure.exposed) return {
4058
- kind: "kept",
4059
- stored
4060
- };
4061
- const value = typeof stored === "string" ? stored : typeof stored === "boolean" ? String(stored) : definition.defaultValue;
4062
- if (definition.textMaxLength !== void 0) return {
4063
- kind: "used",
4064
- value
4065
- };
4066
- const restrictions = [
4067
- {
4068
- reason: "look",
4069
- values: exposure.lookValues
4070
- },
4071
- {
4072
- reason: "style",
4073
- values: exposure.styleValues
4074
- },
4075
- {
4076
- reason: "length",
4077
- values: exposure.lengthValues
4078
- }
4079
- ];
4080
- const initial = definition.values.includes(value) ? {
4081
- kind: "used",
4082
- value
4083
- } : {
4084
- kind: "clamped",
4085
- value: definition.defaultValue,
4086
- stored: value,
4087
- reason: "look"
4088
- };
4089
- return restrictions.reduce((state, restriction) => {
4090
- if (restriction.values === void 0 || state.result.kind === "kept") return state;
4091
- const allowed = state.allowed.filter((option) => restriction.values?.includes(option));
4092
- if (allowed.includes(state.result.value)) return {
4093
- allowed,
4094
- result: state.result
4095
- };
4096
- return {
4097
- allowed,
4098
- result: {
4099
- kind: "clamped",
4100
- value: nearestKnobValue(definition, allowed, definition.values.includes(value) ? value : definition.defaultValue),
4101
- stored: value,
4102
- reason: restriction.reason
4103
- }
4104
- };
4105
- }, {
4106
- allowed: definition.values,
4107
- result: initial
4108
- }).result;
4109
- }
4110
- function nearestKnobValue(definition, allowed, requested) {
4111
- if (allowed.length === 0) throw new Error(`Knob ${definition.id} has no allowed value`);
4112
- if (!definition.ordered) return allowed.includes(definition.defaultValue) ? definition.defaultValue : allowed[0] ?? definition.defaultValue;
4113
- const requestedIndex = definition.values.indexOf(requested);
4114
- return [...allowed].sort((left, right) => Math.abs(definition.values.indexOf(left) - requestedIndex) - Math.abs(definition.values.indexOf(right) - requestedIndex))[0] ?? definition.defaultValue;
4115
- }
4116
- //#endregion
4117
- //#region ../theme-core/src/site-styles/appearancePresetResolution.ts
4118
- function assertValidOptionGroups(preset) {
4119
- preset.optionGroups?.forEach((group) => {
4120
- defineLookOptionGroup(group);
4121
- });
4122
- }
4123
- function selectedOptionForGroup(group) {
4124
- return resolveLookOption(group, void 0).option;
4125
- }
4126
- /**
4127
- * Every Look carries a card role. A Look that says nothing about cards renders
4128
- * none, which is the overwhelming majority of them; the card-bearing ones name
4129
- * the role they want and the site style owns how it looks.
4130
- */
4131
- function defineBlockAppearancePreset(preset) {
4132
- assertValidOptionGroups(preset);
4133
- return {
4134
- ...preset,
4135
- design: {
4136
- ...preset.design,
4137
- cardRole: preset.design.cardRole ?? "none"
4138
- }
4139
- };
4140
- }
4141
- function layoutProfileSupportsConstraints(profile, constraints) {
4142
- const supportsFamily = constraints.layoutFamilies ? constraints.layoutFamilies.includes(profile.layoutFamily) : true;
4143
- const supportsVariant = constraints.layoutVariantKeys ? constraints.layoutVariantKeys.includes(profile.variantKey) : true;
4144
- return supportsFamily && supportsVariant;
4145
- }
4146
- function resolveBlockAppearancePresetDesign(preset, layoutProfile = null) {
4147
- const designWithOptions = (preset.optionGroups ?? []).reduce((design, group) => ({
4148
- ...design,
4149
- ...selectedOptionForGroup(group).designPatch
4150
- }), {
4151
- ...preset.design,
4152
- ...preset.structure.composition ? { composition: preset.structure.composition } : {}
4153
- });
4154
- if (!layoutProfile) return designWithOptions;
4155
- return (preset.layoutPatches ?? []).reduce((design, patch) => layoutProfileSupportsConstraints(layoutProfile, patch.constraints) ? {
4156
- ...design,
4157
- ...patch.designPatch
4158
- } : design, designWithOptions);
4159
- }
4160
- //#endregion
4161
- //#region ../theme-core/src/site-styles/blockAppearancePresets.ts
4162
- /**
4163
- * One pin space for legacy recipes and arrangement Looks. Legacy recipes ask
4164
- * for a card role; the style owns its paint. Arrangement Looks own structure
4165
- * and never a section background. Removing an entry retires its pins to auto.
4166
- */
4167
- const brandScrimOptionGroups = [{
4168
- id: "image-surface-treatment",
4169
- label: "Photo tint",
4170
- defaultOptionId: "brand-scrim-primary",
4171
- options: [{
4172
- id: "brand-scrim-primary",
4173
- label: "Brand tint",
4174
- designPatch: { imageSurfaceTreatment: {
4175
- kind: "brand-scrim",
4176
- token: "primary"
4177
- } }
4178
- }, {
4179
- id: "neutral-scrim",
4180
- label: "Dark tint",
4181
- designPatch: { imageSurfaceTreatment: { kind: "neutral-scrim" } }
4182
- }]
4183
- }];
4184
- const microBannerLayoutPatches = [{
4185
- constraints: { layoutVariantKeys: ["micro"] },
4186
- designPatch: { sectionHeight: "banner" }
4187
- }];
4188
- const brandScrimCarry = {
4189
- kind: "by-layout",
4190
- layouts: {
4191
- classic: {
4192
- kind: "look",
4193
- look: "hero-text-over-photo",
4194
- knobs: { photoTint: "brand" }
4195
- },
4196
- micro: {
4197
- kind: "look",
4198
- look: "hero-short-photo-banner",
4199
- knobs: { photoTint: "brand" }
4200
- }
4201
- }
4202
- };
4203
- const heroKnobs = [
4204
- "titleSize",
4205
- "imagePosition",
4206
- "stickerLine"
4207
- ];
4208
- const id$1 = asAppearancePresetId;
4209
- const calendarRuledRows = defineArrangementLook("event-calendar-ruled-rows", "event-calendar", "Ruled rows", "ledger", ["showCapacity"], { thumbnail: sketch.band([sketch.title(.4), sketch.panel([sketch.down(3, [sketch.row(sketch.weight(1, [sketch.title(.6, "small")]), sketch.weight(3, [sketch.text(2, .8)]), sketch.weight(1, [sketch.link]))], { ruled: true })])]) });
4210
- const calendarRuledRowsPanel = defineArrangementLook("event-calendar-ruled-rows-panel", "event-calendar", "Ruled rows on a panel", "ledger", ["showCapacity"], {
4211
- thumbnail: sketch.page([sketch.panel([sketch.title(.4), sketch.down(3, [sketch.row(sketch.weight(1, [sketch.title(.6, "small")]), sketch.weight(3, [sketch.text(2, .8)]), sketch.weight(1, [sketch.button]))], { ruled: true })])]),
4212
- slotRoles: { layout: "card" },
4213
- styleFallback: [id$1("event-calendar-ruled-rows")]
4214
- });
4215
- const calendarTimetableRows = defineArrangementLook("event-calendar-combined-timetable", "event-calendar", "Rows with time above the button", "timetable-rows", ["showCapacity"], {
4216
- thumbnail: sketch.page([sketch.title(.4), sketch.down(3, [sketch.row(sketch.weight(1, [sketch.title(.6, "small")]), sketch.weight(3, [sketch.title(.7, "small"), sketch.text(1, .6)]), sketch.weight(1, [sketch.text(1, .6), sketch.button]))], { ruled: true })]),
4217
- styleFallback: [id$1("event-calendar-combined-rows")]
4218
- });
4219
- /**
4220
- * What a Look needs from its content to look finished, and what it would hide
4221
- * (see `ArrangementLookFit`). Only the style's automatic choice reads it. An
4222
- * intro's statement Look shows no photo, and its photo Looks are built around one.
4223
- */
4224
- const arrangementLookFits = {
4225
- "intro-statement-beside-text": {
4226
- needs: ["statement"],
4227
- leavesOut: ["photo"]
4228
- },
4229
- "intro-photo-beside-text": { needs: ["photo"] },
4230
- "intro-large-photo-beside-text": { needs: ["photo"] }
4231
- };
4232
- //#endregion
4233
3640
  //#region ../theme-core/src/site-styles/appearancePresetCatalog.ts
4234
- const appearancePresets = [
4235
- defineBlockAppearancePreset({
4236
- structure: {
4237
- kind: "recipe",
4238
- constraints: { layoutFamilies: ["centered", "compact"] }
4239
- },
4240
- id: "hero-immersive-image",
4241
- carry: { kind: "by-layout" },
4242
- target: "hero",
4243
- label: "Photo behind centred text",
4244
- blockKinds: ["block.hero"],
4245
- layoutPatches: [{
4246
- constraints: { layoutVariantKeys: ["micro"] },
4247
- designPatch: {
4248
- sectionHeight: "banner",
4249
- heroTypographyScale: "display"
4250
- }
4251
- }],
4252
- design: {
4253
- sectionSurface: "hero-image",
4254
- contentFrame: plainFrame,
4255
- sectionHeight: "hero",
4256
- heroComposition: "center",
4257
- heroTypographyScale: "display",
4258
- imageSurfaceTreatment: { kind: "neutral-wash" }
4259
- }
4260
- }),
4261
- defineBlockAppearancePreset({
4262
- structure: {
4263
- kind: "recipe",
4264
- constraints: { layoutFamilies: ["centered", "compact"] }
4265
- },
4266
- id: "hero-bottom-left-panel",
4267
- carry: { kind: "by-layout" },
4268
- target: "hero",
4269
- label: "Text panel, bottom left of photo",
4270
- blockKinds: ["block.hero"],
4271
- optionGroups: [{
4272
- id: "image-surface-treatment",
4273
- label: "Photo tint",
4274
- defaultOptionId: "neutral-scrim",
4275
- options: [{
4276
- id: "neutral-scrim",
4277
- label: "Dark tint",
4278
- designPatch: { imageSurfaceTreatment: {
4279
- kind: "neutral-scrim",
4280
- intensity: "balanced"
4281
- } }
4282
- }, {
4283
- id: "brand-scrim-primary",
4284
- label: "Brand tint",
4285
- designPatch: { imageSurfaceTreatment: {
4286
- kind: "brand-scrim",
4287
- token: "primary",
4288
- intensity: "balanced"
4289
- } }
4290
- }]
4291
- }],
4292
- layoutPatches: [{
4293
- constraints: { layoutVariantKeys: ["micro"] },
4294
- designPatch: {
4295
- sectionHeight: "banner",
4296
- heroTypographyScale: "editorial"
4297
- }
4298
- }],
4299
- design: {
4300
- sectionSurface: "hero-image",
4301
- contentFrame: panelFrame("raised"),
4302
- sectionHeight: "immersive",
4303
- heroComposition: "bottom-left",
4304
- heroTypographyScale: "display",
4305
- imageSurfaceTreatment: {
4306
- kind: "neutral-scrim",
4307
- intensity: "balanced"
4308
- }
4309
- }
4310
- }),
4311
- defineBlockAppearancePreset({
4312
- structure: {
4313
- kind: "recipe",
4314
- constraints: { layoutFamilies: ["centered", "compact"] }
4315
- },
4316
- id: "hero-poster-image",
4317
- carry: { kind: "by-layout" },
4318
- target: "hero",
4319
- label: "Strong brand tint, big title",
4320
- blockKinds: ["block.hero"],
4321
- layoutPatches: [{
4322
- constraints: { layoutVariantKeys: ["micro"] },
4323
- designPatch: {
4324
- sectionHeight: "banner",
4325
- heroTypographyScale: "display"
4326
- }
4327
- }],
4328
- design: {
4329
- sectionSurface: "hero-image",
4330
- contentFrame: plainFrame,
4331
- sectionHeight: "immersive",
4332
- heroComposition: "center",
4333
- heroTypographyScale: "poster",
4334
- imageSurfaceTreatment: {
4335
- kind: "brand-scrim",
4336
- token: "primary",
4337
- intensity: "strong"
4338
- }
4339
- }
4340
- }),
4341
- defineBlockAppearancePreset({
4342
- structure: {
4343
- kind: "recipe",
4344
- constraints: { layoutFamilies: ["centered", "compact"] }
4345
- },
4346
- id: "hero-brand-scrim",
4347
- carry: brandScrimCarry,
4348
- target: "hero",
4349
- label: "Photo with a brand tint",
4350
- blockKinds: ["block.hero"],
4351
- optionGroups: brandScrimOptionGroups,
4352
- layoutPatches: microBannerLayoutPatches,
4353
- design: {
4354
- sectionSurface: "hero-image",
4355
- contentFrame: plainFrame,
4356
- sectionHeight: "immersive",
4357
- heroComposition: "center",
4358
- heroTypographyScale: "display",
4359
- imageSurfaceTreatment: {
4360
- kind: "brand-scrim",
4361
- token: "primary"
4362
- }
4363
- }
4364
- }),
4365
- defineBlockAppearancePreset({
4366
- structure: {
4367
- kind: "recipe",
4368
- constraints: { layoutFamilies: ["centered", "compact"] }
4369
- },
4370
- id: "hero-brand-scrim-fixed-frame",
4371
- carry: brandScrimCarry,
4372
- target: "hero",
4373
- label: "Fixed photo with a brand tint",
4374
- blockKinds: ["block.hero"],
4375
- optionGroups: brandScrimOptionGroups,
4376
- layoutPatches: microBannerLayoutPatches,
4377
- design: {
4378
- sectionSurface: "hero-image",
4379
- contentFrame: plainFrame,
4380
- sectionHeight: "immersive",
4381
- heroComposition: "center",
4382
- heroTypographyScale: "display",
4383
- imageSurfaceTreatment: {
4384
- kind: "brand-scrim",
4385
- token: "primary"
4386
- },
4387
- imageSurfaceMotion: "fixed-frame",
4388
- eyebrowTreatment: "accent-pill-bounce"
4389
- }
4390
- }),
4391
- defineBlockAppearancePreset({
4392
- structure: {
4393
- kind: "recipe",
4394
- constraints: { layoutFamilies: ["centered", "compact"] }
4395
- },
4396
- id: "hero-brand-depth-expressive",
4397
- carry: {
4398
- kind: "look",
4399
- look: "hero-page-head"
4400
- },
4401
- target: "hero",
4402
- label: "Brand colour, no photo",
4403
- blockKinds: ["block.hero"],
4404
- design: {
4405
- sectionSurface: "brand-depth-band",
4406
- contentFrame: plainFrame,
4407
- heroComposition: "center",
4408
- heroTypographyScale: "editorial",
4409
- eyebrowTreatment: "accent-pill-bounce"
4410
- }
4411
- }),
4412
- defineBlockAppearancePreset({
4413
- structure: { kind: "recipe" },
4414
- id: "hero-contained-intro",
4415
- carry: {
4416
- kind: "look",
4417
- look: "hero-page-head",
4418
- layouts: {
4419
- split: {
4420
- kind: "look",
4421
- look: "hero-photo-beside-text"
4422
- },
4423
- splitReverse: {
4424
- kind: "look",
4425
- look: "hero-photo-beside-text"
4426
- }
4427
- }
4428
- },
4429
- target: "hero",
4430
- label: "Text in a panel on a soft band",
4431
- blockKinds: ["block.hero"],
4432
- design: {
4433
- sectionSurface: "muted-band",
4434
- contentFrame: panelFrame("inset"),
4435
- heroComposition: "center",
4436
- heroTypographyScale: "editorial"
4437
- }
4438
- }),
4439
- defineBlockAppearancePreset({
4440
- structure: {
4441
- kind: "recipe",
4442
- constraints: { layoutFamilies: ["split"] }
4443
- },
4444
- id: "hero-split-editorial",
4445
- carry: {
4446
- kind: "look",
4447
- look: "hero-photo-beside-text"
4448
- },
4449
- target: "hero",
4450
- label: "Split on the page background",
4451
- blockKinds: ["block.hero"],
4452
- design: {
4453
- sectionSurface: "base",
4454
- contentFrame: plainFrame,
4455
- heroTypographyScale: "editorial"
4456
- }
4457
- }),
4458
- defineBlockAppearancePreset({
4459
- structure: {
4460
- kind: "recipe",
4461
- constraints: { layoutFamilies: ["split"] }
4462
- },
4463
- id: "hero-split-brand",
4464
- carry: {
4465
- kind: "look",
4466
- look: "hero-photo-beside-text"
4467
- },
4468
- target: "hero",
4469
- label: "Split on brand colour",
4470
- blockKinds: ["block.hero"],
4471
- design: {
4472
- sectionSurface: "brand-depth-band",
4473
- contentFrame: plainFrame,
4474
- heroTypographyScale: "display",
4475
- eyebrowTreatment: "accent-pill-bounce"
4476
- }
4477
- }),
4478
- defineBlockAppearancePreset({
4479
- structure: {
4480
- kind: "recipe",
4481
- constraints: { layoutFamilies: ["split"] }
4482
- },
4483
- id: "hero-split-soft-panel",
4484
- carry: {
4485
- kind: "look",
4486
- look: "hero-photo-beside-text"
4487
- },
4488
- target: "hero",
4489
- label: "Split, panel on a soft band",
4490
- blockKinds: ["block.hero"],
4491
- design: {
4492
- sectionSurface: "muted-band",
4493
- contentFrame: panelFrame("raised"),
4494
- heroTypographyScale: "editorial"
4495
- }
4496
- }),
4497
- defineBlockAppearancePreset({
4498
- structure: {
4499
- kind: "recipe",
4500
- constraints: { layoutFamilies: ["split"] }
4501
- },
4502
- id: "hero-split-accent",
4503
- carry: {
4504
- kind: "look",
4505
- look: "hero-photo-beside-text"
4506
- },
4507
- target: "hero",
4508
- label: "Split, panel on accent colour",
4509
- blockKinds: ["block.hero"],
4510
- design: {
4511
- sectionSurface: "accent-band",
4512
- contentFrame: panelFrame("raised"),
4513
- heroTypographyScale: "display"
4514
- }
4515
- }),
4516
- defineBlockAppearancePreset({
4517
- structure: {
4518
- kind: "recipe",
4519
- composition: {
4520
- kind: "intro",
4521
- treatment: "editorial-statement"
4522
- },
4523
- constraints: { layoutVariantKeys: ["centered-copy", "statement-copy"] }
4524
- },
4525
- id: "intro-editorial-statement",
4526
- carry: { kind: "by-layout" },
4527
- target: "intro",
4528
- label: "Large statement",
4529
- blockKinds: ["block.intro"],
4530
- design: {
4531
- sectionSurface: "base",
4532
- contentFrame: plainFrame
4533
- }
4534
- }),
4535
- defineBlockAppearancePreset({
4536
- structure: {
4537
- kind: "recipe",
4538
- composition: {
4539
- kind: "intro",
4540
- treatment: "portrait-bio"
4541
- },
4542
- constraints: { layoutVariantKeys: ["media-copy"] }
4543
- },
4544
- id: "intro-portrait-bio",
4545
- carry: {
4546
- kind: "look",
4547
- look: "intro-photo-beside-text",
4548
- knobs: { imageShape: "circle" }
4549
- },
4550
- target: "intro",
4551
- label: "Portrait and bio",
4552
- blockKinds: ["block.intro"],
4553
- design: {
4554
- sectionSurface: "base",
4555
- contentFrame: plainFrame
4556
- }
4557
- }),
4558
- defineBlockAppearancePreset({
4559
- structure: { kind: "recipe" },
4560
- id: "offerings-preview-default-cards",
4561
- carry: {
4562
- kind: "look",
4563
- look: "offerings-type-columns"
4564
- },
4565
- target: "offerings",
4566
- label: "Cards",
4567
- blockKinds: ["block.offerings-preview"],
4568
- design: {
4569
- sectionSurface: "base",
4570
- contentFrame: plainFrame,
4571
- cardRole: "default"
4572
- }
4573
- }),
4574
- defineBlockAppearancePreset({
4575
- structure: { kind: "recipe" },
4576
- id: "offerings-preview-secondary-cards",
4577
- carry: {
4578
- kind: "look",
4579
- look: "offerings-type-columns"
4580
- },
4581
- target: "offerings",
4582
- label: "Cards on a soft band",
4583
- blockKinds: ["block.offerings-preview"],
4584
- design: {
4585
- sectionSurface: "muted-band",
4586
- contentFrame: plainFrame,
4587
- cardRole: "alternative"
4588
- }
4589
- }),
4590
- defineBlockAppearancePreset({
4591
- structure: { kind: "recipe" },
4592
- id: "offerings-preview-non-carded",
4593
- carry: {
4594
- kind: "look",
4595
- look: "feature-cards-open-columns"
4596
- },
4597
- target: "offerings",
4598
- label: "No cards",
4599
- blockKinds: ["block.offerings-preview"],
4600
- design: {
4601
- sectionSurface: "muted-band",
4602
- contentFrame: plainFrame,
4603
- cardRole: "open"
4604
- }
4605
- }),
4606
- defineBlockAppearancePreset({
4607
- structure: {
4608
- kind: "recipe",
4609
- composition: {
4610
- kind: "offerings-preview",
4611
- treatment: "paired-feature-cards"
4612
- },
4613
- constraints: { layoutVariantKeys: ["cards"] }
4614
- },
4615
- id: "offerings-preview-paired-feature-cards",
4616
- carry: {
4617
- kind: "look",
4618
- look: "feature-cards-lead-support"
4619
- },
4620
- target: "offerings",
4621
- label: "One large card, one smaller",
4622
- blockKinds: ["block.offerings-preview"],
4623
- design: {
4624
- sectionSurface: "base",
4625
- contentFrame: plainFrame,
4626
- cardRole: "alternative"
4627
- }
4628
- }),
4629
- defineBlockAppearancePreset({
4630
- structure: {
4631
- kind: "recipe",
4632
- composition: {
4633
- kind: "offerings-preview",
4634
- treatment: "open-editorial-columns"
4635
- },
4636
- constraints: { layoutVariantKeys: ["cards"] }
4637
- },
4638
- id: "offerings-preview-open-editorial-columns",
4639
- carry: {
4640
- kind: "look",
4641
- look: "feature-cards-open-columns"
4642
- },
4643
- target: "offerings",
4644
- label: "Open columns",
4645
- blockKinds: ["block.offerings-preview"],
4646
- design: {
4647
- sectionSurface: "base",
4648
- contentFrame: plainFrame,
4649
- cardRole: "open"
4650
- }
4651
- }),
4652
- defineBlockAppearancePreset({
4653
- structure: {
4654
- kind: "recipe",
4655
- composition: {
4656
- kind: "offerings-preview",
4657
- treatment: "joined-programme-panel"
4658
- },
4659
- constraints: { layoutVariantKeys: ["cards"] }
4660
- },
4661
- id: "offerings-preview-joined-programme-panel",
4662
- carry: {
4663
- kind: "look",
4664
- look: "feature-cards-index"
4665
- },
4666
- target: "offerings",
4667
- label: "Rows joined in one panel",
4668
- blockKinds: ["block.offerings-preview"],
4669
- design: {
4670
- sectionSurface: "base",
4671
- contentFrame: plainFrame,
4672
- cardRole: "default"
4673
- }
4674
- }),
4675
- defineBlockAppearancePreset({
4676
- structure: { kind: "recipe" },
4677
- id: "feature-cards-raised-rule",
4678
- carry: {
4679
- kind: "look",
4680
- look: "feature-cards-cards"
4681
- },
4682
- target: "feature-cards",
4683
- label: "Raised cards with a line",
4684
- blockKinds: ["block.feature-cards"],
4685
- design: {
4686
- sectionSurface: "base",
4687
- contentFrame: plainFrame,
4688
- cardRole: "default"
4689
- }
4690
- }),
4691
- defineBlockAppearancePreset({
4692
- structure: { kind: "recipe" },
4693
- id: "feature-cards-bold-colors",
4694
- carry: {
4695
- kind: "look",
4696
- look: "feature-cards-cards"
4697
- },
4698
- target: "feature-cards",
4699
- label: "Colour-filled cards",
4700
- blockKinds: ["block.feature-cards"],
4701
- design: {
4702
- sectionSurface: "base",
4703
- contentFrame: plainFrame,
4704
- cardRole: "alternative"
4705
- }
4706
- }),
4707
- defineBlockAppearancePreset({
4708
- structure: { kind: "recipe" },
4709
- id: "feature-cards-editorial-columns",
4710
- carry: {
4711
- kind: "look",
4712
- look: "card-list-accent-edged-cards"
4713
- },
4714
- target: "feature-cards",
4715
- label: "Open columns on a soft band",
4716
- blockKinds: ["block.feature-cards"],
4717
- design: {
4718
- sectionSurface: "muted-band",
4719
- contentFrame: plainFrame,
4720
- cardRole: "open"
4721
- }
4722
- }),
4723
- defineBlockAppearancePreset({
4724
- structure: {
4725
- kind: "recipe",
4726
- composition: {
4727
- kind: "feature-cards",
4728
- treatment: "asymmetric-emphasis"
4729
- },
4730
- constraints: { layoutFamilies: ["grid"] }
4731
- },
4732
- id: "feature-cards-asymmetric-emphasis",
4733
- carry: {
4734
- kind: "no-equivalent",
4735
- because: "No shared Look lays cards out in uneven pairs."
4736
- },
4737
- target: "feature-cards",
4738
- label: "Cards in uneven pairs",
4739
- blockKinds: ["block.feature-cards"],
4740
- design: {
4741
- sectionSurface: "base",
4742
- contentFrame: plainFrame
4743
- }
4744
- }),
4745
- defineBlockAppearancePreset({
4746
- structure: {
4747
- kind: "recipe",
4748
- composition: {
4749
- kind: "feature-cards",
4750
- treatment: "framed-programme"
4751
- },
4752
- constraints: { layoutFamilies: ["grid"] }
4753
- },
4754
- id: "feature-cards-framed-programme",
4755
- carry: {
4756
- kind: "look",
4757
- look: "feature-cards-cards"
4758
- },
4759
- target: "feature-cards",
4760
- label: "Close-set cards on brand colour",
4761
- blockKinds: ["block.feature-cards"],
4762
- design: {
4763
- sectionSurface: "brand-depth-band",
4764
- contentFrame: plainFrame,
4765
- cardRole: "alternative"
4766
- }
4767
- }),
4768
- defineBlockAppearancePreset({
4769
- structure: {
4770
- kind: "recipe",
4771
- constraints: { layoutVariantKeys: ["editorial-diptych"] }
4772
- },
4773
- id: "feature-cards-editorial-diptych",
4774
- carry: {
4775
- kind: "look",
4776
- look: "feature-cards-cards"
4777
- },
4778
- target: "feature-cards",
4779
- label: "Two large cards side by side",
4780
- blockKinds: ["block.feature-cards"],
4781
- design: {
4782
- sectionSurface: "base",
4783
- contentFrame: plainFrame,
4784
- cardRole: "default"
4785
- }
4786
- }),
4787
- defineBlockAppearancePreset({
4788
- structure: { kind: "recipe" },
4789
- id: "events-lined-panel",
4790
- carry: {
4791
- kind: "by-layout",
4792
- layouts: {
4793
- combined: {
4794
- kind: "look",
4795
- look: "event-calendar-combined-panel",
4796
- knobs: { actionStyle: "button" }
4797
- },
4798
- stack: {
4799
- kind: "look",
4800
- look: "event-calendar-ruled-rows-panel",
4801
- knobs: { actionStyle: "button" }
4802
- },
4803
- compact: {
4804
- kind: "look",
4805
- look: "event-calendar-ruled-rows-panel",
4806
- knobs: { actionStyle: "button" }
4807
- }
4808
- }
4809
- },
4810
- target: "events",
4811
- label: "Cards on a panel",
4812
- blockKinds: ["block.event-calendar", "block.event-listing"],
4813
- design: {
4814
- sectionSurface: "base",
4815
- contentFrame: panelFrame("raised")
4816
- }
4817
- }),
4818
- defineBlockAppearancePreset({
4819
- structure: { kind: "recipe" },
4820
- id: "events-ruled-register",
4821
- carry: {
4822
- kind: "look",
4823
- look: "event-calendar-ruled-rows"
4824
- },
4825
- target: "events",
4826
- label: "Ruled list",
4827
- blockKinds: ["block.event-calendar", "block.event-listing"],
4828
- design: {
4829
- sectionSurface: "brand-depth-band",
4830
- contentFrame: plainFrame,
4831
- eventListTreatment: "ruled-register"
4832
- }
4833
- }),
4834
- defineBlockAppearancePreset({
4835
- structure: { kind: "recipe" },
4836
- id: "events-editorial-register",
4837
- carry: {
4838
- kind: "look",
4839
- look: "event-calendar-ruled-rows"
4840
- },
4841
- target: "events",
4842
- label: "Editorial list",
4843
- blockKinds: ["block.event-calendar", "block.event-listing"],
4844
- design: {
4845
- sectionSurface: "base",
4846
- contentFrame: plainFrame,
4847
- eventListTreatment: "editorial-register"
4848
- }
4849
- }),
4850
- defineBlockAppearancePreset({
4851
- structure: { kind: "recipe" },
4852
- id: "events-dense-index",
4853
- carry: {
4854
- kind: "look",
4855
- look: "event-calendar-ruled-rows"
4856
- },
4857
- target: "events",
4858
- label: "Compact list",
4859
- blockKinds: ["block.event-calendar", "block.event-listing"],
4860
- design: {
4861
- sectionSurface: "accent-band",
4862
- contentFrame: plainFrame,
4863
- eventListTreatment: "dense-index"
4864
- }
4865
- }),
4866
- defineBlockAppearancePreset({
4867
- structure: { kind: "recipe" },
4868
- id: "schedule-details-brand-depth",
4869
- carry: {
4870
- kind: "look",
4871
- look: "event-details-panel"
4872
- },
4873
- target: "events",
4874
- label: "Details on brand colour",
4875
- blockKinds: ["block.event-details"],
4876
- design: {
4877
- sectionSurface: "brand-depth-band",
4878
- contentFrame: plainFrame,
4879
- tileTreatment: "brand-depth"
4880
- }
4881
- }),
4882
- defineBlockAppearancePreset({
4883
- structure: { kind: "recipe" },
4884
- id: "media-text-flush-feature",
4885
- carry: {
4886
- kind: "look",
4887
- look: "media-text-photo-beside-text"
4888
- },
4889
- target: "media-text",
4890
- label: "Photo to the edge, on a soft band",
4891
- blockKinds: ["block.media-text"],
4892
- design: {
4893
- sectionSurface: "muted-band",
4894
- contentFrame: flushPanelFrame({ bleed: "start" })
4895
- }
4896
- }),
4897
- defineBlockAppearancePreset({
4898
- structure: { kind: "recipe" },
4899
- id: "testimonials-simple-cards",
4900
- carry: { kind: "by-layout" },
4901
- target: "testimonials",
4902
- label: "Quote cards",
4903
- blockKinds: ["block.testimonials"],
4904
- design: {
4905
- sectionSurface: "base",
4906
- contentFrame: plainFrame,
4907
- cardRole: "default"
4908
- }
4909
- }),
4910
- defineBlockAppearancePreset({
4911
- structure: { kind: "recipe" },
4912
- id: "testimonials-raised-panel",
4913
- carry: { kind: "by-layout" },
4914
- target: "testimonials",
4915
- label: "Quotes on a panel",
4916
- blockKinds: ["block.testimonials"],
4917
- design: {
4918
- sectionSurface: "muted-band",
4919
- contentFrame: panelFrame("raised"),
4920
- cardRole: "default"
4921
- }
4922
- }),
4923
- defineBlockAppearancePreset({
4924
- structure: { kind: "recipe" },
4925
- id: "testimonials-accent-panel",
4926
- carry: { kind: "by-layout" },
4927
- target: "testimonials",
4928
- label: "Quotes on an accent panel",
4929
- blockKinds: ["block.testimonials"],
4930
- design: {
4931
- sectionSurface: "accent-band",
4932
- contentFrame: panelFrame("raised"),
4933
- cardRole: "default"
4934
- }
4935
- }),
4936
- defineBlockAppearancePreset({
4937
- structure: { kind: "recipe" },
4938
- id: "testimonials-statement-cards",
4939
- carry: { kind: "by-layout" },
4940
- target: "testimonials",
4941
- label: "Cards on accent colour",
4942
- blockKinds: ["block.testimonials"],
4943
- design: {
4944
- sectionSurface: "accent-band",
4945
- contentFrame: plainFrame,
4946
- cardRole: "alternative"
4947
- }
4948
- }),
4949
- defineBlockAppearancePreset({
4950
- structure: { kind: "recipe" },
4951
- id: "testimonials-brand-statement-cards",
4952
- carry: { kind: "by-layout" },
4953
- target: "testimonials",
4954
- label: "Cards on brand colour",
4955
- blockKinds: ["block.testimonials"],
4956
- design: {
4957
- sectionSurface: "brand-depth-band",
4958
- contentFrame: plainFrame,
4959
- cardRole: "alternative"
4960
- }
4961
- }),
4962
- defineBlockAppearancePreset({
4963
- structure: {
4964
- kind: "recipe",
4965
- composition: {
4966
- kind: "testimonials",
4967
- treatment: "open-editorial"
4968
- }
4969
- },
4970
- id: "testimonials-non-carded",
4971
- carry: {
4972
- kind: "by-layout",
4973
- layouts: { grid: {
4974
- kind: "look",
4975
- look: "testimonials-quote-columns",
4976
- knobs: { quoteCount: "all" }
4977
- } }
4978
- },
4979
- target: "testimonials",
4980
- label: "No cards",
4981
- blockKinds: ["block.testimonials"],
4982
- design: {
4983
- sectionSurface: "muted-band",
4984
- contentFrame: plainFrame
4985
- }
4986
- }),
4987
- defineBlockAppearancePreset({
4988
- structure: {
4989
- kind: "recipe",
4990
- composition: {
4991
- kind: "testimonials",
4992
- treatment: "evergreen-lead"
4993
- },
4994
- constraints: { layoutVariantKeys: ["featured-editorial"] }
4995
- },
4996
- id: "testimonials-evergreen-lead",
4997
- carry: {
4998
- kind: "look",
4999
- look: "testimonials-lead-quote"
5000
- },
5001
- target: "testimonials",
5002
- label: "Lead quote, others in two columns",
5003
- blockKinds: ["block.testimonials"],
5004
- design: {
5005
- sectionSurface: "base",
5006
- contentFrame: plainFrame
5007
- }
5008
- }),
5009
- defineBlockAppearancePreset({
5010
- structure: {
5011
- kind: "recipe",
5012
- composition: {
5013
- kind: "testimonials",
5014
- treatment: "room-and-response"
5015
- },
5016
- constraints: { layoutVariantKeys: ["featured-editorial"] }
5017
- },
5018
- id: "testimonials-room-and-response",
5019
- carry: {
5020
- kind: "look",
5021
- look: "testimonials-lead-quote"
5022
- },
5023
- target: "testimonials",
5024
- label: "Tall lead quote, others beside",
5025
- blockKinds: ["block.testimonials"],
5026
- design: {
5027
- sectionSurface: "base",
5028
- contentFrame: plainFrame
5029
- }
5030
- }),
5031
- defineBlockAppearancePreset({
5032
- structure: {
5033
- kind: "recipe",
5034
- composition: {
5035
- kind: "testimonials",
5036
- treatment: "open-floor"
5037
- },
5038
- constraints: { layoutVariantKeys: ["featured-editorial"] }
5039
- },
5040
- id: "testimonials-open-floor",
5041
- carry: {
5042
- kind: "look",
5043
- look: "testimonials-lead-quote"
5044
- },
5045
- target: "testimonials",
5046
- label: "Title beside, lead quote on top",
5047
- blockKinds: ["block.testimonials"],
5048
- design: {
5049
- sectionSurface: "base",
5050
- contentFrame: plainFrame
5051
- }
5052
- }),
5053
- defineBlockAppearancePreset({
5054
- structure: { kind: "recipe" },
5055
- id: "faq-base-accordion",
5056
- carry: { kind: "by-layout" },
5057
- target: "faq",
5058
- label: "Plain list of questions",
5059
- blockKinds: ["block.faq"],
5060
- design: {
5061
- sectionSurface: "base",
5062
- contentFrame: plainFrame,
5063
- cardRole: "default"
5064
- }
5065
- }),
5066
- defineBlockAppearancePreset({
5067
- structure: { kind: "recipe" },
5068
- id: "faq-contained-help",
5069
- carry: {
5070
- kind: "by-layout",
5071
- layouts: { default: {
5072
- kind: "look",
5073
- look: "faq-questions-in-panel"
5074
- } }
5075
- },
5076
- target: "faq",
5077
- label: "Questions in a panel",
5078
- blockKinds: ["block.faq"],
5079
- design: {
5080
- sectionSurface: "muted-band",
5081
- contentFrame: panelFrame("inset"),
5082
- cardRole: "default"
5083
- }
5084
- }),
5085
- defineBlockAppearancePreset({
5086
- structure: { kind: "recipe" },
5087
- id: "contact-form-panel",
5088
- carry: { kind: "by-layout" },
5089
- target: "contact-form",
5090
- label: "Form on a panel",
5091
- blockKinds: ["block.form"],
5092
- design: {
5093
- sectionSurface: "muted-band",
5094
- contentFrame: panelFrame("raised")
5095
- }
5096
- }),
5097
- defineBlockAppearancePreset({
5098
- structure: { kind: "recipe" },
5099
- id: "booking-brand-band",
5100
- carry: {
5101
- kind: "no-equivalent",
5102
- because: "Appointment booking has no shared Looks."
5103
- },
5104
- target: "contact-form",
5105
- label: "Booking form on brand colour",
5106
- blockKinds: ["block.appointment-booking"],
5107
- design: {
5108
- sectionSurface: "brand-depth-band",
5109
- contentFrame: plainFrame
5110
- }
5111
- }),
5112
- defineBlockAppearancePreset({
5113
- structure: { kind: "recipe" },
5114
- id: "cta-accent-band",
5115
- carry: {
5116
- kind: "look",
5117
- look: "cta-centred"
5118
- },
5119
- target: "cta",
5120
- label: "Accent colour band",
5121
- blockKinds: ["block.cta-full"],
5122
- design: {
5123
- sectionSurface: "accent-band",
5124
- contentFrame: plainFrame,
5125
- eyebrowTreatment: "accent"
5126
- }
5127
- }),
5128
- defineArrangementLook("body-text-reading-column", "body-text", "Reading column", "prose", [], { thumbnail: sketch.page([
5129
- sketch.rule,
5130
- sketch.title(.5),
5131
- sketch.text(4)
5132
- ], { align: "center" }) }),
5133
- defineArrangementLook("form-beside-introduction-arched-panel", "form", "Introduction beside a framed form", "two-column", [], {
5134
- thumbnail: sketch.page([sketch.middle([
5135
- sketch.rule,
5136
- sketch.title(.8),
5137
- sketch.text(3)
5138
- ], [sketch.panel([
5139
- sketch.field,
5140
- sketch.field,
5141
- sketch.button
5142
- ])])]),
5143
- slotRoles: { panel: "card" },
5144
- styleFallback: [id$1("form-below-introduction")]
5145
- }),
5146
- defineArrangementLook("form-beside-introduction-no-card", "form", "Form on the background, no card", "two-column", [], {
5147
- thumbnail: sketch.page([sketch.middle([
5148
- sketch.rule,
5149
- sketch.title(.8),
5150
- sketch.text(3)
5151
- ], [
5152
- sketch.field,
5153
- sketch.field,
5154
- sketch.button
5155
- ])]),
5156
- styleFallback: [id$1("form-beside-introduction-arched-panel")]
5157
- }),
5158
- defineArrangementLook("newsletter-signup-in-arch", "newsletter-signup", "Signup in a frame", "arch", [], {
5159
- thumbnail: sketch.band([sketch.panel([
5160
- sketch.title(.6),
5161
- sketch.text(1, .7),
5162
- sketch.row(sketch.weight(3, [sketch.field]), sketch.weight(1, [sketch.button]))
5163
- ])], { align: "center" }),
5164
- styleFallback: [id$1("newsletter-signup-text-beside")]
5165
- }),
5166
- defineArrangementLook("image-gallery-square-tiles", "image-gallery", "Square tiles", "tiles", ["blackAndWhite"], { thumbnail: sketch.page([
5167
- sketch.title(.4),
5168
- sketch.across(4, [sketch.photo("short")]),
5169
- sketch.across(4, [sketch.photo("short")])
5170
- ]) }),
5171
- defineArrangementLook("image-gallery-arched-captions", "image-gallery", "Arched photos with captions", "tiles", ["blackAndWhite"], {
5172
- thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.photo("tall", "arch"), sketch.text(1, .7)])]),
5173
- styleFallback: [id$1("image-gallery-square-tiles")]
5174
- }),
5175
- defineArrangementLook("media-text-circle-beside-text", "media-text", "Circle beside the text", "circle-beside", ["imagePosition"], {
5176
- thumbnail: sketch.page([sketch.middle([sketch.photo("medium", "circle")], [sketch.title(.8), sketch.text(3)])]),
5177
- forcedKnobs: {
5178
- imageShape: "circle",
5179
- aspectRatio: "1/1"
5180
- },
5181
- styleFallback: [id$1("media-text-photo-beside-text")]
5182
- }),
5183
- defineArrangementLook("hero-photo-beside-text", "hero", "Photo beside the text", "split", heroKnobs, {
5184
- photoUse: "beside",
5185
- thumbnail: sketch.page([sketch.middle([
5186
- sketch.rule,
5187
- sketch.title(.95, "large"),
5188
- sketch.title(.7, "large"),
5189
- sketch.text(2),
5190
- sketch.button
5191
- ], [sketch.photo("tall")])]),
5192
- slotRoles: { sticker: "highlight" }
5193
- }),
5194
- defineArrangementLook("hero-headline-row", "hero", "Big headline, then text and photo", "headline-row", heroKnobs, {
5195
- photoUse: "beside",
5196
- thumbnail: sketch.page([sketch.title(.9, "large"), sketch.row([sketch.text(3), sketch.button], [sketch.photo("medium")])]),
5197
- slotRoles: { sticker: "highlight" },
5198
- styleFallback: [id$1("hero-photo-beside-text")]
5199
- }),
5200
- defineArrangementLook("hero-photo-then-text", "hero", "Photo, then text below", "split", ["titleSize"], {
5201
- photoUse: "beside",
5202
- thumbnail: sketch.page([sketch.photo("medium"), sketch.row([sketch.title(.95, "large"), sketch.title(.6, "large")], [sketch.text(2), sketch.button])]),
5203
- styleFallback: [id$1("hero-photo-beside-text")]
5204
- }),
5205
- defineArrangementLook("hero-copy-over-gallery", "hero", "Title over a row of photos", "copy-over-gallery", ["titleSize", "stickerLine"], {
5206
- photoUse: "beside",
5207
- thumbnail: sketch.page([
5208
- sketch.title(.6, "large"),
5209
- sketch.text(1, .5),
5210
- sketch.across(3, [sketch.photo("short")])
5211
- ], { align: "center" }),
5212
- slotRoles: { sticker: "highlight" },
5213
- styleFallback: [id$1("hero-photo-beside-text")]
5214
- }),
5215
- defineArrangementLook("hero-photo-behind-text", "hero", "Photo behind the text", "classic", ["titleSize", "smallCaption"], {
5216
- photoUse: "behind",
5217
- photoTreatment: "photo-only",
5218
- thumbnail: sketch.page([sketch.over("full", [
5219
- sketch.title(.7, "large"),
5220
- sketch.text(2, .7),
5221
- sketch.button
5222
- ], { panel: true })]),
5223
- slotRoles: { copy: "card" },
5224
- styleFallback: [id$1("hero-photo-beside-text")]
5225
- }),
5226
- defineArrangementLook("hero-text-over-photo", "hero", "Text over photo", "classic", [], {
5227
- photoUse: "behind",
5228
- thumbnail: sketch.page([sketch.over("full", [
5229
- sketch.title(.6, "large"),
5230
- sketch.text(2, .6),
5231
- sketch.button
5232
- ])]),
5233
- photoTreatment: "text-overlay",
5234
- whenMissing: [{
5235
- fact: "photo",
5236
- look: id$1("hero-page-head")
5237
- }],
5238
- styleFallback: [id$1("hero-photo-behind-text")]
5239
- }),
5240
- defineArrangementLook("hero-short-photo-banner", "hero", "Short photo banner", "classic", [], {
5241
- photoUse: "behind",
5242
- photoTreatment: "photo-only",
5243
- thumbnail: sketch.page([sketch.over("banner", [sketch.title(.6)], { panel: true })]),
5244
- slotRoles: { copy: "card" },
5245
- styleFallback: [id$1("hero-page-head")]
5246
- }),
5247
- defineArrangementLook("hero-page-head-round-photo", "hero", "Short title beside a round photo", "split", ["titleSize"], {
5248
- photoUse: "beside",
5249
- thumbnail: sketch.page([sketch.middle([
5250
- sketch.rule,
5251
- sketch.title(.7, "large"),
5252
- sketch.text(1, .6)
5253
- ], [sketch.photo("short", "circle")])]),
5254
- whenMissing: [{
5255
- fact: "photo",
5256
- look: id$1("hero-page-head")
5257
- }],
5258
- styleFallback: [id$1("hero-page-head")]
5259
- }),
5260
- defineArrangementLook("hero-three-round-photos", "hero", "Three round photos beside the text", "photo-trio", ["titleSize"], {
5261
- photoUse: "beside",
5262
- thumbnail: sketch.page([sketch.middle([
5263
- sketch.rule,
5264
- sketch.title(.95, "large"),
5265
- sketch.title(.7, "large"),
5266
- sketch.text(2),
5267
- sketch.button
5268
- ], [sketch.photo("short", "circle"), sketch.across(2, [sketch.photo("short", "circle")])])]),
5269
- styleFallback: [id$1("hero-photo-beside-text")]
5270
- }),
5271
- defineArrangementLook("hero-page-head", "hero", "Title and facts, no photo", "page-head", ["titleSize", "smallCaption"], {
5272
- photoUse: "none",
5273
- thumbnail: sketch.page([
5274
- sketch.rule,
5275
- sketch.title(.6, "large"),
5276
- sketch.text(1, .5),
5277
- sketch.row([sketch.text(1, .7)], [sketch.text(1, .7)], [sketch.text(1, .7)])
5278
- ]),
5279
- styleFallback: [id$1("hero-photo-beside-text")]
5280
- }),
5281
- defineArrangementLook("class-prices-big-figures", "class-prices", "Prices as big figures", "cards", [], { thumbnail: sketch.page([sketch.across(3, [
5282
- sketch.price,
5283
- sketch.title(.7, "small"),
5284
- sketch.text(1)
5285
- ])]) }),
5286
- defineArrangementLook("class-prices-rows", "class-prices", "Prices on the right of each row", "index", [], { thumbnail: sketch.page([sketch.down(3, [sketch.row([sketch.title(.7, "small"), sketch.text(1)], [sketch.price])], { ruled: true })]) }),
5287
- defineCardListLook("feature-cards-cards", "Cards", "cards", [
5288
- "media",
5289
- "title",
5290
- "text",
5291
- "action"
5292
- ], [
5293
- "showPhotos",
5294
- "cardMarker",
5295
- "columns"
5296
- ], {
5297
- thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([sketch.title(.7, "small"), sketch.text(2)])])]),
5298
- itemRoles: { items: "card" }
5299
- }),
5300
- defineCardListLook("card-list-accent-edged-cards", "Accent-edged cards", "cards", [
5301
- "media",
5302
- "title",
5303
- "text",
5304
- "action"
5305
- ], [
5306
- "showPhotos",
5307
- "cardMarker",
5308
- "columns"
5309
- ], {
5310
- thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.accentCard([sketch.title(.7, "small"), sketch.text(2)])])]),
5311
- itemRoles: { items: "card" },
5312
- styleFallback: [id$1("feature-cards-cards")]
5313
- }),
5314
- defineCardListLook("feature-cards-open-columns", "Open columns", "cards", [
5315
- "media",
5316
- "title",
5317
- "text",
5318
- "action"
5319
- ], [
5320
- "showPhotos",
5321
- "cardMarker",
5322
- "columns"
5323
- ], {
5324
- thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.title(.7, "small"), sketch.text(3)])]),
5325
- knobDefaults: { actionStyle: "link" },
5326
- styleFallback: [id$1("feature-cards-cards")]
5327
- }),
5328
- defineCardListLook("feature-cards-lead-support", "First item leads, the rest follow", "lead-support", [
5329
- "media",
5330
- "title",
5331
- "text",
5332
- "action"
5333
- ], ["showPhotos"], {
5334
- thumbnail: sketch.page([sketch.row(sketch.weight(4, [sketch.featured([
5335
- sketch.photo("medium"),
5336
- sketch.title(.7),
5337
- sketch.text(2)
5338
- ])]), sketch.weight(3, [sketch.down(2, [sketch.title(.7, "small"), sketch.text(2)])]))]),
5339
- itemRoles: { at: { first: "statement" } },
5340
- styleFallback: [id$1("feature-cards-cards")]
5341
- }),
5342
- defineCardListLook("feature-cards-index", "Ruled list", "index", [
5343
- "title",
5344
- "text",
5345
- "action"
5346
- ], ["cardMarker"], {
5347
- thumbnail: sketch.page([sketch.title(.4), sketch.down(3, [sketch.row(sketch.weight(1, [sketch.title(.8, "small")]), sketch.weight(2, [sketch.text(1)]))], { ruled: true })]),
5348
- knobDefaults: { cardMarker: "none" },
5349
- knobValues: { cardMarker: ["numbers", "none"] },
5350
- styleFallback: [id$1("feature-cards-cards")]
5351
- }),
5352
- {
5353
- ...defineCardListLook("feature-cards-timeline", "A timeline down the page", "index", [
5354
- "title",
5355
- "text",
5356
- "action"
5357
- ], [], {
5358
- thumbnail: sketch.page([sketch.title(.4), sketch.down(3, [sketch.row(sketch.weight(1, [sketch.number]), sketch.weight(5, [sketch.card([sketch.title(.6, "small"), sketch.text(2)])]))])]),
5359
- forcedKnobs: { cardMarker: "none" },
5360
- itemRoles: { items: "card" },
5361
- styleFallback: [id$1("feature-cards-index")]
5362
- }),
5363
- blockKinds: ["block.feature-cards"]
5364
- },
5365
- {
5366
- ...defineCardListLook("feature-cards-photo-beside-cards", "Cards with a photo beside the text", "cards", [
5367
- "media",
5368
- "title",
5369
- "text",
5370
- "action"
5371
- ], ["showPhotos"], {
5372
- thumbnail: sketch.page([sketch.title(.4), sketch.across(2, [sketch.card([sketch.row([sketch.photo("short")], [
5373
- sketch.title(.7, "small"),
5374
- sketch.text(2),
5375
- sketch.link
5376
- ])])])]),
5377
- knobDefaults: { actionStyle: "link" },
5378
- itemRoles: { items: "card" },
5379
- styleFallback: [id$1("feature-cards-cards")]
5380
- }),
5381
- blockKinds: ["block.feature-cards"]
5382
- },
5383
- defineCardListLook("feature-cards-sequence", "Numbered steps", "sequence", [
5384
- "title",
5385
- "text",
5386
- "action"
5387
- ], [], {
5388
- thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [
5389
- sketch.number,
5390
- sketch.title(.7, "small"),
5391
- sketch.text(2)
5392
- ])]),
5393
- forcedKnobs: { cardMarker: "numbers" },
5394
- styleFallback: [id$1("feature-cards-cards")]
5395
- }),
5396
- defineCardListLook("card-list-plates", "Plates", "plates", [
5397
- "media",
5398
- "title",
5399
- "text",
5400
- "facts",
5401
- "schedule",
5402
- "action"
5403
- ], ["showPhotos"], {
5404
- thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([
5405
- sketch.photo("short"),
5406
- sketch.title(.7, "small"),
5407
- sketch.text(1),
5408
- sketch.link
5409
- ])])]),
5410
- knobDefaults: {
5411
- actionStyle: "link",
5412
- cardMarker: "none"
5413
- },
5414
- styleFallback: [id$1("feature-cards-cards")]
5415
- }),
5416
- calendarRuledRows,
5417
- calendarRuledRowsPanel,
5418
- {
5419
- ...calendarRuledRowsPanel,
5420
- id: id$1("event-calendar-day-schedule"),
5421
- label: "Sessions grouped by day",
5422
- structure: {
5423
- ...calendarRuledRowsPanel.structure,
5424
- eventRows: "day-schedule",
5425
- forcedKnobs: { actionStyle: "button" }
5426
- }
5427
- },
5428
- defineArrangementLook("event-calendar-grouped-by-day", "event-calendar", "Grouped by day", "day-groups", ["showCapacity"], {
5429
- thumbnail: sketch.band([sketch.title(.4), sketch.down(2, [sketch.title(.2, "small"), sketch.panel([sketch.down(2, [sketch.row(sketch.weight(3, [sketch.text(1)]), sketch.weight(1, [sketch.link]))], { ruled: true })])])]),
5430
- styleFallback: [id$1("event-calendar-ruled-rows")]
5431
- }),
5432
- defineArrangementLook("event-calendar-grouped-by-week", "event-calendar", "Grouped by week", "week-groups", [], {
5433
- thumbnail: sketch.band([sketch.title(.4), sketch.down(2, [sketch.title(.3, "small"), sketch.panel([sketch.text(2), sketch.button])])]),
5434
- styleFallback: [id$1("event-calendar-grouped-by-day")]
5435
- }),
5436
- {
5437
- ...calendarRuledRowsPanel,
5438
- id: id$1("event-calendar-combined-panel"),
5439
- structure: {
5440
- ...calendarRuledRowsPanel.structure,
5441
- byMode: { combined: "ledger" },
5442
- styleFallback: [id$1("event-calendar-combined-rows")]
5443
- }
5444
- },
5445
- {
5446
- ...calendarRuledRows,
5447
- id: id$1("event-calendar-combined-rows"),
5448
- structure: {
5449
- ...calendarRuledRows.structure,
5450
- byMode: { combined: "ledger" }
5451
- }
5452
- },
5453
- {
5454
- ...calendarTimetableRows,
5455
- structure: {
5456
- ...calendarTimetableRows.structure,
5457
- byMode: { combined: "timetable-rows" }
5458
- }
5459
- },
5460
- {
5461
- ...defineArrangementLook("event-calendar-week-columns", "event-calendar", "The week in columns", "week-columns", [], { thumbnail: sketch.band([sketch.title(.4), sketch.across(5, [sketch.title(.5, "small"), sketch.down(2, [sketch.card([sketch.text(1)])])])]) }),
5462
- structure: {
5463
- kind: "arrangement",
5464
- byMode: { list: "week-columns" },
5465
- knobs: ["showCapacity"],
5466
- itemRoles: {},
5467
- whenMissing: [{
5468
- fact: "listed-by-week",
5469
- look: id$1("event-calendar-grouped-by-day")
5470
- }],
5471
- styleFallback: [id$1("event-calendar-grouped-by-day")],
5472
- photoUse: "none"
5473
- }
5474
- },
5475
- defineArrangementLook("event-calendar-session-cards", "event-calendar", "Session cards", "grid", [
5476
- "showCapacity",
5477
- "showPhotos",
5478
- "listColumns"
5479
- ], {
5480
- thumbnail: sketch.band([sketch.title(.4), sketch.across(3, [sketch.card([
5481
- sketch.title(.4, "small"),
5482
- sketch.title(.8, "small"),
5483
- sketch.text(1),
5484
- sketch.button
5485
- ])])]),
5486
- itemRoles: { items: "card" },
5487
- slotRoles: { date: "highlight" },
5488
- styleFallback: [id$1("event-calendar-ruled-rows")]
5489
- }),
5490
- defineArrangementLook("event-calendar-next-three", "event-calendar", "Compact rows", "compact", ["showCapacity"], {
5491
- thumbnail: sketch.page([sketch.title(.4), sketch.panel([sketch.down(3, [sketch.row(sketch.weight(3, [sketch.text(1)]), sketch.weight(1, [sketch.link]))], { ruled: true })])]),
5492
- itemRoles: { container: "card" },
5493
- styleFallback: [id$1("event-calendar-ruled-rows")]
5494
- }),
5495
- defineArrangementLook("events-spotlight", "event-calendar", "Event spotlight", "grid", [
5496
- "showCapacity",
5497
- "showPhotos",
5498
- "listColumns"
5499
- ], {
5500
- thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([
5501
- sketch.photo("short"),
5502
- sketch.title(.8, "small"),
5503
- sketch.text(1),
5504
- sketch.button
5505
- ])])]),
5506
- itemRoles: { items: "card" },
5507
- slotRoles: { date: "highlight" },
5508
- styleFallback: [id$1("event-calendar-session-cards")]
5509
- }),
5510
- {
5511
- ...defineArrangementLook("events-recurring-week", "event-calendar", "Weekly schedule", "ledger", [], { thumbnail: sketch.page([sketch.title(.4), sketch.across(5, [sketch.title(.6, "small"), sketch.down(2, [sketch.card([sketch.text(1)])])])]) }),
5512
- structure: {
5513
- kind: "arrangement",
5514
- byMode: { week: "ledger" },
5515
- knobs: [],
5516
- itemRoles: {},
5517
- whenMissing: [],
5518
- styleFallback: [],
5519
- photoUse: "none"
5520
- }
5521
- },
5522
- defineArrangementLook("hero-framed-title", "hero", "Title framed between two photos", "copy-over-gallery", ["titleSize", "smallCaption"], {
5523
- photoUse: "beside",
5524
- thumbnail: sketch.page([sketch.middle([sketch.photo("tall")], [sketch.title(.95, "large"), sketch.title(.7, "large")], [sketch.photo("tall")])]),
5525
- styleFallback: [id$1("hero-copy-over-gallery")]
5526
- }),
5527
- defineArrangementLook("testimonials-lead-quote", "testimonials", "Big quote with others beside", "lead-rest", ["quoteCount"], {
5528
- thumbnail: sketch.band([sketch.row(sketch.weight(3, [
5529
- sketch.quote("large"),
5530
- sketch.title(.95, "small"),
5531
- sketch.title(.8, "small"),
5532
- sketch.text(1, .3)
5533
- ]), sketch.weight(2, [sketch.down(2, [sketch.text(2), sketch.text(1, .3)])]))]),
5534
- knobDescriptions: { quoteCount: "Shows your chosen quotes: the first one large, the rest beside it." }
5535
- }),
5536
- defineArrangementLook("testimonials-quote-cards", "testimonials", "Quote cards", "columns", ["quoteCount"], {
5537
- thumbnail: sketch.band([sketch.title(.4), sketch.across(3, [sketch.card([sketch.quote(), sketch.text(3)])])]),
5538
- knobDescriptions: { quoteCount: "Shows your chosen quotes as cards in a row." },
5539
- itemRoles: { items: "card" },
5540
- styleFallback: [id$1("testimonials-quote-columns")]
5541
- }),
5542
- defineArrangementLook("testimonials-quote-columns", "testimonials", "Quotes in open columns", "columns", ["quoteCount"], {
5543
- thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.quote(), sketch.text(3)])]),
5544
- knobDescriptions: { quoteCount: "Shows your chosen quotes in columns." },
5545
- styleFallback: [id$1("testimonials-lead-quote")]
5546
- }),
5547
- defineArrangementLook("testimonials-one-quote", "testimonials", "One quote", "single", [], {
5548
- thumbnail: sketch.page([
5549
- sketch.quote("large"),
5550
- sketch.title(.8, "small"),
5551
- sketch.title(.7, "small"),
5552
- sketch.text(1, .3)
5553
- ], { align: "center" }),
5554
- styleFallback: [id$1("testimonials-lead-quote")]
5555
- }),
5556
- defineArrangementLook("testimonials-one-at-a-time", "testimonials", "One at a time, with arrows", "slides", ["quoteCount"], {
5557
- thumbnail: sketch.band([sketch.across(1, [sketch.card([sketch.quote(), sketch.text(3)])], { arrows: true })]),
5558
- knobDescriptions: { quoteCount: "Shows your chosen quotes, one at a time." },
5559
- styleFallback: [id$1("testimonials-one-quote")]
5560
- }),
5561
- defineArrangementLook("testimonials-scroll-row", "testimonials", "A row of cards you can scroll", "track", ["quoteCount", "autoAdvance"], {
5562
- thumbnail: sketch.band([sketch.title(.4), sketch.across(4, [sketch.card([sketch.quote(), sketch.text(2)])], { overflow: true })]),
5563
- knobDescriptions: { quoteCount: "Shows your chosen quotes in a row you can scroll." },
5564
- itemRoles: { items: "card" },
5565
- styleFallback: [id$1("testimonials-quote-cards")]
5566
- }),
5567
- {
5568
- ...defineArrangementLook("event-calendar-month-grid", "event-calendar", "Month grid", "month-grid", [], { thumbnail: sketch.page([sketch.title(.4), sketch.calendar]) }),
5569
- structure: {
5570
- kind: "arrangement",
5571
- byMode: { calendar: "month-grid" },
5572
- knobs: [],
5573
- itemRoles: {},
5574
- whenMissing: [],
5575
- styleFallback: [],
5576
- photoUse: "none"
5577
- }
5578
- },
5579
- {
5580
- ...defineArrangementLook("event-calendar-month-day", "event-calendar", "Calendar beside the day", "month-day", [], { thumbnail: sketch.page([sketch.row(sketch.weight(2, [sketch.calendar]), sketch.weight(1, [sketch.title(.6, "small"), sketch.down(3, [sketch.text(1)], { ruled: true })]))]) }),
5581
- structure: {
5582
- kind: "arrangement",
5583
- byMode: { calendar: "month-day" },
5584
- knobs: [],
5585
- itemRoles: {},
5586
- whenMissing: [],
5587
- styleFallback: [id$1("event-calendar-month-grid")],
5588
- photoUse: "none"
5589
- }
5590
- },
5591
- defineArrangementLook("event-details-header", "event-details", "Event header", "event-header", [], {
5592
- thumbnail: sketch.page([
5593
- sketch.rule,
5594
- sketch.title(.7, "large"),
5595
- sketch.text(1, .5),
5596
- sketch.middle([sketch.text(1)], [sketch.text(1)], [sketch.button])
5597
- ]),
5598
- actionSize: "lg",
5599
- slotRoles: { availability: "highlight" }
5600
- }),
5601
- defineArrangementLook("event-details-panel", "event-details", "Details panel", "details-panel", [], {
5602
- thumbnail: sketch.page([sketch.row(sketch.weight(2, [sketch.title(.8, "large"), sketch.text(4)]), sketch.weight(1, [sketch.panel([sketch.text(3), sketch.button])]))]),
5603
- slotRoles: { panel: "card" },
5604
- styleFallback: [id$1("event-details-header")]
5605
- }),
5606
- defineArrangementLook("intro-statement-beside-text", "intro", "Big statement beside the text", "statement-copy", [], {
5607
- thumbnail: sketch.page([sketch.row([sketch.title(.95, "large"), sketch.title(.8, "large")], [sketch.text(5)])]),
5608
- styleFallback: [id$1("intro-photo-beside-text")]
5609
- }),
5610
- defineArrangementLook("intro-photo-beside-text", "intro", "Small photo beside the text", "media-copy", ["imagePosition", "imageShape"], {
5611
- thumbnail: sketch.page([sketch.middle(sketch.weight(1, [sketch.photo("medium")]), sketch.weight(2, [sketch.title(.7), sketch.text(3)]))]),
5612
- whenMissing: [{
5613
- fact: "photo",
5614
- look: id$1("intro-statement-beside-text")
5615
- }]
5616
- }),
5617
- defineArrangementLook("intro-large-photo-beside-text", "intro", "Large photo beside the text", "media-copy", ["imagePosition"], {
5618
- thumbnail: sketch.page([sketch.row(sketch.weight(1, [sketch.photo("tall")]), sketch.weight(1, [sketch.title(.7), sketch.text(5)]))]),
5619
- whenMissing: [{
5620
- fact: "photo",
5621
- look: id$1("intro-statement-beside-text")
5622
- }],
5623
- styleFallback: [id$1("intro-photo-beside-text")]
5624
- }),
5625
- defineArrangementLook("media-text-photo-beside-text", "media-text", "Photo beside the text", "default", ["imagePosition", "imageShape"], { thumbnail: sketch.page([sketch.middle([sketch.photo("tall")], [
5626
- sketch.rule,
5627
- sketch.title(.8),
5628
- sketch.text(3)
5629
- ])]) }),
5630
- defineArrangementLook("media-text-photo-to-edge", "media-text", "Photo to the edge", "default", ["imagePosition"], {
5631
- thumbnail: sketch.page([sketch.row(sketch.weight(1, [
5632
- sketch.rule,
5633
- sketch.title(.8),
5634
- sketch.text(3)
5635
- ]), sketch.weight(1, [sketch.photo("tall")]))]),
5636
- styleFallback: [id$1("media-text-photo-beside-text")]
5637
- }),
5638
- defineArrangementLook("newsletter-signup-one-row", "newsletter-signup", "Signup in one row", "inline", [], {
5639
- thumbnail: sketch.band([
5640
- sketch.title(.6),
5641
- sketch.text(1, .6),
5642
- sketch.row(sketch.weight(3, [sketch.field]), sketch.weight(1, [sketch.button]))
5643
- ]),
5644
- slotRoles: { panel: "card" },
5645
- styleFallback: [id$1("newsletter-signup-text-beside")]
5646
- }),
5647
- defineArrangementLook("newsletter-signup-text-beside", "newsletter-signup", "Text beside the signup", "editorial-split", [], {
5648
- thumbnail: sketch.band([sketch.middle([sketch.title(.9), sketch.text(2)], [sketch.field, sketch.button])]),
5649
- slotRoles: { panel: "card" },
5650
- styleFallback: [id$1("newsletter-signup-in-arch")]
5651
- }),
5652
- defineArrangementLook("form-below-introduction", "form", "Form below its introduction", "default", [], {
5653
- thumbnail: sketch.page([
5654
- sketch.rule,
5655
- sketch.title(.5),
5656
- sketch.text(2, .7),
5657
- sketch.panel([
5658
- sketch.field,
5659
- sketch.field,
5660
- sketch.button
5661
- ])
5662
- ]),
5663
- slotRoles: { panel: "card" },
5664
- styleFallback: [id$1("form-beside-introduction-arched-panel")]
5665
- }),
5666
- defineCardListLook("card-list-wide-slides", "Wide cards, one at a time", "slides", [
5667
- "media",
5668
- "title",
5669
- "text",
5670
- "action"
5671
- ], ["showPhotos"], {
5672
- thumbnail: sketch.page([sketch.title(.4), sketch.across(1, [sketch.card([sketch.row([sketch.photo("medium")], [
5673
- sketch.title(.7, "small"),
5674
- sketch.text(2),
5675
- sketch.button
5676
- ])])], { arrows: true })]),
5677
- itemRoles: { items: "card" },
5678
- slotRoles: { date: "highlight" },
5679
- knobDefaults: {
5680
- actionStyle: "button",
5681
- dates: "summary"
5682
- },
5683
- styleFallback: [id$1("card-list-plates"), id$1("feature-cards-cards")]
5684
- }),
5685
- defineCardListLook("card-list-scroll-row", "A row of cards you can scroll", "track", [
5686
- "media",
5687
- "title",
5688
- "text",
5689
- "action"
5690
- ], ["showPhotos"], {
5691
- thumbnail: sketch.page([sketch.title(.4), sketch.across(4, [sketch.card([
5692
- sketch.photo("short"),
5693
- sketch.title(.7, "small"),
5694
- sketch.text(1)
5695
- ])], { overflow: true })]),
5696
- itemRoles: { items: "card" },
5697
- slotRoles: { date: "highlight" },
5698
- knobDefaults: {
5699
- actionStyle: "button",
5700
- dates: "summary"
5701
- },
5702
- styleFallback: [id$1("feature-cards-cards")]
5703
- }),
5704
- defineArrangementLook("body-text-title-beside", "body-text", "Title beside the text", "prose", [], {
5705
- thumbnail: sketch.page([sketch.row(sketch.weight(2, [
5706
- sketch.rule,
5707
- sketch.title(.9),
5708
- sketch.title(.6)
5709
- ]), sketch.weight(3, [sketch.text(5)]))]),
5710
- styleFallback: [id$1("body-text-reading-column")]
5711
- }),
5712
- defineArrangementLook("body-text-large-opening", "body-text", "Large opening paragraph", "prose", ["alignment"], {
5713
- knobDescriptions: { alignment: "Centres a short opening statement. Longer text reads better on the left." },
5714
- thumbnail: sketch.page([
5715
- sketch.title(.45),
5716
- sketch.title(.95, "small"),
5717
- sketch.title(.8, "small"),
5718
- sketch.text(2)
5719
- ]),
5720
- styleFallback: [id$1("body-text-reading-column")]
5721
- }),
5722
- defineArrangementLook("faq-questions-under-title", "faq", "Questions under the title", "default", [], { thumbnail: sketch.page([sketch.title(.4), sketch.down(4, [sketch.text(1, .7)], { ruled: true })]) }),
5723
- defineArrangementLook("faq-questions-in-panel", "faq", "Questions in a panel", "default", [], {
5724
- thumbnail: sketch.page([sketch.panel([sketch.title(.4), sketch.down(4, [sketch.text(1, .7)], { ruled: true })])], { align: "center" }),
5725
- slotRoles: { layout: "card" },
5726
- styleFallback: [id$1("faq-questions-under-title")]
5727
- }),
5728
- defineArrangementLook("faq-title-beside-questions", "faq", "Title beside the questions", "two-column", [], {
5729
- thumbnail: sketch.page([sketch.row(sketch.weight(1, [sketch.rule, sketch.title(.9)]), sketch.weight(2, [sketch.down(4, [sketch.text(1, .8)], { ruled: true })]))]),
5730
- styleFallback: [id$1("faq-questions-under-title")]
5731
- }),
5732
- defineArrangementLook("faq-questions-two-columns", "faq", "Questions in two columns", "question-columns", [], {
5733
- thumbnail: sketch.page([sketch.title(.4), sketch.row([sketch.down(3, [sketch.text(1, .8)], { ruled: true })], [sketch.down(3, [sketch.text(1, .8)], { ruled: true })])]),
5734
- styleFallback: [id$1("faq-questions-under-title")]
5735
- }),
5736
- defineArrangementLook("faq-all-answers-showing", "faq", "All answers showing", "open", [], {
5737
- thumbnail: sketch.page([sketch.title(.4), sketch.down(3, [sketch.title(.5, "small"), sketch.text(2)])]),
5738
- styleFallback: [id$1("faq-questions-two-columns")]
5739
- }),
5740
- defineArrangementLook("image-gallery-lead-photo", "image-gallery", "One large photo, then smaller ones", "tiles", ["blackAndWhite"], {
5741
- thumbnail: sketch.page([sketch.row(sketch.weight(2, [sketch.photo("tall")]), sketch.weight(1, [sketch.photo("short"), sketch.photo("short")]))]),
5742
- styleFallback: [id$1("image-gallery-square-tiles")]
5743
- }),
5744
- defineArrangementLook("image-gallery-captions-under", "image-gallery", "Photos with captions underneath", "tiles", ["blackAndWhite"], {
5745
- thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.photo("medium"), sketch.text(1, .8)])]),
5746
- styleFallback: [id$1("image-gallery-arched-captions"), id$1("image-gallery-square-tiles")]
5747
- }),
5748
- defineArrangementLook("image-gallery-photo-band", "image-gallery", "One photo across the page", "tiles", ["blackAndWhite"], {
5749
- thumbnail: sketch.band([sketch.photo("short")]),
5750
- styleFallback: [id$1("image-gallery-square-tiles")]
5751
- }),
5752
- defineArrangementLook("image-gallery-moving-row", "image-gallery", "A moving row of photos", "moving-row", ["blackAndWhite"], {
5753
- thumbnail: sketch.band([sketch.across(5, [sketch.photo("short")], { overflow: true })]),
5754
- styleFallback: [id$1("image-gallery-square-tiles")]
5755
- }),
5756
- defineArrangementLook("video-grid-columns", "video-grid", "Videos in columns", "default", [], { thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.photo("short")])], { align: "center" }) }),
5757
- defineArrangementLook("video-grid-tall-tiles", "video-grid", "Tall videos side by side", "tall-tiles", [], {
5758
- styleFallback: [id$1("video-grid-columns")],
5759
- thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.photo("tall")])], { align: "center" })
5760
- }),
5761
- defineArrangementLook("list-ticked-points", "list", "Ticked points", "list-ticks", [], { thumbnail: sketch.page([sketch.row(sketch.weight(2, [sketch.rule, sketch.title(.9)]), sketch.weight(3, [sketch.down(3, [sketch.row(sketch.weight(1, [sketch.number]), sketch.weight(7, [sketch.text(1, .8)]))])]))]) }),
5762
- defineArrangementLook("list-two-columns", "list", "Points in two columns", "list-columns", [], {
5763
- thumbnail: sketch.page([sketch.title(.4), sketch.row([sketch.down(3, [sketch.text(1, .8)])], [sketch.down(3, [sketch.text(1, .8)])])]),
5764
- styleFallback: [id$1("list-ticked-points")]
5765
- }),
5766
- defineArrangementLook("list-headed-cards", "list", "Headed cards", "list-cards", [], {
5767
- thumbnail: sketch.page([sketch.title(.4), sketch.across(2, [sketch.card([sketch.title(.5, "small"), sketch.down(3, [sketch.text(1, .8)])])])], { align: "center" }),
5768
- itemRoles: { items: "card" },
5769
- styleFallback: [id$1("list-two-columns")]
5770
- }),
5771
- defineArrangementLook("cta-centred", "cta-full", "Centred, buttons below", "default", [], { thumbnail: sketch.band([
5772
- sketch.title(.6),
5773
- sketch.text(1, .5),
5774
- sketch.middle([sketch.button], [sketch.link])
5775
- ], { align: "center" }) }),
5776
- defineArrangementLook("cta-title-beside-buttons", "cta-full", "Title beside the buttons", "default", [], {
5777
- thumbnail: sketch.band([sketch.middle(sketch.weight(3, [sketch.title(.9)]), sketch.weight(1, [sketch.button]))]),
5778
- styleFallback: [id$1("cta-centred")]
5779
- }),
5780
- defineArrangementLook("cta-line-beside-buttons", "cta-full", "One line beside the buttons", "default", [], {
5781
- thumbnail: sketch.band([sketch.middle(sketch.weight(2, [sketch.text(1)]), sketch.weight(1, [sketch.button]))], { align: "center" }),
5782
- styleFallback: [id$1("cta-title-beside-buttons")]
5783
- }),
5784
- defineArrangementLook("cta-figure-beside-offer", "cta-full", "Big figure beside the offer", "figure", [], {
5785
- thumbnail: sketch.band([sketch.middle(sketch.weight(1, [sketch.title(.8, "large")]), sketch.weight(2, [
5786
- sketch.title(.7, "small"),
5787
- sketch.text(2),
5788
- sketch.button
5789
- ]))]),
5790
- whenMissing: [{
5791
- fact: "figure",
5792
- look: id$1("cta-centred")
5793
- }],
5794
- styleFallback: [id$1("cta-centred")]
5795
- }),
5796
- defineArrangementLook("cta-text-in-panel", "cta-full", "Text in a panel", "default", [], {
5797
- thumbnail: sketch.page([sketch.panel([
5798
- sketch.title(.5),
5799
- sketch.text(2),
5800
- sketch.button
5801
- ])]),
5802
- slotRoles: { copy: "card" },
5803
- styleFallback: [id$1("cta-centred")]
5804
- }),
5805
- defineArrangementLook("location-map-above-details", "location-map", "Map above the details", "default", [], { thumbnail: sketch.page([sketch.map, sketch.row([sketch.text(2)], [sketch.text(2)])]) }),
5806
- defineArrangementLook("location-map-beside-address", "location-map", "Map beside the address", "map-and-details", [], {
5807
- thumbnail: sketch.page([sketch.middle(sketch.weight(2, [sketch.map]), sketch.weight(1, [sketch.title(.7, "small"), sketch.text(3)]))]),
5808
- styleFallback: [id$1("location-map-above-details")]
5809
- }),
5810
- defineArrangementLook("location-map-address-over-wide-map", "location-map", "Address over a wide map", "map-and-details", [], {
5811
- thumbnail: sketch.page([sketch.over("map", [sketch.title(.7, "small"), sketch.text(3)], { panel: true })]),
5812
- slotRoles: { panel: "card" },
5813
- styleFallback: [id$1("location-map-beside-address")]
5814
- }),
5815
- defineArrangementLook("location-map-entrance-photo", "location-map", "Entrance photo beside the details", "photo-and-details", [], {
5816
- thumbnail: sketch.page([sketch.middle([sketch.photo("tall")], [sketch.title(.7, "small"), sketch.text(3)])]),
5817
- whenMissing: [{
5818
- fact: "entrance",
5819
- look: id$1("location-map-beside-address")
5820
- }],
5821
- styleFallback: [id$1("location-map-beside-address")]
5822
- }),
5823
- {
5824
- ...defineCardListLook("team-members-tall-portraits", "Tall portraits in a row", "cards", [
5825
- "media",
5826
- "title",
5827
- "text",
5828
- "facts",
5829
- "chips",
5830
- "action"
5831
- ], ["showPhotos"], {
5832
- thumbnail: sketch.page([sketch.title(.4), sketch.across(4, [
5833
- sketch.photo("tall"),
5834
- sketch.title(.7, "small"),
5835
- sketch.text(1, .6)
5836
- ])]),
5837
- knobDefaults: { actionStyle: "link" },
5838
- styleFallback: [id$1("team-members-ruled-names")]
5839
- }),
5840
- blockKinds: ["block.team-members"]
5841
- },
5842
- {
5843
- ...defineCardListLook("team-members-portrait-bio", "Portrait beside a longer bio", "stack", [
5844
- "media",
5845
- "title",
5846
- "text",
5847
- "facts",
5848
- "chips",
5849
- "action"
5850
- ], ["showPhotos"], {
5851
- thumbnail: sketch.page([sketch.down(2, [sketch.row(sketch.weight(1, [sketch.photo("medium")]), sketch.weight(3, [sketch.title(.5, "small"), sketch.text(2)]))])]),
5852
- teamBiography: "profile",
5853
- knobDefaults: { actionStyle: "link" },
5854
- styleFallback: [id$1("team-members-tall-portraits")]
5855
- }),
5856
- blockKinds: ["block.team-members"]
5857
- },
5858
- {
5859
- ...defineCardListLook("team-members-ruled-names", "Names in a ruled list", "index", [
5860
- "title",
5861
- "text",
5862
- "facts",
5863
- "chips",
5864
- "action"
5865
- ], [], {
5866
- thumbnail: sketch.page([sketch.title(.4), sketch.down(4, [sketch.row([sketch.title(.7, "small")], [sketch.text(1, .8)])], { ruled: true })]),
5867
- forcedKnobs: {
5868
- showPhotos: "false",
5869
- cardMarker: "none"
5870
- },
5871
- knobDefaults: { actionStyle: "link" },
5872
- styleFallback: [id$1("feature-cards-index")]
5873
- }),
5874
- blockKinds: ["block.team-members"]
5875
- },
5876
- defineCardListLook("shop-price-cards", "Price cards", "cards", [
5877
- "title",
5878
- "text",
5879
- "facts",
5880
- "price",
5881
- "action"
5882
- ], [], {
5883
- thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([
5884
- sketch.title(.6, "small"),
5885
- sketch.price,
5886
- sketch.text(2),
5887
- sketch.button
5888
- ])])]),
5889
- itemRoles: { items: "card" },
5890
- styleFallback: [id$1("shop-ruled-prices")]
5891
- }),
5892
- defineCardListLook("shop-price-cards-featured", "Price cards, one featured", "cards", [
5893
- "title",
5894
- "text",
5895
- "facts",
5896
- "price",
5897
- "action"
5898
- ], [], {
5899
- thumbnail: sketch.page([sketch.title(.4), sketch.row([sketch.card([
5900
- sketch.title(.6, "small"),
5901
- sketch.price,
5902
- sketch.text(2),
5903
- sketch.button
5904
- ])], [sketch.featured([
5905
- sketch.title(.6, "small"),
5906
- sketch.price,
5907
- sketch.text(2),
5908
- sketch.button
5909
- ])], [sketch.card([
5910
- sketch.title(.6, "small"),
5911
- sketch.price,
5912
- sketch.text(2),
5913
- sketch.button
5914
- ])])]),
5915
- itemRoles: {
5916
- items: "card",
5917
- featured: "statement"
5918
- },
5919
- whenMissing: [{
5920
- fact: "featured",
5921
- look: id$1("shop-price-cards")
5922
- }],
5923
- styleFallback: [id$1("shop-price-cards")]
5924
- }),
5925
- defineCardListLook("shop-ruled-prices", "Prices in a ruled list", "index", [
5926
- "title",
5927
- "text",
5928
- "facts",
5929
- "price",
5930
- "action"
5931
- ], [], {
5932
- thumbnail: sketch.page([sketch.title(.4), sketch.down(4, [sketch.row(sketch.weight(3, [sketch.title(.6, "small")]), sketch.weight(1, [sketch.price]))], { ruled: true })]),
5933
- forcedKnobs: { cardMarker: "none" },
5934
- knobDefaults: { actionStyle: "link" },
5935
- styleFallback: [id$1("feature-cards-index")]
5936
- }),
5937
- {
5938
- ...defineCardListLook("card-list-photos-on-top", "Photos on top, three across", "cards", [
5939
- "media",
5940
- "title",
5941
- "text",
5942
- "facts",
5943
- "action"
5944
- ], ["showPhotos"], {
5945
- thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [
5946
- sketch.photo("tall"),
5947
- sketch.title(.7, "small"),
5948
- sketch.text(1)
5949
- ])]),
5950
- knobDefaults: {
5951
- actionStyle: "link",
5952
- dates: "summary"
5953
- },
5954
- styleFallback: [id$1("feature-cards-cards")]
5955
- }),
5956
- blockKinds: ["block.offerings-preview", "block.appointment-services"]
5957
- },
5958
- {
5959
- ...defineCardListLook("offerings-next-cards", "Next of each type, round photo", "next-cards", [
5960
- "media",
5961
- "title",
5962
- "facts",
5963
- "schedule",
5964
- "action"
5965
- ], ["showPhotos"], {
5966
- thumbnail: sketch.page([sketch.title(.4), sketch.across(3, [sketch.card([
5967
- sketch.photo("short", "circle"),
5968
- sketch.title(.7, "small"),
5969
- sketch.text(1),
5970
- sketch.button
5971
- ])])]),
5972
- knobDefaults: { actionStyle: "button" },
5973
- forcedKnobs: { dates: "summary" },
5974
- styleFallback: [id$1("card-list-photos-on-top")]
5975
- }),
5976
- blockKinds: ["block.offerings-preview"]
5977
- },
5978
- {
5979
- ...defineCardListLook("offerings-course-groups", "Runs grouped under their course", "course-groups", [
5980
- "title",
5981
- "schedule",
5982
- "availability"
5983
- ], ["showPhotos"], {
5984
- thumbnail: sketch.page([sketch.title(.4), sketch.down(2, [sketch.card([
5985
- sketch.photo("short"),
5986
- sketch.title(.7, "small"),
5987
- sketch.text(2),
5988
- sketch.link
5989
- ])])]),
5990
- itemRoles: { items: "card" },
5991
- styleFallback: [id$1("card-list-photos-on-top")]
5992
- }),
5993
- blockKinds: ["block.offerings-preview"]
5994
- },
5995
- {
5996
- ...defineCardListLook("offerings-type-columns", "A column per type, with dates", "type-columns", [
5997
- "date-stamp",
5998
- "title",
5999
- "action"
6000
- ], [], {
6001
- thumbnail: sketch.page([sketch.title(.4), sketch.across(2, [sketch.panel([sketch.title(.5, "small"), sketch.down(3, [sketch.row(sketch.weight(1, [sketch.title(.6, "small")]), sketch.weight(3, [sketch.text(2, .8)]))], { ruled: true })])])]),
6002
- slotRoles: { panel: "card" },
6003
- knobDefaults: { dates: "summary" },
6004
- styleFallback: [id$1("feature-cards-index")]
6005
- }),
6006
- blockKinds: ["block.offerings-preview"]
6007
- }
6008
- ];
3641
+ const appearancePresets = blockAppearancePresets;
6009
3642
  //#endregion
6010
3643
  //#region ../theme-core/src/site-styles/blockFlow.ts
6011
3644
  function defineBlockDesignMetadata(input) {
@@ -6088,7 +3721,7 @@ function compileImageSurfaceTreatmentBackground(background, treatment, foregroun
6088
3721
  ...foreground
6089
3722
  };
6090
3723
  case "solid-panel": return withColorOverlay(background, "surface", treatment, "text", foreground);
6091
- default: return assertNever(treatment);
3724
+ default: return assertNever$1(treatment);
6092
3725
  }
6093
3726
  }
6094
3727
  function withColorOverlay(background, color, treatment, foregroundToken, foreground) {
@@ -6850,22 +4483,6 @@ function validateBookingBarSurface(skin, bookingBar, surfaces) {
6850
4483
  if (bookingBar === void 0) return;
6851
4484
  if (surfaces[bookingBar.surface]?.kind !== "token") throw new Error(`Booking bar for ${skin} needs a declared token surface: ${bookingBar.surface}`);
6852
4485
  }
6853
- //#endregion
6854
- //#region ../theme-core/src/header/rootPaint.ts
6855
- /** Detached branding needs protection even when the navigation has its own rail. */
6856
- function headerNeedsPhotoShade(header) {
6857
- return header.variant === "floating" && header.background?.type === "color" && header.background.color === "transparent" && (!header.container || (header.container.opacity ?? 1) < 1);
6858
- }
6859
- /** The nav container takes precedence when a floating header also has one. */
6860
- function headerRootPaint(header) {
6861
- const navContainerType = header?.navContainer?.type ?? "none";
6862
- if (navContainerType === "glass" || navContainerType === "pill") return "contained-nav";
6863
- return header?.variant === "floating" ? "overlay" : "own-surface";
6864
- }
6865
- /** The root is transparent for detached chrome or an explicitly transparent bar. */
6866
- function headerRootIsTransparent(header) {
6867
- return headerRootPaint(header) !== "own-surface" || header?.background?.type === "color" && header.background.color === "transparent";
6868
- }
6869
4486
  const pageDesignUserPinnedAppearanceChoiceSchema = z.object({
6870
4487
  kind: z.literal("user-pinned"),
6871
4488
  value: z.string().min(1).transform(asAppearancePresetId)
@@ -7031,7 +4648,7 @@ function parsePageDesignIntent(value, options = {}) {
7031
4648
  intent: parsed.value
7032
4649
  };
7033
4650
  case "invalid": return parsed;
7034
- default: return assertNever(parsed, "Unhandled page design intent JSON parse result");
4651
+ default: return assertNever$1(parsed, "Unhandled page design intent JSON parse result");
7035
4652
  }
7036
4653
  }
7037
4654
  function autoDesignChoice() {
@@ -8903,8 +6520,8 @@ function footerForegroundCandidates(footer, proseHoverCandidate) {
8903
6520
  if (!footer) return {};
8904
6521
  const style = effectiveFooterNavLinkStyle(footer);
8905
6522
  return {
8906
- text: footer.background?.textColor ?? (footer.variant === "centred" ? "text" : void 0),
8907
- link: style?.colorToken ?? footer.navColor ?? footer.background?.textColor,
6523
+ text: footer.bands?.main.textColor ?? (footer.layout === "centred" ? "text" : void 0),
6524
+ link: style?.colorToken ?? footer.navColor ?? footer.bands?.main.textColor,
8908
6525
  linkHover: navLinkOwnsHoverForeground(style) ? proseHoverCandidate : navLinkHoverColorCandidate(style)
8909
6526
  };
8910
6527
  }
@@ -8974,15 +6591,14 @@ function generateFooterNavLinkStyles(footer, themeId, tokens, theme) {
8974
6591
  theme,
8975
6592
  style,
8976
6593
  className: "footer-nav-link",
8977
- surfaceDependent: true,
8978
- surfaceRestingColor: footer.background?.contentOwner === siteChromeBackgroundOverrideOwner
6594
+ surfaceDependent: true
8979
6595
  });
8980
6596
  }
8981
6597
  function generateFooterBottomTextLinkStyles(footer, themeId, tokens) {
8982
6598
  const style = footer.bottomTextLinkStyle;
8983
6599
  if (!style) return "";
8984
6600
  const scope = `:where([data-theme-scope="${themeId}"])`;
8985
- const selectors = [`${scope} .block-site-footer [data-footer-region="bottom"] .rb-prose a`, `${scope} .block-siteFooter [data-footer-region="bottom"] .rb-prose a`];
6601
+ const selectors = [`${scope} .block-site-footer [data-slot="base"] .rb-prose a`, `${scope} .block-siteFooter [data-slot="base"] .rb-prose a`];
8986
6602
  const baseRules = [];
8987
6603
  const decorationColorToken = style.decorationColorToken?.trim();
8988
6604
  if (decorationColorToken) baseRules.push(`text-decoration-color: ${tokens.getColor(decorationColorToken)};`);
@@ -8994,20 +6610,29 @@ function generateFooterBottomTextLinkStyles(footer, themeId, tokens) {
8994
6610
  }
8995
6611
  //#endregion
8996
6612
  //#region ../theme-core/src/site-styles/footerLookRecipe.ts
6613
+ const footerSideBands = [
6614
+ "band",
6615
+ "strip",
6616
+ "base"
6617
+ ];
8997
6618
  /** Reject undeclared references when the curated catalogue is loaded, before rendering. */
8998
6619
  function validateFooterRecipeSurfaces(style, recipe) {
8999
- [recipe.ground, ...recipe.legal.bar ? [recipe.legal.bar.background] : []].forEach((ground) => {
6620
+ [recipe.bands.main, ...footerSideBands.flatMap((band) => recipe.bands[band] ?? [])].forEach(({ ground }) => {
9000
6621
  if (ground.kind === "style-surface" && (style.looks.kind !== "offers" || !style.looks.surfaces[ground.surface])) throw new Error(`Undeclared footer surface: ${ground.surface}`);
9001
6622
  });
9002
6623
  }
9003
6624
  //#endregion
9004
6625
  //#region ../theme-core/src/site-styles/footerLookDefaults.ts
9005
6626
  const defaultFooterLookRecipes = {
9006
- "footer-centred-name": {
9007
- arrangement: "centred",
9008
- ground: {
9009
- kind: "token",
9010
- token: "surface"
6627
+ "footer-centred": {
6628
+ bands: {
6629
+ main: { ground: {
6630
+ kind: "token",
6631
+ token: "surface"
6632
+ } },
6633
+ band: null,
6634
+ strip: null,
6635
+ base: null
9011
6636
  },
9012
6637
  nav: {
9013
6638
  weight: "regular",
@@ -9015,14 +6640,35 @@ const defaultFooterLookRecipes = {
9015
6640
  hoverColorToken: "primary",
9016
6641
  typography: "body"
9017
6642
  },
9018
- legal: { bar: null },
9019
- brandAlign: "center"
6643
+ edges: []
9020
6644
  },
9021
- "footer-links-row": {
9022
- arrangement: "simple",
9023
- ground: {
9024
- kind: "token",
9025
- token: "surface"
6645
+ "footer-beside-links": {
6646
+ bands: {
6647
+ main: { ground: {
6648
+ kind: "token",
6649
+ token: "surface"
6650
+ } },
6651
+ band: null,
6652
+ strip: null,
6653
+ base: null
6654
+ },
6655
+ nav: {
6656
+ weight: "regular",
6657
+ colorToken: "text",
6658
+ hoverColorToken: "primary",
6659
+ typography: "body"
6660
+ },
6661
+ edges: []
6662
+ },
6663
+ "footer-compact": {
6664
+ bands: {
6665
+ main: { ground: {
6666
+ kind: "token",
6667
+ token: "surface"
6668
+ } },
6669
+ band: null,
6670
+ strip: null,
6671
+ base: null
9026
6672
  },
9027
6673
  nav: {
9028
6674
  weight: "regular",
@@ -9030,8 +6676,7 @@ const defaultFooterLookRecipes = {
9030
6676
  hoverColorToken: "primary",
9031
6677
  typography: "body"
9032
6678
  },
9033
- legal: { bar: null },
9034
- brandAlign: "start"
6679
+ edges: []
9035
6680
  }
9036
6681
  };
9037
6682
  /** A whole authored recipe replaces the default; facets are never deep-merged. */
@@ -20246,7 +17891,7 @@ function compileContainerStyles(contentFrame, rules) {
20246
17891
  rounded: "none"
20247
17892
  })
20248
17893
  };
20249
- default: return assertNever(contentFrame);
17894
+ default: return assertNever$1(contentFrame);
20250
17895
  }
20251
17896
  }
20252
17897
  function shouldMoveFrameToHeroContentCard(block) {
@@ -20265,7 +17910,7 @@ function compileHeroCompositionFields(composition) {
20265
17910
  verticalAlignment: "bottom",
20266
17911
  contentMaxWidth: "medium"
20267
17912
  };
20268
- default: return assertNever(composition);
17913
+ default: return assertNever$1(composition);
20269
17914
  }
20270
17915
  }
20271
17916
  function compileHeroRuntimeFields(input) {
@@ -25162,6 +22807,195 @@ const measureLooks = {
25162
22807
  ],
25163
22808
  ownLayoutBlocks
25164
22809
  };
22810
+ /** The layouts a style offers (the first is its default), all dressed by one recipe. */
22811
+ function styleFooter(offers, recipe) {
22812
+ return {
22813
+ footerLookRecipes: Object.fromEntries(offers.map((lookId) => [lookId, recipe])),
22814
+ recommendedFooterLookIds: offers
22815
+ };
22816
+ }
22817
+ const footerSurface = (surface) => ({ ground: {
22818
+ kind: "style-surface",
22819
+ surface
22820
+ } });
22821
+ const footerToken = (token) => ({ ground: {
22822
+ kind: "token",
22823
+ token
22824
+ } });
22825
+ /** Orbit: the brand colour under the arc, the signup band and base strip in the darker band colour. */
22826
+ const orbitFooter = styleFooter(["footer-beside-links", "footer-compact"], {
22827
+ bands: {
22828
+ band: footerSurface("deep"),
22829
+ main: footerSurface("brand"),
22830
+ strip: null,
22831
+ base: footerSurface("deep")
22832
+ },
22833
+ nav: {
22834
+ weight: "regular",
22835
+ colorToken: "primaryForeground",
22836
+ hoverColorToken: "primaryForeground",
22837
+ typography: "body"
22838
+ },
22839
+ brandLogoSize: "md",
22840
+ edges: ["arc-edge-echo"]
22841
+ });
22842
+ /** Lantern: the near-black deep ground, a slightly lifted details strip, and rules rather than bands elsewhere. */
22843
+ const lanternFooter = styleFooter(["footer-centred", "footer-compact"], {
22844
+ bands: {
22845
+ band: null,
22846
+ main: footerSurface("deep"),
22847
+ strip: footerToken("secondary-900"),
22848
+ base: null
22849
+ },
22850
+ nav: {
22851
+ weight: "regular",
22852
+ colorToken: "text",
22853
+ hoverColorToken: "primary",
22854
+ typography: "heading"
22855
+ },
22856
+ edges: []
22857
+ });
22858
+ /** Poster: flat blocks of colour, the pop colour for the signup band, the brand block, a deeper brand strip and an ink base. */
22859
+ const posterFooter = styleFooter(["footer-beside-links", "footer-compact"], {
22860
+ bands: {
22861
+ band: footerSurface("pop"),
22862
+ main: footerSurface("brand"),
22863
+ strip: footerToken("primary-800"),
22864
+ base: footerSurface("inverse")
22865
+ },
22866
+ nav: {
22867
+ weight: "medium",
22868
+ colorToken: "primaryForeground",
22869
+ hoverColorToken: "primaryForeground",
22870
+ typography: "body"
22871
+ },
22872
+ edges: []
22873
+ });
22874
+ /** Haven: the soft band colour, the signup on a sheet (the skin sets it in as a rounded card), a page-colour strip and the wash for the base. */
22875
+ const havenFooter = styleFooter([
22876
+ "footer-beside-links",
22877
+ "footer-centred",
22878
+ "footer-compact"
22879
+ ], {
22880
+ bands: {
22881
+ band: footerSurface("sheet"),
22882
+ main: footerSurface("band"),
22883
+ strip: footerSurface("base"),
22884
+ base: footerSurface("deep")
22885
+ },
22886
+ nav: {
22887
+ weight: "regular",
22888
+ colorToken: "text",
22889
+ hoverColorToken: "text",
22890
+ typography: "body"
22891
+ },
22892
+ brandLogoSize: "md",
22893
+ edges: ["wave-edge-gentle"]
22894
+ });
22895
+ /** Brook: a dark shade of the secondary colour under the wave, the accent for the signup band, and a deeper shade for the strip and base. */
22896
+ const brookFooter = styleFooter([
22897
+ "footer-beside-links",
22898
+ "footer-centred",
22899
+ "footer-compact"
22900
+ ], {
22901
+ bands: {
22902
+ band: footerToken("accent"),
22903
+ main: footerToken("secondary-800"),
22904
+ strip: footerToken("secondary-900"),
22905
+ base: footerToken("secondary-900")
22906
+ },
22907
+ nav: {
22908
+ weight: "regular",
22909
+ colorToken: "background",
22910
+ hoverColorToken: "background",
22911
+ typography: "body"
22912
+ },
22913
+ brandLogoSize: "md",
22914
+ edges: ["wave-edge-balanced"]
22915
+ });
22916
+ /** Fulcrum: one quiet tinted ground, with hairlines rather than bands between the areas. */
22917
+ const fulcrumFooter = styleFooter(["footer-beside-links", "footer-compact"], {
22918
+ bands: {
22919
+ band: null,
22920
+ main: footerSurface("band"),
22921
+ strip: null,
22922
+ base: null
22923
+ },
22924
+ nav: {
22925
+ weight: "regular",
22926
+ colorToken: "text",
22927
+ hoverColorToken: "primary",
22928
+ typography: "body"
22929
+ },
22930
+ edges: []
22931
+ });
22932
+ /** Measure: the page ground, opened by the heavy rule every section has (in the skin). */
22933
+ const measureFooter = styleFooter(["footer-beside-links", "footer-compact"], {
22934
+ bands: {
22935
+ band: null,
22936
+ main: footerSurface("base"),
22937
+ strip: null,
22938
+ base: null
22939
+ },
22940
+ nav: {
22941
+ weight: "regular",
22942
+ colorToken: "text",
22943
+ hoverColorToken: "text",
22944
+ typography: "body"
22945
+ },
22946
+ edges: []
22947
+ });
22948
+ /** Folio: a quiet tinted ground with thin rules between the areas. */
22949
+ const folioFooter = styleFooter(["footer-beside-links", "footer-compact"], {
22950
+ bands: {
22951
+ band: null,
22952
+ main: footerSurface("band"),
22953
+ strip: null,
22954
+ base: null
22955
+ },
22956
+ nav: {
22957
+ weight: "regular",
22958
+ colorToken: "text",
22959
+ hoverColorToken: "primary",
22960
+ typography: "body"
22961
+ },
22962
+ brandLogoSize: "md",
22963
+ edges: []
22964
+ });
22965
+ /** Loom: the deep ground, with the brand colour as the one strong patch behind the signup. */
22966
+ const loomFooter = styleFooter(["footer-beside-links", "footer-compact"], {
22967
+ bands: {
22968
+ band: footerSurface("brand"),
22969
+ main: footerSurface("deep"),
22970
+ strip: null,
22971
+ base: null
22972
+ },
22973
+ nav: {
22974
+ weight: "regular",
22975
+ colorToken: "primaryForeground",
22976
+ hoverColorToken: "primaryForeground",
22977
+ typography: "body"
22978
+ },
22979
+ brandLogoSize: "md",
22980
+ edges: []
22981
+ });
22982
+ /** Poise: the inverse ground, drawn by the skin as a rounded field set in from the page edge like its inverse sections. */
22983
+ const poiseFooter = styleFooter(["footer-beside-links", "footer-compact"], {
22984
+ bands: {
22985
+ band: null,
22986
+ main: footerSurface("inverse"),
22987
+ strip: null,
22988
+ base: null
22989
+ },
22990
+ nav: {
22991
+ weight: "semibold",
22992
+ colorToken: "background",
22993
+ hoverColorToken: "background",
22994
+ typography: "body"
22995
+ },
22996
+ brandLogoSize: "md",
22997
+ edges: []
22998
+ });
25165
22999
  const curatedSiteStyles = [
25166
23000
  defineCuratedSiteStyle({
25167
23001
  id: "site-style:south-west-twerk-school",
@@ -25215,11 +23049,21 @@ const curatedSiteStyles = [
25215
23049
  join: asBoundaryOptionId("break:wave")
25216
23050
  }]
25217
23051
  },
25218
- footerLookRecipes: { "footer-links-row": {
25219
- arrangement: "split",
25220
- ground: {
25221
- kind: "token",
25222
- token: "primary-800"
23052
+ footerLookRecipes: { "footer-beside-links": {
23053
+ bands: {
23054
+ main: { ground: {
23055
+ kind: "token",
23056
+ token: "primary-800"
23057
+ } },
23058
+ band: null,
23059
+ strip: null,
23060
+ base: {
23061
+ ground: {
23062
+ kind: "token",
23063
+ token: "primary-900"
23064
+ },
23065
+ textColor: "primaryForeground"
23066
+ }
25223
23067
  },
25224
23068
  nav: {
25225
23069
  weight: "medium",
@@ -25227,28 +23071,14 @@ const curatedSiteStyles = [
25227
23071
  hoverColorToken: "secondary",
25228
23072
  typography: "body"
25229
23073
  },
25230
- legal: {
25231
- bar: {
25232
- fullBleed: true,
25233
- background: {
25234
- kind: "token",
25235
- token: "primary-900"
25236
- },
25237
- textColor: "primaryForeground",
25238
- textAlign: "center",
25239
- paddingY: "compact",
25240
- paddingX: "default",
25241
- borderTop: { width: "none" }
25242
- },
25243
- linkStyle: {
25244
- colorToken: "secondary",
25245
- decorationColorToken: "secondary"
25246
- }
23074
+ legalLinkStyle: {
23075
+ colorToken: "secondary",
23076
+ decorationColorToken: "secondary"
25247
23077
  },
25248
- brandAlign: "start",
23078
+ edges: [],
25249
23079
  brandLogoSize: "sm"
25250
23080
  } },
25251
- recommendedFooterLookIds: ["footer-links-row"],
23081
+ recommendedFooterLookIds: ["footer-beside-links"],
25252
23082
  buttonStyleChoices: [
25253
23083
  buttonChoice("showtime-pill"),
25254
23084
  buttonChoice("confident-chip"),
@@ -25310,7 +23140,7 @@ const curatedSiteStyles = [
25310
23140
  },
25311
23141
  testimonialQuote: serifDisplayQuote
25312
23142
  },
25313
- recommendedFooterLookIds: ["footer-links-row"],
23143
+ ...fulcrumFooter,
25314
23144
  buttonStyleChoices: [
25315
23145
  buttonChoice("fulcrum"),
25316
23146
  buttonChoice("editorial-link"),
@@ -25353,22 +23183,7 @@ const curatedSiteStyles = [
25353
23183
  accordions: boldBorderedAccordionSystem,
25354
23184
  testimonialQuote: accentGlyphQuote
25355
23185
  },
25356
- footerLookRecipes: { "footer-links-row": {
25357
- arrangement: "simple",
25358
- ground: {
25359
- kind: "token",
25360
- token: "surface"
25361
- },
25362
- nav: {
25363
- weight: "medium",
25364
- colorToken: "text",
25365
- hoverColorToken: "primary",
25366
- typography: "body"
25367
- },
25368
- legal: { bar: null },
25369
- brandAlign: "start"
25370
- } },
25371
- recommendedFooterLookIds: ["footer-links-row"],
23186
+ ...posterFooter,
25372
23187
  buttonStyleChoices: [
25373
23188
  buttonChoice("offset-block"),
25374
23189
  buttonChoice("ink-stamp"),
@@ -25408,22 +23223,7 @@ const curatedSiteStyles = [
25408
23223
  accordions: warmInsetAccordionSystem,
25409
23224
  testimonialQuote: serifDisplayQuote
25410
23225
  },
25411
- footerLookRecipes: { "footer-centred-name": {
25412
- arrangement: "centred",
25413
- ground: {
25414
- kind: "style-surface",
25415
- surface: "deep"
25416
- },
25417
- nav: {
25418
- weight: "regular",
25419
- colorToken: "text",
25420
- hoverColorToken: "primary",
25421
- typography: "heading"
25422
- },
25423
- legal: { bar: null },
25424
- brandAlign: "center"
25425
- } },
25426
- recommendedFooterLookIds: ["footer-centred-name", "footer-links-row"],
23226
+ ...lanternFooter,
25427
23227
  buttonStyleChoices: [
25428
23228
  buttonChoice("gilt-slab"),
25429
23229
  buttonChoice("hairline-tab"),
@@ -25466,7 +23266,7 @@ const curatedSiteStyles = [
25466
23266
  accordions: editorialDividedAccordionSystem,
25467
23267
  testimonialQuote: serifDisplayQuote
25468
23268
  },
25469
- recommendedFooterLookIds: ["footer-links-row"],
23269
+ ...measureFooter,
25470
23270
  buttonStyleChoices: [
25471
23271
  buttonChoice("flat-ink", void 0, { corners: "square" }),
25472
23272
  buttonChoice("editorial-link"),
@@ -25485,7 +23285,7 @@ const curatedSiteStyles = [
25485
23285
  kind: "public",
25486
23286
  generation: { kind: "explicit_only" }
25487
23287
  },
25488
- description: "Calm and editorial: a classic serif over a plain sans, soft corners, thin rules and photos with room around them. For practitioners who teach classes, see clients and run workshops.",
23288
+ description: "Calm and editorial: a classic serif over a plain sans, soft corners, thin rules and photos with room around them. For people who teach classes, see clients and run workshops.",
25489
23289
  generationBrief: "Use restrained serif headings, clear sans-serif body copy, natural photography, practical calls to action and concrete class and workshop details.",
25490
23290
  headingDecoration: noHeadingDecoration,
25491
23291
  tokenRecipes: {
@@ -25534,34 +23334,7 @@ const curatedSiteStyles = [
25534
23334
  cta: { treatment: "default" },
25535
23335
  openingPlacement: "photo-behind-text"
25536
23336
  } },
25537
- footerLookRecipes: { "footer-links-row": {
25538
- arrangement: "simple",
25539
- ground: {
25540
- kind: "token",
25541
- token: "surface"
25542
- },
25543
- nav: {
25544
- weight: "regular",
25545
- colorToken: "text",
25546
- hoverColorToken: "primary",
25547
- typography: "body"
25548
- },
25549
- legal: { bar: {
25550
- fullBleed: false,
25551
- background: {
25552
- kind: "token",
25553
- token: "surface"
25554
- },
25555
- textColor: "text",
25556
- textAlign: "left",
25557
- paddingY: "tight",
25558
- paddingX: "none",
25559
- borderTop: { width: "none" }
25560
- } },
25561
- brandAlign: "start",
25562
- brandLogoSize: "md"
25563
- } },
25564
- recommendedFooterLookIds: ["footer-links-row"],
23337
+ ...folioFooter,
25565
23338
  buttonStyleChoices: [
25566
23339
  buttonChoice("quiet-arrow", void 0, {
25567
23340
  secondaryTreatment: "solid-accent",
@@ -25631,37 +23404,7 @@ const curatedSiteStyles = [
25631
23404
  },
25632
23405
  cta: { treatment: "primary" }
25633
23406
  } },
25634
- footerLookRecipes: { "footer-links-row": {
25635
- arrangement: "simple",
25636
- ground: {
25637
- kind: "style-surface",
25638
- surface: "deep"
25639
- },
25640
- nav: {
25641
- weight: "regular",
25642
- colorToken: "primaryForeground",
25643
- hoverColorToken: "primaryForeground",
25644
- typography: "body"
25645
- },
25646
- legal: { bar: {
25647
- fullBleed: false,
25648
- background: {
25649
- kind: "style-surface",
25650
- surface: "deep"
25651
- },
25652
- textColor: "primaryForeground",
25653
- textAlign: "left",
25654
- paddingY: "compact",
25655
- paddingX: "none",
25656
- borderTop: {
25657
- width: "medium",
25658
- colorToken: "primaryForeground"
25659
- }
25660
- } },
25661
- brandAlign: "start",
25662
- brandLogoSize: "md"
25663
- } },
25664
- recommendedFooterLookIds: ["footer-links-row"],
23407
+ ...loomFooter,
25665
23408
  buttonStyleChoices: [
25666
23409
  buttonChoice("sewn-label"),
25667
23410
  buttonChoice("square-outline", void 0, {
@@ -25730,37 +23473,7 @@ const curatedSiteStyles = [
25730
23473
  },
25731
23474
  cta: { treatment: "primary" }
25732
23475
  } },
25733
- footerLookRecipes: { "footer-links-row": {
25734
- arrangement: "simple",
25735
- ground: {
25736
- kind: "style-surface",
25737
- surface: "inverse"
25738
- },
25739
- nav: {
25740
- weight: "semibold",
25741
- colorToken: "background",
25742
- hoverColorToken: "background",
25743
- typography: "body"
25744
- },
25745
- legal: { bar: {
25746
- fullBleed: false,
25747
- background: {
25748
- kind: "style-surface",
25749
- surface: "inverse"
25750
- },
25751
- textColor: "background",
25752
- textAlign: "left",
25753
- paddingY: "compact",
25754
- paddingX: "none",
25755
- borderTop: {
25756
- width: "thin",
25757
- colorToken: "background"
25758
- }
25759
- } },
25760
- brandAlign: "start",
25761
- brandLogoSize: "md"
25762
- } },
25763
- recommendedFooterLookIds: ["footer-links-row"],
23476
+ ...poiseFooter,
25764
23477
  buttonStyleChoices: [
25765
23478
  buttonChoice("edged-pill"),
25766
23479
  buttonChoice("soft-pill"),
@@ -25800,37 +23513,7 @@ const curatedSiteStyles = [
25800
23513
  accordions: editorialDividedAccordionSystem,
25801
23514
  testimonialQuote: accentGlyphQuote
25802
23515
  },
25803
- footerLookRecipes: { "footer-links-row": {
25804
- arrangement: "simple",
25805
- ground: {
25806
- kind: "style-surface",
25807
- surface: "band"
25808
- },
25809
- nav: {
25810
- weight: "regular",
25811
- colorToken: "text",
25812
- hoverColorToken: "text",
25813
- typography: "body"
25814
- },
25815
- legal: { bar: {
25816
- fullBleed: false,
25817
- background: {
25818
- kind: "style-surface",
25819
- surface: "band"
25820
- },
25821
- textColor: "text",
25822
- textAlign: "left",
25823
- paddingY: "compact",
25824
- paddingX: "none",
25825
- borderTop: {
25826
- width: "thin",
25827
- colorToken: "border"
25828
- }
25829
- } },
25830
- brandAlign: "start",
25831
- brandLogoSize: "md"
25832
- } },
25833
- recommendedFooterLookIds: ["footer-links-row"],
23516
+ ...havenFooter,
25834
23517
  buttonStyleChoices: [
25835
23518
  buttonChoice("soft-pill"),
25836
23519
  buttonChoice("pebble"),
@@ -25869,37 +23552,7 @@ const curatedSiteStyles = [
25869
23552
  accordions: editorialDividedAccordionSystem,
25870
23553
  testimonialQuote: serifDisplayQuote
25871
23554
  },
25872
- footerLookRecipes: { "footer-links-row": {
25873
- arrangement: "simple",
25874
- ground: {
25875
- kind: "style-surface",
25876
- surface: "base"
25877
- },
25878
- nav: {
25879
- weight: "regular",
25880
- colorToken: "text",
25881
- hoverColorToken: "primary",
25882
- typography: "body"
25883
- },
25884
- legal: { bar: {
25885
- fullBleed: false,
25886
- background: {
25887
- kind: "style-surface",
25888
- surface: "base"
25889
- },
25890
- textColor: "text",
25891
- textAlign: "left",
25892
- paddingY: "compact",
25893
- paddingX: "none",
25894
- borderTop: {
25895
- width: "thin",
25896
- colorToken: "border"
25897
- }
25898
- } },
25899
- brandAlign: "start",
25900
- brandLogoSize: "md"
25901
- } },
25902
- recommendedFooterLookIds: ["footer-links-row"],
23555
+ ...brookFooter,
25903
23556
  buttonStyleChoices: [
25904
23557
  buttonChoice("pebble"),
25905
23558
  buttonChoice("showtime-pill"),
@@ -25957,37 +23610,7 @@ const curatedSiteStyles = [
25957
23610
  mobileBar: "beside-menu"
25958
23611
  }
25959
23612
  } },
25960
- footerLookRecipes: { "footer-links-row": {
25961
- arrangement: "simple",
25962
- ground: {
25963
- kind: "style-surface",
25964
- surface: "brand"
25965
- },
25966
- nav: {
25967
- weight: "regular",
25968
- colorToken: "primaryForeground",
25969
- hoverColorToken: "primaryForeground",
25970
- typography: "body"
25971
- },
25972
- legal: { bar: {
25973
- fullBleed: false,
25974
- background: {
25975
- kind: "style-surface",
25976
- surface: "brand"
25977
- },
25978
- textColor: "primaryForeground",
25979
- textAlign: "left",
25980
- paddingY: "compact",
25981
- paddingX: "none",
25982
- borderTop: {
25983
- width: "thin",
25984
- colorToken: "primaryForeground"
25985
- }
25986
- } },
25987
- brandAlign: "start",
25988
- brandLogoSize: "md"
25989
- } },
25990
- recommendedFooterLookIds: ["footer-links-row"],
23613
+ ...orbitFooter,
25991
23614
  buttonStyleChoices: [
25992
23615
  buttonChoice("orbit-pill"),
25993
23616
  buttonChoice("soft-pill"),
@@ -26125,28 +23748,28 @@ function isLayoutVariantAllowedByPolicy(policy, layoutVariantKey) {
26125
23748
  switch (policy.kind) {
26126
23749
  case "open": return true;
26127
23750
  case "locked-look-and-layouts": return policy.allowedLayoutVariantKeys.includes(layoutVariantKey);
26128
- default: return assertNever(policy, "Unhandled site style block policy");
23751
+ default: return assertNever$1(policy, "Unhandled site style block policy");
26129
23752
  }
26130
23753
  }
26131
23754
  function normalizeLayoutVariantForPolicy(policy, layoutVariantKey) {
26132
23755
  switch (policy.kind) {
26133
23756
  case "open": return layoutVariantKey ?? null;
26134
23757
  case "locked-look-and-layouts": return layoutVariantKey && isLayoutVariantAllowedByPolicy(policy, layoutVariantKey) ? layoutVariantKey : policy.defaultLayoutVariantKey;
26135
- default: return assertNever(policy, "Unhandled site style block policy");
23758
+ default: return assertNever$1(policy, "Unhandled site style block policy");
26136
23759
  }
26137
23760
  }
26138
23761
  function filterLayoutProfilesForPolicy(policy, layoutProfiles) {
26139
23762
  switch (policy.kind) {
26140
23763
  case "open": return layoutProfiles;
26141
23764
  case "locked-look-and-layouts": return layoutProfiles.filter((profile) => isLayoutVariantAllowedByPolicy(policy, profile.variantKey));
26142
- default: return assertNever(policy, "Unhandled site style block policy");
23765
+ default: return assertNever$1(policy, "Unhandled site style block policy");
26143
23766
  }
26144
23767
  }
26145
23768
  function filterLookIdsForPolicy(policy, looks) {
26146
23769
  switch (policy.kind) {
26147
23770
  case "open": return looks;
26148
23771
  case "locked-look-and-layouts": return looks.filter((look) => look.id === policy.lookId);
26149
- default: return assertNever(policy, "Unhandled site style block policy");
23772
+ default: return assertNever$1(policy, "Unhandled site style block policy");
26150
23773
  }
26151
23774
  }
26152
23775
  //#endregion
@@ -26758,7 +24381,7 @@ function resolveBrandDisplay(mode, logoFacts) {
26758
24381
  case "logo-plus-title": return "logo-plus-title";
26759
24382
  case "title-only": return "title-only";
26760
24383
  case "auto": return resolveAutoBrandDisplay(logoFacts);
26761
- default: return assertNever(mode, "Unhandled brand display mode");
24384
+ default: return assertNever$1(mode, "Unhandled brand display mode");
26762
24385
  }
26763
24386
  }
26764
24387
  /** Evidence that the artwork already supplies the brand's readable identity. */
@@ -26982,7 +24605,7 @@ function logoFactsForHeaderContext(logo) {
26982
24605
  case "horizontal":
26983
24606
  case "square":
26984
24607
  case "tall": return deterministicLogoFactsForShape(logo.shape);
26985
- default: return assertNever(logo.shape, "Unhandled header logo shape");
24608
+ default: return assertNever$1(logo.shape, "Unhandled header logo shape");
26986
24609
  }
26987
24610
  }
26988
24611
  const headerLayoutCatalog = defineExactCatalog()([
@@ -27119,6 +24742,22 @@ const headerStyleCatalog = defineExactCatalog()([
27119
24742
  new Map(headerLayoutCatalog.map((layout) => [layout.id, layout]));
27120
24743
  new Map(headerStyleCatalog.map((style) => [style.id, style]));
27121
24744
  //#endregion
24745
+ //#region ../theme-core/src/header/rootPaint.ts
24746
+ /** Detached branding needs protection even when the navigation has its own rail. */
24747
+ function headerNeedsPhotoShade(header) {
24748
+ return header.variant === "floating" && header.background?.type === "color" && header.background.color === "transparent" && (!header.container || (header.container.opacity ?? 1) < 1);
24749
+ }
24750
+ /** The nav container takes precedence when a floating header also has one. */
24751
+ function headerRootPaint(header) {
24752
+ const navContainerType = header?.navContainer?.type ?? "none";
24753
+ if (navContainerType === "glass" || navContainerType === "pill") return "contained-nav";
24754
+ return header?.variant === "floating" ? "overlay" : "own-surface";
24755
+ }
24756
+ /** The root is transparent for detached chrome or an explicitly transparent bar. */
24757
+ function headerRootIsTransparent(header) {
24758
+ return headerRootPaint(header) !== "own-surface" || header?.background?.type === "color" && header.background.color === "transparent";
24759
+ }
24760
+ //#endregion
27122
24761
  //#region ../theme-core/src/site-styles/sectionPhotoGround.ts
27123
24762
  /**
27124
24763
  * How the Looks built on an arrangement use the photo. Looks that share an
@@ -27214,6 +24853,18 @@ function transparentHeaderForegroundInput(header, palette) {
27214
24853
  return authoredTransparentHeaderForegroundInput(header, palette);
27215
24854
  }
27216
24855
  function authoredTransparentHeaderForegroundInput(header, palette) {
24856
+ const text = headerLeafTextColor(header);
24857
+ const links = authoredHeaderLinkForeground(header, palette);
24858
+ const style = effectiveHeaderNavLinkStyle(header);
24859
+ return {
24860
+ text: rgbColorValue(text),
24861
+ link: rgbColorValue(links.link),
24862
+ linkHover: rgbColorValue(links.linkHover),
24863
+ hoverDecoration: navLinkOwnsUnderline(style) ? "initial" : links.hoverDecoration
24864
+ };
24865
+ }
24866
+ /** The token decision behind transparent-header CSS, also read by effect measurements. */
24867
+ function authoredHeaderLinkForeground(header, palette) {
27217
24868
  const text = headerLeafTextColor(header);
27218
24869
  const style = effectiveHeaderNavLinkStyle(header);
27219
24870
  const link = style?.colorToken ?? text;
@@ -27226,10 +24877,9 @@ function authoredTransparentHeaderForegroundInput(header, palette) {
27226
24877
  backdrops: null
27227
24878
  });
27228
24879
  return {
27229
- text: rgbColorValue(text),
27230
- link: rgbColorValue(link),
27231
- linkHover: rgbColorValue(hover.token),
27232
- hoverDecoration: navLinkOwnsUnderline(style) ? "initial" : hover.decoration
24880
+ link,
24881
+ linkHover: hover.token,
24882
+ hoverDecoration: hover.decoration
27233
24883
  };
27234
24884
  }
27235
24885
  //#endregion
@@ -27456,64 +25106,41 @@ function slotAssignments({ look, slotRoles, itemRoles }) {
27456
25106
  }
27457
25107
  //#endregion
27458
25108
  //#region ../theme-core/src/footer/footerForegrounds.ts
27459
- /** The footer's own ground and the foreground contract certified on it. */
25109
+ const defaultMainPaint = { ground: "surface" };
25110
+ /** The main ground: the footer's own, which the root paints and every unpainted area shows. */
25111
+ function footerMainPaint(footer) {
25112
+ return footer?.bands?.main ?? defaultMainPaint;
25113
+ }
25114
+ /** A side area's own paint, or null when it sits on the main ground under a rule. */
25115
+ function footerSideBandPaint(footer, band) {
25116
+ return footer?.bands?.[band] ?? null;
25117
+ }
25118
+ /** The footer's main ground and the foreground contract certified on it. */
27460
25119
  function resolveFooterRootForeground(footer, palette, proseHoverCandidate) {
27461
- return resolveSurfaceForeground(footer?.background ?? {
25120
+ return resolveSurfaceForeground({
27462
25121
  type: "color",
27463
- color: "surface"
25122
+ color: footerMainPaint(footer).ground
27464
25123
  }, palette, footerForegroundCandidates(footer, proseHoverCandidate), { compositeBase: "background" });
27465
25124
  }
27466
- function resolveFooterBottomBarPaint(footer, palette) {
27467
- const bar = footer.bottomBar;
27468
- if (!bar) return { kind: "inherits" };
27469
- const root = resolveFooterRootForeground(footer, palette);
27470
- const ground = root.kind === "known" && root.provenance.kind === "measured" ? root.provenance.backdropHex : null;
27471
- return bar.background?.type === "color" ? {
27472
- kind: "surface",
27473
- foreground: barSurfaceForeground(footer, bar.background, ground, palette)
27474
- } : barTextPaint(footer, root, ground, palette);
27475
- }
27476
- /** A bar with its own colour owns a contract, composited over the footer's measured ground. */
27477
- function barSurfaceForeground(footer, background, ground, palette) {
27478
- const bar = footer.bottomBar;
27479
- return resolveSurfaceForeground(background, palette, {
27480
- text: bar?.textColor,
27481
- link: footer.bottomTextLinkStyle?.colorToken ?? bar?.textColor,
27482
- linkHover: footer.bottomTextLinkStyle?.hoverColorToken
27483
- }, { compositeBase: ground });
27484
- }
27485
- /** A bar without its own colour paints its declared text on the footer's ground. */
27486
- function barTextPaint(footer, root, ground, palette) {
27487
- const declared = footer.bottomBar?.textColor;
27488
- if (footer.background?.contentOwner === "site-chrome-editor" || !declared) return { kind: "inherits" };
27489
- if (!ground) return {
27490
- kind: "unmeasured",
27491
- declared
27492
- };
27493
- return {
27494
- kind: "ink",
27495
- declared,
27496
- paint: certifyPaint("footer bottom bar text", paintedInk(declared, root), contrastThresholdByPolicy["body-aa"], ground, { palette })
27497
- };
27498
- }
27499
25125
  /**
27500
- * The colour a declared text token shows: `text`, `heading` and `mutedText` paint the
27501
- * footer's certified role ink (at the token's opacity), any other token its palette colour.
25126
+ * A painted side area's own foreground contract, composited over the main
25127
+ * ground; null when the area is unpainted and the main contract carries on.
25128
+ * The base's links try the legal link colour first.
27502
25129
  */
27503
- function paintedInk(declared, root) {
27504
- const parts = parseColorTokenParts(declared);
27505
- const role = parts.kind === "token" ? surfaceRoleForTextToken(parts.token) : null;
27506
- if (!role || root.kind !== "known" || parts.kind !== "token") return declared;
27507
- const ink = root.roles[role];
27508
- return parts.opacityPercent === null ? ink : withOpacity(ink, parts.opacityPercent);
27509
- }
27510
- function withOpacity(ink, opacityPercent) {
27511
- const parts = parseColorTokenParts(ink);
27512
- if (parts.kind === "token") return `${parts.token}/${opacityPercent}`;
27513
- const hex = resolveOpaqueSurfaceHex(ink, {});
27514
- if (!hex) return ink;
27515
- const { r, g, b } = hexToRgb(hex);
27516
- return `rgba(${r}, ${g}, ${b}, ${opacityPercent / 100})`;
25130
+ function resolveFooterSideBandForeground(footer, band, palette, proseHoverCandidate) {
25131
+ const paint = footerSideBandPaint(footer, band);
25132
+ if (!paint) return null;
25133
+ const root = resolveFooterRootForeground(footer, palette, proseHoverCandidate);
25134
+ const mainGround = root.kind === "known" && root.provenance.kind === "measured" ? root.provenance.backdropHex : null;
25135
+ const legalLinks = band === "base" ? footer?.bottomTextLinkStyle : void 0;
25136
+ return resolveSurfaceForeground({
25137
+ type: "color",
25138
+ color: paint.ground
25139
+ }, palette, {
25140
+ text: paint.textColor,
25141
+ link: legalLinks?.colorToken ?? paint.textColor,
25142
+ linkHover: legalLinks ? legalLinks.hoverColorToken : footerForegroundCandidates(footer, proseHoverCandidate).linkHover
25143
+ }, { compositeBase: mainGround });
27517
25144
  }
27518
25145
  //#endregion
27519
25146
  //#region ../theme-core/src/header/headerRootForeground.ts
@@ -28462,6 +26089,8 @@ const publicEventBaseSchema = z.object({
28462
26089
  title: z.string(),
28463
26090
  /** An occurrence's own authored title; absent when it inherits `title`. */
28464
26091
  occurrenceTitle: z.string().optional(),
26092
+ /** An occurrence's own authored description; absent when it inherits the event's. */
26093
+ occurrenceDescription: z.string().optional(),
28465
26094
  facts: z.array(z.object({
28466
26095
  label: z.string(),
28467
26096
  value: z.string()
@@ -37017,7 +34646,7 @@ const serviceDetailsBlockDefinition = {
37017
34646
  version: "1.0.0",
37018
34647
  title: "Service details",
37019
34648
  titleSource: "heading",
37020
- description: "Duration, price, location, cancellation terms and practitioners.",
34649
+ description: "Duration, price, location, cancellation terms and who the service is with.",
37021
34650
  category: "events-and-bookings",
37022
34651
  requiredFeatures: ["bookings.appointments"],
37023
34652
  contentSource: { kind: "inline" },
@@ -40323,25 +37952,6 @@ function heroHeadlineText(content, policy) {
40323
37952
  return policy === "look" ? inlineTextToPlainText(coerceInlineTextWithFallback(content.headlineInline, plain)).trim() : plain?.trim() ?? "";
40324
37953
  }
40325
37954
  //#endregion
40326
- //#region ../blocks/src/system/transforms/registry/footerArrangement.ts
40327
- const footerBrandArrangementTransform = {
40328
- id: "layout.footerBrandArrangement",
40329
- kind: "string",
40330
- run: (value) => {
40331
- const module = asPartialObject(value);
40332
- return module?.kind === "brand" ? module.slots ? "centred" : "row" : void 0;
40333
- }
40334
- };
40335
- const footerModuleInkStyleTransform = {
40336
- id: "layout.footerModuleInkStyle",
40337
- kind: "formatter",
40338
- run: (value, options) => value === "centred" ? void 0 : textColorStyle(asPartialObject(options)?.opacity === 70 ? "text/70" : "text/80")
40339
- };
40340
- /** A centred base without authored bar paint inherits its measured surface line. */
40341
- function footerBottomBarBorderColorStyle(footer) {
40342
- return footer?.variant === "centred" && !footer.bottomBar ? { borderColor: "var(--rb-surface-line-color)" } : borderColorStyle(footer?.bottomBar?.borderTop?.colorToken ?? "border");
40343
- }
40344
- //#endregion
40345
37955
  //#region ../theme-core/src/siteChromePlacement.ts
40346
37956
  const SITE_CHROME_PLACEMENT_CLASSES = [
40347
37957
  "rb-sticky",
@@ -40383,7 +37993,7 @@ function planSiteChromePlacement(positioning) {
40383
37993
  headerRootClassName: "rb-fixed rb-top-0 rb-left-0 rb-right-0",
40384
37994
  standaloneShellClassName: "fixed left-0 right-0 top-0 z-40 w-full"
40385
37995
  };
40386
- default: return assertNever(positioning);
37996
+ default: return assertNever$1(positioning);
40387
37997
  }
40388
37998
  }
40389
37999
  function splitSiteChromePlacementClasses(className) {
@@ -40542,11 +38152,6 @@ function resolvedForegroundStyle(foreground) {
40542
38152
  case "known": return surfaceForegroundStyle(surfaceForegroundInputFromResolved(foreground, rgbColorValue));
40543
38153
  }
40544
38154
  }
40545
- function footerBottomBarBorderWidthStyle(width) {
40546
- if (!width) return void 0;
40547
- if (width === "none") return { borderTopWidth: "0px" };
40548
- return { borderTopWidth: width === "thin" ? "1px" : width === "medium" ? "2px" : "3px" };
40549
- }
40550
38155
  const headerRootClassTransform = {
40551
38156
  id: "layout.headerRootClass",
40552
38157
  kind: "string",
@@ -40582,27 +38187,6 @@ const headerRootClassTransform = {
40582
38187
  return joinClasses(classes);
40583
38188
  }
40584
38189
  };
40585
- const footerRootClassTransform = {
40586
- id: "layout.footerRootClass",
40587
- kind: "string",
40588
- summary: "Compose footer root classes with optional inversion",
40589
- schema: z.object({
40590
- base: z.string().optional(),
40591
- surface: z.string().optional(),
40592
- tokenPrefix: z.string().optional(),
40593
- transparent: z.string().optional()
40594
- }),
40595
- run: (value, options) => {
40596
- const config = {
40597
- base: "rb-w-full rb-border-t transition-theme",
40598
- transparent: "rb-bg-transparent",
40599
- ...options
40600
- };
40601
- const background = asPartialObject(value)?.background;
40602
- const backgroundClass = resolveBackgroundVisualStyles(extractBackgroundColorToken(background, "surface")).isTransparent ? config.transparent : null;
40603
- return joinClasses([config.base, backgroundClass]);
40604
- }
40605
- };
40606
38190
  const headerRootStyleTransform = {
40607
38191
  id: "layout.headerRootStyle",
40608
38192
  kind: "formatter",
@@ -40634,115 +38218,61 @@ function headerSectionBackground(header) {
40634
38218
  const visuals = resolveHeaderVisualStyles(header);
40635
38219
  return header?.background?.type === "color" && !visuals.isTransparent && !visuals.backgroundToken.includes("/") ? visuals.backgroundToken : "background";
40636
38220
  }
38221
+ /**
38222
+ * What one footer area looks like: its ground, and the inks certified on it.
38223
+ * The main ground is the footer's own, painted on the root so the edge and every
38224
+ * unpainted area share it. A painted side area sets its ground variable (read by
38225
+ * site-footer.css) and its own inks; an unpainted one adds nothing and sits on
38226
+ * the main ground under a rule.
38227
+ */
38228
+ function footerAreaPaintStyle(footer, area, context) {
38229
+ const palette = context.theme.palette;
38230
+ if (area === "main") {
38231
+ const foreground = resolveFooterRootForeground(footer, palette, context.proseHoverCandidate);
38232
+ return mergeStyles(backgroundColorStyle(footerMainPaint(footer).ground), resolvedForegroundStyle(foreground), solvedInkStyle(foreground, context), surfaceInkStyles(foreground, palette));
38233
+ }
38234
+ const paint = footerSideBandPaint(footer, area);
38235
+ const foreground = resolveFooterSideBandForeground(footer, area, palette, context.proseHoverCandidate);
38236
+ if (!paint || !foreground) return void 0;
38237
+ return mergeStyles({ [`--rb-footer-${area}-bg`]: rgbColorValue(paint.ground) }, resolvedForegroundStyle(foreground), solvedInkStyle(foreground, context), surfaceInkStyles(foreground, palette));
38238
+ }
38239
+ const footerAreaValues = [
38240
+ "band",
38241
+ "main",
38242
+ "strip",
38243
+ "base"
38244
+ ];
38245
+ const isFooterArea = (value) => footerAreaValues.some((area) => area === value);
38246
+ function readThemeFooter(viewModel) {
38247
+ return asPartialObject(asPartialObject(asPartialObject(viewModel?.["$root"])?.theme)?.footer);
38248
+ }
38249
+ /** The footer root: the main ground, its inks and the top rule. */
40637
38250
  const footerRootStyleTransform = {
40638
38251
  id: "layout.footerRootStyle",
40639
38252
  kind: "formatter",
40640
- summary: "Compose footer root inline styles for dynamic colors",
38253
+ summary: "Paint the footer root with the main ground and its inks",
40641
38254
  run: (value, _options, context) => {
40642
38255
  const footer = asPartialObject(value);
40643
- const background = footer?.background;
40644
- const visuals = resolveBackgroundVisualStyles(extractBackgroundColorToken(background, "surface"));
40645
- const styleParts = [];
40646
- if (!visuals.isTransparent) {
40647
- if (!background || background.type === "color") {
40648
- const token = background?.color ?? "surface";
40649
- styleParts.push(backgroundColorStyle(token));
40650
- }
40651
- }
40652
- const foreground = resolveFooterRootForeground(footer, context.theme.palette, context.proseHoverCandidate);
40653
- styleParts.push(resolvedForegroundStyle(foreground), solvedInkStyle(foreground, context));
40654
- if (footer?.variant === "centred") styleParts.push(surfaceInkStyles(foreground, context.theme.palette));
40655
- styleParts.push(borderColorStyle("border"));
40656
- return mergeStyles(...styleParts);
40657
- }
40658
- };
40659
- const footerSpacingClassXMap = {
40660
- none: "rb-px-0",
40661
- tight: "rb-px-2",
40662
- compact: "rb-px-4",
40663
- default: "rb-px-6",
40664
- relaxed: "rb-px-8",
40665
- spacious: "rb-px-12"
40666
- };
40667
- const footerSpacingClassYMap = {
40668
- none: "rb-py-0",
40669
- tight: "rb-py-2",
40670
- compact: "rb-py-4",
40671
- default: "rb-py-6",
40672
- relaxed: "rb-py-8",
40673
- spacious: "rb-py-12"
40674
- };
40675
- const footerBottomBarClassTransform = {
40676
- id: "layout.footerBottomBarClass",
40677
- kind: "string",
40678
- summary: "Compose footer bottom bar classes from theme controls",
40679
- schema: z.object({ base: z.string().optional() }),
40680
- run: (value, options) => {
40681
- const bottomBar = asPartialObject(value)?.bottomBar;
40682
- const textAlign = bottomBar?.textAlign ?? "center";
40683
- const alignClass = textAlign === "left" ? "rb-text-left" : textAlign === "right" ? "rb-text-right" : "rb-text-center";
40684
- const px = footerSpacingClassXMap[bottomBar?.paddingX ?? "default"] ?? "rb-px-6";
40685
- const py = footerSpacingClassYMap[bottomBar?.paddingY ?? "default"] ?? "rb-py-6";
40686
- return joinClasses([
40687
- options.base ?? "rb-w-full rb-border-t",
40688
- alignClass,
40689
- px,
40690
- py
40691
- ]);
40692
- }
40693
- };
40694
- const footerBottomBarContainerClassTransform = {
40695
- id: "layout.footerBottomBarContainerClass",
40696
- kind: "string",
40697
- summary: "Resolve full-bleed vs contained bottom bar container classes",
40698
- schema: z.object({
40699
- base: z.string().optional(),
40700
- fullBleed: z.string().optional(),
40701
- contained: z.string().optional()
40702
- }),
40703
- run: (value, options) => {
40704
- const footer = asPartialObject(value);
40705
- const fullBleed = Boolean(footer?.bottomBar?.fullBleed);
40706
- return joinClasses([options.base ?? "", fullBleed ? options.fullBleed ?? "rb-w-full" : options.contained ?? "rb-container"]);
40707
- }
40708
- };
40709
- const footerBottomBarStyleTransform = {
40710
- id: "layout.footerBottomBarStyle",
40711
- kind: "formatter",
40712
- summary: "Compose footer bottom bar style from theme controls",
40713
- run: (value, _options, context) => {
40714
- const footer = asPartialObject(value);
40715
- const bottomBar = footer?.bottomBar;
40716
- return mergeStyles(bottomBar?.background?.type === "color" ? backgroundColorStyle(bottomBar.background.color ?? "surface") : void 0, footerBottomBarBorderColorStyle(footer), footerBottomBarBorderWidthStyle(bottomBar?.borderTop?.width), ...footerBottomBarForegroundStyles(footer, context));
40717
- }
40718
- };
40719
- /** The bar's own certified contract and inks, its certified text on the footer's ground, or nothing of its own. */
40720
- function footerBottomBarForegroundStyles(footer, context) {
40721
- if (!footer) return [];
40722
- const paint = resolveFooterBottomBarPaint(footer, context.theme.palette);
40723
- switch (paint.kind) {
40724
- case "inherits": return [];
40725
- case "surface": return [resolvedForegroundStyle(paint.foreground), solvedInkStyle(paint.foreground, context)];
40726
- case "unmeasured": return [textColorStyle(paint.declared)];
40727
- case "ink": return [paint.paint.fallback ? { color: paint.paint.ink } : textColorStyle(paint.declared)];
40728
- }
40729
- }
40730
- const footerLogoClassTransform = {
40731
- id: "layout.footerLogoClass",
40732
- kind: "string",
40733
- summary: "Compose split-footer logo wrapper classes from footer.logo controls",
40734
- schema: z.object({ base: z.string().optional() }),
40735
- run: (value, options) => {
40736
- const align = asPartialObject(value)?.align ?? "end";
40737
- const selfAlignClass = align === "start" ? "rb-self-start rb-text-left" : align === "center" ? "rb-self-center rb-text-center" : "rb-self-end rb-text-right";
40738
- return joinClasses([options.base ?? "footer-logo rb-inline-flex rb-items-center rb-justify-end rb-gap-3 rb-no-underline rb-transition-opacity rb-hover-opacity-80", selfAlignClass]);
38256
+ return mergeStyles(footerAreaPaintStyle(footer, "main", context), borderColorStyle("border"), footerEdgeGrounds(footer));
40739
38257
  }
40740
38258
  };
40741
- function extractBackgroundColorToken(background, fallback) {
40742
- if (!background || background.type === "color") return background?.color ?? fallback;
40743
- if (background.type === "gradient" && background.gradient) return background.gradient.stops[0]?.color ?? fallback;
40744
- if (background.type === "image") return "neutral-900";
40745
- return fallback;
38259
+ /**
38260
+ * The grounds the edge can take, published on the root: site-footer.css paints
38261
+ * the edge with the first rendered area, and a skin that insets its band points it back at the main
38262
+ * ground with --rb-footer-edge-paint.
38263
+ */
38264
+ function footerEdgeGrounds(footer) {
38265
+ return {
38266
+ "--rb-footer-ground": rgbColorValue(footerMainPaint(footer).ground),
38267
+ ...Object.fromEntries([
38268
+ "band",
38269
+ "strip",
38270
+ "base"
38271
+ ].flatMap((area) => {
38272
+ const paint = footerSideBandPaint(footer, area);
38273
+ return paint ? [[`--rb-footer-${area}-ground`, rgbColorValue(paint.ground)]] : [];
38274
+ }))
38275
+ };
40746
38276
  }
40747
38277
  const layoutTransforms = [
40748
38278
  maxWidthClassTransform,
@@ -40750,16 +38280,15 @@ const layoutTransforms = [
40750
38280
  headerLogoClassTransform,
40751
38281
  headerLogoMediaClassTransform,
40752
38282
  headerLogoTextVisibleTransform,
40753
- footerRootClassTransform,
40754
38283
  headerRootStyleTransform,
40755
38284
  headerSectionBackgroundTransform,
40756
38285
  footerRootStyleTransform,
40757
- footerModuleInkStyleTransform,
40758
- footerBrandArrangementTransform,
40759
- footerBottomBarClassTransform,
40760
- footerBottomBarContainerClassTransform,
40761
- footerBottomBarStyleTransform,
40762
- footerLogoClassTransform
38286
+ {
38287
+ id: "layout.footerAreaStyle",
38288
+ kind: "formatter",
38289
+ summary: "Paint one footer area from the compiled footer bands",
38290
+ run: (value, _options, context) => isFooterArea(value) && value !== "main" ? footerAreaPaintStyle(readThemeFooter(context.viewModel), value, context) : void 0
38291
+ }
40763
38292
  ];
40764
38293
  //#endregion
40765
38294
  //#region ../blocks/src/system/transforms/registry/chromeLogo.ts
@@ -41441,33 +38970,12 @@ const siteHeaderManifest = createBlockManifest({
41441
38970
  const siteHeaderBlockDefinition = { manifest: siteHeaderManifest };
41442
38971
  //#endregion
41443
38972
  //#region ../blocks/src/system/blocks/site-footer-nav-groups-layout.ts
41444
- const footerNavGroupsLayout = stack({
41445
- gap: "lg",
41446
- align: "start",
41447
- className: { $bind: {
41448
- from: "module.navigationGroupsClassName",
41449
- fallback: "rb-grid rb-grid-cols-1 rb-gap-6"
41450
- } }
41451
- }, [stack({
41452
- gap: "md",
41453
- align: "start",
41454
- className: "rb-text-left"
41455
- }, [text({
38973
+ /** Labelled link sets as columns; the layout's CSS places them. */
38974
+ const footerNavGroupsLayout = el("div", { className: "rb-footer-link-groups" }, [el("div", { className: "rb-footer-link-group" }, [text({
41456
38975
  as: "h3",
41457
38976
  className: "rb-label",
41458
- "data-slot": { $bind: { from: "content.footerRuntime.slots.group-label" } },
41459
- style: { $bind: {
41460
- from: "content.footerRuntime.arrangement",
41461
- transforms: [{
41462
- id: "layout.footerModuleInkStyle",
41463
- options: { opacity: 70 }
41464
- }]
41465
- } }
41466
- }, when("group.label"), bind("group.label")), stack({
41467
- gap: "sm",
41468
- align: "start",
41469
- className: "rb-space-y-2"
41470
- }, [link({
38977
+ "data-slot": "group-label"
38978
+ }, when("group.label"), bind("group.label")), el("div", { className: "rb-footer-link-list" }, [link({
41471
38979
  className: "rb-block rb-nav-text transition-theme rb-hover-opacity-80",
41472
38980
  style: textColorStyle("text"),
41473
38981
  href: { $bind: {
@@ -41493,106 +39001,67 @@ const footerMailingListBindings = {
41493
39001
  targeting: { $bind: { from: "module.engagement.runtime.targeting" } }
41494
39002
  };
41495
39003
  const footerSpamProtectionBinding = { spamProtectionEnabled: { $bind: { from: "$root.spamProtectionEnabled" } } };
41496
- const brandMedia = media({ className: "rb-h-10 rb-w-auto" }, when("module.showLogo", { equals: true }), when("content.logo"), bind("content", { transforms: [{
39004
+ /** Shown only in the details strip, where these icons stand in for the headings. */
39005
+ const stripIcon = (value, label, ...mods) => icon({
39006
+ value,
39007
+ "aria-label": label,
39008
+ className: "rb-footer-detail-icon"
39009
+ }, ...mods);
39010
+ const whenInStrip = when("region.slot", { equals: "strip" });
39011
+ const brandLogo = link({
39012
+ href: "/",
39013
+ className: "footer-logo rb-no-underline"
39014
+ }, [el("div", {
39015
+ "data-slot": "media",
39016
+ className: "footer-logo-media"
39017
+ }, [media({ className: "rb-h-10 rb-w-auto" }, when("content.logo"), bind("content", { transforms: [{
41497
39018
  id: "layout.chromeLogo",
41498
39019
  options: { surface: "footer-root" }
41499
- }] }));
41500
- const brandTitle = text({
39020
+ }] }))], when("module.showLogo", { equals: true })), text({
41501
39021
  as: "strong",
41502
- className: "footer-logo-text rb-nav-text"
41503
- }, when("module.showTitle", { equals: true }), bind("site.title", { fallback: "Your Site" }));
41504
- const brandLogo = link({
41505
- href: "/",
41506
- className: { $bind: {
41507
- from: "$root.theme.footer.logo",
41508
- transforms: [{
41509
- id: "layout.footerLogoClass",
41510
- options: { base: "footer-logo rb-inline-flex rb-flex-wrap rb-items-center rb-gap-3 rb-no-underline" }
41511
- }],
41512
- fallback: "footer-logo rb-inline-flex rb-flex-wrap rb-items-center rb-gap-3 rb-no-underline"
41513
- } }
41514
- }, [brandMedia, brandTitle], (node) => ({
41515
- ...node,
41516
- $when: {
41517
- when: {
41518
- from: "module",
41519
- transforms: [{ id: "layout.footerBrandArrangement" }]
41520
- },
41521
- equals: "row"
41522
- }
41523
- }));
41524
- const centredBrand = stack({
41525
- gap: "md",
41526
- align: "center"
41527
- }, [link({
41528
- href: "/",
41529
- "data-slot": { $bind: { from: "module.slots.media" } },
41530
- className: "footer-logo rb-inline-flex rb-items-center rb-no-underline"
41531
- }, [brandMedia], when("module.slots.media")), {
41532
- ...brandTitle,
41533
- props: {
41534
- ...brandTitle.props,
41535
- "data-slot": { $bind: { from: "module.slots.heading" } }
41536
- }
41537
- }], (node) => ({
41538
- ...node,
41539
- $when: {
41540
- when: {
41541
- from: "module",
41542
- transforms: [{ id: "layout.footerBrandArrangement" }]
41543
- },
41544
- equals: "centred"
41545
- }
41546
- }));
41547
- const navigation = stack({
41548
- gap: "md",
41549
- className: "rb-w-full"
39022
+ className: "footer-logo-text rb-nav-text",
39023
+ "data-slot": "heading"
39024
+ }, when("module.showTitle", { equals: true }), bind("site.title", { fallback: "Your Site" }))], when("module.kind", { equals: "brand" }));
39025
+ const navigation = el("div", {
39026
+ className: "rb-footer-links",
39027
+ "data-slot": "navigation"
41550
39028
  }, [footerNavGroupsLayout, footerNav({
41551
39029
  collectionPath: "footerMenu.items",
41552
39030
  mode: "links-only",
41553
- className: { $bind: {
41554
- from: "module.navigationClassName",
41555
- fallback: "footer-nav rb-flex rb-flex-wrap rb-gap-x-6 rb-gap-y-3"
41556
- } },
39031
+ className: "rb-footer-flat-links",
41557
39032
  linkClassName: "footer-nav-link rb-block rb-nav-text transition-theme-standard"
41558
39033
  })], when("module.kind", { equals: "navigation" }));
41559
- const legalNavigation = footerNav({
39034
+ const legalNavigation = el("div", { "data-slot": "navigation" }, [footerNav({
41560
39035
  collectionPath: "legalFooterMenu.items",
41561
39036
  mode: "links-only",
41562
- className: "rb-flex rb-flex-wrap rb-gap-x-4 rb-gap-y-2",
39037
+ className: "rb-footer-legal-links",
41563
39038
  linkClassName: "footer-nav-link rb-caption transition-theme-standard"
41564
- });
41565
- const address = text({
41566
- as: "address",
41567
- className: "rb-not-italic rb-opacity-80"
41568
- }, when("module.kind", { equals: "business-address" }), bind("module.address"));
41569
- const contact = stack({
41570
- gap: "sm",
41571
- className: { $bind: {
41572
- from: "module.contactClassName",
41573
- fallback: "rb-items-start"
41574
- } }
41575
- }, [link({
39039
+ })], when("module.kind", { equals: "legal-navigation" }));
39040
+ const address = el("div", { className: "rb-footer-detail" }, [stripIcon("MapPin", "Address", whenInStrip), text({ as: "address" }, bind("module.address"))], when("module.kind", { equals: "business-address" }));
39041
+ const contact = el("div", {
39042
+ "data-slot": "contact",
39043
+ className: "rb-footer-contact"
39044
+ }, [el("div", { className: "rb-footer-detail" }, [el("div", { className: "rb-footer-detail-icon-slot" }, [stripIcon("Phone", "Phone", when("contactLink.kind", { equals: "phone" })), stripIcon("Mail", "Email", when("contactLink.kind", { equals: "email" }))], whenInStrip), link({
41576
39045
  href: { $bind: { from: "contactLink.href" } },
41577
39046
  className: "rb-nav-text rb-break-words transition-theme-standard"
41578
- }, [text({ as: "span" }, bind("contactLink.label"))], repeat("module.contactLinks", "contactLink"))], when("module.kind", { equals: "contact" }));
41579
- const hours = stack({
41580
- gap: "sm",
41581
- className: "rb-w-full",
41582
- "data-slot": { $bind: { from: "module.slots.schedule" } }
41583
- }, [inline({ className: "rb-flex rb-w-full rb-justify-between rb-gap-4" }, [text({
41584
- as: "span",
41585
- className: "rb-label"
41586
- }, bind("hoursDay.weekday")), text({
41587
- as: "span",
41588
- className: "rb-caption rb-opacity-80"
41589
- }, bind("hoursDay.hours"))], repeat("module.openingHours", "hoursDay")), text({
41590
- as: "p",
41591
- className: "rb-caption rb-opacity-70"
41592
- }, bind("module.timeZone"), when("module.timeZone"))], when("module.kind", { equals: "opening-hours" }));
39047
+ }, [text({ as: "span" }, bind("contactLink.label"))])], repeat("module.contactLinks", "contactLink"))], when("module.kind", { equals: "contact" }));
39048
+ const hours = el("div", { className: "rb-footer-detail" }, [stripIcon("time", "Opening hours", whenInStrip), el("div", {
39049
+ "data-slot": "schedule",
39050
+ className: "rb-footer-hours"
39051
+ }, [el("div", { className: "rb-footer-hours-row" }, [
39052
+ text({
39053
+ as: "span",
39054
+ className: "rb-footer-hours-days"
39055
+ }, bind("hoursRow.days")),
39056
+ text({
39057
+ as: "span",
39058
+ value: " "
39059
+ }),
39060
+ text({ as: "span" }, bind("hoursRow.hours"))
39061
+ ], repeat("module.openingHours", "hoursRow"))])], when("module.kind", { equals: "opening-hours" }));
41593
39062
  const socials = inline({
41594
39063
  className: "rb-footer-socials",
41595
- "data-slot": { $bind: { from: "module.slots.social" } }
39064
+ "data-slot": "social"
41596
39065
  }, [link({
41597
39066
  href: { $bind: { from: "social.href" } },
41598
39067
  target: "_blank",
@@ -41600,20 +39069,13 @@ const socials = inline({
41600
39069
  "aria-label": { $bind: { from: "social.label" } },
41601
39070
  className: "rb-footer-social-link rb-nav-text transition-theme-standard"
41602
39071
  }, [icon({ className: "rb-footer-social-icon" }, bind("social.icon"), when("social.icon")), text({ as: "span" }, bind("social.label"), when("social.icon", { equals: null }))], repeat("module.socialLinks", "social"))], when("module.kind", { equals: "social-links" }));
41603
- const authoredCopy = richText({
39072
+ const authoredCopy = (slot, kind) => el("div", { className: "rb-footer-copy" }, [richText({
41604
39073
  className: "rb-prose rb-prose-sm rb-max-w-none",
41605
- "data-slot": { $bind: { from: "module.slots.copy" } },
41606
- style: { $bind: {
41607
- from: "content.footerRuntime.arrangement",
41608
- transforms: [{
41609
- id: "layout.footerModuleInkStyle",
41610
- options: { opacity: 80 }
41611
- }]
41612
- } }
39074
+ "data-slot": slot
41613
39075
  }, when("module.content"), bind("module.content", { transforms: [{
41614
39076
  id: "content.interpolateRichTextTokens",
41615
39077
  options: { tokens: ["year", "site_name"] }
41616
- }] }));
39078
+ }] }))], when("module.kind", { equals: kind }));
41617
39079
  const footerEngagement = stack({
41618
39080
  gap: "md",
41619
39081
  className: "rb-w-full",
@@ -41621,7 +39083,8 @@ const footerEngagement = stack({
41621
39083
  }, [
41622
39084
  text({
41623
39085
  as: "p",
41624
- className: "rb-body rb-opacity-80"
39086
+ className: "rb-body",
39087
+ "data-slot": "intro"
41625
39088
  }, bind("module.engagement.intro"), when("module.engagement.intro")),
41626
39089
  form(withApiBindings({
41627
39090
  ...footerStandardContactBindings,
@@ -41662,48 +39125,34 @@ const copyright = text({
41662
39125
  id: "content.interpolateRichTextTokens",
41663
39126
  options: { tokens: ["year", "site_name"] }
41664
39127
  }] }), when("module.kind", { equals: "copyright" }));
41665
- const footerGroup = stack({
41666
- gap: "md",
41667
- align: { $bind: {
41668
- from: "group.align",
41669
- fallback: "stretch"
41670
- } },
41671
- className: { $bind: {
41672
- from: "group.className",
41673
- fallback: "rb-min-w-0"
41674
- } },
39128
+ /**
39129
+ * Each area runs full width, painted by its band (or on the main ground under a
39130
+ * rule); its content sits in the page container.
39131
+ */
39132
+ const footerRegion = el("div", {
39133
+ className: "rb-footer-area",
39134
+ "data-slot": { $bind: { from: "region.slot" } },
39135
+ style: { $bind: {
39136
+ from: "region.slot",
39137
+ transforms: [{ id: "layout.footerAreaStyle" }]
39138
+ } }
39139
+ }, [el("div", { className: "rb-container rb-footer-area-inner" }, [el("div", {
39140
+ className: "rb-footer-group",
41675
39141
  "data-slot": { $bind: { from: "group.slot" } },
41676
39142
  "data-footer-group": { $bind: { from: "group.kind" } }
41677
- }, [stack({
41678
- gap: "md",
41679
- align: { $bind: {
41680
- from: "module.align",
41681
- fallback: "start"
41682
- } },
41683
- className: { $bind: { from: "module.className" } },
39143
+ }, [el("div", {
39144
+ className: "rb-footer-module",
41684
39145
  "data-footer-module": { $bind: { from: "module.kind" } },
41685
39146
  "data-preview-footer-module-id": { $bind: { from: "module.id" } }
41686
39147
  }, [
41687
39148
  text({
41688
39149
  as: "h2",
41689
39150
  className: "rb-label",
41690
- "data-slot": { $bind: { from: "module.slots.group-label" } },
41691
- style: { $bind: {
41692
- from: "content.footerRuntime.arrangement",
41693
- transforms: [{
41694
- id: "layout.footerModuleInkStyle",
41695
- options: { opacity: 70 }
41696
- }]
41697
- } }
39151
+ "data-slot": "group-label"
41698
39152
  }, bind("module.heading"), when("module.heading")),
41699
39153
  brandLogo,
41700
- centredBrand,
41701
39154
  navigation,
41702
- stack({
41703
- gap: "sm",
41704
- className: "rb-w-full",
41705
- "data-slot": { $bind: { from: "module.slots.navigation" } }
41706
- }, [legalNavigation], when("module.kind", { equals: "legal-navigation" })),
39155
+ legalNavigation,
41707
39156
  address,
41708
39157
  contact,
41709
39158
  hours,
@@ -41711,36 +39160,20 @@ const footerGroup = stack({
41711
39160
  footerEngagement,
41712
39161
  copyright,
41713
39162
  platformAttribution,
41714
- stack({ className: "rb-w-full" }, [authoredCopy], when("module.kind", { equals: "supporting-text" })),
41715
- stack({ className: "rb-w-full rb-lg-col-span-3" }, [authoredCopy], when("module.kind", { equals: "legal" }))
41716
- ], repeat("group.modules", "module"))], repeat("region.groups", "group"));
41717
- const footerMainRegion = stack({
41718
- className: { $bind: { from: "region.className" } },
41719
- "data-slot": { $bind: { from: "region.slot" } },
41720
- "data-footer-region": { $bind: { from: "region.kind" } }
41721
- }, [footerGroup], when("region.kind", { equals: "main" }), repeat("content.footerRuntime.regions", "region"));
41722
- const footerEngagementRegion = stack({
41723
- className: { $bind: { from: "region.className" } },
41724
- "data-slot": { $bind: { from: "region.slot" } },
41725
- "data-footer-region": "engagement-row"
41726
- }, [footerGroup], when("region.kind", { equals: "engagement-row" }), repeat("content.footerRuntime.regions", "region"));
41727
- const footerBottomRegion = stack({ className: { $bind: {
41728
- from: "$root.theme.footer",
41729
- transforms: [{ id: "layout.footerBottomBarContainerClass" }],
41730
- fallback: "rb-w-full"
41731
- } } }, [stack({
41732
- className: { $bind: {
41733
- from: "$root.theme.footer",
41734
- transforms: [{ id: "layout.footerBottomBarClass" }],
41735
- fallback: "rb-w-full rb-border-t rb-px-6 rb-py-6 rb-text-center"
41736
- } },
41737
- style: { $bind: {
41738
- from: "$root.theme.footer",
41739
- transforms: [{ id: "layout.footerBottomBarStyle" }]
41740
- } },
41741
- "data-slot": { $bind: { from: "region.slot" } },
41742
- "data-footer-region": "bottom"
41743
- }, [footerGroup])], when("region.kind", { equals: "bottom" }), repeat("content.footerRuntime.regions", "region"));
39163
+ authoredCopy("intro", "supporting-text"),
39164
+ authoredCopy("caption", "legal")
39165
+ ], repeat("group.modules", "module"))], repeat("region.groups", "group"))])], repeat("content.footerRuntime.regions", "region"));
39166
+ /**
39167
+ * The shape the footer draws up into the last page section. It's the page's
39168
+ * boundary element, placed at the top of the footer, so it uses the same CSS.
39169
+ */
39170
+ const footerEdge = el("div", {
39171
+ "aria-hidden": "true",
39172
+ "data-block-boundary": "",
39173
+ "data-footer-edge": "",
39174
+ "data-boundary-treatment": { $bind: { from: "$root.theme.footer.edge" } },
39175
+ "data-boundary-placement": "previous"
39176
+ }, null, when("$root.theme.footer.edge"));
41744
39177
  const siteFooterManifest = createBlockManifest({
41745
39178
  variantMeaning: { kind: "arrangement" },
41746
39179
  id: "block.site-footer",
@@ -41750,23 +39183,18 @@ const siteFooterManifest = createBlockManifest({
41750
39183
  skipSectionStyles: true,
41751
39184
  layout: section({
41752
39185
  background: "background",
41753
- className: { $bind: {
41754
- from: "$root.theme.footer",
41755
- transforms: [{ id: "layout.footerRootClass" }],
41756
- fallback: "rb-w-full rb-border-t transition-theme"
41757
- } },
39186
+ className: "rb-w-full rb-border-t transition-theme",
41758
39187
  style: { $bind: {
41759
39188
  from: "$root.theme.footer",
41760
39189
  transforms: [{ id: "layout.footerRootStyle" }],
41761
39190
  fallback: mergeStyles(backgroundColorStyle("surface"), surfaceForegroundStyle({ text: "rgb(var(--tb-text))" }), borderColorStyle("border"))
41762
39191
  } },
41763
- "data-arrangement": { $bind: { from: "content.footerRuntime.arrangementHook" } },
39192
+ "data-look": { $bind: { from: "content.footerRuntime.lookId" } },
41764
39193
  "data-footer-membership": { $bind: { from: "content.footerRuntime.membershipKey" } }
41765
- }, [
41766
- footerEngagementRegion,
41767
- footerMainRegion,
41768
- footerBottomRegion
41769
- ]),
39194
+ }, [{
39195
+ ...footerEdge,
39196
+ key: "footer-edge"
39197
+ }, footerRegion]),
41770
39198
  description: "The footer at the bottom of every page, with your contact details and links.",
41771
39199
  styleTokens: { spacing: "md" },
41772
39200
  paletteHidden: true
@@ -43164,6 +40592,11 @@ function createCarouselBehaviorFields(options = {}) {
43164
40592
  }
43165
40593
  ];
43166
40594
  }
40595
+ defineFrameCapability([
40596
+ "plain",
40597
+ "panel",
40598
+ "flush-panel"
40599
+ ]);
43167
40600
  /**
43168
40601
  * Media-text's card is an author choice ("wrap text in a card") styled through
43169
40602
  * `_textCardStyles`, while the Look compiles its card role onto the shared
@@ -43580,7 +41013,11 @@ const bookingWizard = bookingForm(withApiBindings({
43580
41013
  services: { $bind: { from: "data.services" } },
43581
41014
  mailingList: { $bind: { from: "$root.mailingList" } },
43582
41015
  siteTerms: { $bind: { from: "$root.siteTerms" } },
43583
- siteName: { $bind: { from: "$root.siteName" } }
41016
+ siteName: { $bind: { from: "$root.siteName" } },
41017
+ businessPerson: { $bind: {
41018
+ from: "$root.businessPerson",
41019
+ fallback: null
41020
+ } }
43584
41021
  }), [], when("data.bookingEnabled", {
43585
41022
  equals: false,
43586
41023
  not: true
@@ -43880,8 +41317,8 @@ const weeklySlotAvailabilityManifest = createBlockManifest({
43880
41317
  {
43881
41318
  id: "resourceId",
43882
41319
  type: "reference",
43883
- label: "Practitioner or room",
43884
- description: "Only show times for one practitioner or room, if you'd like.",
41320
+ label: "Team member or room",
41321
+ description: "Only show times for one team member or room, if you'd like.",
43885
41322
  required: false,
43886
41323
  referenceKind: "appointmentResource",
43887
41324
  allowManualEntry: false,
@@ -44677,7 +42114,7 @@ function capacityPlacesLabel(source, display, wording) {
44677
42114
  case "low": return formatRemainingPlaces(source, wording);
44678
42115
  case "unlimited": return wording.unlimited ?? null;
44679
42116
  case "open": return wording.open ?? null;
44680
- default: return assertNever$1(remaining);
42117
+ default: return assertNever(remaining);
44681
42118
  }
44682
42119
  }
44683
42120
  function hybridPlacesLabel(event, display, wording) {
@@ -45867,22 +43304,15 @@ const OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS = [
45867
43304
  const OFFERINGS_PREVIEW_EVENT_PRESETS = OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS.map((definition) => definition.preset);
45868
43305
  const OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS = [...OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS.map((definition) => definition.sourceKey), "course"];
45869
43306
  const OFFERINGS_PREVIEW_SOURCE_KEYS = OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS;
45870
- function offeringsListingFor(arrangement) {
45871
- switch (arrangement) {
45872
- case "course-groups": return "by-course";
45873
- case "next-cards": return "next-per-type";
45874
- case "slides":
45875
- case "track": return "by-date";
45876
- case "legacy":
45877
- case "cards":
45878
- case "lead-support":
45879
- case "index":
45880
- case "sequence":
45881
- case "plates":
45882
- case "stack":
45883
- case "type-columns": return "by-type";
45884
- default: return assertNever$1(arrangement);
45885
- }
43307
+ /** Reads a stored or effective knob value; anything else means the default, grouped by kind. */
43308
+ function readOfferingsGrouping(value) {
43309
+ return value === "one-list" ? "one-list" : "by-kind";
43310
+ }
43311
+ /** Grouping owns merging; specialised Looks retain their own selection policy. */
43312
+ function offeringsListingFor(grouping, arrangement) {
43313
+ if (arrangement === "course-groups") return "by-course";
43314
+ if (arrangement === "next-cards") return "next-per-type";
43315
+ return grouping === "one-list" ? "by-date" : "by-type";
45886
43316
  }
45887
43317
  Object.fromEntries(OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS.map((definition) => [definition.sourceKey, {
45888
43318
  kind: "eventPreset",
@@ -46062,7 +43492,7 @@ function buildOfferingsPreviewListing(input) {
46062
43492
  ...load,
46063
43493
  items: [selectOffering(load.items[0], input.now), ...load.items.slice(1).map((item) => selectOffering(item, input.now))]
46064
43494
  };
46065
- default: return assertNever$1(load);
43495
+ default: return assertNever(load);
46066
43496
  }
46067
43497
  }));
46068
43498
  if (!groups) return loads.length > 0 ? {
@@ -46082,7 +43512,7 @@ function buildOfferingsPreviewListing(input) {
46082
43512
  }));
46083
43513
  case "empty":
46084
43514
  case "failed": return [];
46085
- default: return assertNever$1(load);
43515
+ default: return assertNever(load);
46086
43516
  }
46087
43517
  }).sort((left, right) => (left.item.nextStartMs ?? Infinity) - (right.item.nextStartMs ?? Infinity) || left.groupIndex - right.groupIndex || offeringItemTitle(left.item).localeCompare(offeringItemTitle(right.item))));
46088
43518
  return items ? {
@@ -46191,10 +43621,10 @@ function preferredPathsForSource(source) {
46191
43621
  case "workshop": return ["/workshops", "/workshop"];
46192
43622
  case "retreat": return ["/retreats", "/retreat"];
46193
43623
  case "performance": return ["/performances", "/performance"];
46194
- default: return assertNever$1(source.preset, "Unhandled offerings preview event preset");
43624
+ default: return assertNever(source.preset, "Unhandled offerings preview event preset");
46195
43625
  }
46196
43626
  case "wholeSeries": return ["/courses", "/course"];
46197
- default: return assertNever$1(source, "Unhandled offerings preview source");
43627
+ default: return assertNever(source, "Unhandled offerings preview source");
46198
43628
  }
46199
43629
  }
46200
43630
  function normalizeRoutePath(value) {
@@ -48094,14 +45524,34 @@ function resolveStrategyDelivery(blockKind, fieldPath, slotPath, values) {
48094
45524
  if (blockKind === "block.site-header" && slotPath === "logo") return resolveSmallLogoDeliveryContract();
48095
45525
  if (blockKind === "block.site-footer" && slotPath === "logo") return resolveSmallLogoDeliveryContract();
48096
45526
  }
48097
- function resolveMediaSlotContract({ blockKind, fieldPath, values, fieldAspectRatio, fieldUi }) {
45527
+ /** Only gallery photos use the gallery Look's frame; backgrounds keep their own contract. */
45528
+ function galleryMediaFrame(blockKind, path, frame, values) {
45529
+ if (blockKind !== "block.image-gallery" || !/^images\.\d+\.image$/.test(path)) return void 0;
45530
+ const effective = asRecord(values?._effectiveLook);
45531
+ const look = blockAppearancePresets.find((candidate) => candidate.id === effectiveLookId(values));
45532
+ const declared = frame ?? resolveLookMediaFrame(look?.structure.kind === "arrangement" ? look.structure.mediaFrame : void 0, asString(effective?.skin));
45533
+ return declared?.kind === "fixed" ? declared : void 0;
45534
+ }
45535
+ /** The slot contract plus the gallery Look frame it was decided from, so callers needn't resolve the frame again. */
45536
+ function resolveMediaSlot({ blockKind, fieldPath, values, fieldAspectRatio, fieldUi, lookMediaFrame }) {
48098
45537
  const slotPath = normalizeSlotPath(fieldPath);
48099
45538
  const variant = asString(values?.variant);
48100
- const edit = resolveEditContract(blockKind, fieldPath, slotPath, values, fieldAspectRatio);
45539
+ const frame = galleryMediaFrame(blockKind, fieldPath, lookMediaFrame, values);
45540
+ const edit = frame ? {
45541
+ mode: "fixed-aspect",
45542
+ aspectRatio: frame.aspectRatio,
45543
+ ...getMinSourceConstraints(frame.aspectRatio, DEFAULT_MIN_SOURCE_WIDTH)
45544
+ } : resolveEditContract(blockKind, fieldPath, slotPath, values, fieldAspectRatio);
48101
45545
  const defaultDelivery = resolveDefaultDeliveryContract(slotPath);
48102
45546
  const fieldDelivery = resolveFieldUiDeliveryConfig(fieldUi, variant);
48103
45547
  const strategyDelivery = resolveStrategyDelivery(blockKind, fieldPath, slotPath, values);
48104
- return buildContract(edit, mergeDelivery(mergeDelivery(defaultDelivery, fieldDelivery), strategyDelivery));
45548
+ return {
45549
+ contract: buildContract(edit, mergeDelivery(mergeDelivery(defaultDelivery, fieldDelivery), strategyDelivery)),
45550
+ galleryFrame: frame
45551
+ };
45552
+ }
45553
+ function resolveMediaSlotContract(input) {
45554
+ return resolveMediaSlot(input).contract;
48105
45555
  }
48106
45556
  //#endregion
48107
45557
  //#region ../blocks/src/system/runtime/nodes/media.tsx
@@ -48376,10 +45826,17 @@ const debugMediaNodeLog = (...args) => {
48376
45826
  if (typeof window === "undefined") return;
48377
45827
  if (Reflect.get(window, "__DEBUG_MEDIA_NODE__") === true) console.log("[MediaNode]", ...args);
48378
45828
  };
45829
+ /** Keep responsive delivery and transform selection on the slot's decided crop. */
45830
+ function resolveMediaNodeAspectRatios(size, style, slotContract) {
45831
+ const slotAspect = slotContract?.edit.mode === "fixed-aspect" ? slotContract.edit.aspectRatio : void 0;
45832
+ return {
45833
+ targetAspectRatio: parseAspectRatioValue(slotAspect),
45834
+ transformAspectRatio: resolveStyleAspectRatio(style) ?? slotAspect ?? resolveTargetAspectRatio(size)
45835
+ };
45836
+ }
48379
45837
  function resolveMediaNodeResponsiveImage(value, size, style, slot, context) {
48380
- const transformAspectRatio = resolveStyleAspectRatio(style) ?? resolveTargetAspectRatio(size);
48381
45838
  const slotContract = resolveSlotContract(slot);
48382
- const targetAspectRatio = parseAspectRatioValue(slotContract?.edit.mode === "fixed-aspect" ? slotContract.edit.aspectRatio : void 0);
45839
+ const { targetAspectRatio, transformAspectRatio } = resolveMediaNodeAspectRatios(size, style, slotContract);
48383
45840
  const responsive = slotContract ? resolveImageSourceSetWithContext(value, {
48384
45841
  widthCandidates: slotContract.delivery.widthCandidates,
48385
45842
  sizes: slotContract.delivery.sizes,
@@ -51679,10 +49136,28 @@ const groupOverrideFields = [
51679
49136
  ];
51680
49137
  const offeringsPreviewFields = [
51681
49138
  ...sectionHeaderFields("Offerings"),
49139
+ {
49140
+ id: "grouping",
49141
+ type: "select",
49142
+ label: "Grouping",
49143
+ required: false,
49144
+ multiple: false,
49145
+ options: [{
49146
+ value: "by-kind",
49147
+ label: "Grouped by kind"
49148
+ }, {
49149
+ value: "one-list",
49150
+ label: "One list"
49151
+ }],
49152
+ ui: {
49153
+ intent: "display",
49154
+ hidden: true
49155
+ }
49156
+ },
51682
49157
  {
51683
49158
  id: "itemLimit",
51684
49159
  type: "select",
51685
- label: "Items per card",
49160
+ label: "Items per kind",
51686
49161
  required: false,
51687
49162
  multiple: false,
51688
49163
  defaultValue: "3",
@@ -51831,7 +49306,7 @@ function countListedOfferings(listing) {
51831
49306
  case "by-date": return listing.items.length;
51832
49307
  case "by-course":
51833
49308
  case "by-type": return listing.groups.reduce((count, load) => count + (load.kind === "items" ? load.items.length : 0), 0);
51834
- default: return assertNever$1(listing);
49309
+ default: return assertNever(listing);
51835
49310
  }
51836
49311
  }
51837
49312
  function matchesGroup(group, event) {
@@ -51839,7 +49314,7 @@ function matchesGroup(group, event) {
51839
49314
  switch (source.kind) {
51840
49315
  case "eventPreset": return event.bookingScope === "single_occurrence" && event.eventPreset === source.preset;
51841
49316
  case "wholeSeries": return event.bookingScope === "whole_series";
51842
- default: return assertNever$1(source);
49317
+ default: return assertNever(source);
51843
49318
  }
51844
49319
  }
51845
49320
  //#endregion
@@ -51905,6 +49380,7 @@ function offeringsPreviewHeaderNodes() {
51905
49380
  const offeringsPreviewLayout = [styledSection({
51906
49381
  children: sectionContainer([el("offerings-preview", withApiBindings({
51907
49382
  ...cardListPresentationBindings,
49383
+ offeringsGrouping: { $bind: { from: "content._effectiveKnobs.grouping.value" } },
51908
49384
  carouselRegion: { $bind: { from: "content.heading" } },
51909
49385
  renderInput: { $bind: { from: "content._offeringsPreviewInput" } },
51910
49386
  showHiddenPlaceholder: { $bind: { from: "content._offeringsPreviewShowHiddenPlaceholder" } },
@@ -52008,6 +49484,7 @@ const offeringsPreviewBlockDefinition = {
52008
49484
  manifest: offeringsPreviewManifest,
52009
49485
  contentNormalizer: {
52010
49486
  fieldIds: [
49487
+ "grouping",
52011
49488
  "displayMode",
52012
49489
  "oneOffering",
52013
49490
  "heading",
@@ -52106,29 +49583,29 @@ function eventPresetLoader(eventPresets, extraParams = {}) {
52106
49583
  mode: "server"
52107
49584
  };
52108
49585
  }
49586
+ const offeringsContentSchema = z.object({
49587
+ grouping: z.enum(["by-kind", "one-list"]).nullish().catch(void 0),
49588
+ heading: z.string().nullish().catch(void 0),
49589
+ description: z.unknown().optional(),
49590
+ itemLimit: z.custom(isOfferingsPreviewItemLimit).optional().catch(void 0),
49591
+ groupOrder: z.array(z.unknown()).transform((values) => values.filter(isOfferingsPreviewSourceKey)).nullish().catch(void 0),
49592
+ groupOverrides: z.array(z.unknown()).transform((values) => values.flatMap(normalizeOfferingsPreviewGroupOverride)).nullish().catch(void 0),
49593
+ _cardStyles: z.unknown().transform(normalizeCardStylesContent),
49594
+ buttonVariant: z.custom(isButtonVariant).optional().catch(void 0),
49595
+ buttonText: z.string().nullish().catch(void 0),
49596
+ emptyMessage: z.string().nullish().catch(void 0),
49597
+ _sectionStyles: z.unknown().transform(normalizeSectionStylesContent)
49598
+ });
52109
49599
  function normalizeOfferingsPreviewBlockContent(value) {
52110
49600
  const record = normalizeOfferingsPreviewContentForWrite(value);
52111
49601
  if (!record) return { displayMode: DEFAULT_OFFERINGS_PREVIEW_DISPLAY_MODE };
52112
49602
  const normalized = {
52113
49603
  displayMode: normalizeOfferingsPreviewDisplayMode(record.displayMode),
52114
49604
  ...oneOfferingContent(record.oneOffering),
52115
- ...normalizeCardListContent(record)
52116
- };
52117
- if (typeof record.heading === "string" || record.heading === null) normalized.heading = record.heading;
52118
- if ("description" in record) normalized.description = record.description;
52119
- if (isOfferingsPreviewItemLimit(record.itemLimit)) normalized.itemLimit = record.itemLimit;
52120
- if (Array.isArray(record.groupOrder)) normalized.groupOrder = record.groupOrder.filter(isOfferingsPreviewSourceKey);
52121
- else if (record.groupOrder === null) normalized.groupOrder = null;
52122
- if (Array.isArray(record.groupOverrides)) normalized.groupOverrides = record.groupOverrides.flatMap(normalizeOfferingsPreviewGroupOverride);
52123
- else if (record.groupOverrides === null) normalized.groupOverrides = null;
52124
- const cardStyles = normalizeCardStylesContent(record._cardStyles);
52125
- if (cardStyles !== void 0) normalized._cardStyles = cardStyles;
52126
- if (isButtonVariant(record.buttonVariant)) normalized.buttonVariant = record.buttonVariant;
52127
- if (typeof record.buttonText === "string" || record.buttonText === null) normalized.buttonText = record.buttonText;
52128
- if (typeof record.emptyMessage === "string" || record.emptyMessage === null) normalized.emptyMessage = record.emptyMessage;
52129
- const sectionStyles = normalizeSectionStylesContent(record._sectionStyles);
52130
- if (sectionStyles !== void 0) normalized._sectionStyles = sectionStyles;
52131
- return normalized;
49605
+ ...normalizeCardListContent(record),
49606
+ ...offeringsContentSchema.parse(record)
49607
+ };
49608
+ return Object.fromEntries(Object.entries(normalized).filter(([, field]) => field !== void 0));
52132
49609
  }
52133
49610
  function oneOfferingContent(value) {
52134
49611
  return typeof value === "boolean" || value === null ? { oneOffering: value } : {};
@@ -55833,7 +53310,7 @@ function newsletterPresetFields(fields) {
55833
53310
  placeholder: "Company name"
55834
53311
  }
55835
53312
  ];
55836
- default: return assertNever$1(fields);
53313
+ default: return assertNever(fields);
55837
53314
  }
55838
53315
  }
55839
53316
  function withOptionalPhone(fields, includePhone) {
@@ -56056,7 +53533,7 @@ function projectNewsletterFormHydrationTarget(source) {
56056
53533
  tag: "block-source",
56057
53534
  sourceRef: null
56058
53535
  };
56059
- default: return assertNever$1(source.newsletterBlockSubmission);
53536
+ default: return assertNever(source.newsletterBlockSubmission);
56060
53537
  }
56061
53538
  case "signed-hosted-booking":
56062
53539
  case "signed-footer": return {
@@ -56064,7 +53541,7 @@ function projectNewsletterFormHydrationTarget(source) {
56064
53541
  sourceRef: source.sourceRef
56065
53542
  };
56066
53543
  case "preview": return { tag: "preview" };
56067
- default: return assertNever$1(source);
53544
+ default: return assertNever(source);
56068
53545
  }
56069
53546
  }
56070
53547
  function resolveRuntimeChoices(assessment) {
@@ -58135,4 +55612,4 @@ function listBlockDescriptors() {
58135
55612
  }));
58136
55613
  }
58137
55614
  //#endregion
58138
- export { RichText as $, buildTextContrastShadow as $a, isToday as $i, listLookControl as $n, parseRepeaterGridInteger as $o, lookCarouselRegionTransform as $r, unsafeAsContentEntryId as $s, formatEventNextDateFact as $t, publicRouteCandidatesSchema as A, resolveLookForBlock as Aa, augmentManifest as Ai, parseTeamMemberSpecialties as An, resolveEffectiveKnobs as Ao, formEmbedFragment as Ar, formatDateRange as As, resolveOfferingsPreviewGroups as At, buildEventCollectionHydration as B, filterLookIdsForPolicy as Ba, resolveCalendarReadProfile as Bi, resolveHeroTitleLength as Bn, testimonialsCompositionTreatmentValues as Bo, boxStyleClassNames as Br, resolveBookingBusinessTimeZone as Bs, eventWeekGroupingContext as Bt, buildProductListInteractiveIslandProps as C, arrangementAppearancePresets as Ca, isInlineTextEmpty as Ci, shouldReserveFeatureCardIconZone as Cn, deriveSectionGround as Co, richTextFragment as Cr, locationValueSchema as Cs, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Ct, membershipClassesLabel as D, compileArrangementLookRuntime as Da, parseFieldDefinition as Di, markEditableSurfaceForwarding as Dn, stripStaleTransitionStyleGroup as Do, faqHeadingFragment as Dr, trimmedStringOrNull as Ds, offeringRunLifecycle as Dt, membershipCardListContent as E, automaticArrangementLook as Ea, normalizeSelectSource as Ei, composeHeaderSectionWrapperClassName as En, sectionSurfaceBase as Eo, faqAccordionFragment as Er, publicLocationSchema as Es, normalizeOfferingsPreviewItemLimit as Et, buildEventCalendarListingDisplay as F, resolveModeArrangement as Fa, eventDiscoveryFilterKeys as Fi, mediaTransforms as Fn, featureCardCompositionTreatmentValues as Fo, heroCtaRowFragment as Fr, compareLocalScheduleDates as Fs, ThemedDownloadLink as Ft, catalogueEventCardProps as G, compilePageRuntimeFields as Ga, getLocalMinuteOfDay as Gi, buildFormInteractiveIslandProps as Gn, bindingSchema as Go, parseRuntimeBackgroundContent as Gr, isPublicEventPricingOptionDisplayable as Gs, eventDateOptions as Gt, eventCollectionDisplaySchemaShape as H, designRuntimeRulesForSiteStyle as Ha, eventCalendarListLayoutOptions as Hi, formattingTransforms as Hn, cardListFamilyBlocks as Ho, resolveCardRoleForBoxStyles as Hr, toUtcIsoDateTimeString as Hs, weekColumnDays as Ht, combinedLookSchema as I, resolvePublishedLook as Ia, eventScopeLoaderParam as Ii, headerRuntimeTransforms as In, introCompositionTreatmentValues as Io, ctaRowFragment as Ir, getBookingLocalDateKey as Is, getIconComponent as It, CardListLeadDate as J, gradientToCss as Ja, getDayOfWeek as Ji, defineInteractiveIslandMetaKeys as Jn, blockSectionDeclarationShape as Jo, resolveBackgroundColorValue as Jr, publicEventPricingType as Js, formatDate as Jt, listingEventCardProps as K, stripCompiledRuntimeStyleFields as Ka, addDays as Ki, buildInteractiveIslandProps as Kn, DEFAULT_MEDIA_FIELD_KINDS as Ko, resolveSectionSurfaceForeground as Kr, publicEventPricingCurrency as Ks, eventLocalDateKey as Kt, eventListingBlockDefinition as L, buildInitialPolicyPageDesignIntent as La, eventScopeQuery as Li, chromeLogoTransforms as Ln, offeringsPreviewCompositionTreatmentValues as Lo, isBlockButtonRole as Lr, getLocalScheduleDate as Ls, SpinnerNode as Lt, offeringsCatalogueShape as M, arrangementManifestFromVariants as Ma, eventReadinessQuery as Mi, teamMemberCardBiography as Mn, assertNever as Mo, testimonialsCarouselFragment as Mr, inferSiteDateLocale as Ms, ThemedAuthoredButton as Mt, eventCalendarBlockDefinition as N, readStoredMode as Na, eventReadinessQueryKeys as Ni, readRuntimeNow as Nn, defineBlockDesignCapability as No, testimonialsHeadingFragment as Nr, formatBookingCompactEnglishTime as Ns, ThemedButton as Nt, passCardListContent as O, getCompatibleBlockAppearancePresets as Oa, parseFieldDefinitions as Oi, splitPositioningClasses as On, themeV2CompilerOwnedFieldNames as Oo, blogFeaturedPostFragment as Or, mapDrawingSchema as Os, offeringsListingFor as Ot, buildEventCalendarInteractiveIslandProps as P, resolveEffectiveArrangement as Pa, eventReadinessResultSchema as Pi, resolveDateRuntimeContext as Pn, designIssueSeverityForPolicy as Po, ctaCopyFragment as Pr, toScheduledBookingDateTime as Ps, ThemedButtonLink as Pt, MediaNodeServer as Q, generateFooterCss as Qa, isSameCalendarDay as Qi, listItemPresentation as Qn, isAcceptedRepeaterGridSpan as Qo, defineFragment as Qr, parseContentVersionId as Qs, formatEventHourLabel as Qt, buildEventListingInteractiveIslandProps as R, deriveSiteStyleBlockPolicy as Ra, eventScopeQueryKeys as Ri, layoutTransforms as Rn, plainFrame as Ro, heroCopyFragment as Rr, parseBookingLocalDate as Rs, buildEventListWeek as Rt, buildProductDetailInteractiveIslandProps as S, heroPhotoPaintsGround as Sa, inlineTextToPlainText as Si, resolveFeatureCardGeneratedIconSizePx as Sn, applyLookPhotoTreatment as So, heroTitleSizeOptions as Sr, decideLocationSourcePermission as Ss, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as St, shopProductPresentation as T, arrangementStyleAvailability as Ta, plainTextToInlineText as Ti, siteHeaderManifest as Tn, resolveSectionBackground as To, cardFragment as Tr, projectPublicLocation as Ts, groupOfferingRunsByCourse as Tt, eventCollectionHydrationSchema as U, getCuratedSiteStyle as Ua, resolveEventCalendarReadPlan as Ui, formatDate$1 as Un, cardListKnobBlocks as Uo, parseBackgroundContent as Ur, offeringLabelForPageSurfaceSubject as Us, buildCalendarViewport as Ut, buildEventCollectionListingDisplay as V, componentRuntimeRulesForSiteStyle as Va, eventCalendarListGroupingDecision as Vi, uiTransforms as Vn, toNonEmptyReadonlyArray as Vo, normalizeBoxStylesBorder as Vr, toBookingTimeZone as Vs, groupEventsByWeek as Vt, eventCollectionSourceSchemaShape as W, requireCuratedSiteStyle as Wa, getLocalDateKey as Wi, formBlockDefinition as Wn, NodeSchema as Wo, parseBackgroundOverlay as Wr, formatBookingPriceDisplay as Ws, eventCalendarWeekStart as Wt, resolveCardListSchedule as X, resolveCardRole as Xa, getWeekCalendarDayTuple as Xi, defineClientOwnedBlockRuntime as Xn, fieldSchema$1 as Xo, isSemanticSpacing as Xr, resolvePricingOptionsPriceDisplay as Xs, formatEventCompactDateRail as Xt, cardListPresentationSchemaShape as Y, getGradientPreset as Ya, getOrderedDayNames as Yi, createZodCodec as Yn, builtInBlockKindsSchema as Yo, ctaButton as Yr, resolveExactOrFreePriceDisplay as Ys, formatEventClockLabel as Yt, selectCardListPresentation as Z, generateDefaultCardSystem as Za, getWeekCalendarDays as Zi, defineProgressiveBlockRuntime as Zn, validateManifestLookField as Zo, bodyCopyFragment as Zr, formatCurrencyAmount as Zs, formatEventDateParts as Zt, productDetailBlockDefinition as _, resolveLookSurfacePresentation as _a, FileAudioIcon as _i, getEventAvailability as _n, softBoundaryOption as _o, formatEventPriceAmount as _r, parseMailingListRuntimeContext as _s, previewStageSchema as _t, normalizeLocationMapProps as a, beforeBookingQuestionsPresentationSchema as aa, runTransforms as ai, resolveEventTimeZone as an, resolvePageDesignBoundaryChoice as ao, Grid as ar, hiddenFromVisitors as as, resolveImageUrlWithContext as at, buildCartInteractiveIslandProps as b, effectiveHeaderNavLinkStyle as ba, MinusIcon as bi, groupPublicEventsByRun as bn, anglePolygonCss as bo, BACKGROUND_POSITION_PRESET_VALUES as br, sameMailingListPlacementTargeting as bs, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as bt, newsletterSignupBlockDefinition as c, linkSchema as ca, buildGeneratedBlockIconRenderAssetLookupFromUnknown as ci, bookingPresentation as cn, sectionShapeForGround as co, morePhotosField as cr, unavailableReadinessFact as cs, getCurrentResolveImageUrlContext as ct, buildNewsletterFormInteractiveIslandProps as d, isObjectRecord$1 as da, ArrowDownIcon as di, pageNavigationSchema as dn, boundaryOptionForTransitionIntent as do, resolveDeclaredBlockDesignCapability as dr, CANCELLED_SESSION_STATUS as ds, getCardOrientation as dt, projectRecurringSchedule as ea, unsafeAsEventCategoryId$1 as ec, lookLeadSlotTransform as ei, formatEventRunDates as en, generateNavLinkCSS as eo, listLookSlot as er, resolveRepeaterGridColumnFieldId as es, ImagePresets as et, newsletterBlockSubmissionMessage as f, isRecord$5 as fa, ChevronDownIcon as fi, closedRunCopy as fn, boundaryOptions as fo, classPricesCopySchema as fr, firstLiveRunSessionStartMs as fs, getContainerClass as ft, cartBlockDefinition as g, lookPresentationOnPalette as ga, FileArchiveIcon as gi, formatTotalCapacity as gn, noneBoundaryOption as go, formatEventPrice as gr, buildMailingListSignupBlockSourceRef as gs, bookingNowSchema as gt, checkoutBlockDefinition as h, AFFORDANCE_SUPPRESS_CLASS as ha, ClockIcon as hi, formatEventRemainingPlaces as hn, isDecorativeTransitionIntent as ho, formatCoursePrice as hr, resolveWholeSeriesBookingPhase as hs, resolveEventRegistrationEventSource as ht, systemBlockDefinitions as i, bookingConsentCarrierSchema as ia, createTransformRegistry as ii, groupEventsByDate as in, resolvePageDesignBlockLookChoice as io, standardAspectRatioOptions as ir, admitReadinessFacts as is, resolveImageUrl as it, buildOfferingsCatalogueListing as j, styleSectionBackgroundForColour as ja, eventReadinessLoaderKey as ji, teamMemberBiography as jn, lookModes as jo, formCopyFragment as jr, formatDateTimeRange as js, resolveOfferingsRenderInput as jt, offeringsPreviewBlockDefinition as k, resolveArrangementLookForBlock as ka, PUBLIC_DOWNLOAD_MEDIA_TYPES as ki, contentTransforms as kn, appearancePresets as ko, singleButtonFragment as kr, formatDate$2 as ks, resolveOfferingsPreviewGroupCta as kt, sanitizeNewsletterSignupPublicContent as l, eventCalendarListLayoutCompatibleDisplayModeValues as la, parseBlockIconValue as li, browserReadAuthoritySchema as ln, sectionShapeFromContent as lo, standardImageShapeOptions as lr, isRecord$6 as ls, setContextResolveImageUrlContext as lt, buildGiftingInteractiveIslandProps as m, themeButtonSelector as ma, CirclePlusIcon as mi, canJoinEventWaitlistOnAnyMode as mn, boundaryTreatmentForBoundaryOptionId as mo, resolveClassPriceItems as mr, orderedLiveRunSessions as ms, buildEventRegistrationInteractiveIslandProps as mt, listBlockDescriptors as n, blockBookingPaymentTermsSchema as na, arrangementSlotNames as nc, lookSkinSlotTransform as ni, formatEventWeekdayTime as nn, generateInteractiveChildInheritanceCSS as no, resolvedItemSurfaceProps as nr, resolveRepeaterGridSpanFieldId as ns, computeMediaTransformStyle as nt, normalizeLocationMapSource as o, sanitizeHref as oa, el as oi, resolveRuntimeEventDestination as on, headerNeedsPhotoShade as oo, clsx as or, loadedReadinessFact as os, resolvePublicMediaUrl as ot, giftingBlockDefinition as p, parseThemeButtonVariantId as pa, CircleMinusIcon as pi, bookingPageKindSchema as pn, boundaryRuntimeMetricsForDecorativeTransition as po, classPricesDataSchema as pr, nextLiveRunSessionStartMs as ps, eventRegistrationBlockDefinition as pt, CardListContentPart as q, surfaceResolutionContextFromTheme as qa, formatDateKey as qi, createInteractiveIslandCodec as qn, blockCategoryEnum as qo, resolveSurfaceForegroundStyles as qr, publicEventPricingDisplay as qs, formatCalendarTitle as qt, normalizeBlockContent as r, blockBookingConsentSchema as ra, TokenResolver as rc, asPartialObject as ri, formatTime as rn, parsePageDesignIntent as ro, itemRole as rr, chosenString as rs, resolveImageSourceSetWithContext as rt, resolveLocationMapLocation as s, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as sa, when as si, formatBookingSchedulePresentation as sn, headerRootPaint as so, heroMorePhotoCount as sr, pageTemplateFromEntry as ss, buildResolveImageUrlContext as st, getBlockDefinition as t, publicEventsArraySchema as ta, parseGradientPresetId as tc, lookQuoteLimitTransform as ti, formatEventTimeRange as tn, generateEffectsCSS as to, lookListPresentationSchemaShape as tr, resolveRepeaterGridRowFieldId as ts, MediaPlaceholder as tt, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as u, calendarWindowQuerySchema as ua, resolveBlockIconRenderValue as ui, blockSiteTermsSchema as un, sectionShapeHook as uo, blockDesignCapabilityMapFromDefinitions as ur, EVENT_PRESET_VALUES as us, EventQuickFacts as ut, productListBlockDefinition as v, selectItemSurfacePresentation as va, FileSpreadsheetIcon as vi, getEventAvailabilityStatus as vn, spaciousBoundaryOption as vo, formatEventPriceDisplay as vr, parseMailingListProviderScope as vs, normalizeEventRegistrationPageSurfaceSubject as vt, buildShopInteractiveIslandProps as w, arrangementLookHooks as wa, parseInlineTextFromUnknown as wi, siteFooterManifest as wn, parseCanonicalRuntimeBackground as wo, headingFragment as wr, normalizeLocationAddressText as ws, buildOfferingsPreviewListing as wt, buildCheckoutInteractiveIslandProps as x, readOpeningToneProjection as xa, PlusIcon as xi, FEATURE_CARD_ICON_TREATMENTS as xn, transitionCatalogueEntries as xo, getAnchorClasses as xr, isCanonicalRichTextDoc as xs, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as xt, shopBlockDefinition as y, parseListLook as ya, FileTextIcon as yi, isEventFull as yn, transitionIntentForTreatment as yo, formatEventStartingPrice as yr, parseMailingListPlacementTargeting as ys, resolveEventRegistrationScopedEvents as yt, buildEventCollectionDisplay as z, filterLayoutProfilesForPolicy as za, resolveEventScope as zi, staticHeaderChromeRuntime as zn, sectionBackgroundPaintValues as zo, boxStylesTransforms as zr, parseLocalScheduleTime as zs, eventListWeekDays as zt };
55615
+ export { RichText as $, surfaceResolutionContextFromTheme as $a, isSameCalendarDay as $i, listItemPresentation as $n, isRecord$6 as $o, defineFragment as $r, formatEventHourLabel as $t, publicRouteCandidatesSchema as A, arrangementLookHooks as Aa, PUBLIC_DOWNLOAD_MEDIA_TYPES as Ai, contentTransforms as An, sectionSurfaceBase as Ao, singleButtonFragment as Ar, resolveBookingBusinessTimeZone as As, resolveOfferingsPreviewGroupCta as At, buildEventCollectionHydration as B, resolveEffectiveArrangement as Ba, resolveEventScope as Bi, staticHeaderChromeRuntime as Bn, fieldSchema$1 as Bo, boxStylesTransforms as Br, resolvePricingOptionsPriceDisplay as Bs, eventListWeekDays as Bt, buildProductListInteractiveIslandProps as C, effectiveHeaderNavLinkStyle as Ca, inlineTextToPlainText as Ci, resolveFeatureCardGeneratedIconSizePx as Cn, transitionIntentForTreatment as Co, heroTitleSizeOptions as Cr, formatBookingCompactEnglishTime as Cs, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Ct, membershipClassesLabel as D, headerRootIsTransparent as Da, normalizeSelectSource as Di, composeHeaderSectionWrapperClassName as Dn, deriveSectionGround as Do, faqAccordionFragment as Dr, getLocalScheduleDate as Ds, offeringRunLifecycle as Dt, membershipCardListContent as E, headerNeedsPhotoShade as Ea, plainTextToInlineText as Ei, siteHeaderManifest as En, applyLookPhotoTreatment as Eo, cardFragment as Er, getBookingLocalDateKey as Es, normalizeOfferingsPreviewItemLimit as Et, buildEventCalendarListingDisplay as F, resolveArrangementLookForBlock as Fa, eventReadinessResultSchema as Fi, resolveDateRuntimeContext as Fn, bindingSchema as Fo, ctaCopyFragment as Fr, isPublicEventPricingOptionDisplayable as Fs, ThemedButtonLink as Ft, catalogueEventCardProps as G, filterLayoutProfilesForPolicy as Ga, getLocalDateKey as Gi, formBlockDefinition as Gn, resolveRepeaterGridRowFieldId as Go, parseBackgroundOverlay as Gr, parseGradientPresetId as Gs, eventCalendarWeekStart as Gt, eventCollectionDisplaySchemaShape as H, resolvePublishedLook as Ha, eventCalendarListGroupingDecision as Hi, uiTransforms as Hn, isAcceptedRepeaterGridSpan as Ho, normalizeBoxStylesBorder as Hr, parseContentVersionId as Hs, groupEventsByWeek as Ht, combinedLookSchema as I, resolveLookForBlock as Ia, eventDiscoveryFilterKeys as Ii, mediaTransforms as In, DEFAULT_MEDIA_FIELD_KINDS as Io, heroCtaRowFragment as Ir, publicEventPricingCurrency as Is, ThemedDownloadLink as It, CardListLeadDate as J, designRuntimeRulesForSiteStyle as Ja, formatDateKey as Ji, createInteractiveIslandCodec as Jn, admitReadinessFacts as Jo, resolveSurfaceForegroundStyles as Jr, formatCalendarTitle as Jt, listingEventCardProps as K, filterLookIdsForPolicy as Ka, getLocalMinuteOfDay as Ki, buildFormInteractiveIslandProps as Kn, resolveRepeaterGridSpanFieldId as Ko, parseRuntimeBackgroundContent as Kr, arrangementSlotNames as Ks, eventDateOptions as Kt, eventListingBlockDefinition as L, styleSectionBackgroundForColour as La, eventScopeLoaderParam as Li, headerRuntimeTransforms as Ln, blockCategoryEnum as Lo, ctaRowFragment as Lr, publicEventPricingDisplay as Ls, getIconComponent as Lt, offeringsCatalogueShape as M, automaticArrangementLook as Ma, eventReadinessLoaderKey as Mi, teamMemberBiography as Mn, themeV2CompilerOwnedFieldNames as Mo, formCopyFragment as Mr, toUtcIsoDateTimeString as Ms, resolveOfferingsRenderInput as Mt, eventCalendarBlockDefinition as N, compileArrangementLookRuntime as Na, eventReadinessQuery as Ni, teamMemberCardBiography as Nn, appearancePresets as No, testimonialsCarouselFragment as Nr, offeringLabelForPageSurfaceSubject as Ns, ThemedAuthoredButton as Nt, passCardListContent as O, headerRootPaint as Oa, parseFieldDefinition as Oi, markEditableSurfaceForwarding as On, parseCanonicalRuntimeBackground as Oo, faqHeadingFragment as Or, parseBookingLocalDate as Os, offeringsListingFor as Ot, buildEventCalendarInteractiveIslandProps as P, getCompatibleBlockAppearancePresets as Pa, eventReadinessQueryKeys as Pi, readRuntimeNow as Pn, NodeSchema as Po, testimonialsHeadingFragment as Pr, formatBookingPriceDisplay as Ps, ThemedButton as Pt, MediaNodeServer as Q, stripCompiledRuntimeStyleFields as Qa, getWeekCalendarDays as Qi, defineProgressiveBlockRuntime as Qn, unavailableReadinessFact as Qo, bodyCopyFragment as Qr, formatEventDateParts as Qt, buildEventListingInteractiveIslandProps as R, arrangementManifestFromVariants as Ra, eventScopeQuery as Ri, chromeLogoTransforms as Rn, blockSectionDeclarationShape as Ro, isBlockButtonRole as Rr, publicEventPricingType as Rs, SpinnerNode as Rt, buildProductDetailInteractiveIslandProps as S, authoredHeaderLinkForeground as Sa, PlusIcon as Si, FEATURE_CARD_ICON_TREATMENTS as Sn, spaciousBoundaryOption as So, getAnchorClasses as Sr, inferSiteDateLocale as Ss, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as St, shopProductPresentation as T, heroPhotoPaintsGround as Ta, parseInlineTextFromUnknown as Ti, siteFooterManifest as Tn, transitionCatalogueEntries as To, headingFragment as Tr, compareLocalScheduleDates as Ts, groupOfferingRunsByCourse as Tt, eventCollectionHydrationSchema as U, buildInitialPolicyPageDesignIntent as Ua, eventCalendarListLayoutOptions as Ui, formattingTransforms as Un, parseRepeaterGridInteger as Uo, resolveCardRoleForBoxStyles as Ur, unsafeAsContentEntryId as Us, weekColumnDays as Ut, buildEventCollectionListingDisplay as V, resolveModeArrangement as Va, resolveCalendarReadProfile as Vi, resolveHeroTitleLength as Vn, validateManifestLookField as Vo, boxStyleClassNames as Vr, formatCurrencyAmount as Vs, eventWeekGroupingContext as Vt, eventCollectionSourceSchemaShape as W, deriveSiteStyleBlockPolicy as Wa, resolveEventCalendarReadPlan as Wi, formatDate$1 as Wn, resolveRepeaterGridColumnFieldId as Wo, parseBackgroundContent as Wr, unsafeAsEventCategoryId$1 as Ws, buildCalendarViewport as Wt, resolveCardListSchedule as X, requireCuratedSiteStyle as Xa, getOrderedDayNames as Xi, createZodCodec as Xn, loadedReadinessFact as Xo, ctaButton as Xr, formatEventClockLabel as Xt, cardListPresentationSchemaShape as Y, getCuratedSiteStyle as Ya, getDayOfWeek as Yi, defineInteractiveIslandMetaKeys as Yn, hiddenFromVisitors as Yo, resolveBackgroundColorValue as Yr, formatDate as Yt, selectCardListPresentation as Z, compilePageRuntimeFields as Za, getWeekCalendarDayTuple as Zi, defineClientOwnedBlockRuntime as Zn, pageTemplateFromEntry as Zo, isSemanticSpacing as Zr, formatEventCompactDateRail as Zt, productDetailBlockDefinition as _, resolveHeaderRootForeground as _a, FileArchiveIcon as _i, formatTotalCapacity as _n, boundaryRuntimeMetricsForDecorativeTransition as _o, formatEventPrice as _r, trimmedStringOrNull as _s, previewStageSchema as _t, normalizeLocationMapProps as a, bookingConsentCarrierSchema as aa, createTransformRegistry as ai, groupEventsByDate as an, buildTextContrastShadow as ao, standardAspectRatioOptions as ar, resolveWholeSeriesBookingPhase as as, resolveImageUrlWithContext as at, buildCartInteractiveIslandProps as b, selectItemSurfacePresentation as ba, FileTextIcon as bi, isEventFull as bn, noneBoundaryOption as bo, formatEventStartingPrice as br, formatDateRange as bs, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as bt, newsletterSignupBlockDefinition as c, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as ca, when as ci, formatBookingSchedulePresentation as cn, generateInteractiveChildInheritanceCSS as co, heroMorePhotoCount as cr, parseMailingListProviderScope as cs, getCurrentResolveImageUrlContext as ct, buildNewsletterFormInteractiveIslandProps as d, calendarWindowQuerySchema as da, resolveBlockIconRenderValue as di, blockSiteTermsSchema as dn, resolvePageDesignBoundaryChoice as do, blockDesignCapabilityMapFromDefinitions as dr, isCanonicalRichTextDoc as ds, getCardOrientation as dt, isToday as ea, lookCarouselRegionTransform as ei, formatEventNextDateFact as en, gradientToCss as eo, listLookControl as er, EVENT_PRESET_VALUES as es, ImagePresets as et, newsletterBlockSubmissionMessage as f, isObjectRecord$1 as fa, ArrowDownIcon as fi, pageNavigationSchema as fn, sectionShapeForGround as fo, resolveDeclaredBlockDesignCapability as fr, decideLocationSourcePermission as fs, getContainerClass as ft, cartBlockDefinition as g, AFFORDANCE_SUPPRESS_CLASS as ga, ClockIcon as gi, formatEventRemainingPlaces as gn, boundaryOptions as go, formatCoursePrice as gr, publicLocationSchema as gs, bookingNowSchema as gt, checkoutBlockDefinition as h, themeButtonSelector as ha, CirclePlusIcon as hi, canJoinEventWaitlistOnAnyMode as hn, boundaryOptionForTransitionIntent as ho, resolveClassPriceItems as hr, projectPublicLocation as hs, resolveEventRegistrationEventSource as ht, systemBlockDefinitions as i, blockBookingConsentSchema as ia, asPartialObject as ii, formatTime as in, generateFooterCss as io, itemRole as ir, orderedLiveRunSessions as is, resolveImageUrl as it, buildOfferingsCatalogueListing as j, arrangementStyleAvailability as ja, augmentManifest as ji, parseTeamMemberSpecialties as jn, stripStaleTransitionStyleGroup as jo, formEmbedFragment as jr, toBookingTimeZone as js, resolveOfferingsPreviewGroups as jt, offeringsPreviewBlockDefinition as k, arrangementAppearancePresets as ka, parseFieldDefinitions as ki, splitPositioningClasses as kn, resolveSectionBackground as ko, blogFeaturedPostFragment as kr, parseLocalScheduleTime as ks, readOfferingsGrouping as kt, sanitizeNewsletterSignupPublicContent as l, linkSchema as la, buildGeneratedBlockIconRenderAssetLookupFromUnknown as li, bookingPresentation as ln, parsePageDesignIntent as lo, morePhotosField as lr, parseMailingListPlacementTargeting as ls, setContextResolveImageUrlContext as lt, buildGiftingInteractiveIslandProps as m, parseThemeButtonVariantId as ma, CircleMinusIcon as mi, bookingPageKindSchema as mn, sectionShapeHook as mo, classPricesDataSchema as mr, normalizeLocationAddressText as ms, buildEventRegistrationInteractiveIslandProps as mt, listBlockDescriptors as n, publicEventsArraySchema as na, lookQuoteLimitTransform as ni, formatEventTimeRange as nn, resolveCardRole as no, lookListPresentationSchemaShape as nr, firstLiveRunSessionStartMs as ns, computeMediaTransformStyle as nt, normalizeLocationMapSource as o, beforeBookingQuestionsPresentationSchema as oa, runTransforms as oi, resolveEventTimeZone as on, generateNavLinkCSS as oo, Grid as or, buildMailingListSignupBlockSourceRef as os, resolvePublicMediaUrl as ot, giftingBlockDefinition as p, isRecord$5 as pa, ChevronDownIcon as pi, closedRunCopy as pn, sectionShapeFromContent as po, classPricesCopySchema as pr, locationValueSchema as ps, eventRegistrationBlockDefinition as pt, CardListContentPart as q, componentRuntimeRulesForSiteStyle as qa, addDays as qi, buildInteractiveIslandProps as qn, chosenString as qo, resolveSectionSurfaceForeground as qr, TokenResolver as qs, eventLocalDateKey as qt, normalizeBlockContent as r, blockBookingPaymentTermsSchema as ra, lookSkinSlotTransform as ri, formatEventWeekdayTime as rn, generateDefaultCardSystem as ro, resolvedItemSurfaceProps as rr, nextLiveRunSessionStartMs as rs, resolveImageSourceSetWithContext as rt, resolveLocationMapLocation as s, sanitizeHref as sa, el as si, resolveRuntimeEventDestination as sn, generateEffectsCSS as so, clsx as sr, parseMailingListRuntimeContext as ss, buildResolveImageUrlContext as st, getBlockDefinition as t, projectRecurringSchedule as ta, lookLeadSlotTransform as ti, formatEventRunDates as tn, getGradientPreset as to, listLookSlot as tr, CANCELLED_SESSION_STATUS as ts, MediaPlaceholder as tt, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as u, eventCalendarListLayoutCompatibleDisplayModeValues as ua, parseBlockIconValue as ui, browserReadAuthoritySchema as un, resolvePageDesignBlockLookChoice as uo, standardImageShapeOptions as ur, sameMailingListPlacementTargeting as us, EventQuickFacts as ut, productListBlockDefinition as v, lookPresentationOnPalette as va, FileAudioIcon as vi, getEventAvailability as vn, boundaryTreatmentForBoundaryOptionId as vo, formatEventPriceAmount as vr, mapDrawingSchema as vs, normalizeEventRegistrationPageSurfaceSubject as vt, buildShopInteractiveIslandProps as w, readOpeningToneProjection as wa, isInlineTextEmpty as wi, shouldReserveFeatureCardIconZone as wn, anglePolygonCss as wo, richTextFragment as wr, toScheduledBookingDateTime as ws, buildOfferingsPreviewListing as wt, buildCheckoutInteractiveIslandProps as x, parseListLook as xa, MinusIcon as xi, groupPublicEventsByRun as xn, softBoundaryOption as xo, BACKGROUND_POSITION_PRESET_VALUES as xr, formatDateTimeRange as xs, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as xt, shopBlockDefinition as y, resolveLookSurfacePresentation as ya, FileSpreadsheetIcon as yi, getEventAvailabilityStatus as yn, isDecorativeTransitionIntent as yo, formatEventPriceDisplay as yr, formatDate$2 as ys, resolveEventRegistrationScopedEvents as yt, buildEventCollectionDisplay as z, readStoredMode as za, eventScopeQueryKeys as zi, layoutTransforms as zn, builtInBlockKindsSchema as zo, heroCopyFragment as zr, resolveExactOrFreePriceDisplay as zs, buildEventListWeek as zt };