@riverbankcms/sdk 0.157.0 → 0.158.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-B3AHhvIn.d.ts → BlocksIslandsHydrator-BgNBtEai.d.ts} +1 -1
- package/dist/_dts/{Page-BMaOSVCP.d.ts → Page-DpCo8zXD.d.ts} +9 -6
- package/dist/_dts/{SdkPreviewMode-CEwDDqfK.d.ts → SdkPreviewMode-Bv2TMscG.d.ts} +2 -2
- package/dist/_dts/{client-BRFVhGUB.d.ts → client-B960v2gW.d.ts} +1 -1
- package/dist/_dts/{content-types-tEy1rtQ5.d.ts → content-types-CN0Wy8V6.d.ts} +26 -3
- package/dist/_dts/{contracts-BwDSOVGj.d.ts → contracts-BFUrby76.d.ts} +5 -4
- package/dist/_dts/{footerPageOutline-BVp5EPJj.d.ts → footerPageOutline-CmoqleLS.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-BQb1mvpc.d.ts → generatePageMetadata-Dkvivc3R.d.ts} +2 -2
- package/dist/_dts/{hosted-booking-appearance-BN2Zu93B.d.ts → hosted-booking-appearance-BIbit60h.d.ts} +8976 -47
- package/dist/_dts/{index-Ca3oD2id.d.ts → index-Ba6RmuxX.d.ts} +3 -3
- package/dist/_dts/{index-Br1TNJlL.d.ts → index-DCNu_8it.d.ts} +4 -4
- package/dist/_dts/{index-CSLkIKs3.d.ts → index-DPfI2t5A.d.ts} +2 -2
- package/dist/_dts/{index-B0wsEbm3.d.ts → index-DaS_z6ir.d.ts} +1 -1
- package/dist/_dts/{index-B0DzVcrB.d.ts → index-DfkFWUxt.d.ts} +4 -1
- package/dist/_dts/{index-BF3hkKvt.d.ts → index-DpgkhY-a.d.ts} +2 -2
- package/dist/_dts/{loadContent-Dz9fOZMZ.d.ts → loadContent-DvvKF4nB.d.ts} +10 -7
- package/dist/_dts/{navigation-DOZwagCE.d.ts → navigation-n-eTVTIQ.d.ts} +75 -4
- package/dist/_dts/{resolvePageContent-oHZ8cfaF.d.ts → resolvePageContent-D0lGwVD6.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 +6 -6
- 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/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 +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +10 -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 +11 -4
- 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/index.d.ts +45 -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/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-Dy1DNdIV.d.ts → types-BJrRUaY7.d.ts} +2 -2
- package/dist/_dts/{types-6q1MDqxg.d.ts → types-BY7PgnDi.d.ts} +7 -7
- package/dist/_dts/{types-BuWOkyqw.d.ts → types-maEnXL6Z.d.ts} +3 -3
- package/dist/_dts/{validation-BumblAOO.d.ts → validation-BjuVrMrs.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-Cid8be1G.mjs → BlocksIslandsHydrator-WRLS96Ev.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-BpzJTCZw.mjs → BookingMailingListNote-eovghMPa.mjs} +3 -56
- package/dist/client/{CalendarNavigationChevron-CBKHlGjE.mjs → CalendarNavigationChevron-CIcMQRc1.mjs} +5 -5
- package/dist/client/{DemoBookingPortalAccess-DpfgDMQ-.mjs → DemoBookingPortalAccess-CdnFgDyQ.mjs} +3 -3
- package/dist/client/{EventCalendar.client-DE5JHf4s.mjs → EventCalendar.client-Dc-ZLxKo.mjs} +8 -8
- package/dist/client/{EventCombined.client-DQLU3EAc.mjs → EventCombined.client-C93XqRIv.mjs} +6 -6
- package/dist/client/{EventItem-C9QTFafI.mjs → EventItem-DnCTygqk.mjs} +3 -3
- package/dist/client/{EventListWeekNavigation-6oYGdpNS.mjs → EventListWeekNavigation-9h97heuQ.mjs} +1 -1
- package/dist/client/{EventListing.client-D0N4Wj_4.mjs → EventListing.client-DFKlQvvs.mjs} +3 -3
- package/dist/client/{EventListing.view-Bish8-si.mjs → EventListing.view-pAuTDyrP.mjs} +4 -4
- package/dist/client/{EventRegistrationPayment-DLPYU2VU.mjs → EventRegistrationPayment-rgKlBvhP.mjs} +8 -7
- package/dist/client/{LeafletStaticMap-BmgEmEUS.mjs → LeafletStaticMap-3XiWSgy0.mjs} +1 -1
- package/dist/client/{Page-C-W_6VPx.mjs → Page-BmpeAwID.mjs} +750 -169
- package/dist/client/{StepIndicator-D8fvzhlS.mjs → StepIndicator-qEq6X5zP.mjs} +2 -2
- package/dist/client/{accordion-B5jBBoBC.mjs → accordion-DeObOasQ.mjs} +1 -1
- package/dist/client/{booking-form.client-xypjcfob.mjs → booking-form.client-DfWeF0lj.mjs} +36 -32
- package/dist/client/{bookingForm-CSE7NT54.mjs → bookingForm-TnzIBHx2.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-BrrLdGgn.mjs → carousel-kkFnbr5Z.mjs} +1 -1
- package/dist/client/{cart-QFgSKqia.mjs → cart-BAXNbFux.mjs} +3 -3
- package/dist/client/{cart.client-C6iA9v8X.mjs → cart.client-BczxUF70.mjs} +1 -1
- package/dist/client/{checkout-BAuLgA6Q.mjs → checkout-C5NRhPeP.mjs} +3 -3
- package/dist/client/{checkout.client-hbvBPpZR.mjs → checkout.client-BuDk3Td9.mjs} +1 -1
- package/dist/client/client.mjs +3 -2
- package/dist/client/{context-psG_Bwfs.mjs → context-CVsgML69.mjs} +1 -1
- package/dist/client/{cta-DrX2pzK9.mjs → cta-BWnUuJce.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CClf0SHq.mjs → demoPortalMagicLink-CUlwvmxf.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-CqN7ig-2.mjs → enhanceHeaderSection-Cw8nnFj-.mjs} +2 -2
- package/dist/client/{event-details.client-CcYX4URD.mjs → event-details.client-Bl0E_6Vi.mjs} +2 -2
- package/dist/client/{event-registration.client-B8wVfnJ8.mjs → event-registration.client-DmfLg_LC.mjs} +15 -14
- package/dist/client/{eventCalendar-CRYN9-Vv.mjs → eventCalendar-D1Dwb9VA.mjs} +4 -4
- package/dist/client/{eventCombined-gGuj2_Vh.mjs → eventCombined-DfsqY1qR.mjs} +4 -4
- package/dist/client/{eventDetails-D1U7WEsJ.mjs → eventDetails-BmugDVoa.mjs} +2 -2
- package/dist/client/{eventListing-BY20rsvl.mjs → eventListing-BPAGJi3C.mjs} +4 -4
- package/dist/client/{eventRegistration-DnOZYpqh.mjs → eventRegistration-DBlz_x6u.mjs} +4 -4
- package/dist/client/{form-_q17Emh7.mjs → form-DVu3ZMjx.mjs} +3 -3
- package/dist/client/{form.client-BVaTf4FG.mjs → form.client-QZUyABIY.mjs} +3 -3
- package/dist/client/{form.parts-C9EmjE7U.mjs → form.parts-Bs0F3v08.mjs} +1 -1
- package/dist/client/formatDate-BD9D3dgo.mjs +26 -0
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-CZ3unSkX.mjs → headerSection-BQwWW4Yy.mjs} +2 -2
- package/dist/client/{location-map.client-C_udm2_y.mjs → location-map.client-upKuwABk.mjs} +3 -10
- package/dist/client/{location-map.view-Bkd9gu_S.mjs → location-map.view-RuBCD10O.mjs} +87 -13
- package/dist/client/{locationMap-CunBAPoo.mjs → locationMap-1sCbsk0V.mjs} +2 -2
- package/dist/client/{newsletter-form.client-BkHhqPBi.mjs → newsletter-form.client-DBTU3oNv.mjs} +4 -4
- package/dist/client/{newsletter-form.parts-VGjM-NDG.mjs → newsletter-form.parts-C9I9JBhe.mjs} +1 -1
- package/dist/client/{newsletterForm-DGc1-NVR.mjs → newsletterForm-DTPtTxxG.mjs} +3 -3
- package/dist/client/{noop-D3wctocR.mjs → noop-DMFt3KdC.mjs} +19 -132
- package/dist/client/portal/client.mjs +589 -482
- package/dist/client/{product-detail.client-C_8N4OxU.mjs → product-detail.client-BX7M5o6p.mjs} +1 -1
- package/dist/client/{product-list.client-79qoSlLs.mjs → product-list.client-i32QNY4c.mjs} +1 -1
- package/dist/client/{productDetail-QGBXBpWb.mjs → productDetail-DWjE9zm7.mjs} +3 -3
- package/dist/client/{productList-Bdno11g6.mjs → productList-DZH9_brv.mjs} +3 -3
- package/dist/client/{propsDecoder-BpKsRqjG.mjs → propsDecoder-CTzHkEkh.mjs} +14 -3
- package/dist/client/{registry.server-D9GvC4EZ.mjs → registry.server-vJ5FlscU.mjs} +589 -246
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +26 -4
- package/dist/client/{richText-coerce-Nln8Bw2P.mjs → richText-coerce-DXAmC72p.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-B4E30DaZ.mjs → routeIslandApiConfig-CmC7ygin.mjs} +1 -1
- package/dist/client/{shop-653-Nn74.mjs → shop-C7eL3B37.mjs} +3 -3
- package/dist/client/{shop-commerce-CfbvhT6h.mjs → shop-commerce-D8oRN0QJ.mjs} +9 -9
- package/dist/client/{shop-commerce-store-CfB26IXt.mjs → shop-commerce-store-CRnQ4M18.mjs} +1 -1
- package/dist/client/{shop.client-Bn7jUQOB.mjs → shop.client-X6d6KVmA.mjs} +9 -9
- package/dist/client/{shop.interactive-acMnyBZU.mjs → shop.interactive-DBMeM8VD.mjs} +155 -3
- package/dist/client/{shopShared-Du4efbgL.mjs → shopShared-Y182kN_s.mjs} +2 -2
- package/dist/client/{timetableModel-Duwk6gXe.mjs → timetableModel-D7PwpaBY.mjs} +5 -5
- package/dist/client/{useAvailableSlots-CbaAFr8M.mjs → useAvailableSlots-BDV6MHgJ.mjs} +2 -2
- package/dist/client/useBookingNowIso-DgJEv3ZY.mjs +58 -0
- package/dist/client/{useDiscountApply-DAl-GX21.mjs → useDiscountApply-BTu9EeT7.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-BUf9LuI6.mjs → useDiscountCodeUi-BfZxdxI-.mjs} +1 -1
- package/dist/client/{useEventPagination-hJDAEg-T.mjs → useEventPagination-pnvdHGeQ.mjs} +6 -6
- package/dist/client/{view-CFSMNvdC.mjs → view-BPEa6Okm.mjs} +8 -7
- package/dist/client/{view-4sSIJ6Ny.mjs → view-hJr_L4QC2.mjs} +3 -3
- package/dist/client/{wizardSteps-B3tRF3_2.mjs → wizardSteps-HdyGoIG3.mjs} +218 -47
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-BX5F0a_h.mjs → EventEmbeddedCheckoutStep-BFlBqSu4.mjs} +1 -1
- package/dist/preview-next/client/{PreviewEditorSidebar-DLzGdmTw.mjs → PreviewEditorSidebar-CXRUbqMp.mjs} +42 -26
- package/dist/preview-next/client/{PreviewEditorUI-Dru5AxOd.mjs → PreviewEditorUI-CxjEV0Fm.mjs} +31 -22
- package/dist/preview-next/client/{SdkPreviewModeRuntime-QVfwY0HY.mjs → SdkPreviewModeRuntime-BxI12BBS.mjs} +1310 -1226
- package/dist/preview-next/client/{SdkPreviewModeRuntime-V3absa-c.mjs → SdkPreviewModeRuntime-XdQSGGj_.mjs} +1 -1
- package/dist/preview-next/client/{SiteChromeCustomizeContext-RSPyKO_K.mjs → SiteChromeCustomizeContext-CfRQRwpH.mjs} +133891 -131593
- package/dist/preview-next/client/{ThemedButton-ADHirm0A.mjs → ThemedButton-BEOPss9H.mjs} +30 -4
- package/dist/preview-next/client/{previewChromeSurface-Cc4b9nBZ.mjs → previewChromeSurface-CH7hd5n7.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CTLm99t6.mjs → sdk-runtime-C6xEU1LI.mjs} +1 -1
- package/dist/preview-next/client/{siteStyleAccess-YpHSMBBC.mjs → siteStyleAccess-CRXaC2oL.mjs} +2 -2
- package/dist/preview-next/client/{spinner-CsiSmy1g.mjs → spinner-BTf1CZmy.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-dR_Jzpo5.mjs → route-contract-DM22uOXM.mjs} +41 -0
- package/dist/server/{Block.shared-BNrmEY1p.mjs → Block.shared-DLoilC2J.mjs} +4 -4
- package/dist/server/{bindings-C9zgT9uX.mjs → bindings-C7DKLVx_.mjs} +1 -1
- package/dist/server/{blocks-BLm-OxTv.mjs → blocks-jlIm0PWc.mjs} +953 -324
- package/dist/server/{client-CaQ1ElR3.mjs → client-CU4wlMLE.mjs} +2 -2
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-BFyU8YxS.mjs → loadContent-DmQ4BiiQ.mjs} +6 -4
- package/dist/server/{loadPage-DeQipVdO.mjs → loadPage-BBkDQA57.mjs} +3 -2
- package/dist/server/loadPage-ZrcfjG3X.mjs +2 -0
- package/dist/server/next.mjs +24 -12
- package/dist/server/{overrideResolution-D5nmZUYe.mjs → overrideResolution-ByeAbLSO.mjs} +1 -1
- package/dist/server/{overrides-BI13bIb7.mjs → overrides-BcA6ZPWf.mjs} +94 -30
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-UgDhSzy2.mjs → prebuild-8T-m7XjB.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CLF-Y7h-.mjs → prefetchBlockData-Bjya-X9t.mjs} +6 -5
- package/dist/server/{publicProducts-vPbNQJsO.mjs → publicProducts-C3meXS2o.mjs} +41 -0
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +26 -8
- package/dist/server/{resolveBlockData-C7J-pixy.mjs → resolveBlockData-D0ow8PRJ.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/{siteChromeOverlayClearance-DLROm32h.mjs → siteChromeOverlayClearance-BangtD8A.mjs} +126 -1
- package/dist/server/{src-BZb5L4Fa.mjs → src-B935_bzN.mjs} +300 -2
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/{themeAdmission-x3uhdOWx.mjs → themeAdmission-D2-BnmDO.mjs} +314 -125
- package/dist/server/{validation-Ban_hxJG.mjs → validation-Cm41pDUB.mjs} +2 -2
- package/dist/server/{version-bkGVuskm.mjs → version-Bo9C3McI.mjs} +1 -1
- package/dist/styles/index.css +282 -0
- package/package.json +1 -1
- package/dist/server/loadPage-CvyKRtXK.mjs +0 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Mr as formatCurrencyAmount } from "./ThemedButton-DVBC_pS9.mjs";
|
|
3
3
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
4
|
-
import { Ar as listLookSlot,
|
|
5
|
-
import { Ct as
|
|
6
|
-
import { Jt as formatEventPriceAmount, Rt as CardListContentPart, Yt as formatEventPriceDisplay, qt as formatEventPrice } from "./shop.interactive-
|
|
7
|
-
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-
|
|
4
|
+
import { Ar as listLookSlot, Bi as publicEventPricingCurrency, Cr as resolveEventRegistrationScopedEvents, Di as resolveWholeSeriesBookingPhase, Ei as orderedLiveRunSessions, Ki as assertNever, Li as formatBookingPriceDisplay, Sn as formatTotalCapacity, Ui as publicEventPricingType, Vi as publicEventPricingDisplay, an as eventDateOptions, bn as formatEventRemainingPlaces, ln as formatEventCompactDateRail, un as formatEventDateParts, wi as CANCELLED_SESSION_STATUS, wn as getEventAvailabilityStatus, zi as isPublicEventPricingOptionDisplayable } from "./wizardSteps-HdyGoIG3.mjs";
|
|
5
|
+
import { Ct as toUtcIsoDateTimeString, St as toScheduledBookingDateTime, ht as getLocalScheduleDate, it as formatDateTimeRange, mt as getBookingLocalDateKey, nt as formatDateRange, tt as formatDate, xt as toBookingTimeZone, yt as resolveBookingBusinessTimeZone } from "./noop-DMFt3KdC.mjs";
|
|
6
|
+
import { Jt as formatEventPriceAmount, Rt as CardListContentPart, Yt as formatEventPriceDisplay, qt as formatEventPrice } from "./shop.interactive-DBMeM8VD.mjs";
|
|
7
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-BWnUuJce.mjs";
|
|
8
8
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
9
9
|
import "react";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -437,7 +437,7 @@ function scheduleLine(summary, event, now) {
|
|
|
437
437
|
date: "short",
|
|
438
438
|
year: now ? year(value) : "omit"
|
|
439
439
|
});
|
|
440
|
-
const dates = (startsAt, endsAt) => formatDateRange({
|
|
440
|
+
const dates = (startsAt, endsAt, order = "chronological") => formatDateRange({
|
|
441
441
|
kind: "civil",
|
|
442
442
|
value: getLocalScheduleDate(new Date(startsAt), context.timeZone)
|
|
443
443
|
}, {
|
|
@@ -445,6 +445,7 @@ function scheduleLine(summary, event, now) {
|
|
|
445
445
|
value: getLocalScheduleDate(new Date(endsAt), resolveBookingBusinessTimeZone(last.timeZone))
|
|
446
446
|
}, context, {
|
|
447
447
|
date: "short",
|
|
448
|
+
order,
|
|
448
449
|
year: now && year(startsAt) === "omit" && year(endsAt, resolveBookingBusinessTimeZone(last.timeZone)) === "omit" ? "omit" : now ? "numeric" : "omit"
|
|
449
450
|
});
|
|
450
451
|
switch (summary.kind) {
|
|
@@ -458,8 +459,8 @@ function scheduleLine(summary, event, now) {
|
|
|
458
459
|
zone
|
|
459
460
|
}) : date(summary.occurrence.startsAt);
|
|
460
461
|
case "multi-day-span": return dates(summary.occurrence.startsAt, summary.occurrence.endsAt);
|
|
461
|
-
case "fixed-recurring-run": return `${dates(summary.first.startsAt, summary.last.startsAt)} · ${summary.recurrenceLabel}`;
|
|
462
|
-
case "irregular-multi-session-run": return `${dates(summary.first.startsAt, summary.last.startsAt)} · ${summary.sessionCount} dates`;
|
|
462
|
+
case "fixed-recurring-run": return `${dates(summary.first.startsAt, summary.last.startsAt, "session")} · ${summary.recurrenceLabel}`;
|
|
463
|
+
case "irregular-multi-session-run": return `${dates(summary.first.startsAt, summary.last.startsAt, "session")} · ${summary.sessionCount} dates`;
|
|
463
464
|
}
|
|
464
465
|
}
|
|
465
466
|
function offeringAvailability(event) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { r as ThemedButton } from "./ThemedButton-DVBC_pS9.mjs";
|
|
3
|
-
import { Ar as listLookSlot } from "./wizardSteps-
|
|
4
|
-
import { C as membershipCardListContent, T as passCardListContent, w as membershipClassesLabel } from "./shop.interactive-
|
|
5
|
-
import { r as EventItem, t as CardListCollection } from "./EventItem-
|
|
3
|
+
import { Ar as listLookSlot } from "./wizardSteps-HdyGoIG3.mjs";
|
|
4
|
+
import { C as membershipCardListContent, T as passCardListContent, w as membershipClassesLabel } from "./shop.interactive-DBMeM8VD.mjs";
|
|
5
|
+
import { r as EventItem, t as CardListCollection } from "./EventItem-DnCTygqk.mjs";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region ../blocks/src/system/runtime/nodes/commerce/shared/view.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { l as buildCalendarViewport$1, n as calendarLinks, r as groupItemsByDate } from "./src-1PJxc8KO.mjs";
|
|
3
3
|
import { C as unsafeAsStoragePath, S as unsafeAsStorageBucketName, T as ok$1, d as parseEventSeriesId, i as resolveManagedMediaReference, o as parseCanonicalMediaIdentifier, u as parseEventOfferingId, w as err, y as unsafeAsMediaAssetId } from "./renderableMediaAssetAdmission-DGjBr_e-.mjs";
|
|
4
|
-
import { $t as asDesignEntryId, A as planFlexibleBalanceCreditFirst, At as navLinkOwnsHoverForeground, Bn as expandPalette, Ct as generateInteractiveChildInheritanceCSS, D as getStripeMinimumChargeRequirement, Dt as NAV_LINK_PADDING_X_MAP, E as checkoutCopy, Et as NAV_LINK_PADDING_MAP, F as getBookingLaterInstalments, Fn as unsafeAsOpaqueButtonColourToken, Ft as runtimeBoxBackgroundSchema, Gn as hexColorSchema, Hn as planForegroundHover, Jn as paletteValueKey, Jt as asBlockContentVersionId, Kn as paletteColorsSchema, Kt as normalizeCardRole, L as headerPositioningValues, Ln as surfaceToneFromForegroundToken, Lt as siteChromeBackgroundOverrideOwner, M as repriceBookingCollectionOptions, Mr as formatCurrencyAmount, Mt as navEffectPolicy, N as resolveAvailableBookingCollectionOptions, On as opaqueSurfaceDeclarations, Ot as NAV_LINK_TEXT_SIZE_MAP, P as resolveBookingCollectionOptionFacts, Pn as PUBLIC_BUTTON_ROLES, Qn as backgroundColorStyle, Qt as asDesignBoundaryId, Rn as resolveSurfaceForeground, S as clsx, St as generateBaseInteractiveCSS, Tn as resolveSurface, Tt as NAV_LINK_LETTER_SPACING_MAP, Un as resolveConcreteColorHex, Ut as cardRoleSchema, Wt as cardRoleValues, Xn as requirePaletteColorsFromEntries, Xt as asBoundaryOptionId, Yn as paletteValueKeySchema, Yt as asBlockOrderIndex, Zn as TokenResolver, Zt as asDesignBlockId, _t as brandDisplayModeValues, an as assertNever$1, ar as parseThemeColorToken, bn as requireNonEmptyReadonlyArray, bt as buttonStyleSelectionSchema, dr as contrastRatio, en as asDesignPageId, fn as flushPanelFrame, fr as relativeLuminance, gn as noHeadingDecoration, gt as headerInteractionQuietPalette, hn as makeBoundaryId, hr as rgbToHex, ht as headerInteractionPaletteValues, in as asSiteStyleId, j as isBookingCollectionEquivalentToUpfront, jt as navLinkOwnsUnderline, k as planCheckoutPaymentFlow, kr as getBookingInstalmentPlanIntervalCount, kt as navLinkHoverColorCandidate, mr as hexToRgb, nn as asLayoutVariantKey, nr as rgbColorValue, or as themeColorShadeSteps, pr as featuresFromHex, qn as paletteModeSchema, qt as asAppearancePresetId, rn as asPageFlowPresetId, rr as textColorStyle, sn as defineExactCatalog, tn as asDesignSystemTemplateId, tr as mergeStyles, vn as panelFrame, vt as logoSizePolicyValues, wt as NAV_LINK_BORDER_RADIUS_MAP, xr as surfaceForegroundValue, xt as generateEffectsCSS, yn as plainFrame, yr as surfaceForegroundInputFromResolved, yt as defaultButtonStyleSelectionFor, zt as themeV2RuntimeStyleFieldNames } from "./ThemedButton-DVBC_pS9.mjs";
|
|
5
|
-
import { Ct as
|
|
4
|
+
import { $t as asDesignEntryId, A as planFlexibleBalanceCreditFirst, At as navLinkOwnsHoverForeground, Bn as expandPalette, Ct as generateInteractiveChildInheritanceCSS, D as getStripeMinimumChargeRequirement, Dt as NAV_LINK_PADDING_X_MAP, E as checkoutCopy, Er as runtimeMediaSchema, Et as NAV_LINK_PADDING_MAP, F as getBookingLaterInstalments, Fn as unsafeAsOpaqueButtonColourToken, Ft as runtimeBoxBackgroundSchema, Gn as hexColorSchema, Hn as planForegroundHover, Jn as paletteValueKey, Jt as asBlockContentVersionId, Kn as paletteColorsSchema, Kt as normalizeCardRole, L as headerPositioningValues, Ln as surfaceToneFromForegroundToken, Lt as siteChromeBackgroundOverrideOwner, M as repriceBookingCollectionOptions, Mr as formatCurrencyAmount, Mt as navEffectPolicy, N as resolveAvailableBookingCollectionOptions, On as opaqueSurfaceDeclarations, Ot as NAV_LINK_TEXT_SIZE_MAP, P as resolveBookingCollectionOptionFacts, Pn as PUBLIC_BUTTON_ROLES, Qn as backgroundColorStyle, Qt as asDesignBoundaryId, Rn as resolveSurfaceForeground, S as clsx, St as generateBaseInteractiveCSS, Tn as resolveSurface, Tt as NAV_LINK_LETTER_SPACING_MAP, Un as resolveConcreteColorHex, Ut as cardRoleSchema, Wt as cardRoleValues, Xn as requirePaletteColorsFromEntries, Xt as asBoundaryOptionId, Yn as paletteValueKeySchema, Yt as asBlockOrderIndex, Zn as TokenResolver, Zt as asDesignBlockId, _t as brandDisplayModeValues, an as assertNever$1, ar as parseThemeColorToken, bn as requireNonEmptyReadonlyArray, bt as buttonStyleSelectionSchema, dr as contrastRatio, en as asDesignPageId, fn as flushPanelFrame, fr as relativeLuminance, gn as noHeadingDecoration, gt as headerInteractionQuietPalette, hn as makeBoundaryId, hr as rgbToHex, ht as headerInteractionPaletteValues, in as asSiteStyleId, j as isBookingCollectionEquivalentToUpfront, jt as navLinkOwnsUnderline, k as planCheckoutPaymentFlow, kr as getBookingInstalmentPlanIntervalCount, kt as navLinkHoverColorCandidate, mr as hexToRgb, nn as asLayoutVariantKey, nr as rgbColorValue, or as themeColorShadeSteps, pr as featuresFromHex, qn as paletteModeSchema, qt as asAppearancePresetId, rn as asPageFlowPresetId, rr as textColorStyle, sn as defineExactCatalog, tn as asDesignSystemTemplateId, tr as mergeStyles, vn as panelFrame, vt as logoSizePolicyValues, wt as NAV_LINK_BORDER_RADIUS_MAP, xr as surfaceForegroundValue, xt as generateEffectsCSS, yn as plainFrame, yr as surfaceForegroundInputFromResolved, yt as defaultButtonStyleSelectionFor, zt as themeV2RuntimeStyleFieldNames } from "./ThemedButton-DVBC_pS9.mjs";
|
|
5
|
+
import { Ct as toUtcIsoDateTimeString, G as blockBookingConsentSchema, J as toBookingRequirementConsentField, S as eventCalendarListLayoutValues, St as toScheduledBookingDateTime, Y as blockBookingPaymentTermsSchema, _ as eventCalendarDefaultViewValues, at as formatTime$2, bt as resolveBookingTimeZoneId, ct as resolveBookingDisplayContext, dt as compareLocalScheduleDates, ht as getLocalScheduleDate, it as formatDateTimeRange, mt as getBookingLocalDateKey, n as blockSiteTermsSchema, nt as formatDateRange, ot as formatTimeRange, rt as formatDateTime, st as inferSiteDateLocale, tt as formatDate$2, v as eventCalendarDisplayModeValues, vt as parseUtcIsoDateTimeString, xt as toBookingTimeZone, yt as resolveBookingBusinessTimeZone } from "./noop-DMFt3KdC.mjs";
|
|
6
6
|
import { t as assertNever$2 } from "./src-7cXhT0G_.mjs";
|
|
7
7
|
import { a as getSupabaseUrl, i as getSiteId, n as getCurrentResolveImageUrlContext, r as getMediaAssetIndex } from "./mediaContext-DThoeEBU.mjs";
|
|
8
8
|
import React from "react";
|
|
@@ -224,7 +224,8 @@ function createEventOfferingPageSurfaceSubject(eventOfferingId, input) {
|
|
|
224
224
|
const identity = {
|
|
225
225
|
kind: "eventOffering",
|
|
226
226
|
eventOfferingId,
|
|
227
|
-
catalogueEventSeriesIds: input.catalogueEventSeriesIds
|
|
227
|
+
catalogueEventSeriesIds: input.catalogueEventSeriesIds,
|
|
228
|
+
...input.detailAdmission ? { detailAdmission: input.detailAdmission } : {}
|
|
228
229
|
};
|
|
229
230
|
return input.bookingScope === "whole_series" ? {
|
|
230
231
|
...identity,
|
|
@@ -250,47 +251,50 @@ function parseEventPageSurfaceDestinationMode(value) {
|
|
|
250
251
|
function parseEventPageSurfaceSubject(value) {
|
|
251
252
|
if (!isRecord$7(value)) return err({ kind: "notObject" });
|
|
252
253
|
switch (value.kind) {
|
|
253
|
-
case "eventSeries":
|
|
254
|
-
|
|
255
|
-
if (!eventSeriesId.ok) return err({
|
|
256
|
-
kind: "invalidEventSeriesId",
|
|
257
|
-
error: eventSeriesId.error
|
|
258
|
-
});
|
|
259
|
-
if (value.bookingScope !== "single_occurrence" && value.bookingScope !== "whole_series") return err({
|
|
260
|
-
kind: "invalidEventSeriesBookingScope",
|
|
261
|
-
bookingScope: value.bookingScope
|
|
262
|
-
});
|
|
263
|
-
return ok$1(createEventSeriesPageSurfaceSubject(eventSeriesId.value, value.bookingScope, parseEventPageSurfaceDestinationMode(value.eventDestinationMode)));
|
|
264
|
-
}
|
|
265
|
-
case "eventOffering": {
|
|
266
|
-
const eventOfferingId = parseEventOfferingId(value.eventOfferingId);
|
|
267
|
-
if (!eventOfferingId.ok) return err({
|
|
268
|
-
kind: "invalidEventOfferingId",
|
|
269
|
-
error: eventOfferingId.error
|
|
270
|
-
});
|
|
271
|
-
if (!Array.isArray(value.catalogueEventSeriesIds)) return err({
|
|
272
|
-
kind: "invalidEventOfferingCatalogue",
|
|
273
|
-
catalogue: value.catalogueEventSeriesIds
|
|
274
|
-
});
|
|
275
|
-
if (value.bookingScope !== "single_occurrence" && value.bookingScope !== "whole_series") return err({
|
|
276
|
-
kind: "invalidEventOfferingBookingScope",
|
|
277
|
-
bookingScope: value.bookingScope
|
|
278
|
-
});
|
|
279
|
-
const parsedCatalogueIds = parseEventSeriesIdList(value.catalogueEventSeriesIds);
|
|
280
|
-
if (!parsedCatalogueIds.ok) return parsedCatalogueIds;
|
|
281
|
-
const eventDestinationMode = parseEventPageSurfaceDestinationMode(value.eventDestinationMode);
|
|
282
|
-
return ok$1(createEventOfferingPageSurfaceSubject(eventOfferingId.value, {
|
|
283
|
-
catalogueEventSeriesIds: parsedCatalogueIds.value,
|
|
284
|
-
bookingScope: value.bookingScope,
|
|
285
|
-
...eventDestinationMode ? { eventDestinationMode } : {}
|
|
286
|
-
}));
|
|
287
|
-
}
|
|
254
|
+
case "eventSeries": return parseEventSeriesPageSurfaceSubject(value);
|
|
255
|
+
case "eventOffering": return parseEventOfferingPageSurfaceSubject(value);
|
|
288
256
|
default: return err({
|
|
289
257
|
kind: "unsupportedSubject",
|
|
290
258
|
subjectKind: value.kind
|
|
291
259
|
});
|
|
292
260
|
}
|
|
293
261
|
}
|
|
262
|
+
function parseEventSeriesPageSurfaceSubject(value) {
|
|
263
|
+
const eventSeriesId = parseEventSeriesId(value.eventSeriesId);
|
|
264
|
+
if (!eventSeriesId.ok) return err({
|
|
265
|
+
kind: "invalidEventSeriesId",
|
|
266
|
+
error: eventSeriesId.error
|
|
267
|
+
});
|
|
268
|
+
if (value.bookingScope !== "single_occurrence" && value.bookingScope !== "whole_series") return err({
|
|
269
|
+
kind: "invalidEventSeriesBookingScope",
|
|
270
|
+
bookingScope: value.bookingScope
|
|
271
|
+
});
|
|
272
|
+
return ok$1(createEventSeriesPageSurfaceSubject(eventSeriesId.value, value.bookingScope, parseEventPageSurfaceDestinationMode(value.eventDestinationMode)));
|
|
273
|
+
}
|
|
274
|
+
function parseEventOfferingPageSurfaceSubject(value) {
|
|
275
|
+
const eventOfferingId = parseEventOfferingId(value.eventOfferingId);
|
|
276
|
+
if (!eventOfferingId.ok) return err({
|
|
277
|
+
kind: "invalidEventOfferingId",
|
|
278
|
+
error: eventOfferingId.error
|
|
279
|
+
});
|
|
280
|
+
if (!Array.isArray(value.catalogueEventSeriesIds)) return err({
|
|
281
|
+
kind: "invalidEventOfferingCatalogue",
|
|
282
|
+
catalogue: value.catalogueEventSeriesIds
|
|
283
|
+
});
|
|
284
|
+
if (value.bookingScope !== "single_occurrence" && value.bookingScope !== "whole_series") return err({
|
|
285
|
+
kind: "invalidEventOfferingBookingScope",
|
|
286
|
+
bookingScope: value.bookingScope
|
|
287
|
+
});
|
|
288
|
+
const parsedCatalogueIds = parseEventSeriesIdList(value.catalogueEventSeriesIds);
|
|
289
|
+
if (!parsedCatalogueIds.ok) return parsedCatalogueIds;
|
|
290
|
+
const eventDestinationMode = parseEventPageSurfaceDestinationMode(value.eventDestinationMode);
|
|
291
|
+
return ok$1(createEventOfferingPageSurfaceSubject(eventOfferingId.value, {
|
|
292
|
+
catalogueEventSeriesIds: parsedCatalogueIds.value,
|
|
293
|
+
...value.detailAdmission === "own-page" ? { detailAdmission: "own-page" } : {},
|
|
294
|
+
bookingScope: value.bookingScope,
|
|
295
|
+
...eventDestinationMode ? { eventDestinationMode } : {}
|
|
296
|
+
}));
|
|
297
|
+
}
|
|
294
298
|
function parseEventSeriesIdList(values) {
|
|
295
299
|
const parsed = [];
|
|
296
300
|
for (const value of values) {
|
|
@@ -2214,9 +2218,18 @@ const appearancePresets = [
|
|
|
2214
2218
|
defineArrangementLook("faq-questions-under-title", "faq", "Questions under the title", "default", []),
|
|
2215
2219
|
defineArrangementLook("faq-title-beside-questions", "faq", "Title beside the questions", "two-column", [], { styleFallback: [id$1("faq-questions-under-title")] }),
|
|
2216
2220
|
defineArrangementLook("faq-questions-two-columns", "faq", "Questions in two columns", "question-columns", [], { styleFallback: [id$1("faq-questions-under-title")] }),
|
|
2221
|
+
defineArrangementLook("faq-all-answers-showing", "faq", "All answers showing", "open", [], { styleFallback: [id$1("faq-questions-two-columns")] }),
|
|
2217
2222
|
defineArrangementLook("image-gallery-lead-photo", "image-gallery", "One large photo, then smaller ones", "tiles", [], { styleFallback: [id$1("image-gallery-square-tiles")] }),
|
|
2218
2223
|
defineArrangementLook("image-gallery-captions-under", "image-gallery", "Photos with captions underneath", "tiles", [], { styleFallback: [id$1("image-gallery-arched-captions"), id$1("image-gallery-square-tiles")] }),
|
|
2219
2224
|
defineArrangementLook("cta-centred", "cta-full", "Centred, buttons below", "default", []),
|
|
2225
|
+
defineArrangementLook("cta-title-beside-buttons", "cta-full", "Title beside the buttons", "default", [], { styleFallback: [id$1("cta-centred")] }),
|
|
2226
|
+
defineArrangementLook("cta-figure-beside-offer", "cta-full", "Big figure beside the offer", "figure", [], {
|
|
2227
|
+
whenMissing: [{
|
|
2228
|
+
fact: "figure",
|
|
2229
|
+
look: id$1("cta-centred")
|
|
2230
|
+
}],
|
|
2231
|
+
styleFallback: [id$1("cta-centred")]
|
|
2232
|
+
}),
|
|
2220
2233
|
{
|
|
2221
2234
|
...defineCardListLook("team-members-tall-portraits", "Tall portraits in a row", "cards", [
|
|
2222
2235
|
"media",
|
|
@@ -2300,7 +2313,23 @@ const appearancePresets = [
|
|
|
2300
2313
|
forcedKnobs: { cardMarker: "none" },
|
|
2301
2314
|
knobDefaults: { actionStyle: "link" },
|
|
2302
2315
|
styleFallback: [id$1("feature-cards-index")]
|
|
2303
|
-
})
|
|
2316
|
+
}),
|
|
2317
|
+
{
|
|
2318
|
+
...defineCardListLook("card-list-photos-on-top", "Photos on top, three across", "cards", [
|
|
2319
|
+
"media",
|
|
2320
|
+
"title",
|
|
2321
|
+
"text",
|
|
2322
|
+
"facts",
|
|
2323
|
+
"action"
|
|
2324
|
+
], ["showPhotos"], {
|
|
2325
|
+
knobDefaults: {
|
|
2326
|
+
actionStyle: "link",
|
|
2327
|
+
dates: "summary"
|
|
2328
|
+
},
|
|
2329
|
+
styleFallback: [id$1("feature-cards-cards")]
|
|
2330
|
+
}),
|
|
2331
|
+
blockKinds: ["block.offerings-preview", "block.appointment-services"]
|
|
2332
|
+
}
|
|
2304
2333
|
];
|
|
2305
2334
|
//#endregion
|
|
2306
2335
|
//#region ../theme-core/src/site-styles/blockFlow.ts
|
|
@@ -2469,7 +2498,21 @@ function parseCanonicalRuntimeBackground(content) {
|
|
|
2469
2498
|
};
|
|
2470
2499
|
}
|
|
2471
2500
|
function resolveSectionBackground(source, lookDefault, rhythm, arrangementHeroPhoto) {
|
|
2472
|
-
if (heroPhotoIsContent(source, arrangementHeroPhoto))
|
|
2501
|
+
if (heroPhotoIsContent(source, arrangementHeroPhoto, rhythm !== void 0)) {
|
|
2502
|
+
if (rhythm !== void 0) return rhythmBackground(rhythm);
|
|
2503
|
+
return {
|
|
2504
|
+
kind: "content-media",
|
|
2505
|
+
background: source.background,
|
|
2506
|
+
ground: {
|
|
2507
|
+
type: "color",
|
|
2508
|
+
color: arrangementHeroPhoto?.fallbackToken ?? "background",
|
|
2509
|
+
textColor: source.background.textColor,
|
|
2510
|
+
headingColor: source.background.headingColor,
|
|
2511
|
+
linkColor: source.background.linkColor,
|
|
2512
|
+
supportingColor: source.background.supportingColor
|
|
2513
|
+
}
|
|
2514
|
+
};
|
|
2515
|
+
}
|
|
2473
2516
|
if (source.kind === "page-design-override") return {
|
|
2474
2517
|
kind: "override",
|
|
2475
2518
|
background: source.background
|
|
@@ -2489,7 +2532,31 @@ function resolveSectionBackground(source, lookDefault, rhythm, arrangementHeroPh
|
|
|
2489
2532
|
return rhythmBackground(rhythm);
|
|
2490
2533
|
}
|
|
2491
2534
|
function resolveSectionForeground(background, palette) {
|
|
2492
|
-
return resolveSurfaceForeground(background
|
|
2535
|
+
return resolveSurfaceForeground(sectionForegroundBackground(background, palette), palette, {}, { compositeBase: "background" });
|
|
2536
|
+
}
|
|
2537
|
+
/** Legacy detached photos keep already-legible authored ink and its exact CSS treatment. */
|
|
2538
|
+
function sectionForegroundBackground(resolved, palette) {
|
|
2539
|
+
if (resolved.kind === "base") return null;
|
|
2540
|
+
if (resolved.kind !== "content-media") return resolved.background;
|
|
2541
|
+
const original = resolveSurfaceForeground(resolved.background, palette);
|
|
2542
|
+
const measured = resolveSurfaceForeground(resolved.ground, palette);
|
|
2543
|
+
if (original.kind === "unknown" || measured.kind === "unknown") return resolved.background;
|
|
2544
|
+
return [
|
|
2545
|
+
"text",
|
|
2546
|
+
"heading",
|
|
2547
|
+
"link",
|
|
2548
|
+
"supporting"
|
|
2549
|
+
].every((role) => original.roles[role] === measured.roles[role]) ? resolved.background : resolved.ground;
|
|
2550
|
+
}
|
|
2551
|
+
/** One photo-placement decision for legacy and arrangement hero renderers. */
|
|
2552
|
+
function heroPhotoPaintsGround(variant) {
|
|
2553
|
+
return ![
|
|
2554
|
+
"split",
|
|
2555
|
+
"splitReverse",
|
|
2556
|
+
"headline-row",
|
|
2557
|
+
"copy-over-gallery",
|
|
2558
|
+
"page-head"
|
|
2559
|
+
].includes(variant ?? "classic");
|
|
2493
2560
|
}
|
|
2494
2561
|
function mergeLookForegroundWithAuthoredMedia(lookDefault, authored) {
|
|
2495
2562
|
const paintsBand = lookDefault.type === "color" || lookDefault.type === "gradient";
|
|
@@ -2509,8 +2576,8 @@ function mergeLookForegroundWithAuthoredMedia(lookDefault, authored) {
|
|
|
2509
2576
|
function readRecord(value) {
|
|
2510
2577
|
return typeof value === "object" && value !== null && !Array.isArray(value) ? value : null;
|
|
2511
2578
|
}
|
|
2512
|
-
function heroPhotoIsContent(source, photo) {
|
|
2513
|
-
return photo !== void 0 && !photo.paintsGround && source.kind === "block-authored" && source.background.type === "image";
|
|
2579
|
+
function heroPhotoIsContent(source, photo, hasArrangementGround) {
|
|
2580
|
+
return photo !== void 0 && !photo.paintsGround && source.kind === "block-authored" && source.background.type === "image" && (hasArrangementGround || !source.background.overlay);
|
|
2514
2581
|
}
|
|
2515
2582
|
function isAuthoredMedia(source) {
|
|
2516
2583
|
return source.kind === "block-authored" && (source.background.type === "image" || source.background.type === "video");
|
|
@@ -2540,9 +2607,10 @@ const solidGrounds = {
|
|
|
2540
2607
|
};
|
|
2541
2608
|
function deriveSectionGround(resolved, palette) {
|
|
2542
2609
|
if (resolved.kind === "base") return "light";
|
|
2543
|
-
const
|
|
2610
|
+
const background = resolved.kind === "content-media" ? resolved.ground : resolved.background;
|
|
2611
|
+
const solid = solidSectionGround(background);
|
|
2544
2612
|
if (solid) return solid;
|
|
2545
|
-
return (scrimTone(sectionScrimSamples(
|
|
2613
|
+
return (scrimTone(sectionScrimSamples(background, palette)) ?? sectionForegroundTone(resolved, palette)) === "dark" ? "deep" : "light";
|
|
2546
2614
|
}
|
|
2547
2615
|
function solidSectionGround(background) {
|
|
2548
2616
|
if (background.type !== "color") return null;
|
|
@@ -8597,6 +8665,11 @@ const folioLooks = {
|
|
|
8597
8665
|
itemRoles: { items: "card" },
|
|
8598
8666
|
roleMap: folioRoles
|
|
8599
8667
|
},
|
|
8668
|
+
{
|
|
8669
|
+
id: id("faq-all-answers-showing"),
|
|
8670
|
+
treatment: "faq-open",
|
|
8671
|
+
roleMap: folioRoles
|
|
8672
|
+
},
|
|
8600
8673
|
{
|
|
8601
8674
|
id: id("image-gallery-square-tiles"),
|
|
8602
8675
|
treatment: "gallery-tiles",
|
|
@@ -8616,6 +8689,21 @@ const folioLooks = {
|
|
|
8616
8689
|
id: id("cta-centred"),
|
|
8617
8690
|
treatment: "cta-centred",
|
|
8618
8691
|
roleMap: folioRoles
|
|
8692
|
+
},
|
|
8693
|
+
{
|
|
8694
|
+
id: id("cta-title-beside-buttons"),
|
|
8695
|
+
treatment: "cta-beside",
|
|
8696
|
+
roleMap: folioRoles
|
|
8697
|
+
},
|
|
8698
|
+
{
|
|
8699
|
+
id: id("cta-figure-beside-offer"),
|
|
8700
|
+
treatment: "cta-figure",
|
|
8701
|
+
roleMap: folioRoles
|
|
8702
|
+
},
|
|
8703
|
+
{
|
|
8704
|
+
id: id("card-list-photos-on-top"),
|
|
8705
|
+
treatment: "photos-on-top",
|
|
8706
|
+
roleMap: folioRoles
|
|
8619
8707
|
}
|
|
8620
8708
|
]
|
|
8621
8709
|
};
|
|
@@ -8905,6 +8993,11 @@ const fulcrumLooks = {
|
|
|
8905
8993
|
treatment: "faq-columns",
|
|
8906
8994
|
roleMap: fulcrumRoles
|
|
8907
8995
|
},
|
|
8996
|
+
{
|
|
8997
|
+
id: id("faq-all-answers-showing"),
|
|
8998
|
+
treatment: "faq-open",
|
|
8999
|
+
roleMap: fulcrumRoles
|
|
9000
|
+
},
|
|
8908
9001
|
{
|
|
8909
9002
|
id: id("image-gallery-square-tiles"),
|
|
8910
9003
|
treatment: "gallery-tiles",
|
|
@@ -8924,6 +9017,21 @@ const fulcrumLooks = {
|
|
|
8924
9017
|
id: id("cta-centred"),
|
|
8925
9018
|
treatment: "cta-centred",
|
|
8926
9019
|
roleMap: fulcrumRoles
|
|
9020
|
+
},
|
|
9021
|
+
{
|
|
9022
|
+
id: id("cta-title-beside-buttons"),
|
|
9023
|
+
treatment: "cta-beside",
|
|
9024
|
+
roleMap: fulcrumRoles
|
|
9025
|
+
},
|
|
9026
|
+
{
|
|
9027
|
+
id: id("cta-figure-beside-offer"),
|
|
9028
|
+
treatment: "cta-figure",
|
|
9029
|
+
roleMap: fulcrumRoles
|
|
9030
|
+
},
|
|
9031
|
+
{
|
|
9032
|
+
id: id("card-list-photos-on-top"),
|
|
9033
|
+
treatment: "photos-on-top",
|
|
9034
|
+
roleMap: fulcrumRoles
|
|
8927
9035
|
}
|
|
8928
9036
|
]
|
|
8929
9037
|
};
|
|
@@ -9129,6 +9237,11 @@ const posterOffers = [
|
|
|
9129
9237
|
treatment: "faq-columns",
|
|
9130
9238
|
roleMap: posterRoles
|
|
9131
9239
|
},
|
|
9240
|
+
{
|
|
9241
|
+
id: id("faq-all-answers-showing"),
|
|
9242
|
+
treatment: "faq-open",
|
|
9243
|
+
roleMap: posterRoles
|
|
9244
|
+
},
|
|
9132
9245
|
{
|
|
9133
9246
|
id: id("image-gallery-square-tiles"),
|
|
9134
9247
|
treatment: "gallery-tiles",
|
|
@@ -9148,6 +9261,21 @@ const posterOffers = [
|
|
|
9148
9261
|
id: id("cta-centred"),
|
|
9149
9262
|
treatment: "cta-centred",
|
|
9150
9263
|
roleMap: posterRoles
|
|
9264
|
+
},
|
|
9265
|
+
{
|
|
9266
|
+
id: id("cta-title-beside-buttons"),
|
|
9267
|
+
treatment: "cta-beside",
|
|
9268
|
+
roleMap: posterRoles
|
|
9269
|
+
},
|
|
9270
|
+
{
|
|
9271
|
+
id: id("cta-figure-beside-offer"),
|
|
9272
|
+
treatment: "cta-figure",
|
|
9273
|
+
roleMap: posterRoles
|
|
9274
|
+
},
|
|
9275
|
+
{
|
|
9276
|
+
id: id("card-list-photos-on-top"),
|
|
9277
|
+
treatment: "photos-on-top",
|
|
9278
|
+
roleMap: posterRoles
|
|
9151
9279
|
}
|
|
9152
9280
|
];
|
|
9153
9281
|
const posterLooks = {
|
|
@@ -9564,6 +9692,11 @@ const lanternLooks = {
|
|
|
9564
9692
|
itemRoles: { items: "card" },
|
|
9565
9693
|
roleMap: lanternRoles
|
|
9566
9694
|
},
|
|
9695
|
+
{
|
|
9696
|
+
id: id("faq-all-answers-showing"),
|
|
9697
|
+
treatment: "faq-open",
|
|
9698
|
+
roleMap: lanternRoles
|
|
9699
|
+
},
|
|
9567
9700
|
{
|
|
9568
9701
|
id: id("image-gallery-lead-photo"),
|
|
9569
9702
|
treatment: "gallery-lead",
|
|
@@ -9573,6 +9706,21 @@ const lanternLooks = {
|
|
|
9573
9706
|
id: id("cta-centred"),
|
|
9574
9707
|
treatment: "cta-centred",
|
|
9575
9708
|
roleMap: lanternRoles
|
|
9709
|
+
},
|
|
9710
|
+
{
|
|
9711
|
+
id: id("cta-title-beside-buttons"),
|
|
9712
|
+
treatment: "cta-beside",
|
|
9713
|
+
roleMap: lanternRoles
|
|
9714
|
+
},
|
|
9715
|
+
{
|
|
9716
|
+
id: id("cta-figure-beside-offer"),
|
|
9717
|
+
treatment: "cta-figure",
|
|
9718
|
+
roleMap: lanternRoles
|
|
9719
|
+
},
|
|
9720
|
+
{
|
|
9721
|
+
id: id("card-list-photos-on-top"),
|
|
9722
|
+
treatment: "photos-on-top",
|
|
9723
|
+
roleMap: lanternRoles
|
|
9576
9724
|
}
|
|
9577
9725
|
]
|
|
9578
9726
|
};
|
|
@@ -9837,6 +9985,11 @@ const measureLooks = {
|
|
|
9837
9985
|
treatment: "faq-columns",
|
|
9838
9986
|
roleMap: measureRoles
|
|
9839
9987
|
},
|
|
9988
|
+
{
|
|
9989
|
+
id: id("faq-all-answers-showing"),
|
|
9990
|
+
treatment: "faq-open",
|
|
9991
|
+
roleMap: measureRoles
|
|
9992
|
+
},
|
|
9840
9993
|
{
|
|
9841
9994
|
id: id("image-gallery-square-tiles"),
|
|
9842
9995
|
treatment: "gallery-tiles",
|
|
@@ -9856,6 +10009,21 @@ const measureLooks = {
|
|
|
9856
10009
|
id: id("cta-centred"),
|
|
9857
10010
|
treatment: "cta-centred",
|
|
9858
10011
|
roleMap: measureRoles
|
|
10012
|
+
},
|
|
10013
|
+
{
|
|
10014
|
+
id: id("cta-title-beside-buttons"),
|
|
10015
|
+
treatment: "cta-beside",
|
|
10016
|
+
roleMap: measureRoles
|
|
10017
|
+
},
|
|
10018
|
+
{
|
|
10019
|
+
id: id("cta-figure-beside-offer"),
|
|
10020
|
+
treatment: "cta-figure",
|
|
10021
|
+
roleMap: measureRoles
|
|
10022
|
+
},
|
|
10023
|
+
{
|
|
10024
|
+
id: id("card-list-photos-on-top"),
|
|
10025
|
+
treatment: "photos-on-top",
|
|
10026
|
+
roleMap: measureRoles
|
|
9859
10027
|
}
|
|
9860
10028
|
]
|
|
9861
10029
|
};
|
|
@@ -10829,8 +10997,10 @@ function arrangementManifestFromVariants(manifest) {
|
|
|
10829
10997
|
lookOnlyKeys: manifest.variantMeaning?.lookOnlyKeys
|
|
10830
10998
|
};
|
|
10831
10999
|
}
|
|
11000
|
+
/** A Look-only arrangement is never a default: a block whose only variants are Look-only keeps its plain layout. */
|
|
10832
11001
|
function manifestDefaultArrangement(manifest) {
|
|
10833
|
-
const
|
|
11002
|
+
const defaults = manifest.keys.filter((key) => !manifest.lookOnlyKeys?.includes(key));
|
|
11003
|
+
const key = manifest.defaultKey !== null && defaults.includes(manifest.defaultKey) ? manifest.defaultKey : defaults[0];
|
|
10834
11004
|
return key === void 0 ? null : asLayoutVariantKey(key);
|
|
10835
11005
|
}
|
|
10836
11006
|
/** A declared secondary axis shares the arrangement rule, without rewriting content. */
|
|
@@ -12379,6 +12549,7 @@ const blockBookingPaymentTermsAvailabilitySchema = z.union([z.object({
|
|
|
12379
12549
|
reason: z.literal("online_payment_configured_before_launch")
|
|
12380
12550
|
})]);
|
|
12381
12551
|
const bookingServiceSchema = z.object({
|
|
12552
|
+
image: runtimeMediaSchema.nullable().optional(),
|
|
12382
12553
|
location: z.object({ mode: z.enum([
|
|
12383
12554
|
"online",
|
|
12384
12555
|
"in_person",
|
|
@@ -16810,4 +16981,4 @@ function registrationStepLabel(step, context) {
|
|
|
16810
16981
|
}
|
|
16811
16982
|
}
|
|
16812
16983
|
//#endregion
|
|
16813
|
-
export { getSlidingScaleForEvent as $, resolveSelectedAppointmentConsent as $n, buildTextContrastShadow as $r, resolveMediaNodeResponsiveImage as $t, normalizeEventRegistrationMaxTickets as A,
|
|
16984
|
+
export { getSlidingScaleForEvent as $, resolveSelectedAppointmentConsent as $n, buildTextContrastShadow as $r, resolveMediaNodeResponsiveImage as $t, normalizeEventRegistrationMaxTickets as A, resolveBookingSignupOffer as Ai, bookingFormInteractiveIslandPropsCodec as An, listLookSlot as Ar, normalizeTicketSelectionLines as At, paymentChoicePrice as B, publicEventPricingCurrency as Bi, getShopSuccessCopy as Bn, arrangementManifestFromVariants as Br, browserReadAuthoritySchema as Bt, resolveRegistrationAdmission as C, isRecord$3 as Ci, getEventAvailability as Cn, resolveEventRegistrationScopedEvents as Cr, formatPrice as Ct, visitorHoldsOwnPlace as D, resolveWholeSeriesBookingPhase as Di, selectEventCapacitySource as Dn, isDecodeSuccess as Dr, getTicketSelectionTotal as Dt, settledRemainingPlaces as E, orderedLiveRunSessions as Ei, isEventFull as En, defineProgressiveBlockRuntime as Er, getTicketLineQuantity as Et, toInternalPaymentSelection as F, parseMailchimpInterestId as Fi, formatBookingSubmissionPreparationError as Fn, headerLeafTextColor as Fr, toWholeSeriesRegistrationEvents as Ft, resolveRouteRequiresPayment as G, resolvePricingOptionsPriceDisplay as Gi, prepareBookingSubmission as Gn, requireCuratedSiteStyle as Gr, MediaPlaceholder as Gt, resolveDiscountContext as H, publicEventPricingStrategy as Hi, normalizeBookingFormConfig as Hn, resolveEffectiveArrangement as Hr, getBlockApiReadStage as Ht, calculateEventRegistrationPreviewTotal as I, parseNewsletterListId as Ii, getBookingRedirectStateFromLocation as In, transparentHeaderForegroundInput as Ir, placesLeftLabel as It, createRegistrationDraftData as J, resolveBookingSiteId as Jn, getGradientPreset as Jr, renderAudio as Jt, toRegistrationRequestSubject as K, assertNever as Ki, resolveAppointmentCheckoutVerificationState as Kn, compiledRuntimeStyleFieldNames as Kr, computeMediaTransformStyle as Kt, buildBookingPaymentSelectionViewModel as L, formatBookingPriceDisplay as Li, getBookingServiceSlidingScale as Ln, readOpeningForegroundProjection as Lr, registrationDisplaySchema as Lt, resolveHeadlessEventRegistrationStatus as M, parseMailingListProviderScope as Mi, readOverrideServiceCategories as Mn, resolvedItemSurfaceProps as Mr, getRegistrationStartAt as Mt, resolveHeadlessEventRegistrationView as N, parseBrevoListId as Ni, deriveBookingFormViewState as Nn, effectiveHeaderNavLinkStyle as Nr, toRegistrationEvents as Nt, deriveEventRegistrationSteps as O, resolveWholeSeriesRunLifecycle as Oi, selectMostOpenCapacitySource as On, listItemPresentation as Or, getTicketTypeLineMax as Ot, toHeadlessPaymentSelection as P, parseMailchimpAudienceId as Pi, formatBookingCentsAsCurrencyInput as Pn, headerForegroundCandidates as Pr, toWholeSeriesRegistrationEvent as Pt, getRegistrationOccurrenceId as Q, projectSelectedAppointmentConsentIntoForm as Qn, footerForegroundCandidates as Qr, resolveImageUrlWithContext as Qt, buildReviewedBookingPaymentViewModel as R, formatEventPricing as Ri, getBookingSuccessCopy as Rn, mergeHeaderNavTypographyPreference as Rr, resolveRegistrationDisplay as Rt, resolveGuestNextStepCheck as S, parseAspectRatioValue as Si, formatTotalCapacity as Sn, normalizeEventRegistrationPageSurfaceSubject as Sr, withOccurrenceTitle as St, resolveRegistrationTicketContinuation as T, nextLiveRunSessionStartMs as Ti, getRemainingPlaces as Tn, defineClientOwnedBlockRuntime as Tr, getSingleSelectedPricingOptionId as Tt, resolveEventRequiresPayment as U, publicEventPricingType as Ui, normalizeBookingServices as Un, resolveModeArrangement as Ur, RichText as Ut, findPreSelectedEvent as V, publicEventPricingDisplay as Vi, isBookingServiceSlidingAmountInRange as Vn, readStoredMode as Vr, createHostedBlockApiConfig as Vt, resolveRegistrationTarget as W, resolveExactOrFreePriceDisplay as Wi, parseBookingCurrencyInputToCents as Wn, resolvePublishedLook as Wr, ImagePresets as Wt, formatCentsAsCurrencyInput as X, selectedBookingCollectionOptionKind as Xn, deriveSiteStyleBlockPolicy as Xr, resolveImageSourceSetWithContext as Xt, invitationSubmission as Y, resolveDefaultBookingServiceId as Yn, parseGradientPresetId as Yr, renderVideo as Yt, getEligibilityFlowFlags as Z, toSelectedCollectionOptionKind as Zn, generateFooterCss as Zr, resolveImageUrl as Zt, shouldPromptForLogin as _, defineBlockDesignMetadata as _i, resolveRuntimeEventDestination as _n, resolveDateRuntimeContext as _r, getPortalSubjectEmail as _t, registrationPresentation as a, headerRootPaint as ai, eventDateOptions as an, eventButtonVariantSchema as ar, resolveFinishedPresentation as at, planRegistrationDetailsCheck as b, cardListKnobBlocks as bi, formatEventRemainingPlaces as bn, defineInteractiveIslandMetaKeys as br, occurrenceTitleOverride as bt, registrationStepLabelContext as c, sectionFactsForContent as ci, formatDate$1 as cn, eventLayoutSchema as cr, findSelectedTicketType as ct, decideEventChoice as d, transitionCatalogueEntries as di, formatEventHourLabel as dn, registrationButtonVariantSchema as dr, formatDate as dt, generateNavLinkCSS as ei, resolvePublicMediaUrl as en, BOOKING_FORM_DATA_RESERVED_KEYS as er, getSlidingScaleSelectionMessage as et, getDeclinedPass as f, deriveSectionGround as fi, formatEventNextDateFact as fn, weekStartSchema as fr, formatEventDateTime as ft, decideEventRegistrationPayment as g, sectionForegroundBackground as gi, resolveEventTimeZone as gn, readRuntimeNow as gr, getImplicitSingleTicketType as gt, buildEventRegistrationPaymentOptionsViewModel as h, resolveSectionBackground as hi, groupEventsByDate as hn, isBlockButtonRole as hr, formatTime as ht, registrationPaymentRoute as i, resolveLookSlotSurfaces as ii, eventDateLocale as in, columnOptionSchema as ir, confirmationPaymentRows as it, resolveEventRegistrationSubmitPlan as j, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as ji, buildBookingFormInteractiveIslandProps as jn, lookListPresentationSchemaShape as jr, setTicketLineQuantity as jt, isEventRegistrationAvailable as k, parseMailingListRuntimeContext as ki, groupPublicEventsByRun as kn, listLookControl as kr, hasValidPricingOptionSelection as kt, areEventRegistrationPaymentSelectionsEqual as l, boundaryRuntimeMetricsForDecorativeTransition as li, formatEventCompactDateRail as ln, filterAutoShowSchema as lr, formatBookingScheduleSummary as lt, registrationFlowReducer as m, parseCanonicalRuntimeBackground as mi, formatTime$1 as mn, blockButtonRoleSchema as mr, formatRegistrationSchedule as mt, getEventSelectionMode as n, arrangementSlotNames as ni, buildCalendarViewport as nn, bookingNowSchema as nr, shouldLoadRegistrationOptions as nt, registrationRoute as o, boundaryLayout as oi, eventLocalDateKey as on, eventCalendarDefaultViewSchema as or, ENTITLEMENT_SINGLE_TICKET_TOOLTIP as ot, isRegistrationLocked as p, heroPhotoPaintsGround as pi, formatEventTimeRange as pn, BLOCK_BUTTON_ROLE_OPTIONS as pr, formatPassCreditUsageLabel as pt, beginWaitlistInvitation as q, resolveBookingPaymentStep as qn, gradientToCss as qr, mediaImageHostProps as qt, panelShouldOpen as r, resolveItemSurface as ri, eventCalendarWeekStart as rn, calendarTabViewsSchema as rr, validateFormData as rt, registrationStepLabel as s, composeBoundary as si, formatCalendarTitle as sn, eventCalendarDisplayModeSchema as sr, areEntitlementsDisabledForTicketCount as st, REGISTRATION_STEP_LABELS as t, arrangementLookHooks as ti, sanitizeHref as tn, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as tr, parseCurrencyInputToCents as tt, createInitialRegistrationFlowState as u, anglePolygonCss as ui, formatEventDateParts as un, previewStageSchema as ur, formatBookingWhen as ut, fullyBookedLabel as v, resolveEffectiveKnobs as vi, canJoinEventWaitlist as vn, buildInteractiveIslandProps as vr, getTicketTypeAvailabilityLabel as vt, resolveRegistrationAvailabilityBlocker as w, CANCELLED_SESSION_STATUS as wi, getEventAvailabilityStatus as wn, createZodCodec as wr, canRequestTicketOption as wt, planRegistrationDetailsContinuation as x, itemRole as xi, formatRemainingPlaces as xn, eventRegistrationPageSurfaceSubjectSchema as xr, transformRegistrationOptionsResponse as xt, placeCountCeiling as y, cardListFamilyBlocks as yi, canJoinEventWaitlistOnAnyMode as yn, createInteractiveIslandCodec as yr, getVisibleTicketTypes as yt, paymentChoiceDetails as z, isPublicEventPricingOptionDisplayable as zi, getRegistrationSuccessCopy as zn, readHeaderNavFontSizePreference as zr, shownVenue as zt };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./constants-D8Ya7bO4.mjs";
|
|
2
|
-
import "./route-contract-
|
|
2
|
+
import "./route-contract-DM22uOXM.mjs";
|
|
3
3
|
import { i as resolvePreviewRuntimeSession, t as getPreviewSession } from "./session-BgkrPqu0.mjs";
|
|
4
4
|
import "./refresh-contract-CvmNqZ1Q.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Wi as __commonJSMin, ei as SpinnerNode, n as ThemedButton, ni as checkBrowserStripeKey } from "./ThemedButton-BEOPss9H.mjs";
|
|
3
3
|
import { useEffect, useRef, useState } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../node_modules/.pnpm/@stripe+stripe-js@9.17.0/node_modules/@stripe/stripe-js/dist/pure.js
|