@loczer/storefront-sdk 0.242.0 → 0.244.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 (350) hide show
  1. package/dist/StorefrontProvider.d.ts +1 -1
  2. package/dist/StorefrontProvider.d.ts.map +1 -1
  3. package/dist/StorefrontProvider.js +4 -1
  4. package/dist/chunks/_virtual/_rolldown/{runtime-B5ovbsoX.js → runtime-DpZa9pCg.js} +2 -2
  5. package/dist/chunks/node_modules/@emotion/is-prop-valid/dist/{emotion-is-prop-valid.esm-6voMhWrN.js → emotion-is-prop-valid.esm-D9ze9ppN.js} +2 -2
  6. package/dist/chunks/node_modules/@emotion/memoize/dist/{emotion-memoize.esm-CbcNHeNh.js → emotion-memoize.esm-sGdSSg82.js} +1 -1
  7. package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/{PopChild-DVb6X_PO.js → PopChild-C8mc9qQ1.js} +2 -2
  8. package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/{PresenceChild-DyihLa7p.js → PresenceChild-DpkfTOqF.js} +1 -1
  9. package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/{index-DmhaitYv.js → index-CCinwqZ4.js} +1 -1
  10. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/{VisualElementDragControls-BP560JFy.js → VisualElementDragControls-ehmc8ew3.js} +4 -4
  11. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/{index-DH25rbJs.js → index-J8tZUjyC.js} +1 -1
  12. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/{focus-D5PGq15I.js → focus-QRFsm9N6.js} +2 -2
  13. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/pan/{PanSession-DQk2Dv3G.js → PanSession-sLXp8p5d.js} +1 -1
  14. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/pan/{index-CSmtHc88.js → index-Xxp3TAsP.js} +1 -1
  15. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/animation/{index-BxVBcgYs.js → index-sdX-6EwE.js} +1 -1
  16. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/{animations-D8nAGh1h.js → animations-Do3vJ57n.js} +1 -1
  17. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/{definitions-D5AEjfKY.js → definitions-CrLGvrIW.js} +1 -1
  18. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/{drag-Ilu0wLsZ.js → drag-D43Pfu5N.js} +3 -3
  19. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/{gestures-NOCelRjM.js → gestures-d_VvxeG9.js} +1 -1
  20. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/{layout-B_FwT4yv.js → layout-CH7VeP6a.js} +1 -1
  21. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/{load-features-BzH6YCRU.js → load-features-Dc-tYT1C.js} +2 -2
  22. package/dist/chunks/node_modules/framer-motion/dist/es/motion/{index-Nj9omPyM.js → index-BzvHDqTG.js} +6 -6
  23. package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/{use-motion-ref-B42kEDKi.js → use-motion-ref-b2ngB2oB.js} +6 -5
  24. package/dist/chunks/node_modules/framer-motion/dist/es/render/components/{create-proxy-CkstUqll.js → create-proxy-b3I_Abov.js} +1 -1
  25. package/dist/chunks/node_modules/framer-motion/dist/es/render/components/motion/{feature-bundle-DUpS38r2.js → feature-bundle-BPees4f2.js} +4 -4
  26. package/dist/chunks/node_modules/framer-motion/dist/es/render/components/motion/{proxy-DXxjnqei.js → proxy-CHoQ_ZRl.js} +3 -3
  27. package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/{create-visual-element-Da4IYVeR.js → create-visual-element-P5BfE5c-.js} +2 -2
  28. package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/{use-render-vjqx3wpA.js → use-render-XDKV9hl7.js} +3 -3
  29. package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/utils/{filter-props-8AWb0Fmy.js → filter-props-BHmAkqZq.js} +3 -3
  30. package/dist/chunks/node_modules/framer-motion/dist/es/render/html/{use-html-visual-state-B0BxPJ3u.js → use-html-visual-state-BwoylOjP.js} +1 -1
  31. package/dist/chunks/node_modules/framer-motion/dist/es/render/html/{use-props-D5zID_2s.js → use-props-DKjpQtOA.js} +2 -2
  32. package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/{use-props-MZrwg07L.js → use-props-BHBzwG-y.js} +2 -2
  33. package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/{use-svg-visual-state-pJSuuPIs.js → use-svg-visual-state-RrEwe-Jg.js} +1 -1
  34. package/dist/chunks/node_modules/mapbox-gl/dist/{mapbox-gl-C3MzR-4r.js → mapbox-gl-lLYGzV1T.js} +3453 -3389
  35. package/dist/chunks/node_modules/motion-dom/dist/es/animation/{AsyncMotionValueAnimation-CaTU1DM6.js → AsyncMotionValueAnimation-QkWJcmvx.js} +3 -3
  36. package/dist/chunks/node_modules/motion-dom/dist/es/animation/{JSAnimation-zfqrUSXR.js → JSAnimation-B3EkibvU.js} +5 -5
  37. package/dist/chunks/node_modules/motion-dom/dist/es/animation/{NativeAnimation-CfiXAYmD.js → NativeAnimation-PX7uv064.js} +1 -1
  38. package/dist/chunks/node_modules/motion-dom/dist/es/animation/{NativeAnimationExtended-BKiHRnbh.js → NativeAnimationExtended-DUr-8pW-.js} +3 -3
  39. package/dist/chunks/node_modules/motion-dom/dist/es/animation/animate/{single-value-66TFY3Ue.js → single-value-ylYRBACN.js} +2 -2
  40. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/{inertia-CSs70-4B.js → inertia-B4eMgMD9.js} +1 -1
  41. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/{keyframes-B8KsYraP.js → keyframes-BX4MJrAc.js} +4 -4
  42. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/{spring-CEJsZ0ds.js → spring-C_F1KfbZ.js} +20 -18
  43. package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/{motion-value-Dpez8dQD.js → motion-value-BmihEEW1.js} +2 -2
  44. package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/{visual-element-DZ-rOn58.js → visual-element-CtkP5Gn5.js} +2 -2
  45. package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/{visual-element-target-C0xS2WGG.js → visual-element-target-DpGNCPE4.js} +2 -2
  46. package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/{visual-element-variant-B35oZvml.js → visual-element-variant-CxSEFpTW.js} +3 -2
  47. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/{DOMKeyframesResolver-_h9E3nwl.js → DOMKeyframesResolver-iSzLXXCF.js} +7 -5
  48. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/{make-none-animatable-DZ2uKxwT.js → make-none-animatable-BInq-is-.js} +2 -2
  49. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/{can-animate-8-JdOSKl.js → can-animate-CIdIqiWo.js} +1 -1
  50. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/{is-animatable-C5hoiztj.js → is-animatable-BGX1Yix6.js} +1 -1
  51. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/{replace-transition-type-BMiDtDGg.js → replace-transition-type-BVc4She4.js} +3 -3
  52. package/dist/chunks/node_modules/motion-dom/dist/es/projection/animation/{mix-values-CI36Bvu8.js → mix-values-CUtXHDNv.js} +1 -1
  53. package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/{DocumentProjectionNode-DO5yRSLp.js → DocumentProjectionNode-a4NjIj1Z.js} +1 -1
  54. package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/{HTMLProjectionNode-DPNJVDRP.js → HTMLProjectionNode-COUG5JKF.js} +2 -2
  55. package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/{create-projection-node-23wDIc4D.js → create-projection-node-DfFGqLfO.js} +10 -10
  56. package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/{scale-border-radius-o5vW8fHp.js → scale-border-radius-B3d55250.js} +4 -2
  57. package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/{scale-box-shadow-BhjA57xW.js → scale-box-shadow-CXM1wetm.js} +1 -1
  58. package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/{scale-correction-Dqs0DG_x.js → scale-correction-DYAhjuKS.js} +2 -2
  59. package/dist/chunks/node_modules/motion-dom/dist/es/render/{VisualElement-Q2WcJv6t.js → VisualElement-D4anjFHe.js} +8 -8
  60. package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/{DOMVisualElement-C0PGIt5i.js → DOMVisualElement-mXFQzxeX.js} +2 -2
  61. package/dist/chunks/node_modules/motion-dom/dist/es/render/html/{HTMLVisualElement-BlmAcWaG.js → HTMLVisualElement-BC0DN7kN.js} +3 -3
  62. package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/{build-styles-d8t31XT-.js → build-styles-C4WRC_7w.js} +4 -2
  63. package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/{scrape-motion-values-Dnanh7Pq.js → scrape-motion-values-Clsn6hBW.js} +1 -1
  64. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/{SVGVisualElement-CQOmrr3k.js → SVGVisualElement-BZJThkam.js} +4 -4
  65. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/{build-attrs-CfRsHEuP.js → build-attrs-BP0WdL-f.js} +1 -1
  66. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/{scrape-motion-values-BZpmWNaV.js → scrape-motion-values-BV3zag64.js} +1 -1
  67. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/{animation-state-DDMO-7FQ.js → animation-state-7nc5cyDt.js} +1 -1
  68. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/{is-forced-motion-value-DJbn-QIQ.js → is-forced-motion-value-na4PRH8B.js} +1 -1
  69. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/{motion-values-BofpGQv9.js → motion-values-Jxbijqm2.js} +9 -7
  70. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/reduced-motion/{index-CBQsVFcz.js → index-C6y6_rcH.js} +6 -4
  71. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/{setters-CAm56hbR.js → setters-cb40O846.js} +1 -1
  72. package/dist/chunks/node_modules/motion-dom/dist/es/resize/{handle-element-C0cdHgCp.js → handle-element-CZXdtHtQ.js} +1 -1
  73. package/dist/chunks/node_modules/motion-dom/dist/es/resize/{index-BxIqM2kA.js → index-B0TFHCzC.js} +1 -1
  74. package/dist/chunks/node_modules/motion-dom/dist/es/utils/{interpolate-CzC1L8ZO.js → interpolate-DaT00cIL.js} +6 -2
  75. package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/{complex-BHS_05I4.js → complex-Dzjn5Hlx.js} +3 -3
  76. package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/{index-BRygSkxI.js → index-BTEusiQo.js} +1 -1
  77. package/dist/chunks/node_modules/motion-dom/dist/es/value/{index-Bwg0vVXH.js → index-DDb4jJZH.js} +1 -1
  78. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/{filter-ClIAXOZw.js → filter-9zFmXawI.js} +1 -1
  79. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/{index-grhmCqMW.js → index-kIkrRR12.js} +1 -1
  80. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/{mask-BwJciot3.js → mask-D3jErLqD.js} +1 -1
  81. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/maps/{defaults-CUGdDi7c.js → defaults-DaVNIt_-.js} +2 -2
  82. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/{animatable-none-48Tgfh--.js → animatable-none-CG-S6RYF.js} +4 -4
  83. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/{find-DcyXW-Sp.js → find-lgXuo3rG.js} +1 -1
  84. package/dist/chunks/node_modules/motion-utils/dist/es/easing/utils/{map-ldz_Xg06.js → map-Bo5YYj4g.js} +2 -2
  85. package/dist/chunks/node_modules/motion-utils/dist/es/{subscription-manager-B1v5ik_R.js → subscription-manager-B_Ro4fGW.js} +6 -4
  86. package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/date/index-DOKIsFm0.js +1 -0
  87. package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/date/{mini-CSEBo1ZP.js → mini-BrzKaarB.js} +32 -17
  88. package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/index-DnORfqv6.js +4 -0
  89. package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/tz/index-T2rXFLAn.js +1 -0
  90. package/dist/chunks/pkg/booking-engine/dist/{pricing-BJaynUu_.js → pricing-kF_if7gh.js} +1 -1
  91. package/dist/chunks/pkg/booking-engine/dist/schemas/{base-booking-D9S-zS-D.js → base-booking-CDvf2otC.js} +1 -1
  92. package/dist/chunks/pkg/booking-engine/dist/schemas/{insurance-v2GZHSVq.js → insurance-DPNjf8J2.js} +1 -1
  93. package/dist/chunks/pkg/booking-engine/dist/{schemas-B82mPOxs.js → schemas-C4LrjyTw.js} +2 -2
  94. package/dist/chunks/pkg/booking-engine/dist/utils/{schedule-ssRov9xe.js → schedule-BxFtoe9n.js} +2 -2
  95. package/dist/chunks/pkg/booking-engine/dist/utils/{timezone-B6XIbBPz.js → timezone-JBbwrzTd.js} +2 -2
  96. package/dist/chunks/pkg/ui/dist/{Dialog-CczmPDwY.js → Dialog-C7SJ1avA.js} +1 -1
  97. package/dist/chunks/pkg/ui/dist/Drawer/{index-Dp62Y2o5.js → index-CFC5ZQKl.js} +1 -1
  98. package/dist/chunks/pkg/ui/dist/Map/{MapContent-BgCi-wZr.js → MapContent-CHNOF5Mh.js} +3 -3
  99. package/dist/chunks/pkg/ui/dist/{Map-DCNW_9J_.js → Map-cFpsMPLn.js} +1 -1
  100. package/dist/chunks/pkg/ui/dist/{MorphingModalWizard-Q8O5Rjfq.js → MorphingModalWizard-DlRlB0NU.js} +1 -1
  101. package/dist/chunks/pkg/ui/dist/{ResponsiveDialog-BJ0RG6gh.js → ResponsiveDialog-g_bq80AX.js} +2 -2
  102. package/dist/chunks/pkg/ui/dist/lib/{body-pointer-events-DLBTed3C.js → body-pointer-events-E0eBpW9g.js} +1 -1
  103. package/dist/components/AboutSection/index.d.ts +1 -1
  104. package/dist/components/AboutSection/index.d.ts.map +1 -1
  105. package/dist/components/AddressAutocompleteInput/index.js +1 -1
  106. package/dist/components/AdminFloatingButton/AdminFloatingButton.d.ts +1 -1
  107. package/dist/components/AdminFloatingButton/AdminFloatingButton.d.ts.map +1 -1
  108. package/dist/components/BikeProductCard/index.d.ts +1 -1
  109. package/dist/components/BikeProductCard/index.d.ts.map +1 -1
  110. package/dist/components/BookingBikeQuickAddCard/index.d.ts +1 -1
  111. package/dist/components/BookingBikeQuickAddCard/index.d.ts.map +1 -1
  112. package/dist/components/BookingBikeQuickAddCard/index.js +2 -2
  113. package/dist/components/BookingBikeVariantDialog/index.d.ts +1 -1
  114. package/dist/components/BookingBikeVariantDialog/index.d.ts.map +1 -1
  115. package/dist/components/BookingBikeVariantDialog/index.js +2 -2
  116. package/dist/components/BookingFlowPageLayout/index.d.ts +1 -1
  117. package/dist/components/BookingFlowPageLayout/index.d.ts.map +1 -1
  118. package/dist/components/BookingFlowSteps/index.d.ts +1 -1
  119. package/dist/components/BookingFlowSteps/index.d.ts.map +1 -1
  120. package/dist/components/BookingPeriodSelector/BookingPeriodContext.d.ts +1 -1
  121. package/dist/components/BookingPeriodSelector/BookingPeriodContext.d.ts.map +1 -1
  122. package/dist/components/BookingPeriodSelector/components/BookingEndDateField.d.ts +1 -1
  123. package/dist/components/BookingPeriodSelector/components/BookingEndDateField.d.ts.map +1 -1
  124. package/dist/components/BookingPeriodSelector/components/BookingEndDateField.js +1 -1
  125. package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.d.ts +1 -1
  126. package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.d.ts.map +1 -1
  127. package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.js +1 -1
  128. package/dist/components/BookingPeriodSelector/components/BookingMobileDateDrawer.d.ts +1 -1
  129. package/dist/components/BookingPeriodSelector/components/BookingMobileDateDrawer.d.ts.map +1 -1
  130. package/dist/components/BookingPeriodSelector/components/BookingMobileDateDrawer.js +3 -3
  131. package/dist/components/BookingPeriodSelector/components/BookingPeriodFieldErrorMessage.d.ts +1 -1
  132. package/dist/components/BookingPeriodSelector/components/BookingPeriodFieldErrorMessage.d.ts.map +1 -1
  133. package/dist/components/BookingPeriodSelector/components/BookingStartDateField.d.ts +1 -1
  134. package/dist/components/BookingPeriodSelector/components/BookingStartDateField.d.ts.map +1 -1
  135. package/dist/components/BookingPeriodSelector/components/BookingStartDateField.js +1 -1
  136. package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.d.ts +1 -1
  137. package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.d.ts.map +1 -1
  138. package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.js +1 -1
  139. package/dist/components/BookingPeriodSelector/components/BookingTimeSlotsStatus.d.ts +1 -1
  140. package/dist/components/BookingPeriodSelector/components/BookingTimeSlotsStatus.d.ts.map +1 -1
  141. package/dist/components/BookingPeriodSelector/components/internal/BookingHourPickerField.d.ts +1 -1
  142. package/dist/components/BookingPeriodSelector/components/internal/BookingHourPickerField.d.ts.map +1 -1
  143. package/dist/components/BookingPeriodSelector/components/internal/ModalDayPickerField.d.ts +1 -1
  144. package/dist/components/BookingPeriodSelector/components/internal/ModalDayPickerField.d.ts.map +1 -1
  145. package/dist/components/BookingPeriodSelector/components/internal/ModalDayPickerField.js +2 -2
  146. package/dist/components/BookingPeriodSelector/components/internal/StorefrontHourPickerField.d.ts +2 -2
  147. package/dist/components/BookingPeriodSelector/components/internal/StorefrontHourPickerField.d.ts.map +1 -1
  148. package/dist/components/BookingPeriodSelector/components/internal/StorefrontHourPickerField.js +5 -5
  149. package/dist/components/BookingPeriodSelector/index.d.ts +1 -1
  150. package/dist/components/BookingPeriodSelector/index.d.ts.map +1 -1
  151. package/dist/components/BookingPeriodSelector/useBookingPeriodController.js +20 -16
  152. package/dist/components/ContactSection/index.d.ts +1 -1
  153. package/dist/components/ContactSection/index.d.ts.map +1 -1
  154. package/dist/components/ContactSection/index.js +69 -69
  155. package/dist/components/ContractSaleDocument/AcceptanceModal.d.ts +1 -1
  156. package/dist/components/ContractSaleDocument/AcceptanceModal.d.ts.map +1 -1
  157. package/dist/components/ContractSaleDocument/DocumentAcceptanceSection.d.ts +1 -1
  158. package/dist/components/ContractSaleDocument/DocumentAcceptanceSection.d.ts.map +1 -1
  159. package/dist/components/ContractSaleDocument/Invoice.d.ts +1 -1
  160. package/dist/components/ContractSaleDocument/Invoice.d.ts.map +1 -1
  161. package/dist/components/ContractSaleDocument/InvoiceDetails.d.ts +1 -1
  162. package/dist/components/ContractSaleDocument/InvoiceDetails.d.ts.map +1 -1
  163. package/dist/components/ContractSaleDocument/PageFooter.d.ts +1 -1
  164. package/dist/components/ContractSaleDocument/PageFooter.d.ts.map +1 -1
  165. package/dist/components/ContractSaleDocument/PageHeader.d.ts +1 -1
  166. package/dist/components/ContractSaleDocument/PageHeader.d.ts.map +1 -1
  167. package/dist/components/ContractSaleDocument/SignatureModal.d.ts +1 -1
  168. package/dist/components/ContractSaleDocument/SignatureModal.d.ts.map +1 -1
  169. package/dist/components/ContractSaleDocument/TermsAndConditionsContent.d.ts +1 -1
  170. package/dist/components/ContractSaleDocument/TermsAndConditionsContent.d.ts.map +1 -1
  171. package/dist/components/ContractSaleDocument/ThumbnailSidebar.d.ts +1 -1
  172. package/dist/components/ContractSaleDocument/ThumbnailSidebar.d.ts.map +1 -1
  173. package/dist/components/DelayedReveal/index.d.ts +2 -2
  174. package/dist/components/DelayedReveal/index.d.ts.map +1 -1
  175. package/dist/components/DeliveryAddressSelector/index.d.ts +1 -1
  176. package/dist/components/DeliveryAddressSelector/index.d.ts.map +1 -1
  177. package/dist/components/FaqSection/index.d.ts +1 -1
  178. package/dist/components/FaqSection/index.d.ts.map +1 -1
  179. package/dist/components/Footer/BusinessHours.d.ts +1 -1
  180. package/dist/components/Footer/BusinessHours.d.ts.map +1 -1
  181. package/dist/components/Footer/BusinessHours.js +12 -12
  182. package/dist/components/Footer/BusinessHoursOverviewDialog.d.ts +1 -1
  183. package/dist/components/Footer/BusinessHoursOverviewDialog.d.ts.map +1 -1
  184. package/dist/components/Footer/BusinessHoursOverviewDialog.js +1 -1
  185. package/dist/components/Footer/businessHoursStatus.js +1 -1
  186. package/dist/components/Footer/index.d.ts +1 -1
  187. package/dist/components/Footer/index.d.ts.map +1 -1
  188. package/dist/components/FulfillmentSection/index.d.ts +1 -1
  189. package/dist/components/FulfillmentSection/index.d.ts.map +1 -1
  190. package/dist/components/FulfillmentSection/index.js +1 -1
  191. package/dist/components/Header/index.d.ts +1 -1
  192. package/dist/components/Header/index.d.ts.map +1 -1
  193. package/dist/components/Itineraries/ItinerariesSection.d.ts +1 -1
  194. package/dist/components/Itineraries/ItinerariesSection.d.ts.map +1 -1
  195. package/dist/components/Itineraries/ItineraryListItem.d.ts +1 -1
  196. package/dist/components/Itineraries/ItineraryListItem.d.ts.map +1 -1
  197. package/dist/components/Itineraries/ItineraryRouteMap.d.ts +1 -1
  198. package/dist/components/Itineraries/ItineraryRouteMap.d.ts.map +1 -1
  199. package/dist/components/LanguageSelector/index.d.ts +1 -1
  200. package/dist/components/LanguageSelector/index.d.ts.map +1 -1
  201. package/dist/components/Layout/index.d.ts +1 -1
  202. package/dist/components/Layout/index.d.ts.map +1 -1
  203. package/dist/components/Map/index.js +1 -1
  204. package/dist/components/PlatformFooter/index.d.ts +1 -1
  205. package/dist/components/PlatformFooter/index.d.ts.map +1 -1
  206. package/dist/components/PlaygroundDevFloatingButton/index.d.ts +1 -1
  207. package/dist/components/PlaygroundDevFloatingButton/index.d.ts.map +1 -1
  208. package/dist/components/PoweredByLoczerBadge/index.d.ts +1 -1
  209. package/dist/components/PoweredByLoczerBadge/index.d.ts.map +1 -1
  210. package/dist/components/ProductPriceBadge/index.d.ts +1 -1
  211. package/dist/components/ProductPriceBadge/index.d.ts.map +1 -1
  212. package/dist/components/ProductPriceBadge/index.js +2 -2
  213. package/dist/components/ProductWarningNotice/index.d.ts +1 -1
  214. package/dist/components/ProductWarningNotice/index.d.ts.map +1 -1
  215. package/dist/components/SignatureInput/index.js +1 -1
  216. package/dist/components/SignatureInput.d.ts +1 -1
  217. package/dist/components/SignatureInput.d.ts.map +1 -1
  218. package/dist/components/StepSectionTitle/index.d.ts +1 -1
  219. package/dist/components/StepSectionTitle/index.d.ts.map +1 -1
  220. package/dist/components/StorefrontCancellationPolicyNotice/index.d.ts +1 -1
  221. package/dist/components/StorefrontCancellationPolicyNotice/index.d.ts.map +1 -1
  222. package/dist/components/StorefrontCancellationPolicyNotice/index.js +1 -1
  223. package/dist/components/StorefrontCartPanel/index.d.ts +1 -1
  224. package/dist/components/StorefrontCartPanel/index.d.ts.map +1 -1
  225. package/dist/components/StorefrontInformationDocument/index.d.ts +2 -2
  226. package/dist/components/StorefrontInformationDocument/index.d.ts.map +1 -1
  227. package/dist/components/StorefrontInsuranceNotice/index.d.ts +1 -1
  228. package/dist/components/StorefrontInsuranceNotice/index.d.ts.map +1 -1
  229. package/dist/components/StorefrontInsuranceNotice/index.js +1 -1
  230. package/dist/components/StorefrontPopupMessages/index.d.ts +1 -1
  231. package/dist/components/StorefrontPopupMessages/index.d.ts.map +1 -1
  232. package/dist/components/StorefrontPopupMessages/index.js +2 -2
  233. package/dist/components/TestimonialsSection/index.d.ts +2 -1
  234. package/dist/components/TestimonialsSection/index.d.ts.map +1 -1
  235. package/dist/components/TestimonialsSection/index.js +16 -16
  236. package/dist/components/WhatsAppFloatingButton/WhatsAppFloatingButton.d.ts +1 -1
  237. package/dist/components/WhatsAppFloatingButton/WhatsAppFloatingButton.d.ts.map +1 -1
  238. package/dist/components/payment/MollieCardFieldsForm.d.ts +1 -1
  239. package/dist/components/payment/MollieCardFieldsForm.d.ts.map +1 -1
  240. package/dist/components/payment/StripeCardFieldsForm.d.ts +1 -1
  241. package/dist/components/payment/StripeCardFieldsForm.d.ts.map +1 -1
  242. package/dist/i18n/I18nProvider.d.ts +1 -1
  243. package/dist/i18n/I18nProvider.d.ts.map +1 -1
  244. package/dist/i18n/I18nProvider.js +3 -3
  245. package/dist/i18n/en.d.ts +1 -0
  246. package/dist/i18n/en.d.ts.map +1 -1
  247. package/dist/i18n/en.js +2 -1
  248. package/dist/i18n/fr.d.ts +1 -0
  249. package/dist/i18n/fr.d.ts.map +1 -1
  250. package/dist/i18n/fr.js +2 -1
  251. package/dist/index.d.ts +59 -56
  252. package/dist/index.js +3 -3
  253. package/dist/lib/booking-period.js +3 -3
  254. package/dist/lib/booking.js +7 -7
  255. package/dist/lib/cart.d.ts +1 -1
  256. package/dist/lib/cart.d.ts.map +1 -1
  257. package/dist/lib/cart.js +1 -1
  258. package/dist/lib/checkoutSubmit.d.ts +4 -0
  259. package/dist/lib/checkoutSubmit.d.ts.map +1 -1
  260. package/dist/lib/checkoutSubmit.js +17 -9
  261. package/dist/lib/contractSaleDocumentApi.d.ts +22 -22
  262. package/dist/lib/floatingButtonCollision.js +1 -1
  263. package/dist/lib/pricing.js +2 -2
  264. package/dist/lib/storefrontAddress.js +1 -1
  265. package/dist/pages/BookingPage.d.ts +1 -1
  266. package/dist/pages/BookingPage.d.ts.map +1 -1
  267. package/dist/pages/CheckoutPage.d.ts +1 -1
  268. package/dist/pages/CheckoutPage.d.ts.map +1 -1
  269. package/dist/pages/CheckoutPage.js +199 -199
  270. package/dist/pages/CheckoutPaymentPage.d.ts +1 -1
  271. package/dist/pages/CheckoutPaymentPage.d.ts.map +1 -1
  272. package/dist/pages/CheckoutPaymentPage.js +168 -167
  273. package/dist/pages/CheckoutSuccessPage.d.ts +1 -1
  274. package/dist/pages/CheckoutSuccessPage.d.ts.map +1 -1
  275. package/dist/pages/CheckoutSuccessPage.js +37 -25
  276. package/dist/pages/ContractSaleDocumentPage.d.ts +1 -1
  277. package/dist/pages/ContractSaleDocumentPage.d.ts.map +1 -1
  278. package/dist/pages/ContractSaleDocumentPage.js +9 -6
  279. package/dist/pages/ErrorPage.d.ts +1 -1
  280. package/dist/pages/ErrorPage.d.ts.map +1 -1
  281. package/dist/pages/HomePage.d.ts +1 -1
  282. package/dist/pages/HomePage.d.ts.map +1 -1
  283. package/dist/pages/HomePage.js +1 -1
  284. package/dist/pages/InsuranceTermsPage.d.ts +1 -1
  285. package/dist/pages/InsuranceTermsPage.d.ts.map +1 -1
  286. package/dist/pages/InsuranceTermsPage.js +2 -2
  287. package/dist/pages/ItinerariesPage.d.ts +1 -1
  288. package/dist/pages/ItinerariesPage.d.ts.map +1 -1
  289. package/dist/pages/ItineraryDetailsPage.d.ts +1 -1
  290. package/dist/pages/ItineraryDetailsPage.d.ts.map +1 -1
  291. package/dist/pages/NotFoundPage.d.ts +1 -1
  292. package/dist/pages/NotFoundPage.d.ts.map +1 -1
  293. package/dist/pages/PaymentLinkPage.d.ts +1 -1
  294. package/dist/pages/PaymentLinkPage.d.ts.map +1 -1
  295. package/dist/pages/PaymentLinkSuccessPage.d.ts +1 -1
  296. package/dist/pages/PaymentLinkSuccessPage.d.ts.map +1 -1
  297. package/dist/pages/ProductPage.d.ts +1 -1
  298. package/dist/pages/ProductPage.d.ts.map +1 -1
  299. package/dist/pages/ProductPage.js +8 -8
  300. package/dist/pages/RentalTermsPage.d.ts +1 -1
  301. package/dist/pages/RentalTermsPage.d.ts.map +1 -1
  302. package/dist/pages/checkout/components/CheckoutBookingPeriodSummary.d.ts +1 -1
  303. package/dist/pages/checkout/components/CheckoutBookingPeriodSummary.d.ts.map +1 -1
  304. package/dist/pages/checkout/components/CheckoutCouponCard.d.ts +1 -1
  305. package/dist/pages/checkout/components/CheckoutCouponCard.d.ts.map +1 -1
  306. package/dist/pages/checkout/components/CheckoutDetailsCard.d.ts +1 -1
  307. package/dist/pages/checkout/components/CheckoutDetailsCard.d.ts.map +1 -1
  308. package/dist/pages/checkout/components/CheckoutDetailsCard.js +1 -1
  309. package/dist/pages/checkout/components/CheckoutInsuranceCard.d.ts +1 -1
  310. package/dist/pages/checkout/components/CheckoutInsuranceCard.d.ts.map +1 -1
  311. package/dist/pages/checkout/components/CheckoutLoadingSkeleton.d.ts +1 -1
  312. package/dist/pages/checkout/components/CheckoutLoadingSkeleton.d.ts.map +1 -1
  313. package/dist/pages/checkout/components/CheckoutMobileSummaryDrawer.d.ts +1 -1
  314. package/dist/pages/checkout/components/CheckoutMobileSummaryDrawer.d.ts.map +1 -1
  315. package/dist/pages/checkout/components/CheckoutPaymentCard.d.ts +1 -1
  316. package/dist/pages/checkout/components/CheckoutPaymentCard.d.ts.map +1 -1
  317. package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts +1 -1
  318. package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts.map +1 -1
  319. package/dist/pages/checkout/components/MollieCheckoutForm.d.ts +1 -1
  320. package/dist/pages/checkout/components/MollieCheckoutForm.d.ts.map +1 -1
  321. package/dist/pages/checkout/components/StripeCheckoutForm.d.ts +1 -1
  322. package/dist/pages/checkout/components/StripeCheckoutForm.d.ts.map +1 -1
  323. package/dist/pages/itineraries/ElevationProfile.d.ts +1 -1
  324. package/dist/pages/itineraries/ElevationProfile.d.ts.map +1 -1
  325. package/dist/pages/itineraries/ElevationProfile.js +1 -1
  326. package/dist/routes.d.ts +1 -1
  327. package/dist/storefront.css +1 -1
  328. package/dist/storefrontSchemas.d.ts +3 -3
  329. package/dist/storefrontSchemas.js +1 -1
  330. package/dist/ui/badge.d.ts +1 -1
  331. package/dist/ui/badge.d.ts.map +1 -1
  332. package/dist/ui/card.d.ts +7 -7
  333. package/dist/ui/card.d.ts.map +1 -1
  334. package/dist/ui/day-picker.d.ts +1 -1
  335. package/dist/ui/day-picker.d.ts.map +1 -1
  336. package/dist/ui/drawer.d.ts +14 -15
  337. package/dist/ui/drawer.d.ts.map +1 -1
  338. package/dist/ui/drawer.js +119 -143
  339. package/dist/ui/form.d.ts +8 -8
  340. package/dist/ui/form.d.ts.map +1 -1
  341. package/dist/ui/select.d.ts +1 -1
  342. package/dist/ui/select.d.ts.map +1 -1
  343. package/dist/ui/theme.d.ts +1 -1
  344. package/dist/ui/theme.d.ts.map +1 -1
  345. package/dist/ui/tooltip.d.ts +2 -2
  346. package/dist/ui/tooltip.d.ts.map +1 -1
  347. package/package.json +16 -16
  348. package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/date/index-DAbcklF5.js +0 -1
  349. package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/index--u3Qf-qy.js +0 -4
  350. package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/tz/index-CEcibV-H.js +0 -1
