@riverbankcms/sdk 0.162.0 → 0.163.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/CHANGELOG.md +9 -0
- package/dist/_dts/{BlocksIslandsHydrator-PZUoA872.d.ts → BlocksIslandsHydrator-DYPGA_qh.d.ts} +1 -1
- package/dist/_dts/{Page-CdQS6C7i.d.ts → Page-zwnvFBPu.d.ts} +8 -8
- package/dist/_dts/{SdkPreviewMode-CNGO-5f1.d.ts → SdkPreviewMode-DukuJzGr.d.ts} +3 -3
- package/dist/_dts/{client-DGa53rjL.d.ts → client-Chh3bnXC.d.ts} +1 -1
- package/dist/_dts/{content-types-K9R7P-KF.d.ts → content-types-Bbzqw9J2.d.ts} +2 -2
- package/dist/_dts/{contracts-CyBaPaIq.d.ts → contracts-GJ1kGBsi.d.ts} +4 -4
- package/dist/_dts/{footerPageOutline-B6jmKmon.d.ts → footerPageOutline-BNMKhyvo.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-iemoR3AN.d.ts → generatePageMetadata-Ce0m1P3B.d.ts} +2 -2
- package/dist/_dts/{index-Wm62sXf2.d.ts → index-C3mJvn27.d.ts} +4 -4
- package/dist/_dts/{index-DI2yaSPY.d.ts → index-CaL0nKkl.d.ts} +81 -26
- package/dist/_dts/{index-DEu85xBt.d.ts → index-CdSNXLOx.d.ts} +1 -1
- package/dist/_dts/{index-Dbd0Sn0G.d.ts → index-CyQhZuhM.d.ts} +49 -3
- package/dist/_dts/{index-C39F9KaB.d.ts → index-D2y4Iy-d.d.ts} +1 -1
- package/dist/_dts/{index-BtnsA14K.d.ts → index-DRxgeK8L.d.ts} +4 -3
- package/dist/_dts/{index-Du1IRglc.d.ts → index-FstkyqQB.d.ts} +2 -2
- package/dist/_dts/{index-Jlcq6w69.d.ts → index-G2p-HOrK.d.ts} +3 -3
- package/dist/_dts/{index-8CN0Nd-Z.d.ts → index-rhMSu0oY.d.ts} +2 -2
- package/dist/_dts/{loadContent-BPfAAZDW.d.ts → loadContent-DiLZoInK.d.ts} +7 -7
- package/dist/_dts/{resolvePageContent-DWbrtKf8.d.ts → resolvePageContent-CWUnipv8.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 +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 +13 -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/theme/index.d.ts +1 -1
- package/dist/_dts/{types-CfNG5koF.d.ts → types-BmtrA45p.d.ts} +2 -2
- package/dist/_dts/{types-CVv2H4AT.d.ts → types-CalL7aKP.d.ts} +7 -7
- package/dist/_dts/{types-ClZ-BQL_.d.ts → types-DFOqkClJ.d.ts} +3 -3
- package/dist/_dts/{validation-BJ6Lf_Dr.d.ts → validation-G8MRoIhq.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-COqlgWYU.mjs → BlocksIslandsHydrator-DLCXwe30.mjs} +20 -20
- package/dist/client/{BookingMailingListNote-CFYPDEHH.mjs → BookingMailingListNote-BV5-50F0.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-COBVxgHb.mjs → CalendarNavigationChevron-CVLAHdZG.mjs} +6 -6
- package/dist/client/{CheckboxChoice-C7X9dJ8A.mjs → CheckboxChoice-Dtgp3OU8.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-CvT0E9AR.mjs → DemoBookingPortalAccess-B3caCnTT.mjs} +5 -5
- package/dist/client/{DemoPortalSignInLink-EBOBN5dT.mjs → DemoPortalSignInLink-Ct8JMKW0.mjs} +1 -1
- package/dist/client/{EventCalendar.client-U6pKcntV.mjs → EventCalendar.client-ffa6920T.mjs} +9 -9
- package/dist/client/{EventCombined.client-CNzwEHws.mjs → EventCombined.client-zm0W2G79.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B9yAWV_k.mjs → EventEmbeddedCheckoutStep-CPPE2rWS.mjs} +1 -1
- package/dist/client/{EventItem-M5rpaHxi.mjs → EventItem-CND3mfra.mjs} +91 -15
- package/dist/client/{EventListWeekNavigation-D4ieBLDY.mjs → EventListWeekNavigation-D8QdxL_f.mjs} +1 -1
- package/dist/client/{EventListing.client-B8F40Rmn.mjs → EventListing.client-CaoRZUI9.mjs} +3 -3
- package/dist/client/{EventListing.view-k4lhuCn5.mjs → EventListing.view-BfnOmxYD.mjs} +7 -56
- package/dist/client/{EventRegistrationPayment-C3g8_Hqb.mjs → EventRegistrationPayment-Dfu3RSL2.mjs} +10 -10
- package/dist/client/{LocationMapActions-CAjt7qVo.mjs → LocationMapActions-wlyxASdT.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-_aIK2ojv.mjs → MapDrawingSvg-B9oKSitp.mjs} +1 -1
- package/dist/client/{Page-DJBIQBOw.mjs → Page-BEF9HrAy.mjs} +584 -251
- package/dist/client/{StepIndicator-CFacB1z6.mjs → StepIndicator-Bjx4faaw.mjs} +2 -2
- package/dist/client/{TabBarFragment-BLsfQskO.mjs → TabBarFragment-Cu7k_VSl.mjs} +1 -1
- package/dist/client/{ThemedButton-BWsDgjMC.mjs → ThemedButton-DclwabI7.mjs} +1 -1
- package/dist/client/{accordion-CtO2XF7M.mjs → accordion-lzM2nSZB.mjs} +1 -1
- package/dist/client/{booking-form.client-RICCQ0h2.mjs → booking-form.client-Bll4QwBi.mjs} +12 -12
- package/dist/client/{bookingForm-SvjLPx8i.mjs → bookingForm-Cq5fQ-vo.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-BR-zCD3O.mjs → carousel-CxerQwIx.mjs} +2 -2
- package/dist/client/{carousel.client-CEWtoZd3.mjs → carousel.client-CVUXq8Mb.mjs} +1 -1
- package/dist/client/{cart-C6YpKbZZ.mjs → cart-X-m0isoI.mjs} +3 -3
- package/dist/client/{cart.client-dC938WrX.mjs → cart.client-CJbzWIl0.mjs} +1 -1
- package/dist/client/{checkout-Dy9RlREI.mjs → checkout-Gd0O_fGH.mjs} +3 -3
- package/dist/client/{checkout.client-CefG0d2F.mjs → checkout.client-Baee6Jsm.mjs} +1 -1
- package/dist/client/client.mjs +2 -2
- package/dist/client/{context-BFwxgZpB.mjs → context-Bg0SFWcM.mjs} +1 -1
- package/dist/client/{cta-DtA42Xio.mjs → cta-HffyM4MA.mjs} +1 -1
- package/dist/client/{dateFormatting-yP1B7F0O.mjs → dateFormatting-CV45BH5M.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-WOiT5Ryi.mjs → demoPortalMagicLink-CDWheSjI.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-Dh8c_Lq-.mjs → enhanceHeaderSection-BqVDXL0D.mjs} +3 -3
- package/dist/client/{event-details.client-BFgsLqTj.mjs → event-details.client-SFtS9OkF.mjs} +1 -1
- package/dist/client/{event-registration.client-BaXZ1-Ky.mjs → event-registration.client-CguNVIFY.mjs} +13 -13
- package/dist/client/{eventCalendar-COLwF80U.mjs → eventCalendar-DSGG35jd.mjs} +4 -4
- package/dist/client/{eventCombined-D3Ltwu03.mjs → eventCombined-Oe-PiChx.mjs} +4 -4
- package/dist/client/{eventDetails-CBrkimXu.mjs → eventDetails-BhcTT6P3.mjs} +2 -2
- package/dist/client/{eventListing-CedKVA1S.mjs → eventListing-BS0kBEgI.mjs} +4 -4
- package/dist/client/{eventRegistration-DkQQfR1b.mjs → eventRegistration-B82SHv7j.mjs} +4 -4
- package/dist/client/{form-XFy9uXSJ.mjs → form-DAIUrVXb.mjs} +3 -3
- package/dist/client/{form.client-B0iancFK.mjs → form.client-BoAkhoh_.mjs} +4 -4
- package/dist/client/{form.parts-DMbolu9Y.mjs → form.parts-1VnasOK8.mjs} +3 -3
- package/dist/client/{formatDate-Jm5MQOCA.mjs → formatDate-BKil_Psb.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-WjlECjtV.mjs → headerSection-CyuHk8Ei.mjs} +2 -2
- package/dist/client/mediaAssets-CGJE1Omu.mjs +43 -0
- package/dist/client/{mediaContext-CNzWmoA4.mjs → mediaContext-DIkX2S-X.mjs} +1 -1
- package/dist/client/{newsletter-form.client-D-XwJTjN.mjs → newsletter-form.client-CCdyHx0B.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-H92f30y0.mjs → newsletter-form.parts-Dl8AjsXW.mjs} +2 -2
- package/dist/client/{newsletterForm-DMuxzu6I.mjs → newsletterForm-qFWLZJui.mjs} +3 -3
- package/dist/client/{noop-B3RNPVrt.mjs → noop-4XFGzJpT.mjs} +3 -3
- package/dist/client/portal/client.mjs +12 -12
- package/dist/client/{product-detail.client-B3HuuykE.mjs → product-detail.client-Tq4S99ce.mjs} +1 -1
- package/dist/client/{product-list.client-CzsDrHQO.mjs → product-list.client-CuL5jB1w.mjs} +1 -1
- package/dist/client/{productDetail-CbBUVWgd.mjs → productDetail-BRqgcotZ.mjs} +3 -3
- package/dist/client/{productList-vqOKH2mh.mjs → productList-EK9Um-oh.mjs} +3 -3
- package/dist/client/{propsDecoder-CkSUep5a.mjs → propsDecoder-VD4arFq1.mjs} +3 -3
- package/dist/client/{registry.server-cZ24QwtW.mjs → registry.server-qYbsatxH.mjs} +19 -19
- package/dist/client/rendering/client.mjs +26 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +19 -19
- package/dist/client/{richText-coerce-DDcCKvBJ.mjs → richText-coerce-CW8CFk8v.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DYBioANh.mjs → routeIslandApiConfig-CnZ_1ol2.mjs} +1 -1
- package/dist/client/{schema-DNHLlze-.mjs → schema-BFwQDvJL.mjs} +846 -497
- package/dist/client/{shop-CF0dhnfH.mjs → shop-CTUaT57E.mjs} +3 -3
- package/dist/client/{shop-commerce-DQznNBEo.mjs → shop-commerce-BWwbsm_-.mjs} +11 -11
- package/dist/client/{shop-commerce-store-Ba8zPlIg.mjs → shop-commerce-store-15UII0y3.mjs} +1 -1
- package/dist/client/{shop.client-DqfYoqWH.mjs → shop.client-UWgdmJBm.mjs} +12 -12
- package/dist/client/{shop.interactive-CreQ0I7i.mjs → shop.interactive-Cf_kASpd.mjs} +44 -26
- package/dist/client/{shopShared-D-yh-P7g.mjs → shopShared-Bi8d584P.mjs} +2 -2
- package/dist/client/{site-styles-B9HgmY07.mjs → site-styles-dy54AUdz.mjs} +747 -32
- package/dist/client/{timetableModel-DCdVErTJ.mjs → timetableModel-Bi8ruFgB.mjs} +10 -10
- package/dist/client/{useAvailableSlots-Cvgdp2DH.mjs → useAvailableSlots-DiLbDqM3.mjs} +3 -3
- package/dist/client/{useBookingNowIso-DrTnGNzD.mjs → useBookingNowIso-CWIiqPd0.mjs} +1 -1
- package/dist/client/{useDiscountApply-CULjnXGl.mjs → useDiscountApply-ChtszhF9.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-Gn_m7e0o.mjs → useDiscountCodeUi-B0Z7n2tZ.mjs} +1 -1
- package/dist/client/{useEventPagination-CsysCF22.mjs → useEventPagination-DRrATQHQ.mjs} +6 -6
- package/dist/client/{view-BpBjo9Te.mjs → view-OvsxzgxP.mjs} +7 -7
- package/dist/client/{view-DMyTchi7.mjs → view-yUIfWX3S.mjs} +4 -4
- package/dist/client/{wizardSteps-BO2OmMO9.mjs → wizardSteps-kbONzKUv.mjs} +5 -5
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/chrome.css +1 -1
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-DLsSmZbO.mjs → EventEmbeddedCheckoutStep-DzoFjIqB.mjs} +1 -1
- package/dist/preview-next/client/{PreviewEditorSidebar-ChrW9VEo.mjs → PreviewEditorSidebar-BhgPyyUW.mjs} +10 -8
- package/dist/preview-next/client/{PreviewEditorUI-VaHvYtrA.mjs → PreviewEditorUI-lndKKBtB.mjs} +151 -126
- package/dist/preview-next/client/{SdkPreviewModeRuntime-DWwktlWs.mjs → SdkPreviewModeRuntime-Bk7On_EM.mjs} +139 -1264
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bz7jR6nl.mjs → SdkPreviewModeRuntime-DCDDXDlt.mjs} +1 -1
- package/dist/preview-next/client/{ThemedButton-CHKOWXxl.mjs → ThemedButton-nUnE3iMv.mjs} +403 -66
- package/dist/preview-next/client/{previewAuthStore-C0VUwEHz.mjs → previewAuthStore-DHtSQIBE.mjs} +12933 -11769
- package/dist/preview-next/client/{previewChromeSurface-Dhyx2YrS.mjs → previewChromeSurface-CxQ6dZ8D.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-C2GWOCyj.mjs → sdk-runtime-DSZv7Vfm.mjs} +1 -1
- package/dist/preview-next/client/{siteStyleAccess-DHyzUpv4.mjs → siteStyleAccess-Chq5KKKh.mjs} +3782 -2453
- package/dist/preview-next/client/{spinner-BeR2S8oG.mjs → spinner-CjxE3uws.mjs} +1 -1
- package/dist/preview-next/edit-map.css +37 -0
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/maplibre-gl.css +1 -0
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CkrFDMrl.mjs → route-contract-CxCstfkP.mjs} +9 -0
- package/dist/preview-next/upload-structure.css +18 -0
- package/dist/server/{Block.shared-DxvNGDig.mjs → Block.shared-Dz9k8vCX.mjs} +16 -16
- package/dist/server/{bindings-BuhKvYkE.mjs → bindings-S-gCHhj5.mjs} +2 -2
- package/dist/server/{client-BobW6DOz.mjs → client-C2Q56xqV.mjs} +2 -2
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{effectiveNavLinkStyle-B-MKSt0p.mjs → effectiveNavLinkStyle-DLzJPcDL.mjs} +713 -12
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-CCG_3mbY.mjs → loadContent-D7ItMsEl.mjs} +4 -4
- package/dist/server/loadPage-D2qvYV5g.mjs +2 -0
- package/dist/server/{loadPage-jntGoMrf.mjs → loadPage-DaPiPYUL.mjs} +2 -2
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-BBOlgn4Z.mjs → overrideResolution-anoB3Kbn.mjs} +1 -1
- package/dist/server/{overrides-DByQwIyW.mjs → overrides-W1Cc6srh.mjs} +177 -80
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-DrwcTk2t.mjs → prebuild-BF9yNfCS.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-LfgxSJYE.mjs → prefetchBlockData-Cn9k3DW6.mjs} +10 -6
- package/dist/server/{publicProducts-8A3T5v4M.mjs → publicProducts-BVcJ6TG7.mjs} +11 -2
- package/dist/server/{registry-Digv02oV.mjs → registry-4ZF3bUuJ.mjs} +97 -42
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-C23t8-77.mjs → resolveBlockData-BKQ1Fc0M.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-BiqpDRwB.mjs → schema-DgrigZq9.mjs} +4118 -3769
- package/dist/server/server.mjs +3 -3
- package/dist/server/{site-styles-DrkprQPL.mjs → site-styles-CxE9F3hj.mjs} +36 -22
- package/dist/server/{siteChromeOverlayClearance-BmKKkkbh.mjs → siteChromeOverlayClearance-OhS6f830.mjs} +161 -105
- package/dist/server/{src-08GY1njw.mjs → src-C44_fMy5.mjs} +291 -106
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-CSd_Vusz.mjs → themeAdmission-CVc04B9m.mjs} +2 -2
- package/dist/server/{validation-DdUTkBOZ.mjs → validation-BrbY0nxR.mjs} +2 -2
- package/dist/server/{version-DdIOqIDe.mjs → version-BBSk8uM6.mjs} +1 -1
- package/dist/styles/index.css +162 -72
- package/package.json +1 -1
- package/dist/client/mediaAssets-BkoW_PEn.mjs +0 -16
- package/dist/server/loadPage-Bk9HDh9K.mjs +0 -2
package/dist/server/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
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-DgrigZq9.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-C2Q56xqV.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-BF9yNfCS.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-4ZF3bUuJ.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-CVc04B9m.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-S-gCHhj5.mjs";
|
|
5
|
+
import { i as normalizeDataLoaderSearchParams, n as createBlockDataLoadPolicy, r as resolveBlockDataWithDeps, t as DEFAULT_RESOLVE_BLOCK_DATA_DEPS } from "./resolveBlockData-BKQ1Fc0M.mjs";
|
|
6
6
|
//#region ../content-model/src/entry-slots/types.ts
|
|
7
7
|
function ok(value) {
|
|
8
8
|
return {
|
|
@@ -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-CVc04B9m.mjs";
|
|
2
|
+
import { i as normalizeDataLoaderSearchParams, n as createBlockDataLoadPolicy, r as resolveBlockDataWithDeps, t as DEFAULT_RESOLVE_BLOCK_DATA_DEPS } from "./resolveBlockData-BKQ1Fc0M.mjs";
|
|
3
3
|
//#region src/rendering/helpers/loadPage.ts
|
|
4
4
|
/**
|
|
5
5
|
* Server-side helper to fetch all data needed for <Page> component.
|
package/dist/server/next.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Da as toUtcIsoDateTimeString, _a as inferSiteDateLocale, wa as resolveBookingBusinessTimeZone } from "./registry-
|
|
3
|
-
import { n as MissingSdkThemeError, r as requireSdkTheme, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-
|
|
4
|
-
import { a as createBearerAPIClient, i as ApiRequestError, u as unwrapResponse } from "./publicProducts-
|
|
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 { d as toPageHydrationBootstrapConfig, f as defaultCatchAllThemeRuntime, l as isPreviewMode, o as normalizeSdkRenderingMode, p as defaultLayoutThemeRuntime, s as themeRuntimeForRendering, v as ThemeScope } from "./overrides-W1Cc6srh.mjs";
|
|
2
|
+
import { Da as toUtcIsoDateTimeString, _a as inferSiteDateLocale, wa as resolveBookingBusinessTimeZone } from "./registry-4ZF3bUuJ.mjs";
|
|
3
|
+
import { n as MissingSdkThemeError, r as requireSdkTheme, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-CVc04B9m.mjs";
|
|
4
|
+
import { a as createBearerAPIClient, i as ApiRequestError, u as unwrapResponse } from "./publicProducts-BVcJ6TG7.mjs";
|
|
5
|
+
import { i as normalizeDataLoaderSearchParams } from "./resolveBlockData-BKQ1Fc0M.mjs";
|
|
6
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-D7ItMsEl.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-C2Q56xqV.mjs";
|
|
11
|
+
import { t as SDK_VERSION } from "./version-BBSk8uM6.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-anoB3Kbn.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-W1Cc6srh.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 { An as
|
|
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-DgrigZq9.mjs";
|
|
2
2
|
import { t as assertNever$1 } from "./assert-never-ku-PUn9U.mjs";
|
|
3
|
-
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-
|
|
4
|
-
import { _ as validateManifestDraft, g as compileManifestContentContract, u as readSdkPreviewPublishedPlacement } from "./themeAdmission-
|
|
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-
|
|
6
|
-
import { _ as resolveEffectiveArrangement, d as arrangementLookHooks, h as arrangementManifestFromVariants } from "./effectiveNavLinkStyle-
|
|
7
|
-
import "./site-styles-
|
|
3
|
+
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-4ZF3bUuJ.mjs";
|
|
4
|
+
import { _ as validateManifestDraft, g as compileManifestContentContract, u as readSdkPreviewPublishedPlacement } from "./themeAdmission-CVc04B9m.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-Cn9k3DW6.mjs";
|
|
6
|
+
import { _ as resolveEffectiveArrangement, d as arrangementLookHooks, h as arrangementManifestFromVariants } from "./effectiveNavLinkStyle-DLzJPcDL.mjs";
|
|
7
|
+
import "./site-styles-CxE9F3hj.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-C44_fMy5.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";
|
|
@@ -1214,6 +1214,55 @@ z.discriminatedUnion("kind", [
|
|
|
1214
1214
|
})
|
|
1215
1215
|
]);
|
|
1216
1216
|
//#endregion
|
|
1217
|
+
//#region ../blocks/src/system/runtime/nodes/events/shared/EventCardIcons.tsx
|
|
1218
|
+
function MapPinIcon({ className, size = 16, strokeWidth = 2 }) {
|
|
1219
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
1220
|
+
className,
|
|
1221
|
+
width: size,
|
|
1222
|
+
height: size,
|
|
1223
|
+
viewBox: "0 0 24 24",
|
|
1224
|
+
fill: "none",
|
|
1225
|
+
stroke: "currentColor",
|
|
1226
|
+
strokeWidth,
|
|
1227
|
+
strokeLinecap: "round",
|
|
1228
|
+
strokeLinejoin: "round",
|
|
1229
|
+
"aria-hidden": "true",
|
|
1230
|
+
focusable: "false",
|
|
1231
|
+
children: [/* @__PURE__ */ jsx("path", { d: "M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z" }), /* @__PURE__ */ jsx("circle", {
|
|
1232
|
+
cx: "12",
|
|
1233
|
+
cy: "10",
|
|
1234
|
+
r: "3"
|
|
1235
|
+
})]
|
|
1236
|
+
});
|
|
1237
|
+
}
|
|
1238
|
+
function CalendarIcon({ className, size = 16, strokeWidth = 2 }) {
|
|
1239
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
1240
|
+
className,
|
|
1241
|
+
width: size,
|
|
1242
|
+
height: size,
|
|
1243
|
+
viewBox: "0 0 24 24",
|
|
1244
|
+
fill: "none",
|
|
1245
|
+
stroke: "currentColor",
|
|
1246
|
+
strokeWidth,
|
|
1247
|
+
strokeLinecap: "round",
|
|
1248
|
+
strokeLinejoin: "round",
|
|
1249
|
+
"aria-hidden": "true",
|
|
1250
|
+
focusable: "false",
|
|
1251
|
+
children: [
|
|
1252
|
+
/* @__PURE__ */ jsx("rect", {
|
|
1253
|
+
x: "3",
|
|
1254
|
+
y: "4",
|
|
1255
|
+
width: "18",
|
|
1256
|
+
height: "18",
|
|
1257
|
+
rx: "2"
|
|
1258
|
+
}),
|
|
1259
|
+
/* @__PURE__ */ jsx("path", { d: "M16 2v4" }),
|
|
1260
|
+
/* @__PURE__ */ jsx("path", { d: "M8 2v4" }),
|
|
1261
|
+
/* @__PURE__ */ jsx("path", { d: "M3 10h18" })
|
|
1262
|
+
]
|
|
1263
|
+
});
|
|
1264
|
+
}
|
|
1265
|
+
//#endregion
|
|
1217
1266
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventItem.tsx
|
|
1218
1267
|
/** Arrangement content choices are data, ready for other live offering lists to reuse. */
|
|
1219
1268
|
const eventItemParts = {
|
|
@@ -1246,6 +1295,8 @@ const eventItemParts = {
|
|
|
1246
1295
|
"date",
|
|
1247
1296
|
"title",
|
|
1248
1297
|
"meta",
|
|
1298
|
+
"time",
|
|
1299
|
+
"places",
|
|
1249
1300
|
"action"
|
|
1250
1301
|
],
|
|
1251
1302
|
"month-day": [
|
|
@@ -1262,16 +1313,31 @@ function eventItemFacts(props) {
|
|
|
1262
1313
|
date: formatEventCompactDateRail(props.event.startsAt, options, "as-written"),
|
|
1263
1314
|
time: formatEventTimeRange(props.event, options),
|
|
1264
1315
|
price: formatEventPrice(props.event),
|
|
1265
|
-
meta:
|
|
1266
|
-
|
|
1267
|
-
formatEventTeacherLine(props.event),
|
|
1268
|
-
props.showVenue !== false ? props.event.venue?.name : null
|
|
1269
|
-
].filter(Boolean).join(" · "),
|
|
1316
|
+
meta: eventItemMeta(props),
|
|
1317
|
+
venueIcon: props.arrangement === "compact" && props.showVenue !== false && Boolean(props.event.venue),
|
|
1270
1318
|
places: props.showCapacity ? formatEventRemainingPlaces(props.event, { full: "Sold out" }) : null,
|
|
1271
1319
|
availability: availability.isFull ? "full" : availability.status === "filling" ? "low" : "available",
|
|
1272
1320
|
description: props.event.presentation?.summary ?? props.event.description
|
|
1273
1321
|
};
|
|
1274
1322
|
}
|
|
1323
|
+
/** Compact rows keep pricing in the details rail and time in the action rail. */
|
|
1324
|
+
function eventItemMeta(props) {
|
|
1325
|
+
const parts = props.parts ?? eventItemParts[props.arrangement];
|
|
1326
|
+
const venue = props.showVenue !== false ? props.event.venue?.name : null;
|
|
1327
|
+
const teacher = formatEventTeacherLine(props.event);
|
|
1328
|
+
const time = parts.includes("time") ? null : formatEventTimeRange(props.event, eventDateOptions(props.event));
|
|
1329
|
+
const price = props.arrangement === "compact" && !parts.includes("price") ? formatEventPrice(props.event) : null;
|
|
1330
|
+
return (props.arrangement === "compact" ? [
|
|
1331
|
+
venue,
|
|
1332
|
+
teacher,
|
|
1333
|
+
price,
|
|
1334
|
+
time
|
|
1335
|
+
] : [
|
|
1336
|
+
time,
|
|
1337
|
+
teacher,
|
|
1338
|
+
venue
|
|
1339
|
+
]).filter(Boolean).join(" · ");
|
|
1340
|
+
}
|
|
1275
1341
|
/**
|
|
1276
1342
|
* Keep one RSC component boundary per item. Re-forwarding shared presentation
|
|
1277
1343
|
* props through layout/part components multiplies React's development debug
|
|
@@ -1305,15 +1371,22 @@ function renderCalendarItem(props) {
|
|
|
1305
1371
|
...listLookSlot(props, props.arrangement === "grid" ? "item-body" : "what"),
|
|
1306
1372
|
children: parts.filter(body).map(renderPart)
|
|
1307
1373
|
}),
|
|
1308
|
-
parts.filter((part) => [
|
|
1374
|
+
renderCalendarTrailingParts(props, parts.filter((part) => [
|
|
1309
1375
|
"time",
|
|
1310
1376
|
"places",
|
|
1311
1377
|
"price",
|
|
1312
1378
|
"action"
|
|
1313
|
-
].includes(part) && !body(part))
|
|
1379
|
+
].includes(part) && !body(part)), renderPart)
|
|
1314
1380
|
]
|
|
1315
1381
|
});
|
|
1316
1382
|
}
|
|
1383
|
+
function renderCalendarTrailingParts(props, parts, renderPart) {
|
|
1384
|
+
const content = parts.map(renderPart);
|
|
1385
|
+
return props.arrangement === "compact" && parts.length > 0 ? /* @__PURE__ */ jsx("div", {
|
|
1386
|
+
...listLookSlot(props, "item-actions"),
|
|
1387
|
+
children: content
|
|
1388
|
+
}) : content;
|
|
1389
|
+
}
|
|
1317
1390
|
function eventItemTag(arrangement) {
|
|
1318
1391
|
return arrangement === "ledger" || arrangement === "day-groups" ? "li" : "article";
|
|
1319
1392
|
}
|
|
@@ -1346,9 +1419,9 @@ function renderEventItemContentPart({ part, props, facts }) {
|
|
|
1346
1419
|
children: props.event.title
|
|
1347
1420
|
})
|
|
1348
1421
|
});
|
|
1349
|
-
case "time": return /* @__PURE__ */
|
|
1422
|
+
case "time": return /* @__PURE__ */ jsxs("p", {
|
|
1350
1423
|
...listLookSlot(props, "time"),
|
|
1351
|
-
children: facts.time
|
|
1424
|
+
children: [props.arrangement === "compact" ? /* @__PURE__ */ jsx(ClockIcon, { "aria-hidden": "true" }) : null, facts.time]
|
|
1352
1425
|
});
|
|
1353
1426
|
case "places": return facts.places ? /* @__PURE__ */ jsx("p", {
|
|
1354
1427
|
...listLookSlot(props, "places"),
|
|
@@ -1383,6 +1456,7 @@ function renderEventItemMeta({ props, facts }) {
|
|
|
1383
1456
|
return facts.meta || places ? /* @__PURE__ */ jsxs("p", {
|
|
1384
1457
|
...listLookSlot(props, "item-meta"),
|
|
1385
1458
|
children: [
|
|
1459
|
+
facts.venueIcon ? /* @__PURE__ */ jsx(MapPinIcon, {}) : null,
|
|
1386
1460
|
facts.meta,
|
|
1387
1461
|
facts.meta && places ? " · " : null,
|
|
1388
1462
|
places ? /* @__PURE__ */ jsx("span", {
|
|
@@ -1393,13 +1467,15 @@ function renderEventItemMeta({ props, facts }) {
|
|
|
1393
1467
|
}) : null;
|
|
1394
1468
|
}
|
|
1395
1469
|
function renderEventItemImage(props) {
|
|
1470
|
+
const link = resolveEventLinkProps(props.event);
|
|
1396
1471
|
return /* @__PURE__ */ jsx(CardListContentPart, {
|
|
1397
1472
|
part: "media",
|
|
1398
1473
|
item: {
|
|
1399
1474
|
id: props.event.id,
|
|
1400
1475
|
title: props.event.title,
|
|
1401
1476
|
media: props.event.presentation?.image,
|
|
1402
|
-
|
|
1477
|
+
titleLink: link,
|
|
1478
|
+
newTabHint: link.target === "_blank"
|
|
1403
1479
|
},
|
|
1404
1480
|
presentation: props
|
|
1405
1481
|
});
|
|
@@ -1780,55 +1856,6 @@ function cropHeightStyle(height, heightAs) {
|
|
|
1780
1856
|
return heightAs === "minimum" ? { minHeight: height } : { height };
|
|
1781
1857
|
}
|
|
1782
1858
|
//#endregion
|
|
1783
|
-
//#region ../blocks/src/system/runtime/nodes/events/shared/EventCardIcons.tsx
|
|
1784
|
-
function MapPinIcon({ className, size = 16, strokeWidth = 2 }) {
|
|
1785
|
-
return /* @__PURE__ */ jsxs("svg", {
|
|
1786
|
-
className,
|
|
1787
|
-
width: size,
|
|
1788
|
-
height: size,
|
|
1789
|
-
viewBox: "0 0 24 24",
|
|
1790
|
-
fill: "none",
|
|
1791
|
-
stroke: "currentColor",
|
|
1792
|
-
strokeWidth,
|
|
1793
|
-
strokeLinecap: "round",
|
|
1794
|
-
strokeLinejoin: "round",
|
|
1795
|
-
"aria-hidden": "true",
|
|
1796
|
-
focusable: "false",
|
|
1797
|
-
children: [/* @__PURE__ */ jsx("path", { d: "M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z" }), /* @__PURE__ */ jsx("circle", {
|
|
1798
|
-
cx: "12",
|
|
1799
|
-
cy: "10",
|
|
1800
|
-
r: "3"
|
|
1801
|
-
})]
|
|
1802
|
-
});
|
|
1803
|
-
}
|
|
1804
|
-
function CalendarIcon({ className, size = 16, strokeWidth = 2 }) {
|
|
1805
|
-
return /* @__PURE__ */ jsxs("svg", {
|
|
1806
|
-
className,
|
|
1807
|
-
width: size,
|
|
1808
|
-
height: size,
|
|
1809
|
-
viewBox: "0 0 24 24",
|
|
1810
|
-
fill: "none",
|
|
1811
|
-
stroke: "currentColor",
|
|
1812
|
-
strokeWidth,
|
|
1813
|
-
strokeLinecap: "round",
|
|
1814
|
-
strokeLinejoin: "round",
|
|
1815
|
-
"aria-hidden": "true",
|
|
1816
|
-
focusable: "false",
|
|
1817
|
-
children: [
|
|
1818
|
-
/* @__PURE__ */ jsx("rect", {
|
|
1819
|
-
x: "3",
|
|
1820
|
-
y: "4",
|
|
1821
|
-
width: "18",
|
|
1822
|
-
height: "18",
|
|
1823
|
-
rx: "2"
|
|
1824
|
-
}),
|
|
1825
|
-
/* @__PURE__ */ jsx("path", { d: "M16 2v4" }),
|
|
1826
|
-
/* @__PURE__ */ jsx("path", { d: "M8 2v4" }),
|
|
1827
|
-
/* @__PURE__ */ jsx("path", { d: "M3 10h18" })
|
|
1828
|
-
]
|
|
1829
|
-
});
|
|
1830
|
-
}
|
|
1831
|
-
//#endregion
|
|
1832
1859
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventCard.tsx
|
|
1833
1860
|
/** The category's badge, when the event has a category. */
|
|
1834
1861
|
function eventCardCategoryBadge(category) {
|
|
@@ -12041,7 +12068,7 @@ function preparedBlockProps(entry, content, data, input) {
|
|
|
12041
12068
|
function buildBlockOverrideProps(input) {
|
|
12042
12069
|
const { block, dataContext } = input;
|
|
12043
12070
|
return {
|
|
12044
|
-
content: input.content,
|
|
12071
|
+
content: bindArrangementInkPolicy(input.content, input.themeResources),
|
|
12045
12072
|
dateContext: pageDateRuntimeContext(dataContext),
|
|
12046
12073
|
now: dataContext?.now,
|
|
12047
12074
|
...overrideThemeProps(input.themeResources),
|
|
@@ -12186,6 +12213,11 @@ function preparedPlanEntry(entry, prepared) {
|
|
|
12186
12213
|
prepared
|
|
12187
12214
|
};
|
|
12188
12215
|
}
|
|
12216
|
+
/** Compiled Looks share the render's authority, including transported item contexts. */
|
|
12217
|
+
function bindArrangementInkPolicy(content, theme) {
|
|
12218
|
+
const policy = theme.kind === "available" ? theme.tokens.solvedInks ?? "withhold" : "withhold";
|
|
12219
|
+
return Object.fromEntries(Object.entries(content).map(([key, value]) => [key, key === "_effectiveLook" || key === "_arrangementLooks" ? parseSurfaceTree(value, policy) : value]));
|
|
12220
|
+
}
|
|
12189
12221
|
//#endregion
|
|
12190
12222
|
//#region ../blocks/src/BlockErrorBoundary.tsx
|
|
12191
12223
|
/**
|
|
@@ -12263,7 +12295,7 @@ function EditorPageRenderer$1(props) {
|
|
|
12263
12295
|
}) });
|
|
12264
12296
|
}
|
|
12265
12297
|
function PageRendererCore(props) {
|
|
12266
|
-
const { page, audience, dataContext, routeMap
|
|
12298
|
+
const { page, audience, dataContext, routeMap } = props;
|
|
12267
12299
|
const imageResolveContext = React$1.useMemo(() => resolvePageRendererImageResolveContext(dataContext), [
|
|
12268
12300
|
dataContext?.imageResolveContext,
|
|
12269
12301
|
dataContext?.mediaAssets,
|
|
@@ -12291,16 +12323,20 @@ function PageRendererCore(props) {
|
|
|
12291
12323
|
themeResources,
|
|
12292
12324
|
imageResolveContext
|
|
12293
12325
|
]);
|
|
12294
|
-
const joinSlots = React$1.useMemo(() => joinSlotsByPair(preparation.joins), [preparation.joins]);
|
|
12295
12326
|
reportAndReplayOmissions({
|
|
12296
12327
|
plan,
|
|
12297
12328
|
preparation,
|
|
12298
12329
|
dataContext,
|
|
12299
12330
|
themeResources
|
|
12300
12331
|
});
|
|
12301
|
-
if (!page || preparation.entries.length === 0) return presentEmptyPage(audience);
|
|
12302
|
-
const resolvedRegistry = registry ?? getDefaultComponentRegistry();
|
|
12332
|
+
if (!page || preparation.entries.length === 0) return props.wrapPage ? props.wrapPage(plan, presentEmptyPage(audience)) : presentEmptyPage(audience);
|
|
12303
12333
|
setContextResolveImageUrlContext(imageResolveContext);
|
|
12334
|
+
const rendered = renderPreparedPage(props, preparation, themeResources, imageResolveContext);
|
|
12335
|
+
return props.wrapPage ? props.wrapPage(plan, rendered) : rendered;
|
|
12336
|
+
}
|
|
12337
|
+
function renderPreparedPage(props, preparation, themeResources, imageResolveContext) {
|
|
12338
|
+
const resolvedRegistry = props.registry ?? getDefaultComponentRegistry();
|
|
12339
|
+
const joinSlots = joinSlotsByPair(preparation.joins);
|
|
12304
12340
|
return /* @__PURE__ */ jsx("div", { children: preparation.entries.map((entry, index) => renderGuardedPlanEntry({
|
|
12305
12341
|
entry,
|
|
12306
12342
|
index,
|
|
@@ -12718,8 +12754,17 @@ function parseBlocksTheme(theme) {
|
|
|
12718
12754
|
if (!parsed.ok) throw new Error(`Theme does not satisfy the canonical runtime contract: ${parsed.error.kind}`);
|
|
12719
12755
|
return parsed.value;
|
|
12720
12756
|
}
|
|
12721
|
-
|
|
12722
|
-
|
|
12757
|
+
/**
|
|
12758
|
+
* Block tokens for a stored theme. The SDK decides the ink policy itself: only
|
|
12759
|
+
* a render whose own scope emits the stored theme's CSS (`cms-theme`) may
|
|
12760
|
+
* publish solved inks. Anything else withholds, because a bridge or a
|
|
12761
|
+
* consumer's own CSS may give the tokens different values.
|
|
12762
|
+
*/
|
|
12763
|
+
function buildThemeRuntime(theme, solvedInks = "withhold") {
|
|
12764
|
+
return { tokens: {
|
|
12765
|
+
...buildThemeRuntime$1(parseBlocksTheme(theme)).tokens,
|
|
12766
|
+
solvedInks
|
|
12767
|
+
} };
|
|
12723
12768
|
}
|
|
12724
12769
|
//#endregion
|
|
12725
12770
|
//#region src/rendering/mediaAssets.ts
|
|
@@ -12734,6 +12779,33 @@ function toBlocksImageResolveContextInput(context) {
|
|
|
12734
12779
|
mediaAssets: toBlocksMediaAssets(context.mediaAssets)
|
|
12735
12780
|
};
|
|
12736
12781
|
}
|
|
12782
|
+
/** Admit loader sidecars once before sharing them with page and image rendering. */
|
|
12783
|
+
function collectLoaderMediaAssets(resolvedData) {
|
|
12784
|
+
return Object.values(resolvedData ?? {}).flatMap((block) => Object.values(block).flatMap((loader) => {
|
|
12785
|
+
if (!loader || typeof loader !== "object" || !("mediaAssets" in loader) || !Array.isArray(loader.mediaAssets)) return [];
|
|
12786
|
+
return renderableMediaAssetSchema.array().parse(loader.mediaAssets);
|
|
12787
|
+
}));
|
|
12788
|
+
}
|
|
12789
|
+
function mergeMediaAssets(preferred, fallback) {
|
|
12790
|
+
if (!fallback?.length) return preferred;
|
|
12791
|
+
return [...new Map([...fallback, ...preferred ?? []].map((asset) => [asset.id, asset])).values()];
|
|
12792
|
+
}
|
|
12793
|
+
/** Page and image rendering share the same admitted loader assets and precedence. */
|
|
12794
|
+
function resolveBlocksPageMediaContext(dataContext) {
|
|
12795
|
+
const loaderAssets = collectLoaderMediaAssets(dataContext.resolvedData);
|
|
12796
|
+
const mediaAssets = mergeMediaAssets(toBlocksMediaAssets(dataContext.mediaAssets), loaderAssets);
|
|
12797
|
+
const explicitImageContext = toBlocksImageResolveContextInput(dataContext.imageResolveContext);
|
|
12798
|
+
const imageAssets = mergeMediaAssets(explicitImageContext?.mediaAssets, mediaAssets);
|
|
12799
|
+
return {
|
|
12800
|
+
mediaAssets,
|
|
12801
|
+
imageResolveContext: explicitImageContext || dataContext.siteId || dataContext.supabaseUrl || imageAssets?.length ? {
|
|
12802
|
+
siteId: dataContext.siteId,
|
|
12803
|
+
supabaseUrl: dataContext.supabaseUrl,
|
|
12804
|
+
...explicitImageContext,
|
|
12805
|
+
mediaAssets: imageAssets
|
|
12806
|
+
} : void 0
|
|
12807
|
+
};
|
|
12808
|
+
}
|
|
12737
12809
|
//#endregion
|
|
12738
12810
|
//#region src/rendering/blocks-page-renderer.ts
|
|
12739
12811
|
const MissingBlockOverrideError = MissingBlockOverrideError$1;
|
|
@@ -12772,8 +12844,7 @@ function toBlocksPageRendererDataContext(dataContext) {
|
|
|
12772
12844
|
...resolveDateRuntimeContext(dataContext.dateContext?.timeZone ?? dataContext.bookingTimeZone),
|
|
12773
12845
|
...dataContext.dateContext?.locale ? { locale: dataContext.dateContext.locale } : {}
|
|
12774
12846
|
},
|
|
12775
|
-
|
|
12776
|
-
imageResolveContext: toBlocksImageResolveContextInput(dataContext.imageResolveContext)
|
|
12847
|
+
...resolveBlocksPageMediaContext(dataContext)
|
|
12777
12848
|
};
|
|
12778
12849
|
}
|
|
12779
12850
|
function toBlocksCommonProps(props) {
|
|
@@ -12849,6 +12920,20 @@ function planLayoutThemeRuntime(input) {
|
|
|
12849
12920
|
}
|
|
12850
12921
|
return requested;
|
|
12851
12922
|
}
|
|
12923
|
+
/**
|
|
12924
|
+
* The one SDK rule for solved surface inks: only the runtime that emits the
|
|
12925
|
+
* stored theme's own CSS publishes them. A page whose layout emits that CSS
|
|
12926
|
+
* but whose own runtime is `none` withholds, so its sections reset the inks
|
|
12927
|
+
* rather than disagree with the scope around them.
|
|
12928
|
+
*/
|
|
12929
|
+
function solvedInksForThemeRuntime(themeRuntime) {
|
|
12930
|
+
switch (themeRuntime.kind) {
|
|
12931
|
+
case "cms-theme": return "publish";
|
|
12932
|
+
case "responsive-only":
|
|
12933
|
+
case "none": return "withhold";
|
|
12934
|
+
default: return assertNever$1(themeRuntime);
|
|
12935
|
+
}
|
|
12936
|
+
}
|
|
12852
12937
|
function renderWithSdkThemeRuntime({ themeRuntime, theme, children }) {
|
|
12853
12938
|
switch (themeRuntime.kind) {
|
|
12854
12939
|
case "cms-theme": return /* @__PURE__ */ jsx(ThemeScope, {
|
|
@@ -12880,7 +12965,11 @@ function isOverrideOnlyPage(props) {
|
|
|
12880
12965
|
return props.rendering?.kind === "overrides-only";
|
|
12881
12966
|
}
|
|
12882
12967
|
function resolvePageThemeTokens(props) {
|
|
12883
|
-
const
|
|
12968
|
+
const solvedInks = solvedInksForThemeRuntime(props.themeRuntime ?? defaultPageThemeRuntime);
|
|
12969
|
+
const baseTokens = {
|
|
12970
|
+
...props.themeTokens ?? buildThemeRuntime(props.theme).tokens,
|
|
12971
|
+
solvedInks
|
|
12972
|
+
};
|
|
12884
12973
|
return props.sdkConfig?.theme?.palette ? {
|
|
12885
12974
|
...baseTokens,
|
|
12886
12975
|
palette: {
|
|
@@ -12930,6 +13019,7 @@ function buildPageIdentityRenderContext(dataContext) {
|
|
|
12930
13019
|
}
|
|
12931
13020
|
function PageContent(props) {
|
|
12932
13021
|
const rendererCommonProps = buildPageRendererProps(props);
|
|
13022
|
+
const themeTokens = isOverrideOnlyPage(props) ? void 0 : resolvePageThemeTokens(props);
|
|
12933
13023
|
const content = isOverrideOnlyPage(props) ? /* @__PURE__ */ jsx(PageRenderer, {
|
|
12934
13024
|
...rendererCommonProps,
|
|
12935
13025
|
rendering: { kind: "overrides-only" },
|
|
@@ -12937,16 +13027,23 @@ function PageContent(props) {
|
|
|
12937
13027
|
}) : /* @__PURE__ */ jsx(PageRenderer, {
|
|
12938
13028
|
...rendererCommonProps,
|
|
12939
13029
|
theme: props.theme,
|
|
12940
|
-
themeTokens
|
|
13030
|
+
themeTokens,
|
|
12941
13031
|
blockOverrides: props.blockOverrides
|
|
12942
13032
|
});
|
|
13033
|
+
const children = themeTokens?.solvedInks === "publish" ? content : /* @__PURE__ */ jsx("div", {
|
|
13034
|
+
style: {
|
|
13035
|
+
display: "contents",
|
|
13036
|
+
...surfaceInkStyle({ kind: "reset" })
|
|
13037
|
+
},
|
|
13038
|
+
children: content
|
|
13039
|
+
});
|
|
12943
13040
|
return isOverrideOnlyPage(props) ? renderWithOverrideOnlyRuntime({
|
|
12944
13041
|
runtime: props.rendering.runtime,
|
|
12945
|
-
children
|
|
13042
|
+
children
|
|
12946
13043
|
}) : renderWithSdkThemeRuntime({
|
|
12947
13044
|
themeRuntime: props.themeRuntime ?? defaultPageThemeRuntime,
|
|
12948
13045
|
theme: props.theme,
|
|
12949
|
-
children
|
|
13046
|
+
children
|
|
12950
13047
|
});
|
|
12951
13048
|
}
|
|
12952
13049
|
/** The page shell owns the complete block context for both rendering modes. */
|
|
@@ -13166,4 +13263,4 @@ function defineBlockOverrideRegistrations(registrations) {
|
|
|
13166
13263
|
return registrations;
|
|
13167
13264
|
}
|
|
13168
13265
|
//#endregion
|
|
13169
|
-
export {
|
|
13266
|
+
export { toBlocksImageResolveContextInput as C, makeDefaultBlockComponent as D, parseBlocksTheme as E, renderBlock as O, toBlocksPageRendererDataContext as S, buildThemeRuntime as T, solvedInksForThemeRuntime as _, defaultOverrideOnlyRuntime as a, MissingBlockOverrideError as b, getRiverbankEnv as c, toPageHydrationBootstrapConfig as d, defaultCatchAllThemeRuntime as f, renderWithSdkThemeRuntime as g, renderWithOverrideOnlyRuntime as h, lazyBlockOverrideSymbol as i, getDefaultComponentRegistry as k, isPreviewMode as l, planLayoutThemeRuntime as m, defineBlockOverrides as n, normalizeSdkRenderingMode as o, defaultLayoutThemeRuntime as p, defineLazyBlockOverride as r, themeRuntimeForRendering as s, defineBlockOverrideRegistrations as t, PageContent as u, ThemeScope as v, toBlocksMediaAssets as w, PageRenderer as x, EditorPageRenderer as y };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Rr as parseBackgroundContent, n as listBlockDescriptors } from "./registry-
|
|
1
|
+
import { Rr as parseBackgroundContent, n as listBlockDescriptors } from "./registry-4ZF3bUuJ.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-BF9yNfCS.mjs";
|
|
2
2
|
export { prebuildCache };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cn as ok, Dn as parseResolvedSurface, Dt as indexRenderableMediaAssets, Et as renderableMediaAssetSchema, Lt as asDesignBlockId, On as parseSurfaceTree, Ot as resolveManagedMediaReference, Sn as err, St as mediaSchema, Ut as asSiteStyleId, Vt as asLayoutVariantKey, _n as parseSiteTermsVersionId, bt as stripStaleTransitionStyleGroup, dn as parseApiKeyId, dr as defaultThemeTokens, gn as parseSiteId, kn as resolveSurface, r as themeSchema, tn as makeBoundaryId, vn as parseUserId, wn as mapDrawingStyle, wt as runtimeMediaSchema } from "./schema-DgrigZq9.mjs";
|
|
2
2
|
import { t as assertNever } from "./assert-never-ku-PUn9U.mjs";
|
|
3
|
-
import { $r as lookSkinSlotTransform, Ai as validateManifestLookField, Br as parseRuntimeBackgroundContent, Bt as buildEventListWeek, Ci as blockCategoryEnum, Da as toUtcIsoDateTimeString, Ei as fieldSchema, F as projectRecurringSchedule, Fi as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, G as resolveCalendarReadProfile, Gn as headerRuntimeTransforms, Gt as eventCalendarWeekStart, Hn as readRuntimeNow, Hr as resolveSurfaceForegroundStyles, Jr as BACKGROUND_POSITION_PRESET_VALUES, Ki as augmentManifest, Kn as chromeLogoTransforms, Mi as validateSdkBlockDeclaration, Ni as NodeSchema, Pi as bindingSchema, Pr as boxStylesTransforms, Qr as lookQuoteLimitTransform, Rn as contentTransforms, Rr as parseBackgroundContent, Ti as builtInBlockKindsSchema, Un as resolveDateRuntimeContext, Ur as resolveBackgroundColorValue, Vr as resolveSectionSurfaceForeground, W as calendarWindowQuerySchema, Wn as mediaTransforms, Xn as uiTransforms, Xr as lookCarouselRegionTransform, Yn as resolveHeroTitleLength, Yr as getAnchorClasses, Zn as formattingTransforms, Zr as lookLeadSlotTransform, aa as parseMailingListProviderScope, bt as eventCalendarListLayoutOptions, ei as asPartialObject, ji as sdkBlockPresentationShape, la as locationValueSchema, ni as runTransforms, nt as computeMediaTransformStyle, pr as standardAspectRatioOptions, pt as resolveEventSelection, qn as layoutTransforms, qr as standardImageShapeOptions, t as getBlockDefinition, ti as createTransformRegistry, vt as eventCalendarListGroupingDecision, wi as blockSectionDeclarationShape, xa as getLocalScheduleDate, xt as resolveEventCalendarReadPlan, yt as eventCalendarListLayoutCompatibleDisplayModeValues, zr as parseBackgroundOverlay } from "./registry-
|
|
4
|
-
import { n as parsePublicProductCategorySelector, p as SUPPORTED_LOADER_ENDPOINTS$1, r as isRecord$3 } from "./publicProducts-
|
|
5
|
-
import {
|
|
6
|
-
import { a as heroPhotoPaintsGround, i as deriveSectionGround, n as composeBoundary, o as parseCanonicalRuntimeBackground, r as sectionFactsForContent, s as resolveSectionBackground, t as boundaryLayout } from "./site-styles-
|
|
3
|
+
import { $r as lookSkinSlotTransform, Ai as validateManifestLookField, Br as parseRuntimeBackgroundContent, Bt as buildEventListWeek, Ci as blockCategoryEnum, Da as toUtcIsoDateTimeString, Ei as fieldSchema, F as projectRecurringSchedule, Fi as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, G as resolveCalendarReadProfile, Gn as headerRuntimeTransforms, Gt as eventCalendarWeekStart, Hn as readRuntimeNow, Hr as resolveSurfaceForegroundStyles, Jr as BACKGROUND_POSITION_PRESET_VALUES, Ki as augmentManifest, Kn as chromeLogoTransforms, Mi as validateSdkBlockDeclaration, Ni as NodeSchema, Pi as bindingSchema, Pr as boxStylesTransforms, Qr as lookQuoteLimitTransform, Rn as contentTransforms, Rr as parseBackgroundContent, Ti as builtInBlockKindsSchema, Un as resolveDateRuntimeContext, Ur as resolveBackgroundColorValue, Vr as resolveSectionSurfaceForeground, W as calendarWindowQuerySchema, Wn as mediaTransforms, Xn as uiTransforms, Xr as lookCarouselRegionTransform, Yn as resolveHeroTitleLength, Yr as getAnchorClasses, Zn as formattingTransforms, Zr as lookLeadSlotTransform, aa as parseMailingListProviderScope, bt as eventCalendarListLayoutOptions, ei as asPartialObject, ji as sdkBlockPresentationShape, la as locationValueSchema, ni as runTransforms, nt as computeMediaTransformStyle, pr as standardAspectRatioOptions, pt as resolveEventSelection, qn as layoutTransforms, qr as standardImageShapeOptions, t as getBlockDefinition, ti as createTransformRegistry, vt as eventCalendarListGroupingDecision, wi as blockSectionDeclarationShape, xa as getLocalScheduleDate, xt as resolveEventCalendarReadPlan, yt as eventCalendarListLayoutCompatibleDisplayModeValues, zr as parseBackgroundOverlay } from "./registry-4ZF3bUuJ.mjs";
|
|
4
|
+
import { n as parsePublicProductCategorySelector, p as SUPPORTED_LOADER_ENDPOINTS$1, r as isRecord$3 } from "./publicProducts-BVcJ6TG7.mjs";
|
|
5
|
+
import { D as parseGradientPresetId, E as getGradientPreset, H as cardListFamilyBlocks, T as gradientToCss, U as cardListKnobBlocks, V as resolveEffectiveKnobs, _ as resolveEffectiveArrangement, b as deriveSiteStyleBlockPolicy, f as arrangementSlotNames, g as readStoredMode, h as arrangementManifestFromVariants, m as resolveLookSlotSurfaces, p as resolveItemSurface, v as resolveModeArrangement, y as resolvePublishedLook } from "./effectiveNavLinkStyle-DLzJPcDL.mjs";
|
|
6
|
+
import { a as heroPhotoPaintsGround, i as deriveSectionGround, n as composeBoundary, o as parseCanonicalRuntimeBackground, r as sectionFactsForContent, s as resolveSectionBackground, t as boundaryLayout } from "./site-styles-CxE9F3hj.mjs";
|
|
7
7
|
import { i as isObjectRecord, t as RichTextDocSchema } from "./richTextSchema-YYc85FX4.mjs";
|
|
8
8
|
import { i as resolveRouteTargetForStage$1 } from "./dist-Xevqwf1U.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
@@ -688,7 +688,10 @@ const systemCustomizeFacetDefinitions = [
|
|
|
688
688
|
], "icons"),
|
|
689
689
|
blockKinds: cardListFamilyBlocks
|
|
690
690
|
},
|
|
691
|
-
|
|
691
|
+
{
|
|
692
|
+
...fixedKnob("block.event-calendar", "showCapacity", "Places left", onOff, "true", false, true),
|
|
693
|
+
description: "Show how many places are left on each event"
|
|
694
|
+
}
|
|
692
695
|
];
|
|
693
696
|
systemCustomizeFacetDefinitions.map((definition) => definition.id);
|
|
694
697
|
Array.from(new Set(systemCustomizeFacetDefinitions.flatMap((definition) => definition.values.map((option) => option.value))));
|
|
@@ -1940,6 +1943,7 @@ function applyArrangementRhythm(entry, position) {
|
|
|
1940
1943
|
const tinted = resolveArrangementTints(updated, grounded, runtime, surface) ?? grounded;
|
|
1941
1944
|
return {
|
|
1942
1945
|
...entry,
|
|
1946
|
+
styleBackground: arrangementGroundToken(resolveSectionBackground({ kind: "none" }, null, rhythm)),
|
|
1943
1947
|
renderableContent: {
|
|
1944
1948
|
...updated,
|
|
1945
1949
|
_effectiveLook: tinted,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./site-styles-
|
|
1
|
+
import { On as parseSurfaceTree, gn as parseSiteId } from "./schema-DgrigZq9.mjs";
|
|
2
|
+
import "./site-styles-CxE9F3hj.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
const PUBLIC_CONTENT_FRESHNESS_SECONDS = 3600;
|
|
5
5
|
function availability(transport) {
|
|
@@ -3137,6 +3137,15 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3137
3137
|
auth: "user",
|
|
3138
3138
|
responseKind: "json"
|
|
3139
3139
|
},
|
|
3140
|
+
/** Prepare or reconcile the card page; only the attempt's owner. */
|
|
3141
|
+
prepareOnboardingPlanCheckout: {
|
|
3142
|
+
path: "/onboarding/attempts/{attemptToken}/plan",
|
|
3143
|
+
method: "POST",
|
|
3144
|
+
tags: ["billing"],
|
|
3145
|
+
auth: "user",
|
|
3146
|
+
errors: [],
|
|
3147
|
+
responseKind: "json"
|
|
3148
|
+
},
|
|
3140
3149
|
/** Continue on Free from the onboarding card page; only the attempt's owner. */
|
|
3141
3150
|
continueOnboardingOnFree: {
|
|
3142
3151
|
path: "/onboarding/attempts/{attemptToken}/plan/free",
|