@riverbankcms/sdk 0.176.0 → 0.178.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -4
- package/dist/_dts/{BlocksIslandsHydrator-DvoTk7Py.d.ts → BlocksIslandsHydrator-CrKsXtpD.d.ts} +1 -1
- package/dist/_dts/{Page-D-l374tU.d.ts → Page-C9i27wZA.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-22DdQAj5.d.ts → SdkPreviewMode-DzGSR3jh.d.ts} +2 -2
- package/dist/_dts/{client-D4p0J1lK.d.ts → client-BnYN6XsH.d.ts} +31 -7
- package/dist/_dts/{content-types-0WWR6dC4.d.ts → content-types-CXj6lp3d.d.ts} +4 -8
- package/dist/_dts/{contracts-f_ZG_SwY.d.ts → contracts-BZLwkTwL.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-DSeZvOaj.d.ts → footerPageOutline-D_XbQW_o.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-BlitPA2D.d.ts → generatePageMetadata-ByEWwe9j.d.ts} +2 -2
- package/dist/_dts/{index-ZKEDvLuN.d.ts → index-0HFgCnGz.d.ts} +1 -1
- package/dist/_dts/{index-tcPtGdag.d.ts → index-BE9dWIsr.d.ts} +3 -3
- package/dist/_dts/{index-D-ai8IQd.d.ts → index-CKDRr54L.d.ts} +4 -4
- package/dist/_dts/{index-CoLcwjqJ.d.ts → index-D9-N1d9v.d.ts} +1 -1
- package/dist/_dts/{index-CKkkCgb6.d.ts → index-DCa-8TEY.d.ts} +1 -1
- package/dist/_dts/{index-DDsfmM4d.d.ts → index-cTpvQg_Q.d.ts} +2 -2
- package/dist/_dts/{index-EJMo-KSo.d.ts → index-nnEdgc3Z.d.ts} +2 -15
- package/dist/_dts/{loadContent-Ci932ORy.d.ts → loadContent-DYkVV6w4.d.ts} +7 -7
- package/dist/_dts/{request-B8jVdvgI.d.ts → request-B20VRWHH.d.ts} +55384 -55036
- package/dist/_dts/{resolveBlockData-DrSMuD76.d.ts → resolveBlockData-C_aK5GIS.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-Be4iL6-F.d.ts → resolvePageContent-YT6ndha1.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -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 +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +24 -12
- 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 +56 -4
- package/dist/_dts/sdk/src/portal/index.d.ts +95 -13
- 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-lwSgCWZ4.d.ts → types-CMZ5mkpv.d.ts} +11 -3
- package/dist/_dts/{types-BXMX4z2j.d.ts → types-CYcd15BQ.d.ts} +7 -7
- package/dist/_dts/{types-DXY64Xh4.d.ts → types-rm2M4LGx.d.ts} +4 -4
- package/dist/_dts/{validation-C5xp--Fu.d.ts → validation-BSxnRhyy.d.ts} +4 -6
- package/dist/client/{BlocksIslandsHydrator-CeYQQQs7.mjs → BlocksIslandsHydrator-D1n09bu-.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-CDDWrY_W.mjs → BookingMailingListNote-DSD4gS96.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement-BShQSial.mjs → BookingPanelArrangement--EkA1ZQd.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-MbvIo2jS.mjs → BookingQuestionFields-B57oGPcj.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-C6CSVfEB.mjs → CalendarNavigationChevron-qXvsFYOg.mjs} +7 -7
- package/dist/client/{DemoBookingPortalAccess-C9Ggcfx3.mjs → DemoBookingPortalAccess-Olvrwi3Z.mjs} +3 -3
- package/dist/client/{EventCalendar.client-BSMuSqg0.mjs → EventCalendar.client-DwFNFb-0.mjs} +10 -10
- package/dist/client/{EventCombined.client-BTrmSyUB.mjs → EventCombined.client-Ffu-aVOb.mjs} +9 -9
- package/dist/client/{EventItem-B0WjGXsH.mjs → EventItem-b8tVkNHA.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-8Ij7vuxY.mjs → EventListWeekNavigation-BxnJW_Gf.mjs} +1 -1
- package/dist/client/{EventListing.client-CWk2NEwd.mjs → EventListing.client-ViCnrNg4.mjs} +3 -3
- package/dist/client/{EventListing.view-BEH4UbSL.mjs → EventListing.view-CdjiepMf.mjs} +7 -7
- package/dist/client/{EventRegistrationPayment-B2EikR3f.mjs → EventRegistrationPayment-BVd70XkH.mjs} +262 -24
- package/dist/client/{LocationMapActions-myIQIvQL.mjs → LocationMapActions-CiMtl1Ha.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-BfsVyPvB.mjs → MapDrawingSvg-BCZa3dpf.mjs} +1 -1
- package/dist/client/{Page-F3lhDvw1.mjs → Page-DqETUt-U.mjs} +22 -13
- package/dist/client/{SiteTermsAgreementField-BYACYP0T.mjs → SiteTermsAgreementField-DkFnbzf_.mjs} +2 -2
- package/dist/client/{StepIndicator-Bb7rPtSq.mjs → StepIndicator-JO2PS03n.mjs} +79 -32
- package/dist/client/{accordion-BfsOiweL.mjs → accordion-XgNxl0Wg.mjs} +1 -1
- package/dist/client/{booking-form.client-B8ohIj13.mjs → booking-form.client-ljJoDwuI.mjs} +13 -13
- package/dist/client/{bookingForm-CXsck2oH.mjs → bookingForm-DtEHwY4W.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-B_hcuT06.mjs → boxStyleClassNames-BHoMAcun.mjs} +2 -2
- package/dist/client/{carousel-Cz5Ddbsx.mjs → carousel-B3UhbFu7.mjs} +1 -1
- package/dist/client/{cart-CTC2oS3p.mjs → cart-DzOJfYOR.mjs} +3 -3
- package/dist/client/{cart.client-c1YkTC-Q.mjs → cart.client-DBG77v-5.mjs} +1 -1
- package/dist/client/{checkout-BeW1ufaH.mjs → checkout-LmePoEgM.mjs} +3 -3
- package/dist/client/{checkout.client-BeU32khQ.mjs → checkout.client-DmgZuLBT.mjs} +1 -1
- package/dist/client/{checkoutUrls-DVfSUSKp.mjs → checkoutUrls-CMZI8o_V.mjs} +1 -1
- package/dist/client/client.mjs +93 -12
- package/dist/client/{context-R9p5c8IH.mjs → context-CJIz4FdL.mjs} +1 -1
- package/dist/client/{course-CUFVJEAc.mjs → course-DBEU9IA9.mjs} +11 -4
- package/dist/client/{dateFormatting-CF6FWCoo.mjs → dateFormatting-UoXqBh10.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-tZxIm3RL.mjs → demoPortalMagicLink-6CgFZNvu.mjs} +5 -4
- package/dist/client/{display-4HYOb-AK.mjs → display-D1oVR5Eh.mjs} +180 -15
- package/dist/client/{enhanceHeaderSection-DEYDI54E.mjs → enhanceHeaderSection-DaMo6len.mjs} +3 -3
- package/dist/client/{event-details.client-BwjBJP-f.mjs → event-details.client-BwASwKIq.mjs} +1 -1
- package/dist/client/{event-registration.client-DWvSODTI.mjs → event-registration.client-b6APrFQe.mjs} +118 -180
- package/dist/client/{eventCalendar-C9Pn9eeZ.mjs → eventCalendar-DJYz7yZf.mjs} +4 -4
- package/dist/client/{eventCombined-Bdhk0fp0.mjs → eventCombined-j9VCVgMW.mjs} +4 -4
- package/dist/client/{eventDetails-C2LfNW_o.mjs → eventDetails-BzGOVDI-.mjs} +2 -2
- package/dist/client/{eventListing-B-bJOQUk.mjs → eventListing-DWgpGuFM.mjs} +4 -4
- package/dist/client/{eventRegistration-CbdmUiDT.mjs → eventRegistration-DCinRot3.mjs} +4 -4
- package/dist/client/{form-BbUUt784.mjs → form-BBBtRwvy.mjs} +3 -3
- package/dist/client/{form.client-BVlz-9_t.mjs → form.client-CZeRQLGF.mjs} +4 -4
- package/dist/client/{form.parts-TB4UIrML.mjs → form.parts-DhGGv4_L.mjs} +1 -1
- package/dist/client/{formatDate-TDHhFjFN.mjs → formatDate-DVFVDcDW.mjs} +1 -1
- package/dist/client/gifting/client.mjs +6 -5
- package/dist/client/{gifting-CbNSrp7C.mjs → gifting-Di9-SpwW.mjs} +4 -4
- package/dist/client/{gifting.client-B__bGhFc.mjs → gifting.client-CjT5PrAZ.mjs} +4 -4
- package/dist/client/{gifting.parts-CTA1sDW6.mjs → gifting.parts-ffP6mjMd.mjs} +2 -2
- package/dist/client/{headerSection-5Wn9nUW_.mjs → headerSection-jjAvtSZk.mjs} +2 -2
- package/dist/client/{lookSurfaces-BwiNdgMU.mjs → lookSurfaces-C2VzJfyG.mjs} +1 -1
- package/dist/client/{newsletter-form.client-B17WYHxZ.mjs → newsletter-form.client-D45frHoa.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-DN9wD1ZG.mjs → newsletter-form.parts-CHdg82ct.mjs} +1 -1
- package/dist/client/{newsletterForm-DLMlxInp.mjs → newsletterForm-tS465_vl.mjs} +3 -3
- package/dist/client/{noop-CaQxI-Js.mjs → noop-D11X-B6n.mjs} +123 -91
- package/dist/client/portal/client.mjs +384 -38
- package/dist/client/{product-detail.client-Di_anRGR.mjs → product-detail.client-DIWSeW7P.mjs} +1 -1
- package/dist/client/{product-list.client-Duhl6rtL.mjs → product-list.client-BRf14h_e.mjs} +1 -1
- package/dist/client/{productDetail-BgKmCwA8.mjs → productDetail-gxF5whea.mjs} +3 -3
- package/dist/client/{productList-C_wMKsYS.mjs → productList-B9t0XJrN.mjs} +3 -3
- package/dist/client/{propsDecoder-y3LvxaiG.mjs → propsDecoder-Db8wAmgr.mjs} +4 -4
- package/dist/client/{registry.server-CIWYKz1V.mjs → registry.server-Bn0gE0uP.mjs} +27 -27
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +7 -7
- package/dist/client/{richText-coerce-DkPBFb_a.mjs → richText-coerce-COnKrLO7.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-BgO0rZce.mjs → routeIslandApiConfig-Bok1Oy50.mjs} +1 -1
- package/dist/client/{shop-CFbWlv_W.mjs → shop-D1oTPDxm.mjs} +3 -3
- package/dist/client/{shop-commerce-C-I29eaA.mjs → shop-commerce-DyMZLC0a.mjs} +12 -12
- package/dist/client/{shop-commerce-store-DGcc7twO.mjs → shop-commerce-store-FODNS63D.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-DOm7vx0X.mjs → shop-discount-apply.state-C4xcmFzZ.mjs} +2 -2
- package/dist/client/{shop.client-GHTWUKD6.mjs → shop.client-CRgRulfI.mjs} +12 -12
- package/dist/client/{shop.interactive-CxDJ8P2r.mjs → shop.interactive-D7wky1GL.mjs} +6 -33
- package/dist/client/{shopShared-Be9QJJpT.mjs → shopShared-Bd_hy9ZO.mjs} +2 -2
- package/dist/client/src-DqMbCjI1.mjs +3 -0
- package/dist/client/{src-xrjaKaCj.mjs → src-uwCpbHXG.mjs} +2 -1
- package/dist/client/{timetableModel--R0zVzZO.mjs → timetableModel-UlWfP1gh.mjs} +9 -9
- package/dist/client/{useAvailableSlots-BGu_2F50.mjs → useAvailableSlots-D-qoooLy.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-I_mXI9Yd.mjs → useDiscountCodeUi-B9DODAkj.mjs} +1 -1
- package/dist/client/{useEventPagination-DxIJ--JZ.mjs → useEventPagination-CQH2e9sQ.mjs} +7 -7
- package/dist/client/{view-BbzH5MQb.mjs → view-DNX59QwM.mjs} +10 -9
- package/dist/client/{view-3foOzGWR.mjs → view-bGU1ws-m.mjs} +3 -3
- package/dist/preview-next/client/{LocationPickerEnvironment-8iKKoYZr.mjs → LocationPickerEnvironment-BHAT81Wx.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-AIUPN1Zx.mjs → MapLibreEditMap-B52hkdIZ.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-0xyUPWUB.mjs → PageSectionToolbar-D-Le7O3o.mjs} +52 -8
- package/dist/preview-next/client/{PreviewEditorSidebar-D8vUzXtI.mjs → PreviewEditorSidebar-DNy5j_ce.mjs} +34 -39
- package/dist/preview-next/client/{PreviewEditorUI-CRjS4gAu.mjs → PreviewEditorUI-CzJvgbqt.mjs} +10 -10
- package/dist/preview-next/client/{PreviewShell-BvdBdeH_.mjs → PreviewShell-xhJ6ca1i.mjs} +9 -8
- package/dist/preview-next/client/{SdkPreviewModeRuntime-DWTyKbFj.mjs → SdkPreviewModeRuntime-BmYO1TdT.mjs} +16 -7
- package/dist/preview-next/client/{lucide-react-Dfgl3Vtq.mjs → lucide-react-McYZeSMb.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-BqY2TTcZ.mjs → previewAssistantSlot-BN93X9o1.mjs} +1211 -600
- package/dist/preview-next/client/{previewChromeRoot-BuRYe2iL.mjs → previewChromeRoot-C51RQseo.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-BnK5kH9f.mjs → sdk-runtime-oeGquJM-.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-DbKozRSn.mjs → siteStyleAccess-BGTAcPud.mjs} +27 -17
- package/dist/preview-next/client/src-EO5QoRlU.mjs +3 -0
- package/dist/preview-next/client/{src-DzXUmsyK.mjs → src-lX6heoDA.mjs} +2 -1
- package/dist/preview-next/client/{useAutosaveStatus-D9s6dyMW.mjs → useAutosaveStatus-BMGXjGZq.mjs} +3 -30
- package/dist/preview-next/client/{useOpenBlockForSetup-Ce4WCxpT.mjs → useOpenBlockForSetup-CTDoR_gQ.mjs} +2 -2
- package/dist/preview-next/container-responsive.css +3 -0
- package/dist/preview-next/editor-chrome.css +4 -2
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BYezcMx5.mjs → route-contract-BtdzkSUg.mjs} +71 -4
- package/dist/server/{Block.shared-Cn7gg13_.mjs → Block.shared-Bp3OlOjj.mjs} +5 -5
- package/dist/server/{bindings-VGgS6UvF.mjs → bindings-DrbJuftt.mjs} +3 -3
- package/dist/server/{client-Bvag5OtW.mjs → client-Bf06n9oj.mjs} +90 -9
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/constants-Cj7hfbrA.mjs +41 -0
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-CxASA3PE.mjs → loadContent-eaTY7RPg.mjs} +4 -4
- package/dist/server/{loadPage-CQgde5DN.mjs → loadPage-5iZefzDd.mjs} +2 -2
- package/dist/server/{navigation-iC_hXjJI.mjs → navigation-BcNfYYuu.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next/revalidate.mjs +15 -8
- package/dist/server/next.mjs +56 -13
- package/dist/server/{overrideResolution-BqVLO4gX.mjs → overrideResolution-CUHtm7tW.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-CfSnAkCO.mjs → pageRenderPlan-GmPXForc.mjs} +13 -6
- package/dist/server/{pageRuntimeSupport-uz4gzBOo.mjs → pageRuntimeSupport-Dd8LFzfa.mjs} +1 -1
- package/dist/server/{pageShared-D23o5QgC.mjs → pageShared-tz-GVWft.mjs} +96 -39
- package/dist/server/portal-B4JVkdjc.mjs +783 -0
- package/dist/server/portal.mjs +3 -3
- package/dist/server/{prebuild-BuoXWT9y.mjs → prebuild-JmsuYCIH.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CCiYV8_s.mjs → prefetchBlockData-Ce9DDwON.mjs} +2 -2
- package/dist/server/{registry-CXRXsFSx.mjs → registry-D12XF_h1.mjs} +466 -311
- 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 +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-yfe8WLEA.mjs → resolveBlockData-D9yZIN3V.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/{validation-CozQ7wE0.mjs → validation-CLq5cw6M.mjs} +3 -5
- package/dist/server/{version-CgCWRFEY.mjs → version-oPbhAx8E.mjs} +1 -1
- package/dist/styles/index.css +27 -1
- package/package.json +1 -1
- package/dist/client/src-BozhJ43Z.mjs +0 -3
- package/dist/preview-next/client/src-LUhVXBEQ.mjs +0 -3
- package/dist/server/constants-hl17xz6x.mjs +0 -22
- package/dist/server/portal-BjVHMAUC.mjs +0 -371
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { L as offeringNounForEvent, M as buildEventRegistrationInteractiveIslandProps, N as displayButtonText, at as bookingEntryProgress,
|
|
3
|
-
import { A as areEventRegistrationPaymentSelectionsEqual,
|
|
4
|
-
import {
|
|
2
|
+
import { L as offeringNounForEvent, M as buildEventRegistrationInteractiveIslandProps, N as displayButtonText, at as bookingEntryProgress, cn as formatEventPriceDisplay, dt as hasCancelledRegistrationDate, it as bookingEntry, j as buildEventRegistrationDisplayFromScopedEvents, nt as bookingBarPlacement, ot as bookingPanelHeading, rt as bookingCardEntry, st as courseTitleOf, tt as DEFAULT_BOOKING_BUTTON_TEXT, ut as cancelledDateCopy } from "./shop.interactive-D7wky1GL.mjs";
|
|
3
|
+
import { A as areEventRegistrationPaymentSelectionsEqual, Bn as formatTime, C as getEventSelectionMode, Co as isEventFull, Dt as confirmationPaymentRows, Fn as formatBookingWhen, Gn as occurrenceTitleOverride, In as formatDate, J as settledRemainingPlaces, Ji as formatPrice, Jt as SELECTION_LIMIT_NOTE, K as resolveRegistrationAvailabilityBlocker, Ln as formatEventDateTime, Lo as INCOMPATIBLE_ATTENDANCE_MESSAGE, Mn as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, Nn as areEntitlementsDisabledForTicketCount, O as registrationStepLabel, On as selectionItemName, Ot as resolveFinishedPresentation, Q as normalizeEventRegistrationMaxTickets, R as shouldPromptForLogin, Rn as formatPassCreditUsageLabel, So as getRemainingPlaces, Tn as combinationOffersOf, To as selectMostOpenCapacitySource, Un as getTicketTypeAvailabilityLabel, V as placeCountCeiling, Wn as getVisibleTicketTypes, Xt as canToggleSelectionItem, Yt as SEVERAL_BOOKINGS_ACCOUNT_NOTE, Z as isEventRegistrationAvailable, an as runPricingChoice, bo as getEventAvailability, br as bookingPresentation, cn as selectionConfirmationHint, cr as getTicketTypeLineMax, ct as paymentChoicePrice, dn as selectionIncludes, dr as setTicketLineQuantity, ds as publicEventPricingStrategy, fs as publicEventPricingType, gn as selectionRowAvailability, go as canJoinEventWaitlistOnAnyMode, hn as selectionPlacesNote, ho as canJoinEventWaitlist, in as runNeedsPricingChoice, ir as canRequestTicketOption, ji as getRegistrationSuccessCopy, k as registrationStepLabelContext, ln as selectionConsentLabel, ls as publicEventPricingCurrency, mn as selectionPlacesLabel, no as resolveEventRegistrationScopedEvents, on as runUnitPriceCents, or as getTicketLineQuantity, pn as selectionItemsLabel, qi as formatCentsAsCurrencyInput, qn as withOccurrenceTitle, rn as runChoiceUsable, sn as selectionAtLimit, sr as getTicketSelectionTotal, st as paymentChoiceDetails, t as appliedDiscountHint, un as selectionEntitlementNote, vn as severalConfirmationSentence, w as panelShouldOpen, wn as combinationOfferLine, wo as selectEventCapacitySource, wr as shownVenue, xr as placesLeftLabel, z as fullyBookedLabel, zn as formatRegistrationSchedule } from "./display-D1oVR5Eh.mjs";
|
|
4
|
+
import { Sn as formatCurrencyAmount, n as assertNever } from "./noop-D11X-B6n.mjs";
|
|
5
5
|
import { g as formatCreditProductUnits } from "./creditProducts-BQ1t1erI.mjs";
|
|
6
|
-
import { a as eventSiteTermsSurface, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
7
|
-
import { n as useBlockApi } from "./context-
|
|
6
|
+
import { a as eventSiteTermsSurface, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-DkFnbzf_.mjs";
|
|
7
|
+
import { n as useBlockApi } from "./context-CJIz4FdL.mjs";
|
|
8
8
|
import { l as SpinnerNode, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
9
|
-
import { f as NavigationHandOffPanel, p as DiscountCodeDisclosure, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
10
|
-
import { a as
|
|
9
|
+
import { f as NavigationHandOffPanel, p as DiscountCodeDisclosure, t as BookingConfirmation } from "./DemoBookingPortalAccess-Olvrwi3Z.mjs";
|
|
10
|
+
import { a as planEventRegistrationSurface, i as useEventRegistrationRecoveryRequest, o as registrationAdmissionSurface, r as useEventRegistrationWizard, s as resolveEventRegistrationClientSurface, t as EventPaymentMount } from "./EventRegistrationPayment-BVd70XkH.mjs";
|
|
11
11
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
12
12
|
import { t as CheckboxChoice } from "./CheckboxChoice-b-PJLEXe.mjs";
|
|
13
13
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
14
14
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
15
15
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
16
|
-
import {
|
|
17
|
-
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-I_mXI9Yd.mjs";
|
|
16
|
+
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-B9DODAkj.mjs";
|
|
18
17
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
19
|
-
import { i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, r as MagicLinkForm, t as BookingMailingListNote } from "./BookingMailingListNote-
|
|
18
|
+
import { i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, r as MagicLinkForm, t as BookingMailingListNote } from "./BookingMailingListNote-DSD4gS96.mjs";
|
|
20
19
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
21
|
-
import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, n as BookingEntryBar, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-
|
|
20
|
+
import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, n as BookingEntryBar, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-JO2PS03n.mjs";
|
|
22
21
|
import { t as createLucideIcon } from "./createLucideIcon-BrXgHVKN.mjs";
|
|
23
22
|
import React, { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
|
|
24
23
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -89,76 +88,6 @@ function LoggedInAsUser({ email, onLogout, classPrefix }) {
|
|
|
89
88
|
});
|
|
90
89
|
}
|
|
91
90
|
//#endregion
|
|
92
|
-
//#region ../blocks/src/system/runtime/nodes/event-registration/registrationSurface.ts
|
|
93
|
-
/** Admission only limits fresh bookings; existing purchases always reach recovery. */
|
|
94
|
-
function registrationAdmissionSurface(input) {
|
|
95
|
-
if (input.recoveryRequested) return "registration";
|
|
96
|
-
switch (input.availability) {
|
|
97
|
-
case "open": return "registration";
|
|
98
|
-
case "closed": return "closed";
|
|
99
|
-
case "empty": return "empty";
|
|
100
|
-
default: return assertNever(input.availability);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
/** Resolve the host guard once; past-date notices only concern new bookings. */
|
|
104
|
-
function resolveEventRegistrationClientSurface(input) {
|
|
105
|
-
if (input.recoveryRequest !== "none") return { kind: "wizard" };
|
|
106
|
-
switch (input.plan.kind) {
|
|
107
|
-
case "wholeSeries": return { kind: "wizard" };
|
|
108
|
-
case "unavailableWholeSeries":
|
|
109
|
-
case "mixedBookingScopes": return { kind: "unavailable" };
|
|
110
|
-
case "occurrence": return input.pastStartsAt ? {
|
|
111
|
-
kind: "past",
|
|
112
|
-
startsAt: input.pastStartsAt
|
|
113
|
-
} : { kind: "wizard" };
|
|
114
|
-
default: return assertNever(input.plan);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Whether a run agrees with the offering whose page it arrived on.
|
|
119
|
-
*
|
|
120
|
-
* Scoping has already restricted the events to the subject's series, so the
|
|
121
|
-
* series set needs no second check here. What is still worth checking is the
|
|
122
|
-
* run's own idea of its parent: a run that claims a different offering means
|
|
123
|
-
* the page and the data disagree about who owns it, and the surface fails
|
|
124
|
-
* closed rather than taking a booking against an offering it cannot vouch for.
|
|
125
|
-
*/
|
|
126
|
-
function agreesWithSubjectOffering(run, subject) {
|
|
127
|
-
if (subject?.kind !== "eventOffering") return true;
|
|
128
|
-
return run.run.eventOfferingId === subject.eventOfferingId;
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* Subjects whose page only ever registers for a whole run.
|
|
132
|
-
*
|
|
133
|
-
* The subject's own booking scope decides, for an offering exactly as for a
|
|
134
|
-
* series: an ordinary offering with no dates is a normal empty state, not a
|
|
135
|
-
* whole-series page with nothing bookable.
|
|
136
|
-
*/
|
|
137
|
-
function isWholeSeriesSubject(subject) {
|
|
138
|
-
return (subject?.kind === "eventOffering" || subject?.kind === "eventSeries") && subject.bookingScope === "whole_series";
|
|
139
|
-
}
|
|
140
|
-
function planEventRegistrationSurface(input) {
|
|
141
|
-
const scopedEvents = resolveEventRegistrationScopedEvents(input.events, {
|
|
142
|
-
occurrenceContext: input.occurrenceContext,
|
|
143
|
-
subject: input.subject
|
|
144
|
-
});
|
|
145
|
-
const bookingScopes = new Set(scopedEvents.map((event) => event.bookingScope));
|
|
146
|
-
if (scopedEvents.length === 0 && isWholeSeriesSubject(input.subject)) return { kind: "unavailableWholeSeries" };
|
|
147
|
-
if (!input.occurrenceContext && !input.subject && bookingScopes.has("single_occurrence")) return {
|
|
148
|
-
kind: "occurrence",
|
|
149
|
-
events: scopedEvents.filter((event) => event.bookingScope === "single_occurrence")
|
|
150
|
-
};
|
|
151
|
-
if (bookingScopes.size === 0 || bookingScopes.has("single_occurrence")) return bookingScopes.has("whole_series") ? { kind: "mixedBookingScopes" } : {
|
|
152
|
-
kind: "occurrence",
|
|
153
|
-
events: scopedEvents
|
|
154
|
-
};
|
|
155
|
-
const runs = groupPublicEventsByRun(scopedEvents);
|
|
156
|
-
return runs.every((run) => agreesWithSubjectOffering(run, input.subject)) && runs.length > 0 ? {
|
|
157
|
-
kind: "wholeSeries",
|
|
158
|
-
runs
|
|
159
|
-
} : { kind: "unavailableWholeSeries" };
|
|
160
|
-
}
|
|
161
|
-
//#endregion
|
|
162
91
|
//#region ../blocks/src/system/runtime/nodes/event-registration/useBookingBarFacts.ts
|
|
163
92
|
/** The CSS variable the bar reads its push from (`translateY`). */
|
|
164
93
|
const BOOKING_BAR_PUSH_VAR = "--er-bar-push";
|
|
@@ -2198,16 +2127,20 @@ const EventSelectionStep = (props) => {
|
|
|
2198
2127
|
});
|
|
2199
2128
|
if (getEventSelectionMode(events) === "date") return /* @__PURE__ */ jsxs("div", {
|
|
2200
2129
|
className: "rb-reg-stack er-stack",
|
|
2201
|
-
children: [
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2130
|
+
children: [
|
|
2131
|
+
/* @__PURE__ */ jsx("h3", {
|
|
2132
|
+
tabIndex: -1,
|
|
2133
|
+
className: "er-title",
|
|
2134
|
+
children: "Choose a date"
|
|
2135
|
+
}),
|
|
2136
|
+
/* @__PURE__ */ jsx(BookingCloseLine, { events }),
|
|
2137
|
+
/* @__PURE__ */ jsx(DateSelectionList, {
|
|
2138
|
+
events: [...events].sort((left, right) => Date.parse(left.startsAt) - Date.parse(right.startsAt)),
|
|
2139
|
+
selectedEvent,
|
|
2140
|
+
display,
|
|
2141
|
+
onChoose
|
|
2142
|
+
})
|
|
2143
|
+
]
|
|
2211
2144
|
});
|
|
2212
2145
|
return /* @__PURE__ */ jsx(EventList, {
|
|
2213
2146
|
events,
|
|
@@ -2283,6 +2216,14 @@ function EventListCard({ event, selected, onSelect, display }) {
|
|
|
2283
2216
|
})
|
|
2284
2217
|
});
|
|
2285
2218
|
}
|
|
2219
|
+
/** When bookings close, inside the booking card, if the cut-off is earlier than the start. */
|
|
2220
|
+
function BookingCloseLine({ events }) {
|
|
2221
|
+
const line = events.find((event) => event.bookingCloseLine)?.bookingCloseLine;
|
|
2222
|
+
return line ? /* @__PURE__ */ jsx("p", {
|
|
2223
|
+
className: "er-text er-text--muted",
|
|
2224
|
+
children: line
|
|
2225
|
+
}) : null;
|
|
2226
|
+
}
|
|
2286
2227
|
const SEVERAL_HEADINGS = {
|
|
2287
2228
|
dates: {
|
|
2288
2229
|
title: "Choose dates",
|
|
@@ -2320,6 +2261,7 @@ function SeveralSelection(props) {
|
|
|
2320
2261
|
className: "er-text er-text--muted er-selection-lede",
|
|
2321
2262
|
children: heading.lede
|
|
2322
2263
|
}),
|
|
2264
|
+
/* @__PURE__ */ jsx(BookingCloseLine, { events: props.events }),
|
|
2323
2265
|
/* @__PURE__ */ jsx(CombinationOfferLine, { parts: combinationOfferLine(combinationOffersOf(props.events)) }),
|
|
2324
2266
|
/* @__PURE__ */ jsx("div", {
|
|
2325
2267
|
className: "er-date-list",
|
|
@@ -3181,7 +3123,7 @@ function entitlementRows(props) {
|
|
|
3181
3123
|
//#region ../blocks/src/system/runtime/nodes/event-registration/CalendarAction.tsx
|
|
3182
3124
|
/** Download effects happen only after a click, including in editor preview. */
|
|
3183
3125
|
async function downloadCalendar(calendar) {
|
|
3184
|
-
const { renderCalendarFeedIcs } = await import("./src-
|
|
3126
|
+
const { renderCalendarFeedIcs } = await import("./src-DqMbCjI1.mjs");
|
|
3185
3127
|
const url = URL.createObjectURL(new Blob([renderCalendarFeedIcs(calendar.feed)], { type: "text/calendar;charset=utf-8" }));
|
|
3186
3128
|
const link = document.createElement("a");
|
|
3187
3129
|
link.href = url;
|
|
@@ -3702,6 +3644,11 @@ function ticketStepInvitation(claim) {
|
|
|
3702
3644
|
expiresAt: claim.claim.expiresAt
|
|
3703
3645
|
} : { kind: "pending" };
|
|
3704
3646
|
}
|
|
3647
|
+
/** With a date to pick, the choosing step has already said it. */
|
|
3648
|
+
function TicketStepBookingCloseLine({ wizard }) {
|
|
3649
|
+
if (wizard.scopedEvents.length > 1 || wizard.waitlistClaim.kind !== "none") return null;
|
|
3650
|
+
return /* @__PURE__ */ jsx(BookingCloseLine, { events: wizard.scopedEvents });
|
|
3651
|
+
}
|
|
3705
3652
|
function TicketSelectionContent({ wizard, display }) {
|
|
3706
3653
|
if (!wizard.selectedEvent && !wizard.occurrenceContext) return null;
|
|
3707
3654
|
const isWaitlisted = wizard.admission.kind === "closed" && wizard.admission.reason === "alreadyWaitlisted";
|
|
@@ -3716,6 +3663,7 @@ function TicketSelectionContent({ wizard, display }) {
|
|
|
3716
3663
|
onBookForSomeoneElse: wizard.handleBookForSomeoneElse
|
|
3717
3664
|
}),
|
|
3718
3665
|
/* @__PURE__ */ jsx(ClosedAdmissionNotice, { wizard }),
|
|
3666
|
+
/* @__PURE__ */ jsx(TicketStepBookingCloseLine, { wizard }),
|
|
3719
3667
|
wizard.severalItems === "runs" ? /* @__PURE__ */ jsx(SeveralRunsTicketStep, {
|
|
3720
3668
|
wizard,
|
|
3721
3669
|
display
|
|
@@ -4209,6 +4157,46 @@ function signInBenefitsTitle(benefits) {
|
|
|
4209
4157
|
return benefits.credit ? "Have credit on your account?" : null;
|
|
4210
4158
|
}
|
|
4211
4159
|
//#endregion
|
|
4160
|
+
//#region ../blocks/src/system/runtime/nodes/event-registration/PastOccurrenceNotice.tsx
|
|
4161
|
+
function getParentPathname(pathname) {
|
|
4162
|
+
const segments = pathname.split("/").filter(Boolean);
|
|
4163
|
+
if (segments.length < 2) return null;
|
|
4164
|
+
return `/${segments.slice(0, -1).join("/")}`;
|
|
4165
|
+
}
|
|
4166
|
+
function PastOccurrenceNotice(props) {
|
|
4167
|
+
const [parentPathname, setParentPathname] = useState(null);
|
|
4168
|
+
useEffect(() => {
|
|
4169
|
+
setParentPathname(getParentPathname(window.location.pathname));
|
|
4170
|
+
}, []);
|
|
4171
|
+
return /* @__PURE__ */ jsx("div", {
|
|
4172
|
+
id: props.anchorId,
|
|
4173
|
+
className: `event-registration ${props.className || ""}`,
|
|
4174
|
+
"data-block": "event-registration",
|
|
4175
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
4176
|
+
className: "er-empty",
|
|
4177
|
+
children: [/* @__PURE__ */ jsxs("p", {
|
|
4178
|
+
className: "er-empty__text",
|
|
4179
|
+
children: [
|
|
4180
|
+
"This event date (",
|
|
4181
|
+
formatEventDateTime(props.startsAt, {
|
|
4182
|
+
timeZone: props.timeZone,
|
|
4183
|
+
siteTimeZone: props.siteTimeZone,
|
|
4184
|
+
deliveryMode: props.deliveryMode
|
|
4185
|
+
}, "long"),
|
|
4186
|
+
") has already started. Registration is closed."
|
|
4187
|
+
]
|
|
4188
|
+
}), parentPathname && /* @__PURE__ */ jsx("p", {
|
|
4189
|
+
className: "er-empty__text",
|
|
4190
|
+
children: /* @__PURE__ */ jsx("a", {
|
|
4191
|
+
href: parentPathname,
|
|
4192
|
+
className: "er-link",
|
|
4193
|
+
children: "View other dates for this event"
|
|
4194
|
+
})
|
|
4195
|
+
})]
|
|
4196
|
+
})
|
|
4197
|
+
});
|
|
4198
|
+
}
|
|
4199
|
+
//#endregion
|
|
4212
4200
|
//#region ../blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizard.tsx
|
|
4213
4201
|
const EVENT_PORTAL_AUTH_COPY = {
|
|
4214
4202
|
membership: {
|
|
@@ -4284,11 +4272,26 @@ function useConfiguredEventRegistrationWizard(props) {
|
|
|
4284
4272
|
}
|
|
4285
4273
|
function EventRegistrationWizard(props) {
|
|
4286
4274
|
const wizard = useConfiguredEventRegistrationWizard(props);
|
|
4287
|
-
return /* @__PURE__ */ jsx(
|
|
4275
|
+
return /* @__PURE__ */ jsx(EventRegistrationWizardSurface, {
|
|
4288
4276
|
...props,
|
|
4289
4277
|
wizard
|
|
4290
4278
|
});
|
|
4291
4279
|
}
|
|
4280
|
+
/** Closing swaps out the booking steps only for someone who hadn't started: the hook decides who that is. */
|
|
4281
|
+
function EventRegistrationWizardSurface(props) {
|
|
4282
|
+
const closure = props.wizard.bookingClosure;
|
|
4283
|
+
switch (closure.kind) {
|
|
4284
|
+
case "open":
|
|
4285
|
+
case "underway": return /* @__PURE__ */ jsx(EventRegistrationWizardView, { ...props });
|
|
4286
|
+
case "closedEarly": return /* @__PURE__ */ jsx(RegistrationClosedState, {
|
|
4287
|
+
title: closure.copy.titleText,
|
|
4288
|
+
body: closure.copy.bodyText,
|
|
4289
|
+
otherDatesHref: closure.copy.otherDatesHref
|
|
4290
|
+
});
|
|
4291
|
+
case "started": return /* @__PURE__ */ jsx(PastOccurrenceNotice, { ...pastOccurrenceNoticeProps(props, closure.startsAt) });
|
|
4292
|
+
default: return assertNever(closure);
|
|
4293
|
+
}
|
|
4294
|
+
}
|
|
4292
4295
|
/** The panel header's pinned progress, while the panel shows a step (issue 1581). */
|
|
4293
4296
|
function overlayProgress(presentation, stepLabelContext) {
|
|
4294
4297
|
if (presentation.layout !== "steps" || !presentation.progress) return null;
|
|
@@ -4304,6 +4307,18 @@ function overlayProgress(presentation, stepLabelContext) {
|
|
|
4304
4307
|
function ticketStepOffersSignIn(wizard, pricingType) {
|
|
4305
4308
|
return wizard.step === "select-tickets" && wizard.severalItems === null && wizard.portalAuthState !== "authenticated" && wizard.portalAuthState !== "checking" && pricingType !== "free";
|
|
4306
4309
|
}
|
|
4310
|
+
/** Older sources can omit session facts; admission keeps the notice render-safe. */
|
|
4311
|
+
function pastOccurrenceNoticeProps(props, startsAt) {
|
|
4312
|
+
const event = props.events?.find((candidate) => candidate.occurrenceId === props.occurrenceContext?.id);
|
|
4313
|
+
return {
|
|
4314
|
+
anchorId: EVENT_REGISTRATION_ANCHOR_ID,
|
|
4315
|
+
className: props.className,
|
|
4316
|
+
startsAt,
|
|
4317
|
+
timeZone: props.occurrenceContext?.timeZone ?? null,
|
|
4318
|
+
siteTimeZone: event?.siteTimeZone ?? null,
|
|
4319
|
+
deliveryMode: event?.deliveryMode ?? null
|
|
4320
|
+
};
|
|
4321
|
+
}
|
|
4307
4322
|
function EventRegistrationWizardView(viewProps) {
|
|
4308
4323
|
const { wizard, ...props } = viewProps;
|
|
4309
4324
|
const { display, successMessage, buttonText = DEFAULT_BOOKING_BUTTON_TEXT, buttonVariant = "primary", className, supportEmail } = props;
|
|
@@ -4355,7 +4370,7 @@ function EventRegistrationWizardView(viewProps) {
|
|
|
4355
4370
|
}));
|
|
4356
4371
|
const showPortalAuthPrompt = waitlistClaimRequiresPortalLogin || ticketStepOffersSignIn(wizard, summaryEventPricingType) && portalAuthCopy.title !== "";
|
|
4357
4372
|
const presentation = resolveFinishedPresentation(wizard.presentation, {
|
|
4358
|
-
events: wizard.
|
|
4373
|
+
events: wizard.recoveryEvents,
|
|
4359
4374
|
completedOutcomes: wizard.flow.completedOutcomes,
|
|
4360
4375
|
draftEvent: summaryEvent ?? null,
|
|
4361
4376
|
occurrenceContext: wizard.occurrenceContext,
|
|
@@ -4443,63 +4458,6 @@ function EventRegistrationWizardView(viewProps) {
|
|
|
4443
4458
|
});
|
|
4444
4459
|
}
|
|
4445
4460
|
//#endregion
|
|
4446
|
-
//#region ../blocks/src/system/runtime/nodes/event-registration/useEventRegistrationRecoveryRequest.ts
|
|
4447
|
-
/** Retain arrival intent while the payment controller cleans up the return URL. */
|
|
4448
|
-
function useEventRegistrationRecoveryRequest() {
|
|
4449
|
-
const [arrival] = useState(() => {
|
|
4450
|
-
if (typeof window === "undefined") return "none";
|
|
4451
|
-
if (eventRegistrationCheckoutReturnRequest(new URLSearchParams(window.location.search))) return "paymentReturn";
|
|
4452
|
-
return getWaitlistClaimTokenFromUrl() || getWaitlistClaimEntryIdFromUrl() ? "waitlistInvitation" : "none";
|
|
4453
|
-
});
|
|
4454
|
-
return arrival;
|
|
4455
|
-
}
|
|
4456
|
-
//#endregion
|
|
4457
|
-
//#region ../blocks/src/system/runtime/nodes/event-registration/PastOccurrenceNotice.tsx
|
|
4458
|
-
function isPastOccurrence(startsAt, now) {
|
|
4459
|
-
if (!startsAt) return false;
|
|
4460
|
-
const startsAtTime = Date.parse(startsAt);
|
|
4461
|
-
if (!Number.isFinite(startsAtTime)) return false;
|
|
4462
|
-
return startsAtTime <= Date.parse(now);
|
|
4463
|
-
}
|
|
4464
|
-
function getParentPathname(pathname) {
|
|
4465
|
-
const segments = pathname.split("/").filter(Boolean);
|
|
4466
|
-
if (segments.length < 2) return null;
|
|
4467
|
-
return `/${segments.slice(0, -1).join("/")}`;
|
|
4468
|
-
}
|
|
4469
|
-
function PastOccurrenceNotice(props) {
|
|
4470
|
-
const [parentPathname, setParentPathname] = useState(null);
|
|
4471
|
-
useEffect(() => {
|
|
4472
|
-
setParentPathname(getParentPathname(window.location.pathname));
|
|
4473
|
-
}, []);
|
|
4474
|
-
return /* @__PURE__ */ jsx("div", {
|
|
4475
|
-
id: props.anchorId,
|
|
4476
|
-
className: `event-registration ${props.className || ""}`,
|
|
4477
|
-
"data-block": "event-registration",
|
|
4478
|
-
children: /* @__PURE__ */ jsxs("div", {
|
|
4479
|
-
className: "er-empty",
|
|
4480
|
-
children: [/* @__PURE__ */ jsxs("p", {
|
|
4481
|
-
className: "er-empty__text",
|
|
4482
|
-
children: [
|
|
4483
|
-
"This event date (",
|
|
4484
|
-
formatEventDateTime(props.startsAt, {
|
|
4485
|
-
timeZone: props.timeZone,
|
|
4486
|
-
siteTimeZone: props.siteTimeZone,
|
|
4487
|
-
deliveryMode: props.deliveryMode
|
|
4488
|
-
}, "long"),
|
|
4489
|
-
") has already started. Registration is closed."
|
|
4490
|
-
]
|
|
4491
|
-
}), parentPathname && /* @__PURE__ */ jsx("p", {
|
|
4492
|
-
className: "er-empty__text",
|
|
4493
|
-
children: /* @__PURE__ */ jsx("a", {
|
|
4494
|
-
href: parentPathname,
|
|
4495
|
-
className: "er-link",
|
|
4496
|
-
children: "View other dates for this event"
|
|
4497
|
-
})
|
|
4498
|
-
})]
|
|
4499
|
-
})
|
|
4500
|
-
});
|
|
4501
|
-
}
|
|
4502
|
-
//#endregion
|
|
4503
4461
|
//#region ../blocks/src/system/runtime/nodes/event-registration/useEventSourceRecovery.ts
|
|
4504
4462
|
const RECOVERY_DELAYS_MS = [
|
|
4505
4463
|
0,
|
|
@@ -4598,47 +4556,27 @@ function toEventRegistrationClientProps(props, display) {
|
|
|
4598
4556
|
className: display.className ?? void 0
|
|
4599
4557
|
};
|
|
4600
4558
|
}
|
|
4601
|
-
/** Older sources can omit session facts; admission keeps the notice render-safe. */
|
|
4602
|
-
function pastOccurrenceNoticeProps(clientProps, startsAt) {
|
|
4603
|
-
const event = clientProps.events?.find((event) => event.occurrenceId === clientProps.occurrenceContext?.id);
|
|
4604
|
-
return {
|
|
4605
|
-
anchorId: EVENT_REGISTRATION_ANCHOR_ID,
|
|
4606
|
-
className: clientProps.className,
|
|
4607
|
-
startsAt,
|
|
4608
|
-
timeZone: clientProps.occurrenceContext?.timeZone ?? null,
|
|
4609
|
-
siteTimeZone: event?.siteTimeZone ?? null,
|
|
4610
|
-
deliveryMode: event?.deliveryMode ?? null
|
|
4611
|
-
};
|
|
4612
|
-
}
|
|
4613
4559
|
const EventRegistrationClient = (clientProps) => {
|
|
4614
|
-
const
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
const presentation = resolveEventRegistrationClientSurface({
|
|
4622
|
-
plan: surface,
|
|
4623
|
-
recoveryRequest,
|
|
4624
|
-
pastStartsAt: isPastOccurrence(startsAt, useBookingNowIso(clientProps.now, {
|
|
4625
|
-
kind: "presentation",
|
|
4626
|
-
nextBoundary: startsAt ?? null
|
|
4627
|
-
})) ? startsAt ?? null : null
|
|
4560
|
+
const surface = resolveEventRegistrationClientSurface({
|
|
4561
|
+
recoveryRequest: useEventRegistrationRecoveryRequest(),
|
|
4562
|
+
plan: planEventRegistrationSurface({
|
|
4563
|
+
events: clientProps.events ?? [],
|
|
4564
|
+
occurrenceContext: clientProps.occurrenceContext,
|
|
4565
|
+
subject: clientProps.subject
|
|
4566
|
+
})
|
|
4628
4567
|
});
|
|
4629
4568
|
if (hasCancelledRegistrationDate(clientProps.events ?? [], clientProps.occurrenceContext?.id)) return /* @__PURE__ */ jsx(RegistrationClosedState, {
|
|
4630
4569
|
title: cancelledDateCopy.titleText,
|
|
4631
4570
|
body: cancelledDateCopy.bodyText
|
|
4632
4571
|
});
|
|
4633
|
-
switch (
|
|
4572
|
+
switch (surface) {
|
|
4634
4573
|
case "wizard": return /* @__PURE__ */ jsx(EventRegistrationWizard, { ...clientProps });
|
|
4635
4574
|
case "unavailable": return /* @__PURE__ */ jsx("div", {
|
|
4636
4575
|
className: clientProps.className,
|
|
4637
4576
|
role: "status",
|
|
4638
4577
|
children: "Registration is temporarily unavailable. Please refresh the page or try again shortly."
|
|
4639
4578
|
});
|
|
4640
|
-
|
|
4641
|
-
default: return assertNever(presentation);
|
|
4579
|
+
default: return assertNever(surface);
|
|
4642
4580
|
}
|
|
4643
4581
|
};
|
|
4644
4582
|
const EventRegistrationIslandClient = (props) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as EventCalendarClient } from "./EventCalendar.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-CJIz4FdL.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Db8wAmgr.mjs";
|
|
4
|
+
import { t as EventCalendarClient } from "./EventCalendar.client-DwFNFb-0.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-Bok1Oy50.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventCalendar.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { n as EventCombinedIslandClient } from "./EventCombined.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-CJIz4FdL.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Db8wAmgr.mjs";
|
|
4
|
+
import { n as EventCombinedIslandClient } from "./EventCombined.client-Ffu-aVOb.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-Bok1Oy50.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventCombined.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as EventDetailsIslandClient } from "./event-details.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Db8wAmgr.mjs";
|
|
3
|
+
import { t as EventDetailsIslandClient } from "./event-details.client-BwASwKIq.mjs";
|
|
4
4
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as EventListingClient } from "./EventListing.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-CJIz4FdL.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Db8wAmgr.mjs";
|
|
4
|
+
import { t as EventListingClient } from "./EventListing.client-ViCnrNg4.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-Bok1Oy50.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventListing.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as EventRegistrationIslandClient } from "./event-registration.client-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { n as EventRegistrationIslandClient } from "./event-registration.client-b6APrFQe.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-CJIz4FdL.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Db8wAmgr.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-Bok1Oy50.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventRegistration.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as FormNodeClient } from "./form.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-CJIz4FdL.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Db8wAmgr.mjs";
|
|
4
|
+
import { t as FormNodeClient } from "./form.client-CZeRQLGF.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
6
|
import { n as snapshotForm, t as restoreForm } from "./formSnapshot-Cy4abc0T.mjs";
|
|
7
7
|
import "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as ok, n as assertNever, r as err } from "./noop-
|
|
3
|
-
import { n as useBlockApi } from "./context-
|
|
4
|
-
import { r as listLookSlot } from "./lookSurfaces-
|
|
2
|
+
import { i as ok, n as assertNever, r as err } from "./noop-D11X-B6n.mjs";
|
|
3
|
+
import { n as useBlockApi } from "./context-CJIz4FdL.mjs";
|
|
4
|
+
import { r as listLookSlot } from "./lookSurfaces-C2VzJfyG.mjs";
|
|
5
5
|
import { S as clsx } from "./ThemedButton-DuaYtnvG.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
7
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
7
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-DhGGv4_L.mjs";
|
|
8
8
|
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
9
9
|
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|
|
10
10
|
import { useReducer, useRef } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as listLookControl, r as listLookSlot } from "./lookSurfaces-
|
|
2
|
+
import { n as listLookControl, r as listLookSlot } from "./lookSurfaces-C2VzJfyG.mjs";
|
|
3
3
|
import { t as CheckboxChoice } from "./CheckboxChoice-b-PJLEXe.mjs";
|
|
4
4
|
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C-ql101B.mjs";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Jt as
|
|
2
|
+
import { Jt as formatDate$1, Xt as formatDateTime, fn as parseBookingLocalDate, mn as parseUtcIsoDateTimeString } from "./noop-D11X-B6n.mjs";
|
|
3
3
|
//#region ../blocks/src/bindings/formatDate.ts
|
|
4
4
|
/** Admit stored civil dates or offset-aware instants before core projection. */
|
|
5
5
|
function formatDate(value, context, options) {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
4
|
-
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-
|
|
3
|
+
import { Cn as formatGiftCardAmountLabel, Jt as formatDate, _n as resolveBookingTimeZoneId, hn as toUtcIsoDateTimeString, t as logger } from "../noop-D11X-B6n.mjs";
|
|
4
|
+
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-CJIz4FdL.mjs";
|
|
5
5
|
import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-DuaYtnvG.mjs";
|
|
6
6
|
import { t as CheckIcon } from "../CheckIcon-CVcKteXH.mjs";
|
|
7
|
-
import { s as readChosenGiftAmounts } from "../gifting.parts-
|
|
8
|
-
import {
|
|
7
|
+
import { s as readChosenGiftAmounts } from "../gifting.parts-ffP6mjMd.mjs";
|
|
8
|
+
import { n as PORTAL_CALLBACK_PATH } from "../demoPortalMagicLink-6CgFZNvu.mjs";
|
|
9
|
+
import { t as GiftingClient } from "../gifting.client-CjT5PrAZ.mjs";
|
|
9
10
|
import React from "react";
|
|
10
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
12
|
import { useRouter } from "next/navigation";
|
|
@@ -138,7 +139,7 @@ function claimErrorAction(error) {
|
|
|
138
139
|
}
|
|
139
140
|
async function completeSignIn(code, props) {
|
|
140
141
|
try {
|
|
141
|
-
const response = await fetch(
|
|
142
|
+
const response = await fetch(PORTAL_CALLBACK_PATH, {
|
|
142
143
|
method: "POST",
|
|
143
144
|
headers: { "Content-Type": "application/json" },
|
|
144
145
|
body: JSON.stringify({ portalCode: code }),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { s as readChosenGiftAmounts } from "./gifting.parts-
|
|
5
|
-
import { t as GiftingClient } from "./gifting.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-CJIz4FdL.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Db8wAmgr.mjs";
|
|
4
|
+
import { s as readChosenGiftAmounts } from "./gifting.parts-ffP6mjMd.mjs";
|
|
5
|
+
import { t as GiftingClient } from "./gifting.client-CjT5PrAZ.mjs";
|
|
6
6
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
4
|
-
import { n as useBlockApi } from "./context-
|
|
2
|
+
import { Sn as formatCurrencyAmount, n as assertNever } from "./noop-D11X-B6n.mjs";
|
|
3
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-DkFnbzf_.mjs";
|
|
4
|
+
import { n as useBlockApi } from "./context-CJIz4FdL.mjs";
|
|
5
5
|
import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
7
|
-
import { a as giftingEyebrow, i as firstGiftAmountChoice, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-
|
|
7
|
+
import { a as giftingEyebrow, i as firstGiftAmountChoice, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-ffP6mjMd.mjs";
|
|
8
8
|
import { startTransition, useEffect, useReducer, useRef, useState } from "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
//#region ../blocks/src/system/runtime/nodes/gifting.client.state.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { r as listLookSlot } from "./lookSurfaces-
|
|
2
|
+
import { Sn as formatCurrencyAmount } from "./noop-D11X-B6n.mjs";
|
|
3
|
+
import { r as listLookSlot } from "./lookSurfaces-C2VzJfyG.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region ../blocks/src/system/runtime/nodes/gifting.parts.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Db8wAmgr.mjs";
|
|
3
|
+
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-DaMo6len.mjs";
|
|
4
4
|
//#region src/rendering/islands/enhancers/headerSection.ts
|
|
5
5
|
const decode = defineIslandPropsDecoder("headerSection");
|
|
6
6
|
const enhance = (root, props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { B as headingDecorationOverrideValues, F as arrangementModes, H as tileTreatmentValues, I as decorativeTransitionIntentValues, L as eventListTreatmentValues, M as accordionIconColorTokenValues, N as accordionIconMotionValues, P as accordionIconSetValues, R as eyebrowTreatmentValues, U as visibleHeadingDecorationFamilyValues, V as isArrangementMode, ct as imageMediaSchema, ft as videoMediaSchema, lt as mediaSchema, ot as assetMediaSchema, st as externalMediaSchema, z as headingDecorationColorTokenValues } from "./noop-
|
|
2
|
+
import { B as headingDecorationOverrideValues, F as arrangementModes, H as tileTreatmentValues, I as decorativeTransitionIntentValues, L as eventListTreatmentValues, M as accordionIconColorTokenValues, N as accordionIconMotionValues, P as accordionIconSetValues, R as eyebrowTreatmentValues, U as visibleHeadingDecorationFamilyValues, V as isArrangementMode, ct as imageMediaSchema, ft as videoMediaSchema, lt as mediaSchema, ot as assetMediaSchema, st as externalMediaSchema, z as headingDecorationColorTokenValues } from "./noop-D11X-B6n.mjs";
|
|
3
3
|
import { At as featuresFromHex, Ct as resolveOpaqueSurfaceHex, Et as requirePaletteColorsFromEntries, F as defineButtonStyleRecipe, I as mapButtonRoleAppearances, K as rgbColorValue, L as mapButtonVisualAppearances, Ot as preparePaletteColourIndex, St as resolveConcreteColorHex, Tt as paletteValueKeySchema, Y as resolveSurfaceForeground, _ as contextualButtonSurfaceResetStyles, _t as surfaceInkDeclarations, a as requireResolvedSurface, b as BUTTON_CONTRAST_POLICY, bt as freezeOwnedThemeValue, c as surfaceButtonRequest, d as toAccessibleColorSurfaceIntent, dt as SURFACE_INK_CSS_VARS, ft as surfaceForegroundDeclarations, h as scrimTone, ht as surfaceForegroundValue, i as prepareThemeSurfaceRevision, it as contrastThresholdByPolicy, j as ELEVATION_OFFSET, m as minimumScrimOpacity, o as resolveSurface, ot as expandPalette, p as gradientScrimSamples, t as parseResolvedSurface, u as surfaceTransportContext, ut as SURFACE_FOREGROUND_CSS_VARS, wt as paletteValueKey, xt as ownedThemeSnapshot } from "./accessibleSurfaces-DN8it_Cx.mjs";
|
|
4
4
|
import { C as paletteColorsFromEntries, D as parseThemeColorToken, E as parseColorTokenParts, O as themeColorTokenSchema, S as paletteColorEntries, T as paletteModeSchema, b as isThemeColorToken, c as buttonEffectApplicationSchema, f as buttonVisualStatesSchema, g as VARIANT_ROLES, l as buttonPressOffsetSchema, s as unsafeAsOpaqueButtonColourToken, u as buttonSystemSchema, w as paletteColorsSchema, y as hexColorSchema } from "./types-DjWUR_O6.mjs";
|
|
5
5
|
import { z } from "zod";
|