@riverbankcms/sdk 0.182.0 → 0.183.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/CHANGELOG.md +79 -0
  2. package/README.md +49 -3
  3. package/dist/_dts/{BlocksIslandsHydrator-Bvw2bUif.d.ts → BlocksIslandsHydrator-X1_G96iN.d.ts} +1 -1
  4. package/dist/_dts/{Page-B2EAT-bE.d.ts → Page-CEqZJZEE.d.ts} +7 -7
  5. package/dist/_dts/{SdkPreviewMode-D0vww6rh.d.ts → SdkPreviewMode-DQejfbXL.d.ts} +2 -2
  6. package/dist/_dts/{client-D6T430bk.d.ts → client-B_B_amKD.d.ts} +2 -1
  7. package/dist/_dts/{content-types-wZVWccC6.d.ts → content-types-Dhx5Ocvx.d.ts} +9 -16
  8. package/dist/_dts/{contracts-B-vtOcr8.d.ts → contracts-FeOnfoa1.d.ts} +3 -3
  9. package/dist/_dts/{generatePageMetadata-CxfwHE6z.d.ts → generatePageMetadata-m70J6tit.d.ts} +2 -2
  10. package/dist/_dts/{index-CEyYMhLJ.d.ts → index-BOpUh8kO.d.ts} +1 -1
  11. package/dist/_dts/{index-DIU-wL1M.d.ts → index-Bizdaxji.d.ts} +2 -2
  12. package/dist/_dts/{index-Cqxis-nv.d.ts → index-BxCmCit0.d.ts} +1 -1
  13. package/dist/_dts/{index-CQrb3Ccc.d.ts → index-CjAkEWAp.d.ts} +4 -4
  14. package/dist/_dts/{index-DqPKdeTk.d.ts → index-iuFrbIjt.d.ts} +1 -1
  15. package/dist/_dts/{index-CciRW_w1.d.ts → index-liuhlOX7.d.ts} +2 -2
  16. package/dist/_dts/{loadContent-D0wrxiSp.d.ts → loadContent-D4wrTIIw.d.ts} +7 -7
  17. package/dist/_dts/{request-DEwxUSw8.d.ts → request-Gn0O1blj.d.ts} +24912 -23733
  18. package/dist/_dts/{resolveBlockData-VaG_MYbN.d.ts → resolveBlockData-D5duwuqS.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-DTwklC_v.d.ts → resolvePageContent-xzJ3c9Na.d.ts} +1 -1
  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 +7 -7
  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/gifting/client.d.ts +1 -1
  30. package/dist/_dts/sdk/src/index.d.ts +8 -8
  31. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  33. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  35. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  36. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  37. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  38. package/dist/_dts/sdk/src/portal/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  40. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  42. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  44. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  46. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  47. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  48. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  49. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  50. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  51. package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
  52. package/dist/_dts/sdk/src/server.d.ts +5 -5
  53. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  54. package/dist/_dts/sdk/src/theme/index.d.ts +91 -2
  55. package/dist/_dts/{serviceBookingOutline-DtQuFlID.d.ts → serviceBookingOutline-B1gyJon_.d.ts} +7 -7
  56. package/dist/_dts/{types-B3RjeBLV.d.ts → types-BoITy0rA.d.ts} +41 -4
  57. package/dist/_dts/{types-BvUSGQrw.d.ts → types-DBNuMtSk.d.ts} +16 -5
  58. package/dist/_dts/{types-CkRFtBqd.d.ts → types-DHMcuoeQ.d.ts} +7 -7
  59. package/dist/_dts/{validation-BZA3DhcV.d.ts → validation-BIPO-XlE.d.ts} +4 -4
  60. package/dist/client/{BlocksIslandsHydrator-CQMf0HdN.mjs → BlocksIslandsHydrator-Ct8slgRk.mjs} +22 -18
  61. package/dist/client/{BookingMailingListNote-7kdvuPow.mjs → BookingMailingListNote-qqTxGGS4.mjs} +7 -7
  62. package/dist/client/{BookingQuestionFields-BJI7mZuV.mjs → BookingQuestionFields-DCh9MUIF.mjs} +2 -2
  63. package/dist/client/{CalendarAction-D_Glwvz2.mjs → CalendarAction-RcdaStG7.mjs} +1 -1
  64. package/dist/client/{CalendarNavigationChevron-DPUD6wjy.mjs → CalendarNavigationChevron-D7Wt-Oaa.mjs} +25 -8
  65. package/dist/client/{CheckboxChoice-C8i4NraK.mjs → CheckboxChoice-BdGxZWeg.mjs} +1 -1
  66. package/dist/client/{DemoBookingPortalAccess-8kwNF9HN.mjs → DemoBookingPortalAccess-HFVkoOac.mjs} +5 -5
  67. package/dist/client/{EventCalendar.client-Dhb14bcC.mjs → EventCalendar.client-BtkJW8bA.mjs} +10 -10
  68. package/dist/client/{EventCombined.client-C1jEZBN9.mjs → EventCombined.client-DxaGjFFS.mjs} +9 -9
  69. package/dist/client/{EventEmbeddedCheckoutStep-BGkbUhuw.mjs → EventEmbeddedCheckoutStep-B2c5dR49.mjs} +1 -1
  70. package/dist/client/{EventItem-Bb0ppG2N.mjs → EventItem-Fr2qi2C2.mjs} +29 -14
  71. package/dist/client/{EventListWeekNavigation-DMryCaNV.mjs → EventListWeekNavigation-BRMaq0ky.mjs} +1 -1
  72. package/dist/client/{EventListing.client-BuH5kKA3.mjs → EventListing.client-BhGxfbjt.mjs} +3 -3
  73. package/dist/client/{EventListing.view-DsqvuulZ.mjs → EventListing.view-COuEJzbO.mjs} +6 -6
  74. package/dist/client/{EventRegistrationPayment-D4FvQSFF.mjs → EventRegistrationPayment-BTLYhVxD.mjs} +21 -42
  75. package/dist/client/{Page-sV6BJkXX.mjs → Page-CgbQZP5g.mjs} +2786 -927
  76. package/dist/client/{ProtectedSubmitButton-BNnKuir8.mjs → ProtectedSubmitButton-BG7my0Qf.mjs} +1 -1
  77. package/dist/client/{SiteTermsAgreementField-VfSd6JU-.mjs → SiteTermsAgreementField-DQNkfNLA.mjs} +3 -3
  78. package/dist/client/{StepIndicator-B6o5B7g3.mjs → StepIndicator-DvPekKeM.mjs} +1 -1
  79. package/dist/client/{StepIndicator-BTqO7cJl.mjs → StepIndicator-DyXoI3ob.mjs} +7 -7
  80. package/dist/client/{ThemedButton-PFOhXktM.mjs → ThemedButton-Bc9DBbVp.mjs} +42 -9
  81. package/dist/client/{accessibleSurfaces-BogaGutk.mjs → accessibleSurfaces-wj4Rloo5.mjs} +336 -119
  82. package/dist/client/{accordion-6cuswD_s.mjs → accordion-BVXfjnh-.mjs} +1 -1
  83. package/dist/client/{booking-form.client-BOMe_SKi.mjs → booking-form.client-DycPGtke.mjs} +191 -71
  84. package/dist/client/{bookingForm-DSCH-VHo.mjs → bookingForm-DrWSUqL3.mjs} +4 -4
  85. package/dist/client/bookings.mjs +5 -5
  86. package/dist/client/{boxStyleClassNames-BFuqZCfz.mjs → boxStyleClassNames-CduDRcIk.mjs} +2 -2
  87. package/dist/client/buttonParts-CJEtVOUy.mjs +1511 -0
  88. package/dist/client/{carousel-CGyQVV1M.mjs → carousel-DyCLMP8s.mjs} +2 -2
  89. package/dist/client/{carousel.client-BtLwHefX.mjs → carousel.client-DffP_Nv0.mjs} +1 -1
  90. package/dist/client/{cart-BYOe7MCh.mjs → cart-BuEp_cj4.mjs} +3 -3
  91. package/dist/client/{cart.client-BKFkaXdV.mjs → cart.client-CAO39uDG.mjs} +1 -1
  92. package/dist/client/{checkout-Dwd7Di77.mjs → checkout-BoxzT64s.mjs} +3 -3
  93. package/dist/client/{checkout.client-C25hpi-z.mjs → checkout.client-IGUy7XOx.mjs} +1 -1
  94. package/dist/client/{checkoutUrls-tG788sw0.mjs → checkoutUrls-D0UsiFmm.mjs} +1 -1
  95. package/dist/client/client.mjs +446 -93
  96. package/dist/client/{constants-DdxFG3Ic.mjs → constants-C_8AxMdm.mjs} +1 -1
  97. package/dist/client/{context-Hi1RuYEM.mjs → context-D1L0pe__.mjs} +2 -2
  98. package/dist/client/{dateFormatting-C8vBCHuo.mjs → dateFormatting-HvfmS_cH.mjs} +1 -1
  99. package/dist/client/{demoPortalMagicLink-BAL5UIDG.mjs → demoPortalMagicLink-BunFTnIq.mjs} +1 -1
  100. package/dist/client/{enhanceHeaderSection-Dv1Lr9kJ.mjs → enhanceHeaderSection-CtLAG651.mjs} +4 -4
  101. package/dist/client/{event-registration.client-dB_Z7bb-.mjs → event-registration.client-DiSxkBUP.mjs} +15 -15
  102. package/dist/client/{eventCalendar-CQnRA4Ww.mjs → eventCalendar-DUnhwZ1o.mjs} +4 -4
  103. package/dist/client/{eventCombined-BDOG1hVp.mjs → eventCombined-BvBQo0nF.mjs} +4 -4
  104. package/dist/client/{eventListing-DSVmhy9n.mjs → eventListing-aTLifOX7.mjs} +4 -4
  105. package/dist/client/{eventRegistration-CD5mRtEH.mjs → eventRegistration-DFd7pr09.mjs} +4 -4
  106. package/dist/client/{form-DWnlEVSK.mjs → form-Dikmc2AO.mjs} +3 -3
  107. package/dist/client/{form.client-D7zmeqNI.mjs → form.client-zHaQK5I9.mjs} +5 -5
  108. package/dist/client/{form.parts-C-G6N_MK.mjs → form.parts-BLl9n8TH.mjs} +3 -3
  109. package/dist/client/gifting/client.mjs +16 -9
  110. package/dist/client/{gifting-Cn0jidP5.mjs → gifting-CufPM38H.mjs} +4 -4
  111. package/dist/client/{gifting.client-DVo1YFLs.mjs → gifting.client--N1GaSY8.mjs} +155 -84
  112. package/dist/client/gifting.interactive-D9MK4HkV.mjs +157 -0
  113. package/dist/client/gifting.parts-CRtiRzo-.mjs +119 -0
  114. package/dist/client/{headerSection-DjQuj_6v.mjs → headerSection-BIaBpmk3.mjs} +2 -2
  115. package/dist/client/{noop-jesvJXEE.mjs → islands-DJDLGQEm.mjs} +14007 -6685
  116. package/dist/client/{newsletter-form.client-rIYPziZC.mjs → newsletter-form.client-wg_JHTxm.mjs} +6 -6
  117. package/dist/client/{newsletter-form.interactive-DVt3enLr.mjs → newsletter-form.interactive-hzpkW9NQ.mjs} +226 -195
  118. package/dist/client/{newsletter-form.parts-CH6dGfdn.mjs → newsletter-form.parts-CgzpSv9p.mjs} +2 -2
  119. package/dist/client/{newsletterForm-Cg8cBDHd.mjs → newsletterForm-CvxLiEBT.mjs} +3 -3
  120. package/dist/client/portal/client.mjs +31 -27
  121. package/dist/client/{portalOrders-oEoTvzkW.mjs → portalOrders-tCxS04g0.mjs} +3 -2
  122. package/dist/client/{portalRoutes-ByyVZfVq.mjs → portalRoutes-DTHlWg_F.mjs} +22 -7
  123. package/dist/client/{product-detail.client-5aHq-vuu.mjs → product-detail.client-22Q7zgjN.mjs} +1 -1
  124. package/dist/client/{product-list.client-CyAk5rnC.mjs → product-list.client-DFWYvK8z.mjs} +1 -1
  125. package/dist/client/{productDetail-B8aZ2mqY.mjs → productDetail-DhZAwo60.mjs} +3 -3
  126. package/dist/client/{productList-BuLemmod.mjs → productList-BiVpbZK2.mjs} +3 -3
  127. package/dist/client/{propsDecoder-0Unsqn3R.mjs → propsDecoder-DFYqKnLy.mjs} +4 -2
  128. package/dist/client/{registry.server-DzvtVVD0.mjs → registry.server-C3OBRg7x.mjs} +2027 -781
  129. package/dist/client/rendering/client.mjs +29 -26
  130. package/dist/client/rendering/islands.mjs +1 -1
  131. package/dist/client/rendering.mjs +5 -5
  132. package/dist/client/{richText-coerce-Bnng7JFA.mjs → richText-coerce-ms477Z08.mjs} +2 -2
  133. package/dist/client/{routeIslandApiConfig-BGfcc9sk.mjs → routeIslandApiConfig-B6nQeqvH.mjs} +1 -1
  134. package/dist/client/{runtimeResponse-DAPVRToN.mjs → runtimeResponse-BYqsV1Kb.mjs} +1 -1
  135. package/dist/client/runtimeResponse-CUX_lldL.mjs +3 -0
  136. package/dist/client/{shop-commerce-D5bDY1o1.mjs → shop-commerce-DVsIcPaI.mjs} +16 -15
  137. package/dist/client/{shop-commerce-store-B7sHnLwI.mjs → shop-commerce-store-7mO6KY7_.mjs} +1 -1
  138. package/dist/client/{shop-discount-apply.state-Dos2zdC2.mjs → shop-discount-apply.state-L1Vge8tG.mjs} +2 -2
  139. package/dist/client/{shop-GuMqnDL-.mjs → shop-xt4dQ3HH.mjs} +3 -3
  140. package/dist/client/{shop.client-uvj5GDZb.mjs → shop.client-DNJfD3VQ.mjs} +28 -17
  141. package/dist/client/{shopShared-3giNWE3H.mjs → shopShared-DS8t6749.mjs} +2 -2
  142. package/dist/client/spam-protection.mjs +1 -1
  143. package/dist/client/{src-CmXh3JWs.mjs → src-Do_s2lqH.mjs} +11 -18
  144. package/dist/client/{timetableModel-GA-hn1qM.mjs → timetableModel-Dy3nNfTG.mjs} +11 -8
  145. package/dist/client/{useAvailableSlots-CBneCxbG.mjs → useAvailableSlots-DcjtDpUu.mjs} +2 -2
  146. package/dist/client/{useDiscountCodeUi-D0kGF0C7.mjs → useDiscountCodeUi-DvdFFWOT.mjs} +1 -1
  147. package/dist/client/{useEventPagination-xX8n_Tuu.mjs → useEventPagination-Cq-7sU5_.mjs} +8 -8
  148. package/dist/client/{view-DOyZc-DF.mjs → view-4gnPcpWJ.mjs} +24 -9
  149. package/dist/client/{wizardSteps-B952ify5.mjs → wizardSteps-DDvL3iza.mjs} +76 -159
  150. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-aRJjq4x8.mjs → EventEmbeddedCheckoutStep-CLqSRUpt.mjs} +1 -1
  151. package/dist/preview-next/client/{LocationPickerEnvironment-BW3dRFIv.mjs → LocationPickerEnvironment-CIdAg-Tm.mjs} +1 -1
  152. package/dist/preview-next/client/{MapLibreEditMap-Db9BHyXh.mjs → MapLibreEditMap-Bm85jX35.mjs} +2 -2
  153. package/dist/preview-next/client/{PageSectionToolbar-BI3UCdpu.mjs → PageSectionToolbar-D8srnz9R.mjs} +445 -18
  154. package/dist/preview-next/client/{PreviewEditorSidebar-jkfLVOgY.mjs → PreviewEditorSidebar-DVpk5cqp.mjs} +3864 -1943
  155. package/dist/preview-next/client/{PreviewEditorUI-DwJQs4hM.mjs → PreviewEditorUI-XoTtHSFH.mjs} +11 -36
  156. package/dist/preview-next/client/{PreviewShell-BAxAkuz8.mjs → PreviewShell-VQHsRg2u.mjs} +40 -35
  157. package/dist/preview-next/client/{SdkPreviewModeRuntime-0UVB-39f.mjs → SdkPreviewModeRuntime-CLdF9f6o.mjs} +12 -8
  158. package/dist/preview-next/client/{ThemedButton-CVYz7h68.mjs → ThemedButton-ORNN4x-3.mjs} +782 -16
  159. package/dist/preview-next/client/{lucide-react-00FF_oar.mjs → lucide-react-eAi3tDAr.mjs} +11 -1
  160. package/dist/preview-next/client/{previewAssistantSlot-BgiYk3PB.mjs → previewAssistantSlot-CqH91EwA.mjs} +17988 -6757
  161. package/dist/preview-next/client/{previewChromeRoot-tieNdF3E.mjs → previewChromeRoot-B3ySEu6p.mjs} +3 -90
  162. package/dist/preview-next/client/runtime.mjs +3 -3
  163. package/dist/preview-next/client/{sdk-runtime-DXb_Evl0.mjs → sdk-runtime-CdpSupcr.mjs} +2 -2
  164. package/dist/preview-next/client/{siteStyleAccess-BlN0jt2c.mjs → siteStyleAccess-C6eOP6QW.mjs} +35 -6
  165. package/dist/preview-next/client/{useAutosaveStatus-BUEPA4oL.mjs → useAutosaveStatus-BhPg4e-r.mjs} +49 -3
  166. package/dist/preview-next/client/{useOpenBlockForSetup-BVfr5P--.mjs → useOpenBlockForSetup-BaWUF9D7.mjs} +2007 -448
  167. package/dist/preview-next/container-responsive.css +320 -0
  168. package/dist/preview-next/editor-chrome.css +23 -2
  169. package/dist/preview-next/keepAlive.mjs +1 -1
  170. package/dist/preview-next/middleware.mjs +1 -1
  171. package/dist/preview-next/{route-contract-BHTBA48n.mjs → route-contract-Ch0X99vE.mjs} +163 -17
  172. package/dist/server/{Block.shared-hGoyEdjJ.mjs → Block.shared-B2FmczLO.mjs} +5 -5
  173. package/dist/server/{ThemeScopeCore-BfUCTOwj.mjs → ThemeScopeCore-DtAyv9qA.mjs} +17 -7
  174. package/dist/server/{accessibleSurfaces-Dskni4Xj.mjs → accessibleSurfaces-BtPqb76u.mjs} +418 -31
  175. package/dist/server/{accordions-By_0Ykks.mjs → accordions-vzdZ2Wt1.mjs} +1 -1
  176. package/dist/server/{bindings-DMJH4bvo.mjs → bindings-B_9JuU66.mjs} +7 -7
  177. package/dist/server/{client-DrwlRNAH.mjs → client-DC7cjiSw.mjs} +469 -92
  178. package/dist/server/config-validation.mjs +1 -1
  179. package/dist/server/config.mjs +2 -2
  180. package/dist/server/{constants-CeMywaiD.mjs → constants-d6nPNJpe.mjs} +22 -6
  181. package/dist/server/{customCss-C9kgPHvr.mjs → customCss-rtIfEYwQ.mjs} +1 -18
  182. package/dist/server/data/resolveBlockData.mjs +1 -1
  183. package/dist/server/{expandPalette-ehuW8r2g.mjs → expandPalette-DxPrNOAB.mjs} +182 -90
  184. package/dist/server/index.mjs +3 -3
  185. package/dist/server/{loadContent-D0prFflT.mjs → loadContent-hb27HYic.mjs} +11 -10
  186. package/dist/server/{loadPage-CBLke9pJ.mjs → loadPage-JToD8wDD.mjs} +3 -3
  187. package/dist/server/{lookMediaFrame-H0fi4bJk.mjs → lookMediaFrame-CTsycLLK.mjs} +94 -39
  188. package/dist/server/manifest.mjs +2 -2
  189. package/dist/server/{navigation-wrcuWmgp.mjs → navigation-B2WhGofA.mjs} +1 -1
  190. package/dist/server/navigation.mjs +1 -1
  191. package/dist/server/next.mjs +8 -8
  192. package/dist/server/{overrideResolution-DUgCEH8z.mjs → overrideResolution-vD5KTClL.mjs} +1 -1
  193. package/dist/server/page-converter.mjs +3 -3
  194. package/dist/server/{pageRenderPlan-BHrmogsW.mjs → pageRenderPlan-CdqJ1NQZ.mjs} +86 -97
  195. package/dist/server/{pageRuntimeSupport-D2-YMRei.mjs → pageRuntimeSupport-CAhr4oOf.mjs} +3 -3
  196. package/dist/server/{pageShared-CG8O31Eo.mjs → pageShared-m80Xu2pd.mjs} +429 -247
  197. package/dist/server/{parseThemeForPersistence-CrPlbJEN.mjs → parseThemeForPersistence-CRwOZfpa.mjs} +3 -3
  198. package/dist/server/{portal-pG_uhsI2.mjs → portal-B2wCQno_.mjs} +1 -1
  199. package/dist/server/portal.mjs +2 -2
  200. package/dist/server/{prebuild-C8Amvzce.mjs → prebuild-BWIkFaXq.mjs} +1 -1
  201. package/dist/server/prebuild.mjs +1 -1
  202. package/dist/server/{prefetchBlockData-BxUETRIZ.mjs → prefetchBlockData-D1PHU-K9.mjs} +3 -3
  203. package/dist/server/{registry-Cc88-23f.mjs → registry-KtsOsAzY.mjs} +20113 -9774
  204. package/dist/server/rendering/components/pageShared.mjs +1 -1
  205. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  206. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  207. package/dist/server/rendering/server.mjs +4 -4
  208. package/dist/server/rendering.mjs +9 -9
  209. package/dist/server/{resolveBlockData-OG3KOkig.mjs → resolveBlockData-sjIDJYl7.mjs} +1 -1
  210. package/dist/server/{schema-CwfxQjc4.mjs → schema-BBEqquBM.mjs} +44 -28
  211. package/dist/server/server.mjs +3 -3
  212. package/dist/server/{servicePageContent-BcFuhhD7.mjs → servicePageContent-ChEZDRwU.mjs} +37 -14
  213. package/dist/server/theme-bridge.mjs +3 -3
  214. package/dist/server/theme.mjs +2 -2
  215. package/dist/server/{three-pass-converter-DPaUPTfl.mjs → three-pass-converter-DKCIBeb1.mjs} +2 -2
  216. package/dist/server/{titleSourceSchema-NhK6azFS.mjs → titleSourceSchema-DybHErxH.mjs} +4 -4
  217. package/dist/server/{typeGuards-CTW_9AXq.mjs → typeGuards-DZOaGTEv.mjs} +126 -126
  218. package/dist/server/{types-BKaBZFjD.mjs → types-vyz09w64.mjs} +479 -8
  219. package/dist/server/{validation-BovmbS8N.mjs → validation-Cvi-1TZZ.mjs} +13 -9
  220. package/dist/server/{version-hws4hgyX.mjs → version-B-icAIV1.mjs} +1 -1
  221. package/dist/server/{video-Cdr3wh-q.mjs → video-DBaeSawZ.mjs} +1 -1
  222. package/dist/styles/index.css +2482 -108
  223. package/package.json +1 -1
  224. package/dist/client/gifting.parts-Bak93gD2.mjs +0 -86
  225. package/dist/client/runtimeResponse-nXT8VAMl.mjs +0 -3
  226. package/dist/client/types-BEaKfam_.mjs +0 -778
