@riverbankcms/sdk 0.181.0 → 0.182.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/{BlocksIslandsHydrator-CVCasDPz.d.ts → BlocksIslandsHydrator-Bvw2bUif.d.ts} +1 -1
- package/dist/_dts/{Page-Dtj2Ui3S.d.ts → Page-B2EAT-bE.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-D1f_60WW.d.ts → SdkPreviewMode-D0vww6rh.d.ts} +2 -2
- package/dist/_dts/{client-Chr9pNVW.d.ts → client-D6T430bk.d.ts} +1 -3
- package/dist/_dts/{content-types-kjccgopX.d.ts → content-types-wZVWccC6.d.ts} +2 -2
- package/dist/_dts/{contracts-BodaiS00.d.ts → contracts-B-vtOcr8.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-BS6kaJFp.d.ts → generatePageMetadata-CxfwHE6z.d.ts} +2 -2
- package/dist/_dts/{index-Brl6_I2j.d.ts → index-CEyYMhLJ.d.ts} +1 -1
- package/dist/_dts/{index-DG0OvBs0.d.ts → index-CQrb3Ccc.d.ts} +4 -4
- package/dist/_dts/{index-Dy50xUMK.d.ts → index-CciRW_w1.d.ts} +2 -2
- package/dist/_dts/{index-Diqt0PvG.d.ts → index-Cqxis-nv.d.ts} +1 -1
- package/dist/_dts/{index-CJkefwYh.d.ts → index-DIU-wL1M.d.ts} +2 -2
- package/dist/_dts/{index-D1WpKwQe.d.ts → index-DqPKdeTk.d.ts} +1 -1
- package/dist/_dts/{loadContent-BgxshKrA.d.ts → loadContent-D0wrxiSp.d.ts} +7 -7
- package/dist/_dts/{request-CA0izds5.d.ts → request-DEwxUSw8.d.ts} +130 -28
- package/dist/_dts/{resolveBlockData-ChQmwEd3.d.ts → resolveBlockData-VaG_MYbN.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BvGyvblj.d.ts → resolvePageContent-DTwklC_v.d.ts} +1 -1
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +7 -7
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/portal/index.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{serviceBookingOutline-BgFbJQhU.d.ts → serviceBookingOutline-DtQuFlID.d.ts} +6 -6
- package/dist/_dts/{types-CgS3xLk8.d.ts → types-B3RjeBLV.d.ts} +2 -2
- package/dist/_dts/{types-CQrsP1x_.d.ts → types-BvUSGQrw.d.ts} +3 -3
- package/dist/_dts/{types-R65DKjPn.d.ts → types-CkRFtBqd.d.ts} +7 -7
- package/dist/_dts/{validation-6LTIbuBA.d.ts → validation-BZA3DhcV.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DqZPz6oW.mjs → BlocksIslandsHydrator-CQMf0HdN.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-uWfR2kaG.mjs → BookingMailingListNote-7kdvuPow.mjs} +6 -6
- package/dist/client/{BookingQuestionFields-CyNIKw6k.mjs → BookingQuestionFields-BJI7mZuV.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-BGCX3zwG.mjs → CalendarNavigationChevron-DPUD6wjy.mjs} +7 -7
- package/dist/client/{DemoBookingPortalAccess-DFLPyuqe.mjs → DemoBookingPortalAccess-8kwNF9HN.mjs} +4 -4
- package/dist/client/{EventCalendar.client-zDL4-t-B.mjs → EventCalendar.client-Dhb14bcC.mjs} +9 -9
- package/dist/client/{EventCombined.client-uciDKLID.mjs → EventCombined.client-C1jEZBN9.mjs} +8 -8
- package/dist/client/{EventItem-CwzrjcRw.mjs → EventItem-Bb0ppG2N.mjs} +8 -176
- package/dist/client/{EventListWeekNavigation-ChvcnPma.mjs → EventListWeekNavigation-DMryCaNV.mjs} +1 -1
- package/dist/client/{EventListing.client-DA57Qoyx.mjs → EventListing.client-BuH5kKA3.mjs} +3 -3
- package/dist/client/{EventListing.view-DZ0qMFF4.mjs → EventListing.view-DsqvuulZ.mjs} +7 -7
- package/dist/client/{EventRegistrationPayment-DSqCJL8E.mjs → EventRegistrationPayment-D4FvQSFF.mjs} +31 -164
- package/dist/client/{Page-C7mygH_f.mjs → Page-sV6BJkXX.mjs} +172 -102
- package/dist/client/{SiteTermsAgreementField-B4z-e4Wq.mjs → SiteTermsAgreementField-VfSd6JU-.mjs} +2 -2
- package/dist/client/{StepIndicator-Dn_DY4oY.mjs → StepIndicator-B6o5B7g3.mjs} +1 -1
- package/dist/client/{StepIndicator-atfDU82W.mjs → StepIndicator-BTqO7cJl.mjs} +220 -19
- package/dist/client/{accessibleSurfaces-n6kS6Hct.mjs → accessibleSurfaces-BogaGutk.mjs} +966 -693
- package/dist/client/{accordion-CsW8U3ff.mjs → accordion-6cuswD_s.mjs} +1 -1
- package/dist/client/{booking-form.client-cBWM392H.mjs → booking-form.client-BOMe_SKi.mjs} +15 -15
- package/dist/client/{bookingForm-DgySpp6C.mjs → bookingForm-DSCH-VHo.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-BpGVdLFD.mjs → boxStyleClassNames-BFuqZCfz.mjs} +2 -2
- package/dist/client/{carousel-DJoleFV3.mjs → carousel-CGyQVV1M.mjs} +1 -1
- package/dist/client/{cart-EO5o6uPH.mjs → cart-BYOe7MCh.mjs} +3 -3
- package/dist/client/{cart.client-D_gPw45z.mjs → cart.client-BKFkaXdV.mjs} +1 -1
- package/dist/client/{checkout-NVfZW0kR.mjs → checkout-Dwd7Di77.mjs} +3 -3
- package/dist/client/{checkout.client-DD3JuqOy.mjs → checkout.client-C25hpi-z.mjs} +1 -1
- package/dist/client/{checkoutUrls-z2gXvlGw.mjs → checkoutUrls-tG788sw0.mjs} +1 -1
- package/dist/client/client.mjs +25 -6
- package/dist/client/{constants-CoOkvw__.mjs → constants-DdxFG3Ic.mjs} +1 -1
- package/dist/client/{context-CRhn9qzS.mjs → context-Hi1RuYEM.mjs} +23 -5
- package/dist/client/{dateFormatting-BnWB4L1s.mjs → dateFormatting-C8vBCHuo.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CWDGSTBu.mjs → demoPortalMagicLink-BAL5UIDG.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-tdP_-Z9o.mjs → enhanceHeaderSection-Dv1Lr9kJ.mjs} +3 -3
- package/dist/client/{event-registration.client-D7YYKySQ.mjs → event-registration.client-dB_Z7bb-.mjs} +12 -12
- package/dist/client/{eventCalendar-CsAfu5d0.mjs → eventCalendar-CQnRA4Ww.mjs} +4 -4
- package/dist/client/{eventCombined-VXJB5CoS.mjs → eventCombined-BDOG1hVp.mjs} +4 -4
- package/dist/client/{eventListing-B3KIZNfY.mjs → eventListing-DSVmhy9n.mjs} +4 -4
- package/dist/client/{eventRegistration-BP-dEk1c.mjs → eventRegistration-CD5mRtEH.mjs} +4 -4
- package/dist/client/{form-DM8Zbxbv.mjs → form-DWnlEVSK.mjs} +3 -3
- package/dist/client/{form.client-e2z_Tlgk.mjs → form.client-D7zmeqNI.mjs} +4 -4
- package/dist/client/{form.parts-Ctljy1a3.mjs → form.parts-C-G6N_MK.mjs} +1 -1
- package/dist/client/gifting/client.mjs +7 -7
- package/dist/client/{gifting-DWIsqQru.mjs → gifting-Cn0jidP5.mjs} +4 -4
- package/dist/client/{gifting.client-QsSWF0uA.mjs → gifting.client-DVo1YFLs.mjs} +4 -4
- package/dist/client/{gifting.parts-CedLgwa_.mjs → gifting.parts-Bak93gD2.mjs} +2 -2
- package/dist/client/{headerSection-DAkRkwb-.mjs → headerSection-DjQuj_6v.mjs} +2 -2
- package/dist/client/{newsletter-form.client-WYja9-WN.mjs → newsletter-form.client-rIYPziZC.mjs} +5 -5
- package/dist/client/{newsletter-form.interactive-RuM86VAv.mjs → newsletter-form.interactive-DVt3enLr.mjs} +162 -135
- package/dist/client/{newsletter-form.parts-2petDnWv.mjs → newsletter-form.parts-CH6dGfdn.mjs} +1 -1
- package/dist/client/{newsletterForm-BUbXdA_e.mjs → newsletterForm-Cg8cBDHd.mjs} +3 -3
- package/dist/client/{noop-Dl4mZ-rr.mjs → noop-jesvJXEE.mjs} +239 -229
- package/dist/client/portal/client.mjs +269 -83
- package/dist/client/{portalOrders-COGn4BKG.mjs → portalOrders-oEoTvzkW.mjs} +1 -1
- package/dist/client/{portalRoutes-D72yvtDh.mjs → portalRoutes-ByyVZfVq.mjs} +13 -2
- package/dist/client/{product-detail.client-pOAryevt.mjs → product-detail.client-5aHq-vuu.mjs} +1 -1
- package/dist/client/{product-list.client-CcUpUiud.mjs → product-list.client-CyAk5rnC.mjs} +1 -1
- package/dist/client/{productDetail-BZJCfqat.mjs → productDetail-B8aZ2mqY.mjs} +3 -3
- package/dist/client/{productList-CiRs3mNb.mjs → productList-BuLemmod.mjs} +3 -3
- package/dist/client/{propsDecoder--uHW4tFM.mjs → propsDecoder-0Unsqn3R.mjs} +2 -2
- package/dist/client/{registry.server-CDNNd8wC.mjs → registry.server-DzvtVVD0.mjs} +352 -166
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-CQGE_wHV.mjs → richText-coerce-Bnng7JFA.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-BtCg87-N.mjs → routeIslandApiConfig-BGfcc9sk.mjs} +1 -1
- package/dist/client/{runtimeResponse-Ds9cmBUf.mjs → runtimeResponse-DAPVRToN.mjs} +1 -1
- package/dist/client/{runtimeResponse-DL_ARBpa.mjs → runtimeResponse-nXT8VAMl.mjs} +1 -1
- package/dist/client/{shop-Rx_gEMK8.mjs → shop-GuMqnDL-.mjs} +3 -3
- package/dist/client/{shop-commerce-D8evQnMT.mjs → shop-commerce-D5bDY1o1.mjs} +12 -12
- package/dist/client/{shop-commerce-store-C9PcsSTj.mjs → shop-commerce-store-B7sHnLwI.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-D5CtGfJI.mjs → shop-discount-apply.state-Dos2zdC2.mjs} +2 -2
- package/dist/client/{shop.client-D4lzQ9oY.mjs → shop.client-uvj5GDZb.mjs} +11 -11
- package/dist/client/{shopShared-BVbq7Nm-.mjs → shopShared-3giNWE3H.mjs} +2 -2
- package/dist/client/{src-ZSqRK3dD.mjs → src-CmXh3JWs.mjs} +5 -1
- package/dist/client/{timetableModel-BQJrSK0K.mjs → timetableModel-GA-hn1qM.mjs} +8 -15
- package/dist/client/{useAvailableSlots-Dm3lKJKR.mjs → useAvailableSlots-CBneCxbG.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-klgfGn7f.mjs → useDiscountCodeUi-D0kGF0C7.mjs} +1 -1
- package/dist/client/{useEventPagination-Jnjt7_ly.mjs → useEventPagination-xX8n_Tuu.mjs} +7 -7
- package/dist/client/{view-CC_yQLSA.mjs → view-DOyZc-DF.mjs} +3 -3
- package/dist/client/{wizardSteps-BliJOzEX.mjs → wizardSteps-B952ify5.mjs} +303 -31
- package/dist/preview-next/client/{PageSectionToolbar-BhL0uADo.mjs → PageSectionToolbar-BI3UCdpu.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-Ct8eIm0i.mjs → PreviewEditorSidebar-jkfLVOgY.mjs} +12 -9
- package/dist/preview-next/client/{PreviewEditorUI-BS32G4V9.mjs → PreviewEditorUI-DwJQs4hM.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-RL0WfZXD.mjs → PreviewShell-BAxAkuz8.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-MK_gHeGy.mjs → SdkPreviewModeRuntime-0UVB-39f.mjs} +44 -17
- package/dist/preview-next/client/{previewAssistantSlot-CQyS8pcq.mjs → previewAssistantSlot-BgiYk3PB.mjs} +2577 -1683
- package/dist/preview-next/client/{previewChromeRoot-BSxp3Mfu.mjs → previewChromeRoot-tieNdF3E.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DKnTzy74.mjs → sdk-runtime-DXb_Evl0.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BlmbvbLN.mjs → siteStyleAccess-BlN0jt2c.mjs} +1 -1
- package/dist/preview-next/client/{useAutosaveStatus-D-7GwZOQ.mjs → useAutosaveStatus-BUEPA4oL.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-BNZtGM5g.mjs → useOpenBlockForSetup-BVfr5P--.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-R3PcMmax.mjs → route-contract-BHTBA48n.mjs} +20 -1
- package/dist/server/{Block.shared-CniF9tSu.mjs → Block.shared-hGoyEdjJ.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-BQWsnGT6.mjs → ThemeScopeCore-BfUCTOwj.mjs} +37 -25
- package/dist/server/{accessibleSurfaces-WPzUAHp4.mjs → accessibleSurfaces-Dskni4Xj.mjs} +94 -361
- package/dist/server/{bindings-DxojjtK3.mjs → bindings-DMJH4bvo.mjs} +4 -4
- package/dist/server/{client-CDndhbYO.mjs → client-DrwlRNAH.mjs} +22 -3
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-VyF5nEhL.mjs → constants-CeMywaiD.mjs} +11 -0
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{resolveButtonColourStates-B0O1IM16.mjs → expandPalette-ehuW8r2g.mjs} +769 -227
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-BKstMBmX.mjs → loadContent-D0prFflT.mjs} +4 -4
- package/dist/server/{loadPage-IgNnZaqr.mjs → loadPage-CBLke9pJ.mjs} +3 -3
- package/dist/server/{lookMediaFrame-TFjgNG61.mjs → lookMediaFrame-H0fi4bJk.mjs} +2 -2
- package/dist/server/{navigation-quBYlSKD.mjs → navigation-wrcuWmgp.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +8 -8
- package/dist/server/{overrideResolution-CCaAPpIa.mjs → overrideResolution-DUgCEH8z.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-B7iULvKe.mjs → pageRenderPlan-BHrmogsW.mjs} +161 -244
- package/dist/server/{pageRuntimeSupport-BytMroxn.mjs → pageRuntimeSupport-D2-YMRei.mjs} +1 -1
- package/dist/server/{pageShared-Dcs_XTIO.mjs → pageShared-CG8O31Eo.mjs} +1265 -1032
- package/dist/server/{parseThemeForPersistence-Bihl4W5K.mjs → parseThemeForPersistence-CrPlbJEN.mjs} +1 -1
- package/dist/server/{portal-CMW_b9mG.mjs → portal-pG_uhsI2.mjs} +1 -1
- package/dist/server/portal.mjs +2 -2
- package/dist/server/{prebuild-agaH-vZV.mjs → prebuild-C8Amvzce.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DwpRjqw4.mjs → prefetchBlockData-BxUETRIZ.mjs} +2 -2
- package/dist/server/{registry-DM9dHfDC.mjs → registry-Cc88-23f.mjs} +1173 -745
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-CinHGf8l.mjs → resolveBlockData-OG3KOkig.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-BBBhOtdE.mjs → servicePageContent-BcFuhhD7.mjs} +5 -5
- package/dist/server/theme-bridge.mjs +33 -8
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{validation-DG5jX3jH.mjs → validation-BovmbS8N.mjs} +3 -3
- package/dist/server/{version-CipbxPHL.mjs → version-hws4hgyX.mjs} +1 -1
- package/dist/styles/index.css +86 -46
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as __exportAll } from "./rolldown-runtime-CE6sIgz8.mjs";
|
|
3
|
-
import { $ as useFooterComposerState, $a as
|
|
3
|
+
import { $ as useFooterComposerState, $a as admitLayoutGridForPlan, $l as getDirectImageUrlForMediaAsset, $n as readNumberFieldUiConfig, $o as offeredSiteStyles, $t as isSurfaceSlotBlockTarget, $u as valueStatus, A as usePreviewJoinOutcome, Al as buttonStyleSelectionParameterValue, Ao as DEFAULT_THEME_RESPONSIVE_MODE, As as normalizeRepeaterGridSpan, At as footerMenuNavigationFacts, Au as planFooterLayout, Bn as toEditorBlockItem, Bt as BlockApiProvider, Bu as knownSocialPlatforms, C as pageDesignLookTiles, Cc as Trigger$1, Ci as writeEventSelectionChips, Cn as useSidebarView, Cs as planLayoutGridColumnEdit, Cu as deriveFooterEditorOverview, Dc as usePortalContainer, Di as computeMediaTransformStyle, Dl as resolveRepeaterGridSpanFieldId, Do as buildThemeRuntime, Ds as findFirstAvailableRepeaterGridPlacement, Du as resolveFooterSections, El as resolveRepeaterGridRowFieldId, En as unfinishedBlockCopy, Eo as sanitizeHref, Es as projectRepeaterGridLayout, Et as reloadPage, F as lookTilePosition, Fl as buttonStyleSelectionKey, Fs as resolveBlockTitle, Fu as parseBrevoListId, Gc as Content$1, Gn as initialBlockDraftValues, Go as concretePaletteToTheme, Gt as getWidgetKey, Hc as Portal$1, Hn as deriveEditorValuePublicationState, Ho as getHeaderLayout, Ht as collectVisibleWhenWatchPaths, Hu as publicProfileWeekdays, I as lookTilesFor, Io as sectionPhotoPresence, Ir as getAtPath, It as NewsletterFormClient, Iu as parseMailchimpAudienceId, J as footerLayoutSelection, Jc as useSize, Ji as normalizeOfferingsPreviewGroupOrder, Jl as isRotationDimensionSwap, Jn as manifestFieldSectionOptions, Jo as defaultPolicyPageFlowPresetId, Js as extractApiEnvelopeErrorDetails, Jt as partitionFieldsByIntent, Kc as Root2$1, Ki as inferLegacyOfferingsPreviewGroupOrder, Kn as createManifestFormAdapter, Kt as hasVisibilityConditions, Lc as hideOthers, Lr as siblingPath$2, Lu as parseMailchimpInterestId, M as usePreviewRenderReadiness, Mi as resolveMediaSlot, Ml as resolveButtonStyleSelection, Mo as resolveVisiblePromotedFieldPathsForEditorBlock, Ms as resolveRepeaterGridAcceptedSpans, Mt as publishContentEntry, Mu as DEFAULT_MAILING_LIST_TARGETING, Ni as resolveMediaSlotContract, Nl as updateButtonStyleHoverPreference, Ns as resolveRepeaterGridBreakpointForWidth, Nt as updateFooterComposition, Nu as mailingListTargetingChoiceIds, Oc as ReactRemoveScroll, Oi as resolveImageSourceSetWithContext, Ol as siteOptionSources, Os as flowRepeaterGridItems, Ot as sendPageCommand, Ou as setFooterSectionSelected, Pl as updateButtonStyleSelectionChoice, Ps as resolveRepeaterGridColumnsForBreakpoint, Pt as footerCreditLine, Q as useFooterAuthoringOptional, Qc as DismissableLayer, Qi as resolveOfferingsPreviewGroupOrderEntries, Ql as resolveMediaTransformForAspect, Qn as getGroupChildFields, Qt as deleteSlotBlock, Qu as syncStateOf, R as selectedLookTile, Rr as withValueAtPath, Rt as useImageResolveContextOptional, Ru as parseNewsletterListId, Sa as buildFormInteractiveIslandProps, Sc as Root$2, Si as toggleEventType, Sl as canEditorWrite, Ss as isInternalResolvedLinkValue, Su as mailingListProviderName, Tl as resolveRepeaterGridColumnFieldId, To as parseFieldDefinition, Ts as planRepeaterGridSpanChange, Tt as LeaseNoticeButtons, Tu as parseFooterCompositionV1, U as usePreviewAuth, Ua as BLOCK_BUTTON_ROLE_OPTIONS, Uc as Anchor, Uo as getHeaderStyle, Us as OPERATION_ID_HEADER, Ut as evaluateVisibility, Uu as publishedContactDetails, Vc as Presence, Vi as buildResolveImageUrlContext, Vn as withoutServerVersions, Vt as derivePromotedFieldPlan, Vu as parsePublicProfile, Wa as isBlockButtonRole, Wc as Arrow$1, Wo as concretePaletteFromTheme, Wt as getFieldIntent, X as resolveFooterEngagementPreview, Xc as FocusScope, Xi as planOfferingPreviewCardSelection, Xn as getRepeaterItemDefault, Xt as createSlotBlock, Xu as knownRevision, Y as resolveFooterEngagementAuthoringState, Yc as useId$1, Yn as getFieldDefault, Ys as unwrapResponse, Yt as createBlock, Yu as displayedValues, Z as FooterComposerProvider, Zc as useFocusGuards, Zl as parseAspectRatioValue, Zn as normalizeFieldForCanonicalValidation, Zo as getCuratedSiteStyle, Zs as sidebarReturnView, Zt as deleteBlock, Zu as pristineValueSync, _i as EVENT_SELECTION_SCOPE_OPTIONS, _l as useShallow, _n as resolvePageRouteSlug, _u as generateUuidV4, aa as getFeatureCardIconCompletion, ac as DialogClose, ad as unsafeAsEditorBlockId, al as composeEventHandlers, an as blocksKeys, ao as getGeneratedBlockIconStyleState, ar as imagePoolForOverride, at as readFooterEngagementDraft, b as buildPageDesignEditorReadModelForBlocks, bd as expectParsedBrandedId, bi as chooseScheduleScope, bl as canWriteLinkedEntry, bn as useEditorUiStore, bu as assessMailingListTargeting, ca as suggestSemanticIconForFeatureCard, cc as DialogFooter, cd as formatDateTime, cl as Button$1, co as parseGeneratedIconSetId, cu as mediaIdentifierSchema, d as cycleSiteChromeSelectionId, dc as DialogTrigger, dd as toUtcIsoDateTimeString, dl as cva, dn as ApiRequestError, do as coerceInlineTextWithFallback, dr as resolveBackgroundCapability, ds as getGradientPreset, dt as DONE, du as isBodyFontFamily, ea as buildThemeDataAttrs, ec as Callout, ed as createEditorInsertBlockCommand, el as useDirection, en as listEntryPageContentSlots, eo as deriveFieldValidationPlan, er as readSliderFieldUiConfig, es as palettesForSiteStyle, fd as resolveBookingBusinessTimeZone, fl as createSlot, fs as defaultSectionTransitionVariantForFamily, ft as runHeldLifecycle, fu as asAppearancePresetId, gc as DialogDescription, gl as cn, gn as deriveRouteMetadataPresentation, go as inlineTextToPlainText, gu as authoredValuesEqual, hd as parseMediaAssetId, hl as useComposedRefs, hn as routeLifecycleContext, hs as sectionTransitionVariantForBoundaryOptionId, i as usePreviewSidebarNavigation, ia as createFeatureCardIconKey, ic as Dialog, id as editorBlockCollectionOwnersEqual, ii as getBlockDefinition, il as createContextScope, in as withSlotCompositionHash, io as getBlockIconSemanticId, ir as enabledBackgroundModes, it as footerPartKey, jl as findButtonStyleRecipe, jn as lifecycleOutcomeMessage, js as planRepeaterGridStartNewRow, jt as toRoutableLinkPayload, ju as parseMailingListPlacementTargeting, ki as resolveImageUrlWithContext, kl as buttonStyleHoverPreferenceValue, ks as isRepeaterGridLayoutInvalid, kt as missingReceiptError, ku as unsafeAsFooterModuleId, la as toFeatureCardIconSuggestionInputs, lc as DialogHeader, ld as parseBookingLocalDate, ll as buttonVariants, lo as parseSiteIconStyleGuideVersionId, lr as planBackgroundTransition, ls as gradientToCss, lt as useEntryController, lu as asRecord, md as assertNever$1, ms as sectionTransitionFamilyForBoundaryOptionId, n as usePreviewAssistantSlot, na as themeRuntimeScopeProps, nc as CalloutTitle, nd as createEditorReorderBlocksCommand, nl as useControllableState, nn as reorderBlocks, no as isRichTextDoc, nr as canCycleBackgroundOverrideValue, nt as footerHeaderStatus, nu as runtimeMediaSchema, o as usePreviewPageDesignEditorState, oa as parseFeatureCardGeneratedIconSizePx, oc as DialogContent, od as unsafeAsEditorBlockValues, oi as listBlockDescriptors, ol as Primitive, oo as parseBlockIconValue, ot as footerEngagementEventFields, pd as resolveBookingTimeZoneId, pi as buildNewsletterFormInteractiveIslandProps, ps as sectionTransitionFamilies, pt as useServerRefresh, q as buildFooterRuntimeViewModel, qc as createPopperScope, qi as isOfferingsPreviewSourceKey, ql as paletteValueKey, qn as createManifestValidation, qt as isNonEmptyValue, ra as FEATURE_CARD_GENERATED_ICON_SIZE_PX, rc as Spinner, rd as editorBlockCollectionOwnerKey, rn as reorderSlotBlocks, rs as buildFontPreviewUrl, rt as footerEngagementStarted, s as usePreviewPageDesignRenderState, sa as resolveFeatureCardGeneratedIconSizePx, sc as DialogDescription$1, sd as formatDate, sn as getDashboardUrl, so as parseGeneratedIconAssetId, sr as parseBackgroundOverrideFromContent, ss as findCuratedPalette, st as parseFooterEngagementDraft, su as PUBLIC_FILE_FIELD_KINDS, tc as CalloutDescription, td as createEditorRemoveBlockCommand, tl as createCollection, tn as listPageSurfaceContentSlots, tu as mediaSchema, u as useSiteChromeCustomizeOptional, uc as DialogTitle$1, ud as parseUtcIsoDateTimeString, ur as rankBackgroundImagePoolItems, us as GRADIENT_PRESETS, v as useLiveFooterRuntime, vi as EVENT_SELECTION_TYPE_OPTIONS, vn as resolveContentTitle, vu as slugify$1, w as setPageDesignBlockBackground, wl as isAcceptedRepeaterGridSpan, wn as recoveryConflictCopy, ws as buildRepeaterGridDropTargets, wt as LeaseDiscardedNoticeView, wu as normalizeLegacyFooterContentToV1, xc as Content, xi as readEventSelectionChips, xl as readLinkedEntryLease, xn as useEditorUiStoreInstance, xo as plainTextToInlineText, xu as resolveMailingListDefaultDestination, yc as DialogTitle, yd as parseSiteId, yi as chooseAllEvents, yl as isEdited, yn as planLeaseNotice, ys as appearancePresets, zt as FormNodeClient, zu as knownSocialPlatformLabels } from "./previewAssistantSlot-BgiYk3PB.mjs";
|
|
4
4
|
import { E as Maximize2, H as GripVertical, I as Image, Kt as err, L as ImageUp, N as Link2, O as Lock, Q as EllipsisVertical, R as ImagePlus, S as Palette, W as FileText, X as EyeOff, b as PanelTop, bt as ArrowDown, c as Trash2, ct as CircleAlert, d as SlidersHorizontal, dt as ChevronLeft, et as Crop, f as Settings, ft as ChevronDown, g as RotateCcw, gt as Box$1, i as Video, m as Rows3, mt as Calendar$1, n as X$1, nt as Clock, pt as Check, qt as ok, rt as Clock3, s as TriangleAlert, t as lucide_react_exports, tt as Copy, u as Sparkles, ut as ChevronRight, v as Plus, vt as ArrowUp, x as PanelBottom, y as Pencil, yt as ArrowUpRight, z as ImageOff } from "./lucide-react-00FF_oar.mjs";
|
|
5
|
-
import { $ as FieldFrame, B as useSiteOptionWidgetContext, Ct as clamp, D as SiteFontFaceStyles, Dt as Input, Et as NativeSelect, Ft as Content$2, H as useMediaEditor, It as List, J as SelectField, K as BlockContextProvider, L as siteColourCss, Lt as Root2$2, Mt as TabsContent, Nt as TabsList, Ot as FIELD_FOCUS_WITHIN_CLASS, Pt as TabsTrigger, Q as unmapValueFromSelect, R as locationWidgetOverrides, Rt as Trigger$2, St as usePrevious$1, Tt as FieldTrigger, X as mapCurrentValueForSelect, Y as hasEmptyOption, Z as mapOptionValueForSelect, _t as Select$1, at as ThemeScopeCore, bt as SelectTrigger, c as resolvePreviewSidebarChromeModel, d as dashboardLogoSettingsHref, et as FieldLabelText, f as HeaderMenuControls, gt as Textarea, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, k as useRememberSiteFonts, kt as FIELD_SURFACE_CLASS, m as CustomizeBackgroundControlRows, mt as ChoiceTileGroup, nt as useField, o as resolvePreviewEditorGuidanceModel, p as isHeaderMenuSurfaceState, pt as CHOSEN_OPTION_CLASS, q as useBlockContext, r as buildPreviewDashboardSetupUrl, rt as useLinkedInlineTextField, t as canInspectSiteStyle, tt as hintWithCharacterLimit, u as SiteChromeSurfaceControls, vt as SelectContent, wt as SearchInput, xt as SelectValue, yt as SelectItem, z as SiteOptionWidgetProvider, zt as classifyKnownMimeType } from "./siteStyleAccess-
|
|
5
|
+
import { $ as FieldFrame, B as useSiteOptionWidgetContext, Ct as clamp, D as SiteFontFaceStyles, Dt as Input, Et as NativeSelect, Ft as Content$2, H as useMediaEditor, It as List, J as SelectField, K as BlockContextProvider, L as siteColourCss, Lt as Root2$2, Mt as TabsContent, Nt as TabsList, Ot as FIELD_FOCUS_WITHIN_CLASS, Pt as TabsTrigger, Q as unmapValueFromSelect, R as locationWidgetOverrides, Rt as Trigger$2, St as usePrevious$1, Tt as FieldTrigger, X as mapCurrentValueForSelect, Y as hasEmptyOption, Z as mapOptionValueForSelect, _t as Select$1, at as ThemeScopeCore, bt as SelectTrigger, c as resolvePreviewSidebarChromeModel, d as dashboardLogoSettingsHref, et as FieldLabelText, f as HeaderMenuControls, gt as Textarea, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, k as useRememberSiteFonts, kt as FIELD_SURFACE_CLASS, m as CustomizeBackgroundControlRows, mt as ChoiceTileGroup, nt as useField, o as resolvePreviewEditorGuidanceModel, p as isHeaderMenuSurfaceState, pt as CHOSEN_OPTION_CLASS, q as useBlockContext, r as buildPreviewDashboardSetupUrl, rt as useLinkedInlineTextField, t as canInspectSiteStyle, tt as hintWithCharacterLimit, u as SiteChromeSurfaceControls, vt as SelectContent, wt as SearchInput, xt as SelectValue, yt as SelectItem, z as SiteOptionWidgetProvider, zt as classifyKnownMimeType } from "./siteStyleAccess-BlN0jt2c.mjs";
|
|
6
6
|
import { J as paletteTokenNameSchema, V as hexColorSchema, W as paletteColorEntries, c as isKnownIconName, i as ThemedButtonSpecimen, l as isIconPickerPreset, o as getIconComponent, s as getIconPickerOptionsForPreset, tt as VARIANT_ROLES, u as resolveIconPickerPreset } from "./ThemedButton-CVYz7h68.mjs";
|
|
7
|
-
import { A as SegmentedControl, C as EMPTY_DOC, D as resolveSdkFooterMode, F as emitMediaCropDebug, I as resolveVideoSelectionIntentForMediaField, L as isSvgMimeType, M as ScrollableDialogShell, N as Surface, O as Switch, P as surfaceVariants, S as useRichTextEditor, T as InlineTextEditor, _ as MediaPickerMiniDialog, a as ArrangementOptionsBody, b as getRichTextImagePositionFromTarget, c as BackgroundChooser, d as gradientLabel, f as readBackgroundColorPaletteSnapshot, g as MediaEditor, h as getUnresolvedRichTextImageWarnings, i as ArrangementLookNote, j as ScrollableDialogContent, k as ContentSpinner, l as BackgroundPreviewSwatch, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, o as lookIsAutomatic, p as useSiteColourVariables, s as useArrangementToolbar, u as formatTokenLabel, v as MediaPickerMini, x as insertOrReplaceRichTextImage, y as RichTextEditorSurface } from "./PageSectionToolbar-
|
|
7
|
+
import { A as SegmentedControl, C as EMPTY_DOC, D as resolveSdkFooterMode, F as emitMediaCropDebug, I as resolveVideoSelectionIntentForMediaField, L as isSvgMimeType, M as ScrollableDialogShell, N as Surface, O as Switch, P as surfaceVariants, S as useRichTextEditor, T as InlineTextEditor, _ as MediaPickerMiniDialog, a as ArrangementOptionsBody, b as getRichTextImagePositionFromTarget, c as BackgroundChooser, d as gradientLabel, f as readBackgroundColorPaletteSnapshot, g as MediaEditor, h as getUnresolvedRichTextImageWarnings, i as ArrangementLookNote, j as ScrollableDialogContent, k as ContentSpinner, l as BackgroundPreviewSwatch, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, o as lookIsAutomatic, p as useSiteColourVariables, s as useArrangementToolbar, u as formatTokenLabel, v as MediaPickerMini, x as insertOrReplaceRichTextImage, y as RichTextEditorSurface } from "./PageSectionToolbar-BI3UCdpu.mjs";
|
|
8
8
|
import { n as TZDate } from "./src-lX6heoDA.mjs";
|
|
9
9
|
import { i as useOptionalLocationPickerEnvironment, n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-BW3dRFIv.mjs";
|
|
10
|
-
import { a as publicationLabel, o as Separator, t as useAutosaveStatus } from "./useAutosaveStatus-
|
|
11
|
-
import { A as Tooltip, C as blockLookOwnedFieldPaths, D as showRawStyleFields, E as prepareBlockEditorManifest, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, O as getBlockManifestFromSdkConfig, P as Badge, S as arrangementVisibilityValues, T as hideThemeV2RawStyleFields, V as DropdownMenuSeparator, _ as createFieldObservation, b as arrangementLookResolution, f as arrangementBlockControlsFor, g as isRecord$1, h as isObjectRecord, i as NEEDS_SETUP_LABEL, j as TooltipContent, k as mergeBlockDescriptors, l as needsSetupOf, m as createStoreBackend, n as resolveBlockManifest, o as blockNoticeLabel, p as arrangementLookNameFor, r as useBlockCustomizeControls, s as blockNoticeMessage, u as useBlockNotice, v as SdkConfigProvider, w as lookNotShownFieldIds, x as arrangementOwnedFieldIds, y as useSdkConfig } from "./useOpenBlockForSetup-
|
|
10
|
+
import { a as publicationLabel, o as Separator, t as useAutosaveStatus } from "./useAutosaveStatus-BUEPA4oL.mjs";
|
|
11
|
+
import { A as Tooltip, C as blockLookOwnedFieldPaths, D as showRawStyleFields, E as prepareBlockEditorManifest, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, O as getBlockManifestFromSdkConfig, P as Badge, S as arrangementVisibilityValues, T as hideThemeV2RawStyleFields, V as DropdownMenuSeparator, _ as createFieldObservation, b as arrangementLookResolution, f as arrangementBlockControlsFor, g as isRecord$1, h as isObjectRecord, i as NEEDS_SETUP_LABEL, j as TooltipContent, k as mergeBlockDescriptors, l as needsSetupOf, m as createStoreBackend, n as resolveBlockManifest, o as blockNoticeLabel, p as arrangementLookNameFor, r as useBlockCustomizeControls, s as blockNoticeMessage, u as useBlockNotice, v as SdkConfigProvider, w as lookNotShownFieldIds, x as arrangementOwnedFieldIds, y as useSdkConfig } from "./useOpenBlockForSetup-BVfr5P--.mjs";
|
|
12
12
|
import * as React$1 from "react";
|
|
13
13
|
import React, { Fragment, createContext, forwardRef, memo, useCallback, useContext, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
14
14
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -20470,11 +20470,12 @@ const enGB = {
|
|
|
20470
20470
|
};
|
|
20471
20471
|
//#endregion
|
|
20472
20472
|
//#region ../ui/src/calendar.tsx
|
|
20473
|
-
function Calendar({ className, classNames, showOutsideDays = true, captionLayout = "label", buttonVariant = "ghost", formatters, locale = enGB, components, ...props }) {
|
|
20473
|
+
function Calendar({ className, classNames, showOutsideDays = true, fixedWeeks = true, captionLayout = "label", buttonVariant = "ghost", formatters, locale = enGB, components, ...props }) {
|
|
20474
20474
|
const defaultClassNames = getDefaultClassNames();
|
|
20475
20475
|
return /* @__PURE__ */ jsx(DayPicker, {
|
|
20476
20476
|
locale,
|
|
20477
20477
|
showOutsideDays,
|
|
20478
|
+
fixedWeeks,
|
|
20478
20479
|
className: cn("bg-background group/calendar p-3 [--cell-size:theme(spacing.8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent", String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`, className),
|
|
20479
20480
|
captionLayout,
|
|
20480
20481
|
formatters: { ...formatters },
|
|
@@ -20670,6 +20671,7 @@ function DatePickerPopover({ selectedDate, onSelectDate, onOpenChange, placehold
|
|
|
20670
20671
|
}, renderTrigger, triggerProps)
|
|
20671
20672
|
}), /* @__PURE__ */ jsxs(PopoverContent, {
|
|
20672
20673
|
className: "w-auto p-0",
|
|
20674
|
+
side: "bottom",
|
|
20673
20675
|
align: "start",
|
|
20674
20676
|
children: [
|
|
20675
20677
|
/* @__PURE__ */ jsx(Calendar, {
|
|
@@ -28397,7 +28399,7 @@ function sourceAvailability(input) {
|
|
|
28397
28399
|
}
|
|
28398
28400
|
function missingSourceStatus(section) {
|
|
28399
28401
|
if (section.kind === "supporting-text" || section.kind === "legal") return "Add text to show this section on the public site.";
|
|
28400
|
-
return section.kind === "legal-navigation" ? "Shows on the public site once you add a legal link." : "Hidden on the public site until its details are added.";
|
|
28402
|
+
return section.kind === "legal-navigation" ? "Shows on the public site once you publish your privacy policy or add a legal link." : "Hidden on the public site until its details are added.";
|
|
28401
28403
|
}
|
|
28402
28404
|
function sectionPlan(section, selected, missingSource, canEdit) {
|
|
28403
28405
|
const actions = canEdit ? [
|
|
@@ -29363,7 +29365,7 @@ function FooterComposerPanel(props) {
|
|
|
29363
29365
|
}, props.siteId);
|
|
29364
29366
|
}
|
|
29365
29367
|
function FooterComposerContent({ apiClient, siteId: rawSiteId, customFooterMode, manageLinksHref, manageFormsHref = manageLinksHref.replace(/\/navigation$/u, "/forms"), manageNewsletterHref = manageLinksHref.replace(/\/navigation$/u, "/newsletter"), manageSettingsHref, widgets, layoutSelection, liveRuntime, appearanceControls, initialTarget, initialTargetRequestId, variant = "full", canEdit = true, onSaved, loadingFallback }) {
|
|
29366
|
-
const { businessAddress, authoringAllowed, canEdit: authoringEnabled, compositionSnapshot, engagementOptions, fieldState, retryFailedDrafts, acceptingEdits, load, loadError, writeStatus, compositionDrafts, profileDrafts, navigationMenus, profileSnapshot, credit, saveComposition, saveCreditHidden, saveProfile, setCompositionSnapshot, setTarget, siteId, target } = useFooterComposerState({
|
|
29368
|
+
const { businessAddress, authoringAllowed, canEdit: authoringEnabled, compositionSnapshot, engagementOptions, fieldState, retryFailedDrafts, acceptingEdits, load, loadError, writeStatus, compositionDrafts, profileDrafts, navigationMenus, platformLegalPages, profileSnapshot, credit, saveComposition, saveCreditHidden, saveProfile, setCompositionSnapshot, setTarget, siteId, target } = useFooterComposerState({
|
|
29367
29369
|
apiClient,
|
|
29368
29370
|
canEdit,
|
|
29369
29371
|
initialTarget,
|
|
@@ -29412,6 +29414,7 @@ function FooterComposerContent({ apiClient, siteId: rawSiteId, customFooterMode,
|
|
|
29412
29414
|
retryFailedDrafts,
|
|
29413
29415
|
acceptingEdits,
|
|
29414
29416
|
navigationMenus,
|
|
29417
|
+
platformLegalPages,
|
|
29415
29418
|
profileSnapshot,
|
|
29416
29419
|
credit,
|
|
29417
29420
|
saveComposition,
|
|
@@ -29428,7 +29431,7 @@ function ReadyFooterComposer(props) {
|
|
|
29428
29431
|
const currentEngagement = compositionSnapshot.composition.sections.find((section) => section.kind === "engagement") ?? null;
|
|
29429
29432
|
const engagementReadiness = resolveFooterEngagementAuthoringState(currentEngagement, engagementOptions);
|
|
29430
29433
|
const resolvedEngagement = resolveFooterEngagementPreview(currentEngagement, engagementOptions);
|
|
29431
|
-
const navigationFacts = footerMenuNavigationFacts(navigationMenus);
|
|
29434
|
+
const navigationFacts = footerMenuNavigationFacts(navigationMenus, props.platformLegalPages);
|
|
29432
29435
|
const previewRuntime = buildFooterPreviewRuntime({
|
|
29433
29436
|
composition: compositionSnapshot.composition,
|
|
29434
29437
|
publicProfile: profileSnapshot.profile,
|
package/dist/preview-next/client/{PreviewEditorUI-BS32G4V9.mjs → PreviewEditorUI-DwJQs4hM.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $
|
|
2
|
+
import { $r as readinessFactsFromPayload, Cn as useSidebarView, Ct as EditorWriteSurface, Ea as pageTemplateFromEntry, Fs as resolveBlockTitle, Mn as canDiscardDraft, Qr as publishReadinessWarning, U as usePreviewAuth, Wn as editorAuthoredBlockDocument, Ys as unwrapResponse, Yu as displayedValues, Zr as PUBLISH_READINESS_COPY, ad as unsafeAsEditorBlockId, bn as useEditorUiStore, cc as DialogFooter, cl as Button, dl as cva, et as useFooterPanelOwnsNotice, fn as PREVIEW_CHROME_Z_INDEX, gl as cn, gu as authoredValuesEqual, ht as useSessionJournalHistory, ic as Dialog, lc as DialogHeader, mt as useSessionJournal, n as usePreviewAssistantSlot, oc as DialogContent, pt as useServerRefresh, rc as Spinner, sc as DialogDescription, uc as DialogTitle, ut as useEntryEditorController, xn as useEditorUiStoreInstance, zs as editorAdmissionIsOpen } from "./previewAssistantSlot-BgiYk3PB.mjs";
|
|
3
3
|
import { Q as EllipsisVertical, S as Palette, Y as Eye, _ as Redo2, ft as ChevronDown, o as Undo2, s as TriangleAlert, y as Pencil } from "./lucide-react-00FF_oar.mjs";
|
|
4
|
-
import { i as formatEditorStatus, n as useEditorWriteState, r as decideEditorStatus } from "./useAutosaveStatus-
|
|
5
|
-
import { A as Tooltip, B as DropdownMenuRadioItem, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, N as TooltipTrigger, P as Badge, R as DropdownMenuLabel, V as DropdownMenuSeparator, c as needsSetupAsk, j as TooltipContent, n as resolveBlockManifest, t as useOpenBlockForSetup, z as DropdownMenuRadioGroup } from "./useOpenBlockForSetup-
|
|
6
|
-
import { c as writePreviewThemeCookie, f as useEditor, n as usePreviewChromeRoot, o as readPreviewThemeCookie, p as FixedBottomSurface } from "./previewChromeRoot-
|
|
4
|
+
import { i as formatEditorStatus, n as useEditorWriteState, r as decideEditorStatus } from "./useAutosaveStatus-BUEPA4oL.mjs";
|
|
5
|
+
import { A as Tooltip, B as DropdownMenuRadioItem, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, N as TooltipTrigger, P as Badge, R as DropdownMenuLabel, V as DropdownMenuSeparator, c as needsSetupAsk, j as TooltipContent, n as resolveBlockManifest, t as useOpenBlockForSetup, z as DropdownMenuRadioGroup } from "./useOpenBlockForSetup-BVfr5P--.mjs";
|
|
6
|
+
import { c as writePreviewThemeCookie, f as useEditor, n as usePreviewChromeRoot, o as readPreviewThemeCookie, p as FixedBottomSurface } from "./previewChromeRoot-tieNdF3E.mjs";
|
|
7
7
|
import * as React$1 from "react";
|
|
8
8
|
import { useCallback, useEffect, useMemo, useRef, useState, useTransition } from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as useOptionalPreviewLayout } from "./PreviewLayoutContext-Dy0LwcHc.mjs";
|
|
3
3
|
import { t as PreviewQueryProvider } from "./PreviewQueryProvider-BgIucg_5.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { Ao as DEFAULT_THEME_RESPONSIVE_MODE, B as initPreviewAuth, Bs as editorAdmissionNotice, Bt as BlockApiProvider, Ct as EditorWriteSurface, Dn as SIDEBAR_WIDTH, Dt as getEditorClientId, Eu as parseFooterModuleId, Fn as remoteDraftValues, G as renderSiteChromeBlock, H as renewPreviewSession, Hs as observeEditorAdmission, In as renderSourceFor, Ju as parseEditLeaseScope, Lt as ImageResolveContextProvider, Nn as activeLinkedSaveHandover, O as PreviewRenderObservationsProvider, On as parseStoredSidebarWidth, Pn as planLinkedSaveHandoverRetention, Rn as resolveRenderedValues, Sl as canEditorWrite, Sn as useOptionalEditorUiStoreInstance, St as EditLeaseModal, U as usePreviewAuth, Un as unsafeAsLinkedContentEntryId, Us as OPERATION_ID_HEADER, V as registerPreviewRenewalFetcher, Vi as buildResolveImageUrlContext, Vr as getLinkedContentEntryMeta, Vs as editorAdmissionSession, W as usePreviewToken, Ws as API_ENDPOINTS, Xs as selectedCanvasBlockId, Ys as unwrapResponse, _ as PreviewFooterProvider, _a as siteTopChromeMeasurementTargets, _t as savedContentReceipt, a as PreviewPageDesignEditorStateProvider, ad as unsafeAsEditorBlockId, an as blocksKeys, au as indexRenderableMediaAssets, bn as useEditorUiStore, bt as VIEWING_PARTICIPATION, cc as DialogFooter, cl as Button, ct as EntryControllerProvider, da as SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, dn as ApiRequestError, ea as buildThemeDataAttrs, ec as Callout, f as PreviewThemeJournalProvider, fa as SITE_STICKY_CHROME_HEIGHT_CSS_VAR, g as previewThemeBase, ga as planSiteOverlayHeaderClearance, gl as cn, gt as createEditorApiClientFactory, gu as authoredValuesEqual, i as usePreviewSidebarNavigation, ic as Dialog, iu as renderableMediaAssetSchema$1, jo as getResponsiveScopeSpec, l as SiteChromeCustomizeProvider, lc as DialogHeader, m as usePreviewThemeSourceOptional, ma as measureSiteStickyChromeHeightPx, md as assertNever$2, mn as createSnapshotFromPageRecord, na as themeRuntimeScopeProps, oc as DialogContent, p as usePreviewThemeSource, pa as SITE_STICKY_CHROME_HEIGHT_FALLBACK, pn as createRoutingHelpers, pt as useServerRefresh, r as PreviewSidebarBootstrap, ru as buildRenderableMediaAssetIndex, sc as DialogDescription, t as PreviewAssistantSlotProvider, tc as CalloutDescription, tt as SessionJournalHost, uc as DialogTitle, ut as useEntryEditorController, v as useLiveFooterRuntime, vl as baselineRevisionOf, vt as savedPageSurfaceMetadataReceipt, xa as planSiteChromePlacement, xn as useEditorUiStoreInstance, xs as assertNever$1, xt as EditLeaseDiscardedNotice, yl as isEdited, yt as useRetentionTicks, z as createGuardedPreviewApiClient, zr as LINKED_CONTENT_ENTRY_META_KEY } from "./previewAssistantSlot-BgiYk3PB.mjs";
|
|
5
5
|
import { H as GripVertical } from "./lucide-react-00FF_oar.mjs";
|
|
6
|
-
import { C as PreviewCompiledThemeProvider, F as mergeResolvedDataContext, Mt as TabsContent, Nt as TabsList, O as SiteFontStorageProvider, Pt as TabsTrigger, T as usePreviewCompiledTheme, V as MediaEditorContextProvider, W as useApiMediaUploader, a as sanitizeDashboardPath, at as ThemeScopeCore, ht as Toaster, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, l as SiteChromeCustomizeButton, n as resolveSiteStyleAccess, r as buildPreviewDashboardSetupUrl, s as resolvePreviewSetupBannerModel, t as canInspectSiteStyle, v as PreviewChromeLayerProvider, w as PreviewThemeRenderingProvider, x as PREVIEW_SITE_BANNER_ATTRIBUTE } from "./siteStyleAccess-
|
|
6
|
+
import { C as PreviewCompiledThemeProvider, F as mergeResolvedDataContext, Mt as TabsContent, Nt as TabsList, O as SiteFontStorageProvider, Pt as TabsTrigger, T as usePreviewCompiledTheme, V as MediaEditorContextProvider, W as useApiMediaUploader, a as sanitizeDashboardPath, at as ThemeScopeCore, ht as Toaster, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, l as SiteChromeCustomizeButton, n as resolveSiteStyleAccess, r as buildPreviewDashboardSetupUrl, s as resolvePreviewSetupBannerModel, t as canInspectSiteStyle, v as PreviewChromeLayerProvider, w as PreviewThemeRenderingProvider, x as PREVIEW_SITE_BANNER_ATTRIBUTE } from "./siteStyleAccess-BlN0jt2c.mjs";
|
|
7
7
|
import { n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-BW3dRFIv.mjs";
|
|
8
|
-
import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as EditorProvider, f as useEditor, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_KEEP_ALIVE_INTERVAL_MS, o as readPreviewThemeCookie, p as FixedBottomSurface, r as PREVIEW_CHROME_THEME_CLASS_NAME, s as subscribePreviewThemeCookie, t as PreviewChromeRootProvider, u as PREVIEW_KEEP_ALIVE_JITTER_RATIO } from "./previewChromeRoot-
|
|
8
|
+
import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as EditorProvider, f as useEditor, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_KEEP_ALIVE_INTERVAL_MS, o as readPreviewThemeCookie, p as FixedBottomSurface, r as PREVIEW_CHROME_THEME_CLASS_NAME, s as subscribePreviewThemeCookie, t as PreviewChromeRootProvider, u as PREVIEW_KEEP_ALIVE_JITTER_RATIO } from "./previewChromeRoot-tieNdF3E.mjs";
|
|
9
9
|
import React, { Children, Fragment, cloneElement, createContext, isValidElement, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
10
10
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { useQueryClient } from "@tanstack/react-query";
|
|
@@ -4447,10 +4447,10 @@ function resolveShellThemeRoles(props, journalSource) {
|
|
|
4447
4447
|
}
|
|
4448
4448
|
const previewContainerResponsiveEnabled = process.env.NEXT_PUBLIC_ENABLE_PREVIEW_CONTAINER_RESPONSIVE !== "false";
|
|
4449
4449
|
const PreviewEditorSidebar = React.lazy(async () => {
|
|
4450
|
-
return { default: (await import("./PreviewEditorSidebar-
|
|
4450
|
+
return { default: (await import("./PreviewEditorSidebar-jkfLVOgY.mjs")).PreviewEditorSidebar };
|
|
4451
4451
|
});
|
|
4452
4452
|
const PreviewEditorUI = React.lazy(async () => {
|
|
4453
|
-
return { default: (await import("./PreviewEditorUI-
|
|
4453
|
+
return { default: (await import("./PreviewEditorUI-DwJQs4hM.mjs")).PreviewEditorUI };
|
|
4454
4454
|
});
|
|
4455
4455
|
function renderShellProviders(input) {
|
|
4456
4456
|
if (!input.themeRoles) return input.content;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $
|
|
2
|
+
import { $i as normalizeEventRegistrationPageSurfaceSubject, Aa as headingFragment, Ar as resolveEventDetailsPresentation, Ba as ctaCopyFragment, Br as coerceLinkedContentEntriesPayload, Cl as bindingSchema, D as ObservedJoin, Da as publicEventsArraySchema, Do as buildThemeRuntime, Dr as readBlockComposition, Ea as pageTemplateFromEntry, Er as blockLookFromContent, Fa as singleButtonFragment, Fn as remoteDraftValues, Fr as Text$1, Ft as clientComponentRegistry, Ga as heroCopyFragment, Gi as groupOfferingRunsByCourse, Gl as defaultThemeTokens, Gr as resolveRouteTarget, Gs as publicMapLocationParamsSchema, Gu as readEditorBlockVersionsFromPlacement, Ha as ctaRowFragment, Hi as getCurrentResolveImageUrlContext, Hr as defaultTransforms, Ia as formEmbedFragment, Il as parseThemeForPersistence, In as renderSourceFor, Ir as getAtPath, Ja as bodyCopyFragment, Jr as allOutlineBlocks, Ka as ctaButton, Ks as calendarWindowQuerySchema, Ku as readPublishedBlockPlacement, La as formCopyFragment, Ln as renderedFieldChanges, Lr as siblingPath, Ls as isObjectRecord, Ma as faqAccordionFragment, Na as faqHeadingFragment, Nr as renderInlineText, Oa as bookingConsentCarrierSchema, Or as getDefaultComponentRegistry, Pa as blogFeaturedPostFragment, Pr as logger, Pu as sameMailingListPlacementTargeting, Qa as validateManifestDraft, Ra as testimonialsCarouselFragment, Rn as resolveRenderedValues, Rs as isRecord$1, Sr as resolveBlockLayout, Ta as hiddenFromVisitors, Ti as RichText$1, Tr as arrangementHooksFromContent, Ui as setContextResolveImageUrlContext, Ul as parseSurfaceTree, Un as unsafeAsLinkedContentEntryId, Ur as resolveEntryRouteTarget, Va as heroCtaRowFragment, Vi as buildResolveImageUrlContext, Vl as textColorStyle, W as usePreviewToken, Wi as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, Wr as resolvePageRouteTarget, Wu as NO_BLOCK_VERSIONS, Xa as runTransforms, Xr as mapOutlineRegions, Ya as defineFragment, Yi as offeringsListingFor, Yr as mapOutlineBlocks, Ys as unwrapResponse, Za as compileManifestContentContract, Zi as readOfferingsGrouping, _o as isInlineTextEmpty, _r as retargetJoinsAcrossOmissions, _u as generateUuidV4, ad as unsafeAsEditorBlockId, ai as hasBlockDefinition, ba as resolveDateRuntimeContext, bl as canWriteLinkedEntry, bn as useEditorUiStore, bo as parseInlineTextFromUnknown, ci as LOCATION_MAP_LOADER_KEYS, co as parseGeneratedIconSetId, cs as pageGround, dd as toUtcIsoDateTimeString, di as parseLocationMapLoaderResult, do as coerceInlineTextWithFallback, ei as readinessFactsFromLoaders, fi as resolveLocationMapLocation, fo as deriveInlineTextFieldChanges, fr as createPageRenderPlanReader, go as inlineTextToPlainText, gr as renderedJoinLayout, hi as publicRouteCandidatesSchema, hr as joinSlotKey, ii as getBlockDefinition, ja as cardFragment, jr as buildAppointmentServicesView, ju as parseMailingListPlacementTargeting, k as PreviewRenderPlanProjection, ka as richTextFragment, ko as mergeContentWithBlockStyleOverrides, kr as buildLoadedOfferingsPreviewListing, li as describeUnresolvedLocationMapLocation, md as assertNever, mi as offeringsPreviewBlockDefinition, mr as composePageJoins, oo as parseBlockIconValue, pr as planArrangementContent, qa as layoutSectionGround, qr as createEditorPresentationPageReader, qu as selectedContentVersionId, s as usePreviewPageDesignRenderState, si as normalizeBlockContent, so as parseGeneratedIconAssetId, ti as selectBlockContent, ui as normalizeLocationMapSource, wa as projectRecurringSchedule, wi as cardListPresentationSchemaShape, wr as resolveDefaultBlockTree, xn as useEditorUiStoreInstance, xr as makeDefaultBlockComponent, ya as readRuntimeNow, yu as buildMailingListSignupBlockSourceRef, za as testimonialsHeadingFragment } from "./previewAssistantSlot-BgiYk3PB.mjs";
|
|
3
3
|
import { Lt as parseLocationValue, Rt as projectPublicLocation, zt as publicLocationSchema } from "./lucide-react-00FF_oar.mjs";
|
|
4
|
-
import { A as pageDesignRuntimeProjectionFromSource, E as usePreviewCompiledThemeOptional, F as mergeResolvedDataContext, I as withRenderedContentEntry, M as applyPreviewRuntimeContentProjections, N as entryFieldRebindingProjection, P as runtimeContentDecorationProjectionFromServerPage, g as PreviewChromeFloatingBar, j as resolveRuntimePreviewSourceForTheme, ot as EditorCanvasChip } from "./siteStyleAccess-
|
|
5
|
-
import { C as EMPTY_DOC, D as resolveSdkFooterMode, E as decideDocumentReplacement, S as useRichTextEditor, T as InlineTextEditor, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, r as BlockToolbar, t as PageSectionToolbar, w as parseRichTextDoc, y as RichTextEditorSurface } from "./PageSectionToolbar-
|
|
6
|
-
import { f as useEditor } from "./previewChromeRoot-
|
|
7
|
-
import { a as dispatchLinkedEntryFieldFocusEvent, c as useLinkedSaveHandoverRetention, d as linkedEntryRenderOverlaysFromStore, f as PREVIEW_EDITABLE_OUTLINE, i as dispatchLinkedEntryEditEvent, l as applyLinkedEntryRenderOverlay, o as defaultPreviewThemeRuntime, r as dispatchBlockFieldFocusEvent, s as linkedSaveHandoversVersion, t as PreviewShell, u as applyLinkedEntryRenderOverlayToDataContext } from "./PreviewShell-
|
|
4
|
+
import { A as pageDesignRuntimeProjectionFromSource, E as usePreviewCompiledThemeOptional, F as mergeResolvedDataContext, I as withRenderedContentEntry, M as applyPreviewRuntimeContentProjections, N as entryFieldRebindingProjection, P as runtimeContentDecorationProjectionFromServerPage, g as PreviewChromeFloatingBar, j as resolveRuntimePreviewSourceForTheme, ot as EditorCanvasChip } from "./siteStyleAccess-BlN0jt2c.mjs";
|
|
5
|
+
import { C as EMPTY_DOC, D as resolveSdkFooterMode, E as decideDocumentReplacement, S as useRichTextEditor, T as InlineTextEditor, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, r as BlockToolbar, t as PageSectionToolbar, w as parseRichTextDoc, y as RichTextEditorSurface } from "./PageSectionToolbar-BI3UCdpu.mjs";
|
|
6
|
+
import { f as useEditor } from "./previewChromeRoot-tieNdF3E.mjs";
|
|
7
|
+
import { a as dispatchLinkedEntryFieldFocusEvent, c as useLinkedSaveHandoverRetention, d as linkedEntryRenderOverlaysFromStore, f as PREVIEW_EDITABLE_OUTLINE, i as dispatchLinkedEntryEditEvent, l as applyLinkedEntryRenderOverlay, o as defaultPreviewThemeRuntime, r as dispatchBlockFieldFocusEvent, s as linkedSaveHandoversVersion, t as PreviewShell, u as applyLinkedEntryRenderOverlayToDataContext } from "./PreviewShell-BAxAkuz8.mjs";
|
|
8
8
|
import * as React$1 from "react";
|
|
9
9
|
import React, { createContext, memo, useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
10
10
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1035,10 +1035,14 @@ function blockBoundaryReserves(input) {
|
|
|
1035
1035
|
return {
|
|
1036
1036
|
topPlacement: top?.placement,
|
|
1037
1037
|
bottomPlacement: bottom?.placement,
|
|
1038
|
-
|
|
1038
|
+
seamBefore: seamAttribute(input.before),
|
|
1039
|
+
seamAfter: seamAttribute(input.after),
|
|
1039
1040
|
style: top || bottom ? style : void 0
|
|
1040
1041
|
};
|
|
1041
1042
|
}
|
|
1043
|
+
function seamAttribute(slot) {
|
|
1044
|
+
return slot && slot.seam !== "none" ? slot.seam : void 0;
|
|
1045
|
+
}
|
|
1042
1046
|
/** The reserve one join needs on one side of itself, if it draws at all. */
|
|
1043
1047
|
function reserveOnSide(slot, side) {
|
|
1044
1048
|
const layout = renderedJoinLayout(slot?.join ?? null);
|
|
@@ -1632,11 +1636,32 @@ function composeSurvivorJoins(plan, survivors, themeResources) {
|
|
|
1632
1636
|
survivors: survivors.map(({ entry }) => ({
|
|
1633
1637
|
id: entry.block.id,
|
|
1634
1638
|
kind: entry.block.kind,
|
|
1635
|
-
content: boundaryClassificationContent(entry, themeResources)
|
|
1639
|
+
content: boundaryClassificationContent(entry, themeResources),
|
|
1640
|
+
...seamSectionFacts(entry)
|
|
1636
1641
|
}))
|
|
1637
1642
|
});
|
|
1638
1643
|
}
|
|
1639
1644
|
/**
|
|
1645
|
+
* Whether the platform paints this entry's section, and the ground it
|
|
1646
|
+
* declares. Only a system block whose layout is a styled section is
|
|
1647
|
+
* `platform`: that section carries the geometry hook the seam rules target,
|
|
1648
|
+
* whatever the Look or skin. An override component, a custom block, a layout
|
|
1649
|
+
* that draws its own root, or a block that manages its own wrapper (so never
|
|
1650
|
+
* carries the seam attributes) owns its ground and padding.
|
|
1651
|
+
*/
|
|
1652
|
+
function seamSectionFacts(entry) {
|
|
1653
|
+
const own = {
|
|
1654
|
+
ground: pageGround,
|
|
1655
|
+
section: "own"
|
|
1656
|
+
};
|
|
1657
|
+
if (entry.kind !== "renderable" || entry.override || entry.managesOwnWrapper || !hasBlockDefinition(entry.block.kind)) return own;
|
|
1658
|
+
const ground = layoutSectionGround(resolveBlockLayout(entry.definition.manifest, entry.effectiveArrangementKey));
|
|
1659
|
+
return ground ? {
|
|
1660
|
+
ground,
|
|
1661
|
+
section: "platform"
|
|
1662
|
+
} : own;
|
|
1663
|
+
}
|
|
1664
|
+
/**
|
|
1640
1665
|
* The content a join is classified from must be the content that paints the
|
|
1641
1666
|
* section. The default block renderer layers the theme's per-block style
|
|
1642
1667
|
* defaults (`theme.blockOverrides[kind].styles`, background included) under
|
|
@@ -1928,7 +1953,7 @@ function wrapRenderedPage(props, plan, rendered) {
|
|
|
1928
1953
|
function renderPreparedPage(props, preparation, themeResources, imageResolveContext, headingPresentation) {
|
|
1929
1954
|
const resolvedRegistry = props.registry ?? getDefaultComponentRegistry();
|
|
1930
1955
|
const joinSlots = joinSlotsByPair(preparation.joins);
|
|
1931
|
-
const renderRegion = (entries, joins,
|
|
1956
|
+
const renderRegion = (entries, joins, ending) => entries.map((entry, index) => renderGuardedPlanEntry({
|
|
1932
1957
|
entry,
|
|
1933
1958
|
index,
|
|
1934
1959
|
entries,
|
|
@@ -1938,27 +1963,28 @@ function renderPreparedPage(props, preparation, themeResources, imageResolveCont
|
|
|
1938
1963
|
resolvedRegistry,
|
|
1939
1964
|
systemTrees: headingPresentation.trees,
|
|
1940
1965
|
joinSlots: joins,
|
|
1941
|
-
|
|
1966
|
+
ending,
|
|
1942
1967
|
wrapBlock: props.wrapBlock,
|
|
1943
1968
|
renderJoin: props.renderJoin
|
|
1944
1969
|
}));
|
|
1945
1970
|
const { main, aside } = preparation.regions;
|
|
1946
1971
|
const title = headingPresentation.needsPageTitle ? /* @__PURE__ */ jsx(PageTitleFallback, { name: props.page?.name ?? "" }) : null;
|
|
1947
|
-
if (aside.length === 0) return /* @__PURE__ */ jsxs("div", { children: [title, renderRegion(main, joinSlots, "
|
|
1972
|
+
if (aside.length === 0) return /* @__PURE__ */ jsxs("div", { children: [title, renderRegion(main, joinSlots, "lastBlock")] });
|
|
1948
1973
|
return /* @__PURE__ */ jsxs("div", {
|
|
1949
1974
|
className: "rb-page-layout",
|
|
1950
1975
|
"data-page-layout": "main-aside",
|
|
1976
|
+
"data-page-ending": "",
|
|
1951
1977
|
children: [
|
|
1952
1978
|
title,
|
|
1953
1979
|
/* @__PURE__ */ jsx("div", {
|
|
1954
1980
|
className: "rb-page-layout__main",
|
|
1955
1981
|
"data-page-region": "main",
|
|
1956
|
-
children: renderRegion(main, joinSlots, "
|
|
1982
|
+
children: renderRegion(main, joinSlots, "elsewhere")
|
|
1957
1983
|
}),
|
|
1958
1984
|
/* @__PURE__ */ jsx("aside", {
|
|
1959
1985
|
className: "rb-page-layout__aside rb-sticky-below-site-chrome",
|
|
1960
1986
|
"data-page-region": "aside",
|
|
1961
|
-
children: renderRegion(aside, /* @__PURE__ */ new Map(), "
|
|
1987
|
+
children: renderRegion(aside, /* @__PURE__ */ new Map(), "elsewhere")
|
|
1962
1988
|
})
|
|
1963
1989
|
]
|
|
1964
1990
|
});
|
|
@@ -2047,9 +2073,9 @@ function requireEntryBlockOverride(entry, themeResources) {
|
|
|
2047
2073
|
}
|
|
2048
2074
|
requireBlockOverride(themeResources, entry.override, entry.block.kind);
|
|
2049
2075
|
}
|
|
2050
|
-
/** The
|
|
2051
|
-
function pageEndingAttribute(
|
|
2052
|
-
return
|
|
2076
|
+
/** The block the footer meets marks itself for the footer edge's reserve. */
|
|
2077
|
+
function pageEndingAttribute(ending, position) {
|
|
2078
|
+
return ending === "lastBlock" && (position === "last" || position === "only") ? "" : void 0;
|
|
2053
2079
|
}
|
|
2054
2080
|
/** The block's stored identifier, emitted as its section `id` so `#identifier` links land on it. */
|
|
2055
2081
|
function blockAnchorId(block) {
|
|
@@ -2116,10 +2142,11 @@ function renderPlanEntry(input) {
|
|
|
2116
2142
|
"data-block-composition": blockComposition?.treatment,
|
|
2117
2143
|
"data-block-composition-kind": blockComposition?.kind,
|
|
2118
2144
|
"data-page-block-position": blockPosition,
|
|
2119
|
-
"data-page-ending": pageEndingAttribute(input.
|
|
2145
|
+
"data-page-ending": pageEndingAttribute(input.ending, blockPosition),
|
|
2120
2146
|
"data-site-style-boundary-before": reserves.topPlacement,
|
|
2121
2147
|
"data-site-style-boundary-after": reserves.bottomPlacement,
|
|
2122
|
-
"data-site-style-
|
|
2148
|
+
"data-site-style-seam-before": reserves.seamBefore,
|
|
2149
|
+
"data-site-style-seam-after": reserves.seamAfter,
|
|
2123
2150
|
"data-style-group": styleGroup,
|
|
2124
2151
|
style: reserves.style,
|
|
2125
2152
|
children: /* @__PURE__ */ jsx(MemoBlockSection, { ...blockSectionProps })
|