@riverbankcms/sdk 0.158.0 → 0.159.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/README.md +21 -2
- package/dist/_dts/{BlocksIslandsHydrator-BgNBtEai.d.ts → BlocksIslandsHydrator-Cj1i1Yhh.d.ts} +1 -1
- package/dist/_dts/{Page-DpCo8zXD.d.ts → Page-Cgzbv22M.d.ts} +6 -6
- package/dist/_dts/{SdkPreviewMode-Bv2TMscG.d.ts → SdkPreviewMode-BC_FGc6b.d.ts} +2 -2
- package/dist/_dts/{client-B960v2gW.d.ts → client-BOK-YHVJ.d.ts} +23 -1
- package/dist/_dts/{content-types-CN0Wy8V6.d.ts → content-types-CsrYWxq_.d.ts} +2 -2
- package/dist/_dts/{contracts-BFUrby76.d.ts → contracts-ClgMD-9g.d.ts} +4 -4
- package/dist/_dts/{footerPageOutline-CmoqleLS.d.ts → footerPageOutline-C_IDuELl.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-Dkvivc3R.d.ts → generatePageMetadata-B7bhYSWx.d.ts} +5 -2
- package/dist/_dts/{hosted-booking-appearance-BIbit60h.d.ts → hosted-booking-appearance-ChGCQYdQ.d.ts} +15 -7
- package/dist/_dts/{index-Ba6RmuxX.d.ts → index-BZ4fb2zz.d.ts} +3 -3
- package/dist/_dts/{index-DCNu_8it.d.ts → index-CcaG6O13.d.ts} +4 -4
- package/dist/_dts/{index-DfkFWUxt.d.ts → index-Ci1PEk82.d.ts} +1 -1
- package/dist/_dts/{index-DaS_z6ir.d.ts → index-DMOfW1A7.d.ts} +1 -1
- package/dist/_dts/{index-DpgkhY-a.d.ts → index-Dt3XSGzY.d.ts} +2 -2
- package/dist/_dts/{index-DPfI2t5A.d.ts → index-DzUdUaJ-.d.ts} +2 -2
- package/dist/_dts/{loadContent-DvvKF4nB.d.ts → loadContent-C1JI2pG0.d.ts} +7 -7
- package/dist/_dts/{navigation-n-eTVTIQ.d.ts → navigation-BnV_hOZy.d.ts} +20 -19
- package/dist/_dts/{resolvePageContent-D0lGwVD6.d.ts → resolvePageContent-BtRUtrJa.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 +8 -2
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- 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/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/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-BY7PgnDi.d.ts → types--oWXIfyz.d.ts} +7 -7
- package/dist/_dts/{types-BJrRUaY7.d.ts → types-CI9dYWJ8.d.ts} +2 -2
- package/dist/_dts/{types-maEnXL6Z.d.ts → types-CMFIZGUI.d.ts} +3 -3
- package/dist/_dts/{validation-BjuVrMrs.d.ts → validation-Ct-GL0eA.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-WRLS96Ev.mjs → BlocksIslandsHydrator-DKS8Ba30.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-eovghMPa.mjs → BookingMailingListNote-Cg9v6d7Y.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-CIcMQRc1.mjs → CalendarNavigationChevron-BoVCTUXy.mjs} +5 -5
- package/dist/client/{DemoBookingPortalAccess-CdnFgDyQ.mjs → DemoBookingPortalAccess-BxRVCJG3.mjs} +3 -3
- package/dist/client/{EventCalendar.client-Dc-ZLxKo.mjs → EventCalendar.client-BI-kvwXf.mjs} +8 -8
- package/dist/client/{EventCombined.client-C93XqRIv.mjs → EventCombined.client-DIvnoN5l.mjs} +6 -6
- package/dist/client/{EventItem-DnCTygqk.mjs → EventItem-BRMtEaa6.mjs} +3 -3
- package/dist/client/{EventListWeekNavigation-9h97heuQ.mjs → EventListWeekNavigation-B8DzAUDa.mjs} +1 -1
- package/dist/client/{EventListing.client-DFKlQvvs.mjs → EventListing.client-Bo4qzQi0.mjs} +3 -3
- package/dist/client/{EventListing.view-pAuTDyrP.mjs → EventListing.view-D2vemnCx.mjs} +4 -4
- package/dist/client/{EventRegistrationPayment-rgKlBvhP.mjs → EventRegistrationPayment-e5XWtygG.mjs} +120 -88
- package/dist/client/{LeafletStaticMap-3XiWSgy0.mjs → LeafletStaticMap-dlapZ6mi.mjs} +1 -1
- package/dist/client/{Page-BmpeAwID.mjs → Page-Dqpv9Ggi.mjs} +16 -13
- package/dist/client/{StepIndicator-qEq6X5zP.mjs → StepIndicator-BrvKa_8H.mjs} +2 -2
- package/dist/client/{accordion-DeObOasQ.mjs → accordion-ByLpb4Dz.mjs} +1 -1
- package/dist/client/{booking-form.client-DfWeF0lj.mjs → booking-form.client-BLndwxpx.mjs} +9 -9
- package/dist/client/{bookingForm-TnzIBHx2.mjs → bookingForm-CTxTEgHX.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-kkFnbr5Z.mjs → carousel-C8ef0vnT.mjs} +1 -1
- package/dist/client/{cart-BAXNbFux.mjs → cart-BpH6jkUO.mjs} +3 -3
- package/dist/client/{cart.client-BczxUF70.mjs → cart.client-DV78Td13.mjs} +1 -1
- package/dist/client/{checkout-C5NRhPeP.mjs → checkout-BJVb2RpL.mjs} +3 -3
- package/dist/client/{checkout.client-BuDk3Td9.mjs → checkout.client-CqGPXPSm.mjs} +1 -1
- package/dist/client/client.mjs +2 -2
- package/dist/client/{context-CVsgML69.mjs → context-BRgBWthI.mjs} +1 -1
- package/dist/client/{cta-BWnUuJce.mjs → cta-D8ucLsvX.mjs} +1 -1
- package/dist/client/dateFormatting-LeKNQ-iX.mjs +61 -0
- package/dist/client/{demoPortalMagicLink-CUlwvmxf.mjs → demoPortalMagicLink-CjstiFPh.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-Cw8nnFj-.mjs → enhanceHeaderSection-BaQJyI9x.mjs} +2 -2
- package/dist/client/{event-details.client-Bl0E_6Vi.mjs → event-details.client-CYNQYOsP.mjs} +2 -2
- package/dist/client/{event-registration.client-DmfLg_LC.mjs → event-registration.client-DDqSpN36.mjs} +31 -17
- package/dist/client/{eventCalendar-D1Dwb9VA.mjs → eventCalendar-3vQtuC9X.mjs} +4 -4
- package/dist/client/{eventCombined-DfsqY1qR.mjs → eventCombined-CEJFMjqV.mjs} +4 -4
- package/dist/client/{eventDetails-BmugDVoa.mjs → eventDetails-nGh47jef.mjs} +2 -2
- package/dist/client/{eventListing-BPAGJi3C.mjs → eventListing-BL3Ptb83.mjs} +4 -4
- package/dist/client/{eventRegistration-DBlz_x6u.mjs → eventRegistration-DDSO6KB2.mjs} +4 -4
- package/dist/client/{form-DVu3ZMjx.mjs → form-DjNLfy2Z.mjs} +3 -3
- package/dist/client/{form.client-QZUyABIY.mjs → form.client-Cj0By6ot.mjs} +3 -3
- package/dist/client/{form.parts-Bs0F3v08.mjs → form.parts-DyA9C5Hy.mjs} +1 -1
- package/dist/client/{formatDate-BD9D3dgo.mjs → formatDate-CZo0MPTA.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-BQwWW4Yy.mjs → headerSection-JjSq6Mzp.mjs} +2 -2
- package/dist/client/{location-map.client-upKuwABk.mjs → location-map.client-DRN1JePj.mjs} +2 -2
- package/dist/client/{location-map.view-RuBCD10O.mjs → location-map.view-CuCvQdvp.mjs} +2 -2
- package/dist/client/{locationMap-1sCbsk0V.mjs → locationMap-B9srHHzZ.mjs} +2 -2
- package/dist/client/{newsletter-form.client-DBTU3oNv.mjs → newsletter-form.client-C2EgEBP1.mjs} +4 -4
- package/dist/client/{newsletter-form.parts-C9I9JBhe.mjs → newsletter-form.parts-CaldoFmi.mjs} +1 -1
- package/dist/client/{newsletterForm-DTPtTxxG.mjs → newsletterForm-hm7L17LM.mjs} +3 -3
- package/dist/client/{noop-DMFt3KdC.mjs → noop-M8FTSgm2.mjs} +2 -2
- package/dist/client/portal/client.mjs +10 -67
- package/dist/client/{product-detail.client-BX7M5o6p.mjs → product-detail.client-y86uwzEI.mjs} +1 -1
- package/dist/client/{product-list.client-i32QNY4c.mjs → product-list.client-_JBndYZT.mjs} +1 -1
- package/dist/client/{productDetail-DWjE9zm7.mjs → productDetail-D-9fb2cW.mjs} +3 -3
- package/dist/client/{productList-DZH9_brv.mjs → productList-BSRlnwBW.mjs} +3 -3
- package/dist/client/{propsDecoder-CTzHkEkh.mjs → propsDecoder-DhbGL302.mjs} +3 -3
- package/dist/client/{registry.server-vJ5FlscU.mjs → registry.server-BaX0hxf5.mjs} +83 -63
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +4 -4
- package/dist/client/{richText-coerce-DXAmC72p.mjs → richText-coerce-Cny2Ukb6.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CmC7ygin.mjs → routeIslandApiConfig-96er7pIx.mjs} +1 -1
- package/dist/client/{shop-C7eL3B37.mjs → shop-CnIJfdZA.mjs} +3 -3
- package/dist/client/{shop-commerce-D8oRN0QJ.mjs → shop-commerce-CsLwzq5O.mjs} +9 -9
- package/dist/client/{shop-commerce-store-CRnQ4M18.mjs → shop-commerce-store--O8GRBwr.mjs} +1 -1
- package/dist/client/{shop.client-X6d6KVmA.mjs → shop.client-BcaJ-acA.mjs} +11 -10
- package/dist/client/{shop.interactive-DBMeM8VD.mjs → shop.interactive-BxL_bshW.mjs} +37 -3
- package/dist/client/{shopShared-Y182kN_s.mjs → shopShared-VZjPOfCX.mjs} +2 -2
- package/dist/client/{timetableModel-D7PwpaBY.mjs → timetableModel-D09jPdue.mjs} +5 -5
- package/dist/client/{useAvailableSlots-BDV6MHgJ.mjs → useAvailableSlots-pTXuY3jV.mjs} +2 -2
- package/dist/client/{useBookingNowIso-DgJEv3ZY.mjs → useBookingNowIso-D14J-EhJ.mjs} +1 -1
- package/dist/client/{useDiscountApply-BTu9EeT7.mjs → useDiscountApply-o5sIVZ2u.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-BfZxdxI-.mjs → useDiscountCodeUi-DJhFP_rg.mjs} +1 -1
- package/dist/client/{useEventPagination-pnvdHGeQ.mjs → useEventPagination-DMmNf2FP.mjs} +6 -6
- package/dist/client/{view-hJr_L4QC2.mjs → view-BgPql2yH2.mjs} +3 -3
- package/dist/client/{view-BPEa6Okm.mjs → view-D1R3Lk05.mjs} +13 -69
- package/dist/client/{wizardSteps-HdyGoIG3.mjs → wizardSteps-C0TsNqJc.mjs} +102 -37
- package/dist/preview-next/client/{PreviewEditorSidebar-CXRUbqMp.mjs → PreviewEditorSidebar-DADCj_ET.mjs} +67 -67
- package/dist/preview-next/client/{PreviewEditorUI-CxjEV0Fm.mjs → PreviewEditorUI-La40Dmmh.mjs} +3 -3
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BxI12BBS.mjs → SdkPreviewModeRuntime-406Hw9zY.mjs} +130 -130
- package/dist/preview-next/client/{SdkPreviewModeRuntime-XdQSGGj_.mjs → SdkPreviewModeRuntime-CWN44I_B.mjs} +1 -1
- package/dist/preview-next/client/{SiteChromeCustomizeContext-CfRQRwpH.mjs → SiteChromeCustomizeContext-BdwEZoo9.mjs} +111593 -111244
- package/dist/preview-next/client/{previewChromeSurface-CH7hd5n7.mjs → previewChromeSurface-BVUKIYG0.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-C6xEU1LI.mjs → sdk-runtime-Cy9AKPy5.mjs} +1 -1
- package/dist/preview-next/client/{siteStyleAccess-CRXaC2oL.mjs → siteStyleAccess-CFMmoMZb.mjs} +1 -1
- package/dist/preview-next/client/{spinner-BTf1CZmy.mjs → spinner-Bhpzz2vO.mjs} +1 -1
- package/dist/server/{Block.shared-DLoilC2J.mjs → Block.shared-DB6fb1pR.mjs} +4 -4
- package/dist/server/{bindings-C7DKLVx_.mjs → bindings-z2daXp-2.mjs} +1 -1
- package/dist/server/{blocks-jlIm0PWc.mjs → blocks-BaG8Qpaa.mjs} +64 -29
- package/dist/server/{client-CU4wlMLE.mjs → client-Cv-osXoU.mjs} +1 -1
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{generatePageMetadata-CPvssVOp.mjs → generatePageMetadata-DB_lbrZ7.mjs} +28 -2
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-DmQ4BiiQ.mjs → loadContent-BNMDYCm8.mjs} +4 -4
- package/dist/server/{loadPage-BBkDQA57.mjs → loadPage-CjA_F_AF.mjs} +2 -2
- package/dist/server/loadPage-jade28Xh.mjs +2 -0
- package/dist/server/metadata.mjs +2 -2
- package/dist/server/next.mjs +12 -11
- package/dist/server/{overrideResolution-ByeAbLSO.mjs → overrideResolution-CGodrtqi.mjs} +1 -1
- package/dist/server/{overrides-BcA6ZPWf.mjs → overrides-DxRC724a.mjs} +73 -114
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-8T-m7XjB.mjs → prebuild-C6bhjRKT.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Bjya-X9t.mjs → prefetchBlockData-DZ5Fq_-r.mjs} +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-D0ow8PRJ.mjs → resolveBlockData-CbGDakvp.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/{themeAdmission-D2-BnmDO.mjs → themeAdmission-DK2YBNqy.mjs} +8 -6
- package/dist/server/{validation-Cm41pDUB.mjs → validation-BtHE2S_D.mjs} +2 -2
- package/dist/server/{version-Bo9C3McI.mjs → version-CNCdL6id.mjs} +1 -1
- package/package.json +1 -1
- package/dist/server/loadPage-ZrcfjG3X.mjs +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as ProductListClient } from "./product-list.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-DhbGL302.mjs";
|
|
3
|
+
import { t as ProductListClient } from "./product-list.client-_JBndYZT.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-VZjPOfCX.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/productList.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("product-list");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, ProductListClient, "product-list");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { U as publicEventSchema } from "./noop-
|
|
4
|
-
import {
|
|
2
|
+
import { Fr as lookListPresentationSchemaShape, Or as createZodCodec, Pn as bookingFormInteractiveIslandPropsCodec, Tr as eventRegistrationPageSurfaceSubjectSchema, jr as isDecodeSuccess } from "./wizardSteps-C0TsNqJc.mjs";
|
|
3
|
+
import { U as publicEventSchema } from "./noop-M8FTSgm2.mjs";
|
|
4
|
+
import { Ct as eventCombinedInteractiveIslandPropsCodec, G as formInteractiveIslandPropsCodec, Ot as eventCalendarInteractiveIslandPropsCodec, Qt as headerChromeRuntimeContractSchema, R as newsletterFormInteractiveIslandPropsCodec, V as giftingInteractiveIslandPropsCodec, X as eventRegistrationInteractiveIslandPropsCodec, an as publicMembershipProductCollectionSchema, f as productDetailInteractiveIslandPropsCodec, fn as parseWeeklyOpeningHours, g as shopInteractiveIslandPropsCodec, jt as eventListingInteractiveIslandPropsCodec, l as checkoutInteractiveIslandPropsCodec, m as productListInteractiveIslandPropsCodec, on as publicPassProductCollectionSchema, s as cartInteractiveIslandPropsCodec } from "./shop.interactive-BxL_bshW.mjs";
|
|
5
5
|
import { t as eventAutoApplyDiscountPreviewSchema } from "./events-BmqPeeQm.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/event-details/lookPresentation.ts
|
|
@@ -3,27 +3,27 @@ import { d as formatDateKey, h as getWeekCalendarDayTuple, m as getOrderedDayNam
|
|
|
3
3
|
import { T as ok, w as err } from "./renderableMediaAssetAdmission-DGjBr_e-.mjs";
|
|
4
4
|
import { Er as runtimeMediaSchema, Gt as cardVariantRoleValues, Qn as backgroundColorStyle, S as clsx, _ as FileAudioIcon, a as ThemedDownloadLink, b as MinusIcon, c as isSemanticIconId, d as ChevronDownIcon, f as CircleMinusIcon, ft as parseThemeButtonVariantId, g as FileArchiveIcon, i as ThemedButtonLink, jn as resolveThemeColorReferenceValue, l as SpinnerNode, n as ThemedAuthoredButton, nr as rgbColorValue, o as getIconComponent, p as CirclePlusIcon, r as ThemedButton, rr as textColorStyle, s as ICON_PICKER_PRESETS, st as ICON_CONFIG, tr as mergeStyles, u as ArrowDownIcon, v as FileSpreadsheetIcon, x as PlusIcon, y as FileTextIcon } from "./ThemedButton-DVBC_pS9.mjs";
|
|
5
5
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { C as eventCalendarVariantMeaning, Ct as toUtcIsoDateTimeString, D as isEventCalendarListLayout, E as isEventCalendarDisplayMode, F as normalizeEventStaffMemberId, I as normalizeEventSurfacePresets, M as normalizeEventCategoryIds, O as normalizeEventCalendarDisplayMode$1, P as normalizeEventScheduleScope, R as normalizeEventSurfaceScope, T as isEventCalendarDefaultView, W as publicEventsArraySchema, X as RichTextDocSchema, p as calendarWindowPageSchema, tt as formatDate, x as eventCalendarListLayoutOptions, yt as resolveBookingBusinessTimeZone, z as normalizeEventVenueId } from "./noop-
|
|
6
|
+
import { Ai as orderedLiveRunSessions, An as isEventFull, Cn as canJoinEventWaitlistOnAnyMode, Dn as getEventAvailability, Dr as resolveEventRegistrationScopedEvents, Ei as parseAspectRatioValue, Er as normalizeEventRegistrationPageSurfaceSubject, Fn as buildBookingFormInteractiveIslandProps, Ji as resolveExactOrFreePriceDisplay, Kt as RichText, Mr as listItemPresentation, Nn as groupPublicEventsByRun, On as getEventAvailabilityStatus, Pr as listLookSlot, Vi as formatBookingPriceDisplay, Xi as assertNever$1, Xr as compiledRuntimeStyleFieldNames, Yi as resolvePricingOptionsPriceDisplay, _n as formatEventTimeRange, _r as BLOCK_BUTTON_ROLE_OPTIONS, an as buildCalendarViewport, cn as eventDateOptions, fn as formatEventClockLabel, hn as formatEventHourLabel, in as sanitizeHref, ji as resolveWholeSeriesBookingPhase, ki as nextLiveRunSessionStartMs, oi as arrangementSlotNames, pn as formatEventCompactDateRail, rn as resolvePublicMediaUrl, un as formatCalendarTitle, vn as formatTime, xn as resolveRuntimeEventDestination, xr as resolveDateRuntimeContext, yn as groupEventsByDate, yr as isBlockButtonRole } from "./wizardSteps-C0TsNqJc.mjs";
|
|
7
|
+
import { C as eventCalendarVariantMeaning, Ct as toUtcIsoDateTimeString, D as isEventCalendarListLayout, E as isEventCalendarDisplayMode, F as normalizeEventStaffMemberId, I as normalizeEventSurfacePresets, M as normalizeEventCategoryIds, O as normalizeEventCalendarDisplayMode$1, P as normalizeEventScheduleScope, R as normalizeEventSurfaceScope, T as isEventCalendarDefaultView, W as publicEventsArraySchema, X as RichTextDocSchema, p as calendarWindowPageSchema, tt as formatDate, x as eventCalendarListLayoutOptions, yt as resolveBookingBusinessTimeZone, z as normalizeEventVenueId } from "./noop-M8FTSgm2.mjs";
|
|
8
8
|
import { n as selectCategoryView } from "./appointment-service-categories-Cl2pqw-z.mjs";
|
|
9
|
-
import { i as normalizeLocationMapProps, o as toLocationMapHydrationProps, t as LocationMapView } from "./location-map.view-
|
|
10
|
-
import {
|
|
11
|
-
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-
|
|
12
|
-
import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, o as resolveMonthSelectedDay, s as formatEventLocation } from "./CalendarNavigationChevron-
|
|
13
|
-
import { n as CardListItems, r as EventItem } from "./EventItem-
|
|
14
|
-
import { S as asPartialObject, d as resolveCardRoleForBoxStyles, g as DEFAULT_SECTION_SPACING, i as EventCard, n as EmptyState, r as EventCompactRow, s as boxStyleClassNames, t as EventListingFrameView, u as normalizeBoxStylesBorder } from "./EventListing.view-
|
|
9
|
+
import { i as normalizeLocationMapProps, o as toLocationMapHydrationProps, t as LocationMapView } from "./location-map.view-CuCvQdvp.mjs";
|
|
10
|
+
import { At as eventListingBlockRuntime, B as giftingBlockRuntime, Dt as eventCalendarBlockRuntime, F as buildNewsletterFormInteractiveIslandProps, Gt as getContainerClass, H as publicGiftingOffersResponseSchema, I as newsletterBlockSubmissionMessage, Jt as formatEventPrice, Kt as Grid, L as newsletterFormBlockRuntime, Lt as catalogueEventCardProps, N as publicProductsResponseSchema, P as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, Rt as listingEventCardProps, St as eventCombinedBlockRuntime, Tt as buildEventCalendarListingDisplay, U as buildFormInteractiveIslandProps, Ut as MediaNodeServer, W as formBlockRuntime, Wt as getCardOrientation, Xt as formatEventPriceDisplay, Y as eventRegistrationBlockRuntime, _ as shopProductPresentation, a as buildShopInteractiveIslandProps, an as publicMembershipProductCollectionSchema, bt as buildEventCombinedInteractiveIslandProps, c as checkoutBlockRuntime, ct as resolveOfferingsPreviewGroupCta, d as productDetailBlockRuntime, dt as resolveOfferingsRenderInput, h as shopBlockRuntime, i as buildProductListInteractiveIslandProps, in as splitSiteChromePlacementClasses, kt as buildEventListingInteractiveIslandProps, lt as resolveOfferingsPreviewGroups, n as buildCheckoutInteractiveIslandProps, nt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, o as cartBlockRuntime, on as publicPassProductCollectionSchema, ot as normalizeOfferingsPreviewItemLimit, p as productListBlockRuntime, q as buildEventRegistrationInteractiveIslandProps, qt as buildEventListWeek, r as buildProductDetailInteractiveIslandProps, rt as buildOfferingsPreviewListing, st as offeringsListingFor, t as buildCartInteractiveIslandProps, tn as staticHeaderChromeRuntime, un as DEFAULT_MAILING_LIST_TARGETING, ut as resolveOfferingsPreviewRunPath, wt as buildEventCalendarInteractiveIslandProps, xt as buildEventCombinedListingDisplay, yt as occurrenceContextSchema, z as buildGiftingInteractiveIslandProps } from "./shop.interactive-BxL_bshW.mjs";
|
|
11
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-D8ucLsvX.mjs";
|
|
12
|
+
import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, o as resolveMonthSelectedDay, s as formatEventLocation } from "./CalendarNavigationChevron-BoVCTUXy.mjs";
|
|
13
|
+
import { n as CardListItems, r as EventItem } from "./EventItem-BRMtEaa6.mjs";
|
|
14
|
+
import { S as asPartialObject, d as resolveCardRoleForBoxStyles, g as DEFAULT_SECTION_SPACING, i as EventCard, n as EmptyState, r as EventCompactRow, s as boxStyleClassNames, t as EventListingFrameView, u as normalizeBoxStylesBorder } from "./EventListing.view-D2vemnCx.mjs";
|
|
15
15
|
import { t as resolveDedicatedBookingHref } from "./bookingRoute-Bqlyu5Vb.mjs";
|
|
16
|
-
import { a as resolveEventDetailsPresentation, i as derivePreviewRunSchedule, n as eventCardListContent, r as deriveEventScheduleSummary, t as EventDetailsView } from "./view-
|
|
16
|
+
import { a as resolveEventDetailsPresentation, i as derivePreviewRunSchedule, n as eventCardListContent, r as deriveEventScheduleSummary, t as EventDetailsView } from "./view-D1R3Lk05.mjs";
|
|
17
17
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
18
18
|
import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, r as carouselContents, t as CarouselSlideContent, u as resolveSlidesToShowMobile } from "./carousel.shared-DBnWEJzo.mjs";
|
|
19
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
19
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-Cny2Ukb6.mjs";
|
|
20
20
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
21
|
-
import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-
|
|
22
|
-
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-
|
|
23
|
-
import { a as MonthLookView, i as buildWeekBoardViewProps, n as WeekBoardView, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-
|
|
24
|
-
import { i as RegistrationClosedState, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-
|
|
25
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
26
|
-
import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-
|
|
21
|
+
import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-BgPql2yH2.mjs";
|
|
22
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-B8DzAUDa.mjs";
|
|
23
|
+
import { a as MonthLookView, i as buildWeekBoardViewProps, n as WeekBoardView, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-D09jPdue.mjs";
|
|
24
|
+
import { i as RegistrationClosedState, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-BrvKa_8H.mjs";
|
|
25
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-DyA9C5Hy.mjs";
|
|
26
|
+
import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-CaldoFmi.mjs";
|
|
27
27
|
import React, { forwardRef } from "react";
|
|
28
28
|
import { z } from "zod";
|
|
29
29
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1439,6 +1439,7 @@ function flowRepeaterGridItems(items, columns) {
|
|
|
1439
1439
|
}];
|
|
1440
1440
|
}, []);
|
|
1441
1441
|
}
|
|
1442
|
+
/** @internal */
|
|
1442
1443
|
function orderedGridItems(layout) {
|
|
1443
1444
|
return [...layout.placements].sort((a, b) => a.sourceIndex - b.sourceIndex);
|
|
1444
1445
|
}
|
|
@@ -1480,6 +1481,7 @@ function buildRepeaterGridLayout(input) {
|
|
|
1480
1481
|
const overCapacity = maxRows != null && maxRowUsed > maxRows;
|
|
1481
1482
|
return {
|
|
1482
1483
|
placementPolicy: input.placementPolicy,
|
|
1484
|
+
sourceItems: input.items.map((item) => ({ ...item })),
|
|
1483
1485
|
columns,
|
|
1484
1486
|
maxRows,
|
|
1485
1487
|
capacityCells,
|
|
@@ -1518,6 +1520,8 @@ function findFirstAvailableRepeaterGridPlacement(input) {
|
|
|
1518
1520
|
columns
|
|
1519
1521
|
}).size === 0) ?? null;
|
|
1520
1522
|
}
|
|
1523
|
+
//#endregion
|
|
1524
|
+
//#region ../blocks/src/system/layout/repeaterGrid.ts
|
|
1521
1525
|
/** Narrow rendering is a projection only. Never feed these placements into an authoring write. */
|
|
1522
1526
|
function projectRepeaterGridLayout(layout, columns) {
|
|
1523
1527
|
if (isRepeaterGridLayoutInvalid(layout)) return projectRepeaterGridLayoutForRendering(layout, columns);
|
|
@@ -6333,6 +6337,7 @@ const shopBlockDefinition = {
|
|
|
6333
6337
|
featured: { $bind: { from: "content.featured" } },
|
|
6334
6338
|
readAuthority: { $bind: { from: "$root.readAuthority" } },
|
|
6335
6339
|
siteTerms: { $bind: { from: "$root.siteTerms" } },
|
|
6340
|
+
dateContext: { $bind: { from: "$root.dateContext" } },
|
|
6336
6341
|
demoEmailSuppressed: { $bind: {
|
|
6337
6342
|
from: "$root.demoEmailSuppressed",
|
|
6338
6343
|
fallback: false
|
|
@@ -9507,7 +9512,7 @@ function FeaturedOfferingSummary({ item }) {
|
|
|
9507
9512
|
children: [
|
|
9508
9513
|
details.recurrence ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Repeats" }), /* @__PURE__ */ jsx("dd", { children: details.recurrence })] }) : null,
|
|
9509
9514
|
details.sessionCount ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Sessions" }), /* @__PURE__ */ jsx("dd", { children: details.sessionCount })] }) : null,
|
|
9510
|
-
/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Time" }), /* @__PURE__ */ jsx("dd", { children: details.timeRange })] }),
|
|
9515
|
+
details.timeRange ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Time" }), /* @__PURE__ */ jsx("dd", { children: details.timeRange })] }) : null,
|
|
9511
9516
|
details.venue ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Venue" }), /* @__PURE__ */ jsx("dd", { children: details.venue })] }) : null
|
|
9512
9517
|
]
|
|
9513
9518
|
})]
|
|
@@ -9521,7 +9526,7 @@ function featuredSummaryDetails(item) {
|
|
|
9521
9526
|
deliveryMode: item.event.deliveryMode
|
|
9522
9527
|
});
|
|
9523
9528
|
case "run": {
|
|
9524
|
-
const schedule = derivePreviewRunSchedule(item.run
|
|
9529
|
+
const schedule = derivePreviewRunSchedule(item.run);
|
|
9525
9530
|
return schedule.kind === "scheduled" ? formatFeaturedSummary(schedule.summary, {
|
|
9526
9531
|
venue: item.run.representative.venue?.name ?? null,
|
|
9527
9532
|
siteTimeZone: item.run.representative.siteTimeZone,
|
|
@@ -9535,33 +9540,33 @@ function formatFeaturedSummary(summary, place) {
|
|
|
9535
9540
|
switch (summary.kind) {
|
|
9536
9541
|
case "single-occurrence": return detailsFromOccurrences({
|
|
9537
9542
|
first: summary.occurrence,
|
|
9538
|
-
|
|
9543
|
+
end: null,
|
|
9539
9544
|
place
|
|
9540
9545
|
});
|
|
9541
9546
|
case "multi-day-span": return detailsFromOccurrences({
|
|
9542
9547
|
first: summary.occurrence,
|
|
9543
|
-
|
|
9544
|
-
|
|
9545
|
-
|
|
9546
|
-
|
|
9547
|
-
|
|
9548
|
-
first: summary.first,
|
|
9549
|
-
last: summary.last,
|
|
9550
|
-
place,
|
|
9551
|
-
recurrence: summary.recurrenceLabel
|
|
9548
|
+
end: {
|
|
9549
|
+
dateTime: summary.occurrence.endsAt,
|
|
9550
|
+
timeZone: summary.occurrence.timeZone
|
|
9551
|
+
},
|
|
9552
|
+
place
|
|
9552
9553
|
});
|
|
9553
|
-
case "
|
|
9554
|
+
case "scheduled-run": return detailsFromOccurrences({
|
|
9554
9555
|
first: summary.first,
|
|
9555
|
-
|
|
9556
|
+
end: {
|
|
9557
|
+
dateTime: summary.last.startsAt,
|
|
9558
|
+
timeZone: summary.last.timeZone
|
|
9559
|
+
},
|
|
9556
9560
|
place,
|
|
9557
|
-
|
|
9561
|
+
recurrence: summary.authoredSummary ?? void 0,
|
|
9562
|
+
sessionCount: `${summary.sessionCount} date${summary.sessionCount === 1 ? "" : "s"}`
|
|
9558
9563
|
});
|
|
9559
9564
|
default: return assertNever$1(summary, "Unhandled offerings preview schedule summary");
|
|
9560
9565
|
}
|
|
9561
9566
|
}
|
|
9562
9567
|
function detailsFromOccurrences(input) {
|
|
9563
|
-
const { first,
|
|
9564
|
-
const endDateTime =
|
|
9568
|
+
const { first, end, place } = input;
|
|
9569
|
+
const endDateTime = end?.dateTime ?? first.startsAt;
|
|
9565
9570
|
const options = eventDateOptions({
|
|
9566
9571
|
timeZone: first.timeZone,
|
|
9567
9572
|
siteTimeZone: place.siteTimeZone,
|
|
@@ -9571,13 +9576,15 @@ function detailsFromOccurrences(input) {
|
|
|
9571
9576
|
timeZone,
|
|
9572
9577
|
locale: options.locale
|
|
9573
9578
|
});
|
|
9579
|
+
const startDate = summaryDate(first.startsAt, first.timeZone);
|
|
9580
|
+
const endDate = end ? summaryDate(end.dateTime, end.timeZone) : null;
|
|
9574
9581
|
return {
|
|
9575
|
-
startDate
|
|
9582
|
+
startDate,
|
|
9576
9583
|
startDateTime: first.startsAt,
|
|
9577
|
-
endDate:
|
|
9584
|
+
endDate: endDate === startDate ? null : endDate,
|
|
9578
9585
|
endDateTime,
|
|
9579
|
-
timeRange: formatEventTimeRange(first, options),
|
|
9580
|
-
recurrence: input.recurrence ?? null,
|
|
9586
|
+
timeRange: input.recurrence?.clock ? null : formatEventTimeRange(first, options),
|
|
9587
|
+
recurrence: input.recurrence?.text ?? null,
|
|
9581
9588
|
sessionCount: input.sessionCount ?? null,
|
|
9582
9589
|
venue: place.venue
|
|
9583
9590
|
};
|
|
@@ -9627,8 +9634,13 @@ function renderSingleOfferingCard(item, options) {
|
|
|
9627
9634
|
}, item.run.eventSeriesId);
|
|
9628
9635
|
}
|
|
9629
9636
|
}
|
|
9637
|
+
/** The authored clock replaces live time only when it was successfully formatted. */
|
|
9638
|
+
function formatRunScheduleTime(schedule, options) {
|
|
9639
|
+
const authored = schedule.summary.kind === "scheduled-run" ? schedule.summary.authoredSummary : null;
|
|
9640
|
+
return [authored?.text, authored?.clock ? null : formatEventTimeRange(schedule.firstSession, options)].filter(Boolean).join(" · ");
|
|
9641
|
+
}
|
|
9630
9642
|
function WholeSeriesRunCompactRow({ group, path, now }) {
|
|
9631
|
-
const schedule = derivePreviewRunSchedule(group
|
|
9643
|
+
const schedule = derivePreviewRunSchedule(group);
|
|
9632
9644
|
if (schedule.kind === "no-live-sessions") return /* @__PURE__ */ jsx(RunWithoutLiveDates, {
|
|
9633
9645
|
group,
|
|
9634
9646
|
path
|
|
@@ -9640,7 +9652,7 @@ function WholeSeriesRunCompactRow({ group, path, now }) {
|
|
|
9640
9652
|
deliveryMode: group.representative.deliveryMode
|
|
9641
9653
|
});
|
|
9642
9654
|
const dateRail = formatEventCompactDateRail(firstSession.startsAt, options);
|
|
9643
|
-
const timeRange =
|
|
9655
|
+
const timeRange = formatRunScheduleTime(schedule, options);
|
|
9644
9656
|
const price = formatEventPriceDisplay(group.representative.pricing);
|
|
9645
9657
|
const statusLabel = resolveWholeSeriesBookingPhase(group.run, now).kind === "open" ? null : "Registration closed";
|
|
9646
9658
|
return /* @__PURE__ */ jsxs("article", {
|
|
@@ -9714,7 +9726,7 @@ function WholeSeriesRunCompactRow({ group, path, now }) {
|
|
|
9714
9726
|
});
|
|
9715
9727
|
}
|
|
9716
9728
|
function WholeSeriesRunFeatureCard({ group, now, path, buttonVariant, buttonText }) {
|
|
9717
|
-
const schedule = derivePreviewRunSchedule(group
|
|
9729
|
+
const schedule = derivePreviewRunSchedule(group);
|
|
9718
9730
|
if (schedule.kind === "no-live-sessions") return /* @__PURE__ */ jsx(RunWithoutLiveDates, {
|
|
9719
9731
|
group,
|
|
9720
9732
|
path
|
|
@@ -9726,7 +9738,7 @@ function WholeSeriesRunFeatureCard({ group, now, path, buttonVariant, buttonText
|
|
|
9726
9738
|
deliveryMode: group.representative.deliveryMode
|
|
9727
9739
|
});
|
|
9728
9740
|
const formattedDate = formatEventCompactDateRail(firstSession.startsAt, options).label;
|
|
9729
|
-
const timeRange =
|
|
9741
|
+
const timeRange = formatRunScheduleTime(schedule, options);
|
|
9730
9742
|
const price = formatEventPriceDisplay(group.representative.pricing);
|
|
9731
9743
|
const statusLabel = resolveWholeSeriesBookingPhase(group.run, now).kind === "open" ? null : "Registration closed";
|
|
9732
9744
|
const description = group.representative.description;
|
|
@@ -10042,7 +10054,7 @@ function bookingActionContent(input) {
|
|
|
10042
10054
|
default: return assertNever$1(input.booking);
|
|
10043
10055
|
}
|
|
10044
10056
|
}
|
|
10045
|
-
function RecurringSchedule({ schedule, buttonText = "Book", buttonVariant = "primary", showVenue = true, emptyMessage = "Regular schedule details will be added shortly." }) {
|
|
10057
|
+
function RecurringSchedule({ dateContext = resolveDateRuntimeContext(void 0), schedule, buttonText = "Book", buttonVariant = "primary", showVenue = true, emptyMessage = "Regular schedule details will be added shortly." }) {
|
|
10046
10058
|
const projection = schedule ?? {
|
|
10047
10059
|
items: [],
|
|
10048
10060
|
diagnostics: []
|
|
@@ -10052,8 +10064,28 @@ function RecurringSchedule({ schedule, buttonText = "Book", buttonVariant = "pri
|
|
|
10052
10064
|
"data-diagnostic-count": projection.diagnostics.length,
|
|
10053
10065
|
children: emptyMessage
|
|
10054
10066
|
});
|
|
10055
|
-
|
|
10056
|
-
|
|
10067
|
+
return /* @__PURE__ */ jsx("div", {
|
|
10068
|
+
className: "recurring-schedule",
|
|
10069
|
+
"data-diagnostic-count": projection.diagnostics.length,
|
|
10070
|
+
role: "list",
|
|
10071
|
+
children: projection.items.map((item) => /* @__PURE__ */ jsx(RecurringScheduleRow, {
|
|
10072
|
+
item,
|
|
10073
|
+
locale: dateContext.locale,
|
|
10074
|
+
buttonText: buttonText ?? "Book",
|
|
10075
|
+
buttonVariant: buttonVariant ?? "primary",
|
|
10076
|
+
showVenue: showVenue ?? true
|
|
10077
|
+
}, item.seriesId))
|
|
10078
|
+
});
|
|
10079
|
+
}
|
|
10080
|
+
function RecurringScheduleRow({ item, locale, buttonText, buttonVariant, showVenue }) {
|
|
10081
|
+
const startLabel = formatEventClockLabel(item.cadence.startTime, locale);
|
|
10082
|
+
const endLabel = formatEventClockLabel(item.cadence.endTime, locale);
|
|
10083
|
+
const description = `${item.title}, ${item.cadence.weekday} at ${startLabel}`;
|
|
10084
|
+
return /* @__PURE__ */ jsxs("article", {
|
|
10085
|
+
className: "recurring-schedule-row",
|
|
10086
|
+
role: "listitem",
|
|
10087
|
+
"aria-label": description,
|
|
10088
|
+
children: [
|
|
10057
10089
|
/* @__PURE__ */ jsx("p", {
|
|
10058
10090
|
className: "recurring-schedule-day",
|
|
10059
10091
|
children: item.cadence.weekday
|
|
@@ -10063,7 +10095,7 @@ function RecurringSchedule({ schedule, buttonText = "Book", buttonVariant = "pri
|
|
|
10063
10095
|
children: [
|
|
10064
10096
|
/* @__PURE__ */ jsx("time", {
|
|
10065
10097
|
dateTime: item.cadence.startTime,
|
|
10066
|
-
children:
|
|
10098
|
+
children: startLabel
|
|
10067
10099
|
}),
|
|
10068
10100
|
/* @__PURE__ */ jsx("span", {
|
|
10069
10101
|
"aria-hidden": "true",
|
|
@@ -10071,7 +10103,7 @@ function RecurringSchedule({ schedule, buttonText = "Book", buttonVariant = "pri
|
|
|
10071
10103
|
}),
|
|
10072
10104
|
/* @__PURE__ */ jsx("time", {
|
|
10073
10105
|
dateTime: item.cadence.endTime,
|
|
10074
|
-
children:
|
|
10106
|
+
children: endLabel
|
|
10075
10107
|
})
|
|
10076
10108
|
]
|
|
10077
10109
|
}),
|
|
@@ -10089,24 +10121,12 @@ function RecurringSchedule({ schedule, buttonText = "Book", buttonVariant = "pri
|
|
|
10089
10121
|
className: "recurring-schedule-action",
|
|
10090
10122
|
children: bookingActionContent({
|
|
10091
10123
|
booking: item.booking,
|
|
10092
|
-
buttonVariant
|
|
10093
|
-
buttonText
|
|
10094
|
-
accessibleName: `${buttonText
|
|
10124
|
+
buttonVariant,
|
|
10125
|
+
buttonText,
|
|
10126
|
+
accessibleName: `${buttonText} ${description}`
|
|
10095
10127
|
})
|
|
10096
10128
|
})
|
|
10097
|
-
]
|
|
10098
|
-
return /* @__PURE__ */ jsx("article", {
|
|
10099
|
-
className: "recurring-schedule-row",
|
|
10100
|
-
role: "listitem",
|
|
10101
|
-
"aria-label": `${item.title}, ${item.cadence.weekday} at ${item.cadence.startTime}`,
|
|
10102
|
-
children: rowContent
|
|
10103
|
-
});
|
|
10104
|
-
};
|
|
10105
|
-
return /* @__PURE__ */ jsx("div", {
|
|
10106
|
-
className: "recurring-schedule",
|
|
10107
|
-
"data-diagnostic-count": projection.diagnostics.length,
|
|
10108
|
-
role: "list",
|
|
10109
|
-
children: projection.items.map((item) => /* @__PURE__ */ jsx(React.Fragment, { children: renderRow(item) }, item.seriesId))
|
|
10129
|
+
]
|
|
10110
10130
|
});
|
|
10111
10131
|
}
|
|
10112
10132
|
//#endregion
|
|
@@ -11153,4 +11173,4 @@ const serverComponentRegistry = {
|
|
|
11153
11173
|
...buildServerRegistryFromEntries(runtimeBackedBlockServerEntries)
|
|
11154
11174
|
};
|
|
11155
11175
|
//#endregion
|
|
11156
|
-
export { sectionContainer as $, bindingSchema as $t, cardListPresentationBindings as A, coerceInlineTextWithFallback as At, formDataSchema as B, normalizeSelectSource as Bt, eventListingBlockDefinition as C, lookLeadSlotTransform as Ct, cardListSectionAction as D, parseBlockIconValue as Dt, FEATURE_CARD_ICON_TREATMENTS as E, lookSlot as Et, splitPositioningClasses as F, PUBLIC_FILE_FIELD_KINDS as Ft, buildFragmentDataLoaders as G,
|
|
11176
|
+
export { sectionContainer as $, bindingSchema as $t, cardListPresentationBindings as A, coerceInlineTextWithFallback as At, formDataSchema as B, normalizeSelectSource as Bt, eventListingBlockDefinition as C, lookLeadSlotTransform as Ct, cardListSectionAction as D, parseBlockIconValue as Dt, FEATURE_CARD_ICON_TREATMENTS as E, lookSlot as Et, splitPositioningClasses as F, PUBLIC_FILE_FIELD_KINDS as Ft, buildFragmentDataLoaders as G, projectRepeaterGridLayoutForRendering as Gt, formEmbedFragment as H, parseFieldDefinitions as Ht, desktopOnlyDisplay as I, blockCategoryEnum as It, sectionHeaderFields as J, resolveRepeaterGridColumnFieldId as Jt, composeFragments as K, buildRepeaterGridLayout as Kt, mobileOnlyDisplay as L, createSdkSelectField as Lt, normalizeCardListContent as M, parseInlineTextFromUnknown as Mt, composeHeaderSectionWrapperClassName as N, plainTextToInlineText as Nt, cardListKnobFields as O, PUBLIC_DOWNLOAD_MEDIA_TYPES as Ot, markEditableSurfaceForwarding as P, DEFAULT_MEDIA_FIELD_KINDS as Pt, styledContainer as Q, NodeSchema as Qt, normalizeMailingListBlockContent as R, createSiteOptionSelectField as Rt, eventCalendarBlockDefinition as S, lookCarouselRegionTransform as St, FEATURE_CARD_GENERATED_ICON_SIZE_PX as T, lookSkinSlotTransform as Tt, withApiBindings as U, previewCustomizeManifestCurationSchema as Ut, createBlockManifest as V, parseFieldDefinition as Vt, formCopyFragment as W, projectRepeaterGridLayout as Wt, resolveBackgroundColorValue as X, resolveRepeaterGridRowFieldId as Xt, sectionHeaderLayoutNodes as Y, resolveRepeaterGridColumnsForBreakpoint as Yt, styledSection as Z, resolveRepeaterGridSpanFieldId as Zt, checkoutBlockDefinition as _, section as _t, buildLoadedOfferingsPreviewListing as a, eventDisplayFields as an, carousel as at, productListBlockDefinition as b, videoEmbed as bt, accordionItemPartSlots as c, containerStylesField as cn, form as ct, resolveAccordionIconStyle as d, getAnchorClasses as dn, inline as dt, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as en, backgroundFrame as et, Text as f, createButtonGroup as fn, link as ft, giftingBlockDefinition as g, richText as gt, sanitizeNewsletterSignupPublicContent as h, repeat as ht, WeeklySlotAvailabilityView as i, emptyStateField as in, button as it, cardListSectionActionFields as j, inlineTextToPlainText as jt, cardListPhotoNumberFields as k, augmentManifest as kt, accordionLookAttributes as l, sectionStylesField as ln, headerSection as lt, newsletterSignupBlockDefinition as m, props as mt, runtimeBackedBlockModes as n, cardStylingFields as nn, bind as nt, buildAppointmentServicesView as o, layoutField as on, el as ot, SectionNode as p, createButtonVariantField as pn, media as pt, defineFragment as q, parseRepeaterGridInteger as qt, runtimeBackedBlockServerEntries as r, columnsField as rn, bookingForm as rt, HeaderSectionFrame as s, cardStylesField as sn, fileDownload as st, serverComponentRegistry as t, linkSchema as tn, accordionList as tt, accordionIconColorStyle as u, BACKGROUND_POSITION_PRESET_VALUES as un, icon as ut, cartBlockDefinition as v, stack as vt, eventRegistrationBlockDefinition as w, lookQuoteLimitTransform as wt, shopBlockDefinition as x, when as xt, productDetailBlockDefinition as y, text as yt, formBlockDefinition as z, fieldSchema as zt };
|
|
@@ -2,34 +2,34 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import { r as indexRenderableMediaAssets } from "../renderableMediaAssetAdmission-DGjBr_e-.mjs";
|
|
4
4
|
import { Mr as formatCurrencyAmount, S as clsx, st as ICON_CONFIG } from "../ThemedButton-DVBC_pS9.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "../DemoBookingPortalAccess-
|
|
7
|
-
import {
|
|
5
|
+
import { Jt as MediaPlaceholder, Kt as RichText, Qt as renderVideo, Xt as mediaImageHostProps, Yt as computeMediaTransformStyle, Zt as renderAudio, nn as resolveMediaNodeResponsiveImage, qt as ImagePresets } from "../wizardSteps-C0TsNqJc.mjs";
|
|
6
|
+
import { i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "../DemoBookingPortalAccess-BxRVCJG3.mjs";
|
|
7
|
+
import { tn as staticHeaderChromeRuntime } from "../shop.interactive-BxL_bshW.mjs";
|
|
8
8
|
import { t as assertNever } from "../src-7cXhT0G_.mjs";
|
|
9
|
-
import { F as splitPositioningClasses, N as composeHeaderSectionWrapperClassName, P as markEditableSurfaceForwarding, c as accordionItemPartSlots, d as resolveAccordionIconStyle, f as Text, i as WeeklySlotAvailabilityView, l as accordionLookAttributes, n as runtimeBackedBlockModes, r as runtimeBackedBlockServerEntries, s as HeaderSectionFrame, t as serverComponentRegistry, u as accordionIconColorStyle } from "../registry.server-
|
|
10
|
-
import { t as EventRegistrationIslandClient } from "../event-registration.client-
|
|
11
|
-
import { t as ShopClient } from "../shop.client-
|
|
9
|
+
import { F as splitPositioningClasses, N as composeHeaderSectionWrapperClassName, P as markEditableSurfaceForwarding, c as accordionItemPartSlots, d as resolveAccordionIconStyle, f as Text, i as WeeklySlotAvailabilityView, l as accordionLookAttributes, n as runtimeBackedBlockModes, r as runtimeBackedBlockServerEntries, s as HeaderSectionFrame, t as serverComponentRegistry, u as accordionIconColorStyle } from "../registry.server-BaX0hxf5.mjs";
|
|
10
|
+
import { t as EventRegistrationIslandClient } from "../event-registration.client-DDqSpN36.mjs";
|
|
11
|
+
import { t as ShopClient } from "../shop.client-BcaJ-acA.mjs";
|
|
12
12
|
import { t as FeedbackMessage } from "../FeedbackMessage-CSJrAuXH.mjs";
|
|
13
13
|
import { t as CarouselSlideContent } from "../carousel.shared-DBnWEJzo.mjs";
|
|
14
|
-
import { t as coerceRichTextDoc } from "../richText-coerce-
|
|
15
|
-
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-
|
|
16
|
-
import { n as BookingFormNodeClient } from "../booking-form.client-
|
|
17
|
-
import { o as getRuntimeTimeZone } from "../useAvailableSlots-
|
|
14
|
+
import { t as coerceRichTextDoc } from "../richText-coerce-Cny2Ukb6.mjs";
|
|
15
|
+
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-BRgBWthI.mjs";
|
|
16
|
+
import { n as BookingFormNodeClient } from "../booking-form.client-BLndwxpx.mjs";
|
|
17
|
+
import { o as getRuntimeTimeZone } from "../useAvailableSlots-pTXuY3jV.mjs";
|
|
18
18
|
import { t as createLucideIcon } from "../createLucideIcon-CIbxe9em.mjs";
|
|
19
19
|
import { t as CarouselNodeClient } from "../carousel.client-BJGoJVtg.mjs";
|
|
20
|
-
import { t as EventDetailsIslandClient } from "../event-details.client-
|
|
21
|
-
import { t as LocationMapIslandClient } from "../location-map.client-
|
|
22
|
-
import { t as ProductListClient } from "../product-list.client-
|
|
23
|
-
import { t as ProductDetailClient } from "../product-detail.client-
|
|
24
|
-
import { t as CartClient } from "../cart.client-
|
|
25
|
-
import { t as CheckoutClient } from "../checkout.client-
|
|
26
|
-
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-
|
|
27
|
-
import { t as EventListingClient } from "../EventListing.client-
|
|
28
|
-
import { n as EventCombinedIslandClient } from "../EventCombined.client-
|
|
29
|
-
import { t as EventCalendarClient } from "../EventCalendar.client-
|
|
30
|
-
import { t as FormNodeClient } from "../form.client-
|
|
31
|
-
import { t as NewsletterFormClient } from "../newsletter-form.client-
|
|
32
|
-
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-
|
|
20
|
+
import { t as EventDetailsIslandClient } from "../event-details.client-CYNQYOsP.mjs";
|
|
21
|
+
import { t as LocationMapIslandClient } from "../location-map.client-DRN1JePj.mjs";
|
|
22
|
+
import { t as ProductListClient } from "../product-list.client-_JBndYZT.mjs";
|
|
23
|
+
import { t as ProductDetailClient } from "../product-detail.client-y86uwzEI.mjs";
|
|
24
|
+
import { t as CartClient } from "../cart.client-DV78Td13.mjs";
|
|
25
|
+
import { t as CheckoutClient } from "../checkout.client-CqGPXPSm.mjs";
|
|
26
|
+
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-BaQJyI9x.mjs";
|
|
27
|
+
import { t as EventListingClient } from "../EventListing.client-Bo4qzQi0.mjs";
|
|
28
|
+
import { n as EventCombinedIslandClient } from "../EventCombined.client-DIvnoN5l.mjs";
|
|
29
|
+
import { t as EventCalendarClient } from "../EventCalendar.client-BI-kvwXf.mjs";
|
|
30
|
+
import { t as FormNodeClient } from "../form.client-Cj0By6ot.mjs";
|
|
31
|
+
import { t as NewsletterFormClient } from "../newsletter-form.client-C2EgEBP1.mjs";
|
|
32
|
+
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-DKS8Ba30.mjs";
|
|
33
33
|
import * as React$1 from "react";
|
|
34
34
|
import React, { createContext, createElement, startTransition, useContext, useEffect, useMemo, useReducer, useRef } from "react";
|
|
35
35
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, o as parseCanonicalMediaIdentifier, s as parseMediaIdentifier, t as buildRenderableMediaAssetIndex } from "./renderableMediaAssetAdmission-DGjBr_e-.mjs";
|
|
3
3
|
import { Er as runtimeMediaSchema, Tr as persistableMediaSchema, wr as mediaSchema } from "./ThemedButton-DVBC_pS9.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { $ as isRecord, Ct as toUtcIsoDateTimeString } from "./noop-
|
|
6
|
-
import { A as resolveAuthoredLinkHref, B as deriveFieldValidationPlan, C as MISSING_SDK_THEME_ERROR_CODE, D as makeDefaultBlockComponent, E as prefetchBlockData, F as siteFooterManifest, I as siteHeaderManifest, J as resolveSdkFooterMode, L as admitTransportedRenderableManifestContent, M as normalizeRenderStage, N as resolveRouteHrefForStage, O as renderBlock, P as getBlockDefinition, R as compileManifestContentContract, S as resolveSiteCustomBlocks, T as requireSdkTheme, _ as invalidRenderableBlock, a as ThemeScope, b as resolveSdkBlockManifest, c as PageRenderer, d as parseBlocksTheme, f as applyBindingsToContent, g as collectMediaAssetSidecar, h as buildSiteRenderSupport, i as renderWithSdkThemeRuntime, j as isRouteVisibleInStage, k as getDefaultComponentRegistry, l as toBlocksPageRendererDataContext, m as buildRenderablePageOutline, n as planLayoutThemeRuntime, o as EditorPageRenderer, p as BINDING_TRANSFORM_VALUES$1, q as resolveFooterRenderPlan, r as renderWithOverrideOnlyRuntime, s as MissingBlockOverrideError, t as Page, tt as readPublishedBlockPlacement, u as buildThemeRuntime, v as projectRenderablePageOutline, w as MissingSdkThemeError, x as sanitizeSdkRuntimeBlockContent, y as readInvalidBlockAdmission, z as admitLayoutGridForPlan } from "./Page-
|
|
7
|
-
import {
|
|
4
|
+
import { $t as resolveImageSourceSetWithContext$1, Kt as RichText$2, Yt as computeMediaTransformStyle, br as readRuntimeNow, en as resolveImageUrl$1, in as sanitizeHref, tn as resolveImageUrlWithContext$1, xr as resolveDateRuntimeContext } from "./wizardSteps-C0TsNqJc.mjs";
|
|
5
|
+
import { $ as isRecord, Ct as toUtcIsoDateTimeString } from "./noop-M8FTSgm2.mjs";
|
|
6
|
+
import { A as resolveAuthoredLinkHref, B as deriveFieldValidationPlan, C as MISSING_SDK_THEME_ERROR_CODE, D as makeDefaultBlockComponent, E as prefetchBlockData, F as siteFooterManifest, I as siteHeaderManifest, J as resolveSdkFooterMode, L as admitTransportedRenderableManifestContent, M as normalizeRenderStage, N as resolveRouteHrefForStage, O as renderBlock, P as getBlockDefinition, R as compileManifestContentContract, S as resolveSiteCustomBlocks, T as requireSdkTheme, _ as invalidRenderableBlock, a as ThemeScope, b as resolveSdkBlockManifest, c as PageRenderer, d as parseBlocksTheme, f as applyBindingsToContent, g as collectMediaAssetSidecar, h as buildSiteRenderSupport, i as renderWithSdkThemeRuntime, j as isRouteVisibleInStage, k as getDefaultComponentRegistry, l as toBlocksPageRendererDataContext, m as buildRenderablePageOutline, n as planLayoutThemeRuntime, o as EditorPageRenderer, p as BINDING_TRANSFORM_VALUES$1, q as resolveFooterRenderPlan, r as renderWithOverrideOnlyRuntime, s as MissingBlockOverrideError, t as Page, tt as readPublishedBlockPlacement, u as buildThemeRuntime, v as projectRenderablePageOutline, w as MissingSdkThemeError, x as sanitizeSdkRuntimeBlockContent, y as readInvalidBlockAdmission, z as admitLayoutGridForPlan } from "./Page-Dqpv9Ggi.mjs";
|
|
7
|
+
import { Gt as projectRepeaterGridLayoutForRendering$1, Vt as parseFieldDefinition, Wt as projectRepeaterGridLayout$1 } from "./registry.server-BaX0hxf5.mjs";
|
|
8
8
|
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-DThoeEBU.mjs";
|
|
9
9
|
import { n as toBlocksMediaAssets, t as toBlocksImageResolveContextInput } from "./mediaAssets-BOj-Co0B.mjs";
|
|
10
10
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { X as RichTextDocSchema, t as logger } from "./noop-
|
|
2
|
+
import { X as RichTextDocSchema, t as logger } from "./noop-M8FTSgm2.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/nodes/richText-coerce.ts
|
|
4
4
|
function parseRichTextDoc(value) {
|
|
5
5
|
const parsed = RichTextDocSchema.safeParse(value);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Wt as createHostedBlockApiConfig } from "./wizardSteps-C0TsNqJc.mjs";
|
|
3
3
|
//#region src/rendering/islands/enhancers/routeIslandApiConfig.ts
|
|
4
4
|
function buildRouteIslandApiConfig({ apiBaseUrl, portalToken, previewToken, siteId, stage, readAuthority }) {
|
|
5
5
|
if (readAuthority) return createHostedBlockApiConfig({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as ShopClient } from "./shop.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-DhbGL302.mjs";
|
|
3
|
+
import { t as ShopClient } from "./shop.client-BcaJ-acA.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-VZjPOfCX.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/shop.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("shop");
|
|
7
7
|
const enhance = (root, props) => {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DVBC_pS9.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, n as DemoBookingPortalAccess, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "./DemoBookingPortalAccess-
|
|
5
|
-
import { O as buildProductCartItem, b as buildProductDetailDisplay, j as productItemKey, k as deriveCommerceCheckoutState, u as getShopDisplayForItems, x as formatCommercePrice, y as buildProductCardDisplay } from "./shop.interactive-
|
|
3
|
+
import { Kt as RichText } from "./wizardSteps-C0TsNqJc.mjs";
|
|
4
|
+
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, n as DemoBookingPortalAccess, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "./DemoBookingPortalAccess-BxRVCJG3.mjs";
|
|
5
|
+
import { O as buildProductCartItem, b as buildProductDetailDisplay, j as productItemKey, k as deriveCommerceCheckoutState, u as getShopDisplayForItems, x as formatCommercePrice, y as buildProductCardDisplay } from "./shop.interactive-BxL_bshW.mjs";
|
|
6
6
|
import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-7cXhT0G_.mjs";
|
|
7
7
|
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CYj06rX1.mjs";
|
|
8
8
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
|
|
9
|
-
import { a as initialDiscountApplyState, c as checkoutFormForDiscountUiState, d as planUnifiedCheckoutRequest, f as ShopAddFeedback, i as getDiscountApplyFeedback, l as planCartDiscountAvailabilityRequests, m as consumeSearchParam, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, s as aggregateCartDiscountUiState, t as useDiscountApply } from "./useDiscountApply-
|
|
9
|
+
import { a as initialDiscountApplyState, c as checkoutFormForDiscountUiState, d as planUnifiedCheckoutRequest, f as ShopAddFeedback, i as getDiscountApplyFeedback, l as planCartDiscountAvailabilityRequests, m as consumeSearchParam, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, s as aggregateCartDiscountUiState, t as useDiscountApply } from "./useDiscountApply-o5sIVZ2u.mjs";
|
|
10
10
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
11
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
12
|
-
import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-
|
|
13
|
-
import { n as useBlockApi } from "./context-
|
|
14
|
-
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-
|
|
11
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-Cny2Ukb6.mjs";
|
|
12
|
+
import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-BgPql2yH2.mjs";
|
|
13
|
+
import { n as useBlockApi } from "./context-BRgBWthI.mjs";
|
|
14
|
+
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-CjstiFPh.mjs";
|
|
15
15
|
import { t as CarouselNodeClient } from "./carousel.client-BJGoJVtg.mjs";
|
|
16
|
-
import { n as useCommerceCart } from "./shop-commerce-store
|
|
16
|
+
import { n as useCommerceCart } from "./shop-commerce-store--O8GRBwr.mjs";
|
|
17
17
|
import * as React$1 from "react";
|
|
18
18
|
import { useEffect, useState } from "react";
|
|
19
19
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A as parseStoredCommerceCartState, D as buildPassCartItem, E as EMPTY_COMMERCE_CART_STATE, M as reduceCommerceCart } from "./shop.interactive-
|
|
2
|
+
import { A as parseStoredCommerceCartState, D as buildPassCartItem, E as EMPTY_COMMERCE_CART_STATE, M as reduceCommerceCart } from "./shop.interactive-BxL_bshW.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/shop-commerce-store.ts
|
|
5
5
|
const EMPTY_STATE = EMPTY_COMMERCE_CART_STATE;
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { r as ThemedButton } from "./ThemedButton-DVBC_pS9.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
5
|
-
import { S as formatInterval, _ as shopProductPresentation, x as formatCommercePrice } from "./shop.interactive-
|
|
3
|
+
import { Wn as getShopSuccessCopy, Xi as assertNever } from "./wizardSteps-C0TsNqJc.mjs";
|
|
4
|
+
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-BxRVCJG3.mjs";
|
|
5
|
+
import { S as formatInterval, _ as shopProductPresentation, x as formatCommercePrice } from "./shop.interactive-BxL_bshW.mjs";
|
|
6
6
|
import { t as assertNever$1 } from "./src-7cXhT0G_.mjs";
|
|
7
7
|
import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
|
|
8
8
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
9
|
-
import { a as initialDiscountApplyState, f as ShopAddFeedback, h as consumeSearchParams, i as getDiscountApplyFeedback, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, t as useDiscountApply, u as planDirectShopCheckoutRequest } from "./useDiscountApply-
|
|
9
|
+
import { a as initialDiscountApplyState, f as ShopAddFeedback, h as consumeSearchParams, i as getDiscountApplyFeedback, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, t as useDiscountApply, u as planDirectShopCheckoutRequest } from "./useDiscountApply-o5sIVZ2u.mjs";
|
|
10
10
|
import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
|
|
11
11
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
12
12
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
13
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
13
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-DJhFP_rg.mjs";
|
|
14
14
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
15
|
-
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-
|
|
16
|
-
import { n as useBlockApi } from "./context-
|
|
17
|
-
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-
|
|
15
|
+
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-BgPql2yH2.mjs";
|
|
16
|
+
import { n as useBlockApi } from "./context-BRgBWthI.mjs";
|
|
17
|
+
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-CjstiFPh.mjs";
|
|
18
18
|
import { t as CarouselNodeClient } from "./carousel.client-BJGoJVtg.mjs";
|
|
19
|
-
import {
|
|
19
|
+
import { r as formatEntitlementEnd } from "./dateFormatting-LeKNQ-iX.mjs";
|
|
20
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store--O8GRBwr.mjs";
|
|
20
21
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
21
22
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
22
23
|
//#region ../blocks/src/system/runtime/shared/components/ActionRow.tsx
|
|
@@ -538,7 +539,7 @@ function PassesMembershipsController({ render }) {
|
|
|
538
539
|
/* @__PURE__ */ jsx("strong", { children: checkout.duplicateWarning.existingMembership.name }),
|
|
539
540
|
checkout.duplicateWarning.existingMembership.expiresAt ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
540
541
|
" (expires ",
|
|
541
|
-
|
|
542
|
+
formatEntitlementEnd(checkout.duplicateWarning.existingMembership.expiresAt, hydration.dateContext, "long"),
|
|
542
543
|
")"
|
|
543
544
|
] }) : null
|
|
544
545
|
]
|