@riverbankcms/sdk 0.174.0 → 0.174.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/{BlocksIslandsHydrator-GqVX3I8E.d.ts → BlocksIslandsHydrator-YRmc-Yxz.d.ts} +1 -1
- package/dist/_dts/{Page-BhUH31M-.d.ts → Page-Du0zX1B-.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DBn2x0UL.d.ts → SdkPreviewMode-4L8v3FkY.d.ts} +2 -2
- package/dist/_dts/{client-Cr-sOeSl.d.ts → client-B1J6Akyf.d.ts} +1 -1
- package/dist/_dts/{content-types-DKw1yJdN.d.ts → content-types-CGGYI0u_.d.ts} +2 -2
- package/dist/_dts/{contracts-CJ2O03nB.d.ts → contracts-CHMlw9hT.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-DoGHHKr_.d.ts → footerPageOutline-DIHSU1Vr.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-CJGu4hoa.d.ts → generatePageMetadata-JITXD6BU.d.ts} +2 -2
- package/dist/_dts/{index-Bq-488M7.d.ts → index-BLEKFHt1.d.ts} +1 -1
- package/dist/_dts/{index-DYsP4k6S.d.ts → index-BgOr1Xyz.d.ts} +3 -3
- package/dist/_dts/{index-DQZ5L0Gb.d.ts → index-CF62FntA.d.ts} +2 -2
- package/dist/_dts/{index-3GzargmS.d.ts → index-CXZSy_9M.d.ts} +2 -2
- package/dist/_dts/{index-DYlfdT1O.d.ts → index-D9ZYmGAJ.d.ts} +1 -1
- package/dist/_dts/{index-DdEi2iXd.d.ts → index-DpJm0NpL.d.ts} +4 -4
- package/dist/_dts/{index--39uLjrr.d.ts → index-yWDbUojb.d.ts} +1 -1
- package/dist/_dts/{loadContent-BVPagYmy.d.ts → loadContent-M-s0p0rq.d.ts} +7 -7
- package/dist/_dts/{request-Be1E-H-V.d.ts → request-BK-pHf0P.d.ts} +449 -118
- package/dist/_dts/{resolveBlockData-D1pL25bD.d.ts → resolveBlockData-DZAlnhwt.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-B4sbTf96.d.ts → resolvePageContent-DXUCWJ3y.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-5MeDI1w8.d.ts → types-CwmB2NHU.d.ts} +7 -7
- package/dist/_dts/{types-Bm5_3VEd.d.ts → types-DjVNADXR.d.ts} +3 -3
- package/dist/_dts/{types-CVoCc_Ia.d.ts → types-Dmow_FI6.d.ts} +2 -2
- package/dist/_dts/{validation-lEtYD-Rh.d.ts → validation-h8t1HLlL.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DkflFLGQ.mjs → BlocksIslandsHydrator-DRVx_XLi.mjs} +16 -16
- package/dist/client/{BookingMailingListNote-CAyoiAGD.mjs → BookingMailingListNote-CwrMzj-k.mjs} +2 -2
- package/dist/client/{BookingPanelArrangement-C7yiJrxm.mjs → BookingPanelArrangement-C2_hFT6K.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-BPQU5Snc.mjs → CalendarNavigationChevron-Az1-TIEI.mjs} +4 -4
- package/dist/client/{DemoBookingPortalAccess-BnEgvJas.mjs → DemoBookingPortalAccess-1p-pJ1lg.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BiWQc28-.mjs → EventCalendar.client-CDkkP-Lv.mjs} +8 -8
- package/dist/client/{EventCombined.client-B_ytWQtn.mjs → EventCombined.client-DK3aaz62.mjs} +5 -5
- package/dist/client/{EventItem-C-mxXpX_.mjs → EventItem-WeUipfIP.mjs} +3 -3
- package/dist/client/{EventListWeekNavigation-Bm3Ap1Rd.mjs → EventListWeekNavigation-D3sbAeDo.mjs} +1 -1
- package/dist/client/{EventListing.client-Bs_8im5_.mjs → EventListing.client-DL3gGGmF.mjs} +3 -3
- package/dist/client/{EventListing.view-CN7BjGgC.mjs → EventListing.view-DKFImKOx.mjs} +5 -5
- package/dist/client/{EventRegistrationPayment-DPkRcSdw.mjs → EventRegistrationPayment-Dn9TpWyL.mjs} +39 -13
- package/dist/client/{Page--xJ23nA5.mjs → Page-BpeP9xdt.mjs} +58 -1011
- package/dist/client/{StepIndicator-D391QRNc.mjs → StepIndicator-CP6zrwkl.mjs} +4 -241
- package/dist/client/{accordion-BQtTkDN8.mjs → accordion-nR7D4m1a.mjs} +1 -1
- package/dist/client/{booking-form.client-D9M7TKGV.mjs → booking-form.client-Ce-mQZ7W.mjs} +6 -6
- package/dist/client/{bookingForm-BsOS0sl9.mjs → bookingForm-B-qT_AQB.mjs} +3 -3
- package/dist/client/bookings.mjs +3 -3
- package/dist/client/{boxStyleClassNames-CNDLpT06.mjs → boxStyleClassNames-CrE3TDpW.mjs} +2 -29
- package/dist/client/{carousel-CPsW-FPh.mjs → carousel-CVUOatsY.mjs} +1 -1
- package/dist/client/{cart-CwElmocm.mjs → cart-DE0K6E0R.mjs} +3 -3
- package/dist/client/{cart.client-RpqI56w8.mjs → cart.client-C23E6WQ5.mjs} +1 -1
- package/dist/client/{checkout-CfMgqY8H.mjs → checkout-76cdHyPL.mjs} +3 -3
- package/dist/client/{checkout.client-BpuPyOuJ.mjs → checkout.client-DJOzqb26.mjs} +1 -1
- package/dist/client/{checkoutUrls-VeHY6WYj.mjs → checkoutUrls-CvIP5DCO.mjs} +1 -1
- package/dist/client/client.mjs +4 -3
- package/dist/client/{course-q1sA4Cj-.mjs → course-DHIrXqNT.mjs} +1 -1
- package/dist/client/{display-D8MW2b0e.mjs → display-Cf_j5stk.mjs} +1972 -382
- package/dist/client/{enhanceHeaderSection-BzjY6AiY.mjs → enhanceHeaderSection-5GD5o4Mt.mjs} +3 -3
- package/dist/client/{event-details.client-CseTWUFC.mjs → event-details.client-D7Oz1q2L.mjs} +1 -1
- package/dist/client/{event-registration.client-b5TLxntR.mjs → event-registration.client-zbuX36aA.mjs} +133 -127
- package/dist/client/{eventCalendar-C-kJNIc9.mjs → eventCalendar-uZrksODt.mjs} +3 -3
- package/dist/client/{eventCombined-BgHJGhwE.mjs → eventCombined-DxhvNAx8.mjs} +3 -3
- package/dist/client/{eventDetails-CAwbreD0.mjs → eventDetails-DCIH4BYG.mjs} +2 -2
- package/dist/client/{eventListing-_14atrj8.mjs → eventListing-B9KrnPvc.mjs} +3 -3
- package/dist/client/{eventRegistration-BOqSdstJ.mjs → eventRegistration-TjnURMKl.mjs} +3 -3
- package/dist/client/{form-DfAB-llc.mjs → form-CfqIAhfN.mjs} +2 -2
- package/dist/client/{form.client-DN-I9_qC.mjs → form.client-CL6fF0cW.mjs} +2 -2
- package/dist/client/{form.parts-t2Q1neM6.mjs → form.parts-Bf-L66Gg.mjs} +1 -1
- package/dist/client/{headerSection-Dces54pb.mjs → headerSection-WVXtOcuW.mjs} +2 -2
- package/dist/client/{newsletter-form.client-D_YFUlR2.mjs → newsletter-form.client-Bb7GAZpO.mjs} +3 -3
- package/dist/client/{newsletter-form.parts-URO5Mn_I.mjs → newsletter-form.parts-BqOVRdIc.mjs} +1 -1
- package/dist/client/{newsletterForm-_c9fKIzS.mjs → newsletterForm-DOVe-qY3.mjs} +2 -2
- package/dist/client/{product-detail.client-CVW1UIxJ.mjs → product-detail.client-CNzeFnFf.mjs} +1 -1
- package/dist/client/{product-list.client-CF9hO23G.mjs → product-list.client-LKpzC7pj.mjs} +1 -1
- package/dist/client/{productDetail-C_qbmUuP.mjs → productDetail-D2JNeEgx.mjs} +3 -3
- package/dist/client/{productList-Df5qDD0z.mjs → productList-DTgZXOEq.mjs} +3 -3
- package/dist/client/{propsDecoder-BiEyK2ii.mjs → propsDecoder-mpBQt2AT.mjs} +2 -2
- package/dist/client/{registry.server-ClcfWpvM.mjs → registry.server-DdTJyar2.mjs} +19 -37
- package/dist/client/rendering/client.mjs +20 -20
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -6
- package/dist/client/{routeIslandApiConfig-DAypPzSo.mjs → routeIslandApiConfig-8cfSgT0E.mjs} +1 -1
- package/dist/client/{shop-gteEpeO5.mjs → shop-5LBhftWx.mjs} +3 -3
- package/dist/client/{shop-commerce-Bw4_BXQg.mjs → shop-commerce-DkValjZj.mjs} +8 -8
- package/dist/client/{shop-commerce-store-Da6Ah-_4.mjs → shop-commerce-store-BOmXFmk_.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-DidgH7ow.mjs → shop-discount-apply.state-D0ifS6KX.mjs} +1 -1
- package/dist/client/{shop.client-CbbdjWWd.mjs → shop.client-BTtZqNmv.mjs} +8 -8
- package/dist/client/{shop.interactive-CKFORzux.mjs → shop.interactive-DNRqG4aX.mjs} +6 -5
- package/dist/client/{shopShared-C7QjoywZ.mjs → shopShared-Nky6kPYr.mjs} +1 -1
- package/dist/client/{timetableModel-CtZiIj9q.mjs → timetableModel-DZArznD_.mjs} +5 -142
- package/dist/client/{useDiscountApply-BZU5DWZQ.mjs → useDiscountApply-BBnStWXU.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-BuLgof7O.mjs → useDiscountCodeUi-d7viY_mu.mjs} +1 -1
- package/dist/client/{useEventPagination-B4VPtSEF.mjs → useEventPagination-Da2JqxGC.mjs} +4 -4
- package/dist/client/{view-CvlTplao.mjs → view-BvuYmQJ5.mjs} +2 -2
- package/dist/client/{view-CxUpgcM6.mjs → view-D9ObkFtz.mjs} +5 -6
- package/dist/preview-next/client/{PageSectionToolbar-BFbSrDbi.mjs → PageSectionToolbar-DwxHT-2k.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-BtpzqQ-i.mjs → PreviewEditorSidebar-D4SBxGU6.mjs} +9 -9
- package/dist/preview-next/client/{PreviewEditorUI-z22h-CCY.mjs → PreviewEditorUI-D8mUct32.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-BW3Qpoa_.mjs → PreviewShell-L2AEdNUQ.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BvVeK1hR.mjs → SdkPreviewModeRuntime-bhVAU2D2.mjs} +5 -5
- package/dist/preview-next/client/{previewAssistantSlot-BUqAh1FL.mjs → previewAssistantSlot-Jpj_HDra.mjs} +852 -610
- package/dist/preview-next/client/{previewChromeRoot-NCy5zHO8.mjs → previewChromeRoot-CYTDvx4u.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CxmKDVGZ.mjs → sdk-runtime-CZHX6J_4.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-B_UaDyJO.mjs → siteStyleAccess-DmGIG9Hk.mjs} +3 -3
- package/dist/preview-next/client/{useAutosaveStatus-BqmWvPLY.mjs → useAutosaveStatus-DQCyswQ-.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-LAllV0rU.mjs → useOpenBlockForSetup-LwE5yXvL.mjs} +13 -2
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-DV6SeCNv.mjs → route-contract-BOuNcOcN.mjs} +1 -0
- package/dist/server/{Block.shared-Ch2FKAvU.mjs → Block.shared-wfJfhs08.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-DFvjDVzi.mjs → ThemeScopeCore-BtrJNHTB.mjs} +1 -1
- package/dist/server/{bindings-CQg2lzZn.mjs → bindings-P1CF2Gm6.mjs} +4 -4
- package/dist/server/{client-aYRTVneD.mjs → client-CGtU5fHI.mjs} +2 -1
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-Cgpfr44e.mjs → loadContent-ChnkJSay.mjs} +4 -4
- package/dist/server/{loadPage-RDk10NMP.mjs → loadPage-DesHhgxj.mjs} +2 -2
- package/dist/server/{lookMediaFrame-CQtkvlDn.mjs → lookMediaFrame-BBr0mkze.mjs} +106 -8
- package/dist/server/next.mjs +6 -6
- package/dist/server/{overrideResolution-VhhN94d8.mjs → overrideResolution-DHEkHcZs.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-CkFTsxkd.mjs → pageRenderPlan-0jvm0RBk.mjs} +13 -323
- package/dist/server/{pageRuntimeSupport-CpAtzNxD.mjs → pageRuntimeSupport-8-f1Zr9e.mjs} +1 -1
- package/dist/server/{pageShared-B8yLPjs0.mjs → pageShared-CuVFoV4z.mjs} +7 -243
- package/dist/server/{prebuild-DOu6QceG.mjs → prebuild-Bms_Y7wQ.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CfOXFKYG.mjs → prefetchBlockData-5oC5kyHe.mjs} +2 -2
- package/dist/server/{registry-34rkAfaU.mjs → registry-DmqxC8th.mjs} +663 -48
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-D7VeoWgr.mjs → resolveBlockData-EYogtwQc.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/{validation-CLVKoJrX.mjs → validation-Bt_8IL1g.mjs} +3 -3
- package/dist/server/{version-HVfdvBJ0.mjs → version-DT_efohp.mjs} +1 -1
- package/dist/styles/index.css +66 -20
- package/package.json +1 -1
- package/dist/client/bookability-CE637yDE.mjs +0 -17
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as ProductDetailClient } from "./product-detail.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
|
|
3
|
+
import { t as ProductDetailClient } from "./product-detail.client-CNzeFnFf.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-Nky6kPYr.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/productDetail.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("product-detail");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, ProductDetailClient, "product-detail");
|
|
@@ -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-mpBQt2AT.mjs";
|
|
3
|
+
import { t as ProductListClient } from "./product-list.client-LKpzC7pj.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-Nky6kPYr.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,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A as formInteractiveIslandPropsCodec, C as newsletterFormInteractiveIslandPropsCodec, E as giftingInteractiveIslandPropsCodec, F as eventRegistrationInteractiveIslandPropsCodec, f as productDetailInteractiveIslandPropsCodec, g as shopInteractiveIslandPropsCodec, l as checkoutInteractiveIslandPropsCodec, m as productListInteractiveIslandPropsCodec, mn as headerChromeRuntimeContractSchema, pt as eventCombinedInteractiveIslandPropsCodec, s as cartInteractiveIslandPropsCodec, vt as eventCalendarInteractiveIslandPropsCodec, wt as eventListingInteractiveIslandPropsCodec } from "./shop.interactive-
|
|
3
|
-
import {
|
|
2
|
+
import { A as formInteractiveIslandPropsCodec, C as newsletterFormInteractiveIslandPropsCodec, E as giftingInteractiveIslandPropsCodec, F as eventRegistrationInteractiveIslandPropsCodec, f as productDetailInteractiveIslandPropsCodec, g as shopInteractiveIslandPropsCodec, l as checkoutInteractiveIslandPropsCodec, m as productListInteractiveIslandPropsCodec, mn as headerChromeRuntimeContractSchema, pt as eventCombinedInteractiveIslandPropsCodec, s as cartInteractiveIslandPropsCodec, vt as eventCalendarInteractiveIslandPropsCodec, wt as eventListingInteractiveIslandPropsCodec } from "./shop.interactive-DNRqG4aX.mjs";
|
|
3
|
+
import { fo as createZodCodec, ho as isDecodeSuccess, ui as bookingFormInteractiveIslandPropsCodec, yo as lookListPresentationSchemaShape, za as eventRegistrationPageSurfaceSubjectSchema } from "./display-Cf_j5stk.mjs";
|
|
4
4
|
import { B as publicEventSchema, L as eventVenueDrawingSchema, a as eventAutoApplyDiscountPreviewSchema, o as publicMembershipProductCollectionSchema, s as publicPassProductCollectionSchema } from "./noop-D5mFWXtN.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region ../blocks/src/system/runtime/nodes/event-details/lookPresentation.ts
|
|
@@ -1,35 +1,34 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $ as resolveOfferingsRenderInput, $t as eventWeekGroupingContext, Bt as CardListContentPart, Cn as parseMailingListPlacementTargeting, Ct as eventListingBlockRuntime, D as publicGiftingOffersResponseSchema, Gt as MediaNodeServer, H as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, J as offeringRunLifecycle, Jt as getCardOrientation, Kt as EventQuickFacts, M as buildEventRegistrationInteractiveIslandProps, O as buildFormInteractiveIslandProps, P as eventRegistrationBlockRuntime, Q as resolveOfferingsPreviewGroups, Qt as eventListWeekDays, Rt as catalogueEventCardProps, S as newsletterFormBlockRuntime, Sn as assessMailingListTargeting, St as buildEventListingInteractiveIslandProps, T as giftingBlockRuntime, Tn as DEFAULT_MAILING_LIST_TARGETING, U as buildOfferingsPreviewListing, W as groupOfferingRunsByCourse, X as readOfferingsGrouping, Xt as Grid, Y as offeringsListingFor, Yt as getContainerClass, Z as resolveOfferingsPreviewGroupCta, Zt as buildEventListWeek, _ as shopProductPresentation, _n as staticHeaderChromeRuntime, _t as eventCalendarBlockRuntime, a as buildShopInteractiveIslandProps, an as formatEventPriceDisplay, b as buildNewsletterFormInteractiveIslandProps, bn as splitSiteChromePlacementClasses, bt as recurringScheduleProjectionSchema, c as checkoutBlockRuntime, cn as normalizeEventScheduleScope, ct as occurrenceContextSchema, d as productDetailBlockRuntime, dn as normalizeEventSurfaceScope, dt as buildEventCombinedListingDisplay, fn as normalizeEventVenueId, ft as eventCombinedBlockRuntime, h as shopBlockRuntime, ht as buildEventCalendarListingDisplay, i as buildProductListInteractiveIslandProps, k as formBlockRuntime, ln as normalizeEventStaffMemberId, mt as buildEventCalendarInteractiveIslandProps, n as buildCheckoutInteractiveIslandProps, nn as formatCoursePrice, o as cartBlockRuntime, on as formatEventStartingPrice, p as productListBlockRuntime, pn as resolveEventSelection, q as normalizeOfferingsPreviewItemLimit, r as buildProductDetailInteractiveIslandProps, rn as formatEventPrice, sn as normalizeEventCategoryIds, t as buildCartInteractiveIslandProps, un as normalizeEventSurfacePresets, ut as buildEventCombinedInteractiveIslandProps, v as publicProductsResponseSchema, w as buildGiftingInteractiveIslandProps, x as newsletterBlockSubmissionMessage, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, zt as listingEventCardProps } from "./shop.interactive-
|
|
2
|
+
import { $ as resolveOfferingsRenderInput, $t as eventWeekGroupingContext, Bt as CardListContentPart, Cn as parseMailingListPlacementTargeting, Ct as eventListingBlockRuntime, D as publicGiftingOffersResponseSchema, Gt as MediaNodeServer, H as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, J as offeringRunLifecycle, Jt as getCardOrientation, Kt as EventQuickFacts, M as buildEventRegistrationInteractiveIslandProps, O as buildFormInteractiveIslandProps, P as eventRegistrationBlockRuntime, Q as resolveOfferingsPreviewGroups, Qt as eventListWeekDays, Rt as catalogueEventCardProps, S as newsletterFormBlockRuntime, Sn as assessMailingListTargeting, St as buildEventListingInteractiveIslandProps, T as giftingBlockRuntime, Tn as DEFAULT_MAILING_LIST_TARGETING, U as buildOfferingsPreviewListing, W as groupOfferingRunsByCourse, X as readOfferingsGrouping, Xt as Grid, Y as offeringsListingFor, Yt as getContainerClass, Z as resolveOfferingsPreviewGroupCta, Zt as buildEventListWeek, _ as shopProductPresentation, _n as staticHeaderChromeRuntime, _t as eventCalendarBlockRuntime, a as buildShopInteractiveIslandProps, an as formatEventPriceDisplay, b as buildNewsletterFormInteractiveIslandProps, bn as splitSiteChromePlacementClasses, bt as recurringScheduleProjectionSchema, c as checkoutBlockRuntime, cn as normalizeEventScheduleScope, ct as occurrenceContextSchema, d as productDetailBlockRuntime, dn as normalizeEventSurfaceScope, dt as buildEventCombinedListingDisplay, fn as normalizeEventVenueId, ft as eventCombinedBlockRuntime, h as shopBlockRuntime, ht as buildEventCalendarListingDisplay, i as buildProductListInteractiveIslandProps, k as formBlockRuntime, ln as normalizeEventStaffMemberId, mt as buildEventCalendarInteractiveIslandProps, n as buildCheckoutInteractiveIslandProps, nn as formatCoursePrice, o as cartBlockRuntime, on as formatEventStartingPrice, p as productListBlockRuntime, pn as resolveEventSelection, q as normalizeOfferingsPreviewItemLimit, r as buildProductDetailInteractiveIslandProps, rn as formatEventPrice, sn as normalizeEventCategoryIds, t as buildCartInteractiveIslandProps, un as normalizeEventSurfacePresets, ut as buildEventCombinedInteractiveIslandProps, v as publicProductsResponseSchema, w as buildGiftingInteractiveIslandProps, x as newsletterBlockSubmissionMessage, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, zt as listingEventCardProps } from "./shop.interactive-DNRqG4aX.mjs";
|
|
3
3
|
import { f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { $a as isBookableEvent, $r as formatEventCompactDateRail, Ac as sanitizeHref, Ba as normalizeEventRegistrationPageSurfaceSubject, Gr as buildCalendarViewport, Ha as resolveEventRegistrationScopedEvents, Jr as eventDateOptions, Rc as resolveWholeSeriesBookingPhase, Rr as asPartialObject, Sa as BLOCK_BUTTON_ROLE_OPTIONS, Xc as formatBookingPriceDisplay, Xo as compiledRuntimeStyleFieldNames, Xr as formatCalendarTitle, di as buildBookingFormInteractiveIslandProps, do as groupPublicEventsByRun, gc as cardVariantRoleValues, go as listItemPresentation, ii as formatEventTimeRange, il as resolvePricingOptionsPriceDisplay, jc as parseAspectRatioValue, kr as resolvePublicMediaUrl, li as resolveRuntimeEventDestination, oi as formatTime, pr as bookingPresentation, rc as arrangementSlotNames, rl as resolveExactOrFreePriceDisplay, si as groupEventsByDate, ti as formatEventHourLabel, vo as listLookSlot, vr as RichText, wa as isBlockButtonRole, yo as lookListPresentationSchemaShape, yr as ImagePresets } from "./display-Cf_j5stk.mjs";
|
|
5
5
|
import { Bt as formatDate, C as normalizeEventCalendarDisplayMode$1, Ft as publicLocationSchema, It as toLocationCoordinates, Mt as normalizeLocationAddressText, Nt as parseLocationValue, O as arrangementModes, Pt as projectPublicLocation, Rt as trimmedStringOrNull, S as isEventCalendarListLayout, V as publicEventsArraySchema, Y as RichTextDocSchema, _ as eventCalendarListLayoutOptions, an as resolveBookingBusinessTimeZone, b as isEventCalendarDefaultView, ct as mediaTypeDiscriminants, it as runtimeMediaSchema, ln as toUtcIsoDateTimeString, o as publicMembershipProductCollectionSchema, ot as PUBLIC_FILE_FIELD_KINDS, p as calendarWindowPageSchema, s as publicPassProductCollectionSchema, st as isDisplayMediaKind, v as eventCalendarVariantMeaning, w as resolveEventCalendarReadPlan, x as isEventCalendarDisplayMode } from "./noop-D5mFWXtN.mjs";
|
|
6
6
|
import { A as assertNever$1 } from "./creditProducts-KYMVIH3J.mjs";
|
|
7
7
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
8
8
|
import { n as selectCategoryView } from "./appointment-service-categories-Cl2pqw-z.mjs";
|
|
9
|
-
import { a as CalendarRecurringWeek, c as LinkNode, d as LocationMapView, i as buildWeekBoardViewProps, l as RichTextNode, n as WeekBoardView, o as RecurringSchedule, r as buildWeekBoardNavigationState, s as ButtonNode, t as buildTimetableModel, u as TextNode } from "./timetableModel-
|
|
9
|
+
import { a as CalendarRecurringWeek, c as LinkNode, d as LocationMapView, i as buildWeekBoardViewProps, l as RichTextNode, n as WeekBoardView, o as RecurringSchedule, r as buildWeekBoardNavigationState, s as ButtonNode, t as buildTimetableModel, u as TextNode } from "./timetableModel-DZArznD_.mjs";
|
|
10
10
|
import { d as formatDateKey, h as getWeekCalendarDayTuple, m as getOrderedDayNames } from "./src-xrjaKaCj.mjs";
|
|
11
11
|
import { B as resolveThemeColorReferenceValue, G as mergeStyles, H as backgroundColorStyle, K as rgbColorValue, q as textColorStyle, s as serializeSurfaceTree } from "./accessibleSurfaces-DN8it_Cx.mjs";
|
|
12
12
|
import { h as SYSTEM_BLOCK_KINDS } from "./types-DjWUR_O6.mjs";
|
|
13
|
-
import { f as DEFAULT_SECTION_SPACING, o as normalizeBoxStylesBorder, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles
|
|
13
|
+
import { f as DEFAULT_SECTION_SPACING, o as normalizeBoxStylesBorder, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles } from "./boxStyleClassNames-CrE3TDpW.mjs";
|
|
14
14
|
import { S as clsx, _ as FileAudioIcon, a as ThemedDownloadLink, b as MinusIcon, c as isSemanticIconId, d as ChevronDownIcon, f as CircleMinusIcon, g as FileArchiveIcon, i as ThemedButtonLink, l as SpinnerNode, p as CirclePlusIcon, r as ThemedButton, s as getIconComponent, u as ArrowDownIcon, v as FileSpreadsheetIcon, x as PlusIcon, y as FileTextIcon } from "./ThemedButton-DuaYtnvG.mjs";
|
|
15
|
-
import { a as eventCardListContent, c as derivePreviewRunSchedule, l as formatEventQuickDate, n as resolveEventDetailsPresentation, o as offeringDatesBySeries, s as deriveEventScheduleSummary, t as EventDetailsView, u as selectQuickDateEvents } from "./view-
|
|
16
|
-
import { t as
|
|
17
|
-
import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-D391QRNc.mjs";
|
|
18
|
-
import { c as resolveEventLinkProps, i as formatCourseSessions, n as eventDisplayTitleText, s as resolveEventCta, t as eventDisplayTitle } from "./course-q1sA4Cj-.mjs";
|
|
15
|
+
import { a as eventCardListContent, c as derivePreviewRunSchedule, l as formatEventQuickDate, n as resolveEventDetailsPresentation, o as offeringDatesBySeries, s as deriveEventScheduleSummary, t as EventDetailsView, u as selectQuickDateEvents } from "./view-D9ObkFtz.mjs";
|
|
16
|
+
import { c as resolveEventLinkProps, i as formatCourseSessions, n as eventDisplayTitleText, s as resolveEventCta, t as eventDisplayTitle } from "./course-DHIrXqNT.mjs";
|
|
19
17
|
import { i as SvgNode, o as formatEventLocation } from "./MapDrawingSvg-DCIwlON6.mjs";
|
|
20
|
-
import { n as CardListItems, r as EventItem } from "./EventItem-
|
|
21
|
-
import { c as CalendarDayHeaders, i as CombinedLookFrame, l as buildMonthDay, n as WeekAgendaView, o as MonthLookView, u as resolveMonthSelectedDay } from "./CalendarNavigationChevron-
|
|
22
|
-
import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-
|
|
18
|
+
import { n as CardListItems, r as EventItem } from "./EventItem-WeUipfIP.mjs";
|
|
19
|
+
import { c as CalendarDayHeaders, i as CombinedLookFrame, l as buildMonthDay, n as WeekAgendaView, o as MonthLookView, u as resolveMonthSelectedDay } from "./CalendarNavigationChevron-Az1-TIEI.mjs";
|
|
20
|
+
import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-DKFImKOx.mjs";
|
|
23
21
|
import { t as resolveDedicatedBookingHref } from "./bookingRoute-D6DlxYx6.mjs";
|
|
24
22
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
25
|
-
import { t as BookingPanelArrangement } from "./BookingPanelArrangement-
|
|
23
|
+
import { t as BookingPanelArrangement } from "./BookingPanelArrangement-C2_hFT6K.mjs";
|
|
26
24
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
27
25
|
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-BFQ3kBEw.mjs";
|
|
28
26
|
import { t as coerceRichTextDoc } from "./richText-coerce-C32cRQ03.mjs";
|
|
29
|
-
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-
|
|
30
|
-
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
27
|
+
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-BvuYmQJ5.mjs";
|
|
28
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-D3sbAeDo.mjs";
|
|
29
|
+
import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-CP6zrwkl.mjs";
|
|
30
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-Bf-L66Gg.mjs";
|
|
31
|
+
import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-BqOVRdIc.mjs";
|
|
33
32
|
import React, { forwardRef } from "react";
|
|
34
33
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
35
34
|
import { z } from "zod";
|
|
@@ -4734,26 +4733,6 @@ function getFeatureCardIconCompletion(cards) {
|
|
|
4734
4733
|
function shouldReserveFeatureCardIconZone(cards) {
|
|
4735
4734
|
return getFeatureCardIconCompletion(cards).cardsWithIcons > 0;
|
|
4736
4735
|
}
|
|
4737
|
-
//#endregion
|
|
4738
|
-
//#region ../blocks/src/system/blocks/event-registration.ts
|
|
4739
|
-
/**
|
|
4740
|
-
* Event Registration Block
|
|
4741
|
-
*
|
|
4742
|
-
* Multi-step registration form for events. Can be placed on event content type
|
|
4743
|
-
* templates or standalone pages.
|
|
4744
|
-
*
|
|
4745
|
-
* Features:
|
|
4746
|
-
* - Occurrence selection (if not pre-selected via URL)
|
|
4747
|
-
* - Ticket quantity selection
|
|
4748
|
-
* - Attendee information form
|
|
4749
|
-
* - Confirmation display
|
|
4750
|
-
*
|
|
4751
|
-
* Context:
|
|
4752
|
-
* - When placed on an event template with occurrence URL (/events/yoga/2025-01-15),
|
|
4753
|
-
* the occurrence is pre-selected from route context
|
|
4754
|
-
* - When on event template without occurrence, shows occurrence picker
|
|
4755
|
-
* - When standalone, shows full event + occurrence picker
|
|
4756
|
-
*/
|
|
4757
4736
|
const eventRegistrationManifest = createBlockManifest({
|
|
4758
4737
|
variantMeaning: { kind: "arrangement" },
|
|
4759
4738
|
id: "block.event-registration",
|
|
@@ -4894,7 +4873,10 @@ const eventRegistrationManifest = createBlockManifest({
|
|
|
4894
4873
|
baseClass: "",
|
|
4895
4874
|
spacing: "spacious",
|
|
4896
4875
|
children: sectionContainer([
|
|
4897
|
-
text({
|
|
4876
|
+
text({
|
|
4877
|
+
as: "h2",
|
|
4878
|
+
className: "event-registration__heading"
|
|
4879
|
+
}, bind("content.heading"), when("content.heading")),
|
|
4898
4880
|
richText({ className: "rb-prose rb-max-w-none" }, bind("content.description"), when("content.description")),
|
|
4899
4881
|
eventRegistration(withApiBindings({
|
|
4900
4882
|
demoEmailSuppressed: { $bind: {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { _n as staticHeaderChromeRuntime } from "../shop.interactive-
|
|
3
|
+
import { _n as staticHeaderChromeRuntime } from "../shop.interactive-DNRqG4aX.mjs";
|
|
4
4
|
import { r as indexRenderableMediaAssets } from "../renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
5
|
-
import { Cr as renderAudio, Or as resolveMediaNodeResponsiveImage, Sr as mediaImageHostProps, br as MediaPlaceholder, vr as RichText, wr as renderVideo, xr as computeMediaTransformStyle, yr as ImagePresets } from "../display-
|
|
6
|
-
import { n as BookingFormNodeClient } from "../booking-form.client-
|
|
5
|
+
import { Cr as renderAudio, Or as resolveMediaNodeResponsiveImage, Sr as mediaImageHostProps, br as MediaPlaceholder, vr as RichText, wr as renderVideo, xr as computeMediaTransformStyle, yr as ImagePresets } from "../display-Cf_j5stk.mjs";
|
|
6
|
+
import { n as BookingFormNodeClient } from "../booking-form.client-Ce-mQZ7W.mjs";
|
|
7
7
|
import { mn as formatCurrencyAmount } from "../noop-D5mFWXtN.mjs";
|
|
8
8
|
import { p as assertNever } from "../creditProducts-KYMVIH3J.mjs";
|
|
9
|
-
import { t as EventRegistrationBlockClient } from "../event-registration.client-
|
|
10
|
-
import { i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "../DemoBookingPortalAccess-
|
|
11
|
-
import { F as markEditableSurfaceForwarding, I as splitPositioningClasses, P as composeHeaderSectionWrapperClassName, c as HeaderSectionFrame, d as accordionIconColorStyle, f as resolveAccordionIconStyle, i as WeeklySlotAvailabilityView, kn as ICON_CONFIG, l as accordionItemPartSlots, n as runtimeBackedBlockModes, o as LocationMapSSR, r as runtimeBackedBlockServerEntries, t as serverComponentRegistry, u as accordionLookAttributes } from "../registry.server-
|
|
12
|
-
import { f as Text } from "../timetableModel-
|
|
9
|
+
import { t as EventRegistrationBlockClient } from "../event-registration.client-zbuX36aA.mjs";
|
|
10
|
+
import { i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "../DemoBookingPortalAccess-1p-pJ1lg.mjs";
|
|
11
|
+
import { F as markEditableSurfaceForwarding, I as splitPositioningClasses, P as composeHeaderSectionWrapperClassName, c as HeaderSectionFrame, d as accordionIconColorStyle, f as resolveAccordionIconStyle, i as WeeklySlotAvailabilityView, kn as ICON_CONFIG, l as accordionItemPartSlots, n as runtimeBackedBlockModes, o as LocationMapSSR, r as runtimeBackedBlockServerEntries, t as serverComponentRegistry, u as accordionLookAttributes } from "../registry.server-DdTJyar2.mjs";
|
|
12
|
+
import { f as Text } from "../timetableModel-DZArznD_.mjs";
|
|
13
13
|
import { o as getRuntimeTimeZone } from "../useAvailableSlots-CUVRD1nx.mjs";
|
|
14
14
|
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-CNlesLfF.mjs";
|
|
15
15
|
import "../accessibleSurfaces-DN8it_Cx.mjs";
|
|
16
16
|
import { S as clsx } from "../ThemedButton-DuaYtnvG.mjs";
|
|
17
|
-
import { t as ShopClient } from "../shop.client-
|
|
17
|
+
import { t as ShopClient } from "../shop.client-BTtZqNmv.mjs";
|
|
18
18
|
import { t as FeedbackMessage } from "../FeedbackMessage-CSJrAuXH.mjs";
|
|
19
19
|
import { t as CarouselSlideContent } from "../carousel.shared-BFQ3kBEw.mjs";
|
|
20
20
|
import { t as coerceRichTextDoc } from "../richText-coerce-C32cRQ03.mjs";
|
|
21
21
|
import { t as createLucideIcon } from "../createLucideIcon-BrXgHVKN.mjs";
|
|
22
22
|
import { t as CarouselNodeClient } from "../carousel.client-h65clfUO.mjs";
|
|
23
|
-
import { t as EventDetailsIslandClient } from "../event-details.client-
|
|
24
|
-
import { t as ProductListClient } from "../product-list.client-
|
|
25
|
-
import { t as ProductDetailClient } from "../product-detail.client-
|
|
26
|
-
import { t as CartClient } from "../cart.client-
|
|
27
|
-
import { t as CheckoutClient } from "../checkout.client-
|
|
28
|
-
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-
|
|
29
|
-
import { t as EventListingClient } from "../EventListing.client-
|
|
30
|
-
import { n as EventCombinedIslandClient } from "../EventCombined.client-
|
|
31
|
-
import { t as EventCalendarClient } from "../EventCalendar.client-
|
|
32
|
-
import { t as FormNodeClient } from "../form.client-
|
|
33
|
-
import { t as NewsletterFormClient } from "../newsletter-form.client-
|
|
34
|
-
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-
|
|
23
|
+
import { t as EventDetailsIslandClient } from "../event-details.client-D7Oz1q2L.mjs";
|
|
24
|
+
import { t as ProductListClient } from "../product-list.client-LKpzC7pj.mjs";
|
|
25
|
+
import { t as ProductDetailClient } from "../product-detail.client-CNzeFnFf.mjs";
|
|
26
|
+
import { t as CartClient } from "../cart.client-C23E6WQ5.mjs";
|
|
27
|
+
import { t as CheckoutClient } from "../checkout.client-DJOzqb26.mjs";
|
|
28
|
+
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-5GD5o4Mt.mjs";
|
|
29
|
+
import { t as EventListingClient } from "../EventListing.client-DL3gGGmF.mjs";
|
|
30
|
+
import { n as EventCombinedIslandClient } from "../EventCombined.client-DK3aaz62.mjs";
|
|
31
|
+
import { t as EventCalendarClient } from "../EventCalendar.client-CDkkP-Lv.mjs";
|
|
32
|
+
import { t as FormNodeClient } from "../form.client-CL6fF0cW.mjs";
|
|
33
|
+
import { t as NewsletterFormClient } from "../newsletter-form.client-Bb7GAZpO.mjs";
|
|
34
|
+
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-DRVx_XLi.mjs";
|
|
35
35
|
import * as React$1 from "react";
|
|
36
36
|
import React, { createContext, createElement, startTransition, useContext, useEffect, useMemo, useReducer, useRef } from "react";
|
|
37
37
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { On as unsafeAsContentEntryId } from "./shop.interactive-
|
|
2
|
+
import { On as unsafeAsContentEntryId } from "./shop.interactive-DNRqG4aX.mjs";
|
|
3
3
|
import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, o as parseCanonicalMediaIdentifier, s as parseMediaIdentifier, t as buildRenderableMediaAssetIndex } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { Ac as sanitizeHref, Dr as resolveImageUrlWithContext$1, Ea as resolveDateRuntimeContext, Ec as asLayoutVariantKey, Er as resolveImageUrl$1, Go as componentRuntimeRulesForSiteStyle, Jc as offeringLabelForPageSurfaceSubject, Jo as requireCuratedSiteStyle, Ko as designRuntimeRulesForSiteStyle, Qo as surfaceResolutionContextFromTheme, Rs as appearancePresets, Ta as readRuntimeNow, Tc as asDesignBlockId, Tr as resolveImageSourceSetWithContext$1, Ur as parseInlineTextFromUnknown, Vo as buildInitialPolicyPageDesignIntent, Vr as inlineTextToPlainText, Wr as plainTextToInlineText, cl as unsafeAsEventCategoryId, ps as parsePageDesignIntent, vr as RichText$2, wc as asAppearancePresetId, xr as computeMediaTransformStyle } from "./display-Cf_j5stk.mjs";
|
|
5
5
|
import { Dt as isRecord, Ot as EVENT_PRESET_VALUES, X as buildRichTextSchema, Z as createRichTextDoc, it as runtimeMediaSchema, ln as toUtcIsoDateTimeString, nt as mediaSchema, rt as persistableMediaSchema } from "./noop-D5mFWXtN.mjs";
|
|
6
|
-
import { $ as flowRepeaterGridItems, A as prefetchBlockDataWithFailures, B as getBlockDefinition, C as resolveSdkBlockManifest, D as MISSING_SDK_THEME_ERROR_CODE, E as resolveSiteCustomBlocks, F as resolveAuthoredLinkHref, G as admitTransportedRenderableManifestContent, H as siteFooterManifest, I as isRouteVisibleInStage, J as admitLayoutGridForPlan, K as compileManifestContentContract, L as normalizeRenderStage, M as makeDefaultBlockComponent, N as renderBlock, O as MissingSdkThemeError, P as getDefaultComponentRegistry, Q as projectRepeaterGridLayoutForRendering$1, R as resolveRouteHrefForStage, S as readInvalidBlockAdmission, T as siteBlockRenderContext, U as siteHeaderManifest, V as systemBlockDefinitions, W as blockDesignCapabilityMapFromDefinitions, X as fieldPlanToZod, Y as deriveFieldValidationPlan, Z as projectRepeaterGridLayout$1, _ as buildRenderablePageOutline, a as solvedInksForThemeRuntime, at as buildPageDesignEditorReadModel, b as invalidRenderableBlock$1, c as MissingBlockOverrideError, d as buildThemeRuntime, et as normalizeRepeaterGridSpan, f as parseBlocksTheme, g as blockDesignInputsForDefinition, h as resolveRuntimeJoinFacts, i as renderWithSdkThemeRuntime, it as parseListLook, k as requireSdkTheme, l as PageRenderer, lt as readPublishedBlockPlacement, m as isEntryBoundBlockEmpty, n as planLayoutThemeRuntime, nt as isRecord$1, o as ThemeScope, ot as applyCompiledRuntimeFieldsToContent, p as applyBindingsToContent, q as registeredManifestContentContract, r as renderWithOverrideOnlyRuntime, s as EditorPageRenderer, st as compileEditorModelRuntime, t as Page, tt as resolveRepeaterGridAcceptedSpans, u as toBlocksPageRendererDataContext, v as buildSiteRenderSupport, w as sanitizeSdkRuntimeBlockContent, x as projectRenderablePageOutline, y as collectMediaAssetSidecar, z as allOutlineBlocks } from "./Page
|
|
7
|
-
import { Bn as isCanonicalRichTextDoc, Fn as resolveRepeaterGridColumnFieldId, In as resolveRepeaterGridRowFieldId, Ln as resolveRepeaterGridSpanFieldId, zt as parseFieldDefinition } from "./registry.server-
|
|
8
|
-
import {
|
|
9
|
-
import { l as parseBackgroundContent } from "./boxStyleClassNames-CNDLpT06.mjs";
|
|
6
|
+
import { $ as flowRepeaterGridItems, A as prefetchBlockDataWithFailures, B as getBlockDefinition, C as resolveSdkBlockManifest, D as MISSING_SDK_THEME_ERROR_CODE, E as resolveSiteCustomBlocks, F as resolveAuthoredLinkHref, G as admitTransportedRenderableManifestContent, H as siteFooterManifest, I as isRouteVisibleInStage, J as admitLayoutGridForPlan, K as compileManifestContentContract, L as normalizeRenderStage, M as makeDefaultBlockComponent, N as renderBlock, O as MissingSdkThemeError, P as getDefaultComponentRegistry, Q as projectRepeaterGridLayoutForRendering$1, R as resolveRouteHrefForStage, S as readInvalidBlockAdmission, T as siteBlockRenderContext, U as siteHeaderManifest, V as systemBlockDefinitions, W as blockDesignCapabilityMapFromDefinitions, X as fieldPlanToZod, Y as deriveFieldValidationPlan, Z as projectRepeaterGridLayout$1, _ as buildRenderablePageOutline, a as solvedInksForThemeRuntime, at as buildPageDesignEditorReadModel, b as invalidRenderableBlock$1, c as MissingBlockOverrideError, d as buildThemeRuntime, et as normalizeRepeaterGridSpan, f as parseBlocksTheme, g as blockDesignInputsForDefinition, h as resolveRuntimeJoinFacts, i as renderWithSdkThemeRuntime, it as parseListLook, k as requireSdkTheme, l as PageRenderer, lt as readPublishedBlockPlacement, m as isEntryBoundBlockEmpty, n as planLayoutThemeRuntime, nt as isRecord$1, o as ThemeScope, ot as applyCompiledRuntimeFieldsToContent, p as applyBindingsToContent, q as registeredManifestContentContract, r as renderWithOverrideOnlyRuntime, s as EditorPageRenderer, st as compileEditorModelRuntime, t as Page, tt as resolveRepeaterGridAcceptedSpans, u as toBlocksPageRendererDataContext, v as buildSiteRenderSupport, w as sanitizeSdkRuntimeBlockContent, x as projectRenderablePageOutline, y as collectMediaAssetSidecar, z as allOutlineBlocks } from "./Page-BpeP9xdt.mjs";
|
|
7
|
+
import { Bn as isCanonicalRichTextDoc, Fn as resolveRepeaterGridColumnFieldId, In as resolveRepeaterGridRowFieldId, Ln as resolveRepeaterGridSpanFieldId, zt as parseFieldDefinition } from "./registry.server-DdTJyar2.mjs";
|
|
8
|
+
import { l as parseBackgroundContent } from "./boxStyleClassNames-CrE3TDpW.mjs";
|
|
10
9
|
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-Fusweriw.mjs";
|
|
11
10
|
import { n as toBlocksImageResolveContextInput, r as toBlocksMediaAssets } from "./mediaAssets-B99AP7ai.mjs";
|
|
12
11
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Oa as createHostedBlockApiConfig } from "./display-Cf_j5stk.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-mpBQt2AT.mjs";
|
|
3
|
+
import { t as ShopClient } from "./shop.client-BTtZqNmv.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-Nky6kPYr.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/shop.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("shop");
|
|
7
7
|
const enhance = (root, props) => {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { u as getShopDisplayForItems } from "./shop.interactive-
|
|
3
|
-
import { a as buildProductDetailDisplay, g as deriveCommerceCheckoutState, h as buildProductCartItem, i as buildProductCardDisplay, s as formatCommercePrice, v as productItemKey, vr as RichText } from "./display-
|
|
2
|
+
import { u as getShopDisplayForItems } from "./shop.interactive-DNRqG4aX.mjs";
|
|
3
|
+
import { a as buildProductDetailDisplay, g as deriveCommerceCheckoutState, h as buildProductCartItem, i as buildProductCardDisplay, s as formatCommercePrice, v as productItemKey, vr as RichText } from "./display-Cf_j5stk.mjs";
|
|
4
4
|
import { _ as clearWorkflowFeedback, p as assertNever, v as reportWorkflowError } from "./creditProducts-KYMVIH3J.mjs";
|
|
5
|
-
import { i as SiteTermsChangedNotice, l as DiscountCodeDisclosure, n as DemoBookingPortalAccess, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "./DemoBookingPortalAccess-
|
|
5
|
+
import { i as SiteTermsChangedNotice, l as DiscountCodeDisclosure, n as DemoBookingPortalAccess, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "./DemoBookingPortalAccess-1p-pJ1lg.mjs";
|
|
6
6
|
import { n as useBlockApi } from "./context-CNlesLfF.mjs";
|
|
7
7
|
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
8
|
-
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-
|
|
8
|
+
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CvIP5DCO.mjs";
|
|
9
9
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
|
|
10
|
-
import { a as isDiscountApplyInFlight, c as consumeSearchParam, i as initialDiscountApplyState, n as getAppliedDiscountCode, o as ShopAddFeedback, r as getDiscountApplyFeedback, s as useTransientShopAddFeedback, t as discountApplyReducer } from "./shop-discount-apply.state-
|
|
10
|
+
import { a as isDiscountApplyInFlight, c as consumeSearchParam, i as initialDiscountApplyState, n as getAppliedDiscountCode, o as ShopAddFeedback, r as getDiscountApplyFeedback, s as useTransientShopAddFeedback, t as discountApplyReducer } from "./shop-discount-apply.state-D0ifS6KX.mjs";
|
|
11
11
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
12
12
|
import { t as coerceRichTextDoc } from "./richText-coerce-C32cRQ03.mjs";
|
|
13
|
-
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 { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-BvuYmQJ5.mjs";
|
|
14
14
|
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-BVbLD4pi.mjs";
|
|
15
|
-
import { c as planUnifiedCheckoutRequest, i as checkoutFormForDiscountUiState, n as useDiscountApply, o as planCartDiscountAvailabilityRequests, r as aggregateCartDiscountUiState } from "./useDiscountApply-
|
|
15
|
+
import { c as planUnifiedCheckoutRequest, i as checkoutFormForDiscountUiState, n as useDiscountApply, o as planCartDiscountAvailabilityRequests, r as aggregateCartDiscountUiState } from "./useDiscountApply-BBnStWXU.mjs";
|
|
16
16
|
import { t as CarouselNodeClient } from "./carousel.client-h65clfUO.mjs";
|
|
17
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
17
|
+
import { n as useCommerceCart } from "./shop-commerce-store-BOmXFmk_.mjs";
|
|
18
18
|
import * as React$1 from "react";
|
|
19
19
|
import { useEffect, useState } from "react";
|
|
20
20
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { _ as parseStoredCommerceCartState, m as buildPassCartItem, p as EMPTY_COMMERCE_CART_STATE, y as reduceCommerceCart } from "./display-
|
|
2
|
+
import { _ as parseStoredCommerceCartState, m as buildPassCartItem, p as EMPTY_COMMERCE_CART_STATE, y as reduceCommerceCart } from "./display-Cf_j5stk.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,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { p as assertNever } from "./creditProducts-KYMVIH3J.mjs";
|
|
3
3
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
4
|
-
import { a as normalizeManualDiscountCode } from "./useDiscountApply-
|
|
4
|
+
import { a as normalizeManualDiscountCode } from "./useDiscountApply-BBnStWXU.mjs";
|
|
5
5
|
import * as React$1 from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/shared/utils/urlParams.ts
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { _ as shopProductPresentation } from "./shop.interactive-
|
|
3
|
-
import { c as formatInterval,
|
|
2
|
+
import { _ as shopProductPresentation } from "./shop.interactive-DNRqG4aX.mjs";
|
|
3
|
+
import { c as formatInterval, s as formatCommercePrice, vi as getShopSuccessCopy } from "./display-Cf_j5stk.mjs";
|
|
4
4
|
import { A as assertNever$1, p as assertNever } from "./creditProducts-KYMVIH3J.mjs";
|
|
5
|
-
import { i as SiteTermsChangedNotice, l as DiscountCodeDisclosure, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
5
|
+
import { i as SiteTermsChangedNotice, l as DiscountCodeDisclosure, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-1p-pJ1lg.mjs";
|
|
6
6
|
import { n as useBlockApi } from "./context-CNlesLfF.mjs";
|
|
7
7
|
import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
8
8
|
import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
|
|
9
9
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
10
|
-
import { a as isDiscountApplyInFlight, i as initialDiscountApplyState, l as consumeSearchParams, n as getAppliedDiscountCode, o as ShopAddFeedback, r as getDiscountApplyFeedback, s as useTransientShopAddFeedback, t as discountApplyReducer } from "./shop-discount-apply.state-
|
|
10
|
+
import { a as isDiscountApplyInFlight, i as initialDiscountApplyState, l as consumeSearchParams, n as getAppliedDiscountCode, o as ShopAddFeedback, r as getDiscountApplyFeedback, s as useTransientShopAddFeedback, t as discountApplyReducer } from "./shop-discount-apply.state-D0ifS6KX.mjs";
|
|
11
11
|
import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
|
|
12
12
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
13
13
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
14
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
14
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-d7viY_mu.mjs";
|
|
15
15
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
16
|
-
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-
|
|
16
|
+
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-BvuYmQJ5.mjs";
|
|
17
17
|
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-BVbLD4pi.mjs";
|
|
18
|
-
import { n as useDiscountApply, s as planDirectShopCheckoutRequest } from "./useDiscountApply-
|
|
18
|
+
import { n as useDiscountApply, s as planDirectShopCheckoutRequest } from "./useDiscountApply-BBnStWXU.mjs";
|
|
19
19
|
import { t as CarouselNodeClient } from "./carousel.client-h65clfUO.mjs";
|
|
20
20
|
import { r as formatEntitlementEnd } from "./dateFormatting-B73Ll0s4.mjs";
|
|
21
|
-
import { t as addPassToCommerceCart } from "./shop-commerce-store-
|
|
21
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store-BOmXFmk_.mjs";
|
|
22
22
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
23
23
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
24
24
|
//#region ../blocks/src/system/runtime/shared/components/ActionRow.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as parseUuidBrand, f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { $r as formatEventCompactDateRail, Bc as parseMailingListRuntimeContext, Bs as assertNever, Ca as blockButtonRoleSchema, Cr as renderAudio, Ct as toRegistrationEvents, D as registrationStepLabel, Da as browserReadAuthoritySchema, E as registrationRoute, Ea as resolveDateRuntimeContext, Fa as bookingPageKindSchema, Gc as parseMailchimpAudienceId, Ha as resolveEventRegistrationScopedEvents, Hc as DEFAULT_MAILING_LIST_PRIVACY_NOTE, Ia as buildInteractiveIslandProps, Ic as nextLiveRunSessionStartMs, Jr as eventDateOptions, Kc as parseMailchimpInterestId, Kr as eventCalendarWeekStart, La as createInteractiveIslandCodec, N as isRegistrationLocked, Na as pageNavigationSchema, Nn as formatRegistrationSchedule, O as registrationStepLabelContext, Or as resolveMediaNodeResponsiveImage, Qs as toNonEmptyReadonlyArray, Ra as defineInteractiveIslandMetaKeys, Rc as resolveWholeSeriesBookingPhase, S as getEventSelectionMode, Sr as mediaImageHostProps, Tt as toWholeSeriesRegistrationEvents, Uc as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, Va as resolveEventRegistrationChoices, Vn as withOccurrenceTitle, Wc as parseBrevoListId, Xc as formatBookingPriceDisplay, Yc as EVENT_PRESET_VOCABULARY, Yr as eventLocalDateKey, Zc as formatEventPricing, _a as eventLayoutSchema, _r as shownVenue, a as buildProductDetailDisplay, b as resolveSelectedProduct, ba as registrationButtonVariantSchema, br as MediaPlaceholder, da as bookingNowSchema, do as groupPublicEventsByRun, dt as resolveEventRequiresPayment, el as publicEventPricingDisplay, fa as calendarTabViewsSchema, fo as createZodCodec, g as deriveCommerceCheckoutState, ga as eventCalendarDisplayModeSchema, go as listItemPresentation, gr as resolveRegistrationDisplay, ha as eventCalendarDefaultViewSchema, hc as cardRoleSchema, ho as isDecodeSuccess, hr as registrationDisplaySchema, kn as formatBookingWhen, li as resolveRuntimeEventDestination, lo as selectEventCapacitySource, lt as findPreSelectedEvent, ma as eventButtonVariantSchema, mo as defineProgressiveBlockRuntime, mr as placesLeftLabel, n as buildCheckoutDisplay, o as buildProductListDisplay, pa as columnOptionSchema, po as defineClientOwnedBlockRuntime, pr as bookingPresentation, qc as parseNewsletterListId, qr as eventDateLocale, r as buildPassesMembershipsDisplay, ro as formatRemainingPlaces, sl as parseEventSeriesId, so as getRemainingPlaces, t as buildCartDisplay, va as filterAutoShowSchema, vo as listLookSlot, vr as RichText, wr as renderVideo, wt as toWholeSeriesRegistrationEvent, x as REGISTRATION_STEP_LABELS, xa as weekStartSchema, xr as computeMediaTransformStyle, ya as previewStageSchema, yo as lookListPresentationSchemaShape, yr as ImagePresets, za as eventRegistrationPageSurfaceSubjectSchema, zc as resolveWholeSeriesRunLifecycle, zo as resolveModeArrangement } from "./display-Cf_j5stk.mjs";
|
|
4
4
|
import { B as publicEventSchema, Bt as formatDate, Ct as publicEventLoaderQuerySchemaShape, R as publicEventDestinationSchema, S as isEventCalendarListLayout, St as eventSurfaceScopeValues, Vt as formatDateRange, Wt as formatTime, Zt as buildBookingUtcDateWindow, _t as purchasablePublicPassProductSchema, an as resolveBookingBusinessTimeZone, bt as eventScheduleScopeValues, cn as parseUtcIsoDateTimeString, g as eventCalendarListGroupingDecision, gt as purchasablePublicMembershipProductSchema, ht as publicProductSchema, ln as toUtcIsoDateTimeString, mt as publicPassProductSchema, n as blockSiteTermsSchema, nn as getLocalScheduleDate, on as resolveBookingTimeZoneId, p as calendarWindowPageSchema, pt as publicMembershipProductSchema, qt as inferSiteDateLocale, rn as parseBookingLocalDate, v as eventCalendarVariantMeaning, w as resolveEventCalendarReadPlan, xt as eventSurfacePresetValues, y as eventListArrangementValues } from "./noop-D5mFWXtN.mjs";
|
|
5
5
|
import { A as assertNever$2, p as assertNever$1 } from "./creditProducts-KYMVIH3J.mjs";
|
|
6
6
|
import { d as formatDateKey, h as getWeekCalendarDayTuple, l as buildCalendarViewport, r as groupItemsByDate, s as addDays } from "./src-xrjaKaCj.mjs";
|
|
@@ -520,7 +520,7 @@ function normalizeEventStaffMemberId(value) {
|
|
|
520
520
|
//#region ../blocks/src/system/runtime/nodes/events/domain/pricing.ts
|
|
521
521
|
/**
|
|
522
522
|
* Format event price for display.
|
|
523
|
-
* @returns "Free", "£25", "£12–£25", "Free
|
|
523
|
+
* @returns "Free", "£25", "£12–£25", "Free or £12–£25", "£220 for the course", etc.
|
|
524
524
|
*
|
|
525
525
|
* Events render compact amounts (no trailing ".00"); the actual ADT→string
|
|
526
526
|
* mapping lives in `formatBookingPriceDisplay` in @riverbankcms/core so all
|
|
@@ -2490,7 +2490,7 @@ const copy = {
|
|
|
2490
2490
|
},
|
|
2491
2491
|
completed: {
|
|
2492
2492
|
titleText: "These dates have finished",
|
|
2493
|
-
bodyText: "
|
|
2493
|
+
bodyText: "The details are kept here for reference."
|
|
2494
2494
|
},
|
|
2495
2495
|
"enrolment-closed": {
|
|
2496
2496
|
titleText: "Booking closed",
|
|
@@ -3500,9 +3500,10 @@ function buildEventRegistrationDisplayFromScopedEvents(source, scopedSourceEvent
|
|
|
3500
3500
|
className: eventRegistrationRootClassName(source) ?? null,
|
|
3501
3501
|
...closedRunCopy(phase.reason)
|
|
3502
3502
|
};
|
|
3503
|
-
const
|
|
3503
|
+
const choices = resolveEventRegistrationChoices(scopedSourceEvents, source, new Date(source.now));
|
|
3504
|
+
const card = bookingCardDisplay(source, choices, display);
|
|
3504
3505
|
if (card) return card;
|
|
3505
|
-
const stepLabels = buildEventRegistrationShellStepLabels(source,
|
|
3506
|
+
const stepLabels = buildEventRegistrationShellStepLabels(source, choices);
|
|
3506
3507
|
return {
|
|
3507
3508
|
kind: "event-registration",
|
|
3508
3509
|
state: "generic-shell",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as BlockApiProvider } from "./context-CNlesLfF.mjs";
|
|
3
3
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
4
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
4
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-8cfSgT0E.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/rendering/islands/enhancers/shopShared.tsx
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Ea as resolveDateRuntimeContext, Hr as isInlineTextEmpty, Jr as eventDateOptions, Qr as formatEventClockLabel, Ur as parseInlineTextFromUnknown, ci as resolveEventTimeZone, co as isEventFull, ii as formatEventTimeRange, no as formatEventRemainingPlaces, oo as getEventAvailabilityStatus, si as groupEventsByDate, vr as RichText } from "./display-Cf_j5stk.mjs";
|
|
3
3
|
import { Bt as formatDate, Xt as toScheduledBookingDateTime, Yt as formatBookingCompactEnglishTime, in as parseLocalScheduleTime } from "./noop-D5mFWXtN.mjs";
|
|
4
4
|
import { A as assertNever } from "./creditProducts-KYMVIH3J.mjs";
|
|
5
5
|
import { t as LocationMapActions } from "./LocationMapActions-BJT7MqP2.mjs";
|
|
6
6
|
import { d as formatDateKey, f as getDayOfWeek, i as buildTimetableModel$1, v as isToday } from "./src-xrjaKaCj.mjs";
|
|
7
7
|
import { q as textColorStyle } from "./accessibleSurfaces-DN8it_Cx.mjs";
|
|
8
8
|
import { C as parseThemeButtonVariantId, S as clsx, i as ThemedButtonLink, n as ThemedAuthoredButton, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
9
|
-
import { c as resolveEventLinkProps, n as eventDisplayTitleText } from "./course-
|
|
9
|
+
import { c as resolveEventLinkProps, n as eventDisplayTitleText } from "./course-DHIrXqNT.mjs";
|
|
10
10
|
import { r as readableMapDrawing, t as AdmittedMapDrawingSvg } from "./MapDrawingSvg-DCIwlON6.mjs";
|
|
11
|
-
import { l as formatEventTeacherLine } from "./EventItem-
|
|
12
|
-
import { t as CalendarNavigationChevron } from "./CalendarNavigationChevron-
|
|
11
|
+
import { l as formatEventTeacherLine } from "./EventItem-WeUipfIP.mjs";
|
|
12
|
+
import { t as CalendarNavigationChevron } from "./CalendarNavigationChevron-Az1-TIEI.mjs";
|
|
13
13
|
import { t as coerceRichTextDoc } from "./richText-coerce-C32cRQ03.mjs";
|
|
14
14
|
import "react";
|
|
15
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
|
-
import { z } from "zod";
|
|
17
16
|
//#region ../core/src/opening-hours.ts
|
|
18
17
|
const openingHoursWeekdayLabels = {
|
|
19
18
|
monday: "Monday",
|
|
@@ -66,142 +65,6 @@ function formatOpeningHoursRows(hours, options = {}) {
|
|
|
66
65
|
return weekdays.length > 1 ? [...rows.slice(0, -1), row] : [...rows, row];
|
|
67
66
|
}, []);
|
|
68
67
|
}
|
|
69
|
-
const inlineTextMarkSchema = z.discriminatedUnion("kind", [
|
|
70
|
-
z.object({ kind: z.literal("strong") }),
|
|
71
|
-
z.object({ kind: z.literal("emphasis") }),
|
|
72
|
-
z.object({
|
|
73
|
-
kind: z.literal("accent"),
|
|
74
|
-
tone: z.enum([
|
|
75
|
-
"accent",
|
|
76
|
-
"brand",
|
|
77
|
-
"contrast"
|
|
78
|
-
])
|
|
79
|
-
}),
|
|
80
|
-
z.object({
|
|
81
|
-
kind: z.literal("highlight"),
|
|
82
|
-
tone: z.enum([
|
|
83
|
-
"soft",
|
|
84
|
-
"accent",
|
|
85
|
-
"brand"
|
|
86
|
-
])
|
|
87
|
-
})
|
|
88
|
-
]);
|
|
89
|
-
const inlineTextRunSchema = z.object({
|
|
90
|
-
text: z.string(),
|
|
91
|
-
marks: z.array(inlineTextMarkSchema).optional()
|
|
92
|
-
});
|
|
93
|
-
z.array(inlineTextRunSchema);
|
|
94
|
-
const MARK_ORDER = {
|
|
95
|
-
strong: 0,
|
|
96
|
-
emphasis: 1,
|
|
97
|
-
accent: 2,
|
|
98
|
-
highlight: 3
|
|
99
|
-
};
|
|
100
|
-
function plainTextToInlineText(value) {
|
|
101
|
-
return normalizeInlineText(value.length > 0 ? [{ text: value }] : []);
|
|
102
|
-
}
|
|
103
|
-
function inlineTextToPlainText(value) {
|
|
104
|
-
return value.map((run) => run.text).join("");
|
|
105
|
-
}
|
|
106
|
-
function isInlineTextEmpty(value) {
|
|
107
|
-
return inlineTextToPlainText(value).trim().length === 0;
|
|
108
|
-
}
|
|
109
|
-
function coerceInlineTextWithFallback(value, fallbackPlainText) {
|
|
110
|
-
const parsed = parseInlineTextFromUnknown(value);
|
|
111
|
-
if (parsed.ok && !isInlineTextEmpty(parsed.value)) return parsed.value;
|
|
112
|
-
if (fallbackPlainText && fallbackPlainText.length > 0) return plainTextToInlineText(fallbackPlainText);
|
|
113
|
-
return parsed.ok ? parsed.value : [];
|
|
114
|
-
}
|
|
115
|
-
function parseInlineTextFromUnknown(value) {
|
|
116
|
-
if (!Array.isArray(value)) return {
|
|
117
|
-
ok: false,
|
|
118
|
-
error: { kind: "not-array" }
|
|
119
|
-
};
|
|
120
|
-
const runs = [];
|
|
121
|
-
for (let index = 0; index < value.length; index += 1) {
|
|
122
|
-
const parsed = inlineTextRunSchema.safeParse(value[index]);
|
|
123
|
-
if (!parsed.success) return {
|
|
124
|
-
ok: false,
|
|
125
|
-
error: {
|
|
126
|
-
kind: "invalid-run",
|
|
127
|
-
index
|
|
128
|
-
}
|
|
129
|
-
};
|
|
130
|
-
runs.push(parsed.data);
|
|
131
|
-
}
|
|
132
|
-
return {
|
|
133
|
-
ok: true,
|
|
134
|
-
value: normalizeInlineText(runs)
|
|
135
|
-
};
|
|
136
|
-
}
|
|
137
|
-
function normalizeInlineText(value) {
|
|
138
|
-
const normalized = [];
|
|
139
|
-
for (const run of value) {
|
|
140
|
-
if (run.text.length === 0) continue;
|
|
141
|
-
const marks = normalizeInlineTextMarks(run.marks ?? []);
|
|
142
|
-
const nextRun = marks.length > 0 ? {
|
|
143
|
-
text: run.text,
|
|
144
|
-
marks
|
|
145
|
-
} : { text: run.text };
|
|
146
|
-
const previous = normalized[normalized.length - 1];
|
|
147
|
-
if (previous && inlineTextMarksEqual(previous.marks ?? [], nextRun.marks ?? [])) {
|
|
148
|
-
normalized[normalized.length - 1] = previous.marks && previous.marks.length > 0 ? {
|
|
149
|
-
text: previous.text + nextRun.text,
|
|
150
|
-
marks: previous.marks
|
|
151
|
-
} : { text: previous.text + nextRun.text };
|
|
152
|
-
continue;
|
|
153
|
-
}
|
|
154
|
-
normalized.push(nextRun);
|
|
155
|
-
}
|
|
156
|
-
return normalized;
|
|
157
|
-
}
|
|
158
|
-
function normalizeInlineTextMarks(marks) {
|
|
159
|
-
let strong = null;
|
|
160
|
-
let emphasis = null;
|
|
161
|
-
let accent = null;
|
|
162
|
-
let highlight = null;
|
|
163
|
-
for (const mark of marks) switch (mark.kind) {
|
|
164
|
-
case "strong":
|
|
165
|
-
strong = { kind: "strong" };
|
|
166
|
-
break;
|
|
167
|
-
case "emphasis":
|
|
168
|
-
emphasis = { kind: "emphasis" };
|
|
169
|
-
break;
|
|
170
|
-
case "accent":
|
|
171
|
-
accent = {
|
|
172
|
-
kind: "accent",
|
|
173
|
-
tone: mark.tone
|
|
174
|
-
};
|
|
175
|
-
break;
|
|
176
|
-
case "highlight":
|
|
177
|
-
highlight = {
|
|
178
|
-
kind: "highlight",
|
|
179
|
-
tone: mark.tone
|
|
180
|
-
};
|
|
181
|
-
break;
|
|
182
|
-
}
|
|
183
|
-
return [
|
|
184
|
-
strong,
|
|
185
|
-
emphasis,
|
|
186
|
-
accent,
|
|
187
|
-
highlight
|
|
188
|
-
].filter((mark) => mark !== null).sort((left, right) => MARK_ORDER[left.kind] - MARK_ORDER[right.kind]);
|
|
189
|
-
}
|
|
190
|
-
function inlineTextMarksEqual(left, right) {
|
|
191
|
-
const normalizedLeft = normalizeInlineTextMarks(left);
|
|
192
|
-
const normalizedRight = normalizeInlineTextMarks(right);
|
|
193
|
-
if (normalizedLeft.length !== normalizedRight.length) return false;
|
|
194
|
-
return normalizedLeft.every((mark, index) => inlineTextMarkEqual(mark, normalizedRight[index]));
|
|
195
|
-
}
|
|
196
|
-
function inlineTextMarkEqual(left, right) {
|
|
197
|
-
if (!right || left.kind !== right.kind) return false;
|
|
198
|
-
switch (left.kind) {
|
|
199
|
-
case "strong":
|
|
200
|
-
case "emphasis": return true;
|
|
201
|
-
case "accent": return right.kind === "accent" && left.tone === right.tone;
|
|
202
|
-
case "highlight": return right.kind === "highlight" && left.tone === right.tone;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
68
|
//#endregion
|
|
206
69
|
//#region ../path-utils/src/index.ts
|
|
207
70
|
const PATH_SEPARATOR_REGEX = /\./g;
|
|
@@ -981,4 +844,4 @@ function formatDayLabel(date, timeZone, options) {
|
|
|
981
844
|
}), options);
|
|
982
845
|
}
|
|
983
846
|
//#endregion
|
|
984
|
-
export { CalendarRecurringWeek as a, LinkNode as c, LocationMapView as d, Text as f,
|
|
847
|
+
export { CalendarRecurringWeek as a, LinkNode as c, LocationMapView as d, Text as f, buildWeekBoardViewProps as i, RichTextNode as l, WeekBoardView as n, RecurringSchedule as o, buildWeekBoardNavigationState as r, ButtonNode as s, buildTimetableModel as t, TextNode as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
3
|
-
import { d as discountAvailabilityHasDiscounts, f as getAutoAppliedDiscountPreview, u as discountAvailabilityAllowsManualEntry } from "./DemoBookingPortalAccess-
|
|
3
|
+
import { d as discountAvailabilityHasDiscounts, f as getAutoAppliedDiscountPreview, u as discountAvailabilityAllowsManualEntry } from "./DemoBookingPortalAccess-1p-pJ1lg.mjs";
|
|
4
4
|
import { useCallback } from "react";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/shop-checkout-form.ts
|
|
6
6
|
const EMAIL_PATTERN = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|