@riverbankcms/sdk 0.171.0 → 0.171.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-xuFmD41p.d.ts → BlocksIslandsHydrator-D-6cWDDC.d.ts} +1 -1
  2. package/dist/_dts/{Page-4fzXy8H9.d.ts → Page-4jkUDm4D.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-BlHgMsc8.d.ts → SdkPreviewMode-DEvzvovi.d.ts} +2 -2
  4. package/dist/_dts/{client-BPoU758C.d.ts → client-CXPH5esD.d.ts} +1 -1
  5. package/dist/_dts/{content-types-TnkhoSls.d.ts → content-types-DsCr4-ny.d.ts} +2 -2
  6. package/dist/_dts/{contracts-7wrMA79U.d.ts → contracts-BlmXM7xP.d.ts} +3 -3
  7. package/dist/_dts/{footerPageOutline-DaOsPQ_Q.d.ts → footerPageOutline-BA0DnxWU.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-D9aDEzKK.d.ts → generatePageMetadata-B7IRJCFG.d.ts} +2 -2
  9. package/dist/_dts/{index-CZKSUcDs.d.ts → index-B3gfKNI-.d.ts} +4 -4
  10. package/dist/_dts/{index-DDKJfaLY.d.ts → index-BQPJbOkU.d.ts} +2 -2
  11. package/dist/_dts/{index-W9R3Bnf2.d.ts → index-BZ8-c4iQ.d.ts} +3 -3
  12. package/dist/_dts/{index-Cbw0IiY7.d.ts → index-C9_OTCFQ.d.ts} +2 -2
  13. package/dist/_dts/{index-585vn6qb.d.ts → index-DScYSl03.d.ts} +1 -1
  14. package/dist/_dts/{index-DNCDENic.d.ts → index-DlABXDte.d.ts} +1 -1
  15. package/dist/_dts/{index-ChNbrcgD.d.ts → index-Sua-7CF1.d.ts} +1 -1
  16. package/dist/_dts/{loadContent-DPyNAJym.d.ts → loadContent-Dx4fW3Pa.d.ts} +7 -7
  17. package/dist/_dts/{request-jXTRN1Y4.d.ts → request-DUTkELQn.d.ts} +74581 -74248
  18. package/dist/_dts/{resolveBlockData-BbvE-gsZ.d.ts → resolveBlockData-Cze35i_N.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-BBgih00D.d.ts → resolvePageContent-zf6-E-C3.d.ts} +2 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  29. package/dist/_dts/sdk/src/index.d.ts +8 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  33. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  53. package/dist/_dts/{types-kWvBwYK6.d.ts → types-BCzfYDW2.d.ts} +7 -7
  54. package/dist/_dts/{types-BXuVxDYo.d.ts → types-CPHk5Voq.d.ts} +2 -2
  55. package/dist/_dts/{types-DEAKoDNi.d.ts → types-JD-36x3P.d.ts} +3 -3
  56. package/dist/_dts/{validation-BAO0_ntM.d.ts → validation-0MyQlzWJ.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-DfMsMIej.mjs → BlocksIslandsHydrator-vTHQyBQF.mjs} +17 -17
  58. package/dist/client/{BookingMailingListNote-aaSicywS.mjs → BookingMailingListNote-Blge9FJo.mjs} +2 -2
  59. package/dist/client/{BookingPanelArrangement-OgftZ9QC.mjs → BookingPanelArrangement-wm6eeuin.mjs} +1 -1
  60. package/dist/client/{CalendarNavigationChevron-iMWrY6Hz.mjs → CalendarNavigationChevron-DRH9qFny.mjs} +4 -4
  61. package/dist/client/{DemoBookingPortalAccess-BCumOTLY.mjs → DemoBookingPortalAccess-DPGZArG9.mjs} +1 -1
  62. package/dist/client/{EventCalendar.client-kh7mkYnW.mjs → EventCalendar.client-FGg6yCLH.mjs} +7 -7
  63. package/dist/client/{EventCombined.client-DXD5i0Ar.mjs → EventCombined.client-218_Gqgp.mjs} +4 -4
  64. package/dist/client/{EventItem-BnwcoFQN.mjs → EventItem-DKdZSW_R.mjs} +4 -4
  65. package/dist/client/{EventListWeekNavigation-DuG6z02f.mjs → EventListWeekNavigation-DZJ5qBhg.mjs} +1 -1
  66. package/dist/client/{EventListing.client-18yfHrcr.mjs → EventListing.client-CCdsrqHc.mjs} +3 -3
  67. package/dist/client/{EventListing.view-BM7rTVSL.mjs → EventListing.view-BVoHnVZA.mjs} +5 -5
  68. package/dist/client/{EventRegistrationPayment-D5J3DR0x.mjs → EventRegistrationPayment-BVxHCnxs.mjs} +4 -4
  69. package/dist/client/{Page-DH2sm4Cf.mjs → Page-CT4HaEMr.mjs} +19 -24
  70. package/dist/client/{StepIndicator-CsRlU46Y.mjs → StepIndicator-DRJy4eU3.mjs} +4 -4
  71. package/dist/client/{accessibleSurfaces-Bbn1-jJ8.mjs → accessibleSurfaces-BnyVRqdU.mjs} +21 -24
  72. package/dist/client/{accordion-DT4MD3Np.mjs → accordion-BOApxi9U.mjs} +1 -1
  73. package/dist/client/{booking-form.client-DdqNQNCa.mjs → booking-form.client-DDf8Lmo5.mjs} +6 -6
  74. package/dist/client/{bookingForm-CLN396HU.mjs → bookingForm-DWrgG-Xx.mjs} +3 -3
  75. package/dist/client/bookings.mjs +3 -3
  76. package/dist/client/{boxStyleClassNames-iLF_3KX9.mjs → boxStyleClassNames-7MVCNWgc.mjs} +1 -1
  77. package/dist/client/{carousel-DFLomCGm.mjs → carousel-DeI76SEP.mjs} +1 -1
  78. package/dist/client/{cart-BozMM5NK.mjs → cart-D_uxULCO.mjs} +3 -3
  79. package/dist/client/{cart.client-CqOOxPbW.mjs → cart.client-BxSMse88.mjs} +1 -1
  80. package/dist/client/{checkout-CTWF5nbB.mjs → checkout-DIbh4g5e.mjs} +3 -3
  81. package/dist/client/{checkout.client-CpqxN8e0.mjs → checkout.client-x4Lkw8-E.mjs} +1 -1
  82. package/dist/client/{checkoutUrls-Ccg6yfjq.mjs → checkoutUrls-DqN3L-kl.mjs} +1 -1
  83. package/dist/client/client.mjs +20 -6
  84. package/dist/client/{cta-pzQkBLgS.mjs → cta-CP9l112u.mjs} +1 -1
  85. package/dist/client/{display-Cl6mgSJa.mjs → display-ChgDe9Da.mjs} +1 -1
  86. package/dist/client/{enhanceHeaderSection-CJCl0HJC.mjs → enhanceHeaderSection-BEjg_h_6.mjs} +3 -3
  87. package/dist/client/{event-details.client-Pn9Kxh3I.mjs → event-details.client-COmbQ3mc.mjs} +1 -1
  88. package/dist/client/{event-registration.client-BAmBdWXE.mjs → event-registration.client-BvQG3qEY.mjs} +7 -7
  89. package/dist/client/{eventCalendar-C5Bh2L8L.mjs → eventCalendar-DiitbUpV.mjs} +3 -3
  90. package/dist/client/{eventCombined-dELKxxIe.mjs → eventCombined-Da9Z8KDq.mjs} +3 -3
  91. package/dist/client/{eventDetails-Do9D_fJ_.mjs → eventDetails-Cf-kg7d6.mjs} +2 -2
  92. package/dist/client/{eventListing-B2HTUWLq.mjs → eventListing-xwXgVp7a.mjs} +3 -3
  93. package/dist/client/{eventRegistration-ByOJnqGc.mjs → eventRegistration-hlFYlgTA.mjs} +3 -3
  94. package/dist/client/{form-DX70QG-J.mjs → form-ERv_X_oZ.mjs} +2 -2
  95. package/dist/client/{form.client-CJoqBrS6.mjs → form.client-Cz24FYNj.mjs} +2 -2
  96. package/dist/client/{form.parts-DTof9pL3.mjs → form.parts-DeaH4kIe.mjs} +1 -1
  97. package/dist/client/{headerSection-CJuPX_1K.mjs → headerSection-CJvt0ZP4.mjs} +2 -2
  98. package/dist/client/{newsletter-form.client-CqzNjOft.mjs → newsletter-form.client-WuGDEzdD.mjs} +3 -3
  99. package/dist/client/{newsletter-form.parts-DjJsFms2.mjs → newsletter-form.parts-DhnW6tdB.mjs} +1 -1
  100. package/dist/client/{newsletterForm-D1MHoPbh.mjs → newsletterForm-DxG7NV8U.mjs} +2 -2
  101. package/dist/client/{product-detail.client-DOQ7El1d.mjs → product-detail.client-DsSfbmdV.mjs} +1 -1
  102. package/dist/client/{product-list.client-CmxOZbzL.mjs → product-list.client-Byzow88i.mjs} +1 -1
  103. package/dist/client/{productDetail-BN3zv5sa.mjs → productDetail-iXkmQpxG.mjs} +3 -3
  104. package/dist/client/{productList-GN_Id4bF.mjs → productList-HoFGQXFl.mjs} +3 -3
  105. package/dist/client/{propsDecoder-BdmzM3D5.mjs → propsDecoder-CH2-LJME.mjs} +2 -2
  106. package/dist/client/{registry.server-BOyra8CA.mjs → registry.server-ed20Q7bV.mjs} +22 -21
  107. package/dist/client/rendering/client.mjs +21 -21
  108. package/dist/client/rendering/islands.mjs +1 -1
  109. package/dist/client/rendering.mjs +6 -6
  110. package/dist/client/{routeIslandApiConfig-DnaJ8PQc.mjs → routeIslandApiConfig-CBUO-xuz.mjs} +1 -1
  111. package/dist/client/{runtimeResponse-BN8PoIVp.mjs → runtimeResponse-3brbt2Jq.mjs} +1 -1
  112. package/dist/client/runtimeResponse-CTarP5K6.mjs +3 -0
  113. package/dist/client/{shop-LjBLDBqF.mjs → shop-DXyeSNgi.mjs} +3 -3
  114. package/dist/client/{shop-commerce-B8aZTdRJ.mjs → shop-commerce--klkHNzu.mjs} +7 -7
  115. package/dist/client/{shop-commerce-store-C1FtHYl7.mjs → shop-commerce-store-BdpIWdc4.mjs} +1 -1
  116. package/dist/client/{shop.client-D0qZ3KZp.mjs → shop.client-Sv7QVDmj.mjs} +7 -7
  117. package/dist/client/{shop.interactive-DAKyWK1B.mjs → shop.interactive-C0IjiWOs.mjs} +1 -1
  118. package/dist/client/{shopShared-CztcSe9i.mjs → shopShared-Jt4TzcAG.mjs} +1 -1
  119. package/dist/client/{timetableModel-D1jDTbms.mjs → timetableModel-BxbnEJCi.mjs} +5 -5
  120. package/dist/client/{useDiscountApply-CHGYDxdM.mjs → useDiscountApply-dToQs9oY.mjs} +1 -1
  121. package/dist/client/{useDiscountCodeUi-Dew9UAEy.mjs → useDiscountCodeUi-C_aa_H69.mjs} +1 -1
  122. package/dist/client/{useEventPagination-BpC7-ksE.mjs → useEventPagination--MFZBoJt.mjs} +4 -4
  123. package/dist/client/{view-ShYH3WXh.mjs → view-C_brMDU2.mjs} +2 -2
  124. package/dist/client/{view-BxeiAL3c.mjs → view-DhEwiTJG.mjs} +3 -3
  125. package/dist/preview-next/client/{LocationPickerEnvironment-lW2aLGWd.mjs → LocationPickerEnvironment-OwAxA2C0.mjs} +1 -1
  126. package/dist/preview-next/client/{MapLibreEditMap-C9InQJpd.mjs → MapLibreEditMap-CaUOTCSh.mjs} +2 -2
  127. package/dist/preview-next/client/{PageSectionToolbar-DsSqwrMS.mjs → PageSectionToolbar-Dfi8Y3AI.mjs} +308 -388
  128. package/dist/preview-next/client/{PreviewEditorSidebar-BEEWzXnU.mjs → PreviewEditorSidebar-DJlX4sXP.mjs} +668 -353
  129. package/dist/preview-next/client/{PreviewEditorUI-C86Out4V.mjs → PreviewEditorUI-FVAibBlC.mjs} +126 -137
  130. package/dist/preview-next/client/{PreviewShell-CBWYjBvQ.mjs → PreviewShell-9eAon7Z8.mjs} +8 -8
  131. package/dist/preview-next/client/{SdkPreviewModeRuntime-o-mVqWLx.mjs → SdkPreviewModeRuntime-Byf-KW1x.mjs} +13 -16
  132. package/dist/preview-next/client/{SiteChromeCustomizeButton-H_ciMNHA.mjs → SiteChromeCustomizeButton-eU-zMftO.mjs} +1357 -39
  133. package/dist/preview-next/client/{lucide-react-DygTyy7K.mjs → lucide-react-X0DjcFij.mjs} +1 -1
  134. package/dist/preview-next/client/{previewAssistantSlot-CuOcsG_N.mjs → previewAssistantSlot-3FZrzbK8.mjs} +1808 -2832
  135. package/dist/preview-next/client/{previewChromeRoot-DPeV7KaP.mjs → previewChromeRoot-C4gyNQXE.mjs} +1 -1
  136. package/dist/preview-next/client/runtime.mjs +3 -3
  137. package/dist/preview-next/client/{sdk-runtime-zTTFZ4MM.mjs → sdk-runtime-DtyRbz4E.mjs} +2 -2
  138. package/dist/preview-next/client/{useAutosaveStatus-DNA1Q4L1.mjs → useAutosaveStatus-OIMkhbkP.mjs} +2 -2
  139. package/dist/preview-next/client/{useOpenBlockForSetup-BdnMlHC6.mjs → useOpenBlockForSetup-BNG9P9sM.mjs} +109 -6
  140. package/dist/preview-next/editor-base.css +14 -4
  141. package/dist/preview-next/keepAlive.mjs +1 -1
  142. package/dist/preview-next/middleware.mjs +1 -1
  143. package/dist/preview-next/{route-contract-CtSgU8UZ.mjs → route-contract-BLY4ycq6.mjs} +16 -2
  144. package/dist/server/{Block.shared-ifgaBglp.mjs → Block.shared-BC3jPIP4.mjs} +4 -4
  145. package/dist/server/{ThemeScopeCore-DGDOH6OU.mjs → ThemeScopeCore-B7Ey6AWT.mjs} +4 -4
  146. package/dist/server/{accessibleSurfaces-BuPNCWAK.mjs → accessibleSurfaces-BxsHs-jf.mjs} +1 -1
  147. package/dist/server/{bindings-CiYpie1M.mjs → bindings-xQ9v3zrn.mjs} +4 -4
  148. package/dist/server/{client-ngWuFsmN.mjs → client-DCwLR0kQ.mjs} +18 -4
  149. package/dist/server/config-validation.mjs +1 -1
  150. package/dist/server/config.mjs +1 -1
  151. package/dist/server/data/resolveBlockData.mjs +1 -1
  152. package/dist/server/index.mjs +2 -2
  153. package/dist/server/{loadContent-DeLQeJAZ.mjs → loadContent-C4I3ltU_.mjs} +5 -5
  154. package/dist/server/{loadPage-D4J747FQ.mjs → loadPage-COvxWN0r.mjs} +2 -2
  155. package/dist/server/next.mjs +6 -6
  156. package/dist/server/{opaqueSurface-ukEz1BaM.mjs → opaqueSurface-QiUjZmEV.mjs} +2 -2
  157. package/dist/server/{overrideResolution-DSuVkpqm.mjs → overrideResolution-BqQg6Iws.mjs} +1 -1
  158. package/dist/server/page-converter.mjs +1 -1
  159. package/dist/server/{pageRenderPlan-DFv3h4Ib.mjs → pageRenderPlan-CVCGTj5S.mjs} +4 -4
  160. package/dist/server/{pageRuntimeSupport-yHaRNWMj.mjs → pageRuntimeSupport-C7Be9suN.mjs} +2 -2
  161. package/dist/server/{pageShared-CAZD0LcY.mjs → pageShared-H_bSBPLd.mjs} +10 -10
  162. package/dist/server/{parseThemeForPersistence-Dl7LIBJq.mjs → parseThemeForPersistence-Bk0o95m6.mjs} +2 -2
  163. package/dist/server/{prebuild-BKOCND3b.mjs → prebuild-HQNOeCs9.mjs} +1 -1
  164. package/dist/server/prebuild.mjs +1 -1
  165. package/dist/server/{prefetchBlockData-GIoExi8A.mjs → prefetchBlockData-CbRsnhta.mjs} +2 -2
  166. package/dist/server/{registry-BogXzcOD.mjs → registry-CaeRTf4E.mjs} +18 -22
  167. package/dist/server/rendering/components/pageShared.mjs +1 -1
  168. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  169. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  170. package/dist/server/rendering/server.mjs +3 -3
  171. package/dist/server/rendering.mjs +7 -7
  172. package/dist/server/{resolveBlockData-CT4YSBve.mjs → resolveBlockData-CUMjWbXQ.mjs} +1 -1
  173. package/dist/server/{resolveButtonColourStates-DVISOQD9.mjs → resolveButtonColourStates-euZnRMIu.mjs} +21 -24
  174. package/dist/server/{schema-C92Q8y0-.mjs → schema-CxBsE9Dv.mjs} +1 -1
  175. package/dist/server/server.mjs +3 -3
  176. package/dist/server/theme-bridge.mjs +2 -2
  177. package/dist/server/theme.mjs +2 -2
  178. package/dist/server/{validation-vSBCWU3w.mjs → validation-CvmhnkDr.mjs} +3 -3
  179. package/dist/server/{version-Cw5vFmUY.mjs → version-Clp2evCf.mjs} +1 -1
  180. package/package.json +1 -1
  181. package/dist/client/runtimeResponse-B1-cyLXt.mjs +0 -3
@@ -1,13 +1,14 @@
1
1
  "use client";
