@riverbankcms/sdk 0.179.0 → 0.180.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 +2 -2
- package/dist/_dts/{BlocksIslandsHydrator-DKwgs95u.d.ts → BlocksIslandsHydrator-DC_AvZwy.d.ts} +1 -1
- package/dist/_dts/{Page-lWenra5i.d.ts → Page-DQOxVtp3.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-BRxhRw4I.d.ts → SdkPreviewMode-DrLgY9_f.d.ts} +3 -2
- package/dist/_dts/{client-qWn7xAwJ.d.ts → client-BP7VBRvs.d.ts} +235 -56
- package/dist/_dts/{content-types-DL6GIvTm.d.ts → content-types-1-K2qi__.d.ts} +2 -2
- package/dist/_dts/{contracts-CzWyAiJj.d.ts → contracts-Dfqz0Tcu.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-CBKd0cJ4.d.ts → generatePageMetadata-CSfAqmry.d.ts} +2 -2
- package/dist/_dts/{index-DVSipdrT.d.ts → index-B0_2-65A.d.ts} +3 -3
- package/dist/_dts/{index-DCiSHd-C.d.ts → index-BeM5Ylwf.d.ts} +5 -3
- package/dist/_dts/{index-BYnG_vF5.d.ts → index-Blrw2oVk.d.ts} +1 -1
- package/dist/_dts/{index-CaCum9mM.d.ts → index-CB5Csefo.d.ts} +2 -2
- package/dist/_dts/{index-CZgJrhzT.d.ts → index-DCcxLa8p.d.ts} +2 -2
- package/dist/_dts/{index-7CDBZGb-.d.ts → index-DQBGwBPx.d.ts} +1 -1
- package/dist/_dts/{index-BU9uAkHB.d.ts → index-DQr358-m.d.ts} +4 -4
- package/dist/_dts/{loadContent-CPKbFQyq.d.ts → loadContent-BG2tLGXj.d.ts} +7 -7
- package/dist/_dts/{request-BjKBCS7t.d.ts → request-P08l6mkr.d.ts} +2602 -821
- package/dist/_dts/{resolveBlockData-DupbMCup.d.ts → resolveBlockData-BDHc8lFs.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BqNyCHi8.d.ts → resolvePageContent-Y3IZBbtL.d.ts} +1 -1
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.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 +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +8 -8
- 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 +3 -3
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{serviceBookingOutline-YcsIjvn1.d.ts → serviceBookingOutline-BvtNagjw.d.ts} +8 -7
- package/dist/_dts/{types-BOxSq-Bq.d.ts → types-BrK6SS5c.d.ts} +9 -8
- package/dist/_dts/{types-CT-KOxl_.d.ts → types-DpEAnP4F.d.ts} +7 -2
- package/dist/_dts/{types-B7e6Lmo5.d.ts → types-HAy1-Jjo.d.ts} +3 -3
- package/dist/_dts/{validation-Dz6qccue.d.ts → validation-D6q3tOBA.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-1XifJg6V.mjs → BlocksIslandsHydrator-DJSmdNUJ.mjs} +16 -16
- package/dist/client/{BookingMailingListNote-BsbEgagJ.mjs → BookingMailingListNote-CGxg37zx.mjs} +91 -59
- package/dist/client/{BookingQuestionFields-C8IbeLHj.mjs → BookingQuestionFields-DXegGSnS.mjs} +24 -3
- package/dist/client/{CalendarNavigationChevron-Bbqij1XQ.mjs → CalendarNavigationChevron-VfP50sYm.mjs} +5 -5
- package/dist/client/{DemoBookingPortalAccess-uA9H8LIL.mjs → DemoBookingPortalAccess-0Ua44F1j.mjs} +12 -7
- package/dist/client/{EventCalendar.client-yoSI77ov.mjs → EventCalendar.client-CrpiyDSP.mjs} +9 -9
- package/dist/client/{EventCombined.client-HeCNlliq.mjs → EventCombined.client-D0me9wnz.mjs} +8 -8
- package/dist/client/{EventItem-Duhk1vnF.mjs → EventItem-CJITrGkF.mjs} +5 -4
- package/dist/client/{EventListWeekNavigation-BiutEqPK.mjs → EventListWeekNavigation-BlEm_xjq.mjs} +1 -1
- package/dist/client/{EventListing.client-B5ln77jG.mjs → EventListing.client-BNM_HuS0.mjs} +3 -3
- package/dist/client/{EventListing.view-hUDhNtMv.mjs → EventListing.view-CXfb7RRy.mjs} +7 -210
- package/dist/client/{EventRegistrationPayment-DqtX1vB2.mjs → EventRegistrationPayment-DiD9uYs6.mjs} +1292 -224
- package/dist/client/{Page-ChJ2TGVk.mjs → Page-bX7iy_MK.mjs} +158 -50
- package/dist/client/{SiteTermsAgreementField-CDBU31xW.mjs → SiteTermsAgreementField-BAdW5DvE.mjs} +22 -15
- package/dist/client/{StepIndicator-JQA-VuEH.mjs → StepIndicator-DCfdcb7s.mjs} +1 -1
- package/dist/client/{StepIndicator-2Dl9zon2.mjs → StepIndicator-DCqorVne.mjs} +6 -6
- package/dist/client/{accordion-B6SqU49k.mjs → accordion-wofJY8xY.mjs} +1 -1
- package/dist/client/{booking-form.client-DrEOjQ3N.mjs → booking-form.client-CYl9NrqS.mjs} +410 -77
- package/dist/client/{bookingForm-drZBwEZW.mjs → bookingForm-kgVWtuMe.mjs} +4 -4
- package/dist/client/bookings.mjs +40 -10
- package/dist/client/{boxStyleClassNames-DEh45w16.mjs → boxStyleClassNames-CQHWz5gJ.mjs} +2 -2
- package/dist/client/{carousel-C-YJliD-.mjs → carousel-BE1dEFsD.mjs} +1 -1
- package/dist/client/{cart-acGFWK9R.mjs → cart-BsjsdGZE.mjs} +3 -3
- package/dist/client/{cart.client-BzlOGP2j.mjs → cart.client-DylGUWXY.mjs} +1 -1
- package/dist/client/{checkout-SEontwhy.mjs → checkout-B5KxEUDr.mjs} +3 -3
- package/dist/client/{checkout.client-C0Qvh-d4.mjs → checkout.client-C98fhch3.mjs} +1 -1
- package/dist/client/{checkoutUrls-yUKeq1N9.mjs → checkoutUrls-BMLYTf38.mjs} +1 -1
- package/dist/client/client.mjs +224 -158
- package/dist/client/constants-PfYJsEZF.mjs +101 -0
- package/dist/client/{context-DTrwaQtg.mjs → context-DtKdUdkO.mjs} +199 -27
- package/dist/client/{dateFormatting-Cg8E1r9l.mjs → dateFormatting-BaGPvQS3.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-D0kOJYOX.mjs → demoPortalMagicLink-B8eDjhuG.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-DyrpZ7ks.mjs → enhanceHeaderSection-DvhD-8eE.mjs} +3 -3
- package/dist/client/{event-registration.client-RLZQWi2V.mjs → event-registration.client-Du9a_xAN.mjs} +1980 -1517
- package/dist/client/{eventCalendar-CphYnImh.mjs → eventCalendar-Di9wDfzl.mjs} +4 -4
- package/dist/client/{eventCombined-BvqjASB_.mjs → eventCombined-CNW6nBsB.mjs} +4 -4
- package/dist/client/{eventListing-BaNAoC_M.mjs → eventListing-CQMxQ8By.mjs} +4 -4
- package/dist/client/{eventRegistration-COMHoRl6.mjs → eventRegistration-CprS9k1D.mjs} +4 -4
- package/dist/client/{form-DyH2juYT.mjs → form-Zl1_8RJ6.mjs} +3 -3
- package/dist/client/{form.client-DBwzkB0M.mjs → form.client-TaMUys6I.mjs} +4 -4
- package/dist/client/{form.parts-CY4kX3mh.mjs → form.parts-CpNPbPPM.mjs} +1 -1
- package/dist/client/{formatDate-CTEN7gxW.mjs → formatDate-hhI1-tzt.mjs} +1 -1
- package/dist/client/gifting/client.mjs +5 -5
- package/dist/client/{gifting-CIx4V378.mjs → gifting-DNVa7-Wj.mjs} +4 -4
- package/dist/client/{gifting.client-BEVPpzJM.mjs → gifting.client-CFUq3GVx.mjs} +4 -4
- package/dist/client/{gifting.parts-VnORjnZK.mjs → gifting.parts-CDQvxA4A.mjs} +2 -2
- package/dist/client/{headerSection-DGcJfRS8.mjs → headerSection-Cg6083rn.mjs} +2 -2
- package/dist/client/{lookSurfaces-IqT_SVnX.mjs → lookSurfaces-gJ3OqPf9.mjs} +92 -2
- package/dist/client/{newsletter-form.client-BvEDkjiD.mjs → newsletter-form.client-VuL9I96G.mjs} +5 -5
- package/dist/client/{newsletter-form.interactive-DCO1lErD.mjs → newsletter-form.interactive-7Of3eYn0.mjs} +18 -24
- package/dist/client/{newsletter-form.parts-BIy4IUT3.mjs → newsletter-form.parts-OBqsfT24.mjs} +1 -1
- package/dist/client/{newsletterForm-CoTXDNFS.mjs → newsletterForm-BkJe_RTv.mjs} +3 -3
- package/dist/client/portal/client.mjs +299 -115
- package/dist/client/{product-detail.client-YHQ2aKX1.mjs → product-detail.client-B2hdxqJN.mjs} +1 -1
- package/dist/client/{product-list.client-DxoZw1vF.mjs → product-list.client-CCEgu9rx.mjs} +1 -1
- package/dist/client/{productDetail-DjuFvkey.mjs → productDetail-CRX_ZRfS.mjs} +3 -3
- package/dist/client/{productList-DE9GEFoZ.mjs → productList-BAdJ6z5S.mjs} +3 -3
- package/dist/client/{propsDecoder-Cyag_HOs.mjs → propsDecoder-BLKAmX0S.mjs} +2 -2
- package/dist/client/{registry.server-BPwV-0Pp.mjs → registry.server-Bj9cmHHF.mjs} +89 -50
- package/dist/client/rendering/client.mjs +22 -22
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +4 -4
- package/dist/client/{richText-coerce-NrRqDeOg.mjs → richText-coerce-Z45OLLEX.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-BWq5gKFK.mjs → routeIslandApiConfig-DHpTTK77.mjs} +1 -1
- package/dist/client/{shop-C3wM0Hr4.mjs → shop-BKsgxm_-.mjs} +3 -3
- package/dist/client/{shop-commerce-34YvcpbX.mjs → shop-commerce-Cbtk_kUW.mjs} +12 -12
- package/dist/client/{shop-commerce-store-B7xHksOs.mjs → shop-commerce-store-B-rv2p5h.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-BiBnozfO.mjs → shop-discount-apply.state-CiCDLNh7.mjs} +2 -2
- package/dist/client/{shop.client-C0v88nLd.mjs → shop.client-Rnqa74Tk.mjs} +12 -12
- package/dist/client/{shopShared-Ct-BRNez.mjs → shopShared-BaBfhjCq.mjs} +2 -2
- package/dist/client/{src-CCtanNlD.mjs → src-o7WEvbK1.mjs} +118 -3
- package/dist/client/{timetableModel-lhE29TNT.mjs → timetableModel-BOff1Kk5.mjs} +201 -7
- package/dist/client/{useAvailableSlots-BelJviOT.mjs → useAvailableSlots-DQJNh10g.mjs} +3 -23
- package/dist/client/{useDiscountCodeUi-rQRE1-Ho.mjs → useDiscountCodeUi-BcFQRI_7.mjs} +1 -1
- package/dist/client/{useEventPagination-C4rS2Xxl.mjs → useEventPagination-BvdcexDC.mjs} +7 -7
- package/dist/client/{view-LJVHVqsy.mjs → view-CTBwSpKv.mjs} +3 -3
- package/dist/client/{wizardSteps-CNDsxeJH.mjs → wizardSteps-CWIQyRIw.mjs} +1605 -442
- package/dist/preview-next/before-render.mjs +1 -0
- package/dist/preview-next/client/{LocationPickerEnvironment-BHAT81Wx.mjs → LocationPickerEnvironment-BW3dRFIv.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-B52hkdIZ.mjs → MapLibreEditMap-Db9BHyXh.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-C4TtBPN-.mjs → PageSectionToolbar-CG6KwITA.mjs} +4 -4
- package/dist/preview-next/client/{PreviewEditorSidebar-D6fkE59-.mjs → PreviewEditorSidebar-BGBqrC9m.mjs} +8 -7
- package/dist/preview-next/client/{PreviewEditorUI-amcDlj0O.mjs → PreviewEditorUI-Bwkyx28x.mjs} +5 -5
- package/dist/preview-next/client/{PreviewShell-DeQjx4zk.mjs → PreviewShell-DB1l6JNU.mjs} +7 -7
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Cx0SXnoX.mjs → SdkPreviewModeRuntime-Bs6Cwzr3.mjs} +15 -7
- package/dist/preview-next/client/{lucide-react-McYZeSMb.mjs → lucide-react-00FF_oar.mjs} +13 -1
- package/dist/preview-next/client/{previewAssistantSlot-aqpU34WI.mjs → previewAssistantSlot-T-oDD_Dd.mjs} +5735 -2073
- package/dist/preview-next/client/{previewChromeRoot-D3Gy_Rs0.mjs → previewChromeRoot-BeukcDRy.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-Dzx_RrN7.mjs → sdk-runtime-ceDW_9q2.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-LHedw83e.mjs → siteStyleAccess-CCB9bScO.mjs} +35 -23
- package/dist/preview-next/client/{useAutosaveStatus-DpSd9aVk.mjs → useAutosaveStatus-D4o0CKq7.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-BGZn5AT1.mjs → useOpenBlockForSetup-Seccrvwu.mjs} +2 -2
- package/dist/preview-next/container-responsive.css +103 -10
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-DnL-FgSV.mjs → route-contract-FwFj8zGL.mjs} +43 -0
- package/dist/server/{Block.shared-BEbq6EwO.mjs → Block.shared-D6WrRCxX.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-DFEM1a85.mjs → ThemeScopeCore-BQzjDQ2q.mjs} +8 -1
- package/dist/server/{bindings-Bly0dRs7.mjs → bindings-CS6ih1Yc.mjs} +4 -4
- package/dist/server/{client-CGJ2ztYp.mjs → client-m0ylCj_f.mjs} +847 -786
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-BkK1w3QQ.mjs → loadContent-vgWMz1uD.mjs} +6 -4
- package/dist/server/{loadPage-DTLe0FEs.mjs → loadPage-CIOL3-9t.mjs} +3 -3
- package/dist/server/{lookMediaFrame-CaH018pK.mjs → lookMediaFrame-m-91jGGn.mjs} +36 -0
- package/dist/server/next.mjs +43 -30
- package/dist/server/{overrideResolution-Uy9Zp2Ks.mjs → overrideResolution-BiHmsvTZ.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-JzxBnqfV.mjs → pageRenderPlan-DJo_obpi.mjs} +9 -7
- package/dist/server/{pageRuntimeSupport-DyNSd2Yj.mjs → pageRuntimeSupport-BnSuoHON.mjs} +5 -1
- package/dist/server/{pageShared-DU4ETFPS.mjs → pageShared-BJuOzxzn.mjs} +550 -258
- package/dist/server/{prebuild-8jNtDXmS.mjs → prebuild-Cr8p8T7V.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-xeMG42aw.mjs → prefetchBlockData-BZh57-ua.mjs} +4 -3
- package/dist/server/{registry-DH1VrsCl.mjs → registry-CvhFwbXJ.mjs} +240 -80
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-BN8tweTx.mjs → resolveBlockData-Cv_W1LVB.mjs} +39 -31
- package/dist/server/{resolvePageContent-DnM16_f9.mjs → resolvePageContent-BWKUZUIn.mjs} +1 -1
- package/dist/server/{responseMedia-F-ElH2Rd.mjs → responseMedia-KRKguBC5.mjs} +56 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-B-FezJmH.mjs → servicePageContent-CRKbTm_7.mjs} +14 -10
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/{validation-3jOzYdPL.mjs → validation-DCl-FCk_.mjs} +4 -4
- package/dist/server/{version-8t0o6_jd.mjs → version-DT_R5JAR.mjs} +1 -1
- package/dist/styles/index.css +504 -27
- package/package.json +1 -1
- package/dist/client/constants-4o4_hl34.mjs +0 -6
package/dist/client/{product-detail.client-YHQ2aKX1.mjs → product-detail.client-B2hdxqJN.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as ProductDetailController } from "./shop-commerce-
|
|
2
|
+
import { r as ProductDetailController } from "./shop-commerce-Cbtk_kUW.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/product-detail.client.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as ProductListController } from "./shop-commerce-
|
|
2
|
+
import { i as ProductListController } from "./shop-commerce-Cbtk_kUW.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/product-list.client.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as ProductDetailClient } from "./product-detail.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BLKAmX0S.mjs";
|
|
3
|
+
import { t as ProductDetailClient } from "./product-detail.client-B2hdxqJN.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-BaBfhjCq.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/productDetail.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("product-detail");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, ProductDetailClient, "product-detail");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as ProductListClient } from "./product-list.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BLKAmX0S.mjs";
|
|
3
|
+
import { t as ProductListClient } from "./product-list.client-CCEgu9rx.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-BaBfhjCq.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/productList.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("product-list");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, ProductListClient, "product-list");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { G as cartInteractiveIslandPropsCodec, L as giftingInteractiveIslandPropsCodec, Q as productListInteractiveIslandPropsCodec, S as eventRegistrationInteractiveIslandPropsCodec, Tt as eventCombinedInteractiveIslandPropsCodec, X as productDetailInteractiveIslandPropsCodec, _ as formInteractiveIslandPropsCodec, a as newsletterFormInteractiveIslandPropsCodec, c as eventListingInteractiveIslandPropsCodec, dn as headerChromeRuntimeContractSchema, et as shopInteractiveIslandPropsCodec, p as eventCalendarInteractiveIslandPropsCodec, q as checkoutInteractiveIslandPropsCodec } from "./newsletter-form.interactive-
|
|
3
|
-
import {
|
|
2
|
+
import { G as cartInteractiveIslandPropsCodec, L as giftingInteractiveIslandPropsCodec, Q as productListInteractiveIslandPropsCodec, S as eventRegistrationInteractiveIslandPropsCodec, Tt as eventCombinedInteractiveIslandPropsCodec, X as productDetailInteractiveIslandPropsCodec, _ as formInteractiveIslandPropsCodec, a as newsletterFormInteractiveIslandPropsCodec, c as eventListingInteractiveIslandPropsCodec, dn as headerChromeRuntimeContractSchema, et as shopInteractiveIslandPropsCodec, p as eventCalendarInteractiveIslandPropsCodec, q as checkoutInteractiveIslandPropsCodec } from "./newsletter-form.interactive-7Of3eYn0.mjs";
|
|
3
|
+
import { ni as bookingFormInteractiveIslandPropsCodec, sa as createZodCodec, ua as isDecodeSuccess } from "./wizardSteps-CWIQyRIw.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region ../blocks/src/contracts/non-block-islands.ts
|
|
6
6
|
const accordionIslandSchema = z.object({
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $ as shopBlockRuntime, $t as eventListWeekDays, At as normalizeEventSurfaceScope, B as buildCheckoutInteractiveIslandProps, Bt as getCardOrientation, Cn as formatEventStartingPrice, Ct as buildEventCombinedListingDisplay, Dt as normalizeEventScheduleScope, En as parseMailingListPlacementTargeting, Et as normalizeEventCategoryIds, F as buildGiftingInteractiveIslandProps, H as buildProductListInteractiveIslandProps, Ht as formatBookingSchedulePresentation, I as giftingBlockRuntime, Jt as EventQuickFacts, K as checkoutBlockRuntime, On as DEFAULT_MAILING_LIST_TARGETING, Ot as normalizeEventStaffMemberId, P as occurrenceContextSchema, Qt as buildEventListWeek, R as publicGiftingOffersResponseSchema, Sn as formatEventPriceDisplay, St as buildEventCombinedInteractiveIslandProps, Tn as assessMailingListTargeting, U as buildShopInteractiveIslandProps, Ut as CardListContentPart, V as buildProductDetailInteractiveIslandProps, Vt as getContainerClass, W as cartBlockRuntime, Xt as MediaNodeServer, Y as productDetailBlockRuntime, Z as productListBlockRuntime, Zt as Grid, _n as splitSiteChromePlacementClasses, _t as resolveOfferingsPreviewGroupCta, bn as formatEventPrice, bt as catalogueEventCardProps, ct as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, en as eventWeekGroupingContext, f as eventCalendarBlockRuntime, g as formBlockRuntime, gt as readOfferingsGrouping, h as buildFormInteractiveIslandProps, ht as offeringsListingFor, i as newsletterFormBlockRuntime, jt as normalizeEventVenueId, kt as normalizeEventSurfacePresets, l as buildEventCalendarInteractiveIslandProps, lt as buildOfferingsPreviewListing, mn as staticHeaderChromeRuntime, mt as offeringRunLifecycle, n as buildNewsletterFormInteractiveIslandProps, nt as publicProductsResponseSchema, o as buildEventListingInteractiveIslandProps, pt as normalizeOfferingsPreviewItemLimit, r as newsletterBlockSubmissionMessage, rn as resolveEventSelection, rt as DEFAULT_GROUP_CTA, s as eventListingBlockRuntime, t as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, tt as shopProductPresentation, u as buildEventCalendarListingDisplay, un as recurringScheduleProjectionSchema, ut as groupOfferingRunsByCourse, vn as formatCoursePrice, vt as resolveOfferingsPreviewGroups, wt as eventCombinedBlockRuntime, x as eventRegistrationBlockRuntime, xn as formatEventPriceAmount, xt as listingEventCardProps, y as buildEventRegistrationInteractiveIslandProps, yn as formatEventDepositNote, yt as resolveOfferingsRenderInput, z as buildCartInteractiveIslandProps } from "./newsletter-form.interactive-
|
|
2
|
+
import { $ as shopBlockRuntime, $t as eventListWeekDays, At as normalizeEventSurfaceScope, B as buildCheckoutInteractiveIslandProps, Bt as getCardOrientation, Cn as formatEventStartingPrice, Ct as buildEventCombinedListingDisplay, Dt as normalizeEventScheduleScope, En as parseMailingListPlacementTargeting, Et as normalizeEventCategoryIds, F as buildGiftingInteractiveIslandProps, H as buildProductListInteractiveIslandProps, Ht as formatBookingSchedulePresentation, I as giftingBlockRuntime, Jt as EventQuickFacts, K as checkoutBlockRuntime, On as DEFAULT_MAILING_LIST_TARGETING, Ot as normalizeEventStaffMemberId, P as occurrenceContextSchema, Qt as buildEventListWeek, R as publicGiftingOffersResponseSchema, Sn as formatEventPriceDisplay, St as buildEventCombinedInteractiveIslandProps, Tn as assessMailingListTargeting, U as buildShopInteractiveIslandProps, Ut as CardListContentPart, V as buildProductDetailInteractiveIslandProps, Vt as getContainerClass, W as cartBlockRuntime, Xt as MediaNodeServer, Y as productDetailBlockRuntime, Z as productListBlockRuntime, Zt as Grid, _n as splitSiteChromePlacementClasses, _t as resolveOfferingsPreviewGroupCta, bn as formatEventPrice, bt as catalogueEventCardProps, ct as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, en as eventWeekGroupingContext, f as eventCalendarBlockRuntime, g as formBlockRuntime, gt as readOfferingsGrouping, h as buildFormInteractiveIslandProps, ht as offeringsListingFor, i as newsletterFormBlockRuntime, jt as normalizeEventVenueId, kt as normalizeEventSurfacePresets, l as buildEventCalendarInteractiveIslandProps, lt as buildOfferingsPreviewListing, mn as staticHeaderChromeRuntime, mt as offeringRunLifecycle, n as buildNewsletterFormInteractiveIslandProps, nt as publicProductsResponseSchema, o as buildEventListingInteractiveIslandProps, pt as normalizeOfferingsPreviewItemLimit, r as newsletterBlockSubmissionMessage, rn as resolveEventSelection, rt as DEFAULT_GROUP_CTA, s as eventListingBlockRuntime, t as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, tt as shopProductPresentation, u as buildEventCalendarListingDisplay, un as recurringScheduleProjectionSchema, ut as groupOfferingRunsByCourse, vn as formatCoursePrice, vt as resolveOfferingsPreviewGroups, wt as eventCombinedBlockRuntime, x as eventRegistrationBlockRuntime, xn as formatEventPriceAmount, xt as listingEventCardProps, y as buildEventRegistrationInteractiveIslandProps, yn as formatEventDepositNote, yt as resolveOfferingsRenderInput, z as buildCartInteractiveIslandProps } from "./newsletter-form.interactive-7Of3eYn0.mjs";
|
|
3
3
|
import { f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
4
|
-
import { $a as
|
|
5
|
-
import { $ as PUBLIC_FILE_FIELD_KINDS, B as normalizeEventCalendarDisplayMode$1, Bt as
|
|
4
|
+
import { $a as RichText, As as publicEventPricingDisplay, Cs as EVENT_ADDRESS_AFTER_BOOKING_LABEL, Es as formatBookingPriceDisplay, Fa as formatEventLocation, Ga as getEventAvailabilityStatus, Ia as resolveRuntimeEventDestination, Lo as asPartialObject, Ma as eventOnlinePlace, Ms as publicEventPricingType, Ns as resolveExactOrFreePriceDisplay, Oo as resolvePublicMediaUrl, Os as isPublicEventPricingOptionDisplayable, Pa as eventVenuePlace, Ps as resolvePricingOptionsPriceDisplay, Qa as isBlockButtonRole, Ra as isBookableEvent, Rr as closedRunCopy, Ua as formatTotalCapacity, Ur as resolveEventRegistrationScopedEvents, Va as formatEventRemainingPlaces, Vr as normalizeEventRegistrationPageSurfaceSubject, Wa as getEventAvailability, Xa as BLOCK_BUTTON_ROLE_OPTIONS, Xo as parseAspectRatioValue, Yo as sanitizeHref, ao as formatCalendarTitle, co as formatEventCompactDateRail, ds as orderedLiveRunSessions, eo as buildCalendarViewport, fo as formatEventRunDates, fs as resolveWholeSeriesBookingPhase, go as groupEventsByDate, ho as formatTime, ja as bookingPresentation, ks as publicEventPricingCurrency, lo as formatEventDateParts, ls as CANCELLED_SESSION_STATUS, po as formatEventTimeRange, qa as isEventFull, ri as buildBookingFormInteractiveIslandProps, ro as eventDateOptions, ti as groupPublicEventsByRun, uo as formatEventHourLabel, us as nextLiveRunSessionStartMs, vo as ImagePresets } from "./wizardSteps-CWIQyRIw.mjs";
|
|
5
|
+
import { $ as PUBLIC_FILE_FIELD_KINDS, B as normalizeEventCalendarDisplayMode$1, Bt as normalizeLocationAddressText, F as eventCalendarVariantMeaning, H as RichTextDocSchema, Ht as projectPublicLocation, L as isEventCalendarDefaultView, P as eventCalendarListLayoutOptions, Qt as formatDateRange, R as isEventCalendarDisplayMode, T as publicEventsArraySchema, Ut as publicLocationSchema, V as resolveEventCalendarReadPlan, Vt as parseLocationValue, Wt as toLocationCoordinates, Z as runtimeMediaSchema, Zt as formatDate, at as arrangementModes, b as publicPassProductCollectionSchema, dn as compareLocalScheduleDates, en as formatDateTimeRange, et as isDisplayMediaKind, g as calendarWindowPageSchema, ln as toScheduledBookingDateTime, mn as getLocalScheduleDate, pn as getBookingLocalDateKey, qt as trimmedStringOrNull, tt as mediaTypeDiscriminants, vn as toUtcIsoDateTimeString, xn as toBookingTimeZone, y as publicMembershipProductCollectionSchema, yn as resolveBookingBusinessTimeZone, z as isEventCalendarListLayout } from "./src-o7WEvbK1.mjs";
|
|
6
6
|
import { T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
|
|
7
|
-
import { c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, p as formatEventDuration, u as CalendarDayHeaders } from "./CalendarNavigationChevron-
|
|
7
|
+
import { c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, p as formatEventDuration, u as CalendarDayHeaders } from "./CalendarNavigationChevron-VfP50sYm.mjs";
|
|
8
8
|
import { n as selectCategoryView } from "./appointment-service-categories-Cl2pqw-z.mjs";
|
|
9
|
-
import { a as CalendarRecurringWeek, c as LinkNode, d as LocationMapView, f as
|
|
10
|
-
import { L as compiledRuntimeStyleFieldNames, Zt as arrangementSlotNames, dn as cardVariantRoleValues, i as lookListPresentationSchemaShape, r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-
|
|
9
|
+
import { a as CalendarRecurringWeek, c as LinkNode, d as LocationMapView, f as MapDrawingSvg, i as buildWeekBoardViewProps, l as RichTextNode, m as LocationMapActions, n as WeekBoardView, o as RecurringSchedule, p as SvgNode, r as buildWeekBoardNavigationState, s as ButtonNode, t as buildTimetableModel, u as TextNode } from "./timetableModel-BOff1Kk5.mjs";
|
|
10
|
+
import { L as compiledRuntimeStyleFieldNames, Zt as arrangementSlotNames, dn as cardVariantRoleValues, i as lookListPresentationSchemaShape, r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-gJ3OqPf9.mjs";
|
|
11
11
|
import { D as SYSTEM_BLOCK_KINDS } from "./types-BEaKfam_.mjs";
|
|
12
12
|
import { B as resolveThemeColorReferenceValue, G as mergeStyles, H as backgroundColorStyle, K as rgbColorValue, q as textColorStyle, s as serializeSurfaceTree } from "./accessibleSurfaces-Wl8-_OVJ.mjs";
|
|
13
|
-
import { l as DEFAULT_SECTION_SPACING, o as normalizeBoxStylesBorder, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles } from "./boxStyleClassNames-
|
|
13
|
+
import { l as DEFAULT_SECTION_SPACING, o as normalizeBoxStylesBorder, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles } from "./boxStyleClassNames-CQHWz5gJ.mjs";
|
|
14
14
|
import { S as clsx, _ as FileSpreadsheetIcon, a as ThemedDownloadLink, b as PlusIcon, c as isSemanticIconId, d as CircleMinusIcon, f as CirclePlusIcon, g as FileAudioIcon, h as FileArchiveIcon, i as ThemedButtonLink, l as ArrowDownIcon, r as ThemedButton, s as getIconComponent, u as ChevronDownIcon, v as FileTextIcon, x as SpinnerNode, y as MinusIcon } from "./ThemedButton-CnSa7o-I.mjs";
|
|
15
15
|
import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, r as carouselContents, t as CarouselSlideContent, u as resolveSlidesToShowMobile } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
16
16
|
import { d as formatDateKey, h as getWeekCalendarDayTuple, m as getOrderedDayNames } from "./src-uwCpbHXG.mjs";
|
|
17
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
17
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-Z45OLLEX.mjs";
|
|
18
|
+
import { _ as resolveEventLinkProps, f as formatCourseSessions, g as resolveEventCta, h as resolveEventCardBooking, l as eventDisplayTitle, n as CardListItems, p as formatMoreDates, r as EventItem, u as eventDisplayTitleText } from "./EventItem-CJITrGkF.mjs";
|
|
19
|
+
import { i as resolvePublicEventDepositOffer, t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-PfYJsEZF.mjs";
|
|
20
20
|
import { t as resolveDedicatedBookingHref } from "./bookingRoute-D6DlxYx6.mjs";
|
|
21
|
-
import { n as BookingPanelArrangement } from "./StepIndicator-
|
|
22
|
-
import { t as
|
|
21
|
+
import { n as BookingPanelArrangement } from "./StepIndicator-DCfdcb7s.mjs";
|
|
22
|
+
import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-CXfb7RRy.mjs";
|
|
23
23
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.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 { a as giftingEyebrow, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-
|
|
26
|
-
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-
|
|
27
|
-
import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-
|
|
28
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
29
|
-
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-CTBwSpKv.mjs";
|
|
25
|
+
import { a as giftingEyebrow, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-CDQvxA4A.mjs";
|
|
26
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-BlEm_xjq.mjs";
|
|
27
|
+
import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-DCqorVne.mjs";
|
|
28
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-CpNPbPPM.mjs";
|
|
29
|
+
import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-OBqsfT24.mjs";
|
|
30
30
|
import React, { forwardRef } from "react";
|
|
31
31
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
32
32
|
import { z } from "zod";
|
|
@@ -3344,21 +3344,55 @@ const teamMemberCardSchema = z.object({
|
|
|
3344
3344
|
photo: runtimeMediaSchema.refine((value) => value.type === "image").nullish(),
|
|
3345
3345
|
summary: z.string().nullish(),
|
|
3346
3346
|
profilePath: z.string().nullish(),
|
|
3347
|
-
specialties: z.unknown().transform(parseTeamMemberSpecialties)
|
|
3347
|
+
specialties: z.unknown().transform(parseTeamMemberSpecialties),
|
|
3348
|
+
facts: z.array(z.object({
|
|
3349
|
+
label: z.string(),
|
|
3350
|
+
value: z.string()
|
|
3351
|
+
})).nullish()
|
|
3348
3352
|
});
|
|
3349
|
-
/**
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
+
/**
|
|
3354
|
+
* Staff and manual members meet at one boundary, and this is the one place
|
|
3355
|
+
* that decides what a person's card says and where. Look data chooses the bio's
|
|
3356
|
+
* length, and whether the facts are the person's own quick facts (with the role
|
|
3357
|
+
* above the name, after the bio, and no link to a profile) or the role on its own.
|
|
3358
|
+
*/
|
|
3359
|
+
function teamMemberCards(members, choices = {}) {
|
|
3353
3360
|
return {
|
|
3361
|
+
items: members.map((member, index) => teamMemberCardContent(member, index, choices)),
|
|
3362
|
+
bodyParts: choices.teamFacts === "person" ? [
|
|
3363
|
+
"title",
|
|
3364
|
+
"text",
|
|
3365
|
+
"facts"
|
|
3366
|
+
] : [
|
|
3367
|
+
"title",
|
|
3368
|
+
"facts",
|
|
3369
|
+
"text",
|
|
3370
|
+
"chips",
|
|
3371
|
+
"action"
|
|
3372
|
+
]
|
|
3373
|
+
};
|
|
3374
|
+
}
|
|
3375
|
+
function teamMemberCardContent(member, index, choices) {
|
|
3376
|
+
const biography = cardBiographyFor(member, choices);
|
|
3377
|
+
const role = member.role ? [{
|
|
3378
|
+
label: "Role",
|
|
3379
|
+
value: member.role
|
|
3380
|
+
}] : [];
|
|
3381
|
+
const card = {
|
|
3354
3382
|
id: member.id ?? `member-${index}`,
|
|
3355
3383
|
title: member.name,
|
|
3356
3384
|
media: member.photo,
|
|
3357
|
-
...typeof biography === "string" ? { text: biography } : { textDocument: biography ?? void 0 }
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3385
|
+
...typeof biography === "string" ? { text: biography } : { textDocument: biography ?? void 0 }
|
|
3386
|
+
};
|
|
3387
|
+
if (choices.teamFacts === "person") return {
|
|
3388
|
+
...card,
|
|
3389
|
+
eyebrowFacts: role,
|
|
3390
|
+
facts: member.facts ?? []
|
|
3391
|
+
};
|
|
3392
|
+
const href = sanitizeHref(member.profilePath);
|
|
3393
|
+
return {
|
|
3394
|
+
...card,
|
|
3395
|
+
facts: role,
|
|
3362
3396
|
chips: member.specialties,
|
|
3363
3397
|
...href ? { action: {
|
|
3364
3398
|
label: `About ${member.name}`,
|
|
@@ -3366,6 +3400,10 @@ function teamMemberCardContent(member, index, biographySource, cardBiography) {
|
|
|
3366
3400
|
} } : {}
|
|
3367
3401
|
};
|
|
3368
3402
|
}
|
|
3403
|
+
function cardBiographyFor(member, choices) {
|
|
3404
|
+
if (choices.cardBiography === "any") return cardText(teamMemberCardBiography(member));
|
|
3405
|
+
return choices.biographySource === "profile" && member.profileBio ? member.profileBio : member.bio;
|
|
3406
|
+
}
|
|
3369
3407
|
function cardText(biography) {
|
|
3370
3408
|
if (!biography) return null;
|
|
3371
3409
|
return biography.kind === "document" ? biography.document : biography.paragraphs.join("\n\n");
|
|
@@ -3440,18 +3478,13 @@ function TeamMembersNode(props) {
|
|
|
3440
3478
|
...about,
|
|
3441
3479
|
props
|
|
3442
3480
|
});
|
|
3481
|
+
const cards = teamMemberCards(parsed.data, props);
|
|
3443
3482
|
return /* @__PURE__ */ jsx(CardListItems, {
|
|
3444
3483
|
Carousel: props.Carousel,
|
|
3445
|
-
items:
|
|
3484
|
+
items: cards.items,
|
|
3446
3485
|
presentation: {
|
|
3447
3486
|
...props,
|
|
3448
|
-
bodyParts:
|
|
3449
|
-
"title",
|
|
3450
|
-
"facts",
|
|
3451
|
-
"text",
|
|
3452
|
-
"chips",
|
|
3453
|
-
"action"
|
|
3454
|
-
]
|
|
3487
|
+
bodyParts: cards.bodyParts
|
|
3455
3488
|
},
|
|
3456
3489
|
Title: props.sectionHeading?.trim() ? "h3" : "h2",
|
|
3457
3490
|
carouselLabels: {
|
|
@@ -3719,7 +3752,11 @@ function selectEventDetails(args) {
|
|
|
3719
3752
|
selected,
|
|
3720
3753
|
run,
|
|
3721
3754
|
sessions: run.sessions,
|
|
3722
|
-
timeZone
|
|
3755
|
+
timeZone,
|
|
3756
|
+
depositOffer: resolvePublicEventDepositOffer(selected, {
|
|
3757
|
+
nowIso: args.nowIso,
|
|
3758
|
+
sessions: run.sessions
|
|
3759
|
+
})
|
|
3723
3760
|
};
|
|
3724
3761
|
}
|
|
3725
3762
|
if (!isOrdinaryEvent(selected)) return emptySelection(timeZone);
|
|
@@ -3728,7 +3765,8 @@ function selectEventDetails(args) {
|
|
|
3728
3765
|
mode: mode === "selected" ? "selected" : "next",
|
|
3729
3766
|
selected,
|
|
3730
3767
|
otherDates: otherDates.filter(isOrdinaryEvent),
|
|
3731
|
-
timeZone
|
|
3768
|
+
timeZone,
|
|
3769
|
+
depositOffer: resolvePublicEventDepositOffer(selected, { nowIso: args.nowIso })
|
|
3732
3770
|
};
|
|
3733
3771
|
}
|
|
3734
3772
|
//#endregion
|
|
@@ -4108,7 +4146,7 @@ function eventHeaderContent(selection, show) {
|
|
|
4108
4146
|
label: "Time",
|
|
4109
4147
|
value: timeRange
|
|
4110
4148
|
},
|
|
4111
|
-
...show.cost ? (item.facts ?? []).filter(({ label }) => label === "Price").map((fact) => withDepositNote(fact,
|
|
4149
|
+
...show.cost ? (item.facts ?? []).filter(({ label }) => label === "Price").map((fact) => withDepositNote(fact, selection)) : [],
|
|
4112
4150
|
...groupSize === null ? [] : [{
|
|
4113
4151
|
label: "Group size",
|
|
4114
4152
|
value: groupSize
|
|
@@ -4117,9 +4155,9 @@ function eventHeaderContent(selection, show) {
|
|
|
4117
4155
|
action: headerAction(selection, item.action)
|
|
4118
4156
|
};
|
|
4119
4157
|
}
|
|
4120
|
-
/** The page
|
|
4121
|
-
function withDepositNote(fact,
|
|
4122
|
-
const note = formatEventDepositNote(
|
|
4158
|
+
/** The page says how booking is paid beside the price, so a deposit isn't first seen (or missed) at checkout. */
|
|
4159
|
+
function withDepositNote(fact, selection) {
|
|
4160
|
+
const note = formatEventDepositNote(selection.depositOffer);
|
|
4123
4161
|
return note ? {
|
|
4124
4162
|
...fact,
|
|
4125
4163
|
value: `${fact.value}, ${note}`
|
|
@@ -4346,7 +4384,8 @@ function formatTicketTypePrice(ticketType, currency) {
|
|
|
4346
4384
|
return formatBookingPriceDisplay(resolveExactOrFreePriceDisplay(ticketType.priceAmount, currency), { decimals: "auto" });
|
|
4347
4385
|
}
|
|
4348
4386
|
function getDisplayablePricingOptions(event) {
|
|
4349
|
-
|
|
4387
|
+
const roomPriceIds = event.rooms?.linkedOptionIds ?? [];
|
|
4388
|
+
return event.pricing.kind === "tiered" ? event.pricing.options.filter(isPublicEventPricingOptionDisplayable).filter((option) => !roomPriceIds.includes(option.id)).sort((left, right) => left.sortOrder - right.sortOrder) : [];
|
|
4350
4389
|
}
|
|
4351
4390
|
function TicketTypePriceList({ ticketTypes, currency }) {
|
|
4352
4391
|
if (ticketTypes.length === 0) return null;
|
|
@@ -4666,7 +4705,8 @@ function EventVenueMap({ venue, drawing, showMap, mapHeight, mapClassName }) {
|
|
|
4666
4705
|
});
|
|
4667
4706
|
}
|
|
4668
4707
|
/** One pricing projection governs the selected panel, including drop-in and whole-series behavior. */
|
|
4669
|
-
function selectedEventPricing(
|
|
4708
|
+
function selectedEventPricing(selection, showCost) {
|
|
4709
|
+
const event = selection.selected;
|
|
4670
4710
|
const isDropIn = isDropInEvent(event);
|
|
4671
4711
|
const wholeSeriesPricing = wholeSeriesPricingOf(event);
|
|
4672
4712
|
const showEventCost = showCost && !isDropIn && wholeSeriesPricing === null;
|
|
@@ -4674,7 +4714,7 @@ function selectedEventPricing(event, showCost) {
|
|
|
4674
4714
|
isDropIn,
|
|
4675
4715
|
wholeSeriesPricingDisplay: showCost ? wholeSeriesPricing : null,
|
|
4676
4716
|
eventCostLabel: showEventCost ? formatEventPrice(event) : null,
|
|
4677
|
-
depositNote: showCost && !isDropIn
|
|
4717
|
+
depositNote: showCost && !isDropIn && isPaid(event) ? formatEventDepositNote(selection.depositOffer) : null,
|
|
4678
4718
|
eventPricingCurrency: publicEventPricingCurrency(event.pricing),
|
|
4679
4719
|
ticketTypes: showEventCost && isPaid(event) ? getDisplayablePricingOptions(event) : []
|
|
4680
4720
|
};
|
|
@@ -4682,14 +4722,13 @@ function selectedEventPricing(event, showCost) {
|
|
|
4682
4722
|
const isDropInEvent = (event) => event.bookingScope === "single_occurrence" && event.requiresRegistration === false;
|
|
4683
4723
|
const wholeSeriesPricingOf = (event) => event.bookingScope === "whole_series" && event.pricing.kind !== "external" ? event.pricing : null;
|
|
4684
4724
|
const isPaid = (event) => publicEventPricingType(event.pricing) !== "free";
|
|
4685
|
-
const paidDepositNote = (event) => isPaid(event) ? formatEventDepositNote(event.pricing, event.paymentTerms, event) : null;
|
|
4686
4725
|
function SelectedEventDetailsView(props) {
|
|
4687
4726
|
const { selection, showVenue, showMap, showOtherDates, showTitle, showDescription, showCapacity, mapHeight, mapClassName, acceptedItems } = props;
|
|
4688
4727
|
const selected = selection.selected;
|
|
4689
4728
|
const venue = showVenue ? selected.venue : void 0;
|
|
4690
4729
|
const online = eventOnlinePlaceShown(selected, showVenue);
|
|
4691
4730
|
const addressAfterBooking = addressAfterBookingShown(selected, showVenue);
|
|
4692
|
-
const pricing = selectedEventPricing(
|
|
4731
|
+
const pricing = selectedEventPricing(selection, props.showCost);
|
|
4693
4732
|
return /* @__PURE__ */ jsxs("div", {
|
|
4694
4733
|
className: "rb-flex rb-flex-col rb-gap-6 rb-text-left",
|
|
4695
4734
|
children: [
|
|
@@ -4820,7 +4859,7 @@ function headerPanelContent(props) {
|
|
|
4820
4859
|
const venue = props.showVenue ? selection.selected.venue : void 0;
|
|
4821
4860
|
const online = eventOnlinePlaceShown(selection.selected, props.showVenue);
|
|
4822
4861
|
const teamMembers = selection.selected.teamMembers ?? [];
|
|
4823
|
-
const pricing = headerPanelPricing(props, selection
|
|
4862
|
+
const pricing = headerPanelPricing(props, selection);
|
|
4824
4863
|
const scheduled = selection.kind === "wholeSeries" ? selection.sessions.length : selection.otherDates.length;
|
|
4825
4864
|
return {
|
|
4826
4865
|
venue,
|
|
@@ -4838,8 +4877,8 @@ function headerPanelContent(props) {
|
|
|
4838
4877
|
* discount, or passes that also admit. Decided from the same projection
|
|
4839
4878
|
* `EventPricingDetails` renders, so a panel is only drawn when it will show something.
|
|
4840
4879
|
*/
|
|
4841
|
-
function headerPanelPricing(props,
|
|
4842
|
-
const pricing = selectedEventPricing(
|
|
4880
|
+
function headerPanelPricing(props, selection) {
|
|
4881
|
+
const pricing = selectedEventPricing(selection, props.showCost ?? true);
|
|
4843
4882
|
if (pricing.isDropIn) return null;
|
|
4844
4883
|
const detail = {
|
|
4845
4884
|
...pricing,
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { mn as staticHeaderChromeRuntime } from "../newsletter-form.interactive-
|
|
3
|
+
import { mn as staticHeaderChromeRuntime } from "../newsletter-form.interactive-7Of3eYn0.mjs";
|
|
4
4
|
import { r as indexRenderableMediaAssets } from "../renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { n as BookingFormNodeClient } from "../booking-form.client-
|
|
7
|
-
import { t as EventRegistrationBlockClient } from "../event-registration.client-
|
|
8
|
-
import {
|
|
9
|
-
import { $ as WeeklySlotAvailabilityView, Dt as composeHeaderSectionWrapperClassName, Et as HeaderSectionFrame, Ft as resolveAccordionIconStyle, Ln as ICON_CONFIG, Mt as accordionItemPartSlots, Nt as accordionLookAttributes, Ot as markEditableSurfaceForwarding, Pt as accordionIconColorStyle, ft as LocationMapSSR, kt as splitPositioningClasses, n as runtimeBackedBlockModes, r as runtimeBackedBlockServerEntries, t as serverComponentRegistry, wt as resolveEventDetailsPresentation, xt as EventDetailsView } from "../registry.server-
|
|
10
|
-
import {
|
|
11
|
-
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-DTrwaQtg.mjs";
|
|
5
|
+
import { $a as RichText, Co as renderVideo, Do as resolveMediaNodeResponsiveImage, So as renderAudio, bo as computeMediaTransformStyle, vo as ImagePresets, xo as mediaImageHostProps, yo as MediaPlaceholder } from "../wizardSteps-CWIQyRIw.mjs";
|
|
6
|
+
import { n as BookingFormNodeClient } from "../booking-form.client-CYl9NrqS.mjs";
|
|
7
|
+
import { t as EventRegistrationBlockClient } from "../event-registration.client-Du9a_xAN.mjs";
|
|
8
|
+
import { h as Text } from "../timetableModel-BOff1Kk5.mjs";
|
|
9
|
+
import { $ as WeeklySlotAvailabilityView, Dt as composeHeaderSectionWrapperClassName, Et as HeaderSectionFrame, Ft as resolveAccordionIconStyle, Ln as ICON_CONFIG, Mt as accordionItemPartSlots, Nt as accordionLookAttributes, Ot as markEditableSurfaceForwarding, Pt as accordionIconColorStyle, ft as LocationMapSSR, kt as splitPositioningClasses, n as runtimeBackedBlockModes, r as runtimeBackedBlockServerEntries, t as serverComponentRegistry, wt as resolveEventDetailsPresentation, xt as EventDetailsView } from "../registry.server-Bj9cmHHF.mjs";
|
|
10
|
+
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-DtKdUdkO.mjs";
|
|
12
11
|
import "../accessibleSurfaces-Wl8-_OVJ.mjs";
|
|
13
12
|
import { S as clsx } from "../ThemedButton-CnSa7o-I.mjs";
|
|
14
13
|
import { t as CarouselSlideContent } from "../carousel.shared-BFQ3kBEw.mjs";
|
|
15
|
-
import { t as coerceRichTextDoc } from "../richText-coerce-
|
|
16
|
-
import { t as ShopClient } from "../shop.client-
|
|
14
|
+
import { t as coerceRichTextDoc } from "../richText-coerce-Z45OLLEX.mjs";
|
|
15
|
+
import { t as ShopClient } from "../shop.client-Rnqa74Tk.mjs";
|
|
16
|
+
import { o as getRuntimeTimeZone } from "../useAvailableSlots-DQJNh10g.mjs";
|
|
17
17
|
import { t as createLucideIcon } from "../createLucideIcon-BrXgHVKN.mjs";
|
|
18
18
|
import { t as CarouselNodeClient } from "../carousel.client-DMtGYTTM.mjs";
|
|
19
|
-
import { t as ProductListClient } from "../product-list.client-
|
|
20
|
-
import { t as ProductDetailClient } from "../product-detail.client-
|
|
21
|
-
import { t as CartClient } from "../cart.client-
|
|
22
|
-
import { t as CheckoutClient } from "../checkout.client-
|
|
23
|
-
import { t as GiftingClient } from "../gifting.client-
|
|
24
|
-
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-
|
|
25
|
-
import { t as EventListingClient } from "../EventListing.client-
|
|
26
|
-
import { n as EventCombinedIslandClient } from "../EventCombined.client-
|
|
27
|
-
import { t as EventCalendarClient } from "../EventCalendar.client-
|
|
28
|
-
import { t as FormNodeClient } from "../form.client-
|
|
29
|
-
import { t as NewsletterFormClient } from "../newsletter-form.client-
|
|
30
|
-
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-
|
|
19
|
+
import { t as ProductListClient } from "../product-list.client-CCEgu9rx.mjs";
|
|
20
|
+
import { t as ProductDetailClient } from "../product-detail.client-B2hdxqJN.mjs";
|
|
21
|
+
import { t as CartClient } from "../cart.client-DylGUWXY.mjs";
|
|
22
|
+
import { t as CheckoutClient } from "../checkout.client-C98fhch3.mjs";
|
|
23
|
+
import { t as GiftingClient } from "../gifting.client-CFUq3GVx.mjs";
|
|
24
|
+
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-DvhD-8eE.mjs";
|
|
25
|
+
import { t as EventListingClient } from "../EventListing.client-BNM_HuS0.mjs";
|
|
26
|
+
import { n as EventCombinedIslandClient } from "../EventCombined.client-D0me9wnz.mjs";
|
|
27
|
+
import { t as EventCalendarClient } from "../EventCalendar.client-CrpiyDSP.mjs";
|
|
28
|
+
import { t as FormNodeClient } from "../form.client-TaMUys6I.mjs";
|
|
29
|
+
import { t as NewsletterFormClient } from "../newsletter-form.client-VuL9I96G.mjs";
|
|
30
|
+
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-DJSmdNUJ.mjs";
|
|
31
31
|
import * as React$1 from "react";
|
|
32
32
|
import React, { createContext, createElement, useContext, useEffect, useMemo, useRef } from "react";
|
|
33
33
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, o as parseCanonicalMediaIdentifier, s as parseMediaIdentifier, t as buildRenderableMediaAssetIndex } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { X as persistableMediaSchema, Y as mediaSchema, Z as runtimeMediaSchema,
|
|
5
|
-
import { $ as
|
|
6
|
-
import { W as parseFieldDefinition } from "./registry.server-
|
|
3
|
+
import { $a as RichText$2, Eo as resolveImageUrlWithContext$1, Jo as resolveDateRuntimeContext, To as resolveImageUrl$1, Yo as sanitizeHref, bo as computeMediaTransformStyle, qo as readRuntimeNow, wo as resolveImageSourceSetWithContext$1 } from "./wizardSteps-CWIQyRIw.mjs";
|
|
4
|
+
import { X as persistableMediaSchema, Y as mediaSchema, Z as runtimeMediaSchema, vn as toUtcIsoDateTimeString } from "./src-o7WEvbK1.mjs";
|
|
5
|
+
import { $ as bookingPageDesign, B as SERVICE_BOOKING_BLOCK_IDS, C as siteBlockRenderContext, D as resolveBlockDataWithDeps, E as createBlockDataLoadPolicy, G as bookingPageSeedData, H as BOOKING_PAGE_BLOCK_IDS, I as MISSING_SDK_THEME_ERROR_CODE, J as plainTextDoc, K as buildBookingPageOutline, L as MissingSdkThemeError, N as normalizeDataLoaderSearchParams, O as SUPPORTED_LOADER_ENDPOINTS, Q as bookingHero, R as requireSdkTheme, S as projectRenderablePageOutline, T as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, U as bookingDetailEvents, V as buildServiceBookingOutline, W as bookingPageFacts, X as createPublicBlockContentContractResolver, Y as buildCodeOwnedPageBlocks, Z as bookingDescription, a as solvedInksForThemeRuntime, at as makeDefaultBlockComponent, b as buildSiteRenderSupport, c as MissingBlockOverrideError, ct as deriveFieldValidationPlan, d as buildThemeRuntime, dt as getDefaultComponentRegistry, et as bookingSectionBlocks, f as parseBlocksTheme, ft as resolveAuthoredLinkHref, g as loadContent, h as isPageSurfaceContent, ht as resolveRouteHrefForStage, i as renderWithSdkThemeRuntime, it as siteHeaderManifest, k as prefetchBlockDataWithFailures, l as PageRenderer, lt as projectRepeaterGridLayout$1, m as isPageContent, mt as normalizeRenderStage, n as planLayoutThemeRuntime, nt as getBlockDefinition, o as ThemeScope, ot as renderBlock, p as isEntryContent, pt as isRouteVisibleInStage, q as bookingPageIdentity, r as renderWithOverrideOnlyRuntime, rt as siteFooterManifest, s as EditorPageRenderer, st as admitLayoutGridForPlan, t as Page, tt as planBlockDataRequests, u as toBlocksPageRendererDataContext, ut as projectRepeaterGridLayoutForRendering$1, v as loadContentFromContentResponseWithDeps, w as resolveSiteCustomBlocks, x as collectMediaAssetSidecar, y as buildRenderablePageOutline, z as parseServicePageContent } from "./Page-bX7iy_MK.mjs";
|
|
6
|
+
import { W as parseFieldDefinition } from "./registry.server-Bj9cmHHF.mjs";
|
|
7
7
|
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-Fusweriw.mjs";
|
|
8
8
|
import { n as toBlocksImageResolveContextInput, r as toBlocksMediaAssets } from "./mediaAssets-B99AP7ai.mjs";
|
|
9
9
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { H as RichTextDocSchema, u as logger } from "./src-
|
|
2
|
+
import { H as RichTextDocSchema, u as logger } from "./src-o7WEvbK1.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 {
|
|
2
|
+
import { Ca as createHostedBlockApiConfig } from "./wizardSteps-CWIQyRIw.mjs";
|
|
3
3
|
//#region src/rendering/islands/enhancers/routeIslandApiConfig.ts
|
|
4
4
|
function buildRouteIslandApiConfig({ apiBaseUrl, portalToken, previewToken, siteId, stage, readAuthority }) {
|
|
5
5
|
if (readAuthority) return createHostedBlockApiConfig({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as ShopClient } from "./shop.client-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as ShopClient } from "./shop.client-Rnqa74Tk.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BLKAmX0S.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-BaBfhjCq.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/shop.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("shop");
|
|
7
7
|
const enhance = (root, props) => {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { J as getShopDisplayForItems } from "./newsletter-form.interactive-
|
|
3
|
-
import {
|
|
4
|
-
import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-
|
|
5
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
6
|
-
import { n as useBlockApi } from "./context-
|
|
2
|
+
import { J as getShopDisplayForItems } from "./newsletter-form.interactive-7Of3eYn0.mjs";
|
|
3
|
+
import { $a as RichText, Cr as formatCommercePrice, Mr as deriveCommerceCheckoutState, Pr as productItemKey, br as buildProductCardDisplay, jr as buildProductCartItem, xr as buildProductDetailDisplay } from "./wizardSteps-CWIQyRIw.mjs";
|
|
4
|
+
import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-o7WEvbK1.mjs";
|
|
5
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BAdW5DvE.mjs";
|
|
6
|
+
import { n as useBlockApi } from "./context-DtKdUdkO.mjs";
|
|
7
7
|
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-CnSa7o-I.mjs";
|
|
8
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
9
|
-
import { a as
|
|
10
|
-
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-
|
|
8
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-Z45OLLEX.mjs";
|
|
9
|
+
import { a as isDiscountCodeRefusal, c as checkoutFormForDiscountUiState, f as planUnifiedCheckoutRequest, m as DiscountCodeDisclosure, n as DemoBookingPortalAccess, o as useDiscountApply, s as aggregateCartDiscountUiState, u as planCartDiscountAvailabilityRequests } from "./DemoBookingPortalAccess-0Ua44F1j.mjs";
|
|
10
|
+
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-BMLYTf38.mjs";
|
|
11
11
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
|
|
12
12
|
import { n as useTransientShopAddFeedback, r as consumeSearchParam, t as ShopAddFeedback } from "./shop-add-feedback-DvC2kP1K.mjs";
|
|
13
13
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
14
|
-
import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-
|
|
15
|
-
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-
|
|
16
|
-
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-
|
|
14
|
+
import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-CTBwSpKv.mjs";
|
|
15
|
+
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-B8eDjhuG.mjs";
|
|
16
|
+
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-CiCDLNh7.mjs";
|
|
17
17
|
import { t as CarouselNodeClient } from "./carousel.client-DMtGYTTM.mjs";
|
|
18
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
18
|
+
import { n as useCommerceCart } from "./shop-commerce-store-B-rv2p5h.mjs";
|
|
19
19
|
import * as React$1 from "react";
|
|
20
20
|
import { useEffect, useState } from "react";
|
|
21
21
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Ar as buildPassCartItem, Fr as reduceCommerceCart, Nr as parseStoredCommerceCartState, kr as EMPTY_COMMERCE_CART_STATE } from "./wizardSteps-CWIQyRIw.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,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as assertNever } from "./src-
|
|
3
|
-
import {
|
|
2
|
+
import { t as assertNever } from "./src-o7WEvbK1.mjs";
|
|
3
|
+
import { l as normalizeManualDiscountCode } from "./DemoBookingPortalAccess-0Ua44F1j.mjs";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/shop-discount-apply.state.ts
|
|
5
5
|
const initialDiscountApplyState = {
|
|
6
6
|
isOpen: false,
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { tt as shopProductPresentation } from "./newsletter-form.interactive-
|
|
3
|
-
import {
|
|
4
|
-
import { t as assertNever } from "./src-
|
|
2
|
+
import { tt as shopProductPresentation } from "./newsletter-form.interactive-7Of3eYn0.mjs";
|
|
3
|
+
import { Cr as formatCommercePrice, gr as appliedDiscountHint, ui as getShopSuccessCopy, wr as formatInterval } from "./wizardSteps-CWIQyRIw.mjs";
|
|
4
|
+
import { t as assertNever } from "./src-o7WEvbK1.mjs";
|
|
5
5
|
import { T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
|
|
6
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
7
|
-
import { n as useBlockApi } from "./context-
|
|
6
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BAdW5DvE.mjs";
|
|
7
|
+
import { n as useBlockApi } from "./context-DtKdUdkO.mjs";
|
|
8
8
|
import { r as ThemedButton } from "./ThemedButton-CnSa7o-I.mjs";
|
|
9
|
-
import { a as
|
|
9
|
+
import { a as isDiscountCodeRefusal, d as planDirectShopCheckoutRequest, m as DiscountCodeDisclosure, o as useDiscountApply, t as BookingConfirmation } from "./DemoBookingPortalAccess-0Ua44F1j.mjs";
|
|
10
10
|
import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
|
|
11
11
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
12
12
|
import { i as consumeSearchParams, n as useTransientShopAddFeedback, t as ShopAddFeedback } from "./shop-add-feedback-DvC2kP1K.mjs";
|
|
13
13
|
import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
|
|
14
14
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
15
15
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
16
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
16
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-BcFQRI_7.mjs";
|
|
17
17
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
18
|
-
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-
|
|
19
|
-
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-
|
|
20
|
-
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-
|
|
18
|
+
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-CTBwSpKv.mjs";
|
|
19
|
+
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-B8eDjhuG.mjs";
|
|
20
|
+
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-CiCDLNh7.mjs";
|
|
21
21
|
import { t as CarouselNodeClient } from "./carousel.client-DMtGYTTM.mjs";
|
|
22
|
-
import { r as formatEntitlementEnd } from "./dateFormatting-
|
|
23
|
-
import { t as addPassToCommerceCart } from "./shop-commerce-store-
|
|
22
|
+
import { r as formatEntitlementEnd } from "./dateFormatting-BaGPvQS3.mjs";
|
|
23
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store-B-rv2p5h.mjs";
|
|
24
24
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
25
25
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
26
26
|
//#region ../blocks/src/system/runtime/shared/components/ActionRow.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-DtKdUdkO.mjs";
|
|
3
3
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
4
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
4
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DHpTTK77.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/rendering/islands/enhancers/shopShared.tsx
|