@riverbankcms/sdk 0.175.0 → 0.176.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/dist/_dts/{BlocksIslandsHydrator-hb2IWD8K.d.ts → BlocksIslandsHydrator-DvoTk7Py.d.ts} +1 -1
- package/dist/_dts/{Page-BlY68ZF-.d.ts → Page-D-l374tU.d.ts} +8 -16
- package/dist/_dts/{SdkPreviewMode-CA8hU7hW.d.ts → SdkPreviewMode-22DdQAj5.d.ts} +2 -2
- package/dist/_dts/{client-B6tCvmG4.d.ts → client-D4p0J1lK.d.ts} +1 -1
- package/dist/_dts/{content-types-B9qryk4R.d.ts → content-types-0WWR6dC4.d.ts} +2 -2
- package/dist/_dts/{contracts-DWoaRxj1.d.ts → contracts-f_ZG_SwY.d.ts} +8 -8
- package/dist/_dts/{footerPageOutline-Djdrhp5s.d.ts → footerPageOutline-DSeZvOaj.d.ts} +85 -8
- package/dist/_dts/{generatePageMetadata-CFi0vxov.d.ts → generatePageMetadata-BlitPA2D.d.ts} +2 -2
- package/dist/_dts/{index-CQUzwOxO.d.ts → index-CKkkCgb6.d.ts} +1 -1
- package/dist/_dts/{index-Bl5_pjmq.d.ts → index-CoLcwjqJ.d.ts} +1 -1
- package/dist/_dts/{index-_pXaCO12.d.ts → index-D-ai8IQd.d.ts} +4 -4
- package/dist/_dts/{index-OtazQE3U.d.ts → index-DDsfmM4d.d.ts} +2 -2
- package/dist/_dts/{index-Btp5nIoz.d.ts → index-EJMo-KSo.d.ts} +2 -2
- package/dist/_dts/{index-DmhFb6R1.d.ts → index-ZKEDvLuN.d.ts} +1 -1
- package/dist/_dts/{index-YRQulWB4.d.ts → index-tcPtGdag.d.ts} +3 -3
- package/dist/_dts/{loadContent-Hcuvs4pz.d.ts → loadContent-Ci932ORy.d.ts} +7 -7
- package/dist/_dts/{request-BT8i_vH-.d.ts → request-B8jVdvgI.d.ts} +374 -24
- package/dist/_dts/{resolveBlockData-B-dJrunl.d.ts → resolveBlockData-DrSMuD76.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-CVLYWcoI.d.ts → resolvePageContent-Be4iL6-F.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/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 +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +5 -177
- 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 +3 -3
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-CXL1QJSY.d.ts → types-BXMX4z2j.d.ts} +7 -7
- package/dist/_dts/{types-C0XZnjXz.d.ts → types-DXY64Xh4.d.ts} +4 -4
- package/dist/_dts/{types-OKzbqRBx.d.ts → types-lwSgCWZ4.d.ts} +11 -2
- package/dist/_dts/{validation-Bxi66FtQ.d.ts → validation-C5xp--Fu.d.ts} +7 -4
- package/dist/client/{BlocksIslandsHydrator-2xzlERTG.mjs → BlocksIslandsHydrator-CeYQQQs7.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-qsohSEdQ.mjs → BookingMailingListNote-CDDWrY_W.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement-DrdtON0q.mjs → BookingPanelArrangement-BShQSial.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-CUFxBaTM.mjs → BookingQuestionFields-MbvIo2jS.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-Ch0w0Utn.mjs → CalendarNavigationChevron-C6CSVfEB.mjs} +9 -9
- package/dist/client/{DemoBookingPortalAccess-DGgsjqXK.mjs → DemoBookingPortalAccess-C9Ggcfx3.mjs} +3 -3
- package/dist/client/{EventCalendar.client-Dg4PHFJJ.mjs → EventCalendar.client-BSMuSqg0.mjs} +9 -9
- package/dist/client/{EventCombined.client-tky8JcnQ.mjs → EventCombined.client-BTrmSyUB.mjs} +8 -8
- package/dist/client/{EventItem-BybMSKNL.mjs → EventItem-B0WjGXsH.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-uvWRE5wi.mjs → EventListWeekNavigation-8Ij7vuxY.mjs} +1 -1
- package/dist/client/{EventListing.client-DQx9dohz.mjs → EventListing.client-CWk2NEwd.mjs} +3 -3
- package/dist/client/{EventListing.view-r31k8Icz.mjs → EventListing.view-BEH4UbSL.mjs} +17 -8
- package/dist/client/{EventRegistrationPayment-BMmPDmSf.mjs → EventRegistrationPayment-B2EikR3f.mjs} +9 -9
- package/dist/client/{LocationMapActions-BecH-qhI.mjs → LocationMapActions-myIQIvQL.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-BJzmFdcn.mjs → MapDrawingSvg-BfsVyPvB.mjs} +2 -37
- package/dist/client/{Page-CWN_8cLZ.mjs → Page-F3lhDvw1.mjs} +329 -268
- package/dist/client/{SiteTermsAgreementField-Dr5lj4oY.mjs → SiteTermsAgreementField-BYACYP0T.mjs} +2 -2
- package/dist/client/{StepIndicator-C7RJBOW3.mjs → StepIndicator-Bb7rPtSq.mjs} +5 -5
- package/dist/client/{accordion-uUi_N6mZ.mjs → accordion-BfsOiweL.mjs} +1 -1
- package/dist/client/{booking-form.client-CKHgxvsh.mjs → booking-form.client-B8ohIj13.mjs} +13 -13
- package/dist/client/{bookingForm-Bi74dmiS.mjs → bookingForm-CXsck2oH.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-C-gFwhnO.mjs → boxStyleClassNames-B_hcuT06.mjs} +2 -2
- package/dist/client/{carousel-C0_BqMA0.mjs → carousel-Cz5Ddbsx.mjs} +1 -1
- package/dist/client/{cart-BOHuppVu.mjs → cart-CTC2oS3p.mjs} +3 -3
- package/dist/client/{cart.client-IfJE1zAp.mjs → cart.client-c1YkTC-Q.mjs} +1 -1
- package/dist/client/{checkout-C3Aj-aNa.mjs → checkout-BeW1ufaH.mjs} +3 -3
- package/dist/client/{checkout.client-Tg9lfeYf.mjs → checkout.client-BeU32khQ.mjs} +1 -1
- package/dist/client/{checkoutUrls-OLqQdAXD.mjs → checkoutUrls-DVfSUSKp.mjs} +1 -1
- package/dist/client/client.mjs +36 -3
- package/dist/client/{context-D8TpQXjX.mjs → context-R9p5c8IH.mjs} +1 -1
- package/dist/client/{course-DHmeQAvq.mjs → course-CUFVJEAc.mjs} +1 -1
- package/dist/client/{dateFormatting-ABCZWkpT.mjs → dateFormatting-CF6FWCoo.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BdcuW_pa.mjs → demoPortalMagicLink-tZxIm3RL.mjs} +1 -1
- package/dist/client/{display-DMqotaGU.mjs → display-4HYOb-AK.mjs} +51 -4
- package/dist/client/{enhanceHeaderSection-Ciuhsk0E.mjs → enhanceHeaderSection-DEYDI54E.mjs} +3 -3
- package/dist/client/{event-details.client-CJapNbTv.mjs → event-details.client-BwjBJP-f.mjs} +1 -1
- package/dist/client/{event-registration.client-CAdcpnLc.mjs → event-registration.client-DWvSODTI.mjs} +11 -11
- package/dist/client/{eventCalendar-BlsD5R8M.mjs → eventCalendar-C9Pn9eeZ.mjs} +4 -4
- package/dist/client/{eventCombined-B9Ly3024.mjs → eventCombined-Bdhk0fp0.mjs} +4 -4
- package/dist/client/{eventDetails-CbEGI4jO.mjs → eventDetails-C2LfNW_o.mjs} +2 -2
- package/dist/client/{eventListing-ZSmvhWII.mjs → eventListing-B-bJOQUk.mjs} +4 -4
- package/dist/client/{eventRegistration-D-yUcIyO.mjs → eventRegistration-CbdmUiDT.mjs} +4 -4
- package/dist/client/{form-DG_YZSNn.mjs → form-BbUUt784.mjs} +3 -3
- package/dist/client/{form.client-BU6dM0-C.mjs → form.client-BVlz-9_t.mjs} +4 -4
- package/dist/client/{form.parts-Db0Iq7nx.mjs → form.parts-TB4UIrML.mjs} +1 -1
- package/dist/client/{formatDate-DFfWHpQB.mjs → formatDate-TDHhFjFN.mjs} +1 -1
- package/dist/client/gifting/client.mjs +4 -4
- package/dist/client/{gifting-DMrsN4B4.mjs → gifting-CbNSrp7C.mjs} +4 -4
- package/dist/client/{gifting.client-BVa2XYJB.mjs → gifting.client-B__bGhFc.mjs} +4 -4
- package/dist/client/{gifting.parts-C2u4Y-pf.mjs → gifting.parts-CTA1sDW6.mjs} +2 -2
- package/dist/client/{headerSection-D91EzlOR.mjs → headerSection-5Wn9nUW_.mjs} +2 -2
- package/dist/client/{lookSurfaces-BDZLALxj.mjs → lookSurfaces-BwiNdgMU.mjs} +1 -1
- package/dist/client/{newsletter-form.client-BMGRiRpo.mjs → newsletter-form.client-B17WYHxZ.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-D5UfUaD3.mjs → newsletter-form.parts-DN9wD1ZG.mjs} +1 -1
- package/dist/client/{newsletterForm-B_67sNwa.mjs → newsletterForm-DLMlxInp.mjs} +3 -3
- package/dist/client/{noop-DF8_EiFt.mjs → noop-CaQxI-Js.mjs} +2 -9
- package/dist/client/portal/client.mjs +7 -7
- package/dist/client/{product-detail.client-D-XNir0m.mjs → product-detail.client-Di_anRGR.mjs} +1 -1
- package/dist/client/{product-list.client-BLfYQ-qi.mjs → product-list.client-Duhl6rtL.mjs} +1 -1
- package/dist/client/{productDetail-W0_0lDGe.mjs → productDetail-BgKmCwA8.mjs} +3 -3
- package/dist/client/{productList-ayAtPJdb.mjs → productList-C_wMKsYS.mjs} +3 -3
- package/dist/client/{propsDecoder-ChYKWjLA.mjs → propsDecoder-y3LvxaiG.mjs} +4 -4
- package/dist/client/{registry.server-B1EEZkcr.mjs → registry.server-CIWYKz1V.mjs} +83 -27
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +87 -22
- package/dist/client/{richText-coerce-CDAfpMQU.mjs → richText-coerce-DkPBFb_a.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CcGWvyht.mjs → routeIslandApiConfig-BgO0rZce.mjs} +1 -1
- package/dist/client/{shop-DbUUoHFJ.mjs → shop-CFbWlv_W.mjs} +3 -3
- package/dist/client/{shop-commerce-aQqcDmyZ.mjs → shop-commerce-C-I29eaA.mjs} +12 -12
- package/dist/client/{shop-commerce-store-Cd7USpuY.mjs → shop-commerce-store-DGcc7twO.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-DGvPBmVP.mjs → shop-discount-apply.state-DOm7vx0X.mjs} +2 -2
- package/dist/client/{shop.client-BNZ9M8cG.mjs → shop.client-GHTWUKD6.mjs} +12 -12
- package/dist/client/{shop.interactive-CJAINJr3.mjs → shop.interactive-CxDJ8P2r.mjs} +3 -3
- package/dist/client/{shopShared-DwVAuGsx.mjs → shopShared-Be9QJJpT.mjs} +2 -2
- package/dist/client/{timetableModel-DBTIFWTb.mjs → timetableModel--R0zVzZO.mjs} +8 -8
- package/dist/client/{useAvailableSlots-BomyyKeo.mjs → useAvailableSlots-BGu_2F50.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-CCxHMWlU.mjs → useDiscountCodeUi-I_mXI9Yd.mjs} +1 -1
- package/dist/client/{useEventPagination-Bjin_qaN.mjs → useEventPagination-DxIJ--JZ.mjs} +7 -7
- package/dist/client/{view-BTk470k0.mjs → view-3foOzGWR.mjs} +3 -3
- package/dist/client/{view-Cw4EmEPv.mjs → view-BbzH5MQb.mjs} +61 -34
- package/dist/preview-next/client/{PageSectionToolbar-bq7gbKvn.mjs → PageSectionToolbar-0xyUPWUB.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-DVsPNcos.mjs → PreviewEditorSidebar-D8vUzXtI.mjs} +38 -35
- package/dist/preview-next/client/{PreviewEditorUI-B-pq3aZc.mjs → PreviewEditorUI-CRjS4gAu.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-ChyjB96e.mjs → PreviewShell-BvdBdeH_.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-D_czeC0l.mjs → SdkPreviewModeRuntime-DWTyKbFj.mjs} +77 -47
- package/dist/preview-next/client/{previewAssistantSlot-B61mZd81.mjs → previewAssistantSlot-BqY2TTcZ.mjs} +436 -278
- package/dist/preview-next/client/{previewChromeRoot-dwOn9XtM.mjs → previewChromeRoot-BuRYe2iL.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DZDfOxoW.mjs → sdk-runtime-BnK5kH9f.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BZDIC-fA.mjs → siteStyleAccess-DbKozRSn.mjs} +1 -1
- package/dist/preview-next/client/{useAutosaveStatus-BbzLMf-l.mjs → useAutosaveStatus-D9s6dyMW.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-BEXcWQeI.mjs → useOpenBlockForSetup-Ce4WCxpT.mjs} +16 -2
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-0gSlK9S0.mjs → route-contract-BYezcMx5.mjs} +8 -0
- package/dist/server/{Block.shared-DeXXycg8.mjs → Block.shared-Cn7gg13_.mjs} +84 -16
- package/dist/server/{bindings-7L3pC5Os.mjs → bindings-VGgS6UvF.mjs} +3 -3
- package/dist/server/{client-CgghATBm.mjs → client-Bvag5OtW.mjs} +35 -3
- 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-D7M5Vcug.mjs → loadContent-CxASA3PE.mjs} +5 -8
- package/dist/server/{loadPage-CiTId05y.mjs → loadPage-CQgde5DN.mjs} +2 -2
- package/dist/server/mapLocation-BM5WX7FY.mjs +315 -0
- package/dist/server/next.mjs +6 -6
- package/dist/server/{overrideResolution-CJ3MRI5Q.mjs → overrideResolution-BqVLO4gX.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-Cuos4Xcd.mjs → pageRenderPlan-CfSnAkCO.mjs} +10 -41
- package/dist/server/{pageRuntimeSupport-CuVj3bkd.mjs → pageRuntimeSupport-uz4gzBOo.mjs} +4 -13
- package/dist/server/{pageShared-JxlV8_Bo.mjs → pageShared-D23o5QgC.mjs} +111 -66
- package/dist/server/{prebuild-BDhlJbAx.mjs → prebuild-BuoXWT9y.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-kERh_c0v.mjs → prefetchBlockData-CCiYV8_s.mjs} +21 -6
- package/dist/server/{registry-cQ9N5W-n.mjs → registry-CXRXsFSx.mjs} +346 -513
- 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 +7 -7
- package/dist/server/{resolveBlockData-CN4UmmTK.mjs → resolveBlockData-yfe8WLEA.mjs} +1 -1
- package/dist/server/{responseMedia-DpBC1hTM.mjs → responseMedia-F-ElH2Rd.mjs} +1 -0
- package/dist/server/server.mjs +3 -3
- package/dist/server/{validation-3puM5SM8.mjs → validation-CozQ7wE0.mjs} +4 -4
- package/dist/server/{version-B8g-Wx57.mjs → version-CgCWRFEY.mjs} +1 -1
- package/package.json +1 -1
- package/dist/server/identity-DQD_8lNO.mjs +0 -6
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as EventRegistrationIslandClient } from "./event-registration.client-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { n as EventRegistrationIslandClient } from "./event-registration.client-DWvSODTI.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-R9p5c8IH.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-y3LvxaiG.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-BgO0rZce.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventRegistration.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as FormNodeClient } from "./form.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-R9p5c8IH.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-y3LvxaiG.mjs";
|
|
4
|
+
import { t as FormNodeClient } from "./form.client-BVlz-9_t.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
6
|
import { n as snapshotForm, t as restoreForm } from "./formSnapshot-Cy4abc0T.mjs";
|
|
7
7
|
import "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as ok, n as assertNever, r as err } from "./noop-
|
|
3
|
-
import { n as useBlockApi } from "./context-
|
|
4
|
-
import { r as listLookSlot } from "./lookSurfaces-
|
|
2
|
+
import { i as ok, n as assertNever, r as err } from "./noop-CaQxI-Js.mjs";
|
|
3
|
+
import { n as useBlockApi } from "./context-R9p5c8IH.mjs";
|
|
4
|
+
import { r as listLookSlot } from "./lookSurfaces-BwiNdgMU.mjs";
|
|
5
5
|
import { S as clsx } from "./ThemedButton-DuaYtnvG.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
7
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
7
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-TB4UIrML.mjs";
|
|
8
8
|
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
9
9
|
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|
|
10
10
|
import { useReducer, useRef } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as listLookControl, r as listLookSlot } from "./lookSurfaces-
|
|
2
|
+
import { n as listLookControl, r as listLookSlot } from "./lookSurfaces-BwiNdgMU.mjs";
|
|
3
3
|
import { t as CheckboxChoice } from "./CheckboxChoice-b-PJLEXe.mjs";
|
|
4
4
|
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C-ql101B.mjs";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Jt as formatDateTime, Kt as formatDate$1, ln as parseBookingLocalDate, mn as parseUtcIsoDateTimeString } from "./noop-CaQxI-Js.mjs";
|
|
3
3
|
//#region ../blocks/src/bindings/formatDate.ts
|
|
4
4
|
/** Admit stored civil dates or offset-aware instants before core projection. */
|
|
5
5
|
function formatDate(value, context, options) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
4
|
-
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-
|
|
3
|
+
import { Kt as formatDate, fn as resolveBookingTimeZoneId, hn as toUtcIsoDateTimeString, t as logger, xn as formatGiftCardAmountLabel } from "../noop-CaQxI-Js.mjs";
|
|
4
|
+
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-R9p5c8IH.mjs";
|
|
5
5
|
import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-DuaYtnvG.mjs";
|
|
6
6
|
import { t as CheckIcon } from "../CheckIcon-CVcKteXH.mjs";
|
|
7
|
-
import { s as readChosenGiftAmounts } from "../gifting.parts-
|
|
8
|
-
import { t as GiftingClient } from "../gifting.client-
|
|
7
|
+
import { s as readChosenGiftAmounts } from "../gifting.parts-CTA1sDW6.mjs";
|
|
8
|
+
import { t as GiftingClient } from "../gifting.client-B__bGhFc.mjs";
|
|
9
9
|
import React from "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { useRouter } from "next/navigation";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { s as readChosenGiftAmounts } from "./gifting.parts-
|
|
5
|
-
import { t as GiftingClient } from "./gifting.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-R9p5c8IH.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-y3LvxaiG.mjs";
|
|
4
|
+
import { s as readChosenGiftAmounts } from "./gifting.parts-CTA1sDW6.mjs";
|
|
5
|
+
import { t as GiftingClient } from "./gifting.client-B__bGhFc.mjs";
|
|
6
6
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
4
|
-
import { n as useBlockApi } from "./context-
|
|
2
|
+
import { bn as formatCurrencyAmount, n as assertNever } from "./noop-CaQxI-Js.mjs";
|
|
3
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BYACYP0T.mjs";
|
|
4
|
+
import { n as useBlockApi } from "./context-R9p5c8IH.mjs";
|
|
5
5
|
import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
7
|
-
import { a as giftingEyebrow, i as firstGiftAmountChoice, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-
|
|
7
|
+
import { a as giftingEyebrow, i as firstGiftAmountChoice, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-CTA1sDW6.mjs";
|
|
8
8
|
import { startTransition, useEffect, useReducer, useRef, useState } from "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
//#region ../blocks/src/system/runtime/nodes/gifting.client.state.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { r as listLookSlot } from "./lookSurfaces-
|
|
2
|
+
import { bn as formatCurrencyAmount } from "./noop-CaQxI-Js.mjs";
|
|
3
|
+
import { r as listLookSlot } from "./lookSurfaces-BwiNdgMU.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region ../blocks/src/system/runtime/nodes/gifting.parts.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-y3LvxaiG.mjs";
|
|
3
|
+
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-DEYDI54E.mjs";
|
|
4
4
|
//#region src/rendering/islands/enhancers/headerSection.ts
|
|
5
5
|
const decode = defineIslandPropsDecoder("headerSection");
|
|
6
6
|
const enhance = (root, props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { B as headingDecorationOverrideValues, F as arrangementModes, H as tileTreatmentValues, I as decorativeTransitionIntentValues, L as eventListTreatmentValues, M as accordionIconColorTokenValues, N as accordionIconMotionValues, P as accordionIconSetValues, R as eyebrowTreatmentValues, U as visibleHeadingDecorationFamilyValues, V as isArrangementMode, ct as imageMediaSchema, ft as videoMediaSchema, lt as mediaSchema, ot as assetMediaSchema, st as externalMediaSchema, z as headingDecorationColorTokenValues } from "./noop-
|
|
2
|
+
import { B as headingDecorationOverrideValues, F as arrangementModes, H as tileTreatmentValues, I as decorativeTransitionIntentValues, L as eventListTreatmentValues, M as accordionIconColorTokenValues, N as accordionIconMotionValues, P as accordionIconSetValues, R as eyebrowTreatmentValues, U as visibleHeadingDecorationFamilyValues, V as isArrangementMode, ct as imageMediaSchema, ft as videoMediaSchema, lt as mediaSchema, ot as assetMediaSchema, st as externalMediaSchema, z as headingDecorationColorTokenValues } from "./noop-CaQxI-Js.mjs";
|
|
3
3
|
import { At as featuresFromHex, Ct as resolveOpaqueSurfaceHex, Et as requirePaletteColorsFromEntries, F as defineButtonStyleRecipe, I as mapButtonRoleAppearances, K as rgbColorValue, L as mapButtonVisualAppearances, Ot as preparePaletteColourIndex, St as resolveConcreteColorHex, Tt as paletteValueKeySchema, Y as resolveSurfaceForeground, _ as contextualButtonSurfaceResetStyles, _t as surfaceInkDeclarations, a as requireResolvedSurface, b as BUTTON_CONTRAST_POLICY, bt as freezeOwnedThemeValue, c as surfaceButtonRequest, d as toAccessibleColorSurfaceIntent, dt as SURFACE_INK_CSS_VARS, ft as surfaceForegroundDeclarations, h as scrimTone, ht as surfaceForegroundValue, i as prepareThemeSurfaceRevision, it as contrastThresholdByPolicy, j as ELEVATION_OFFSET, m as minimumScrimOpacity, o as resolveSurface, ot as expandPalette, p as gradientScrimSamples, t as parseResolvedSurface, u as surfaceTransportContext, ut as SURFACE_FOREGROUND_CSS_VARS, wt as paletteValueKey, xt as ownedThemeSnapshot } from "./accessibleSurfaces-DN8it_Cx.mjs";
|
|
4
4
|
import { C as paletteColorsFromEntries, D as parseThemeColorToken, E as parseColorTokenParts, O as themeColorTokenSchema, S as paletteColorEntries, T as paletteModeSchema, b as isThemeColorToken, c as buttonEffectApplicationSchema, f as buttonVisualStatesSchema, g as VARIANT_ROLES, l as buttonPressOffsetSchema, s as unsafeAsOpaqueButtonColourToken, u as buttonSystemSchema, w as paletteColorsSchema, y as hexColorSchema } from "./types-DjWUR_O6.mjs";
|
|
5
5
|
import { z } from "zod";
|
package/dist/client/{newsletter-form.client-BMGRiRpo.mjs → newsletter-form.client-B17WYHxZ.mjs}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { On as parseMailingListVisitorSelection, x as newsletterBlockSubmissionMessage, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-
|
|
3
|
-
import { n as assertNever } from "./noop-
|
|
2
|
+
import { On as parseMailingListVisitorSelection, x as newsletterBlockSubmissionMessage, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-CxDJ8P2r.mjs";
|
|
3
|
+
import { n as assertNever } from "./noop-CaQxI-Js.mjs";
|
|
4
4
|
import { T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
|
|
5
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
6
|
-
import { r as listLookSlot } from "./lookSurfaces-
|
|
5
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-R9p5c8IH.mjs";
|
|
6
|
+
import { r as listLookSlot } from "./lookSurfaces-BwiNdgMU.mjs";
|
|
7
7
|
import { S as clsx } from "./ThemedButton-DuaYtnvG.mjs";
|
|
8
8
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
9
|
-
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-
|
|
9
|
+
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-DN9wD1ZG.mjs";
|
|
10
10
|
import { t as MAILING_LIST_CONFIRMATION_MESSAGE } from "./mailingListSignupCopy-CX4sDozG.mjs";
|
|
11
11
|
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
12
12
|
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|
package/dist/client/{newsletter-form.parts-D5UfUaD3.mjs → newsletter-form.parts-DN9wD1ZG.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as listLookSlot } from "./lookSurfaces-
|
|
2
|
+
import { r as listLookSlot } from "./lookSurfaces-BwiNdgMU.mjs";
|
|
3
3
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
4
4
|
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C-ql101B.mjs";
|
|
5
5
|
import "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as NewsletterFormClient } from "./newsletter-form.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-R9p5c8IH.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-y3LvxaiG.mjs";
|
|
4
|
+
import { t as NewsletterFormClient } from "./newsletter-form.client-B17WYHxZ.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
6
|
import { n as snapshotForm, t as restoreForm } from "./formSnapshot-Cy4abc0T.mjs";
|
|
7
7
|
import "react";
|
|
@@ -990,14 +990,6 @@ function toLocationCoordinates(value) {
|
|
|
990
990
|
lng: value.lng
|
|
991
991
|
};
|
|
992
992
|
}
|
|
993
|
-
/** Decide permission before loading or projecting the selected source. */
|
|
994
|
-
function decideLocationSourcePermission(source, businessAddressVisibility) {
|
|
995
|
-
if (source === "business_address" && businessAddressVisibility === void 0) return { kind: "unresolved" };
|
|
996
|
-
return source === "business_address" && businessAddressVisibility === "hidden" ? { kind: "hidden" } : {
|
|
997
|
-
kind: "permitted",
|
|
998
|
-
source
|
|
999
|
-
};
|
|
1000
|
-
}
|
|
1001
993
|
//#endregion
|
|
1002
994
|
//#region ../core/src/event-series-behaviour.ts
|
|
1003
995
|
const EVENT_PRESET_VALUES = [
|
|
@@ -2108,6 +2100,7 @@ const publicEventBaseSchema = z.object({
|
|
|
2108
2100
|
"online",
|
|
2109
2101
|
"hybrid"
|
|
2110
2102
|
]),
|
|
2103
|
+
addressAfterBooking: z.literal(true).optional(),
|
|
2111
2104
|
attendanceModes: z.array(publicEventAttendanceModeAvailabilitySchema),
|
|
2112
2105
|
startsAt: z.string(),
|
|
2113
2106
|
endsAt: z.string(),
|
|
@@ -2562,4 +2555,4 @@ const logger = {
|
|
|
2562
2555
|
withFields: (_) => logger
|
|
2563
2556
|
};
|
|
2564
2557
|
//#endregion
|
|
2565
|
-
export { toBookingRequirementConsentField as $,
|
|
2558
|
+
export { toBookingRequirementConsentField as $, inferSiteDateLocale as $t, normalizeEventCalendarDisplayMode as A, publicEventLoaderQuerySchemaShape as At, headingDecorationOverrideValues as B, projectPublicLocation as Bt, eventCalendarListGroupingDecision as C, purchasablePublicMembershipProductSchema as Ct, isEventCalendarDefaultView as D, eventScheduleScopeValues as Dt, eventListArrangementValues as E, calendarWindowQuerySchema as Et, arrangementModes as F, EVENT_PRESET_VALUES as Ft, publicEventDestinationSchema as G, mapDrawingSchema as Gt, tileTreatmentValues as H, toLocationCoordinates as Ht, decorativeTransitionIntentValues as I, WHOLE_SERIES_EVENT_PRESET_VALUES as It, publicEventsArraySchema as J, formatDateTime as Jt, publicEventPricingSchema as K, formatDate as Kt, eventListTreatmentValues as L, locationValueSchema as Lt, accordionIconColorTokenValues as M, allocateReductionCents as Mt, accordionIconMotionValues as N, normalizeCurrencyCode as Nt, isEventCalendarDisplayMode as O, eventSurfacePresetValues as Ot, accordionIconSetValues as P, isRecord as Pt, isBookingRequirementConsentFieldId as Q, formatTimeZoneCityLabel as Qt, eyebrowTreatmentValues as R, normalizeLocationAddressText as Rt, resolveCalendarReadProfile as S, publicProductSchema as St, eventCalendarVariantMeaning as T, calendarMonthDate as Tt, visibleHeadingDecorationFamilyValues as U, capitalize as Ut, isArrangementMode as V, publicLocationSchema as Vt, eventVenueDrawingSchema as W, trimmedStringOrNull as Wt, blockBookingConsentSchema as X, formatTime as Xt, blockBookingPaymentTermsSchema as Y, formatDateTimeRange as Yt, bookingConsentCarrierSchema as Z, formatTimeRange as Zt, calendarQueryKey as _, parsePositiveCents as _n, eventCalendarDisplayModeValues as _t, okWith as a, compareLocalScheduleDates as an, isRichTextDoc as at, calendarWindowPageSchema as b, formatCurrencyAmount as bn, publicMembershipProductSchema as bt, reportWorkflowSuccess as c, getLocalScheduleDate as cn, imageMediaSchema as ct, EVENT_BOOKING_RESPONSE_QUERY as d, resolveBookingBusinessTimeZone as dn, runtimeMediaSchema as dt, resolveBookingDisplayContext as en, beforeBookingQuestionsPresentationSchema as et, eventAutoApplyDiscountPreviewSchema as f, resolveBookingTimeZoneId as fn, videoMediaSchema as ft, calendarPageResponseError as g, validateBookingPaymentOptionKinds as gn, eventCalendarDefaultViewValues as gt, calendarMonthKey as h, toUtcIsoDateTimeString as hn, mediaTypeDiscriminants as ht, ok as i, addLocalScheduleDays as in, createRichTextDoc as it, resolveEventCalendarReadPlan as j, unsafeAsPositiveCheckoutQuantity as jt, isEventCalendarListLayout as k, eventSurfaceScopeValues as kt, blockSiteTermsSchema as l, parseBookingLocalDate as ln, mediaSchema as lt, publicPassProductCollectionSchema as m, parseUtcIsoDateTimeString as mn, isDisplayMediaKind as mt, assertNever as n, toScheduledBookingDateTime as nn, RichTextDocSchema as nt, clearWorkflowFeedback as o, formatLocalScheduleDate as on, assetMediaSchema as ot, publicMembershipProductCollectionSchema as p, toBookingTimeZone as pn, PUBLIC_FILE_FIELD_KINDS as pt, publicEventSchema as q, formatDateRange as qt, err as r, buildBookingUtcDateWindow as rn, buildRichTextSchema as rt, reportWorkflowError as s, getBookingLocalDateKey as sn, externalMediaSchema as st, logger as t, formatBookingCompactEnglishTime as tn, bookingQuestionsAnswerValueSchema as tt, verifiedSiteTermsAcceptanceSchema as u, parseLocalScheduleTime as un, persistableMediaSchema as ut, calendarWindowBounds as v, parsePositiveMoneyInputToCents as vn, eventCalendarListLayoutCompatibleDisplayModeValues as vt, eventCalendarListLayoutOptions as w, purchasablePublicPassProductSchema as wt, planCalendarMonthRanges as x, formatGiftCardAmountLabel as xn, publicPassProductSchema as xt, calendarWindowMonths as y, toNonNegativeCents as yn, eventCalendarListLayoutValues as yt, headingDecorationColorTokenValues as z, parseLocationValue as zt };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
3
|
+
import { bn as formatCurrencyAmount, n as assertNever, t as logger, vn as parsePositiveMoneyInputToCents } from "../noop-CaQxI-Js.mjs";
|
|
4
4
|
import { D as unsafeAsAppointmentResourceId, T as assertNever$1, c as initialBookingQuestionValues, f as unansweredRequiredBookingQuestions, g as formatCreditProductUnits, i as UNANSWERED_QUESTION_MESSAGE, m as formatCreditProductBalance, n as getCreditProductTypeLabel, r as UNANSWERED_QUESTIONS_SUMMARY, t as deriveCreditProductLabels, y as formatOrderInstalmentStatusLabel$1 } from "../creditProducts-BQ1t1erI.mjs";
|
|
5
5
|
import { t as generateUuidV4 } from "../uuid-BETKW8rS.mjs";
|
|
6
|
-
import { n as useAvailableDates, s as clientPersonPhrases, t as useAvailableSlots } from "../useAvailableSlots-
|
|
7
|
-
import { a as createBlockApi, i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-
|
|
6
|
+
import { n as useAvailableDates, s as clientPersonPhrases, t as useAvailableSlots } from "../useAvailableSlots-BGu_2F50.mjs";
|
|
7
|
+
import { a as createBlockApi, i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-R9p5c8IH.mjs";
|
|
8
8
|
import { S as clsx, i as ThemedButtonLink, l as SpinnerNode, o as ThemedFileChooser, r as ThemedButton, t as ThemedActionsButton } from "../ThemedButton-DuaYtnvG.mjs";
|
|
9
9
|
import { t as resolveDedicatedBookingHref } from "../bookingRoute-D6DlxYx6.mjs";
|
|
10
|
-
import { a as DemoPortalSignInLink, i as useBookingNowIso, r as parseBookingSubmissionFailure, t as BookingQuestionFields } from "../BookingQuestionFields-
|
|
10
|
+
import { a as DemoPortalSignInLink, i as useBookingNowIso, r as parseBookingSubmissionFailure, t as BookingQuestionFields } from "../BookingQuestionFields-MbvIo2jS.mjs";
|
|
11
11
|
import { t as ModalShell } from "../ModalShell-B_fHWK71.mjs";
|
|
12
12
|
import { t as TabBarFragment } from "../TabBarFragment-BqfRLojo.mjs";
|
|
13
|
-
import { t as formatDate } from "../formatDate-
|
|
14
|
-
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "../demoPortalMagicLink-
|
|
15
|
-
import { a as formatPortalSessionDay, c as isPast, i as formatPortalSession, l as portalSessionDisplay, n as formatDateTime, o as formatPortalSessionTime, r as formatEntitlementEnd, s as formatPortalSessionWithWeekday, t as formatDate$1 } from "../dateFormatting-
|
|
13
|
+
import { t as formatDate } from "../formatDate-TDHhFjFN.mjs";
|
|
14
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "../demoPortalMagicLink-tZxIm3RL.mjs";
|
|
15
|
+
import { a as formatPortalSessionDay, c as isPast, i as formatPortalSession, l as portalSessionDisplay, n as formatDateTime, o as formatPortalSessionTime, r as formatEntitlementEnd, s as formatPortalSessionWithWeekday, t as formatDate$1 } from "../dateFormatting-CF6FWCoo.mjs";
|
|
16
16
|
import * as React$1 from "react";
|
|
17
17
|
import React, { createContext, forwardRef, useCallback, useContext, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
18
18
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
package/dist/client/{product-detail.client-D-XNir0m.mjs → product-detail.client-Di_anRGR.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-C-I29eaA.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-C-I29eaA.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-y3LvxaiG.mjs";
|
|
3
|
+
import { t as ProductDetailClient } from "./product-detail.client-Di_anRGR.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-Be9QJJpT.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-y3LvxaiG.mjs";
|
|
3
|
+
import { t as ProductListClient } from "./product-list.client-Duhl6rtL.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-Be9QJJpT.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,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A as formInteractiveIslandPropsCodec, C as newsletterFormInteractiveIslandPropsCodec, Dt as eventListingInteractiveIslandPropsCodec, E as giftingInteractiveIslandPropsCodec, F as eventRegistrationInteractiveIslandPropsCodec, f as productDetailInteractiveIslandPropsCodec, g as shopInteractiveIslandPropsCodec, gt as eventCombinedInteractiveIslandPropsCodec, l as checkoutInteractiveIslandPropsCodec, m as productListInteractiveIslandPropsCodec, s as cartInteractiveIslandPropsCodec, vn as headerChromeRuntimeContractSchema, xt as eventCalendarInteractiveIslandPropsCodec } from "./shop.interactive-
|
|
3
|
-
import {
|
|
4
|
-
import { W as eventVenueDrawingSchema, f as eventAutoApplyDiscountPreviewSchema, m as publicPassProductCollectionSchema, p as publicMembershipProductCollectionSchema, q as publicEventSchema } from "./noop-
|
|
5
|
-
import { i as lookListPresentationSchemaShape } from "./lookSurfaces-
|
|
2
|
+
import { A as formInteractiveIslandPropsCodec, C as newsletterFormInteractiveIslandPropsCodec, Dt as eventListingInteractiveIslandPropsCodec, E as giftingInteractiveIslandPropsCodec, F as eventRegistrationInteractiveIslandPropsCodec, f as productDetailInteractiveIslandPropsCodec, g as shopInteractiveIslandPropsCodec, gt as eventCombinedInteractiveIslandPropsCodec, l as checkoutInteractiveIslandPropsCodec, m as productListInteractiveIslandPropsCodec, s as cartInteractiveIslandPropsCodec, vn as headerChromeRuntimeContractSchema, xt as eventCalendarInteractiveIslandPropsCodec } from "./shop.interactive-CxDJ8P2r.mjs";
|
|
3
|
+
import { So as createZodCodec, To as isDecodeSuccess, Ya as eventRegistrationPageSurfaceSubjectSchema, bi as bookingFormInteractiveIslandPropsCodec } from "./display-4HYOb-AK.mjs";
|
|
4
|
+
import { W as eventVenueDrawingSchema, f as eventAutoApplyDiscountPreviewSchema, m as publicPassProductCollectionSchema, p as publicMembershipProductCollectionSchema, q as publicEventSchema } from "./noop-CaQxI-Js.mjs";
|
|
5
|
+
import { i as lookListPresentationSchemaShape } from "./lookSurfaces-BwiNdgMU.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/event-details/lookPresentation.ts
|
|
8
8
|
const eventDetailsLookSchemaShape = {
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $ as resolveOfferingsPreviewGroups, $t as Grid, Ct as recurringScheduleProjectionSchema, D as publicGiftingOffersResponseSchema, Dn as parseMailingListPlacementTargeting, En as assessMailingListTargeting, Et as eventListingBlockRuntime, G as groupOfferingRunsByCourse, Ht as listingEventCardProps, J as normalizeOfferingsPreviewItemLimit, Jt as MediaNodeServer, M as buildEventRegistrationInteractiveIslandProps, O as buildFormInteractiveIslandProps, P as eventRegistrationBlockRuntime, Q as resolveOfferingsPreviewGroupCta, Qt as getContainerClass, R as DEFAULT_GROUP_CTA, S as newsletterFormBlockRuntime, T as giftingBlockRuntime, Tt as buildEventListingInteractiveIslandProps, U as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, Ut as CardListContentPart, Vt as catalogueEventCardProps, W as buildOfferingsPreviewListing, X as offeringsListingFor, Y as offeringRunLifecycle, Yt as EventQuickFacts, Z as readOfferingsGrouping, Zt as getCardOrientation, _ as shopProductPresentation, _n as resolveEventSelection, _t as buildEventCalendarInteractiveIslandProps, a as buildShopInteractiveIslandProps, an as formatCoursePrice, b as buildNewsletterFormInteractiveIslandProps, bt as eventCalendarBlockRuntime, c as checkoutBlockRuntime, d as productDetailBlockRuntime, dn as normalizeEventCategoryIds, en as buildEventListWeek, et as resolveOfferingsRenderInput, fn as normalizeEventScheduleScope, gn as normalizeEventVenueId, h as shopBlockRuntime, hn as normalizeEventSurfaceScope, ht as eventCombinedBlockRuntime, i as buildProductListInteractiveIslandProps, k as formBlockRuntime, kn as DEFAULT_MAILING_LIST_TARGETING, ln as formatEventPriceDisplay, lt as occurrenceContextSchema, mn as normalizeEventSurfacePresets, mt as buildEventCombinedListingDisplay, n as buildCheckoutInteractiveIslandProps, nn as eventWeekGroupingContext, o as cartBlockRuntime, p as productListBlockRuntime, pn as normalizeEventStaffMemberId, pt as buildEventCombinedInteractiveIslandProps, r as buildProductDetailInteractiveIslandProps, sn as formatEventPrice, t as buildCartInteractiveIslandProps, tn as eventListWeekDays, un as formatEventStartingPrice, v as publicProductsResponseSchema, vt as buildEventCalendarListingDisplay, w as buildGiftingInteractiveIslandProps, wn as splitSiteChromePlacementClasses, x as newsletterBlockSubmissionMessage, xn as staticHeaderChromeRuntime, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-
|
|
2
|
+
import { $ as resolveOfferingsPreviewGroups, $t as Grid, Ct as recurringScheduleProjectionSchema, D as publicGiftingOffersResponseSchema, Dn as parseMailingListPlacementTargeting, En as assessMailingListTargeting, Et as eventListingBlockRuntime, G as groupOfferingRunsByCourse, Ht as listingEventCardProps, J as normalizeOfferingsPreviewItemLimit, Jt as MediaNodeServer, M as buildEventRegistrationInteractiveIslandProps, O as buildFormInteractiveIslandProps, P as eventRegistrationBlockRuntime, Q as resolveOfferingsPreviewGroupCta, Qt as getContainerClass, R as DEFAULT_GROUP_CTA, S as newsletterFormBlockRuntime, T as giftingBlockRuntime, Tt as buildEventListingInteractiveIslandProps, U as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, Ut as CardListContentPart, Vt as catalogueEventCardProps, W as buildOfferingsPreviewListing, X as offeringsListingFor, Y as offeringRunLifecycle, Yt as EventQuickFacts, Z as readOfferingsGrouping, Zt as getCardOrientation, _ as shopProductPresentation, _n as resolveEventSelection, _t as buildEventCalendarInteractiveIslandProps, a as buildShopInteractiveIslandProps, an as formatCoursePrice, b as buildNewsletterFormInteractiveIslandProps, bt as eventCalendarBlockRuntime, c as checkoutBlockRuntime, d as productDetailBlockRuntime, dn as normalizeEventCategoryIds, en as buildEventListWeek, et as resolveOfferingsRenderInput, fn as normalizeEventScheduleScope, gn as normalizeEventVenueId, h as shopBlockRuntime, hn as normalizeEventSurfaceScope, ht as eventCombinedBlockRuntime, i as buildProductListInteractiveIslandProps, k as formBlockRuntime, kn as DEFAULT_MAILING_LIST_TARGETING, ln as formatEventPriceDisplay, lt as occurrenceContextSchema, mn as normalizeEventSurfacePresets, mt as buildEventCombinedListingDisplay, n as buildCheckoutInteractiveIslandProps, nn as eventWeekGroupingContext, o as cartBlockRuntime, p as productListBlockRuntime, pn as normalizeEventStaffMemberId, pt as buildEventCombinedInteractiveIslandProps, r as buildProductDetailInteractiveIslandProps, sn as formatEventPrice, t as buildCartInteractiveIslandProps, tn as eventListWeekDays, un as formatEventStartingPrice, v as publicProductsResponseSchema, vt as buildEventCalendarListingDisplay, w as buildGiftingInteractiveIslandProps, wn as splitSiteChromePlacementClasses, x as newsletterBlockSubmissionMessage, xn as staticHeaderChromeRuntime, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-CxDJ8P2r.mjs";
|
|
3
3
|
import { f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { A as normalizeEventCalendarDisplayMode$1, Bt as
|
|
4
|
+
import { Ao as parseAspectRatioValue, Fr as resolvePublicMediaUrl, Ho as resolveWholeSeriesBookingPhase, Ma as BLOCK_BUTTON_ROLE_OPTIONS, Pa as isBlockButtonRole, Qa as resolveEventRegistrationScopedEvents, Tr as ImagePresets, Wr as asPartialObject, Xa as normalizeEventRegistrationPageSurfaceSubject, _i as groupEventsByDate, cs as resolveExactOrFreePriceDisplay, di as formatEventHourLabel, ei as formatEventLocation, gi as formatTime, ii as eventDateOptions, ko as sanitizeHref, li as formatEventCompactDateRail, lo as isBookableEvent, ls as resolvePricingOptionsPriceDisplay, mi as formatEventTimeRange, oi as formatCalendarTitle, ti as buildCalendarViewport, ts as formatBookingPriceDisplay, wr as RichText, xi as buildBookingFormInteractiveIslandProps, xo as groupPublicEventsByRun, yi as resolveRuntimeEventDestination, yr as bookingPresentation } from "./display-4HYOb-AK.mjs";
|
|
5
|
+
import { A as normalizeEventCalendarDisplayMode$1, Bt as projectPublicLocation, D as isEventCalendarDefaultView, F as arrangementModes, Ht as toLocationCoordinates, J as publicEventsArraySchema, Kt as formatDate, O as isEventCalendarDisplayMode, Rt as normalizeLocationAddressText, T as eventCalendarVariantMeaning, Vt as publicLocationSchema, Wt as trimmedStringOrNull, b as calendarWindowPageSchema, dn as resolveBookingBusinessTimeZone, dt as runtimeMediaSchema, hn as toUtcIsoDateTimeString, ht as mediaTypeDiscriminants, j as resolveEventCalendarReadPlan, k as isEventCalendarListLayout, m as publicPassProductCollectionSchema, mt as isDisplayMediaKind, nt as RichTextDocSchema, p as publicMembershipProductCollectionSchema, pt as PUBLIC_FILE_FIELD_KINDS, w as eventCalendarListLayoutOptions, zt as parseLocationValue } from "./noop-CaQxI-Js.mjs";
|
|
6
6
|
import { T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
|
|
7
7
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
8
8
|
import { n as selectCategoryView } from "./appointment-service-categories-Cl2pqw-z.mjs";
|
|
9
|
-
import { a as CalendarRecurringWeek, c as LinkNode, d as LocationMapView, i as buildWeekBoardViewProps, l as RichTextNode, n as WeekBoardView, o as RecurringSchedule, r as buildWeekBoardNavigationState, s as ButtonNode, t as buildTimetableModel, u as TextNode } from "./timetableModel
|
|
9
|
+
import { a as CalendarRecurringWeek, c as LinkNode, d as LocationMapView, i as buildWeekBoardViewProps, l as RichTextNode, n as WeekBoardView, o as RecurringSchedule, r as buildWeekBoardNavigationState, s as ButtonNode, t as buildTimetableModel, u as TextNode } from "./timetableModel--R0zVzZO.mjs";
|
|
10
10
|
import { d as formatDateKey, h as getWeekCalendarDayTuple, m as getOrderedDayNames } from "./src-xrjaKaCj.mjs";
|
|
11
11
|
import { B as resolveThemeColorReferenceValue, G as mergeStyles, H as backgroundColorStyle, K as rgbColorValue, q as textColorStyle, s as serializeSurfaceTree } from "./accessibleSurfaces-DN8it_Cx.mjs";
|
|
12
12
|
import { h as SYSTEM_BLOCK_KINDS } from "./types-DjWUR_O6.mjs";
|
|
13
|
-
import { N as compiledRuntimeStyleFieldNames, an as cardVariantRoleValues, i as lookListPresentationSchemaShape, qt as arrangementSlotNames, r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-
|
|
14
|
-
import { f as DEFAULT_SECTION_SPACING, o as normalizeBoxStylesBorder, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles } from "./boxStyleClassNames-
|
|
13
|
+
import { N as compiledRuntimeStyleFieldNames, an as cardVariantRoleValues, i as lookListPresentationSchemaShape, qt as arrangementSlotNames, r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-BwiNdgMU.mjs";
|
|
14
|
+
import { f as DEFAULT_SECTION_SPACING, o as normalizeBoxStylesBorder, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles } from "./boxStyleClassNames-B_hcuT06.mjs";
|
|
15
15
|
import { S as clsx, _ as FileAudioIcon, a as ThemedDownloadLink, b as MinusIcon, c as isSemanticIconId, d as ChevronDownIcon, f as CircleMinusIcon, g as FileArchiveIcon, i as ThemedButtonLink, l as SpinnerNode, p as CirclePlusIcon, r as ThemedButton, s as getIconComponent, u as ArrowDownIcon, v as FileSpreadsheetIcon, x as PlusIcon, y as FileTextIcon } from "./ThemedButton-DuaYtnvG.mjs";
|
|
16
|
-
import { a as eventCardListContent, c as derivePreviewRunSchedule, l as formatEventQuickDate, n as resolveEventDetailsPresentation, o as offeringDatesBySeries, s as deriveEventScheduleSummary, t as EventDetailsView, u as selectQuickDateEvents } from "./view-
|
|
17
|
-
import { c as resolveEventLinkProps, i as formatCourseSessions, n as eventDisplayTitleText, s as resolveEventCta, t as eventDisplayTitle } from "./course-
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-
|
|
16
|
+
import { a as eventCardListContent, c as derivePreviewRunSchedule, l as formatEventQuickDate, n as resolveEventDetailsPresentation, o as offeringDatesBySeries, s as deriveEventScheduleSummary, t as EventDetailsView, u as selectQuickDateEvents } from "./view-BbzH5MQb.mjs";
|
|
17
|
+
import { c as resolveEventLinkProps, i as formatCourseSessions, n as eventDisplayTitleText, s as resolveEventCta, t as eventDisplayTitle } from "./course-CUFVJEAc.mjs";
|
|
18
|
+
import { n as CardListItems, r as EventItem } from "./EventItem-B0WjGXsH.mjs";
|
|
19
|
+
import { c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, u as CalendarDayHeaders } from "./CalendarNavigationChevron-C6CSVfEB.mjs";
|
|
20
|
+
import { i as SvgNode } from "./MapDrawingSvg-BfsVyPvB.mjs";
|
|
21
|
+
import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-BEH4UbSL.mjs";
|
|
22
22
|
import { t as resolveDedicatedBookingHref } from "./bookingRoute-D6DlxYx6.mjs";
|
|
23
23
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
24
|
-
import { t as BookingPanelArrangement } from "./BookingPanelArrangement-
|
|
24
|
+
import { t as BookingPanelArrangement } from "./BookingPanelArrangement-BShQSial.mjs";
|
|
25
25
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
26
26
|
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";
|
|
27
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
28
|
-
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-
|
|
29
|
-
import { a as giftingEyebrow, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-
|
|
30
|
-
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-
|
|
31
|
-
import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-
|
|
32
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
33
|
-
import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-
|
|
27
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-DkPBFb_a.mjs";
|
|
28
|
+
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-3foOzGWR.mjs";
|
|
29
|
+
import { a as giftingEyebrow, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-CTA1sDW6.mjs";
|
|
30
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-8Ij7vuxY.mjs";
|
|
31
|
+
import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-Bb7rPtSq.mjs";
|
|
32
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-TB4UIrML.mjs";
|
|
33
|
+
import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-DN9wD1ZG.mjs";
|
|
34
34
|
import React, { forwardRef } from "react";
|
|
35
35
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
36
36
|
import { z } from "zod";
|
|
@@ -234,6 +234,21 @@ const publicVenueMapLocationSchema = publicLocationSchema.unwrap().extend({
|
|
|
234
234
|
addressWithBooking: z.boolean().optional()
|
|
235
235
|
}).readonly();
|
|
236
236
|
//#endregion
|
|
237
|
+
//#region ../site-contracts/src/siteData/mapLocation.ts
|
|
238
|
+
/** Site and preview authority belong to transport, never to the selected source. */
|
|
239
|
+
const publicMapLocationParamsSchema = z.discriminatedUnion("source", [z.object({
|
|
240
|
+
source: z.literal("venue"),
|
|
241
|
+
venueId: z.string().uuid()
|
|
242
|
+
}), z.object({ source: z.literal("business_address") })]);
|
|
243
|
+
const publicMapLocationResultSchema = z.discriminatedUnion("kind", [
|
|
244
|
+
z.object({
|
|
245
|
+
kind: z.literal("shown"),
|
|
246
|
+
location: publicVenueMapLocationSchema
|
|
247
|
+
}),
|
|
248
|
+
z.object({ kind: z.literal("hidden") }),
|
|
249
|
+
z.object({ kind: z.literal("not_found") })
|
|
250
|
+
]);
|
|
251
|
+
//#endregion
|
|
237
252
|
//#region ../core/src/links.ts
|
|
238
253
|
const nullableString = z.union([z.string().min(1), z.null()]);
|
|
239
254
|
const RESOLVED_INTERNAL_LINK_ENTITY_TYPES = [
|
|
@@ -2165,6 +2180,17 @@ const LOCATION_MAP_LIMITS = {
|
|
|
2165
2180
|
max: 600
|
|
2166
2181
|
}
|
|
2167
2182
|
};
|
|
2183
|
+
/** Each source has its own loader, so a venue map never asks for the business address. */
|
|
2184
|
+
const LOCATION_MAP_LOADER_KEYS = {
|
|
2185
|
+
venue: "venueMapLocation",
|
|
2186
|
+
business_address: "businessMapLocation"
|
|
2187
|
+
};
|
|
2188
|
+
/** Loader data crosses transport boundaries, so anything unrecognised counts as not loaded. */
|
|
2189
|
+
function parseLocationMapLoaderResult(value) {
|
|
2190
|
+
if (value === void 0 || value === null) return void 0;
|
|
2191
|
+
const parsed = publicMapLocationResultSchema.safeParse(value);
|
|
2192
|
+
return parsed.success ? parsed.data : void 0;
|
|
2193
|
+
}
|
|
2168
2194
|
function normalizeNumber(value, fallback) {
|
|
2169
2195
|
if (typeof value === "number" && Number.isFinite(value)) return value;
|
|
2170
2196
|
if (typeof value === "string") {
|
|
@@ -2200,14 +2226,14 @@ function normalizeLocationMapSource(value) {
|
|
|
2200
2226
|
function resolveLocationMapLocation(input) {
|
|
2201
2227
|
const source = normalizeLocationMapSource(input.locationSource);
|
|
2202
2228
|
if (source === "business_address") {
|
|
2203
|
-
const locationValue =
|
|
2229
|
+
const locationValue = loadedLocationValue(input.loaded, input.siteCountry);
|
|
2204
2230
|
return locationValue ? {
|
|
2205
2231
|
kind: "business_address",
|
|
2206
2232
|
locationValue
|
|
2207
2233
|
} : {
|
|
2208
2234
|
kind: "unresolved",
|
|
2209
2235
|
source,
|
|
2210
|
-
reason: "missing_business_address"
|
|
2236
|
+
reason: unresolvedLoadReason(input.loaded, "missing_business_address")
|
|
2211
2237
|
};
|
|
2212
2238
|
}
|
|
2213
2239
|
if (source === "venue") {
|
|
@@ -2217,15 +2243,16 @@ function resolveLocationMapLocation(input) {
|
|
|
2217
2243
|
source,
|
|
2218
2244
|
reason: "missing_venue_id"
|
|
2219
2245
|
};
|
|
2220
|
-
const locationValue =
|
|
2246
|
+
const locationValue = loadedLocationValue(input.loaded, input.siteCountry);
|
|
2221
2247
|
return locationValue ? {
|
|
2222
2248
|
kind: "venue",
|
|
2223
2249
|
venueId,
|
|
2224
|
-
locationValue
|
|
2250
|
+
locationValue,
|
|
2251
|
+
disclosure: loadedDisclosure(input.loaded)
|
|
2225
2252
|
} : {
|
|
2226
2253
|
kind: "unresolved",
|
|
2227
2254
|
source,
|
|
2228
|
-
reason:
|
|
2255
|
+
reason: venueLoadReason(input.loaded)
|
|
2229
2256
|
};
|
|
2230
2257
|
}
|
|
2231
2258
|
const locationValue = normalizeLocationMapValue(input.location, input.siteCountry);
|
|
@@ -2238,6 +2265,26 @@ function resolveLocationMapLocation(input) {
|
|
|
2238
2265
|
reason: "missing_custom_location"
|
|
2239
2266
|
};
|
|
2240
2267
|
}
|
|
2268
|
+
function loadedLocationValue(loaded, siteCountry) {
|
|
2269
|
+
return loaded?.kind === "shown" ? normalizeLocationMapValue(loaded.location, siteCountry) : null;
|
|
2270
|
+
}
|
|
2271
|
+
function loadedDisclosure(loaded) {
|
|
2272
|
+
return loaded?.kind === "shown" && loaded.location.addressWithBooking ? "area" : "full";
|
|
2273
|
+
}
|
|
2274
|
+
function unresolvedLoadReason(loaded, missing) {
|
|
2275
|
+
switch (loaded?.kind) {
|
|
2276
|
+
case "hidden": return "hidden_business_address";
|
|
2277
|
+
case "pending": return "location_loading";
|
|
2278
|
+
case "failed": return "location_load_failed";
|
|
2279
|
+
case "shown":
|
|
2280
|
+
case "not_found":
|
|
2281
|
+
case void 0: return missing;
|
|
2282
|
+
}
|
|
2283
|
+
}
|
|
2284
|
+
/** Only the business address can be hidden; a venue that says so is simply unavailable. */
|
|
2285
|
+
function venueLoadReason(loaded) {
|
|
2286
|
+
return loaded?.kind === "hidden" ? "missing_venue_location" : unresolvedLoadReason(loaded, "missing_venue_location");
|
|
2287
|
+
}
|
|
2241
2288
|
function describeUnresolvedLocationMapLocation(resolvedLocation) {
|
|
2242
2289
|
if (resolvedLocation.kind !== "unresolved") return null;
|
|
2243
2290
|
switch (resolvedLocation.reason) {
|
|
@@ -2245,11 +2292,20 @@ function describeUnresolvedLocationMapLocation(resolvedLocation) {
|
|
|
2245
2292
|
case "missing_venue_id": return "Choose a venue to show this map.";
|
|
2246
2293
|
case "missing_venue_location": return "The selected venue does not have location details yet.";
|
|
2247
2294
|
case "missing_custom_location": return "Location details coming soon.";
|
|
2295
|
+
case "hidden_business_address": return "This map is hidden because your business address is hidden.";
|
|
2296
|
+
case "location_loading": return "Loading this map's location…";
|
|
2297
|
+
case "location_load_failed": return "We couldn't load this map's location. Reload the preview to try again.";
|
|
2248
2298
|
}
|
|
2249
2299
|
}
|
|
2250
2300
|
function normalizeLocationMapProps(input) {
|
|
2251
2301
|
const parsedHours = parseWeeklyOpeningHours(input.openingHours);
|
|
2252
|
-
const resolvedLocation = resolveLocationMapLocation(
|
|
2302
|
+
const resolvedLocation = resolveLocationMapLocation({
|
|
2303
|
+
location: input.location,
|
|
2304
|
+
siteCountry: input.siteCountry,
|
|
2305
|
+
locationSource: input.locationSource,
|
|
2306
|
+
venueId: input.venueId,
|
|
2307
|
+
loaded: parseLocationMapLoaderResult(normalizeLocationMapSource(input.locationSource) === "venue" ? input.venueMapLocation : input.businessMapLocation)
|
|
2308
|
+
});
|
|
2253
2309
|
const locationValue = resolvedLocation.kind === "unresolved" ? null : resolvedLocation.locationValue;
|
|
2254
2310
|
const directionsLabel = normalizeLocationAddressText(input.directionsLabel) ?? LOCATION_MAP_DEFAULTS.directionsLabel;
|
|
2255
2311
|
return {
|
|
@@ -11786,4 +11842,4 @@ const serverComponentRegistry = {
|
|
|
11786
11842
|
...buildServerRegistryFromEntries(runtimeBackedBlockServerEntries)
|
|
11787
11843
|
};
|
|
11788
11844
|
//#endregion
|
|
11789
|
-
export { backgroundFrame as $, eventDiscoveryFilterKeys as $t, mapDrawingStyleBinding as A,
|
|
11845
|
+
export { backgroundFrame as $, eventDiscoveryFilterKeys as $t, mapDrawingStyleBinding as A, ACCORDION_SPACING_MAP as An, cardListKnobFields as At, normalizeMailingListBlockContent as B, resolveRepeaterGridRowFieldId as Bn, parseFieldDefinitions as Bt, checkoutBlockDefinition as C, containerStylesField as Cn, repeat as Ct, shopBlockDefinition as D, createButtonGroup as Dn, text as Dt, productListBlockDefinition as E, getAnchorClasses as En, stack as Et, markEditableSurfaceForwarding as F, bindingSchema as Fn, parseBlockIconValue as Ft, withApiBindings as G, publicMapLocationResultSchema as Gn, teamReadiness as Gt, formDataSchema as H, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Hn, augmentManifest as Ht, splitPositioningClasses as I, DEFAULT_MEDIA_FIELD_KINDS as In, createSdkSelectField as It, sectionHeaderLayoutNodes as J, eventReadinessLoaderKey as Jt, formCopyFragment as K, isCanonicalRichTextDoc as Kn, testimonialsReadiness as Kt, desktopOnlyDisplay as L, isAcceptedRepeaterGridSpan as Ln, createSiteOptionSelectField as Lt, FEATURE_CARD_GENERATED_ICON_SIZE_PX as M, ACCORDION_TRIGGER_LETTER_SPACING as Mn, cardListPresentationBindings as Mt, FEATURE_CARD_ICON_TREATMENTS as N, ICON_CONFIG as Nn, cardListSectionActionFields as Nt, eventCalendarBlockDefinition as O, createButtonVariantField as On, videoEmbed as Ot, composeHeaderSectionWrapperClassName as P, ICON_SIZE_PX as Pn, normalizeCardListContent as Pt, sectionContainer as Q, eventWeekReadScope as Qt, mobileOnlyDisplay as R, parseRepeaterGridInteger as Rn, normalizeSelectSource as Rt, giftingBlockDefinition as S, cardStylesField as Sn, props as St, productDetailBlockDefinition as T, BACKGROUND_POSITION_PRESET_VALUES as Tn, section as Tt, createBlockManifest as U, linkSchema as Un, chosenString as Ut, formBlockDefinition as V, resolveRepeaterGridSpanFieldId as Vn, PUBLIC_DOWNLOAD_MEDIA_TYPES as Vt, formEmbedFragment as W, publicMapLocationParamsSchema as Wn, galleryReadiness as Wt, styledSection as X, eventReadinessQueryKeys as Xt, resolveBackgroundColorValue as Y, eventReadinessQuery as Yt, styledContainer as Z, eventReadinessResultSchema as Zt, publicAppointmentLocationSchema as _, cardStylingFields as _n, headerSection as _t, buildLoadedOfferingsPreviewListing as a, hiddenFromVisitors as an, lookLeadSlotTransform as at, newsletterSignupBlockDefinition as b, eventDisplayFields as bn, link as bt, HeaderSectionFrame as c, unavailableReadinessFact as cn, lookSlot as ct, accordionIconColorStyle as d, LOCATION_MAP_LOADER_KEYS as dn, bookingForm as dt, eventScopeLoaderParam as en, buildFragmentDataLoaders as et, resolveAccordionIconStyle as f, describeUnresolvedLocationMapLocation as fn, button as ft, formatAppointmentPrice as g, resolveLocationMapLocation as gn, form as gt, formatAppointmentLocation as h, parseLocationMapLoaderResult as hn, fileDownload as ht, WeeklySlotAvailabilityView as i, admitReadinessFacts as in, lookCarouselRegionTransform as it, eventRegistrationBlockDefinition as j, ACCORDION_TRIGGER_FONT_SCALE as jn, cardListPhotoNumberFields as jt, eventListingBlockDefinition as k, ACCORDION_OPEN_ACCENT_THICKNESS as kn, when as kt, accordionItemPartSlots as l, LOCATION_MAP_DEFAULTS as ln, accordionList as lt, formatAppointmentDuration as m, normalizeLocationMapSource as mn, el as mt, runtimeBackedBlockModes as n, eventScopeQueryKeys as nn, defineFragment as nt, LocationMapSSR as o, loadedReadinessFact as on, lookQuoteLimitTransform as ot, SectionNode as p, normalizeLocationMapProps as pn, carousel as pt, sectionHeaderFields as q, blockChecksForEvents as qt, runtimeBackedBlockServerEntries as r, resolveEventScope as rn, cardListSectionAction as rt, buildAppointmentServicesView as s, pageTemplateFromEntry as sn, lookSkinSlotTransform as st, serverComponentRegistry as t, eventScopeQuery as tn, composeFragments as tt, accordionLookAttributes as u, LOCATION_MAP_LIMITS as un, bind as ut, publicAppointmentPricingSchema as v, columnsField as vn, icon as vt, cartBlockDefinition as w, sectionStylesField as wn, richText as wt, sanitizeNewsletterSignupPublicContent as x, layoutField as xn, media as xt, offeringCourseSlotParents as y, emptyStateField as yn, inline as yt, teamMemberCardBiographyFallback as z, resolveRepeaterGridColumnFieldId as zn, parseFieldDefinition as zt };
|