@riverbankcms/sdk 0.159.0 → 0.160.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 +4 -4
- package/dist/_dts/{BlocksIslandsHydrator-Cj1i1Yhh.d.ts → BlocksIslandsHydrator-CoqeotCL.d.ts} +1 -1
- package/dist/_dts/{Page-Cgzbv22M.d.ts → Page-C0ENVLCF.d.ts} +13 -6
- package/dist/_dts/{SdkPreviewMode-BC_FGc6b.d.ts → SdkPreviewMode-jZK0A49V.d.ts} +54 -126
- package/dist/_dts/{client-BOK-YHVJ.d.ts → client-uMMuPq9V.d.ts} +1 -1
- package/dist/_dts/{content-types-CsrYWxq_.d.ts → content-types-D6nXGqdQ.d.ts} +18 -18
- package/dist/_dts/{contracts-ClgMD-9g.d.ts → contracts-Bnmj1nxu.d.ts} +6 -5
- package/dist/_dts/{footerPageOutline-C_IDuELl.d.ts → footerPageOutline-CeLjFX8b.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-B7bhYSWx.d.ts → generatePageMetadata-nyU8q02J.d.ts} +2 -2
- package/dist/_dts/{index-DzUdUaJ-.d.ts → index-BaaGBY1v.d.ts} +2 -2
- package/dist/_dts/{index-CcaG6O13.d.ts → index-Bg64CkV-.d.ts} +4 -4
- package/dist/_dts/index-Blwl7yl6.d.ts +13 -0
- package/dist/_dts/{index-DMOfW1A7.d.ts → index-C5xslEBn.d.ts} +2 -2
- package/dist/_dts/{index-Dt3XSGzY.d.ts → index-CEaKil7G.d.ts} +2 -2
- package/dist/_dts/{index-BZ4fb2zz.d.ts → index-DahMwisK.d.ts} +3 -3
- package/dist/_dts/index-lkpjIg5i.d.ts +66 -0
- package/dist/_dts/{index-Ci1PEk82.d.ts → index-nVoi_74l.d.ts} +2 -2
- package/dist/_dts/{loadContent-C1JI2pG0.d.ts → loadContent-CYLmzvLq.d.ts} +16 -7
- package/dist/_dts/{resolvePageContent-BtRUtrJa.d.ts → resolvePageContent-DqnxChOs.d.ts} +2 -2
- package/dist/_dts/{constants-DkcKHMX-.d.ts → runtime-BY8DQBbT.d.ts} +10 -16
- package/dist/_dts/{hosted-booking-appearance-ChGCQYdQ.d.ts → schema-D0bNcPWK.d.ts} +6907 -6762
- 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 +12 -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 +6 -6
- 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 +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +10 -28
- 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-CI9dYWJ8.d.ts → types-CFrYuXYP.d.ts} +2 -2
- package/dist/_dts/{navigation-BnV_hOZy.d.ts → types-D8czmbQF.d.ts} +15911 -17318
- package/dist/_dts/{types--oWXIfyz.d.ts → types-DSgmJ15W.d.ts} +7 -7
- package/dist/_dts/{types-CMFIZGUI.d.ts → types-Dm-KW7nj.d.ts} +10 -13
- package/dist/_dts/{validation-Ct-GL0eA.d.ts → validation-Bmb4WnHg.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DKS8Ba30.mjs → BlocksIslandsHydrator-DZRKi6tT.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-Cg9v6d7Y.mjs → BookingMailingListNote-C00sLLdL.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-BoVCTUXy.mjs → CalendarNavigationChevron-CHSi9b3E.mjs} +6 -6
- package/dist/client/{CheckboxChoice-BF9eCNno.mjs → CheckboxChoice-Bhm6RAUL.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-BxRVCJG3.mjs → DemoBookingPortalAccess-CaN-7ui7.mjs} +6 -6
- package/dist/client/{DemoPortalSignInLink-DHxYgkT6.mjs → DemoPortalSignInLink-ClxN5_xZ.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BI-kvwXf.mjs → EventCalendar.client-BncvSa1n.mjs} +10 -9
- package/dist/client/{EventCombined.client-DIvnoN5l.mjs → EventCombined.client-DluBxVVu.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B3XUyNY9.mjs → EventEmbeddedCheckoutStep-BiJrMtfp.mjs} +1 -1
- package/dist/client/{EventItem-BRMtEaa6.mjs → EventItem-CXhnT9pF.mjs} +11 -6
- package/dist/client/{EventListWeekNavigation-B8DzAUDa.mjs → EventListWeekNavigation-V-dtoDlD.mjs} +1 -1
- package/dist/client/{EventListing.client-Bo4qzQi0.mjs → EventListing.client-DPO6SZbx.mjs} +3 -3
- package/dist/client/{EventListing.view-D2vemnCx.mjs → EventListing.view-B-Yi5JZS.mjs} +7 -7
- package/dist/client/{EventRegistrationPayment-e5XWtygG.mjs → EventRegistrationPayment-Dc3Fnlnw.mjs} +77 -96
- package/dist/client/{LeafletStaticMap-dlapZ6mi.mjs → LeafletStaticMap-ClZCCzAm.mjs} +1 -1
- package/dist/client/{Page-Dqpv9Ggi.mjs → Page-7PkzO04N.mjs} +1941 -2069
- package/dist/client/{StepIndicator-BrvKa_8H.mjs → StepIndicator-DiD6euZ8.mjs} +3 -3
- package/dist/client/{TabBarFragment-DvzIV75f.mjs → TabBarFragment-BHd8GN8y.mjs} +1 -1
- package/dist/client/{ThemedButton-DVBC_pS9.mjs → ThemedButton-C22C9cCF.mjs} +174 -93
- package/dist/client/{accordion-ByLpb4Dz.mjs → accordion-2m27DsIk.mjs} +1 -1
- package/dist/client/{booking-form.client-BLndwxpx.mjs → booking-form.client-BddWV5w1.mjs} +12 -12
- package/dist/client/{bookingForm-CTxTEgHX.mjs → bookingForm-bcdXQjmw.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{carousel-C8ef0vnT.mjs → carousel-D7nj9I0y.mjs} +2 -2
- package/dist/client/{carousel.client-BJGoJVtg.mjs → carousel.client-AffDJo_s.mjs} +1 -1
- package/dist/client/{cart-BpH6jkUO.mjs → cart-PN6yCw1H.mjs} +3 -3
- package/dist/client/{cart.client-DV78Td13.mjs → cart.client-D4t1f0cJ.mjs} +1 -1
- package/dist/client/{checkout-BJVb2RpL.mjs → checkout-CsTwXVSb.mjs} +3 -3
- package/dist/client/{checkout.client-CqGPXPSm.mjs → checkout.client-BhQE3zY7.mjs} +1 -1
- package/dist/client/client.mjs +25 -13
- package/dist/client/{context-BRgBWthI.mjs → context-BLAvalAa.mjs} +1 -1
- package/dist/client/{cta-D8ucLsvX.mjs → cta-CUXhX_D7.mjs} +2 -1
- package/dist/client/{dateFormatting-LeKNQ-iX.mjs → dateFormatting-BHIHxNuo.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CjstiFPh.mjs → demoPortalMagicLink-R-awbk_0.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-BaQJyI9x.mjs → enhanceHeaderSection-9Q93uvTo.mjs} +3 -3
- package/dist/client/{event-details.client-CYNQYOsP.mjs → event-details.client-BS1WtG-a.mjs} +2 -2
- package/dist/client/{event-registration.client-DDqSpN36.mjs → event-registration.client-BXndwsET.mjs} +14 -14
- package/dist/client/{eventCalendar-3vQtuC9X.mjs → eventCalendar-HyoOt1Qz.mjs} +4 -4
- package/dist/client/{eventCombined-CEJFMjqV.mjs → eventCombined-sdG5oEaH.mjs} +4 -4
- package/dist/client/{eventDetails-nGh47jef.mjs → eventDetails-FFAknE4w.mjs} +2 -2
- package/dist/client/{eventListing-BL3Ptb83.mjs → eventListing-CGK6urk3.mjs} +4 -4
- package/dist/client/{eventRegistration-DDSO6KB2.mjs → eventRegistration-VhrvCs4l.mjs} +4 -4
- package/dist/client/{form-DjNLfy2Z.mjs → form-C-B5O_ko.mjs} +3 -3
- package/dist/client/{form.client-Cj0By6ot.mjs → form.client-DoZVcl8d.mjs} +5 -5
- package/dist/client/{form.parts-DyA9C5Hy.mjs → form.parts-mttKpgif.mjs} +3 -3
- package/dist/client/{formatDate-CZo0MPTA.mjs → formatDate-xUSCknEO.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-JjSq6Mzp.mjs → headerSection-BHUEXsaI.mjs} +2 -2
- package/dist/client/{location-map.client-DRN1JePj.mjs → location-map.client-Cylb_MHw.mjs} +2 -2
- package/dist/client/{location-map.view-CuCvQdvp.mjs → location-map.view-Cx4Bl7ij.mjs} +69 -6
- package/dist/client/{locationMap-B9srHHzZ.mjs → locationMap-QnKJi-nZ.mjs} +2 -2
- package/dist/client/{newsletter-form.client-C2EgEBP1.mjs → newsletter-form.client-D_n0rftg.mjs} +8 -8
- package/dist/client/{newsletter-form.parts-CaldoFmi.mjs → newsletter-form.parts-DKHye4IE.mjs} +2 -2
- package/dist/client/{newsletterForm-hm7L17LM.mjs → newsletterForm-tEaYelzx.mjs} +3 -3
- package/dist/client/{noop-M8FTSgm2.mjs → noop-B610YKEx.mjs} +10 -3
- package/dist/client/portal/client.mjs +4559 -114
- package/dist/client/{product-detail.client-y86uwzEI.mjs → product-detail.client-DUf5x5Jt.mjs} +1 -1
- package/dist/client/{product-list.client-_JBndYZT.mjs → product-list.client-Cqp1BPTV.mjs} +1 -1
- package/dist/client/{productDetail-D-9fb2cW.mjs → productDetail-B8bBiogP.mjs} +3 -3
- package/dist/client/{productList-BSRlnwBW.mjs → productList-BKN4D-1z.mjs} +3 -3
- package/dist/client/{propsDecoder-DhbGL302.mjs → propsDecoder-2nNZh2Oe.mjs} +3 -3
- package/dist/client/{registry.server-BaX0hxf5.mjs → registry.server-BAm4RPNJ.mjs} +819 -855
- package/dist/client/rendering/client.mjs +27 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +47 -28
- package/dist/client/{richText-coerce-Cny2Ukb6.mjs → richText-coerce-Cv-qomNB.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-96er7pIx.mjs → routeIslandApiConfig-C5u8MbAA.mjs} +1 -1
- package/dist/client/{shop-CnIJfdZA.mjs → shop-DZNC0VKk.mjs} +3 -3
- package/dist/client/{shop-commerce-CsLwzq5O.mjs → shop-commerce-DdX4LSa3.mjs} +12 -12
- package/dist/client/{shop-commerce-store--O8GRBwr.mjs → shop-commerce-store-BJtrZov9.mjs} +1 -1
- package/dist/client/{shop.client-BcaJ-acA.mjs → shop.client-DmDd-igg.mjs} +15 -15
- package/dist/client/{shop.interactive-BxL_bshW.mjs → shop.interactive-5SnnDHz3.mjs} +368 -35
- package/dist/client/{shopShared-VZjPOfCX.mjs → shopShared-CPqUlAh9.mjs} +2 -2
- package/dist/client/{src-7cXhT0G_.mjs → src-VIsPY-kw.mjs} +6 -1
- package/dist/client/timetableModel-C19rcHEw.mjs +960 -0
- package/dist/client/{useAvailableSlots-pTXuY3jV.mjs → useAvailableSlots-BjbJXotk.mjs} +3 -3
- package/dist/client/{useBookingNowIso-D14J-EhJ.mjs → useBookingNowIso-CMgfL7YJ.mjs} +1 -1
- package/dist/client/{useDiscountApply-o5sIVZ2u.mjs → useDiscountApply-KG8jB7WC.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-DJhFP_rg.mjs → useDiscountCodeUi-DK2w_i0a.mjs} +1 -1
- package/dist/client/{useEventPagination-DMmNf2FP.mjs → useEventPagination-DW6MCirb.mjs} +11 -10
- package/dist/client/uuid-BETKW8rS.mjs +12 -0
- package/dist/client/{view-BgPql2yH2.mjs → view-CkUn3Y0Y.mjs} +4 -4
- package/dist/client/{view-D1R3Lk05.mjs → view-CseyBW07.mjs} +6 -5
- package/dist/client/{wizardSteps-C0TsNqJc.mjs → wizardSteps-zgq10lN1.mjs} +162 -30
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-BFlBqSu4.mjs → EventEmbeddedCheckoutStep-lUHBrzHv.mjs} +1 -1
- package/dist/preview-next/client/{PreviewEditorSidebar-DADCj_ET.mjs → PreviewEditorSidebar-DWyUGCAG.mjs} +1281 -171
- package/dist/preview-next/client/{PreviewEditorUI-La40Dmmh.mjs → PreviewEditorUI-Wq0b3Daw.mjs} +52 -79
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CWN44I_B.mjs → SdkPreviewModeRuntime-BtZPcwYV.mjs} +1 -1
- package/dist/preview-next/client/{SdkPreviewModeRuntime-406Hw9zY.mjs → SdkPreviewModeRuntime-wSI_R361.mjs} +856 -2171
- package/dist/preview-next/client/{SiteChromeCustomizeContext-BdwEZoo9.mjs → SiteChromeCustomizeContext-Hc4pYnNe.mjs} +115951 -110090
- package/dist/preview-next/client/{ThemedButton-BEOPss9H.mjs → ThemedButton-DzeycIlD.mjs} +204 -93
- package/dist/preview-next/client/{previewChromeSurface-BVUKIYG0.mjs → previewChromeSurface-Corq4AG7.mjs} +3 -8
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-Cy9AKPy5.mjs → sdk-runtime-CWymRWhK.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-QZkJRHl5.mjs +1359 -0
- package/dist/preview-next/client/{spinner-Bhpzz2vO.mjs → spinner-C4If5Y-O.mjs} +1 -1
- package/dist/preview-next/editor-base.css +62 -0
- package/dist/preview-next/editor-chrome.css +85 -0
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-DM22uOXM.mjs → route-contract-8csADeIT.mjs} +149 -112
- package/dist/server/{Block.shared-DB6fb1pR.mjs → Block.shared-D1_gonwM.mjs} +6 -6
- package/dist/server/{bindings-z2daXp-2.mjs → bindings-CFmJg5lm.mjs} +2 -2
- package/dist/server/{client-Cv-osXoU.mjs → client-DPsi0Dai.mjs} +9 -7
- package/dist/server/config-template-validation.mjs +50 -10
- 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-BNMDYCm8.mjs → loadContent-RMCcuVU_.mjs} +33 -20
- package/dist/server/loadPage-DUPP51C-.mjs +2 -0
- package/dist/server/{loadPage-CjA_F_AF.mjs → loadPage-DhDGzj7t.mjs} +8 -5
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-CGodrtqi.mjs → overrideResolution-OxY5FMuy.mjs} +1 -1
- package/dist/server/{overrides-DxRC724a.mjs → overrides-Bz_A6sB9.mjs} +651 -542
- package/dist/server/page-converter.mjs +8 -10
- package/dist/server/{prebuild-C6bhjRKT.mjs → prebuild-B_1vrSru.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DZ5Fq_-r.mjs → prefetchBlockData-B7ukYXXR.mjs} +841 -887
- package/dist/server/{publicProducts-C3meXS2o.mjs → publicProducts-Djbpc81A.mjs} +166 -129
- package/dist/server/{blocks-BaG8Qpaa.mjs → registry-eFjKtEhF.mjs} +2049 -1451
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-CbGDakvp.mjs → resolveBlockData-DYvEa9c5.mjs} +6 -3
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-Bs735S27.mjs → schema-C3dJ5UkL.mjs} +148 -88
- package/dist/server/server.mjs +3 -3
- package/dist/server/{siteChromeOverlayClearance-BangtD8A.mjs → siteChromeOverlayClearance-DALIAMwo.mjs} +108 -11
- package/dist/server/{src-B935_bzN.mjs → src-C5Mu-z0F.mjs} +268 -189
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-DK2YBNqy.mjs → themeAdmission-ruoyXb_0.mjs} +2 -2
- package/dist/server/{three-pass-converter-CmmchOFC.mjs → three-pass-converter-Chnb1XD-.mjs} +2 -58
- package/dist/server/{validation-BtHE2S_D.mjs → validation-B-Xar8QS.mjs} +22 -63
- package/dist/server/{version-CNCdL6id.mjs → version-Bg7VHK3i.mjs} +1 -1
- package/dist/styles/index.css +78 -0
- package/package.json +8 -3
- package/dist/_dts/index-CXsnaCGe.d.ts +0 -10
- package/dist/_dts/index-cnymEAZY.d.ts +0 -1
- package/dist/client/timetableModel-D09jPdue.mjs +0 -480
- package/dist/preview-next/client/siteStyleAccess-CFMmoMZb.mjs +0 -1326
- package/dist/server/loadPage-jade28Xh.mjs +0 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { h as unsafeAsAppointmentResourceId } from "./renderableMediaAssetAdmission-DGjBr_e-.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { n as useBlockApi } from "./context-
|
|
3
|
+
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
+
import { at as formatTime$1, bt as resolveBookingTimeZoneId, gt as parseBookingLocalDate, lt as addLocalScheduleDays, pt as formatLocalScheduleDate, tt as formatDate$1, vt as parseUtcIsoDateTimeString } from "./noop-B610YKEx.mjs";
|
|
5
|
+
import { n as useBlockApi } from "./context-BLAvalAa.mjs";
|
|
6
6
|
import { useCallback, useEffect, useReducer, useRef } from "react";
|
|
7
7
|
//#region ../blocks/src/utils/date-formatting.ts
|
|
8
8
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Ct as toUtcIsoDateTimeString } from "./noop-
|
|
2
|
+
import { Ct as toUtcIsoDateTimeString } from "./noop-B610YKEx.mjs";
|
|
3
3
|
import { useCallback, useEffect, useState } from "react";
|
|
4
4
|
//#region ../blocks/src/system/runtime/hooks/useBookingNowIso.ts
|
|
5
5
|
const ANCHOR_CLOCK = { kind: "anchor" };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { T as ok, w as err } from "./renderableMediaAssetAdmission-DGjBr_e-.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
+
import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-CaN-7ui7.mjs";
|
|
5
5
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
6
6
|
import * as React$1 from "react";
|
|
7
7
|
import { useCallback } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-
|
|
2
|
+
import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-CaN-7ui7.mjs";
|
|
3
3
|
import { useEffect, useReducer, useRef } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/StateIcon.tsx
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { r as EventItem } from "./EventItem-
|
|
7
|
-
import { i as EventCard, n as EmptyState, r as EventCompactRow, t as EventListingFrameView } from "./EventListing.view-
|
|
8
|
-
import { n as useBlockApi } from "./context-
|
|
9
|
-
import { t as LeafletStaticMap } from "./LeafletStaticMap-
|
|
2
|
+
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-C22C9cCF.mjs";
|
|
3
|
+
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
+
import { Gt as getBlockApiReadStage, Mr as listItemPresentation, Pr as listLookSlot } from "./wizardSteps-zgq10lN1.mjs";
|
|
5
|
+
import { Ft as getEventRuntimeFiltersKey, It as normalizeCsvIds, Lt as normalizeCsvString, Rt as normalizeOptionalId } from "./shop.interactive-5SnnDHz3.mjs";
|
|
6
|
+
import { r as EventItem } from "./EventItem-CXhnT9pF.mjs";
|
|
7
|
+
import { i as EventCard, n as EmptyState, r as EventCompactRow, t as EventListingFrameView } from "./EventListing.view-B-Yi5JZS.mjs";
|
|
8
|
+
import { n as useBlockApi } from "./context-BLAvalAa.mjs";
|
|
9
|
+
import { t as LeafletStaticMap } from "./LeafletStaticMap-ClZCCzAm.mjs";
|
|
10
10
|
import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region ../blocks/src/system/runtime/hooks/loadStateError.ts
|
|
@@ -464,7 +464,8 @@ function renderClientEventListItem(event, source) {
|
|
|
464
464
|
itemSurfaces: display.itemSurfaces,
|
|
465
465
|
buttonVariant: display.buttonVariant,
|
|
466
466
|
buttonText: display.buttonText,
|
|
467
|
-
showCapacity: display.showCapacity
|
|
467
|
+
showCapacity: display.showCapacity,
|
|
468
|
+
showVenue: display.showVenue
|
|
468
469
|
}, event.occurrenceId || event.id) : /* @__PURE__ */ jsx(EventCardClient, {
|
|
469
470
|
event,
|
|
470
471
|
lookSlots: display.lookSlots,
|
|
@@ -502,7 +503,7 @@ function EventListPaginationFooter({ display, loading, error, hasMore, loadMore,
|
|
|
502
503
|
retry,
|
|
503
504
|
append: true
|
|
504
505
|
}) : null;
|
|
505
|
-
if (!hasMore) return failure;
|
|
506
|
+
if (!hasMore || paginationAction.kind === "none") return failure;
|
|
506
507
|
if (paginationAction.kind === "seeAllLink") return /* @__PURE__ */ jsxs(Fragment, { children: [failure, display.sectionAction ? null : /* @__PURE__ */ jsx("div", {
|
|
507
508
|
...listLookSlot(display, "more"),
|
|
508
509
|
className: "rb-mt-8 rb-text-center",
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
//#region ../core/src/uuid.ts
|
|
3
|
+
function generateUuidV4(cryptoSource = globalThis.crypto) {
|
|
4
|
+
if (typeof cryptoSource.randomUUID === "function") return cryptoSource.randomUUID();
|
|
5
|
+
const bytes = cryptoSource.getRandomValues(/* @__PURE__ */ new Uint8Array(16));
|
|
6
|
+
bytes[6] = (bytes[6] ?? 0) & 15 | 64;
|
|
7
|
+
bytes[8] = (bytes[8] ?? 0) & 63 | 128;
|
|
8
|
+
const hex = Array.from(bytes, (byte) => byte.toString(16).padStart(2, "0"));
|
|
9
|
+
return `${hex.slice(0, 4).join("")}-${hex.slice(4, 6).join("")}-${hex.slice(6, 8).join("")}-${hex.slice(8, 10).join("")}-${hex.slice(10).join("")}`;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { generateUuidV4 as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as ThemedButton } from "./ThemedButton-
|
|
3
|
-
import { Pr 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-
|
|
2
|
+
import { r as ThemedButton } from "./ThemedButton-C22C9cCF.mjs";
|
|
3
|
+
import { Pr as listLookSlot } from "./wizardSteps-zgq10lN1.mjs";
|
|
4
|
+
import { C as membershipCardListContent, T as passCardListContent, w as membershipClassesLabel } from "./shop.interactive-5SnnDHz3.mjs";
|
|
5
|
+
import { r as EventItem, t as CardListCollection } from "./EventItem-CXhnT9pF.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,10 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Nr as formatCurrencyAmount } from "./ThemedButton-C22C9cCF.mjs";
|
|
3
3
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { c as assertNever } from "./src-VIsPY-kw.mjs";
|
|
5
|
+
import { Ai as orderedLiveRunSessions, Dr as resolveEventRegistrationScopedEvents, En as formatTotalCapacity, Gi as publicEventPricingDisplay, Oi as CANCELLED_SESSION_STATUS, On as getEventAvailabilityStatus, Pr as listLookSlot, Ui as isPublicEventPricingOptionDisplayable, Vi as formatBookingPriceDisplay, Wi as publicEventPricingCurrency, cn as eventDateOptions, ji as resolveWholeSeriesBookingPhase, mn as formatEventDateParts, pn as formatEventCompactDateRail, qi as publicEventPricingType, wn as formatEventRemainingPlaces } from "./wizardSteps-zgq10lN1.mjs";
|
|
6
|
+
import { Ct as toUtcIsoDateTimeString, St as toScheduledBookingDateTime, dt as compareLocalScheduleDates, ht as getLocalScheduleDate, it as formatDateTimeRange, mt as getBookingLocalDateKey, nt as formatDateRange, tt as formatDate, xt as toBookingTimeZone, yt as resolveBookingBusinessTimeZone } from "./noop-B610YKEx.mjs";
|
|
7
|
+
import { Qt as formatEventPriceDisplay, Vt as CardListContentPart, Xt as formatEventPrice, Zt as formatEventPriceAmount, vt as formatBookingSchedulePresentation } from "./shop.interactive-5SnnDHz3.mjs";
|
|
8
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-CUXhX_D7.mjs";
|
|
8
9
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
9
10
|
import "react";
|
|
10
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,18 +1,13 @@
|
|
|
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
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { $n as backgroundColorStyle, $t as asDesignBoundaryId, A as planCheckoutPaymentFlow, Ar as getBookingInstalmentPlanIntervalCount, At as navLinkHoverColorCandidate, Bt as themeV2RuntimeStyleFieldNames, C as clsx, Ct as generateBaseInteractiveCSS, D as checkoutCopy, Dr as runtimeMediaSchema, Dt as NAV_LINK_PADDING_MAP, En as resolveSurface, Et as NAV_LINK_LETTER_SPACING_MAP, F as resolveBookingCollectionOptionFacts, Fn as PUBLIC_BUTTON_ROLES, Gt as cardRoleValues, I as getBookingLaterInstalments, In as unsafeAsOpaqueButtonColourToken, It as runtimeBoxBackgroundSchema, Jn as paletteModeSchema, Jt as asAppearancePresetId, Kn as hexColorSchema, M as isBookingCollectionEquivalentToUpfront, Mt as navLinkOwnsUnderline, N as repriceBookingCollectionOptions, Nr as formatCurrencyAmount, Nt as navEffectPolicy, O as getStripeMinimumChargeRequirement, Ot as NAV_LINK_PADDING_X_MAP, P as resolveAvailableBookingCollectionOptions, Qn as TokenResolver, Qt as asDesignBlockId, R as headerPositioningValues, Rn as surfaceToneFromForegroundToken, Rt as siteChromeBackgroundOverrideOwner, Sr as surfaceForegroundValue, St as generateEffectsCSS, Tt as NAV_LINK_BORDER_RADIUS_MAP, Un as planForegroundHover, Vn as expandPalette, Wn as resolveConcreteColorHex, Wt as cardRoleSchema, Xn as paletteValueKeySchema, Xt as asBlockOrderIndex, Yn as paletteValueKey, Yt as asBlockContentVersionId, Zn as requirePaletteColorsFromEntries, Zt as asBoundaryOptionId, _n as noHeadingDecoration, _t as headerInteractionQuietPalette, an as asSiteStyleId, bn as plainFrame, br as surfaceForegroundInputFromResolved, bt as defaultButtonStyleSelectionFor, cn as defineExactCatalog, en as asDesignEntryId, fr as contrastRatio, gn as makeBoundaryId, gr as rgbToHex, gt as headerInteractionPaletteValues, hr as hexToRgb, in as asPageFlowPresetId, ir as textColorStyle, j as planFlexibleBalanceCreditFirst, jt as navLinkOwnsHoverForeground, kn as opaqueSurfaceDeclarations, kt as NAV_LINK_TEXT_SIZE_MAP, mr as featuresFromHex, nn as asDesignSystemTemplateId, nr as mergeStyles, on as assertNever, or as parseThemeColorToken, pn as flushPanelFrame, pr as relativeLuminance, qn as paletteColorsSchema, qt as normalizeCardRole, rn as asLayoutVariantKey, rr as rgbColorValue, sr as themeColorShadeSteps, tn as asDesignPageId, vt as brandDisplayModeValues, wt as generateInteractiveChildInheritanceCSS, xn as requireNonEmptyReadonlyArray, xt as buttonStyleSelectionSchema, yn as panelFrame, yt as logoSizePolicyValues, zn as resolveSurfaceForeground } from "./ThemedButton-C22C9cCF.mjs";
|
|
5
|
+
import { c as assertNever$1, t as assertNever$2 } from "./src-VIsPY-kw.mjs";
|
|
6
|
+
import { Ct as toUtcIsoDateTimeString, G as blockBookingConsentSchema, J as toBookingRequirementConsentField, S as eventCalendarListLayoutValues, St as toScheduledBookingDateTime, Y as blockBookingPaymentTermsSchema, _ as eventCalendarDefaultViewValues, _t as parseLocalScheduleTime, 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-B610YKEx.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";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
import { Fragment, jsx } from "react/jsx-runtime";
|
|
11
|
-
//#region ../core/src/assert-never.ts
|
|
12
|
-
function assertNever(value, message = "Unexpected variant") {
|
|
13
|
-
throw new Error(`${message}: ${String(value)}`);
|
|
14
|
-
}
|
|
15
|
-
//#endregion
|
|
16
11
|
//#region ../core/src/planner.ts
|
|
17
12
|
/** Default clock for production callers that do not inject time explicitly. */
|
|
18
13
|
const systemPlanningClock = { now: () => Date.now() };
|
|
@@ -35,7 +30,7 @@ function isPublicEventPricingOptionDisplayable(option) {
|
|
|
35
30
|
case "not_on_sale_yet":
|
|
36
31
|
case "sale_ended":
|
|
37
32
|
case "attendance_mode_unavailable": return false;
|
|
38
|
-
default: return assertNever(reason);
|
|
33
|
+
default: return assertNever$1(reason);
|
|
39
34
|
}
|
|
40
35
|
}
|
|
41
36
|
function publicEventPricingDisplay(pricing) {
|
|
@@ -176,7 +171,7 @@ function canonicalEventPricingDisplay(pricing) {
|
|
|
176
171
|
currency: pricing.currency,
|
|
177
172
|
purpose: "configured"
|
|
178
173
|
});
|
|
179
|
-
default: return assertNever(pricing);
|
|
174
|
+
default: return assertNever$1(pricing);
|
|
180
175
|
}
|
|
181
176
|
}
|
|
182
177
|
/**
|
|
@@ -195,7 +190,7 @@ function formatBookingPriceDisplay(display, options = {}) {
|
|
|
195
190
|
case "mixed": return display.paidToAmount > display.paidFromAmount ? `Free / ${formatCurrencyAmount(display.paidFromAmount, display.currency, options)} - ${formatCurrencyAmount(display.paidToAmount, display.currency, options)}` : `Free / ${formatCurrencyAmount(display.paidFromAmount, display.currency, options)}`;
|
|
196
191
|
case "unavailable": return "Pricing unavailable";
|
|
197
192
|
case "external": return display.label;
|
|
198
|
-
default: return assertNever(display);
|
|
193
|
+
default: return assertNever$1(display);
|
|
199
194
|
}
|
|
200
195
|
}
|
|
201
196
|
/** Render an event's price directly from its pricing value. */
|
|
@@ -1066,7 +1061,7 @@ const lookKnobBlocks = {
|
|
|
1066
1061
|
smallCaption: "block.hero",
|
|
1067
1062
|
candleGlow: "block.hero",
|
|
1068
1063
|
columnGuides: "block.hero",
|
|
1069
|
-
showPhotos:
|
|
1064
|
+
showPhotos: cardListKnobBlocks,
|
|
1070
1065
|
cardMarker: cardListFamilyBlocks,
|
|
1071
1066
|
dates: "block.offerings-preview",
|
|
1072
1067
|
showCapacity: "block.event-calendar",
|
|
@@ -2107,7 +2102,7 @@ const appearancePresets = [
|
|
|
2107
2102
|
}),
|
|
2108
2103
|
defineArrangementLook("event-calendar-ruled-rows", "event-calendar", "Ruled rows", "ledger", ["showCapacity"]),
|
|
2109
2104
|
defineArrangementLook("event-calendar-grouped-by-day", "event-calendar", "Grouped by day", "day-groups", ["showCapacity"], { styleFallback: [id$1("event-calendar-ruled-rows")] }),
|
|
2110
|
-
defineArrangementLook("event-calendar-session-cards", "event-calendar", "Session cards", "grid", ["showCapacity"], {
|
|
2105
|
+
defineArrangementLook("event-calendar-session-cards", "event-calendar", "Session cards", "grid", ["showCapacity", "showPhotos"], {
|
|
2111
2106
|
itemRoles: { items: "card" },
|
|
2112
2107
|
slotRoles: { date: "highlight" },
|
|
2113
2108
|
styleFallback: [id$1("event-calendar-ruled-rows")]
|
|
@@ -2116,6 +2111,22 @@ const appearancePresets = [
|
|
|
2116
2111
|
itemRoles: { container: "card" },
|
|
2117
2112
|
styleFallback: [id$1("event-calendar-ruled-rows")]
|
|
2118
2113
|
}),
|
|
2114
|
+
defineArrangementLook("events-spotlight", "event-calendar", "Event spotlight", "grid", ["showCapacity", "showPhotos"], {
|
|
2115
|
+
itemRoles: { items: "card" },
|
|
2116
|
+
slotRoles: { date: "highlight" },
|
|
2117
|
+
styleFallback: [id$1("event-calendar-session-cards")]
|
|
2118
|
+
}),
|
|
2119
|
+
{
|
|
2120
|
+
...defineArrangementLook("events-recurring-week", "event-calendar", "Weekly schedule", "ledger", []),
|
|
2121
|
+
structure: {
|
|
2122
|
+
kind: "arrangement",
|
|
2123
|
+
byMode: { week: "ledger" },
|
|
2124
|
+
knobs: [],
|
|
2125
|
+
itemRoles: {},
|
|
2126
|
+
whenMissing: [],
|
|
2127
|
+
styleFallback: []
|
|
2128
|
+
}
|
|
2129
|
+
},
|
|
2119
2130
|
defineArrangementLook("hero-framed-title", "hero", "Title framed between two photos", "copy-over-gallery", ["titleSize", "smallCaption"], { styleFallback: [id$1("hero-copy-over-gallery")] }),
|
|
2120
2131
|
defineArrangementLook("testimonials-lead-quote", "testimonials", "Big quote with others beside", "lead-rest", ["quoteCount"], { knobDescriptions: { quoteCount: "Shows your chosen quotes: the first one large, the rest beside it." } }),
|
|
2121
2132
|
defineArrangementLook("testimonials-quote-cards", "testimonials", "Quote cards", "columns", ["quoteCount"], {
|
|
@@ -2979,10 +2990,16 @@ const sectionTransitionFamilies = [{
|
|
|
2979
2990
|
label: family.label,
|
|
2980
2991
|
variants: requireNonEmptyReadonlyArray(transitionCatalogueEntries.filter((entry) => entry.family === family.id).map(transitionVariantForEntry), `Transition family ${family.id} has no catalogue entries.`)
|
|
2981
2992
|
}))];
|
|
2982
|
-
new Map(boundaryOptions.map((option) => [option.id, option]));
|
|
2993
|
+
const boundaryOptionById = new Map(boundaryOptions.map((option) => [option.id, option]));
|
|
2983
2994
|
new Map(boundaryOptions.map((option) => [stableTreatmentKey(option.treatment), option]));
|
|
2984
2995
|
new Map(sectionTransitionFamilies.flatMap((family) => family.variants.map((variant) => [variant.boundaryOption.id, variant])));
|
|
2985
2996
|
new Map(sectionTransitionFamilies.map((family) => [family.id, family]));
|
|
2997
|
+
function boundaryTreatmentForBoundaryOptionId(boundaryOptionId) {
|
|
2998
|
+
return boundaryOptionById.get(boundaryOptionId)?.treatment ?? {
|
|
2999
|
+
kind: "legacy-unsupported",
|
|
3000
|
+
boundaryOptionId
|
|
3001
|
+
};
|
|
3002
|
+
}
|
|
2986
3003
|
function stableTreatmentKey(treatment) {
|
|
2987
3004
|
switch (treatment.kind) {
|
|
2988
3005
|
case "none": return "none";
|
|
@@ -3044,7 +3061,7 @@ function boundaryEndpointForSectionContent(content) {
|
|
|
3044
3061
|
kind: "unpainted",
|
|
3045
3062
|
reason: "media"
|
|
3046
3063
|
};
|
|
3047
|
-
default: return assertNever
|
|
3064
|
+
default: return assertNever(effective, "Unhandled section background type");
|
|
3048
3065
|
}
|
|
3049
3066
|
}
|
|
3050
3067
|
/**
|
|
@@ -3145,7 +3162,7 @@ function boundaryLayout(intent, composition) {
|
|
|
3145
3162
|
shape: composition.from
|
|
3146
3163
|
}
|
|
3147
3164
|
};
|
|
3148
|
-
default: return assertNever
|
|
3165
|
+
default: return assertNever(composition, "Unhandled boundary composition");
|
|
3149
3166
|
}
|
|
3150
3167
|
}
|
|
3151
3168
|
function requireThemeColorToken$1(value) {
|
|
@@ -3275,31 +3292,56 @@ const pageDesignBlockLookPinSchema = z.object({
|
|
|
3275
3292
|
choice: pageDesignUserPinnedAppearanceChoiceSchema
|
|
3276
3293
|
}).strict();
|
|
3277
3294
|
const pageDesignBoundaryPinSchema = z.object({
|
|
3278
|
-
boundaryId: z.string().min(1).transform(asDesignBoundaryId),
|
|
3295
|
+
boundaryId: z.string().min(1).startsWith("boundary:", { error: "DesignBoundaryId must start with \"boundary:\"." }).transform(asDesignBoundaryId),
|
|
3279
3296
|
previousBlockId: z.string().min(1).transform(asDesignBlockId),
|
|
3280
3297
|
nextBlockId: z.string().min(1).transform(asDesignBlockId),
|
|
3281
3298
|
choice: pageDesignUserPinnedBoundaryTreatmentChoiceSchema
|
|
3282
3299
|
}).strict().superRefine(validateBoundaryPinIdMatchesBlocks);
|
|
3283
3300
|
const legacyPageDesignBoundaryPinSchema = z.object({
|
|
3284
|
-
boundaryId: z.string().min(1).transform(asDesignBoundaryId),
|
|
3301
|
+
boundaryId: z.string().min(1).startsWith("boundary:", { error: "DesignBoundaryId must start with \"boundary:\"." }).transform(asDesignBoundaryId),
|
|
3285
3302
|
previousBlockId: z.string().min(1).transform(asDesignBlockId),
|
|
3286
3303
|
nextBlockId: z.string().min(1).transform(asDesignBlockId),
|
|
3287
3304
|
choice: pageDesignUserPinnedBoundaryChoiceSchema
|
|
3288
3305
|
}).strict().superRefine(validateBoundaryPinIdMatchesBlocks);
|
|
3289
|
-
|
|
3306
|
+
/**
|
|
3307
|
+
* Persisted editor intent stores only user-pinned block Looks and boundary choices.
|
|
3308
|
+
* Missing pins mean `auto`; block-kind/preset compatibility is enforced by resolution,
|
|
3309
|
+
* not by this JSON parse boundary.
|
|
3310
|
+
*/
|
|
3311
|
+
const pageDesignIntentV1Schema = z.object({
|
|
3290
3312
|
schemaVersion: z.literal(1),
|
|
3291
|
-
siteStyleId: z.string().min(1).transform(asSiteStyleId),
|
|
3313
|
+
siteStyleId: z.string().min(1).startsWith("site-style:", { error: "SiteStyleId must start with \"site-style:\"." }).transform(asSiteStyleId),
|
|
3292
3314
|
pageFlowPresetId: z.string().min(1).transform(asPageFlowPresetId),
|
|
3293
3315
|
blockLookPins: z.array(pageDesignBlockLookPinSchema),
|
|
3294
3316
|
boundaryPins: z.array(legacyPageDesignBoundaryPinSchema)
|
|
3295
3317
|
}).strict().superRefine(validateUniquePageDesignPins);
|
|
3296
|
-
z.object({
|
|
3318
|
+
const pageDesignDecisionsV2Schema = z.object({
|
|
3297
3319
|
schemaVersion: z.literal(2),
|
|
3298
|
-
siteStyleId: z.string().min(1).transform(asSiteStyleId),
|
|
3299
3320
|
pageFlowPresetId: z.string().min(1).transform(asPageFlowPresetId),
|
|
3300
3321
|
blockLookPins: z.array(pageDesignBlockLookPinSchema),
|
|
3301
3322
|
boundaryPins: z.array(pageDesignBoundaryPinSchema)
|
|
3302
3323
|
}).strict().superRefine(validateUniquePageDesignPins);
|
|
3324
|
+
const pageDesignIntentV2Schema = pageDesignDecisionsV2Schema.safeExtend({ siteStyleId: z.string().min(1).startsWith("site-style:", { error: "SiteStyleId must start with \"site-style:\"." }).transform(asSiteStyleId) });
|
|
3325
|
+
function normalizeLegacyPageDesignIntent(intent) {
|
|
3326
|
+
return {
|
|
3327
|
+
schemaVersion: 2,
|
|
3328
|
+
siteStyleId: intent.siteStyleId,
|
|
3329
|
+
pageFlowPresetId: intent.pageFlowPresetId,
|
|
3330
|
+
blockLookPins: intent.blockLookPins,
|
|
3331
|
+
boundaryPins: intent.boundaryPins.map((pin) => ({
|
|
3332
|
+
boundaryId: pin.boundaryId,
|
|
3333
|
+
previousBlockId: pin.previousBlockId,
|
|
3334
|
+
nextBlockId: pin.nextBlockId,
|
|
3335
|
+
choice: userPinnedDesignChoice(boundaryTreatmentForBoundaryOptionId(pin.choice.value))
|
|
3336
|
+
}))
|
|
3337
|
+
};
|
|
3338
|
+
}
|
|
3339
|
+
function userPinnedDesignChoice(value) {
|
|
3340
|
+
return {
|
|
3341
|
+
kind: "user-pinned",
|
|
3342
|
+
value
|
|
3343
|
+
};
|
|
3344
|
+
}
|
|
3303
3345
|
function addDuplicateStringIssues(ctx, input) {
|
|
3304
3346
|
const seen = /* @__PURE__ */ new Set();
|
|
3305
3347
|
const duplicates = /* @__PURE__ */ new Set();
|
|
@@ -7613,14 +7655,14 @@ function isLayoutVariantAllowedByPolicy(policy, layoutVariantKey) {
|
|
|
7613
7655
|
switch (policy.kind) {
|
|
7614
7656
|
case "open": return true;
|
|
7615
7657
|
case "locked-look-and-layouts": return policy.allowedLayoutVariantKeys.includes(layoutVariantKey);
|
|
7616
|
-
default: return assertNever
|
|
7658
|
+
default: return assertNever(policy, "Unhandled site style block policy");
|
|
7617
7659
|
}
|
|
7618
7660
|
}
|
|
7619
7661
|
function normalizeLayoutVariantForPolicy(policy, layoutVariantKey) {
|
|
7620
7662
|
switch (policy.kind) {
|
|
7621
7663
|
case "open": return layoutVariantKey ?? null;
|
|
7622
7664
|
case "locked-look-and-layouts": return layoutVariantKey && isLayoutVariantAllowedByPolicy(policy, layoutVariantKey) ? layoutVariantKey : policy.defaultLayoutVariantKey;
|
|
7623
|
-
default: return assertNever
|
|
7665
|
+
default: return assertNever(policy, "Unhandled site style block policy");
|
|
7624
7666
|
}
|
|
7625
7667
|
}
|
|
7626
7668
|
/**
|
|
@@ -8570,6 +8612,16 @@ const folioLooks = {
|
|
|
8570
8612
|
treatment: "calendar-compact",
|
|
8571
8613
|
roleMap: folioRoles
|
|
8572
8614
|
},
|
|
8615
|
+
{
|
|
8616
|
+
id: id("events-spotlight"),
|
|
8617
|
+
treatment: "calendar-spotlight",
|
|
8618
|
+
roleMap: folioRoles
|
|
8619
|
+
},
|
|
8620
|
+
{
|
|
8621
|
+
id: id("events-recurring-week"),
|
|
8622
|
+
treatment: "calendar-recurring-week",
|
|
8623
|
+
roleMap: folioRoles
|
|
8624
|
+
},
|
|
8573
8625
|
{
|
|
8574
8626
|
id: id("event-calendar-month-grid"),
|
|
8575
8627
|
treatment: "calendar-month",
|
|
@@ -8874,6 +8926,16 @@ const fulcrumLooks = {
|
|
|
8874
8926
|
treatment: "compact",
|
|
8875
8927
|
roleMap: fulcrumRoles
|
|
8876
8928
|
},
|
|
8929
|
+
{
|
|
8930
|
+
id: id("events-spotlight"),
|
|
8931
|
+
treatment: "calendar-spotlight",
|
|
8932
|
+
roleMap: fulcrumRoles
|
|
8933
|
+
},
|
|
8934
|
+
{
|
|
8935
|
+
id: id("events-recurring-week"),
|
|
8936
|
+
treatment: "calendar-recurring-week",
|
|
8937
|
+
roleMap: fulcrumRoles
|
|
8938
|
+
},
|
|
8877
8939
|
{
|
|
8878
8940
|
id: id("event-calendar-month-grid"),
|
|
8879
8941
|
treatment: "sheet",
|
|
@@ -9133,6 +9195,16 @@ const posterOffers = [
|
|
|
9133
9195
|
treatment: "compact",
|
|
9134
9196
|
roleMap: posterRoles
|
|
9135
9197
|
},
|
|
9198
|
+
{
|
|
9199
|
+
id: id("events-spotlight"),
|
|
9200
|
+
treatment: "calendar-spotlight",
|
|
9201
|
+
roleMap: posterRoles
|
|
9202
|
+
},
|
|
9203
|
+
{
|
|
9204
|
+
id: id("events-recurring-week"),
|
|
9205
|
+
treatment: "calendar-recurring-week",
|
|
9206
|
+
roleMap: posterRoles
|
|
9207
|
+
},
|
|
9136
9208
|
{
|
|
9137
9209
|
id: id("event-calendar-month-grid"),
|
|
9138
9210
|
treatment: "heavy",
|
|
@@ -9594,6 +9666,16 @@ const lanternLooks = {
|
|
|
9594
9666
|
treatment: "compact",
|
|
9595
9667
|
roleMap: lanternRoles
|
|
9596
9668
|
},
|
|
9669
|
+
{
|
|
9670
|
+
id: id("events-spotlight"),
|
|
9671
|
+
treatment: "calendar-spotlight",
|
|
9672
|
+
roleMap: lanternRoles
|
|
9673
|
+
},
|
|
9674
|
+
{
|
|
9675
|
+
id: id("events-recurring-week"),
|
|
9676
|
+
treatment: "calendar-recurring-week",
|
|
9677
|
+
roleMap: lanternRoles
|
|
9678
|
+
},
|
|
9597
9679
|
{
|
|
9598
9680
|
id: id("event-calendar-month-grid"),
|
|
9599
9681
|
treatment: "lit",
|
|
@@ -9880,6 +9962,16 @@ const measureLooks = {
|
|
|
9880
9962
|
treatment: "compact",
|
|
9881
9963
|
roleMap: measureRuledPanelRoles
|
|
9882
9964
|
},
|
|
9965
|
+
{
|
|
9966
|
+
id: id("events-spotlight"),
|
|
9967
|
+
treatment: "calendar-spotlight",
|
|
9968
|
+
roleMap: measureRoles
|
|
9969
|
+
},
|
|
9970
|
+
{
|
|
9971
|
+
id: id("events-recurring-week"),
|
|
9972
|
+
treatment: "calendar-recurring-week",
|
|
9973
|
+
roleMap: measureRoles
|
|
9974
|
+
},
|
|
9883
9975
|
{
|
|
9884
9976
|
id: id("event-calendar-month-grid"),
|
|
9885
9977
|
treatment: "fill",
|
|
@@ -11469,6 +11561,46 @@ z.object({
|
|
|
11469
11561
|
spacing: z.enum(themeTokenRecipeOptions.spacing),
|
|
11470
11562
|
motion: z.enum(themeTokenRecipeOptions.motion)
|
|
11471
11563
|
});
|
|
11564
|
+
z.number().int().nonnegative().brand();
|
|
11565
|
+
z.discriminatedUnion("kind", [
|
|
11566
|
+
z.object({
|
|
11567
|
+
kind: z.literal("legacy"),
|
|
11568
|
+
pauseAnnouncedAt: z.string().datetime({ offset: true }).optional()
|
|
11569
|
+
}).strict(),
|
|
11570
|
+
z.object({
|
|
11571
|
+
kind: z.literal("paused"),
|
|
11572
|
+
authority: z.enum(["legacy", "document"]),
|
|
11573
|
+
checkpointId: z.string().uuid(),
|
|
11574
|
+
pausedAt: z.string().datetime({ offset: true })
|
|
11575
|
+
}).strict(),
|
|
11576
|
+
z.object({
|
|
11577
|
+
kind: z.literal("document"),
|
|
11578
|
+
checkpointId: z.string().uuid(),
|
|
11579
|
+
activatedAt: z.string().datetime({ offset: true })
|
|
11580
|
+
}).strict()
|
|
11581
|
+
]);
|
|
11582
|
+
//#endregion
|
|
11583
|
+
//#region ../theme-core/src/site-styles/pageDesignVersionIntent.ts
|
|
11584
|
+
function taggedStyledIntent(intent) {
|
|
11585
|
+
const { siteStyleId, ...decisions } = intent;
|
|
11586
|
+
return {
|
|
11587
|
+
kind: "legacy-styled",
|
|
11588
|
+
siteStyleId,
|
|
11589
|
+
decisions
|
|
11590
|
+
};
|
|
11591
|
+
}
|
|
11592
|
+
z.union([
|
|
11593
|
+
z.nullish(z.never()).transform(() => ({ kind: "automatic" })),
|
|
11594
|
+
pageDesignDecisionsV2Schema.transform((decisions) => ({
|
|
11595
|
+
kind: "decisions",
|
|
11596
|
+
decisions
|
|
11597
|
+
})),
|
|
11598
|
+
pageDesignIntentV2Schema.transform(taggedStyledIntent),
|
|
11599
|
+
pageDesignIntentV1Schema.transform((intent) => taggedStyledIntent(normalizeLegacyPageDesignIntent(intent)))
|
|
11600
|
+
], { error: (issue) => {
|
|
11601
|
+
const value = issue.input;
|
|
11602
|
+
return typeof value === "object" && value !== null && "schemaVersion" in value && value.schemaVersion !== 1 && value.schemaVersion !== 2 ? "Unsupported Theme V2 page design intent schemaVersion." : "Invalid Theme V2 page design intent shape.";
|
|
11603
|
+
} });
|
|
11472
11604
|
//#endregion
|
|
11473
11605
|
//#region ../blocks/src/system/runtime/lookSurfaces.ts
|
|
11474
11606
|
const isPlainObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -14557,7 +14689,7 @@ function capacityPlacesLabel(source, display, wording) {
|
|
|
14557
14689
|
case "low": return formatRemainingPlaces(source, wording);
|
|
14558
14690
|
case "unlimited": return wording.unlimited ?? null;
|
|
14559
14691
|
case "open": return wording.open ?? null;
|
|
14560
|
-
default: return assertNever(remaining);
|
|
14692
|
+
default: return assertNever$1(remaining);
|
|
14561
14693
|
}
|
|
14562
14694
|
}
|
|
14563
14695
|
function hybridPlacesLabel(event, display, wording) {
|
|
@@ -15128,7 +15260,7 @@ function confirmationPaymentRows(payment) {
|
|
|
15128
15260
|
case "none": return [];
|
|
15129
15261
|
case "settled": return payment.rows;
|
|
15130
15262
|
case "due": return [...payment.paidRows, payment.amountDueRow];
|
|
15131
|
-
default: return assertNever(payment);
|
|
15263
|
+
default: return assertNever$1(payment);
|
|
15132
15264
|
}
|
|
15133
15265
|
}
|
|
15134
15266
|
function row(label, value) {
|
|
@@ -15176,7 +15308,7 @@ function presentConfirmationPayment(payment) {
|
|
|
15176
15308
|
rows: paidRows
|
|
15177
15309
|
} : duePayment(payment.balance, payment.currency, paidRows, payment.kind === "monetary" && payment.paymentMethod === "manual" ? OFFLINE_BOOKING_PAYMENT_INSTRUCTIONS : null);
|
|
15178
15310
|
}
|
|
15179
|
-
default: return assertNever(payment);
|
|
15311
|
+
default: return assertNever$1(payment);
|
|
15180
15312
|
}
|
|
15181
15313
|
}
|
|
15182
15314
|
/** Places and payment, only when the outcome carries the booking's details. */
|
|
@@ -15195,7 +15327,7 @@ function outcomeFacts(outcome) {
|
|
|
15195
15327
|
payment: presentConfirmationPayment(outcome.payment)
|
|
15196
15328
|
};
|
|
15197
15329
|
}
|
|
15198
|
-
default: return assertNever(outcome);
|
|
15330
|
+
default: return assertNever$1(outcome);
|
|
15199
15331
|
}
|
|
15200
15332
|
}
|
|
15201
15333
|
function scheduleRows(event, when, where, display) {
|
|
@@ -15282,7 +15414,7 @@ function resolveFinishedPresentation(presentation, context) {
|
|
|
15282
15414
|
case "paymentStatus":
|
|
15283
15415
|
case "paymentFailed":
|
|
15284
15416
|
case "error": return presentation;
|
|
15285
|
-
default: return assertNever(presentation);
|
|
15417
|
+
default: return assertNever$1(presentation);
|
|
15286
15418
|
}
|
|
15287
15419
|
}
|
|
15288
15420
|
//#endregion
|
|
@@ -17046,4 +17178,4 @@ function registrationStepLabel(step, context) {
|
|
|
17046
17178
|
}
|
|
17047
17179
|
}
|
|
17048
17180
|
//#endregion
|
|
17049
|
-
export { getEligibilityFlowFlags as $, resolveDefaultBookingServiceId as $n, parseGradientPresetId as $r, resolveImageSourceSetWithContext as $t, isEventRegistrationAvailable as A, orderedLiveRunSessions as Ai, isEventFull as An, defineProgressiveBlockRuntime as Ar, getTicketSelectionTotal as At, paymentChoiceDetails as B, parseNewsletterListId as Bi, getBookingRedirectStateFromLocation as Bn, transparentHeaderForegroundInput as Br, registrationDisplaySchema as Bt, resolveGuestNextStepCheck as C, cardListFamilyBlocks as Ci, canJoinEventWaitlistOnAnyMode as Cn, createInteractiveIslandCodec as Cr, occurrenceTitleOverride as Ct, settledRemainingPlaces as D, isRecord$3 as Di, getEventAvailability as Dn, resolveEventRegistrationScopedEvents as Dr, canRequestTicketOption as Dt, resolveRegistrationTicketContinuation as E, parseAspectRatioValue as Ei, formatTotalCapacity as En, normalizeEventRegistrationPageSurfaceSubject as Er, formatPrice as Et, toHeadlessPaymentSelection as F, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as Fi, buildBookingFormInteractiveIslandProps as Fn, lookListPresentationSchemaShape as Fr, getRegistrationStartAt as Ft, resolveRegistrationTarget as G, publicEventPricingDisplay as Gi, isBookingServiceSlidingAmountInRange as Gn, readStoredMode as Gr, getBlockApiReadStage as Gt, findPreSelectedEvent as H, formatEventPricing as Hi, getBookingSuccessCopy as Hn, mergeHeaderNavTypographyPreference as Hr, shownVenue as Ht, toInternalPaymentSelection as I, parseMailingListProviderScope as Ii, readOverrideServiceCategories as In, resolvedItemSurfaceProps as Ir, toRegistrationEvents as It, beginWaitlistInvitation as J, resolveExactOrFreePriceDisplay as Ji, parseBookingCurrencyInputToCents as Jn, resolvePublishedLook as Jr, MediaPlaceholder as Jt, resolveRouteRequiresPayment as K, publicEventPricingStrategy as Ki, normalizeBookingFormConfig as Kn, resolveEffectiveArrangement as Kr, RichText as Kt, calculateEventRegistrationPreviewTotal as L, parseBrevoListId as Li, deriveBookingFormViewState as Ln, effectiveHeaderNavLinkStyle as Lr, toWholeSeriesRegistrationEvent as Lt, resolveEventRegistrationSubmitPlan as M, resolveWholeSeriesRunLifecycle as Mi, selectMostOpenCapacitySource as Mn, listItemPresentation as Mr, hasValidPricingOptionSelection as Mt, resolveHeadlessEventRegistrationStatus as N, parseMailingListRuntimeContext as Ni, groupPublicEventsByRun as Nn, listLookControl as Nr, normalizeTicketSelectionLines as Nt, visitorHoldsOwnPlace as O, CANCELLED_SESSION_STATUS as Oi, getEventAvailabilityStatus as On, createZodCodec as Or, getSingleSelectedPricingOptionId as Ot, resolveHeadlessEventRegistrationView as P, resolveBookingSignupOffer as Pi, bookingFormInteractiveIslandPropsCodec as Pn, listLookSlot as Pr, setTicketLineQuantity as Pt, getCurrentTicketSelection as Q, resolveBookingSiteId as Qn, getGradientPreset as Qr, renderVideo as Qt, buildBookingPaymentSelectionViewModel as R, parseMailchimpAudienceId as Ri, formatBookingCentsAsCurrencyInput as Rn, headerForegroundCandidates as Rr, toWholeSeriesRegistrationEvents as Rt, planRegistrationDetailsContinuation as S, resolveEffectiveKnobs as Si, canJoinEventWaitlist as Sn, buildInteractiveIslandProps as Sr, getVisibleTicketTypes as St, resolveRegistrationAvailabilityBlocker as T, itemRole as Ti, formatRemainingPlaces as Tn, eventRegistrationPageSurfaceSubjectSchema as Tr, withOccurrenceTitle as Tt, resolveDiscountContext as U, isPublicEventPricingOptionDisplayable as Ui, getRegistrationSuccessCopy as Un, readHeaderNavFontSizePreference as Ur, browserReadAuthoritySchema as Ut, paymentChoicePrice as V, formatBookingPriceDisplay as Vi, getBookingServiceSlidingScale as Vn, readOpeningForegroundProjection as Vr, resolveRegistrationDisplay as Vt, resolveEventRequiresPayment as W, publicEventPricingCurrency as Wi, getShopSuccessCopy as Wn, arrangementManifestFromVariants as Wr, createHostedBlockApiConfig as Wt, invitationSubmission as X,
|
|
17181
|
+
export { getEligibilityFlowFlags as $, resolveDefaultBookingServiceId as $n, parseGradientPresetId as $r, resolveImageSourceSetWithContext as $t, isEventRegistrationAvailable as A, orderedLiveRunSessions as Ai, isEventFull as An, defineProgressiveBlockRuntime as Ar, getTicketSelectionTotal as At, paymentChoiceDetails as B, parseNewsletterListId as Bi, getBookingRedirectStateFromLocation as Bn, transparentHeaderForegroundInput as Br, registrationDisplaySchema as Bt, resolveGuestNextStepCheck as C, cardListFamilyBlocks as Ci, canJoinEventWaitlistOnAnyMode as Cn, createInteractiveIslandCodec as Cr, occurrenceTitleOverride as Ct, settledRemainingPlaces as D, isRecord$3 as Di, getEventAvailability as Dn, resolveEventRegistrationScopedEvents as Dr, canRequestTicketOption as Dt, resolveRegistrationTicketContinuation as E, parseAspectRatioValue as Ei, formatTotalCapacity as En, normalizeEventRegistrationPageSurfaceSubject as Er, formatPrice as Et, toHeadlessPaymentSelection as F, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as Fi, buildBookingFormInteractiveIslandProps as Fn, lookListPresentationSchemaShape as Fr, getRegistrationStartAt as Ft, resolveRegistrationTarget as G, publicEventPricingDisplay as Gi, isBookingServiceSlidingAmountInRange as Gn, readStoredMode as Gr, getBlockApiReadStage as Gt, findPreSelectedEvent as H, formatEventPricing as Hi, getBookingSuccessCopy as Hn, mergeHeaderNavTypographyPreference as Hr, shownVenue as Ht, toInternalPaymentSelection as I, parseMailingListProviderScope as Ii, readOverrideServiceCategories as In, resolvedItemSurfaceProps as Ir, toRegistrationEvents as It, beginWaitlistInvitation as J, resolveExactOrFreePriceDisplay as Ji, parseBookingCurrencyInputToCents as Jn, resolvePublishedLook as Jr, MediaPlaceholder as Jt, resolveRouteRequiresPayment as K, publicEventPricingStrategy as Ki, normalizeBookingFormConfig as Kn, resolveEffectiveArrangement as Kr, RichText as Kt, calculateEventRegistrationPreviewTotal as L, parseBrevoListId as Li, deriveBookingFormViewState as Ln, effectiveHeaderNavLinkStyle as Lr, toWholeSeriesRegistrationEvent as Lt, resolveEventRegistrationSubmitPlan as M, resolveWholeSeriesRunLifecycle as Mi, selectMostOpenCapacitySource as Mn, listItemPresentation as Mr, hasValidPricingOptionSelection as Mt, resolveHeadlessEventRegistrationStatus as N, parseMailingListRuntimeContext as Ni, groupPublicEventsByRun as Nn, listLookControl as Nr, normalizeTicketSelectionLines as Nt, visitorHoldsOwnPlace as O, CANCELLED_SESSION_STATUS as Oi, getEventAvailabilityStatus as On, createZodCodec as Or, getSingleSelectedPricingOptionId as Ot, resolveHeadlessEventRegistrationView as P, resolveBookingSignupOffer as Pi, bookingFormInteractiveIslandPropsCodec as Pn, listLookSlot as Pr, setTicketLineQuantity as Pt, getCurrentTicketSelection as Q, resolveBookingSiteId as Qn, getGradientPreset as Qr, renderVideo as Qt, buildBookingPaymentSelectionViewModel as R, parseMailchimpAudienceId as Ri, formatBookingCentsAsCurrencyInput as Rn, headerForegroundCandidates as Rr, toWholeSeriesRegistrationEvents as Rt, planRegistrationDetailsContinuation as S, resolveEffectiveKnobs as Si, canJoinEventWaitlist as Sn, buildInteractiveIslandProps as Sr, getVisibleTicketTypes as St, resolveRegistrationAvailabilityBlocker as T, itemRole as Ti, formatRemainingPlaces as Tn, eventRegistrationPageSurfaceSubjectSchema as Tr, withOccurrenceTitle as Tt, resolveDiscountContext as U, isPublicEventPricingOptionDisplayable as Ui, getRegistrationSuccessCopy as Un, readHeaderNavFontSizePreference as Ur, browserReadAuthoritySchema as Ut, paymentChoicePrice as V, formatBookingPriceDisplay as Vi, getBookingServiceSlidingScale as Vn, readOpeningForegroundProjection as Vr, resolveRegistrationDisplay as Vt, resolveEventRequiresPayment as W, publicEventPricingCurrency as Wi, getShopSuccessCopy as Wn, arrangementManifestFromVariants as Wr, createHostedBlockApiConfig as Wt, invitationSubmission as X, resolveAppointmentCheckoutVerificationState as Xn, compiledRuntimeStyleFieldNames as Xr, mediaImageHostProps as Xt, createRegistrationDraftData as Y, resolvePricingOptionsPriceDisplay as Yi, prepareBookingSubmission as Yn, requireCuratedSiteStyle as Yr, computeMediaTransformStyle as Yt, formatCentsAsCurrencyInput as Z, resolveBookingPaymentStep as Zn, gradientToCss as Zr, renderAudio as Zt, shouldPromptForLogin as _, heroPhotoPaintsGround as _i, formatEventTimeRange as _n, BLOCK_BUTTON_ROLE_OPTIONS as _r, formatRegistrationSchedule as _t, registrationPresentation as a, arrangementLookHooks as ai, buildCalendarViewport as an, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as ar, resolveHeldTicketPlaces as at, placeCountCeiling as b, sectionForegroundBackground as bi, resolveEventTimeZone as bn, readRuntimeNow as br, getPortalSubjectEmail as bt, registrationStepLabelContext as c, resolveLookSlotSurfaces as ci, eventDateOptions as cn, columnOptionSchema as cr, confirmationPaymentRows as ct, decideEventChoice as d, composeBoundary as di, formatDate$1 as dn, eventCalendarDisplayModeSchema as dr, areEntitlementsDisabledForTicketCount as dt, deriveSiteStyleBlockPolicy as ei, resolveImageUrl as en, selectedBookingCollectionOptionKind as er, getRegistrationOccurrenceId as et, getDeclinedPass as f, sectionFactsForContent as fi, formatEventClockLabel as fn, eventLayoutSchema as fr, findSelectedTicketType as ft, decideEventRegistrationPayment as g, deriveSectionGround as gi, formatEventNextDateFact as gn, weekStartSchema as gr, formatPassCreditUsageLabel as gt, buildEventRegistrationPaymentOptionsViewModel as h, transitionCatalogueEntries as hi, formatEventHourLabel as hn, registrationButtonVariantSchema as hr, formatEventDateTime as ht, registrationPaymentRoute as i, generateNavLinkCSS as ii, sanitizeHref as in, BOOKING_FORM_DATA_RESERVED_KEYS as ir, parseCurrencyInputToCents as it, normalizeEventRegistrationMaxTickets as j, resolveWholeSeriesBookingPhase as ji, selectEventCapacitySource as jn, isDecodeSuccess as jr, getTicketTypeLineMax as jt, deriveEventRegistrationSteps as k, nextLiveRunSessionStartMs as ki, getRemainingPlaces as kn, defineClientOwnedBlockRuntime as kr, getTicketLineQuantity as kt, areEventRegistrationPaymentSelectionsEqual as l, headerRootPaint as li, eventLocalDateKey as ln, eventButtonVariantSchema as lr, resolveFinishedPresentation as lt, registrationFlowReducer as m, anglePolygonCss as mi, formatEventDateParts as mn, previewStageSchema as mr, formatDate as mt, getEventSelectionMode as n, footerForegroundCandidates as ni, resolveMediaNodeResponsiveImage as nn, projectSelectedAppointmentConsentIntoForm as nr, getSlidingScaleSelectionMessage as nt, registrationRoute as o, arrangementSlotNames as oi, eventCalendarWeekStart as on, bookingNowSchema as or, shouldLoadRegistrationOptions as ot, isRegistrationLocked as p, boundaryRuntimeMetricsForDecorativeTransition as pi, formatEventCompactDateRail as pn, filterAutoShowSchema as pr, formatBookingWhen as pt, toRegistrationRequestSubject as q, publicEventPricingType as qi, normalizeBookingServices as qn, resolveModeArrangement as qr, ImagePresets as qt, panelShouldOpen as r, buildTextContrastShadow as ri, resolvePublicMediaUrl as rn, resolveSelectedAppointmentConsent as rr, getTicketSelectionRemainingPlaces as rt, registrationStepLabel as s, resolveItemSurface as si, eventDateLocale as sn, calendarTabViewsSchema as sr, validateFormData as st, REGISTRATION_STEP_LABELS as t, generateFooterCss as ti, resolveImageUrlWithContext as tn, toSelectedCollectionOptionKind as tr, getSlidingScaleForEvent as tt, createInitialRegistrationFlowState as u, boundaryLayout as ui, formatCalendarTitle as un, eventCalendarDefaultViewSchema as ur, ENTITLEMENT_SINGLE_TICKET_TOOLTIP as ut, fullyBookedLabel as v, parseCanonicalRuntimeBackground as vi, formatTime$1 as vn, blockButtonRoleSchema as vr, formatTime as vt, resolveRegistrationAdmission as w, cardListKnobBlocks as wi, formatEventRemainingPlaces as wn, defineInteractiveIslandMetaKeys as wr, transformRegistrationOptionsResponse as wt, planRegistrationDetailsCheck as x, defineBlockDesignMetadata as xi, resolveRuntimeEventDestination as xn, resolveDateRuntimeContext as xr, getTicketTypeAvailabilityLabel as xt, getTicketSelectionPurpose as y, resolveSectionBackground as yi, groupEventsByDate as yn, isBlockButtonRole as yr, getImplicitSingleTicketType as yt, buildReviewedBookingPaymentViewModel as z, parseMailchimpInterestId as zi, formatBookingSubmissionPreparationError as zn, headerLeafTextColor as zr, placesLeftLabel as zt };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./constants-D8Ya7bO4.mjs";
|
|
2
|
-
import "./route-contract-
|
|
2
|
+
import "./route-contract-8csADeIT.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 { Gi as __commonJSMin, n as ThemedButton, ri as checkBrowserStripeKey, ti as SpinnerNode } from "./ThemedButton-DzeycIlD.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
|