@riverbankcms/sdk 0.168.0 → 0.169.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-CiD_VVGM.d.ts → BlocksIslandsHydrator-DEhlJEwj.d.ts} +1 -1
- package/dist/_dts/{Page-Bj6VJRS5.d.ts → Page-BhCfStX1.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-ChpsnwDX.d.ts → SdkPreviewMode-DSYdsdmJ.d.ts} +2 -2
- package/dist/_dts/{client-C8mfUxrJ.d.ts → client-BZMn4Y99.d.ts} +39 -397
- package/dist/_dts/{content-types-_vXZyR4H.d.ts → content-types-EMK-E_r9.d.ts} +2 -2
- package/dist/_dts/{contracts-CJFfrVKU.d.ts → contracts-DjYsGY3B.d.ts} +4 -3
- package/dist/_dts/{footerPageOutline-CMegb23G.d.ts → footerPageOutline-BtYUi-m0.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-D9YdAIMh.d.ts → generatePageMetadata-D_fNTi5r.d.ts} +2 -2
- package/dist/_dts/{index-BQXaZ7aY.d.ts → index-BR0i0c3G.d.ts} +4 -4
- package/dist/_dts/{index-Bpr-wT5k.d.ts → index-BV-qVnt7.d.ts} +2 -2
- package/dist/_dts/{index-C7_Rz8EY.d.ts → index-BYYhTQ_b.d.ts} +3 -3
- package/dist/_dts/{index-Vh8B9FSa.d.ts → index-BzguBJzR.d.ts} +1 -1
- package/dist/_dts/{index-Dgz6yhsy.d.ts → index-DgEwZ5WQ.d.ts} +1 -1
- package/dist/_dts/{index-Cx2BQlHL.d.ts → index-NaRauKDR.d.ts} +1 -1
- package/dist/_dts/{index-vR3p9Bu-.d.ts → index-QIbYMeI7.d.ts} +2 -2
- package/dist/_dts/{loadContent-dhWSgLeS.d.ts → loadContent-BmGH6NKl.d.ts} +7 -7
- package/dist/_dts/{request-BrYhNV9Z.d.ts → request-DssgRQSm.d.ts} +9558 -7863
- package/dist/_dts/{resolveBlockData-BfSHm8Ms.d.ts → resolveBlockData-5BqNxwL8.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-gZJ4i1wN.d.ts → resolvePageContent-DIuwuFA7.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 +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 +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-BB33-Spd.d.ts → types-DrAWDtqR.d.ts} +3 -3
- package/dist/_dts/{types-BVFXYtRg.d.ts → types-Z388-GR1.d.ts} +7 -7
- package/dist/_dts/{types-FOsJ-KYb.d.ts → types-cObpvZGF.d.ts} +2 -2
- package/dist/_dts/{validation-DckTc6TQ.d.ts → validation-hLr8zVrc.d.ts} +4 -4
- package/dist/client/BlocksIslandsHydrator-CN2GyuuA.mjs +410 -0
- package/dist/client/{BookingMailingListNote-Dsugoe-n.mjs → BookingMailingListNote-Br1VyHkP.mjs} +17 -6
- package/dist/client/{BookingQuestionFields-Bhh0cvsl.mjs → BookingQuestionFields-LLGCWjvU.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-CNe3ZjdC.mjs → CalendarNavigationChevron-DSnSBNeq.mjs} +7 -7
- package/dist/client/{DemoBookingPortalAccess-BeiZxEUJ.mjs → DemoBookingPortalAccess-Cilv5zdS.mjs} +65 -9
- package/dist/client/{EventCalendar.client-BL943-tl.mjs → EventCalendar.client-ucgdMS35.mjs} +9 -9
- package/dist/client/{EventCombined.client-BFVxECTp.mjs → EventCombined.client-BEdfJGpx.mjs} +7 -7
- package/dist/client/{EventItem-BIc4gjiD.mjs → EventItem-OpLehMpT.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-a0QEIEf0.mjs → EventListWeekNavigation-DTsVU6gc.mjs} +1 -1
- package/dist/client/{EventListing.client-CEFTC3jH.mjs → EventListing.client-8MFGI9BA.mjs} +3 -3
- package/dist/client/{EventListing.view-Bt2sBBms.mjs → EventListing.view-BCvRqU86.mjs} +6 -6
- package/dist/client/{EventRegistrationPayment-D9YBNb_E.mjs → EventRegistrationPayment-CqH3hE-k.mjs} +132 -62
- package/dist/client/{LocationMapActions-gqzt5gkW.mjs → LocationMapActions-BFp2uQQQ.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-13JQI7_z.mjs → MapDrawingSvg-DDWfmgpA.mjs} +1 -1
- package/dist/client/{Page-D_M2Vxz3.mjs → Page-Bu5TJU3L.mjs} +53 -22
- package/dist/client/{StepIndicator-CaN8snZ8.mjs → StepIndicator-CR7_0yu4.mjs} +5 -4
- package/dist/client/{accessibleSurfaces-chpD4C2c.mjs → accessibleSurfaces-_7jkuinl.mjs} +56 -8
- package/dist/client/{accordion-DE7OG--d.mjs → accordion-DMItWylU.mjs} +6 -1
- package/dist/client/{booking-form.client-CS1PPjw7.mjs → booking-form.client-wd71DG19.mjs} +505 -217
- package/dist/client/{bookingForm-DE2CwIU9.mjs → bookingForm-Cyr2qeS1.mjs} +17 -17
- package/dist/client/{bookingRoute-Bqlyu5Vb.mjs → bookingRoute-D6DlxYx6.mjs} +6 -2
- package/dist/client/bookings.mjs +16 -13
- package/dist/client/{carousel-DZyUdnFh.mjs → carousel-B5-Hzzif.mjs} +7 -9
- package/dist/client/{carousel.client-BD4DXMtI.mjs → carousel.client-eSSr1oYA.mjs} +2 -2
- package/dist/client/{cart-D7HkkNwe.mjs → cart-B-M5l__W.mjs} +3 -3
- package/dist/client/{cart.client-H4sv2TpD.mjs → cart.client-COAP4CEy.mjs} +1 -1
- package/dist/client/{checkout-2qVyG-Sh.mjs → checkout-ZHc8GfaG.mjs} +3 -3
- package/dist/client/{checkout.client-DAjrBZ74.mjs → checkout.client-DRralR3e.mjs} +1 -1
- package/dist/client/{checkoutUrls-CYj06rX1.mjs → checkoutUrls-CY8qywXl.mjs} +3 -2
- package/dist/client/client.mjs +87 -4
- package/dist/client/{context-DXmIbXCK.mjs → context-Xhf81Q-c.mjs} +25 -3
- package/dist/client/{createLucideIcon-CIbxe9em.mjs → createLucideIcon-BrXgHVKN.mjs} +9 -9
- package/dist/client/{bookingQuestionValues-BjcyCru5.mjs → creditProducts-CMOmhWm2.mjs} +71 -11
- package/dist/client/{cta-DP_IBnq3.mjs → cta-CfuyGqXL.mjs} +2 -2
- package/dist/client/{dateFormatting-CwrkFZTr.mjs → dateFormatting-Bv6kjUW3.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-DQXK-Fh6.mjs → demoPortalMagicLink-DQtwf_s2.mjs} +1 -1
- package/dist/client/{wizardSteps-CFulHWnT.mjs → display-DDNmyb0z.mjs} +920 -870
- package/dist/client/{enhanceHeaderSection-DheQj7rg.mjs → enhanceHeaderSection-D7gRy-pL.mjs} +3 -2
- package/dist/client/{event-details.client-C5UufcRp.mjs → event-details.client-DZZaoCUc.mjs} +1 -1
- package/dist/client/{event-registration.client-CMGg63IU.mjs → event-registration.client-CLBdHUfd.mjs} +59 -18
- package/dist/client/{eventCalendar-DlD0GCEy.mjs → eventCalendar-BY3AfYkK.mjs} +14 -17
- package/dist/client/eventCombined-86P2vQCb.mjs +25 -0
- package/dist/client/{eventDetails-DzuQYgmO.mjs → eventDetails-DIJYMzVg.mjs} +4 -6
- package/dist/client/eventListing-8jS0qGGC.mjs +26 -0
- package/dist/client/{eventRegistration-CjS3Zpjp.mjs → eventRegistration-DyseP_sY.mjs} +19 -19
- package/dist/client/flightRegistrations-DjYm0Wz6.mjs +45 -0
- package/dist/client/{form-DgQqm7T2.mjs → form-RTqunrpz.mjs} +9 -14
- package/dist/client/{form.client-BI9Dcsq5.mjs → form.client-D3_RF29v.mjs} +4 -4
- package/dist/client/{form.parts-DevF0L_A.mjs → form.parts-DWLf_3PF.mjs} +1 -1
- package/dist/client/{formatDate-DDyURjoe.mjs → formatDate-BGlhrmhF.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-DYIG6Pwb.mjs → headerSection-CyNGt23J.mjs} +2 -2
- package/dist/client/{newsletter-form.client-BWp7Y1e1.mjs → newsletter-form.client-IfLup4o0.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-Dg8s9NwJ.mjs → newsletter-form.parts-DDD-LRyW.mjs} +1 -1
- package/dist/client/{newsletterForm-DnPraMzx.mjs → newsletterForm-o5wFBVHv.mjs} +10 -15
- package/dist/client/{noop-ByFRHYQ2.mjs → noop-B_f7RqLD.mjs} +111 -2
- package/dist/client/portal/client.mjs +21 -13
- package/dist/client/{product-detail.client-BFAgHrdg.mjs → product-detail.client-5hNA8aKU.mjs} +1 -1
- package/dist/client/{product-list.client-DVrs_DyY.mjs → product-list.client-c-777ohj.mjs} +1 -1
- package/dist/client/{productDetail-D4rvl6Xg.mjs → productDetail-hXttfQhE.mjs} +3 -3
- package/dist/client/{productList-B8o5AOMX.mjs → productList-BPsYP_jA.mjs} +3 -3
- package/dist/client/{propsDecoder-hhotPP6P.mjs → propsDecoder-Dc8j5i79.mjs} +3 -3
- package/dist/client/reactMount-DFQy3CmO.mjs +51 -0
- package/dist/client/{registry.server-Ch3EpupA.mjs → registry.server-CMrdUGGv.mjs} +338 -289
- package/dist/client/rendering/client.mjs +39 -39
- package/dist/client/rendering/islandDelivery.flight.mjs +99 -0
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-C3LabQ1O.mjs → richText-coerce-BTurYEao.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CQGlxId8.mjs → routeIslandApiConfig-DFjRKvzM.mjs} +1 -1
- package/dist/client/{runtimeResponse-Dg4XFsuM.mjs → runtimeResponse-BGU8sMZY.mjs} +1 -1
- package/dist/client/runtimeResponse-D2LT--Gj.mjs +3 -0
- package/dist/client/{shop-rRXplPGZ.mjs → shop-Ds47onRS.mjs} +3 -3
- package/dist/client/{shop-commerce-VDbVaKY-.mjs → shop-commerce-B3PyRHaN.mjs} +12 -12
- package/dist/client/{shop-commerce-store-DqdgJ8Zw.mjs → shop-commerce-store-D9CHihQv.mjs} +1 -1
- package/dist/client/{shop.client-DdwvMvaK.mjs → shop.client-RljK0qPB.mjs} +110 -31
- package/dist/client/{shop.interactive-C8OvFY06.mjs → shop.interactive-BH0xDlMF.mjs} +42 -533
- package/dist/client/{shopShared-BeuJiGPU.mjs → shopShared-BEfD0e4m.mjs} +12 -15
- package/dist/client/src-BozhJ43Z.mjs +3 -0
- package/dist/client/{src-1PJxc8KO.mjs → src-xrjaKaCj.mjs} +6 -8
- package/dist/client/{timetableModel-Cko9LRKy.mjs → timetableModel-BG7Ejxdr.mjs} +12 -12
- package/dist/client/{useAvailableSlots-M6QIEiWf.mjs → useAvailableSlots-GP8tnAVW.mjs} +3 -3
- package/dist/client/{useDiscountApply-BJSnyO0f.mjs → useDiscountApply-Cq07nTyG.mjs} +5 -3
- package/dist/client/{useDiscountCodeUi-D3XnOSCi.mjs → useDiscountCodeUi-CD82QX5i.mjs} +1 -1
- package/dist/client/{useEventPagination-PhTIoFVX.mjs → useEventPagination-spj7sGQP.mjs} +6 -6
- package/dist/client/{view-L_mkgtnk.mjs → view-aAP2WbCR.mjs} +2 -3
- package/dist/client/{view-448wvvEY.mjs → view-oToSpu1N.mjs} +7 -7
- package/dist/preview-next/client/{ArrangementLookControls-BpvnOGlN.mjs → ArrangementLookControls-CoWdilcI.mjs} +7 -7
- package/dist/preview-next/client/{LocationPickerEnvironment-CZQ4vkRe.mjs → LocationPickerEnvironment-CwxRbAs2.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-CP4w7T_0.mjs → MapLibreEditMap-CKjYUp_E.mjs} +2 -2
- package/dist/preview-next/client/{PreviewEditorSidebar-C0OtdWu_.mjs → PreviewEditorSidebar-BNCrO6PQ.mjs} +201 -151
- package/dist/preview-next/client/{PreviewEditorUI-Csc5vH5k.mjs → PreviewEditorUI-inVZkLCd.mjs} +6 -6
- package/dist/preview-next/client/{PreviewShell-BOLH_pm-.mjs → PreviewShell-CFQlAHTe.mjs} +10 -15
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CKodLReY.mjs → SdkPreviewModeRuntime-Dgl7ktO4.mjs} +12 -9
- package/dist/preview-next/client/{SiteChromeCustomizeButton-BeEZpeKn.mjs → SiteChromeCustomizeButton-DgDYHwkG.mjs} +1418 -598
- package/dist/preview-next/client/{lucide-react-DkZ8fO-G.mjs → lucide-react-DbC1o6_9.mjs} +11 -11
- package/dist/preview-next/client/{previewAssistantSlot-BBdN5kfY.mjs → previewAssistantSlot-DRDu7Ndv.mjs} +684 -930
- package/dist/preview-next/client/{previewChromeSurface-VZtGwPuH.mjs → previewChromeSurface-K6Q5uEMC.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-kiZkMcuR.mjs → sdk-runtime-AGypzhcO.mjs} +2 -2
- package/dist/preview-next/client/{src-DY8JCJdE.mjs → src-DzXUmsyK.mjs} +6 -8
- package/dist/preview-next/client/src-LUhVXBEQ.mjs +3 -0
- package/dist/preview-next/client/{useAutosaveStatus-BiIHEeE0.mjs → useAutosaveStatus-B2mn_l6c.mjs} +3 -3
- package/dist/preview-next/client/{useBlockCustomizeControls-BuFLIpmX.mjs → useBlockCustomizeControls-CBXHo6ph.mjs} +5 -5
- package/dist/preview-next/client/{useOpenBlockForSetup-DlxYgmh_.mjs → useOpenBlockForSetup-BpZnBznt.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +3 -4
- package/dist/preview-next/{route-contract-C0sCvCYL.mjs → route-contract-jc2Bug-h.mjs} +83 -0
- package/dist/server/{Block.shared-Dnhc0Wu5.mjs → Block.shared-BHgQjX16.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-NAQ_zsFu.mjs → ThemeScopeCore-Ck0dhZA6.mjs} +31 -5
- package/dist/server/{accessibleSurfaces-108nxyGc.mjs → accessibleSurfaces-D0q5tLSW.mjs} +56 -8
- package/dist/server/{bindings-DLoZYUxG.mjs → bindings-CAbTvrCZ.mjs} +1 -1
- package/dist/server/{booking-form.reserved-fields-BWRF7509.mjs → booking-form.reserved-fields-Cqp13TKc.mjs} +1 -0
- package/dist/server/{client-Bc8jI8zN.mjs → client-C-asG6Cf.mjs} +85 -2
- 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/{headerVariant-BwR9NV4b.mjs → headerVariant-8O5MvxIU.mjs} +2 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-D61gpqHB.mjs → loadContent-DKerbSnI.mjs} +4 -4
- package/dist/server/{loadPage-B4ZYpIcd.mjs → loadPage-XgtQR90Z.mjs} +2 -2
- package/dist/server/next.mjs +6 -6
- package/dist/server/{opaqueSurface-BawlEAd_.mjs → opaqueSurface-Yltv_u7r.mjs} +1 -1
- package/dist/server/{overrideResolution-CDReKy2P.mjs → overrideResolution-Z5pwH-kz.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-ByVTA7-4.mjs → pageRenderPlan-DQAo35og.mjs} +9 -8
- package/dist/server/{pageRuntimeSupport-Dzz_Dze6.mjs → pageRuntimeSupport-g-K-FCHa.mjs} +2 -2
- package/dist/server/{pageShared-Dk5Ku6hs.mjs → pageShared-7mPhqqXX.mjs} +345 -289
- package/dist/server/{parseThemeForPersistence-pJPGfMrf.mjs → parseThemeForPersistence-BebSeE17.mjs} +1 -1
- package/dist/server/{prebuild-CW4M0WEZ.mjs → prebuild-C0m4KOT9.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Bvx0SiIM.mjs → prefetchBlockData-DcLKHfHG.mjs} +2 -2
- package/dist/server/{registry-Bh0Y25zH.mjs → registry-7_0_lUrh.mjs} +305 -844
- 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/islandDelivery.script.mjs +19 -0
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-CnHHst9r.mjs → resolveBlockData-q3WnpvyZ.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +2 -2
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{validation-D2bHWSxJ.mjs → validation-CSMS6XmP.mjs} +4 -4
- package/dist/server/{version-DkM1eAxG.mjs → version-DWeqmTXc.mjs} +1 -1
- package/dist/styles/index.css +15 -3
- package/package.json +10 -6
- package/dist/client/BlocksIslandsHydrator-DcwEaliO.mjs +0 -296
- package/dist/client/creditProducts-BOWi1QLp.mjs +0 -62
- package/dist/client/eventCombined-DoSi8p_l.mjs +0 -28
- package/dist/client/eventListing-CkiMjl0g.mjs +0 -29
- package/dist/client/reactMount-BGJVsHRb.mjs +0 -28
- package/dist/client/runtimeResponse-BP-L6exS.mjs +0 -3
- package/dist/client/src-CdRISvQp.mjs +0 -3
- package/dist/preview-next/client/src-BP8771hw.mjs +0 -3
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { $ as SURFACE_INK_CSS_VARS, A as expandPalette, Et as parseThemeColorToken, W as hexToRgb, _ as unsafeAsOpaqueButtonColourToken, ct as backgroundColorStyle, d as DEFAULT_VARIANT_ALIAS_ID, dt as mergeStyles, ft as rgbColorValue, h as createStandardButtonSurfacePolicy, ht as textColorValue, i as formatButtonColourContractError, it as surfaceForegroundValue, l as FONT_SIZE_MAP, m as buttonSizeNameSchema, mt as textColorStyle, n as compileButtonColourStates, nt as surfaceForegroundInputFromResolved, o as BORDER_WIDTH_MAP, ot as surfaceInkDeclarations, r as BUTTON_CONTRAST_POLICY, s as DEFAULT_BUTTON_SIZES, st as surfaceInkStyle, tt as surfaceForegroundDeclarations, u as generateShadowValue$1, ut as cssVarValue } from "./resolveButtonColourStates-Cn6j8Ee0.mjs";
|
|
2
|
-
import { A as CalendarIcon, C as createEditorPresentationPageReader, D as CardListItems, E as CardListCollection, F as formatEventDuration, H as defaultThemeTokens, I as resolveEventCardBooking, L as resolveEventCta, M as buildMonthDay, N as resolveMonthSelectedDay, O as EventItem, P as formatEventTeacherLine, R as resolveEventLinkProps, S as EventListingFrameView, T as EmptyState, V as buildThemeTokens, _ as EVENT_REGISTRATION_ANCHOR_ID, a as renderedJoinLayout, b as derivePreviewRunSchedule, d as defaultTransforms, g as EventHeader, h as resolveRouteTarget, i as joinSlotKey, j as MapPinIcon, k as eventCategoryBadge, l as resolveLinkedEntryInlineFieldEligibility, m as resolvePageRouteTarget, o as retargetJoinsAcrossOmissions, p as resolveEntryRouteTarget, r as composePageJoins, s as buildLinkedContentEditTarget, t as createPageRenderPlanReader, v as eventCardListContent, w as createPresentationPageReader, x as MonthLookView, y as deriveEventScheduleSummary, z as parseStoredVariant } from "./pageRenderPlan-
|
|
3
|
-
import { $ as RichText, $a as
|
|
4
|
-
import { A as ownedThemeSnapshot, B as resolveConcreteColorHex, F as HOVER_TEXT_THRESHOLD, I as certifyPaint, L as contrastThresholdByPolicy, N as surfaceInkPublication, R as inkReference, V as resolveOpaqueSurfaceHex, _ as buttonStateAppearanceDeclarations, a as resolveSurface, b as paddingDeclarations, f as actionVariableFallback, g as buttonShadow, h as buttonRadius, j as resolveSurfaceForeground, k as freezeOwnedThemeValue, l as compositeHex, m as buttonBorder, n as parseSurfaceTree, o as serializeSurfaceTree, v as buttonTypographyDeclarations, w as mapButtonVisualAppearances, y as materializeRuntimeButtonAppearance } from "./accessibleSurfaces-
|
|
5
|
-
import { b as siteChromeBackgroundOverrideOwner, i as boxBackgroundSchema, m as surfaceCardRoleValues } from "./headerVariant-
|
|
6
|
-
import { t as parseThemeForPersistence } from "./parseThemeForPersistence-
|
|
2
|
+
import { A as CalendarIcon, C as createEditorPresentationPageReader, D as CardListItems, E as CardListCollection, F as formatEventDuration, H as defaultThemeTokens, I as resolveEventCardBooking, L as resolveEventCta, M as buildMonthDay, N as resolveMonthSelectedDay, O as EventItem, P as formatEventTeacherLine, R as resolveEventLinkProps, S as EventListingFrameView, T as EmptyState, V as buildThemeTokens, _ as EVENT_REGISTRATION_ANCHOR_ID, a as renderedJoinLayout, b as derivePreviewRunSchedule, d as defaultTransforms, g as EventHeader, h as resolveRouteTarget, i as joinSlotKey, j as MapPinIcon, k as eventCategoryBadge, l as resolveLinkedEntryInlineFieldEligibility, m as resolvePageRouteTarget, o as retargetJoinsAcrossOmissions, p as resolveEntryRouteTarget, r as composePageJoins, s as buildLinkedContentEditTarget, t as createPageRenderPlanReader, v as eventCardListContent, w as createPresentationPageReader, x as MonthLookView, y as deriveEventScheduleSummary, z as parseStoredVariant } from "./pageRenderPlan-DQAo35og.mjs";
|
|
3
|
+
import { $ as RichText, $a as buildMailingListSignupBlockSourceRef, $i as requireCuratedSiteStyle, $t as formatEventHourLabel, A as buildOfferingsCatalogueListing, An as bookingConsentCarrierSchema, Ao as resolveExactOrFreePriceDisplay, Ar as testimonialsCarouselFragment, At as resolveOfferingsPreviewGroups, B as buildEventCollectionHydration, Br as boxStyleClassNames, C as buildShopInteractiveIslandProps, Ci as inlineTextToPlainText, Cn as isEventFull, Co as toBookingTimeZone, Cr as cardFragment, D as passCardListContent, Da as testimonialsCompositionTreatmentValues, Dn as publicEventsArraySchema, Do as publicEventPricingCurrency, Dr as singleButtonFragment, Dt as normalizeOfferingsPreviewItemLimit, E as membershipClassesLabel, Ea as offeringsPreviewCompositionTreatmentValues, En as groupPublicEventsByRun, Eo as isPublicEventPricingOptionDisplayable, Er as blogFeaturedPostFragment, Et as buildOfferingsPreviewListing, Fi as isRecord$4, Fo as TokenResolver, Fr as isBlockButtonRole, Ft as ThemedDownloadLink, Ga as loadedReadinessFact, Gn as resolveDateRuntimeContext, H as eventCollectionDisplaySchemaShape, Hn as teamMemberBiography, Hr as resolveCardRoleForBoxStyles, Ht as formatEventPriceAmount, Ii as parseThemeButtonVariantId, Ir as heroCopyFragment, It as getIconComponent, Jr as resolveBackgroundColorValue, Jt as formatCalendarTitle, K as catalogueEventCardProps, Ka as pageTemplateFromEntry, Ki as arrangementLookHooks, Kt as eventDateOptions, L as eventListingBlockDefinition, Li as themeButtonSelector, Ln as composeHeaderSectionWrapperClassName, Lr as bodyCopyFragment, Lt as SpinnerNode, M as eventCalendarBlockDefinition, Mi as PUBLIC_DOWNLOAD_MEDIA_TYPES, Mn as FEATURE_CARD_ICON_TREATMENTS, Mo as formatCurrencyAmount, Mr as ctaCopyFragment, Mt as ThemedAuthoredButton, N as buildEventCalendarInteractiveIslandProps, Nn as resolveFeatureCardGeneratedIconSizePx, Nr as heroCtaRowFragment, Nt as ThemedButton, O as offeringsPreviewBlockDefinition, On as blockBookingPaymentTermsSchema, Oo as publicEventPricingDisplay, Or as formEmbedFragment, Ot as offeringsListingFor, P as buildEventCalendarListingDisplay, Pi as isObjectRecord, Pn as shouldReserveFeatureCardIconZone, Pr as ctaRowFragment, Pt as ThemedButtonLink, Q as MediaNodeServer, Qa as resolveWholeSeriesBookingPhase, Qt as formatEventDateParts, R as buildEventListingInteractiveIslandProps, Ri as AFFORDANCE_SUPPRESS_CLASS, Rn as markEditableSurfaceForwarding, Rr as defineFragment, Rt as buildEventListWeek, S as buildProductListInteractiveIslandProps, Si as PlusIcon, Sn as getEventAvailabilityStatus, So as resolveBookingBusinessTimeZone, Sr as headingFragment, T as membershipCardListContent, Ta as introCompositionTreatmentValues, Ti as parseInlineTextFromUnknown, Tn as pageNavigationSchema, To as formatBookingPriceDisplay, Tr as faqHeadingFragment, Tt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, U as eventCollectionHydrationSchema, Ua as chosenString, Ui as effectiveHeaderNavLinkStyle, Un as teamMemberCardBiography, Ut as formatEventPriceDisplay, V as buildEventCollectionListingDisplay, Vi as selectItemSurfacePresentation, Vn as parseTeamMemberSpecialties, Vr as normalizeBoxStylesBorder, Vt as formatEventPrice, W as eventCollectionSourceSchemaShape, Wa as admitReadinessFacts, Wi as readOpeningToneProjection, Wn as readRuntimeNow, Wt as buildCalendarViewport, Xa as nextLiveRunSessionStartMs, Xn as staticHeaderChromeRuntime, Xt as formatEventClockLabel, Ya as CANCELLED_SESSION_STATUS, Yi as resolveEffectiveArrangement, Yr as ctaButton, Yt as formatDate, Za as orderedLiveRunSessions, Zt as formatEventCompactDateRail, _ as productListBlockDefinition, _i as FileArchiveIcon, _n as browserReadAuthoritySchema, a as normalizeLocationMapSource, aa as generateEffectsCSS, ai as runTransforms, an as getLocalDateKey, ar as buildInteractiveIslandProps, b as buildCheckoutInteractiveIslandProps, bi as FileTextIcon, bn as formatTotalCapacity, bt as normalizeEventRegistrationPageSurfaceSubject, ca as headerRootPaint, ci as sanitizeHref, cn as formatDateKey, cr as createZodCodec, ct as getCurrentResolveImageUrlContext, d as newsletterBlockSubmissionMessage, di as resolveBlockIconRenderValue, dn as getWeekCalendarDayTuple, do as formatDate$1, dr as listItemPresentation, dt as getContainerClass, ea as resolveCardRole, en as formatEventNextDateFact, eo as parseMailingListRuntimeContext, et as ImagePresets, f as giftingBlockDefinition, fa as boundaryRuntimeMetricsForDecorativeTransition, fi as ArrowDownIcon, fn as getWeekCalendarDays, fr as listLookControl, g as productDetailBlockDefinition, gi as ClockIcon, go as toScheduledBookingDateTime, gr as itemRole, gt as previewStageSchema, h as cartBlockDefinition, hi as CirclePlusIcon, hn as resolveRuntimeEventDestination, ho as formatBookingCompactEnglishTime, hr as resolvedItemSurfaceProps, ht as bookingNowSchema, i as normalizeLocationMapProps, ia as generateNavLinkCSS, in as resolveEventTimeZone, io as decideLocationSourcePermission, ir as buildFormInteractiveIslandProps, j as offeringsCatalogueShape, ja as bindingSchema, jn as beforeBookingQuestionsPresentationSchema, jo as resolvePricingOptionsPriceDisplay, jr as testimonialsHeadingFragment, jt as resolveOfferingsRenderInput, k as publicRouteCandidatesSchema, ki as parseFieldDefinitions, kn as blockBookingConsentSchema, ko as publicEventPricingType, kr as formCopyFragment, kt as resolveOfferingsPreviewGroupCta, l as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, li as buildGeneratedBlockIconRenderAssetLookupFromUnknown, ln as getDayOfWeek, lr as defineClientOwnedBlockRuntime, lt as setContextResolveImageUrlContext, m as checkoutBlockDefinition, ma as transitionCatalogueEntries, mi as CircleMinusIcon, mn as isToday, mr as lookListPresentationSchemaShape, mt as buildEventRegistrationInteractiveIslandProps, na as generateFooterCss, nn as formatTime, no as parseMailingListPlacementTargeting, o as resolveLocationMapLocation, oa as generateInteractiveChildInheritanceCSS, oi as el, on as getLocalMinuteOfDay, oo as normalizeLocationAddressText, or as createInteractiveIslandCodec, ot as resolvePublicMediaUrl, p as buildGiftingInteractiveIslandProps, pa as anglePolygonCss, pi as ChevronDownIcon, pn as isSameCalendarDay, pr as listLookSlot, pt as eventRegistrationBlockDefinition, q as listingEventCardProps, qa as unavailableReadinessFact, qi as arrangementManifestFromVariants, r as normalizeBlockContent, ra as buildTextContrastShadow, rn as groupEventsByDate, ro as sameMailingListPlacementTargeting, rr as formBlockDefinition, s as newsletterSignupBlockDefinition, sa as headerNeedsPhotoShade, si as when, sn as addDays, sr as defineInteractiveIslandMetaKeys, st as buildResolveImageUrlContext, t as getBlockDefinition, ta as generateDefaultCardSystem, tn as formatEventTimeRange, tt as MediaPlaceholder, u as buildNewsletterFormInteractiveIslandProps, ui as parseBlockIconValue, un as getOrderedDayNames, uo as mapDrawingSchema, ur as defineProgressiveBlockRuntime, ut as getCardOrientation, v as shopBlockDefinition, vi as FileAudioIcon, vn as canJoinEventWaitlistOnAnyMode, vo as getBookingLocalDateKey, vr as Grid, w as shopProductPresentation, wa as featureCardCompositionTreatmentValues, wi as isInlineTextEmpty, wn as blockSiteTermsSchema, wo as toUtcIsoDateTimeString, wr as faqAccordionFragment, x as buildProductDetailInteractiveIslandProps, xi as MinusIcon, xn as getEventAvailability, xo as parseLocalScheduleTime, xr as richTextFragment, xt as resolveEventRegistrationScopedEvents, y as buildCartInteractiveIslandProps, yi as FileSpreadsheetIcon, yn as formatEventRemainingPlaces, yr as clsx, z as buildEventCollectionDisplay, zn as splitPositioningClasses, zt as eventListWeekDays } from "./registry-7_0_lUrh.mjs";
|
|
4
|
+
import { A as ownedThemeSnapshot, B as resolveConcreteColorHex, F as HOVER_TEXT_THRESHOLD, I as certifyPaint, L as contrastThresholdByPolicy, N as surfaceInkPublication, R as inkReference, V as resolveOpaqueSurfaceHex, _ as buttonStateAppearanceDeclarations, a as resolveSurface, b as paddingDeclarations, f as actionVariableFallback, g as buttonShadow, h as buttonRadius, j as resolveSurfaceForeground, k as freezeOwnedThemeValue, l as compositeHex, m as buttonBorder, n as parseSurfaceTree, o as serializeSurfaceTree, v as buttonTypographyDeclarations, w as mapButtonVisualAppearances, y as materializeRuntimeButtonAppearance } from "./accessibleSurfaces-D0q5tLSW.mjs";
|
|
5
|
+
import { b as siteChromeBackgroundOverrideOwner, i as boxBackgroundSchema, m as surfaceCardRoleValues } from "./headerVariant-8O5MvxIU.mjs";
|
|
6
|
+
import { t as parseThemeForPersistence } from "./parseThemeForPersistence-BebSeE17.mjs";
|
|
7
7
|
import { l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-Brn9FW5s.mjs";
|
|
8
8
|
import { t as assertNever$1 } from "./assert-never-ku-PUn9U.mjs";
|
|
9
|
-
import { C as MQ_SM_DOWN, S as MQ_MD_UP, T as MQ_TABLET_ONLY, b as MQ_LG_UP, c as readSdkPreviewPublishedPlacement, h as validateManifestDraft, m as compileManifestContentContract, w as MQ_SM_UP, x as MQ_MD_DOWN } from "./pageRuntimeSupport-
|
|
9
|
+
import { C as MQ_SM_DOWN, S as MQ_MD_UP, T as MQ_TABLET_ONLY, b as MQ_LG_UP, c as readSdkPreviewPublishedPlacement, h as validateManifestDraft, m as compileManifestContentContract, w as MQ_SM_UP, x as MQ_MD_DOWN } from "./pageRuntimeSupport-g-K-FCHa.mjs";
|
|
10
10
|
import { n as RichTextDocSchema } from "./richTextSchema-DQ2NBP0n.mjs";
|
|
11
|
-
import { n as opaqueSurfaceDeclarations, t as opaqueSurfaceContextFromTheme } from "./opaqueSurface-
|
|
12
|
-
import { A as cardBorderDeclarations, C as generateCheckableCss, D as resolvedButtonFocusDeclarations, E as resolvedButtonColourDeclarations, O as generateShadowCssVars, S as generateInputGroupCss, T as RESOLVED_BUTTON_DISABLED_DECLARATIONS, _ as THEME_RESPONSIVE_CONTAINER_NAME, a as escapeStyleContent, b as INPUT_GROUP_FOCUS_SELECTOR, c as parseBlockCustomCssRules, d as generateBlockCustomVarsCss, f as THEME_RADIUS_CSS_VARS, g as DEFAULT_THEME_RESPONSIVE_MODE, h as generateStatusCss, i as compileCustomCssRules, j as cardDecorationPseudoRules, k as renderCssDeclarations, l as parseCustomCssRules, m as generateProgressCss, n as containerResponsiveThemeCss, o as prefixSelector, p as generateTypographyCss, r as compileBlockCustomCssRules, s as toKebabCase, t as ThemeScopeCore, u as generateAllBlockVarsCss, v as getResponsiveScopeSpec, w as generateOpaquePanelCss, x as INPUT_GROUP_SELECTOR, y as INPUT_GROUP_ERROR_SELECTOR } from "./ThemeScopeCore-
|
|
11
|
+
import { n as opaqueSurfaceDeclarations, t as opaqueSurfaceContextFromTheme } from "./opaqueSurface-Yltv_u7r.mjs";
|
|
12
|
+
import { A as cardBorderDeclarations, C as generateCheckableCss, D as resolvedButtonFocusDeclarations, E as resolvedButtonColourDeclarations, O as generateShadowCssVars, S as generateInputGroupCss, T as RESOLVED_BUTTON_DISABLED_DECLARATIONS, _ as THEME_RESPONSIVE_CONTAINER_NAME, a as escapeStyleContent, b as INPUT_GROUP_FOCUS_SELECTOR, c as parseBlockCustomCssRules, d as generateBlockCustomVarsCss, f as THEME_RADIUS_CSS_VARS, g as DEFAULT_THEME_RESPONSIVE_MODE, h as generateStatusCss, i as compileCustomCssRules, j as cardDecorationPseudoRules, k as renderCssDeclarations, l as parseCustomCssRules, m as generateProgressCss, n as containerResponsiveThemeCss, o as prefixSelector, p as generateTypographyCss, r as compileBlockCustomCssRules, s as toKebabCase, t as ThemeScopeCore, u as generateAllBlockVarsCss, v as getResponsiveScopeSpec, w as generateOpaquePanelCss, x as INPUT_GROUP_SELECTOR, y as INPUT_GROUP_ERROR_SELECTOR } from "./ThemeScopeCore-Ck0dhZA6.mjs";
|
|
13
13
|
import { t as getAtPath } from "./src-Cxucn-1P.mjs";
|
|
14
|
-
import { z } from "zod";
|
|
15
14
|
import * as React$1 from "react";
|
|
16
15
|
import React, { forwardRef } from "react";
|
|
17
16
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
+
import { z } from "zod";
|
|
18
|
+
import { IslandDelivery } from "#island-delivery";
|
|
18
19
|
//#region ../core/src/appointment-service-categories.ts
|
|
19
20
|
/**
|
|
20
21
|
* Groups services under their categories.
|
|
@@ -3992,7 +3993,8 @@ const DEFAULT_BOUNDS = {
|
|
|
3992
3993
|
maxEndHour: 23,
|
|
3993
3994
|
defaultStartHour: 6,
|
|
3994
3995
|
defaultEndHour: 21,
|
|
3995
|
-
minHeightPercent: 2.5
|
|
3996
|
+
minHeightPercent: 2.5,
|
|
3997
|
+
marginMinutes: 0
|
|
3996
3998
|
};
|
|
3997
3999
|
function buildTimetableModel$1(input) {
|
|
3998
4000
|
const bounds = resolveBounds(input.bounds);
|
|
@@ -4172,11 +4174,8 @@ function buildCell(entry, lane, rangeStartMinutes, rangeMinutes, minHeightPercen
|
|
|
4172
4174
|
}
|
|
4173
4175
|
function resolveBounds(bounds) {
|
|
4174
4176
|
return {
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
defaultStartHour: bounds?.defaultStartHour ?? DEFAULT_BOUNDS.defaultStartHour,
|
|
4178
|
-
defaultEndHour: bounds?.defaultEndHour ?? DEFAULT_BOUNDS.defaultEndHour,
|
|
4179
|
-
minHeightPercent: bounds?.minHeightPercent ?? DEFAULT_BOUNDS.minHeightPercent
|
|
4177
|
+
...DEFAULT_BOUNDS,
|
|
4178
|
+
...bounds
|
|
4180
4179
|
};
|
|
4181
4180
|
}
|
|
4182
4181
|
function resolveHourRange(segments, bounds) {
|
|
@@ -4186,8 +4185,8 @@ function resolveHourRange(segments, bounds) {
|
|
|
4186
4185
|
};
|
|
4187
4186
|
const earliestStart = Math.min(...segments.map((segment) => segment.startsAtMinutes));
|
|
4188
4187
|
const latestEnd = Math.max(...segments.map((segment) => segment.endsAtMinutes));
|
|
4189
|
-
const startHour = Math.max(bounds.minStartHour, Math.floor(earliestStart / 60));
|
|
4190
|
-
const endHour = Math.min(bounds.maxEndHour, Math.ceil(latestEnd / 60));
|
|
4188
|
+
const startHour = Math.max(bounds.minStartHour, Math.floor((earliestStart - bounds.marginMinutes) / 60));
|
|
4189
|
+
const endHour = Math.min(bounds.maxEndHour, Math.ceil((latestEnd + bounds.marginMinutes) / 60));
|
|
4191
4190
|
return {
|
|
4192
4191
|
startHour,
|
|
4193
4192
|
endHour: Math.max(startHour + 1, endHour)
|
|
@@ -4303,9 +4302,11 @@ const BOOK_TARGET_PARAMS = {
|
|
|
4303
4302
|
service: "service",
|
|
4304
4303
|
resource: "resource",
|
|
4305
4304
|
occurrence: "occurrence",
|
|
4306
|
-
event: "event"
|
|
4305
|
+
event: "event",
|
|
4306
|
+
category: "category"
|
|
4307
4307
|
};
|
|
4308
4308
|
function resolveDedicatedBookingTarget(pathname) {
|
|
4309
|
+
if (pathname === "/embed" || pathname.startsWith("/embed/")) return { kind: "embed" };
|
|
4309
4310
|
const internalPublishedMatch = pathname.match(/^\/internal-sites\/([^/]+)\/([^/]+)\/published(?:\/.*)?$/);
|
|
4310
4311
|
if (internalPublishedMatch) {
|
|
4311
4312
|
const hostKey = internalPublishedMatch[1];
|
|
@@ -4321,7 +4322,7 @@ function resolveDedicatedBookingTarget(pathname) {
|
|
|
4321
4322
|
function resolveDedicatedBookingPath(pathname) {
|
|
4322
4323
|
const target = resolveDedicatedBookingTarget(pathname);
|
|
4323
4324
|
if (target.kind === "internal_published_preview") return `/internal-sites/${target.hostKey}/${target.siteIdentifier}/published/book`;
|
|
4324
|
-
return "/book";
|
|
4325
|
+
return target.kind === "embed" ? "/embed/book" : "/book";
|
|
4325
4326
|
}
|
|
4326
4327
|
function resolveDedicatedBookingHref(pathname, bookingTarget = { kind: "chooser" }) {
|
|
4327
4328
|
const bookingPath = resolveDedicatedBookingPath(pathname);
|
|
@@ -4343,6 +4344,8 @@ function resolveDedicatedBookingHref(pathname, bookingTarget = { kind: "chooser"
|
|
|
4343
4344
|
const queryString = params.toString();
|
|
4344
4345
|
return queryString ? `${bookingPath}?${queryString}` : bookingPath;
|
|
4345
4346
|
}
|
|
4347
|
+
const EMBED_SEGMENT = "[a-z0-9][a-z0-9-]*";
|
|
4348
|
+
new RegExp(`^/(?:events/${EMBED_SEGMENT}(?:/${EMBED_SEGMENT})?|services/${EMBED_SEGMENT})$`, "i");
|
|
4346
4349
|
//#endregion
|
|
4347
4350
|
//#region ../theme-core/src/themeScopeUtils.ts
|
|
4348
4351
|
/**
|
|
@@ -5186,7 +5189,7 @@ function EventQuickDateCard(props) {
|
|
|
5186
5189
|
const { event } = props;
|
|
5187
5190
|
const { date, bookingLink } = quickDateCardPresentation(props);
|
|
5188
5191
|
return /* @__PURE__ */ jsxs("article", {
|
|
5189
|
-
className: "event-quick-date rb-flex rb-min-w-12rem rb-shrink-0 rb-flex-col rb-gap-3 rb-rounded-lg rb-border rb-
|
|
5192
|
+
className: "event-quick-date rb-flex rb-min-w-12rem rb-shrink-0 rb-flex-col rb-gap-3 rb-rounded-lg rb-border rb-p-4",
|
|
5190
5193
|
children: [
|
|
5191
5194
|
/* @__PURE__ */ jsx("time", {
|
|
5192
5195
|
className: "event-quick-date-when",
|
|
@@ -6356,14 +6359,16 @@ function getIslandRootProps(kind, id) {
|
|
|
6356
6359
|
if (id) resolved["data-rb-island-id"] = id;
|
|
6357
6360
|
return resolved;
|
|
6358
6361
|
}
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6366
|
-
|
|
6362
|
+
/** The one owner of an island's root element and how its props reach the browser. */
|
|
6363
|
+
function IslandRoot({ kind, id, value, as = "div", attributes, children }) {
|
|
6364
|
+
return /* @__PURE__ */ jsx(IslandDelivery, {
|
|
6365
|
+
as,
|
|
6366
|
+
rootProps: {
|
|
6367
|
+
...attributes,
|
|
6368
|
+
...getIslandRootProps(kind, id)
|
|
6369
|
+
},
|
|
6370
|
+
transport: serializeSurfaceTree(value),
|
|
6371
|
+
children
|
|
6367
6372
|
});
|
|
6368
6373
|
}
|
|
6369
6374
|
//#endregion
|
|
@@ -6388,30 +6393,30 @@ const CarouselNodeSSR = (props) => {
|
|
|
6388
6393
|
});
|
|
6389
6394
|
const normalizedSlidesToShow = normalizeSlidesToShow(settings.slidesToShow);
|
|
6390
6395
|
const controlsEnabled = settings.arrowVisibility === "never" ? false : normalizeBoolean(settings.showControls);
|
|
6391
|
-
return /* @__PURE__ */ jsxs(
|
|
6392
|
-
|
|
6393
|
-
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
|
|
6397
|
-
|
|
6398
|
-
|
|
6399
|
-
|
|
6400
|
-
|
|
6401
|
-
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
props.
|
|
6407
|
-
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
|
|
6411
|
-
|
|
6412
|
-
|
|
6413
|
-
|
|
6414
|
-
]
|
|
6396
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
6397
|
+
kind: "carousel",
|
|
6398
|
+
id: props.blockId,
|
|
6399
|
+
attributes: {
|
|
6400
|
+
className: clsx("carousel-root rb-relative", props.className),
|
|
6401
|
+
style: getCarouselSlidesToShowCssVars(normalizedSlidesToShow),
|
|
6402
|
+
...carouselRegionAttributes(props),
|
|
6403
|
+
"data-slides-to-show": resolveSlidesToShowMobile(normalizedSlidesToShow),
|
|
6404
|
+
"data-transition": settings.transition,
|
|
6405
|
+
"data-show-controls": controlsEnabled ? "true" : "false"
|
|
6406
|
+
},
|
|
6407
|
+
value: carouselIslandValue(props, settings, indicator),
|
|
6408
|
+
children: [/* @__PURE__ */ jsx(CarouselSsrFrame, {
|
|
6409
|
+
slides,
|
|
6410
|
+
transition: settings.transition,
|
|
6411
|
+
arrangement: props.arrangement
|
|
6412
|
+
}), props.mode === "arrangement" ? /* @__PURE__ */ jsx(CarouselSsrControls, {
|
|
6413
|
+
props: {
|
|
6414
|
+
...props,
|
|
6415
|
+
indicator: indicator ?? props.indicator
|
|
6416
|
+
},
|
|
6417
|
+
count: slides.length,
|
|
6418
|
+
renderDots: settings.autoplay === true
|
|
6419
|
+
}) : null]
|
|
6415
6420
|
});
|
|
6416
6421
|
};
|
|
6417
6422
|
/** What the client needs to hydrate as the server rendered; auto-advance is carried only when on. */
|
|
@@ -6573,17 +6578,21 @@ const ACCORDION_ICONS = {
|
|
|
6573
6578
|
CircleMinus: CircleMinusIcon
|
|
6574
6579
|
};
|
|
6575
6580
|
const AccordionNodeSSR = ({ blockId, children, className, type = "single", defaultValue, collapsible, ...look }) => {
|
|
6576
|
-
return /* @__PURE__ */
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
-
|
|
6581
|
+
return /* @__PURE__ */ jsx(IslandRoot, {
|
|
6582
|
+
kind: "accordion",
|
|
6583
|
+
id: blockId,
|
|
6584
|
+
attributes: {
|
|
6585
|
+
...accordionLookAttributes(look),
|
|
6586
|
+
className: clsx("accordion-root", className),
|
|
6587
|
+
"data-accordion-type": type,
|
|
6588
|
+
"data-default-value": Array.isArray(defaultValue) ? defaultValue.join(",") : defaultValue
|
|
6589
|
+
},
|
|
6590
|
+
value: {
|
|
6583
6591
|
type,
|
|
6584
6592
|
defaultValue,
|
|
6585
6593
|
collapsible
|
|
6586
|
-
}
|
|
6594
|
+
},
|
|
6595
|
+
children
|
|
6587
6596
|
});
|
|
6588
6597
|
};
|
|
6589
6598
|
const AccordionItemNodeSSR = ({ className, value, trigger, content, question, answer, iconStyle, iconTreatment, ...look }) => {
|
|
@@ -6642,31 +6651,55 @@ function resolveNode$1(value) {
|
|
|
6642
6651
|
}
|
|
6643
6652
|
//#endregion
|
|
6644
6653
|
//#region ../blocks/src/system/runtime/nodes/header-section.frame.tsx
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
ref: rootRef,
|
|
6649
|
-
className: rootClassName,
|
|
6654
|
+
function headerRootAttributes(input) {
|
|
6655
|
+
return {
|
|
6656
|
+
className: input.rootClassName,
|
|
6650
6657
|
role: "navigation",
|
|
6651
6658
|
"aria-label": "Primary navigation",
|
|
6659
|
+
"data-rb-island-mounted": input.islandMounted ? "true" : void 0,
|
|
6660
|
+
"data-block": "site-header",
|
|
6661
|
+
"data-block-kind": input.blockKind,
|
|
6662
|
+
"data-block-id": input.blockId ?? void 0,
|
|
6663
|
+
"data-block-content": input.hasBlockContent ? "true" : void 0,
|
|
6664
|
+
"data-fragment-registry": input.hasFragmentRegistry ? "true" : void 0,
|
|
6665
|
+
"data-path-base": input.pathBase,
|
|
6666
|
+
"data-preview-site-chrome-surface": input.previewSiteChromeSurface
|
|
6667
|
+
};
|
|
6668
|
+
}
|
|
6669
|
+
/** Shared DOM frame for server-rendered and React-owned site headers. */
|
|
6670
|
+
function HeaderSectionFrame({ rootRef, rootClassName, sectionClassName, blockId, blockKind = "block.site-header", previewSiteChromeSurface, islandMounted, islandId, islandValue, hasBlockContent, hasFragmentRegistry, pathBase, as, style, background = "background", dataSlot, children }) {
|
|
6671
|
+
const attributes = headerRootAttributes({
|
|
6672
|
+
rootClassName,
|
|
6673
|
+
blockId,
|
|
6674
|
+
blockKind,
|
|
6675
|
+
previewSiteChromeSurface,
|
|
6676
|
+
islandMounted,
|
|
6677
|
+
hasBlockContent,
|
|
6678
|
+
hasFragmentRegistry,
|
|
6679
|
+
pathBase
|
|
6680
|
+
});
|
|
6681
|
+
const section = /* @__PURE__ */ jsx(Section, {
|
|
6682
|
+
as,
|
|
6683
|
+
style,
|
|
6684
|
+
background,
|
|
6685
|
+
"data-slot": dataSlot,
|
|
6686
|
+
className: sectionClassName || void 0,
|
|
6687
|
+
children
|
|
6688
|
+
});
|
|
6689
|
+
if (islandValue !== void 0) return /* @__PURE__ */ jsx(IslandRoot, {
|
|
6690
|
+
kind: "headerSection",
|
|
6691
|
+
id: islandId,
|
|
6692
|
+
as: "nav",
|
|
6693
|
+
attributes,
|
|
6694
|
+
value: islandValue,
|
|
6695
|
+
children: section
|
|
6696
|
+
});
|
|
6697
|
+
return /* @__PURE__ */ jsx("nav", {
|
|
6698
|
+
ref: rootRef,
|
|
6699
|
+
...attributes,
|
|
6652
6700
|
"data-rb-island": "headerSection",
|
|
6653
6701
|
"data-rb-island-id": islandId,
|
|
6654
|
-
|
|
6655
|
-
"data-block": "site-header",
|
|
6656
|
-
"data-block-kind": blockKind,
|
|
6657
|
-
"data-block-id": blockId ?? void 0,
|
|
6658
|
-
"data-block-content": hasBlockContent ? "true" : void 0,
|
|
6659
|
-
"data-fragment-registry": hasFragmentRegistry ? "true" : void 0,
|
|
6660
|
-
"data-path-base": pathBase,
|
|
6661
|
-
"data-preview-site-chrome-surface": previewSiteChromeSurface,
|
|
6662
|
-
children: [islandPropsNode, /* @__PURE__ */ jsx(Section, {
|
|
6663
|
-
as,
|
|
6664
|
-
style,
|
|
6665
|
-
background,
|
|
6666
|
-
"data-slot": dataSlot,
|
|
6667
|
-
className: sectionClassName || void 0,
|
|
6668
|
-
children
|
|
6669
|
-
})]
|
|
6702
|
+
children: section
|
|
6670
6703
|
});
|
|
6671
6704
|
}
|
|
6672
6705
|
//#endregion
|
|
@@ -6694,7 +6727,7 @@ const HeaderSectionNode = ({ blockId, children, className, runtime, "data-previe
|
|
|
6694
6727
|
blockId,
|
|
6695
6728
|
islandId: blockId ?? void 0,
|
|
6696
6729
|
previewSiteChromeSurface,
|
|
6697
|
-
|
|
6730
|
+
islandValue: { runtime: runtime ?? staticHeaderChromeRuntime },
|
|
6698
6731
|
as: asProp,
|
|
6699
6732
|
style: styleProp,
|
|
6700
6733
|
background: backgroundProp,
|
|
@@ -6811,6 +6844,7 @@ const publicAppointmentServiceSchema = z.object({
|
|
|
6811
6844
|
pricing: publicPricingSchema.optional(),
|
|
6812
6845
|
priceAmount: z.number().nullable(),
|
|
6813
6846
|
priceCurrency: z.string().nullable(),
|
|
6847
|
+
onlinePaymentMode: z.enum(["session_or_package", "package_only"]).optional(),
|
|
6814
6848
|
location: publicLocationSchema,
|
|
6815
6849
|
categoryId: z.string().nullable().optional().transform((value) => value ?? null)
|
|
6816
6850
|
});
|
|
@@ -6867,6 +6901,7 @@ function formatVenue(venue) {
|
|
|
6867
6901
|
return venue.area ? `${venue.name}, ${venue.area}` : venue.name;
|
|
6868
6902
|
}
|
|
6869
6903
|
function formatAppointmentPrice(service) {
|
|
6904
|
+
if (service.onlinePaymentMode === "package_only") return "Book with a package";
|
|
6870
6905
|
const pricing = service.pricing;
|
|
6871
6906
|
if (pricing) {
|
|
6872
6907
|
const display = (() => {
|
|
@@ -7578,6 +7613,7 @@ const bookingSourceSchema = z.object({
|
|
|
7578
7613
|
demoEmailSuppressed: z.boolean().optional(),
|
|
7579
7614
|
mailingList: bookingMailingListContextSchema.optional(),
|
|
7580
7615
|
siteTerms: blockSiteTermsSchema.optional(),
|
|
7616
|
+
pageNavigation: pageNavigationSchema.optional(),
|
|
7581
7617
|
siteName: z.string().optional(),
|
|
7582
7618
|
siteId: z.string().optional(),
|
|
7583
7619
|
apiBaseUrl: z.string().optional(),
|
|
@@ -7612,6 +7648,7 @@ const bookingHydrationSchema = z.object({
|
|
|
7612
7648
|
demoEmailSuppressed: z.boolean().optional(),
|
|
7613
7649
|
mailingList: bookingMailingListContextSchema.optional(),
|
|
7614
7650
|
siteTerms: blockSiteTermsSchema.optional(),
|
|
7651
|
+
pageNavigation: pageNavigationSchema.optional(),
|
|
7615
7652
|
siteName: z.string().optional(),
|
|
7616
7653
|
formId: z.string().nullable(),
|
|
7617
7654
|
serviceId: z.string().nullable(),
|
|
@@ -7664,6 +7701,7 @@ const bookingFormBlockRuntime = defineClientOwnedBlockRuntime({
|
|
|
7664
7701
|
demoEmailSuppressed: source.demoEmailSuppressed,
|
|
7665
7702
|
mailingList: source.mailingList,
|
|
7666
7703
|
siteTerms: source.siteTerms,
|
|
7704
|
+
pageNavigation: source.pageNavigation,
|
|
7667
7705
|
siteName: source.siteName,
|
|
7668
7706
|
formId: form?.id ?? source.formId ?? null,
|
|
7669
7707
|
serviceId: source.serviceId ?? form?.settings?.serviceId ?? null,
|
|
@@ -7730,56 +7768,54 @@ function buildBookingFormInteractiveIslandProps(props) {
|
|
|
7730
7768
|
function BookingFormSSR({ blockId, children, ...sourceProps }) {
|
|
7731
7769
|
const islandProps = buildBookingFormInteractiveIslandProps(sourceProps);
|
|
7732
7770
|
const display = islandProps.render.display;
|
|
7733
|
-
return /* @__PURE__ */ jsxs(
|
|
7734
|
-
|
|
7735
|
-
|
|
7736
|
-
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
|
-
|
|
7745
|
-
|
|
7746
|
-
})
|
|
7771
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
7772
|
+
kind: "booking-form",
|
|
7773
|
+
id: blockId,
|
|
7774
|
+
attributes: { "data-block": "appointment-booking" },
|
|
7775
|
+
value: islandProps,
|
|
7776
|
+
children: [display.state === "missing" ? /* @__PURE__ */ jsx("div", {
|
|
7777
|
+
className: `rb-reg-surface booking-form-ssr ${sourceProps.className ?? ""}`.trim(),
|
|
7778
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
7779
|
+
className: "alert alert-error",
|
|
7780
|
+
role: "alert",
|
|
7781
|
+
children: /* @__PURE__ */ jsx("p", {
|
|
7782
|
+
className: "ab-text",
|
|
7783
|
+
children: display.message
|
|
7747
7784
|
})
|
|
7748
|
-
})
|
|
7749
|
-
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
|
|
7760
|
-
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
children: [/* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--md" }), /* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--sm" })]
|
|
7765
|
-
})
|
|
7766
|
-
}),
|
|
7767
|
-
/* @__PURE__ */ jsxs("div", {
|
|
7785
|
+
})
|
|
7786
|
+
}) : /* @__PURE__ */ jsxs("div", {
|
|
7787
|
+
className: `rb-reg-surface booking-form-ssr ab-shell ${sourceProps.className ?? ""}`.trim(),
|
|
7788
|
+
"aria-busy": true,
|
|
7789
|
+
"aria-label": "Loading booking form",
|
|
7790
|
+
role: "status",
|
|
7791
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
7792
|
+
className: "rb-sr-only",
|
|
7793
|
+
children: "Loading booking form..."
|
|
7794
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
7795
|
+
className: "rb-reg-stack",
|
|
7796
|
+
"aria-hidden": "true",
|
|
7797
|
+
children: [
|
|
7798
|
+
/* @__PURE__ */ jsx("div", {
|
|
7799
|
+
className: "rb-reg-summary",
|
|
7800
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
7768
7801
|
className: "rb-reg-stack rb-reg-stack--sm",
|
|
7769
|
-
children: [/* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--
|
|
7770
|
-
}),
|
|
7771
|
-
/* @__PURE__ */ jsx("div", {
|
|
7772
|
-
className: "rb-wizard-actions",
|
|
7773
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
7774
|
-
className: "ab-shell-button",
|
|
7775
|
-
children: display.submitLabel
|
|
7776
|
-
})
|
|
7802
|
+
children: [/* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--md" }), /* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--sm" })]
|
|
7777
7803
|
})
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
|
|
7781
|
-
|
|
7782
|
-
|
|
7804
|
+
}),
|
|
7805
|
+
/* @__PURE__ */ jsxs("div", {
|
|
7806
|
+
className: "rb-reg-stack rb-reg-stack--sm",
|
|
7807
|
+
children: [/* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--lg" }), /* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--xs" })]
|
|
7808
|
+
}),
|
|
7809
|
+
/* @__PURE__ */ jsx("div", {
|
|
7810
|
+
className: "rb-wizard-actions",
|
|
7811
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
7812
|
+
className: "ab-shell-button",
|
|
7813
|
+
children: display.submitLabel
|
|
7814
|
+
})
|
|
7815
|
+
})
|
|
7816
|
+
]
|
|
7817
|
+
})]
|
|
7818
|
+
}), children]
|
|
7783
7819
|
});
|
|
7784
7820
|
}
|
|
7785
7821
|
//#endregion
|
|
@@ -8450,8 +8486,8 @@ function withLookParts(props, arrangement) {
|
|
|
8450
8486
|
}
|
|
8451
8487
|
//#endregion
|
|
8452
8488
|
//#region ../blocks/src/system/runtime/nodes/event-details.server.tsx
|
|
8453
|
-
function
|
|
8454
|
-
return
|
|
8489
|
+
function eventDetailsIslandValue({ props, presentation, scopedEvents, subject, nowIso }) {
|
|
8490
|
+
return {
|
|
8455
8491
|
...props.arrangement ? {
|
|
8456
8492
|
arrangement: props.arrangement,
|
|
8457
8493
|
entryTitle: props.entryTitle,
|
|
@@ -8479,7 +8515,7 @@ function EventDetailsHydration({ props, presentation, scopedEvents, subject, now
|
|
|
8479
8515
|
autoApplyDiscount: presentation.autoApplyDiscount,
|
|
8480
8516
|
className: props.className,
|
|
8481
8517
|
nowIso
|
|
8482
|
-
}
|
|
8518
|
+
};
|
|
8483
8519
|
}
|
|
8484
8520
|
function EventDetailsSSR(props) {
|
|
8485
8521
|
const { blockId, occurrenceContext = null, subject, events = null, className, children } = props;
|
|
@@ -8496,24 +8532,24 @@ function EventDetailsSSR(props) {
|
|
|
8496
8532
|
subject: normalizedSubject,
|
|
8497
8533
|
nowIso
|
|
8498
8534
|
});
|
|
8499
|
-
return /* @__PURE__ */ jsxs(
|
|
8500
|
-
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
|
|
8504
|
-
|
|
8505
|
-
|
|
8506
|
-
|
|
8507
|
-
|
|
8508
|
-
|
|
8509
|
-
|
|
8510
|
-
|
|
8511
|
-
|
|
8512
|
-
|
|
8513
|
-
|
|
8514
|
-
|
|
8515
|
-
|
|
8516
|
-
]
|
|
8535
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
8536
|
+
kind: "event-details",
|
|
8537
|
+
id: blockId,
|
|
8538
|
+
attributes: {
|
|
8539
|
+
className: `event-details ${className ?? ""}`.trim(),
|
|
8540
|
+
"data-block": "event-details"
|
|
8541
|
+
},
|
|
8542
|
+
value: eventDetailsIslandValue({
|
|
8543
|
+
props,
|
|
8544
|
+
presentation,
|
|
8545
|
+
scopedEvents,
|
|
8546
|
+
subject: normalizedSubject,
|
|
8547
|
+
nowIso
|
|
8548
|
+
}),
|
|
8549
|
+
children: [/* @__PURE__ */ jsx(EventDetailsView, {
|
|
8550
|
+
...presentation,
|
|
8551
|
+
mapClassName: "venue-map event-details-map"
|
|
8552
|
+
}), children]
|
|
8517
8553
|
});
|
|
8518
8554
|
}
|
|
8519
8555
|
//#endregion
|
|
@@ -8700,37 +8736,37 @@ const EventCombinedSSR = ({ blockId, ...source }) => {
|
|
|
8700
8736
|
const listDisplay = buildEventCombinedListingDisplay(render);
|
|
8701
8737
|
const islandProps = buildEventCombinedInteractiveIslandProps(source);
|
|
8702
8738
|
const ssrEmptyMessage = render.hydration.prefetchedEvents ? render.display.emptyMessage : listDisplay.loadingMessage;
|
|
8703
|
-
return /* @__PURE__ */ jsxs(
|
|
8704
|
-
|
|
8705
|
-
|
|
8706
|
-
|
|
8707
|
-
|
|
8708
|
-
|
|
8709
|
-
|
|
8710
|
-
|
|
8711
|
-
|
|
8712
|
-
|
|
8713
|
-
|
|
8714
|
-
|
|
8715
|
-
|
|
8716
|
-
|
|
8717
|
-
|
|
8718
|
-
|
|
8719
|
-
|
|
8720
|
-
|
|
8721
|
-
|
|
8722
|
-
|
|
8723
|
-
|
|
8724
|
-
|
|
8725
|
-
|
|
8726
|
-
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
|
|
8731
|
-
|
|
8739
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
8740
|
+
kind: "event-combined",
|
|
8741
|
+
id: blockId,
|
|
8742
|
+
attributes: {
|
|
8743
|
+
className: `event-combined ${render.display.className || ""}`,
|
|
8744
|
+
"data-block": "event-combined"
|
|
8745
|
+
},
|
|
8746
|
+
value: islandProps,
|
|
8747
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
8748
|
+
className: "nav-tabs",
|
|
8749
|
+
role: "tablist",
|
|
8750
|
+
children: [/* @__PURE__ */ jsx("button", {
|
|
8751
|
+
type: "button",
|
|
8752
|
+
role: "tab",
|
|
8753
|
+
"aria-selected": true,
|
|
8754
|
+
className: "nav-tab nav-tab--active",
|
|
8755
|
+
children: "List"
|
|
8756
|
+
}), /* @__PURE__ */ jsx("button", {
|
|
8757
|
+
type: "button",
|
|
8758
|
+
role: "tab",
|
|
8759
|
+
"aria-selected": false,
|
|
8760
|
+
className: "nav-tab",
|
|
8761
|
+
children: "Calendar"
|
|
8762
|
+
})]
|
|
8763
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
8764
|
+
className: "event-combined-content",
|
|
8765
|
+
children: listDisplay.events.length === 0 ? /* @__PURE__ */ jsx(EmptyState, { message: ssrEmptyMessage }) : /* @__PURE__ */ jsx("div", {
|
|
8766
|
+
className: listDisplay.containerClass,
|
|
8767
|
+
children: listDisplay.events.map((event) => renderEventListItem(event, listDisplay))
|
|
8732
8768
|
})
|
|
8733
|
-
]
|
|
8769
|
+
})]
|
|
8734
8770
|
});
|
|
8735
8771
|
};
|
|
8736
8772
|
//#endregion
|
|
@@ -9469,7 +9505,7 @@ function styledGroupFrame(cardStyles, baseClass) {
|
|
|
9469
9505
|
}
|
|
9470
9506
|
function resolveGroupFrame(cardStyles) {
|
|
9471
9507
|
if (!cardStyles) return {
|
|
9472
|
-
containerClassName: "offerings-preview-card rb-flex rb-h-full rb-min-h-full rb-flex-col rb-rounded-lg rb-border rb-border-border rb-
|
|
9508
|
+
containerClassName: "offerings-preview-card offerings-preview-card--default rb-flex rb-h-full rb-min-h-full rb-flex-col rb-rounded-lg rb-border rb-border-border rb-p-5",
|
|
9473
9509
|
contentClassName: GROUP_FRAME_CONTENT_CLASS
|
|
9474
9510
|
};
|
|
9475
9511
|
const role = resolveCardRoleForBoxStyles(cardStyles, void 0);
|
|
@@ -10276,18 +10312,18 @@ function CartSSR({ blockId, siteId, apiBaseUrl, stage, children, ...rest }) {
|
|
|
10276
10312
|
stage,
|
|
10277
10313
|
...rest
|
|
10278
10314
|
});
|
|
10279
|
-
return /* @__PURE__ */ jsxs(
|
|
10280
|
-
|
|
10281
|
-
id:
|
|
10282
|
-
|
|
10283
|
-
|
|
10284
|
-
|
|
10285
|
-
|
|
10286
|
-
|
|
10287
|
-
|
|
10288
|
-
|
|
10289
|
-
|
|
10290
|
-
]
|
|
10315
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
10316
|
+
kind: "cart",
|
|
10317
|
+
id: blockId,
|
|
10318
|
+
attributes: {
|
|
10319
|
+
className: `shop ${rest.className ?? ""}`.trim(),
|
|
10320
|
+
id: "shop",
|
|
10321
|
+
"data-shop": true,
|
|
10322
|
+
"data-block": "shop",
|
|
10323
|
+
"data-site-id": siteId ?? void 0
|
|
10324
|
+
},
|
|
10325
|
+
value: islandProps,
|
|
10326
|
+
children: [/* @__PURE__ */ jsx(CartServerContent, { render: islandProps.render }), children]
|
|
10291
10327
|
});
|
|
10292
10328
|
}
|
|
10293
10329
|
//#endregion
|
|
@@ -10300,18 +10336,18 @@ function CheckoutSSR({ blockId, siteId, apiBaseUrl, stage, demoEmailSuppressed,
|
|
|
10300
10336
|
demoEmailSuppressed,
|
|
10301
10337
|
...rest
|
|
10302
10338
|
});
|
|
10303
|
-
return /* @__PURE__ */ jsxs(
|
|
10304
|
-
|
|
10305
|
-
id:
|
|
10306
|
-
|
|
10307
|
-
|
|
10308
|
-
|
|
10309
|
-
|
|
10310
|
-
|
|
10311
|
-
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
]
|
|
10339
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
10340
|
+
kind: "checkout",
|
|
10341
|
+
id: blockId,
|
|
10342
|
+
attributes: {
|
|
10343
|
+
className: `shop ${rest.className ?? ""}`.trim(),
|
|
10344
|
+
id: "shop-checkout",
|
|
10345
|
+
"data-shop": true,
|
|
10346
|
+
"data-block": "shop",
|
|
10347
|
+
"data-site-id": siteId ?? void 0
|
|
10348
|
+
},
|
|
10349
|
+
value: islandProps,
|
|
10350
|
+
children: [/* @__PURE__ */ jsx(CheckoutServerContent, { render: islandProps.render }), children]
|
|
10315
10351
|
});
|
|
10316
10352
|
}
|
|
10317
10353
|
//#endregion
|
|
@@ -10320,12 +10356,17 @@ function GiftingSSR({ blockId, ...rest }) {
|
|
|
10320
10356
|
const islandProps = buildGiftingInteractiveIslandProps(rest);
|
|
10321
10357
|
const offers = islandProps.render.hydration.offers;
|
|
10322
10358
|
const hasOffers = Boolean((offers?.giftCards.length ?? 0) > 0 || (offers?.vouchers.length ?? 0) > 0);
|
|
10323
|
-
return /* @__PURE__ */
|
|
10324
|
-
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
|
|
10328
|
-
|
|
10359
|
+
return /* @__PURE__ */ jsx(IslandRoot, {
|
|
10360
|
+
kind: "gifting",
|
|
10361
|
+
id: blockId,
|
|
10362
|
+
as: "section",
|
|
10363
|
+
attributes: {
|
|
10364
|
+
className: rest.className ?? void 0,
|
|
10365
|
+
"data-block": "gifting",
|
|
10366
|
+
style: { color: "rgb(var(--tb-text, 17 24 39))" }
|
|
10367
|
+
},
|
|
10368
|
+
value: islandProps,
|
|
10369
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
10329
10370
|
className: "rb-grid",
|
|
10330
10371
|
style: { gap: "1.5rem" },
|
|
10331
10372
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
@@ -10425,7 +10466,7 @@ function GiftingSSR({ blockId, ...rest }) {
|
|
|
10425
10466
|
style: { margin: 0 },
|
|
10426
10467
|
children: islandProps.render.display.emptyStateText
|
|
10427
10468
|
})]
|
|
10428
|
-
})
|
|
10469
|
+
})
|
|
10429
10470
|
});
|
|
10430
10471
|
}
|
|
10431
10472
|
//#endregion
|
|
@@ -11449,9 +11490,11 @@ function renderEventCalendarMode(display, hydration) {
|
|
|
11449
11490
|
}
|
|
11450
11491
|
const EventCalendarSSR = (props) => {
|
|
11451
11492
|
const islandProps = buildEventCalendarInteractiveIslandProps(props);
|
|
11452
|
-
return /* @__PURE__ */
|
|
11453
|
-
|
|
11454
|
-
|
|
11493
|
+
return /* @__PURE__ */ jsx(IslandRoot, {
|
|
11494
|
+
kind: "event-calendar",
|
|
11495
|
+
id: props.blockId,
|
|
11496
|
+
value: islandProps,
|
|
11497
|
+
children: renderEventCalendarMode(islandProps.render.display, islandProps.render.hydration)
|
|
11455
11498
|
});
|
|
11456
11499
|
};
|
|
11457
11500
|
function CombinedSsrTabs({ look }) {
|
|
@@ -11484,12 +11527,14 @@ function CombinedSsrTabs({ look }) {
|
|
|
11484
11527
|
const EventListingSSR = (props) => {
|
|
11485
11528
|
const islandProps = buildEventListingInteractiveIslandProps(props);
|
|
11486
11529
|
const display = islandProps.render.display;
|
|
11487
|
-
return /* @__PURE__ */
|
|
11488
|
-
|
|
11489
|
-
|
|
11530
|
+
return /* @__PURE__ */ jsx(IslandRoot, {
|
|
11531
|
+
kind: "event-listing",
|
|
11532
|
+
id: props.blockId,
|
|
11533
|
+
value: islandProps,
|
|
11534
|
+
children: /* @__PURE__ */ jsx(EventListingFrameView, {
|
|
11490
11535
|
display,
|
|
11491
11536
|
renderEventCard: (event) => renderEventListItem(event, display)
|
|
11492
|
-
})
|
|
11537
|
+
})
|
|
11493
11538
|
});
|
|
11494
11539
|
};
|
|
11495
11540
|
//#endregion
|
|
@@ -11654,7 +11699,7 @@ function ChooseEventCard({ entry, buttonVariant, onAction }) {
|
|
|
11654
11699
|
className: "er-booking-card__body",
|
|
11655
11700
|
children: /* @__PURE__ */ jsx("p", {
|
|
11656
11701
|
className: "er-booking-card__when",
|
|
11657
|
-
children:
|
|
11702
|
+
children: entry.countLabel
|
|
11658
11703
|
})
|
|
11659
11704
|
}), /* @__PURE__ */ jsx(CardCta, {
|
|
11660
11705
|
label: entry.action,
|
|
@@ -11744,24 +11789,24 @@ function EventRegistrationSSR({ blockId, subject, loaderFailures, children, ...s
|
|
|
11744
11789
|
});
|
|
11745
11790
|
const display = islandProps.render.display;
|
|
11746
11791
|
const className = sourceProps.className;
|
|
11747
|
-
return /* @__PURE__ */ jsxs(
|
|
11748
|
-
|
|
11749
|
-
|
|
11750
|
-
|
|
11751
|
-
|
|
11752
|
-
|
|
11753
|
-
|
|
11754
|
-
|
|
11755
|
-
|
|
11756
|
-
|
|
11757
|
-
|
|
11758
|
-
|
|
11759
|
-
|
|
11760
|
-
|
|
11761
|
-
|
|
11762
|
-
|
|
11763
|
-
|
|
11764
|
-
]
|
|
11792
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
11793
|
+
kind: "event-registration",
|
|
11794
|
+
id: blockId,
|
|
11795
|
+
attributes: {
|
|
11796
|
+
className: `event-registration ${className ?? ""}`.trim(),
|
|
11797
|
+
"data-block": "event-registration",
|
|
11798
|
+
"data-rb-island-required": "true",
|
|
11799
|
+
"data-rb-island-error-message": "We couldn’t load the booking options for this event. Please refresh this page and try again. If this keeps happening, contact the organiser for help.",
|
|
11800
|
+
"data-rb-island-error-class": "event-registration__hydration-error"
|
|
11801
|
+
},
|
|
11802
|
+
value: islandProps,
|
|
11803
|
+
children: [display.state === "booking-card" ? /* @__PURE__ */ jsx("div", {
|
|
11804
|
+
id: EVENT_REGISTRATION_ANCHOR_ID,
|
|
11805
|
+
children: /* @__PURE__ */ jsx(BookingEntryCard, {
|
|
11806
|
+
entry: display.entry,
|
|
11807
|
+
buttonVariant: display.buttonVariant ?? "primary"
|
|
11808
|
+
})
|
|
11809
|
+
}) : /* @__PURE__ */ jsx(EventRegistrationShell, { display }), children]
|
|
11765
11810
|
});
|
|
11766
11811
|
}
|
|
11767
11812
|
function EventRegistrationShell({ display }) {
|
|
@@ -12053,18 +12098,22 @@ const FormNodeSSR = ({ blockId, lookSlots, value, submitLabel, successMessage, c
|
|
|
12053
12098
|
});
|
|
12054
12099
|
const display = islandProps.render.display;
|
|
12055
12100
|
const form = display.form;
|
|
12056
|
-
if (!form) return /* @__PURE__ */
|
|
12057
|
-
|
|
12058
|
-
|
|
12101
|
+
if (!form) return /* @__PURE__ */ jsx(IslandRoot, {
|
|
12102
|
+
kind: "form",
|
|
12103
|
+
id: blockId,
|
|
12104
|
+
value: islandProps,
|
|
12105
|
+
children: /* @__PURE__ */ jsx(FeedbackMessage, {
|
|
12059
12106
|
tone: "warning",
|
|
12060
12107
|
className: clsx("fb-empty", className),
|
|
12061
12108
|
role: "status",
|
|
12062
12109
|
children: "Missing or unknown form."
|
|
12063
|
-
})
|
|
12110
|
+
})
|
|
12064
12111
|
});
|
|
12065
|
-
return /* @__PURE__ */
|
|
12066
|
-
|
|
12067
|
-
|
|
12112
|
+
return /* @__PURE__ */ jsx(IslandRoot, {
|
|
12113
|
+
kind: "form",
|
|
12114
|
+
id: blockId,
|
|
12115
|
+
value: islandProps,
|
|
12116
|
+
children: /* @__PURE__ */ jsxs("form", {
|
|
12068
12117
|
method: "POST",
|
|
12069
12118
|
action,
|
|
12070
12119
|
onSubmit,
|
|
@@ -12093,7 +12142,7 @@ const FormNodeSSR = ({ blockId, lookSlots, value, submitLabel, successMessage, c
|
|
|
12093
12142
|
lookSlots: display.lookSlots
|
|
12094
12143
|
})
|
|
12095
12144
|
]
|
|
12096
|
-
})
|
|
12145
|
+
})
|
|
12097
12146
|
});
|
|
12098
12147
|
};
|
|
12099
12148
|
//#endregion
|
|
@@ -12294,11 +12343,15 @@ function NewsletterFormSSR(props) {
|
|
|
12294
12343
|
})
|
|
12295
12344
|
});
|
|
12296
12345
|
const { email: emailField, extra: extraFields } = partitionNewsletterFields(fields);
|
|
12297
|
-
return /* @__PURE__ */
|
|
12298
|
-
|
|
12299
|
-
|
|
12300
|
-
|
|
12301
|
-
|
|
12346
|
+
return /* @__PURE__ */ jsx(IslandRoot, {
|
|
12347
|
+
kind: "newsletter-form",
|
|
12348
|
+
id: blockId,
|
|
12349
|
+
attributes: {
|
|
12350
|
+
...listLookSlot(display, "panel"),
|
|
12351
|
+
className: clsx("newsletter-form-ssr", className)
|
|
12352
|
+
},
|
|
12353
|
+
value: islandProps,
|
|
12354
|
+
children: /* @__PURE__ */ jsxs("form", {
|
|
12302
12355
|
method: "POST",
|
|
12303
12356
|
className: "newsletter-form fb-form",
|
|
12304
12357
|
children: [
|
|
@@ -12343,7 +12396,7 @@ function NewsletterFormSSR(props) {
|
|
|
12343
12396
|
children: display.privacyNote
|
|
12344
12397
|
})
|
|
12345
12398
|
]
|
|
12346
|
-
})
|
|
12399
|
+
})
|
|
12347
12400
|
});
|
|
12348
12401
|
}
|
|
12349
12402
|
//#endregion
|
|
@@ -12355,18 +12408,18 @@ function ProductDetailSSR({ blockId, siteId, apiBaseUrl, stage, children, ...res
|
|
|
12355
12408
|
stage,
|
|
12356
12409
|
...rest
|
|
12357
12410
|
});
|
|
12358
|
-
return /* @__PURE__ */ jsxs(
|
|
12359
|
-
|
|
12360
|
-
id:
|
|
12361
|
-
|
|
12362
|
-
|
|
12363
|
-
|
|
12364
|
-
|
|
12365
|
-
|
|
12366
|
-
|
|
12367
|
-
|
|
12368
|
-
|
|
12369
|
-
]
|
|
12411
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
12412
|
+
kind: "product-detail",
|
|
12413
|
+
id: blockId,
|
|
12414
|
+
attributes: {
|
|
12415
|
+
className: `shop ${rest.className ?? ""}`.trim(),
|
|
12416
|
+
id: "shop",
|
|
12417
|
+
"data-shop": true,
|
|
12418
|
+
"data-block": "shop",
|
|
12419
|
+
"data-site-id": siteId ?? void 0
|
|
12420
|
+
},
|
|
12421
|
+
value: islandProps,
|
|
12422
|
+
children: [/* @__PURE__ */ jsx(ProductDetailServerContent, { render: islandProps.render }), children]
|
|
12370
12423
|
});
|
|
12371
12424
|
}
|
|
12372
12425
|
//#endregion
|
|
@@ -12378,18 +12431,18 @@ function ProductListSSR({ blockId, siteId, apiBaseUrl, stage, children, ...rest
|
|
|
12378
12431
|
stage,
|
|
12379
12432
|
...rest
|
|
12380
12433
|
});
|
|
12381
|
-
return /* @__PURE__ */ jsxs(
|
|
12382
|
-
|
|
12383
|
-
id:
|
|
12384
|
-
|
|
12385
|
-
|
|
12386
|
-
|
|
12387
|
-
|
|
12388
|
-
|
|
12389
|
-
|
|
12390
|
-
|
|
12391
|
-
|
|
12392
|
-
]
|
|
12434
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
12435
|
+
kind: "product-list",
|
|
12436
|
+
id: blockId,
|
|
12437
|
+
attributes: {
|
|
12438
|
+
className: `shop ${rest.className ?? ""}`.trim(),
|
|
12439
|
+
id: "shop",
|
|
12440
|
+
"data-shop": true,
|
|
12441
|
+
"data-block": "shop",
|
|
12442
|
+
"data-site-id": siteId ?? void 0
|
|
12443
|
+
},
|
|
12444
|
+
value: islandProps,
|
|
12445
|
+
children: [/* @__PURE__ */ jsx(ProductListServerContent, { render: islandProps.render }), children]
|
|
12393
12446
|
});
|
|
12394
12447
|
}
|
|
12395
12448
|
//#endregion
|
|
@@ -12402,18 +12455,18 @@ function ShopSSR({ blockId, siteId, apiBaseUrl, stage, children, checkoutEndpoin
|
|
|
12402
12455
|
...rest
|
|
12403
12456
|
});
|
|
12404
12457
|
const render = islandProps.render;
|
|
12405
|
-
return /* @__PURE__ */ jsxs(
|
|
12406
|
-
|
|
12407
|
-
id:
|
|
12408
|
-
|
|
12409
|
-
|
|
12410
|
-
|
|
12411
|
-
|
|
12412
|
-
|
|
12413
|
-
|
|
12414
|
-
|
|
12415
|
-
|
|
12416
|
-
]
|
|
12458
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
12459
|
+
kind: "shop",
|
|
12460
|
+
id: blockId,
|
|
12461
|
+
attributes: {
|
|
12462
|
+
className: `shop ${rest.className ?? ""}`.trim(),
|
|
12463
|
+
id: rest.mode === "checkout" ? "shop-checkout" : "shop",
|
|
12464
|
+
"data-shop": true,
|
|
12465
|
+
"data-block": "shop",
|
|
12466
|
+
"data-site-id": siteId ?? void 0
|
|
12467
|
+
},
|
|
12468
|
+
value: islandProps,
|
|
12469
|
+
children: [/* @__PURE__ */ jsx(ShopSsrProducts, { render }), children]
|
|
12417
12470
|
});
|
|
12418
12471
|
}
|
|
12419
12472
|
function ShopSsrProducts({ render }) {
|
|
@@ -14205,6 +14258,7 @@ function resolveDemoEmailSuppression(dataContext) {
|
|
|
14205
14258
|
}
|
|
14206
14259
|
function pageRuntimeContext(dataContext) {
|
|
14207
14260
|
return {
|
|
14261
|
+
pageNavigation: dataContext?.pageNavigation,
|
|
14208
14262
|
interactionContext: dataContext?.interactionContext,
|
|
14209
14263
|
dateContext: pageDateRuntimeContext(dataContext),
|
|
14210
14264
|
now: dataContext?.now,
|
|
@@ -15307,7 +15361,7 @@ const MemoBlockSection = React$1.memo(function MemoBlockSection({ themeResources
|
|
|
15307
15361
|
/** Every plan input participates in memo identity; the builder owns all rules. */
|
|
15308
15362
|
function usePageRenderPlan(props) {
|
|
15309
15363
|
const readPlan = React$1.useMemo(createPageRenderPlanReader, []);
|
|
15310
|
-
const { page, audience, runtimeJoins, sdkConfig, customBlocks, blockOverrides } = props;
|
|
15364
|
+
const { page, audience, runtimeJoins, hiddenBlockIds, sdkConfig, customBlocks, blockOverrides } = props;
|
|
15311
15365
|
const siteStyleId = props.theme?.siteStyleId ?? null;
|
|
15312
15366
|
const previewStage = props.dataContext?.previewStage ?? "published";
|
|
15313
15367
|
return React$1.useMemo(() => readPlan({
|
|
@@ -15320,6 +15374,7 @@ function usePageRenderPlan(props) {
|
|
|
15320
15374
|
siteStyleId,
|
|
15321
15375
|
audience,
|
|
15322
15376
|
runtimeJoins,
|
|
15377
|
+
hiddenBlockIds,
|
|
15323
15378
|
previewStage,
|
|
15324
15379
|
sdkConfig,
|
|
15325
15380
|
customBlocks,
|
|
@@ -15329,6 +15384,7 @@ function usePageRenderPlan(props) {
|
|
|
15329
15384
|
siteStyleId,
|
|
15330
15385
|
audience,
|
|
15331
15386
|
runtimeJoins,
|
|
15387
|
+
hiddenBlockIds,
|
|
15332
15388
|
previewStage,
|
|
15333
15389
|
sdkConfig,
|
|
15334
15390
|
customBlocks,
|