@riverbankcms/sdk 0.166.0 → 0.167.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 (195) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +5 -0
  3. package/dist/_dts/{BlocksIslandsHydrator-CPvN6RBW.d.ts → BlocksIslandsHydrator-Dgb-ptph.d.ts} +1 -1
  4. package/dist/_dts/{Page-rW0xgQCA.d.ts → Page-Bs3WxFgr.d.ts} +8 -8
  5. package/dist/_dts/{SdkPreviewMode-BWZh2WCk.d.ts → SdkPreviewMode-DtUCsaHY.d.ts} +2 -2
  6. package/dist/_dts/{client-D4BXQEZc.d.ts → client-CwsI23pj.d.ts} +9 -1
  7. package/dist/_dts/{content-types-MUzta0l9.d.ts → content-types-CAeP_-cV.d.ts} +2 -2
  8. package/dist/_dts/{contracts-Cl9Xh1DO.d.ts → contracts-BXHCiF-b.d.ts} +8 -5
  9. package/dist/_dts/{footerPageOutline-4BgLKehl.d.ts → footerPageOutline-Bb2gbppW.d.ts} +6 -6
  10. package/dist/_dts/{generatePageMetadata-BsmJ0qKh.d.ts → generatePageMetadata-DaBBDx7M.d.ts} +2 -2
  11. package/dist/_dts/{index-ahxQCUc7.d.ts → index-5_jf52sZ.d.ts} +2 -2
  12. package/dist/_dts/{index-Bmboeb49.d.ts → index-C20yUyob.d.ts} +1 -1
  13. package/dist/_dts/{index-DdcwPqQN.d.ts → index-CS6b1B-c.d.ts} +4 -4
  14. package/dist/_dts/{index-wbBZ0awa.d.ts → index-ChpjHK0U.d.ts} +498 -74
  15. package/dist/_dts/{index-kQ5xkM6X.d.ts → index-D7EbliE3.d.ts} +1 -1
  16. package/dist/_dts/{index--qflsCiy.d.ts → index-DeHDwMfu.d.ts} +3 -3
  17. package/dist/_dts/{index-mMMvLLAJ.d.ts → index-RugyUnqR.d.ts} +207 -11
  18. package/dist/_dts/{index-BgJ2aU5c.d.ts → index-bDln38Hm.d.ts} +2 -2
  19. package/dist/_dts/{loadContent-BG5IAV-V.d.ts → loadContent-CTqcL7CS.d.ts} +7 -7
  20. package/dist/_dts/{resolveBlockData-Cmcle_zV.d.ts → resolveBlockData-C3s9WMPs.d.ts} +5 -5
  21. package/dist/_dts/{resolvePageContent-BRJUTFoH.d.ts → resolvePageContent-JPwgRxwh.d.ts} +2 -2
  22. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  24. package/dist/_dts/sdk/src/client.d.ts +7 -7
  25. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  26. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  29. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  30. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  31. package/dist/_dts/sdk/src/index.d.ts +8 -8
  32. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/metadata/index.d.ts +6 -1
  34. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  35. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  36. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  37. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  38. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  39. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  40. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  42. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  44. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  46. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +8 -5
  47. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  48. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  49. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  50. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  51. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  52. package/dist/_dts/sdk/src/server.d.ts +5 -5
  53. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  54. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  55. package/dist/_dts/{types-DuiHLiPo.d.ts → types-BlaCuPLr.d.ts} +2 -2
  56. package/dist/_dts/{types-BX3Y-EW3.d.ts → types-CwtTcaQP.d.ts} +3 -3
  57. package/dist/_dts/{types-DF54stxv.d.ts → types-D-WElMCy.d.ts} +7 -7
  58. package/dist/_dts/{validation-Bxi0f81D.d.ts → validation-Y5wD9fGK.d.ts} +4 -4
  59. package/dist/client/{BlocksIslandsHydrator-DwiRGtgh.mjs → BlocksIslandsHydrator-DFqkx158.mjs} +17 -17
  60. package/dist/client/{BookingMailingListNote-DOWOZYlK.mjs → BookingMailingListNote-CCVXX1LN.mjs} +1 -1
  61. package/dist/client/{CalendarNavigationChevron-5a0x0vcC.mjs → CalendarNavigationChevron-DQwJ7BPx.mjs} +165 -16
  62. package/dist/client/{DemoBookingPortalAccess-B2qLkPRB.mjs → DemoBookingPortalAccess-DdkY86qI.mjs} +3 -3
  63. package/dist/client/{EventCalendar.client-BhADnDCg.mjs → EventCalendar.client-DAeQPV76.mjs} +10 -29
  64. package/dist/client/{EventCombined.client-jik34zTb.mjs → EventCombined.client-Bus9R0bj.mjs} +136 -60
  65. package/dist/client/{EventItem-CMKrtkT7.mjs → EventItem-DPBLjGwj.mjs} +53 -6
  66. package/dist/client/{EventListWeekNavigation-AGHjxy6C.mjs → EventListWeekNavigation-D6cwU82_.mjs} +1 -1
  67. package/dist/client/{EventListing.client-DZeDM0Qt.mjs → EventListing.client-Bogi_SnJ.mjs} +3 -3
  68. package/dist/client/{EventListing.view-3BBRdNVa.mjs → EventListing.view-CEumpN7i.mjs} +13 -40
  69. package/dist/client/{EventRegistrationPayment-CpNcpga4.mjs → EventRegistrationPayment-CIQw6vNy.mjs} +13 -8
  70. package/dist/client/{LocationMapActions-D5-H9ooQ.mjs → LocationMapActions-BVO-qx4q.mjs} +1 -1
  71. package/dist/client/{MapDrawingSvg-C30geMl-.mjs → MapDrawingSvg-CcGaFawl.mjs} +22 -2
  72. package/dist/client/{Page-DNDZLRlB.mjs → Page-D4_H_u9V.mjs} +22658 -21604
  73. package/dist/client/{StepIndicator-Bin7YR0A.mjs → StepIndicator-Dptantmg.mjs} +1 -1
  74. package/dist/client/{TabBarFragment-_IAthZVM.mjs → TabBarFragment-BxEGsKUx.mjs} +18 -18
  75. package/dist/client/{accordion-uVqNowRX.mjs → accordion--EUHmEGa.mjs} +1 -1
  76. package/dist/client/{booking-form.client-w-PvyWBv.mjs → booking-form.client-BCXwOnhc.mjs} +9 -9
  77. package/dist/client/{bookingForm-DNMojb6A.mjs → bookingForm-sHHcdism.mjs} +4 -4
  78. package/dist/client/bookings.mjs +5 -5
  79. package/dist/client/{carousel-C8kxI3Dm.mjs → carousel-Cp9xPBFZ.mjs} +1 -1
  80. package/dist/client/{cart-DCxjE3Is.mjs → cart-CCZZC-Lq.mjs} +3 -3
  81. package/dist/client/{cart.client-Ceeng8fB.mjs → cart.client-B7JfA19I.mjs} +1 -1
  82. package/dist/client/{checkout-B0EKbeVv.mjs → checkout-CipmYL4A.mjs} +3 -3
  83. package/dist/client/{checkout.client-DtPj3fYk.mjs → checkout.client-DraalWdH.mjs} +1 -1
  84. package/dist/client/client.mjs +89 -6
  85. package/dist/client/{context-n6IZigd3.mjs → context-Cv3QHjAF.mjs} +4 -1
  86. package/dist/client/{cta-CDeAwYoN.mjs → cta-P2vJVTEn.mjs} +1 -1
  87. package/dist/client/{dateFormatting-BWPzdeZE.mjs → dateFormatting-D8D47VT4.mjs} +1 -1
  88. package/dist/client/{demoPortalMagicLink-BdXu0fj-.mjs → demoPortalMagicLink-CXWZoV-d.mjs} +1 -1
  89. package/dist/client/{enhanceHeaderSection-VHfv8M6-.mjs → enhanceHeaderSection-BkAro1DJ.mjs} +3 -3
  90. package/dist/client/{event-details.client-Cfr1_Cj4.mjs → event-details.client-dLmyuPap.mjs} +1 -1
  91. package/dist/client/{event-registration.client-BhygihpQ.mjs → event-registration.client-BEhC2_-Y.mjs} +11 -14
  92. package/dist/client/{eventCalendar-B4XCL9u6.mjs → eventCalendar-FBMS2Cpb.mjs} +4 -4
  93. package/dist/client/{eventCombined-DVjz4wdf.mjs → eventCombined-BrBhUvGe.mjs} +4 -4
  94. package/dist/client/{eventDetails-B0DA1Nw1.mjs → eventDetails-C7WUrbZ2.mjs} +2 -2
  95. package/dist/client/{eventListing-2-xjn2nz.mjs → eventListing-Bih-BgQM.mjs} +4 -4
  96. package/dist/client/{eventRegistration-ng4iGo9O.mjs → eventRegistration-DfTlqGbl.mjs} +4 -4
  97. package/dist/client/{form-BeNQiZ2V.mjs → form-Bw1uuiUs.mjs} +3 -3
  98. package/dist/client/{form.client-BFdCKlp7.mjs → form.client-pZ-9gN33.mjs} +3 -3
  99. package/dist/client/{form.parts-C7gLK3jh.mjs → form.parts-PXlu6XQO.mjs} +1 -1
  100. package/dist/client/{formatDate-CWfelfMt.mjs → formatDate-DI3DP48e.mjs} +1 -1
  101. package/dist/client/gifting/client.mjs +2 -2
  102. package/dist/client/{headerSection-CalNAShx.mjs → headerSection-BpJYUMd6.mjs} +2 -2
  103. package/dist/client/{newsletter-form.client-Dq7GHGXU.mjs → newsletter-form.client-CSoP0cGR.mjs} +4 -4
  104. package/dist/client/{newsletter-form.parts-BSMDYQiS.mjs → newsletter-form.parts-DDbX_Sj0.mjs} +1 -1
  105. package/dist/client/{newsletterForm-snzZ4L6i.mjs → newsletterForm-vCxYRar_.mjs} +3 -3
  106. package/dist/client/{noop-D-RG9eR3.mjs → noop-ByVtIWf4.mjs} +28 -4
  107. package/dist/client/portal/client.mjs +8 -8
  108. package/dist/client/{product-detail.client-Gu0INDb7.mjs → product-detail.client-7Pi6avM-.mjs} +1 -1
  109. package/dist/client/{product-list.client-BmH40fNf.mjs → product-list.client-DEad-Pma.mjs} +1 -1
  110. package/dist/client/{productDetail-DsPUmJ0z.mjs → productDetail-G1SMXG13.mjs} +3 -3
  111. package/dist/client/{productList-DjGrjOwD.mjs → productList-B21TGdpT.mjs} +3 -3
  112. package/dist/client/{propsDecoder-kTVPMnfD.mjs → propsDecoder-B3vIBkex.mjs} +3 -4
  113. package/dist/client/{registry.server-CKK_RXZo.mjs → registry.server-B8aQhJpO.mjs} +205 -178
  114. package/dist/client/rendering/client.mjs +25 -25
  115. package/dist/client/rendering/islands.mjs +1 -1
  116. package/dist/client/rendering.mjs +5 -5
  117. package/dist/client/{richText-coerce-BcjTX-7h.mjs → richText-coerce-DHkBtO0G.mjs} +1 -1
  118. package/dist/client/{routeIslandApiConfig-CaXesATK.mjs → routeIslandApiConfig-DbHX4JOS.mjs} +1 -1
  119. package/dist/client/{shop-commerce-BxYYXLNK.mjs → shop-commerce-B2UmrQg_.mjs} +9 -9
  120. package/dist/client/{shop-commerce-store-Dp3Nl5YK.mjs → shop-commerce-store-B7n-Z7nY.mjs} +1 -1
  121. package/dist/client/{shop-DLufMauE.mjs → shop-mqyoOvOK.mjs} +3 -3
  122. package/dist/client/{shop.client-CBy9_alG.mjs → shop.client-BH-BBnA9.mjs} +10 -10
  123. package/dist/client/{shop.interactive-BM0NRsFQ.mjs → shop.interactive-mdM3UMWG.mjs} +30 -6
  124. package/dist/client/{shopShared-lS23OQE-.mjs → shopShared-CXF5wxdg.mjs} +2 -2
  125. package/dist/client/site-styles-CMCUxsIM.mjs +3 -0
  126. package/dist/client/{site-styles-DELkUk9s.mjs → site-styles-D56hT2u1.mjs} +1637 -406
  127. package/dist/client/{timetableModel-DzRWikCU.mjs → timetableModel-CrC80EOG.mjs} +11 -156
  128. package/dist/client/{useAvailableSlots-C3LphWDX.mjs → useAvailableSlots-C4LOaI_Z.mjs} +2 -2
  129. package/dist/client/{useBookingNowIso-Da-f9iHw.mjs → useBookingNowIso-BDmWkYUW.mjs} +1 -1
  130. package/dist/client/{useDiscountApply-SLoWhcen.mjs → useDiscountApply-6Q0nToVA.mjs} +1 -1
  131. package/dist/client/{useDiscountCodeUi-D6a2BJij.mjs → useDiscountCodeUi-CM-DTX5X.mjs} +1 -1
  132. package/dist/client/{useEventPagination-Ccr4TZlm.mjs → useEventPagination-Bcs89BR5.mjs} +5 -5
  133. package/dist/client/{view-DAVEoe8A.mjs → view-BN-fxyfq.mjs} +16 -11
  134. package/dist/client/{view-8w4GA8rf.mjs → view-Dh2tGoS0.mjs} +3 -3
  135. package/dist/client/{wizardSteps-DNpajrAH.mjs → wizardSteps-DtkhwKXK.mjs} +17 -10
  136. package/dist/preview-next/client/{ArrangementLookControls-DY5TzhEa.mjs → ArrangementLookControls-D4VjPs-r.mjs} +3 -3
  137. package/dist/preview-next/client/{PreviewEditorSidebar-DdnhmdFO.mjs → PreviewEditorSidebar-Ckr2zk_L.mjs} +309 -111
  138. package/dist/preview-next/client/{PreviewEditorUI-C7ZmYE33.mjs → PreviewEditorUI-KOZgw_gS.mjs} +5 -5
  139. package/dist/preview-next/client/{PreviewShell-DnO38NaL.mjs → PreviewShell-CyO2V4kB.mjs} +58 -8
  140. package/dist/preview-next/client/{SdkPreviewModeRuntime-D2OtoRMB.mjs → SdkPreviewModeRuntime-DW3uKvNF.mjs} +7 -7
  141. package/dist/preview-next/client/{SiteChromeCustomizeButton-eIu2RejJ.mjs → SiteChromeCustomizeButton-CU9VD-7O.mjs} +17439 -16381
  142. package/dist/preview-next/client/{previewAssistantSlot-Bp1AlAxx.mjs → previewAssistantSlot-DBi-WybM.mjs} +2014 -381
  143. package/dist/preview-next/client/{previewChromeSurface-D2cREDJ5.mjs → previewChromeSurface-BhkUJst9.mjs} +1 -1
  144. package/dist/preview-next/client/runtime.mjs +3 -3
  145. package/dist/preview-next/client/{sdk-runtime-DK0PUhLL.mjs → sdk-runtime-BjCb6lOn.mjs} +2 -2
  146. package/dist/preview-next/client/{useAutosaveStatus--Pw8vnef.mjs → useAutosaveStatus-CKxTaC3j.mjs} +1 -1
  147. package/dist/preview-next/client/{useBlockCustomizeControls-C1Rl73N4.mjs → useBlockCustomizeControls-B7MLTjBX.mjs} +1 -92
  148. package/dist/preview-next/client/{useOpenBlockForSetup-CL3842FM.mjs → useOpenBlockForSetup-BTUc0g9X.mjs} +1 -1
  149. package/dist/preview-next/keepAlive.mjs +1 -1
  150. package/dist/preview-next/middleware.mjs +1 -1
  151. package/dist/preview-next/{route-contract-Bq7SUX3K.mjs → route-contract-Bv3nkdpV.mjs} +83 -0
  152. package/dist/server/{Block.shared-wXr7Iwhs.mjs → Block.shared-4fMqzltx.mjs} +4 -4
  153. package/dist/server/{ThemeScopeCore-BI2mld9R.mjs → ThemeScopeCore-C72VC_lR.mjs} +756 -64
  154. package/dist/server/{accessibleSurfaces-CuN8U_iU.mjs → accessibleSurfaces-B_Y_dA20.mjs} +300 -97
  155. package/dist/server/{bindings-DjdUq9FR.mjs → bindings-ConMYJ2U.mjs} +1 -1
  156. package/dist/server/{client-07UeMDzA.mjs → client-Cot-H5fQ.mjs} +88 -5
  157. package/dist/server/config-validation.mjs +1 -1
  158. package/dist/server/config.mjs +1 -1
  159. package/dist/server/data/resolveBlockData.mjs +1 -1
  160. package/dist/server/index.mjs +2 -2
  161. package/dist/server/{loadContent-ClpaSlBb.mjs → loadContent-BkaWYEwt.mjs} +4 -4
  162. package/dist/server/{loadPage-BwtVqpaA.mjs → loadPage-kviUdH8c.mjs} +2 -2
  163. package/dist/server/metadata.mjs +5 -1
  164. package/dist/server/next/revalidate.mjs +9 -4
  165. package/dist/server/next.mjs +6 -6
  166. package/dist/server/{opaqueSurface-3YSDPtDe.mjs → opaqueSurface-BTnS09GS.mjs} +2 -2
  167. package/dist/server/{overrideResolution-Du_w3LY4.mjs → overrideResolution-itXZCXs7.mjs} +1 -1
  168. package/dist/server/page-converter.mjs +1 -1
  169. package/dist/server/{pageRenderPlan-BShULdc2.mjs → pageRenderPlan-CDyn7iLy.mjs} +132 -25
  170. package/dist/server/{pageRuntimeSupport-C4Dh5-mB.mjs → pageRuntimeSupport-DZ6cLxrM.mjs} +2 -2
  171. package/dist/server/{pageShared-HdKFBpaX.mjs → pageShared-Q_Vij87H.mjs} +11752 -11549
  172. package/dist/server/{parseThemeForPersistence-CJMrEkze.mjs → parseThemeForPersistence-CDrF51tJ.mjs} +2 -2
  173. package/dist/server/{prebuild-Cl-bkaMA.mjs → prebuild-DOG4MkOy.mjs} +1 -1
  174. package/dist/server/prebuild.mjs +1 -1
  175. package/dist/server/{prefetchBlockData-C4yUmz-r.mjs → prefetchBlockData-DlprLLsc.mjs} +3 -33
  176. package/dist/server/{registry-TFPJdGQi.mjs → registry-BPFcpn6k.mjs} +1326 -181
  177. package/dist/server/rendering/components/pageShared.mjs +1 -1
  178. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  179. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  180. package/dist/server/rendering/server.mjs +3 -3
  181. package/dist/server/rendering.mjs +7 -7
  182. package/dist/server/{resolveBlockData-OHlOXlOE.mjs → resolveBlockData-BHvfGD4y.mjs} +1 -1
  183. package/dist/server/{resolveButtonColourStates-lry2ORwX.mjs → resolveButtonColourStates-OXFRGn5M.mjs} +15 -5
  184. package/dist/server/responseMedia-D8J3VAFs.mjs +115 -0
  185. package/dist/server/{schema-C2PqHrMo.mjs → schema-DEizlyi4.mjs} +4 -3
  186. package/dist/server/server.mjs +3 -3
  187. package/dist/server/theme-bridge.mjs +2 -2
  188. package/dist/server/theme.mjs +2 -2
  189. package/dist/server/{validation-DIBFZeMB.mjs → validation-bl6WcAi_.mjs} +6 -6
  190. package/dist/server/{version-DZWZM1H6.mjs → version-BLXZ31S-.mjs} +1 -1
  191. package/dist/styles/index.css +696 -25
  192. package/package.json +1 -1
  193. package/dist/client/events-BmqPeeQm.mjs +0 -20
  194. package/dist/client/site-styles-D8jEPGxA.mjs +0 -3
  195. package/dist/server/publicProducts-W9hDRwjz.mjs +0 -64
