@riverbankcms/sdk 0.160.0 → 0.162.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/{BlocksIslandsHydrator-CoqeotCL.d.ts → BlocksIslandsHydrator-PZUoA872.d.ts} +1 -1
- package/dist/_dts/{Page-C0ENVLCF.d.ts → Page-CdQS6C7i.d.ts} +211 -9
- package/dist/_dts/{SdkPreviewMode-jZK0A49V.d.ts → SdkPreviewMode-CNGO-5f1.d.ts} +59 -92
- package/dist/_dts/{auth-contract-FPg0-2MC.d.ts → auth-contract-CgJ5nMaH.d.ts} +2 -0
- package/dist/_dts/{client-uMMuPq9V.d.ts → client-DGa53rjL.d.ts} +11 -3
- package/dist/_dts/{content-types-D6nXGqdQ.d.ts → content-types-K9R7P-KF.d.ts} +2 -2
- package/dist/_dts/{contracts-Bnmj1nxu.d.ts → contracts-CyBaPaIq.d.ts} +17 -5
- package/dist/_dts/{footerPageOutline-CeLjFX8b.d.ts → footerPageOutline-B6jmKmon.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-nyU8q02J.d.ts → generatePageMetadata-iemoR3AN.d.ts} +2 -2
- package/dist/_dts/{index-BaaGBY1v.d.ts → index-8CN0Nd-Z.d.ts} +2 -2
- package/dist/_dts/{index-nVoi_74l.d.ts → index-BtnsA14K.d.ts} +10 -20
- package/dist/_dts/{index-lkpjIg5i.d.ts → index-C39F9KaB.d.ts} +13 -2
- package/dist/_dts/{index-C5xslEBn.d.ts → index-DEu85xBt.d.ts} +1 -1
- package/dist/_dts/{schema-D0bNcPWK.d.ts → index-DI2yaSPY.d.ts} +22873 -19918
- package/dist/_dts/{types-D8czmbQF.d.ts → index-Dbd0Sn0G.d.ts} +4356 -1827
- package/dist/_dts/{index-CEaKil7G.d.ts → index-Du1IRglc.d.ts} +2 -2
- package/dist/_dts/{index-DahMwisK.d.ts → index-Jlcq6w69.d.ts} +3 -3
- package/dist/_dts/{index-Bg64CkV-.d.ts → index-Wm62sXf2.d.ts} +4 -4
- package/dist/_dts/{loadContent-CYLmzvLq.d.ts → loadContent-BPfAAZDW.d.ts} +13 -10
- package/dist/_dts/{resolvePageContent-DqnxChOs.d.ts → resolvePageContent-DWbrtKf8.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/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/keep-alive.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/session.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- 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/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{session-Ba2CsnK5.d.ts → session-C_gtSFyZ.d.ts} +2 -1
- package/dist/_dts/{types-DSgmJ15W.d.ts → types-CVv2H4AT.d.ts} +7 -7
- package/dist/_dts/{types-CFrYuXYP.d.ts → types-CfNG5koF.d.ts} +4 -2
- package/dist/_dts/{types-Dm-KW7nj.d.ts → types-ClZ-BQL_.d.ts} +3 -3
- package/dist/_dts/{validation-Bmb4WnHg.d.ts → validation-BJ6Lf_Dr.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DZRKi6tT.mjs → BlocksIslandsHydrator-COqlgWYU.mjs} +23 -21
- package/dist/client/{BookingMailingListNote-C00sLLdL.mjs → BookingMailingListNote-CFYPDEHH.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-CHSi9b3E.mjs → CalendarNavigationChevron-COBVxgHb.mjs} +6 -6
- package/dist/client/{CheckboxChoice-Bhm6RAUL.mjs → CheckboxChoice-C7X9dJ8A.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-CaN-7ui7.mjs → DemoBookingPortalAccess-CvT0E9AR.mjs} +26 -10
- package/dist/client/{DemoPortalSignInLink-ClxN5_xZ.mjs → DemoPortalSignInLink-EBOBN5dT.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BncvSa1n.mjs → EventCalendar.client-U6pKcntV.mjs} +16 -17
- package/dist/client/{EventCombined.client-DluBxVVu.mjs → EventCombined.client-CNzwEHws.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-BiJrMtfp.mjs → EventEmbeddedCheckoutStep-B9yAWV_k.mjs} +1 -1
- package/dist/client/{EventItem-CXhnT9pF.mjs → EventItem-M5rpaHxi.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-V-dtoDlD.mjs → EventListWeekNavigation-D4ieBLDY.mjs} +1 -1
- package/dist/client/{EventListing.client-DPO6SZbx.mjs → EventListing.client-B8F40Rmn.mjs} +3 -3
- package/dist/client/{EventListing.view-B-Yi5JZS.mjs → EventListing.view-k4lhuCn5.mjs} +15 -6
- package/dist/client/{EventRegistrationPayment-Dc3Fnlnw.mjs → EventRegistrationPayment-C3g8_Hqb.mjs} +25 -13
- package/dist/client/LocationMapActions-CAjt7qVo.mjs +62 -0
- package/dist/client/MapDrawingSvg-_aIK2ojv.mjs +200 -0
- package/dist/client/{Page-7PkzO04N.mjs → Page-DJBIQBOw.mjs} +2555 -536
- package/dist/client/{StepIndicator-DiD6euZ8.mjs → StepIndicator-CFacB1z6.mjs} +2 -2
- package/dist/client/{TabBarFragment-BHd8GN8y.mjs → TabBarFragment-BLsfQskO.mjs} +1 -1
- package/dist/client/ThemedButton-BWsDgjMC.mjs +2243 -0
- package/dist/client/{accordion-2m27DsIk.mjs → accordion-CtO2XF7M.mjs} +1 -1
- package/dist/client/{booking-form.client-BddWV5w1.mjs → booking-form.client-RICCQ0h2.mjs} +137 -60
- package/dist/client/{bookingForm-bcdXQjmw.mjs → bookingForm-SvjLPx8i.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-D7nj9I0y.mjs → carousel-BR-zCD3O.mjs} +2 -2
- package/dist/client/{carousel.client-AffDJo_s.mjs → carousel.client-CEWtoZd3.mjs} +1 -1
- package/dist/client/{cart-PN6yCw1H.mjs → cart-C6YpKbZZ.mjs} +3 -3
- package/dist/client/{cart.client-D4t1f0cJ.mjs → cart.client-dC938WrX.mjs} +1 -1
- package/dist/client/{checkout-CsTwXVSb.mjs → checkout-Dy9RlREI.mjs} +3 -3
- package/dist/client/{checkout.client-BhQE3zY7.mjs → checkout.client-CefG0d2F.mjs} +1 -1
- package/dist/client/client.mjs +37 -71
- package/dist/client/{context-BLAvalAa.mjs → context-BFwxgZpB.mjs} +28 -1
- package/dist/client/{cta-CUXhX_D7.mjs → cta-DtA42Xio.mjs} +1 -1
- package/dist/client/{dateFormatting-BHIHxNuo.mjs → dateFormatting-yP1B7F0O.mjs} +39 -2
- package/dist/client/{demoPortalMagicLink-R-awbk_0.mjs → demoPortalMagicLink-WOiT5Ryi.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-9Q93uvTo.mjs → enhanceHeaderSection-Dh8c_Lq-.mjs} +3 -3
- package/dist/client/{event-details.client-BS1WtG-a.mjs → event-details.client-BFgsLqTj.mjs} +3 -17
- package/dist/client/{event-registration.client-BXndwsET.mjs → event-registration.client-BaXZ1-Ky.mjs} +16 -16
- package/dist/client/{eventCalendar-HyoOt1Qz.mjs → eventCalendar-COLwF80U.mjs} +4 -4
- package/dist/client/{eventCombined-sdG5oEaH.mjs → eventCombined-D3Ltwu03.mjs} +4 -4
- package/dist/client/{eventDetails-FFAknE4w.mjs → eventDetails-CBrkimXu.mjs} +2 -2
- package/dist/client/{eventListing-CGK6urk3.mjs → eventListing-CedKVA1S.mjs} +4 -4
- package/dist/client/{eventRegistration-VhrvCs4l.mjs → eventRegistration-DkQQfR1b.mjs} +4 -4
- package/dist/client/{form-C-B5O_ko.mjs → form-XFy9uXSJ.mjs} +3 -3
- package/dist/client/{form.client-DoZVcl8d.mjs → form.client-B0iancFK.mjs} +4 -4
- package/dist/client/{form.parts-mttKpgif.mjs → form.parts-DMbolu9Y.mjs} +3 -3
- package/dist/client/{formatDate-xUSCknEO.mjs → formatDate-Jm5MQOCA.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-BHUEXsaI.mjs → headerSection-WjlECjtV.mjs} +2 -2
- package/dist/client/{mediaAssets-BOj-Co0B.mjs → mediaAssets-BkoW_PEn.mjs} +1 -1
- package/dist/client/{mediaContext-DThoeEBU.mjs → mediaContext-CNzWmoA4.mjs} +1 -1
- package/dist/client/{newsletter-form.client-D_n0rftg.mjs → newsletter-form.client-D-XwJTjN.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-DKHye4IE.mjs → newsletter-form.parts-H92f30y0.mjs} +2 -2
- package/dist/client/{newsletterForm-tEaYelzx.mjs → newsletterForm-DMuxzu6I.mjs} +3 -3
- package/dist/client/{noop-B610YKEx.mjs → noop-B3RNPVrt.mjs} +313 -3
- package/dist/client/portal/client.mjs +1116 -85
- package/dist/client/{product-detail.client-DUf5x5Jt.mjs → product-detail.client-B3HuuykE.mjs} +1 -1
- package/dist/client/{product-list.client-Cqp1BPTV.mjs → product-list.client-CzsDrHQO.mjs} +1 -1
- package/dist/client/{productDetail-B8bBiogP.mjs → productDetail-CbBUVWgd.mjs} +3 -3
- package/dist/client/{productList-BKN4D-1z.mjs → productList-vqOKH2mh.mjs} +3 -3
- package/dist/client/{propsDecoder-2nNZh2Oe.mjs → propsDecoder-CkSUep5a.mjs} +4 -28
- package/dist/client/{registry.server-BAm4RPNJ.mjs → registry.server-cZ24QwtW.mjs} +607 -210
- package/dist/client/rendering/client.mjs +28 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +18 -9
- package/dist/client/{richText-coerce-Cv-qomNB.mjs → richText-coerce-DDcCKvBJ.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-C5u8MbAA.mjs → routeIslandApiConfig-DYBioANh.mjs} +1 -1
- package/dist/client/{ThemedButton-C22C9cCF.mjs → schema-DNHLlze-.mjs} +7307 -8363
- package/dist/client/{shop-DZNC0VKk.mjs → shop-CF0dhnfH.mjs} +3 -3
- package/dist/client/{shop-commerce-DdX4LSa3.mjs → shop-commerce-DQznNBEo.mjs} +11 -11
- package/dist/client/{shop-commerce-store-BJtrZov9.mjs → shop-commerce-store-Ba8zPlIg.mjs} +1 -1
- package/dist/client/{shop.client-DmDd-igg.mjs → shop.client-DqfYoqWH.mjs} +12 -12
- package/dist/client/{shop.interactive-5SnnDHz3.mjs → shop.interactive-CreQ0I7i.mjs} +38 -183
- package/dist/client/{shopShared-CPqUlAh9.mjs → shopShared-D-yh-P7g.mjs} +2 -2
- package/dist/client/site-styles-B9HgmY07.mjs +11619 -0
- package/dist/client/{timetableModel-C19rcHEw.mjs → timetableModel-DCdVErTJ.mjs} +149 -8
- package/dist/client/{useAvailableSlots-BjbJXotk.mjs → useAvailableSlots-Cvgdp2DH.mjs} +8 -11
- package/dist/client/{useBookingNowIso-CMgfL7YJ.mjs → useBookingNowIso-DrTnGNzD.mjs} +1 -1
- package/dist/client/{useDiscountApply-KG8jB7WC.mjs → useDiscountApply-CULjnXGl.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-DK2w_i0a.mjs → useDiscountCodeUi-Gn_m7e0o.mjs} +1 -1
- package/dist/client/{useEventPagination-DW6MCirb.mjs → useEventPagination-CsysCF22.mjs} +8 -21
- package/dist/client/{view-CseyBW07.mjs → view-BpBjo9Te.mjs} +71 -59
- package/dist/client/{view-CkUn3Y0Y.mjs → view-DMyTchi7.mjs} +4 -4
- package/dist/client/wizardSteps-BO2OmMO9.mjs +6604 -0
- package/dist/preview-next/before-render.mjs +7 -6
- package/dist/preview-next/chrome.css +2 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-lUHBrzHv.mjs → EventEmbeddedCheckoutStep-DLsSmZbO.mjs} +2 -1
- package/dist/preview-next/client/LocationPickerEnvironment-QtSG2Bl-.mjs +138 -0
- package/dist/preview-next/client/MapLibreEditMap-B-rohNcG.mjs +488 -0
- package/dist/preview-next/client/{PreviewEditorSidebar-DWyUGCAG.mjs → PreviewEditorSidebar-ChrW9VEo.mjs} +269 -1100
- package/dist/preview-next/client/{PreviewEditorUI-Wq0b3Daw.mjs → PreviewEditorUI-VaHvYtrA.mjs} +10 -190
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BtZPcwYV.mjs → SdkPreviewModeRuntime-Bz7jR6nl.mjs} +1 -1
- package/dist/preview-next/client/{SdkPreviewModeRuntime-wSI_R361.mjs → SdkPreviewModeRuntime-DWwktlWs.mjs} +639 -536
- package/dist/preview-next/client/{ThemedButton-DzeycIlD.mjs → ThemedButton-CHKOWXxl.mjs} +1706 -692
- package/dist/preview-next/client/lucide-react-CA9cpo0P.mjs +51984 -0
- package/dist/preview-next/client/maplibre-gl-DykfOYYn.mjs +34208 -0
- package/dist/preview-next/client/{SiteChromeCustomizeContext-Hc4pYnNe.mjs → previewAuthStore-C0VUwEHz.mjs} +81363 -136296
- package/dist/preview-next/client/{previewChromeSurface-Corq4AG7.mjs → previewChromeSurface-Dhyx2YrS.mjs} +1 -1
- package/dist/preview-next/client/result-BjJUoxUF.mjs +16 -0
- package/dist/preview-next/client/rolldown-runtime-CE6sIgz8.mjs +34 -0
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CWymRWhK.mjs → sdk-runtime-C2GWOCyj.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-DHyzUpv4.mjs +12833 -0
- package/dist/preview-next/client/{spinner-C4If5Y-O.mjs → spinner-BeR2S8oG.mjs} +2 -1
- package/dist/preview-next/{constants-D8Ya7bO4.mjs → constants-Bf-vqdKH.mjs} +2 -1
- package/dist/preview-next/editor-base.css +2 -2
- package/dist/preview-next/keepAlive.mjs +3 -3
- package/dist/preview-next/middleware.mjs +7 -3
- package/dist/preview-next/{refresh-contract-CvmNqZ1Q.mjs → refresh-contract-uQ6BXgLJ.mjs} +5 -0
- package/dist/preview-next/{route-contract-8csADeIT.mjs → route-contract-CkrFDMrl.mjs} +434 -203
- package/dist/preview-next/{session-BgkrPqu0.mjs → session-P1R_ajT7.mjs} +12 -2
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-D1_gonwM.mjs → Block.shared-DxvNGDig.mjs} +4 -4
- package/dist/server/{bindings-CFmJg5lm.mjs → bindings-BuhKvYkE.mjs} +2 -1
- package/dist/server/{client-DPsi0Dai.mjs → client-BobW6DOz.mjs} +39 -72
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{siteChromeOverlayClearance-DALIAMwo.mjs → effectiveNavLinkStyle-B-MKSt0p.mjs} +2060 -1680
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-RMCcuVU_.mjs → loadContent-CCG_3mbY.mjs} +14 -5
- package/dist/server/loadPage-Bk9HDh9K.mjs +2 -0
- package/dist/server/{loadPage-DhDGzj7t.mjs → loadPage-jntGoMrf.mjs} +3 -2
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-OxY5FMuy.mjs → overrideResolution-BBOlgn4Z.mjs} +1 -1
- package/dist/server/{overrides-Bz_A6sB9.mjs → overrides-DByQwIyW.mjs} +803 -412
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-B_1vrSru.mjs → prebuild-DrwcTk2t.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-B7ukYXXR.mjs → prefetchBlockData-LfgxSJYE.mjs} +156 -89
- package/dist/server/{publicProducts-Djbpc81A.mjs → publicProducts-8A3T5v4M.mjs} +685 -166
- package/dist/server/{registry-eFjKtEhF.mjs → registry-Digv02oV.mjs} +780 -1052
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-DYvEa9c5.mjs → resolveBlockData-C23t8-77.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-C3dJ5UkL.mjs → schema-BiqpDRwB.mjs} +4805 -3561
- package/dist/server/server.mjs +3 -3
- package/dist/server/site-styles-DrkprQPL.mjs +755 -0
- package/dist/server/siteChromeOverlayClearance-BmKKkkbh.mjs +750 -0
- package/dist/server/{src-C5Mu-z0F.mjs → src-08GY1njw.mjs} +1060 -44
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-ruoyXb_0.mjs → themeAdmission-CSd_Vusz.mjs} +151 -53
- package/dist/server/{validation-B-Xar8QS.mjs → validation-DdUTkBOZ.mjs} +2 -2
- package/dist/server/{version-Bg7VHK3i.mjs → version-DdIOqIDe.mjs} +1 -1
- package/dist/styles/index.css +1029 -41
- package/package.json +1 -1
- package/dist/_dts/index-Blwl7yl6.d.ts +0 -13
- package/dist/client/LeafletStaticMap-ClZCCzAm.mjs +0 -135
- package/dist/client/location-map.client-Cylb_MHw.mjs +0 -28
- package/dist/client/location-map.view-Cx4Bl7ij.mjs +0 -345
- package/dist/client/locationMap-QnKJi-nZ.mjs +0 -15
- package/dist/client/renderableMediaAssetAdmission-DGjBr_e-.mjs +0 -152
- package/dist/client/wizardSteps-zgq10lN1.mjs +0 -17181
- package/dist/preview-next/client/siteStyleAccess-QZkJRHl5.mjs +0 -1359
- package/dist/server/loadPage-DUPP51C-.mjs +0 -2
- package/dist/server/media-CcHwZkdJ.mjs +0 -243
|
@@ -1,27 +1,73 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { T as
|
|
3
|
-
import { $ as parseCustomCssRules, $n as backgroundColorStyle, B as generateHeaderScrollTreatmentStyles, Bn as safeTokenOr, Cn as tileTreatmentValues, Cr as surfaceForegroundValueWithOpacity, Dn as surfaceDecorationColors, Dr as runtimeMediaSchema, En as resolveSurface, Ft as boxBackgroundSchema, G as MQ_MD_DOWN, Gn as resolveOpaqueSurfaceHex, H as getHeaderPaintTargets, Ht as renderCssDeclarations, It as runtimeBoxBackgroundSchema, J as MQ_TABLET_ONLY, Jn as paletteModeSchema, K as MQ_SM_DOWN, Kt as cardVariantRoleValues, L as corners, Ln as selectLogoVariant, On as opaqueSurfaceContextFromTheme, Pn as generateShadowValue$1, Q as parseBlockCustomCssRules, Qn as TokenResolver, Qt as asDesignBlockId, Rn as surfaceToneFromForegroundToken, Rt as siteChromeBackgroundOverrideOwner, Sn as testimonialsCompositionTreatmentValues, Sr as surfaceForegroundValue, Tn as visibleHeadingDecorationFamilyValues, Tr as mediaSchema, U as renderHeaderPaintTargetRules, Ut as generateShadowValue, V as generateMobileOverlayBackdropFilterFix, Vn as expandPalette, Vt as generateCardCss, W as MQ_LG_UP, X as getComponentBorderWidthPx, Y as headerVariantValues, Z as getComponentShadowVar, _r as DEFAULT_SURFACE_TEXT_COLOR, an as asSiteStyleId, ar as textColorValue, at as ACCORDION_SPACING_MAP, br as surfaceForegroundInputFromResolved, cr as parseBlockColorToken, ct as ICON_CONFIG, dn as eyebrowTreatmentValues, dr as parseColorTokenParts, dt as generateButtonCss, er as borderColorStyle, et as FONT_WEIGHT_MAP, fn as featureCardCompositionTreatmentValues, ft as generateDefaultButtonSystem, gn as makeBoundaryId, hn as introCompositionTreatmentValues, hr as hexToRgb, ht as skinTokenCssVars, ir as textColorStyle, it as ACCORDION_OPEN_ACCENT_THICKNESS, kn as opaqueSurfaceDeclarations, ln as defineFrameCapability, lr as buildThemeTokens, lt as ICON_SIZE_PX, mn as headingDecorationColorTokenValues, mt as parseThemeForPersistence, nr as mergeStyles, nt as INPUT_SPACING_MAP, or as parseThemeColorToken, ot as ACCORDION_TRIGGER_FONT_SCALE, q as MQ_SM_UP, qn as paletteColorsSchema, rn as asLayoutVariantKey, rr as rgbColorValue, rt as LABEL_FONT_SIZE_MAP, sn as defineBlockDesignCapability, st as ACCORDION_TRIGGER_LETTER_SPACING, tr as cssVarValue, tt as INPUT_FONT_SIZE_MAP, un as eventListTreatmentValues, ur as defaultThemeTokens, ut as generateButtonActionLayoutCss, vn as offeringsPreviewCompositionTreatmentValues, vr as SURFACE_FOREGROUND_CSS_VARS, wr as mediaPosterSchema, xr as surfaceForegroundStyle, yr as surfaceForegroundDeclarations, z as themeSchema, zn as resolveSurfaceForeground, zt as stripStaleTransitionStyleGroup } from "./ThemedButton-C22C9cCF.mjs";
|
|
2
|
+
import { $t as resolveSurfaceForeground, A as generateDefaultButtonSystem, An as expandPalette, At as defineFrameCapability, Bn as paletteColorsSchema, Bt as offeringsPreviewCompositionTreatmentValues, C as ACCORDION_SPACING_MAP, Cn as DEFAULT_SURFACE_TEXT_COLOR, Cr as err, D as ICON_SIZE_PX, Dn as surfaceForegroundStyle, E as ICON_CONFIG, En as surfaceForegroundInputFromResolved, Et as asSiteStyleId, F as parseThemeForPersistence, Ft as headingDecorationColorTokenValues, Gt as tileTreatmentValues, H as cardVariantRoleValues, I as skinTokenCssVars, In as resolveOpaqueSurfaceHex, It as introCompositionTreatmentValues, Jn as parseBlockColorToken, Jt as parseResolvedSurface, Kn as parseThemeColorToken, L as generateCardCss, Mt as eyebrowTreatmentValues, Nt as featureCardCompositionTreatmentValues, O as generateButtonActionLayoutCss, On as surfaceForegroundValue, Ot as defineBlockDesignCapability, Qn as runtimeMediaSchema, Qt as surfaceDecorationColors, R as renderCssDeclarations, Rn as hexToRgb, Rt as makeBoundaryId, S as ACCORDION_OPEN_ACCENT_THICKNESS, Sn as defaultThemeTokens, T as ACCORDION_TRIGGER_LETTER_SPACING, Tn as surfaceForegroundDeclarations, Vn as paletteModeSchema, Wt as testimonialsCompositionTreatmentValues, Xn as mediaSchema, Xt as resolveSurface, Yn as parseColorTokenParts, Yt as parseSurfaceTree, _ as parseCustomCssRules, _n as generateShadowValue$1, a as generateMobileOverlayBackdropFilterFix, an as cssVarValue, b as INPUT_SPACING_MAP, bn as surfaceToneFromForegroundToken, bt as asDesignBlockId, c as MQ_LG_UP, cn as textColorStyle, d as MQ_SM_UP, dn as opaqueSurfaceContextFromTheme, dr as parseSiteId, en as safeTokenOr, er as renderableMediaAssetSchema, f as MQ_TABLET_ONLY, fn as opaqueSurfaceDeclarations, fr as parseSiteTermsVersionId, ft as siteChromeBackgroundOverrideOwner, g as parseBlockCustomCssRules, h as getComponentShadowVar, i as generateHeaderScrollTreatmentStyles, in as borderColorStyle, jt as eventListTreatmentValues, k as generateButtonCss, kn as surfaceForegroundValueWithOpacity, l as MQ_MD_DOWN, ln as textColorValue, lt as boxBackgroundSchema, m as getComponentBorderWidthPx, nn as TokenResolver, nr as resolveManagedMediaReference, o as getHeaderPaintTargets, on as mergeStyles, or as parseApiKeyId, p as headerVariantValues, pr as parseUserId, pt as stripStaleTransitionStyleGroup, qt as visibleHeadingDecorationFamilyValues, r as themeSchema, rn as backgroundColorStyle, rr as mediaIdentifierSchema, s as renderHeaderPaintTargetRules, sn as rgbColorValue, sr as parseContentVersionId, t as corners, tr as indexRenderableMediaAssets, u as MQ_SM_DOWN, un as mapDrawingStyle, ut as runtimeBoxBackgroundSchema, v as FONT_WEIGHT_MAP, w as ACCORDION_TRIGGER_FONT_SCALE, wn as SURFACE_FOREGROUND_CSS_VARS, wr as ok, wt as asLayoutVariantKey, x as LABEL_FONT_SIZE_MAP, xn as buildThemeTokens, y as INPUT_FONT_SIZE_MAP, yn as selectLogoVariant, z as generateShadowValue } from "./schema-DNHLlze-.mjs";
|
|
4
3
|
import { c as assertNever$1 } from "./src-VIsPY-kw.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { $ as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
4
|
+
import { Ir as resolvedItemSurfaceProps, Jr as parseMailingListProviderScope, Jt as MediaPlaceholder, Lr as itemRole, Yt as computeMediaTransformStyle, br as readRuntimeNow, on as eventCalendarWeekStart, xr as resolveDateRuntimeContext, yr as isBlockButtonRole, zr as isRecord$9 } from "./wizardSteps-BO2OmMO9.mjs";
|
|
5
|
+
import { $ as isObjectRecord, G as publicEventsArraySchema, Nt as toUtcIsoDateTimeString, Q as isRichTextDoc, Tt as getLocalScheduleDate, V as eventVenueDrawingSchema, Z as RichTextDocSchema, at as parseLocationValue, b as eventCalendarListLayoutCompatibleDisplayModeValues, et as isRecord$10, g as resolveCalendarReadProfile, k as resolveEventCalendarReadPlan, kt as resolveBookingBusinessTimeZone, m as calendarWindowQuerySchema, nt as decideLocationSourcePermission, ot as projectPublicLocation, q as bookingConsentCarrierSchema, rt as locationValueSchema, st as publicLocationSchema, t as logger, tt as WHOLE_SERIES_EVENT_PRESET_VALUES, ut as formatDate, x as eventCalendarListLayoutOptions, y as eventCalendarListGroupingDecision } from "./noop-B3RNPVrt.mjs";
|
|
6
|
+
import { $ as composeFragments, $t as normalizeSelectSource, A as eventRegistrationBlockDefinition, At as lookLeadSlotTransform, Bt as testimonialsReadiness, C as cartBlockDefinition, Cn as containerStylesField, Ct as richText, D as eventCalendarBlockDefinition, Dn as createButtonGroup, Dt as videoEmbed, E as shopBlockDefinition, En as getAnchorClasses, Et as text, F as cardListPhotoNumberFields, Ft as PUBLIC_DOWNLOAD_MEDIA_TYPES, G as normalizeMailingListBlockContent, Gt as DEFAULT_MEDIA_FIELD_KINDS, H as desktopOnlyDisplay, Ht as loadedReadinessFact, I as cardListPresentationBindings, It as augmentManifest, J as createBlockManifest, Jt as blockSectionDeclarationShape, K as formBlockDefinition, Kt as PUBLIC_FILE_FIELD_KINDS, L as cardListSectionActionFields, Lt as chosenString, M as FEATURE_CARD_ICON_TREATMENTS, Mt as lookSkinSlotTransform, N as cardListSectionAction, Nt as lookSlot, O as eventListingBlockDefinition, On as createButtonVariantField, Ot as when, P as cardListKnobFields, Pt as parseBlockIconValue, Q as buildFragmentDataLoaders, Qt as fieldSchema, R as normalizeCardListContent, Rt as galleryReadiness, S as checkoutBlockDefinition, Sn as cardStylesField, St as repeat, T as productListBlockDefinition, Tn as BACKGROUND_POSITION_PRESET_VALUES, Tt as stack, U as mobileOnlyDisplay, Ut as pageTemplateFromEntry, Vt as admitReadinessFacts, W as teamMemberCardBiographyFallback, Wt as unavailableReadinessFact, X as withApiBindings, Xt as createSdkSelectField, Y as formEmbedFragment, Yt as builtInBlockKindsSchema, Z as formCopyFragment, Zt as createSiteOptionSelectField, _ as normalizeLocationMapSource, _n as cardStylingFields, _t as icon, a as buildLoadedOfferingsPreviewListing, at as styledContainer, b as sanitizeNewsletterSignupPublicContent, bn as eventDisplayFields, bt as media, cn as parseRepeaterGridInteger, ct as accordionList, dn as resolveRepeaterGridRowFieldId, dt as button, en as parseFieldDefinition, et as defineFragment, fn as resolveRepeaterGridSpanFieldId, ft as carousel, g as normalizeLocationMapProps, gn as linkSchema, gt as headerSection, h as LOCATION_MAP_LIMITS, hn as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, ht as form, in as validateSdkBlockDeclaration, it as styledSection, j as FEATURE_CARD_GENERATED_ICON_SIZE_PX, jt as lookQuoteLimitTransform, k as mapDrawingStyleBinding, kt as lookCarouselRegionTransform, ln as resolveRepeaterGridColumnFieldId, lt as bind, m as LOCATION_MAP_DEFAULTS, mn as bindingSchema, mt as fileDownload, nn as validateManifestLookField, nt as sectionHeaderLayoutNodes, on as projectRepeaterGridLayoutForRendering, ot as sectionContainer, p as SectionNode, pn as NodeSchema, pt as el, q as formDataSchema, qt as blockCategoryEnum, rn as sdkBlockPresentationShape, rt as resolveBackgroundColorValue, s as buildAppointmentServicesView, sn as buildRepeaterGridLayout, st as backgroundFrame, t as serverComponentRegistry, tn as parseFieldDefinitions, tt as sectionHeaderFields, un as resolveRepeaterGridColumnsForBreakpoint, ut as bookingForm, v as resolveLocationMapLocation, vn as columnsField, vt as inline, w as productDetailBlockDefinition, wn as sectionStylesField, wt as section, x as giftingBlockDefinition, xn as layoutField, xt as props, y as newsletterSignupBlockDefinition, yn as emptyStateField, yt as link, zt as teamReadiness } from "./registry.server-cZ24QwtW.mjs";
|
|
7
|
+
import { _ as plainTextToInlineText, g as parseInlineTextFromUnknown, h as inlineTextToPlainText, m as coerceInlineTextWithFallback } from "./timetableModel-DCdVErTJ.mjs";
|
|
8
|
+
import { $ as OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT, Jt as buildEventListWeek, Ot as projectRecurringSchedule, Q as OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS, Qt as resolveEventSelection, at as normalizeOfferingsPreviewContentForWrite, cn as buildMailingListSignupBlockSourceRef, en as isHeaderScrollRuntimeEnabled, et as OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE, in as planSiteChromePlacement, it as isOfferingsPreviewSourceKey, kt as recurringScheduleProjectionSchema, nt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, on as publicMembershipProductCollectionSchema, pn as sameMailingListPlacementTargeting, rn as parseHeaderPositioning, sn as publicPassProductCollectionSchema, st as offeringsListingFor, tn as resolveHeaderChromeRuntimeContract, un as parseMailingListPlacementTargeting, vt as occurrenceContextSchema } from "./shop.interactive-CreQ0I7i.mjs";
|
|
9
|
+
import { A as sectionFactsForContent, B as resolveEffectiveKnobs, C as generateFooterCss, D as headerRootPaint, E as generateNavLinkCSS, F as heroPhotoPaintsGround, H as cardListKnobBlocks, I as parseCanonicalRuntimeBackground, L as resolveSectionBackground, M as anglePolygonCss, N as transitionCatalogueEntries, O as boundaryLayout, P as deriveSectionGround, R as sectionForegroundBackground, S as parseGradientPresetId, T as buildTextContrastShadow, V as cardListFamilyBlocks, _ as deriveSiteStyleBlockPolicy, a as readOpeningForegroundProjection, b as gradientToCss, c as arrangementLookHooks, d as resolveLookSlotSurfaces, f as arrangementManifestFromVariants, g as resolvePublishedLook, h as resolveModeArrangement, i as transparentHeaderForegroundInput, j as boundaryRuntimeMetricsForDecorativeTransition, k as composeBoundary, l as arrangementSlotNames, m as resolveEffectiveArrangement, n as headerForegroundCandidates, o as mergeHeaderNavTypographyPreference, p as readStoredMode, r as headerLeafTextColor, s as readHeaderNavFontSizePreference, t as effectiveHeaderNavLinkStyle, u as resolveItemSurface, v as requireCuratedSiteStyle, w as footerForegroundCandidates, x as getGradientPreset, z as defineBlockDesignMetadata } from "./site-styles-B9HgmY07.mjs";
|
|
9
10
|
import { t as eventAutoApplyDiscountPreviewSchema } from "./events-BmqPeeQm.mjs";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { C as createTransformRegistry, S as asPartialObject, _ as SEMANTIC_SPACING_VALUES, a as RAISED_SHADOW_CLASS, b as resolveSectionMinHeight, c as fixedFrameScopeClass, d as resolveCardRoleForBoxStyles, f as resolveItemCardRole, h as parseRuntimeBackgroundContent, l as hasFixedFrameBackgroundMotion, m as parseBackgroundOverlay, o as ROUNDED_CLASSES, p as parseBackgroundContent, s as boxStyleClassNames, u as normalizeBoxStylesBorder, v as isSectionMinHeight, w as runTransforms, x as resolveSpacing, y as isSemanticSpacing } from "./EventListing.view-B-Yi5JZS.mjs";
|
|
11
|
+
import { n as getCurrentResolveImageUrlContext, o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-CNzWmoA4.mjs";
|
|
12
|
+
import { C as createTransformRegistry, S as asPartialObject, _ as SEMANTIC_SPACING_VALUES, a as RAISED_SHADOW_CLASS, b as resolveSectionMinHeight, c as fixedFrameScopeClass, d as resolveCardRoleForBoxStyles, f as resolveItemCardRole, h as parseRuntimeBackgroundContent, l as hasFixedFrameBackgroundMotion, m as parseBackgroundOverlay, o as ROUNDED_CLASSES, p as parseBackgroundContent, s as boxStyleClassNames, u as normalizeBoxStylesBorder, v as isSectionMinHeight, w as runTransforms, x as resolveSpacing, y as isSemanticSpacing } from "./EventListing.view-k4lhuCn5.mjs";
|
|
13
13
|
import { r as themeRuntimeScopeProps, t as buildThemeDataAttrs } from "./themeScopeUtils-BAOw_fNA.mjs";
|
|
14
|
-
import { g as plainTextToInlineText, h as parseInlineTextFromUnknown, m as inlineTextToPlainText, p as coerceInlineTextWithFallback } from "./timetableModel-C19rcHEw.mjs";
|
|
15
14
|
import { t as NAV_DROPDOWN_CONTAINER_RAIL_CSS_RULES } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
16
|
-
import { t as formatDate$1 } from "./formatDate-
|
|
15
|
+
import { t as formatDate$1 } from "./formatDate-Jm5MQOCA.mjs";
|
|
17
16
|
import { s as declarativeCarouselSlides } from "./carousel.shared-DBnWEJzo.mjs";
|
|
18
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
19
|
-
import { n as toBlocksMediaAssets, t as toBlocksImageResolveContextInput } from "./mediaAssets-
|
|
17
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-DDcCKvBJ.mjs";
|
|
18
|
+
import { n as toBlocksMediaAssets, t as toBlocksImageResolveContextInput } from "./mediaAssets-BkoW_PEn.mjs";
|
|
20
19
|
import * as React$1 from "react";
|
|
21
20
|
import React from "react";
|
|
22
21
|
import { z } from "zod";
|
|
23
22
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
24
23
|
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
24
|
+
//#region ../core/src/location-relationship.ts
|
|
25
|
+
/** Initial bounded policy; Opus can tune these values without changing callers. */
|
|
26
|
+
const LOCATION_MATCH_THRESHOLDS_METRES = {
|
|
27
|
+
building: 100,
|
|
28
|
+
street: 300,
|
|
29
|
+
area: 1e3
|
|
30
|
+
};
|
|
31
|
+
function locationDistanceMetres(a, b) {
|
|
32
|
+
const radians = Math.PI / 180;
|
|
33
|
+
const haversine = Math.sin((b.lat - a.lat) * radians / 2) ** 2 + Math.cos(a.lat * radians) * Math.cos(b.lat * radians) * Math.sin((b.lng - a.lng) * radians / 2) ** 2;
|
|
34
|
+
return 6371e3 * 2 * Math.asin(Math.sqrt(Math.min(1, Math.max(0, haversine))));
|
|
35
|
+
}
|
|
36
|
+
/** Arrival pins are never substituted for missing provider address points. */
|
|
37
|
+
function decideLocationRelationship(location) {
|
|
38
|
+
if (location === null) return { kind: "empty" };
|
|
39
|
+
if (location.pin === null) return { kind: "address_only" };
|
|
40
|
+
if (location.address === null) return { kind: "pin_only" };
|
|
41
|
+
if (location.addressMatch === null) return { kind: "unchecked" };
|
|
42
|
+
const { point, precision } = location.addressMatch;
|
|
43
|
+
const distanceMetres = locationDistanceMetres(point, location.pin);
|
|
44
|
+
const thresholdMetres = LOCATION_MATCH_THRESHOLDS_METRES[precision === "unknown" ? "building" : precision];
|
|
45
|
+
return {
|
|
46
|
+
kind: distanceMetres > thresholdMetres * (1 + 8 * Number.EPSILON) ? "far" : precision === "building" || precision === "unknown" ? "near" : "approximate",
|
|
47
|
+
distanceMetres,
|
|
48
|
+
thresholdMetres,
|
|
49
|
+
precision
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
/** Forms receive the decided save value, rather than a collection of flags. */
|
|
53
|
+
function decideLocationSave(location, activity) {
|
|
54
|
+
if (activity === "address-check") return {
|
|
55
|
+
kind: "blocked",
|
|
56
|
+
reason: "pending_address_check"
|
|
57
|
+
};
|
|
58
|
+
if (activity === "reverse") return {
|
|
59
|
+
kind: "blocked",
|
|
60
|
+
reason: "pending_reverse"
|
|
61
|
+
};
|
|
62
|
+
return decideLocationRelationship(location).kind === "far" && location?.ownerConfirmedPinAndAddress !== true ? {
|
|
63
|
+
kind: "blocked",
|
|
64
|
+
reason: "unconfirmed_mismatch"
|
|
65
|
+
} : {
|
|
66
|
+
kind: "ready",
|
|
67
|
+
location
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
//#endregion
|
|
25
71
|
//#region ../core/src/block-content-identity.ts
|
|
26
72
|
function readContentVersionId(value) {
|
|
27
73
|
const parsed = parseContentVersionId(value);
|
|
@@ -457,6 +503,14 @@ function resolveSiteVerticalBookingConfig(rawConfig) {
|
|
|
457
503
|
};
|
|
458
504
|
}
|
|
459
505
|
//#endregion
|
|
506
|
+
//#region ../core/src/committed-write-proof.ts
|
|
507
|
+
/** Positive atomic storage evidence survives a failed response projection. */
|
|
508
|
+
const committedWriteProofSchema = z.object({
|
|
509
|
+
operationId: z.string().uuid(),
|
|
510
|
+
committedAt: z.string(),
|
|
511
|
+
resultingRevision: z.number().int().nonnegative()
|
|
512
|
+
});
|
|
513
|
+
//#endregion
|
|
460
514
|
//#region ../media-core/src/mediaRefNormalizer.ts
|
|
461
515
|
function looksLikeUuid(value) {
|
|
462
516
|
return typeof value === "string" && /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(value);
|
|
@@ -495,6 +549,7 @@ const PAGE_JOURNAL_ENDPOINT_DEFINITIONS = {
|
|
|
495
549
|
method: "POST",
|
|
496
550
|
auth: "user",
|
|
497
551
|
responseKind: "json",
|
|
552
|
+
editLease: "unleased-editor",
|
|
498
553
|
errors: [
|
|
499
554
|
"validation:invalid_input",
|
|
500
555
|
"auth:forbidden",
|
|
@@ -725,6 +780,22 @@ const PUBLIC_NEWSLETTER_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
725
780
|
//#endregion
|
|
726
781
|
//#region ../api/src/cache-tags.ts
|
|
727
782
|
/**
|
|
783
|
+
* Canonical cache tag catalog for Riverbank.
|
|
784
|
+
*
|
|
785
|
+
* Goal: eliminate ad-hoc tag strings and drift across apps/packages.
|
|
786
|
+
*
|
|
787
|
+
* Tag scheme: `riverbank:*`
|
|
788
|
+
* - `riverbank` is the global tag (invalidate everything)
|
|
789
|
+
* - Use `riverbank:<namespace>:...` for domain/resource tags
|
|
790
|
+
*
|
|
791
|
+
* Notes:
|
|
792
|
+
* - This module is intentionally Next.js-independent.
|
|
793
|
+
* - Apps can use these tags with Next's `revalidateTag()` and `unstable_cache`.
|
|
794
|
+
* - Endpoint definitions in `packages/api/src/endpoints.ts` may use the template
|
|
795
|
+
* strings (with `{param}` placeholders) for fetch cache tagging.
|
|
796
|
+
*/
|
|
797
|
+
const RIVERBANK_GLOBAL_TAG = "riverbank";
|
|
798
|
+
/**
|
|
728
799
|
* Tag templates for endpoint definitions (support `{param}` placeholders).
|
|
729
800
|
*/
|
|
730
801
|
const TAG_TEMPLATES = {
|
|
@@ -763,6 +834,186 @@ const TAG_TEMPLATES = {
|
|
|
763
834
|
navigationItemById: "riverbank:navigation-item:{itemId}",
|
|
764
835
|
siteTheme: "riverbank:site:{siteId}:theme"
|
|
765
836
|
};
|
|
837
|
+
function normalizeRevalidateTags(input) {
|
|
838
|
+
return Array.from(new Set(input.map((t) => t.trim()).filter(Boolean)));
|
|
839
|
+
}
|
|
840
|
+
/**
|
|
841
|
+
* Tag builders for runtime invalidation and caching.
|
|
842
|
+
*/
|
|
843
|
+
const tags = {
|
|
844
|
+
global() {
|
|
845
|
+
return RIVERBANK_GLOBAL_TAG;
|
|
846
|
+
},
|
|
847
|
+
siteCollection() {
|
|
848
|
+
return TAG_TEMPLATES.siteCollection;
|
|
849
|
+
},
|
|
850
|
+
site(siteId) {
|
|
851
|
+
return `riverbank:site:${siteId}`;
|
|
852
|
+
},
|
|
853
|
+
siteById(siteId) {
|
|
854
|
+
return `riverbank:site:id:${siteId}`;
|
|
855
|
+
},
|
|
856
|
+
siteBySlug(slug) {
|
|
857
|
+
return `riverbank:site:slug:${slug}`;
|
|
858
|
+
},
|
|
859
|
+
siteByDomain(domain) {
|
|
860
|
+
return `riverbank:site:domain:${domain}`;
|
|
861
|
+
},
|
|
862
|
+
siteSettings(siteId) {
|
|
863
|
+
return `riverbank:site:${siteId}:settings`;
|
|
864
|
+
},
|
|
865
|
+
siteEmailSettings(siteId) {
|
|
866
|
+
return `riverbank:site:${siteId}:email-settings`;
|
|
867
|
+
},
|
|
868
|
+
siteBookingSettings(siteId) {
|
|
869
|
+
return `riverbank:site:${siteId}:booking-settings`;
|
|
870
|
+
},
|
|
871
|
+
siteNewsletter(siteId) {
|
|
872
|
+
return `riverbank:site:${siteId}:newsletter`;
|
|
873
|
+
},
|
|
874
|
+
siteRoutableContent(siteId) {
|
|
875
|
+
return `riverbank:site:${siteId}:routable-content`;
|
|
876
|
+
},
|
|
877
|
+
siteRedirects(siteId) {
|
|
878
|
+
return `riverbank:site:${siteId}:redirects`;
|
|
879
|
+
},
|
|
880
|
+
siteRouteOutcomes(siteId) {
|
|
881
|
+
return `riverbank:site:${siteId}:route-outcomes`;
|
|
882
|
+
},
|
|
883
|
+
route(routeId) {
|
|
884
|
+
return `riverbank:route:${routeId}`;
|
|
885
|
+
},
|
|
886
|
+
page(pageId) {
|
|
887
|
+
return `riverbank:page:${pageId}`;
|
|
888
|
+
},
|
|
889
|
+
pageSurface(pageSurfaceId) {
|
|
890
|
+
return `riverbank:page-surface:${pageSurfaceId}`;
|
|
891
|
+
},
|
|
892
|
+
surfaceSlot(surfaceSlotId) {
|
|
893
|
+
return `riverbank:surface-slot:${surfaceSlotId}`;
|
|
894
|
+
},
|
|
895
|
+
workflowRun(runId) {
|
|
896
|
+
return `riverbank:workflow-run:${runId}`;
|
|
897
|
+
},
|
|
898
|
+
siteForms(siteId) {
|
|
899
|
+
return `riverbank:site:${siteId}:forms`;
|
|
900
|
+
},
|
|
901
|
+
form(formId) {
|
|
902
|
+
return `riverbank:form:${formId}`;
|
|
903
|
+
},
|
|
904
|
+
entry(entryId) {
|
|
905
|
+
return `riverbank:entry:${entryId}`;
|
|
906
|
+
},
|
|
907
|
+
formSubmissionsBySlug(slug) {
|
|
908
|
+
return `riverbank:form-submissions:${slug}`;
|
|
909
|
+
},
|
|
910
|
+
publicEvents(siteId) {
|
|
911
|
+
return `riverbank:site:${siteId}:public-events`;
|
|
912
|
+
},
|
|
913
|
+
publicEventFilters(siteId) {
|
|
914
|
+
return `riverbank:site:${siteId}:public-event-filters`;
|
|
915
|
+
},
|
|
916
|
+
publicTeamMembers(siteId) {
|
|
917
|
+
return `riverbank:site:${siteId}:public-team-members`;
|
|
918
|
+
},
|
|
919
|
+
publicProducts(siteId) {
|
|
920
|
+
return `riverbank:site:${siteId}:public-products`;
|
|
921
|
+
},
|
|
922
|
+
publicPasses(siteId) {
|
|
923
|
+
return `riverbank:site:${siteId}:public-passes`;
|
|
924
|
+
},
|
|
925
|
+
publicMemberships(siteId) {
|
|
926
|
+
return `riverbank:site:${siteId}:public-memberships`;
|
|
927
|
+
},
|
|
928
|
+
publicGifting(siteId) {
|
|
929
|
+
return `riverbank:site:${siteId}:public-gifting`;
|
|
930
|
+
},
|
|
931
|
+
publicShop(siteId) {
|
|
932
|
+
return `riverbank:site:${siteId}:public-shop`;
|
|
933
|
+
},
|
|
934
|
+
publicCheckout(siteId) {
|
|
935
|
+
return `riverbank:site:${siteId}:public-checkout`;
|
|
936
|
+
},
|
|
937
|
+
publicBookingServices(siteId) {
|
|
938
|
+
return `riverbank:site:${siteId}:public-booking-services`;
|
|
939
|
+
},
|
|
940
|
+
/**
|
|
941
|
+
* Slot-level appointment availability for a site (dates, slots, weekly grid).
|
|
942
|
+
* Separate from `publicBookingServices` because every appointment booked or
|
|
943
|
+
* cancelled changes availability, while the service catalogue rarely moves.
|
|
944
|
+
*/
|
|
945
|
+
publicBookingAvailability(siteId) {
|
|
946
|
+
return `riverbank:site:${siteId}:public-booking-availability`;
|
|
947
|
+
},
|
|
948
|
+
siteNavigation(siteId) {
|
|
949
|
+
return `riverbank:site:${siteId}:navigation`;
|
|
950
|
+
},
|
|
951
|
+
navigationMenu(menuId) {
|
|
952
|
+
return `riverbank:navigation-menu:${menuId}`;
|
|
953
|
+
},
|
|
954
|
+
navigationItem(itemId) {
|
|
955
|
+
return `riverbank:navigation-item:${itemId}`;
|
|
956
|
+
},
|
|
957
|
+
siteTheme(siteId) {
|
|
958
|
+
return `riverbank:site:${siteId}:theme`;
|
|
959
|
+
}
|
|
960
|
+
};
|
|
961
|
+
/** Lookup tags work before a host/slug read knows the resolved site ID. */
|
|
962
|
+
function optionalLookupTag(value, build) {
|
|
963
|
+
return typeof value === "string" && value.trim() ? [build(value.trim())] : [];
|
|
964
|
+
}
|
|
965
|
+
function buildSiteReadTags(params) {
|
|
966
|
+
return normalizeRevalidateTags([
|
|
967
|
+
...optionalLookupTag(params.siteId, (id) => tags.site(normalizeSiteCacheId(id))),
|
|
968
|
+
...optionalLookupTag(params.id, (id) => tags.siteById(normalizeSiteCacheId(id))),
|
|
969
|
+
...optionalLookupTag(params.slug, tags.siteBySlug),
|
|
970
|
+
...optionalLookupTag(params.domain, (domain) => tags.siteByDomain(normalizeSiteCacheDomain(domain)))
|
|
971
|
+
]);
|
|
972
|
+
}
|
|
973
|
+
/** Resolve endpoint templates once; every read with a siteId shares its root tag. */
|
|
974
|
+
function buildCacheReadTags(templates, input = {}) {
|
|
975
|
+
const params = siteIdentifierTagParams(input);
|
|
976
|
+
return normalizeRevalidateTags([...templates.flatMap((template) => {
|
|
977
|
+
if ([
|
|
978
|
+
TAG_TEMPLATES.siteById,
|
|
979
|
+
TAG_TEMPLATES.siteBySlug,
|
|
980
|
+
TAG_TEMPLATES.siteByDomain
|
|
981
|
+
].some((lookup) => lookup === template)) return [];
|
|
982
|
+
const tag = template.replace(/\{([^}]+)\}/gu, (placeholder, key) => {
|
|
983
|
+
const value = params[key];
|
|
984
|
+
return typeof value === "string" || typeof value === "number" || typeof value === "boolean" ? String(value) : placeholder;
|
|
985
|
+
});
|
|
986
|
+
return /\{[^}]+\}/u.test(tag) || tag === tags.siteCollection() || tag === "riverbank" ? [] : [tag];
|
|
987
|
+
}), ...buildSiteReadTags({
|
|
988
|
+
siteId: params.siteId,
|
|
989
|
+
...templates.includes(TAG_TEMPLATES.siteById) ? { id: params.id } : {},
|
|
990
|
+
...templates.includes(TAG_TEMPLATES.siteBySlug) ? { slug: params.slug } : {},
|
|
991
|
+
...templates.includes(TAG_TEMPLATES.siteByDomain) ? { domain: params.domain } : {}
|
|
992
|
+
})]);
|
|
993
|
+
}
|
|
994
|
+
function normalizeSiteCacheDomain(domain) {
|
|
995
|
+
try {
|
|
996
|
+
return new URL(`https://${domain.trim()}`).hostname.toLowerCase().replace(/\.$/u, "");
|
|
997
|
+
} catch {
|
|
998
|
+
return domain.trim().toLowerCase();
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
function siteIdentifierTagParams(params) {
|
|
1002
|
+
if (typeof params.site !== "string") return params;
|
|
1003
|
+
const siteId = parseSiteId(params.site);
|
|
1004
|
+
return siteId.ok ? {
|
|
1005
|
+
...params,
|
|
1006
|
+
id: siteId.value,
|
|
1007
|
+
siteId: siteId.value
|
|
1008
|
+
} : {
|
|
1009
|
+
...params,
|
|
1010
|
+
slug: params.site
|
|
1011
|
+
};
|
|
1012
|
+
}
|
|
1013
|
+
function normalizeSiteCacheId(id) {
|
|
1014
|
+
const parsed = parseSiteId(id);
|
|
1015
|
+
return parsed.ok ? parsed.value : id;
|
|
1016
|
+
}
|
|
766
1017
|
//#endregion
|
|
767
1018
|
//#region ../api/src/sdkEntryReadEndpoints.ts
|
|
768
1019
|
const SDK_ENTRY_READ_ENDPOINTS = {
|
|
@@ -812,18 +1063,6 @@ const GUARDED_CONTENT_REPLAY_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
812
1063
|
"resource:conflict"
|
|
813
1064
|
]
|
|
814
1065
|
},
|
|
815
|
-
restoreLiveTemplate: {
|
|
816
|
-
path: "/sites/{siteId}/content/types/{type}/template/restore",
|
|
817
|
-
method: "POST",
|
|
818
|
-
tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
|
|
819
|
-
auth: "user",
|
|
820
|
-
responseKind: "json",
|
|
821
|
-
errors: [
|
|
822
|
-
"validation:invalid_input",
|
|
823
|
-
"resource:not_found",
|
|
824
|
-
"resource:conflict"
|
|
825
|
-
]
|
|
826
|
-
},
|
|
827
1066
|
restoreEntrySlotStructure: {
|
|
828
1067
|
editLease: "managed",
|
|
829
1068
|
path: "/sites/{siteId}/content/{type}/{entryId}/slots/{slotKey}/blocks/restore",
|
|
@@ -1196,6 +1435,18 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1196
1435
|
"server:internal_error"
|
|
1197
1436
|
]
|
|
1198
1437
|
},
|
|
1438
|
+
draftTeamMemberProfileBio: {
|
|
1439
|
+
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/bio-draft",
|
|
1440
|
+
method: "POST",
|
|
1441
|
+
auth: "user",
|
|
1442
|
+
responseKind: "json",
|
|
1443
|
+
errors: [
|
|
1444
|
+
"auth:forbidden",
|
|
1445
|
+
"resource:not_found",
|
|
1446
|
+
"server:internal_error"
|
|
1447
|
+
],
|
|
1448
|
+
demoMutation: DEMO_MUTATION_BLOCKED_HIDDEN
|
|
1449
|
+
},
|
|
1199
1450
|
scheduleTeamMemberProfile: {
|
|
1200
1451
|
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/{entryId}/schedule",
|
|
1201
1452
|
method: "POST",
|
|
@@ -1234,7 +1485,7 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1234
1485
|
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/routes/{routeId}/metadata",
|
|
1235
1486
|
method: "PATCH",
|
|
1236
1487
|
tags: [
|
|
1237
|
-
TAG_TEMPLATES.
|
|
1488
|
+
TAG_TEMPLATES.site,
|
|
1238
1489
|
TAG_TEMPLATES.siteRoutableContent,
|
|
1239
1490
|
TAG_TEMPLATES.routeById
|
|
1240
1491
|
],
|
|
@@ -1627,6 +1878,43 @@ const ACCOUNT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1627
1878
|
//#endregion
|
|
1628
1879
|
//#region ../api/src/eventSeriesRegistrationEndpointDefinitions.ts
|
|
1629
1880
|
const EVENT_SERIES_REGISTRATION_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
1881
|
+
getBookingDetail: {
|
|
1882
|
+
path: "/sites/{siteId}/bookings/booking/{kind}/{bookingId}",
|
|
1883
|
+
method: "GET",
|
|
1884
|
+
auth: "user",
|
|
1885
|
+
responseKind: "json",
|
|
1886
|
+
errors: [
|
|
1887
|
+
"auth:forbidden",
|
|
1888
|
+
"resource:not_found",
|
|
1889
|
+
"server:internal_error"
|
|
1890
|
+
]
|
|
1891
|
+
},
|
|
1892
|
+
saveEventAttendeeAnswers: {
|
|
1893
|
+
path: "/sites/{siteId}/bookings/attendees/{attendeeId}/answers",
|
|
1894
|
+
method: "PUT",
|
|
1895
|
+
auth: "user",
|
|
1896
|
+
responseKind: "json",
|
|
1897
|
+
errors: [
|
|
1898
|
+
"validation:invalid_input",
|
|
1899
|
+
"auth:forbidden",
|
|
1900
|
+
"resource:not_found",
|
|
1901
|
+
"resource:conflict",
|
|
1902
|
+
"server:internal_error"
|
|
1903
|
+
]
|
|
1904
|
+
},
|
|
1905
|
+
correctBookingCheckIn: {
|
|
1906
|
+
path: "/sites/{siteId}/bookings/attendees/{attendeeId}/check-in",
|
|
1907
|
+
method: "PATCH",
|
|
1908
|
+
auth: "user",
|
|
1909
|
+
responseKind: "json",
|
|
1910
|
+
errors: [
|
|
1911
|
+
"validation:invalid_input",
|
|
1912
|
+
"auth:forbidden",
|
|
1913
|
+
"resource:not_found",
|
|
1914
|
+
"resource:conflict",
|
|
1915
|
+
"server:internal_error"
|
|
1916
|
+
]
|
|
1917
|
+
},
|
|
1630
1918
|
deleteEventOffering: {
|
|
1631
1919
|
path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}",
|
|
1632
1920
|
method: "DELETE",
|
|
@@ -2709,6 +2997,7 @@ const EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2709
2997
|
* event itself, so its address is written here rather than through a run.
|
|
2710
2998
|
*/
|
|
2711
2999
|
updateEventAddress: {
|
|
3000
|
+
editLease: "managed",
|
|
2712
3001
|
path: "/sites/{siteId}/bookings/events/{eventId}/address",
|
|
2713
3002
|
method: "PATCH",
|
|
2714
3003
|
tags: [
|
|
@@ -3076,6 +3365,64 @@ const SDK_MEDIA_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3076
3365
|
* derive freshness reviewable beside its route and tags.
|
|
3077
3366
|
*/
|
|
3078
3367
|
const PUBLIC_READ_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
3368
|
+
checkRedirect: {
|
|
3369
|
+
path: "/public/content/redirect",
|
|
3370
|
+
method: "GET",
|
|
3371
|
+
revalidate: 86400,
|
|
3372
|
+
tags: [
|
|
3373
|
+
TAG_TEMPLATES.siteById,
|
|
3374
|
+
TAG_TEMPLATES.siteBySlug,
|
|
3375
|
+
TAG_TEMPLATES.siteRedirects
|
|
3376
|
+
],
|
|
3377
|
+
errors: [],
|
|
3378
|
+
auth: "public",
|
|
3379
|
+
responseKind: "json"
|
|
3380
|
+
},
|
|
3381
|
+
getSite: {
|
|
3382
|
+
path: "/sites",
|
|
3383
|
+
method: "GET",
|
|
3384
|
+
errors: [],
|
|
3385
|
+
revalidate: 900,
|
|
3386
|
+
tags: [
|
|
3387
|
+
TAG_TEMPLATES.siteById,
|
|
3388
|
+
TAG_TEMPLATES.siteBySlug,
|
|
3389
|
+
TAG_TEMPLATES.siteByDomain
|
|
3390
|
+
],
|
|
3391
|
+
auth: "public",
|
|
3392
|
+
responseKind: "json"
|
|
3393
|
+
},
|
|
3394
|
+
getRoutableContent: {
|
|
3395
|
+
path: "/sites/{siteId}/routable-content",
|
|
3396
|
+
method: "GET",
|
|
3397
|
+
revalidate: 60,
|
|
3398
|
+
errors: [],
|
|
3399
|
+
tags: [TAG_TEMPLATES.siteRoutableContent],
|
|
3400
|
+
auth: "user",
|
|
3401
|
+
responseKind: "json"
|
|
3402
|
+
},
|
|
3403
|
+
getPublicRoutableContent: {
|
|
3404
|
+
path: "/public/sites/{siteId}/routable-content",
|
|
3405
|
+
method: "GET",
|
|
3406
|
+
revalidate: 60,
|
|
3407
|
+
errors: [],
|
|
3408
|
+
tags: [TAG_TEMPLATES.siteRoutableContent],
|
|
3409
|
+
auth: "public",
|
|
3410
|
+
responseKind: "json"
|
|
3411
|
+
},
|
|
3412
|
+
getPublicSitemapRoutes: {
|
|
3413
|
+
path: "/public/sites/{siteId}/sitemap",
|
|
3414
|
+
method: "GET",
|
|
3415
|
+
revalidate: 60,
|
|
3416
|
+
errors: [],
|
|
3417
|
+
tags: [
|
|
3418
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
3419
|
+
TAG_TEMPLATES.siteSettings,
|
|
3420
|
+
TAG_TEMPLATES.publicEvents,
|
|
3421
|
+
TAG_TEMPLATES.publicBookingServices
|
|
3422
|
+
],
|
|
3423
|
+
auth: "public",
|
|
3424
|
+
responseKind: "json"
|
|
3425
|
+
},
|
|
3079
3426
|
getPublishedEntryPreview: {
|
|
3080
3427
|
path: "/public/content/{siteId}/{type}/{slug}/preview",
|
|
3081
3428
|
method: "GET",
|
|
@@ -3153,6 +3500,27 @@ const PUBLIC_READ_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3153
3500
|
* kept together so that stays obvious.
|
|
3154
3501
|
*/
|
|
3155
3502
|
const PUBLIC_ONBOARDING_ATTEMPT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
3503
|
+
mintOnboardingPagePreviewToken: {
|
|
3504
|
+
path: "/public/onboarding/attempts/{attemptToken}/page-preview-token",
|
|
3505
|
+
method: "POST",
|
|
3506
|
+
auth: "public",
|
|
3507
|
+
errors: [],
|
|
3508
|
+
responseKind: "json"
|
|
3509
|
+
},
|
|
3510
|
+
suggestPublicOnboardingLooks: {
|
|
3511
|
+
path: "/public/onboarding/attempts/{attemptToken}/look-suggestion",
|
|
3512
|
+
method: "POST",
|
|
3513
|
+
auth: "public",
|
|
3514
|
+
errors: [],
|
|
3515
|
+
responseKind: "json"
|
|
3516
|
+
},
|
|
3517
|
+
getOnboardingPagePreview: {
|
|
3518
|
+
path: "/public/onboarding/page-preview/{attemptId}",
|
|
3519
|
+
method: "GET",
|
|
3520
|
+
auth: "public",
|
|
3521
|
+
errors: [],
|
|
3522
|
+
responseKind: "json"
|
|
3523
|
+
},
|
|
3156
3524
|
createPublicOnboardingAttempt: {
|
|
3157
3525
|
path: "/public/onboarding/attempts",
|
|
3158
3526
|
method: "POST",
|
|
@@ -3236,12 +3604,72 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3236
3604
|
errors: [],
|
|
3237
3605
|
responseKind: "json"
|
|
3238
3606
|
},
|
|
3239
|
-
|
|
3240
|
-
path: "/billing/
|
|
3607
|
+
getAccountInvoiceRecovery: {
|
|
3608
|
+
path: "/billing/recovery",
|
|
3609
|
+
method: "GET",
|
|
3610
|
+
tags: ["billing"],
|
|
3611
|
+
auth: "user",
|
|
3612
|
+
responseKind: "json",
|
|
3613
|
+
errors: [
|
|
3614
|
+
"validation:invalid_input",
|
|
3615
|
+
"auth:unauthenticated",
|
|
3616
|
+
"external:service_error",
|
|
3617
|
+
"server:internal_error"
|
|
3618
|
+
]
|
|
3619
|
+
},
|
|
3620
|
+
getAccountBillingDetails: {
|
|
3621
|
+
path: "/billing/details",
|
|
3622
|
+
method: "GET",
|
|
3623
|
+
tags: ["billing"],
|
|
3624
|
+
auth: "user",
|
|
3625
|
+
responseKind: "json",
|
|
3626
|
+
errors: [
|
|
3627
|
+
"auth:unauthenticated",
|
|
3628
|
+
"external:service_error",
|
|
3629
|
+
"server:internal_error"
|
|
3630
|
+
]
|
|
3631
|
+
},
|
|
3632
|
+
getAccountBillingInvoices: {
|
|
3633
|
+
path: "/billing/invoices",
|
|
3634
|
+
method: "GET",
|
|
3635
|
+
tags: ["billing"],
|
|
3636
|
+
auth: "user",
|
|
3637
|
+
responseKind: "json",
|
|
3638
|
+
errors: [
|
|
3639
|
+
"validation:invalid_input",
|
|
3640
|
+
"auth:unauthenticated",
|
|
3641
|
+
"resource:conflict",
|
|
3642
|
+
"external:service_error",
|
|
3643
|
+
"server:internal_error"
|
|
3644
|
+
]
|
|
3645
|
+
},
|
|
3646
|
+
startAccountPaymentMethodSetup: {
|
|
3647
|
+
path: "/billing/payment-method/setup",
|
|
3241
3648
|
method: "POST",
|
|
3242
3649
|
tags: ["billing"],
|
|
3243
3650
|
auth: "user",
|
|
3244
|
-
responseKind: "json"
|
|
3651
|
+
responseKind: "json",
|
|
3652
|
+
errors: [
|
|
3653
|
+
"validation:invalid_input",
|
|
3654
|
+
"auth:unauthenticated",
|
|
3655
|
+
"resource:conflict",
|
|
3656
|
+
"external:service_error",
|
|
3657
|
+
"server:internal_error"
|
|
3658
|
+
]
|
|
3659
|
+
},
|
|
3660
|
+
finishAccountPaymentMethodSetup: {
|
|
3661
|
+
path: "/billing/payment-method/finish",
|
|
3662
|
+
method: "POST",
|
|
3663
|
+
tags: ["billing"],
|
|
3664
|
+
auth: "user",
|
|
3665
|
+
responseKind: "json",
|
|
3666
|
+
errors: [
|
|
3667
|
+
"validation:invalid_input",
|
|
3668
|
+
"auth:unauthenticated",
|
|
3669
|
+
"resource:conflict",
|
|
3670
|
+
"external:service_error",
|
|
3671
|
+
"server:internal_error"
|
|
3672
|
+
]
|
|
3245
3673
|
},
|
|
3246
3674
|
stripeConnectSetupStart: {
|
|
3247
3675
|
path: "/sites/{siteId}/billing/connect/setup",
|
|
@@ -3397,7 +3825,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
|
|
|
3397
3825
|
acquireEditLease: {
|
|
3398
3826
|
path,
|
|
3399
3827
|
method: "POST",
|
|
3400
|
-
editLease: "
|
|
3828
|
+
editLease: "unleased-editor",
|
|
3401
3829
|
errors: lifecycleErrors,
|
|
3402
3830
|
auth: "user",
|
|
3403
3831
|
responseKind: "json"
|
|
@@ -3405,7 +3833,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
|
|
|
3405
3833
|
takeOverEditLease: {
|
|
3406
3834
|
path,
|
|
3407
3835
|
method: "PUT",
|
|
3408
|
-
editLease: "
|
|
3836
|
+
editLease: "unleased-editor",
|
|
3409
3837
|
errors: lifecycleErrors,
|
|
3410
3838
|
auth: "user",
|
|
3411
3839
|
responseKind: "json"
|
|
@@ -3413,7 +3841,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
|
|
|
3413
3841
|
heartbeatEditLease: {
|
|
3414
3842
|
path,
|
|
3415
3843
|
method: "PATCH",
|
|
3416
|
-
editLease: "
|
|
3844
|
+
editLease: "unleased-editor",
|
|
3417
3845
|
errors: [...lifecycleErrors, "auth:lease_lost"],
|
|
3418
3846
|
auth: "user",
|
|
3419
3847
|
responseKind: "json"
|
|
@@ -3429,7 +3857,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
|
|
|
3429
3857
|
};
|
|
3430
3858
|
//#endregion
|
|
3431
3859
|
//#region ../api/src/pageSurfaceEditorEndpoints.ts
|
|
3432
|
-
const surfaceTags = [TAG_TEMPLATES.
|
|
3860
|
+
const surfaceTags = [TAG_TEMPLATES.site, TAG_TEMPLATES.pageSurfaceById];
|
|
3433
3861
|
const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
|
|
3434
3862
|
getPageSurfaceEditorDocument: {
|
|
3435
3863
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/content",
|
|
@@ -3484,7 +3912,7 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
|
|
|
3484
3912
|
"server:internal_error"
|
|
3485
3913
|
],
|
|
3486
3914
|
tags: [
|
|
3487
|
-
TAG_TEMPLATES.
|
|
3915
|
+
TAG_TEMPLATES.site,
|
|
3488
3916
|
TAG_TEMPLATES.siteRoutableContent,
|
|
3489
3917
|
TAG_TEMPLATES.pageSurfaceById
|
|
3490
3918
|
],
|
|
@@ -3503,7 +3931,7 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
|
|
|
3503
3931
|
"server:internal_error"
|
|
3504
3932
|
],
|
|
3505
3933
|
tags: [
|
|
3506
|
-
TAG_TEMPLATES.
|
|
3934
|
+
TAG_TEMPLATES.site,
|
|
3507
3935
|
TAG_TEMPLATES.siteRoutableContent,
|
|
3508
3936
|
TAG_TEMPLATES.pageSurfaceById
|
|
3509
3937
|
],
|
|
@@ -3522,7 +3950,7 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
|
|
|
3522
3950
|
"server:internal_error"
|
|
3523
3951
|
],
|
|
3524
3952
|
tags: [
|
|
3525
|
-
TAG_TEMPLATES.
|
|
3953
|
+
TAG_TEMPLATES.site,
|
|
3526
3954
|
TAG_TEMPLATES.siteRoutableContent,
|
|
3527
3955
|
TAG_TEMPLATES.pageSurfaceById
|
|
3528
3956
|
],
|
|
@@ -3648,6 +4076,7 @@ const API_ENDPOINTS = {
|
|
|
3648
4076
|
...PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS,
|
|
3649
4077
|
...SITE_MANAGEMENT_ENDPOINT_DEFINITIONS,
|
|
3650
4078
|
applySeoChanges: {
|
|
4079
|
+
editLease: "unleased-editor",
|
|
3651
4080
|
path: "/seo/apply",
|
|
3652
4081
|
method: "POST",
|
|
3653
4082
|
auth: "user",
|
|
@@ -3679,6 +4108,13 @@ const API_ENDPOINTS = {
|
|
|
3679
4108
|
responseKind: "json",
|
|
3680
4109
|
errors: []
|
|
3681
4110
|
},
|
|
4111
|
+
replyToSupportTicket: {
|
|
4112
|
+
path: "/assistant/support/reply",
|
|
4113
|
+
method: "POST",
|
|
4114
|
+
auth: "user",
|
|
4115
|
+
responseKind: "json",
|
|
4116
|
+
errors: []
|
|
4117
|
+
},
|
|
3682
4118
|
assistantTurn: {
|
|
3683
4119
|
path: "/assistant/turn",
|
|
3684
4120
|
method: "POST",
|
|
@@ -3758,6 +4194,14 @@ const API_ENDPOINTS = {
|
|
|
3758
4194
|
errors: [],
|
|
3759
4195
|
responseKind: "json"
|
|
3760
4196
|
},
|
|
4197
|
+
markBookingHomeSeen: {
|
|
4198
|
+
path: "/sites/{siteId}/home/seen",
|
|
4199
|
+
method: "POST",
|
|
4200
|
+
auth: "user",
|
|
4201
|
+
errors: [],
|
|
4202
|
+
responseKind: "json",
|
|
4203
|
+
demoMutation: DEMO_MUTATION_ALLOWED
|
|
4204
|
+
},
|
|
3761
4205
|
resendOnboardingPreviewConfirmation: {
|
|
3762
4206
|
path: "/public/sites/{siteId}/onboarding/resend-confirmation",
|
|
3763
4207
|
method: "POST",
|
|
@@ -3801,15 +4245,6 @@ const API_ENDPOINTS = {
|
|
|
3801
4245
|
errors: [],
|
|
3802
4246
|
responseKind: "text"
|
|
3803
4247
|
},
|
|
3804
|
-
checkRedirect: {
|
|
3805
|
-
path: "/public/content/redirect",
|
|
3806
|
-
method: "GET",
|
|
3807
|
-
revalidate: 86400,
|
|
3808
|
-
tags: ["redirect"],
|
|
3809
|
-
errors: [],
|
|
3810
|
-
auth: "public",
|
|
3811
|
-
responseKind: "json"
|
|
3812
|
-
},
|
|
3813
4248
|
listRedirectRules: {
|
|
3814
4249
|
path: "/sites/{siteId}/redirects",
|
|
3815
4250
|
method: "GET",
|
|
@@ -4052,6 +4487,19 @@ const API_ENDPOINTS = {
|
|
|
4052
4487
|
auth: "user",
|
|
4053
4488
|
responseKind: "json"
|
|
4054
4489
|
},
|
|
4490
|
+
updateEmailSendSetting: {
|
|
4491
|
+
path: "/sites/{siteId}/settings/emails/{emailKey}/send-setting",
|
|
4492
|
+
method: "PUT",
|
|
4493
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteBookingSettings],
|
|
4494
|
+
auth: "user",
|
|
4495
|
+
responseKind: "json",
|
|
4496
|
+
errors: [
|
|
4497
|
+
"validation:invalid_input",
|
|
4498
|
+
"auth:forbidden",
|
|
4499
|
+
"resource:conflict",
|
|
4500
|
+
"server:internal_error"
|
|
4501
|
+
]
|
|
4502
|
+
},
|
|
4055
4503
|
sendTestEmail: {
|
|
4056
4504
|
path: "/sites/{siteId}/settings/emails/test",
|
|
4057
4505
|
method: "POST",
|
|
@@ -4070,37 +4518,12 @@ const API_ENDPOINTS = {
|
|
|
4070
4518
|
...NEWSLETTER_ENDPOINT_DEFINITIONS,
|
|
4071
4519
|
...APPOINTMENT_ENDPOINT_DEFINITIONS,
|
|
4072
4520
|
...EVENT_SERIES_REGISTRATION_ENDPOINT_DEFINITIONS,
|
|
4073
|
-
|
|
4074
|
-
path: "/sites",
|
|
4075
|
-
method: "GET",
|
|
4076
|
-
revalidate: 900,
|
|
4077
|
-
tags: [
|
|
4078
|
-
TAG_TEMPLATES.siteCollection,
|
|
4079
|
-
TAG_TEMPLATES.siteById,
|
|
4080
|
-
TAG_TEMPLATES.siteBySlug,
|
|
4081
|
-
TAG_TEMPLATES.siteByDomain
|
|
4082
|
-
],
|
|
4083
|
-
auth: "public",
|
|
4084
|
-
responseKind: "json"
|
|
4085
|
-
},
|
|
4086
|
-
getSiteIdOnly: {
|
|
4087
|
-
path: "/sites",
|
|
4088
|
-
method: "GET",
|
|
4089
|
-
revalidate: 900,
|
|
4090
|
-
tags: [
|
|
4091
|
-
TAG_TEMPLATES.siteCollection,
|
|
4092
|
-
TAG_TEMPLATES.siteById,
|
|
4093
|
-
TAG_TEMPLATES.siteBySlug,
|
|
4094
|
-
TAG_TEMPLATES.siteByDomain
|
|
4095
|
-
],
|
|
4096
|
-
auth: "public",
|
|
4097
|
-
responseKind: "json"
|
|
4098
|
-
},
|
|
4521
|
+
getSiteIdOnly: PUBLIC_READ_ENDPOINT_DEFINITIONS.getSite,
|
|
4099
4522
|
getSiteBySlug: {
|
|
4100
4523
|
path: "/sites/by-slug/{slug}",
|
|
4101
4524
|
method: "GET",
|
|
4102
4525
|
revalidate: 900,
|
|
4103
|
-
tags: [
|
|
4526
|
+
tags: [TAG_TEMPLATES.siteBySlug],
|
|
4104
4527
|
auth: "user",
|
|
4105
4528
|
responseKind: "json"
|
|
4106
4529
|
},
|
|
@@ -4108,7 +4531,7 @@ const API_ENDPOINTS = {
|
|
|
4108
4531
|
path: "/sites/by-domain/{domain}",
|
|
4109
4532
|
method: "GET",
|
|
4110
4533
|
revalidate: 900,
|
|
4111
|
-
tags: [
|
|
4534
|
+
tags: [TAG_TEMPLATES.siteByDomain],
|
|
4112
4535
|
auth: "user",
|
|
4113
4536
|
responseKind: "json"
|
|
4114
4537
|
},
|
|
@@ -4316,6 +4739,7 @@ const API_ENDPOINTS = {
|
|
|
4316
4739
|
responseKind: "json"
|
|
4317
4740
|
},
|
|
4318
4741
|
updateContentTemplateBlock: {
|
|
4742
|
+
editLease: "unleased-editor",
|
|
4319
4743
|
path: "/sites/{siteId}/content/types/{type}/template/blocks/{blockId}",
|
|
4320
4744
|
method: "PATCH",
|
|
4321
4745
|
tags: [
|
|
@@ -4327,6 +4751,7 @@ const API_ENDPOINTS = {
|
|
|
4327
4751
|
responseKind: "json"
|
|
4328
4752
|
},
|
|
4329
4753
|
applyContentTemplateAddon: {
|
|
4754
|
+
editLease: "unleased-editor",
|
|
4330
4755
|
path: "/sites/{siteId}/content/types/{type}/template/addons",
|
|
4331
4756
|
method: "POST",
|
|
4332
4757
|
tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
|
|
@@ -4334,6 +4759,7 @@ const API_ENDPOINTS = {
|
|
|
4334
4759
|
responseKind: "json"
|
|
4335
4760
|
},
|
|
4336
4761
|
updateContentTemplateBlockBindings: {
|
|
4762
|
+
editLease: "unleased-editor",
|
|
4337
4763
|
path: "/sites/{siteId}/content/types/{type}/template/blocks/{blockId}/bindings",
|
|
4338
4764
|
method: "PATCH",
|
|
4339
4765
|
tags: [
|
|
@@ -4345,6 +4771,7 @@ const API_ENDPOINTS = {
|
|
|
4345
4771
|
responseKind: "json"
|
|
4346
4772
|
},
|
|
4347
4773
|
createTemplateBlock: {
|
|
4774
|
+
editLease: "unleased-editor",
|
|
4348
4775
|
path: "/sites/{siteId}/content/types/{type}/template/blocks",
|
|
4349
4776
|
method: "POST",
|
|
4350
4777
|
tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
|
|
@@ -4352,6 +4779,7 @@ const API_ENDPOINTS = {
|
|
|
4352
4779
|
responseKind: "json"
|
|
4353
4780
|
},
|
|
4354
4781
|
deleteTemplateBlock: {
|
|
4782
|
+
editLease: "unleased-editor",
|
|
4355
4783
|
path: "/sites/{siteId}/content/types/{type}/template/blocks/{blockId}",
|
|
4356
4784
|
method: "DELETE",
|
|
4357
4785
|
tags: [
|
|
@@ -4363,6 +4791,7 @@ const API_ENDPOINTS = {
|
|
|
4363
4791
|
responseKind: "json"
|
|
4364
4792
|
},
|
|
4365
4793
|
reorderTemplateBlocks: {
|
|
4794
|
+
editLease: "unleased-editor",
|
|
4366
4795
|
path: "/sites/{siteId}/content/types/{type}/template/blocks/reorder",
|
|
4367
4796
|
method: "POST",
|
|
4368
4797
|
tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
|
|
@@ -4515,7 +4944,7 @@ const API_ENDPOINTS = {
|
|
|
4515
4944
|
path: "/sites/{siteId}/routes/{routeId}/metadata",
|
|
4516
4945
|
method: "PATCH",
|
|
4517
4946
|
tags: [
|
|
4518
|
-
TAG_TEMPLATES.
|
|
4947
|
+
TAG_TEMPLATES.site,
|
|
4519
4948
|
TAG_TEMPLATES.siteRoutableContent,
|
|
4520
4949
|
TAG_TEMPLATES.routeById
|
|
4521
4950
|
],
|
|
@@ -4666,6 +5095,7 @@ const API_ENDPOINTS = {
|
|
|
4666
5095
|
path: "/sites/{siteId}/content/{type}/bulk-publish",
|
|
4667
5096
|
method: "POST",
|
|
4668
5097
|
tags: ["site-{siteId}", "content-{siteId}-{type}"],
|
|
5098
|
+
editLease: "unleased-editor",
|
|
4669
5099
|
auth: "user",
|
|
4670
5100
|
responseKind: "json"
|
|
4671
5101
|
},
|
|
@@ -4673,6 +5103,7 @@ const API_ENDPOINTS = {
|
|
|
4673
5103
|
path: "/sites/{siteId}/content/{type}/bulk-unpublish",
|
|
4674
5104
|
method: "POST",
|
|
4675
5105
|
tags: ["site-{siteId}", "content-{siteId}-{type}"],
|
|
5106
|
+
editLease: "unleased-editor",
|
|
4676
5107
|
auth: "user",
|
|
4677
5108
|
responseKind: "json"
|
|
4678
5109
|
},
|
|
@@ -4680,6 +5111,7 @@ const API_ENDPOINTS = {
|
|
|
4680
5111
|
path: "/sites/{siteId}/content/{type}/bulk-delete",
|
|
4681
5112
|
method: "POST",
|
|
4682
5113
|
tags: ["site-{siteId}", "content-{siteId}-{type}"],
|
|
5114
|
+
editLease: "unleased-editor",
|
|
4683
5115
|
auth: "user",
|
|
4684
5116
|
responseKind: "json",
|
|
4685
5117
|
errors: [
|
|
@@ -4700,11 +5132,7 @@ const API_ENDPOINTS = {
|
|
|
4700
5132
|
getSiteFooterBlocks: {
|
|
4701
5133
|
path: "/sites/{siteId}/content/footer-blocks",
|
|
4702
5134
|
method: "GET",
|
|
4703
|
-
tags: [
|
|
4704
|
-
TAG_TEMPLATES.siteCollection,
|
|
4705
|
-
TAG_TEMPLATES.site,
|
|
4706
|
-
TAG_TEMPLATES.siteSettings
|
|
4707
|
-
],
|
|
5135
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
4708
5136
|
auth: "user",
|
|
4709
5137
|
responseKind: "json",
|
|
4710
5138
|
errors: [
|
|
@@ -4714,13 +5142,10 @@ const API_ENDPOINTS = {
|
|
|
4714
5142
|
]
|
|
4715
5143
|
},
|
|
4716
5144
|
updateSiteFooterBlocks: {
|
|
5145
|
+
editLease: "unleased-editor",
|
|
4717
5146
|
path: "/sites/{siteId}/content/footer-blocks",
|
|
4718
5147
|
method: "PUT",
|
|
4719
|
-
tags: [
|
|
4720
|
-
TAG_TEMPLATES.siteCollection,
|
|
4721
|
-
TAG_TEMPLATES.site,
|
|
4722
|
-
TAG_TEMPLATES.siteSettings
|
|
4723
|
-
],
|
|
5148
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
4724
5149
|
auth: "user",
|
|
4725
5150
|
responseKind: "json",
|
|
4726
5151
|
errors: [
|
|
@@ -4733,7 +5158,7 @@ const API_ENDPOINTS = {
|
|
|
4733
5158
|
updateSiteDeploymentMode: {
|
|
4734
5159
|
path: "/sites/{siteId}/settings/deployment-mode",
|
|
4735
5160
|
method: "POST",
|
|
4736
|
-
tags: [TAG_TEMPLATES.
|
|
5161
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.site],
|
|
4737
5162
|
auth: "user",
|
|
4738
5163
|
responseKind: "json"
|
|
4739
5164
|
},
|
|
@@ -4898,6 +5323,7 @@ const API_ENDPOINTS = {
|
|
|
4898
5323
|
responseKind: "json"
|
|
4899
5324
|
},
|
|
4900
5325
|
updateFooterComposition: {
|
|
5326
|
+
editLease: "unleased-editor",
|
|
4901
5327
|
path: "/sites/{siteId}/settings/footer-composition",
|
|
4902
5328
|
method: "POST",
|
|
4903
5329
|
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
@@ -4920,6 +5346,7 @@ const API_ENDPOINTS = {
|
|
|
4920
5346
|
responseKind: "json"
|
|
4921
5347
|
},
|
|
4922
5348
|
updatePublicProfile: {
|
|
5349
|
+
editLease: "unleased-editor",
|
|
4923
5350
|
path: "/sites/{siteId}/settings/public-profile",
|
|
4924
5351
|
method: "POST",
|
|
4925
5352
|
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
@@ -4956,6 +5383,7 @@ const API_ENDPOINTS = {
|
|
|
4956
5383
|
responseKind: "json"
|
|
4957
5384
|
},
|
|
4958
5385
|
setHomepage: {
|
|
5386
|
+
editLease: "unleased-editor",
|
|
4959
5387
|
path: "/sites/{siteId}/settings/homepage",
|
|
4960
5388
|
method: "POST",
|
|
4961
5389
|
tags: ["site-{siteId}", "site-homepage"],
|
|
@@ -5165,6 +5593,22 @@ const API_ENDPOINTS = {
|
|
|
5165
5593
|
auth: "admin",
|
|
5166
5594
|
responseKind: "json"
|
|
5167
5595
|
},
|
|
5596
|
+
adminReplyToSupportTicket: {
|
|
5597
|
+
path: "/admin/support/tickets/reply",
|
|
5598
|
+
method: "POST",
|
|
5599
|
+
tags: ["admin", "support"],
|
|
5600
|
+
auth: "admin",
|
|
5601
|
+
responseKind: "json",
|
|
5602
|
+
errors: []
|
|
5603
|
+
},
|
|
5604
|
+
adminSetSupportTicketStatus: {
|
|
5605
|
+
path: "/admin/support/tickets/status",
|
|
5606
|
+
method: "POST",
|
|
5607
|
+
tags: ["admin", "support"],
|
|
5608
|
+
auth: "admin",
|
|
5609
|
+
responseKind: "json",
|
|
5610
|
+
errors: []
|
|
5611
|
+
},
|
|
5168
5612
|
mfaTotpEnroll: {
|
|
5169
5613
|
path: "/auth/mfa/totp/enroll",
|
|
5170
5614
|
method: "POST",
|
|
@@ -5432,7 +5876,7 @@ const API_ENDPOINTS = {
|
|
|
5432
5876
|
getNavigationMenus: {
|
|
5433
5877
|
path: "/sites/{siteId}/navigation/menus",
|
|
5434
5878
|
method: "GET",
|
|
5435
|
-
tags: [TAG_TEMPLATES.
|
|
5879
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteNavigation],
|
|
5436
5880
|
auth: "user",
|
|
5437
5881
|
responseKind: "json"
|
|
5438
5882
|
},
|
|
@@ -5440,7 +5884,7 @@ const API_ENDPOINTS = {
|
|
|
5440
5884
|
path: "/sites/{siteId}/navigation/menus/{menuId}",
|
|
5441
5885
|
method: "GET",
|
|
5442
5886
|
tags: [
|
|
5443
|
-
TAG_TEMPLATES.
|
|
5887
|
+
TAG_TEMPLATES.site,
|
|
5444
5888
|
TAG_TEMPLATES.siteNavigation,
|
|
5445
5889
|
TAG_TEMPLATES.navigationMenuById
|
|
5446
5890
|
],
|
|
@@ -5451,7 +5895,7 @@ const API_ENDPOINTS = {
|
|
|
5451
5895
|
path: "/sites/{siteId}/navigation/menus/{menuId}/items",
|
|
5452
5896
|
method: "POST",
|
|
5453
5897
|
tags: [
|
|
5454
|
-
TAG_TEMPLATES.
|
|
5898
|
+
TAG_TEMPLATES.site,
|
|
5455
5899
|
TAG_TEMPLATES.siteNavigation,
|
|
5456
5900
|
TAG_TEMPLATES.navigationMenuById
|
|
5457
5901
|
],
|
|
@@ -5462,7 +5906,7 @@ const API_ENDPOINTS = {
|
|
|
5462
5906
|
path: "/sites/{siteId}/navigation/menus/{menuId}/items/{itemId}",
|
|
5463
5907
|
method: "PATCH",
|
|
5464
5908
|
tags: [
|
|
5465
|
-
TAG_TEMPLATES.
|
|
5909
|
+
TAG_TEMPLATES.site,
|
|
5466
5910
|
TAG_TEMPLATES.siteNavigation,
|
|
5467
5911
|
TAG_TEMPLATES.navigationMenuById,
|
|
5468
5912
|
TAG_TEMPLATES.navigationItemById
|
|
@@ -5474,7 +5918,7 @@ const API_ENDPOINTS = {
|
|
|
5474
5918
|
path: "/sites/{siteId}/navigation/menus/{menuId}/items/{itemId}",
|
|
5475
5919
|
method: "DELETE",
|
|
5476
5920
|
tags: [
|
|
5477
|
-
TAG_TEMPLATES.
|
|
5921
|
+
TAG_TEMPLATES.site,
|
|
5478
5922
|
TAG_TEMPLATES.siteNavigation,
|
|
5479
5923
|
TAG_TEMPLATES.navigationMenuById,
|
|
5480
5924
|
TAG_TEMPLATES.navigationItemById
|
|
@@ -5486,42 +5930,13 @@ const API_ENDPOINTS = {
|
|
|
5486
5930
|
path: "/sites/{siteId}/navigation/menus/{menuId}/items/reorder",
|
|
5487
5931
|
method: "POST",
|
|
5488
5932
|
tags: [
|
|
5489
|
-
TAG_TEMPLATES.
|
|
5933
|
+
TAG_TEMPLATES.site,
|
|
5490
5934
|
TAG_TEMPLATES.siteNavigation,
|
|
5491
5935
|
TAG_TEMPLATES.navigationMenuById
|
|
5492
5936
|
],
|
|
5493
5937
|
auth: "user",
|
|
5494
5938
|
responseKind: "json"
|
|
5495
5939
|
},
|
|
5496
|
-
getRoutableContent: {
|
|
5497
|
-
path: "/sites/{siteId}/routable-content",
|
|
5498
|
-
method: "GET",
|
|
5499
|
-
revalidate: 60,
|
|
5500
|
-
tags: [TAG_TEMPLATES.siteRoutableContent],
|
|
5501
|
-
auth: "user",
|
|
5502
|
-
responseKind: "json"
|
|
5503
|
-
},
|
|
5504
|
-
getPublicRoutableContent: {
|
|
5505
|
-
path: "/public/sites/{siteId}/routable-content",
|
|
5506
|
-
method: "GET",
|
|
5507
|
-
revalidate: 60,
|
|
5508
|
-
tags: [TAG_TEMPLATES.siteRoutableContent],
|
|
5509
|
-
auth: "public",
|
|
5510
|
-
responseKind: "json"
|
|
5511
|
-
},
|
|
5512
|
-
getPublicSitemapRoutes: {
|
|
5513
|
-
path: "/public/sites/{siteId}/sitemap",
|
|
5514
|
-
method: "GET",
|
|
5515
|
-
revalidate: 60,
|
|
5516
|
-
tags: [
|
|
5517
|
-
TAG_TEMPLATES.siteRoutableContent,
|
|
5518
|
-
TAG_TEMPLATES.siteSettings,
|
|
5519
|
-
TAG_TEMPLATES.publicEvents,
|
|
5520
|
-
TAG_TEMPLATES.publicBookingServices
|
|
5521
|
-
],
|
|
5522
|
-
auth: "public",
|
|
5523
|
-
responseKind: "json"
|
|
5524
|
-
},
|
|
5525
5940
|
getPublishedPostPreview: {
|
|
5526
5941
|
path: "/public/posts/{siteId}/{slug}/preview",
|
|
5527
5942
|
method: "GET",
|
|
@@ -5538,16 +5953,30 @@ const API_ENDPOINTS = {
|
|
|
5538
5953
|
responseKind: "json"
|
|
5539
5954
|
},
|
|
5540
5955
|
saveSiteTheme: {
|
|
5956
|
+
editLease: "unleased-editor",
|
|
5541
5957
|
path: "/sites/{siteId}/theme/save",
|
|
5542
5958
|
method: "POST",
|
|
5543
|
-
tags: [TAG_TEMPLATES.
|
|
5959
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteTheme],
|
|
5544
5960
|
auth: "user",
|
|
5545
5961
|
responseKind: "json"
|
|
5546
5962
|
},
|
|
5963
|
+
previewSiteStyleSelection: {
|
|
5964
|
+
path: "/public/sites/{siteId}/theme/style-selection/preview",
|
|
5965
|
+
method: "POST",
|
|
5966
|
+
auth: "public",
|
|
5967
|
+
errors: [
|
|
5968
|
+
"validation:invalid_input",
|
|
5969
|
+
"auth:forbidden",
|
|
5970
|
+
"resource:not_found",
|
|
5971
|
+
"server:internal_error"
|
|
5972
|
+
],
|
|
5973
|
+
responseKind: "json"
|
|
5974
|
+
},
|
|
5547
5975
|
applySiteStyleSelection: {
|
|
5976
|
+
editLease: "unleased-editor",
|
|
5548
5977
|
path: "/sites/{siteId}/theme/style-selection/apply",
|
|
5549
5978
|
method: "POST",
|
|
5550
|
-
tags: [TAG_TEMPLATES.
|
|
5979
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteTheme],
|
|
5551
5980
|
auth: "user",
|
|
5552
5981
|
errors: [
|
|
5553
5982
|
"validation:invalid_input",
|
|
@@ -5559,9 +5988,10 @@ const API_ENDPOINTS = {
|
|
|
5559
5988
|
responseKind: "json"
|
|
5560
5989
|
},
|
|
5561
5990
|
saveSiteChromeSelection: {
|
|
5991
|
+
editLease: "unleased-editor",
|
|
5562
5992
|
path: "/sites/{siteId}/theme/site-chrome-selection",
|
|
5563
5993
|
method: "POST",
|
|
5564
|
-
tags: [TAG_TEMPLATES.
|
|
5994
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteTheme],
|
|
5565
5995
|
auth: "user",
|
|
5566
5996
|
errors: [],
|
|
5567
5997
|
responseKind: "json"
|
|
@@ -5931,7 +6361,7 @@ const API_ENDPOINTS = {
|
|
|
5931
6361
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots",
|
|
5932
6362
|
method: "GET",
|
|
5933
6363
|
tags: [
|
|
5934
|
-
TAG_TEMPLATES.
|
|
6364
|
+
TAG_TEMPLATES.site,
|
|
5935
6365
|
TAG_TEMPLATES.pageSurfaceById,
|
|
5936
6366
|
"surface-slots",
|
|
5937
6367
|
"blocks"
|
|
@@ -5949,7 +6379,7 @@ const API_ENDPOINTS = {
|
|
|
5949
6379
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks",
|
|
5950
6380
|
method: "POST",
|
|
5951
6381
|
tags: [
|
|
5952
|
-
TAG_TEMPLATES.
|
|
6382
|
+
TAG_TEMPLATES.site,
|
|
5953
6383
|
TAG_TEMPLATES.pageSurfaceById,
|
|
5954
6384
|
"surface-slot-{slotKey}",
|
|
5955
6385
|
"blocks"
|
|
@@ -5968,7 +6398,7 @@ const API_ENDPOINTS = {
|
|
|
5968
6398
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks/reorder",
|
|
5969
6399
|
method: "POST",
|
|
5970
6400
|
tags: [
|
|
5971
|
-
TAG_TEMPLATES.
|
|
6401
|
+
TAG_TEMPLATES.site,
|
|
5972
6402
|
TAG_TEMPLATES.pageSurfaceById,
|
|
5973
6403
|
"surface-slot-{slotKey}",
|
|
5974
6404
|
"blocks"
|
|
@@ -5987,7 +6417,7 @@ const API_ENDPOINTS = {
|
|
|
5987
6417
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks/{blockId}",
|
|
5988
6418
|
method: "DELETE",
|
|
5989
6419
|
tags: [
|
|
5990
|
-
TAG_TEMPLATES.
|
|
6420
|
+
TAG_TEMPLATES.site,
|
|
5991
6421
|
TAG_TEMPLATES.pageSurfaceById,
|
|
5992
6422
|
"surface-slot-{slotKey}",
|
|
5993
6423
|
"blocks"
|
|
@@ -6719,20 +7149,6 @@ const API_ENDPOINTS = {
|
|
|
6719
7149
|
errors: [],
|
|
6720
7150
|
responseKind: "json"
|
|
6721
7151
|
},
|
|
6722
|
-
importSiteBackup: {
|
|
6723
|
-
path: "/sites/{siteId}/backup/import",
|
|
6724
|
-
method: "POST",
|
|
6725
|
-
tags: ["site-{siteId}", "backup"],
|
|
6726
|
-
auth: "user",
|
|
6727
|
-
responseKind: "json",
|
|
6728
|
-
errors: [
|
|
6729
|
-
"validation:invalid_input",
|
|
6730
|
-
"validation:payload_too_large",
|
|
6731
|
-
"auth:forbidden",
|
|
6732
|
-
"resource:not_found",
|
|
6733
|
-
"server:internal_error"
|
|
6734
|
-
]
|
|
6735
|
-
},
|
|
6736
7152
|
createBackupUploadUrl: {
|
|
6737
7153
|
path: "/backup/upload-url",
|
|
6738
7154
|
method: "POST",
|
|
@@ -7064,32 +7480,59 @@ const API_ENDPOINTS = {
|
|
|
7064
7480
|
responseKind: "json",
|
|
7065
7481
|
errors: []
|
|
7066
7482
|
},
|
|
7067
|
-
|
|
7068
|
-
|
|
7483
|
+
listEventBookingMoveClasses: {
|
|
7484
|
+
errors: [],
|
|
7485
|
+
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/move-classes",
|
|
7486
|
+
method: "GET",
|
|
7487
|
+
auth: "user",
|
|
7488
|
+
responseKind: "json"
|
|
7489
|
+
},
|
|
7490
|
+
listEventBookingMoveTargets: {
|
|
7491
|
+
errors: [],
|
|
7492
|
+
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/move-targets",
|
|
7493
|
+
method: "GET",
|
|
7494
|
+
auth: "user",
|
|
7495
|
+
responseKind: "json"
|
|
7496
|
+
},
|
|
7497
|
+
moveEventBooking: {
|
|
7498
|
+
errors: [],
|
|
7499
|
+
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/move",
|
|
7069
7500
|
method: "POST",
|
|
7501
|
+
auth: "user",
|
|
7502
|
+
responseKind: "json",
|
|
7070
7503
|
tags: [
|
|
7071
7504
|
"site-{siteId}",
|
|
7072
7505
|
"event-attendee-{attendeeId}",
|
|
7073
7506
|
"bookings"
|
|
7074
|
-
]
|
|
7507
|
+
]
|
|
7508
|
+
},
|
|
7509
|
+
restoreEventBooking: {
|
|
7510
|
+
errors: [],
|
|
7511
|
+
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/restore",
|
|
7512
|
+
method: "POST",
|
|
7075
7513
|
auth: "user",
|
|
7076
7514
|
responseKind: "json",
|
|
7077
|
-
|
|
7078
|
-
"
|
|
7079
|
-
"
|
|
7080
|
-
"
|
|
7515
|
+
tags: [
|
|
7516
|
+
"site-{siteId}",
|
|
7517
|
+
"event-attendee-{attendeeId}",
|
|
7518
|
+
"bookings"
|
|
7081
7519
|
]
|
|
7082
7520
|
},
|
|
7083
|
-
|
|
7084
|
-
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/
|
|
7085
|
-
method: "
|
|
7521
|
+
transferEventAttendee: {
|
|
7522
|
+
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/transfer",
|
|
7523
|
+
method: "POST",
|
|
7086
7524
|
tags: [
|
|
7087
7525
|
"site-{siteId}",
|
|
7088
7526
|
"event-attendee-{attendeeId}",
|
|
7089
7527
|
"bookings"
|
|
7090
7528
|
],
|
|
7091
7529
|
auth: "user",
|
|
7092
|
-
responseKind: "json"
|
|
7530
|
+
responseKind: "json",
|
|
7531
|
+
errors: [
|
|
7532
|
+
"validation:invalid_input",
|
|
7533
|
+
"resource:not_found",
|
|
7534
|
+
"server:internal_error"
|
|
7535
|
+
]
|
|
7093
7536
|
},
|
|
7094
7537
|
listEventSeriesOccurrences: {
|
|
7095
7538
|
path: "/sites/{siteId}/bookings/event-series/{seriesId}/occurrences",
|
|
@@ -7233,13 +7676,28 @@ const API_ENDPOINTS = {
|
|
|
7233
7676
|
responseKind: "json",
|
|
7234
7677
|
errors: ["resource:conflict", "resource:not_found"]
|
|
7235
7678
|
},
|
|
7236
|
-
|
|
7237
|
-
|
|
7679
|
+
previewLocationDrawing: {
|
|
7680
|
+
errors: ["resource:not_found"],
|
|
7681
|
+
path: "/sites/{siteId}/location/drawing-preview",
|
|
7238
7682
|
method: "POST",
|
|
7239
|
-
tags: [
|
|
7683
|
+
tags: [],
|
|
7240
7684
|
auth: "user",
|
|
7241
7685
|
responseKind: "json"
|
|
7242
7686
|
},
|
|
7687
|
+
geocodeLocation: {
|
|
7688
|
+
path: "/sites/{siteId}/location/geocode",
|
|
7689
|
+
method: "POST",
|
|
7690
|
+
tags: ["site-{siteId}"],
|
|
7691
|
+
auth: "user",
|
|
7692
|
+
responseKind: "json",
|
|
7693
|
+
errors: [
|
|
7694
|
+
"validation:invalid_input",
|
|
7695
|
+
"resource:not_found",
|
|
7696
|
+
"rate_limit:exceeded",
|
|
7697
|
+
"external:service_error",
|
|
7698
|
+
"server:internal_error"
|
|
7699
|
+
]
|
|
7700
|
+
},
|
|
7243
7701
|
listBookingPasses: {
|
|
7244
7702
|
path: "/sites/{siteId}/bookings/passes",
|
|
7245
7703
|
method: "GET",
|
|
@@ -7814,11 +8272,20 @@ const API_ENDPOINTS = {
|
|
|
7814
8272
|
auth: "user",
|
|
7815
8273
|
responseKind: "json"
|
|
7816
8274
|
},
|
|
7817
|
-
|
|
7818
|
-
path: "/sites/{siteId}/logs/emails/{emailId}
|
|
8275
|
+
getSentEmail: {
|
|
8276
|
+
path: "/sites/{siteId}/logs/emails/{emailId}",
|
|
7819
8277
|
method: "GET",
|
|
7820
8278
|
auth: "user",
|
|
7821
|
-
responseKind: "json"
|
|
8279
|
+
responseKind: "json",
|
|
8280
|
+
errors: []
|
|
8281
|
+
},
|
|
8282
|
+
resendSentEmail: {
|
|
8283
|
+
path: "/sites/{siteId}/logs/emails/{emailId}/resend",
|
|
8284
|
+
method: "POST",
|
|
8285
|
+
auth: "user",
|
|
8286
|
+
responseKind: "json",
|
|
8287
|
+
errors: [],
|
|
8288
|
+
demoMutation: DEMO_MUTATION_BLOCKED_HIDDEN
|
|
7822
8289
|
},
|
|
7823
8290
|
listSitePublicErrorLogs: {
|
|
7824
8291
|
path: "/sites/{siteId}/logs/errors",
|
|
@@ -7827,6 +8294,7 @@ const API_ENDPOINTS = {
|
|
|
7827
8294
|
responseKind: "json"
|
|
7828
8295
|
},
|
|
7829
8296
|
aiPlaygroundApply: {
|
|
8297
|
+
editLease: "unleased-editor",
|
|
7830
8298
|
path: "/sites/{siteId}/ai/playground/apply",
|
|
7831
8299
|
method: "POST",
|
|
7832
8300
|
tags: ["site-{siteId}"],
|
|
@@ -8081,12 +8549,6 @@ const API_ENDPOINTS = {
|
|
|
8081
8549
|
responseKind: "json"
|
|
8082
8550
|
},
|
|
8083
8551
|
...SDK_MEDIA_ENDPOINT_DEFINITIONS,
|
|
8084
|
-
sdkIdentifiersBackfill: {
|
|
8085
|
-
path: "/sdk/{siteId}/identifiers/backfill",
|
|
8086
|
-
method: "POST",
|
|
8087
|
-
auth: "service",
|
|
8088
|
-
responseKind: "json"
|
|
8089
|
-
},
|
|
8090
8552
|
sdkUpdateWorkflowRunStatus: {
|
|
8091
8553
|
path: "/sdk/{siteId}/workflows/runs/{runId}/status",
|
|
8092
8554
|
method: "POST",
|
|
@@ -8659,6 +9121,20 @@ const API_ENDPOINTS = {
|
|
|
8659
9121
|
auth: "public",
|
|
8660
9122
|
responseKind: "json"
|
|
8661
9123
|
},
|
|
9124
|
+
portalListEventRescheduleDates: {
|
|
9125
|
+
errors: [],
|
|
9126
|
+
path: "/portal/events/{registrationId}/reschedule-dates",
|
|
9127
|
+
method: "GET",
|
|
9128
|
+
auth: "public",
|
|
9129
|
+
responseKind: "json"
|
|
9130
|
+
},
|
|
9131
|
+
portalRescheduleEventRegistration: {
|
|
9132
|
+
errors: [],
|
|
9133
|
+
path: "/portal/events/{registrationId}/reschedule",
|
|
9134
|
+
method: "POST",
|
|
9135
|
+
auth: "public",
|
|
9136
|
+
responseKind: "json"
|
|
9137
|
+
},
|
|
8662
9138
|
portalTransferEventRegistration: {
|
|
8663
9139
|
path: "/portal/events/{registrationId}/transfer",
|
|
8664
9140
|
method: "POST",
|
|
@@ -8846,6 +9322,23 @@ z.object({
|
|
|
8846
9322
|
refreshToken: z.string().min(1).max(4096)
|
|
8847
9323
|
}).strict();
|
|
8848
9324
|
z.object({ accessToken: z.string().min(1).max(8192) }).strict();
|
|
9325
|
+
z.object({
|
|
9326
|
+
type: z.literal("riverbank:preview-height"),
|
|
9327
|
+
height: z.number().finite().positive()
|
|
9328
|
+
}).strict();
|
|
9329
|
+
z.object({ type: z.literal("riverbank:preview-failed") }).strict();
|
|
9330
|
+
//#endregion
|
|
9331
|
+
//#region ../api/src/common/capacityOverride.ts
|
|
9332
|
+
const capacityOverrideRefusalSchema = z.object({
|
|
9333
|
+
booked: z.number().int().nonnegative(),
|
|
9334
|
+
held: z.number().int().nonnegative(),
|
|
9335
|
+
capacity: z.number().int().nonnegative(),
|
|
9336
|
+
name: z.string(),
|
|
9337
|
+
retryPersonId: z.string().optional()
|
|
9338
|
+
});
|
|
9339
|
+
function isCapacityOverrideRefusal(value) {
|
|
9340
|
+
return capacityOverrideRefusalSchema.safeParse(value).success;
|
|
9341
|
+
}
|
|
8849
9342
|
const API_ERROR_CODE_SET = /* @__PURE__ */ new Set([
|
|
8850
9343
|
"auth:unauthenticated",
|
|
8851
9344
|
"auth:token_expired",
|
|
@@ -8857,6 +9350,7 @@ const API_ERROR_CODE_SET = /* @__PURE__ */ new Set([
|
|
|
8857
9350
|
"auth:impersonation_restricted",
|
|
8858
9351
|
"auth:lease_required",
|
|
8859
9352
|
"auth:lease_lost",
|
|
9353
|
+
"client:editing_held",
|
|
8860
9354
|
"site_terms_changed",
|
|
8861
9355
|
"site_terms_agreement_missing",
|
|
8862
9356
|
"validation:invalid_input",
|
|
@@ -8892,7 +9386,7 @@ function isRecord$7(value) {
|
|
|
8892
9386
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
8893
9387
|
}
|
|
8894
9388
|
function isFieldError(value) {
|
|
8895
|
-
return isRecord$7(value) && typeof value.field === "string" && typeof value.code === "string" && typeof value.message === "string";
|
|
9389
|
+
return isRecord$7(value) && typeof value.field === "string" && typeof value.code === "string" && typeof value.message === "string" && (value.capacityOverride === void 0 || isCapacityOverrideRefusal(value.capacityOverride));
|
|
8896
9390
|
}
|
|
8897
9391
|
function fieldErrorsFromUnknown(value) {
|
|
8898
9392
|
if (!Array.isArray(value)) return null;
|
|
@@ -9576,7 +10070,7 @@ function deriveSurfaceOwnedSiteSlugs() {
|
|
|
9576
10070
|
...siteRootHosts,
|
|
9577
10071
|
...SURFACE_IDS.map((surfaceId) => new URL(resolveSurfaceMarketingCanonicalOrigin(surfaceId)).hostname)
|
|
9578
10072
|
].flatMap((host) => siteRootHosts.flatMap((root) => siteSlugLabelUnderRoot(host, root)));
|
|
9579
|
-
return [
|
|
10073
|
+
return [.../* @__PURE__ */ new Set([...labels, "draft-preview"])].sort();
|
|
9580
10074
|
}
|
|
9581
10075
|
deriveSurfaceOwnedSiteSlugs();
|
|
9582
10076
|
const HOST_CANDIDATES = [...SURFACE_IDS.flatMap((surfaceId) => SURFACE_TIERS.flatMap((tier) => [
|
|
@@ -9704,6 +10198,74 @@ function resolveApiBaseUrl() {
|
|
|
9704
10198
|
return getCmsApiUrl();
|
|
9705
10199
|
}
|
|
9706
10200
|
//#endregion
|
|
10201
|
+
//#region ../api/src/common/operationId.ts
|
|
10202
|
+
const OPERATION_ID_HEADER = "X-Riverbank-Operation-Id";
|
|
10203
|
+
z.uuid();
|
|
10204
|
+
/** One client command owns this id; network retries retain the same header. */
|
|
10205
|
+
function commandHeaders(endpoint, headers, operationId) {
|
|
10206
|
+
const result = new Headers(headers);
|
|
10207
|
+
if (API_ENDPOINTS[endpoint].method !== "GET" && !result.has("X-Riverbank-Operation-Id")) result.set(OPERATION_ID_HEADER, operationId);
|
|
10208
|
+
return result;
|
|
10209
|
+
}
|
|
10210
|
+
//#endregion
|
|
10211
|
+
//#region ../api/src/common/pageCommit.ts
|
|
10212
|
+
const pageCommitConfirmationSchema = committedWriteProofSchema.extend({ kind: z.literal("committed-reconciliation-required") });
|
|
10213
|
+
/** Positive storage evidence with no usable projection: refresh, never repeat an unconfirmed write. */
|
|
10214
|
+
var ApiCommittedWriteNotice = class extends Error {
|
|
10215
|
+
constructor(confirmation) {
|
|
10216
|
+
super("Your change was saved. Refresh the page to continue editing.");
|
|
10217
|
+
this.confirmation = confirmation;
|
|
10218
|
+
this.name = "ApiCommittedWriteNotice";
|
|
10219
|
+
}
|
|
10220
|
+
};
|
|
10221
|
+
const pageCommitConfirmationEnvelopeSchema = z.object({
|
|
10222
|
+
success: z.literal(true),
|
|
10223
|
+
data: pageCommitConfirmationSchema
|
|
10224
|
+
});
|
|
10225
|
+
z.enum([
|
|
10226
|
+
"paused",
|
|
10227
|
+
"lease-lost",
|
|
10228
|
+
"session-stale",
|
|
10229
|
+
"authority-denied",
|
|
10230
|
+
"stale-preimage",
|
|
10231
|
+
"stale-revision",
|
|
10232
|
+
"obsolete-schedule",
|
|
10233
|
+
"invalid-plan",
|
|
10234
|
+
"provider-scope-changed",
|
|
10235
|
+
"missing-document",
|
|
10236
|
+
"invalid-content",
|
|
10237
|
+
"unpublishable-content",
|
|
10238
|
+
"unavailable-design",
|
|
10239
|
+
"invalid-metadata",
|
|
10240
|
+
"invalid-anchor",
|
|
10241
|
+
"invalid-intent",
|
|
10242
|
+
"boundary-not-adjacent",
|
|
10243
|
+
"invalid-aggregate",
|
|
10244
|
+
"missing-block",
|
|
10245
|
+
"identity-in-use",
|
|
10246
|
+
"identifier-in-use",
|
|
10247
|
+
"content-reference-in-use",
|
|
10248
|
+
"missing-history",
|
|
10249
|
+
"invalid-external-change",
|
|
10250
|
+
"invalid-construction-inventory",
|
|
10251
|
+
"invalid-target",
|
|
10252
|
+
"invalid-revision",
|
|
10253
|
+
"invalid-document",
|
|
10254
|
+
"invalid-history",
|
|
10255
|
+
"path-unavailable",
|
|
10256
|
+
"invalid-page-version",
|
|
10257
|
+
"invalid-block-reference",
|
|
10258
|
+
"invalid-content-reference",
|
|
10259
|
+
"duplicate-storage-identity",
|
|
10260
|
+
"invalid-schedule",
|
|
10261
|
+
"invalid-provider",
|
|
10262
|
+
"invalid-site-style",
|
|
10263
|
+
"invalid-manifest",
|
|
10264
|
+
"invalid-preimage-reference",
|
|
10265
|
+
"outcome-unknown",
|
|
10266
|
+
"committed-follow-up-failed"
|
|
10267
|
+
]);
|
|
10268
|
+
//#endregion
|
|
9707
10269
|
//#region ../api/src/request.ts
|
|
9708
10270
|
let revalidateTag = null;
|
|
9709
10271
|
let revalidateTagResolved = false;
|
|
@@ -9748,6 +10310,7 @@ var ApiRequestError = class extends Error {
|
|
|
9748
10310
|
this.body = options.body;
|
|
9749
10311
|
this.cause = options.cause;
|
|
9750
10312
|
this.errorCode = options.errorCode;
|
|
10313
|
+
this.tag = options.tag;
|
|
9751
10314
|
this.retryAfterMs = options.retryAfterMs;
|
|
9752
10315
|
}
|
|
9753
10316
|
};
|
|
@@ -9899,7 +10462,7 @@ async function parseSuccessResponse(endpoint, response, config) {
|
|
|
9899
10462
|
if (!raw.trim()) return buildSuccessEnvelope(void 0, requestId);
|
|
9900
10463
|
let parsed;
|
|
9901
10464
|
try {
|
|
9902
|
-
parsed = JSON.parse(raw);
|
|
10465
|
+
parsed = parseSurfaceTree(JSON.parse(raw));
|
|
9903
10466
|
} catch (cause) {
|
|
9904
10467
|
throw new ApiRequestError(`Failed to parse JSON response for endpoint ${String(endpoint)}`, {
|
|
9905
10468
|
endpoint,
|
|
@@ -9911,6 +10474,7 @@ async function parseSuccessResponse(endpoint, response, config) {
|
|
|
9911
10474
|
cause
|
|
9912
10475
|
});
|
|
9913
10476
|
}
|
|
10477
|
+
requireUsableCommitProjection(response, parsed);
|
|
9914
10478
|
if (parsed && typeof parsed === "object" && "success" in parsed && typeof parsed.success === "boolean") return parsed;
|
|
9915
10479
|
return buildSuccessEnvelope(parsed, requestId);
|
|
9916
10480
|
}
|
|
@@ -9931,7 +10495,10 @@ function createRawCMSClient(getHeaders = () => ({}), baseUrl) {
|
|
|
9931
10495
|
endpoint,
|
|
9932
10496
|
body,
|
|
9933
10497
|
params,
|
|
9934
|
-
options
|
|
10498
|
+
options: {
|
|
10499
|
+
...options,
|
|
10500
|
+
headers: commandHeaders(endpoint, options.headers, generateRequestId())
|
|
10501
|
+
},
|
|
9935
10502
|
headers: getHeaders(),
|
|
9936
10503
|
baseUrl: normalizeCmsApiBaseUrl(baseUrl ?? resolveApiBaseUrl()),
|
|
9937
10504
|
sdkVersion
|
|
@@ -9944,6 +10511,9 @@ function createRawCMSClient(getHeaders = () => ({}), baseUrl) {
|
|
|
9944
10511
|
return fetchPromise;
|
|
9945
10512
|
};
|
|
9946
10513
|
}
|
|
10514
|
+
function surfaceTransportCapability(endpoint) {
|
|
10515
|
+
return endpoint === "getContentByPath" ? "revision-v1" : void 0;
|
|
10516
|
+
}
|
|
9947
10517
|
function buildApiRequestPlan(input) {
|
|
9948
10518
|
const { endpoint, body, params, headers = {}, baseUrl } = input;
|
|
9949
10519
|
const options = input.options ?? {};
|
|
@@ -9977,22 +10547,14 @@ function buildApiRequestPlan(input) {
|
|
|
9977
10547
|
if (isGetOrHead && typeof body === "object" && body !== null && !isFormDataBody(body)) Object.entries(body).forEach(([key, value]) => {
|
|
9978
10548
|
appendQueryParam(queryParams, key, value);
|
|
9979
10549
|
});
|
|
10550
|
+
appendQueryParam(queryParams, "surfaceTransport", surfaceTransportCapability(endpoint));
|
|
9980
10551
|
const queryString = queryParams.toString();
|
|
9981
10552
|
if (queryString) url += (url.includes("?") ? "&" : "?") + queryString;
|
|
9982
10553
|
const formDataBody = isFormDataBody(body) ? body : void 0;
|
|
9983
10554
|
const nextOptions = { ...options?.next ?? {} };
|
|
9984
10555
|
if (options?.cache === "no-store") delete nextOptions.revalidate;
|
|
9985
10556
|
else if (isGetOrHead && nextOptions.revalidate === void 0 && "revalidate" in endpointConfig && typeof endpointConfig.revalidate === "number") nextOptions.revalidate = endpointConfig.revalidate;
|
|
9986
|
-
if ("tags" in endpointConfig && Array.isArray(endpointConfig.tags))
|
|
9987
|
-
const processedTags = endpointConfig.tags.map((tag) => {
|
|
9988
|
-
let processedTag = tag;
|
|
9989
|
-
if (params) Object.entries(params).forEach(([key, value]) => {
|
|
9990
|
-
processedTag = processedTag.replace(`{${key}}`, String(value));
|
|
9991
|
-
});
|
|
9992
|
-
return /\{[^}]+\}/.test(processedTag) ? null : processedTag;
|
|
9993
|
-
}).filter((tag) => tag !== null);
|
|
9994
|
-
nextOptions.tags = Array.from(/* @__PURE__ */ new Set([...nextOptions.tags ?? [], ...processedTags]));
|
|
9995
|
-
}
|
|
10557
|
+
if ("tags" in endpointConfig && Array.isArray(endpointConfig.tags)) nextOptions.tags = buildCacheReadTags([...nextOptions.tags ?? [], ...endpointConfig.tags], params);
|
|
9996
10558
|
const init = {
|
|
9997
10559
|
method,
|
|
9998
10560
|
...options,
|
|
@@ -10025,6 +10587,7 @@ async function createApiRequestError(response, endpoint, fallbackMessage) {
|
|
|
10025
10587
|
requestId: response.headers.get("x-request-id") ?? void 0,
|
|
10026
10588
|
body,
|
|
10027
10589
|
errorCode: details.code ?? void 0,
|
|
10590
|
+
tag: details.tag ?? void 0,
|
|
10028
10591
|
retryAfterMs: parseRetryAfterHeader(response.headers.get("retry-after"))
|
|
10029
10592
|
});
|
|
10030
10593
|
}
|
|
@@ -10046,6 +10609,11 @@ function createInternalAPIClient(baseUrl) {
|
|
|
10046
10609
|
function createBearerAPIClient(token, baseUrl) {
|
|
10047
10610
|
return createParsedClient(createRawCMSClient(() => ({ Authorization: `Bearer ${typeof token === "function" ? token() : token}` }), baseUrl));
|
|
10048
10611
|
}
|
|
10612
|
+
/** Positive receipt evidence is kept distinct from an HTTP or request failure. */
|
|
10613
|
+
function requireUsableCommitProjection(response, parsed) {
|
|
10614
|
+
if (response.headers.get("x-rb-page-commit") !== "confirmed-refresh") return;
|
|
10615
|
+
throw new ApiCommittedWriteNotice(pageCommitConfirmationEnvelopeSchema.parse(parsed).data);
|
|
10616
|
+
}
|
|
10049
10617
|
//#endregion
|
|
10050
10618
|
//#region ../api/src/accountApi.ts
|
|
10051
10619
|
const siteRoleSchema = z.enum([
|
|
@@ -10395,11 +10963,12 @@ const appointmentSetupVenueChoiceSchema = z.discriminatedUnion("kind", [
|
|
|
10395
10963
|
title: z.string().trim().min(1),
|
|
10396
10964
|
description: z.string().nullable(),
|
|
10397
10965
|
timezone: z.string().trim().min(1).nullable(),
|
|
10398
|
-
|
|
10966
|
+
locationValue: locationValueSchema.nullable().optional(),
|
|
10967
|
+
addressJson: z.record(z.string(), z.unknown()).optional(),
|
|
10399
10968
|
locationJson: z.object({
|
|
10400
10969
|
lat: z.number(),
|
|
10401
10970
|
lng: z.number()
|
|
10402
|
-
}).nullable()
|
|
10971
|
+
}).nullable().optional()
|
|
10403
10972
|
})
|
|
10404
10973
|
]);
|
|
10405
10974
|
const appointmentSetupPaymentDraftSchema = z.discriminatedUnion("kind", [
|
|
@@ -10690,6 +11259,7 @@ function parsePublicProductCategorySelector(value) {
|
|
|
10690
11259
|
productCategoryEntryId: record.productCategoryEntryId
|
|
10691
11260
|
};
|
|
10692
11261
|
}
|
|
11262
|
+
z.object({ expectedRevision: z.number().int().nonnegative() }).strict();
|
|
10693
11263
|
z.enum(["public", "unlisted"], { error: "visibility must be 'public' or 'unlisted'" });
|
|
10694
11264
|
z.object({
|
|
10695
11265
|
restoredOccurrenceIds: z.array(z.string().uuid()),
|
|
@@ -10704,9 +11274,8 @@ z.object({
|
|
|
10704
11274
|
//#endregion
|
|
10705
11275
|
//#region ../api/src/aiPlayground.ts
|
|
10706
11276
|
const PreparedPagePreconditionSchema = z.object({
|
|
10707
|
-
schemaVersion: z.literal(1),
|
|
10708
11277
|
pageId: z.string().uuid(),
|
|
10709
|
-
|
|
11278
|
+
revision: z.number().int().nonnegative()
|
|
10710
11279
|
}).strict();
|
|
10711
11280
|
/**
|
|
10712
11281
|
* RFC-6902 JSON Patch Operations
|
|
@@ -10852,7 +11421,9 @@ function canonicalizeObjectForWrite(plans, value) {
|
|
|
10852
11421
|
function canonicalizeFieldValue(plan, value) {
|
|
10853
11422
|
switch (plan.kind) {
|
|
10854
11423
|
case "media": return canonicalizeMedia(value);
|
|
10855
|
-
case "group":
|
|
11424
|
+
case "group":
|
|
11425
|
+
if (plan.valueContract === "location") return value;
|
|
11426
|
+
return plan.childSelection.kind === "discriminatedTabs" ? canonicalizeDiscriminatedGroup(plan, value) : canonicalizeObjectForWrite(plan.childSelection.fields, value);
|
|
10856
11427
|
case "repeater": return canonicalizeRepeater(plan, value);
|
|
10857
11428
|
case "string":
|
|
10858
11429
|
case "number":
|
|
@@ -11058,7 +11629,7 @@ function pluralize(label, count) {
|
|
|
11058
11629
|
return label.endsWith("s") ? label : `${label}s`;
|
|
11059
11630
|
}
|
|
11060
11631
|
function valueContractForField(field) {
|
|
11061
|
-
return field.ui?.valueContract
|
|
11632
|
+
return field.ui?.valueContract !== void 0 ? { valueContract: field.ui.valueContract } : {};
|
|
11062
11633
|
}
|
|
11063
11634
|
function deriveTabGroupValidationPlan(field, path, required) {
|
|
11064
11635
|
return {
|
|
@@ -11167,7 +11738,8 @@ function deriveFieldValidationPlan(field, path = [field.id]) {
|
|
|
11167
11738
|
kind: "all",
|
|
11168
11739
|
fields: deriveNestedFieldPlans(field.schema?.fields ?? [], path)
|
|
11169
11740
|
},
|
|
11170
|
-
allowNullChildren: field.type === "group" && field.ui?.widget === "locationPicker"
|
|
11741
|
+
allowNullChildren: field.type === "group" && field.ui?.widget === "locationPicker",
|
|
11742
|
+
...valueContractForField(field)
|
|
11171
11743
|
};
|
|
11172
11744
|
case "tabGroup": return deriveTabGroupValidationPlan(field, path, required);
|
|
11173
11745
|
case "presetOrCustom":
|
|
@@ -11302,7 +11874,9 @@ function normalizeManifestContentForWrite(plans, content, options = {}) {
|
|
|
11302
11874
|
function normalizeStoredFieldValueWithContext(plan, value, ctx) {
|
|
11303
11875
|
if (value === null && !plan.required) return;
|
|
11304
11876
|
switch (plan.kind) {
|
|
11305
|
-
case "group":
|
|
11877
|
+
case "group":
|
|
11878
|
+
if (plan.valueContract === "location") return normalizeLocationContract(value, ctx.mode);
|
|
11879
|
+
return normalizeStoredObjectChildren(selectedGroupChildPlans(plan, value), value, childValidationContext(plan, ctx));
|
|
11306
11880
|
case "repeater": return normalizeStoredRepeaterItems(plan, value, ctx);
|
|
11307
11881
|
case "string":
|
|
11308
11882
|
case "number":
|
|
@@ -11338,7 +11912,9 @@ function normalizeFieldValue(plan, value, ctx) {
|
|
|
11338
11912
|
switch (plan.kind) {
|
|
11339
11913
|
case "number": return normalizeNumberInput(value, ctx.allowNull);
|
|
11340
11914
|
case "string": return acceptsOptionalBlankAsMissing(plan, value) ? void 0 : value;
|
|
11341
|
-
case "group":
|
|
11915
|
+
case "group":
|
|
11916
|
+
if (plan.valueContract === "location") return normalizeLocationContract(value, ctx.mode);
|
|
11917
|
+
return normalizeObjectChildren(selectedGroupChildPlans(plan, value), value, childValidationContext(plan, ctx));
|
|
11342
11918
|
case "repeater": return normalizeRepeaterItems(plan, value, ctx);
|
|
11343
11919
|
case "link":
|
|
11344
11920
|
case "boolean":
|
|
@@ -11428,7 +12004,7 @@ function acceptsNullValue(plan, ctx) {
|
|
|
11428
12004
|
return ctx.mode === "storable" ? !plan.required : ctx.allowNull || acceptsOptionalNullValue(plan);
|
|
11429
12005
|
}
|
|
11430
12006
|
function acceptsOptionalNullValue(plan) {
|
|
11431
|
-
return !plan.required && (plan.kind === "media" || plan.kind === "number");
|
|
12007
|
+
return !plan.required && (plan.kind === "media" || plan.kind === "number" || plan.kind === "group" && plan.valueContract === "location");
|
|
11432
12008
|
}
|
|
11433
12009
|
function isMissingForPlan(plan, value, mode) {
|
|
11434
12010
|
if (value === void 0) return true;
|
|
@@ -11588,6 +12164,7 @@ function validateFlattenedGroupContainers(groupIds, item, plan, index, ctx) {
|
|
|
11588
12164
|
}] : []);
|
|
11589
12165
|
}
|
|
11590
12166
|
function validateGroupPlan(plan, value, ctx) {
|
|
12167
|
+
if (plan.valueContract === "location") return validateLocationGroupContract(plan, value, ctx);
|
|
11591
12168
|
if (!isPlainObject$4(value)) return [issue(plan, "wrongType", { expected: "an object" })];
|
|
11592
12169
|
if (plan.childSelection.kind === "discriminatedTabs") {
|
|
11593
12170
|
const selectedType = value[plan.childSelection.activeTabField];
|
|
@@ -11601,8 +12178,7 @@ function validateGroupPlan(plan, value, ctx) {
|
|
|
11601
12178
|
const childCtx = childValidationContext(plan, ctx);
|
|
11602
12179
|
const childIssues = selectedGroupChildPlans(plan, value).flatMap((childPlan) => validateNormalizedFieldValue(childPlan, value[childPlan.fieldId], childCtx));
|
|
11603
12180
|
if (childIssues.length > 0) return childIssues;
|
|
11604
|
-
|
|
11605
|
-
return [];
|
|
12181
|
+
return validateGroupBackgroundContract(plan, value, ctx);
|
|
11606
12182
|
}
|
|
11607
12183
|
function childValidationContext(plan, ctx) {
|
|
11608
12184
|
return plan.allowNullChildren ? {
|
|
@@ -11712,12 +12288,12 @@ function fieldPlanToStrictObjectPropertyZod(plan, mode = "strict", layoutGridCoo
|
|
|
11712
12288
|
}),
|
|
11713
12289
|
layoutGridCoordinates
|
|
11714
12290
|
};
|
|
11715
|
-
const
|
|
12291
|
+
const projected = z.any().superRefine((value, zodCtx) => {
|
|
11716
12292
|
validateNormalizedFieldValue(plan, value, ctx).forEach((validationIssue) => {
|
|
11717
12293
|
addFieldIssueToZodContext(zodCtx, validationIssue, plan.path);
|
|
11718
12294
|
});
|
|
11719
|
-
});
|
|
11720
|
-
return plan.required ?
|
|
12295
|
+
}).transform((value) => mode === "render" && plan.kind === "group" && plan.valueContract === "location" ? normalizeLocationContract(value, "render") : value);
|
|
12296
|
+
return plan.required ? projected : projected.optional();
|
|
11721
12297
|
}
|
|
11722
12298
|
function fieldIssueToZodDetail(issue) {
|
|
11723
12299
|
if (issue.kind === "required") return issue.emptyOrigin ? {
|
|
@@ -11847,6 +12423,28 @@ function isEmptyRichTextDoc(value) {
|
|
|
11847
12423
|
const first = content[0];
|
|
11848
12424
|
return first?.type === "paragraph" && (!Array.isArray(first.content) || first.content.length === 0);
|
|
11849
12425
|
}
|
|
12426
|
+
function normalizeLocationContract(value, mode) {
|
|
12427
|
+
const canonical = locationValueSchema.safeParse(value);
|
|
12428
|
+
if (canonical.success) return mode === "render" ? projectPublicLocation(canonical.data) : canonical.data;
|
|
12429
|
+
const publicValue = mode === "render" ? publicLocationSchema.safeParse(value) : null;
|
|
12430
|
+
return publicValue?.success ? publicValue.data : value;
|
|
12431
|
+
}
|
|
12432
|
+
function validateLocationGroupContract(plan, value, ctx) {
|
|
12433
|
+
if (isRenderLocationRecovery(value, ctx.mode)) return [];
|
|
12434
|
+
if (!(ctx.mode === "render" || ctx.mode === "render-source" ? z.union([locationValueSchema, publicLocationSchema]) : locationValueSchema).safeParse(value).success) return [issue(plan, "wrongType", { expected: "a valid location" })];
|
|
12435
|
+
if (ctx.mode === "storable" || ctx.mode === "strict") {
|
|
12436
|
+
const canonical = locationValueSchema.safeParse(value);
|
|
12437
|
+
if (canonical.success && decideLocationSave(canonical.data, "idle").kind === "blocked") return [issue(plan, "wrongType", { expected: "a confirmed address and pin" })];
|
|
12438
|
+
}
|
|
12439
|
+
return [];
|
|
12440
|
+
}
|
|
12441
|
+
function validateGroupBackgroundContract(plan, value, ctx) {
|
|
12442
|
+
if (plan.valueContract === "boxBackground" && !(ctx.mode === "render" ? runtimeBoxBackgroundSchema : boxBackgroundSchema).safeParse(value).success) return [issue(plan, "invalidBoxBackground")];
|
|
12443
|
+
return [];
|
|
12444
|
+
}
|
|
12445
|
+
function isRenderLocationRecovery(value, mode) {
|
|
12446
|
+
return (mode === "render" || mode === "render-source") && z.strictObject({ kind: z.literal("needs_place") }).safeParse(value).success;
|
|
12447
|
+
}
|
|
11850
12448
|
//#endregion
|
|
11851
12449
|
//#region ../blocks/src/system/manifest/registry.ts
|
|
11852
12450
|
const REGISTRY_SYMBOL$1 = Symbol.for("@riverbankcms/blocks/manifest-registry");
|
|
@@ -11902,7 +12500,7 @@ function projectLayoutGridPlansForRendering(plans, value, rootValues = layoutGri
|
|
|
11902
12500
|
if (!values) return value;
|
|
11903
12501
|
return plans.reduce((projected, plan) => {
|
|
11904
12502
|
const fieldValue = projected[plan.fieldId];
|
|
11905
|
-
const next = plan.kind === "group" ? projectLayoutGridPlansForRendering(allGroupChildPlans(plan), fieldValue, rootValues) : plan.kind === "repeater" && Array.isArray(fieldValue) ? projectGrid(plan, fieldValue, rootValues).map((item) => {
|
|
12503
|
+
const next = plan.kind === "group" && plan.valueContract === "location" ? recoverUnreadableLocation(fieldValue) : plan.kind === "group" ? projectLayoutGridPlansForRendering(allGroupChildPlans(plan), fieldValue, rootValues) : plan.kind === "repeater" && Array.isArray(fieldValue) ? projectGrid(plan, fieldValue, rootValues).map((item) => {
|
|
11906
12504
|
const row = layoutGridRecord(item);
|
|
11907
12505
|
return row ? projectLayoutGridPlansForRendering(resolveLayoutGridItemPlans(plan, row), row, rootValues) : item;
|
|
11908
12506
|
}) : fieldValue;
|
|
@@ -11912,6 +12510,11 @@ function projectLayoutGridPlansForRendering(plans, value, rootValues = layoutGri
|
|
|
11912
12510
|
};
|
|
11913
12511
|
}, values);
|
|
11914
12512
|
}
|
|
12513
|
+
/** Render recovery drops unreadable meaning rather than interpreting obsolete coordinates. */
|
|
12514
|
+
function recoverUnreadableLocation(value) {
|
|
12515
|
+
if (value == null || locationValueSchema.safeParse(value).success || publicLocationSchema.safeParse(value).success) return value;
|
|
12516
|
+
return { kind: "needs_place" };
|
|
12517
|
+
}
|
|
11915
12518
|
//#endregion
|
|
11916
12519
|
//#region ../blocks/src/system/manifest/validation.ts
|
|
11917
12520
|
const compiledManifestContentContract = Symbol("compiledManifestContentContract");
|
|
@@ -11933,33 +12536,36 @@ function compileManifestContentContract(manifestOrFields, options = {}) {
|
|
|
11933
12536
|
const plans = derivePlansFromManifestOrFields(manifestOrFields);
|
|
11934
12537
|
const strictOptions = { allowNull: false };
|
|
11935
12538
|
const strictStoredSchema = deriveStrictContentZodFromPlans(plans);
|
|
11936
|
-
return Object.freeze({
|
|
11937
|
-
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
|
|
11941
|
-
|
|
11942
|
-
|
|
11943
|
-
|
|
11944
|
-
|
|
11945
|
-
|
|
11946
|
-
|
|
12539
|
+
return Object.freeze({
|
|
12540
|
+
fields: Array.isArray(manifestOrFields) ? manifestOrFields : manifestOrFields.fields,
|
|
12541
|
+
[compiledManifestContentContract]: Object.freeze({
|
|
12542
|
+
plans,
|
|
12543
|
+
strictStoredSchema,
|
|
12544
|
+
renderSourceSchema: deriveStrictContentZodFromPlans(plans, "render-source"),
|
|
12545
|
+
writeSchema: deriveNormalizedContentZodFromPlans(plans, strictOptions, normalizeManifestContentForWrite).superRefine((value, ctx) => {
|
|
12546
|
+
if (options.unknownFields !== "reject") return;
|
|
12547
|
+
unknownManifestFieldPaths(plans, value).forEach((path) => {
|
|
12548
|
+
ctx.addIssue({
|
|
12549
|
+
code: "custom",
|
|
12550
|
+
path,
|
|
12551
|
+
message: `Unknown content field: ${path.join(".")}`
|
|
12552
|
+
});
|
|
11947
12553
|
});
|
|
11948
|
-
})
|
|
11949
|
-
|
|
11950
|
-
|
|
11951
|
-
|
|
11952
|
-
|
|
11953
|
-
|
|
11954
|
-
|
|
11955
|
-
|
|
11956
|
-
|
|
11957
|
-
|
|
11958
|
-
|
|
11959
|
-
|
|
11960
|
-
|
|
11961
|
-
|
|
11962
|
-
})
|
|
12554
|
+
}).transform((value) => canonicalizeObjectForWrite(plans, value)),
|
|
12555
|
+
draftSchema: deriveNormalizedContentZodFromPlans(plans, {
|
|
12556
|
+
allowNull: true,
|
|
12557
|
+
allowIncomplete: true,
|
|
12558
|
+
mode: "draft"
|
|
12559
|
+
}, normalizeStoredContentValues),
|
|
12560
|
+
renderDraftSchema: deriveNormalizedContentZodFromPlans(plans, {
|
|
12561
|
+
allowNull: true,
|
|
12562
|
+
allowIncomplete: true,
|
|
12563
|
+
mode: "draft"
|
|
12564
|
+
}, normalizeStoredContentValues, false),
|
|
12565
|
+
renderSchema: deriveStrictContentZodFromPlans(plans, "render"),
|
|
12566
|
+
findNonPortableMediaPaths: (content) => findNonPortableMediaPaths(plans, content)
|
|
12567
|
+
})
|
|
12568
|
+
});
|
|
11963
12569
|
}
|
|
11964
12570
|
function unknownManifestFieldPaths(plans, value, parent = [], discriminator) {
|
|
11965
12571
|
if (!isPlainRecord(value)) return [];
|
|
@@ -11968,7 +12574,7 @@ function unknownManifestFieldPaths(plans, value, parent = [], discriminator) {
|
|
|
11968
12574
|
}
|
|
11969
12575
|
function nestedUnknownManifestFieldPaths(plan, value, path) {
|
|
11970
12576
|
if (plan.kind === "group") {
|
|
11971
|
-
if (plan.valueContract
|
|
12577
|
+
if (plan.valueContract !== void 0) return [];
|
|
11972
12578
|
const selection = plan.childSelection;
|
|
11973
12579
|
return unknownManifestFieldPaths(allGroupChildPlans(plan), value, path, selection.kind === "discriminatedTabs" ? selection.activeTabField : void 0);
|
|
11974
12580
|
}
|
|
@@ -11977,6 +12583,10 @@ function nestedUnknownManifestFieldPaths(plan, value, path) {
|
|
|
11977
12583
|
return unknownManifestFieldPaths((isPlainRecord(item) ? plan.repeatedItemVariants?.find((entry) => entry.typeId === item._type) : void 0)?.fields ?? plan.repeatedItemPlan ?? [], item, [...path, index], plan.repeatedItemVariants ? "_type" : void 0);
|
|
11978
12584
|
});
|
|
11979
12585
|
}
|
|
12586
|
+
/** Presentation recovery preserves authored payloads and does not admit them for a write. */
|
|
12587
|
+
function projectStoredManifestContentForRendering(contract, content) {
|
|
12588
|
+
return projectLayoutGridPlansForRendering(contract[compiledManifestContentContract].plans, content);
|
|
12589
|
+
}
|
|
11980
12590
|
/** Validates raw editor state without granting a stored-content proof. */
|
|
11981
12591
|
function validateManifestDraft(contract, data) {
|
|
11982
12592
|
const parsed = contract[compiledManifestContentContract].draftSchema.safeParse(data);
|
|
@@ -12000,11 +12610,11 @@ function validateManifestDraft(contract, data) {
|
|
|
12000
12610
|
*/
|
|
12001
12611
|
function admitTransportedRenderableManifestContent(contract, content) {
|
|
12002
12612
|
const state = contract[compiledManifestContentContract];
|
|
12003
|
-
const projected =
|
|
12613
|
+
const projected = projectStoredManifestContentForRendering(contract, content);
|
|
12004
12614
|
const parsed = state.renderSchema.safeParse(projected);
|
|
12005
12615
|
return parsed.success ? {
|
|
12006
12616
|
ok: true,
|
|
12007
|
-
value:
|
|
12617
|
+
value: parsed.data
|
|
12008
12618
|
} : {
|
|
12009
12619
|
ok: false,
|
|
12010
12620
|
error: zodAdmissionError(parsed.error)
|
|
@@ -12030,7 +12640,7 @@ function deriveContentZodFromPlans(plans, options, validateLayoutGrids = true) {
|
|
|
12030
12640
|
});
|
|
12031
12641
|
}
|
|
12032
12642
|
function deriveStrictContentZodFromPlans(plans, mode = "strict") {
|
|
12033
|
-
const shape = Object.fromEntries(plans.map((plan) => [plan.fieldId, fieldPlanToStrictObjectPropertyZod(plan, mode
|
|
12643
|
+
const shape = Object.fromEntries(plans.map((plan) => [plan.fieldId, fieldPlanToStrictObjectPropertyZod(plan, mode, mode === "strict" ? "validate" : "projected")]));
|
|
12034
12644
|
return z.object(shape).catchall(z.unknown()).passthrough().superRefine((values, ctx) => {
|
|
12035
12645
|
if (mode !== "strict") return;
|
|
12036
12646
|
validateLayoutGridPlans(plans, values).forEach((issue) => {
|
|
@@ -12107,7 +12717,7 @@ function visitRepeatedMedia(plan, value, path, visit) {
|
|
|
12107
12717
|
function collectNonPortablePlannedMedia(plans, content, parentPath, paths) {
|
|
12108
12718
|
visitPlannedMedia(plans, content, parentPath, (value, path, kind) => {
|
|
12109
12719
|
if (kind === "richText") collectNonPortableRichTextImages(value, path, paths);
|
|
12110
|
-
else if (
|
|
12720
|
+
else if (value !== null && value !== void 0 && !mediaSchema.safeParse(value).success) paths.add(formatFieldPath(path));
|
|
12111
12721
|
});
|
|
12112
12722
|
}
|
|
12113
12723
|
function collectNonPortableRichTextImages(value, path, paths) {
|
|
@@ -12122,10 +12732,6 @@ function isPlainRecord(value) {
|
|
|
12122
12732
|
function hasEnvironmentSpecificMediaField(value) {
|
|
12123
12733
|
return "assetId" in value || "storageBucket" in value || "storagePath" in value || "src" in value || "mimeType" in value || looksLikeUuid(value.id);
|
|
12124
12734
|
}
|
|
12125
|
-
function hasNonPortablePoster(value) {
|
|
12126
|
-
if (value.poster === void 0) return false;
|
|
12127
|
-
return !mediaPosterSchema.safeParse(value.poster).success;
|
|
12128
|
-
}
|
|
12129
12735
|
//#endregion
|
|
12130
12736
|
//#region ../blocks/src/system/manifest/variantKey.ts
|
|
12131
12737
|
/** Parse stored content only; defaults belong to resolveEffectiveArrangement. */
|
|
@@ -13354,6 +13960,20 @@ function resolveFooterRootForeground(footer, palette, proseHoverCandidate) {
|
|
|
13354
13960
|
}, palette, footerForegroundCandidates(footer, proseHoverCandidate), { compositeBase: "background" });
|
|
13355
13961
|
}
|
|
13356
13962
|
function resolveSurfaceForegroundStyles(value, context, options) {
|
|
13963
|
+
const resolved = cachedSectionSurface(value, context, options);
|
|
13964
|
+
const foreground = resolved.foreground;
|
|
13965
|
+
if (foreground.kind === "unknown") return { ...resolved.buttonStyles };
|
|
13966
|
+
return {
|
|
13967
|
+
...arrangementSurfaceInk(foreground, context),
|
|
13968
|
+
...resolved.buttonStyles,
|
|
13969
|
+
...surfaceForegroundStyle(surfaceForegroundInputFromResolved(foreground, (token) => resolveBackgroundColorValue(token, context)))
|
|
13970
|
+
};
|
|
13971
|
+
}
|
|
13972
|
+
/** The section ground's resolved foreground, for decorations drawn on that ground (maps). */
|
|
13973
|
+
function resolveSectionSurfaceForeground(value, context, options) {
|
|
13974
|
+
return cachedSectionSurface(value, context, options).foreground;
|
|
13975
|
+
}
|
|
13976
|
+
function cachedSectionSurface(value, context, options) {
|
|
13357
13977
|
const key = JSON.stringify([
|
|
13358
13978
|
value,
|
|
13359
13979
|
context.proseHoverCandidate,
|
|
@@ -13364,13 +13984,7 @@ function resolveSurfaceForegroundStyles(value, context, options) {
|
|
|
13364
13984
|
if (!sectionSurfaceCache.has(context.theme)) sectionSurfaceCache.set(context.theme, cache);
|
|
13365
13985
|
const resolved = cache.get(key) ?? resolveRuntimeSectionSurface(value, context, options);
|
|
13366
13986
|
cache.set(key, resolved);
|
|
13367
|
-
|
|
13368
|
-
if (foreground.kind === "unknown") return { ...resolved.buttonStyles };
|
|
13369
|
-
return {
|
|
13370
|
-
...arrangementSurfaceInk(foreground, context),
|
|
13371
|
-
...resolved.buttonStyles,
|
|
13372
|
-
...surfaceForegroundStyle(surfaceForegroundInputFromResolved(foreground, (token) => resolveBackgroundColorValue(token, context)))
|
|
13373
|
-
};
|
|
13987
|
+
return resolved;
|
|
13374
13988
|
}
|
|
13375
13989
|
/** Cache only the owner's result; no foreground or button rules live here. */
|
|
13376
13990
|
function resolveRuntimeSectionSurface(value, context, options) {
|
|
@@ -14148,7 +14762,7 @@ const heroCopyFragment = defineFragment({
|
|
|
14148
14762
|
{
|
|
14149
14763
|
id: "eyebrow",
|
|
14150
14764
|
type: "text",
|
|
14151
|
-
label: "
|
|
14765
|
+
label: "Small heading above the title",
|
|
14152
14766
|
description: "Optional short line above the headline",
|
|
14153
14767
|
visibleRoles: ["designer", "admin"]
|
|
14154
14768
|
},
|
|
@@ -14198,7 +14812,7 @@ const heroCopyFragment = defineFragment({
|
|
|
14198
14812
|
//#endregion
|
|
14199
14813
|
//#region ../blocks/src/system/fields/ctas.ts
|
|
14200
14814
|
function createCtasRepeater(options = {}) {
|
|
14201
|
-
const { id = "ctas", label = "
|
|
14815
|
+
const { id = "ctas", label = "Buttons", itemLabel = "Button", minItems = 0, maxItems, button, defaultValue } = options;
|
|
14202
14816
|
const fieldId = id;
|
|
14203
14817
|
const buttonField = createButtonGroup({
|
|
14204
14818
|
showGroupLabel: false,
|
|
@@ -14227,8 +14841,8 @@ const ctaRowFragment = defineFragment({
|
|
|
14227
14841
|
title: "CTA Row",
|
|
14228
14842
|
description: "Repeatable calls to action rendered inline.",
|
|
14229
14843
|
fields: [createCtasRepeater({
|
|
14230
|
-
label: "
|
|
14231
|
-
itemLabel: "
|
|
14844
|
+
label: "Buttons",
|
|
14845
|
+
itemLabel: "Button",
|
|
14232
14846
|
maxItems: 3
|
|
14233
14847
|
})],
|
|
14234
14848
|
layout: [ctaRow({
|
|
@@ -14241,8 +14855,8 @@ const ctaRowFragment = defineFragment({
|
|
|
14241
14855
|
//#endregion
|
|
14242
14856
|
//#region ../blocks/src/system/fragments/library/heroCtaRow.ts
|
|
14243
14857
|
const heroCtaFields = [createCtasRepeater({
|
|
14244
|
-
label: "
|
|
14245
|
-
itemLabel: "
|
|
14858
|
+
label: "Buttons",
|
|
14859
|
+
itemLabel: "Button",
|
|
14246
14860
|
maxItems: 3,
|
|
14247
14861
|
defaultValue: [],
|
|
14248
14862
|
button: {
|
|
@@ -14308,7 +14922,7 @@ const ctaCopyFragment = defineFragment({
|
|
|
14308
14922
|
{
|
|
14309
14923
|
id: "eyebrow",
|
|
14310
14924
|
type: "text",
|
|
14311
|
-
label: "
|
|
14925
|
+
label: "Small heading above the title",
|
|
14312
14926
|
description: "Optional short line above the title",
|
|
14313
14927
|
visibleRoles: ["designer", "admin"]
|
|
14314
14928
|
},
|
|
@@ -15071,7 +15685,7 @@ const faqHeadingFragment = defineFragment({
|
|
|
15071
15685
|
{
|
|
15072
15686
|
id: "eyebrow",
|
|
15073
15687
|
type: "text",
|
|
15074
|
-
label: "
|
|
15688
|
+
label: "Small heading above the title",
|
|
15075
15689
|
description: "Short label displayed above the title.",
|
|
15076
15690
|
visibleRoles: ["designer", "admin"],
|
|
15077
15691
|
maxLength: 60
|
|
@@ -16081,7 +16695,12 @@ const lookSticker = text({
|
|
|
16081
16695
|
as: "p",
|
|
16082
16696
|
...lookSlot("sticker")
|
|
16083
16697
|
}, when("content._effectiveKnobs.stickerLine.value"), bind("content.stickerLine"));
|
|
16084
|
-
const
|
|
16698
|
+
const heroActionsNote = richText({ className: "hero-actions-note" }, when("content.actionsNote"), bind("content.actionsNote"));
|
|
16699
|
+
const heroContentNodes = [
|
|
16700
|
+
lookCaption,
|
|
16701
|
+
...heroCopyAndCta.layout,
|
|
16702
|
+
heroActionsNote
|
|
16703
|
+
];
|
|
16085
16704
|
function heroContentCard(children, gap, copyAtCard) {
|
|
16086
16705
|
return styledContainer({
|
|
16087
16706
|
bindFrom: "_contentCardStyles",
|
|
@@ -16210,7 +16829,8 @@ const headlineRowLayout = heroLookLayout([
|
|
|
16210
16829
|
el("div", lookSlot("copy"), [
|
|
16211
16830
|
lookCaption,
|
|
16212
16831
|
...heroCopyFragment.layout.slice(2),
|
|
16213
|
-
...heroCtaRowFragment.layout
|
|
16832
|
+
...heroCtaRowFragment.layout,
|
|
16833
|
+
heroActionsNote
|
|
16214
16834
|
]),
|
|
16215
16835
|
lookPhoto
|
|
16216
16836
|
]);
|
|
@@ -16297,6 +16917,17 @@ const heroBlockDefinition = { manifest: createBlockManifest({
|
|
|
16297
16917
|
hidden: true
|
|
16298
16918
|
}
|
|
16299
16919
|
},
|
|
16920
|
+
{
|
|
16921
|
+
id: "actionsNote",
|
|
16922
|
+
type: "richText",
|
|
16923
|
+
label: "Line in place of the buttons",
|
|
16924
|
+
required: false,
|
|
16925
|
+
ui: {
|
|
16926
|
+
intent: "display",
|
|
16927
|
+
hidden: true,
|
|
16928
|
+
richTextVariant: "limited"
|
|
16929
|
+
}
|
|
16930
|
+
},
|
|
16300
16931
|
createImageShapeField({
|
|
16301
16932
|
id: "imageShape",
|
|
16302
16933
|
label: "Image shape",
|
|
@@ -16327,6 +16958,11 @@ const heroBlockDefinition = { manifest: createBlockManifest({
|
|
|
16327
16958
|
]
|
|
16328
16959
|
},
|
|
16329
16960
|
defaultVariant: "classic",
|
|
16961
|
+
variantOptions: {
|
|
16962
|
+
micro: { label: "Compact" },
|
|
16963
|
+
split: { label: "Split, photo on the left" },
|
|
16964
|
+
splitReverse: { label: "Split, photo on the right" }
|
|
16965
|
+
},
|
|
16330
16966
|
description: "A big opening headline, with a short line underneath and buttons.",
|
|
16331
16967
|
tags: [
|
|
16332
16968
|
"header",
|
|
@@ -16661,8 +17297,8 @@ const introBlockDefinition = { manifest: createBlockManifest({
|
|
|
16661
17297
|
}
|
|
16662
17298
|
}),
|
|
16663
17299
|
createCtasRepeater({
|
|
16664
|
-
label: "
|
|
16665
|
-
itemLabel: "
|
|
17300
|
+
label: "Buttons",
|
|
17301
|
+
itemLabel: "Button",
|
|
16666
17302
|
maxItems: 2
|
|
16667
17303
|
})
|
|
16668
17304
|
],
|
|
@@ -18700,6 +19336,11 @@ const contentTransforms = [{
|
|
|
18700
19336
|
summary: "Interpolate allowed tokens inside rich-text text nodes",
|
|
18701
19337
|
schema: interpolateRichTextTokensOptionsSchema,
|
|
18702
19338
|
run: (value, options, context) => interpolateRichTextTokens(value, options, context)
|
|
19339
|
+
}, {
|
|
19340
|
+
id: "teamMember.cardBiographyFallback",
|
|
19341
|
+
kind: "formatter",
|
|
19342
|
+
summary: "A team member's card bio when they have no short bio",
|
|
19343
|
+
run: (value) => teamMemberCardBiographyFallback(value)
|
|
18703
19344
|
}];
|
|
18704
19345
|
//#endregion
|
|
18705
19346
|
//#region ../blocks/src/system/transforms/typed.ts
|
|
@@ -19519,6 +20160,7 @@ const dataLoaders = { ...entriesLoader ? { entries: {
|
|
|
19519
20160
|
} } : {} };
|
|
19520
20161
|
const testimonialsBlockDefinition = {
|
|
19521
20162
|
manifest: createBlockManifest({
|
|
20163
|
+
arrangementOwnedFieldIds: ["maxEntries", "avatarLayout"],
|
|
19522
20164
|
variantMeaning: {
|
|
19523
20165
|
kind: "arrangement",
|
|
19524
20166
|
lookOnlyKeys: [
|
|
@@ -19536,7 +20178,7 @@ const testimonialsBlockDefinition = {
|
|
|
19536
20178
|
},
|
|
19537
20179
|
promotedFields: ["maxEntries"],
|
|
19538
20180
|
title: "Testimonials",
|
|
19539
|
-
category: "
|
|
20181
|
+
category: "people",
|
|
19540
20182
|
contentSource: { kind: "inline" },
|
|
19541
20183
|
includeContainerStyles: true,
|
|
19542
20184
|
layout: carouselLayout$1,
|
|
@@ -20244,7 +20886,7 @@ const featureCardsBlockDefinition = { manifest: createBlockManifest({
|
|
|
20244
20886
|
{
|
|
20245
20887
|
id: "eyebrow",
|
|
20246
20888
|
type: "text",
|
|
20247
|
-
label: "
|
|
20889
|
+
label: "Small heading above the title",
|
|
20248
20890
|
required: false,
|
|
20249
20891
|
multiline: false,
|
|
20250
20892
|
maxLength: 80
|
|
@@ -20342,8 +20984,8 @@ const featureCardsBlockDefinition = { manifest: createBlockManifest({
|
|
|
20342
20984
|
ui: { richTextVariant: "limited" }
|
|
20343
20985
|
},
|
|
20344
20986
|
createCtasRepeater({
|
|
20345
|
-
label: "
|
|
20346
|
-
itemLabel: "
|
|
20987
|
+
label: "Buttons",
|
|
20988
|
+
itemLabel: "Button",
|
|
20347
20989
|
maxItems: 1,
|
|
20348
20990
|
button: { defaultVariant: "ghost" }
|
|
20349
20991
|
})
|
|
@@ -20618,7 +21260,7 @@ const textCardStylesField = (() => {
|
|
|
20618
21260
|
const mediaTextBlockDefinition = { manifest: createBlockManifest({
|
|
20619
21261
|
id: "block.media-text",
|
|
20620
21262
|
title: "Media and text",
|
|
20621
|
-
category: "
|
|
21263
|
+
category: "text-and-images",
|
|
20622
21264
|
contentSource: { kind: "inline" },
|
|
20623
21265
|
includeContainerStyles: true,
|
|
20624
21266
|
titleSource: "title",
|
|
@@ -20656,7 +21298,7 @@ const mediaTextBlockDefinition = { manifest: createBlockManifest({
|
|
|
20656
21298
|
{
|
|
20657
21299
|
id: "eyebrow",
|
|
20658
21300
|
type: "text",
|
|
20659
|
-
label: "
|
|
21301
|
+
label: "Small heading above the title",
|
|
20660
21302
|
description: "Optional short label above the title",
|
|
20661
21303
|
required: false,
|
|
20662
21304
|
multiline: false,
|
|
@@ -21574,7 +22216,7 @@ const eventDetailsBlockDefinition = {
|
|
|
21574
22216
|
layout: [styledSection({
|
|
21575
22217
|
baseClass: "",
|
|
21576
22218
|
spacing: "spacious",
|
|
21577
|
-
children: sectionContainer([text({ as: "h2" }, bind("content.heading"), when("content.heading")), el("event-details", withApiBindings({
|
|
22219
|
+
children: sectionContainer([text({ as: "h2" }, bind("content.heading"), when("content.heading")), el("div", { style: mapDrawingStyleBinding }, [el("event-details", withApiBindings({
|
|
21578
22220
|
entryTitle: { $bind: {
|
|
21579
22221
|
from: "$root.contentEntry.title",
|
|
21580
22222
|
fallback: null
|
|
@@ -21593,6 +22235,10 @@ const eventDetailsBlockDefinition = {
|
|
|
21593
22235
|
fallback: null
|
|
21594
22236
|
} },
|
|
21595
22237
|
events: { $bind: { from: "data.eventDetailsData.events" } },
|
|
22238
|
+
venueDrawing: { $bind: {
|
|
22239
|
+
from: "data.eventDetailsData.venueDrawing",
|
|
22240
|
+
fallback: null
|
|
22241
|
+
} },
|
|
21596
22242
|
showVenue: { $bind: { from: "content.showVenue" } },
|
|
21597
22243
|
showTitle: { $bind: { from: "content.showTitle" } },
|
|
21598
22244
|
showDescription: { $bind: { from: "content.showDescription" } },
|
|
@@ -21624,12 +22270,13 @@ const eventDetailsBlockDefinition = {
|
|
|
21624
22270
|
from: "data.eventDetailsData.autoApplyDiscount",
|
|
21625
22271
|
fallback: null
|
|
21626
22272
|
} }
|
|
21627
|
-
}, { includeApiBaseUrl: false }))], { gap: "lg" })
|
|
22273
|
+
}, { includeApiBaseUrl: false }))])], { gap: "lg" })
|
|
21628
22274
|
})]
|
|
21629
22275
|
}),
|
|
21630
22276
|
dataSchemas: {
|
|
21631
22277
|
eventDetailsData: z.object({
|
|
21632
22278
|
events: publicEventsArraySchema,
|
|
22279
|
+
venueDrawing: eventVenueDrawingSchema.optional().catch(void 0),
|
|
21633
22280
|
sitePasses: publicPassProductCollectionSchema,
|
|
21634
22281
|
siteMemberships: publicMembershipProductCollectionSchema,
|
|
21635
22282
|
autoApplyDiscount: eventAutoApplyDiscountPreviewSchema.nullable().optional().default(null)
|
|
@@ -21885,7 +22532,7 @@ const recurringScheduleBlockDefinition = {
|
|
|
21885
22532
|
{
|
|
21886
22533
|
id: "eyebrow",
|
|
21887
22534
|
type: "text",
|
|
21888
|
-
label: "
|
|
22535
|
+
label: "Small heading above the title",
|
|
21889
22536
|
required: false,
|
|
21890
22537
|
maxLength: 80
|
|
21891
22538
|
},
|
|
@@ -22175,6 +22822,16 @@ const offeringsPreviewFields = [
|
|
|
22175
22822
|
schema: { fields: groupOverrideFields }
|
|
22176
22823
|
},
|
|
22177
22824
|
createButtonVariantField(),
|
|
22825
|
+
{
|
|
22826
|
+
id: "oneOffering",
|
|
22827
|
+
type: "boolean",
|
|
22828
|
+
label: "Show one offering with its dates",
|
|
22829
|
+
required: false,
|
|
22830
|
+
ui: {
|
|
22831
|
+
intent: "display",
|
|
22832
|
+
hidden: true
|
|
22833
|
+
}
|
|
22834
|
+
},
|
|
22178
22835
|
{
|
|
22179
22836
|
id: "buttonText",
|
|
22180
22837
|
type: "text",
|
|
@@ -22276,6 +22933,10 @@ const offeringsPreviewLayout = [styledSection({
|
|
|
22276
22933
|
carouselRegion: { $bind: { from: "content.heading" } },
|
|
22277
22934
|
renderInput: { $bind: { from: "content._offeringsPreviewInput" } },
|
|
22278
22935
|
displayMode: { $bind: displayModeBinding },
|
|
22936
|
+
oneOffering: { $bind: {
|
|
22937
|
+
from: "content.oneOffering",
|
|
22938
|
+
fallback: false
|
|
22939
|
+
} },
|
|
22279
22940
|
pathname: { $bind: { from: "$root.pathname" } },
|
|
22280
22941
|
catalogueEvents: { $bind: { from: "data.catalogueEvents" } },
|
|
22281
22942
|
quickDateEvents: { $bind: { from: "data.quickDateEvents" } },
|
|
@@ -22317,6 +22978,7 @@ const offeringsPreviewLayout = [styledSection({
|
|
|
22317
22978
|
spacing: "comfortable"
|
|
22318
22979
|
})];
|
|
22319
22980
|
const offeringsPreviewManifest = createBlockManifest({
|
|
22981
|
+
arrangementOwnedFieldIds: ["groupOverrides.presentation"],
|
|
22320
22982
|
variantMeaning: {
|
|
22321
22983
|
kind: "arrangement",
|
|
22322
22984
|
lookOnlyKeys: [
|
|
@@ -22372,6 +23034,7 @@ const offeringsPreviewBlockDefinition = {
|
|
|
22372
23034
|
contentNormalizer: {
|
|
22373
23035
|
fieldIds: [
|
|
22374
23036
|
"displayMode",
|
|
23037
|
+
"oneOffering",
|
|
22375
23038
|
"heading",
|
|
22376
23039
|
"description",
|
|
22377
23040
|
"itemLimit",
|
|
@@ -22473,6 +23136,7 @@ function normalizeOfferingsPreviewBlockContent(value) {
|
|
|
22473
23136
|
if (!record) return { displayMode: DEFAULT_OFFERINGS_PREVIEW_DISPLAY_MODE };
|
|
22474
23137
|
const normalized = {
|
|
22475
23138
|
displayMode: normalizeOfferingsPreviewDisplayMode(record.displayMode),
|
|
23139
|
+
...oneOfferingContent(record.oneOffering),
|
|
22476
23140
|
...normalizeCardListContent(record)
|
|
22477
23141
|
};
|
|
22478
23142
|
if (typeof record.heading === "string" || record.heading === null) normalized.heading = record.heading;
|
|
@@ -22491,6 +23155,9 @@ function normalizeOfferingsPreviewBlockContent(value) {
|
|
|
22491
23155
|
if (sectionStyles !== void 0) normalized._sectionStyles = sectionStyles;
|
|
22492
23156
|
return normalized;
|
|
22493
23157
|
}
|
|
23158
|
+
function oneOfferingContent(value) {
|
|
23159
|
+
return typeof value === "boolean" || value === null ? { oneOffering: value } : {};
|
|
23160
|
+
}
|
|
22494
23161
|
function normalizeOfferingsPreviewDisplayMode(value) {
|
|
22495
23162
|
return value === "catalogue" ? "catalogue" : DEFAULT_OFFERINGS_PREVIEW_DISPLAY_MODE;
|
|
22496
23163
|
}
|
|
@@ -22814,6 +23481,7 @@ const imageGalleryFields = parseFieldDefinitions([
|
|
|
22814
23481
|
minItems: 0,
|
|
22815
23482
|
maxItems: 24,
|
|
22816
23483
|
ui: {
|
|
23484
|
+
intent: "behavior",
|
|
22817
23485
|
repeaterPreset: "thumbnailGrid",
|
|
22818
23486
|
thumbnailField: "image",
|
|
22819
23487
|
thumbnailAltField: "caption",
|
|
@@ -23603,7 +24271,7 @@ const imageGalleryBlockDefinition = {
|
|
|
23603
24271
|
icon: "Columns"
|
|
23604
24272
|
},
|
|
23605
24273
|
marquee: {
|
|
23606
|
-
label: "
|
|
24274
|
+
label: "Scrolling strip",
|
|
23607
24275
|
description: "Infinite horizontal scrolling gallery",
|
|
23608
24276
|
icon: "Repeat"
|
|
23609
24277
|
}
|
|
@@ -23719,6 +24387,7 @@ const videoGridLayout = section({
|
|
|
23719
24387
|
const videoGridBlockDefinition = { manifest: createBlockManifest({
|
|
23720
24388
|
variantMeaning: { kind: "arrangement" },
|
|
23721
24389
|
id: "block.video-grid",
|
|
24390
|
+
promotedFields: ["videos"],
|
|
23722
24391
|
title: "Video grid",
|
|
23723
24392
|
category: "photos",
|
|
23724
24393
|
contentSource: { kind: "inline" },
|
|
@@ -23803,6 +24472,7 @@ const videoGridBlockDefinition = { manifest: createBlockManifest({
|
|
|
23803
24472
|
type: "repeater",
|
|
23804
24473
|
label: "Videos",
|
|
23805
24474
|
itemLabel: "Video",
|
|
24475
|
+
ui: { intent: "behavior" },
|
|
23806
24476
|
minItems: 0,
|
|
23807
24477
|
maxItems: 12,
|
|
23808
24478
|
schema: { fields: [
|
|
@@ -24005,7 +24675,7 @@ const fileDownloadBlockDefinition = { manifest: createBlockManifest({
|
|
|
24005
24675
|
id: "block.file-download",
|
|
24006
24676
|
title: "File download",
|
|
24007
24677
|
titleSource: ["title", "file.filename"],
|
|
24008
|
-
category: "
|
|
24678
|
+
category: "text-and-images",
|
|
24009
24679
|
contentSource: { kind: "inline" },
|
|
24010
24680
|
description: "A link visitors can use to download a file, such as a PDF.",
|
|
24011
24681
|
tags: [
|
|
@@ -24142,6 +24812,18 @@ const wrapVariant = (variantLayout) => styledSection({
|
|
|
24142
24812
|
baseClass: "",
|
|
24143
24813
|
spacing: "comfortable"
|
|
24144
24814
|
});
|
|
24815
|
+
const cardBiographyFallbackNode = richText({ className: "rb-prose rb-max-w-none" }, when("content.cardBiography", { equals: "any" }), bind(ITEM_NAME, { transforms: [{ id: "teamMember.cardBiographyFallback" }] }));
|
|
24816
|
+
const teamMemberGridLayout = withCardBiographyFallback(teamMemberFragment.layout);
|
|
24817
|
+
function withCardBiographyFallback(layout) {
|
|
24818
|
+
const roots = Array.isArray(layout) ? layout : [layout];
|
|
24819
|
+
const [card] = roots;
|
|
24820
|
+
if (!card || roots.length !== 1) throw new Error("teamMember fragment must have one root node");
|
|
24821
|
+
const children = card.children ?? [];
|
|
24822
|
+
return {
|
|
24823
|
+
...card,
|
|
24824
|
+
children: [...children, cardBiographyFallbackNode]
|
|
24825
|
+
};
|
|
24826
|
+
}
|
|
24145
24827
|
const teamMemberStackLayout = el("div", { className: "rb-team-member rb-team-member--stack rb-flex rb-flex-col rb-md-flex-row rb-items-start rb-gap-3" }, [el("div", { className: "rb-team-member-photo-col rb-w-full rb-shrink-0" }, [el("div", { className: memberPhotoClassName("rb-team-member-photo-wrap rb-w-full") }, [media({
|
|
24146
24828
|
className: "rb-team-member-photo rb-w-full rb-object-cover",
|
|
24147
24829
|
style: { aspectRatio: "1 / 1" },
|
|
@@ -24164,12 +24846,42 @@ const teamMemberStackLayout = el("div", { className: "rb-team-member rb-team-mem
|
|
|
24164
24846
|
as: "p",
|
|
24165
24847
|
className: "rb-team-member-role"
|
|
24166
24848
|
}, when("role"), bind("role")),
|
|
24167
|
-
richText({ className: "rb-prose rb-max-w-none" }, when("bio"), bind("bio"))
|
|
24849
|
+
richText({ className: "rb-prose rb-max-w-none" }, when("bio"), bind("bio")),
|
|
24850
|
+
cardBiographyFallbackNode
|
|
24168
24851
|
])]);
|
|
24852
|
+
const onePersonAboutWhen = { equals: "about" };
|
|
24853
|
+
const notOnePersonAboutWhen = {
|
|
24854
|
+
equals: "about",
|
|
24855
|
+
not: true
|
|
24856
|
+
};
|
|
24857
|
+
const aboutVariant = styledSection({
|
|
24858
|
+
children: sectionContainer([el("div", {
|
|
24859
|
+
className: "rb-team-layout",
|
|
24860
|
+
"data-one-person": "about"
|
|
24861
|
+
}, [el("div", { className: "rb-team-head" }, [headingNode], when("content.heading")), el("team-members", {
|
|
24862
|
+
onePerson: { $bind: { from: "content.onePerson" } },
|
|
24863
|
+
source: { $bind: {
|
|
24864
|
+
from: "content.source",
|
|
24865
|
+
fallback: "manual"
|
|
24866
|
+
} },
|
|
24867
|
+
members: { $bind: {
|
|
24868
|
+
from: "content.members",
|
|
24869
|
+
fallback: []
|
|
24870
|
+
} },
|
|
24871
|
+
siteMembers: { $bind: {
|
|
24872
|
+
from: "data.members",
|
|
24873
|
+
fallback: []
|
|
24874
|
+
} },
|
|
24875
|
+
sectionHeading: { $bind: { from: "content.heading" } }
|
|
24876
|
+
})])], { gap: "md" }),
|
|
24877
|
+
baseClass: "",
|
|
24878
|
+
spacing: "comfortable"
|
|
24879
|
+
});
|
|
24169
24880
|
const manualGridMembersNode = when("content.source", manualSourceWhen)(repeaterFragmentLayout({
|
|
24170
24881
|
collectionPath: "content.members",
|
|
24171
24882
|
itemName: ITEM_NAME,
|
|
24172
24883
|
fragments: { teamMember: teamMemberFragment },
|
|
24884
|
+
layoutOverrides: { teamMember: teamMemberGridLayout },
|
|
24173
24885
|
itemGap: "sm",
|
|
24174
24886
|
itemClassName: memberCardClassName
|
|
24175
24887
|
}));
|
|
@@ -24177,6 +24889,7 @@ const dynamicGridMembersNode = when("content.source", dynamicSourceWhen)(repeate
|
|
|
24177
24889
|
collectionPath: "data.members",
|
|
24178
24890
|
itemName: ITEM_NAME,
|
|
24179
24891
|
fragments: { teamMember: teamMemberFragment },
|
|
24892
|
+
layoutOverrides: { teamMember: teamMemberGridLayout },
|
|
24180
24893
|
itemGap: "sm",
|
|
24181
24894
|
itemClassName: memberCardClassName
|
|
24182
24895
|
}));
|
|
@@ -24210,14 +24923,23 @@ const stackVariant = wrapVariant({
|
|
|
24210
24923
|
}))]
|
|
24211
24924
|
});
|
|
24212
24925
|
const cardListVariant = styledSection({
|
|
24213
|
-
children: sectionContainer([el("div", {
|
|
24214
|
-
|
|
24926
|
+
children: sectionContainer([el("div", {
|
|
24927
|
+
className: "rb-team-layout",
|
|
24928
|
+
...lookSlot("layout"),
|
|
24929
|
+
"data-one-person": { $bind: { from: "content.onePerson" } }
|
|
24930
|
+
}, [
|
|
24931
|
+
el("div", {
|
|
24932
|
+
className: "rb-team-head",
|
|
24933
|
+
...lookSlot("head")
|
|
24934
|
+
}, [text({
|
|
24215
24935
|
as: "h2",
|
|
24216
24936
|
...lookSlot("heading")
|
|
24217
24937
|
}, bind("content.heading"), when("content.heading"))], when("content.heading")),
|
|
24218
24938
|
el("team-members", {
|
|
24219
24939
|
...cardListPresentationBindings,
|
|
24220
24940
|
biographySource: { $bind: { from: "content._effectiveLook.look.structure.teamBiography" } },
|
|
24941
|
+
onePerson: { $bind: { from: "content.onePerson" } },
|
|
24942
|
+
cardBiography: { $bind: { from: "content.cardBiography" } },
|
|
24221
24943
|
source: { $bind: {
|
|
24222
24944
|
from: "content.source",
|
|
24223
24945
|
fallback: "manual"
|
|
@@ -24292,6 +25014,37 @@ const teamMembersBlockDefinition = {
|
|
|
24292
25014
|
}],
|
|
24293
25015
|
ui: { intent: "behavior" }
|
|
24294
25016
|
}),
|
|
25017
|
+
parseFieldDefinition({
|
|
25018
|
+
id: "onePerson",
|
|
25019
|
+
type: "select",
|
|
25020
|
+
label: "One person",
|
|
25021
|
+
required: false,
|
|
25022
|
+
options: [{
|
|
25023
|
+
value: "about",
|
|
25024
|
+
label: "The section is about them, with their bio"
|
|
25025
|
+
}, {
|
|
25026
|
+
value: "portrait",
|
|
25027
|
+
label: "One small portrait"
|
|
25028
|
+
}],
|
|
25029
|
+
ui: {
|
|
25030
|
+
intent: "display",
|
|
25031
|
+
hidden: true
|
|
25032
|
+
}
|
|
25033
|
+
}),
|
|
25034
|
+
parseFieldDefinition({
|
|
25035
|
+
id: "cardBiography",
|
|
25036
|
+
type: "select",
|
|
25037
|
+
label: "Card bio",
|
|
25038
|
+
required: false,
|
|
25039
|
+
options: [{
|
|
25040
|
+
value: "any",
|
|
25041
|
+
label: "Whichever bio the person has"
|
|
25042
|
+
}],
|
|
25043
|
+
ui: {
|
|
25044
|
+
intent: "display",
|
|
25045
|
+
hidden: true
|
|
25046
|
+
}
|
|
25047
|
+
}),
|
|
24295
25048
|
parseFieldDefinition({
|
|
24296
25049
|
id: "layoutAlign",
|
|
24297
25050
|
type: "select",
|
|
@@ -24437,10 +25190,19 @@ const teamMembersBlockDefinition = {
|
|
|
24437
25190
|
],
|
|
24438
25191
|
layout: gridVariant,
|
|
24439
25192
|
variants: {
|
|
24440
|
-
grid: gridVariant,
|
|
25193
|
+
grid: [when("content.onePerson", notOnePersonAboutWhen)(gridVariant), when("content.onePerson", onePersonAboutWhen)(aboutVariant)],
|
|
24441
25194
|
stack: [when("content._effectiveLook", { not: true })(stackVariant), when("content._effectiveLook")(cardListVariant)],
|
|
24442
25195
|
...Object.fromEntries(arrangementOnlyKeys.map((key) => [key, cardListVariant]))
|
|
24443
25196
|
},
|
|
25197
|
+
arrangementOwnedFieldIds: [
|
|
25198
|
+
"layoutWidth",
|
|
25199
|
+
"thumbnailShape",
|
|
25200
|
+
"thumbnailPadding",
|
|
25201
|
+
"imageColSize",
|
|
25202
|
+
"stackImagePosition",
|
|
25203
|
+
"stackContentAlignment",
|
|
25204
|
+
"gap"
|
|
25205
|
+
],
|
|
24444
25206
|
variantMeaning: {
|
|
24445
25207
|
kind: "arrangement",
|
|
24446
25208
|
lookOnlyKeys: [...arrangementOnlyKeys]
|
|
@@ -24498,9 +25260,11 @@ function normalizeLocationMapContent(content) {
|
|
|
24498
25260
|
const locationSource = normalizeLocationMapSource(record.locationSource);
|
|
24499
25261
|
const venueId = typeof record.venueId === "string" && record.venueId.trim() ? record.venueId.trim() : null;
|
|
24500
25262
|
return {
|
|
25263
|
+
wider: record.wider === true,
|
|
25264
|
+
googleMapsLabel: typeof record.googleMapsLabel === "string" ? record.googleMapsLabel : "Open in Google Maps",
|
|
24501
25265
|
heading: typeof record.heading === "string" ? record.heading : void 0,
|
|
24502
25266
|
locationSource,
|
|
24503
|
-
...authoredLocationMapSourceFields(locationSource, venueId,
|
|
25267
|
+
...authoredLocationMapSourceFields(locationSource, venueId, locationSource === "custom" ? parseAuthoredLocation(record.location) : null),
|
|
24504
25268
|
showOpeningHours: record.showOpeningHours !== false,
|
|
24505
25269
|
showAddressText: normalized.showAddressText,
|
|
24506
25270
|
showDirections: normalized.showDirections,
|
|
@@ -24526,9 +25290,91 @@ function authoredLocationMapSourceFields(source, venueId, location) {
|
|
|
24526
25290
|
};
|
|
24527
25291
|
}
|
|
24528
25292
|
}
|
|
25293
|
+
const locationMapNodeProps = {
|
|
25294
|
+
mapStyle: mapDrawingStyleBinding,
|
|
25295
|
+
siteCountry: { $bind: {
|
|
25296
|
+
from: "$root.site.siteCountry",
|
|
25297
|
+
fallback: null
|
|
25298
|
+
} },
|
|
25299
|
+
openingHours: { $bind: {
|
|
25300
|
+
from: "$root.openingHours",
|
|
25301
|
+
fallback: null
|
|
25302
|
+
} },
|
|
25303
|
+
showOpeningHours: { $bind: {
|
|
25304
|
+
from: "content.showOpeningHours",
|
|
25305
|
+
fallback: true
|
|
25306
|
+
} },
|
|
25307
|
+
location: { $bind: {
|
|
25308
|
+
from: "content.location",
|
|
25309
|
+
fallback: null
|
|
25310
|
+
} },
|
|
25311
|
+
businessAddress: { $bind: {
|
|
25312
|
+
from: "$root.site.businessAddress",
|
|
25313
|
+
fallback: null
|
|
25314
|
+
} },
|
|
25315
|
+
locationSource: { $bind: {
|
|
25316
|
+
from: "content.locationSource",
|
|
25317
|
+
fallback: "custom"
|
|
25318
|
+
} },
|
|
25319
|
+
venueId: { $bind: {
|
|
25320
|
+
from: "content.venueId",
|
|
25321
|
+
fallback: null
|
|
25322
|
+
} },
|
|
25323
|
+
venuesById: { $bind: {
|
|
25324
|
+
from: "$root.site.venuesById",
|
|
25325
|
+
fallback: null
|
|
25326
|
+
} },
|
|
25327
|
+
wider: { $bind: {
|
|
25328
|
+
from: "content.wider",
|
|
25329
|
+
fallback: false
|
|
25330
|
+
} },
|
|
25331
|
+
googleMapsLabel: { $bind: {
|
|
25332
|
+
from: "content.googleMapsLabel",
|
|
25333
|
+
fallback: "Open in Google Maps"
|
|
25334
|
+
} },
|
|
25335
|
+
zoom: { $bind: {
|
|
25336
|
+
from: "content.zoom",
|
|
25337
|
+
fallback: LOCATION_MAP_DEFAULTS.zoom
|
|
25338
|
+
} },
|
|
25339
|
+
heightPx: { $bind: {
|
|
25340
|
+
from: "content.heightPx",
|
|
25341
|
+
fallback: LOCATION_MAP_DEFAULTS.heightPx
|
|
25342
|
+
} },
|
|
25343
|
+
showAddressText: { $bind: {
|
|
25344
|
+
from: "content.showAddressText",
|
|
25345
|
+
fallback: LOCATION_MAP_DEFAULTS.showAddressText
|
|
25346
|
+
} },
|
|
25347
|
+
showDirections: { $bind: {
|
|
25348
|
+
from: "content.showDirections",
|
|
25349
|
+
fallback: LOCATION_MAP_DEFAULTS.showDirections
|
|
25350
|
+
} },
|
|
25351
|
+
directionsLabel: { $bind: {
|
|
25352
|
+
from: "content.directionsLabel",
|
|
25353
|
+
fallback: LOCATION_MAP_DEFAULTS.directionsLabel
|
|
25354
|
+
} }
|
|
25355
|
+
};
|
|
25356
|
+
/** Look-only layouts hand the details their compiler-resolved slot and surface (the wide map's sheet). */
|
|
25357
|
+
const lookPresentationProps = {
|
|
25358
|
+
lookSlots: { $bind: { from: "content._lookSlots" } },
|
|
25359
|
+
itemSurfaces: { $bind: { from: "content._effectiveLook.itemSurfaces" } }
|
|
25360
|
+
};
|
|
25361
|
+
const arrangedLayout = (body) => styledSection({
|
|
25362
|
+
baseClass: "",
|
|
25363
|
+
spacing: "comfortable",
|
|
25364
|
+
children: el("div", {
|
|
25365
|
+
className: "rb-container",
|
|
25366
|
+
...lookSlot("layout")
|
|
25367
|
+
}, [el("div", lookSlot("head"), [text({
|
|
25368
|
+
as: "h2",
|
|
25369
|
+
...lookSlot("heading")
|
|
25370
|
+
}, bind("content.heading"))], when("content.heading")), ...body])
|
|
25371
|
+
});
|
|
24529
25372
|
const locationMapBlockDefinition = {
|
|
24530
25373
|
manifest: createBlockManifest({
|
|
24531
|
-
variantMeaning: {
|
|
25374
|
+
variantMeaning: {
|
|
25375
|
+
kind: "arrangement",
|
|
25376
|
+
lookOnlyKeys: ["map-and-details", "photo-and-details"]
|
|
25377
|
+
},
|
|
24532
25378
|
id: "block.location-map",
|
|
24533
25379
|
title: "Map",
|
|
24534
25380
|
titleSource: "heading",
|
|
@@ -24558,20 +25404,20 @@ const locationMapBlockDefinition = {
|
|
|
24558
25404
|
parseFieldDefinition({
|
|
24559
25405
|
id: "locationSource",
|
|
24560
25406
|
type: "select",
|
|
24561
|
-
label: "
|
|
25407
|
+
label: "Which place?",
|
|
24562
25408
|
defaultValue: "custom",
|
|
24563
25409
|
options: [
|
|
24564
25410
|
{
|
|
24565
25411
|
value: "business_address",
|
|
24566
|
-
label: "
|
|
25412
|
+
label: "Your business address"
|
|
24567
25413
|
},
|
|
24568
25414
|
{
|
|
24569
25415
|
value: "venue",
|
|
24570
|
-
label: "
|
|
25416
|
+
label: "One of your venues"
|
|
24571
25417
|
},
|
|
24572
25418
|
{
|
|
24573
25419
|
value: "custom",
|
|
24574
|
-
label: "
|
|
25420
|
+
label: "A different place"
|
|
24575
25421
|
}
|
|
24576
25422
|
],
|
|
24577
25423
|
ui: {
|
|
@@ -24601,6 +25447,7 @@ const locationMapBlockDefinition = {
|
|
|
24601
25447
|
required: false,
|
|
24602
25448
|
ui: {
|
|
24603
25449
|
widget: "locationPicker",
|
|
25450
|
+
valueContract: "location",
|
|
24604
25451
|
intent: "content",
|
|
24605
25452
|
visibleWhen: {
|
|
24606
25453
|
field: "locationSource",
|
|
@@ -24636,6 +25483,15 @@ const locationMapBlockDefinition = {
|
|
|
24636
25483
|
}
|
|
24637
25484
|
] }
|
|
24638
25485
|
}),
|
|
25486
|
+
parseFieldDefinition({
|
|
25487
|
+
id: "entrancePhoto",
|
|
25488
|
+
type: "media",
|
|
25489
|
+
label: "Entrance photo",
|
|
25490
|
+
description: "A photo of the door or the way in. It shows when this section uses the “Entrance photo beside the details” Look.",
|
|
25491
|
+
required: false,
|
|
25492
|
+
mediaKinds: ["image"],
|
|
25493
|
+
ui: { intent: "content" }
|
|
25494
|
+
}),
|
|
24639
25495
|
parseFieldDefinition({
|
|
24640
25496
|
id: "showOpeningHours",
|
|
24641
25497
|
type: "boolean",
|
|
@@ -24672,18 +25528,19 @@ const locationMapBlockDefinition = {
|
|
|
24672
25528
|
}
|
|
24673
25529
|
}),
|
|
24674
25530
|
parseFieldDefinition({
|
|
24675
|
-
id: "
|
|
24676
|
-
type: "
|
|
24677
|
-
label: "
|
|
24678
|
-
defaultValue:
|
|
24679
|
-
|
|
24680
|
-
|
|
24681
|
-
|
|
24682
|
-
|
|
24683
|
-
|
|
24684
|
-
|
|
24685
|
-
|
|
24686
|
-
|
|
25531
|
+
id: "wider",
|
|
25532
|
+
type: "boolean",
|
|
25533
|
+
label: "Show a wider area",
|
|
25534
|
+
defaultValue: false,
|
|
25535
|
+
ui: { intent: "display" }
|
|
25536
|
+
}),
|
|
25537
|
+
parseFieldDefinition({
|
|
25538
|
+
id: "googleMapsLabel",
|
|
25539
|
+
type: "text",
|
|
25540
|
+
label: "Google Maps button label",
|
|
25541
|
+
defaultValue: "Open in Google Maps",
|
|
25542
|
+
maxLength: 60,
|
|
25543
|
+
ui: { intent: "display" }
|
|
24687
25544
|
}),
|
|
24688
25545
|
parseFieldDefinition({
|
|
24689
25546
|
id: "heightPx",
|
|
@@ -24696,64 +25553,27 @@ const locationMapBlockDefinition = {
|
|
|
24696
25553
|
ui: {
|
|
24697
25554
|
intent: "display",
|
|
24698
25555
|
widget: "slider",
|
|
24699
|
-
showValue: true
|
|
25556
|
+
showValue: true,
|
|
25557
|
+
valueUnit: "pixels"
|
|
24700
25558
|
}
|
|
24701
25559
|
})
|
|
24702
25560
|
],
|
|
24703
25561
|
layout: styledSection({
|
|
24704
25562
|
baseClass: "",
|
|
24705
25563
|
spacing: "comfortable",
|
|
24706
|
-
children: sectionContainer([text({ as: "h2" }, bind("content.heading"), when("content.heading")), el("location-map", {
|
|
24707
|
-
|
|
24708
|
-
|
|
24709
|
-
|
|
24710
|
-
|
|
24711
|
-
|
|
24712
|
-
|
|
24713
|
-
|
|
24714
|
-
|
|
24715
|
-
|
|
24716
|
-
|
|
24717
|
-
|
|
24718
|
-
|
|
24719
|
-
businessAddress: { $bind: {
|
|
24720
|
-
from: "site.businessAddress",
|
|
24721
|
-
fallback: null
|
|
24722
|
-
} },
|
|
24723
|
-
locationSource: { $bind: {
|
|
24724
|
-
from: "content.locationSource",
|
|
24725
|
-
fallback: "custom"
|
|
24726
|
-
} },
|
|
24727
|
-
venueId: { $bind: {
|
|
24728
|
-
from: "content.venueId",
|
|
24729
|
-
fallback: null
|
|
24730
|
-
} },
|
|
24731
|
-
venuesById: { $bind: {
|
|
24732
|
-
from: "site.venuesById",
|
|
24733
|
-
fallback: null
|
|
24734
|
-
} },
|
|
24735
|
-
zoom: { $bind: {
|
|
24736
|
-
from: "content.zoom",
|
|
24737
|
-
fallback: LOCATION_MAP_DEFAULTS.zoom
|
|
24738
|
-
} },
|
|
24739
|
-
heightPx: { $bind: {
|
|
24740
|
-
from: "content.heightPx",
|
|
24741
|
-
fallback: LOCATION_MAP_DEFAULTS.heightPx
|
|
24742
|
-
} },
|
|
24743
|
-
showAddressText: { $bind: {
|
|
24744
|
-
from: "content.showAddressText",
|
|
24745
|
-
fallback: LOCATION_MAP_DEFAULTS.showAddressText
|
|
24746
|
-
} },
|
|
24747
|
-
showDirections: { $bind: {
|
|
24748
|
-
from: "content.showDirections",
|
|
24749
|
-
fallback: LOCATION_MAP_DEFAULTS.showDirections
|
|
24750
|
-
} },
|
|
24751
|
-
directionsLabel: { $bind: {
|
|
24752
|
-
from: "content.directionsLabel",
|
|
24753
|
-
fallback: LOCATION_MAP_DEFAULTS.directionsLabel
|
|
24754
|
-
} }
|
|
24755
|
-
})], { gap: "md" })
|
|
24756
|
-
})
|
|
25564
|
+
children: sectionContainer([text({ as: "h2" }, bind("content.heading"), when("content.heading")), el("location-map", locationMapNodeProps)], { gap: "md" })
|
|
25565
|
+
}),
|
|
25566
|
+
variants: {
|
|
25567
|
+
"map-and-details": arrangedLayout([el("location-map", {
|
|
25568
|
+
...locationMapNodeProps,
|
|
25569
|
+
...lookPresentationProps
|
|
25570
|
+
})]),
|
|
25571
|
+
"photo-and-details": arrangedLayout([el("div", lookSlot("frame"), [el("div", lookSlot("media"), [media(lookSlot("photo"), bind("content.entrancePhoto"), when("content.entrancePhoto"))], when("content.entrancePhoto")), el("location-map", {
|
|
25572
|
+
...locationMapNodeProps,
|
|
25573
|
+
...lookPresentationProps,
|
|
25574
|
+
showMap: false
|
|
25575
|
+
})])])
|
|
25576
|
+
}
|
|
24757
25577
|
}),
|
|
24758
25578
|
contentNormalizer: {
|
|
24759
25579
|
fieldIds: [
|
|
@@ -24762,6 +25582,8 @@ const locationMapBlockDefinition = {
|
|
|
24762
25582
|
"venueId",
|
|
24763
25583
|
"location",
|
|
24764
25584
|
"showAddressText",
|
|
25585
|
+
"wider",
|
|
25586
|
+
"googleMapsLabel",
|
|
24765
25587
|
"showOpeningHours",
|
|
24766
25588
|
"showDirections",
|
|
24767
25589
|
"directionsLabel",
|
|
@@ -24771,6 +25593,14 @@ const locationMapBlockDefinition = {
|
|
|
24771
25593
|
normalize: normalizeLocationMapContent
|
|
24772
25594
|
}
|
|
24773
25595
|
};
|
|
25596
|
+
function parseAuthoredLocation(value) {
|
|
25597
|
+
if (value == null) return null;
|
|
25598
|
+
const canonical = parseLocationValue(value);
|
|
25599
|
+
if (canonical.ok) return canonical.value;
|
|
25600
|
+
const projected = publicLocationSchema.safeParse(value);
|
|
25601
|
+
if (projected.success) return projected.data;
|
|
25602
|
+
return { kind: "needs_place" };
|
|
25603
|
+
}
|
|
24774
25604
|
//#endregion
|
|
24775
25605
|
//#region ../blocks/src/system/blocks/index.ts
|
|
24776
25606
|
function sectionOnly() {
|
|
@@ -25088,7 +25918,7 @@ const systemBlockDefinitions = [
|
|
|
25088
25918
|
})
|
|
25089
25919
|
]
|
|
25090
25920
|
})),
|
|
25091
|
-
withDesignCapability("block.location-map", locationMapBlockDefinition, sectionOnly(), defineBlockDesignMetadata({
|
|
25921
|
+
withDesignCapability("block.location-map", locationMapBlockDefinition, withLookCapability(sectionOnly()), defineBlockDesignMetadata({
|
|
25092
25922
|
flow: utilityFlow,
|
|
25093
25923
|
layoutProfiles: [layoutProfile({
|
|
25094
25924
|
variantKey: "default",
|
|
@@ -25690,6 +26520,95 @@ function toEditorPresentationPage(page) {
|
|
|
25690
26520
|
};
|
|
25691
26521
|
}
|
|
25692
26522
|
//#endregion
|
|
26523
|
+
//#region ../blocks/src/system/customize/arrangementKnobs.ts
|
|
26524
|
+
/**
|
|
26525
|
+
* Content stage for knobs, shared by the renderer and the editor so what the
|
|
26526
|
+
* options show and what renders can't disagree. Knob buffets are the block's
|
|
26527
|
+
* customise facets; the Look exposes, forces or narrows them and the style's
|
|
26528
|
+
* offer can only remove or narrow further.
|
|
26529
|
+
*/
|
|
26530
|
+
function resolveArrangementKnobs(input) {
|
|
26531
|
+
const length = input.blockKind === "block.hero" ? resolveHeroTitleLength({ ...input.content }, "look") : null;
|
|
26532
|
+
const exposure = arrangementKnobExposure(input.blockKind, input.look, length, storedSplitPhotoSide(input.blockKind, input.content));
|
|
26533
|
+
return {
|
|
26534
|
+
length,
|
|
26535
|
+
exposure,
|
|
26536
|
+
knobs: resolveEffectiveKnobs({
|
|
26537
|
+
exposure,
|
|
26538
|
+
content: normalizedHeadlinePreference(input.content)
|
|
26539
|
+
})
|
|
26540
|
+
};
|
|
26541
|
+
}
|
|
26542
|
+
function arrangementKnobExposure(blockKind, look, length, splitPhotoSide) {
|
|
26543
|
+
return systemCustomizeFacetDefinitionsForBlock(blockKind).flatMap((facet) => {
|
|
26544
|
+
if (facet.knob === void 0 || facet.target.kind !== "content-field") return [];
|
|
26545
|
+
const id = facet.target.field;
|
|
26546
|
+
const defaults = look.look.structure.knobDefaults ?? {};
|
|
26547
|
+
const storedDefault = id === "imagePosition" ? splitPhotoSide : null;
|
|
26548
|
+
return [{
|
|
26549
|
+
definition: {
|
|
26550
|
+
id,
|
|
26551
|
+
defaultValue: defaults[id] ?? storedDefault ?? facet.defaultValue,
|
|
26552
|
+
values: facet.values.map((value) => value.value),
|
|
26553
|
+
...knobKindMetadata(facet.knob)
|
|
26554
|
+
},
|
|
26555
|
+
exposed: exposedKnobIds(look).includes(id),
|
|
26556
|
+
forced: look.look.structure.forcedKnobs?.[id],
|
|
26557
|
+
lookValues: look.look.structure.knobValues?.[id],
|
|
26558
|
+
styleValues: look.knobValues[id],
|
|
26559
|
+
lengthValues: id === "titleSize" ? headlineAllowedValues(length) : void 0
|
|
26560
|
+
}];
|
|
26561
|
+
});
|
|
26562
|
+
}
|
|
26563
|
+
/**
|
|
26564
|
+
* A hero stored as "Split, photo on the left" or "Split, photo on the right"
|
|
26565
|
+
* already says which side its photo is on. Under a Look that side is the Photo
|
|
26566
|
+
* side default, so the photo stays where it was until the owner picks a side.
|
|
26567
|
+
*/
|
|
26568
|
+
function storedSplitPhotoSide(blockKind, content) {
|
|
26569
|
+
if (blockKind !== "block.hero") return null;
|
|
26570
|
+
switch (content.variant) {
|
|
26571
|
+
case "split": return "left";
|
|
26572
|
+
case "splitReverse": return "right";
|
|
26573
|
+
default: return null;
|
|
26574
|
+
}
|
|
26575
|
+
}
|
|
26576
|
+
function knobKindMetadata(knob) {
|
|
26577
|
+
return knob.kind === "fixed" ? { ordered: knob.ordered } : {
|
|
26578
|
+
ordered: false,
|
|
26579
|
+
textMaxLength: knob.maxLength
|
|
26580
|
+
};
|
|
26581
|
+
}
|
|
26582
|
+
function headlineAllowedValues(length) {
|
|
26583
|
+
switch (length) {
|
|
26584
|
+
case "long": return ["quiet"];
|
|
26585
|
+
case "medium": return ["quiet", "auto"];
|
|
26586
|
+
case "short": return [
|
|
26587
|
+
"quiet",
|
|
26588
|
+
"auto",
|
|
26589
|
+
"display"
|
|
26590
|
+
];
|
|
26591
|
+
case null: return;
|
|
26592
|
+
}
|
|
26593
|
+
}
|
|
26594
|
+
/** `titleSize` keeps its five stored values; under a Look they read as three steps. */
|
|
26595
|
+
function normalizedHeadlinePreference(content) {
|
|
26596
|
+
switch (content.titleSize) {
|
|
26597
|
+
case "editorial": return {
|
|
26598
|
+
...content,
|
|
26599
|
+
titleSize: "auto"
|
|
26600
|
+
};
|
|
26601
|
+
case "poster": return {
|
|
26602
|
+
...content,
|
|
26603
|
+
titleSize: "display"
|
|
26604
|
+
};
|
|
26605
|
+
default: return content;
|
|
26606
|
+
}
|
|
26607
|
+
}
|
|
26608
|
+
function exposedKnobIds(look) {
|
|
26609
|
+
return [...look.look.structure.knobs, ...look.addKnobs ?? []].filter((id) => !look.removeKnobs.some((removed) => removed === id));
|
|
26610
|
+
}
|
|
26611
|
+
//#endregion
|
|
25693
26612
|
//#region ../blocks/src/system/customize/facets.ts
|
|
25694
26613
|
function defineCustomizeFacet(definition) {
|
|
25695
26614
|
return definition;
|
|
@@ -25869,80 +26788,6 @@ function systemCustomizeFacetDefinitionsForBlock(blockKind) {
|
|
|
25869
26788
|
return systemCustomizeFacetDefinitions.filter((definition) => definition.blockKind === blockKind || "blockKinds" in definition && definition.blockKinds?.some((kind) => kind === blockKind));
|
|
25870
26789
|
}
|
|
25871
26790
|
//#endregion
|
|
25872
|
-
//#region ../blocks/src/system/customize/arrangementKnobs.ts
|
|
25873
|
-
/**
|
|
25874
|
-
* Content stage for knobs, shared by the renderer and the editor so what the
|
|
25875
|
-
* options show and what renders can't disagree. Knob buffets are the block's
|
|
25876
|
-
* customise facets; the Look exposes, forces or narrows them and the style's
|
|
25877
|
-
* offer can only remove or narrow further.
|
|
25878
|
-
*/
|
|
25879
|
-
function resolveArrangementKnobs(input) {
|
|
25880
|
-
const length = input.blockKind === "block.hero" ? resolveHeroTitleLength({ ...input.content }, "look") : null;
|
|
25881
|
-
const exposure = arrangementKnobExposure(input.blockKind, input.look, length);
|
|
25882
|
-
return {
|
|
25883
|
-
length,
|
|
25884
|
-
exposure,
|
|
25885
|
-
knobs: resolveEffectiveKnobs({
|
|
25886
|
-
exposure,
|
|
25887
|
-
content: normalizedHeadlinePreference(input.content)
|
|
25888
|
-
})
|
|
25889
|
-
};
|
|
25890
|
-
}
|
|
25891
|
-
function arrangementKnobExposure(blockKind, look, length) {
|
|
25892
|
-
return systemCustomizeFacetDefinitionsForBlock(blockKind).flatMap((facet) => {
|
|
25893
|
-
if (facet.knob === void 0 || facet.target.kind !== "content-field") return [];
|
|
25894
|
-
const id = facet.target.field;
|
|
25895
|
-
return [{
|
|
25896
|
-
definition: {
|
|
25897
|
-
id,
|
|
25898
|
-
defaultValue: (look.look.structure.knobDefaults ?? {})[id] ?? facet.defaultValue,
|
|
25899
|
-
values: facet.values.map((value) => value.value),
|
|
25900
|
-
...knobKindMetadata(facet.knob)
|
|
25901
|
-
},
|
|
25902
|
-
exposed: exposedKnobIds(look).includes(id),
|
|
25903
|
-
forced: look.look.structure.forcedKnobs?.[id],
|
|
25904
|
-
lookValues: look.look.structure.knobValues?.[id],
|
|
25905
|
-
styleValues: look.knobValues[id],
|
|
25906
|
-
lengthValues: id === "titleSize" ? headlineAllowedValues(length) : void 0
|
|
25907
|
-
}];
|
|
25908
|
-
});
|
|
25909
|
-
}
|
|
25910
|
-
function knobKindMetadata(knob) {
|
|
25911
|
-
return knob.kind === "fixed" ? { ordered: knob.ordered } : {
|
|
25912
|
-
ordered: false,
|
|
25913
|
-
textMaxLength: knob.maxLength
|
|
25914
|
-
};
|
|
25915
|
-
}
|
|
25916
|
-
function headlineAllowedValues(length) {
|
|
25917
|
-
switch (length) {
|
|
25918
|
-
case "long": return ["quiet"];
|
|
25919
|
-
case "medium": return ["quiet", "auto"];
|
|
25920
|
-
case "short": return [
|
|
25921
|
-
"quiet",
|
|
25922
|
-
"auto",
|
|
25923
|
-
"display"
|
|
25924
|
-
];
|
|
25925
|
-
case null: return;
|
|
25926
|
-
}
|
|
25927
|
-
}
|
|
25928
|
-
/** `titleSize` keeps its five stored values; under a Look they read as three steps. */
|
|
25929
|
-
function normalizedHeadlinePreference(content) {
|
|
25930
|
-
switch (content.titleSize) {
|
|
25931
|
-
case "editorial": return {
|
|
25932
|
-
...content,
|
|
25933
|
-
titleSize: "auto"
|
|
25934
|
-
};
|
|
25935
|
-
case "poster": return {
|
|
25936
|
-
...content,
|
|
25937
|
-
titleSize: "display"
|
|
25938
|
-
};
|
|
25939
|
-
default: return content;
|
|
25940
|
-
}
|
|
25941
|
-
}
|
|
25942
|
-
function exposedKnobIds(look) {
|
|
25943
|
-
return [...look.look.structure.knobs, ...look.addKnobs ?? []].filter((id) => !look.removeKnobs.some((removed) => removed === id));
|
|
25944
|
-
}
|
|
25945
|
-
//#endregion
|
|
25946
26791
|
//#region ../blocks/src/system/transforms/registry/offeringsPreview.ts
|
|
25947
26792
|
/** Reuse the existing occurrence read for the date strip and card date rows. */
|
|
25948
26793
|
const offeringsPreviewDatesReadEnabled = {
|
|
@@ -26318,6 +27163,29 @@ function resolveAuthoredLinkHref(value, context = {}) {
|
|
|
26318
27163
|
function resolvePreResolvedLink(link) {
|
|
26319
27164
|
return !(typeof link.kind === "string" ? link.kind : null) && typeof link.href === "string" ? resolveExternalLink(link) : null;
|
|
26320
27165
|
}
|
|
27166
|
+
//#endregion
|
|
27167
|
+
//#region ../blocks/src/system/transforms/registry/mapDrawing.ts
|
|
27168
|
+
/**
|
|
27169
|
+
* Map tokens for the section ground a drawing sits on. The value is the
|
|
27170
|
+
* section's `_sectionStyles.background`, resolved by the same owner as the
|
|
27171
|
+
* section's own foreground; theme-core decides every map colour from it.
|
|
27172
|
+
*/
|
|
27173
|
+
const mapDrawingStyleTransform = {
|
|
27174
|
+
id: "mapDrawing.resolveStyle",
|
|
27175
|
+
kind: "formatter",
|
|
27176
|
+
summary: "Resolve map drawing tokens from the section ground and site style",
|
|
27177
|
+
run: (value, options, context) => mapDrawingStyle({
|
|
27178
|
+
foreground: resolveSectionSurfaceForeground(value ?? sectionFallbackBackground(options?.fallbackToken), context, { fallbackToken: options?.fallbackToken }),
|
|
27179
|
+
palette: context.theme.palette,
|
|
27180
|
+
skin: context.theme.skin
|
|
27181
|
+
})
|
|
27182
|
+
};
|
|
27183
|
+
function sectionFallbackBackground(token) {
|
|
27184
|
+
return token === void 0 ? void 0 : {
|
|
27185
|
+
type: "color",
|
|
27186
|
+
color: token
|
|
27187
|
+
};
|
|
27188
|
+
}
|
|
26321
27189
|
const eventCalendarSelectionParam = {
|
|
26322
27190
|
id: "events.calendarSelectionParam",
|
|
26323
27191
|
kind: "formatter",
|
|
@@ -26404,7 +27272,8 @@ const defaultTransforms = createTransformRegistry([
|
|
|
26404
27272
|
...linksTransforms,
|
|
26405
27273
|
...boxStylesTransforms,
|
|
26406
27274
|
...contentTransforms,
|
|
26407
|
-
...headerRuntimeTransforms
|
|
27275
|
+
...headerRuntimeTransforms,
|
|
27276
|
+
mapDrawingStyleTransform
|
|
26408
27277
|
]);
|
|
26409
27278
|
//#endregion
|
|
26410
27279
|
//#region ../blocks/src/system/data/linkedContentEntries.ts
|
|
@@ -28127,7 +28996,7 @@ function prepareBlockRender(input) {
|
|
|
28127
28996
|
resolvedThemeConfig: resolveThemeConfigForBindings(input.themeConfig),
|
|
28128
28997
|
viewModelOverrides: input.viewModelOverrides
|
|
28129
28998
|
}),
|
|
28130
|
-
themeForTransforms:
|
|
28999
|
+
themeForTransforms: withThemeRuntimeFacts(input.theme, input.themeConfig),
|
|
28131
29000
|
proseHoverCandidate: parseThemeColorToken(input.themeConfig?.typography.proseLinkStyle?.hoverColorToken) ?? void 0
|
|
28132
29001
|
};
|
|
28133
29002
|
}
|
|
@@ -28147,11 +29016,13 @@ function buildBlockViewModel(input) {
|
|
|
28147
29016
|
}
|
|
28148
29017
|
};
|
|
28149
29018
|
}
|
|
28150
|
-
|
|
29019
|
+
/** The theme facts transforms decide from: button system, and the arrangement skin map tokens follow. */
|
|
29020
|
+
function withThemeRuntimeFacts(theme, themeConfig) {
|
|
28151
29021
|
if (!themeConfig) return theme;
|
|
28152
29022
|
return {
|
|
28153
29023
|
...theme,
|
|
28154
|
-
buttons: themeConfig.buttons ?? generateDefaultButtonSystem(themeConfig)
|
|
29024
|
+
buttons: themeConfig.buttons ?? generateDefaultButtonSystem(themeConfig),
|
|
29025
|
+
...themeConfig.skin === void 0 ? {} : { skin: themeConfig.skin }
|
|
28155
29026
|
};
|
|
28156
29027
|
}
|
|
28157
29028
|
function beginBlockRenderMeasurement() {
|
|
@@ -28623,12 +29494,31 @@ function getRenderableContent(block, previewStage = "published") {
|
|
|
28623
29494
|
return selectBlockContent(block, previewStage);
|
|
28624
29495
|
}
|
|
28625
29496
|
function arrangementRuntime(content) {
|
|
28626
|
-
const value = content._arrangementLooks;
|
|
28627
|
-
return isObjectRecord(value) && isObjectRecord(value.byMode) && Array.isArray(value.available) && Array.isArray(value.rhythm) ? value : null;
|
|
29497
|
+
const value = parseSurfaceTree(content._arrangementLooks);
|
|
29498
|
+
return isObjectRecord(value) && isObjectRecord(value.byMode) && Array.isArray(value.available) && Array.isArray(value.rhythm) ? restoreArrangementRuntime(value) : null;
|
|
29499
|
+
}
|
|
29500
|
+
/** JSON transports carry resolver inputs; rebuild every surface at this boundary. */
|
|
29501
|
+
function restoreCompiledLook(look) {
|
|
29502
|
+
return {
|
|
29503
|
+
...look,
|
|
29504
|
+
itemSurfaces: Object.fromEntries(Object.entries(look.itemSurfaces).map(([slot, surface]) => [slot, parseResolvedSurface(surface)])),
|
|
29505
|
+
...look.roleSurfaces ? { roleSurfaces: {
|
|
29506
|
+
card: parseResolvedSurface(look.roleSurfaces.card),
|
|
29507
|
+
statement: parseResolvedSurface(look.roleSurfaces.statement),
|
|
29508
|
+
highlight: parseResolvedSurface(look.roleSurfaces.highlight)
|
|
29509
|
+
} } : {}
|
|
29510
|
+
};
|
|
29511
|
+
}
|
|
29512
|
+
function restoreArrangementRuntime(runtime) {
|
|
29513
|
+
return {
|
|
29514
|
+
...runtime,
|
|
29515
|
+
available: runtime.available.map(restoreCompiledLook),
|
|
29516
|
+
byMode: Object.fromEntries(Object.entries(runtime.byMode).map(([mode, look]) => [mode, restoreCompiledLook(look)]))
|
|
29517
|
+
};
|
|
28628
29518
|
}
|
|
28629
29519
|
function effectiveLookFromContent(content) {
|
|
28630
29520
|
const value = content._effectiveLook;
|
|
28631
|
-
return isObjectRecord(value) && isObjectRecord(value.look) ? value : null;
|
|
29521
|
+
return isObjectRecord(value) && isObjectRecord(value.look) ? restoreCompiledLook(value) : null;
|
|
28632
29522
|
}
|
|
28633
29523
|
function planArrangementContent(blockKind, manifest, content, audience) {
|
|
28634
29524
|
const runtime = arrangementRuntime(content);
|
|
@@ -28663,6 +29553,7 @@ function planArrangementContent(blockKind, manifest, content, audience) {
|
|
|
28663
29553
|
});
|
|
28664
29554
|
return {
|
|
28665
29555
|
...activeContent,
|
|
29556
|
+
...mode !== null ? { variant: mode } : {},
|
|
28666
29557
|
...effectiveContent,
|
|
28667
29558
|
...photoContent,
|
|
28668
29559
|
...arrangementShapeContent(effective.look.id, {
|
|
@@ -28671,6 +29562,7 @@ function planArrangementContent(blockKind, manifest, content, audience) {
|
|
|
28671
29562
|
}),
|
|
28672
29563
|
...arrangementPanelContent(activeContent, effective, mode),
|
|
28673
29564
|
...arrangementQuoteContent(blockKind, effective, values),
|
|
29565
|
+
_arrangementLooks: runtime,
|
|
28674
29566
|
_effectiveLook: effective,
|
|
28675
29567
|
_lookHooks: arrangementContentHooks(effective, mode, length, {
|
|
28676
29568
|
...facts,
|
|
@@ -28730,7 +29622,8 @@ function arrangementContentFacts(content) {
|
|
|
28730
29622
|
facts: Array.isArray(content.facts) && content.facts.length > 0,
|
|
28731
29623
|
featured,
|
|
28732
29624
|
outcome: typeof content.outcome === "string" && content.outcome.length > 0,
|
|
28733
|
-
figure: typeof content.figure === "string" && content.figure.trim().length > 0
|
|
29625
|
+
figure: typeof content.figure === "string" && content.figure.trim().length > 0,
|
|
29626
|
+
entrance: isObjectRecord(content.entrancePhoto)
|
|
28734
29627
|
}
|
|
28735
29628
|
};
|
|
28736
29629
|
}
|
|
@@ -28739,7 +29632,7 @@ function arrangementPhotoCount(content) {
|
|
|
28739
29632
|
if (Array.isArray(content.cards)) return content.cards.filter((card) => isObjectRecord(card) && isObjectRecord(card.media)).length;
|
|
28740
29633
|
if (Array.isArray(content.members)) return content.members.filter((member) => isObjectRecord(member) && isObjectRecord(member.photo)).length;
|
|
28741
29634
|
if (Array.isArray(content.images)) return content.images.filter((item) => isObjectRecord(item) && isObjectRecord(item.image)).length;
|
|
28742
|
-
if (isObjectRecord(content.media)) return 1;
|
|
29635
|
+
if (isObjectRecord(content.media) || isObjectRecord(content.entrancePhoto)) return 1;
|
|
28743
29636
|
const section = isObjectRecord(content._sectionStyles) ? content._sectionStyles : {};
|
|
28744
29637
|
return isObjectRecord((isObjectRecord(section.background) ? section.background : {}).image) ? 1 : 0;
|
|
28745
29638
|
}
|
|
@@ -29675,6 +30568,56 @@ function requireSdkTheme(theme, siteId, reason = "cms_theme_absent") {
|
|
|
29675
30568
|
return theme;
|
|
29676
30569
|
}
|
|
29677
30570
|
//#endregion
|
|
30571
|
+
//#region ../blocks/src/pageRenderAudience.tsx
|
|
30572
|
+
/**
|
|
30573
|
+
* The single policy for what a non-renderable block looks like.
|
|
30574
|
+
*
|
|
30575
|
+
* Public visitors never see renderer diagnostics, so every reason omits.
|
|
30576
|
+
* Authoring surfaces keep the wording they have always had — the strings below
|
|
30577
|
+
* are moved verbatim from the five former `fallback()` call sites.
|
|
30578
|
+
*/
|
|
30579
|
+
function presentNotRenderableBlock(reason, audience) {
|
|
30580
|
+
if (audience === "public") return null;
|
|
30581
|
+
if (reason.kind === "hidden-business-location" && reason.businessDetailsHref) return diagnostic(/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
30582
|
+
authoringMessage(reason),
|
|
30583
|
+
" ",
|
|
30584
|
+
/* @__PURE__ */ jsx("a", {
|
|
30585
|
+
href: reason.businessDetailsHref,
|
|
30586
|
+
children: "Open Business details"
|
|
30587
|
+
})
|
|
30588
|
+
] }));
|
|
30589
|
+
return diagnostic(authoringMessage(reason));
|
|
30590
|
+
}
|
|
30591
|
+
function authoringMessage(reason) {
|
|
30592
|
+
switch (reason.kind) {
|
|
30593
|
+
case "invalid-admission": return `Invalid content for block kind "${reason.blockKind}".`;
|
|
30594
|
+
case "missing-definition": return reason.isCustom ? `No renderer available for block kind "${reason.blockKind}". The custom block definition was not found (missing manifest).` : `No renderer available for block kind "${reason.blockKind}".`;
|
|
30595
|
+
case "missing-layout": return reason.isCustom ? `No renderer available for block kind "${reason.blockKind}". This custom block has no layout/variants, so it must be rendered via blockOverrides["${reason.blockKind}"].` : `No renderer available for block kind "${reason.blockKind}".`;
|
|
30596
|
+
case "hidden-business-location": return "This map is hidden because your business address is hidden.";
|
|
30597
|
+
case "unresolved-location":
|
|
30598
|
+
if (reason.source === "business_address") return "Business address details are not configured yet.";
|
|
30599
|
+
return reason.source === "venue" ? "This map is hidden on your site until the venue has a location." : "This map is hidden on your site until you choose a place.";
|
|
30600
|
+
case "editor-unpreviewable":
|
|
30601
|
+
case "render-threw": return `Unable to render block kind "${reason.blockKind}".`;
|
|
30602
|
+
}
|
|
30603
|
+
}
|
|
30604
|
+
/**
|
|
30605
|
+
* The empty-page notice. Authoring-only for the same reason as the block
|
|
30606
|
+
* diagnostics: "No blocks found." is a message for whoever is building the
|
|
30607
|
+
* page, not for whoever is reading it.
|
|
30608
|
+
*/
|
|
30609
|
+
function presentEmptyPage(audience) {
|
|
30610
|
+
if (audience === "public") return null;
|
|
30611
|
+
return diagnostic("No blocks found.");
|
|
30612
|
+
}
|
|
30613
|
+
function diagnostic(message) {
|
|
30614
|
+
return /* @__PURE__ */ jsx("div", {
|
|
30615
|
+
className: "rb-p-6 rb-caption",
|
|
30616
|
+
style: textColorStyle("mutedText"),
|
|
30617
|
+
children: message
|
|
30618
|
+
});
|
|
30619
|
+
}
|
|
30620
|
+
//#endregion
|
|
29678
30621
|
//#region ../theme-core/src/runtime/fontFamily.ts
|
|
29679
30622
|
/**
|
|
29680
30623
|
* Font Family Formatting Utilities
|
|
@@ -32795,27 +33738,33 @@ function pageBlockPosition(index, blockCount) {
|
|
|
32795
33738
|
//#endregion
|
|
32796
33739
|
//#region ../blocks/src/pageRendererContracts.ts
|
|
32797
33740
|
function buildPageRendererRootRuntime(dataContext) {
|
|
32798
|
-
const { siteId = null, siteName, pageId = null, pathname = null,
|
|
33741
|
+
const { siteId = null, siteName, pageId = null, pathname = null, previewStage = "published", apiBaseUrl = null, portalToken = null, readAuthority, openingHours, siteTerms, mailingList = { tag: "not_configured" }, loaderFailures = {} } = dataContext ?? {};
|
|
32799
33742
|
return {
|
|
32800
33743
|
siteId,
|
|
32801
33744
|
demoEmailSuppressed: resolveDemoEmailSuppression(dataContext),
|
|
32802
33745
|
siteName,
|
|
33746
|
+
site: publicLocationRuntime(dataContext),
|
|
32803
33747
|
pageId,
|
|
32804
33748
|
pathname,
|
|
32805
|
-
|
|
33749
|
+
...pageBookingRuntime(dataContext),
|
|
32806
33750
|
...pageRuntimeContext(dataContext),
|
|
32807
33751
|
previewStage,
|
|
32808
33752
|
apiBaseUrl,
|
|
32809
33753
|
portalToken,
|
|
32810
33754
|
readAuthority,
|
|
32811
|
-
bookingOfferingPresets,
|
|
32812
|
-
appointmentServicePathPrefix,
|
|
32813
33755
|
openingHours,
|
|
32814
33756
|
siteTerms,
|
|
32815
33757
|
mailingList,
|
|
32816
33758
|
loaderFailures
|
|
32817
33759
|
};
|
|
32818
33760
|
}
|
|
33761
|
+
function publicLocationRuntime(context) {
|
|
33762
|
+
return {
|
|
33763
|
+
businessAddress: context?.businessLocation ?? null,
|
|
33764
|
+
venuesById: context?.venuesById ?? {},
|
|
33765
|
+
siteCountry: context?.siteCountry ?? null
|
|
33766
|
+
};
|
|
33767
|
+
}
|
|
32819
33768
|
function resolveDemoEmailSuppression(dataContext) {
|
|
32820
33769
|
return dataContext?.demoEmailSuppressed === true;
|
|
32821
33770
|
}
|
|
@@ -32829,43 +33778,14 @@ function pageRuntimeContext(dataContext) {
|
|
|
32829
33778
|
function pageDateRuntimeContext(dataContext) {
|
|
32830
33779
|
return dataContext?.dateContext ?? resolveDateRuntimeContext(dataContext?.bookingTimeZone);
|
|
32831
33780
|
}
|
|
32832
|
-
|
|
32833
|
-
|
|
32834
|
-
|
|
32835
|
-
|
|
32836
|
-
|
|
32837
|
-
|
|
32838
|
-
|
|
32839
|
-
|
|
32840
|
-
*/
|
|
32841
|
-
function presentNotRenderableBlock(reason, audience) {
|
|
32842
|
-
if (audience === "public") return null;
|
|
32843
|
-
return diagnostic(authoringMessage(reason));
|
|
32844
|
-
}
|
|
32845
|
-
function authoringMessage(reason) {
|
|
32846
|
-
switch (reason.kind) {
|
|
32847
|
-
case "invalid-admission": return `Invalid content for block kind "${reason.blockKind}".`;
|
|
32848
|
-
case "missing-definition": return reason.isCustom ? `No renderer available for block kind "${reason.blockKind}". The custom block definition was not found (missing manifest).` : `No renderer available for block kind "${reason.blockKind}".`;
|
|
32849
|
-
case "missing-layout": return reason.isCustom ? `No renderer available for block kind "${reason.blockKind}". This custom block has no layout/variants, so it must be rendered via blockOverrides["${reason.blockKind}"].` : `No renderer available for block kind "${reason.blockKind}".`;
|
|
32850
|
-
case "editor-unpreviewable":
|
|
32851
|
-
case "render-threw": return `Unable to render block kind "${reason.blockKind}".`;
|
|
32852
|
-
}
|
|
32853
|
-
}
|
|
32854
|
-
/**
|
|
32855
|
-
* The empty-page notice. Authoring-only for the same reason as the block
|
|
32856
|
-
* diagnostics: "No blocks found." is a message for whoever is building the
|
|
32857
|
-
* page, not for whoever is reading it.
|
|
32858
|
-
*/
|
|
32859
|
-
function presentEmptyPage(audience) {
|
|
32860
|
-
if (audience === "public") return null;
|
|
32861
|
-
return diagnostic("No blocks found.");
|
|
32862
|
-
}
|
|
32863
|
-
function diagnostic(message) {
|
|
32864
|
-
return /* @__PURE__ */ jsx("div", {
|
|
32865
|
-
className: "rb-p-6 rb-caption",
|
|
32866
|
-
style: textColorStyle("mutedText"),
|
|
32867
|
-
children: message
|
|
32868
|
-
});
|
|
33781
|
+
/** Booking context keeps its defaults together across SSR and authoring. */
|
|
33782
|
+
function pageBookingRuntime(context) {
|
|
33783
|
+
const { bookingTimeZone, bookingOfferingPresets = [], appointmentServicePathPrefix = null } = context ?? {};
|
|
33784
|
+
return {
|
|
33785
|
+
bookingTimeZone,
|
|
33786
|
+
bookingOfferingPresets,
|
|
33787
|
+
appointmentServicePathPrefix
|
|
33788
|
+
};
|
|
32869
33789
|
}
|
|
32870
33790
|
//#endregion
|
|
32871
33791
|
//#region ../blocks/src/pageRenderDiagnostics.ts
|
|
@@ -33173,15 +34093,44 @@ function preparePageRender(input) {
|
|
|
33173
34093
|
mailingList: input.dataContext?.mailingList,
|
|
33174
34094
|
template: input.dataContext?.template ?? pageTemplateFromEntry(input.dataContext?.contentEntry)
|
|
33175
34095
|
});
|
|
33176
|
-
const
|
|
33177
|
-
const
|
|
33178
|
-
const
|
|
34096
|
+
const permission = input.dataContext?.businessLocationPermission ?? decideLocationSourcePermission("business_address", input.dataContext?.businessAddressVisibility);
|
|
34097
|
+
const entries = input.plan.entries.filter((entry) => input.audience === "authoring" || !entryNeedsSetup(entry, facts)).filter((entry) => isPublicSourcePermitted(entry, permission) || input.audience === "authoring" && permission.kind === "hidden").map((entry) => preparedPlanEntry(entry, prepareSourceEntry(entry, input, permission)));
|
|
34098
|
+
const constructionFailures = entries.filter((candidate) => candidate.prepared.kind === "render-threw").map((candidate) => candidate.entry);
|
|
34099
|
+
const survivors = input.audience === "authoring" ? entries : entries.filter((candidate) => candidate.prepared.kind !== "render-threw" && candidate.prepared.kind !== "unresolved-location");
|
|
33179
34100
|
return {
|
|
33180
34101
|
entries: survivors,
|
|
33181
34102
|
constructionFailures,
|
|
33182
34103
|
joins: composeSurvivorJoins(input.plan, survivors, input.themeResources)
|
|
33183
34104
|
};
|
|
33184
34105
|
}
|
|
34106
|
+
/** Source availability is decided before constructing the block or its hydration props. */
|
|
34107
|
+
function prepareSourceEntry(entry, input, permission) {
|
|
34108
|
+
if (!isPublicSourcePermitted(entry, permission)) return {
|
|
34109
|
+
kind: "hidden-business-location",
|
|
34110
|
+
businessDetailsHref: input.dataContext?.authoringBusinessDetailsHref ?? null
|
|
34111
|
+
};
|
|
34112
|
+
if (entry.block.kind === "block.location-map") {
|
|
34113
|
+
const content = entry.renderableContent;
|
|
34114
|
+
const resolved = resolveLocationMapLocation({
|
|
34115
|
+
location: content.location,
|
|
34116
|
+
locationSource: typeof content.locationSource === "string" ? content.locationSource : null,
|
|
34117
|
+
venueId: typeof content.venueId === "string" ? content.venueId : null,
|
|
34118
|
+
businessAddress: input.dataContext?.businessLocation,
|
|
34119
|
+
venuesById: input.dataContext?.venuesById
|
|
34120
|
+
});
|
|
34121
|
+
if (resolved.kind === "unresolved") return {
|
|
34122
|
+
kind: "unresolved-location",
|
|
34123
|
+
source: resolved.source
|
|
34124
|
+
};
|
|
34125
|
+
}
|
|
34126
|
+
return prepareEntry(entry, input);
|
|
34127
|
+
}
|
|
34128
|
+
/** No source data, override component or wrapper is touched for a hidden map. */
|
|
34129
|
+
function isPublicSourcePermitted(entry, permission) {
|
|
34130
|
+
if (entry.block.kind !== "block.location-map") return true;
|
|
34131
|
+
const rawSource = entry.renderableContent.locationSource;
|
|
34132
|
+
return normalizeLocationMapSource(typeof rawSource === "string" ? rawSource : null) !== "business_address" || permission.kind === "permitted";
|
|
34133
|
+
}
|
|
33185
34134
|
/**
|
|
33186
34135
|
* The only place joins are composed. Plan-time omissions were already
|
|
33187
34136
|
* re-pointed by the plan; construction failures are re-pointed here by the
|
|
@@ -33770,6 +34719,64 @@ function renderSystemBlockElement(input) {
|
|
|
33770
34719
|
previewAuthoring: input.previewAuthoring
|
|
33771
34720
|
});
|
|
33772
34721
|
}
|
|
34722
|
+
/** Pure diagnostic choice; the audience owner controls its presentation. */
|
|
34723
|
+
function preparationDiagnostic(prepared, blockKind) {
|
|
34724
|
+
switch (prepared.kind) {
|
|
34725
|
+
case "hidden-business-location": return {
|
|
34726
|
+
reason: {
|
|
34727
|
+
kind: prepared.kind,
|
|
34728
|
+
blockKind,
|
|
34729
|
+
businessDetailsHref: prepared.businessDetailsHref
|
|
34730
|
+
},
|
|
34731
|
+
outcome: "invalidPlaceholder"
|
|
34732
|
+
};
|
|
34733
|
+
case "unresolved-location": return {
|
|
34734
|
+
reason: {
|
|
34735
|
+
kind: prepared.kind,
|
|
34736
|
+
blockKind,
|
|
34737
|
+
source: prepared.source
|
|
34738
|
+
},
|
|
34739
|
+
outcome: "invalidPlaceholder"
|
|
34740
|
+
};
|
|
34741
|
+
case "editor-unpreviewable": return {
|
|
34742
|
+
reason: {
|
|
34743
|
+
kind: prepared.kind,
|
|
34744
|
+
blockKind
|
|
34745
|
+
},
|
|
34746
|
+
outcome: "invalidPlaceholder"
|
|
34747
|
+
};
|
|
34748
|
+
case "render-threw": return {
|
|
34749
|
+
reason: {
|
|
34750
|
+
kind: prepared.kind,
|
|
34751
|
+
blockKind
|
|
34752
|
+
},
|
|
34753
|
+
outcome: "exception"
|
|
34754
|
+
};
|
|
34755
|
+
case "content":
|
|
34756
|
+
case "plan-decided": return null;
|
|
34757
|
+
}
|
|
34758
|
+
}
|
|
34759
|
+
function blockRenderPerformanceMeta(meta) {
|
|
34760
|
+
return {
|
|
34761
|
+
outcome: meta?.outcome ?? "ok",
|
|
34762
|
+
override: meta?.override ?? false,
|
|
34763
|
+
hasResolvedData: meta?.hasResolvedData ?? false
|
|
34764
|
+
};
|
|
34765
|
+
}
|
|
34766
|
+
function finishBlockRender(node, block, perfStart, meta) {
|
|
34767
|
+
if (!perfStart) return node;
|
|
34768
|
+
const durationMs = Date.now() - perfStart;
|
|
34769
|
+
if (durationMs < getPerfSlowBlockRenderThresholdMs()) return node;
|
|
34770
|
+
try {
|
|
34771
|
+
console.debug("perf.blocks.blockRender", {
|
|
34772
|
+
blockId: block.id ?? null,
|
|
34773
|
+
blockKind: block.kind,
|
|
34774
|
+
durationMs,
|
|
34775
|
+
...blockRenderPerformanceMeta(meta)
|
|
34776
|
+
});
|
|
34777
|
+
} catch {}
|
|
34778
|
+
return node;
|
|
34779
|
+
}
|
|
33773
34780
|
/**
|
|
33774
34781
|
* Memoized block section component.
|
|
33775
34782
|
*
|
|
@@ -33782,22 +34789,7 @@ const MemoBlockSection = React$1.memo(function MemoBlockSection({ themeResources
|
|
|
33782
34789
|
const block = entry.block;
|
|
33783
34790
|
const perfStart = globalThis.process?.env?.DEBUG_PERF === "1" && typeof window === "undefined" ? Date.now() : 0;
|
|
33784
34791
|
const resolvedImageResolveContext = imageResolveContext ?? getCurrentResolveImageUrlContext();
|
|
33785
|
-
|
|
33786
|
-
if (!perfStart) return node;
|
|
33787
|
-
const durationMs = Date.now() - perfStart;
|
|
33788
|
-
if (durationMs < getPerfSlowBlockRenderThresholdMs()) return node;
|
|
33789
|
-
try {
|
|
33790
|
-
console.debug("perf.blocks.blockRender", {
|
|
33791
|
-
blockId: block.id ?? null,
|
|
33792
|
-
blockKind: block.kind,
|
|
33793
|
-
durationMs,
|
|
33794
|
-
outcome: meta?.outcome ?? "ok",
|
|
33795
|
-
override: meta?.override ?? false,
|
|
33796
|
-
hasResolvedData: meta?.hasResolvedData ?? false
|
|
33797
|
-
});
|
|
33798
|
-
} catch {}
|
|
33799
|
-
return node;
|
|
33800
|
-
}
|
|
34792
|
+
const finish = (node, meta) => finishBlockRender(node, block, perfStart, meta);
|
|
33801
34793
|
function wrapped(node) {
|
|
33802
34794
|
return wrapBlock && block.id ? /* @__PURE__ */ jsx(Fragment, { children: wrapBlock(block.id, node) }) : /* @__PURE__ */ jsx(Fragment, { children: node });
|
|
33803
34795
|
}
|
|
@@ -33813,6 +34805,11 @@ const MemoBlockSection = React$1.memo(function MemoBlockSection({ themeResources
|
|
|
33813
34805
|
override: false
|
|
33814
34806
|
});
|
|
33815
34807
|
}
|
|
34808
|
+
const diagnostic = preparationDiagnostic(prepared, block.kind);
|
|
34809
|
+
if (diagnostic) return finish(wrapped(presentNotRenderableBlock(diagnostic.reason, audience)), {
|
|
34810
|
+
outcome: diagnostic.outcome,
|
|
34811
|
+
override: false
|
|
34812
|
+
});
|
|
33816
34813
|
if (entry.kind === "override-only") {
|
|
33817
34814
|
const OverrideOnlyComponent = entry.override;
|
|
33818
34815
|
return finish(wrapped(/* @__PURE__ */ jsx(OverrideOnlyComponent, { ...buildBlockOverrideProps({
|
|
@@ -33829,20 +34826,7 @@ const MemoBlockSection = React$1.memo(function MemoBlockSection({ themeResources
|
|
|
33829
34826
|
hasResolvedData: false
|
|
33830
34827
|
});
|
|
33831
34828
|
}
|
|
33832
|
-
if (prepared.kind
|
|
33833
|
-
kind: "editor-unpreviewable",
|
|
33834
|
-
blockKind: block.kind
|
|
33835
|
-
}, audience)), {
|
|
33836
|
-
outcome: "invalidPlaceholder",
|
|
33837
|
-
override: false
|
|
33838
|
-
});
|
|
33839
|
-
if (prepared.kind !== "content") return finish(wrapped(presentNotRenderableBlock({
|
|
33840
|
-
kind: "render-threw",
|
|
33841
|
-
blockKind: block.kind
|
|
33842
|
-
}, audience)), {
|
|
33843
|
-
outcome: "exception",
|
|
33844
|
-
override: false
|
|
33845
|
-
});
|
|
34829
|
+
if (prepared.kind !== "content") return null;
|
|
33846
34830
|
let rendered;
|
|
33847
34831
|
if (OverrideComponent) rendered = /* @__PURE__ */ jsx(OverrideComponent, { ...prepared.baseProps });
|
|
33848
34832
|
else {
|
|
@@ -43062,6 +44046,24 @@ const containerResponsiveThemeCss = `/*
|
|
|
43062
44046
|
}
|
|
43063
44047
|
}
|
|
43064
44048
|
|
|
44049
|
+
/* A line in the buttons' place, for a page with nothing to send people to yet.
|
|
44050
|
+
* It sits under a hairline so it reads as the hero's action, not more lede. */
|
|
44051
|
+
:where(.theme-scope) :where([data-block="hero"]) .hero-actions-note {
|
|
44052
|
+
width: min(100%, 38rem);
|
|
44053
|
+
margin-top: 0.5rem;
|
|
44054
|
+
padding-top: 1.75rem;
|
|
44055
|
+
border-top: 1px solid var(--rb-surface-line-color, rgb(var(--tb-border, 203 213 225)));
|
|
44056
|
+
font-size: 1.125rem;
|
|
44057
|
+
line-height: 1.6;
|
|
44058
|
+
color: var(--rb-surface-text-color, rgb(var(--tb-text, 17 24 39)));
|
|
44059
|
+
}
|
|
44060
|
+
|
|
44061
|
+
:where(.theme-scope) :where([data-block="hero"]) .hero-actions-note a {
|
|
44062
|
+
color: inherit;
|
|
44063
|
+
text-decoration: underline;
|
|
44064
|
+
text-underline-offset: 0.2em;
|
|
44065
|
+
}
|
|
44066
|
+
|
|
43065
44067
|
/* Hero typography scales. These classes are emitted by Theme V2 hero looks. */
|
|
43066
44068
|
:where(.theme-scope) :where([data-block="hero"]) .rb-hero-typography-quiet .hero-headline {
|
|
43067
44069
|
font-size: clamp(2rem, 4vw, 3rem);
|
|
@@ -44826,6 +45828,255 @@ const containerResponsiveThemeCss = `/*
|
|
|
44826
45828
|
color: rgb(var(--tb-destructive));
|
|
44827
45829
|
}
|
|
44828
45830
|
|
|
45831
|
+
/* An action that exists for the booking but whose time has passed */
|
|
45832
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-action-tile--unavailable {
|
|
45833
|
+
background: transparent;
|
|
45834
|
+
border-style: dashed;
|
|
45835
|
+
cursor: default;
|
|
45836
|
+
}
|
|
45837
|
+
|
|
45838
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-action-tile--unavailable .cp-action-tile__title {
|
|
45839
|
+
color: var(--cp-muted);
|
|
45840
|
+
}
|
|
45841
|
+
|
|
45842
|
+
/* Event reschedule flow: the appointment flow's card-in-modal shape */
|
|
45843
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-section--reschedule .cp-reschedule {
|
|
45844
|
+
border: none;
|
|
45845
|
+
padding: 0;
|
|
45846
|
+
}
|
|
45847
|
+
|
|
45848
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__current {
|
|
45849
|
+
background: rgb(var(--tb-background));
|
|
45850
|
+
border: 1px solid var(--cp-card-border);
|
|
45851
|
+
border-radius: var(--cp-control-radius);
|
|
45852
|
+
padding: 0.8rem 0.95rem;
|
|
45853
|
+
}
|
|
45854
|
+
|
|
45855
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__current-meta {
|
|
45856
|
+
display: grid;
|
|
45857
|
+
gap: 0.1rem;
|
|
45858
|
+
margin-top: 0.35rem;
|
|
45859
|
+
font-size: 0.875rem;
|
|
45860
|
+
color: var(--cp-muted);
|
|
45861
|
+
}
|
|
45862
|
+
|
|
45863
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__lead {
|
|
45864
|
+
margin: 1rem 0 0.6rem;
|
|
45865
|
+
}
|
|
45866
|
+
|
|
45867
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__check {
|
|
45868
|
+
margin-bottom: 0.75rem;
|
|
45869
|
+
}
|
|
45870
|
+
|
|
45871
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__dates {
|
|
45872
|
+
border: 0;
|
|
45873
|
+
margin: 0;
|
|
45874
|
+
padding: 0;
|
|
45875
|
+
min-width: 0;
|
|
45876
|
+
}
|
|
45877
|
+
|
|
45878
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__legend {
|
|
45879
|
+
font-weight: 600;
|
|
45880
|
+
font-size: 0.875rem;
|
|
45881
|
+
margin: 0 0 0.5rem;
|
|
45882
|
+
padding: 0;
|
|
45883
|
+
}
|
|
45884
|
+
|
|
45885
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-list {
|
|
45886
|
+
display: grid;
|
|
45887
|
+
gap: 0.4rem;
|
|
45888
|
+
}
|
|
45889
|
+
|
|
45890
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option {
|
|
45891
|
+
appearance: none;
|
|
45892
|
+
font: inherit;
|
|
45893
|
+
color: var(--cp-text);
|
|
45894
|
+
text-align: left;
|
|
45895
|
+
width: 100%;
|
|
45896
|
+
display: grid;
|
|
45897
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
45898
|
+
align-items: center;
|
|
45899
|
+
gap: 0.7rem;
|
|
45900
|
+
padding: 0.7rem 0.85rem;
|
|
45901
|
+
border: 1px solid var(--cp-card-border);
|
|
45902
|
+
border-radius: var(--cp-control-radius);
|
|
45903
|
+
background: var(--cp-card-bg);
|
|
45904
|
+
cursor: pointer;
|
|
45905
|
+
}
|
|
45906
|
+
|
|
45907
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option:focus-visible {
|
|
45908
|
+
outline: 2px solid var(--cp-primary);
|
|
45909
|
+
outline-offset: 2px;
|
|
45910
|
+
}
|
|
45911
|
+
|
|
45912
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option__radio {
|
|
45913
|
+
width: 18px;
|
|
45914
|
+
height: 18px;
|
|
45915
|
+
border-radius: 50%;
|
|
45916
|
+
border: 1.5px solid var(--cp-muted);
|
|
45917
|
+
display: grid;
|
|
45918
|
+
place-items: center;
|
|
45919
|
+
}
|
|
45920
|
+
|
|
45921
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option__text {
|
|
45922
|
+
display: grid;
|
|
45923
|
+
min-width: 0;
|
|
45924
|
+
}
|
|
45925
|
+
|
|
45926
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option__when {
|
|
45927
|
+
font-weight: 600;
|
|
45928
|
+
font-size: 0.9375rem;
|
|
45929
|
+
line-height: 1.3;
|
|
45930
|
+
}
|
|
45931
|
+
|
|
45932
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option__where {
|
|
45933
|
+
font-size: 0.8125rem;
|
|
45934
|
+
color: var(--cp-muted);
|
|
45935
|
+
}
|
|
45936
|
+
|
|
45937
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option--selected {
|
|
45938
|
+
border-color: var(--cp-primary);
|
|
45939
|
+
box-shadow: 0 0 0 1px var(--cp-primary);
|
|
45940
|
+
background: color-mix(in srgb, var(--cp-primary) 6%, var(--cp-card-bg));
|
|
45941
|
+
}
|
|
45942
|
+
|
|
45943
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option--selected .cp-date-option__radio {
|
|
45944
|
+
border-color: var(--cp-primary);
|
|
45945
|
+
}
|
|
45946
|
+
|
|
45947
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option--selected .cp-date-option__radio::after {
|
|
45948
|
+
content: "";
|
|
45949
|
+
width: 9px;
|
|
45950
|
+
height: 9px;
|
|
45951
|
+
border-radius: 50%;
|
|
45952
|
+
background: var(--cp-primary);
|
|
45953
|
+
}
|
|
45954
|
+
|
|
45955
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option--disabled {
|
|
45956
|
+
background: transparent;
|
|
45957
|
+
border-style: dashed;
|
|
45958
|
+
cursor: default;
|
|
45959
|
+
}
|
|
45960
|
+
|
|
45961
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option--disabled .cp-date-option__when,
|
|
45962
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option--disabled .cp-date-option__where {
|
|
45963
|
+
color: var(--cp-muted);
|
|
45964
|
+
font-weight: 500;
|
|
45965
|
+
}
|
|
45966
|
+
|
|
45967
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-date-option--disabled .cp-date-option__radio {
|
|
45968
|
+
opacity: 0.45;
|
|
45969
|
+
}
|
|
45970
|
+
|
|
45971
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__more {
|
|
45972
|
+
margin-top: 0.6rem;
|
|
45973
|
+
}
|
|
45974
|
+
|
|
45975
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__fineprint {
|
|
45976
|
+
margin: 0.9rem 0 0;
|
|
45977
|
+
font-size: 0.8125rem;
|
|
45978
|
+
color: var(--cp-muted);
|
|
45979
|
+
}
|
|
45980
|
+
|
|
45981
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__actions {
|
|
45982
|
+
justify-content: flex-end;
|
|
45983
|
+
gap: 0.5rem;
|
|
45984
|
+
}
|
|
45985
|
+
|
|
45986
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__actions--sticky {
|
|
45987
|
+
position: sticky;
|
|
45988
|
+
bottom: -1rem;
|
|
45989
|
+
margin: 1rem -1rem -1rem;
|
|
45990
|
+
padding: 0.75rem 1rem 1rem;
|
|
45991
|
+
background: var(--cp-card-bg);
|
|
45992
|
+
border-top: 1px solid var(--cp-border);
|
|
45993
|
+
}
|
|
45994
|
+
|
|
45995
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-change {
|
|
45996
|
+
border: 1px solid var(--cp-card-border);
|
|
45997
|
+
border-radius: var(--cp-control-radius);
|
|
45998
|
+
overflow: hidden;
|
|
45999
|
+
}
|
|
46000
|
+
|
|
46001
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-change__row {
|
|
46002
|
+
display: grid;
|
|
46003
|
+
grid-template-columns: 4.5rem minmax(0, 1fr);
|
|
46004
|
+
gap: 0.75rem;
|
|
46005
|
+
padding: 0.75rem 0.95rem;
|
|
46006
|
+
}
|
|
46007
|
+
|
|
46008
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-change__row + .cp-change__row {
|
|
46009
|
+
border-top: 1px solid var(--cp-card-border);
|
|
46010
|
+
background: color-mix(in srgb, var(--cp-primary) 6%, var(--cp-card-bg));
|
|
46011
|
+
}
|
|
46012
|
+
|
|
46013
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-change__label {
|
|
46014
|
+
font-size: 0.75rem;
|
|
46015
|
+
font-weight: 600;
|
|
46016
|
+
letter-spacing: 0.06em;
|
|
46017
|
+
text-transform: uppercase;
|
|
46018
|
+
color: var(--cp-muted);
|
|
46019
|
+
padding-top: 0.15rem;
|
|
46020
|
+
}
|
|
46021
|
+
|
|
46022
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-change__when {
|
|
46023
|
+
font-weight: 600;
|
|
46024
|
+
}
|
|
46025
|
+
|
|
46026
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-change__row--from .cp-change__when {
|
|
46027
|
+
font-weight: 500;
|
|
46028
|
+
color: var(--cp-muted);
|
|
46029
|
+
text-decoration: line-through;
|
|
46030
|
+
}
|
|
46031
|
+
|
|
46032
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-change__where {
|
|
46033
|
+
font-size: 0.8125rem;
|
|
46034
|
+
color: var(--cp-muted);
|
|
46035
|
+
}
|
|
46036
|
+
|
|
46037
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-reschedule__points {
|
|
46038
|
+
margin: 0.9rem 0 0;
|
|
46039
|
+
padding: 0 0 0 1.1rem;
|
|
46040
|
+
display: grid;
|
|
46041
|
+
gap: 0.3rem;
|
|
46042
|
+
}
|
|
46043
|
+
|
|
46044
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-done {
|
|
46045
|
+
display: grid;
|
|
46046
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
46047
|
+
gap: 0.8rem;
|
|
46048
|
+
align-items: start;
|
|
46049
|
+
}
|
|
46050
|
+
|
|
46051
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-done__tick {
|
|
46052
|
+
width: 34px;
|
|
46053
|
+
height: 34px;
|
|
46054
|
+
border-radius: 50%;
|
|
46055
|
+
background: var(--cp-badge-success-bg);
|
|
46056
|
+
color: var(--cp-badge-success-text);
|
|
46057
|
+
display: grid;
|
|
46058
|
+
place-items: center;
|
|
46059
|
+
}
|
|
46060
|
+
|
|
46061
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-done__title {
|
|
46062
|
+
font-weight: 600;
|
|
46063
|
+
font-size: 1rem;
|
|
46064
|
+
margin: 0.2rem 0;
|
|
46065
|
+
}
|
|
46066
|
+
|
|
46067
|
+
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-done__detail {
|
|
46068
|
+
margin: 0;
|
|
46069
|
+
}
|
|
46070
|
+
|
|
46071
|
+
@container rb-site (max-width: 640px) {
|
|
46072
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
46073
|
+
:where(.theme-scope:is(*, :scope)) :where([data-block="customer-portal"]) .cp-date-option {
|
|
46074
|
+
gap: 0.6rem;
|
|
46075
|
+
padding: 0.65rem 0.7rem;
|
|
46076
|
+
}
|
|
46077
|
+
}
|
|
46078
|
+
}
|
|
46079
|
+
|
|
44829
46080
|
/* Modal form layout */
|
|
44830
46081
|
:where(.theme-scope) :where([data-block="customer-portal"]) .cp-form-grid {
|
|
44831
46082
|
display: grid;
|
|
@@ -46393,6 +47644,176 @@ const containerResponsiveThemeCss = `/*
|
|
|
46393
47644
|
border-radius: 9999px;
|
|
46394
47645
|
}
|
|
46395
47646
|
|
|
47647
|
+
/* -----------------------------------------------------------------------------
|
|
47648
|
+
* One person (a page that belongs to one person, such as a booking page)
|
|
47649
|
+
* -----------------------------------------------------------------------------
|
|
47650
|
+
* A page's composer sets \`onePerson\` on the block; owners don't choose it.
|
|
47651
|
+
*
|
|
47652
|
+
* \`about\`: the person has the section. The photo sits beside the heading, a
|
|
47653
|
+
* quiet name-and-role line and the bio in full. The node's wrapper is
|
|
47654
|
+
* \`display: contents\`, so the heading the block already renders and the
|
|
47655
|
+
* person's parts share one grid. The two spare rows centre a short bio against
|
|
47656
|
+
* the photo; a long bio fills them and runs on past it. Each skin adds its own
|
|
47657
|
+
* photo frame.
|
|
47658
|
+
*/
|
|
47659
|
+
.theme-scope [data-block="team-members"] .rb-team-layout:has(> .rb-team-about) {
|
|
47660
|
+
display: grid;
|
|
47661
|
+
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
47662
|
+
grid-template-rows: 1fr auto auto auto 1fr;
|
|
47663
|
+
column-gap: 1.75rem;
|
|
47664
|
+
text-align: left;
|
|
47665
|
+
}
|
|
47666
|
+
|
|
47667
|
+
.theme-scope [data-block="team-members"] .rb-team-layout > .rb-team-about {
|
|
47668
|
+
display: contents;
|
|
47669
|
+
}
|
|
47670
|
+
|
|
47671
|
+
.theme-scope [data-block="team-members"] .rb-team-layout:has(> .rb-team-about) > .rb-team-head {
|
|
47672
|
+
grid-column: 7 / 13;
|
|
47673
|
+
grid-row: 2;
|
|
47674
|
+
margin: 0;
|
|
47675
|
+
max-width: none;
|
|
47676
|
+
}
|
|
47677
|
+
|
|
47678
|
+
.theme-scope [data-block="team-members"] .rb-team-layout .rb-team-about > .rb-team-about-photo {
|
|
47679
|
+
grid-column: 1 / 6;
|
|
47680
|
+
grid-row: 1 / -1;
|
|
47681
|
+
align-self: start;
|
|
47682
|
+
position: relative;
|
|
47683
|
+
min-width: 0;
|
|
47684
|
+
margin: 0;
|
|
47685
|
+
}
|
|
47686
|
+
|
|
47687
|
+
.theme-scope [data-block="team-members"] .rb-team-layout .rb-team-about > .rb-team-about-photo img {
|
|
47688
|
+
display: block;
|
|
47689
|
+
width: 100%;
|
|
47690
|
+
height: auto;
|
|
47691
|
+
aspect-ratio: 4 / 5;
|
|
47692
|
+
object-fit: cover;
|
|
47693
|
+
}
|
|
47694
|
+
|
|
47695
|
+
/* A style with no skin rounds the photo as it rounds its cards; skins frame it themselves. */
|
|
47696
|
+
:where(.theme-scope) :where([data-block="team-members"]) :where(.rb-team-about-photo) img {
|
|
47697
|
+
border-radius: var(--radius-card, 0);
|
|
47698
|
+
}
|
|
47699
|
+
|
|
47700
|
+
.theme-scope [data-block="team-members"] .rb-team-layout .rb-team-about > .rb-team-about-line {
|
|
47701
|
+
grid-column: 7 / 13;
|
|
47702
|
+
grid-row: 3;
|
|
47703
|
+
margin: 1rem 0 0;
|
|
47704
|
+
font-size: 0.96875rem;
|
|
47705
|
+
line-height: 1.5;
|
|
47706
|
+
font-weight: 500;
|
|
47707
|
+
color: var(--rb-surface-muted-color, rgb(var(--tb-mutedText)));
|
|
47708
|
+
}
|
|
47709
|
+
|
|
47710
|
+
.theme-scope [data-block="team-members"] .rb-team-layout .rb-team-about > .rb-team-about-bio {
|
|
47711
|
+
/* Shown in full at every width, whatever the Look does with card text. */
|
|
47712
|
+
display: block;
|
|
47713
|
+
grid-column: 7 / 13;
|
|
47714
|
+
grid-row: 4;
|
|
47715
|
+
margin: 1.75rem 0 0;
|
|
47716
|
+
max-width: 34em;
|
|
47717
|
+
font-size: 1.125rem;
|
|
47718
|
+
line-height: 1.65;
|
|
47719
|
+
color: var(--rb-surface-text-color, inherit);
|
|
47720
|
+
}
|
|
47721
|
+
|
|
47722
|
+
/* One person's About: the bio stays shown at every width. Team Looks hide card
|
|
47723
|
+
text (tall portraits on phones, ruled names always), and their responsive
|
|
47724
|
+
rules would otherwise tie with the rule above and win on order. */
|
|
47725
|
+
.theme-scope [data-block="team-members"] [data-slot="layout"][data-one-person="about"] [data-team-about] > [data-slot="item-text"] {
|
|
47726
|
+
display: block;
|
|
47727
|
+
}
|
|
47728
|
+
|
|
47729
|
+
.theme-scope [data-block="team-members"] .rb-team-layout .rb-team-about > .rb-team-about-bio > * {
|
|
47730
|
+
margin: 0;
|
|
47731
|
+
font-size: inherit;
|
|
47732
|
+
line-height: inherit;
|
|
47733
|
+
}
|
|
47734
|
+
|
|
47735
|
+
.theme-scope [data-block="team-members"] .rb-team-layout .rb-team-about > .rb-team-about-bio > * + * {
|
|
47736
|
+
margin-top: 1em;
|
|
47737
|
+
}
|
|
47738
|
+
|
|
47739
|
+
/* No photo: the heading and name line sit beside the bio, so nothing looks
|
|
47740
|
+
like it is waiting for a picture. */
|
|
47741
|
+
.theme-scope [data-block="team-members"] .rb-team-layout:has(> .rb-team-about[data-has-photo="false"]) {
|
|
47742
|
+
grid-template-rows: auto auto 1fr;
|
|
47743
|
+
}
|
|
47744
|
+
|
|
47745
|
+
.theme-scope [data-block="team-members"] .rb-team-layout:has(> .rb-team-about[data-has-photo="false"]) > .rb-team-head {
|
|
47746
|
+
grid-column: 1 / 6;
|
|
47747
|
+
grid-row: 1;
|
|
47748
|
+
}
|
|
47749
|
+
|
|
47750
|
+
.theme-scope [data-block="team-members"] .rb-team-layout .rb-team-about[data-has-photo="false"] > .rb-team-about-line {
|
|
47751
|
+
grid-column: 1 / 6;
|
|
47752
|
+
grid-row: 2;
|
|
47753
|
+
}
|
|
47754
|
+
|
|
47755
|
+
.theme-scope [data-block="team-members"] .rb-team-layout .rb-team-about[data-has-photo="false"] > .rb-team-about-bio {
|
|
47756
|
+
grid-column: 6 / 13;
|
|
47757
|
+
grid-row: 1 / -1;
|
|
47758
|
+
margin-top: 0;
|
|
47759
|
+
}
|
|
47760
|
+
|
|
47761
|
+
@container rb-site (max-width: 767px) {
|
|
47762
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
47763
|
+
.theme-scope:is(*, :scope) [data-block="team-members"] .rb-team-layout:has(> .rb-team-about) {
|
|
47764
|
+
display: flex;
|
|
47765
|
+
flex-direction: column;
|
|
47766
|
+
}
|
|
47767
|
+
|
|
47768
|
+
.theme-scope:is(*, :scope) [data-block="team-members"] .rb-team-layout .rb-team-about > .rb-team-about-photo {
|
|
47769
|
+
order: -1;
|
|
47770
|
+
margin-bottom: 2.5rem;
|
|
47771
|
+
}
|
|
47772
|
+
|
|
47773
|
+
.theme-scope:is(*, :scope) [data-block="team-members"] .rb-team-layout .rb-team-about > .rb-team-about-bio,
|
|
47774
|
+
.theme-scope:is(*, :scope) [data-block="team-members"] .rb-team-layout .rb-team-about[data-has-photo="false"] > .rb-team-about-bio {
|
|
47775
|
+
margin-top: 1.5rem;
|
|
47776
|
+
font-size: 1.0625rem;
|
|
47777
|
+
}
|
|
47778
|
+
}
|
|
47779
|
+
}
|
|
47780
|
+
|
|
47781
|
+
/*
|
|
47782
|
+
* \`portrait\`: the one person has a photo and no bio, so they stay under the
|
|
47783
|
+
* section's usual heading as one small portrait with their name beside it.
|
|
47784
|
+
*/
|
|
47785
|
+
.theme-scope [data-block="team-members"] .rb-team-layout[data-one-person="portrait"] [data-card-list]:has(> [data-card-list-item]:only-child) {
|
|
47786
|
+
display: block;
|
|
47787
|
+
}
|
|
47788
|
+
|
|
47789
|
+
.theme-scope [data-block="team-members"] .rb-team-layout[data-one-person="portrait"] [data-card-list-item]:only-child {
|
|
47790
|
+
display: flex;
|
|
47791
|
+
flex-direction: row;
|
|
47792
|
+
align-items: center;
|
|
47793
|
+
gap: 1.75rem;
|
|
47794
|
+
}
|
|
47795
|
+
|
|
47796
|
+
.theme-scope [data-block="team-members"] .rb-team-layout[data-one-person="portrait"] [data-card-list-item]:only-child > [data-slot="item-media"] {
|
|
47797
|
+
flex: none;
|
|
47798
|
+
width: 12.5rem;
|
|
47799
|
+
}
|
|
47800
|
+
|
|
47801
|
+
.theme-scope [data-block="team-members"] .rb-team-layout[data-one-person="portrait"] [data-card-list-item]:only-child > [data-slot="item-body"] {
|
|
47802
|
+
padding: 0;
|
|
47803
|
+
}
|
|
47804
|
+
|
|
47805
|
+
@container rb-site (max-width: 767px) {
|
|
47806
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
47807
|
+
.theme-scope:is(*, :scope) [data-block="team-members"] .rb-team-layout[data-one-person="portrait"] [data-card-list-item]:only-child {
|
|
47808
|
+
gap: 1.25rem;
|
|
47809
|
+
}
|
|
47810
|
+
|
|
47811
|
+
.theme-scope:is(*, :scope) [data-block="team-members"] .rb-team-layout[data-one-person="portrait"] [data-card-list-item]:only-child > [data-slot="item-media"] {
|
|
47812
|
+
width: 7.5rem;
|
|
47813
|
+
}
|
|
47814
|
+
}
|
|
47815
|
+
}
|
|
47816
|
+
|
|
46396
47817
|
/* The callout is its own opaque surface: tones tint over the theme surface,
|
|
46397
47818
|
* not over whatever band the callout sits on, so its foreground and button
|
|
46398
47819
|
* context (theme-core/src/blocks/opaquePanels.ts) hold on any section. */
|
|
@@ -48258,6 +49679,11 @@ const containerResponsiveThemeCss = `/*
|
|
|
48258
49679
|
justify-items: start;
|
|
48259
49680
|
text-align: start;
|
|
48260
49681
|
}
|
|
49682
|
+
/* Short photo banner: the classic arrangement kept short for inner pages. It renders
|
|
49683
|
+
* every field the older Compact hero did. The text is held to two lines, and each
|
|
49684
|
+
* skin decides where one row of buttons sits, so it stays a banner. */
|
|
49685
|
+
.theme-scope [data-arrangement="classic"][data-look="hero-short-photo-banner"] [data-slot="actions"]:empty { display: none; }
|
|
49686
|
+
.theme-scope [data-arrangement="classic"][data-look="hero-short-photo-banner"] [data-slot="lede"] { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
|
|
48261
49687
|
|
|
48262
49688
|
/* ------------------------------------------------- hero: page-head */
|
|
48263
49689
|
.theme-scope [data-arrangement="page-head"] [data-slot="copy"] { grid-column: 1 / 10; }
|
|
@@ -48587,6 +50013,46 @@ const containerResponsiveThemeCss = `/*
|
|
|
48587
50013
|
.theme-scope:is(*, :scope) [data-arrangement="index"][data-knob-card-marker="numbers"] [data-card-list-item] > * { grid-column: 1; }
|
|
48588
50014
|
}
|
|
48589
50015
|
}
|
|
50016
|
+
/* One offering in a catalogue: the card runs the measure, with its dates beside
|
|
50017
|
+
* the details (or its photo beside both) so it doesn't sit as one narrow card
|
|
50018
|
+
* in an empty row. Date rows are ruled and carry their own Book link. */
|
|
50019
|
+
.theme-scope [data-has-one-offering] [data-card-list] { grid-template-columns: minmax(0, 1fr); }
|
|
50020
|
+
.theme-scope [data-has-one-offering] [data-card-list-item] [data-slot="dates"] { display: grid; align-content: start; gap: 0; margin: 0; padding: 0; list-style: none; }
|
|
50021
|
+
.theme-scope [data-has-one-offering] [data-card-list-item] [data-slot="dates"] [data-slot="date"] { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding-block: 0.875rem; border-top: var(--rb-skin-rule, 1px) solid var(--rb-surface-line-color); }
|
|
50022
|
+
.theme-scope [data-has-one-offering] [data-card-list-item] [data-slot="dates"] [data-slot="date"]:first-child { border-top: 0; padding-top: 0; }
|
|
50023
|
+
.theme-scope [data-has-one-offering] [data-card-list-item] [data-slot="dates"] [data-slot="date"] time { flex: 1 1 auto; text-align: start; }
|
|
50024
|
+
.theme-scope [data-has-one-offering] [data-card-list-item] [data-slot="date-places"] { color: var(--rb-surface-muted-color, var(--rb-surface-text-color)); font-size: 0.875rem; }
|
|
50025
|
+
@container rb-site (min-width: 768px) {
|
|
50026
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
50027
|
+
.theme-scope:is(*, :scope) [data-has-one-offering] [data-card-list-item]:has(> [data-slot="item-media"]) { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
|
|
50028
|
+
.theme-scope:is(*, :scope) [data-has-one-offering] [data-card-list-item]:has(> [data-slot="item-media"]) [data-slot="photo"] { height: 100%; aspect-ratio: auto; }
|
|
50029
|
+
/* The details keep the card's own padding; the dates take the second column
|
|
50030
|
+
* for the card's full height, behind a rule drawn from edge to edge. */
|
|
50031
|
+
.theme-scope:is(*, :scope) [data-has-one-offering] [data-card-list-item]:not(:has(> [data-slot="item-media"])) [data-slot="item-body"]:has(> [data-slot="dates"]) {
|
|
50032
|
+
position: relative;
|
|
50033
|
+
display: grid;
|
|
50034
|
+
grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
|
|
50035
|
+
grid-auto-rows: min-content;
|
|
50036
|
+
gap: 0 clamp(2.5rem, 6cqi, 5rem);
|
|
50037
|
+
}
|
|
50038
|
+
.theme-scope:is(*, :scope) [data-has-one-offering] [data-card-list-item]:not(:has(> [data-slot="item-media"])) [data-slot="item-body"]:has(> [data-slot="dates"]) > * { grid-column: 1; }
|
|
50039
|
+
.theme-scope:is(*, :scope) [data-has-one-offering] [data-card-list-item]:not(:has(> [data-slot="item-media"])) [data-slot="item-body"]:has(> [data-slot="dates"]) > :not(:last-child, [data-slot="dates"]) { margin-bottom: var(--rb-skin-copy-gap, 0.75rem); }
|
|
50040
|
+
.theme-scope:is(*, :scope) [data-has-one-offering] [data-card-list-item]:not(:has(> [data-slot="item-media"])) [data-slot="item-body"] > [data-slot="item-actions"] { margin-top: 0.75rem; }
|
|
50041
|
+
/* The span must cover every part a card body can hold: the CardListItemPart
|
|
50042
|
+
* union in site-styles/appearancePresetTypes.ts, less media (which sits
|
|
50043
|
+
* outside the body), plus the numeral marker. That is eleven rows today;
|
|
50044
|
+
* raise the span if the union grows. */
|
|
50045
|
+
.theme-scope:is(*, :scope) [data-has-one-offering] [data-card-list-item]:not(:has(> [data-slot="item-media"])) [data-slot="item-body"] > [data-slot="dates"] { grid-column: 2; grid-row: 1 / span 12; }
|
|
50046
|
+
.theme-scope:is(*, :scope) [data-has-one-offering] [data-card-list-item]:not(:has(> [data-slot="item-media"])) [data-slot="item-body"] > [data-slot="dates"]::before {
|
|
50047
|
+
content: "";
|
|
50048
|
+
position: absolute;
|
|
50049
|
+
top: 0;
|
|
50050
|
+
bottom: 0;
|
|
50051
|
+
margin-left: calc(-0.5 * clamp(2.5rem, 6cqi, 5rem));
|
|
50052
|
+
border-left: var(--rb-skin-rule, 1px) solid var(--rb-surface-line-color);
|
|
50053
|
+
}
|
|
50054
|
+
}
|
|
50055
|
+
}
|
|
48590
50056
|
.theme-scope [data-arrangement="cards"] [data-card-list] { counter-reset: rb-feature-card-number; }
|
|
48591
50057
|
.theme-scope [data-arrangement="cards"] [data-card-list-item] { counter-increment: rb-feature-card-number; }
|
|
48592
50058
|
.theme-scope [data-arrangement] [data-card-list-item] [data-slot="numeral"] { display: none; }
|
|
@@ -49121,6 +50587,63 @@ const containerResponsiveThemeCss = `/*
|
|
|
49121
50587
|
}
|
|
49122
50588
|
}
|
|
49123
50589
|
|
|
50590
|
+
/* ---------------------------------------------------- Visit (issue 1611) */
|
|
50591
|
+
/* Map above the details is the block's own layout (location-map.css). The three Look-only layouts put
|
|
50592
|
+
* the heading in the head slot (Measure hangs it in the rail) and stack the details in one column:
|
|
50593
|
+
* address, door note and actions, then the opening hours. The authored map height is a minimum here. */
|
|
50594
|
+
.theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) [data-slot="layout"] { row-gap: clamp(2rem, 4cqi, 3rem); }
|
|
50595
|
+
.theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) [data-slot="head"] { margin-bottom: 0; }
|
|
50596
|
+
.theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) .rb-location-map-details { grid-template-columns: minmax(0, 1fr); gap: 2rem; align-content: start; }
|
|
50597
|
+
.theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) .rb-location-map-address { font-size: 1.1875rem; line-height: 1.45; }
|
|
50598
|
+
.theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) .rb-location-map-hours td { white-space: nowrap; }
|
|
50599
|
+
.theme-scope [data-arrangement]:is([data-arrangement="map-and-details"], [data-arrangement="photo-and-details"]) .rb-location-map-hours tbody tr:last-child :is(th, td) { border-bottom: 1px solid var(--rb-surface-line-color, color-mix(in srgb, currentColor 18%, transparent)); }
|
|
50600
|
+
.theme-scope [data-arrangement="map-and-details"] .rb-map-drawing { display: flex; flex-direction: column; min-width: 0; }
|
|
50601
|
+
.theme-scope [data-arrangement="map-and-details"] .rb-map-drawing-crop { flex: 1 1 auto; }
|
|
50602
|
+
|
|
50603
|
+
/* Map beside the address: the details on the left, the map filling the row on the right. */
|
|
50604
|
+
.theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-location-map { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 5cqi, 4rem); align-items: stretch; }
|
|
50605
|
+
.theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-location-map-details { grid-column: 1; grid-row: 1; align-self: center; }
|
|
50606
|
+
.theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-map-drawing { grid-column: 2; grid-row: 1; min-height: 30rem; }
|
|
50607
|
+
.theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-map-drawing svg { width: max(135%, 680px); }
|
|
50608
|
+
|
|
50609
|
+
/* Address over a wide map: the details on a sheet (the card role) laid over the left of a tall map,
|
|
50610
|
+
* the drawing moved right so the pin stays clear of the sheet, and the attribution over the map's top corner. */
|
|
50611
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map { grid-template-columns: minmax(0, 1fr); gap: 0; }
|
|
50612
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map > * { grid-area: 1 / 1; }
|
|
50613
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-map-drawing { position: relative; min-height: clamp(34rem, 48cqi, 40rem); }
|
|
50614
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-map-drawing figcaption { position: absolute; top: var(--map-frame-width, 1px); right: var(--map-frame-width, 1px); z-index: 1; padding: 0.25rem 0.5rem; background: var(--map-land, rgb(var(--tb-surface))); color: var(--map-label, currentColor); }
|
|
50615
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-map-drawing svg { left: calc(50% + 10rem); width: max(calc(100% + 20rem), 680px); }
|
|
50616
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map-details { position: relative; z-index: 1; align-self: start; justify-self: start; width: min(25rem, calc(100% - 3rem)); margin: clamp(1.5rem, 4cqi, 3rem); padding: 2rem 2rem 1.75rem; gap: 1.5rem; box-sizing: border-box; }
|
|
50617
|
+
|
|
50618
|
+
/* Photo of the entrance beside the details: a tall photo in place of the map. Published without a
|
|
50619
|
+
* photo it reads as Map beside the address; in the editor the photo slot asks for one. */
|
|
50620
|
+
.theme-scope [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="frame"] { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(2rem, 5.5cqi, 4.5rem); }
|
|
50621
|
+
.theme-scope [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="frame"] > * { grid-column: auto; }
|
|
50622
|
+
.theme-scope [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="media"] { aspect-ratio: 4 / 5; overflow: hidden; }
|
|
50623
|
+
.theme-scope [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="media"] > [data-placeholder-field] { height: 100%; }
|
|
50624
|
+
|
|
50625
|
+
/* No drawing yet (or none possible): the map Looks set the details out on their own, address and
|
|
50626
|
+
* actions beside the hours, rather than beside an empty map. Wide keeps its sheet, across the row. */
|
|
50627
|
+
.theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-location-map[data-map="none"] { grid-template-columns: minmax(0, 1fr); }
|
|
50628
|
+
.theme-scope [data-arrangement][data-look="location-map-beside-address"] .rb-location-map[data-map="none"] .rb-location-map-details { align-self: start; }
|
|
50629
|
+
.theme-scope [data-arrangement]:is([data-look="location-map-beside-address"], [data-look="location-map-address-over-wide-map"]) .rb-location-map[data-map="none"] .rb-location-map-details { grid-template-columns: minmax(0, 1fr) minmax(15rem, 21rem); column-gap: clamp(2rem, 5cqi, 4rem); }
|
|
50630
|
+
.theme-scope [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map[data-map="none"] .rb-location-map-details { justify-self: stretch; width: auto; margin: 0; padding: clamp(1.75rem, 4cqi, 2.75rem); }
|
|
50631
|
+
|
|
50632
|
+
@container rb-site (max-width: 767px) {
|
|
50633
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
50634
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-beside-address"] .rb-location-map { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
|
|
50635
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-beside-address"] .rb-map-drawing { grid-column: 1; grid-row: 2; min-height: 0; }
|
|
50636
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map > * { grid-area: auto; }
|
|
50637
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-map-drawing { min-height: 0; }
|
|
50638
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-map-drawing svg { left: 50%; width: max(100%, 680px); }
|
|
50639
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map-details { width: auto; margin: -3rem 0.5rem 0; padding: 1.5rem 1.25rem 1.25rem; }
|
|
50640
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="frame"] { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
|
|
50641
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-entrance-photo"] [data-slot="media"] { aspect-ratio: 4 / 3; }
|
|
50642
|
+
.theme-scope:is(*, :scope) [data-arrangement]:is([data-look="location-map-beside-address"], [data-look="location-map-address-over-wide-map"]) .rb-location-map[data-map="none"] .rb-location-map-details { grid-template-columns: minmax(0, 1fr); }
|
|
50643
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="location-map-address-over-wide-map"] .rb-location-map[data-map="none"] .rb-location-map-details { margin: 0; padding: 1.5rem 1.25rem 1.25rem; }
|
|
50644
|
+
}
|
|
50645
|
+
}
|
|
50646
|
+
|
|
49124
50647
|
/* Bounded style skins (issue 1575, D14): one stylesheet per arrangement style, keyed on data-skin. */
|
|
49125
50648
|
|
|
49126
50649
|
/* =============================================================================
|
|
@@ -49214,7 +50737,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
49214
50737
|
|
|
49215
50738
|
/* The start mark on a sheet: drawn over the sheet own top edge, since a sheet paints its own ground. */
|
|
49216
50739
|
[data-skin="fulcrum"] [data-arrangement] [data-slot="sticker"]::before,
|
|
49217
|
-
[data-skin="fulcrum"] [data-treat="panel"] [data-slot="copy"]::before,
|
|
50740
|
+
[data-skin="fulcrum"] :is([data-treat="panel"], [data-treat="short-panel"]) [data-slot="copy"]::before,
|
|
49218
50741
|
[data-skin="fulcrum"] [data-treat="compact"] [data-slot="panel"]::before {
|
|
49219
50742
|
content: "";
|
|
49220
50743
|
position: absolute;
|
|
@@ -49252,6 +50775,20 @@ const containerResponsiveThemeCss = `/*
|
|
|
49252
50775
|
margin: 0 var(--fulcrum-plate) var(--fulcrum-plate) 0;
|
|
49253
50776
|
box-shadow: var(--fulcrum-plate-x) var(--fulcrum-plate-x) 0 var(--fulcrum-plate-colour);
|
|
49254
50777
|
}
|
|
50778
|
+
/* split · plate with no photo: the page head itself is what's mounted on the plate.
|
|
50779
|
+
* Not while the editor shows its photo placeholder, which keeps the two-column
|
|
50780
|
+
* split so there is somewhere to add the photo. The placeholder exemption also
|
|
50781
|
+
* lifts this above the image-position rules below, so the plate spans the row
|
|
50782
|
+
* whichever side the photo would have taken. */
|
|
50783
|
+
[data-skin="fulcrum"] [data-treat="plate"][data-has-photo="false"]:not(:has([data-placeholder-field])) [data-slot="copy"] {
|
|
50784
|
+
grid-column: 1 / -1;
|
|
50785
|
+
margin: 0 var(--fulcrum-plate) var(--fulcrum-plate) 0;
|
|
50786
|
+
padding: clamp(2.25rem, 4.6cqi, 3.75rem) clamp(1.5rem, 5cqi, 4rem) clamp(2.25rem, 4.6cqi, 3.75rem);
|
|
50787
|
+
border: var(--rb-skin-rule, 1px) solid var(--rb-surface-line-color);
|
|
50788
|
+
background-color: rgb(var(--tb-surface));
|
|
50789
|
+
box-shadow: var(--fulcrum-plate-x) var(--fulcrum-plate-x) 0 var(--fulcrum-plate-colour);
|
|
50790
|
+
}
|
|
50791
|
+
[data-skin="fulcrum"] [data-treat="plate"][data-has-photo="false"]:not(:has([data-placeholder-field]))[data-length="short"] [data-slot="headline"] { font-size: clamp(2.625rem, 6.4cqi, 5.25rem); }
|
|
49255
50792
|
[data-skin="fulcrum"] [data-treat="plate"][data-knob-image-position="left"] [data-slot="media"] { grid-column: 1 / 6; }
|
|
49256
50793
|
[data-skin="fulcrum"] [data-treat="plate"][data-knob-image-position="left"] [data-slot="copy"] { grid-column: 7 / 13; }
|
|
49257
50794
|
[data-skin="fulcrum"] [data-treat="plate"] [data-slot="media"] [data-slot="sticker"] { position: absolute; left: -2.5rem; bottom: 3rem; max-width: 16rem; }
|
|
@@ -49273,15 +50810,27 @@ const containerResponsiveThemeCss = `/*
|
|
|
49273
50810
|
[data-skin="fulcrum"] [data-treat="plates"] [data-slot="gallery"] [data-slot="sticker"] { position: absolute; left: 2rem; bottom: -1.5rem; }
|
|
49274
50811
|
|
|
49275
50812
|
/* classic · panel: the photo fills the section; the copy sits on a sheet low on the left. */
|
|
49276
|
-
[data-skin="fulcrum"] [data-treat="panel"] [data-slot="section"] { --rb-section-pad-y: clamp(3rem, 7cqi, 5.5rem); padding-top: clamp(9rem, 16cqi, 12.5rem); }
|
|
49277
|
-
[data-skin="fulcrum"] [data-treat="panel"] [data-slot="copy"] {
|
|
50813
|
+
[data-skin="fulcrum"] :is([data-treat="panel"], [data-treat="short-panel"]) [data-slot="section"] { --rb-section-pad-y: clamp(3rem, 7cqi, 5.5rem); padding-top: clamp(9rem, 16cqi, 12.5rem); }
|
|
50814
|
+
[data-skin="fulcrum"] :is([data-treat="panel"], [data-treat="short-panel"]) [data-slot="copy"] {
|
|
49278
50815
|
position: relative;
|
|
49279
50816
|
max-width: min(36rem, 100%);
|
|
49280
50817
|
padding: clamp(2rem, 3.4cqi, 3rem);
|
|
49281
50818
|
border-radius: var(--rb-skin-radius, 3px);
|
|
49282
50819
|
}
|
|
49283
|
-
[data-skin="fulcrum"] [data-treat="panel"] [data-slot="headline"] { font-size: clamp(2.25rem, 3.6cqi, 3.5rem); }
|
|
49284
|
-
[data-skin="fulcrum"] [data-treat="panel"][data-length="long"] [data-slot="headline"] { font-size: clamp(1.875rem, 2.6cqi, 2.5rem); }
|
|
50820
|
+
[data-skin="fulcrum"] :is([data-treat="panel"], [data-treat="short-panel"]) [data-slot="headline"] { font-size: clamp(2.25rem, 3.6cqi, 3.5rem); }
|
|
50821
|
+
[data-skin="fulcrum"] :is([data-treat="panel"], [data-treat="short-panel"])[data-length="long"] [data-slot="headline"] { font-size: clamp(1.875rem, 2.6cqi, 2.5rem); }
|
|
50822
|
+
/* Short photo banner: the same sheet low on the left of a shallow strip of photo. */
|
|
50823
|
+
[data-skin="fulcrum"] [data-treat="short-panel"] [data-slot="section"] { padding-top: clamp(6rem, 12cqi, 10.5rem); padding-bottom: clamp(2rem, 3.4cqi, 3rem); }
|
|
50824
|
+
[data-skin="fulcrum"] [data-treat="short-panel"][data-has-photo="false"] [data-slot="section"] { padding-top: clamp(2rem, 3.4cqi, 3rem); }
|
|
50825
|
+
[data-skin="fulcrum"] [data-treat="short-panel"] [data-slot="copy"] { padding: clamp(1.375rem, 2.2cqi, 1.875rem) clamp(1.5rem, 3cqi, 2.5rem); gap: 0.625rem; }
|
|
50826
|
+
/* With buttons, they sit beside the text in one row, so the banner keeps its height. */
|
|
50827
|
+
[data-skin="fulcrum"] [data-treat="short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(1.5rem, 3cqi, 3rem); row-gap: 0; align-items: center; max-width: min(54rem, 100%); }
|
|
50828
|
+
[data-skin="fulcrum"] [data-treat="short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > * { grid-column: 1; }
|
|
50829
|
+
[data-skin="fulcrum"] [data-treat="short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="eyebrow"] { margin-bottom: 0.375rem; }
|
|
50830
|
+
[data-skin="fulcrum"] [data-treat="short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="lede"] { margin-top: 0.625rem; }
|
|
50831
|
+
[data-skin="fulcrum"] [data-treat="short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="actions"] { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; flex-wrap: nowrap; }
|
|
50832
|
+
/* One title size for every length: the extra hooks outrank the length steps. */
|
|
50833
|
+
[data-skin="fulcrum"] [data-arrangement][data-treat="short-panel"][data-length][data-has-photo] [data-slot="headline"] { font-size: clamp(1.625rem, 2.6cqi, 2.375rem); line-height: 1.12; }
|
|
49285
50834
|
|
|
49286
50835
|
/* page-head · ruled: no photo; the title over a hairline that runs the measure. */
|
|
49287
50836
|
[data-skin="fulcrum"] [data-treat="ruled"] [data-slot="copy"] {
|
|
@@ -49522,8 +51071,13 @@ const containerResponsiveThemeCss = `/*
|
|
|
49522
51071
|
[data-skin="fulcrum"]:is(*, :scope) [data-treat="plate"][data-knob-image-position="left"] [data-slot="media"] { grid-column: 1 / -1; }
|
|
49523
51072
|
[data-skin="fulcrum"]:is(*, :scope) [data-treat="plate"] [data-slot="media"] { aspect-ratio: 4 / 3.4; }
|
|
49524
51073
|
[data-skin="fulcrum"]:is(*, :scope) [data-treat] [data-slot="media"] [data-slot="sticker"] { position: absolute; left: auto; right: 0.75rem; top: auto; bottom: 0.75rem; margin-top: 0; max-width: min(18rem, calc(100% - 1.5rem)); }
|
|
49525
|
-
[data-skin="fulcrum"]:is(*, :scope) [data-treat="panel"] [data-slot="section"] { padding-top: 13rem; }
|
|
49526
|
-
[data-skin="fulcrum"]:is(*, :scope) [data-treat="panel"] [data-slot="copy"] { padding: 1.75rem 1.375rem; }
|
|
51074
|
+
[data-skin="fulcrum"]:is(*, :scope) :is([data-treat="panel"], [data-treat="short-panel"]) [data-slot="section"] { padding-top: 13rem; }
|
|
51075
|
+
[data-skin="fulcrum"]:is(*, :scope) :is([data-treat="panel"], [data-treat="short-panel"]) [data-slot="copy"] { padding: 1.75rem 1.375rem; }
|
|
51076
|
+
[data-skin="fulcrum"]:is(*, :scope) [data-arrangement][data-treat="short-panel"] [data-slot="section"] { padding-top: 8.5rem; }
|
|
51077
|
+
[data-skin="fulcrum"]:is(*, :scope) [data-arrangement][data-treat="short-panel"][data-has-photo="false"] [data-slot="section"] { padding-top: 2rem; }
|
|
51078
|
+
[data-skin="fulcrum"]:is(*, :scope) [data-arrangement][data-treat="short-panel"] [data-slot="copy"] { padding: 1.25rem 1.375rem; }
|
|
51079
|
+
[data-skin="fulcrum"]:is(*, :scope) [data-treat="short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) { grid-template-columns: minmax(0, 1fr); }
|
|
51080
|
+
[data-skin="fulcrum"]:is(*, :scope) [data-treat="short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="actions"] { grid-column: 1; grid-row: auto; margin-top: 0.875rem; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
|
|
49527
51081
|
[data-skin="fulcrum"]:is(*, :scope) [data-arrangement] [data-slot="item-title"] { font-size: 1.5rem; }
|
|
49528
51082
|
[data-skin="fulcrum"]:is(*, :scope) [data-treat="cards"] [data-slot="item-body"] { padding: 1.5rem 1.375rem; }
|
|
49529
51083
|
[data-skin="fulcrum"]:is(*, :scope) [data-treat="pathway"] [data-slot="lead"] > [data-slot="item-body"] { padding: 2rem 1.625rem; }
|
|
@@ -49791,6 +51345,25 @@ const containerResponsiveThemeCss = `/*
|
|
|
49791
51345
|
[data-skin="fulcrum"] :is([data-treat="team-portraits"], [data-treat="team-bio"]) [data-slot="photo"] { position: relative; filter: grayscale(1) contrast(1.05); }
|
|
49792
51346
|
[data-skin="fulcrum"] :is([data-treat="team-portraits"], [data-treat="team-bio"], [data-treat="team-names"]) [data-slot="chip"] { border-radius: 999px; }
|
|
49793
51347
|
|
|
51348
|
+
/* One person (issue 1629): the photo on the offset plate at its full step. With no photo the bio opens in the heading face under a hairline. */
|
|
51349
|
+
[data-skin="fulcrum"] [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"] { margin: 0 1rem 1rem 0; }
|
|
51350
|
+
[data-skin="fulcrum"] [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"]::before { inset: 1rem -1rem -1rem 1rem; }
|
|
51351
|
+
[data-skin="fulcrum"] [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"] > [data-slot="photo"] { aspect-ratio: 4 / 4.6; }
|
|
51352
|
+
[data-skin="fulcrum"] [data-slot="layout"][data-one-person] [data-team-about][data-has-photo="false"] > [data-slot="item-text"] { margin-top: 1.125rem; padding-top: 1.375rem; border-top: 1px solid var(--rb-surface-line-color); max-width: none; }
|
|
51353
|
+
[data-skin="fulcrum"] [data-slot="layout"][data-one-person] [data-team-about][data-has-photo="false"] > [data-slot="item-text"] > * { max-width: 34em; color: var(--rb-surface-heading-color); }
|
|
51354
|
+
[data-skin="fulcrum"] [data-slot="layout"][data-one-person] [data-team-about][data-has-photo="false"] > [data-slot="item-text"] > * + * { color: var(--rb-surface-text-color, inherit); }
|
|
51355
|
+
[data-skin="fulcrum"] [data-slot="layout"][data-one-person] [data-team-about][data-has-photo="false"] > [data-slot="item-text"] > :first-child { font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.4; letter-spacing: -0.01em; }
|
|
51356
|
+
[data-skin="fulcrum"] [data-slot="layout"][data-one-person="portrait"] [data-card-list] > [data-card-list-item]:only-child { gap: 2.25rem; }
|
|
51357
|
+
[data-skin="fulcrum"] [data-slot="layout"][data-one-person="portrait"] [data-card-list-item] [data-slot="item-title"] { font-size: 1.75rem; letter-spacing: -0.015em; }
|
|
51358
|
+
@container rb-site (max-width: 767px) {
|
|
51359
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
51360
|
+
[data-skin="fulcrum"]:is(*, :scope) [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"] { margin: 0 0.625rem 2.75rem 0; }
|
|
51361
|
+
[data-skin="fulcrum"]:is(*, :scope) [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"]::before { inset: 0.625rem -0.625rem -0.625rem 0.625rem; }
|
|
51362
|
+
[data-skin="fulcrum"]:is(*, :scope) [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"] > [data-slot="photo"] { aspect-ratio: 1 / 1; }
|
|
51363
|
+
[data-skin="fulcrum"]:is(*, :scope) [data-slot="layout"][data-one-person] [data-team-about][data-has-photo="false"] > [data-slot="item-text"] > :first-child { font-size: 1.3125rem; }
|
|
51364
|
+
}
|
|
51365
|
+
}
|
|
51366
|
+
|
|
49794
51367
|
|
|
49795
51368
|
/* ---------------------------------------------------- Prices (C2) */
|
|
49796
51369
|
[data-skin="fulcrum"] :is([data-treat="shop-prices"], [data-treat="shop-prices-featured"]) [data-slot="item-title"] { position: relative; padding-top: 1rem; font-size: 1.25rem; }
|
|
@@ -49840,6 +51413,13 @@ const containerResponsiveThemeCss = `/*
|
|
|
49840
51413
|
}
|
|
49841
51414
|
}
|
|
49842
51415
|
|
|
51416
|
+
/* ---------------------------------------------------- Visit (issue 1611) */
|
|
51417
|
+
/* map-beside, map-wide, map-entrance: the entrance photo sits on the offset plate; the wide map's sheet
|
|
51418
|
+
* opens with the start mark; the address takes the heading face. */
|
|
51419
|
+
[data-skin="fulcrum"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="headline"] { font-family: var(--font-heading); font-size: clamp(1.375rem, 2cqi, 1.625rem); font-weight: 400; line-height: 1.25; letter-spacing: -0.01em; }
|
|
51420
|
+
[data-skin="fulcrum"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"]::before { content: ""; display: block; width: var(--rb-skin-mark-length, 44px); height: var(--rb-skin-mark-weight, 2px); margin-bottom: -0.5rem; background: var(--rb-surface-mark-color); }
|
|
51421
|
+
[data-skin="fulcrum"] [data-arrangement][data-treat="map-entrance"] [data-slot="media"] { overflow: visible; margin: 0 var(--fulcrum-plate) var(--fulcrum-plate) 0; box-shadow: var(--fulcrum-plate-x) var(--fulcrum-plate-x) 0 var(--fulcrum-plate-colour); }
|
|
51422
|
+
|
|
49843
51423
|
/* =============================================================================
|
|
49844
51424
|
* Poster skin (issue 1575 Phase 1a, D14).
|
|
49845
51425
|
*
|
|
@@ -49986,13 +51566,25 @@ const containerResponsiveThemeCss = `/*
|
|
|
49986
51566
|
[data-skin="poster"] [data-treat="strip"] [data-slot="gallery"] [data-slot="sticker"] { position: absolute; top: -1.75rem; right: 12%; }
|
|
49987
51567
|
|
|
49988
51568
|
/* classic · band: the photo fills the section; the copy sits on a block that runs to the edge. */
|
|
49989
|
-
[data-skin="poster"] [data-treat="band"] > [data-slot="section"] { padding-top: clamp(14rem, 26cqi, 22rem); }
|
|
49990
|
-
[data-skin="poster"] [data-treat="band"] [data-slot="copy"] {
|
|
51569
|
+
[data-skin="poster"] :is([data-treat="band"], [data-treat="short-band"]) > [data-slot="section"] { padding-top: clamp(14rem, 26cqi, 22rem); }
|
|
51570
|
+
[data-skin="poster"] :is([data-treat="band"], [data-treat="short-band"]) [data-slot="copy"] {
|
|
49991
51571
|
max-width: min(46rem, 100%);
|
|
49992
51572
|
padding: clamp(1.75rem, 3cqi, 2.75rem) clamp(1.75rem, 3cqi, 2.75rem) clamp(2rem, 3.4cqi, 3rem);
|
|
49993
51573
|
border: var(--poster-edge);
|
|
49994
51574
|
box-shadow: var(--poster-lift) var(--poster-lift) 0 var(--poster-shadow);
|
|
49995
51575
|
}
|
|
51576
|
+
/* Short photo banner: the same block over a shallow strip of photo. */
|
|
51577
|
+
[data-skin="poster"] [data-treat="short-band"] > [data-slot="section"] { padding-top: clamp(6rem, 12cqi, 10.5rem); padding-bottom: clamp(2rem, 3.4cqi, 3rem); }
|
|
51578
|
+
[data-skin="poster"] [data-treat="short-band"][data-has-photo="false"] > [data-slot="section"] { padding-top: clamp(2rem, 3.4cqi, 3rem); }
|
|
51579
|
+
[data-skin="poster"] [data-treat="short-band"] [data-slot="copy"] { padding: clamp(1.25rem, 2cqi, 1.75rem) clamp(1.5rem, 3cqi, 2.75rem) clamp(1.375rem, 2.2cqi, 2rem); gap: 0.625rem; }
|
|
51580
|
+
/* With buttons, they sit beside the text in one row, so the banner keeps its height. */
|
|
51581
|
+
[data-skin="poster"] [data-treat="short-band"] [data-slot="copy"]:has(> [data-slot="actions"] > *) { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(1.5rem, 3cqi, 3rem); row-gap: 0; align-items: center; max-width: min(58rem, 100%); }
|
|
51582
|
+
[data-skin="poster"] [data-treat="short-band"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > * { grid-column: 1; }
|
|
51583
|
+
[data-skin="poster"] [data-treat="short-band"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="eyebrow"] { margin-bottom: 0.375rem; }
|
|
51584
|
+
[data-skin="poster"] [data-treat="short-band"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="lede"] { margin-top: 0.625rem; }
|
|
51585
|
+
[data-skin="poster"] [data-treat="short-band"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="actions"] { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; flex-wrap: nowrap; }
|
|
51586
|
+
/* One title size for every length: the extra hooks outrank the length steps. */
|
|
51587
|
+
[data-skin="poster"] [data-arrangement][data-treat="short-band"][data-length][data-has-photo] [data-slot="headline"] { font-size: clamp(1.875rem, 2.9cqi, 2.625rem); line-height: 0.94; }
|
|
49996
51588
|
|
|
49997
51589
|
/* page-head · numeral: no photo; with no facts to set huge, the title takes the measure over a heavy rule. */
|
|
49998
51590
|
[data-skin="poster"] [data-treat="numeral"] [data-slot="copy"] {
|
|
@@ -50249,7 +51841,11 @@ const containerResponsiveThemeCss = `/*
|
|
|
50249
51841
|
}
|
|
50250
51842
|
[data-skin="poster"]:is(*, :scope) [data-treat="slab"] [data-slot="media"] [data-slot="sticker"] { left: auto; right: 1rem; top: -0.875rem; font-size: 1.1875rem; }
|
|
50251
51843
|
[data-skin="poster"]:is(*, :scope) [data-treat="strip"] [data-slot="gallery"] { margin-inline: -1rem; }
|
|
50252
|
-
[data-skin="poster"]:is(*, :scope) [data-treat="band"] > [data-slot="section"] { padding-top: 13rem; }
|
|
51844
|
+
[data-skin="poster"]:is(*, :scope) :is([data-treat="band"], [data-treat="short-band"]) > [data-slot="section"] { padding-top: 13rem; }
|
|
51845
|
+
[data-skin="poster"]:is(*, :scope) [data-arrangement][data-treat="short-band"] > [data-slot="section"] { padding-top: 8.5rem; }
|
|
51846
|
+
[data-skin="poster"]:is(*, :scope) [data-arrangement][data-treat="short-band"][data-has-photo="false"] > [data-slot="section"] { padding-top: 2rem; }
|
|
51847
|
+
[data-skin="poster"]:is(*, :scope) [data-treat="short-band"] [data-slot="copy"]:has(> [data-slot="actions"] > *) { grid-template-columns: minmax(0, 1fr); }
|
|
51848
|
+
[data-skin="poster"]:is(*, :scope) [data-treat="short-band"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="actions"] { grid-column: 1; grid-row: auto; margin-top: 0.875rem; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
|
|
50253
51849
|
[data-skin="poster"]:is(*, :scope) [data-arrangement] [data-slot="head"] { grid-template-columns: minmax(0, 1fr); row-gap: 0.75rem; }
|
|
50254
51850
|
[data-skin="poster"]:is(*, :scope) [data-arrangement] [data-slot="head"] > [data-slot="intro"] { grid-column: 1; }
|
|
50255
51851
|
[data-skin="poster"]:is(*, :scope) [data-arrangement] [data-slot="heading"] { font-size: 3rem; }
|
|
@@ -50516,6 +52112,10 @@ const containerResponsiveThemeCss = `/*
|
|
|
50516
52112
|
}
|
|
50517
52113
|
}
|
|
50518
52114
|
|
|
52115
|
+
/* One person (issue 1629): the heading runs the width of the copy column, a step under a section title, beside the duotone slab. */
|
|
52116
|
+
[data-skin="poster"] [data-slot="layout"][data-one-person]:has(> [data-team-about]) > [data-slot="head"] { grid-template-columns: minmax(0, 1fr); }
|
|
52117
|
+
[data-skin="poster"] [data-slot="layout"][data-one-person]:has(> [data-team-about]) > [data-slot="head"] > [data-slot="heading"] { font-size: clamp(2.75rem, 5cqi, 4rem); }
|
|
52118
|
+
|
|
50519
52119
|
|
|
50520
52120
|
/* ---------------------------------------------------- Prices (C2) */
|
|
50521
52121
|
[data-skin="poster"] :is(:is([data-treat="shop-prices"], [data-treat="shop-prices-featured"]), [data-treat="shop-price-list"]) [data-slot="item-title"] { font-weight: 800; font-stretch: 62%; font-size: 2rem; }
|
|
@@ -50562,6 +52162,19 @@ const containerResponsiveThemeCss = `/*
|
|
|
50562
52162
|
}
|
|
50563
52163
|
}
|
|
50564
52164
|
|
|
52165
|
+
/* ---------------------------------------------------- Visit (issue 1611) */
|
|
52166
|
+
/* map-beside, map-wide, map-entrance: a loud bold address over ink-ruled hours; the entrance photo and
|
|
52167
|
+
* the wide map's sheet take the same ink frame and hard shadow as the map. The entrance photo keeps its
|
|
52168
|
+
* full colour, like gallery photos: its job is to help people recognise the real door. */
|
|
52169
|
+
[data-skin="poster"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="headline"] { font-family: var(--font-heading); font-size: clamp(1.5rem, 2.4cqi, 1.875rem); font-weight: 800; font-stretch: 75%; line-height: 1.05; }
|
|
52170
|
+
[data-skin="poster"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="schedule"] :is([data-slot="fact-label"], [data-slot="fact-value"]) { border-top: 2px solid var(--rb-surface-text-color); }
|
|
52171
|
+
[data-skin="poster"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="schedule"] [data-slot="row"]:last-child :is([data-slot="fact-label"], [data-slot="fact-value"]) { border-bottom: 2px solid var(--rb-surface-text-color); }
|
|
52172
|
+
[data-skin="poster"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"],
|
|
52173
|
+
[data-skin="poster"] [data-arrangement][data-treat="map-entrance"] [data-slot="media"] { border: 3px solid var(--rb-surface-text-color); box-shadow: var(--rb-skin-shadow-offset, 8px) var(--rb-skin-shadow-offset, 8px) 0 var(--rb-surface-text-color); }
|
|
52174
|
+
[data-skin="poster"] [data-arrangement][data-treat="map-entrance"] [data-slot="media"] { margin: 0 var(--rb-skin-shadow-offset, 8px) var(--rb-skin-shadow-offset, 8px) 0; }
|
|
52175
|
+
[data-skin="poster"] [data-arrangement][data-treat="map-entrance"] [data-slot="photo"] { filter: none; }
|
|
52176
|
+
[data-skin="poster"] [data-arrangement][data-treat="map-entrance"] [data-slot="media"]:has([data-slot="photo"])::after { content: none; }
|
|
52177
|
+
|
|
50565
52178
|
/* =============================================================================
|
|
50566
52179
|
* Lantern skin (issue 1575 Phase 1b, D10, D14).
|
|
50567
52180
|
*
|
|
@@ -50638,7 +52251,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
50638
52251
|
[data-skin="lantern"] [data-arrangement] [data-slot="head"]::before,
|
|
50639
52252
|
[data-skin="lantern"] [data-treat="arches"] [data-slot="copy"]::before,
|
|
50640
52253
|
[data-skin="lantern"] [data-treat="centred"] [data-slot="copy"]::before,
|
|
50641
|
-
[data-skin="lantern"] [data-treat="veil"][data-has-photo="false"] [data-slot="copy"]::before,
|
|
52254
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="false"] [data-slot="copy"]::before,
|
|
50642
52255
|
[data-skin="lantern"] [data-treat="quote-arch"] [data-slot="lead"] > [data-slot="quote"]::before {
|
|
50643
52256
|
content: "";
|
|
50644
52257
|
position: absolute;
|
|
@@ -50652,7 +52265,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
50652
52265
|
[data-skin="lantern"] [data-arrangement] [data-slot="head"]::after,
|
|
50653
52266
|
[data-skin="lantern"] [data-treat="arches"] [data-slot="copy"]::after,
|
|
50654
52267
|
[data-skin="lantern"] [data-treat="centred"] [data-slot="copy"]::after,
|
|
50655
|
-
[data-skin="lantern"] [data-treat="veil"][data-has-photo="false"] [data-slot="copy"]::after,
|
|
52268
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="false"] [data-slot="copy"]::after,
|
|
50656
52269
|
[data-skin="lantern"] [data-treat="quote-arch"] [data-slot="lead"] > [data-slot="quote"]::after {
|
|
50657
52270
|
content: "";
|
|
50658
52271
|
position: absolute;
|
|
@@ -50690,7 +52303,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
50690
52303
|
[data-skin="lantern"] [data-length="long"] [data-slot="headline"] { font-size: clamp(2.125rem, 3.4cqi, 3rem); line-height: 1.08; }
|
|
50691
52304
|
|
|
50692
52305
|
/* Centred copy shared by the centred hero treatments. */
|
|
50693
|
-
[data-skin="lantern"] :is([data-treat="arches"], [data-treat="centred"], [data-treat="veil"], [data-treat="arch-frame"]) [data-slot="copy"] {
|
|
52306
|
+
[data-skin="lantern"] :is([data-treat="arches"], [data-treat="centred"], [data-treat="veil"], [data-treat="short-veil"], [data-treat="arch-frame"]) [data-slot="copy"] {
|
|
50694
52307
|
position: relative;
|
|
50695
52308
|
grid-column: 1 / -1;
|
|
50696
52309
|
justify-items: center;
|
|
@@ -50699,9 +52312,9 @@ const containerResponsiveThemeCss = `/*
|
|
|
50699
52312
|
max-width: 56rem;
|
|
50700
52313
|
margin-inline: auto;
|
|
50701
52314
|
}
|
|
50702
|
-
[data-skin="lantern"] :is([data-treat="arches"], [data-treat="centred"], [data-treat="veil"]) [data-slot="copy"] { padding-top: 2.5rem; }
|
|
50703
|
-
[data-skin="lantern"] :is([data-treat="arches"], [data-treat="centred"], [data-treat="veil"], [data-treat="arch-frame"]) [data-slot="actions"] { justify-content: center; }
|
|
50704
|
-
[data-skin="lantern"] :is([data-treat="arches"], [data-treat="centred"], [data-treat="veil"], [data-treat="arch-frame"]) [data-slot="lede"] { text-align: center; }
|
|
52315
|
+
[data-skin="lantern"] :is([data-treat="arches"], [data-treat="centred"], [data-treat="veil"], [data-treat="short-veil"]) [data-slot="copy"] { padding-top: 2.5rem; }
|
|
52316
|
+
[data-skin="lantern"] :is([data-treat="arches"], [data-treat="centred"], [data-treat="veil"], [data-treat="short-veil"], [data-treat="arch-frame"]) [data-slot="actions"] { justify-content: center; }
|
|
52317
|
+
[data-skin="lantern"] :is([data-treat="arches"], [data-treat="centred"], [data-treat="veil"], [data-treat="short-veil"], [data-treat="arch-frame"]) [data-slot="lede"] { text-align: center; }
|
|
50705
52318
|
|
|
50706
52319
|
/* split · arch: one arched window beside a left-set title, lined inside. */
|
|
50707
52320
|
[data-skin="lantern"] [data-treat="arch"] [data-slot="frame"] { column-gap: var(--rb-skin-gutter, 32px); }
|
|
@@ -50744,16 +52357,16 @@ const containerResponsiveThemeCss = `/*
|
|
|
50744
52357
|
/* classic · veil: the photo fills the section; the copy is a band in the deepest tone
|
|
50745
52358
|
* at its foot (the copy slot is the card role, which Lantern maps to that tone). Under the
|
|
50746
52359
|
* type the band is the resolved opaque paint; above it the same paint fades up into the photo. */
|
|
50747
|
-
[data-skin="lantern"] [data-treat="veil"][data-has-photo="true"] [data-slot="section"] { padding-bottom: 0; padding-top: clamp(14rem, 26cqi, 22rem); overflow: clip; }
|
|
50748
|
-
[data-skin="lantern"] [data-treat="veil"] [data-slot="copy"] { max-width: none; padding: 3rem 0 4.5rem; }
|
|
50749
|
-
[data-skin="lantern"] [data-treat="veil"][data-has-photo="true"] [data-slot="copy"] {
|
|
52360
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="true"] [data-slot="section"] { padding-bottom: 0; padding-top: clamp(14rem, 26cqi, 22rem); overflow: clip; }
|
|
52361
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"]) [data-slot="copy"] { max-width: none; padding: 3rem 0 4.5rem; justify-content: center; }
|
|
52362
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="true"] [data-slot="copy"] {
|
|
50750
52363
|
margin-inline: calc(50% - 50cqi);
|
|
50751
52364
|
padding-inline: calc(50cqi - 50%);
|
|
50752
52365
|
}
|
|
50753
|
-
[data-skin="lantern"] [data-treat="veil"] [data-slot="copy"] > * { justify-self: center; max-width: 56rem; }
|
|
50754
|
-
[data-skin="lantern"] [data-treat="veil"][data-has-photo="true"] [data-slot="copy"] > [data-slot="lede"] { max-width: 34em; }
|
|
52366
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"]) [data-slot="copy"] > * { justify-self: center; max-width: 56rem; }
|
|
52367
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="true"] [data-slot="copy"] > [data-slot="lede"] { max-width: 34em; }
|
|
50755
52368
|
/* Above the band, the same resolved paint fades up into the photo. */
|
|
50756
|
-
[data-skin="lantern"] [data-treat="veil"][data-has-photo="true"] [data-slot="copy"]::before {
|
|
52369
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="true"] [data-slot="copy"]::before {
|
|
50757
52370
|
content: "";
|
|
50758
52371
|
position: absolute;
|
|
50759
52372
|
left: 0;
|
|
@@ -50769,8 +52382,8 @@ const containerResponsiveThemeCss = `/*
|
|
|
50769
52382
|
}
|
|
50770
52383
|
/* With a photo the copy pseudo is the fade (and in the arch frame it is the inner arch),
|
|
50771
52384
|
* so the lozenge sits on the headline. */
|
|
50772
|
-
[data-skin="lantern"] :is([data-treat="veil"][data-has-photo="true"], [data-treat="arch-frame"]) [data-slot="headline"] { position: relative; padding-top: 2.25rem; }
|
|
50773
|
-
[data-skin="lantern"] :is([data-treat="veil"][data-has-photo="true"], [data-treat="arch-frame"]) [data-slot="headline"]::before {
|
|
52385
|
+
[data-skin="lantern"] :is(:is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="true"], [data-treat="arch-frame"]) [data-slot="headline"] { position: relative; padding-top: 2.25rem; }
|
|
52386
|
+
[data-skin="lantern"] :is(:is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="true"], [data-treat="arch-frame"]) [data-slot="headline"]::before {
|
|
50774
52387
|
content: "";
|
|
50775
52388
|
position: absolute;
|
|
50776
52389
|
top: 0;
|
|
@@ -50780,7 +52393,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
50780
52393
|
transform: translateX(-50%);
|
|
50781
52394
|
background: linear-gradient(to right, var(--rb-surface-mark-color) 0 34px, transparent 34px 58px, var(--rb-surface-mark-color) 58px) center 4px / 92px 1px no-repeat;
|
|
50782
52395
|
}
|
|
50783
|
-
[data-skin="lantern"] :is([data-treat="veil"][data-has-photo="true"], [data-treat="arch-frame"]) [data-slot="headline"]::after {
|
|
52396
|
+
[data-skin="lantern"] :is(:is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="true"], [data-treat="arch-frame"]) [data-slot="headline"]::after {
|
|
50784
52397
|
content: "";
|
|
50785
52398
|
position: absolute;
|
|
50786
52399
|
top: 1px;
|
|
@@ -50790,12 +52403,19 @@ const containerResponsiveThemeCss = `/*
|
|
|
50790
52403
|
border: 1.5px solid var(--rb-surface-mark-color);
|
|
50791
52404
|
transform: translateX(-50%) rotate(45deg);
|
|
50792
52405
|
}
|
|
50793
|
-
[data-skin="lantern"] [data-treat="veil"][data-has-photo="false"] [data-slot="copy"] {
|
|
52406
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="false"] [data-slot="copy"] {
|
|
50794
52407
|
padding: 4.5rem 2.75rem 4rem;
|
|
50795
52408
|
border-radius: 12px;
|
|
50796
52409
|
max-width: 61rem;
|
|
50797
52410
|
}
|
|
50798
|
-
[data-skin="lantern"] [data-treat="veil"] [data-slot="caption"] { order: -1; }
|
|
52411
|
+
[data-skin="lantern"] :is([data-treat="veil"], [data-treat="short-veil"]) [data-slot="caption"] { order: -1; }
|
|
52412
|
+
/* Short photo banner: the same veil band at the foot of a shallow strip of photo. */
|
|
52413
|
+
[data-skin="lantern"] [data-treat="short-veil"][data-has-photo="true"] [data-slot="section"] { padding-top: clamp(9rem, 15cqi, 12.5rem); }
|
|
52414
|
+
[data-skin="lantern"] [data-treat="short-veil"] [data-slot="copy"] { padding: 1rem 0 2.25rem; gap: 0.625rem; }
|
|
52415
|
+
[data-skin="lantern"] [data-treat="short-veil"][data-has-photo="true"] [data-slot="copy"]::before { height: 6rem; }
|
|
52416
|
+
/* One title size for every length: the extra hooks outrank the length steps. */
|
|
52417
|
+
[data-skin="lantern"] [data-arrangement][data-treat="short-veil"][data-length][data-has-photo] [data-slot="headline"] { font-size: clamp(1.75rem, 2.9cqi, 2.625rem); line-height: 1.08; }
|
|
52418
|
+
[data-skin="lantern"] [data-treat="short-veil"][data-has-photo="false"] [data-slot="copy"] { padding: 2.5rem 2.75rem 2.25rem; }
|
|
50799
52419
|
|
|
50800
52420
|
/* page-head · centred: the title centred on the ground, the lozenge above it. */
|
|
50801
52421
|
[data-skin="lantern"] [data-treat="centred"] [data-slot="facts"] {
|
|
@@ -50832,7 +52452,7 @@ const containerResponsiveThemeCss = `/*
|
|
|
50832
52452
|
opacity: 0.55;
|
|
50833
52453
|
}
|
|
50834
52454
|
|
|
50835
|
-
[data-skin="lantern"] :is([data-treat="arch-frame"], [data-treat="veil"]) [data-slot="eyebrow"] { order: 5; }
|
|
52455
|
+
[data-skin="lantern"] :is([data-treat="arch-frame"], [data-treat="veil"], [data-treat="short-veil"]) [data-slot="eyebrow"] { order: 5; }
|
|
50836
52456
|
[data-skin="lantern"] [data-treat="arch-frame"][data-photo-count="1"] [data-slot="media"] { aspect-ratio: 16 / 7; }
|
|
50837
52457
|
[data-skin="lantern"] [data-treat="arch-frame"][data-photo-count="1"] [data-slot="media"] [data-slot="photo"] { border-radius: var(--lantern-arch-wide); }
|
|
50838
52458
|
[data-skin="lantern"] [data-treat="arch-frame"] [data-slot="media"] [data-slot="sticker"] { position: absolute; left: 50%; top: -1.5rem; transform: translateX(-50%); white-space: nowrap; }
|
|
@@ -51228,9 +52848,13 @@ const containerResponsiveThemeCss = `/*
|
|
|
51228
52848
|
[data-skin="lantern"]:is(*, :scope) [data-treat="arches"][data-photo-count="3"] [data-slot="gallery"] { grid-template-columns: 0.5fr 1fr 0.5fr; }
|
|
51229
52849
|
[data-skin="lantern"]:is(*, :scope) [data-treat="arches"] [data-slot="gallery"] [data-slot="media"] { aspect-ratio: 3 / 3.6; }
|
|
51230
52850
|
[data-skin="lantern"]:is(*, :scope) [data-treat="arches"] [data-slot="gallery"] [data-slot="sticker"] { bottom: 1.5rem; white-space: normal; width: max-content; max-width: 80%; }
|
|
51231
|
-
[data-skin="lantern"]:is(*, :scope) [data-treat="veil"][data-has-photo="true"] [data-slot="section"] { padding-top: 15rem; }
|
|
51232
|
-
[data-skin="lantern"]:is(*, :scope) [data-treat="veil"] [data-slot="copy"] { padding-bottom: 3rem; }
|
|
51233
|
-
[data-skin="lantern"]:is(*, :scope) [data-treat="veil"][data-has-photo="false"] [data-slot="copy"] { padding: 3.5rem 1.375rem 3rem; }
|
|
52851
|
+
[data-skin="lantern"]:is(*, :scope) :is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="true"] [data-slot="section"] { padding-top: 15rem; }
|
|
52852
|
+
[data-skin="lantern"]:is(*, :scope) :is([data-treat="veil"], [data-treat="short-veil"]) [data-slot="copy"] { padding-bottom: 3rem; }
|
|
52853
|
+
[data-skin="lantern"]:is(*, :scope) :is([data-treat="veil"], [data-treat="short-veil"])[data-has-photo="false"] [data-slot="copy"] { padding: 3.5rem 1.375rem 3rem; }
|
|
52854
|
+
[data-skin="lantern"]:is(*, :scope) [data-arrangement][data-treat="short-veil"][data-has-photo="true"] [data-slot="section"] { padding-top: 9.5rem; }
|
|
52855
|
+
[data-skin="lantern"]:is(*, :scope) [data-arrangement][data-treat="short-veil"] [data-slot="copy"] { padding-bottom: 1.75rem; }
|
|
52856
|
+
[data-skin="lantern"]:is(*, :scope) [data-arrangement][data-treat="short-veil"] [data-slot="actions"] { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
|
|
52857
|
+
[data-skin="lantern"]:is(*, :scope) [data-arrangement][data-treat="short-veil"][data-has-photo="false"] [data-slot="copy"] { padding: 2rem 1.375rem 1.75rem; }
|
|
51234
52858
|
[data-skin="lantern"]:is(*, :scope) [data-treat="centred"] [data-slot="facts"] > * + * { border-left: 0; border-top: var(--rb-skin-rule, 1px) solid var(--rb-surface-line-color); }
|
|
51235
52859
|
[data-skin="lantern"]:is(*, :scope) [data-treat="arch-frame"] [data-slot="copy"] { padding: 6.5rem 1.25rem 2.5rem; }
|
|
51236
52860
|
[data-skin="lantern"]:is(*, :scope) [data-treat="arch-frame"][data-photo-count="1"] [data-slot="media"] { aspect-ratio: 4 / 3; }
|
|
@@ -51752,6 +53376,38 @@ const containerResponsiveThemeCss = `/*
|
|
|
51752
53376
|
[data-skin="lantern"] :is([data-treat="team-portraits"], [data-treat="team-bio"]) [data-slot="photo"] { border-radius: 48% 48% var(--rb-skin-radius, 10px) var(--rb-skin-radius, 10px); }
|
|
51753
53377
|
[data-skin="lantern"] :is([data-treat="team-portraits"], [data-treat="team-bio"], [data-treat="team-names"]) [data-slot="chip"] { border-radius: 999px; }
|
|
51754
53378
|
|
|
53379
|
+
/* One person (issue 1629): the photo through the arched window with the bio set left beside it. With no photo the head stays centred over the bio on a lit panel. */
|
|
53380
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person]:has(> [data-team-about]) { column-gap: var(--rb-skin-gutter, 32px); }
|
|
53381
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="true"]) > [data-slot="head"] { justify-items: start; justify-self: start; text-align: left; margin: 0; }
|
|
53382
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="true"]) > [data-slot="head"] > [data-slot="heading"] { text-align: left; }
|
|
53383
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="true"]) > [data-slot="head"]::before { left: 0; transform: none; }
|
|
53384
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="true"]) > [data-slot="head"]::after { left: 41px; transform: rotate(45deg); }
|
|
53385
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"] { grid-column: 2 / 6; border-radius: var(--lantern-arch); overflow: hidden; }
|
|
53386
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"]::after { content: ""; position: absolute; inset: 10px 10px 0; border: 1px solid var(--rb-surface-text-color); border-bottom: 0; border-radius: var(--lantern-arch); opacity: 0.8; pointer-events: none; }
|
|
53387
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"] > [data-slot="photo"] { border-radius: 0; }
|
|
53388
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-meta"] { font-size: 1.125rem; font-weight: 400; }
|
|
53389
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-text"] { max-width: 31em; font-size: 1.25rem; line-height: 1.6; color: var(--rb-surface-text-color); }
|
|
53390
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="false"]) { display: block; }
|
|
53391
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="false"]) > [data-slot="head"] { margin-inline: auto; }
|
|
53392
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person] [data-team-about][data-has-photo="false"] > [data-slot="item-meta"] { text-align: center; }
|
|
53393
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person] [data-team-about][data-has-photo="false"] > [data-slot="item-text"] { max-width: 47.5rem; margin: 2.25rem auto 0; padding: 2.5rem 3rem; border-radius: var(--rb-skin-radius, 10px); background: rgb(var(--tb-surface)); color: rgb(var(--tb-onSurface)); }
|
|
53394
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person="portrait"] [data-card-list] > [data-card-list-item]:only-child { flex-direction: column; gap: 1.375rem; }
|
|
53395
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person="portrait"] [data-card-list] > [data-card-list-item] { text-align: center; }
|
|
53396
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person="portrait"] [data-card-list] > [data-card-list-item]:only-child > [data-slot="item-media"] { width: 13.75rem; }
|
|
53397
|
+
[data-skin="lantern"] [data-slot="layout"][data-one-person="portrait"] [data-card-list] > [data-card-list-item]:only-child > [data-slot="item-body"] { align-items: center; }
|
|
53398
|
+
@container rb-site (max-width: 767px) {
|
|
53399
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
53400
|
+
[data-skin="lantern"]:is(*, :scope) [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="true"]) > [data-slot="head"] { justify-items: center; justify-self: center; text-align: center; margin-inline: auto; }
|
|
53401
|
+
[data-skin="lantern"]:is(*, :scope) [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="true"]) > [data-slot="head"] > [data-slot="heading"] { text-align: center; }
|
|
53402
|
+
[data-skin="lantern"]:is(*, :scope) [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="true"]) > [data-slot="head"]::before { left: 50%; transform: translateX(-50%); }
|
|
53403
|
+
[data-skin="lantern"]:is(*, :scope) [data-slot="layout"][data-one-person]:has(> [data-team-about][data-has-photo="true"]) > [data-slot="head"]::after { left: 50%; transform: translateX(-50%) rotate(45deg); }
|
|
53404
|
+
[data-skin="lantern"]:is(*, :scope) [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-media"] { width: min(250px, 100%); margin: 0 auto 2.25rem; }
|
|
53405
|
+
[data-skin="lantern"]:is(*, :scope) [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-meta"] { align-self: stretch; text-align: center; }
|
|
53406
|
+
[data-skin="lantern"]:is(*, :scope) [data-slot="layout"][data-one-person] [data-team-about] > [data-slot="item-text"] { font-size: 1.15625rem; }
|
|
53407
|
+
[data-skin="lantern"]:is(*, :scope) [data-slot="layout"][data-one-person] [data-team-about][data-has-photo="false"] > [data-slot="item-text"] { padding: 1.75rem 1.5rem; }
|
|
53408
|
+
}
|
|
53409
|
+
}
|
|
53410
|
+
|
|
51755
53411
|
|
|
51756
53412
|
/* ---------------------------------------------------- Prices (C2) */
|
|
51757
53413
|
[data-skin="lantern"] :is([data-treat="shop-prices"], [data-treat="shop-prices-featured"]) [data-slot="item-body"] { align-items: center; text-align: center; padding-block: 2rem; }
|
|
@@ -51820,6 +53476,19 @@ const containerResponsiveThemeCss = `/*
|
|
|
51820
53476
|
[data-skin="lantern"] [data-arrangement][data-treat="arches"] [data-card-list-item] [data-slot="item-body"] { align-items: center; padding: 0; }
|
|
51821
53477
|
[data-skin="lantern"] [data-arrangement][data-treat="arches"] [data-card-list-item] [data-slot="facts"] { justify-content: center; }
|
|
51822
53478
|
|
|
53479
|
+
/* ---------------------------------------------------- Visit (issue 1611) */
|
|
53480
|
+
/* map-beside, map-wide, map-entrance: the entrance photo under the arch, the address in the display
|
|
53481
|
+
* face, and the wide map's sheet softly rounded. */
|
|
53482
|
+
[data-skin="lantern"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="headline"] { font-family: var(--font-heading); font-size: clamp(1.375rem, 2cqi, 1.625rem); font-weight: 400; line-height: 1.25; }
|
|
53483
|
+
[data-skin="lantern"] [data-arrangement][data-treat="map-entrance"] [data-slot="photo"] { border-radius: var(--lantern-arch); }
|
|
53484
|
+
[data-skin="lantern"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"] { border-radius: var(--rb-skin-radius, 12px); }
|
|
53485
|
+
|
|
53486
|
+
/* One offering in a catalogue reads left to right beside its dates, so the
|
|
53487
|
+
* centred column and its niche (made for a row of columns) stand down. */
|
|
53488
|
+
[data-skin="lantern"] [data-has-one-offering] [data-card-list] [data-card-list-item][data-slot="item"] [data-slot="item-body"]::before { display: none; }
|
|
53489
|
+
[data-skin="lantern"] [data-has-one-offering] [data-card-list] [data-card-list-item][data-slot="item"],
|
|
53490
|
+
[data-skin="lantern"] [data-has-one-offering] [data-card-list] [data-card-list-item][data-slot="item"] [data-slot="item-body"] { justify-items: start; text-align: start; }
|
|
53491
|
+
|
|
51823
53492
|
/* =============================================================================
|
|
51824
53493
|
* Measure skin (issue 1575 Phase 1b, D14).
|
|
51825
53494
|
*
|
|
@@ -52509,6 +54178,12 @@ const containerResponsiveThemeCss = `/*
|
|
|
52509
54178
|
[data-skin="measure"] [data-arrangement][data-treat="cta-figure"] [data-slot="heading"] { font-size: clamp(2rem, 3.6cqi, 2.875rem); font-weight: 500; font-stretch: 88%; line-height: 1.04; letter-spacing: -0.025em; }
|
|
52510
54179
|
[data-skin="measure"] [data-arrangement][data-treat="cta-figure"] [data-slot="intro"] { font-size: 1rem; line-height: 1.6; }
|
|
52511
54180
|
|
|
54181
|
+
/* ---------------------------------------------------- Visit (issue 1611) */
|
|
54182
|
+
/* map-beside, map-wide, map-entrance: the title hangs in the rail; the wide map's sheet opens with a
|
|
54183
|
+
* heavy rule in the mark colour, square like the map. */
|
|
54184
|
+
[data-skin="measure"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="headline"] { font-family: var(--font-heading); font-size: clamp(1.25rem, 1.8cqi, 1.5rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
|
|
54185
|
+
[data-skin="measure"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"] { box-shadow: inset 0 var(--rb-skin-mark-weight, 4px) 0 var(--rb-surface-mark-color); }
|
|
54186
|
+
|
|
52512
54187
|
/* Folio: serif sheets, quiet rules and full-colour photographs. */
|
|
52513
54188
|
[data-skin="folio"] [data-arrangement] [data-slot="section"] { --rb-section-pad-y: clamp(60px, 7.5cqi, 106px); }
|
|
52514
54189
|
[data-skin="folio"] [data-arrangement][data-length] [data-slot="section"] { --rb-section-pad-y: clamp(60px, 7.5cqi, 106px); }
|
|
@@ -52527,11 +54202,22 @@ const containerResponsiveThemeCss = `/*
|
|
|
52527
54202
|
[data-skin="folio"] [data-arrangement] [data-control="link"]:hover { text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
|
|
52528
54203
|
|
|
52529
54204
|
/* Hero: the surface resolver owns the copy sheet. Authored backgrounds stay authored. */
|
|
52530
|
-
[data-skin="folio"] [data-treat="hero-panel"] [data-slot="section"] { padding-top: 140px; padding-bottom: clamp(48px, 7cqi, 96px); min-height: clamp(560px, 54cqi, 820px); box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-end; }
|
|
52531
|
-
[data-skin="folio"] [data-treat="hero-panel"] [data-slot="section"] > [data-slot="frame"] { width: 100%; }
|
|
52532
|
-
[data-skin="folio"] [data-treat="hero-panel"] [data-slot="copy"] { position: relative; width: fit-content; max-width: min(46rem, 100%); padding: clamp(28px, 3.2cqi, 44px) clamp(28px, 3.4cqi, 48px); border-radius: 10px; box-shadow: none; gap: 24px; }
|
|
52533
|
-
[data-skin="folio"] [data-treat="hero-panel"] [data-slot="copy"]::before { content: ""; position: absolute; top: 0; left: clamp(28px, 3.4cqi, 48px); width: 44px; height: 2px; background: var(--rb-surface-mark-color); }
|
|
52534
|
-
[data-skin="folio"] [data-treat="hero-panel"] [data-slot="headline"] { font-size: clamp(2.25rem, 1.5rem + 2.2cqi, 3.25rem); line-height: 1.06; }
|
|
54205
|
+
[data-skin="folio"] :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="section"] { padding-top: 140px; padding-bottom: clamp(48px, 7cqi, 96px); min-height: clamp(560px, 54cqi, 820px); box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-end; }
|
|
54206
|
+
[data-skin="folio"] :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="section"] > [data-slot="frame"] { width: 100%; }
|
|
54207
|
+
[data-skin="folio"] :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="copy"] { position: relative; width: fit-content; max-width: min(46rem, 100%); padding: clamp(28px, 3.2cqi, 44px) clamp(28px, 3.4cqi, 48px); border-radius: 10px; box-shadow: none; gap: 24px; }
|
|
54208
|
+
[data-skin="folio"] :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="copy"]::before { content: ""; position: absolute; top: 0; left: clamp(28px, 3.4cqi, 48px); width: 44px; height: 2px; background: var(--rb-surface-mark-color); }
|
|
54209
|
+
[data-skin="folio"] :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="headline"] { font-size: clamp(2.25rem, 1.5rem + 2.2cqi, 3.25rem); line-height: 1.06; }
|
|
54210
|
+
/* Short photo banner: the same sheet over a shallow strip of photo. */
|
|
54211
|
+
[data-skin="folio"] [data-treat="hero-short-panel"] [data-slot="section"] { padding-top: 128px; padding-bottom: clamp(32px, 3.4cqi, 48px); min-height: clamp(340px, 28cqi, 420px); }
|
|
54212
|
+
[data-skin="folio"] [data-treat="hero-short-panel"] [data-slot="copy"] { padding: clamp(22px, 2.2cqi, 30px) clamp(28px, 3.4cqi, 48px); gap: 10px; }
|
|
54213
|
+
/* With buttons, they sit beside the text in one row, so the banner keeps its height. */
|
|
54214
|
+
[data-skin="folio"] [data-treat="hero-short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(1.5rem, 3cqi, 3rem); row-gap: 0; align-items: center; max-width: min(58rem, 100%); }
|
|
54215
|
+
[data-skin="folio"] [data-treat="hero-short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > * { grid-column: 1; }
|
|
54216
|
+
[data-skin="folio"] [data-treat="hero-short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="eyebrow"] { margin-bottom: 0.375rem; }
|
|
54217
|
+
[data-skin="folio"] [data-treat="hero-short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="lede"] { margin-top: 0.625rem; }
|
|
54218
|
+
[data-skin="folio"] [data-treat="hero-short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="actions"] { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; flex-wrap: nowrap; }
|
|
54219
|
+
[data-skin="folio"] [data-treat="hero-short-panel"][data-has-photo="false"] [data-slot="section"] { padding-top: clamp(40px, 5cqi, 72px); min-height: 0; }
|
|
54220
|
+
[data-skin="folio"] [data-treat="hero-short-panel"] [data-slot="headline"] { font-size: clamp(1.75rem, 1.25rem + 1.4cqi, 2.375rem); line-height: 1.1; }
|
|
52535
54221
|
[data-skin="folio"] [data-treat="hero-framed"] [data-slot="frame"] { column-gap: clamp(32px, 5cqi, 72px); }
|
|
52536
54222
|
[data-skin="folio"] [data-treat="hero-framed"] [data-slot="media"] { aspect-ratio: 1 / 0.92; border-radius: 14px; overflow: hidden; }
|
|
52537
54223
|
[data-skin="folio"] [data-treat="hero-ruled"] [data-slot="copy"] { border-bottom: 1px solid var(--rb-surface-line-color); padding-bottom: 32px; }
|
|
@@ -52667,14 +54353,21 @@ const containerResponsiveThemeCss = `/*
|
|
|
52667
54353
|
[data-skin="folio"]:is(*, :scope) [data-arrangement] [data-slot="section"] { --rb-section-pad-y: 56px; }
|
|
52668
54354
|
[data-skin="folio"]:is(*, :scope) [data-arrangement][data-length] [data-slot="section"] { --rb-section-pad-y: 56px; }
|
|
52669
54355
|
[data-skin="folio"]:is(*, :scope) :is([data-slot="schedule-section"], [data-slot="shop-section"]) { --rb-section-pad-y: 56px; }
|
|
52670
|
-
[data-skin="folio"]:is(*, :scope) [data-treat="hero-panel"] [data-slot="section"] { padding-top: 0; padding-bottom: 0; min-height: 0; display: block; }
|
|
52671
|
-
[data-skin="folio"]:is(*, :scope) [data-treat="hero-panel"] [data-slot="section"] > [data-slot="background"] { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 5; }
|
|
52672
|
-
[data-skin="folio"]:is(*, :scope) [data-treat="hero-panel"] [data-slot="section"] > [data-slot="background"] [data-slot="photo"] { width: 100%; height: 100%; }
|
|
52673
|
-
[data-skin="folio"]:is(*, :scope) [data-treat="hero-panel"] [data-slot="frame"] { margin-top: -72px; padding-top: 0; padding-bottom: 8px; }
|
|
54356
|
+
[data-skin="folio"]:is(*, :scope) :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="section"] { padding-top: 0; padding-bottom: 0; min-height: 0; display: block; }
|
|
54357
|
+
[data-skin="folio"]:is(*, :scope) :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="section"] > [data-slot="background"] { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 5; }
|
|
54358
|
+
[data-skin="folio"]:is(*, :scope) :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="section"] > [data-slot="background"] [data-slot="photo"] { width: 100%; height: 100%; }
|
|
54359
|
+
[data-skin="folio"]:is(*, :scope) :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="frame"] { margin-top: -72px; padding-top: 0; padding-bottom: 8px; }
|
|
54360
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="hero-short-panel"] [data-slot="section"] > [data-slot="background"] { aspect-ratio: 4 / 3; }
|
|
54361
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="hero-short-panel"] [data-slot="frame"] { margin-top: -44px; }
|
|
54362
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="hero-short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) { grid-template-columns: minmax(0, 1fr); }
|
|
54363
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="hero-short-panel"] [data-slot="copy"]:has(> [data-slot="actions"] > *) > [data-slot="actions"] { grid-column: 1; grid-row: auto; margin-top: 0.875rem; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
|
|
54364
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="hero-short-panel"][data-has-photo="false"] [data-slot="section"] { padding-top: 24px; }
|
|
54365
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="hero-short-panel"][data-has-photo="false"] [data-slot="section"] > [data-slot="background"] { aspect-ratio: auto; height: 0; }
|
|
54366
|
+
[data-skin="folio"]:is(*, :scope) [data-treat="hero-short-panel"][data-has-photo="false"] [data-slot="frame"] { margin-top: 0; }
|
|
52674
54367
|
[data-skin="folio"]:is(*, :scope) [data-arrangement] [data-slot="frame"] > * { grid-column: 1 / -1; }
|
|
52675
54368
|
[data-skin="folio"]:is(*, :scope) [data-arrangement][data-knob-image-position] [data-slot="frame"] > * { grid-column: 1 / -1; }
|
|
52676
54369
|
[data-skin="folio"]:is(*, :scope) [data-treat="intro-ruled-split"] [data-slot="copy"] { border-left: 0; padding-left: 0; }
|
|
52677
|
-
[data-skin="folio"]:is(*, :scope) [data-treat="hero-panel"] [data-slot="copy"] { max-width: none; }
|
|
54370
|
+
[data-skin="folio"]:is(*, :scope) :is([data-treat="hero-panel"], [data-treat="hero-short-panel"]) [data-slot="copy"] { max-width: none; }
|
|
52678
54371
|
[data-skin="folio"]:is(*, :scope) [data-treat="hero-panel"] [data-slot="actions"] { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
|
|
52679
54372
|
[data-skin="folio"]:is(*, :scope) [data-treat="hero-panel"] [data-slot="actions"] > * { box-sizing: border-box; width: 100%; justify-content: center; min-height: 48px; }
|
|
52680
54373
|
[data-skin="folio"]:is(*, :scope) [data-treat="calendar-card"] [data-slot="list"] { padding: 4px 16px; }
|
|
@@ -52869,7 +54562,313 @@ const containerResponsiveThemeCss = `/*
|
|
|
52869
54562
|
[data-skin="folio"] [data-arrangement][data-treat="cta-figure"] [data-slot="figure-label"] { padding-top: 0.875rem; border-top: 1px solid var(--rb-surface-line-color); font-size: 1rem; }
|
|
52870
54563
|
[data-skin="folio"] [data-arrangement][data-treat="cta-figure"] [data-slot="head"] { margin-bottom: 0; }
|
|
52871
54564
|
[data-skin="folio"] [data-arrangement][data-treat="cta-figure"] [data-slot="heading"] { font-size: clamp(2rem, 1.4rem + 2cqi, 2.875rem); }
|
|
52872
|
-
[data-skin="folio"] [data-arrangement][data-treat="cta-figure"] [data-slot="intro"] { font-size: 1.0625rem; line-height: 1.7; }
|
|
54565
|
+
[data-skin="folio"] [data-arrangement][data-treat="cta-figure"] [data-slot="intro"] { font-size: 1.0625rem; line-height: 1.7; }
|
|
54566
|
+
|
|
54567
|
+
/* ---------------------------------------------------- Visit (issue 1611) */
|
|
54568
|
+
/* map-beside, map-wide, map-entrance: the address in the serif under a thin mark; the entrance photo
|
|
54569
|
+
* and the wide map's sheet take the soft radius. */
|
|
54570
|
+
[data-skin="folio"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="headline"] { font-family: var(--font-heading); font-size: clamp(1.375rem, 2cqi, 1.625rem); font-weight: 500; line-height: 1.25; }
|
|
54571
|
+
[data-skin="folio"] [data-arrangement]:is([data-treat="map-beside"], [data-treat="map-wide"], [data-treat="map-entrance"]) [data-slot="copy"]::before { content: ""; display: block; width: var(--rb-skin-mark-length, 44px); height: var(--rb-skin-mark-weight, 2px); margin-bottom: 0.625rem; background: var(--rb-surface-mark-color); }
|
|
54572
|
+
[data-skin="folio"] [data-arrangement][data-treat="map-wide"] [data-slot="panel"],
|
|
54573
|
+
[data-skin="folio"] [data-arrangement][data-treat="map-entrance"] [data-slot="media"] { border-radius: var(--rb-skin-radius, 10px); }
|
|
54574
|
+
|
|
54575
|
+
/* Live next dates use the same card parts in every arrangement. */
|
|
54576
|
+
[data-skin="folio"] [data-card-list-item] [data-slot="dates"] { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
|
|
54577
|
+
[data-skin="folio"] [data-card-list-item] [data-slot="dates"] [data-slot="date"] { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 0.75rem; padding-block: 0.625rem; border-top: var(--rb-skin-rule, 1px) solid var(--rb-surface-line-color); text-align: start; font-variant-numeric: tabular-nums; }
|
|
54578
|
+
[data-skin="folio"] [data-card-list-item] [data-slot="date-places"] { color: var(--rb-surface-muted-color, var(--rb-surface-text-color)); font-size: 0.875rem; }
|
|
54579
|
+
|
|
54580
|
+
/* =============================================================================
|
|
54581
|
+
* Loom skin.
|
|
54582
|
+
*
|
|
54583
|
+
* Textile craft: sections are stitched together with dashed seams, cards and
|
|
54584
|
+
* photo frames are sheets with a stitched edge and a flat offset patch behind
|
|
54585
|
+
* them, and a short solid tack ties text to the seams. Grounds are flat.
|
|
54586
|
+
*
|
|
54587
|
+
* Bounded skin: only the shared hooks and slots, colours only from tokens and
|
|
54588
|
+
* resolved-surface variables, measurements from the --rb-skin-* tokens Loom
|
|
54589
|
+
* declares (radius, rule, mark-length, mark-weight, plate, gutter, copy-gap,
|
|
54590
|
+
* stack-gap, shadow-offset).
|
|
54591
|
+
*
|
|
54592
|
+
* How this file is organised (later slices keep to it):
|
|
54593
|
+
* 1. Thread: the local --loom-* properties every stitch is drawn from.
|
|
54594
|
+
* 2. Section chrome: padding, the seam, section heads, shared type.
|
|
54595
|
+
* 3. Shared pieces: sheets, photo frames, the tack, links, focus.
|
|
54596
|
+
* 4. Blocks, one banner each, in this order: hero, feature cards, event
|
|
54597
|
+
* calendar, testimonials, FAQ, call to action, newsletter signup. A block
|
|
54598
|
+
* keeps its own narrow-screen rules directly under its wide rules.
|
|
54599
|
+
* Treatments are addressed as [data-skin="loom"] [data-treat="<name>"] and a
|
|
54600
|
+
* shared piece is joined by adding the treatment to the :is() list of that piece.
|
|
54601
|
+
* ============================================================================= */
|
|
54602
|
+
|
|
54603
|
+
/* ---------------------------------------------------------------- 1. Thread */
|
|
54604
|
+
/* Surface variables live on slots, not on the block root, so every --loom-* property is defined on slots.
|
|
54605
|
+
* The thread is the stitching colour. On the grounds the palette designs for (page, band and sheet) it is
|
|
54606
|
+
* the border token, the palette contrast thread. Anywhere else (the brand field, the deep field, a ground
|
|
54607
|
+
* the owner chose) it is the surface text colour, which the resolver has already checked. */
|
|
54608
|
+
[data-skin="loom"] [data-arrangement] [data-slot] {
|
|
54609
|
+
--loom-thread: var(--rb-surface-text-color);
|
|
54610
|
+
--loom-stitch: var(--rb-skin-rule, 2px) dashed var(--loom-thread);
|
|
54611
|
+
--loom-patch: var(--rb-skin-shadow-offset, 3px) var(--rb-skin-shadow-offset, 3px) 0 var(--loom-thread);
|
|
54612
|
+
--loom-inner-radius: calc(var(--rb-skin-radius, 14px) / 2);
|
|
54613
|
+
}
|
|
54614
|
+
[data-skin="loom"] [data-arrangement]:is([data-surface="background"], [data-surface="surfaceAlt"]) [data-slot] { --loom-thread: rgb(var(--tb-border)); }
|
|
54615
|
+
[data-skin="loom"] [data-arrangement] [data-slot]:is([data-surface="primary"], [data-surface="secondary"], [data-surface="text"]),
|
|
54616
|
+
[data-skin="loom"] [data-arrangement] :is([data-surface="primary"], [data-surface="secondary"], [data-surface="text"]) [data-slot] { --loom-thread: var(--rb-surface-text-color); }
|
|
54617
|
+
[data-skin="loom"] [data-arrangement] [data-slot]:is([data-surface="surface"], [data-surface="background"], [data-surface="surfaceAlt"]),
|
|
54618
|
+
[data-skin="loom"] [data-arrangement] :is([data-surface="surface"], [data-surface="background"], [data-surface="surfaceAlt"]) [data-slot] { --loom-thread: rgb(var(--tb-border)); }
|
|
54619
|
+
|
|
54620
|
+
/* ------------------------------------------------------- 2. Section chrome */
|
|
54621
|
+
/* Every section opens with a seam drawn on its own ground in its own thread. */
|
|
54622
|
+
[data-skin="loom"] [data-arrangement] [data-slot="section"] { --rb-section-pad-y: clamp(3rem, 7cqi, 5.5rem); }
|
|
54623
|
+
[data-skin="loom"] [data-arrangement][data-length] [data-slot="section"] { --rb-section-pad-y: clamp(3rem, 7cqi, 5.5rem); }
|
|
54624
|
+
[data-skin="loom"] [data-arrangement] [data-slot="section"]::before { content: ""; position: absolute; inset: 0 0 auto; border-top: var(--loom-stitch); pointer-events: none; }
|
|
54625
|
+
|
|
54626
|
+
/* Section heads: a serif title with an optional muted line under it. No kicker. */
|
|
54627
|
+
[data-skin="loom"] [data-arrangement] [data-slot="head"] { gap: 0.6rem; max-width: 46rem; margin-bottom: clamp(1.75rem, 4cqi, 2.75rem); }
|
|
54628
|
+
[data-skin="loom"] [data-arrangement] [data-slot="heading"] { font-size: clamp(1.8rem, 3.4cqi, 2.6rem); font-weight: 560; line-height: 1.12; letter-spacing: -0.008em; text-wrap: balance; overflow-wrap: anywhere; }
|
|
54629
|
+
[data-skin="loom"] [data-arrangement] [data-slot="head"] [data-slot="intro"] { --rb-surface-supporting-color: var(--rb-surface-muted-color); font-size: 1.1rem; line-height: 1.55; color: var(--rb-surface-muted-color); text-wrap: pretty; }
|
|
54630
|
+
[data-skin="loom"] [data-arrangement] [data-slot="head"] [data-slot="intro"] > * { margin: 0; font: inherit; color: inherit; }
|
|
54631
|
+
[data-skin="loom"] [data-arrangement] [data-slot="item-title"] { font-size: 1.35rem; font-weight: 560; line-height: 1.25; letter-spacing: 0; text-wrap: balance; }
|
|
54632
|
+
[data-skin="loom"] [data-arrangement] [data-slot="lede"] { font-size: 1.2rem; line-height: 1.55; text-wrap: pretty; }
|
|
54633
|
+
|
|
54634
|
+
/* The eyebrow is rare (hero, page head, event header) and always leads with a tack. */
|
|
54635
|
+
[data-skin="loom"] [data-arrangement] [data-slot="eyebrow"] { display: flex; align-items: center; gap: 0.65rem; font: 700 0.8rem/1.4 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; }
|
|
54636
|
+
[data-skin="loom"] [data-arrangement] [data-slot="eyebrow"]::before { content: ""; flex: none; width: var(--rb-skin-mark-length, 30px); height: var(--rb-skin-mark-weight, 4px); border-radius: 2px; background: var(--rb-surface-mark-color); }
|
|
54637
|
+
|
|
54638
|
+
/* Headline steps: the length class and the knob pick the step, the browser never measures. */
|
|
54639
|
+
[data-skin="loom"] [data-arrangement] [data-slot="headline"] { font-weight: 600; line-height: 1.04; letter-spacing: -0.012em; overflow-wrap: anywhere; }
|
|
54640
|
+
[data-skin="loom"] [data-length="short"][data-knob-headline="display"] [data-slot="headline"] { font-size: clamp(3.2rem, 8cqi, 6rem); }
|
|
54641
|
+
[data-skin="loom"] [data-length="short"][data-knob-headline="auto"] [data-slot="headline"],
|
|
54642
|
+
[data-skin="loom"] [data-length="medium"][data-knob-headline="display"] [data-slot="headline"] { font-size: clamp(2.6rem, 6cqi, 4.5rem); }
|
|
54643
|
+
[data-skin="loom"] [data-length="short"][data-knob-headline="quiet"] [data-slot="headline"],
|
|
54644
|
+
[data-skin="loom"] [data-length="medium"][data-knob-headline="auto"] [data-slot="headline"],
|
|
54645
|
+
[data-skin="loom"] [data-length="long"][data-knob-headline="display"] [data-slot="headline"] { font-size: clamp(2.1rem, 4.6cqi, 3.4rem); line-height: 1.08; }
|
|
54646
|
+
[data-skin="loom"] [data-length="medium"][data-knob-headline="quiet"] [data-slot="headline"],
|
|
54647
|
+
[data-skin="loom"] [data-length="long"][data-knob-headline="auto"] [data-slot="headline"],
|
|
54648
|
+
[data-skin="loom"] [data-length="long"][data-knob-headline="quiet"] [data-slot="headline"] { font-size: clamp(1.9rem, 3.8cqi, 2.8rem); line-height: 1.1; }
|
|
54649
|
+
|
|
54650
|
+
/* -------------------------------------------------------- 3. Shared pieces */
|
|
54651
|
+
/* Sheets: an item that owns a surface is a card with a stitched edge and a flat patch behind it. */
|
|
54652
|
+
[data-skin="loom"] [data-arrangement] [data-slot="item"][data-surface]:not([data-surface="section"]) { border: var(--loom-stitch); border-radius: var(--rb-skin-radius, 14px); box-shadow: var(--loom-patch); }
|
|
54653
|
+
|
|
54654
|
+
/* Photo frames: the photo sits inside a stitched frame, one plate in from the edge. */
|
|
54655
|
+
[data-skin="loom"] :is([data-treat="hero-framed"]) [data-slot="media"] { border: var(--loom-stitch); border-radius: var(--rb-skin-radius, 14px); box-shadow: var(--loom-patch); overflow: visible; }
|
|
54656
|
+
[data-skin="loom"] [data-arrangement]:is([data-treat="hero-framed"]) [data-slot="media"] [data-slot="photo"] { inset: var(--rb-skin-plate, 10px); width: calc(100% - 2 * var(--rb-skin-plate, 10px)); height: calc(100% - 2 * var(--rb-skin-plate, 10px)); border-radius: var(--loom-inner-radius); }
|
|
54657
|
+
|
|
54658
|
+
/* The tack: a short solid bar in the mark colour over a card title. */
|
|
54659
|
+
[data-skin="loom"] :is([data-treat="cards-sewn"]) [data-slot="item-title"]::before { content: ""; display: block; width: var(--rb-skin-mark-length, 30px); height: var(--rb-skin-mark-weight, 4px); margin-bottom: 0.85rem; border-radius: 2px; background: var(--rb-surface-mark-color); }
|
|
54660
|
+
|
|
54661
|
+
/* Links in running text: a solid underline in the mark colour. Dashes are kept for seams and edges. */
|
|
54662
|
+
[data-skin="loom"] [data-arrangement] [data-control="link"] { text-decoration-line: underline; text-decoration-style: solid; text-decoration-color: var(--rb-surface-mark-color); text-decoration-thickness: 2px; text-underline-offset: 4px; }
|
|
54663
|
+
[data-skin="loom"] [data-arrangement] [data-slot="item-title"] > :focus-visible { outline: 3px solid var(--rb-surface-mark-color); outline-offset: 3px; border-radius: 4px; }
|
|
54664
|
+
|
|
54665
|
+
/* ------------------------------------------------------------------- Hero */
|
|
54666
|
+
/* hero-framed: copy in seven columns, a tall stitched frame in five, the sticker sewn onto the frame corner. */
|
|
54667
|
+
[data-skin="loom"] [data-treat="hero-framed"] [data-slot="frame"] { column-gap: clamp(2rem, 5cqi, 4rem); }
|
|
54668
|
+
[data-skin="loom"] [data-arrangement][data-treat="hero-framed"] [data-slot="copy"] { grid-column: 1 / 8; }
|
|
54669
|
+
[data-skin="loom"] [data-arrangement][data-treat="hero-framed"] [data-slot="media"] { grid-column: 8 / 13; align-self: center; aspect-ratio: 4 / 5; max-height: 560px; }
|
|
54670
|
+
[data-skin="loom"] [data-arrangement][data-treat="hero-framed"][data-knob-image-position="left"] [data-slot="copy"] { grid-column: 6 / 13; }
|
|
54671
|
+
[data-skin="loom"] [data-arrangement][data-treat="hero-framed"][data-knob-image-position="left"] [data-slot="media"] { grid-column: 1 / 6; }
|
|
54672
|
+
[data-skin="loom"] [data-arrangement][data-treat="hero-framed"][data-has-photo="false"] [data-slot="copy"] { grid-column: 1 / -1; max-width: 46rem; margin-inline: 0 auto; }
|
|
54673
|
+
[data-skin="loom"] [data-treat="hero-framed"] [data-slot="stack"] { gap: 1.2rem; }
|
|
54674
|
+
[data-skin="loom"] [data-treat="hero-framed"] [data-slot="lede"] { max-width: 34rem; }
|
|
54675
|
+
[data-skin="loom"] [data-treat="hero-framed"] [data-slot="actions"] { margin-top: 0.6rem; gap: 0.9rem 1rem; }
|
|
54676
|
+
[data-skin="loom"] [data-arrangement][data-treat="hero-framed"] [data-slot="sticker"] { position: absolute; top: 1.75rem; left: -1.25rem; max-width: min(18rem, 80%); padding: 0.55rem 1.1rem; border-radius: 8px; outline: 1.5px solid var(--rb-surface-text-color); outline-offset: -5px; font-size: 0.9rem; font-weight: 700; line-height: 1.3; }
|
|
54677
|
+
@container rb-site (max-width: 767px) {
|
|
54678
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
54679
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="hero-framed"] [data-slot="frame"] { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
|
|
54680
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="hero-framed"] [data-slot="copy"],
|
|
54681
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="hero-framed"] [data-slot="media"],
|
|
54682
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="hero-framed"][data-knob-image-position="left"] [data-slot="copy"],
|
|
54683
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="hero-framed"][data-knob-image-position="left"] [data-slot="media"] { grid-column: 1 / -1; grid-row: auto; }
|
|
54684
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="hero-framed"] [data-slot="media"] { order: 1; aspect-ratio: 4 / 3; max-height: none; }
|
|
54685
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="hero-framed"] [data-slot="sticker"] { left: -0.5rem; top: 1.25rem; }
|
|
54686
|
+
}
|
|
54687
|
+
}
|
|
54688
|
+
@container rb-site (max-width: 639px) {
|
|
54689
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
54690
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement] [data-slot="lede"] { font-size: 1.1rem; }
|
|
54691
|
+
[data-skin="loom"]:is(*, :scope) [data-treat="hero-framed"] [data-slot="actions"] { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
|
|
54692
|
+
[data-skin="loom"]:is(*, :scope) [data-treat="hero-framed"] [data-slot="actions"] > * { box-sizing: border-box; width: 100%; justify-content: center; }
|
|
54693
|
+
}
|
|
54694
|
+
}
|
|
54695
|
+
|
|
54696
|
+
/* ---------------------------------------------------------- Feature cards */
|
|
54697
|
+
/* cards-sewn: three sheets across, no photos and no numerals, a tack over each title, muted text. */
|
|
54698
|
+
[data-skin="loom"] [data-arrangement][data-treat="cards-sewn"] [data-slot="items"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rb-skin-gutter, 24px); }
|
|
54699
|
+
[data-skin="loom"] [data-arrangement][data-treat="cards-sewn"] [data-slot="item-media"] { display: none; }
|
|
54700
|
+
[data-skin="loom"] [data-arrangement][data-treat="cards-sewn"] [data-slot="item"] > [data-slot="item-body"] { gap: 0.7rem; padding: 1.75rem; }
|
|
54701
|
+
[data-skin="loom"] [data-arrangement][data-treat="cards-sewn"] [data-slot="item-text"] { --rb-surface-supporting-color: var(--rb-surface-muted-color); flex: 1; color: var(--rb-surface-muted-color); line-height: 1.6; }
|
|
54702
|
+
[data-skin="loom"] [data-arrangement][data-treat="cards-sewn"] [data-slot="item-actions"] { margin-top: 0.4rem; }
|
|
54703
|
+
@container rb-site (max-width: 1023px) {
|
|
54704
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
54705
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="cards-sewn"] [data-slot="items"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
54706
|
+
}
|
|
54707
|
+
}
|
|
54708
|
+
@container rb-site (max-width: 639px) {
|
|
54709
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
54710
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="cards-sewn"] [data-slot="items"] { grid-template-columns: minmax(0, 1fr); }
|
|
54711
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="cards-sewn"] [data-slot="item"] > [data-slot="item-body"] { padding: 1.5rem; }
|
|
54712
|
+
}
|
|
54713
|
+
}
|
|
54714
|
+
|
|
54715
|
+
/* --------------------------------------------------------- Event calendar */
|
|
54716
|
+
/* calendar-session-cards: ticket rows. A big date numeral in the mark colour, then the title, the facts
|
|
54717
|
+
* with the places pill at the end of the line, and the action on the right. No photos.
|
|
54718
|
+
* The body is flattened into the row grid so the action can sit beside it, or under a seam on phones. */
|
|
54719
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="list"] { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
|
|
54720
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="item"] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.3rem 1.5rem; padding: 1.4rem 1.75rem; }
|
|
54721
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="item-media"] { display: none; }
|
|
54722
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="item"] > [data-slot="item-body"] { display: contents; }
|
|
54723
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="item"] > [data-slot="date"] { grid-column: 1; grid-row: 1 / span 3; align-items: center; gap: 0.25rem; min-width: 4.6rem; text-align: center; }
|
|
54724
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="date"] [data-slot="day"] { font-family: var(--font-heading); font-size: 42px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; color: var(--rb-surface-mark-color); }
|
|
54725
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="date"] :is([data-slot="weekday"], [data-slot="month"]) { font-size: 0.8rem; font-weight: 700; line-height: 1.2; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rb-surface-muted-color); }
|
|
54726
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] :is([data-slot="item-title"], [data-slot="item-meta"], [data-slot="item-text"]) { grid-column: 2; margin: 0; }
|
|
54727
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="item-meta"] { font-size: 0.95rem; line-height: 1.75; color: var(--rb-surface-muted-color); }
|
|
54728
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="item-text"] { font-size: 0.95rem; line-height: 1.5; color: var(--rb-surface-muted-color); }
|
|
54729
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-event-places] { display: inline-block; margin-left: 0.15rem; padding: 0.1rem 0.75rem; border: 1.5px solid var(--loom-thread); border-radius: 999px; font-size: 0.875rem; font-weight: 700; line-height: 1.5; white-space: nowrap; color: var(--rb-surface-text-color); }
|
|
54730
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="item-actions"] { grid-column: 3; grid-row: 1 / span 3; margin: 0; font-size: 0.95rem; font-weight: 700; color: var(--rb-surface-muted-color); }
|
|
54731
|
+
/* Week view: quiet outlined controls beside the date range. */
|
|
54732
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="navigation"] { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-bottom: 1.5rem; }
|
|
54733
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="navigation"] [data-slot="control"] { min-height: 44px; padding: 0.5rem 1rem; border: 2px solid var(--rb-surface-text-color); border-radius: 8px; background: transparent; color: var(--rb-surface-text-color); font: 700 0.95rem/1.2 var(--font-body); }
|
|
54734
|
+
[data-skin="loom"] [data-arrangement][data-treat="calendar-session-cards"] [data-slot="navigation"] [data-slot="group-label"] { font-weight: 700; font-variant-numeric: tabular-nums; }
|
|
54735
|
+
@container rb-site (max-width: 767px) {
|
|
54736
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
54737
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="calendar-session-cards"] [data-slot="item"] { grid-template-columns: auto minmax(0, 1fr); gap: 0.3rem 1.1rem; padding: 1.25rem; }
|
|
54738
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="calendar-session-cards"] [data-slot="item-actions"] { grid-column: 1 / -1; grid-row: auto; display: flex; justify-content: flex-end; margin-top: 0.7rem; padding-top: 1rem; border-top: var(--loom-stitch); }
|
|
54739
|
+
}
|
|
54740
|
+
}
|
|
54741
|
+
|
|
54742
|
+
/* ----------------------------------------------------------- Testimonials */
|
|
54743
|
+
/* quote-lead: one large centred quote on the ground under a hung mark, then the rest as quote cards. */
|
|
54744
|
+
[data-skin="loom"] [data-arrangement][data-treat="quote-lead"] [data-slot="items"] { gap: var(--rb-skin-gutter, 24px); }
|
|
54745
|
+
[data-skin="loom"] [data-arrangement][data-treat="quote-lead"] [data-slot="lead"] { justify-self: center; justify-items: center; gap: 1rem; max-width: 46rem; margin-bottom: 1rem; text-align: center; }
|
|
54746
|
+
[data-skin="loom"] [data-treat="quote-lead"] [data-slot="lead"] > [data-slot="quote"] { font-family: var(--font-heading); font-size: clamp(1.5rem, 3cqi, 2.1rem); font-style: italic; font-weight: 480; line-height: 1.35; text-wrap: pretty; }
|
|
54747
|
+
[data-skin="loom"] [data-treat="quote-lead"] [data-slot="lead"] > [data-slot="quote"]::before { content: "\\201C"; display: block; margin-bottom: 1rem; font-size: 54px; font-style: normal; line-height: 0.6; color: var(--rb-surface-mark-color); }
|
|
54748
|
+
[data-skin="loom"] [data-treat="quote-lead"] [data-slot="lead"] > [data-slot="attribution"] { justify-content: center; }
|
|
54749
|
+
[data-skin="loom"] [data-arrangement][data-treat="quote-lead"] [data-slot="item"] { gap: 0.9rem; padding: 1.6rem; }
|
|
54750
|
+
[data-skin="loom"] [data-treat="quote-lead"] [data-slot="item"] > [data-slot="quote"] { font-family: var(--font-heading); font-size: 1.12rem; font-style: italic; font-weight: 400; line-height: 1.5; }
|
|
54751
|
+
[data-skin="loom"] [data-treat="quote-lead"] [data-slot="attribution"] { font-family: var(--font-body); font-size: 1rem; line-height: 1.5; }
|
|
54752
|
+
[data-skin="loom"] [data-treat="quote-lead"] [data-slot="attribution"] [data-slot="item-title"] { font-family: var(--font-body); font-size: inherit; font-weight: 700; line-height: inherit; }
|
|
54753
|
+
[data-skin="loom"] [data-treat="quote-lead"] [data-slot="attribution"] [data-slot="item-meta"] { color: var(--rb-surface-muted-color); }
|
|
54754
|
+
@container rb-site (max-width: 1023px) {
|
|
54755
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
54756
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="quote-lead"] [data-slot="items"],
|
|
54757
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="quote-lead"] [data-slot="items"]:has(> [data-slot="item"]:nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr); gap: var(--rb-skin-gutter, 24px); }
|
|
54758
|
+
}
|
|
54759
|
+
}
|
|
54760
|
+
|
|
54761
|
+
/* ------------------------------------------------------------------- FAQ */
|
|
54762
|
+
/* faq-under: ruled disclosure rows. A dashed seam sits above each question and under the last one, and the
|
|
54763
|
+
* plus or minus marker stays in the text colour. The list is set flush with the heading rather than centred.
|
|
54764
|
+
* The question button adds its own inset, so the title and marker are pulled back out to the seams. */
|
|
54765
|
+
[data-skin="loom"] [data-arrangement][data-treat="faq-under"] [data-slot="layout"] { margin-left: 0; }
|
|
54766
|
+
[data-skin="loom"] [data-arrangement][data-treat="faq-under"] [data-slot="items"] { max-width: 50rem; border-bottom: var(--loom-stitch); }
|
|
54767
|
+
[data-skin="loom"] [data-arrangement][data-treat="faq-under"] [data-slot="items"] > [data-slot="item"][data-surface] { border-top: var(--loom-stitch); }
|
|
54768
|
+
[data-skin="loom"] [data-arrangement][data-treat="faq-under"] [data-slot="item"] > * { padding: 0; margin-block: -0.35rem; }
|
|
54769
|
+
[data-skin="loom"] [data-arrangement][data-treat="faq-under"] [data-slot="items"] [data-slot="item-title"] { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; line-height: 1.4; letter-spacing: 0; margin-left: -1.5rem; }
|
|
54770
|
+
[data-skin="loom"] [data-arrangement][data-treat="faq-under"] [data-slot="items"] [data-slot="icon"] { color: var(--rb-surface-text-color); margin-right: -1.25rem; }
|
|
54771
|
+
[data-skin="loom"] [data-arrangement][data-treat="faq-under"] [data-slot="items"] [data-slot="item-text"] { --rb-surface-supporting-color: var(--rb-surface-muted-color); padding: 0 0.25rem 1.3rem; color: var(--rb-surface-muted-color); line-height: 1.6; max-width: 44rem; }
|
|
54772
|
+
|
|
54773
|
+
/* ------------------------------------------------------- Call to action */
|
|
54774
|
+
/* cta-centred: a centred headline and line of text, with the buttons underneath. */
|
|
54775
|
+
[data-skin="loom"] [data-arrangement][data-treat="cta-centred"] [data-slot="copy"] { max-width: 52rem; margin-inline: auto; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
|
|
54776
|
+
[data-skin="loom"] [data-arrangement][data-treat="cta-centred"] [data-slot="head"] { justify-items: center; text-align: center; max-width: 40rem; margin: 0 auto 1.1rem; }
|
|
54777
|
+
[data-skin="loom"] [data-arrangement][data-treat="cta-centred"] [data-slot="eyebrow"] { justify-content: center; color: var(--rb-surface-text-color); }
|
|
54778
|
+
[data-skin="loom"] [data-arrangement][data-treat="cta-centred"] [data-slot="heading"] { font-size: clamp(2.1rem, 4.6cqi, 3.4rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.012em; }
|
|
54779
|
+
[data-skin="loom"] [data-arrangement][data-treat="cta-centred"] [data-slot="intro"] { max-width: 40rem; margin: 0 auto 2rem; font-size: 1.2rem; line-height: 1.55; color: var(--rb-surface-text-color); }
|
|
54780
|
+
[data-skin="loom"] [data-arrangement][data-treat="cta-centred"] [data-slot="actions"] { justify-content: center; margin: 0 auto; }
|
|
54781
|
+
@container rb-site (max-width: 639px) {
|
|
54782
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
54783
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="cta-centred"] [data-slot="intro"] { font-size: 1.1rem; }
|
|
54784
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="cta-centred"] [data-slot="actions"] { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
|
|
54785
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="cta-centred"] [data-slot="actions"] > * { box-sizing: border-box; width: 100%; justify-content: center; }
|
|
54786
|
+
}
|
|
54787
|
+
}
|
|
54788
|
+
|
|
54789
|
+
/* ---------------------------------------------------------- Newsletter */
|
|
54790
|
+
/* signup-text-beside: heading and text on the left, the email field and the button in one row on the right.
|
|
54791
|
+
* The panel is handed a stitched sheet, since the Loom offer gives it the sheet role and the skin cannot clear
|
|
54792
|
+
* the inline paint. Phones stack the form. */
|
|
54793
|
+
[data-skin="loom"] [data-arrangement][data-treat="signup-text-beside"] [data-slot="layout"] { align-items: center; }
|
|
54794
|
+
[data-skin="loom"] [data-arrangement][data-treat="signup-text-beside"] [data-slot="head"] { grid-row: 1; align-self: center; }
|
|
54795
|
+
[data-skin="loom"] [data-arrangement][data-treat="signup-text-beside"] [data-slot="layout"]:has([data-slot="heading"]) > [data-slot="panel"] { grid-column: 7 / 13; }
|
|
54796
|
+
[data-skin="loom"] [data-arrangement][data-treat="signup-text-beside"] [data-slot="layout"] > [data-slot="panel"] { grid-row: 1; align-self: center; padding: clamp(1.25rem, 2.5cqi, 1.75rem); border: var(--loom-stitch); border-radius: var(--rb-skin-radius, 14px); box-shadow: var(--loom-patch); }
|
|
54797
|
+
[data-skin="loom"] [data-arrangement][data-treat="signup-text-beside"] [data-slot="grid"] { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem 0.75rem; }
|
|
54798
|
+
[data-skin="loom"] [data-arrangement][data-treat="signup-text-beside"] [data-slot="item"] { grid-column: 1; grid-row: 1; margin: 0; min-width: 0; }
|
|
54799
|
+
[data-skin="loom"] [data-arrangement][data-treat="signup-text-beside"] [data-slot="row"] { grid-column: 1; grid-row: 2; margin: 0; min-width: 0; }
|
|
54800
|
+
[data-skin="loom"] [data-arrangement][data-treat="signup-text-beside"] [data-slot="actions"] { grid-column: 2; grid-row: 2; align-self: end; margin: 0; }
|
|
54801
|
+
[data-skin="loom"] [data-arrangement][data-treat="signup-text-beside"] [data-slot="caption"] { margin-top: 0.75rem; color: var(--rb-surface-muted-color); }
|
|
54802
|
+
@container rb-site (max-width: 1023px) {
|
|
54803
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
54804
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="signup-text-beside"] [data-slot="layout"] > [data-slot="panel"] { grid-column: 1 / -1; grid-row: auto; }
|
|
54805
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="signup-text-beside"] [data-slot="head"] { grid-column: 1 / -1; }
|
|
54806
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="signup-text-beside"] [data-slot="grid"] { grid-template-columns: minmax(0, 1fr); }
|
|
54807
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="signup-text-beside"] [data-slot="item"] { grid-row: 1; }
|
|
54808
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="signup-text-beside"] [data-slot="row"] { grid-column: 1; grid-row: 2; }
|
|
54809
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="signup-text-beside"] [data-slot="actions"] { grid-column: 1; grid-row: 3; align-self: stretch; }
|
|
54810
|
+
[data-skin="loom"]:is(*, :scope) [data-arrangement][data-treat="signup-text-beside"] [data-slot="actions"] > * { box-sizing: border-box; width: 100%; justify-content: center; }
|
|
54811
|
+
}
|
|
54812
|
+
}
|
|
54813
|
+
|
|
54814
|
+
/* Geometry display contract (issue 1611). Theme-core's map token contract
|
|
54815
|
+
* (surfaces/mapDrawingTokens.ts) supplies every --map-* value from the section
|
|
54816
|
+
* ground and site style. Fallbacks use existing opaque section theme roles,
|
|
54817
|
+
* never artifact colours. */
|
|
54818
|
+
:where(.theme-scope) .rb-map-drawing{margin:0;width:100%;container-type:inline-size}
|
|
54819
|
+
:where(.theme-scope) .rb-map-drawing-crop{position:relative;overflow:hidden;width:100%;min-height:max(255px,37.5cqw);box-sizing:border-box;border:var(--map-frame-width,1px) solid var(--map-frame-color,rgb(var(--tb-border)));border-radius:var(--map-frame-radius,0);box-shadow:var(--map-frame-shadow,none);background:var(--map-land,rgb(var(--tb-surface)))}
|
|
54820
|
+
:where(.theme-scope) .rb-map-drawing svg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,680px);height:auto;aspect-ratio:1}
|
|
54821
|
+
:where(.theme-scope) .rb-map-drawing figcaption{font-size:.75rem;line-height:1.4;padding-top:.5rem;color:var(--rb-surface-muted-color,var(--rb-surface-text-color,currentColor))}
|
|
54822
|
+
:where(.theme-scope) .rb-map-drawing figcaption a{color:inherit;text-decoration:underline;text-underline-offset:2px}
|
|
54823
|
+
:where(.theme-scope) .rb-map-drawing .map-land{fill:var(--map-land,rgb(var(--tb-surface)))}
|
|
54824
|
+
:where(.theme-scope) .rb-map-drawing .map-water{fill:var(--map-water,rgb(var(--tb-background)))}
|
|
54825
|
+
:where(.theme-scope) .rb-map-drawing .map-park{fill:var(--map-park,rgb(var(--tb-surface)))}
|
|
54826
|
+
:where(.theme-scope) .rb-map-drawing .map-building{fill:var(--map-building,rgb(var(--tb-surface)));stroke:var(--map-building-edge,rgb(var(--tb-border)));stroke-width:.75}
|
|
54827
|
+
:where(.theme-scope) .rb-map-drawing [class^=map-road]{fill:none;stroke-linecap:round;stroke-linejoin:round}
|
|
54828
|
+
/* Casing width is the stroke plus a style-scaled edge (scale 1 gives the tuned 13/8.5 and 7/4). */
|
|
54829
|
+
:where(.theme-scope) .rb-map-drawing .map-road-major-casing{stroke:var(--map-road-major-casing,rgb(var(--tb-border)));stroke-width:calc(10 + 3 * var(--map-casing-scale,1))}
|
|
54830
|
+
:where(.theme-scope) .rb-map-drawing .map-road-major{stroke:var(--map-road-major,rgb(var(--tb-surface)));stroke-width:10}
|
|
54831
|
+
:where(.theme-scope) .rb-map-drawing .map-road-minor-casing{stroke:var(--map-road-casing,rgb(var(--tb-border)));stroke-width:calc(6 + 2.5 * var(--map-casing-scale,1))}
|
|
54832
|
+
:where(.theme-scope) .rb-map-drawing .map-road-minor{stroke:var(--map-road,rgb(var(--tb-surface)));stroke-width:6}
|
|
54833
|
+
:where(.theme-scope) .rb-map-drawing .map-road-path{stroke:var(--map-path,rgb(var(--tb-text)));stroke-width:1.4;stroke-dasharray:4 3}
|
|
54834
|
+
:where(.theme-scope) .rb-map-drawing .map-wider .map-road-major-casing{stroke-width:calc(5 + 2 * var(--map-casing-scale,1))}
|
|
54835
|
+
:where(.theme-scope) .rb-map-drawing .map-wider .map-road-major{stroke-width:5}
|
|
54836
|
+
:where(.theme-scope) .rb-map-drawing .map-wider .map-road-minor-casing{stroke-width:calc(2.5 + 1.5 * var(--map-casing-scale,1))}
|
|
54837
|
+
:where(.theme-scope) .rb-map-drawing .map-wider .map-road-minor{stroke-width:2.5}
|
|
54838
|
+
/* Labels stay 12.5 units: the generator's collision budget assumes a compact face no larger than 13. */
|
|
54839
|
+
:where(.theme-scope) .rb-map-drawing .map-label,:where(.theme-scope) .rb-map-drawing .map-label-halo{text-anchor:middle;dominant-baseline:central;font-family:var(--map-label-font,system-ui,sans-serif);font-size:12.5px;font-weight:var(--map-label-weight,500);font-style:normal;letter-spacing:.01em;text-transform:none}
|
|
54840
|
+
:where(.theme-scope) .rb-map-drawing .map-label{fill:var(--map-label,rgb(var(--tb-text)))}
|
|
54841
|
+
:where(.theme-scope) .rb-map-drawing .map-label-halo{fill:none;stroke:var(--map-label-halo,rgb(var(--tb-surface)));stroke-width:3.5;stroke-linejoin:round}
|
|
54842
|
+
/* Unbound surfaces (event details and cards) draw on the surface fallback, where an accent pin can vanish
|
|
54843
|
+
* (Poster's light blue on near-white); the text ink always stands off the surface. */
|
|
54844
|
+
:where(.theme-scope) .rb-map-drawing .map-pin{fill:var(--map-pin,rgb(var(--tb-text)));stroke:var(--map-pin-edge,rgb(var(--tb-surface)));stroke-width:2}
|
|
54845
|
+
|
|
54846
|
+
/* 400 visible units at .85 px/unit need 340 px. At narrower containers retain details only. */
|
|
54847
|
+
@container (max-width: 339px) {
|
|
54848
|
+
:where(.theme-scope) .rb-map-drawing-crop, :where(.theme-scope) .rb-map-drawing figcaption { display: none; }
|
|
54849
|
+
}
|
|
54850
|
+
|
|
54851
|
+
/* Map block details (issue 1611): address, door note, directions and hours under the drawing.
|
|
54852
|
+
* Colours come from the section's surface roles, so every ground reads the same way. */
|
|
54853
|
+
:where(.theme-scope) .rb-location-map{display:grid;gap:clamp(1.25rem,3cqi,2rem);text-align:left;container-type:inline-size}
|
|
54854
|
+
:where(.theme-scope) .rb-location-map-details{display:grid;gap:1.75rem 3rem;align-items:start}
|
|
54855
|
+
:where(.theme-scope) .rb-location-map-place{display:grid;gap:.5rem;justify-items:start;min-width:0}
|
|
54856
|
+
:where(.theme-scope) .rb-location-map-address{margin:0;font-size:1.0625rem;line-height:1.5;font-weight:500;color:var(--rb-surface-heading-color,var(--rb-surface-text-color,inherit));max-width:40ch}
|
|
54857
|
+
/* The door note is directions people need, so it reads in the text ink (softened, as in the mockup), not the muted role. */
|
|
54858
|
+
:where(.theme-scope) .rb-location-map-door{margin:0;line-height:1.55;color:color-mix(in srgb,var(--rb-surface-text-color,currentColor) 82%,transparent);max-width:52ch}
|
|
54859
|
+
:where(.theme-scope) .rb-location-map-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.5rem;margin-top:.75rem}
|
|
54860
|
+
:where(.theme-scope) .rb-location-map-link{color:var(--rb-surface-link-color,var(--rb-surface-text-color,inherit));font-weight:500;text-decoration:underline;text-underline-offset:.2em;text-decoration-thickness:1px}
|
|
54861
|
+
:where(.theme-scope) .rb-location-map-link:hover{color:var(--rb-surface-link-hover-color,var(--rb-surface-link-color,inherit));text-decoration-thickness:2px}
|
|
54862
|
+
:where(.theme-scope) .rb-location-map-hours{min-width:0}
|
|
54863
|
+
:where(.theme-scope) .rb-location-map-hours table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
|
|
54864
|
+
:where(.theme-scope) .rb-location-map-hours caption{text-align:left;font-weight:600;padding-bottom:.5rem;color:var(--rb-surface-heading-color,var(--rb-surface-text-color,inherit))}
|
|
54865
|
+
:where(.theme-scope) .rb-location-map-hours th,:where(.theme-scope) .rb-location-map-hours td{padding:.4rem 0;border-top:1px solid var(--rb-surface-line-color,color-mix(in srgb,currentColor 18%,transparent));font-weight:400;text-align:left;vertical-align:top}
|
|
54866
|
+
:where(.theme-scope) .rb-location-map-hours td{text-align:right;padding-left:1.5rem}
|
|
54867
|
+
:where(.theme-scope) .rb-location-map-hours tr[data-closed] :is(th,td){color:var(--rb-surface-muted-color,var(--rb-surface-text-color,inherit))}
|
|
54868
|
+
:where(.theme-scope) .rb-location-map-hours p{margin:.6rem 0 0;color:var(--rb-surface-muted-color,var(--rb-surface-text-color,inherit))}
|
|
54869
|
+
@container (min-width: 640px) {
|
|
54870
|
+
:where(.theme-scope) .rb-location-map-details{grid-template-columns:minmax(0,1fr) minmax(15rem,21rem)}
|
|
54871
|
+
}`;
|
|
52873
54872
|
//#endregion
|
|
52874
54873
|
//#region ../theme-core/src/ThemeScopeCore.tsx
|
|
52875
54874
|
/**
|
|
@@ -53080,16 +55079,21 @@ function resolveSiteCustomBlocks(site) {
|
|
|
53080
55079
|
}
|
|
53081
55080
|
//#endregion
|
|
53082
55081
|
//#region src/rendering/helpers/pageRuntimeSupport.ts
|
|
53083
|
-
function buildSiteRenderSupport(site, mediaAssets) {
|
|
55082
|
+
function buildSiteRenderSupport(site, mediaAssets, locationMapSupport) {
|
|
53084
55083
|
const customBlocks = resolveSiteCustomBlocks(site);
|
|
53085
55084
|
return {
|
|
53086
55085
|
theme: site.theme,
|
|
53087
|
-
site:
|
|
55086
|
+
site: locationMapSupport ? {
|
|
55087
|
+
...site.site,
|
|
55088
|
+
venuesById: locationMapSupport.venuesById
|
|
55089
|
+
} : site.site,
|
|
53088
55090
|
sdkConfig: site.sdkConfig ?? null,
|
|
53089
55091
|
bookingOfferingPresets: site.bookingOfferingPresets ?? [],
|
|
53090
55092
|
openingHours: site.businessDetails?.openingHours ?? null,
|
|
53091
55093
|
siteTerms: site.siteTerms,
|
|
53092
55094
|
mailingList: site.mailingList,
|
|
55095
|
+
businessLocationPermission: site.site.businessLocationPermission,
|
|
55096
|
+
businessAddressVisibility: site.businessDetails?.addressVisibility ?? "hidden",
|
|
53093
55097
|
bookingTimeZone: resolveBookingBusinessTimeZone(site.bookingTimeZone),
|
|
53094
55098
|
now: toUtcIsoDateTimeString((/* @__PURE__ */ new Date()).toISOString()),
|
|
53095
55099
|
...customBlocks ? { customBlocks } : {},
|
|
@@ -53100,6 +55104,16 @@ function buildSiteRenderSupport(site, mediaAssets) {
|
|
|
53100
55104
|
...mediaAssets ? { mediaAssets } : {}
|
|
53101
55105
|
};
|
|
53102
55106
|
}
|
|
55107
|
+
/** Only already-permitted projections reach the block runtime. */
|
|
55108
|
+
function siteLocationRenderContext(support) {
|
|
55109
|
+
return {
|
|
55110
|
+
businessLocationPermission: support.site.businessLocationPermission,
|
|
55111
|
+
businessAddressVisibility: support.businessAddressVisibility ?? "hidden",
|
|
55112
|
+
businessLocation: support.site.businessLocation ?? null,
|
|
55113
|
+
venuesById: support.site.venuesById ?? {},
|
|
55114
|
+
siteCountry: support.site.siteCountry ?? null
|
|
55115
|
+
};
|
|
55116
|
+
}
|
|
53103
55117
|
function collectMediaAssetSidecar(mediaAssets) {
|
|
53104
55118
|
return Array.isArray(mediaAssets) && mediaAssets.length > 0 ? mediaAssets : void 0;
|
|
53105
55119
|
}
|
|
@@ -53710,6 +55724,11 @@ function buildPageIdentityRenderContext(dataContext) {
|
|
|
53710
55724
|
demoEmailSuppressed: dataContext.demoEmailSuppressed,
|
|
53711
55725
|
now: dataContext.now,
|
|
53712
55726
|
siteName: dataContext.siteName,
|
|
55727
|
+
businessLocationPermission: dataContext.businessLocationPermission,
|
|
55728
|
+
businessAddressVisibility: dataContext.businessAddressVisibility,
|
|
55729
|
+
businessLocation: dataContext.businessLocation,
|
|
55730
|
+
venuesById: dataContext.venuesById,
|
|
55731
|
+
siteCountry: dataContext.siteCountry,
|
|
53713
55732
|
pathname: dataContext.pathname
|
|
53714
55733
|
};
|
|
53715
55734
|
}
|
|
@@ -53826,4 +55845,4 @@ function Page(props) {
|
|
|
53826
55845
|
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(HydratorWithContextProps, { ...toPageHydrationBootstrapConfig(props) }), /* @__PURE__ */ jsx(PageContent, { ...props })] });
|
|
53827
55846
|
}
|
|
53828
55847
|
//#endregion
|
|
53829
|
-
export {
|
|
55848
|
+
export { PUBLIC_READ_ENDPOINT_DEFINITIONS as $, getDefaultComponentRegistry as A, admitLayoutGridForPlan as B, resolveSiteCustomBlocks as C, prefetchBlockDataWithFailures as D, requireSdkTheme as E, getBlockDefinition as F, createInternalAPIClient as G, encodePublicProductCategorySelector as H, siteFooterManifest as I, resolveFooterRenderPlan as J, setSdkVersion as K, siteHeaderManifest as L, isRouteVisibleInStage as M, normalizeRenderStage as N, makeDefaultBlockComponent as O, resolveRouteHrefForStage as P, unwrapResponse as Q, admitTransportedRenderableManifestContent as R, siteLocationRenderContext as S, MissingSdkThemeError as T, ApiRequestError as U, deriveFieldValidationPlan as V, createBearerAPIClient as W, ApiEnvelopeError as X, resolveSdkFooterMode as Y, isApiError as Z, invalidRenderableBlock as _, ThemeScope as a, resolveSdkBlockManifest as b, PageRenderer as c, parseBlocksTheme as d, TAG_TEMPLATES as et, applyBindingsToContent as f, collectMediaAssetSidecar as g, buildSiteRenderSupport as h, renderWithSdkThemeRuntime as i, readPublishedBlockPlacement as it, resolveAuthoredLinkHref as j, renderBlock as k, toBlocksPageRendererDataContext as l, buildRenderablePageOutline as m, planLayoutThemeRuntime as n, isPublicReadEndpoint as nt, EditorPageRenderer as o, BINDING_TRANSFORM_VALUES as p, isSupportedLoaderEndpoint$1 as q, renderWithOverrideOnlyRuntime as r, publicReadFreshnessSeconds as rt, MissingBlockOverrideError as s, Page as t, getPublicReadCachePolicy as tt, buildThemeRuntime as u, projectRenderablePageOutline as v, MISSING_SDK_THEME_ERROR_CODE as w, sanitizeSdkRuntimeBlockContent as x, readInvalidBlockAdmission as y, compileManifestContentContract as z };
|