@riverbankcms/sdk 0.166.0 → 0.167.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/CHANGELOG.md +7 -0
- package/README.md +5 -0
- package/dist/_dts/{BlocksIslandsHydrator-CPvN6RBW.d.ts → BlocksIslandsHydrator-Dgb-ptph.d.ts} +1 -1
- package/dist/_dts/{Page-rW0xgQCA.d.ts → Page-Bs3WxFgr.d.ts} +8 -8
- package/dist/_dts/{SdkPreviewMode-BWZh2WCk.d.ts → SdkPreviewMode-DtUCsaHY.d.ts} +2 -2
- package/dist/_dts/{client-D4BXQEZc.d.ts → client-CwsI23pj.d.ts} +9 -1
- package/dist/_dts/{content-types-MUzta0l9.d.ts → content-types-CAeP_-cV.d.ts} +2 -2
- package/dist/_dts/{contracts-Cl9Xh1DO.d.ts → contracts-BXHCiF-b.d.ts} +8 -5
- package/dist/_dts/{footerPageOutline-4BgLKehl.d.ts → footerPageOutline-Bb2gbppW.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-BsmJ0qKh.d.ts → generatePageMetadata-DaBBDx7M.d.ts} +2 -2
- package/dist/_dts/{index-ahxQCUc7.d.ts → index-5_jf52sZ.d.ts} +2 -2
- package/dist/_dts/{index-Bmboeb49.d.ts → index-C20yUyob.d.ts} +1 -1
- package/dist/_dts/{index-DdcwPqQN.d.ts → index-CS6b1B-c.d.ts} +4 -4
- package/dist/_dts/{index-wbBZ0awa.d.ts → index-ChpjHK0U.d.ts} +498 -74
- package/dist/_dts/{index-kQ5xkM6X.d.ts → index-D7EbliE3.d.ts} +1 -1
- package/dist/_dts/{index--qflsCiy.d.ts → index-DeHDwMfu.d.ts} +3 -3
- package/dist/_dts/{index-mMMvLLAJ.d.ts → index-RugyUnqR.d.ts} +207 -11
- package/dist/_dts/{index-BgJ2aU5c.d.ts → index-bDln38Hm.d.ts} +2 -2
- package/dist/_dts/{loadContent-BG5IAV-V.d.ts → loadContent-CTqcL7CS.d.ts} +7 -7
- package/dist/_dts/{resolveBlockData-Cmcle_zV.d.ts → resolveBlockData-C3s9WMPs.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BRJUTFoH.d.ts → resolvePageContent-JPwgRxwh.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 +6 -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 +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 +8 -5
- 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-DuiHLiPo.d.ts → types-BlaCuPLr.d.ts} +2 -2
- package/dist/_dts/{types-BX3Y-EW3.d.ts → types-CwtTcaQP.d.ts} +3 -3
- package/dist/_dts/{types-DF54stxv.d.ts → types-D-WElMCy.d.ts} +7 -7
- package/dist/_dts/{validation-Bxi0f81D.d.ts → validation-Y5wD9fGK.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DwiRGtgh.mjs → BlocksIslandsHydrator-DFqkx158.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-DOWOZYlK.mjs → BookingMailingListNote-CCVXX1LN.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-5a0x0vcC.mjs → CalendarNavigationChevron-DQwJ7BPx.mjs} +165 -16
- package/dist/client/{DemoBookingPortalAccess-B2qLkPRB.mjs → DemoBookingPortalAccess-DdkY86qI.mjs} +3 -3
- package/dist/client/{EventCalendar.client-BhADnDCg.mjs → EventCalendar.client-DAeQPV76.mjs} +10 -29
- package/dist/client/{EventCombined.client-jik34zTb.mjs → EventCombined.client-Bus9R0bj.mjs} +136 -60
- package/dist/client/{EventItem-CMKrtkT7.mjs → EventItem-DPBLjGwj.mjs} +53 -6
- package/dist/client/{EventListWeekNavigation-AGHjxy6C.mjs → EventListWeekNavigation-D6cwU82_.mjs} +1 -1
- package/dist/client/{EventListing.client-DZeDM0Qt.mjs → EventListing.client-Bogi_SnJ.mjs} +3 -3
- package/dist/client/{EventListing.view-3BBRdNVa.mjs → EventListing.view-CEumpN7i.mjs} +13 -40
- package/dist/client/{EventRegistrationPayment-CpNcpga4.mjs → EventRegistrationPayment-CIQw6vNy.mjs} +13 -8
- package/dist/client/{LocationMapActions-D5-H9ooQ.mjs → LocationMapActions-BVO-qx4q.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-C30geMl-.mjs → MapDrawingSvg-CcGaFawl.mjs} +22 -2
- package/dist/client/{Page-DNDZLRlB.mjs → Page-D4_H_u9V.mjs} +22658 -21604
- package/dist/client/{StepIndicator-Bin7YR0A.mjs → StepIndicator-Dptantmg.mjs} +1 -1
- package/dist/client/{TabBarFragment-_IAthZVM.mjs → TabBarFragment-BxEGsKUx.mjs} +18 -18
- package/dist/client/{accordion-uVqNowRX.mjs → accordion--EUHmEGa.mjs} +1 -1
- package/dist/client/{booking-form.client-w-PvyWBv.mjs → booking-form.client-BCXwOnhc.mjs} +9 -9
- package/dist/client/{bookingForm-DNMojb6A.mjs → bookingForm-sHHcdism.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-C8kxI3Dm.mjs → carousel-Cp9xPBFZ.mjs} +1 -1
- package/dist/client/{cart-DCxjE3Is.mjs → cart-CCZZC-Lq.mjs} +3 -3
- package/dist/client/{cart.client-Ceeng8fB.mjs → cart.client-B7JfA19I.mjs} +1 -1
- package/dist/client/{checkout-B0EKbeVv.mjs → checkout-CipmYL4A.mjs} +3 -3
- package/dist/client/{checkout.client-DtPj3fYk.mjs → checkout.client-DraalWdH.mjs} +1 -1
- package/dist/client/client.mjs +89 -6
- package/dist/client/{context-n6IZigd3.mjs → context-Cv3QHjAF.mjs} +4 -1
- package/dist/client/{cta-CDeAwYoN.mjs → cta-P2vJVTEn.mjs} +1 -1
- package/dist/client/{dateFormatting-BWPzdeZE.mjs → dateFormatting-D8D47VT4.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BdXu0fj-.mjs → demoPortalMagicLink-CXWZoV-d.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-VHfv8M6-.mjs → enhanceHeaderSection-BkAro1DJ.mjs} +3 -3
- package/dist/client/{event-details.client-Cfr1_Cj4.mjs → event-details.client-dLmyuPap.mjs} +1 -1
- package/dist/client/{event-registration.client-BhygihpQ.mjs → event-registration.client-BEhC2_-Y.mjs} +11 -14
- package/dist/client/{eventCalendar-B4XCL9u6.mjs → eventCalendar-FBMS2Cpb.mjs} +4 -4
- package/dist/client/{eventCombined-DVjz4wdf.mjs → eventCombined-BrBhUvGe.mjs} +4 -4
- package/dist/client/{eventDetails-B0DA1Nw1.mjs → eventDetails-C7WUrbZ2.mjs} +2 -2
- package/dist/client/{eventListing-2-xjn2nz.mjs → eventListing-Bih-BgQM.mjs} +4 -4
- package/dist/client/{eventRegistration-ng4iGo9O.mjs → eventRegistration-DfTlqGbl.mjs} +4 -4
- package/dist/client/{form-BeNQiZ2V.mjs → form-Bw1uuiUs.mjs} +3 -3
- package/dist/client/{form.client-BFdCKlp7.mjs → form.client-pZ-9gN33.mjs} +3 -3
- package/dist/client/{form.parts-C7gLK3jh.mjs → form.parts-PXlu6XQO.mjs} +1 -1
- package/dist/client/{formatDate-CWfelfMt.mjs → formatDate-DI3DP48e.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-CalNAShx.mjs → headerSection-BpJYUMd6.mjs} +2 -2
- package/dist/client/{newsletter-form.client-Dq7GHGXU.mjs → newsletter-form.client-CSoP0cGR.mjs} +4 -4
- package/dist/client/{newsletter-form.parts-BSMDYQiS.mjs → newsletter-form.parts-DDbX_Sj0.mjs} +1 -1
- package/dist/client/{newsletterForm-snzZ4L6i.mjs → newsletterForm-vCxYRar_.mjs} +3 -3
- package/dist/client/{noop-D-RG9eR3.mjs → noop-ByVtIWf4.mjs} +28 -4
- package/dist/client/portal/client.mjs +8 -8
- package/dist/client/{product-detail.client-Gu0INDb7.mjs → product-detail.client-7Pi6avM-.mjs} +1 -1
- package/dist/client/{product-list.client-BmH40fNf.mjs → product-list.client-DEad-Pma.mjs} +1 -1
- package/dist/client/{productDetail-DsPUmJ0z.mjs → productDetail-G1SMXG13.mjs} +3 -3
- package/dist/client/{productList-DjGrjOwD.mjs → productList-B21TGdpT.mjs} +3 -3
- package/dist/client/{propsDecoder-kTVPMnfD.mjs → propsDecoder-B3vIBkex.mjs} +3 -4
- package/dist/client/{registry.server-CKK_RXZo.mjs → registry.server-B8aQhJpO.mjs} +205 -178
- package/dist/client/rendering/client.mjs +25 -25
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-BcjTX-7h.mjs → richText-coerce-DHkBtO0G.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CaXesATK.mjs → routeIslandApiConfig-DbHX4JOS.mjs} +1 -1
- package/dist/client/{shop-commerce-BxYYXLNK.mjs → shop-commerce-B2UmrQg_.mjs} +9 -9
- package/dist/client/{shop-commerce-store-Dp3Nl5YK.mjs → shop-commerce-store-B7n-Z7nY.mjs} +1 -1
- package/dist/client/{shop-DLufMauE.mjs → shop-mqyoOvOK.mjs} +3 -3
- package/dist/client/{shop.client-CBy9_alG.mjs → shop.client-BH-BBnA9.mjs} +10 -10
- package/dist/client/{shop.interactive-BM0NRsFQ.mjs → shop.interactive-mdM3UMWG.mjs} +30 -6
- package/dist/client/{shopShared-lS23OQE-.mjs → shopShared-CXF5wxdg.mjs} +2 -2
- package/dist/client/site-styles-CMCUxsIM.mjs +3 -0
- package/dist/client/{site-styles-DELkUk9s.mjs → site-styles-D56hT2u1.mjs} +1637 -406
- package/dist/client/{timetableModel-DzRWikCU.mjs → timetableModel-CrC80EOG.mjs} +11 -156
- package/dist/client/{useAvailableSlots-C3LphWDX.mjs → useAvailableSlots-C4LOaI_Z.mjs} +2 -2
- package/dist/client/{useBookingNowIso-Da-f9iHw.mjs → useBookingNowIso-BDmWkYUW.mjs} +1 -1
- package/dist/client/{useDiscountApply-SLoWhcen.mjs → useDiscountApply-6Q0nToVA.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-D6a2BJij.mjs → useDiscountCodeUi-CM-DTX5X.mjs} +1 -1
- package/dist/client/{useEventPagination-Ccr4TZlm.mjs → useEventPagination-Bcs89BR5.mjs} +5 -5
- package/dist/client/{view-DAVEoe8A.mjs → view-BN-fxyfq.mjs} +16 -11
- package/dist/client/{view-8w4GA8rf.mjs → view-Dh2tGoS0.mjs} +3 -3
- package/dist/client/{wizardSteps-DNpajrAH.mjs → wizardSteps-DtkhwKXK.mjs} +17 -10
- package/dist/preview-next/client/{ArrangementLookControls-DY5TzhEa.mjs → ArrangementLookControls-D4VjPs-r.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-DdnhmdFO.mjs → PreviewEditorSidebar-Ckr2zk_L.mjs} +309 -111
- package/dist/preview-next/client/{PreviewEditorUI-C7ZmYE33.mjs → PreviewEditorUI-KOZgw_gS.mjs} +5 -5
- package/dist/preview-next/client/{PreviewShell-DnO38NaL.mjs → PreviewShell-CyO2V4kB.mjs} +58 -8
- package/dist/preview-next/client/{SdkPreviewModeRuntime-D2OtoRMB.mjs → SdkPreviewModeRuntime-DW3uKvNF.mjs} +7 -7
- package/dist/preview-next/client/{SiteChromeCustomizeButton-eIu2RejJ.mjs → SiteChromeCustomizeButton-CU9VD-7O.mjs} +17439 -16381
- package/dist/preview-next/client/{previewAssistantSlot-Bp1AlAxx.mjs → previewAssistantSlot-DBi-WybM.mjs} +2014 -381
- package/dist/preview-next/client/{previewChromeSurface-D2cREDJ5.mjs → previewChromeSurface-BhkUJst9.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DK0PUhLL.mjs → sdk-runtime-BjCb6lOn.mjs} +2 -2
- package/dist/preview-next/client/{useAutosaveStatus--Pw8vnef.mjs → useAutosaveStatus-CKxTaC3j.mjs} +1 -1
- package/dist/preview-next/client/{useBlockCustomizeControls-C1Rl73N4.mjs → useBlockCustomizeControls-B7MLTjBX.mjs} +1 -92
- package/dist/preview-next/client/{useOpenBlockForSetup-CL3842FM.mjs → useOpenBlockForSetup-BTUc0g9X.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-Bq7SUX3K.mjs → route-contract-Bv3nkdpV.mjs} +83 -0
- package/dist/server/{Block.shared-wXr7Iwhs.mjs → Block.shared-4fMqzltx.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-BI2mld9R.mjs → ThemeScopeCore-C72VC_lR.mjs} +756 -64
- package/dist/server/{accessibleSurfaces-CuN8U_iU.mjs → accessibleSurfaces-B_Y_dA20.mjs} +300 -97
- package/dist/server/{bindings-DjdUq9FR.mjs → bindings-ConMYJ2U.mjs} +1 -1
- package/dist/server/{client-07UeMDzA.mjs → client-Cot-H5fQ.mjs} +88 -5
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +1 -1
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-ClpaSlBb.mjs → loadContent-BkaWYEwt.mjs} +4 -4
- package/dist/server/{loadPage-BwtVqpaA.mjs → loadPage-kviUdH8c.mjs} +2 -2
- package/dist/server/metadata.mjs +5 -1
- package/dist/server/next/revalidate.mjs +9 -4
- package/dist/server/next.mjs +6 -6
- package/dist/server/{opaqueSurface-3YSDPtDe.mjs → opaqueSurface-BTnS09GS.mjs} +2 -2
- package/dist/server/{overrideResolution-Du_w3LY4.mjs → overrideResolution-itXZCXs7.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-BShULdc2.mjs → pageRenderPlan-CDyn7iLy.mjs} +132 -25
- package/dist/server/{pageRuntimeSupport-C4Dh5-mB.mjs → pageRuntimeSupport-DZ6cLxrM.mjs} +2 -2
- package/dist/server/{pageShared-HdKFBpaX.mjs → pageShared-Q_Vij87H.mjs} +11752 -11549
- package/dist/server/{parseThemeForPersistence-CJMrEkze.mjs → parseThemeForPersistence-CDrF51tJ.mjs} +2 -2
- package/dist/server/{prebuild-Cl-bkaMA.mjs → prebuild-DOG4MkOy.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-C4yUmz-r.mjs → prefetchBlockData-DlprLLsc.mjs} +3 -33
- package/dist/server/{registry-TFPJdGQi.mjs → registry-BPFcpn6k.mjs} +1326 -181
- 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-OHlOXlOE.mjs → resolveBlockData-BHvfGD4y.mjs} +1 -1
- package/dist/server/{resolveButtonColourStates-lry2ORwX.mjs → resolveButtonColourStates-OXFRGn5M.mjs} +15 -5
- package/dist/server/responseMedia-D8J3VAFs.mjs +115 -0
- package/dist/server/{schema-C2PqHrMo.mjs → schema-DEizlyi4.mjs} +4 -3
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +2 -2
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{validation-DIBFZeMB.mjs → validation-bl6WcAi_.mjs} +6 -6
- package/dist/server/{version-DZWZM1H6.mjs → version-BLXZ31S-.mjs} +1 -1
- package/dist/styles/index.css +696 -25
- package/package.json +1 -1
- package/dist/client/events-BmqPeeQm.mjs +0 -20
- package/dist/client/site-styles-D8jEPGxA.mjs +0 -3
- package/dist/server/publicProducts-W9hDRwjz.mjs +0 -64
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $t as
|
|
2
|
+
import { $t as MediaNodeServer, B as giftingBlockRuntime, Cn as DEFAULT_MAILING_LIST_TARGETING, Ct as buildEventCalendarInteractiveIslandProps, Et as eventCalendarBlockRuntime, F as buildNewsletterFormInteractiveIslandProps, H as publicGiftingOffersResponseSchema, I as newsletterBlockSubmissionMessage, Jt as listingEventCardProps, L as newsletterFormBlockRuntime, Mt as eventListingBlockRuntime, N as publicProductsResponseSchema, P as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, U as buildFormInteractiveIslandProps, W as formBlockRuntime, Y as eventRegistrationBlockRuntime, _ as shopProductPresentation, _n as publicMembershipProductCollectionSchema, a as buildShopInteractiveIslandProps, bn as assessMailingListTargeting, bt as buildEventCombinedListingDisplay, c as checkoutBlockRuntime, cn as formatEventPriceDisplay, ct as resolveOfferingsPreviewGroupCta, d as productDetailBlockRuntime, en as getCardOrientation, gn as splitSiteChromePlacementClasses, h as shopBlockRuntime, i as buildProductListInteractiveIslandProps, in as eventListWeekDays, jt as buildEventListingInteractiveIslandProps, kt as recurringScheduleProjectionSchema, lt as resolveOfferingsPreviewGroups, n as buildCheckoutInteractiveIslandProps, nn as Grid, nt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, o as cartBlockRuntime, on as formatEventPrice, ot as normalizeOfferingsPreviewItemLimit, p as productListBlockRuntime, pn as staticHeaderChromeRuntime, q as buildEventRegistrationInteractiveIslandProps, qt as catalogueEventCardProps, r as buildProductDetailInteractiveIslandProps, rn as buildEventListWeek, rt as buildOfferingsPreviewListing, st as offeringsListingFor, t as buildCartInteractiveIslandProps, tn as getContainerClass, ut as resolveOfferingsRenderInput, vn as publicPassProductCollectionSchema, vt as occurrenceContextSchema, wt as buildEventCalendarListingDisplay, xn as parseMailingListPlacementTargeting, xt as eventCombinedBlockRuntime, yt as buildEventCombinedInteractiveIslandProps, z as buildGiftingInteractiveIslandProps } from "./shop.interactive-mdM3UMWG.mjs";
|
|
3
3
|
import { h as ok, m as err } from "./surfaceTransportMarker-BXepAVF6.mjs";
|
|
4
|
-
import { $r as formatBookingPriceDisplay, Dn as getEventAvailabilityStatus, En as getEventAvailability, Er as resolveEventRegistrationScopedEvents, Hr as orderedLiveRunSessions, Kt as RichText, Lr as sanitizeHref, Mn as groupPublicEventsByRun, Nr as listLookSlot, Pn as buildBookingFormInteractiveIslandProps, Pr as lookListPresentationSchemaShape, Rr as parseAspectRatioValue, Sn as canJoinEventWaitlistOnAnyMode, Tr as normalizeEventRegistrationPageSurfaceSubject, Ur as resolveWholeSeriesBookingPhase, Vr as nextLiveRunSessionStartMs, _n as formatTime, bn as resolveRuntimeEventDestination, fn as formatEventCompactDateRail, gn as formatEventTimeRange, gr as BLOCK_BUTTON_ROLE_OPTIONS, in as buildCalendarViewport, jr as listItemPresentation, kn as isEventFull, ln as formatCalendarTitle, mn as formatEventHourLabel, oi as resolveExactOrFreePriceDisplay, qt as ImagePresets, rn as resolvePublicMediaUrl, si as resolvePricingOptionsPriceDisplay, sn as eventDateOptions, vn as groupEventsByDate, vr as isBlockButtonRole } from "./wizardSteps-
|
|
5
|
-
import {
|
|
4
|
+
import { $r as formatBookingPriceDisplay, Dn as getEventAvailabilityStatus, En as getEventAvailability, Er as resolveEventRegistrationScopedEvents, Hr as orderedLiveRunSessions, Kt as RichText, Lr as sanitizeHref, Mn as groupPublicEventsByRun, Nr as listLookSlot, Pn as buildBookingFormInteractiveIslandProps, Pr as lookListPresentationSchemaShape, Rr as parseAspectRatioValue, Sn as canJoinEventWaitlistOnAnyMode, Tr as normalizeEventRegistrationPageSurfaceSubject, Ur as resolveWholeSeriesBookingPhase, Vr as nextLiveRunSessionStartMs, _n as formatTime, bn as resolveRuntimeEventDestination, fn as formatEventCompactDateRail, gn as formatEventTimeRange, gr as BLOCK_BUTTON_ROLE_OPTIONS, in as buildCalendarViewport, jr as listItemPresentation, kn as isEventFull, ln as formatCalendarTitle, mn as formatEventHourLabel, oi as resolveExactOrFreePriceDisplay, qt as ImagePresets, rn as resolvePublicMediaUrl, si as resolvePricingOptionsPriceDisplay, sn as eventDateOptions, vn as groupEventsByDate, vr as isBlockButtonRole } from "./wizardSteps-DtkhwKXK.mjs";
|
|
5
|
+
import { A as isEventCalendarListLayout, E as eventCalendarVariantMeaning, F as normalizeEventCategoryIds, H as normalizeEventVenueId, It as toUtcIsoDateTimeString, J as publicEventsArraySchema, L as normalizeEventScheduleScope, Mt as resolveBookingBusinessTimeZone, O as isEventCalendarDefaultView, R as normalizeEventStaffMemberId, V as normalizeEventSurfaceScope, ct as parseLocationValue, dt as toLocationCoordinates, et as RichTextDocSchema, g as calendarWindowPageSchema, j as normalizeEventCalendarDisplayMode$1, k as isEventCalendarDisplayMode, lt as projectPublicLocation, pt as formatDate, st as normalizeLocationAddressText, ut as publicLocationSchema$1, w as eventCalendarListLayoutOptions, z as normalizeEventSurfacePresets } from "./noop-ByVtIWf4.mjs";
|
|
6
6
|
import { v as assertNever$1 } from "./src-DjnxOjXG.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,
|
|
10
|
-
import {
|
|
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-CrC80EOG.mjs";
|
|
10
|
+
import { Ai as mergeStyles, Ar as arrangementModes, Di as backgroundColorStyle, Ia as runtimeMediaSchema, N as compiledRuntimeStyleFieldNames, Ni as textColorStyle, Ti as resolveThemeColorReferenceValue, Ut as cardVariantRoleValues, ct as ICON_CONFIG, ji as rgbColorValue, m as arrangementSlotNames, mi as serializeSurfaceTree } from "./site-styles-D56hT2u1.mjs";
|
|
11
11
|
import { d as formatDateKey, h as getWeekCalendarDayTuple, m as getOrderedDayNames } from "./src-1PJxc8KO.mjs";
|
|
12
12
|
import { C as clsx, S as PlusIcon, _ as FileArchiveIcon, a as ThemedDownloadLink, b as FileTextIcon, c as ICON_PICKER_PRESETS, d as ArrowDownIcon, f as ChevronDownIcon, i as ThemedButtonLink, l as isSemanticIconId, m as CirclePlusIcon, p as CircleMinusIcon, r as ThemedButton, s as getIconComponent, u as SpinnerNode, v as FileAudioIcon, x as MinusIcon, y as FileSpreadsheetIcon } from "./ThemedButton-8jUc02mZ.mjs";
|
|
13
|
-
import { a as deriveEventScheduleSummary, i as eventCardListContent, n as resolveEventDetailsPresentation, o as derivePreviewRunSchedule, t as EventDetailsView } from "./view-
|
|
14
|
-
import { n as resolveEventCta, r as resolveEventLinkProps } from "./cta-
|
|
15
|
-
import {
|
|
16
|
-
import { n as CardListItems, r as EventItem } from "./EventItem-
|
|
17
|
-
import { i as
|
|
18
|
-
import { C as asPartialObject, _ as DEFAULT_SECTION_SPACING, a as EventCard, c as boxStyleClassNames, d as normalizeBoxStylesBorder, f as resolveCardRoleForBoxStyles, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-
|
|
13
|
+
import { a as deriveEventScheduleSummary, i as eventCardListContent, n as resolveEventDetailsPresentation, o as derivePreviewRunSchedule, t as EventDetailsView } from "./view-BN-fxyfq.mjs";
|
|
14
|
+
import { n as resolveEventCta, r as resolveEventLinkProps } from "./cta-P2vJVTEn.mjs";
|
|
15
|
+
import { i as SvgNode, o as formatEventLocation } from "./MapDrawingSvg-CcGaFawl.mjs";
|
|
16
|
+
import { n as CardListItems, r as EventItem } from "./EventItem-DPBLjGwj.mjs";
|
|
17
|
+
import { c as CalendarDayHeaders, i as CombinedLookFrame, l as buildMonthDay, n as WeekAgendaView, o as MonthLookView, u as resolveMonthSelectedDay } from "./CalendarNavigationChevron-DQwJ7BPx.mjs";
|
|
18
|
+
import { C as asPartialObject, _ as DEFAULT_SECTION_SPACING, a as EventCard, c as boxStyleClassNames, d as normalizeBoxStylesBorder, f as resolveCardRoleForBoxStyles, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-CEumpN7i.mjs";
|
|
19
19
|
import { t as resolveDedicatedBookingHref } from "./bookingRoute-Bqlyu5Vb.mjs";
|
|
20
20
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
21
21
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
22
22
|
import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, r as carouselContents, t as CarouselSlideContent, u as resolveSlidesToShowMobile } from "./carousel.shared-DBnWEJzo.mjs";
|
|
23
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
24
|
-
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-
|
|
25
|
-
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-
|
|
26
|
-
import { i as RegistrationClosedState, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-
|
|
27
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
28
|
-
import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-
|
|
23
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-DHkBtO0G.mjs";
|
|
24
|
+
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-Dh2tGoS0.mjs";
|
|
25
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-D6cwU82_.mjs";
|
|
26
|
+
import { i as RegistrationClosedState, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-Dptantmg.mjs";
|
|
27
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-PXlu6XQO.mjs";
|
|
28
|
+
import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-DDbX_Sj0.mjs";
|
|
29
29
|
import React, { forwardRef } from "react";
|
|
30
30
|
import { z } from "zod";
|
|
31
31
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1390,6 +1390,161 @@ function OfferingTitle({ className, path, title }) {
|
|
|
1390
1390
|
});
|
|
1391
1391
|
}
|
|
1392
1392
|
//#endregion
|
|
1393
|
+
//#region ../blocks/src/system/runtime/nodes/location-map.shared.ts
|
|
1394
|
+
/** Additive map DTO; hidden venues retain only their public name and area. */
|
|
1395
|
+
const publicVenueMapLocationSchema = publicLocationSchema$1.unwrap().extend({
|
|
1396
|
+
name: z.string().optional(),
|
|
1397
|
+
area: z.string().nullable().optional(),
|
|
1398
|
+
addressWithBooking: z.boolean().optional()
|
|
1399
|
+
}).readonly();
|
|
1400
|
+
const LOCATION_MAP_DEFAULTS = {
|
|
1401
|
+
zoom: 15,
|
|
1402
|
+
heightPx: 320,
|
|
1403
|
+
showAddressText: true,
|
|
1404
|
+
showDirections: true,
|
|
1405
|
+
directionsLabel: "Get directions"
|
|
1406
|
+
};
|
|
1407
|
+
const LOCATION_MAP_LIMITS = {
|
|
1408
|
+
zoom: {
|
|
1409
|
+
min: 3,
|
|
1410
|
+
max: 18
|
|
1411
|
+
},
|
|
1412
|
+
heightPx: {
|
|
1413
|
+
min: 200,
|
|
1414
|
+
max: 600
|
|
1415
|
+
}
|
|
1416
|
+
};
|
|
1417
|
+
function normalizeNumber(value, fallback) {
|
|
1418
|
+
if (typeof value === "number" && Number.isFinite(value)) return value;
|
|
1419
|
+
if (typeof value === "string") {
|
|
1420
|
+
const parsed = Number.parseFloat(value);
|
|
1421
|
+
if (Number.isFinite(parsed)) return parsed;
|
|
1422
|
+
}
|
|
1423
|
+
return fallback;
|
|
1424
|
+
}
|
|
1425
|
+
function normalizeBoolean$1(value, fallback) {
|
|
1426
|
+
if (typeof value === "boolean") return value;
|
|
1427
|
+
if (typeof value === "string") {
|
|
1428
|
+
if (value === "true") return true;
|
|
1429
|
+
if (value === "false") return false;
|
|
1430
|
+
}
|
|
1431
|
+
return fallback;
|
|
1432
|
+
}
|
|
1433
|
+
function normalizeLocationMapValue(value, siteCountry) {
|
|
1434
|
+
if (typeof value !== "object" || value === null) return null;
|
|
1435
|
+
const projected = readLocationMapProjection(value, siteCountry);
|
|
1436
|
+
return projected === null ? null : {
|
|
1437
|
+
addressText: projected.displayAddress,
|
|
1438
|
+
...projected.pin ?? {
|
|
1439
|
+
lat: null,
|
|
1440
|
+
lng: null
|
|
1441
|
+
},
|
|
1442
|
+
drawing: projected.drawing,
|
|
1443
|
+
doorNote: projected.doorNote
|
|
1444
|
+
};
|
|
1445
|
+
}
|
|
1446
|
+
function normalizeLocationMapSource(value) {
|
|
1447
|
+
return value === "business_address" || value === "venue" ? value : "custom";
|
|
1448
|
+
}
|
|
1449
|
+
function resolveLocationMapLocation(input) {
|
|
1450
|
+
const source = normalizeLocationMapSource(input.locationSource);
|
|
1451
|
+
if (source === "business_address") {
|
|
1452
|
+
const locationValue = normalizeLocationMapValue(input.businessAddress, input.siteCountry);
|
|
1453
|
+
return locationValue ? {
|
|
1454
|
+
kind: "business_address",
|
|
1455
|
+
locationValue
|
|
1456
|
+
} : {
|
|
1457
|
+
kind: "unresolved",
|
|
1458
|
+
source,
|
|
1459
|
+
reason: "missing_business_address"
|
|
1460
|
+
};
|
|
1461
|
+
}
|
|
1462
|
+
if (source === "venue") {
|
|
1463
|
+
const venueId = typeof input.venueId === "string" && input.venueId.trim() ? input.venueId.trim() : null;
|
|
1464
|
+
if (!venueId) return {
|
|
1465
|
+
kind: "unresolved",
|
|
1466
|
+
source,
|
|
1467
|
+
reason: "missing_venue_id"
|
|
1468
|
+
};
|
|
1469
|
+
const locationValue = input.venuesById ? normalizeLocationMapValue(input.venuesById[venueId] ?? null, input.siteCountry) : null;
|
|
1470
|
+
return locationValue ? {
|
|
1471
|
+
kind: "venue",
|
|
1472
|
+
venueId,
|
|
1473
|
+
locationValue
|
|
1474
|
+
} : {
|
|
1475
|
+
kind: "unresolved",
|
|
1476
|
+
source,
|
|
1477
|
+
reason: "missing_venue_location"
|
|
1478
|
+
};
|
|
1479
|
+
}
|
|
1480
|
+
const locationValue = normalizeLocationMapValue(input.location, input.siteCountry);
|
|
1481
|
+
return locationValue ? {
|
|
1482
|
+
kind: "custom",
|
|
1483
|
+
locationValue
|
|
1484
|
+
} : {
|
|
1485
|
+
kind: "unresolved",
|
|
1486
|
+
source,
|
|
1487
|
+
reason: "missing_custom_location"
|
|
1488
|
+
};
|
|
1489
|
+
}
|
|
1490
|
+
function describeUnresolvedLocationMapLocation(resolvedLocation) {
|
|
1491
|
+
if (resolvedLocation.kind !== "unresolved") return null;
|
|
1492
|
+
switch (resolvedLocation.reason) {
|
|
1493
|
+
case "missing_business_address": return "Business address details are not configured yet.";
|
|
1494
|
+
case "missing_venue_id": return "Choose a venue to show this map.";
|
|
1495
|
+
case "missing_venue_location": return "The selected venue does not have location details yet.";
|
|
1496
|
+
case "missing_custom_location": return "Location details coming soon.";
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
function normalizeLocationMapProps(input) {
|
|
1500
|
+
const parsedHours = parseWeeklyOpeningHours(input.openingHours);
|
|
1501
|
+
const resolvedLocation = resolveLocationMapLocation(input);
|
|
1502
|
+
const locationValue = resolvedLocation.kind === "unresolved" ? null : resolvedLocation.locationValue;
|
|
1503
|
+
const directionsLabel = normalizeLocationAddressText(input.directionsLabel) ?? LOCATION_MAP_DEFAULTS.directionsLabel;
|
|
1504
|
+
return {
|
|
1505
|
+
...locationMapDetails(locationValue),
|
|
1506
|
+
wider: input.wider === true,
|
|
1507
|
+
googleMapsLabel: normalizedGoogleMapsLabel(input.googleMapsLabel),
|
|
1508
|
+
resolvedLocation,
|
|
1509
|
+
locationValue,
|
|
1510
|
+
unresolvedMessage: describeUnresolvedLocationMapLocation(resolvedLocation),
|
|
1511
|
+
zoom: Math.min(LOCATION_MAP_LIMITS.zoom.max, Math.max(LOCATION_MAP_LIMITS.zoom.min, Math.round(normalizeNumber(input.zoom, LOCATION_MAP_DEFAULTS.zoom)))),
|
|
1512
|
+
heightPx: Math.min(LOCATION_MAP_LIMITS.heightPx.max, Math.max(LOCATION_MAP_LIMITS.heightPx.min, Math.round(normalizeNumber(input.heightPx, LOCATION_MAP_DEFAULTS.heightPx)))),
|
|
1513
|
+
openingHours: parsedHours.ok ? parsedHours.value : null,
|
|
1514
|
+
showOpeningHours: normalizeBoolean$1(input.showOpeningHours, true),
|
|
1515
|
+
showAddressText: normalizeBoolean$1(input.showAddressText, LOCATION_MAP_DEFAULTS.showAddressText),
|
|
1516
|
+
showDirections: normalizeBoolean$1(input.showDirections, LOCATION_MAP_DEFAULTS.showDirections),
|
|
1517
|
+
directionsLabel,
|
|
1518
|
+
className: typeof input.className === "string" ? input.className : null
|
|
1519
|
+
};
|
|
1520
|
+
}
|
|
1521
|
+
/** All render-ready permitted details come from the same resolved source value. */
|
|
1522
|
+
function locationMapDetails(value) {
|
|
1523
|
+
return {
|
|
1524
|
+
drawing: value?.drawing ?? null,
|
|
1525
|
+
doorNote: value?.doorNote ?? null,
|
|
1526
|
+
addressText: value?.addressText ?? null,
|
|
1527
|
+
location: toLocationCoordinates(value)
|
|
1528
|
+
};
|
|
1529
|
+
}
|
|
1530
|
+
function normalizedGoogleMapsLabel(value) {
|
|
1531
|
+
return normalizeLocationAddressText(value) ?? "Open in Google Maps";
|
|
1532
|
+
}
|
|
1533
|
+
function readLocationMapProjection(value, siteCountry) {
|
|
1534
|
+
const venue = publicVenueMapLocationSchema.safeParse(value);
|
|
1535
|
+
if (venue.success) return venue.data.addressWithBooking ? {
|
|
1536
|
+
...venue.data,
|
|
1537
|
+
address: null,
|
|
1538
|
+
displayAddress: venue.data.area ?? null,
|
|
1539
|
+
pin: null,
|
|
1540
|
+
doorNote: null,
|
|
1541
|
+
drawing: void 0
|
|
1542
|
+
} : venue.data;
|
|
1543
|
+
const canonical = parseLocationValue(value);
|
|
1544
|
+
if (canonical.ok && canonical.value !== null) return projectPublicLocation(canonical.value, siteCountry);
|
|
1545
|
+
return null;
|
|
1546
|
+
}
|
|
1547
|
+
//#endregion
|
|
1393
1548
|
//#region ../blocks/src/system/node/schema.ts
|
|
1394
1549
|
const transformStepSchema = z.object({
|
|
1395
1550
|
id: z.string().min(1, "Transform requires an identifier"),
|
|
@@ -5548,6 +5703,7 @@ const eventCalendarLayout = [styledSection({
|
|
|
5548
5703
|
listBy: { $bind: { from: "content.listBy" } },
|
|
5549
5704
|
bookingTimeZone: { $bind: { from: "$root.dateContext.timeZone" } },
|
|
5550
5705
|
dateContext: { $bind: { from: "$root.dateContext" } },
|
|
5706
|
+
combinedLook: { $bind: { from: "content._combinedLook" } },
|
|
5551
5707
|
monthArrangement: { $bind: { from: "content._lookMonthArrangement" } },
|
|
5552
5708
|
lookSlots: { $bind: { from: "content._lookSlots" } },
|
|
5553
5709
|
itemActionStyle: { $bind: { from: "content._effectiveKnobs.actionStyle.value" } },
|
|
@@ -7687,147 +7843,6 @@ const newsletterSignupBlockDefinition = {
|
|
|
7687
7843
|
runtime: newsletterFormBlockRuntime
|
|
7688
7844
|
};
|
|
7689
7845
|
//#endregion
|
|
7690
|
-
//#region ../blocks/src/system/runtime/nodes/location-map.shared.ts
|
|
7691
|
-
const LOCATION_MAP_DEFAULTS = {
|
|
7692
|
-
zoom: 15,
|
|
7693
|
-
heightPx: 320,
|
|
7694
|
-
showAddressText: true,
|
|
7695
|
-
showDirections: true,
|
|
7696
|
-
directionsLabel: "Get directions"
|
|
7697
|
-
};
|
|
7698
|
-
const LOCATION_MAP_LIMITS = {
|
|
7699
|
-
zoom: {
|
|
7700
|
-
min: 3,
|
|
7701
|
-
max: 18
|
|
7702
|
-
},
|
|
7703
|
-
heightPx: {
|
|
7704
|
-
min: 200,
|
|
7705
|
-
max: 600
|
|
7706
|
-
}
|
|
7707
|
-
};
|
|
7708
|
-
function normalizeNumber(value, fallback) {
|
|
7709
|
-
if (typeof value === "number" && Number.isFinite(value)) return value;
|
|
7710
|
-
if (typeof value === "string") {
|
|
7711
|
-
const parsed = Number.parseFloat(value);
|
|
7712
|
-
if (Number.isFinite(parsed)) return parsed;
|
|
7713
|
-
}
|
|
7714
|
-
return fallback;
|
|
7715
|
-
}
|
|
7716
|
-
function normalizeBoolean$1(value, fallback) {
|
|
7717
|
-
if (typeof value === "boolean") return value;
|
|
7718
|
-
if (typeof value === "string") {
|
|
7719
|
-
if (value === "true") return true;
|
|
7720
|
-
if (value === "false") return false;
|
|
7721
|
-
}
|
|
7722
|
-
return fallback;
|
|
7723
|
-
}
|
|
7724
|
-
function normalizeLocationMapValue(value, siteCountry) {
|
|
7725
|
-
if (typeof value !== "object" || value === null) return null;
|
|
7726
|
-
const projected = readLocationMapProjection(value, siteCountry);
|
|
7727
|
-
return projected === null ? null : {
|
|
7728
|
-
addressText: projected.displayAddress,
|
|
7729
|
-
...projected.pin ?? {
|
|
7730
|
-
lat: null,
|
|
7731
|
-
lng: null
|
|
7732
|
-
},
|
|
7733
|
-
drawing: projected.drawing,
|
|
7734
|
-
doorNote: projected.doorNote
|
|
7735
|
-
};
|
|
7736
|
-
}
|
|
7737
|
-
function normalizeLocationMapSource(value) {
|
|
7738
|
-
return value === "business_address" || value === "venue" ? value : "custom";
|
|
7739
|
-
}
|
|
7740
|
-
function resolveLocationMapLocation(input) {
|
|
7741
|
-
const source = normalizeLocationMapSource(input.locationSource);
|
|
7742
|
-
if (source === "business_address") {
|
|
7743
|
-
const locationValue = normalizeLocationMapValue(input.businessAddress, input.siteCountry);
|
|
7744
|
-
return locationValue ? {
|
|
7745
|
-
kind: "business_address",
|
|
7746
|
-
locationValue
|
|
7747
|
-
} : {
|
|
7748
|
-
kind: "unresolved",
|
|
7749
|
-
source,
|
|
7750
|
-
reason: "missing_business_address"
|
|
7751
|
-
};
|
|
7752
|
-
}
|
|
7753
|
-
if (source === "venue") {
|
|
7754
|
-
const venueId = typeof input.venueId === "string" && input.venueId.trim() ? input.venueId.trim() : null;
|
|
7755
|
-
if (!venueId) return {
|
|
7756
|
-
kind: "unresolved",
|
|
7757
|
-
source,
|
|
7758
|
-
reason: "missing_venue_id"
|
|
7759
|
-
};
|
|
7760
|
-
const locationValue = input.venuesById ? normalizeLocationMapValue(input.venuesById[venueId] ?? null, input.siteCountry) : null;
|
|
7761
|
-
return locationValue ? {
|
|
7762
|
-
kind: "venue",
|
|
7763
|
-
venueId,
|
|
7764
|
-
locationValue
|
|
7765
|
-
} : {
|
|
7766
|
-
kind: "unresolved",
|
|
7767
|
-
source,
|
|
7768
|
-
reason: "missing_venue_location"
|
|
7769
|
-
};
|
|
7770
|
-
}
|
|
7771
|
-
const locationValue = normalizeLocationMapValue(input.location, input.siteCountry);
|
|
7772
|
-
return locationValue ? {
|
|
7773
|
-
kind: "custom",
|
|
7774
|
-
locationValue
|
|
7775
|
-
} : {
|
|
7776
|
-
kind: "unresolved",
|
|
7777
|
-
source,
|
|
7778
|
-
reason: "missing_custom_location"
|
|
7779
|
-
};
|
|
7780
|
-
}
|
|
7781
|
-
function describeUnresolvedLocationMapLocation(resolvedLocation) {
|
|
7782
|
-
if (resolvedLocation.kind !== "unresolved") return null;
|
|
7783
|
-
switch (resolvedLocation.reason) {
|
|
7784
|
-
case "missing_business_address": return "Business address details are not configured yet.";
|
|
7785
|
-
case "missing_venue_id": return "Choose a venue to show this map.";
|
|
7786
|
-
case "missing_venue_location": return "The selected venue does not have location details yet.";
|
|
7787
|
-
case "missing_custom_location": return "Location details coming soon.";
|
|
7788
|
-
}
|
|
7789
|
-
}
|
|
7790
|
-
function normalizeLocationMapProps(input) {
|
|
7791
|
-
const parsedHours = parseWeeklyOpeningHours(input.openingHours);
|
|
7792
|
-
const resolvedLocation = resolveLocationMapLocation(input);
|
|
7793
|
-
const locationValue = resolvedLocation.kind === "unresolved" ? null : resolvedLocation.locationValue;
|
|
7794
|
-
const directionsLabel = normalizeLocationAddressText(input.directionsLabel) ?? LOCATION_MAP_DEFAULTS.directionsLabel;
|
|
7795
|
-
return {
|
|
7796
|
-
...locationMapDetails(locationValue),
|
|
7797
|
-
wider: input.wider === true,
|
|
7798
|
-
googleMapsLabel: normalizedGoogleMapsLabel(input.googleMapsLabel),
|
|
7799
|
-
resolvedLocation,
|
|
7800
|
-
locationValue,
|
|
7801
|
-
unresolvedMessage: describeUnresolvedLocationMapLocation(resolvedLocation),
|
|
7802
|
-
zoom: Math.min(LOCATION_MAP_LIMITS.zoom.max, Math.max(LOCATION_MAP_LIMITS.zoom.min, Math.round(normalizeNumber(input.zoom, LOCATION_MAP_DEFAULTS.zoom)))),
|
|
7803
|
-
heightPx: Math.min(LOCATION_MAP_LIMITS.heightPx.max, Math.max(LOCATION_MAP_LIMITS.heightPx.min, Math.round(normalizeNumber(input.heightPx, LOCATION_MAP_DEFAULTS.heightPx)))),
|
|
7804
|
-
openingHours: parsedHours.ok ? parsedHours.value : null,
|
|
7805
|
-
showOpeningHours: normalizeBoolean$1(input.showOpeningHours, true),
|
|
7806
|
-
showAddressText: normalizeBoolean$1(input.showAddressText, LOCATION_MAP_DEFAULTS.showAddressText),
|
|
7807
|
-
showDirections: normalizeBoolean$1(input.showDirections, LOCATION_MAP_DEFAULTS.showDirections),
|
|
7808
|
-
directionsLabel,
|
|
7809
|
-
className: typeof input.className === "string" ? input.className : null
|
|
7810
|
-
};
|
|
7811
|
-
}
|
|
7812
|
-
/** All render-ready permitted details come from the same resolved source value. */
|
|
7813
|
-
function locationMapDetails(value) {
|
|
7814
|
-
return {
|
|
7815
|
-
drawing: value?.drawing ?? null,
|
|
7816
|
-
doorNote: value?.doorNote ?? null,
|
|
7817
|
-
addressText: value?.addressText ?? null,
|
|
7818
|
-
location: toLocationCoordinates(value)
|
|
7819
|
-
};
|
|
7820
|
-
}
|
|
7821
|
-
function normalizedGoogleMapsLabel(value) {
|
|
7822
|
-
return normalizeLocationAddressText(value) ?? "Open in Google Maps";
|
|
7823
|
-
}
|
|
7824
|
-
function readLocationMapProjection(value, siteCountry) {
|
|
7825
|
-
const canonical = parseLocationValue(value);
|
|
7826
|
-
if (canonical.ok && canonical.value !== null) return projectPublicLocation(canonical.value, siteCountry);
|
|
7827
|
-
const projected = publicLocationSchema$1.safeParse(value);
|
|
7828
|
-
return projected.success ? projected.data : null;
|
|
7829
|
-
}
|
|
7830
|
-
//#endregion
|
|
7831
7846
|
//#region ../blocks/src/primitives/layout/Section.tsx
|
|
7832
7847
|
const Section = forwardRef(function Section({ as: Comp = "section", children, background, className = "", style, "data-slot": dataSlot, "data-arrangement": dataArrangement, "data-surface": dataSurface }, ref) {
|
|
7833
7848
|
return /* @__PURE__ */ jsx(Comp, {
|
|
@@ -10710,25 +10725,12 @@ function renderCombinedSsr(display, prefetchedEvents) {
|
|
|
10710
10725
|
return /* @__PURE__ */ jsxs("div", {
|
|
10711
10726
|
className: clsx("event-combined", display.className ?? void 0),
|
|
10712
10727
|
"data-block": "event-combined",
|
|
10713
|
-
children: [/* @__PURE__ */
|
|
10714
|
-
|
|
10715
|
-
|
|
10716
|
-
|
|
10717
|
-
|
|
10718
|
-
|
|
10719
|
-
"aria-selected": true,
|
|
10720
|
-
className: "nav-tab nav-tab--active",
|
|
10721
|
-
children: "List"
|
|
10722
|
-
}), /* @__PURE__ */ jsx("button", {
|
|
10723
|
-
type: "button",
|
|
10724
|
-
role: "tab",
|
|
10725
|
-
"aria-selected": false,
|
|
10726
|
-
className: "nav-tab",
|
|
10727
|
-
children: "Calendar"
|
|
10728
|
-
})]
|
|
10729
|
-
}), /* @__PURE__ */ jsx(EventListingFrameView, {
|
|
10730
|
-
display: listDisplay,
|
|
10731
|
-
renderEventCard: (event) => renderEventCard(event, listDisplay)
|
|
10728
|
+
children: [/* @__PURE__ */ jsx(CombinedSsrTabs, { look: display.combinedLook }), /* @__PURE__ */ jsx(CombinedLookFrame, {
|
|
10729
|
+
look: display.combinedLook?.list,
|
|
10730
|
+
children: /* @__PURE__ */ jsx(EventListingFrameView, {
|
|
10731
|
+
display: listDisplay,
|
|
10732
|
+
renderEventCard: (event) => renderEventCard(event, listDisplay)
|
|
10733
|
+
})
|
|
10732
10734
|
})]
|
|
10733
10735
|
});
|
|
10734
10736
|
}
|
|
@@ -11008,6 +11010,31 @@ const EventCalendarSSR = (props) => {
|
|
|
11008
11010
|
children: [/* @__PURE__ */ jsx(IslandPropsScript, { value: islandProps }), renderEventCalendarMode(islandProps.render.display, islandProps.render.hydration)]
|
|
11009
11011
|
});
|
|
11010
11012
|
};
|
|
11013
|
+
function CombinedSsrTabs({ look }) {
|
|
11014
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
11015
|
+
className: "nav-tabs",
|
|
11016
|
+
role: "tablist",
|
|
11017
|
+
...listLookSlot(look?.list ?? {}, "controls"),
|
|
11018
|
+
children: [/* @__PURE__ */ jsx("button", {
|
|
11019
|
+
type: "button",
|
|
11020
|
+
...listLookSlot(look?.list ?? {}, "control"),
|
|
11021
|
+
role: "tab",
|
|
11022
|
+
"data-current": look ? "true" : void 0,
|
|
11023
|
+
tabIndex: look ? 0 : void 0,
|
|
11024
|
+
"aria-selected": true,
|
|
11025
|
+
className: "nav-tab nav-tab--active",
|
|
11026
|
+
children: "List"
|
|
11027
|
+
}), /* @__PURE__ */ jsx("button", {
|
|
11028
|
+
type: "button",
|
|
11029
|
+
...listLookSlot(look?.list ?? {}, "control"),
|
|
11030
|
+
role: "tab",
|
|
11031
|
+
tabIndex: look ? -1 : void 0,
|
|
11032
|
+
"aria-selected": false,
|
|
11033
|
+
className: "nav-tab",
|
|
11034
|
+
children: "Calendar"
|
|
11035
|
+
})]
|
|
11036
|
+
});
|
|
11037
|
+
}
|
|
11011
11038
|
//#endregion
|
|
11012
11039
|
//#region ../blocks/src/system/runtime/nodes/events/EventListing.server.tsx
|
|
11013
11040
|
const EventListingSSR = (props) => {
|
|
@@ -11463,4 +11490,4 @@ const serverComponentRegistry = {
|
|
|
11463
11490
|
...buildServerRegistryFromEntries(runtimeBackedBlockServerEntries)
|
|
11464
11491
|
};
|
|
11465
11492
|
//#endregion
|
|
11466
|
-
export {
|
|
11493
|
+
export { styledContainer as $, resolveRepeaterGridRowFieldId as $t, cardListPhotoNumberFields as A, PUBLIC_DOWNLOAD_MEDIA_TYPES as At, normalizeMailingListBlockContent as B, DEFAULT_MEDIA_FIELD_KINDS as Bt, eventListingBlockDefinition as C, section as Ct, FEATURE_CARD_ICON_TREATMENTS as D, when as Dt, FEATURE_CARD_GENERATED_ICON_SIZE_PX as E, videoEmbed as Et, markEditableSurfaceForwarding as F, testimonialsReadiness as Ft, formCopyFragment as G, parseFieldDefinition as Gt, formDataSchema as H, createSdkSelectField as Ht, splitPositioningClasses as I, admitReadinessFacts as It, defineFragment as J, projectRepeaterGridLayoutForRendering as Jt, buildFragmentDataLoaders as K, parseFieldDefinitions as Kt, desktopOnlyDisplay as L, loadedReadinessFact as Lt, cardListSectionActionFields as M, chosenString as Mt, normalizeCardListContent as N, galleryReadiness as Nt, cardListSectionAction as O, withApiBindings as Ot, composeHeaderSectionWrapperClassName as P, teamReadiness as Pt, styledSection as Q, resolveRepeaterGridColumnsForBreakpoint as Qt, mobileOnlyDisplay as R, pageTemplateFromEntry as Rt, eventCalendarBlockDefinition as S, richText as St, eventRegistrationBlockDefinition as T, text as Tt, createBlockManifest as U, createSiteOptionSelectField as Ut, formBlockDefinition as V, PUBLIC_FILE_FIELD_KINDS as Vt, formEmbedFragment as W, normalizeSelectSource as Wt, sectionHeaderLayoutNodes as X, parseRepeaterGridInteger as Xt, sectionHeaderFields as Y, buildRepeaterGridLayout as Yt, resolveBackgroundColorValue as Z, resolveRepeaterGridColumnFieldId as Zt, checkoutBlockDefinition as _, createButtonGroup as _n, inline as _t, buildLoadedOfferingsPreviewListing as a, normalizeLocationMapSource as an, lookSkinSlotTransform as at, productListBlockDefinition as b, linkSchema as bn, props as bt, HeaderSectionFrame as c, columnsField as cn, bind as ct, accordionIconColorStyle as d, layoutField as dn, carousel as dt, resolveRepeaterGridSpanFieldId as en, sectionContainer as et, resolveAccordionIconStyle as f, cardStylesField as fn, el as ft, giftingBlockDefinition as g, getAnchorClasses as gn, icon as gt, sanitizeNewsletterSignupPublicContent as h, BACKGROUND_POSITION_PRESET_VALUES as hn, headerSection as ht, WeeklySlotAvailabilityView as i, normalizeLocationMapProps as in, lookQuoteLimitTransform as it, cardListPresentationBindings as j, augmentManifest as jt, cardListKnobFields as k, parseBlockIconValue as kt, accordionItemPartSlots as l, emptyStateField as ln, bookingForm as lt, newsletterSignupBlockDefinition as m, sectionStylesField as mn, form as mt, runtimeBackedBlockModes as n, LOCATION_MAP_DEFAULTS as nn, lookCarouselRegionTransform as nt, LocationMapSSR as o, resolveLocationMapLocation as on, lookSlot as ot, SectionNode as p, containerStylesField as pn, fileDownload as pt, composeFragments as q, projectRepeaterGridLayout as qt, runtimeBackedBlockServerEntries as r, LOCATION_MAP_LIMITS as rn, lookLeadSlotTransform as rt, buildAppointmentServicesView as s, cardStylingFields as sn, accordionList as st, serverComponentRegistry as t, bindingSchema as tn, backgroundFrame as tt, accordionLookAttributes as u, eventDisplayFields as un, button as ut, cartBlockDefinition as v, createButtonVariantField as vn, link as vt, mapDrawingStyleBinding as w, stack as wt, shopBlockDefinition as x, repeat as xt, productDetailBlockDefinition as y, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as yn, media as yt, teamMemberCardBiographyFallback as z, unavailableReadinessFact as zt };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
3
|
+
import { pn as staticHeaderChromeRuntime } from "../shop.interactive-mdM3UMWG.mjs";
|
|
4
4
|
import { a as indexRenderableMediaAssets } from "../surfaceTransportMarker-BXepAVF6.mjs";
|
|
5
|
-
import { Jt as MediaPlaceholder, Kt as RichText, Qt as renderVideo, Xt as mediaImageHostProps, Yt as computeMediaTransformStyle, Zt as renderAudio, nn as resolveMediaNodeResponsiveImage, qt as ImagePresets } from "../wizardSteps-
|
|
6
|
-
import { n as BookingFormNodeClient } from "../booking-form.client-
|
|
7
|
-
import {
|
|
8
|
-
import { o as getRuntimeTimeZone } from "../useAvailableSlots-
|
|
5
|
+
import { Jt as MediaPlaceholder, Kt as RichText, Qt as renderVideo, Xt as mediaImageHostProps, Yt as computeMediaTransformStyle, Zt as renderAudio, nn as resolveMediaNodeResponsiveImage, qt as ImagePresets } from "../wizardSteps-DtkhwKXK.mjs";
|
|
6
|
+
import { n as BookingFormNodeClient } from "../booking-form.client-BCXwOnhc.mjs";
|
|
7
|
+
import { Bt as formatCurrencyAmount } from "../noop-ByVtIWf4.mjs";
|
|
8
|
+
import { o as getRuntimeTimeZone } from "../useAvailableSlots-C4LOaI_Z.mjs";
|
|
9
9
|
import { t as assertNever } from "../src-DjnxOjXG.mjs";
|
|
10
|
-
import { i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "../DemoBookingPortalAccess-
|
|
11
|
-
import {
|
|
12
|
-
import { f as Text } from "../timetableModel-
|
|
13
|
-
import { t as EventRegistrationIslandClient } from "../event-registration.client-
|
|
14
|
-
import {
|
|
10
|
+
import { i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "../DemoBookingPortalAccess-DdkY86qI.mjs";
|
|
11
|
+
import { F as markEditableSurfaceForwarding, I as splitPositioningClasses, P as composeHeaderSectionWrapperClassName, c as HeaderSectionFrame, d as accordionIconColorStyle, f as resolveAccordionIconStyle, i as WeeklySlotAvailabilityView, l as accordionItemPartSlots, n as runtimeBackedBlockModes, o as LocationMapSSR, r as runtimeBackedBlockServerEntries, t as serverComponentRegistry, u as accordionLookAttributes } from "../registry.server-B8aQhJpO.mjs";
|
|
12
|
+
import { f as Text } from "../timetableModel-CrC80EOG.mjs";
|
|
13
|
+
import { t as EventRegistrationIslandClient } from "../event-registration.client-BEhC2_-Y.mjs";
|
|
14
|
+
import { ct as ICON_CONFIG } from "../site-styles-D56hT2u1.mjs";
|
|
15
15
|
import { C as clsx } from "../ThemedButton-8jUc02mZ.mjs";
|
|
16
|
-
import { t as ShopClient } from "../shop.client-
|
|
16
|
+
import { t as ShopClient } from "../shop.client-BH-BBnA9.mjs";
|
|
17
17
|
import { t as FeedbackMessage } from "../FeedbackMessage-CSJrAuXH.mjs";
|
|
18
18
|
import { t as CarouselSlideContent } from "../carousel.shared-DBnWEJzo.mjs";
|
|
19
|
-
import { t as coerceRichTextDoc } from "../richText-coerce-
|
|
20
|
-
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-
|
|
19
|
+
import { t as coerceRichTextDoc } from "../richText-coerce-DHkBtO0G.mjs";
|
|
20
|
+
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-Cv3QHjAF.mjs";
|
|
21
21
|
import { t as createLucideIcon } from "../createLucideIcon-CIbxe9em.mjs";
|
|
22
22
|
import { t as CarouselNodeClient } from "../carousel.client-BO7sCEpH.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-dLmyuPap.mjs";
|
|
24
|
+
import { t as ProductListClient } from "../product-list.client-DEad-Pma.mjs";
|
|
25
|
+
import { t as ProductDetailClient } from "../product-detail.client-7Pi6avM-.mjs";
|
|
26
|
+
import { t as CartClient } from "../cart.client-B7JfA19I.mjs";
|
|
27
|
+
import { t as CheckoutClient } from "../checkout.client-DraalWdH.mjs";
|
|
28
|
+
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-BkAro1DJ.mjs";
|
|
29
|
+
import { t as EventListingClient } from "../EventListing.client-Bogi_SnJ.mjs";
|
|
30
|
+
import { n as EventCombinedIslandClient } from "../EventCombined.client-Bus9R0bj.mjs";
|
|
31
|
+
import { t as EventCalendarClient } from "../EventCalendar.client-DAeQPV76.mjs";
|
|
32
|
+
import { t as FormNodeClient } from "../form.client-pZ-9gN33.mjs";
|
|
33
|
+
import { t as NewsletterFormClient } from "../newsletter-form.client-CSoP0cGR.mjs";
|
|
34
|
+
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-DFqkx158.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,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { c as parseCanonicalMediaIdentifier, i as renderableMediaAssetSchema, l as parseMediaIdentifier, o as resolveManagedMediaReference, r as buildRenderableMediaAssetIndex, s as mediaIdentifierSchema } from "./surfaceTransportMarker-BXepAVF6.mjs";
|
|
3
|
-
import { $t as resolveImageSourceSetWithContext$1, Kt as RichText$2, Lr as sanitizeHref, Yt as computeMediaTransformStyle, br as resolveDateRuntimeContext, en as resolveImageUrl$1, tn as resolveImageUrlWithContext$1, yr as readRuntimeNow } from "./wizardSteps-
|
|
4
|
-
import {
|
|
5
|
-
import { A as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
3
|
+
import { $t as resolveImageSourceSetWithContext$1, Kt as RichText$2, Lr as sanitizeHref, Yt as computeMediaTransformStyle, br as resolveDateRuntimeContext, en as resolveImageUrl$1, tn as resolveImageUrlWithContext$1, yr as readRuntimeNow } from "./wizardSteps-DtkhwKXK.mjs";
|
|
4
|
+
import { It as toUtcIsoDateTimeString, rt as isRecord } from "./noop-ByVtIWf4.mjs";
|
|
5
|
+
import { A as renderBlock, B as compileManifestContentContract, C as resolveSiteCustomBlocks, D as prefetchBlockDataWithFailures, E as requireSdkTheme, F as resolveRouteHrefForStage, G as readPublishedBlockPlacement, H as deriveFieldValidationPlan, I as getBlockDefinition, L as siteFooterManifest, M as resolveAuthoredLinkHref, N as isRouteVisibleInStage, P as normalizeRenderStage, R as siteHeaderManifest, S as siteLocationRenderContext, T as MissingSdkThemeError, V as admitLayoutGridForPlan, _ as invalidRenderableBlock, a as solvedInksForThemeRuntime, b as resolveSdkBlockManifest, c as MissingBlockOverrideError, d as buildThemeRuntime, f as parseBlocksTheme, g as collectMediaAssetSidecar, h as buildSiteRenderSupport, i as renderWithSdkThemeRuntime, j as getDefaultComponentRegistry, k as makeDefaultBlockComponent, l as PageRenderer, m as buildRenderablePageOutline, n as planLayoutThemeRuntime, o as ThemeScope, p as applyBindingsToContent, r as renderWithOverrideOnlyRuntime, s as EditorPageRenderer, t as Page, u as toBlocksPageRendererDataContext, v as projectRenderablePageOutline, w as MISSING_SDK_THEME_ERROR_CODE, x as sanitizeSdkRuntimeBlockContent, y as readInvalidBlockAdmission, z as admitTransportedRenderableManifestContent } from "./Page-D4_H_u9V.mjs";
|
|
6
|
+
import { Gt as parseFieldDefinition, Jt as projectRepeaterGridLayoutForRendering$1, qt as projectRepeaterGridLayout$1 } from "./registry.server-B8aQhJpO.mjs";
|
|
7
|
+
import { Fa as persistableMediaSchema, Ia as runtimeMediaSchema, Pa as mediaSchema } from "./site-styles-D56hT2u1.mjs";
|
|
8
8
|
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-BLo4NtjP.mjs";
|
|
9
9
|
import { n as toBlocksImageResolveContextInput, r as toBlocksMediaAssets } from "./mediaAssets-DpPauppt.mjs";
|
|
10
10
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { et as RichTextDocSchema, t as logger } from "./noop-ByVtIWf4.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/nodes/richText-coerce.ts
|
|
4
4
|
function parseRichTextDoc(value) {
|
|
5
5
|
const parsed = RichTextDocSchema.safeParse(value);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Wt as createHostedBlockApiConfig } from "./wizardSteps-
|
|
2
|
+
import { Wt as createHostedBlockApiConfig } from "./wizardSteps-DtkhwKXK.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,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { O as buildProductCartItem, b as buildProductDetailDisplay, j as productItemKey, k as deriveCommerceCheckoutState, u as getShopDisplayForItems, x as formatCommercePrice, y as buildProductCardDisplay } from "./shop.interactive-
|
|
3
|
-
import { Kt as RichText } from "./wizardSteps-
|
|
2
|
+
import { O as buildProductCartItem, b as buildProductDetailDisplay, j as productItemKey, k as deriveCommerceCheckoutState, u as getShopDisplayForItems, x as formatCommercePrice, y as buildProductCardDisplay } from "./shop.interactive-mdM3UMWG.mjs";
|
|
3
|
+
import { Kt as RichText } from "./wizardSteps-DtkhwKXK.mjs";
|
|
4
4
|
import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-DjnxOjXG.mjs";
|
|
5
|
-
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, n as DemoBookingPortalAccess, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "./DemoBookingPortalAccess-
|
|
5
|
+
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, n as DemoBookingPortalAccess, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "./DemoBookingPortalAccess-DdkY86qI.mjs";
|
|
6
6
|
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-8jUc02mZ.mjs";
|
|
7
7
|
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CYj06rX1.mjs";
|
|
8
8
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
|
|
9
|
-
import { a as initialDiscountApplyState, c as checkoutFormForDiscountUiState, d as planUnifiedCheckoutRequest, f as ShopAddFeedback, i as getDiscountApplyFeedback, l as planCartDiscountAvailabilityRequests, m as consumeSearchParam, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, s as aggregateCartDiscountUiState, t as useDiscountApply } from "./useDiscountApply-
|
|
9
|
+
import { a as initialDiscountApplyState, c as checkoutFormForDiscountUiState, d as planUnifiedCheckoutRequest, f as ShopAddFeedback, i as getDiscountApplyFeedback, l as planCartDiscountAvailabilityRequests, m as consumeSearchParam, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, s as aggregateCartDiscountUiState, t as useDiscountApply } from "./useDiscountApply-6Q0nToVA.mjs";
|
|
10
10
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
11
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
12
|
-
import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-
|
|
13
|
-
import { n as useBlockApi } from "./context-
|
|
14
|
-
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-
|
|
11
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-DHkBtO0G.mjs";
|
|
12
|
+
import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-Dh2tGoS0.mjs";
|
|
13
|
+
import { n as useBlockApi } from "./context-Cv3QHjAF.mjs";
|
|
14
|
+
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-CXWZoV-d.mjs";
|
|
15
15
|
import { t as CarouselNodeClient } from "./carousel.client-BO7sCEpH.mjs";
|
|
16
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
16
|
+
import { n as useCommerceCart } from "./shop-commerce-store-B7n-Z7nY.mjs";
|
|
17
17
|
import * as React$1 from "react";
|
|
18
18
|
import { useEffect, useState } from "react";
|
|
19
19
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A as parseStoredCommerceCartState, D as buildPassCartItem, E as EMPTY_COMMERCE_CART_STATE, M as reduceCommerceCart } from "./shop.interactive-
|
|
2
|
+
import { A as parseStoredCommerceCartState, D as buildPassCartItem, E as EMPTY_COMMERCE_CART_STATE, M as reduceCommerceCart } from "./shop.interactive-mdM3UMWG.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;
|