@@ -1,10 +1,15 @@
1
1
  "use client";
2
- import { ei as membershipCardListContent, ni as passCardListContent, ti as membershipClassesLabel } from "./wizardSteps-B952ify5.mjs";
3
- import { i as listLookSlot } from "./noop-jesvJXEE.mjs";
4
- import { n as ThemedButton } from "./ThemedButton-PFOhXktM.mjs";
5
- import { r as EventItem, t as CardListCollection } from "./EventItem-Bb0ppG2N.mjs";
2
+ import { ei as membershipCardListContent, ni as passCardListContent, ti as membershipClassesLabel } from "./wizardSteps-DDvL3iza.mjs";
3
+ import { d as listLookSlot } from "./islands-DJDLGQEm.mjs";
4
+ import { n as ThemedButton } from "./ThemedButton-Bc9DBbVp.mjs";
5
+ import { r as EventItem, t as CardListCollection } from "./EventItem-Fr2qi2C2.mjs";
6
6
  import React from "react";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
+ //#region ../blocks/src/system/runtime/editorParts.ts
9
+ const unmarked = {};
10
+ /** Visitors' pages, and any renderer the editor doesn't drive. */
11
+ const noEditorParts = () => unmarked;
12
+ //#endregion
8
13
  //#region ../blocks/src/system/runtime/nodes/commerce/shared/view.tsx