2
- import { $ as pageEvidenceEvents, $_ as generateUuidV4, $a as eventCalendarListGroupingDecision, $c as formatEventClockLabel, $d as inlineTextToPlainText, $f as formatSiteChromeBackgroundTokenLabel, $g as contrastThresholdByPolicy, $i as createInitialEventPaginationLoadState, $l as siteFooterManifest, $o as isEventRegistrationAvailable, $r as buildProductListInteractiveIslandProps, $s as formatCentsAsCurrencyInput, $v as parseLocalScheduleTime, Ac as decideBookingQuestionsRestoration, Ad as parseStoredVariant, Af as resolveEffectiveArrangement, Ag as serializeSurfaceTree, Al as canonicalUrl, Ao as registrationRoute, As as ok, Au as createInteractiveIslandCodec, Ba as EventQuickFacts, Bc as eventListWeekDays, Bf as surfaceResolutionContextFromTheme, Bg as BORDER_WIDTH_MAP, Bi as buildEventCollectionHydration, Bo as decideEventRegistrationPayment, Br as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, Bs as formatBookingWhen, Bu as itemRole, Cc as sweepExpiredSignInReturnDrafts, Cd as lookLeadSlotTransform, Cf as readHeaderNavFontSizePreference, Cg as textColorStyle, Ch as useControllableState, Ci as eventCalendarBlockDefinition, Cl as getRemainingPlaces, Cm as FIELD_CONTROL_CLASS, Co as bookingEntryProgress, Cs as resolveHeldTicketPlaces, Cu as staticHeaderChromeRuntime, Da as mediaImageHostProps, Dc as bookingQuestionsAnswerDraftSchema, Dd as createTransformRegistry, Dg as parseSurfaceTree, Dh as Primitive, Di as buildEventCalendarListingRender, Dl as blockSiteTermsSchema, Dm as FIELD_TEXTAREA_CLASS, Do as panelShouldOpen, Ds as validateFormData, Du as formBlockDefinition, Ea as computeMediaTransformStyle, Ec as applyBookingQuestionsAnswerEvent, Ed as asPartialObject, Ef as arrangementLookHooks, Eg as opaqueSurfaceDeclarations, Eh as composeEventHandlers, Ei as buildEventCalendarListingDisplay, El as selectMostOpenCapacitySource, Em as FIELD_SURFACE_CLASS, Eo as getEventSelectionMode, Es as registrationQuestionsMessage, Eu as formattingTransforms, Ey as parseUuidBrand, F_ as parseGradientPresetId, Fc as toBookingQuestionsAnswerDraft, Fd as RichTextDocSchema, Ff as headerStyleRecipeForTheme, Fg as buttonShadow, Fl as bookingPageKindSchema, Fo as decideEventChoice, Fp as MQ_MD_UP, Fs as confirmationPaymentRows, Fu as listItemPresentation, G_ as authoredValuesEqual, Ga as EVENT_BOOKING_ARRIVAL_QUERY, Gc as formatEventPriceDisplay, Gg as freezeOwnedThemeValue, Gh as bindingSchema, Gi as calendarMonthKey, Gl as FEATURE_CARD_ICON_TREATMENTS, Go as planRegistrationDetailsCheck, Gr as checkoutBlockDefinition, Gs as formatTime$3, Gv as resolveBookingDisplayContext, H_ as resolveAvailableBookingCollectionOptions, Ha as getContainerClass, Hc as resolveMonthSelectedDay, Hd as parseBlockIconValue, Hg as FONT_SIZE_MAP, Hi as eventCollectionDisplaySchemaShape, Hl as toBookingRequirementConsentField, Hm as DialogPortal, Ho as fullyBookedLabel, Hp as isRecord$14, Hr as newsletterBlockSubmissionMessage, Hs as formatEventDateTime, Hu as Grid, Hv as formatTime$2, I_ as siteChromeBackgroundOverrideOwner, Ic as toBookingQuestionsPaymentSnapshot, Ig as buttonStateAppearanceDeclarations, Ih as useComposedRefs, Ii as eventListingBlockDefinition, Il as groupPublicEventsByRun, Io as getDeclinedPass, Ip as MQ_SM_DOWN, Ir as normalizeLocationMapProps, Is as resolveFinishedPresentation, Iu as listLookControl, J_ as CANCELLED_SESSION_STATUS, Ja as buildEventRegistrationInteractiveIslandProps, Jc as buildCalendarViewport, Jd as coerceInlineTextWithFallback, Jf as generateDefaultCardSystem, Jg as safeTokenOr, Ji as calendarWindowBounds, Jn as planArrangementContent, Jo as resolveRegistrationAdmission, Jp as observeEditorAdmission, Jr as productListBlockDefinition, Js as getTicketTypeAvailabilityLabel, Jv as addLocalScheduleDays, K as createSessionJournalBindings, K_ as formatCreditProductBalance, Ka as eventRegistrationBlockDefinition, Kc as formatEventTeacherLine, Kg as ownedThemeSnapshot, Ki as calendarPageResponseError, Ko as planRegistrationDetailsContinuation, Kp as editorAdmissionRefusal, Kr as cartBlockDefinition, Ks as getImplicitSingleTicketType, Kv as formatBookingCompactEnglishTime, Lc as checkBookingQuestionsAnswered, Lg as buttonTypographyDeclarations, Lh as cn$1, Li as buildEventListingInteractiveIslandProps, Lm as Dialog, Lo as isRegistrationLocked, Lp as MQ_SM_UP, Ls as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, Lu as listLookSlot, Lv as unsafeAsEditorBlockId, Ma as resolveMediaNodeResponsiveImage, Mc as isBookingQuestionsAnswerEvent, Mf as componentRuntimeRulesForTheme, Mg as actionVariableFallback, Ml as pageNavigationSchema, Mo as registrationStepLabelContext, Ms as clearWorkflowFeedback, Mu as createZodCodec, Nc as needsBookingQuestionsRefresh, Nf as designRuntimeRulesForTheme, Ng as buttonBorder, Nl as requestSignIn, No as areEventRegistrationPaymentSelectionsEqual, Np as MQ_LG_UP, Nr as getBlockDefinition, Ns as reportWorkflowError, Nu as defineClientOwnedBlockRuntime, O_ as indexRenderableMediaAssets, Oa as renderAudio, Oc as bookingQuestionsPaymentSnapshotSchema, Od as runTransforms, Of as arrangementManifestFromVariants, Og as prepareSurfaceIndex, Ol as verifiedSiteTermsAcceptanceSchema, Om as NATIVE_CHOICE_CLASS, Oo as registrationPaymentRoute, Os as assertNever$2, Ou as buildFormInteractiveIslandProps, P_ as surfaceCardRoleValues, Pa as resolvePublicMediaUrl, Pc as restoreBookingQuestionsAnswers, Pg as buttonRadius, Pl as closedRunCopy, Po as createInitialRegistrationFlowState, Pp as MQ_MD_DOWN, Ps as reportWorkflowSuccess, Pu as defineProgressiveBlockRuntime, Q_ as resolveWholeSeriesBookingPhase, Qa as previewStageSchema, Qc as formatDate$1, Qf as generateNavLinkCSS, Qg as certifyPaint, Qi as resolveCalendarReadProfile, Qo as visitorHoldsOwnPlace, Qp as calendarMonthDate, Qr as buildProductDetailInteractiveIslandProps, Qs as withOccurrenceTitle, Qv as parseBookingLocalDate, R_ as asDesignBlockId, Rc as getInitialFieldValue, Rd as sanitizeHref, Rf as requireCuratedSiteStyle, Rg as materializeRuntimeButtonAppearance, Ri as eventListingBlockRuntime, Rl as blockBookingPaymentTermsSchema, Rm as DialogClose, Ro as registrationFlowReducer, Rp as MQ_TABLET_ONLY, Rs as areEntitlementsDisabledForTicketCount, Ru as lookListPresentationSchemaShape, Sa as RichText, Sc as signInReturnPath, Sd as lookCarouselRegionTransform, Sf as mergeHeaderNavTypographyPreference, Sg as rgbColorValue, Sh as createCollection, Si as offeringsCatalogueShape, Sl as getEventAvailabilityStatus, So as bookingEntry, Ss as parseCurrencyInputToCents, Su as layoutTransforms, Sy as unsafeAsPositiveSeconds, T_ as runtimeMediaSchema, Ta as MediaPlaceholder, Tc as NO_BOOKING_QUESTIONS, Td as lookSkinSlotTransform, Tg as opaqueSurfaceContextFromTheme, Th as createContextScope, Ti as buildEventCalendarInteractiveIslandProps, Tl as selectEventCapacitySource, To as courseTitleOf, Ts as withRegistrationAvailability, Tu as uiTransforms, Tv as EDITOR_SESSION_GENERATION_HEADER, U_ as getBookingLaterInstalments, Ua as resolveEventSelection, Uc as formatEventPrice, Ud as resolveBlockIconRenderValue, Uf as getGradientPreset, Ug as generateShadowValue$1, Ui as eventCollectionHydrationSchema, Ul as beforeBookingQuestionsPresentationSchema, Um as DialogTitle, Uo as getTicketSelectionPurpose, Up as EDITOR_LOADING_NOTICE, Ur as giftingBlockDefinition, Us as formatPassCreditUsageLabel, Uu as BACKGROUND_POSITION_PRESET_VALUES, Uv as formatTimeZoneCityLabel, V_ as normalizeCurrencyCode, Va as getCardOrientation, Vc as buildMonthDay, Vf as gradientToCss, Vg as DEFAULT_BUTTON_SIZES, Vi as buildEventCollectionListingDisplay, Vl as isBookingRequirementConsentFieldId, Vo as shouldPromptForLogin, Vp as isObjectRecord, Vr as buildNewsletterFormInteractiveIslandProps, Vs as formatDate$3, Vv as formatDateTimeRange, W_ as journalReplayValue, Wa as publicPassProductCollectionSchema, Wc as formatEventPriceAmount, Wg as mapButtonVisualAppearances, Wh as unmanagedSurfaceEditability, Wi as eventCollectionSourceSchemaShape, Wm as DialogTrigger, Wo as placeCountCeiling, Wr as buildGiftingInteractiveIslandProps, Ws as formatRegistrationSchedule, Wt as ApiRequestError, Wu as getAnchorClasses, Wv as inferSiteDateLocale, X_ as nextLiveRunSessionStartMs, Xa as resolveEventRegistrationEventSource, Xc as eventDateOptions, Xf as generateFooterCss, Xg as solveSurfaceInks, Xi as calendarWindowPageSchema, Xl as shouldReserveFeatureCardIconZone, Xo as resolveRegistrationTicketContinuation, Xp as API_ENDPOINTS, Xr as buildCartInteractiveIslandProps, Xs as occurrenceTitleOverride, Xv as getBookingLocalDateKey, Y as SessionJournalProvider, Y_ as firstLiveRunSessionStartMs, Ya as displayButtonText, Yc as eventCalendarWeekStart, Yd as deriveInlineTextFieldChanges, Yg as surfaceInkPublication, Yi as calendarWindowMonths$1, Yl as resolveFeatureCardGeneratedIconSizePx, Yo as resolveRegistrationAvailabilityBlocker, Yr as shopBlockDefinition, Ys as getVisibleTicketTypes, Yv as formatLocalScheduleDate, Z_ as orderedLiveRunSessions, Za as bookingNowSchema, Zc as formatCalendarTitle, Zf as buildTextContrastShadow, Zg as HOVER_TEXT_THRESHOLD, Zi as planCalendarMonthRanges, Zo as settledRemainingPlaces, Zp as BEFORE_BOOKING_QUESTIONS_ROUTE, Zr as buildCheckoutInteractiveIslandProps, Zs as transformRegistrationOptionsResponse, Zv as getLocalScheduleDate, _ as applyBindingsToContent, _a as EventItem, _c as clearSignInReturnDrafts, _d as resolveBackgroundColorValue, _f as applyCompiledRuntimeFieldsToContent, _g as surfaceInkDeclarations, _i as productItemKey, _l as canJoinEventWaitlist, _m as usePrevious, _n as renderSourceFor, _o as resolveOfferingsPreviewGroups, _p as offeringsPreviewCompositionTreatmentValues, _s as getEligibilityFlowFlags, _u as readRuntimeNow, _y as unsafeAsAppointmentResourceId, a_ as expandPalette, aa as toEventPaginationLoadError, ac as getTicketTypeLineMax, ag as generateInteractiveChildInheritanceCSS, ah as Item$1, ai as buildProductDetailDisplay, al as formatTime$1, as as paymentChoiceDetails, ay as formatBookingPriceDisplay, ba as MapPinIcon, bc as nextSignInReturnExpiry, bd as el, bf as restoreCompiledRuntimeFieldsFromContent, bg as cssVarValue, bl as formatTotalCapacity, bo as bookingBarPlacement, bs as getSlidingScaleSelectionMessage, bu as headerRuntimeTransforms, bv as publishedContactDetails, c as usePreviewShownTheme, c_ as oklabToOklch, ca as getEventRuntimeFiltersKey, cc as setTicketLineQuantity, cd as boxStylesTransforms, cg as formatButtonColourContractError, ch as Presence, ci as formatValidity, cl as resolveEventCardBooking, co as buildOfferingsPreviewListing, cp as transitionCatalogueEntries, cr as EVENT_REGISTRATION_ANCHOR_ID, cs as resolveDiscountContext, cu as siteTopChromeMeasurementTargets$1, cv as parseMailingListVisitorSelection, cy as publicEventPricingDisplay, d_ as rgbToHex, da as normalizeOptionalId, dc as toWholeSeriesRegistrationEvents, dd as resolveCardRoleForBoxStyles, df as effectiveHeaderNavLinkStyle, dg as SURFACE_INK_CSS_VARS, di as passCardListContent, dl as resolveRuntimeEventDestination, dm as Select, dr as deriveEventScheduleSummary, ds as resolveRouteRequiresPayment, dt as JournalWriteRefused, du as markEditableSurfaceForwarding, dv as sameMailingListPlacementTargeting, dy as resolveExactOrFreePriceDisplay, e_ as inkReference, ea as eventPageOperationQuery, ec as formatPrice, ef as isInlineTextEmpty, ei as buildShopInteractiveIslandProps, el as formatEventCompactDateRail, em as pageCommitReasonMessage, eo as resolveEventCalendarReadPlan, ep as headerNeedsPhotoShade, es as normalizeEventRegistrationMaxTickets, eu as siteHeaderManifest, ey as resolveBookingBusinessTimeZone, f_ as srgbToOklab, fa as catalogueEventCardProps, fc as EVENT_SIGN_IN_FORM_ID, fd as parseBackgroundContent, ff as readOpeningToneProjection, fg as surfaceForegroundDeclarations, fi as EMPTY_COMMERCE_CART_STATE, fl as bookingPresentation, fm as SelectContent, fo as normalizeOfferingsPreviewItemLimit, fr as derivePreviewRunSchedule, fs as toRegistrationRequestSubject, ft as journalFailureReason, fu as splitPositioningClasses, fy as resolvePricingOptionsPriceDisplay, g_ as boxBackgroundSchema, ga as CardListItems, gc as toEventSignInDraft, gd as resolveSurfaceForegroundStyles, gg as surfaceForegroundValueWithOpacity, gh as useId$1, gi as parseStoredCommerceCartState, gl as shownVenue, gn as remoteDraftValues, gp as introCompositionTreatmentValues, gs as getCurrentTicketSelection, gu as teamMemberCardBiography, gv as knownSocialPlatformLabels, gy as assertNever$1, h as composePreviewTheme, h_ as customCssRuleSchema, ha as CardListCollection, hc as eventSignInRestoration, hd as resolveSectionSurfaceForeground, hg as surfaceForegroundValue, hh as useSize, hi as deriveCommerceCheckoutState, hl as placesLeftLabel, hm as SelectValue, ho as resolveOfferingsPreviewGroupCta, hp as featureCardCompositionTreatmentValues, hs as invitationSubmission, hu as teamMemberBiography, hy as formatCurrencyAmount, i_ as TokenResolver, ia as planEventPageOperation, ic as getTicketSelectionTotal, ig as generateEffectsCSS, ii as buildProductCardDisplay, il as formatEventTimeRange, im as unwrapResponse, ir as getAtPath, is as buildReviewedBookingPaymentViewModel, iy as toUtcIsoDateTimeString, jc as deriveBookingQuestions, jg as compositeHex, jh as useControlReadiness, jl as leavePage, jo as registrationStepLabel, js as okWith, ju as defineInteractiveIslandMetaKeys, ka as renderVideo, kc as bookingQuestionsRefusal, kg as resolveSurface, kh as Button, kl as PAGE_NAVIGATION, ko as registrationPresentation, ks as err, ku as buildInteractiveIslandProps, l_ as oklabToSrgb, la as normalizeCsvIds, lc as getRegistrationStartAt, ld as boxStyleClassNames, lf as selectItemSurfacePresentation, lg as DEFAULT_SURFACE_TEXT_COLOR, li as membershipCardListContent, ll as resolveEventCta, lp as resolveCompiledSectionContextFromContent, lr as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, ls as resolveEventRequiresPayment, lt as getEditorClientId, ly as publicEventPricingStrategy, m_ as blockCustomCssRuleSchema, ma as EmptyState, mc as eventSignInEnds, md as parseRuntimeBackgroundContent, mg as surfaceForegroundStyle, mi as buildProductCartItem, ml as getBlockApiReadStage, mm as SelectTrigger, mr as EventListingFrameView, ms as createRegistrationDraftData, mu as parseTeamMemberSpecialties, my as toNonNegativeCents, n_ as resolveOpaqueSurfaceHex, na as getEventIdentity, nc as getSingleSelectedPricingOptionId, ni as shopProductPresentation, nl as formatEventHourLabel, nm as ApiEnvelopeError, no as resolveEventRegistrationScopedEvents, np as boundaryRuntimeMetricsForDecorativeTransition, ns as calculateEventRegistrationPreviewTotal, nv as parseMailingListRuntimeContext, ny as toBookingTimeZone, o_ as contrastRatio, oa as toError, oc as hasValidPricingOptionSelection, od as isBlockButtonRole, og as compileButtonColourStates, oh as Root$1, oi as formatCommercePrice, ol as groupEventsByDate, or as withValueAtPath, os as paymentChoicePrice, ou as measureSiteTopChromeBottomPx, oy as isPublicEventPricingOptionDisplayable, pa as listingEventCardProps, pc as eventSignInDraftStore, pd as parseBackgroundOverlay, pg as surfaceForegroundInputFromResolved, pi as buildPassCartItem, pl as browserReadAuthoritySchema, pm as SelectItem, po as offeringsListingFor, pr as MonthLookView, ps as beginWaitlistInvitation, pt as sendPageCommand, pu as contentTransforms, py as parsePositiveCents, q_ as formatCreditProductUnits, qa as buildEventRegistrationDisplayFromScopedEvents, qc as formatEventDuration, qf as resolveCardRole, qg as resolveSurfaceForeground, qi as calendarQueryKey, qo as resolveGuestNextStepCheck, qp as editorAdmissionSession, qr as productDetailBlockDefinition, qs as getPortalSubjectEmail, qv as toScheduledBookingDateTime, ra as getEventPaginationView, rc as getTicketLineQuantity, rf as parseInlineTextFromUnknown, ri as buildCartDisplay, rl as formatEventNextDateFact, rm as extractApiEnvelopeErrorDetails, ro as offeringNounForEvent, rr as lookPartShown, rs as buildBookingPaymentSelectionViewModel, rv as resolveBookingSignupOffer, ry as parseUtcIsoDateTimeString, s as usePreviewPageDesignRenderState, s_ as hexToRgb, sa as buildEventRuntimeFilters, sc as normalizeTicketSelectionLines, sg as BUTTON_CONTRAST_POLICY, sh as createRovingFocusGroupScope, si as formatInterval, sl as resolveEventTimeZone, so as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, sp as anglePolygonCss, sr as EventHeader, ss as findPreSelectedEvent, sv as parseMailingListPlacementTargeting, sy as publicEventPricingCurrency, t_ as resolveConcreteColorHex, ta as eventPaginationLoadReducer, tc as canRequestTicketOption, ti as getShopDisplayForItems, tl as formatEventDateParts, tm as pageCommitReasonTag, tn as useOptionalEditorUiStoreInstance, to as normalizeEventRegistrationPageSurfaceSubject, tp as headerRootPaint, ts as resolveEventRegistrationSubmitPlan, tu as SITE_CHROME_VISIBLE_HEADER_SELECTOR, ty as resolveBookingTimeZoneId, u as useSiteChromeCustomizeOptional, u_ as oklchToHexGamut, ua as normalizeCsvString, uc as toRegistrationEvents, ud as normalizeBoxStylesBorder, uf as heroPhotoPaintsGround, ug as SURFACE_FOREGROUND_CSS_VARS, ui as membershipClassesLabel, ul as resolveEventLinkProps, um as trustedJournalState, ur as eventCardListContent, us as resolveRegistrationTarget, ut as createSessionJournal, uu as composeHeaderSectionWrapperClassName, uy as publicEventPricingType, va as eventCategoryBadge, vc as createSignInReturnDraftStore, vf as compileEditorModelRuntime, vg as surfaceInkStyle, vi as reduceCommerceCart, vl as canJoinEventWaitlistOnAnyMode, vo as resolveOfferingsRenderInput, vp as testimonialsCompositionTreatmentValues, vs as getRegistrationOccurrenceId, vu as resolveDateRuntimeContext, vy as unsafeAsAppointmentServiceId, wa as ImagePresets, wc as EMPTY_BOOKING_QUESTIONS_ANSWERS, wd as lookQuoteLimitTransform, wg as textColorValue, wh as useLayoutEffect2, wl as isEventFull, wm as FIELD_FOCUS_CLASS, wo as bookingPanelHeading, ws as shouldLoadRegistrationOptions, wy as unsafeAsSiteId, xa as MediaNodeServer, xc as readSignInReturn, xd as when, xf as skinTokenCssVars, xg as mergeStyles, xh as useDirection, xi as buildOfferingsCatalogueListing, xl as getEventAvailability, xo as bookingCardEntry, xp as PUBLIC_DOWNLOAD_MEDIA_TYPES, xs as getTicketSelectionRemainingPlaces, xu as chromeLogoTransforms, xy as unsafeAsPositiveByteCount, ya as CalendarIcon, yc as decideSignInReturn, yg as backgroundColorStyle, yl as formatEventRemainingPlaces, yn as resolveRenderedValues, yo as DEFAULT_BOOKING_BUTTON_TEXT, ys as getSlidingScaleForEvent, yu as mediaTransforms, zc as buildEventListWeek, zd as buildGeneratedBlockIconRenderAssetLookupFromUnknown, zf as compiledRuntimeStyleFieldNames, zg as paddingDeclarations, zi as buildEventCollectionDisplay, zl as blockBookingConsentSchema, zm as DialogContent, zo as buildEventRegistrationPaymentOptionsViewModel, zr as newsletterSignupBlockDefinition, zs as findSelectedTicketType, zu as resolvedItemSurfaceProps, zv as formatDate$2 } from "./previewAssistantSlot-CuOcsG_N.mjs";
3
- import { A as MapPin, At as locationDistanceMetres, Bt as parseLocationValue, Ct as ArrowDown, Dt as decideLocationRelationship, E as Mountain, Et as confirmLocationPair, Ft as formatLocationAddress, It as locationAddressSchema, Jt as ok$1, Kt as mapDrawingSchema, Lt as locationPinSchema, Mt as sameMeaningfulAddress, O as Minus, Ot as decideLocationSave, Pt as decideLocationSourcePermission, T as Move, Tt as LOCATION_MATCH_THRESHOLDS_METRES, W as House, _ as Route, b as Plus, c as Trash2, ct as CirclePlus, d as Sparkles, h as Search, ht as ChevronDown, jt as sameLocationSpatialPair, kt as editLocationValue, lt as CircleMinus, mt as ChevronLeft, n as X, nt as Crosshair, pt as ChevronRight, qt as err$1, r as WifiOff, s as TriangleAlert, st as Circle, u as Store, ut as CircleCheck, v as RotateCcw, vt as Building2, x as Pencil, z as Info, zt as normalizeLocationAddressText } from "./lucide-react-DygTyy7K.mjs";
2
+ import { $ as pageEvidenceEvents, $_ as sameMailingListPlacementTargeting, $a as eventCalendarListGroupingDecision, $c as formatEventClockLabel, $d as inlineTextToPlainText, $f as formatSiteChromeBackgroundTokenLabel, $g as rgbToHex, $h as SURFACE_INK_CSS_VARS, $i as createInitialEventPaginationLoadState, $l as siteFooterManifest, $m as Arrow, $o as isEventRegistrationAvailable, $r as buildProductListInteractiveIslandProps, $s as formatCentsAsCurrencyInput, $v as resolveExactOrFreePriceDisplay, A_ as resolveAvailableBookingCollectionOptions, Ac as decideBookingQuestionsRestoration, Ad as parseStoredVariant, Af as arrangementManifestFromVariants, Ag as FONT_SIZE_MAP, Al as canonicalUrl, Am as DialogPortal, Ao as registrationRoute, As as ok, Au as createInteractiveIslandCodec, Av as formatTime$2, B_ as resolveWholeSeriesBookingPhase, Ba as EventQuickFacts, Bc as eventListWeekDays, Bf as requireCuratedSiteStyle, Bg as certifyPaint, Bi as buildEventCollectionHydration, Bo as decideEventRegistrationPayment, Br as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, Bs as formatBookingWhen, Bu as itemRole, Bv as parseBookingLocalDate, C_ as parseGradientPresetId, Cc as sweepExpiredSignInReturnDrafts, Cd as lookLeadSlotTransform, Cf as readHeaderNavFontSizePreference, Cg as buttonShadow, Ci as eventCalendarBlockDefinition, Cl as getRemainingPlaces, Co as bookingEntryProgress, Cs as resolveHeldTicketPlaces, Cu as staticHeaderChromeRuntime, Da as mediaImageHostProps, Dc as bookingQuestionsAnswerDraftSchema, Dd as createTransformRegistry, Dg as paddingDeclarations, Di as buildEventCalendarListingRender, Dl as blockSiteTermsSchema, Dm as DialogContent, Do as panelShouldOpen, Ds as validateFormData, Du as formBlockDefinition, Dv as formatDate$2, E_ as asDesignBlockId, Ea as computeMediaTransformStyle, Ec as applyBookingQuestionsAnswerEvent, Ed as asPartialObject, Eg as materializeRuntimeButtonAppearance, Ei as buildEventCalendarListingDisplay, El as selectMostOpenCapacitySource, Em as DialogClose, Eo as getEventSelectionMode, Es as registrationQuestionsMessage, Eu as formattingTransforms, F_ as formatCreditProductUnits, Fc as toBookingQuestionsAnswerDraft, Fd as RichTextDocSchema, Ff as designRuntimeRulesForTheme, Fg as resolveSurfaceForeground, Fl as bookingPageKindSchema, Fo as decideEventChoice, Fp as MQ_MD_UP, Fs as confirmationPaymentRows, Fu as listItemPresentation, Fv as toScheduledBookingDateTime, G_ as resolveBookingSignupOffer, Ga as EVENT_BOOKING_ARRIVAL_QUERY, Gc as formatEventPriceDisplay, Gf as getGradientPreset, Gi as calendarMonthKey, Gl as FEATURE_CARD_ICON_TREATMENTS, Go as planRegistrationDetailsCheck, Gr as checkoutBlockDefinition, Gs as formatTime$3, Gv as parseUtcIsoDateTimeString, Ha as getContainerClass, Hc as resolveMonthSelectedDay, Hd as parseBlockIconValue, Hf as surfaceResolutionContextFromTheme, Hg as inkReference, Hi as eventCollectionDisplaySchemaShape, Hl as toBookingRequirementConsentField, Ho as fullyBookedLabel, Hp as isRecord$14, Hr as newsletterBlockSubmissionMessage, Hs as formatEventDateTime, Hu as Grid, Hv as resolveBookingBusinessTimeZone, I_ as CANCELLED_SESSION_STATUS, Ic as toBookingQuestionsPaymentSnapshot, Ig as safeTokenOr, Ii as eventListingBlockDefinition, Il as groupPublicEventsByRun, Im as usePortalContainer, Io as getDeclinedPass, Ip as MQ_SM_DOWN, Ir as normalizeLocationMapProps, Is as resolveFinishedPresentation, Iu as listLookControl, Iv as addLocalScheduleDays, Ja as buildEventRegistrationInteractiveIslandProps, Jc as buildCalendarViewport, Jd as coerceInlineTextWithFallback, Jf as generateDefaultCardSystem, Jg as contrastRatio, Jh as compileButtonColourStates, Ji as calendarWindowBounds, Jm as Root$1, Jn as planArrangementContent, Jo as resolveRegistrationAdmission, Jp as observeEditorAdmission, Jr as productListBlockDefinition, Js as getTicketTypeAvailabilityLabel, Jv as isPublicEventPricingOptionDisplayable, K as createSessionJournalBindings, Ka as eventRegistrationBlockDefinition, Kc as formatEventTeacherLine, Kg as TokenResolver, Kh as generateEffectsCSS, Ki as calendarPageResponseError, Km as hideOthers, Ko as planRegistrationDetailsContinuation, Kp as editorAdmissionRefusal, Kr as cartBlockDefinition, Ks as getImplicitSingleTicketType, Kv as toUtcIsoDateTimeString, L_ as firstLiveRunSessionStartMs, Lc as checkBookingQuestionsAnswered, Lf as headerStyleRecipeForTheme, Lg as surfaceInkPublication, Li as buildEventListingInteractiveIslandProps, Lm as ReactRemoveScroll, Lo as isRegistrationLocked, Lp as MQ_SM_UP, Ls as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, Lu as listLookSlot, Lv as formatLocalScheduleDate, M_ as journalReplayValue, Ma as resolveMediaNodeResponsiveImage, Mc as isBookingQuestionsAnswerEvent, Mf as resolveEffectiveArrangement, Mg as mapButtonVisualAppearances, Mh as unmanagedSurfaceEditability, Ml as pageNavigationSchema, Mm as DialogTrigger, Mo as registrationStepLabelContext, Ms as clearWorkflowFeedback, Mu as createZodCodec, Mv as inferSiteDateLocale, N_ as authoredValuesEqual, Nc as needsBookingQuestionsRefresh, Ng as freezeOwnedThemeValue, Nh as bindingSchema, Nl as requestSignIn, Nm as menuItemInteractionClassName, No as areEventRegistrationPaymentSelectionsEqual, Np as MQ_LG_UP, Nr as getBlockDefinition, Ns as reportWorkflowError, Nu as defineClientOwnedBlockRuntime, Nv as resolveBookingDisplayContext, Oa as renderAudio, Oc as bookingQuestionsPaymentSnapshotSchema, Od as runTransforms, Of as arrangementLookHooks, Og as BORDER_WIDTH_MAP, Ol as verifiedSiteTermsAcceptanceSchema, Oo as registrationPaymentRoute, Os as assertNever$2, Ou as buildFormInteractiveIslandProps, P_ as formatCreditProductBalance, Pa as resolvePublicMediaUrl, Pc as restoreBookingQuestionsAnswers, Pf as componentRuntimeRulesForTheme, Pg as ownedThemeSnapshot, Pl as closedRunCopy, Po as createInitialRegistrationFlowState, Pp as MQ_MD_DOWN, Ps as reportWorkflowSuccess, Pu as defineProgressiveBlockRuntime, Pv as formatBookingCompactEnglishTime, Qa as previewStageSchema, Qc as formatDate$1, Qf as generateNavLinkCSS, Qg as oklchToHexGamut, Qh as SURFACE_FOREGROUND_CSS_VARS, Qi as resolveCalendarReadProfile, Qm as Anchor, Qo as visitorHoldsOwnPlace, Qp as calendarMonthDate, Qr as buildProductDetailInteractiveIslandProps, Qs as withOccurrenceTitle, Qv as publicEventPricingType, R_ as nextLiveRunSessionStartMs, Rc as getInitialFieldValue, Rd as sanitizeHref, Rg as solveSurfaceInks, Ri as eventListingBlockRuntime, Rl as blockBookingPaymentTermsSchema, Ro as registrationFlowReducer, Rp as MQ_TABLET_ONLY, Rs as areEntitlementsDisabledForTicketCount, Ru as lookListPresentationSchemaShape, Rv as getBookingLocalDateKey, S_ as surfaceCardRoleValues, Sa as RichText, Sc as signInReturnPath, Sd as lookCarouselRegionTransform, Sf as mergeHeaderNavTypographyPreference, Sg as buttonRadius, Si as offeringsCatalogueShape, Sl as getEventAvailabilityStatus, So as bookingEntry, Ss as parseCurrencyInputToCents, Su as layoutTransforms, Ta as MediaPlaceholder, Tc as NO_BOOKING_QUESTIONS, Td as lookSkinSlotTransform, Tg as buttonTypographyDeclarations, Th as cn$1, Ti as buildEventCalendarInteractiveIslandProps, Tl as selectEventCapacitySource, Tm as Dialog, To as courseTitleOf, Ts as withRegistrationAvailability, Tu as uiTransforms, Tv as unsafeAsEditorBlockId, Ua as resolveEventSelection, Uc as formatEventPrice, Ud as resolveBlockIconRenderValue, Uf as gradientToCss, Ug as resolveConcreteColorHex, Ui as eventCollectionHydrationSchema, Ul as beforeBookingQuestionsPresentationSchema, Uo as getTicketSelectionPurpose, Up as EDITOR_LOADING_NOTICE, Ur as giftingBlockDefinition, Us as formatPassCreditUsageLabel, Uu as BACKGROUND_POSITION_PRESET_VALUES, Uv as resolveBookingTimeZoneId, V_ as generateUuidV4, Va as getCardOrientation, Vc as buildMonthDay, Vf as compiledRuntimeStyleFieldNames, Vg as contrastThresholdByPolicy, Vi as buildEventCollectionListingDisplay, Vl as isBookingRequirementConsentFieldId, Vo as shouldPromptForLogin, Vp as isObjectRecord, Vr as buildNewsletterFormInteractiveIslandProps, Vs as formatDate$3, Vv as parseLocalScheduleTime, W_ as parseMailingListRuntimeContext, Wa as publicPassProductCollectionSchema, Wc as formatEventPriceAmount, Wg as resolveOpaqueSurfaceHex, Wi as eventCollectionSourceSchemaShape, Wo as placeCountCeiling, Wr as buildGiftingInteractiveIslandProps, Ws as formatRegistrationSchedule, Wt as ApiRequestError, Wu as getAnchorClasses, Wv as toBookingTimeZone, X_ as parseMailingListVisitorSelection, Xa as resolveEventRegistrationEventSource, Xc as eventDateOptions, Xf as generateFooterCss, Xg as oklabToOklch, Xh as formatButtonColourContractError, Xi as calendarWindowPageSchema, Xl as shouldReserveFeatureCardIconZone, Xm as Presence, Xo as resolveRegistrationTicketContinuation, Xp as API_ENDPOINTS, Xr as buildCartInteractiveIslandProps, Xs as occurrenceTitleOverride, Xv as publicEventPricingDisplay, Y as SessionJournalProvider, Y_ as parseMailingListPlacementTargeting, Ya as displayButtonText, Yc as eventCalendarWeekStart, Yd as deriveInlineTextFieldChanges, Yg as hexToRgb, Yh as BUTTON_CONTRAST_POLICY, Yi as calendarWindowMonths$1, Yl as resolveFeatureCardGeneratedIconSizePx, Ym as createRovingFocusGroupScope, Yo as resolveRegistrationAvailabilityBlocker, Yr as shopBlockDefinition, Ys as getVisibleTicketTypes, Yv as publicEventPricingCurrency, Za as bookingNowSchema, Zc as formatCalendarTitle, Zf as buildTextContrastShadow, Zg as oklabToSrgb, Zh as DEFAULT_SURFACE_TEXT_COLOR, Zi as planCalendarMonthRanges, Zm as Portal, Zo as settledRemainingPlaces, Zp as BEFORE_BOOKING_QUESTIONS_ROUTE, Zr as buildCheckoutInteractiveIslandProps, Zs as transformRegistrationOptionsResponse, Zv as publicEventPricingStrategy, _ as applyBindingsToContent, _a as EventItem, _c as clearSignInReturnDrafts, _d as resolveBackgroundColorValue, _f as applyCompiledRuntimeFieldsToContent, _g as resolveSurface, _h as Button, _i as productItemKey, _l as canJoinEventWaitlist, _n as renderSourceFor, _o as resolveOfferingsPreviewGroups, _p as offeringsPreviewCompositionTreatmentValues, _s as getEligibilityFlowFlags, _u as readRuntimeNow, aa as toEventPaginationLoadError, ac as getTicketTypeLineMax, ag as surfaceInkDeclarations, ah as FocusScope, ai as buildProductDetailDisplay, al as formatTime$1, as as paymentChoiceDetails, ay as unsafeAsAppointmentResourceId, ba as MapPinIcon, bc as nextSignInReturnExpiry, bd as el, bf as restoreCompiledRuntimeFieldsFromContent, bg as actionVariableFallback, bl as formatTotalCapacity, bo as bookingBarPlacement, bs as getSlidingScaleSelectionMessage, bu as headerRuntimeTransforms, c as usePreviewShownTheme, ca as getEventRuntimeFiltersKey, cc as setTicketLineQuantity, cd as boxStylesTransforms, cg as cssVarValue, ch as useCallbackRef, ci as formatValidity, cl as resolveEventCardBooking, co as buildOfferingsPreviewListing, cp as transitionCatalogueEntries, cr as EVENT_REGISTRATION_ANCHOR_ID, cs as resolveDiscountContext, cu as siteTopChromeMeasurementTargets$1, cv as publishedContactDetails, da as normalizeOptionalId, dc as toWholeSeriesRegistrationEvents, dd as resolveCardRoleForBoxStyles, df as effectiveHeaderNavLinkStyle, dg as textColorStyle, dh as useControllableState, di as passCardListContent, dl as resolveRuntimeEventDestination, dr as deriveEventScheduleSummary, ds as resolveRouteRequiresPayment, dt as JournalWriteRefused, du as markEditableSurfaceForwarding, e_ as srgbToOklab, ea as eventPageOperationQuery, ec as formatPrice, ef as isInlineTextEmpty, eg as surfaceForegroundDeclarations, eh as Content$2, ei as buildShopInteractiveIslandProps, el as formatEventCompactDateRail, em as pageCommitReasonMessage, eo as resolveEventCalendarReadPlan, ep as headerNeedsPhotoShade, es as normalizeEventRegistrationMaxTickets, eu as siteHeaderManifest, ey as resolvePricingOptionsPriceDisplay, fa as catalogueEventCardProps, fc as EVENT_SIGN_IN_FORM_ID, fd as parseBackgroundContent, ff as readOpeningToneProjection, fg as textColorValue, fh as useLayoutEffect2, fi as EMPTY_COMMERCE_CART_STATE, fl as bookingPresentation, fm as VISUALLY_HIDDEN_STYLES, fo as normalizeOfferingsPreviewItemLimit, fr as derivePreviewRunSchedule, fs as toRegistrationRequestSubject, ft as journalFailureReason, fu as splitPositioningClasses, fy as unsafeAsSiteId, g_ as indexRenderableMediaAssets, ga as CardListItems, gc as toEventSignInDraft, gd as resolveSurfaceForegroundStyles, gg as prepareSurfaceIndex, gi as parseStoredCommerceCartState, gl as shownVenue, gn as remoteDraftValues, gp as introCompositionTreatmentValues, gs as getCurrentTicketSelection, gu as teamMemberCardBiography, h as composePreviewTheme, ha as CardListCollection, hc as eventSignInRestoration, hd as resolveSectionSurfaceForeground, hg as parseSurfaceTree, hh as Primitive, hi as deriveCommerceCheckoutState, hl as placesLeftLabel, ho as resolveOfferingsPreviewGroupCta, hp as featureCardCompositionTreatmentValues, hs as invitationSubmission, hu as teamMemberBiography, i_ as boxBackgroundSchema, ia as planEventPageOperation, ic as getTicketSelectionTotal, ig as surfaceForegroundValueWithOpacity, ih as useId$1, ii as buildProductCardDisplay, il as formatEventTimeRange, im as unwrapResponse, ir as getAtPath, is as buildReviewedBookingPaymentViewModel, iv as knownSocialPlatformLabels, iy as assertNever$1, j_ as getBookingLaterInstalments, jc as deriveBookingQuestions, jg as generateShadowValue$1, jl as leavePage, jm as DialogTitle, jo as registrationStepLabel, js as okWith, ju as defineInteractiveIslandMetaKeys, jv as formatTimeZoneCityLabel, k_ as normalizeCurrencyCode, ka as renderVideo, kc as bookingQuestionsRefusal, kg as DEFAULT_BUTTON_SIZES, kl as PAGE_NAVIGATION, ko as registrationPresentation, ks as err, ku as buildInteractiveIslandProps, kv as formatDateTimeRange, la as normalizeCsvIds, lc as getRegistrationStartAt, ld as boxStyleClassNames, lf as selectItemSurfacePresentation, lg as mergeStyles, lh as useDirection, li as membershipCardListContent, ll as resolveEventCta, lp as resolveCompiledSectionContextFromContent, lr as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, ls as resolveEventRequiresPayment, lt as getEditorClientId, ly as unsafeAsPositiveByteCount, ma as EmptyState, mc as eventSignInEnds, md as parseRuntimeBackgroundContent, mg as opaqueSurfaceDeclarations, mh as composeEventHandlers, mi as buildProductCartItem, ml as getBlockApiReadStage, mr as EventListingFrameView, ms as createRegistrationDraftData, mu as parseTeamMemberSpecialties, my as parseUuidBrand, n_ as blockCustomCssRuleSchema, na as getEventIdentity, nc as getSingleSelectedPricingOptionId, ng as surfaceForegroundStyle, nh as createPopperScope, ni as shopProductPresentation, nl as formatEventHourLabel, nm as ApiEnvelopeError, no as resolveEventRegistrationScopedEvents, np as boundaryRuntimeMetricsForDecorativeTransition, ns as calculateEventRegistrationPreviewTotal, ny as toNonNegativeCents, oa as toError, oc as hasValidPricingOptionSelection, od as isBlockButtonRole, og as surfaceInkStyle, oh as useFocusGuards, oi as formatCommercePrice, ol as groupEventsByDate, or as withValueAtPath, os as paymentChoicePrice, ou as measureSiteTopChromeBottomPx, oy as unsafeAsAppointmentServiceId, p_ as runtimeMediaSchema, pa as listingEventCardProps, pc as eventSignInDraftStore, pd as parseBackgroundOverlay, pg as opaqueSurfaceContextFromTheme, ph as createContextScope, pi as buildPassCartItem, pl as browserReadAuthoritySchema, po as offeringsListingFor, pr as MonthLookView, ps as beginWaitlistInvitation, pt as sendPageCommand, pu as contentTransforms, pv as EDITOR_SESSION_GENERATION_HEADER, qa as buildEventRegistrationDisplayFromScopedEvents, qc as formatEventDuration, qf as resolveCardRole, qg as expandPalette, qh as generateInteractiveChildInheritanceCSS, qi as calendarQueryKey, qm as Item$1, qo as resolveGuestNextStepCheck, qp as editorAdmissionSession, qr as productDetailBlockDefinition, qs as getPortalSubjectEmail, qv as formatBookingPriceDisplay, r_ as customCssRuleSchema, ra as getEventPaginationView, rc as getTicketLineQuantity, rf as parseInlineTextFromUnknown, rg as surfaceForegroundValue, rh as useSize, ri as buildCartDisplay, rl as formatEventNextDateFact, rm as extractApiEnvelopeErrorDetails, ro as offeringNounForEvent, rr as lookPartShown, rs as buildBookingPaymentSelectionViewModel, ry as formatCurrencyAmount, s as usePreviewPageDesignRenderState, sa as buildEventRuntimeFilters, sc as normalizeTicketSelectionLines, sg as backgroundColorStyle, sh as DismissableLayer, si as formatInterval, sl as resolveEventTimeZone, so as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, sp as anglePolygonCss, sr as EventHeader, ss as findPreSelectedEvent, ta as eventPaginationLoadReducer, tc as canRequestTicketOption, tg as surfaceForegroundInputFromResolved, th as Root2$2, ti as getShopDisplayForItems, tl as formatEventDateParts, tm as pageCommitReasonTag, tn as useOptionalEditorUiStoreInstance, to as normalizeEventRegistrationPageSurfaceSubject, tp as headerRootPaint, ts as resolveEventRegistrationSubmitPlan, tu as SITE_CHROME_VISIBLE_HEADER_SELECTOR, ty as parsePositiveCents, u as useSiteChromeCustomizeOptional, ua as normalizeCsvString, uc as toRegistrationEvents, ud as normalizeBoxStylesBorder, uf as heroPhotoPaintsGround, ug as rgbColorValue, uh as createCollection, ui as membershipClassesLabel, ul as resolveEventLinkProps, um as trustedJournalState, ur as eventCardListContent, us as resolveRegistrationTarget, ut as createSessionJournal, uu as composeHeaderSectionWrapperClassName, uy as unsafeAsPositiveSeconds, va as eventCategoryBadge, vc as createSignInReturnDraftStore, vf as compileEditorModelRuntime, vg as serializeSurfaceTree, vi as reduceCommerceCart, vl as canJoinEventWaitlistOnAnyMode, vo as resolveOfferingsRenderInput, vp as testimonialsCompositionTreatmentValues, vs as getRegistrationOccurrenceId, vu as resolveDateRuntimeContext, w_ as siteChromeBackgroundOverrideOwner, wa as ImagePresets, wc as EMPTY_BOOKING_QUESTIONS_ANSWERS, wd as lookQuoteLimitTransform, wg as buttonStateAppearanceDeclarations, wh as useComposedRefs, wl as isEventFull, wo as bookingPanelHeading, ws as shouldLoadRegistrationOptions, xa as MediaNodeServer, xc as readSignInReturn, xd as when, xf as skinTokenCssVars, xg as buttonBorder, xh as createSlot, xi as buildOfferingsCatalogueListing, xl as getEventAvailability, xo as bookingCardEntry, xp as PUBLIC_DOWNLOAD_MEDIA_TYPES, xs as getTicketSelectionRemainingPlaces, xu as chromeLogoTransforms, ya as CalendarIcon, yc as decideSignInReturn, yg as compositeHex, yh as useControlReadiness, yl as formatEventRemainingPlaces, yn as resolveRenderedValues, yo as DEFAULT_BOOKING_BUTTON_TEXT, ys as getSlidingScaleForEvent, yu as mediaTransforms, z_ as orderedLiveRunSessions, zc as buildEventListWeek, zd as buildGeneratedBlockIconRenderAssetLookupFromUnknown, zg as HOVER_TEXT_THRESHOLD, zi as buildEventCollectionDisplay, zl as blockBookingConsentSchema, zo as buildEventRegistrationPaymentOptionsViewModel, zr as newsletterSignupBlockDefinition, zs as findSelectedTicketType, zu as resolvedItemSurfaceProps, zv as getLocalScheduleDate } from "./previewAssistantSlot-3FZrzbK8.mjs";
3
+ import { $ as Crosshair, C as Move, Ct as confirmLocationPair, D as MapPin, Dt as locationDistanceMetres, Et as editLocationValue, Gt as ok$1, I as Info, It as normalizeLocationAddressText, Lt as parseLocationValue, Mt as formatLocationAddress, Nt as locationAddressSchema, Ot as sameLocationSpatialPair, Pt as locationPinSchema, St as LOCATION_MATCH_THRESHOLDS_METRES, T as Minus, Tt as decideLocationSave, Ut as mapDrawingSchema, V as House, Wt as err$1, at as CirclePlus, bt as ArrowDown, c as Trash2, dt as ChevronLeft, ft as ChevronDown, g as RotateCcw, h as Route, ht as Building2, it as Circle, jt as decideLocationSourcePermission, kt as sameMeaningfulAddress, l as Store, lt as ChevronUp, n as X, ot as CircleMinus, p as Search, pt as Check, r as WifiOff, s as TriangleAlert, st as CircleCheck, u as Sparkles, ut as ChevronRight, v as Plus, w as Mountain, wt as decideLocationRelationship, y as Pencil } from "./lucide-react-X0DjcFij.mjs";
4
4
  import { A as buttonSizeNameSchema, C as MinusIcon, D as AFFORDANCE_SUPPRESS_CLASS, E as themeButtonSelector, M as unsafeAsOpaqueButtonColourToken, O as DEFAULT_VARIANT_ALIAS_ID, S as FileTextIcon, T as parseThemeButtonVariantId, X as parseThemeColorToken, Y as parseColorTokenParts, _ as ClockIcon$1, a as ThemedDownloadLink, b as FileAudioIcon, g as CirclePlusIcon, h as CircleMinusIcon, j as createStandardButtonSurfacePolicy, m as ChevronDownIcon, n as ThemedButton, nt as SpinnerNode, o as getIconComponent, p as ArrowDownIcon, r as ThemedButtonLink, rt as clsx, t as ThemedAuthoredButton, w as PlusIcon, x as FileSpreadsheetIcon, y as FileArchiveIcon } from "./ThemedButton-CKYjeU_M.mjs";