@@ -1,28 +1,29 @@
1
1
  import { pickBookingSearchParams as e } from "../lib/booking.js";
2
2
  import { useStorefrontCart as t } from "../lib/cart.js";
3
- import { Button as n } from "../ui/button.js";
4
- import { toast as r } from "../lib/toast.js";
5
- import { Card as i } from "../ui/card.js";
6
- import { apiPost as a } from "../lib/apiCall.js";
7
- import { Spinner as o } from "../chunks/pkg/ui/dist/Spinner/index-Cgi70z_E.js";
8
- import { ROUTE as ee, responseSchema as te } from "../lib/checkoutPaymentSession.js";
9
- import { MollieCardFieldsForm as ne } from "../components/payment/MollieCardFieldsForm.js";
10
- import { StripeCardFieldsForm as s } from "../components/payment/StripeCardFieldsForm.js";
3
+ import { CHECKOUT_BOOKING_NUMBER_SEARCH_PARAM as n, addCheckoutBookingNumberToPath as r, getCheckoutBookingNumberFromSearchParams as i } from "../lib/checkoutSubmit.js";
4
+ import { Button as a } from "../ui/button.js";
5
+ import { toast as o } from "../lib/toast.js";
6
+ import { Card as s } from "../ui/card.js";
7
+ import { apiPost as ee } from "../lib/apiCall.js";
8
+ import { Spinner as c } from "../chunks/pkg/ui/dist/Spinner/index-Cgi70z_E.js";
9
+ import { ROUTE as te, responseSchema as ne } from "../lib/checkoutPaymentSession.js";
10
+ import { MollieCardFieldsForm as re } from "../components/payment/MollieCardFieldsForm.js";
11
+ import { StripeCardFieldsForm as l } from "../components/payment/StripeCardFieldsForm.js";
11
12
  import "../components/payment/index.js";
