@loczer/storefront-sdk 0.216.0 → 0.218.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 (319) hide show
  1. package/dist/chunks/_virtual/_rolldown/{runtime-CkxIErRK.js → runtime-B5ovbsoX.js} +12 -5
  2. package/dist/chunks/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm-6voMhWrN.js +11 -0
  3. package/dist/chunks/node_modules/@emotion/memoize/dist/emotion-memoize.esm-CbcNHeNh.js +12 -0
  4. package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild-DVb6X_PO.js +61 -0
  5. package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild-DyihLa7p.js +53 -0
  6. package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/index-DmhaitYv.js +60 -0
  7. package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence-Cig9mH3B.js +20 -0
  8. package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/utils-MuK80fQc.js +11 -0
  9. package/dist/chunks/node_modules/framer-motion/dist/es/context/LayoutGroupContext-CppToMHP.js +6 -0
  10. package/dist/chunks/node_modules/framer-motion/dist/es/context/LazyContext-pz7xXPnk.js +6 -0
  11. package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionConfigContext-CoJIbMbt.js +10 -0
  12. package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionContext/create-Bn_I3YGX.js +17 -0
  13. package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionContext/index-B9obK4sO.js +6 -0
  14. package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionContext/utils-ByjX9df_.js +15 -0
  15. package/dist/chunks/node_modules/framer-motion/dist/es/context/PresenceContext-Cj2bJFe0.js +6 -0
  16. package/dist/chunks/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext-DhUxGAwV.js +6 -0
  17. package/dist/chunks/node_modules/framer-motion/dist/es/events/add-pointer-event-CHKBre-7.js +8 -0
  18. package/dist/chunks/node_modules/framer-motion/dist/es/events/event-info-CIMY2v27.js +11 -0
  19. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls-BP560JFy.js +258 -0
  20. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/index-DH25rbJs.js +22 -0
  21. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints-uATfUwby.js +59 -0
  22. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/focus-D5PGq15I.js +27 -0
  23. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/hover-BSuPivdx.js +20 -0
  24. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/pan/PanSession-DQk2Dv3G.js +138 -0
  25. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/pan/index-CSmtHc88.js +42 -0
  26. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/press-jh5KkKLw.js +26 -0
  27. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/animation/exit-C4vmhIuU.js +39 -0
  28. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/animation/index-BxVBcgYs.js +25 -0
  29. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/animations-D8nAGh1h.js +9 -0
  30. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/definitions-D5AEjfKY.js +51 -0
  31. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/drag-Ilu0wLsZ.js +15 -0
  32. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/gestures-NOCelRjM.js +13 -0
  33. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout-CiUIGE9r.js +61 -0
  34. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/layout-B_FwT4yv.js +9 -0
  35. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/load-features-BzH6YCRU.js +13 -0
  36. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/viewport/index-CulwEMSa.js +46 -0
  37. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/viewport/observers-x2xlB0Om.js +24 -0
  38. package/dist/chunks/node_modules/framer-motion/dist/es/motion/index-Nj9omPyM.js +70 -0
  39. package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/symbol-BaRQvk9k.js +4 -0
  40. package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref-B42kEDKi.js +21 -0
  41. package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/use-visual-element-CG31NdKM.js +58 -0
  42. package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/use-visual-state-C3wTD2F4.js +50 -0
  43. package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/valid-prop-B-V3c3JM.js +7 -0
  44. package/dist/chunks/node_modules/framer-motion/dist/es/render/components/create-proxy-CkstUqll.js +10 -0
  45. package/dist/chunks/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle-DUpS38r2.js +13 -0
  46. package/dist/chunks/node_modules/framer-motion/dist/es/render/components/motion/proxy-DXxjnqei.js +7 -0
  47. package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/create-visual-element-Da4IYVeR.js +8 -0
  48. package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/use-render-vjqx3wpA.js +21 -0
  49. package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/utils/filter-props-8AWb0Fmy.js +19 -0
  50. package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component-Dfh-TmXQ.js +7 -0
  51. package/dist/chunks/node_modules/framer-motion/dist/es/render/html/use-html-visual-state-B0BxPJ3u.js +11 -0
  52. package/dist/chunks/node_modules/framer-motion/dist/es/render/html/use-props-D5zID_2s.js +26 -0
  53. package/dist/chunks/node_modules/framer-motion/dist/es/render/html/utils/create-render-state-dth6BoLB.js +9 -0
  54. package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/lowercase-elements-C04v53NG.js +30 -0
  55. package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/use-props-MZrwg07L.js +26 -0
  56. package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state-pJSuuPIs.js +11 -0
  57. package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state-b0r4UXLU.js +8 -0
  58. package/dist/chunks/node_modules/framer-motion/dist/es/utils/distance-DcZpIXTw.js +8 -0
  59. package/dist/chunks/node_modules/framer-motion/dist/es/utils/get-context-window-pYdCDRbN.js +4 -0
  60. package/dist/chunks/node_modules/framer-motion/dist/es/utils/is-browser-DaKd-mJB.js +4 -0
  61. package/dist/chunks/node_modules/framer-motion/dist/es/utils/is-ref-object-DfJ8Lr_g.js +6 -0
  62. package/dist/chunks/node_modules/framer-motion/dist/es/utils/use-composed-ref-EoyZU9bo.js +25 -0
  63. package/dist/chunks/node_modules/framer-motion/dist/es/utils/use-constant-B5X65PZe.js +9 -0
  64. package/dist/chunks/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect-D1bPqOsw.js +7 -0
  65. package/dist/chunks/node_modules/mapbox-gl/dist/{mapbox-gl-C3ih7CyM.js → mapbox-gl-C3MzR-4r.js} +1 -1
  66. package/dist/chunks/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation-CaTU1DM6.js +107 -0
  67. package/dist/chunks/node_modules/motion-dom/dist/es/animation/JSAnimation-zfqrUSXR.js +129 -0
  68. package/dist/chunks/node_modules/motion-dom/dist/es/animation/NativeAnimation-CfiXAYmD.js +84 -0
  69. package/dist/chunks/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended-BKiHRnbh.js +28 -0
  70. package/dist/chunks/node_modules/motion-dom/dist/es/animation/animate/single-value-66TFY3Ue.js +10 -0
  71. package/dist/chunks/node_modules/motion-dom/dist/es/animation/drivers/frame-C46tnJcG.js +13 -0
  72. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/inertia-CSs70-4B.js +32 -0
  73. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/keyframes-B8KsYraP.js +22 -0
  74. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/spring-CEJsZ0ds.js +166 -0
  75. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration-N3fRuYmx.js +9 -0
  76. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing-CNVBTdyB.js +16 -0
  77. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator-CeGXg0jv.js +6 -0
  78. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/velocity-NngCxIQM.js +9 -0
  79. package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/motion-value-Dpez8dQD.js +45 -0
  80. package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-DZ-rOn58.js +21 -0
  81. package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target-C0xS2WGG.js +57 -0
  82. package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant-B35oZvml.js +26 -0
  83. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver-_h9E3nwl.js +61 -0
  84. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver-BxwoVKip.js +67 -0
  85. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/get-final-BQVKjyPS.js +8 -0
  86. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default-DW_NtU-K.js +8 -0
  87. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill-D-JxRntL.js +12 -0
  88. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time-BCh-zgvS.js +6 -0
  89. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards-Dasqyq5W.js +6 -0
  90. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none-Boi7nzNq.js +7 -0
  91. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable-DZ2uKxwT.js +18 -0
  92. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion-CZVviGe6.js +36 -0
  93. package/dist/chunks/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id-DKf-WdGO.js +5 -0
  94. package/dist/chunks/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id-B3ocRUEp.js +7 -0
  95. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/WithPromise-Df7bJffn.js +22 -0
  96. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger-Zf1BbESP.js +7 -0
  97. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/can-animate-8-JdOSKl.js +18 -0
  98. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion-DbIMqS6o.js +25 -0
  99. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/default-transitions-DVnwrMKg.js +27 -0
  100. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/get-value-transition-5a_kRob8.js +8 -0
  101. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/is-animatable-C5hoiztj.js +5 -0
  102. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/is-css-variable-CyNVJBsm.js +7 -0
  103. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined-C1rwuBUy.js +19 -0
  104. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant-COWEl80Q.js +6 -0
  105. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type-BMiDtDGg.js +16 -0
  106. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/resolve-transition-BTqjVzCB.js +13 -0
  107. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier-J2lt5jeZ.js +4 -0
  108. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing-BD7Y9jJG.js +11 -0
  109. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/easing/supported-Cz-WgHfd.js +35 -0
  110. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation-ClEsx3cW.js +19 -0
  111. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi-DOBuuHlt.js +24 -0
  112. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values-D6fGw6G9.js +10 -0
  113. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator-BP_nJDar.js +8 -0
  114. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color-DlLrfl3t.js +8 -0
  115. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/linear-CfxAW4iV.js +8 -0
  116. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing-CXVzjJ-M.js +17 -0
  117. package/dist/chunks/node_modules/motion-dom/dist/es/events/add-dom-event-CWEtxeZQ.js +6 -0
  118. package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/batcher-DfPEJ0tV.js +30 -0
  119. package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/frame-CKZTADU1.js +6 -0
  120. package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/microtask-C0-dBzym.js +5 -0
  121. package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/order-CHyaH5qN.js +13 -0
  122. package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/render-step-CdDpWyF_.js +32 -0
  123. package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/sync-time-C_QyRCNd.js +15 -0
  124. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/drag/state/is-active-CVvtbTCK.js +10 -0
  125. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/drag/state/set-active-CDl0txXn.js +11 -0
  126. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/hover-rZyMySKA.js +36 -0
  127. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/index-CdNLBeeX.js +36 -0
  128. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible-DVnEOolg.js +21 -0
  129. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard-OEdF2Pgl.js +28 -0
  130. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/utils/state-Ebi7SIjG.js +4 -0
  131. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child-Bpzb9pAt.js +4 -0
  132. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer-CiELcwyf.js +4 -0
  133. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/utils/setup-51FdPiwb.js +16 -0
  134. package/dist/chunks/node_modules/motion-dom/dist/es/projection/animation/mix-values-CI36Bvu8.js +25 -0
  135. package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/conversion-C53fTUL0.js +39 -0
  136. package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/copy-DLOE8cY-.js +12 -0
  137. package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/delta-apply-D_7fQFIs.js +43 -0
  138. package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/delta-calc-CnWZkKos.js +30 -0
  139. package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/delta-remove-BVg-RIJ5.js +29 -0
  140. package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/models-d7gxmOp4.js +18 -0
  141. package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/utils-DB_aXUBK.js +28 -0
  142. package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode-DO5yRSLp.js +13 -0
  143. package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode-DPNJVDRP.js +22 -0
  144. package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/create-projection-node-23wDIc4D.js +584 -0
  145. package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/state-DB-DwaXn.js +7 -0
  146. package/dist/chunks/node_modules/motion-dom/dist/es/projection/shared/stack-tv0ZE6-p.js +51 -0
  147. package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius-o5vW8fHp.js +13 -0
  148. package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow-BhjA57xW.js +13 -0
  149. package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/scale-correction-Dqs0DG_x.js +17 -0
  150. package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/transform-NKB2cwBd.js +12 -0
  151. package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth-D4ki-lbA.js +4 -0
  152. package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/each-axis-Bvmvr7Z2.js +6 -0
  153. package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/flat-tree-DoVrrxxY.js +19 -0
  154. package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/has-transform-MC2xCktm.js +18 -0
  155. package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/measure-9EHDTj-Q.js +12 -0
  156. package/dist/chunks/node_modules/motion-dom/dist/es/render/Feature-BO-74BEK.js +9 -0
  157. package/dist/chunks/node_modules/motion-dom/dist/es/render/VisualElement-Q2WcJv6t.js +204 -0
  158. package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement-C0PGIt5i.js +28 -0
  159. package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/is-css-var-Dp_b3naF.js +4 -0
  160. package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/parse-transform-BhriW6XO.js +56 -0
  161. package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/style-set-rv8o9V7z.js +7 -0
  162. package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash-DkTMivH-.js +6 -0
  163. package/dist/chunks/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement-BlmAcWaG.js +39 -0
  164. package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/build-styles-d8t31XT-.js +28 -0
  165. package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/build-transform-ses8bYxd.js +36 -0
  166. package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/render-D0WyK2kl.js +8 -0
  167. package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values-Dnanh7Pq.js +11 -0
  168. package/dist/chunks/node_modules/motion-dom/dist/es/render/store-BtTKq2jY.js +4 -0
  169. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement-CQOmrr3k.js +40 -0
  170. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs-CfRsHEuP.js +22 -0
  171. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs-eLNLAV8t.js +28 -0
  172. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag-DmzYEr13.js +4 -0
  173. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/path-DrGKJJG-.js +15 -0
  174. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/render--nKPYECx.js +10 -0
  175. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values-BZpmWNaV.js +14 -0
  176. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/animation-state-DDMO-7FQ.js +135 -0
  177. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/get-variant-context-qR057mHU.js +19 -0
  178. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-animation-controls-B7ktiywN.js +6 -0
  179. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants-BTh61RuJ.js +12 -0
  180. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value-DJbn-QIQ.js +8 -0
  181. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target-BjHS8PGf.js +4 -0
  182. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-variant-label-CVoIfHaT.js +6 -0
  183. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/keys-position-6KzA4Ufp.js +13 -0
  184. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/keys-transform-D89O3jUI.js +22 -0
  185. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/motion-values-BofpGQv9.js +21 -0
  186. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index-CBQsVFcz.js +11 -0
  187. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state-ClY5PInV.js +4 -0
  188. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants-CctcYJsO.js +8 -0
  189. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/resolve-variants-YRQnmPS8.js +20 -0
  190. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/setters-CAm56hbR.js +20 -0
  191. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/shallow-compare-D_Ag1Ugh.js +10 -0
  192. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/variant-props-wnjnGla7.js +12 -0
  193. package/dist/chunks/node_modules/motion-dom/dist/es/resize/handle-element-C0cdHgCp.js +37 -0
  194. package/dist/chunks/node_modules/motion-dom/dist/es/resize/handle-window-CYcfJ-yc.js +22 -0
  195. package/dist/chunks/node_modules/motion-dom/dist/es/resize/index-BxIqM2kA.js +8 -0
  196. package/dist/chunks/node_modules/motion-dom/dist/es/stats/buffer-Ddx-OwOh.js +7 -0
  197. package/dist/chunks/node_modules/motion-dom/dist/es/utils/border-radius-BzX2eyPO.js +9 -0
  198. package/dist/chunks/node_modules/motion-dom/dist/es/utils/delay-CHrWJUrg.js +12 -0
  199. package/dist/chunks/node_modules/motion-dom/dist/es/utils/interpolate-CzC1L8ZO.js +33 -0
  200. package/dist/chunks/node_modules/motion-dom/dist/es/utils/is-html-element-C0nwVk_b.js +7 -0
  201. package/dist/chunks/node_modules/motion-dom/dist/es/utils/is-svg-element-DBzZMKGK.js +7 -0
  202. package/dist/chunks/node_modules/motion-dom/dist/es/utils/is-svg-svg-element-Ckc3gGsT.js +7 -0
  203. package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/color-DWwiDYZb.js +30 -0
  204. package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/complex-BHS_05I4.js +52 -0
  205. package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/immediate-BKaWg21K.js +6 -0
  206. package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/index-BRygSkxI.js +8 -0
  207. package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/number-BQSwMPU1.js +4 -0
  208. package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/visibility-Cskd_oLV.js +7 -0
  209. package/dist/chunks/node_modules/motion-dom/dist/es/utils/resolve-elements-Dtu6Z_Ty.js +14 -0
  210. package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/flags-BurPNJ34.js +4 -0
  211. package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/linear-easing-Pzz4ZlUa.js +12 -0
  212. package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/memo-DC0cOD0o.js +9 -0
  213. package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline-rru9B6Gb.js +5 -0
  214. package/dist/chunks/node_modules/motion-dom/dist/es/value/index-Bwg0vVXH.js +92 -0
  215. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/auto-koixlyde.js +7 -0
  216. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/hex-D_nQPreB.js +19 -0
  217. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/hsla-UmYS8wgv.js +12 -0
  218. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba-DcyRElEM.js +21 -0
  219. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/index-N7DJKOLI.js +15 -0
  220. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/rgba-CdLIc-3D.js +15 -0
  221. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/utils-MnexfjLY.js +16 -0
  222. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/filter-ClIAXOZw.js +26 -0
  223. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/index-grhmCqMW.js +52 -0
  224. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/mask-BwJciot3.js +14 -0
  225. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/dimensions-DiF9rgiq.js +16 -0
  226. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/int-CXf2V5s3.js +8 -0
  227. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/maps/defaults-CUGdDi7c.js +24 -0
  228. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/maps/number-CbCxH6Jz.js +64 -0
  229. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/maps/transform-KMLgKYda.js +32 -0
  230. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/numbers/index-DYQnrXRf.js +15 -0
  231. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/numbers/units-Cl3LhAl3.js +12 -0
  232. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/test-BkLtGGhq.js +4 -0
  233. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/animatable-none-48Tgfh--.js +12 -0
  234. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/color-regex-C3uB4EIr.js +4 -0
  235. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/find-DcyXW-Sp.js +12 -0
  236. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/float-regex-DjWNXroL.js +4 -0
  237. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/get-as-type-D-jDTeib.js +4 -0
  238. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/is-nullish-CqG_su_i.js +6 -0
  239. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/sanitize-CHpVppHV.js +4 -0
  240. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex-B5zaDk0y.js +4 -0
  241. package/dist/chunks/node_modules/motion-dom/dist/es/value/utils/is-motion-value-DjNWSbJA.js +4 -0
  242. package/dist/chunks/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value-B_1ESd5B.js +7 -0
  243. package/dist/chunks/node_modules/motion-dom/dist/es/value/will-change/add-will-change-DBvewpY4.js +13 -0
  244. package/dist/chunks/node_modules/motion-dom/dist/es/value/will-change/is-T16fSSX5.js +7 -0
  245. package/dist/chunks/node_modules/motion-utils/dist/es/array-BBGK1j1b.js +10 -0
  246. package/dist/chunks/node_modules/motion-utils/dist/es/clamp-B15uFKIC.js +4 -0
  247. package/dist/chunks/node_modules/motion-utils/dist/es/easing/anticipate-CGu5JxBr.js +5 -0
  248. package/dist/chunks/node_modules/motion-utils/dist/es/easing/back-Dx4ysBOm.js +7 -0
  249. package/dist/chunks/node_modules/motion-utils/dist/es/easing/circ-BQFsYAQF.js +6 -0
  250. package/dist/chunks/node_modules/motion-utils/dist/es/easing/cubic-bezier-ChP-yr8D.js +18 -0
  251. package/dist/chunks/node_modules/motion-utils/dist/es/easing/ease-aj5zpqzD.js +5 -0
  252. package/dist/chunks/node_modules/motion-utils/dist/es/easing/modifiers/mirror-DK1HENQt.js +4 -0
  253. package/dist/chunks/node_modules/motion-utils/dist/es/easing/modifiers/reverse-SiUI2DwA.js +4 -0
  254. package/dist/chunks/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition-c8Afth9n.js +4 -0
  255. package/dist/chunks/node_modules/motion-utils/dist/es/easing/utils/is-easing-array-5MLjLjPK.js +4 -0
  256. package/dist/chunks/node_modules/motion-utils/dist/es/easing/utils/map-ldz_Xg06.js +31 -0
  257. package/dist/chunks/node_modules/motion-utils/dist/es/errors-zYMa5JTQ.js +10 -0
  258. package/dist/chunks/node_modules/motion-utils/dist/es/format-error-message-Dbn0S6vS.js +6 -0
  259. package/dist/chunks/node_modules/motion-utils/dist/es/global-config-BqV2nflf.js +4 -0
  260. package/dist/chunks/node_modules/motion-utils/dist/es/is-numerical-string-CiTQN66D.js +4 -0
  261. package/dist/chunks/node_modules/motion-utils/dist/es/is-object-QQQynvgM.js +4 -0
  262. package/dist/chunks/node_modules/motion-utils/dist/es/is-zero-value-string-Bss1UzBi.js +4 -0
  263. package/dist/chunks/node_modules/motion-utils/dist/es/memo-CwaXJmzB.js +8 -0
  264. package/dist/chunks/node_modules/motion-utils/dist/es/noop-DF4YCrc8.js +4 -0
  265. package/dist/chunks/node_modules/motion-utils/dist/es/pipe-BweOLNhL.js +4 -0
  266. package/dist/chunks/node_modules/motion-utils/dist/es/progress-B3YfSCwx.js +7 -0
  267. package/dist/chunks/node_modules/motion-utils/dist/es/subscription-manager-B1v5ik_R.js +26 -0
  268. package/dist/chunks/node_modules/motion-utils/dist/es/time-conversion-WGVLVIZI.js +4 -0
  269. package/dist/chunks/node_modules/motion-utils/dist/es/velocity-per-second-Hq_yU5RD.js +4 -0
  270. package/dist/chunks/node_modules/motion-utils/dist/es/warn-once-CNQIsdRh.js +8 -0
  271. package/dist/chunks/pkg/booking-engine/dist/models/Product.shared-CWP_qule.js +71 -0
  272. package/dist/chunks/pkg/booking-engine/dist/schemas/base-asset-BhIOL2rP.js +23 -0
  273. package/dist/chunks/pkg/booking-engine/dist/schemas/base-booking-C9kJFMIu.js +69 -0
  274. package/dist/chunks/pkg/booking-engine/dist/schemas/{base-product-BJHQLX8t.js → base-product-Bde9lJQD.js} +2 -1
  275. package/dist/chunks/pkg/booking-engine/dist/schemas/cart-inputs-epi7FXIk.js +74 -0
  276. package/dist/chunks/pkg/booking-engine/dist/schemas/{insurance-CPeHsTss.js → insurance-DXc34Bzy.js} +20 -19
  277. package/dist/chunks/pkg/booking-engine/dist/schemas/product-id--yyUTH1Y.js +5 -0
  278. package/dist/chunks/pkg/booking-engine/dist/schemas-DGn2a1my.js +15 -0
  279. package/dist/chunks/pkg/ui/dist/Map/{MapContent-TzYCv8ji.js → MapContent-BgCi-wZr.js} +2 -2
  280. package/dist/chunks/pkg/ui/dist/{Map-ZM-ZOU9P.js → Map-DCNW_9J_.js} +1 -1
  281. package/dist/chunks/pkg/ui/dist/{MorphingModalWizard-DOH1GYVR.js → MorphingModalWizard-j1CgFGLe.js} +0 -1
  282. package/dist/components/BookingBikeQuickAddCard/index.js +37 -36
  283. package/dist/components/BookingPeriodSelector/components/BookingEndDateField.js +1 -1
  284. package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.js +1 -1
  285. package/dist/components/BookingPeriodSelector/components/BookingStartDateField.js +1 -1
  286. package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.js +1 -1
  287. package/dist/components/Footer/BusinessHours.d.ts +2 -9
  288. package/dist/components/Footer/BusinessHours.d.ts.map +1 -1
  289. package/dist/components/Footer/BusinessHours.js +48 -91
  290. package/dist/components/Footer/BusinessHoursOverviewDialog.d.ts +11 -0
  291. package/dist/components/Footer/BusinessHoursOverviewDialog.d.ts.map +1 -0
  292. package/dist/components/Footer/BusinessHoursOverviewDialog.js +161 -0
  293. package/dist/components/Footer/businessHoursUtils.d.ts +37 -1
  294. package/dist/components/Footer/businessHoursUtils.d.ts.map +1 -1
  295. package/dist/components/Footer/businessHoursUtils.js +112 -15
  296. package/dist/components/Footer/index.d.ts.map +1 -1
  297. package/dist/components/Footer/index.js +78 -94
  298. package/dist/components/Map/index.js +1 -1
  299. package/dist/i18n/en.d.ts +5 -0
  300. package/dist/i18n/en.d.ts.map +1 -1
  301. package/dist/i18n/en.js +5 -0
  302. package/dist/i18n/fr.d.ts +5 -0
  303. package/dist/i18n/fr.d.ts.map +1 -1
  304. package/dist/i18n/fr.js +5 -0
  305. package/dist/index.d.ts +13 -0
  306. package/dist/index.js +80 -79
  307. package/dist/lib/booking-period.js +1 -1
  308. package/dist/lib/booking.js +2 -2
  309. package/dist/lib/checkoutSubmit.js +3 -3
  310. package/dist/pages/HomePage.d.ts.map +1 -1
  311. package/dist/pages/HomePage.js +250 -205
  312. package/dist/storefront.css +1 -1
  313. package/dist/storefrontSchemas.js +1 -1
  314. package/package.json +1 -2
  315. package/dist/chunks/pkg/booking-engine/dist/models/Product.shared-iVSHRdn4.js +0 -70
  316. package/dist/chunks/pkg/booking-engine/dist/schemas/base-asset-B4y__1qj.js +0 -22
  317. package/dist/chunks/pkg/booking-engine/dist/schemas/base-booking-Bhy2Kww1.js +0 -68
  318. package/dist/chunks/pkg/booking-engine/dist/schemas/cart-inputs-D1_Wmkca.js +0 -72
  319. package/dist/chunks/pkg/booking-engine/dist/schemas-C2PdkXfm.js +0 -14