5
5
  import { a as buildTimetableModel$1, b as shiftCalendarAnchorDate, f as formatDateKey, g as getWeekCalendarDayTuple, h as getOrderedDayNames, l as addMonths, p as getDayOfWeek, v as isSameCalendarDay, y as isToday } from "./src-DzXUmsyK.mjs";
6
- import { a as NO_EDIT_MAP_OVERLAY, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, r as useLocationPickerWidgetContext, t as LocationDashboardLink } from "./LocationPickerEnvironment-lW2aLGWd.mjs";
6
+ import { a as NO_EDIT_MAP_OVERLAY, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, r as useLocationPickerWidgetContext, t as LocationDashboardLink } from "./LocationPickerEnvironment-OwAxA2C0.mjs";
7
7
  import * as React$1 from "react";
8
8
  import React, { Suspense, cloneElement, createContext, createElement, forwardRef, isValidElement, lazy, startTransition, useCallback, useContext, useEffect, useEffectEvent, useId, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore, useTransition } from "react";
9
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
10
10
  import { z } from "zod";
11
+ import * as ReactDOM$1 from "react-dom";
11
12
  import ReactDOM, { createPortal } from "react-dom";
12
13
  import deepEqual from "fast-deep-equal";
13
14
  import { IslandDelivery } from "#island-delivery";
