@riverbankcms/sdk 0.184.0 → 0.185.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/{BlocksIslandsHydrator-DjBTJYiF.d.ts → BlocksIslandsHydrator-Bu0O7l4p.d.ts} +1 -1
- package/dist/_dts/{Page-BpXEM2ET.d.ts → Page-DYoL0IWL.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-Bb3h7KRE.d.ts → SdkPreviewMode-DgFAiR8r.d.ts} +2 -2
- package/dist/_dts/{client-DgTRRtl_.d.ts → client-BKdjJ7A0.d.ts} +23 -4
- package/dist/_dts/{content-types-DZQJp_ak.d.ts → content-types-6K7zlJuF.d.ts} +2 -2
- package/dist/_dts/{contracts-Ww1fmd-c.d.ts → contracts-CUR8ccnX.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-BGc7dju6.d.ts → generatePageMetadata-CveWSMew.d.ts} +2 -2
- package/dist/_dts/{index-Cni4jykw.d.ts → index-6WypKfbu.d.ts} +4 -4
- package/dist/_dts/{index-ukS-Ffem.d.ts → index-BMwrFX_K.d.ts} +1 -1
- package/dist/_dts/{index-W9-7djG3.d.ts → index-Bp5lk6I8.d.ts} +1 -1
- package/dist/_dts/{index-Cc85KVLW.d.ts → index-DTKn1H8g.d.ts} +1 -1
- package/dist/_dts/{index-DxxTQ_0V.d.ts → index-DX-Xe54X.d.ts} +2 -2
- package/dist/_dts/{index-BECaUNYs.d.ts → index-SD1fTP_7.d.ts} +2 -2
- package/dist/_dts/{loadContent-BlSWTlbD.d.ts → loadContent-BN8GtRsL.d.ts} +7 -7
- package/dist/_dts/{request-CZz2BoXJ.d.ts → request-BwYvMqLf.d.ts} +459 -109
- package/dist/_dts/{resolveBlockData-D12HXnS3.d.ts → resolveBlockData-CYy0VlSK.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BteMsSGP.d.ts → resolvePageContent-BwUDLi_W.d.ts} +1 -1
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +7 -7
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/portal/index.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 +6 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{serviceBookingOutline-aTlOvO3U.d.ts → serviceBookingOutline-CMNev0gz.d.ts} +10 -7
- package/dist/_dts/{types-CCcQlRBi.d.ts → types-BBazdRQf.d.ts} +3 -3
- package/dist/_dts/{types-Du4aMnWC.d.ts → types-BwngWRQ8.d.ts} +7 -7
- package/dist/_dts/{types-Bi7R07RX.d.ts → types-C9_amrul.d.ts} +2 -2
- package/dist/_dts/{validation-CjCWVmwe.d.ts → validation-B58kUTuV.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-CFLWxjxR.mjs → BlocksIslandsHydrator-CooOPhs3.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-C4LcfwyA.mjs → BookingMailingListNote-D_khdttF.mjs} +59 -60
- package/dist/client/{BookingQuestionFields-DdcmoHqQ.mjs → BookingQuestionFields-Bia1E7Cj.mjs} +48 -35
- package/dist/client/{CalendarAction-DYGewmvh.mjs → CalendarAction-C-AbMmct.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-ZfrUiiiI.mjs → CalendarNavigationChevron-oaHxRbUO.mjs} +6 -6
- package/dist/client/{DemoBookingPortalAccess-pzkGVkgG.mjs → DemoBookingPortalAccess-M2xKYQjX.mjs} +4 -4
- package/dist/client/{EventCalendar.client-Ct1B3xI4.mjs → EventCalendar.client-By7e9nyF.mjs} +10 -10
- package/dist/client/{EventCombined.client-DgfNtcgW.mjs → EventCombined.client-BdRZXB14.mjs} +9 -9
- package/dist/client/EventEmbeddedCheckoutStep-CJoxbx2Y.mjs +147 -0
- package/dist/client/{EventItem-KGKkK19N.mjs → EventItem-CDMa9zOX.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-Ba9ezxuC.mjs → EventListWeekNavigation-B8WKaCrN.mjs} +1 -1
- package/dist/client/{EventListing.client-xFKRDLwC.mjs → EventListing.client-BEGiiFnO.mjs} +3 -3
- package/dist/client/{EventListing.view-Dy36vWHi.mjs → EventListing.view-B6LOK-z4.mjs} +5 -5
- package/dist/client/{EventRegistrationPayment-Dth9L00x.mjs → EventRegistrationPayment-CARdr15t.mjs} +44 -35
- package/dist/client/{Page-DB5KODiu.mjs → Page-uP7AKSyp.mjs} +37 -30
- package/dist/client/SiteChoiceGroup-BZ5I0Vhy.mjs +96 -0
- package/dist/client/{SiteTermsAgreementField-BDVP_HeK.mjs → SiteTermsAgreementField-BDqRo2C5.mjs} +2 -2
- package/dist/client/{StepIndicator-CLgDVzCs.mjs → StepIndicator-BWrXAKvs.mjs} +1 -1
- package/dist/client/{StepIndicator-DRyZ8igu.mjs → StepIndicator-Cb3NMw-Y.mjs} +29 -17
- package/dist/client/{accessibleSurfaces-CqroimVQ.mjs → accessibleSurfaces-q-dDOwsW.mjs} +5 -3
- package/dist/client/{accordion-BQYRP5xV.mjs → accordion-BYW2YSUN.mjs} +1 -1
- package/dist/client/{booking-form.client-B7ckDuOC.mjs → booking-form.client-DAlWWWjV.mjs} +108 -70
- package/dist/client/{bookingCalendar--aWnqFDn.mjs → bookingCalendar-9nFa_do4.mjs} +6 -2
- package/dist/client/{bookingForm-BeD4650p.mjs → bookingForm-DtVk9p5l.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-CA7FirMH.mjs → boxStyleClassNames-CaSq3-r-.mjs} +2 -2
- package/dist/client/{EventEmbeddedCheckoutStep-CjoaG1zy.mjs → browserStripe-Dh-LcDoW.mjs} +36 -142
- package/dist/client/{carousel-DJ9Aa1m3.mjs → carousel-msur7fxW.mjs} +1 -1
- package/dist/client/{cart-DdCenbTy.mjs → cart-Bx-JuY2n.mjs} +3 -3
- package/dist/client/{cart.client-BQm06qNw.mjs → cart.client-hB_9MimN.mjs} +1 -1
- package/dist/client/{checkout-45wPQULN.mjs → checkout-BVWZn5Qu.mjs} +3 -3
- package/dist/client/{checkout.client-bSv4cc5z.mjs → checkout.client-Bt_GtHW9.mjs} +1 -1
- package/dist/client/{checkoutUrls-CwlaMl3W.mjs → checkoutUrls-CP-rQOZV.mjs} +1 -1
- package/dist/client/client.mjs +43 -18
- package/dist/client/{constants-DXV4KR7l.mjs → constants-yA1RJGXD.mjs} +1 -1
- package/dist/client/{context-lCPfX-xe.mjs → context-CG77Keax.mjs} +30 -3
- package/dist/client/{dateFormatting-HvfmS_cH.mjs → dateFormatting-DIRIgfYr.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-Ce3Gyin_.mjs → demoPortalMagicLink-CgzNiOQ0.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-CGcDE9aE.mjs → enhanceHeaderSection-DgzZNM2M.mjs} +3 -3
- package/dist/client/{event-registration.client-DlPfn4YG.mjs → event-registration.client-Ckb4aDE9.mjs} +79 -58
- package/dist/client/{eventCalendar-CioAdryV.mjs → eventCalendar-lqqQSzBQ.mjs} +4 -4
- package/dist/client/{eventCombined-Dwt0G6ez.mjs → eventCombined-BIMyHrd-.mjs} +4 -4
- package/dist/client/{eventListing-B3H9ifOC.mjs → eventListing-CBYxfvNf.mjs} +4 -4
- package/dist/client/{eventRegistration-Do7cAhXb.mjs → eventRegistration-BhAqvkCb.mjs} +4 -4
- package/dist/client/{form-CsqzgC6v.mjs → form-CkOfk-Eb.mjs} +3 -3
- package/dist/client/{form.client-DVDB7hY6.mjs → form.client-Whi43oio.mjs} +4 -4
- package/dist/client/{form.parts-1q2rzSYt.mjs → form.parts-BgsWo2Me.mjs} +1 -1
- package/dist/client/gifting/client.mjs +7 -7
- package/dist/client/{gifting-BrXQGX-k.mjs → gifting-XtNpLcFI.mjs} +4 -4
- package/dist/client/{gifting.client--zAjnY5N.mjs → gifting.client-CraWj4I4.mjs} +173 -71
- package/dist/client/{gifting.interactive-CrwHpUJG.mjs → gifting.interactive-DiPDObN0.mjs} +3 -2
- package/dist/client/{gifting.parts-CcKdDaQq.mjs → gifting.parts-_mgGOcbA.mjs} +12 -43
- package/dist/client/{headerSection-DlcDH4bi.mjs → headerSection-CPIN3VSU.mjs} +2 -2
- package/dist/client/{islands-dMh0Oxli.mjs → islands-C95FyxUF.mjs} +11 -9
- package/dist/client/{newsletter-form.client-BxA1PsdS.mjs → newsletter-form.client-BgVJdKVe.mjs} +6 -6
- package/dist/client/{newsletter-form.interactive-D0iRg7p2.mjs → newsletter-form.interactive-DpcfRbI_.mjs} +35 -15
- package/dist/client/{newsletter-form.parts-Dmuklz0r.mjs → newsletter-form.parts-poPgHrUh.mjs} +1 -1
- package/dist/client/{newsletterForm-CBzvgIfg.mjs → newsletterForm-Dt6wFjTe.mjs} +3 -3
- package/dist/client/portal/client.mjs +978 -72
- package/dist/client/{portalOrders-tCxS04g0.mjs → portalOrders-CAfjTyV9.mjs} +1 -1
- package/dist/client/{portalRoutes-DiGibcZI.mjs → portalRoutes-D3Ttfv5x.mjs} +48 -13
- package/dist/client/presentation-CudSUZ6Q.mjs +169 -0
- package/dist/client/{product-detail.client-D9MP8hvH.mjs → product-detail.client-BrBNT7Mq.mjs} +1 -1
- package/dist/client/{product-list.client-wCz1qcUY.mjs → product-list.client-CftTl7n6.mjs} +1 -1
- package/dist/client/{productDetail-D9-fCY6c.mjs → productDetail-b1tpt585.mjs} +3 -3
- package/dist/client/{productList-PJyxXSac.mjs → productList-DRT5sabi.mjs} +3 -3
- package/dist/client/{propsDecoder-B8lrKGPw.mjs → propsDecoder-Co1VXFaW.mjs} +4 -4
- package/dist/client/{registry.server-CI63JVHW.mjs → registry.server-0UDNY7dO.mjs} +185 -224
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-Jt9hDHdh.mjs → richText-coerce-BFDEPZZA.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-ZSPcJWx1.mjs → routeIslandApiConfig-DtqRutuX.mjs} +1 -1
- package/dist/client/{runtimeResponse-_iW9oEYc.mjs → runtimeResponse-DBVXbcuz.mjs} +1 -1
- package/dist/client/runtimeResponse-LQnQdtNI.mjs +3 -0
- package/dist/client/{shop-CbdJlWOw.mjs → shop-DL3CYR7i.mjs} +3 -3
- package/dist/client/{shop-commerce-BqLbzUUn.mjs → shop-commerce-CDth2_qq.mjs} +13 -13
- package/dist/client/{shop-commerce-store-BT0-zRqN.mjs → shop-commerce-store-CE0aaSHJ.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-Cws0lnSb.mjs → shop-discount-apply.state-p4aXtVsF.mjs} +2 -2
- package/dist/client/{shop.client-0cNErhJT.mjs → shop.client-BI2iw6Z3.mjs} +56 -21
- package/dist/client/{shopShared-COuQ2MhQ.mjs → shopShared-BNWzgWAC.mjs} +2 -2
- package/dist/client/{src-Do_s2lqH.mjs → src-CJf3u16T.mjs} +1 -1
- package/dist/{preview-next/client/src-lX6heoDA.mjs → client/src-CMuv8vSO.mjs} +5 -1
- package/dist/client/src-CXOxpNtj.mjs +3 -0
- package/dist/client/{timetableModel-DqI6U1BS.mjs → timetableModel-DZzGD6rS.mjs} +8 -8
- package/dist/client/{useAutomaticDiscountPreview-CeVUVzGf.mjs → useAutomaticDiscountPreview-CJDylOUe.mjs} +1 -1
- package/dist/client/{useAvailableSlots-B0mjVhZr.mjs → useAvailableSlots-nD6nuvSW.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-B_hfgdAP.mjs → useDiscountCodeUi-DMtTHqex.mjs} +1 -1
- package/dist/client/{useEventPagination-Ct4A6iR1.mjs → useEventPagination-CM-DCokc.mjs} +7 -7
- package/dist/client/{view-Cj151w4m.mjs → view-CHOhliHv.mjs} +3 -3
- package/dist/client/{wizardSteps-B3gsXNnb.mjs → wizardSteps-BbroaNkT.mjs} +68 -22
- package/dist/preview-next/client/{PageSectionToolbar-Dv4CW0AQ.mjs → PageSectionToolbar-CR99z8BL.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-B7WW58uE.mjs → PreviewEditorSidebar-BaKS6H8F.mjs} +6 -6
- package/dist/preview-next/client/{PreviewEditorUI-BnJ1ughv.mjs → PreviewEditorUI-D6IG119o.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-C7qWzAe4.mjs → PreviewShell-CKjkFOZS.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CYi4UHtG.mjs → SdkPreviewModeRuntime-BexDQWGj.mjs} +4 -4
- package/dist/preview-next/client/{previewAssistantSlot-DrUoRNu9.mjs → previewAssistantSlot-DcEwU9l_.mjs} +977 -505
- package/dist/preview-next/client/{previewChromeRoot-CEYp90mM.mjs → previewChromeRoot-VqseF0yf.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DnO2_c0A.mjs → sdk-runtime-DcoVpKUf.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-B3PwHw2z.mjs → siteStyleAccess-BL1fZnUD.mjs} +1 -1
- package/dist/{client/src-uwCpbHXG.mjs → preview-next/client/src-B5x3r4cg.mjs} +5 -1
- package/dist/preview-next/client/src-CrT7h--V.mjs +3 -0
- package/dist/preview-next/client/{useAutosaveStatus-DrdQ4ier.mjs → useAutosaveStatus-CdFnzKac.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-kuGRKaRL.mjs → useOpenBlockForSetup-B62h7dhR.mjs} +1 -1
- package/dist/preview-next/container-responsive.css +8 -0
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CwrXkLT3.mjs → route-contract-CQfEvfbg.mjs} +38 -13
- package/dist/server/{Block.shared-C5ucphCJ.mjs → Block.shared-CbGnxkWX.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-DvbqYXdK.mjs → ThemeScopeCore-BjxlpVaV.mjs} +5 -5
- package/dist/server/{accessibleSurfaces-CAcf1lHT.mjs → accessibleSurfaces-CZ7pLuJ7.mjs} +2 -2
- package/dist/server/{accordions-DjcsqjCK.mjs → accordions-C_C52VkS.mjs} +1 -1
- package/dist/server/{bindings-CFw4M-gZ.mjs → bindings-D-n66Oqc.mjs} +5 -5
- package/dist/server/{client-D0XCgITW.mjs → client-BGGlrkft.mjs} +41 -16
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-BZduY8jG.mjs → constants-TkO9Uxma.mjs} +45 -10
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-C-qyB8Tq.mjs → loadContent-8H1hHdXo.mjs} +4 -4
- package/dist/server/{loadPage-BpKKmi8E.mjs → loadPage-BZyqF_g3.mjs} +3 -3
- package/dist/server/{lookMediaFrame-EFws7tAj.mjs → lookMediaFrame-Dw6R9B0L.mjs} +13 -11
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{navigation-DYkuiNXa.mjs → navigation-9TOyY5Zf.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-DmZn4xUE.mjs → overrideResolution-CuduOS6V.mjs} +1 -1
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/{pageRenderPlan-DRB7cUZ0.mjs → pageRenderPlan-DmP0HVMu.mjs} +30 -8
- package/dist/server/{pageRuntimeSupport-Uv1xDieJ.mjs → pageRuntimeSupport-BQ1dWs1V.mjs} +3 -3
- package/dist/server/{pageShared-BdQF875z.mjs → pageShared-ALu7y5Dq.mjs} +272 -165
- package/dist/server/{parseThemeForPersistence-CwcWZL7u.mjs → parseThemeForPersistence-D_8I28BB.mjs} +3 -3
- package/dist/server/{portal-BQ8qiQnk.mjs → portal-P4oHSRho.mjs} +2 -1
- package/dist/server/portal.mjs +2 -2
- package/dist/server/{prebuild-B51QZVNe.mjs → prebuild-BLL6RhjS.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CppDAfJW.mjs → prefetchBlockData-aR5W1dVF.mjs} +3 -3
- package/dist/server/{registry-Bf4W8Qa7.mjs → registry-DD_s7l3Y.mjs} +82 -33
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +9 -9
- package/dist/server/{resolveBlockData-DMHAZooQ.mjs → resolveBlockData-DnQ2N0lI.mjs} +2 -2
- package/dist/server/{resolveButtonColourStates-BMtAAPzp.mjs → resolveButtonColourStates-ChlP4NJ9.mjs} +1 -1
- package/dist/server/{responseMedia-DKYfR518.mjs → responseMedia-D6F1tvIm.mjs} +1 -1
- package/dist/server/{schema-DGaihVwp.mjs → schema-ClDfFtz2.mjs} +3 -3
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-CRvmreX7.mjs → servicePageContent-CsUerbJ1.mjs} +14 -12
- package/dist/server/theme-bridge.mjs +3 -3
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-mcy2E1Yd.mjs → three-pass-converter-CLJrZb7s.mjs} +1 -1
- package/dist/server/{titleSourceSchema-B2qFOUwZ.mjs → titleSourceSchema-DA_iErtG.mjs} +2 -2
- package/dist/server/{types-C_S0pWbR.mjs → types-CcKy8_tj.mjs} +5 -3
- package/dist/server/{validation-CUtNT_EZ.mjs → validation-BbImAsVs.mjs} +5 -5
- package/dist/server/{version-DebJQ4zn.mjs → version-BY48jPoe.mjs} +1 -1
- package/dist/styles/index.css +192 -134
- package/package.json +1 -1
- package/dist/client/appointment-service-categories-Cl2pqw-z.mjs +0 -70
- package/dist/client/runtimeResponse-DlPBWBd9.mjs +0 -3
- package/dist/client/src-DqMbCjI1.mjs +0 -3
- package/dist/preview-next/client/src-EO5QoRlU.mjs +0 -3
package/dist/server/{parseThemeForPersistence-CwcWZL7u.mjs → parseThemeForPersistence-D_8I28BB.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as createStandardButtonSurfacePolicy } from "./types-
|
|
2
|
-
import { N as expandPalette, n as compileButtonColourStates } from "./resolveButtonColourStates-
|
|
3
|
-
import { a as themeSchema } from "./schema-
|
|
1
|
+
import { a as createStandardButtonSurfacePolicy } from "./types-CcKy8_tj.mjs";
|
|
2
|
+
import { N as expandPalette, n as compileButtonColourStates } from "./resolveButtonColourStates-ChlP4NJ9.mjs";
|
|
3
|
+
import { a as themeSchema } from "./schema-ClDfFtz2.mjs";
|
|
4
4
|
//#region ../theme-core/src/buttons/parseThemeForPersistence.ts
|
|
5
5
|
/**
|
|
6
6
|
* Proves that every persisted button variant compiles against the theme's
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PORTAL_ENTRY_COOKIE, c as PORTAL_TOKEN_COOKIE, f as parsePortalLocation, i as PORTAL_COOKIE_MAX_AGE, l as REDIRECT_TO_PARAM, m as withPortalArrival, n as DEFAULT_PORTAL_REDIRECT, o as PORTAL_ENTRY_COOKIE_MAX_AGE, p as portalPath, r as PORTAL_CALLBACK_PATH, s as PORTAL_ENTRY_PARAM, u as CUSTOMER_PORTAL_PATH } from "./constants-
|
|
1
|
+
import { a as PORTAL_ENTRY_COOKIE, c as PORTAL_TOKEN_COOKIE, f as parsePortalLocation, i as PORTAL_COOKIE_MAX_AGE, l as REDIRECT_TO_PARAM, m as withPortalArrival, n as DEFAULT_PORTAL_REDIRECT, o as PORTAL_ENTRY_COOKIE_MAX_AGE, p as portalPath, r as PORTAL_CALLBACK_PATH, s as PORTAL_ENTRY_PARAM, u as CUSTOMER_PORTAL_PATH } from "./constants-TkO9Uxma.mjs";
|
|
2
2
|
import { a as sanitizeSafeAppPath, i as safeAppPathOrFallback, n as assertSafeAppPath, r as buildSafeRedirectUrl } from "./src-DHK4JUlp.mjs";
|
|
3
3
|
//#region src/portal/redirects.ts
|
|
4
4
|
const DEPRECATED_REDIRECT_PATH_WARNING = "[SDK] handlePortalCallback/handlePortalLogout: \"redirectPath\" is deprecated, use \"defaultRedirectPath\"";
|
|
@@ -123,6 +123,7 @@ function purposeOfPage(route) {
|
|
|
123
123
|
case "booking_reschedule":
|
|
124
124
|
case "ticket":
|
|
125
125
|
case "waitlist_offer": return "booking";
|
|
126
|
+
case "membership_payment":
|
|
126
127
|
case "passes": return "membership";
|
|
127
128
|
case "home":
|
|
128
129
|
case "payments":
|
package/dist/server/portal.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as PORTAL_ENTRY_COOKIE, c as PORTAL_TOKEN_COOKIE, i as PORTAL_COOKIE_MAX_AGE, l as REDIRECT_TO_PARAM, n as DEFAULT_PORTAL_REDIRECT, o as PORTAL_ENTRY_COOKIE_MAX_AGE, r as PORTAL_CALLBACK_PATH, s as PORTAL_ENTRY_PARAM, t as DEFAULT_LOGOUT_REDIRECT, u as CUSTOMER_PORTAL_PATH } from "./constants-
|
|
2
|
-
import { a as getDashboardUrl, c as decodePortalEntryCookieValue, d as previewPortalEntryToken, i as isValidRedirectPath, l as planPortalEntryPage, n as getPortalToken, o as handlePortalCallback, r as hasPortalSession, s as handlePortalLogout, t as handlePortalSession, u as portalEntryFingerprint } from "./portal-
|
|
1
|
+
import { a as PORTAL_ENTRY_COOKIE, c as PORTAL_TOKEN_COOKIE, i as PORTAL_COOKIE_MAX_AGE, l as REDIRECT_TO_PARAM, n as DEFAULT_PORTAL_REDIRECT, o as PORTAL_ENTRY_COOKIE_MAX_AGE, r as PORTAL_CALLBACK_PATH, s as PORTAL_ENTRY_PARAM, t as DEFAULT_LOGOUT_REDIRECT, u as CUSTOMER_PORTAL_PATH } from "./constants-TkO9Uxma.mjs";
|
|
2
|
+
import { a as getDashboardUrl, c as decodePortalEntryCookieValue, d as previewPortalEntryToken, i as isValidRedirectPath, l as planPortalEntryPage, n as getPortalToken, o as handlePortalCallback, r as hasPortalSession, s as handlePortalLogout, t as handlePortalSession, u as portalEntryFingerprint } from "./portal-P4oHSRho.mjs";
|
|
3
3
|
export { CUSTOMER_PORTAL_PATH, DEFAULT_LOGOUT_REDIRECT, DEFAULT_PORTAL_REDIRECT, PORTAL_CALLBACK_PATH, PORTAL_COOKIE_MAX_AGE, PORTAL_ENTRY_COOKIE, PORTAL_ENTRY_COOKIE_MAX_AGE, PORTAL_ENTRY_PARAM, PORTAL_TOKEN_COOKIE, REDIRECT_TO_PARAM, decodePortalEntryCookieValue, getDashboardUrl, getPortalToken, handlePortalCallback, handlePortalLogout, handlePortalSession, hasPortalSession, isValidRedirectPath, planPortalEntryPage, portalEntryFingerprint, previewPortalEntryToken };
|
package/dist/server/prebuild.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as prebuildCache } from "./prebuild-
|
|
1
|
+
import { t as prebuildCache } from "./prebuild-BLL6RhjS.mjs";
|
|
2
2
|
export { prebuildCache };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { a as rethrowFrameworkSignal, c as SUPPORTED_LOADER_ENDPOINTS$1, n as materializeLoaderMedia, s as parsePublicProductCategorySelector } from "./responseMedia-
|
|
1
|
+
import { p as defaultTransforms, r as planArrangementContent, st as defaultThemeTokens, tt as selectBlockContent, u as coerceLinkedContentEntriesPayload } from "./pageRenderPlan-DmP0HVMu.mjs";
|
|
2
|
+
import { Eo as projectRecurringSchedule, Or as readRuntimeNow, Os as toUtcIsoDateTimeString, Po as calendarWindowQuerySchema, Qi as runTransforms, kr as resolveDateRuntimeContext, t as getBlockDefinition } from "./registry-DD_s7l3Y.mjs";
|
|
3
|
+
import { a as rethrowFrameworkSignal, c as SUPPORTED_LOADER_ENDPOINTS$1, n as materializeLoaderMedia, s as parsePublicProductCategorySelector } from "./responseMedia-D6F1tvIm.mjs";
|
|
4
4
|
import { t as assertNever } from "./assert-never-ku-PUn9U.mjs";
|
|
5
5
|
import { f as bindingSchema, t as isObjectRecord } from "./typeGuards-DZOaGTEv.mjs";
|
|
6
6
|
import { t as allOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as parseColorTokenParts, D as surfaceForegroundStyle, E as surfaceForegroundInputFromResolved, G as blockColorTokenNames, I as mergeStyles, L as rgbColorValue, N as backgroundColorStyle, P as borderColorStyle, R as textColorStyle, d as buttonVariantIdSchema, et as parseThemeColorToken, j as surfaceInkStyle, o as isVariantRole, r as asSpecialVariantId, t as DEFAULT_VARIANT_ALIAS_ID, y as SYSTEM_BLOCK_KINDS } from "./types-
|
|
2
|
-
import { C as PUBLIC_FILE_FIELD_KINDS, D as parseCanonicalMediaIdentifier, H as resolveConcreteColorHex, J as paletteInkRoles, K as paletteInk, R as compositeHex, S as resolveManagedMediaReference, T as mediaTypeDiscriminants, V as scrimTone, Y as paletteInkToken, _ as runtimeMediaSchema, nt as hexLuminance, rt as luminanceInterval, st as featuresFromHex, w as isDisplayMediaKind, y as buildRenderableMediaAssetIndex, z as gradientScrimSamples } from "./resolveButtonColourStates-
|
|
3
|
-
import { B as surfaceInkPublication, D as PUBLIC_BUTTON_ROLES, P as resolveThemeColorReferenceValue, R as resolveSurfaceForeground, S as BUTTON_LABEL_CLASS, U as planForegroundHover, l as surfaceButtonRequest, n as parseResolvedSurface, s as resolveSurface, u as surfaceDecorationColors, x as BUTTON_LABEL_ATTRIBUTE } from "./accessibleSurfaces-
|
|
4
|
-
import { $t as photoShapeKnobBlocks, A as compiledRuntimeStyleFieldNames, At as transitionCatalogueEntries, B as isDrawnImageShape, Bt as defineNoBlockDesignCapability, Ct as sectionBoundaryTreatmentsEqual, D as getCuratedSiteStyle, Dt as transitionCatalogueEntryForIntent, Et as spaciousBoundaryOption, F as gradientToCss, H as existingStyleEdges, I as getGradientPreset, It as assertNever, Jt as testimonialsCompositionTreatmentValues, K as footerForegroundCandidates, Lt as defineBlockDesignCapability, N as brandScrimOverlay, Nt as blockAppearancePresets, Ot as transitionIntentForTreatment, Pt as resolveEffectiveKnobs, Qt as lookKnobBlocks, Rt as defineExactCatalog, St as noneBoundaryOption, Tt as softBoundaryOption, V as photoShapeDrawing, Wt as offeringsPreviewCompositionTreatmentValues, Xt as cardListFamilyBlocks, Yt as toNonEmptyReadonlyArray, Zt as cardListKnobBlocks, bt as boundaryTreatmentForBoundaryOptionId, et as navLinkHoverColorCandidate, gt as boundaryOptionForTreatment, h as resolveModeArrangement, ht as boundaryOptionForTransitionIntent, kt as anglePolygonCss, l as itemSurfaceSpec, n as resolveLookMediaFrame, nn as parseGradientPresetId, nt as navLinkOwnsUnderline, q as getNavLinkPreset, r as arrangementAppearancePresets, tn as opaqueSurfaceDeclarations, tt as navLinkOwnsHoverForeground, vt as boundaryOptions, yt as boundaryRuntimeMetricsForDecorativeTransition, zt as defineFrameCapability } from "./lookMediaFrame-
|
|
5
|
-
import { A as tileTreatmentValues, B as makeBoundaryId, D as eyebrowTreatmentValues, E as eventListTreatmentValues, L as asLayoutVariantKey, O as headingDecorationColorTokenValues, R as asPageFlowPresetId, T as arrangementModes, _ as openCardRoleValue, b as asHeaderLayoutId, d as runtimeBoxBackgroundSchema, g as itemRoleValues, h as cardVariantRoleValues, j as visibleHeadingDecorationFamilyValues, l as boxBackgroundOverlaySchema, m as cardRoleSchema, o as headerVariantValues, p as boxlessCardVariantValue, u as boxBackgroundSchema, x as asHeaderStyleId, z as asSiteStyleId } from "./schema-
|
|
1
|
+
import { $ as parseColorTokenParts, D as surfaceForegroundStyle, E as surfaceForegroundInputFromResolved, G as blockColorTokenNames, I as mergeStyles, L as rgbColorValue, N as backgroundColorStyle, P as borderColorStyle, R as textColorStyle, d as buttonVariantIdSchema, et as parseThemeColorToken, j as surfaceInkStyle, o as isVariantRole, r as asSpecialVariantId, t as DEFAULT_VARIANT_ALIAS_ID, y as SYSTEM_BLOCK_KINDS } from "./types-CcKy8_tj.mjs";
|
|
2
|
+
import { C as PUBLIC_FILE_FIELD_KINDS, D as parseCanonicalMediaIdentifier, H as resolveConcreteColorHex, J as paletteInkRoles, K as paletteInk, R as compositeHex, S as resolveManagedMediaReference, T as mediaTypeDiscriminants, V as scrimTone, Y as paletteInkToken, _ as runtimeMediaSchema, nt as hexLuminance, rt as luminanceInterval, st as featuresFromHex, w as isDisplayMediaKind, y as buildRenderableMediaAssetIndex, z as gradientScrimSamples } from "./resolveButtonColourStates-ChlP4NJ9.mjs";
|
|
3
|
+
import { B as surfaceInkPublication, D as PUBLIC_BUTTON_ROLES, P as resolveThemeColorReferenceValue, R as resolveSurfaceForeground, S as BUTTON_LABEL_CLASS, U as planForegroundHover, l as surfaceButtonRequest, n as parseResolvedSurface, s as resolveSurface, u as surfaceDecorationColors, x as BUTTON_LABEL_ATTRIBUTE } from "./accessibleSurfaces-CZ7pLuJ7.mjs";
|
|
4
|
+
import { $t as photoShapeKnobBlocks, A as compiledRuntimeStyleFieldNames, At as transitionCatalogueEntries, B as isDrawnImageShape, Bt as defineNoBlockDesignCapability, Ct as sectionBoundaryTreatmentsEqual, D as getCuratedSiteStyle, Dt as transitionCatalogueEntryForIntent, Et as spaciousBoundaryOption, F as gradientToCss, H as existingStyleEdges, I as getGradientPreset, It as assertNever, Jt as testimonialsCompositionTreatmentValues, K as footerForegroundCandidates, Lt as defineBlockDesignCapability, N as brandScrimOverlay, Nt as blockAppearancePresets, Ot as transitionIntentForTreatment, Pt as resolveEffectiveKnobs, Qt as lookKnobBlocks, Rt as defineExactCatalog, St as noneBoundaryOption, Tt as softBoundaryOption, V as photoShapeDrawing, Wt as offeringsPreviewCompositionTreatmentValues, Xt as cardListFamilyBlocks, Yt as toNonEmptyReadonlyArray, Zt as cardListKnobBlocks, bt as boundaryTreatmentForBoundaryOptionId, et as navLinkHoverColorCandidate, gt as boundaryOptionForTreatment, h as resolveModeArrangement, ht as boundaryOptionForTransitionIntent, kt as anglePolygonCss, l as itemSurfaceSpec, n as resolveLookMediaFrame, nn as parseGradientPresetId, nt as navLinkOwnsUnderline, q as getNavLinkPreset, r as arrangementAppearancePresets, tn as opaqueSurfaceDeclarations, tt as navLinkOwnsHoverForeground, vt as boundaryOptions, yt as boundaryRuntimeMetricsForDecorativeTransition, zt as defineFrameCapability } from "./lookMediaFrame-Dw6R9B0L.mjs";
|
|
5
|
+
import { A as tileTreatmentValues, B as makeBoundaryId, D as eyebrowTreatmentValues, E as eventListTreatmentValues, L as asLayoutVariantKey, O as headingDecorationColorTokenValues, R as asPageFlowPresetId, T as arrangementModes, _ as openCardRoleValue, b as asHeaderLayoutId, d as runtimeBoxBackgroundSchema, g as itemRoleValues, h as cardVariantRoleValues, j as visibleHeadingDecorationFamilyValues, l as boxBackgroundOverlaySchema, m as cardRoleSchema, o as headerVariantValues, p as boxlessCardVariantValue, u as boxBackgroundSchema, x as asHeaderStyleId, z as asSiteStyleId } from "./schema-ClDfFtz2.mjs";
|
|
6
6
|
import { a as parseUuidBrand, i as unsafeAsStoragePath, n as unsafeAsMediaAssetId, o as err, r as unsafeAsStorageBucketName, s as ok$1 } from "./media-BRmYrnzb.mjs";
|
|
7
7
|
import { c as parseAppointmentServiceId, f as parseEventOfferingId, n as bookingQuestionsSectionSchema, p as parseEventSeriesId, t as bookingQuestionsAnswersSchema, u as parseSiteTermsVersionId } from "./portalQuestions-oUyohgL9.mjs";
|
|
8
8
|
import { a as normalizeLocationAddressText, c as publicLocationSchema, d as mapDrawingSchema, l as toLocationCoordinates, n as publicMapLocationResultSchema, o as parseLocationValue, r as publicVenueMapLocationSchema, s as projectPublicLocation, u as trimmedStringOrNull } from "./mapLocation-MDDSubTp.mjs";
|
|
@@ -10153,7 +10153,7 @@ function resolveSurfaceForegroundStyles(value, context, options) {
|
|
|
10153
10153
|
...inks
|
|
10154
10154
|
};
|
|
10155
10155
|
case "known": return {
|
|
10156
|
-
...
|
|
10156
|
+
...arrangementDecorations(foreground, context),
|
|
10157
10157
|
...resolved.buttonStyles,
|
|
10158
10158
|
...surfaceForegroundStyle(surfaceForegroundInputFromResolved(foreground, (token) => resolveBackgroundColorValue(token, context))),
|
|
10159
10159
|
...inks
|
|
@@ -10212,21 +10212,19 @@ function resolveRuntimeSectionSurface(value, context, options) {
|
|
|
10212
10212
|
solvedInks: transformSolvedInks(context)
|
|
10213
10213
|
});
|
|
10214
10214
|
}
|
|
10215
|
-
|
|
10215
|
+
/** Line and mark are drawn by arrangements only; muted comes with the other foreground roles. */
|
|
10216
|
+
function arrangementDecorations(foreground, context) {
|
|
10216
10217
|
if (context.data?._lookSlots === void 0) return {};
|
|
10217
|
-
return
|
|
10218
|
+
return surfaceDecorationStyles(foreground, context.theme.palette);
|
|
10218
10219
|
}
|
|
10219
10220
|
/** Decoration roles already resolved by the surface owner, shared with footer arrangements. */
|
|
10220
|
-
function
|
|
10221
|
+
function surfaceDecorationStyles(foreground, palette) {
|
|
10221
10222
|
if (foreground.kind !== "known") return {};
|
|
10222
10223
|
const decorations = surfaceDecorationColors(foreground, palette);
|
|
10223
|
-
return {
|
|
10224
|
-
"--rb-surface-
|
|
10225
|
-
|
|
10226
|
-
|
|
10227
|
-
"--rb-surface-mark-color": decorations.mark
|
|
10228
|
-
} : {}
|
|
10229
|
-
};
|
|
10224
|
+
return decorations ? {
|
|
10225
|
+
"--rb-surface-line-color": decorations.line,
|
|
10226
|
+
"--rb-surface-mark-color": decorations.mark
|
|
10227
|
+
} : {};
|
|
10230
10228
|
}
|
|
10231
10229
|
//#endregion
|
|
10232
10230
|
//#region ../blocks/src/system/fields/backgroundContent.ts
|
|
@@ -18729,12 +18727,12 @@ function footerAreaPaintStyle(footer, area, context) {
|
|
|
18729
18727
|
const palette = context.theme.palette;
|
|
18730
18728
|
if (area === "main") {
|
|
18731
18729
|
const foreground = resolveFooterRootForeground(footer, palette, context.proseHoverCandidate);
|
|
18732
|
-
return mergeStyles(backgroundColorStyle(footerMainPaint(footer).ground), resolvedForegroundStyle(foreground), solvedInkStyle(foreground, context),
|
|
18730
|
+
return mergeStyles(backgroundColorStyle(footerMainPaint(footer).ground), resolvedForegroundStyle(foreground), solvedInkStyle(foreground, context), surfaceDecorationStyles(foreground, palette));
|
|
18733
18731
|
}
|
|
18734
18732
|
const paint = footerSideBandPaint(footer, area);
|
|
18735
18733
|
const foreground = resolveFooterSideBandForeground(footer, area, palette, context.proseHoverCandidate);
|
|
18736
18734
|
if (!paint || !foreground) return void 0;
|
|
18737
|
-
return mergeStyles({ [`--rb-footer-${area}-bg`]: rgbColorValue(paint.ground) }, resolvedForegroundStyle(foreground), solvedInkStyle(foreground, context),
|
|
18735
|
+
return mergeStyles({ [`--rb-footer-${area}-bg`]: rgbColorValue(paint.ground) }, resolvedForegroundStyle(foreground), solvedInkStyle(foreground, context), surfaceDecorationStyles(foreground, palette));
|
|
18738
18736
|
}
|
|
18739
18737
|
const footerAreaValues = [
|
|
18740
18738
|
"band",
|
|
@@ -23353,6 +23351,18 @@ function renderClockClosedCta(event, now) {
|
|
|
23353
23351
|
};
|
|
23354
23352
|
}
|
|
23355
23353
|
//#endregion
|
|
23354
|
+
//#region ../blocks/src/system/blocks/events/shared/cancellation.ts
|
|
23355
|
+
/**
|
|
23356
|
+
* Why a date won't go ahead: the whole event was cancelled, or just this date.
|
|
23357
|
+
* Null while it's still on. A cancelled event wins, as it does in admission.
|
|
23358
|
+
*/
|
|
23359
|
+
function publicEventCancellation(event) {
|
|
23360
|
+
const closedReason = event.bookingAvailability.kind === "closed" ? event.bookingAvailability.reason : null;
|
|
23361
|
+
if (closedReason === "series_cancelled") return "event";
|
|
23362
|
+
if (event.status === "cancelled" || closedReason === "occurrence_cancelled") return "date";
|
|
23363
|
+
return null;
|
|
23364
|
+
}
|
|
23365
|
+
//#endregion
|
|
23356
23366
|
//#region ../blocks/src/system/blocks/events/shared/pageSelection.ts
|
|
23357
23367
|
function planWholeSeriesParentBooking(eligibleRuns) {
|
|
23358
23368
|
const [first, second, ...rest] = eligibleRuns;
|
|
@@ -23414,10 +23424,21 @@ function planOrdinarySeriesSelection(events) {
|
|
|
23414
23424
|
};
|
|
23415
23425
|
}
|
|
23416
23426
|
const event = first ?? ordinary[0];
|
|
23417
|
-
return event ?
|
|
23427
|
+
return event ? seriesPageOccurrence(event, ordinary) : null;
|
|
23428
|
+
}
|
|
23429
|
+
/** The one date a series page holds, with the rest of a cancelled event's dates. */
|
|
23430
|
+
function seriesPageOccurrence(event, dates) {
|
|
23431
|
+
const cancelledEventDates = otherCancelledEventDates(event, dates);
|
|
23432
|
+
return {
|
|
23418
23433
|
kind: "occurrence",
|
|
23419
|
-
event
|
|
23420
|
-
|
|
23434
|
+
event,
|
|
23435
|
+
...cancelledEventDates.length ? { cancelledEventDates } : {}
|
|
23436
|
+
};
|
|
23437
|
+
}
|
|
23438
|
+
/** When the whole event is cancelled, its page speaks for every date, not just the one it opens on. */
|
|
23439
|
+
function otherCancelledEventDates(event, dates) {
|
|
23440
|
+
if (publicEventCancellation(event) !== "event") return [];
|
|
23441
|
+
return dates.filter((date) => date.occurrenceId !== event.occurrenceId && publicEventCancellation(date) === "event");
|
|
23421
23442
|
}
|
|
23422
23443
|
function isOpenForBooking(event) {
|
|
23423
23444
|
return event.requiresRegistration && event.bookingAvailability.kind === "open";
|
|
@@ -23635,17 +23656,36 @@ const occurrenceContextSchema = z.object({
|
|
|
23635
23656
|
}).nullable();
|
|
23636
23657
|
//#endregion
|
|
23637
23658
|
//#region ../blocks/src/system/runtime/nodes/event-registration/cancelledDate.ts
|
|
23638
|
-
const
|
|
23639
|
-
|
|
23640
|
-
|
|
23659
|
+
const copyByScope = {
|
|
23660
|
+
event: {
|
|
23661
|
+
titleText: "This event has been cancelled",
|
|
23662
|
+
bodyText: "It’s no longer going ahead. If you had a place booked, the organiser will be in touch."
|
|
23663
|
+
},
|
|
23664
|
+
date: {
|
|
23665
|
+
titleText: "This date has been cancelled",
|
|
23666
|
+
bodyText: "It’s no longer going ahead. If you had a place booked, the organiser will be in touch."
|
|
23667
|
+
}
|
|
23641
23668
|
};
|
|
23642
|
-
/**
|
|
23643
|
-
|
|
23669
|
+
/**
|
|
23670
|
+
* The informational notice for a selected cancelled date, including when its
|
|
23671
|
+
* data was recovered in the browser. It says "event" when the whole event was
|
|
23672
|
+
* cancelled and "date" when only this date was. Null when the selection is
|
|
23673
|
+
* still going ahead, or is a course run (closed runs have their own copy).
|
|
23674
|
+
*/
|
|
23675
|
+
function cancelledRegistrationCopy(events, occurrenceId) {
|
|
23644
23676
|
const dates = occurrenceId ? events.filter((event) => event.occurrenceId === occurrenceId) : events;
|
|
23645
|
-
|
|
23677
|
+
if (dates.length === 0 || dates.some((event) => event.bookingScope !== "single_occurrence")) return null;
|
|
23678
|
+
const scopes = dates.map(publicEventCancellation);
|
|
23679
|
+
if (scopes.some((scope) => scope === null)) return null;
|
|
23680
|
+
return copyByScope[scopes.every((scope) => scope === "event") ? "event" : "date"];
|
|
23646
23681
|
}
|
|
23647
|
-
|
|
23648
|
-
|
|
23682
|
+
/**
|
|
23683
|
+
* A course page whose every run was cancelled says the event was cancelled,
|
|
23684
|
+
* rather than inviting people to check back for dates. One run still on, or
|
|
23685
|
+
* a run closed for any other reason, leaves the page to its usual copy.
|
|
23686
|
+
*/
|
|
23687
|
+
function cancelledRunsCopy(runRepresentatives) {
|
|
23688
|
+
return runRepresentatives.length > 0 && runRepresentatives.every((event) => publicEventCancellation(event) === "event") ? copyByScope.event : null;
|
|
23649
23689
|
}
|
|
23650
23690
|
//#endregion
|
|
23651
23691
|
//#region ../blocks/src/system/blocks/shared/bookingPageKind.ts
|
|
@@ -24227,11 +24267,12 @@ function eventVenuePlace(venue) {
|
|
|
24227
24267
|
*
|
|
24228
24268
|
* Booking here sends a confirmation email that carries the joining link (the
|
|
24229
24269
|
* link is required for an online event people book here), so the note only
|
|
24230
|
-
* promises it when the visitor books on this site
|
|
24270
|
+
* promises it when the visitor books on this site, and not once the date's
|
|
24271
|
+
* cancelled. Null for in-person events.
|
|
24231
24272
|
*/
|
|
24232
24273
|
function eventOnlinePlace(event) {
|
|
24233
24274
|
if (event.deliveryMode === "in_person") return null;
|
|
24234
|
-
const bookedHere = event.requiresRegistration && event.destination.kind !== "external";
|
|
24275
|
+
const bookedHere = event.requiresRegistration && event.destination.kind !== "external" && publicEventCancellation(event) === null;
|
|
24235
24276
|
return {
|
|
24236
24277
|
mode: event.deliveryMode,
|
|
24237
24278
|
note: bookedHere ? "The joining link comes with your booking confirmation." : null
|
|
@@ -26209,7 +26250,8 @@ function closedRegistrationDisplay(source, events) {
|
|
|
26209
26250
|
} : null;
|
|
26210
26251
|
}
|
|
26211
26252
|
function closedRegistrationCopy(source, events) {
|
|
26212
|
-
|
|
26253
|
+
const cancelled = cancelledRegistrationCopy(events, source.occurrenceContext?.id);
|
|
26254
|
+
if (cancelled) return cancelled;
|
|
26213
26255
|
const selectedRun = resolveSelectedWholeSeriesRun(events);
|
|
26214
26256
|
const phase = selectedRun ? resolveWholeSeriesBookingPhase(selectedRun.run, new Date(source.now)) : null;
|
|
26215
26257
|
return phase?.kind === "closed" ? closedRunCopy(phase.reason, selectedRun?.run) : null;
|
|
@@ -27019,6 +27061,10 @@ const eventDetailsBlockDefinition = {
|
|
|
27019
27061
|
fallback: null
|
|
27020
27062
|
} },
|
|
27021
27063
|
events: { $bind: { from: "data.eventDetailsData.events" } },
|
|
27064
|
+
eventOverview: { $bind: {
|
|
27065
|
+
from: "data.eventDetailsData.eventOverview",
|
|
27066
|
+
fallback: false
|
|
27067
|
+
} },
|
|
27022
27068
|
venueDrawing: { $bind: {
|
|
27023
27069
|
from: "data.eventDetailsData.venueDrawing",
|
|
27024
27070
|
fallback: null
|
|
@@ -27059,6 +27105,8 @@ const eventDetailsBlockDefinition = {
|
|
|
27059
27105
|
dataSchemas: {
|
|
27060
27106
|
eventDetailsData: z.object({
|
|
27061
27107
|
events: publicEventsArraySchema,
|
|
27108
|
+
/** The page is about the whole event, not the date the page's booking column holds. */
|
|
27109
|
+
eventOverview: z.boolean().optional(),
|
|
27062
27110
|
venueDrawing: eventVenueDrawingSchema.optional().catch(void 0),
|
|
27063
27111
|
sitePasses: publicPassProductCollectionSchema,
|
|
27064
27112
|
siteMemberships: publicMembershipProductCollectionSchema,
|
|
@@ -37252,6 +37300,7 @@ const publicVoucherOfferSchema = z.object({
|
|
|
37252
37300
|
});
|
|
37253
37301
|
const publicGiftingOffersResponseSchema = z.object({
|
|
37254
37302
|
currency: z.string(),
|
|
37303
|
+
expiryDays: z.number().int().positive(),
|
|
37255
37304
|
giftCards: z.array(publicGiftCardOfferSchema),
|
|
37256
37305
|
vouchers: z.array(publicVoucherOfferSchema)
|
|
37257
37306
|
});
|
|
@@ -40276,4 +40325,4 @@ function listBlockDescriptors() {
|
|
|
40276
40325
|
}));
|
|
40277
40326
|
}
|
|
40278
40327
|
//#endregion
|
|
40279
|
-
export { cardListPresentationSchemaShape as $, effectiveHeaderNavLinkStyle as $a, when as $i, resolveSelectionBookingClosedDetail as $n, mapReadinessFact as $o, heroMorePhotoCount as $r, bookingPresentation as $t, membershipCardListContent as A, chosenString as Aa, boxStylesTransforms as Ai, getLocalDateKey as An, beforeBookingQuestionsPresentationSchema as Ao, headerRuntimeTransforms as Ar, offeringLabelForPageSurfaceSubject as As, buildOfferingsPreviewListing as At, combinedLookSchema as B, resolveEventCalendarReadPlan as Ba, ctaButton as Bi, bookingPageKindSchema as Bn, blockEditingExtensionShape as Bo, createInteractiveIslandCodec as Br, unsafeAsContentEntryId as Bs, resolveEventRegistrationScopedEvents as Bt, shopBlockDefinition as C, parseInlineTextFromUnknown as Ca, testimonialsCarouselFragment as Ci, formatEventNextDateFact as Cn, eventScopeQueryKeys as Co, contentTransforms as Cr, getBookingLocalDateKey as Cs, resolveEventRegistrationEventSource as Ct, buildProductListInteractiveIslandProps as D, parseFieldDefinitions as Da, ctaRowFragment as Di, formatTime as Dn, blockBookingPaymentTermsSchema as Do, readRuntimeNow as Dr, toUtcIsoDateTimeString as Ds, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as Dt, buildProductDetailInteractiveIslandProps as E, parseFieldDefinition as Ea, heroCtaRowFragment as Ei, formatEventWeekdayTime as En, publicEventsArraySchema as Eo, teamMemberCardBiography as Er, parseLocalScheduleTime as Es, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as Et, buildOfferingsCatalogueListing as F, eventReadinessResultSchema as Fa, parseBackgroundOverlay as Fi, getOrderedDayNames as Fn, hiddenFromVisitors as Fo, formattingTransforms as Fr, publicEventPricingType as Fs, readOfferingsGrouping as Ft, buildEventCollectionListingDisplay as G, lookPresentationOnPalette as Ga, lookCarouselRegionTransform as Gi, isDropInPublicEvent as Gn, builtInBlockKindsSchema as Go, listItemPresentation as Gr, getIconComponent as Gt, buildEventListingInteractiveIslandProps as H, themeButtonSelector as Ha, isSemanticSpacing as Hi, hasCancelledRegistrationDate as Hn, DEFAULT_MEDIA_FIELD_KINDS as Ho, createZodCodec as Hr, ThemedButton as Ht, offeringsCatalogueShape as I, resolveEventCalendarRead as Ia, parseRuntimeBackgroundContent as Ii, getWeekCalendarDayTuple as In, loadedReadinessFact as Io, formatDate$1 as Ir, resolveExactOrFreePriceDisplay as Is, resolveOfferingsPreviewGroupCta as It, eventCollectionSourceSchemaShape as J, groundPaint as Ja, lookSkinSlotTransform as Ji, planOrdinarySeriesSelection as Jn, isAcceptedRepeaterGridSpan as Jo, lookListPresentationSchemaShape as Jr, eventListWeekDays as Jt, eventCollectionDisplaySchemaShape as K, resolveLookSurfacePresentation as Ka, lookLeadSlotTransform as Ki, isOrdinaryPublicEvent as Kn, fieldSchema as Ko, listLookControl as Kr, SpinnerNode as Kt, eventCalendarBlockDefinition as L, resolveEventScopeRead as La, resolveSectionSurfaceForeground as Li, getWeekCalendarDays as Ln, pageTemplateFromEntry as Lo, formBlockDefinition as Lr, resolvePricingOptionsPriceDisplay as Ls, resolveOfferingsPreviewGroups as Lt, passCardListContent as M, eventReadinessLoaderKey as Ma, normalizeBoxStylesBorder as Mi, addDays as Mn, linkSchema as Mo, layoutTransforms as Mr, isPublicEventPricingOptionDisplayable as Ms, normalizeOfferingsPreviewItemLimit as Mt, offeringsPreviewBlockDefinition as N, eventReadinessQuery as Na, resolveCardRoleForBoxStyles as Ni, formatDateKey as Nn, calendarWindowQuerySchema as No, staticHeaderChromeRuntime as Nr, publicEventPricingCurrency as Ns, offeringRunLifecycle as Nt, buildShopInteractiveIslandProps as O, PUBLIC_DOWNLOAD_MEDIA_TYPES as Oa, isBlockButtonRole as Oi, groupEventsByDate as On, blockBookingConsentSchema as Oo, resolveDateRuntimeContext as Or, resolveBookingBusinessTimeZone as Os, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as Ot, publicRouteCandidatesSchema as P, eventReadinessQueryKeys as Pa, parseBackgroundContent as Pi, getDayOfWeek as Pn, admitReadinessFacts as Po, uiTransforms as Pr, publicEventPricingDisplay as Ps, offeringsListingFor as Pt, CardListLeadDate as Q, authoredHeaderLinkForeground as Qa, el as Qi, registrationDataForEventSelection as Qn, resolveRepeaterGridSpanFieldId as Qo, clsx as Qr, formatBookingSchedulePresentation as Qt, buildEventCalendarInteractiveIslandProps as R, eventCalendarListGroupingDecision as Ra, resolveSurfaceForegroundStyles as Ri, isSameCalendarDay as Rn, unavailableReadinessFact as Ro, buildFormInteractiveIslandProps as Rr, formatCurrencyAmount as Rs, resolveOfferingsRenderInput as Rt, productListBlockDefinition as S, isInlineTextEmpty as Sa, formCopyFragment as Si, formatEventHourLabel as Sn, eventScopeLoaderParam as So, splitPositioningClasses as Sr, formatLocalScheduleDate as Ss, buildEventRegistrationInteractiveIslandProps as St, buildCheckoutInteractiveIslandProps as T, normalizeSelectSource as Ta, ctaCopyFragment as Ti, formatEventTimeRange as Tn, projectRecurringSchedule as To, teamMemberBiography as Tr, parseBookingLocalDate as Ts, previewStageSchema as Tt, buildEventCollectionDisplay as U, AFFORDANCE_SUPPRESS_CLASS as Ua, bodyCopyFragment as Ui, eventOccurrenceContext as Un, blockCategoryEnum as Uo, defineClientOwnedBlockRuntime as Ur, ThemedButtonLink as Ut, eventListingBlockDefinition as V, parseThemeButtonVariantId as Va, layoutSectionGround as Vi, cancelledDateCopy as Vn, placedEditingPaths as Vo, defineInteractiveIslandMetaKeys as Vr, arrangementSlotNames as Vs, ThemedAuthoredButton as Vt, buildEventCollectionHydration as W, resolveHeaderRootForeground as Wa, defineFragment as Wi, getPublicEventCanonicalPath as Wn, blockLookFieldShape as Wo, defineProgressiveBlockRuntime as Wr, ThemedDownloadLink as Wt, listingEventCardProps as X, boundaryGeometryStyle as Xa, createTransformRegistry as Xi, planWholeSeriesParentSelection as Xn, resolveRepeaterGridColumnFieldId as Xo, itemRole as Xr, groupEventsByWeek as Xt, catalogueEventCardProps as Y, pageGround as Ya, asPartialObject as Yi, planWholeSeriesParentBooking as Yn, parseRepeaterGridInteger as Yo, resolvedItemSurfaceProps as Yr, eventWeekGroupingContext as Yt, CardListContentPart as Z, parseListLook as Za, runTransforms as Zi, planWholeSeriesRunSelection as Zn, resolveRepeaterGridRowFieldId as Zo, Grid as Zr, weekColumnDays as Zt, giftingBlockDefinition as _, PlusIcon as _a, faqAccordionFragment as _i, formatCalendarTitle as _n, sectionForegroundBackground as _o, shouldReserveFeatureCardIconZone as _r, inferSiteDateLocale as _s, getCardOrientation as _t, systemBlockDefinitions as a, ChevronDownIcon as aa, resolveClassPriceItems as ai, blockSiteTermsSchema as an, pageFlowDefaultJoinCandidate as ao, resolveEventPageLink as ar, resolveWholeSeriesBookingPhase as as, MediaPlaceholder as at, cartBlockDefinition as b, UsersIcon as ba, singleButtonFragment as bi, formatEventCompactDateRail as bn, headerRootPaint as bo, composeHeaderSectionWrapperClassName as br, addLocalScheduleDays as bs, lookPartShown as bt, normalizeLocationMapProps as c, ClockIcon as ca, formatEventPrice as ci, closedDatesCopy as cn, siteStyleEdges as co, isInBookingCutOffWindow as cr, parseMailingListRuntimeContext as cs, resolveImageUrl as ct, resolveLocationMapLocation as d, FileSpreadsheetIcon as da, formatEventStartingPrice as di, closedDateCopy as dn, deriveSectionGround as do, getEventAvailability as dr, sameMailingListPlacementTargeting as ds, resolveArrangementKnobs as dt, buildGeneratedBlockIconRenderAssetLookupFromUnknown as ea, morePhotosField as ei, browserReadAuthoritySchema as en, readOpeningToneProjection as eo, selectionRepresentativeEvent as er, isRecord$5 as es, resolveCardListSchedule as et, newsletterSignupBlockDefinition as f, FileTextIcon as fa, BACKGROUND_POSITION_PRESET_VALUES as fi, cutOffDateCopy as fn, parseCanonicalRuntimeBackground as fo, getEventAvailabilityStatus as fr, isCanonicalRichTextDoc as fs, systemCustomizeFacetDefinitionsForBlock as ft, newsletterBlockSubmissionMessage as g, MinusIcon as ga, cardFragment as gi, eventLocalDateKey as gn, sectionDecisionFromContent as go, resolveFeatureCardGeneratedIconSizePx as gr, formatDateTimeRange as gs, EventQuickFacts as gt, buildNewsletterFormInteractiveIslandProps as h, MapPinIcon as ha, headingFragment as hi, eventDateOptions as hn, resolveSectionPhotoPlacement as ho, FEATURE_CARD_ICON_TREATMENTS as hr, formatDateRange as hs, setContextResolveImageUrlContext as ht, normalizeBlockContent as i, CalendarIcon as ia, classPricesDataSchema as ii, formatEventLocation as in, boundaryOptionsForStyle as io, resolveEventCta as ir, orderedLiveRunSessions as is, ImagePresets as it, membershipClassesLabel as j, blockChecksForEvents as ja, boxStyleClassNames as ji, getLocalMinuteOfDay as jn, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as jo, chromeLogoTransforms as jr, formatBookingPriceDisplay as js, groupOfferingRunsByCourse as jt, shopProductPresentation as k, augmentManifest as ka, heroCopyFragment as ki, resolveEventTimeZone as kn, bookingConsentCarrierSchema as ko, mediaTransforms as kr, toBookingTimeZone as ks, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as kt, normalizeLocationMapSource as l, FileArchiveIcon as la, formatEventPriceAmount as li, closedRunCopy as ln, pageFlowPresets as lo, formatEventRemainingPlaces as lr, parseMailingListProviderScope as ls, resolveImageUrlWithContext as lt, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as m, InfoIcon as ma, richTextFragment as mi, eventCalendarWeekStart as mn, resolveSectionForeground as mo, groupPublicEventsByRun as mr, formatDate$2 as ms, getCurrentResolveImageUrlContext as mt, hasBlockDefinition as n, resolveBlockIconRenderValue as na, resolveDeclaredBlockDesignCapability as ni, eventPlaceName as nn, sectionPhotoPath as no, eventDestinationPagePath as nr, CANCELLED_SESSION_STATUS as ns, MediaNodeServer as nt, LOCATION_MAP_LOADER_KEYS as o, CircleMinusIcon as oa, formatCoursePrice as oi, pageNavigationSchema as on, resolveJoinTreatment as oo, resolveRuntimeEventDestination as or, resolveWholeSeriesPaymentDates as os, computeMediaTransformStyle as ot, sanitizeNewsletterSignupPublicContent as p, GlobeIcon as pa, getAnchorClasses as pi, buildCalendarViewport as pn, resolveSectionBackground as po, isEventFull as pr, EVENT_ADDRESS_AFTER_BOOKING_LABEL as ps, buildResolveImageUrlContext as pt, eventCollectionHydrationSchema as q, selectItemSurfacePresentation as qa, lookQuoteLimitTransform as qi, planDropInPanel as qn, validateManifestLookField as qo, listLookSlot as qr, buildEventListWeek as qt, listBlockDescriptors as r, ArrowDownIcon as ra, classPricesCopySchema as ri, eventVenuePlace as rn, storedSectionPhoto as ro, resolveEventCardBooking as rr, nextLiveRunSessionStartMs as rs, RichText as rt, describeUnresolvedLocationMapLocation as s, CirclePlusIcon as sa, formatEventDepositNote as si, closedDateListCopy as sn, resolvePageJoins as so, isBookableEvent as sr, buildMailingListSignupBlockSourceRef as ss, resolveImageSourceSetWithContext as st, getBlockDefinition as t, parseBlockIconValue as ta, blockDesignCapabilityMapFromDefinitions as ti, eventOnlinePlace as tn, heroPhotoPaintsGround as to, eventDestinationBookingLink as tr, EVENT_PRESET_VALUES as ts, selectCardListPresentation as tt, parseLocationMapLoaderResult as u, FileAudioIcon as ua, formatEventPriceDisplay as ui, bookElsewhereDateCopy as un, applyLookPhotoTreatment as uo, formatTotalCapacity as ur, parseMailingListPlacementTargeting as us, resolvePublicMediaUrl as ut, buildGiftingInteractiveIslandProps as v, TicketIcon as va, faqHeadingFragment as vi, formatDate as vn, headerNeedsPhotoShade as vo, siteFooterManifest as vr, formatBookingCompactEnglishTime as vs, getContainerClass as vt, buildCartInteractiveIslandProps as w, plainTextToInlineText as wa, testimonialsHeadingFragment as wi, formatEventRunDates as wn, resolveEventScope as wo, parseTeamMemberSpecialties as wr, getLocalScheduleDate as ws, bookingNowSchema as wt, productDetailBlockDefinition as x, inlineTextToPlainText as xa, formEmbedFragment as xi, formatEventDateParts as xn, eventDiscoveryFilterKeys as xo, markEditableSurfaceForwarding as xr, compareLocalScheduleDates as xs, eventRegistrationBlockDefinition as xt, checkoutBlockDefinition as y, UserIcon as ya, blogFeaturedPostFragment as yi, formatEventClockLabel as yn, headerRootIsTransparent as yo, siteHeaderManifest as yr, toScheduledBookingDateTime as ys, resolveCalendarReadProfile as yt, buildEventCalendarListingDisplay as z, eventCalendarLookViews as za, resolveBackgroundColorValue as zi, isToday as zn, blockEditingDeclarationShape as zo, buildInteractiveIslandProps as zr, parseContentVersionId as zs, normalizeEventRegistrationPageSurfaceSubject as zt };
|
|
40328
|
+
export { cardListPresentationSchemaShape as $, authoredHeaderLinkForeground as $a, el as $i, resolveSelectionBookingClosedDetail as $n, resolveRepeaterGridSpanFieldId as $o, clsx as $r, bookingPresentation as $t, membershipCardListContent as A, augmentManifest as Aa, heroCopyFragment as Ai, getLocalDateKey as An, bookingConsentCarrierSchema as Ao, mediaTransforms as Ar, toBookingTimeZone as As, buildOfferingsPreviewListing as At, combinedLookSchema as B, eventCalendarLookViews as Ba, resolveBackgroundColorValue as Bi, bookingPageKindSchema as Bn, blockEditingDeclarationShape as Bo, buildInteractiveIslandProps as Br, parseContentVersionId as Bs, resolveEventRegistrationScopedEvents as Bt, shopBlockDefinition as C, isInlineTextEmpty as Ca, formCopyFragment as Ci, formatEventNextDateFact as Cn, eventScopeLoaderParam as Co, splitPositioningClasses as Cr, formatLocalScheduleDate as Cs, resolveEventRegistrationEventSource as Ct, buildProductListInteractiveIslandProps as D, parseFieldDefinition as Da, heroCtaRowFragment as Di, formatTime as Dn, publicEventsArraySchema as Do, teamMemberCardBiography as Dr, parseLocalScheduleTime as Ds, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as Dt, buildProductDetailInteractiveIslandProps as E, normalizeSelectSource as Ea, ctaCopyFragment as Ei, formatEventWeekdayTime as En, projectRecurringSchedule as Eo, teamMemberBiography as Er, parseBookingLocalDate as Es, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as Et, buildOfferingsCatalogueListing as F, eventReadinessQueryKeys as Fa, parseBackgroundContent as Fi, getOrderedDayNames as Fn, admitReadinessFacts as Fo, uiTransforms as Fr, publicEventPricingDisplay as Fs, readOfferingsGrouping as Ft, buildEventCollectionListingDisplay as G, resolveHeaderRootForeground as Ga, defineFragment as Gi, isDropInPublicEvent as Gn, blockLookFieldShape as Go, defineProgressiveBlockRuntime as Gr, getIconComponent as Gt, buildEventListingInteractiveIslandProps as H, parseThemeButtonVariantId as Ha, layoutSectionGround as Hi, cancelledRunsCopy as Hn, placedEditingPaths as Ho, defineInteractiveIslandMetaKeys as Hr, arrangementSlotNames as Hs, ThemedButton as Ht, offeringsCatalogueShape as I, eventReadinessResultSchema as Ia, parseBackgroundOverlay as Ii, getWeekCalendarDayTuple as In, hiddenFromVisitors as Io, formattingTransforms as Ir, publicEventPricingType as Is, resolveOfferingsPreviewGroupCta as It, eventCollectionSourceSchemaShape as J, selectItemSurfacePresentation as Ja, lookQuoteLimitTransform as Ji, planOrdinarySeriesSelection as Jn, validateManifestLookField as Jo, listLookSlot as Jr, eventListWeekDays as Jt, eventCollectionDisplaySchemaShape as K, lookPresentationOnPalette as Ka, lookCarouselRegionTransform as Ki, isOrdinaryPublicEvent as Kn, builtInBlockKindsSchema as Ko, listItemPresentation as Kr, SpinnerNode as Kt, eventCalendarBlockDefinition as L, resolveEventCalendarRead as La, parseRuntimeBackgroundContent as Li, getWeekCalendarDays as Ln, loadedReadinessFact as Lo, formatDate$1 as Lr, resolveExactOrFreePriceDisplay as Ls, resolveOfferingsPreviewGroups as Lt, passCardListContent as M, blockChecksForEvents as Ma, boxStyleClassNames as Mi, addDays as Mn, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Mo, chromeLogoTransforms as Mr, formatBookingPriceDisplay as Ms, normalizeOfferingsPreviewItemLimit as Mt, offeringsPreviewBlockDefinition as N, eventReadinessLoaderKey as Na, normalizeBoxStylesBorder as Ni, formatDateKey as Nn, linkSchema as No, layoutTransforms as Nr, isPublicEventPricingOptionDisplayable as Ns, offeringRunLifecycle as Nt, buildShopInteractiveIslandProps as O, parseFieldDefinitions as Oa, ctaRowFragment as Oi, groupEventsByDate as On, blockBookingPaymentTermsSchema as Oo, readRuntimeNow as Or, toUtcIsoDateTimeString as Os, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as Ot, publicRouteCandidatesSchema as P, eventReadinessQuery as Pa, resolveCardRoleForBoxStyles as Pi, getDayOfWeek as Pn, calendarWindowQuerySchema as Po, staticHeaderChromeRuntime as Pr, publicEventPricingCurrency as Ps, offeringsListingFor as Pt, CardListLeadDate as Q, parseListLook as Qa, runTransforms as Qi, registrationDataForEventSelection as Qn, resolveRepeaterGridRowFieldId as Qo, Grid as Qr, formatBookingSchedulePresentation as Qt, buildEventCalendarInteractiveIslandProps as R, resolveEventScopeRead as Ra, resolveSectionSurfaceForeground as Ri, isSameCalendarDay as Rn, pageTemplateFromEntry as Ro, formBlockDefinition as Rr, resolvePricingOptionsPriceDisplay as Rs, resolveOfferingsRenderInput as Rt, productListBlockDefinition as S, inlineTextToPlainText as Sa, formEmbedFragment as Si, formatEventHourLabel as Sn, eventDiscoveryFilterKeys as So, markEditableSurfaceForwarding as Sr, compareLocalScheduleDates as Ss, buildEventRegistrationInteractiveIslandProps as St, buildCheckoutInteractiveIslandProps as T, plainTextToInlineText as Ta, testimonialsHeadingFragment as Ti, formatEventTimeRange as Tn, resolveEventScope as To, parseTeamMemberSpecialties as Tr, getLocalScheduleDate as Ts, previewStageSchema as Tt, buildEventCollectionDisplay as U, themeButtonSelector as Ua, isSemanticSpacing as Ui, eventOccurrenceContext as Un, DEFAULT_MEDIA_FIELD_KINDS as Uo, createZodCodec as Ur, ThemedButtonLink as Ut, eventListingBlockDefinition as V, resolveEventCalendarReadPlan as Va, ctaButton as Vi, cancelledRegistrationCopy as Vn, blockEditingExtensionShape as Vo, createInteractiveIslandCodec as Vr, unsafeAsContentEntryId as Vs, ThemedAuthoredButton as Vt, buildEventCollectionHydration as W, AFFORDANCE_SUPPRESS_CLASS as Wa, bodyCopyFragment as Wi, getPublicEventCanonicalPath as Wn, blockCategoryEnum as Wo, defineClientOwnedBlockRuntime as Wr, ThemedDownloadLink as Wt, listingEventCardProps as X, pageGround as Xa, asPartialObject as Xi, planWholeSeriesParentSelection as Xn, parseRepeaterGridInteger as Xo, resolvedItemSurfaceProps as Xr, groupEventsByWeek as Xt, catalogueEventCardProps as Y, groundPaint as Ya, lookSkinSlotTransform as Yi, planWholeSeriesParentBooking as Yn, isAcceptedRepeaterGridSpan as Yo, lookListPresentationSchemaShape as Yr, eventWeekGroupingContext as Yt, CardListContentPart as Z, boundaryGeometryStyle as Za, createTransformRegistry as Zi, planWholeSeriesRunSelection as Zn, resolveRepeaterGridColumnFieldId as Zo, itemRole as Zr, weekColumnDays as Zt, giftingBlockDefinition as _, MinusIcon as _a, cardFragment as _i, formatCalendarTitle as _n, sectionDecisionFromContent as _o, resolveFeatureCardGeneratedIconSizePx as _r, formatDateTimeRange as _s, getCardOrientation as _t, systemBlockDefinitions as a, CalendarIcon as aa, classPricesDataSchema as ai, blockSiteTermsSchema as an, boundaryOptionsForStyle as ao, resolveEventCta as ar, orderedLiveRunSessions as as, MediaPlaceholder as at, cartBlockDefinition as b, UserIcon as ba, blogFeaturedPostFragment as bi, formatEventCompactDateRail as bn, headerRootIsTransparent as bo, siteHeaderManifest as br, toScheduledBookingDateTime as bs, lookPartShown as bt, normalizeLocationMapProps as c, CirclePlusIcon as ca, formatEventDepositNote as ci, closedDatesCopy as cn, resolvePageJoins as co, isBookableEvent as cr, buildMailingListSignupBlockSourceRef as cs, resolveImageUrl as ct, resolveLocationMapLocation as d, FileAudioIcon as da, formatEventPriceDisplay as di, closedDateCopy as dn, applyLookPhotoTreatment as do, formatTotalCapacity as dr, parseMailingListPlacementTargeting as ds, resolveArrangementKnobs as dt, when as ea, heroMorePhotoCount as ei, browserReadAuthoritySchema as en, effectiveHeaderNavLinkStyle as eo, selectionRepresentativeEvent as er, mapReadinessFact as es, resolveCardListSchedule as et, newsletterSignupBlockDefinition as f, FileSpreadsheetIcon as fa, formatEventStartingPrice as fi, cutOffDateCopy as fn, deriveSectionGround as fo, getEventAvailability as fr, sameMailingListPlacementTargeting as fs, systemCustomizeFacetDefinitionsForBlock as ft, newsletterBlockSubmissionMessage as g, MapPinIcon as ga, headingFragment as gi, eventLocalDateKey as gn, resolveSectionPhotoPlacement as go, FEATURE_CARD_ICON_TREATMENTS as gr, formatDateRange as gs, EventQuickFacts as gt, buildNewsletterFormInteractiveIslandProps as h, InfoIcon as ha, richTextFragment as hi, eventDateOptions as hn, resolveSectionForeground as ho, groupPublicEventsByRun as hr, formatDate$2 as hs, setContextResolveImageUrlContext as ht, normalizeBlockContent as i, ArrowDownIcon as ia, classPricesCopySchema as ii, formatEventLocation as in, storedSectionPhoto as io, resolveEventCardBooking as ir, nextLiveRunSessionStartMs as is, ImagePresets as it, membershipClassesLabel as j, chosenString as ja, boxStylesTransforms as ji, getLocalMinuteOfDay as jn, beforeBookingQuestionsPresentationSchema as jo, headerRuntimeTransforms as jr, offeringLabelForPageSurfaceSubject as js, groupOfferingRunsByCourse as jt, shopProductPresentation as k, PUBLIC_DOWNLOAD_MEDIA_TYPES as ka, isBlockButtonRole as ki, resolveEventTimeZone as kn, blockBookingConsentSchema as ko, resolveDateRuntimeContext as kr, resolveBookingBusinessTimeZone as ks, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as kt, normalizeLocationMapSource as l, ClockIcon as la, formatEventPrice as li, closedRunCopy as ln, siteStyleEdges as lo, isInBookingCutOffWindow as lr, parseMailingListRuntimeContext as ls, resolveImageUrlWithContext as lt, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as m, GlobeIcon as ma, getAnchorClasses as mi, eventCalendarWeekStart as mn, resolveSectionBackground as mo, isEventFull as mr, EVENT_ADDRESS_AFTER_BOOKING_LABEL as ms, getCurrentResolveImageUrlContext as mt, hasBlockDefinition as n, parseBlockIconValue as na, blockDesignCapabilityMapFromDefinitions as ni, eventPlaceName as nn, heroPhotoPaintsGround as no, eventDestinationBookingLink as nr, EVENT_PRESET_VALUES as ns, MediaNodeServer as nt, LOCATION_MAP_LOADER_KEYS as o, ChevronDownIcon as oa, resolveClassPriceItems as oi, pageNavigationSchema as on, pageFlowDefaultJoinCandidate as oo, resolveEventPageLink as or, resolveWholeSeriesBookingPhase as os, computeMediaTransformStyle as ot, sanitizeNewsletterSignupPublicContent as p, FileTextIcon as pa, BACKGROUND_POSITION_PRESET_VALUES as pi, buildCalendarViewport as pn, parseCanonicalRuntimeBackground as po, getEventAvailabilityStatus as pr, isCanonicalRichTextDoc as ps, buildResolveImageUrlContext as pt, eventCollectionHydrationSchema as q, resolveLookSurfacePresentation as qa, lookLeadSlotTransform as qi, planDropInPanel as qn, fieldSchema as qo, listLookControl as qr, buildEventListWeek as qt, listBlockDescriptors as r, resolveBlockIconRenderValue as ra, resolveDeclaredBlockDesignCapability as ri, eventVenuePlace as rn, sectionPhotoPath as ro, eventDestinationPagePath as rr, CANCELLED_SESSION_STATUS as rs, RichText as rt, describeUnresolvedLocationMapLocation as s, CircleMinusIcon as sa, formatCoursePrice as si, closedDateListCopy as sn, resolveJoinTreatment as so, resolveRuntimeEventDestination as sr, resolveWholeSeriesPaymentDates as ss, resolveImageSourceSetWithContext as st, getBlockDefinition as t, buildGeneratedBlockIconRenderAssetLookupFromUnknown as ta, morePhotosField as ti, eventOnlinePlace as tn, readOpeningToneProjection as to, publicEventCancellation as tr, isRecord$5 as ts, selectCardListPresentation as tt, parseLocationMapLoaderResult as u, FileArchiveIcon as ua, formatEventPriceAmount as ui, bookElsewhereDateCopy as un, pageFlowPresets as uo, formatEventRemainingPlaces as ur, parseMailingListProviderScope as us, resolvePublicMediaUrl as ut, buildGiftingInteractiveIslandProps as v, PlusIcon as va, faqAccordionFragment as vi, formatDate as vn, sectionForegroundBackground as vo, shouldReserveFeatureCardIconZone as vr, inferSiteDateLocale as vs, getContainerClass as vt, buildCartInteractiveIslandProps as w, parseInlineTextFromUnknown as wa, testimonialsCarouselFragment as wi, formatEventRunDates as wn, eventScopeQueryKeys as wo, contentTransforms as wr, getBookingLocalDateKey as ws, bookingNowSchema as wt, productDetailBlockDefinition as x, UsersIcon as xa, singleButtonFragment as xi, formatEventDateParts as xn, headerRootPaint as xo, composeHeaderSectionWrapperClassName as xr, addLocalScheduleDays as xs, eventRegistrationBlockDefinition as xt, checkoutBlockDefinition as y, TicketIcon as ya, faqHeadingFragment as yi, formatEventClockLabel as yn, headerNeedsPhotoShade as yo, siteFooterManifest as yr, formatBookingCompactEnglishTime as ys, resolveCalendarReadProfile as yt, buildEventCalendarListingDisplay as z, eventCalendarListGroupingDecision as za, resolveSurfaceForegroundStyles as zi, isToday as zn, unavailableReadinessFact as zo, buildFormInteractiveIslandProps as zr, formatCurrencyAmount as zs, normalizeEventRegistrationPageSurfaceSubject as zt };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as toPageHydrationBootstrapConfig, t as PageContent } from "../../pageShared-
|
|
1
|
+
import { n as toPageHydrationBootstrapConfig, t as PageContent } from "../../pageShared-ALu7y5Dq.mjs";
|
|
2
2
|
export { PageContent, toPageHydrationBootstrapConfig };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as loadPageWithDeps, t as loadPage } from "../../loadPage-
|
|
1
|
+
import { n as loadPageWithDeps, t as loadPage } from "../../loadPage-BZyqF_g3.mjs";
|
|
2
2
|
export { loadPage, loadPageWithDeps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as invalidRenderableBlock, c as readSdkPreviewPublishedPlacement, d as siteBlockRenderContext, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, t as buildPageOutline, u as sanitizeSdkRuntimeBlockContent } from "../../pageRuntimeSupport-
|
|
1
|
+
import { a as invalidRenderableBlock, c as readSdkPreviewPublishedPlacement, d as siteBlockRenderContext, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, t as buildPageOutline, u as sanitizeSdkRuntimeBlockContent } from "../../pageRuntimeSupport-BQ1dWs1V.mjs";
|
|
2
2
|
export { buildPageOutline, buildRenderablePageOutline, buildSiteRenderSupport, collectMediaAssetSidecar, invalidRenderableBlock, projectRenderablePageOutline, readInvalidBlockAdmission, readSdkPreviewPublishedPlacement, resolveSdkBlockManifest, sanitizeSdkRuntimeBlockContent, siteBlockRenderContext };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as MissingBlockOverrideError } from "../pageShared-
|
|
2
|
-
import { a as bookingDetailEvents, c as buildBookingPageOutline, d as buildCodeOwnedPageBlocks, f as createPublicBlockContentContractResolver, g as bookingSectionBlocks, h as bookingPageDesign, i as BOOKING_PAGE_BLOCK_IDS, l as bookingPageIdentity, m as bookingHero, n as SERVICE_BOOKING_BLOCK_IDS, o as bookingPageFacts, p as bookingDescription, r as buildServiceBookingOutline, s as bookingPageSeedData, t as parseServicePageContent, u as plainTextDoc } from "../servicePageContent-
|
|
1
|
+
import { d as MissingBlockOverrideError } from "../pageShared-ALu7y5Dq.mjs";
|
|
2
|
+
import { a as bookingDetailEvents, c as buildBookingPageOutline, d as buildCodeOwnedPageBlocks, f as createPublicBlockContentContractResolver, g as bookingSectionBlocks, h as bookingPageDesign, i as BOOKING_PAGE_BLOCK_IDS, l as bookingPageIdentity, m as bookingHero, n as SERVICE_BOOKING_BLOCK_IDS, o as bookingPageFacts, p as bookingDescription, r as buildServiceBookingOutline, s as bookingPageSeedData, t as parseServicePageContent, u as plainTextDoc } from "../servicePageContent-CsUerbJ1.mjs";
|
|
3
3
|
import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "../themeAdmission-DGSAlFUK.mjs";
|
|
4
4
|
import { n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations } from "../overrides-CD4d-1w7.mjs";
|
|
5
|
-
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, o as prefetchFooterBlockData, r as Layout, t as BlockContent } from "../Block.shared-
|
|
6
|
-
import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-
|
|
5
|
+
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, o as prefetchFooterBlockData, r as Layout, t as BlockContent } from "../Block.shared-CbGnxkWX.mjs";
|
|
6
|
+
import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-CuduOS6V.mjs";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
//#region src/rendering/components/Block.server.tsx
|
|
9
9
|
/**
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { D as parseCanonicalMediaIdentifier, E as mediaIdentifierSchema, O as parseMediaIdentifier, S as resolveManagedMediaReference, _ as runtimeMediaSchema, b as renderableMediaAssetSchema, g as persistableMediaSchema, h as mediaSchema, y as buildRenderableMediaAssetIndex } from "./resolveButtonColourStates-
|
|
2
|
-
import { x as resolveAuthoredLinkHref } from "./pageRenderPlan-
|
|
3
|
-
import {
|
|
4
|
-
import { d as MissingBlockOverrideError, f as PageRenderer, g as buildThemeRuntime, h as toBlocksMediaAssets, l as ThemeScope, m as toBlocksImageResolveContextInput, n as toPageHydrationBootstrapConfig, p as toBlocksPageRendererDataContext, t as PageContent, u as EditorPageRenderer } from "./pageShared-
|
|
5
|
-
import { C as projectRepeaterGridLayout$1, b as admitLayoutGridForPlan, w as projectRepeaterGridLayoutForRendering$1, x as deriveFieldValidationPlan } from "./pageRuntimeSupport-
|
|
1
|
+
import { D as parseCanonicalMediaIdentifier, E as mediaIdentifierSchema, O as parseMediaIdentifier, S as resolveManagedMediaReference, _ as runtimeMediaSchema, b as renderableMediaAssetSchema, g as persistableMediaSchema, h as mediaSchema, y as buildRenderableMediaAssetIndex } from "./resolveButtonColourStates-ChlP4NJ9.mjs";
|
|
2
|
+
import { x as resolveAuthoredLinkHref } from "./pageRenderPlan-DmP0HVMu.mjs";
|
|
3
|
+
import { Da as parseFieldDefinition, ct as resolveImageUrl$1, lt as resolveImageUrlWithContext$1, ot as computeMediaTransformStyle, pt as buildResolveImageUrlContext, rt as RichText$2, st as resolveImageSourceSetWithContext$1 } from "./registry-DD_s7l3Y.mjs";
|
|
4
|
+
import { d as MissingBlockOverrideError, f as PageRenderer, g as buildThemeRuntime, h as toBlocksMediaAssets, l as ThemeScope, m as toBlocksImageResolveContextInput, n as toPageHydrationBootstrapConfig, p as toBlocksPageRendererDataContext, t as PageContent, u as EditorPageRenderer } from "./pageShared-ALu7y5Dq.mjs";
|
|
5
|
+
import { C as projectRepeaterGridLayout$1, b as admitLayoutGridForPlan, w as projectRepeaterGridLayoutForRendering$1, x as deriveFieldValidationPlan } from "./pageRuntimeSupport-BQ1dWs1V.mjs";
|
|
6
6
|
import { l as sanitizeHref } from "./typeGuards-DZOaGTEv.mjs";
|
|
7
|
-
import { a as bookingDetailEvents, c as buildBookingPageOutline, d as buildCodeOwnedPageBlocks, f as createPublicBlockContentContractResolver, g as bookingSectionBlocks, h as bookingPageDesign, i as BOOKING_PAGE_BLOCK_IDS, l as bookingPageIdentity, m as bookingHero, n as SERVICE_BOOKING_BLOCK_IDS, o as bookingPageFacts, p as bookingDescription, r as buildServiceBookingOutline, s as bookingPageSeedData, t as parseServicePageContent, u as plainTextDoc } from "./servicePageContent-
|
|
7
|
+
import { a as bookingDetailEvents, c as buildBookingPageOutline, d as buildCodeOwnedPageBlocks, f as createPublicBlockContentContractResolver, g as bookingSectionBlocks, h as bookingPageDesign, i as BOOKING_PAGE_BLOCK_IDS, l as bookingPageIdentity, m as bookingHero, n as SERVICE_BOOKING_BLOCK_IDS, o as bookingPageFacts, p as bookingDescription, r as buildServiceBookingOutline, s as bookingPageSeedData, t as parseServicePageContent, u as plainTextDoc } from "./servicePageContent-CsUerbJ1.mjs";
|
|
8
8
|
import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-DGSAlFUK.mjs";
|
|
9
|
-
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-
|
|
10
|
-
import { t as loadPage } from "./loadPage-
|
|
9
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-8H1hHdXo.mjs";
|
|
10
|
+
import { t as loadPage } from "./loadPage-BZyqF_g3.mjs";
|
|
11
11
|
import { n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations } from "./overrides-CD4d-1w7.mjs";
|
|
12
|
-
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-
|
|
12
|
+
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-CbGnxkWX.mjs";
|
|
13
13
|
import "react";
|
|
14
14
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as rethrowFrameworkSignal } from "./responseMedia-
|
|
1
|
+
import { a as rethrowFrameworkSignal } from "./responseMedia-D6F1tvIm.mjs";
|
|
2
2
|
import { t as allOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
|
|
3
|
-
import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-
|
|
3
|
+
import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-aR5W1dVF.mjs";
|
|
4
4
|
import { c as toEntrySubrouteContext } from "./resolvePageContent-BWKUZUIn.mjs";
|
|
5
5
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-BCY9z3oB.mjs";
|
|
6
6
|
import { a as defineOwnDataProperty, i as resolveDataLoaderBlockContent, n as getDataLoaderOwnerPageId, t as createDataLoaderContext } from "./dataLoaderContext-lMRTfG5Z.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as parseColorTokenParts, J as normalizePaletteHex, K as hexColorSchema, O as surfaceForegroundValue, Q as paletteModeSchema, U as PALETTE_TOKEN_NAMES, W as absoluteInkColors, X as paletteColorsFromEntries, c as buttonEffectApplicationSchema, m as parseOpaqueButtonColourToken, q as isThemeColorToken, s as unsafeAsOpaqueButtonColourToken } from "./types-
|
|
1
|
+
import { $ as parseColorTokenParts, J as normalizePaletteHex, K as hexColorSchema, O as surfaceForegroundValue, Q as paletteModeSchema, U as PALETTE_TOKEN_NAMES, W as absoluteInkColors, X as paletteColorsFromEntries, c as buttonEffectApplicationSchema, m as parseOpaqueButtonColourToken, q as isThemeColorToken, s as unsafeAsOpaqueButtonColourToken } from "./types-CcKy8_tj.mjs";
|
|
2
2
|
import { o as err, s as ok, t as parseMediaAssetId } from "./media-BRmYrnzb.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region ../theme-core/src/palette/utils/colorConversion.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as resolveManagedMediaReference, b as renderableMediaAssetSchema, h as mediaSchema, x as indexRenderableMediaAssets } from "./resolveButtonColourStates-
|
|
1
|
+
import { S as resolveManagedMediaReference, b as renderableMediaAssetSchema, h as mediaSchema, x as indexRenderableMediaAssets } from "./resolveButtonColourStates-ChlP4NJ9.mjs";
|
|
2
2
|
//#region ../site-contracts/src/identity/loaderEndpoints.ts
|
|
3
3
|
const SUPPORTED_LOADER_ENDPOINTS = [
|
|
4
4
|
"listPublishedEntries",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as parseColorTokenParts, K as hexColorSchema, X as paletteColorsFromEntries, Y as paletteColorEntries, q as isThemeColorToken, tt as themeColorTokenSchema, u as buttonSystemSchema } from "./types-
|
|
2
|
-
import { f as assetMediaSchema, h as mediaSchema, m as imageMediaSchema, p as externalMediaSchema, v as videoMediaSchema } from "./resolveButtonColourStates-
|
|
3
|
-
import { n as accordionSystemSchema } from "./accordions-
|
|
1
|
+
import { $ as parseColorTokenParts, K as hexColorSchema, X as paletteColorsFromEntries, Y as paletteColorEntries, q as isThemeColorToken, tt as themeColorTokenSchema, u as buttonSystemSchema } from "./types-CcKy8_tj.mjs";
|
|
2
|
+
import { f as assetMediaSchema, h as mediaSchema, m as imageMediaSchema, p as externalMediaSchema, v as videoMediaSchema } from "./resolveButtonColourStates-ChlP4NJ9.mjs";
|
|
3
|
+
import { n as accordionSystemSchema } from "./accordions-C_C52VkS.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region ../site-contracts/src/identity/designIds.ts
|
|
6
6
|
function asDesignBlockId(value) {
|
package/dist/server/server.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createRiverbankClient } from "./client-
|
|
2
|
-
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-
|
|
3
|
-
import { t as loadPage } from "./loadPage-
|
|
1
|
+
import { t as createRiverbankClient } from "./client-BGGlrkft.mjs";
|
|
2
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-8H1hHdXo.mjs";
|
|
3
|
+
import { t as loadPage } from "./loadPage-BZyqF_g3.mjs";
|
|
4
4
|
export { createRiverbankClient, isEntryContent, isPageContent, isPageSurfaceContent, loadContent, loadPage };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { h as mediaSchema } from "./resolveButtonColourStates-
|
|
2
|
-
import { b as describePublicRefundPolicy, c as createCustomBlockRegistry,
|
|
3
|
-
import {
|
|
4
|
-
import { C as componentRuntimeRulesForSiteStyle, E as designRuntimeRulesForTheme, M as surfaceResolutionContextFromTheme, Mt as appearancePresets, O as requireCuratedSiteStyle, T as designRuntimeRulesForSiteStyle, _ as applyBlockContentVariantPolicy, b as deriveSiteStyleBlockPolicy, dt as parsePageDesignIntent, ft as rebasePageDesignIntentToSiteStyle, j as stripCompiledRuntimeStyleFields, jt as pageDesignDecisionsV2Schema, v as applySiteStyleBlockPoliciesToPageDesignIntent, w as componentRuntimeRulesForTheme, y as buildInitialPolicyPageDesignIntent } from "./lookMediaFrame-
|
|
5
|
-
import { L as asLayoutVariantKey, M as asAppearancePresetId, P as asDesignBlockId } from "./schema-
|
|
1
|
+
import { h as mediaSchema } from "./resolveButtonColourStates-ChlP4NJ9.mjs";
|
|
2
|
+
import { b as describePublicRefundPolicy, c as createCustomBlockRegistry, it as arrangementContentFacts, y as PUBLIC_FREE_CANCELLATION } from "./pageRenderPlan-DmP0HVMu.mjs";
|
|
3
|
+
import { $o as resolveRepeaterGridSpanFieldId, Da as parseFieldDefinition, Fi as parseBackgroundContent, Kn as isOrdinaryPublicEvent, Qa as parseListLook, Qn as registrationDataForEventSelection, Qo as resolveRepeaterGridRowFieldId, Sa as inlineTextToPlainText, Ta as plainTextToInlineText, Vs as unsafeAsContentEntryId, Yn as planWholeSeriesParentBooking, Zo as resolveRepeaterGridColumnFieldId, a as systemBlockDefinitions, br as siteHeaderManifest, er as selectionRepresentativeEvent, js as offeringLabelForPageSurfaceSubject, ni as blockDesignCapabilityMapFromDefinitions, ns as EVENT_PRESET_VALUES, ps as isCanonicalRichTextDoc, t as getBlockDefinition, tr as publicEventCancellation, wa as parseInlineTextFromUnknown } from "./registry-DD_s7l3Y.mjs";
|
|
4
|
+
import { C as componentRuntimeRulesForSiteStyle, E as designRuntimeRulesForTheme, M as surfaceResolutionContextFromTheme, Mt as appearancePresets, O as requireCuratedSiteStyle, T as designRuntimeRulesForSiteStyle, _ as applyBlockContentVariantPolicy, b as deriveSiteStyleBlockPolicy, dt as parsePageDesignIntent, ft as rebasePageDesignIntentToSiteStyle, j as stripCompiledRuntimeStyleFields, jt as pageDesignDecisionsV2Schema, v as applySiteStyleBlockPoliciesToPageDesignIntent, w as componentRuntimeRulesForTheme, y as buildInitialPolicyPageDesignIntent } from "./lookMediaFrame-Dw6R9B0L.mjs";
|
|
5
|
+
import { L as asLayoutVariantKey, M as asAppearancePresetId, P as asDesignBlockId } from "./schema-ClDfFtz2.mjs";
|
|
6
6
|
import { h as unsafeAsEventCategoryId } from "./portalQuestions-oUyohgL9.mjs";
|
|
7
|
-
import { D as resolveRepeaterGridAcceptedSpans, E as normalizeRepeaterGridSpan, P as readPublishedBlockPlacement, S as fieldPlanToZod, T as flowRepeaterGridItems, _ as findNonPortableManifestMediaPaths, g as deriveRenderableManifestContent, h as compileManifestContentContract, m as admitTransportedRenderableManifestContent, p as admitStoredManifestContentForRendering, v as registeredManifestContentContract, x as deriveFieldValidationPlan } from "./pageRuntimeSupport-
|
|
7
|
+
import { D as resolveRepeaterGridAcceptedSpans, E as normalizeRepeaterGridSpan, P as readPublishedBlockPlacement, S as fieldPlanToZod, T as flowRepeaterGridItems, _ as findNonPortableManifestMediaPaths, g as deriveRenderableManifestContent, h as compileManifestContentContract, m as admitTransportedRenderableManifestContent, p as admitStoredManifestContentForRendering, v as registeredManifestContentContract, x as deriveFieldValidationPlan } from "./pageRuntimeSupport-BQ1dWs1V.mjs";
|
|
8
8
|
import { a as buildRichTextSchema, h as isRecord, n as isRecord$1, o as createRichTextDoc } from "./typeGuards-DZOaGTEv.mjs";
|
|
9
|
-
import { a as buildPageDesignBlockBinding, c as compileEditorModelRuntime, i as blockDesignInputsForDefinition, n as isEntryBoundBlockEmpty, o as buildPageDesignEditorReadModel, r as resolveRuntimeJoinFacts, s as applyCompiledRuntimeFieldsToContent, t as applyBindingsToContent } from "./bindings-
|
|
9
|
+
import { a as buildPageDesignBlockBinding, c as compileEditorModelRuntime, i as blockDesignInputsForDefinition, n as isEntryBoundBlockEmpty, o as buildPageDesignEditorReadModel, r as resolveRuntimeJoinFacts, s as applyCompiledRuntimeFieldsToContent, t as applyBindingsToContent } from "./bindings-D-n66Oqc.mjs";
|
|
10
10
|
import { z } from "zod";
|
|
11
11
|
//#region ../theme-core/src/site-styles/contentTemplateDesignIntent.ts
|
|
12
12
|
function asContentTemplateDesignBlockId(value) {
|
|
@@ -2397,7 +2397,8 @@ function bookingPageFacts(selection) {
|
|
|
2397
2397
|
event: selectionRepresentativeEvent(selection),
|
|
2398
2398
|
identity: bookingPageIdentity(selection),
|
|
2399
2399
|
details: bookingDetailEvents(selection),
|
|
2400
|
-
registration: registrationDataForEventSelection(selection)
|
|
2400
|
+
registration: registrationDataForEventSelection(selection),
|
|
2401
|
+
eventOverview: selection.kind === "occurrence" && Boolean(selection.cancelledEventDates?.length)
|
|
2401
2402
|
};
|
|
2402
2403
|
}
|
|
2403
2404
|
function outlineFromFacts({ event, identity, details }, design, sections) {
|
|
@@ -2414,7 +2415,7 @@ function outlineFromFacts({ event, identity, details }, design, sections) {
|
|
|
2414
2415
|
showCapacity: true,
|
|
2415
2416
|
showVenue: true
|
|
2416
2417
|
}
|
|
2417
|
-
}, {
|
|
2418
|
+
}, ...publicEventCancellation(event) ? [] : [{
|
|
2418
2419
|
id: BOOKING_PAGE_BLOCK_IDS.refundPolicy,
|
|
2419
2420
|
kind: "block.body-text",
|
|
2420
2421
|
purpose: "refund-policy",
|
|
@@ -2435,7 +2436,7 @@ function outlineFromFacts({ event, identity, details }, design, sections) {
|
|
|
2435
2436
|
}]
|
|
2436
2437
|
}]
|
|
2437
2438
|
} }
|
|
2438
|
-
}], design);
|
|
2439
|
+
}]], design);
|
|
2439
2440
|
return {
|
|
2440
2441
|
name: identity.title,
|
|
2441
2442
|
path: design.path,
|
|
@@ -2503,7 +2504,7 @@ function bookingMainBlocks(event, identity, hasDetails) {
|
|
|
2503
2504
|
/** A multi-run parent must not imply that one run's facts describe all its dates. */
|
|
2504
2505
|
function bookingDetailEvents(selection) {
|
|
2505
2506
|
switch (selection.kind) {
|
|
2506
|
-
case "occurrence": return [selection.event];
|
|
2507
|
+
case "occurrence": return [selection.event, ...selection.cancelledEventDates ?? []];
|
|
2507
2508
|
case "dateChoice": return selection.dates;
|
|
2508
2509
|
case "wholeSeriesRun": return [selection.run.representative];
|
|
2509
2510
|
case "wholeSeriesParent": {
|
|
@@ -2514,11 +2515,12 @@ function bookingDetailEvents(selection) {
|
|
|
2514
2515
|
}
|
|
2515
2516
|
}
|
|
2516
2517
|
/** Seed the route's admitted facts, never select or fetch its Event a second time. */
|
|
2517
|
-
function bookingPageSeedData({ registration, details }) {
|
|
2518
|
+
function bookingPageSeedData({ registration, details, eventOverview }) {
|
|
2518
2519
|
return {
|
|
2519
2520
|
[BOOKING_PAGE_BLOCK_IDS.registration]: { ..."events" in registration ? { events: registration.events } : { wholeSeriesRunEvents: registration.wholeSeriesRunEvents } },
|
|
2520
2521
|
[BOOKING_PAGE_BLOCK_IDS.details]: { eventDetailsData: {
|
|
2521
2522
|
events: details,
|
|
2523
|
+
...eventOverview ? { eventOverview: true } : {},
|
|
2522
2524
|
sitePasses: { passes: [] },
|
|
2523
2525
|
siteMemberships: { memberships: [] }
|
|
2524
2526
|
} }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as surfaceForegroundDeclarations, W as absoluteInkColors, d as buttonVariantIdSchema, s as unsafeAsOpaqueButtonColourToken, z as textColorValue } from "./types-
|
|
2
|
-
import { F as isOnColorBackgroundCandidateToken, I as onColorTokenName, J as paletteInkRoles, P as groundMutedInkTokens, a as formatButtonColourContractError, ct as hexToRgb, n as compileButtonColourStates, q as paletteInkOnSolid } from "./resolveButtonColourStates-
|
|
3
|
-
import { A as generateCheckableCss, C as INPUT_GROUP_ERROR_SELECTOR, D as INPUT_EDGE_COLOR_VAR, E as generateInputGroupCss, F as generateShadowCssVars, I as renderCssDeclarations, L as cardBorderDeclarations, M as RESOLVED_BUTTON_DISABLED_DECLARATIONS, N as resolvedButtonColourDeclarations, O as INPUT_ERROR_BORDER_COLOR_VAR, P as resolvedButtonFocusDeclarations, R as cardDecorationPseudoRules, T as INPUT_GROUP_SELECTOR, f as generateTypographyCss, i as compileCustomCssRules, j as generateOpaquePanelCss, l as parseCustomCssRules, m as generateStatusCss, n as THEME_RADIUS_CSS_VARS, p as generateProgressCss, t as ThemeScopeCore, u as generateAllBlockVarsCss, w as INPUT_GROUP_FOCUS_SELECTOR } from "./ThemeScopeCore-
|
|
1
|
+
import { T as surfaceForegroundDeclarations, W as absoluteInkColors, d as buttonVariantIdSchema, s as unsafeAsOpaqueButtonColourToken, z as textColorValue } from "./types-CcKy8_tj.mjs";
|
|
2
|
+
import { F as isOnColorBackgroundCandidateToken, I as onColorTokenName, J as paletteInkRoles, P as groundMutedInkTokens, a as formatButtonColourContractError, ct as hexToRgb, n as compileButtonColourStates, q as paletteInkOnSolid } from "./resolveButtonColourStates-ChlP4NJ9.mjs";
|
|
3
|
+
import { A as generateCheckableCss, C as INPUT_GROUP_ERROR_SELECTOR, D as INPUT_EDGE_COLOR_VAR, E as generateInputGroupCss, F as generateShadowCssVars, I as renderCssDeclarations, L as cardBorderDeclarations, M as RESOLVED_BUTTON_DISABLED_DECLARATIONS, N as resolvedButtonColourDeclarations, O as INPUT_ERROR_BORDER_COLOR_VAR, P as resolvedButtonFocusDeclarations, R as cardDecorationPseudoRules, T as INPUT_GROUP_SELECTOR, f as generateTypographyCss, i as compileCustomCssRules, j as generateOpaquePanelCss, l as parseCustomCssRules, m as generateStatusCss, n as THEME_RADIUS_CSS_VARS, p as generateProgressCss, t as ThemeScopeCore, u as generateAllBlockVarsCss, w as INPUT_GROUP_FOCUS_SELECTOR } from "./ThemeScopeCore-BjxlpVaV.mjs";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { z } from "zod";
|
package/dist/server/theme.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as themeSchema$1 } from "./schema-
|
|
2
|
-
import { t as parseThemeForPersistence } from "./parseThemeForPersistence-
|
|
1
|
+
import { a as themeSchema$1 } from "./schema-ClDfFtz2.mjs";
|
|
2
|
+
import { t as parseThemeForPersistence } from "./parseThemeForPersistence-D_8I28BB.mjs";
|
|
3
3
|
import * as fs from "fs/promises";
|
|
4
4
|
import * as path from "path";
|
|
5
5
|
//#region src/theme/loader.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as RichTextDocSchema, r as createRichTextDocFromMarkdown } from "./typeGuards-DZOaGTEv.mjs";
|
|
2
|
-
import { a as isCustomBlockClassName, l as ALLOWED_TRANSFORM_IDS, o as LAYOUT_Z_INDEX_RULE, r as customBlockLayoutPropIssues, s as ALLOWED_NODE_TYPES, t as titleSourceValueSchema } from "./titleSourceSchema-
|
|
2
|
+
import { a as isCustomBlockClassName, l as ALLOWED_TRANSFORM_IDS, o as LAYOUT_Z_INDEX_RULE, r as customBlockLayoutPropIssues, s as ALLOWED_NODE_TYPES, t as titleSourceValueSchema } from "./titleSourceSchema-DA_iErtG.mjs";
|
|
3
3
|
import { r as createDebugWriter } from "./debug-DXUyrE0T.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/manifest/prompt/theme-summary.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as CSS_LOADING_FUNCTIONS, H as staysInsideDeclaration, V as callsCssLoadingFunction, b as VARIANT_ROLES, t as DEFAULT_VARIANT_ALIAS_ID } from "./types-
|
|
2
|
-
import { t as accordionIconSchema } from "./accordions-
|
|
1
|
+
import { B as CSS_LOADING_FUNCTIONS, H as staysInsideDeclaration, V as callsCssLoadingFunction, b as VARIANT_ROLES, t as DEFAULT_VARIANT_ALIAS_ID } from "./types-CcKy8_tj.mjs";
|
|
2
|
+
import { t as accordionIconSchema } from "./accordions-C_C52VkS.mjs";
|
|
3
3
|
import { c as isSafeRichTextHref, m as customLayoutSizeProblem, n as isRecord } from "./typeGuards-DZOaGTEv.mjs";
|
|
4
4
|
import { a as hasOwn, n as getVideoEmbed, o as nodePropEntries, t as VIDEO_ASPECT_RATIO_PATTERN } from "./video-DBaeSawZ.mjs";
|
|
5
5
|
import { z } from "zod";
|