@riverbankcms/sdk 0.174.0 → 0.174.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/{BlocksIslandsHydrator-GqVX3I8E.d.ts → BlocksIslandsHydrator-YRmc-Yxz.d.ts} +1 -1
- package/dist/_dts/{Page-BhUH31M-.d.ts → Page-Du0zX1B-.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DBn2x0UL.d.ts → SdkPreviewMode-4L8v3FkY.d.ts} +2 -2
- package/dist/_dts/{client-Cr-sOeSl.d.ts → client-B1J6Akyf.d.ts} +1 -1
- package/dist/_dts/{content-types-DKw1yJdN.d.ts → content-types-CGGYI0u_.d.ts} +2 -2
- package/dist/_dts/{contracts-CJ2O03nB.d.ts → contracts-CHMlw9hT.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-DoGHHKr_.d.ts → footerPageOutline-DIHSU1Vr.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-CJGu4hoa.d.ts → generatePageMetadata-JITXD6BU.d.ts} +2 -2
- package/dist/_dts/{index-Bq-488M7.d.ts → index-BLEKFHt1.d.ts} +1 -1
- package/dist/_dts/{index-DYsP4k6S.d.ts → index-BgOr1Xyz.d.ts} +3 -3
- package/dist/_dts/{index-DQZ5L0Gb.d.ts → index-CF62FntA.d.ts} +2 -2
- package/dist/_dts/{index-3GzargmS.d.ts → index-CXZSy_9M.d.ts} +2 -2
- package/dist/_dts/{index-DYlfdT1O.d.ts → index-D9ZYmGAJ.d.ts} +1 -1
- package/dist/_dts/{index-DdEi2iXd.d.ts → index-DpJm0NpL.d.ts} +4 -4
- package/dist/_dts/{index--39uLjrr.d.ts → index-yWDbUojb.d.ts} +1 -1
- package/dist/_dts/{loadContent-BVPagYmy.d.ts → loadContent-M-s0p0rq.d.ts} +7 -7
- package/dist/_dts/{request-Be1E-H-V.d.ts → request-BK-pHf0P.d.ts} +449 -118
- package/dist/_dts/{resolveBlockData-D1pL25bD.d.ts → resolveBlockData-DZAlnhwt.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-B4sbTf96.d.ts → resolvePageContent-DXUCWJ3y.d.ts} +2 -2
- 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/index.d.ts +8 -8
- 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/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 +5 -5
- 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/{types-5MeDI1w8.d.ts → types-CwmB2NHU.d.ts} +7 -7
- package/dist/_dts/{types-Bm5_3VEd.d.ts → types-DjVNADXR.d.ts} +3 -3
- package/dist/_dts/{types-CVoCc_Ia.d.ts → types-Dmow_FI6.d.ts} +2 -2
- package/dist/_dts/{validation-lEtYD-Rh.d.ts → validation-h8t1HLlL.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DkflFLGQ.mjs → BlocksIslandsHydrator-DRVx_XLi.mjs} +16 -16
- package/dist/client/{BookingMailingListNote-CAyoiAGD.mjs → BookingMailingListNote-CwrMzj-k.mjs} +2 -2
- package/dist/client/{BookingPanelArrangement-C7yiJrxm.mjs → BookingPanelArrangement-C2_hFT6K.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-BPQU5Snc.mjs → CalendarNavigationChevron-Az1-TIEI.mjs} +4 -4
- package/dist/client/{DemoBookingPortalAccess-BnEgvJas.mjs → DemoBookingPortalAccess-1p-pJ1lg.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BiWQc28-.mjs → EventCalendar.client-CDkkP-Lv.mjs} +8 -8
- package/dist/client/{EventCombined.client-B_ytWQtn.mjs → EventCombined.client-DK3aaz62.mjs} +5 -5
- package/dist/client/{EventItem-C-mxXpX_.mjs → EventItem-WeUipfIP.mjs} +3 -3
- package/dist/client/{EventListWeekNavigation-Bm3Ap1Rd.mjs → EventListWeekNavigation-D3sbAeDo.mjs} +1 -1
- package/dist/client/{EventListing.client-Bs_8im5_.mjs → EventListing.client-DL3gGGmF.mjs} +3 -3
- package/dist/client/{EventListing.view-CN7BjGgC.mjs → EventListing.view-DKFImKOx.mjs} +5 -5
- package/dist/client/{EventRegistrationPayment-DPkRcSdw.mjs → EventRegistrationPayment-Dn9TpWyL.mjs} +39 -13
- package/dist/client/{Page--xJ23nA5.mjs → Page-BpeP9xdt.mjs} +58 -1011
- package/dist/client/{StepIndicator-D391QRNc.mjs → StepIndicator-CP6zrwkl.mjs} +4 -241
- package/dist/client/{accordion-BQtTkDN8.mjs → accordion-nR7D4m1a.mjs} +1 -1
- package/dist/client/{booking-form.client-D9M7TKGV.mjs → booking-form.client-Ce-mQZ7W.mjs} +6 -6
- package/dist/client/{bookingForm-BsOS0sl9.mjs → bookingForm-B-qT_AQB.mjs} +3 -3
- package/dist/client/bookings.mjs +3 -3
- package/dist/client/{boxStyleClassNames-CNDLpT06.mjs → boxStyleClassNames-CrE3TDpW.mjs} +2 -29
- package/dist/client/{carousel-CPsW-FPh.mjs → carousel-CVUOatsY.mjs} +1 -1
- package/dist/client/{cart-CwElmocm.mjs → cart-DE0K6E0R.mjs} +3 -3
- package/dist/client/{cart.client-RpqI56w8.mjs → cart.client-C23E6WQ5.mjs} +1 -1
- package/dist/client/{checkout-CfMgqY8H.mjs → checkout-76cdHyPL.mjs} +3 -3
- package/dist/client/{checkout.client-BpuPyOuJ.mjs → checkout.client-DJOzqb26.mjs} +1 -1
- package/dist/client/{checkoutUrls-VeHY6WYj.mjs → checkoutUrls-CvIP5DCO.mjs} +1 -1
- package/dist/client/client.mjs +4 -3
- package/dist/client/{course-q1sA4Cj-.mjs → course-DHIrXqNT.mjs} +1 -1
- package/dist/client/{display-D8MW2b0e.mjs → display-Cf_j5stk.mjs} +1972 -382
- package/dist/client/{enhanceHeaderSection-BzjY6AiY.mjs → enhanceHeaderSection-5GD5o4Mt.mjs} +3 -3
- package/dist/client/{event-details.client-CseTWUFC.mjs → event-details.client-D7Oz1q2L.mjs} +1 -1
- package/dist/client/{event-registration.client-b5TLxntR.mjs → event-registration.client-zbuX36aA.mjs} +133 -127
- package/dist/client/{eventCalendar-C-kJNIc9.mjs → eventCalendar-uZrksODt.mjs} +3 -3
- package/dist/client/{eventCombined-BgHJGhwE.mjs → eventCombined-DxhvNAx8.mjs} +3 -3
- package/dist/client/{eventDetails-CAwbreD0.mjs → eventDetails-DCIH4BYG.mjs} +2 -2
- package/dist/client/{eventListing-_14atrj8.mjs → eventListing-B9KrnPvc.mjs} +3 -3
- package/dist/client/{eventRegistration-BOqSdstJ.mjs → eventRegistration-TjnURMKl.mjs} +3 -3
- package/dist/client/{form-DfAB-llc.mjs → form-CfqIAhfN.mjs} +2 -2
- package/dist/client/{form.client-DN-I9_qC.mjs → form.client-CL6fF0cW.mjs} +2 -2
- package/dist/client/{form.parts-t2Q1neM6.mjs → form.parts-Bf-L66Gg.mjs} +1 -1
- package/dist/client/{headerSection-Dces54pb.mjs → headerSection-WVXtOcuW.mjs} +2 -2
- package/dist/client/{newsletter-form.client-D_YFUlR2.mjs → newsletter-form.client-Bb7GAZpO.mjs} +3 -3
- package/dist/client/{newsletter-form.parts-URO5Mn_I.mjs → newsletter-form.parts-BqOVRdIc.mjs} +1 -1
- package/dist/client/{newsletterForm-_c9fKIzS.mjs → newsletterForm-DOVe-qY3.mjs} +2 -2
- package/dist/client/{product-detail.client-CVW1UIxJ.mjs → product-detail.client-CNzeFnFf.mjs} +1 -1
- package/dist/client/{product-list.client-CF9hO23G.mjs → product-list.client-LKpzC7pj.mjs} +1 -1
- package/dist/client/{productDetail-C_qbmUuP.mjs → productDetail-D2JNeEgx.mjs} +3 -3
- package/dist/client/{productList-Df5qDD0z.mjs → productList-DTgZXOEq.mjs} +3 -3
- package/dist/client/{propsDecoder-BiEyK2ii.mjs → propsDecoder-mpBQt2AT.mjs} +2 -2
- package/dist/client/{registry.server-ClcfWpvM.mjs → registry.server-DdTJyar2.mjs} +19 -37
- package/dist/client/rendering/client.mjs +20 -20
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -6
- package/dist/client/{routeIslandApiConfig-DAypPzSo.mjs → routeIslandApiConfig-8cfSgT0E.mjs} +1 -1
- package/dist/client/{shop-gteEpeO5.mjs → shop-5LBhftWx.mjs} +3 -3
- package/dist/client/{shop-commerce-Bw4_BXQg.mjs → shop-commerce-DkValjZj.mjs} +8 -8
- package/dist/client/{shop-commerce-store-Da6Ah-_4.mjs → shop-commerce-store-BOmXFmk_.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-DidgH7ow.mjs → shop-discount-apply.state-D0ifS6KX.mjs} +1 -1
- package/dist/client/{shop.client-CbbdjWWd.mjs → shop.client-BTtZqNmv.mjs} +8 -8
- package/dist/client/{shop.interactive-CKFORzux.mjs → shop.interactive-DNRqG4aX.mjs} +6 -5
- package/dist/client/{shopShared-C7QjoywZ.mjs → shopShared-Nky6kPYr.mjs} +1 -1
- package/dist/client/{timetableModel-CtZiIj9q.mjs → timetableModel-DZArznD_.mjs} +5 -142
- package/dist/client/{useDiscountApply-BZU5DWZQ.mjs → useDiscountApply-BBnStWXU.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-BuLgof7O.mjs → useDiscountCodeUi-d7viY_mu.mjs} +1 -1
- package/dist/client/{useEventPagination-B4VPtSEF.mjs → useEventPagination-Da2JqxGC.mjs} +4 -4
- package/dist/client/{view-CvlTplao.mjs → view-BvuYmQJ5.mjs} +2 -2
- package/dist/client/{view-CxUpgcM6.mjs → view-D9ObkFtz.mjs} +5 -6
- package/dist/preview-next/client/{PageSectionToolbar-BFbSrDbi.mjs → PageSectionToolbar-DwxHT-2k.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-BtpzqQ-i.mjs → PreviewEditorSidebar-D4SBxGU6.mjs} +9 -9
- package/dist/preview-next/client/{PreviewEditorUI-z22h-CCY.mjs → PreviewEditorUI-D8mUct32.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-BW3Qpoa_.mjs → PreviewShell-L2AEdNUQ.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BvVeK1hR.mjs → SdkPreviewModeRuntime-bhVAU2D2.mjs} +5 -5
- package/dist/preview-next/client/{previewAssistantSlot-BUqAh1FL.mjs → previewAssistantSlot-Jpj_HDra.mjs} +852 -610
- package/dist/preview-next/client/{previewChromeRoot-NCy5zHO8.mjs → previewChromeRoot-CYTDvx4u.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CxmKDVGZ.mjs → sdk-runtime-CZHX6J_4.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-B_UaDyJO.mjs → siteStyleAccess-DmGIG9Hk.mjs} +3 -3
- package/dist/preview-next/client/{useAutosaveStatus-BqmWvPLY.mjs → useAutosaveStatus-DQCyswQ-.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-LAllV0rU.mjs → useOpenBlockForSetup-LwE5yXvL.mjs} +13 -2
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-DV6SeCNv.mjs → route-contract-BOuNcOcN.mjs} +1 -0
- package/dist/server/{Block.shared-Ch2FKAvU.mjs → Block.shared-wfJfhs08.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-DFvjDVzi.mjs → ThemeScopeCore-BtrJNHTB.mjs} +1 -1
- package/dist/server/{bindings-CQg2lzZn.mjs → bindings-P1CF2Gm6.mjs} +4 -4
- package/dist/server/{client-aYRTVneD.mjs → client-CGtU5fHI.mjs} +2 -1
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-Cgpfr44e.mjs → loadContent-ChnkJSay.mjs} +4 -4
- package/dist/server/{loadPage-RDk10NMP.mjs → loadPage-DesHhgxj.mjs} +2 -2
- package/dist/server/{lookMediaFrame-CQtkvlDn.mjs → lookMediaFrame-BBr0mkze.mjs} +106 -8
- package/dist/server/next.mjs +6 -6
- package/dist/server/{overrideResolution-VhhN94d8.mjs → overrideResolution-DHEkHcZs.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-CkFTsxkd.mjs → pageRenderPlan-0jvm0RBk.mjs} +13 -323
- package/dist/server/{pageRuntimeSupport-CpAtzNxD.mjs → pageRuntimeSupport-8-f1Zr9e.mjs} +1 -1
- package/dist/server/{pageShared-B8yLPjs0.mjs → pageShared-CuVFoV4z.mjs} +7 -243
- package/dist/server/{prebuild-DOu6QceG.mjs → prebuild-Bms_Y7wQ.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CfOXFKYG.mjs → prefetchBlockData-5oC5kyHe.mjs} +2 -2
- package/dist/server/{registry-34rkAfaU.mjs → registry-DmqxC8th.mjs} +663 -48
- 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 +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-D7VeoWgr.mjs → resolveBlockData-EYogtwQc.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/{validation-CLVKoJrX.mjs → validation-Bt_8IL1g.mjs} +3 -3
- package/dist/server/{version-HVfdvBJ0.mjs → version-DT_efohp.mjs} +1 -1
- package/dist/styles/index.css +66 -20
- package/package.json +1 -1
- package/dist/client/bookability-CE637yDE.mjs +0 -17
|
@@ -5,7 +5,7 @@ import { _ as asHeaderLayoutId, a as headerVariantValues, c as runtimeBoxBackgro
|
|
|
5
5
|
import { C as ok$1, S as err, b as unsafeAsStoragePath, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, f as PUBLIC_FILE_FIELD_KINDS, g as parseCanonicalMediaIdentifier, m as mediaTypeDiscriminants, o as runtimeMediaSchema, p as isDisplayMediaKind, v as unsafeAsMediaAssetId, x as parseUuidBrand, y as unsafeAsStorageBucketName } from "./media-luf7RF22.mjs";
|
|
6
6
|
import { t as assertNever } from "./assert-never-ku-PUn9U.mjs";
|
|
7
7
|
import { n as RichTextDocSchema } from "./richTextSchema-QLaQrbII.mjs";
|
|
8
|
-
import { C as panelFrame, D as testimonialsCompositionTreatmentValues, M as lookKnobBlocks, O as toNonEmptyReadonlyArray, P as opaqueSurfaceDeclarations, S as offeringsPreviewCompositionTreatmentValues, T as requireNonEmptyReadonlyArray, a as layoutProfileSupportsConstraints, c as isArrangementAppearancePreset, d as lookModes, f as assertNever$1, g as defineNoBlockDesignCapability, h as defineFrameCapability, i as blockAppearancePresets, k as cardListBlockParts, l as isLookSettingFact, m as defineExactCatalog, n as resolveLookMediaFrame, o as resolveBlockAppearancePresetDesign, p as defineBlockDesignCapability, r as arrangementLookFits, u as isRecipeAppearancePreset, w as plainFrame, x as noHeadingDecoration, y as flushPanelFrame } from "./lookMediaFrame-
|
|
8
|
+
import { A as cardListFamilyBlocks, C as panelFrame, D as testimonialsCompositionTreatmentValues, M as lookKnobBlocks, O as toNonEmptyReadonlyArray, P as opaqueSurfaceDeclarations, S as offeringsPreviewCompositionTreatmentValues, T as requireNonEmptyReadonlyArray, a as layoutProfileSupportsConstraints, c as isArrangementAppearancePreset, d as lookModes, f as assertNever$1, g as defineNoBlockDesignCapability, h as defineFrameCapability, i as blockAppearancePresets, j as cardListKnobBlocks, k as cardListBlockParts, l as isLookSettingFact, m as defineExactCatalog, n as resolveLookMediaFrame, o as resolveBlockAppearancePresetDesign, p as defineBlockDesignCapability, r as arrangementLookFits, s as resolveEffectiveKnobs, u as isRecipeAppearancePreset, w as plainFrame, x as noHeadingDecoration, y as flushPanelFrame } from "./lookMediaFrame-BBr0mkze.mjs";
|
|
9
9
|
import React from "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { z } from "zod";
|
|
@@ -590,7 +590,7 @@ function formatBookingPriceDisplay(display, options = {}) {
|
|
|
590
590
|
case "exact": return formatCurrencyAmount(display.amount, display.currency, options);
|
|
591
591
|
case "from": return `From ${formatCurrencyAmount(display.amount, display.currency, options)}`;
|
|
592
592
|
case "range": return `${formatCurrencyAmount(display.minAmount, display.currency, options)}–${formatCurrencyAmount(display.maxAmount, display.currency, options)}`;
|
|
593
|
-
case "mixed": return display.paidToAmount > display.paidFromAmount ? `Free
|
|
593
|
+
case "mixed": return display.paidToAmount > display.paidFromAmount ? `Free or ${formatCurrencyAmount(display.paidFromAmount, display.currency, options)}–${formatCurrencyAmount(display.paidToAmount, display.currency, options)}` : `Free or ${formatCurrencyAmount(display.paidFromAmount, display.currency, options)}`;
|
|
594
594
|
case "unavailable": return "Pricing unavailable";
|
|
595
595
|
case "external": return display.label;
|
|
596
596
|
default: return assertNever(display);
|
|
@@ -18141,6 +18141,26 @@ function defineHeaderCuration(input) {
|
|
|
18141
18141
|
const [first, ...remaining] = input;
|
|
18142
18142
|
return [toEntry(first), ...remaining.map(toEntry)];
|
|
18143
18143
|
}
|
|
18144
|
+
/** A brand-coloured bar in the style's own type: its navigation keeps sentence case rather than the catalogue's capitals. */
|
|
18145
|
+
const sentenceCaseBrandBar = {
|
|
18146
|
+
tone: "brand",
|
|
18147
|
+
dropdown: brandHeaderDropdown,
|
|
18148
|
+
background: {
|
|
18149
|
+
kind: "token",
|
|
18150
|
+
token: "primary"
|
|
18151
|
+
},
|
|
18152
|
+
nav: {
|
|
18153
|
+
kind: "minimal",
|
|
18154
|
+
hoverColorToken: "secondary"
|
|
18155
|
+
},
|
|
18156
|
+
navWeight: "semibold",
|
|
18157
|
+
navLinkWeight: "medium",
|
|
18158
|
+
navTypography: "plain",
|
|
18159
|
+
border: "none",
|
|
18160
|
+
shadow: { kind: "absent" },
|
|
18161
|
+
frame: { kind: "none" },
|
|
18162
|
+
cta: { treatment: "inverted" }
|
|
18163
|
+
};
|
|
18144
18164
|
const headerCurationBySiteStyle = {
|
|
18145
18165
|
"site-style:loom": defineHeaderCuration([{
|
|
18146
18166
|
layoutId: "classic",
|
|
@@ -18192,6 +18212,7 @@ const headerCurationBySiteStyle = {
|
|
|
18192
18212
|
"site-style:fulcrum": defineHeaderCuration([{
|
|
18193
18213
|
layoutId: "classic",
|
|
18194
18214
|
styleIds: [
|
|
18215
|
+
"brand-bar",
|
|
18195
18216
|
"fine-line",
|
|
18196
18217
|
"minimal",
|
|
18197
18218
|
"serif-line",
|
|
@@ -18259,7 +18280,11 @@ const headerCurationBySiteStyle = {
|
|
|
18259
18280
|
]),
|
|
18260
18281
|
"site-style:measure": defineHeaderCuration([{
|
|
18261
18282
|
layoutId: "classic",
|
|
18262
|
-
styleIds: [
|
|
18283
|
+
styleIds: [
|
|
18284
|
+
"brand-bar",
|
|
18285
|
+
"fine-line",
|
|
18286
|
+
"minimal"
|
|
18287
|
+
]
|
|
18263
18288
|
}])
|
|
18264
18289
|
};
|
|
18265
18290
|
/** Optional authored overrides remain absent when the catalogue did not supply them. */
|
|
@@ -23140,6 +23165,7 @@ const curatedSiteStyles = [
|
|
|
23140
23165
|
},
|
|
23141
23166
|
testimonialQuote: serifDisplayQuote
|
|
23142
23167
|
},
|
|
23168
|
+
headerStyleRecipes: { "brand-bar": sentenceCaseBrandBar },
|
|
23143
23169
|
...fulcrumFooter,
|
|
23144
23170
|
buttonStyleChoices: [
|
|
23145
23171
|
buttonChoice("fulcrum"),
|
|
@@ -23266,6 +23292,7 @@ const curatedSiteStyles = [
|
|
|
23266
23292
|
accordions: editorialDividedAccordionSystem,
|
|
23267
23293
|
testimonialQuote: serifDisplayQuote
|
|
23268
23294
|
},
|
|
23295
|
+
headerStyleRecipes: { "brand-bar": sentenceCaseBrandBar },
|
|
23269
23296
|
...measureFooter,
|
|
23270
23297
|
buttonStyleChoices: [
|
|
23271
23298
|
buttonChoice("flat-ink", void 0, { corners: "square" }),
|
|
@@ -34260,7 +34287,7 @@ const publicMembershipProductCollectionSchema = z.object({ memberships: z.array(
|
|
|
34260
34287
|
//#region ../blocks/src/system/runtime/nodes/events/domain/pricing.ts
|
|
34261
34288
|
/**
|
|
34262
34289
|
* Format event price for display.
|
|
34263
|
-
* @returns "Free", "£25", "£12–£25", "Free
|
|
34290
|
+
* @returns "Free", "£25", "£12–£25", "Free or £12–£25", "£220 for the course", etc.
|
|
34264
34291
|
*
|
|
34265
34292
|
* Events render compact amounts (no trailing ".00"); the actual ADT→string
|
|
34266
34293
|
* mapping lives in `formatBookingPriceDisplay` in @riverbankcms/core so all
|
|
@@ -35552,10 +35579,13 @@ const introMedia = media({
|
|
|
35552
35579
|
}],
|
|
35553
35580
|
fallback: "rb-intro-media rb-w-full rb-h-auto rb-object-cover"
|
|
35554
35581
|
} },
|
|
35555
|
-
style: {
|
|
35556
|
-
from: "content.
|
|
35557
|
-
|
|
35558
|
-
|
|
35582
|
+
style: {
|
|
35583
|
+
borderRadius: { $bind: { from: "content._lookMediaFrame.borderRadius" } },
|
|
35584
|
+
aspectRatio: { $bind: {
|
|
35585
|
+
from: "content.aspectRatio",
|
|
35586
|
+
fallback: "1/1"
|
|
35587
|
+
} }
|
|
35588
|
+
}
|
|
35559
35589
|
}, bind("content.media"), when("content.media"));
|
|
35560
35590
|
const centeredCopyLayout = styledSection({
|
|
35561
35591
|
children: styledContainer({
|
|
@@ -38901,7 +38931,11 @@ const centeredLayout = stack({
|
|
|
38901
38931
|
transforms: pipe(tx("layout.maxWidthClass", { base: `rb-header-layout header-desktop-bar ${desktopOnlyDisplay("flex")} rb-w-full rb-flex-col rb-items-center rb-gap-5 rb-text-center` })),
|
|
38902
38932
|
fallback: `rb-container rb-header-layout header-desktop-bar ${desktopOnlyDisplay("flex")} rb-w-full rb-flex-col rb-items-center rb-gap-5 rb-text-center`
|
|
38903
38933
|
})
|
|
38904
|
-
}, [centeredLogoRow,
|
|
38934
|
+
}, [centeredLogoRow, inline({
|
|
38935
|
+
className: `${desktopOnlyDisplay("flex")} rb-flex-wrap rb-items-center rb-justify-center rb-gap-y-3`,
|
|
38936
|
+
align: "center",
|
|
38937
|
+
justify: "center"
|
|
38938
|
+
}, [createNavRow(`${desktopOnlyDisplay("flex")} rb-flex-wrap rb-justify-center rb-gap-x-6 rb-gap-y-3`, "center"), headerCta])], when("$root.theme.header.variant", { equals: "centered" }));
|
|
38905
38939
|
const floatingLayout = inline({
|
|
38906
38940
|
[SITE_CHROME_VISIBLE_HEADER_ATTR]: "true",
|
|
38907
38941
|
className: bindProp("$root.theme.header.maxWidth", {
|
|
@@ -40844,7 +40878,10 @@ const mediaTextBlockDefinition = { manifest: createBlockManifest({
|
|
|
40844
40878
|
}],
|
|
40845
40879
|
fallback: "rb-w-full rb-h-auto rb-object-cover"
|
|
40846
40880
|
} },
|
|
40847
|
-
style: {
|
|
40881
|
+
style: {
|
|
40882
|
+
borderRadius: { $bind: { from: "content._lookMediaFrame.borderRadius" } },
|
|
40883
|
+
aspectRatio: { $bind: { from: "content.aspectRatio" } }
|
|
40884
|
+
}
|
|
40848
40885
|
};
|
|
40849
40886
|
const defaultSingleImage = media(defaultImageCommonProps, bind("content.images[0].image"), when("content.images[0].image"));
|
|
40850
40887
|
const defaultCarouselImages = carousel({
|
|
@@ -42008,6 +42045,256 @@ function rowFor(rows, mode) {
|
|
|
42008
42045
|
return mode === "online" ? rows.online : rows.inPerson;
|
|
42009
42046
|
}
|
|
42010
42047
|
//#endregion
|
|
42048
|
+
//#region ../blocks/src/system/runtime/nodes/events/domain/bookability.ts
|
|
42049
|
+
/**
|
|
42050
|
+
* Whether a public event has a registration path a visitor can take.
|
|
42051
|
+
*
|
|
42052
|
+
* Lifecycle admission comes from the public booking-availability contract;
|
|
42053
|
+
* capacity comes from the shared event-domain helpers so uncapped, fallback,
|
|
42054
|
+
* and hybrid attendance-mode cases agree with the registration runtime.
|
|
42055
|
+
*/
|
|
42056
|
+
function isBookableEvent(event) {
|
|
42057
|
+
if (!event.requiresRegistration) return false;
|
|
42058
|
+
if (event.bookingAvailability.kind !== "open") return false;
|
|
42059
|
+
return !isEventFull(event) || canJoinEventWaitlistOnAnyMode(event);
|
|
42060
|
+
}
|
|
42061
|
+
//#endregion
|
|
42062
|
+
//#region ../blocks/src/system/blocks/events/shared/pageSelection.ts
|
|
42063
|
+
/**
|
|
42064
|
+
* What a system-managed Event URL actually selected.
|
|
42065
|
+
*
|
|
42066
|
+
* The resolver used to assume that one returned `PublicEvent` meant one
|
|
42067
|
+
* occurrence. A whole-series Event breaks that assumption in two directions: a
|
|
42068
|
+
* parent Event path selects nothing concrete until a run is chosen, and a run
|
|
42069
|
+
* path selects a run whose identity spans every one of its sessions. This
|
|
42070
|
+
* module parses those cases once, so the renderer switches over a closed set of
|
|
42071
|
+
* page states instead of probing booking scopes at render time.
|
|
42072
|
+
*
|
|
42073
|
+
* Everything here is pure. Loading events and resolving run slugs is the
|
|
42074
|
+
* resolver's job; deciding what the page is and which runs the chooser
|
|
42075
|
+
* advertises happens here. When a run is open to join, and where it sits in its
|
|
42076
|
+
* own life, come from `@riverbankcms/core`: the same authority the
|
|
42077
|
+
* public read projection and the write-side run-facts loader use, so a run
|
|
42078
|
+
* cannot report itself open on the storefront and closed at the point of
|
|
42079
|
+
* booking.
|
|
42080
|
+
*/
|
|
42081
|
+
function planWholeSeriesParentBooking(eligibleRuns) {
|
|
42082
|
+
const [first, second, ...rest] = eligibleRuns;
|
|
42083
|
+
if (!second) return {
|
|
42084
|
+
kind: "single",
|
|
42085
|
+
run: first
|
|
42086
|
+
};
|
|
42087
|
+
return eligibleRuns.every((group) => group.representative.allowsMultipleBooking) ? {
|
|
42088
|
+
kind: "bookTogether",
|
|
42089
|
+
runs: [
|
|
42090
|
+
first,
|
|
42091
|
+
second,
|
|
42092
|
+
...rest
|
|
42093
|
+
]
|
|
42094
|
+
} : {
|
|
42095
|
+
kind: "choice",
|
|
42096
|
+
runs: eligibleRuns
|
|
42097
|
+
};
|
|
42098
|
+
}
|
|
42099
|
+
function isOrdinaryPublicEvent(event) {
|
|
42100
|
+
return event.bookingScope === "single_occurrence";
|
|
42101
|
+
}
|
|
42102
|
+
/**
|
|
42103
|
+
* What a series' own page shows when its URL names no date.
|
|
42104
|
+
*
|
|
42105
|
+
* Two or more dates a visitor can book make a choice: the page lists every
|
|
42106
|
+
* date whose booking is open and lets the visitor pick, so a full date still
|
|
42107
|
+
* shows as full rather than vanishing. One bookable date isn't a choice, so the
|
|
42108
|
+
* page books that date. With none, the first date speaks for the page and shows
|
|
42109
|
+
* its own full or closed state.
|
|
42110
|
+
*
|
|
42111
|
+
* The caller passes every date it read for the series, not the cards a listing
|
|
42112
|
+
* happened to show, so the one-date shortcut is decided on the complete set.
|
|
42113
|
+
* "Has places" isn't enough on its own: only a date whose booking is open
|
|
42114
|
+
* counts, and a drop-in date never does.
|
|
42115
|
+
*/
|
|
42116
|
+
function planOrdinarySeriesSelection(events) {
|
|
42117
|
+
const ordinary = events.filter(isOrdinaryPublicEvent);
|
|
42118
|
+
const firstSeriesId = ordinary[0]?.seriesId;
|
|
42119
|
+
if (!firstSeriesId || ordinary.some((event) => event.seriesId !== firstSeriesId)) return null;
|
|
42120
|
+
const [first, second] = ordinary.filter(isBookableEvent);
|
|
42121
|
+
if (first && second) {
|
|
42122
|
+
const [a, b, ...rest] = [...ordinary].filter(isOpenForBooking).sort((left, right) => Date.parse(left.startsAt) - Date.parse(right.startsAt));
|
|
42123
|
+
if (a && b) return {
|
|
42124
|
+
kind: "dateChoice",
|
|
42125
|
+
dates: [
|
|
42126
|
+
a,
|
|
42127
|
+
b,
|
|
42128
|
+
...rest
|
|
42129
|
+
]
|
|
42130
|
+
};
|
|
42131
|
+
}
|
|
42132
|
+
const event = first ?? ordinary[0];
|
|
42133
|
+
return event ? {
|
|
42134
|
+
kind: "occurrence",
|
|
42135
|
+
event
|
|
42136
|
+
} : null;
|
|
42137
|
+
}
|
|
42138
|
+
function isOpenForBooking(event) {
|
|
42139
|
+
return event.requiresRegistration && event.bookingAvailability.kind === "open";
|
|
42140
|
+
}
|
|
42141
|
+
/**
|
|
42142
|
+
* Whether a parent Event page advertises this run.
|
|
42143
|
+
*
|
|
42144
|
+
* Visibility admission belongs to the scoped public read. Active, still-open
|
|
42145
|
+
* admitted runs are advertised, and a run that has started,
|
|
42146
|
+
* finished or been cancelled is informational wherever it appears.
|
|
42147
|
+
*
|
|
42148
|
+
* Capacity is deliberately not consulted (decision A24/A30): a full date is
|
|
42149
|
+
* still one of the dates on offer, and its own page shows the full or waitlist
|
|
42150
|
+
* state that the registration engine decides. Hiding it here would leave a
|
|
42151
|
+
* visitor unable to see that the date exists at all.
|
|
42152
|
+
*/
|
|
42153
|
+
function resolveWholeSeriesChooserEligibility(group, now) {
|
|
42154
|
+
const status = group.representative.status;
|
|
42155
|
+
if (status !== void 0 && status !== "active") return {
|
|
42156
|
+
kind: "excluded",
|
|
42157
|
+
reason: "series-not-active"
|
|
42158
|
+
};
|
|
42159
|
+
const phase = resolveWholeSeriesBookingPhase(group.run, now);
|
|
42160
|
+
return phase.kind === "open" ? { kind: "eligible" } : {
|
|
42161
|
+
kind: "excluded",
|
|
42162
|
+
reason: phase.reason
|
|
42163
|
+
};
|
|
42164
|
+
}
|
|
42165
|
+
/**
|
|
42166
|
+
* Runs in the order a visitor reads them: soonest first session first.
|
|
42167
|
+
*
|
|
42168
|
+
* A run with no session left to attend has no place in the sequence, so it
|
|
42169
|
+
* sorts last rather than being given an arbitrary date.
|
|
42170
|
+
*/
|
|
42171
|
+
function orderRunsBySchedule(groups) {
|
|
42172
|
+
return [...groups].sort((left, right) => {
|
|
42173
|
+
const leftStart = firstLiveRunSessionStartMs(left.run.sessions);
|
|
42174
|
+
const rightStart = firstLiveRunSessionStartMs(right.run.sessions);
|
|
42175
|
+
if (leftStart === null) return rightStart === null ? 0 : 1;
|
|
42176
|
+
if (rightStart === null) return -1;
|
|
42177
|
+
return leftStart - rightStart;
|
|
42178
|
+
});
|
|
42179
|
+
}
|
|
42180
|
+
function asNonEmpty(groups) {
|
|
42181
|
+
const [first, ...rest] = groups;
|
|
42182
|
+
return first ? [first, ...rest] : null;
|
|
42183
|
+
}
|
|
42184
|
+
/**
|
|
42185
|
+
* What a parent Event path selects.
|
|
42186
|
+
*
|
|
42187
|
+
* The scoped read admits public and unlisted runs for the offering's own page.
|
|
42188
|
+
* The chooser lists the ones still open; when none is, the most recent
|
|
42189
|
+
* admitted run supplies the page's name and copy. Runs from another offering
|
|
42190
|
+
* cannot speak for this page.
|
|
42191
|
+
*/
|
|
42192
|
+
function planWholeSeriesParentSelection(input) {
|
|
42193
|
+
const offeringRuns = orderRunsBySchedule(groupPublicEventsByRun(input.events).filter((group) => group.run.eventOfferingId === input.offeringId));
|
|
42194
|
+
const eligibleRuns = asNonEmpty(offeringRuns.filter((group) => resolveWholeSeriesChooserEligibility(group, input.now).kind === "eligible"));
|
|
42195
|
+
if (eligibleRuns) return {
|
|
42196
|
+
kind: "wholeSeriesParent",
|
|
42197
|
+
admittedRuns: offeringRuns,
|
|
42198
|
+
offeringId: input.offeringId,
|
|
42199
|
+
eligibleRuns
|
|
42200
|
+
};
|
|
42201
|
+
const informationalRun = offeringRuns.at(-1);
|
|
42202
|
+
return informationalRun ? {
|
|
42203
|
+
kind: "wholeSeriesParentUnavailable",
|
|
42204
|
+
admittedRuns: offeringRuns,
|
|
42205
|
+
offeringId: input.offeringId,
|
|
42206
|
+
informationalRun,
|
|
42207
|
+
bookingClosedDetail: resolveParentBookingClosedDetail(offeringRuns, input.now)
|
|
42208
|
+
} : null;
|
|
42209
|
+
}
|
|
42210
|
+
/**
|
|
42211
|
+
* What a course page says when none of its runs is bookable.
|
|
42212
|
+
*
|
|
42213
|
+
* A run whose page is up without bookings carries its own reason, so the course
|
|
42214
|
+
* speaks for the runs it has: if any of them was live and has been taken
|
|
42215
|
+
* offline the course is closed for now, and otherwise it is waiting to open. A
|
|
42216
|
+
* course whose runs are simply cancelled, under way or finished carries no
|
|
42217
|
+
* reason at all, and the page keeps the words it already has for that.
|
|
42218
|
+
*
|
|
42219
|
+
* Only a run with a session still to come counts. A run that was paused a year
|
|
42220
|
+
* ago and whose dates have all passed says nothing about the course now, and
|
|
42221
|
+
* letting it speak would tell a visitor that a newly announced run is closed.
|
|
42222
|
+
*/
|
|
42223
|
+
function resolveParentBookingClosedDetail(runs, now) {
|
|
42224
|
+
const details = runs.flatMap((group) => {
|
|
42225
|
+
const detail = group.representative.bookingClosedDetail;
|
|
42226
|
+
return detail && hasSessionAhead(group, now) ? [detail] : [];
|
|
42227
|
+
});
|
|
42228
|
+
if (details.length === 0) return null;
|
|
42229
|
+
return details.some((detail) => detail.kind === "paused") ? { kind: "paused" } : { kind: "opensSoon" };
|
|
42230
|
+
}
|
|
42231
|
+
/** Whether the run still has a session a visitor could attend. */
|
|
42232
|
+
function hasSessionAhead(group, now) {
|
|
42233
|
+
return orderedLiveRunSessions(group.run.sessions).some((session) => Date.parse(session.startsAt) > now.getTime());
|
|
42234
|
+
}
|
|
42235
|
+
/** What a targeted run path selects, when the named run projected any data. */
|
|
42236
|
+
function planWholeSeriesRunSelection(input) {
|
|
42237
|
+
const group = groupPublicEventsByRun(input.events).find((candidate) => candidate.eventSeriesId === input.eventSeriesId);
|
|
42238
|
+
if (!group) return null;
|
|
42239
|
+
return {
|
|
42240
|
+
kind: "wholeSeriesRun",
|
|
42241
|
+
offeringId: group.run.eventOfferingId,
|
|
42242
|
+
run: group
|
|
42243
|
+
};
|
|
42244
|
+
}
|
|
42245
|
+
/**
|
|
42246
|
+
* The Event record that speaks for a selection.
|
|
42247
|
+
*
|
|
42248
|
+
* Page metadata, the destination mode and the shared presentation all need one
|
|
42249
|
+
* record; every variant has one, so callers never re-derive it.
|
|
42250
|
+
*/
|
|
42251
|
+
function selectionRepresentativeEvent(selection) {
|
|
42252
|
+
switch (selection.kind) {
|
|
42253
|
+
case "occurrence": return selection.event;
|
|
42254
|
+
case "dateChoice": return selection.dates[0];
|
|
42255
|
+
case "wholeSeriesParent": return selection.eligibleRuns[0].representative;
|
|
42256
|
+
case "wholeSeriesParentUnavailable": return selection.informationalRun.representative;
|
|
42257
|
+
case "wholeSeriesRun": return selection.run.representative;
|
|
42258
|
+
}
|
|
42259
|
+
}
|
|
42260
|
+
/**
|
|
42261
|
+
* Why this page is not taking bookings, when its own state says so.
|
|
42262
|
+
*
|
|
42263
|
+
* A parent course page answers for its runs; everything else answers for the
|
|
42264
|
+
* record the page is about. `null` leaves the booking column exactly as it was.
|
|
42265
|
+
*/
|
|
42266
|
+
function resolveSelectionBookingClosedDetail(selection) {
|
|
42267
|
+
switch (selection.kind) {
|
|
42268
|
+
case "occurrence": return selection.event.bookingClosedDetail ?? null;
|
|
42269
|
+
case "wholeSeriesRun": return selection.run.representative.bookingClosedDetail ?? null;
|
|
42270
|
+
case "dateChoice":
|
|
42271
|
+
case "wholeSeriesParent": return null;
|
|
42272
|
+
case "wholeSeriesParentUnavailable": return selection.bookingClosedDetail;
|
|
42273
|
+
}
|
|
42274
|
+
}
|
|
42275
|
+
function planDropInPanel(selection) {
|
|
42276
|
+
const detail = resolveSelectionBookingClosedDetail(selection);
|
|
42277
|
+
if (detail === null) return { kind: "comeAlong" };
|
|
42278
|
+
switch (detail.kind) {
|
|
42279
|
+
case "opensSoon":
|
|
42280
|
+
case "paused": return { kind: "notRunning" };
|
|
42281
|
+
}
|
|
42282
|
+
}
|
|
42283
|
+
function getPublicEventCanonicalPath(event) {
|
|
42284
|
+
if (event.path) return event.path;
|
|
42285
|
+
return event.destination.kind === "native" ? event.destination.path : null;
|
|
42286
|
+
}
|
|
42287
|
+
function eventOccurrenceContext(event) {
|
|
42288
|
+
return {
|
|
42289
|
+
id: event.occurrenceId,
|
|
42290
|
+
seriesId: event.seriesId,
|
|
42291
|
+
startsAt: event.startsAt,
|
|
42292
|
+
endsAt: event.endsAt,
|
|
42293
|
+
timeZone: event.timeZone,
|
|
42294
|
+
...event.occurrenceTitle ? { overrides: { title: event.occurrenceTitle } } : {}
|
|
42295
|
+
};
|
|
42296
|
+
}
|
|
42297
|
+
//#endregion
|
|
42011
42298
|
//#region ../blocks/src/system/blocks/event-registration.shared.ts
|
|
42012
42299
|
/**
|
|
42013
42300
|
* Flat occurrence context passed from `PageRenderer.$root.occurrenceContext`.
|
|
@@ -42039,7 +42326,7 @@ const copy = {
|
|
|
42039
42326
|
},
|
|
42040
42327
|
completed: {
|
|
42041
42328
|
titleText: "These dates have finished",
|
|
42042
|
-
bodyText: "
|
|
42329
|
+
bodyText: "The details are kept here for reference."
|
|
42043
42330
|
},
|
|
42044
42331
|
"enrolment-closed": {
|
|
42045
42332
|
titleText: "Booking closed",
|
|
@@ -42102,7 +42389,7 @@ function shownVenue(event, display) {
|
|
|
42102
42389
|
}
|
|
42103
42390
|
/** Full/waitlist explanations remain visible even when optional counts are hidden. */
|
|
42104
42391
|
function placesLeftLabel(source, display, wording = {}) {
|
|
42105
|
-
if ("kind" in source) return ticketPlacesLabel(source
|
|
42392
|
+
if ("kind" in source) return ticketPlacesLabel(source, display);
|
|
42106
42393
|
if (source.deliveryMode === "hybrid" && source.attendanceModes?.length) return hybridPlacesLabel(source, display, wording);
|
|
42107
42394
|
return capacityPlacesLabel(source, display, wording);
|
|
42108
42395
|
}
|
|
@@ -42124,7 +42411,9 @@ function hybridPlacesLabel(event, display, wording) {
|
|
|
42124
42411
|
return label ? [`${mode.mode === "online" ? "Online" : "In person"}: ${label}`] : [];
|
|
42125
42412
|
}).join(" · ") || null;
|
|
42126
42413
|
}
|
|
42127
|
-
function ticketPlacesLabel(
|
|
42414
|
+
function ticketPlacesLabel(source, display) {
|
|
42415
|
+
const { remaining, dateRemaining } = source;
|
|
42416
|
+
if (remaining !== null && dateRemaining !== null && remaining >= dateRemaining) return null;
|
|
42128
42417
|
if (remaining !== null && remaining > 0 && display.placesLeft === "hidden") return null;
|
|
42129
42418
|
return formatTicketTypeRemaining(remaining);
|
|
42130
42419
|
}
|
|
@@ -43911,6 +44200,14 @@ function resolveEventRegistrationScopedEvents(events, context) {
|
|
|
43911
44200
|
case "unscoped": return [...events];
|
|
43912
44201
|
}
|
|
43913
44202
|
}
|
|
44203
|
+
/** Keep dated detail/recovery targets, but only invite bookings for future choices. */
|
|
44204
|
+
function resolveEventRegistrationChoices(events, context, now) {
|
|
44205
|
+
const scoped = resolveEventRegistrationScopedEvents(events, context);
|
|
44206
|
+
const runs = groupPublicEventsByRun(scoped);
|
|
44207
|
+
if (context.occurrenceContext || context.subject?.kind === "eventSeries" && context.subject.bookingScope === "whole_series" || runs.length === 1 && scoped.every((event) => event.bookingScope === "whole_series")) return scoped;
|
|
44208
|
+
const eligibleRunIds = new Set(runs.filter((group) => resolveWholeSeriesChooserEligibility(group, now).kind === "eligible").map((group) => group.eventSeriesId));
|
|
44209
|
+
return scoped.filter((event) => event.bookingScope === "whole_series" ? eligibleRunIds.has(event.seriesId) : Date.parse(event.startsAt) > now.getTime());
|
|
44210
|
+
}
|
|
43914
44211
|
//#endregion
|
|
43915
44212
|
//#region ../blocks/src/system/runtime/nodes/shared/contract-schemas.ts
|
|
43916
44213
|
const bookingNowSchema = z.string().datetime({ offset: true }).transform(readRuntimeNow);
|
|
@@ -44085,9 +44382,10 @@ function buildEventRegistrationDisplayFromScopedEvents(source, scopedSourceEvent
|
|
|
44085
44382
|
className: eventRegistrationRootClassName(source) ?? null,
|
|
44086
44383
|
...closedRunCopy(phase.reason)
|
|
44087
44384
|
};
|
|
44088
|
-
const
|
|
44385
|
+
const choices = resolveEventRegistrationChoices(scopedSourceEvents, source, new Date(source.now));
|
|
44386
|
+
const card = bookingCardDisplay(source, choices, display);
|
|
44089
44387
|
if (card) return card;
|
|
44090
|
-
const stepLabels = buildEventRegistrationShellStepLabels(source,
|
|
44388
|
+
const stepLabels = buildEventRegistrationShellStepLabels(source, choices);
|
|
44091
44389
|
return {
|
|
44092
44390
|
kind: "event-registration",
|
|
44093
44391
|
state: "generic-shell",
|
|
@@ -44218,26 +44516,6 @@ function buildEventRegistrationInteractiveIslandProps(props) {
|
|
|
44218
44516
|
source: props
|
|
44219
44517
|
});
|
|
44220
44518
|
}
|
|
44221
|
-
//#endregion
|
|
44222
|
-
//#region ../blocks/src/system/blocks/event-registration.ts
|
|
44223
|
-
/**
|
|
44224
|
-
* Event Registration Block
|
|
44225
|
-
*
|
|
44226
|
-
* Multi-step registration form for events. Can be placed on event content type
|
|
44227
|
-
* templates or standalone pages.
|
|
44228
|
-
*
|
|
44229
|
-
* Features:
|
|
44230
|
-
* - Occurrence selection (if not pre-selected via URL)
|
|
44231
|
-
* - Ticket quantity selection
|
|
44232
|
-
* - Attendee information form
|
|
44233
|
-
* - Confirmation display
|
|
44234
|
-
*
|
|
44235
|
-
* Context:
|
|
44236
|
-
* - When placed on an event template with occurrence URL (/events/yoga/2025-01-15),
|
|
44237
|
-
* the occurrence is pre-selected from route context
|
|
44238
|
-
* - When on event template without occurrence, shows occurrence picker
|
|
44239
|
-
* - When standalone, shows full event + occurrence picker
|
|
44240
|
-
*/
|
|
44241
44519
|
const eventRegistrationManifest = createBlockManifest({
|
|
44242
44520
|
variantMeaning: { kind: "arrangement" },
|
|
44243
44521
|
id: "block.event-registration",
|
|
@@ -44378,7 +44656,10 @@ const eventRegistrationManifest = createBlockManifest({
|
|
|
44378
44656
|
baseClass: "",
|
|
44379
44657
|
spacing: "spacious",
|
|
44380
44658
|
children: sectionContainer([
|
|
44381
|
-
text({
|
|
44659
|
+
text({
|
|
44660
|
+
as: "h2",
|
|
44661
|
+
className: "event-registration__heading"
|
|
44662
|
+
}, bind("content.heading"), when("content.heading")),
|
|
44382
44663
|
richText({ className: "rb-prose rb-max-w-none" }, bind("content.description"), when("content.description")),
|
|
44383
44664
|
eventRegistration(withApiBindings({
|
|
44384
44665
|
demoEmailSuppressed: { $bind: {
|
|
@@ -45118,6 +45399,306 @@ function getMediaAssetIndex(context) {
|
|
|
45118
45399
|
return context?.mediaAssetIndex ?? getMediaContext().mediaAssetIndex;
|
|
45119
45400
|
}
|
|
45120
45401
|
//#endregion
|
|
45402
|
+
//#region ../blocks/src/system/customize/facets.ts
|
|
45403
|
+
function defineCustomizeFacet(definition) {
|
|
45404
|
+
return definition;
|
|
45405
|
+
}
|
|
45406
|
+
const eventCalendarListLayoutFacet = defineCustomizeFacet({
|
|
45407
|
+
blockKind: "block.event-calendar",
|
|
45408
|
+
id: "eventCalendar.listLayout",
|
|
45409
|
+
label: "List style",
|
|
45410
|
+
legacyOnly: true,
|
|
45411
|
+
values: eventCalendarListLayoutOptions.map((option) => ({
|
|
45412
|
+
value: option.id,
|
|
45413
|
+
label: option.label
|
|
45414
|
+
})),
|
|
45415
|
+
defaultValue: "stack",
|
|
45416
|
+
target: { kind: "event-calendar-list-layout-content" },
|
|
45417
|
+
appliesToLayoutVariants: eventCalendarListLayoutCompatibleDisplayModeValues
|
|
45418
|
+
});
|
|
45419
|
+
const fixedKnob = (blockKind, id, label, values, defaultValue, ordered = false, boolean = false) => ({
|
|
45420
|
+
blockKind,
|
|
45421
|
+
id,
|
|
45422
|
+
label,
|
|
45423
|
+
values,
|
|
45424
|
+
defaultValue,
|
|
45425
|
+
knob: {
|
|
45426
|
+
kind: "fixed",
|
|
45427
|
+
ordered
|
|
45428
|
+
},
|
|
45429
|
+
target: {
|
|
45430
|
+
kind: "content-field",
|
|
45431
|
+
field: id,
|
|
45432
|
+
...boolean ? { boolean: true } : {}
|
|
45433
|
+
}
|
|
45434
|
+
});
|
|
45435
|
+
const textKnob = (id, label, maxLength) => ({
|
|
45436
|
+
blockKind: "block.hero",
|
|
45437
|
+
id,
|
|
45438
|
+
label,
|
|
45439
|
+
values: [],
|
|
45440
|
+
defaultValue: "",
|
|
45441
|
+
knob: {
|
|
45442
|
+
kind: "text",
|
|
45443
|
+
maxLength
|
|
45444
|
+
},
|
|
45445
|
+
target: {
|
|
45446
|
+
kind: "content-field",
|
|
45447
|
+
field: id
|
|
45448
|
+
}
|
|
45449
|
+
});
|
|
45450
|
+
const onOff = [{
|
|
45451
|
+
value: "true",
|
|
45452
|
+
label: "On"
|
|
45453
|
+
}, {
|
|
45454
|
+
value: "false",
|
|
45455
|
+
label: "Off"
|
|
45456
|
+
}];
|
|
45457
|
+
const columnCounts = [
|
|
45458
|
+
{
|
|
45459
|
+
value: "2",
|
|
45460
|
+
label: "2"
|
|
45461
|
+
},
|
|
45462
|
+
{
|
|
45463
|
+
value: "3",
|
|
45464
|
+
label: "3"
|
|
45465
|
+
},
|
|
45466
|
+
{
|
|
45467
|
+
value: "4",
|
|
45468
|
+
label: "4"
|
|
45469
|
+
}
|
|
45470
|
+
];
|
|
45471
|
+
const systemCustomizeFacetDefinitions = [
|
|
45472
|
+
eventCalendarListLayoutFacet,
|
|
45473
|
+
fixedKnob("block.offerings-preview", "grouping", "Grouping", [{
|
|
45474
|
+
value: "by-kind",
|
|
45475
|
+
label: "Grouped by kind"
|
|
45476
|
+
}, {
|
|
45477
|
+
value: "one-list",
|
|
45478
|
+
label: "One list"
|
|
45479
|
+
}], "by-kind"),
|
|
45480
|
+
fixedKnob("block.offerings-preview", "dates", "Dates", [{
|
|
45481
|
+
value: "summary",
|
|
45482
|
+
label: "Summary"
|
|
45483
|
+
}, {
|
|
45484
|
+
value: "next-dates",
|
|
45485
|
+
label: "Next dates"
|
|
45486
|
+
}], "summary"),
|
|
45487
|
+
{
|
|
45488
|
+
...fixedKnob("block.feature-cards", "actionStyle", "Item actions", [{
|
|
45489
|
+
value: "button",
|
|
45490
|
+
label: "Button"
|
|
45491
|
+
}, {
|
|
45492
|
+
value: "link",
|
|
45493
|
+
label: "Link"
|
|
45494
|
+
}], "button"),
|
|
45495
|
+
blockKinds: cardListKnobBlocks
|
|
45496
|
+
},
|
|
45497
|
+
fixedKnob("block.testimonials", "quoteCount", "How many quotes", [
|
|
45498
|
+
{
|
|
45499
|
+
value: "1",
|
|
45500
|
+
label: "1"
|
|
45501
|
+
},
|
|
45502
|
+
{
|
|
45503
|
+
value: "2",
|
|
45504
|
+
label: "2"
|
|
45505
|
+
},
|
|
45506
|
+
{
|
|
45507
|
+
value: "3",
|
|
45508
|
+
label: "3"
|
|
45509
|
+
},
|
|
45510
|
+
{
|
|
45511
|
+
value: "all",
|
|
45512
|
+
label: "All"
|
|
45513
|
+
}
|
|
45514
|
+
], "3", true),
|
|
45515
|
+
{
|
|
45516
|
+
...fixedKnob("block.testimonials", "autoAdvance", "Moves on by itself", onOff, "false", false, true),
|
|
45517
|
+
description: "Moves to the next quote every few seconds, and stops while someone's reading."
|
|
45518
|
+
},
|
|
45519
|
+
fixedKnob("block.testimonials", "tilt", "Tilt the small cards", onOff, "true", false, true),
|
|
45520
|
+
{
|
|
45521
|
+
...fixedKnob("block.testimonials", "archFrame", "Arch frame", onOff, "true", false, true),
|
|
45522
|
+
blockKinds: [
|
|
45523
|
+
"block.testimonials",
|
|
45524
|
+
"block.newsletter-signup",
|
|
45525
|
+
"block.form"
|
|
45526
|
+
]
|
|
45527
|
+
},
|
|
45528
|
+
fixedKnob("block.hero", "photoTint", "Photo tint", [{
|
|
45529
|
+
value: "dark",
|
|
45530
|
+
label: "Dark"
|
|
45531
|
+
}, {
|
|
45532
|
+
value: "brand",
|
|
45533
|
+
label: "Brand colour"
|
|
45534
|
+
}], "dark"),
|
|
45535
|
+
fixedKnob("block.hero", "candleGlow", "Candle glow", onOff, "true", false, true),
|
|
45536
|
+
fixedKnob("block.hero", "columnGuides", "Column guides", onOff, "true", false, true),
|
|
45537
|
+
fixedKnob("block.hero", "titleSize", "Headline size", heroTitleSizeOptions, "auto", true),
|
|
45538
|
+
fixedKnob("block.hero", "imagePosition", "Photo side", [{
|
|
45539
|
+
value: "left",
|
|
45540
|
+
label: "Left"
|
|
45541
|
+
}, {
|
|
45542
|
+
value: "right",
|
|
45543
|
+
label: "Right"
|
|
45544
|
+
}], "right"),
|
|
45545
|
+
fixedKnob("block.intro", "imageShape", "Media shape", standardImageShapeOptions, "default"),
|
|
45546
|
+
fixedKnob("block.intro", "imagePosition", "Photo side", [{
|
|
45547
|
+
value: "left",
|
|
45548
|
+
label: "Left"
|
|
45549
|
+
}, {
|
|
45550
|
+
value: "right",
|
|
45551
|
+
label: "Right"
|
|
45552
|
+
}], "left"),
|
|
45553
|
+
fixedKnob("block.media-text", "imagePosition", "Photo side", [{
|
|
45554
|
+
value: "left",
|
|
45555
|
+
label: "Left"
|
|
45556
|
+
}, {
|
|
45557
|
+
value: "right",
|
|
45558
|
+
label: "Right"
|
|
45559
|
+
}], "left"),
|
|
45560
|
+
fixedKnob("block.media-text", "imageShape", "Media shape", standardImageShapeOptions, "default"),
|
|
45561
|
+
fixedKnob("block.media-text", "aspectRatio", "Media aspect ratio", standardAspectRatioOptions, "auto"),
|
|
45562
|
+
textKnob("stickerLine", "Sticker line", 32),
|
|
45563
|
+
textKnob("smallCaption", "Small caption", 24),
|
|
45564
|
+
{
|
|
45565
|
+
...fixedKnob("block.feature-cards", "showPhotos", "Show photos", onOff, "true", false, true),
|
|
45566
|
+
blockKinds: cardListFamilyBlocks
|
|
45567
|
+
},
|
|
45568
|
+
fixedKnob("block.feature-cards", "columns", "Columns", columnCounts, "3", true),
|
|
45569
|
+
fixedKnob("block.image-gallery", "blackAndWhite", "Black and white", onOff, "false", false, true),
|
|
45570
|
+
fixedKnob("block.event-calendar", "listColumns", "Columns", columnCounts, "3", true),
|
|
45571
|
+
fixedKnob("block.event-calendar", "showPhotos", "Photos", [{
|
|
45572
|
+
value: "true",
|
|
45573
|
+
label: "Show"
|
|
45574
|
+
}, {
|
|
45575
|
+
value: "false",
|
|
45576
|
+
label: "Hide"
|
|
45577
|
+
}], "true", false, true),
|
|
45578
|
+
{
|
|
45579
|
+
...fixedKnob("block.feature-cards", "cardMarker", "Item markers", [
|
|
45580
|
+
{
|
|
45581
|
+
value: "icons",
|
|
45582
|
+
label: "Icons"
|
|
45583
|
+
},
|
|
45584
|
+
{
|
|
45585
|
+
value: "numbers",
|
|
45586
|
+
label: "Numbers"
|
|
45587
|
+
},
|
|
45588
|
+
{
|
|
45589
|
+
value: "none",
|
|
45590
|
+
label: "None"
|
|
45591
|
+
}
|
|
45592
|
+
], "icons"),
|
|
45593
|
+
blockKinds: cardListFamilyBlocks
|
|
45594
|
+
},
|
|
45595
|
+
fixedKnob("block.body-text", "alignment", "Text alignment", [{
|
|
45596
|
+
value: "left",
|
|
45597
|
+
label: "Left"
|
|
45598
|
+
}, {
|
|
45599
|
+
value: "center",
|
|
45600
|
+
label: "Centre"
|
|
45601
|
+
}], "left"),
|
|
45602
|
+
{
|
|
45603
|
+
...fixedKnob("block.event-calendar", "showCapacity", "Places left", onOff, "true", false, true),
|
|
45604
|
+
description: "Show how many places are left on each event"
|
|
45605
|
+
}
|
|
45606
|
+
];
|
|
45607
|
+
systemCustomizeFacetDefinitions.map((definition) => definition.id);
|
|
45608
|
+
Array.from(new Set(systemCustomizeFacetDefinitions.flatMap((definition) => definition.values.map((option) => option.value))));
|
|
45609
|
+
function systemCustomizeFacetDefinitionsForBlock(blockKind) {
|
|
45610
|
+
return systemCustomizeFacetDefinitions.filter((definition) => definition.blockKind === blockKind || "blockKinds" in definition && definition.blockKinds?.some((kind) => kind === blockKind));
|
|
45611
|
+
}
|
|
45612
|
+
//#endregion
|
|
45613
|
+
//#region ../blocks/src/system/customize/arrangementKnobs.ts
|
|
45614
|
+
/**
|
|
45615
|
+
* Content stage for knobs, shared by the renderer and the editor so what the
|
|
45616
|
+
* options show and what renders can't disagree. Knob buffets are the block's
|
|
45617
|
+
* customise facets; the Look exposes, forces or narrows them and the style's
|
|
45618
|
+
* offer can only remove or narrow further.
|
|
45619
|
+
*/
|
|
45620
|
+
function resolveArrangementKnobs(input) {
|
|
45621
|
+
const length = input.blockKind === "block.hero" ? resolveHeroTitleLength({ ...input.content }, "look") : null;
|
|
45622
|
+
const exposure = arrangementKnobExposure(input.blockKind, input.look, length, storedSplitPhotoSide(input.blockKind, input.content));
|
|
45623
|
+
return {
|
|
45624
|
+
length,
|
|
45625
|
+
exposure,
|
|
45626
|
+
knobs: resolveEffectiveKnobs({
|
|
45627
|
+
exposure,
|
|
45628
|
+
content: normalizedHeadlinePreference(input.content)
|
|
45629
|
+
})
|
|
45630
|
+
};
|
|
45631
|
+
}
|
|
45632
|
+
function arrangementKnobExposure(blockKind, look, length, splitPhotoSide) {
|
|
45633
|
+
return systemCustomizeFacetDefinitionsForBlock(blockKind).flatMap((facet) => {
|
|
45634
|
+
if (facet.knob === void 0 || facet.target.kind !== "content-field") return [];
|
|
45635
|
+
const id = facet.target.field;
|
|
45636
|
+
const defaults = look.look.structure.knobDefaults ?? {};
|
|
45637
|
+
const storedDefault = id === "imagePosition" ? splitPhotoSide : null;
|
|
45638
|
+
return [{
|
|
45639
|
+
definition: {
|
|
45640
|
+
id,
|
|
45641
|
+
defaultValue: defaults[id] ?? storedDefault ?? facet.defaultValue,
|
|
45642
|
+
values: facet.values.map((value) => value.value),
|
|
45643
|
+
...knobKindMetadata(facet.knob)
|
|
45644
|
+
},
|
|
45645
|
+
exposed: exposedKnobIds(look).includes(id),
|
|
45646
|
+
forced: look.look.structure.forcedKnobs?.[id],
|
|
45647
|
+
lookValues: look.look.structure.knobValues?.[id],
|
|
45648
|
+
styleValues: look.knobValues[id],
|
|
45649
|
+
lengthValues: id === "titleSize" ? headlineAllowedValues(length) : void 0
|
|
45650
|
+
}];
|
|
45651
|
+
});
|
|
45652
|
+
}
|
|
45653
|
+
/**
|
|
45654
|
+
* A hero stored as "Split, photo on the left" or "Split, photo on the right"
|
|
45655
|
+
* already says which side its photo is on. Under a Look that side is the Photo
|
|
45656
|
+
* side default, so the photo stays where it was until the owner picks a side.
|
|
45657
|
+
*/
|
|
45658
|
+
function storedSplitPhotoSide(blockKind, content) {
|
|
45659
|
+
if (blockKind !== "block.hero") return null;
|
|
45660
|
+
switch (content.variant) {
|
|
45661
|
+
case "split": return "left";
|
|
45662
|
+
case "splitReverse": return "right";
|
|
45663
|
+
default: return null;
|
|
45664
|
+
}
|
|
45665
|
+
}
|
|
45666
|
+
function knobKindMetadata(knob) {
|
|
45667
|
+
return knob.kind === "fixed" ? { ordered: knob.ordered } : {
|
|
45668
|
+
ordered: false,
|
|
45669
|
+
textMaxLength: knob.maxLength
|
|
45670
|
+
};
|
|
45671
|
+
}
|
|
45672
|
+
function headlineAllowedValues(length) {
|
|
45673
|
+
switch (length) {
|
|
45674
|
+
case "long": return ["quiet"];
|
|
45675
|
+
case "medium": return ["quiet", "auto"];
|
|
45676
|
+
case "short": return [
|
|
45677
|
+
"quiet",
|
|
45678
|
+
"auto",
|
|
45679
|
+
"display"
|
|
45680
|
+
];
|
|
45681
|
+
case null: return;
|
|
45682
|
+
}
|
|
45683
|
+
}
|
|
45684
|
+
/** `titleSize` keeps its five stored values; under a Look they read as three steps. */
|
|
45685
|
+
function normalizedHeadlinePreference(content) {
|
|
45686
|
+
switch (content.titleSize) {
|
|
45687
|
+
case "editorial": return {
|
|
45688
|
+
...content,
|
|
45689
|
+
titleSize: "auto"
|
|
45690
|
+
};
|
|
45691
|
+
case "poster": return {
|
|
45692
|
+
...content,
|
|
45693
|
+
titleSize: "display"
|
|
45694
|
+
};
|
|
45695
|
+
default: return content;
|
|
45696
|
+
}
|
|
45697
|
+
}
|
|
45698
|
+
function exposedKnobIds(look) {
|
|
45699
|
+
return [...look.look.structure.knobs, ...look.addKnobs ?? []].filter((id) => !look.removeKnobs.some((removed) => removed === id));
|
|
45700
|
+
}
|
|
45701
|
+
//#endregion
|
|
45121
45702
|
//#region ../blocks/src/system/media/slotContracts.ts
|
|
45122
45703
|
const DEFAULT_MIN_SOURCE_WIDTH = 1200;
|
|
45123
45704
|
const LARGE_MIN_SOURCE_WIDTH = 1400;
|
|
@@ -45524,19 +46105,53 @@ function resolveStrategyDelivery(blockKind, fieldPath, slotPath, values) {
|
|
|
45524
46105
|
if (blockKind === "block.site-header" && slotPath === "logo") return resolveSmallLogoDeliveryContract();
|
|
45525
46106
|
if (blockKind === "block.site-footer" && slotPath === "logo") return resolveSmallLogoDeliveryContract();
|
|
45526
46107
|
}
|
|
45527
|
-
|
|
45528
|
-
|
|
45529
|
-
|
|
45530
|
-
|
|
46108
|
+
function isLookPhotoSlot(blockKind, path) {
|
|
46109
|
+
switch (blockKind) {
|
|
46110
|
+
case "block.image-gallery":
|
|
46111
|
+
case "block.media-text": return /^images\.\d+\.image$/.test(path);
|
|
46112
|
+
case "block.intro": return path === "media";
|
|
46113
|
+
default: return false;
|
|
46114
|
+
}
|
|
46115
|
+
}
|
|
46116
|
+
/** Resolve live editor preferences through the same knob owner as the page planner. */
|
|
46117
|
+
function mediaKnobValues(blockKind, mediaLook, values) {
|
|
46118
|
+
const { knobs } = resolveArrangementKnobs({
|
|
46119
|
+
blockKind,
|
|
46120
|
+
look: mediaLook,
|
|
46121
|
+
content: values
|
|
46122
|
+
});
|
|
46123
|
+
return Object.fromEntries(Object.entries(knobs).flatMap(([key, knob]) => knob.kind === "kept" ? [] : [[key, knob.value]]));
|
|
46124
|
+
}
|
|
46125
|
+
/** Delivery receives content whose knob choices have already been resolved by the page planner. */
|
|
46126
|
+
function renderedLookMediaFrame(values) {
|
|
46127
|
+
const effective = asRecord(values._effectiveLook);
|
|
45531
46128
|
const look = blockAppearancePresets.find((candidate) => candidate.id === effectiveLookId(values));
|
|
45532
|
-
|
|
45533
|
-
return
|
|
46129
|
+
if (look?.structure.kind !== "arrangement") return void 0;
|
|
46130
|
+
return resolveLookMediaFrame(look.structure.mediaFrame, asString(effective?.skin), {
|
|
46131
|
+
...values,
|
|
46132
|
+
...look.structure.forcedKnobs
|
|
46133
|
+
});
|
|
45534
46134
|
}
|
|
45535
|
-
|
|
45536
|
-
|
|
46135
|
+
function editorLookMediaFrame(blockKind, mediaLook, values) {
|
|
46136
|
+
return resolveLookMediaFrame(mediaLook.look.structure.mediaFrame, mediaLook.skin, mediaKnobValues(blockKind, mediaLook, values));
|
|
46137
|
+
}
|
|
46138
|
+
/** Backgrounds and other photos keep their own contract. */
|
|
46139
|
+
function slotLookMediaFrame(blockKind, path, input) {
|
|
46140
|
+
if (!blockKind || !isLookPhotoSlot(blockKind, path)) return void 0;
|
|
46141
|
+
if (input.lookMediaFrame) return input.lookMediaFrame;
|
|
46142
|
+
const values = input.values ?? {};
|
|
46143
|
+
return input.mediaLook ? editorLookMediaFrame(blockKind, input.mediaLook, values) : renderedLookMediaFrame(values);
|
|
46144
|
+
}
|
|
46145
|
+
/** The contract and its decided frame, shared by editor presentation and delivery. */
|
|
46146
|
+
function resolveMediaSlot({ blockKind, fieldPath, values, fieldAspectRatio, fieldUi, lookMediaFrame, mediaLook }) {
|
|
45537
46147
|
const slotPath = normalizeSlotPath(fieldPath);
|
|
45538
46148
|
const variant = asString(values?.variant);
|
|
45539
|
-
const
|
|
46149
|
+
const declared = slotLookMediaFrame(blockKind, fieldPath, {
|
|
46150
|
+
lookMediaFrame,
|
|
46151
|
+
mediaLook,
|
|
46152
|
+
values
|
|
46153
|
+
});
|
|
46154
|
+
const frame = declared?.kind === "fixed" ? declared : void 0;
|
|
45540
46155
|
const edit = frame ? {
|
|
45541
46156
|
mode: "fixed-aspect",
|
|
45542
46157
|
aspectRatio: frame.aspectRatio,
|
|
@@ -45547,7 +46162,7 @@ function resolveMediaSlot({ blockKind, fieldPath, values, fieldAspectRatio, fiel
|
|
|
45547
46162
|
const strategyDelivery = resolveStrategyDelivery(blockKind, fieldPath, slotPath, values);
|
|
45548
46163
|
return {
|
|
45549
46164
|
contract: buildContract(edit, mergeDelivery(mergeDelivery(defaultDelivery, fieldDelivery), strategyDelivery)),
|
|
45550
|
-
|
|
46165
|
+
mediaFrame: frame
|
|
45551
46166
|
};
|
|
45552
46167
|
}
|
|
45553
46168
|
function resolveMediaSlotContract(input) {
|
|
@@ -45831,7 +46446,7 @@ function resolveMediaNodeAspectRatios(size, style, slotContract) {
|
|
|
45831
46446
|
const slotAspect = slotContract?.edit.mode === "fixed-aspect" ? slotContract.edit.aspectRatio : void 0;
|
|
45832
46447
|
return {
|
|
45833
46448
|
targetAspectRatio: parseAspectRatioValue(slotAspect),
|
|
45834
|
-
transformAspectRatio: resolveStyleAspectRatio(style) ??
|
|
46449
|
+
transformAspectRatio: slotAspect ?? resolveStyleAspectRatio(style) ?? resolveTargetAspectRatio(size)
|
|
45835
46450
|
};
|
|
45836
46451
|
}
|
|
45837
46452
|
function resolveMediaNodeResponsiveImage(value, size, style, slot, context) {
|
|
@@ -55612,4 +56227,4 @@ function listBlockDescriptors() {
|
|
|
55612
56227
|
}));
|
|
55613
56228
|
}
|
|
55614
56229
|
//#endregion
|
|
55615
|
-
export { RichText as $, surfaceResolutionContextFromTheme as $a, isSameCalendarDay as $i, listItemPresentation as $n, isRecord$6 as $o, defineFragment as $r, formatEventHourLabel as $t, publicRouteCandidatesSchema as A, arrangementLookHooks as Aa, PUBLIC_DOWNLOAD_MEDIA_TYPES as Ai, contentTransforms as An, sectionSurfaceBase as Ao, singleButtonFragment as Ar, resolveBookingBusinessTimeZone as As, resolveOfferingsPreviewGroupCta as At, buildEventCollectionHydration as B, resolveEffectiveArrangement as Ba, resolveEventScope as Bi, staticHeaderChromeRuntime as Bn, fieldSchema$1 as Bo, boxStylesTransforms as Br, resolvePricingOptionsPriceDisplay as Bs, eventListWeekDays as Bt, buildProductListInteractiveIslandProps as C, effectiveHeaderNavLinkStyle as Ca, inlineTextToPlainText as Ci, resolveFeatureCardGeneratedIconSizePx as Cn, transitionIntentForTreatment as Co, heroTitleSizeOptions as Cr, formatBookingCompactEnglishTime as Cs, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Ct, membershipClassesLabel as D, headerRootIsTransparent as Da, normalizeSelectSource as Di, composeHeaderSectionWrapperClassName as Dn, deriveSectionGround as Do, faqAccordionFragment as Dr, getLocalScheduleDate as Ds, offeringRunLifecycle as Dt, membershipCardListContent as E, headerNeedsPhotoShade as Ea, plainTextToInlineText as Ei, siteHeaderManifest as En, applyLookPhotoTreatment as Eo, cardFragment as Er, getBookingLocalDateKey as Es, normalizeOfferingsPreviewItemLimit as Et, buildEventCalendarListingDisplay as F, resolveArrangementLookForBlock as Fa, eventReadinessResultSchema as Fi, resolveDateRuntimeContext as Fn, bindingSchema as Fo, ctaCopyFragment as Fr, isPublicEventPricingOptionDisplayable as Fs, ThemedButtonLink as Ft, catalogueEventCardProps as G, filterLayoutProfilesForPolicy as Ga, getLocalDateKey as Gi, formBlockDefinition as Gn, resolveRepeaterGridRowFieldId as Go, parseBackgroundOverlay as Gr, parseGradientPresetId as Gs, eventCalendarWeekStart as Gt, eventCollectionDisplaySchemaShape as H, resolvePublishedLook as Ha, eventCalendarListGroupingDecision as Hi, uiTransforms as Hn, isAcceptedRepeaterGridSpan as Ho, normalizeBoxStylesBorder as Hr, parseContentVersionId as Hs, groupEventsByWeek as Ht, combinedLookSchema as I, resolveLookForBlock as Ia, eventDiscoveryFilterKeys as Ii, mediaTransforms as In, DEFAULT_MEDIA_FIELD_KINDS as Io, heroCtaRowFragment as Ir, publicEventPricingCurrency as Is, ThemedDownloadLink as It, CardListLeadDate as J, designRuntimeRulesForSiteStyle as Ja, formatDateKey as Ji, createInteractiveIslandCodec as Jn, admitReadinessFacts as Jo, resolveSurfaceForegroundStyles as Jr, formatCalendarTitle as Jt, listingEventCardProps as K, filterLookIdsForPolicy as Ka, getLocalMinuteOfDay as Ki, buildFormInteractiveIslandProps as Kn, resolveRepeaterGridSpanFieldId as Ko, parseRuntimeBackgroundContent as Kr, arrangementSlotNames as Ks, eventDateOptions as Kt, eventListingBlockDefinition as L, styleSectionBackgroundForColour as La, eventScopeLoaderParam as Li, headerRuntimeTransforms as Ln, blockCategoryEnum as Lo, ctaRowFragment as Lr, publicEventPricingDisplay as Ls, getIconComponent as Lt, offeringsCatalogueShape as M, automaticArrangementLook as Ma, eventReadinessLoaderKey as Mi, teamMemberBiography as Mn, themeV2CompilerOwnedFieldNames as Mo, formCopyFragment as Mr, toUtcIsoDateTimeString as Ms, resolveOfferingsRenderInput as Mt, eventCalendarBlockDefinition as N, compileArrangementLookRuntime as Na, eventReadinessQuery as Ni, teamMemberCardBiography as Nn, appearancePresets as No, testimonialsCarouselFragment as Nr, offeringLabelForPageSurfaceSubject as Ns, ThemedAuthoredButton as Nt, passCardListContent as O, headerRootPaint as Oa, parseFieldDefinition as Oi, markEditableSurfaceForwarding as On, parseCanonicalRuntimeBackground as Oo, faqHeadingFragment as Or, parseBookingLocalDate as Os, offeringsListingFor as Ot, buildEventCalendarInteractiveIslandProps as P, getCompatibleBlockAppearancePresets as Pa, eventReadinessQueryKeys as Pi, readRuntimeNow as Pn, NodeSchema as Po, testimonialsHeadingFragment as Pr, formatBookingPriceDisplay as Ps, ThemedButton as Pt, MediaNodeServer as Q, stripCompiledRuntimeStyleFields as Qa, getWeekCalendarDays as Qi, defineProgressiveBlockRuntime as Qn, unavailableReadinessFact as Qo, bodyCopyFragment as Qr, formatEventDateParts as Qt, buildEventListingInteractiveIslandProps as R, arrangementManifestFromVariants as Ra, eventScopeQuery as Ri, chromeLogoTransforms as Rn, blockSectionDeclarationShape as Ro, isBlockButtonRole as Rr, publicEventPricingType as Rs, SpinnerNode as Rt, buildProductDetailInteractiveIslandProps as S, authoredHeaderLinkForeground as Sa, PlusIcon as Si, FEATURE_CARD_ICON_TREATMENTS as Sn, spaciousBoundaryOption as So, getAnchorClasses as Sr, inferSiteDateLocale as Ss, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as St, shopProductPresentation as T, heroPhotoPaintsGround as Ta, parseInlineTextFromUnknown as Ti, siteFooterManifest as Tn, transitionCatalogueEntries as To, headingFragment as Tr, compareLocalScheduleDates as Ts, groupOfferingRunsByCourse as Tt, eventCollectionHydrationSchema as U, buildInitialPolicyPageDesignIntent as Ua, eventCalendarListLayoutOptions as Ui, formattingTransforms as Un, parseRepeaterGridInteger as Uo, resolveCardRoleForBoxStyles as Ur, unsafeAsContentEntryId as Us, weekColumnDays as Ut, buildEventCollectionListingDisplay as V, resolveModeArrangement as Va, resolveCalendarReadProfile as Vi, resolveHeroTitleLength as Vn, validateManifestLookField as Vo, boxStyleClassNames as Vr, formatCurrencyAmount as Vs, eventWeekGroupingContext as Vt, eventCollectionSourceSchemaShape as W, deriveSiteStyleBlockPolicy as Wa, resolveEventCalendarReadPlan as Wi, formatDate$1 as Wn, resolveRepeaterGridColumnFieldId as Wo, parseBackgroundContent as Wr, unsafeAsEventCategoryId$1 as Ws, buildCalendarViewport as Wt, resolveCardListSchedule as X, requireCuratedSiteStyle as Xa, getOrderedDayNames as Xi, createZodCodec as Xn, loadedReadinessFact as Xo, ctaButton as Xr, formatEventClockLabel as Xt, cardListPresentationSchemaShape as Y, getCuratedSiteStyle as Ya, getDayOfWeek as Yi, defineInteractiveIslandMetaKeys as Yn, hiddenFromVisitors as Yo, resolveBackgroundColorValue as Yr, formatDate as Yt, selectCardListPresentation as Z, compilePageRuntimeFields as Za, getWeekCalendarDayTuple as Zi, defineClientOwnedBlockRuntime as Zn, pageTemplateFromEntry as Zo, isSemanticSpacing as Zr, formatEventCompactDateRail as Zt, productDetailBlockDefinition as _, resolveHeaderRootForeground as _a, FileArchiveIcon as _i, formatTotalCapacity as _n, boundaryRuntimeMetricsForDecorativeTransition as _o, formatEventPrice as _r, trimmedStringOrNull as _s, previewStageSchema as _t, normalizeLocationMapProps as a, bookingConsentCarrierSchema as aa, createTransformRegistry as ai, groupEventsByDate as an, buildTextContrastShadow as ao, standardAspectRatioOptions as ar, resolveWholeSeriesBookingPhase as as, resolveImageUrlWithContext as at, buildCartInteractiveIslandProps as b, selectItemSurfacePresentation as ba, FileTextIcon as bi, isEventFull as bn, noneBoundaryOption as bo, formatEventStartingPrice as br, formatDateRange as bs, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as bt, newsletterSignupBlockDefinition as c, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as ca, when as ci, formatBookingSchedulePresentation as cn, generateInteractiveChildInheritanceCSS as co, heroMorePhotoCount as cr, parseMailingListProviderScope as cs, getCurrentResolveImageUrlContext as ct, buildNewsletterFormInteractiveIslandProps as d, calendarWindowQuerySchema as da, resolveBlockIconRenderValue as di, blockSiteTermsSchema as dn, resolvePageDesignBoundaryChoice as do, blockDesignCapabilityMapFromDefinitions as dr, isCanonicalRichTextDoc as ds, getCardOrientation as dt, isToday as ea, lookCarouselRegionTransform as ei, formatEventNextDateFact as en, gradientToCss as eo, listLookControl as er, EVENT_PRESET_VALUES as es, ImagePresets as et, newsletterBlockSubmissionMessage as f, isObjectRecord$1 as fa, ArrowDownIcon as fi, pageNavigationSchema as fn, sectionShapeForGround as fo, resolveDeclaredBlockDesignCapability as fr, decideLocationSourcePermission as fs, getContainerClass as ft, cartBlockDefinition as g, AFFORDANCE_SUPPRESS_CLASS as ga, ClockIcon as gi, formatEventRemainingPlaces as gn, boundaryOptions as go, formatCoursePrice as gr, publicLocationSchema as gs, bookingNowSchema as gt, checkoutBlockDefinition as h, themeButtonSelector as ha, CirclePlusIcon as hi, canJoinEventWaitlistOnAnyMode as hn, boundaryOptionForTransitionIntent as ho, resolveClassPriceItems as hr, projectPublicLocation as hs, resolveEventRegistrationEventSource as ht, systemBlockDefinitions as i, blockBookingConsentSchema as ia, asPartialObject as ii, formatTime as in, generateFooterCss as io, itemRole as ir, orderedLiveRunSessions as is, resolveImageUrl as it, buildOfferingsCatalogueListing as j, arrangementStyleAvailability as ja, augmentManifest as ji, parseTeamMemberSpecialties as jn, stripStaleTransitionStyleGroup as jo, formEmbedFragment as jr, toBookingTimeZone as js, resolveOfferingsPreviewGroups as jt, offeringsPreviewBlockDefinition as k, arrangementAppearancePresets as ka, parseFieldDefinitions as ki, splitPositioningClasses as kn, resolveSectionBackground as ko, blogFeaturedPostFragment as kr, parseLocalScheduleTime as ks, readOfferingsGrouping as kt, sanitizeNewsletterSignupPublicContent as l, linkSchema as la, buildGeneratedBlockIconRenderAssetLookupFromUnknown as li, bookingPresentation as ln, parsePageDesignIntent as lo, morePhotosField as lr, parseMailingListPlacementTargeting as ls, setContextResolveImageUrlContext as lt, buildGiftingInteractiveIslandProps as m, parseThemeButtonVariantId as ma, CircleMinusIcon as mi, bookingPageKindSchema as mn, sectionShapeHook as mo, classPricesDataSchema as mr, normalizeLocationAddressText as ms, buildEventRegistrationInteractiveIslandProps as mt, listBlockDescriptors as n, publicEventsArraySchema as na, lookQuoteLimitTransform as ni, formatEventTimeRange as nn, resolveCardRole as no, lookListPresentationSchemaShape as nr, firstLiveRunSessionStartMs as ns, computeMediaTransformStyle as nt, normalizeLocationMapSource as o, beforeBookingQuestionsPresentationSchema as oa, runTransforms as oi, resolveEventTimeZone as on, generateNavLinkCSS as oo, Grid as or, buildMailingListSignupBlockSourceRef as os, resolvePublicMediaUrl as ot, giftingBlockDefinition as p, isRecord$5 as pa, ChevronDownIcon as pi, closedRunCopy as pn, sectionShapeFromContent as po, classPricesCopySchema as pr, locationValueSchema as ps, eventRegistrationBlockDefinition as pt, CardListContentPart as q, componentRuntimeRulesForSiteStyle as qa, addDays as qi, buildInteractiveIslandProps as qn, chosenString as qo, resolveSectionSurfaceForeground as qr, TokenResolver as qs, eventLocalDateKey as qt, normalizeBlockContent as r, blockBookingPaymentTermsSchema as ra, lookSkinSlotTransform as ri, formatEventWeekdayTime as rn, generateDefaultCardSystem as ro, resolvedItemSurfaceProps as rr, nextLiveRunSessionStartMs as rs, resolveImageSourceSetWithContext as rt, resolveLocationMapLocation as s, sanitizeHref as sa, el as si, resolveRuntimeEventDestination as sn, generateEffectsCSS as so, clsx as sr, parseMailingListRuntimeContext as ss, buildResolveImageUrlContext as st, getBlockDefinition as t, projectRecurringSchedule as ta, lookLeadSlotTransform as ti, formatEventRunDates as tn, getGradientPreset as to, listLookSlot as tr, CANCELLED_SESSION_STATUS as ts, MediaPlaceholder as tt, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as u, eventCalendarListLayoutCompatibleDisplayModeValues as ua, parseBlockIconValue as ui, browserReadAuthoritySchema as un, resolvePageDesignBlockLookChoice as uo, standardImageShapeOptions as ur, sameMailingListPlacementTargeting as us, EventQuickFacts as ut, productListBlockDefinition as v, lookPresentationOnPalette as va, FileAudioIcon as vi, getEventAvailability as vn, boundaryTreatmentForBoundaryOptionId as vo, formatEventPriceAmount as vr, mapDrawingSchema as vs, normalizeEventRegistrationPageSurfaceSubject as vt, buildShopInteractiveIslandProps as w, readOpeningToneProjection as wa, isInlineTextEmpty as wi, shouldReserveFeatureCardIconZone as wn, anglePolygonCss as wo, richTextFragment as wr, toScheduledBookingDateTime as ws, buildOfferingsPreviewListing as wt, buildCheckoutInteractiveIslandProps as x, parseListLook as xa, MinusIcon as xi, groupPublicEventsByRun as xn, softBoundaryOption as xo, BACKGROUND_POSITION_PRESET_VALUES as xr, formatDateTimeRange as xs, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as xt, shopBlockDefinition as y, resolveLookSurfacePresentation as ya, FileSpreadsheetIcon as yi, getEventAvailabilityStatus as yn, isDecorativeTransitionIntent as yo, formatEventPriceDisplay as yr, formatDate$2 as ys, resolveEventRegistrationScopedEvents as yt, buildEventCollectionDisplay as z, readStoredMode as za, eventScopeQueryKeys as zi, layoutTransforms as zn, builtInBlockKindsSchema as zo, heroCopyFragment as zr, resolveExactOrFreePriceDisplay as zs, buildEventListWeek as zt };
|
|
56230
|
+
export { RichText as $, filterLookIdsForPolicy as $a, getLocalDateKey as $i, staticHeaderChromeRuntime as $n, resolveRepeaterGridSpanFieldId as $o, parseBackgroundContent as $r, formatEventCompactDateRail as $t, publicRouteCandidatesSchema as A, effectiveHeaderNavLinkStyle as Aa, MinusIcon as Ai, formatTotalCapacity as An, transitionIntentForTreatment as Ao, formatEventStartingPrice as Ar, toScheduledBookingDateTime as As, offeringsListingFor as At, buildEventCollectionHydration as B, compileArrangementLookRuntime as Ba, augmentManifest as Bi, composeHeaderSectionWrapperClassName as Bn, appearancePresets as Bo, formEmbedFragment as Br, formatBookingPriceDisplay as Bs, SpinnerNode as Bt, buildProductListInteractiveIslandProps as C, AFFORDANCE_SUPPRESS_CLASS as Ca, CircleMinusIcon as Ci, planWholeSeriesParentSelection as Cn, boundaryOptions as Co, classPricesCopySchema as Cr, trimmedStringOrNull as Cs, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as Ct, membershipClassesLabel as D, selectItemSurfacePresentation as Da, FileAudioIcon as Di, isBookableEvent as Dn, noneBoundaryOption as Do, formatEventPrice as Dr, formatDateTimeRange as Ds, groupOfferingRunsByCourse as Dt, membershipCardListContent as E, resolveLookSurfacePresentation as Ea, FileArchiveIcon as Ei, selectionRepresentativeEvent as En, isDecorativeTransitionIntent as Eo, formatCoursePrice as Er, formatDateRange as Es, buildOfferingsPreviewListing as Et, buildEventCalendarListingDisplay as F, headerRootPaint as Fa, plainTextToInlineText as Fi, FEATURE_CARD_ICON_TREATMENTS as Fn, parseCanonicalRuntimeBackground as Fo, cardFragment as Fr, parseLocalScheduleTime as Fs, ThemedAuthoredButton as Ft, catalogueEventCardProps as G, arrangementManifestFromVariants as Ga, eventDiscoveryFilterKeys as Gi, teamMemberBiography as Gn, blockSectionDeclarationShape as Go, heroCtaRowFragment as Gr, resolveExactOrFreePriceDisplay as Gs, weekColumnDays as Gt, eventCollectionDisplaySchemaShape as H, resolveArrangementLookForBlock as Ha, eventReadinessQuery as Hi, splitPositioningClasses as Hn, bindingSchema as Ho, testimonialsCarouselFragment as Hr, publicEventPricingCurrency as Hs, eventListWeekDays as Ht, combinedLookSchema as I, arrangementAppearancePresets as Ia, normalizeSelectSource as Ii, resolveFeatureCardGeneratedIconSizePx as In, resolveSectionBackground as Io, faqAccordionFragment as Ir, resolveBookingBusinessTimeZone as Is, ThemedButton as It, CardListLeadDate as J, resolveModeArrangement as Ja, eventScopeQueryKeys as Ji, resolveDateRuntimeContext as Jn, validateManifestLookField as Jo, heroCopyFragment as Jr, unsafeAsContentEntryId as Js, eventDateOptions as Jt, listingEventCardProps as K, readStoredMode as Ka, eventScopeLoaderParam as Ki, teamMemberCardBiography as Kn, builtInBlockKindsSchema as Ko, ctaRowFragment as Kr, resolvePricingOptionsPriceDisplay as Ks, buildCalendarViewport as Kt, eventListingBlockDefinition as L, arrangementLookHooks as La, parseFieldDefinition as Li, shouldReserveFeatureCardIconZone as Ln, sectionSurfaceBase as Lo, faqHeadingFragment as Lr, toBookingTimeZone as Ls, ThemedButtonLink as Lt, offeringsCatalogueShape as M, heroPhotoPaintsGround as Ma, inlineTextToPlainText as Mi, getEventAvailabilityStatus as Mn, transitionCatalogueEntries as Mo, getAnchorClasses as Mr, getBookingLocalDateKey as Ms, resolveOfferingsPreviewGroupCta as Mt, eventCalendarBlockDefinition as N, headerNeedsPhotoShade as Na, isInlineTextEmpty as Ni, isEventFull as Nn, applyLookPhotoTreatment as No, richTextFragment as Nr, getLocalScheduleDate as Ns, resolveOfferingsPreviewGroups as Nt, passCardListContent as O, parseListLook as Oa, FileSpreadsheetIcon as Oi, canJoinEventWaitlistOnAnyMode as On, softBoundaryOption as Oo, formatEventPriceAmount as Or, inferSiteDateLocale as Os, normalizeOfferingsPreviewItemLimit as Ot, buildEventCalendarInteractiveIslandProps as P, headerRootIsTransparent as Pa, parseInlineTextFromUnknown as Pi, groupPublicEventsByRun as Pn, deriveSectionGround as Po, headingFragment as Pr, parseBookingLocalDate as Ps, resolveOfferingsRenderInput as Pt, MediaNodeServer as Q, filterLayoutProfilesForPolicy as Qa, resolveEventCalendarReadPlan as Qi, layoutTransforms as Qn, resolveRepeaterGridRowFieldId as Qo, resolveCardRoleForBoxStyles as Qr, TokenResolver as Qs, formatEventClockLabel as Qt, buildEventListingInteractiveIslandProps as R, arrangementStyleAvailability as Ra, parseFieldDefinitions as Ri, siteFooterManifest as Rn, stripStaleTransitionStyleGroup as Ro, blogFeaturedPostFragment as Rr, toUtcIsoDateTimeString as Rs, ThemedDownloadLink as Rt, buildProductDetailInteractiveIslandProps as S, themeButtonSelector as Sa, ChevronDownIcon as Si, planWholeSeriesParentBooking as Sn, boundaryOptionForTransitionIntent as So, resolveDeclaredBlockDesignCapability as Sr, publicLocationSchema as Ss, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as St, shopProductPresentation as T, lookPresentationOnPalette as Ta, ClockIcon as Ti, resolveSelectionBookingClosedDetail as Tn, boundaryTreatmentForBoundaryOptionId as To, resolveClassPriceItems as Tr, formatDate$2 as Ts, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Tt, eventCollectionHydrationSchema as U, resolveLookForBlock as Ua, eventReadinessQueryKeys as Ui, contentTransforms as Un, DEFAULT_MEDIA_FIELD_KINDS as Uo, testimonialsHeadingFragment as Ur, publicEventPricingDisplay as Us, eventWeekGroupingContext as Ut, buildEventCollectionListingDisplay as V, getCompatibleBlockAppearancePresets as Va, eventReadinessLoaderKey as Vi, markEditableSurfaceForwarding as Vn, NodeSchema as Vo, formCopyFragment as Vr, isPublicEventPricingOptionDisplayable as Vs, buildEventListWeek as Vt, eventCollectionSourceSchemaShape as W, styleSectionBackgroundForColour as Wa, eventReadinessResultSchema as Wi, parseTeamMemberSpecialties as Wn, blockCategoryEnum as Wo, ctaCopyFragment as Wr, publicEventPricingType as Ws, groupEventsByWeek as Wt, resolveCardListSchedule as X, buildInitialPolicyPageDesignIntent as Xa, resolveCalendarReadProfile as Xi, headerRuntimeTransforms as Xn, parseRepeaterGridInteger as Xo, boxStyleClassNames as Xr, parseGradientPresetId as Xs, formatCalendarTitle as Xt, cardListPresentationSchemaShape as Y, resolvePublishedLook as Ya, resolveEventScope as Yi, mediaTransforms as Yn, isAcceptedRepeaterGridSpan as Yo, boxStylesTransforms as Yr, unsafeAsEventCategoryId$1 as Ys, eventLocalDateKey as Yt, selectCardListPresentation as Z, deriveSiteStyleBlockPolicy as Za, eventCalendarListGroupingDecision as Zi, chromeLogoTransforms as Zn, resolveRepeaterGridColumnFieldId as Zo, normalizeBoxStylesBorder as Zr, arrangementSlotNames as Zs, formatDate as Zt, productDetailBlockDefinition as _, linkSchema as _a, when as _i, eventOccurrenceContext as _n, resolvePageDesignBlockLookChoice as _o, Grid as _r, isCanonicalRichTextDoc as _s, resolveEventRegistrationEventSource as _t, normalizeLocationMapProps as a, getWeekCalendarDayTuple as aa, ctaButton as ai, formatEventWeekdayTime as an, stripCompiledRuntimeStyleFields as ao, buildInteractiveIslandProps as ar, unavailableReadinessFact as as, resolveImageUrlWithContext as at, buildCartInteractiveIslandProps as b, isRecord$5 as ba, resolveBlockIconRenderValue as bi, planDropInPanel as bn, sectionShapeFromContent as bo, morePhotosField as br, normalizeLocationAddressText as bs, normalizeEventRegistrationPageSurfaceSubject as bt, newsletterSignupBlockDefinition as c, isToday as ca, defineFragment as ci, resolveEventTimeZone as cn, getGradientPreset as co, createZodCodec as cr, CANCELLED_SESSION_STATUS as cs, systemCustomizeFacetDefinitionsForBlock as ct, buildNewsletterFormInteractiveIslandProps as d, blockBookingPaymentTermsSchema as da, lookQuoteLimitTransform as di, bookingPresentation as dn, generateFooterCss as do, listItemPresentation as dr, resolveWholeSeriesBookingPhase as ds, setContextResolveImageUrlContext as dt, getLocalMinuteOfDay as ea, parseBackgroundOverlay as ei, formatEventDateParts as en, componentRuntimeRulesForSiteStyle as eo, uiTransforms as er, chosenString as es, ImagePresets as et, newsletterBlockSubmissionMessage as f, blockBookingConsentSchema as fa, lookSkinSlotTransform as fi, browserReadAuthoritySchema as fn, buildTextContrastShadow as fo, listLookControl as fr, buildMailingListSignupBlockSourceRef as fs, EventQuickFacts as ft, cartBlockDefinition as g, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as ga, el as gi, bookingPageKindSchema as gn, parsePageDesignIntent as go, itemRole as gr, sameMailingListPlacementTargeting as gs, buildEventRegistrationInteractiveIslandProps as gt, checkoutBlockDefinition as h, sanitizeHref as ha, runTransforms as hi, closedRunCopy as hn, generateInteractiveChildInheritanceCSS as ho, resolvedItemSurfaceProps as hr, parseMailingListPlacementTargeting as hs, eventRegistrationBlockDefinition as ht, systemBlockDefinitions as i, getOrderedDayNames as ia, resolveBackgroundColorValue as ii, formatEventTimeRange as in, compilePageRuntimeFields as io, buildFormInteractiveIslandProps as ir, pageTemplateFromEntry as is, resolveImageUrl as it, buildOfferingsCatalogueListing as j, readOpeningToneProjection as ja, PlusIcon as ji, getEventAvailability as jn, anglePolygonCss as jo, BACKGROUND_POSITION_PRESET_VALUES as jr, compareLocalScheduleDates as js, readOfferingsGrouping as jt, offeringsPreviewBlockDefinition as k, authoredHeaderLinkForeground as ka, FileTextIcon as ki, formatEventRemainingPlaces as kn, spaciousBoundaryOption as ko, formatEventPriceDisplay as kr, formatBookingCompactEnglishTime as ks, offeringRunLifecycle as kt, sanitizeNewsletterSignupPublicContent as l, projectRecurringSchedule as la, lookCarouselRegionTransform as li, resolveRuntimeEventDestination as ln, resolveCardRole as lo, defineClientOwnedBlockRuntime as lr, nextLiveRunSessionStartMs as ls, buildResolveImageUrlContext as lt, buildGiftingInteractiveIslandProps as m, beforeBookingQuestionsPresentationSchema as ma, createTransformRegistry as mi, pageNavigationSchema as mn, generateEffectsCSS as mo, lookListPresentationSchemaShape as mr, parseMailingListProviderScope as ms, getContainerClass as mt, listBlockDescriptors as n, formatDateKey as na, resolveSectionSurfaceForeground as ni, formatEventNextDateFact as nn, getCuratedSiteStyle as no, formatDate$1 as nr, hiddenFromVisitors as ns, computeMediaTransformStyle as nt, normalizeLocationMapSource as o, getWeekCalendarDays as oa, isSemanticSpacing as oi, formatTime as on, surfaceResolutionContextFromTheme as oo, createInteractiveIslandCodec as or, isRecord$6 as os, resolvePublicMediaUrl as ot, giftingBlockDefinition as p, bookingConsentCarrierSchema as pa, asPartialObject as pi, blockSiteTermsSchema as pn, generateNavLinkCSS as po, listLookSlot as pr, parseMailingListRuntimeContext as ps, getCardOrientation as pt, CardListContentPart as q, resolveEffectiveArrangement as qa, eventScopeQuery as qi, readRuntimeNow as qn, fieldSchema$1 as qo, isBlockButtonRole as qr, parseContentVersionId as qs, eventCalendarWeekStart as qt, normalizeBlockContent as r, getDayOfWeek as ra, resolveSurfaceForegroundStyles as ri, formatEventRunDates as rn, requireCuratedSiteStyle as ro, formBlockDefinition as rr, loadedReadinessFact as rs, resolveImageSourceSetWithContext as rt, resolveLocationMapLocation as s, isSameCalendarDay as sa, bodyCopyFragment as si, groupEventsByDate as sn, gradientToCss as so, defineInteractiveIslandMetaKeys as sr, EVENT_PRESET_VALUES as ss, resolveArrangementKnobs as st, getBlockDefinition as t, addDays as ta, parseRuntimeBackgroundContent as ti, formatEventHourLabel as tn, designRuntimeRulesForSiteStyle as to, formattingTransforms as tr, admitReadinessFacts as ts, MediaPlaceholder as tt, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as u, publicEventsArraySchema as ua, lookLeadSlotTransform as ui, formatBookingSchedulePresentation as un, generateDefaultCardSystem as uo, defineProgressiveBlockRuntime as ur, orderedLiveRunSessions as us, getCurrentResolveImageUrlContext as ut, productListBlockDefinition as v, calendarWindowQuerySchema as va, buildGeneratedBlockIconRenderAssetLookupFromUnknown as vi, getPublicEventCanonicalPath as vn, resolvePageDesignBoundaryChoice as vo, clsx as vr, decideLocationSourcePermission as vs, bookingNowSchema as vt, buildShopInteractiveIslandProps as w, resolveHeaderRootForeground as wa, CirclePlusIcon as wi, planWholeSeriesRunSelection as wn, boundaryRuntimeMetricsForDecorativeTransition as wo, classPricesDataSchema as wr, mapDrawingSchema as ws, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as wt, buildCheckoutInteractiveIslandProps as x, parseThemeButtonVariantId as xa, ArrowDownIcon as xi, planOrdinarySeriesSelection as xn, sectionShapeHook as xo, blockDesignCapabilityMapFromDefinitions as xr, projectPublicLocation as xs, resolveEventRegistrationScopedEvents as xt, shopBlockDefinition as y, isObjectRecord$1 as ya, parseBlockIconValue as yi, isOrdinaryPublicEvent as yn, sectionShapeForGround as yo, heroMorePhotoCount as yr, locationValueSchema as ys, previewStageSchema as yt, buildEventCollectionDisplay as z, automaticArrangementLook as za, PUBLIC_DOWNLOAD_MEDIA_TYPES as zi, siteHeaderManifest as zn, themeV2CompilerOwnedFieldNames as zo, singleButtonFragment as zr, offeringLabelForPageSurfaceSubject as zs, getIconComponent as zt };
|