@riverbankcms/sdk 0.181.0 → 0.182.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.
- package/dist/_dts/{BlocksIslandsHydrator-CVCasDPz.d.ts → BlocksIslandsHydrator-Bvw2bUif.d.ts} +1 -1
- package/dist/_dts/{Page-Dtj2Ui3S.d.ts → Page-B2EAT-bE.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-D1f_60WW.d.ts → SdkPreviewMode-D0vww6rh.d.ts} +2 -2
- package/dist/_dts/{client-Chr9pNVW.d.ts → client-D6T430bk.d.ts} +1 -3
- package/dist/_dts/{content-types-kjccgopX.d.ts → content-types-wZVWccC6.d.ts} +2 -2
- package/dist/_dts/{contracts-BodaiS00.d.ts → contracts-B-vtOcr8.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-BS6kaJFp.d.ts → generatePageMetadata-CxfwHE6z.d.ts} +2 -2
- package/dist/_dts/{index-Brl6_I2j.d.ts → index-CEyYMhLJ.d.ts} +1 -1
- package/dist/_dts/{index-DG0OvBs0.d.ts → index-CQrb3Ccc.d.ts} +4 -4
- package/dist/_dts/{index-Dy50xUMK.d.ts → index-CciRW_w1.d.ts} +2 -2
- package/dist/_dts/{index-Diqt0PvG.d.ts → index-Cqxis-nv.d.ts} +1 -1
- package/dist/_dts/{index-CJkefwYh.d.ts → index-DIU-wL1M.d.ts} +2 -2
- package/dist/_dts/{index-D1WpKwQe.d.ts → index-DqPKdeTk.d.ts} +1 -1
- package/dist/_dts/{loadContent-BgxshKrA.d.ts → loadContent-D0wrxiSp.d.ts} +7 -7
- package/dist/_dts/{request-CA0izds5.d.ts → request-DEwxUSw8.d.ts} +130 -28
- package/dist/_dts/{resolveBlockData-ChQmwEd3.d.ts → resolveBlockData-VaG_MYbN.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BvGyvblj.d.ts → resolvePageContent-DTwklC_v.d.ts} +1 -1
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +7 -7
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/portal/index.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{serviceBookingOutline-BgFbJQhU.d.ts → serviceBookingOutline-DtQuFlID.d.ts} +6 -6
- package/dist/_dts/{types-CgS3xLk8.d.ts → types-B3RjeBLV.d.ts} +2 -2
- package/dist/_dts/{types-CQrsP1x_.d.ts → types-BvUSGQrw.d.ts} +3 -3
- package/dist/_dts/{types-R65DKjPn.d.ts → types-CkRFtBqd.d.ts} +7 -7
- package/dist/_dts/{validation-6LTIbuBA.d.ts → validation-BZA3DhcV.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DqZPz6oW.mjs → BlocksIslandsHydrator-CQMf0HdN.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-uWfR2kaG.mjs → BookingMailingListNote-7kdvuPow.mjs} +6 -6
- package/dist/client/{BookingQuestionFields-CyNIKw6k.mjs → BookingQuestionFields-BJI7mZuV.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-BGCX3zwG.mjs → CalendarNavigationChevron-DPUD6wjy.mjs} +7 -7
- package/dist/client/{DemoBookingPortalAccess-DFLPyuqe.mjs → DemoBookingPortalAccess-8kwNF9HN.mjs} +4 -4
- package/dist/client/{EventCalendar.client-zDL4-t-B.mjs → EventCalendar.client-Dhb14bcC.mjs} +9 -9
- package/dist/client/{EventCombined.client-uciDKLID.mjs → EventCombined.client-C1jEZBN9.mjs} +8 -8
- package/dist/client/{EventItem-CwzrjcRw.mjs → EventItem-Bb0ppG2N.mjs} +8 -176
- package/dist/client/{EventListWeekNavigation-ChvcnPma.mjs → EventListWeekNavigation-DMryCaNV.mjs} +1 -1
- package/dist/client/{EventListing.client-DA57Qoyx.mjs → EventListing.client-BuH5kKA3.mjs} +3 -3
- package/dist/client/{EventListing.view-DZ0qMFF4.mjs → EventListing.view-DsqvuulZ.mjs} +7 -7
- package/dist/client/{EventRegistrationPayment-DSqCJL8E.mjs → EventRegistrationPayment-D4FvQSFF.mjs} +31 -164
- package/dist/client/{Page-C7mygH_f.mjs → Page-sV6BJkXX.mjs} +172 -102
- package/dist/client/{SiteTermsAgreementField-B4z-e4Wq.mjs → SiteTermsAgreementField-VfSd6JU-.mjs} +2 -2
- package/dist/client/{StepIndicator-Dn_DY4oY.mjs → StepIndicator-B6o5B7g3.mjs} +1 -1
- package/dist/client/{StepIndicator-atfDU82W.mjs → StepIndicator-BTqO7cJl.mjs} +220 -19
- package/dist/client/{accessibleSurfaces-n6kS6Hct.mjs → accessibleSurfaces-BogaGutk.mjs} +966 -693
- package/dist/client/{accordion-CsW8U3ff.mjs → accordion-6cuswD_s.mjs} +1 -1
- package/dist/client/{booking-form.client-cBWM392H.mjs → booking-form.client-BOMe_SKi.mjs} +15 -15
- package/dist/client/{bookingForm-DgySpp6C.mjs → bookingForm-DSCH-VHo.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-BpGVdLFD.mjs → boxStyleClassNames-BFuqZCfz.mjs} +2 -2
- package/dist/client/{carousel-DJoleFV3.mjs → carousel-CGyQVV1M.mjs} +1 -1
- package/dist/client/{cart-EO5o6uPH.mjs → cart-BYOe7MCh.mjs} +3 -3
- package/dist/client/{cart.client-D_gPw45z.mjs → cart.client-BKFkaXdV.mjs} +1 -1
- package/dist/client/{checkout-NVfZW0kR.mjs → checkout-Dwd7Di77.mjs} +3 -3
- package/dist/client/{checkout.client-DD3JuqOy.mjs → checkout.client-C25hpi-z.mjs} +1 -1
- package/dist/client/{checkoutUrls-z2gXvlGw.mjs → checkoutUrls-tG788sw0.mjs} +1 -1
- package/dist/client/client.mjs +25 -6
- package/dist/client/{constants-CoOkvw__.mjs → constants-DdxFG3Ic.mjs} +1 -1
- package/dist/client/{context-CRhn9qzS.mjs → context-Hi1RuYEM.mjs} +23 -5
- package/dist/client/{dateFormatting-BnWB4L1s.mjs → dateFormatting-C8vBCHuo.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CWDGSTBu.mjs → demoPortalMagicLink-BAL5UIDG.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-tdP_-Z9o.mjs → enhanceHeaderSection-Dv1Lr9kJ.mjs} +3 -3
- package/dist/client/{event-registration.client-D7YYKySQ.mjs → event-registration.client-dB_Z7bb-.mjs} +12 -12
- package/dist/client/{eventCalendar-CsAfu5d0.mjs → eventCalendar-CQnRA4Ww.mjs} +4 -4
- package/dist/client/{eventCombined-VXJB5CoS.mjs → eventCombined-BDOG1hVp.mjs} +4 -4
- package/dist/client/{eventListing-B3KIZNfY.mjs → eventListing-DSVmhy9n.mjs} +4 -4
- package/dist/client/{eventRegistration-BP-dEk1c.mjs → eventRegistration-CD5mRtEH.mjs} +4 -4
- package/dist/client/{form-DM8Zbxbv.mjs → form-DWnlEVSK.mjs} +3 -3
- package/dist/client/{form.client-e2z_Tlgk.mjs → form.client-D7zmeqNI.mjs} +4 -4
- package/dist/client/{form.parts-Ctljy1a3.mjs → form.parts-C-G6N_MK.mjs} +1 -1
- package/dist/client/gifting/client.mjs +7 -7
- package/dist/client/{gifting-DWIsqQru.mjs → gifting-Cn0jidP5.mjs} +4 -4
- package/dist/client/{gifting.client-QsSWF0uA.mjs → gifting.client-DVo1YFLs.mjs} +4 -4
- package/dist/client/{gifting.parts-CedLgwa_.mjs → gifting.parts-Bak93gD2.mjs} +2 -2
- package/dist/client/{headerSection-DAkRkwb-.mjs → headerSection-DjQuj_6v.mjs} +2 -2
- package/dist/client/{newsletter-form.client-WYja9-WN.mjs → newsletter-form.client-rIYPziZC.mjs} +5 -5
- package/dist/client/{newsletter-form.interactive-RuM86VAv.mjs → newsletter-form.interactive-DVt3enLr.mjs} +162 -135
- package/dist/client/{newsletter-form.parts-2petDnWv.mjs → newsletter-form.parts-CH6dGfdn.mjs} +1 -1
- package/dist/client/{newsletterForm-BUbXdA_e.mjs → newsletterForm-Cg8cBDHd.mjs} +3 -3
- package/dist/client/{noop-Dl4mZ-rr.mjs → noop-jesvJXEE.mjs} +239 -229
- package/dist/client/portal/client.mjs +269 -83
- package/dist/client/{portalOrders-COGn4BKG.mjs → portalOrders-oEoTvzkW.mjs} +1 -1
- package/dist/client/{portalRoutes-D72yvtDh.mjs → portalRoutes-ByyVZfVq.mjs} +13 -2
- package/dist/client/{product-detail.client-pOAryevt.mjs → product-detail.client-5aHq-vuu.mjs} +1 -1
- package/dist/client/{product-list.client-CcUpUiud.mjs → product-list.client-CyAk5rnC.mjs} +1 -1
- package/dist/client/{productDetail-BZJCfqat.mjs → productDetail-B8aZ2mqY.mjs} +3 -3
- package/dist/client/{productList-CiRs3mNb.mjs → productList-BuLemmod.mjs} +3 -3
- package/dist/client/{propsDecoder--uHW4tFM.mjs → propsDecoder-0Unsqn3R.mjs} +2 -2
- package/dist/client/{registry.server-CDNNd8wC.mjs → registry.server-DzvtVVD0.mjs} +352 -166
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-CQGE_wHV.mjs → richText-coerce-Bnng7JFA.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-BtCg87-N.mjs → routeIslandApiConfig-BGfcc9sk.mjs} +1 -1
- package/dist/client/{runtimeResponse-Ds9cmBUf.mjs → runtimeResponse-DAPVRToN.mjs} +1 -1
- package/dist/client/{runtimeResponse-DL_ARBpa.mjs → runtimeResponse-nXT8VAMl.mjs} +1 -1
- package/dist/client/{shop-Rx_gEMK8.mjs → shop-GuMqnDL-.mjs} +3 -3
- package/dist/client/{shop-commerce-D8evQnMT.mjs → shop-commerce-D5bDY1o1.mjs} +12 -12
- package/dist/client/{shop-commerce-store-C9PcsSTj.mjs → shop-commerce-store-B7sHnLwI.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-D5CtGfJI.mjs → shop-discount-apply.state-Dos2zdC2.mjs} +2 -2
- package/dist/client/{shop.client-D4lzQ9oY.mjs → shop.client-uvj5GDZb.mjs} +11 -11
- package/dist/client/{shopShared-BVbq7Nm-.mjs → shopShared-3giNWE3H.mjs} +2 -2
- package/dist/client/{src-ZSqRK3dD.mjs → src-CmXh3JWs.mjs} +5 -1
- package/dist/client/{timetableModel-BQJrSK0K.mjs → timetableModel-GA-hn1qM.mjs} +8 -15
- package/dist/client/{useAvailableSlots-Dm3lKJKR.mjs → useAvailableSlots-CBneCxbG.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-klgfGn7f.mjs → useDiscountCodeUi-D0kGF0C7.mjs} +1 -1
- package/dist/client/{useEventPagination-Jnjt7_ly.mjs → useEventPagination-xX8n_Tuu.mjs} +7 -7
- package/dist/client/{view-CC_yQLSA.mjs → view-DOyZc-DF.mjs} +3 -3
- package/dist/client/{wizardSteps-BliJOzEX.mjs → wizardSteps-B952ify5.mjs} +303 -31
- package/dist/preview-next/client/{PageSectionToolbar-BhL0uADo.mjs → PageSectionToolbar-BI3UCdpu.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-Ct8eIm0i.mjs → PreviewEditorSidebar-jkfLVOgY.mjs} +12 -9
- package/dist/preview-next/client/{PreviewEditorUI-BS32G4V9.mjs → PreviewEditorUI-DwJQs4hM.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-RL0WfZXD.mjs → PreviewShell-BAxAkuz8.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-MK_gHeGy.mjs → SdkPreviewModeRuntime-0UVB-39f.mjs} +44 -17
- package/dist/preview-next/client/{previewAssistantSlot-CQyS8pcq.mjs → previewAssistantSlot-BgiYk3PB.mjs} +2577 -1683
- package/dist/preview-next/client/{previewChromeRoot-BSxp3Mfu.mjs → previewChromeRoot-tieNdF3E.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DKnTzy74.mjs → sdk-runtime-DXb_Evl0.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BlmbvbLN.mjs → siteStyleAccess-BlN0jt2c.mjs} +1 -1
- package/dist/preview-next/client/{useAutosaveStatus-D-7GwZOQ.mjs → useAutosaveStatus-BUEPA4oL.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-BNZtGM5g.mjs → useOpenBlockForSetup-BVfr5P--.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-R3PcMmax.mjs → route-contract-BHTBA48n.mjs} +20 -1
- package/dist/server/{Block.shared-CniF9tSu.mjs → Block.shared-hGoyEdjJ.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-BQWsnGT6.mjs → ThemeScopeCore-BfUCTOwj.mjs} +37 -25
- package/dist/server/{accessibleSurfaces-WPzUAHp4.mjs → accessibleSurfaces-Dskni4Xj.mjs} +94 -361
- package/dist/server/{bindings-DxojjtK3.mjs → bindings-DMJH4bvo.mjs} +4 -4
- package/dist/server/{client-CDndhbYO.mjs → client-DrwlRNAH.mjs} +22 -3
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-VyF5nEhL.mjs → constants-CeMywaiD.mjs} +11 -0
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{resolveButtonColourStates-B0O1IM16.mjs → expandPalette-ehuW8r2g.mjs} +769 -227
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-BKstMBmX.mjs → loadContent-D0prFflT.mjs} +4 -4
- package/dist/server/{loadPage-IgNnZaqr.mjs → loadPage-CBLke9pJ.mjs} +3 -3
- package/dist/server/{lookMediaFrame-TFjgNG61.mjs → lookMediaFrame-H0fi4bJk.mjs} +2 -2
- package/dist/server/{navigation-quBYlSKD.mjs → navigation-wrcuWmgp.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +8 -8
- package/dist/server/{overrideResolution-CCaAPpIa.mjs → overrideResolution-DUgCEH8z.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-B7iULvKe.mjs → pageRenderPlan-BHrmogsW.mjs} +161 -244
- package/dist/server/{pageRuntimeSupport-BytMroxn.mjs → pageRuntimeSupport-D2-YMRei.mjs} +1 -1
- package/dist/server/{pageShared-Dcs_XTIO.mjs → pageShared-CG8O31Eo.mjs} +1265 -1032
- package/dist/server/{parseThemeForPersistence-Bihl4W5K.mjs → parseThemeForPersistence-CrPlbJEN.mjs} +1 -1
- package/dist/server/{portal-CMW_b9mG.mjs → portal-pG_uhsI2.mjs} +1 -1
- package/dist/server/portal.mjs +2 -2
- package/dist/server/{prebuild-agaH-vZV.mjs → prebuild-C8Amvzce.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DwpRjqw4.mjs → prefetchBlockData-BxUETRIZ.mjs} +2 -2
- package/dist/server/{registry-DM9dHfDC.mjs → registry-Cc88-23f.mjs} +1173 -745
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-CinHGf8l.mjs → resolveBlockData-OG3KOkig.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-BBBhOtdE.mjs → servicePageContent-BcFuhhD7.mjs} +5 -5
- package/dist/server/theme-bridge.mjs +33 -8
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{validation-DG5jX3jH.mjs → validation-BovmbS8N.mjs} +3 -3
- package/dist/server/{version-CipbxPHL.mjs → version-hws4hgyX.mjs} +1 -1
- package/dist/styles/index.css +86 -46
- package/package.json +1 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { En as buildMailingListSignupBlockSourceRef, Mn as parseContentVersionId, Nn as unsafeAsContentEntryId, On as parseMailingListPlacementTargeting, P as occurrenceContextSchema, Qt as cardListPresentationSchemaShape, Tn as formatEventStartingPrice, _n as parseHeaderPositioning, _t as offeringsPreviewGroupQuery, an as buildEventListWeek, at as OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS, dn as projectRecurringSchedule, dt as groupOfferingRunsByCourse, fn as recurringScheduleProjectionSchema, ft as isOfferingsPreviewSourceKey, gt as offeringsListingFor, hn as resolveHeaderChromeRuntimeContract, jn as sameMailingListPlacementTargeting, lt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, m as combinedLookSchema, mn as isHeaderScrollRuntimeEnabled, nn as quickFactSlots, pt as normalizeOfferingsPreviewContentForWrite, st as OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE, vn as planSiteChromePlacement, vt as readOfferingsGrouping } from "./newsletter-form.interactive-DVt3enLr.mjs";
|
|
3
3
|
import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, r as indexRenderableMediaAssets } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
4
|
-
import { A as eventCalendarListGroupingDecision, B as buildRichTextSchema, C as publicEventsArraySchema, Cn as toUtcIsoDateTimeString, E as bookingConsentCarrierSchema, H as isRichTextDoc, Hn as unsafeAsEventCategoryId, Ht as EVENT_PRESET_VALUES, It as calendarWindowQuerySchema, J as runtimeMediaSchema, Jt as publicLocationSchema, K as mediaSchema, Kt as parseLocationValue, Qt as trimmedStringOrNull, R as resolveEventCalendarReadPlan, Sn as parseUtcIsoDateTimeString,
|
|
5
|
-
import {
|
|
6
|
-
import { l as monthSlotParents } from "./CalendarNavigationChevron-
|
|
4
|
+
import { A as eventCalendarListGroupingDecision, B as buildRichTextSchema, C as publicEventsArraySchema, Cn as toUtcIsoDateTimeString, E as bookingConsentCarrierSchema, H as isRichTextDoc, Hn as unsafeAsEventCategoryId, Ht as EVENT_PRESET_VALUES, It as calendarWindowQuerySchema, J as runtimeMediaSchema, Jt as publicLocationSchema, K as mediaSchema, Kt as parseLocationValue, Qt as trimmedStringOrNull, R as resolveEventCalendarReadPlan, Sn as parseUtcIsoDateTimeString, V as createRichTextDoc, Vt as isRecord$8, Wt as locationValueSchema, X as PUBLIC_FILE_FIELD_KINDS, _ as publicMembershipProductCollectionSchema, bn as parseBookingLocalDate, ct as isArrangementMode, g as resolveCalendarReadProfile, in as formatDateTime, it as eventListTreatmentValues, lt as tileTreatmentValues, nn as formatDate$1, qt as projectPublicLocation, v as publicPassProductCollectionSchema, wn as resolveBookingBusinessTimeZone, x as publicEventPricingSchema, y as eventVenueDrawingSchema, yn as getLocalScheduleDate, z as RichTextDocSchema } from "./src-CmXh3JWs.mjs";
|
|
5
|
+
import { Ai as registrationDataForEventSelection, As as readRuntimeNow, Cs as inlineTextToPlainText, Di as planWholeSeriesParentBooking, Ds as generateLookMediaFrameCss, Es as plainTextToInlineText, Fo as isBlockButtonRole, Mi as selectionRepresentativeEvent, Os as resolveLookMediaFrame, Ps as isRecord$9, Ro as eventCalendarWeekStart, Ss as runTransforms, Ts as parseInlineTextFromUnknown, _s as uiTransforms, bs as asPartialObject, fc as offeringLabelForPageSurfaceSubject, fs as resolveArrangementKnobs, gs as createAspectRatioField, hs as heroTitleSizeOptions, js as resolveDateRuntimeContext, ks as parseBlockColorToken, mc as formatBookingPriceDisplay, ms as createImageShapeField, ns as MediaPlaceholder, ps as systemCustomizeFacetDefinitionsForBlock, rs as computeMediaTransformStyle, vi as normalizeEventRegistrationPageSurfaceSubject, vs as SECTION_STATE_KINDS, wi as isOrdinaryPublicEvent, xs as createTransformRegistry, ys as sectionStateToneFromKind } from "./wizardSteps-B952ify5.mjs";
|
|
6
|
+
import { l as monthSlotParents } from "./CalendarNavigationChevron-DPUD6wjy.mjs";
|
|
7
7
|
import { h as assertNever$4 } from "./bookingCalendar--aWnqFDn.mjs";
|
|
8
|
-
import { $
|
|
9
|
-
import { $ as
|
|
8
|
+
import { $ as backgroundFrame, $n as publicMapLocationResultSchema, $t as link, A as eventRegistrationBlockDefinition, An as lookCarouselRegionTransform, B as defineFragment, Bn as ICON_SIZE_PX, Bt as parseBlockIconValue, C as teamReadiness, Cn as formatAppointmentPrice, Ct as lookPartShown, D as loadedReadinessFact, Dn as BACKGROUND_POSITION_PRESET_VALUES, E as hiddenFromVisitors, En as teamMemberCardBiographyFallback, Et as buildAppointmentServicesView, F as augmentManifest, Fn as ACCORDION_OPEN_ACCENT_THICKNESS, G as parseFieldDefinitions, Gn as isAcceptedRepeaterGridSpan, Gt as button, H as createSiteOptionSelectField, Hn as pageGround, Ht as accordionList, I as formEmbedFragment, In as ACCORDION_SPACING_MAP, J as sectionHeaderLayoutNodes, Jn as resolveRepeaterGridRowFieldId, Jt as fileDownload, K as withApiBindings, Kn as parseRepeaterGridInteger, Kt as carousel, L as formCopyFragment, Ln as ACCORDION_TRIGGER_FONT_SCALE, Lt as PUBLIC_DOWNLOAD_MEDIA_TYPES, M as checkoutBlockDefinition, Mn as lookQuoteLimitTransform, Mt as mobileOnlyDisplay, N as cartBlockDefinition, Nn as lookSkinSlotTransform, O as pageTemplateFromEntry, On as getAnchorClasses, P as createBlockManifest, Pn as lookSlot, Q as styledSection, Qt as inline, R as buildFragmentDataLoaders, Rn as ACCORDION_TRIGGER_LETTER_SPACING, Rt as FEATURE_CARD_GENERATED_ICON_SIZE_PX, S as galleryReadiness, Sn as formatAppointmentLocation, T as admitReadinessFacts, Tn as publicAppointmentPricingSchema, Tt as resolveEventDetailsPresentation, U as normalizeSelectSource, Un as bindingSchema, Ut as bind, V as createSdkSelectField, Vn as groundPaint, Vt as SectionNode, W as parseFieldDefinition, Wn as DEFAULT_MEDIA_FIELD_KINDS, Wt as bookingForm, X as sectionContainer, Xn as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, Xt as headerSection, Y as styledContainer, Yn as resolveRepeaterGridSpanFieldId, Yt as form, Z as layoutSectionGround, Zn as linkSchema, Zt as icon, _ as cardListSectionActionFields, _n as eventDiscoveryFilterKeys, _t as describeUnresolvedLocationMapLocation, a as cardListSectionAction, an as stack, at as emptyStateField, b as formDataSchema, bn as resolveEventScope, bt as parseLocationMapLoaderResult, c as newsletterSignupBlockDefinition, cn as when, ct as cardStylesField, d as eventListingBlockDefinition, dn as eventReadinessQuery, dt as createButtonGroup, en as media, er as isCanonicalRichTextDoc, f as mapDrawingStyleBinding, fn as eventReadinessQueryKeys, ft as createButtonVariantField, g as cardListPresentationBindings, gn as resolveEventScopeRead, gt as LOCATION_MAP_LOADER_KEYS, h as cardListPhotoNumberFields, hn as resolveEventCalendarRead, ht as LOCATION_MAP_LIMITS, i as shopBlockDefinition, in as section, it as columnsField, j as giftingBlockDefinition, jn as lookLeadSlotTransform, jt as desktopOnlyDisplay, k as unavailableReadinessFact, kn as resolveBackgroundColorValue, l as sanitizeNewsletterSignupPublicContent, ln as blockChecksForEvents, lt as containerStylesField, m as cardListKnobFields, mn as recurringScheduleRead, mt as LOCATION_MAP_DEFAULTS, nn as repeat, nt as offeringCourseSlotParents, o as productListBlockDefinition, on as text, ot as eventDisplayFields, p as eventCalendarBlockDefinition, pn as eventReadinessResultSchema, q as sectionHeaderFields, qn as resolveRepeaterGridColumnFieldId, qt as el, rn as richText, rt as cardStylingFields, s as productDetailBlockDefinition, sn as videoEmbed, st as layoutField, t as serverComponentRegistry, tn as props, tt as buildLoadedOfferingsPreviewListing, u as normalizeMailingListBlockContent, un as eventReadinessLoaderKey, ut as sectionStylesField, v as normalizeCardListContent, vn as eventScopeLoaderParam, vt as normalizeLocationMapProps, w as testimonialsReadiness, wn as publicAppointmentLocationSchema, wt as eventHeaderSlotParents, x as chosenString, xn as formatAppointmentDuration, xt as resolveLocationMapLocation, y as formBlockDefinition, yn as eventScopeQueryKeys, yt as normalizeLocationMapSource, z as composeFragments, zn as ICON_CONFIG, zt as FEATURE_CARD_ICON_TREATMENTS } from "./registry.server-DzvtVVD0.mjs";
|
|
9
|
+
import { $ as navLinkOwnsHoverForeground, $t as TokenResolver, A as filterLookIdsForPolicy, At as themeV2CompilerOwnedFieldNames, B as surfaceResolutionContextFromTheme, Bt as designIssueSeverityForPolicy, C as resolveModeArrangement, Cn as asPageFlowPresetId, Ct as deriveSectionGround, D as buildInitialPolicyPageDesignIntent, Dt as sectionSurfaceBase, E as applySiteStyleBlockPoliciesToPageDesignIntent, Et as sectionForegroundBackground, F as getCuratedSiteStyle, Ft as assertNever$5, G as getNavLinkPreset, Gt as sectionBackgroundPaintValues, H as generateDefaultCardSystem, Ht as introCompositionTreatmentValues, I as requireCuratedSiteStyle, It as defineBlockDesignCapability, J as generateEffectsCSS, Jt as opaqueSurfaceContextFromTheme, K as buildTextContrastShadow, Kt as testimonialsCompositionTreatmentValues, L as compilePageRuntimeFields, Lt as defineExactCatalog, M as componentRuntimeRulesForTheme, N as designRuntimeRulesForSiteStyle, O as deriveSiteStyleBlockPolicy, Ot as defaultHeroImageSurfaceTreatment, P as designRuntimeRulesForTheme, Pt as lookModes, Q as navLinkHoverColorCandidate, Qt as arrangementSlotNames, Rt as defineFrameCapability, S as resolveEffectiveArrangement, Sn as asLayoutVariantKey, St as applyLookPhotoTreatment, T as applyBlockContentVariantPolicy, Tn as makeBoundaryId, Tt as resolveSectionBackground, U as generateFooterCss, Ut as offeringsPreviewCompositionTreatmentValues, V as resolveCardRole, Vt as featureCardCompositionTreatmentValues, W as footerForegroundCandidates, Wt as plainFrame, X as resolveEffectPaint, Xt as selectLogoVariant, Y as resolveEffectApplications, Yt as opaqueSurfaceDeclarations, Z as generateInteractiveChildInheritanceCSS, Zt as surfaceToneFromForegroundToken, _ as resolveArrangementLookForBlock, _n as asHeaderLayoutId, _t as softBoundaryOption, an as blockCustomCssRuleSchema, at as pageDesignDecisionsV2Schema, b as arrangementManifestFromVariants, bn as asAppearancePresetId, bt as anglePolygonCss, c as lookPresentationOnPalette, cn as boxBackgroundSchema, ct as sectionShapeForGround, d as arrangementAppearancePresets, dt as boundaryOptionForTransitionIntent, et as navLinkOwnsUnderline, f as arrangementLookHooks, fn as cardVariantRoleValues, ft as boundaryOptions, g as getCompatibleBlockAppearancePresets, gt as noneBoundaryOption, h as compileArrangementLookRuntime, hn as surfaceCardRoleValues, ht as isDecorativeTransitionIntent, in as headerVariantValues, it as resolvePageDesignBoundaryChoice, j as componentRuntimeRulesForSiteStyle, jt as appearancePresets, k as filterLayoutProfilesForPolicy, kt as stripStaleTransitionStyleGroup, l as resolveLookSurfacePresentation, ln as runtimeBoxBackgroundSchema, lt as sectionShapeFromContent, m as automaticArrangementLook, mt as boundaryTreatmentForBoundaryOptionId, nn as sectionStylesOverrideSchema, nt as rebasePageDesignIntentToSiteStyle, o as resolvedItemSurfaceProps, on as customCssRuleSchema, p as arrangementStyleAvailability, pt as boundaryRuntimeMetricsForDecorativeTransition, q as generateNavLinkCSS, qt as toNonEmptyReadonlyArray, rn as themeSchema, rt as resolvePageDesignBlockLookChoice, s as itemRole, t as logger, tt as parsePageDesignIntent, u as selectItemSurfacePresentation, ut as sectionShapeHook, v as resolveLookForBlock, vn as asHeaderStyleId, vt as spaciousBoundaryOption, w as resolvePublishedLook, wn as asSiteStyleId, wt as parseCanonicalRuntimeBackground, x as readStoredMode, xn as asDesignBlockId, xt as transitionCatalogueEntries, y as styleSectionBackgroundForColour, yn as siteChromeBackgroundOverrideOwner, yt as transitionIntentForTreatment, z as stripCompiledRuntimeStyleFields, zt as defineNoBlockDesignCapability } from "./noop-jesvJXEE.mjs";
|
|
10
10
|
import { T as parseThemeColorToken, a as createStandardButtonSurfacePolicy, i as buttonSizeNameSchema, s as unsafeAsOpaqueButtonColourToken, t as DEFAULT_VARIANT_ALIAS_ID, w as parseColorTokenParts } from "./types-BEaKfam_.mjs";
|
|
11
|
-
import { $ as
|
|
12
|
-
import { _ as parseRuntimeBackgroundContent, a as hasFixedFrameBackgroundMotion, c as resolveItemCardRole, d as isSectionMinHeight, f as isSemanticSpacing, g as parseBackgroundOverlay, h as parseBackgroundContent, i as fixedFrameScopeClass, m as resolveSpacing, n as ROUNDED_CLASSES, o as normalizeBoxStylesBorder, p as resolveSectionMinHeight, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles, t as RAISED_SHADOW_CLASS, u as SEMANTIC_SPACING_VALUES } from "./boxStyleClassNames-
|
|
11
|
+
import { $ as resolveSurfaceForeground, B as cssVarValue, C as materializeRuntimeButtonAppearance, Ct as resolveConcreteColorHex, E as DEFAULT_BUTTON_SIZES, Ft as contrastRatio, G as callsCssLoadingFunction, Gt as oklchToHexGamut, H as rgbColorValue, Ht as hexToRgb, J as expandPalette, K as staysInsideDeclaration, Kt as rgbToHex, N as mapButtonVisualAppearances, O as FONT_SIZE_MAP, Pt as ORDINARY_TEXT_MIN_CONTRAST_RATIO, R as backgroundColorStyle, S as buttonTypographyDeclarations, St as ownedThemeSnapshot, T as BORDER_WIDTH_MAP, Tt as neutralInk, U as textColorStyle, Ut as oklabToOklch, V as mergeStyles, W as textColorValue, Wt as oklabToSrgb, Y as compositeHex, _ as formatButtonColourContractError, _t as surfaceForegroundValueWithOpacity, at as HOVER_TEXT_THRESHOLD, b as buttonShadow, bt as surfaceInkValue, ct as inkReference, dt as SURFACE_FOREGROUND_CSS_VARS, et as safeTokenOr, f as actionVariableFallback, ft as SURFACE_INK_CSS_VARS, g as BUTTON_CONTRAST_POLICY, gt as surfaceForegroundValue, h as resolveSolidButtonColour, ht as surfaceForegroundStyle, k as generateShadowValue$1, l as surfaceDecorationColors, lt as planForegroundHover, m as compileButtonColourStates, mt as surfaceForegroundInputFromResolved, n as parseSurfaceTree, o as resolveSurface, ot as certifyPaint, pt as surfaceForegroundDeclarations, q as SURFACE_SECONDARY_TEXT_TINT_ALPHA, qt as srgbToOklab, r as prepareSurfaceIndex, rt as solveSurfaceInks, st as contrastThresholdByPolicy, tt as surfaceInkPublication, ut as DEFAULT_SURFACE_TEXT_COLOR, v as buttonBorder, vt as surfaceInkDeclarations, w as paddingDeclarations, wt as resolveOpaqueSurfaceHex, x as buttonStateAppearanceDeclarations, xt as freezeOwnedThemeValue, y as buttonRadius, yt as surfaceInkStyle, z as borderColorStyle, zt as solidPaint } from "./accessibleSurfaces-BogaGutk.mjs";
|
|
12
|
+
import { _ as parseRuntimeBackgroundContent, a as hasFixedFrameBackgroundMotion, c as resolveItemCardRole, d as isSectionMinHeight, f as isSemanticSpacing, g as parseBackgroundOverlay, h as parseBackgroundContent, i as fixedFrameScopeClass, m as resolveSpacing, n as ROUNDED_CLASSES, o as normalizeBoxStylesBorder, p as resolveSectionMinHeight, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles, t as RAISED_SHADOW_CLASS, u as SEMANTIC_SPACING_VALUES } from "./boxStyleClassNames-BFuqZCfz.mjs";
|
|
13
13
|
import { C as themeButtonSelector, S as parseThemeButtonVariantId, w as AFFORDANCE_SUPPRESS_CLASS } from "./ThemedButton-PFOhXktM.mjs";
|
|
14
14
|
import { t as NAV_DROPDOWN_CONTAINER_RAIL_CSS_RULES } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
15
15
|
import { s as declarativeCarouselSlides } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
16
16
|
import { n as getCurrentResolveImageUrlContext, o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-DzvnjYXm.mjs";
|
|
17
17
|
import { n as eventAutoApplyDiscountPreviewSchema } from "./events-9LPvwbWp.mjs";
|
|
18
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
19
|
-
import { a as eventItemSlotParents, i as cardItemSlotParents } from "./EventItem-
|
|
20
|
-
import { n as eventListSlotParents } from "./EventListing.view-
|
|
18
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-Bnng7JFA.mjs";
|
|
19
|
+
import { a as eventItemSlotParents, i as cardItemSlotParents } from "./EventItem-Bb0ppG2N.mjs";
|
|
20
|
+
import { n as eventListSlotParents } from "./EventListing.view-DsqvuulZ.mjs";
|
|
21
21
|
import { r as themeRuntimeScopeProps, t as buildThemeDataAttrs } from "./themeScopeUtils-BAOw_fNA.mjs";
|
|
22
22
|
import { t as resolveBlocksPageMediaContext } from "./mediaAssets-COfQolI3.mjs";
|
|
23
23
|
import * as React$1 from "react";
|
|
@@ -705,28 +705,20 @@ function assertUniqueLayoutProfileKeys(profiles) {
|
|
|
705
705
|
}
|
|
706
706
|
//#endregion
|
|
707
707
|
//#region ../theme-core/src/site-styles/sectionBoundaryComposition.ts
|
|
708
|
-
const backgroundToken = requireThemeColorToken("background");
|
|
709
708
|
/**
|
|
710
709
|
* Classifies a section from its final render content. `_sectionStyles`
|
|
711
710
|
* already holds the effective background (Look default, page-design override
|
|
712
711
|
* and block-authored media merged by `resolveSectionBackground`), so this only
|
|
713
|
-
* reads it and never re-decides precedence.
|
|
714
|
-
*
|
|
712
|
+
* reads it and never re-decides precedence. What it paints comes from
|
|
713
|
+
* `groundPaint`, the same decision the background layer paints from, given
|
|
714
|
+
* the ground the section declares for when its content sets no colour.
|
|
715
715
|
*/
|
|
716
|
-
function boundaryEndpointForSectionContent(content) {
|
|
716
|
+
function boundaryEndpointForSectionContent(content, ground) {
|
|
717
717
|
const background = parseCanonicalRuntimeBackground(content);
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
const effective = background.background;
|
|
723
|
-
switch (effective.type) {
|
|
724
|
-
case "color": {
|
|
725
|
-
if (effective.color === null || effective.color === void 0) return {
|
|
726
|
-
kind: "paint",
|
|
727
|
-
token: backgroundToken
|
|
728
|
-
};
|
|
729
|
-
const token = parseThemeColorToken(effective.color);
|
|
718
|
+
const paint = groundPaint(background.kind === "none" ? null : background.background, ground.fallback);
|
|
719
|
+
switch (paint.kind) {
|
|
720
|
+
case "fill": {
|
|
721
|
+
const token = parseThemeColorToken(paint.colour);
|
|
730
722
|
return token ? {
|
|
731
723
|
kind: "paint",
|
|
732
724
|
token
|
|
@@ -739,26 +731,30 @@ function boundaryEndpointForSectionContent(content) {
|
|
|
739
731
|
kind: "unpainted",
|
|
740
732
|
reason: "gradient"
|
|
741
733
|
};
|
|
742
|
-
case "
|
|
743
|
-
case "video": return {
|
|
734
|
+
case "media": return {
|
|
744
735
|
kind: "unpainted",
|
|
745
736
|
reason: "media"
|
|
746
737
|
};
|
|
747
|
-
|
|
738
|
+
case "bare": return {
|
|
739
|
+
kind: "paint",
|
|
740
|
+
token: pageGround.fallback
|
|
741
|
+
};
|
|
742
|
+
default: return assertNever$5(paint, "Unhandled ground paint");
|
|
748
743
|
}
|
|
749
744
|
}
|
|
750
745
|
/**
|
|
751
746
|
* Reads every fact from final render content in one place. `_frameStyles` is
|
|
752
747
|
* the compiled frame; content without one (no page design, an SDK block)
|
|
753
|
-
* draws a plain frame.
|
|
748
|
+
* draws a plain frame. `ground` is what the section declares it paints when
|
|
749
|
+
* its content sets no colour (`pageGround` for a section that declares none).
|
|
754
750
|
*/
|
|
755
|
-
function sectionFactsForContent(content) {
|
|
751
|
+
function sectionFactsForContent(content, ground) {
|
|
756
752
|
const photoGround = isLookPhotoGround(content);
|
|
757
753
|
return {
|
|
758
754
|
endpoint: photoGround ? {
|
|
759
755
|
kind: "unpainted",
|
|
760
756
|
reason: "media"
|
|
761
|
-
} : boundaryEndpointForSectionContent(content),
|
|
757
|
+
} : boundaryEndpointForSectionContent(content, ground),
|
|
762
758
|
...photoGround || isPhotoBackground(content) ? { photo: true } : {},
|
|
763
759
|
frame: frameKindForContent(content),
|
|
764
760
|
shape: sectionShapeFromContent(content)
|
|
@@ -836,6 +832,26 @@ function composeBoundary(previous, next, treatment) {
|
|
|
836
832
|
reason: "both-unpainted"
|
|
837
833
|
};
|
|
838
834
|
}
|
|
835
|
+
/**
|
|
836
|
+
* Decides the seam between two adjacent sections from the same facts that
|
|
837
|
+
* decide the boundary. Shared ground needs two platform sections painting the
|
|
838
|
+
* identical theme token, with no field, flush panel or photo on either side;
|
|
839
|
+
* gradients and literal colours are unpainted, so they never merge. A shared
|
|
840
|
+
* ground is always a `same-paint` join, so a seam never sits beside a drawn
|
|
841
|
+
* boundary or its reserves.
|
|
842
|
+
*/
|
|
843
|
+
function sectionSeam(previous, next) {
|
|
844
|
+
if (previous.facts.shape === "field" && next.facts.shape === "field") return "fields";
|
|
845
|
+
return mergesGround(previous) && mergesGround(next) && samePaint(previous.facts.endpoint, next.facts.endpoint) ? "shared-ground" : "none";
|
|
846
|
+
}
|
|
847
|
+
/** A side can share its ground only when the platform paints it edge to edge, with no flush panel or photo. */
|
|
848
|
+
function mergesGround(side) {
|
|
849
|
+
const { facts } = side;
|
|
850
|
+
return side.section === "platform" && facts.shape !== "field" && facts.frame !== "flush-panel" && !facts.photo;
|
|
851
|
+
}
|
|
852
|
+
function samePaint(previous, next) {
|
|
853
|
+
return previous.kind === "paint" && next.kind === "paint" && previous.token === next.token;
|
|
854
|
+
}
|
|
839
855
|
/** Treatment-specific placement and indistinguishable paint are composition decisions. */
|
|
840
856
|
function paintNotShownReason(previous, next, treatment) {
|
|
841
857
|
if (treatment === "wave-edge-echo" && (!previous.photo || next.endpoint.kind !== "paint")) return "photo-required";
|
|
@@ -884,11 +900,6 @@ function boundaryLayout(intent, composition) {
|
|
|
884
900
|
default: return assertNever$5(composition, "Unhandled boundary composition");
|
|
885
901
|
}
|
|
886
902
|
}
|
|
887
|
-
function requireThemeColorToken(value) {
|
|
888
|
-
const token = parseThemeColorToken(value);
|
|
889
|
-
if (!token) throw new Error(`Expected a theme color token. Received: ${value}`);
|
|
890
|
-
return token;
|
|
891
|
-
}
|
|
892
903
|
//#endregion
|
|
893
904
|
//#region ../theme-core/src/site-styles/contentTemplateDesignIntent.ts
|
|
894
905
|
function asContentTemplateDesignBlockId(value) {
|
|
@@ -6924,6 +6935,9 @@ function generateBoundaryCss(selector) {
|
|
|
6924
6935
|
* footer blocks intervene, document adapters mark their region so only their
|
|
6925
6936
|
* ending receives the reserve (and an empty region falls back to the page).
|
|
6926
6937
|
*
|
|
6938
|
+
* A two-column layout (a booking page) marks itself rather than a block: its
|
|
6939
|
+
* sections have no padding of their own, and either column can end lower.
|
|
6940
|
+
*
|
|
6927
6941
|
* Pages that don't come from the page renderer (privacy, terms, checkout, the
|
|
6928
6942
|
* portal, a not-found page) have no block ending. The site document's content
|
|
6929
6943
|
* area takes the reserve for them instead, but only when nothing inside it is
|
|
@@ -6933,7 +6947,11 @@ function footerEdgeReserveCss(selector, entry) {
|
|
|
6933
6947
|
const metrics = boundaryRuntimeMetricsForDecorativeTransition(entry.intent);
|
|
6934
6948
|
const withEdge = `${selector}:has([data-footer-edge][data-boundary-treatment='${entry.intent}'])`;
|
|
6935
6949
|
const pageEnds = `${withEdge}:not(:has([data-footer-blocks] [data-page-ending]))`;
|
|
6936
|
-
return [
|
|
6950
|
+
return [
|
|
6951
|
+
rule(`${pageEnds} [data-block][data-page-ending] > ${blockSection}, ${withEdge} [data-footer-blocks] [data-block][data-page-ending] > ${blockSection}`, [`padding-bottom: calc(var(--rb-section-pad-y, 0rem) + ${metrics.heightCss});`]),
|
|
6952
|
+
rule(`${pageEnds} [data-page-layout][data-page-ending]`, [`padding-bottom: calc(var(--rb-page-layout-pad-y, 0rem) + ${metrics.heightCss});`]),
|
|
6953
|
+
rule(`${pageEnds} [data-site-document-content]:not(:has([data-page-ending]))`, [`padding-bottom: ${metrics.heightCss};`])
|
|
6954
|
+
];
|
|
6937
6955
|
}
|
|
6938
6956
|
function placementCss(boundary) {
|
|
6939
6957
|
return Object.keys(placementRules).flatMap((placement) => {
|
|
@@ -7684,9 +7702,16 @@ const registrationSurfaceVars = `
|
|
|
7684
7702
|
--er-event-card-border-width: var(--rb-border-width, 1px);
|
|
7685
7703
|
--er-event-card-hover-opacity: 1;
|
|
7686
7704
|
--er-control-bg: rgb(var(--tb-background, var(--tb-surface)));
|
|
7705
|
+
/* Secondary text on those controls: the background's own solved muted ink,
|
|
7706
|
+
not the surface's, which a dark surface would leave unreadable here. */
|
|
7707
|
+
--er-control-muted: rgb(var(--tb-onBackgroundMuted, var(--tb-mutedText, var(--tb-text))));
|
|
7687
7708
|
--er-control-text: rgb(var(--tb-foreground, var(--tb-text)));
|
|
7688
7709
|
--er-radius: var(--rb-block-radius);
|
|
7689
|
-
|
|
7710
|
+
/* Tints under text read their ground's faded tint where the palette
|
|
7711
|
+
publishes one (a tint that ground's muted ink can't read on), else the
|
|
7712
|
+
colour itself: page-background tints for the controls, surface tints
|
|
7713
|
+
elsewhere. */
|
|
7714
|
+
--er-surface-muted: rgb(var(--tb-surfaceTintMuted, var(--tb-muted, 241 245 249)) / ${SURFACE_SECONDARY_TEXT_TINT_ALPHA.muted});
|
|
7690
7715
|
--er-shell-line: rgb(var(--tb-mutedText, 100 116 139) / 0.22);
|
|
7691
7716
|
|
|
7692
7717
|
/* Step indicator */
|
|
@@ -7696,7 +7721,7 @@ const registrationSurfaceVars = `
|
|
|
7696
7721
|
--er-step-title-size: 1.75rem;
|
|
7697
7722
|
|
|
7698
7723
|
/* State backgrounds with alpha */
|
|
7699
|
-
--er-info-bg: rgb(var(--tb-primary) /
|
|
7724
|
+
--er-info-bg: rgb(var(--tb-surfaceTintPrimary, var(--tb-primary)) / ${SURFACE_SECONDARY_TEXT_TINT_ALPHA.primary});
|
|
7700
7725
|
--er-info-text: rgb(var(--tb-primary));
|
|
7701
7726
|
--er-error-bg: rgb(var(--tb-destructive, 239 68 68) / 0.1);
|
|
7702
7727
|
--er-error-text: rgb(var(--tb-destructive, 239 68 68));
|
|
@@ -7724,14 +7749,14 @@ const registrationSurfaceVars = `
|
|
|
7724
7749
|
--er-payment-border: rgb(var(--tb-border));
|
|
7725
7750
|
--er-payment-border-hover: rgb(var(--tb-primary) / 0.5);
|
|
7726
7751
|
--er-payment-border-selected: rgb(var(--tb-primary));
|
|
7727
|
-
--er-payment-bg-selected: rgb(var(--tb-primary) / 0.08);
|
|
7752
|
+
--er-payment-bg-selected: rgb(var(--tb-backgroundTintPrimary, var(--tb-primary)) / 0.08);
|
|
7728
7753
|
|
|
7729
7754
|
/* Checkmark indicator */
|
|
7730
7755
|
--er-check-bg: rgb(var(--tb-primary));
|
|
7731
7756
|
--er-check-text: rgb(var(--tb-onPrimary, 255 255 255));
|
|
7732
7757
|
|
|
7733
7758
|
/* Order summary */
|
|
7734
|
-
--er-summary-bg: rgb(var(--tb-primary) /
|
|
7759
|
+
--er-summary-bg: rgb(var(--tb-surfaceTintPrimary, var(--tb-primary)) / ${SURFACE_SECONDARY_TEXT_TINT_ALPHA.primary});
|
|
7735
7760
|
--er-summary-border: rgb(var(--tb-border));
|
|
7736
7761
|
|
|
7737
7762
|
/* Shared registration-surface mappings (issue 1174).
|
|
@@ -7742,6 +7767,7 @@ const registrationSurfaceVars = `
|
|
|
7742
7767
|
--rb-reg-border-hover: var(--er-border-hover);
|
|
7743
7768
|
--rb-reg-border-selected: var(--er-border-selected);
|
|
7744
7769
|
--rb-reg-bg-selected: var(--er-payment-bg-selected);
|
|
7770
|
+
--rb-reg-pay-bg-selected: rgb(var(--tb-backgroundTintPrimary, var(--tb-primary)) / 0.06);
|
|
7745
7771
|
--rb-reg-option-bg: var(--er-control-bg);
|
|
7746
7772
|
--rb-reg-option-hover-shadow: 0 8px 18px rgb(var(--tb-shadow, 15 23 42) / 0.08);
|
|
7747
7773
|
--rb-reg-surface-bg: rgb(var(--tb-surface));
|
|
@@ -7896,24 +7922,12 @@ function generateEventCombinedVars({ themeId }) {
|
|
|
7896
7922
|
}
|
|
7897
7923
|
//#endregion
|
|
7898
7924
|
//#region ../theme-core/src/blocks/vars/appointment-booking.ts
|
|
7899
|
-
|
|
7900
|
-
* Generate CSS variables for the appointment-booking block.
|
|
7901
|
-
*
|
|
7902
|
-
* Variables defined:
|
|
7903
|
-
* - Selection card states (background, border, selected)
|
|
7904
|
-
* - Success/error state colors
|
|
7905
|
-
* - Loading spinner color
|
|
7906
|
-
* - Text opacity levels
|
|
7907
|
-
* - Form element colors
|
|
7908
|
-
*/
|
|
7909
|
-
function generateAppointmentBookingVars({ themeId }) {
|
|
7910
|
-
return `
|
|
7911
|
-
${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booking"])`} {
|
|
7925
|
+
const appointmentSurfaceVars = `
|
|
7912
7926
|
/* Selection cards (service/resource/time) */
|
|
7913
7927
|
--ab-card-border: rgb(var(--tb-border));
|
|
7914
7928
|
--ab-card-border-hover: rgb(var(--tb-primary) / 0.5);
|
|
7915
7929
|
--ab-card-border-selected: rgb(var(--tb-primary));
|
|
7916
|
-
--ab-card-bg-selected: rgb(var(--tb-primary) / 0.05);
|
|
7930
|
+
--ab-card-bg-selected: rgb(var(--tb-surfaceTintPrimary, var(--tb-primary)) / 0.05);
|
|
7917
7931
|
|
|
7918
7932
|
/* Checkmark indicator */
|
|
7919
7933
|
--ab-check-bg: rgb(var(--tb-primary));
|
|
@@ -7928,7 +7942,7 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booki
|
|
|
7928
7942
|
--ab-info-text: rgb(var(--tb-info));
|
|
7929
7943
|
|
|
7930
7944
|
/* Muted summary state */
|
|
7931
|
-
--ab-muted-bg: rgb(var(--tb-text) /
|
|
7945
|
+
--ab-muted-bg: rgb(var(--tb-surfaceTintText, var(--tb-text)) / ${SURFACE_SECONDARY_TEXT_TINT_ALPHA.text});
|
|
7932
7946
|
|
|
7933
7947
|
/* Focus ring used by shared registration-surface controls */
|
|
7934
7948
|
--ab-input-focus-ring: rgb(var(--tb-primary) / 0.3);
|
|
@@ -7942,13 +7956,14 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booki
|
|
|
7942
7956
|
--rb-reg-border-hover: var(--ab-card-border-hover);
|
|
7943
7957
|
--rb-reg-border-selected: var(--ab-card-border-selected);
|
|
7944
7958
|
--rb-reg-bg-selected: var(--ab-card-bg-selected);
|
|
7959
|
+
--rb-reg-pay-bg-selected: rgb(var(--tb-surfaceTintPrimary, var(--tb-primary)) / 0.06);
|
|
7945
7960
|
--rb-reg-option-bg: transparent;
|
|
7946
7961
|
--rb-reg-option-hover-shadow: 0 8px 18px rgb(var(--tb-shadow, 15 23 42) / 0.08);
|
|
7947
7962
|
--rb-reg-surface-bg: rgb(var(--tb-surface));
|
|
7948
7963
|
--rb-reg-on-surface: rgb(var(--tb-onSurface, var(--tb-text)));
|
|
7949
|
-
--rb-reg-on-surface-muted: rgb(var(--tb-onSurface, var(--tb-text))
|
|
7950
|
-
--rb-reg-on-surface-subtle: rgb(var(--tb-onSurface, var(--tb-text))
|
|
7951
|
-
--rb-reg-on-surface-faint: rgb(var(--tb-onSurface, var(--tb-text))
|
|
7964
|
+
--rb-reg-on-surface-muted: rgb(var(--tb-onSurfaceMuted, var(--tb-onSurface, var(--tb-text))));
|
|
7965
|
+
--rb-reg-on-surface-subtle: rgb(var(--tb-onSurfaceMuted, var(--tb-onSurface, var(--tb-text))));
|
|
7966
|
+
--rb-reg-on-surface-faint: rgb(var(--tb-onSurfaceMuted, var(--tb-onSurface, var(--tb-text))));
|
|
7952
7967
|
--rb-reg-check-bg: var(--ab-check-bg);
|
|
7953
7968
|
--rb-reg-check-text: var(--ab-check-text);
|
|
7954
7969
|
--rb-reg-step-active: rgb(var(--tb-primary));
|
|
@@ -7956,6 +7971,21 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booki
|
|
|
7956
7971
|
--rb-reg-summary-border: var(--ab-card-border);
|
|
7957
7972
|
--rb-reg-focus-ring: var(--ab-input-focus-ring);
|
|
7958
7973
|
--rb-reg-shell-line: rgb(var(--tb-mutedText, 100 116 139) / 0.22);
|
|
7974
|
+
`;
|
|
7975
|
+
/**
|
|
7976
|
+
* Generate CSS variables for the appointment-booking block.
|
|
7977
|
+
*
|
|
7978
|
+
* Variables defined:
|
|
7979
|
+
* - Selection card states (background, border, selected)
|
|
7980
|
+
* - Success/error state colors
|
|
7981
|
+
* - Loading spinner color
|
|
7982
|
+
* - Text opacity levels
|
|
7983
|
+
* - Form element colors
|
|
7984
|
+
*/
|
|
7985
|
+
function generateAppointmentBookingVars({ themeId }) {
|
|
7986
|
+
return `
|
|
7987
|
+
${`:where([data-theme-scope="${themeId}"]) :where([data-block="appointment-booking"])`} {
|
|
7988
|
+
${appointmentSurfaceVars}
|
|
7959
7989
|
}
|
|
7960
7990
|
`;
|
|
7961
7991
|
}
|
|
@@ -10401,12 +10431,6 @@ function appendBackgroundMediaClasses(baseClassName, input) {
|
|
|
10401
10431
|
backgroundVideoMobileClassNames(input)
|
|
10402
10432
|
].filter(Boolean).join(" ");
|
|
10403
10433
|
}
|
|
10404
|
-
function gradientPresetCss(value) {
|
|
10405
|
-
const presetId = parseGradientPresetId(value);
|
|
10406
|
-
if (!presetId) return null;
|
|
10407
|
-
const preset = getGradientPreset(presetId);
|
|
10408
|
-
return gradientToCss(preset, Object.fromEntries(preset.stops.map((stop) => [stop.color, `rgb(var(--tb-${stop.color}))`])));
|
|
10409
|
-
}
|
|
10410
10434
|
const backgroundTransforms = [
|
|
10411
10435
|
{
|
|
10412
10436
|
id: "background.resolveMedia",
|
|
@@ -10539,12 +10563,11 @@ function parseMediaBackground(value) {
|
|
|
10539
10563
|
}
|
|
10540
10564
|
function resolveBackgroundLayerStyle(value, fallbackToken, context) {
|
|
10541
10565
|
const background = parseRuntimeBackgroundContent(value);
|
|
10566
|
+
const paint = groundPaint(background, fallbackToken ?? null);
|
|
10542
10567
|
const style = {};
|
|
10543
|
-
const
|
|
10544
|
-
|
|
10545
|
-
|
|
10546
|
-
if (resolvedColor) style.backgroundColor = resolvedColor;
|
|
10547
|
-
if (gradient) style.backgroundImage = gradient;
|
|
10568
|
+
const fill = paint.kind === "fill" ? paint.colour : paint.kind === "media" ? paint.fill : null;
|
|
10569
|
+
if (fill) style.backgroundColor = resolveBackgroundColorValue(fill, context);
|
|
10570
|
+
if (paint.kind === "gradient") style.backgroundImage = paint.gradient;
|
|
10548
10571
|
const opacity = backgroundMediaOpacity(background);
|
|
10549
10572
|
if (opacity !== null) style.opacity = String(opacity);
|
|
10550
10573
|
return style;
|
|
@@ -11369,14 +11392,25 @@ const eventCalendarSelectionParam = {
|
|
|
11369
11392
|
return key === "seriesIds" ? void 0 : scope.filters[key];
|
|
11370
11393
|
}
|
|
11371
11394
|
};
|
|
11395
|
+
const scopeParamSchema = z.object({ key: z.enum(eventScopeQueryKeys) });
|
|
11372
11396
|
/** Public event query params for the section's scope, shared by render loaders and readiness. */
|
|
11373
11397
|
const eventScopeParam = {
|
|
11374
11398
|
id: "events.scopeParam",
|
|
11375
11399
|
kind: "formatter",
|
|
11376
11400
|
summary: "Public event query params for the section scope",
|
|
11377
|
-
schema:
|
|
11401
|
+
schema: scopeParamSchema,
|
|
11378
11402
|
run(value, { key }) {
|
|
11379
|
-
return eventScopeLoaderParam(
|
|
11403
|
+
return eventScopeLoaderParam(resolveEventScopeRead(asPartialObject(value) ?? {}).query, key);
|
|
11404
|
+
}
|
|
11405
|
+
};
|
|
11406
|
+
/** Public event query params for whatever the calendar's display mode reads (see resolveEventCalendarRead). */
|
|
11407
|
+
const eventCalendarReadParam = {
|
|
11408
|
+
id: "events.calendarReadParam",
|
|
11409
|
+
kind: "formatter",
|
|
11410
|
+
summary: "Public event query params for the calendar display mode",
|
|
11411
|
+
schema: scopeParamSchema,
|
|
11412
|
+
run(value, { key }) {
|
|
11413
|
+
return eventScopeLoaderParam(resolveEventCalendarRead(asPartialObject(value) ?? {}).query, key);
|
|
11380
11414
|
}
|
|
11381
11415
|
};
|
|
11382
11416
|
const readJobSchema = z.object({ job: z.enum([
|
|
@@ -11461,6 +11495,7 @@ const defaultTransforms = createTransformRegistry([
|
|
|
11461
11495
|
eventCalendarListWindow,
|
|
11462
11496
|
eventCalendarSelectionParam,
|
|
11463
11497
|
eventScopeParam,
|
|
11498
|
+
eventCalendarReadParam,
|
|
11464
11499
|
eventCalendarReadEnabled,
|
|
11465
11500
|
eventCalendarReadProfile,
|
|
11466
11501
|
eventCalendarBanded,
|
|
@@ -17434,20 +17469,27 @@ function joinAcrossRun(byPair, previousBlockId, nextBlockId, run) {
|
|
|
17434
17469
|
}
|
|
17435
17470
|
/**
|
|
17436
17471
|
* The single composition site. For every adjacent pair of survivors with ids,
|
|
17437
|
-
* finds its join and composes it
|
|
17438
|
-
* each paints with and the
|
|
17472
|
+
* finds its join and composes it, and decides their seam, from the same facts
|
|
17473
|
+
* read once from each survivor's final content: what each paints with and the
|
|
17474
|
+
* frame each draws.
|
|
17439
17475
|
*/
|
|
17440
17476
|
function composePageJoins(input) {
|
|
17441
17477
|
const byPair = joinsByPair(input.joins);
|
|
17478
|
+
const sides = input.survivors.map((survivor) => ({
|
|
17479
|
+
facts: sectionFactsForContent(survivor.content, survivor.ground),
|
|
17480
|
+
section: survivor.section
|
|
17481
|
+
}));
|
|
17442
17482
|
return input.survivors.flatMap((previous, index) => {
|
|
17443
17483
|
const next = input.survivors[index + 1];
|
|
17444
|
-
|
|
17484
|
+
const before = sides[index];
|
|
17485
|
+
const after = sides[index + 1];
|
|
17486
|
+
if (!next || !before || !after || !previous.id || !next.id) return [];
|
|
17445
17487
|
const join = byPair.get(pairKey(previous.id, next.id));
|
|
17446
17488
|
return [{
|
|
17447
17489
|
previousBlockId: previous.id,
|
|
17448
17490
|
nextBlockId: next.id,
|
|
17449
|
-
join: join ? composeJoin(join,
|
|
17450
|
-
|
|
17491
|
+
join: join ? composeJoin(join, before.facts, after.facts) : null,
|
|
17492
|
+
seam: sectionSeam(before, after)
|
|
17451
17493
|
}];
|
|
17452
17494
|
});
|
|
17453
17495
|
}
|
|
@@ -17457,7 +17499,7 @@ function composeJoin(join, previous, next) {
|
|
|
17457
17499
|
previousBlockId: join.previousBlockId,
|
|
17458
17500
|
nextBlockId: join.nextBlockId,
|
|
17459
17501
|
treatment: join.treatment,
|
|
17460
|
-
outcome: composeBoundary(
|
|
17502
|
+
outcome: composeBoundary(previous, next, join.treatment)
|
|
17461
17503
|
};
|
|
17462
17504
|
}
|
|
17463
17505
|
/** Placement, reserves and paint for a join that draws; null otherwise. */
|
|
@@ -17539,10 +17581,14 @@ function blockBoundaryReserves(input) {
|
|
|
17539
17581
|
return {
|
|
17540
17582
|
topPlacement: top?.placement,
|
|
17541
17583
|
bottomPlacement: bottom?.placement,
|
|
17542
|
-
|
|
17584
|
+
seamBefore: seamAttribute(input.before),
|
|
17585
|
+
seamAfter: seamAttribute(input.after),
|
|
17543
17586
|
style: top || bottom ? style : void 0
|
|
17544
17587
|
};
|
|
17545
17588
|
}
|
|
17589
|
+
function seamAttribute(slot) {
|
|
17590
|
+
return slot && slot.seam !== "none" ? slot.seam : void 0;
|
|
17591
|
+
}
|
|
17546
17592
|
/** The reserve one join needs on one side of itself, if it draws at all. */
|
|
17547
17593
|
function reserveOnSide(slot, side) {
|
|
17548
17594
|
const layout = renderedJoinLayout(slot?.join ?? null);
|
|
@@ -23435,7 +23481,7 @@ const recurringScheduleBlockDefinition = {
|
|
|
23435
23481
|
} },
|
|
23436
23482
|
detailLevel: "listing",
|
|
23437
23483
|
readProfile: "compact-list",
|
|
23438
|
-
...
|
|
23484
|
+
...recurringScheduleRead().query
|
|
23439
23485
|
},
|
|
23440
23486
|
mode: "server"
|
|
23441
23487
|
} }
|
|
@@ -23692,12 +23738,6 @@ function labelForOfferingPreviewSourceKey(sourceKey) {
|
|
|
23692
23738
|
}
|
|
23693
23739
|
//#endregion
|
|
23694
23740
|
//#region ../blocks/src/system/blocks/offerings-preview/index.ts
|
|
23695
|
-
/**
|
|
23696
|
-
* The whole-series presets, as the CSV `listPublicEvents` expects. Both
|
|
23697
|
-
* whole-series presets share one loader: the block renders them as a single
|
|
23698
|
-
* run group.
|
|
23699
|
-
*/
|
|
23700
|
-
const WHOLE_SERIES_EVENT_PRESETS_PARAM = WHOLE_SERIES_EVENT_PRESET_VALUES.join(",");
|
|
23701
23741
|
const publicRouteCandidatesSchema = z.object({ routes: z.array(z.object({
|
|
23702
23742
|
entityId: z.string(),
|
|
23703
23743
|
path: z.string(),
|
|
@@ -23852,7 +23892,10 @@ const offeringsPreviewManifest = createBlockManifest({
|
|
|
23852
23892
|
});
|
|
23853
23893
|
const optionalPublicEventsArraySchema = publicEventsArraySchema.optional();
|
|
23854
23894
|
const offeringsPreviewEventDataSchemas = Object.fromEntries(OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS.map((definition) => [definition.dataKey, optionalPublicEventsArraySchema]));
|
|
23855
|
-
const offeringsPreviewEventDataLoaders = Object.fromEntries(OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS.map((definition) => [definition.dataKey, eventPresetLoader(
|
|
23895
|
+
const offeringsPreviewEventDataLoaders = Object.fromEntries(OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS.map((definition) => [definition.dataKey, eventPresetLoader(offeringsPreviewGroupQuery({
|
|
23896
|
+
kind: "eventPreset",
|
|
23897
|
+
preset: definition.preset
|
|
23898
|
+
}).eventPresets)]));
|
|
23856
23899
|
const offeringsPreviewBlockDefinition = {
|
|
23857
23900
|
manifest: offeringsPreviewManifest,
|
|
23858
23901
|
contentNormalizer: {
|
|
@@ -23932,7 +23975,7 @@ const offeringsPreviewBlockDefinition = {
|
|
|
23932
23975
|
* dates, and each card arrives with the run's complete schedule.
|
|
23933
23976
|
*/
|
|
23934
23977
|
function wholeSeriesRunLoader() {
|
|
23935
|
-
return eventPresetLoader(
|
|
23978
|
+
return eventPresetLoader(offeringsPreviewGroupQuery({ kind: "wholeSeries" }).eventPresets, { readIntent: "runs" });
|
|
23936
23979
|
}
|
|
23937
23980
|
function eventPresetLoader(eventPresets, extraParams = {}) {
|
|
23938
23981
|
return {
|
|
@@ -27440,6 +27483,10 @@ function getBlockDefinition(name) {
|
|
|
27440
27483
|
ensureDefaults();
|
|
27441
27484
|
return blockStore.get(name);
|
|
27442
27485
|
}
|
|
27486
|
+
function hasBlockDefinition(name) {
|
|
27487
|
+
ensureDefaults();
|
|
27488
|
+
return blockStore.has(name);
|
|
27489
|
+
}
|
|
27443
27490
|
//#endregion
|
|
27444
27491
|
//#region ../blocks/src/sdkBlockTransform.ts
|
|
27445
27492
|
/**
|
|
@@ -28642,11 +28689,32 @@ function composeSurvivorJoins(plan, survivors, themeResources) {
|
|
|
28642
28689
|
survivors: survivors.map(({ entry }) => ({
|
|
28643
28690
|
id: entry.block.id,
|
|
28644
28691
|
kind: entry.block.kind,
|
|
28645
|
-
content: boundaryClassificationContent(entry, themeResources)
|
|
28692
|
+
content: boundaryClassificationContent(entry, themeResources),
|
|
28693
|
+
...seamSectionFacts(entry)
|
|
28646
28694
|
}))
|
|
28647
28695
|
});
|
|
28648
28696
|
}
|
|
28649
28697
|
/**
|
|
28698
|
+
* Whether the platform paints this entry's section, and the ground it
|
|
28699
|
+
* declares. Only a system block whose layout is a styled section is
|
|
28700
|
+
* `platform`: that section carries the geometry hook the seam rules target,
|
|
28701
|
+
* whatever the Look or skin. An override component, a custom block, a layout
|
|
28702
|
+
* that draws its own root, or a block that manages its own wrapper (so never
|
|
28703
|
+
* carries the seam attributes) owns its ground and padding.
|
|
28704
|
+
*/
|
|
28705
|
+
function seamSectionFacts(entry) {
|
|
28706
|
+
const own = {
|
|
28707
|
+
ground: pageGround,
|
|
28708
|
+
section: "own"
|
|
28709
|
+
};
|
|
28710
|
+
if (entry.kind !== "renderable" || entry.override || entry.managesOwnWrapper || !hasBlockDefinition(entry.block.kind)) return own;
|
|
28711
|
+
const ground = layoutSectionGround(resolveBlockLayout(entry.definition.manifest, entry.effectiveArrangementKey));
|
|
28712
|
+
return ground ? {
|
|
28713
|
+
ground,
|
|
28714
|
+
section: "platform"
|
|
28715
|
+
} : own;
|
|
28716
|
+
}
|
|
28717
|
+
/**
|
|
28650
28718
|
* The content a join is classified from must be the content that paints the
|
|
28651
28719
|
* section. The default block renderer layers the theme's per-block style
|
|
28652
28720
|
* defaults (`theme.blockOverrides[kind].styles`, background included) under
|
|
@@ -28947,7 +29015,7 @@ function wrapRenderedPage(props, plan, rendered) {
|
|
|
28947
29015
|
function renderPreparedPage(props, preparation, themeResources, imageResolveContext, headingPresentation) {
|
|
28948
29016
|
const resolvedRegistry = props.registry ?? getDefaultComponentRegistry();
|
|
28949
29017
|
const joinSlots = joinSlotsByPair(preparation.joins);
|
|
28950
|
-
const renderRegion = (entries, joins,
|
|
29018
|
+
const renderRegion = (entries, joins, ending) => entries.map((entry, index) => renderGuardedPlanEntry({
|
|
28951
29019
|
entry,
|
|
28952
29020
|
index,
|
|
28953
29021
|
entries,
|
|
@@ -28957,27 +29025,28 @@ function renderPreparedPage(props, preparation, themeResources, imageResolveCont
|
|
|
28957
29025
|
resolvedRegistry,
|
|
28958
29026
|
systemTrees: headingPresentation.trees,
|
|
28959
29027
|
joinSlots: joins,
|
|
28960
|
-
|
|
29028
|
+
ending,
|
|
28961
29029
|
wrapBlock: props.wrapBlock,
|
|
28962
29030
|
renderJoin: props.renderJoin
|
|
28963
29031
|
}));
|
|
28964
29032
|
const { main, aside } = preparation.regions;
|
|
28965
29033
|
const title = headingPresentation.needsPageTitle ? /* @__PURE__ */ jsx(PageTitleFallback, { name: props.page?.name ?? "" }) : null;
|
|
28966
|
-
if (aside.length === 0) return /* @__PURE__ */ jsxs("div", { children: [title, renderRegion(main, joinSlots, "
|
|
29034
|
+
if (aside.length === 0) return /* @__PURE__ */ jsxs("div", { children: [title, renderRegion(main, joinSlots, "lastBlock")] });
|
|
28967
29035
|
return /* @__PURE__ */ jsxs("div", {
|
|
28968
29036
|
className: "rb-page-layout",
|
|
28969
29037
|
"data-page-layout": "main-aside",
|
|
29038
|
+
"data-page-ending": "",
|
|
28970
29039
|
children: [
|
|
28971
29040
|
title,
|
|
28972
29041
|
/* @__PURE__ */ jsx("div", {
|
|
28973
29042
|
className: "rb-page-layout__main",
|
|
28974
29043
|
"data-page-region": "main",
|
|
28975
|
-
children: renderRegion(main, joinSlots, "
|
|
29044
|
+
children: renderRegion(main, joinSlots, "elsewhere")
|
|
28976
29045
|
}),
|
|
28977
29046
|
/* @__PURE__ */ jsx("aside", {
|
|
28978
29047
|
className: "rb-page-layout__aside rb-sticky-below-site-chrome",
|
|
28979
29048
|
"data-page-region": "aside",
|
|
28980
|
-
children: renderRegion(aside, /* @__PURE__ */ new Map(), "
|
|
29049
|
+
children: renderRegion(aside, /* @__PURE__ */ new Map(), "elsewhere")
|
|
28981
29050
|
})
|
|
28982
29051
|
]
|
|
28983
29052
|
});
|
|
@@ -29066,9 +29135,9 @@ function requireEntryBlockOverride(entry, themeResources) {
|
|
|
29066
29135
|
}
|
|
29067
29136
|
requireBlockOverride(themeResources, entry.override, entry.block.kind);
|
|
29068
29137
|
}
|
|
29069
|
-
/** The
|
|
29070
|
-
function pageEndingAttribute(
|
|
29071
|
-
return
|
|
29138
|
+
/** The block the footer meets marks itself for the footer edge's reserve. */
|
|
29139
|
+
function pageEndingAttribute(ending, position) {
|
|
29140
|
+
return ending === "lastBlock" && (position === "last" || position === "only") ? "" : void 0;
|
|
29072
29141
|
}
|
|
29073
29142
|
/** The block's stored identifier, emitted as its section `id` so `#identifier` links land on it. */
|
|
29074
29143
|
function blockAnchorId(block) {
|
|
@@ -29135,10 +29204,11 @@ function renderPlanEntry(input) {
|
|
|
29135
29204
|
"data-block-composition": blockComposition?.treatment,
|
|
29136
29205
|
"data-block-composition-kind": blockComposition?.kind,
|
|
29137
29206
|
"data-page-block-position": blockPosition,
|
|
29138
|
-
"data-page-ending": pageEndingAttribute(input.
|
|
29207
|
+
"data-page-ending": pageEndingAttribute(input.ending, blockPosition),
|
|
29139
29208
|
"data-site-style-boundary-before": reserves.topPlacement,
|
|
29140
29209
|
"data-site-style-boundary-after": reserves.bottomPlacement,
|
|
29141
|
-
"data-site-style-
|
|
29210
|
+
"data-site-style-seam-before": reserves.seamBefore,
|
|
29211
|
+
"data-site-style-seam-after": reserves.seamAfter,
|
|
29142
29212
|
"data-style-group": styleGroup,
|
|
29143
29213
|
style: reserves.style,
|
|
29144
29214
|
children: /* @__PURE__ */ jsx(MemoBlockSection, { ...blockSectionProps })
|
|
@@ -32803,7 +32873,7 @@ function bookingMainBlocks(event, identity, hasDetails) {
|
|
|
32803
32873
|
showAcceptedMemberships: true,
|
|
32804
32874
|
showCost: true,
|
|
32805
32875
|
showMap: true,
|
|
32806
|
-
showOtherDates:
|
|
32876
|
+
showOtherDates: !isOrdinaryPublicEvent(event),
|
|
32807
32877
|
showVenue: true
|
|
32808
32878
|
}
|
|
32809
32879
|
}] : [],
|