@@ -3530,10 +3530,11 @@ const typographySchema = z.object({
3530
3530
  const arrangementModes = [
3531
3531
  "list",
3532
3532
  "calendar",
3533
- "week"
3533
+ "week",
3534
+ "combined"
3534
3535
  ];
3535
3536
  function isArrangementMode(value) {
3536
- return value === "list" || value === "calendar" || value === "week";
3537
+ return value === "list" || value === "calendar" || value === "week" || value === "combined";
3537
3538
  }
3538
3539
  /**
3539
3540
  * Defines a literal-preserving catalog while rejecting top-level extra keys on
@@ -5866,6 +5867,102 @@ function familyOf(seed) {
5866
5867
  return family;
5867
5868
  }
5868
5869
  //#endregion
5870
+ //#region ../theme-core/src/surfaces/inkCertificate.ts
5871
+ const contrastThresholdByPolicy = {
5872
+ "body-aa": 4.5,
5873
+ "large-text-aa": 3,
5874
+ decorative: 1
5875
+ };
5876
+ /** Headings are large text; every other foreground role is ordinary text. */
5877
+ const surfaceTextPolicy = Object.freeze({
5878
+ heading: "large-text-aa",
5879
+ text: "body-aa",
5880
+ link: "body-aa",
5881
+ linkHover: "body-aa",
5882
+ supporting: "body-aa",
5883
+ muted: "body-aa"
5884
+ });
5885
+ /**
5886
+ * Text shown only while a pointer hovers needs 3:1: the reader has already
5887
+ * found it at rest, where it holds 4.5:1. States that stay on screen (open,
5888
+ * the current-page link) keep the text threshold.
5889
+ */
5890
+ const HOVER_TEXT_THRESHOLD = contrastThresholdByPolicy["large-text-aa"];
5891
+ const FALLBACK_INKS = ["#000000", "#FFFFFF"];
5892
+ const isFallbackInk = (ink) => FALLBACK_INKS.includes(ink);
5893
+ function inkReference(ink) {
5894
+ return isFallbackInk(ink) ? `raw:${ink}` : ink;
5895
+ }
5896
+ /** A token, `rgba()` or literal, composited over each backdrop, clears the threshold on all of them. */
5897
+ function inkClearsBackdrops(ink, threshold, backdrops, measurement) {
5898
+ return backdrops.every((backdrop) => {
5899
+ const hex = resolveOpaqueSurfaceHex(ink, measurement.palette, backdrop);
5900
+ return hex !== null && contrastRatio(hex, backdrop, measurement.colourIndex) >= threshold;
5901
+ });
5902
+ }
5903
+ /** The black/white ink that clears every backdrop at ordinary-text contrast, preferring the best one for the painted end. */
5904
+ function fallbackInk(backdrops, measurement) {
5905
+ const [endpoint] = backdrops.slice(-1);
5906
+ return [...endpoint ? [pickBlackOrWhiteTextColor(endpoint)] : [], ...FALLBACK_INKS].find((candidate) => inkClearsBackdrops(candidate, contrastThresholdByPolicy["body-aa"], backdrops, measurement)) ?? null;
5907
+ }
5908
+ function failingInks(inks, backdrops, measurement) {
5909
+ return {
5910
+ roles: Object.keys(inks.foreground).filter((role) => !inkClearsBackdrops(inks.foreground[role], contrastThresholdByPolicy[surfaceTextPolicy[role]], backdrops, measurement)),
5911
+ mark: inks.mark !== void 0 && !inkClearsBackdrops(inks.mark, 3, backdrops, measurement) ? ["mark"] : []
5912
+ };
5913
+ }
5914
+ function replaceFailing(inks, failing, ink) {
5915
+ return {
5916
+ foreground: {
5917
+ ...inks.foreground,
5918
+ ...Object.fromEntries(failing.roles.map((role) => [role, ink]))
5919
+ },
5920
+ ...inks.mark === void 0 ? {} : { mark: failing.mark.length > 0 ? ink : inks.mark },
5921
+ fallback: [...failing.roles, ...failing.mark]
5922
+ };
5923
+ }
5924
+ /**
5925
+ * Hold every role to its text policy and the mark to 3:1 on every backdrop.
5926
+ * Null only when neither black nor white clears every backdrop, which only a
5927
+ * radial tint's samples can do: `certifySolidSurfaceInks` is the total form for
5928
+ * one solid backdrop.
5929
+ */
5930
+ function certifySurfaceInks(inks, backdrops, measurement) {
5931
+ const failing = failingInks(inks, backdrops, measurement);
5932
+ if (failing.roles.length === 0 && failing.mark.length === 0) return {
5933
+ ...inks,
5934
+ fallback: []
5935
+ };
5936
+ const ink = fallbackInk(backdrops, measurement);
5937
+ return ink ? replaceFailing(inks, failing, ink) : null;
5938
+ }
5939
+ /** One solid backdrop: black or white always reaches 4.58:1 on it, so certification always succeeds. */
5940
+ function certifySolidSurfaceInks(inks, backdrop, measurement) {
5941
+ const failing = failingInks(inks, [backdrop], measurement);
5942
+ if (failing.roles.length === 0 && failing.mark.length === 0) return {
5943
+ ...inks,
5944
+ fallback: []
5945
+ };
5946
+ return replaceFailing(inks, failing, pickBlackOrWhiteTextColor(backdrop));
5947
+ }
5948
+ /** Kept when the ink clears the threshold, otherwise the black/white ink, which always clears a solid backdrop. */
5949
+ function certifyPaint(place, ink, threshold, backdrop, measurement) {
5950
+ return inkClearsBackdrops(ink, threshold, [backdrop], measurement) ? {
5951
+ place,
5952
+ ink,
5953
+ backdrop,
5954
+ threshold,
5955
+ fallback: false
5956
+ } : {
5957
+ place,
5958
+ ink: pickBlackOrWhiteTextColor(backdrop),
5959
+ backdrop,
5960
+ threshold,
5961
+ fallback: true,
5962
+ declared: ink
5963
+ };
5964
+ }
5965
+ //#endregion
5869
5966
  //#region ../theme-core/src/surfaces/resolveSurfaceForeground.ts
5870
5967
  const FALLBACK_TEXT_TOKENS = [
5871
5968
  "text",
@@ -5930,7 +6027,7 @@ function resolveMeasuredForeground(backgroundReference, backgroundHex, candidate
5930
6027
  derivedOnToken,
5931
6028
  ...FALLBACK_TEXT_TOKENS
5932
6029
  ], backgroundHex, palette, derivedOnToken ? [derivedOnToken] : []) ?? pickBlackOrWhiteTextColor(backgroundHex);
5933
- return knownForeground({
6030
+ return certifiedForeground(knownForeground({
5934
6031
  text,
5935
6032
  heading: safeTokenOr(candidates.heading, text, backgroundHex, palette),
5936
6033
  link: safeTokenOr(candidates.link, text, backgroundHex, palette),
@@ -5939,7 +6036,28 @@ function resolveMeasuredForeground(backgroundReference, backgroundHex, candidate
5939
6036
  kind: "measured",
5940
6037
  backdropHex: backgroundHex,
5941
6038
  inks: solveSurfaceInks(backgroundHex, text, palette)
5942
- }, candidates.linkHover, palette);
6039
+ }, candidates.linkHover, palette), palette);
6040
+ }
6041
+ /**
6042
+ * Every measured foreground goes through the ink certificate, whoever paints it
6043
+ * (sections, cards, header, footer, accordions). The candidates above are chosen
6044
+ * to pass, so the certificate is normally a no-op and the foreground is returned
6045
+ * as it was; an ink that misses takes black/white, and the solved inks follow
6046
+ * the certified text.
6047
+ */
6048
+ function certifiedForeground(foreground, palette) {
6049
+ const { backdropHex } = foreground.provenance;
6050
+ const certified = certifySolidSurfaceInks({ foreground: foreground.roles }, backdropHex, { palette });
6051
+ if (certified.fallback.length === 0) return foreground;
6052
+ return {
6053
+ ...foreground,
6054
+ roles: certified.foreground,
6055
+ provenance: {
6056
+ ...foreground.provenance,
6057
+ inks: solveSurfaceInks(backdropHex, certified.foreground.text, palette),
6058
+ fallback: certified.fallback
6059
+ }
6060
+ };
5943
6061
  }
5944
6062
  function resolveTrustedTreatmentForeground(candidates, palette) {
5945
6063
  const text = canonicalToken(candidates.text, palette);
@@ -6916,8 +7034,12 @@ function buttonFillSeparation(fill, ground) {
6916
7034
  const buttonSurfaceGrounds = (surface) => [surface.backgroundHex, ...surface.backgroundSamples ?? []];
6917
7035
  /** A filled state clears each ground by its fill OR a declared edge at 3:1. */
6918
7036
  function buttonSurfaceSeparation(fill, surface, edge) {
7037
+ return buttonGroundSeparation(fill, buttonSurfaceGrounds(surface), edge);
7038
+ }
7039
+ /** The worst ground for a fill: the first it fails to stand out from, otherwise the closest. */
7040
+ function buttonGroundSeparation(fill, grounds, edge) {
6919
7041
  const ink = edge?.border?.marksBoundary ? edge.border.boundaryInk ? edge.palette[edge.border.boundaryInk] : edge.labelInk : void 0;
6920
- return buttonSurfaceGrounds(surface).map((ground) => {
7042
+ return grounds.map((ground) => {
6921
7043
  const separation = buttonFillSeparation(fill, ground);
6922
7044
  const distinct = separation.distinct || ink !== void 0 && contrastRatio(ink, ground) >= BUTTON_CONTRAST_POLICY.nonTextMinimumRatio;
6923
7045
  return {
@@ -7141,6 +7263,12 @@ function mapVisualStates(value) {
7141
7263
  disabled: value("disabled")
7142
7264
  };
7143
7265
  }
7266
+ /** The border a state draws: its declared appearance's, otherwise the variant's. */
7267
+ function buttonStateBorder(variant, state) {
7268
+ const appearance = variant.visualStates?.[state];
7269
+ if (!appearance) return variant.border;
7270
+ return appearance.border === "none" ? void 0 : appearance.border;
7271
+ }
7144
7272
  function compileButtonColourStates(input) {
7145
7273
  if (input.variant.visualStates) return compileDeclaredVisualStates(input, input.variant.visualStates);
7146
7274
  const base = applyColourEffects({
@@ -7171,7 +7299,7 @@ function compileDeclaredVisualStates(input, states) {
7171
7299
  variant: {
7172
7300
  ...input.variant,
7173
7301
  contextualHover: states.hover.contextualHover,
7174
- border: states.hover.border === "none" ? void 0 : states.hover.border,
7302
+ border: buttonStateBorder(input.variant, "hover"),
7175
7303
  hoverBackgroundToken: void 0
7176
7304
  },
7177
7305
  global: {
@@ -7209,7 +7337,7 @@ function compileDeclaredVisualState(input, states, state, treatment) {
7209
7337
  variantId: input.variant.id,
7210
7338
  state,
7211
7339
  treatment: transition.treatment,
7212
- border: appearance.border === "none" ? void 0 : appearance.border,
7340
+ border: buttonStateBorder(input.variant, state),
7213
7341
  palette: input.palette,
7214
7342
  surface: input.surface,
7215
7343
  colourIndex: input.colourIndex
@@ -7239,7 +7367,7 @@ function compileVisualState(input, state, treatment, baseEffects) {
7239
7367
  palette: input.palette,
7240
7368
  surface: input.surface,
7241
7369
  colourIndex: input.colourIndex,
7242
- border: input.variant.border
7370
+ border: buttonStateBorder(input.variant, state)
7243
7371
  });
7244
7372
  return resolved.ok ? {
7245
7373
  ...resolved,
@@ -7608,15 +7736,15 @@ function preferredButtonResolution(requested, compiled, role) {
7608
7736
  focusIndicator: compiled.focusIndicator,
7609
7737
  boundary: boundaryForVariant(requested)
7610
7738
  };
7611
- return compiled.contextualHoverRepair ? {
7739
+ return compiled.contextualHoverRepair ? withBorderEvidence({
7612
7740
  ...appearance,
7613
7741
  kind: "repaired",
7614
7742
  candidate: "contextual-hover",
7615
7743
  rejectedCandidates: []
7616
- } : {
7744
+ }, requested) : withBorderEvidence({
7617
7745
  ...appearance,
7618
7746
  kind: "preferred"
7619
- };
7747
+ }, requested);
7620
7748
  }
7621
7749
  /** Ordered, lazy fallback selection; the rejected evidence belongs to this decision. */
7622
7750
  function resolveFallbackButtonRole(input, requested, fallbacks, rejected) {
@@ -7629,7 +7757,7 @@ function resolveFallbackButtonRole(input, requested, fallbacks, rejected) {
7629
7757
  const candidate = candidateVariant(fallback, requested, input.buttonSystem);
7630
7758
  if (!candidate) return resolveFallbackButtonRole(input, requested, remaining, rejected);
7631
7759
  const compiled = compileCandidate(candidate.variant, input);
7632
- return compiled.ok ? {
7760
+ return compiled.ok ? withBorderEvidence({
7633
7761
  kind: "repaired",
7634
7762
  requestedRole: input.role,
7635
7763
  candidate: candidate.name,
@@ -7637,7 +7765,7 @@ function resolveFallbackButtonRole(input, requested, fallbacks, rejected) {
7637
7765
  focusIndicator: compiled.focusIndicator,
7638
7766
  boundary: candidate.boundary,
7639
7767
  rejectedCandidates: rejected
7640
- } : resolveFallbackButtonRole(input, requested, remaining, [...rejected, {
7768
+ }, candidate.variant) : resolveFallbackButtonRole(input, requested, remaining, [...rejected, {
7641
7769
  candidate: candidate.name,
7642
7770
  error: compiled.error
7643
7771
  }]);
@@ -7744,6 +7872,14 @@ function candidateVariant(fallback, requested, system) {
7744
7872
  }
7745
7873
  };
7746
7874
  }
7875
+ /** Each state's border travels with the decision, copied so freezing it never touches the caller's variant. */
7876
+ function withBorderEvidence(value, variant) {
7877
+ const borders = freezeOwnedThemeValue(ownedThemeSnapshot(Object.fromEntries(BUTTON_VISUAL_STATES.map((state) => [state, buttonStateBorder(variant, state)]))));
7878
+ return {
7879
+ ...value,
7880
+ borders
7881
+ };
7882
+ }
7747
7883
  function boundaryForVariant(variant) {
7748
7884
  if (!variant.border) return null;
7749
7885
  return {
@@ -7928,11 +8064,6 @@ const SURFACE_TRANSPORT_KEY = "$surfaceTransport";
7928
8064
  //#endregion
7929
8065
  //#region ../theme-core/src/site-styles/accessibleSurfaces.ts
7930
8066
  const ON_BACKGROUND = { kind: "on-background" };
7931
- const contrastThresholdByPolicy = {
7932
- "body-aa": 4.5,
7933
- "large-text-aa": 3,
7934
- decorative: 1
7935
- };
7936
8067
  const surfaceRecipes = {
7937
8068
  base: {
7938
8069
  backgroundCandidates: ["background", "surface"],
@@ -8333,14 +8464,6 @@ const surfaceTransports = /* @__PURE__ */ new WeakMap();
8333
8464
  const ownedRevisionInputs = /* @__PURE__ */ new WeakMap();
8334
8465
  const revisionOwners = /* @__PURE__ */ new WeakMap();
8335
8466
  const surfaceRevisionOwners = /* @__PURE__ */ new WeakMap();
8336
- const surfaceTextPolicy = Object.freeze({
8337
- heading: "large-text-aa",
8338
- text: "body-aa",
8339
- link: "body-aa",
8340
- linkHover: "body-aa",
8341
- supporting: "body-aa",
8342
- muted: "body-aa"
8343
- });
8344
8467
  function ownSurfaceRevision(context) {
8345
8468
  if (!ownedRevisionInputs.get(context.palette)?.has(context.buttonSystem)) {
8346
8469
  const revision = ownedThemeSnapshot({
@@ -8472,7 +8595,7 @@ function resolveSurfaceSpec(spec, context) {
8472
8595
  token: spec.token
8473
8596
  }, {
8474
8597
  ...context,
8475
- buttonContext: spec.buttonContext ?? context.buttonContext,
8598
+ buttonContext: surfaceButtonRequest(spec, context),
8476
8599
  ...spec.foreground ? { foreground: {
8477
8600
  ...context.foreground,
8478
8601
  ...spec.foreground
@@ -8511,68 +8634,63 @@ function recipeForegroundCandidates(recipe, context) {
8511
8634
  };
8512
8635
  }
8513
8636
  /** Declared grounds are parsed once; legacy stored paints use the unmeasured value arm. */
8514
- function resolveDeclaredSolidSurface(paint, context, tintBase) {
8515
- return resolveOwnedSurface(paint, context, hexColorSchema.parse(resolveOpaqueSurfaceHex(paint.token, context.palette, context.compositeBase)), tintBase);
8637
+ function resolveDeclaredSolidSurface(paint, context) {
8638
+ return resolveOwnedSurface(paint, context, hexColorSchema.parse(resolveOpaqueSurfaceHex(paint.token, context.palette, context.compositeBase)));
8516
8639
  }
8517
- function resolveOwnedSurface(paint, context, measuredBackdrop, tintBase) {
8518
- const text = paint.foregroundToken ?? "text";
8519
- const background = paint.kind === "solid" ? {
8520
- type: "color",
8521
- color: paint.token,
8522
- textColor: text
8523
- } : {
8524
- type: "gradient",
8525
- textColor: text
8526
- };
8527
- const candidates = {
8528
- linkHover: context.linkHoverToken,
8529
- ...context.foreground
8640
+ function resolveOwnedSurface(paint, context, measuredBackdrop) {
8641
+ const resolved = resolveOwnedForeground(paint, context, measuredBackdrop);
8642
+ const decision = {
8643
+ kind: "owned",
8644
+ foreground: ownedForegroundRoles(resolved, paint.foregroundToken ?? "text", context.foreground),
8645
+ inks: ownedInkPublication(resolved, context),
8646
+ decorations: surfaceDecorationColors(resolved, context.palette),
8647
+ hoverDecoration: resolved.kind === "known" ? resolved.hoverDecoration : "underline"
8530
8648
  };
8531
- const resolved = measuredBackdrop && background.type === "color" ? resolveSurfaceForeground(background, context.palette, candidates, { measuredBackdrop }) : resolveSurfaceForeground(background, context.palette, candidates, { compositeBase: context.compositeBase });
8532
- const decision = ownedSurfaceAppearance({
8533
- paint,
8534
- resolved,
8535
- context,
8536
- tintBase
8537
- });
8538
- if (paint.kind === "gradient") return {
8649
+ const primaryButton = surfaceButtonRequest({
8650
+ kind: "paint",
8651
+ paint
8652
+ }, context)?.primary;
8653
+ if (paint.kind === "solid" && resolved.kind === "known" && resolved.provenance.kind === "measured") return {
8539
8654
  ...decision,
8540
8655
  paint,
8541
- contrast: { kind: "unmeasured" }
8656
+ foreground: resolved.roles,
8657
+ ...primaryButton ? { primaryButton } : {},
8658
+ contrast: surfaceContrast(resolved.roles, resolved.provenance.backdropHex, context.palette, context.colourIndex)
8542
8659
  };
8543
- if (resolved.kind !== "known" || resolved.provenance.kind !== "measured") return {
8660
+ const buttonContext = surfaceButtons(paint, resolved.kind === "known" ? resolved.roles.link : void 0, primaryButton, context);
8661
+ return paint.kind === "gradient" ? {
8662
+ ...decision,
8663
+ paint,
8664
+ contrast: { kind: "unmeasured" },
8665
+ buttonContext
8666
+ } : {
8544
8667
  ...decision,
8545
8668
  paint,
8546
8669
  contrast: {
8547
8670
  kind: "unmeasured",
8548
8671
  reason: "legacy-unresolvable-solid",
8549
8672
  source: "paint"
8550
- }
8551
- };
8552
- return {
8553
- ...decision,
8554
- paint,
8555
- foreground: resolved.roles,
8556
- contrast: surfaceContrast(resolved.roles, resolved.provenance.backdropHex, context.palette, context.colourIndex)
8673
+ },
8674
+ buttonContext
8557
8675
  };
8558
8676
  }
8559
- /** Foregrounds, tint proof and the single button context are decided together. */
8560
- function ownedSurfaceAppearance(input) {
8561
- const { paint, resolved, context, tintBase } = input;
8562
- const foreground = ownedForegroundRoles(resolved, paint.foregroundToken ?? "text", context.foreground);
8563
- const samples = tintBase && paint.kind === "solid" ? checkedTintSamples({
8564
- paint,
8565
- foreground
8566
- }, tintBase, context.palette) : void 0;
8567
- return {
8568
- kind: "owned",
8569
- foreground,
8570
- inks: tintBase ? { kind: "reset" } : ownedInkPublication(resolved, context),
8571
- ...tintBase ? { tintBase } : {},
8572
- decorations: surfaceDecorationColors(resolved, context.palette),
8573
- hoverDecoration: resolved.kind === "known" ? resolved.hoverDecoration : "underline",
8574
- buttonContext: resolveSurfaceButtons(paint, resolved.kind === "known" ? resolved.roles : void 0, context, samples)
8677
+ /** A solid paint is measured against its own backdrop when it's known, otherwise over the composite base. */
8678
+ function resolveOwnedForeground(paint, context, measuredBackdrop) {
8679
+ const textColor = paint.foregroundToken ?? "text";
8680
+ const candidates = {
8681
+ linkHover: context.linkHoverToken,
8682
+ ...context.foreground
8575
8683
  };
8684
+ if (paint.kind === "gradient") return resolveSurfaceForeground({
8685
+ type: "gradient",
8686
+ textColor
8687
+ }, context.palette, candidates, { compositeBase: context.compositeBase });
8688
+ const background = {
8689
+ type: "color",
8690
+ color: paint.token,
8691
+ textColor
8692
+ };
8693
+ return measuredBackdrop ? resolveSurfaceForeground(background, context.palette, candidates, { measuredBackdrop }) : resolveSurfaceForeground(background, context.palette, candidates, { compositeBase: context.compositeBase });
8576
8694
  }
8577
8695
  /** A paint the element owns but that resolves as inherited (an empty token) still blocks outer inks. */
8578
8696
  function ownedInkPublication(resolved, context) {
@@ -8592,23 +8710,37 @@ function ownedForegroundRoles(resolved, text, candidates) {
8592
8710
  muted: fallback
8593
8711
  });
8594
8712
  }
8595
- function resolveSurfaceButtons(paint, foreground, context, backgroundSamples) {
8713
+ function surfaceButtons(paint, link, primaryToken, context, backgroundSamples) {
8596
8714
  return resolveSurfaceButtonContext({
8597
8715
  surface: paint.kind === "solid" ? {
8598
8716
  kind: "solid",
8599
8717
  color: paint.token,
8600
8718
  composited: false,
8601
- foreground: foreground?.link,
8719
+ foreground: link,
8602
8720
  ...backgroundSamples ? { backgroundSamples } : {}
8603
8721
  } : { kind: "gradient" },
8604
8722
  palette: context.palette,
8605
8723
  colourIndex: context.colourIndex,
8606
8724
  buttonSystem: context.buttonSystem,
8607
8725
  fallbackToken: context.compositeBase,
8608
- primaryToken: context.buttonContext?.primary ?? (paint.kind === "solid" ? context.buttonSystem?.surfaceContexts?.[paint.token]?.primary : void 0),
8726
+ primaryToken,
8609
8727
  withoutButtonSystem: "reset"
8610
8728
  });
8611
8729
  }
8730
+ /** Buttons on a certified paint use the link ink the certificate kept, which may be the black/white fallback. */
8731
+ function withCertifiedButtons(decision, context) {
8732
+ const { primaryButton, ...certified } = decision;
8733
+ return {
8734
+ ...certified,
8735
+ buttonContext: surfaceButtons(decision.paint, decision.foreground.link, primaryButton, context, tintGroundSamples(decision, context))
8736
+ };
8737
+ }
8738
+ /** A radial tint's grounds besides its painted end, so its buttons are judged on every sample. */
8739
+ function tintGroundSamples(decision, context) {
8740
+ if (decision.tintBase === void 0) return void 0;
8741
+ const [first, ...rest] = surfaceBackdrops(decision, context).slice(0, -1);
8742
+ return first === void 0 ? void 0 : [first, ...rest];
8743
+ }
8612
8744
  function surfaceContrast(roles, backdrop, palette, colourIndex) {
8613
8745
  const ratio = (token) => contrastRatio(resolveOpaqueSurfaceHex(token, palette, backdrop) ?? backdrop, backdrop, colourIndex);
8614
8746
  return {
@@ -8679,36 +8811,49 @@ function resolveTintSurface(spec, context) {
8679
8811
  kind: "token",
8680
8812
  token: spec.base
8681
8813
  }, context);
8682
- const source = spec.source === "text" ? base.foreground.text : base.decorations?.mark;
8814
+ const source = tintSource(spec.source, base, context.palette);
8683
8815
  const token = source ? resolveOpaqueSurfaceHex(`${source}/${spec.opacity}`, context.palette, spec.base) : null;
8684
8816
  const hex = source ? resolveConcreteColorHex(source, context.palette) : null;
8685
8817
  const tinted = token ?? (hex ? resolveOpaqueSurfaceHex(hexToRgba(hex, spec.opacity / 100), context.palette, spec.base) : null);
8686
8818
  if (!tinted) throw new Error(`Cannot derive tint on ${spec.base}`);
8687
- return resolveDeclaredSolidSurface({
8819
+ const solid = resolveDeclaredSolidSurface({
8688
8820
  kind: "solid",
8689
8821
  token: tinted
8690
8822
  }, {
8691
8823
  ...context,
8824
+ buttonContext: surfaceButtonRequest(spec, context),
8692
8825
  foreground: base.foreground
8693
- }, spec.gradient === "radial" ? spec.base : void 0);
8694
- }
8695
- /** A sampled gradient may never borrow a proof for just its painted endpoint. */
8696
- function checkedTintSamples(surface, base, palette) {
8697
- const paint = resolveOpaqueSurfaceHex(surface.paint.token, palette, base);
8698
- const underlay = resolveOpaqueSurfaceHex(base, palette, "background");
8699
- if (!paint || !underlay) throw new Error("Tint needs a measurable underlay");
8700
- const samples = [underlay, ...[
8701
- .25,
8702
- .5,
8703
- .75
8704
- ].map((alpha) => compositeHex(paint, alpha, underlay))];
8705
- Object.entries(surface.foreground).forEach(([role, token]) => {
8706
- if (![paint, ...samples].every((sample) => {
8707
- const ink = resolveOpaqueSurfaceHex(token, palette, sample);
8708
- return ink !== null && contrastRatio(ink, sample) >= (role === "heading" ? 3 : 4.5);
8709
- })) throw new RangeError(`No checked tint gradient for ${role} on ${base}`);
8710
- });
8711
- return samples;
8826
+ });
8827
+ return spec.gradient === "radial" ? {
8828
+ ...solid,
8829
+ inks: { kind: "reset" },
8830
+ tintBase: spec.base
8831
+ } : solid;
8832
+ }
8833
+ /**
8834
+ * The button colour a surface asks for, which it also hands to what is painted on it. An explicit request
8835
+ * wins; otherwise a paint asks for its own button context, and a shade for the context of the paint it shades.
8836
+ * The request is checked anew on every surface that receives it.
8837
+ */
8838
+ function surfaceButtonRequest(spec, context) {
8839
+ const forToken = (token) => context.buttonContext ?? context.buttonSystem?.surfaceContexts?.[token];
8840
+ switch (spec.kind) {
8841
+ case "token": return spec.buttonContext ?? forToken(spec.token);
8842
+ case "tint": return spec.source === "shade" ? forToken(spec.base) : context.buttonContext;
8843
+ case "paint": return spec.paint.kind === "solid" ? forToken(spec.paint.token) : context.buttonContext;
8844
+ case "recipe": return context.buttonContext;
8845
+ }
8846
+ }
8847
+ /** Shade direction belongs to the palette, while the tint's base is the actual paint. */
8848
+ function tintSource(source, base, palette) {
8849
+ switch (source) {
8850
+ case "text": return base.foreground.text;
8851
+ case "mark": return base.decorations?.mark;
8852
+ case "shade": {
8853
+ const background = resolveOpaqueSurfaceHex("background", palette, "background");
8854
+ return background && featuresFromHex(background).Y < .5 ? "#ffffff" : "#000000";
8855
+ }
8856
+ }
8712
8857
  }
8713
8858
  function hexToRgba(hex, alpha) {
8714
8859
  const { r, g, b } = hexToRgb(hex);
@@ -8758,7 +8903,11 @@ const surfaceSpecSchema = z.discriminatedUnion("kind", [
8758
8903
  z.object({
8759
8904
  kind: z.literal("tint"),
8760
8905
  base: z.string(),
8761
- source: z.enum(["text", "mark"]),
8906
+ source: z.enum([
8907
+ "text",
8908
+ "mark",
8909
+ "shade"
8910
+ ]),
8762
8911
  opacity: z.number().finite(),
8763
8912
  gradient: z.literal("radial").optional()
8764
8913
  })
@@ -8810,7 +8959,7 @@ function certifySurface(spec, context) {
8810
8959
  })
8811
8960
  })
8812
8961
  };
8813
- const decision = resolveSurfaceSpec(inputs.spec, inputs.context);
8962
+ const decision = certifyThresholds(resolveSurfaceSpec(inputs.spec, inputs.context), inputs.context);
8814
8963
  const result = Object.assign(surfaceProof(decision, spec), {
8815
8964
  [resolvedSurfaceBrand]: true,
8816
8965
  revision,
@@ -8829,6 +8978,71 @@ function certifySurface(spec, context) {
8829
8978
  function isSolidSurfaceDecision(decision) {
8830
8979
  return decision.kind === "owned" && decision.contrast.kind === "measured";
8831
8980
  }
8981
+ function isSolidInkDecision(decision) {
8982
+ return decision.kind === "owned" && decision.contrast.kind === "measured";
8983
+ }
8984
+ const TINT_SAMPLE_ALPHAS = [
8985
+ 0,
8986
+ .25,
8987
+ .5,
8988
+ .75,
8989
+ 1
8990
+ ];
8991
+ /**
8992
+ * The certificate asserts every threshold it measures, on every backdrop the
8993
+ * paint shows (each sample of a radial tint). It never throws, because owner
8994
+ * palettes are arbitrary: an ink that misses takes the black/white ink, and a
8995
+ * radial tint that no ink can clear paints flat. Buttons are derived from the
8996
+ * certified inks, so they never keep a link ink the certificate replaced, and
8997
+ * the button resolver judges them on every sample of a radial tint.
8998
+ */
8999
+ function certifyThresholds(decision, context) {
9000
+ if (!isSolidInkDecision(decision)) return decision;
9001
+ const inks = withFallbackInks(decision, context);
9002
+ if (inks) return withCertifiedButtons(inks, context);
9003
+ const { tintBase: _flattened, ...flatTint } = decision;
9004
+ const flat = withFallbackInks(flatTint, context) ?? flatTint;
9005
+ return withCertifiedButtons({
9006
+ ...flat,
9007
+ contrast: {
9008
+ ...flat.contrast,
9009
+ fallback: ["radial-tint", ...flat.contrast.fallback ?? []]
9010
+ }
9011
+ }, context);
9012
+ }
9013
+ /** Every backdrop a solid paint shows: its colour, or each sample from a radial tint's base to its paint. */
9014
+ function surfaceBackdrops(decision, context) {
9015
+ const paint = resolveOpaqueSurfaceHex(decision.paint.token, context.palette, decision.tintBase ?? context.compositeBase);
9016
+ if (!paint) return [];
9017
+ const underlay = decision.tintBase ? resolveOpaqueSurfaceHex(decision.tintBase, context.palette, "background") : null;
9018
+ return underlay ? TINT_SAMPLE_ALPHAS.map((alpha) => compositeHex(paint, alpha, underlay)) : [paint];
9019
+ }
9020
+ /** Null only when no black/white ink clears every backdrop of a radial tint. */
9021
+ function withFallbackInks(decision, context) {
9022
+ const backdrops = surfaceBackdrops(decision, context);
9023
+ const [endpoint] = backdrops.slice(-1);
9024
+ if (!endpoint) return decision;
9025
+ const certified = certifySurfaceInks({
9026
+ foreground: decision.foreground,
9027
+ mark: decision.decorations?.mark
9028
+ }, backdrops, context);
9029
+ if (!certified) return null;
9030
+ if (certified.fallback.length === 0) return decision;
9031
+ const decorations = decision.decorations && certified.mark !== void 0 ? {
9032
+ ...decision.decorations,
9033
+ mark: certified.mark
9034
+ } : decision.decorations;
9035
+ const contrast = surfaceContrast(certified.foreground, endpoint, context.palette, context.colourIndex);
9036
+ return {
9037
+ ...decision,
9038
+ foreground: certified.foreground,
9039
+ decorations,
9040
+ contrast: {
9041
+ ...contrast,
9042
+ fallback: certified.fallback
9043
+ }
9044
+ };
9045
+ }
8832
9046
  function surfaceProof(decision, spec) {
8833
9047
  if (decision.kind === "inherit") return {
8834
9048
  ...decision,
@@ -8838,7 +9052,7 @@ function surfaceProof(decision, spec) {
8838
9052
  ...decision,
8839
9053
  proof: "unproven-media"
8840
9054
  };
8841
- const proof = spec.kind === "tint" ? spec.gradient === "radial" ? "checked-gradient-or-scrim" : "checked-composited" : /\/|rgba\(/.test(decision.paint.token) ? "checked-composited" : "checked-solid";
9055
+ const proof = decision.tintBase !== void 0 ? "checked-gradient-or-scrim" : spec.kind === "tint" || /\/|rgba\(/.test(decision.paint.token) ? "checked-composited" : "checked-solid";
8842
9056
  return {
8843
9057
  ...decision,
8844
9058
  proof
@@ -11661,11 +11875,13 @@ const backgroundOnHoverAlphaEffect = {
11661
11875
  const { themeId, variantId, stateGroup, options } = ctx;
11662
11876
  const rawOpacity = options.opacity;
11663
11877
  const clampedOpacity = Math.max(0, Math.min(100, typeof rawOpacity === "number" && !Number.isNaN(rawOpacity) ? rawOpacity : 50));
11664
- const cssVar = `var(--tb-${options.colorToken || "neutral-800"})`;
11878
+ const colorToken = options.colorToken || "neutral-800";
11879
+ const parts = parseColorTokenParts(colorToken);
11880
+ const background = parts.kind === "raw" ? `color-mix(in srgb, ${parts.value} ${clampedOpacity}%, transparent)` : `rgb(var(--tb-${colorToken}) / ${clampedOpacity}%)`;
11665
11881
  return `
11666
11882
  /* Add semi-transparent background (${stateGroup}) */
11667
11883
  :where([data-theme-scope="${themeId}"]) .${variantId}${stateGroup === "base" ? "" : `:${stateGroup}`} {
11668
- background-color: rgb(${cssVar} / ${clampedOpacity}%);
11884
+ background-color: ${background};
11669
11885
  }
11670
11886
  `;
11671
11887
  }
@@ -12419,12 +12635,13 @@ const EFFECT_PRESETS = [
12419
12635
  ]
12420
12636
  },
12421
12637
  generateCSS: (ctx) => {
12422
- const { themeId, variantId, options, tokens } = ctx;
12638
+ const { themeId, variantId, stateGroup, options, tokens } = ctx;
12423
12639
  const hoverColorToken = options.hoverColorToken ?? options.colorToken ?? "neutral-50";
12640
+ const hoverColor = tokens.getColor(hoverColorToken);
12424
12641
  return `
12425
- /* Change text color on hover */
12426
- :where([data-theme-scope="${themeId}"]) .${variantId}:hover {
12427
- color: ${tokens.getColor(hoverColorToken)};
12642
+ /* Change text color on ${stateGroup} */
12643
+ :where([data-theme-scope="${themeId}"]) .${variantId}${stateGroup === "base" ? "" : `:${stateGroup}`} {
12644
+ color: ${hoverColor};
12428
12645
  }
12429
12646
  `;
12430
12647
  }
@@ -27435,7 +27652,7 @@ function SelectTrigger({ className, size = "default", children, ...props }) {
27435
27652
  return /* @__PURE__ */ jsxs(SelectTrigger$1, {
27436
27653
  "data-slot": "select-trigger",
27437
27654
  "data-size": size,
27438
- className: cn(fieldTriggerClassName, "data-[placeholder]:text-muted-foreground w-fit data-[size=default]:h-[var(--field-height)] data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2", className),
27655
+ className: cn(fieldTriggerClassName, "data-[placeholder]:text-muted-foreground w-fit max-w-full data-[size=default]:h-[var(--field-height)] data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:min-w-0 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2", className),
27439
27656
  ...props,
27440
27657
  children: [children, /* @__PURE__ */ jsx(SelectIcon, {
27441
27658
  asChild: true,
@@ -31190,6 +31407,15 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
31190
31407
  auth: "admin",
31191
31408
  responseKind: "json"
31192
31409
  },
31410
+ /** Give a self-serve subscription free time: its trial ends on the chosen date. */
31411
+ adminGrantTrial: {
31412
+ path: "/admin/billing/trial-grant",
31413
+ method: "POST",
31414
+ tags: ["admin", "billing"],
31415
+ auth: "admin",
31416
+ responseKind: "json",
31417
+ errors: []
31418
+ },
31193
31419
  changePlan: {
31194
31420
  path: "/billing/plan/change",
31195
31421
  method: "POST",
@@ -31576,6 +31802,54 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
31576
31802
  * person when nothing is attached to them.
31577
31803
  */
31578
31804
  const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
31805
+ previewPersonRemoval: {
31806
+ path: "/sites/{siteId}/bookings/people/{personId}/removal-preview",
31807
+ method: "GET",
31808
+ auth: "user",
31809
+ responseKind: "json",
31810
+ tags: ["site-{siteId}", "customers-{siteId}"],
31811
+ errors: [
31812
+ "auth:forbidden",
31813
+ "resource:not_found",
31814
+ "server:internal_error"
31815
+ ]
31816
+ },
31817
+ removePerson: {
31818
+ path: "/sites/{siteId}/bookings/people/{personId}/removal",
31819
+ method: "POST",
31820
+ auth: "user",
31821
+ responseKind: "json",
31822
+ tags: ["site-{siteId}", "customers-{siteId}"],
31823
+ errors: [
31824
+ "auth:forbidden",
31825
+ "resource:not_found",
31826
+ "server:internal_error"
31827
+ ]
31828
+ },
31829
+ getPersonRemovalStatus: {
31830
+ path: "/sites/{siteId}/bookings/people/{personId}/removal",
31831
+ method: "GET",
31832
+ auth: "user",
31833
+ responseKind: "json",
31834
+ tags: ["site-{siteId}", "customers-{siteId}"],
31835
+ errors: [
31836
+ "auth:forbidden",
31837
+ "resource:not_found",
31838
+ "server:internal_error"
31839
+ ]
31840
+ },
31841
+ exportPersonData: {
31842
+ path: "/sites/{siteId}/bookings/people/{personId}/export.json",
31843
+ method: "GET",
31844
+ auth: "user",
31845
+ responseKind: "blob",
31846
+ tags: ["site-{siteId}", "customers-{siteId}"],
31847
+ errors: [
31848
+ "auth:forbidden",
31849
+ "resource:not_found",
31850
+ "server:internal_error"
31851
+ ]
31852
+ },
31579
31853
  getBookingPerson: {
31580
31854
  path: "/sites/{siteId}/bookings/people/{personId}",
31581
31855
  method: "GET",
@@ -32974,6 +33248,20 @@ const API_ENDPOINTS = {
32974
33248
  errors: ["resource:not_found", "server:internal_error"],
32975
33249
  responseKind: "json"
32976
33250
  },
33251
+ updateFooterCredit: {
33252
+ path: "/sites/{siteId}/settings/footer-credit",
33253
+ method: "POST",
33254
+ tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
33255
+ auth: "user",
33256
+ demoMutation: DEMO_MUTATION_ALLOWED,
33257
+ errors: [
33258
+ "auth:forbidden",
33259
+ "validation:invalid_input",
33260
+ "resource:not_found",
33261
+ "server:internal_error"
33262
+ ],
33263
+ responseKind: "json"
33264
+ },
32977
33265
  updateFooterComposition: {
32978
33266
  editLease: "unleased-editor",
32979
33267
  path: "/sites/{siteId}/settings/footer-composition",
@@ -33331,6 +33619,18 @@ const API_ENDPOINTS = {
33331
33619
  auth: "user",
33332
33620
  responseKind: "json"
33333
33621
  },
33622
+ accountAnswerHeardFrom: {
33623
+ path: "/account/heard-from",
33624
+ method: "POST",
33625
+ tags: ["account"],
33626
+ auth: "user",
33627
+ errors: [
33628
+ "auth:unauthenticated",
33629
+ "validation:invalid_input",
33630
+ "server:internal_error"
33631
+ ],
33632
+ responseKind: "json"
33633
+ },
33334
33634
  accountRevokeSessions: {
33335
33635
  path: "/account/sessions/revoke",
33336
33636
  method: "POST",
@@ -38118,6 +38418,7 @@ const lookKnobBlocks = {
38118
38418
  aspectRatio: "block.media-text",
38119
38419
  stickerLine: "block.hero",
38120
38420
  smallCaption: "block.hero",
38421
+ photoTint: "block.hero",
38121
38422
  candleGlow: "block.hero",
38122
38423
  columnGuides: "block.hero",
38123
38424
  showPhotos: cardListKnobBlocks,
@@ -38512,6 +38813,12 @@ const heroKnobs = [
38512
38813
  "stickerLine"
38513
38814
  ];
38514
38815
  const id$1 = asAppearancePresetId;
38816
+ 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 })])]) });
38817
+ const calendarRuledRowsPanel = defineArrangementLook("event-calendar-ruled-rows-panel", "event-calendar", "Ruled rows on a panel", "ledger", ["showCapacity"], {
38818
+ 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 })])]),
38819
+ slotRoles: { layout: "card" },
38820
+ styleFallback: [id$1("event-calendar-ruled-rows")]
38821
+ });
38515
38822
  //#endregion
38516
38823
  //#region ../theme-core/src/site-styles/appearancePresetCatalog.ts
38517
38824
  const appearancePresets = [
@@ -39442,6 +39749,11 @@ const appearancePresets = [
39442
39749
  slotRoles: { sticker: "highlight" },
39443
39750
  styleFallback: [id$1("hero-photo-beside-text")]
39444
39751
  }),
39752
+ defineArrangementLook("hero-photo-then-text", "hero", "Photo, then text below", "split", ["titleSize"], {
39753
+ photoUse: "beside",
39754
+ thumbnail: sketch.page([sketch.photo("medium"), sketch.row([sketch.title(.95, "large"), sketch.title(.6, "large")], [sketch.text(2), sketch.button])]),
39755
+ styleFallback: [id$1("hero-photo-beside-text")]
39756
+ }),
39445
39757
  defineArrangementLook("hero-copy-over-gallery", "hero", "Title over a row of photos", "copy-over-gallery", ["titleSize", "stickerLine"], {
39446
39758
  photoUse: "beside",
39447
39759
  thumbnail: sketch.page([
@@ -39454,6 +39766,7 @@ const appearancePresets = [
39454
39766
  }),
39455
39767
  defineArrangementLook("hero-photo-behind-text", "hero", "Photo behind the text", "classic", ["titleSize", "smallCaption"], {
39456
39768
  photoUse: "behind",
39769
+ photoTreatment: "photo-only",
39457
39770
  thumbnail: sketch.page([sketch.over("full", [
39458
39771
  sketch.title(.7, "large"),
39459
39772
  sketch.text(2, .7),
@@ -39478,6 +39791,7 @@ const appearancePresets = [
39478
39791
  }),
39479
39792
  defineArrangementLook("hero-short-photo-banner", "hero", "Short photo banner", "classic", [], {
39480
39793
  photoUse: "behind",
39794
+ photoTreatment: "photo-only",
39481
39795
  thumbnail: sketch.page([sketch.over("banner", [sketch.title(.6)], { panel: true })]),
39482
39796
  slotRoles: { copy: "card" },
39483
39797
  styleFallback: [id$1("hero-page-head")]
@@ -39590,11 +39904,29 @@ const appearancePresets = [
39590
39904
  },
39591
39905
  styleFallback: [id$1("feature-cards-cards")]
39592
39906
  }),
39593
- 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 })])]) }),
39907
+ calendarRuledRows,
39908
+ calendarRuledRowsPanel,
39594
39909
  defineArrangementLook("event-calendar-grouped-by-day", "event-calendar", "Grouped by day", "day-groups", ["showCapacity"], {
39595
39910
  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 })])])]),
39596
39911
  styleFallback: [id$1("event-calendar-ruled-rows")]
39597
39912
  }),
39913
+ {
39914
+ ...calendarRuledRowsPanel,
39915
+ id: id$1("event-calendar-combined-panel"),
39916
+ structure: {
39917
+ ...calendarRuledRowsPanel.structure,
39918
+ byMode: { combined: "ledger" },
39919
+ styleFallback: [id$1("event-calendar-combined-rows")]
39920
+ }
39921
+ },
39922
+ {
39923
+ ...calendarRuledRows,
39924
+ id: id$1("event-calendar-combined-rows"),
39925
+ structure: {
39926
+ ...calendarRuledRows.structure,
39927
+ byMode: { combined: "ledger" }
39928
+ }
39929
+ },
39598
39930
  {
39599
39931
  ...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)])])])]) }),
39600
39932
  structure: {
@@ -39757,6 +40089,14 @@ const appearancePresets = [
39757
40089
  sketch.title(.8),
39758
40090
  sketch.text(3)
39759
40091
  ])]) }),
40092
+ defineArrangementLook("media-text-photo-to-edge", "media-text", "Photo to the edge", "default", ["imagePosition"], {
40093
+ thumbnail: sketch.page([sketch.row(sketch.weight(1, [
40094
+ sketch.rule,
40095
+ sketch.title(.8),
40096
+ sketch.text(3)
40097
+ ]), sketch.weight(1, [sketch.photo("tall")]))]),
40098
+ styleFallback: [id$1("media-text-photo-beside-text")]
40099
+ }),
39760
40100
  defineArrangementLook("newsletter-signup-one-row", "newsletter-signup", "Signup in one row", "inline", [], {
39761
40101
  thumbnail: sketch.band([
39762
40102
  sketch.title(.6),
@@ -39841,6 +40181,11 @@ const appearancePresets = [
39841
40181
  styleFallback: [id$1("body-text-reading-column")]
39842
40182
  }),
39843
40183
  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 })]) }),
40184
+ defineArrangementLook("faq-questions-in-panel", "faq", "Questions in a panel", "default", [], {
40185
+ thumbnail: sketch.page([sketch.panel([sketch.title(.4), sketch.down(4, [sketch.text(1, .7)], { ruled: true })])], { align: "center" }),
40186
+ slotRoles: { layout: "card" },
40187
+ styleFallback: [id$1("faq-questions-under-title")]
40188
+ }),
39844
40189
  defineArrangementLook("faq-title-beside-questions", "faq", "Title beside the questions", "two-column", [], {
39845
40190
  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 })]))]),
39846
40191
  styleFallback: [id$1("faq-questions-under-title")]
@@ -39882,6 +40227,15 @@ const appearancePresets = [
39882
40227
  }],
39883
40228
  styleFallback: [id$1("cta-centred")]
39884
40229
  }),
40230
+ defineArrangementLook("cta-text-in-panel", "cta-full", "Text in a panel", "default", [], {
40231
+ thumbnail: sketch.page([sketch.panel([
40232
+ sketch.title(.5),
40233
+ sketch.text(2),
40234
+ sketch.button
40235
+ ])]),
40236
+ slotRoles: { copy: "card" },
40237
+ styleFallback: [id$1("cta-centred")]
40238
+ }),
39885
40239
  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)])]) }),