@@ -683,7 +684,7 @@ const defaultSections = (legacy, options) => {
683
684
  id: unsafeAsFooterModuleId("legal-navigation"),
684
685
  kind: "legal-navigation",
685
686
  heading: null,
686
- selected: false,
687
+ selected: footerVisible,
687
688
  source: {
688
689
  kind: "menu-role",
689
690
  role: "legal-policy"
@@ -2291,10 +2292,10 @@ var Collapsible = React$1.forwardRef((props, forwardedRef) => {
2291
2292
  });
2292
2293
  });
2293
2294
  Collapsible.displayName = COLLAPSIBLE_NAME;
2294
- var TRIGGER_NAME$3 = "CollapsibleTrigger";
2295
+ var TRIGGER_NAME$4 = "CollapsibleTrigger";
2295
2296
  var CollapsibleTrigger = React$1.forwardRef((props, forwardedRef) => {
2296
2297
  const { __scopeCollapsible, ...triggerProps } = props;
2297
- const context = useCollapsibleContext(TRIGGER_NAME$3, __scopeCollapsible);
2298
+ const context = useCollapsibleContext(TRIGGER_NAME$4, __scopeCollapsible);
2298
2299
  return /* @__PURE__ */ jsx(Primitive.button, {
2299
2300
  type: "button",
2300
2301
  "aria-controls": context.open ? context.contentId : void 0,
@@ -2307,11 +2308,11 @@ var CollapsibleTrigger = React$1.forwardRef((props, forwardedRef) => {
2307
2308
  onClick: composeEventHandlers(props.onClick, context.onOpenToggle)
2308
2309
  });
2309
2310
  });
2310
- CollapsibleTrigger.displayName = TRIGGER_NAME$3;
2311
- var CONTENT_NAME$2 = "CollapsibleContent";
2311
+ CollapsibleTrigger.displayName = TRIGGER_NAME$4;
2312
+ var CONTENT_NAME$3 = "CollapsibleContent";
2312
2313
  var CollapsibleContent = React$1.forwardRef((props, forwardedRef) => {
2313
2314
  const { forceMount, ...contentProps } = props;
2314
- const context = useCollapsibleContext(CONTENT_NAME$2, props.__scopeCollapsible);
2315
+ const context = useCollapsibleContext(CONTENT_NAME$3, props.__scopeCollapsible);
2315
2316
  return /* @__PURE__ */ jsx(Presence, {
2316
2317
  present: forceMount || context.open,
2317
2318
  children: ({ present }) => /* @__PURE__ */ jsx(CollapsibleContentImpl, {
@@ -2321,10 +2322,10 @@ var CollapsibleContent = React$1.forwardRef((props, forwardedRef) => {
2321
2322
  })
2322
2323
  });
2323
2324
  });
2324
- CollapsibleContent.displayName = CONTENT_NAME$2;
2325
+ CollapsibleContent.displayName = CONTENT_NAME$3;
2325
2326
  var CollapsibleContentImpl = React$1.forwardRef((props, forwardedRef) => {
2326
2327
  const { __scopeCollapsible, present, children, ...contentProps } = props;
2327
- const context = useCollapsibleContext(CONTENT_NAME$2, __scopeCollapsible);
2328
+ const context = useCollapsibleContext(CONTENT_NAME$3, __scopeCollapsible);
2328
2329
  const [isPresent, setIsPresent] = React$1.useState(present);
2329
2330
  const ref = React$1.useRef(null);
2330
2331
  const composedRefs = useComposedRefs(forwardedRef, ref);
@@ -2430,10 +2431,10 @@ var TabsList$1 = React$1.forwardRef((props, forwardedRef) => {
2430
2431
  });
2431
2432
  });
2432
2433
  TabsList$1.displayName = TAB_LIST_NAME;
2433
- var TRIGGER_NAME$2 = "TabsTrigger";
2434
+ var TRIGGER_NAME$3 = "TabsTrigger";
2434
2435
  var TabsTrigger$1 = React$1.forwardRef((props, forwardedRef) => {
2435
2436
  const { __scopeTabs, value, disabled = false, ...triggerProps } = props;
2436
- const context = useTabsContext(TRIGGER_NAME$2, __scopeTabs);
2437
+ const context = useTabsContext(TRIGGER_NAME$3, __scopeTabs);
2437
2438
  const rovingFocusGroupScope = useRovingFocusGroupScope$1(__scopeTabs);
2438
2439
  const triggerId = makeTriggerId(context.baseId, value);
2439
2440
  const contentId = makeContentId(context.baseId, value);
@@ -2468,11 +2469,11 @@ var TabsTrigger$1 = React$1.forwardRef((props, forwardedRef) => {
2468
2469
  })
2469
2470
  });
2470
2471
  });
2471
- TabsTrigger$1.displayName = TRIGGER_NAME$2;
2472
- var CONTENT_NAME$1 = "TabsContent";
2472
+ TabsTrigger$1.displayName = TRIGGER_NAME$3;
2473
+ var CONTENT_NAME$2 = "TabsContent";
2473
2474
  var TabsContent$1 = React$1.forwardRef((props, forwardedRef) => {
2474
2475
  const { __scopeTabs, value, forceMount, children, ...contentProps } = props;
2475
- const context = useTabsContext(CONTENT_NAME$1, __scopeTabs);
2476
+ const context = useTabsContext(CONTENT_NAME$2, __scopeTabs);
2476
2477
  const triggerId = makeTriggerId(context.baseId, value);
2477
2478
  const contentId = makeContentId(context.baseId, value);
2478
2479
  const isSelected = value === context.value;
@@ -2501,7 +2502,7 @@ var TabsContent$1 = React$1.forwardRef((props, forwardedRef) => {
2501
2502
  })
2502
2503
  });
2503
2504
  });
2504
- TabsContent$1.displayName = CONTENT_NAME$1;
2505
+ TabsContent$1.displayName = CONTENT_NAME$2;
2505
2506
  function makeTriggerId(baseId, value) {
2506
2507
  return `${baseId}-trigger-${value}`;
2507
2508
  }
@@ -2513,17 +2514,40 @@ var List = TabsList$1;
2513
2514
  var Trigger = TabsTrigger$1;
2514
2515
  var Content = TabsContent$1;
2515
2516
  //#endregion
2517
+ //#region ../ui/src/tab-underline.ts
2518
+ /**
2519
+ * The one underline tab style, shared by Tabs and NavigationTabs: a hairline
2520
+ * under the row of tabs, and a 2px green line on the open tab that sits over
2521
+ * the hairline. The hairline is an inset shadow on the list rather than a
2522
+ * border, so the open tab's own border paints over it without negative
2523
+ * margins, which a scrolling tab strip would clip. A caller that wants no
2524
+ * hairline passes `shadow-none`.
2525
+ */
2526
+ /** The hairline under the row of tabs. */
2527
+ const TAB_HAIRLINE_CLASS = "shadow-[inset_0_-1px_0_var(--border)]";
2528
+ /** The space between tabs. */
2529
+ const TAB_GAP_CLASS = "gap-5";
2530
+ /** One tab. The open one is marked by `aria-selected`, which Radix Tabs and NavigationTabs both set. */
2531
+ const TAB_TRIGGER_CLASS = [
2532
+ "inline-flex shrink-0 cursor-pointer items-center justify-center gap-2 whitespace-nowrap",
2533
+ "border-b-2 border-transparent px-1 pt-1 pb-2 text-sm font-medium text-muted-foreground transition-colors",
2534
+ "hover:border-muted-foreground/30 hover:text-foreground",
2535
+ "aria-selected:border-primary aria-selected:text-foreground",
2536
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring",
2537
+ "disabled:pointer-events-none disabled:opacity-50"
2538
+ ].join(" ");
2539
+ //#endregion
2516
2540
  //#region ../ui/src/tabs.tsx
2517
2541
  const Tabs = Root2$1;
2518
2542
  const TabsList = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(List, {
2519
2543
  ref,
2520
- className: cn$1("inline-flex w-fit max-w-full items-center justify-start rounded-[var(--item-radius)] bg-transparent p-1 text-muted-foreground [&>[role=tab]:not(:last-child)]:mr-3", className),
2544
+ className: cn$1("inline-flex w-fit max-w-full items-end justify-start text-muted-foreground", TAB_GAP_CLASS, TAB_HAIRLINE_CLASS, className),
2521
2545
  ...props
2522
2546
  }));
2523
2547
  TabsList.displayName = List.displayName;
2524
2548
  const TabsTrigger = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Trigger, {
2525
2549
  ref,
2526
- className: cn$1("inline-flex h-9 cursor-pointer items-center justify-center whitespace-nowrap rounded-[var(--item-radius)] px-4 py-2 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-button-outline-hover data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-[var(--tab-active-glow-shadow)]", className),
2550
+ className: cn$1(TAB_TRIGGER_CLASS, className),
2527
2551
  ...props
2528
2552
  }));
2529
2553
  TabsTrigger.displayName = Trigger.displayName;
@@ -2534,15 +2558,87 @@ const TabsContent = React$1.forwardRef(({ className, ...props }, ref) => /* @__P
2534
2558
  }));
2535
2559
  TabsContent.displayName = Content.displayName;
2536
2560
  //#endregion
2561
+ //#region ../ui/src/field-description.tsx
2562
+ const FieldDescriptionContext = React$1.createContext(null);
2563
+ function FieldDescriptionProvider({ value, children }) {
2564
+ return /* @__PURE__ */ jsx(FieldDescriptionContext.Provider, {
2565
+ value,
2566
+ children
2567
+ });
2568
+ }
2569
+ /** Joins id lists for `aria-describedby`, dropping blanks and repeats. */
2570
+ function joinDescribedBy(...lists) {
2571
+ const ids = lists.flatMap((list) => list ? list.split(/\s+/u).filter(Boolean) : []);
2572
+ return [...new Set(ids)].join(" ") || void 0;
2573
+ }
2574
+ /**
2575
+ * A control's `aria-describedby`: its own ids, plus the surrounding field's
2576
+ * when the control is the one that field labels (the ids match). A control
2577
+ * nested deeper in the field, with a different id, keeps only its own.
2578
+ */
2579
+ function useFieldDescribedBy(id, own) {
2580
+ const field = React$1.useContext(FieldDescriptionContext);
2581
+ if (!field || id === void 0 || id !== field.controlId) return own;
2582
+ return joinDescribedBy(field.describedBy, own);
2583
+ }
2584
+ //#endregion
2585
+ //#region ../ui/src/fieldControl.ts
2586
+ /**
2587
+ * The one field shape, as class strings, so Input, Textarea, SelectTrigger
2588
+ * and the date picker's trigger cannot drift apart. The sizes come from the
2589
+ * `--field-*` tokens in styles/editor-base.css (compact by default, roomy
2590
+ * under `data-field-size="roomy"`); the colours come from the surface's
2591
+ * palette.
2592
+ *
2593
+ * The focus glow and the placeholder are mixed from palette tokens here,
2594
+ * rather than in derived tokens on `:root`, so they follow a surface that
2595
+ * retunes its colours on an inner element.
2596
+ */
2597
+ /** Keyboard focus on a field-like control: the focus border and a soft glow in its colour, no outline. */
2598
+ const FIELD_FOCUS_CLASS = "focus-visible:outline-none focus-visible:border-field-border-focus focus-visible:shadow-[0_0_0_4px_color-mix(in_srgb,var(--field-border-strong)_18%,transparent)]";
2599
+ /** The same focus for a wrapper that draws the border around an inner input (a composite field). */
2600
+ const FIELD_FOCUS_WITHIN_CLASS = "focus-within:border-field-border-focus focus-within:shadow-[0_0_0_4px_color-mix(in_srgb,var(--field-border-strong)_18%,transparent)]";
2601
+ /**
2602
+ * A native checkbox or radio, for the few places the shared Checkbox and
2603
+ * RadioGroup can't go (native `required`, a radio group split across
2604
+ * sections, packages/ui itself).
2605
+ */
2606
+ const NATIVE_CHOICE_CLASS = "size-[1.125rem] shrink-0 cursor-pointer accent-[var(--primary)]";
2607
+ /**
2608
+ * The unchecked border of a checkbox or radio. The field border is too faint
2609
+ * for a small box on a cream page, so it's mixed from the muted text colour.
2610
+ */
2611
+ const CHOICE_BORDER_CLASS = "border-[color:color-mix(in_srgb,var(--muted-foreground)_55%,var(--field-background))]";
2612
+ /**
2613
+ * Border, fill, radius, type, focus glow and the invalid state. No height or
2614
+ * padding. What's typed or chosen in a field is regular weight; the semibold
2615
+ * `--control-font-weight` is for buttons.
2616
+ */
2617
+ const FIELD_SURFACE_CLASS = [
2618
+ "rounded-[var(--field-radius)] border border-input bg-field-background",
2619
+ "text-[length:var(--field-font-size)] font-normal tracking-[var(--control-letter-spacing)]",
2620
+ "placeholder:text-[color:color-mix(in_srgb,var(--muted-foreground)_78%,var(--field-background))]",
2621
+ "transition-[color,border-color,box-shadow] outline-none",
2622
+ FIELD_FOCUS_CLASS,
2623
+ "aria-invalid:border-destructive aria-invalid:focus-visible:shadow-[0_0_0_4px_color-mix(in_srgb,var(--destructive)_16%,transparent)]",
2624
+ "disabled:cursor-not-allowed disabled:opacity-50"
2625
+ ].join(" ");
2626
+ /** A single-line control: the surface at the field height. */
2627
+ const FIELD_CONTROL_CLASS = `${FIELD_SURFACE_CLASS} h-[var(--field-height)] px-[var(--field-padding-x)]`;
2628
+ /** A multi-line control: the surface with room to grow. */
2629
+ const FIELD_TEXTAREA_CLASS = `${FIELD_SURFACE_CLASS} min-h-[var(--field-textarea-min-height)] px-[var(--field-padding-x)] py-[calc(var(--field-padding-x)*0.8)] leading-[1.45]`;
2630
+ //#endregion
2537
2631
  //#region ../ui/src/input.tsx