@@ -0,0 +1,161 @@
1
+ import { Button as e } from "../../ui/button.js";
2
+ import { ResponsiveDialog as t, ResponsiveDialogClose as n, ResponsiveDialogContent as r, ResponsiveDialogDescription as i, ResponsiveDialogFooter as a, ResponsiveDialogHeader as o, ResponsiveDialogTitle as s } from "../../chunks/pkg/ui/dist/ResponsiveDialog-BJ0RG6gh.js";
3
+ import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
4
+ import { useTranslation as d } from "react-i18next";
5
+ import { ChevronDown as f, Clock as p } from "lucide-react";
6
+ //#region src/components/Footer/BusinessHoursOverviewDialog.tsx
7
+ function m({ open: m, seasons: h, exceptions: g, mapsHref: _, onOpenChange: v }) {
8
+ let { t: y } = d();
9
+ return /* @__PURE__ */ l(t, {
10
+ open: m,
11
+ onOpenChange: v,
12
+ children: m && (h.length > 0 || g.length > 0) ? /* @__PURE__ */ l(r, {
13
+ "data-testid": "business-hours-overview-dialog",
14
+ className: "overflow-hidden border-border bg-background p-0 text-foreground",
15
+ desktopClassName: "max-w-xl gap-0",
16
+ mobileClassName: "max-h-[92dvh] gap-0",
17
+ children: /* @__PURE__ */ u("div", {
18
+ className: "flex max-h-[90dvh] w-full min-w-0 flex-col",
19
+ children: [
20
+ /* @__PURE__ */ l(o, {
21
+ className: "shrink-0 border-b border-border px-5 py-4 text-left sm:px-6",
22
+ children: /* @__PURE__ */ u("div", {
23
+ className: "flex items-start gap-3",
24
+ children: [/* @__PURE__ */ l(p, {
25
+ className: "mt-0.5 h-5 w-5 shrink-0 text-muted-foreground",
26
+ "aria-hidden": "true"
27
+ }), /* @__PURE__ */ u("span", {
28
+ className: "min-w-0 space-y-1",
29
+ children: [/* @__PURE__ */ l(s, {
30
+ className: "text-left text-lg font-semibold leading-6 text-foreground",
31
+ children: /* @__PURE__ */ l("span", { children: y("business_hours_modal_title") })
32
+ }), /* @__PURE__ */ l(i, {
33
+ className: "text-left text-sm text-muted-foreground",
34
+ children: _ ? /* @__PURE__ */ l("a", {
35
+ href: _,
36
+ className: "underline-offset-4 transition-colors hover:text-foreground hover:underline",
37
+ target: "_blank",
38
+ rel: "nofollow noopener noreferrer",
39
+ children: y("business_hours_google_maps_note")
40
+ }) : /* @__PURE__ */ l("span", { children: y("business_hours_modal_description") })
41
+ })]
42
+ })]
43
+ })
44
+ }),
45
+ /* @__PURE__ */ l("div", {
46
+ "data-testid": "business-hours-overview-scroll",
47
+ className: "min-h-0 flex-1 overflow-y-auto overscroll-contain px-5 sm:px-6",
48
+ children: /* @__PURE__ */ u("div", {
49
+ className: "divide-y divide-border",
50
+ children: [h.map((e) => {
51
+ let t = /* @__PURE__ */ l("ul", {
52
+ "data-testid": `business-hours-overview-season-panel-${e.id}`,
53
+ className: "mt-4 space-y-3",
54
+ children: e.items.map((e) => /* @__PURE__ */ u("li", {
55
+ className: "flex min-w-0 items-baseline gap-2 sm:gap-3",
56
+ children: [
57
+ /* @__PURE__ */ l("span", {
58
+ className: "shrink-0 text-sm leading-tight text-muted-foreground",
59
+ children: e.label
60
+ }),
61
+ /* @__PURE__ */ l("span", {
62
+ "aria-hidden": "true",
63
+ className: "mx-1 min-w-2 flex-1 border-b border-dotted border-border"
64
+ }),
65
+ /* @__PURE__ */ l("span", {
66
+ className: "min-w-0 max-w-[60%] text-right text-sm font-medium leading-tight text-foreground",
67
+ children: e.value
68
+ })
69
+ ]
70
+ }, e.id))
71
+ });
72
+ return /* @__PURE__ */ l("section", {
73
+ "data-testid": `business-hours-overview-season-${e.id}`,
74
+ className: "py-5",
75
+ children: e.isCurrent ? /* @__PURE__ */ u(c, { children: [/* @__PURE__ */ u("div", {
76
+ className: "flex flex-col gap-0.5 sm:flex-row sm:items-baseline sm:justify-between sm:gap-4",
77
+ children: [/* @__PURE__ */ l("h3", {
78
+ className: "text-base font-semibold leading-6 text-foreground",
79
+ children: e.label
80
+ }), /* @__PURE__ */ l("p", {
81
+ className: "shrink-0 text-sm text-muted-foreground",
82
+ children: e.rangeLabel
83
+ })]
84
+ }), t] }) : /* @__PURE__ */ u("details", {
85
+ "data-testid": `business-hours-overview-season-details-${e.id}`,
86
+ className: "group",
87
+ children: [/* @__PURE__ */ u("summary", {
88
+ "data-testid": `business-hours-overview-season-toggle-${e.id}`,
89
+ className: "flex cursor-pointer list-none items-center gap-3 rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 [&::-webkit-details-marker]:hidden",
90
+ children: [/* @__PURE__ */ u("span", {
91
+ className: "flex min-w-0 flex-1 flex-col gap-0.5 sm:flex-row sm:items-baseline sm:justify-between sm:gap-4",
92
+ children: [/* @__PURE__ */ l("span", {
93
+ className: "text-base font-semibold leading-6 text-foreground",
94
+ children: e.label
95
+ }), /* @__PURE__ */ l("span", {
96
+ className: "shrink-0 text-sm text-muted-foreground",
97
+ children: e.rangeLabel
98
+ })]
99
+ }), /* @__PURE__ */ l(f, {
100
+ className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform group-open:rotate-180",
101
+ "aria-hidden": "true"
102
+ })]
103
+ }), t]
104
+ })
105
+ }, e.id);
106
+ }), g.length > 0 ? /* @__PURE__ */ u("section", {
107
+ "data-testid": "business-hours-overview-exceptions",
108
+ className: "py-5",
109
+ children: [/* @__PURE__ */ u("div", {
110
+ className: "space-y-0.5",
111
+ children: [/* @__PURE__ */ l("h3", {
112
+ className: "text-base font-semibold leading-6 text-foreground",
113
+ children: /* @__PURE__ */ l("span", { children: y("business_hours_exceptions_title") })
114
+ }), /* @__PURE__ */ l("p", {
115
+ className: "text-sm text-muted-foreground",
116
+ children: /* @__PURE__ */ l("span", { children: y("business_hours_exceptions_description") })
117
+ })]
118
+ }), /* @__PURE__ */ l("ul", {
119
+ className: "mt-4 space-y-3",
120
+ children: g.map((e) => /* @__PURE__ */ u("li", {
121
+ "data-testid": `business-hours-overview-exception-${e.date}`,
122
+ className: "flex min-w-0 items-baseline gap-2 sm:gap-3",
123
+ children: [
124
+ /* @__PURE__ */ l("time", {
125
+ dateTime: e.date,
126
+ className: "min-w-0 text-sm leading-tight text-muted-foreground",
127
+ children: /* @__PURE__ */ l("span", { children: e.label })
128
+ }),
129
+ /* @__PURE__ */ l("span", {
130
+ "aria-hidden": "true",
131
+ className: "mx-1 min-w-2 flex-1 border-b border-dotted border-border"
132
+ }),
133
+ /* @__PURE__ */ l("span", {
134
+ className: "min-w-0 max-w-[45%] text-right text-sm font-medium leading-tight text-foreground",
135
+ children: e.value
136
+ })
137
+ ]
138
+ }, e.id))
139
+ })]
140
+ }) : null]
141
+ })
142
+ }),
143
+ /* @__PURE__ */ l(a, {
144
+ className: "shrink-0 border-t border-border px-5 py-4 sm:px-6",
145
+ children: /* @__PURE__ */ l(n, {
146
+ asChild: !0,
147
+ children: /* @__PURE__ */ l(e, {
148
+ type: "button",
149
+ variant: "outline",
150
+ className: "h-11 w-full rounded-xl sm:w-auto",
151
+ children: /* @__PURE__ */ l("span", { children: y("close_modal") })
152
+ })
153
+ })
154
+ })
155
+ ]
156
+ })
157
+ }) : null
158
+ });
159
+ }
160
+ //#endregion
161
+ export { m as BusinessHoursOverviewDialog };
@@ -1,4 +1,5 @@
1
- import { Weekday } from '../../lib/booking-period';
1
+ import { StoreOpeningHours, StoreOpeningOverride, Weekday } from '../../lib/booking-period';
2
+ import { StorefrontConfiguration } from '../../storefrontSchemas';
2
3
  export type BusinessHoursListItem = {
3
4
  weekday: Weekday;
4
5
  label: string;
@@ -10,5 +11,40 @@ export type GroupedBusinessHoursItem = {
10
11
  label: string;
11
12
  value: string;
12
13
  };
14
+ export type BusinessHoursSeasonOption = {
15
+ id: string;
16
+ label: string;
17
+ rangeLabel: string;
18
+ startDate: string;
19
+ endDate: string;
20
+ isCurrent: boolean;
21
+ items: GroupedBusinessHoursItem[];
22
+ };
23
+ export type BusinessHoursExceptionOption = {
24
+ id: string;
25
+ date: string;
26
+ label: string;
27
+ value: string;
28
+ };
29
+ type StorefrontOpeningHours = StorefrontConfiguration["bookingEngine"]["shop"]["openingHours"];
30
+ type StorefrontOpeningHoursOverrides = StorefrontConfiguration["bookingEngine"]["shop"]["openingHoursOverrides"];
31
+ export declare const normalizeStorefrontOpeningHours: (openingHours?: StorefrontOpeningHours) => StoreOpeningHours;
32
+ export declare const normalizeStorefrontOpeningHoursOverrides: (openingHoursOverrides?: StorefrontOpeningHoursOverrides) => StoreOpeningOverride[];
13
33
  export declare const groupBusinessHoursItems: (items: BusinessHoursListItem[], formatRangeLabel: (startLabel: string, endLabel: string) => string) => GroupedBusinessHoursItem[];
34
+ type BuildBusinessHoursSeasonSummaryOptions = {
35
+ openingHours: StoreOpeningHours;
36
+ openingHoursOverrides: StoreOpeningOverride[];
37
+ language: string;
38
+ closedLabel: string;
39
+ formatWeekdayRange: (startLabel: string, endLabel: string) => string;
40
+ formatSeasonRange: (startDate: string, endDate: string) => string;
41
+ includeReferenceDateOverrideInSeason?: boolean;
42
+ referenceDate?: Date;
43
+ };
44
+ export declare const buildBusinessHoursSeasonSummary: ({ openingHours, openingHoursOverrides, language, closedLabel, formatWeekdayRange, formatSeasonRange, includeReferenceDateOverrideInSeason, referenceDate, }: BuildBusinessHoursSeasonSummaryOptions) => {
45
+ seasons: BusinessHoursSeasonOption[];
46
+ exceptions: BusinessHoursExceptionOption[];
47
+ defaultSeasonId: string | null;
48
+ };
49
+ export {};
14
50
  //# sourceMappingURL=businessHoursUtils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"businessHoursUtils.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/businessHoursUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAA;AAGvD,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAOD,eAAO,MAAM,uBAAuB,GAClC,OAAO,qBAAqB,EAAE,EAC9B,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,KACjE,wBAAwB,EA4C1B,CAAA"}
1
+ {"version":3,"file":"businessHoursUtils.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/businessHoursUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,OAAO,EACb,MAAM,0BAA0B,CAAA;AACjC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AAGtE,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,OAAO,CAAA;IAClB,KAAK,EAAE,wBAAwB,EAAE,CAAA;CAClC,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,KAAK,sBAAsB,GAAG,uBAAuB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,cAAc,CAAC,CAAA;AAC9F,KAAK,+BAA+B,GAAG,uBAAuB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,uBAAuB,CAAC,CAAA;AAMhH,eAAO,MAAM,+BAA+B,GAC1C,eAAe,sBAAsB,KACpC,iBAiBF,CAAA;AAED,eAAO,MAAM,wCAAwC,GACnD,wBAAwB,+BAA+B,KACtD,oBAAoB,EAYtB,CAAA;AAOD,eAAO,MAAM,uBAAuB,GAClC,OAAO,qBAAqB,EAAE,EAC9B,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,KACjE,wBAAwB,EA4C1B,CAAA;AAiED,KAAK,sCAAsC,GAAG;IAC5C,YAAY,EAAE,iBAAiB,CAAA;IAC/B,qBAAqB,EAAE,oBAAoB,EAAE,CAAA;IAC7C,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,kBAAkB,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAA;IACpE,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,MAAM,CAAA;IACjE,oCAAoC,CAAC,EAAE,OAAO,CAAA;IAC9C,aAAa,CAAC,EAAE,IAAI,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,+BAA+B,GAAI,6JAS7C,sCAAsC,KAAG;IAC1C,OAAO,EAAE,yBAAyB,EAAE,CAAA;IACpC,UAAU,EAAE,4BAA4B,EAAE,CAAA;IAC1C,eAAe,EAAE,MAAM,GAAG,IAAI,CAAA;CAuG/B,CAAA"}
@@ -1,24 +1,121 @@
1
+ import { businessDateStringToDate as e, calendarDateToBusinessDateString as t, minutesToTimeString as n, normalizeBusinessDateString as r, normalizeOpeningHours as i, parseTimeToMinutes as a } from "../../lib/booking-period.js";
1
2
  //#region src/components/Footer/businessHoursUtils.ts
2
- var e = (e) => e <= 4, t = (e) => e === 5 || e === 6, n = (n, r) => {
3
- let i = [...n].sort((e, t) => e.weekday - t.weekday), a = i.filter((t) => e(t.weekday)), o = i.filter((e) => t(e.weekday)), s = [], c = 0;
4
- for (; c < a.length;) {
5
- let e = a[c], t = e.value, n = c;
6
- for (; n + 1 < a.length && a[n + 1].value === t;) n += 1;
7
- let i = a.slice(c, n + 1), o = i.length === 1 ? `${e.weekday}` : `${e.weekday}-${i[i.length - 1].weekday}`;
8
- s.push({
9
- id: `weekday-${o}`,
10
- weekdays: i.map((e) => e.weekday),
11
- label: i.length === 1 ? e.label : r(e.label, i[i.length - 1].label),
12
- value: t
13
- }), c = n + 1;
3
+ var o = (e) => (Math.trunc(e) % 7 + 7) % 7, s = (e) => Array.isArray(e) ? e.map((e) => ({
4
+ name: e.name,
5
+ startDate: e.startDate,
6
+ endDate: e.endDate,
7
+ openingHours: e.openingHours.map((e) => ({
8
+ day: o(e.day),
9
+ openingSlots: e.openingSlots.map((e) => ({
10
+ start: e.start,
11
+ end: e.end
12
+ }))
13
+ }))
14
+ })) : [], c = (e) => Array.isArray(e) ? e.map((e) => ({
15
+ date: e.date,
16
+ openingSlots: e.openingSlots.map((e) => ({
17
+ start: e.start,
18
+ end: e.end
19
+ }))
20
+ })) : [], l = (e) => e <= 4, u = (e) => e === 5 || e === 6, d = (e, t) => {
21
+ let n = [...e].sort((e, t) => e.weekday - t.weekday), r = n.filter((e) => l(e.weekday)), i = n.filter((e) => u(e.weekday)), a = [], o = 0;
22
+ for (; o < r.length;) {
23
+ let e = r[o], n = e.value, i = o;
24
+ for (; i + 1 < r.length && r[i + 1].value === n;) i += 1;
25
+ let s = r.slice(o, i + 1), c = s.length === 1 ? `${e.weekday}` : `${e.weekday}-${s[s.length - 1].weekday}`;
26
+ a.push({
27
+ id: `weekday-${c}`,
28
+ weekdays: s.map((e) => e.weekday),
29
+ label: s.length === 1 ? e.label : t(e.label, s[s.length - 1].label),
30
+ value: n
31
+ }), o = i + 1;
14
32
  }
15
- let l = o.map((e) => ({
33
+ let s = i.map((e) => ({
16
34
  id: `weekend-${e.weekday}`,
17
35
  weekdays: [e.weekday],
18
36
  label: e.label,
19
37
  value: e.value
20
38
  }));
21
- return [...s, ...l];
39
+ return [...a, ...s];
40
+ }, f = (e, t) => {
41
+ let n = new Date(2024, 0, 8, 12);
42
+ n.setDate(n.getDate() + e);
43
+ let r = new Intl.DateTimeFormat(t, { weekday: "long" }).format(n);
44
+ return r && `${r.charAt(0).toLocaleUpperCase(t)}${r.slice(1)}`;
45
+ }, p = (t, n) => {
46
+ let r = e(t);
47
+ return Number.isNaN(r.getTime()) ? t : new Intl.DateTimeFormat(n, {
48
+ year: "numeric",
49
+ month: "short",
50
+ day: "2-digit"
51
+ }).format(r);
52
+ }, m = (t, n) => {
53
+ let r = e(t);
54
+ if (Number.isNaN(r.getTime())) return t;
55
+ let i = new Intl.DateTimeFormat(n, {
56
+ weekday: "long",
57
+ year: "numeric",
58
+ month: "long",
59
+ day: "numeric"
60
+ }).format(r);
61
+ return i && `${i.charAt(0).toLocaleUpperCase(n)}${i.slice(1)}`;
62
+ }, h = (e, t) => {
63
+ let r = e.map((e) => {
64
+ let t = a(e.start), r = a(e.end);
65
+ return t == null || r == null || r <= t ? null : {
66
+ startMinutes: t,
67
+ label: `${n(t)} - ${n(r)}`
68
+ };
69
+ }).filter((e) => !!e).sort((e, t) => e.startMinutes - t.startMinutes).map((e) => e.label);
70
+ return r.length > 0 ? r.join(" / ") : t;
71
+ }, g = ({ openingHours: n, openingHoursOverrides: a, language: s, closedLabel: c, formatWeekdayRange: l, formatSeasonRange: u, includeReferenceDateOverrideInSeason: g = !0, referenceDate: _ = /* @__PURE__ */ new Date() }) => {
72
+ let v = i(n, g ? a : [], { referenceDate: _ }), y = v.season, b = v.days.map((e) => ({
73
+ weekday: e.day,
74
+ label: f(e.day, s),
75
+ value: e.summaryLabel ?? c
76
+ })), x = new Date(_);
77
+ x.setHours(0, 0, 0, 0);
78
+ let S = n.map((t, n) => {
79
+ let r = t.startDate === y?.startDate && t.endDate === y?.endDate, i = /* @__PURE__ */ new Map();
80
+ r || t.openingHours.forEach((e) => {
81
+ i.set(o(e.day), e.openingSlots);
82
+ });
83
+ let a = r ? b : Array.from({ length: 7 }, (e, t) => {
84
+ let n = t;
85
+ return {
86
+ weekday: n,
87
+ label: f(n, s),
88
+ value: h(i.get(n) ?? [], c)
89
+ };
90
+ }), m = u(p(t.startDate, s), p(t.endDate, s)), g = e(t.startDate), _ = e(t.endDate);
91
+ g.setHours(0, 0, 0, 0), _.setHours(0, 0, 0, 0);
92
+ let v = !Number.isNaN(g.getTime()) && !Number.isNaN(_.getTime()) && g.getTime() <= x.getTime() && _.getTime() >= x.getTime();
93
+ return {
94
+ id: String(n),
95
+ label: t.name || m,
96
+ rangeLabel: m,
97
+ startDate: t.startDate,
98
+ endDate: t.endDate,
99
+ isCurrent: v,
100
+ items: d(a, l)
101
+ };
102
+ }).filter((t) => {
103
+ let n = e(t.endDate);
104
+ return Number.isNaN(n.getTime()) ? !0 : (n.setHours(0, 0, 0, 0), n.getTime() >= x.getTime());
105
+ }).sort((e, t) => e.startDate.localeCompare(t.startDate)), C = S.length > 0 ? S.find((e) => e.startDate === y?.startDate && e.endDate === y?.endDate)?.id ?? S[0].id : null, w = t(_), T = /* @__PURE__ */ new Map();
106
+ return a.forEach((e) => {
107
+ let t = r(e.date);
108
+ !t || w && t < w || T.set(t, e);
109
+ }), {
110
+ seasons: S,
111
+ exceptions: Array.from(T.entries()).sort(([e], [t]) => e.localeCompare(t)).map(([e, t]) => ({
112
+ id: e,
113
+ date: e,
114
+ label: m(e, s),
115
+ value: h(t.openingSlots, c)
116
+ })),
117
+ defaultSeasonId: C
118
+ };
22
119
  };
23
120
  //#endregion
24
- export { n as groupBusinessHoursItems };
121
+ export { g as buildBusinessHoursSeasonSummary, d as groupBusinessHoursItems, s as normalizeStorefrontOpeningHours, c as normalizeStorefrontOpeningHoursOverrides };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/index.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAWtF,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,YAAY,CAAC,EAAE,uBAAuB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,cAAc,CAAC,CAAA;IAC/E,qBAAqB,CAAC,EAAE,uBAAuB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,uBAAuB,CAAC,CAAA;CAClG,CAAA;AAyCD,wBAAgB,MAAM,CAAC,EACrB,SAAS,EACT,IAAI,EACJ,YAAY,EACZ,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,GACtB,EAAE,WAAW,2CAoJb"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/index.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAetF,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,YAAY,CAAC,EAAE,uBAAuB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,cAAc,CAAC,CAAA;IAC/E,qBAAqB,CAAC,EAAE,uBAAuB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,uBAAuB,CAAC,CAAA;CAClG,CAAA;AAED,wBAAgB,MAAM,CAAC,EACrB,SAAS,EACT,IAAI,EACJ,YAAY,EACZ,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,GACtB,EAAE,WAAW,2CAoJb"}
@@ -1,172 +1,156 @@
1
1
  import { resolveStorefrontMapsHref as e, resolveStorefrontPhoneContact as t } from "../../lib/storefrontContact.js";
2
2
  import n from "../../chunks/assets/whatsapp-m5e0vjnZ.js";
3
3
  import { MISSING_SHOP_ADDRESS as r, MISSING_SHOP_EMAIL as i, MISSING_SHOP_PHONE_NUMBER as a } from "../../lib/storefrontMissingValues.js";
4
- import { BusinessHours as o } from "./BusinessHours.js";
5
- import { jsx as s, jsxs as c } from "react/jsx-runtime";
6
- import { Link as l } from "@rpcbase/router";
7
- import { useTranslation as u } from "react-i18next";
8
- import { cn as d } from "@rpcbase/ui";
9
- import { Clock as f, Mail as p, MapPin as m, Phone as h } from "lucide-react";
4
+ import { normalizeStorefrontOpeningHours as o, normalizeStorefrontOpeningHoursOverrides as s } from "./businessHoursUtils.js";
5
+ import { BusinessHours as c } from "./BusinessHours.js";
6
+ import { jsx as l, jsxs as u } from "react/jsx-runtime";
7
+ import { Link as d } from "@rpcbase/router";
8
+ import { useTranslation as f } from "react-i18next";
9
+ import { cn as p } from "@rpcbase/ui";
10
+ import { Clock as m, Mail as h, MapPin as g, Phone as _ } from "lucide-react";
10
11
  //#region src/components/Footer/index.tsx
11
- var g = "group inline-flex gap-2 text-sm font-normal text-slate-600 decoration-current underline-offset-4 transition-colors hover:text-slate-800 hover:underline", _ = "inline-flex text-sm font-normal text-slate-600 decoration-current underline-offset-4 transition-colors hover:text-slate-800 hover:underline", v = "mt-0.5 inline-flex h-4 w-4 flex-shrink-0 items-center justify-center text-current transition-colors", y = (e) => (Math.trunc(e) % 7 + 7) % 7, b = (e) => Array.isArray(e) ? e.map((e) => ({
12
- name: e.name,
13
- startDate: e.startDate,
14
- endDate: e.endDate,
15
- openingHours: e.openingHours.map((e) => ({
16
- day: y(e.day),
17
- openingSlots: e.openingSlots.map((e) => ({
18
- start: e.start,
19
- end: e.end
20
- }))
21
- }))
22
- })) : [], x = (e) => Array.isArray(e) ? e.map((e) => ({
23
- date: e.date,
24
- openingSlots: e.openingSlots.map((e) => ({
25
- start: e.start,
26
- end: e.end
27
- }))
28
- })) : [];
29
- function S({ storeSlug: y, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, openingHours: T, openingHoursOverrides: E }) {
30
- let { t: D } = u(), O = t(S), k = S?.emailAddress?.trim() ?? "", A = S?.address?.trim() ?? "", j = e(S), M = b(T), N = x(E), P = M.length > 0, F = y?.trim() || S?.slug?.trim() || "", I = F ? `/${encodeURIComponent(F)}/rental-terms` : "rental-terms";
31
- return /* @__PURE__ */ s("footer", {
12
+ var v = "group inline-flex gap-2 text-sm font-normal text-slate-600 decoration-current underline-offset-4 transition-colors hover:text-slate-800 hover:underline", y = "inline-flex text-sm font-normal text-slate-600 decoration-current underline-offset-4 transition-colors hover:text-slate-800 hover:underline", b = "mt-0.5 inline-flex h-4 w-4 flex-shrink-0 items-center justify-center text-current transition-colors";
13
+ function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, openingHours: T, openingHoursOverrides: E }) {
14
+ let { t: D } = f(), O = t(S), k = S?.emailAddress?.trim() ?? "", A = S?.address?.trim() ?? "", j = e(S), M = o(T), N = s(E), P = M.length > 0, F = x?.trim() || S?.slug?.trim() || "", I = F ? `/${encodeURIComponent(F)}/rental-terms` : "rental-terms";
15
+ return /* @__PURE__ */ l("footer", {
32
16
  className: "border-t bg-white",
33
- children: /* @__PURE__ */ c("div", {
17
+ children: /* @__PURE__ */ u("div", {
34
18
  className: "mx-auto grid max-w-7xl gap-8 px-4 py-10 sm:px-6 md:grid-cols-3",
35
19
  children: [
36
- /* @__PURE__ */ c("div", {
20
+ /* @__PURE__ */ u("div", {
37
21
  className: "space-y-2",
38
- children: [/* @__PURE__ */ s("p", {
22
+ children: [/* @__PURE__ */ l("p", {
39
23
  className: "text-sm font-semibold text-slate-950",
40
- children: /* @__PURE__ */ s("span", { children: D("footer_information_title") })
41
- }), /* @__PURE__ */ s("nav", {
24
+ children: /* @__PURE__ */ l("span", { children: D("footer_information_title") })
25
+ }), /* @__PURE__ */ l("nav", {
42
26
  className: "grid gap-2",
43
27
  "aria-label": D("footer_information_title"),
44
- children: /* @__PURE__ */ s(l, {
45
- className: _,
28
+ children: /* @__PURE__ */ l(d, {
29
+ className: y,
46
30
  to: I,
47
- children: /* @__PURE__ */ s("span", { children: D("rental_terms_title") })
31
+ children: /* @__PURE__ */ l("span", { children: D("rental_terms_title") })
48
32
  })
49
33
  })]
50
34
  }),
51
- /* @__PURE__ */ c("div", {
35
+ /* @__PURE__ */ u("div", {
52
36
  className: "space-y-2",
53
- children: [/* @__PURE__ */ s("p", {
37
+ children: [/* @__PURE__ */ l("p", {
54
38
  className: "text-sm font-semibold text-slate-950",
55
- children: /* @__PURE__ */ s("span", { children: D("footer_contact_title") })
56
- }), /* @__PURE__ */ c("div", {
39
+ children: /* @__PURE__ */ l("span", { children: D("footer_contact_title") })
40
+ }), /* @__PURE__ */ u("div", {
57
41
  className: "grid gap-2",
58
42
  children: [
59
- C ? /* @__PURE__ */ c("a", {
60
- className: d(g, "items-center"),
43
+ C ? /* @__PURE__ */ u("a", {
44
+ className: p(v, "items-center"),
61
45
  href: C,
62
46
  target: "_blank",
63
47
  rel: "noreferrer",
64
48
  children: [
65
- /* @__PURE__ */ s("span", {
66
- className: d(v, "h-5 w-5"),
67
- children: /* @__PURE__ */ s("img", {
49
+ /* @__PURE__ */ l("span", {
50
+ className: p(b, "h-5 w-5"),
51
+ children: /* @__PURE__ */ l("img", {
68
52
  src: n,
69
53
  className: "h-5 w-5 shrink-0",
70
54
  alt: "",
71
55
  "aria-hidden": "true"
72
56
  })
73
57
  }),
74
- /* @__PURE__ */ s("span", { children: D("footer_whatsapp_link") }),
75
- w ? /* @__PURE__ */ s("span", {
58
+ /* @__PURE__ */ l("span", { children: D("footer_whatsapp_link") }),
59
+ w ? /* @__PURE__ */ l("span", {
76
60
  className: "text-slate-500",
77
61
  children: w
78
62
  }) : null
79
63
  ]
80
64
  }) : null,
81
- O ? /* @__PURE__ */ c("a", {
82
- className: d(g, "items-center"),
65
+ O ? /* @__PURE__ */ u("a", {
66
+ className: p(v, "items-center"),
83
67
  href: O.href,
84
68
  "aria-label": O.phoneDisplay,
85
- children: [/* @__PURE__ */ s("span", {
86
- className: v,
87
- children: /* @__PURE__ */ s(h, {
69
+ children: [/* @__PURE__ */ l("span", {
70
+ className: b,
71
+ children: /* @__PURE__ */ l(_, {
88
72
  className: "h-4 w-4",
89
73
  "aria-hidden": "true"
90
74
  })
91
- }), /* @__PURE__ */ s("span", { children: O.phoneDisplay })]
92
- }) : /* @__PURE__ */ c("div", {
93
- className: d(g, "items-center text-destructive hover:text-destructive hover:no-underline"),
94
- children: [/* @__PURE__ */ s("span", {
95
- className: v,
96
- children: /* @__PURE__ */ s(h, {
75
+ }), /* @__PURE__ */ l("span", { children: O.phoneDisplay })]
76
+ }) : /* @__PURE__ */ u("div", {
77
+ className: p(v, "items-center text-destructive hover:text-destructive hover:no-underline"),
78
+ children: [/* @__PURE__ */ l("span", {
79
+ className: b,
80
+ children: /* @__PURE__ */ l(_, {
97
81
  className: "h-4 w-4",
98
82
  "aria-hidden": "true"
99
83
  })
100
- }), /* @__PURE__ */ s("span", { children: a })]
84
+ }), /* @__PURE__ */ l("span", { children: a })]
101
85
  }),
102
- k ? /* @__PURE__ */ c("a", {
103
- className: d(g, "items-center"),
86
+ k ? /* @__PURE__ */ u("a", {
87
+ className: p(v, "items-center"),
104
88
  href: `mailto:${k}`,
105
89
  "aria-label": k,
106
- children: [/* @__PURE__ */ s("span", {
107
- className: v,
108
- children: /* @__PURE__ */ s(p, {
90
+ children: [/* @__PURE__ */ l("span", {
91
+ className: b,
92
+ children: /* @__PURE__ */ l(h, {
109
93
  className: "h-4 w-4",
110
94
  "aria-hidden": "true"
111
95
  })
112
- }), /* @__PURE__ */ s("span", { children: k })]
113
- }) : /* @__PURE__ */ c("div", {
114
- className: d(g, "items-center text-destructive hover:text-destructive hover:no-underline"),
115
- children: [/* @__PURE__ */ s("span", {
116
- className: v,
117
- children: /* @__PURE__ */ s(p, {
96
+ }), /* @__PURE__ */ l("span", { children: k })]
97
+ }) : /* @__PURE__ */ u("div", {
98
+ className: p(v, "items-center text-destructive hover:text-destructive hover:no-underline"),
99
+ children: [/* @__PURE__ */ l("span", {
100
+ className: b,
101
+ children: /* @__PURE__ */ l(h, {
118
102
  className: "h-4 w-4",
119
103
  "aria-hidden": "true"
120
104
  })
121
- }), /* @__PURE__ */ s("span", { children: i })]
105
+ }), /* @__PURE__ */ l("span", { children: i })]
122
106
  }),
123
- j && A ? /* @__PURE__ */ c("a", {
124
- className: d(g, "items-start"),
107
+ j && A ? /* @__PURE__ */ u("a", {
108
+ className: p(v, "items-start"),
125
109
  href: j,
126
110
  target: "_blank",
127
111
  rel: "noreferrer",
128
- children: [/* @__PURE__ */ s("span", {
129
- className: v,
130
- children: /* @__PURE__ */ s(m, {
112
+ children: [/* @__PURE__ */ l("span", {
113
+ className: b,
114
+ children: /* @__PURE__ */ l(g, {
131
115
  className: "h-4 w-4",
132
116
  "aria-hidden": "true"
133
117
  })
134
- }), /* @__PURE__ */ s("span", { children: A })]
135
- }) : /* @__PURE__ */ c("div", {
136
- className: d(g, "items-start text-destructive hover:text-destructive hover:no-underline"),
137
- children: [/* @__PURE__ */ s("span", {
138
- className: v,
139
- children: /* @__PURE__ */ s(m, {
118
+ }), /* @__PURE__ */ l("span", { children: A })]
119
+ }) : /* @__PURE__ */ u("div", {
120
+ className: p(v, "items-start text-destructive hover:text-destructive hover:no-underline"),
121
+ children: [/* @__PURE__ */ l("span", {
122
+ className: b,
123
+ children: /* @__PURE__ */ l(g, {
140
124
  className: "h-4 w-4",
141
125
  "aria-hidden": "true"
142
126
  })
143
- }), /* @__PURE__ */ s("span", { children: r })]
127
+ }), /* @__PURE__ */ l("span", { children: r })]
144
128
  })
145
129
  ]
146
130
  })]
147
131
  }),
148
- /* @__PURE__ */ c("div", {
132
+ /* @__PURE__ */ u("div", {
149
133
  className: "space-y-2",
150
- children: [/* @__PURE__ */ s("p", {
134
+ children: [/* @__PURE__ */ l("p", {
151
135
  className: "text-sm font-semibold text-slate-950",
152
- children: /* @__PURE__ */ s("span", { children: D("footer_hours_title") })
153
- }), P ? /* @__PURE__ */ s(o, {
136
+ children: /* @__PURE__ */ l("span", { children: D("footer_hours_title") })
137
+ }), P ? /* @__PURE__ */ l(c, {
154
138
  openingHours: M,
155
139
  openingHoursOverrides: N
156
- }) : /* @__PURE__ */ c("div", {
140
+ }) : /* @__PURE__ */ u("div", {
157
141
  className: "grid gap-1 text-sm text-slate-700",
158
- children: [/* @__PURE__ */ c("p", {
142
+ children: [/* @__PURE__ */ u("p", {
159
143
  className: "inline-flex items-center gap-2",
160
- children: [/* @__PURE__ */ s(f, {
144
+ children: [/* @__PURE__ */ l(m, {
161
145
  className: "h-4 w-4 text-slate-400",
162
146
  "aria-hidden": "true"
163
- }), /* @__PURE__ */ s("span", { children: D("footer_hours_week") })]
164
- }), /* @__PURE__ */ c("p", {
147
+ }), /* @__PURE__ */ l("span", { children: D("footer_hours_week") })]
148
+ }), /* @__PURE__ */ u("p", {
165
149
  className: "inline-flex items-center gap-2",
166
- children: [/* @__PURE__ */ s(f, {
150
+ children: [/* @__PURE__ */ l(m, {
167
151
  className: "h-4 w-4 text-slate-400",
168
152
  "aria-hidden": "true"
169
- }), /* @__PURE__ */ s("span", { children: D("footer_hours_weekend") })]
153
+ }), /* @__PURE__ */ l("span", { children: D("footer_hours_weekend") })]
170
154
  })]
171
155
  })]
172
156
  })
@@ -175,4 +159,4 @@ function S({ storeSlug: y, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, op
175
159
  });
176
160
  }
177
161
  //#endregion
178
- export { S as Footer };
162
+ export { x as Footer };
@@ -1,4 +1,4 @@
1
- import { Map as e } from "../../chunks/pkg/ui/dist/Map-ZM-ZOU9P.js";
1
+ import { Map as e } from "../../chunks/pkg/ui/dist/Map-DCNW_9J_.js";
2
2
  import { createMarkerElement as t } from "./createMarkerElement.js";
3
3
  //#region src/components/Map/index.tsx
4
4
  var n = e;
package/dist/i18n/en.d.ts CHANGED
@@ -19,6 +19,11 @@ export declare const storefront: {
19
19
  checkout_button: string;
20
20
  storefront_popup_title_fallback: string;
21
21
  status_open: string;
22
+ business_hours_modal_title: string;
23
+ business_hours_modal_description: string;
24
+ business_hours_google_maps_note: string;
25
+ business_hours_exceptions_title: string;
26
+ business_hours_exceptions_description: string;
22
27
  hero_title: string;
23
28
  hero_description: string;
24
29
  feature_secure_payment_title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwftB,CAAA"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6ftB,CAAA"}