39886
40240
  defineArrangementLook("location-map-beside-address", "location-map", "Map beside the address", "map-and-details", [], {
39887
40241
  thumbnail: sketch.page([sketch.middle(sketch.weight(2, [sketch.map]), sketch.weight(1, [sketch.title(.7, "small"), sketch.text(3)]))]),
@@ -40116,6 +40470,98 @@ function uniqueStrings(values) {
40116
40470
  return Array.from(new Set(values));
40117
40471
  }
40118
40472
  //#endregion
40473
+ //#region ../theme-core/src/site-styles/imageSurfaceBackground.ts
40474
+ function withImageSurfaceMotion(background, motion) {
40475
+ return motion === "static" ? background : {
40476
+ ...background,
40477
+ motion
40478
+ };
40479
+ }
40480
+ function compileImageSurfaceTreatmentBackground(background, treatment, foreground) {
40481
+ switch (treatment.kind) {
40482
+ case "none": return null;
40483
+ case "brand-scrim": return withColorOverlay(background, darkenedThemeToken(treatment.token), treatment, "primaryForeground", foreground);
40484
+ case "brand-wash": return withColorOverlay(background, lightenedBrandToken(treatment.token), treatment, "text", foreground);
40485
+ case "neutral-scrim": return withColorOverlay(background, darkenedThemeToken("text"), treatment, "primaryForeground", foreground);
40486
+ case "neutral-wash": return {
40487
+ ...background,
40488
+ overlay: {
40489
+ type: "gradient",
40490
+ gradient: "linear-gradient(180deg, rgba(255,255,255,0.38) 0%, rgba(244,241,234,0.62) 90%)",
40491
+ opacity: 1
40492
+ },
40493
+ ...uniformForeground("text"),
40494
+ ...foreground
40495
+ };
40496
+ case "solid-panel": return withColorOverlay(background, "surface", treatment, "text", foreground);
40497
+ default: return assertNever$6(treatment);
40498
+ }
40499
+ }
40500
+ function withColorOverlay(background, color, treatment, foregroundToken, foreground) {
40501
+ return {
40502
+ ...background,
40503
+ overlay: {
40504
+ type: "color",
40505
+ color,
40506
+ opacity: imageSurfaceTreatmentOpacity(treatment.kind, treatment.intensity)
40507
+ },
40508
+ ...uniformForeground(foregroundToken),
40509
+ ...foreground
40510
+ };
40511
+ }
40512
+ /** The brand tint older photo heroes use, shared with the Look photo treatment's brand arm. */
40513
+ function brandScrimOverlay(token) {
40514
+ return {
40515
+ type: "color",
40516
+ color: darkenedThemeToken(token),
40517
+ opacity: imageSurfaceTreatmentOpacity("brand-scrim", void 0)
40518
+ };
40519
+ }
40520
+ function uniformForeground(token) {
40521
+ return {
40522
+ textColor: token,
40523
+ headingColor: token,
40524
+ linkColor: token,
40525
+ supportingColor: token
40526
+ };
40527
+ }
40528
+ const opacityByKind = {
40529
+ "brand-scrim": {
40530
+ soft: .26,
40531
+ balanced: .35,
40532
+ strong: .52
40533
+ },
40534
+ "brand-wash": {
40535
+ soft: .24,
40536
+ balanced: .34,
40537
+ strong: .46
40538
+ },
40539
+ "neutral-scrim": {
40540
+ soft: .42,
40541
+ balanced: .58,
40542
+ strong: .72
40543
+ },
40544
+ "neutral-wash": {
40545
+ soft: 1,
40546
+ balanced: 1,
40547
+ strong: 1
40548
+ },
40549
+ "solid-panel": {
40550
+ soft: .78,
40551
+ balanced: .88,
40552
+ strong: .94
40553
+ }
40554
+ };
40555
+ function imageSurfaceTreatmentOpacity(kind, intensity) {
40556
+ return opacityByKind[kind][intensity ?? "balanced"];
40557
+ }
40558
+ function darkenedThemeToken(token) {
40559
+ return `color-mix(in oklab, rgb(var(--tb-${token})), black 28%)`;
40560
+ }
40561
+ function lightenedBrandToken(token) {
40562
+ return `color-mix(in oklab, rgb(var(--tb-${token})), white 42%)`;
40563
+ }
40564
+ //#endregion
40119
40565
  //#region ../theme-core/src/site-styles/runtimeBackgroundResolution.ts
40120
40566
  function parseCanonicalRuntimeBackground(content) {
40121
40567
  const background = readRecord$1(readRecord$1(content._sectionStyles)?.background);
@@ -40130,9 +40576,15 @@ function parseCanonicalRuntimeBackground(content) {
40130
40576
  background: parsed.data
40131
40577
  };
40132
40578
  }
40133
- /** The Look owns shading and ink together; authored image/crop stay intact. */
40134
- function applyLookPhotoTreatment(background, treatment) {
40135
- if (background.type !== "image" || treatment !== "text-overlay") return background;
40579
+ /** The Look owns photo shading; copy panels keep their independently solved ink. */
40580
+ function applyLookPhotoTreatment(background, treatment, palette, tint = "dark") {
40581
+ if (background.type !== "image" || !treatment) return background;
40582
+ if (tint === "brand") return brandPhotoTreatment(background, treatment, palette);
40583
+ if (treatment === "photo-only") return background;
40584
+ return darkPhotoTreatment(background, palette);
40585
+ }
40586
+ function darkPhotoTreatment(background, palette) {
40587
+ const ink = lightPhotoInk(palette);
40136
40588
  return {
40137
40589
  ...background,
40138
40590
  overlay: {
@@ -40140,10 +40592,40 @@ function applyLookPhotoTreatment(background, treatment) {
40140
40592
  opacity: 1,
40141
40593
  gradient: "var(--rb-opening-photo-shade, linear-gradient(transparent, transparent)), linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.76) 25%, rgba(0,0,0,0.4) 46%, transparent 72%)"
40142
40594
  },
40143
- textColor: "neutral-50",
40144
- headingColor: "neutral-50",
40145
- linkColor: "neutral-50",
40146
- supportingColor: "neutral-50"
40595
+ textColor: ink,
40596
+ headingColor: ink,
40597
+ linkColor: ink,
40598
+ supportingColor: ink
40599
+ };
40600
+ }
40601
+ /** Neutral scales follow the ground: their physical light end reverses on dark palettes. */
40602
+ function lightPhotoInk(palette) {
40603
+ return ["neutral-50", "neutral-950"].find((token) => surfaceToneFromForegroundToken(palette, token) === "dark") ?? "#fafafa";
40604
+ }
40605
+ /** A light brand's dark ink cannot sit on unknown pixels: give light ink a dark backing. */
40606
+ function brandPhotoTreatment(background, treatment, palette) {
40607
+ const brand = brandScrimOverlay("primary");
40608
+ if (treatment === "photo-only") return {
40609
+ ...background,
40610
+ overlay: brand
40611
+ };
40612
+ if (surfaceToneFromForegroundToken(palette, "primaryForeground") === "dark") return {
40613
+ ...background,
40614
+ overlay: brand,
40615
+ textColor: "primaryForeground",
40616
+ headingColor: "primaryForeground",
40617
+ linkColor: "primaryForeground",
40618
+ supportingColor: "primaryForeground"
40619
+ };
40620
+ const shade = darkPhotoTreatment(background, palette);
40621
+ const wash = `color-mix(in srgb, ${brand.color} ${brand.opacity * 100}%, transparent)`;
40622
+ return {
40623
+ ...shade,
40624
+ overlay: {
40625
+ type: "gradient",
40626
+ opacity: 1,
40627
+ gradient: `linear-gradient(${wash}, ${wash}), linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8))`
40628
+ }
40147
40629
  };
40148
40630
  }
40149
40631
  function resolveSectionBackground(source, lookDefault, rhythm, arrangementHeroPhoto) {
@@ -40269,6 +40751,35 @@ function deriveSectionGround(resolved, palette) {
40269
40751
  if (solid) return solid;
40270
40752
  return (scrimTone(sectionScrimSamples(background, palette)) ?? sectionForegroundTone(resolved, palette)) === "dark" ? "deep" : "light";
40271
40753
  }
40754
+ /** Content media sits beside the text, so its slots sit on the colour ground, as deriveSectionGround reads it. */
40755
+ function sectionSurfaceBase(resolved, palette) {
40756
+ if (resolved.kind === "base") return {
40757
+ kind: "measured",
40758
+ token: "background"
40759
+ };
40760
+ const background = resolved.kind === "content-media" ? resolved.ground : resolved.background;
40761
+ switch (background.type) {
40762
+ case "image":
40763
+ case "video": return {
40764
+ kind: "unmeasured",
40765
+ paint: "media"
40766
+ };
40767
+ case "gradient": return {
40768
+ kind: "unmeasured",
40769
+ paint: "gradient"
40770
+ };
40771
+ case "color": {
40772
+ const colour = background.color ?? "background";
40773
+ return resolveConcreteColorHex(colour, palette) ? {
40774
+ kind: "measured",
40775
+ token: colour
40776
+ } : {
40777
+ kind: "unmeasured",
40778
+ paint: "colour"
40779
+ };
40780
+ }
40781
+ }
40782
+ }
40272
40783
  function solidSectionGround(background) {
40273
40784
  if (background.type !== "color") return null;
40274
40785
  return solidTokenGround(background.color ?? "background");
@@ -41899,10 +42410,7 @@ const defaultFooterLookRecipes = {
41899
42410
  hoverColorToken: "primary",
41900
42411
  typography: "body"
41901
42412
  },
41902
- legal: {
41903
- kind: "separate",
41904
- bar: null
41905
- },
42413
+ legal: { bar: null },
41906
42414
  brandAlign: "center"
41907
42415
  },
41908
42416
  "footer-links-row": {
@@ -41917,7 +42425,7 @@ const defaultFooterLookRecipes = {
41917
42425
  hoverColorToken: "primary",
41918
42426
  typography: "body"
41919
42427
  },
41920
- legal: { kind: "integrated" },
42428
+ legal: { bar: null },
41921
42429
  brandAlign: "start"
41922
42430
  }
41923
42431
  };
@@ -42356,10 +42864,6 @@ function footerGroundBackground(ground, theme, style) {
42356
42864
  };
42357
42865
  }
42358
42866
  function footerLegalPaint(recipe, theme, style) {
42359
- if (recipe.legal.kind === "integrated") return {
42360
- bottomBar: void 0,
42361
- bottomTextLinkStyle: void 0
42362
- };
42363
42867
  const { bar, linkStyle } = recipe.legal;
42364
42868
  return {
42365
42869
  bottomBar: bar === null ? void 0 : {
@@ -42400,7 +42904,7 @@ function compileFooterRecipe(recipe, theme, style) {
42400
42904
  }
42401
42905
  /** Reject undeclared references when the curated catalogue is loaded, before rendering. */
42402
42906
  function validateFooterRecipeSurfaces(style, recipe) {
42403
- [recipe.ground, ...recipe.legal.kind === "separate" && recipe.legal.bar ? [recipe.legal.bar.background] : []].forEach((ground) => {
42907
+ [recipe.ground, ...recipe.legal.bar ? [recipe.legal.bar.background] : []].forEach((ground) => {
42404
42908
  if (ground.kind === "style-surface" && (style.looks.kind !== "offers" || !style.looks.surfaces[ground.surface])) throw new Error(`Undeclared footer surface: ${ground.surface}`);
42405
42909
  });
42406
42910
  }
@@ -45078,6 +45582,201 @@ const havenPlum = defineCuratedPalette({
45078
45582
  }
45079
45583
  ]
45080
45584
  });
45585
+ const brookTerracotta = defineCuratedPalette({
45586
+ authoringKey: "brook-terracotta",
45587
+ name: "Brook — Terracotta",
45588
+ description: "Warm cream and sand, terracotta for buttons and squiggles, and an olive band.",
45589
+ tags: {
45590
+ tone: "classic",
45591
+ energy: "calm",
45592
+ era: "organic"
45593
+ },
45594
+ mode: "light",
45595
+ colors: [
45596
+ {
45597
+ name: "primary",
45598
+ hex: "#a8573d"
45599
+ },
45600
+ {
45601
+ name: "secondary",
45602
+ hex: "#72765c"
45603
+ },
45604
+ {
45605
+ name: "accent",
45606
+ hex: "#b0624a"
45607
+ },
45608
+ {
45609
+ name: "success",
45610
+ hex: "#4e7a4f"
45611
+ },
45612
+ {
45613
+ name: "warning",
45614
+ hex: "#b7791f"
45615
+ },
45616
+ {
45617
+ name: "destructive",
45618
+ hex: "#b3402f"
45619
+ },
45620
+ {
45621
+ name: "background",
45622
+ hex: "#fbf6eb"
45623
+ },
45624
+ {
45625
+ name: "surface",
45626
+ hex: "#fffdf7"
45627
+ },
45628
+ {
45629
+ name: "surfaceAlt",
45630
+ hex: "#f0e4d3"
45631
+ },
45632
+ {
45633
+ name: "muted",
45634
+ hex: "#5f564b"
45635
+ },
45636
+ {
45637
+ name: "text",
45638
+ hex: "#30281f"
45639
+ },
45640
+ {
45641
+ name: "primaryForeground",
45642
+ hex: "#ffffff"
45643
+ },
45644
+ {
45645
+ name: "border",
45646
+ hex: "#dccdb8"
45647
+ }
45648
+ ]
45649
+ });
45650
+ const brookFell = defineCuratedPalette({
45651
+ authoringKey: "brook-fell",
45652
+ name: "Brook — Fell",
45653
+ description: "Stone white with slate buttons, a fell green band and heather squiggles.",
45654
+ tags: {
45655
+ tone: "classic",
45656
+ energy: "calm",
45657
+ era: "organic"
45658
+ },
45659
+ mode: "light",
45660
+ colors: [
45661
+ {
45662
+ name: "primary",
45663
+ hex: "#2c4a55"
45664
+ },
45665
+ {
45666
+ name: "secondary",
45667
+ hex: "#33463c"
45668
+ },
45669
+ {
45670
+ name: "accent",
45671
+ hex: "#94669a"
45672
+ },
45673
+ {
45674
+ name: "success",
45675
+ hex: "#3e7a55"
45676
+ },
45677
+ {
45678
+ name: "warning",
45679
+ hex: "#b7791f"
45680
+ },
45681
+ {
45682
+ name: "destructive",
45683
+ hex: "#b3402f"
45684
+ },
45685
+ {
45686
+ name: "background",
45687
+ hex: "#f2f1eb"
45688
+ },
45689
+ {
45690
+ name: "surface",
45691
+ hex: "#ffffff"
45692
+ },
45693
+ {
45694
+ name: "surfaceAlt",
45695
+ hex: "#e3e5dd"
45696
+ },
45697
+ {
45698
+ name: "muted",
45699
+ hex: "#545c57"
45700
+ },
45701
+ {
45702
+ name: "text",
45703
+ hex: "#1d2522"
45704
+ },
45705
+ {
45706
+ name: "primaryForeground",
45707
+ hex: "#ffffff"
45708
+ },
45709
+ {
45710
+ name: "border",
45711
+ hex: "#cbd0c6"
45712
+ }
45713
+ ]
45714
+ });
45715
+ const brookDusk = defineCuratedPalette({
45716
+ authoringKey: "brook-dusk",
45717
+ name: "Brook — Dusk",
45718
+ description: "Dark plum and dusk violet, with pale brass for buttons and squiggles.",
45719
+ tags: {
45720
+ tone: "classic",
45721
+ energy: "calm",
45722
+ era: "organic"
45723
+ },
45724
+ mode: "dark",
45725
+ colors: [
45726
+ {
45727
+ name: "primary",
45728
+ hex: "#d8c29e"
45729
+ },
45730
+ {
45731
+ name: "secondary",
45732
+ hex: "#3a2f4b"
45733
+ },
45734
+ {
45735
+ name: "accent",
45736
+ hex: "#c9a66a"
45737
+ },
45738
+ {
45739
+ name: "success",
45740
+ hex: "#8fc7a0"
45741
+ },
45742
+ {
45743
+ name: "warning",
45744
+ hex: "#e3b25c"
45745
+ },
45746
+ {
45747
+ name: "destructive",
45748
+ hex: "#e58a7a"
45749
+ },
45750
+ {
45751
+ name: "background",
45752
+ hex: "#1c1824"
45753
+ },
45754
+ {
45755
+ name: "surface",
45756
+ hex: "#2b2535"
45757
+ },
45758
+ {
45759
+ name: "surfaceAlt",
45760
+ hex: "#241f2e"
45761
+ },
45762
+ {
45763
+ name: "muted",
45764
+ hex: "#b6acc1"
45765
+ },
45766
+ {
45767
+ name: "text",
45768
+ hex: "#eee8f2"
45769
+ },
45770
+ {
45771
+ name: "primaryForeground",
45772
+ hex: "#1c1824"
45773
+ },
45774
+ {
45775
+ name: "border",
45776
+ hex: "#433a50"
45777
+ }
45778
+ ]
45779
+ });
45081
45780
  //#endregion
45082
45781
  //#region ../theme-core/src/palette/curated/index.ts
45083
45782
  function admitCuratedPaletteDefinition(definition) {
@@ -45144,6 +45843,18 @@ const styleSuggestedPalettes = [
45144
45843
  ...admitCuratedPaletteDefinition(havenPlum),
45145
45844
  ownerStyleId: "site-style:haven"
45146
45845
  },
45846
+ {
45847
+ ...admitCuratedPaletteDefinition(brookTerracotta),
45848
+ ownerStyleId: "site-style:brook"
45849
+ },
45850
+ {
45851
+ ...admitCuratedPaletteDefinition(brookFell),
45852
+ ownerStyleId: "site-style:brook"
45853
+ },
45854
+ {
45855
+ ...admitCuratedPaletteDefinition(brookDusk),
45856
+ ownerStyleId: "site-style:brook"
45857
+ },
45147
45858
  {
45148
45859
  ...admitCuratedPaletteDefinition(fulcrumDeepGreen),
45149
45860
  ownerStyleId: "site-style:fulcrum"
@@ -47787,6 +48498,79 @@ const havenTypography = {
47787
48498
  },
47788
48499
  scale: "spacious"
47789
48500
  };
48501
+ /** Brook: Cormorant Garamond at 400 for headings (an uploaded display face may only have 400); Inter to read. */
48502
+ const brookTypography = {
48503
+ body: {
48504
+ family: "Inter, system-ui, sans-serif",
48505
+ size: "md",
48506
+ weight: "regular",
48507
+ lineHeight: "relaxed",
48508
+ letterSpacing: "normal"
48509
+ },
48510
+ smallHeading: {
48511
+ family: "Inter, system-ui, sans-serif",
48512
+ weight: "semibold"
48513
+ },
48514
+ headings: {
48515
+ default: {
48516
+ family: "\"Cormorant Garamond\", Georgia, serif",
48517
+ weight: "regular",
48518
+ lineHeight: "normal",
48519
+ letterSpacing: "normal",
48520
+ italic: null,
48521
+ case: null
48522
+ },
48523
+ h1: {
48524
+ size: "2xl",
48525
+ weight: "regular",
48526
+ lineHeight: "tight",
48527
+ letterSpacing: "normal",
48528
+ italic: null
48529
+ },
48530
+ h2: {
48531
+ size: "xl",
48532
+ weight: "regular",
48533
+ lineHeight: "tight",
48534
+ letterSpacing: "normal",
48535
+ italic: null
48536
+ },
48537
+ h3: {
48538
+ size: "md",
48539
+ weight: "regular",
48540
+ lineHeight: "snug",
48541
+ letterSpacing: "normal",
48542
+ italic: null
48543
+ }
48544
+ },
48545
+ scale: "balanced"
48546
+ };
48547
+ const brookFontPairings = [
48548
+ {
48549
+ id: "brook-cormorant",
48550
+ heading: "\"Cormorant Garamond\", Georgia, serif",
48551
+ body: "Inter, system-ui, sans-serif"
48552
+ },
48553
+ {
48554
+ id: "brook-hanken",
48555
+ heading: "\"Hanken Grotesk\", system-ui, sans-serif",
48556
+ body: "\"Source Serif 4\", Georgia, serif",
48557
+ headingTreatment: {
48558
+ weight: "semibold",
48559
+ letterSpacing: "tight",
48560
+ lineHeight: "tight"
48561
+ }
48562
+ },
48563
+ {
48564
+ id: "brook-jost",
48565
+ heading: "Jost, system-ui, sans-serif",
48566
+ body: "Jost, system-ui, sans-serif",
48567
+ headingTreatment: {
48568
+ weight: "light",
48569
+ letterSpacing: "normal",
48570
+ lineHeight: "snug"
48571
+ }
48572
+ }
48573
+ ];
47790
48574
  const fulcrumFontPairings = [{
47791
48575
  id: "fulcrum-source",
47792
48576
  heading: "\"Source Serif 4\", Georgia, serif",
@@ -48367,90 +49151,6 @@ function scrimOpacityFor(scrimHex, foreground, palette) {
48367
49151
  };
48368
49152
  }
48369
49153
  //#endregion
48370
- //#region ../theme-core/src/site-styles/imageSurfaceBackground.ts
48371
- function withImageSurfaceMotion(background, motion) {
48372
- return motion === "static" ? background : {
48373
- ...background,
48374
- motion
48375
- };
48376
- }
48377
- function compileImageSurfaceTreatmentBackground(background, treatment, foreground) {
48378
- switch (treatment.kind) {
48379
- case "none": return null;
48380
- case "brand-scrim": return withColorOverlay(background, darkenedThemeToken(treatment.token), treatment, "primaryForeground", foreground);
48381
- case "brand-wash": return withColorOverlay(background, lightenedBrandToken(treatment.token), treatment, "text", foreground);
48382
- case "neutral-scrim": return withColorOverlay(background, darkenedThemeToken("text"), treatment, "primaryForeground", foreground);
48383
- case "neutral-wash": return {
48384
- ...background,
48385
- overlay: {
48386
- type: "gradient",
48387
- gradient: "linear-gradient(180deg, rgba(255,255,255,0.38) 0%, rgba(244,241,234,0.62) 90%)",
48388
- opacity: 1
48389
- },
48390
- ...uniformForeground("text"),
48391
- ...foreground
48392
- };
48393
- case "solid-panel": return withColorOverlay(background, "surface", treatment, "text", foreground);
48394
- default: return assertNever$6(treatment);
48395
- }
48396
- }
48397
- function withColorOverlay(background, color, treatment, foregroundToken, foreground) {
48398
- return {
48399
- ...background,
48400
- overlay: {
48401
- type: "color",
48402
- color,
48403
- opacity: imageSurfaceTreatmentOpacity(treatment.kind, treatment.intensity)
48404
- },
48405
- ...uniformForeground(foregroundToken),
48406
- ...foreground
48407
- };
48408
- }
48409
- function uniformForeground(token) {
48410
- return {
48411
- textColor: token,
48412
- headingColor: token,
48413
- linkColor: token,
48414
- supportingColor: token
48415
- };
48416
- }
48417
- const opacityByKind = {
48418
- "brand-scrim": {
48419
- soft: .26,
48420
- balanced: .35,
48421
- strong: .52
48422
- },
48423
- "brand-wash": {
48424
- soft: .24,
48425
- balanced: .34,
48426
- strong: .46
48427
- },
48428
- "neutral-scrim": {
48429
- soft: .42,
48430
- balanced: .58,
48431
- strong: .72
48432
- },
48433
- "neutral-wash": {
48434
- soft: 1,
48435
- balanced: 1,
48436
- strong: 1
48437
- },
48438
- "solid-panel": {
48439
- soft: .78,
48440
- balanced: .88,
48441
- strong: .94
48442
- }
48443
- };
48444
- function imageSurfaceTreatmentOpacity(kind, intensity) {
48445
- return opacityByKind[kind][intensity ?? "balanced"];
48446
- }
48447
- function darkenedThemeToken(token) {
48448
- return `color-mix(in oklab, rgb(var(--tb-${token})), black 28%)`;
48449
- }
48450
- function lightenedBrandToken(token) {
48451
- return `color-mix(in oklab, rgb(var(--tb-${token})), white 42%)`;
48452
- }
48453
- //#endregion
48454
49154
  //#region ../theme-core/src/site-styles/runtimeCompiler.ts
48455
49155
  function defineSectionForegroundRuntimeTokens(input) {
48456
49156
  return {
@@ -49357,6 +50057,15 @@ const headerCurationBySiteStyle = {
49357
50057
  layoutId: "classic",
49358
50058
  styleIds: ["fine-line"]
49359
50059
  }]),
50060
+ "site-style:brook": defineHeaderCuration([{
50061
+ layoutId: "classic",
50062
+ styleIds: [
50063
+ "serif-line",
50064
+ "brand-underline",
50065
+ "fine-line",
50066
+ "minimal"
50067
+ ]
50068
+ }]),
49360
50069
  "site-style:clarity-zen-blue": defineHeaderCuration([{
49361
50070
  layoutId: "centered",
49362
50071
  styleIds: [
@@ -50911,6 +51620,462 @@ const havenLooks = {
50911
51620
  defaultJoin: noneBoundaryOption.id,
50912
51621
  offers: havenOffers
50913
51622
  };
51623
+ /**
51624
+ * Brook (issue 1682): paper panels, hairline rules and a hand-drawn squiggle under each section
51625
+ * heading. The mockup names its grounds base, quiet, surface, band, brand and inverse; in code
51626
+ * they are base (background), band (surfaceAlt, the quiet ground), sheet (surface), deep
51627
+ * (secondary, the coloured band), brand (primary) and inverse (text). Panels take the quiet
51628
+ * colour on light grounds. On coloured grounds they shade the enclosing paint,
51629
+ * with contrast checked against the resulting panel.
51630
+ */
51631
+ const brookRoles = {
51632
+ card: {
51633
+ default: "band",
51634
+ brand: {
51635
+ source: "shade",
51636
+ opacity: 12
51637
+ },
51638
+ deep: {
51639
+ source: "shade",
51640
+ opacity: 12
51641
+ }
51642
+ },
51643
+ statement: {
51644
+ default: "brand",
51645
+ brand: "sheet"
51646
+ },
51647
+ highlight: "sheet"
51648
+ };
51649
+ const brookLinks = { link: "primary" };
51650
+ /**
51651
+ * Looks drawn as one panel holding a white list (Questions in a panel, Ruled rows on a panel)
51652
+ * put the list on `highlight`: the sheet on light grounds, and on coloured grounds a lighter
51653
+ * shade of the same paint than the panel around it.
51654
+ */
51655
+ const brookPanelListRoles = {
51656
+ ...brookRoles,
51657
+ highlight: {
51658
+ default: "sheet",
51659
+ brand: {
51660
+ source: "shade",
51661
+ opacity: 7
51662
+ },
51663
+ deep: {
51664
+ source: "shade",
51665
+ opacity: 7
51666
+ }
51667
+ }
51668
+ };
51669
+ const brookOffers = [
51670
+ {
51671
+ id: id("event-calendar-combined-panel"),
51672
+ treatment: "rows-panel",
51673
+ itemRoles: { container: "highlight" },
51674
+ roleMap: brookPanelListRoles
51675
+ },
51676
+ {
51677
+ id: id("event-calendar-combined-rows"),
51678
+ treatment: "rows",
51679
+ roleMap: brookRoles
51680
+ },
51681
+ {
51682
+ id: id("team-members-portrait-bio"),
51683
+ treatment: "team-bio",
51684
+ roleMap: brookRoles
51685
+ },
51686
+ {
51687
+ id: id("team-members-tall-portraits"),
51688
+ treatment: "team-portraits",
51689
+ roleMap: brookRoles
51690
+ },
51691
+ {
51692
+ id: id("team-members-ruled-names"),
51693
+ treatment: "team-names",
51694
+ roleMap: brookRoles
51695
+ },
51696
+ {
51697
+ id: id("shop-price-cards"),
51698
+ treatment: "prices",
51699
+ roleMap: brookRoles
51700
+ },
51701
+ {
51702
+ id: id("shop-price-cards-featured"),
51703
+ treatment: "prices-featured",
51704
+ roleMap: brookRoles
51705
+ },
51706
+ {
51707
+ id: id("shop-ruled-prices"),
51708
+ treatment: "price-rows",
51709
+ roleMap: brookRoles
51710
+ },
51711
+ {
51712
+ id: id("card-list-photos-on-top"),
51713
+ treatment: "photos-on-top",
51714
+ roleMap: brookRoles
51715
+ },
51716
+ {
51717
+ id: id("hero-photo-behind-text"),
51718
+ treatment: "hero-panel",
51719
+ addKnobs: ["photoTint"],
51720
+ roleMap: brookRoles
51721
+ },
51722
+ {
51723
+ id: id("hero-text-over-photo"),
51724
+ treatment: "hero-cover",
51725
+ addKnobs: ["photoTint"],
51726
+ roleMap: brookRoles
51727
+ },
51728
+ {
51729
+ id: id("hero-photo-beside-text"),
51730
+ visibleMarks: ["sticker"],
51731
+ treatment: "hero-split",
51732
+ roleMap: brookRoles
51733
+ },
51734
+ {
51735
+ id: id("hero-photo-then-text"),
51736
+ treatment: "hero-photo-then",
51737
+ roleMap: brookRoles
51738
+ },
51739
+ {
51740
+ id: id("hero-short-photo-banner"),
51741
+ treatment: "hero-banner",
51742
+ addKnobs: ["photoTint"],
51743
+ roleMap: brookRoles
51744
+ },
51745
+ {
51746
+ id: id("hero-page-head"),
51747
+ treatment: "hero-page-head",
51748
+ roleMap: brookRoles
51749
+ },
51750
+ {
51751
+ id: id("intro-photo-beside-text"),
51752
+ treatment: "intro-photo",
51753
+ roleMap: brookRoles
51754
+ },
51755
+ {
51756
+ id: id("intro-statement-beside-text"),
51757
+ treatment: "intro-statement",
51758
+ roleMap: brookRoles
51759
+ },
51760
+ {
51761
+ id: id("media-text-photo-beside-text"),
51762
+ treatment: "media-beside",
51763
+ roleMap: brookRoles
51764
+ },
51765
+ {
51766
+ id: id("media-text-photo-to-edge"),
51767
+ treatment: "media-edge",
51768
+ roleMap: brookRoles
51769
+ },
51770
+ {
51771
+ id: id("feature-cards-open-columns"),
51772
+ treatment: "open-columns",
51773
+ roleMap: brookRoles
51774
+ },
51775
+ {
51776
+ id: id("feature-cards-sequence"),
51777
+ treatment: "steps",
51778
+ roleMap: brookRoles
51779
+ },
51780
+ {
51781
+ id: id("feature-cards-cards"),
51782
+ treatment: "cards",
51783
+ roleMap: brookRoles
51784
+ },
51785
+ {
51786
+ id: id("feature-cards-index"),
51787
+ treatment: "index",
51788
+ roleMap: brookRoles
51789
+ },
51790
+ {
51791
+ id: id("card-list-scroll-row"),
51792
+ treatment: "card-row",
51793
+ roleMap: brookRoles
51794
+ },
51795
+ {
51796
+ id: id("event-calendar-ruled-rows-panel"),
51797
+ treatment: "rows-panel",
51798
+ itemRoles: { container: "highlight" },
51799
+ roleMap: brookPanelListRoles
51800
+ },
51801
+ {
51802
+ id: id("event-calendar-ruled-rows"),
51803
+ treatment: "rows",
51804
+ roleMap: brookRoles
51805
+ },
51806
+ {
51807
+ id: id("event-calendar-session-cards"),
51808
+ treatment: "session-cards",
51809
+ roleMap: brookRoles
51810
+ },
51811
+ {
51812
+ id: id("event-calendar-grouped-by-day"),
51813
+ treatment: "day-groups",
51814
+ roleMap: brookRoles
51815
+ },
51816
+ {
51817
+ id: id("event-calendar-next-three"),
51818
+ treatment: "compact",
51819
+ roleMap: brookRoles
51820
+ },
51821
+ {
51822
+ id: id("events-spotlight"),
51823
+ treatment: "spotlight",
51824
+ roleMap: brookRoles
51825
+ },
51826
+ {
51827
+ id: id("events-recurring-week"),
51828
+ treatment: "week-list",
51829
+ roleMap: brookRoles
51830
+ },
51831
+ {
51832
+ id: id("event-calendar-month-grid"),
51833
+ treatment: "month-grid",
51834
+ roleMap: brookRoles,
51835
+ itemRoles: { container: "card" }
51836
+ },
51837
+ {
51838
+ id: id("event-calendar-month-day"),
51839
+ treatment: "month-day",
51840
+ roleMap: brookRoles
51841
+ },
51842
+ {
51843
+ id: id("event-details-panel"),
51844
+ treatment: "details-panel",
51845
+ roleMap: brookRoles
51846
+ },
51847
+ {
51848
+ id: id("event-details-header"),
51849
+ treatment: "event-header",
51850
+ roleMap: brookRoles,
51851
+ slotRoles: { panel: "card" }
51852
+ },
51853
+ {
51854
+ id: id("testimonials-quote-columns"),
51855
+ treatment: "quote-columns",
51856
+ roleMap: brookRoles
51857
+ },
51858
+ {
51859
+ id: id("testimonials-quote-cards"),
51860
+ treatment: "quote-cards",
51861
+ roleMap: brookRoles
51862
+ },
51863
+ {
51864
+ id: id("testimonials-lead-quote"),
51865
+ treatment: "quote-lead",
51866
+ roleMap: brookRoles
51867
+ },
51868
+ {
51869
+ id: id("testimonials-one-quote"),
51870
+ treatment: "quote-single",
51871
+ roleMap: brookRoles
51872
+ },
51873
+ {
51874
+ id: id("testimonials-scroll-row"),
51875
+ treatment: "quote-row",
51876
+ roleMap: brookRoles
51877
+ },
51878
+ {
51879
+ id: id("testimonials-one-at-a-time"),
51880
+ treatment: "quote-slides",
51881
+ roleMap: brookRoles
51882
+ },
51883
+ {
51884
+ id: id("faq-questions-in-panel"),
51885
+ treatment: "faq-panel",
51886
+ itemRoles: { container: "highlight" },
51887
+ roleMap: brookPanelListRoles
51888
+ },
51889
+ {
51890
+ id: id("faq-questions-under-title"),
51891
+ treatment: "faq-under",
51892
+ roleMap: brookRoles
51893
+ },
51894
+ {
51895
+ id: id("faq-title-beside-questions"),
51896
+ treatment: "faq-beside",
51897
+ roleMap: brookRoles
51898
+ },
51899
+ {
51900
+ id: id("faq-questions-two-columns"),
51901
+ treatment: "faq-columns",
51902
+ roleMap: brookRoles
51903
+ },
51904
+ {
51905
+ id: id("faq-all-answers-showing"),
51906
+ treatment: "faq-open",
51907
+ roleMap: brookRoles
51908
+ },
51909
+ {
51910
+ id: id("cta-text-in-panel"),
51911
+ treatment: "cta-panel",
51912
+ roleMap: brookRoles
51913
+ },
51914
+ {
51915
+ id: id("cta-centred"),
51916
+ treatment: "cta-centred",
51917
+ roleMap: brookRoles
51918
+ },
51919
+ {
51920
+ id: id("cta-title-beside-buttons"),
51921
+ treatment: "cta-beside",
51922
+ roleMap: brookRoles
51923
+ },
51924
+ {
51925
+ id: id("cta-figure-beside-offer"),
51926
+ treatment: "cta-figure",
51927
+ roleMap: brookRoles
51928
+ },
51929
+ {
51930
+ id: id("newsletter-signup-text-beside"),
51931
+ treatment: "signup-beside",
51932
+ roleMap: brookRoles
51933
+ },
51934
+ {
51935
+ id: id("newsletter-signup-one-row"),
51936
+ treatment: "signup-row",
51937
+ roleMap: brookRoles
51938
+ },
51939
+ {
51940
+ id: id("form-below-introduction"),
51941
+ treatment: "form-below",
51942
+ roleMap: brookRoles
51943
+ },
51944
+ {
51945
+ id: id("form-beside-introduction-arched-panel"),
51946
+ treatment: "form-beside",
51947
+ roleMap: brookRoles
51948
+ },
51949
+ {
51950
+ id: id("body-text-reading-column"),
51951
+ treatment: "body-reading",
51952
+ roleMap: brookRoles
51953
+ },
51954
+ {
51955
+ id: id("body-text-title-beside"),
51956
+ treatment: "body-beside",
51957
+ roleMap: brookRoles
51958
+ },
51959
+ {
51960
+ id: id("body-text-large-opening"),
51961
+ treatment: "body-opening",
51962
+ roleMap: brookRoles
51963
+ },
51964
+ {
51965
+ id: id("image-gallery-square-tiles"),
51966
+ treatment: "gallery-tiles",
51967
+ roleMap: brookRoles
51968
+ },
51969
+ {
51970
+ id: id("image-gallery-captions-under"),
51971
+ treatment: "gallery-captions",
51972
+ roleMap: brookRoles
51973
+ },
51974
+ {
51975
+ id: id("image-gallery-lead-photo"),
51976
+ treatment: "gallery-lead",
51977
+ roleMap: brookRoles
51978
+ },
51979
+ {
51980
+ id: id("location-map-beside-address"),
51981
+ treatment: "map-beside",
51982
+ roleMap: brookRoles,
51983
+ slotRoles: { panel: "card" }
51984
+ },
51985
+ {
51986
+ id: id("location-map-above-details"),
51987
+ treatment: "map-above",
51988
+ roleMap: brookRoles
51989
+ },
51990
+ {
51991
+ id: id("location-map-address-over-wide-map"),
51992
+ treatment: "map-wide",
51993
+ roleMap: brookRoles
51994
+ },
51995
+ {
51996
+ id: id("location-map-entrance-photo"),
51997
+ treatment: "map-entrance",
51998
+ roleMap: brookRoles
51999
+ }
52000
+ ];
52001
+ const brookLooks = {
52002
+ kind: "offers",
52003
+ skin: "brook",
52004
+ skinTokens: {
52005
+ radius: "8px",
52006
+ rule: "1px",
52007
+ "mark-length": "134px",
52008
+ "mark-weight": "16px",
52009
+ gutter: "32px",
52010
+ "copy-gap": "1.25rem",
52011
+ "stack-gap": "2.5rem",
52012
+ "shadow-offset": "0",
52013
+ rotation: "0deg",
52014
+ wrap: "1232px"
52015
+ },
52016
+ fontLoading: { extraBodyFontWeights: [500, 600] },
52017
+ surfaces: {
52018
+ base: {
52019
+ kind: "token",
52020
+ token: "background",
52021
+ foreground: brookLinks
52022
+ },
52023
+ band: {
52024
+ kind: "token",
52025
+ token: "surfaceAlt",
52026
+ foreground: brookLinks
52027
+ },
52028
+ sheet: {
52029
+ kind: "token",
52030
+ token: "surface",
52031
+ foreground: brookLinks
52032
+ },
52033
+ deep: {
52034
+ kind: "token",
52035
+ token: "secondary"
52036
+ },
52037
+ brand: {
52038
+ kind: "token",
52039
+ token: "primary",
52040
+ buttonContext: { primary: unsafeAsOpaqueButtonColourToken("primaryForeground") }
52041
+ },
52042
+ inverse: {
52043
+ kind: "token",
52044
+ token: "text"
52045
+ }
52046
+ },
52047
+ rhythm: {
52048
+ "flow:quiet": [
52049
+ "base",
52050
+ "base",
52051
+ "band",
52052
+ "base"
52053
+ ],
52054
+ "flow:balanced": [
52055
+ "base",
52056
+ "base",
52057
+ "base",
52058
+ "deep",
52059
+ "band",
52060
+ "base",
52061
+ "band",
52062
+ "base"
52063
+ ],
52064
+ "flow:expressive": [
52065
+ "base",
52066
+ "base",
52067
+ "deep",
52068
+ "base",
52069
+ "band",
52070
+ "brand",
52071
+ "base",
52072
+ "band",
52073
+ "inverse"
52074
+ ]
52075
+ },
52076
+ defaultJoin: noneBoundaryOption.id,
52077
+ offers: brookOffers
52078
+ };
50914
52079
  /** Folio: quiet sheets and band-coloured statements. */
50915
52080
  const folioRoles = {
50916
52081
  card: "sheet",
@@ -53003,7 +54168,6 @@ const curatedSiteStyles = [
53003
54168
  typography: "body"
53004
54169
  },
53005
54170
  legal: {
53006
- kind: "separate",
53007
54171
  bar: {
53008
54172
  fullBleed: true,
53009
54173
  background: {
@@ -53154,7 +54318,7 @@ const curatedSiteStyles = [
53154
54318
  hoverColorToken: "primary",
53155
54319
  typography: "body"
53156
54320
  },
53157
- legal: { kind: "integrated" },
54321
+ legal: { bar: null },
53158
54322
  brandAlign: "start"
53159
54323
  } },
53160
54324
  recommendedFooterLookIds: ["footer-links-row"],
@@ -53268,7 +54432,7 @@ const curatedSiteStyles = [
53268
54432
  hoverColorToken: "primary",
53269
54433
  typography: "body"
53270
54434
  },
53271
- legal: { kind: "integrated" },
54435
+ legal: { bar: null },
53272
54436
  brandAlign: "start"
53273
54437
  } },
53274
54438
  recommendedFooterLookIds: ["footer-links-row"],
@@ -53323,10 +54487,7 @@ const curatedSiteStyles = [
53323
54487
  hoverColorToken: "primary",
53324
54488
  typography: "heading"
53325
54489
  },
53326
- legal: {
53327
- kind: "separate",
53328
- bar: null
53329
- },
54490
+ legal: { bar: null },
53330
54491
  brandAlign: "center"
53331
54492
  } },
53332
54493
  recommendedFooterLookIds: ["footer-centred-name", "footer-links-row"],
@@ -53452,21 +54613,18 @@ const curatedSiteStyles = [
53452
54613
  hoverColorToken: "primary",
53453
54614
  typography: "body"
53454
54615
  },
53455
- legal: {
53456
- kind: "separate",
53457
- bar: {
53458
- fullBleed: false,
53459
- background: {
53460
- kind: "token",
53461
- token: "surface"
53462
- },
53463
- textColor: "text",
53464
- textAlign: "left",
53465
- paddingY: "tight",
53466
- paddingX: "none",
53467
- borderTop: { width: "none" }
53468
- }
53469
- },
54616
+ legal: { bar: {
54617
+ fullBleed: false,
54618
+ background: {
54619
+ kind: "token",
54620
+ token: "surface"
54621
+ },
54622
+ textColor: "text",
54623
+ textAlign: "left",
54624
+ paddingY: "tight",
54625
+ paddingX: "none",
54626
+ borderTop: { width: "none" }
54627
+ } },
53470
54628
  brandAlign: "start",
53471
54629
  brandLogoSize: "md"
53472
54630
  } },
@@ -53552,24 +54710,21 @@ const curatedSiteStyles = [
53552
54710
  hoverColorToken: "primaryForeground",
53553
54711
  typography: "body"
53554
54712
  },
53555
- legal: {
53556
- kind: "separate",
53557
- bar: {
53558
- fullBleed: false,
53559
- background: {
53560
- kind: "style-surface",
53561
- surface: "deep"
53562
- },
53563
- textColor: "primaryForeground",
53564
- textAlign: "left",
53565
- paddingY: "compact",
53566
- paddingX: "none",
53567
- borderTop: {
53568
- width: "medium",
53569
- colorToken: "primaryForeground"
53570
- }
54713
+ legal: { bar: {
54714
+ fullBleed: false,
54715
+ background: {
54716
+ kind: "style-surface",
54717
+ surface: "deep"
54718
+ },
54719
+ textColor: "primaryForeground",
54720
+ textAlign: "left",
54721
+ paddingY: "compact",
54722
+ paddingX: "none",
54723
+ borderTop: {
54724
+ width: "medium",
54725
+ colorToken: "primaryForeground"
53571
54726
  }
53572
- },
54727
+ } },
53573
54728
  brandAlign: "start",
53574
54729
  brandLogoSize: "md"
53575
54730
  } },
@@ -53653,24 +54808,21 @@ const curatedSiteStyles = [
53653
54808
  hoverColorToken: "background",
53654
54809
  typography: "body"
53655
54810
  },
53656
- legal: {
53657
- kind: "separate",
53658
- bar: {
53659
- fullBleed: false,
53660
- background: {
53661
- kind: "style-surface",
53662
- surface: "inverse"
53663
- },
53664
- textColor: "background",
53665
- textAlign: "left",
53666
- paddingY: "compact",
53667
- paddingX: "none",
53668
- borderTop: {
53669
- width: "thin",
53670
- colorToken: "background"
53671
- }
54811
+ legal: { bar: {
54812
+ fullBleed: false,
54813
+ background: {
54814
+ kind: "style-surface",
54815
+ surface: "inverse"
54816
+ },
54817
+ textColor: "background",
54818
+ textAlign: "left",
54819
+ paddingY: "compact",
54820
+ paddingX: "none",
54821
+ borderTop: {
54822
+ width: "thin",
54823
+ colorToken: "background"
53672
54824
  }
53673
- },
54825
+ } },
53674
54826
  brandAlign: "start",
53675
54827
  brandLogoSize: "md"
53676
54828
  } },
@@ -53725,24 +54877,21 @@ const curatedSiteStyles = [
53725
54877
  hoverColorToken: "text",
53726
54878
  typography: "body"
53727
54879
  },
53728
- legal: {
53729
- kind: "separate",
53730
- bar: {
53731
- fullBleed: false,
53732
- background: {
53733
- kind: "style-surface",
53734
- surface: "band"
53735
- },
53736
- textColor: "text",
53737
- textAlign: "left",
53738
- paddingY: "compact",
53739
- paddingX: "none",
53740
- borderTop: {
53741
- width: "thin",
53742
- colorToken: "border"
53743
- }
54880
+ legal: { bar: {
54881
+ fullBleed: false,
54882
+ background: {
54883
+ kind: "style-surface",
54884
+ surface: "band"
54885
+ },
54886
+ textColor: "text",
54887
+ textAlign: "left",
54888
+ paddingY: "compact",
54889
+ paddingX: "none",
54890
+ borderTop: {
54891
+ width: "thin",
54892
+ colorToken: "border"
53744
54893
  }
53745
- },
54894
+ } },
53746
54895
  brandAlign: "start",
53747
54896
  brandLogoSize: "md"
53748
54897
  } },
@@ -53757,6 +54906,75 @@ const curatedSiteStyles = [
53757
54906
  paletteRecommendation("haven-sage"),
53758
54907
  paletteRecommendation("haven-plum")
53759
54908
  ]
54909
+ }),
54910
+ defineCuratedSiteStyle({
54911
+ id: "site-style:brook",
54912
+ name: "Brook",
54913
+ offering: {
54914
+ kind: "public",
54915
+ generation: { kind: "explicit_only" }
54916
+ },
54917
+ description: "Soft waves where your photos and colour bands meet, hand-drawn squiggles under headings, and calm panels for your classes. For yoga teachers, retreats and wellbeing practices.",
54918
+ generationBrief: "Use calm, warm words in sentence case. Say plainly what happens in a class or retreat, who it suits and what to bring, give real times, prices and places, and avoid wellness cliches and health claims.",
54919
+ headingDecoration: noHeadingDecoration,
54920
+ tokenRecipes: {
54921
+ palette: "warm-neutral",
54922
+ contrast: "standard",
54923
+ radius: "soft",
54924
+ shadow: "none",
54925
+ typography: "classic-serif",
54926
+ spacing: "airy",
54927
+ motion: "subtle"
54928
+ },
54929
+ compositionBudget: balancedBudget,
54930
+ typography: brookTypography,
54931
+ fontPairings: brookFontPairings,
54932
+ looks: brookLooks,
54933
+ themeOverrides: {
54934
+ accordions: editorialDividedAccordionSystem,
54935
+ testimonialQuote: serifDisplayQuote
54936
+ },
54937
+ footerLookRecipes: { "footer-links-row": {
54938
+ arrangement: "simple",
54939
+ ground: {
54940
+ kind: "style-surface",
54941
+ surface: "base"
54942
+ },
54943
+ nav: {
54944
+ weight: "regular",
54945
+ colorToken: "text",
54946
+ hoverColorToken: "primary",
54947
+ typography: "body"
54948
+ },
54949
+ legal: { bar: {
54950
+ fullBleed: false,
54951
+ background: {
54952
+ kind: "style-surface",
54953
+ surface: "base"
54954
+ },
54955
+ textColor: "text",
54956
+ textAlign: "left",
54957
+ paddingY: "compact",
54958
+ paddingX: "none",
54959
+ borderTop: {
54960
+ width: "thin",
54961
+ colorToken: "border"
54962
+ }
54963
+ } },
54964
+ brandAlign: "start",
54965
+ brandLogoSize: "md"
54966
+ } },
54967
+ recommendedFooterLookIds: ["footer-links-row"],
54968
+ buttonStyleChoices: [
54969
+ buttonChoice("pebble"),
54970
+ buttonChoice("showtime-pill"),
54971
+ buttonChoice("flat-ink")
54972
+ ],
54973
+ paletteRecommendations: [
54974
+ paletteRecommendation("brook-terracotta"),
54975
+ paletteRecommendation("brook-fell"),
54976
+ paletteRecommendation("brook-dusk")
54977
+ ]
53760
54978
  })
53761
54979
  ];
53762
54980
  const curatedSiteStylesById = new Map(curatedSiteStyles.map((style) => [style.id, style]));
@@ -54173,14 +55391,15 @@ function followStyleFallback(look, options, catalogue, mode, chain, visited) {
54173
55391
  return look.structure.styleFallback.map((lookId) => lookDefinitionForId(lookId, catalogue)).filter((next) => next !== null && next.blockKinds.some((kind) => look.blockKinds.includes(kind))).map((next) => followStyleFallback(next, options, catalogue, mode, nextChain, nextVisited)).find((result) => result !== null) ?? null;
54174
55392
  }
54175
55393
  function compileArrangementLookRuntime(input) {
54176
- const selected = Object.fromEntries(Object.entries(input.selected).map(([mode, look]) => [mode, input.purpose?.kind === "published" ? resolvePublishedLook({
55394
+ const selections = combinedCalendarSelections(input.style, input.selected, input.looks);
55395
+ const selected = Object.fromEntries(Object.entries(selections).map(([mode, look]) => [mode, input.purpose?.kind === "published" ? resolvePublishedLook({
54177
55396
  look,
54178
55397
  facts: input.purpose.facts,
54179
55398
  audience: "public",
54180
55399
  catalogue: input.looks
54181
55400
  }) : look]));
54182
55401
  const required = Object.values(selected).flatMap((look) => input.purpose?.kind === "published" ? [look] : lookContentFallbacks(look, input.looks));
54183
- const looks = input.purpose?.kind === "catalogue" ? input.looks : [...new Map(required.map((look) => [look.id, look])).values()];
55402
+ const looks = input.purpose?.kind === "catalogue" ? [...new Map([...input.looks, ...Object.values(selected)].map((look) => [look.id, look])).values()] : [...new Map(required.map((look) => [look.id, look])).values()];
54184
55403
  const surfaceContext = surfaceTransportContext(input.context);
54185
55404
  const available = looks.flatMap((look) => {
54186
55405
  const offer = input.style.offers.find((candidate) => candidate.id === look.id);
@@ -54244,7 +55463,7 @@ function validateLookFallbacks(style, catalogue = appearancePresets.filter(isArr
54244
55463
  /** Every admitted calendar mode needs an automatic Look before a style can load. */
54245
55464
  function validateCalendarModeOffers(style, catalogue = appearancePresets.filter(isArrangementAppearancePreset)) {
54246
55465
  const calendarLooks = catalogue.filter((look) => look.blockKinds.includes("block.event-calendar"));
54247
- arrangementModes.forEach((mode) => {
55466
+ arrangementModes.filter((mode) => mode !== "combined").forEach((mode) => {
54248
55467
  if (!calendarLooks.some((look) => lookModes(look).includes(mode) && style.offers.some((offer) => offer.id === look.id))) throw new Error(`Missing automatic calendar Look for ${style.skin}: ${mode}`);
54249
55468
  });
54250
55469
  }
@@ -54398,14 +55617,23 @@ function validateOfferKnobs(style, catalogue) {
54398
55617
  });
54399
55618
  });
54400
55619
  }
54401
- /** One role resolver, including section inheritance and ground-specific overrides. */
54402
- function resolveItemSurface(role, ground, style) {
54403
- return resolveSurface(itemSurfaceSpec(role, ground, style), style.context);
55620
+ /** Ground-keyed shades use their default surface when the section has no measurable paint. */
55621
+ function pickRoleSurface(mapped, ground, base) {
55622
+ if (typeof mapped === "string" || "source" in mapped) return mapped;
55623
+ const picked = mapped[ground] ?? mapped.default;
55624
+ return typeof picked !== "string" && base.kind === "unmeasured" ? mapped.default : picked;
54404
55625
  }
54405
55626
  /** The declaration selected by a role/ground mapping; shared by preparation and checks. */
54406
- function itemSurfaceSpec(role, ground, style) {
54407
- const mapped = style.roleMap[role];
54408
- const name = typeof mapped === "string" ? mapped : mapped[ground] ?? mapped.default;
55627
+ function itemSurfaceSpec(role, ground, style, base) {
55628
+ const name = pickRoleSurface(style.roleMap[role], ground, base);
55629
+ if (typeof name !== "string") {
55630
+ if (base.kind === "unmeasured") throw new Error(`A ${role} shade has no paint to shade on a ${base.paint} section`);
55631
+ return {
55632
+ kind: "tint",
55633
+ base: base.token,
55634
+ ...name
55635
+ };
55636
+ }
54409
55637
  if (name === "section") return {
54410
55638
  kind: "paint",
54411
55639
  paint: { kind: "transparent" }
@@ -54442,6 +55670,16 @@ function mergeItemRoles(defaults, overrides = {}) {
54442
55670
  }
54443
55671
  };
54444
55672
  }
55673
+ /** A combined selection always carries its month view: the style's automatic month Look unless one was chosen. */
55674
+ function combinedCalendarSelections(style, selected, catalogue) {
55675
+ if (!selected.combined || selected.calendar) return selected;
55676
+ const month = style.offers.map((offer) => lookDefinitionForId(offer.id, catalogue)).find((look) => look !== null && look.blockKinds.includes("block.event-calendar") && lookModes(look).includes("calendar"));
55677
+ if (!month) throw new Error("Combined calendar needs an offered month Look");
55678
+ return {
55679
+ ...selected,
55680
+ calendar: month
55681
+ };
55682
+ }
54445
55683
  //#endregion
54446
55684
  //#region ../theme-core/src/site-styles/pageDesignEditorCapabilities.ts
54447
55685
  function cardRoleCapabilityOf(capability) {
@@ -54981,7 +56219,7 @@ function layoutOptionsForBlock(block, policy) {
54981
56219
  }
54982
56220
  function lookOptionsForBlock(input) {
54983
56221
  if (input.siteStyle?.looks.kind === "offers") {
54984
- const capabilities = editorArrangementCapabilities(input.block, editorMode(input.block), input.siteStyle);
56222
+ const capabilities = editorArrangementCapabilities(input.block, lookCatalogueMode(input.block, input.siteStyle), input.siteStyle);
54985
56223
  const styleLooks = input.siteStyle.looks;
54986
56224
  return styleLooks.offers.flatMap((offer) => {
54987
56225
  const look = arrangementAppearancePresets.find((entry) => entry.id === offer.id);
@@ -55223,6 +56461,13 @@ function arrangementSelectionForEditorBlock(block, style, intent, current) {
55223
56461
  capabilities
55224
56462
  } };
55225
56463
  }
56464
+ /** The carried-over combined catalogue describes its list tab; stored intent stays combined. */
56465
+ function lookCatalogueMode(block, style) {
56466
+ const mode = editorMode(block);
56467
+ if (mode !== "combined" || style.looks.kind !== "offers") return mode;
56468
+ const offers = style.looks.offers;
56469
+ return arrangementAppearancePresets.some((look) => look.blockKinds.includes("block.event-calendar") && look.structure.byMode.combined !== void 0 && offers.some((offer) => offer.id === look.id)) ? mode : "list";
56470
+ }
55226
56471
  function editorMode(block) {
55227
56472
  if (block.variantMeaning?.kind !== "mode") return null;
55228
56473
  return readStoredMode({
@@ -55299,7 +56544,7 @@ function editorArrangementLayoutResult(block, style, lookId, recipe) {
55299
56544
  }
55300
56545
  function editorLookOptionsForSection(input) {
55301
56546
  const layout = editorEffectiveLayout(input);
55302
- return layout.kind === "none" ? lookOptionsForBlock({
56547
+ return input.siteStyle?.looks.kind === "offers" || layout.kind === "none" ? lookOptionsForBlock({
55303
56548
  ...input,
55304
56549
  effectiveLayoutProfile: null
55305
56550
  }) : availableLooksForLayout(input.availableLooksByLayout, layout.key);
@@ -57267,6 +58512,26 @@ function selectItemSurfacePresentation(presentation, role) {
57267
58512
  ...presentation.items[role]
57268
58513
  } : presentation;
57269
58514
  }
58515
+ function lookPresentationSurfaces(presentation) {
58516
+ const branch = (value) => [...Object.values(value.slots), ...Object.values(value.states).flatMap((states) => Object.values(states))];
58517
+ return [...branch(presentation), ...Object.values(presentation.items).flatMap(branch)];
58518
+ }
58519
+ /**
58520
+ * Every surface in the presentation was decided against this palette. Colours are
58521
+ * compared by value, so a transported or re-parsed copy of the same theme still matches.
58522
+ */
58523
+ function lookPresentationOnPalette(presentation, palette) {
58524
+ return lookPresentationSurfaces(presentation).every((surface) => samePalette(surface.revision.palette, palette));
58525
+ }
58526
+ function samePalette(decided, expected) {
58527
+ return decided === expected || [.../* @__PURE__ */ new Set([...Object.keys(decided), ...Object.keys(expected)])].every((key) => decided[key] === expected[key]);
58528
+ }
58529
+ /** Transport re-certifies from the inputs; a slot that comes back as media was never an arrangement slot. */
58530
+ const parseArrangementSlotSurface = (value) => requireArrangementSlotSurface(parseResolvedSurface(value));
58531
+ function requireArrangementSlotSurface(surface) {
58532
+ if (surface.proof === "unproven-media") throw new Error("Arrangement slot surfaces never paint media");
58533
+ return surface;
58534
+ }
57270
58535
  /** Solid tokens retain section semantics; literals/gradients use the solved ink. */
57271
58536
  function resolvedSurfaceGround(surface, inherited) {
57272
58537
  if (!surface || surface.kind === "inherit") return inherited;
@@ -57310,7 +58575,7 @@ function resolveSlotBranch(input) {
57310
58575
  }));
57311
58576
  const today = input.look.slotRoles.today;
57312
58577
  const under = resolveSlot(input, "group-date");
57313
- const surface = today ? resolveItemSurface(today, under.ground, input.style) : void 0;
58578
+ const surface = today ? applySlotTint(input, "today", today, under).surface : void 0;
57314
58579
  return {
57315
58580
  slots,
57316
58581
  states: surface ? { "group-date": { today: surface } } : {}
@@ -57321,40 +58586,68 @@ function resolveSlot(input, slot, visiting = []) {
57321
58586
  const parent = input.parents[slot];
57322
58587
  const under = parent ? resolveSlot(input, parent, [...visiting, slot]) : {
57323
58588
  ground: input.ground,
57324
- base: input.base
58589
+ base: input.base,
58590
+ buttonContext: input.style.context.buttonContext
57325
58591
  };
57326
- const role = input.itemRole && itemSlots.includes(slot) ? input.itemRole : input.roles[slot];
57327
- const decided = applySlotTint(input, slot, role ? resolveItemSurface(role, under.ground, input.style) : void 0, under);
58592
+ const decided = applySlotTint(input, slot, input.itemRole && itemSlots.includes(slot) ? input.itemRole : input.roles[slot], under);
57328
58593
  return {
57329
58594
  ...decided,
57330
58595
  base: surfaceBase(decided.surface, under.base)
57331
58596
  };
57332
58597
  }
57333
58598
  function surfaceBase(surface, inherited) {
57334
- return surface?.kind === "owned" && surface.paint.kind === "solid" ? surface.tintBase ?? surface.paint.token : inherited;
57335
- }
57336
- function applySlotTint(input, slot, owned, under) {
57337
- const tint = input.look.surfaceTints?.[slot];
57338
- if (!tint || tint.knob && input.content?.[tint.knob] !== true) return {
58599
+ return surface?.kind === "owned" ? {
58600
+ kind: "measured",
58601
+ token: surface.tintBase ?? surface.paint.token
58602
+ } : inherited;
58603
+ }
58604
+ /** Slot tints need a measured paint; shades inherit their enclosing button request and ground. */
58605
+ function applySlotTint(input, slot, role, under) {
58606
+ const spec = role ? itemSurfaceSpec(role, under.ground, input.style, under.base) : void 0;
58607
+ const owned = spec ? resolveSurface(spec, slotContext(spec, under, input.style.context)) : void 0;
58608
+ const tint = activeSlotTint(input, slot, spec);
58609
+ const base = tint?.source === "shade" ? under.base : surfaceBase(owned, under.base);
58610
+ if (!tint || base.kind === "unmeasured") return {
57339
58611
  surface: owned,
57340
- ground: resolvedSurfaceGround(owned, under.ground)
58612
+ ground: resolvedSurfaceGround(owned, under.ground),
58613
+ buttonContext: slotButtonRequest(spec, under, input.style.context)
57341
58614
  };
57342
- const base = owned?.kind === "owned" && owned.paint.kind === "solid" ? owned.paint.token : under.base;
57343
58615
  const baseSurface = resolveSurface({
57344
58616
  kind: "token",
57345
- token: base
58617
+ token: base.token
57346
58618
  }, input.style.context);
58619
+ const tintSpec = {
58620
+ kind: "tint",
58621
+ base: base.token,
58622
+ source: tint.source,
58623
+ opacity: tint.opacity,
58624
+ gradient: tint.gradient
58625
+ };
57347
58626
  return {
57348
- surface: resolveSurface({
57349
- kind: "tint",
57350
- base,
57351
- source: tint.source,
57352
- opacity: tint.opacity,
57353
- gradient: tint.gradient
57354
- }, input.style.context),
57355
- ground: resolvedSurfaceGround(baseSurface, under.ground)
58627
+ surface: resolveSurface(tintSpec, slotContext(tintSpec, under, input.style.context)),
58628
+ buttonContext: slotButtonRequest(tintSpec, under, input.style.context),
58629
+ ground: tint.source === "shade" ? under.ground : resolvedSurfaceGround(baseSurface, under.ground)
57356
58630
  };
57357
58631
  }
58632
+ /** Only a shade owns paint derived from its ancestor; transparent surfaces keep their canonical inherited decision. */
58633
+ function slotContext(spec, under, context) {
58634
+ return spec.kind === "tint" && spec.source === "shade" ? {
58635
+ ...context,
58636
+ buttonContext: under.buttonContext
58637
+ } : context;
58638
+ }
58639
+ /** What a slot hands its descendants: the resolver's request, never its already-checked button styles. */
58640
+ function slotButtonRequest(spec, under, context) {
58641
+ if (!spec || spec.kind === "paint" && spec.paint.kind === "transparent") return under.buttonContext;
58642
+ return surfaceButtonRequest(spec, slotContext(spec, under, context));
58643
+ }
58644
+ /** Explicit enabled slot tints override the role's default paint. */
58645
+ function activeSlotTint(input, slot, spec) {
58646
+ const tint = input.look.surfaceTints?.[slot];
58647
+ if (!tint) return spec?.kind === "tint" ? spec : void 0;
58648
+ if (tint.knob && input.content?.[tint.knob] !== true) return void 0;
58649
+ return tint;
58650
+ }
57358
58651
  const itemSlots = [
57359
58652
  "item",
57360
58653
  "lead",
@@ -57371,6 +58664,81 @@ function slotAssignments({ look, slotRoles, itemRoles }) {
57371
58664
  ...itemRoles.at?.first && arrangement === "lead-support" ? { lead: itemRoles.at.first } : {}
57372
58665
  };
57373
58666
  }
58667
+ //#endregion
58668
+ //#region ../theme-core/src/footer/footerForegrounds.ts
58669
+ /** The footer's own ground and the foreground contract certified on it. */
58670
+ function resolveFooterRootForeground(footer, palette, proseHoverCandidate) {
58671
+ return resolveSurfaceForeground(footer?.background ?? {
58672
+ type: "color",
58673
+ color: "surface"
58674
+ }, palette, footerForegroundCandidates(footer, proseHoverCandidate), { compositeBase: "background" });
58675
+ }
58676
+ function resolveFooterBottomBarPaint(footer, palette) {
58677
+ const bar = footer.bottomBar;
58678
+ if (!bar) return { kind: "inherits" };
58679
+ const root = resolveFooterRootForeground(footer, palette);
58680
+ const ground = root.kind === "known" && root.provenance.kind === "measured" ? root.provenance.backdropHex : null;
58681
+ return bar.background?.type === "color" ? {
58682
+ kind: "surface",
58683
+ foreground: barSurfaceForeground(footer, bar.background, ground, palette)
58684
+ } : barTextPaint(footer, root, ground, palette);
58685
+ }
58686
+ /** A bar with its own colour owns a contract, composited over the footer's measured ground. */
58687
+ function barSurfaceForeground(footer, background, ground, palette) {
58688
+ const bar = footer.bottomBar;
58689
+ return resolveSurfaceForeground(background, palette, {
58690
+ text: bar?.textColor,
58691
+ link: footer.bottomTextLinkStyle?.colorToken ?? bar?.textColor,
58692
+ linkHover: footer.bottomTextLinkStyle?.hoverColorToken
58693
+ }, { compositeBase: ground });
58694
+ }
58695
+ /** A bar without its own colour paints its declared text on the footer's ground. */
58696
+ function barTextPaint(footer, root, ground, palette) {
58697
+ const declared = footer.bottomBar?.textColor;
58698
+ if (footer.background?.contentOwner === "site-chrome-editor" || !declared) return { kind: "inherits" };
58699
+ if (!ground) return {
58700
+ kind: "unmeasured",
58701
+ declared
58702
+ };
58703
+ return {
58704
+ kind: "ink",
58705
+ declared,
58706
+ paint: certifyPaint("footer bottom bar text", paintedInk(declared, root), contrastThresholdByPolicy["body-aa"], ground, { palette })
58707
+ };
58708
+ }
58709
+ /**
58710
+ * The colour a declared text token shows: `text`, `heading` and `mutedText` paint the
58711
+ * footer's certified role ink (at the token's opacity), any other token its palette colour.
58712
+ */
58713
+ function paintedInk(declared, root) {
58714
+ const parts = parseColorTokenParts(declared);
58715
+ const role = parts.kind === "token" ? surfaceRoleForTextToken(parts.token) : null;
58716
+ if (!role || root.kind !== "known" || parts.kind !== "token") return declared;
58717
+ const ink = root.roles[role];
58718
+ return parts.opacityPercent === null ? ink : withOpacity(ink, parts.opacityPercent);
58719
+ }
58720
+ function withOpacity(ink, opacityPercent) {
58721
+ const parts = parseColorTokenParts(ink);
58722
+ if (parts.kind === "token") return `${parts.token}/${opacityPercent}`;
58723
+ const hex = resolveOpaqueSurfaceHex(ink, {});
58724
+ if (!hex) return ink;
58725
+ const { r, g, b } = hexToRgb(hex);
58726
+ return `rgba(${r}, ${g}, ${b}, ${opacityPercent / 100})`;
58727
+ }
58728
+ //#endregion
58729
+ //#region ../theme-core/src/header/headerRootForeground.ts
58730
+ /**
58731
+ * The header bar's foreground contract, certified on its own ground. A transparent
58732
+ * header paints over the page opening, so it uses the opening's projected (and
58733
+ * certified) foreground, or inherits when there is none.
58734
+ */
58735
+ function resolveHeaderRootForeground(header, palette, isTransparent) {
58736
+ if (isTransparent) return readOpeningForegroundProjection(header) ?? { kind: "inherits" };
58737
+ return resolveSurfaceForeground(header?.background ?? {
58738
+ type: "color",
58739
+ color: "surface"
58740
+ }, palette, headerForegroundCandidates(header));
58741
+ }
57374
58742
  const SYSTEM_BLOCK_KINDS = [
57375
58743
  "block.hero",
57376
58744
  "block.intro",
@@ -62461,20 +63829,6 @@ function resolveBackgroundColorValue(value, context) {
62461
63829
  //#endregion
62462
63830
  //#region ../blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.ts
62463
63831
  const sectionSurfaceCache = /* @__PURE__ */ new WeakMap();
62464
- function resolveHeaderRootForeground(header, palette, isTransparent) {
62465
- if (isTransparent) return readOpeningForegroundProjection(header) ?? { kind: "inherits" };
62466
- const background = header?.background;
62467
- return resolveSurfaceForeground(background ?? {
62468
- type: "color",
62469
- color: "surface"
62470
- }, palette, headerForegroundCandidates(header));
62471
- }
62472
- function resolveFooterRootForeground(footer, palette, proseHoverCandidate) {
62473
- return resolveSurfaceForeground(footer?.background ?? {
62474
- type: "color",
62475
- color: "surface"
62476
- }, palette, footerForegroundCandidates(footer, proseHoverCandidate), { compositeBase: "background" });
62477
- }
62478
63832
  function resolveSurfaceForegroundStyles(value, context, options) {
62479
63833
  const resolved = cachedSectionSurface(value, context, options);
62480
63834
  const foreground = resolved.foreground;
@@ -66225,6 +67579,24 @@ const heroBlockDefinition = { manifest: createBlockManifest({
66225
67579
  renderInHeader: true,
66226
67580
  intent: "style"
66227
67581
  }),
67582
+ {
67583
+ id: "photoTint",
67584
+ type: "select",
67585
+ multiple: false,
67586
+ required: false,
67587
+ label: "Photo tint",
67588
+ options: [{
67589
+ label: "Dark",
67590
+ value: "dark"
67591
+ }, {
67592
+ label: "Brand colour",
67593
+ value: "brand"
67594
+ }],
67595
+ ui: {
67596
+ intent: "display",
67597
+ hidden: true
67598
+ }
67599
+ },
66228
67600
  {
66229
67601
  id: "candleGlow",
66230
67602
  type: "boolean",
@@ -67444,7 +68816,7 @@ function resolvedItemSurfaceProps(surface, slot, style = void 0) {
67444
68816
  }
67445
68817
  const resolvedSurfaceSchema = z.unknown().transform((value, context) => {
67446
68818
  try {
67447
- return parseResolvedSurface(value);
68819
+ return parseArrangementSlotSurface(value);
67448
68820
  } catch {
67449
68821
  context.addIssue({
67450
68822
  code: "custom",
@@ -69318,36 +70690,19 @@ const footerBottomBarStyleTransform = {
69318
70690
  run: (value, _options, context) => {
69319
70691
  const footer = asPartialObject(value);
69320
70692
  const bottomBar = footer?.bottomBar;
69321
- return mergeStyles(bottomBar?.background?.type === "color" ? backgroundColorStyle(bottomBar.background.color ?? "surface") : void 0, footerBottomBarBorderColorStyle(footer), footerBottomBarBorderWidthStyle(bottomBar?.borderTop?.width), footerBottomBarForegroundStyle(footer, context.theme.palette), footerBottomBarInkStyle(footer, context));
70693
+ return mergeStyles(bottomBar?.background?.type === "color" ? backgroundColorStyle(bottomBar.background.color ?? "surface") : void 0, footerBottomBarBorderColorStyle(footer), footerBottomBarBorderWidthStyle(bottomBar?.borderTop?.width), ...footerBottomBarForegroundStyles(footer, context));
69322
70694
  }
69323
70695
  };
69324
- function footerBottomBarForegroundStyle(footer, palette) {
69325
- if (!footer?.bottomBar) return void 0;
69326
- const foreground = footerBottomBarSurfaceForeground(footer, palette);
69327
- return foreground === null ? backgroundlessBottomBarForegroundStyle(footer) : resolvedForegroundStyle(foreground);
69328
- }
69329
- /** A bar without its own colour paints nothing, so the footer's inks carry on. */
69330
- function footerBottomBarInkStyle(footer, context) {
69331
- const foreground = footer ? footerBottomBarSurfaceForeground(footer, context.theme.palette) : null;
69332
- return foreground === null ? void 0 : solvedInkStyle(foreground, context);
69333
- }
69334
- function footerBottomBarSurfaceForeground(footer, palette) {
69335
- const bar = footer.bottomBar;
69336
- if (bar?.background?.type !== "color") return null;
69337
- return resolveSurfaceForeground(bar.background, palette, {
69338
- text: bar.textColor,
69339
- link: footer.bottomTextLinkStyle?.colorToken ?? bar.textColor,
69340
- linkHover: footer.bottomTextLinkStyle?.hoverColorToken
69341
- }, { compositeBase: measuredFooterBackdrop(footer, palette) });
69342
- }
69343
- function backgroundlessBottomBarForegroundStyle(footer) {
69344
- if (footer.background?.contentOwner === "site-chrome-editor") return;
69345
- const textColor = footer.bottomBar?.textColor;
69346
- return textColor ? textColorStyle(textColor) : void 0;
69347
- }
69348
- function measuredFooterBackdrop(footer, palette) {
69349
- const foreground = resolveFooterRootForeground(footer, palette);
69350
- return foreground.kind === "known" && foreground.provenance.kind === "measured" ? foreground.provenance.backdropHex : null;
70696
+ /** The bar's own certified contract and inks, its certified text on the footer's ground, or nothing of its own. */
70697
+ function footerBottomBarForegroundStyles(footer, context) {
70698
+ if (!footer) return [];
70699
+ const paint = resolveFooterBottomBarPaint(footer, context.theme.palette);
70700
+ switch (paint.kind) {
70701
+ case "inherits": return [];
70702
+ case "surface": return [resolvedForegroundStyle(paint.foreground), solvedInkStyle(paint.foreground, context)];
70703
+ case "unmeasured": return [textColorStyle(paint.declared)];
70704
+ case "ink": return [paint.paint.fallback ? { color: paint.paint.ink } : textColorStyle(paint.declared)];
70705
+ }
69351
70706
  }
69352
70707
  const footerLogoClassTransform = {
69353
70708
  id: "layout.footerLogoClass",
@@ -69656,8 +71011,9 @@ function visitRichTextNode(node, allowedTokens, tokenValues) {
69656
71011
  return changed ? nextNode : node;
69657
71012
  }
69658
71013
  function interpolateRichTextTokens(value, options, context) {
69659
- if (!isRecord$13(value)) return value;
69660
- return visitRichTextNode(value, new Set(options.tokens), {
71014
+ if (typeof value !== "string" && !isRecord$13(value)) return value;
71015
+ const allowedTokens = new Set(options.tokens);
71016
+ const tokenValues = {
69661
71017
  year: () => formatDate$3({
69662
71018
  kind: "instant",
69663
71019
  value: readRuntimeNow(context.now)
@@ -69666,7 +71022,12 @@ function interpolateRichTextTokens(value, options, context) {
69666
71022
  year: "numeric"
69667
71023
  }),
69668
71024
  site_name: () => getSiteName(context)
69669
- });
71025
+ };
71026
+ if (typeof value === "string") return replaceTokenText(value, allowedTokens, {
71027
+ ...tokenValues,
71028
+ site_name: () => getSiteName(context) ?? ""
71029
+ }).trim();
71030
+ return visitRichTextNode(value, allowedTokens, tokenValues);
69670
71031
  }
69671
71032
  const contentTransforms = [{
69672
71033
  id: "content.interpolateRichTextTokens",
@@ -69775,6 +71136,112 @@ function planSiteOverlayHeaderClearance(input) {
69775
71136
  cssValue: SITE_OVERLAY_HEADER_CLEARANCE_FALLBACK
69776
71137
  } : { kind: "none" };
69777
71138
  }
71139
+ /**
71140
+ * How far a sticky or fixed site header (with any banner stuck alongside it)
71141
+ * reaches below the top of its scrollport. Each site document layout measures
71142
+ * its own and sets it on its root, so sticky page columns and anchor targets
71143
+ * inside it stay below the header.
71144
+ */
71145
+ const SITE_STICKY_CHROME_HEIGHT_CSS_VAR = "--site-sticky-chrome-height";
71146
+ /** Rendered on the server until the layout has measured its header. */
71147
+ const SITE_STICKY_CHROME_HEIGHT_FALLBACK = SITE_OVERLAY_HEADER_CLEARANCE_FALLBACK;
71148
+ const SITE_HEADER_SELECTOR = ".block-site-header";
71149
+ /** The site's announcement banner. The preview passes its own wrapper. */
71150
+ const SITE_BANNER_SELECTOR = "[data-site-banner=\"true\"]";
71151
+ /** Sub-pixel rounding between a header and the banner stacked under it. */
71152
+ const SITE_CHROME_STACK_TOLERANCE_PX = 2;
71153
+ /**
71154
+ * The header plus any announcement banner stacked against it, above or below.
71155
+ * A banner elsewhere on the page doesn't count, and nor does chrome scrolled
71156
+ * out of view (null).
71157
+ */
71158
+ function stackSiteTopChrome(input) {
71159
+ if (!input.header || !isVisibleChromeBox(input.header)) return null;
71160
+ return input.banners.filter(isVisibleChromeBox).slice().sort((left, right) => left.top - right.top).reduce((edges, banner) => banner.top <= edges.bottom + SITE_CHROME_STACK_TOLERANCE_PX && banner.bottom >= edges.top - SITE_CHROME_STACK_TOLERANCE_PX ? {
71161
+ top: Math.min(edges.top, banner.top),
71162
+ bottom: Math.max(edges.bottom, banner.bottom)
71163
+ } : edges, input.header);
71164
+ }
71165
+ /** How far down the viewport the site's top chrome reaches, in whole pixels. */
71166
+ function siteTopChromeBottomPx(input) {
71167
+ const stack = stackSiteTopChrome(input);
71168
+ return stack ? Math.ceil(stack.bottom) : 0;
71169
+ }
71170
+ /**
71171
+ * How far the top chrome reaches below its own top edge (chromeTop, the outer
71172
+ * header box, which sits at the top of the scrollport once stuck), in the
71173
+ * layout's CSS pixels. Measuring from the chrome rather than the viewport keeps
71174
+ * it right inside the editor preview, which sits below the editor's toolbar and
71175
+ * may be zoomed.
71176
+ */
71177
+ function siteStickyChromeHeightPx(input) {
71178
+ const stack = stackSiteTopChrome(input);
71179
+ if (!stack) return 0;
71180
+ const zoom = Number.isFinite(input.zoom) && input.zoom > 0 ? input.zoom : 1;
71181
+ const top = Math.min(input.chromeTop, stack.top);
71182
+ return Math.ceil((stack.bottom - top) / zoom);
71183
+ }
71184
+ function isVisibleChromeBox(box) {
71185
+ return Number.isFinite(box.top) && Number.isFinite(box.bottom) && box.bottom > box.top && box.bottom > 0;
71186
+ }
71187
+ function findSiteTopChrome(scope, bannerSelector) {
71188
+ const outerHeader = scope.querySelector(SITE_HEADER_SELECTOR);
71189
+ const headerCandidates = outerHeader ? Array.from(outerHeader.querySelectorAll(SITE_CHROME_VISIBLE_HEADER_SELECTOR)) : [];
71190
+ return {
71191
+ outerHeader,
71192
+ header: outerHeader ? visibleHeaderPart(outerHeader, headerCandidates) : null,
71193
+ headerCandidates,
71194
+ banners: Array.from(scope.querySelectorAll(bannerSelector))
71195
+ };
71196
+ }
71197
+ function chromeBoxesOf(elements) {
71198
+ return {
71199
+ header: elements.header ? chromeBox(elements.header) : null,
71200
+ banners: elements.banners.map(chromeBox)
71201
+ };
71202
+ }
71203
+ /** One live reading of {@link siteTopChromeBottomPx} from the document. */
71204
+ function measureSiteTopChromeBottomPx(bannerSelector = SITE_BANNER_SELECTOR) {
71205
+ return siteTopChromeBottomPx(chromeBoxesOf(findSiteTopChrome(document, bannerSelector)));
71206
+ }
71207
+ /** One live reading of {@link siteStickyChromeHeightPx} for one site document layout. */
71208
+ function measureSiteStickyChromeHeightPx(layoutRoot) {
71209
+ const elements = findSiteTopChrome(layoutRoot, SITE_BANNER_SELECTOR);
71210
+ if (!elements.outerHeader) return 0;
71211
+ return siteStickyChromeHeightPx({
71212
+ ...chromeBoxesOf(elements),
71213
+ chromeTop: elements.outerHeader.getBoundingClientRect().top,
71214
+ zoom: cssZoomOf(layoutRoot)
71215
+ });
71216
+ }
71217
+ /** Clearance boxes and marked bars that can gain intrinsic height inside box-less wrappers. */
71218
+ function siteTopChromeMeasurementTargets(bannerSelector = SITE_BANNER_SELECTOR, scope = document) {
71219
+ const { header, headerCandidates, banners } = findSiteTopChrome(scope, bannerSelector);
71220
+ return [
71221
+ ...header ? [header] : [],
71222
+ ...headerCandidates,
71223
+ ...banners
71224
+ ];
71225
+ }
71226
+ /** The header's visible bar, when it marks one, rather than its whole box. */
71227
+ function visibleHeaderPart(header, candidates) {
71228
+ return candidates.find((candidate) => {
71229
+ const rect = candidate.getBoundingClientRect();
71230
+ return window.getComputedStyle(candidate).display !== "none" && rect.height > 0 && rect.bottom > 0;
71231
+ }) ?? header;
71232
+ }
71233
+ function chromeBox(element) {
71234
+ const rect = element.getBoundingClientRect();
71235
+ return {
71236
+ top: rect.top,
71237
+ bottom: rect.bottom
71238
+ };
71239
+ }
71240
+ /** The CSS zoom applied to an element (the editor preview zooms its document). */
71241
+ function cssZoomOf(element) {
71242
+ const zoom = Reflect.get(element, "currentCSSZoom");
71243
+ return typeof zoom === "number" ? zoom : 1;
71244
+ }
69778
71245
  //#endregion
69779
71246
  //#region ../blocks/src/system/blocks/site-header.ts
69780
71247
  const whenTransformed = (from, transformId, equals = true) => (node) => ({
@@ -70092,9 +71559,9 @@ const brandLogo = link({
70092
71559
  from: "$root.theme.footer.logo",
70093
71560
  transforms: [{
70094
71561
  id: "layout.footerLogoClass",
70095
- options: { base: "footer-logo rb-inline-flex rb-items-center rb-gap-3 rb-no-underline" }
71562
+ options: { base: "footer-logo rb-inline-flex rb-flex-wrap rb-items-center rb-gap-3 rb-no-underline" }
70096
71563
  }],
70097
- fallback: "footer-logo rb-inline-flex rb-items-center rb-gap-3 rb-no-underline"
71564
+ fallback: "footer-logo rb-inline-flex rb-flex-wrap rb-items-center rb-gap-3 rb-no-underline"
70098
71565
  } }
70099
71566
  }, [brandMedia, brandTitle], (node) => ({
70100
71567
  ...node,
@@ -70201,7 +71668,8 @@ const authoredCopy = richText({
70201
71668
  }] }));
70202
71669
  const footerEngagement = stack({
70203
71670
  gap: "md",
70204
- className: "rb-w-full"
71671
+ className: "rb-w-full",
71672
+ "data-footer-engagement": ""
70205
71673
  }, [
70206
71674
  text({
70207
71675
  as: "p",
@@ -70217,9 +71685,18 @@ const footerEngagement = stack({
70217
71685
  }), [], when("module.engagement.kind", { equals: "mailing-list" }))
70218
71686
  ], when("module.kind", { equals: "engagement" }));
70219
71687
  const platformAttribution = el("div", {
70220
- className: "rb-caption",
71688
+ className: "rb-caption rb-footer-credit",
70221
71689
  "data-site-attribution": "macadamia"
70222
- }, [
71690
+ }, [el("svg", {
71691
+ viewBox: "556 422 262 274",
71692
+ className: "rb-footer-credit-mark",
71693
+ shapes: [{
71694
+ kind: "path",
71695
+ d: "M695.95 432.12C703.56 441.79 712.58 444.68 722.92 450.58C734.35 457.11 744.89 465 754.42 474.07C800.52 517.98 814.25 592.12 777.56 646.07C769.9 657.35 760.46 667.11 753.15 678.67C750.79 682.39 748.47 690.26 743.47 690.98C739.99 691.49 735.89 689.93 732.5 689.2C725.87 687.78 719.29 686.48 712.5 686.05C682.8 684.2 655.61 683.31 628.67 668.83C570.03 637.3 541.86 560.59 572.51 500C585.09 475.13 607.1 455 632.83 444.39C638.62 442 644.49 439.78 650.56 438.19C655.41 436.93 660.62 436.52 665.33 434.79C668.19 433.74 670.85 432.04 673.57 430.68C677.42 429.93 681.48 428 685.46 428.25C689.27 428.49 692.49 430.99 695.95 432.12Z M684.5 466.17C723.47 503.72 749.19 550.28 748.93 605.5C748.88 617.14 748.67 629.96 745.5 641.21C743.7 631.07 742.83 620.81 740.66 610.71C734.59 582.42 725.07 554.31 713.82 527.66C707.95 513.78 701.99 499.91 694.94 486.57C692.46 481.89 684.79 470.62 684.5 466.17Z",
71696
+ fillRule: "evenodd",
71697
+ fill: "currentColor"
71698
+ }]
71699
+ }), el("div", null, [
70223
71700
  text({ as: "span" }, bind("module.lead")),
70224
71701
  text({
70225
71702
  as: "span",
@@ -70229,7 +71706,14 @@ const platformAttribution = el("div", {
70229
71706
  href: { $bind: { from: "module.link.href" } },
70230
71707
  className: "footer-nav-link rb-caption transition-theme-standard"
70231
71708
  }, [text({ as: "span" }, bind("module.link.label"))])
70232
- ], when("module.kind", { equals: "attribution" }));
71709
+ ])], when("module.kind", { equals: "attribution" }));
71710
+ const copyright = text({
71711
+ as: "p",
71712
+ className: "rb-caption"
71713
+ }, bind("module.text", { transforms: [{
71714
+ id: "content.interpolateRichTextTokens",
71715
+ options: { tokens: ["year", "site_name"] }
71716
+ }] }), when("module.kind", { equals: "copyright" }));
70233
71717
  const footerGroup = stack({
70234
71718
  gap: "md",
70235
71719
  align: { $bind: {
@@ -70249,6 +71733,7 @@ const footerGroup = stack({
70249
71733
  fallback: "start"
70250
71734
  } },
70251
71735
  className: { $bind: { from: "module.className" } },
71736
+ "data-footer-module": { $bind: { from: "module.kind" } },
70252
71737
  "data-preview-footer-module-id": { $bind: { from: "module.id" } }
70253
71738
  }, [
70254
71739
  text({
@@ -70276,6 +71761,7 @@ const footerGroup = stack({
70276
71761
  hours,
70277
71762
  socials,
70278
71763
  footerEngagement,
71764
+ copyright,
70279
71765
  platformAttribution,
70280
71766
  stack({ className: "rb-w-full" }, [authoredCopy], when("module.kind", { equals: "supporting-text" })),
70281
71767
  stack({ className: "rb-w-full rb-lg-col-span-3" }, [authoredCopy], when("module.kind", { equals: "legal" }))
@@ -72909,6 +74395,8 @@ const publicEventDestinationSchema = z.discriminatedUnion("kind", [z.object({
72909
74395
  * Zod schema for venue data
72910
74396
  */
72911
74397
  const eventVenueSchema = z.object({
74398
+ area: z.string().nullable().optional(),
74399
+ addressWithBooking: z.boolean().optional(),
72912
74400
  drawing: z.lazy(() => mapDrawingSchema).optional().catch(void 0),
72913
74401
  id: z.string(),
72914
74402
  name: z.string(),
@@ -74204,9 +75692,10 @@ function buildBookingInstalmentCadenceLabel(plan) {
74204
75692
  }
74205
75693
  //#endregion
74206
75694
  //#region ../blocks/src/system/runtime/nodes/event-registration/bookingCalendar.ts
74207
- /** Public schedule facts only; online joining instructions stay in email (issue 1580). */
74208
- function bookingCalendar(event, identity) {
75695
+ /** Public schedule plus the authorised outcome's arrival text; online access stays in email. */
75696
+ function bookingCalendar(event, outcome) {
74209
75697
  if (!event) return null;
75698
+ const { identity } = outcome;
74210
75699
  const sessions = event.registrationSubject.kind === "wholeSeries" ? event.registrationSubject.sessions : [{
74211
75700
  occurrenceId: event.registrationSubject.occurrenceId,
74212
75701
  startsAt: event.startsAt,
@@ -74221,7 +75710,7 @@ function bookingCalendar(event, identity) {
74221
75710
  endsAt: new Date(session.endsAt),
74222
75711
  timezone: "UTC",
74223
75712
  status: "confirmed",
74224
- location: identity.attendanceMode === "online" ? "Online" : event.venue?.name,
75713
+ location: identity.attendanceMode === "online" ? "Online" : outcome.arrivalVenues?.[session.occurrenceId] ?? event.venue?.name,
74225
75714
  description: identity.attendanceMode === "online" ? "See your confirmation email for joining instructions." : void 0
74226
75715
  }));
74227
75716
  const first = entries[0];
@@ -74819,15 +76308,20 @@ function bookedBooking(result, context) {
74819
76308
  const facts = outcomeFacts(result.outcome);
74820
76309
  const totalPlaces = completedBookingPlaces(context.completedOutcomes, identity);
74821
76310
  const where = identity.attendanceMode === "online" ? "none" : "venue";
76311
+ const arrival = identity.attendanceMode === "in_person" && context.display.venue === "shown" ? [...new Set(Object.values(result.outcome.arrivalVenues ?? {}))].join("\n\n") : "";
74822
76312
  return {
74823
76313
  entry: {
74824
76314
  kind: "booked",
74825
76315
  ...dates,
74826
76316
  places: totalPlaces === null ? null : placesLabel$1(totalPlaces)
74827
76317
  },
74828
- summary: [...scheduleRows(event, dates.shortWhen, where, context.display), ...facts.rows],
76318
+ summary: [
76319
+ ...scheduleRows(event, dates.shortWhen, arrival ? "none" : where, context.display),
76320
+ ...row("Where", arrival),
76321
+ ...facts.rows
76322
+ ],
74829
76323
  payment: facts.payment,
74830
- calendar: bookingCalendar(event, identity)
76324
+ calendar: bookingCalendar(event, result.outcome)
74831
76325
  };
74832
76326
  }
74833
76327
  function waitlistedBooking(context) {
@@ -75143,10 +76637,11 @@ function findPreSelectedEvent(input) {
75143
76637
  })) === contextDate) ?? null;
75144
76638
  }
75145
76639
  function resolveRegistrationTarget(input) {
75146
- const subject = input.occurrenceContext ? {
76640
+ const selectedSubject = input.selectedEvent?.registrationSubject ?? null;
76641
+ const subject = selectedSubject?.kind === "wholeSeries" ? selectedSubject : input.occurrenceContext ? {
75147
76642
  kind: "occurrence",
75148
76643
  occurrenceId: input.occurrenceContext.id
75149
- } : input.selectedEvent?.registrationSubject ?? null;
76644
+ } : selectedSubject;
75150
76645
  if (!subject) return null;
75151
76646
  return {
75152
76647
  subject,
@@ -78136,14 +79631,17 @@ const bookedTicketLineSchema = z.object({
78136
79631
  label: z.string().min(1),
78137
79632
  quantity: z.number().int().positive()
78138
79633
  }).strict();
79634
+ const arrivalFields = { arrivalVenues: z.record(uuid, z.string()).optional() };
78139
79635
  const eventBookingOutcomeSchema = z.discriminatedUnion("kind", [z.object({
78140
79636
  kind: z.literal("detailsAvailable"),
78141
79637
  identity: confirmedBookingIdentitySchema,
78142
79638
  ticketLines: z.tuple([bookedTicketLineSchema]).rest(bookedTicketLineSchema).readonly(),
78143
- payment: confirmationPaymentSchema
79639
+ payment: confirmationPaymentSchema,
79640
+ ...arrivalFields
78144
79641
  }).strict(), z.object({
78145
79642
  kind: z.literal("detailsUnavailable"),
78146
- identity: confirmedBookingIdentitySchema
79643
+ identity: confirmedBookingIdentitySchema,
79644
+ ...arrivalFields
78147
79645
  }).strict()]);
78148
79646
  const eventEmbeddedCheckoutSchema = z.object({
78149
79647
  kind: z.literal("embedded"),
@@ -78306,6 +79804,8 @@ const eventCheckoutResponseSchema = z.union([
78306
79804
  });
78307
79805
  //#endregion
78308
79806
  //#region ../blocks/src/contracts/events.ts
79807
+ /** Release 1: older SDKs reject additional confirmed-outcome fields. */
79808
+ const EVENT_BOOKING_ARRIVAL_QUERY = "bookingArrival";
78309
79809
  const eventAutoApplyDiscountPreviewBaseSchema = z.object({
78310
79810
  id: z.string(),
78311
79811
  publicLabel: z.string(),
@@ -82043,6 +83543,16 @@ function withEventSelectionVisibility(field) {
82043
83543
  };
82044
83544
  }
82045
83545
  //#endregion
83546
+ //#region ../blocks/src/system/runtime/nodes/events/shared/combinedLook.ts
83547
+ const presentation = z.object({
83548
+ ...lookListPresentationSchemaShape,
83549
+ hooks: z.record(z.string(), z.string())
83550
+ });
83551
+ const combinedLookSchema = z.object({
83552
+ list: presentation.extend({ arrangement: z.enum(eventListArrangementValues) }),
83553
+ month: presentation.extend({ arrangement: z.enum(["month-grid", "month-day"]) })
83554
+ });
83555
+ //#endregion
82046
83556
  //#region ../blocks/src/system/runtime/nodes/events/EventCalendar.interactive.ts
82047
83557
  const eventCalendarDateContextSchema = z.object({
82048
83558
  locale: z.string(),
@@ -82055,6 +83565,7 @@ const eventCalendarSourceSchema = z.object({
82055
83565
  seeAllButtonVariant: eventButtonVariantSchema.nullable().optional(),
82056
83566
  effectiveListArrangementKey: z.enum(eventListArrangementValues).nullable().optional(),
82057
83567
  listBy: z.enum(["upcoming", "week"]).optional(),
83568
+ combinedLook: combinedLookSchema.optional(),
82058
83569
  monthArrangement: z.enum(["month-grid", "month-day"]).optional(),
82059
83570
  variant: eventCalendarDisplayModeSchema.nullable().optional(),
82060
83571
  displayMode: eventCalendarDisplayModeSchema.nullable().optional(),
@@ -82070,6 +83581,7 @@ const eventCalendarDisplaySchema = z.object({
82070
83581
  schedule: recurringScheduleProjectionSchema.optional(),
82071
83582
  seeAllButtonVariant: eventButtonVariantSchema,
82072
83583
  listBy: z.literal("week").optional(),
83584
+ combinedLook: combinedLookSchema.optional(),
82073
83585
  monthArrangement: z.enum(["month-grid", "month-day"]).optional(),
82074
83586
  kind: z.literal("event-calendar"),
82075
83587
  displayMode: eventCalendarDisplayModeSchema,
@@ -82104,13 +83616,14 @@ function normalizeOptionalText(value) {
82104
83616
  return trimmed.length > 0 ? trimmed : void 0;
82105
83617
  }
82106
83618
  function buildEventCalendarDisplay(source, effectiveListArrangementKey = source.effectiveListArrangementKey ?? resolveCalendarListArrangement(source)) {
82107
- const listLayout = effectiveListArrangementKey;
83619
+ const presentation = combinedCalendarPresentation(source, effectiveListArrangementKey);
82108
83620
  return {
82109
83621
  ...buildEventCollectionDisplay({
82110
83622
  ...source,
82111
- listLayout,
83623
+ ...presentation,
82112
83624
  listColumns: source.listColumns ?? source.columns
82113
83625
  }),
83626
+ ...presentation,
82114
83627
  ...source.monthArrangement === void 0 ? {} : { monthArrangement: source.monthArrangement },
82115
83628
  ...calendarListGrouping(source),
82116
83629
  ...weekListPaging(source),
@@ -82224,6 +83737,17 @@ function calendarRecurringWeekPresentation(source) {
82224
83737
  seeAllButtonVariant: source.seeAllButtonVariant ?? "secondary"
82225
83738
  };
82226
83739
  }
83740
+ /** A resolved composition owns the layout and the allowed calendar view. */
83741
+ function combinedCalendarPresentation(source, listLayout) {
83742
+ const combinedLook = source.combinedLook;
83743
+ return combinedLook ? {
83744
+ ...combinedLook.list,
83745
+ combinedLook,
83746
+ listLayout: combinedLook.list.arrangement,
83747
+ calendarTabViews: "month",
83748
+ defaultCalendarView: "month"
83749
+ } : { listLayout };
83750
+ }
82227
83751
  //#endregion
82228
83752
  //#region ../blocks/src/system/blocks/events/eventCalendarDataLoaders.ts
82229
83753
  const scopeParams = {
@@ -82435,6 +83959,7 @@ const eventCalendarLayout = [styledSection({
82435
83959
  listBy: { $bind: { from: "content.listBy" } },
82436
83960
  bookingTimeZone: { $bind: { from: "$root.dateContext.timeZone" } },
82437
83961
  dateContext: { $bind: { from: "$root.dateContext" } },
83962
+ combinedLook: { $bind: { from: "content._combinedLook" } },
82438
83963
  monthArrangement: { $bind: { from: "content._lookMonthArrangement" } },
82439
83964
  lookSlots: { $bind: { from: "content._lookSlots" } },
82440
83965
  itemActionStyle: { $bind: { from: "content._effectiveKnobs.actionStyle.value" } },
@@ -88843,6 +90368,12 @@ const teamMembersBlockDefinition = {
88843
90368
  };
88844
90369
  //#endregion
88845
90370
  //#region ../blocks/src/system/runtime/nodes/location-map.shared.ts
90371
+ /** Additive map DTO; hidden venues retain only their public name and area. */
90372
+ const publicVenueMapLocationSchema = publicLocationSchema.unwrap().extend({
90373
+ name: z.string().optional(),
90374
+ area: z.string().nullable().optional(),
90375
+ addressWithBooking: z.boolean().optional()
90376
+ }).readonly();
88846
90377
  const LOCATION_MAP_DEFAULTS = {
88847
90378
  zoom: 15,
88848
90379
  heightPx: 320,
@@ -88977,10 +90508,18 @@ function normalizedGoogleMapsLabel(value) {
88977
90508
  return normalizeLocationAddressText(value) ?? "Open in Google Maps";
88978
90509
  }
88979
90510
  function readLocationMapProjection(value, siteCountry) {
90511
+ const venue = publicVenueMapLocationSchema.safeParse(value);
90512
+ if (venue.success) return venue.data.addressWithBooking ? {
90513
+ ...venue.data,
90514
+ address: null,
90515
+ displayAddress: venue.data.area ?? null,
90516
+ pin: null,
90517
+ doorNote: null,
90518
+ drawing: void 0
90519
+ } : venue.data;
88980
90520
  const canonical = parseLocationValue(value);
88981
90521
  if (canonical.ok && canonical.value !== null) return projectPublicLocation(canonical.value, siteCountry);
88982
- const projected = publicLocationSchema.safeParse(value);
88983
- return projected.success ? projected.data : null;
90522
+ return null;
88984
90523
  }
88985
90524
  //#endregion
88986
90525
  //#region ../blocks/src/system/blocks/location-map.ts
@@ -90380,6 +91919,13 @@ const systemCustomizeFacetDefinitions = [
90380
91919
  "block.form"
90381
91920
  ]
90382
91921
  },
91922
+ fixedKnob("block.hero", "photoTint", "Photo tint", [{
91923
+ value: "dark",
91924
+ label: "Dark"
91925
+ }, {
91926
+ value: "brand",
91927
+ label: "Brand colour"
91928
+ }], "dark"),
90383
91929
  fixedKnob("block.hero", "candleGlow", "Candle glow", onOff, "true", false, true),
90384
91930
  fixedKnob("block.hero", "columnGuides", "Column guides", onOff, "true", false, true),
90385
91931
  fixedKnob("block.hero", "titleSize", "Headline size", heroTitleSizeOptions, "auto", true),
@@ -90883,6 +92429,93 @@ function lookPartShown(blockKind, field, arrangement) {
90883
92429
  return !fieldsNotShownIn(blockKind, arrangement).includes(field);
90884
92430
  }
90885
92431
  //#endregion
92432
+ //#region ../blocks/src/system/manifest/mergeManifestWithSdkOptions.ts
92433
+ /**
92434
+ * Merges SDK-provided field options AND field extensions into a block manifest.
92435
+ *
92436
+ * This creates a single source of truth for validation and rendering:
92437
+ * 1. Field options: Replaces select options for fields with `ui.widget: 'sdkSelect'`
92438
+ * 2. Field extensions: Appends additional fields to the end of the manifest
92439
+ *
92440
+ * Without this merge, the Zod validation schema is built from manifest's
92441
+ * hardcoded options, but SdkSelectField renders SDK options - causing
92442
+ * validation errors when users select SDK-provided values.
92443
+ *
92444
+ * @example
92445
+ * // Field options: Embed block manifest has options [list, grid, carousel]
92446
+ * // SDK config provides options [showcase, list]
92447
+ * // After merge, manifest.fields[layoutField].options = [showcase, list]
92448
+ *
92449
+ * @example
92450
+ * // Field extensions: Body text block has [body] field
92451
+ * // SDK config extends with [layout] field
92452
+ * // After merge, manifest.fields = [body, layout]
92453
+ */
92454
+ function mergeManifestWithSdkOptions(manifest, blockKind, sdkBlockFieldOptions, sdkBlockFieldExtensions) {
92455
+ const blockOptions = sdkBlockFieldOptions?.[blockKind];
92456
+ const extended = mergeFieldExtension(manifest, sdkBlockFieldExtensions?.[blockKind]);
92457
+ return blockOptions ? {
92458
+ ...extended,
92459
+ fields: extended.fields.map((field) => mergeFieldWithSdkOptions(field, blockOptions))
92460
+ } : extended;
92461
+ }
92462
+ /**
92463
+ * Recursively merges SDK options into a single field.
92464
+ * Handles nested fields in groups, repeaters, modals, and tab groups.
92465
+ */
92466
+ function mergeFieldWithSdkOptions(field, blockOptions) {
92467
+ const mergeFields = (fields) => fields.map((child) => mergeFieldWithSdkOptions(child, blockOptions));
92468
+ if (field.type === "select") return mergeSelectField(field, blockOptions);
92469
+ if (field.type === "group" || field.type === "modal") return {
92470
+ ...field,
92471
+ schema: {
92472
+ ...field.schema,
92473
+ fields: mergeFields(field.schema.fields)
92474
+ }
92475
+ };
92476
+ if (field.type === "repeater") return {
92477
+ ...field,
92478
+ ...field.schema ? { schema: {
92479
+ ...field.schema,
92480
+ fields: mergeFields(field.schema.fields)
92481
+ } } : {},
92482
+ ...field.itemTypes ? { itemTypes: Object.fromEntries(Object.entries(field.itemTypes).map(([key, item]) => [key, {
92483
+ ...item,
92484
+ fields: mergeFields(item.fields)
92485
+ }])) } : {}
92486
+ };
92487
+ if (field.type === "tabGroup") return {
92488
+ ...field,
92489
+ tabs: field.tabs.map((tab) => ({
92490
+ ...tab,
92491
+ fields: mergeFields(tab.fields)
92492
+ }))
92493
+ };
92494
+ return field;
92495
+ }
92496
+ /**
92497
+ * Merges SDK options into a select field if it uses the sdkSelect widget.
92498
+ * Returns the original field unchanged if it doesn't use sdkSelect or has no SDK options.
92499
+ */
92500
+ function mergeSelectField(field, blockOptions) {
92501
+ if (field.ui?.widget !== "sdkSelect") return field;
92502
+ const sdkFieldConfig = blockOptions[field.id];
92503
+ if (!sdkFieldConfig?.options?.length) return field;
92504
+ return {
92505
+ ...field,
92506
+ options: sdkFieldConfig.options
92507
+ };
92508
+ }
92509
+ function mergeFieldExtension(manifest, extension) {
92510
+ if (!extension || !extension.fields.length && !extension.lookField && !extension.promotedFields?.length) return manifest;
92511
+ return {
92512
+ ...manifest,
92513
+ fields: [...manifest.fields, ...extension.fields],
92514
+ lookField: extension.lookField ?? manifest.lookField,
92515
+ promotedFields: [...manifest.promotedFields ?? [], ...extension.promotedFields ?? []]
92516
+ };
92517
+ }
92518
+ //#endregion
90886
92519
  //#region ../blocks/src/sdkBlockTransform.ts
90887
92520
  /**
90888
92521
  * Transforms an SDK custom block into a BlockManifest.
@@ -110557,4 +112190,4 @@ function usePreviewAssistantSlot() {
110557
112190
  return useContext(PreviewAssistantSlotContext);
110558
112191
  }
110559
112192
  //#endregion
110560
- export { pageEvidenceEvents as $, formatBookingCompactEnglishTime as $_, resolveOfferingsRenderInput as $a, splitPositioningClasses as $c, boundaryRuntimeMetricsForDecorativeTransition as $d, Select as $f, journalReplayValue as $g, hexToRgb as $h, CardListContentPart as $i, parseBackgroundContent as $l, getComponentBorderWidthPx as $m, siblingPath as $n, getRegistrationOccurrenceId as $o, Root2 as $p, parseStoredCommerceCartState as $r, eventLocalDateKey as $s, planLeaseNotice as $t, resolveLookSurfacePresentation as $u, usePreviewRenderReadiness as A, selectedContentVersionId as A_, buildEventRegistrationInteractiveIslandProps as Aa, publicEventsArraySchema as Ac, headerStyleRecipeForTheme as Ad, resolveRepeaterGridSpanFieldId as Af, buildRenderableMediaAssetIndex as Ag, resolveOnColorForThemeToken as Ah, calendarPageResponseError as Ai, richTextFragment as Al, buttonStyleHoverPreferenceValue as Am, manifestFieldSectionOptions as An, resolveRegistrationTicketContinuation as Ao, DialogPortal$1 as Ap, cartBlockDefinition as Ar, transformRegistrationOptionsResponse as As, deleteSlotBlock as At, resolveBlockIconRenderValue as Au, parseUuidBrand as Av, renewPreviewSession as B, createEditorReorderBlocksCommand as B_, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as Ba, parseFeatureCardGeneratedIconSizePx as Bc, findFooterLook as Bd, observeEditorAdmission as Bf, assertNever$6 as Bg, DEFAULT_BUTTON_SIZES as Bh, eventPaginationLoadReducer as Bi, testimonialsHeadingFragment as Bl, boxBackgroundSchema as Bm, enabledBackgroundModes as Bn, paymentChoicePrice as Bo, __read as Bp, shopProductPresentation as Br, setTicketLineQuantity as Bs, getDashboardUrl as Bt, inlineTextToPlainText as Bu, selectedImageFromMediaValue as C, knownSocialPlatforms as C_, getContainerClass as Ca, getRemainingPlaces as Cc, resolveModeArrangement as Cd, normalizeRepeaterGridSpan as Cf, formatAspectRatioToken as Cg, resolveSurface as Ch, buildEventCollectionHydration as Ci, listLookControl as Cl, useShallow as Cm, withoutServerVersions as Cn, getTicketSelectionPurpose as Co, DialogTitle as Cp, newsletterSignupBlockDefinition as Cr, formatRegistrationSchedule as Cs, getWidgetKey as Ct, isRichTextDoc as Cu, parseMediaAssetId as Cv, PreviewRenderPlanProjection as D, NO_BLOCK_VERSIONS as D_, eventRegisterResponseSchema as Da, blockSiteTermsSchema as Dc, componentRuntimeRulesForTheme as Dd, resolveRepeaterGridColumnFieldId as Df, getImageUrl as Dg, BUTTON_CONTRAST_POLICY as Dh, eventCollectionSourceSchemaShape as Di, itemRole as Dl, readLinkedEntryLease as Dm, initialBlockDraftValues as Dn, resolveGuestNextStepCheck as Do, DialogContent$1 as Dp, giftingBlockDefinition as Dr, getTicketTypeAvailabilityLabel as Ds, createBlock as Dt, getBlockIconSemanticId as Du, parseSiteId as Dv, PreviewRenderObservationsProvider as E, publishedContactDetails as E_, eventCheckoutReturnResponseSchema as Ea, selectMostOpenCapacitySource as Ec, deriveSiteStyleBlockPolicy as Ed, resolveRepeaterGridBreakpointForWidth as Ef, getDirectImageUrlForMediaAsset as Eg, compileButtonColourStates as Eh, eventCollectionHydrationSchema as Ei, resolvedItemSurfaceProps as El, canWriteLinkedEntry as Em, editorAuthoredBlockDocument as En, planRegistrationDetailsContinuation as Eo, DialogClose$1 as Ep, newsletterBlockSubmissionMessage as Er, getPortalSubjectEmail as Es, partitionFieldsByIntent as Et, buildGeneratedBlockIconRenderAssetLookupFromUnknown as Eu, unsafeAsPositiveSeconds as Ev, nextLookTilePin as F, pristineValueSync as F_, resolveEventCalendarReadPlan as Fa, blockBookingPaymentTermsSchema as Fc, surfaceResolutionContextFromTheme as Fd, EDITOR_LOADING_NOTICE as Ff, asRecord as Fg, buttonStateAppearanceDeclarations as Fh, calendarWindowQuerySchema as Fi, blogFeaturedPostFragment as Fl, updateButtonStyleSelectionChoice as Fm, readNumberFieldUiConfig as Fn, resolveEventRegistrationSubmitPlan as Fo, ReactRemoveScroll as Fp, buildCheckoutInteractiveIslandProps as Fr, getTicketLineQuantity as Fs, reorderSlotBlocks as Ft, coerceInlineTextWithFallback as Fu, useEntryEditorController as G, formatDate$3 as G_, isOfferingsPreviewSourceKey as Ga, siteFooterManifest as Gc, buildTextContrastShadow as Gd, ApiEnvelopeError as Gf, testimonialsCompositionTreatmentValues as Gg, safeTokenOr as Gh, toError as Gi, isBlockButtonRole as Gl, MQ_LG_UP as Gm, planBackgroundTransition as Gn, resolveRouteRequiresPayment as Go, Item as Gp, formatInterval as Gr, eventListWeekDays as Gs, ApiRequestError as Gt, plainTextToInlineText as Gu, usePreviewToken as H, editorBlockCollectionOwnersEqual as H_, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Ha, shouldReserveFeatureCardIconZone as Hc, getHeaderStyle as Hd, API_ENDPOINTS as Hf, introCompositionTreatmentValues as Hg, generateShadowValue as Hh, getEventPaginationView as Hi, heroCtaRowFragment as Hl, generateMobileOverlayBackdropFilterFix as Hm, parseBackgroundColorToken as Hn, resolveDiscountContext as Ho, __spreadArray as Hp, buildProductCardDisplay as Hr, toRegistrationEvents as Hs, SURFACE_DOCUMENT_DATA_ATTRIBUTE as Ht, normalizeInlineText as Hu, selectedLookTile as I, syncStateOf as I_, normalizeEventRegistrationPageSurfaceSubject as Ia, FEATURE_CARD_GENERATED_ICON_SIZE_PX as Ic, gradientToCss as Id, editorAdmissionIsOpen as If, skinTokenCssVars as Ig, buttonTypographyDeclarations as Ih, planCalendarMonthRanges as Ii, singleButtonFragment as Il, buttonStyleSelectionKey as Im, readSliderFieldUiConfig as In, calculateEventRegistrationPreviewTotal as Io, __assign as Ip, buildProductDetailInteractiveIslandProps as Ir, getTicketSelectionTotal as Is, withSlotCompositionHash as It, deriveInlineTextFieldChanges as Iu, runHeldLifecycle as J, formatDateTimeRange as J_, offeringsListingFor as Ja, SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR as Jc, headerNeedsPhotoShade as Jd, sidebarReturnView as Jf, generateFontFaceCss as Jg, expandPalette as Jh, normalizeCsvIds as Ji, defineFragment as Jl, MQ_SM_UP as Jm, createCustomBlockRegistry as Jn, createRegistrationDraftData as Jo, Presence as Jp, passCardListContent as Jr, formatEventPriceAmount as Js, createSnapshotFromPageRecord as Jt, truncateInlineText as Ju, createSessionJournalBindings as K, formatDateRange as K_, normalizeOfferingsPreviewGroupOrder as Ka, siteHeaderManifest as Kc, generateNavLinkCSS as Kd, extractApiEnvelopeErrorDetails as Kf, buildFontPreviewUrl as Kg, surfaceInkPublication as Kh, buildEventRuntimeFilters as Ki, heroCopyFragment as Kl, MQ_MD_DOWN as Km, rankBackgroundImagePoolItems as Kn, toRegistrationRequestSubject as Ko, Root$1 as Kp, membershipCardListContent as Kr, weekColumnDays as Ks, PREVIEW_CHROME_Z_INDEX as Kt, removeInlineTextMarkFromRange as Ku, createGuardedPreviewApiClient as L, valueStatus as L_, resolveEventRegistrationScopedEvents as La, FEATURE_CARD_ICON_TREATMENTS as Lc, GRADIENT_PRESETS as Ld, editorAdmissionNotice as Lf, asDesignBlockId as Lg, materializeRuntimeButtonAppearance as Lh, resolveCalendarReadProfile as Li, formEmbedFragment as Ll, generateEffectsCSS as Lm, backgroundColorTokens as Ln, buildBookingPaymentSelectionViewModel as Lo, __awaiter as Lp, buildProductListInteractiveIslandProps as Lr, getTicketTypeLineMax as Ls, blocksKeys as Lt, inlineTextAccentTones as Lu, lookPositionLabel as M, parseEditLeaseScope as M_, bookingNowSchema as Ma, bookingConsentCarrierSchema as Mc, palettesForSiteStyle as Md, augmentManifestWithStyleGroups as Mf, indexRenderableMediaAssets as Mg, buttonBorder as Mh, calendarWindowBounds as Mi, cardFragment as Ml, findButtonStyleRecipe as Mm, getRepeaterItemDefault as Mn, visitorHoldsOwnPlace as Mo, DialogTrigger$1 as Mp, productListBlockDefinition as Mr, formatPrice as Ms, listEntryPageContentSlots as Mt, parseGeneratedIconSetId as Mu, lookTilePosition as N, displayedValues as N_, previewStageSchema as Na, isBookingRequirementConsentFieldId as Nc, requireCuratedSiteStyle as Nd, isObjectRecord$1 as Nf, resolveManagedMediaReference as Ng, buttonRadius as Nh, calendarWindowMonths as Ni, faqAccordionFragment as Nl, resolveButtonStyleSelection as Nm, normalizeFieldForCanonicalValidation as Nn, isEventRegistrationAvailable as No, menuItemInteractionClassName as Np, shopBlockDefinition as Nr, canRequestTicketOption as Ns, listPageSurfaceContentSlots as Nt, parseSiteIconStyleGuideVersionId as Nu, usePreviewJoinOutcome as O, readEditorBlockVersionsFromPlacement as O_, eventRegistrationBlockDefinition as Oa, verifiedSiteTermsAcceptanceSchema as Oc, designRuntimeRulesForTheme as Od, resolveRepeaterGridColumnsForBreakpoint as Of, mediaSchema as Og, formatButtonColourContractError as Oh, calendarMonthDate as Oi, pageTemplateFromEntry as Ol, canEditorWrite as Om, createManifestFormAdapter as On, resolveRegistrationAdmission as Oo, DialogDescription$1 as Op, buildGiftingInteractiveIslandProps as Or, getVisibleTicketTypes as Os, createSlotBlock as Ot, getGeneratedBlockIconStyleState as Ou, unsafeAsSiteId as Ov, lookTilesFor as P, knownRevision as P_, eventCalendarListGroupingDecision as Pa, toBookingRequirementConsentField as Pc, compiledRuntimeStyleFieldNames as Pd, isRecord$13 as Pf, mediaIdentifierSchema as Pg, buttonShadow as Ph, calendarWindowPageSchema as Pi, faqHeadingFragment as Pl, updateButtonStyleHoverPreference as Pm, getGroupChildFields as Pn, normalizeEventRegistrationMaxTickets as Po, menuTriggerInteractionClassName as Pp, buildCartInteractiveIslandProps as Pr, getSingleSelectedPricingOptionId as Ps, reorderBlocks as Pt, applyInlineTextMarkToRange as Pu, useSessionJournalHistory as Q, resolveBookingDisplayContext as Q_, resolveOfferingsPreviewGroups as Qa, markEditableSurfaceForwarding as Qc, sectionShapeHook as Qd, trustedJournalState as Qf, getBookingLaterInstalments as Qg, contrastRatio as Qh, listingEventCardProps as Qi, resolveCardRoleForBoxStyles as Ql, siteChromeBackgroundOverrideOwner as Qm, getAtPath as Qn, getEligibilityFlowFlags as Qo, Content as Qp, deriveCommerceCheckoutState as Qr, eventDateOptions as Qs, resolveContentTitle as Qt, bindingSchema as Qu, initPreviewAuth as R, createEditorInsertBlockCommand as R_, offeringNounForEvent as Ra, createFeatureCardIconKey as Rc, getGradientPreset as Rd, editorAdmissionRefusal as Rf, asLayoutVariantKey as Rg, paddingDeclarations as Rh, createInitialEventPaginationLoadState as Ri, formCopyFragment as Rl, generateInteractiveChildInheritanceCSS as Rm, canCycleBackgroundOverrideValue as Rn, buildReviewedBookingPaymentViewModel as Ro, __extends as Rp, buildShopInteractiveIslandProps as Rr, hasValidPricingOptionSelection as Rs, normalizeApiError as Rt, inlineTextEqual as Ru, setPageDesignBlockBackground as S, knownSocialPlatformLabels as S_, getCardOrientation as Sa, getEventAvailabilityStatus as Sc, resolveEffectiveArrangement as Sd, isRepeaterGridLayoutInvalid as Sf, normalizeRightAngle as Sg, parseSurfaceTree as Sh, buildEventCollectionDisplay as Si, listItemPresentation as Sl, cn as Sm, toEditorBlockItem as Sn, fullyBookedLabel as So, DialogHeader as Sp, resolveLocationMapLocation as Sr, formatPassCreditUsageLabel as Ss, getFieldIntent as St, RichTextDocSchema as Su, assertNever$10 as Sv, ObservedJoin as T, publicProfileWeekdays as T_, eventCheckoutResponseSchema as Ta, selectEventCapacitySource as Tc, defaultPolicyPageFlowPresetId as Td, resolveRepeaterGridAcceptedSpans as Tf, resolveMediaTransformForAspect as Tg, actionVariableFallback as Th, eventCollectionDisplaySchemaShape as Ti, lookListPresentationSchemaShape as Tl, isEdited as Tm, unsafeAsLinkedContentEntryId as Tn, planRegistrationDetailsCheck as To, Dialog$1 as Tp, buildNewsletterFormInteractiveIslandProps as Tr, getImplicitSingleTicketType as Ts, isNonEmptyValue as Tt, sanitizeHref as Tu, unsafeAsPositiveByteCount as Tv, EntryControllerProvider as U, unsafeAsEditorBlockId as U_, buildOfferingsPreviewListing as Ua, suggestSemanticIconForFeatureCard as Uc, findCuratedPalette as Ud, pageCommitReasonMessage as Uf, makeBoundaryId as Ug, mapButtonVisualAppearances as Uh, planEventPageOperation as Ui, ctaRowFragment as Ul, getHeaderPaintTargets as Um, parseBackgroundOverrideFromContent as Un, resolveEventRequiresPayment as Uo, __spreadArrays as Up, buildProductDetailDisplay as Ur, toWholeSeriesRegistrationEvents as Us, SURFACE_IDS as Ut, normalizeInlineTextMarks as Uu, usePreviewAuth as V, editorBlockCollectionOwnerKey as V_, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as Va, resolveFeatureCardGeneratedIconSizePx as Vc, getHeaderLayout as Vd, OPERATION_ID_HEADER as Vf, featureCardCompositionTreatmentValues as Vg, FONT_SIZE_MAP as Vh, getEventIdentity as Vi, ctaCopyFragment as Vl, generateHeaderScrollTreatmentStyles as Vm, imagePoolForOverride as Vn, findPreSelectedEvent as Vo, __rest as Vp, buildCartDisplay as Vr, getRegistrationStartAt as Vs, DEFAULT_SURFACE_ID as Vt, isInlineTextEmpty as Vu, useEntryController as W, unsafeAsEditorBlockValues as W_, inferLegacyOfferingsPreviewGroupOrder as Wa, toFeatureCardIconSuggestionInputs as Wc, generateFooterCss as Wd, pageCommitReasonTag as Wf, offeringsPreviewCompositionTreatmentValues as Wg, resolveSurfaceForeground as Wh, toEventPaginationLoadError as Wi, BLOCK_BUTTON_ROLE_OPTIONS as Wl, renderHeaderPaintTargetRules as Wm, parseCanonicalSectionBackground as Wn, resolveRegistrationTarget as Wo, hideOthers as Wp, formatCommercePrice as Wr, buildEventListWeek as Ws, resolveSurfaceDocumentAttributes as Wt, parseInlineTextFromUnknown as Wu, useServerRefresh as X, formatTimeZoneCityLabel as X_, resolveOfferingsPreviewGroupCta as Xa, EDITABLE_SURFACE_FORWARDING_PROP as Xc, sectionShapeForGround as Xd, journalTargetKey as Xf, getSiteFontsStorageUrl as Xg, resolveConcreteColorHex as Xh, normalizeOptionalId as Xi, boxStyleClassNames as Xl, isThemeV2NormalEditorRawStyleFieldName as Xm, fieldsNotShownIn as Xn, formatCentsAsCurrencyInput as Xo, Anchor as Xp, buildPassCartItem as Xr, buildCalendarViewport as Xs, deriveRouteMetadataPresentation as Xt, parseFieldDefinition as Xu, SessionJournalProvider as Y, formatTime$2 as Y_, planOfferingPreviewCardSelection as Ya, planSiteOverlayHeaderClearance as Yc, headerRootPaint as Yd, journalLabels as Yf, getFontWidthRange as Yg, getTextColorForBackground as Yh, normalizeCsvString as Yi, boxStylesTransforms as Yl, MQ_TABLET_ONLY as Ym, mergeBlockDescriptorsWithRegistry as Yn, invitationSubmission as Yo, Portal as Yp, EMPTY_COMMERCE_CART_STATE as Yr, formatEventPriceDisplay as Ys, routeLifecycleContext as Yt, PUBLIC_FILE_FIELD_KINDS as Yu, useSessionJournal as Z, inferSiteDateLocale as Z_, resolveOfferingsPreviewGroupOrderEntries as Za, composeHeaderSectionWrapperClassName as Zc, sectionShapeFromContent as Zd, journalTrustAt as Zf, resolveAvailableBookingCollectionOptions as Zg, resolveOpaqueSurfaceHex as Zh, catalogueEventCardProps as Zi, normalizeBoxStylesBorder as Zl, isThemeV2NormalEditorRawStylePath as Zm, lookPartShown as Zn, getCurrentTicketSelection as Zo, Arrow as Zp, buildProductCartItem as Zr, eventCalendarWeekStart as Zs, resolvePageRouteSlug as Zt, siteOptionSources as Zu, applyBindingsToContent as _, sameMailingListPlacementTargeting as __, SECTION_BACKGROUND_MIN_SOURCE_WIDTH as _a, canJoinEventWaitlist as _c, arrangementLookHooks as _d, planRepeaterGridSpanChange as _f, surfaceCardRoleValues as _g, rgbColorValue as _h, toggleEventType as _i, createInteractiveIslandCodec as _l, cva as _m, remoteDraftValues as _n, isRegistrationLocked as _o, Dialog as _p, getBlockDefinition as _r, areEntitlementsDisabledForTicketCount as _s, collectVisibleWhenWatchPaths as _t, parseStoredVariant as _u, publicEventPricingStrategy as _v, PreviewPageDesignEditorStateProvider as a, generateUuidV4 as a_, getRichTextImageSize as aa, formatEventHourLabel as ac, compileEditorModelRuntime as ad, transitionCatalogueEntries as af, DEFAULT_SURFACE_TEXT_COLOR as ag, INPUT_SPACING_MAP as ah, offeringsCatalogueShape as ai, resolveDateRuntimeContext as al, DismissableLayer as am, shouldRevealAllBlockFieldValidation as an, bookingPanelHeading as ao, usePrevious as ap, selectBlockContent as ar, shouldLoadRegistrationOptions as as, EditLeaseModal as at, ctaButton as au, getLocalScheduleDate as av, pageDesignLookPosition as b, parseMailchimpInterestId as b_, getCurrentResolveImageUrlContext as ba, formatTotalCapacity as bc, arrangementManifestFromVariants as bd, flowRepeaterGridItems as bf, paletteValueKey as bg, opaqueSurfaceContextFromTheme as bh, buildEventListingInteractiveIslandProps as bi, defineClientOwnedBlockRuntime as bl, composeRefs as bm, resolveRenderedValues as bn, decideEventRegistrationPayment as bo, DialogDescription as bp, normalizeLocationMapProps as br, formatDate as bs, evaluateVisibleWhenPredicate as bt, admitLayoutGridForPlan as bu, resolvePricingOptionsPriceDisplay as bv, usePreviewShownTheme as c, parseMailingListRuntimeContext as c_, computeMediaTransformStyle as ca, formatTime$1 as cc, mergeHeaderNavTypographyPreference as cd, parseCanonicalRuntimeBackground as cf, surfaceForegroundDeclarations as cg, ACCORDION_SPACING_MAP as ch, buildEventCalendarInteractiveIslandProps as ci, chromeLogoTransforms as cl, createCollection as cm, parseStoredSidebarWidth as cn, registrationPaymentRoute as co, CalloutDescription as cp, resolveFieldOwnership as cr, err as cs, LeaseNoticeButtons as ct, lookCarouselRegionTransform as cu, resolveBookingBusinessTimeZone as cv, cycleSiteChromeSelectionId as d, resolveMailingListDefaultDestination as d_, renderVideo as da, resolveRuntimeEventDestination as dc, concretePaletteToTheme as dd, appearancePresets as df, surfaceForegroundValue as dg, ICON_CONFIG as dh, projectRecurringSchedule as di, planSiteChromePlacement as dl, createContextScope as dm, selectJournalWriteState as dn, registrationStepLabel as do, FIELD_CONTROL_CLASS as dp, systemCustomizeFacetAppliesToLayoutVariant as dr, clearWorkflowFeedback as ds, JournalWriteRefused as dt, lookSkinSlotTransform as du, parseUtcIsoDateTimeString as dv, authoredValuesEqual as e_, CardListLeadDate as ea, formatCalendarTitle as ec, selectItemSurfacePresentation as ed, defaultSectionTransitionVariantForFamily as ef, oklabToOklch as eg, getComponentShadowVar as eh, productItemKey as ei, contentTransforms as el, createPopperScope as em, useEditorUiStore as en, DEFAULT_BOOKING_BUTTON_TEXT as eo, SelectContent as ep, withValueAtPath as er, getSlidingScaleForEvent as es, savedContentReceipt as et, parseBackgroundOverlay as eu, toScheduledBookingDateTime as ev, PreviewThemeJournalProvider as f, mailingListProviderName as f_, resolveImageSourceSetWithContext as fa, formatBookingSchedulePresentation as fc, resolveVisiblePromotedFieldPathsForEditorBlock as fd, lookModes as ff, surfaceForegroundValueWithOpacity as fg, ICON_SIZE_PX as fh, EVENT_SELECTION_SCOPE_OPTIONS as fi, uiTransforms as fl, composeEventHandlers as fm, journalNoticeMessage as fn, registrationStepLabelContext as fo, FIELD_FOCUS_CLASS as fp, systemCustomizeFacetDefinitionForBlock as fr, reportWorkflowError as fs, journalFailureReason as ft, asPartialObject as fu, toUtcIsoDateTimeString as fv, previewThemeBase as g, mailingListTargetingChoiceIds as g_, resolvePublicMediaUrl as ga, shownVenue as gc, storedSectionPhoto as gd, buildRepeaterGridDropTargets as gf, generateDefaultCardSystem as gg, mergeStyles as gh, readEventSelectionChips as gi, buildInteractiveIslandProps as gl, buttonVariants as gm, planLinkedSaveHandoverRetention as gn, getDeclinedPass as go, NATIVE_CHOICE_CLASS as gp, resolveArrangementKnobs as gr, ENTITLEMENT_SINGLE_TICKET_TOOLTIP as gs, derivePromotedFieldPlan as gt, when as gu, publicEventPricingDisplay as gv, composePreviewTheme as h, DEFAULT_MAILING_LIST_TARGETING as h_, resolveMediaStorageUrl as ha, placesLeftLabel as hc, sectionPhotoPresence as hd, PUBLIC_DOWNLOAD_MEDIA_TYPES as hf, resolveCardRole as hg, cssVarValue as hh, chooseScheduleScope as hi, buildFormInteractiveIslandProps as hl, Button as hm, activeLinkedSaveHandover as hn, decideEventChoice as ho, FIELD_TEXTAREA_CLASS as hp, arrangementKnobChoices as hr, resolveFinishedPresentation as hs, publishContentEntry as ht, el as hu, publicEventPricingCurrency as hv, usePreviewSidebarNavigation as i, resolveWholeSeriesBookingPhase as i_, RichText as ia, formatEventDateParts as ic, applyCompiledRuntimeFieldsToContent as id, anglePolygonCss as if, srgbToOklab as ig, INPUT_FONT_SIZE_MAP as ih, buildOfferingsCatalogueListing as ii, readRuntimeNow as il, useFocusGuards as im, recoveryConflictCopy as in, bookingEntryProgress as io, Root as ip, readinessFactsFromLoaders as ir, resolveHeldTicketPlaces as is, EditLeaseDiscardedNotice as it, resolveBackgroundColorValue as iu, getBookingLocalDateKey as iv, STYLE_DEFAULT_LOOK_KEY as j, EDITOR_SESSION_GENERATION_HEADER as j_, displayButtonText as ja, blockBookingConsentSchema as jc, offeredSiteStyles as jd, resolveBlockTitle as jf, renderableMediaAssetSchema as jg, resolveTokenOrCssColorValue as jh, calendarQueryKey as ji, headingFragment as jl, buttonStyleSelectionParameterValue as jm, getFieldDefault as jn, settledRemainingPlaces as jo, DialogTitle$1 as jp, productDetailBlockDefinition as jr, withOccurrenceTitle as js, isSurfaceSlotBlockTarget as jt, parseGeneratedIconAssetId as ju, usePreviewRenderBackgrounds as k, readPublishedBlockPlacement as k_, buildEventRegistrationDisplayFromScopedEvents as ka, groupPublicEventsByRun as kc, getCuratedSiteStyle as kd, resolveRepeaterGridRowFieldId as kf, runtimeMediaSchema as kg, isCssColorLiteral as kh, calendarMonthKey as ki, Grid as kl, unmanagedSurfaceEditability as km, createManifestValidation as kn, resolveRegistrationAvailabilityBlocker as ko, DialogOverlay$1 as kp, checkoutBlockDefinition as kr, occurrenceTitleOverride as ks, deleteBlock as kt, parseBlockIconValue as ku, expectParsedBrandedId as kv, SiteChromeCustomizeProvider as l, resolveBookingSignupOffer as l_, mediaImageHostProps as la, groupEventsByDate as lc, readHeaderNavFontSizePreference as ld, resolveCompiledSectionContextFromContent as lf, surfaceForegroundInputFromResolved as lg, ACCORDION_TRIGGER_FONT_SCALE as lh, buildEventCalendarListingDisplay as li, layoutTransforms as ll, useControllableState as lm, selectAutosaveStatus as ln, registrationPresentation as lo, CalloutTitle as lp, withoutLookOwnedContent as lr, ok as ls, getEditorClientId as lt, lookLeadSlotTransform as lu, resolveBookingTimeZoneId as lv, usePreviewThemeSourceOptional as m, parseMailingListVisitorSelection as m_, resolveMediaNodeResponsiveImage as ma, getBlockApiReadStage as mc, decideSectionPhoto as md, planLayoutGridColumnEdit as mf, surfaceInkStyle as mg, backgroundColorStyle as mh, chooseAllEvents as mi, formBlockDefinition as ml, dispatchDiscreteCustomEvent as mm, canDiscardDraft as mn, createInitialRegistrationFlowState as mo, FIELD_SURFACE_CLASS as mp, systemCustomizeFacetStoredValue as mr, confirmationPaymentRows as ms, missingReceiptError as mt, runTransforms as mu, isPublicEventPricingOptionDisplayable as mv, usePreviewAssistantSlot as n, nextLiveRunSessionStartMs as n_, selectCardListPresentation as na, formatEventClockLabel as nc, effectiveHeaderNavLinkStyle as nd, sectionTransitionFamilyForBoundaryOptionId as nf, oklchToHexGamut as ng, parseCustomCssRules as nh, offeringsPreviewBlockDefinition as ni, teamMemberBiography as nl, useId$1 as nm, useOptionalEditorUiStoreInstance as nn, bookingCardEntry as no, SelectTrigger as np, publishReadinessWarning as nr, getTicketSelectionRemainingPlaces as ns, useRetentionTicks as nt, resolveSectionSurfaceForeground as nu, compareLocalScheduleDates as nv, usePreviewPageDesignEditorState as o, slugify as o_, ImagePresets as oa, formatEventNextDateFact as oc, resolveEditorArrangementLook as od, applyLookPhotoTreatment as of, SURFACE_FOREGROUND_CSS_VARS as og, LABEL_FONT_SIZE_MAP as oh, eventCalendarBlockDefinition as oi, mediaTransforms as ol, useCallbackRef$1 as om, unfinishedBlockCopy as on, getEventSelectionMode as oo, clamp$1 as op, contentPathsOwnedBy as or, validateFormData as os, EditorWriteSurface as ot, BACKGROUND_POSITION_PRESET_VALUES as ou, parseBookingLocalDate as ov, usePreviewThemeSource as p, parseMailingListPlacementTargeting as p_, resolveImageUrlWithContext as pa, browserReadAuthoritySchema as pc, backgroundImagePromotedFieldPath as pd, isInternalResolvedLinkValue as pf, surfaceInkDeclarations as pg, TokenResolver as ph, EVENT_SELECTION_TYPE_OPTIONS as pi, formattingTransforms as pl, Primitive as pm, lifecycleOutcomeMessage as pn, areEventRegistrationPaymentSelectionsEqual as po, FIELD_FOCUS_WITHIN_CLASS as pp, systemCustomizeFacetDefinitionsForBlock as pr, reportWorkflowSuccess as ps, sendPageCommand as pt, createTransformRegistry as pu, formatBookingPriceDisplay as pv, DONE as q, formatDateTime as q_, normalizeOfferingsPreviewItemLimit as qa, SITE_CHROME_VISIBLE_HEADER_SELECTOR as qc, formatSiteChromeBackgroundTokenLabel as qd, unwrapResponse as qf, buildGoogleFontFamilyQuery as qg, solveSurfaceInks as qh, getEventRuntimeFiltersKey as qi, bodyCopyFragment as ql, MQ_SM_DOWN as qm, resolveBackgroundCapability as qn, beginWaitlistInvitation as qo, createRovingFocusGroupScope as qp, membershipClassesLabel as qr, formatEventPrice as qs, createRoutingHelpers as qt, replaceInlineTextRange as qu, PreviewSidebarBootstrap as r, orderedLiveRunSessions as r_, MediaNodeServer as ra, formatEventCompactDateRail as rc, readOpeningToneProjection as rd, sectionTransitionVariantForBoundaryOptionId as rf, rgbToHex as rg, FONT_WEIGHT_MAP$1 as rh, publicRouteCandidatesSchema as ri, teamMemberCardBiography as rl, FocusScope as rm, useSidebarView as rn, bookingEntry as ro, SelectValue as rp, readinessFactsFromPayload as rr, parseCurrencyInputToCents as rs, VIEWING_PARTICIPATION as rt, resolveSurfaceForegroundStyles as ru, formatLocalScheduleDate as rv, usePreviewPageDesignRenderState as s, buildMailingListSignupBlockSourceRef as s_, MediaPlaceholder as sa, formatEventTimeRange as sc, restoreCompiledRuntimeFieldsFromContent as sd, deriveSectionGround as sf, SURFACE_INK_CSS_VARS as sg, ACCORDION_OPEN_ACCENT_THICKNESS as sh, eventCalendarPagingFields as si, headerRuntimeTransforms as sl, useDirection as sm, SIDEBAR_WIDTH as sn, panelShouldOpen as so, Callout as sp, fieldPathsOwnedBy as sr, assertNever$3 as ss, LeaseDiscardedNoticeView as st, getAnchorClasses as su, parseLocalScheduleTime as sv, PreviewAssistantSlotProvider as t, CANCELLED_SESSION_STATUS as t_, resolveCardListSchedule as ta, formatDate$1 as tc, heroPhotoPaintsGround as td, sectionTransitionFamilies as tf, oklabToSrgb as tg, parseBlockCustomCssRules as th, reduceCommerceCart as ti, parseTeamMemberSpecialties as tl, useSize as tm, useEditorUiStoreInstance as tn, bookingBarPlacement as to, SelectItem as tp, PUBLISH_READINESS_COPY as tr, getSlidingScaleSelectionMessage as ts, savedRouteReceipt as tt, parseRuntimeBackgroundContent as tu, addLocalScheduleDays as tv, useSiteChromeCustomizeOptional as u, assessMailingListTargeting as u_, renderAudio as ua, resolveEventTimeZone as uc, concretePaletteFromTheme as ud, resolveSectionBackground as uf, surfaceForegroundStyle as ug, ACCORDION_TRIGGER_LETTER_SPACING as uh, buildEventCalendarListingRender as ui, staticHeaderChromeRuntime as ul, useLayoutEffect2 as um, selectEditorWriteState as un, registrationRoute as uo, FieldTrigger as up, isSystemCustomizeFacetId as ur, okWith as us, createSessionJournal as ut, lookQuoteLimitTransform as uu, toBookingTimeZone as uv, buildPageDesignEditorReadModelForBlocks as v, parseBrevoListId as v_, resolveMediaSlotContract as va, canJoinEventWaitlistOnAnyMode as vc, arrangementSlotNames as vd, projectRepeaterGridLayout as vf, hexColorSchema as vg, textColorStyle as vh, writeEventSelectionChips as vi, defineInteractiveIslandMetaKeys as vl, createSlot as vm, renderSourceFor as vn, registrationFlowReducer as vo, DialogClose as vp, listBlockDescriptors as vr, findSelectedTicketType as vs, evaluateVisibility as vt, compileManifestContentContract as vu, publicEventPricingType as vv, selectedImageFromRenderableAsset as w, parsePublicProfile as w_, resolveEventSelection as wa, isEventFull as wc, resolvePublishedLook as wd, planRepeaterGridStartNewRow as wf, parseAspectRatioValue as wg, serializeSurfaceTree as wh, buildEventCollectionListingDisplay as wi, listLookSlot as wl, baselineRevisionOf as wm, deriveEditorValuePublicationState as wn, placeCountCeiling as wo, DialogTrigger as wp, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as wr, formatTime as ws, hasVisibilityConditions as wt, richTextVariantCapabilities as wu, unsafeAsMediaAssetId as wv, pageDesignLookTiles as x, parseNewsletterListId as x_, setContextResolveImageUrlContext as xa, getEventAvailability as xc, readStoredMode as xd, isAcceptedRepeaterGridSpan as xf, isRotationDimensionSwap as xg, opaqueSurfaceDeclarations as xh, eventListingBlockRuntime as xi, defineProgressiveBlockRuntime as xl, useComposedRefs as xm, useStore as xn, shouldPromptForLogin as xo, DialogFooter as xp, normalizeLocationMapSource as xr, formatEventDateTime as xs, getVisibleWhenPredicates as xt, deriveFieldValidationPlan as xu, formatCurrencyAmount as xv, cyclePageDesignBlockLook as y, parseMailchimpAudienceId as y_, buildResolveImageUrlContext as ya, formatEventRemainingPlaces as yc, lookDefinitionForId as yd, findFirstAvailableRepeaterGridPlacement as yf, paletteColorEntries as yg, textColorValue as yh, eventListingBlockDefinition as yi, createZodCodec as yl, createSlottable as ym, renderedFieldChanges as yn, buildEventRegistrationPaymentOptionsViewModel as yo, DialogContent as yp, normalizeBlockContent as yr, formatBookingWhen as ys, evaluateVisibleWhen as yt, validateManifestDraft as yu, resolveExactOrFreePriceDisplay as yv, registerPreviewRenewalFetcher as z, createEditorRemoveBlockCommand as z_, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as za, getFeatureCardIconCompletion as zc, parseGradientPresetId as zd, editorAdmissionSession as zf, asSiteStyleId as zg, BORDER_WIDTH_MAP as zh, eventPageOperationQuery as zi, testimonialsCarouselFragment as zl, themeSchema as zm, defaultBackgroundOverrideForMode as zn, paymentChoiceDetails as zo, __generator as zp, getShopDisplayForItems as zr, normalizeTicketSelectionLines as zs, getDashboardBaseUrl as zt, inlineTextHighlightTones as zu };
112193
+ export { pageEvidenceEvents as $, createEditorInsertBlockCommand as $_, resolveOfferingsPreviewGroupCta as $a, SITE_STICKY_CHROME_HEIGHT_FALLBACK as $c, generateFooterCss as $d, pageCommitReasonMessage as $f, asLayoutVariantKey as $g, generateShadowValue as $h, catalogueEventCardProps as $i, isBlockButtonRole as $l, getHeaderPaintTargets as $m, getAtPath as $n, formatCentsAsCurrencyInput as $o, __spreadArrays as $p, deriveCommerceCheckoutState as $r, buildCalendarViewport as $s, planLeaseNotice as $t, plainTextToInlineText as $u, usePreviewRenderReadiness as A, DEFAULT_MAILING_LIST_TARGETING as A_, eventRegisterResponseSchema as Aa, blockSiteTermsSchema as Ac, readStoredMode as Ad, flowRepeaterGridItems as Af, resolveCardRole as Ag, opaqueSurfaceContextFromTheme as Ah, calendarMonthDate as Ai, listItemPresentation as Al, composeRefs as Am, manifestFieldSectionOptions as An, resolveGuestNextStepCheck as Ao, DialogDescription as Ap, checkoutBlockDefinition as Ar, getTicketTypeAvailabilityLabel as As, deleteSlotBlock as At, RichTextDocSchema as Au, publicEventPricingCurrency as Av, renewPreviewSession as B, publicProfileWeekdays as B_, resolveEventRegistrationScopedEvents as Ba, FEATURE_CARD_ICON_TREATMENTS as Bc, offeredSiteStyles as Bd, resolveRepeaterGridSpanFieldId as Bf, resolveMediaTransformForAspect as Bg, isCssColorLiteral as Bh, createInitialEventPaginationLoadState as Bi, cardFragment as Bl, buttonStyleHoverPreferenceValue as Bm, enabledBackgroundModes as Bn, buildBookingPaymentSelectionViewModel as Bo, DialogPortal$1 as Bp, getShopDisplayForItems as Br, getTicketTypeLineMax as Bs, getDashboardUrl as Bt, parseGeneratedIconSetId as Bu, unsafeAsPositiveByteCount as Bv, selectedImageFromMediaValue as C, parseMailingListRuntimeContext as C_, setContextResolveImageUrlContext as Ca, formatTotalCapacity as Cc, decideSectionPhoto as Cd, isInternalResolvedLinkValue as Cf, surfaceForegroundDeclarations as Cg, TokenResolver as Ch, eventListingBlockRuntime as Ci, buildFormInteractiveIslandProps as Cl, Primitive as Cm, withoutServerVersions as Cn, decideEventRegistrationPayment as Co, FIELD_FOCUS_WITHIN_CLASS as Cp, resolveLocationMapLocation as Cr, formatDate as Cs, getWidgetKey as Ct, el as Cu, resolveBookingBusinessTimeZone as Cv, PreviewRenderPlanProjection as D, mailingListProviderName as D_, EVENT_BOOKING_ARRIVAL_QUERY as Da, isEventFull as Dc, arrangementSlotNames as Dd, planRepeaterGridSpanChange as Df, surfaceForegroundValueWithOpacity as Dg, rgbColorValue as Dh, eventCollectionDisplaySchemaShape as Di, createZodCodec as Dl, cva as Dm, initialBlockDraftValues as Dn, placeCountCeiling as Do, Dialog as Dp, newsletterBlockSubmissionMessage as Dr, formatTime as Ds, createBlock as Dt, validateManifestDraft as Du, toUtcIsoDateTimeString as Dv, PreviewRenderObservationsProvider as E, resolveMailingListDefaultDestination as E_, resolveEventSelection as Ea, getRemainingPlaces as Ec, arrangementLookHooks as Ed, buildRepeaterGridDropTargets as Ef, surfaceForegroundValue as Eg, mergeStyles as Eh, buildEventCollectionListingDisplay as Ei, defineInteractiveIslandMetaKeys as El, buttonVariants as Em, editorAuthoredBlockDocument as En, getTicketSelectionPurpose as Eo, NATIVE_CHOICE_CLASS as Ep, buildNewsletterFormInteractiveIslandProps as Er, formatRegistrationSchedule as Es, partitionFieldsByIntent as Et, compileManifestContentContract as Eu, parseUtcIsoDateTimeString as Ev, nextLookTilePin as F, parseMailchimpInterestId as F_, bookingNowSchema as Fa, bookingConsentCarrierSchema as Fc, deriveSiteStyleBlockPolicy as Fd, resolveRepeaterGridAcceptedSpans as Ff, paletteValueKey as Fg, compositeHex as Fh, calendarWindowMonths as Fi, itemRole as Fl, isEdited as Fm, readNumberFieldUiConfig as Fn, visitorHoldsOwnPlace as Fo, Dialog$1 as Fp, buildCartInteractiveIslandProps as Fr, formatPrice as Fs, reorderSlotBlocks as Ft, getBlockIconSemanticId as Fu, resolvePricingOptionsPriceDisplay as Fv, useEntryEditorController as G, selectedContentVersionId as G_, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Ga, shouldReserveFeatureCardIconZone as Gc, gradientToCss as Gd, EDITOR_LOADING_NOTICE as Gf, buildRenderableMediaAssetIndex as Gg, buttonShadow as Gh, planEventPageOperation as Gi, formEmbedFragment as Gl, updateButtonStyleSelectionChoice as Gm, planBackgroundTransition as Gn, resolveDiscountContext as Go, ReactRemoveScroll as Gp, formatCommercePrice as Gr, toRegistrationEvents as Gs, ApiRequestError as Gt, inlineTextAccentTones as Gu, parseUuidBrand as Gv, usePreviewToken as H, NO_BLOCK_VERSIONS as H_, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as Ha, getFeatureCardIconCompletion as Hc, requireCuratedSiteStyle as Hd, augmentManifestWithStyleGroups as Hf, getImageUrl as Hg, resolveTokenOrCssColorValue as Hh, eventPaginationLoadReducer as Hi, faqHeadingFragment as Hl, findButtonStyleRecipe as Hm, parseBackgroundColorToken as Hn, paymentChoiceDetails as Ho, DialogTrigger$1 as Hp, buildCartDisplay as Hr, normalizeTicketSelectionLines as Hs, SURFACE_DOCUMENT_DATA_ATTRIBUTE as Ht, applyInlineTextMarkToRange as Hu, parseSiteId as Hv, selectedLookTile as I, parseNewsletterListId as I_, previewStageSchema as Ia, isBookingRequirementConsentFieldId as Ic, componentRuntimeRulesForTheme as Id, resolveRepeaterGridBreakpointForWidth as If, isRotationDimensionSwap as Ig, actionVariableFallback as Ih, calendarWindowPageSchema as Ii, pageTemplateFromEntry as Il, canWriteLinkedEntry as Im, readSliderFieldUiConfig as In, isEventRegistrationAvailable as Io, DialogClose$1 as Ip, buildCheckoutInteractiveIslandProps as Ir, canRequestTicketOption as Is, withSlotCompositionHash as It, getGeneratedBlockIconStyleState as Iu, formatCurrencyAmount as Iv, runHeldLifecycle as J, displayedValues as J_, isOfferingsPreviewSourceKey as Ja, siteFooterManifest as Jc, parseGradientPresetId as Jd, editorAdmissionRefusal as Jf, resolveManagedMediaReference as Jg, materializeRuntimeButtonAppearance as Jh, buildEventRuntimeFilters as Ji, testimonialsHeadingFragment as Jl, generateInteractiveChildInheritanceCSS as Jm, createCustomBlockRegistry as Jn, resolveRouteRequiresPayment as Jo, __extends as Jp, membershipClassesLabel as Jr, eventListWeekDays as Js, createSnapshotFromPageRecord as Jt, inlineTextToPlainText as Ju, createSessionJournalBindings as K, EDITOR_SESSION_GENERATION_HEADER as K_, buildOfferingsPreviewListing as Ka, suggestSemanticIconForFeatureCard as Kc, GRADIENT_PRESETS as Kd, editorAdmissionIsOpen as Kf, renderableMediaAssetSchema as Kg, buttonStateAppearanceDeclarations as Kh, toEventPaginationLoadError as Ki, formCopyFragment as Kl, buttonStyleSelectionKey as Km, rankBackgroundImagePoolItems as Kn, resolveEventRequiresPayment as Ko, __assign as Kp, formatInterval as Kr, toWholeSeriesRegistrationEvents as Ks, PREVIEW_CHROME_Z_INDEX as Kt, inlineTextEqual as Ku, createGuardedPreviewApiClient as L, knownSocialPlatformLabels as L_, eventCalendarListGroupingDecision as La, toBookingRequirementConsentField as Lc, designRuntimeRulesForTheme as Ld, resolveRepeaterGridColumnFieldId as Lf, normalizeRightAngle as Lg, compileButtonColourStates as Lh, calendarWindowQuerySchema as Li, Grid as Ll, readLinkedEntryLease as Lm, backgroundColorTokens as Ln, normalizeEventRegistrationMaxTickets as Lo, DialogContent$1 as Lp, buildProductDetailInteractiveIslandProps as Lr, getSingleSelectedPricingOptionId as Ls, blocksKeys as Lt, parseBlockIconValue as Lu, assertNever$10 as Lv, lookPositionLabel as M, sameMailingListPlacementTargeting as M_, buildEventRegistrationDisplayFromScopedEvents as Ma, groupPublicEventsByRun as Mc, resolveModeArrangement as Md, isRepeaterGridLayoutInvalid as Mf, surfaceCardRoleValues as Mg, parseSurfaceTree as Mh, calendarPageResponseError as Mi, listLookSlot as Ml, cn as Mm, getRepeaterItemDefault as Mn, resolveRegistrationAvailabilityBlocker as Mo, DialogHeader as Mp, productDetailBlockDefinition as Mr, occurrenceTitleOverride as Ms, listEntryPageContentSlots as Mt, richTextVariantCapabilities as Mu, publicEventPricingStrategy as Mv, lookTilePosition as N, parseBrevoListId as N_, buildEventRegistrationInteractiveIslandProps as Na, publicEventsArraySchema as Nc, resolvePublishedLook as Nd, normalizeRepeaterGridSpan as Nf, hexColorSchema as Ng, resolveSurface as Nh, calendarQueryKey as Ni, lookListPresentationSchemaShape as Nl, useShallow as Nm, normalizeFieldForCanonicalValidation as Nn, resolveRegistrationTicketContinuation as No, DialogTitle as Np, productListBlockDefinition as Nr, transformRegistrationOptionsResponse as Ns, listPageSurfaceContentSlots as Nt, sanitizeHref as Nu, publicEventPricingType as Nv, usePreviewJoinOutcome as O, parseMailingListPlacementTargeting as O_, eventCheckoutResponseSchema as Oa, selectEventCapacitySource as Oc, lookDefinitionForId as Od, projectRepeaterGridLayout as Of, surfaceInkDeclarations as Og, textColorStyle as Oh, eventCollectionHydrationSchema as Oi, defineClientOwnedBlockRuntime as Ol, createSlot as Om, createManifestFormAdapter as On, planRegistrationDetailsCheck as Oo, DialogClose as Op, giftingBlockDefinition as Or, getImplicitSingleTicketType as Os, createSlotBlock as Ot, admitLayoutGridForPlan as Ou, formatBookingPriceDisplay as Ov, lookTilesFor as P, parseMailchimpAudienceId as P_, displayButtonText as Pa, blockBookingConsentSchema as Pc, defaultPolicyPageFlowPresetId as Pd, planRepeaterGridStartNewRow as Pf, paletteColorEntries as Pg, serializeSurfaceTree as Ph, calendarWindowBounds as Pi, resolvedItemSurfaceProps as Pl, baselineRevisionOf as Pm, getGroupChildFields as Pn, settledRemainingPlaces as Po, DialogTrigger as Pp, shopBlockDefinition as Pr, withOccurrenceTitle as Ps, reorderBlocks as Pt, buildGeneratedBlockIconRenderAssetLookupFromUnknown as Pu, resolveExactOrFreePriceDisplay as Pv, useSessionJournalHistory as Q, valueStatus as Q_, planOfferingPreviewCardSelection as Qa, SITE_STICKY_CHROME_HEIGHT_CSS_VAR as Qc, findCuratedPalette as Qd, API_ENDPOINTS as Qf, asDesignBlockId as Qg, FONT_SIZE_MAP as Qh, normalizeOptionalId as Qi, BLOCK_BUTTON_ROLE_OPTIONS as Ql, generateMobileOverlayBackdropFilterFix as Qm, lookPartShown as Qn, invitationSubmission as Qo, __spreadArray as Qp, buildProductCartItem as Qr, formatEventPriceDisplay as Qs, resolveContentTitle as Qt, parseInlineTextFromUnknown as Qu, initPreviewAuth as R, knownSocialPlatforms as R_, resolveEventCalendarReadPlan as Ra, blockBookingPaymentTermsSchema as Rc, getCuratedSiteStyle as Rd, resolveRepeaterGridColumnsForBreakpoint as Rf, formatAspectRatioToken as Rg, BUTTON_CONTRAST_POLICY as Rh, planCalendarMonthRanges as Ri, richTextFragment as Rl, canEditorWrite as Rm, canCycleBackgroundOverrideValue as Rn, resolveEventRegistrationSubmitPlan as Ro, DialogDescription$1 as Rp, buildProductListInteractiveIslandProps as Rr, getTicketLineQuantity as Rs, normalizeApiError as Rt, resolveBlockIconRenderValue as Ru, parseMediaAssetId as Rv, setPageDesignBlockBackground as S, buildMailingListSignupBlockSourceRef as S_, getCurrentResolveImageUrlContext as Sa, formatEventRemainingPlaces as Sc, backgroundImagePromotedFieldPath as Sd, lookModes as Sf, SURFACE_INK_CSS_VARS as Sg, ICON_SIZE_PX as Sh, buildEventListingInteractiveIslandProps as Si, formBlockDefinition as Sl, composeEventHandlers as Sm, toEditorBlockItem as Sn, buildEventRegistrationPaymentOptionsViewModel as So, FIELD_FOCUS_CLASS as Sp, normalizeLocationMapSource as Sr, formatBookingWhen as Ss, getFieldIntent as St, runTransforms as Su, parseLocalScheduleTime as Sv, ObservedJoin as T, assessMailingListTargeting as T_, getContainerClass as Ta, getEventAvailabilityStatus as Tc, storedSectionPhoto as Td, PUBLIC_DOWNLOAD_MEDIA_TYPES as Tf, surfaceForegroundStyle as Tg, cssVarValue as Th, buildEventCollectionHydration as Ti, createInteractiveIslandCodec as Tl, Button as Tm, unsafeAsLinkedContentEntryId as Tn, fullyBookedLabel as To, FIELD_TEXTAREA_CLASS as Tp, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as Tr, formatPassCreditUsageLabel as Ts, isNonEmptyValue as Tt, parseStoredVariant as Tu, toBookingTimeZone as Tv, EntryControllerProvider as U, readEditorBlockVersionsFromPlacement as U_, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as Ua, parseFeatureCardGeneratedIconSizePx as Uc, compiledRuntimeStyleFieldNames as Ud, isObjectRecord$1 as Uf, mediaSchema as Ug, buttonBorder as Uh, getEventIdentity as Ui, blogFeaturedPostFragment as Ul, resolveButtonStyleSelection as Um, parseBackgroundOverrideFromContent as Un, paymentChoicePrice as Uo, menuItemInteractionClassName as Up, buildProductCardDisplay as Ur, setTicketLineQuantity as Us, SURFACE_IDS as Ut, coerceInlineTextWithFallback as Uu, unsafeAsSiteId as Uv, usePreviewAuth as V, publishedContactDetails as V_, offeringNounForEvent as Va, createFeatureCardIconKey as Vc, palettesForSiteStyle as Vd, resolveBlockTitle as Vf, getDirectImageUrlForMediaAsset as Vg, resolveOnColorForThemeToken as Vh, eventPageOperationQuery as Vi, faqAccordionFragment as Vl, buttonStyleSelectionParameterValue as Vm, imagePoolForOverride as Vn, buildReviewedBookingPaymentViewModel as Vo, DialogTitle$1 as Vp, shopProductPresentation as Vr, hasValidPricingOptionSelection as Vs, DEFAULT_SURFACE_ID as Vt, parseSiteIconStyleGuideVersionId as Vu, unsafeAsPositiveSeconds as Vv, useEntryController as W, readPublishedBlockPlacement as W_, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as Wa, resolveFeatureCardGeneratedIconSizePx as Wc, surfaceResolutionContextFromTheme as Wd, isRecord$13 as Wf, runtimeMediaSchema as Wg, buttonRadius as Wh, getEventPaginationView as Wi, singleButtonFragment as Wl, updateButtonStyleHoverPreference as Wm, parseCanonicalSectionBackground as Wn, findPreSelectedEvent as Wo, menuTriggerInteractionClassName as Wp, buildProductDetailDisplay as Wr, getRegistrationStartAt as Ws, resolveSurfaceDocumentAttributes as Wt, deriveInlineTextFieldChanges as Wu, expectParsedBrandedId as Wv, useServerRefresh as X, pristineValueSync as X_, normalizeOfferingsPreviewItemLimit as Xa, SITE_CHROME_VISIBLE_HEADER_SELECTOR as Xc, getHeaderLayout as Xd, observeEditorAdmission as Xf, asRecord as Xg, BORDER_WIDTH_MAP as Xh, normalizeCsvIds as Xi, heroCtaRowFragment as Xl, boxBackgroundSchema as Xm, mergeManifestWithSdkOptions as Xn, beginWaitlistInvitation as Xo, __read as Xp, EMPTY_COMMERCE_CART_STATE as Xr, formatEventPrice as Xs, deriveRouteMetadataPresentation as Xt, normalizeInlineText as Xu, SessionJournalProvider as Y, knownRevision as Y_, normalizeOfferingsPreviewGroupOrder as Ya, siteHeaderManifest as Yc, findFooterLook as Yd, editorAdmissionSession as Yf, mediaIdentifierSchema as Yg, paddingDeclarations as Yh, getEventRuntimeFiltersKey as Yi, ctaCopyFragment as Yl, themeSchema as Ym, mergeBlockDescriptorsWithRegistry as Yn, toRegistrationRequestSubject as Yo, __generator as Yp, passCardListContent as Yr, weekColumnDays as Ys, routeLifecycleContext as Yt, isInlineTextEmpty as Yu, useSessionJournal as Z, syncStateOf as Z_, offeringsListingFor as Za, SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR as Zc, getHeaderStyle as Zd, OPERATION_ID_HEADER as Zf, skinTokenCssVars as Zg, DEFAULT_BUTTON_SIZES as Zh, normalizeCsvString as Zi, ctaRowFragment as Zl, generateHeaderScrollTreatmentStyles as Zm, fieldsNotShownIn as Zn, createRegistrationDraftData as Zo, __rest as Zp, buildPassCartItem as Zr, formatEventPriceAmount as Zs, resolvePageRouteSlug as Zt, normalizeInlineTextMarks as Zu, applyBindingsToContent as _, nextLiveRunSessionStartMs as __, resolveMediaStorageUrl as _a, getBlockApiReadStage as _c, mergeHeaderNavTypographyPreference as _d, parseCanonicalRuntimeBackground as _f, oklchToHexGamut as _g, ACCORDION_OPEN_ACCENT_THICKNESS as _h, chooseScheduleScope as _i, layoutTransforms as _l, useDirection as _m, remoteDraftValues as _n, createInitialRegistrationFlowState as _o, Callout as _p, resolveArrangementKnobs as _r, confirmationPaymentRows as _s, collectVisibleWhenWatchPaths as _t, lookLeadSlotTransform as _u, compareLocalScheduleDates as _v, PreviewPageDesignEditorStateProvider as a, offeringsPreviewCompositionTreatmentValues as a_, MediaNodeServer as aa, formatEventClockLabel as ac, siteOptionSources as ad, sectionShapeForGround as af, certifyPaint as ag, MQ_TABLET_ONLY as ah, buildOfferingsCatalogueListing as ai, composeHeaderSectionWrapperClassName as al, Portal as am, shouldRevealAllBlockFieldValidation as an, bookingCardEntry as ao, journalLabels as ap, readinessFactsFromLoaders as ar, getTicketSelectionRemainingPlaces as as, EditLeaseModal as at, normalizeBoxStylesBorder as au, unsafeAsEditorBlockValues as av, pageDesignLookPosition as b, generateUuidV4 as b_, resolveMediaSlotContract as ba, canJoinEventWaitlist as bc, concretePaletteToTheme as bd, sectionSurfaceBase as bf, DEFAULT_SURFACE_TEXT_COLOR as bg, ACCORDION_TRIGGER_LETTER_SPACING as bh, writeEventSelectionChips as bi, uiTransforms as bl, useLayoutEffect2 as bm, resolveRenderedValues as bn, isRegistrationLocked as bo, FieldTrigger as bp, normalizeBlockContent as br, areEntitlementsDisabledForTicketCount as bs, evaluateVisibleWhenPredicate as bt, asPartialObject as bu, getLocalScheduleDate as bv, usePreviewShownTheme as c, buildGoogleFontFamilyQuery as c_, ImagePresets as ca, formatEventHourLabel as cc, resolveLookSurfacePresentation as cd, boundaryRuntimeMetricsForDecorativeTransition as cf, solveSurfaceInks as cg, siteChromeBackgroundOverrideOwner as ch, eventCalendarPagingFields as ci, contentTransforms as cl, Content as cm, parseStoredSidebarWidth as cn, bookingPanelHeading as co, trustedJournalState as cp, fieldPathsOwnedBy as cr, shouldLoadRegistrationOptions as cs, LeaseNoticeButtons as ct, parseBackgroundOverlay as cu, formatDateTime as cv, cycleSiteChromeSelectionId as d, getSiteFontsStorageUrl as d_, mediaImageHostProps as da, formatTime$1 as dc, effectiveHeaderNavLinkStyle as dd, sectionTransitionFamilyForBoundaryOptionId as df, resolveConcreteColorHex as dg, parseBlockCustomCssRules as dh, buildEventCalendarListingRender as di, teamMemberCardBiography as dl, useSize as dm, selectJournalWriteState as dn, registrationPaymentRoute as do, SelectItem as dp, isSystemCustomizeFacetId as dr, err as ds, JournalWriteRefused as dt, resolveSurfaceForegroundStyles as du, formatTimeZoneCityLabel as dv, asSiteStyleId as e_, listingEventCardProps as ea, eventCalendarWeekStart as ec, removeInlineTextMarkFromRange as ed, buildTextContrastShadow as ef, mapButtonVisualAppearances as eg, renderHeaderPaintTargetRules as eh, parseStoredCommerceCartState as ei, measureSiteStickyChromeHeightPx as el, hideOthers as em, useEditorUiStore as en, resolveOfferingsPreviewGroupOrderEntries as eo, pageCommitReasonTag as ep, siblingPath as er, getCurrentTicketSelection as es, savedContentReceipt as et, heroCopyFragment as eu, createEditorRemoveBlockCommand as ev, PreviewThemeJournalProvider as f, resolveAvailableBookingCollectionOptions as f_, renderAudio as fa, groupEventsByDate as fc, readOpeningToneProjection as fd, sectionTransitionVariantForBoundaryOptionId as ff, resolveOpaqueSurfaceHex as fg, parseCustomCssRules as fh, combinedLookSchema as fi, readRuntimeNow as fl, useId$1 as fm, journalNoticeMessage as fn, registrationPresentation as fo, SelectTrigger as fp, systemCustomizeFacetAppliesToLayoutVariant as fr, ok as fs, journalFailureReason as ft, resolveBackgroundColorValue as fu, inferSiteDateLocale as fv, previewThemeBase as g, CANCELLED_SESSION_STATUS as g_, resolveMediaNodeResponsiveImage as ga, browserReadAuthoritySchema as gc, restoreCompiledRuntimeFieldsFromContent as gd, deriveSectionGround as gf, oklabToSrgb as gg, LABEL_FONT_SIZE_MAP as gh, chooseAllEvents as gi, chromeLogoTransforms as gl, useCallbackRef$1 as gm, planLinkedSaveHandoverRetention as gn, areEventRegistrationPaymentSelectionsEqual as go, clamp$1 as gp, arrangementKnobChoices as gr, reportWorkflowSuccess as gs, derivePromotedFieldPlan as gt, lookCarouselRegionTransform as gu, addLocalScheduleDays as gv, composePreviewTheme as h, authoredValuesEqual as h_, resolveImageUrlWithContext as ha, formatBookingSchedulePresentation as hc, resolveEditorArrangementLook as hd, applyLookPhotoTreatment as hf, oklabToOklch as hg, INPUT_SPACING_MAP as hh, EVENT_SELECTION_TYPE_OPTIONS as hi, headerRuntimeTransforms as hl, DismissableLayer as hm, activeLinkedSaveHandover as hn, registrationStepLabelContext as ho, usePrevious as hp, systemCustomizeFacetStoredValue as hr, reportWorkflowError as hs, publishContentEntry as ht, getAnchorClasses as hu, toScheduledBookingDateTime as hv, usePreviewSidebarNavigation as i, makeBoundaryId as i_, selectCardListPresentation as ia, formatDate$1 as ic, parseFieldDefinition as id, headerRootPaint as if, HOVER_TEXT_THRESHOLD as ig, MQ_SM_UP as ih, publicRouteCandidatesSchema as ii, EDITABLE_SURFACE_FORWARDING_PROP as il, Presence as im, recoveryConflictCopy as in, bookingBarPlacement as io, sidebarReturnView as ip, readinessFactsFromPayload as ir, getSlidingScaleSelectionMessage as is, EditLeaseDiscardedNotice as it, boxStyleClassNames as iu, unsafeAsEditorBlockId as iv, STYLE_DEFAULT_LOOK_KEY as j, mailingListTargetingChoiceIds as j_, eventRegistrationBlockDefinition as ja, verifiedSiteTermsAcceptanceSchema as jc, resolveEffectiveArrangement as jd, isAcceptedRepeaterGridSpan as jf, generateDefaultCardSystem as jg, opaqueSurfaceDeclarations as jh, calendarMonthKey as ji, listLookControl as jl, useComposedRefs as jm, getFieldDefault as jn, resolveRegistrationAdmission as jo, DialogFooter as jp, cartBlockDefinition as jr, getVisibleTicketTypes as js, isSurfaceSlotBlockTarget as jt, isRichTextDoc as ju, publicEventPricingDisplay as jv, usePreviewRenderBackgrounds as k, parseMailingListVisitorSelection as k_, eventCheckoutReturnResponseSchema as ka, selectMostOpenCapacitySource as kc, arrangementManifestFromVariants as kd, findFirstAvailableRepeaterGridPlacement as kf, surfaceInkStyle as kg, textColorValue as kh, eventCollectionSourceSchemaShape as ki, defineProgressiveBlockRuntime as kl, createSlottable as km, createManifestValidation as kn, planRegistrationDetailsContinuation as ko, DialogContent as kp, buildGiftingInteractiveIslandProps as kr, getPortalSubjectEmail as ks, deleteBlock as kt, deriveFieldValidationPlan as ku, isPublicEventPricingOptionDisplayable as kv, SiteChromeCustomizeProvider as l, generateFontFaceCss as l_, MediaPlaceholder as la, formatEventNextDateFact as lc, selectItemSurfacePresentation as ld, defaultSectionTransitionVariantForFamily as lf, expandPalette as lg, getComponentBorderWidthPx as lh, buildEventCalendarInteractiveIslandProps as li, parseTeamMemberSpecialties as ll, Root2 as lm, selectAutosaveStatus as ln, getEventSelectionMode as lo, Select as lp, resolveFieldOwnership as lr, validateFormData as ls, getEditorClientId as lt, parseRuntimeBackgroundContent as lu, formatDateTimeRange as lv, usePreviewThemeSourceOptional as m, journalReplayValue as m_, resolveImageSourceSetWithContext as ma, resolveRuntimeEventDestination as mc, compileEditorModelRuntime as md, transitionCatalogueEntries as mf, hexToRgb as mg, INPUT_FONT_SIZE_MAP as mh, EVENT_SELECTION_SCOPE_OPTIONS as mi, mediaTransforms as ml, useFocusGuards as mm, canDiscardDraft as mn, registrationStepLabel as mo, Root as mp, systemCustomizeFacetDefinitionsForBlock as mr, clearWorkflowFeedback as ms, missingReceiptError as mt, BACKGROUND_POSITION_PRESET_VALUES as mu, formatBookingCompactEnglishTime as mv, usePreviewAssistantSlot as n, featureCardCompositionTreatmentValues as n_, CardListLeadDate as na, eventLocalDateKey as nc, truncateInlineText as nd, formatSiteChromeBackgroundTokenLabel as nf, safeTokenOr as ng, MQ_MD_DOWN as nh, reduceCommerceCart as ni, planSiteOverlayHeaderClearance as nl, Root$1 as nm, useOptionalEditorUiStoreInstance as nn, resolveOfferingsRenderInput as no, extractApiEnvelopeErrorDetails as np, PUBLISH_READINESS_COPY as nr, getRegistrationOccurrenceId as ns, useRetentionTicks as nt, defineFragment as nu, editorBlockCollectionOwnerKey as nv, usePreviewPageDesignEditorState as o, testimonialsCompositionTreatmentValues as o_, RichText as oa, formatEventCompactDateRail as oc, bindingSchema as od, sectionShapeFromContent as of, contrastThresholdByPolicy as og, isThemeV2NormalEditorRawStyleFieldName as oh, offeringsCatalogueShape as oi, markEditableSurfaceForwarding as ol, Anchor as om, unfinishedBlockCopy as on, bookingEntry as oo, journalTargetKey as op, selectBlockContent as or, parseCurrencyInputToCents as os, EditorWriteSurface as ot, resolveCardRoleForBoxStyles as ou, formatDate$3 as ov, usePreviewThemeSource as p, getBookingLaterInstalments as p_, renderVideo as pa, resolveEventTimeZone as pc, applyCompiledRuntimeFieldsToContent as pd, anglePolygonCss as pf, contrastRatio as pg, FONT_WEIGHT_MAP$1 as ph, projectRecurringSchedule as pi, resolveDateRuntimeContext as pl, FocusScope as pm, lifecycleOutcomeMessage as pn, registrationRoute as po, SelectValue as pp, systemCustomizeFacetDefinitionForBlock as pr, okWith as ps, sendPageCommand as pt, ctaButton as pu, resolveBookingDisplayContext as pv, DONE as q, parseEditLeaseScope as q_, inferLegacyOfferingsPreviewGroupOrder as qa, toFeatureCardIconSuggestionInputs as qc, getGradientPreset as qd, editorAdmissionNotice as qf, indexRenderableMediaAssets as qg, buttonTypographyDeclarations as qh, toError as qi, testimonialsCarouselFragment as ql, generateEffectsCSS as qm, resolveBackgroundCapability as qn, resolveRegistrationTarget as qo, __awaiter as qp, membershipCardListContent as qr, buildEventListWeek as qs, createRoutingHelpers as qt, inlineTextHighlightTones as qu, PreviewSidebarBootstrap as r, introCompositionTreatmentValues as r_, resolveCardListSchedule as ra, formatCalendarTitle as rc, PUBLIC_FILE_FIELD_KINDS as rd, headerNeedsPhotoShade as rf, surfaceInkPublication as rg, MQ_SM_DOWN as rh, offeringsPreviewBlockDefinition as ri, siteTopChromeMeasurementTargets as rl, createRovingFocusGroupScope as rm, useSidebarView as rn, DEFAULT_BOOKING_BUTTON_TEXT as ro, unwrapResponse as rp, publishReadinessWarning as rr, getSlidingScaleForEvent as rs, VIEWING_PARTICIPATION as rt, boxStylesTransforms as ru, editorBlockCollectionOwnersEqual as rv, usePreviewPageDesignRenderState as s, buildFontPreviewUrl as s_, getRichTextImageSize as sa, formatEventDateParts as sc, lookPresentationOnPalette as sd, sectionShapeHook as sf, inkReference as sg, isThemeV2NormalEditorRawStylePath as sh, eventCalendarBlockDefinition as si, splitPositioningClasses as sl, Arrow as sm, SIDEBAR_WIDTH as sn, bookingEntryProgress as so, journalTrustAt as sp, contentPathsOwnedBy as sr, resolveHeldTicketPlaces as ss, LeaseDiscardedNoticeView as st, parseBackgroundContent as su, formatDateRange as sv, PreviewAssistantSlotProvider as t, assertNever$6 as t_, CardListContentPart as ta, eventDateOptions as tc, replaceInlineTextRange as td, generateNavLinkCSS as tf, resolveSurfaceForeground as tg, MQ_LG_UP as th, productItemKey as ti, measureSiteTopChromeBottomPx as tl, Item as tm, useEditorUiStoreInstance as tn, resolveOfferingsPreviewGroups as to, ApiEnvelopeError as tp, withValueAtPath as tr, getEligibilityFlowFlags as ts, savedRouteReceipt as tt, bodyCopyFragment as tu, createEditorReorderBlocksCommand as tv, useSiteChromeCustomizeOptional as u, getFontWidthRange as u_, computeMediaTransformStyle as ua, formatEventTimeRange as uc, heroPhotoPaintsGround as ud, sectionTransitionFamilies as uf, getTextColorForBackground as ug, getComponentShadowVar as uh, buildEventCalendarListingDisplay as ui, teamMemberBiography as ul, createPopperScope as um, selectEditorWriteState as un, panelShouldOpen as uo, SelectContent as up, withoutLookOwnedContent as ur, assertNever$3 as us, createSessionJournal as ut, resolveSectionSurfaceForeground as uu, formatTime$2 as uv, buildPageDesignEditorReadModelForBlocks as v, orderedLiveRunSessions as v_, resolvePublicMediaUrl as va, placesLeftLabel as vc, readHeaderNavFontSizePreference as vd, resolveCompiledSectionContextFromContent as vf, rgbToHex as vg, ACCORDION_SPACING_MAP as vh, readEventSelectionChips as vi, staticHeaderChromeRuntime as vl, createCollection as vm, renderSourceFor as vn, decideEventChoice as vo, CalloutDescription as vp, getBlockDefinition as vr, resolveFinishedPresentation as vs, evaluateVisibility as vt, lookQuoteLimitTransform as vu, formatLocalScheduleDate as vv, selectedImageFromRenderableAsset as w, resolveBookingSignupOffer as w_, getCardOrientation as wa, getEventAvailability as wc, sectionPhotoPresence as wd, planLayoutGridColumnEdit as wf, surfaceForegroundInputFromResolved as wg, backgroundColorStyle as wh, buildEventCollectionDisplay as wi, buildInteractiveIslandProps as wl, dispatchDiscreteCustomEvent as wm, deriveEditorValuePublicationState as wn, shouldPromptForLogin as wo, FIELD_SURFACE_CLASS as wp, newsletterSignupBlockDefinition as wr, formatEventDateTime as ws, hasVisibilityConditions as wt, when as wu, resolveBookingTimeZoneId as wv, pageDesignLookTiles as x, slugify as x_, buildResolveImageUrlContext as xa, canJoinEventWaitlistOnAnyMode as xc, resolveVisiblePromotedFieldPathsForEditorBlock as xd, appearancePresets as xf, SURFACE_FOREGROUND_CSS_VARS as xg, ICON_CONFIG as xh, eventListingBlockDefinition as xi, formattingTransforms as xl, createContextScope as xm, useStore as xn, registrationFlowReducer as xo, FIELD_CONTROL_CLASS as xp, normalizeLocationMapProps as xr, findSelectedTicketType as xs, getVisibleWhenPredicates as xt, createTransformRegistry as xu, parseBookingLocalDate as xv, cyclePageDesignBlockLook as y, resolveWholeSeriesBookingPhase as y_, SECTION_BACKGROUND_MIN_SOURCE_WIDTH as ya, shownVenue as yc, concretePaletteFromTheme as yd, resolveSectionBackground as yf, srgbToOklab as yg, ACCORDION_TRIGGER_FONT_SCALE as yh, toggleEventType as yi, planSiteChromePlacement as yl, useControllableState as ym, renderedFieldChanges as yn, getDeclinedPass as yo, CalloutTitle as yp, listBlockDescriptors as yr, ENTITLEMENT_SINGLE_TICKET_TOOLTIP as ys, evaluateVisibleWhen as yt, lookSkinSlotTransform as yu, getBookingLocalDateKey as yv, registerPreviewRenewalFetcher as z, parsePublicProfile as z_, normalizeEventRegistrationPageSurfaceSubject as za, FEATURE_CARD_GENERATED_ICON_SIZE_PX as zc, headerStyleRecipeForTheme as zd, resolveRepeaterGridRowFieldId as zf, parseAspectRatioValue as zg, formatButtonColourContractError as zh, resolveCalendarReadProfile as zi, headingFragment as zl, unmanagedSurfaceEditability as zm, defaultBackgroundOverrideForMode as zn, calculateEventRegistrationPreviewTotal as zo, DialogOverlay$1 as zp, buildShopInteractiveIslandProps as zr, getTicketSelectionTotal as zs, getDashboardBaseUrl as zt, parseGeneratedIconAssetId as zu, unsafeAsMediaAssetId as zv };