12
- import { useEffect as c, useMemo as l, useRef as u, useState as d } from "react";
13
- import { jsx as f, jsxs as p } from "react/jsx-runtime";
14
- import { Link as m, useNavigate as h, useParams as re, useSearchParams as ie } from "@rpcbase/router";
15
- import { useTranslation as g } from "react-i18next";
16
- import { AlertTriangle as _, ArrowRight as ae, CheckCircle2 as oe, CircleDashed as v, ShieldCheck as se, XCircle as ce } from "lucide-react";
17
- import { loadStripe as le } from "@stripe/stripe-js";
18
- import { Elements as ue, useStripe as y } from "@stripe/react-stripe-js";
19
- var de = {
13
+ import { useEffect as u, useMemo as d, useRef as f, useState as p } from "react";
14
+ import { jsx as m, jsxs as h } from "react/jsx-runtime";
15
+ import { Link as g, useNavigate as ie, useParams as ae, useSearchParams as oe } from "@rpcbase/router";
16
+ import { useTranslation as _ } from "react-i18next";
17
+ import { AlertTriangle as v, ArrowRight as se, CheckCircle2 as ce, CircleDashed as le, ShieldCheck as ue, XCircle as de } from "lucide-react";
18
+ import { loadStripe as fe } from "@stripe/stripe-js";
19
+ import { Elements as pe, useStripe as y } from "@stripe/react-stripe-js";
20
+ var me = {
20
21
  BASE_URL: "/",
21
22
  DEV: !1,
22
23
  MODE: "production",
23
24
  PROD: !0,
24
25
  SSR: !1
25
- }.RB_PUBLIC_STRIPE_PUBLISHABLE_KEY?.trim() ?? "", fe = 20, pe = 2500, b = (e, t, n) => {
26
+ }.RB_PUBLIC_STRIPE_PUBLISHABLE_KEY?.trim() ?? "", he = 20, b = 2500, x = (e, t, n) => {
26
27
  try {
27
28
  return new Intl.NumberFormat(n, {
28
29
  style: "currency",
@@ -32,9 +33,9 @@ var de = {
32
33
  return `${(e / 100).toFixed(2)} ${t.toUpperCase()}`;
33
34
  }
34
35
  };
35
- function x({ clientSecret: e, onSuccess: t }) {
36
- let { t: n } = g(), r = y();
37
- return /* @__PURE__ */ f(s, {
36
+ function ge({ clientSecret: e, onSuccess: t }) {
37
+ let { t: n } = _(), r = y();
38
+ return /* @__PURE__ */ m(l, {
38
39
  requireEmail: !1,
39
40
  submitLabel: n("checkout_payment_authorize_button"),
40
41
  submittingLabel: n("checkout_payment_authorizing_button"),
@@ -48,313 +49,313 @@ function x({ clientSecret: e, onSuccess: t }) {
48
49
  }
49
50
  });
50
51
  }
51
- function S() {
52
- let { t: e } = g();
53
- return /* @__PURE__ */ p("div", {
52
+ function _e() {
53
+ let { t: e } = _();
54
+ return /* @__PURE__ */ h("div", {
54
55
  className: "flex min-h-48 items-center justify-center gap-2 text-sm text-slate-600",
55
- children: [/* @__PURE__ */ f(o, {
56
+ children: [/* @__PURE__ */ m(c, {
56
57
  className: "size-4",
57
58
  "aria-hidden": "true"
58
- }), /* @__PURE__ */ f("span", { children: e("secure_payment_link.form.loading_session") })]
59
+ }), /* @__PURE__ */ m("span", { children: e("secure_payment_link.form.loading_session") })]
59
60
  });
60
61
  }
61
- function C() {
62
- let { t: s, i18n: y } = g(), { storeSlug: C } = re(), w = h(), { clear: T, clearCheckoutSession: E } = t(), [D] = ie(), [O, k] = d(null), [A, j] = d(!0), [M, N] = d(null), [P, F] = d(0), [I, L] = d(0), R = u(!1), z = u(null), B = D.get("checkout_session_id")?.trim() ?? "", V = new URLSearchParams(D.toString());
63
- V.delete("checkout_session_id");
64
- let H = e(V).toString(), U = `/${C ?? ""}/checkout${H ? `?${H}` : ""}`, W = `/${C ?? ""}/checkout/success${H ? `?${H}` : ""}`, G = async (e) => {
65
- if (!C || !B) throw Error(s("checkout_payment_return_missing_session"));
66
- let t = await a(ee, {
67
- storeSlug: C,
68
- checkoutSessionId: B,
62
+ function S() {
63
+ let { t: l, i18n: y } = _(), { storeSlug: S } = ae(), C = ie(), { clear: w, clearCheckoutSession: T } = t(), [E] = oe(), [D, O] = p(null), [ve, k] = p(!0), [A, j] = p(null), [ye, M] = p(0), [N, P] = p(0), F = f(!1), I = f(null), L = E.get("checkout_session_id")?.trim() ?? "", R = e(E), z = R.toString(), B = i(E), V = new URLSearchParams(R);
64
+ B && V.set(n, B);
65
+ let H = V.toString(), U = `/${S ?? ""}/checkout${z ? `?${z}` : ""}`, W = `/${S ?? ""}/checkout/success${H ? `?${H}` : ""}`, G = async (e) => {
66
+ if (!S || !L) throw Error(l("checkout_payment_return_missing_session"));
67
+ let t = await ee(te, {
68
+ storeSlug: S,
69
+ checkoutSessionId: L,
69
70
  returnSearch: H || void 0,
70
71
  cardToken: e
71
72
  });
72
- return te.parse(t);
73
- }, K = async () => {
74
- R.current || (R.current = !0, r.success(s("checkout_success_toast")), await w(W, { replace: !0 }), T());
73
+ return ne.parse(t);
74
+ }, K = async (e) => {
75
+ F.current || (F.current = !0, o.success(l("checkout_success_toast")), await C(r(W, e?.payment?.reference), { replace: !0 }), w());
75
76
  };
76
- c(() => {
77
- R.current = !1, z.current = null, k(null), j(!0), L(0);
78
- }, [B]), c(() => {
79
- if (!C || !B) {
80
- z.current = null, k(null), N(s("checkout_payment_return_missing_session")), j(!1);
77
+ u(() => {
78
+ F.current = !1, I.current = null, O(null), k(!0), P(0);
79
+ }, [L]), u(() => {
80
+ if (!S || !L) {
81
+ I.current = null, O(null), j(l("checkout_payment_return_missing_session")), k(!1);
81
82
  return;
82
83
  }
83
- let e = !1, t = z.current === null;
84
- return j(t), N(null), (async () => {
84
+ let e = !1, t = I.current === null;
85
+ return k(t), j(null), (async () => {
85
86
  try {
86
87
  let t = await G();
87
88
  if (e) return;
88
89
  if (!t.success) {
89
- t.canRetryCheckout && E(), z.current = null, k(null), N(t.message || s("checkout_payment_return_status_error"));
90
+ t.canRetryCheckout && T(), I.current = null, O(null), j(t.message || l("checkout_payment_return_status_error"));
90
91
  return;
91
92
  }
92
- z.current = t, k(t);
93
+ I.current = t, O(t);
93
94
  let n = t.paymentStatus;
94
- (n === "cancelled" || n === "failed" && t.providerType === "mollie_connect_oauth") && E(), (n === "authorized" || n === "succeeded") && !R.current && await K();
95
+ (n === "cancelled" || n === "failed" && t.providerType === "mollie_connect_oauth") && T(), (n === "authorized" || n === "succeeded") && !F.current && await K(t);
95
96
  } catch (t) {
96
97
  if (e) return;
97
- console.error("Failed to fetch checkout payment session", t), z.current = null, k(null), N(s("checkout_payment_return_status_error"));
98
+ console.error("Failed to fetch checkout payment session", t), I.current = null, O(null), j(l("checkout_payment_return_status_error"));
98
99
  } finally {
99
- !e && t && j(!1);
100
+ !e && t && k(!1);
100
101
  }
101
102
  })(), () => {
102
103
  e = !0;
103
104
  };
104
105
  }, [
105
- B,
106
- T,
107
- E,
106
+ L,
108
107
  w,
109
- H,
110
- P,
108
+ T,
111
109
  C,
110
+ ye,
111
+ H,
112
+ S,
112
113
  W,
113
- s
114
+ l
114
115
  ]);
115
- let q = O?.paymentStatus ?? "pending", J = q === "pending" && O?.providerType === "stripe_connect_oauth" && O.payment?.status.trim().toLowerCase() === "processing";
116
- c(() => {
117
- if (q !== "pending" || O?.providerType === "stripe_connect_oauth" && !J || I >= fe || !O?.payment?.providerPaymentId) return;
116
+ let q = D?.paymentStatus ?? "pending", J = q === "pending" && D?.providerType === "stripe_connect_oauth" && D.payment?.status.trim().toLowerCase() === "processing";
117
+ u(() => {
118
+ if (q !== "pending" || D?.providerType === "stripe_connect_oauth" && !J || N >= he || !D?.payment?.providerPaymentId) return;
118
119
  let e = window.setTimeout(() => {
119
- L((e) => e + 1), F((e) => e + 1);
120
- }, pe);
120
+ P((e) => e + 1), M((e) => e + 1);
121
+ }, b);
121
122
  return () => {
122
123
  window.clearTimeout(e);
123
124
  };
124
125
  }, [
125
126
  q,
126
- I,
127
- O?.payment?.providerPaymentId,
128
- O?.providerType,
127
+ N,
128
+ D?.payment?.providerPaymentId,
129
+ D?.providerType,
129
130
  J
130
131
  ]);
131
- let Y = l(() => {
132
- let e = O?.stripePublishableKey?.trim() || de;
133
- return !e || !O?.providerAccountId ? null : le(e, { stripeAccount: O.providerAccountId });
134
- }, [O?.providerAccountId, O?.stripePublishableKey]), X = l(() => {
135
- if (O?.clientSecret) return { clientSecret: O.clientSecret };
136
- }, [O?.clientSecret]);
137
- if (!B) return /* @__PURE__ */ f("div", {
132
+ let Y = d(() => {
133
+ let e = D?.stripePublishableKey?.trim() || me;
134
+ return !e || !D?.providerAccountId ? null : fe(e, { stripeAccount: D.providerAccountId });
135
+ }, [D?.providerAccountId, D?.stripePublishableKey]), X = d(() => {
136
+ if (D?.clientSecret) return { clientSecret: D.clientSecret };
137
+ }, [D?.clientSecret]);
138
+ if (!L) return /* @__PURE__ */ m("div", {
138
139
  className: "mx-auto max-w-3xl px-4 py-14 sm:px-6",
139
- children: /* @__PURE__ */ f(i, {
140
+ children: /* @__PURE__ */ m(s, {
140
141
  className: "border-destructive/25 bg-white p-5 sm:p-6 shadow-sm",
141
- children: /* @__PURE__ */ p("div", {
142
+ children: /* @__PURE__ */ h("div", {
142
143
  className: "space-y-4",
143
- children: [/* @__PURE__ */ p("div", {
144
+ children: [/* @__PURE__ */ h("div", {
144
145
  className: "flex items-start gap-3",
145
- children: [/* @__PURE__ */ f(_, {
146
+ children: [/* @__PURE__ */ m(v, {
146
147
  className: "mt-0.5 h-5 w-5 text-destructive",
147
148
  "aria-hidden": "true"
148
- }), /* @__PURE__ */ f("p", {
149
+ }), /* @__PURE__ */ m("p", {
149
150
  className: "text-sm text-slate-700",
150
- children: /* @__PURE__ */ f("span", { children: s("checkout_payment_return_missing_session") })
151
+ children: /* @__PURE__ */ m("span", { children: l("checkout_payment_return_missing_session") })
151
152
  })]
152
- }), /* @__PURE__ */ f(m, {
153
+ }), /* @__PURE__ */ m(g, {
153
154
  to: U,
154
- children: /* @__PURE__ */ f(n, {
155
+ children: /* @__PURE__ */ m(a, {
155
156
  variant: "outline",
156
- children: /* @__PURE__ */ f("span", { children: s("checkout_payment_return_back_to_checkout") })
157
+ children: /* @__PURE__ */ m("span", { children: l("checkout_payment_return_back_to_checkout") })
157
158
  })
158
159
  })]
159
160
  })
160
161
  })
161
162
  });
162
- if (A && !O) return /* @__PURE__ */ f("div", {
163
+ if (ve && !D) return /* @__PURE__ */ m("div", {
163
164
  className: "mx-auto max-w-3xl px-4 py-14 sm:px-6",
164
- children: /* @__PURE__ */ f(i, {
165
+ children: /* @__PURE__ */ m(s, {
165
166
  className: "border-slate-200 bg-white p-5 sm:p-6 shadow-sm",
166
- children: /* @__PURE__ */ f(S, {})
167
+ children: /* @__PURE__ */ m(_e, {})
167
168
  })
168
169
  });
169
- if (M || !O) return /* @__PURE__ */ f("div", {
170
+ if (A || !D) return /* @__PURE__ */ m("div", {
170
171
  className: "mx-auto max-w-3xl px-4 py-14 sm:px-6",
171
- children: /* @__PURE__ */ f(i, {
172
+ children: /* @__PURE__ */ m(s, {
172
173
  className: "border-destructive/25 bg-white p-5 sm:p-6 shadow-sm",
173
- children: /* @__PURE__ */ p("div", {
174
+ children: /* @__PURE__ */ h("div", {
174
175
  className: "space-y-4",
175
- children: [/* @__PURE__ */ p("div", {
176
+ children: [/* @__PURE__ */ h("div", {
176
177
  className: "flex items-start gap-3",
177
- children: [/* @__PURE__ */ f(_, {
178
+ children: [/* @__PURE__ */ m(v, {
178
179
  className: "mt-0.5 h-5 w-5 text-destructive",
179
180
  "aria-hidden": "true"
180
- }), /* @__PURE__ */ f("p", {
181
+ }), /* @__PURE__ */ m("p", {
181
182
  className: "text-sm text-slate-700",
182
- children: /* @__PURE__ */ f("span", { children: M ?? s("checkout_payment_return_status_error") })
183
+ children: /* @__PURE__ */ m("span", { children: A ?? l("checkout_payment_return_status_error") })
183
184
  })]
184
- }), /* @__PURE__ */ f(m, {
185
+ }), /* @__PURE__ */ m(g, {
185
186
  to: U,
186
- children: /* @__PURE__ */ f(n, {
187
+ children: /* @__PURE__ */ m(a, {
187
188
  variant: "outline",
188
- children: /* @__PURE__ */ f("span", { children: s("checkout_payment_return_back_to_checkout") })
189
+ children: /* @__PURE__ */ m("span", { children: l("checkout_payment_return_back_to_checkout") })
189
190
  })
190
191
  })]
191
192
  })
192
193
  })
193
194
  });
194
- let Z = typeof O.amountMinor == "number" && O.currency ? b(O.amountMinor, O.currency, y.language) : null, Q = q === "authorized" || q === "succeeded", $ = q === "failed" || q === "cancelled", me = Q ? oe : $ ? ce : v, he = Q ? "text-success" : $ ? "text-destructive" : "text-warning";
195
- return /* @__PURE__ */ f("div", {
195
+ let Z = typeof D.amountMinor == "number" && D.currency ? x(D.amountMinor, D.currency, y.language) : null, Q = q === "authorized" || q === "succeeded", $ = q === "failed" || q === "cancelled", be = Q ? ce : $ ? de : le, xe = Q ? "text-success" : $ ? "text-destructive" : "text-warning";
196
+ return /* @__PURE__ */ m("div", {
196
197
  className: "mx-auto max-w-5xl px-4 py-10 sm:px-6",
197
- children: /* @__PURE__ */ p("div", {
198
+ children: /* @__PURE__ */ h("div", {
198
199
  className: "grid gap-6 lg:grid-cols-[1fr_1fr]",
199
- children: [/* @__PURE__ */ f(i, {
200
+ children: [/* @__PURE__ */ m(s, {
200
201
  className: "border-slate-200 bg-white p-5 shadow-sm",
201
- children: /* @__PURE__ */ p("div", {
202
+ children: /* @__PURE__ */ h("div", {
202
203
  className: "space-y-5",
203
204
  children: [
204
- /* @__PURE__ */ p("div", {
205
+ /* @__PURE__ */ h("div", {
205
206
  className: "inline-flex items-center gap-2 rounded-full border border-success-border bg-success-subtle px-3 py-1 text-xs font-medium text-success",
206
- children: [/* @__PURE__ */ f(se, {
207
+ children: [/* @__PURE__ */ m(ue, {
207
208
  className: "h-3.5 w-3.5",
208
209
  "aria-hidden": "true"
209
- }), /* @__PURE__ */ f("span", { children: s("secure_payment_link.secured_badge") })]
210
+ }), /* @__PURE__ */ m("span", { children: l("secure_payment_link.secured_badge") })]
210
211
  }),
211
- /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("h1", {
212
+ /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("h1", {
212
213
  className: "text-2xl font-semibold tracking-tight text-slate-950",
213
- children: /* @__PURE__ */ f("span", { children: s("checkout_payment_title") })
214
- }), /* @__PURE__ */ f("p", {
214
+ children: /* @__PURE__ */ m("span", { children: l("checkout_payment_title") })
215
+ }), /* @__PURE__ */ m("p", {
215
216
  className: "mt-2 text-sm text-slate-600",
216
- children: /* @__PURE__ */ f("span", { children: s("checkout_payment_hold_description") })
217
+ children: /* @__PURE__ */ m("span", { children: l("checkout_payment_hold_description") })
217
218
  })] }),
218
- /* @__PURE__ */ p("dl", {
219
+ /* @__PURE__ */ h("dl", {
219
220
  className: "grid gap-3 rounded-xl border border-slate-200 bg-slate-50 p-4 text-sm",
220
- children: [Z ? /* @__PURE__ */ p("div", {
221
+ children: [Z ? /* @__PURE__ */ h("div", {
221
222
  className: "flex items-center justify-between gap-3",
222
- children: [/* @__PURE__ */ f("dt", {
223
+ children: [/* @__PURE__ */ m("dt", {
223
224
  className: "text-slate-600",
224
- children: /* @__PURE__ */ f("span", { children: s("checkout_payment_hold_amount") })
225
- }), /* @__PURE__ */ f("dd", {
225
+ children: /* @__PURE__ */ m("span", { children: l("checkout_payment_hold_amount") })
226
+ }), /* @__PURE__ */ m("dd", {
226
227
  className: "font-semibold text-slate-950",
227
- children: /* @__PURE__ */ f("span", { children: Z })
228
+ children: /* @__PURE__ */ m("span", { children: Z })
228
229
  })]
229
- }) : null, O.providerType ? /* @__PURE__ */ p("div", {
230
+ }) : null, D.providerType ? /* @__PURE__ */ h("div", {
230
231
  className: "flex items-center justify-between gap-3",
231
- children: [/* @__PURE__ */ f("dt", {
232
+ children: [/* @__PURE__ */ m("dt", {
232
233
  className: "text-slate-600",
233
- children: /* @__PURE__ */ f("span", { children: s("checkout_payment_provider") })
234
- }), /* @__PURE__ */ f("dd", {
234
+ children: /* @__PURE__ */ m("span", { children: l("checkout_payment_provider") })
235
+ }), /* @__PURE__ */ m("dd", {
235
236
  className: "font-medium text-slate-950",
236
- children: /* @__PURE__ */ f("span", { children: s(`secure_payment_link.providers.${O.providerType}`) })
237
+ children: /* @__PURE__ */ m("span", { children: l(`secure_payment_link.providers.${D.providerType}`) })
237
238
  })]
238
239
  }) : null]
239
240
  })
240
241
  ]
241
242
  })
242
- }), /* @__PURE__ */ f(i, {
243
+ }), /* @__PURE__ */ m(s, {
243
244
  className: "border-slate-200 bg-white p-5 shadow-sm",
244
- children: Q || $ ? /* @__PURE__ */ p("div", {
245
+ children: Q || $ ? /* @__PURE__ */ h("div", {
245
246
  className: "space-y-6 text-center",
246
247
  children: [
247
- /* @__PURE__ */ f("div", {
248
+ /* @__PURE__ */ m("div", {
248
249
  className: "mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-slate-100",
249
- children: /* @__PURE__ */ f(me, {
250
- className: `h-6 w-6 ${he}`,
250
+ children: /* @__PURE__ */ m(be, {
251
+ className: `h-6 w-6 ${xe}`,
251
252
  "aria-hidden": "true"
252
253
  })
253
254
  }),
254
- /* @__PURE__ */ p("div", {
255
+ /* @__PURE__ */ h("div", {
255
256
  className: "space-y-2",
256
- children: [/* @__PURE__ */ f("h2", {
257
+ children: [/* @__PURE__ */ m("h2", {
257
258
  className: "text-xl font-semibold text-slate-950",
258
- children: /* @__PURE__ */ f("span", { children: s(`secure_payment_link.success_titles.${q}`) })
259
- }), /* @__PURE__ */ f("p", {
259
+ children: /* @__PURE__ */ m("span", { children: l(`secure_payment_link.success_titles.${q}`) })
260
+ }), /* @__PURE__ */ m("p", {
260
261
  className: "text-sm text-slate-600",
261
- children: /* @__PURE__ */ f("span", { children: s(`secure_payment_link.statuses.${q}`) })
262
+ children: /* @__PURE__ */ m("span", { children: l(`secure_payment_link.statuses.${q}`) })
262
263
  })]
263
264
  }),
264
- Q ? /* @__PURE__ */ f(m, {
265
- to: W,
266
- children: /* @__PURE__ */ p(n, {
265
+ Q ? /* @__PURE__ */ m(g, {
266
+ to: r(W, D.payment?.reference),
267
+ children: /* @__PURE__ */ h(a, {
267
268
  className: "gap-2",
268
- children: [/* @__PURE__ */ f("span", { children: s("checkout_payment_return_go_to_success") }), /* @__PURE__ */ f(ae, {
269
+ children: [/* @__PURE__ */ m("span", { children: l("checkout_payment_return_go_to_success") }), /* @__PURE__ */ m(se, {
269
270
  className: "h-4 w-4",
270
271
  "aria-hidden": "true"
271
272
  })]
272
273
  })
273
- }) : /* @__PURE__ */ f(m, {
274
+ }) : /* @__PURE__ */ m(g, {
274
275
  to: U,
275
- children: /* @__PURE__ */ f(n, { children: /* @__PURE__ */ f("span", { children: s("checkout_payment_return_retry_checkout") }) })
276
+ children: /* @__PURE__ */ m(a, { children: /* @__PURE__ */ m("span", { children: l("checkout_payment_return_retry_checkout") }) })
276
277
  })
277
278
  ]
278
- }) : J ? /* @__PURE__ */ p("div", {
279
+ }) : J ? /* @__PURE__ */ h("div", {
279
280
  className: "flex min-h-48 flex-col items-center justify-center gap-3 text-center",
280
- children: [/* @__PURE__ */ f(o, {
281
+ children: [/* @__PURE__ */ m(c, {
281
282
  className: "size-5 text-warning",
282
283
  "aria-hidden": "true"
283
- }), /* @__PURE__ */ p("div", {
284
+ }), /* @__PURE__ */ h("div", {
284
285
  className: "space-y-1",
285
- children: [/* @__PURE__ */ f("h2", {
286
+ children: [/* @__PURE__ */ m("h2", {
286
287
  className: "text-lg font-semibold text-slate-950",
287
- children: /* @__PURE__ */ f("span", { children: s("secure_payment_link.confirmation_loading_title") })
288
- }), /* @__PURE__ */ f("p", {
288
+ children: /* @__PURE__ */ m("span", { children: l("secure_payment_link.confirmation_loading_title") })
289
+ }), /* @__PURE__ */ m("p", {
289
290
  className: "text-sm text-slate-600",
290
- children: /* @__PURE__ */ f("span", { children: s("secure_payment_link.confirmation_loading_description") })
291
+ children: /* @__PURE__ */ m("span", { children: l("secure_payment_link.confirmation_loading_description") })
291
292
  })]
292
293
  })]
293
- }) : O.providerType === "mollie_connect_oauth" ? /* @__PURE__ */ p("div", {
294
+ }) : D.providerType === "mollie_connect_oauth" ? /* @__PURE__ */ h("div", {
294
295
  className: "space-y-4",
295
296
  children: [
296
- /* @__PURE__ */ f("h2", {
297
+ /* @__PURE__ */ m("h2", {
297
298
  className: "text-lg font-semibold text-slate-950",
298
- children: /* @__PURE__ */ f("span", { children: s("secure_payment_link.mollie.form_title") })
299
+ children: /* @__PURE__ */ m("span", { children: l("secure_payment_link.mollie.form_title") })
299
300
  }),
300
- /* @__PURE__ */ f("p", {
301
+ /* @__PURE__ */ m("p", {
301
302
  className: "text-sm text-slate-600",
302
- children: /* @__PURE__ */ f("span", { children: s("checkout_payment_hold_form_description") })
303
+ children: /* @__PURE__ */ m("span", { children: l("checkout_payment_hold_form_description") })
303
304
  }),
304
- O.profileId ? /* @__PURE__ */ f(ne, {
305
- profileId: O.profileId,
306
- testmode: O.testmode === !0,
307
- submitLabel: s("checkout_payment_authorize_button"),
308
- submittingLabel: s("checkout_payment_authorizing_button"),
305
+ D.profileId ? /* @__PURE__ */ m(re, {
306
+ profileId: D.profileId,
307
+ testmode: D.testmode === !0,
308
+ submitLabel: l("checkout_payment_authorize_button"),
309
+ submittingLabel: l("checkout_payment_authorizing_button"),
309
310
  onSubmit: async (e) => {
310
311
  let t = await G(e);
311
- if (!t.success) throw t.canRetryCheckout && E(), Error(t.message || s("secure_payment_link.errors.payment_failed"));
312
- if (z.current = t, k(t), t.paymentStatus === "authorized" || t.paymentStatus === "succeeded") {
313
- await K();
312
+ if (!t.success) throw t.canRetryCheckout && T(), Error(t.message || l("secure_payment_link.errors.payment_failed"));
313
+ if (I.current = t, O(t), t.paymentStatus === "authorized" || t.paymentStatus === "succeeded") {
314
+ await K(t);
314
315
  return;
315
316
  }
316
317
  if (t.paymentStatus === "failed" || t.paymentStatus === "cancelled") {
317
- E();
318
+ T();
318
319
  return;
319
320
  }
320
- if (!t.checkoutUrl) throw Error(t.message || s("secure_payment_link.errors.mollie_missing_url"));
321
+ if (!t.checkoutUrl) throw Error(t.message || l("secure_payment_link.errors.mollie_missing_url"));
321
322
  let n = new URL(t.checkoutUrl, window.location.origin).toString();
322
323
  window.location.assign(n);
323
324
  }
324
- }) : /* @__PURE__ */ f("p", {
325
+ }) : /* @__PURE__ */ m("p", {
325
326
  className: "text-sm text-destructive",
326
- children: /* @__PURE__ */ f("span", { children: s("secure_payment_link.errors.session_failed") })
327
+ children: /* @__PURE__ */ m("span", { children: l("secure_payment_link.errors.session_failed") })
327
328
  })
328
329
  ]
329
- }) : O.providerType === "stripe_connect_oauth" ? !O.clientSecret || !Y || !X ? /* @__PURE__ */ f("p", {
330
+ }) : D.providerType === "stripe_connect_oauth" ? !D.clientSecret || !Y || !X ? /* @__PURE__ */ m("p", {
330
331
  className: "text-sm text-destructive",
331
- children: /* @__PURE__ */ f("span", { children: s("secure_payment_link.errors.missing_publishable_key") })
332
- }) : /* @__PURE__ */ f(ue, {
332
+ children: /* @__PURE__ */ m("span", { children: l("secure_payment_link.errors.missing_publishable_key") })
333
+ }) : /* @__PURE__ */ m(pe, {
333
334
  stripe: Y,
334
335
  options: X,
335
- children: /* @__PURE__ */ f(x, {
336
- clientSecret: O.clientSecret,
336
+ children: /* @__PURE__ */ m(ge, {
337
+ clientSecret: D.clientSecret,
337
338
  onSuccess: async () => {
338
339
  let e = await G();
339
- if (!e.success) throw e.canRetryCheckout && E(), Error(e.message || s("secure_payment_link.errors.payment_failed"));
340
- if (z.current = e, k(e), e.paymentStatus === "authorized" || e.paymentStatus === "succeeded") {
341
- await K();
340
+ if (!e.success) throw e.canRetryCheckout && T(), Error(e.message || l("secure_payment_link.errors.payment_failed"));
341
+ if (I.current = e, O(e), e.paymentStatus === "authorized" || e.paymentStatus === "succeeded") {
342
+ await K(e);
342
343
  return;
343
344
  }
344
345
  if (e.paymentStatus === "pending" && e.payment?.status.trim().toLowerCase() === "processing") {
345
- L(0);
346
+ P(0);
346
347
  return;
347
348
  }
348
- throw Error(e.message || s("secure_payment_link.errors.payment_failed"));
349
+ throw Error(e.message || l("secure_payment_link.errors.payment_failed"));
349
350
  }
350
351
  })
351
- }, O.clientSecret) : /* @__PURE__ */ f("p", {
352
+ }, D.clientSecret) : /* @__PURE__ */ m("p", {
352
353
  className: "text-sm text-destructive",
353
- children: /* @__PURE__ */ f("span", { children: s("secure_payment_link.errors.session_failed") })
354
+ children: /* @__PURE__ */ m("span", { children: l("secure_payment_link.errors.session_failed") })
354
355
  })
355
356
  })]
356
357
  })
357
358
  });
358
359
  }
359
360
  //#endregion
360
- export { C as default };
361
+ export { S as default };
@@ -1,2 +1,2 @@
1
- export default function CheckoutSuccessPage(): import("react/jsx-runtime").JSX.Element;
1
+ export default function CheckoutSuccessPage(): import("react").JSX.Element;
2
2
  //# sourceMappingURL=CheckoutSuccessPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckoutSuccessPage.d.ts","sourceRoot":"","sources":["../../src/pages/CheckoutSuccessPage.tsx"],"names":[],"mappings":"AAQA,MAAM,CAAC,OAAO,UAAU,mBAAmB,4CAoC1C"}
1
+ {"version":3,"file":"CheckoutSuccessPage.d.ts","sourceRoot":"","sources":["../../src/pages/CheckoutSuccessPage.tsx"],"names":[],"mappings":"AASA,MAAM,CAAC,OAAO,UAAU,mBAAmB,gCAkD1C"}
@@ -1,44 +1,56 @@
1
1
  import { resolveBookingSearchParamsFromSessionStorage as e } from "../lib/booking.js";
2
- import { Button as t } from "../ui/button.js";
3
- import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
- import { Link as i, useParams as a, useSearchParams as o } from "@rpcbase/router";
5
- import { useTranslation as s } from "react-i18next";
6
- import { ArrowRight as c, CheckCircle2 as l } from "lucide-react";
2
+ import { getCheckoutBookingNumberFromSearchParams as t } from "../lib/checkoutSubmit.js";
3
+ import { Button as n } from "../ui/button.js";
4
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
+ import { Link as a, useParams as o, useSearchParams as s } from "@rpcbase/router";
6
+ import { useTranslation as c } from "react-i18next";
7
+ import { ArrowRight as l, CheckCircle2 as u } from "lucide-react";
7
8
  //#region src/pages/CheckoutSuccessPage.tsx
8
- function u() {
9
- let { t: u } = s(), { storeSlug: d } = a(), [f] = o(), p = e(f, d).toString(), m = `/${d ?? ""}/booking${p ? `?${p}` : ""}`, h = `/${d ?? ""}${p ? `?${p}` : ""}`;
10
- return /* @__PURE__ */ r("div", {
9
+ function d() {
10
+ let { t: d } = c(), { storeSlug: f } = o(), [p] = s(), m = t(p), h = e(p, f).toString(), g = `/${f ?? ""}/booking${h ? `?${h}` : ""}`, _ = `/${f ?? ""}${h ? `?${h}` : ""}`;
11
+ return /* @__PURE__ */ i("div", {
11
12
  className: "mx-auto max-w-3xl px-4 py-14 sm:px-6",
12
13
  children: [
13
- /* @__PURE__ */ n("div", {
14
+ /* @__PURE__ */ r("div", {
14
15
  className: "mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-success-subtle text-success",
15
- children: /* @__PURE__ */ n(l, {
16
+ children: /* @__PURE__ */ r(u, {
16
17
  className: "h-6 w-6",
17
18
  "aria-hidden": "true"
18
19
  })
19
20
  }),
20
- /* @__PURE__ */ n("h1", {
21
+ /* @__PURE__ */ r("h1", {
21
22
  className: "mt-6 text-center text-2xl font-semibold tracking-tight text-slate-950",
22
- children: /* @__PURE__ */ n("span", { children: u("checkout_success_title") })
23
+ children: /* @__PURE__ */ r("span", { children: d("checkout_success_title") })
23
24
  }),
24
- /* @__PURE__ */ n("p", {
25
- className: "mt-2 text-center text-sm text-slate-600",
26
- children: /* @__PURE__ */ n("span", { children: u("checkout_success_description") })
25
+ m ? /* @__PURE__ */ i("div", {
26
+ className: "mx-auto mt-6 max-w-sm rounded-xl border border-success-border bg-success-subtle px-5 py-4 text-center",
27
+ "data-testid": "checkout-success-booking-number",
28
+ children: [/* @__PURE__ */ r("p", {
29
+ className: "text-sm text-slate-600",
30
+ children: /* @__PURE__ */ r("span", { children: d("checkout_success_booking_number") })
31
+ }), /* @__PURE__ */ r("p", {
32
+ className: "mt-1 font-mono text-xl font-semibold tracking-wide text-slate-950",
33
+ children: /* @__PURE__ */ r("span", { children: m })
34
+ })]
35
+ }) : null,
36
+ /* @__PURE__ */ r("p", {
37
+ className: "mt-3 text-center text-sm text-slate-600",
38
+ children: /* @__PURE__ */ r("span", { children: d("checkout_success_description") })
27
39
  }),
28
- /* @__PURE__ */ r("div", {
40
+ /* @__PURE__ */ i("div", {
29
41
  className: "mt-8 flex flex-col gap-3 sm:flex-row sm:justify-center",
30
- children: [/* @__PURE__ */ n(i, {
31
- to: m,
32
- children: /* @__PURE__ */ n(t, {
42
+ children: [/* @__PURE__ */ r(a, {
43
+ to: g,
44
+ children: /* @__PURE__ */ r(n, {
33
45
  variant: "outline",
34
46
  className: "w-full sm:w-auto",
35
- children: /* @__PURE__ */ n("span", { children: u("checkout_success_back_to_products") })
47
+ children: /* @__PURE__ */ r("span", { children: d("checkout_success_back_to_products") })
36
48
  })
37
- }), /* @__PURE__ */ n(i, {
38
- to: h,
39
- children: /* @__PURE__ */ r(t, {
49
+ }), /* @__PURE__ */ r(a, {
50
+ to: _,
51
+ children: /* @__PURE__ */ i(n, {
40
52
  className: "w-full gap-2 sm:w-auto",
41
- children: [/* @__PURE__ */ n("span", { children: u("checkout_success_back_home") }), /* @__PURE__ */ n(c, {
53
+ children: [/* @__PURE__ */ r("span", { children: d("checkout_success_back_home") }), /* @__PURE__ */ r(l, {
42
54
  className: "h-4 w-4",
43
55
  "aria-hidden": "true"
44
56
  })]
@@ -49,4 +61,4 @@ function u() {
49
61
  });
50
62
  }
51
63
  //#endregion
52
- export { u as default };
64
+ export { d as default };