@riverbankcms/sdk 0.163.0 → 0.164.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -1
- package/dist/_dts/{BlocksIslandsHydrator-DYPGA_qh.d.ts → BlocksIslandsHydrator-CubPwupc.d.ts} +1 -1
- package/dist/_dts/{Page-zwnvFBPu.d.ts → Page-CDzsagB2.d.ts} +15 -12
- package/dist/_dts/{SdkPreviewMode-DukuJzGr.d.ts → SdkPreviewMode-CPRQbRCI.d.ts} +2 -3
- package/dist/_dts/{client-Chh3bnXC.d.ts → client-CbeYTSry.d.ts} +13 -41
- package/dist/_dts/{content-types-Bbzqw9J2.d.ts → content-types--uYRIcIF.d.ts} +2 -2
- package/dist/_dts/{contracts-GJ1kGBsi.d.ts → contracts-DJQYAOsv.d.ts} +5 -4
- package/dist/_dts/{footerPageOutline-BNMKhyvo.d.ts → footerPageOutline-CKkhBwgJ.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-Ce0m1P3B.d.ts → generatePageMetadata--qd7NCIA.d.ts} +2 -2
- package/dist/_dts/{index-CdSNXLOx.d.ts → index-BZE-1azr.d.ts} +1 -1
- package/dist/_dts/{index-C3mJvn27.d.ts → index-BpEbwDM7.d.ts} +4 -4
- package/dist/_dts/index-CXsnaCGe.d.ts +10 -0
- package/dist/_dts/{index-rhMSu0oY.d.ts → index-CjdIn9-_.d.ts} +2 -2
- package/dist/_dts/{index-DRxgeK8L.d.ts → index-DYQFmf--.d.ts} +2 -2
- package/dist/_dts/{index-CyQhZuhM.d.ts → index-D_pQO-AS.d.ts} +21803 -21487
- package/dist/_dts/{index-FstkyqQB.d.ts → index-DriYVLfT.d.ts} +2 -2
- package/dist/_dts/{index-CaL0nKkl.d.ts → index-JS8WYgD3.d.ts} +31245 -31027
- package/dist/_dts/{index-G2p-HOrK.d.ts → index-wegfy7lf.d.ts} +3 -3
- package/dist/_dts/{loadContent-DiLZoInK.d.ts → loadContent-DUi94Qfk.d.ts} +15 -30
- package/dist/_dts/{resolvePageContent-CWUnipv8.d.ts → resolvePageContent-JDE0ry6T.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +3 -4
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +6 -6
- 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/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
- 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/spam-protection/index.d.ts +32 -52
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-DFOqkClJ.d.ts → types-DiciZDrk.d.ts} +3 -3
- package/dist/_dts/{types-CalL7aKP.d.ts → types-DubJnBnI.d.ts} +7 -7
- package/dist/_dts/{types-BmtrA45p.d.ts → types-W40f2olO.d.ts} +3 -2
- package/dist/_dts/{validation-G8MRoIhq.d.ts → validation-BF4_zNkR.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DLCXwe30.mjs → BlocksIslandsHydrator-64hFxF02.mjs} +20 -20
- package/dist/client/{BookingMailingListNote-BV5-50F0.mjs → BookingMailingListNote-CSQyFm9J.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-CVLAHdZG.mjs → CalendarNavigationChevron-Bvkx8Z7Y.mjs} +6 -6
- package/dist/client/{CheckboxChoice-Dtgp3OU8.mjs → CheckboxChoice-3PhxDxgR.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-B3caCnTT.mjs → DemoBookingPortalAccess-pt2xXBQp.mjs} +5 -5
- package/dist/client/{DemoPortalSignInLink-Ct8JMKW0.mjs → DemoPortalSignInLink-Qw780EfW.mjs} +1 -1
- package/dist/client/{EventCalendar.client-ffa6920T.mjs → EventCalendar.client-DWoboRW5.mjs} +9 -9
- package/dist/client/{EventCombined.client-zm0W2G79.mjs → EventCombined.client-C98ucpcP.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-CPPE2rWS.mjs → EventEmbeddedCheckoutStep-DHRlFfkp.mjs} +2 -1
- package/dist/client/{EventItem-CND3mfra.mjs → EventItem-hrSyTApW.mjs} +20 -16
- package/dist/client/{EventListWeekNavigation-D8QdxL_f.mjs → EventListWeekNavigation-C3t7H13W.mjs} +1 -1
- package/dist/client/{EventListing.client-CaoRZUI9.mjs → EventListing.client-Cp11sBX_.mjs} +3 -3
- package/dist/client/{EventListing.view-BfnOmxYD.mjs → EventListing.view-Dd5QHIAf.mjs} +7 -7
- package/dist/client/{EventRegistrationPayment-Dfu3RSL2.mjs → EventRegistrationPayment-ByT88VHR.mjs} +18 -22
- package/dist/client/{LocationMapActions-wlyxASdT.mjs → LocationMapActions-BsepG5Vv.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-B9oKSitp.mjs → MapDrawingSvg-R4JMT4yd.mjs} +1 -1
- package/dist/client/{Page-BEF9HrAy.mjs → Page-Dub71o3c.mjs} +444 -199
- package/dist/client/ProtectedSubmitButton-DGbgGvdh.mjs +14 -0
- package/dist/client/SpamProtectionWidget-CRsKTQV-.mjs +139 -0
- package/dist/client/{StepIndicator-Bjx4faaw.mjs → StepIndicator-Bp7MyutT.mjs} +2 -2
- package/dist/client/{TabBarFragment-Cu7k_VSl.mjs → TabBarFragment-C4WJyybx.mjs} +1 -1
- package/dist/client/{ThemedButton-DclwabI7.mjs → ThemedButton-BGVwNwE-.mjs} +2 -898
- package/dist/client/{accordion-lzM2nSZB.mjs → accordion-vCG_JC5t.mjs} +1 -1
- package/dist/client/altchaProtection-BWchRM3v.mjs +12 -0
- package/dist/client/{booking-form.client-Bll4QwBi.mjs → booking-form.client-CHTbcZJM.mjs} +23 -56
- package/dist/client/{bookingForm-Cq5fQ-vo.mjs → bookingForm-BxbUbzUr.mjs} +4 -4
- package/dist/client/bookings.mjs +23 -32
- package/dist/client/{carousel-CxerQwIx.mjs → carousel-FM1mkkL0.mjs} +2 -2
- package/dist/client/{carousel.client-CVUXq8Mb.mjs → carousel.client-ChoLiWwD.mjs} +1 -1
- package/dist/client/{cart-X-m0isoI.mjs → cart-BDFhbh9j.mjs} +3 -3
- package/dist/client/{cart.client-CJbzWIl0.mjs → cart.client-x3HOke6T.mjs} +1 -1
- package/dist/client/{checkout-Gd0O_fGH.mjs → checkout-BibhwnTd.mjs} +3 -3
- package/dist/client/{checkout.client-Baee6Jsm.mjs → checkout.client-CE4jUi0G.mjs} +1 -1
- package/dist/client/client.mjs +216 -109
- package/dist/client/{context-Bg0SFWcM.mjs → context-BNAM7NsW.mjs} +17 -3
- package/dist/client/{cta-HffyM4MA.mjs → cta-ChiN1Vgg.mjs} +1 -1
- package/dist/client/{dateFormatting-CV45BH5M.mjs → dateFormatting-QwBSo0hK.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CDWheSjI.mjs → demoPortalMagicLink-NwKJk6gn.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-BqVDXL0D.mjs → enhanceHeaderSection-D4zqEBDl.mjs} +3 -3
- package/dist/client/{event-details.client-SFtS9OkF.mjs → event-details.client-jFyFjOIC.mjs} +1 -1
- package/dist/client/{event-registration.client-CguNVIFY.mjs → event-registration.client-BK_jVv3R.mjs} +37 -55
- package/dist/client/{eventCalendar-DSGG35jd.mjs → eventCalendar-DSkzejQh.mjs} +4 -4
- package/dist/client/{eventCombined-Oe-PiChx.mjs → eventCombined-BG-BEaYh.mjs} +4 -4
- package/dist/client/{eventDetails-BhcTT6P3.mjs → eventDetails-BhIwXAKe.mjs} +2 -2
- package/dist/client/{eventListing-BS0kBEgI.mjs → eventListing-DQtyO1Xj.mjs} +4 -4
- package/dist/client/{eventRegistration-B82SHv7j.mjs → eventRegistration-DRTz8X0M.mjs} +4 -4
- package/dist/client/{form-DAIUrVXb.mjs → form-GXqjObPC.mjs} +3 -3
- package/dist/client/{form.client-BoAkhoh_.mjs → form.client-CoKNba2e.mjs} +33 -24
- package/dist/client/{form.parts-1VnasOK8.mjs → form.parts-magB_epJ.mjs} +6 -5
- package/dist/client/{formatDate-BKil_Psb.mjs → formatDate-BiloOyjS.mjs} +1 -1
- package/dist/client/gifting/client.mjs +4 -3
- package/dist/client/{headerSection-CyuHk8Ei.mjs → headerSection-BMQCPHT3.mjs} +2 -2
- package/dist/client/{mediaAssets-CGJE1Omu.mjs → mediaAssets-BX-vWwQc.mjs} +1 -1
- package/dist/client/{mediaContext-DIkX2S-X.mjs → mediaContext-CdqGYlWl.mjs} +1 -1
- package/dist/client/{newsletter-form.client-CCdyHx0B.mjs → newsletter-form.client-8orCez1z.mjs} +99 -84
- package/dist/client/{newsletter-form.parts-Dl8AjsXW.mjs → newsletter-form.parts-D8NgHY_F.mjs} +11 -7
- package/dist/client/{newsletterForm-qFWLZJui.mjs → newsletterForm-BhBNsS3n.mjs} +3 -3
- package/dist/client/{noop-4XFGzJpT.mjs → noop-C2vZse15.mjs} +3 -3
- package/dist/client/portal/client.mjs +13 -12
- package/dist/client/{product-detail.client-Tq4S99ce.mjs → product-detail.client-CQ0k0fbH.mjs} +1 -1
- package/dist/client/{product-list.client-CuL5jB1w.mjs → product-list.client-Xlr1P0x9.mjs} +1 -1
- package/dist/client/{productDetail-BRqgcotZ.mjs → productDetail-BsCao6X4.mjs} +3 -3
- package/dist/client/{productList-EK9Um-oh.mjs → productList-Cc-PmbEe.mjs} +3 -3
- package/dist/client/{propsDecoder-VD4arFq1.mjs → propsDecoder-DikkDJ9x.mjs} +3 -3
- package/dist/client/protection-C0PoH1lT.mjs +104 -0
- package/dist/client/purchase-BMsWpx8y.mjs +894 -0
- package/dist/client/{registry.server-qYbsatxH.mjs → registry.server-BpLZo3bC.mjs} +27 -24
- package/dist/client/rendering/client.mjs +27 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +11 -7
- package/dist/client/{richText-coerce-CW8CFk8v.mjs → richText-coerce-WuMYrBm3.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CnZ_1ol2.mjs → routeIslandApiConfig-DNx6b07x.mjs} +1 -1
- package/dist/client/{schema-BFwQDvJL.mjs → schema-DMUkBtIO.mjs} +2385 -2364
- package/dist/client/{shop-CTUaT57E.mjs → shop-DyXtB5TD.mjs} +3 -3
- package/dist/client/{shop-commerce-store-15UII0y3.mjs → shop-commerce-store-CbBsS1kD.mjs} +1 -1
- package/dist/client/{shop-commerce-BWwbsm_-.mjs → shop-commerce-xjWH7-Ym.mjs} +11 -11
- package/dist/client/{shop.client-UWgdmJBm.mjs → shop.client-QOKqQPgK.mjs} +12 -12
- package/dist/client/{shop.interactive-Cf_kASpd.mjs → shop.interactive-BQdm441g.mjs} +24 -14
- package/dist/client/{shopShared-Bi8d584P.mjs → shopShared-CyW6MU48.mjs} +2 -2
- package/dist/client/{site-styles-dy54AUdz.mjs → site-styles-BLHYJ8S7.mjs} +20 -15
- package/dist/client/spam-protection.mjs +4 -69
- package/dist/client/{timetableModel-Bi8ruFgB.mjs → timetableModel-BgdkhRuA.mjs} +10 -10
- package/dist/client/{useAvailableSlots-DiLbDqM3.mjs → useAvailableSlots-wmdo6uZ8.mjs} +3 -3
- package/dist/client/{useBookingNowIso-CWIiqPd0.mjs → useBookingNowIso-CUExAee1.mjs} +1 -1
- package/dist/client/{useDiscountApply-ChtszhF9.mjs → useDiscountApply-BRM-OoTN.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-B0Z7n2tZ.mjs → useDiscountCodeUi-BEIvL31G.mjs} +1 -1
- package/dist/client/{useEventPagination-DRrATQHQ.mjs → useEventPagination-Dk3g64we.mjs} +6 -6
- package/dist/client/{view-yUIfWX3S.mjs → view-BnaOmrap.mjs} +4 -4
- package/dist/client/{view-OvsxzgxP.mjs → view-vhKGFfC3.mjs} +7 -7
- package/dist/client/{wizardSteps-kbONzKUv.mjs → wizardSteps-xqU4q63H.mjs} +14 -14
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-DzoFjIqB.mjs → EventEmbeddedCheckoutStep-43wIAWr4.mjs} +1 -1
- package/dist/preview-next/client/{PreviewEditorSidebar-BhgPyyUW.mjs → PreviewEditorSidebar-C3AQVxQt.mjs} +68 -68
- package/dist/preview-next/client/{PreviewEditorUI-lndKKBtB.mjs → PreviewEditorUI-C-1zDCR_.mjs} +3 -3
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bk7On_EM.mjs → SdkPreviewModeRuntime-B47yHFL0.mjs} +240 -177
- package/dist/preview-next/client/{SdkPreviewModeRuntime-DCDDXDlt.mjs → SdkPreviewModeRuntime-C6Rhm2NQ.mjs} +1 -1
- package/dist/preview-next/client/{ThemedButton-nUnE3iMv.mjs → ThemedButton-g7NPrsGp.mjs} +60 -45
- package/dist/preview-next/client/{previewAuthStore-DHtSQIBE.mjs → previewAuthStore-By_zfrS5.mjs} +102570 -102217
- package/dist/preview-next/client/{previewChromeSurface-CxQ6dZ8D.mjs → previewChromeSurface-Cjwxv90x.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DSZv7Vfm.mjs → sdk-runtime-BG2HYvQj.mjs} +1 -1
- package/dist/preview-next/client/{siteStyleAccess-Chq5KKKh.mjs → siteStyleAccess-BiSyYyyr.mjs} +3541 -3525
- package/dist/preview-next/client/{spinner-CjxE3uws.mjs → spinner-DnWpeDp2.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CxCstfkP.mjs → route-contract-D5tHZEz5.mjs} +31 -42
- package/dist/server/{Block.shared-Dz9k8vCX.mjs → Block.shared-Iy7g11iP.mjs} +5 -4
- package/dist/server/{bindings-S-gCHhj5.mjs → bindings-BVJGgUT0.mjs} +2 -2
- package/dist/server/{client-C2Q56xqV.mjs → client-CiKaE8ms.mjs} +215 -109
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{effectiveNavLinkStyle-DLzJPcDL.mjs → effectiveNavLinkStyle-EDSdd_oK.mjs} +14 -8
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-D7ItMsEl.mjs → loadContent-BuintpdO.mjs} +6 -4
- package/dist/server/loadPage-BwjncpJf.mjs +2 -0
- package/dist/server/{loadPage-DaPiPYUL.mjs → loadPage-Dk4wea8M.mjs} +3 -2
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-anoB3Kbn.mjs → overrideResolution-BDiQWM7D.mjs} +1 -1
- package/dist/server/{overrides-W1Cc6srh.mjs → overrides-DVemf-GV.mjs} +66 -46
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-BF9yNfCS.mjs → prebuild-DubLNgRH.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Cn9k3DW6.mjs → prefetchBlockData-Bnbwoe5n.mjs} +48 -27
- package/dist/server/{publicProducts-BVcJ6TG7.mjs → publicProducts-D3Fc5TKk.mjs} +76 -70
- package/dist/server/{registry-4ZF3bUuJ.mjs → registry-zjd1P2Dl.mjs} +34 -21
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-BKQ1Fc0M.mjs → resolveBlockData-CZJ--nH6.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-DgrigZq9.mjs → schema-BlTWmTSl.mjs} +58 -37
- package/dist/server/server.mjs +3 -3
- package/dist/server/{site-styles-CxE9F3hj.mjs → site-styles-yHytcXIB.mjs} +9 -10
- package/dist/server/{siteChromeOverlayClearance-OhS6f830.mjs → siteChromeOverlayClearance-D0uCNZ7E.mjs} +32 -36
- package/dist/server/{src-C44_fMy5.mjs → src-cbbK3Bho.mjs} +286 -71
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-CVc04B9m.mjs → themeAdmission-BdY8lP-K.mjs} +3 -2
- package/dist/server/{validation-BrbY0nxR.mjs → validation-CGH-Xs4E.mjs} +2 -2
- package/dist/server/{version-BBSk8uM6.mjs → version-DoOG6F13.mjs} +1 -1
- package/dist/styles/index.css +262 -65
- package/package.json +2 -3
- package/dist/_dts/AltchaWidget-COIYJ7DF.d.ts +0 -33
- package/dist/_dts/index-D2y4Iy-d.d.ts +0 -77
- package/dist/client/src-BNZzXgWu.mjs +0 -102
- package/dist/server/loadPage-D2qvYV5g.mjs +0 -2
package/dist/server/{effectiveNavLinkStyle-DLzJPcDL.mjs → effectiveNavLinkStyle-EDSdd_oK.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as asDesignSystemTemplateId, Ht as asPageFlowPresetId, It as asBoundaryOptionId, Kt as defineExactCatalog, Lt as asDesignBlockId, Mt as arrangementModes, Nt as asAppearancePresetId, Or as rgbColorValue, Rt as asDesignBoundaryId, Un as unsafeAsOpaqueButtonColourToken, Ut as asSiteStyleId, Vt as asLayoutVariantKey, Wt as assertNever, Xn as expandPalette, Z as headerInteractionQuietPalette, Zt as flushPanelFrame, an as plainFrame, ar as paletteModeSchema, at as NAV_LINK_BORDER_RADIUS_MAP, br as surfaceForegroundValue, cr as requirePaletteColorsFromEntries, ct as NAV_LINK_PADDING_X_MAP, dt as navLinkOwnsHoverForeground, en as isArrangementMode, er as planForegroundHover, et as defaultButtonStyleSelectionFor, fr as featuresFromHex, ft as navLinkOwnsUnderline, in as panelFrame, ir as paletteColorsSchema, it as generateInteractiveChildInheritanceCSS, jr as parseThemeColorToken, kn as resolveSurface, lr as TokenResolver, lt as NAV_LINK_TEXT_SIZE_MAP, nn as noHeadingDecoration, nt as generateEffectsCSS, on as requireNonEmptyReadonlyArray, or as paletteValueKey, ot as NAV_LINK_LETTER_SPACING_MAP, pt as navEffectPolicy, q as cardRoleValues, rr as hexColorSchema, rt as generateBaseInteractiveCSS, sr as paletteValueKeySchema, st as NAV_LINK_PADDING_MAP, tn as makeBoundaryId, tt as buttonStyleSelectionSchema, ut as navLinkHoverColorCandidate, vr as surfaceForegroundInputFromResolved, xt as themeV2RuntimeStyleFieldNames, yt as siteChromeBackgroundOverrideOwner } from "./schema-
|
|
1
|
+
import { Bt as asDesignSystemTemplateId, Ht as asPageFlowPresetId, It as asBoundaryOptionId, Kt as defineExactCatalog, Lt as asDesignBlockId, Mt as arrangementModes, Nt as asAppearancePresetId, Or as rgbColorValue, Rt as asDesignBoundaryId, Un as unsafeAsOpaqueButtonColourToken, Ut as asSiteStyleId, Vt as asLayoutVariantKey, Wt as assertNever, Xn as expandPalette, Z as headerInteractionQuietPalette, Zt as flushPanelFrame, an as plainFrame, ar as paletteModeSchema, at as NAV_LINK_BORDER_RADIUS_MAP, br as surfaceForegroundValue, cr as requirePaletteColorsFromEntries, ct as NAV_LINK_PADDING_X_MAP, dt as navLinkOwnsHoverForeground, en as isArrangementMode, er as planForegroundHover, et as defaultButtonStyleSelectionFor, fr as featuresFromHex, ft as navLinkOwnsUnderline, in as panelFrame, ir as paletteColorsSchema, it as generateInteractiveChildInheritanceCSS, jr as parseThemeColorToken, kn as resolveSurface, lr as TokenResolver, lt as NAV_LINK_TEXT_SIZE_MAP, nn as noHeadingDecoration, nt as generateEffectsCSS, on as requireNonEmptyReadonlyArray, or as paletteValueKey, ot as NAV_LINK_LETTER_SPACING_MAP, pt as navEffectPolicy, q as cardRoleValues, rr as hexColorSchema, rt as generateBaseInteractiveCSS, sr as paletteValueKeySchema, st as NAV_LINK_PADDING_MAP, tn as makeBoundaryId, tt as buttonStyleSelectionSchema, ut as navLinkHoverColorCandidate, vr as surfaceForegroundInputFromResolved, xt as themeV2RuntimeStyleFieldNames, yt as siteChromeBackgroundOverrideOwner } from "./schema-BlTWmTSl.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region ../theme-core/src/site-styles/appearancePresetTypes.ts
|
|
4
4
|
/** Block supply is capability, never a second Look catalogue. */
|
|
@@ -7006,7 +7006,6 @@ z.object({
|
|
|
7006
7006
|
fields: nonEmptyRuntimeStyleFieldNamesSchema,
|
|
7007
7007
|
authority: styleAuthoritySchema
|
|
7008
7008
|
}).strict();
|
|
7009
|
-
asPageFlowPresetId("flow:quiet"), noneBoundaryOption.id, asPageFlowPresetId("flow:balanced"), softBoundaryOption.id, asPageFlowPresetId("flow:expressive"), spaciousBoundaryOption.id;
|
|
7010
7009
|
/**
|
|
7011
7010
|
* Curated library of gradient presets.
|
|
7012
7011
|
* All gradients use theme color tokens, so they adapt to the site's palette.
|
|
@@ -7957,6 +7956,7 @@ const loomLooks = {
|
|
|
7957
7956
|
"band"
|
|
7958
7957
|
]
|
|
7959
7958
|
},
|
|
7959
|
+
defaultJoin: noneBoundaryOption.id,
|
|
7960
7960
|
offers: [
|
|
7961
7961
|
{
|
|
7962
7962
|
id: id("event-details-panel"),
|
|
@@ -7984,7 +7984,8 @@ const loomLooks = {
|
|
|
7984
7984
|
{
|
|
7985
7985
|
id: id("team-members-tall-portraits"),
|
|
7986
7986
|
treatment: "team-tall-portraits",
|
|
7987
|
-
roleMap: loomRoles
|
|
7987
|
+
roleMap: loomRoles,
|
|
7988
|
+
itemRoles: { items: "card" }
|
|
7988
7989
|
},
|
|
7989
7990
|
{
|
|
7990
7991
|
id: id("shop-price-cards-featured"),
|
|
@@ -8062,7 +8063,8 @@ const loomLooks = {
|
|
|
8062
8063
|
{
|
|
8063
8064
|
id: id("location-map-beside-address"),
|
|
8064
8065
|
treatment: "map-beside-address",
|
|
8065
|
-
roleMap: loomRoles
|
|
8066
|
+
roleMap: loomRoles,
|
|
8067
|
+
slotRoles: { panel: "card" }
|
|
8066
8068
|
},
|
|
8067
8069
|
{
|
|
8068
8070
|
id: id("event-calendar-month-grid"),
|
|
@@ -10983,7 +10985,7 @@ const curatedSiteStyles = [
|
|
|
10983
10985
|
navWeight: "semibold",
|
|
10984
10986
|
navLinkWeight: "semibold",
|
|
10985
10987
|
navTypography: "plain",
|
|
10986
|
-
border: "
|
|
10988
|
+
border: "none",
|
|
10987
10989
|
shadow: { kind: "explicit-none" },
|
|
10988
10990
|
frame: { kind: "none" },
|
|
10989
10991
|
logo: {
|
|
@@ -11413,11 +11415,11 @@ function itemSurfaceSpec(role, ground, style) {
|
|
|
11413
11415
|
return spec;
|
|
11414
11416
|
}
|
|
11415
11417
|
/** Fixed standalone slots and collection slots share the role resolver. */
|
|
11416
|
-
function resolveLookSlotSurfaces(look, roles, surfaces) {
|
|
11418
|
+
function resolveLookSlotSurfaces({ look, slotRoles }, roles, surfaces) {
|
|
11417
11419
|
const arrangement = Object.values(look.structure.byMode)[0];
|
|
11418
11420
|
const container = arrangement === "compact" ? "panel" : look.target === "events" ? "list" : "items";
|
|
11419
11421
|
const entries = [
|
|
11420
|
-
...Object.entries(
|
|
11422
|
+
...Object.entries(slotRoles).map(([slot, role]) => [slot, surfaces[role]]),
|
|
11421
11423
|
...roles.container ? [[container, surfaces[roles.container]]] : [],
|
|
11422
11424
|
...roles.items ? [
|
|
11423
11425
|
["item", surfaces[roles.items]],
|
|
@@ -11515,6 +11517,10 @@ function glassStateEffects(opacity) {
|
|
|
11515
11517
|
function readOpeningForegroundProjection(header) {
|
|
11516
11518
|
return header?.__runtimeOpeningForeground ?? null;
|
|
11517
11519
|
}
|
|
11520
|
+
/** Decided by the foreground compiler, independently of scrolling behavior. */
|
|
11521
|
+
function readOpeningToneProjection(header) {
|
|
11522
|
+
return header.__runtimeOpeningTone ?? null;
|
|
11523
|
+
}
|
|
11518
11524
|
//#endregion
|
|
11519
11525
|
//#region ../theme-core/src/header/effectiveNavLinkStyle.ts
|
|
11520
11526
|
function effectiveHeaderNavLinkStyle(header, contrastTreatment = null, navTextSize = null) {
|
|
@@ -11565,4 +11571,4 @@ function authoredTransparentHeaderForegroundInput(header, palette) {
|
|
|
11565
11571
|
};
|
|
11566
11572
|
}
|
|
11567
11573
|
//#endregion
|
|
11568
|
-
export {
|
|
11574
|
+
export { generateFooterCss as A, noneBoundaryOption as B, offeredSiteStyles as C, getGradientPreset as D, gradientToCss as E, parseBookingPageLookId as F, resolveEffectiveKnobs as G, spaciousBoundaryOption as H, pageDesignDecisionsV2Schema as I, cardListFamilyBlocks as K, headerNeedsPhotoShade as L, buildTextContrastShadow as M, generateNavLinkCSS as N, parseGradientPresetId as O, bookingPageLookIdValues as P, headerRootPaint as R, curatedSiteStyleIdValues as S, compiledRuntimeStyleFieldNames as T, anglePolygonCss as U, softBoundaryOption as V, transitionCatalogueEntries as W, readStoredMode as _, readOpeningForegroundProjection as a, resolvePublishedLook as b, headerNavFontSizePreferenceValues as c, readHeaderNavFontSizePreference as d, arrangementLookHooks as f, arrangementManifestFromVariants as g, resolveLookSlotSurfaces as h, transparentHeaderForegroundInput as i, footerForegroundCandidates as j, generatedDesignOptionCatalog as k, headerNavTypographyPreferenceValues as l, resolveItemSurface as m, headerForegroundCandidates as n, readOpeningToneProjection as o, arrangementSlotNames as p, cardListKnobBlocks as q, headerLeafTextColor as r, defaultHeaderNavPreferences as s, effectiveHeaderNavLinkStyle as t, mergeHeaderNavTypographyPreference as u, resolveEffectiveArrangement as v, requireCuratedSiteStyle as w, deriveSiteStyleBlockPolicy as x, resolveModeArrangement as y, boundaryRuntimeMetricsForDecorativeTransition as z };
|
package/dist/server/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { At as parseCanonicalMediaIdentifier, Ct as persistableMediaSchema, Et as renderableMediaAssetSchema, Ot as resolveManagedMediaReference, St as mediaSchema, Tt as buildRenderableMediaAssetIndex, jt as parseMediaIdentifier, kt as mediaIdentifierSchema, wt as runtimeMediaSchema } from "./schema-
|
|
1
|
+
import { At as parseCanonicalMediaIdentifier, Ct as persistableMediaSchema, Et as renderableMediaAssetSchema, Ot as resolveManagedMediaReference, St as mediaSchema, Tt as buildRenderableMediaAssetIndex, jt as parseMediaIdentifier, kt as mediaIdentifierSchema, wt as runtimeMediaSchema } from "./schema-BlTWmTSl.mjs";
|
|
2
2
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-CdI7NvAW.mjs";
|
|
3
|
-
import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, h as getResilienceStatusFromError, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, m as RiverbankApiError, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-
|
|
3
|
+
import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, h as getResilienceStatusFromError, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, m as RiverbankApiError, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-CiKaE8ms.mjs";
|
|
4
4
|
import { t as SDK_CORRELATION_HEADER_NAMES } from "./types-C2eBBV6E.mjs";
|
|
5
|
-
import { t as prebuildCache } from "./prebuild-
|
|
5
|
+
import { t as prebuildCache } from "./prebuild-DubLNgRH.mjs";
|
|
6
6
|
import * as path from "path";
|
|
7
7
|
import * as fs from "fs";
|
|
8
8
|
//#region src/prebuild/loader.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Un as resolveDateRuntimeContext } from "./registry-
|
|
2
|
-
import { a as buildSiteRenderSupport, b as readPublishedBlockPlacement, c as projectRenderablePageOutline, d as resolveSdkBlockManifest, f as sanitizeSdkRuntimeBlockContent, g as compileManifestContentContract, h as admitTransportedRenderableManifestContent, i as buildRenderablePageOutline, l as readInvalidBlockAdmission, o as collectMediaAssetSidecar, p as siteLocationRenderContext, s as invalidRenderableBlock } from "./themeAdmission-
|
|
1
|
+
import { Un as resolveDateRuntimeContext } from "./registry-zjd1P2Dl.mjs";
|
|
2
|
+
import { a as buildSiteRenderSupport, b as readPublishedBlockPlacement, c as projectRenderablePageOutline, d as resolveSdkBlockManifest, f as sanitizeSdkRuntimeBlockContent, g as compileManifestContentContract, h as admitTransportedRenderableManifestContent, i as buildRenderablePageOutline, l as readInvalidBlockAdmission, o as collectMediaAssetSidecar, p as siteLocationRenderContext, s as invalidRenderableBlock } from "./themeAdmission-BdY8lP-K.mjs";
|
|
3
3
|
import { a as isRecord } from "./richTextSchema-YYc85FX4.mjs";
|
|
4
|
-
import { t as applyBindingsToContent } from "./bindings-
|
|
5
|
-
import { i as normalizeDataLoaderSearchParams, n as createBlockDataLoadPolicy, r as resolveBlockDataWithDeps, t as DEFAULT_RESOLVE_BLOCK_DATA_DEPS } from "./resolveBlockData-
|
|
4
|
+
import { t as applyBindingsToContent } from "./bindings-BVJGgUT0.mjs";
|
|
5
|
+
import { i as normalizeDataLoaderSearchParams, n as createBlockDataLoadPolicy, r as resolveBlockDataWithDeps, t as DEFAULT_RESOLVE_BLOCK_DATA_DEPS } from "./resolveBlockData-CZJ--nH6.mjs";
|
|
6
6
|
//#region ../content-model/src/entry-slots/types.ts
|
|
7
7
|
function ok(value) {
|
|
8
8
|
return {
|
|
@@ -228,6 +228,7 @@ function toTemplateContentRenderSupport(support, siteId) {
|
|
|
228
228
|
openingHours: support.openingHours,
|
|
229
229
|
siteTerms: support.siteTerms,
|
|
230
230
|
mailingList: support.mailingList,
|
|
231
|
+
interactionContext: support.interactionContext,
|
|
231
232
|
bookingTimeZone: support.bookingTimeZone,
|
|
232
233
|
now: support.now,
|
|
233
234
|
...support.customBlocks ? { customBlocks: support.customBlocks } : {},
|
|
@@ -522,6 +523,7 @@ async function loadContentFromContentResponseWithDeps(deps, params) {
|
|
|
522
523
|
openingHours: support.openingHours,
|
|
523
524
|
siteTerms: support.siteTerms,
|
|
524
525
|
mailingList: support.mailingList,
|
|
526
|
+
interactionContext: support.interactionContext,
|
|
525
527
|
bookingTimeZone: support.bookingTimeZone,
|
|
526
528
|
now: support.now,
|
|
527
529
|
site: support.site,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as buildSiteRenderSupport, c as projectRenderablePageOutline, i as buildRenderablePageOutline, o as collectMediaAssetSidecar, p as siteLocationRenderContext, r as requireSdkTheme } from "./themeAdmission-
|
|
2
|
-
import { i as normalizeDataLoaderSearchParams, n as createBlockDataLoadPolicy, r as resolveBlockDataWithDeps, t as DEFAULT_RESOLVE_BLOCK_DATA_DEPS } from "./resolveBlockData-
|
|
1
|
+
import { a as buildSiteRenderSupport, c as projectRenderablePageOutline, i as buildRenderablePageOutline, o as collectMediaAssetSidecar, p as siteLocationRenderContext, r as requireSdkTheme } from "./themeAdmission-BdY8lP-K.mjs";
|
|
2
|
+
import { i as normalizeDataLoaderSearchParams, n as createBlockDataLoadPolicy, r as resolveBlockDataWithDeps, t as DEFAULT_RESOLVE_BLOCK_DATA_DEPS } from "./resolveBlockData-CZJ--nH6.mjs";
|
|
3
3
|
//#region src/rendering/helpers/loadPage.ts
|
|
4
4
|
/**
|
|
5
5
|
* Server-side helper to fetch all data needed for <Page> component.
|
|
@@ -118,6 +118,7 @@ async function loadPageWithDeps(deps, params) {
|
|
|
118
118
|
openingHours: support.openingHours,
|
|
119
119
|
siteTerms: support.siteTerms,
|
|
120
120
|
mailingList: support.mailingList,
|
|
121
|
+
interactionContext: support.interactionContext,
|
|
121
122
|
bookingTimeZone: support.bookingTimeZone,
|
|
122
123
|
supabaseUrl: support.supabaseUrl,
|
|
123
124
|
...support.mediaAssets ? { mediaAssets: support.mediaAssets } : {},
|
package/dist/server/next.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as MissingSdkThemeError, r as requireSdkTheme, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-
|
|
4
|
-
import {
|
|
5
|
-
import { i as normalizeDataLoaderSearchParams } from "./resolveBlockData-
|
|
6
|
-
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-
|
|
1
|
+
import { Da as toUtcIsoDateTimeString, _a as inferSiteDateLocale, wa as resolveBookingBusinessTimeZone } from "./registry-zjd1P2Dl.mjs";
|
|
2
|
+
import { d as toPageHydrationBootstrapConfig, f as defaultCatchAllThemeRuntime, l as isPreviewMode, o as normalizeSdkRenderingMode, p as defaultLayoutThemeRuntime, s as themeRuntimeForRendering, v as ThemeScope } from "./overrides-DVemf-GV.mjs";
|
|
3
|
+
import { n as MissingSdkThemeError, r as requireSdkTheme, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-BdY8lP-K.mjs";
|
|
4
|
+
import { l as unwrapResponse, o as ApiRequestError, r as createBearerAPIClient } from "./publicProducts-D3Fc5TKk.mjs";
|
|
5
|
+
import { i as normalizeDataLoaderSearchParams } from "./resolveBlockData-CZJ--nH6.mjs";
|
|
6
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-BuintpdO.mjs";
|
|
7
7
|
import { n as generatePreviewMetadata, r as applyPageSurfaceIndexing, t as generatePageMetadata } from "./generatePageMetadata-DB_lbrZ7.mjs";
|
|
8
8
|
import { t as getPortalToken } from "./portal-Ce1Prfl3.mjs";
|
|
9
9
|
import { _ as toRoutingInfo, a as resolvePageContent, i as contentNotFound, n as contentFound, o as defaultShouldAttemptEntrySubroute, t as RiverbankContentLoadError } from "./resolvePageContent-CAELMBEJ.mjs";
|
|
10
|
-
import { m as RiverbankApiError, p as CircuitOpenError, t as createRiverbankClient } from "./client-
|
|
11
|
-
import { t as SDK_VERSION } from "./version-
|
|
10
|
+
import { m as RiverbankApiError, p as CircuitOpenError, t as createRiverbankClient } from "./client-CiKaE8ms.mjs";
|
|
11
|
+
import { t as SDK_VERSION } from "./version-DoOG6F13.mjs";
|
|
12
12
|
import { t as appendSearchToRedirectDestination } from "./redirect-destination-Bee5ZEon.mjs";
|
|
13
|
-
import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-
|
|
13
|
+
import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-BDiQWM7D.mjs";
|
|
14
14
|
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
15
15
|
import "react";
|
|
16
16
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as lazyBlockOverrideSymbol, u as PageContent } from "./overrides-
|
|
1
|
+
import { i as lazyBlockOverrideSymbol, u as PageContent } from "./overrides-DVemf-GV.mjs";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
//#region src/rendering/components/Page.server.tsx
|
|
4
4
|
function Page(props) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { $n as getTextColorForBackground, $t as introCompositionTreatmentValues, An as serializeSurfaceTree, Cn as ok, Cr as surfaceInkStyle, Dr as mergeStyles, E as ICON_CONFIG, Et as renderableMediaAssetSchema, In as isCssColorLiteral, Ln as resolveOnColorForThemeToken, N as generateDefaultButtonSystem, On as parseSurfaceTree, Or as rgbColorValue, P as parseThemeButtonVariantId, R as parseThemeForPersistence, Sn as err, Xt as featureCardCompositionTreatmentValues, dr as defaultThemeTokens, jr as parseThemeColorToken, kr as textColorStyle, rn as offeringsPreviewCompositionTreatmentValues, sn as testimonialsCompositionTreatmentValues, wr as backgroundColorStyle, wt as runtimeMediaSchema, zn as resolveTokenOrCssColorValue } from "./schema-
|
|
1
|
+
import { $n as getTextColorForBackground, $t as introCompositionTreatmentValues, An as serializeSurfaceTree, Cn as ok, Cr as surfaceInkStyle, Dr as mergeStyles, E as ICON_CONFIG, Et as renderableMediaAssetSchema, In as isCssColorLiteral, Ln as resolveOnColorForThemeToken, N as generateDefaultButtonSystem, On as parseSurfaceTree, Or as rgbColorValue, P as parseThemeButtonVariantId, R as parseThemeForPersistence, Sn as err, Xt as featureCardCompositionTreatmentValues, dr as defaultThemeTokens, jr as parseThemeColorToken, kr as textColorStyle, rn as offeringsPreviewCompositionTreatmentValues, sn as testimonialsCompositionTreatmentValues, wr as backgroundColorStyle, wt as runtimeMediaSchema, zn as resolveTokenOrCssColorValue } from "./schema-BlTWmTSl.mjs";
|
|
2
|
+
import { $ as RichText, $i as CANCELLED_SESSION_STATUS, $n as formBlockDefinition, $t as formatEventHourLabel, A as buildOfferingsCatalogueListing, Aa as publicEventPricingCurrency, An as FEATURE_CARD_ICON_TREATMENTS, Ar as isBlockButtonRole, At as offeringsListingFor, B as buildEventCollectionListingDisplay, Bn as teamMemberBiography, Bt as buildEventListWeek, C as buildShopInteractiveIslandProps, Ca as parseLocalScheduleTime, Cn as isEventFull, Cr as formEmbedFragment, Ct as resolveEventRegistrationScopedEvents, D as passCardListContent, Da as toUtcIsoDateTimeString, Dn as blockBookingConsentSchema, Dr as ctaCopyFragment, Dt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, E as membershipClassesLabel, Ea as toScheduledBookingDateTime, En as publicEventsArraySchema, Er as testimonialsHeadingFragment, Fa as formatCurrencyAmount, Fn as composeHeaderSectionWrapperClassName, Fr as boxStyleClassNames, Ft as ThemedButton, Gr as el, H as eventCollectionHydrationSchema, Hn as readRuntimeNow, Ht as formatEventPriceAmount, I as eventListingBlockDefinition, Ia as parseCurrencyCode, In as markEditableSurfaceForwarding, Ir as normalizeBoxStylesBorder, It as ThemedButtonLink, J as CardListContentPart, Ji as chosenString, Jn as staticHeaderChromeRuntime, Jt as formatCalendarTitle, K as catalogueEventCardProps, Kr as when, Kt as eventDateOptions, L as buildEventListingInteractiveIslandProps, Li as PUBLIC_DOWNLOAD_MEDIA_TYPES, Ln as splitPositioningClasses, Lr as resolveCardRoleForBoxStyles, Lt as ThemedDownloadLink, M as eventCalendarBlockDefinition, Ma as publicEventPricingType, Mn as shouldReserveFeatureCardIconZone, Mr as bodyCopyFragment, Mt as resolveOfferingsPreviewGroups, N as buildEventCalendarInteractiveIslandProps, Na as resolveExactOrFreePriceDisplay, Nr as defineFragment, Nt as resolveOfferingsRenderInput, O as offeringsPreviewBlockDefinition, Oa as formatBookingPriceDisplay, On as bookingConsentCarrierSchema, Or as heroCtaRowFragment, Ot as buildOfferingsPreviewListing, P as buildEventCalendarListingDisplay, Pa as resolvePricingOptionsPriceDisplay, Pi as bindingSchema, Pt as ThemedAuthoredButton, Q as MediaNodeServer, Qi as unavailableReadinessFact, Qt as formatEventDateParts, R as buildEventCollectionDisplay, Rt as getIconComponent, S as buildProductListInteractiveIslandProps, Sa as parseBookingLocalDate, Sn as getEventAvailabilityStatus, Sr as singleButtonFragment, St as normalizeEventRegistrationPageSurfaceSubject, T as membershipCardListContent, Ta as toBookingTimeZone, Tn as groupPublicEventsByRun, Tr as testimonialsCarouselFragment, U as eventCollectionSourceSchemaShape, Un as resolveDateRuntimeContext, Ur as resolveBackgroundColorValue, Ut as formatEventPriceDisplay, V as eventCollectionDisplaySchemaShape, Vn as teamMemberCardBiography, Vt as formatEventPrice, Wr as ctaButton, Wt as buildCalendarViewport, X as resolveCardListSchedule, Xi as loadedReadinessFact, Xt as formatEventClockLabel, Y as CardListLeadDate, Yi as admitReadinessFacts, Yt as formatDate, Z as selectCardListPresentation, Zi as pageTemplateFromEntry, Zt as formatEventCompactDateRail, _ as productListBlockDefinition, _i as inlineTextToPlainText, _n as browserReadAuthoritySchema, _r as headingFragment, _t as previewStageSchema, a as normalizeLocationMapSource, ai as resolveBlockIconRenderValue, an as getLocalDateKey, ar as defineClientOwnedBlockRuntime, b as buildCheckoutInteractiveIslandProps, ba as getBookingLocalDateKey, bn as formatTotalCapacity, br as faqHeadingFragment, ca as decideLocationSourcePermission, ci as CircleMinusIcon, cn as formatDateKey, cr as listLookControl, ct as getCurrentResolveImageUrlContext, d as newsletterBlockSubmissionMessage, di as FileArchiveIcon, dn as getWeekCalendarDayTuple, dr as resolvedItemSurfaceProps, dt as getCardOrientation, ea as nextLiveRunSessionStartMs, en as formatEventNextDateFact, er as buildFormInteractiveIslandProps, et as ImagePresets, f as giftingBlockDefinition, fi as FileAudioIcon, fn as getWeekCalendarDays, fr as itemRole, ft as getContainerClass, g as productDetailBlockDefinition, ga as formatDateTimeRange, gi as PlusIcon, gn as formatBookingSchedulePresentation, gr as richTextFragment, gt as bookingNowSchema, h as cartBlockDefinition, ha as formatDateRange, hi as MinusIcon, hn as resolveRuntimeEventDestination, hr as clsx, ht as buildEventRegistrationInteractiveIslandProps, i as normalizeLocationMapProps, ia as parseMailingListRuntimeContext, ii as parseBlockIconValue, in as resolveEventTimeZone, ir as createZodCodec, j as offeringsCatalogueShape, ja as publicEventPricingDisplay, jn as resolveFeatureCardGeneratedIconSizePx, jr as heroCopyFragment, jt as resolveOfferingsPreviewGroupCta, k as publicRouteCandidatesSchema, ka as isPublicEventPricingOptionDisplayable, ki as parseFieldDefinitions, kn as blockBookingPaymentTermsSchema, kr as ctaRowFragment, kt as normalizeOfferingsPreviewItemLimit, l as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, li as CirclePlusIcon, ln as getDayOfWeek, lr as listLookSlot, lt as setContextResolveImageUrlContext, m as checkoutBlockDefinition, ma as formatDate$1, mi as FileTextIcon, mn as isToday, mr as Grid, mt as eventRegistrationBlockDefinition, na as resolveWholeSeriesBookingPhase, ni as runTransforms, nn as formatTime, nr as createInteractiveIslandCodec, o as resolveLocationMapLocation, oa as parseMailingListPlacementTargeting, oi as ArrowDownIcon, on as getLocalMinuteOfDay, or as defineProgressiveBlockRuntime, ot as resolvePublicMediaUrl, p as buildGiftingInteractiveIslandProps, pa as mapDrawingSchema, pi as FileSpreadsheetIcon, pn as isSameCalendarDay, q as listingEventCardProps, qt as eventLocalDateKey, r as normalizeBlockContent, ra as buildMailingListSignupBlockSourceRef, ri as buildGeneratedBlockIconRenderAssetLookupFromUnknown, rn as groupEventsByDate, rr as defineInteractiveIslandMetaKeys, s as newsletterSignupBlockDefinition, sa as sameMailingListPlacementTargeting, si as ChevronDownIcon, sn as addDays, sr as listItemPresentation, st as buildResolveImageUrlContext, t as getBlockDefinition, ta as orderedLiveRunSessions, tn as formatEventTimeRange, tr as buildInteractiveIslandProps, tt as MediaPlaceholder, u as buildNewsletterFormInteractiveIslandProps, ua as normalizeLocationAddressText, ui as ClockIcon, un as getOrderedDayNames, ur as lookListPresentationSchemaShape, ut as sanitizeHref, v as shopBlockDefinition, va as compareLocalScheduleDates, vi as isInlineTextEmpty, vn as canJoinEventWaitlistOnAnyMode, vr as cardFragment, w as shopProductPresentation, wa as resolveBookingBusinessTimeZone, wn as blockSiteTermsSchema, wr as formCopyFragment, x as buildProductDetailInteractiveIslandProps, xa as getLocalScheduleDate, xn as getEventAvailability, xr as blogFeaturedPostFragment, y as buildCartInteractiveIslandProps, ya as formatBookingCompactEnglishTime, yi as parseInlineTextFromUnknown, yn as formatEventRemainingPlaces, yr as faqAccordionFragment, z as buildEventCollectionHydration, zn as parseTeamMemberSpecialties, zt as SpinnerNode } from "./registry-zjd1P2Dl.mjs";
|
|
2
3
|
import { t as assertNever$1 } from "./assert-never-ku-PUn9U.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { _ as
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import "./site-styles-CxE9F3hj.mjs";
|
|
4
|
+
import { _ as validateManifestDraft, g as compileManifestContentContract, u as readSdkPreviewPublishedPlacement } from "./themeAdmission-BdY8lP-K.mjs";
|
|
5
|
+
import { C as resolvePageRouteTarget, D as parseStoredVariant, E as toPresentationPage, S as resolveEntryRouteTarget, T as toEditorPresentationPage, _ as buildLinkedContentEditTarget, b as defaultTransforms, f as buildPageRenderPlan, g as retargetJoinsAcrossOmissions, h as renderedJoinLayout, m as joinSlotKey, p as composePageJoins, v as resolveLinkedEntryInlineFieldEligibility, w as resolveRouteTarget } from "./prefetchBlockData-Bnbwoe5n.mjs";
|
|
6
|
+
import { f as arrangementLookHooks, g as arrangementManifestFromVariants, v as resolveEffectiveArrangement } from "./effectiveNavLinkStyle-EDSdd_oK.mjs";
|
|
7
|
+
import "./site-styles-yHytcXIB.mjs";
|
|
8
8
|
import { a as isRecord$4, i as isObjectRecord, t as RichTextDocSchema } from "./richTextSchema-YYc85FX4.mjs";
|
|
9
|
-
import { a as buildThemeRuntime$1, n as ResponsiveScope, o as mergeContentWithBlockStyleOverrides, r as ThemeScope$1, s as generateDefaultAccordionSystem } from "./src-
|
|
9
|
+
import { a as buildThemeRuntime$1, n as ResponsiveScope, o as mergeContentWithBlockStyleOverrides, r as ThemeScope$1, s as generateDefaultAccordionSystem } from "./src-cbbK3Bho.mjs";
|
|
10
10
|
import { t as getAtPath } from "./src-Cxucn-1P.mjs";
|
|
11
11
|
import { z } from "zod";
|
|
12
12
|
import * as React$1 from "react";
|
|
@@ -1309,11 +1309,17 @@ const eventItemParts = {
|
|
|
1309
1309
|
function eventItemFacts(props) {
|
|
1310
1310
|
const options = eventDateOptions(props.event);
|
|
1311
1311
|
const availability = getEventAvailabilityStatus(props.event);
|
|
1312
|
+
const time = formatEventTimeRange(props.event, options);
|
|
1313
|
+
const price = formatEventPrice(props.event);
|
|
1312
1314
|
return {
|
|
1313
1315
|
date: formatEventCompactDateRail(props.event.startsAt, options, "as-written"),
|
|
1314
|
-
time
|
|
1315
|
-
price
|
|
1316
|
-
|
|
1316
|
+
time,
|
|
1317
|
+
price,
|
|
1318
|
+
link: resolveEventLinkProps(props.event),
|
|
1319
|
+
meta: eventItemMeta(props, {
|
|
1320
|
+
time,
|
|
1321
|
+
price
|
|
1322
|
+
}),
|
|
1317
1323
|
venueIcon: props.arrangement === "compact" && props.showVenue !== false && Boolean(props.event.venue),
|
|
1318
1324
|
places: props.showCapacity ? formatEventRemainingPlaces(props.event, { full: "Sold out" }) : null,
|
|
1319
1325
|
availability: availability.isFull ? "full" : availability.status === "filling" ? "low" : "available",
|
|
@@ -1321,12 +1327,12 @@ function eventItemFacts(props) {
|
|
|
1321
1327
|
};
|
|
1322
1328
|
}
|
|
1323
1329
|
/** Compact rows keep pricing in the details rail and time in the action rail. */
|
|
1324
|
-
function eventItemMeta(props) {
|
|
1330
|
+
function eventItemMeta(props, formatted) {
|
|
1325
1331
|
const parts = props.parts ?? eventItemParts[props.arrangement];
|
|
1326
1332
|
const venue = props.showVenue !== false ? props.event.venue?.name : null;
|
|
1327
1333
|
const teacher = formatEventTeacherLine(props.event);
|
|
1328
|
-
const time = parts.includes("time") ? null :
|
|
1329
|
-
const price = props.arrangement === "compact" && !parts.includes("price") ?
|
|
1334
|
+
const time = parts.includes("time") ? null : formatted.time;
|
|
1335
|
+
const price = props.arrangement === "compact" && !parts.includes("price") ? formatted.price : null;
|
|
1330
1336
|
return (props.arrangement === "compact" ? [
|
|
1331
1337
|
venue,
|
|
1332
1338
|
teacher,
|
|
@@ -1392,7 +1398,7 @@ function eventItemTag(arrangement) {
|
|
|
1392
1398
|
}
|
|
1393
1399
|
function renderEventItemContentPart({ part, props, facts }) {
|
|
1394
1400
|
switch (part) {
|
|
1395
|
-
case "image": return renderEventItemImage(props);
|
|
1401
|
+
case "image": return renderEventItemImage(props, facts.link);
|
|
1396
1402
|
case "date": return /* @__PURE__ */ jsxs("time", {
|
|
1397
1403
|
...listLookSlot(props, "date"),
|
|
1398
1404
|
dateTime: props.event.startsAt,
|
|
@@ -1415,7 +1421,7 @@ function renderEventItemContentPart({ part, props, facts }) {
|
|
|
1415
1421
|
case "title": return /* @__PURE__ */ jsx("h3", {
|
|
1416
1422
|
...listLookSlot(props, "item-title"),
|
|
1417
1423
|
children: /* @__PURE__ */ jsx("a", {
|
|
1418
|
-
...
|
|
1424
|
+
...facts.link,
|
|
1419
1425
|
children: props.event.title
|
|
1420
1426
|
})
|
|
1421
1427
|
});
|
|
@@ -1443,8 +1449,7 @@ function renderEventItemContentPart({ part, props, facts }) {
|
|
|
1443
1449
|
item: {
|
|
1444
1450
|
id: props.event.id,
|
|
1445
1451
|
title: props.event.title,
|
|
1446
|
-
text: facts.description
|
|
1447
|
-
action: { label: "" }
|
|
1452
|
+
text: facts.description
|
|
1448
1453
|
},
|
|
1449
1454
|
presentation: props
|
|
1450
1455
|
});
|
|
@@ -1466,8 +1471,7 @@ function renderEventItemMeta({ props, facts }) {
|
|
|
1466
1471
|
]
|
|
1467
1472
|
}) : null;
|
|
1468
1473
|
}
|
|
1469
|
-
function renderEventItemImage(props) {
|
|
1470
|
-
const link = resolveEventLinkProps(props.event);
|
|
1474
|
+
function renderEventItemImage(props, link) {
|
|
1471
1475
|
return /* @__PURE__ */ jsx(CardListContentPart, {
|
|
1472
1476
|
part: "media",
|
|
1473
1477
|
item: {
|
|
@@ -4704,7 +4708,6 @@ const bookingSourceSchema = z.object({
|
|
|
4704
4708
|
successMessage: z.string().nullable().optional(),
|
|
4705
4709
|
form: bookingSourceFormSchema.nullable().optional(),
|
|
4706
4710
|
services: bookingServicesSourceSchema.nullable().optional(),
|
|
4707
|
-
spamProtectionEnabled: z.boolean().optional(),
|
|
4708
4711
|
className: z.string().nullable().optional()
|
|
4709
4712
|
});
|
|
4710
4713
|
const bookingDisplaySchema = z.object({
|
|
@@ -4733,8 +4736,7 @@ const bookingHydrationSchema = z.object({
|
|
|
4733
4736
|
rebookContext: z.object({ kind: z.literal("portal_rebook") }).nullable().optional(),
|
|
4734
4737
|
form: bookingConfigSchema.nullable(),
|
|
4735
4738
|
services: z.array(bookingServiceSchema),
|
|
4736
|
-
serviceCategories: z.array(bookingServiceCategorySchema).optional()
|
|
4737
|
-
spamProtectionEnabled: z.boolean().optional()
|
|
4739
|
+
serviceCategories: z.array(bookingServiceCategorySchema).optional()
|
|
4738
4740
|
});
|
|
4739
4741
|
const bookingRenderSchema = z.object({
|
|
4740
4742
|
display: bookingDisplaySchema,
|
|
@@ -4785,8 +4787,7 @@ const bookingFormBlockRuntime = defineClientOwnedBlockRuntime({
|
|
|
4785
4787
|
rebookContext: source.rebookContext ?? null,
|
|
4786
4788
|
form,
|
|
4787
4789
|
services,
|
|
4788
|
-
serviceCategories: normalizeBookingServiceCategories(source.services)
|
|
4789
|
-
spamProtectionEnabled: source.spamProtectionEnabled
|
|
4790
|
+
serviceCategories: normalizeBookingServiceCategories(source.services)
|
|
4790
4791
|
}
|
|
4791
4792
|
};
|
|
4792
4793
|
}
|
|
@@ -6891,13 +6892,12 @@ function previewCardContent(item, props, datesBySeries, typeLabel) {
|
|
|
6891
6892
|
}
|
|
6892
6893
|
function nativeRunCardContent(item, content, props) {
|
|
6893
6894
|
const open = resolveWholeSeriesBookingPhase(item.run.run, props.now).kind === "open";
|
|
6895
|
+
const path = content.titleLink?.href ?? null;
|
|
6894
6896
|
return {
|
|
6895
6897
|
...content,
|
|
6896
|
-
href: item.path,
|
|
6897
|
-
titleLink: void 0,
|
|
6898
6898
|
action: {
|
|
6899
|
-
label: open ?
|
|
6900
|
-
...open &&
|
|
6899
|
+
label: open ? path ? props.buttonText || "Book" : "Details coming soon" : "Registration closed",
|
|
6900
|
+
...open && path ? { href: path } : {}
|
|
6901
6901
|
}
|
|
6902
6902
|
};
|
|
6903
6903
|
}
|
|
@@ -9340,6 +9340,15 @@ function EventRegistrationShell({ display }) {
|
|
|
9340
9340
|
});
|
|
9341
9341
|
}
|
|
9342
9342
|
//#endregion
|
|
9343
|
+
//#region ../blocks/src/system/runtime/shared/components/ProtectedSubmitButton.tsx
|
|
9344
|
+
/** Verification readiness is decided here, never recomputed by individual forms. */
|
|
9345
|
+
function ProtectedSubmitButton({ submission, disabled, ...props }) {
|
|
9346
|
+
return /* @__PURE__ */ jsx(ThemedButton, {
|
|
9347
|
+
...props,
|
|
9348
|
+
disabled: disabled || submission.kind === "waiting"
|
|
9349
|
+
});
|
|
9350
|
+
}
|
|
9351
|
+
//#endregion
|
|
9343
9352
|
//#region ../blocks/src/system/runtime/nodes/form.fields.tsx
|
|
9344
9353
|
function fieldBasics(field) {
|
|
9345
9354
|
return {
|
|
@@ -9518,14 +9527,15 @@ function FormFieldGroups({ groups, lookSlots }) {
|
|
|
9518
9527
|
children: group.fields.map(renderField)
|
|
9519
9528
|
}, group.key) : renderField(group.field)) });
|
|
9520
9529
|
}
|
|
9521
|
-
function FormSubmitAction({ lookSlots, submitLabel, disabled }) {
|
|
9530
|
+
function FormSubmitAction({ lookSlots, submitLabel, disabled, submission }) {
|
|
9522
9531
|
return /* @__PURE__ */ jsx("div", {
|
|
9523
9532
|
className: "fb-actions",
|
|
9524
9533
|
...listLookSlot({ lookSlots }, "actions"),
|
|
9525
9534
|
children: /* @__PURE__ */ jsx("div", {
|
|
9526
9535
|
className: "fb-actions-inner",
|
|
9527
9536
|
...listLookSlot({ lookSlots }, "inline"),
|
|
9528
|
-
children: /* @__PURE__ */ jsx(
|
|
9537
|
+
children: /* @__PURE__ */ jsx(ProtectedSubmitButton, {
|
|
9538
|
+
submission,
|
|
9529
9539
|
...listLookSlot({ lookSlots }, "action"),
|
|
9530
9540
|
type: "submit",
|
|
9531
9541
|
variant: "primary",
|
|
@@ -9587,6 +9597,7 @@ const FormNodeSSR = ({ blockId, lookSlots, value, submitLabel, successMessage, c
|
|
|
9587
9597
|
lookSlots: display.lookSlots
|
|
9588
9598
|
}),
|
|
9589
9599
|
/* @__PURE__ */ jsx(FormSubmitAction, {
|
|
9600
|
+
submission: { kind: "waiting" },
|
|
9590
9601
|
submitLabel: display.submitLabel,
|
|
9591
9602
|
lookSlots: display.lookSlots
|
|
9592
9603
|
})
|
|
@@ -9650,7 +9661,7 @@ function NewsletterExtraField({ field, disabled, error, lookSlots }) {
|
|
|
9650
9661
|
});
|
|
9651
9662
|
}
|
|
9652
9663
|
/** The email field and submit button sharing one input-styled shell. */
|
|
9653
|
-
function NewsletterEmailEntry({ field, buttonVariant, buttonLabel, disabled, error }) {
|
|
9664
|
+
function NewsletterEmailEntry({ field, buttonVariant, buttonLabel, submission, disabled, error }) {
|
|
9654
9665
|
const inputId = inputIdFor(field);
|
|
9655
9666
|
const errorId = `${inputId}-error`;
|
|
9656
9667
|
return /* @__PURE__ */ jsxs("div", {
|
|
@@ -9677,7 +9688,8 @@ function NewsletterEmailEntry({ field, buttonVariant, buttonLabel, disabled, err
|
|
|
9677
9688
|
messageId: errorId
|
|
9678
9689
|
})
|
|
9679
9690
|
}),
|
|
9680
|
-
/* @__PURE__ */ jsx(
|
|
9691
|
+
/* @__PURE__ */ jsx(ProtectedSubmitButton, {
|
|
9692
|
+
submission,
|
|
9681
9693
|
type: "submit",
|
|
9682
9694
|
variant: buttonVariant,
|
|
9683
9695
|
size: "md",
|
|
@@ -9696,7 +9708,7 @@ function NewsletterEmailEntry({ field, buttonVariant, buttonLabel, disabled, err
|
|
|
9696
9708
|
* The submit action: joined to the email field when the preset has one
|
|
9697
9709
|
* (every current preset does), otherwise a plain themed button.
|
|
9698
9710
|
*/
|
|
9699
|
-
function NewsletterSubmitRow({ emailField, lookSlots, buttonVariant, buttonLabel, disabled, error }) {
|
|
9711
|
+
function NewsletterSubmitRow({ emailField, lookSlots, buttonVariant, buttonLabel, submission, disabled, error }) {
|
|
9700
9712
|
if (lookSlots) return /* @__PURE__ */ jsxs(Fragment, { children: [emailField && /* @__PURE__ */ jsx(NewsletterExtraField, {
|
|
9701
9713
|
field: emailField,
|
|
9702
9714
|
lookSlots,
|
|
@@ -9704,7 +9716,8 @@ function NewsletterSubmitRow({ emailField, lookSlots, buttonVariant, buttonLabel
|
|
|
9704
9716
|
error
|
|
9705
9717
|
}), /* @__PURE__ */ jsx("div", {
|
|
9706
9718
|
...listLookSlot({ lookSlots }, "actions"),
|
|
9707
|
-
children: /* @__PURE__ */ jsx(
|
|
9719
|
+
children: /* @__PURE__ */ jsx(ProtectedSubmitButton, {
|
|
9720
|
+
submission,
|
|
9708
9721
|
...listLookSlot({ lookSlots }, "action"),
|
|
9709
9722
|
type: "submit",
|
|
9710
9723
|
variant: buttonVariant,
|
|
@@ -9717,12 +9730,14 @@ function NewsletterSubmitRow({ emailField, lookSlots, buttonVariant, buttonLabel
|
|
|
9717
9730
|
field: emailField,
|
|
9718
9731
|
buttonVariant,
|
|
9719
9732
|
buttonLabel,
|
|
9733
|
+
submission,
|
|
9720
9734
|
disabled,
|
|
9721
9735
|
error
|
|
9722
9736
|
});
|
|
9723
9737
|
return /* @__PURE__ */ jsx("div", {
|
|
9724
9738
|
className: "newsletter-submit",
|
|
9725
|
-
children: /* @__PURE__ */ jsx(
|
|
9739
|
+
children: /* @__PURE__ */ jsx(ProtectedSubmitButton, {
|
|
9740
|
+
submission,
|
|
9726
9741
|
type: "submit",
|
|
9727
9742
|
variant: buttonVariant,
|
|
9728
9743
|
size: "md",
|
|
@@ -9818,6 +9833,7 @@ function NewsletterFormSSR(props) {
|
|
|
9818
9833
|
}, field.id))
|
|
9819
9834
|
}) : null,
|
|
9820
9835
|
/* @__PURE__ */ jsx(NewsletterSubmitRow, {
|
|
9836
|
+
submission: { kind: "waiting" },
|
|
9821
9837
|
lookSlots: display.lookSlots,
|
|
9822
9838
|
emailField,
|
|
9823
9839
|
buttonVariant: display.buttonVariant,
|
|
@@ -11617,6 +11633,7 @@ function resolveDemoEmailSuppression(dataContext) {
|
|
|
11617
11633
|
}
|
|
11618
11634
|
function pageRuntimeContext(dataContext) {
|
|
11619
11635
|
return {
|
|
11636
|
+
interactionContext: dataContext?.interactionContext,
|
|
11620
11637
|
dateContext: pageDateRuntimeContext(dataContext),
|
|
11621
11638
|
now: dataContext?.now,
|
|
11622
11639
|
template: dataContext?.template ?? { kind: "page" }
|
|
@@ -11941,7 +11958,7 @@ function preparePageRender(input) {
|
|
|
11941
11958
|
template: input.dataContext?.template ?? pageTemplateFromEntry(input.dataContext?.contentEntry)
|
|
11942
11959
|
});
|
|
11943
11960
|
const permission = input.dataContext?.businessLocationPermission ?? decideLocationSourcePermission("business_address", input.dataContext?.businessAddressVisibility);
|
|
11944
|
-
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)));
|
|
11961
|
+
const entries = input.plan.entries.filter((entry) => input.audience === "authoring" || !entryNeedsSetup(entry, facts, input.dataContext?.interactionContext)).filter((entry) => isPublicSourcePermitted(entry, permission) || input.audience === "authoring" && permission.kind === "hidden").map((entry) => preparedPlanEntry(entry, prepareSourceEntry(entry, input, permission)));
|
|
11945
11962
|
const constructionFailures = entries.filter((candidate) => candidate.prepared.kind === "render-threw").map((candidate) => candidate.entry);
|
|
11946
11963
|
const survivors = input.audience === "authoring" ? entries : entries.filter((candidate) => candidate.prepared.kind !== "render-threw" && candidate.prepared.kind !== "unresolved-location");
|
|
11947
11964
|
return {
|
|
@@ -11978,15 +11995,15 @@ function isPublicSourcePermitted(entry, permission) {
|
|
|
11978
11995
|
const rawSource = entry.renderableContent.locationSource;
|
|
11979
11996
|
return normalizeLocationMapSource(typeof rawSource === "string" ? rawSource : null) !== "business_address" || permission.kind === "permitted";
|
|
11980
11997
|
}
|
|
11998
|
+
function entryNeedsSetup(entry, facts, interaction) {
|
|
11999
|
+
return entry.kind === "renderable" && entry.definition.readiness?.assess(entry.renderableContent, facts, interaction).kind === "NeedsSetup";
|
|
12000
|
+
}
|
|
11981
12001
|
/**
|
|
11982
12002
|
* The only place joins are composed. Plan-time omissions were already
|
|
11983
12003
|
* re-pointed by the plan; construction failures are re-pointed here by the
|
|
11984
12004
|
* same primitive, so `[A, B, C]` losing B still gets an A→C join. Each
|
|
11985
12005
|
* survivor is then classified from its final content.
|
|
11986
12006
|
*/
|
|
11987
|
-
function entryNeedsSetup(entry, facts) {
|
|
11988
|
-
return entry.kind === "renderable" && entry.definition.readiness?.assess(entry.renderableContent, facts).kind === "NeedsSetup";
|
|
11989
|
-
}
|
|
11990
12007
|
function composeSurvivorJoins(plan, survivors, themeResources) {
|
|
11991
12008
|
return composePageJoins({
|
|
11992
12009
|
joins: retargetJoinsAcrossOmissions({
|
|
@@ -12100,14 +12117,16 @@ function newsletterBlockProps(block, renderedContent, stage) {
|
|
|
12100
12117
|
}
|
|
12101
12118
|
/** Site, transport and session context a block needs to call back to the API. */
|
|
12102
12119
|
function blockSessionProps(dataContext) {
|
|
12120
|
+
const context = dataContext ?? {};
|
|
12103
12121
|
return {
|
|
12104
|
-
siteId:
|
|
12105
|
-
|
|
12106
|
-
|
|
12107
|
-
|
|
12108
|
-
|
|
12109
|
-
|
|
12110
|
-
|
|
12122
|
+
siteId: context.siteId,
|
|
12123
|
+
interactionContext: context.interactionContext,
|
|
12124
|
+
apiBaseUrl: context.apiBaseUrl,
|
|
12125
|
+
supabaseUrl: context.supabaseUrl,
|
|
12126
|
+
portalToken: context.portalToken ?? null,
|
|
12127
|
+
previewToken: context.previewToken ?? null,
|
|
12128
|
+
readAuthority: context.readAuthority,
|
|
12129
|
+
stage: context.previewStage
|
|
12111
12130
|
};
|
|
12112
12131
|
}
|
|
12113
12132
|
/** What this render is *about* — the entry, occurrence or surface in scope. */
|
|
@@ -13072,6 +13091,7 @@ function buildPageDataContext(props) {
|
|
|
13072
13091
|
openingHours: props.openingHours ?? props.dataContext.openingHours,
|
|
13073
13092
|
siteTerms: props.siteTerms ?? props.dataContext.siteTerms,
|
|
13074
13093
|
mailingList: props.mailingList ?? props.dataContext.mailingList,
|
|
13094
|
+
interactionContext: props.interactionContext ?? props.dataContext.interactionContext,
|
|
13075
13095
|
bookingTimeZone: resolveSdkBookingTimeZone(props.bookingTimeZone),
|
|
13076
13096
|
dateContext: resolveDateRuntimeContext(props.bookingTimeZone),
|
|
13077
13097
|
routes: props.routeMap,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Rr as parseBackgroundContent, n as listBlockDescriptors } from "./registry-
|
|
1
|
+
import { Rr as parseBackgroundContent, n as listBlockDescriptors } from "./registry-zjd1P2Dl.mjs";
|
|
2
2
|
import { r as createDebugWriter } from "./debug-DXUyrE0T.mjs";
|
|
3
3
|
import { i as getJsonFromAiText, r as getJsonFromAi, t as convertHtmlToManifest } from "./three-pass-converter-Chnb1XD-.mjs";
|
|
4
4
|
import { z } from "zod";
|
package/dist/server/prebuild.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as prebuildCache } from "./prebuild-
|
|
1
|
+
import { t as prebuildCache } from "./prebuild-DubLNgRH.mjs";
|
|
2
2
|
export { prebuildCache };
|