9
14
  function VariantSelectView(props) {
10
15
  const { options, selectedVariantId, disabled = false, onChange } = props;
@@ -253,9 +258,10 @@ function MembershipCardView(props) {
253
258
  });
254
259
  }
255
260
  function PassesMembershipsSectionView(props) {
256
- const { display, beforeContent, passCards, membershipCards } = props;
261
+ const { display, beforeContent, passCards, membershipCards, part = noEditorParts } = props;
257
262
  if (props.presentation?.lookSlots) return /* @__PURE__ */ jsx(ShopCardListSections, {
258
263
  ...props,
264
+ part,
259
265
  presentation: props.presentation
260
266
  });
261
267
  const productsClass = `shop__products shop__products--${display.layout}`;
@@ -275,6 +281,7 @@ function PassesMembershipsSectionView(props) {
275
281
  className: "shop__section shop__section--passes",
276
282
  children: [/* @__PURE__ */ jsx("h3", {
277
283
  className: "shop__section-heading",
284
+ ...part("passesHeading"),
278
285
  children: display.passesHeading
279
286
  }), /* @__PURE__ */ jsx("div", {
280
287
  className: productsClass,
@@ -285,6 +292,7 @@ function PassesMembershipsSectionView(props) {
285
292
  className: "shop__section shop__section--memberships",
286
293
  children: [/* @__PURE__ */ jsx("h3", {
287
294
  className: "shop__section-heading",
295
+ ...part("membershipsHeading"),
288
296
  children: display.membershipsHeading
289
297
  }), /* @__PURE__ */ jsx("div", {
290
298
  className: productsClass,
@@ -352,13 +360,15 @@ function CheckoutShellView(props) {
352
360
  });
353
361
  }
354
362
  function ShopCardListSections(props) {
355
- const { display, presentation } = props;
363
+ const { display, presentation, part } = props;
356
364
  const groups = [{
357
365
  heading: display.passesHeading,
366
+ headingPart: part("passesHeading"),
358
367
  items: display.passes,
359
368
  cards: props.passCards
360
369
  }, {
361
370
  heading: display.membershipsHeading,
371
+ headingPart: part("membershipsHeading"),
362
372
  items: display.memberships,
363
373
  cards: props.membershipCards
364
374
  }];
@@ -373,6 +383,7 @@ function ShopCardListSections(props) {
373
383
  ...listLookSlot(presentation, "group"),
374
384
  children: [/* @__PURE__ */ jsx("h3", {
375
385
  ...listLookSlot(presentation, "group-label"),
386
+ ...group.headingPart,
376
387
  children: group.heading
377
388
  }), /* @__PURE__ */ jsx(ShopCardListCollection, {
378
389
  presentation,
@@ -399,16 +410,20 @@ function ShopCardListCollection(props) {
399
410
  }))
400
411
  });
401
412
  }
402
- function ShopPurchaseAction({ presentation, ...props }) {
403
- if (presentation?.itemActionStyle !== "link") return /* @__PURE__ */ jsx(ThemedButton, { ...props });
413
+ function ShopPurchaseAction({ presentation, editorPart, ...props }) {
414
+ if (presentation?.itemActionStyle !== "link") return /* @__PURE__ */ jsx(ThemedButton, {
415
+ ...props,
416
+ ...editorPart
417
+ });
404
418
  return /* @__PURE__ */ jsx("button", {
405
419
  type: "button",
406
420
  className: "rb-item-text-link",
407
421
  onClick: props.onClick,
408
422
  disabled: props.disabled,
409
423
  "aria-disabled": props["aria-disabled"],
424
+ ...editorPart,
410
425
  children: props.label
411
426
  });
412
427
  }
413
428
  //#endregion
414
- export { PassPurchaseUnavailable as a, ProductDetailView as c, ShopPurchaseAction as d, VariantSelectView as f, PassCardView as i, ProductGalleryFrameView as l, CheckoutShellView as n, PassesMembershipsSectionView as o, MembershipCardView as r, ProductCardView as s, CartShellView as t, ProductListSectionView as u };
429
+ export { PassPurchaseUnavailable as a, ProductDetailView as c, ShopPurchaseAction as d, VariantSelectView as f, PassCardView as i, ProductGalleryFrameView as l, CheckoutShellView as n, PassesMembershipsSectionView as o, noEditorParts as p, MembershipCardView as r, ProductCardView as s, CartShellView as t, ProductListSectionView as u };
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import { d as unsafeAsStoragePath, f as parseUuidBrand, i as resolveManagedMediaReference, l as unsafeAsMediaAssetId, m as ok$1, o as parseCanonicalMediaIdentifier, p as err, u as unsafeAsStorageBucketName } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
3
- import { An as formatCurrencyAmount, Bn as parseEventSeriesId, Cn as toUtcIsoDateTimeString, Ct as unsafeAsPositiveCheckoutQuantity, Dn as parsePositiveCents, Dt as eventCalendarDisplayModeValues, En as toBookingTimeZone, Et as eventCalendarDefaultViewValues, J as runtimeMediaSchema, Nn as parseAppointmentServiceId, O as toBookingRequirementConsentField, Ot as eventCalendarListLayoutCompatibleDisplayModeValues, Sn as parseUtcIsoDateTimeString, St as roomChoicesSchema, T as blockBookingConsentSchema, Tn as resolveBookingTimeZoneId, Tt as normalizeCurrencyCode, _n as formatLocalScheduleDate, an as formatDateTimeRange, at as eyebrowTreatmentValues, bn as parseBookingLocalDate, bt as placesFor, c as blockSiteTermsSchema, cn as formatTime$2, dn as inferSiteDateLocale, dt as bookingQuestionsAnswerValueSchema, fn as resolveBookingDisplayContext, gn as compareLocalScheduleDates, hn as addLocalScheduleDays, in as formatDateTime, j as eventCalendarListLayoutOptions, k as beforeBookingQuestionsPresentationSchema, kn as toNonNegativeCents, kt as eventCalendarListLayoutValues, ln as formatTimeRange, mn as toScheduledBookingDateTime, nn as formatDate$2, on as formatSiteInstantDate, ot as headingDecorationColorTokenValues, rn as formatDateRange, sn as formatSiteInstantTime, t as assertNever$2, tn as validateBookingPaymentOptionKinds, ut as visibleHeadingDecorationFamilyValues, vn as getBookingLocalDateKey, w as blockBookingPaymentTermsSchema, wn as resolveBookingBusinessTimeZone, wt as allocateReductionCents, xn as parseLocalScheduleTime, xt as reviewedRoomsSchema, yn as getLocalScheduleDate, yt as ROOM_PLACES, zn as parseEventOfferingId } from "./src-CmXh3JWs.mjs";
3
+ import { An as formatCurrencyAmount, Bn as parseEventSeriesId, Cn as toUtcIsoDateTimeString, Ct as unsafeAsPositiveCheckoutQuantity, Dn as parsePositiveCents, Dt as eventCalendarDisplayModeValues, En as toBookingTimeZone, Et as eventCalendarDefaultViewValues, Nn as parseAppointmentServiceId, O as toBookingRequirementConsentField, Ot as eventCalendarListLayoutCompatibleDisplayModeValues, Sn as parseUtcIsoDateTimeString, St as roomChoicesSchema, T as blockBookingConsentSchema, Tn as resolveBookingTimeZoneId, Tt as normalizeCurrencyCode, Y as runtimeMediaSchema, _n as formatLocalScheduleDate, an as formatDateTimeRange, at as eyebrowTreatmentValues, bn as parseBookingLocalDate, bt as placesFor, c as blockSiteTermsSchema, cn as formatTime$2, dn as inferSiteDateLocale, dt as bookingQuestionsAnswerValueSchema, fn as resolveBookingDisplayContext, gn as compareLocalScheduleDates, hn as addLocalScheduleDays, in as formatDateTime, j as eventCalendarListLayoutOptions, k as beforeBookingQuestionsPresentationSchema, kn as toNonNegativeCents, kt as eventCalendarListLayoutValues, ln as formatTimeRange, mn as toScheduledBookingDateTime, nn as formatDate$2, on as formatSiteInstantDate, ot as headingDecorationColorTokenValues, rn as formatDateRange, sn as formatSiteInstantTime, t as assertNever$2, tn as validateBookingPaymentOptionKinds, ut as visibleHeadingDecorationFamilyValues, vn as getBookingLocalDateKey, w as blockBookingPaymentTermsSchema, wn as resolveBookingBusinessTimeZone, wt as allocateReductionCents, xn as parseLocalScheduleTime, xt as reviewedRoomsSchema, yn as getLocalScheduleDate, yt as ROOM_PLACES, zn as parseEventOfferingId } from "./src-Do_s2lqH.mjs";
4
4
  import { c as checkBookingQuestionsAnswered, d as initialBookingQuestionsAnswerMode, f as initialBookingQuestionsValues, h as assertNever$3, p as resolveBookingQuestionsAnswerMode, r as bookingCalendar, s as buildBookingQuestionsSubmission } from "./bookingCalendar--aWnqFDn.mjs";
5
5
  import { t as stableJsonStringify } from "./stable-json-D0XAEIXc.mjs";
6
- import { Mt as blockAppearancePresets, Nt as resolveEffectiveKnobs, en as cardListFamilyBlocks, i as listLookSlot, r as listLookControl, tn as cardListKnobBlocks } from "./noop-jesvJXEE.mjs";
7
- import { g as blockColorTokenNames, w as parseColorTokenParts } from "./types-BEaKfam_.mjs";
8
- import { A as PUBLIC_BUTTON_ROLES, H as rgbColorValue, R as backgroundColorStyle, U as textColorStyle, V as mergeStyles } from "./accessibleSurfaces-BogaGutk.mjs";
9
- import { x as clsx } from "./ThemedButton-PFOhXktM.mjs";
6
+ import { Bt as resolveEffectiveKnobs, a as defineClientOwnedBlockRuntime, cn as cardListKnobBlocks, d as listLookSlot, i as createZodCodec, n as createInteractiveIslandCodec, r as defineInteractiveIslandMetaKeys, sn as cardListFamilyBlocks, t as buildInteractiveIslandProps, u as listLookControl, zt as blockAppearancePresets } from "./islands-DJDLGQEm.mjs";
7
+ import { D as blockColorTokenNames, F as parseColorTokenParts } from "./buttonParts-CJEtVOUy.mjs";
8
+ import { B as mergeStyles, H as textColorStyle, L as backgroundColorStyle, V as rgbColorValue, k as PUBLIC_BUTTON_ROLES } from "./accessibleSurfaces-wj4Rloo5.mjs";
9
+ import { x as clsx } from "./ThemedButton-Bc9DBbVp.mjs";
10
10
  import { a as getSupabaseUrl, i as getSiteId, n as getCurrentResolveImageUrlContext, r as getMediaAssetIndex } from "./mediaContext-DzvnjYXm.mjs";
11
11
  import { l as buildCalendarViewport$1, r as groupItemsByDate } from "./src-uwCpbHXG.mjs";
12
12
  import React from "react";
@@ -3470,6 +3470,15 @@ const standardAspectRatioOptions = [
3470
3470
  label: "9:16 (Tall portrait)"
3471
3471
  }
3472
3472
  ];
3473
+ /** How a settings row's line says each crop. */
3474
+ const standardAspectRatioPhrases = {
3475
+ auto: "not cropped",
3476
+ "16/9": "cropped to 16:9",
3477
+ "4/3": "cropped to 4:3",
3478
+ "1/1": "cropped square",
3479
+ "3/4": "cropped to 3:4",
3480
+ "9/16": "cropped to 9:16"
3481
+ };
3473
3482
  function createAspectRatioField(options = {}) {
3474
3483
  return {
3475
3484
  id: options.id ?? "aspectRatio",
@@ -4733,7 +4742,10 @@ function resolveTargetAspectRatio(size) {
4733
4742
  const AUTHORING_PLACEHOLDER_GROUND = { backgroundColor: "var(--rb-surface-line-color, rgb(var(--tb-surface)))" };
4734
4743
  function MediaPlaceholder({ className, style, fieldPath, authoring }) {
4735
4744
  return /* @__PURE__ */ jsx("div", {
4736
- "data-placeholder-field": authoring ? fieldPath : void 0,
4745
+ ...authoring && fieldPath ? {
4746
+ "data-placeholder-field": fieldPath,
4747
+ "data-editor-part": fieldPath
4748
+ } : {},
4737
4749
  className: clsx("rb-flex rb-h-48 rb-w-full rb-items-center rb-justify-center", className),
4738
4750
  style: mergeStyles(authoring ? AUTHORING_PLACEHOLDER_GROUND : backgroundColorStyle("surface"), style),
4739
4751
  children: /* @__PURE__ */ jsx("span", {
@@ -6086,136 +6098,6 @@ const calendarTabViewsSchema = z.enum([
6086
6098
  "week"
6087
6099
  ]);
6088
6100
  //#endregion
6089
- //#region ../blocks/src/contracts/runtime.ts
6090
- function decodeSuccess(value) {
6091
- return {
6092
- ok: true,
6093
- value
6094
- };
6095
- }
6096
- function decodeFailure(issues) {
6097
- return {
6098
- ok: false,
6099
- issues
6100
- };
6101
- }
6102
- function isDecodeSuccess(result) {
6103
- return result.ok;
6104
- }
6105
- function zodIssuePath(path) {
6106
- return path.flatMap((segment) => {
6107
- if (typeof segment === "string" || typeof segment === "number") return [segment];
6108
- return [String(segment)];
6109
- });
6110
- }
6111
- function createZodCodec(schema) {
6112
- return {
6113
- encode: (value) => value,
6114
- decode: (input) => {
6115
- const parsed = z.safeParse(schema, input);
6116
- if (parsed.success) return decodeSuccess(parsed.data);
6117
- return decodeFailure(parsed.error.issues.map((issue) => ({
6118
- path: zodIssuePath(issue.path),
6119
- message: issue.message
6120
- })));
6121
- }
6122
- };
6123
- }
6124
- function defineProgressiveBlockRuntime(runtime) {
6125
- return runtime;
6126
- }
6127
- function defineClientOwnedBlockRuntime(runtime) {
6128
- return runtime;
6129
- }
6130
- //#endregion
6131
- //#region ../blocks/src/contracts/islands.ts
6132
- function isObjectRecord(value) {
6133
- return typeof value === "object" && value !== null;
6134
- }
6135
- function pickRecordKeys(source, keys) {
6136
- return Object.fromEntries(keys.map((key) => [key, source[key]]));
6137
- }
6138
- function expectEncodedRecord(value, label) {
6139
- if (isObjectRecord(value)) return value;
6140
- throw new Error(`Expected ${label} codec to encode an object`);
6141
- }
6142
- function prefixIssues(prefix, issues) {
6143
- return issues.map((issue) => ({
6144
- path: [...prefix, ...issue.path],
6145
- message: issue.message
6146
- }));
6147
- }
6148
- function defineInteractiveIslandMetaKeys(...keys) {
6149
- return keys;
6150
- }
6151
- function buildInteractiveIslandProps(options) {
6152
- const render = {
6153
- mode: options.mode,
6154
- ...options.runtime.buildRender(options.source)
6155
- };
6156
- return {
6157
- ...options.meta,
6158
- renderKind: options.runtime.kind,
6159
- render
6160
- };
6161
- }
6162
- function createInteractiveIslandCodec(options) {
6163
- return {
6164
- encode: (value) => {
6165
- const meta = expectEncodedRecord(options.meta.encode(options.selectMeta(value)), "meta");
6166
- const render = expectEncodedRecord(options.runtime.contracts.render.encode({
6167
- display: value.render.display,
6168
- hydration: value.render.hydration
6169
- }), "render");
6170
- return {
6171
- ...meta,
6172
- renderKind: options.runtime.kind,
6173
- render: {
6174
- mode: options.mode,
6175
- ...render
6176
- }
6177
- };
6178
- },
6179
- decode: (input) => {
6180
- if (!isObjectRecord(input)) return decodeFailure([{
6181
- path: [],
6182
- message: "Expected island props object"
6183
- }]);
6184
- const metaResult = options.meta.decode(pickRecordKeys(input, options.metaKeys));
6185
- const renderIssues = [];
6186
- if (input.renderKind !== options.runtime.kind) renderIssues.push({
6187
- path: ["renderKind"],
6188
- message: `Expected renderKind "${options.runtime.kind}"`
6189
- });
6190
- const renderInput = input.render;
6191
- if (!isObjectRecord(renderInput)) renderIssues.push({
6192
- path: ["render"],
6193
- message: "Expected render object"
6194
- });
6195
- else {
6196
- if (renderInput.mode !== options.mode) renderIssues.push({
6197
- path: ["render", "mode"],
6198
- message: `Expected render.mode "${options.mode}"`
6199
- });
6200
- const renderResult = options.runtime.contracts.render.decode({
6201
- display: renderInput.display,
6202
- hydration: renderInput.hydration
6203
- });
6204
- if (!isDecodeSuccess(renderResult)) renderIssues.push(...prefixIssues(["render"], renderResult.issues));
6205
- else if (isDecodeSuccess(metaResult) && renderIssues.length === 0) return decodeSuccess({
6206
- ...metaResult.value,
6207
- renderKind: options.runtime.kind,
6208
- render: {
6209
- mode: options.mode,
6210
- ...renderResult.value
6211
- }
6212
- });
6213
- }
6214
- return decodeFailure([...isDecodeSuccess(metaResult) ? [] : metaResult.issues, ...renderIssues]);
6215
- }
6216
- };
6217
- }
6218
- //#endregion
6219
6101
  //#region ../blocks/src/system/runtime/nodes/booking-form.service-pricing.ts
6220
6102
  /**
6221
6103
  * The amounts the client can choose for a sliding-scale service. A site that
@@ -6295,13 +6177,21 @@ function bookingPackagePurchaseTerms(product, promisedDiscountId) {
6295
6177
  }
6296
6178
  function reconcileBookingPackagePurchase(selection, packages) {
6297
6179
  if (selection.kind === "none") return selection;
6298
- const product = packages.find((product) => product.id === selection.package.id);
6180
+ const product = packages.find((product) => product.id === bookingPackagePurchaseId(selection));
6299
6181
  if (!product) return { kind: "none" };
6300
- return JSON.stringify(product) === JSON.stringify(selection.package) ? selection : {
6182
+ return selection.kind === "selected" && JSON.stringify(product) === JSON.stringify(selection.package) ? selection : {
6301
6183
  kind: "selected",
6302
6184
  package: product
6303
6185
  };
6304
6186
  }
6187
+ /** Both a restored identity and a live choice name one package; only the live choice owns display facts. */
6188
+ function bookingPackagePurchaseId(selection) {
6189
+ switch (selection.kind) {
6190
+ case "none": return null;
6191
+ case "restoring": return selection.packageId;
6192
+ case "selected": return selection.package.id;
6193
+ }
6194
+ }
6305
6195
  function resolveBookingPaymentChoice(purchase, heldId, option) {
6306
6196
  if (purchase.kind === "selected") return {
6307
6197
  kind: "buy_package",
@@ -6725,6 +6615,10 @@ function serviceTarget(service) {
6725
6615
  publicPresentation: service.bookingQuestions ?? NO_BOOKING_QUESTIONS
6726
6616
  } : null;
6727
6617
  }
6618
+ /** What the selected service asks during booking, from the catalogue or the signed-in read. */
6619
+ function resolveSelectedAppointmentQuestions(service, refreshed = null, identity = null) {
6620
+ return resolveBookingQuestionsPresentation(serviceTarget(service), refreshed, identity);
6621
+ }
6728
6622
  /** Whether to ask the authenticated read about the selected service. */
6729
6623
  function needsAppointmentQuestionsRefresh(input) {
6730
6624
  return needsBookingQuestionsRefresh({
@@ -8516,7 +8410,7 @@ function buildProductDetailDisplay(product, options, selectedVariantId) {
8516
8410
  selectionLabel: selectedVariant ? `${product.title} – ${selectedVariant.title}` : product.title,
8517
8411
  actionLabel: options.addButtonText,
8518
8412
  soldOut,
8519
- body: product.body
8413
+ body: options.showBody ? product.body : null
8520
8414
  };
8521
8415
  }
8522
8416
  function passCardDisplay(pass, options) {
@@ -11849,6 +11743,44 @@ function bookingOccurrenceContext(occurrenceContext, pageEvent, selection) {
11849
11743
  if (!occurrenceContext) return null;
11850
11744
  return !primary || primary.selectionId === pageEvent?.selectionId ? occurrenceContext : null;
11851
11745
  }
11746
+ /** Optional browser storage, shared by event and appointment reload drafts. */
11747
+ function createBookingBrowserDraftStore(prefix, draftSchema) {
11748
+ const schema = z.object({
11749
+ version: z.literal(1),
11750
+ timestamp: z.number().finite(),
11751
+ draft: draftSchema
11752
+ });
11753
+ const clear = (scope) => {
11754
+ try {
11755
+ sessionStorage.removeItem(`${prefix}${scope}`);
11756
+ } catch {}
11757
+ };
11758
+ const save = (scope, draft) => {
11759
+ try {
11760
+ const entry = schema.parse({
11761
+ version: 1,
11762
+ timestamp: Date.now(),
11763
+ draft
11764
+ });
11765
+ sessionStorage.setItem(`${prefix}${scope}`, JSON.stringify(entry));
11766
+ } catch {}
11767
+ };
11768
+ const read = (scope) => {
11769
+ try {
11770
+ const stored = sessionStorage.getItem(`${prefix}${scope}`);
11771
+ const entry = schema.safeParse(stored ? JSON.parse(stored) : null);
11772
+ const age = entry.success ? Date.now() - entry.data.timestamp : -1;
11773
+ if (entry.success && age >= 0 && age <= 108e5) return entry.data.draft;
11774
+ clear(scope);
11775
+ } catch {}
11776
+ return null;
11777
+ };
11778
+ return {
11779
+ save,
11780
+ read,
11781
+ clear
11782
+ };
11783
+ }
11852
11784
  //#endregion
11853
11785
  //#region ../blocks/src/system/runtime/nodes/event-registration/registrationBrowserDraft.ts
11854
11786
  const browserDraftSteps = [
@@ -11857,12 +11789,10 @@ const browserDraftSteps = [
11857
11789
  "enter-details",
11858
11790
  "select-payment"
11859
11791
  ];
11860
- /** How long this tab's draft is kept after it was last saved; older drafts are ignored and cleared. */
11861
- const BROWSER_DRAFT_LIFETIME_MS = 10800 * 1e3;
11862
11792
  /**
11863
11793
  * An allowlist of what the booker typed or chose, kept in this tab only, for
11864
11794
  * `BROWSER_DRAFT_LIFETIME_MS`: the selection and tickets, their contact
11865
- * details, the rooms they asked for and, for a signed-in customer only, their
11795
+ * details, the rooms they asked for and their
11866
11796
  * note ("Anything we should know?"), the guests' names and contact details, and their answers to the
11867
11797
  * questions, by question ID (`BookingQuestionsTabDraft`: plain answers only,
11868
11798
  * never file uploads, and dropped on restore if the question has gone or
@@ -11908,24 +11838,11 @@ const registrationBrowserDraftSchema = z.object({
11908
11838
  function isBrowserDraftStep(step) {
11909
11839
  return browserDraftSteps.some((candidate) => candidate === step);
11910
11840
  }
11911
- /**
11912
- * The note ("Anything we should know?") often holds health details, so it's
11913
- * kept only for a signed-in customer. A signed-out draft could be opened by the
11914
- * next person on a shared device, such as a studio's front-desk tablet.
11915
- */
11916
- function keepsNote(owner) {
11917
- return owner.kind === "session";
11918
- }
11919
- /** The saved note to put back, or nothing for a signed-out draft (including one saved before this rule). */
11920
- function restoredNote(saved) {
11921
- return keepsNote(saved.owner) ? { notes: saved.notes } : {};
11922
- }
11923
11841
  function registrationBrowserDraft(flow, discountCode, identity) {
11924
11842
  if (!isBrowserDraftStep(flow.step)) return null;
11925
11843
  const { draft } = flow;
11926
- const owner = bookingQuestionsOwnerOf(identity);
11927
11844
  return {
11928
- owner,
11845
+ owner: bookingQuestionsOwnerOf(identity),
11929
11846
  step: flow.step,
11930
11847
  selectedEventIds: draft.selection.map((event) => event.selectionId),
11931
11848
  placeCount: flow.placeCount,
@@ -11940,7 +11857,7 @@ function registrationBrowserDraft(flow, discountCode, identity) {
11940
11857
  email: draft.formData.email,
11941
11858
  phone: draft.formData.phone
11942
11859
  },
11943
- notes: keepsNote(owner) ? draft.formData.notes : "",
11860
+ notes: draft.formData.notes,
11944
11861
  discountCode,
11945
11862
  guests: draft.guests.map(({ name, email, phone }) => ({
11946
11863
  name,
@@ -11992,7 +11909,7 @@ function restoreRegistrationBrowserDraft(state, saved, events, identity) {
11992
11909
  const contact = theirs ? {
11993
11910
  ...state.draft.formData,
11994
11911
  ...saved.contact,
11995
- ...restoredNote(saved)
11912
+ notes: saved.notes
11996
11913
  } : state.draft.formData;
11997
11914
  if (selection.length !== saved.selectedEventIds.length) return {
11998
11915
  ...state,
@@ -14137,4 +14054,4 @@ function registrationStepLabel(step, context) {
14137
14054
  }
14138
14055
  }
14139
14056
  //#endregion
14140
- export { deriveEventRegistrationSteps as $, weekStartSchema as $a, resolveDefaultBookingServiceId as $i, serverPricedTotalCents as $n, groupEventsByDate as $o, formatValidity as $r, resolveWholeSeriesBookingPhase as $s, toWholeSeriesRegistrationEvents as $t, ownCoverPaysEveryDate as A, resolveBookingPaymentAvailability as Aa, registrationDataForEventSelection as Ai, selectionConfirmationHint as An, isEventFull as Ao, normalizeTicketSelectionLines as Ar, readRuntimeNow as As, resolveEventRequiresPayment as At, closedAdmissionLabel as B, defineClientOwnedBlockRuntime as Ba, getBookingSuccessCopy as Bi, severalConfirmationSentence as Bn, eventDateOptions as Bo, placesLeftLabel as Br, eventRegistrationRefusalMessage as Bs, defaultTicketOptions as Bt, currentSelectionFundingLookup as C, applyBookingPaymentAdmission as Ca, parseSiteId as Cc, isDropInPublicEvent as Ci, primarySelectionItem as Cn, canJoinEventWaitlistOnAnyMode as Co, withRegistrationAvailability as Cr, inlineTextToPlainText as Cs, beginWaitlistInvitation as Ct, fundingOptionPick as D, reconcileBookingPackagePurchase as Da, planWholeSeriesParentBooking as Di, runPricingChoice as Dn, getEventAvailability as Do, getTicketSelectionTotal as Dr, generateLookMediaFrameCss as Ds, buildRegistrationSelectionRequest as Dt, fundingOptionKey as E, bookingRequiresResourceSelection as Ea, planOrdinarySeriesSelection as Ei, runNeedsPricingChoice as En, formatTotalCapacity as Eo, getTicketLineQuantity as Er, plainTextToInlineText as Es, withOfferedEvent as Et, selectionFundingRequest as F, getBookingServiceSlidingScale as Fa, buildBookingFormInteractiveIslandProps as Fi, selectionItemsLabel as Fn, isBlockButtonRole as Fo, decideSignInReturn as Fr, INCOMPATIBLE_ATTENDANCE_MESSAGE as Fs, validateFormData as Ft, planRegistrationDetailsContinuation as G, columnOptionSchema as Ga, normalizeBookingFormConfig as Gi, combinationHintCopy as Gn, formatEventCompactDateRail as Go, buildCartDisplay as Gr, repriceBookingCollectionOptions as Gs, selectRoomOffer as Gt, getTicketSelectionPurpose as H, isDecodeSuccess as Ha, getShopSuccessCopy as Hi, severalRunsChoiceMessage as Hn, formatCalendarTitle as Ho, resolveRegistrationDisplay as Hr, planCheckoutPaymentFlow as Hs, presentRoomChooser as Ht, buildEventRegistrationPaymentOptionsViewModel as I, buildInteractiveIslandProps as Ia, readOverrideServiceCategories as Ii, selectionPlacesLabel as In, RichText as Io, nextSignInReturnExpiry as Ir, decideSelectionAttendance as Is, ADD_A_PLACE as It, resolveRegistrationAdmission as J, eventCalendarDisplayModeSchema as Ja, prepareBookingSubmission as Ji, combinationWorking as Jn, formatEventNextDateFact as Jo, buildProductCardDisplay as Jr, formatCreditProductPayment as Js, confirmationPaymentRows as Jt, registrationStopsHere as K, eventButtonVariantSchema as Ka, normalizeBookingServices as Ki, combinationOfferLine as Kn, formatEventDateParts as Ko, buildCheckoutDisplay as Kr, getStripeMinimumChargeRequirement as Ks, isSameWaitlistClaim as Kt, buildSelectionCollectionOptions as L, createInteractiveIslandCodec as La, deriveBookingFormViewState as Li, selectionPlacesNote as Ln, buildCalendarViewport as Lo, readSignInReturn as Lr, setRoomChoicePeople as Ls, bookingLines as Lt, selectionFundingBasis as M, resolveBookingPaymentMode as Ma, selectionRepresentativeEvent as Mi, selectionEntitlementNote as Mn, selectMostOpenCapacitySource as Mo, BOOKING_SIGN_IN_RETURN_PARAM as Mr, sanitizeHref as Ms, resolveRouteRequiresPayment as Mt, selectionFundingFetchWanted as N, resolveBookingPurchasablePackages as Na, groupPublicEventsByRun as Ni, selectionIncludes as Nn, BLOCK_BUTTON_ROLE_OPTIONS as No, clearSignInReturnDrafts as Nr, parseAspectRatioValue as Ns, toRegistrationRequestSubject as Nt, initialSelectionFundingLookup as O, resolveBookingPackagePaymentSelection as Oa, planWholeSeriesParentSelection as Oi, runUnitPriceCents as On, getEventAvailabilityStatus as Oo, getTicketTypeLineMax as Or, resolveLookMediaFrame as Os, findPreSelectedEvent as Ot, selectionFundingReducer as P, toBookingPurchasablePackages as Pa, bookingFormInteractiveIslandPropsCodec as Pi, selectionItemPrice as Pn, blockButtonRoleSchema as Po, createSignInReturnDraftStore as Pr, isRecord$3 as Ps, registrationQuestionsMessage as Pt, visitorHoldsOwnPlace as Q, registrationButtonVariantSchema as Qa, resolveBookingSiteId as Qi, selectionPreviewLines as Qn, formatTime$1 as Qo, formatInterval as Qr, orderedLiveRunSessions as Qs, toWholeSeriesRegistrationEvent as Qt, decideEventRegistrationPayment as R, defineInteractiveIslandMetaKeys as Ra, formatBookingSubmissionPreparationError as Ri, selectionRowAvailability as Rn, eventCalendarWeekStart as Ro, signInReturnPath as Rr, eventRegistrationErrorEndsCommand as Rs, dayOptionsOf as Rt, chosenFundingOption as S, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as Sa, resolvePricingOptionsPriceDisplay as Sc, getPublicEventCanonicalPath as Si, planSelectionPrice as Sn, canJoinEventWaitlist as So, shouldLoadRegistrationOptions as Sr, runTransforms as Ss, entryStart as St, fundingMoneyDates as T, bookingPackageRequestKey as Ta, planDropInPanel as Ti, runChoiceUsable as Tn, formatRemainingPlaces as To, getSingleSelectedPricingOptionId as Tr, parseInlineTextFromUnknown as Ts, invitationBooking as Tt, placeCountCeiling as U, bookingNowSchema as Ua, isBookingServiceSlidingAmountInRange as Ui, summariseSelectionPayment as Un, formatDate$1 as Uo, shownVenue as Ur, bookingCollectionDatesOpen as Us, roomChoiceMessage as Ut, fullyBookedLabel as V, defineProgressiveBlockRuntime as Va, getRegistrationSuccessCopy as Vi, severalItemsOf as Vn, eventLocalDateKey as Vo, registrationDisplaySchema as Vr, parseEventRegistrationErrorReason as Vs, isRoomChoiceRefusal as Vt, planRegistrationDetailsCheck as W, calendarTabViewsSchema as Wa, isSameOpenCheckout as Wi, toggleSelectionItem as Wn, formatEventClockLabel as Wo, appliedDiscountHint as Wr, flexibleBalanceDueDay as Ws, roomSubmission as Wt, resolveRegistrationTicketContinuation as X, filterAutoShowSchema as Xa, resolveBookingPaymentStep as Xi, selectionCombinationHint as Xn, formatEventTimeRange as Xo, buildProductListDisplay as Xr, CANCELLED_SESSION_STATUS as Xs, getRegistrationStartAt as Xt, resolveRegistrationAvailabilityBlocker as Y, eventLayoutSchema as Ya, resolveAppointmentCheckoutVerificationState as Yi, paymentCaption as Yn, formatEventRunDates as Yo, buildProductDetailDisplay as Yr, formatCreditProductUnits as Ys, resolveFinishedPresentation as Yt, settledRemainingPlaces as Z, previewStageSchema as Za, resolveBookingSelectedService as Zi, selectionItemName as Zn, formatEventWeekdayTime as Zo, formatCommercePrice as Zr, nextLiveRunSessionStartMs as Zs, toRegistrationEvents as Zt, pickCollections as _, toBookingQuestionsAnswerDraft as _a, publicEventPricingCurrency as _c, eventRegistrationPageSurfaceSubjectSchema as _i, SEVERAL_BOOKINGS_ACCOUNT_NOTE as _n, resolveEventCta as _o, getSlidingScaleForEvent as _r, uiTransforms as _s, bookingOccurrenceContext as _t, registrationPresentation as a, resolveSelectedAppointmentConsent as aa, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as ac, buildProductCartItem as ai, buildSelectionRequirementsSubmission as an, leavePage as ao, formatRunScheduleLines as ar, renderAudio as as, toHeadlessPaymentSelection as at, selectionPaysNothing as b, formatPrice as ba, publicEventPricingType as bc, resolveEventRegistrationScopedEvents as bi, effectiveSelection as bn, isBookableEvent as bo, parseCurrencyInputToCents as br, asPartialObject as bs, entryPageEvent as bt, registrationStepLabelContext as c, appointmentQuestionsRefusal as ca, parseMailchimpInterestId as cc, productItemKey as ci, deriveRunRequirements as cn, bookingPageKindSchema as co, getPortalSubjectEmail as cr, resolveImageUrl as cs, calculateEventRegistrationPreviewTotal as ct, decideEventChoice as d, needsAppointmentQuestionsRefresh as da, getBookingInstalmentProtectedDepositAmountCents as dc, closedDateListCopy as di, runsKeepingAnswers as dn, eventPlaceName as do, occurrenceTitleOverride as dr, resolvePublicMediaUrl as ds, paymentChoiceDetails as dt, resolveLowestBookingPaymentStep as ea, resolveWholeSeriesPaymentDates as ec, membershipCardListContent as ei, EVENT_SIGN_IN_FORM_ID as en, browserReadAuthoritySchema as eo, findSelectedTicketType as er, resolveEventTimeZone as es, isEventRegistrationAvailable as et, isRegistrationLocked as f, bookingQuestionsAnswerDraftSchema as fa, offeringLabelForPageSurfaceSubject as fc, closedDatesCopy as fi, toRunRequirementsSnapshots as fn, eventVenuePlace as fo, transformRegistrationOptionsResponse as fr, resolveArrangementKnobs as fs, paymentChoicePrice as ft, paymentOptionFor as g, restoreBookingQuestionsAnswers as ga, isPublicEventPricingOptionDisplayable as gc, cutOffDateCopy as gi, SELECTION_LIMIT_NOTE as gn, resolveEventCardBooking as go, getRegistrationOccurrenceId as gr, createAspectRatioField as gs, restorableBrowserDraftCode as gt, moneyCollections as h, needsBookingQuestionsRefresh as ha, formatEventPricing as hc, closedDateCopy as hi, ATTENDANCE_CHOICE_MESSAGE as hn, eventDestinationPagePath as ho, getCurrentTicketSelection as hr, heroTitleSizeOptions as hs, registrationBrowserDraftSchema as ht, registrationPaymentRoute as i, projectSelectedAppointmentConsentIntoForm as ia, DEFAULT_MAILING_LIST_PRIVACY_NOTE as ic, buildPassCartItem as ii, toEventSignInDraft as in, canonicalUrl as io, formatRegistrationSchedule as ir, mediaImageHostProps as is, resolveHeadlessEventRegistrationView as it, selectionDatesQuote as j, resolveBookingPaymentChoice as ja, resolveSelectionBookingClosedDetail as ji, selectionConsentLabel as jn, selectEventCapacitySource as jo, setTicketLineQuantity as jr, resolveDateRuntimeContext as js, resolveRegistrationTarget as jt, lookupChosenOption as k, resolveBookingPackageSources as ka, planWholeSeriesRunSelection as ki, selectionAtLimit as kn, getRemainingPlaces as ko, hasValidPricingOptionSelection as kr, parseBlockColorToken as ks, resolveDiscountContext as kt, areEventRegistrationPaymentSelectionsEqual as l, deriveAppointmentBookingQuestions as la, parseNewsletterListId as lc, reduceCommerceCart as li, nextRunToRead as ln, bookingPresentation as lo, getTicketTypeAvailabilityLabel as lr, resolveImageUrlWithContext as ls, buildBookingPaymentSelectionViewModel as lt, collectionsOf as m, deriveBookingQuestions as ma, formatBookingPriceDisplay as mc, bookElsewhereDateCopy as mi, paymentReturnRestoration as mn, eventDestinationBookingLink as mo, isEmailAddress as mr, createImageShapeField as ms, registrationBrowserDraft as mt, getEventSelectionMode as n, snapshotBookingShownTerms as na, parseMailingListRuntimeContext as nc, passCardListContent as ni, eventSignInEnds as nn, getBlockApiReadStage as no, formatDate as nr, MediaPlaceholder as ns, resolveEventRegistrationSubmitPlan as nt, registrationRoute as o, EMPTY_APPOINTMENT_BOOKING_QUESTIONS as oa, parseBrevoListId as oc, deriveCommerceCheckoutState as oi, checkRunRequirements as on, pageNavigationSchema as oo, formatTime as or, renderVideo as os, toInternalPaymentSelection as ot, registrationFlowReducer as p, decideBookingQuestionsRestoration as pa, EVENT_PRESET_VOCABULARY as pc, closedRunCopy as pi, withoutKeptAnswers as pn, formatEventLocation as po, withOccurrenceTitle as pr, systemCustomizeFacetDefinitionsForBlock as ps, BROWSER_DRAFT_LIFETIME_MS as pt, resolveGuestNextStepCheck as q, eventCalendarDefaultViewSchema as qa, parseBookingCurrencyInputToCents as qi, combinationOffersOf as qn, formatEventHourLabel as qo, buildPassesMembershipsDisplay as qr, formatCreditProductBalance as qs, toWaitlistClaimResolveFailure as qt, panelShouldOpen as r, toSelectedCollectionOptionKind as ra, resolveBookingSignupOffer as rc, EMPTY_COMMERCE_CART_STATE as ri, eventSignInRestoration as rn, PAGE_NAVIGATION as ro, formatEventDateTime as rr, computeMediaTransformStyle as rs, resolveHeadlessEventRegistrationStatus as rt, registrationStepLabel as s, applyAppointmentBookingQuestionsEvent as sa, parseMailchimpAudienceId as sc, parseStoredCommerceCartState as si, decideSelectionRequirementsLayout as sn, requestSignIn as so, getImplicitSingleTicketType as sr, resolveImageSourceSetWithContext as ss, onlineBookingUnavailableMessage as st, REGISTRATION_STEP_LABELS as t, selectedBookingCollectionOptionKind as ta, resolveWholeSeriesRunLifecycle as tc, membershipClassesLabel as ti, eventSignInDraftStore as tn, createHostedBlockApiConfig as to, formatBookingWhen as tr, ImagePresets as ts, normalizeEventRegistrationMaxTickets as tt, createInitialRegistrationFlowState as u, isAppointmentBookingQuestionsEvent as ua, EVENT_ADDRESS_AFTER_BOOKING_LABEL as uc, resolveSelectedProduct as ui, runFieldErrors as un, eventOnlinePlace as uo, getVisibleTicketTypes as ur, resolveMediaNodeResponsiveImage as us, buildReviewedBookingPaymentViewModel as ut, runsSelectionPaymentRequest as v, toBookingQuestionsPaymentSnapshot as va, publicEventPricingDisplay as vc, normalizeEventRegistrationPageSurfaceSubject as vi, attendanceChoicePending as vn, resolveEventPageLink as vo, getSlidingScaleSelectionMessage as vr, SECTION_STATE_KINDS as vs, decideRegistrationEntry as vt, fundingChoice as w, bookingHasPackagePaymentChoices as wa, unsafeAsSiteId as wc, isOrdinaryPublicEvent as wi, quoteReductions as wn, formatEventRemainingPlaces as wo, canRequestTicketOption as wr, isInlineTextEmpty as ws, invitationSubmission as wt, cardStepServesDates as x, BOOKING_FORM_DATA_RESERVED_KEYS as xa, resolveExactOrFreePriceDisplay as xc, eventOccurrenceContext as xi, incompleteRunChoiceMessage as xn, isInBookingCutOffWindow as xo, resolveHeldTicketPlaces as xr, createTransformRegistry as xs, entrySelectionMode as xt, selectionItemLabels as y, formatCentsAsCurrencyInput as ya, publicEventPricingStrategy as yc, resolveEventRegistrationChoices as yi, canToggleSelectionItem as yn, resolveRuntimeEventDestination as yo, getTicketSelectionRemainingPlaces as yr, sectionStateToneFromKind as ys, entryChoosesEvent as yt, shouldPromptForLogin as z, createZodCodec as za, getBookingRedirectStateFromLocation as zi, selectionTicketInputs as zn, eventDateLocale as zo, sweepExpiredSignInReturnDrafts as zr, eventRegistrationErrors as zs, decideRoomStay as zt };
14057
+ export { deriveEventRegistrationSteps as $, weekStartSchema as $a, resolveDefaultBookingServiceId as $i, serverPricedTotalCents as $n, groupEventsByDate as $o, formatValidity as $r, orderedLiveRunSessions as $s, toWholeSeriesRegistrationEvents as $t, ownCoverPaysEveryDate as A, bookingHasPackagePaymentChoices as Aa, registrationDataForEventSelection as Ai, selectionConfirmationHint as An, isEventFull as Ao, normalizeTicketSelectionLines as Ar, parseBlockColorToken as As, resolveEventRequiresPayment as At, closedAdmissionLabel as B, resolveBookingPurchasablePackages as Ba, getBookingSuccessCopy as Bi, severalConfirmationSentence as Bn, eventDateOptions as Bo, placesLeftLabel as Br, eventRegistrationErrors as Bs, defaultTicketOptions as Bt, currentSelectionFundingLookup as C, toBookingQuestionsPaymentSnapshot as Ca, resolvePricingOptionsPriceDisplay as Cc, isDropInPublicEvent as Ci, primarySelectionItem as Cn, canJoinEventWaitlistOnAnyMode as Co, withRegistrationAvailability as Cr, runTransforms as Cs, beginWaitlistInvitation as Ct, fundingOptionPick as D, BOOKING_FORM_DATA_RESERVED_KEYS as Da, planWholeSeriesParentBooking as Di, runPricingChoice as Dn, getEventAvailability as Do, getTicketSelectionTotal as Dr, plainTextToInlineText as Ds, buildRegistrationSelectionRequest as Dt, fundingOptionKey as E, formatPrice as Ea, planOrdinarySeriesSelection as Ei, runNeedsPricingChoice as En, formatTotalCapacity as Eo, getTicketLineQuantity as Er, parseInlineTextFromUnknown as Es, withOfferedEvent as Et, selectionFundingRequest as F, resolveBookingPackagePaymentSelection as Fa, buildBookingFormInteractiveIslandProps as Fi, selectionItemsLabel as Fn, isBlockButtonRole as Fo, decideSignInReturn as Fr, isRecord$3 as Fs, validateFormData as Ft, planRegistrationDetailsContinuation as G, columnOptionSchema as Ga, normalizeBookingFormConfig as Gi, combinationHintCopy as Gn, formatEventCompactDateRail as Go, buildCartDisplay as Gr, flexibleBalanceDueDay as Gs, selectRoomOffer as Gt, getTicketSelectionPurpose as H, getBookingServiceSlidingScale as Ha, getShopSuccessCopy as Hi, severalRunsChoiceMessage as Hn, formatCalendarTitle as Ho, resolveRegistrationDisplay as Hr, parseEventRegistrationErrorReason as Hs, presentRoomChooser as Ht, buildEventRegistrationPaymentOptionsViewModel as I, resolveBookingPackageSources as Ia, readOverrideServiceCategories as Ii, selectionPlacesLabel as In, RichText as Io, nextSignInReturnExpiry as Ir, INCOMPATIBLE_ATTENDANCE_MESSAGE as Is, ADD_A_PLACE as It, resolveRegistrationAdmission as J, eventCalendarDisplayModeSchema as Ja, prepareBookingSubmission as Ji, combinationWorking as Jn, formatEventNextDateFact as Jo, buildProductCardDisplay as Jr, formatCreditProductBalance as Js, confirmationPaymentRows as Jt, registrationStopsHere as K, eventButtonVariantSchema as Ka, normalizeBookingServices as Ki, combinationOfferLine as Kn, formatEventDateParts as Ko, buildCheckoutDisplay as Kr, repriceBookingCollectionOptions as Ks, isSameWaitlistClaim as Kt, buildSelectionCollectionOptions as L, resolveBookingPaymentAvailability as La, deriveBookingFormViewState as Li, selectionPlacesNote as Ln, buildCalendarViewport as Lo, readSignInReturn as Lr, decideSelectionAttendance as Ls, bookingLines as Lt, selectionFundingBasis as M, bookingPackageRequestKey as Ma, selectionRepresentativeEvent as Mi, selectionEntitlementNote as Mn, selectMostOpenCapacitySource as Mo, BOOKING_SIGN_IN_RETURN_PARAM as Mr, resolveDateRuntimeContext as Ms, resolveRouteRequiresPayment as Mt, selectionFundingFetchWanted as N, bookingRequiresResourceSelection as Na, groupPublicEventsByRun as Ni, selectionIncludes as Nn, BLOCK_BUTTON_ROLE_OPTIONS as No, clearSignInReturnDrafts as Nr, sanitizeHref as Ns, toRegistrationRequestSubject as Nt, initialSelectionFundingLookup as O, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as Oa, planWholeSeriesParentSelection as Oi, runUnitPriceCents as On, getEventAvailabilityStatus as Oo, getTicketTypeLineMax as Or, generateLookMediaFrameCss as Os, findPreSelectedEvent as Ot, selectionFundingReducer as P, reconcileBookingPackagePurchase as Pa, bookingFormInteractiveIslandPropsCodec as Pi, selectionItemPrice as Pn, blockButtonRoleSchema as Po, createSignInReturnDraftStore as Pr, parseAspectRatioValue as Ps, registrationQuestionsMessage as Pt, visitorHoldsOwnPlace as Q, registrationButtonVariantSchema as Qa, resolveBookingSiteId as Qi, selectionPreviewLines as Qn, formatTime$1 as Qo, formatInterval as Qr, nextLiveRunSessionStartMs as Qs, toWholeSeriesRegistrationEvent as Qt, decideEventRegistrationPayment as R, resolveBookingPaymentChoice as Ra, formatBookingSubmissionPreparationError as Ri, selectionRowAvailability as Rn, eventCalendarWeekStart as Ro, signInReturnPath as Rr, setRoomChoicePeople as Rs, dayOptionsOf as Rt, chosenFundingOption as S, toBookingQuestionsAnswerDraft as Sa, resolveExactOrFreePriceDisplay as Sc, getPublicEventCanonicalPath as Si, planSelectionPrice as Sn, canJoinEventWaitlist as So, shouldLoadRegistrationOptions as Sr, createTransformRegistry as Ss, entryStart as St, fundingMoneyDates as T, formatCentsAsCurrencyInput as Ta, unsafeAsSiteId as Tc, planDropInPanel as Ti, runChoiceUsable as Tn, formatRemainingPlaces as To, getSingleSelectedPricingOptionId as Tr, isInlineTextEmpty as Ts, invitationBooking as Tt, placeCountCeiling as U, bookingNowSchema as Ua, isBookingServiceSlidingAmountInRange as Ui, summariseSelectionPayment as Un, formatDate$1 as Uo, shownVenue as Ur, planCheckoutPaymentFlow as Us, roomChoiceMessage as Ut, fullyBookedLabel as V, toBookingPurchasablePackages as Va, getRegistrationSuccessCopy as Vi, severalItemsOf as Vn, eventLocalDateKey as Vo, registrationDisplaySchema as Vr, eventRegistrationRefusalMessage as Vs, isRoomChoiceRefusal as Vt, planRegistrationDetailsCheck as W, calendarTabViewsSchema as Wa, isSameOpenCheckout as Wi, toggleSelectionItem as Wn, formatEventClockLabel as Wo, appliedDiscountHint as Wr, bookingCollectionDatesOpen as Ws, roomSubmission as Wt, resolveRegistrationTicketContinuation as X, filterAutoShowSchema as Xa, resolveBookingPaymentStep as Xi, selectionCombinationHint as Xn, formatEventTimeRange as Xo, buildProductListDisplay as Xr, formatCreditProductUnits as Xs, getRegistrationStartAt as Xt, resolveRegistrationAvailabilityBlocker as Y, eventLayoutSchema as Ya, resolveAppointmentCheckoutVerificationState as Yi, paymentCaption as Yn, formatEventRunDates as Yo, buildProductDetailDisplay as Yr, formatCreditProductPayment as Ys, resolveFinishedPresentation as Yt, settledRemainingPlaces as Z, previewStageSchema as Za, resolveBookingSelectedService as Zi, selectionItemName as Zn, formatEventWeekdayTime as Zo, formatCommercePrice as Zr, CANCELLED_SESSION_STATUS as Zs, toRegistrationEvents as Zt, pickCollections as _, decideBookingQuestionsRestoration as _a, isPublicEventPricingOptionDisplayable as _c, eventRegistrationPageSurfaceSubjectSchema as _i, SEVERAL_BOOKINGS_ACCOUNT_NOTE as _n, resolveEventCta as _o, getSlidingScaleForEvent as _r, standardAspectRatioPhrases as _s, bookingOccurrenceContext as _t, registrationPresentation as a, resolveSelectedAppointmentConsent as aa, DEFAULT_MAILING_LIST_PRIVACY_NOTE as ac, buildProductCartItem as ai, buildSelectionRequirementsSubmission as an, leavePage as ao, formatRunScheduleLines as ar, renderAudio as as, toHeadlessPaymentSelection as at, selectionPaysNothing as b, needsBookingQuestionsRefresh as ba, publicEventPricingStrategy as bc, resolveEventRegistrationScopedEvents as bi, effectiveSelection as bn, isBookableEvent as bo, parseCurrencyInputToCents as br, sectionStateToneFromKind as bs, entryPageEvent as bt, registrationStepLabelContext as c, appointmentQuestionsRefusal as ca, parseMailchimpAudienceId as cc, productItemKey as ci, deriveRunRequirements as cn, bookingPageKindSchema as co, getPortalSubjectEmail as cr, resolveImageUrl as cs, calculateEventRegistrationPreviewTotal as ct, decideEventChoice as d, needsAppointmentQuestionsRefresh as da, EVENT_ADDRESS_AFTER_BOOKING_LABEL as dc, closedDateListCopy as di, runsKeepingAnswers as dn, eventPlaceName as do, occurrenceTitleOverride as dr, resolvePublicMediaUrl as ds, paymentChoiceDetails as dt, resolveLowestBookingPaymentStep as ea, resolveWholeSeriesBookingPhase as ec, membershipCardListContent as ei, EVENT_SIGN_IN_FORM_ID as en, browserReadAuthoritySchema as eo, findSelectedTicketType as er, resolveEventTimeZone as es, isEventRegistrationAvailable as et, isRegistrationLocked as f, resolveSelectedAppointmentQuestions as fa, getBookingInstalmentProtectedDepositAmountCents as fc, closedDatesCopy as fi, toRunRequirementsSnapshots as fn, eventVenuePlace as fo, transformRegistrationOptionsResponse as fr, resolveArrangementKnobs as fs, paymentChoicePrice as ft, paymentOptionFor as g, bookingQuestionsTabDraftSchema as ga, formatEventPricing as gc, cutOffDateCopy as gi, SELECTION_LIMIT_NOTE as gn, resolveEventCardBooking as go, getRegistrationOccurrenceId as gr, createAspectRatioField as gs, createBookingBrowserDraftStore as gt, moneyCollections as h, bookingQuestionsOwnerSchema as ha, formatBookingPriceDisplay as hc, closedDateCopy as hi, ATTENDANCE_CHOICE_MESSAGE as hn, eventDestinationPagePath as ho, getCurrentTicketSelection as hr, heroTitleSizeOptions as hs, restorableBrowserDraftCode as ht, registrationPaymentRoute as i, projectSelectedAppointmentConsentIntoForm as ia, resolveBookingSignupOffer as ic, buildPassCartItem as ii, toEventSignInDraft as in, canonicalUrl as io, formatRegistrationSchedule as ir, mediaImageHostProps as is, resolveHeadlessEventRegistrationView as it, selectionDatesQuote as j, bookingPackagePurchaseId as ja, resolveSelectionBookingClosedDetail as ji, selectionConsentLabel as jn, selectEventCapacitySource as jo, setTicketLineQuantity as jr, readRuntimeNow as js, resolveRegistrationTarget as jt, lookupChosenOption as k, applyBookingPaymentAdmission as ka, planWholeSeriesRunSelection as ki, selectionAtLimit as kn, getRemainingPlaces as ko, hasValidPricingOptionSelection as kr, resolveLookMediaFrame as ks, resolveDiscountContext as kt, areEventRegistrationPaymentSelectionsEqual as l, deriveAppointmentBookingQuestions as la, parseMailchimpInterestId as lc, reduceCommerceCart as li, nextRunToRead as ln, bookingPresentation as lo, getTicketTypeAvailabilityLabel as lr, resolveImageUrlWithContext as ls, buildBookingPaymentSelectionViewModel as lt, collectionsOf as m, bookingQuestionsOwnerOf as ma, EVENT_PRESET_VOCABULARY as mc, bookElsewhereDateCopy as mi, paymentReturnRestoration as mn, eventDestinationBookingLink as mo, isEmailAddress as mr, createImageShapeField as ms, registrationBrowserDraftSchema as mt, getEventSelectionMode as n, snapshotBookingShownTerms as na, resolveWholeSeriesRunLifecycle as nc, passCardListContent as ni, eventSignInEnds as nn, getBlockApiReadStage as no, formatDate as nr, MediaPlaceholder as ns, resolveEventRegistrationSubmitPlan as nt, registrationRoute as o, EMPTY_APPOINTMENT_BOOKING_QUESTIONS as oa, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as oc, deriveCommerceCheckoutState as oi, checkRunRequirements as on, pageNavigationSchema as oo, formatTime as or, renderVideo as os, toInternalPaymentSelection as ot, registrationFlowReducer as p, bookingQuestionsAnswerDraftSchema as pa, offeringLabelForPageSurfaceSubject as pc, closedRunCopy as pi, withoutKeptAnswers as pn, formatEventLocation as po, withOccurrenceTitle as pr, systemCustomizeFacetDefinitionsForBlock as ps, registrationBrowserDraft as pt, resolveGuestNextStepCheck as q, eventCalendarDefaultViewSchema as qa, parseBookingCurrencyInputToCents as qi, combinationOffersOf as qn, formatEventHourLabel as qo, buildPassesMembershipsDisplay as qr, getStripeMinimumChargeRequirement as qs, toWaitlistClaimResolveFailure as qt, panelShouldOpen as r, toSelectedCollectionOptionKind as ra, parseMailingListRuntimeContext as rc, EMPTY_COMMERCE_CART_STATE as ri, eventSignInRestoration as rn, PAGE_NAVIGATION as ro, formatEventDateTime as rr, computeMediaTransformStyle as rs, resolveHeadlessEventRegistrationStatus as rt, registrationStepLabel as s, applyAppointmentBookingQuestionsEvent as sa, parseBrevoListId as sc, parseStoredCommerceCartState as si, decideSelectionRequirementsLayout as sn, requestSignIn as so, getImplicitSingleTicketType as sr, resolveImageSourceSetWithContext as ss, onlineBookingUnavailableMessage as st, REGISTRATION_STEP_LABELS as t, selectedBookingCollectionOptionKind as ta, resolveWholeSeriesPaymentDates as tc, membershipClassesLabel as ti, eventSignInDraftStore as tn, createHostedBlockApiConfig as to, formatBookingWhen as tr, ImagePresets as ts, normalizeEventRegistrationMaxTickets as tt, createInitialRegistrationFlowState as u, isAppointmentBookingQuestionsEvent as ua, parseNewsletterListId as uc, resolveSelectedProduct as ui, runFieldErrors as un, eventOnlinePlace as uo, getVisibleTicketTypes as ur, resolveMediaNodeResponsiveImage as us, buildReviewedBookingPaymentViewModel as ut, runsSelectionPaymentRequest as v, deriveBookingQuestions as va, publicEventPricingCurrency as vc, normalizeEventRegistrationPageSurfaceSubject as vi, attendanceChoicePending as vn, resolveEventPageLink as vo, getSlidingScaleSelectionMessage as vr, uiTransforms as vs, decideRegistrationEntry as vt, fundingChoice as w, toBookingQuestionsTabDraft as wa, parseSiteId as wc, isOrdinaryPublicEvent as wi, quoteReductions as wn, formatEventRemainingPlaces as wo, canRequestTicketOption as wr, inlineTextToPlainText as ws, invitationSubmission as wt, cardStepServesDates as x, restoreBookingQuestionsAnswers as xa, publicEventPricingType as xc, eventOccurrenceContext as xi, incompleteRunChoiceMessage as xn, isInBookingCutOffWindow as xo, resolveHeldTicketPlaces as xr, asPartialObject as xs, entrySelectionMode as xt, selectionItemLabels as y, isBookingQuestionsOwner as ya, publicEventPricingDisplay as yc, resolveEventRegistrationChoices as yi, canToggleSelectionItem as yn, resolveRuntimeEventDestination as yo, getTicketSelectionRemainingPlaces as yr, SECTION_STATE_KINDS as ys, entryChoosesEvent as yt, shouldPromptForLogin as z, resolveBookingPaymentMode as za, getBookingRedirectStateFromLocation as zi, selectionTicketInputs as zn, eventDateLocale as zo, sweepExpiredSignInReturnDrafts as zr, eventRegistrationErrorEndsCommand as zs, decideRoomStay as zt };
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { t as __commonJSMin } from "./rolldown-runtime-CE6sIgz8.mjs";
3
- import { n as ThemedButton, nt as SpinnerNode } from "./ThemedButton-CVYz7h68.mjs";
3
+ import { ft as SpinnerNode, n as ThemedButton } from "./ThemedButton-ORNN4x-3.mjs";
4
4
  import { useEffect, useRef, useState } from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region ../../node_modules/.pnpm/@stripe+stripe-js@9.17.0/node_modules/@stripe/stripe-js/dist/pure.js
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Pt as locationPinSchema } from "./lucide-react-00FF_oar.mjs";
2
+ import { It as locationPinSchema } from "./lucide-react-eAi3tDAr.mjs";
3
3
  import { createContext, useContext } from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../editor-blocks/src/widgets/location/editMapDecision.ts
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { r as __toESM } from "./rolldown-runtime-CE6sIgz8.mjs";
3
- import { Pt as locationPinSchema, T as Minus, k as LocateFixed, kt as sameMeaningfulAddress, v as Plus } from "./lucide-react-00FF_oar.mjs";
4
- import { a as NO_EDIT_MAP_OVERLAY, c as overlayFeatures, d as editMapResource, f as editMapStyleUrl, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, m as moveEditingPin, o as midpoint, p as isPinArrow, s as overlayExtent, u as editMapInteraction } from "./LocationPickerEnvironment-BW3dRFIv.mjs";
3
+ import { It as locationPinSchema, T as Minus, jt as sameMeaningfulAddress, k as LocateFixed, v as Plus } from "./lucide-react-eAi3tDAr.mjs";
4
+ import { a as NO_EDIT_MAP_OVERLAY, c as overlayFeatures, d as editMapResource, f as editMapStyleUrl, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, m as moveEditingPin, o as midpoint, p as isPinArrow, s as overlayExtent, u as editMapInteraction } from "./LocationPickerEnvironment-CIdAg-Tm.mjs";
5
5
  import { useEffect, useEffectEvent, useMemo, useRef, useState } from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import { createPortal } from "react-dom";