2538
- const Input = React$1.forwardRef(({ className, type, disabled, ...props }, ref) => {
2632
+ const Input = React$1.forwardRef(({ className, type, disabled, "aria-describedby": ariaDescribedBy, ...props }, ref) => {
2539
2633
  const readiness = useControlReadiness(disabled);
2634
+ const describedBy = useFieldDescribedBy(props.id, ariaDescribedBy);
2540
2635
  return /* @__PURE__ */ jsx("input", {
2541
2636
  ref,
2542
2637
  type,
2543
2638
  "data-slot": "input",
2544
2639
  className: cn$1(FIELD_CONTROL_CLASS, "file:text-foreground selection:bg-primary selection:text-primary-foreground flex w-full min-w-0 py-1 file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none", className),
2545
2640
  ...props,
2641
+ "aria-describedby": describedBy,
2546
2642
  ...readiness
2547
2643
  });
2548
2644
  });
@@ -2569,6 +2665,45 @@ const NativeSelect = React$1.forwardRef(({ className, containerClassName, disabl
2569
2665
  });
2570
2666
  NativeSelect.displayName = "NativeSelect";
2571
2667
  //#endregion
2668
+ //#region ../ui/src/field-trigger.tsx
2669
+ /**
2670
+ * A field that opens a list or calendar: the shared field surface (see
2671
+ * fieldControl.ts), laid out as a button with a value and an icon, so a
2672
+ * picker reads as a field beside the inputs around it rather than as a
2673
+ * button. `SelectTrigger` and `FieldTrigger` both build on it.
2674
+ */
2675
+ const fieldTriggerClassName = [
2676
+ FIELD_SURFACE_CLASS,
2677
+ "flex items-center justify-between gap-2 px-[var(--field-padding-x)] py-2 text-left whitespace-nowrap cursor-pointer",
2678
+ "hover:border-field-border-focus disabled:hover:border-input",
2679
+ "[&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"
2680
+ ].join(" ");
2681
+ /**
2682
+ * The button that opens a popover picker (a combobox, a multi-select, a date
2683
+ * picker), styled as a field. Spreads the props and ref a Radix trigger passes
2684
+ * through `asChild`.
2685
+ */
2686
+ const FieldTrigger = forwardRef(function FieldTrigger({ children, isPlaceholder = false, leading, trailing = /* @__PURE__ */ jsx(ChevronDown, { className: "size-4 opacity-50" }), active = false, size = "default", className, type = "button", "aria-describedby": ariaDescribedBy, ...props }, ref) {
2687
+ const describedBy = useFieldDescribedBy(props.id, ariaDescribedBy);
2688
+ return /* @__PURE__ */ jsxs("button", {
2689
+ ...props,
2690
+ "aria-describedby": describedBy,
2691
+ ref,
2692
+ type,
2693
+ "data-slot": "field-trigger",
2694
+ "data-size": size,
2695
+ "data-placeholder": isPlaceholder ? "" : void 0,
2696
+ className: cn$1(fieldTriggerClassName, size === "sm" ? "h-[2rem]" : "h-[var(--field-height)]", "w-fit", active ? "border-field-border-focus" : void 0, className),
2697
+ children: [/* @__PURE__ */ jsxs("span", {
2698
+ className: "flex min-w-0 flex-1 items-center gap-2",
2699
+ children: [leading, /* @__PURE__ */ jsx("span", {
2700
+ className: cn$1("truncate", isPlaceholder ? "text-muted-foreground" : void 0),
2701
+ children
2702
+ })]
2703
+ }), trailing]
2704
+ });
2705
+ });
2706
+ //#endregion
2572
2707
  //#region ../ui/src/search-input.tsx
2573
2708
  function SearchInput({ wrapperClassName, iconClassName, rightSlot, rightSlotClassName, className, placeholder = "Search…", "aria-label": ariaLabel, ...props }) {
2574
2709
  return /* @__PURE__ */ jsxs("div", {
@@ -2579,7 +2714,7 @@ function SearchInput({ wrapperClassName, iconClassName, rightSlot, rightSlotClas
2579
2714
  type: "search",
2580
2715
  placeholder,
2581
2716
  "aria-label": ariaLabel ?? placeholder,
2582
- className: cn$1("h-8 pl-9 text-sm", className),
2717
+ className: cn$1("pl-9", className),
2583
2718
  ...props
2584
2719
  }),
2585
2720
  /* @__PURE__ */ jsx(Search, {
@@ -4117,14 +4252,1095 @@ function useEmblaCarousel(options = {}, plugins = []) {
4117
4252
  }
4118
4253
  useEmblaCarousel.globalOptions = void 0;
4119
4254
  //#endregion
4255
+ //#region ../../node_modules/.pnpm/@radix-ui+number@1.1.2/node_modules/@radix-ui/number/dist/index.mjs
4256
+ function clamp(value, [min, max]) {
4257
+ return Math.min(max, Math.max(min, value));
4258
+ }
4259
+ //#endregion
4260
+ //#region ../../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.2_@types+react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.mjs
4261
+ function usePrevious(value) {
4262
+ const ref = React$1.useRef({
4263
+ value,
4264
+ previous: value
4265
+ });
4266
+ return React$1.useMemo(() => {
4267
+ if (ref.current.value !== value) {
4268
+ ref.current.previous = ref.current.value;
4269
+ ref.current.value = value;
4270
+ }
4271
+ return ref.current.previous;
4272
+ }, [value]);
4273
+ }
4274
+ //#endregion
4275
+ //#region ../../node_modules/.pnpm/@radix-ui+react-select@2.3.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@_68ca3d8e6bdaaaf66edd7a9f64ec79a6/node_modules/@radix-ui/react-select/dist/index.mjs
4276
+ var OPEN_KEYS = [
4277
+ " ",
4278
+ "Enter",
4279
+ "ArrowUp",
4280
+ "ArrowDown"
4281
+ ];
4282
+ var SELECTION_KEYS = [" ", "Enter"];
4283
+ var SELECT_NAME = "Select";
4284
+ var [Collection$1, useCollection$1, createCollectionScope$1] = createCollection(SELECT_NAME);
4285
+ var [createSelectContext, createSelectScope] = createContextScope(SELECT_NAME, [createCollectionScope$1, createPopperScope]);
4286
+ var usePopperScope = createPopperScope();
4287
+ var [SelectProviderImpl, useSelectContext] = createSelectContext(SELECT_NAME);
4288
+ var [SelectNativeOptionsProvider, useSelectNativeOptionsContext] = createSelectContext(SELECT_NAME);
4289
+ var PROVIDER_NAME = "SelectProvider";
4290
+ function SelectProvider(props) {
4291
+ const { __scopeSelect, children, open: openProp, defaultOpen, onOpenChange, value: valueProp, defaultValue, onValueChange, dir, name, autoComplete, disabled, required, form, internal_do_not_use_render } = props;
4292
+ const popperScope = usePopperScope(__scopeSelect);
4293
+ const [trigger, setTrigger] = React$1.useState(null);
4294
+ const [valueNode, setValueNode] = React$1.useState(null);
4295
+ const [valueNodeHasChildren, setValueNodeHasChildren] = React$1.useState(false);
4296
+ const direction = useDirection(dir);
4297
+ const [open, setOpen] = useControllableState({
4298
+ prop: openProp,
4299
+ defaultProp: defaultOpen ?? false,
4300
+ onChange: onOpenChange,
4301
+ caller: SELECT_NAME
4302
+ });
4303
+ const [value, setValue] = useControllableState({
4304
+ prop: valueProp,
4305
+ defaultProp: defaultValue,
4306
+ onChange: onValueChange,
4307
+ caller: SELECT_NAME
4308
+ });
4309
+ const triggerPointerDownPosRef = React$1.useRef(null);
4310
+ const isFormControl = trigger ? !!form || !!trigger.closest("form") : true;
4311
+ const [nativeOptionsSet, setNativeOptionsSet] = React$1.useState(/* @__PURE__ */ new Set());
4312
+ const contentId = useId$1();
4313
+ const nativeSelectKey = Array.from(nativeOptionsSet).map((option) => option.props.value).join(";");
4314
+ const handleNativeOptionAdd = React$1.useCallback((option) => {
4315
+ setNativeOptionsSet((prev) => new Set(prev).add(option));
4316
+ }, []);
4317
+ const handleNativeOptionRemove = React$1.useCallback((option) => {
4318
+ setNativeOptionsSet((prev) => {
4319
+ const optionsSet = new Set(prev);
4320
+ optionsSet.delete(option);
4321
+ return optionsSet;
4322
+ });
4323
+ }, []);
4324
+ const context = {
4325
+ required,
4326
+ trigger,
4327
+ onTriggerChange: setTrigger,
4328
+ valueNode,
4329
+ onValueNodeChange: setValueNode,
4330
+ valueNodeHasChildren,
4331
+ onValueNodeHasChildrenChange: setValueNodeHasChildren,
4332
+ contentId,
4333
+ value,
4334
+ onValueChange: setValue,
4335
+ open,
4336
+ onOpenChange: setOpen,
4337
+ dir: direction,
4338
+ triggerPointerDownPosRef,
4339
+ disabled,
4340
+ name,
4341
+ autoComplete,
4342
+ form,
4343
+ nativeOptions: nativeOptionsSet,
4344
+ nativeSelectKey,
4345
+ isFormControl
4346
+ };
4347
+ return /* @__PURE__ */ jsx(Root2$2, {
4348
+ ...popperScope,
4349
+ children: /* @__PURE__ */ jsx(SelectProviderImpl, {
4350
+ scope: __scopeSelect,
4351
+ ...context,
4352
+ children: /* @__PURE__ */ jsx(Collection$1.Provider, {
4353
+ scope: __scopeSelect,
4354
+ children: /* @__PURE__ */ jsx(SelectNativeOptionsProvider, {
4355
+ scope: __scopeSelect,
4356
+ onNativeOptionAdd: handleNativeOptionAdd,
4357
+ onNativeOptionRemove: handleNativeOptionRemove,
4358
+ children: isFunction$1(internal_do_not_use_render) ? internal_do_not_use_render(context) : children
4359
+ })
4360
+ })
4361
+ })
4362
+ });
4363
+ }
4364
+ SelectProvider.displayName = PROVIDER_NAME;
4365
+ var Select$1 = (props) => {
4366
+ const { __scopeSelect, children, ...providerProps } = props;
4367
+ return /* @__PURE__ */ jsx(SelectProvider, {
4368
+ __scopeSelect,
4369
+ ...providerProps,
4370
+ internal_do_not_use_render: ({ isFormControl }) => /* @__PURE__ */ jsxs(Fragment$1, { children: [children, isFormControl ? /* @__PURE__ */ jsx(SelectBubbleInput, { __scopeSelect }) : null] })
4371
+ });
4372
+ };
4373
+ Select$1.displayName = SELECT_NAME;
4374
+ var TRIGGER_NAME$2 = "SelectTrigger";
4375
+ var SelectTrigger$1 = React$1.forwardRef((props, forwardedRef) => {
4376
+ const { __scopeSelect, disabled = false, ...triggerProps } = props;
4377
+ const popperScope = usePopperScope(__scopeSelect);
4378
+ const context = useSelectContext(TRIGGER_NAME$2, __scopeSelect);
4379
+ const isDisabled = context.disabled || disabled;
4380
+ const composedRefs = useComposedRefs(forwardedRef, context.onTriggerChange);
4381
+ const getItems = useCollection$1(__scopeSelect);
4382
+ const pointerTypeRef = React$1.useRef("touch");
4383
+ const [searchRef, handleTypeaheadSearch, resetTypeahead] = useTypeaheadSearch((search) => {
4384
+ const enabledItems = getItems().filter((item) => !item.disabled);
4385
+ const nextItem = findNextItem(enabledItems, search, enabledItems.find((item) => item.value === context.value));
4386
+ if (nextItem !== void 0) context.onValueChange(nextItem.value);
4387
+ });
4388
+ const handleOpen = (pointerEvent) => {
4389
+ if (!isDisabled) {
4390
+ context.onOpenChange(true);
4391
+ resetTypeahead();
4392
+ }
4393
+ if (pointerEvent) context.triggerPointerDownPosRef.current = {
4394
+ x: Math.round(pointerEvent.pageX),
4395
+ y: Math.round(pointerEvent.pageY)
4396
+ };
4397
+ };
4398
+ return /* @__PURE__ */ jsx(Anchor, {
4399
+ asChild: true,
4400
+ ...popperScope,
4401
+ children: /* @__PURE__ */ jsx(Primitive.button, {
4402
+ type: "button",
4403
+ role: "combobox",
4404
+ "aria-controls": context.open ? context.contentId : void 0,
4405
+ "aria-expanded": context.open,
4406
+ "aria-required": context.required,
4407
+ "aria-autocomplete": "none",
4408
+ dir: context.dir,
4409
+ "data-state": context.open ? "open" : "closed",
4410
+ disabled: isDisabled,
4411
+ "data-disabled": isDisabled ? "" : void 0,
4412
+ "data-placeholder": shouldShowPlaceholder(context.value) ? "" : void 0,
4413
+ ...triggerProps,
4414
+ ref: composedRefs,
4415
+ onClick: composeEventHandlers(triggerProps.onClick, (event) => {
4416
+ event.currentTarget.focus();
4417
+ if (pointerTypeRef.current !== "mouse") handleOpen(event);
4418
+ }),
4419
+ onPointerDown: composeEventHandlers(triggerProps.onPointerDown, (event) => {
4420
+ pointerTypeRef.current = event.pointerType;
4421
+ const target = event.target;
4422
+ if (target.hasPointerCapture(event.pointerId)) target.releasePointerCapture(event.pointerId);
4423
+ if (event.button === 0 && event.ctrlKey === false && event.pointerType === "mouse") {
4424
+ handleOpen(event);
4425
+ event.preventDefault();
4426
+ }
4427
+ }),
4428
+ onKeyDown: composeEventHandlers(triggerProps.onKeyDown, (event) => {
4429
+ const isTypingAhead = searchRef.current !== "";
4430
+ if (!(event.ctrlKey || event.altKey || event.metaKey) && event.key.length === 1) handleTypeaheadSearch(event.key);
4431
+ if (isTypingAhead && event.key === " ") return;
4432
+ if (OPEN_KEYS.includes(event.key)) {
4433
+ handleOpen();
4434
+ event.preventDefault();
4435
+ }
4436
+ })
4437
+ })
4438
+ });
4439
+ });
4440
+ SelectTrigger$1.displayName = TRIGGER_NAME$2;
4441
+ var VALUE_NAME = "SelectValue";
4442
+ var SelectValue$1 = React$1.forwardRef((props, forwardedRef) => {
4443
+ const { __scopeSelect, className, style, children, placeholder = "", ...valueProps } = props;
4444
+ const context = useSelectContext(VALUE_NAME, __scopeSelect);
4445
+ const { onValueNodeHasChildrenChange } = context;
4446
+ const hasChildren = children !== void 0;
4447
+ const composedRefs = useComposedRefs(forwardedRef, context.onValueNodeChange);
4448
+ useLayoutEffect2(() => {
4449
+ onValueNodeHasChildrenChange(hasChildren);
4450
+ }, [onValueNodeHasChildrenChange, hasChildren]);
4451
+ const showPlaceholder = shouldShowPlaceholder(context.value);
4452
+ return /* @__PURE__ */ jsx(Primitive.span, {
4453
+ ...valueProps,
4454
+ asChild: showPlaceholder ? false : valueProps.asChild,
4455
+ ref: composedRefs,
4456
+ style: { pointerEvents: "none" },
4457
+ children: /* @__PURE__ */ jsx(React$1.Fragment, { children: showPlaceholder ? placeholder : children }, showPlaceholder ? "placeholder" : "value")
4458
+ });
4459
+ });
4460
+ SelectValue$1.displayName = VALUE_NAME;
4461
+ var ICON_NAME = "SelectIcon";
4462
+ var SelectIcon = React$1.forwardRef((props, forwardedRef) => {
4463
+ const { __scopeSelect, children, ...iconProps } = props;
4464
+ return /* @__PURE__ */ jsx(Primitive.span, {
4465
+ "aria-hidden": true,
4466
+ ...iconProps,
4467
+ ref: forwardedRef,
4468
+ children: children || "▼"
4469
+ });
4470
+ });
4471
+ SelectIcon.displayName = ICON_NAME;
4472
+ var PORTAL_NAME = "SelectPortal";
4473
+ var [PortalProvider, usePortalContext] = createSelectContext(PORTAL_NAME, { forceMount: void 0 });
4474
+ var SelectPortal = (props) => {
4475
+ const { __scopeSelect, forceMount, ...portalProps } = props;
4476
+ return /* @__PURE__ */ jsx(PortalProvider, {
4477
+ scope: props.__scopeSelect,
4478
+ forceMount,
4479
+ children: /* @__PURE__ */ jsx(Portal, {
4480
+ asChild: true,
4481
+ ...portalProps
4482
+ })
4483
+ });
4484
+ };
4485
+ SelectPortal.displayName = PORTAL_NAME;
4486
+ var CONTENT_NAME$1 = "SelectContent";
4487
+ var SelectContent$1 = React$1.forwardRef((props, forwardedRef) => {
4488
+ const portalContext = usePortalContext(CONTENT_NAME$1, props.__scopeSelect);
4489
+ const { forceMount = portalContext.forceMount, ...contentProps } = props;
4490
+ const context = useSelectContext(CONTENT_NAME$1, props.__scopeSelect);
4491
+ const [fragment, setFragment] = React$1.useState();
4492
+ useLayoutEffect2(() => {
4493
+ setFragment(new DocumentFragment());
4494
+ }, []);
4495
+ return /* @__PURE__ */ jsx(Presence, {
4496
+ present: forceMount || context.open,
4497
+ children: ({ present }) => present ? /* @__PURE__ */ jsx(SelectContentImpl, {
4498
+ ...contentProps,
4499
+ ref: forwardedRef
4500
+ }) : /* @__PURE__ */ jsx(SelectContentFragment, {
4501
+ ...contentProps,
4502
+ fragment
4503
+ })
4504
+ });
4505
+ });
4506
+ SelectContent$1.displayName = CONTENT_NAME$1;
4507
+ var SelectContentFragment = React$1.forwardRef((props, forwardedRef) => {
4508
+ const { __scopeSelect, children, fragment } = props;
4509
+ if (!fragment) return null;
4510
+ return ReactDOM$1.createPortal(/* @__PURE__ */ jsx(SelectContentProvider, {
4511
+ scope: __scopeSelect,
4512
+ children: /* @__PURE__ */ jsx(Collection$1.Slot, {
4513
+ scope: __scopeSelect,
4514
+ children: /* @__PURE__ */ jsx("div", {
4515
+ ref: forwardedRef,
4516
+ children
4517
+ })
4518
+ })
4519
+ }), fragment);
4520
+ });
4521
+ SelectContentFragment.displayName = "SelectContentFragment";
4522
+ var CONTENT_MARGIN = 10;
4523
+ var [SelectContentProvider, useSelectContentContext] = createSelectContext(CONTENT_NAME$1);
4524
+ var CONTENT_IMPL_NAME = "SelectContentImpl";
4525
+ var Slot = createSlot("SelectContent.RemoveScroll");
4526
+ var SelectContentImpl = React$1.forwardRef((props, forwardedRef) => {
4527
+ const { __scopeSelect } = props;
4528
+ const { position = "item-aligned", onCloseAutoFocus, onEscapeKeyDown, onPointerDownOutside, side, sideOffset, align, alignOffset, arrowPadding, collisionBoundary, collisionPadding, sticky, hideWhenDetached, avoidCollisions, ...contentProps } = props;
4529
+ const context = useSelectContext(CONTENT_NAME$1, __scopeSelect);
4530
+ const [content, setContent] = React$1.useState(null);
4531
+ const [viewport, setViewport] = React$1.useState(null);
4532
+ const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));
4533
+ const [selectedItem, setSelectedItem] = React$1.useState(null);
4534
+ const [selectedItemText, setSelectedItemText] = React$1.useState(null);
4535
+ const getItems = useCollection$1(__scopeSelect);
4536
+ const [isPositioned, setIsPositioned] = React$1.useState(false);
4537
+ const firstValidItemFoundRef = React$1.useRef(false);
4538
+ React$1.useEffect(() => {
4539
+ if (content) return hideOthers(content);
4540
+ }, [content]);
4541
+ useFocusGuards();
4542
+ const focusFirst = React$1.useCallback((candidates) => {
4543
+ const [firstItem, ...restItems] = getItems().map((item) => item.ref.current);
4544
+ const [lastItem] = restItems.slice(-1);
4545
+ const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;
4546
+ for (const candidate of candidates) {
4547
+ if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;
4548
+ candidate?.scrollIntoView({ block: "nearest" });
4549
+ if (candidate === firstItem && viewport) viewport.scrollTop = 0;
4550
+ if (candidate === lastItem && viewport) viewport.scrollTop = viewport.scrollHeight;
4551
+ candidate?.focus();
4552
+ if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;
4553
+ }
4554
+ }, [getItems, viewport]);
4555
+ const focusSelectedItem = React$1.useCallback(() => focusFirst([selectedItem, content]), [
4556
+ focusFirst,
4557
+ selectedItem,
4558
+ content
4559
+ ]);
4560
+ React$1.useEffect(() => {
4561
+ if (isPositioned) focusSelectedItem();
4562
+ }, [isPositioned, focusSelectedItem]);
4563
+ const { onOpenChange, triggerPointerDownPosRef } = context;
4564
+ React$1.useEffect(() => {
4565
+ if (content) {
4566
+ let pointerMoveDelta = {
4567
+ x: 0,
4568
+ y: 0
4569
+ };
4570
+ const handlePointerMove = (event) => {
4571
+ pointerMoveDelta = {
4572
+ x: Math.abs(Math.round(event.pageX) - (triggerPointerDownPosRef.current?.x ?? 0)),
4573
+ y: Math.abs(Math.round(event.pageY) - (triggerPointerDownPosRef.current?.y ?? 0))
4574
+ };
4575
+ };
4576
+ const handlePointerUp = (event) => {
4577
+ if (pointerMoveDelta.x <= 10 && pointerMoveDelta.y <= 10) event.preventDefault();
4578
+ else if (!event.composedPath().includes(content)) onOpenChange(false);
4579
+ document.removeEventListener("pointermove", handlePointerMove);
4580
+ triggerPointerDownPosRef.current = null;
4581
+ };
4582
+ if (triggerPointerDownPosRef.current !== null) {
4583
+ document.addEventListener("pointermove", handlePointerMove);
4584
+ document.addEventListener("pointerup", handlePointerUp, {
4585
+ capture: true,
4586
+ once: true
4587
+ });
4588
+ }
4589
+ return () => {
4590
+ document.removeEventListener("pointermove", handlePointerMove);
4591
+ document.removeEventListener("pointerup", handlePointerUp, { capture: true });
4592
+ };
4593
+ }
4594
+ }, [
4595
+ content,
4596
+ onOpenChange,
4597
+ triggerPointerDownPosRef
4598
+ ]);
4599
+ React$1.useEffect(() => {
4600
+ const close = () => onOpenChange(false);
4601
+ window.addEventListener("blur", close);
4602
+ window.addEventListener("resize", close);
4603
+ return () => {
4604
+ window.removeEventListener("blur", close);
4605
+ window.removeEventListener("resize", close);
4606
+ };
4607
+ }, [onOpenChange]);
4608
+ const [searchRef, handleTypeaheadSearch] = useTypeaheadSearch((search) => {
4609
+ const enabledItems = getItems().filter((item) => !item.disabled);
4610
+ const nextItem = findNextItem(enabledItems, search, enabledItems.find((item) => item.ref.current === document.activeElement));
4611
+ if (nextItem) setTimeout(() => nextItem.ref.current?.focus());
4612
+ });
4613
+ const itemRefCallback = React$1.useCallback((node, value, disabled) => {
4614
+ const isFirstValidItem = !firstValidItemFoundRef.current && !disabled;
4615
+ if (context.value !== void 0 && context.value === value || isFirstValidItem) {
4616
+ setSelectedItem(node);
4617
+ if (isFirstValidItem) firstValidItemFoundRef.current = true;
4618
+ }
4619
+ }, [context.value]);
4620
+ const handleItemLeave = React$1.useCallback(() => content?.focus(), [content]);
4621
+ const itemTextRefCallback = React$1.useCallback((node, value, disabled) => {
4622
+ const isFirstValidItem = !firstValidItemFoundRef.current && !disabled;
4623
+ if (context.value !== void 0 && context.value === value || isFirstValidItem) setSelectedItemText(node);
4624
+ }, [context.value]);
4625
+ const SelectPosition = position === "popper" ? SelectPopperPosition : SelectItemAlignedPosition;
4626
+ const popperContentProps = SelectPosition === SelectPopperPosition ? {
4627
+ side,
4628
+ sideOffset,
4629
+ align,
4630
+ alignOffset,
4631
+ arrowPadding,
4632
+ collisionBoundary,
4633
+ collisionPadding,
4634
+ sticky,
4635
+ hideWhenDetached,
4636
+ avoidCollisions
4637
+ } : {};
4638
+ return /* @__PURE__ */ jsx(SelectContentProvider, {
4639
+ scope: __scopeSelect,
4640
+ content,
4641
+ viewport,
4642
+ onViewportChange: setViewport,
4643
+ itemRefCallback,
4644
+ selectedItem,
4645
+ onItemLeave: handleItemLeave,
4646
+ itemTextRefCallback,
4647
+ focusSelectedItem,
4648
+ selectedItemText,
4649
+ position,
4650
+ isPositioned,
4651
+ searchRef,
4652
+ children: /* @__PURE__ */ jsx(ReactRemoveScroll, {
4653
+ as: Slot,
4654
+ allowPinchZoom: true,
4655
+ children: /* @__PURE__ */ jsx(FocusScope, {
4656
+ asChild: true,
4657
+ trapped: context.open,
4658
+ onMountAutoFocus: (event) => {
4659
+ event.preventDefault();
4660
+ },
4661
+ onUnmountAutoFocus: composeEventHandlers(onCloseAutoFocus, (event) => {
4662
+ context.trigger?.focus({ preventScroll: true });
4663
+ event.preventDefault();
4664
+ }),
4665
+ children: /* @__PURE__ */ jsx(DismissableLayer, {
4666
+ asChild: true,
4667
+ disableOutsidePointerEvents: true,
4668
+ onEscapeKeyDown,
4669
+ onPointerDownOutside,
4670
+ onFocusOutside: (event) => event.preventDefault(),
4671
+ onDismiss: () => context.onOpenChange(false),
4672
+ children: /* @__PURE__ */ jsx(SelectPosition, {
4673
+ role: "listbox",
4674
+ id: context.contentId,
4675
+ "data-state": context.open ? "open" : "closed",
4676
+ dir: context.dir,
4677
+ onContextMenu: (event) => event.preventDefault(),
4678
+ ...contentProps,
4679
+ ...popperContentProps,
4680
+ onPlaced: () => setIsPositioned(true),
4681
+ ref: composedRefs,
4682
+ style: {
4683
+ display: "flex",
4684
+ flexDirection: "column",
4685
+ outline: "none",
4686
+ ...contentProps.style
4687
+ },
4688
+ onKeyDown: composeEventHandlers(contentProps.onKeyDown, (event) => {
4689
+ const isModifierKey = event.ctrlKey || event.altKey || event.metaKey;
4690
+ if (event.key === "Tab") event.preventDefault();
4691
+ if (!isModifierKey && event.key.length === 1) handleTypeaheadSearch(event.key);
4692
+ if ([
4693
+ "ArrowUp",
4694
+ "ArrowDown",
4695
+ "Home",
4696
+ "End"
4697
+ ].includes(event.key)) {
4698
+ let candidateNodes = getItems().filter((item) => !item.disabled).map((item) => item.ref.current);
4699
+ if (["ArrowUp", "End"].includes(event.key)) candidateNodes = candidateNodes.slice().reverse();
4700
+ if (["ArrowUp", "ArrowDown"].includes(event.key)) {
4701
+ const currentElement = event.target;
4702
+ const currentIndex = candidateNodes.indexOf(currentElement);
4703
+ candidateNodes = candidateNodes.slice(currentIndex + 1);
4704
+ }
4705
+ setTimeout(() => focusFirst(candidateNodes));
4706
+ event.preventDefault();
4707
+ }
4708
+ })
4709
+ })
4710
+ })
4711
+ })
4712
+ })
4713
+ });
4714
+ });
4715
+ SelectContentImpl.displayName = CONTENT_IMPL_NAME;
4716
+ var ITEM_ALIGNED_POSITION_NAME = "SelectItemAlignedPosition";
4717
+ var SelectItemAlignedPosition = React$1.forwardRef((props, forwardedRef) => {
4718
+ const { __scopeSelect, onPlaced, ...popperProps } = props;
4719
+ const context = useSelectContext(CONTENT_NAME$1, __scopeSelect);
4720
+ const contentContext = useSelectContentContext(CONTENT_NAME$1, __scopeSelect);
4721
+ const [contentWrapper, setContentWrapper] = React$1.useState(null);
4722
+ const [content, setContent] = React$1.useState(null);
4723
+ const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));
4724
+ const getItems = useCollection$1(__scopeSelect);
4725
+ const shouldExpandOnScrollRef = React$1.useRef(false);
4726
+ const shouldRepositionRef = React$1.useRef(true);
4727
+ const { viewport, selectedItem, selectedItemText, focusSelectedItem } = contentContext;
4728
+ const position = React$1.useCallback(() => {
4729
+ if (context.trigger && context.valueNode && contentWrapper && content && viewport && selectedItem && selectedItemText) {
4730
+ const triggerRect = context.trigger.getBoundingClientRect();
4731
+ const contentRect = content.getBoundingClientRect();
4732
+ const valueNodeRect = context.valueNode.getBoundingClientRect();
4733
+ const itemTextRect = selectedItemText.getBoundingClientRect();
4734
+ if (context.dir !== "rtl") {
4735
+ const itemTextOffset = itemTextRect.left - contentRect.left;
4736
+ const left = valueNodeRect.left - itemTextOffset;
4737
+ const leftDelta = triggerRect.left - left;
4738
+ const minContentWidth = triggerRect.width + leftDelta;
4739
+ const contentWidth = Math.max(minContentWidth, contentRect.width);
4740
+ const rightEdge = window.innerWidth - CONTENT_MARGIN;
4741
+ const clampedLeft = clamp(left, [CONTENT_MARGIN, Math.max(CONTENT_MARGIN, rightEdge - contentWidth)]);
4742
+ contentWrapper.style.minWidth = minContentWidth + "px";
4743
+ contentWrapper.style.left = clampedLeft + "px";
4744
+ } else {
4745
+ const itemTextOffset = contentRect.right - itemTextRect.right;
4746
+ const right = window.innerWidth - valueNodeRect.right - itemTextOffset;
4747
+ const rightDelta = window.innerWidth - triggerRect.right - right;
4748
+ const minContentWidth = triggerRect.width + rightDelta;
4749
+ const contentWidth = Math.max(minContentWidth, contentRect.width);
4750
+ const leftEdge = window.innerWidth - CONTENT_MARGIN;
4751
+ const clampedRight = clamp(right, [CONTENT_MARGIN, Math.max(CONTENT_MARGIN, leftEdge - contentWidth)]);
4752
+ contentWrapper.style.minWidth = minContentWidth + "px";
4753
+ contentWrapper.style.right = clampedRight + "px";
4754
+ }
4755
+ const items = getItems();
4756
+ const availableHeight = window.innerHeight - CONTENT_MARGIN * 2;
4757
+ const itemsHeight = viewport.scrollHeight;
4758
+ const contentStyles = window.getComputedStyle(content);
4759
+ const contentBorderTopWidth = parseInt(contentStyles.borderTopWidth, 10);
4760
+ const contentPaddingTop = parseInt(contentStyles.paddingTop, 10);
4761
+ const contentBorderBottomWidth = parseInt(contentStyles.borderBottomWidth, 10);
4762
+ const contentPaddingBottom = parseInt(contentStyles.paddingBottom, 10);
4763
+ const fullContentHeight = contentBorderTopWidth + contentPaddingTop + itemsHeight + contentPaddingBottom + contentBorderBottomWidth;
4764
+ const minContentHeight = Math.min(selectedItem.offsetHeight * 5, fullContentHeight);
4765
+ const viewportStyles = window.getComputedStyle(viewport);
4766
+ const viewportPaddingTop = parseInt(viewportStyles.paddingTop, 10);
4767
+ const viewportPaddingBottom = parseInt(viewportStyles.paddingBottom, 10);
4768
+ const topEdgeToTriggerMiddle = triggerRect.top + triggerRect.height / 2 - CONTENT_MARGIN;
4769
+ const triggerMiddleToBottomEdge = availableHeight - topEdgeToTriggerMiddle;
4770
+ const selectedItemHalfHeight = selectedItem.offsetHeight / 2;
4771
+ const itemOffsetMiddle = selectedItem.offsetTop + selectedItemHalfHeight;
4772
+ const contentTopToItemMiddle = contentBorderTopWidth + contentPaddingTop + itemOffsetMiddle;
4773
+ const itemMiddleToContentBottom = fullContentHeight - contentTopToItemMiddle;
4774
+ if (contentTopToItemMiddle <= topEdgeToTriggerMiddle) {
4775
+ const isLastItem = items.length > 0 && selectedItem === items[items.length - 1].ref.current;
4776
+ contentWrapper.style.bottom = "0px";
4777
+ const viewportOffsetBottom = content.clientHeight - viewport.offsetTop - viewport.offsetHeight;
4778
+ const height = contentTopToItemMiddle + Math.max(triggerMiddleToBottomEdge, selectedItemHalfHeight + (isLastItem ? viewportPaddingBottom : 0) + viewportOffsetBottom + contentBorderBottomWidth);
4779
+ contentWrapper.style.height = height + "px";
4780
+ } else {
4781
+ const isFirstItem = items.length > 0 && selectedItem === items[0].ref.current;
4782
+ contentWrapper.style.top = "0px";
4783
+ const height = Math.max(topEdgeToTriggerMiddle, contentBorderTopWidth + viewport.offsetTop + (isFirstItem ? viewportPaddingTop : 0) + selectedItemHalfHeight) + itemMiddleToContentBottom;
4784
+ contentWrapper.style.height = height + "px";
4785
+ viewport.scrollTop = contentTopToItemMiddle - topEdgeToTriggerMiddle + viewport.offsetTop;
4786
+ }
4787
+ contentWrapper.style.margin = `${CONTENT_MARGIN}px 0`;
4788
+ contentWrapper.style.minHeight = minContentHeight + "px";
4789
+ contentWrapper.style.maxHeight = availableHeight + "px";
4790
+ onPlaced?.();
4791
+ requestAnimationFrame(() => shouldExpandOnScrollRef.current = true);
4792
+ }
4793
+ }, [
4794
+ getItems,
4795
+ context.trigger,
4796
+ context.valueNode,
4797
+ contentWrapper,
4798
+ content,
4799
+ viewport,
4800
+ selectedItem,
4801
+ selectedItemText,
4802
+ context.dir,
4803
+ onPlaced
4804
+ ]);
4805
+ useLayoutEffect2(() => position(), [position]);
4806
+ const [contentZIndex, setContentZIndex] = React$1.useState();
4807
+ useLayoutEffect2(() => {
4808
+ if (content) setContentZIndex(window.getComputedStyle(content).zIndex);
4809
+ }, [content]);
4810
+ return /* @__PURE__ */ jsx(SelectViewportProvider, {
4811
+ scope: __scopeSelect,
4812
+ contentWrapper,
4813
+ shouldExpandOnScrollRef,
4814
+ onScrollButtonChange: React$1.useCallback((node) => {
4815
+ if (node && shouldRepositionRef.current === true) {
4816
+ position();
4817
+ focusSelectedItem?.();
4818
+ shouldRepositionRef.current = false;
4819
+ }
4820
+ }, [position, focusSelectedItem]),
4821
+ children: /* @__PURE__ */ jsx("div", {
4822
+ ref: setContentWrapper,
4823
+ style: {
4824
+ display: "flex",
4825
+ flexDirection: "column",
4826
+ position: "fixed",
4827
+ zIndex: contentZIndex
4828
+ },
4829
+ children: /* @__PURE__ */ jsx(Primitive.div, {
4830
+ ...popperProps,
4831
+ ref: composedRefs,
4832
+ style: {
4833
+ boxSizing: "border-box",
4834
+ maxHeight: "100%",
4835
+ ...popperProps.style
4836
+ }
4837
+ })
4838
+ })
4839
+ });
4840
+ });
4841
+ SelectItemAlignedPosition.displayName = ITEM_ALIGNED_POSITION_NAME;
4842
+ var POPPER_POSITION_NAME = "SelectPopperPosition";
4843
+ var SelectPopperPosition = React$1.forwardRef((props, forwardedRef) => {
4844
+ const { __scopeSelect, align = "start", collisionPadding = CONTENT_MARGIN, ...popperProps } = props;
4845
+ return /* @__PURE__ */ jsx(Content$2, {
4846
+ ...usePopperScope(__scopeSelect),
4847
+ ...popperProps,
4848
+ ref: forwardedRef,
4849
+ align,
4850
+ collisionPadding,
4851
+ style: {
4852
+ boxSizing: "border-box",
4853
+ ...popperProps.style,
4854
+ "--radix-select-content-transform-origin": "var(--radix-popper-transform-origin)",
4855
+ "--radix-select-content-available-width": "var(--radix-popper-available-width)",
4856
+ "--radix-select-content-available-height": "var(--radix-popper-available-height)",
4857
+ "--radix-select-trigger-width": "var(--radix-popper-anchor-width)",
4858
+ "--radix-select-trigger-height": "var(--radix-popper-anchor-height)"
4859
+ }
4860
+ });
4861
+ });
4862
+ SelectPopperPosition.displayName = POPPER_POSITION_NAME;
4863
+ var [SelectViewportProvider, useSelectViewportContext] = createSelectContext(CONTENT_NAME$1, {});
4864
+ var VIEWPORT_NAME = "SelectViewport";
4865
+ var SelectViewport = React$1.forwardRef((props, forwardedRef) => {
4866
+ const { __scopeSelect, nonce, ...viewportProps } = props;
4867
+ const contentContext = useSelectContentContext(VIEWPORT_NAME, __scopeSelect);
4868
+ const viewportContext = useSelectViewportContext(VIEWPORT_NAME, __scopeSelect);
4869
+ const composedRefs = useComposedRefs(forwardedRef, contentContext.onViewportChange);
4870
+ const prevScrollTopRef = React$1.useRef(0);
4871
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("style", {
4872
+ dangerouslySetInnerHTML: { __html: `[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}` },
4873
+ nonce
4874
+ }), /* @__PURE__ */ jsx(Collection$1.Slot, {
4875
+ scope: __scopeSelect,
4876
+ children: /* @__PURE__ */ jsx(Primitive.div, {
4877
+ "data-radix-select-viewport": "",
4878
+ role: "presentation",
4879
+ ...viewportProps,
4880
+ ref: composedRefs,
4881
+ style: {
4882
+ position: "relative",
4883
+ flex: 1,
4884
+ overflow: "hidden auto",
4885
+ ...viewportProps.style
4886
+ },
4887
+ onScroll: composeEventHandlers(viewportProps.onScroll, (event) => {
4888
+ const viewport = event.currentTarget;
4889
+ const { contentWrapper, shouldExpandOnScrollRef } = viewportContext;
4890
+ if (shouldExpandOnScrollRef?.current && contentWrapper) {
4891
+ const scrolledBy = Math.abs(prevScrollTopRef.current - viewport.scrollTop);
4892
+ if (scrolledBy > 0) {
4893
+ const availableHeight = window.innerHeight - CONTENT_MARGIN * 2;
4894
+ const cssMinHeight = parseFloat(contentWrapper.style.minHeight);
4895
+ const cssHeight = parseFloat(contentWrapper.style.height);
4896
+ const prevHeight = Math.max(cssMinHeight, cssHeight);
4897
+ if (prevHeight < availableHeight) {
4898
+ const nextHeight = prevHeight + scrolledBy;
4899
+ const clampedNextHeight = Math.min(availableHeight, nextHeight);
4900
+ const heightDiff = nextHeight - clampedNextHeight;
4901
+ contentWrapper.style.height = clampedNextHeight + "px";
4902
+ if (contentWrapper.style.bottom === "0px") {
4903
+ viewport.scrollTop = heightDiff > 0 ? heightDiff : 0;
4904
+ contentWrapper.style.justifyContent = "flex-end";
4905
+ }
4906
+ }
4907
+ }
4908
+ }
4909
+ prevScrollTopRef.current = viewport.scrollTop;
4910
+ })
4911
+ })
4912
+ })] });
4913
+ });
4914
+ SelectViewport.displayName = VIEWPORT_NAME;
4915
+ var GROUP_NAME = "SelectGroup";
4916
+ var [SelectGroupContextProvider, useSelectGroupContext] = createSelectContext(GROUP_NAME);
4917
+ var SelectGroup = React$1.forwardRef((props, forwardedRef) => {
4918
+ const { __scopeSelect, ...groupProps } = props;
4919
+ const groupId = useId$1();
4920
+ return /* @__PURE__ */ jsx(SelectGroupContextProvider, {
4921
+ scope: __scopeSelect,
4922
+ id: groupId,
4923
+ children: /* @__PURE__ */ jsx(Primitive.div, {
4924
+ role: "group",
4925
+ "aria-labelledby": groupId,
4926
+ ...groupProps,
4927
+ ref: forwardedRef
4928
+ })
4929
+ });
4930
+ });
4931
+ SelectGroup.displayName = GROUP_NAME;
4932
+ var LABEL_NAME = "SelectLabel";
4933
+ var SelectLabel = React$1.forwardRef((props, forwardedRef) => {
4934
+ const { __scopeSelect, ...labelProps } = props;
4935
+ const groupContext = useSelectGroupContext(LABEL_NAME, __scopeSelect);
4936
+ return /* @__PURE__ */ jsx(Primitive.div, {
4937
+ id: groupContext.id,
4938
+ ...labelProps,
4939
+ ref: forwardedRef
4940
+ });
4941
+ });
4942
+ SelectLabel.displayName = LABEL_NAME;
4943
+ var ITEM_NAME$2 = "SelectItem";
4944
+ var [SelectItemContextProvider, useSelectItemContext] = createSelectContext(ITEM_NAME$2);
4945
+ var SelectItem$1 = React$1.forwardRef((props, forwardedRef) => {
4946
+ const { __scopeSelect, value, disabled = false, textValue: textValueProp, ...itemProps } = props;
4947
+ const context = useSelectContext(ITEM_NAME$2, __scopeSelect);
4948
+ const contentContext = useSelectContentContext(ITEM_NAME$2, __scopeSelect);
4949
+ const isSelected = context.value === value;
4950
+ const [textValue, setTextValue] = React$1.useState(textValueProp ?? "");
4951
+ const [isFocused, setIsFocused] = React$1.useState(false);
4952
+ const composedRefs = useComposedRefs(forwardedRef, (node) => contentContext.itemRefCallback?.(node, value, disabled));
4953
+ const textId = useId$1();
4954
+ const pointerTypeRef = React$1.useRef("touch");
4955
+ const handleSelect = () => {
4956
+ if (!disabled) {
4957
+ context.onValueChange(value);
4958
+ context.onOpenChange(false);
4959
+ }
4960
+ };
4961
+ return /* @__PURE__ */ jsx(SelectItemContextProvider, {
4962
+ scope: __scopeSelect,
4963
+ value,
4964
+ disabled,
4965
+ textId,
4966
+ isSelected,
4967
+ onItemTextChange: React$1.useCallback((node) => {
4968
+ setTextValue((prevTextValue) => prevTextValue || (node?.textContent ?? "").trim());
4969
+ }, []),
4970
+ children: /* @__PURE__ */ jsx(Collection$1.ItemSlot, {
4971
+ scope: __scopeSelect,
4972
+ value,
4973
+ disabled,
4974
+ textValue,
4975
+ children: /* @__PURE__ */ jsx(Primitive.div, {
4976
+ role: "option",
4977
+ "aria-labelledby": textId,
4978
+ "data-highlighted": isFocused ? "" : void 0,
4979
+ "aria-selected": isSelected && isFocused,
4980
+ "data-state": isSelected ? "checked" : "unchecked",
4981
+ "aria-disabled": disabled || void 0,
4982
+ "data-disabled": disabled ? "" : void 0,
4983
+ tabIndex: disabled ? void 0 : -1,
4984
+ ...itemProps,
4985
+ ref: composedRefs,
4986
+ onFocus: composeEventHandlers(itemProps.onFocus, () => setIsFocused(true)),
4987
+ onBlur: composeEventHandlers(itemProps.onBlur, () => setIsFocused(false)),
4988
+ onClick: composeEventHandlers(itemProps.onClick, () => {
4989
+ if (pointerTypeRef.current !== "mouse") handleSelect();
4990
+ }),
4991
+ onPointerUp: composeEventHandlers(itemProps.onPointerUp, () => {
4992
+ if (pointerTypeRef.current === "mouse") handleSelect();
4993
+ }),
4994
+ onPointerDown: composeEventHandlers(itemProps.onPointerDown, (event) => {
4995
+ pointerTypeRef.current = event.pointerType;
4996
+ }),
4997
+ onPointerMove: composeEventHandlers(itemProps.onPointerMove, (event) => {
4998
+ pointerTypeRef.current = event.pointerType;
4999
+ if (disabled) contentContext.onItemLeave?.();
5000
+ else if (pointerTypeRef.current === "mouse") event.currentTarget.focus({ preventScroll: true });
5001
+ }),
5002
+ onPointerLeave: composeEventHandlers(itemProps.onPointerLeave, (event) => {
5003
+ if (event.currentTarget === document.activeElement) contentContext.onItemLeave?.();
5004
+ }),
5005
+ onKeyDown: composeEventHandlers(itemProps.onKeyDown, (event) => {
5006
+ if (contentContext.searchRef?.current !== "" && event.key === " ") return;
5007
+ if (SELECTION_KEYS.includes(event.key)) handleSelect();
5008
+ if (event.key === " ") event.preventDefault();
5009
+ })
5010
+ })
5011
+ })
5012
+ });
5013
+ });
5014
+ SelectItem$1.displayName = ITEM_NAME$2;
5015
+ var ITEM_TEXT_NAME = "SelectItemText";
5016
+ var SelectItemText = React$1.forwardRef((props, forwardedRef) => {
5017
+ const { __scopeSelect, className, style, ...itemTextProps } = props;
5018
+ const context = useSelectContext(ITEM_TEXT_NAME, __scopeSelect);
5019
+ const contentContext = useSelectContentContext(ITEM_TEXT_NAME, __scopeSelect);
5020
+ const itemContext = useSelectItemContext(ITEM_TEXT_NAME, __scopeSelect);
5021
+ const nativeOptionsContext = useSelectNativeOptionsContext(ITEM_TEXT_NAME, __scopeSelect);
5022
+ const [itemTextNode, setItemTextNode] = React$1.useState(null);
5023
+ const composedRefs = useComposedRefs(forwardedRef, (node) => setItemTextNode(node), itemContext.onItemTextChange, (node) => contentContext.itemTextRefCallback?.(node, itemContext.value, itemContext.disabled));
5024
+ const textContent = itemTextNode?.textContent;
5025
+ const nativeOption = React$1.useMemo(() => /* @__PURE__ */ jsx("option", {
5026
+ value: itemContext.value,
5027
+ disabled: itemContext.disabled,
5028
+ children: textContent
5029
+ }, itemContext.value), [
5030
+ itemContext.disabled,
5031
+ itemContext.value,
5032
+ textContent
5033
+ ]);
5034
+ const { onNativeOptionAdd, onNativeOptionRemove } = nativeOptionsContext;
5035
+ useLayoutEffect2(() => {
5036
+ onNativeOptionAdd(nativeOption);
5037
+ return () => onNativeOptionRemove(nativeOption);
5038
+ }, [
5039
+ onNativeOptionAdd,
5040
+ onNativeOptionRemove,
5041
+ nativeOption
5042
+ ]);
5043
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Primitive.span, {
5044
+ id: itemContext.textId,
5045
+ ...itemTextProps,
5046
+ ref: composedRefs
5047
+ }), itemContext.isSelected && context.valueNode && !context.valueNodeHasChildren && !shouldShowPlaceholder(context.value) ? ReactDOM$1.createPortal(itemTextProps.children, context.valueNode) : null] });
5048
+ });
5049
+ SelectItemText.displayName = ITEM_TEXT_NAME;
5050
+ var ITEM_INDICATOR_NAME = "SelectItemIndicator";
5051
+ var SelectItemIndicator = React$1.forwardRef((props, forwardedRef) => {
5052
+ const { __scopeSelect, ...itemIndicatorProps } = props;
5053
+ return useSelectItemContext(ITEM_INDICATOR_NAME, __scopeSelect).isSelected ? /* @__PURE__ */ jsx(Primitive.span, {
5054
+ "aria-hidden": true,
5055
+ ...itemIndicatorProps,
5056
+ ref: forwardedRef
5057
+ }) : null;
5058
+ });
5059
+ SelectItemIndicator.displayName = ITEM_INDICATOR_NAME;
5060
+ var SCROLL_UP_BUTTON_NAME = "SelectScrollUpButton";
5061
+ var SelectScrollUpButton$1 = React$1.forwardRef((props, forwardedRef) => {
5062
+ const contentContext = useSelectContentContext(SCROLL_UP_BUTTON_NAME, props.__scopeSelect);
5063
+ const viewportContext = useSelectViewportContext(SCROLL_UP_BUTTON_NAME, props.__scopeSelect);
5064
+ const [canScrollUp, setCanScrollUp] = React$1.useState(false);
5065
+ const composedRefs = useComposedRefs(forwardedRef, viewportContext.onScrollButtonChange);
5066
+ useLayoutEffect2(() => {
5067
+ if (contentContext.viewport && contentContext.isPositioned) {
5068
+ let handleScroll2 = function() {
5069
+ setCanScrollUp(viewport.scrollTop > 0);
5070
+ };
5071
+ const viewport = contentContext.viewport;
5072
+ handleScroll2();
5073
+ viewport.addEventListener("scroll", handleScroll2);
5074
+ return () => viewport.removeEventListener("scroll", handleScroll2);
5075
+ }
5076
+ }, [contentContext.viewport, contentContext.isPositioned]);
5077
+ return canScrollUp ? /* @__PURE__ */ jsx(SelectScrollButtonImpl, {
5078
+ ...props,
5079
+ ref: composedRefs,
5080
+ onAutoScroll: () => {
5081
+ const { viewport, selectedItem } = contentContext;
5082
+ if (viewport && selectedItem) viewport.scrollTop = viewport.scrollTop - selectedItem.offsetHeight;
5083
+ }
5084
+ }) : null;
5085
+ });
5086
+ SelectScrollUpButton$1.displayName = SCROLL_UP_BUTTON_NAME;
5087
+ var SCROLL_DOWN_BUTTON_NAME = "SelectScrollDownButton";
5088
+ var SelectScrollDownButton$1 = React$1.forwardRef((props, forwardedRef) => {
5089
+ const contentContext = useSelectContentContext(SCROLL_DOWN_BUTTON_NAME, props.__scopeSelect);
5090
+ const viewportContext = useSelectViewportContext(SCROLL_DOWN_BUTTON_NAME, props.__scopeSelect);
5091
+ const [canScrollDown, setCanScrollDown] = React$1.useState(false);
5092
+ const composedRefs = useComposedRefs(forwardedRef, viewportContext.onScrollButtonChange);
5093
+ useLayoutEffect2(() => {
5094
+ if (contentContext.viewport && contentContext.isPositioned) {
5095
+ let handleScroll2 = function() {
5096
+ const maxScroll = viewport.scrollHeight - viewport.clientHeight;
5097
+ setCanScrollDown(Math.ceil(viewport.scrollTop) < maxScroll);
5098
+ };
5099
+ const viewport = contentContext.viewport;
5100
+ handleScroll2();
5101
+ viewport.addEventListener("scroll", handleScroll2);
5102
+ return () => viewport.removeEventListener("scroll", handleScroll2);
5103
+ }
5104
+ }, [contentContext.viewport, contentContext.isPositioned]);
5105
+ return canScrollDown ? /* @__PURE__ */ jsx(SelectScrollButtonImpl, {
5106
+ ...props,
5107
+ ref: composedRefs,
5108
+ onAutoScroll: () => {
5109
+ const { viewport, selectedItem } = contentContext;
5110
+ if (viewport && selectedItem) viewport.scrollTop = viewport.scrollTop + selectedItem.offsetHeight;
5111
+ }
5112
+ }) : null;
5113
+ });
5114
+ SelectScrollDownButton$1.displayName = SCROLL_DOWN_BUTTON_NAME;
5115
+ var SelectScrollButtonImpl = React$1.forwardRef((props, forwardedRef) => {
5116
+ const { __scopeSelect, onAutoScroll, ...scrollIndicatorProps } = props;
5117
+ const contentContext = useSelectContentContext("SelectScrollButton", __scopeSelect);
5118
+ const autoScrollTimerRef = React$1.useRef(null);
5119
+ const getItems = useCollection$1(__scopeSelect);
5120
+ const clearAutoScrollTimer = React$1.useCallback(() => {
5121
+ if (autoScrollTimerRef.current !== null) {
5122
+ window.clearInterval(autoScrollTimerRef.current);
5123
+ autoScrollTimerRef.current = null;
5124
+ }
5125
+ }, []);
5126
+ React$1.useEffect(() => {
5127
+ return () => clearAutoScrollTimer();
5128
+ }, [clearAutoScrollTimer]);
5129
+ useLayoutEffect2(() => {
5130
+ getItems().find((item) => item.ref.current === document.activeElement)?.ref.current?.scrollIntoView({ block: "nearest" });
5131
+ }, [getItems]);
5132
+ return /* @__PURE__ */ jsx(Primitive.div, {
5133
+ "aria-hidden": true,
5134
+ ...scrollIndicatorProps,
5135
+ ref: forwardedRef,
5136
+ style: {
5137
+ flexShrink: 0,
5138
+ ...scrollIndicatorProps.style
5139
+ },
5140
+ onPointerDown: composeEventHandlers(scrollIndicatorProps.onPointerDown, () => {
5141
+ if (autoScrollTimerRef.current === null) autoScrollTimerRef.current = window.setInterval(onAutoScroll, 50);
5142
+ }),
5143
+ onPointerMove: composeEventHandlers(scrollIndicatorProps.onPointerMove, () => {
5144
+ contentContext.onItemLeave?.();
5145
+ if (autoScrollTimerRef.current === null) autoScrollTimerRef.current = window.setInterval(onAutoScroll, 50);
5146
+ }),
5147
+ onPointerLeave: composeEventHandlers(scrollIndicatorProps.onPointerLeave, () => {
5148
+ clearAutoScrollTimer();
5149
+ })
5150
+ });
5151
+ });
5152
+ var SEPARATOR_NAME = "SelectSeparator";
5153
+ var SelectSeparator = React$1.forwardRef((props, forwardedRef) => {
5154
+ const { __scopeSelect, ...separatorProps } = props;
5155
+ return /* @__PURE__ */ jsx(Primitive.div, {
5156
+ "aria-hidden": true,
5157
+ ...separatorProps,
5158
+ ref: forwardedRef
5159
+ });
5160
+ });
5161
+ SelectSeparator.displayName = SEPARATOR_NAME;
5162
+ var ARROW_NAME = "SelectArrow";
5163
+ var SelectArrow = React$1.forwardRef((props, forwardedRef) => {
5164
+ const { __scopeSelect, ...arrowProps } = props;
5165
+ const popperScope = usePopperScope(__scopeSelect);
5166
+ return useSelectContentContext(ARROW_NAME, __scopeSelect).position === "popper" ? /* @__PURE__ */ jsx(Arrow, {
5167
+ ...popperScope,
5168
+ ...arrowProps,
5169
+ ref: forwardedRef
5170
+ }) : null;
5171
+ });
5172
+ SelectArrow.displayName = ARROW_NAME;
5173
+ var BUBBLE_INPUT_NAME$1 = "SelectBubbleInput";
5174
+ var SelectBubbleInput = React$1.forwardRef(({ __scopeSelect, ...props }, forwardedRef) => {
5175
+ const context = useSelectContext(BUBBLE_INPUT_NAME$1, __scopeSelect);
5176
+ const { value, onValueChange, required, disabled, name, autoComplete, form } = context;
5177
+ const { nativeOptions, nativeSelectKey } = context;
5178
+ const ref = React$1.useRef(null);
5179
+ const composedRefs = useComposedRefs(forwardedRef, ref);
5180
+ const selectValue = value ?? "";
5181
+ const prevValue = usePrevious(selectValue);
5182
+ const hasEmptyValueOption = Array.from(nativeOptions).some((option) => (option.props.value ?? "") === "");
5183
+ React$1.useEffect(() => {
5184
+ const select = ref.current;
5185
+ if (!select) return;
5186
+ const selectProto = window.HTMLSelectElement.prototype;
5187
+ const setValue = Object.getOwnPropertyDescriptor(selectProto, "value").set;
5188
+ if (prevValue !== selectValue && setValue) {
5189
+ const event = new Event("change", { bubbles: true });
5190
+ setValue.call(select, selectValue);
5191
+ select.dispatchEvent(event);
5192
+ }
5193
+ }, [prevValue, selectValue]);
5194
+ return /* @__PURE__ */ jsxs(Primitive.select, {
5195
+ "aria-hidden": true,
5196
+ required,
5197
+ tabIndex: -1,
5198
+ name,
5199
+ autoComplete,
5200
+ disabled,
5201
+ form,
5202
+ onChange: (event) => onValueChange(event.target.value),
5203
+ ...props,
5204
+ style: {
5205
+ ...VISUALLY_HIDDEN_STYLES,
5206
+ ...props.style
5207
+ },
5208
+ ref: composedRefs,
5209
+ defaultValue: selectValue,
5210
+ children: [shouldShowPlaceholder(value) && !hasEmptyValueOption ? /* @__PURE__ */ jsx("option", { value: "" }) : null, Array.from(nativeOptions)]
5211
+ }, nativeSelectKey);
5212
+ });
5213
+ SelectBubbleInput.displayName = BUBBLE_INPUT_NAME$1;
5214
+ function isFunction$1(value) {
5215
+ return typeof value === "function";
5216
+ }
5217
+ function shouldShowPlaceholder(value) {
5218
+ return value === "" || value === void 0;
5219
+ }
5220
+ function useTypeaheadSearch(onSearchChange) {
5221
+ const handleSearchChange = useCallbackRef(onSearchChange);
5222
+ const searchRef = React$1.useRef("");
5223
+ const timerRef = React$1.useRef(0);
5224
+ const handleTypeaheadSearch = React$1.useCallback((key) => {
5225
+ const search = searchRef.current + key;
5226
+ handleSearchChange(search);
5227
+ (function updateSearch(value) {
5228
+ searchRef.current = value;
5229
+ window.clearTimeout(timerRef.current);
5230
+ if (value !== "") timerRef.current = window.setTimeout(() => updateSearch(""), 1e3);
5231
+ })(search);
5232
+ }, [handleSearchChange]);
5233
+ const resetTypeahead = React$1.useCallback(() => {
5234
+ searchRef.current = "";
5235
+ window.clearTimeout(timerRef.current);
5236
+ }, []);
5237
+ React$1.useEffect(() => {
5238
+ return () => window.clearTimeout(timerRef.current);
5239
+ }, []);
5240
+ return [
5241
+ searchRef,
5242
+ handleTypeaheadSearch,
5243
+ resetTypeahead
5244
+ ];
5245
+ }
5246
+ function findNextItem(items, search, currentItem) {
5247
+ const normalizedSearch = search.length > 1 && Array.from(search).every((char) => char === search[0]) ? search[0] : search;
5248
+ const currentItemIndex = currentItem ? items.indexOf(currentItem) : -1;
5249
+ let wrappedItems = wrapArray(items, Math.max(currentItemIndex, 0));
5250
+ if (normalizedSearch.length === 1) wrappedItems = wrappedItems.filter((v) => v !== currentItem);
5251
+ const nextItem = wrappedItems.find((item) => item.textValue.toLowerCase().startsWith(normalizedSearch.toLowerCase()));
5252
+ return nextItem !== currentItem ? nextItem : void 0;
5253
+ }
5254
+ function wrapArray(array, startIndex) {
5255
+ return array.map((_, index) => array[(startIndex + index) % array.length]);
5256
+ }
5257
+ //#endregion
5258
+ //#region ../ui/src/select.tsx
5259
+ function Select({ ...props }) {
5260
+ return /* @__PURE__ */ jsx(Select$1, {
5261
+ "data-slot": "select",
5262
+ ...props
5263
+ });
5264
+ }
5265
+ function SelectValue({ ...props }) {
5266
+ return /* @__PURE__ */ jsx(SelectValue$1, {
5267
+ "data-slot": "select-value",
5268
+ ...props
5269
+ });
5270
+ }
5271
+ function SelectTrigger({ className, size = "default", children, disabled, "aria-describedby": ariaDescribedBy, ...props }) {
5272
+ const readiness = useControlReadiness(disabled);
5273
+ const describedBy = useFieldDescribedBy(props.id, ariaDescribedBy);
5274
+ return /* @__PURE__ */ jsxs(SelectTrigger$1, {
5275
+ "data-slot": "select-trigger",
5276
+ "data-size": size,
5277
+ className: cn$1(fieldTriggerClassName, "data-[placeholder]:text-muted-foreground w-fit max-w-full data-[size=default]:h-[var(--field-height)] data-[size=sm]:h-[2rem] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:min-w-0 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2", className),
5278
+ ...props,
5279
+ "aria-describedby": describedBy,
5280
+ ...readiness,
5281
+ children: [children, /* @__PURE__ */ jsx(SelectIcon, {
5282
+ asChild: true,
5283
+ children: /* @__PURE__ */ jsx(ChevronDown, { className: "size-4 opacity-50" })
5284
+ })]
5285
+ });
5286
+ }
5287
+ function SelectContent({ className, children, position = "popper", ...props }) {
5288
+ return /* @__PURE__ */ jsx(SelectPortal, {
5289
+ container: usePortalContainer(),
5290
+ children: /* @__PURE__ */ jsxs(SelectContent$1, {
5291
+ "data-slot": "select-content",
5292
+ className: cn$1("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-[100] max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-[var(--item-radius)] border border-border/60 shadow-md", position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className),
5293
+ position,
5294
+ ...props,
5295
+ children: [
5296
+ /* @__PURE__ */ jsx(SelectScrollUpButton, {}),
5297
+ /* @__PURE__ */ jsx(SelectViewport, {
5298
+ className: cn$1("p-1", position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),
5299
+ children
5300
+ }),
5301
+ /* @__PURE__ */ jsx(SelectScrollDownButton, {})
5302
+ ]
5303
+ })
5304
+ });
5305
+ }
5306
+ function SelectItem({ className, children, ...props }) {
5307
+ return /* @__PURE__ */ jsxs(SelectItem$1, {
5308
+ "data-slot": "select-item",
5309
+ className: cn$1(`[&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full items-center gap-2 rounded-[var(--item-radius)] py-1.5 pr-8 pl-2 text-sm outline-hidden select-none ${menuItemInteractionClassName} data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2`, className),
5310
+ ...props,
5311
+ children: [/* @__PURE__ */ jsx("span", {
5312
+ className: "absolute right-2 flex size-3.5 items-center justify-center",
5313
+ children: /* @__PURE__ */ jsx(SelectItemIndicator, { children: /* @__PURE__ */ jsx(Check, { className: "size-4" }) })
5314
+ }), /* @__PURE__ */ jsx(SelectItemText, { children })]
5315
+ });
5316
+ }
5317
+ function SelectScrollUpButton({ className, ...props }) {
5318
+ return /* @__PURE__ */ jsx(SelectScrollUpButton$1, {
5319
+ "data-slot": "select-scroll-up-button",
5320
+ className: cn$1("flex cursor-default items-center justify-center py-1", className),
5321
+ ...props,
5322
+ children: /* @__PURE__ */ jsx(ChevronUp, { className: "size-4" })
5323
+ });
5324
+ }
5325
+ function SelectScrollDownButton({ className, ...props }) {
5326
+ return /* @__PURE__ */ jsx(SelectScrollDownButton$1, {
5327
+ "data-slot": "select-scroll-down-button",
5328
+ className: cn$1("flex cursor-default items-center justify-center py-1", className),
5329
+ ...props,
5330
+ children: /* @__PURE__ */ jsx(ChevronDown, { className: "size-4" })
5331
+ });
5332
+ }
5333
+ //#endregion
4120
5334
  //#region ../ui/src/textarea.tsx
