@riverbankcms/sdk 0.169.0 → 0.169.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/{BlocksIslandsHydrator-DpROiz12.d.ts → BlocksIslandsHydrator-DEhlJEwj.d.ts} +1 -1
- package/dist/_dts/{Page-DHBBDRC_.d.ts → Page-BhCfStX1.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-CG7Qib7u.d.ts → SdkPreviewMode-DSYdsdmJ.d.ts} +2 -2
- package/dist/_dts/{client-MURxFla9.d.ts → client-BZMn4Y99.d.ts} +1 -1
- package/dist/_dts/{content-types-ClBGjxBV.d.ts → content-types-EMK-E_r9.d.ts} +2 -2
- package/dist/_dts/{contracts-CHNvzh0y.d.ts → contracts-DjYsGY3B.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-DQM934Fm.d.ts → footerPageOutline-BtYUi-m0.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-ConZaEqB.d.ts → generatePageMetadata-D_fNTi5r.d.ts} +2 -2
- package/dist/_dts/{index-BaDqRekr.d.ts → index-BR0i0c3G.d.ts} +4 -4
- package/dist/_dts/{index-CovKPftP.d.ts → index-BV-qVnt7.d.ts} +2 -2
- package/dist/_dts/{index-rfAssXq0.d.ts → index-BYYhTQ_b.d.ts} +3 -3
- package/dist/_dts/{index-DDaX-K2D.d.ts → index-BzguBJzR.d.ts} +1 -1
- package/dist/_dts/{index-DCw8LO4M.d.ts → index-DgEwZ5WQ.d.ts} +1 -1
- package/dist/_dts/{index-CiR_oPYT.d.ts → index-NaRauKDR.d.ts} +1 -1
- package/dist/_dts/{index-CVB5wgbz.d.ts → index-QIbYMeI7.d.ts} +2 -2
- package/dist/_dts/{loadContent-CRLKVVDP.d.ts → loadContent-BmGH6NKl.d.ts} +7 -7
- package/dist/_dts/{request-DeVetKBr.d.ts → request-DssgRQSm.d.ts} +8523 -8069
- package/dist/_dts/{resolveBlockData-C5KYFeig.d.ts → resolveBlockData-5BqNxwL8.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-D8MZWyNO.d.ts → resolvePageContent-DIuwuFA7.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-OwqfS8Gn.d.ts → types-DrAWDtqR.d.ts} +3 -3
- package/dist/_dts/{types-Fj31kIi2.d.ts → types-Z388-GR1.d.ts} +7 -7
- package/dist/_dts/{types-B4MBlP_B.d.ts → types-cObpvZGF.d.ts} +2 -2
- package/dist/_dts/{validation-B1Fa8o_b.d.ts → validation-hLr8zVrc.d.ts} +4 -4
- package/dist/client/BlocksIslandsHydrator-CN2GyuuA.mjs +410 -0
- package/dist/client/{BookingMailingListNote-y3qWjnOo.mjs → BookingMailingListNote-Br1VyHkP.mjs} +5 -5
- package/dist/client/{BookingQuestionFields-DjLjd0vc.mjs → BookingQuestionFields-LLGCWjvU.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-VM7C2fdh.mjs → CalendarNavigationChevron-DSnSBNeq.mjs} +4 -4
- package/dist/client/{DemoBookingPortalAccess-C2QCj_Ta.mjs → DemoBookingPortalAccess-Cilv5zdS.mjs} +3 -3
- package/dist/client/{EventCalendar.client-DDjz7tuX.mjs → EventCalendar.client-ucgdMS35.mjs} +7 -7
- package/dist/client/{EventCombined.client-CeYbNsch.mjs → EventCombined.client-BEdfJGpx.mjs} +5 -5
- package/dist/client/{EventItem-B5J0IeF4.mjs → EventItem-OpLehMpT.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-eH04D8-V.mjs → EventListWeekNavigation-DTsVU6gc.mjs} +1 -1
- package/dist/client/{EventListing.client-slpvrTrM.mjs → EventListing.client-8MFGI9BA.mjs} +3 -3
- package/dist/client/{EventListing.view-BYBaElec.mjs → EventListing.view-BCvRqU86.mjs} +5 -5
- package/dist/client/{EventRegistrationPayment-Do7Q0wRG.mjs → EventRegistrationPayment-CqH3hE-k.mjs} +18 -10
- package/dist/client/{Page-Dv9eIOGr.mjs → Page-Bu5TJU3L.mjs} +41 -15
- package/dist/client/{StepIndicator-BZNUd0-v.mjs → StepIndicator-CR7_0yu4.mjs} +4 -3
- package/dist/client/{accessibleSurfaces-chpD4C2c.mjs → accessibleSurfaces-_7jkuinl.mjs} +56 -8
- package/dist/client/{accordion-BCtVxnDZ.mjs → accordion-DMItWylU.mjs} +6 -1
- package/dist/client/{booking-form.client-Cr5G-HHO.mjs → booking-form.client-wd71DG19.mjs} +10 -10
- package/dist/client/bookingForm-Cyr2qeS1.mjs +31 -0
- package/dist/client/bookings.mjs +4 -4
- package/dist/client/{carousel-DW-HgjvT.mjs → carousel-B5-Hzzif.mjs} +7 -9
- package/dist/client/{carousel.client-BD4DXMtI.mjs → carousel.client-eSSr1oYA.mjs} +2 -2
- package/dist/client/{cart-D1zWe4R7.mjs → cart-B-M5l__W.mjs} +3 -3
- package/dist/client/{cart.client-CIfbTLHS.mjs → cart.client-COAP4CEy.mjs} +1 -1
- package/dist/client/{checkout-fDCNZ3IT.mjs → checkout-ZHc8GfaG.mjs} +3 -3
- package/dist/client/{checkout.client-C4l2KjtV.mjs → checkout.client-DRralR3e.mjs} +1 -1
- package/dist/client/{checkoutUrls-cWL6I-Vz.mjs → checkoutUrls-CY8qywXl.mjs} +1 -1
- package/dist/client/client.mjs +40 -4
- package/dist/client/{createLucideIcon-CIbxe9em.mjs → createLucideIcon-BrXgHVKN.mjs} +9 -9
- package/dist/client/{cta-Bj5WHgcv.mjs → cta-CfuyGqXL.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-3uVu3WgG.mjs → demoPortalMagicLink-DQtwf_s2.mjs} +1 -1
- package/dist/client/{display-CT8KMSpH.mjs → display-DDNmyb0z.mjs} +18 -793
- package/dist/client/{enhanceHeaderSection-B27KFGDv.mjs → enhanceHeaderSection-D7gRy-pL.mjs} +3 -3
- package/dist/client/{event-details.client-CL4Lqz2c.mjs → event-details.client-DZZaoCUc.mjs} +1 -1
- package/dist/client/{event-registration.client-Dj3Kyp5X.mjs → event-registration.client-CLBdHUfd.mjs} +12 -11
- package/dist/client/{eventCalendar-DGsdSF8J.mjs → eventCalendar-BY3AfYkK.mjs} +14 -17
- package/dist/client/eventCombined-86P2vQCb.mjs +25 -0
- package/dist/client/{eventDetails-DzMskXYA.mjs → eventDetails-DIJYMzVg.mjs} +4 -6
- package/dist/client/eventListing-8jS0qGGC.mjs +26 -0
- package/dist/client/eventRegistration-DyseP_sY.mjs +31 -0
- package/dist/client/flightRegistrations-DjYm0Wz6.mjs +45 -0
- package/dist/client/{form-57k2JQnm.mjs → form-RTqunrpz.mjs} +9 -14
- package/dist/client/{form.client-CCl6CpRJ.mjs → form.client-D3_RF29v.mjs} +3 -3
- package/dist/client/{form.parts-BOJ1yDDf.mjs → form.parts-DWLf_3PF.mjs} +1 -1
- package/dist/client/gifting/client.mjs +1 -1
- package/dist/client/{headerSection-q_bEzfhW.mjs → headerSection-CyNGt23J.mjs} +2 -2
- package/dist/client/{newsletter-form.client-CiqKAmPs.mjs → newsletter-form.client-IfLup4o0.mjs} +4 -4
- package/dist/client/{newsletter-form.parts-x1RzAMNO.mjs → newsletter-form.parts-DDD-LRyW.mjs} +1 -1
- package/dist/client/{newsletterForm-Cn7h4zFe.mjs → newsletterForm-o5wFBVHv.mjs} +10 -15
- package/dist/client/portal/client.mjs +5 -5
- package/dist/client/{product-detail.client-rWUvpVvZ.mjs → product-detail.client-5hNA8aKU.mjs} +1 -1
- package/dist/client/{product-list.client-J0wDOmKv.mjs → product-list.client-c-777ohj.mjs} +1 -1
- package/dist/client/{productDetail-LtCkMrJ0.mjs → productDetail-hXttfQhE.mjs} +3 -3
- package/dist/client/{productList-C0MLeh-v.mjs → productList-BPsYP_jA.mjs} +3 -3
- package/dist/client/{propsDecoder-CAmEkJ6Y.mjs → propsDecoder-Dc8j5i79.mjs} +2 -2
- package/dist/client/reactMount-DFQy3CmO.mjs +51 -0
- package/dist/client/{registry.server-Bf2YX_4v.mjs → registry.server-CMrdUGGv.mjs} +329 -283
- package/dist/client/rendering/client.mjs +36 -36
- package/dist/client/rendering/islandDelivery.flight.mjs +99 -0
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +4 -4
- package/dist/client/{routeIslandApiConfig-UdAlnZGQ.mjs → routeIslandApiConfig-DFjRKvzM.mjs} +1 -1
- package/dist/client/{runtimeResponse-Dg4XFsuM.mjs → runtimeResponse-BGU8sMZY.mjs} +1 -1
- package/dist/client/runtimeResponse-D2LT--Gj.mjs +3 -0
- package/dist/client/{shop-Dkn6EasY.mjs → shop-Ds47onRS.mjs} +3 -3
- package/dist/client/{shop-commerce-bo0Z6kwf.mjs → shop-commerce-B3PyRHaN.mjs} +10 -10
- package/dist/client/{shop-commerce-store-Ckxa4_jI.mjs → shop-commerce-store-D9CHihQv.mjs} +1 -1
- package/dist/client/{shop.client-B_GqU6_U.mjs → shop.client-RljK0qPB.mjs} +10 -10
- package/dist/client/{shop.interactive-C6L_Ig5F.mjs → shop.interactive-BH0xDlMF.mjs} +37 -12
- package/dist/client/{shopShared-CO1Y8lFd.mjs → shopShared-BEfD0e4m.mjs} +12 -15
- package/dist/client/{timetableModel-D62jfOxZ.mjs → timetableModel-BG7Ejxdr.mjs} +6 -6
- package/dist/client/{useAvailableSlots-CStfVmyY.mjs → useAvailableSlots-GP8tnAVW.mjs} +1 -1
- package/dist/client/{useDiscountApply-Ca2pHUDu.mjs → useDiscountApply-Cq07nTyG.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-AEifktGO.mjs → useDiscountCodeUi-CD82QX5i.mjs} +1 -1
- package/dist/client/{useEventPagination-uxnUWI2v.mjs → useEventPagination-spj7sGQP.mjs} +5 -5
- package/dist/client/{view-SVnWic7i.mjs → view-aAP2WbCR.mjs} +2 -2
- package/dist/client/{view-B6KSxQMO.mjs → view-oToSpu1N.mjs} +3 -3
- package/dist/preview-next/client/{ArrangementLookControls-kbdqYkWM.mjs → ArrangementLookControls-CoWdilcI.mjs} +7 -7
- package/dist/preview-next/client/{LocationPickerEnvironment-CZQ4vkRe.mjs → LocationPickerEnvironment-CwxRbAs2.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-CP4w7T_0.mjs → MapLibreEditMap-CKjYUp_E.mjs} +2 -2
- package/dist/preview-next/client/{PreviewEditorSidebar-DI_LhsMQ.mjs → PreviewEditorSidebar-BNCrO6PQ.mjs} +117 -117
- package/dist/preview-next/client/{PreviewEditorUI-yyD-ZREP.mjs → PreviewEditorUI-inVZkLCd.mjs} +6 -6
- package/dist/preview-next/client/{PreviewShell-YauP65Gi.mjs → PreviewShell-CFQlAHTe.mjs} +10 -15
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bl7jQMI1.mjs → SdkPreviewModeRuntime-Dgl7ktO4.mjs} +11 -9
- package/dist/preview-next/client/{SiteChromeCustomizeButton-CQFRP9aM.mjs → SiteChromeCustomizeButton-DgDYHwkG.mjs} +362 -283
- package/dist/preview-next/client/{lucide-react-DkZ8fO-G.mjs → lucide-react-DbC1o6_9.mjs} +11 -11
- package/dist/preview-next/client/{previewAssistantSlot-DSR0IdAw.mjs → previewAssistantSlot-DRDu7Ndv.mjs} +268 -875
- package/dist/preview-next/client/{previewChromeSurface-uSnVzeNs.mjs → previewChromeSurface-K6Q5uEMC.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-6Q0RVJTQ.mjs → sdk-runtime-AGypzhcO.mjs} +2 -2
- package/dist/preview-next/client/{useAutosaveStatus-Cdx3kAGm.mjs → useAutosaveStatus-B2mn_l6c.mjs} +3 -3
- package/dist/preview-next/client/{useBlockCustomizeControls-ZrWdhcB6.mjs → useBlockCustomizeControls-CBXHo6ph.mjs} +5 -5
- package/dist/preview-next/client/{useOpenBlockForSetup-CK-GWb9k.mjs → useOpenBlockForSetup-BpZnBznt.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +3 -4
- package/dist/preview-next/{route-contract-BU1m9SV3.mjs → route-contract-jc2Bug-h.mjs} +36 -0
- package/dist/server/{Block.shared-4vx7wzxj.mjs → Block.shared-BHgQjX16.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-C3HLgqBF.mjs → ThemeScopeCore-Ck0dhZA6.mjs} +25 -2
- package/dist/server/{accessibleSurfaces-108nxyGc.mjs → accessibleSurfaces-D0q5tLSW.mjs} +56 -8
- package/dist/server/{bindings-TAQbo2P5.mjs → bindings-CAbTvrCZ.mjs} +1 -1
- package/dist/server/{client-DzCxEl3L.mjs → client-C-asG6Cf.mjs} +38 -2
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +1 -1
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-BO1M9Hdf.mjs → loadContent-DKerbSnI.mjs} +4 -4
- package/dist/server/{loadPage-BvWzmZcD.mjs → loadPage-XgtQR90Z.mjs} +2 -2
- package/dist/server/next.mjs +6 -6
- package/dist/server/{opaqueSurface-BawlEAd_.mjs → opaqueSurface-Yltv_u7r.mjs} +1 -1
- package/dist/server/{overrideResolution-fxuB1zZg.mjs → overrideResolution-Z5pwH-kz.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-DzduDSqY.mjs → pageRenderPlan-DQAo35og.mjs} +8 -7
- package/dist/server/{pageRuntimeSupport-BU8pwTNx.mjs → pageRuntimeSupport-g-K-FCHa.mjs} +1 -1
- package/dist/server/{pageShared-CSOJ8p8E.mjs → pageShared-7mPhqqXX.mjs} +325 -277
- package/dist/server/{prebuild-C5ZYo7wA.mjs → prebuild-C0m4KOT9.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-BvbxqeKn.mjs → prefetchBlockData-DcLKHfHG.mjs} +2 -2
- package/dist/server/{registry-Fv-7D8o2.mjs → registry-7_0_lUrh.mjs} +41 -796
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/islandDelivery.script.mjs +19 -0
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-xPgkvoWS.mjs → resolveBlockData-q3WnpvyZ.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +2 -2
- package/dist/server/{validation-DddhgNdb.mjs → validation-CSMS6XmP.mjs} +3 -3
- package/dist/server/{version-D_W2mt8w.mjs → version-DWeqmTXc.mjs} +1 -1
- package/dist/styles/index.css +9 -0
- package/package.json +10 -6
- package/dist/client/BlocksIslandsHydrator-qq4Vhs7k.mjs +0 -296
- package/dist/client/bookingForm-B1Fc62Sl.mjs +0 -34
- package/dist/client/eventCombined-DFSVDJ3D.mjs +0 -28
- package/dist/client/eventListing-CpFFcAUr.mjs +0 -29
- package/dist/client/eventRegistration-BipMUOCw.mjs +0 -34
- package/dist/client/reactMount-BGJVsHRb.mjs +0 -28
- package/dist/client/runtimeResponse-BP-L6exS.mjs +0 -3
- package/dist/client/{context-DQnTyApV.mjs → context-Xhf81Q-c.mjs} +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { A as expandPalette, Ct as paletteColorsSchema, Et as parseThemeColorToken, S as buttonVisualStatesSchema, T as VARIANT_ROLES, Tt as parseColorTokenParts, U as featuresFromHex, W as hexToRgb, _ as unsafeAsOpaqueButtonColourToken, _t as blockColorTokenNames, c as ELEVATION_OFFSET, ct as backgroundColorStyle, d as DEFAULT_VARIANT_ALIAS_ID, dt as mergeStyles, ft as rgbColorValue, g as isVariantRole, it as surfaceForegroundValue, lt as borderColorStyle, mt as textColorStyle, nt as surfaceForegroundInputFromResolved, p as asSpecialVariantId, pt as surfaceRoleForTextToken, r as BUTTON_CONTRAST_POLICY, rt as surfaceForegroundStyle, st as surfaceInkStyle, v as buttonEffectApplicationSchema, vt as hexColorSchema, w as SYSTEM_BLOCK_KINDS, wt as paletteModeSchema, x as buttonVariantIdSchema, y as buttonPressOffsetSchema } from "./resolveButtonColourStates-Cn6j8Ee0.mjs";
|
|
2
|
-
import { B as resolveConcreteColorHex, C as mapButtonRoleAppearances, D as resolveThemeColorReferenceValue, H as paletteValueKey, I as certifyPaint, L as contrastThresholdByPolicy, N as surfaceInkPublication, S as defineButtonStyleRecipe, U as paletteValueKeySchema, V as resolveOpaqueSurfaceHex, W as requirePaletteColorsFromEntries, a as resolveSurface, c as surfaceDecorationColors, d as scrimTone, j as resolveSurfaceForeground, s as surfaceButtonRequest, t as parseResolvedSurface, u as gradientScrimSamples, w as mapButtonVisualAppearances, x as PUBLIC_BUTTON_ROLES, z as planForegroundHover } from "./accessibleSurfaces-
|
|
2
|
+
import { B as resolveConcreteColorHex, C as mapButtonRoleAppearances, D as resolveThemeColorReferenceValue, H as paletteValueKey, I as certifyPaint, L as contrastThresholdByPolicy, N as surfaceInkPublication, S as defineButtonStyleRecipe, U as paletteValueKeySchema, V as resolveOpaqueSurfaceHex, W as requirePaletteColorsFromEntries, a as resolveSurface, c as surfaceDecorationColors, d as scrimTone, j as resolveSurfaceForeground, s as surfaceButtonRequest, t as parseResolvedSurface, u as gradientScrimSamples, w as mapButtonVisualAppearances, x as PUBLIC_BUTTON_ROLES, z as planForegroundHover } from "./accessibleSurfaces-D0q5tLSW.mjs";
|
|
3
3
|
import { A as tileTreatmentValues, D as headingDecorationColorTokenValues, E as eyebrowTreatmentValues, F as asDesignSystemTemplateId, I as asLayoutVariantKey, L as asPageFlowPresetId, M as asAppearancePresetId, N as asBoundaryOptionId, R as asSiteStyleId, T as eventListTreatmentValues, _ as asHeaderStyleId, a as runtimeBoxBackgroundSchema, b as siteChromeBackgroundOverrideOwner, c as cardRoleSchema, d as cardVariantRoleValues, f as itemRoleValues, g as asHeaderLayoutId, h as asFooterLookId, i as boxBackgroundSchema, j as visibleHeadingDecorationFamilyValues, k as isArrangementMode, l as cardRoleValues, p as openCardRoleValue, r as boxBackgroundOverlaySchema, s as boxlessCardVariantValue, t as headerVariantValues, v as bookingPageLookIdValues, w as arrangementModes } from "./headerVariant-8O5MvxIU.mjs";
|
|
4
4
|
import { C as ok$1, S as err, b as unsafeAsStoragePath, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, f as PUBLIC_FILE_FIELD_KINDS, g as parseCanonicalMediaIdentifier, m as mediaTypeDiscriminants, o as runtimeMediaSchema, p as isDisplayMediaKind, v as unsafeAsMediaAssetId, x as parseUuidBrand, y as unsafeAsStorageBucketName } from "./media-Brn9FW5s.mjs";
|
|
5
5
|
import { t as assertNever$2 } from "./assert-never-ku-PUn9U.mjs";
|
|
6
6
|
import { n as RichTextDocSchema } from "./richTextSchema-DQ2NBP0n.mjs";
|
|
7
|
-
import { n as opaqueSurfaceDeclarations } from "./opaqueSurface-
|
|
8
|
-
import { z } from "zod";
|
|
7
|
+
import { n as opaqueSurfaceDeclarations } from "./opaqueSurface-Yltv_u7r.mjs";
|
|
9
8
|
import React from "react";
|
|
10
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
import { z } from "zod";
|
|
11
11
|
//#region ../theme-core/src/tokens/blockColorTokens.ts
|
|
12
12
|
const blockColorTokenNameSet = new Set(blockColorTokenNames);
|
|
13
13
|
function isBlockColorToken(value) {
|
|
@@ -566,11 +566,13 @@ function createEventSeriesPageSurfaceSubject(eventSeriesId, bookingScope, eventD
|
|
|
566
566
|
}
|
|
567
567
|
function createEventOfferingPageSurfaceSubject(eventOfferingId, input) {
|
|
568
568
|
const mode = input.eventDestinationMode ? { eventDestinationMode: input.eventDestinationMode } : {};
|
|
569
|
+
const title = input.title?.trim() ?? "";
|
|
569
570
|
const identity = {
|
|
570
571
|
kind: "eventOffering",
|
|
571
572
|
eventOfferingId,
|
|
572
573
|
catalogueEventSeriesIds: input.catalogueEventSeriesIds,
|
|
573
|
-
...input.detailAdmission ? { detailAdmission: input.detailAdmission } : {}
|
|
574
|
+
...input.detailAdmission ? { detailAdmission: input.detailAdmission } : {},
|
|
575
|
+
...title !== "" ? { title } : {}
|
|
574
576
|
};
|
|
575
577
|
return input.bookingScope === "whole_series" ? {
|
|
576
578
|
...identity,
|
|
@@ -636,6 +638,7 @@ function parseEventOfferingPageSurfaceSubject(value) {
|
|
|
636
638
|
return ok$1(createEventOfferingPageSurfaceSubject(eventOfferingId.value, {
|
|
637
639
|
catalogueEventSeriesIds: parsedCatalogueIds.value,
|
|
638
640
|
...value.detailAdmission === "own-page" ? { detailAdmission: "own-page" } : {},
|
|
641
|
+
...typeof value.title === "string" ? { title: value.title } : {},
|
|
639
642
|
bookingScope: value.bookingScope,
|
|
640
643
|
...eventDestinationMode ? { eventDestinationMode } : {}
|
|
641
644
|
}));
|
|
@@ -17606,35 +17609,6 @@ const warmInsetAccordionSystem = {
|
|
|
17606
17609
|
},
|
|
17607
17610
|
content: { textColorToken: "neutral-700" }
|
|
17608
17611
|
};
|
|
17609
|
-
/**
|
|
17610
|
-
* Soft Earth's grounded look: boxless, plus/minus, heading-font questions on
|
|
17611
|
-
* a warm ground, with a quiet open recolour.
|
|
17612
|
-
*/
|
|
17613
|
-
const softEarthAccordionSystem = {
|
|
17614
|
-
background: {
|
|
17615
|
-
type: "solid",
|
|
17616
|
-
colorToken: "background"
|
|
17617
|
-
},
|
|
17618
|
-
spacing: "comfortable",
|
|
17619
|
-
corners: "square",
|
|
17620
|
-
border: null,
|
|
17621
|
-
shadow: null,
|
|
17622
|
-
icon: {
|
|
17623
|
-
style: "plus-minus",
|
|
17624
|
-
position: "right",
|
|
17625
|
-
size: "md",
|
|
17626
|
-
colorToken: "primary"
|
|
17627
|
-
},
|
|
17628
|
-
trigger: {
|
|
17629
|
-
textColorToken: "text",
|
|
17630
|
-
fontWeight: "medium",
|
|
17631
|
-
fontFamily: "heading",
|
|
17632
|
-
fontScale: "md"
|
|
17633
|
-
},
|
|
17634
|
-
hover: { textColorToken: "primary" },
|
|
17635
|
-
openState: { triggerColorToken: "primary" },
|
|
17636
|
-
content: { textColorToken: "neutral-700" }
|
|
17637
|
-
};
|
|
17638
17612
|
//#endregion
|
|
17639
17613
|
//#region ../theme-core/src/cards/siteStyleDefaults.ts
|
|
17640
17614
|
/**
|
|
@@ -17707,87 +17681,6 @@ const southWestCardSystem = { variants: [{
|
|
|
17707
17681
|
bottomRight: "square"
|
|
17708
17682
|
}
|
|
17709
17683
|
}] };
|
|
17710
|
-
const clarityZenCardSystem = { variants: [{
|
|
17711
|
-
id: "default",
|
|
17712
|
-
name: "Default",
|
|
17713
|
-
enabled: true,
|
|
17714
|
-
priority: 1,
|
|
17715
|
-
role: "default",
|
|
17716
|
-
background: {
|
|
17717
|
-
type: "solid",
|
|
17718
|
-
colorToken: "surface"
|
|
17719
|
-
},
|
|
17720
|
-
foregroundToken: "text",
|
|
17721
|
-
spacing: "comfortable",
|
|
17722
|
-
corners: "rounded",
|
|
17723
|
-
shadow: {
|
|
17724
|
-
elevation: "low",
|
|
17725
|
-
softness: "soft",
|
|
17726
|
-
position: "bottom"
|
|
17727
|
-
}
|
|
17728
|
-
}, {
|
|
17729
|
-
id: "alternative",
|
|
17730
|
-
name: "Statement",
|
|
17731
|
-
enabled: true,
|
|
17732
|
-
priority: 2,
|
|
17733
|
-
role: "alternative",
|
|
17734
|
-
background: {
|
|
17735
|
-
type: "solid",
|
|
17736
|
-
colorToken: "surfaceAlt"
|
|
17737
|
-
},
|
|
17738
|
-
foregroundToken: "text",
|
|
17739
|
-
spacing: "comfortable",
|
|
17740
|
-
corners: "rounded",
|
|
17741
|
-
shadow: {
|
|
17742
|
-
elevation: "medium",
|
|
17743
|
-
softness: "soft",
|
|
17744
|
-
position: "bottom"
|
|
17745
|
-
}
|
|
17746
|
-
}] };
|
|
17747
|
-
/**
|
|
17748
|
-
* Original Joy: warm, flat, generously rounded cards on the dark clay ground.
|
|
17749
|
-
* `default` is a quiet brown surface card with cream text; `alternative` is a
|
|
17750
|
-
* burnt-orange statement card for sections that should pop. Both flat (the
|
|
17751
|
-
* look's depth comes from colour, not shadow), matching the bold editorial
|
|
17752
|
-
* feel. Shared by event and testimonial cards.
|
|
17753
|
-
*/
|
|
17754
|
-
const originalJoyCardSystem = { variants: [{
|
|
17755
|
-
id: "default",
|
|
17756
|
-
name: "Default",
|
|
17757
|
-
enabled: true,
|
|
17758
|
-
priority: 1,
|
|
17759
|
-
role: "default",
|
|
17760
|
-
background: {
|
|
17761
|
-
type: "solid",
|
|
17762
|
-
colorToken: "surface"
|
|
17763
|
-
},
|
|
17764
|
-
foregroundToken: "text",
|
|
17765
|
-
spacing: "comfortable",
|
|
17766
|
-
corners: "rounded",
|
|
17767
|
-
shadow: {
|
|
17768
|
-
elevation: "none",
|
|
17769
|
-
softness: null,
|
|
17770
|
-
position: "bottom"
|
|
17771
|
-
}
|
|
17772
|
-
}, {
|
|
17773
|
-
id: "alternative",
|
|
17774
|
-
name: "Statement",
|
|
17775
|
-
enabled: true,
|
|
17776
|
-
priority: 2,
|
|
17777
|
-
role: "alternative",
|
|
17778
|
-
background: {
|
|
17779
|
-
type: "solid",
|
|
17780
|
-
colorToken: "primary"
|
|
17781
|
-
},
|
|
17782
|
-
foregroundToken: "primaryForeground",
|
|
17783
|
-
spacing: "comfortable",
|
|
17784
|
-
corners: "rounded",
|
|
17785
|
-
shadow: {
|
|
17786
|
-
elevation: "none",
|
|
17787
|
-
softness: null,
|
|
17788
|
-
position: "bottom"
|
|
17789
|
-
}
|
|
17790
|
-
}] };
|
|
17791
17684
|
//#endregion
|
|
17792
17685
|
//#region ../theme-core/src/site-styles/testimonialQuotePresets.ts
|
|
17793
17686
|
/**
|
|
@@ -18110,48 +18003,6 @@ const folioTypography = {
|
|
|
18110
18003
|
}
|
|
18111
18004
|
}
|
|
18112
18005
|
};
|
|
18113
|
-
const kirtanOrnateTypography = {
|
|
18114
|
-
body: {
|
|
18115
|
-
family: "Jost, system-ui, sans-serif",
|
|
18116
|
-
size: "md",
|
|
18117
|
-
weight: "regular",
|
|
18118
|
-
lineHeight: "relaxed",
|
|
18119
|
-
letterSpacing: "normal"
|
|
18120
|
-
},
|
|
18121
|
-
headings: {
|
|
18122
|
-
default: {
|
|
18123
|
-
family: "Marcellus, Georgia, serif",
|
|
18124
|
-
weight: "regular",
|
|
18125
|
-
lineHeight: "normal",
|
|
18126
|
-
letterSpacing: "normal",
|
|
18127
|
-
colorToken: "primary",
|
|
18128
|
-
italic: null,
|
|
18129
|
-
case: null
|
|
18130
|
-
},
|
|
18131
|
-
h1: {
|
|
18132
|
-
size: "2xl",
|
|
18133
|
-
weight: "regular",
|
|
18134
|
-
lineHeight: "normal",
|
|
18135
|
-
letterSpacing: "normal",
|
|
18136
|
-
italic: null
|
|
18137
|
-
},
|
|
18138
|
-
h2: {
|
|
18139
|
-
size: "xl",
|
|
18140
|
-
weight: "regular",
|
|
18141
|
-
lineHeight: "normal",
|
|
18142
|
-
letterSpacing: "normal",
|
|
18143
|
-
italic: null
|
|
18144
|
-
},
|
|
18145
|
-
h3: {
|
|
18146
|
-
size: "md",
|
|
18147
|
-
weight: "regular",
|
|
18148
|
-
lineHeight: "relaxed",
|
|
18149
|
-
letterSpacing: "normal",
|
|
18150
|
-
italic: null
|
|
18151
|
-
}
|
|
18152
|
-
},
|
|
18153
|
-
scale: "spacious"
|
|
18154
|
-
};
|
|
18155
18006
|
const boldDisplayTypography = {
|
|
18156
18007
|
body: {
|
|
18157
18008
|
family: "Manrope, system-ui, sans-serif",
|
|
@@ -18194,47 +18045,6 @@ const boldDisplayTypography = {
|
|
|
18194
18045
|
},
|
|
18195
18046
|
scale: "balanced"
|
|
18196
18047
|
};
|
|
18197
|
-
const originalJoyTypography = {
|
|
18198
|
-
body: {
|
|
18199
|
-
family: "DM Sans, system-ui, sans-serif",
|
|
18200
|
-
size: "md",
|
|
18201
|
-
weight: "regular",
|
|
18202
|
-
lineHeight: "relaxed",
|
|
18203
|
-
letterSpacing: "normal"
|
|
18204
|
-
},
|
|
18205
|
-
headings: {
|
|
18206
|
-
default: {
|
|
18207
|
-
family: "Lobster, cursive",
|
|
18208
|
-
weight: "regular",
|
|
18209
|
-
lineHeight: "normal",
|
|
18210
|
-
letterSpacing: "normal",
|
|
18211
|
-
italic: null,
|
|
18212
|
-
case: null
|
|
18213
|
-
},
|
|
18214
|
-
h1: {
|
|
18215
|
-
size: "2xl",
|
|
18216
|
-
weight: "regular",
|
|
18217
|
-
lineHeight: "normal",
|
|
18218
|
-
letterSpacing: "normal",
|
|
18219
|
-
italic: null
|
|
18220
|
-
},
|
|
18221
|
-
h2: {
|
|
18222
|
-
size: "xl",
|
|
18223
|
-
weight: "regular",
|
|
18224
|
-
lineHeight: "normal",
|
|
18225
|
-
letterSpacing: "normal",
|
|
18226
|
-
italic: null
|
|
18227
|
-
},
|
|
18228
|
-
h3: {
|
|
18229
|
-
size: "lg",
|
|
18230
|
-
weight: "regular",
|
|
18231
|
-
lineHeight: "normal",
|
|
18232
|
-
letterSpacing: "normal",
|
|
18233
|
-
italic: null
|
|
18234
|
-
}
|
|
18235
|
-
},
|
|
18236
|
-
scale: "balanced"
|
|
18237
|
-
};
|
|
18238
18048
|
const fulcrumTypography = {
|
|
18239
18049
|
body: {
|
|
18240
18050
|
family: "IBM Plex Sans, system-ui, -apple-system, sans-serif",
|
|
@@ -18409,23 +18219,6 @@ const measureTypography = {
|
|
|
18409
18219
|
},
|
|
18410
18220
|
scale: "compact"
|
|
18411
18221
|
};
|
|
18412
|
-
const kirtanOrnateHeroTypography = {
|
|
18413
|
-
headlineSize: "6xl",
|
|
18414
|
-
headlineLineHeight: "normal",
|
|
18415
|
-
subheadlineSize: "xl",
|
|
18416
|
-
subheadlineLineHeight: "relaxed",
|
|
18417
|
-
microHeadlineSize: "5xl",
|
|
18418
|
-
microHeadlineLineHeight: "normal",
|
|
18419
|
-
microSubheadlineSize: "lg",
|
|
18420
|
-
microSubheadlineLineHeight: "relaxed",
|
|
18421
|
-
responsive: {
|
|
18422
|
-
tablet: { headlineSize: "5xl" },
|
|
18423
|
-
mobile: {
|
|
18424
|
-
headlineSize: "4xl",
|
|
18425
|
-
subheadlineSize: "lg"
|
|
18426
|
-
}
|
|
18427
|
-
}
|
|
18428
|
-
};
|
|
18429
18222
|
const boldDisplayHeroTypography = {
|
|
18430
18223
|
headlineSize: "6xl",
|
|
18431
18224
|
headlineLineHeight: "tight",
|
|
@@ -18443,23 +18236,6 @@ const boldDisplayHeroTypography = {
|
|
|
18443
18236
|
}
|
|
18444
18237
|
}
|
|
18445
18238
|
};
|
|
18446
|
-
const originalJoyHeroTypography = {
|
|
18447
|
-
headlineSize: "6xl",
|
|
18448
|
-
headlineLineHeight: "tight",
|
|
18449
|
-
subheadlineSize: "xl",
|
|
18450
|
-
subheadlineLineHeight: "normal",
|
|
18451
|
-
microHeadlineSize: "6xl",
|
|
18452
|
-
microHeadlineLineHeight: "tight",
|
|
18453
|
-
microSubheadlineSize: "lg",
|
|
18454
|
-
microSubheadlineLineHeight: "normal",
|
|
18455
|
-
responsive: {
|
|
18456
|
-
tablet: { headlineSize: "5xl" },
|
|
18457
|
-
mobile: {
|
|
18458
|
-
headlineSize: "4xl",
|
|
18459
|
-
subheadlineSize: "lg"
|
|
18460
|
-
}
|
|
18461
|
-
}
|
|
18462
|
-
};
|
|
18463
18239
|
const groundedSerifHeroTypography = {
|
|
18464
18240
|
headlineSize: "5xl",
|
|
18465
18241
|
headlineLineHeight: "normal",
|
|
@@ -18775,19 +18551,6 @@ const loomFontPairings = [{
|
|
|
18775
18551
|
}];
|
|
18776
18552
|
//#endregion
|
|
18777
18553
|
//#region ../theme-core/src/site-styles/runtimeCompiler.ts
|
|
18778
|
-
function defineSectionForegroundRuntimeTokens(input) {
|
|
18779
|
-
return {
|
|
18780
|
-
textColor: requireThemeColorToken(input.textColor),
|
|
18781
|
-
headingColor: requireThemeColorToken(input.headingColor),
|
|
18782
|
-
linkColor: requireThemeColorToken(input.linkColor),
|
|
18783
|
-
supportingColor: requireThemeColorToken(input.supportingColor)
|
|
18784
|
-
};
|
|
18785
|
-
}
|
|
18786
|
-
function requireThemeColorToken(value) {
|
|
18787
|
-
const token = parseThemeColorToken(value);
|
|
18788
|
-
if (!token) throw new Error(`Invalid section foreground Theme color token: ${String(value)}`);
|
|
18789
|
-
return token;
|
|
18790
|
-
}
|
|
18791
18554
|
const compiledRuntimeStyleFieldNames = [
|
|
18792
18555
|
"_frameStyles",
|
|
18793
18556
|
"_sectionStyles",
|
|
@@ -18799,51 +18562,10 @@ const compiledRuntimeStyleFieldNames = [
|
|
|
18799
18562
|
"blockLook",
|
|
18800
18563
|
"blockComposition"
|
|
18801
18564
|
];
|
|
18802
|
-
function defineDesignRuntimeRules(rules) {
|
|
18803
|
-
return rules;
|
|
18804
|
-
}
|
|
18805
18565
|
function defineComponentRuntimeRules(rules) {
|
|
18806
18566
|
return rules;
|
|
18807
18567
|
}
|
|
18808
|
-
|
|
18809
|
-
* Default design rules translate semantic page-level choices into the current
|
|
18810
|
-
* runtime's section background vocabulary.
|
|
18811
|
-
*/
|
|
18812
|
-
const defaultDesignRuntimeRules = defineDesignRuntimeRules({
|
|
18813
|
-
sectionSurfaces: {
|
|
18814
|
-
base: {},
|
|
18815
|
-
"muted-band": { background: {
|
|
18816
|
-
type: "color",
|
|
18817
|
-
color: "muted"
|
|
18818
|
-
} },
|
|
18819
|
-
"accent-band": { background: {
|
|
18820
|
-
type: "color",
|
|
18821
|
-
color: "accent"
|
|
18822
|
-
} },
|
|
18823
|
-
"brand-depth-band": { background: {
|
|
18824
|
-
type: "color",
|
|
18825
|
-
color: "primary-800"
|
|
18826
|
-
} },
|
|
18827
|
-
"hero-image": { background: {
|
|
18828
|
-
type: "image",
|
|
18829
|
-
opacity: 1,
|
|
18830
|
-
position: "center center",
|
|
18831
|
-
...uniformSectionForeground("text")
|
|
18832
|
-
} }
|
|
18833
|
-
},
|
|
18834
|
-
heroLegibility: {
|
|
18835
|
-
"scrim-gradient": {
|
|
18836
|
-
type: "gradient",
|
|
18837
|
-
gradient: "linear-gradient(180deg, rgba(255,255,255,0.38) 0%, rgba(244,241,234,0.62) 90%)",
|
|
18838
|
-
opacity: 1
|
|
18839
|
-
},
|
|
18840
|
-
"solid-panel": {
|
|
18841
|
-
type: "color",
|
|
18842
|
-
color: "surface",
|
|
18843
|
-
opacity: .88
|
|
18844
|
-
}
|
|
18845
|
-
}
|
|
18846
|
-
});
|
|
18568
|
+
({ ...uniformSectionForeground("text") });
|
|
18847
18569
|
/**
|
|
18848
18570
|
* Default component rules translate frame and item-surface semantics into the
|
|
18849
18571
|
* current block override fields consumed by legacy renderers.
|
|
@@ -18898,8 +18620,6 @@ function uniformSectionForeground(token) {
|
|
|
18898
18620
|
}
|
|
18899
18621
|
//#endregion
|
|
18900
18622
|
//#region ../theme-core/src/site-styles/curatedSiteStyles.ts
|
|
18901
|
-
const SOFT_EARTH_SITE_STYLE_ID_VALUE = "site-style:soft-earth";
|
|
18902
|
-
asSiteStyleId(SOFT_EARTH_SITE_STYLE_ID_VALUE);
|
|
18903
18623
|
/** Keyed by the offered looks, so adding a look without its hero Look doesn't compile. */
|
|
18904
18624
|
const bookingPageNoPhotoHeroLookIds = {
|
|
18905
18625
|
"site-style:fulcrum": "hero-photo-beside-text",
|
|
@@ -18973,50 +18693,6 @@ function componentRuntimeRulesForTokenRecipes(recipes) {
|
|
|
18973
18693
|
flushFrames: defaultComponentRuntimeRules.flushFrames
|
|
18974
18694
|
});
|
|
18975
18695
|
}
|
|
18976
|
-
const kirtanOrnateDesignRuntimeRules = defineDesignRuntimeRules({
|
|
18977
|
-
...defaultDesignRuntimeRules,
|
|
18978
|
-
defaultEyebrowTreatment: "accent",
|
|
18979
|
-
sectionSurfaces: {
|
|
18980
|
-
...defaultDesignRuntimeRules.sectionSurfaces,
|
|
18981
|
-
"muted-band": {
|
|
18982
|
-
background: {
|
|
18983
|
-
type: "color",
|
|
18984
|
-
color: "muted"
|
|
18985
|
-
},
|
|
18986
|
-
foreground: defineSectionForegroundRuntimeTokens({
|
|
18987
|
-
textColor: "text",
|
|
18988
|
-
headingColor: "primary",
|
|
18989
|
-
linkColor: "primary",
|
|
18990
|
-
supportingColor: "text"
|
|
18991
|
-
})
|
|
18992
|
-
},
|
|
18993
|
-
"brand-depth-band": {
|
|
18994
|
-
background: {
|
|
18995
|
-
type: "color",
|
|
18996
|
-
color: "primary-800"
|
|
18997
|
-
},
|
|
18998
|
-
foreground: defineSectionForegroundRuntimeTokens({
|
|
18999
|
-
textColor: "text",
|
|
19000
|
-
headingColor: "primary",
|
|
19001
|
-
linkColor: "primary",
|
|
19002
|
-
supportingColor: "text"
|
|
19003
|
-
})
|
|
19004
|
-
},
|
|
19005
|
-
"hero-image": {
|
|
19006
|
-
background: {
|
|
19007
|
-
type: "image",
|
|
19008
|
-
opacity: 1,
|
|
19009
|
-
position: "center center"
|
|
19010
|
-
},
|
|
19011
|
-
foreground: defineSectionForegroundRuntimeTokens({
|
|
19012
|
-
textColor: "text",
|
|
19013
|
-
headingColor: "primary",
|
|
19014
|
-
linkColor: "primary",
|
|
19015
|
-
supportingColor: "text"
|
|
19016
|
-
})
|
|
19017
|
-
}
|
|
19018
|
-
}
|
|
19019
|
-
});
|
|
19020
18696
|
const expressiveUnderlineInputs = {
|
|
19021
18697
|
base: {
|
|
19022
18698
|
background: { type: "transparent" },
|
|
@@ -19054,46 +18730,6 @@ const expressiveUnderlineInputs = {
|
|
|
19054
18730
|
opacity: .6
|
|
19055
18731
|
}
|
|
19056
18732
|
};
|
|
19057
|
-
const ornateDarkInputs = {
|
|
19058
|
-
base: {
|
|
19059
|
-
background: {
|
|
19060
|
-
type: "solid",
|
|
19061
|
-
colorToken: "surfaceAlt"
|
|
19062
|
-
},
|
|
19063
|
-
textColorToken: "text",
|
|
19064
|
-
border: {
|
|
19065
|
-
widthClass: "border",
|
|
19066
|
-
colorToken: "primary/45",
|
|
19067
|
-
style: "all"
|
|
19068
|
-
},
|
|
19069
|
-
corners: "square",
|
|
19070
|
-
shadow: null,
|
|
19071
|
-
spacing: "medium",
|
|
19072
|
-
fontSize: "base"
|
|
19073
|
-
},
|
|
19074
|
-
label: {
|
|
19075
|
-
textColorToken: "primary",
|
|
19076
|
-
fontWeight: "semibold",
|
|
19077
|
-
fontSize: "xs",
|
|
19078
|
-
textTransform: "uppercase",
|
|
19079
|
-
letterSpacing: "wider",
|
|
19080
|
-
opacity: 1
|
|
19081
|
-
},
|
|
19082
|
-
focus: {
|
|
19083
|
-
ringColorToken: "primary/18",
|
|
19084
|
-
ringWidth: "2",
|
|
19085
|
-
borderColorToken: "primary/70"
|
|
19086
|
-
},
|
|
19087
|
-
error: {
|
|
19088
|
-
borderColorToken: "destructive",
|
|
19089
|
-
textColorToken: "destructive"
|
|
19090
|
-
},
|
|
19091
|
-
disabled: {
|
|
19092
|
-
backgroundColorToken: "muted",
|
|
19093
|
-
textColorToken: "mutedText",
|
|
19094
|
-
opacity: .6
|
|
19095
|
-
}
|
|
19096
|
-
};
|
|
19097
18733
|
function uniqueContentFrameKinds() {
|
|
19098
18734
|
const kinds = [...new Set(generatedDesignOptionCatalog.contentFrames.map((frame) => frame.kind))];
|
|
19099
18735
|
const firstKind = kinds[0];
|
|
@@ -19134,40 +18770,6 @@ const headerCurationBySiteStyle = {
|
|
|
19134
18770
|
"minimal"
|
|
19135
18771
|
]
|
|
19136
18772
|
}]),
|
|
19137
|
-
"site-style:clarity-zen-blue": defineHeaderCuration([{
|
|
19138
|
-
layoutId: "centered",
|
|
19139
|
-
styleIds: [
|
|
19140
|
-
"minimal",
|
|
19141
|
-
"serif-line",
|
|
19142
|
-
"fine-line",
|
|
19143
|
-
"soft-bar"
|
|
19144
|
-
]
|
|
19145
|
-
}, {
|
|
19146
|
-
layoutId: "classic",
|
|
19147
|
-
styleIds: [
|
|
19148
|
-
"minimal",
|
|
19149
|
-
"serif-line",
|
|
19150
|
-
"fine-line",
|
|
19151
|
-
"soft-bar"
|
|
19152
|
-
]
|
|
19153
|
-
}]),
|
|
19154
|
-
"site-style:soft-earth": defineHeaderCuration([{
|
|
19155
|
-
layoutId: "centered",
|
|
19156
|
-
styleIds: [
|
|
19157
|
-
"minimal",
|
|
19158
|
-
"serif-line",
|
|
19159
|
-
"fine-line",
|
|
19160
|
-
"soft-bar"
|
|
19161
|
-
]
|
|
19162
|
-
}, {
|
|
19163
|
-
layoutId: "classic",
|
|
19164
|
-
styleIds: [
|
|
19165
|
-
"minimal",
|
|
19166
|
-
"serif-line",
|
|
19167
|
-
"fine-line",
|
|
19168
|
-
"soft-bar"
|
|
19169
|
-
]
|
|
19170
|
-
}]),
|
|
19171
18773
|
"site-style:south-west-twerk-school": defineHeaderCuration([{
|
|
19172
18774
|
layoutId: "classic",
|
|
19173
18775
|
styleIds: [
|
|
@@ -19186,22 +18788,6 @@ const headerCurationBySiteStyle = {
|
|
|
19186
18788
|
"soft-shell"
|
|
19187
18789
|
]
|
|
19188
18790
|
}]),
|
|
19189
|
-
"site-style:kirtan-ornate": defineHeaderCuration([{
|
|
19190
|
-
layoutId: "floating",
|
|
19191
|
-
styleIds: [
|
|
19192
|
-
"minimal-surface",
|
|
19193
|
-
"split-glass",
|
|
19194
|
-
"glass"
|
|
19195
|
-
]
|
|
19196
|
-
}]),
|
|
19197
|
-
"site-style:original-joy": defineHeaderCuration([{
|
|
19198
|
-
layoutId: "floating",
|
|
19199
|
-
styleIds: [
|
|
19200
|
-
"minimal-surface",
|
|
19201
|
-
"split-glass",
|
|
19202
|
-
"glass"
|
|
19203
|
-
]
|
|
19204
|
-
}]),
|
|
19205
18791
|
"site-style:fulcrum": defineHeaderCuration([{
|
|
19206
18792
|
layoutId: "classic",
|
|
19207
18793
|
styleIds: [
|
|
@@ -19280,7 +18866,6 @@ function authoredSiteStyleOverrides(input) {
|
|
|
19280
18866
|
return {
|
|
19281
18867
|
...input.themeOverrides ? { themeOverrides: input.themeOverrides } : {},
|
|
19282
18868
|
...input.designRuntimeRules ? { designRuntimeRules: input.designRuntimeRules } : {},
|
|
19283
|
-
...input.defaultBlockVariants ? { defaultBlockVariants: input.defaultBlockVariants } : {},
|
|
19284
18869
|
...input.heroTypography ? { heroTypography: input.heroTypography } : {}
|
|
19285
18870
|
};
|
|
19286
18871
|
}
|
|
@@ -19312,7 +18897,6 @@ function defineCuratedSiteStyle(input) {
|
|
|
19312
18897
|
name: input.name,
|
|
19313
18898
|
description: input.description,
|
|
19314
18899
|
generationBrief: input.generationBrief,
|
|
19315
|
-
selectionKeywordRules: input.selectionKeywordRules ?? [],
|
|
19316
18900
|
offering: offering.kind === "public" ? withBookingPageOffering(offering, bookingPageOfferingFor(input.id)) : offering,
|
|
19317
18901
|
template: curatedStyleTemplate(input),
|
|
19318
18902
|
contentTemplateDefaults: input.contentTemplateDefaults,
|
|
@@ -23010,243 +22594,6 @@ const measureLooks = {
|
|
|
23010
22594
|
]
|
|
23011
22595
|
};
|
|
23012
22596
|
const curatedSiteStyles = [
|
|
23013
|
-
defineCuratedSiteStyle({
|
|
23014
|
-
id: "site-style:clarity-zen-blue",
|
|
23015
|
-
name: "Clarity Zen",
|
|
23016
|
-
headingDecoration: {
|
|
23017
|
-
family: "short-center-rule",
|
|
23018
|
-
colorToken: "primary"
|
|
23019
|
-
},
|
|
23020
|
-
description: "Calm, editorial, and reassuring for therapy, counselling, and wellbeing support practices.",
|
|
23021
|
-
generationBrief: "Use a calm, soft palette, editorial serif headings, warm grounded copy, rounded cards, calm proof sections, and clear booking routes. Keep the tone compassionate and straightforward, with professional trust rather than hard-sell wellness language.",
|
|
23022
|
-
offering: {
|
|
23023
|
-
kind: "public",
|
|
23024
|
-
generation: {
|
|
23025
|
-
kind: "site_creator_keyword_heuristic",
|
|
23026
|
-
priority: 25
|
|
23027
|
-
}
|
|
23028
|
-
},
|
|
23029
|
-
selectionKeywordRules: [
|
|
23030
|
-
{
|
|
23031
|
-
kind: "substring",
|
|
23032
|
-
value: "psychotherap"
|
|
23033
|
-
},
|
|
23034
|
-
{
|
|
23035
|
-
kind: "phrase",
|
|
23036
|
-
value: "mental health"
|
|
23037
|
-
},
|
|
23038
|
-
{
|
|
23039
|
-
kind: "phrase",
|
|
23040
|
-
value: "talk therapy"
|
|
23041
|
-
},
|
|
23042
|
-
{
|
|
23043
|
-
kind: "phrase",
|
|
23044
|
-
value: "therapy and wellbeing"
|
|
23045
|
-
}
|
|
23046
|
-
],
|
|
23047
|
-
tokenRecipes: {
|
|
23048
|
-
palette: "brand-led",
|
|
23049
|
-
contrast: "standard",
|
|
23050
|
-
radius: "rounded",
|
|
23051
|
-
shadow: "subtle",
|
|
23052
|
-
typography: "serif-editorial",
|
|
23053
|
-
spacing: "airy",
|
|
23054
|
-
motion: "subtle"
|
|
23055
|
-
},
|
|
23056
|
-
compositionBudget: balancedBudget,
|
|
23057
|
-
typography: {
|
|
23058
|
-
body: {
|
|
23059
|
-
family: "Roboto, system-ui, sans-serif",
|
|
23060
|
-
size: "md",
|
|
23061
|
-
weight: "regular",
|
|
23062
|
-
lineHeight: "relaxed",
|
|
23063
|
-
letterSpacing: "normal"
|
|
23064
|
-
},
|
|
23065
|
-
headings: {
|
|
23066
|
-
default: {
|
|
23067
|
-
family: "Forum, Georgia, serif",
|
|
23068
|
-
weight: "regular",
|
|
23069
|
-
lineHeight: "normal",
|
|
23070
|
-
letterSpacing: "normal",
|
|
23071
|
-
colorToken: "text",
|
|
23072
|
-
italic: null,
|
|
23073
|
-
case: null
|
|
23074
|
-
},
|
|
23075
|
-
h1: {
|
|
23076
|
-
size: "xl",
|
|
23077
|
-
weight: "regular",
|
|
23078
|
-
lineHeight: "normal",
|
|
23079
|
-
letterSpacing: "normal",
|
|
23080
|
-
italic: null
|
|
23081
|
-
},
|
|
23082
|
-
h2: {
|
|
23083
|
-
size: "xl",
|
|
23084
|
-
weight: "regular",
|
|
23085
|
-
lineHeight: "normal",
|
|
23086
|
-
letterSpacing: "normal",
|
|
23087
|
-
italic: null
|
|
23088
|
-
},
|
|
23089
|
-
h3: {
|
|
23090
|
-
size: "md",
|
|
23091
|
-
weight: "regular",
|
|
23092
|
-
lineHeight: "normal",
|
|
23093
|
-
letterSpacing: "normal",
|
|
23094
|
-
italic: null
|
|
23095
|
-
}
|
|
23096
|
-
},
|
|
23097
|
-
scale: "majorThird"
|
|
23098
|
-
},
|
|
23099
|
-
themeOverrides: {
|
|
23100
|
-
accordions: editorialDividedAccordionSystem,
|
|
23101
|
-
cards: clarityZenCardSystem,
|
|
23102
|
-
testimonialQuote: serifDisplayQuote,
|
|
23103
|
-
bodyText: { intro: {
|
|
23104
|
-
paragraphSize: "default",
|
|
23105
|
-
headingSize: "editorial"
|
|
23106
|
-
} }
|
|
23107
|
-
},
|
|
23108
|
-
defaultBlockVariants: { "block.faq": "split-heading-columns" },
|
|
23109
|
-
recommendedAppearancePresetIds: [
|
|
23110
|
-
"hero-split-editorial",
|
|
23111
|
-
"intro-portrait-bio",
|
|
23112
|
-
"feature-cards-bold-colors",
|
|
23113
|
-
"testimonials-non-carded",
|
|
23114
|
-
"faq-contained-help",
|
|
23115
|
-
"contact-form-panel"
|
|
23116
|
-
],
|
|
23117
|
-
recommendedFooterLookIds: ["footer-links-row"],
|
|
23118
|
-
buttonStyleChoices: [
|
|
23119
|
-
buttonChoice("soft-pill"),
|
|
23120
|
-
buttonChoice("pebble"),
|
|
23121
|
-
buttonChoice("editorial-link")
|
|
23122
|
-
],
|
|
23123
|
-
paletteRecommendations: [
|
|
23124
|
-
paletteRecommendation("soft-natural-lilac"),
|
|
23125
|
-
paletteRecommendation("soft-natural-watercolor"),
|
|
23126
|
-
paletteRecommendation("soft-natural-stone"),
|
|
23127
|
-
paletteRecommendation("warm-neutral-cream")
|
|
23128
|
-
]
|
|
23129
|
-
}),
|
|
23130
|
-
defineCuratedSiteStyle({
|
|
23131
|
-
id: SOFT_EARTH_SITE_STYLE_ID_VALUE,
|
|
23132
|
-
name: "Soft Earth",
|
|
23133
|
-
headingDecoration: {
|
|
23134
|
-
family: "organic-squiggle",
|
|
23135
|
-
colorToken: "primary"
|
|
23136
|
-
},
|
|
23137
|
-
description: "Warm, grounded, and editorial for yoga studios, retreats, and wellbeing communities.",
|
|
23138
|
-
generationBrief: "Use cream space, terracotta CTAs, olive quote bands, natural imagery, generous but composed spacing, and editorial serif headings. Prefer a real intro section, image-led offering cards, warm community quotes, and an FAQ with a full-width intro above two columns of questions when content allows.",
|
|
23139
|
-
offering: {
|
|
23140
|
-
kind: "public",
|
|
23141
|
-
generation: {
|
|
23142
|
-
kind: "site_creator_keyword_heuristic",
|
|
23143
|
-
priority: 45
|
|
23144
|
-
}
|
|
23145
|
-
},
|
|
23146
|
-
selectionKeywordRules: [
|
|
23147
|
-
{
|
|
23148
|
-
kind: "word",
|
|
23149
|
-
value: "meditation"
|
|
23150
|
-
},
|
|
23151
|
-
{
|
|
23152
|
-
kind: "word",
|
|
23153
|
-
value: "wellbeing"
|
|
23154
|
-
},
|
|
23155
|
-
{
|
|
23156
|
-
kind: "substring",
|
|
23157
|
-
value: "retreat"
|
|
23158
|
-
},
|
|
23159
|
-
{
|
|
23160
|
-
kind: "phrase",
|
|
23161
|
-
value: "yoga studio"
|
|
23162
|
-
},
|
|
23163
|
-
{
|
|
23164
|
-
kind: "phrase",
|
|
23165
|
-
value: "mindful movement"
|
|
23166
|
-
}
|
|
23167
|
-
],
|
|
23168
|
-
tokenRecipes: {
|
|
23169
|
-
palette: "warm-neutral",
|
|
23170
|
-
contrast: "standard",
|
|
23171
|
-
radius: "soft",
|
|
23172
|
-
shadow: "subtle",
|
|
23173
|
-
typography: "serif-editorial",
|
|
23174
|
-
spacing: "airy",
|
|
23175
|
-
motion: "subtle"
|
|
23176
|
-
},
|
|
23177
|
-
compositionBudget: balancedBudget,
|
|
23178
|
-
typography: {
|
|
23179
|
-
body: {
|
|
23180
|
-
family: "Inter, system-ui, sans-serif",
|
|
23181
|
-
size: "md",
|
|
23182
|
-
weight: "regular",
|
|
23183
|
-
lineHeight: "relaxed",
|
|
23184
|
-
letterSpacing: "normal"
|
|
23185
|
-
},
|
|
23186
|
-
headings: {
|
|
23187
|
-
default: {
|
|
23188
|
-
family: "\"Cormorant Garamond\", Georgia, serif",
|
|
23189
|
-
weight: "regular",
|
|
23190
|
-
lineHeight: "normal",
|
|
23191
|
-
letterSpacing: "normal",
|
|
23192
|
-
colorToken: "text",
|
|
23193
|
-
italic: null,
|
|
23194
|
-
case: null
|
|
23195
|
-
},
|
|
23196
|
-
h1: {
|
|
23197
|
-
size: "xl",
|
|
23198
|
-
weight: "regular",
|
|
23199
|
-
lineHeight: "normal",
|
|
23200
|
-
letterSpacing: "normal",
|
|
23201
|
-
italic: null
|
|
23202
|
-
},
|
|
23203
|
-
h2: {
|
|
23204
|
-
size: "lg",
|
|
23205
|
-
weight: "regular",
|
|
23206
|
-
lineHeight: "normal",
|
|
23207
|
-
letterSpacing: "normal",
|
|
23208
|
-
italic: null
|
|
23209
|
-
},
|
|
23210
|
-
h3: {
|
|
23211
|
-
size: "md",
|
|
23212
|
-
weight: "regular",
|
|
23213
|
-
lineHeight: "normal",
|
|
23214
|
-
letterSpacing: "normal",
|
|
23215
|
-
italic: null
|
|
23216
|
-
}
|
|
23217
|
-
},
|
|
23218
|
-
scale: "majorThird"
|
|
23219
|
-
},
|
|
23220
|
-
themeOverrides: {
|
|
23221
|
-
bodyText: { intro: {
|
|
23222
|
-
paragraphSize: "default",
|
|
23223
|
-
headingSize: "editorial"
|
|
23224
|
-
} },
|
|
23225
|
-
accordions: softEarthAccordionSystem,
|
|
23226
|
-
testimonialQuote: accentGlyphQuote
|
|
23227
|
-
},
|
|
23228
|
-
defaultBlockVariants: { "block.faq": "question-columns" },
|
|
23229
|
-
recommendedAppearancePresetIds: [
|
|
23230
|
-
"hero-brand-scrim",
|
|
23231
|
-
"feature-cards-raised-rule",
|
|
23232
|
-
"events-lined-panel",
|
|
23233
|
-
"testimonials-non-carded",
|
|
23234
|
-
"contact-form-panel"
|
|
23235
|
-
],
|
|
23236
|
-
recommendedFooterLookIds: ["footer-links-row"],
|
|
23237
|
-
buttonStyleChoices: [
|
|
23238
|
-
buttonChoice("earth-pill"),
|
|
23239
|
-
buttonChoice("soft-pill"),
|
|
23240
|
-
buttonChoice("pebble"),
|
|
23241
|
-
buttonChoice("editorial-link")
|
|
23242
|
-
],
|
|
23243
|
-
paletteRecommendations: [
|
|
23244
|
-
paletteRecommendation("warm-neutral-soft-earth"),
|
|
23245
|
-
paletteRecommendation("warm-neutral-clay"),
|
|
23246
|
-
paletteRecommendation("warm-neutral-forest"),
|
|
23247
|
-
paletteRecommendation("soft-natural-sage")
|
|
23248
|
-
]
|
|
23249
|
-
}),
|
|
23250
22597
|
defineCuratedSiteStyle({
|
|
23251
22598
|
id: "site-style:south-west-twerk-school",
|
|
23252
22599
|
offering: {
|
|
@@ -23346,133 +22693,6 @@ const curatedSiteStyles = [
|
|
|
23346
22693
|
paletteRecommendation("high-contrast-ink")
|
|
23347
22694
|
]
|
|
23348
22695
|
}),
|
|
23349
|
-
defineCuratedSiteStyle({
|
|
23350
|
-
id: "site-style:kirtan-ornate",
|
|
23351
|
-
name: "Kirtan Ornate",
|
|
23352
|
-
headingDecoration: {
|
|
23353
|
-
family: "short-center-rule",
|
|
23354
|
-
colorToken: "accent"
|
|
23355
|
-
},
|
|
23356
|
-
description: "Ceremonial, jewel-toned, and devotional: ornate frames, warm contrast, and composed rhythm for intimate music gatherings.",
|
|
23357
|
-
generationBrief: "Use a deep plum ground with pale gold as the main brand color, rose accent details, cream text, spacious split hero sections, devotional editorial headings, compact event lists, and framed conversion sections. The mood should feel soulful and ceremonial, not gothic or theatrical.",
|
|
23358
|
-
selectionKeywordRules: [
|
|
23359
|
-
{
|
|
23360
|
-
kind: "word",
|
|
23361
|
-
value: "kirtan"
|
|
23362
|
-
},
|
|
23363
|
-
{
|
|
23364
|
-
kind: "word",
|
|
23365
|
-
value: "chanting"
|
|
23366
|
-
},
|
|
23367
|
-
{
|
|
23368
|
-
kind: "word",
|
|
23369
|
-
value: "ceremony"
|
|
23370
|
-
},
|
|
23371
|
-
{
|
|
23372
|
-
kind: "word",
|
|
23373
|
-
value: "devotional"
|
|
23374
|
-
}
|
|
23375
|
-
],
|
|
23376
|
-
tokenRecipes: {
|
|
23377
|
-
palette: "brand-led",
|
|
23378
|
-
contrast: "strong",
|
|
23379
|
-
radius: "soft",
|
|
23380
|
-
shadow: "subtle",
|
|
23381
|
-
typography: "serif-editorial",
|
|
23382
|
-
spacing: "airy",
|
|
23383
|
-
motion: "subtle"
|
|
23384
|
-
},
|
|
23385
|
-
compositionBudget: expressiveBudget,
|
|
23386
|
-
typography: kirtanOrnateTypography,
|
|
23387
|
-
heroTypography: kirtanOrnateHeroTypography,
|
|
23388
|
-
themeOverrides: {
|
|
23389
|
-
accordions: warmInsetAccordionSystem,
|
|
23390
|
-
cards: originalJoyCardSystem,
|
|
23391
|
-
testimonialQuote: serifDisplayQuote,
|
|
23392
|
-
bodyText: { intro: {
|
|
23393
|
-
paragraphSize: "editorial",
|
|
23394
|
-
headingSize: "editorial"
|
|
23395
|
-
} },
|
|
23396
|
-
inputs: ornateDarkInputs
|
|
23397
|
-
},
|
|
23398
|
-
designRuntimeRules: kirtanOrnateDesignRuntimeRules,
|
|
23399
|
-
recommendedAppearancePresetIds: [
|
|
23400
|
-
"hero-brand-scrim-fixed-frame",
|
|
23401
|
-
"events-lined-panel",
|
|
23402
|
-
"schedule-details-brand-depth",
|
|
23403
|
-
"testimonials-statement-cards",
|
|
23404
|
-
"contact-form-panel"
|
|
23405
|
-
],
|
|
23406
|
-
recommendedFooterLookIds: ["footer-links-row"],
|
|
23407
|
-
buttonStyleChoices: [
|
|
23408
|
-
buttonChoice("ornate-ritual"),
|
|
23409
|
-
buttonChoice("joy-stamp"),
|
|
23410
|
-
buttonChoice("ink-stamp")
|
|
23411
|
-
],
|
|
23412
|
-
paletteRecommendations: [
|
|
23413
|
-
paletteRecommendation("warm-dark-kirtan-gold"),
|
|
23414
|
-
paletteRecommendation("warm-dark-ember"),
|
|
23415
|
-
paletteRecommendation("brand-led-burgundy-gold")
|
|
23416
|
-
]
|
|
23417
|
-
}),
|
|
23418
|
-
defineCuratedSiteStyle({
|
|
23419
|
-
id: "site-style:original-joy",
|
|
23420
|
-
offering: {
|
|
23421
|
-
kind: "client",
|
|
23422
|
-
siteSlugs: ["original-joy"]
|
|
23423
|
-
},
|
|
23424
|
-
name: "Original Joy",
|
|
23425
|
-
headingDecoration: {
|
|
23426
|
-
family: "organic-squiggle",
|
|
23427
|
-
colorToken: "primary"
|
|
23428
|
-
},
|
|
23429
|
-
description: "Warm, dark, and editorial: deep clay grounds, cream type, and bold burnt-orange accents for soulful community brands.",
|
|
23430
|
-
generationBrief: "Use a deep brown ground with cream text and burnt-orange accents, large display headings, generous spacing, organic rounded shapes, and bold colour-blocked feature sections. Lead with warmth and belonging; calls to action should feel strong but unhurried.",
|
|
23431
|
-
tokenRecipes: {
|
|
23432
|
-
palette: "brand-led",
|
|
23433
|
-
contrast: "maximum",
|
|
23434
|
-
radius: "rounded",
|
|
23435
|
-
shadow: "subtle",
|
|
23436
|
-
typography: "clean-sans",
|
|
23437
|
-
spacing: "airy",
|
|
23438
|
-
motion: "expressive"
|
|
23439
|
-
},
|
|
23440
|
-
compositionBudget: expressiveBudget,
|
|
23441
|
-
typography: originalJoyTypography,
|
|
23442
|
-
heroTypography: originalJoyHeroTypography,
|
|
23443
|
-
themeOverrides: {
|
|
23444
|
-
accordions: boldBorderedAccordionSystem,
|
|
23445
|
-
cards: originalJoyCardSystem,
|
|
23446
|
-
testimonialQuote: accentGlyphQuote,
|
|
23447
|
-
bodyText: { intro: {
|
|
23448
|
-
paragraphSize: "editorial",
|
|
23449
|
-
headingSize: "editorial"
|
|
23450
|
-
} }
|
|
23451
|
-
},
|
|
23452
|
-
recommendedAppearancePresetIds: ["feature-cards-bold-colors", "testimonials-statement-cards"],
|
|
23453
|
-
footerLookRecipes: { "footer-links-row": {
|
|
23454
|
-
arrangement: "simple",
|
|
23455
|
-
ground: {
|
|
23456
|
-
kind: "token",
|
|
23457
|
-
token: "surface"
|
|
23458
|
-
},
|
|
23459
|
-
nav: {
|
|
23460
|
-
weight: "medium",
|
|
23461
|
-
colorToken: "text",
|
|
23462
|
-
hoverColorToken: "primary",
|
|
23463
|
-
typography: "body"
|
|
23464
|
-
},
|
|
23465
|
-
legal: { bar: null },
|
|
23466
|
-
brandAlign: "start"
|
|
23467
|
-
} },
|
|
23468
|
-
recommendedFooterLookIds: ["footer-links-row"],
|
|
23469
|
-
buttonStyleChoices: [
|
|
23470
|
-
buttonChoice("joy-stamp"),
|
|
23471
|
-
buttonChoice("ink-stamp"),
|
|
23472
|
-
buttonChoice("showtime-pill")
|
|
23473
|
-
],
|
|
23474
|
-
paletteRecommendations: [paletteRecommendation("warm-dark-ember")]
|
|
23475
|
-
}),
|
|
23476
22696
|
defineCuratedSiteStyle({
|
|
23477
22697
|
id: "site-style:fulcrum",
|
|
23478
22698
|
name: "Fulcrum",
|
|
@@ -24554,7 +23774,7 @@ function lookPresentationSurfaces(presentation) {
|
|
|
24554
23774
|
* compared by value, so a transported or re-parsed copy of the same theme still matches.
|
|
24555
23775
|
*/
|
|
24556
23776
|
function lookPresentationOnPalette(presentation, palette) {
|
|
24557
|
-
return lookPresentationSurfaces(presentation).
|
|
23777
|
+
return [...new Set(lookPresentationSurfaces(presentation).map((surface) => surface.revision.palette))].every((decided) => samePalette(decided, palette));
|
|
24558
23778
|
}
|
|
24559
23779
|
function samePalette(decided, expected) {
|
|
24560
23780
|
return decided === expected || [.../* @__PURE__ */ new Set([...Object.keys(decided), ...Object.keys(expected)])].every((key) => decided[key] === expected[key]);
|
|
@@ -41184,6 +40404,10 @@ function registrationStepLabel(step, context) {
|
|
|
41184
40404
|
case "payment": return "Payment";
|
|
41185
40405
|
}
|
|
41186
40406
|
}
|
|
40407
|
+
/** The course's name when the page is a course's own (an offering subject). */
|
|
40408
|
+
function courseTitleOf(subject) {
|
|
40409
|
+
return subject?.kind === "eventOffering" ? subject.title ?? null : null;
|
|
40410
|
+
}
|
|
41187
40411
|
function bookingButtonText(buttonText) {
|
|
41188
40412
|
return buttonText?.trim() || "Book your place";
|
|
41189
40413
|
}
|
|
@@ -41249,11 +40473,19 @@ function formatBookingShortDate(event) {
|
|
|
41249
40473
|
function byStart(left, right) {
|
|
41250
40474
|
return Date.parse(left.startsAt) - Date.parse(right.startsAt);
|
|
41251
40475
|
}
|
|
40476
|
+
/**
|
|
40477
|
+
* The run's name as a fact after the course's: none off a course page, and
|
|
40478
|
+
* none for an unnamed run (one titled as the course), whose dates say it.
|
|
40479
|
+
*/
|
|
40480
|
+
function runName(event, courseTitle) {
|
|
40481
|
+
return courseTitle && event.title !== courseTitle ? event.title : null;
|
|
40482
|
+
}
|
|
41252
40483
|
function singleEntry(event, input) {
|
|
41253
40484
|
const isCourse = event.registrationSubject.kind === "wholeSeries";
|
|
41254
40485
|
return {
|
|
41255
40486
|
kind: "single",
|
|
41256
|
-
title: event.title,
|
|
40487
|
+
title: input.courseTitle ?? event.title,
|
|
40488
|
+
run: runName(event, input.courseTitle),
|
|
41257
40489
|
when: formatRegistrationSchedule(event, null, "long"),
|
|
41258
40490
|
shortWhen: formatRegistrationSchedule(event),
|
|
41259
40491
|
venue: shownVenue(event, input.display),
|
|
@@ -41269,7 +40501,7 @@ function chooseDateEntry(input) {
|
|
|
41269
40501
|
const shown = ordered.slice(0, 4);
|
|
41270
40502
|
return {
|
|
41271
40503
|
kind: "chooseDate",
|
|
41272
|
-
title: first?.title ?? "",
|
|
40504
|
+
title: input.courseTitle ?? first?.title ?? "",
|
|
41273
40505
|
schedule: (first ? formatBookingScheduleSummary(first) : null) ?? (ordered.length === 1 ? "1 date" : `${ordered.length} dates`),
|
|
41274
40506
|
venue: first ? shownVenue(first, input.display) : null,
|
|
41275
40507
|
price: seriesPriceLabel(ordered),
|
|
@@ -41293,9 +40525,9 @@ function idleBookingEntry(input) {
|
|
|
41293
40525
|
if (getEventSelectionMode(input.events) === "date") return chooseDateEntry(input);
|
|
41294
40526
|
return {
|
|
41295
40527
|
kind: "chooseEvent",
|
|
41296
|
-
title: input.events[0]?.title ?? "",
|
|
40528
|
+
title: input.courseTitle ?? input.events[0]?.title ?? "",
|
|
41297
40529
|
count: input.events.length,
|
|
41298
|
-
|
|
40530
|
+
countLabel: input.courseTitle ? `${input.events.length} to choose from` : `${input.events.length} ${input.noun.pluralLabel}`,
|
|
41299
40531
|
action: "Choose an event"
|
|
41300
40532
|
};
|
|
41301
40533
|
}
|
|
@@ -41706,6 +40938,7 @@ const idleBookingEntrySchema = z.discriminatedUnion("kind", [
|
|
|
41706
40938
|
z.object({
|
|
41707
40939
|
kind: z.literal("single"),
|
|
41708
40940
|
title: z.string(),
|
|
40941
|
+
run: z.string().nullable(),
|
|
41709
40942
|
when: z.string().nullable(),
|
|
41710
40943
|
shortWhen: z.string().nullable(),
|
|
41711
40944
|
venue: z.string().nullable(),
|
|
@@ -41735,7 +40968,7 @@ const idleBookingEntrySchema = z.discriminatedUnion("kind", [
|
|
|
41735
40968
|
kind: z.literal("chooseEvent"),
|
|
41736
40969
|
title: z.string(),
|
|
41737
40970
|
count: z.number(),
|
|
41738
|
-
|
|
40971
|
+
countLabel: z.string(),
|
|
41739
40972
|
action: z.string()
|
|
41740
40973
|
})
|
|
41741
40974
|
]);
|
|
@@ -41768,7 +41001,8 @@ function idleEntry(source, scopedSourceEvents, display) {
|
|
|
41768
41001
|
display,
|
|
41769
41002
|
buttonText: source.buttonText,
|
|
41770
41003
|
noun: nounFor(scoped, source.bookingOfferingPresets),
|
|
41771
|
-
attendanceMode: null
|
|
41004
|
+
attendanceMode: null,
|
|
41005
|
+
courseTitle: courseTitleOf(source.subject)
|
|
41772
41006
|
});
|
|
41773
41007
|
}
|
|
41774
41008
|
/** The server's card on CMS pages, or null where the shell still applies. */
|
|
@@ -46046,7 +45280,7 @@ const eventCalendarBlockRuntime = defineProgressiveBlockRuntime({
|
|
|
46046
45280
|
display: display.listBy === "week" ? {
|
|
46047
45281
|
...display,
|
|
46048
45282
|
events: eventListWindowEvents(display.events, buildEventListWeek(hydration.calendarContext.initialToday, display.startOfWeek, hydration.calendarContext.timeZone))
|
|
46049
|
-
} : display,
|
|
45283
|
+
} : plan.jobs === "list" || plan.jobs === "both" ? firstListPage(display) : display,
|
|
46050
45284
|
hydration
|
|
46051
45285
|
};
|
|
46052
45286
|
}
|
|
@@ -46090,6 +45324,17 @@ function weekListPaging(source) {
|
|
|
46090
45324
|
sectionAction: void 0
|
|
46091
45325
|
} : {};
|
|
46092
45326
|
}
|
|
45327
|
+
/**
|
|
45328
|
+
* A list seed is its first page: the list slices to one page before its pager sees the events,
|
|
45329
|
+
* and the pager reads later pages from the server after the last one it holds. The rest of the
|
|
45330
|
+
* read would only be sent to the browser and dropped. The calendar tab has its own window.
|
|
45331
|
+
*/
|
|
45332
|
+
function firstListPage(display) {
|
|
45333
|
+
return display.events.length > display.eventsPerPage ? {
|
|
45334
|
+
...display,
|
|
45335
|
+
events: display.events.slice(0, display.eventsPerPage)
|
|
45336
|
+
} : display;
|
|
45337
|
+
}
|
|
46093
45338
|
/** The week presentation owns the series projection and its independent header action. */
|
|
46094
45339
|
function calendarRecurringWeekPresentation(source) {
|
|
46095
45340
|
return {
|