@riverbankcms/sdk 0.168.0 → 0.169.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/{BlocksIslandsHydrator-CiD_VVGM.d.ts → BlocksIslandsHydrator-DEhlJEwj.d.ts} +1 -1
- package/dist/_dts/{Page-Bj6VJRS5.d.ts → Page-BhCfStX1.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-ChpsnwDX.d.ts → SdkPreviewMode-DSYdsdmJ.d.ts} +2 -2
- package/dist/_dts/{client-C8mfUxrJ.d.ts → client-BZMn4Y99.d.ts} +39 -397
- package/dist/_dts/{content-types-_vXZyR4H.d.ts → content-types-EMK-E_r9.d.ts} +2 -2
- package/dist/_dts/{contracts-CJFfrVKU.d.ts → contracts-DjYsGY3B.d.ts} +4 -3
- package/dist/_dts/{footerPageOutline-CMegb23G.d.ts → footerPageOutline-BtYUi-m0.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-D9YdAIMh.d.ts → generatePageMetadata-D_fNTi5r.d.ts} +2 -2
- package/dist/_dts/{index-BQXaZ7aY.d.ts → index-BR0i0c3G.d.ts} +4 -4
- package/dist/_dts/{index-Bpr-wT5k.d.ts → index-BV-qVnt7.d.ts} +2 -2
- package/dist/_dts/{index-C7_Rz8EY.d.ts → index-BYYhTQ_b.d.ts} +3 -3
- package/dist/_dts/{index-Vh8B9FSa.d.ts → index-BzguBJzR.d.ts} +1 -1
- package/dist/_dts/{index-Dgz6yhsy.d.ts → index-DgEwZ5WQ.d.ts} +1 -1
- package/dist/_dts/{index-Cx2BQlHL.d.ts → index-NaRauKDR.d.ts} +1 -1
- package/dist/_dts/{index-vR3p9Bu-.d.ts → index-QIbYMeI7.d.ts} +2 -2
- package/dist/_dts/{loadContent-dhWSgLeS.d.ts → loadContent-BmGH6NKl.d.ts} +7 -7
- package/dist/_dts/{request-BrYhNV9Z.d.ts → request-DssgRQSm.d.ts} +9558 -7863
- package/dist/_dts/{resolveBlockData-BfSHm8Ms.d.ts → resolveBlockData-5BqNxwL8.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-gZJ4i1wN.d.ts → resolvePageContent-DIuwuFA7.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-BB33-Spd.d.ts → types-DrAWDtqR.d.ts} +3 -3
- package/dist/_dts/{types-BVFXYtRg.d.ts → types-Z388-GR1.d.ts} +7 -7
- package/dist/_dts/{types-FOsJ-KYb.d.ts → types-cObpvZGF.d.ts} +2 -2
- package/dist/_dts/{validation-DckTc6TQ.d.ts → validation-hLr8zVrc.d.ts} +4 -4
- package/dist/client/BlocksIslandsHydrator-CN2GyuuA.mjs +410 -0
- package/dist/client/{BookingMailingListNote-Dsugoe-n.mjs → BookingMailingListNote-Br1VyHkP.mjs} +17 -6
- package/dist/client/{BookingQuestionFields-Bhh0cvsl.mjs → BookingQuestionFields-LLGCWjvU.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-CNe3ZjdC.mjs → CalendarNavigationChevron-DSnSBNeq.mjs} +7 -7
- package/dist/client/{DemoBookingPortalAccess-BeiZxEUJ.mjs → DemoBookingPortalAccess-Cilv5zdS.mjs} +65 -9
- package/dist/client/{EventCalendar.client-BL943-tl.mjs → EventCalendar.client-ucgdMS35.mjs} +9 -9
- package/dist/client/{EventCombined.client-BFVxECTp.mjs → EventCombined.client-BEdfJGpx.mjs} +7 -7
- package/dist/client/{EventItem-BIc4gjiD.mjs → EventItem-OpLehMpT.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-a0QEIEf0.mjs → EventListWeekNavigation-DTsVU6gc.mjs} +1 -1
- package/dist/client/{EventListing.client-CEFTC3jH.mjs → EventListing.client-8MFGI9BA.mjs} +3 -3
- package/dist/client/{EventListing.view-Bt2sBBms.mjs → EventListing.view-BCvRqU86.mjs} +6 -6
- package/dist/client/{EventRegistrationPayment-D9YBNb_E.mjs → EventRegistrationPayment-CqH3hE-k.mjs} +132 -62
- package/dist/client/{LocationMapActions-gqzt5gkW.mjs → LocationMapActions-BFp2uQQQ.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-13JQI7_z.mjs → MapDrawingSvg-DDWfmgpA.mjs} +1 -1
- package/dist/client/{Page-D_M2Vxz3.mjs → Page-Bu5TJU3L.mjs} +53 -22
- package/dist/client/{StepIndicator-CaN8snZ8.mjs → StepIndicator-CR7_0yu4.mjs} +5 -4
- package/dist/client/{accessibleSurfaces-chpD4C2c.mjs → accessibleSurfaces-_7jkuinl.mjs} +56 -8
- package/dist/client/{accordion-DE7OG--d.mjs → accordion-DMItWylU.mjs} +6 -1
- package/dist/client/{booking-form.client-CS1PPjw7.mjs → booking-form.client-wd71DG19.mjs} +505 -217
- package/dist/client/{bookingForm-DE2CwIU9.mjs → bookingForm-Cyr2qeS1.mjs} +17 -17
- package/dist/client/{bookingRoute-Bqlyu5Vb.mjs → bookingRoute-D6DlxYx6.mjs} +6 -2
- package/dist/client/bookings.mjs +16 -13
- package/dist/client/{carousel-DZyUdnFh.mjs → carousel-B5-Hzzif.mjs} +7 -9
- package/dist/client/{carousel.client-BD4DXMtI.mjs → carousel.client-eSSr1oYA.mjs} +2 -2
- package/dist/client/{cart-D7HkkNwe.mjs → cart-B-M5l__W.mjs} +3 -3
- package/dist/client/{cart.client-H4sv2TpD.mjs → cart.client-COAP4CEy.mjs} +1 -1
- package/dist/client/{checkout-2qVyG-Sh.mjs → checkout-ZHc8GfaG.mjs} +3 -3
- package/dist/client/{checkout.client-DAjrBZ74.mjs → checkout.client-DRralR3e.mjs} +1 -1
- package/dist/client/{checkoutUrls-CYj06rX1.mjs → checkoutUrls-CY8qywXl.mjs} +3 -2
- package/dist/client/client.mjs +87 -4
- package/dist/client/{context-DXmIbXCK.mjs → context-Xhf81Q-c.mjs} +25 -3
- package/dist/client/{createLucideIcon-CIbxe9em.mjs → createLucideIcon-BrXgHVKN.mjs} +9 -9
- package/dist/client/{bookingQuestionValues-BjcyCru5.mjs → creditProducts-CMOmhWm2.mjs} +71 -11
- package/dist/client/{cta-DP_IBnq3.mjs → cta-CfuyGqXL.mjs} +2 -2
- package/dist/client/{dateFormatting-CwrkFZTr.mjs → dateFormatting-Bv6kjUW3.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-DQXK-Fh6.mjs → demoPortalMagicLink-DQtwf_s2.mjs} +1 -1
- package/dist/client/{wizardSteps-CFulHWnT.mjs → display-DDNmyb0z.mjs} +920 -870
- package/dist/client/{enhanceHeaderSection-DheQj7rg.mjs → enhanceHeaderSection-D7gRy-pL.mjs} +3 -2
- package/dist/client/{event-details.client-C5UufcRp.mjs → event-details.client-DZZaoCUc.mjs} +1 -1
- package/dist/client/{event-registration.client-CMGg63IU.mjs → event-registration.client-CLBdHUfd.mjs} +59 -18
- package/dist/client/{eventCalendar-DlD0GCEy.mjs → eventCalendar-BY3AfYkK.mjs} +14 -17
- package/dist/client/eventCombined-86P2vQCb.mjs +25 -0
- package/dist/client/{eventDetails-DzuQYgmO.mjs → eventDetails-DIJYMzVg.mjs} +4 -6
- package/dist/client/eventListing-8jS0qGGC.mjs +26 -0
- package/dist/client/{eventRegistration-CjS3Zpjp.mjs → eventRegistration-DyseP_sY.mjs} +19 -19
- package/dist/client/flightRegistrations-DjYm0Wz6.mjs +45 -0
- package/dist/client/{form-DgQqm7T2.mjs → form-RTqunrpz.mjs} +9 -14
- package/dist/client/{form.client-BI9Dcsq5.mjs → form.client-D3_RF29v.mjs} +4 -4
- package/dist/client/{form.parts-DevF0L_A.mjs → form.parts-DWLf_3PF.mjs} +1 -1
- package/dist/client/{formatDate-DDyURjoe.mjs → formatDate-BGlhrmhF.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-DYIG6Pwb.mjs → headerSection-CyNGt23J.mjs} +2 -2
- package/dist/client/{newsletter-form.client-BWp7Y1e1.mjs → newsletter-form.client-IfLup4o0.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-Dg8s9NwJ.mjs → newsletter-form.parts-DDD-LRyW.mjs} +1 -1
- package/dist/client/{newsletterForm-DnPraMzx.mjs → newsletterForm-o5wFBVHv.mjs} +10 -15
- package/dist/client/{noop-ByFRHYQ2.mjs → noop-B_f7RqLD.mjs} +111 -2
- package/dist/client/portal/client.mjs +21 -13
- package/dist/client/{product-detail.client-BFAgHrdg.mjs → product-detail.client-5hNA8aKU.mjs} +1 -1
- package/dist/client/{product-list.client-DVrs_DyY.mjs → product-list.client-c-777ohj.mjs} +1 -1
- package/dist/client/{productDetail-D4rvl6Xg.mjs → productDetail-hXttfQhE.mjs} +3 -3
- package/dist/client/{productList-B8o5AOMX.mjs → productList-BPsYP_jA.mjs} +3 -3
- package/dist/client/{propsDecoder-hhotPP6P.mjs → propsDecoder-Dc8j5i79.mjs} +3 -3
- package/dist/client/reactMount-DFQy3CmO.mjs +51 -0
- package/dist/client/{registry.server-Ch3EpupA.mjs → registry.server-CMrdUGGv.mjs} +338 -289
- package/dist/client/rendering/client.mjs +39 -39
- package/dist/client/rendering/islandDelivery.flight.mjs +99 -0
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-C3LabQ1O.mjs → richText-coerce-BTurYEao.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CQGlxId8.mjs → routeIslandApiConfig-DFjRKvzM.mjs} +1 -1
- package/dist/client/{runtimeResponse-Dg4XFsuM.mjs → runtimeResponse-BGU8sMZY.mjs} +1 -1
- package/dist/client/runtimeResponse-D2LT--Gj.mjs +3 -0
- package/dist/client/{shop-rRXplPGZ.mjs → shop-Ds47onRS.mjs} +3 -3
- package/dist/client/{shop-commerce-VDbVaKY-.mjs → shop-commerce-B3PyRHaN.mjs} +12 -12
- package/dist/client/{shop-commerce-store-DqdgJ8Zw.mjs → shop-commerce-store-D9CHihQv.mjs} +1 -1
- package/dist/client/{shop.client-DdwvMvaK.mjs → shop.client-RljK0qPB.mjs} +110 -31
- package/dist/client/{shop.interactive-C8OvFY06.mjs → shop.interactive-BH0xDlMF.mjs} +42 -533
- package/dist/client/{shopShared-BeuJiGPU.mjs → shopShared-BEfD0e4m.mjs} +12 -15
- package/dist/client/src-BozhJ43Z.mjs +3 -0
- package/dist/client/{src-1PJxc8KO.mjs → src-xrjaKaCj.mjs} +6 -8
- package/dist/client/{timetableModel-Cko9LRKy.mjs → timetableModel-BG7Ejxdr.mjs} +12 -12
- package/dist/client/{useAvailableSlots-M6QIEiWf.mjs → useAvailableSlots-GP8tnAVW.mjs} +3 -3
- package/dist/client/{useDiscountApply-BJSnyO0f.mjs → useDiscountApply-Cq07nTyG.mjs} +5 -3
- package/dist/client/{useDiscountCodeUi-D3XnOSCi.mjs → useDiscountCodeUi-CD82QX5i.mjs} +1 -1
- package/dist/client/{useEventPagination-PhTIoFVX.mjs → useEventPagination-spj7sGQP.mjs} +6 -6
- package/dist/client/{view-L_mkgtnk.mjs → view-aAP2WbCR.mjs} +2 -3
- package/dist/client/{view-448wvvEY.mjs → view-oToSpu1N.mjs} +7 -7
- package/dist/preview-next/client/{ArrangementLookControls-BpvnOGlN.mjs → ArrangementLookControls-CoWdilcI.mjs} +7 -7
- package/dist/preview-next/client/{LocationPickerEnvironment-CZQ4vkRe.mjs → LocationPickerEnvironment-CwxRbAs2.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-CP4w7T_0.mjs → MapLibreEditMap-CKjYUp_E.mjs} +2 -2
- package/dist/preview-next/client/{PreviewEditorSidebar-C0OtdWu_.mjs → PreviewEditorSidebar-BNCrO6PQ.mjs} +201 -151
- package/dist/preview-next/client/{PreviewEditorUI-Csc5vH5k.mjs → PreviewEditorUI-inVZkLCd.mjs} +6 -6
- package/dist/preview-next/client/{PreviewShell-BOLH_pm-.mjs → PreviewShell-CFQlAHTe.mjs} +10 -15
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CKodLReY.mjs → SdkPreviewModeRuntime-Dgl7ktO4.mjs} +12 -9
- package/dist/preview-next/client/{SiteChromeCustomizeButton-BeEZpeKn.mjs → SiteChromeCustomizeButton-DgDYHwkG.mjs} +1418 -598
- package/dist/preview-next/client/{lucide-react-DkZ8fO-G.mjs → lucide-react-DbC1o6_9.mjs} +11 -11
- package/dist/preview-next/client/{previewAssistantSlot-BBdN5kfY.mjs → previewAssistantSlot-DRDu7Ndv.mjs} +684 -930
- package/dist/preview-next/client/{previewChromeSurface-VZtGwPuH.mjs → previewChromeSurface-K6Q5uEMC.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-kiZkMcuR.mjs → sdk-runtime-AGypzhcO.mjs} +2 -2
- package/dist/preview-next/client/{src-DY8JCJdE.mjs → src-DzXUmsyK.mjs} +6 -8
- package/dist/preview-next/client/src-LUhVXBEQ.mjs +3 -0
- package/dist/preview-next/client/{useAutosaveStatus-BiIHEeE0.mjs → useAutosaveStatus-B2mn_l6c.mjs} +3 -3
- package/dist/preview-next/client/{useBlockCustomizeControls-BuFLIpmX.mjs → useBlockCustomizeControls-CBXHo6ph.mjs} +5 -5
- package/dist/preview-next/client/{useOpenBlockForSetup-DlxYgmh_.mjs → useOpenBlockForSetup-BpZnBznt.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +3 -4
- package/dist/preview-next/{route-contract-C0sCvCYL.mjs → route-contract-jc2Bug-h.mjs} +83 -0
- package/dist/server/{Block.shared-Dnhc0Wu5.mjs → Block.shared-BHgQjX16.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-NAQ_zsFu.mjs → ThemeScopeCore-Ck0dhZA6.mjs} +31 -5
- package/dist/server/{accessibleSurfaces-108nxyGc.mjs → accessibleSurfaces-D0q5tLSW.mjs} +56 -8
- package/dist/server/{bindings-DLoZYUxG.mjs → bindings-CAbTvrCZ.mjs} +1 -1
- package/dist/server/{booking-form.reserved-fields-BWRF7509.mjs → booking-form.reserved-fields-Cqp13TKc.mjs} +1 -0
- package/dist/server/{client-Bc8jI8zN.mjs → client-C-asG6Cf.mjs} +85 -2
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +1 -1
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{headerVariant-BwR9NV4b.mjs → headerVariant-8O5MvxIU.mjs} +2 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-D61gpqHB.mjs → loadContent-DKerbSnI.mjs} +4 -4
- package/dist/server/{loadPage-B4ZYpIcd.mjs → loadPage-XgtQR90Z.mjs} +2 -2
- package/dist/server/next.mjs +6 -6
- package/dist/server/{opaqueSurface-BawlEAd_.mjs → opaqueSurface-Yltv_u7r.mjs} +1 -1
- package/dist/server/{overrideResolution-CDReKy2P.mjs → overrideResolution-Z5pwH-kz.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-ByVTA7-4.mjs → pageRenderPlan-DQAo35og.mjs} +9 -8
- package/dist/server/{pageRuntimeSupport-Dzz_Dze6.mjs → pageRuntimeSupport-g-K-FCHa.mjs} +2 -2
- package/dist/server/{pageShared-Dk5Ku6hs.mjs → pageShared-7mPhqqXX.mjs} +345 -289
- package/dist/server/{parseThemeForPersistence-pJPGfMrf.mjs → parseThemeForPersistence-BebSeE17.mjs} +1 -1
- package/dist/server/{prebuild-CW4M0WEZ.mjs → prebuild-C0m4KOT9.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Bvx0SiIM.mjs → prefetchBlockData-DcLKHfHG.mjs} +2 -2
- package/dist/server/{registry-Bh0Y25zH.mjs → registry-7_0_lUrh.mjs} +305 -844
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/islandDelivery.script.mjs +19 -0
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-CnHHst9r.mjs → resolveBlockData-q3WnpvyZ.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +2 -2
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{validation-D2bHWSxJ.mjs → validation-CSMS6XmP.mjs} +4 -4
- package/dist/server/{version-DkM1eAxG.mjs → version-DWeqmTXc.mjs} +1 -1
- package/dist/styles/index.css +15 -3
- package/package.json +10 -6
- package/dist/client/BlocksIslandsHydrator-DcwEaliO.mjs +0 -296
- package/dist/client/creditProducts-BOWi1QLp.mjs +0 -62
- package/dist/client/eventCombined-DoSi8p_l.mjs +0 -28
- package/dist/client/eventListing-CkiMjl0g.mjs +0 -29
- package/dist/client/reactMount-BGJVsHRb.mjs +0 -28
- package/dist/client/runtimeResponse-BP-L6exS.mjs +0 -3
- package/dist/client/src-CdRISvQp.mjs +0 -3
- package/dist/preview-next/client/src-BP8771hw.mjs +0 -3
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { c as unsafeAsMediaAssetId, d as parseUuidBrand, f as err, i as resolveManagedMediaReference, l as unsafeAsStorageBucketName, o as parseCanonicalMediaIdentifier, p as ok$1, u as unsafeAsStoragePath } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
3
|
-
import { $
|
|
4
|
-
import { C as omitZeroAmountFutureRows, E as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { $t as toBookingTimeZone, B as blockBookingPaymentTermsSchema, Bt as resolveBookingDisplayContext, Ft as formatDateTimeRange, G as beforeBookingQuestionsPresentationSchema, Gt as compareLocalScheduleDates, Ht as toScheduledBookingDateTime, It as formatTime$2, Jt as getLocalScheduleDate, K as bookingQuestionsAnswerValueSchema, Lt as formatTimeRange, Mt as formatDate$2, N as isArrangementMode, Nt as formatDateRange, O as arrangementModes, Pt as formatDateTime, Qt as resolveBookingTimeZoneId, V as blockBookingConsentSchema, W as toBookingRequirementConsentField, X as externalMediaSchema, Xt as parseLocalScheduleTime, Y as assetMediaSchema, Z as imageMediaSchema, Zt as resolveBookingBusinessTimeZone, an as toNonNegativeCents, at as normalizeCurrencyCode, en as parseUtcIsoDateTimeString, et as runtimeMediaSchema, lt as eventCalendarListLayoutValues, n as blockSiteTermsSchema, nn as validateBookingPaymentOptionKinds, on as formatCurrencyAmount, ot as eventCalendarDefaultViewValues, qt as getBookingLocalDateKey, st as eventCalendarDisplayModeValues, tn as toUtcIsoDateTimeString, tt as videoMediaSchema, zt as inferSiteDateLocale } from "./noop-B_f7RqLD.mjs";
|
|
4
|
+
import { A as resolveFlexibleBalanceInitialPaymentCents, C as clampConfiguredAmount, D as omitZeroAmountFutureRows, E as getBookingInstalmentPlanIntervalCount, M as assertNever$2, O as splitAmountWithRemainderInFirst, S as addIntervalPreservingMonthAnchor, T as getBookingInstalmentDepositRefundability, d as initialBookingQuestionsAnswerMode, f as initialBookingQuestionsValues, h as assertNever$3, k as resolveFlexibleBalanceDueAt, n as getCreditProductCreditUnit, p as resolveBookingQuestionsAnswerMode, s as buildBookingQuestionsSubmission, t as deriveCreditProductLabels } from "./creditProducts-CMOmhWm2.mjs";
|
|
5
|
+
import { A as defineButtonStyleRecipe, B as mergeStyles, E as ELEVATION_OFFSET, G as resolveSurfaceForeground, L as backgroundColorStyle, M as mapButtonVisualAppearances, St as preparePaletteColourIndex, U as textColorStyle, V as rgbColorValue, _t as resolveOpaqueSurfaceHex, a as resolveSurface, at as SURFACE_FOREGROUND_CSS_VARS, bt as requirePaletteColorsFromEntries, d as scrimTone, ft as surfaceInkDeclarations, gt as resolveConcreteColorHex, h as BUTTON_CONTRAST_POLICY, ht as ownedThemeSnapshot, i as requireResolvedSurface, j as mapButtonRoleAppearances, k as PUBLIC_BUTTON_ROLES, mt as freezeOwnedThemeValue, ot as SURFACE_INK_CSS_VARS, p as contextualButtonSurfaceResetStyles, s as surfaceButtonRequest, st as surfaceForegroundDeclarations, t as parseResolvedSurface, tt as expandPalette, u as gradientScrimSamples, ut as surfaceForegroundValue, vt as paletteValueKey, wt as featuresFromHex, yt as paletteValueKeySchema } from "./accessibleSurfaces-_7jkuinl.mjs";
|
|
6
|
+
import { l as buildCalendarViewport$1, n as calendarLinks, r as groupItemsByDate } from "./src-xrjaKaCj.mjs";
|
|
7
7
|
import { D as parseThemeColorToken, E as parseColorTokenParts, O as themeColorTokenSchema, T as paletteModeSchema, c as buttonEffectApplicationSchema, f as buttonVisualStatesSchema, g as VARIANT_ROLES, l as buttonPressOffsetSchema, s as unsafeAsOpaqueButtonColourToken, w as paletteColorsSchema, y as hexColorSchema } from "./types-5fOsPIpL.mjs";
|
|
8
8
|
import { S as clsx } from "./ThemedButton-BdnEwA38.mjs";
|
|
9
9
|
import { a as getSupabaseUrl, i as getSiteId, n as getCurrentResolveImageUrlContext, r as getMediaAssetIndex } from "./mediaContext-Fusweriw.mjs";
|
|
10
10
|
import React from "react";
|
|
11
|
-
import { z } from "zod";
|
|
12
11
|
import { Fragment, jsx } from "react/jsx-runtime";
|
|
12
|
+
import { z } from "zod";
|
|
13
13
|
//#region ../core/src/branded/events.ts
|
|
14
14
|
const unsafeAsEventOfferingId = (id) => id;
|
|
15
15
|
const unsafeAsEventSeriesId = (id) => id;
|
|
@@ -228,11 +228,13 @@ function createEventSeriesPageSurfaceSubject(eventSeriesId, bookingScope, eventD
|
|
|
228
228
|
}
|
|
229
229
|
function createEventOfferingPageSurfaceSubject(eventOfferingId, input) {
|
|
230
230
|
const mode = input.eventDestinationMode ? { eventDestinationMode: input.eventDestinationMode } : {};
|
|
231
|
+
const title = input.title?.trim() ?? "";
|
|
231
232
|
const identity = {
|
|
232
233
|
kind: "eventOffering",
|
|
233
234
|
eventOfferingId,
|
|
234
235
|
catalogueEventSeriesIds: input.catalogueEventSeriesIds,
|
|
235
|
-
...input.detailAdmission ? { detailAdmission: input.detailAdmission } : {}
|
|
236
|
+
...input.detailAdmission ? { detailAdmission: input.detailAdmission } : {},
|
|
237
|
+
...title !== "" ? { title } : {}
|
|
236
238
|
};
|
|
237
239
|
return input.bookingScope === "whole_series" ? {
|
|
238
240
|
...identity,
|
|
@@ -298,6 +300,7 @@ function parseEventOfferingPageSurfaceSubject(value) {
|
|
|
298
300
|
return ok$1(createEventOfferingPageSurfaceSubject(eventOfferingId.value, {
|
|
299
301
|
catalogueEventSeriesIds: parsedCatalogueIds.value,
|
|
300
302
|
...value.detailAdmission === "own-page" ? { detailAdmission: "own-page" } : {},
|
|
303
|
+
...typeof value.title === "string" ? { title: value.title } : {},
|
|
301
304
|
bookingScope: value.bookingScope,
|
|
302
305
|
...eventDestinationMode ? { eventDestinationMode } : {}
|
|
303
306
|
}));
|
|
@@ -1390,7 +1393,8 @@ const bookingPageLookIdValues = [
|
|
|
1390
1393
|
"site-style:lantern",
|
|
1391
1394
|
"site-style:poster",
|
|
1392
1395
|
"site-style:loom",
|
|
1393
|
-
"site-style:brook"
|
|
1396
|
+
"site-style:brook",
|
|
1397
|
+
"site-style:poise"
|
|
1394
1398
|
];
|
|
1395
1399
|
function asFooterLookId(value) {
|
|
1396
1400
|
return value;
|
|
@@ -7126,6 +7130,10 @@ const bookingLookGroundLimits = {
|
|
|
7126
7130
|
"site-style:brook": {
|
|
7127
7131
|
lightness: [.88, 1],
|
|
7128
7132
|
maxChroma: .04
|
|
7133
|
+
},
|
|
7134
|
+
"site-style:poise": {
|
|
7135
|
+
lightness: [.88, 1],
|
|
7136
|
+
maxChroma: .04
|
|
7129
7137
|
}
|
|
7130
7138
|
};
|
|
7131
7139
|
const contrast = (against, ratio = 3) => ({
|
|
@@ -7789,6 +7797,115 @@ const brookButtons = {
|
|
|
7789
7797
|
roles: ["primary"],
|
|
7790
7798
|
name: "the buttons"
|
|
7791
7799
|
};
|
|
7800
|
+
const brook = {
|
|
7801
|
+
buttonSlot: brookButtons,
|
|
7802
|
+
roles: {
|
|
7803
|
+
...lightGrounds(brookLimits, {
|
|
7804
|
+
page: .014,
|
|
7805
|
+
band: .03,
|
|
7806
|
+
bandL: [.9, .945]
|
|
7807
|
+
}),
|
|
7808
|
+
surfaceAlt: {
|
|
7809
|
+
l: [.9, .945],
|
|
7810
|
+
c: [0, .03],
|
|
7811
|
+
chromaShare: .3,
|
|
7812
|
+
target: .92,
|
|
7813
|
+
name: "the band",
|
|
7814
|
+
needs: [distinct("background", .03)]
|
|
7815
|
+
},
|
|
7816
|
+
muted: {
|
|
7817
|
+
l: [.93, .965],
|
|
7818
|
+
c: [0, .03],
|
|
7819
|
+
chromaShare: .25,
|
|
7820
|
+
target: .948,
|
|
7821
|
+
name: "the quieter panels",
|
|
7822
|
+
needs: [distinct("background", .015)]
|
|
7823
|
+
},
|
|
7824
|
+
primary: {
|
|
7825
|
+
l: [.3, .62],
|
|
7826
|
+
c: [.03, .15],
|
|
7827
|
+
target: .5,
|
|
7828
|
+
name: "the buttons",
|
|
7829
|
+
mention: true,
|
|
7830
|
+
needs: buttonSeparation(lightReading)
|
|
7831
|
+
},
|
|
7832
|
+
secondary: {
|
|
7833
|
+
l: [.3, .55],
|
|
7834
|
+
c: [.02, .09],
|
|
7835
|
+
target: .45,
|
|
7836
|
+
name: "the deep band",
|
|
7837
|
+
needs: [label, distinct("primary", .08)]
|
|
7838
|
+
},
|
|
7839
|
+
accent: {
|
|
7840
|
+
l: [.38, .66],
|
|
7841
|
+
c: [.05, .15],
|
|
7842
|
+
target: .54,
|
|
7843
|
+
name: "the squiggles",
|
|
7844
|
+
mention: true,
|
|
7845
|
+
analogous: true,
|
|
7846
|
+
needs: [
|
|
7847
|
+
contrast("background"),
|
|
7848
|
+
contrast("surface"),
|
|
7849
|
+
contrast("surfaceAlt")
|
|
7850
|
+
]
|
|
7851
|
+
}
|
|
7852
|
+
},
|
|
7853
|
+
slots: [
|
|
7854
|
+
{
|
|
7855
|
+
roles: ["surfaceAlt"],
|
|
7856
|
+
name: "the band"
|
|
7857
|
+
},
|
|
7858
|
+
brookButtons,
|
|
7859
|
+
{
|
|
7860
|
+
roles: ["accent"],
|
|
7861
|
+
name: "the squiggles"
|
|
7862
|
+
}
|
|
7863
|
+
],
|
|
7864
|
+
order: [
|
|
7865
|
+
"background",
|
|
7866
|
+
"surface",
|
|
7867
|
+
"surfaceAlt",
|
|
7868
|
+
"muted",
|
|
7869
|
+
"border",
|
|
7870
|
+
"primary",
|
|
7871
|
+
"accent",
|
|
7872
|
+
"secondary"
|
|
7873
|
+
],
|
|
7874
|
+
neutrals: {
|
|
7875
|
+
dark: [.26, .02],
|
|
7876
|
+
light: [.985, .01]
|
|
7877
|
+
},
|
|
7878
|
+
reading: lightReading,
|
|
7879
|
+
groundLimit: brookLimits.maxChroma,
|
|
7880
|
+
contrast: [{
|
|
7881
|
+
label: "the complement on the squiggles",
|
|
7882
|
+
hue: "complement",
|
|
7883
|
+
second: "accent",
|
|
7884
|
+
lead: "primary",
|
|
7885
|
+
l: .54,
|
|
7886
|
+
c: [.08, .13]
|
|
7887
|
+
}, {
|
|
7888
|
+
label: "a warm colour on the buttons",
|
|
7889
|
+
hue: "split-warm",
|
|
7890
|
+
second: "primary",
|
|
7891
|
+
lead: "accent",
|
|
7892
|
+
l: .5,
|
|
7893
|
+
c: [.08, .13]
|
|
7894
|
+
}]
|
|
7895
|
+
};
|
|
7896
|
+
/**
|
|
7897
|
+
* Poise: the brand colour is the one loud area, filling the opening and the
|
|
7898
|
+
* team section, and it fills the buttons everywhere else (on the brand field
|
|
7899
|
+
* they turn ink). The rest is a quiet page, white cards and a band on
|
|
7900
|
+
* surfaceAlt. The only other colour it draws is the small marks, in the
|
|
7901
|
+
* accent wherever that reaches 3:1, so a dark owner colour or a second colour
|
|
7902
|
+
* goes there. Secondary is never drawn.
|
|
7903
|
+
*/
|
|
7904
|
+
const poiseLimits = bookingLookGroundLimits["site-style:poise"];
|
|
7905
|
+
const poiseBrand = {
|
|
7906
|
+
roles: ["primary"],
|
|
7907
|
+
name: "the colour panels and buttons"
|
|
7908
|
+
};
|
|
7792
7909
|
/** Keyed by the offered looks, so a booking look without a colour spec doesn't compile. */
|
|
7793
7910
|
const bookingLookColourSpecs = {
|
|
7794
7911
|
"site-style:fulcrum": fulcrum,
|
|
@@ -7797,11 +7914,12 @@ const bookingLookColourSpecs = {
|
|
|
7797
7914
|
"site-style:lantern": lantern,
|
|
7798
7915
|
"site-style:poster": poster,
|
|
7799
7916
|
"site-style:loom": loom,
|
|
7800
|
-
"site-style:brook":
|
|
7801
|
-
|
|
7917
|
+
"site-style:brook": brook,
|
|
7918
|
+
"site-style:poise": {
|
|
7919
|
+
buttonSlot: poiseBrand,
|
|
7802
7920
|
roles: {
|
|
7803
|
-
...lightGrounds(
|
|
7804
|
-
page: .
|
|
7921
|
+
...lightGrounds(poiseLimits, {
|
|
7922
|
+
page: .01,
|
|
7805
7923
|
band: .03,
|
|
7806
7924
|
bandL: [.9, .945]
|
|
7807
7925
|
}),
|
|
@@ -7809,7 +7927,7 @@ const bookingLookColourSpecs = {
|
|
|
7809
7927
|
l: [.9, .945],
|
|
7810
7928
|
c: [0, .03],
|
|
7811
7929
|
chromaShare: .3,
|
|
7812
|
-
target: .
|
|
7930
|
+
target: .925,
|
|
7813
7931
|
name: "the band",
|
|
7814
7932
|
needs: [distinct("background", .03)]
|
|
7815
7933
|
},
|
|
@@ -7822,45 +7940,38 @@ const bookingLookColourSpecs = {
|
|
|
7822
7940
|
needs: [distinct("background", .015)]
|
|
7823
7941
|
},
|
|
7824
7942
|
primary: {
|
|
7825
|
-
l: [.
|
|
7826
|
-
c: [.03, .
|
|
7827
|
-
target: .
|
|
7828
|
-
name: "the buttons",
|
|
7943
|
+
l: [.66, .93],
|
|
7944
|
+
c: [.03, .2],
|
|
7945
|
+
target: .8,
|
|
7946
|
+
name: "the colour panels and buttons",
|
|
7829
7947
|
mention: true,
|
|
7830
7948
|
needs: buttonSeparation(lightReading)
|
|
7831
7949
|
},
|
|
7832
7950
|
secondary: {
|
|
7833
|
-
l: [.
|
|
7834
|
-
c: [.
|
|
7835
|
-
target: .
|
|
7836
|
-
name: "the
|
|
7837
|
-
needs: [label, distinct("primary", .08)]
|
|
7951
|
+
l: [.18, .4],
|
|
7952
|
+
c: [.01, .08],
|
|
7953
|
+
target: .28,
|
|
7954
|
+
name: "the quiet details"
|
|
7838
7955
|
},
|
|
7839
7956
|
accent: {
|
|
7840
|
-
l: [.
|
|
7841
|
-
c: [.05, .
|
|
7842
|
-
target: .
|
|
7843
|
-
name: "the
|
|
7957
|
+
l: [.2, .66],
|
|
7958
|
+
c: [.05, .17],
|
|
7959
|
+
target: .42,
|
|
7960
|
+
name: "the small marks",
|
|
7844
7961
|
mention: true,
|
|
7845
7962
|
analogous: true,
|
|
7846
7963
|
needs: [
|
|
7847
7964
|
contrast("background"),
|
|
7848
7965
|
contrast("surface"),
|
|
7849
|
-
contrast("surfaceAlt")
|
|
7966
|
+
contrast("surfaceAlt"),
|
|
7967
|
+
contrast("primary")
|
|
7850
7968
|
]
|
|
7851
7969
|
}
|
|
7852
7970
|
},
|
|
7853
|
-
slots: [
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
},
|
|
7858
|
-
brookButtons,
|
|
7859
|
-
{
|
|
7860
|
-
roles: ["accent"],
|
|
7861
|
-
name: "the squiggles"
|
|
7862
|
-
}
|
|
7863
|
-
],
|
|
7971
|
+
slots: [poiseBrand, {
|
|
7972
|
+
roles: ["accent"],
|
|
7973
|
+
name: "the small marks"
|
|
7974
|
+
}],
|
|
7864
7975
|
order: [
|
|
7865
7976
|
"background",
|
|
7866
7977
|
"surface",
|
|
@@ -7868,29 +7979,29 @@ const bookingLookColourSpecs = {
|
|
|
7868
7979
|
"muted",
|
|
7869
7980
|
"border",
|
|
7870
7981
|
"primary",
|
|
7871
|
-
"
|
|
7872
|
-
"
|
|
7982
|
+
"secondary",
|
|
7983
|
+
"accent"
|
|
7873
7984
|
],
|
|
7874
7985
|
neutrals: {
|
|
7875
|
-
dark: [.
|
|
7876
|
-
light: [.
|
|
7986
|
+
dark: [.22, .015],
|
|
7987
|
+
light: [.99, .006]
|
|
7877
7988
|
},
|
|
7878
7989
|
reading: lightReading,
|
|
7879
|
-
groundLimit:
|
|
7990
|
+
groundLimit: poiseLimits.maxChroma,
|
|
7880
7991
|
contrast: [{
|
|
7881
|
-
label: "the complement on the
|
|
7992
|
+
label: "the complement on the small marks",
|
|
7882
7993
|
hue: "complement",
|
|
7883
7994
|
second: "accent",
|
|
7884
7995
|
lead: "primary",
|
|
7885
|
-
l: .
|
|
7886
|
-
c: [.08, .
|
|
7996
|
+
l: .42,
|
|
7997
|
+
c: [.08, .14]
|
|
7887
7998
|
}, {
|
|
7888
|
-
label: "a warm colour on the
|
|
7999
|
+
label: "a warm colour on the small marks",
|
|
7889
8000
|
hue: "split-warm",
|
|
7890
|
-
second: "
|
|
7891
|
-
lead: "
|
|
7892
|
-
l: .
|
|
7893
|
-
c: [.08, .
|
|
8001
|
+
second: "accent",
|
|
8002
|
+
lead: "primary",
|
|
8003
|
+
l: .42,
|
|
8004
|
+
c: [.08, .14]
|
|
7894
8005
|
}]
|
|
7895
8006
|
}
|
|
7896
8007
|
};
|
|
@@ -15325,6 +15436,71 @@ const poiseNight = defineCuratedPalette({
|
|
|
15325
15436
|
}
|
|
15326
15437
|
]
|
|
15327
15438
|
});
|
|
15439
|
+
const poiseMono = defineCuratedPalette({
|
|
15440
|
+
authoringKey: "poise-mono",
|
|
15441
|
+
name: "Poise — Mono",
|
|
15442
|
+
description: "Black, white and light grey, with black buttons and a dark band for the footer.",
|
|
15443
|
+
tags: {
|
|
15444
|
+
tone: "bold",
|
|
15445
|
+
energy: "calm",
|
|
15446
|
+
era: "modern"
|
|
15447
|
+
},
|
|
15448
|
+
mode: "light",
|
|
15449
|
+
colors: [
|
|
15450
|
+
{
|
|
15451
|
+
name: "primary",
|
|
15452
|
+
hex: "#111111"
|
|
15453
|
+
},
|
|
15454
|
+
{
|
|
15455
|
+
name: "secondary",
|
|
15456
|
+
hex: "#3a3a3a"
|
|
15457
|
+
},
|
|
15458
|
+
{
|
|
15459
|
+
name: "accent",
|
|
15460
|
+
hex: "#5c5c5c"
|
|
15461
|
+
},
|
|
15462
|
+
{
|
|
15463
|
+
name: "success",
|
|
15464
|
+
hex: "#1e7a4c"
|
|
15465
|
+
},
|
|
15466
|
+
{
|
|
15467
|
+
name: "warning",
|
|
15468
|
+
hex: "#b06f10"
|
|
15469
|
+
},
|
|
15470
|
+
{
|
|
15471
|
+
name: "destructive",
|
|
15472
|
+
hex: "#c8352a"
|
|
15473
|
+
},
|
|
15474
|
+
{
|
|
15475
|
+
name: "background",
|
|
15476
|
+
hex: "#ffffff"
|
|
15477
|
+
},
|
|
15478
|
+
{
|
|
15479
|
+
name: "surface",
|
|
15480
|
+
hex: "#ffffff"
|
|
15481
|
+
},
|
|
15482
|
+
{
|
|
15483
|
+
name: "surfaceAlt",
|
|
15484
|
+
hex: "#f0f0f0"
|
|
15485
|
+
},
|
|
15486
|
+
{
|
|
15487
|
+
name: "muted",
|
|
15488
|
+
hex: "#575757"
|
|
15489
|
+
},
|
|
15490
|
+
{
|
|
15491
|
+
name: "text",
|
|
15492
|
+
hex: "#111111"
|
|
15493
|
+
},
|
|
15494
|
+
{
|
|
15495
|
+
name: "primaryForeground",
|
|
15496
|
+
hex: "#ffffff"
|
|
15497
|
+
},
|
|
15498
|
+
{
|
|
15499
|
+
name: "border",
|
|
15500
|
+
hex: "#d9d9d9"
|
|
15501
|
+
}
|
|
15502
|
+
]
|
|
15503
|
+
});
|
|
15328
15504
|
const havenBlush = defineCuratedPalette({
|
|
15329
15505
|
authoringKey: "haven-blush",
|
|
15330
15506
|
name: "Haven — Blush",
|
|
@@ -15769,6 +15945,10 @@ const styleSuggestedPalettes = [
|
|
|
15769
15945
|
...admitCuratedPaletteDefinition(poiseNight),
|
|
15770
15946
|
ownerStyleId: "site-style:poise"
|
|
15771
15947
|
},
|
|
15948
|
+
{
|
|
15949
|
+
...admitCuratedPaletteDefinition(poiseMono),
|
|
15950
|
+
ownerStyleId: "site-style:poise"
|
|
15951
|
+
},
|
|
15772
15952
|
{
|
|
15773
15953
|
...admitCuratedPaletteDefinition(havenBlush),
|
|
15774
15954
|
ownerStyleId: "site-style:haven"
|
|
@@ -15980,35 +16160,6 @@ const warmInsetAccordionSystem = {
|
|
|
15980
16160
|
},
|
|
15981
16161
|
content: { textColorToken: "neutral-700" }
|
|
15982
16162
|
};
|
|
15983
|
-
/**
|
|
15984
|
-
* Soft Earth's grounded look: boxless, plus/minus, heading-font questions on
|
|
15985
|
-
* a warm ground, with a quiet open recolour.
|
|
15986
|
-
*/
|
|
15987
|
-
const softEarthAccordionSystem = {
|
|
15988
|
-
background: {
|
|
15989
|
-
type: "solid",
|
|
15990
|
-
colorToken: "background"
|
|
15991
|
-
},
|
|
15992
|
-
spacing: "comfortable",
|
|
15993
|
-
corners: "square",
|
|
15994
|
-
border: null,
|
|
15995
|
-
shadow: null,
|
|
15996
|
-
icon: {
|
|
15997
|
-
style: "plus-minus",
|
|
15998
|
-
position: "right",
|
|
15999
|
-
size: "md",
|
|
16000
|
-
colorToken: "primary"
|
|
16001
|
-
},
|
|
16002
|
-
trigger: {
|
|
16003
|
-
textColorToken: "text",
|
|
16004
|
-
fontWeight: "medium",
|
|
16005
|
-
fontFamily: "heading",
|
|
16006
|
-
fontScale: "md"
|
|
16007
|
-
},
|
|
16008
|
-
hover: { textColorToken: "primary" },
|
|
16009
|
-
openState: { triggerColorToken: "primary" },
|
|
16010
|
-
content: { textColorToken: "neutral-700" }
|
|
16011
|
-
};
|
|
16012
16163
|
//#endregion
|
|
16013
16164
|
//#region ../theme-core/src/cards/siteStyleDefaults.ts
|
|
16014
16165
|
/**
|
|
@@ -16081,87 +16232,6 @@ const southWestCardSystem = { variants: [{
|
|
|
16081
16232
|
bottomRight: "square"
|
|
16082
16233
|
}
|
|
16083
16234
|
}] };
|
|
16084
|
-
const clarityZenCardSystem = { variants: [{
|
|
16085
|
-
id: "default",
|
|
16086
|
-
name: "Default",
|
|
16087
|
-
enabled: true,
|
|
16088
|
-
priority: 1,
|
|
16089
|
-
role: "default",
|
|
16090
|
-
background: {
|
|
16091
|
-
type: "solid",
|
|
16092
|
-
colorToken: "surface"
|
|
16093
|
-
},
|
|
16094
|
-
foregroundToken: "text",
|
|
16095
|
-
spacing: "comfortable",
|
|
16096
|
-
corners: "rounded",
|
|
16097
|
-
shadow: {
|
|
16098
|
-
elevation: "low",
|
|
16099
|
-
softness: "soft",
|
|
16100
|
-
position: "bottom"
|
|
16101
|
-
}
|
|
16102
|
-
}, {
|
|
16103
|
-
id: "alternative",
|
|
16104
|
-
name: "Statement",
|
|
16105
|
-
enabled: true,
|
|
16106
|
-
priority: 2,
|
|
16107
|
-
role: "alternative",
|
|
16108
|
-
background: {
|
|
16109
|
-
type: "solid",
|
|
16110
|
-
colorToken: "surfaceAlt"
|
|
16111
|
-
},
|
|
16112
|
-
foregroundToken: "text",
|
|
16113
|
-
spacing: "comfortable",
|
|
16114
|
-
corners: "rounded",
|
|
16115
|
-
shadow: {
|
|
16116
|
-
elevation: "medium",
|
|
16117
|
-
softness: "soft",
|
|
16118
|
-
position: "bottom"
|
|
16119
|
-
}
|
|
16120
|
-
}] };
|
|
16121
|
-
/**
|
|
16122
|
-
* Original Joy: warm, flat, generously rounded cards on the dark clay ground.
|
|
16123
|
-
* `default` is a quiet brown surface card with cream text; `alternative` is a
|
|
16124
|
-
* burnt-orange statement card for sections that should pop. Both flat (the
|
|
16125
|
-
* look's depth comes from colour, not shadow), matching the bold editorial
|
|
16126
|
-
* feel. Shared by event and testimonial cards.
|
|
16127
|
-
*/
|
|
16128
|
-
const originalJoyCardSystem = { variants: [{
|
|
16129
|
-
id: "default",
|
|
16130
|
-
name: "Default",
|
|
16131
|
-
enabled: true,
|
|
16132
|
-
priority: 1,
|
|
16133
|
-
role: "default",
|
|
16134
|
-
background: {
|
|
16135
|
-
type: "solid",
|
|
16136
|
-
colorToken: "surface"
|
|
16137
|
-
},
|
|
16138
|
-
foregroundToken: "text",
|
|
16139
|
-
spacing: "comfortable",
|
|
16140
|
-
corners: "rounded",
|
|
16141
|
-
shadow: {
|
|
16142
|
-
elevation: "none",
|
|
16143
|
-
softness: null,
|
|
16144
|
-
position: "bottom"
|
|
16145
|
-
}
|
|
16146
|
-
}, {
|
|
16147
|
-
id: "alternative",
|
|
16148
|
-
name: "Statement",
|
|
16149
|
-
enabled: true,
|
|
16150
|
-
priority: 2,
|
|
16151
|
-
role: "alternative",
|
|
16152
|
-
background: {
|
|
16153
|
-
type: "solid",
|
|
16154
|
-
colorToken: "primary"
|
|
16155
|
-
},
|
|
16156
|
-
foregroundToken: "primaryForeground",
|
|
16157
|
-
spacing: "comfortable",
|
|
16158
|
-
corners: "rounded",
|
|
16159
|
-
shadow: {
|
|
16160
|
-
elevation: "none",
|
|
16161
|
-
softness: null,
|
|
16162
|
-
position: "bottom"
|
|
16163
|
-
}
|
|
16164
|
-
}] };
|
|
16165
16235
|
//#endregion
|
|
16166
16236
|
//#region ../theme-core/src/site-styles/testimonialQuotePresets.ts
|
|
16167
16237
|
/**
|
|
@@ -16470,52 +16540,10 @@ const folioTypography = {
|
|
|
16470
16540
|
}
|
|
16471
16541
|
}
|
|
16472
16542
|
};
|
|
16473
|
-
const
|
|
16543
|
+
const boldDisplayTypography = {
|
|
16474
16544
|
body: {
|
|
16475
|
-
family: "
|
|
16476
|
-
size: "
|
|
16477
|
-
weight: "regular",
|
|
16478
|
-
lineHeight: "relaxed",
|
|
16479
|
-
letterSpacing: "normal"
|
|
16480
|
-
},
|
|
16481
|
-
headings: {
|
|
16482
|
-
default: {
|
|
16483
|
-
family: "Marcellus, Georgia, serif",
|
|
16484
|
-
weight: "regular",
|
|
16485
|
-
lineHeight: "normal",
|
|
16486
|
-
letterSpacing: "normal",
|
|
16487
|
-
colorToken: "primary",
|
|
16488
|
-
italic: null,
|
|
16489
|
-
case: null
|
|
16490
|
-
},
|
|
16491
|
-
h1: {
|
|
16492
|
-
size: "2xl",
|
|
16493
|
-
weight: "regular",
|
|
16494
|
-
lineHeight: "normal",
|
|
16495
|
-
letterSpacing: "normal",
|
|
16496
|
-
italic: null
|
|
16497
|
-
},
|
|
16498
|
-
h2: {
|
|
16499
|
-
size: "xl",
|
|
16500
|
-
weight: "regular",
|
|
16501
|
-
lineHeight: "normal",
|
|
16502
|
-
letterSpacing: "normal",
|
|
16503
|
-
italic: null
|
|
16504
|
-
},
|
|
16505
|
-
h3: {
|
|
16506
|
-
size: "md",
|
|
16507
|
-
weight: "regular",
|
|
16508
|
-
lineHeight: "relaxed",
|
|
16509
|
-
letterSpacing: "normal",
|
|
16510
|
-
italic: null
|
|
16511
|
-
}
|
|
16512
|
-
},
|
|
16513
|
-
scale: "spacious"
|
|
16514
|
-
};
|
|
16515
|
-
const boldDisplayTypography = {
|
|
16516
|
-
body: {
|
|
16517
|
-
family: "Manrope, system-ui, sans-serif",
|
|
16518
|
-
size: "lg",
|
|
16545
|
+
family: "Manrope, system-ui, sans-serif",
|
|
16546
|
+
size: "lg",
|
|
16519
16547
|
weight: "regular",
|
|
16520
16548
|
lineHeight: "relaxed",
|
|
16521
16549
|
letterSpacing: "normal"
|
|
@@ -16554,47 +16582,6 @@ const boldDisplayTypography = {
|
|
|
16554
16582
|
},
|
|
16555
16583
|
scale: "balanced"
|
|
16556
16584
|
};
|
|
16557
|
-
const originalJoyTypography = {
|
|
16558
|
-
body: {
|
|
16559
|
-
family: "DM Sans, system-ui, sans-serif",
|
|
16560
|
-
size: "md",
|
|
16561
|
-
weight: "regular",
|
|
16562
|
-
lineHeight: "relaxed",
|
|
16563
|
-
letterSpacing: "normal"
|
|
16564
|
-
},
|
|
16565
|
-
headings: {
|
|
16566
|
-
default: {
|
|
16567
|
-
family: "Lobster, cursive",
|
|
16568
|
-
weight: "regular",
|
|
16569
|
-
lineHeight: "normal",
|
|
16570
|
-
letterSpacing: "normal",
|
|
16571
|
-
italic: null,
|
|
16572
|
-
case: null
|
|
16573
|
-
},
|
|
16574
|
-
h1: {
|
|
16575
|
-
size: "2xl",
|
|
16576
|
-
weight: "regular",
|
|
16577
|
-
lineHeight: "normal",
|
|
16578
|
-
letterSpacing: "normal",
|
|
16579
|
-
italic: null
|
|
16580
|
-
},
|
|
16581
|
-
h2: {
|
|
16582
|
-
size: "xl",
|
|
16583
|
-
weight: "regular",
|
|
16584
|
-
lineHeight: "normal",
|
|
16585
|
-
letterSpacing: "normal",
|
|
16586
|
-
italic: null
|
|
16587
|
-
},
|
|
16588
|
-
h3: {
|
|
16589
|
-
size: "lg",
|
|
16590
|
-
weight: "regular",
|
|
16591
|
-
lineHeight: "normal",
|
|
16592
|
-
letterSpacing: "normal",
|
|
16593
|
-
italic: null
|
|
16594
|
-
}
|
|
16595
|
-
},
|
|
16596
|
-
scale: "balanced"
|
|
16597
|
-
};
|
|
16598
16585
|
const fulcrumTypography = {
|
|
16599
16586
|
body: {
|
|
16600
16587
|
family: "IBM Plex Sans, system-ui, -apple-system, sans-serif",
|
|
@@ -16769,23 +16756,6 @@ const measureTypography = {
|
|
|
16769
16756
|
},
|
|
16770
16757
|
scale: "compact"
|
|
16771
16758
|
};
|
|
16772
|
-
const kirtanOrnateHeroTypography = {
|
|
16773
|
-
headlineSize: "6xl",
|
|
16774
|
-
headlineLineHeight: "normal",
|
|
16775
|
-
subheadlineSize: "xl",
|
|
16776
|
-
subheadlineLineHeight: "relaxed",
|
|
16777
|
-
microHeadlineSize: "5xl",
|
|
16778
|
-
microHeadlineLineHeight: "normal",
|
|
16779
|
-
microSubheadlineSize: "lg",
|
|
16780
|
-
microSubheadlineLineHeight: "relaxed",
|
|
16781
|
-
responsive: {
|
|
16782
|
-
tablet: { headlineSize: "5xl" },
|
|
16783
|
-
mobile: {
|
|
16784
|
-
headlineSize: "4xl",
|
|
16785
|
-
subheadlineSize: "lg"
|
|
16786
|
-
}
|
|
16787
|
-
}
|
|
16788
|
-
};
|
|
16789
16759
|
const boldDisplayHeroTypography = {
|
|
16790
16760
|
headlineSize: "6xl",
|
|
16791
16761
|
headlineLineHeight: "tight",
|
|
@@ -16803,23 +16773,6 @@ const boldDisplayHeroTypography = {
|
|
|
16803
16773
|
}
|
|
16804
16774
|
}
|
|
16805
16775
|
};
|
|
16806
|
-
const originalJoyHeroTypography = {
|
|
16807
|
-
headlineSize: "6xl",
|
|
16808
|
-
headlineLineHeight: "tight",
|
|
16809
|
-
subheadlineSize: "xl",
|
|
16810
|
-
subheadlineLineHeight: "normal",
|
|
16811
|
-
microHeadlineSize: "6xl",
|
|
16812
|
-
microHeadlineLineHeight: "tight",
|
|
16813
|
-
microSubheadlineSize: "lg",
|
|
16814
|
-
microSubheadlineLineHeight: "normal",
|
|
16815
|
-
responsive: {
|
|
16816
|
-
tablet: { headlineSize: "5xl" },
|
|
16817
|
-
mobile: {
|
|
16818
|
-
headlineSize: "4xl",
|
|
16819
|
-
subheadlineSize: "lg"
|
|
16820
|
-
}
|
|
16821
|
-
}
|
|
16822
|
-
};
|
|
16823
16776
|
const groundedSerifHeroTypography = {
|
|
16824
16777
|
headlineSize: "5xl",
|
|
16825
16778
|
headlineLineHeight: "normal",
|
|
@@ -17056,6 +17009,21 @@ const brookFontPairings = [
|
|
|
17056
17009
|
}
|
|
17057
17010
|
}
|
|
17058
17011
|
];
|
|
17012
|
+
const poiseFontPairings = [{
|
|
17013
|
+
id: "poise-schibsted",
|
|
17014
|
+
heading: poiseTypography.headings.default.family,
|
|
17015
|
+
body: poiseTypography.body.family
|
|
17016
|
+
}, {
|
|
17017
|
+
id: "poise-anton",
|
|
17018
|
+
heading: "Anton, \"Arial Narrow\", sans-serif",
|
|
17019
|
+
body: "Inter, system-ui, sans-serif",
|
|
17020
|
+
headingTreatment: {
|
|
17021
|
+
weight: "regular",
|
|
17022
|
+
letterSpacing: "normal",
|
|
17023
|
+
lineHeight: "tight",
|
|
17024
|
+
case: "uppercase"
|
|
17025
|
+
}
|
|
17026
|
+
}];
|
|
17059
17027
|
const fulcrumFontPairings = [{
|
|
17060
17028
|
id: "fulcrum-source",
|
|
17061
17029
|
heading: "\"Source Serif 4\", Georgia, serif",
|
|
@@ -17120,19 +17088,6 @@ const loomFontPairings = [{
|
|
|
17120
17088
|
}];
|
|
17121
17089
|
//#endregion
|
|
17122
17090
|
//#region ../theme-core/src/site-styles/runtimeCompiler.ts
|
|
17123
|
-
function defineSectionForegroundRuntimeTokens(input) {
|
|
17124
|
-
return {
|
|
17125
|
-
textColor: requireThemeColorToken(input.textColor),
|
|
17126
|
-
headingColor: requireThemeColorToken(input.headingColor),
|
|
17127
|
-
linkColor: requireThemeColorToken(input.linkColor),
|
|
17128
|
-
supportingColor: requireThemeColorToken(input.supportingColor)
|
|
17129
|
-
};
|
|
17130
|
-
}
|
|
17131
|
-
function requireThemeColorToken(value) {
|
|
17132
|
-
const token = parseThemeColorToken(value);
|
|
17133
|
-
if (!token) throw new Error(`Invalid section foreground Theme color token: ${String(value)}`);
|
|
17134
|
-
return token;
|
|
17135
|
-
}
|
|
17136
17091
|
const compiledRuntimeStyleFieldNames = [
|
|
17137
17092
|
"_frameStyles",
|
|
17138
17093
|
"_sectionStyles",
|
|
@@ -17144,51 +17099,10 @@ const compiledRuntimeStyleFieldNames = [
|
|
|
17144
17099
|
"blockLook",
|
|
17145
17100
|
"blockComposition"
|
|
17146
17101
|
];
|
|
17147
|
-
function defineDesignRuntimeRules(rules) {
|
|
17148
|
-
return rules;
|
|
17149
|
-
}
|
|
17150
17102
|
function defineComponentRuntimeRules(rules) {
|
|
17151
17103
|
return rules;
|
|
17152
17104
|
}
|
|
17153
|
-
|
|
17154
|
-
* Default design rules translate semantic page-level choices into the current
|
|
17155
|
-
* runtime's section background vocabulary.
|
|
17156
|
-
*/
|
|
17157
|
-
const defaultDesignRuntimeRules = defineDesignRuntimeRules({
|
|
17158
|
-
sectionSurfaces: {
|
|
17159
|
-
base: {},
|
|
17160
|
-
"muted-band": { background: {
|
|
17161
|
-
type: "color",
|
|
17162
|
-
color: "muted"
|
|
17163
|
-
} },
|
|
17164
|
-
"accent-band": { background: {
|
|
17165
|
-
type: "color",
|
|
17166
|
-
color: "accent"
|
|
17167
|
-
} },
|
|
17168
|
-
"brand-depth-band": { background: {
|
|
17169
|
-
type: "color",
|
|
17170
|
-
color: "primary-800"
|
|
17171
|
-
} },
|
|
17172
|
-
"hero-image": { background: {
|
|
17173
|
-
type: "image",
|
|
17174
|
-
opacity: 1,
|
|
17175
|
-
position: "center center",
|
|
17176
|
-
...uniformSectionForeground("text")
|
|
17177
|
-
} }
|
|
17178
|
-
},
|
|
17179
|
-
heroLegibility: {
|
|
17180
|
-
"scrim-gradient": {
|
|
17181
|
-
type: "gradient",
|
|
17182
|
-
gradient: "linear-gradient(180deg, rgba(255,255,255,0.38) 0%, rgba(244,241,234,0.62) 90%)",
|
|
17183
|
-
opacity: 1
|
|
17184
|
-
},
|
|
17185
|
-
"solid-panel": {
|
|
17186
|
-
type: "color",
|
|
17187
|
-
color: "surface",
|
|
17188
|
-
opacity: .88
|
|
17189
|
-
}
|
|
17190
|
-
}
|
|
17191
|
-
});
|
|
17105
|
+
({ ...uniformSectionForeground("text") });
|
|
17192
17106
|
/**
|
|
17193
17107
|
* Default component rules translate frame and item-surface semantics into the
|
|
17194
17108
|
* current block override fields consumed by legacy renderers.
|
|
@@ -17243,8 +17157,6 @@ function uniformSectionForeground(token) {
|
|
|
17243
17157
|
}
|
|
17244
17158
|
//#endregion
|
|
17245
17159
|
//#region ../theme-core/src/site-styles/curatedSiteStyles.ts
|
|
17246
|
-
const SOFT_EARTH_SITE_STYLE_ID_VALUE = "site-style:soft-earth";
|
|
17247
|
-
asSiteStyleId(SOFT_EARTH_SITE_STYLE_ID_VALUE);
|
|
17248
17160
|
/** Keyed by the offered looks, so adding a look without its hero Look doesn't compile. */
|
|
17249
17161
|
const bookingPageNoPhotoHeroLookIds = {
|
|
17250
17162
|
"site-style:fulcrum": "hero-photo-beside-text",
|
|
@@ -17253,7 +17165,8 @@ const bookingPageNoPhotoHeroLookIds = {
|
|
|
17253
17165
|
"site-style:lantern": "hero-framed-title",
|
|
17254
17166
|
"site-style:poster": "hero-page-head",
|
|
17255
17167
|
"site-style:loom": "hero-page-head",
|
|
17256
|
-
"site-style:brook": "hero-page-head"
|
|
17168
|
+
"site-style:brook": "hero-page-head",
|
|
17169
|
+
"site-style:poise": "hero-page-head"
|
|
17257
17170
|
};
|
|
17258
17171
|
function bookingPageOfferingFor(siteStyleId) {
|
|
17259
17172
|
const lookId = bookingPageLookIdValues.find((id) => id === siteStyleId);
|
|
@@ -17317,50 +17230,6 @@ function componentRuntimeRulesForTokenRecipes(recipes) {
|
|
|
17317
17230
|
flushFrames: defaultComponentRuntimeRules.flushFrames
|
|
17318
17231
|
});
|
|
17319
17232
|
}
|
|
17320
|
-
const kirtanOrnateDesignRuntimeRules = defineDesignRuntimeRules({
|
|
17321
|
-
...defaultDesignRuntimeRules,
|
|
17322
|
-
defaultEyebrowTreatment: "accent",
|
|
17323
|
-
sectionSurfaces: {
|
|
17324
|
-
...defaultDesignRuntimeRules.sectionSurfaces,
|
|
17325
|
-
"muted-band": {
|
|
17326
|
-
background: {
|
|
17327
|
-
type: "color",
|
|
17328
|
-
color: "muted"
|
|
17329
|
-
},
|
|
17330
|
-
foreground: defineSectionForegroundRuntimeTokens({
|
|
17331
|
-
textColor: "text",
|
|
17332
|
-
headingColor: "primary",
|
|
17333
|
-
linkColor: "primary",
|
|
17334
|
-
supportingColor: "text"
|
|
17335
|
-
})
|
|
17336
|
-
},
|
|
17337
|
-
"brand-depth-band": {
|
|
17338
|
-
background: {
|
|
17339
|
-
type: "color",
|
|
17340
|
-
color: "primary-800"
|
|
17341
|
-
},
|
|
17342
|
-
foreground: defineSectionForegroundRuntimeTokens({
|
|
17343
|
-
textColor: "text",
|
|
17344
|
-
headingColor: "primary",
|
|
17345
|
-
linkColor: "primary",
|
|
17346
|
-
supportingColor: "text"
|
|
17347
|
-
})
|
|
17348
|
-
},
|
|
17349
|
-
"hero-image": {
|
|
17350
|
-
background: {
|
|
17351
|
-
type: "image",
|
|
17352
|
-
opacity: 1,
|
|
17353
|
-
position: "center center"
|
|
17354
|
-
},
|
|
17355
|
-
foreground: defineSectionForegroundRuntimeTokens({
|
|
17356
|
-
textColor: "text",
|
|
17357
|
-
headingColor: "primary",
|
|
17358
|
-
linkColor: "primary",
|
|
17359
|
-
supportingColor: "text"
|
|
17360
|
-
})
|
|
17361
|
-
}
|
|
17362
|
-
}
|
|
17363
|
-
});
|
|
17364
17233
|
const expressiveUnderlineInputs = {
|
|
17365
17234
|
base: {
|
|
17366
17235
|
background: { type: "transparent" },
|
|
@@ -17398,46 +17267,6 @@ const expressiveUnderlineInputs = {
|
|
|
17398
17267
|
opacity: .6
|
|
17399
17268
|
}
|
|
17400
17269
|
};
|
|
17401
|
-
const ornateDarkInputs = {
|
|
17402
|
-
base: {
|
|
17403
|
-
background: {
|
|
17404
|
-
type: "solid",
|
|
17405
|
-
colorToken: "surfaceAlt"
|
|
17406
|
-
},
|
|
17407
|
-
textColorToken: "text",
|
|
17408
|
-
border: {
|
|
17409
|
-
widthClass: "border",
|
|
17410
|
-
colorToken: "primary/45",
|
|
17411
|
-
style: "all"
|
|
17412
|
-
},
|
|
17413
|
-
corners: "square",
|
|
17414
|
-
shadow: null,
|
|
17415
|
-
spacing: "medium",
|
|
17416
|
-
fontSize: "base"
|
|
17417
|
-
},
|
|
17418
|
-
label: {
|
|
17419
|
-
textColorToken: "primary",
|
|
17420
|
-
fontWeight: "semibold",
|
|
17421
|
-
fontSize: "xs",
|
|
17422
|
-
textTransform: "uppercase",
|
|
17423
|
-
letterSpacing: "wider",
|
|
17424
|
-
opacity: 1
|
|
17425
|
-
},
|
|
17426
|
-
focus: {
|
|
17427
|
-
ringColorToken: "primary/18",
|
|
17428
|
-
ringWidth: "2",
|
|
17429
|
-
borderColorToken: "primary/70"
|
|
17430
|
-
},
|
|
17431
|
-
error: {
|
|
17432
|
-
borderColorToken: "destructive",
|
|
17433
|
-
textColorToken: "destructive"
|
|
17434
|
-
},
|
|
17435
|
-
disabled: {
|
|
17436
|
-
backgroundColorToken: "muted",
|
|
17437
|
-
textColorToken: "mutedText",
|
|
17438
|
-
opacity: .6
|
|
17439
|
-
}
|
|
17440
|
-
};
|
|
17441
17270
|
function uniqueContentFrameKinds() {
|
|
17442
17271
|
const kinds = [...new Set(generatedDesignOptionCatalog.contentFrames.map((frame) => frame.kind))];
|
|
17443
17272
|
const firstKind = kinds[0];
|
|
@@ -17478,40 +17307,6 @@ const headerCurationBySiteStyle = {
|
|
|
17478
17307
|
"minimal"
|
|
17479
17308
|
]
|
|
17480
17309
|
}]),
|
|
17481
|
-
"site-style:clarity-zen-blue": defineHeaderCuration([{
|
|
17482
|
-
layoutId: "centered",
|
|
17483
|
-
styleIds: [
|
|
17484
|
-
"minimal",
|
|
17485
|
-
"serif-line",
|
|
17486
|
-
"fine-line",
|
|
17487
|
-
"soft-bar"
|
|
17488
|
-
]
|
|
17489
|
-
}, {
|
|
17490
|
-
layoutId: "classic",
|
|
17491
|
-
styleIds: [
|
|
17492
|
-
"minimal",
|
|
17493
|
-
"serif-line",
|
|
17494
|
-
"fine-line",
|
|
17495
|
-
"soft-bar"
|
|
17496
|
-
]
|
|
17497
|
-
}]),
|
|
17498
|
-
"site-style:soft-earth": defineHeaderCuration([{
|
|
17499
|
-
layoutId: "centered",
|
|
17500
|
-
styleIds: [
|
|
17501
|
-
"minimal",
|
|
17502
|
-
"serif-line",
|
|
17503
|
-
"fine-line",
|
|
17504
|
-
"soft-bar"
|
|
17505
|
-
]
|
|
17506
|
-
}, {
|
|
17507
|
-
layoutId: "classic",
|
|
17508
|
-
styleIds: [
|
|
17509
|
-
"minimal",
|
|
17510
|
-
"serif-line",
|
|
17511
|
-
"fine-line",
|
|
17512
|
-
"soft-bar"
|
|
17513
|
-
]
|
|
17514
|
-
}]),
|
|
17515
17310
|
"site-style:south-west-twerk-school": defineHeaderCuration([{
|
|
17516
17311
|
layoutId: "classic",
|
|
17517
17312
|
styleIds: [
|
|
@@ -17530,22 +17325,6 @@ const headerCurationBySiteStyle = {
|
|
|
17530
17325
|
"soft-shell"
|
|
17531
17326
|
]
|
|
17532
17327
|
}]),
|
|
17533
|
-
"site-style:kirtan-ornate": defineHeaderCuration([{
|
|
17534
|
-
layoutId: "floating",
|
|
17535
|
-
styleIds: [
|
|
17536
|
-
"minimal-surface",
|
|
17537
|
-
"split-glass",
|
|
17538
|
-
"glass"
|
|
17539
|
-
]
|
|
17540
|
-
}]),
|
|
17541
|
-
"site-style:original-joy": defineHeaderCuration([{
|
|
17542
|
-
layoutId: "floating",
|
|
17543
|
-
styleIds: [
|
|
17544
|
-
"minimal-surface",
|
|
17545
|
-
"split-glass",
|
|
17546
|
-
"glass"
|
|
17547
|
-
]
|
|
17548
|
-
}]),
|
|
17549
17328
|
"site-style:fulcrum": defineHeaderCuration([{
|
|
17550
17329
|
layoutId: "classic",
|
|
17551
17330
|
styleIds: [
|
|
@@ -17624,7 +17403,6 @@ function authoredSiteStyleOverrides(input) {
|
|
|
17624
17403
|
return {
|
|
17625
17404
|
...input.themeOverrides ? { themeOverrides: input.themeOverrides } : {},
|
|
17626
17405
|
...input.designRuntimeRules ? { designRuntimeRules: input.designRuntimeRules } : {},
|
|
17627
|
-
...input.defaultBlockVariants ? { defaultBlockVariants: input.defaultBlockVariants } : {},
|
|
17628
17406
|
...input.heroTypography ? { heroTypography: input.heroTypography } : {}
|
|
17629
17407
|
};
|
|
17630
17408
|
}
|
|
@@ -17656,7 +17434,6 @@ function defineCuratedSiteStyle(input) {
|
|
|
17656
17434
|
name: input.name,
|
|
17657
17435
|
description: input.description,
|
|
17658
17436
|
generationBrief: input.generationBrief,
|
|
17659
|
-
selectionKeywordRules: input.selectionKeywordRules ?? [],
|
|
17660
17437
|
offering: offering.kind === "public" ? withBookingPageOffering(offering, bookingPageOfferingFor(input.id)) : offering,
|
|
17661
17438
|
template: curatedStyleTemplate(input),
|
|
17662
17439
|
contentTemplateDefaults: input.contentTemplateDefaults,
|
|
@@ -21348,249 +21125,12 @@ const measureLooks = {
|
|
|
21348
21125
|
},
|
|
21349
21126
|
{
|
|
21350
21127
|
id: id("offerings-type-columns"),
|
|
21351
|
-
treatment: "type-columns",
|
|
21352
|
-
roleMap: measureRoles
|
|
21353
|
-
}
|
|
21354
|
-
]
|
|
21355
|
-
};
|
|
21356
|
-
const curatedSiteStyles = [
|
|
21357
|
-
defineCuratedSiteStyle({
|
|
21358
|
-
id: "site-style:clarity-zen-blue",
|
|
21359
|
-
name: "Clarity Zen",
|
|
21360
|
-
headingDecoration: {
|
|
21361
|
-
family: "short-center-rule",
|
|
21362
|
-
colorToken: "primary"
|
|
21363
|
-
},
|
|
21364
|
-
description: "Calm, editorial, and reassuring for therapy, counselling, and wellbeing support practices.",
|
|
21365
|
-
generationBrief: "Use a calm, soft palette, editorial serif headings, warm grounded copy, rounded cards, calm proof sections, and clear booking routes. Keep the tone compassionate and straightforward, with professional trust rather than hard-sell wellness language.",
|
|
21366
|
-
offering: {
|
|
21367
|
-
kind: "public",
|
|
21368
|
-
generation: {
|
|
21369
|
-
kind: "site_creator_keyword_heuristic",
|
|
21370
|
-
priority: 25
|
|
21371
|
-
}
|
|
21372
|
-
},
|
|
21373
|
-
selectionKeywordRules: [
|
|
21374
|
-
{
|
|
21375
|
-
kind: "substring",
|
|
21376
|
-
value: "psychotherap"
|
|
21377
|
-
},
|
|
21378
|
-
{
|
|
21379
|
-
kind: "phrase",
|
|
21380
|
-
value: "mental health"
|
|
21381
|
-
},
|
|
21382
|
-
{
|
|
21383
|
-
kind: "phrase",
|
|
21384
|
-
value: "talk therapy"
|
|
21385
|
-
},
|
|
21386
|
-
{
|
|
21387
|
-
kind: "phrase",
|
|
21388
|
-
value: "therapy and wellbeing"
|
|
21389
|
-
}
|
|
21390
|
-
],
|
|
21391
|
-
tokenRecipes: {
|
|
21392
|
-
palette: "brand-led",
|
|
21393
|
-
contrast: "standard",
|
|
21394
|
-
radius: "rounded",
|
|
21395
|
-
shadow: "subtle",
|
|
21396
|
-
typography: "serif-editorial",
|
|
21397
|
-
spacing: "airy",
|
|
21398
|
-
motion: "subtle"
|
|
21399
|
-
},
|
|
21400
|
-
compositionBudget: balancedBudget,
|
|
21401
|
-
typography: {
|
|
21402
|
-
body: {
|
|
21403
|
-
family: "Roboto, system-ui, sans-serif",
|
|
21404
|
-
size: "md",
|
|
21405
|
-
weight: "regular",
|
|
21406
|
-
lineHeight: "relaxed",
|
|
21407
|
-
letterSpacing: "normal"
|
|
21408
|
-
},
|
|
21409
|
-
headings: {
|
|
21410
|
-
default: {
|
|
21411
|
-
family: "Forum, Georgia, serif",
|
|
21412
|
-
weight: "regular",
|
|
21413
|
-
lineHeight: "normal",
|
|
21414
|
-
letterSpacing: "normal",
|
|
21415
|
-
colorToken: "text",
|
|
21416
|
-
italic: null,
|
|
21417
|
-
case: null
|
|
21418
|
-
},
|
|
21419
|
-
h1: {
|
|
21420
|
-
size: "xl",
|
|
21421
|
-
weight: "regular",
|
|
21422
|
-
lineHeight: "normal",
|
|
21423
|
-
letterSpacing: "normal",
|
|
21424
|
-
italic: null
|
|
21425
|
-
},
|
|
21426
|
-
h2: {
|
|
21427
|
-
size: "xl",
|
|
21428
|
-
weight: "regular",
|
|
21429
|
-
lineHeight: "normal",
|
|
21430
|
-
letterSpacing: "normal",
|
|
21431
|
-
italic: null
|
|
21432
|
-
},
|
|
21433
|
-
h3: {
|
|
21434
|
-
size: "md",
|
|
21435
|
-
weight: "regular",
|
|
21436
|
-
lineHeight: "normal",
|
|
21437
|
-
letterSpacing: "normal",
|
|
21438
|
-
italic: null
|
|
21439
|
-
}
|
|
21440
|
-
},
|
|
21441
|
-
scale: "majorThird"
|
|
21442
|
-
},
|
|
21443
|
-
themeOverrides: {
|
|
21444
|
-
accordions: editorialDividedAccordionSystem,
|
|
21445
|
-
cards: clarityZenCardSystem,
|
|
21446
|
-
testimonialQuote: serifDisplayQuote,
|
|
21447
|
-
bodyText: { intro: {
|
|
21448
|
-
paragraphSize: "default",
|
|
21449
|
-
headingSize: "editorial"
|
|
21450
|
-
} }
|
|
21451
|
-
},
|
|
21452
|
-
defaultBlockVariants: { "block.faq": "split-heading-columns" },
|
|
21453
|
-
recommendedAppearancePresetIds: [
|
|
21454
|
-
"hero-split-editorial",
|
|
21455
|
-
"intro-portrait-bio",
|
|
21456
|
-
"feature-cards-bold-colors",
|
|
21457
|
-
"testimonials-non-carded",
|
|
21458
|
-
"faq-contained-help",
|
|
21459
|
-
"contact-form-panel"
|
|
21460
|
-
],
|
|
21461
|
-
recommendedFooterLookIds: ["footer-links-row"],
|
|
21462
|
-
buttonStyleChoices: [
|
|
21463
|
-
buttonChoice("soft-pill"),
|
|
21464
|
-
buttonChoice("pebble"),
|
|
21465
|
-
buttonChoice("editorial-link")
|
|
21466
|
-
],
|
|
21467
|
-
paletteRecommendations: [
|
|
21468
|
-
paletteRecommendation("soft-natural-lilac"),
|
|
21469
|
-
paletteRecommendation("soft-natural-watercolor"),
|
|
21470
|
-
paletteRecommendation("soft-natural-stone"),
|
|
21471
|
-
paletteRecommendation("warm-neutral-cream")
|
|
21472
|
-
]
|
|
21473
|
-
}),
|
|
21474
|
-
defineCuratedSiteStyle({
|
|
21475
|
-
id: SOFT_EARTH_SITE_STYLE_ID_VALUE,
|
|
21476
|
-
name: "Soft Earth",
|
|
21477
|
-
headingDecoration: {
|
|
21478
|
-
family: "organic-squiggle",
|
|
21479
|
-
colorToken: "primary"
|
|
21480
|
-
},
|
|
21481
|
-
description: "Warm, grounded, and editorial for yoga studios, retreats, and wellbeing communities.",
|
|
21482
|
-
generationBrief: "Use cream space, terracotta CTAs, olive quote bands, natural imagery, generous but composed spacing, and editorial serif headings. Prefer a real intro section, image-led offering cards, warm community quotes, and an FAQ with a full-width intro above two columns of questions when content allows.",
|
|
21483
|
-
offering: {
|
|
21484
|
-
kind: "public",
|
|
21485
|
-
generation: {
|
|
21486
|
-
kind: "site_creator_keyword_heuristic",
|
|
21487
|
-
priority: 45
|
|
21488
|
-
}
|
|
21489
|
-
},
|
|
21490
|
-
selectionKeywordRules: [
|
|
21491
|
-
{
|
|
21492
|
-
kind: "word",
|
|
21493
|
-
value: "meditation"
|
|
21494
|
-
},
|
|
21495
|
-
{
|
|
21496
|
-
kind: "word",
|
|
21497
|
-
value: "wellbeing"
|
|
21498
|
-
},
|
|
21499
|
-
{
|
|
21500
|
-
kind: "substring",
|
|
21501
|
-
value: "retreat"
|
|
21502
|
-
},
|
|
21503
|
-
{
|
|
21504
|
-
kind: "phrase",
|
|
21505
|
-
value: "yoga studio"
|
|
21506
|
-
},
|
|
21507
|
-
{
|
|
21508
|
-
kind: "phrase",
|
|
21509
|
-
value: "mindful movement"
|
|
21510
|
-
}
|
|
21511
|
-
],
|
|
21512
|
-
tokenRecipes: {
|
|
21513
|
-
palette: "warm-neutral",
|
|
21514
|
-
contrast: "standard",
|
|
21515
|
-
radius: "soft",
|
|
21516
|
-
shadow: "subtle",
|
|
21517
|
-
typography: "serif-editorial",
|
|
21518
|
-
spacing: "airy",
|
|
21519
|
-
motion: "subtle"
|
|
21520
|
-
},
|
|
21521
|
-
compositionBudget: balancedBudget,
|
|
21522
|
-
typography: {
|
|
21523
|
-
body: {
|
|
21524
|
-
family: "Inter, system-ui, sans-serif",
|
|
21525
|
-
size: "md",
|
|
21526
|
-
weight: "regular",
|
|
21527
|
-
lineHeight: "relaxed",
|
|
21528
|
-
letterSpacing: "normal"
|
|
21529
|
-
},
|
|
21530
|
-
headings: {
|
|
21531
|
-
default: {
|
|
21532
|
-
family: "\"Cormorant Garamond\", Georgia, serif",
|
|
21533
|
-
weight: "regular",
|
|
21534
|
-
lineHeight: "normal",
|
|
21535
|
-
letterSpacing: "normal",
|
|
21536
|
-
colorToken: "text",
|
|
21537
|
-
italic: null,
|
|
21538
|
-
case: null
|
|
21539
|
-
},
|
|
21540
|
-
h1: {
|
|
21541
|
-
size: "xl",
|
|
21542
|
-
weight: "regular",
|
|
21543
|
-
lineHeight: "normal",
|
|
21544
|
-
letterSpacing: "normal",
|
|
21545
|
-
italic: null
|
|
21546
|
-
},
|
|
21547
|
-
h2: {
|
|
21548
|
-
size: "lg",
|
|
21549
|
-
weight: "regular",
|
|
21550
|
-
lineHeight: "normal",
|
|
21551
|
-
letterSpacing: "normal",
|
|
21552
|
-
italic: null
|
|
21553
|
-
},
|
|
21554
|
-
h3: {
|
|
21555
|
-
size: "md",
|
|
21556
|
-
weight: "regular",
|
|
21557
|
-
lineHeight: "normal",
|
|
21558
|
-
letterSpacing: "normal",
|
|
21559
|
-
italic: null
|
|
21560
|
-
}
|
|
21561
|
-
},
|
|
21562
|
-
scale: "majorThird"
|
|
21563
|
-
},
|
|
21564
|
-
themeOverrides: {
|
|
21565
|
-
bodyText: { intro: {
|
|
21566
|
-
paragraphSize: "default",
|
|
21567
|
-
headingSize: "editorial"
|
|
21568
|
-
} },
|
|
21569
|
-
accordions: softEarthAccordionSystem,
|
|
21570
|
-
testimonialQuote: accentGlyphQuote
|
|
21571
|
-
},
|
|
21572
|
-
defaultBlockVariants: { "block.faq": "question-columns" },
|
|
21573
|
-
recommendedAppearancePresetIds: [
|
|
21574
|
-
"hero-brand-scrim",
|
|
21575
|
-
"feature-cards-raised-rule",
|
|
21576
|
-
"events-lined-panel",
|
|
21577
|
-
"testimonials-non-carded",
|
|
21578
|
-
"contact-form-panel"
|
|
21579
|
-
],
|
|
21580
|
-
recommendedFooterLookIds: ["footer-links-row"],
|
|
21581
|
-
buttonStyleChoices: [
|
|
21582
|
-
buttonChoice("earth-pill"),
|
|
21583
|
-
buttonChoice("soft-pill"),
|
|
21584
|
-
buttonChoice("pebble"),
|
|
21585
|
-
buttonChoice("editorial-link")
|
|
21586
|
-
],
|
|
21587
|
-
paletteRecommendations: [
|
|
21588
|
-
paletteRecommendation("warm-neutral-soft-earth"),
|
|
21589
|
-
paletteRecommendation("warm-neutral-clay"),
|
|
21590
|
-
paletteRecommendation("warm-neutral-forest"),
|
|
21591
|
-
paletteRecommendation("soft-natural-sage")
|
|
21592
|
-
]
|
|
21593
|
-
}),
|
|
21128
|
+
treatment: "type-columns",
|
|
21129
|
+
roleMap: measureRoles
|
|
21130
|
+
}
|
|
21131
|
+
]
|
|
21132
|
+
};
|
|
21133
|
+
const curatedSiteStyles = [
|
|
21594
21134
|
defineCuratedSiteStyle({
|
|
21595
21135
|
id: "site-style:south-west-twerk-school",
|
|
21596
21136
|
offering: {
|
|
@@ -21690,133 +21230,6 @@ const curatedSiteStyles = [
|
|
|
21690
21230
|
paletteRecommendation("high-contrast-ink")
|
|
21691
21231
|
]
|
|
21692
21232
|
}),
|
|
21693
|
-
defineCuratedSiteStyle({
|
|
21694
|
-
id: "site-style:kirtan-ornate",
|
|
21695
|
-
name: "Kirtan Ornate",
|
|
21696
|
-
headingDecoration: {
|
|
21697
|
-
family: "short-center-rule",
|
|
21698
|
-
colorToken: "accent"
|
|
21699
|
-
},
|
|
21700
|
-
description: "Ceremonial, jewel-toned, and devotional: ornate frames, warm contrast, and composed rhythm for intimate music gatherings.",
|
|
21701
|
-
generationBrief: "Use a deep plum ground with pale gold as the main brand color, rose accent details, cream text, spacious split hero sections, devotional editorial headings, compact event lists, and framed conversion sections. The mood should feel soulful and ceremonial, not gothic or theatrical.",
|
|
21702
|
-
selectionKeywordRules: [
|
|
21703
|
-
{
|
|
21704
|
-
kind: "word",
|
|
21705
|
-
value: "kirtan"
|
|
21706
|
-
},
|
|
21707
|
-
{
|
|
21708
|
-
kind: "word",
|
|
21709
|
-
value: "chanting"
|
|
21710
|
-
},
|
|
21711
|
-
{
|
|
21712
|
-
kind: "word",
|
|
21713
|
-
value: "ceremony"
|
|
21714
|
-
},
|
|
21715
|
-
{
|
|
21716
|
-
kind: "word",
|
|
21717
|
-
value: "devotional"
|
|
21718
|
-
}
|
|
21719
|
-
],
|
|
21720
|
-
tokenRecipes: {
|
|
21721
|
-
palette: "brand-led",
|
|
21722
|
-
contrast: "strong",
|
|
21723
|
-
radius: "soft",
|
|
21724
|
-
shadow: "subtle",
|
|
21725
|
-
typography: "serif-editorial",
|
|
21726
|
-
spacing: "airy",
|
|
21727
|
-
motion: "subtle"
|
|
21728
|
-
},
|
|
21729
|
-
compositionBudget: expressiveBudget,
|
|
21730
|
-
typography: kirtanOrnateTypography,
|
|
21731
|
-
heroTypography: kirtanOrnateHeroTypography,
|
|
21732
|
-
themeOverrides: {
|
|
21733
|
-
accordions: warmInsetAccordionSystem,
|
|
21734
|
-
cards: originalJoyCardSystem,
|
|
21735
|
-
testimonialQuote: serifDisplayQuote,
|
|
21736
|
-
bodyText: { intro: {
|
|
21737
|
-
paragraphSize: "editorial",
|
|
21738
|
-
headingSize: "editorial"
|
|
21739
|
-
} },
|
|
21740
|
-
inputs: ornateDarkInputs
|
|
21741
|
-
},
|
|
21742
|
-
designRuntimeRules: kirtanOrnateDesignRuntimeRules,
|
|
21743
|
-
recommendedAppearancePresetIds: [
|
|
21744
|
-
"hero-brand-scrim-fixed-frame",
|
|
21745
|
-
"events-lined-panel",
|
|
21746
|
-
"schedule-details-brand-depth",
|
|
21747
|
-
"testimonials-statement-cards",
|
|
21748
|
-
"contact-form-panel"
|
|
21749
|
-
],
|
|
21750
|
-
recommendedFooterLookIds: ["footer-links-row"],
|
|
21751
|
-
buttonStyleChoices: [
|
|
21752
|
-
buttonChoice("ornate-ritual"),
|
|
21753
|
-
buttonChoice("joy-stamp"),
|
|
21754
|
-
buttonChoice("ink-stamp")
|
|
21755
|
-
],
|
|
21756
|
-
paletteRecommendations: [
|
|
21757
|
-
paletteRecommendation("warm-dark-kirtan-gold"),
|
|
21758
|
-
paletteRecommendation("warm-dark-ember"),
|
|
21759
|
-
paletteRecommendation("brand-led-burgundy-gold")
|
|
21760
|
-
]
|
|
21761
|
-
}),
|
|
21762
|
-
defineCuratedSiteStyle({
|
|
21763
|
-
id: "site-style:original-joy",
|
|
21764
|
-
offering: {
|
|
21765
|
-
kind: "client",
|
|
21766
|
-
siteSlugs: ["original-joy"]
|
|
21767
|
-
},
|
|
21768
|
-
name: "Original Joy",
|
|
21769
|
-
headingDecoration: {
|
|
21770
|
-
family: "organic-squiggle",
|
|
21771
|
-
colorToken: "primary"
|
|
21772
|
-
},
|
|
21773
|
-
description: "Warm, dark, and editorial: deep clay grounds, cream type, and bold burnt-orange accents for soulful community brands.",
|
|
21774
|
-
generationBrief: "Use a deep brown ground with cream text and burnt-orange accents, large display headings, generous spacing, organic rounded shapes, and bold colour-blocked feature sections. Lead with warmth and belonging; calls to action should feel strong but unhurried.",
|
|
21775
|
-
tokenRecipes: {
|
|
21776
|
-
palette: "brand-led",
|
|
21777
|
-
contrast: "maximum",
|
|
21778
|
-
radius: "rounded",
|
|
21779
|
-
shadow: "subtle",
|
|
21780
|
-
typography: "clean-sans",
|
|
21781
|
-
spacing: "airy",
|
|
21782
|
-
motion: "expressive"
|
|
21783
|
-
},
|
|
21784
|
-
compositionBudget: expressiveBudget,
|
|
21785
|
-
typography: originalJoyTypography,
|
|
21786
|
-
heroTypography: originalJoyHeroTypography,
|
|
21787
|
-
themeOverrides: {
|
|
21788
|
-
accordions: boldBorderedAccordionSystem,
|
|
21789
|
-
cards: originalJoyCardSystem,
|
|
21790
|
-
testimonialQuote: accentGlyphQuote,
|
|
21791
|
-
bodyText: { intro: {
|
|
21792
|
-
paragraphSize: "editorial",
|
|
21793
|
-
headingSize: "editorial"
|
|
21794
|
-
} }
|
|
21795
|
-
},
|
|
21796
|
-
recommendedAppearancePresetIds: ["feature-cards-bold-colors", "testimonials-statement-cards"],
|
|
21797
|
-
footerLookRecipes: { "footer-links-row": {
|
|
21798
|
-
arrangement: "simple",
|
|
21799
|
-
ground: {
|
|
21800
|
-
kind: "token",
|
|
21801
|
-
token: "surface"
|
|
21802
|
-
},
|
|
21803
|
-
nav: {
|
|
21804
|
-
weight: "medium",
|
|
21805
|
-
colorToken: "text",
|
|
21806
|
-
hoverColorToken: "primary",
|
|
21807
|
-
typography: "body"
|
|
21808
|
-
},
|
|
21809
|
-
legal: { bar: null },
|
|
21810
|
-
brandAlign: "start"
|
|
21811
|
-
} },
|
|
21812
|
-
recommendedFooterLookIds: ["footer-links-row"],
|
|
21813
|
-
buttonStyleChoices: [
|
|
21814
|
-
buttonChoice("joy-stamp"),
|
|
21815
|
-
buttonChoice("ink-stamp"),
|
|
21816
|
-
buttonChoice("showtime-pill")
|
|
21817
|
-
],
|
|
21818
|
-
paletteRecommendations: [paletteRecommendation("warm-dark-ember")]
|
|
21819
|
-
}),
|
|
21820
21233
|
defineCuratedSiteStyle({
|
|
21821
21234
|
id: "site-style:fulcrum",
|
|
21822
21235
|
name: "Fulcrum",
|
|
@@ -22252,6 +21665,7 @@ const curatedSiteStyles = [
|
|
|
22252
21665
|
},
|
|
22253
21666
|
compositionBudget: balancedBudget,
|
|
22254
21667
|
typography: poiseTypography,
|
|
21668
|
+
fontPairings: poiseFontPairings,
|
|
22255
21669
|
looks: poiseLooks,
|
|
22256
21670
|
contentTemplateDefaults: { event: "event-header" },
|
|
22257
21671
|
themeOverrides: {
|
|
@@ -22323,7 +21737,8 @@ const curatedSiteStyles = [
|
|
|
22323
21737
|
paletteRecommendations: [
|
|
22324
21738
|
paletteRecommendation("poise-butter"),
|
|
22325
21739
|
paletteRecommendation("poise-ember"),
|
|
22326
|
-
paletteRecommendation("poise-night")
|
|
21740
|
+
paletteRecommendation("poise-night"),
|
|
21741
|
+
paletteRecommendation("poise-mono")
|
|
22327
21742
|
]
|
|
22328
21743
|
}),
|
|
22329
21744
|
defineCuratedSiteStyle({
|
|
@@ -22782,7 +22197,7 @@ function lookPresentationSurfaces(presentation) {
|
|
|
22782
22197
|
* compared by value, so a transported or re-parsed copy of the same theme still matches.
|
|
22783
22198
|
*/
|
|
22784
22199
|
function lookPresentationOnPalette(presentation, palette) {
|
|
22785
|
-
return lookPresentationSurfaces(presentation).
|
|
22200
|
+
return [...new Set(lookPresentationSurfaces(presentation).map((surface) => surface.revision.palette))].every((decided) => samePalette(decided, palette));
|
|
22786
22201
|
}
|
|
22787
22202
|
function samePalette(decided, expected) {
|
|
22788
22203
|
return decided === expected || [.../* @__PURE__ */ new Set([...Object.keys(decided), ...Object.keys(expected)])].every((key) => decided[key] === expected[key]);
|
|
@@ -23269,6 +22684,37 @@ function createInteractiveIslandCodec(options) {
|
|
|
23269
22684
|
};
|
|
23270
22685
|
}
|
|
23271
22686
|
//#endregion
|
|
22687
|
+
//#region ../blocks/src/system/runtime/shared/navigation/pageNavigation.ts
|
|
22688
|
+
const pageNavigationSchema = z.discriminatedUnion("kind", [z.object({ kind: z.literal("page") }), z.object({
|
|
22689
|
+
kind: z.literal("embed"),
|
|
22690
|
+
canonicalOrigin: z.string().url()
|
|
22691
|
+
})]);
|
|
22692
|
+
const PAGE_NAVIGATION = { kind: "page" };
|
|
22693
|
+
/** Page mode preserves the caller's URL; embeds leave through the public surface. */
|
|
22694
|
+
function canonicalUrl(path, navigation = PAGE_NAVIGATION) {
|
|
22695
|
+
if (navigation.kind === "page") return path;
|
|
22696
|
+
const url = new URL(path, navigation.canonicalOrigin);
|
|
22697
|
+
url.pathname = url.pathname.replace(/^\/embed(?=\/|$)/, "") || "/";
|
|
22698
|
+
return url.toString();
|
|
22699
|
+
}
|
|
22700
|
+
/** The callback retains each page caller's exact navigation effect. */
|
|
22701
|
+
function leavePage(target, navigation = PAGE_NAVIGATION, navigate = (target) => window.location.assign(target)) {
|
|
22702
|
+
if (navigation.kind === "embed") return {
|
|
22703
|
+
kind: "handOff",
|
|
22704
|
+
url: canonicalUrl(target, navigation)
|
|
22705
|
+
};
|
|
22706
|
+
navigate(target);
|
|
22707
|
+
return { kind: "navigated" };
|
|
22708
|
+
}
|
|
22709
|
+
function requestSignIn(returnPath, openModal, navigation = PAGE_NAVIGATION) {
|
|
22710
|
+
if (navigation.kind === "embed") return {
|
|
22711
|
+
kind: "handOff",
|
|
22712
|
+
url: canonicalUrl(returnPath, navigation)
|
|
22713
|
+
};
|
|
22714
|
+
openModal();
|
|
22715
|
+
return { kind: "navigated" };
|
|
22716
|
+
}
|
|
22717
|
+
//#endregion
|
|
23272
22718
|
//#region ../blocks/src/system/runtime/api/readAuthority.ts
|
|
23273
22719
|
const browserReadAuthoritySchema = z.discriminatedUnion("kind", [z.object({ kind: z.literal("published") }).strict(), z.object({
|
|
23274
22720
|
kind: z.literal("preview"),
|
|
@@ -23362,6 +22808,141 @@ const calendarTabViewsSchema = z.enum([
|
|
|
23362
22808
|
"week"
|
|
23363
22809
|
]);
|
|
23364
22810
|
//#endregion
|
|
22811
|
+
//#region ../blocks/src/system/runtime/nodes/booking-form.service-pricing.ts
|
|
22812
|
+
function getBookingServiceSlidingScale(service) {
|
|
22813
|
+
const pricing = service?.pricing;
|
|
22814
|
+
if (!pricing || pricing.pricingStrategy !== "sliding_scale" || pricing.slidingMinAmount === null || pricing.slidingMinAmount === void 0 || pricing.slidingMaxAmount === null || pricing.slidingMaxAmount === void 0) return null;
|
|
22815
|
+
return {
|
|
22816
|
+
minAmount: pricing.slidingMinAmount,
|
|
22817
|
+
maxAmount: pricing.slidingMaxAmount,
|
|
22818
|
+
suggestedAmount: pricing.slidingSuggestedAmount ?? null,
|
|
22819
|
+
currency: pricing.currency
|
|
22820
|
+
};
|
|
22821
|
+
}
|
|
22822
|
+
//#endregion
|
|
22823
|
+
//#region ../blocks/src/system/runtime/nodes/booking-form.package-purchase.ts
|
|
22824
|
+
function bookingRequiresResourceSelection(service, configured = false) {
|
|
22825
|
+
return configured || service?.onlinePaymentChoices?.anyAvailable === false;
|
|
22826
|
+
}
|
|
22827
|
+
function toBookingPurchasablePackages(products) {
|
|
22828
|
+
return products.filter((product) => product.productUseCase === "appointment_package" && product.purchaseAvailability === "purchasable").map(({ id, name, price, currency, creditsTotal, validDays, heldWithTeamMember }) => ({
|
|
22829
|
+
id,
|
|
22830
|
+
name,
|
|
22831
|
+
price,
|
|
22832
|
+
currency,
|
|
22833
|
+
creditsTotal,
|
|
22834
|
+
validDays,
|
|
22835
|
+
heldWithTeamMember: heldWithTeamMember ?? null
|
|
22836
|
+
}));
|
|
22837
|
+
}
|
|
22838
|
+
function resolveBookingPurchasablePackages(enabled, state) {
|
|
22839
|
+
if (!enabled) return { kind: "disabled" };
|
|
22840
|
+
switch (state.tag) {
|
|
22841
|
+
case "idle":
|
|
22842
|
+
case "loading": return { kind: "loading" };
|
|
22843
|
+
case "error": return {
|
|
22844
|
+
kind: "error",
|
|
22845
|
+
message: state.message
|
|
22846
|
+
};
|
|
22847
|
+
case "loaded": return {
|
|
22848
|
+
kind: "ready",
|
|
22849
|
+
items: state.value
|
|
22850
|
+
};
|
|
22851
|
+
}
|
|
22852
|
+
}
|
|
22853
|
+
function resolveBookingPaymentAvailability(perSession, held, purchase) {
|
|
22854
|
+
if (perSession || held.items.length > 0 || purchase.kind === "ready" && purchase.items.length > 0) return { kind: "available" };
|
|
22855
|
+
if (held.kind === "loading" || held.kind === "idle" || purchase.kind === "loading") return { kind: "loading" };
|
|
22856
|
+
if (held.kind === "error" || purchase.kind === "error") return { kind: "load_error" };
|
|
22857
|
+
return { kind: "no_choices" };
|
|
22858
|
+
}
|
|
22859
|
+
/** Disclose the package's purchase price; server settlement may require a review for discounts or credit. */
|
|
22860
|
+
function bookingPackagePurchaseTerms(product, promisedDiscountId) {
|
|
22861
|
+
return {
|
|
22862
|
+
currency: product.currency,
|
|
22863
|
+
totalCents: product.price,
|
|
22864
|
+
dueNowCents: product.price,
|
|
22865
|
+
laterPaymentAmountsCents: [],
|
|
22866
|
+
paymentOption: { kind: product.price > 0 ? "upfront" : "not_required" },
|
|
22867
|
+
promisedDiscountId
|
|
22868
|
+
};
|
|
22869
|
+
}
|
|
22870
|
+
function reconcileBookingPackagePurchase(selection, packages) {
|
|
22871
|
+
if (selection.kind === "none") return selection;
|
|
22872
|
+
const product = packages.find((product) => product.id === selection.package.id);
|
|
22873
|
+
if (!product) return { kind: "none" };
|
|
22874
|
+
return JSON.stringify(product) === JSON.stringify(selection.package) ? selection : {
|
|
22875
|
+
kind: "selected",
|
|
22876
|
+
package: product
|
|
22877
|
+
};
|
|
22878
|
+
}
|
|
22879
|
+
function resolveBookingPaymentChoice(purchase, heldId, option) {
|
|
22880
|
+
if (purchase.kind === "selected") return {
|
|
22881
|
+
kind: "buy_package",
|
|
22882
|
+
package: purchase.package
|
|
22883
|
+
};
|
|
22884
|
+
if (heldId) return {
|
|
22885
|
+
kind: "held_package",
|
|
22886
|
+
customerPassId: heldId
|
|
22887
|
+
};
|
|
22888
|
+
return option ? {
|
|
22889
|
+
kind: "per_session",
|
|
22890
|
+
option
|
|
22891
|
+
} : { kind: "unselected" };
|
|
22892
|
+
}
|
|
22893
|
+
function bookingHasPackagePaymentChoices(service) {
|
|
22894
|
+
return service?.onlinePaymentChoices?.buyPackage === true || service?.onlinePaymentChoices?.heldPackage !== false && service?.onlinePaymentChoices?.perSession === false;
|
|
22895
|
+
}
|
|
22896
|
+
function resolveBookingPackageSources(service, enabled, bearerAuth) {
|
|
22897
|
+
const packageOnly = service?.onlinePaymentChoices?.perSession === false;
|
|
22898
|
+
return {
|
|
22899
|
+
packageOnly,
|
|
22900
|
+
held: resolveHeldPackageSource(service, service?.onlinePaymentChoices?.heldPackage !== false && (enabled || packageOnly), bearerAuth),
|
|
22901
|
+
canBuy: service?.onlinePaymentChoices?.buyPackage === true
|
|
22902
|
+
};
|
|
22903
|
+
}
|
|
22904
|
+
function resolveHeldPackageSource(service, enabled, bearerAuth) {
|
|
22905
|
+
if (!enabled) return "disabled";
|
|
22906
|
+
if (!heldPackageServiceEligible(service)) return "missing-priced-service";
|
|
22907
|
+
return bearerAuth ? "enabled" : "missing-portal-auth";
|
|
22908
|
+
}
|
|
22909
|
+
function heldPackageServiceEligible(service) {
|
|
22910
|
+
if (!service) return false;
|
|
22911
|
+
return service.onlinePaymentChoices?.perSession === false || !getBookingServiceSlidingScale(service) && (service.priceAmount ?? 0) > 0;
|
|
22912
|
+
}
|
|
22913
|
+
function resolveBookingPackagePaymentSelection(data, service) {
|
|
22914
|
+
if (data.selectedAppointmentPackageId || data.packagePurchase?.kind === "selected") return "selected";
|
|
22915
|
+
return service?.onlinePaymentChoices?.perSession === false ? "required" : "per_session";
|
|
22916
|
+
}
|
|
22917
|
+
function bookingPackageRequestKey(enabled, serviceId, resourceId) {
|
|
22918
|
+
return enabled && serviceId ? `${serviceId}:${resourceId ?? "any"}` : null;
|
|
22919
|
+
}
|
|
22920
|
+
/** Resolve form admission and existing holdings before any payment/resource consumer sees service offers. */
|
|
22921
|
+
function applyBookingPaymentAdmission(services, requiresApproval, unrestrictedHeldServiceId) {
|
|
22922
|
+
return services.map((service) => {
|
|
22923
|
+
const choices = service.onlinePaymentChoices;
|
|
22924
|
+
if (requiresApproval) return {
|
|
22925
|
+
...service,
|
|
22926
|
+
onlinePaymentChoices: {
|
|
22927
|
+
perSession: choices?.perSession ?? true,
|
|
22928
|
+
heldPackage: false,
|
|
22929
|
+
buyPackage: false,
|
|
22930
|
+
anyAvailable: true
|
|
22931
|
+
}
|
|
22932
|
+
};
|
|
22933
|
+
return choices && service.id === unrestrictedHeldServiceId ? {
|
|
22934
|
+
...service,
|
|
22935
|
+
onlinePaymentChoices: {
|
|
22936
|
+
...choices,
|
|
22937
|
+
anyAvailable: true
|
|
22938
|
+
}
|
|
22939
|
+
} : service;
|
|
22940
|
+
});
|
|
22941
|
+
}
|
|
22942
|
+
function resolveBookingPaymentMode(service, payment) {
|
|
22943
|
+
return bookingHasPackagePaymentChoices(service) || payment.kind === "unavailable" ? "choice_required" : payment.mode;
|
|
22944
|
+
}
|
|
22945
|
+
//#endregion
|
|
23365
22946
|
//#region ../blocks/src/system/runtime/nodes/booking-form.reserved-fields.ts
|
|
23366
22947
|
const BOOKING_FORM_DATA_RESERVED_KEY_VALUES = [
|
|
23367
22948
|
"serviceId",
|
|
@@ -23372,6 +22953,7 @@ const BOOKING_FORM_DATA_RESERVED_KEY_VALUES = [
|
|
|
23372
22953
|
"selectedSlidingAmountInput",
|
|
23373
22954
|
"selectedCollectionOptionKind",
|
|
23374
22955
|
"selectedAppointmentPackageId",
|
|
22956
|
+
"packagePurchase",
|
|
23375
22957
|
"mailingListOptIn"
|
|
23376
22958
|
];
|
|
23377
22959
|
const BOOKING_FORM_DATA_RESERVED_KEYS = new Set(BOOKING_FORM_DATA_RESERVED_KEY_VALUES);
|
|
@@ -23878,16 +23460,6 @@ function readOptionalString(value) {
|
|
|
23878
23460
|
function readOptionalNumber(value) {
|
|
23879
23461
|
return typeof value === "number" && Number.isFinite(value) ? value : void 0;
|
|
23880
23462
|
}
|
|
23881
|
-
function getBookingServiceSlidingScale(service) {
|
|
23882
|
-
const pricing = service?.pricing;
|
|
23883
|
-
if (!pricing || pricing.pricingStrategy !== "sliding_scale" || pricing.slidingMinAmount === null || pricing.slidingMinAmount === void 0 || pricing.slidingMaxAmount === null || pricing.slidingMaxAmount === void 0) return null;
|
|
23884
|
-
return {
|
|
23885
|
-
minAmount: pricing.slidingMinAmount,
|
|
23886
|
-
maxAmount: pricing.slidingMaxAmount,
|
|
23887
|
-
suggestedAmount: pricing.slidingSuggestedAmount ?? null,
|
|
23888
|
-
currency: pricing.currency
|
|
23889
|
-
};
|
|
23890
|
-
}
|
|
23891
23463
|
function parseBookingCurrencyInputToCents(value) {
|
|
23892
23464
|
const trimmed = value?.trim() ?? "";
|
|
23893
23465
|
if (!trimmed) return null;
|
|
@@ -23926,15 +23498,11 @@ function resolveBookingSelectedService(input) {
|
|
|
23926
23498
|
/** One resolved choice set drives step visibility, selection and submission. */
|
|
23927
23499
|
function resolveBookingPaymentStep(input) {
|
|
23928
23500
|
const service = resolveBookingSelectedService(input);
|
|
23929
|
-
if (!service) return
|
|
23930
|
-
|
|
23931
|
-
|
|
23932
|
-
service: null,
|
|
23933
|
-
errorMessage: "Payment options are unavailable for the selected service right now."
|
|
23934
|
-
} : {
|
|
23935
|
-
kind: "unselected",
|
|
23501
|
+
if (!service) return resolveMissingBookingPaymentStep(input);
|
|
23502
|
+
if (service.onlinePaymentChoices?.perSession === false) return {
|
|
23503
|
+
kind: "not_required",
|
|
23936
23504
|
mode: "hidden",
|
|
23937
|
-
service
|
|
23505
|
+
service
|
|
23938
23506
|
};
|
|
23939
23507
|
const totalCents = resolveBookingServiceTotalCents(service, input.data);
|
|
23940
23508
|
if (totalCents <= 0) return {
|
|
@@ -23997,6 +23565,16 @@ function prepareBookingSubmission(input) {
|
|
|
23997
23565
|
customerPassId
|
|
23998
23566
|
}
|
|
23999
23567
|
};
|
|
23568
|
+
if (input.data.packagePurchase?.kind === "selected") return {
|
|
23569
|
+
ok: true,
|
|
23570
|
+
value: {
|
|
23571
|
+
...common,
|
|
23572
|
+
kind: "package_purchase",
|
|
23573
|
+
purchasePassId: input.data.packagePurchase.package.id,
|
|
23574
|
+
discountCode: toTrimmedString(input.data.discountCode),
|
|
23575
|
+
shownTerms: input.shownTerms ?? bookingPackagePurchaseTerms(input.data.packagePurchase.package, input.promisedDiscountId)
|
|
23576
|
+
}
|
|
23577
|
+
};
|
|
24000
23578
|
const payment = prepareStandardBookingPayment(input, service);
|
|
24001
23579
|
return payment.ok ? {
|
|
24002
23580
|
ok: true,
|
|
@@ -24052,6 +23630,14 @@ function buildBookingSubmissionCommon(input, service, startAt) {
|
|
|
24052
23630
|
};
|
|
24053
23631
|
}
|
|
24054
23632
|
function prepareStandardBookingPayment(input, service) {
|
|
23633
|
+
if (service.onlinePaymentChoices?.perSession === false) return {
|
|
23634
|
+
ok: false,
|
|
23635
|
+
error: {
|
|
23636
|
+
tag: "payment-option-required",
|
|
23637
|
+
serviceId: service.id,
|
|
23638
|
+
serviceTitle: service.title
|
|
23639
|
+
}
|
|
23640
|
+
};
|
|
24055
23641
|
const amount = validateBookingSlidingSelection(service, input.data);
|
|
24056
23642
|
if (!amount.ok) return amount;
|
|
24057
23643
|
const payment = resolveBookingPaymentStep(input);
|
|
@@ -24201,6 +23787,18 @@ function snapshotBookingShownTerms(payment, promisedDiscountId) {
|
|
|
24201
23787
|
promisedDiscountId
|
|
24202
23788
|
};
|
|
24203
23789
|
}
|
|
23790
|
+
function resolveMissingBookingPaymentStep(input) {
|
|
23791
|
+
return input.services.length === 0 || resolveRequestedBookingServiceId(input) ? {
|
|
23792
|
+
kind: "unavailable",
|
|
23793
|
+
mode: "unsupported",
|
|
23794
|
+
service: null,
|
|
23795
|
+
errorMessage: "Payment options are unavailable for the selected service right now."
|
|
23796
|
+
} : {
|
|
23797
|
+
kind: "unselected",
|
|
23798
|
+
mode: "hidden",
|
|
23799
|
+
service: null
|
|
23800
|
+
};
|
|
23801
|
+
}
|
|
24204
23802
|
//#endregion
|
|
24205
23803
|
//#region ../blocks/src/system/runtime/nodes/booking-form.service-categories.ts
|
|
24206
23804
|
function isRecord$1(value) {
|
|
@@ -24360,6 +23958,7 @@ const bookingSourceSchema = z.object({
|
|
|
24360
23958
|
demoEmailSuppressed: z.boolean().optional(),
|
|
24361
23959
|
mailingList: bookingMailingListContextSchema.optional(),
|
|
24362
23960
|
siteTerms: blockSiteTermsSchema.optional(),
|
|
23961
|
+
pageNavigation: pageNavigationSchema.optional(),
|
|
24363
23962
|
siteName: z.string().optional(),
|
|
24364
23963
|
siteId: z.string().optional(),
|
|
24365
23964
|
apiBaseUrl: z.string().optional(),
|
|
@@ -24394,6 +23993,7 @@ const bookingHydrationSchema = z.object({
|
|
|
24394
23993
|
demoEmailSuppressed: z.boolean().optional(),
|
|
24395
23994
|
mailingList: bookingMailingListContextSchema.optional(),
|
|
24396
23995
|
siteTerms: blockSiteTermsSchema.optional(),
|
|
23996
|
+
pageNavigation: pageNavigationSchema.optional(),
|
|
24397
23997
|
siteName: z.string().optional(),
|
|
24398
23998
|
formId: z.string().nullable(),
|
|
24399
23999
|
serviceId: z.string().nullable(),
|
|
@@ -24446,6 +24046,7 @@ const bookingFormBlockRuntime = defineClientOwnedBlockRuntime({
|
|
|
24446
24046
|
demoEmailSuppressed: source.demoEmailSuppressed,
|
|
24447
24047
|
mailingList: source.mailingList,
|
|
24448
24048
|
siteTerms: source.siteTerms,
|
|
24049
|
+
pageNavigation: source.pageNavigation,
|
|
24449
24050
|
siteName: source.siteName,
|
|
24450
24051
|
formId: form?.id ?? source.formId ?? null,
|
|
24451
24052
|
serviceId: source.serviceId ?? form?.settings?.serviceId ?? null,
|
|
@@ -26524,15 +26125,20 @@ function eventSignInRestoration(draft, events, verifiedIdentity) {
|
|
|
26524
26125
|
* choice, tickets and step only when that event is still offered and no
|
|
26525
26126
|
* waiting-list invitation owns the selection.
|
|
26526
26127
|
*/
|
|
26128
|
+
/** What the booker typed comes back; a blank field never erases details already filled in. */
|
|
26129
|
+
function restoredFormData(current, saved) {
|
|
26130
|
+
const typed = Object.fromEntries(Object.entries(saved).filter(([, value]) => typeof value !== "string" || value.trim() !== ""));
|
|
26131
|
+
return {
|
|
26132
|
+
...current,
|
|
26133
|
+
...typed,
|
|
26134
|
+
consentAccepted: false
|
|
26135
|
+
};
|
|
26136
|
+
}
|
|
26527
26137
|
function restoreEventSignInDraft(state, restoration) {
|
|
26528
26138
|
const { draft } = restoration;
|
|
26529
26139
|
const details = {
|
|
26530
26140
|
...state.draft,
|
|
26531
|
-
formData:
|
|
26532
|
-
...state.draft.formData,
|
|
26533
|
-
...draft.formData,
|
|
26534
|
-
consentAccepted: false
|
|
26535
|
-
},
|
|
26141
|
+
formData: restoredFormData(state.draft.formData, draft.formData),
|
|
26536
26142
|
guests: draft.guests.map((guest) => ({ ...guest })),
|
|
26537
26143
|
bookingQuestions: restoreBookingQuestionsAnswers(state.draft.bookingQuestions, restoration.questions)
|
|
26538
26144
|
};
|
|
@@ -27355,6 +26961,28 @@ function getTicketSelectionRemainingPlaces(input) {
|
|
|
27355
26961
|
if (availability && "remainingPlaces" in availability) return availability.remainingPlaces ?? null;
|
|
27356
26962
|
return input.event ? getEventAvailability(selectEventCapacitySource(input.event, input.attendanceMode)).available : null;
|
|
27357
26963
|
}
|
|
26964
|
+
/** Keep the card and ticket step on the same fresh capacity as admission. */
|
|
26965
|
+
function withRegistrationAvailability(event, eligibility, attendanceMode) {
|
|
26966
|
+
const availability = eligibility?.availability;
|
|
26967
|
+
if (!event || !availability || !("remainingPlaces" in availability)) return event;
|
|
26968
|
+
const mode = attendanceMode ?? (event.deliveryMode === "hybrid" ? null : event.deliveryMode ?? "in_person");
|
|
26969
|
+
if (!mode) return event;
|
|
26970
|
+
const source = selectEventCapacitySource(event, mode);
|
|
26971
|
+
const remaining = availability.remainingPlaces ?? null;
|
|
26972
|
+
const refreshed = {
|
|
26973
|
+
capacity: remaining === null ? null : source.capacity ?? remaining,
|
|
26974
|
+
availableSpots: remaining,
|
|
26975
|
+
waitlistEnabled: availability.waitlistEnabled
|
|
26976
|
+
};
|
|
26977
|
+
return {
|
|
26978
|
+
...event,
|
|
26979
|
+
...event.deliveryMode === "hybrid" ? {} : refreshed,
|
|
26980
|
+
attendanceModes: event.attendanceModes?.map((row) => row.mode === mode ? {
|
|
26981
|
+
...row,
|
|
26982
|
+
...refreshed
|
|
26983
|
+
} : row)
|
|
26984
|
+
};
|
|
26985
|
+
}
|
|
27358
26986
|
function resolveHeldTicketPlaces(current, invitation, paymentHold) {
|
|
27359
26987
|
return getHeldPlacesBySelection(current, invitation.kind === "ready" ? {
|
|
27360
26988
|
selectionId: invitation.restoration.event?.selectionId ?? current.selectionId,
|
|
@@ -29143,4 +28771,426 @@ function registrationStepLabel(step, context) {
|
|
|
29143
28771
|
}
|
|
29144
28772
|
}
|
|
29145
28773
|
//#endregion
|
|
29146
|
-
export { getEligibilityFlowFlags as $, parseSiteId as $a, featureCardCompositionTreatmentValues as $i, getShopSuccessCopy as $n, resolveEventRegistrationScopedEvents as $r, registrationDisplaySchema as $t, isEventRegistrationAvailable as A, isRecord$4 as Aa, generateEffectsCSS as Ai, resolveRuntimeEventDestination as An, calendarTabViewsSchema as Ar, getTicketLineQuantity as At, paymentChoiceDetails as B, parseBrevoListId as Ba, transitionCatalogueEntries as Bi, selectEventCapacitySource as Bn, BLOCK_BUTTON_ROLE_OPTIONS as Br, EVENT_SIGN_IN_FORM_ID as Bt, resolveGuestNextStepCheck as C, siteChromeBackgroundOverrideOwner as Ca, resolveCardRole as Ci, formatEventDateParts as Cn, needsBookingQuestionsRefresh as Cr, getVisibleTicketTypes as Ct, settledRemainingPlaces as D, makeBoundaryId as Da, getNavLinkPreset as Di, formatTime$1 as Dn, BOOKING_FORM_DATA_RESERVED_KEYS as Dr, formatPrice as Dt, resolveRegistrationTicketContinuation as E, asSiteStyleId as Ea, footerForegroundCandidates as Ei, formatEventTimeRange as En, toBookingQuestionsPaymentSnapshot as Er, withOccurrenceTitle as Et, toHeadlessPaymentSelection as F, resolveWholeSeriesRunLifecycle as Fa, sectionShapeForGround as Fi, formatTotalCapacity as Fn, eventLayoutSchema as Fr, setTicketLineQuantity as Ft, resolveRegistrationTarget as G, formatEventPricing as Ga, sectionForegroundBackground as Gi, readOverrideServiceCategories as Gn, browserReadAuthoritySchema as Gr, clearSignInReturnDrafts as Gt, findPreSelectedEvent as H, parseMailchimpInterestId as Ha, deriveSectionGround as Hi, groupPublicEventsByRun as Hn, isBlockButtonRole as Hr, eventSignInEnds as Ht, toInternalPaymentSelection as I, parseMailingListRuntimeContext as Ia, sectionShapeFromContent as Ii, getEventAvailability as In, filterAutoShowSchema as Ir, getRegistrationStartAt as It, beginWaitlistInvitation as J, publicEventPricingDisplay as Ja, themeV2CompilerOwnedFieldNames as Ji, formatBookingSubmissionPreparationError as Jn, buildInteractiveIslandProps as Jr, nextSignInReturnExpiry as Jt, resolveRouteRequiresPayment as K, isPublicEventPricingOptionDisplayable as Ka, sectionSurfaceBase as Ki, deriveBookingFormViewState as Kn, createHostedBlockApiConfig as Kr, createSignInReturnDraftStore as Kt, calculateEventRegistrationPreviewTotal as L, resolveBookingSignupOffer as La, sectionShapeHook as Li, getEventAvailabilityStatus as Ln, previewStageSchema as Lr, toRegistrationEvents as Lt, resolveEventRegistrationSubmitPlan as M, nextLiveRunSessionStartMs as Ma, navLinkHoverColorCandidate as Mi, canJoinEventWaitlistOnAnyMode as Mn, eventButtonVariantSchema as Mr, getTicketTypeLineMax as Mt, resolveHeadlessEventRegistrationStatus as N, orderedLiveRunSessions as Na, navLinkOwnsHoverForeground as Ni, formatEventRemainingPlaces as Nn, eventCalendarDefaultViewSchema as Nr, hasValidPricingOptionSelection as Nt, visitorHoldsOwnPlace as O, sanitizeHref as Oa, buildTextContrastShadow as Oi, groupEventsByDate as On, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as Or, canRequestTicketOption as Ot, resolveHeadlessEventRegistrationView as P, resolveWholeSeriesBookingPhase as Pa, navLinkOwnsUnderline as Pi, formatRemainingPlaces as Pn, eventCalendarDisplayModeSchema as Pr, normalizeTicketSelectionLines as Pt, getCurrentTicketSelection as Q, resolvePricingOptionsPriceDisplay as Qa, defineFrameCapability as Qi, getRegistrationSuccessCopy as Qn, normalizeEventRegistrationPageSurfaceSubject as Qr, placesLeftLabel as Qt, buildBookingPaymentSelectionViewModel as R, DEFAULT_MAILING_LIST_PRIVACY_NOTE as Ra, boundaryRuntimeMetricsForDecorativeTransition as Ri, getRemainingPlaces as Rn, registrationButtonVariantSchema as Rr, toWholeSeriesRegistrationEvent as Rt, planRegistrationDetailsContinuation as S, surfaceCardRoleValues as Sa, compiledRuntimeStyleFieldNames as Si, formatEventCompactDateRail as Sn, deriveBookingQuestions as Sr, getTicketTypeAvailabilityLabel as St, resolveRegistrationAvailabilityBlocker as T, asLayoutVariantKey as Ta, generateFooterCss as Ti, formatEventNextDateFact as Tn, toBookingQuestionsAnswerDraft as Tr, transformRegistrationOptionsResponse as Tt, resolveDiscountContext as U, parseNewsletterListId as Ua, parseCanonicalRuntimeBackground as Ui, bookingFormInteractiveIslandPropsCodec as Un, readRuntimeNow as Ur, eventSignInRestoration as Ut, paymentChoicePrice as V, parseMailchimpAudienceId as Va, applyLookPhotoTreatment as Vi, selectMostOpenCapacitySource as Vn, blockButtonRoleSchema as Vr, eventSignInDraftStore as Vt, resolveEventRequiresPayment as W, formatBookingPriceDisplay as Wa, resolveSectionBackground as Wi, buildBookingFormInteractiveIslandProps as Wn, resolveDateRuntimeContext as Wr, toEventSignInDraft as Wt, invitationSubmission as X, publicEventPricingType as Xa, assertNever as Xi, getBookingServiceSlidingScale as Xn, defineInteractiveIslandMetaKeys as Xr, signInReturnPath as Xt, createRegistrationDraftData as Y, publicEventPricingStrategy as Ya, resolveEffectiveKnobs as Yi, getBookingRedirectStateFromLocation as Yn, createInteractiveIslandCodec as Yr, readSignInReturn as Yt, formatCentsAsCurrencyInput as Z, resolveExactOrFreePriceDisplay as Za, defineBlockDesignCapability as Zi, getBookingSuccessCopy as Zn, eventRegistrationPageSurfaceSubjectSchema as Zr, sweepExpiredSignInReturnDrafts as Zt, shouldPromptForLogin as _, cardRoleSchema as _a, resolveEffectiveArrangement as _i, eventDateOptions as _n, isAppointmentBookingQuestionsEvent as _r, formatPassCreditUsageLabel as _t, registrationPresentation as a, cardListKnobBlocks as aa, listLookControl as ai, computeMediaTransformStyle as an, resolveAppointmentCheckoutVerificationState as ar, resolveHeldTicketPlaces as at, placeCountCeiling as b, itemRoleValues as ba, deriveSiteStyleBlockPolicy as bi, formatDate$1 as bn, bookingQuestionsPaymentSnapshotSchema as br, getImplicitSingleTicketType as bt, registrationStepLabelContext as c, selectLogoVariant as ca, resolvedItemSurfaceProps as ci, renderVideo as cn, resolveDefaultBookingServiceId as cr, validateFormData as ct, decideEventChoice as d, TokenResolver as da, resolveLookSurfacePresentation as di, resolveImageUrlWithContext as dn, projectSelectedAppointmentConsentIntoForm as dr, ENTITLEMENT_SINGLE_TICKET_TOOLTIP as dt, introCompositionTreatmentValues as ea, createZodCodec as ei, resolveRegistrationDisplay as en, unsafeAsSiteId as eo, isBookingServiceSlidingAmountInRange as er, getRegistrationOccurrenceId as et, getDeclinedPass as f, boxBackgroundOverlaySchema as fa, selectItemSurfacePresentation as fi, resolveMediaNodeResponsiveImage as fn, resolveSelectedAppointmentConsent as fr, areEntitlementsDisabledForTicketCount as ft, decideEventRegistrationPayment as g, boxlessCardVariantValue as ga, readStoredMode as gi, eventDateLocale as gn, deriveAppointmentBookingQuestions as gr, formatEventDateTime as gt, buildEventRegistrationPaymentOptionsViewModel as h, tokenOrCssColorValueSchema as ha, arrangementManifestFromVariants as hi, eventCalendarWeekStart as hn, appointmentQuestionsRefusal as hr, formatDate as ht, registrationPaymentRoute as i, cardListFamilyBlocks as ia, listItemPresentation as ii, MediaPlaceholder as in, prepareBookingSubmission as ir, parseCurrencyInputToCents as it, normalizeEventRegistrationMaxTickets as j, CANCELLED_SESSION_STATUS as ja, generateInteractiveChildInheritanceCSS as ji, canJoinEventWaitlist as jn, columnOptionSchema as jr, getTicketSelectionTotal as jt, deriveEventRegistrationSteps as k, parseAspectRatioValue as ka, generateNavLinkCSS as ki, resolveEventTimeZone as kn, bookingNowSchema as kr, getSingleSelectedPricingOptionId as kt, areEventRegistrationPaymentSelectionsEqual as l, surfaceToneFromForegroundToken as la, itemRole as li, resolveImageSourceSetWithContext as ln, selectedBookingCollectionOptionKind as lr, confirmationPaymentRows as lt, registrationFlowReducer as m, runtimeBoxBackgroundSchema as ma, arrangementLookHooks as mi, buildCalendarViewport as mn, applyAppointmentBookingQuestionsEvent as mr, formatBookingWhen as mt, getEventSelectionMode as n, testimonialsCompositionTreatmentValues as na, defineProgressiveBlockRuntime as ni, RichText as nn, normalizeBookingServices as nr, getSlidingScaleSelectionMessage as nt, registrationRoute as o, opaqueSurfaceContextFromTheme as oa, listLookSlot as oi, mediaImageHostProps as on, resolveBookingPaymentStep as or, shouldLoadRegistrationOptions as ot, isRegistrationLocked as p, boxBackgroundSchema as pa, arrangementAppearancePresets as pi, resolvePublicMediaUrl as pn, EMPTY_APPOINTMENT_BOOKING_QUESTIONS as pr, findSelectedTicketType as pt, toRegistrationRequestSubject as q, publicEventPricingCurrency as qa, stripStaleTransitionStyleGroup as qi, formatBookingCentsAsCurrencyInput as qn, getBlockApiReadStage as qr, decideSignInReturn as qt, panelShouldOpen as r, toNonEmptyReadonlyArray as ra, isDecodeSuccess as ri, ImagePresets as rn, parseBookingCurrencyInputToCents as rr, getTicketSelectionRemainingPlaces as rt, registrationStepLabel as s, opaqueSurfaceDeclarations as sa, lookListPresentationSchemaShape as si, renderAudio as sn, resolveBookingSiteId as sr, registrationQuestionsMessage as st, REGISTRATION_STEP_LABELS as t, offeringsPreviewCompositionTreatmentValues as ta, defineClientOwnedBlockRuntime as ti, shownVenue as tn, parseEventSeriesId as to, normalizeBookingFormConfig as tr, getSlidingScaleForEvent as tt, createInitialRegistrationFlowState as u, arrangementSlotNames as ua, lookPresentationOnPalette as ui, resolveImageUrl as un, toSelectedCollectionOptionKind as ur, resolveFinishedPresentation as ut, fullyBookedLabel as v, cardSystemSchema as va, resolveModeArrangement as vi, eventLocalDateKey as vn, needsAppointmentQuestionsRefresh as vr, formatRegistrationSchedule as vt, resolveRegistrationAdmission as w, asDesignBlockId as wa, generateDefaultCardSystem as wi, formatEventHourLabel as wn, restoreBookingQuestionsAnswers as wr, occurrenceTitleOverride as wt, planRegistrationDetailsCheck as x, openCardRoleValue as xa, requireCuratedSiteStyle as xi, formatEventClockLabel as xn, decideBookingQuestionsRestoration as xr, getPortalSubjectEmail as xt, getTicketSelectionPurpose as y, cardVariantRoleValues as ya, resolvePublishedLook as yi, formatCalendarTitle as yn, bookingQuestionsAnswerDraftSchema as yr, formatTime as yt, buildReviewedBookingPaymentViewModel as z, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as za, anglePolygonCss as zi, isEventFull as zn, weekStartSchema as zr, toWholeSeriesRegistrationEvents as zt };
|
|
28774
|
+
//#region ../blocks/src/system/runtime/nodes/shop-commerce.shared.ts
|
|
28775
|
+
const EMPTY_COMMERCE_CART_STATE = { items: [] };
|
|
28776
|
+
const storedProductCartItemSchema = z.object({
|
|
28777
|
+
kind: z.literal("product"),
|
|
28778
|
+
productId: z.string().min(1),
|
|
28779
|
+
productCategoryId: z.string().min(1).optional().nullable(),
|
|
28780
|
+
variantId: z.string().min(1).optional().nullable(),
|
|
28781
|
+
title: z.string().min(1),
|
|
28782
|
+
variantTitle: z.string().optional().nullable(),
|
|
28783
|
+
quantity: z.number().finite(),
|
|
28784
|
+
unitPriceCents: z.number().finite(),
|
|
28785
|
+
currency: z.string().min(1),
|
|
28786
|
+
imageUrl: z.string().optional().nullable(),
|
|
28787
|
+
soldOut: z.boolean().optional()
|
|
28788
|
+
});
|
|
28789
|
+
const storedPassCartItemSchema = z.object({
|
|
28790
|
+
kind: z.literal("pass"),
|
|
28791
|
+
passId: z.string().min(1),
|
|
28792
|
+
title: z.string().min(1),
|
|
28793
|
+
teamMember: z.object({
|
|
28794
|
+
id: z.string().min(1),
|
|
28795
|
+
name: z.string().min(1)
|
|
28796
|
+
}).optional(),
|
|
28797
|
+
quantity: z.number().finite().optional(),
|
|
28798
|
+
unitPriceCents: z.number().finite(),
|
|
28799
|
+
currency: z.string().min(1)
|
|
28800
|
+
});
|
|
28801
|
+
function toPositiveInteger(value) {
|
|
28802
|
+
return Math.max(1, Math.floor(value));
|
|
28803
|
+
}
|
|
28804
|
+
function productItemKey(productId, variantId) {
|
|
28805
|
+
return `product:${productId}:${variantId ?? "base"}`;
|
|
28806
|
+
}
|
|
28807
|
+
function passItemKey(passId, teamMemberId) {
|
|
28808
|
+
return teamMemberId ? `pass:${passId}:${teamMemberId}` : `pass:${passId}`;
|
|
28809
|
+
}
|
|
28810
|
+
function parseStoredCartItem(value) {
|
|
28811
|
+
const productResult = storedProductCartItemSchema.safeParse(value);
|
|
28812
|
+
if (productResult.success) {
|
|
28813
|
+
const item = productResult.data;
|
|
28814
|
+
return {
|
|
28815
|
+
key: productItemKey(item.productId, item.variantId),
|
|
28816
|
+
kind: "product",
|
|
28817
|
+
productId: item.productId,
|
|
28818
|
+
productCategoryId: item.productCategoryId ?? null,
|
|
28819
|
+
...item.variantId ? { variantId: item.variantId } : {},
|
|
28820
|
+
title: item.title,
|
|
28821
|
+
variantTitle: item.variantTitle ?? null,
|
|
28822
|
+
quantity: toPositiveInteger(item.quantity),
|
|
28823
|
+
unitPriceCents: Math.max(0, Math.round(item.unitPriceCents)),
|
|
28824
|
+
currency: item.currency,
|
|
28825
|
+
imageUrl: item.imageUrl ?? null,
|
|
28826
|
+
soldOut: item.soldOut ?? false
|
|
28827
|
+
};
|
|
28828
|
+
}
|
|
28829
|
+
const passResult = storedPassCartItemSchema.safeParse(value);
|
|
28830
|
+
if (passResult.success) {
|
|
28831
|
+
const item = passResult.data;
|
|
28832
|
+
return {
|
|
28833
|
+
key: passItemKey(item.passId, item.teamMember?.id),
|
|
28834
|
+
kind: "pass",
|
|
28835
|
+
passId: item.passId,
|
|
28836
|
+
title: item.title,
|
|
28837
|
+
...item.teamMember ? { teamMember: item.teamMember } : {},
|
|
28838
|
+
quantity: 1,
|
|
28839
|
+
unitPriceCents: Math.max(0, Math.round(item.unitPriceCents)),
|
|
28840
|
+
currency: item.currency
|
|
28841
|
+
};
|
|
28842
|
+
}
|
|
28843
|
+
return null;
|
|
28844
|
+
}
|
|
28845
|
+
function parseStoredCommerceCartState(raw) {
|
|
28846
|
+
if (!raw) return EMPTY_COMMERCE_CART_STATE;
|
|
28847
|
+
try {
|
|
28848
|
+
const parsed = JSON.parse(raw);
|
|
28849
|
+
if (!Array.isArray(parsed.items)) return EMPTY_COMMERCE_CART_STATE;
|
|
28850
|
+
return { items: parsed.items.map((item) => parseStoredCartItem(item)).filter((item) => item !== null) };
|
|
28851
|
+
} catch {
|
|
28852
|
+
return EMPTY_COMMERCE_CART_STATE;
|
|
28853
|
+
}
|
|
28854
|
+
}
|
|
28855
|
+
function buildProductCartItem(input) {
|
|
28856
|
+
const variant = input.variantId ? input.product.variants.find((candidate) => candidate.id === input.variantId) ?? null : null;
|
|
28857
|
+
return {
|
|
28858
|
+
key: productItemKey(input.product.id, variant?.id ?? null),
|
|
28859
|
+
kind: "product",
|
|
28860
|
+
productId: input.product.id,
|
|
28861
|
+
productCategoryId: input.product.category?.id ?? null,
|
|
28862
|
+
...variant?.id ? { variantId: variant.id } : {},
|
|
28863
|
+
title: input.product.title,
|
|
28864
|
+
variantTitle: variant?.title ?? null,
|
|
28865
|
+
quantity: toPositiveInteger(input.quantity ?? 1),
|
|
28866
|
+
unitPriceCents: variant?.priceCents ?? input.product.priceCents,
|
|
28867
|
+
currency: input.product.currency,
|
|
28868
|
+
imageUrl: input.product.gallery[0]?.url ?? null,
|
|
28869
|
+
soldOut: variant?.soldOut ?? input.product.soldOut
|
|
28870
|
+
};
|
|
28871
|
+
}
|
|
28872
|
+
function buildPassCartItem(input) {
|
|
28873
|
+
return {
|
|
28874
|
+
key: passItemKey(input.passId, input.teamMember?.id),
|
|
28875
|
+
kind: "pass",
|
|
28876
|
+
passId: input.passId,
|
|
28877
|
+
title: input.title,
|
|
28878
|
+
...input.teamMember ? { teamMember: input.teamMember } : {},
|
|
28879
|
+
quantity: 1,
|
|
28880
|
+
unitPriceCents: Math.max(0, Math.round(input.unitPriceCents)),
|
|
28881
|
+
currency: input.currency
|
|
28882
|
+
};
|
|
28883
|
+
}
|
|
28884
|
+
function reduceCommerceCart(state, action) {
|
|
28885
|
+
switch (action.type) {
|
|
28886
|
+
case "add_product": {
|
|
28887
|
+
const existing = state.items.find((item) => item.key === action.item.key);
|
|
28888
|
+
if (!existing || existing.kind !== "product") return { items: [...state.items, action.item] };
|
|
28889
|
+
return { items: state.items.map((item) => item.key === action.item.key && item.kind === "product" ? {
|
|
28890
|
+
...item,
|
|
28891
|
+
quantity: item.quantity + action.item.quantity,
|
|
28892
|
+
soldOut: action.item.soldOut ?? item.soldOut
|
|
28893
|
+
} : item) };
|
|
28894
|
+
}
|
|
28895
|
+
case "add_pass":
|
|
28896
|
+
if (state.items.some((item) => item.key === action.item.key)) return state;
|
|
28897
|
+
return { items: [...state.items, action.item] };
|
|
28898
|
+
case "update_quantity": return { items: state.items.map((item) => item.key === action.itemKey && item.kind === "product" ? {
|
|
28899
|
+
...item,
|
|
28900
|
+
quantity: toPositiveInteger(action.quantity)
|
|
28901
|
+
} : item) };
|
|
28902
|
+
case "remove_item": return { items: state.items.filter((item) => item.key !== action.itemKey) };
|
|
28903
|
+
case "clear": return EMPTY_COMMERCE_CART_STATE;
|
|
28904
|
+
}
|
|
28905
|
+
}
|
|
28906
|
+
function deriveCommerceCheckoutState(state) {
|
|
28907
|
+
if (state.items.length === 0) return { kind: "empty" };
|
|
28908
|
+
const currencies = Array.from(new Set(state.items.map((item) => item.currency.toUpperCase())));
|
|
28909
|
+
if (currencies.length > 1) return {
|
|
28910
|
+
kind: "blocked",
|
|
28911
|
+
reason: "mixed_currency"
|
|
28912
|
+
};
|
|
28913
|
+
return {
|
|
28914
|
+
kind: "ready",
|
|
28915
|
+
currency: currencies[0] ?? "USD",
|
|
28916
|
+
subtotalCents: state.items.reduce((sum, item) => sum + item.unitPriceCents * item.quantity, 0),
|
|
28917
|
+
items: state.items
|
|
28918
|
+
};
|
|
28919
|
+
}
|
|
28920
|
+
function resolveSelectedProduct(products, selection) {
|
|
28921
|
+
const contentEntry = selection.template.kind === "product" ? selection.contentEntry : null;
|
|
28922
|
+
const explicitSlug = selection.productSlug?.trim() || null;
|
|
28923
|
+
if (contentEntry?.id) {
|
|
28924
|
+
const byEntryId = products.find((product) => product.contentEntryId === contentEntry.id);
|
|
28925
|
+
if (byEntryId) return byEntryId;
|
|
28926
|
+
}
|
|
28927
|
+
if (explicitSlug) {
|
|
28928
|
+
const byExplicitSlug = products.find((product) => product.slug === explicitSlug);
|
|
28929
|
+
if (byExplicitSlug) return byExplicitSlug;
|
|
28930
|
+
}
|
|
28931
|
+
if (contentEntry?.slug) {
|
|
28932
|
+
const byEntrySlug = products.find((product) => product.slug === contentEntry.slug);
|
|
28933
|
+
if (byEntrySlug) return byEntrySlug;
|
|
28934
|
+
}
|
|
28935
|
+
return null;
|
|
28936
|
+
}
|
|
28937
|
+
//#endregion
|
|
28938
|
+
//#region ../blocks/src/system/runtime/nodes/commerce/shared/display.ts
|
|
28939
|
+
function formatCommercePrice(cents, currency) {
|
|
28940
|
+
return formatCurrencyAmount(cents, currency);
|
|
28941
|
+
}
|
|
28942
|
+
function getPassesHeading(passes, explicitHeading) {
|
|
28943
|
+
if (explicitHeading) return explicitHeading;
|
|
28944
|
+
return deriveCreditProductLabels(passes, { style: "class" }).heading;
|
|
28945
|
+
}
|
|
28946
|
+
function resolveSelectedVariant(product, selectedVariantId) {
|
|
28947
|
+
if (!selectedVariantId) return product.variants[0] ?? null;
|
|
28948
|
+
return product.variants.find((candidate) => candidate.id === selectedVariantId) ?? product.variants[0] ?? null;
|
|
28949
|
+
}
|
|
28950
|
+
function buildProductCardDisplay(product, options, selectedVariantId) {
|
|
28951
|
+
const selectedVariant = resolveSelectedVariant(product, selectedVariantId);
|
|
28952
|
+
const soldOut = selectedVariant?.soldOut ?? product.soldOut;
|
|
28953
|
+
const priceLabel = options.showPrices ? formatCommercePrice(selectedVariant?.priceCents ?? product.priceCents, product.currency) : null;
|
|
28954
|
+
const selectionLabel = selectedVariant ? `${product.title} – ${selectedVariant.title}` : product.title;
|
|
28955
|
+
return {
|
|
28956
|
+
productId: product.id,
|
|
28957
|
+
title: product.title,
|
|
28958
|
+
path: product.path ?? null,
|
|
28959
|
+
summary: options.showSummary ? product.summary : null,
|
|
28960
|
+
priceLabel,
|
|
28961
|
+
image: product.gallery[0] ? {
|
|
28962
|
+
url: product.gallery[0].url,
|
|
28963
|
+
alt: product.gallery[0].alt ?? null
|
|
28964
|
+
} : null,
|
|
28965
|
+
variantOptions: product.variants.map((variant) => ({
|
|
28966
|
+
id: variant.id,
|
|
28967
|
+
label: variant.title,
|
|
28968
|
+
soldOut: variant.soldOut
|
|
28969
|
+
})),
|
|
28970
|
+
selectedVariantId: selectedVariant?.id ?? null,
|
|
28971
|
+
selectionLabel,
|
|
28972
|
+
actionLabel: options.addButtonText,
|
|
28973
|
+
soldOut
|
|
28974
|
+
};
|
|
28975
|
+
}
|
|
28976
|
+
function buildProductListDisplay(products, options) {
|
|
28977
|
+
const cards = products.map((product) => buildProductCardDisplay(product, options));
|
|
28978
|
+
return {
|
|
28979
|
+
kind: "product-list",
|
|
28980
|
+
state: cards.length === 0 ? "empty" : "ready",
|
|
28981
|
+
heading: options.heading ?? null,
|
|
28982
|
+
className: options.className ?? null,
|
|
28983
|
+
layout: options.layout ?? "grid",
|
|
28984
|
+
columns: options.columns ?? "3",
|
|
28985
|
+
emptyMessage: options.emptyMessage ?? "No products available right now.",
|
|
28986
|
+
cards
|
|
28987
|
+
};
|
|
28988
|
+
}
|
|
28989
|
+
function buildProductDetailDisplay(product, options, selectedVariantId) {
|
|
28990
|
+
if (!product) return {
|
|
28991
|
+
kind: "product-detail",
|
|
28992
|
+
state: "empty",
|
|
28993
|
+
heading: options.heading ?? null,
|
|
28994
|
+
className: options.className ?? null,
|
|
28995
|
+
emptyMessage: options.emptyMessage ?? "Product unavailable."
|
|
28996
|
+
};
|
|
28997
|
+
const selectedVariant = resolveSelectedVariant(product, selectedVariantId);
|
|
28998
|
+
const soldOut = selectedVariant?.soldOut ?? product.soldOut;
|
|
28999
|
+
return {
|
|
29000
|
+
kind: "product-detail",
|
|
29001
|
+
state: "ready",
|
|
29002
|
+
heading: options.heading ?? null,
|
|
29003
|
+
className: options.className ?? null,
|
|
29004
|
+
title: product.title,
|
|
29005
|
+
priceLabel: formatCommercePrice(selectedVariant?.priceCents ?? product.priceCents, product.currency),
|
|
29006
|
+
summary: options.showSummary ? product.summary : null,
|
|
29007
|
+
categoryLabel: product.category?.name ?? null,
|
|
29008
|
+
gallery: product.gallery.map((image) => ({
|
|
29009
|
+
url: image.url,
|
|
29010
|
+
alt: image.alt ?? null
|
|
29011
|
+
})),
|
|
29012
|
+
variantOptions: product.variants.map((variant) => ({
|
|
29013
|
+
id: variant.id,
|
|
29014
|
+
label: variant.title,
|
|
29015
|
+
soldOut: variant.soldOut
|
|
29016
|
+
})),
|
|
29017
|
+
selectedVariantId: selectedVariant?.id ?? null,
|
|
29018
|
+
selectionLabel: selectedVariant ? `${product.title} – ${selectedVariant.title}` : product.title,
|
|
29019
|
+
actionLabel: options.addButtonText,
|
|
29020
|
+
soldOut,
|
|
29021
|
+
body: product.body
|
|
29022
|
+
};
|
|
29023
|
+
}
|
|
29024
|
+
function passCardDisplay(pass, options) {
|
|
29025
|
+
const creditUnit = getCreditProductCreditUnit(pass.productUseCase);
|
|
29026
|
+
return {
|
|
29027
|
+
id: pass.id,
|
|
29028
|
+
title: pass.name,
|
|
29029
|
+
description: options.showDescriptions ? pass.description : null,
|
|
29030
|
+
priceLabel: formatCommercePrice(pass.price, pass.currency),
|
|
29031
|
+
...options.cardList ? {
|
|
29032
|
+
priceAmountLabel: formatCurrencyAmount(pass.price, pass.currency, { decimals: "auto" }),
|
|
29033
|
+
perCreditAmountLabel: options.showPricePerCredit ? `${formatCurrencyAmount(pass.pricePerCredit, pass.currency, { decimals: "auto" })} a ${creditUnit.perCreditSuffix}` : null
|
|
29034
|
+
} : {},
|
|
29035
|
+
creditsLabel: `${pass.creditsTotal} ${pass.creditsTotal === 1 ? creditUnit.singular : creditUnit.plural}`,
|
|
29036
|
+
perCreditLabel: options.showPricePerCredit ? `${formatCommercePrice(pass.pricePerCredit, pass.currency)}/${creditUnit.perCreditSuffix}` : null,
|
|
29037
|
+
validityLabel: options.showValidityPeriod && pass.validDays ? formatValidity(pass.validDays) : null,
|
|
29038
|
+
action: pass.purchaseAvailability === "purchasable" ? {
|
|
29039
|
+
kind: "purchase",
|
|
29040
|
+
label: options.passActionLabel,
|
|
29041
|
+
product: pass
|
|
29042
|
+
} : {
|
|
29043
|
+
kind: "unavailable",
|
|
29044
|
+
label: "Online purchasing is unavailable."
|
|
29045
|
+
}
|
|
29046
|
+
};
|
|
29047
|
+
}
|
|
29048
|
+
function membershipCardDisplay(membership, options) {
|
|
29049
|
+
return {
|
|
29050
|
+
id: membership.id,
|
|
29051
|
+
title: membership.name,
|
|
29052
|
+
description: options.showDescriptions ? membership.description : null,
|
|
29053
|
+
priceLabel: formatCommercePrice(membership.price, membership.currency),
|
|
29054
|
+
...options.cardList ? {
|
|
29055
|
+
priceAmountLabel: formatCurrencyAmount(membership.price, membership.currency, { decimals: "auto" }),
|
|
29056
|
+
priceUnitLabel: `a ${membership.billingInterval}`
|
|
29057
|
+
} : {},
|
|
29058
|
+
intervalLabel: formatInterval(membership.billingInterval),
|
|
29059
|
+
action: membership.purchaseAvailability === "purchasable" ? {
|
|
29060
|
+
kind: "purchase",
|
|
29061
|
+
label: options.membershipActionLabel,
|
|
29062
|
+
product: membership
|
|
29063
|
+
} : {
|
|
29064
|
+
kind: "unavailable",
|
|
29065
|
+
label: "Online purchasing is unavailable."
|
|
29066
|
+
}
|
|
29067
|
+
};
|
|
29068
|
+
}
|
|
29069
|
+
function buildPassesMembershipsDisplay(options) {
|
|
29070
|
+
const passes = options.passes.map((pass) => passCardDisplay(pass, options));
|
|
29071
|
+
const memberships = options.memberships.map((membership) => membershipCardDisplay(membership, options));
|
|
29072
|
+
return {
|
|
29073
|
+
kind: "passes-memberships",
|
|
29074
|
+
state: passes.length === 0 && memberships.length === 0 ? "empty" : "ready",
|
|
29075
|
+
className: options.className ?? null,
|
|
29076
|
+
layout: options.layout ?? "grid",
|
|
29077
|
+
columns: options.columns ?? "2",
|
|
29078
|
+
emptyMessage: options.emptyMessage ?? "No products available at this time.",
|
|
29079
|
+
passesHeading: getPassesHeading(options.passes, options.passesHeading),
|
|
29080
|
+
membershipsHeading: options.membershipsHeading ?? "Memberships",
|
|
29081
|
+
passes,
|
|
29082
|
+
memberships
|
|
29083
|
+
};
|
|
29084
|
+
}
|
|
29085
|
+
function cartLineTitle(item) {
|
|
29086
|
+
if (item.kind === "product") return item.variantTitle ? `${item.title} – ${item.variantTitle}` : item.title;
|
|
29087
|
+
return item.teamMember ? `${item.title} with ${item.teamMember.name}` : item.title;
|
|
29088
|
+
}
|
|
29089
|
+
function buildCartDisplay(items, options) {
|
|
29090
|
+
if (items.length === 0) return {
|
|
29091
|
+
kind: "cart",
|
|
29092
|
+
state: "empty",
|
|
29093
|
+
heading: options.heading ?? null,
|
|
29094
|
+
className: options.className ?? null,
|
|
29095
|
+
emptyMessage: options.emptyMessage ?? "Your cart is empty.",
|
|
29096
|
+
supportText: options.supportText ?? null,
|
|
29097
|
+
items: [],
|
|
29098
|
+
subtotalLabel: null,
|
|
29099
|
+
checkoutButtonText: options.checkoutButtonText ?? "Go to checkout",
|
|
29100
|
+
clearButtonText: options.clearButtonText ?? "Clear cart"
|
|
29101
|
+
};
|
|
29102
|
+
const itemsDisplay = items.map((item) => ({
|
|
29103
|
+
key: item.key,
|
|
29104
|
+
title: cartLineTitle(item),
|
|
29105
|
+
priceLabel: `${formatCommercePrice(item.unitPriceCents, item.currency)} each`,
|
|
29106
|
+
quantity: item.quantity,
|
|
29107
|
+
quantityEditable: item.kind === "product"
|
|
29108
|
+
}));
|
|
29109
|
+
const checkoutState = deriveCommerceCheckoutState({ items: [...items] });
|
|
29110
|
+
return {
|
|
29111
|
+
kind: "cart",
|
|
29112
|
+
state: "ready",
|
|
29113
|
+
heading: options.heading ?? null,
|
|
29114
|
+
className: options.className ?? null,
|
|
29115
|
+
emptyMessage: options.emptyMessage ?? "Your cart is empty.",
|
|
29116
|
+
supportText: null,
|
|
29117
|
+
items: itemsDisplay,
|
|
29118
|
+
subtotalLabel: checkoutState.kind === "ready" ? formatCommercePrice(checkoutState.subtotalCents, checkoutState.currency) : null,
|
|
29119
|
+
checkoutButtonText: options.checkoutButtonText ?? "Go to checkout",
|
|
29120
|
+
clearButtonText: options.clearButtonText ?? "Clear cart"
|
|
29121
|
+
};
|
|
29122
|
+
}
|
|
29123
|
+
function buildCheckoutDisplay(checkoutState, options) {
|
|
29124
|
+
if (checkoutState.kind === "empty") return {
|
|
29125
|
+
kind: "checkout",
|
|
29126
|
+
state: "empty",
|
|
29127
|
+
heading: options.heading ?? null,
|
|
29128
|
+
className: options.className ?? null,
|
|
29129
|
+
message: options.emptyMessage ?? "Add something to your cart to continue.",
|
|
29130
|
+
submitButtonText: options.submitButtonText ?? "Checkout"
|
|
29131
|
+
};
|
|
29132
|
+
if (checkoutState.kind === "blocked") return {
|
|
29133
|
+
kind: "checkout",
|
|
29134
|
+
state: "blocked",
|
|
29135
|
+
heading: options.heading ?? null,
|
|
29136
|
+
className: options.className ?? null,
|
|
29137
|
+
message: checkoutState.reason === "mixed_currency" ? "Mixed-currency carts are not supported." : "Checkout is unavailable for this cart.",
|
|
29138
|
+
submitButtonText: options.submitButtonText ?? "Checkout"
|
|
29139
|
+
};
|
|
29140
|
+
return {
|
|
29141
|
+
kind: "checkout",
|
|
29142
|
+
state: "ready",
|
|
29143
|
+
heading: options.heading ?? null,
|
|
29144
|
+
className: options.className ?? null,
|
|
29145
|
+
message: null,
|
|
29146
|
+
submitButtonText: options.submitButtonText ?? "Checkout"
|
|
29147
|
+
};
|
|
29148
|
+
}
|
|
29149
|
+
function formatInterval(interval) {
|
|
29150
|
+
return interval === "month" ? "/month" : "/year";
|
|
29151
|
+
}
|
|
29152
|
+
function formatValidity(days) {
|
|
29153
|
+
if (days === 1) return "Valid for 1 day";
|
|
29154
|
+
if (days < 30) return `Valid for ${days} days`;
|
|
29155
|
+
if (days === 30) return "Valid for 1 month";
|
|
29156
|
+
if (days === 365) return "Valid for 1 year";
|
|
29157
|
+
return `Valid for ${Math.round(days / 30)} months`;
|
|
29158
|
+
}
|
|
29159
|
+
const membershipClassesLabel = "Unlimited classes";
|
|
29160
|
+
function passCardListContent(display) {
|
|
29161
|
+
return {
|
|
29162
|
+
id: display.id,
|
|
29163
|
+
title: display.title,
|
|
29164
|
+
text: display.description,
|
|
29165
|
+
price: {
|
|
29166
|
+
amount: display.priceAmountLabel ?? display.priceLabel,
|
|
29167
|
+
unit: display.creditsLabel
|
|
29168
|
+
},
|
|
29169
|
+
facts: [...display.validityLabel ? [{
|
|
29170
|
+
label: "Validity",
|
|
29171
|
+
value: display.validityLabel
|
|
29172
|
+
}] : [], ...display.perCreditLabel ? [{
|
|
29173
|
+
label: "Price per credit",
|
|
29174
|
+
value: display.perCreditAmountLabel ?? display.perCreditLabel
|
|
29175
|
+
}] : []],
|
|
29176
|
+
action: { label: display.action.label }
|
|
29177
|
+
};
|
|
29178
|
+
}
|
|
29179
|
+
function membershipCardListContent(display) {
|
|
29180
|
+
return {
|
|
29181
|
+
id: display.id,
|
|
29182
|
+
title: display.title,
|
|
29183
|
+
text: display.description,
|
|
29184
|
+
price: {
|
|
29185
|
+
amount: display.priceAmountLabel ?? display.priceLabel,
|
|
29186
|
+
unit: display.priceUnitLabel ?? display.intervalLabel
|
|
29187
|
+
},
|
|
29188
|
+
facts: [{
|
|
29189
|
+
label: "Classes",
|
|
29190
|
+
value: membershipClassesLabel
|
|
29191
|
+
}],
|
|
29192
|
+
action: { label: display.action.label }
|
|
29193
|
+
};
|
|
29194
|
+
}
|
|
29195
|
+
//#endregion
|
|
29196
|
+
export { resolveHeadlessEventRegistrationStatus as $, runtimeBoxBackgroundSchema as $a, arrangementLookHooks as $i, canJoinEventWaitlistOnAnyMode as $n, bookingRequiresResourceSelection as $r, getTicketTypeLineMax as $t, createInitialRegistrationFlowState as A, sectionForegroundBackground as Aa, leavePage as Ai, resolveImageSourceSetWithContext as An, formatEventPricing as Ao, selectedBookingCollectionOptionKind as Ar, confirmationPaymentRows as At, placeCountCeiling as B, offeringsPreviewCompositionTreatmentValues as Ba, defineClientOwnedBlockRuntime as Bi, formatCalendarTitle as Bn, parseEventSeriesId as Bo, bookingQuestionsAnswerDraftSchema as Br, formatTime as Bt, panelShouldOpen as C, boundaryRuntimeMetricsForDecorativeTransition as Ca, readRuntimeNow as Ci, RichText as Cn, DEFAULT_MAILING_LIST_PRIVACY_NOTE as Co, parseBookingCurrencyInputToCents as Cr, getTicketSelectionRemainingPlaces as Ct, registrationStepLabel as D, deriveSectionGround as Da, getBlockApiReadStage as Di, mediaImageHostProps as Dn, parseMailchimpInterestId as Do, resolveBookingSelectedService as Dr, withRegistrationAvailability as Dt, registrationRoute as E, applyLookPhotoTreatment as Ea, createHostedBlockApiConfig as Ei, computeMediaTransformStyle as En, parseMailchimpAudienceId as Eo, resolveBookingPaymentStep as Er, shouldLoadRegistrationOptions as Et, buildEventRegistrationPaymentOptionsViewModel as F, assertNever as Fa, defineInteractiveIslandMetaKeys as Fi, buildCalendarViewport as Fn, publicEventPricingType as Fo, applyAppointmentBookingQuestionsEvent as Fr, formatBookingWhen as Ft, resolveRegistrationAvailabilityBlocker as G, opaqueSurfaceContextFromTheme as Ga, listLookSlot as Gi, formatEventHourLabel as Gn, restoreBookingQuestionsAnswers as Gr, occurrenceTitleOverride as Gt, planRegistrationDetailsContinuation as H, toNonEmptyReadonlyArray as Ha, isDecodeSuccess as Hi, formatEventClockLabel as Hn, decideBookingQuestionsRestoration as Hr, getPortalSubjectEmail as Ht, decideEventRegistrationPayment as I, defineBlockDesignCapability as Ia, eventRegistrationPageSurfaceSubjectSchema as Ii, eventCalendarWeekStart as In, resolveExactOrFreePriceDisplay as Io, appointmentQuestionsRefusal as Ir, formatDate as It, visitorHoldsOwnPlace as J, surfaceToneFromForegroundToken as Ja, itemRole as Ji, formatTime$1 as Jn, BOOKING_FORM_DATA_RESERVED_KEYS as Jr, formatPrice as Jt, resolveRegistrationTicketContinuation as K, opaqueSurfaceDeclarations as Ka, lookListPresentationSchemaShape as Ki, formatEventNextDateFact as Kn, toBookingQuestionsAnswerDraft as Kr, transformRegistrationOptionsResponse as Kt, shouldPromptForLogin as L, defineFrameCapability as La, normalizeEventRegistrationPageSurfaceSubject as Li, eventDateLocale as Ln, resolvePricingOptionsPriceDisplay as Lo, deriveAppointmentBookingQuestions as Lr, formatEventDateTime as Lt, getDeclinedPass as M, stripStaleTransitionStyleGroup as Ma, requestSignIn as Mi, resolveImageUrlWithContext as Mn, publicEventPricingCurrency as Mo, projectSelectedAppointmentConsentIntoForm as Mr, ENTITLEMENT_SINGLE_TICKET_TOOLTIP as Mt, isRegistrationLocked as N, themeV2CompilerOwnedFieldNames as Na, buildInteractiveIslandProps as Ni, resolveMediaNodeResponsiveImage as Nn, publicEventPricingDisplay as No, resolveSelectedAppointmentConsent as Nr, areEntitlementsDisabledForTicketCount as Nt, registrationStepLabelContext as O, parseCanonicalRuntimeBackground as Oa, PAGE_NAVIGATION as Oi, renderAudio as On, parseNewsletterListId as Oo, resolveBookingSiteId as Or, registrationQuestionsMessage as Ot, registrationFlowReducer as P, resolveEffectiveKnobs as Pa, createInteractiveIslandCodec as Pi, resolvePublicMediaUrl as Pn, publicEventPricingStrategy as Po, EMPTY_APPOINTMENT_BOOKING_QUESTIONS as Pr, findSelectedTicketType as Pt, resolveEventRegistrationSubmitPlan as Q, boxBackgroundSchema as Qa, arrangementAppearancePresets as Qi, canJoinEventWaitlist as Qn, bookingPackageRequestKey as Qr, getTicketSelectionTotal as Qt, fullyBookedLabel as R, featureCardCompositionTreatmentValues as Ra, resolveEventRegistrationScopedEvents as Ri, eventDateOptions as Rn, parseSiteId as Ro, isAppointmentBookingQuestionsEvent as Rr, formatPassCreditUsageLabel as Rt, getEventSelectionMode as S, sectionShapeHook as Sa, isBlockButtonRole as Si, shownVenue as Sn, resolveBookingSignupOffer as So, normalizeBookingServices as Sr, getSlidingScaleSelectionMessage as St, registrationPresentation as T, transitionCatalogueEntries as Ta, browserReadAuthoritySchema as Ti, MediaPlaceholder as Tn, parseBrevoListId as To, resolveAppointmentCheckoutVerificationState as Tr, resolveHeldTicketPlaces as Tt, resolveGuestNextStepCheck as U, cardListFamilyBlocks as Ua, listItemPresentation as Ui, formatEventCompactDateRail as Un, deriveBookingQuestions as Ur, getTicketTypeAvailabilityLabel as Ut, planRegistrationDetailsCheck as V, testimonialsCompositionTreatmentValues as Va, defineProgressiveBlockRuntime as Vi, formatDate$1 as Vn, bookingQuestionsPaymentSnapshotSchema as Vr, getImplicitSingleTicketType as Vt, resolveRegistrationAdmission as W, cardListKnobBlocks as Wa, listLookControl as Wi, formatEventDateParts as Wn, needsBookingQuestionsRefresh as Wr, getVisibleTicketTypes as Wt, isEventRegistrationAvailable as X, TokenResolver as Xa, resolveLookSurfacePresentation as Xi, resolveEventTimeZone as Xn, applyBookingPaymentAdmission as Xr, getSingleSelectedPricingOptionId as Xt, deriveEventRegistrationSteps as Y, arrangementSlotNames as Ya, lookPresentationOnPalette as Yi, groupEventsByDate as Yn, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as Yr, canRequestTicketOption as Yt, normalizeEventRegistrationMaxTickets as Z, boxBackgroundOverlaySchema as Za, selectItemSurfacePresentation as Zi, resolveRuntimeEventDestination as Zn, bookingHasPackagePaymentChoices as Zr, getTicketLineQuantity as Zt, parseStoredCommerceCartState as _, navLinkHoverColorCandidate as _a, previewStageSchema as _i, signInReturnPath as _n, nextLiveRunSessionStartMs as _o, getBookingSuccessCopy as _r, formatCentsAsCurrencyInput as _t, buildProductDetailDisplay as a, deriveSiteStyleBlockPolicy as aa, resolveBookingPaymentMode as ai, toWholeSeriesRegistrationEvent as an, itemRoleValues as ao, getRemainingPlaces as ar, buildReviewedBookingPaymentViewModel as at, resolveSelectedProduct as b, sectionShapeForGround as ba, BLOCK_BUTTON_ROLE_OPTIONS as bi, registrationDisplaySchema as bn, resolveWholeSeriesRunLifecycle as bo, isBookingServiceSlidingAmountInRange as br, getRegistrationOccurrenceId as bt, formatInterval as c, resolveCardRole as ca, getBookingServiceSlidingScale as ci, eventSignInDraftStore as cn, siteChromeBackgroundOverrideOwner as co, selectMostOpenCapacitySource as cr, findPreSelectedEvent as ct, membershipClassesLabel as d, footerForegroundCandidates as da, columnOptionSchema as di, toEventSignInDraft as dn, asSiteStyleId as do, buildBookingFormInteractiveIslandProps as dr, resolveRegistrationTarget as dt, arrangementManifestFromVariants as ea, reconcileBookingPackagePurchase as ei, hasValidPricingOptionSelection as en, tokenOrCssColorValueSchema as eo, formatEventRemainingPlaces as er, resolveHeadlessEventRegistrationView as et, passCardListContent as f, getNavLinkPreset as fa, eventButtonVariantSchema as fi, clearSignInReturnDrafts as fn, makeBoundaryId as fo, readOverrideServiceCategories as fr, resolveRouteRequiresPayment as ft, deriveCommerceCheckoutState as g, generateInteractiveChildInheritanceCSS as ga, filterAutoShowSchema as gi, readSignInReturn as gn, CANCELLED_SESSION_STATUS as go, getBookingRedirectStateFromLocation as gr, invitationSubmission as gt, buildProductCartItem as h, generateEffectsCSS as ha, eventLayoutSchema as hi, nextSignInReturnExpiry as hn, isRecord$4 as ho, formatBookingSubmissionPreparationError as hr, createRegistrationDraftData as ht, buildProductCardDisplay as i, resolvePublishedLook as ia, resolveBookingPaymentChoice as ii, toRegistrationEvents as in, cardVariantRoleValues as io, getEventAvailabilityStatus as ir, buildBookingPaymentSelectionViewModel as it, decideEventChoice as j, sectionSurfaceBase as ja, pageNavigationSchema as ji, resolveImageUrl as jn, isPublicEventPricingOptionDisplayable as jo, toSelectedCollectionOptionKind as jr, resolveFinishedPresentation as jt, areEventRegistrationPaymentSelectionsEqual as k, resolveSectionBackground as ka, canonicalUrl as ki, renderVideo as kn, formatBookingPriceDisplay as ko, resolveDefaultBookingServiceId as kr, validateFormData as kt, formatValidity as l, generateDefaultCardSystem as la, bookingNowSchema as li, eventSignInEnds as ln, asDesignBlockId as lo, groupPublicEventsByRun as lr, resolveDiscountContext as lt, buildPassCartItem as m, generateNavLinkCSS as ma, eventCalendarDisplayModeSchema as mi, decideSignInReturn as mn, parseAspectRatioValue as mo, formatBookingCentsAsCurrencyInput as mr, beginWaitlistInvitation as mt, buildCheckoutDisplay as n, resolveEffectiveArrangement as na, resolveBookingPackageSources as ni, setTicketLineQuantity as nn, cardRoleSchema as no, formatTotalCapacity as nr, toInternalPaymentSelection as nt, buildProductListDisplay as o, requireCuratedSiteStyle as oa, resolveBookingPurchasablePackages as oi, toWholeSeriesRegistrationEvents as on, openCardRoleValue as oo, isEventFull as or, paymentChoiceDetails as ot, EMPTY_COMMERCE_CART_STATE as p, buildTextContrastShadow as pa, eventCalendarDefaultViewSchema as pi, createSignInReturnDraftStore as pn, sanitizeHref as po, deriveBookingFormViewState as pr, toRegistrationRequestSubject as pt, settledRemainingPlaces as q, selectLogoVariant as qa, resolvedItemSurfaceProps as qi, formatEventTimeRange as qn, toBookingQuestionsPaymentSnapshot as qr, withOccurrenceTitle as qt, buildPassesMembershipsDisplay as r, resolveModeArrangement as ra, resolveBookingPaymentAvailability as ri, getRegistrationStartAt as rn, cardSystemSchema as ro, getEventAvailability as rr, calculateEventRegistrationPreviewTotal as rt, formatCommercePrice as s, compiledRuntimeStyleFieldNames as sa, toBookingPurchasablePackages as si, EVENT_SIGN_IN_FORM_ID as sn, surfaceCardRoleValues as so, selectEventCapacitySource as sr, paymentChoicePrice as st, buildCartDisplay as t, readStoredMode as ta, resolveBookingPackagePaymentSelection as ti, normalizeTicketSelectionLines as tn, boxlessCardVariantValue as to, formatRemainingPlaces as tr, toHeadlessPaymentSelection as tt, membershipCardListContent as u, generateFooterCss as ua, calendarTabViewsSchema as ui, eventSignInRestoration as un, asLayoutVariantKey as uo, bookingFormInteractiveIslandPropsCodec as ur, resolveEventRequiresPayment as ut, productItemKey as v, navLinkOwnsHoverForeground as va, registrationButtonVariantSchema as vi, sweepExpiredSignInReturnDrafts as vn, orderedLiveRunSessions as vo, getRegistrationSuccessCopy as vr, getCurrentTicketSelection as vt, registrationPaymentRoute as w, anglePolygonCss as wa, resolveDateRuntimeContext as wi, ImagePresets as wn, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as wo, prepareBookingSubmission as wr, parseCurrencyInputToCents as wt, REGISTRATION_STEP_LABELS as x, sectionShapeFromContent as xa, blockButtonRoleSchema as xi, resolveRegistrationDisplay as xn, parseMailingListRuntimeContext as xo, normalizeBookingFormConfig as xr, getSlidingScaleForEvent as xt, reduceCommerceCart as y, navLinkOwnsUnderline as ya, weekStartSchema as yi, placesLeftLabel as yn, resolveWholeSeriesBookingPhase as yo, getShopSuccessCopy as yr, getEligibilityFlowFlags as yt, getTicketSelectionPurpose as z, introCompositionTreatmentValues as za, createZodCodec as zi, eventLocalDateKey as zn, unsafeAsSiteId as zo, needsAppointmentQuestionsRefresh as zr, formatRegistrationSchedule as zt };
|