@riverbankcms/sdk 0.124.0 → 0.125.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/{PreviewEditorSidebar-DBmAJJkQ.mjs → PreviewEditorSidebar-BezDOtQ7.mjs} +3 -3
- package/dist/{PreviewEditorUI-CfGaz9cY.mjs → PreviewEditorUI-CgSqmfo2.mjs} +2 -2
- package/dist/{SdkPreviewModeRuntime-BW9Z8j8T.mjs → SdkPreviewModeRuntime-Co3AHfj0.mjs} +14 -6
- package/dist/{SiteChromeCustomizeContext-2z8moxYf.mjs → SiteChromeCustomizeContext-BHF-KANn.mjs} +82 -78
- package/dist/_dts/api/src/accessAdmin.d.ts +2 -14
- package/dist/_dts/api/src/siteAccessAdmin.d.ts +23 -0
- package/dist/_dts/billing/src/plans/types.d.ts +24 -5
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +4 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/logic.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +2 -1
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +149 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/cli/index.mjs +20 -4
- package/dist/client/{DiscountCodeDisclosure-DxvjKvck.mjs → DiscountCodeDisclosure-CyPpekBp.mjs} +1 -1
- package/dist/client/{EventCombined.client-BydMGc4c.mjs → EventCombined.client-zywit-60.mjs} +2 -2
- package/dist/client/{EventListing.client-vpzhhysN.mjs → EventListing.client-J2nLhkKT.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-CB07rpf8.mjs → LeafletStaticMap-CSubXWt6.mjs} +1 -1
- package/dist/client/{MagicLinkForm-BzyRJ8VF.mjs → MagicLinkForm-DDLIfiq9.mjs} +1 -1
- package/dist/client/{StepIndicator-CTcGf8Be.mjs → StepIndicator-DE8EvHIp.mjs} +2 -2
- package/dist/client/{accordion-B-DUDLRD.mjs → accordion-Ct5T5NiA.mjs} +1 -1
- package/dist/client/{bookingForm-DSbClLcZ.mjs → bookingForm-DMxtLPxw.mjs} +5 -5
- package/dist/client/{carousel-B6Ccdx8M.mjs → carousel--FMqgvob.mjs} +1 -1
- package/dist/client/{cart-BZh8G8wM.mjs → cart-BKX1bWiU.mjs} +3 -3
- package/dist/client/{checkout-o6zaC-kM.mjs → checkout-B_jxi4WW.mjs} +3 -3
- package/dist/client/client.mjs +20 -4
- package/dist/client/{courseRegistration-Cf11pNDs.mjs → courseRegistration-DH4MlkRD.mjs} +6 -6
- package/dist/client/{eventCalendar-BeXrdsSE.mjs → eventCalendar-BQILwAcL.mjs} +4 -4
- package/dist/client/{eventCombined-DA76PZgG.mjs → eventCombined-DFFW_Vmo.mjs} +2 -2
- package/dist/client/{eventDetails-BLxg0rok.mjs → eventDetails-B045CTSJ.mjs} +10 -5
- package/dist/client/{eventListing-tO9LheBX.mjs → eventListing-BDMYNVzS.mjs} +2 -2
- package/dist/client/{eventRegistration-Cnene9D9.mjs → eventRegistration-CQ2-BSnB.mjs} +6 -6
- package/dist/client/{form-DZf72CHB.mjs → form-DJKuyZgN.mjs} +1 -1
- package/dist/client/{headerSection-Hioja5Cr.mjs → headerSection-DeTjfiDo.mjs} +2 -2
- package/dist/client/hooks.mjs +4 -0
- package/dist/client/{locationMap-DwhUXEix.mjs → locationMap-i2wDA8gB.mjs} +2 -2
- package/dist/client/{newsletterForm-C350bEQf.mjs → newsletterForm-DKiueauk.mjs} +1 -1
- package/dist/client/{pricing-BYWN_ATa.mjs → pricing-C01J3Epx.mjs} +1 -1
- package/dist/client/{productDetail-CCqCyXgU.mjs → productDetail-Dfc1sZaX.mjs} +3 -3
- package/dist/client/{productList-BAiNJrOU.mjs → productList-BXbvXWTF.mjs} +3 -3
- package/dist/client/{propsDecoder-DeunRj6m.mjs → propsDecoder-CIR5DQ1l.mjs} +5 -0
- package/dist/client/rendering/client.mjs +103 -87
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +103 -87
- package/dist/client/{shop-DUmCdBtw.mjs → shop-BbNwPKM-.mjs} +5 -5
- package/dist/client/{shop-commerce-CY27mEUr.mjs → shop-commerce-XO-XMFEt.mjs} +4 -4
- package/dist/client/{shop-commerce-store-ChXPbWfa.mjs → shop-commerce-store-Byh6OUGK.mjs} +1 -1
- package/dist/client/{shopShared-q0kin1cv.mjs → shopShared-Bbq39mwr.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-I-92-x2V.mjs → useDiscountCodeUi-Bcyh4508.mjs} +1 -1
- package/dist/client/{useEventFilters-DlcVluZh.mjs → useEventFilters-C8OOJ3el.mjs} +2 -2
- package/dist/client/{usePolling-Bz7GFV_a.mjs → usePolling-CyJVo9kF.mjs} +2 -2
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/{sdk-runtime-OnPM8Z69.mjs → sdk-runtime-BGhyuE-E.mjs} +1 -1
- package/dist/{separator-CPtfzHqA.mjs → separator-BFs-Kmv5.mjs} +1 -1
- package/dist/server/components.mjs +12 -2
- package/dist/server/config-validation.mjs +4 -0
- package/dist/server/config.mjs +4 -0
- package/dist/server/data.mjs +4 -0
- package/dist/server/index.mjs +1 -1
- package/dist/server/next.mjs +13 -3
- package/dist/server/page-converter.mjs +4 -0
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +12 -2
- package/dist/server/rendering.mjs +12 -2
- package/dist/server/routing.mjs +4 -0
- package/dist/server/server.mjs +5 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $i as
|
|
2
|
+
import { $i as buildPaletteLibraryReadModel, $s as SearchInput, A as deriveStyleConfiguratorCapabilities, B as previewButtonStyle, Bt as BlockEditor, Cc as DropdownMenuContent, D as committedPaletteForSnapshot, Dc as DropdownMenuTrigger, Dl as Smartphone, E as cancelPreview, Ec as DropdownMenuSeparator, F as markApplySaving, Fc as Button, Fl as Monitor, G as previewSitePalette, H as previewFooterLook, I as openRow, J as resetTypographyToSaved, Js as SelectItem, K as previewSiteStyle, Kl as ChevronRight, Ks as Select, Kt as useEditorUiStore, L as paletteMutationCapability, Ll as Maximize2, M as isPreviewingChange, N as markApplyFailed, Ni as findFooterLook, O as createPalette, Ol as SlidersHorizontal, On as listEntryPageContentSlots, P as markApplySaved, Pn as ThemeScope, Q as toggleRow, Qi as findCuratedPalette, Qs as CalloutDescription, R as palettePreviewProjection, Rc as cn, Rl as LoaderCircle, Sc as DropdownMenu, T as applyTypographyDraftPatch, Tc as DropdownMenuLabel, U as previewHeaderLayout, Ui as getHeaderLayout, V as previewCuratedPalette, Vc as unsafeAsEditorBlockId, W as previewHeaderStyle, Wi as getHeaderStyle, X as styleConfiguratorHistoryEntryForPersistedSelection, Xs as SelectValue, Y as setPaletteColors, Yl as Check, Ys as SelectTrigger, Z as syncStyleConfiguratorState, Zi as curatedPalettes, Zs as Callout, _ as planSiteChromeLookSelection, ac as TabsContent, at as createOptimisticActionRunner, c as selectionSnapshotFromApplySiteStyleSelectionResponse, cl as assertNever$1, cn as isAdapterReferenceKind, d as PREVIEW_DESIGN_REFRESH_ERROR_MESSAGE, dn as resolvePageRouteSlug, ds as resolveButtonStyleSelection, dt as ContentFieldsForm, ea as paletteColorEntries, ec as Popover, f as PREVIEW_DESIGN_SAVE_ERROR_MESSAGE, fn as resolveContentTitle, fs as updateButtonStyleSelectionChoice, ft as useUISelector, g as cycleableSiteChromeOptions, gc as CollapsibleTrigger, gn as ManifestForm, gs as themeButtonClassName, h as cycleSiteChromeLookId, hc as CollapsibleContent, ht as useEntryController, ic as Tabs, j as dismissWarnings, ji as getCuratedSiteStyle, jl as Plus, k as createStyleConfiguratorState, ki as curatedSiteStyles, l as resolveStyleConfiguratorInitialSnapshot, ls as buttonStyleSelectionParameterValue, m as buildSiteChromeLookModels, mc as Collapsible, n as useSiteChromeCustomizeOptional, na as paletteColorsSchema, nc as PopoverTrigger, oc as TabsList, ot as resolvePreviewSidebarTab, p as reportPreviewDesignError, ps as buttonStyleSelectionKey, q as reconcilePaletteLibraryActive, ql as ChevronLeft, qs as SelectContent, qt as useEditorUiStoreInstance, rc as Input, s as buildApplySiteStyleSelectionBody, sc as TabsTrigger, st as FooterComposerPanel, ta as paletteColorsEqual, tc as PopoverContent, u as PREVIEW_DESIGN_LOAD_ERROR_MESSAGE, un as deriveRouteMetadataPresentation, us as findButtonStyleRecipe, v as deriveSiteStylePreviewUpdate, vn as createManifestValidation, w as applyResolvedSelections, wc as DropdownMenuItem, wl as Tablet, x as usePreviewDesignCoordinator, xc as Surface, xn as createStoreBackend, y as planSiteStylePreviewChange, yl as X$1, yn as FormRenderer, z as prepareStalePaletteRetry } from "./SiteChromeCustomizeContext-BHF-KANn.mjs";
|
|
3
3
|
import { d as unwrapResponse, f as getDashboardUrl, r as usePreviewAuth } from "./previewAuthStore-CJX21dGi.mjs";
|
|
4
|
-
import { S as getSiteFontsStorageUrl, _ as useBlockCustomizeControls, b as buildFontPreviewUrl, d as resolvePreviewDashboardSetupHandoff, f as resolvePreviewEditorGuidanceModel, g as usePreviewBlockCustomizeSelectionOptional, h as canInspectSiteStyle, m as canApplySiteStyle, p as resolvePreviewSidebarChromeModel, u as buildPreviewDashboardSetupUrl, v as PreviewFormProvider, x as generateFontFaceCss, y as previewWidgetOverrides } from "./SdkPreviewModeRuntime-
|
|
5
|
-
import { t as Separator } from "./separator-
|
|
4
|
+
import { S as getSiteFontsStorageUrl, _ as useBlockCustomizeControls, b as buildFontPreviewUrl, d as resolvePreviewDashboardSetupHandoff, f as resolvePreviewEditorGuidanceModel, g as usePreviewBlockCustomizeSelectionOptional, h as canInspectSiteStyle, m as canApplySiteStyle, p as resolvePreviewSidebarChromeModel, u as buildPreviewDashboardSetupUrl, v as PreviewFormProvider, x as generateFontFaceCss, y as previewWidgetOverrides } from "./SdkPreviewModeRuntime-Co3AHfj0.mjs";
|
|
5
|
+
import { t as Separator } from "./separator-BFs-Kmv5.mjs";
|
|
6
6
|
import React, { createContext, forwardRef, useCallback, useContext, useEffect, useId, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore, useTransition } from "react";
|
|
7
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { useQuery, useQueryClient } from "@tanstack/react-query";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Al as Redo2, Cc as DropdownMenuContent, Dc as DropdownMenuTrigger, El as Sparkles, Fc as Button, Gs as TooltipTrigger, Gt as classifyHistoryShortcut, Hl as EllipsisVertical, Ic as cva, Jl as ChevronDown, Kt as useEditorUiStore, Lt as useEditor, Ml as Pencil, Nl as PenLine, Pl as Palette, Rc as cn, Rl as LoaderCircle, Sc as DropdownMenu, Sl as TriangleAlert, Us as Tooltip, Vl as Eye, Ws as TooltipContent, a as previewDesignHistoryDomainForCommand, cc as Dialog, fc as DialogHeader, gt as useEntryEditorController, i as usePreviewDesignHistoryOrder, lc as DialogContent, n as useSiteChromeCustomizeOptional, o as selectPreviewDesignHistoryDomain, pc as DialogTitle, qt as useEditorUiStoreInstance, rn as useMultiAutosave, uc as DialogDescription, wc as DropdownMenuItem, xl as Undo2 } from "./SiteChromeCustomizeContext-
|
|
2
|
+
import { Al as Redo2, Cc as DropdownMenuContent, Dc as DropdownMenuTrigger, El as Sparkles, Fc as Button, Gs as TooltipTrigger, Gt as classifyHistoryShortcut, Hl as EllipsisVertical, Ic as cva, Jl as ChevronDown, Kt as useEditorUiStore, Lt as useEditor, Ml as Pencil, Nl as PenLine, Pl as Palette, Rc as cn, Rl as LoaderCircle, Sc as DropdownMenu, Sl as TriangleAlert, Us as Tooltip, Vl as Eye, Ws as TooltipContent, a as previewDesignHistoryDomainForCommand, cc as Dialog, fc as DialogHeader, gt as useEntryEditorController, i as usePreviewDesignHistoryOrder, lc as DialogContent, n as useSiteChromeCustomizeOptional, o as selectPreviewDesignHistoryDomain, pc as DialogTitle, qt as useEditorUiStoreInstance, rn as useMultiAutosave, uc as DialogDescription, wc as DropdownMenuItem, xl as Undo2 } from "./SiteChromeCustomizeContext-BHF-KANn.mjs";
|
|
3
3
|
import { d as unwrapResponse, r as usePreviewAuth } from "./previewAuthStore-CJX21dGi.mjs";
|
|
4
|
-
import { C as FixedBottomSurface, a as usePreviewPageDesignEditorState, c as applyPreviewChromeSurfaceToElement, l as resolvePreviewChromeSurface, o as PREVIEW_CHROME_PORTAL_CLASS_NAME, s as PREVIEW_CHROME_THEME_CLASS_NAME } from "./SdkPreviewModeRuntime-
|
|
4
|
+
import { C as FixedBottomSurface, a as usePreviewPageDesignEditorState, c as applyPreviewChromeSurfaceToElement, l as resolvePreviewChromeSurface, o as PREVIEW_CHROME_PORTAL_CLASS_NAME, s as PREVIEW_CHROME_THEME_CLASS_NAME } from "./SdkPreviewModeRuntime-Co3AHfj0.mjs";
|
|
5
5
|
import * as React$1 from "react";
|
|
6
6
|
import { useCallback, useEffect, useMemo, useState, useTransition } from "react";
|
|
7
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $ as beginAutosaveBatch, $a as getLocalDateKey, $c as toScheduledBookingDateTime, $n as layoutTransforms, $o as renderAudio, $r as parseStoredCommerceCartState, $t as redoHistory, Aa as el, Ac as createCollection, Ai as componentRuntimeRulesForTheme, An as DEFAULT_LAUNCH_READINESS_INPUT, Ao as isInlineTextEmpty, Ar as giftingBlockDefinition, As as mergeStyles, At as MediaField, Ba as formatEventCompactDateRail, Bc as parseFooterModuleId, Bi as parseGradientPresetId, Bl as GripVertical, Bn as escapeStyleContent, Bo as ClockIcon$1, Br as buildProductDetailInteractiveIslandProps, Bs as unmapValueFromSelect, C as usePreviewThemeOverlay, Ca as eventCollectionHydrationSchema, Ci as resolveBackgroundColorValue, Cl as Ticket, Cn as MediaEditorContextProvider, Co as parseGeneratedIconSetId, Cr as findPreSelectedEvent, Cs as pageDesignEditorBackgroundOverrideOwner, Ct as InlineTextField, Da as normalizeCsvIds, Di as retargetCompiledBoundaryRuntimeForContentAdjacency, Dn as getPageDesignEditorState, Do as logger, Dr as WIZARD_STEPS$1, Ds as normalizeBoxStylesCardVariant, Dt as ButtonVariantField, Ea as getEventRuntimeFiltersKey, Ei as compileEditorModelRuntime, El as Sparkles, En as applyPageDesignEditorAction, Eo as isRecord$20, Er as resolveRegistrationTarget, Es as ICON_CONFIG, Et as EntryPickerWidgetProvider, Fa as eventCalendarListLayoutOptions, Fc as Button, Fn as containerResponsiveThemeCss, Fo as ArrowDownIcon, Fr as resolveEventRegistrationScopedEvents, Fs as SdkConfigProvider, Ft as RichTextWidgetProvider, Ga as formatTime$3, Gc as formatBookingDateTime, Gl as CircleMinus, Gn as siteFooterManifest, Go as FileTextIcon, Gr as buildProductCardDisplay, Ha as formatEventPrice, Hc as unsafeAsEditorBlockValues, Hi as sectionTransitionFamilies, Hn as generateDefaultAccordionSystem, Ho as FileArchiveIcon, Hr as buildShopInteractiveIslandProps, Hs as useField, Ht as prepareBlockEditorManifest, Ia as buildGoogleMapsDirectionsUrl, Ii as gradientToCss, Il as Minus, In as createCustomBlockRegistry, Io as ArrowRightIcon, Ir as checkoutBlockDefinition, Is as useSdkConfig, It as EditorProvider, Ja as groupEventsByDate, Jc as formatLocalScheduleDate, Ji as backgroundAppearanceColorTokenNames, Jl as ChevronDown, Jn as SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, Jo as ImagePresets, Jr as formatInterval, Js as SelectItem, Jt as useOptionalEditorUiStoreInstance, Ka as getCardOrientation, Kc as formatBookingInstant, Kl as ChevronRight, Kn as siteHeaderManifest, Ko as MinusIcon, Kr as buildProductDetailDisplay, Ks as Select, Kt as useEditorUiStore, La as normalizeLocationMapProps, Lc as useComposedRefs, Li as GRADIENT_PRESETS, Ln as buildThemeRuntime, Lo as ChevronDownIcon, Lr as cartBlockDefinition, Ls as hasEmptyOption, Lt as useEditor, Ma as bindingSchema, Mc as createContextScope, Mi as designRuntimeRulesForTheme, Mn as AMBIENT_BACKGROUND_ROLES, Mo as canonicalizePersistedBlockButtonRole, Mr as courseRegistrationBlockDefinition, Ms as textColorStyle, Mt as ReferenceWidgetProvider, Na as previewStageSchema, Nc as composeEventHandlers, Nn as isSupportedLoaderEndpoint, No as isBlockButtonRole, Nr as buildCourseRegistrationInteractiveIslandProps, Ns as getFieldIntent, Nt as useRichTextImagePicker, Oa as normalizeCsvString, Oc as useId$1, Oi as retargetCompiledRuntimeFieldsForContentAdjacency, Oo as coerceInlineTextWithFallback, Or as getStepNumber$1, Os as normalizeCardVariantRole, Ot as ButtonWidgetProvider, Pa as eventCalendarListLayoutCompatibleDisplayModeValues, Pc as Primitive, Pi as surfaceResolutionContextFromTheme, Pn as ThemeScope, Po as getIconComponent, Pr as normalizeEventRegistrationPageSurfaceSubject, Ps as isHeaderField, Pt as RichTextField, Qa as getEventAvailabilityStatus, Qc as toBookingTimeZone, Qi as defaultThemeTokens, Qn as mediaTransforms, Qo as getCurrentResolveImageUrlContext, Qr as deriveCommerceCheckoutState, Qt as pushHistoryEntry, Ra as toLocationMapHydrationProps, Rc as cn, Ri as GRADIENT_PRESET_IDS, Rn as DEFAULT_THEME_RESPONSIVE_MODE, Ro as CircleMinusIcon, Rr as buildCartInteractiveIslandProps, Rs as mapCurrentValueForSelect, Rt as LinkField, S as PreviewThemeOverlayProvider, Sa as eventCollectionDisplaySchemaShape, Si as resolveSurfaceForegroundStyles, Sn as MediaEditor, So as parseGeneratedIconAssetId, Sr as findEventByOccurrenceId, Ss as isThemeV2NormalEditorRawStyleFieldName, St as OfferingsPreviewWidgetProvider, Ta as buildEventRuntimeFilters, Ti as applyCompiledRuntimeFieldsToContent, Tl as Star, Tn as useApiMediaUploader, To as isObjectRecord, Tr as resolveEventRequiresPayment, Ts as assertNever$6, Tt as EntryPickerField, Ua as formatEventPriceDisplay, Uc as addLocalScheduleDays, Ui as sectionTransitionFamilyForBoundaryOptionId, Ul as CreditCard, Un as getBlockDefinition, Uo as FileAudioIcon, Ur as getShopDisplayForItems, Ut as stripTopLevelRoutingUi, Va as formatEventDateParts, Vc as unsafeAsEditorBlockId, Vi as defaultSectionTransitionVariantForFamily, Vn as mergeContentWithBlockStyleOverrides, Vo as DownloadIcon, Vr as buildProductListInteractiveIslandProps, Vs as FieldFrame, Vt as hideThemeV2RawStyleFields, Wa as formatEventTeacherLine, Wc as formatBookingDate, Wi as sectionTransitionVariantForBoundaryOptionId, Wl as CirclePlus, Wn as projectRecurringSchedule, Wo as FileSpreadsheetIcon, Wr as buildCartDisplay, Wt as getBlockManifestFromSdkConfig, Xa as resolveEventLinkProps, Xc as parseBookingLocalDate, Xi as foregroundTokenForBackgroundAppearanceColorToken, Xl as ArrowDown, Xn as visibleHeaderClearancePx, Xo as buildResolveImageUrlContext, Xr as buildPassCartItem, Xs as SelectValue, Xt as canUndoHistory, Ya as resolveEventCta, Yc as getBookingLocalDateKey, Yi as backgroundAppearanceQuickColorTokenNames, Yn as planSiteOverlayHeaderClearance, Yo as MediaPlaceholder, Yr as EMPTY_COMMERCE_CART_STATE, Ys as SelectTrigger, Yt as canRedoHistory, Za as getEventAvailability, Zc as resolveBookingTimeZoneId, Zi as parseBackgroundAppearanceColorToken, Zl as __exportAll, Zn as contentTransforms, Zo as computeMediaTransformStyle, Zr as buildProductCartItem, Zt as createHistoryState, _a as isSemanticSpacing, _c as Content, _i as bodyCopyFragment, _l as err$2, _n as createManifestFormAdapter, _o as resolveFeatureCardGeneratedIconSizePx, _r as formBlockDefinition, _s as parseThemeForPersistence, _t as createSiteOptionApiLoader, aa as createTransformRegistry, ac as TabsContent, ai as faqAccordionFragment, al as publicEventScalarPrice, an as createRoutingHelpers, ao as defineInteractiveIslandMetaKeys, ar as NAV_DROPDOWN_SHIFT_PROPERTY, as as SECTION_BACKGROUND_MIN_SOURCE_WIDTH, b as PreviewDesignCoordinatorProvider, ba as buildEventCollectionHydration, bc as createCollapsibleScope, bi as getAnchorClasses, bl as Upload, bn as evaluateVisibility, bo as parseBlockIconValue, br as buildEventRegistrationInteractiveIslandProps, bs as resolveOnColorForThemeToken, bt as SiteOptionWidgetProvider, cc as Dialog, ci as singleButtonFragment, cl as assertNever$5, co as defineProgressiveBlockRuntime, cr as productDetailBlockDefinition, cs as siblingPath, ct as PreviewRichTextEditor, da as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, dc as DialogFooter, di as testimonialsCarouselFragment, dl as parseSiteId, do as markEditableSurfaceForwarding, dr as eventListingBlockDefinition, ei as productItemKey, el as parseEventPageSurfaceSubject, en as undoHistory, eo as getLocalMinuteOfDay, er as uiTransforms, es as renderVideo, et as confirmAutosaveBatch, f as PREVIEW_DESIGN_SAVE_ERROR_MESSAGE, fa as buildOfferingsPreviewRenderStates, fc as DialogHeader, fi as testimonialsHeadingFragment, fl as unsafeAsAppointmentResourceId, fo as splitPositioningClasses, fr as buildEventListingInteractiveIslandProps, ft as useUISelector, ga as resolveOfferingsPreviewGroups, gi as heroCopyFragment, gl as unsafeAsPassId, go as FEATURE_CARD_ICON_TREATMENTS, gr as buildEventCalendarListingRender, gs as themeButtonClassName, gt as useEntryEditorController, ha as resolveOfferingsPreviewGroupCta, hi as ctaRowFragment, hl as unsafeAsFormId, hn as validateBlockManifestIssues, ho as mediaSchema, hr as buildEventCalendarListingDisplay, hs as parseThemeButtonVariantId, i as usePreviewDesignHistoryOrder, ic as Tabs, ii as cardFragment, il as publicEventPricingType, in as useDebouncedLatestSave, io as createInteractiveIslandCodec, ir as useImageResolveContextOptional, is as setContextResolveImageUrlContext, it as rejectAutosaveBatch, ja as when, jc as useControllableState, jl as Plus, jn as deriveLaunchReadiness, jo as parseInlineTextFromUnknown, jr as buildGiftingInteractiveIslandProps, js as rgbColorValue, jt as ReferenceField, ka as normalizeOptionalId, kc as useDirection, ki as planPageDesignLayoutLookCompatibility, kl as RotateCcw, kn as decodePublicProductCategorySelectorQuery, ko as inlineTextToPlainText, kr as getWizardStepsForContext$1, ks as backgroundColorStyle, kt as FileField, lc as DialogContent, li as formEmbedFragment, ll as expectParsedBrandedId, ln as parseReferenceKind, lr as newsletterSignupBlockDefinition, lt as PreviewInlineTextEditor, ma as resolveOfferingsPreviewCoursePath, mi as heroCtaRowFragment, ml as unsafeAsCustomerPassId, mn as usePalette, mo as PUBLIC_DOWNLOAD_MEDIA_TYPES, mr as buildEventCalendarInteractiveIslandProps, ms as AFFORDANCE_SUPPRESS_CLASS, mt as EntryControllerProvider, n as useSiteChromeCustomizeOptional, ni as richTextFragment, nl as publicEventPricingCurrency, nn as recordsEqual, no as blockBookingPaymentTermsSchema, nr as createManifestValidator, ns as resolveMediaNodeResponsiveImage, nt as enqueueTransaction, oa as runTransforms, oc as TabsList, oi as faqHeadingFragment, ol as publicEventTicketTypes, on as createSnapshotFromPageRecord, oo as createZodCodec, or as shopBlockDefinition, os as attachRenderableMediaAssetFields, ot as resolvePreviewSidebarTab, p as reportPreviewDesignError, pa as normalizeOfferingsPreviewItemLimit, pc as DialogTitle, pi as ctaCopyFragment, pl as unsafeAsAppointmentServiceId, pn as PaletteProvider, po as planSiteChromePlacement, pr as eventCalendarBlockDefinition, pt as EditableBlockProvider, qa as getContainerClass, qc as formatBookingTime, qi as BACKGROUND_BODY_TEXT_MIN_CONTRAST_RATIO, ql as ChevronLeft, qn as SITE_CHROME_VISIBLE_HEADER_SELECTOR, qo as PlusIcon, qr as formatCommercePrice, qs as SelectContent, qt as useEditorUiStoreInstance, r as PreviewDesignHistoryOrderProvider, ri as headingFragment, rl as publicEventPricingMode, ro as buildInteractiveIslandProps, rr as ImageResolveContextProvider, rs as resolveMediaStorageUrl, rt as idleEditorTransactionQueueState, sa as ctaButton, sc as TabsTrigger, si as blogFeaturedPostFragment, sl as formatCurrencyAmount, sn as BUILT_IN_REFERENCE_KINDS, so as defineClientOwnedBlockRuntime, sr as productListBlockDefinition, ss as getAtPath, t as SiteChromeCustomizeProvider, ti as reduceCommerceCart, tl as formatBookingPriceDisplay, tn as unsafeAsLinkedContentEntryId, to as resolveRuntimeEventPricing, tr as formattingTransforms, ts as resolveImageUrlWithContext, tt as deriveTransactionCapabilities, u as PREVIEW_DESIGN_LOAD_ERROR_MESSAGE, uc as DialogDescription, ui as formCopyFragment, ul as parseMediaAssetId, uo as composeHeaderSectionWrapperClassName, ur as buildNewsletterFormInteractiveIslandProps, ut as PreviewTextEditor, va as resolveSpacing, vc as Root, vi as defineFragment, vl as ok$3, vo as shouldReserveFeatureCardIconZone, vr as buildFormInteractiveIslandProps, vs as getTextColorForBackground, vt as createSiteOptionWidgetAdapters, wa as eventCollectionSourceSchemaShape, wi as formatSiteChromeBackgroundTokenLabel, wn as useMediaEditorOptional, wo as RichTextDocSchema, wr as resolveDiscountContext, ws as asDesignBlockId, wt as IconPickerField, xa as buildEventCollectionListingDisplay, xi as boxStylesTransforms, xn as createStoreBackend, xo as resolveBlockIconRenderValue, xr as toRegistrationEvents, xs as resolveTokenOrCssColorValue, xt as OfferingsPreviewGroupOrderField, ya as buildEventCollectionDisplay, yc as Trigger, yi as BACKGROUND_POSITION_PRESET_VALUES, yl as X, yn as FormRenderer, yo as buildGeneratedBlockIconRenderAssetLookupFromUnknown, yr as eventRegistrationBlockDefinition, ys as isCssColorLiteral, yt as SiteOptionPickerField, za as formatDate$3, zc as clsx, zi as getGradientPreset, zl as Image, zn as getResponsiveScopeSpec, zo as CirclePlusIcon, zr as buildCheckoutInteractiveIslandProps, zs as mapOptionValueForSelect, zt as LinkWidgetProvider } from "./SiteChromeCustomizeContext-2z8moxYf.mjs";
|
|
2
|
+
import { $ as beginAutosaveBatch, $a as resolveRuntimeEventPricing, $c as toScheduledBookingDateTime, $n as layoutTransforms, $o as renderAudio, $r as reduceCommerceCart, $t as redoHistory, Aa as bindingSchema, Ac as createCollection, Ai as designRuntimeRulesForTheme, An as DEFAULT_LAUNCH_READINESS_INPUT, Ao as isInlineTextEmpty, Ar as giftingBlockDefinition, As as mergeStyles, At as MediaField, Ba as formatEventPrice, Bc as parseFooterModuleId, Bi as sectionTransitionFamilies, Bl as GripVertical, Bn as escapeStyleContent, Bo as ClockIcon$1, Br as buildShopInteractiveIslandProps, Bs as unmapValueFromSelect, C as usePreviewThemeOverlay, Ca as buildEventRuntimeFilters, Ci as applyCompiledRuntimeFieldsToContent, Cl as Ticket, Cn as MediaEditorContextProvider, Co as parseGeneratedIconSetId, Cr as findPreSelectedEvent, Cs as pageDesignEditorBackgroundOverrideOwner, Ct as InlineTextField, Da as normalizeOptionalId, Di as planPageDesignLayoutLookCompatibility, Dn as getPageDesignEditorState, Do as logger, Dr as WIZARD_STEPS$1, Ds as normalizeBoxStylesCardVariant, Dt as ButtonVariantField, Ea as normalizeCsvString, Ei as retargetCompiledRuntimeFieldsForContentAdjacency, El as Sparkles, En as applyPageDesignEditorAction, Eo as isRecord$20, Er as resolveRegistrationTarget, Es as ICON_CONFIG, Et as EntryPickerWidgetProvider, Fa as normalizeLocationMapProps, Fc as Button, Fi as GRADIENT_PRESETS, Fn as containerResponsiveThemeCss, Fo as ArrowDownIcon, Fr as cartBlockDefinition, Fs as SdkConfigProvider, Ft as RichTextWidgetProvider, Ga as getContainerClass, Gc as formatBookingDateTime, Gi as BACKGROUND_BODY_TEXT_MIN_CONTRAST_RATIO, Gl as CircleMinus, Gn as siteFooterManifest, Go as FileTextIcon, Gr as formatCommercePrice, Ha as formatEventTeacherLine, Hc as unsafeAsEditorBlockValues, Hi as sectionTransitionVariantForBoundaryOptionId, Hn as generateDefaultAccordionSystem, Ho as FileArchiveIcon, Hr as buildCartDisplay, Hs as useField, Ht as prepareBlockEditorManifest, Ia as toLocationMapHydrationProps, Ii as GRADIENT_PRESET_IDS, Il as Minus, In as createCustomBlockRegistry, Io as ArrowRightIcon, Ir as buildCartInteractiveIslandProps, Is as useSdkConfig, It as EditorProvider, Ja as resolveEventLinkProps, Jc as formatLocalScheduleDate, Ji as foregroundTokenForBackgroundAppearanceColorToken, Jl as ChevronDown, Jn as SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, Jo as ImagePresets, Jr as buildPassCartItem, Js as SelectItem, Jt as useOptionalEditorUiStoreInstance, Ka as groupEventsByDate, Kc as formatBookingInstant, Ki as backgroundAppearanceColorTokenNames, Kl as ChevronRight, Kn as siteHeaderManifest, Ko as MinusIcon, Kr as formatInterval, Ks as Select, Kt as useEditorUiStore, La as formatDate$3, Lc as useComposedRefs, Li as getGradientPreset, Ln as buildThemeRuntime, Lo as ChevronDownIcon, Lr as buildCheckoutInteractiveIslandProps, Ls as hasEmptyOption, Lt as useEditor, Ma as eventCalendarListLayoutCompatibleDisplayModeValues, Mc as createContextScope, Mi as surfaceResolutionContextFromTheme, Mn as AMBIENT_BACKGROUND_ROLES, Mo as canonicalizePersistedBlockButtonRole, Mr as courseRegistrationBlockDefinition, Ms as textColorStyle, Mt as ReferenceWidgetProvider, Na as eventCalendarListLayoutOptions, Nc as composeEventHandlers, Nn as isSupportedLoaderEndpoint, No as isBlockButtonRole, Nr as buildCourseRegistrationInteractiveIslandProps, Ns as getFieldIntent, Nt as useRichTextImagePicker, Oa as el, Oc as useId$1, Oi as componentRuntimeRulesForTheme, Oo as coerceInlineTextWithFallback, Or as getStepNumber$1, Os as normalizeCardVariantRole, Ot as ButtonWidgetProvider, Pa as buildGoogleMapsDirectionsUrl, Pc as Primitive, Pi as gradientToCss, Pn as ThemeScope, Po as getIconComponent, Pr as checkoutBlockDefinition, Ps as isHeaderField, Pt as RichTextField, Qa as getLocalMinuteOfDay, Qc as toBookingTimeZone, Qn as mediaTransforms, Qo as getCurrentResolveImageUrlContext, Qr as productItemKey, Qt as pushHistoryEntry, Ra as formatEventCompactDateRail, Rc as cn, Ri as parseGradientPresetId, Rn as DEFAULT_THEME_RESPONSIVE_MODE, Ro as CircleMinusIcon, Rr as buildProductDetailInteractiveIslandProps, Rs as mapCurrentValueForSelect, Rt as LinkField, S as PreviewThemeOverlayProvider, Sa as eventCollectionSourceSchemaShape, Si as formatSiteChromeBackgroundTokenLabel, Sn as MediaEditor, So as parseGeneratedIconAssetId, Sr as findEventByOccurrenceId, Ss as isThemeV2NormalEditorRawStyleFieldName, St as OfferingsPreviewWidgetProvider, Ta as normalizeCsvIds, Ti as retargetCompiledBoundaryRuntimeForContentAdjacency, Tl as Star, Tn as useApiMediaUploader, To as isObjectRecord, Tr as resolveEventRequiresPayment, Ts as assertNever$6, Tt as EntryPickerField, Ua as formatTime$3, Uc as addLocalScheduleDays, Ul as CreditCard, Un as getBlockDefinition, Uo as FileAudioIcon, Ur as buildProductCardDisplay, Ut as stripTopLevelRoutingUi, Va as formatEventPriceDisplay, Vc as unsafeAsEditorBlockId, Vi as sectionTransitionFamilyForBoundaryOptionId, Vn as mergeContentWithBlockStyleOverrides, Vo as DownloadIcon, Vr as getShopDisplayForItems, Vs as FieldFrame, Vt as hideThemeV2RawStyleFields, Wa as getCardOrientation, Wc as formatBookingDate, Wl as CirclePlus, Wn as projectRecurringSchedule, Wo as FileSpreadsheetIcon, Wr as buildProductDetailDisplay, Wt as getBlockManifestFromSdkConfig, Xa as getEventAvailabilityStatus, Xc as parseBookingLocalDate, Xi as defaultThemeTokens, Xl as ArrowDown, Xn as visibleHeaderClearancePx, Xo as buildResolveImageUrlContext, Xr as deriveCommerceCheckoutState, Xs as SelectValue, Xt as canUndoHistory, Ya as getEventAvailability, Yc as getBookingLocalDateKey, Yi as parseBackgroundAppearanceColorToken, Yn as planSiteOverlayHeaderClearance, Yo as MediaPlaceholder, Yr as buildProductCartItem, Ys as SelectTrigger, Yt as canRedoHistory, Za as getLocalDateKey, Zc as resolveBookingTimeZoneId, Zl as __exportAll, Zn as contentTransforms, Zo as computeMediaTransformStyle, Zr as parseStoredCommerceCartState, Zt as createHistoryState, _a as buildEventCollectionDisplay, _c as Content, _i as BACKGROUND_POSITION_PRESET_VALUES, _l as err$2, _n as createManifestFormAdapter, _o as resolveFeatureCardGeneratedIconSizePx, _r as formBlockDefinition, _s as parseThemeForPersistence, _t as createSiteOptionApiLoader, aa as ctaButton, ac as TabsContent, ai as blogFeaturedPostFragment, al as publicEventScalarPrice, an as createRoutingHelpers, ao as defineInteractiveIslandMetaKeys, ar as NAV_DROPDOWN_SHIFT_PROPERTY, as as SECTION_BACKGROUND_MIN_SOURCE_WIDTH, b as PreviewDesignCoordinatorProvider, ba as eventCollectionDisplaySchemaShape, bc as createCollapsibleScope, bi as resolveSurfaceForegroundStyles, bl as Upload, bn as evaluateVisibility, bo as parseBlockIconValue, br as buildEventRegistrationInteractiveIslandProps, bs as resolveOnColorForThemeToken, bt as SiteOptionWidgetProvider, cc as Dialog, ci as formCopyFragment, cl as assertNever$5, co as defineProgressiveBlockRuntime, cr as productDetailBlockDefinition, cs as siblingPath, ct as PreviewRichTextEditor, da as normalizeOfferingsPreviewItemLimit, dc as DialogFooter, di as ctaCopyFragment, dl as parseSiteId, do as markEditableSurfaceForwarding, dr as eventListingBlockDefinition, ei as richTextFragment, el as parseEventPageSurfaceSubject, en as undoHistory, eo as normalizeEventRegistrationPageSurfaceSubject, er as uiTransforms, es as renderVideo, et as confirmAutosaveBatch, f as PREVIEW_DESIGN_SAVE_ERROR_MESSAGE, fa as resolveOfferingsPreviewCoursePath, fc as DialogHeader, fi as heroCtaRowFragment, fl as unsafeAsAppointmentResourceId, fo as splitPositioningClasses, fr as buildEventListingInteractiveIslandProps, ft as useUISelector, ga as resolveSpacing, gi as defineFragment, gl as unsafeAsPassId, go as FEATURE_CARD_ICON_TREATMENTS, gr as buildEventCalendarListingRender, gs as themeButtonClassName, gt as useEntryEditorController, ha as isSemanticSpacing, hi as bodyCopyFragment, hl as unsafeAsFormId, hn as validateBlockManifestIssues, ho as mediaSchema, hr as buildEventCalendarListingDisplay, hs as parseThemeButtonVariantId, i as usePreviewDesignHistoryOrder, ia as runTransforms, ic as Tabs, ii as faqHeadingFragment, il as publicEventPricingType, in as useDebouncedLatestSave, io as createInteractiveIslandCodec, ir as useImageResolveContextOptional, is as setContextResolveImageUrlContext, it as rejectAutosaveBatch, ja as previewStageSchema, jc as useControllableState, jl as Plus, jn as deriveLaunchReadiness, jo as parseInlineTextFromUnknown, jr as buildGiftingInteractiveIslandProps, js as rgbColorValue, jt as ReferenceField, ka as when, kc as useDirection, kl as RotateCcw, kn as decodePublicProductCategorySelectorQuery, ko as inlineTextToPlainText, kr as getWizardStepsForContext$1, ks as backgroundColorStyle, kt as FileField, la as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, lc as DialogContent, li as testimonialsCarouselFragment, ll as expectParsedBrandedId, ln as parseReferenceKind, lr as newsletterSignupBlockDefinition, lt as PreviewInlineTextEditor, ma as resolveOfferingsPreviewGroups, mi as heroCopyFragment, ml as unsafeAsCustomerPassId, mn as usePalette, mo as PUBLIC_DOWNLOAD_MEDIA_TYPES, mr as buildEventCalendarInteractiveIslandProps, ms as AFFORDANCE_SUPPRESS_CLASS, mt as EntryControllerProvider, n as useSiteChromeCustomizeOptional, ni as cardFragment, nl as publicEventPricingCurrency, nn as recordsEqual, no as blockBookingPaymentTermsSchema, nr as createManifestValidator, ns as resolveMediaNodeResponsiveImage, nt as enqueueTransaction, oc as TabsList, oi as singleButtonFragment, ol as publicEventTicketTypes, on as createSnapshotFromPageRecord, oo as createZodCodec, or as shopBlockDefinition, os as attachRenderableMediaAssetFields, ot as resolvePreviewSidebarTab, p as reportPreviewDesignError, pa as resolveOfferingsPreviewGroupCta, pc as DialogTitle, pi as ctaRowFragment, pl as unsafeAsAppointmentServiceId, pn as PaletteProvider, po as planSiteChromePlacement, pr as eventCalendarBlockDefinition, pt as EditableBlockProvider, qa as resolveEventCta, qc as formatBookingTime, qi as backgroundAppearanceQuickColorTokenNames, ql as ChevronLeft, qn as SITE_CHROME_VISIBLE_HEADER_SELECTOR, qo as PlusIcon, qr as EMPTY_COMMERCE_CART_STATE, qs as SelectContent, qt as useEditorUiStoreInstance, r as PreviewDesignHistoryOrderProvider, ra as createTransformRegistry, ri as faqAccordionFragment, rl as publicEventPricingMode, ro as buildInteractiveIslandProps, rr as ImageResolveContextProvider, rs as resolveMediaStorageUrl, rt as idleEditorTransactionQueueState, sc as TabsTrigger, si as formEmbedFragment, sl as formatCurrencyAmount, sn as BUILT_IN_REFERENCE_KINDS, so as defineClientOwnedBlockRuntime, sr as productListBlockDefinition, ss as getAtPath, t as SiteChromeCustomizeProvider, ti as headingFragment, tl as formatBookingPriceDisplay, tn as unsafeAsLinkedContentEntryId, to as resolveEventRegistrationScopedEvents, tr as formattingTransforms, ts as resolveImageUrlWithContext, tt as deriveTransactionCapabilities, u as PREVIEW_DESIGN_LOAD_ERROR_MESSAGE, ua as buildOfferingsPreviewRenderStates, uc as DialogDescription, ui as testimonialsHeadingFragment, ul as parseMediaAssetId, uo as composeHeaderSectionWrapperClassName, ur as buildNewsletterFormInteractiveIslandProps, ut as PreviewTextEditor, va as buildEventCollectionHydration, vc as Root, vi as getAnchorClasses, vl as ok$3, vo as shouldReserveFeatureCardIconZone, vr as buildFormInteractiveIslandProps, vs as getTextColorForBackground, vt as createSiteOptionWidgetAdapters, wa as getEventRuntimeFiltersKey, wi as compileEditorModelRuntime, wn as useMediaEditorOptional, wo as RichTextDocSchema, wr as resolveDiscountContext, ws as asDesignBlockId, wt as IconPickerField, xa as eventCollectionHydrationSchema, xi as resolveBackgroundColorValue, xn as createStoreBackend, xo as resolveBlockIconRenderValue, xr as toRegistrationEvents, xs as resolveTokenOrCssColorValue, xt as OfferingsPreviewGroupOrderField, ya as buildEventCollectionListingDisplay, yc as Trigger, yi as boxStylesTransforms, yl as X, yn as FormRenderer, yo as buildGeneratedBlockIconRenderAssetLookupFromUnknown, yr as eventRegistrationBlockDefinition, ys as isCssColorLiteral, yt as SiteOptionPickerField, za as formatEventDateParts, zc as clsx, zi as defaultSectionTransitionVariantForFamily, zl as Image, zn as getResponsiveScopeSpec, zo as CirclePlusIcon, zr as buildProductListInteractiveIslandProps, zs as mapOptionValueForSelect, zt as LinkWidgetProvider } from "./SiteChromeCustomizeContext-BHF-KANn.mjs";
|
|
3
3
|
import { i as useOptionalPreviewLayout, t as PreviewQueryProvider } from "./PreviewQueryProvider-BH-3-jSj.mjs";
|
|
4
4
|
import { _ as API_ENDPOINTS, a as usePreviewToken, c as createBearerAPIClient, d as unwrapResponse, g as resolveSurfaceDocumentAttributes, h as SURFACE_IDS, i as usePreviewAuthFetch, m as SURFACE_DOCUMENT_DATA_ATTRIBUTE, n as markPreviewAuthExpired, o as isPreviewRuntimeSessionEditable, r as usePreviewAuth, s as ApiRequestError, t as initPreviewAuth } from "./previewAuthStore-CJX21dGi.mjs";
|
|
5
5
|
import * as React$1 from "react";
|
|
@@ -3682,7 +3682,10 @@ function uniqByOccurrenceId(events) {
|
|
|
3682
3682
|
return out;
|
|
3683
3683
|
}
|
|
3684
3684
|
function selectEventDetails(args) {
|
|
3685
|
-
const all = uniqByOccurrenceId((args.events ?? []).filter(Boolean)
|
|
3685
|
+
const all = uniqByOccurrenceId(resolveEventRegistrationScopedEvents((args.events ?? []).filter(Boolean), {
|
|
3686
|
+
occurrenceContext: args.occurrenceContext,
|
|
3687
|
+
subject: args.subject
|
|
3688
|
+
}));
|
|
3686
3689
|
const occurrenceContext = args.occurrenceContext ?? null;
|
|
3687
3690
|
const otherLimit = parseLimit$1(args.otherDatesLimit, 5);
|
|
3688
3691
|
const selectedFromContext = (() => {
|
|
@@ -4610,11 +4613,13 @@ function EventDetailsView({ selection, showVenue, showMap, showOtherDates, showC
|
|
|
4610
4613
|
}
|
|
4611
4614
|
//#endregion
|
|
4612
4615
|
//#region ../blocks/src/system/runtime/nodes/event-details.server.tsx
|
|
4613
|
-
function EventDetailsSSR({ blockId, occurrenceContext, events, showVenue = true, showMap = true, showOtherDates = true, otherDatesLimit, showCost = true, showAcceptedPasses = true, showAcceptedMemberships = true, sitePasses, siteMemberships, autoApplyDiscount, className, children }) {
|
|
4616
|
+
function EventDetailsSSR({ blockId, occurrenceContext, subject, events, showVenue = true, showMap = true, showOtherDates = true, otherDatesLimit, showCost = true, showAcceptedPasses = true, showAcceptedMemberships = true, sitePasses, siteMemberships, autoApplyDiscount, className, children }) {
|
|
4614
4617
|
const nowIso = (/* @__PURE__ */ new Date()).toISOString();
|
|
4618
|
+
const normalizedSubject = normalizeEventRegistrationPageSurfaceSubject(subject);
|
|
4615
4619
|
const selection = selectEventDetails({
|
|
4616
4620
|
events: events ?? null,
|
|
4617
4621
|
occurrenceContext: occurrenceContext ?? null,
|
|
4622
|
+
subject: normalizedSubject,
|
|
4618
4623
|
nowIso,
|
|
4619
4624
|
otherDatesLimit
|
|
4620
4625
|
});
|
|
@@ -4629,6 +4634,7 @@ function EventDetailsSSR({ blockId, occurrenceContext, events, showVenue = true,
|
|
|
4629
4634
|
children: [
|
|
4630
4635
|
/* @__PURE__ */ jsx(IslandPropsScript, { value: {
|
|
4631
4636
|
occurrenceContext,
|
|
4637
|
+
subject: normalizedSubject,
|
|
4632
4638
|
events,
|
|
4633
4639
|
showVenue,
|
|
4634
4640
|
showMap,
|
|
@@ -19165,6 +19171,7 @@ const LeafletStaticMap = ({ location, label, className = "", height = 200, zoom
|
|
|
19165
19171
|
function toEventDetailsClientProps(props) {
|
|
19166
19172
|
return {
|
|
19167
19173
|
occurrenceContext: props.occurrenceContext,
|
|
19174
|
+
subject: props.subject,
|
|
19168
19175
|
events: props.events ? [...props.events] : props.events,
|
|
19169
19176
|
showVenue: props.showVenue,
|
|
19170
19177
|
showMap: props.showMap,
|
|
@@ -19180,10 +19187,11 @@ function toEventDetailsClientProps(props) {
|
|
|
19180
19187
|
nowIso: props.nowIso
|
|
19181
19188
|
};
|
|
19182
19189
|
}
|
|
19183
|
-
function EventDetailsClient({ occurrenceContext, events, showVenue = true, showMap = true, showOtherDates = true, otherDatesLimit, showCost = true, showAcceptedPasses = true, showAcceptedMemberships = true, sitePasses, siteMemberships, autoApplyDiscount, className, nowIso, children }) {
|
|
19190
|
+
function EventDetailsClient({ occurrenceContext, subject, events, showVenue = true, showMap = true, showOtherDates = true, otherDatesLimit, showCost = true, showAcceptedPasses = true, showAcceptedMemberships = true, sitePasses, siteMemberships, autoApplyDiscount, className, nowIso, children }) {
|
|
19184
19191
|
const selection = selectEventDetails({
|
|
19185
19192
|
events: events ?? null,
|
|
19186
19193
|
occurrenceContext: occurrenceContext ?? null,
|
|
19194
|
+
subject,
|
|
19187
19195
|
nowIso: nowIso ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
19188
19196
|
otherDatesLimit
|
|
19189
19197
|
});
|
|
@@ -36636,10 +36644,10 @@ function LinkedEntryEditEventBridge() {
|
|
|
36636
36644
|
//#region ../preview-next/src/client/preview/PreviewShellLayout.tsx
|
|
36637
36645
|
const previewContainerResponsiveEnabled = process.env.NEXT_PUBLIC_ENABLE_PREVIEW_CONTAINER_RESPONSIVE !== "false";
|
|
36638
36646
|
const PreviewEditorSidebar = React.lazy(async () => {
|
|
36639
|
-
return { default: (await import("./PreviewEditorSidebar-
|
|
36647
|
+
return { default: (await import("./PreviewEditorSidebar-BezDOtQ7.mjs")).PreviewEditorSidebar };
|
|
36640
36648
|
});
|
|
36641
36649
|
const PreviewEditorUI = React.lazy(async () => {
|
|
36642
|
-
return { default: (await import("./PreviewEditorUI-
|
|
36650
|
+
return { default: (await import("./PreviewEditorUI-CgSqmfo2.mjs")).PreviewEditorUI };
|
|
36643
36651
|
});
|
|
36644
36652
|
const previewPaneContainmentStyle = {
|
|
36645
36653
|
contain: "layout paint",
|
package/dist/{SiteChromeCustomizeContext-2z8moxYf.mjs → SiteChromeCustomizeContext-BHF-KANn.mjs}
RENAMED
|
@@ -88369,6 +88369,83 @@ const blockBookingPaymentCollectionOptionSchema = z$1.union([
|
|
|
88369
88369
|
})
|
|
88370
88370
|
]);
|
|
88371
88371
|
const blockBookingPaymentTermsSchema = z$1.object({ allowedOptions: z$1.array(blockBookingPaymentCollectionOptionSchema).min(1) });
|
|
88372
|
+
const unsupportedEventRegistrationPageSurfaceSubjectSchema = z$1.object({
|
|
88373
|
+
kind: z$1.literal("unsupported"),
|
|
88374
|
+
reason: z$1.enum([
|
|
88375
|
+
"unsupportedSubject",
|
|
88376
|
+
"invalidEventSeriesId",
|
|
88377
|
+
"invalidEventOfferingId"
|
|
88378
|
+
])
|
|
88379
|
+
});
|
|
88380
|
+
const eventRegistrationPageSurfaceSubjectSchema = z$1.unknown().transform((value, ctx) => {
|
|
88381
|
+
const unsupported = unsupportedEventRegistrationPageSurfaceSubjectSchema.safeParse(value);
|
|
88382
|
+
if (unsupported.success) return unsupported.data;
|
|
88383
|
+
const parsed = parseEventPageSurfaceSubject(value);
|
|
88384
|
+
if (parsed.ok) return parsed.value;
|
|
88385
|
+
ctx.addIssue({
|
|
88386
|
+
code: z$1.ZodIssueCode.custom,
|
|
88387
|
+
message: `Invalid event page-surface subject (${parsed.error.kind})`
|
|
88388
|
+
});
|
|
88389
|
+
return z$1.NEVER;
|
|
88390
|
+
});
|
|
88391
|
+
function parseEventRegistrationPageSurfaceSubject(value) {
|
|
88392
|
+
return parseEventPageSurfaceSubject(value);
|
|
88393
|
+
}
|
|
88394
|
+
function normalizeEventRegistrationPageSurfaceSubject(value) {
|
|
88395
|
+
const parsed = parseEventRegistrationPageSurfaceSubject(value);
|
|
88396
|
+
if (parsed.ok) return parsed.value;
|
|
88397
|
+
switch (parsed.error.kind) {
|
|
88398
|
+
case "notObject": return null;
|
|
88399
|
+
case "unsupportedSubject": return {
|
|
88400
|
+
kind: "unsupported",
|
|
88401
|
+
reason: "unsupportedSubject"
|
|
88402
|
+
};
|
|
88403
|
+
case "invalidEventSeriesId": return {
|
|
88404
|
+
kind: "unsupported",
|
|
88405
|
+
reason: "invalidEventSeriesId"
|
|
88406
|
+
};
|
|
88407
|
+
case "invalidEventOfferingId": return {
|
|
88408
|
+
kind: "unsupported",
|
|
88409
|
+
reason: "invalidEventOfferingId"
|
|
88410
|
+
};
|
|
88411
|
+
}
|
|
88412
|
+
}
|
|
88413
|
+
function resolveEventRegistrationScope(context) {
|
|
88414
|
+
const occurrenceSeriesId = context.occurrenceContext?.seriesId;
|
|
88415
|
+
if (occurrenceSeriesId) return {
|
|
88416
|
+
kind: "occurrenceSeries",
|
|
88417
|
+
seriesId: occurrenceSeriesId
|
|
88418
|
+
};
|
|
88419
|
+
if (context.subject?.kind === "eventSeries") return {
|
|
88420
|
+
kind: "pageSurfaceSeries",
|
|
88421
|
+
seriesId: context.subject.eventSeriesId
|
|
88422
|
+
};
|
|
88423
|
+
if (context.subject?.kind === "eventOffering") return {
|
|
88424
|
+
kind: "pageSurfaceOffering",
|
|
88425
|
+
offeringId: context.subject.eventOfferingId,
|
|
88426
|
+
seriesIds: context.subject.availableEventSeriesIds
|
|
88427
|
+
};
|
|
88428
|
+
if (context.subject?.kind === "unsupported") return {
|
|
88429
|
+
kind: "unsupportedPageSurfaceSubject",
|
|
88430
|
+
reason: context.subject.reason
|
|
88431
|
+
};
|
|
88432
|
+
return { kind: "unscoped" };
|
|
88433
|
+
}
|
|
88434
|
+
function applyEventRegistrationScope(events, scope) {
|
|
88435
|
+
switch (scope.kind) {
|
|
88436
|
+
case "occurrenceSeries":
|
|
88437
|
+
case "pageSurfaceSeries": return events.filter((event) => event.seriesId === scope.seriesId);
|
|
88438
|
+
case "pageSurfaceOffering": {
|
|
88439
|
+
const seriesIds = new Set(scope.seriesIds);
|
|
88440
|
+
return events.filter((event) => seriesIds.has(event.seriesId));
|
|
88441
|
+
}
|
|
88442
|
+
case "unsupportedPageSurfaceSubject": return [];
|
|
88443
|
+
case "unscoped": return [...events];
|
|
88444
|
+
}
|
|
88445
|
+
}
|
|
88446
|
+
function resolveEventRegistrationScopedEvents(events, context) {
|
|
88447
|
+
return applyEventRegistrationScope(events, resolveEventRegistrationScope(context));
|
|
88448
|
+
}
|
|
88372
88449
|
//#endregion
|
|
88373
88450
|
//#region ../blocks/src/system/blocks/courses/shared/schemas.ts
|
|
88374
88451
|
/**
|
|
@@ -109558,83 +109635,6 @@ const checkoutBlockDefinition = {
|
|
|
109558
109635
|
}),
|
|
109559
109636
|
runtime: checkoutBlockRuntime
|
|
109560
109637
|
};
|
|
109561
|
-
const unsupportedEventRegistrationPageSurfaceSubjectSchema = z$1.object({
|
|
109562
|
-
kind: z$1.literal("unsupported"),
|
|
109563
|
-
reason: z$1.enum([
|
|
109564
|
-
"unsupportedSubject",
|
|
109565
|
-
"invalidEventSeriesId",
|
|
109566
|
-
"invalidEventOfferingId"
|
|
109567
|
-
])
|
|
109568
|
-
});
|
|
109569
|
-
const eventRegistrationPageSurfaceSubjectSchema = z$1.unknown().transform((value, ctx) => {
|
|
109570
|
-
const unsupported = unsupportedEventRegistrationPageSurfaceSubjectSchema.safeParse(value);
|
|
109571
|
-
if (unsupported.success) return unsupported.data;
|
|
109572
|
-
const parsed = parseEventPageSurfaceSubject(value);
|
|
109573
|
-
if (parsed.ok) return parsed.value;
|
|
109574
|
-
ctx.addIssue({
|
|
109575
|
-
code: z$1.ZodIssueCode.custom,
|
|
109576
|
-
message: `Invalid event page-surface subject (${parsed.error.kind})`
|
|
109577
|
-
});
|
|
109578
|
-
return z$1.NEVER;
|
|
109579
|
-
});
|
|
109580
|
-
function parseEventRegistrationPageSurfaceSubject(value) {
|
|
109581
|
-
return parseEventPageSurfaceSubject(value);
|
|
109582
|
-
}
|
|
109583
|
-
function normalizeEventRegistrationPageSurfaceSubject(value) {
|
|
109584
|
-
const parsed = parseEventRegistrationPageSurfaceSubject(value);
|
|
109585
|
-
if (parsed.ok) return parsed.value;
|
|
109586
|
-
switch (parsed.error.kind) {
|
|
109587
|
-
case "notObject": return null;
|
|
109588
|
-
case "unsupportedSubject": return {
|
|
109589
|
-
kind: "unsupported",
|
|
109590
|
-
reason: "unsupportedSubject"
|
|
109591
|
-
};
|
|
109592
|
-
case "invalidEventSeriesId": return {
|
|
109593
|
-
kind: "unsupported",
|
|
109594
|
-
reason: "invalidEventSeriesId"
|
|
109595
|
-
};
|
|
109596
|
-
case "invalidEventOfferingId": return {
|
|
109597
|
-
kind: "unsupported",
|
|
109598
|
-
reason: "invalidEventOfferingId"
|
|
109599
|
-
};
|
|
109600
|
-
}
|
|
109601
|
-
}
|
|
109602
|
-
function resolveEventRegistrationScope(context) {
|
|
109603
|
-
const occurrenceSeriesId = context.occurrenceContext?.seriesId;
|
|
109604
|
-
if (occurrenceSeriesId) return {
|
|
109605
|
-
kind: "occurrenceSeries",
|
|
109606
|
-
seriesId: occurrenceSeriesId
|
|
109607
|
-
};
|
|
109608
|
-
if (context.subject?.kind === "eventSeries") return {
|
|
109609
|
-
kind: "pageSurfaceSeries",
|
|
109610
|
-
seriesId: context.subject.eventSeriesId
|
|
109611
|
-
};
|
|
109612
|
-
if (context.subject?.kind === "eventOffering") return {
|
|
109613
|
-
kind: "pageSurfaceOffering",
|
|
109614
|
-
offeringId: context.subject.eventOfferingId,
|
|
109615
|
-
seriesIds: context.subject.availableEventSeriesIds
|
|
109616
|
-
};
|
|
109617
|
-
if (context.subject?.kind === "unsupported") return {
|
|
109618
|
-
kind: "unsupportedPageSurfaceSubject",
|
|
109619
|
-
reason: context.subject.reason
|
|
109620
|
-
};
|
|
109621
|
-
return { kind: "unscoped" };
|
|
109622
|
-
}
|
|
109623
|
-
function applyEventRegistrationScope(events, scope) {
|
|
109624
|
-
switch (scope.kind) {
|
|
109625
|
-
case "occurrenceSeries":
|
|
109626
|
-
case "pageSurfaceSeries": return events.filter((event) => event.seriesId === scope.seriesId);
|
|
109627
|
-
case "pageSurfaceOffering": {
|
|
109628
|
-
const seriesIds = new Set(scope.seriesIds);
|
|
109629
|
-
return events.filter((event) => seriesIds.has(event.seriesId));
|
|
109630
|
-
}
|
|
109631
|
-
case "unsupportedPageSurfaceSubject": return [];
|
|
109632
|
-
case "unscoped": return [...events];
|
|
109633
|
-
}
|
|
109634
|
-
}
|
|
109635
|
-
function resolveEventRegistrationScopedEvents(events, context) {
|
|
109636
|
-
return applyEventRegistrationScope(events, resolveEventRegistrationScope(context));
|
|
109637
|
-
}
|
|
109638
109638
|
//#endregion
|
|
109639
109639
|
//#region ../blocks/src/system/runtime/nodes/course-registration.interactive.ts
|
|
109640
109640
|
const courseRegistrationSourceSchema = z$1.object({
|
|
@@ -119830,6 +119830,10 @@ const eventDetailsManifest = createBlockManifest({
|
|
|
119830
119830
|
from: "$root.occurrenceContext",
|
|
119831
119831
|
fallback: null
|
|
119832
119832
|
} },
|
|
119833
|
+
subject: { $bind: {
|
|
119834
|
+
from: "$root.subject",
|
|
119835
|
+
fallback: null
|
|
119836
|
+
} },
|
|
119833
119837
|
events: { $bind: { from: "data.eventDetailsData.events" } },
|
|
119834
119838
|
showVenue: { $bind: { from: "content.showVenue" } },
|
|
119835
119839
|
showMap: { $bind: { from: "content.showMap" } },
|
|
@@ -195847,4 +195851,4 @@ function useSiteChromeCustomizeOptional() {
|
|
|
195847
195851
|
return useContext(SiteChromeCustomizeContext);
|
|
195848
195852
|
}
|
|
195849
195853
|
//#endregion
|
|
195850
|
-
export { beginAutosaveBatch as $, getLocalDateKey as $a, toScheduledBookingDateTime as $c, curatedPalettes as $i, layoutTransforms as $n, renderAudio as $o, parseStoredCommerceCartState as $r, SearchInput as $s, redoHistory as $t, deriveStyleConfiguratorCapabilities as A, el as Aa, createCollection as Ac, componentRuntimeRulesForTheme as Ai, Redo2 as Al, DEFAULT_LAUNCH_READINESS_INPUT as An, isInlineTextEmpty as Ao, giftingBlockDefinition as Ar, mergeStyles as As, MediaField as At, previewButtonStyle as B, formatEventCompactDateRail as Ba, parseFooterModuleId as Bc, parseGradientPresetId as Bi, GripVertical as Bl, escapeStyleContent as Bn, ClockIcon as Bo, buildProductDetailInteractiveIslandProps as Br, unmapValueFromSelect as Bs, BlockEditor as Bt, usePreviewThemeOverlay as C, eventCollectionHydrationSchema as Ca, DropdownMenuContent as Cc, resolveBackgroundColorValue as Ci, Ticket as Cl, MediaEditorContextProvider as Cn, parseGeneratedIconSetId as Co, findPreSelectedEvent as Cr, pageDesignEditorBackgroundOverrideOwner as Cs, InlineTextField as Ct, committedPaletteForSnapshot as D, normalizeCsvIds as Da, DropdownMenuTrigger as Dc, retargetCompiledBoundaryRuntimeForContentAdjacency as Di, Smartphone as Dl, getPageDesignEditorState as Dn, logger$1 as Do, WIZARD_STEPS as Dr, normalizeBoxStylesCardVariant as Ds, ButtonVariantField as Dt, cancelPreview as E, getEventRuntimeFiltersKey as Ea, DropdownMenuSeparator as Ec, compileEditorModelRuntime as Ei, Sparkles as El, applyPageDesignEditorAction as En, isRecord$10 as Eo, resolveRegistrationTarget as Er, ICON_CONFIG as Es, EntryPickerWidgetProvider as Et, markApplySaving as F, eventCalendarListLayoutOptions as Fa, Button$1 as Fc, findFooterLook as Fi, Monitor as Fl, containerResponsiveThemeCss as Fn, ArrowDownIcon as Fo, resolveEventRegistrationScopedEvents as Fr, SdkConfigProvider as Fs, RichTextWidgetProvider as Ft, previewSitePalette as G, formatTime as Ga, formatBookingDateTime as Gc, getHeaderLayout as Gi, CircleMinus as Gl, siteFooterManifest as Gn, FileTextIcon as Go, buildProductCardDisplay as Gr, TooltipTrigger as Gs, classifyHistoryShortcut as Gt, previewFooterLook as H, formatEventPrice as Ha, unsafeAsEditorBlockValues as Hc, sectionTransitionFamilies as Hi, EllipsisVertical as Hl, generateDefaultAccordionSystem as Hn, FileArchiveIcon as Ho, buildShopInteractiveIslandProps as Hr, useField as Hs, prepareBlockEditorManifest as Ht, openRow as I, buildGoogleMapsDirectionsUrl as Ia, cva as Ic, gradientToCss as Ii, Minus as Il, createCustomBlockRegistry as In, ArrowRightIcon as Io, checkoutBlockDefinition as Ir, useSdkConfig as Is, EditorProvider as It, resetTypographyToSaved as J, groupEventsByDate as Ja, formatLocalScheduleDate as Jc, backgroundAppearanceColorTokenNames as Ji, ChevronDown as Jl, SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR as Jn, ImagePresets as Jo, formatInterval as Jr, SelectItem as Js, useOptionalEditorUiStoreInstance as Jt, previewSiteStyle as K, getCardOrientation as Ka, formatBookingInstant as Kc, getHeaderStyle as Ki, ChevronRight as Kl, siteHeaderManifest as Kn, MinusIcon as Ko, buildProductDetailDisplay as Kr, Select$1 as Ks, useEditorUiStore as Kt, paletteMutationCapability as L, normalizeLocationMapProps as La, useComposedRefs as Lc, GRADIENT_PRESETS as Li, Maximize2 as Ll, buildThemeRuntime as Ln, ChevronDownIcon as Lo, cartBlockDefinition as Lr, hasEmptyOption as Ls, useEditor$1 as Lt, isPreviewingChange as M, bindingSchema as Ma, createContextScope as Mc, designRuntimeRulesForTheme as Mi, Pencil as Ml, AMBIENT_BACKGROUND_ROLES as Mn, canonicalizePersistedBlockButtonRole as Mo, courseRegistrationBlockDefinition as Mr, textColorStyle as Ms, ReferenceWidgetProvider as Mt, markApplyFailed as N, previewStageSchema as Na, composeEventHandlers as Nc, getCuratedSiteStyle as Ni, PenLine as Nl, isSupportedLoaderEndpoint as Nn, isBlockButtonRole as No, buildCourseRegistrationInteractiveIslandProps as Nr, getFieldIntent as Ns, useRichTextImagePicker as Nt, createPalette as O, normalizeCsvString as Oa, useId$1 as Oc, retargetCompiledRuntimeFieldsForContentAdjacency as Oi, SlidersHorizontal as Ol, listEntryPageContentSlots as On, coerceInlineTextWithFallback as Oo, getStepNumber as Or, normalizeCardVariantRole as Os, ButtonWidgetProvider as Ot, markApplySaved as P, eventCalendarListLayoutCompatibleDisplayModeValues as Pa, Primitive as Pc, surfaceResolutionContextFromTheme as Pi, Palette as Pl, ThemeScope as Pn, getIconComponent as Po, normalizeEventRegistrationPageSurfaceSubject as Pr, isHeaderField as Ps, RichTextField as Pt, toggleRow as Q, getEventAvailabilityStatus as Qa, toBookingTimeZone as Qc, defaultThemeTokens as Qi, mediaTransforms as Qn, getCurrentResolveImageUrlContext as Qo, deriveCommerceCheckoutState as Qr, CalloutDescription as Qs, pushHistoryEntry as Qt, palettePreviewProjection as R, toLocationMapHydrationProps as Ra, cn$2 as Rc, GRADIENT_PRESET_IDS as Ri, LoaderCircle as Rl, DEFAULT_THEME_RESPONSIVE_MODE as Rn, CircleMinusIcon as Ro, buildCartInteractiveIslandProps as Rr, mapCurrentValueForSelect as Rs, LinkField as Rt, PreviewThemeOverlayProvider as S, eventCollectionDisplaySchemaShape as Sa, DropdownMenu as Sc, resolveSurfaceForegroundStyles as Si, TriangleAlert as Sl, MediaEditor as Sn, parseGeneratedIconAssetId as So, findEventByOccurrenceId as Sr, isThemeV2NormalEditorRawStyleFieldName as Ss, OfferingsPreviewWidgetProvider as St, applyTypographyDraftPatch as T, buildEventRuntimeFilters as Ta, DropdownMenuLabel as Tc, applyCompiledRuntimeFieldsToContent as Ti, Star as Tl, useApiMediaUploader as Tn, isObjectRecord$1 as To, resolveEventRequiresPayment as Tr, assertNever$8 as Ts, EntryPickerField as Tt, previewHeaderLayout as U, formatEventPriceDisplay as Ua, addLocalScheduleDays as Uc, sectionTransitionFamilyForBoundaryOptionId as Ui, CreditCard as Ul, getBlockDefinition as Un, FileAudioIcon as Uo, getShopDisplayForItems as Ur, Tooltip as Us, stripTopLevelRoutingUi as Ut, previewCuratedPalette as V, formatEventDateParts as Va, unsafeAsEditorBlockId as Vc, defaultSectionTransitionVariantForFamily as Vi, Eye as Vl, mergeContentWithBlockStyleOverrides as Vn, DownloadIcon as Vo, buildProductListInteractiveIslandProps as Vr, FieldFrame as Vs, hideThemeV2RawStyleFields as Vt, previewHeaderStyle as W, formatEventTeacherLine as Wa, formatBookingDate as Wc, sectionTransitionVariantForBoundaryOptionId as Wi, CirclePlus as Wl, projectRecurringSchedule as Wn, FileSpreadsheetIcon as Wo, buildCartDisplay as Wr, TooltipContent as Ws, getBlockManifestFromSdkConfig as Wt, styleConfiguratorHistoryEntryForPersistedSelection as X, resolveEventLinkProps as Xa, parseBookingLocalDate as Xc, foregroundTokenForBackgroundAppearanceColorToken as Xi, ArrowDown as Xl, visibleHeaderClearancePx as Xn, buildResolveImageUrlContext as Xo, buildPassCartItem as Xr, SelectValue as Xs, canUndoHistory as Xt, setPaletteColors as Y, resolveEventCta as Ya, getBookingLocalDateKey as Yc, backgroundAppearanceQuickColorTokenNames as Yi, Check as Yl, planSiteOverlayHeaderClearance as Yn, MediaPlaceholder as Yo, EMPTY_COMMERCE_CART_STATE as Yr, SelectTrigger as Ys, canRedoHistory as Yt, syncStyleConfiguratorState as Z, getEventAvailability as Za, resolveBookingTimeZoneId as Zc, parseBackgroundAppearanceColorToken as Zi, __exportAll as Zl, contentTransforms as Zn, computeMediaTransformStyle as Zo, buildProductCartItem as Zr, Callout as Zs, createHistoryState as Zt, planSiteChromeLookSelection as _, isSemanticSpacing as _a, Content$1 as _c, bodyCopyFragment as _i, err as _l, createManifestFormAdapter as _n, resolveFeatureCardGeneratedIconSizePx as _o, formBlockDefinition as _r, parseThemeForPersistence as _s, createSiteOptionApiLoader as _t, previewDesignHistoryDomainForCommand as a, createTransformRegistry as aa, TabsContent as ac, faqAccordionFragment as ai, publicEventScalarPrice as al, createRoutingHelpers as an, defineInteractiveIslandMetaKeys as ao, NAV_DROPDOWN_SHIFT_PROPERTY as ar, SECTION_BACKGROUND_MIN_SOURCE_WIDTH as as, createOptimisticActionRunner as at, PreviewDesignCoordinatorProvider as b, buildEventCollectionHydration as ba, createCollapsibleScope as bc, getAnchorClasses as bi, Upload as bl, evaluateVisibility as bn, parseBlockIconValue as bo, buildEventRegistrationInteractiveIslandProps as br, resolveOnColorForThemeToken as bs, SiteOptionWidgetProvider as bt, selectionSnapshotFromApplySiteStyleSelectionResponse as c, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as ca, Dialog as cc, singleButtonFragment as ci, assertNever$9 as cl, isAdapterReferenceKind as cn, defineProgressiveBlockRuntime as co, productDetailBlockDefinition as cr, siblingPath$1 as cs, PreviewRichTextEditor as ct, PREVIEW_DESIGN_REFRESH_ERROR_MESSAGE as d, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as da, DialogFooter as dc, testimonialsCarouselFragment as di, parseSiteId as dl, resolvePageRouteSlug as dn, markEditableSurfaceForwarding as do, eventListingBlockDefinition as dr, resolveButtonStyleSelection as ds, ContentFieldsForm as dt, findCuratedPalette as ea, Popover as ec, productItemKey as ei, parseEventPageSurfaceSubject as el, undoHistory as en, getLocalMinuteOfDay as eo, uiTransforms as er, renderVideo as es, confirmAutosaveBatch as et, PREVIEW_DESIGN_SAVE_ERROR_MESSAGE as f, buildOfferingsPreviewRenderStates as fa, DialogHeader as fc, testimonialsHeadingFragment as fi, unsafeAsAppointmentResourceId as fl, resolveContentTitle as fn, splitPositioningClasses as fo, buildEventListingInteractiveIslandProps as fr, updateButtonStyleSelectionChoice as fs, useUISelector as ft, cycleableSiteChromeOptions as g, resolveOfferingsPreviewGroups as ga, CollapsibleTrigger as gc, heroCopyFragment as gi, unsafeAsPassId as gl, ManifestForm as gn, FEATURE_CARD_ICON_TREATMENTS as go, buildEventCalendarListingRender as gr, themeButtonClassName as gs, useEntryEditorController as gt, cycleSiteChromeLookId as h, resolveOfferingsPreviewGroupCta as ha, CollapsibleContent as hc, ctaRowFragment as hi, unsafeAsFormId as hl, validateBlockManifestIssues as hn, mediaSchema as ho, buildEventCalendarListingDisplay as hr, parseThemeButtonVariantId as hs, useEntryController as ht, usePreviewDesignHistoryOrder as i, paletteColorsSchema as ia, Tabs as ic, cardFragment as ii, publicEventPricingType as il, useDebouncedLatestSave as in, createInteractiveIslandCodec as io, useImageResolveContextOptional as ir, setContextResolveImageUrlContext as is, rejectAutosaveBatch as it, dismissWarnings as j, when as ja, useControllableState as jc, curatedSiteStyles as ji, Plus as jl, deriveLaunchReadiness as jn, parseInlineTextFromUnknown as jo, buildGiftingInteractiveIslandProps as jr, rgbColorValue as js, ReferenceField as jt, createStyleConfiguratorState as k, normalizeOptionalId as ka, useDirection as kc, planPageDesignLayoutLookCompatibility as ki, RotateCcw as kl, decodePublicProductCategorySelectorQuery as kn, inlineTextToPlainText as ko, getWizardStepsForContext as kr, backgroundColorStyle as ks, FileField as kt, resolveStyleConfiguratorInitialSnapshot as l, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as la, DialogContent as lc, formEmbedFragment as li, expectParsedBrandedId as ll, parseReferenceKind as ln, EDITABLE_SURFACE_FORWARDING_PROP as lo, newsletterSignupBlockDefinition as lr, buttonStyleSelectionParameterValue as ls, PreviewInlineTextEditor as lt, buildSiteChromeLookModels as m, resolveOfferingsPreviewCoursePath as ma, Collapsible as mc, heroCtaRowFragment as mi, unsafeAsCustomerPassId as ml, usePalette as mn, PUBLIC_DOWNLOAD_MEDIA_TYPES as mo, buildEventCalendarInteractiveIslandProps as mr, AFFORDANCE_SUPPRESS_CLASS as ms, EntryControllerProvider as mt, useSiteChromeCustomizeOptional as n, paletteColorEntries as na, PopoverTrigger as nc, richTextFragment as ni, publicEventPricingCurrency as nl, recordsEqual as nn, blockBookingPaymentTermsSchema as no, createManifestValidator as nr, resolveMediaNodeResponsiveImage as ns, enqueueTransaction as nt, selectPreviewDesignHistoryDomain as o, runTransforms as oa, TabsList as oc, faqHeadingFragment as oi, publicEventTicketTypes as ol, createSnapshotFromPageRecord as on, createZodCodec as oo, shopBlockDefinition as or, attachRenderableMediaAssetFields as os, resolvePreviewSidebarTab as ot, reportPreviewDesignError as p, normalizeOfferingsPreviewItemLimit as pa, DialogTitle as pc, ctaCopyFragment as pi, unsafeAsAppointmentServiceId as pl, PaletteProvider as pn, planSiteChromePlacement as po, eventCalendarBlockDefinition as pr, buttonStyleSelectionKey as ps, EditableBlockProvider as pt, reconcilePaletteLibraryActive as q, getContainerClass as qa, formatBookingTime as qc, BACKGROUND_BODY_TEXT_MIN_CONTRAST_RATIO as qi, ChevronLeft as ql, SITE_CHROME_VISIBLE_HEADER_SELECTOR as qn, PlusIcon as qo, formatCommercePrice as qr, SelectContent as qs, useEditorUiStoreInstance as qt, PreviewDesignHistoryOrderProvider as r, paletteColorsEqual as ra, Input as rc, headingFragment as ri, publicEventPricingMode as rl, useMultiAutosave as rn, buildInteractiveIslandProps as ro, ImageResolveContextProvider as rr, resolveMediaStorageUrl as rs, idleEditorTransactionQueueState as rt, buildApplySiteStyleSelectionBody as s, ctaButton as sa, TabsTrigger as sc, blogFeaturedPostFragment as si, formatCurrencyAmount as sl, BUILT_IN_REFERENCE_KINDS as sn, defineClientOwnedBlockRuntime as so, productListBlockDefinition as sr, getAtPath as ss, FooterComposerPanel as st, SiteChromeCustomizeProvider as t, buildPaletteLibraryReadModel as ta, PopoverContent as tc, reduceCommerceCart as ti, formatBookingPriceDisplay as tl, unsafeAsLinkedContentEntryId as tn, resolveRuntimeEventPricing as to, formattingTransforms as tr, resolveImageUrlWithContext as ts, deriveTransactionCapabilities as tt, PREVIEW_DESIGN_LOAD_ERROR_MESSAGE as u, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as ua, DialogDescription as uc, formCopyFragment as ui, parseMediaAssetId as ul, deriveRouteMetadataPresentation as un, composeHeaderSectionWrapperClassName as uo, buildNewsletterFormInteractiveIslandProps as ur, findButtonStyleRecipe as us, PreviewTextEditor as ut, deriveSiteStylePreviewUpdate as v, resolveSpacing as va, Root$3 as vc, defineFragment as vi, ok$1 as vl, createManifestValidation as vn, shouldReserveFeatureCardIconZone as vo, buildFormInteractiveIslandProps as vr, getTextColorForBackground as vs, createSiteOptionWidgetAdapters as vt, applyResolvedSelections as w, eventCollectionSourceSchemaShape as wa, DropdownMenuItem as wc, formatSiteChromeBackgroundTokenLabel as wi, Tablet as wl, useMediaEditorOptional as wn, RichTextDocSchema as wo, resolveDiscountContext as wr, asDesignBlockId as ws, IconPickerField as wt, usePreviewDesignCoordinator as x, buildEventCollectionListingDisplay as xa, Surface as xc, boxStylesTransforms as xi, Undo2 as xl, createStoreBackend as xn, resolveBlockIconRenderValue as xo, toRegistrationEvents as xr, resolveTokenOrCssColorValue as xs, OfferingsPreviewGroupOrderField as xt, planSiteStylePreviewChange as y, buildEventCollectionDisplay as ya, Trigger$3 as yc, BACKGROUND_POSITION_PRESET_VALUES as yi, X as yl, FormRenderer as yn, buildGeneratedBlockIconRenderAssetLookupFromUnknown as yo, eventRegistrationBlockDefinition as yr, isCssColorLiteral as ys, SiteOptionPickerField as yt, prepareStalePaletteRetry as z, formatDate as za, clsx as zc, getGradientPreset as zi, Image as zl, getResponsiveScopeSpec as zn, CirclePlusIcon as zo, buildCheckoutInteractiveIslandProps as zr, mapOptionValueForSelect as zs, LinkWidgetProvider as zt };
|
|
195854
|
+
export { beginAutosaveBatch as $, resolveRuntimeEventPricing as $a, toScheduledBookingDateTime as $c, buildPaletteLibraryReadModel as $i, layoutTransforms as $n, renderAudio as $o, reduceCommerceCart as $r, SearchInput as $s, redoHistory as $t, deriveStyleConfiguratorCapabilities as A, bindingSchema as Aa, createCollection as Ac, designRuntimeRulesForTheme as Ai, Redo2 as Al, DEFAULT_LAUNCH_READINESS_INPUT as An, isInlineTextEmpty as Ao, giftingBlockDefinition as Ar, mergeStyles as As, MediaField as At, previewButtonStyle as B, formatEventPrice as Ba, parseFooterModuleId as Bc, sectionTransitionFamilies as Bi, GripVertical as Bl, escapeStyleContent as Bn, ClockIcon as Bo, buildShopInteractiveIslandProps as Br, unmapValueFromSelect as Bs, BlockEditor as Bt, usePreviewThemeOverlay as C, buildEventRuntimeFilters as Ca, DropdownMenuContent as Cc, applyCompiledRuntimeFieldsToContent as Ci, Ticket as Cl, MediaEditorContextProvider as Cn, parseGeneratedIconSetId as Co, findPreSelectedEvent as Cr, pageDesignEditorBackgroundOverrideOwner as Cs, InlineTextField as Ct, committedPaletteForSnapshot as D, normalizeOptionalId as Da, DropdownMenuTrigger as Dc, planPageDesignLayoutLookCompatibility as Di, Smartphone as Dl, getPageDesignEditorState as Dn, logger$1 as Do, WIZARD_STEPS as Dr, normalizeBoxStylesCardVariant as Ds, ButtonVariantField as Dt, cancelPreview as E, normalizeCsvString as Ea, DropdownMenuSeparator as Ec, retargetCompiledRuntimeFieldsForContentAdjacency as Ei, Sparkles as El, applyPageDesignEditorAction as En, isRecord$10 as Eo, resolveRegistrationTarget as Er, ICON_CONFIG as Es, EntryPickerWidgetProvider as Et, markApplySaving as F, normalizeLocationMapProps as Fa, Button$1 as Fc, GRADIENT_PRESETS as Fi, Monitor as Fl, containerResponsiveThemeCss as Fn, ArrowDownIcon as Fo, cartBlockDefinition as Fr, SdkConfigProvider as Fs, RichTextWidgetProvider as Ft, previewSitePalette as G, getContainerClass as Ga, formatBookingDateTime as Gc, BACKGROUND_BODY_TEXT_MIN_CONTRAST_RATIO as Gi, CircleMinus as Gl, siteFooterManifest as Gn, FileTextIcon as Go, formatCommercePrice as Gr, TooltipTrigger as Gs, classifyHistoryShortcut as Gt, previewFooterLook as H, formatEventTeacherLine as Ha, unsafeAsEditorBlockValues as Hc, sectionTransitionVariantForBoundaryOptionId as Hi, EllipsisVertical as Hl, generateDefaultAccordionSystem as Hn, FileArchiveIcon as Ho, buildCartDisplay as Hr, useField as Hs, prepareBlockEditorManifest as Ht, openRow as I, toLocationMapHydrationProps as Ia, cva as Ic, GRADIENT_PRESET_IDS as Ii, Minus as Il, createCustomBlockRegistry as In, ArrowRightIcon as Io, buildCartInteractiveIslandProps as Ir, useSdkConfig as Is, EditorProvider as It, resetTypographyToSaved as J, resolveEventLinkProps as Ja, formatLocalScheduleDate as Jc, foregroundTokenForBackgroundAppearanceColorToken as Ji, ChevronDown as Jl, SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR as Jn, ImagePresets as Jo, buildPassCartItem as Jr, SelectItem as Js, useOptionalEditorUiStoreInstance as Jt, previewSiteStyle as K, groupEventsByDate as Ka, formatBookingInstant as Kc, backgroundAppearanceColorTokenNames as Ki, ChevronRight as Kl, siteHeaderManifest as Kn, MinusIcon as Ko, formatInterval as Kr, Select$1 as Ks, useEditorUiStore as Kt, paletteMutationCapability as L, formatDate as La, useComposedRefs as Lc, getGradientPreset as Li, Maximize2 as Ll, buildThemeRuntime as Ln, ChevronDownIcon as Lo, buildCheckoutInteractiveIslandProps as Lr, hasEmptyOption as Ls, useEditor$1 as Lt, isPreviewingChange as M, eventCalendarListLayoutCompatibleDisplayModeValues as Ma, createContextScope as Mc, surfaceResolutionContextFromTheme as Mi, Pencil as Ml, AMBIENT_BACKGROUND_ROLES as Mn, canonicalizePersistedBlockButtonRole as Mo, courseRegistrationBlockDefinition as Mr, textColorStyle as Ms, ReferenceWidgetProvider as Mt, markApplyFailed as N, eventCalendarListLayoutOptions as Na, composeEventHandlers as Nc, findFooterLook as Ni, PenLine as Nl, isSupportedLoaderEndpoint as Nn, isBlockButtonRole as No, buildCourseRegistrationInteractiveIslandProps as Nr, getFieldIntent as Ns, useRichTextImagePicker as Nt, createPalette as O, el as Oa, useId$1 as Oc, componentRuntimeRulesForTheme as Oi, SlidersHorizontal as Ol, listEntryPageContentSlots as On, coerceInlineTextWithFallback as Oo, getStepNumber as Or, normalizeCardVariantRole as Os, ButtonWidgetProvider as Ot, markApplySaved as P, buildGoogleMapsDirectionsUrl as Pa, Primitive as Pc, gradientToCss as Pi, Palette as Pl, ThemeScope as Pn, getIconComponent as Po, checkoutBlockDefinition as Pr, isHeaderField as Ps, RichTextField as Pt, toggleRow as Q, getLocalMinuteOfDay as Qa, toBookingTimeZone as Qc, findCuratedPalette as Qi, mediaTransforms as Qn, getCurrentResolveImageUrlContext as Qo, productItemKey as Qr, CalloutDescription as Qs, pushHistoryEntry as Qt, palettePreviewProjection as R, formatEventCompactDateRail as Ra, cn$2 as Rc, parseGradientPresetId as Ri, LoaderCircle as Rl, DEFAULT_THEME_RESPONSIVE_MODE as Rn, CircleMinusIcon as Ro, buildProductDetailInteractiveIslandProps as Rr, mapCurrentValueForSelect as Rs, LinkField as Rt, PreviewThemeOverlayProvider as S, eventCollectionSourceSchemaShape as Sa, DropdownMenu as Sc, formatSiteChromeBackgroundTokenLabel as Si, TriangleAlert as Sl, MediaEditor as Sn, parseGeneratedIconAssetId as So, findEventByOccurrenceId as Sr, isThemeV2NormalEditorRawStyleFieldName as Ss, OfferingsPreviewWidgetProvider as St, applyTypographyDraftPatch as T, normalizeCsvIds as Ta, DropdownMenuLabel as Tc, retargetCompiledBoundaryRuntimeForContentAdjacency as Ti, Star as Tl, useApiMediaUploader as Tn, isObjectRecord$1 as To, resolveEventRequiresPayment as Tr, assertNever$8 as Ts, EntryPickerField as Tt, previewHeaderLayout as U, formatTime as Ua, addLocalScheduleDays as Uc, getHeaderLayout as Ui, CreditCard as Ul, getBlockDefinition as Un, FileAudioIcon as Uo, buildProductCardDisplay as Ur, Tooltip as Us, stripTopLevelRoutingUi as Ut, previewCuratedPalette as V, formatEventPriceDisplay as Va, unsafeAsEditorBlockId as Vc, sectionTransitionFamilyForBoundaryOptionId as Vi, Eye as Vl, mergeContentWithBlockStyleOverrides as Vn, DownloadIcon as Vo, getShopDisplayForItems as Vr, FieldFrame as Vs, hideThemeV2RawStyleFields as Vt, previewHeaderStyle as W, getCardOrientation as Wa, formatBookingDate as Wc, getHeaderStyle as Wi, CirclePlus as Wl, projectRecurringSchedule as Wn, FileSpreadsheetIcon as Wo, buildProductDetailDisplay as Wr, TooltipContent as Ws, getBlockManifestFromSdkConfig as Wt, styleConfiguratorHistoryEntryForPersistedSelection as X, getEventAvailabilityStatus as Xa, parseBookingLocalDate as Xc, defaultThemeTokens as Xi, ArrowDown as Xl, visibleHeaderClearancePx as Xn, buildResolveImageUrlContext as Xo, deriveCommerceCheckoutState as Xr, SelectValue as Xs, canUndoHistory as Xt, setPaletteColors as Y, getEventAvailability as Ya, getBookingLocalDateKey as Yc, parseBackgroundAppearanceColorToken as Yi, Check as Yl, planSiteOverlayHeaderClearance as Yn, MediaPlaceholder as Yo, buildProductCartItem as Yr, SelectTrigger as Ys, canRedoHistory as Yt, syncStyleConfiguratorState as Z, getLocalDateKey as Za, resolveBookingTimeZoneId as Zc, curatedPalettes as Zi, __exportAll as Zl, contentTransforms as Zn, computeMediaTransformStyle as Zo, parseStoredCommerceCartState as Zr, Callout as Zs, createHistoryState as Zt, planSiteChromeLookSelection as _, buildEventCollectionDisplay as _a, Content$1 as _c, BACKGROUND_POSITION_PRESET_VALUES as _i, err as _l, createManifestFormAdapter as _n, resolveFeatureCardGeneratedIconSizePx as _o, formBlockDefinition as _r, parseThemeForPersistence as _s, createSiteOptionApiLoader as _t, previewDesignHistoryDomainForCommand as a, ctaButton as aa, TabsContent as ac, blogFeaturedPostFragment as ai, publicEventScalarPrice as al, createRoutingHelpers as an, defineInteractiveIslandMetaKeys as ao, NAV_DROPDOWN_SHIFT_PROPERTY as ar, SECTION_BACKGROUND_MIN_SOURCE_WIDTH as as, createOptimisticActionRunner as at, PreviewDesignCoordinatorProvider as b, eventCollectionDisplaySchemaShape as ba, createCollapsibleScope as bc, resolveSurfaceForegroundStyles as bi, Upload as bl, evaluateVisibility as bn, parseBlockIconValue as bo, buildEventRegistrationInteractiveIslandProps as br, resolveOnColorForThemeToken as bs, SiteOptionWidgetProvider as bt, selectionSnapshotFromApplySiteStyleSelectionResponse as c, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as ca, Dialog as cc, formCopyFragment as ci, assertNever$9 as cl, isAdapterReferenceKind as cn, defineProgressiveBlockRuntime as co, productDetailBlockDefinition as cr, siblingPath$1 as cs, PreviewRichTextEditor as ct, PREVIEW_DESIGN_REFRESH_ERROR_MESSAGE as d, normalizeOfferingsPreviewItemLimit as da, DialogFooter as dc, ctaCopyFragment as di, parseSiteId as dl, resolvePageRouteSlug as dn, markEditableSurfaceForwarding as do, eventListingBlockDefinition as dr, resolveButtonStyleSelection as ds, ContentFieldsForm as dt, paletteColorEntries as ea, Popover as ec, richTextFragment as ei, parseEventPageSurfaceSubject as el, undoHistory as en, normalizeEventRegistrationPageSurfaceSubject as eo, uiTransforms as er, renderVideo as es, confirmAutosaveBatch as et, PREVIEW_DESIGN_SAVE_ERROR_MESSAGE as f, resolveOfferingsPreviewCoursePath as fa, DialogHeader as fc, heroCtaRowFragment as fi, unsafeAsAppointmentResourceId as fl, resolveContentTitle as fn, splitPositioningClasses as fo, buildEventListingInteractiveIslandProps as fr, updateButtonStyleSelectionChoice as fs, useUISelector as ft, cycleableSiteChromeOptions as g, resolveSpacing as ga, CollapsibleTrigger as gc, defineFragment as gi, unsafeAsPassId as gl, ManifestForm as gn, FEATURE_CARD_ICON_TREATMENTS as go, buildEventCalendarListingRender as gr, themeButtonClassName as gs, useEntryEditorController as gt, cycleSiteChromeLookId as h, isSemanticSpacing as ha, CollapsibleContent as hc, bodyCopyFragment as hi, unsafeAsFormId as hl, validateBlockManifestIssues as hn, mediaSchema as ho, buildEventCalendarListingDisplay as hr, parseThemeButtonVariantId as hs, useEntryController as ht, usePreviewDesignHistoryOrder as i, runTransforms as ia, Tabs as ic, faqHeadingFragment as ii, publicEventPricingType as il, useDebouncedLatestSave as in, createInteractiveIslandCodec as io, useImageResolveContextOptional as ir, setContextResolveImageUrlContext as is, rejectAutosaveBatch as it, dismissWarnings as j, previewStageSchema as ja, useControllableState as jc, getCuratedSiteStyle as ji, Plus as jl, deriveLaunchReadiness as jn, parseInlineTextFromUnknown as jo, buildGiftingInteractiveIslandProps as jr, rgbColorValue as js, ReferenceField as jt, createStyleConfiguratorState as k, when as ka, useDirection as kc, curatedSiteStyles as ki, RotateCcw as kl, decodePublicProductCategorySelectorQuery as kn, inlineTextToPlainText as ko, getWizardStepsForContext as kr, backgroundColorStyle as ks, FileField as kt, resolveStyleConfiguratorInitialSnapshot as l, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as la, DialogContent as lc, testimonialsCarouselFragment as li, expectParsedBrandedId as ll, parseReferenceKind as ln, EDITABLE_SURFACE_FORWARDING_PROP as lo, newsletterSignupBlockDefinition as lr, buttonStyleSelectionParameterValue as ls, PreviewInlineTextEditor as lt, buildSiteChromeLookModels as m, resolveOfferingsPreviewGroups as ma, Collapsible as mc, heroCopyFragment as mi, unsafeAsCustomerPassId as ml, usePalette as mn, PUBLIC_DOWNLOAD_MEDIA_TYPES as mo, buildEventCalendarInteractiveIslandProps as mr, AFFORDANCE_SUPPRESS_CLASS as ms, EntryControllerProvider as mt, useSiteChromeCustomizeOptional as n, paletteColorsSchema as na, PopoverTrigger as nc, cardFragment as ni, publicEventPricingCurrency as nl, recordsEqual as nn, blockBookingPaymentTermsSchema as no, createManifestValidator as nr, resolveMediaNodeResponsiveImage as ns, enqueueTransaction as nt, selectPreviewDesignHistoryDomain as o, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as oa, TabsList as oc, singleButtonFragment as oi, publicEventTicketTypes as ol, createSnapshotFromPageRecord as on, createZodCodec as oo, shopBlockDefinition as or, attachRenderableMediaAssetFields as os, resolvePreviewSidebarTab as ot, reportPreviewDesignError as p, resolveOfferingsPreviewGroupCta as pa, DialogTitle as pc, ctaRowFragment as pi, unsafeAsAppointmentServiceId as pl, PaletteProvider as pn, planSiteChromePlacement as po, eventCalendarBlockDefinition as pr, buttonStyleSelectionKey as ps, EditableBlockProvider as pt, reconcilePaletteLibraryActive as q, resolveEventCta as qa, formatBookingTime as qc, backgroundAppearanceQuickColorTokenNames as qi, ChevronLeft as ql, SITE_CHROME_VISIBLE_HEADER_SELECTOR as qn, PlusIcon as qo, EMPTY_COMMERCE_CART_STATE as qr, SelectContent as qs, useEditorUiStoreInstance as qt, PreviewDesignHistoryOrderProvider as r, createTransformRegistry as ra, Input as rc, faqAccordionFragment as ri, publicEventPricingMode as rl, useMultiAutosave as rn, buildInteractiveIslandProps as ro, ImageResolveContextProvider as rr, resolveMediaStorageUrl as rs, idleEditorTransactionQueueState as rt, buildApplySiteStyleSelectionBody as s, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as sa, TabsTrigger as sc, formEmbedFragment as si, formatCurrencyAmount as sl, BUILT_IN_REFERENCE_KINDS as sn, defineClientOwnedBlockRuntime as so, productListBlockDefinition as sr, getAtPath as ss, FooterComposerPanel as st, SiteChromeCustomizeProvider as t, paletteColorsEqual as ta, PopoverContent as tc, headingFragment as ti, formatBookingPriceDisplay as tl, unsafeAsLinkedContentEntryId as tn, resolveEventRegistrationScopedEvents as to, formattingTransforms as tr, resolveImageUrlWithContext as ts, deriveTransactionCapabilities as tt, PREVIEW_DESIGN_LOAD_ERROR_MESSAGE as u, buildOfferingsPreviewRenderStates as ua, DialogDescription as uc, testimonialsHeadingFragment as ui, parseMediaAssetId as ul, deriveRouteMetadataPresentation as un, composeHeaderSectionWrapperClassName as uo, buildNewsletterFormInteractiveIslandProps as ur, findButtonStyleRecipe as us, PreviewTextEditor as ut, deriveSiteStylePreviewUpdate as v, buildEventCollectionHydration as va, Root$3 as vc, getAnchorClasses as vi, ok$1 as vl, createManifestValidation as vn, shouldReserveFeatureCardIconZone as vo, buildFormInteractiveIslandProps as vr, getTextColorForBackground as vs, createSiteOptionWidgetAdapters as vt, applyResolvedSelections as w, getEventRuntimeFiltersKey as wa, DropdownMenuItem as wc, compileEditorModelRuntime as wi, Tablet as wl, useMediaEditorOptional as wn, RichTextDocSchema as wo, resolveDiscountContext as wr, asDesignBlockId as ws, IconPickerField as wt, usePreviewDesignCoordinator as x, eventCollectionHydrationSchema as xa, Surface as xc, resolveBackgroundColorValue as xi, Undo2 as xl, createStoreBackend as xn, resolveBlockIconRenderValue as xo, toRegistrationEvents as xr, resolveTokenOrCssColorValue as xs, OfferingsPreviewGroupOrderField as xt, planSiteStylePreviewChange as y, buildEventCollectionListingDisplay as ya, Trigger$3 as yc, boxStylesTransforms as yi, X as yl, FormRenderer as yn, buildGeneratedBlockIconRenderAssetLookupFromUnknown as yo, eventRegistrationBlockDefinition as yr, isCssColorLiteral as ys, SiteOptionPickerField as yt, prepareStalePaletteRetry as z, formatEventDateParts as za, clsx as zc, defaultSectionTransitionVariantForFamily as zi, Image as zl, getResponsiveScopeSpec as zn, CirclePlusIcon as zo, buildProductListInteractiveIslandProps as zr, mapOptionValueForSelect as zs, LinkWidgetProvider as zt };
|
|
@@ -5,6 +5,8 @@ import { z } from "zod";
|
|
|
5
5
|
import type { PageRecord } from "./contentRuntime";
|
|
6
6
|
import type { SiteDeploymentMode } from "./siteSettings";
|
|
7
7
|
import type { SiteRole } from "./siteMembers";
|
|
8
|
+
import type { SiteAccessSummary, SitePlanSummaryResponse } from "./siteAccessAdmin";
|
|
9
|
+
export type { SiteAccessSummary, SitePlanSummaryResponse, } from "./siteAccessAdmin";
|
|
8
10
|
/**
|
|
9
11
|
* Access, Domain, and Admin Contracts
|
|
10
12
|
*
|
|
@@ -67,19 +69,6 @@ export type SiteInvitation = {
|
|
|
67
69
|
createdAt: string;
|
|
68
70
|
updatedAt: string;
|
|
69
71
|
};
|
|
70
|
-
export type SiteAccessSummary = {
|
|
71
|
-
membershipRole: SiteRole | null;
|
|
72
|
-
canInvite: boolean;
|
|
73
|
-
canManage: boolean;
|
|
74
|
-
canTransferOwnership: boolean;
|
|
75
|
-
};
|
|
76
|
-
export type SitePlanSummaryResponse = {
|
|
77
|
-
planId: string;
|
|
78
|
-
maxCollaborators: number | null;
|
|
79
|
-
canInviteEditors: boolean;
|
|
80
|
-
canInviteAdmins: boolean;
|
|
81
|
-
currentCollaborators: number;
|
|
82
|
-
};
|
|
83
72
|
export type ListSiteMembersResponse = {
|
|
84
73
|
members: SiteMember[];
|
|
85
74
|
invitations: SiteInvitation[];
|
|
@@ -696,4 +685,3 @@ export type AdminDeletePriceOverrideRequest = {
|
|
|
696
685
|
export type AdminDeletePriceOverrideResponse = {
|
|
697
686
|
success: true;
|
|
698
687
|
};
|
|
699
|
-
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { SiteRole } from './siteMembers';
|
|
2
|
+
export type SiteAccessSummary = {
|
|
3
|
+
membershipRole: SiteRole | null;
|
|
4
|
+
collaboration: 'manage' | 'view_only';
|
|
5
|
+
canTransferOwnership: boolean;
|
|
6
|
+
};
|
|
7
|
+
export type SitePlanSummaryResponse = {
|
|
8
|
+
planId: string;
|
|
9
|
+
websiteCollaboration: {
|
|
10
|
+
kind: 'owner_only' | 'bounded' | 'unlimited';
|
|
11
|
+
assignableRoles: readonly ('editor' | 'administrator')[];
|
|
12
|
+
placeLimit: number | null;
|
|
13
|
+
usage: {
|
|
14
|
+
accepted: number;
|
|
15
|
+
pending: number;
|
|
16
|
+
used: number;
|
|
17
|
+
remaining: number | null;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
operationalStaff: {
|
|
21
|
+
enabled: boolean;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -40,9 +40,29 @@ export declare const BRANDING_TIERS: readonly ["macadamia_visible", "light_custo
|
|
|
40
40
|
export type BrandingTier = (typeof BRANDING_TIERS)[number];
|
|
41
41
|
export declare const TEAM_TIERS: readonly ["owner_only", "multi_practitioner"];
|
|
42
42
|
export type TeamTier = (typeof TEAM_TIERS)[number];
|
|
43
|
-
export declare const
|
|
44
|
-
export type
|
|
45
|
-
export declare const
|
|
43
|
+
export declare const WEBSITE_COLLABORATOR_ROLES: readonly ["editor", "administrator"];
|
|
44
|
+
export type WebsiteCollaboratorRole = (typeof WEBSITE_COLLABORATOR_ROLES)[number];
|
|
45
|
+
export declare const WEBSITE_COLLABORATION_VISITOR_ROLES: readonly ["owner", "administrator", "editor", "team_member"];
|
|
46
|
+
export type WebsiteCollaborationVisitorRole = (typeof WEBSITE_COLLABORATION_VISITOR_ROLES)[number];
|
|
47
|
+
export type WebsiteCollaborationPolicy = Readonly<{
|
|
48
|
+
kind: 'owner_only';
|
|
49
|
+
assignableRoles: readonly [];
|
|
50
|
+
visibilityRoles: readonly ['owner'];
|
|
51
|
+
managementRoles: readonly ['owner'];
|
|
52
|
+
}> | Readonly<{
|
|
53
|
+
kind: 'bounded';
|
|
54
|
+
maxNonOwnerPlaces: 1;
|
|
55
|
+
assignableRoles: readonly ['editor', 'administrator'];
|
|
56
|
+
visibilityRoles: readonly ['owner', 'administrator'];
|
|
57
|
+
managementRoles: readonly ['owner'];
|
|
58
|
+
}> | Readonly<{
|
|
59
|
+
kind: 'unlimited';
|
|
60
|
+
assignableRoles: readonly ['editor', 'administrator'];
|
|
61
|
+
visibilityRoles: readonly ['owner', 'administrator', 'editor'];
|
|
62
|
+
managementRoles: readonly ['owner', 'administrator'];
|
|
63
|
+
}>;
|
|
64
|
+
export type WebsiteCollaborationTier = WebsiteCollaborationPolicy['kind'];
|
|
65
|
+
export declare const PLAN_BOOLEAN_FEATURE_KEYS: readonly ["customDomain", "customContentTypes", "analytics", "passes", "memberships", "discountCodes", "advancedPaymentSchemes", "internalNotes", "multiplePractitioners"];
|
|
46
66
|
export type PlanBooleanFeatureKey = (typeof PLAN_BOOLEAN_FEATURE_KEYS)[number];
|
|
47
67
|
export type StripeBookingCommission = Readonly<{
|
|
48
68
|
kind: 'none';
|
|
@@ -75,15 +95,14 @@ export interface PlanEntitlements {
|
|
|
75
95
|
discountCodes: boolean;
|
|
76
96
|
advancedPaymentSchemes: boolean;
|
|
77
97
|
internalNotes: boolean;
|
|
78
|
-
multipleTeamLogins: boolean;
|
|
79
98
|
multiplePractitioners: boolean;
|
|
99
|
+
websiteCollaboration: WebsiteCollaborationPolicy;
|
|
80
100
|
contentFlexibility: ContentFlexibilityTier;
|
|
81
101
|
forms: FormsTier;
|
|
82
102
|
seo: SeoTier;
|
|
83
103
|
newsletter: NewsletterTier;
|
|
84
104
|
branding: BrandingTier;
|
|
85
105
|
team: TeamTier;
|
|
86
|
-
enabledSiteRoles: readonly SiteRoleEntitlement[];
|
|
87
106
|
}
|
|
88
107
|
export interface PlanDefinition {
|
|
89
108
|
id: BillingPlanId;
|
|
@@ -3,6 +3,7 @@ import { type EventAutoApplyDiscountPreview } from '../system/blocks/event-detai
|
|
|
3
3
|
import type { PublicMembershipProductCollection, PublicPassProductCollection } from '../system/blocks/shop.shared';
|
|
4
4
|
import type { PublicEvent } from '../system/blocks/events/shared/types';
|
|
5
5
|
import type { OccurrenceContextLike } from '../system/runtime/nodes/event-details/logic';
|
|
6
|
+
import { type EventRegistrationPageSurfaceSubject } from '../system/runtime/nodes/event-registration/eventScope';
|
|
6
7
|
import type { LocationMapHydrationProps } from '../system/runtime/nodes/location-map.shared';
|
|
7
8
|
export type AccordionIslandProps = Readonly<{
|
|
8
9
|
type?: 'single' | 'multiple';
|
|
@@ -26,6 +27,7 @@ export type CarouselIslandProps = Readonly<{
|
|
|
26
27
|
export type EventDetailsOccurrenceContext = NonNullable<OccurrenceContextLike>;
|
|
27
28
|
export type EventDetailsIslandProps = Readonly<{
|
|
28
29
|
occurrenceContext?: EventDetailsOccurrenceContext | null;
|
|
30
|
+
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
29
31
|
events?: readonly PublicEvent[] | null;
|
|
30
32
|
showVenue?: boolean;
|
|
31
33
|
showMap?: boolean;
|
|
@@ -88,6 +90,7 @@ export declare const carouselIslandPropsCodec: Readonly<{
|
|
|
88
90
|
export declare const eventDetailsIslandPropsCodec: Readonly<{
|
|
89
91
|
encode: (value: Readonly<{
|
|
90
92
|
occurrenceContext?: EventDetailsOccurrenceContext | null;
|
|
93
|
+
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
91
94
|
events?: readonly PublicEvent[] | null;
|
|
92
95
|
showVenue?: boolean;
|
|
93
96
|
showMap?: boolean;
|
|
@@ -108,6 +111,7 @@ export declare const eventDetailsIslandPropsCodec: Readonly<{
|
|
|
108
111
|
}>) => unknown;
|
|
109
112
|
decode: (input: unknown) => import("./runtime").DecodeResult<Readonly<{
|
|
110
113
|
occurrenceContext?: EventDetailsOccurrenceContext | null;
|
|
114
|
+
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
111
115
|
events?: readonly PublicEvent[] | null;
|
|
112
116
|
showVenue?: boolean;
|
|
113
117
|
showMap?: boolean;
|
|
@@ -1921,6 +1921,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1921
1921
|
readonly 'event-details': Readonly<{
|
|
1922
1922
|
encode: (value: Readonly<{
|
|
1923
1923
|
occurrenceContext?: import("./non-block-islands").EventDetailsOccurrenceContext | null;
|
|
1924
|
+
subject?: import("../system/runtime/nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1924
1925
|
events?: readonly import(".").PublicEvent[] | null;
|
|
1925
1926
|
showVenue?: boolean;
|
|
1926
1927
|
showMap?: boolean;
|
|
@@ -1941,6 +1942,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1941
1942
|
}>) => unknown;
|
|
1942
1943
|
decode: (input: unknown) => import("./runtime").DecodeResult<Readonly<{
|
|
1943
1944
|
occurrenceContext?: import("./non-block-islands").EventDetailsOccurrenceContext | null;
|
|
1945
|
+
subject?: import("../system/runtime/nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1944
1946
|
events?: readonly import(".").PublicEvent[] | null;
|
|
1945
1947
|
showVenue?: boolean;
|
|
1946
1948
|
showMap?: boolean;
|
|
@@ -2467,6 +2467,7 @@ export declare const clientComponentRegistryEntries: {
|
|
|
2467
2467
|
kind: "explicit-adapter";
|
|
2468
2468
|
component: React.ComponentType<Readonly<{
|
|
2469
2469
|
occurrenceContext?: import("../../../contracts").EventDetailsOccurrenceContext | null;
|
|
2470
|
+
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
2470
2471
|
events?: readonly import("../..").PublicEvent[] | null;
|
|
2471
2472
|
showVenue?: boolean;
|
|
2472
2473
|
showMap?: boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { PublicEvent } from '../../../blocks/events/shared/types';
|
|
2
|
+
import { type EventRegistrationPageSurfaceSubject } from '../event-registration/eventScope';
|
|
2
3
|
export { filterPassesForEvent, filterMembershipsForEvent, } from '../events/shared/eventProductEligibility';
|
|
3
4
|
export type OccurrenceContextLike = {
|
|
4
5
|
id: string;
|
|
@@ -16,6 +17,7 @@ export type EventDetailsSelection = {
|
|
|
16
17
|
export declare function selectEventDetails(args: {
|
|
17
18
|
events: PublicEvent[] | null | undefined;
|
|
18
19
|
occurrenceContext: OccurrenceContextLike | null | undefined;
|
|
20
|
+
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
19
21
|
nowIso: string;
|
|
20
22
|
otherDatesLimit: string | number | null | undefined;
|
|
21
23
|
}): EventDetailsSelection;
|
|
@@ -2,10 +2,12 @@ import React from 'react';
|
|
|
2
2
|
import type { EventAutoApplyDiscountPreview } from '../../blocks/event-details';
|
|
3
3
|
import type { EventDetailsIslandProps } from '../../../contracts';
|
|
4
4
|
import type { PublicEvent } from '../../blocks/events/shared/types';
|
|
5
|
+
import type { EventRegistrationPageSurfaceSubject } from './event-registration/eventScope';
|
|
5
6
|
import type { PublicMembershipProductCollection, PublicPassProductCollection } from '../../blocks/shop';
|
|
6
7
|
import { type OccurrenceContextLike } from './event-details/logic';
|
|
7
8
|
export type EventDetailsClientProps = Readonly<{
|
|
8
9
|
occurrenceContext?: OccurrenceContextLike | null;
|
|
10
|
+
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
9
11
|
events?: PublicEvent[] | null;
|
|
10
12
|
showVenue?: boolean;
|
|
11
13
|
showMap?: boolean;
|
|
@@ -25,6 +27,6 @@ export type EventDetailsClientProps = Readonly<{
|
|
|
25
27
|
children?: React.ReactNode;
|
|
26
28
|
}>;
|
|
27
29
|
export type EventDetailsIslandClientProps = EventDetailsIslandProps;
|
|
28
|
-
export declare function EventDetailsClient({ occurrenceContext, events, showVenue, showMap, showOtherDates, otherDatesLimit, showCost, showAcceptedPasses, showAcceptedMemberships, sitePasses, siteMemberships, autoApplyDiscount, className, nowIso, children, }: EventDetailsClientProps): React.JSX.Element;
|
|
30
|
+
export declare function EventDetailsClient({ occurrenceContext, subject, events, showVenue, showMap, showOtherDates, otherDatesLimit, showCost, showAcceptedPasses, showAcceptedMemberships, sitePasses, siteMemberships, autoApplyDiscount, className, nowIso, children, }: EventDetailsClientProps): React.JSX.Element;
|
|
29
31
|
export declare function EventDetailsIslandClient(props: EventDetailsIslandClientProps): React.JSX.Element;
|
|
30
32
|
export default EventDetailsClient;
|