@riverbankcms/sdk 0.162.0 → 0.164.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 +9 -0
- package/README.md +12 -1
- package/dist/_dts/{BlocksIslandsHydrator-PZUoA872.d.ts → BlocksIslandsHydrator-CubPwupc.d.ts} +1 -1
- package/dist/_dts/{Page-CdQS6C7i.d.ts → Page-CDzsagB2.d.ts} +15 -12
- package/dist/_dts/{SdkPreviewMode-CNGO-5f1.d.ts → SdkPreviewMode-CPRQbRCI.d.ts} +2 -3
- package/dist/_dts/{client-DGa53rjL.d.ts → client-CbeYTSry.d.ts} +13 -41
- package/dist/_dts/{content-types-K9R7P-KF.d.ts → content-types--uYRIcIF.d.ts} +2 -2
- package/dist/_dts/{contracts-CyBaPaIq.d.ts → contracts-DJQYAOsv.d.ts} +5 -4
- package/dist/_dts/{footerPageOutline-B6jmKmon.d.ts → footerPageOutline-CKkhBwgJ.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-iemoR3AN.d.ts → generatePageMetadata--qd7NCIA.d.ts} +2 -2
- package/dist/_dts/{index-DEu85xBt.d.ts → index-BZE-1azr.d.ts} +1 -1
- package/dist/_dts/{index-Wm62sXf2.d.ts → index-BpEbwDM7.d.ts} +4 -4
- package/dist/_dts/index-CXsnaCGe.d.ts +10 -0
- package/dist/_dts/{index-8CN0Nd-Z.d.ts → index-CjdIn9-_.d.ts} +2 -2
- package/dist/_dts/{index-BtnsA14K.d.ts → index-DYQFmf--.d.ts} +4 -3
- package/dist/_dts/{index-Dbd0Sn0G.d.ts → index-D_pQO-AS.d.ts} +21723 -21361
- package/dist/_dts/{index-Du1IRglc.d.ts → index-DriYVLfT.d.ts} +2 -2
- package/dist/_dts/{index-DI2yaSPY.d.ts → index-JS8WYgD3.d.ts} +31248 -30975
- package/dist/_dts/{index-Jlcq6w69.d.ts → index-wegfy7lf.d.ts} +3 -3
- package/dist/_dts/{loadContent-BPfAAZDW.d.ts → loadContent-DUi94Qfk.d.ts} +15 -30
- package/dist/_dts/{resolvePageContent-DWbrtKf8.d.ts → resolvePageContent-JDE0ry6T.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +3 -4
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +6 -6
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +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/index.d.ts +13 -7
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +32 -52
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-ClZ-BQL_.d.ts → types-DiciZDrk.d.ts} +3 -3
- package/dist/_dts/{types-CVv2H4AT.d.ts → types-DubJnBnI.d.ts} +7 -7
- package/dist/_dts/{types-CfNG5koF.d.ts → types-W40f2olO.d.ts} +3 -2
- package/dist/_dts/{validation-BJ6Lf_Dr.d.ts → validation-BF4_zNkR.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-COqlgWYU.mjs → BlocksIslandsHydrator-64hFxF02.mjs} +20 -20
- package/dist/client/{BookingMailingListNote-CFYPDEHH.mjs → BookingMailingListNote-CSQyFm9J.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-COBVxgHb.mjs → CalendarNavigationChevron-Bvkx8Z7Y.mjs} +6 -6
- package/dist/client/{CheckboxChoice-C7X9dJ8A.mjs → CheckboxChoice-3PhxDxgR.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-CvT0E9AR.mjs → DemoBookingPortalAccess-pt2xXBQp.mjs} +5 -5
- package/dist/client/{DemoPortalSignInLink-EBOBN5dT.mjs → DemoPortalSignInLink-Qw780EfW.mjs} +1 -1
- package/dist/client/{EventCalendar.client-U6pKcntV.mjs → EventCalendar.client-DWoboRW5.mjs} +9 -9
- package/dist/client/{EventCombined.client-CNzwEHws.mjs → EventCombined.client-C98ucpcP.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B9yAWV_k.mjs → EventEmbeddedCheckoutStep-DHRlFfkp.mjs} +2 -1
- package/dist/client/{EventItem-M5rpaHxi.mjs → EventItem-hrSyTApW.mjs} +102 -22
- package/dist/client/{EventListWeekNavigation-D4ieBLDY.mjs → EventListWeekNavigation-C3t7H13W.mjs} +1 -1
- package/dist/client/{EventListing.client-B8F40Rmn.mjs → EventListing.client-Cp11sBX_.mjs} +3 -3
- package/dist/client/{EventListing.view-k4lhuCn5.mjs → EventListing.view-Dd5QHIAf.mjs} +7 -56
- package/dist/client/{EventRegistrationPayment-C3g8_Hqb.mjs → EventRegistrationPayment-ByT88VHR.mjs} +18 -22
- package/dist/client/{LocationMapActions-CAjt7qVo.mjs → LocationMapActions-BsepG5Vv.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-_aIK2ojv.mjs → MapDrawingSvg-R4JMT4yd.mjs} +1 -1
- package/dist/client/{Page-DJBIQBOw.mjs → Page-Dub71o3c.mjs} +956 -378
- package/dist/client/ProtectedSubmitButton-DGbgGvdh.mjs +14 -0
- package/dist/client/SpamProtectionWidget-CRsKTQV-.mjs +139 -0
- package/dist/client/{StepIndicator-CFacB1z6.mjs → StepIndicator-Bp7MyutT.mjs} +2 -2
- package/dist/client/{TabBarFragment-BLsfQskO.mjs → TabBarFragment-C4WJyybx.mjs} +1 -1
- package/dist/client/{ThemedButton-BWsDgjMC.mjs → ThemedButton-BGVwNwE-.mjs} +2 -898
- package/dist/client/{accordion-CtO2XF7M.mjs → accordion-vCG_JC5t.mjs} +1 -1
- package/dist/client/altchaProtection-BWchRM3v.mjs +12 -0
- package/dist/client/{booking-form.client-RICCQ0h2.mjs → booking-form.client-CHTbcZJM.mjs} +23 -56
- package/dist/client/{bookingForm-SvjLPx8i.mjs → bookingForm-BxbUbzUr.mjs} +4 -4
- package/dist/client/bookings.mjs +23 -32
- package/dist/client/{carousel-BR-zCD3O.mjs → carousel-FM1mkkL0.mjs} +2 -2
- package/dist/client/{carousel.client-CEWtoZd3.mjs → carousel.client-ChoLiWwD.mjs} +1 -1
- package/dist/client/{cart-C6YpKbZZ.mjs → cart-BDFhbh9j.mjs} +3 -3
- package/dist/client/{cart.client-dC938WrX.mjs → cart.client-x3HOke6T.mjs} +1 -1
- package/dist/client/{checkout-Dy9RlREI.mjs → checkout-BibhwnTd.mjs} +3 -3
- package/dist/client/{checkout.client-CefG0d2F.mjs → checkout.client-CE4jUi0G.mjs} +1 -1
- package/dist/client/client.mjs +216 -109
- package/dist/client/{context-BFwxgZpB.mjs → context-BNAM7NsW.mjs} +17 -3
- package/dist/client/{cta-DtA42Xio.mjs → cta-ChiN1Vgg.mjs} +1 -1
- package/dist/client/{dateFormatting-yP1B7F0O.mjs → dateFormatting-QwBSo0hK.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-WOiT5Ryi.mjs → demoPortalMagicLink-NwKJk6gn.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-Dh8c_Lq-.mjs → enhanceHeaderSection-D4zqEBDl.mjs} +3 -3
- package/dist/client/{event-details.client-BFgsLqTj.mjs → event-details.client-jFyFjOIC.mjs} +1 -1
- package/dist/client/{event-registration.client-BaXZ1-Ky.mjs → event-registration.client-BK_jVv3R.mjs} +37 -55
- package/dist/client/{eventCalendar-COLwF80U.mjs → eventCalendar-DSkzejQh.mjs} +4 -4
- package/dist/client/{eventCombined-D3Ltwu03.mjs → eventCombined-BG-BEaYh.mjs} +4 -4
- package/dist/client/{eventDetails-CBrkimXu.mjs → eventDetails-BhIwXAKe.mjs} +2 -2
- package/dist/client/{eventListing-CedKVA1S.mjs → eventListing-DQtyO1Xj.mjs} +4 -4
- package/dist/client/{eventRegistration-DkQQfR1b.mjs → eventRegistration-DRTz8X0M.mjs} +4 -4
- package/dist/client/{form-XFy9uXSJ.mjs → form-GXqjObPC.mjs} +3 -3
- package/dist/client/{form.client-B0iancFK.mjs → form.client-CoKNba2e.mjs} +33 -24
- package/dist/client/{form.parts-DMbolu9Y.mjs → form.parts-magB_epJ.mjs} +6 -5
- package/dist/client/{formatDate-Jm5MQOCA.mjs → formatDate-BiloOyjS.mjs} +1 -1
- package/dist/client/gifting/client.mjs +4 -3
- package/dist/client/{headerSection-WjlECjtV.mjs → headerSection-BMQCPHT3.mjs} +2 -2
- package/dist/client/mediaAssets-BX-vWwQc.mjs +43 -0
- package/dist/client/{mediaContext-CNzWmoA4.mjs → mediaContext-CdqGYlWl.mjs} +1 -1
- package/dist/client/{newsletter-form.client-D-XwJTjN.mjs → newsletter-form.client-8orCez1z.mjs} +99 -84
- package/dist/client/{newsletter-form.parts-H92f30y0.mjs → newsletter-form.parts-D8NgHY_F.mjs} +11 -7
- package/dist/client/{newsletterForm-DMuxzu6I.mjs → newsletterForm-BhBNsS3n.mjs} +3 -3
- package/dist/client/{noop-B3RNPVrt.mjs → noop-C2vZse15.mjs} +3 -3
- package/dist/client/portal/client.mjs +13 -12
- package/dist/client/{product-detail.client-B3HuuykE.mjs → product-detail.client-CQ0k0fbH.mjs} +1 -1
- package/dist/client/{product-list.client-CzsDrHQO.mjs → product-list.client-Xlr1P0x9.mjs} +1 -1
- package/dist/client/{productDetail-CbBUVWgd.mjs → productDetail-BsCao6X4.mjs} +3 -3
- package/dist/client/{productList-vqOKH2mh.mjs → productList-Cc-PmbEe.mjs} +3 -3
- package/dist/client/{propsDecoder-CkSUep5a.mjs → propsDecoder-DikkDJ9x.mjs} +3 -3
- package/dist/client/protection-C0PoH1lT.mjs +104 -0
- package/dist/client/purchase-BMsWpx8y.mjs +894 -0
- package/dist/client/{registry.server-cZ24QwtW.mjs → registry.server-BpLZo3bC.mjs} +27 -24
- package/dist/client/rendering/client.mjs +27 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +23 -19
- package/dist/client/{richText-coerce-DDcCKvBJ.mjs → richText-coerce-WuMYrBm3.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DYBioANh.mjs → routeIslandApiConfig-DNx6b07x.mjs} +1 -1
- package/dist/client/{schema-DNHLlze-.mjs → schema-DMUkBtIO.mjs} +3517 -3147
- package/dist/client/{shop-CF0dhnfH.mjs → shop-DyXtB5TD.mjs} +3 -3
- package/dist/client/{shop-commerce-store-Ba8zPlIg.mjs → shop-commerce-store-CbBsS1kD.mjs} +1 -1
- package/dist/client/{shop-commerce-DQznNBEo.mjs → shop-commerce-xjWH7-Ym.mjs} +11 -11
- package/dist/client/{shop.client-DqfYoqWH.mjs → shop.client-QOKqQPgK.mjs} +12 -12
- package/dist/client/{shop.interactive-CreQ0I7i.mjs → shop.interactive-BQdm441g.mjs} +62 -34
- package/dist/client/{shopShared-D-yh-P7g.mjs → shopShared-CyW6MU48.mjs} +2 -2
- package/dist/client/{site-styles-B9HgmY07.mjs → site-styles-BLHYJ8S7.mjs} +755 -35
- package/dist/client/spam-protection.mjs +4 -69
- package/dist/client/{timetableModel-DCdVErTJ.mjs → timetableModel-BgdkhRuA.mjs} +10 -10
- package/dist/client/{useAvailableSlots-Cvgdp2DH.mjs → useAvailableSlots-wmdo6uZ8.mjs} +3 -3
- package/dist/client/{useBookingNowIso-DrTnGNzD.mjs → useBookingNowIso-CUExAee1.mjs} +1 -1
- package/dist/client/{useDiscountApply-CULjnXGl.mjs → useDiscountApply-BRM-OoTN.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-Gn_m7e0o.mjs → useDiscountCodeUi-BEIvL31G.mjs} +1 -1
- package/dist/client/{useEventPagination-CsysCF22.mjs → useEventPagination-Dk3g64we.mjs} +6 -6
- package/dist/client/{view-DMyTchi7.mjs → view-BnaOmrap.mjs} +4 -4
- package/dist/client/{view-BpBjo9Te.mjs → view-vhKGFfC3.mjs} +7 -7
- package/dist/client/{wizardSteps-BO2OmMO9.mjs → wizardSteps-xqU4q63H.mjs} +14 -14
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/chrome.css +1 -1
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-DLsSmZbO.mjs → EventEmbeddedCheckoutStep-43wIAWr4.mjs} +1 -1
- package/dist/preview-next/client/{PreviewEditorSidebar-ChrW9VEo.mjs → PreviewEditorSidebar-C3AQVxQt.mjs} +74 -72
- package/dist/preview-next/client/{PreviewEditorUI-VaHvYtrA.mjs → PreviewEditorUI-C-1zDCR_.mjs} +151 -126
- package/dist/preview-next/client/{SdkPreviewModeRuntime-DWwktlWs.mjs → SdkPreviewModeRuntime-B47yHFL0.mjs} +371 -1433
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bz7jR6nl.mjs → SdkPreviewModeRuntime-C6Rhm2NQ.mjs} +1 -1
- package/dist/preview-next/client/{ThemedButton-CHKOWXxl.mjs → ThemedButton-g7NPrsGp.mjs} +462 -110
- package/dist/preview-next/client/{previewAuthStore-C0VUwEHz.mjs → previewAuthStore-By_zfrS5.mjs} +164988 -163471
- package/dist/preview-next/client/{previewChromeSurface-Dhyx2YrS.mjs → previewChromeSurface-Cjwxv90x.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-C2GWOCyj.mjs → sdk-runtime-BG2HYvQj.mjs} +1 -1
- package/dist/preview-next/client/{siteStyleAccess-DHyzUpv4.mjs → siteStyleAccess-BiSyYyyr.mjs} +10854 -9509
- package/dist/preview-next/client/{spinner-BeR2S8oG.mjs → spinner-DnWpeDp2.mjs} +1 -1
- package/dist/preview-next/edit-map.css +37 -0
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/maplibre-gl.css +1 -0
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CkrFDMrl.mjs → route-contract-D5tHZEz5.mjs} +40 -42
- package/dist/preview-next/upload-structure.css +18 -0
- package/dist/server/{Block.shared-DxvNGDig.mjs → Block.shared-Iy7g11iP.mjs} +17 -16
- package/dist/server/{bindings-BuhKvYkE.mjs → bindings-BVJGgUT0.mjs} +2 -2
- package/dist/server/{client-BobW6DOz.mjs → client-CiKaE8ms.mjs} +215 -109
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{effectiveNavLinkStyle-B-MKSt0p.mjs → effectiveNavLinkStyle-EDSdd_oK.mjs} +725 -18
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-CCG_3mbY.mjs → loadContent-BuintpdO.mjs} +6 -4
- package/dist/server/loadPage-BwjncpJf.mjs +2 -0
- package/dist/server/{loadPage-jntGoMrf.mjs → loadPage-Dk4wea8M.mjs} +3 -2
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-BBOlgn4Z.mjs → overrideResolution-BDiQWM7D.mjs} +1 -1
- package/dist/server/{overrides-DByQwIyW.mjs → overrides-DVemf-GV.mjs} +231 -114
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-DrwcTk2t.mjs → prebuild-DubLNgRH.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-LfgxSJYE.mjs → prefetchBlockData-Bnbwoe5n.mjs} +53 -28
- package/dist/server/{publicProducts-8A3T5v4M.mjs → publicProducts-D3Fc5TKk.mjs} +85 -70
- package/dist/server/{registry-Digv02oV.mjs → registry-zjd1P2Dl.mjs} +127 -59
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-C23t8-77.mjs → resolveBlockData-CZJ--nH6.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-BiqpDRwB.mjs → schema-BlTWmTSl.mjs} +4163 -3793
- package/dist/server/server.mjs +3 -3
- package/dist/server/{site-styles-DrkprQPL.mjs → site-styles-yHytcXIB.mjs} +33 -20
- package/dist/server/{siteChromeOverlayClearance-BmKKkkbh.mjs → siteChromeOverlayClearance-D0uCNZ7E.mjs} +159 -107
- package/dist/server/{src-08GY1njw.mjs → src-cbbK3Bho.mjs} +547 -147
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-CSd_Vusz.mjs → themeAdmission-BdY8lP-K.mjs} +3 -2
- package/dist/server/{validation-DdUTkBOZ.mjs → validation-CGH-Xs4E.mjs} +2 -2
- package/dist/server/{version-DdIOqIDe.mjs → version-DoOG6F13.mjs} +1 -1
- package/dist/styles/index.css +399 -112
- package/package.json +2 -3
- package/dist/_dts/AltchaWidget-COIYJ7DF.d.ts +0 -33
- package/dist/_dts/index-C39F9KaB.d.ts +0 -77
- package/dist/client/mediaAssets-BkoW_PEn.mjs +0 -16
- package/dist/client/src-BNZzXgWu.mjs +0 -102
- package/dist/server/loadPage-Bk9HDh9K.mjs +0 -2
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as formatDateKey, h as getWeekCalendarDayTuple, m as getOrderedDayNames } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { At as buildEventListingInteractiveIslandProps, B as giftingBlockRuntime, Ct as buildEventCalendarInteractiveIslandProps, Et as eventCalendarBlockRuntime, F as buildNewsletterFormInteractiveIslandProps, Gt as getCardOrientation, H as publicGiftingOffersResponseSchema, I as newsletterBlockSubmissionMessage, Jt as buildEventListWeek, Kt as getContainerClass, L as newsletterFormBlockRuntime, N as publicProductsResponseSchema, P as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, Rt as catalogueEventCardProps, U as buildFormInteractiveIslandProps, W as formBlockRuntime, Wt as MediaNodeServer, Y as eventRegistrationBlockRuntime, Yt as formatEventPrice, Zt as formatEventPriceDisplay, _ as shopProductPresentation, a as buildShopInteractiveIslandProps, an as splitSiteChromePlacementClasses, bt as buildEventCombinedListingDisplay, c as checkoutBlockRuntime, ct as resolveOfferingsPreviewGroupCta, d as productDetailBlockRuntime, fn as DEFAULT_MAILING_LIST_TARGETING, h as shopBlockRuntime, i as buildProductListInteractiveIslandProps, jt as eventListingBlockRuntime, kt as recurringScheduleProjectionSchema, ln as assessMailingListTargeting, lt as resolveOfferingsPreviewGroups, n as buildCheckoutInteractiveIslandProps, nn as staticHeaderChromeRuntime, nt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, o as cartBlockRuntime, on as publicMembershipProductCollectionSchema, ot as normalizeOfferingsPreviewItemLimit, p as productListBlockRuntime, q as buildEventRegistrationInteractiveIslandProps, qt as Grid, r as buildProductDetailInteractiveIslandProps, rt as buildOfferingsPreviewListing, sn as publicPassProductCollectionSchema, st as offeringsListingFor, t as buildCartInteractiveIslandProps, un as parseMailingListPlacementTargeting, ut as resolveOfferingsRenderInput, vt as occurrenceContextSchema, wt as buildEventCalendarListingDisplay, xt as eventCombinedBlockRuntime, yt as buildEventCombinedInteractiveIslandProps, z as buildGiftingInteractiveIslandProps, zt as listingEventCardProps } from "./shop.interactive-BQdm441g.mjs";
|
|
4
|
+
import { $t as serializeSurfaceTree, E as ICON_CONFIG, Mr as err, Nr as ok, U as cardVariantRoleValues, _t as arrangementModes, an as resolveThemeColorReferenceValue, dn as rgbColorValue, fn as textColorStyle, sn as backgroundColorStyle, sr as runtimeMediaSchema, un as mergeStyles } from "./schema-DMUkBtIO.mjs";
|
|
5
5
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
6
6
|
import { c as assertNever$1 } from "./src-VIsPY-kw.mjs";
|
|
7
|
-
import { $r as formatBookingPriceDisplay, An as isEventFull, Cn as canJoinEventWaitlistOnAnyMode, Dn as getEventAvailability, Dr as resolveEventRegistrationScopedEvents, Er as normalizeEventRegistrationPageSurfaceSubject, Fn as buildBookingFormInteractiveIslandProps, Fr as lookListPresentationSchemaShape, Hr as orderedLiveRunSessions, Kt as RichText, Mr as listItemPresentation, Nn as groupPublicEventsByRun, On as getEventAvailabilityStatus, Pr as listLookSlot, Rr as parseAspectRatioValue, Ur as resolveWholeSeriesBookingPhase, Vr as nextLiveRunSessionStartMs, _n as formatEventTimeRange, _r as BLOCK_BUTTON_ROLE_OPTIONS, an as buildCalendarViewport, cn as eventDateOptions, hn as formatEventHourLabel, in as sanitizeHref, oi as resolveExactOrFreePriceDisplay, pn as formatEventCompactDateRail, qt as ImagePresets, rn as resolvePublicMediaUrl, si as resolvePricingOptionsPriceDisplay, un as formatCalendarTitle, vn as formatTime, xn as resolveRuntimeEventDestination, yn as groupEventsByDate, yr as isBlockButtonRole } from "./wizardSteps-
|
|
8
|
-
import { C as eventCalendarVariantMeaning, D as isEventCalendarListLayout, E as isEventCalendarDisplayMode, F as normalizeEventStaffMemberId, G as publicEventsArraySchema, I as normalizeEventSurfacePresets, M as normalizeEventCategoryIds, Nt as toUtcIsoDateTimeString, O as normalizeEventCalendarDisplayMode$1, P as normalizeEventScheduleScope, R as normalizeEventSurfaceScope, T as isEventCalendarDefaultView, Z as RichTextDocSchema, at as parseLocationValue, ct as toLocationCoordinates, it as normalizeLocationAddressText, kt as resolveBookingBusinessTimeZone, ot as projectPublicLocation, p as calendarWindowPageSchema, st as publicLocationSchema$1, ut as formatDate, x as eventCalendarListLayoutOptions, z as normalizeEventVenueId } from "./noop-
|
|
7
|
+
import { $r as formatBookingPriceDisplay, An as isEventFull, Cn as canJoinEventWaitlistOnAnyMode, Dn as getEventAvailability, Dr as resolveEventRegistrationScopedEvents, Er as normalizeEventRegistrationPageSurfaceSubject, Fn as buildBookingFormInteractiveIslandProps, Fr as lookListPresentationSchemaShape, Hr as orderedLiveRunSessions, Kt as RichText, Mr as listItemPresentation, Nn as groupPublicEventsByRun, On as getEventAvailabilityStatus, Pr as listLookSlot, Rr as parseAspectRatioValue, Ur as resolveWholeSeriesBookingPhase, Vr as nextLiveRunSessionStartMs, _n as formatEventTimeRange, _r as BLOCK_BUTTON_ROLE_OPTIONS, an as buildCalendarViewport, cn as eventDateOptions, hn as formatEventHourLabel, in as sanitizeHref, oi as resolveExactOrFreePriceDisplay, pn as formatEventCompactDateRail, qt as ImagePresets, rn as resolvePublicMediaUrl, si as resolvePricingOptionsPriceDisplay, un as formatCalendarTitle, vn as formatTime, xn as resolveRuntimeEventDestination, yn as groupEventsByDate, yr as isBlockButtonRole } from "./wizardSteps-xqU4q63H.mjs";
|
|
8
|
+
import { C as eventCalendarVariantMeaning, D as isEventCalendarListLayout, E as isEventCalendarDisplayMode, F as normalizeEventStaffMemberId, G as publicEventsArraySchema, I as normalizeEventSurfacePresets, M as normalizeEventCategoryIds, Nt as toUtcIsoDateTimeString, O as normalizeEventCalendarDisplayMode$1, P as normalizeEventScheduleScope, R as normalizeEventSurfaceScope, T as isEventCalendarDefaultView, Z as RichTextDocSchema, at as parseLocationValue, ct as toLocationCoordinates, it as normalizeLocationAddressText, kt as resolveBookingBusinessTimeZone, ot as projectPublicLocation, p as calendarWindowPageSchema, st as publicLocationSchema$1, ut as formatDate, x as eventCalendarListLayoutOptions, z as normalizeEventVenueId } from "./noop-C2vZse15.mjs";
|
|
9
9
|
import { n as selectCategoryView } from "./appointment-service-categories-Cl2pqw-z.mjs";
|
|
10
|
-
import { a as MonthLookView, c as ButtonNode, d as TextNode, f as LocationMapView, i as buildWeekBoardViewProps, l as LinkNode, n as WeekBoardView, o as CalendarRecurringWeek, r as buildWeekBoardNavigationState, s as RecurringSchedule, t as buildTimetableModel, u as RichTextNode } from "./timetableModel-
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { n as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { i as SvgNode } from "./MapDrawingSvg-
|
|
18
|
-
import { S as asPartialObject, d as resolveCardRoleForBoxStyles, g as DEFAULT_SECTION_SPACING, i as EventCard, n as EmptyState, r as EventCompactRow, s as boxStyleClassNames, t as EventListingFrameView, u as normalizeBoxStylesBorder } from "./EventListing.view-
|
|
10
|
+
import { a as MonthLookView, c as ButtonNode, d as TextNode, f as LocationMapView, i as buildWeekBoardViewProps, l as LinkNode, n as WeekBoardView, o as CalendarRecurringWeek, r as buildWeekBoardNavigationState, s as RecurringSchedule, t as buildTimetableModel, u as RichTextNode } from "./timetableModel-BgdkhRuA.mjs";
|
|
11
|
+
import { b as compiledRuntimeStyleFieldNames, u as arrangementSlotNames } from "./site-styles-BLHYJ8S7.mjs";
|
|
12
|
+
import { a as resolveEventDetailsPresentation, i as derivePreviewRunSchedule, n as eventCardListContent, r as deriveEventScheduleSummary, t as EventDetailsView } from "./view-vhKGFfC3.mjs";
|
|
13
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-ChiN1Vgg.mjs";
|
|
14
|
+
import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, o as resolveMonthSelectedDay, s as formatEventLocation } from "./CalendarNavigationChevron-Bvkx8Z7Y.mjs";
|
|
15
|
+
import { n as CardListItems, r as EventItem } from "./EventItem-hrSyTApW.mjs";
|
|
16
|
+
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-BGVwNwE-.mjs";
|
|
17
|
+
import { i as SvgNode } from "./MapDrawingSvg-R4JMT4yd.mjs";
|
|
18
|
+
import { S as asPartialObject, d as resolveCardRoleForBoxStyles, g as DEFAULT_SECTION_SPACING, i as EventCard, n as EmptyState, r as EventCompactRow, s as boxStyleClassNames, t as EventListingFrameView, u as normalizeBoxStylesBorder } from "./EventListing.view-Dd5QHIAf.mjs";
|
|
19
19
|
import { t as resolveDedicatedBookingHref } from "./bookingRoute-Bqlyu5Vb.mjs";
|
|
20
20
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
21
21
|
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";
|
|
22
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
22
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-WuMYrBm3.mjs";
|
|
23
23
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.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-
|
|
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-
|
|
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-BnaOmrap.mjs";
|
|
25
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-C3t7H13W.mjs";
|
|
26
|
+
import { i as RegistrationClosedState, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-Bp7MyutT.mjs";
|
|
27
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-magB_epJ.mjs";
|
|
28
|
+
import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-D8NgHY_F.mjs";
|
|
29
29
|
import React, { forwardRef } from "react";
|
|
30
30
|
import { z } from "zod";
|
|
31
31
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -2657,7 +2657,8 @@ function pageTemplateFromEntry(entry) {
|
|
|
2657
2657
|
//#region ../blocks/src/system/blocks/readiness.ts
|
|
2658
2658
|
const newsletterReadiness = {
|
|
2659
2659
|
needs: ["mailingList"],
|
|
2660
|
-
assess: (content, facts) => {
|
|
2660
|
+
assess: (content, facts, interaction) => {
|
|
2661
|
+
if (interaction?.kind === "demo") return ready;
|
|
2661
2662
|
if (facts.mailingList.kind === "Unavailable") return unknownReadiness;
|
|
2662
2663
|
const targeting = parseMailingListPlacementTargeting(content.targeting ?? { mode: "default" });
|
|
2663
2664
|
if (!targeting.ok) return unknownReadiness;
|
|
@@ -4060,6 +4061,7 @@ const newsletterFormFragment = defineFragment({
|
|
|
4060
4061
|
}
|
|
4061
4062
|
],
|
|
4062
4063
|
layout: [el("newsletter-form", withApiBindings({
|
|
4064
|
+
interactionContext: { $bind: { from: "$root.interactionContext" } },
|
|
4063
4065
|
lookSlots: { $bind: { from: "content._lookSlots" } },
|
|
4064
4066
|
source: { $bind: {
|
|
4065
4067
|
from: "mailingListSource",
|
|
@@ -10382,13 +10384,12 @@ function previewCardContent(item, props, datesBySeries, typeLabel) {
|
|
|
10382
10384
|
}
|
|
10383
10385
|
function nativeRunCardContent(item, content, props) {
|
|
10384
10386
|
const open = resolveWholeSeriesBookingPhase(item.run.run, props.now).kind === "open";
|
|
10387
|
+
const path = content.titleLink?.href ?? null;
|
|
10385
10388
|
return {
|
|
10386
10389
|
...content,
|
|
10387
|
-
href: item.path,
|
|
10388
|
-
titleLink: void 0,
|
|
10389
10390
|
action: {
|
|
10390
|
-
label: open ?
|
|
10391
|
-
...open &&
|
|
10391
|
+
label: open ? path ? props.buttonText || "Book" : "Details coming soon" : "Registration closed",
|
|
10392
|
+
...open && path ? { href: path } : {}
|
|
10392
10393
|
}
|
|
10393
10394
|
};
|
|
10394
10395
|
}
|
|
@@ -11244,6 +11245,7 @@ const FormNodeSSR = ({ blockId, lookSlots, value, submitLabel, successMessage, c
|
|
|
11244
11245
|
lookSlots: display.lookSlots
|
|
11245
11246
|
}),
|
|
11246
11247
|
/* @__PURE__ */ jsx(FormSubmitAction, {
|
|
11248
|
+
submission: { kind: "waiting" },
|
|
11247
11249
|
submitLabel: display.submitLabel,
|
|
11248
11250
|
lookSlots: display.lookSlots
|
|
11249
11251
|
})
|
|
@@ -11311,6 +11313,7 @@ function NewsletterFormSSR(props) {
|
|
|
11311
11313
|
}, field.id))
|
|
11312
11314
|
}) : null,
|
|
11313
11315
|
/* @__PURE__ */ jsx(NewsletterSubmitRow, {
|
|
11316
|
+
submission: { kind: "waiting" },
|
|
11314
11317
|
lookSlots: display.lookSlots,
|
|
11315
11318
|
emailField,
|
|
11316
11319
|
buttonVariant: display.buttonVariant,
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { nn as staticHeaderChromeRuntime } from "../shop.interactive-BQdm441g.mjs";
|
|
4
|
+
import { E as ICON_CONFIG, ur as indexRenderableMediaAssets } from "../schema-DMUkBtIO.mjs";
|
|
5
|
+
import { b as formatCurrencyAmount } from "../purchase-BMsWpx8y.mjs";
|
|
5
6
|
import { t as assertNever } from "../src-VIsPY-kw.mjs";
|
|
6
|
-
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-
|
|
7
|
-
import { i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "../DemoBookingPortalAccess-
|
|
8
|
-
import { B as markEditableSurfaceForwarding, V as splitPositioningClasses, 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, z as composeHeaderSectionWrapperClassName } from "../registry.server-
|
|
9
|
-
import { p as Text } from "../timetableModel-
|
|
10
|
-
import {
|
|
11
|
-
import { t as EventRegistrationIslandClient } from "../event-registration.client-
|
|
12
|
-
import { t as ShopClient } from "../shop.client-
|
|
7
|
+
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-xqU4q63H.mjs";
|
|
8
|
+
import { i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "../DemoBookingPortalAccess-pt2xXBQp.mjs";
|
|
9
|
+
import { B as markEditableSurfaceForwarding, V as splitPositioningClasses, 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, z as composeHeaderSectionWrapperClassName } from "../registry.server-BpLZo3bC.mjs";
|
|
10
|
+
import { p as Text } from "../timetableModel-BgdkhRuA.mjs";
|
|
11
|
+
import { C as clsx } from "../ThemedButton-BGVwNwE-.mjs";
|
|
12
|
+
import { t as EventRegistrationIslandClient } from "../event-registration.client-BK_jVv3R.mjs";
|
|
13
|
+
import { t as ShopClient } from "../shop.client-QOKqQPgK.mjs";
|
|
13
14
|
import { t as FeedbackMessage } from "../FeedbackMessage-CSJrAuXH.mjs";
|
|
14
15
|
import { t as CarouselSlideContent } from "../carousel.shared-DBnWEJzo.mjs";
|
|
15
|
-
import { t as coerceRichTextDoc } from "../richText-coerce-
|
|
16
|
-
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-
|
|
17
|
-
import { n as BookingFormNodeClient } from "../booking-form.client-
|
|
18
|
-
import { o as getRuntimeTimeZone } from "../useAvailableSlots-
|
|
16
|
+
import { t as coerceRichTextDoc } from "../richText-coerce-WuMYrBm3.mjs";
|
|
17
|
+
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-BNAM7NsW.mjs";
|
|
18
|
+
import { n as BookingFormNodeClient } from "../booking-form.client-CHTbcZJM.mjs";
|
|
19
|
+
import { o as getRuntimeTimeZone } from "../useAvailableSlots-wmdo6uZ8.mjs";
|
|
19
20
|
import { t as createLucideIcon } from "../createLucideIcon-CIbxe9em.mjs";
|
|
20
|
-
import { t as CarouselNodeClient } from "../carousel.client-
|
|
21
|
-
import { t as EventDetailsIslandClient } from "../event-details.client-
|
|
22
|
-
import { t as ProductListClient } from "../product-list.client-
|
|
23
|
-
import { t as ProductDetailClient } from "../product-detail.client-
|
|
24
|
-
import { t as CartClient } from "../cart.client-
|
|
25
|
-
import { t as CheckoutClient } from "../checkout.client-
|
|
26
|
-
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-
|
|
27
|
-
import { t as EventListingClient } from "../EventListing.client-
|
|
28
|
-
import { n as EventCombinedIslandClient } from "../EventCombined.client-
|
|
29
|
-
import { t as EventCalendarClient } from "../EventCalendar.client-
|
|
30
|
-
import { t as FormNodeClient } from "../form.client-
|
|
31
|
-
import { t as NewsletterFormClient } from "../newsletter-form.client-
|
|
32
|
-
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-
|
|
21
|
+
import { t as CarouselNodeClient } from "../carousel.client-ChoLiWwD.mjs";
|
|
22
|
+
import { t as EventDetailsIslandClient } from "../event-details.client-jFyFjOIC.mjs";
|
|
23
|
+
import { t as ProductListClient } from "../product-list.client-Xlr1P0x9.mjs";
|
|
24
|
+
import { t as ProductDetailClient } from "../product-detail.client-CQ0k0fbH.mjs";
|
|
25
|
+
import { t as CartClient } from "../cart.client-x3HOke6T.mjs";
|
|
26
|
+
import { t as CheckoutClient } from "../checkout.client-CE4jUi0G.mjs";
|
|
27
|
+
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-D4zqEBDl.mjs";
|
|
28
|
+
import { t as EventListingClient } from "../EventListing.client-Cp11sBX_.mjs";
|
|
29
|
+
import { n as EventCombinedIslandClient } from "../EventCombined.client-C98ucpcP.mjs";
|
|
30
|
+
import { t as EventCalendarClient } from "../EventCalendar.client-DWoboRW5.mjs";
|
|
31
|
+
import { t as FormNodeClient } from "../form.client-CoKNba2e.mjs";
|
|
32
|
+
import { t as NewsletterFormClient } from "../newsletter-form.client-8orCez1z.mjs";
|
|
33
|
+
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-64hFxF02.mjs";
|
|
33
34
|
import * as React$1 from "react";
|
|
34
35
|
import React, { createContext, createElement, startTransition, useContext, useEffect, useMemo, useReducer, useRef } from "react";
|
|
35
36
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
36
37
|
import "react-dom";
|
|
37
|
-
//#endregion
|
|
38
38
|
//#region ../blocks/src/system/runtime/nodes/mergeResolveImageUrlContexts.ts
|
|
39
39
|
function mergeAssetIndexes(baseline, live) {
|
|
40
40
|
if (!baseline) return live;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { $t as resolveImageSourceSetWithContext$1, Kt as RichText$2, Yt as computeMediaTransformStyle, br as readRuntimeNow, en as resolveImageUrl$1, in as sanitizeHref, tn as resolveImageUrlWithContext$1, xr as resolveDateRuntimeContext } from "./wizardSteps-
|
|
4
|
-
import { Nt as toUtcIsoDateTimeString, et as isRecord } from "./noop-
|
|
5
|
-
import { A as
|
|
6
|
-
import { an as projectRepeaterGridLayout$1, en as parseFieldDefinition, on as projectRepeaterGridLayoutForRendering$1 } from "./registry.server-
|
|
7
|
-
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-
|
|
8
|
-
import { n as
|
|
2
|
+
import { ar as mediaSchema, cr as buildRenderableMediaAssetIndex, dr as resolveManagedMediaReference, fr as mediaIdentifierSchema, lr as renderableMediaAssetSchema, mr as parseMediaIdentifier, or as persistableMediaSchema, pr as parseCanonicalMediaIdentifier, sr as runtimeMediaSchema } from "./schema-DMUkBtIO.mjs";
|
|
3
|
+
import { $t as resolveImageSourceSetWithContext$1, Kt as RichText$2, Yt as computeMediaTransformStyle, br as readRuntimeNow, en as resolveImageUrl$1, in as sanitizeHref, tn as resolveImageUrlWithContext$1, xr as resolveDateRuntimeContext } from "./wizardSteps-xqU4q63H.mjs";
|
|
4
|
+
import { Nt as toUtcIsoDateTimeString, et as isRecord } from "./noop-C2vZse15.mjs";
|
|
5
|
+
import { A as renderBlock, B as compileManifestContentContract, C as siteLocationRenderContext, D as requireSdkTheme, E as MissingSdkThemeError, F as resolveRouteHrefForStage, H as deriveFieldValidationPlan, I as getBlockDefinition, J as resolveFooterRenderPlan, L as siteFooterManifest, M as resolveAuthoredLinkHref, N as isRouteVisibleInStage, O as prefetchBlockDataWithFailures, P as normalizeRenderStage, R as siteHeaderManifest, S as sanitizeSdkRuntimeBlockContent, T as MISSING_SDK_THEME_ERROR_CODE, V as admitLayoutGridForPlan, Y as resolveSdkFooterMode, _ as collectMediaAssetSidecar, a as solvedInksForThemeRuntime, b as readInvalidBlockAdmission, c as MissingBlockOverrideError, d as buildThemeRuntime, f as parseBlocksTheme, g as buildSiteRenderSupport, h as buildRenderablePageOutline, i as renderWithSdkThemeRuntime, j as getDefaultComponentRegistry, k as makeDefaultBlockComponent, l as PageRenderer, m as BINDING_TRANSFORM_VALUES$1, n as planLayoutThemeRuntime, o as ThemeScope, p as applyBindingsToContent, r as renderWithOverrideOnlyRuntime, s as EditorPageRenderer, st as readPublishedBlockPlacement, t as Page, u as toBlocksPageRendererDataContext, v as invalidRenderableBlock, w as resolveSiteCustomBlocks, x as resolveSdkBlockManifest, y as projectRenderablePageOutline, z as admitTransportedRenderableManifestContent } from "./Page-Dub71o3c.mjs";
|
|
6
|
+
import { an as projectRepeaterGridLayout$1, en as parseFieldDefinition, on as projectRepeaterGridLayoutForRendering$1 } from "./registry.server-BpLZo3bC.mjs";
|
|
7
|
+
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-CdqGYlWl.mjs";
|
|
8
|
+
import { n as toBlocksImageResolveContextInput, r as toBlocksMediaAssets } from "./mediaAssets-BX-vWwQc.mjs";
|
|
9
9
|
import "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
@@ -657,9 +657,12 @@ async function Layout(props) {
|
|
|
657
657
|
footerData: customFooterData
|
|
658
658
|
});
|
|
659
659
|
const theme = requireSdkTheme(siteData.theme, site.id);
|
|
660
|
-
const builtThemeRuntime = buildThemeRuntime(theme);
|
|
661
660
|
const headerVariant = props.headerVariant;
|
|
662
|
-
const
|
|
661
|
+
const layoutThemeRuntime = planLayoutThemeRuntime({
|
|
662
|
+
themeRuntime: props.themeRuntime,
|
|
663
|
+
usesSdkChrome: header === true || footer === true
|
|
664
|
+
});
|
|
665
|
+
const builtThemeRuntime = buildThemeRuntime(theme, solvedInksForThemeRuntime(layoutThemeRuntime));
|
|
663
666
|
const headerData = {
|
|
664
667
|
...customHeaderData,
|
|
665
668
|
theme
|
|
@@ -721,6 +724,7 @@ async function Layout(props) {
|
|
|
721
724
|
});
|
|
722
725
|
const footerBlocksElement = footerPlan.renderFooterBlocks && footerBlocks.length > 0 ? /* @__PURE__ */ jsx(PageRenderer, {
|
|
723
726
|
theme,
|
|
727
|
+
themeTokens: builtThemeRuntime.tokens,
|
|
724
728
|
page: buildFooterRenderablePageOutline(siteData, footerBlocks),
|
|
725
729
|
routeMap: routes,
|
|
726
730
|
dataContext: buildLayoutRootContext(siteData, {
|
|
@@ -743,18 +747,14 @@ async function Layout(props) {
|
|
|
743
747
|
}) : null;
|
|
744
748
|
footerElement = footerPlan.mode === "default+blocks" ? /* @__PURE__ */ jsxs(Fragment, { children: [footerBlocksElement, defaultFooterElement] }) : footerPlan.mode === "blocks" ? footerBlocksElement : footerPlan.mode === "none" ? null : defaultFooterElement;
|
|
745
749
|
} else if (typeof footer === "function") footerElement = footer(footerData);
|
|
746
|
-
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
747
|
-
headerElement,
|
|
748
|
-
children,
|
|
749
|
-
footerElement
|
|
750
|
-
] });
|
|
751
750
|
return renderWithSdkThemeRuntime({
|
|
752
751
|
theme,
|
|
753
|
-
themeRuntime:
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
752
|
+
themeRuntime: layoutThemeRuntime,
|
|
753
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
754
|
+
headerElement,
|
|
755
|
+
children,
|
|
756
|
+
footerElement
|
|
757
|
+
] })
|
|
758
758
|
});
|
|
759
759
|
}
|
|
760
760
|
/** Shared public facts for SDK chrome; no customer acceptance is present. */
|
|
@@ -771,6 +771,7 @@ function buildLayoutRootContext(siteData, input) {
|
|
|
771
771
|
entriesByIdentifier: siteData.entriesByIdentifier,
|
|
772
772
|
siteTerms: siteData.siteTerms,
|
|
773
773
|
mailingList: siteData.mailingList,
|
|
774
|
+
interactionContext: siteData.interactionContext,
|
|
774
775
|
theme: input.theme
|
|
775
776
|
};
|
|
776
777
|
}
|
|
@@ -1593,6 +1594,7 @@ async function loadPageWithDeps(deps, params) {
|
|
|
1593
1594
|
openingHours: support.openingHours,
|
|
1594
1595
|
siteTerms: support.siteTerms,
|
|
1595
1596
|
mailingList: support.mailingList,
|
|
1597
|
+
interactionContext: support.interactionContext,
|
|
1596
1598
|
bookingTimeZone: support.bookingTimeZone,
|
|
1597
1599
|
supabaseUrl: support.supabaseUrl,
|
|
1598
1600
|
...support.mediaAssets ? { mediaAssets: support.mediaAssets } : {},
|
|
@@ -1833,6 +1835,7 @@ function toTemplateContentRenderSupport(support, siteId) {
|
|
|
1833
1835
|
openingHours: support.openingHours,
|
|
1834
1836
|
siteTerms: support.siteTerms,
|
|
1835
1837
|
mailingList: support.mailingList,
|
|
1838
|
+
interactionContext: support.interactionContext,
|
|
1836
1839
|
bookingTimeZone: support.bookingTimeZone,
|
|
1837
1840
|
now: support.now,
|
|
1838
1841
|
...support.customBlocks ? { customBlocks: support.customBlocks } : {},
|
|
@@ -2127,6 +2130,7 @@ async function loadContentFromContentResponseWithDeps(deps, params) {
|
|
|
2127
2130
|
openingHours: support.openingHours,
|
|
2128
2131
|
siteTerms: support.siteTerms,
|
|
2129
2132
|
mailingList: support.mailingList,
|
|
2133
|
+
interactionContext: support.interactionContext,
|
|
2130
2134
|
bookingTimeZone: support.bookingTimeZone,
|
|
2131
2135
|
now: support.now,
|
|
2132
2136
|
site: support.site,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Z as RichTextDocSchema, t as logger } from "./noop-
|
|
2
|
+
import { Z as RichTextDocSchema, t as logger } from "./noop-C2vZse15.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-xqU4q63H.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({
|