@riverbankcms/sdk 0.174.0 → 0.174.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-GqVX3I8E.d.ts → BlocksIslandsHydrator-YRmc-Yxz.d.ts} +1 -1
- package/dist/_dts/{Page-BhUH31M-.d.ts → Page-Du0zX1B-.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DBn2x0UL.d.ts → SdkPreviewMode-4L8v3FkY.d.ts} +2 -2
- package/dist/_dts/{client-Cr-sOeSl.d.ts → client-B1J6Akyf.d.ts} +1 -1
- package/dist/_dts/{content-types-DKw1yJdN.d.ts → content-types-CGGYI0u_.d.ts} +2 -2
- package/dist/_dts/{contracts-CJ2O03nB.d.ts → contracts-CHMlw9hT.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-DoGHHKr_.d.ts → footerPageOutline-DIHSU1Vr.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-CJGu4hoa.d.ts → generatePageMetadata-JITXD6BU.d.ts} +2 -2
- package/dist/_dts/{index-Bq-488M7.d.ts → index-BLEKFHt1.d.ts} +1 -1
- package/dist/_dts/{index-DYsP4k6S.d.ts → index-BgOr1Xyz.d.ts} +3 -3
- package/dist/_dts/{index-DQZ5L0Gb.d.ts → index-CF62FntA.d.ts} +2 -2
- package/dist/_dts/{index-3GzargmS.d.ts → index-CXZSy_9M.d.ts} +2 -2
- package/dist/_dts/{index-DYlfdT1O.d.ts → index-D9ZYmGAJ.d.ts} +1 -1
- package/dist/_dts/{index-DdEi2iXd.d.ts → index-DpJm0NpL.d.ts} +4 -4
- package/dist/_dts/{index--39uLjrr.d.ts → index-yWDbUojb.d.ts} +1 -1
- package/dist/_dts/{loadContent-BVPagYmy.d.ts → loadContent-M-s0p0rq.d.ts} +7 -7
- package/dist/_dts/{request-Be1E-H-V.d.ts → request-BK-pHf0P.d.ts} +449 -118
- package/dist/_dts/{resolveBlockData-D1pL25bD.d.ts → resolveBlockData-DZAlnhwt.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-B4sbTf96.d.ts → resolvePageContent-DXUCWJ3y.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 +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/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-5MeDI1w8.d.ts → types-CwmB2NHU.d.ts} +7 -7
- package/dist/_dts/{types-Bm5_3VEd.d.ts → types-DjVNADXR.d.ts} +3 -3
- package/dist/_dts/{types-CVoCc_Ia.d.ts → types-Dmow_FI6.d.ts} +2 -2
- package/dist/_dts/{validation-lEtYD-Rh.d.ts → validation-h8t1HLlL.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DkflFLGQ.mjs → BlocksIslandsHydrator-DRVx_XLi.mjs} +16 -16
- package/dist/client/{BookingMailingListNote-CAyoiAGD.mjs → BookingMailingListNote-CwrMzj-k.mjs} +2 -2
- package/dist/client/{BookingPanelArrangement-C7yiJrxm.mjs → BookingPanelArrangement-C2_hFT6K.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-BPQU5Snc.mjs → CalendarNavigationChevron-Az1-TIEI.mjs} +4 -4
- package/dist/client/{DemoBookingPortalAccess-BnEgvJas.mjs → DemoBookingPortalAccess-1p-pJ1lg.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BiWQc28-.mjs → EventCalendar.client-CDkkP-Lv.mjs} +8 -8
- package/dist/client/{EventCombined.client-B_ytWQtn.mjs → EventCombined.client-DK3aaz62.mjs} +5 -5
- package/dist/client/{EventItem-C-mxXpX_.mjs → EventItem-WeUipfIP.mjs} +3 -3
- package/dist/client/{EventListWeekNavigation-Bm3Ap1Rd.mjs → EventListWeekNavigation-D3sbAeDo.mjs} +1 -1
- package/dist/client/{EventListing.client-Bs_8im5_.mjs → EventListing.client-DL3gGGmF.mjs} +3 -3
- package/dist/client/{EventListing.view-CN7BjGgC.mjs → EventListing.view-DKFImKOx.mjs} +5 -5
- package/dist/client/{EventRegistrationPayment-DPkRcSdw.mjs → EventRegistrationPayment-Dn9TpWyL.mjs} +39 -13
- package/dist/client/{Page--xJ23nA5.mjs → Page-BpeP9xdt.mjs} +58 -1011
- package/dist/client/{StepIndicator-D391QRNc.mjs → StepIndicator-CP6zrwkl.mjs} +4 -241
- package/dist/client/{accordion-BQtTkDN8.mjs → accordion-nR7D4m1a.mjs} +1 -1
- package/dist/client/{booking-form.client-D9M7TKGV.mjs → booking-form.client-Ce-mQZ7W.mjs} +6 -6
- package/dist/client/{bookingForm-BsOS0sl9.mjs → bookingForm-B-qT_AQB.mjs} +3 -3
- package/dist/client/bookings.mjs +3 -3
- package/dist/client/{boxStyleClassNames-CNDLpT06.mjs → boxStyleClassNames-CrE3TDpW.mjs} +2 -29
- package/dist/client/{carousel-CPsW-FPh.mjs → carousel-CVUOatsY.mjs} +1 -1
- package/dist/client/{cart-CwElmocm.mjs → cart-DE0K6E0R.mjs} +3 -3
- package/dist/client/{cart.client-RpqI56w8.mjs → cart.client-C23E6WQ5.mjs} +1 -1
- package/dist/client/{checkout-CfMgqY8H.mjs → checkout-76cdHyPL.mjs} +3 -3
- package/dist/client/{checkout.client-BpuPyOuJ.mjs → checkout.client-DJOzqb26.mjs} +1 -1
- package/dist/client/{checkoutUrls-VeHY6WYj.mjs → checkoutUrls-CvIP5DCO.mjs} +1 -1
- package/dist/client/client.mjs +4 -3
- package/dist/client/{course-q1sA4Cj-.mjs → course-DHIrXqNT.mjs} +1 -1
- package/dist/client/{display-D8MW2b0e.mjs → display-Cf_j5stk.mjs} +1972 -382
- package/dist/client/{enhanceHeaderSection-BzjY6AiY.mjs → enhanceHeaderSection-5GD5o4Mt.mjs} +3 -3
- package/dist/client/{event-details.client-CseTWUFC.mjs → event-details.client-D7Oz1q2L.mjs} +1 -1
- package/dist/client/{event-registration.client-b5TLxntR.mjs → event-registration.client-zbuX36aA.mjs} +133 -127
- package/dist/client/{eventCalendar-C-kJNIc9.mjs → eventCalendar-uZrksODt.mjs} +3 -3
- package/dist/client/{eventCombined-BgHJGhwE.mjs → eventCombined-DxhvNAx8.mjs} +3 -3
- package/dist/client/{eventDetails-CAwbreD0.mjs → eventDetails-DCIH4BYG.mjs} +2 -2
- package/dist/client/{eventListing-_14atrj8.mjs → eventListing-B9KrnPvc.mjs} +3 -3
- package/dist/client/{eventRegistration-BOqSdstJ.mjs → eventRegistration-TjnURMKl.mjs} +3 -3
- package/dist/client/{form-DfAB-llc.mjs → form-CfqIAhfN.mjs} +2 -2
- package/dist/client/{form.client-DN-I9_qC.mjs → form.client-CL6fF0cW.mjs} +2 -2
- package/dist/client/{form.parts-t2Q1neM6.mjs → form.parts-Bf-L66Gg.mjs} +1 -1
- package/dist/client/{headerSection-Dces54pb.mjs → headerSection-WVXtOcuW.mjs} +2 -2
- package/dist/client/{newsletter-form.client-D_YFUlR2.mjs → newsletter-form.client-Bb7GAZpO.mjs} +3 -3
- package/dist/client/{newsletter-form.parts-URO5Mn_I.mjs → newsletter-form.parts-BqOVRdIc.mjs} +1 -1
- package/dist/client/{newsletterForm-_c9fKIzS.mjs → newsletterForm-DOVe-qY3.mjs} +2 -2
- package/dist/client/{product-detail.client-CVW1UIxJ.mjs → product-detail.client-CNzeFnFf.mjs} +1 -1
- package/dist/client/{product-list.client-CF9hO23G.mjs → product-list.client-LKpzC7pj.mjs} +1 -1
- package/dist/client/{productDetail-C_qbmUuP.mjs → productDetail-D2JNeEgx.mjs} +3 -3
- package/dist/client/{productList-Df5qDD0z.mjs → productList-DTgZXOEq.mjs} +3 -3
- package/dist/client/{propsDecoder-BiEyK2ii.mjs → propsDecoder-mpBQt2AT.mjs} +2 -2
- package/dist/client/{registry.server-ClcfWpvM.mjs → registry.server-DdTJyar2.mjs} +19 -37
- package/dist/client/rendering/client.mjs +20 -20
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -6
- package/dist/client/{routeIslandApiConfig-DAypPzSo.mjs → routeIslandApiConfig-8cfSgT0E.mjs} +1 -1
- package/dist/client/{shop-gteEpeO5.mjs → shop-5LBhftWx.mjs} +3 -3
- package/dist/client/{shop-commerce-Bw4_BXQg.mjs → shop-commerce-DkValjZj.mjs} +8 -8
- package/dist/client/{shop-commerce-store-Da6Ah-_4.mjs → shop-commerce-store-BOmXFmk_.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-DidgH7ow.mjs → shop-discount-apply.state-D0ifS6KX.mjs} +1 -1
- package/dist/client/{shop.client-CbbdjWWd.mjs → shop.client-BTtZqNmv.mjs} +8 -8
- package/dist/client/{shop.interactive-CKFORzux.mjs → shop.interactive-DNRqG4aX.mjs} +6 -5
- package/dist/client/{shopShared-C7QjoywZ.mjs → shopShared-Nky6kPYr.mjs} +1 -1
- package/dist/client/{timetableModel-CtZiIj9q.mjs → timetableModel-DZArznD_.mjs} +5 -142
- package/dist/client/{useDiscountApply-BZU5DWZQ.mjs → useDiscountApply-BBnStWXU.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-BuLgof7O.mjs → useDiscountCodeUi-d7viY_mu.mjs} +1 -1
- package/dist/client/{useEventPagination-B4VPtSEF.mjs → useEventPagination-Da2JqxGC.mjs} +4 -4
- package/dist/client/{view-CvlTplao.mjs → view-BvuYmQJ5.mjs} +2 -2
- package/dist/client/{view-CxUpgcM6.mjs → view-D9ObkFtz.mjs} +5 -6
- package/dist/preview-next/client/{PageSectionToolbar-BFbSrDbi.mjs → PageSectionToolbar-DwxHT-2k.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-BtpzqQ-i.mjs → PreviewEditorSidebar-D4SBxGU6.mjs} +9 -9
- package/dist/preview-next/client/{PreviewEditorUI-z22h-CCY.mjs → PreviewEditorUI-D8mUct32.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-BW3Qpoa_.mjs → PreviewShell-L2AEdNUQ.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BvVeK1hR.mjs → SdkPreviewModeRuntime-bhVAU2D2.mjs} +5 -5
- package/dist/preview-next/client/{previewAssistantSlot-BUqAh1FL.mjs → previewAssistantSlot-Jpj_HDra.mjs} +852 -610
- package/dist/preview-next/client/{previewChromeRoot-NCy5zHO8.mjs → previewChromeRoot-CYTDvx4u.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CxmKDVGZ.mjs → sdk-runtime-CZHX6J_4.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-B_UaDyJO.mjs → siteStyleAccess-DmGIG9Hk.mjs} +3 -3
- package/dist/preview-next/client/{useAutosaveStatus-BqmWvPLY.mjs → useAutosaveStatus-DQCyswQ-.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-LAllV0rU.mjs → useOpenBlockForSetup-LwE5yXvL.mjs} +13 -2
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-DV6SeCNv.mjs → route-contract-BOuNcOcN.mjs} +1 -0
- package/dist/server/{Block.shared-Ch2FKAvU.mjs → Block.shared-wfJfhs08.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-DFvjDVzi.mjs → ThemeScopeCore-BtrJNHTB.mjs} +1 -1
- package/dist/server/{bindings-CQg2lzZn.mjs → bindings-P1CF2Gm6.mjs} +4 -4
- package/dist/server/{client-aYRTVneD.mjs → client-CGtU5fHI.mjs} +2 -1
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-Cgpfr44e.mjs → loadContent-ChnkJSay.mjs} +4 -4
- package/dist/server/{loadPage-RDk10NMP.mjs → loadPage-DesHhgxj.mjs} +2 -2
- package/dist/server/{lookMediaFrame-CQtkvlDn.mjs → lookMediaFrame-BBr0mkze.mjs} +106 -8
- package/dist/server/next.mjs +6 -6
- package/dist/server/{overrideResolution-VhhN94d8.mjs → overrideResolution-DHEkHcZs.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-CkFTsxkd.mjs → pageRenderPlan-0jvm0RBk.mjs} +13 -323
- package/dist/server/{pageRuntimeSupport-CpAtzNxD.mjs → pageRuntimeSupport-8-f1Zr9e.mjs} +1 -1
- package/dist/server/{pageShared-B8yLPjs0.mjs → pageShared-CuVFoV4z.mjs} +7 -243
- package/dist/server/{prebuild-DOu6QceG.mjs → prebuild-Bms_Y7wQ.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CfOXFKYG.mjs → prefetchBlockData-5oC5kyHe.mjs} +2 -2
- package/dist/server/{registry-34rkAfaU.mjs → registry-DmqxC8th.mjs} +663 -48
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-D7VeoWgr.mjs → resolveBlockData-EYogtwQc.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/{validation-CLVKoJrX.mjs → validation-Bt_8IL1g.mjs} +3 -3
- package/dist/server/{version-HVfdvBJ0.mjs → version-DT_efohp.mjs} +1 -1
- package/dist/styles/index.css +66 -20
- package/package.json +1 -1
- package/dist/client/bookability-CE637yDE.mjs +0 -17
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { B as OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE, Cn as parseMailingListPlacementTargeting, Dn as parseContentVersionId, En as sameMailingListPlacementTargeting, G as isOfferingsPreviewSourceKey, H as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, Ht as cardListPresentationSchemaShape, K as normalizeOfferingsPreviewContentForWrite, R as OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS, W as groupOfferingRunsByCourse, X as readOfferingsGrouping, Y as offeringsListingFor, Zt as buildEventListWeek, bt as recurringScheduleProjectionSchema, ct as occurrenceContextSchema, gn as resolveHeaderChromeRuntimeContract, hn as isHeaderScrollRuntimeEnabled, on as formatEventStartingPrice, qt as quickFactSlots, vn as parseHeaderPositioning, xn as buildMailingListSignupBlockSourceRef, xt as combinedLookSchema, yn as planSiteChromePlacement, yt as projectRecurringSchedule } from "./shop.interactive-
|
|
2
|
+
import { B as OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE, Cn as parseMailingListPlacementTargeting, Dn as parseContentVersionId, En as sameMailingListPlacementTargeting, G as isOfferingsPreviewSourceKey, H as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, Ht as cardListPresentationSchemaShape, K as normalizeOfferingsPreviewContentForWrite, R as OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS, W as groupOfferingRunsByCourse, X as readOfferingsGrouping, Y as offeringsListingFor, Zt as buildEventListWeek, bt as recurringScheduleProjectionSchema, ct as occurrenceContextSchema, gn as resolveHeaderChromeRuntimeContract, hn as isHeaderScrollRuntimeEnabled, on as formatEventStartingPrice, qt as quickFactSlots, vn as parseHeaderPositioning, xn as buildMailingListSignupBlockSourceRef, xt as combinedLookSchema, yn as planSiteChromePlacement, yt as projectRecurringSchedule } from "./shop.interactive-DNRqG4aX.mjs";
|
|
3
3
|
import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, r as indexRenderableMediaAssets } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
4
|
-
import { $
|
|
5
|
-
import { A as eventListTreatmentValues, At as decideLocationSourcePermission, Bt as formatDate, Dt as isRecord$9, F as tileTreatmentValues, Ft as publicLocationSchema,
|
|
4
|
+
import { $o as gradientToCss, $s as opaqueSurfaceContextFromTheme, Ao as automaticArrangementLook, Ar as resolveArrangementKnobs, As as applyLookPhotoTreatment, Ba as normalizeEventRegistrationPageSurfaceSubject, Bo as resolvePublishedLook, Br as runTransforms, Bs as assertNever$1, Cc as siteChromeBackgroundOverrideOwner, Co as resolveLookSurfacePresentation, Cs as isDecorativeTransitionIntent, Dc as asPageFlowPresetId, Do as arrangementAppearancePresets, Ds as transitionIntentForTreatment, Ea as resolveDateRuntimeContext, Ec as asLayoutVariantKey, Eo as resolveLookMediaFrame, Es as spaciousBoundaryOption, Fo as styleSectionBackgroundForColour, Fr as uiTransforms, Fs as sectionSurfaceBase, Gs as designIssueSeverityForPolicy, Ho as deriveSiteStyleBlockPolicy, Hs as defineExactCatalog, Io as arrangementManifestFromVariants, Ir as SECTION_STATE_KINDS, Is as stripStaleTransitionStyleGroup, Jo as requireCuratedSiteStyle, Js as offeringsPreviewCompositionTreatmentValues, Kr as eventCalendarWeekStart, Ks as featureCardCompositionTreatmentValues, Lo as readStoredMode, Lr as sectionStateToneFromKind, Ls as themeV2CompilerOwnedFieldNames, Mc as isRecord$8, Mo as getCompatibleBlockAppearancePresets, Mr as createImageShapeField, Ms as parseCanonicalRuntimeBackground, No as resolveArrangementLookForBlock, Nr as heroTitleSizeOptions, Ns as resolveSectionBackground, Oc as asSiteStyleId, Oo as arrangementLookHooks, Os as anglePolygonCss, Po as resolveLookForBlock, Pr as createAspectRatioField, Ps as sectionForegroundBackground, Qs as toNonEmptyReadonlyArray, Ro as resolveEffectiveArrangement, Rr as asPartialObject, Sc as asHeaderStyleId, So as lookPresentationOnPalette, Ss as boundaryTreatmentForBoundaryOptionId, Ta as readRuntimeNow, Tc as asDesignBlockId, To as generateLookMediaFrameCss, Ts as softBoundaryOption, Uo as filterLayoutProfilesForPolicy, Ur as parseInlineTextFromUnknown, Us as defineFrameCapability, Vr as inlineTextToPlainText, Vs as defineBlockDesignCapability, Wo as filterLookIdsForPolicy, Wr as plainTextToInlineText, Ws as defineNoBlockDesignCapability, Xc as formatBookingPriceDisplay, Xs as sectionBackgroundPaintValues, Yo as compilePageRuntimeFields, Ys as plainFrame, Zo as stripCompiledRuntimeStyleFields, Zs as testimonialsCompositionTreatmentValues, _s as sectionShapeFromContent, ac as parseBlockColorToken, as as getNavLinkPreset, bc as parseGradientPresetId, bo as resolvedItemSurfaceProps, br as MediaPlaceholder, bs as boundaryOptions, cc as headerVariantValues, cs as generateEffectsCSS, ds as navLinkOwnsHoverForeground, ec as opaqueSurfaceDeclarations, es as getGradientPreset, fc as boxBackgroundSchema, fs as navLinkOwnsUnderline, gc as cardVariantRoleValues, gs as sectionShapeForGround, hs as resolvePageDesignBoundaryChoice, ic as TokenResolver, is as footerForegroundCandidates, jo as compileArrangementLookRuntime, jr as systemCustomizeFacetDefinitionsForBlock, js as deriveSectionGround, kc as makeBoundaryId, ko as arrangementStyleAvailability, ks as transitionCatalogueEntries, lc as blockCustomCssRuleSchema, ls as generateInteractiveChildInheritanceCSS, ms as resolvePageDesignBlockLookChoice, nc as surfaceToneFromForegroundToken, ns as generateDefaultCardSystem, oc as sectionStylesOverrideSchema, os as buildTextContrastShadow, pc as runtimeBoxBackgroundSchema, qo as getCuratedSiteStyle, qs as introCompositionTreatmentValues, rc as arrangementSlotNames, rs as generateFooterCss, sc as themeSchema, ss as generateNavLinkCSS, tc as selectLogoVariant, ts as resolveCardRole, uc as customCssRuleSchema, us as navLinkHoverColorCandidate, vs as sectionShapeHook, wa as isBlockButtonRole, wo as selectItemSurfacePresentation, ws as noneBoundaryOption, xc as asHeaderLayoutId, xo as itemRole, xr as computeMediaTransformStyle, xs as boundaryRuntimeMetricsForDecorativeTransition, yc as surfaceCardRoleValues, ys as boundaryOptionForTransitionIntent, zo as resolveModeArrangement, zr as createTransformRegistry, zs as lookModes } from "./display-Cf_j5stk.mjs";
|
|
5
|
+
import { A as eventListTreatmentValues, At as decideLocationSourcePermission, Bt as formatDate, Dt as isRecord$9, F as tileTreatmentValues, Ft as publicLocationSchema, L as eventVenueDrawingSchema, Nt as parseLocationValue, P as isArrangementMode, Pt as projectPublicLocation, Q as isRichTextDoc, Rt as trimmedStringOrNull, V as publicEventsArraySchema, W as bookingConsentCarrierSchema, Y as RichTextDocSchema, a as eventAutoApplyDiscountPreviewSchema, an as resolveBookingBusinessTimeZone, g as eventCalendarListGroupingDecision, h as resolveCalendarReadProfile, it as runtimeMediaSchema, jt as locationValueSchema, kt as WHOLE_SERIES_EVENT_PRESET_VALUES, ln as toUtcIsoDateTimeString, nn as getLocalScheduleDate, nt as mediaSchema, o as publicMembershipProductCollectionSchema, ot as PUBLIC_FILE_FIELD_KINDS, s as publicPassProductCollectionSchema, t as logger, w as resolveEventCalendarReadPlan, yt as calendarWindowQuerySchema, z as publicEventPricingSchema } from "./noop-D5mFWXtN.mjs";
|
|
6
6
|
import { A as assertNever$2 } from "./creditProducts-KYMVIH3J.mjs";
|
|
7
|
-
import { $ as backgroundFrame, $t as chosenString, A as mapDrawingStyleBinding, An as ICON_SIZE_PX, At as cardListKnobFields, B as normalizeMailingListBlockContent, Bt as parseFieldDefinitions, C as checkoutBlockDefinition, Cn as createButtonGroup, Ct as repeat, D as shopBlockDefinition, Dn as ACCORDION_TRIGGER_FONT_SCALE, Dt as text, E as productListBlockDefinition, En as ACCORDION_SPACING_MAP, Et as stack, Fn as resolveRepeaterGridColumnFieldId, Ft as parseBlockIconValue, G as withApiBindings, Gt as eventReadinessQueryKeys, H as formDataSchema, Ht as augmentManifest, In as resolveRepeaterGridRowFieldId, It as createSdkSelectField, J as sectionHeaderLayoutNodes, Jt as eventDiscoveryFilterKeys, K as formCopyFragment, Kt as eventReadinessResultSchema, L as desktopOnlyDisplay, Ln as resolveRepeaterGridSpanFieldId, Lt as createSiteOptionSelectField, M as FEATURE_CARD_GENERATED_ICON_SIZE_PX, Mn as DEFAULT_MEDIA_FIELD_KINDS, Mt as cardListPresentationBindings, N as FEATURE_CARD_ICON_TREATMENTS, Nn as isAcceptedRepeaterGridSpan, Nt as cardListSectionActionFields, O as eventCalendarBlockDefinition, On as ACCORDION_TRIGGER_LETTER_SPACING, Ot as videoEmbed, Pn as parseRepeaterGridInteger, Pt as normalizeCardListContent, Q as sectionContainer, Qt as resolveEventScope, R as mobileOnlyDisplay, Rn as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, Rt as normalizeSelectSource, S as giftingBlockDefinition, Sn as getAnchorClasses, St as props, T as productDetailBlockDefinition, Tn as ACCORDION_OPEN_ACCENT_THICKNESS, Tt as section, U as createBlockManifest, Ut as eventReadinessLoaderKey, V as formBlockDefinition, Vt as PUBLIC_DOWNLOAD_MEDIA_TYPES, W as formEmbedFragment, Wt as eventReadinessQuery, X as styledSection, Xt as eventScopeQuery, Y as resolveBackgroundColorValue, Yt as eventScopeLoaderParam, Z as styledContainer, Zt as eventScopeQueryKeys, _ as publicAppointmentLocationSchema, _n as layoutField, _t as headerSection, a as buildLoadedOfferingsPreviewListing, an as loadedReadinessFact, at as lookLeadSlotTransform, b as newsletterSignupBlockDefinition, bn as sectionStylesField, bt as link, cn as LOCATION_MAP_DEFAULTS, ct as lookSlot, dn as normalizeLocationMapSource, dt as bookingForm, en as galleryReadiness, et as buildFragmentDataLoaders, fn as resolveLocationMapLocation, ft as button, g as formatAppointmentPrice, gn as eventDisplayFields, gt as form, h as formatAppointmentLocation, hn as emptyStateField, ht as fileDownload, in as hiddenFromVisitors, it as lookCarouselRegionTransform, j as eventRegistrationBlockDefinition, jn as bindingSchema, jt as cardListPhotoNumberFields, k as eventListingBlockDefinition, kn as ICON_CONFIG, kt as when, ln as LOCATION_MAP_LIMITS, lt as accordionList, m as formatAppointmentDuration, mn as columnsField, mt as el, nn as testimonialsReadiness, nt as defineFragment, on as pageTemplateFromEntry, ot as lookQuoteLimitTransform, p as SectionNode, pn as cardStylingFields, pt as carousel, q as sectionHeaderFields, qt as eventWeekReadScope, rn as admitReadinessFacts, rt as cardListSectionAction, s as buildAppointmentServicesView, sn as unavailableReadinessFact, st as lookSkinSlotTransform, t as serverComponentRegistry, tn as teamReadiness, tt as composeFragments, un as normalizeLocationMapProps, ut as bind, v as publicAppointmentPricingSchema, vn as cardStylesField, vt as icon, w as cartBlockDefinition, wn as createButtonVariantField, wt as richText, x as sanitizeNewsletterSignupPublicContent, xn as BACKGROUND_POSITION_PRESET_VALUES, xt as media, y as offeringCourseSlotParents, yn as containerStylesField, yt as inline, z as teamMemberCardBiographyFallback, zn as linkSchema, zt as parseFieldDefinition } from "./registry.server-
|
|
8
|
-
import { g as plainTextToInlineText, h as parseInlineTextFromUnknown, m as inlineTextToPlainText, p as coerceInlineTextWithFallback } from "./timetableModel-CtZiIj9q.mjs";
|
|
7
|
+
import { $ as backgroundFrame, $t as chosenString, A as mapDrawingStyleBinding, An as ICON_SIZE_PX, At as cardListKnobFields, B as normalizeMailingListBlockContent, Bt as parseFieldDefinitions, C as checkoutBlockDefinition, Cn as createButtonGroup, Ct as repeat, D as shopBlockDefinition, Dn as ACCORDION_TRIGGER_FONT_SCALE, Dt as text, E as productListBlockDefinition, En as ACCORDION_SPACING_MAP, Et as stack, Fn as resolveRepeaterGridColumnFieldId, Ft as parseBlockIconValue, G as withApiBindings, Gt as eventReadinessQueryKeys, H as formDataSchema, Ht as augmentManifest, In as resolveRepeaterGridRowFieldId, It as createSdkSelectField, J as sectionHeaderLayoutNodes, Jt as eventDiscoveryFilterKeys, K as formCopyFragment, Kt as eventReadinessResultSchema, L as desktopOnlyDisplay, Ln as resolveRepeaterGridSpanFieldId, Lt as createSiteOptionSelectField, M as FEATURE_CARD_GENERATED_ICON_SIZE_PX, Mn as DEFAULT_MEDIA_FIELD_KINDS, Mt as cardListPresentationBindings, N as FEATURE_CARD_ICON_TREATMENTS, Nn as isAcceptedRepeaterGridSpan, Nt as cardListSectionActionFields, O as eventCalendarBlockDefinition, On as ACCORDION_TRIGGER_LETTER_SPACING, Ot as videoEmbed, Pn as parseRepeaterGridInteger, Pt as normalizeCardListContent, Q as sectionContainer, Qt as resolveEventScope, R as mobileOnlyDisplay, Rn as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, Rt as normalizeSelectSource, S as giftingBlockDefinition, Sn as getAnchorClasses, St as props, T as productDetailBlockDefinition, Tn as ACCORDION_OPEN_ACCENT_THICKNESS, Tt as section, U as createBlockManifest, Ut as eventReadinessLoaderKey, V as formBlockDefinition, Vt as PUBLIC_DOWNLOAD_MEDIA_TYPES, W as formEmbedFragment, Wt as eventReadinessQuery, X as styledSection, Xt as eventScopeQuery, Y as resolveBackgroundColorValue, Yt as eventScopeLoaderParam, Z as styledContainer, Zt as eventScopeQueryKeys, _ as publicAppointmentLocationSchema, _n as layoutField, _t as headerSection, a as buildLoadedOfferingsPreviewListing, an as loadedReadinessFact, at as lookLeadSlotTransform, b as newsletterSignupBlockDefinition, bn as sectionStylesField, bt as link, cn as LOCATION_MAP_DEFAULTS, ct as lookSlot, dn as normalizeLocationMapSource, dt as bookingForm, en as galleryReadiness, et as buildFragmentDataLoaders, fn as resolveLocationMapLocation, ft as button, g as formatAppointmentPrice, gn as eventDisplayFields, gt as form, h as formatAppointmentLocation, hn as emptyStateField, ht as fileDownload, in as hiddenFromVisitors, it as lookCarouselRegionTransform, j as eventRegistrationBlockDefinition, jn as bindingSchema, jt as cardListPhotoNumberFields, k as eventListingBlockDefinition, kn as ICON_CONFIG, kt as when, ln as LOCATION_MAP_LIMITS, lt as accordionList, m as formatAppointmentDuration, mn as columnsField, mt as el, nn as testimonialsReadiness, nt as defineFragment, on as pageTemplateFromEntry, ot as lookQuoteLimitTransform, p as SectionNode, pn as cardStylingFields, pt as carousel, q as sectionHeaderFields, qt as eventWeekReadScope, rn as admitReadinessFacts, rt as cardListSectionAction, s as buildAppointmentServicesView, sn as unavailableReadinessFact, st as lookSkinSlotTransform, t as serverComponentRegistry, tn as teamReadiness, tt as composeFragments, un as normalizeLocationMapProps, ut as bind, v as publicAppointmentPricingSchema, vn as cardStylesField, vt as icon, w as cartBlockDefinition, wn as createButtonVariantField, wt as richText, x as sanitizeNewsletterSignupPublicContent, xn as BACKGROUND_POSITION_PRESET_VALUES, xt as media, y as offeringCourseSlotParents, yn as containerStylesField, yt as inline, z as teamMemberCardBiographyFallback, zn as linkSchema, zt as parseFieldDefinition } from "./registry.server-DdTJyar2.mjs";
|
|
9
8
|
import { $ as solveSurfaceInks, A as DEFAULT_BUTTON_SIZES, C as buttonRadius, Ct as resolveOpaqueSurfaceHex, D as materializeRuntimeButtonAppearance, Dt as contrastRatio, E as buttonTypographyDeclarations, Ft as rgbToHex, G as mergeStyles, H as backgroundColorStyle, It as srgbToOklab, J as textColorValue, K as rgbColorValue, L as mapButtonVisualAppearances, M as FONT_SIZE_MAP, Mt as oklabToOklch, N as generateShadowValue$1, Nt as oklabToSrgb, O as paddingDeclarations, Pt as oklchToHexGamut, S as buttonBorder, St as resolveConcreteColorHex, T as buttonStateAppearanceDeclarations, U as borderColorStyle, W as cssVarValue, X as safeTokenOr, Y as resolveSurfaceForeground, Z as surfaceInkPublication, _t as surfaceInkDeclarations, at as inkReference, b as BUTTON_CONTRAST_POLICY, bt as freezeOwnedThemeValue, ct as planForegroundHover, dt as SURFACE_INK_CSS_VARS, f as compositeHex, ft as surfaceForegroundDeclarations, g as actionVariableFallback, gt as surfaceForegroundValueWithOpacity, ht as surfaceForegroundValue, it as contrastThresholdByPolicy, jt as hexToRgb, k as BORDER_WIDTH_MAP, l as surfaceDecorationColors, lt as DEFAULT_SURFACE_TEXT_COLOR, mt as surfaceForegroundStyle, n as parseSurfaceTree, nt as HOVER_TEXT_THRESHOLD, o as resolveSurface, ot as expandPalette, pt as surfaceForegroundInputFromResolved, q as textColorStyle, r as prepareSurfaceIndex, rt as certifyPaint, ut as SURFACE_FOREGROUND_CSS_VARS, v as compileButtonColourStates, vt as surfaceInkStyle, w as buttonShadow, x as formatButtonColourContractError, xt as ownedThemeSnapshot, y as resolveSolidButtonColour, yt as surfaceInkValue } from "./accessibleSurfaces-DN8it_Cx.mjs";
|
|
10
|
-
import { D as parseThemeColorToken, E as parseColorTokenParts, a as createStandardButtonSurfacePolicy, i as buttonSizeNameSchema, s as unsafeAsOpaqueButtonColourToken, t as DEFAULT_VARIANT_ALIAS_ID
|
|
11
|
-
import { _ as resolveSpacing, a as hasFixedFrameBackgroundMotion,
|
|
9
|
+
import { D as parseThemeColorToken, E as parseColorTokenParts, a as createStandardButtonSurfacePolicy, i as buttonSizeNameSchema, s as unsafeAsOpaqueButtonColourToken, t as DEFAULT_VARIANT_ALIAS_ID } from "./types-DjWUR_O6.mjs";
|
|
10
|
+
import { _ as resolveSpacing, a as hasFixedFrameBackgroundMotion, c as resolveItemCardRole, d as parseRuntimeBackgroundContent, g as resolveSectionMinHeight, h as isSemanticSpacing, i as fixedFrameScopeClass, l as parseBackgroundContent, m as isSectionMinHeight, n as ROUNDED_CLASSES, o as normalizeBoxStylesBorder, p as SEMANTIC_SPACING_VALUES, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles, t as RAISED_SHADOW_CLASS, u as parseBackgroundOverlay } from "./boxStyleClassNames-CrE3TDpW.mjs";
|
|
12
11
|
import { C as parseThemeButtonVariantId, T as AFFORDANCE_SUPPRESS_CLASS, w as themeButtonSelector } from "./ThemedButton-DuaYtnvG.mjs";
|
|
13
12
|
import { t as NAV_DROPDOWN_CONTAINER_RAIL_CSS_RULES } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
14
|
-
import { i as eventHeaderSlotParents, n as resolveEventDetailsPresentation, r as lookPartShown } from "./view-
|
|
15
|
-
import { a as eventItemSlotParents, i as cardItemSlotParents } from "./EventItem-
|
|
16
|
-
import { s as monthSlotParents } from "./CalendarNavigationChevron-
|
|
13
|
+
import { i as eventHeaderSlotParents, n as resolveEventDetailsPresentation, r as lookPartShown } from "./view-D9ObkFtz.mjs";
|
|
14
|
+
import { a as eventItemSlotParents, i as cardItemSlotParents } from "./EventItem-WeUipfIP.mjs";
|
|
15
|
+
import { s as monthSlotParents } from "./CalendarNavigationChevron-Az1-TIEI.mjs";
|
|
17
16
|
import { n as getCurrentResolveImageUrlContext, o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-Fusweriw.mjs";
|
|
18
|
-
import { n as eventListSlotParents } from "./EventListing.view-
|
|
17
|
+
import { n as eventListSlotParents } from "./EventListing.view-DKFImKOx.mjs";
|
|
19
18
|
import { r as themeRuntimeScopeProps, t as buildThemeDataAttrs } from "./themeScopeUtils-BAOw_fNA.mjs";
|
|
20
19
|
import { t as formatDate$1 } from "./formatDate-Dp7POa9Y.mjs";
|
|
21
20
|
import { s as declarativeCarouselSlides } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
@@ -282,18 +281,6 @@ function cloneThemeTokens(source) {
|
|
|
282
281
|
return JSON.parse(JSON.stringify(source));
|
|
283
282
|
}
|
|
284
283
|
//#endregion
|
|
285
|
-
//#region ../theme-core/src/tokens/blockColorTokens.ts
|
|
286
|
-
const blockColorTokenNameSet = new Set(blockColorTokenNames);
|
|
287
|
-
function isBlockColorToken(value) {
|
|
288
|
-
if (typeof value !== "string") return false;
|
|
289
|
-
const parts = parseColorTokenParts(value);
|
|
290
|
-
return parts.kind === "token" && blockColorTokenNameSet.has(parts.token);
|
|
291
|
-
}
|
|
292
|
-
function parseBlockColorToken(value) {
|
|
293
|
-
if (!isBlockColorToken(value)) return null;
|
|
294
|
-
return value.trim();
|
|
295
|
-
}
|
|
296
|
-
//#endregion
|
|
297
284
|
//#region ../theme-core/src/surfaces/mapDrawingTokens.ts
|
|
298
285
|
/**
|
|
299
286
|
* The one map token contract (issue 1611). Drawings carry semantic classes only;
|
|
@@ -7960,7 +7947,7 @@ function generateBlockCustomVarsCss(themeId, blockCustomVars) {
|
|
|
7960
7947
|
//#endregion
|
|
7961
7948
|
//#region ../theme-core/src/blockOverrides.ts
|
|
7962
7949
|
const BLOCK_PREFIX = "block.";
|
|
7963
|
-
function isPlainObject$
|
|
7950
|
+
function isPlainObject$4(value) {
|
|
7964
7951
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
7965
7952
|
}
|
|
7966
7953
|
function isUnknownArray$3(value) {
|
|
@@ -7968,7 +7955,7 @@ function isUnknownArray$3(value) {
|
|
|
7968
7955
|
}
|
|
7969
7956
|
function cloneValue(value) {
|
|
7970
7957
|
if (isUnknownArray$3(value)) return value.map((item) => cloneValue(item));
|
|
7971
|
-
if (isPlainObject$
|
|
7958
|
+
if (isPlainObject$4(value)) {
|
|
7972
7959
|
const cloned = {};
|
|
7973
7960
|
for (const [key, child] of Object.entries(value)) cloned[key] = cloneValue(child);
|
|
7974
7961
|
return cloned;
|
|
@@ -7978,7 +7965,7 @@ function cloneValue(value) {
|
|
|
7978
7965
|
function mergeDeep(defaultValue, overrideValue) {
|
|
7979
7966
|
if (overrideValue === void 0) return cloneValue(defaultValue);
|
|
7980
7967
|
if (overrideValue === null) return null;
|
|
7981
|
-
if (isPlainObject$
|
|
7968
|
+
if (isPlainObject$4(defaultValue) && isPlainObject$4(overrideValue)) {
|
|
7982
7969
|
const merged = {};
|
|
7983
7970
|
const keys = /* @__PURE__ */ new Set([...Object.keys(defaultValue), ...Object.keys(overrideValue)]);
|
|
7984
7971
|
for (const key of keys) merged[key] = mergeDeep(defaultValue[key], overrideValue[key]);
|
|
@@ -8035,7 +8022,7 @@ function mergeContentWithBlockStyleOverrides(content, theme, blockKind) {
|
|
|
8035
8022
|
*/
|
|
8036
8023
|
function applyHeadingDecorationSignature(target, themeDecoration) {
|
|
8037
8024
|
const existing = target["_sectionStyles"];
|
|
8038
|
-
const existingObj = isPlainObject$
|
|
8025
|
+
const existingObj = isPlainObject$4(existing) ? existing : void 0;
|
|
8039
8026
|
const rawOverride = existingObj?.["headingDecorationOverride"];
|
|
8040
8027
|
const effective = resolveEffectiveHeadingDecoration(themeDecoration, rawOverride === "site-default" || rawOverride === "off" ? rawOverride : void 0);
|
|
8041
8028
|
if (effective.kind === "none") {
|
|
@@ -8055,9 +8042,9 @@ function applyStyleOverride(target, key, defaults) {
|
|
|
8055
8042
|
target[key] = mergeStyleOverride(defaults, target[key]);
|
|
8056
8043
|
}
|
|
8057
8044
|
function mergeStyleOverride(defaultValue, contentValue) {
|
|
8058
|
-
if (!isPlainObject$
|
|
8045
|
+
if (!isPlainObject$4(defaultValue) || !isPlainObject$4(contentValue)) return mergeDeep(defaultValue, contentValue);
|
|
8059
8046
|
const merged = mergeDeep(defaultValue, contentValue);
|
|
8060
|
-
if (!isPlainObject$
|
|
8047
|
+
if (!isPlainObject$4(merged)) return merged;
|
|
8061
8048
|
return {
|
|
8062
8049
|
...merged,
|
|
8063
8050
|
background: mergeBoxBackground(defaultValue.background, contentValue.background)
|
|
@@ -9309,12 +9296,12 @@ function allGroupChildPlans(plan) {
|
|
|
9309
9296
|
}
|
|
9310
9297
|
function selectedGroupChildPlans(plan, value) {
|
|
9311
9298
|
if (plan.childSelection.kind === "all") return plan.childSelection.fields;
|
|
9312
|
-
if (!isPlainObject$
|
|
9299
|
+
if (!isPlainObject$3(value)) return [];
|
|
9313
9300
|
const selectedType = value[plan.childSelection.activeTabField];
|
|
9314
9301
|
return plan.childSelection.tabs.find((tab) => tab.typeId === selectedType)?.fields ?? [];
|
|
9315
9302
|
}
|
|
9316
9303
|
function canonicalizeObjectForWrite(plans, value) {
|
|
9317
|
-
if (!isPlainObject$
|
|
9304
|
+
if (!isPlainObject$3(value)) return value;
|
|
9318
9305
|
const canonical = { ...value };
|
|
9319
9306
|
for (const plan of plans) {
|
|
9320
9307
|
if (!(plan.fieldId in canonical)) continue;
|
|
@@ -9340,7 +9327,7 @@ function canonicalizeFieldValue(plan, value) {
|
|
|
9340
9327
|
}
|
|
9341
9328
|
}
|
|
9342
9329
|
function canonicalizeMedia(value) {
|
|
9343
|
-
if (!isPlainObject$
|
|
9330
|
+
if (!isPlainObject$3(value)) return value;
|
|
9344
9331
|
const canonical = { ...value };
|
|
9345
9332
|
if (mediaIdentifierSchema.safeParse(canonical.identifier).success) deleteEnvSpecificKeys(canonical);
|
|
9346
9333
|
return canonical;
|
|
@@ -9348,13 +9335,13 @@ function canonicalizeMedia(value) {
|
|
|
9348
9335
|
function canonicalizeRepeater(plan, value) {
|
|
9349
9336
|
if (!isUnknownArray$2(value)) return value;
|
|
9350
9337
|
return value.map((item) => {
|
|
9351
|
-
if (!isPlainObject$
|
|
9338
|
+
if (!isPlainObject$3(item)) return item;
|
|
9352
9339
|
const childPlans = plan.repeatedItemVariants ? plan.repeatedItemVariants.find((variant) => variant.typeId === item._type)?.fields : plan.repeatedItemPlan;
|
|
9353
9340
|
return childPlans ? canonicalizeObjectForWrite(childPlans, item) : item;
|
|
9354
9341
|
});
|
|
9355
9342
|
}
|
|
9356
9343
|
function canonicalizeDiscriminatedGroup(plan, value) {
|
|
9357
|
-
if (!isPlainObject$
|
|
9344
|
+
if (!isPlainObject$3(value) || plan.childSelection.kind !== "discriminatedTabs") return value;
|
|
9358
9345
|
const selection = plan.childSelection;
|
|
9359
9346
|
const selectedPlans = selectedGroupChildPlans(plan, value);
|
|
9360
9347
|
const selectedIds = rootFieldIds(selectedPlans);
|
|
@@ -9369,10 +9356,10 @@ function rootFieldIds(plans) {
|
|
|
9369
9356
|
}
|
|
9370
9357
|
function omitUndefined(value) {
|
|
9371
9358
|
if (isUnknownArray$2(value)) return value.map(omitUndefined);
|
|
9372
|
-
if (!isPlainObject$
|
|
9359
|
+
if (!isPlainObject$3(value)) return value;
|
|
9373
9360
|
return Object.fromEntries(Object.entries(value).filter(([, field]) => field !== void 0).map(([key, field]) => [key, omitUndefined(field)]));
|
|
9374
9361
|
}
|
|
9375
|
-
function isPlainObject$
|
|
9362
|
+
function isPlainObject$3(value) {
|
|
9376
9363
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
9377
9364
|
}
|
|
9378
9365
|
function isUnknownArray$2(value) {
|
|
@@ -9937,7 +9924,7 @@ function validateNormalizedFieldValue(plan, value, ctx) {
|
|
|
9937
9924
|
}
|
|
9938
9925
|
}
|
|
9939
9926
|
function validateMediaPlan(plan, value, ctx) {
|
|
9940
|
-
if (!isPlainObject$
|
|
9927
|
+
if (!isPlainObject$2(value)) return [issue(plan, "invalidMedia")];
|
|
9941
9928
|
const allowedKind = value.type === void 0 || typeof value.type === "string" && plan.allowedMediaTypes.includes(value.type);
|
|
9942
9929
|
const admitted = ctx.mode === "render" ? z.safeParse(runtimeMediaSchema, {
|
|
9943
9930
|
...value,
|
|
@@ -10075,7 +10062,7 @@ function selectRepeaterItemPlan(plan, item) {
|
|
|
10075
10062
|
} : { kind: "untyped" };
|
|
10076
10063
|
}
|
|
10077
10064
|
function validateRepeaterItem(plan, item, index, ctx) {
|
|
10078
|
-
if (!isPlainObject$
|
|
10065
|
+
if (!isPlainObject$2(item)) return [{
|
|
10079
10066
|
kind: "wrongType",
|
|
10080
10067
|
path: [...plan.path, index],
|
|
10081
10068
|
fieldId: plan.fieldId,
|
|
@@ -10115,7 +10102,7 @@ function validateFlattenedGroupContainers(groupIds, item, plan, index, ctx) {
|
|
|
10115
10102
|
}
|
|
10116
10103
|
function validateGroupPlan(plan, value, ctx) {
|
|
10117
10104
|
if (plan.valueContract === "location") return validateLocationGroupContract(plan, value, ctx);
|
|
10118
|
-
if (!isPlainObject$
|
|
10105
|
+
if (!isPlainObject$2(value)) return [issue(plan, "wrongType", { expected: "an object" })];
|
|
10119
10106
|
if (plan.childSelection.kind === "discriminatedTabs") {
|
|
10120
10107
|
const selectedType = value[plan.childSelection.activeTabField];
|
|
10121
10108
|
if (selectedType !== void 0 && selectedType !== null && !plan.childSelection.tabs.some((tab) => tab.typeId === selectedType)) return [{
|
|
@@ -10355,7 +10342,7 @@ function isEmptyValue(value) {
|
|
|
10355
10342
|
if (isEmptyRichTextDoc(value)) return true;
|
|
10356
10343
|
return false;
|
|
10357
10344
|
}
|
|
10358
|
-
function isPlainObject$
|
|
10345
|
+
function isPlainObject$2(value) {
|
|
10359
10346
|
return Boolean(value && typeof value === "object" && !Array.isArray(value));
|
|
10360
10347
|
}
|
|
10361
10348
|
function isUnknownArray$1(value) {
|
|
@@ -10365,7 +10352,7 @@ function isValidRichTextDoc(value) {
|
|
|
10365
10352
|
return isRichTextDoc(value);
|
|
10366
10353
|
}
|
|
10367
10354
|
function isEmptyRichTextDoc(value) {
|
|
10368
|
-
if (!isPlainObject$
|
|
10355
|
+
if (!isPlainObject$2(value)) return false;
|
|
10369
10356
|
if (value.type !== "doc") return false;
|
|
10370
10357
|
const content = value.content;
|
|
10371
10358
|
if (!Array.isArray(content) || content.length === 0) return true;
|
|
@@ -11784,7 +11771,7 @@ function styledCard(children, opts, ...mods) {
|
|
|
11784
11771
|
}
|
|
11785
11772
|
//#endregion
|
|
11786
11773
|
//#region ../blocks/src/system/node/fragments/feedbackCallout.ts
|
|
11787
|
-
function joinClasses$
|
|
11774
|
+
function joinClasses$2(...parts) {
|
|
11788
11775
|
return parts.filter((part) => typeof part === "string" && part.length > 0).join(" ");
|
|
11789
11776
|
}
|
|
11790
11777
|
function feedbackCallout(opts) {
|
|
@@ -11798,7 +11785,7 @@ function feedbackCallout(opts) {
|
|
|
11798
11785
|
} };
|
|
11799
11786
|
return stack({
|
|
11800
11787
|
gap: "sm",
|
|
11801
|
-
className: joinClasses$
|
|
11788
|
+
className: joinClasses$2("feedback-callout rb-rounded-xl rb-border rb-p-6", opts?.className),
|
|
11802
11789
|
style: mergeStyles(backgroundColorStyle("surface"), borderColorStyle("border/60")),
|
|
11803
11790
|
"data-feedback-callout": "",
|
|
11804
11791
|
"data-feedback-tone": tone
|
|
@@ -11824,29 +11811,6 @@ function feedbackCallout(opts) {
|
|
|
11824
11811
|
]);
|
|
11825
11812
|
}
|
|
11826
11813
|
//#endregion
|
|
11827
|
-
//#region ../blocks/src/system/node/fragments/sectionState.shared.ts
|
|
11828
|
-
const SECTION_STATE_KINDS = [
|
|
11829
|
-
"empty",
|
|
11830
|
-
"unavailable",
|
|
11831
|
-
"coming-soon",
|
|
11832
|
-
"no-results"
|
|
11833
|
-
];
|
|
11834
|
-
const SECTION_STATE_TONE = {
|
|
11835
|
-
empty: "info",
|
|
11836
|
-
unavailable: "warning",
|
|
11837
|
-
"coming-soon": "info",
|
|
11838
|
-
"no-results": "warning"
|
|
11839
|
-
};
|
|
11840
|
-
function isSectionStateKind(value) {
|
|
11841
|
-
return typeof value === "string" && SECTION_STATE_KINDS.includes(value);
|
|
11842
|
-
}
|
|
11843
|
-
function sectionStateToneFromKind(kind) {
|
|
11844
|
-
return SECTION_STATE_TONE[kind];
|
|
11845
|
-
}
|
|
11846
|
-
function sectionStateToneFromUnknown(value) {
|
|
11847
|
-
return isSectionStateKind(value) ? sectionStateToneFromKind(value) : "info";
|
|
11848
|
-
}
|
|
11849
|
-
//#endregion
|
|
11850
11814
|
//#region ../blocks/src/system/node/fragments/sectionState.ts
|
|
11851
11815
|
function sectionStateTone(kind) {
|
|
11852
11816
|
return sectionStateToneFromKind(kind);
|
|
@@ -11861,7 +11825,7 @@ function bindSectionStateTone(kind) {
|
|
|
11861
11825
|
...kind.$bind.coerce ? { coerce: kind.$bind.coerce } : {}
|
|
11862
11826
|
} };
|
|
11863
11827
|
}
|
|
11864
|
-
function joinClasses$
|
|
11828
|
+
function joinClasses$1(...parts) {
|
|
11865
11829
|
return parts.filter((part) => typeof part === "string" && part.length > 0).join(" ");
|
|
11866
11830
|
}
|
|
11867
11831
|
function sectionState(opts) {
|
|
@@ -11871,7 +11835,7 @@ function sectionState(opts) {
|
|
|
11871
11835
|
} };
|
|
11872
11836
|
return stack({
|
|
11873
11837
|
gap: "none",
|
|
11874
|
-
className: joinClasses$
|
|
11838
|
+
className: joinClasses$1("section-state rb-mx-auto rb-w-full rb-max-w-3xl", opts?.className),
|
|
11875
11839
|
"data-section-state-kind": kind
|
|
11876
11840
|
}, [feedbackCallout({
|
|
11877
11841
|
tone: bindSectionStateTone(kind),
|
|
@@ -13229,26 +13193,6 @@ function fragmentsToRepeaterField(id, label, fragments, options = {}) {
|
|
|
13229
13193
|
};
|
|
13230
13194
|
}
|
|
13231
13195
|
//#endregion
|
|
13232
|
-
//#region ../blocks/src/system/fields/heroTitleSize.ts
|
|
13233
|
-
/**
|
|
13234
|
-
* The headline sizes owners can pick, the same in the content form and the
|
|
13235
|
-
* Look's knob. Older stored sizes (`editorial`, `poster`) still render.
|
|
13236
|
-
*/
|
|
13237
|
-
const heroTitleSizeOptions = [
|
|
13238
|
-
{
|
|
13239
|
-
value: "quiet",
|
|
13240
|
-
label: "Quieter"
|
|
13241
|
-
},
|
|
13242
|
-
{
|
|
13243
|
-
value: "auto",
|
|
13244
|
-
label: "Standard"
|
|
13245
|
-
},
|
|
13246
|
-
{
|
|
13247
|
-
value: "display",
|
|
13248
|
-
label: "Louder"
|
|
13249
|
-
}
|
|
13250
|
-
];
|
|
13251
|
-
//#endregion
|
|
13252
13196
|
//#region ../blocks/src/system/fragments/library/heroLayoutControls.ts
|
|
13253
13197
|
const heroLayoutControlsFragment = defineFragment({
|
|
13254
13198
|
variantMeaning: { kind: "arrangement" },
|
|
@@ -14372,46 +14316,6 @@ function createImagePositionField(options = {}) {
|
|
|
14372
14316
|
};
|
|
14373
14317
|
}
|
|
14374
14318
|
//#endregion
|
|
14375
|
-
//#region ../blocks/src/system/fields/imageShape.ts
|
|
14376
|
-
const standardImageShapeOptions = [
|
|
14377
|
-
{
|
|
14378
|
-
value: "default",
|
|
14379
|
-
label: "Default"
|
|
14380
|
-
},
|
|
14381
|
-
{
|
|
14382
|
-
value: "square",
|
|
14383
|
-
label: "Square corners"
|
|
14384
|
-
},
|
|
14385
|
-
{
|
|
14386
|
-
value: "rounded",
|
|
14387
|
-
label: "Rounded corners"
|
|
14388
|
-
},
|
|
14389
|
-
{
|
|
14390
|
-
value: "circle",
|
|
14391
|
-
label: "Circle"
|
|
14392
|
-
},
|
|
14393
|
-
{
|
|
14394
|
-
value: "arch",
|
|
14395
|
-
label: "Arch"
|
|
14396
|
-
}
|
|
14397
|
-
];
|
|
14398
|
-
function createImageShapeField(options = {}) {
|
|
14399
|
-
return {
|
|
14400
|
-
id: options.id ?? "imageShape",
|
|
14401
|
-
type: "select",
|
|
14402
|
-
label: options.label ?? "Image shape",
|
|
14403
|
-
...options.description ? { description: options.description } : {},
|
|
14404
|
-
required: false,
|
|
14405
|
-
defaultValue: options.defaultValue ?? "default",
|
|
14406
|
-
multiple: false,
|
|
14407
|
-
options: [...standardImageShapeOptions],
|
|
14408
|
-
ui: {
|
|
14409
|
-
intent: options.uiIntent ?? "display",
|
|
14410
|
-
...options.visibleWhen ? { visibleWhen: options.visibleWhen } : {}
|
|
14411
|
-
}
|
|
14412
|
-
};
|
|
14413
|
-
}
|
|
14414
|
-
//#endregion
|
|
14415
14319
|
//#region ../blocks/src/system/blocks/hero.ts
|
|
14416
14320
|
const heroCopyAndCta = composeFragments([{ fragment: heroCopyFragment }, { fragment: heroCtaRowFragment }]);
|
|
14417
14321
|
const heroPriorityMediaProps = {
|
|
@@ -14850,50 +14754,6 @@ function gapSelectField(options = {}) {
|
|
|
14850
14754
|
});
|
|
14851
14755
|
}
|
|
14852
14756
|
//#endregion
|
|
14853
|
-
//#region ../blocks/src/system/fields/aspectRatio.ts
|
|
14854
|
-
const standardAspectRatioOptions = [
|
|
14855
|
-
{
|
|
14856
|
-
value: "auto",
|
|
14857
|
-
label: "Auto (original)"
|
|
14858
|
-
},
|
|
14859
|
-
{
|
|
14860
|
-
value: "16/9",
|
|
14861
|
-
label: "16:9 (Landscape)"
|
|
14862
|
-
},
|
|
14863
|
-
{
|
|
14864
|
-
value: "4/3",
|
|
14865
|
-
label: "4:3 (Standard)"
|
|
14866
|
-
},
|
|
14867
|
-
{
|
|
14868
|
-
value: "1/1",
|
|
14869
|
-
label: "1:1 (Square)"
|
|
14870
|
-
},
|
|
14871
|
-
{
|
|
14872
|
-
value: "3/4",
|
|
14873
|
-
label: "3:4 (Portrait)"
|
|
14874
|
-
},
|
|
14875
|
-
{
|
|
14876
|
-
value: "9/16",
|
|
14877
|
-
label: "9:16 (Tall portrait)"
|
|
14878
|
-
}
|
|
14879
|
-
];
|
|
14880
|
-
function createAspectRatioField(options = {}) {
|
|
14881
|
-
return {
|
|
14882
|
-
id: options.id ?? "aspectRatio",
|
|
14883
|
-
type: "select",
|
|
14884
|
-
label: options.label ?? "Aspect ratio",
|
|
14885
|
-
...options.description ? { description: options.description } : {},
|
|
14886
|
-
required: false,
|
|
14887
|
-
defaultValue: options.defaultValue ?? "auto",
|
|
14888
|
-
multiple: false,
|
|
14889
|
-
options: [...standardAspectRatioOptions],
|
|
14890
|
-
ui: {
|
|
14891
|
-
intent: options.uiIntent ?? "display",
|
|
14892
|
-
...options.visibleWhen ? { visibleWhen: options.visibleWhen } : {}
|
|
14893
|
-
}
|
|
14894
|
-
};
|
|
14895
|
-
}
|
|
14896
|
-
//#endregion
|
|
14897
14757
|
//#region ../blocks/src/system/blocks/intro.ts
|
|
14898
14758
|
function introHeading(className) {
|
|
14899
14759
|
return text({
|
|
@@ -14956,10 +14816,13 @@ const introMedia = media({
|
|
|
14956
14816
|
}],
|
|
14957
14817
|
fallback: "rb-intro-media rb-w-full rb-h-auto rb-object-cover"
|
|
14958
14818
|
} },
|
|
14959
|
-
style: {
|
|
14960
|
-
from: "content.
|
|
14961
|
-
|
|
14962
|
-
|
|
14819
|
+
style: {
|
|
14820
|
+
borderRadius: { $bind: { from: "content._lookMediaFrame.borderRadius" } },
|
|
14821
|
+
aspectRatio: { $bind: {
|
|
14822
|
+
from: "content.aspectRatio",
|
|
14823
|
+
fallback: "1/1"
|
|
14824
|
+
} }
|
|
14825
|
+
}
|
|
14963
14826
|
}, bind("content.media"), when("content.media"));
|
|
14964
14827
|
const centeredCopyLayout = styledSection({
|
|
14965
14828
|
children: styledContainer({
|
|
@@ -16255,533 +16118,6 @@ const formattingTransforms = [
|
|
|
16255
16118
|
mapTokenTransform
|
|
16256
16119
|
];
|
|
16257
16120
|
//#endregion
|
|
16258
|
-
//#region ../blocks/src/system/transforms/registry/ui.ts
|
|
16259
|
-
const joinClasses$1 = (parts) => parts.filter((part) => typeof part === "string" && part.trim().length > 0).join(" ").replace(/\s+/g, " ").trim();
|
|
16260
|
-
const eyebrowTreatmentClassMap = {
|
|
16261
|
-
plain: "",
|
|
16262
|
-
accent: "rb-eyebrow-treatment-accent",
|
|
16263
|
-
pill: "rb-eyebrow-treatment-pill",
|
|
16264
|
-
"accent-pill": "rb-eyebrow-treatment-pill rb-eyebrow-treatment-accent",
|
|
16265
|
-
"pill-bounce": "rb-eyebrow-treatment-pill rb-eyebrow-treatment-pill-bounce",
|
|
16266
|
-
"accent-pill-bounce": "rb-eyebrow-treatment-pill rb-eyebrow-treatment-accent rb-eyebrow-treatment-pill-bounce"
|
|
16267
|
-
};
|
|
16268
|
-
const eyebrowTreatmentSet = new Set(eyebrowTreatmentValues);
|
|
16269
|
-
const headingDecorationFamilySet = new Set(visibleHeadingDecorationFamilyValues);
|
|
16270
|
-
const headingDecorationColorTokenSet = new Set(headingDecorationColorTokenValues);
|
|
16271
|
-
function isEyebrowTreatment(value) {
|
|
16272
|
-
return typeof value === "string" && eyebrowTreatmentSet.has(value);
|
|
16273
|
-
}
|
|
16274
|
-
function isHeadingDecorationFamily(value) {
|
|
16275
|
-
return typeof value === "string" && headingDecorationFamilySet.has(value);
|
|
16276
|
-
}
|
|
16277
|
-
function isHeadingDecorationColorToken(value) {
|
|
16278
|
-
return typeof value === "string" && headingDecorationColorTokenSet.has(value);
|
|
16279
|
-
}
|
|
16280
|
-
const imageGalleryCornerClassMap = {
|
|
16281
|
-
none: "",
|
|
16282
|
-
sm: "rb-rounded-sm",
|
|
16283
|
-
md: "rb-rounded-md",
|
|
16284
|
-
lg: "rb-rounded-lg",
|
|
16285
|
-
xl: "rb-rounded-xl",
|
|
16286
|
-
"2xl": "rb-rounded-2xl",
|
|
16287
|
-
"3xl": "rb-rounded-3xl"
|
|
16288
|
-
};
|
|
16289
|
-
const imageShapeClassMap = {
|
|
16290
|
-
default: "",
|
|
16291
|
-
square: "rb-media-shape-square",
|
|
16292
|
-
rounded: "rb-media-shape-rounded",
|
|
16293
|
-
circle: "rb-media-shape-circle",
|
|
16294
|
-
arch: "rb-media-shape-arch"
|
|
16295
|
-
};
|
|
16296
|
-
const parseRatio = (raw) => {
|
|
16297
|
-
if (typeof raw !== "string") return null;
|
|
16298
|
-
const value = raw.trim();
|
|
16299
|
-
if (!value || value === "auto") return null;
|
|
16300
|
-
const [wRaw, hRaw] = value.split("/").map((part) => part.trim());
|
|
16301
|
-
const w = Number(wRaw);
|
|
16302
|
-
const h = Number(hRaw);
|
|
16303
|
-
if (!Number.isFinite(w) || !Number.isFinite(h)) return null;
|
|
16304
|
-
if (w <= 0 || h <= 0) return null;
|
|
16305
|
-
return {
|
|
16306
|
-
w,
|
|
16307
|
-
h
|
|
16308
|
-
};
|
|
16309
|
-
};
|
|
16310
|
-
const ratioToHeightFactor = (raw) => {
|
|
16311
|
-
const ratio = parseRatio(raw);
|
|
16312
|
-
if (!ratio) return "1";
|
|
16313
|
-
return String(ratio.h / ratio.w);
|
|
16314
|
-
};
|
|
16315
|
-
function resolveBorderColorValue(border) {
|
|
16316
|
-
if (border.enabled === false) return void 0;
|
|
16317
|
-
const rawColorToken = typeof border.colorToken === "string" ? border.colorToken.trim() : "";
|
|
16318
|
-
const parsed = rawColorToken ? parseBlockColorToken(rawColorToken) : null;
|
|
16319
|
-
const baseName = (parsed ? parsed.split("/")[0] : null) ?? "accent";
|
|
16320
|
-
const opacityRaw = typeof border.opacity === "number" ? border.opacity : 30;
|
|
16321
|
-
return rgbColorValue(`${baseName}/${Math.max(0, Math.min(100, opacityRaw))}`);
|
|
16322
|
-
}
|
|
16323
|
-
/**
|
|
16324
|
-
* Get nav link classes based on nav style
|
|
16325
|
-
* Simplified version that reads navStyle enum from theme
|
|
16326
|
-
*/
|
|
16327
|
-
function getNavStyleClasses(navStyle) {
|
|
16328
|
-
const baseClasses = "rb-inline-flex rb-items-center rb-gap-2 rb-px-3 rb-py-2 rb-transition-colors";
|
|
16329
|
-
switch (navStyle) {
|
|
16330
|
-
case "minimal": return baseClasses;
|
|
16331
|
-
case "underline": return `${baseClasses} rb-nav-underline rb-nav-underline-offset-4`;
|
|
16332
|
-
case "underline-grow": return `${baseClasses} nav-underline-grow nav-underline-active`;
|
|
16333
|
-
case "capsule": return "rb-inline-flex rb-items-center rb-gap-2 rb-transition-colors rb-rounded-full rb-px-3 rb-py-1.5";
|
|
16334
|
-
case "scale": return `${baseClasses} rb-transform-gpu rb-will-change-transform rb-motion-safe-hover-scale-105`;
|
|
16335
|
-
case "frosted": return "rb-inline-flex rb-items-center rb-gap-2 rb-transition-colors rb-rounded-lg rb-px-3 rb-py-1.5";
|
|
16336
|
-
case "solid": return baseClasses;
|
|
16337
|
-
default: return baseClasses;
|
|
16338
|
-
}
|
|
16339
|
-
}
|
|
16340
|
-
const headerNavLinkClassTransform = {
|
|
16341
|
-
id: "ui.headerNavLinkClass",
|
|
16342
|
-
kind: "string",
|
|
16343
|
-
summary: "Compose header navigation link classes from theme navStyle",
|
|
16344
|
-
schema: z.object({ base: z.string().optional() }),
|
|
16345
|
-
run: (value, options) => {
|
|
16346
|
-
return joinClasses$1([getNavStyleClasses(asPartialObject(value)?.navStyle ?? "minimal"), options?.base]);
|
|
16347
|
-
}
|
|
16348
|
-
};
|
|
16349
|
-
const headingClassFromAlignment = {
|
|
16350
|
-
id: "ui.headingClassFromAlignment",
|
|
16351
|
-
kind: "string",
|
|
16352
|
-
summary: "Append text alignment class to a base heading class",
|
|
16353
|
-
run: (value, options) => {
|
|
16354
|
-
const alignClass = (typeof value === "string" && value === "center" ? "center" : "left") === "center" ? "rb-text-center" : "rb-text-left";
|
|
16355
|
-
return `${options.base} ${alignClass}`.trim();
|
|
16356
|
-
}
|
|
16357
|
-
};
|
|
16358
|
-
const bodyClassFromAlignment = {
|
|
16359
|
-
id: "ui.bodyClassFromAlignment",
|
|
16360
|
-
kind: "string",
|
|
16361
|
-
summary: "Append body alignment helper classes to a base class",
|
|
16362
|
-
run: (value, options) => {
|
|
16363
|
-
const extra = (typeof value === "string" && value === "center" ? "center" : "left") === "center" ? "rb-mx-auto rb-text-center" : "";
|
|
16364
|
-
return `${options.base} ${extra}`.trim();
|
|
16365
|
-
}
|
|
16366
|
-
};
|
|
16367
|
-
const stackAlignFromAlignment = {
|
|
16368
|
-
id: "ui.stackAlignFromAlignment",
|
|
16369
|
-
kind: "string",
|
|
16370
|
-
summary: "Map text alignment to stack alignment value",
|
|
16371
|
-
run: (value) => value === "center" ? "center" : "start"
|
|
16372
|
-
};
|
|
16373
|
-
const sectionStateToneTransform = {
|
|
16374
|
-
id: "ui.sectionStateTone",
|
|
16375
|
-
kind: "string",
|
|
16376
|
-
summary: "Map semantic section-state kind to feedback tone",
|
|
16377
|
-
run: (value) => sectionStateToneFromUnknown(value)
|
|
16378
|
-
};
|
|
16379
|
-
const heroTitleLengthThresholds = {
|
|
16380
|
-
medium: {
|
|
16381
|
-
maxCharacters: 42,
|
|
16382
|
-
maxWords: 6
|
|
16383
|
-
},
|
|
16384
|
-
long: {
|
|
16385
|
-
maxCharacters: 78,
|
|
16386
|
-
maxWords: 11
|
|
16387
|
-
}
|
|
16388
|
-
};
|
|
16389
|
-
function isPlainObject$2(value) {
|
|
16390
|
-
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
16391
|
-
}
|
|
16392
|
-
function readString(obj, key) {
|
|
16393
|
-
const v = obj[key];
|
|
16394
|
-
return typeof v === "string" ? v : void 0;
|
|
16395
|
-
}
|
|
16396
|
-
function resolveGeneratedHeroLayoutStyles(content) {
|
|
16397
|
-
const raw = content._heroLayoutStyles;
|
|
16398
|
-
return isPlainObject$2(raw) ? raw : null;
|
|
16399
|
-
}
|
|
16400
|
-
function readHeroLayoutString(content, generatedKey, fallbackKey = generatedKey) {
|
|
16401
|
-
const explicitValue = readString(content, fallbackKey);
|
|
16402
|
-
if (explicitValue !== void 0) return explicitValue;
|
|
16403
|
-
const generated = resolveGeneratedHeroLayoutStyles(content);
|
|
16404
|
-
return generated && typeof generated[generatedKey] === "string" ? generated[generatedKey] : void 0;
|
|
16405
|
-
}
|
|
16406
|
-
function resolveHeroVariant(content) {
|
|
16407
|
-
const variant = readString(content, "variant");
|
|
16408
|
-
if (variant && variant.trim()) return variant.trim();
|
|
16409
|
-
const layout = readString(content, "layout");
|
|
16410
|
-
if (layout && layout.trim()) return layout.trim();
|
|
16411
|
-
return null;
|
|
16412
|
-
}
|
|
16413
|
-
function resolveHeroContentAlignment(content) {
|
|
16414
|
-
const raw = readHeroLayoutString(content, "contentAlignment");
|
|
16415
|
-
if (raw === "left" || raw === "center" || raw === "right") return raw;
|
|
16416
|
-
const variant = resolveHeroVariant(content);
|
|
16417
|
-
if (variant === "split" || variant === "splitReverse") return "left";
|
|
16418
|
-
return "center";
|
|
16419
|
-
}
|
|
16420
|
-
function resolveHeroVerticalAlignment(content) {
|
|
16421
|
-
const raw = readHeroLayoutString(content, "verticalAlignment");
|
|
16422
|
-
if (raw === "top" || raw === "center" || raw === "bottom") return raw;
|
|
16423
|
-
const minHeight = asPartialObject(content._sectionStyles)?.minHeight;
|
|
16424
|
-
if (minHeight === "banner" || minHeight === "hero" || minHeight === "immersive") return "center";
|
|
16425
|
-
const variant = resolveHeroVariant(content);
|
|
16426
|
-
if (variant === "split" || variant === "splitReverse") return "center";
|
|
16427
|
-
return "top";
|
|
16428
|
-
}
|
|
16429
|
-
function resolveHeroContentMaxWidth(content) {
|
|
16430
|
-
const raw = readHeroLayoutString(content, "contentMaxWidth");
|
|
16431
|
-
if (raw === "default" || raw === "narrow" || raw === "medium" || raw === "wide") return raw;
|
|
16432
|
-
return "default";
|
|
16433
|
-
}
|
|
16434
|
-
function resolveHeroTypographyScale(content) {
|
|
16435
|
-
const titleSize = readString(content, "titleSize");
|
|
16436
|
-
if (titleSize === "quiet" || titleSize === "editorial" || titleSize === "display" || titleSize === "poster") return titleSize;
|
|
16437
|
-
const raw = readHeroLayoutString(content, "typographyScale", "heroTypographyScale");
|
|
16438
|
-
if (raw === "quiet" || raw === "editorial" || raw === "display" || raw === "poster") return raw;
|
|
16439
|
-
return null;
|
|
16440
|
-
}
|
|
16441
|
-
function resolveHeroTitleLength(content, policy = "legacy") {
|
|
16442
|
-
const headline = heroHeadlineText(content, policy);
|
|
16443
|
-
const words = headline.split(/\s+/).filter((word) => word.length > 0);
|
|
16444
|
-
const wordCount = words.length;
|
|
16445
|
-
const longestWord = longestHeroWord(words, policy);
|
|
16446
|
-
if (headline.length > heroTitleLengthThresholds.long.maxCharacters || longestWord > 18 || wordCount > heroTitleLengthThresholds.long.maxWords) return "long";
|
|
16447
|
-
if (headline.length > heroTitleLengthThresholds.medium.maxCharacters || longestWord > 12 || wordCount > heroTitleLengthThresholds.medium.maxWords) return "medium";
|
|
16448
|
-
return "short";
|
|
16449
|
-
}
|
|
16450
|
-
const heroContentWrapperClassTransform = {
|
|
16451
|
-
id: "ui.heroContentWrapperClass",
|
|
16452
|
-
kind: "string",
|
|
16453
|
-
summary: "Resolve hero content wrapper className from alignment + max width controls",
|
|
16454
|
-
schema: z.object({ base: z.string().optional() }),
|
|
16455
|
-
run: (value, options, context) => {
|
|
16456
|
-
const content = isPlainObject$2(value) ? value : isPlainObject$2(context.data) ? context.data : {};
|
|
16457
|
-
const alignment = resolveHeroContentAlignment(content);
|
|
16458
|
-
const maxWidth = resolveHeroContentMaxWidth(content);
|
|
16459
|
-
const typographyScale = resolveHeroTypographyScale(content);
|
|
16460
|
-
const titleLength = resolveHeroTitleLength(content);
|
|
16461
|
-
const textAlignClass = alignment === "center" ? "rb-text-center" : alignment === "right" ? "rb-text-right" : "rb-text-left";
|
|
16462
|
-
const maxWidthClass = maxWidth === "narrow" ? "rb-max-w-2xl" : maxWidth === "medium" ? "rb-max-w-3xl" : maxWidth === "wide" ? "rb-max-w-5xl" : "";
|
|
16463
|
-
const positionClass = alignment === "center" ? "rb-mx-auto" : alignment === "right" ? "rb-ml-auto" : "";
|
|
16464
|
-
return joinClasses$1([
|
|
16465
|
-
options?.base,
|
|
16466
|
-
textAlignClass,
|
|
16467
|
-
maxWidthClass,
|
|
16468
|
-
positionClass,
|
|
16469
|
-
...heroLegacyTypographyClasses(content, typographyScale, titleLength)
|
|
16470
|
-
]);
|
|
16471
|
-
}
|
|
16472
|
-
};
|
|
16473
|
-
const heroCtaJustifyTransform = {
|
|
16474
|
-
id: "ui.heroCtaJustify",
|
|
16475
|
-
kind: "string",
|
|
16476
|
-
summary: "Map hero contentAlignment to CTA row justify value",
|
|
16477
|
-
run: (value, _options, context) => {
|
|
16478
|
-
const alignment = resolveHeroContentAlignment(isPlainObject$2(value) ? value : isPlainObject$2(context.data) ? context.data : {});
|
|
16479
|
-
return alignment === "left" ? "start" : alignment === "right" ? "end" : "center";
|
|
16480
|
-
}
|
|
16481
|
-
};
|
|
16482
|
-
const heroStackJustifyFromVerticalAlignmentTransform = {
|
|
16483
|
-
id: "ui.heroStackJustifyFromVerticalAlignment",
|
|
16484
|
-
kind: "string",
|
|
16485
|
-
summary: "Map hero verticalAlignment to stack justify value",
|
|
16486
|
-
run: (value, _options, context) => {
|
|
16487
|
-
const vertical = resolveHeroVerticalAlignment(isPlainObject$2(value) ? value : isPlainObject$2(context.data) ? context.data : {});
|
|
16488
|
-
return vertical === "top" ? "start" : vertical === "bottom" ? "end" : "center";
|
|
16489
|
-
}
|
|
16490
|
-
};
|
|
16491
|
-
const heroGridClassFromVerticalAlignmentTransform = {
|
|
16492
|
-
id: "ui.heroGridClassFromVerticalAlignment",
|
|
16493
|
-
kind: "string",
|
|
16494
|
-
summary: "Append align-items class for hero split layouts based on verticalAlignment",
|
|
16495
|
-
schema: z.object({ base: z.string() }),
|
|
16496
|
-
run: (value, options, context) => {
|
|
16497
|
-
const vertical = resolveHeroVerticalAlignment(isPlainObject$2(value) ? value : isPlainObject$2(context.data) ? context.data : {});
|
|
16498
|
-
const itemsClass = vertical === "top" ? "rb-items-start" : vertical === "bottom" ? "rb-items-end" : "rb-items-center";
|
|
16499
|
-
return joinClasses$1([options.base, itemsClass]);
|
|
16500
|
-
}
|
|
16501
|
-
};
|
|
16502
|
-
const imageFragmentClassTransform = {
|
|
16503
|
-
id: "ui.imageFragmentClass",
|
|
16504
|
-
kind: "string",
|
|
16505
|
-
summary: "Return different classes based on aspectRatio (auto vs fixed)",
|
|
16506
|
-
schema: z.object({
|
|
16507
|
-
base: z.string(),
|
|
16508
|
-
whenAuto: z.string(),
|
|
16509
|
-
whenFixed: z.string()
|
|
16510
|
-
}),
|
|
16511
|
-
run: (value, options) => {
|
|
16512
|
-
const aspectRatio = typeof value === "string" ? value.trim() : "auto";
|
|
16513
|
-
const isAuto = aspectRatio === "" || aspectRatio === "auto";
|
|
16514
|
-
return joinClasses$1([options.base, isAuto ? options.whenAuto : options.whenFixed]);
|
|
16515
|
-
}
|
|
16516
|
-
};
|
|
16517
|
-
const imageFragmentSizeTransform = {
|
|
16518
|
-
id: "ui.imageFragmentSize",
|
|
16519
|
-
kind: "formatter",
|
|
16520
|
-
summary: "Derive Supabase render size options from an aspect ratio",
|
|
16521
|
-
schema: z.object({
|
|
16522
|
-
max: z.number().int().positive().default(1920),
|
|
16523
|
-
quality: z.number().int().min(1).max(100).default(85)
|
|
16524
|
-
}),
|
|
16525
|
-
run: (value, options) => {
|
|
16526
|
-
const ratio = parseRatio(value);
|
|
16527
|
-
const max = options.max ?? 1920;
|
|
16528
|
-
const quality = options.quality ?? 85;
|
|
16529
|
-
if (!ratio) return {
|
|
16530
|
-
width: max,
|
|
16531
|
-
quality,
|
|
16532
|
-
resize: "contain"
|
|
16533
|
-
};
|
|
16534
|
-
const isPortrait = ratio.h > ratio.w;
|
|
16535
|
-
return {
|
|
16536
|
-
width: isPortrait ? Math.round(max * ratio.w / ratio.h) : max,
|
|
16537
|
-
height: isPortrait ? max : Math.round(max * ratio.h / ratio.w),
|
|
16538
|
-
quality,
|
|
16539
|
-
resize: "cover"
|
|
16540
|
-
};
|
|
16541
|
-
}
|
|
16542
|
-
};
|
|
16543
|
-
const conditionalClassTransform = {
|
|
16544
|
-
id: "ui.conditionalClass",
|
|
16545
|
-
kind: "string",
|
|
16546
|
-
summary: "Return different classes based on boolean value",
|
|
16547
|
-
schema: z.object({
|
|
16548
|
-
whenTrue: z.string(),
|
|
16549
|
-
whenFalse: z.string()
|
|
16550
|
-
}),
|
|
16551
|
-
run: (value, options) => {
|
|
16552
|
-
return (typeof value === "boolean" ? value : Boolean(value)) ? options.whenTrue : options.whenFalse;
|
|
16553
|
-
}
|
|
16554
|
-
};
|
|
16555
|
-
const twoColumnContainerClassTransform = {
|
|
16556
|
-
id: "ui.twoColumnContainerClass",
|
|
16557
|
-
kind: "string",
|
|
16558
|
-
summary: "Append a desktop row-reverse class based on imagePosition",
|
|
16559
|
-
schema: z.object({
|
|
16560
|
-
base: z.string(),
|
|
16561
|
-
reverseClass: z.string()
|
|
16562
|
-
}),
|
|
16563
|
-
run: (value, options) => {
|
|
16564
|
-
const position = value === "right" ? "right" : "left";
|
|
16565
|
-
return joinClasses$1([options.base, position === "right" ? options.reverseClass : null]);
|
|
16566
|
-
}
|
|
16567
|
-
};
|
|
16568
|
-
const twoColumnFlexBasisTransform = {
|
|
16569
|
-
id: "ui.twoColumnFlexBasis",
|
|
16570
|
-
kind: "string",
|
|
16571
|
-
summary: "Map a ratio string to a flex-basis percentage for a 2-column layout",
|
|
16572
|
-
schema: z.object({ side: z.enum(["image", "text"]) }),
|
|
16573
|
-
run: (value, options) => {
|
|
16574
|
-
const ratio = typeof value === "string" ? value.trim() : "1/2";
|
|
16575
|
-
const imagePercent = ratio === "1/4" ? 25 : ratio === "1/3" ? 33.333 : ratio === "2/5" ? 40 : ratio === "2/3" ? 66.667 : 50;
|
|
16576
|
-
return `${options.side === "image" ? imagePercent : 100 - imagePercent}%`;
|
|
16577
|
-
}
|
|
16578
|
-
};
|
|
16579
|
-
const columnsDesktopSpanClassTransform = {
|
|
16580
|
-
id: "ui.columnsDesktopSpanClass",
|
|
16581
|
-
kind: "string",
|
|
16582
|
-
summary: "Append lg col-span class for editorial column layouts",
|
|
16583
|
-
schema: z.object({ base: z.string().optional() }),
|
|
16584
|
-
run: (value, options) => {
|
|
16585
|
-
const raw = typeof value === "string" ? value.trim() : "";
|
|
16586
|
-
const spanClass = raw === "2" ? "rb-lg-col-span-2" : raw === "3" ? "rb-lg-col-span-3" : raw === "4" ? "rb-lg-col-span-4" : "rb-lg-col-span-1";
|
|
16587
|
-
return joinClasses$1([options.base, spanClass]);
|
|
16588
|
-
}
|
|
16589
|
-
};
|
|
16590
|
-
const resolveColumnsGridCols = (content) => {
|
|
16591
|
-
const items = Array.isArray(content.columns) ? content.columns : [];
|
|
16592
|
-
const count = Math.min(4, Math.max(1, items.length || 1));
|
|
16593
|
-
const configuredDesktopColumnsRaw = typeof content.desktopColumns === "string" ? content.desktopColumns : "auto";
|
|
16594
|
-
const desktopColumns = configuredDesktopColumnsRaw === "2" ? 2 : configuredDesktopColumnsRaw === "3" ? 3 : configuredDesktopColumnsRaw === "4" ? 4 : count;
|
|
16595
|
-
if (desktopColumns <= 1) return { base: 1 };
|
|
16596
|
-
if (desktopColumns === 2) return {
|
|
16597
|
-
base: 1,
|
|
16598
|
-
md: 2
|
|
16599
|
-
};
|
|
16600
|
-
if (desktopColumns === 3) return {
|
|
16601
|
-
base: 1,
|
|
16602
|
-
md: 2,
|
|
16603
|
-
lg: 3
|
|
16604
|
-
};
|
|
16605
|
-
return {
|
|
16606
|
-
base: 1,
|
|
16607
|
-
md: 2,
|
|
16608
|
-
lg: 3,
|
|
16609
|
-
xl: 4
|
|
16610
|
-
};
|
|
16611
|
-
};
|
|
16612
|
-
const uiTransforms = [
|
|
16613
|
-
{
|
|
16614
|
-
id: "look.splitMinHeight",
|
|
16615
|
-
kind: "string",
|
|
16616
|
-
run: (value) => asPartialObject(value)?._lookSlots === void 0 ? "clamp(18rem, 36vw, 34rem)" : void 0
|
|
16617
|
-
},
|
|
16618
|
-
headerNavLinkClassTransform,
|
|
16619
|
-
headingClassFromAlignment,
|
|
16620
|
-
bodyClassFromAlignment,
|
|
16621
|
-
stackAlignFromAlignment,
|
|
16622
|
-
sectionStateToneTransform,
|
|
16623
|
-
heroContentWrapperClassTransform,
|
|
16624
|
-
heroCtaJustifyTransform,
|
|
16625
|
-
heroStackJustifyFromVerticalAlignmentTransform,
|
|
16626
|
-
heroGridClassFromVerticalAlignmentTransform,
|
|
16627
|
-
imageFragmentClassTransform,
|
|
16628
|
-
imageFragmentSizeTransform,
|
|
16629
|
-
{
|
|
16630
|
-
id: "ui.imageShapeClassName",
|
|
16631
|
-
kind: "string",
|
|
16632
|
-
summary: "Apply a constrained media shape class",
|
|
16633
|
-
run: (value, options) => {
|
|
16634
|
-
return joinClasses$1([typeof options?.baseClass === "string" ? options.baseClass : "", imageShapeClassMap[typeof value === "string" ? value.trim() : "default"] ?? ""]);
|
|
16635
|
-
}
|
|
16636
|
-
},
|
|
16637
|
-
conditionalClassTransform,
|
|
16638
|
-
twoColumnContainerClassTransform,
|
|
16639
|
-
twoColumnFlexBasisTransform,
|
|
16640
|
-
columnsDesktopSpanClassTransform,
|
|
16641
|
-
{
|
|
16642
|
-
id: "ui.columnsGridCols",
|
|
16643
|
-
kind: "formatter",
|
|
16644
|
-
summary: "Resolve responsive grid column counts for columns block",
|
|
16645
|
-
run: (value) => {
|
|
16646
|
-
return resolveColumnsGridCols(asPartialObject(value) ?? {});
|
|
16647
|
-
}
|
|
16648
|
-
},
|
|
16649
|
-
{
|
|
16650
|
-
id: "ui.columnsColsAt",
|
|
16651
|
-
kind: "formatter",
|
|
16652
|
-
summary: "Resolve columns count for a specific breakpoint",
|
|
16653
|
-
schema: z.object({ breakpoint: z.enum([
|
|
16654
|
-
"mobile",
|
|
16655
|
-
"md",
|
|
16656
|
-
"lg",
|
|
16657
|
-
"xl"
|
|
16658
|
-
]) }),
|
|
16659
|
-
run: (value, options) => {
|
|
16660
|
-
const cols = resolveColumnsGridCols(asPartialObject(value) ?? {});
|
|
16661
|
-
const mobile = cols.base;
|
|
16662
|
-
const md = cols.md ?? mobile;
|
|
16663
|
-
const lg = cols.lg ?? md;
|
|
16664
|
-
const xl = cols.xl ?? lg;
|
|
16665
|
-
const resolved = options.breakpoint === "mobile" ? mobile : options.breakpoint === "md" ? md : options.breakpoint === "lg" ? lg : xl;
|
|
16666
|
-
return String(resolved);
|
|
16667
|
-
}
|
|
16668
|
-
},
|
|
16669
|
-
{
|
|
16670
|
-
id: "ui.ratioToHeightFactor",
|
|
16671
|
-
kind: "formatter",
|
|
16672
|
-
summary: "Convert a width/height aspect ratio string to a height factor (h/w)",
|
|
16673
|
-
run: (value) => ratioToHeightFactor(value)
|
|
16674
|
-
},
|
|
16675
|
-
{
|
|
16676
|
-
id: "ui.imageGalleryFilterClass",
|
|
16677
|
-
kind: "string",
|
|
16678
|
-
summary: "Map image filter selection to rb-* filter utility class",
|
|
16679
|
-
run: (value) => {
|
|
16680
|
-
switch (typeof value === "string" ? value.trim() : "none") {
|
|
16681
|
-
case "grayscale": return "rb-filter-grayscale";
|
|
16682
|
-
case "grayscale-hover-reveal": return "rb-filter-grayscale-hover-reveal";
|
|
16683
|
-
case "sepia": return "rb-filter-sepia";
|
|
16684
|
-
default: return "";
|
|
16685
|
-
}
|
|
16686
|
-
}
|
|
16687
|
-
},
|
|
16688
|
-
{
|
|
16689
|
-
id: "ui.imageGalleryTileClass",
|
|
16690
|
-
kind: "string",
|
|
16691
|
-
summary: "Compose image gallery tile wrapper classes (border + corners)",
|
|
16692
|
-
run: (value) => {
|
|
16693
|
-
const content = asPartialObject(value) ?? {};
|
|
16694
|
-
const cornersClass = imageGalleryCornerClassMap[typeof content.imageCorners === "string" ? content.imageCorners : "3xl"] ?? "rb-rounded-3xl";
|
|
16695
|
-
const border = content.imageBorder && typeof content.imageBorder === "object" ? content.imageBorder : {};
|
|
16696
|
-
const borderEnabled = border.enabled !== false;
|
|
16697
|
-
const borderWidth = typeof border.width === "string" ? border.width : "2";
|
|
16698
|
-
return joinClasses$1([
|
|
16699
|
-
"rb-overflow-hidden",
|
|
16700
|
-
"rb-relative",
|
|
16701
|
-
cornersClass,
|
|
16702
|
-
!borderEnabled ? "" : borderWidth === "1" ? "rb-border" : borderWidth === "2" ? "rb-border-2" : borderWidth === "3" ? "rb-border-3" : "rb-border-2"
|
|
16703
|
-
]);
|
|
16704
|
-
}
|
|
16705
|
-
},
|
|
16706
|
-
{
|
|
16707
|
-
id: "ui.imageGalleryTileStyle",
|
|
16708
|
-
kind: "formatter",
|
|
16709
|
-
summary: "Build image gallery tile inline styles (border color)",
|
|
16710
|
-
run: (value) => {
|
|
16711
|
-
const content = asPartialObject(value) ?? {};
|
|
16712
|
-
const borderColor = resolveBorderColorValue(content.imageBorder && typeof content.imageBorder === "object" ? content.imageBorder : {});
|
|
16713
|
-
return borderColor ? { borderColor } : void 0;
|
|
16714
|
-
}
|
|
16715
|
-
},
|
|
16716
|
-
{
|
|
16717
|
-
id: "ui.imageGalleryMarqueeTileStyle",
|
|
16718
|
-
kind: "formatter",
|
|
16719
|
-
summary: "Build marquee tile inline styles (border + fixed size)",
|
|
16720
|
-
run: (value) => {
|
|
16721
|
-
const content = asPartialObject(value) ?? {};
|
|
16722
|
-
const size = typeof content.marqueeImageSize === "string" ? content.marqueeImageSize : "md";
|
|
16723
|
-
const pixels = size === "sm" ? 200 : size === "lg" ? 320 : size === "xl" ? 400 : 256;
|
|
16724
|
-
const style = {
|
|
16725
|
-
width: `${pixels}px`,
|
|
16726
|
-
height: `${pixels}px`
|
|
16727
|
-
};
|
|
16728
|
-
const borderColor = resolveBorderColorValue(content.imageBorder && typeof content.imageBorder === "object" ? content.imageBorder : {});
|
|
16729
|
-
if (borderColor) style.borderColor = borderColor;
|
|
16730
|
-
return style;
|
|
16731
|
-
}
|
|
16732
|
-
},
|
|
16733
|
-
{
|
|
16734
|
-
id: "ui.imageGalleryMarqueeDuration",
|
|
16735
|
-
kind: "string",
|
|
16736
|
-
summary: "Map marquee speed selection to CSS duration",
|
|
16737
|
-
run: (value) => {
|
|
16738
|
-
const speed = typeof value === "string" ? value.trim() : "medium";
|
|
16739
|
-
return speed === "slow" ? "60s" : speed === "fast" ? "20s" : "40s";
|
|
16740
|
-
}
|
|
16741
|
-
},
|
|
16742
|
-
{
|
|
16743
|
-
id: "ui.imageGalleryMarqueeDirection",
|
|
16744
|
-
kind: "string",
|
|
16745
|
-
summary: "Map marquee direction selection to animation-direction",
|
|
16746
|
-
run: (value) => value === "right" ? "reverse" : "normal"
|
|
16747
|
-
},
|
|
16748
|
-
{
|
|
16749
|
-
id: "ui.eyebrowClassName",
|
|
16750
|
-
kind: "string",
|
|
16751
|
-
summary: "Apply a constrained Theme V2 eyebrow treatment class",
|
|
16752
|
-
run: (value, options) => {
|
|
16753
|
-
return joinClasses$1([typeof options?.baseClass === "string" ? options.baseClass : "rb-eyebrow", eyebrowTreatmentClassMap[isEyebrowTreatment(value) ? value : "plain"]]);
|
|
16754
|
-
}
|
|
16755
|
-
},
|
|
16756
|
-
{
|
|
16757
|
-
id: "ui.headingDecorationClassName",
|
|
16758
|
-
kind: "string",
|
|
16759
|
-
summary: "Apply constrained Theme V2 heading decoration classes",
|
|
16760
|
-
run: (value, options) => {
|
|
16761
|
-
const baseClass = typeof options?.baseClass === "string" && options.baseClass.trim() ? options.baseClass : "rb-heading-decoration";
|
|
16762
|
-
const decoration = asPartialObject(value);
|
|
16763
|
-
const family = isHeadingDecorationFamily(decoration?.family) ? decoration.family : null;
|
|
16764
|
-
const colorToken = isHeadingDecorationColorToken(decoration?.colorToken) ? decoration.colorToken : "primary";
|
|
16765
|
-
if (!family) return "rb-hidden";
|
|
16766
|
-
return joinClasses$1([
|
|
16767
|
-
baseClass,
|
|
16768
|
-
`rb-heading-decoration-${family}`,
|
|
16769
|
-
`rb-heading-decoration-color-${colorToken}`
|
|
16770
|
-
]);
|
|
16771
|
-
}
|
|
16772
|
-
}
|
|
16773
|
-
];
|
|
16774
|
-
function longestHeroWord(words, policy) {
|
|
16775
|
-
return policy === "look" ? Math.max(0, ...words.map((word) => word.length)) : 0;
|
|
16776
|
-
}
|
|
16777
|
-
function heroLegacyTypographyClasses(content, scale, length) {
|
|
16778
|
-
return content._effectiveLook ? [] : [scale ? `rb-hero-typography-${scale}` : "", `rb-hero-title-${length}`];
|
|
16779
|
-
}
|
|
16780
|
-
function heroHeadlineText(content, policy) {
|
|
16781
|
-
const plain = readString(content, "headline");
|
|
16782
|
-
return policy === "look" ? inlineTextToPlainText(coerceInlineTextWithFallback(content.headlineInline, plain)).trim() : plain?.trim() ?? "";
|
|
16783
|
-
}
|
|
16784
|
-
//#endregion
|
|
16785
16121
|
//#region ../blocks/src/system/transforms/registry/layout.ts
|
|
16786
16122
|
const joinClasses = (parts) => parts.filter((part) => typeof part === "string" && part.trim().length > 0).join(" ").replace(/\s+/g, " ").trim();
|
|
16787
16123
|
/** How the header brand renders; the logo media is hidden for `title-only`. */
|
|
@@ -17489,7 +16825,11 @@ const centeredLayout = stack({
|
|
|
17489
16825
|
transforms: pipe(tx("layout.maxWidthClass", { base: `rb-header-layout header-desktop-bar ${desktopOnlyDisplay("flex")} rb-w-full rb-flex-col rb-items-center rb-gap-5 rb-text-center` })),
|
|
17490
16826
|
fallback: `rb-container rb-header-layout header-desktop-bar ${desktopOnlyDisplay("flex")} rb-w-full rb-flex-col rb-items-center rb-gap-5 rb-text-center`
|
|
17491
16827
|
})
|
|
17492
|
-
}, [centeredLogoRow,
|
|
16828
|
+
}, [centeredLogoRow, inline({
|
|
16829
|
+
className: `${desktopOnlyDisplay("flex")} rb-flex-wrap rb-items-center rb-justify-center rb-gap-y-3`,
|
|
16830
|
+
align: "center",
|
|
16831
|
+
justify: "center"
|
|
16832
|
+
}, [createNavRow(`${desktopOnlyDisplay("flex")} rb-flex-wrap rb-justify-center rb-gap-x-6 rb-gap-y-3`, "center"), headerCta])], when("$root.theme.header.variant", { equals: "centered" }));
|
|
17493
16833
|
const floatingLayout = inline({
|
|
17494
16834
|
[SITE_CHROME_VISIBLE_HEADER_ATTR]: "true",
|
|
17495
16835
|
className: bindProp("$root.theme.header.maxWidth", {
|
|
@@ -19378,7 +18718,10 @@ const mediaTextBlockDefinition = { manifest: createBlockManifest({
|
|
|
19378
18718
|
}],
|
|
19379
18719
|
fallback: "rb-w-full rb-h-auto rb-object-cover"
|
|
19380
18720
|
} },
|
|
19381
|
-
style: {
|
|
18721
|
+
style: {
|
|
18722
|
+
borderRadius: { $bind: { from: "content._lookMediaFrame.borderRadius" } },
|
|
18723
|
+
aspectRatio: { $bind: { from: "content.aspectRatio" } }
|
|
18724
|
+
}
|
|
19382
18725
|
};
|
|
19383
18726
|
const defaultSingleImage = media(defaultImageCommonProps, bind("content.images[0].image"), when("content.images[0].image"));
|
|
19384
18727
|
const defaultCarouselImages = carousel({
|
|
@@ -24766,306 +24109,6 @@ function arrangementSlotParentsForManifest(manifest, target, arrangement, eventR
|
|
|
24766
24109
|
});
|
|
24767
24110
|
}
|
|
24768
24111
|
//#endregion
|
|
24769
|
-
//#region ../blocks/src/system/customize/arrangementKnobs.ts
|
|
24770
|
-
/**
|
|
24771
|
-
* Content stage for knobs, shared by the renderer and the editor so what the
|
|
24772
|
-
* options show and what renders can't disagree. Knob buffets are the block's
|
|
24773
|
-
* customise facets; the Look exposes, forces or narrows them and the style's
|
|
24774
|
-
* offer can only remove or narrow further.
|
|
24775
|
-
*/
|
|
24776
|
-
function resolveArrangementKnobs(input) {
|
|
24777
|
-
const length = input.blockKind === "block.hero" ? resolveHeroTitleLength({ ...input.content }, "look") : null;
|
|
24778
|
-
const exposure = arrangementKnobExposure(input.blockKind, input.look, length, storedSplitPhotoSide(input.blockKind, input.content));
|
|
24779
|
-
return {
|
|
24780
|
-
length,
|
|
24781
|
-
exposure,
|
|
24782
|
-
knobs: resolveEffectiveKnobs({
|
|
24783
|
-
exposure,
|
|
24784
|
-
content: normalizedHeadlinePreference(input.content)
|
|
24785
|
-
})
|
|
24786
|
-
};
|
|
24787
|
-
}
|
|
24788
|
-
function arrangementKnobExposure(blockKind, look, length, splitPhotoSide) {
|
|
24789
|
-
return systemCustomizeFacetDefinitionsForBlock(blockKind).flatMap((facet) => {
|
|
24790
|
-
if (facet.knob === void 0 || facet.target.kind !== "content-field") return [];
|
|
24791
|
-
const id = facet.target.field;
|
|
24792
|
-
const defaults = look.look.structure.knobDefaults ?? {};
|
|
24793
|
-
const storedDefault = id === "imagePosition" ? splitPhotoSide : null;
|
|
24794
|
-
return [{
|
|
24795
|
-
definition: {
|
|
24796
|
-
id,
|
|
24797
|
-
defaultValue: defaults[id] ?? storedDefault ?? facet.defaultValue,
|
|
24798
|
-
values: facet.values.map((value) => value.value),
|
|
24799
|
-
...knobKindMetadata(facet.knob)
|
|
24800
|
-
},
|
|
24801
|
-
exposed: exposedKnobIds(look).includes(id),
|
|
24802
|
-
forced: look.look.structure.forcedKnobs?.[id],
|
|
24803
|
-
lookValues: look.look.structure.knobValues?.[id],
|
|
24804
|
-
styleValues: look.knobValues[id],
|
|
24805
|
-
lengthValues: id === "titleSize" ? headlineAllowedValues(length) : void 0
|
|
24806
|
-
}];
|
|
24807
|
-
});
|
|
24808
|
-
}
|
|
24809
|
-
/**
|
|
24810
|
-
* A hero stored as "Split, photo on the left" or "Split, photo on the right"
|
|
24811
|
-
* already says which side its photo is on. Under a Look that side is the Photo
|
|
24812
|
-
* side default, so the photo stays where it was until the owner picks a side.
|
|
24813
|
-
*/
|
|
24814
|
-
function storedSplitPhotoSide(blockKind, content) {
|
|
24815
|
-
if (blockKind !== "block.hero") return null;
|
|
24816
|
-
switch (content.variant) {
|
|
24817
|
-
case "split": return "left";
|
|
24818
|
-
case "splitReverse": return "right";
|
|
24819
|
-
default: return null;
|
|
24820
|
-
}
|
|
24821
|
-
}
|
|
24822
|
-
function knobKindMetadata(knob) {
|
|
24823
|
-
return knob.kind === "fixed" ? { ordered: knob.ordered } : {
|
|
24824
|
-
ordered: false,
|
|
24825
|
-
textMaxLength: knob.maxLength
|
|
24826
|
-
};
|
|
24827
|
-
}
|
|
24828
|
-
function headlineAllowedValues(length) {
|
|
24829
|
-
switch (length) {
|
|
24830
|
-
case "long": return ["quiet"];
|
|
24831
|
-
case "medium": return ["quiet", "auto"];
|
|
24832
|
-
case "short": return [
|
|
24833
|
-
"quiet",
|
|
24834
|
-
"auto",
|
|
24835
|
-
"display"
|
|
24836
|
-
];
|
|
24837
|
-
case null: return;
|
|
24838
|
-
}
|
|
24839
|
-
}
|
|
24840
|
-
/** `titleSize` keeps its five stored values; under a Look they read as three steps. */
|
|
24841
|
-
function normalizedHeadlinePreference(content) {
|
|
24842
|
-
switch (content.titleSize) {
|
|
24843
|
-
case "editorial": return {
|
|
24844
|
-
...content,
|
|
24845
|
-
titleSize: "auto"
|
|
24846
|
-
};
|
|
24847
|
-
case "poster": return {
|
|
24848
|
-
...content,
|
|
24849
|
-
titleSize: "display"
|
|
24850
|
-
};
|
|
24851
|
-
default: return content;
|
|
24852
|
-
}
|
|
24853
|
-
}
|
|
24854
|
-
function exposedKnobIds(look) {
|
|
24855
|
-
return [...look.look.structure.knobs, ...look.addKnobs ?? []].filter((id) => !look.removeKnobs.some((removed) => removed === id));
|
|
24856
|
-
}
|
|
24857
|
-
//#endregion
|
|
24858
|
-
//#region ../blocks/src/system/customize/facets.ts
|
|
24859
|
-
function defineCustomizeFacet(definition) {
|
|
24860
|
-
return definition;
|
|
24861
|
-
}
|
|
24862
|
-
const eventCalendarListLayoutFacet = defineCustomizeFacet({
|
|
24863
|
-
blockKind: "block.event-calendar",
|
|
24864
|
-
id: "eventCalendar.listLayout",
|
|
24865
|
-
label: "List style",
|
|
24866
|
-
legacyOnly: true,
|
|
24867
|
-
values: eventCalendarListLayoutOptions.map((option) => ({
|
|
24868
|
-
value: option.id,
|
|
24869
|
-
label: option.label
|
|
24870
|
-
})),
|
|
24871
|
-
defaultValue: "stack",
|
|
24872
|
-
target: { kind: "event-calendar-list-layout-content" },
|
|
24873
|
-
appliesToLayoutVariants: eventCalendarListLayoutCompatibleDisplayModeValues
|
|
24874
|
-
});
|
|
24875
|
-
const fixedKnob = (blockKind, id, label, values, defaultValue, ordered = false, boolean = false) => ({
|
|
24876
|
-
blockKind,
|
|
24877
|
-
id,
|
|
24878
|
-
label,
|
|
24879
|
-
values,
|
|
24880
|
-
defaultValue,
|
|
24881
|
-
knob: {
|
|
24882
|
-
kind: "fixed",
|
|
24883
|
-
ordered
|
|
24884
|
-
},
|
|
24885
|
-
target: {
|
|
24886
|
-
kind: "content-field",
|
|
24887
|
-
field: id,
|
|
24888
|
-
...boolean ? { boolean: true } : {}
|
|
24889
|
-
}
|
|
24890
|
-
});
|
|
24891
|
-
const textKnob = (id, label, maxLength) => ({
|
|
24892
|
-
blockKind: "block.hero",
|
|
24893
|
-
id,
|
|
24894
|
-
label,
|
|
24895
|
-
values: [],
|
|
24896
|
-
defaultValue: "",
|
|
24897
|
-
knob: {
|
|
24898
|
-
kind: "text",
|
|
24899
|
-
maxLength
|
|
24900
|
-
},
|
|
24901
|
-
target: {
|
|
24902
|
-
kind: "content-field",
|
|
24903
|
-
field: id
|
|
24904
|
-
}
|
|
24905
|
-
});
|
|
24906
|
-
const onOff = [{
|
|
24907
|
-
value: "true",
|
|
24908
|
-
label: "On"
|
|
24909
|
-
}, {
|
|
24910
|
-
value: "false",
|
|
24911
|
-
label: "Off"
|
|
24912
|
-
}];
|
|
24913
|
-
const columnCounts = [
|
|
24914
|
-
{
|
|
24915
|
-
value: "2",
|
|
24916
|
-
label: "2"
|
|
24917
|
-
},
|
|
24918
|
-
{
|
|
24919
|
-
value: "3",
|
|
24920
|
-
label: "3"
|
|
24921
|
-
},
|
|
24922
|
-
{
|
|
24923
|
-
value: "4",
|
|
24924
|
-
label: "4"
|
|
24925
|
-
}
|
|
24926
|
-
];
|
|
24927
|
-
const systemCustomizeFacetDefinitions = [
|
|
24928
|
-
eventCalendarListLayoutFacet,
|
|
24929
|
-
fixedKnob("block.offerings-preview", "grouping", "Grouping", [{
|
|
24930
|
-
value: "by-kind",
|
|
24931
|
-
label: "Grouped by kind"
|
|
24932
|
-
}, {
|
|
24933
|
-
value: "one-list",
|
|
24934
|
-
label: "One list"
|
|
24935
|
-
}], "by-kind"),
|
|
24936
|
-
fixedKnob("block.offerings-preview", "dates", "Dates", [{
|
|
24937
|
-
value: "summary",
|
|
24938
|
-
label: "Summary"
|
|
24939
|
-
}, {
|
|
24940
|
-
value: "next-dates",
|
|
24941
|
-
label: "Next dates"
|
|
24942
|
-
}], "summary"),
|
|
24943
|
-
{
|
|
24944
|
-
...fixedKnob("block.feature-cards", "actionStyle", "Item actions", [{
|
|
24945
|
-
value: "button",
|
|
24946
|
-
label: "Button"
|
|
24947
|
-
}, {
|
|
24948
|
-
value: "link",
|
|
24949
|
-
label: "Link"
|
|
24950
|
-
}], "button"),
|
|
24951
|
-
blockKinds: cardListKnobBlocks
|
|
24952
|
-
},
|
|
24953
|
-
fixedKnob("block.testimonials", "quoteCount", "How many quotes", [
|
|
24954
|
-
{
|
|
24955
|
-
value: "1",
|
|
24956
|
-
label: "1"
|
|
24957
|
-
},
|
|
24958
|
-
{
|
|
24959
|
-
value: "2",
|
|
24960
|
-
label: "2"
|
|
24961
|
-
},
|
|
24962
|
-
{
|
|
24963
|
-
value: "3",
|
|
24964
|
-
label: "3"
|
|
24965
|
-
},
|
|
24966
|
-
{
|
|
24967
|
-
value: "all",
|
|
24968
|
-
label: "All"
|
|
24969
|
-
}
|
|
24970
|
-
], "3", true),
|
|
24971
|
-
{
|
|
24972
|
-
...fixedKnob("block.testimonials", "autoAdvance", "Moves on by itself", onOff, "false", false, true),
|
|
24973
|
-
description: "Moves to the next quote every few seconds, and stops while someone's reading."
|
|
24974
|
-
},
|
|
24975
|
-
fixedKnob("block.testimonials", "tilt", "Tilt the small cards", onOff, "true", false, true),
|
|
24976
|
-
{
|
|
24977
|
-
...fixedKnob("block.testimonials", "archFrame", "Arch frame", onOff, "true", false, true),
|
|
24978
|
-
blockKinds: [
|
|
24979
|
-
"block.testimonials",
|
|
24980
|
-
"block.newsletter-signup",
|
|
24981
|
-
"block.form"
|
|
24982
|
-
]
|
|
24983
|
-
},
|
|
24984
|
-
fixedKnob("block.hero", "photoTint", "Photo tint", [{
|
|
24985
|
-
value: "dark",
|
|
24986
|
-
label: "Dark"
|
|
24987
|
-
}, {
|
|
24988
|
-
value: "brand",
|
|
24989
|
-
label: "Brand colour"
|
|
24990
|
-
}], "dark"),
|
|
24991
|
-
fixedKnob("block.hero", "candleGlow", "Candle glow", onOff, "true", false, true),
|
|
24992
|
-
fixedKnob("block.hero", "columnGuides", "Column guides", onOff, "true", false, true),
|
|
24993
|
-
fixedKnob("block.hero", "titleSize", "Headline size", heroTitleSizeOptions, "auto", true),
|
|
24994
|
-
fixedKnob("block.hero", "imagePosition", "Photo side", [{
|
|
24995
|
-
value: "left",
|
|
24996
|
-
label: "Left"
|
|
24997
|
-
}, {
|
|
24998
|
-
value: "right",
|
|
24999
|
-
label: "Right"
|
|
25000
|
-
}], "right"),
|
|
25001
|
-
fixedKnob("block.intro", "imageShape", "Media shape", standardImageShapeOptions, "default"),
|
|
25002
|
-
fixedKnob("block.intro", "imagePosition", "Photo side", [{
|
|
25003
|
-
value: "left",
|
|
25004
|
-
label: "Left"
|
|
25005
|
-
}, {
|
|
25006
|
-
value: "right",
|
|
25007
|
-
label: "Right"
|
|
25008
|
-
}], "left"),
|
|
25009
|
-
fixedKnob("block.media-text", "imagePosition", "Photo side", [{
|
|
25010
|
-
value: "left",
|
|
25011
|
-
label: "Left"
|
|
25012
|
-
}, {
|
|
25013
|
-
value: "right",
|
|
25014
|
-
label: "Right"
|
|
25015
|
-
}], "left"),
|
|
25016
|
-
fixedKnob("block.media-text", "imageShape", "Media shape", standardImageShapeOptions, "default"),
|
|
25017
|
-
fixedKnob("block.media-text", "aspectRatio", "Media aspect ratio", standardAspectRatioOptions, "auto"),
|
|
25018
|
-
textKnob("stickerLine", "Sticker line", 32),
|
|
25019
|
-
textKnob("smallCaption", "Small caption", 24),
|
|
25020
|
-
{
|
|
25021
|
-
...fixedKnob("block.feature-cards", "showPhotos", "Show photos", onOff, "true", false, true),
|
|
25022
|
-
blockKinds: cardListFamilyBlocks
|
|
25023
|
-
},
|
|
25024
|
-
fixedKnob("block.feature-cards", "columns", "Columns", columnCounts, "3", true),
|
|
25025
|
-
fixedKnob("block.image-gallery", "blackAndWhite", "Black and white", onOff, "false", false, true),
|
|
25026
|
-
fixedKnob("block.event-calendar", "listColumns", "Columns", columnCounts, "3", true),
|
|
25027
|
-
fixedKnob("block.event-calendar", "showPhotos", "Photos", [{
|
|
25028
|
-
value: "true",
|
|
25029
|
-
label: "Show"
|
|
25030
|
-
}, {
|
|
25031
|
-
value: "false",
|
|
25032
|
-
label: "Hide"
|
|
25033
|
-
}], "true", false, true),
|
|
25034
|
-
{
|
|
25035
|
-
...fixedKnob("block.feature-cards", "cardMarker", "Item markers", [
|
|
25036
|
-
{
|
|
25037
|
-
value: "icons",
|
|
25038
|
-
label: "Icons"
|
|
25039
|
-
},
|
|
25040
|
-
{
|
|
25041
|
-
value: "numbers",
|
|
25042
|
-
label: "Numbers"
|
|
25043
|
-
},
|
|
25044
|
-
{
|
|
25045
|
-
value: "none",
|
|
25046
|
-
label: "None"
|
|
25047
|
-
}
|
|
25048
|
-
], "icons"),
|
|
25049
|
-
blockKinds: cardListFamilyBlocks
|
|
25050
|
-
},
|
|
25051
|
-
fixedKnob("block.body-text", "alignment", "Text alignment", [{
|
|
25052
|
-
value: "left",
|
|
25053
|
-
label: "Left"
|
|
25054
|
-
}, {
|
|
25055
|
-
value: "center",
|
|
25056
|
-
label: "Centre"
|
|
25057
|
-
}], "left"),
|
|
25058
|
-
{
|
|
25059
|
-
...fixedKnob("block.event-calendar", "showCapacity", "Places left", onOff, "true", false, true),
|
|
25060
|
-
description: "Show how many places are left on each event"
|
|
25061
|
-
}
|
|
25062
|
-
];
|
|
25063
|
-
systemCustomizeFacetDefinitions.map((definition) => definition.id);
|
|
25064
|
-
Array.from(new Set(systemCustomizeFacetDefinitions.flatMap((definition) => definition.values.map((option) => option.value))));
|
|
25065
|
-
function systemCustomizeFacetDefinitionsForBlock(blockKind) {
|
|
25066
|
-
return systemCustomizeFacetDefinitions.filter((definition) => definition.blockKind === blockKind || "blockKinds" in definition && definition.blockKinds?.some((kind) => kind === blockKind));
|
|
25067
|
-
}
|
|
25068
|
-
//#endregion
|
|
25069
24112
|
//#region ../blocks/src/system/customize/fieldOwnership.ts
|
|
25070
24113
|
/**
|
|
25071
24114
|
* Values with their own owner, whatever their fields are tagged: the Background
|
|
@@ -28047,7 +27090,7 @@ function planArrangementContent(blockKind, manifest, authored, audience) {
|
|
|
28047
27090
|
...mode !== null ? { variant: mode } : {},
|
|
28048
27091
|
...effectiveContent,
|
|
28049
27092
|
...photoContent,
|
|
28050
|
-
...
|
|
27093
|
+
...arrangementMediaFrameContent(blockKind, effective, values, authored),
|
|
28051
27094
|
...arrangementPanelContent(activeContent, effective, mode),
|
|
28052
27095
|
...arrangementQuoteContent(blockKind, effective, values),
|
|
28053
27096
|
_arrangementLooks: runtime,
|
|
@@ -28099,11 +27142,15 @@ function arrangementPhotoTreatmentContent(content, look, palette, tint) {
|
|
|
28099
27142
|
function arrangementContentSlots(blockKind) {
|
|
28100
27143
|
return Object.fromEntries(arrangementSlotNames.filter((slot) => (!slot.startsWith("price-") || blockKind === "block.shop") && slot !== "schedule-section" && slot !== "shop-section" && (slot !== "background" || blockKind === "block.hero")).map((slot) => [slot, slot]));
|
|
28101
27144
|
}
|
|
28102
|
-
/**
|
|
28103
|
-
function
|
|
28104
|
-
|
|
28105
|
-
|
|
28106
|
-
|
|
27145
|
+
/** One frame declaration owns shape crops and keeps authored ratios for variable layouts. */
|
|
27146
|
+
function arrangementMediaFrameContent(blockKind, look, knobs, authored) {
|
|
27147
|
+
if (blockKind !== "block.intro" && blockKind !== "block.media-text") return {};
|
|
27148
|
+
const frame = resolveLookMediaFrame(look.look.structure.mediaFrame, look.skin, knobs);
|
|
27149
|
+
if (!frame) return {};
|
|
27150
|
+
return frame.kind === "fixed" ? {
|
|
27151
|
+
aspectRatio: frame.aspectRatio,
|
|
27152
|
+
_lookMediaFrame: frame
|
|
27153
|
+
} : { aspectRatio: typeof authored.aspectRatio === "string" ? authored.aspectRatio : frame.aspectRatio };
|
|
28107
27154
|
}
|
|
28108
27155
|
function arrangementQuoteContent(blockKind, effective, values) {
|
|
28109
27156
|
if (blockKind !== "block.testimonials") return {};
|