@riverbankcms/sdk 0.163.0 → 0.165.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -1
- package/dist/_dts/{BlocksIslandsHydrator-DYPGA_qh.d.ts → BlocksIslandsHydrator-CdsSMQEv.d.ts} +1 -1
- package/dist/_dts/{Page-zwnvFBPu.d.ts → Page-D6gp2Ipb.d.ts} +15 -12
- package/dist/_dts/{SdkPreviewMode-DukuJzGr.d.ts → SdkPreviewMode-DNXAvnet.d.ts} +83 -72
- package/dist/_dts/{client-Chh3bnXC.d.ts → client-BkkExozE.d.ts} +13 -41
- package/dist/_dts/{content-types-Bbzqw9J2.d.ts → content-types-CXNAD7ef.d.ts} +2 -2
- package/dist/_dts/{contracts-GJ1kGBsi.d.ts → contracts-XRXhbLWP.d.ts} +5 -4
- package/dist/_dts/{footerPageOutline-BNMKhyvo.d.ts → footerPageOutline-BP2bJYdY.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-Ce0m1P3B.d.ts → generatePageMetadata-DcMtbztV.d.ts} +2 -2
- package/dist/_dts/{index-CyQhZuhM.d.ts → index-B4ozSzFP.d.ts} +48377 -47862
- package/dist/_dts/{index-DRxgeK8L.d.ts → index-BdkHhyf8.d.ts} +2 -2
- package/dist/_dts/{index-CdSNXLOx.d.ts → index-CQfJhOEA.d.ts} +2 -2
- package/dist/_dts/{index-C3mJvn27.d.ts → index-CRRiddNp.d.ts} +4 -4
- package/dist/_dts/index-CXsnaCGe.d.ts +10 -0
- package/dist/_dts/{index-rhMSu0oY.d.ts → index-C_3kdrUb.d.ts} +2 -2
- package/dist/_dts/{index-CaL0nKkl.d.ts → index-DAPTSmBM.d.ts} +31097 -31047
- package/dist/_dts/{index-FstkyqQB.d.ts → index-DKNEgSOS.d.ts} +2 -2
- package/dist/_dts/{index-G2p-HOrK.d.ts → index-RXkE3a7M.d.ts} +3 -3
- package/dist/_dts/{loadContent-DiLZoInK.d.ts → loadContent-B9vJMq3s.d.ts} +15 -30
- package/dist/_dts/{resolvePageContent-CWUnipv8.d.ts → resolvePageContent-DIQyYUi-.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 +7 -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-BmtrA45p.d.ts → types-BDF73NzM.d.ts} +3 -2
- package/dist/_dts/{types-DFOqkClJ.d.ts → types-Cl0nP6al.d.ts} +3 -3
- package/dist/_dts/{types-CalL7aKP.d.ts → types-mstFvhK4.d.ts} +7 -7
- package/dist/_dts/{validation-G8MRoIhq.d.ts → validation-DVWqSvjK.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DLCXwe30.mjs → BlocksIslandsHydrator-CzKpH9Pm.mjs} +20 -20
- package/dist/client/{BookingMailingListNote-BV5-50F0.mjs → BookingMailingListNote-rUqsBN7L.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-CVLAHdZG.mjs → CalendarNavigationChevron-YGzw2IPB.mjs} +6 -6
- package/dist/client/{CheckboxChoice-Dtgp3OU8.mjs → CheckboxChoice-DlTC4J2a.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-B3caCnTT.mjs → DemoBookingPortalAccess-D2LyS_Bi.mjs} +5 -5
- package/dist/client/{DemoPortalSignInLink-Ct8JMKW0.mjs → DemoPortalSignInLink-BaFg2Uit.mjs} +1 -1
- package/dist/client/{EventCalendar.client-ffa6920T.mjs → EventCalendar.client-tRrhPscX.mjs} +17 -10
- package/dist/client/{EventCombined.client-zm0W2G79.mjs → EventCombined.client-6cfAVtnZ.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-CPPE2rWS.mjs → EventEmbeddedCheckoutStep-CDNUpI0S.mjs} +2 -1
- package/dist/client/{EventItem-CND3mfra.mjs → EventItem-dILw2PN_.mjs} +27 -17
- package/dist/client/{EventListWeekNavigation-D8QdxL_f.mjs → EventListWeekNavigation-ClgLtjNY.mjs} +1 -1
- package/dist/client/{EventListing.client-CaoRZUI9.mjs → EventListing.client-BNueAHmU.mjs} +3 -3
- package/dist/client/{EventListing.view-BfnOmxYD.mjs → EventListing.view-DtVbKVkt.mjs} +56 -12
- package/dist/client/{EventRegistrationPayment-Dfu3RSL2.mjs → EventRegistrationPayment-CzkG0NSJ.mjs} +18 -22
- package/dist/client/{LocationMapActions-wlyxASdT.mjs → LocationMapActions-zWQsJhE5.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-B9oKSitp.mjs → MapDrawingSvg-D1AO_o4h.mjs} +1 -1
- package/dist/client/{Page-BEF9HrAy.mjs → Page-DUr2YhFR.mjs} +1949 -418
- package/dist/client/ProtectedSubmitButton-2fJqT_NR.mjs +14 -0
- package/dist/client/SpamProtectionWidget-CCF6YLUX.mjs +141 -0
- package/dist/client/{StepIndicator-Bjx4faaw.mjs → StepIndicator-udNHcpOT.mjs} +2 -2
- package/dist/client/{TabBarFragment-Cu7k_VSl.mjs → TabBarFragment-C_kt-PXh.mjs} +1 -1
- package/dist/client/{ThemedButton-DclwabI7.mjs → ThemedButton-Cfbo1bfh.mjs} +2 -898
- package/dist/client/{accordion-lzM2nSZB.mjs → accordion-3CYNWzTS.mjs} +1 -1
- package/dist/client/altchaProtection-DjIV9A5n.mjs +12 -0
- package/dist/client/{booking-form.client-Bll4QwBi.mjs → booking-form.client-BSbWgLyx.mjs} +23 -56
- package/dist/client/{bookingForm-Cq5fQ-vo.mjs → bookingForm-2MoFBWSt.mjs} +4 -4
- package/dist/client/bookings.mjs +23 -32
- package/dist/client/{carousel-CxerQwIx.mjs → carousel-Cu5mcpO-.mjs} +2 -2
- package/dist/client/{carousel.client-CVUXq8Mb.mjs → carousel.client-CQLV8_Al.mjs} +1 -1
- package/dist/client/{cart-X-m0isoI.mjs → cart-CDc6x9cR.mjs} +3 -3
- package/dist/client/{cart.client-CJbzWIl0.mjs → cart.client-BWS2r5Ef.mjs} +1 -1
- package/dist/client/{checkout-Gd0O_fGH.mjs → checkout-CkxPqSwD.mjs} +3 -3
- package/dist/client/{checkout.client-Baee6Jsm.mjs → checkout.client-DJfomKQc.mjs} +1 -1
- package/dist/client/client.mjs +216 -109
- package/dist/client/{context-Bg0SFWcM.mjs → context-CBV21-9L.mjs} +17 -3
- package/dist/client/{cta-HffyM4MA.mjs → cta-Bw-al3cs.mjs} +26 -2
- package/dist/client/{dateFormatting-CV45BH5M.mjs → dateFormatting-CFIUJ4Uf.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CDWheSjI.mjs → demoPortalMagicLink-D0veHJyi.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-BqVDXL0D.mjs → enhanceHeaderSection-CEqqq92r.mjs} +3 -3
- package/dist/client/{event-details.client-SFtS9OkF.mjs → event-details.client-Bk2kQ7ax.mjs} +1 -1
- package/dist/client/{event-registration.client-CguNVIFY.mjs → event-registration.client-QMqtIywj.mjs} +47 -56
- package/dist/client/{eventCalendar-DSGG35jd.mjs → eventCalendar-BTDTMosr.mjs} +4 -4
- package/dist/client/{eventCombined-Oe-PiChx.mjs → eventCombined-BC7a709c.mjs} +4 -4
- package/dist/client/{eventDetails-BhcTT6P3.mjs → eventDetails-DL08GpUc.mjs} +2 -2
- package/dist/client/{eventListing-BS0kBEgI.mjs → eventListing-BfzuEQp_.mjs} +4 -4
- package/dist/client/{eventRegistration-B82SHv7j.mjs → eventRegistration-Lfyzh1Ab.mjs} +4 -4
- package/dist/client/{form-DAIUrVXb.mjs → form-L-xZOBUS.mjs} +3 -3
- package/dist/client/{form.client-BoAkhoh_.mjs → form.client-BtpK3TZW.mjs} +33 -24
- package/dist/client/{form.parts-1VnasOK8.mjs → form.parts-Djos5Un4.mjs} +6 -5
- package/dist/client/{formatDate-BKil_Psb.mjs → formatDate-DGmrm7YB.mjs} +1 -1
- package/dist/client/gifting/client.mjs +5 -4
- package/dist/client/{headerSection-CyuHk8Ei.mjs → headerSection-f16OGkz-.mjs} +2 -2
- package/dist/client/{mediaAssets-CGJE1Omu.mjs → mediaAssets-DHAmrVIi.mjs} +1 -1
- package/dist/client/{mediaContext-DIkX2S-X.mjs → mediaContext-CwT6ZOm7.mjs} +1 -1
- package/dist/client/{newsletter-form.client-CCdyHx0B.mjs → newsletter-form.client-DpHNZc7k.mjs} +100 -85
- package/dist/client/{newsletter-form.parts-Dl8AjsXW.mjs → newsletter-form.parts-CLGH20PL.mjs} +11 -7
- package/dist/client/{newsletterForm-qFWLZJui.mjs → newsletterForm-BEU0Ocu9.mjs} +3 -3
- package/dist/client/{noop-4XFGzJpT.mjs → noop-CQU7tiMg.mjs} +8 -4
- package/dist/client/portal/client.mjs +13 -12
- package/dist/client/{product-detail.client-Tq4S99ce.mjs → product-detail.client-Be-om1BT.mjs} +1 -1
- package/dist/client/{product-list.client-CuL5jB1w.mjs → product-list.client-DR7hD5Vs.mjs} +1 -1
- package/dist/client/{productDetail-BRqgcotZ.mjs → productDetail-BD42UOmG.mjs} +3 -3
- package/dist/client/{productList-EK9Um-oh.mjs → productList-CSk8sXCl.mjs} +3 -3
- package/dist/client/{propsDecoder-VD4arFq1.mjs → propsDecoder-C_Y6VYnF.mjs} +3 -3
- package/dist/client/protection-C0PoH1lT.mjs +104 -0
- package/dist/client/purchase-BV5xfaZH.mjs +894 -0
- package/dist/client/{registry.server-qYbsatxH.mjs → registry.server-CIKtTsCl.mjs} +197 -167
- package/dist/client/rendering/client.mjs +27 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +11 -7
- package/dist/client/{richText-coerce-CW8CFk8v.mjs → richText-coerce-spWtx86G.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CnZ_1ol2.mjs → routeIslandApiConfig-CROHPlYS.mjs} +1 -1
- package/dist/client/{schema-BFwQDvJL.mjs → schema-BdSglH2X.mjs} +2690 -2500
- package/dist/client/{shop-CTUaT57E.mjs → shop-DscvMz86.mjs} +3 -3
- package/dist/client/{shop-commerce-BWwbsm_-.mjs → shop-commerce-CDUohm_2.mjs} +11 -11
- package/dist/client/{shop-commerce-store-15UII0y3.mjs → shop-commerce-store-B9nw4lRP.mjs} +1 -1
- package/dist/client/{shop.client-UWgdmJBm.mjs → shop.client-M3kNsVPi.mjs} +12 -12
- package/dist/client/{shop.interactive-Cf_kASpd.mjs → shop.interactive-BGmkdIAZ.mjs} +268 -31
- package/dist/client/{shopShared-Bi8d584P.mjs → shopShared-BdWp6LHa.mjs} +2 -2
- package/dist/client/{site-styles-dy54AUdz.mjs → site-styles-CWHmlVT5.mjs} +2630 -461
- package/dist/client/spam-protection.mjs +4 -69
- package/dist/client/{timetableModel-Bi8ruFgB.mjs → timetableModel-Dynh5-j4.mjs} +10 -10
- package/dist/client/{useAvailableSlots-DiLbDqM3.mjs → useAvailableSlots-Cw9paRPY.mjs} +3 -3
- package/dist/client/{useBookingNowIso-CWIiqPd0.mjs → useBookingNowIso-C9SF2rC6.mjs} +1 -1
- package/dist/client/{useDiscountApply-ChtszhF9.mjs → useDiscountApply-B-QJfBg0.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-B0Z7n2tZ.mjs → useDiscountCodeUi-Uvum8q9d.mjs} +1 -1
- package/dist/client/{useEventPagination-DRrATQHQ.mjs → useEventPagination-BfM3xk6j.mjs} +9 -156
- package/dist/client/{view-yUIfWX3S.mjs → view-DXOuduIr.mjs} +4 -4
- package/dist/client/{view-OvsxzgxP.mjs → view-DlkCDfuN.mjs} +45 -32
- package/dist/client/{wizardSteps-kbONzKUv.mjs → wizardSteps-DManVJpc.mjs} +57 -47
- package/dist/preview-next/before-render.mjs +2 -2
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-DzoFjIqB.mjs → EventEmbeddedCheckoutStep-Die6Y25O.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-QtSG2Bl-.mjs → LocationPickerEnvironment-Bp4BHLCL.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-B-rohNcG.mjs → MapLibreEditMap-Cb0JhM9p.mjs} +2 -2
- package/dist/preview-next/client/{PreviewEditorSidebar-BhgPyyUW.mjs → PreviewEditorSidebar-DEP3xD9K.mjs} +3478 -3109
- package/dist/preview-next/client/{PreviewEditorUI-lndKKBtB.mjs → PreviewEditorUI-CxwlLBGw.mjs} +577 -172
- package/dist/preview-next/client/{SdkPreviewModeRuntime-DCDDXDlt.mjs → SdkPreviewModeRuntime-Cpe-XP8e.mjs} +1 -1
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bk7On_EM.mjs → SdkPreviewModeRuntime-QDkMPASV.mjs} +3761 -4769
- package/dist/preview-next/client/{siteStyleAccess-Chq5KKKh.mjs → SiteChromeCustomizeButton-1JaoGOKX.mjs} +3862 -8657
- package/dist/preview-next/client/{ThemedButton-nUnE3iMv.mjs → ThemedButton-Dc6aJ34Z.mjs} +274 -68
- package/dist/preview-next/client/editorStatusDecision-DR4BBKhy.mjs +101 -0
- package/dist/preview-next/client/{lucide-react-CA9cpo0P.mjs → lucide-react-CqxuVAyz.mjs} +1 -1
- package/dist/preview-next/client/{previewChromeSurface-CxQ6dZ8D.mjs → previewChromeSurface-yuwnDP3B.mjs} +49 -6
- package/dist/preview-next/client/{previewAuthStore-DHtSQIBE.mjs → previewSidebarNavigation-AXUj9-qQ.mjs} +186449 -173608
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DSZv7Vfm.mjs → sdk-runtime-O-eA9-rV.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +3 -3
- package/dist/preview-next/middleware.mjs +2 -2
- package/dist/preview-next/{route-contract-CxCstfkP.mjs → route-contract-BBAJjFIz.mjs} +42 -50
- package/dist/preview-next/{session-P1R_ajT7.mjs → session-DU6zpYUQ.mjs} +1 -1
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-Dz9k8vCX.mjs → Block.shared-ClFI3qpX.mjs} +5 -4
- package/dist/server/{bindings-S-gCHhj5.mjs → bindings-Bi8EoRZD.mjs} +2 -2
- package/dist/server/{client-C2Q56xqV.mjs → client-DfMDbZ41.mjs} +215 -109
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{effectiveNavLinkStyle-DLzJPcDL.mjs → effectiveNavLinkStyle-BHIYPVG1.mjs} +2362 -217
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-D7ItMsEl.mjs → loadContent-dEEhQxL7.mjs} +6 -4
- package/dist/server/loadPage-CnVB-aeL.mjs +2 -0
- package/dist/server/{loadPage-DaPiPYUL.mjs → loadPage-DBFBad8A.mjs} +3 -2
- package/dist/server/next/middleware.mjs +1 -1
- package/dist/server/next/revalidate.mjs +1 -1
- package/dist/server/next.mjs +11 -11
- package/dist/server/{overrideResolution-anoB3Kbn.mjs → overrideResolution-BIJbiXYc.mjs} +1 -1
- package/dist/server/{overrides-W1Cc6srh.mjs → overrides-DhF87Vsd.mjs} +352 -141
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-BF9yNfCS.mjs → prebuild-DaemmWQL.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Cn9k3DW6.mjs → prefetchBlockData-FwcsT5H2.mjs} +334 -110
- package/dist/server/{publicProducts-BVcJ6TG7.mjs → publicProducts-Bz8loTRn.mjs} +87 -78
- package/dist/server/{registry-4ZF3bUuJ.mjs → registry-Cdvz1OtL.mjs} +539 -401
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-BKQ1Fc0M.mjs → resolveBlockData-CLpAJWWf.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-DgrigZq9.mjs → schema-uSA_x1Zh.mjs} +247 -57
- package/dist/server/server.mjs +3 -3
- package/dist/server/{site-styles-CxE9F3hj.mjs → site-styles-CntHn2KI.mjs} +61 -37
- package/dist/server/{siteChromeOverlayClearance-OhS6f830.mjs → siteChromeOverlayClearance-DqP40Ka0.mjs} +32 -36
- package/dist/server/{src-C44_fMy5.mjs → src-DsYPhTbs.mjs} +1289 -90
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-CVc04B9m.mjs → themeAdmission-CSknYpxk.mjs} +3 -2
- package/dist/server/{validation-BrbY0nxR.mjs → validation-DYxhLzqQ.mjs} +2 -2
- package/dist/server/{version-BBSk8uM6.mjs → version-Beu4q-Gv.mjs} +1 -1
- package/dist/styles/index.css +1173 -72
- package/package.json +2 -3
- package/dist/_dts/AltchaWidget-COIYJ7DF.d.ts +0 -33
- package/dist/_dts/index-D2y4Iy-d.d.ts +0 -77
- package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +0 -1
- package/dist/client/src-BNZzXgWu.mjs +0 -102
- package/dist/preview-next/client/spinner-CjxE3uws.mjs +0 -67
- package/dist/server/loadPage-D2qvYV5g.mjs +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as ShopClient } from "./shop.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-C_Y6VYnF.mjs";
|
|
3
|
+
import { t as ShopClient } from "./shop.client-M3kNsVPi.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-BdWp6LHa.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/shop.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("shop");
|
|
7
7
|
const enhance = (root, props) => {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { O as buildProductCartItem, b as buildProductDetailDisplay, j as productItemKey, k as deriveCommerceCheckoutState, u as getShopDisplayForItems, x as formatCommercePrice, y as buildProductCardDisplay } from "./shop.interactive-BGmkdIAZ.mjs";
|
|
3
3
|
import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
-
import { Kt as RichText } from "./wizardSteps-
|
|
5
|
-
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, n as DemoBookingPortalAccess, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "./DemoBookingPortalAccess-
|
|
6
|
-
import {
|
|
4
|
+
import { Kt as RichText } from "./wizardSteps-DManVJpc.mjs";
|
|
5
|
+
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, n as DemoBookingPortalAccess, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "./DemoBookingPortalAccess-D2LyS_Bi.mjs";
|
|
6
|
+
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
7
7
|
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CYj06rX1.mjs";
|
|
8
8
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
|
|
9
|
-
import { a as initialDiscountApplyState, c as checkoutFormForDiscountUiState, d as planUnifiedCheckoutRequest, f as ShopAddFeedback, i as getDiscountApplyFeedback, l as planCartDiscountAvailabilityRequests, m as consumeSearchParam, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, s as aggregateCartDiscountUiState, t as useDiscountApply } from "./useDiscountApply-
|
|
9
|
+
import { a as initialDiscountApplyState, c as checkoutFormForDiscountUiState, d as planUnifiedCheckoutRequest, f as ShopAddFeedback, i as getDiscountApplyFeedback, l as planCartDiscountAvailabilityRequests, m as consumeSearchParam, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, s as aggregateCartDiscountUiState, t as useDiscountApply } from "./useDiscountApply-B-QJfBg0.mjs";
|
|
10
10
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
11
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
12
|
-
import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-
|
|
13
|
-
import { n as useBlockApi } from "./context-
|
|
14
|
-
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-
|
|
15
|
-
import { t as CarouselNodeClient } from "./carousel.client-
|
|
16
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
11
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-spWtx86G.mjs";
|
|
12
|
+
import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-DXOuduIr.mjs";
|
|
13
|
+
import { n as useBlockApi } from "./context-CBV21-9L.mjs";
|
|
14
|
+
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-D0veHJyi.mjs";
|
|
15
|
+
import { t as CarouselNodeClient } from "./carousel.client-CQLV8_Al.mjs";
|
|
16
|
+
import { n as useCommerceCart } from "./shop-commerce-store-B9nw4lRP.mjs";
|
|
17
17
|
import * as React$1 from "react";
|
|
18
18
|
import { useEffect, useState } from "react";
|
|
19
19
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A as parseStoredCommerceCartState, D as buildPassCartItem, E as EMPTY_COMMERCE_CART_STATE, M as reduceCommerceCart } from "./shop.interactive-
|
|
2
|
+
import { A as parseStoredCommerceCartState, D as buildPassCartItem, E as EMPTY_COMMERCE_CART_STATE, M as reduceCommerceCart } from "./shop.interactive-BGmkdIAZ.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/shop-commerce-store.ts
|
|
5
5
|
const EMPTY_STATE = EMPTY_COMMERCE_CART_STATE;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { S as formatInterval, _ as shopProductPresentation, x as formatCommercePrice } from "./shop.interactive-BGmkdIAZ.mjs";
|
|
3
3
|
import { c as assertNever$1, t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
-
import { Wn as getShopSuccessCopy } from "./wizardSteps-
|
|
5
|
-
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
6
|
-
import {
|
|
4
|
+
import { Wn as getShopSuccessCopy } from "./wizardSteps-DManVJpc.mjs";
|
|
5
|
+
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-D2LyS_Bi.mjs";
|
|
6
|
+
import { r as ThemedButton } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
7
7
|
import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
|
|
8
8
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
9
|
-
import { a as initialDiscountApplyState, f as ShopAddFeedback, h as consumeSearchParams, i as getDiscountApplyFeedback, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, t as useDiscountApply, u as planDirectShopCheckoutRequest } from "./useDiscountApply-
|
|
9
|
+
import { a as initialDiscountApplyState, f as ShopAddFeedback, h as consumeSearchParams, i as getDiscountApplyFeedback, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, t as useDiscountApply, u as planDirectShopCheckoutRequest } from "./useDiscountApply-B-QJfBg0.mjs";
|
|
10
10
|
import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
|
|
11
11
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
12
12
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
13
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
13
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-Uvum8q9d.mjs";
|
|
14
14
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
15
|
-
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-
|
|
16
|
-
import { n as useBlockApi } from "./context-
|
|
17
|
-
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-
|
|
18
|
-
import { t as CarouselNodeClient } from "./carousel.client-
|
|
19
|
-
import { r as formatEntitlementEnd } from "./dateFormatting-
|
|
20
|
-
import { t as addPassToCommerceCart } from "./shop-commerce-store-
|
|
15
|
+
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-DXOuduIr.mjs";
|
|
16
|
+
import { n as useBlockApi } from "./context-CBV21-9L.mjs";
|
|
17
|
+
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-D0veHJyi.mjs";
|
|
18
|
+
import { t as CarouselNodeClient } from "./carousel.client-CQLV8_Al.mjs";
|
|
19
|
+
import { r as formatEntitlementEnd } from "./dateFormatting-CFIUJ4Uf.mjs";
|
|
20
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store-B9nw4lRP.mjs";
|
|
21
21
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
22
22
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
23
23
|
//#region ../blocks/src/system/runtime/shared/components/ActionRow.tsx
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { d as formatDateKey, l as buildCalendarViewport } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { c as assertNever$1 } from "./src-VIsPY-kw.mjs";
|
|
6
|
-
import { $r as
|
|
7
|
-
import { A as eventScheduleScopeValues, At as resolveBookingTimeZoneId, B as normalizeIdList, C as eventCalendarVariantMeaning, D as isEventCalendarListLayout, F as normalizeEventStaffMemberId, H as publicEventDestinationSchema, L as normalizeEventSurfacePresetsCsv, N as normalizeEventCategoryIdsCsv, Nt as toUtcIsoDateTimeString, Ot as parseUtcIsoDateTimeString, P as normalizeEventScheduleScope, R as normalizeEventSurfaceScope, Tt as getLocalScheduleDate, U as publicEventLoaderQuerySchemaShape, W as publicEventSchema, _t as inferSiteDateLocale, bt as buildBookingUtcDateWindow, dt as formatDateRange, j as eventSurfaceScopeValues, k as resolveEventCalendarReadPlan, kt as resolveBookingBusinessTimeZone, mt as formatTime, n as blockSiteTermsSchema, p as calendarWindowPageSchema, w as eventListArrangementValues, y as eventCalendarListGroupingDecision, z as normalizeEventVenueId } from "./noop-
|
|
8
|
-
import {
|
|
9
|
-
import { n as
|
|
2
|
+
import { d as formatDateKey, l as buildCalendarViewport, r as groupItemsByDate } from "./src-1PJxc8KO.mjs";
|
|
3
|
+
import { At as assertNever, Nr as err, Pr as ok, V as cardRoleSchema, Yt as toNonEmptyReadonlyArray, _r as parseContentVersionId, br as parseEventSeriesId } from "./schema-BdSglH2X.mjs";
|
|
4
|
+
import { b as formatCurrencyAmount } from "./purchase-BV5xfaZH.mjs";
|
|
5
|
+
import { c as assertNever$2, t as assertNever$1 } from "./src-VIsPY-kw.mjs";
|
|
6
|
+
import { $r as parseNewsletterListId, Ar as defineProgressiveBlockRuntime, Bt as registrationDisplaySchema, Cr as createInteractiveIslandCodec, Dr as resolveEventRegistrationScopedEvents, Fr as lookListPresentationSchemaShape, Gr as parseMailingListRuntimeContext, H as findPreSelectedEvent, Ht as shownVenue, It as toRegistrationEvents, Jr as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, Jt as MediaPlaceholder, Kt as RichText, Lt as toWholeSeriesRegistrationEvent, Mr as listItemPresentation, Nn as groupPublicEventsByRun, Or as createZodCodec, Pr as listLookSlot, Qr as parseMailchimpInterestId, Qt as renderVideo, Rt as toWholeSeriesRegistrationEvents, Sr as buildInteractiveIslandProps, Tn as formatRemainingPlaces, Tr as eventRegistrationPageSurfaceSubjectSchema, Tt as withOccurrenceTitle, Ut as browserReadAuthoritySchema, Vr as nextLiveRunSessionStartMs, Vt as resolveRegistrationDisplay, W as resolveEventRequiresPayment, Wr as resolveWholeSeriesRunLifecycle, Xr as parseBrevoListId, Xt as mediaImageHostProps, Yt as computeMediaTransformStyle, Zr as parseMailchimpAudienceId, Zt as renderAudio, _t as formatRegistrationSchedule, c as registrationStepLabelContext, cn as eventDateOptions, cr as columnOptionSchema, dr as eventCalendarDisplayModeSchema, ei as formatBookingPriceDisplay, fr as eventLayoutSchema, gr as weekStartSchema, hr as registrationButtonVariantSchema, ii as publicEventPricingDisplay, jn as selectEventCapacitySource, jr as isDecodeSuccess, kr as defineClientOwnedBlockRuntime, ln as eventLocalDateKey, lr as eventButtonVariantSchema, mr as previewStageSchema, n as getEventSelectionMode, nn as resolveMediaNodeResponsiveImage, o as registrationRoute, on as eventCalendarWeekStart, or as bookingNowSchema, p as isRegistrationLocked, pn as formatEventCompactDateRail, pr as filterAutoShowSchema, pt as formatBookingWhen, qr as DEFAULT_MAILING_LIST_PRIVACY_NOTE, qt as ImagePresets, s as registrationStepLabel, sn as eventDateLocale, sr as calendarTabViewsSchema, t as REGISTRATION_STEP_LABELS, ti as formatEventPricing, ur as eventCalendarDefaultViewSchema, vr as blockButtonRoleSchema, wr as defineInteractiveIslandMetaKeys, xn as resolveRuntimeEventDestination, xr as resolveDateRuntimeContext, zt as placesLeftLabel } from "./wizardSteps-DManVJpc.mjs";
|
|
7
|
+
import { A as eventScheduleScopeValues, At as resolveBookingTimeZoneId, B as normalizeIdList, C as eventCalendarVariantMeaning, D as isEventCalendarListLayout, Et as parseBookingLocalDate, F as normalizeEventStaffMemberId, H as publicEventDestinationSchema, L as normalizeEventSurfacePresetsCsv, N as normalizeEventCategoryIdsCsv, Nt as toUtcIsoDateTimeString, Ot as parseUtcIsoDateTimeString, P as normalizeEventScheduleScope, R as normalizeEventSurfaceScope, Tt as getLocalScheduleDate, U as publicEventLoaderQuerySchemaShape, W as publicEventSchema, _t as inferSiteDateLocale, bt as buildBookingUtcDateWindow, dt as formatDateRange, j as eventSurfaceScopeValues, k as resolveEventCalendarReadPlan, kt as resolveBookingBusinessTimeZone, mt as formatTime, n as blockSiteTermsSchema, p as calendarWindowPageSchema, ut as formatDate, w as eventListArrangementValues, y as eventCalendarListGroupingDecision, z as normalizeEventVenueId } from "./noop-CQU7tiMg.mjs";
|
|
8
|
+
import { y as resolveModeArrangement } from "./site-styles-CWHmlVT5.mjs";
|
|
9
|
+
import { C as clsx, g as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
10
|
+
import { n as getCurrentResolveImageUrlContext } from "./mediaContext-CwT6ZOm7.mjs";
|
|
10
11
|
import { n as getCreditProductCreditUnit, t as deriveCreditProductLabels } from "./creditProducts-BOWi1QLp.mjs";
|
|
11
12
|
import "react";
|
|
12
13
|
import { z } from "zod";
|
|
13
14
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
+
//#region ../core/src/block-interaction-context.ts
|
|
16
|
+
/** Server-resolved presentation context, never permission to perform a write. */
|
|
17
|
+
const blockInteractionContextSchema = z.discriminatedUnion("kind", [z.object({ kind: z.literal("live") }).strict(), z.object({ kind: z.literal("demo") }).strict()]);
|
|
18
|
+
//#endregion
|
|
14
19
|
//#region ../core/src/mailing-list-targeting.ts
|
|
15
20
|
const DEFAULT_MAILING_LIST_TARGETING = { mode: "default" };
|
|
16
21
|
function sameMailingListPlacementTargeting(left, right) {
|
|
@@ -603,6 +608,8 @@ function buildEventListWeek(anchor, startOfWeek, timeZone) {
|
|
|
603
608
|
timeZone
|
|
604
609
|
});
|
|
605
610
|
return {
|
|
611
|
+
/** The seven civil days, as date keys in week order. */
|
|
612
|
+
days: viewport.days.map(formatDateKey),
|
|
606
613
|
title: formatDateRange({
|
|
607
614
|
kind: "civil",
|
|
608
615
|
value: viewport.days[0]
|
|
@@ -625,6 +632,70 @@ function eventListWindowEvents(events, window) {
|
|
|
625
632
|
return instant >= start && instant <= end;
|
|
626
633
|
});
|
|
627
634
|
}
|
|
635
|
+
/** Server and client describe the shown week the same way, from the same inputs. */
|
|
636
|
+
function eventListWeekDays(week, today, timeZone) {
|
|
637
|
+
return {
|
|
638
|
+
days: week.days,
|
|
639
|
+
today: formatDateKey(today),
|
|
640
|
+
timeZone
|
|
641
|
+
};
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
* All seven days of the shown week, in week order and including empty ones.
|
|
645
|
+
* A session goes under the day it starts on in its own zone, the day its tile
|
|
646
|
+
* time describes. One whose own date falls outside the week (only possible in
|
|
647
|
+
* another zone) goes under its day in the site zone, so it still shows.
|
|
648
|
+
* Sessions arrive in start order, so with more pages to load a day is only
|
|
649
|
+
* known to be empty when a later day already has a session.
|
|
650
|
+
*/
|
|
651
|
+
function weekColumnDays(week, events, allLoaded) {
|
|
652
|
+
const siteDay = groupItemsByDate(events, {
|
|
653
|
+
getStartsAt: (event) => event.startsAt,
|
|
654
|
+
getTimeZone: () => week.timeZone
|
|
655
|
+
});
|
|
656
|
+
const siteKey = new Map([...siteDay].flatMap(([key, items]) => items.map((item) => [item, key])));
|
|
657
|
+
const columnKey = (event) => {
|
|
658
|
+
const own = eventLocalDateKey(event);
|
|
659
|
+
return week.days.includes(own) ? own : siteKey.get(event);
|
|
660
|
+
};
|
|
661
|
+
const options = eventDateOptions({
|
|
662
|
+
siteTimeZone: week.timeZone,
|
|
663
|
+
timeZone: week.timeZone
|
|
664
|
+
});
|
|
665
|
+
const lastLoaded = events.map(columnKey).filter((key) => key !== void 0).sort().at(-1);
|
|
666
|
+
return week.days.map((dateKey) => {
|
|
667
|
+
const date = {
|
|
668
|
+
kind: "civil",
|
|
669
|
+
value: parseBookingLocalDate(dateKey)
|
|
670
|
+
};
|
|
671
|
+
const dayEvents = events.filter((event) => columnKey(event) === dateKey).sort((left, right) => new Date(left.startsAt).getTime() - new Date(right.startsAt).getTime());
|
|
672
|
+
return {
|
|
673
|
+
dateKey,
|
|
674
|
+
isToday: dateKey === week.today,
|
|
675
|
+
label: {
|
|
676
|
+
weekday: formatDate(date, options, {
|
|
677
|
+
date: "omit",
|
|
678
|
+
weekday: "short",
|
|
679
|
+
year: "omit"
|
|
680
|
+
}),
|
|
681
|
+
fullWeekday: formatDate(date, options, {
|
|
682
|
+
date: "omit",
|
|
683
|
+
weekday: "long",
|
|
684
|
+
year: "omit"
|
|
685
|
+
}),
|
|
686
|
+
day: formatDate(date, options, {
|
|
687
|
+
date: "omit",
|
|
688
|
+
day: "numeric",
|
|
689
|
+
year: "omit"
|
|
690
|
+
})
|
|
691
|
+
},
|
|
692
|
+
sessions: dayEvents.length > 0 ? {
|
|
693
|
+
kind: "some",
|
|
694
|
+
events: dayEvents
|
|
695
|
+
} : allLoaded || lastLoaded !== void 0 && dateKey < lastLoaded ? { kind: "none" } : { kind: "unknown" }
|
|
696
|
+
};
|
|
697
|
+
});
|
|
698
|
+
}
|
|
628
699
|
/**
|
|
629
700
|
* Canonical responsive ladder for a user-configured column count: 1 column at
|
|
630
701
|
* base, 2 from `sm`, 3 from `lg` (when the count allows), and the full count
|
|
@@ -748,6 +819,7 @@ function getCardOrientation(layout) {
|
|
|
748
819
|
case "grid": return "vertical";
|
|
749
820
|
case "ledger":
|
|
750
821
|
case "day-groups":
|
|
822
|
+
case "week-columns":
|
|
751
823
|
case "compact": return "vertical";
|
|
752
824
|
}
|
|
753
825
|
}
|
|
@@ -1184,6 +1256,154 @@ function canonicalEventSeriesScope(seriesIds) {
|
|
|
1184
1256
|
return seriesIds == null ? null : [...new Set(seriesIds.split(",").filter(Boolean))].sort().join(",");
|
|
1185
1257
|
}
|
|
1186
1258
|
//#endregion
|
|
1259
|
+
//#region ../blocks/src/system/runtime/hooks/loadStateError.ts
|
|
1260
|
+
function toError(error, fallbackMessage) {
|
|
1261
|
+
return error instanceof Error ? error : new Error(fallbackMessage);
|
|
1262
|
+
}
|
|
1263
|
+
//#endregion
|
|
1264
|
+
//#region ../blocks/src/system/runtime/hooks/useEventPagination.state.ts
|
|
1265
|
+
function createInitialEventPaginationLoadState(events, scope) {
|
|
1266
|
+
return {
|
|
1267
|
+
kind: "ready",
|
|
1268
|
+
requestId: 0,
|
|
1269
|
+
page: {
|
|
1270
|
+
scope,
|
|
1271
|
+
events,
|
|
1272
|
+
hasMore: hasMoreEventPages(events, scope.pageSize)
|
|
1273
|
+
}
|
|
1274
|
+
};
|
|
1275
|
+
}
|
|
1276
|
+
function eventPaginationLoadReducer(state, action) {
|
|
1277
|
+
switch (action.type) {
|
|
1278
|
+
case "started": return {
|
|
1279
|
+
kind: "loading",
|
|
1280
|
+
requestId: state.requestId + 1,
|
|
1281
|
+
operation: action.operation
|
|
1282
|
+
};
|
|
1283
|
+
case "succeeded": return state.kind === "loading" && state.requestId === action.requestId ? {
|
|
1284
|
+
kind: "ready",
|
|
1285
|
+
requestId: state.requestId,
|
|
1286
|
+
page: acceptEventPage(state.operation, action.events)
|
|
1287
|
+
} : state;
|
|
1288
|
+
case "failed": return state.kind === "loading" && state.requestId === action.requestId ? {
|
|
1289
|
+
...state,
|
|
1290
|
+
kind: "error",
|
|
1291
|
+
error: action.error
|
|
1292
|
+
} : state;
|
|
1293
|
+
case "synced": return {
|
|
1294
|
+
...createInitialEventPaginationLoadState(action.events, action.scope),
|
|
1295
|
+
requestId: state.requestId + 1
|
|
1296
|
+
};
|
|
1297
|
+
default: return assertNever$1(action);
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
function eventPageOperationScope(operation) {
|
|
1301
|
+
switch (operation.kind) {
|
|
1302
|
+
case "replace": return operation.scope;
|
|
1303
|
+
case "append": return operation.page.scope;
|
|
1304
|
+
default: return assertNever$1(operation);
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
function eventPageOperationQuery(operation) {
|
|
1308
|
+
switch (operation.kind) {
|
|
1309
|
+
case "replace": return operation.scope.query;
|
|
1310
|
+
case "append": return operation.query;
|
|
1311
|
+
default: return assertNever$1(operation);
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
function acceptEventPage(operation, events) {
|
|
1315
|
+
const scope = eventPageOperationScope(operation);
|
|
1316
|
+
const hasMore = hasMoreEventPages(events, scope.pageSize);
|
|
1317
|
+
switch (operation.kind) {
|
|
1318
|
+
case "replace": return {
|
|
1319
|
+
scope,
|
|
1320
|
+
events,
|
|
1321
|
+
hasMore
|
|
1322
|
+
};
|
|
1323
|
+
case "append": return {
|
|
1324
|
+
scope,
|
|
1325
|
+
events: mergeEventPaginationEvents(operation.page.events, events),
|
|
1326
|
+
hasMore
|
|
1327
|
+
};
|
|
1328
|
+
default: return assertNever$1(operation);
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
/** Retry consumes the recorded operation. Load more is possible only from an accepted page. */
|
|
1332
|
+
function planEventPageOperation(state, scope, intent) {
|
|
1333
|
+
if (scope.query.seriesIds === "") return null;
|
|
1334
|
+
switch (intent) {
|
|
1335
|
+
case "replace": return {
|
|
1336
|
+
kind: "replace",
|
|
1337
|
+
scope
|
|
1338
|
+
};
|
|
1339
|
+
case "retry": return state.kind === "error" && eventPageOperationScope(state.operation).key === scope.key ? state.operation : null;
|
|
1340
|
+
case "append": {
|
|
1341
|
+
if (state.kind !== "ready" || state.page.scope.key !== scope.key || !state.page.hasMore) return null;
|
|
1342
|
+
const cursor = state.page.events.at(-1);
|
|
1343
|
+
return {
|
|
1344
|
+
kind: "append",
|
|
1345
|
+
page: state.page,
|
|
1346
|
+
query: {
|
|
1347
|
+
...scope.query,
|
|
1348
|
+
afterStartsAt: cursor?.startsAt,
|
|
1349
|
+
afterId: cursor?.occurrenceId
|
|
1350
|
+
}
|
|
1351
|
+
};
|
|
1352
|
+
}
|
|
1353
|
+
default: return assertNever$1(intent);
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
/** A changed scope is pending even before the effect starts its replacement request. */
|
|
1357
|
+
function getEventPaginationView(state, scope) {
|
|
1358
|
+
if ((state.kind === "ready" ? state.page.scope : eventPageOperationScope(state.operation)).key !== scope.key) return {
|
|
1359
|
+
events: [],
|
|
1360
|
+
loading: true,
|
|
1361
|
+
error: null,
|
|
1362
|
+
hasMore: false
|
|
1363
|
+
};
|
|
1364
|
+
switch (state.kind) {
|
|
1365
|
+
case "ready": return {
|
|
1366
|
+
...state.page,
|
|
1367
|
+
loading: false,
|
|
1368
|
+
error: null
|
|
1369
|
+
};
|
|
1370
|
+
case "loading": return {
|
|
1371
|
+
...getOperationPage(state.operation),
|
|
1372
|
+
loading: true,
|
|
1373
|
+
error: null
|
|
1374
|
+
};
|
|
1375
|
+
case "error": return {
|
|
1376
|
+
...getOperationPage(state.operation),
|
|
1377
|
+
loading: false,
|
|
1378
|
+
error: state.error
|
|
1379
|
+
};
|
|
1380
|
+
default: return assertNever$1(state);
|
|
1381
|
+
}
|
|
1382
|
+
}
|
|
1383
|
+
function getOperationPage(operation) {
|
|
1384
|
+
switch (operation.kind) {
|
|
1385
|
+
case "replace": return {
|
|
1386
|
+
events: [],
|
|
1387
|
+
hasMore: false
|
|
1388
|
+
};
|
|
1389
|
+
case "append": return operation.page;
|
|
1390
|
+
default: return assertNever$1(operation);
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
function getEventIdentity(event) {
|
|
1394
|
+
return event.occurrenceId || event.id;
|
|
1395
|
+
}
|
|
1396
|
+
function mergeEventPaginationEvents(existingEvents, newEvents) {
|
|
1397
|
+
const existingIds = new Set(existingEvents.map(getEventIdentity));
|
|
1398
|
+
return [...existingEvents, ...newEvents.filter((event) => !existingIds.has(getEventIdentity(event)))];
|
|
1399
|
+
}
|
|
1400
|
+
function toEventPaginationLoadError(error) {
|
|
1401
|
+
return toError(error, "Unknown error");
|
|
1402
|
+
}
|
|
1403
|
+
function hasMoreEventPages(events, pageSize) {
|
|
1404
|
+
return events.length >= pageSize;
|
|
1405
|
+
}
|
|
1406
|
+
//#endregion
|
|
1187
1407
|
//#region ../blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.ts
|
|
1188
1408
|
const eventSurfaceScopeSchema$1 = z.enum(eventSurfaceScopeValues);
|
|
1189
1409
|
const eventScheduleScopeSchema$1 = z.enum(eventScheduleScopeValues);
|
|
@@ -1371,6 +1591,7 @@ function buildEventCollectionHydration(source) {
|
|
|
1371
1591
|
function buildEventCollectionListingDisplay(display, prefetchedEvents, className) {
|
|
1372
1592
|
const initialEvents = display.events.slice(0, display.eventsPerPage);
|
|
1373
1593
|
return {
|
|
1594
|
+
allLoaded: prefetchedEvents && !hasMoreEventPages(display.events, display.eventsPerPage),
|
|
1374
1595
|
kind: "event-listing",
|
|
1375
1596
|
sectionAction: display.sectionAction,
|
|
1376
1597
|
panelHeading: display.panelHeading,
|
|
@@ -1448,7 +1669,13 @@ const eventListingDisplaySchema = z.object({
|
|
|
1448
1669
|
showCapacity: z.boolean(),
|
|
1449
1670
|
showPhotos: z.boolean().optional(),
|
|
1450
1671
|
orientation: cardOrientationSchema,
|
|
1451
|
-
events: z.array(publicEventSchema)
|
|
1672
|
+
events: z.array(publicEventSchema),
|
|
1673
|
+
week: z.object({
|
|
1674
|
+
days: z.array(z.string()).length(7),
|
|
1675
|
+
today: z.string(),
|
|
1676
|
+
timeZone: z.string()
|
|
1677
|
+
}).optional(),
|
|
1678
|
+
allLoaded: z.boolean().optional()
|
|
1452
1679
|
});
|
|
1453
1680
|
const eventListingHydrationSchema = z.object({
|
|
1454
1681
|
siteId: z.string(),
|
|
@@ -2327,7 +2554,7 @@ function bookingPanelHeading(entry, display) {
|
|
|
2327
2554
|
title,
|
|
2328
2555
|
subtitle: entry.when
|
|
2329
2556
|
};
|
|
2330
|
-
default: return assertNever$
|
|
2557
|
+
default: return assertNever$2(entry);
|
|
2331
2558
|
}
|
|
2332
2559
|
}
|
|
2333
2560
|
const HIDDEN_BAR = {
|
|
@@ -2416,7 +2643,7 @@ function offeringsListingFor(arrangement) {
|
|
|
2416
2643
|
case "sequence":
|
|
2417
2644
|
case "plates":
|
|
2418
2645
|
case "stack": return "by-type";
|
|
2419
|
-
default: return assertNever$
|
|
2646
|
+
default: return assertNever$2(arrangement);
|
|
2420
2647
|
}
|
|
2421
2648
|
}
|
|
2422
2649
|
Object.fromEntries(OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS.map((definition) => [definition.sourceKey, {
|
|
@@ -2588,7 +2815,7 @@ function buildOfferingsPreviewListing(input) {
|
|
|
2588
2815
|
...load,
|
|
2589
2816
|
items: [selectOffering(load.items[0], input.now), ...load.items.slice(1).map((item) => selectOffering(item, input.now))]
|
|
2590
2817
|
};
|
|
2591
|
-
default: return assertNever$
|
|
2818
|
+
default: return assertNever$2(load);
|
|
2592
2819
|
}
|
|
2593
2820
|
}));
|
|
2594
2821
|
if (!groups) return { kind: "no-groups" };
|
|
@@ -2605,7 +2832,7 @@ function buildOfferingsPreviewListing(input) {
|
|
|
2605
2832
|
}));
|
|
2606
2833
|
case "empty":
|
|
2607
2834
|
case "failed": return [];
|
|
2608
|
-
default: return assertNever$
|
|
2835
|
+
default: return assertNever$2(load);
|
|
2609
2836
|
}
|
|
2610
2837
|
}).sort((left, right) => (left.item.nextStartMs ?? Infinity) - (right.item.nextStartMs ?? Infinity) || left.groupIndex - right.groupIndex || offeringItemTitle(left.item).localeCompare(offeringItemTitle(right.item))));
|
|
2611
2838
|
return items ? {
|
|
@@ -2709,10 +2936,10 @@ function preferredPathsForSource(source) {
|
|
|
2709
2936
|
case "workshop": return ["/workshops", "/workshop"];
|
|
2710
2937
|
case "retreat": return ["/retreats", "/retreat"];
|
|
2711
2938
|
case "performance": return ["/performances", "/performance"];
|
|
2712
|
-
default: return assertNever$
|
|
2939
|
+
default: return assertNever$2(source.preset, "Unhandled offerings preview event preset");
|
|
2713
2940
|
}
|
|
2714
2941
|
case "wholeSeries": return ["/courses", "/course"];
|
|
2715
|
-
default: return assertNever$
|
|
2942
|
+
default: return assertNever$2(source, "Unhandled offerings preview source");
|
|
2716
2943
|
}
|
|
2717
2944
|
}
|
|
2718
2945
|
function normalizeRoutePath(value) {
|
|
@@ -2920,7 +3147,6 @@ const eventRegistrationCommonSchemaShape = {
|
|
|
2920
3147
|
successMessage: z.string().optional(),
|
|
2921
3148
|
buttonVariant: registrationButtonVariantSchema.optional(),
|
|
2922
3149
|
host: bookingHostSchema.optional(),
|
|
2923
|
-
spamProtectionEnabled: z.boolean().optional(),
|
|
2924
3150
|
supportEmail: z.string().optional(),
|
|
2925
3151
|
sitePasses: publicPassProductCollectionSchema.nullable().optional(),
|
|
2926
3152
|
siteMemberships: publicMembershipProductCollectionSchema.nullable().optional(),
|
|
@@ -3110,7 +3336,6 @@ const eventRegistrationBlockRuntime = defineClientOwnedBlockRuntime({
|
|
|
3110
3336
|
successMessage: source.successMessage,
|
|
3111
3337
|
buttonVariant: source.buttonVariant,
|
|
3112
3338
|
host: source.host ?? "overlay",
|
|
3113
|
-
spamProtectionEnabled: source.spamProtectionEnabled,
|
|
3114
3339
|
supportEmail: source.supportEmail,
|
|
3115
3340
|
sitePasses: source.sitePasses ?? null,
|
|
3116
3341
|
siteMemberships: source.siteMemberships ?? null,
|
|
@@ -3509,7 +3734,7 @@ function newsletterPresetFields(fields) {
|
|
|
3509
3734
|
placeholder: "Company name"
|
|
3510
3735
|
}
|
|
3511
3736
|
];
|
|
3512
|
-
default: return assertNever$
|
|
3737
|
+
default: return assertNever$2(fields);
|
|
3513
3738
|
}
|
|
3514
3739
|
}
|
|
3515
3740
|
function withOptionalPhone(fields, includePhone) {
|
|
@@ -3524,6 +3749,7 @@ function withOptionalPhone(fields, includePhone) {
|
|
|
3524
3749
|
}
|
|
3525
3750
|
//#endregion
|
|
3526
3751
|
//#region ../blocks/src/system/runtime/nodes/newsletter-form.interactive.ts
|
|
3752
|
+
const NEWSLETTER_DEMO_MESSAGE = "This is a demo. No signup has been saved.";
|
|
3527
3753
|
const NEWSLETTER_SIGNUPS_PAUSED_MESSAGE = "We can’t accept signups right now. Please try again later.";
|
|
3528
3754
|
function newsletterBlockSubmissionMessage(target) {
|
|
3529
3755
|
if (target.tag === "block-source") return target.sourceRef ? null : NEWSLETTER_SIGNUPS_PAUSED_MESSAGE;
|
|
@@ -3581,6 +3807,7 @@ const newsletterSourceCommonSchema = z.object({
|
|
|
3581
3807
|
siteId: z.string().optional(),
|
|
3582
3808
|
apiBaseUrl: z.string().optional(),
|
|
3583
3809
|
mailingList: mailingListContextSchema.optional(),
|
|
3810
|
+
interactionContext: blockInteractionContextSchema.optional(),
|
|
3584
3811
|
targeting: mailingListTargetingSchema.optional(),
|
|
3585
3812
|
buttonVariant: newsletterButtonVariantSchema.nullable().optional(),
|
|
3586
3813
|
spamProtectionEnabled: z.boolean().optional(),
|
|
@@ -3601,7 +3828,7 @@ const newsletterSourceSchema = z.discriminatedUnion("source", [
|
|
|
3601
3828
|
])
|
|
3602
3829
|
}),
|
|
3603
3830
|
newsletterSourceCommonSchema.extend({
|
|
3604
|
-
source: z.
|
|
3831
|
+
source: z.enum(["signed-footer", "signed-hosted-booking"]),
|
|
3605
3832
|
sourceRef: z.object({
|
|
3606
3833
|
tag: z.literal("signed_source_ref"),
|
|
3607
3834
|
token: signedMailingListSourceTokenSchema
|
|
@@ -3631,12 +3858,13 @@ const newsletterHydrationSchema = z.object({
|
|
|
3631
3858
|
sourceRef: mailingListSignupBlockSourceRefSchema.nullable()
|
|
3632
3859
|
}),
|
|
3633
3860
|
z.object({
|
|
3634
|
-
tag: z.literal("signed-
|
|
3861
|
+
tag: z.literal("signed-source"),
|
|
3635
3862
|
sourceRef: z.object({
|
|
3636
3863
|
tag: z.literal("signed_source_ref"),
|
|
3637
3864
|
token: signedMailingListSourceTokenSchema
|
|
3638
3865
|
})
|
|
3639
3866
|
}),
|
|
3867
|
+
z.object({ tag: z.literal("demo") }),
|
|
3640
3868
|
z.object({ tag: z.literal("preview") }),
|
|
3641
3869
|
z.object({
|
|
3642
3870
|
tag: z.literal("unpublished-preview"),
|
|
@@ -3665,26 +3893,29 @@ const newsletterIslandMetaCodec = createZodCodec(z.object({
|
|
|
3665
3893
|
apiBaseUrl: z.string().optional()
|
|
3666
3894
|
}));
|
|
3667
3895
|
const newsletterIslandMetaKeys = defineInteractiveIslandMetaKeys("siteId", "apiBaseUrl");
|
|
3668
|
-
function
|
|
3669
|
-
|
|
3670
|
-
const form = context?.tag === "configured" ? context.form : {
|
|
3896
|
+
function newsletterGlobalForm(context) {
|
|
3897
|
+
return context?.tag === "configured" ? context.form : {
|
|
3671
3898
|
fields: { preset: "emailOnly" },
|
|
3672
3899
|
includeOptionalPhone: false,
|
|
3673
3900
|
buttonLabel: "Subscribe",
|
|
3674
3901
|
successMessage: DEFAULT_MAILING_LIST_SUCCESS_MESSAGE,
|
|
3675
3902
|
privacyNote: null
|
|
3676
3903
|
};
|
|
3904
|
+
}
|
|
3905
|
+
function buildNewsletterDisplay(source) {
|
|
3906
|
+
const context = source.mailingList;
|
|
3907
|
+
const form = newsletterGlobalForm(context);
|
|
3677
3908
|
const assessment = assessMailingListTargeting(context, source.targeting ?? { mode: "default" });
|
|
3678
3909
|
const choices = resolveRuntimeChoices(assessment);
|
|
3679
3910
|
return {
|
|
3680
3911
|
kind: "newsletter-form",
|
|
3681
3912
|
...source.lookSlots ? { lookSlots: source.lookSlots } : {},
|
|
3682
|
-
availability: assessment.tag === "available" ? "ready" : "unavailable",
|
|
3913
|
+
availability: source.interactionContext?.kind === "demo" || assessment.tag === "available" ? "ready" : "unavailable",
|
|
3683
3914
|
className: source.className ?? null,
|
|
3684
3915
|
buttonLabel: form.buttonLabel,
|
|
3685
|
-
successMessage: form.successMessage,
|
|
3916
|
+
successMessage: source.interactionContext?.kind === "demo" ? NEWSLETTER_DEMO_MESSAGE : form.successMessage,
|
|
3686
3917
|
buttonVariant: source.buttonVariant ?? "primary",
|
|
3687
|
-
privacyNote: form.privacyNote,
|
|
3918
|
+
privacyNote: newsletterPrivacyNote(source.source, form.privacyNote),
|
|
3688
3919
|
fields: getGlobalFormFields(form, source),
|
|
3689
3920
|
choices
|
|
3690
3921
|
};
|
|
@@ -3705,12 +3936,13 @@ const newsletterFormBlockRuntime = defineProgressiveBlockRuntime({
|
|
|
3705
3936
|
setupRevision: source.mailingList?.tag === "configured" ? source.mailingList.revision : null,
|
|
3706
3937
|
choiceProvider: targeting.mode === "custom" ? targeting.provider : null,
|
|
3707
3938
|
choicePresentation: presentation.tag,
|
|
3708
|
-
spamProtectionEnabled: source.spamProtectionEnabled
|
|
3939
|
+
spamProtectionEnabled: source.interactionContext?.kind === "demo" ? false : source.spamProtectionEnabled
|
|
3709
3940
|
}
|
|
3710
3941
|
};
|
|
3711
3942
|
}
|
|
3712
3943
|
});
|
|
3713
3944
|
function projectNewsletterFormHydrationTarget(source) {
|
|
3945
|
+
if (source.interactionContext?.kind === "demo") return { tag: "demo" };
|
|
3714
3946
|
switch (source.source) {
|
|
3715
3947
|
case "block": switch (source.newsletterBlockSubmission.tag) {
|
|
3716
3948
|
case "unpublished-form":
|
|
@@ -3726,14 +3958,15 @@ function projectNewsletterFormHydrationTarget(source) {
|
|
|
3726
3958
|
tag: "block-source",
|
|
3727
3959
|
sourceRef: null
|
|
3728
3960
|
};
|
|
3729
|
-
default: return assertNever$
|
|
3961
|
+
default: return assertNever$2(source.newsletterBlockSubmission);
|
|
3730
3962
|
}
|
|
3963
|
+
case "signed-hosted-booking":
|
|
3731
3964
|
case "signed-footer": return {
|
|
3732
|
-
tag: "signed-
|
|
3965
|
+
tag: "signed-source",
|
|
3733
3966
|
sourceRef: source.sourceRef
|
|
3734
3967
|
};
|
|
3735
3968
|
case "preview": return { tag: "preview" };
|
|
3736
|
-
default: return assertNever$
|
|
3969
|
+
default: return assertNever$2(source);
|
|
3737
3970
|
}
|
|
3738
3971
|
}
|
|
3739
3972
|
function resolveRuntimeChoices(assessment) {
|
|
@@ -3781,6 +4014,10 @@ function parseRequiredMailingListSignedSourceToken(value) {
|
|
|
3781
4014
|
if (!parsed) throw new Error("Mailing-list signup signed source ref requires token");
|
|
3782
4015
|
return parsed;
|
|
3783
4016
|
}
|
|
4017
|
+
/** Hosted signup always explains preferences, alongside any owner-authored note. */
|
|
4018
|
+
function newsletterPrivacyNote(source, privacyNote) {
|
|
4019
|
+
return source !== "signed-hosted-booking" || privacyNote?.includes("Change your preferences or unsubscribe at any time.") ? privacyNote : [privacyNote, DEFAULT_MAILING_LIST_PRIVACY_NOTE].filter(Boolean).join(" ");
|
|
4020
|
+
}
|
|
3784
4021
|
//#endregion
|
|
3785
4022
|
//#region ../blocks/src/system/blocks/products/shared.ts
|
|
3786
4023
|
const publicProductVariantSchema = z.object({
|
|
@@ -4811,4 +5048,4 @@ function shopProductPresentation(hydration, productId, index, count) {
|
|
|
4811
5048
|
};
|
|
4812
5049
|
}
|
|
4813
5050
|
//#endregion
|
|
4814
|
-
export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $,
|
|
5051
|
+
export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $, getCardOrientation as $t, parseStoredCommerceCartState as A, buildEventListingInteractiveIslandProps as At, giftingBlockRuntime as B, toError as Bt, membershipCardListContent as C, sameMailingListPlacementTargeting as Cn, buildEventCalendarInteractiveIslandProps as Ct, buildPassCartItem as D, eventCalendarInteractiveIslandPropsCodec as Dt, EMPTY_COMMERCE_CART_STATE as E, eventCalendarBlockRuntime as Et, buildNewsletterFormInteractiveIslandProps as F, eventPaginationLoadReducer as Ft, formInteractiveIslandPropsCodec as G, normalizeOptionalId as Gt, publicGiftingOffersResponseSchema as H, getEventRuntimeFiltersKey as Ht, newsletterBlockSubmissionMessage as I, getEventIdentity as It, displayButtonText as J, CardListContentPart as Jt, buildEventRegistrationDisplayFromScopedEvents as K, catalogueEventCardProps as Kt, newsletterFormBlockRuntime as L, getEventPaginationView as Lt, reduceCommerceCart as M, eventListingInteractiveIslandPropsCodec as Mt, publicProductsResponseSchema as N, createInitialEventPaginationLoadState as Nt, buildProductCartItem as O, projectRecurringSchedule as Ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as P, eventPageOperationQuery as Pt, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as Q, MediaNodeServer as Qt, newsletterFormInteractiveIslandPropsCodec as R, planEventPageOperation as Rt, formatInterval as S, DEFAULT_MAILING_LIST_TARGETING as Sn, eventCombinedInteractiveIslandPropsCodec as St, passCardListContent as T, buildEventCalendarListingRender as Tt, buildFormInteractiveIslandProps as U, normalizeCsvIds as Ut, giftingInteractiveIslandPropsCodec as V, buildEventRuntimeFilters as Vt, formBlockRuntime as W, normalizeCsvString as Wt, eventRegistrationInteractiveIslandPropsCodec as X, resolveCardListSchedule as Xt, eventRegistrationBlockRuntime as Y, CardListLeadDate as Yt, offeringNounForEvent as Z, selectCardListPresentation as Zt, shopProductPresentation as _, publicPassProductCollectionSchema as _n, formatBookingSchedulePresentation as _t, buildShopInteractiveIslandProps as a, formatEventPrice as an, normalizeOfferingsPreviewContentForWrite as at, buildProductDetailDisplay as b, parseMailingListPlacementTargeting as bn, buildEventCombinedListingDisplay as bt, checkoutBlockRuntime as c, resolveEventSelection as cn, resolveOfferingsPreviewGroupCta as ct, productDetailBlockRuntime as d, resolveHeaderChromeRuntimeContract as dn, DEFAULT_BOOKING_BUTTON_TEXT as dt, getContainerClass as en, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as et, productDetailInteractiveIslandPropsCodec as f, staticHeaderChromeRuntime as fn, bookingBarPlacement as ft, shopInteractiveIslandPropsCodec as g, publicMembershipProductCollectionSchema as gn, bookingPanelHeading as gt, shopBlockRuntime as h, splitSiteChromePlacementClasses as hn, bookingEntryProgress as ht, buildProductListInteractiveIslandProps as i, weekColumnDays as in, isOfferingsPreviewSourceKey as it, productItemKey as j, eventListingBlockRuntime as jt, deriveCommerceCheckoutState as k, recurringScheduleProjectionSchema as kt, checkoutInteractiveIslandPropsCodec as l, headerChromeRuntimeContractSchema as ln, resolveOfferingsPreviewGroups as lt, productListInteractiveIslandPropsCodec as m, planSiteChromePlacement as mn, bookingEntry as mt, buildCheckoutInteractiveIslandProps as n, buildEventListWeek as nn, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as nt, cartBlockRuntime as o, formatEventPriceAmount as on, normalizeOfferingsPreviewItemLimit as ot, productListBlockRuntime as p, parseHeaderPositioning as pn, bookingCardEntry as pt, buildEventRegistrationInteractiveIslandProps as q, listingEventCardProps as qt, buildProductDetailInteractiveIslandProps as r, eventListWeekDays as rn, buildOfferingsPreviewListing as rt, cartInteractiveIslandPropsCodec as s, formatEventPriceDisplay as sn, offeringsListingFor as st, buildCartInteractiveIslandProps as t, Grid as tn, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as tt, getShopDisplayForItems as u, isHeaderScrollRuntimeEnabled as un, resolveOfferingsRenderInput as ut, buildCartDisplay as v, buildMailingListSignupBlockSourceRef as vn, occurrenceContextSchema as vt, membershipClassesLabel as w, buildEventCalendarListingDisplay as wt, formatCommercePrice as x, parseMailingListVisitorSelection as xn, eventCombinedBlockRuntime as xt, buildProductCardDisplay as y, assessMailingListTargeting as yn, buildEventCombinedInteractiveIslandProps as yt, buildGiftingInteractiveIslandProps as z, toEventPaginationLoadError as zt };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-CBV21-9L.mjs";
|
|
3
3
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
4
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
4
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CROHPlYS.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/rendering/islands/enhancers/shopShared.tsx
|