4121
- const Textarea = React$1.forwardRef(({ className, disabled, ...props }, ref) => {
5335
+ const Textarea = React$1.forwardRef(({ className, disabled, "aria-describedby": ariaDescribedBy, ...props }, ref) => {
4122
5336
  const readiness = useControlReadiness(disabled);
5337
+ const describedBy = useFieldDescribedBy(props.id, ariaDescribedBy);
4123
5338
  return /* @__PURE__ */ jsx("textarea", {
4124
5339
  "data-slot": "textarea",
4125
5340
  className: cn$1(FIELD_TEXTAREA_CLASS, "flex w-full", className),
4126
5341
  ref,
4127
5342
  ...props,
5343
+ "aria-describedby": describedBy,
4128
5344
  ...readiness
4129
5345
  });
4130
5346
  });
@@ -5555,10 +6771,12 @@ var RadioGroupIndicator = React$1.forwardRef((props, forwardedRef) => {
5555
6771
  RadioGroupIndicator.displayName = INDICATOR_NAME2;
5556
6772
  //#endregion
5557
6773
  //#region ../ui/src/radio-group.tsx
5558
- const RadioGroup = React$1.forwardRef(({ className, ...props }, ref) => {
6774
+ const RadioGroup = React$1.forwardRef(({ className, "aria-describedby": ariaDescribedBy, ...props }, ref) => {
6775
+ const describedBy = useFieldDescribedBy(props.id, ariaDescribedBy);
5559
6776
  return /* @__PURE__ */ jsx(RadioGroup$1, {
5560
6777
  className: cn$1("grid gap-2", className),
5561
6778
  ...props,
6779
+ "aria-describedby": describedBy,
5562
6780
  ref
5563
6781
  });
5564
6782
  });
@@ -5567,7 +6785,7 @@ const RadioGroupItem = React$1.forwardRef(({ className, disabled, ...props }, re
5567
6785
  const readiness = useControlReadiness(disabled);
5568
6786
  return /* @__PURE__ */ jsx(RadioGroupItem$1, {
5569
6787
  ref,
5570
- className: cn$1(FIELD_FOCUS_CLASS, "aspect-square size-[1.125rem] rounded-full border border-input bg-field-background text-primary transition-[border-color,box-shadow] focus:outline-none data-[state=checked]:border-primary disabled:cursor-not-allowed disabled:opacity-50", className),
6788
+ className: cn$1(FIELD_FOCUS_CLASS, CHOICE_BORDER_CLASS, "aspect-square size-[1.125rem] rounded-full border bg-field-background text-primary transition-[border-color,box-shadow] focus:outline-none data-[state=checked]:border-primary disabled:cursor-not-allowed disabled:opacity-50", className),
5571
6789
  ...props,
5572
6790
  ...readiness,
5573
6791
  children: /* @__PURE__ */ jsx(RadioGroupIndicator, {
@@ -5578,6 +6796,62 @@ const RadioGroupItem = React$1.forwardRef(({ className, disabled, ...props }, re
5578
6796
  });
5579
6797
  RadioGroupItem.displayName = RadioGroupItem$1.displayName;
5580
6798
  //#endregion
6799
+ //#region ../ui/src/choice-tile-group.tsx
6800
+ /**
6801
+ * The one marker for a chosen option: a green ring and a light green tint.
6802
+ * Tiles and rows that can't be a ChoiceTileGroup (swatches, previews,
6803
+ * thumbnails) add it to their own classes when chosen, through `cn` so the
6804
+ * tint wins over a base hover fill. The tiles below draw the same thing on
6805
+ * `data-[state=checked]`; Tailwind needs both spelled out, so change them
6806
+ * together.
6807
+ */
6808
+ const CHOSEN_OPTION_CLASS = "border-primary bg-primary/5 ring-1 ring-primary hover:bg-primary/10";
6809
+ const TILE_CLASS = [
6810
+ "flex min-h-10 w-full cursor-pointer items-center justify-between gap-2 rounded-md border px-3 py-2 text-left text-xs font-medium leading-4 text-foreground transition-colors",
6811
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1",
6812
+ "disabled:cursor-not-allowed disabled:opacity-50",
6813
+ "border-border bg-background hover:bg-muted",
6814
+ "data-[state=checked]:border-primary data-[state=checked]:bg-primary/5 data-[state=checked]:ring-1 data-[state=checked]:ring-primary data-[state=checked]:hover:bg-primary/10"
6815
+ ].join(" ");
6816
+ /**
6817
+ * A short single choice drawn as a grid of text tiles, such as a block's
6818
+ * layout. The chosen tile has a green ring, a light tint and a tick, which is
6819
+ * the one way the editor marks "chosen". It's a radio group: Tab reaches the
6820
+ * chosen tile and the arrow keys move between tiles.
6821
+ */
6822
+ function ChoiceTileGroup({ label, options, value, onValueChange, id, describedBy, columns = 2, disabled, className, "data-field-path": fieldPath }) {
6823
+ const readiness = useControlReadiness(disabled);
6824
+ return /* @__PURE__ */ jsx(RadioGroup$1, {
6825
+ id,
6826
+ "aria-label": label,
6827
+ "aria-describedby": useFieldDescribedBy(id, describedBy),
6828
+ "data-field-path": fieldPath,
6829
+ value: value ?? "",
6830
+ onValueChange: (next) => {
6831
+ const chosen = options.find((option) => option.value === next);
6832
+ if (chosen) onValueChange(chosen.value);
6833
+ },
6834
+ ...readiness,
6835
+ className: cn$1("grid gap-2", columns === 2 ? "grid-cols-2" : "grid-cols-1", className),
6836
+ children: options.map((option) => /* @__PURE__ */ jsxs(RadioGroupItem$1, {
6837
+ value: option.value,
6838
+ disabled: option.disabled,
6839
+ className: TILE_CLASS,
6840
+ children: [/* @__PURE__ */ jsx("span", {
6841
+ className: "min-w-0",
6842
+ children: option.label
6843
+ }), /* @__PURE__ */ jsx(RadioGroupIndicator, {
6844
+ asChild: true,
6845
+ children: /* @__PURE__ */ jsx(Check, {
6846
+ className: "size-3.5 shrink-0 text-primary",
6847
+ strokeWidth: 2.5,
6848
+ "aria-hidden": "true"
6849
+ })
6850
+ })]
6851
+ }, option.value))
6852
+ });
6853
+ }
6854
+ //#endregion
5581
6855
  //#region ../site-contracts/src/siteData/eventCheckout.ts
5582
6856
  const uuid = z.string().uuid();
5583
6857
  const eventRegistrationStatusReferenceSchema = z.discriminatedUnion("scope", [z.object({
@@ -9354,7 +10628,7 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="event-calendar"])
9354
10628
  /* Event items - solid style (default) */
9355
10629
  --ec-event-solid-bg: rgb(var(--tb-primary));
9356
10630
  --ec-event-solid-hover-bg: rgb(var(--tb-primary-600, var(--tb-primary)));
9357
- --ec-event-solid-text: rgb(var(--tb-neutral-50, 255 255 255));
10631
+ --ec-event-solid-text: rgb(var(--tb-onPrimary, 255 255 255));
9358
10632
 
9359
10633
  /* Navigation */
9360
10634
  --ec-nav-hover-bg: rgb(var(--tb-text) / 0.1);
@@ -23707,6 +24981,7 @@ function FieldFrame(props) {
23707
24981
  const marker = required ? "required" : optional ? "optional" : "none";
23708
24982
  const descriptionId = description ? `${controlId}-description` : void 0;
23709
24983
  const messageId = Boolean(error) || Boolean(hint) ? `${controlId}-message` : void 0;
24984
+ const describedBy = joinDescribedBy(descriptionId, messageId);
23710
24985
  return /* @__PURE__ */ jsxs("div", {
23711
24986
  "data-field-path": fieldPath,
23712
24987
  className: cn$1("space-y-0 text-sm text-foreground", className),
@@ -23716,10 +24991,17 @@ function FieldFrame(props) {
23716
24991
  beforeControl,
23717
24992
  /* @__PURE__ */ jsx("div", {
23718
24993
  className: "mt-2",
23719
- children: children({
23720
- id: controlId,
23721
- descriptionId,
23722
- messageId
24994
+ children: /* @__PURE__ */ jsx(FieldDescriptionProvider, {
24995
+ value: {
24996
+ controlId,
24997
+ describedBy
24998
+ },
24999
+ children: children({
25000
+ id: controlId,
25001
+ describedBy,
25002
+ descriptionId,
25003
+ messageId
25004
+ })
23723
25005
  })
23724
25006
  }),
23725
25007
  afterControl,
@@ -48186,6 +49468,28 @@ function ChosenPlace({ address, chosenName, siteCountry, fieldsOpen, onToggleFie
48186
49468
  }
48187
49469
  //#endregion
48188
49470
  //#region ../bookings/dist/index.js
49471
+ const BOOKING_CURRENCY_OPTIONS = [
49472
+ {
49473
+ value: "GBP",
49474
+ label: "GBP"
49475
+ },
49476
+ {
49477
+ value: "EUR",
49478
+ label: "EUR"
49479
+ },
49480
+ {
49481
+ value: "USD",
49482
+ label: "USD"
49483
+ },
49484
+ {
49485
+ value: "AUD",
49486
+ label: "AUD"
49487
+ },
49488
+ {
49489
+ value: "CAD",
49490
+ label: "CAD"
49491
+ }
49492
+ ];
48189
49493
  const BASE_BOOKING_COUNTRY_OPTIONS = [
48190
49494
  {
48191
49495
  value: "GB",
@@ -48248,6 +49552,12 @@ const BASE_BOOKING_COUNTRY_OPTIONS = [
48248
49552
  label: "Spain"
48249
49553
  }
48250
49554
  ];
49555
+ /** Launch selection only; full locale support stays available for #1736. */
49556
+ const BOOKING_LAUNCH_LOCALES = [{
49557
+ countryCode: "GB",
49558
+ currency: "GBP"
49559
+ }];
49560
+ BOOKING_CURRENCY_OPTIONS.filter((option) => BOOKING_LAUNCH_LOCALES.some((locale) => locale.currency === option.value));
48251
49561
  function normalizeBookingCountryCode(value) {
48252
49562
  const normalized = value?.trim().toUpperCase() ?? "";
48253
49563
  return /^[A-Z]{2}$/.test(normalized) ? normalized : null;
@@ -48750,15 +50060,15 @@ function usePreviewTheme(siteId, enabled) {
48750
50060
  }
48751
50061
  //#endregion
48752
50062
  //#region ../editor-blocks/src/widgets/location/PickerMapArea.tsx
48753
- const LazyEditMap = lazy(() => import("./MapLibreEditMap-C9InQJpd.mjs").then((mod) => ({ default: mod.MapLibreEditMap })));
50063
+ const LazyEditMap = lazy(() => import("./MapLibreEditMap-CaUOTCSh.mjs").then((mod) => ({ default: mod.MapLibreEditMap })));
48754
50064
  function EditMap(props) {
48755
50065
  return /* @__PURE__ */ jsx(Suspense, {
48756
50066
  fallback: null,
48757
50067
  children: /* @__PURE__ */ jsx(LazyEditMap, { ...props })
48758
50068
  });
48759
50069
  }
48760
- const TAB_LIST = "h-auto gap-0.5 rounded-full bg-[var(--surface,var(--muted))] p-[3px] [&>[role=tab]:not(:last-child)]:mr-0";
48761
- const TAB = "h-auto rounded-full px-3 py-[5px] text-[13px] font-medium data-[state=active]:shadow-[0_1px_3px_rgba(0,0,0,0.1)]";
50070
+ const TAB_LIST = "h-auto gap-0.5 rounded-full border-b-0 shadow-none bg-[var(--surface,var(--muted))] p-[3px]";
50071
+ const TAB = "h-auto rounded-full border-b-0 px-3 py-[5px] text-[13px] font-medium data-[state=active]:bg-background data-[state=active]:shadow-[0_1px_3px_rgba(0,0,0,0.1)]";
48762
50072
  /** "Place the pin" and "Preview on your site". The edit map unmounts while the preview shows. */
48763
50073
  function PickerMapArea(props) {
48764
50074
  const [tab, setTab] = useState("pin");
@@ -50725,12 +52035,11 @@ function CustomizeBackgroundColorPicker({ title = "Colors", selectedToken, recom
50725
52035
  children: [/* @__PURE__ */ jsx("div", {
50726
52036
  className: "text-xs font-medium text-muted-foreground",
50727
52037
  children: title
50728
- }), onChooseDefault ? /* @__PURE__ */ jsx("button", {
50729
- type: "button",
50730
- className: `rounded-md border px-2 py-1 text-xs hover:bg-muted disabled:cursor-not-allowed disabled:opacity-50 ${defaultSelected ? "border-foreground" : "bg-background"}`,
52038
+ }), onChooseDefault ? /* @__PURE__ */ jsx(DefaultChoiceButton, {
52039
+ label: defaultLabel,
52040
+ selected: defaultSelected,
50731
52041
  disabled,
50732
- onClick: onChooseDefault,
50733
- children: defaultLabel
52042
+ onClick: onChooseDefault
50734
52043
  }) : null]
50735
52044
  }), hasTokens ? /* @__PURE__ */ jsx(CustomizeColorTokenPicker, {
50736
52045
  title,
@@ -50745,10 +52054,19 @@ function CustomizeBackgroundColorPicker({ title = "Colors", selectedToken, recom
50745
52054
  showTitle: false
50746
52055
  }) : null] });
50747
52056
  }
52057
+ function DefaultChoiceButton({ label, selected, disabled, onClick }) {
52058
+ return /* @__PURE__ */ jsx("button", {
52059
+ type: "button",
52060
+ disabled,
52061
+ onClick,
52062
+ className: cn$1("rounded-md border px-2 py-1 text-xs hover:bg-muted disabled:cursor-not-allowed disabled:opacity-50", selected ? CHOSEN_OPTION_CLASS : "bg-background"),
52063
+ children: label
52064
+ });
52065
+ }
50748
52066
  function ColorTokenButton({ token, label, swatchColor, selected, disabled, onClick }) {
50749
52067
  return /* @__PURE__ */ jsxs("button", {
50750
52068
  type: "button",
50751
- className: `flex min-w-0 items-center gap-2 rounded-md border px-2 py-1 text-left text-xs hover:bg-muted disabled:cursor-not-allowed disabled:opacity-50 ${selected ? "border-foreground" : "bg-background"}`,
52069
+ className: cn$1("flex min-w-0 items-center gap-2 rounded-md border px-2 py-1 text-left text-xs hover:bg-muted disabled:cursor-not-allowed disabled:opacity-50", selected ? CHOSEN_OPTION_CLASS : "bg-background"),
50752
52070
  disabled,
50753
52071
  "aria-label": `Choose ${label}`,
50754
52072
  onClick,
@@ -51915,4 +53233,4 @@ function tokenSwatchCss(token) {
51915
53233
  return `rgb(var(--tb-${token}))`;
51916
53234
  }
51917
53235
  //#endregion
51918
- export { useMediaEditor as $, TabsList as $t, applyPreviewRuntimeContentProjections as A, logger as At, buildFooterRuntimeViewModel as B, readThemeScopeContext as Bt, isHeaderMenuSurfaceState as C, arrangementHooksFromContent as Ct, usePreviewCompiledThemeOptional as D, buildLoadedOfferingsPreviewListing as Dt, usePreviewCompiledTheme as E, getDefaultComponentRegistry as Et, siteColourCss as F, defaultTransforms as Ft, getFooterComposition as G, DEFAULT_THEME_RESPONSIVE_MODE as Gt, createEditorApiClientFactory as H, buildThemeRuntime as Ht, locationWidgetOverrides as I, resolveEntryRouteTarget as It, updateFooterComposition as J, Textarea as Jt, getFooterEngagementAuthoringOptions as K, getResponsiveScopeSpec as Kt, SessionJournalHost as L, resolvePageRouteTarget as Lt, runtimeContentDecorationProjectionFromServerPage as M, LINKED_CONTENT_ENTRY_META_KEY as Mt, mergeResolvedDataContext as N, coerceLinkedContentEntriesPayload as Nt, pageDesignRuntimeProjectionFromSource as O, buildAppointmentServicesView as Ot, withRenderedContentEntry as P, getLinkedContentEntryMeta as Pt, MediaEditorContextProvider as Q, TabsContent as Qt, useSiteEditorAdmission as R, resolveRouteTarget as Rt, HeaderMenuControls as S, makeDefaultBlockComponent as St, PreviewThemeRenderingProvider as T, readBlockComposition as Tt, SiteOptionWidgetProvider as U, escapeStyleContent as Ut, resolveFooterLayoutHints as V, themeRuntimeScopeProps as Vt, useSiteOptionWidgetContext as W, mergeContentWithBlockStyleOverrides as Wt, updatePublicProfile as X, Input as Xt, updateFooterCredit as Y, SearchInput as Yt, footerCreditLine as Z, Tabs as Zt, resolvePreviewEditorGuidanceModel as _, upsertFooterEngagementSection as _n, FieldLabelText as _t, PreviewChromeLayerProvider as a, Content$1 as an, ImageResolveContextProvider as at, SiteFontStorageProvider as b, planFooterArrangement as bn, revealEditorElement as bt, PREVIEW_SITE_BANNER_ATTRIBUTE as c, defaultThemeTokens as cn, BlockApiProvider as ct, CustomizeBackgroundColorPicker as d, normalizeLegacyFooterContentToV1 as dn, SelectField as dt, TabsTrigger as en, useMediaEditorOptional as et, canInspectSiteStyle as f, parseFooterEngagementSection as fn, hasEmptyOption as ft, sanitizeDashboardPath as g, setFooterSectionSelected as gn, FieldFrame as gt, resolvePreviewDashboardSetupHandoff as h, resolveFooterSections as hn, unmapValueFromSelect as ht, PreviewChromeFloatingControl as i, Trigger as in, NewsletterFormClient as it, entryFieldRebindingProjection as j, Text as jt, resolveRuntimePreviewSourceForTheme as k, renderInlineText as kt, planBlockToolbarPlacement as l, classifyKnownMimeType as ln, BlockContextProvider as lt, buildPreviewDashboardSetupUrl as m, removeFooterEngagementSection as mn, mapOptionValueForSelect as mt, SiteChromeSurfaceControls as n, List as nn, TransferError as nt, readThemeCustomProperties as o, Root as on, useImageResolveContextOptional as ot, resolveSiteStyleAccess as p, parseFooterModuleId as pn, mapCurrentValueForSelect as pt, getPublicProfile as q, Toaster as qt, PreviewChromeFloatingBar as r, Root2$1 as rn, clientComponentRegistry as rt, measureSiteTopChromeClearance as s, Trigger$1 as sn, FormNodeClient as st, SiteChromeCustomizeButton as t, Content as tn, useApiMediaUploader as tt, CustomizeBackgroundControlRows as u, deriveFooterEditorOverview as un, useBlockContext as ut, resolvePreviewSetupBannerModel as v, validateFooterComposition as vn, useField as vt, PreviewCompiledThemeProvider as w, blockLookFromContent as wt, useSiteFontStorageUrl as x, ThemeScopeCore as xt, resolvePreviewSidebarChromeModel as y, footerArrangementPolicy as yn, useLinkedInlineTextField as yt, renderSiteChromeBlock as z, buildThemeDataAttrs as zt };
53236
+ export { useMediaEditor as $, SelectItem as $t, applyPreviewRuntimeContentProjections as A, upsertFooterEngagementSection as An, logger as At, buildFooterRuntimeViewModel as B, readThemeScopeContext as Bt, isHeaderMenuSurfaceState as C, deriveFooterEditorOverview as Cn, arrangementHooksFromContent as Ct, usePreviewCompiledThemeOptional as D, removeFooterEngagementSection as Dn, buildLoadedOfferingsPreviewListing as Dt, usePreviewCompiledTheme as E, parseFooterModuleId as En, getDefaultComponentRegistry as Et, siteColourCss as F, defaultTransforms as Ft, getFooterComposition as G, DEFAULT_THEME_RESPONSIVE_MODE as Gt, createEditorApiClientFactory as H, buildThemeRuntime as Ht, locationWidgetOverrides as I, resolveEntryRouteTarget as It, updateFooterComposition as J, ChoiceTileGroup as Jt, getFooterEngagementAuthoringOptions as K, getResponsiveScopeSpec as Kt, SessionJournalHost as L, resolvePageRouteTarget as Lt, runtimeContentDecorationProjectionFromServerPage as M, footerArrangementPolicy as Mn, LINKED_CONTENT_ENTRY_META_KEY as Mt, mergeResolvedDataContext as N, planFooterArrangement as Nn, coerceLinkedContentEntriesPayload as Nt, pageDesignRuntimeProjectionFromSource as O, resolveFooterSections as On, buildAppointmentServicesView as Ot, withRenderedContentEntry as P, getLinkedContentEntryMeta as Pt, MediaEditorContextProvider as Q, SelectContent as Qt, useSiteEditorAdmission as R, resolveRouteTarget as Rt, HeaderMenuControls as S, classifyKnownMimeType as Sn, makeDefaultBlockComponent as St, PreviewThemeRenderingProvider as T, parseFooterEngagementSection as Tn, readBlockComposition as Tt, SiteOptionWidgetProvider as U, escapeStyleContent as Ut, resolveFooterLayoutHints as V, themeRuntimeScopeProps as Vt, useSiteOptionWidgetContext as W, mergeContentWithBlockStyleOverrides as Wt, updatePublicProfile as X, Textarea as Xt, updateFooterCredit as Y, Toaster as Yt, footerCreditLine as Z, Select as Zt, resolvePreviewEditorGuidanceModel as _, Trigger as _n, FieldLabelText as _t, PreviewChromeLayerProvider as a, FieldTrigger as an, ImageResolveContextProvider as at, SiteFontStorageProvider as b, Trigger$1 as bn, revealEditorElement as bt, PREVIEW_SITE_BANNER_ATTRIBUTE as c, FIELD_SURFACE_CLASS as cn, BlockApiProvider as ct, CustomizeBackgroundColorPicker as d, TabsContent as dn, SelectField as dt, SelectTrigger as en, useMediaEditorOptional as et, canInspectSiteStyle as f, TabsList as fn, hasEmptyOption as ft, sanitizeDashboardPath as g, Root2$1 as gn, FieldFrame as gt, resolvePreviewDashboardSetupHandoff as h, List as hn, unmapValueFromSelect as ht, PreviewChromeFloatingControl as i, SearchInput as in, NewsletterFormClient as it, entryFieldRebindingProjection as j, validateFooterComposition as jn, Text as jt, resolveRuntimePreviewSourceForTheme as k, setFooterSectionSelected as kn, renderInlineText as kt, planBlockToolbarPlacement as l, useFieldDescribedBy as ln, BlockContextProvider as lt, buildPreviewDashboardSetupUrl as m, Content as mn, mapOptionValueForSelect as mt, SiteChromeSurfaceControls as n, usePrevious as nn, TransferError as nt, readThemeCustomProperties as o, Input as on, useImageResolveContextOptional as ot, resolveSiteStyleAccess as p, TabsTrigger as pn, mapCurrentValueForSelect as pt, getPublicProfile as q, CHOSEN_OPTION_CLASS as qt, PreviewChromeFloatingBar as r, clamp as rn, clientComponentRegistry as rt, measureSiteTopChromeClearance as s, FIELD_FOCUS_WITHIN_CLASS as sn, FormNodeClient as st, SiteChromeCustomizeButton as t, SelectValue as tn, useApiMediaUploader as tt, CustomizeBackgroundControlRows as u, Tabs as un, useBlockContext as ut, resolvePreviewSetupBannerModel as v, Content$1 as vn, useField as vt, PreviewCompiledThemeProvider as w, normalizeLegacyFooterContentToV1 as wn, blockLookFromContent as wt, useSiteFontStorageUrl as x, defaultThemeTokens as xn, ThemeScopeCore as xt, resolvePreviewSidebarChromeModel as y, Root as yn, useLinkedInlineTextField as yt, renderSiteChromeBlock as z, buildThemeDataAttrs as zt };