@loczer/storefront-sdk 0.217.0 → 0.219.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/_virtual/_rolldown/{runtime-CkxIErRK.js → runtime-B5ovbsoX.js} +12 -5
- package/dist/chunks/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm-6voMhWrN.js +11 -0
- package/dist/chunks/node_modules/@emotion/memoize/dist/emotion-memoize.esm-CbcNHeNh.js +12 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild-DVb6X_PO.js +61 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild-DyihLa7p.js +53 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/index-DmhaitYv.js +60 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence-Cig9mH3B.js +20 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/utils-MuK80fQc.js +11 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/LayoutGroupContext-CppToMHP.js +6 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/LazyContext-pz7xXPnk.js +6 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionConfigContext-CoJIbMbt.js +10 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionContext/create-Bn_I3YGX.js +17 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionContext/index-B9obK4sO.js +6 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionContext/utils-ByjX9df_.js +15 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/PresenceContext-Cj2bJFe0.js +6 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext-DhUxGAwV.js +6 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/events/add-pointer-event-CHKBre-7.js +8 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/events/event-info-CIMY2v27.js +11 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls-BP560JFy.js +258 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/index-DH25rbJs.js +22 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints-uATfUwby.js +59 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/focus-D5PGq15I.js +27 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/hover-BSuPivdx.js +20 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/pan/PanSession-DQk2Dv3G.js +138 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/pan/index-CSmtHc88.js +42 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/press-jh5KkKLw.js +26 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/animation/exit-C4vmhIuU.js +39 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/animation/index-BxVBcgYs.js +25 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/animations-D8nAGh1h.js +9 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/definitions-D5AEjfKY.js +51 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/drag-Ilu0wLsZ.js +15 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/gestures-NOCelRjM.js +13 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout-CiUIGE9r.js +61 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/layout-B_FwT4yv.js +9 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/load-features-BzH6YCRU.js +13 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/viewport/index-CulwEMSa.js +46 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/viewport/observers-x2xlB0Om.js +24 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/index-Nj9omPyM.js +70 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/symbol-BaRQvk9k.js +4 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref-B42kEDKi.js +21 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/use-visual-element-CG31NdKM.js +58 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/use-visual-state-C3wTD2F4.js +50 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/valid-prop-B-V3c3JM.js +7 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/components/create-proxy-CkstUqll.js +10 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle-DUpS38r2.js +13 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/components/motion/proxy-DXxjnqei.js +7 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/create-visual-element-Da4IYVeR.js +8 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/use-render-vjqx3wpA.js +21 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/utils/filter-props-8AWb0Fmy.js +19 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component-Dfh-TmXQ.js +7 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/html/use-html-visual-state-B0BxPJ3u.js +11 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/html/use-props-D5zID_2s.js +26 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/html/utils/create-render-state-dth6BoLB.js +9 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/lowercase-elements-C04v53NG.js +30 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/use-props-MZrwg07L.js +26 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state-pJSuuPIs.js +11 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state-b0r4UXLU.js +8 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/distance-DcZpIXTw.js +8 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/get-context-window-pYdCDRbN.js +4 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/is-browser-DaKd-mJB.js +4 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/is-ref-object-DfJ8Lr_g.js +6 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/use-composed-ref-EoyZU9bo.js +25 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/use-constant-B5X65PZe.js +9 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect-D1bPqOsw.js +7 -0
- package/dist/chunks/node_modules/mapbox-gl/dist/{mapbox-gl-C3ih7CyM.js → mapbox-gl-C3MzR-4r.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation-CaTU1DM6.js +107 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/JSAnimation-zfqrUSXR.js +129 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/NativeAnimation-CfiXAYmD.js +84 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended-BKiHRnbh.js +28 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/animate/single-value-66TFY3Ue.js +10 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/drivers/frame-C46tnJcG.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/inertia-CSs70-4B.js +32 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/keyframes-B8KsYraP.js +22 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/spring-CEJsZ0ds.js +166 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration-N3fRuYmx.js +9 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing-CNVBTdyB.js +16 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator-CeGXg0jv.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/velocity-NngCxIQM.js +9 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/motion-value-Dpez8dQD.js +45 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-DZ-rOn58.js +21 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target-C0xS2WGG.js +57 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant-B35oZvml.js +26 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver-_h9E3nwl.js +61 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver-BxwoVKip.js +67 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/get-final-BQVKjyPS.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default-DW_NtU-K.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill-D-JxRntL.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time-BCh-zgvS.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards-Dasqyq5W.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none-Boi7nzNq.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable-DZ2uKxwT.js +18 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion-CZVviGe6.js +36 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id-DKf-WdGO.js +5 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id-B3ocRUEp.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/WithPromise-Df7bJffn.js +22 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger-Zf1BbESP.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/can-animate-8-JdOSKl.js +18 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion-DbIMqS6o.js +25 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/default-transitions-DVnwrMKg.js +27 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/get-value-transition-5a_kRob8.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/is-animatable-C5hoiztj.js +5 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/is-css-variable-CyNVJBsm.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined-C1rwuBUy.js +19 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant-COWEl80Q.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type-BMiDtDGg.js +16 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/resolve-transition-BTqjVzCB.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier-J2lt5jeZ.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing-BD7Y9jJG.js +11 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/easing/supported-Cz-WgHfd.js +35 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation-ClEsx3cW.js +19 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi-DOBuuHlt.js +24 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values-D6fGw6G9.js +10 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator-BP_nJDar.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color-DlLrfl3t.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/linear-CfxAW4iV.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing-CXVzjJ-M.js +17 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/events/add-dom-event-CWEtxeZQ.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/batcher-DfPEJ0tV.js +30 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/frame-CKZTADU1.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/microtask-C0-dBzym.js +5 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/order-CHyaH5qN.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/render-step-CdDpWyF_.js +32 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/sync-time-C_QyRCNd.js +15 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/drag/state/is-active-CVvtbTCK.js +10 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/drag/state/set-active-CDl0txXn.js +11 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/hover-rZyMySKA.js +36 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/index-CdNLBeeX.js +36 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible-DVnEOolg.js +21 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard-OEdF2Pgl.js +28 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/utils/state-Ebi7SIjG.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child-Bpzb9pAt.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer-CiELcwyf.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/utils/setup-51FdPiwb.js +16 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/animation/mix-values-CI36Bvu8.js +25 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/conversion-C53fTUL0.js +39 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/copy-DLOE8cY-.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/delta-apply-D_7fQFIs.js +43 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/delta-calc-CnWZkKos.js +30 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/delta-remove-BVg-RIJ5.js +29 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/models-d7gxmOp4.js +18 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/utils-DB_aXUBK.js +28 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode-DO5yRSLp.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode-DPNJVDRP.js +22 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/create-projection-node-23wDIc4D.js +584 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/state-DB-DwaXn.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/shared/stack-tv0ZE6-p.js +51 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius-o5vW8fHp.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow-BhjA57xW.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/scale-correction-Dqs0DG_x.js +17 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/transform-NKB2cwBd.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth-D4ki-lbA.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/each-axis-Bvmvr7Z2.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/flat-tree-DoVrrxxY.js +19 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/has-transform-MC2xCktm.js +18 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/measure-9EHDTj-Q.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/Feature-BO-74BEK.js +9 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/VisualElement-Q2WcJv6t.js +204 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement-C0PGIt5i.js +28 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/is-css-var-Dp_b3naF.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/parse-transform-BhriW6XO.js +56 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/style-set-rv8o9V7z.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash-DkTMivH-.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement-BlmAcWaG.js +39 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/build-styles-d8t31XT-.js +28 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/build-transform-ses8bYxd.js +36 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/render-D0WyK2kl.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values-Dnanh7Pq.js +11 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/store-BtTKq2jY.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement-CQOmrr3k.js +40 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs-CfRsHEuP.js +22 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs-eLNLAV8t.js +28 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag-DmzYEr13.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/path-DrGKJJG-.js +15 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/render--nKPYECx.js +10 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values-BZpmWNaV.js +14 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/animation-state-DDMO-7FQ.js +135 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/get-variant-context-qR057mHU.js +19 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-animation-controls-B7ktiywN.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants-BTh61RuJ.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value-DJbn-QIQ.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target-BjHS8PGf.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-variant-label-CVoIfHaT.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/keys-position-6KzA4Ufp.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/keys-transform-D89O3jUI.js +22 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/motion-values-BofpGQv9.js +21 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index-CBQsVFcz.js +11 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state-ClY5PInV.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants-CctcYJsO.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/resolve-variants-YRQnmPS8.js +20 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/setters-CAm56hbR.js +20 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/shallow-compare-D_Ag1Ugh.js +10 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/variant-props-wnjnGla7.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/resize/handle-element-C0cdHgCp.js +37 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/resize/handle-window-CYcfJ-yc.js +22 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/resize/index-BxIqM2kA.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/stats/buffer-Ddx-OwOh.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/border-radius-BzX2eyPO.js +9 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/delay-CHrWJUrg.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/interpolate-CzC1L8ZO.js +33 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/is-html-element-C0nwVk_b.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/is-svg-element-DBzZMKGK.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/is-svg-svg-element-Ckc3gGsT.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/color-DWwiDYZb.js +30 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/complex-BHS_05I4.js +52 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/immediate-BKaWg21K.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/index-BRygSkxI.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/number-BQSwMPU1.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/visibility-Cskd_oLV.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/resolve-elements-Dtu6Z_Ty.js +14 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/flags-BurPNJ34.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/linear-easing-Pzz4ZlUa.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/memo-DC0cOD0o.js +9 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline-rru9B6Gb.js +5 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/index-Bwg0vVXH.js +92 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/auto-koixlyde.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/hex-D_nQPreB.js +19 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/hsla-UmYS8wgv.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba-DcyRElEM.js +21 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/index-N7DJKOLI.js +15 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/rgba-CdLIc-3D.js +15 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/utils-MnexfjLY.js +16 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/filter-ClIAXOZw.js +26 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/index-grhmCqMW.js +52 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/mask-BwJciot3.js +14 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/dimensions-DiF9rgiq.js +16 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/int-CXf2V5s3.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/maps/defaults-CUGdDi7c.js +24 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/maps/number-CbCxH6Jz.js +64 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/maps/transform-KMLgKYda.js +32 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/numbers/index-DYQnrXRf.js +15 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/numbers/units-Cl3LhAl3.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/test-BkLtGGhq.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/animatable-none-48Tgfh--.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/color-regex-C3uB4EIr.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/find-DcyXW-Sp.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/float-regex-DjWNXroL.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/get-as-type-D-jDTeib.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/is-nullish-CqG_su_i.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/sanitize-CHpVppHV.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex-B5zaDk0y.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/utils/is-motion-value-DjNWSbJA.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value-B_1ESd5B.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/will-change/add-will-change-DBvewpY4.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/will-change/is-T16fSSX5.js +7 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/array-BBGK1j1b.js +10 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/clamp-B15uFKIC.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/anticipate-CGu5JxBr.js +5 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/back-Dx4ysBOm.js +7 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/circ-BQFsYAQF.js +6 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/cubic-bezier-ChP-yr8D.js +18 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/ease-aj5zpqzD.js +5 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/modifiers/mirror-DK1HENQt.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/modifiers/reverse-SiUI2DwA.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition-c8Afth9n.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/utils/is-easing-array-5MLjLjPK.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/utils/map-ldz_Xg06.js +31 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/errors-zYMa5JTQ.js +10 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/format-error-message-Dbn0S6vS.js +6 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/global-config-BqV2nflf.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/is-numerical-string-CiTQN66D.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/is-object-QQQynvgM.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/is-zero-value-string-Bss1UzBi.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/memo-CwaXJmzB.js +8 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/noop-DF4YCrc8.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/pipe-BweOLNhL.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/progress-B3YfSCwx.js +7 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/subscription-manager-B1v5ik_R.js +26 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/time-conversion-WGVLVIZI.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/velocity-per-second-Hq_yU5RD.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/warn-once-CNQIsdRh.js +8 -0
- package/dist/chunks/pkg/booking-engine/dist/models/Product.shared-CWP_qule.js +71 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/base-asset-BhIOL2rP.js +23 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/base-booking-C9kJFMIu.js +69 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/{base-product-BJHQLX8t.js → base-product-Bde9lJQD.js} +2 -1
- package/dist/chunks/pkg/booking-engine/dist/schemas/cart-inputs-epi7FXIk.js +74 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/{insurance-CPeHsTss.js → insurance-DXc34Bzy.js} +20 -19
- package/dist/chunks/pkg/booking-engine/dist/schemas/product-id--yyUTH1Y.js +5 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas-DGn2a1my.js +15 -0
- package/dist/chunks/pkg/ui/dist/Map/{MapContent-TzYCv8ji.js → MapContent-BgCi-wZr.js} +2 -2
- package/dist/chunks/pkg/ui/dist/{Map-ZM-ZOU9P.js → Map-DCNW_9J_.js} +1 -1
- package/dist/chunks/pkg/ui/dist/{MorphingModalWizard-DOH1GYVR.js → MorphingModalWizard-j1CgFGLe.js} +0 -1
- package/dist/components/BookingBikeQuickAddCard/index.js +37 -36
- package/dist/components/BookingFlowPageLayout/index.d.ts +13 -0
- package/dist/components/BookingFlowPageLayout/index.d.ts.map +1 -0
- package/dist/components/BookingFlowPageLayout/index.js +35 -0
- package/dist/components/BookingPeriodSelector/components/BookingEndDateField.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingEndDateField.js +11 -34
- package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingStartDateField.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingStartDateField.js +2 -5
- package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.js +1 -1
- package/dist/components/BookingPeriodSelector/index.d.ts +1 -1
- package/dist/components/BookingPeriodSelector/index.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/useBookingPeriodController.d.ts +0 -5
- package/dist/components/BookingPeriodSelector/useBookingPeriodController.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/useBookingPeriodController.js +150 -159
- package/dist/components/Footer/BusinessHours.d.ts +2 -1
- package/dist/components/Footer/BusinessHours.d.ts.map +1 -1
- package/dist/components/Footer/BusinessHours.js +19 -18
- package/dist/components/Footer/businessHoursStatus.d.ts +25 -0
- package/dist/components/Footer/businessHoursStatus.d.ts.map +1 -0
- package/dist/components/Footer/businessHoursStatus.js +99 -0
- package/dist/components/Footer/businessHoursUtils.d.ts +2 -1
- package/dist/components/Footer/businessHoursUtils.d.ts.map +1 -1
- package/dist/components/Footer/businessHoursUtils.js +52 -45
- package/dist/components/Footer/index.d.ts +2 -1
- package/dist/components/Footer/index.d.ts.map +1 -1
- package/dist/components/Footer/index.js +26 -25
- package/dist/components/Layout/index.d.ts.map +1 -1
- package/dist/components/Layout/index.js +2 -1
- package/dist/components/Map/index.js +1 -1
- package/dist/components/StorefrontCancellationPolicyNotice/index.d.ts.map +1 -1
- package/dist/components/StorefrontCancellationPolicyNotice/index.js +89 -86
- package/dist/components/StorefrontCartPanel/index.js +4 -4
- package/dist/components/StorefrontInsuranceNotice/index.d.ts +2 -1
- package/dist/components/StorefrontInsuranceNotice/index.d.ts.map +1 -1
- package/dist/components/StorefrontInsuranceNotice/index.js +155 -162
- package/dist/i18n/en.d.ts +7 -1
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +8 -2
- package/dist/i18n/fr.d.ts +7 -1
- package/dist/i18n/fr.d.ts.map +1 -1
- package/dist/i18n/fr.js +8 -2
- package/dist/index.d.ts +27 -9
- package/dist/index.js +80 -79
- package/dist/lib/booking-period.js +1 -1
- package/dist/lib/booking.js +2 -2
- package/dist/lib/checkoutSubmit.js +3 -3
- package/dist/lib/pricing.d.ts.map +1 -1
- package/dist/lib/pricing.js +3 -1
- package/dist/lib/products.d.ts +6 -0
- package/dist/lib/products.d.ts.map +1 -1
- package/dist/lib/products.js +36 -32
- package/dist/pages/BookingPage.d.ts.map +1 -1
- package/dist/pages/BookingPage.js +306 -335
- package/dist/pages/CheckoutPage.d.ts.map +1 -1
- package/dist/pages/CheckoutPage.js +154 -168
- package/dist/pages/HomePage.d.ts.map +1 -1
- package/dist/pages/HomePage.js +435 -378
- package/dist/storefront.css +1 -1
- package/dist/storefrontSchemas.js +1 -1
- package/package.json +1 -2
- package/dist/chunks/pkg/booking-engine/dist/models/Product.shared-iVSHRdn4.js +0 -70
- package/dist/chunks/pkg/booking-engine/dist/schemas/base-asset-B4y__1qj.js +0 -22
- package/dist/chunks/pkg/booking-engine/dist/schemas/base-booking-Bhy2Kww1.js +0 -68
- package/dist/chunks/pkg/booking-engine/dist/schemas/cart-inputs-D1_Wmkca.js +0 -72
- package/dist/chunks/pkg/booking-engine/dist/schemas-C2PdkXfm.js +0 -14
|
@@ -3,10 +3,9 @@ import { ResponsiveDialog as t, ResponsiveDialogContent as n, ResponsiveDialogDe
|
|
|
3
3
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
4
4
|
import { useSearchParams as l } from "@rpcbase/router";
|
|
5
5
|
import { useTranslation as u } from "react-i18next";
|
|
6
|
-
import {
|
|
7
|
-
import { CheckCircle2 as f, Info as p } from "lucide-react";
|
|
6
|
+
import { CheckCircle2 as d, Info as f } from "lucide-react";
|
|
8
7
|
//#region src/components/StorefrontCancellationPolicyNotice/index.tsx
|
|
9
|
-
var
|
|
8
|
+
var p = .95, m = "show_cancellation_policy_modal", h = (e) => e.tiers.length === 0 ? [] : [...e.tiers].sort((e, t) => e.upToHours - t.upToHours), g = (e) => h(e).find((e) => e.refundPercentage >= p) ?? null, _ = (e, t) => {
|
|
10
9
|
try {
|
|
11
10
|
return new Intl.NumberFormat(t, {
|
|
12
11
|
style: "percent",
|
|
@@ -16,108 +15,112 @@ var m = .95, h = "show_cancellation_policy_modal", g = (e) => e.tiers.length ===
|
|
|
16
15
|
return `${Number.parseFloat((e * 100).toFixed(2))}%`;
|
|
17
16
|
}
|
|
18
17
|
};
|
|
19
|
-
function
|
|
20
|
-
let { t:
|
|
21
|
-
let t = new URLSearchParams(
|
|
22
|
-
e ? t.set(
|
|
18
|
+
function v({ policy: p, className: v }) {
|
|
19
|
+
let { t: y, i18n: b } = u(), [x, S] = l(), C = x.get(m) === "true", w = h(p), T = g(p), E = (e) => {
|
|
20
|
+
let t = new URLSearchParams(x);
|
|
21
|
+
e ? t.set(m, "true") : t.delete(m), S(t, { replace: !0 });
|
|
23
22
|
};
|
|
24
|
-
if (!
|
|
25
|
-
let
|
|
23
|
+
if (!T) return null;
|
|
24
|
+
let D = (e) => {
|
|
26
25
|
let t = Math.max(1, Math.round(e));
|
|
27
|
-
return t >= 72 && t % 24 == 0 ?
|
|
26
|
+
return t >= 72 && t % 24 == 0 ? y("cancellation_policy_duration_days", { count: t / 24 }) : y("cancellation_policy_duration_hours", { count: t });
|
|
28
27
|
};
|
|
29
28
|
return /* @__PURE__ */ c("li", {
|
|
30
|
-
className:
|
|
29
|
+
className: v,
|
|
31
30
|
"data-testid": "storefront-cancellation-policy-notice",
|
|
32
|
-
children: [
|
|
33
|
-
|
|
31
|
+
children: [/* @__PURE__ */ c("button", {
|
|
32
|
+
type: "button",
|
|
33
|
+
className: "group flex w-full cursor-pointer items-start gap-3 rounded-md text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-950 focus-visible:ring-offset-2",
|
|
34
|
+
"aria-label": y("cancellation_policy_info_aria_label"),
|
|
35
|
+
"aria-haspopup": "dialog",
|
|
36
|
+
"aria-expanded": C,
|
|
37
|
+
onClick: () => E(!0),
|
|
38
|
+
children: [/* @__PURE__ */ s(d, {
|
|
34
39
|
className: "mt-0.5 h-5 w-5 shrink-0 text-success",
|
|
35
40
|
"aria-hidden": "true"
|
|
36
|
-
}),
|
|
37
|
-
/* @__PURE__ */ c("div", {
|
|
41
|
+
}), /* @__PURE__ */ c("span", {
|
|
38
42
|
className: "min-w-0 flex-1",
|
|
39
|
-
children: [/* @__PURE__ */ c("
|
|
43
|
+
children: [/* @__PURE__ */ c("span", {
|
|
40
44
|
className: "flex min-w-0 items-start gap-1.5",
|
|
41
|
-
children: [/* @__PURE__ */ s("
|
|
45
|
+
children: [/* @__PURE__ */ s("span", {
|
|
42
46
|
className: "min-w-0 text-sm font-medium text-slate-950",
|
|
43
|
-
children:
|
|
44
|
-
}), /* @__PURE__ */ s("
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"aria-label": b("cancellation_policy_info_aria_label"),
|
|
48
|
-
onClick: () => D(!0),
|
|
49
|
-
children: /* @__PURE__ */ s(p, {
|
|
47
|
+
children: y("cancellation_policy_teaser", { duration: D(T.upToHours) })
|
|
48
|
+
}), /* @__PURE__ */ s("span", {
|
|
49
|
+
className: "mt-[-1px] inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-slate-500 transition group-hover:bg-slate-100 group-hover:text-slate-950 group-focus-visible:bg-slate-100 group-focus-visible:text-slate-950",
|
|
50
|
+
children: /* @__PURE__ */ s(f, {
|
|
50
51
|
className: "h-3.5 w-3.5",
|
|
51
52
|
"aria-hidden": "true"
|
|
52
53
|
})
|
|
53
54
|
})]
|
|
54
|
-
}), /* @__PURE__ */ s("
|
|
55
|
-
className: "text-xs text-slate-600",
|
|
56
|
-
children:
|
|
55
|
+
}), /* @__PURE__ */ s("span", {
|
|
56
|
+
className: "block text-xs text-slate-600",
|
|
57
|
+
children: y("cancellation_policy_teaser_description", { duration: D(T.upToHours) })
|
|
57
58
|
})]
|
|
58
|
-
})
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
})]
|
|
59
|
+
})]
|
|
60
|
+
}), /* @__PURE__ */ s(t, {
|
|
61
|
+
open: C,
|
|
62
|
+
onOpenChange: E,
|
|
63
|
+
children: /* @__PURE__ */ s(n, {
|
|
64
|
+
"data-testid": "storefront-cancellation-policy-modal",
|
|
65
|
+
className: "overflow-hidden border-slate-200 bg-white p-0",
|
|
66
|
+
desktopClassName: "max-w-lg gap-0",
|
|
67
|
+
mobileClassName: "max-h-[92dvh] gap-0",
|
|
68
|
+
children: /* @__PURE__ */ c("div", {
|
|
69
|
+
className: "flex max-h-[90dvh] w-full min-w-0 flex-col",
|
|
70
|
+
children: [
|
|
71
|
+
/* @__PURE__ */ s(a, {
|
|
72
|
+
className: "border-b border-slate-200 px-5 py-4 text-left sm:px-6",
|
|
73
|
+
children: /* @__PURE__ */ c("div", {
|
|
74
|
+
className: "flex items-start gap-3",
|
|
75
|
+
children: [/* @__PURE__ */ s(f, {
|
|
76
|
+
className: "mt-0.5 h-5 w-5 shrink-0 text-success",
|
|
77
|
+
"aria-hidden": "true"
|
|
78
|
+
}), /* @__PURE__ */ c("span", {
|
|
79
|
+
className: "min-w-0 space-y-1",
|
|
80
|
+
children: [/* @__PURE__ */ s(o, {
|
|
81
|
+
className: "text-left text-lg font-semibold leading-6 text-slate-950",
|
|
82
|
+
children: /* @__PURE__ */ s("span", { children: y("cancellation_policy_modal_title") })
|
|
83
|
+
}), /* @__PURE__ */ s(r, {
|
|
84
|
+
className: "text-left text-sm text-slate-600",
|
|
85
|
+
children: /* @__PURE__ */ s("span", { children: y("cancellation_policy_modal_description") })
|
|
86
86
|
})]
|
|
87
|
-
})
|
|
88
|
-
}),
|
|
89
|
-
/* @__PURE__ */ s("div", {
|
|
90
|
-
className: "overflow-y-auto px-5 py-5 sm:px-6",
|
|
91
|
-
children: /* @__PURE__ */ s("dl", {
|
|
92
|
-
className: "grid gap-3",
|
|
93
|
-
children: T.map((e) => /* @__PURE__ */ c("div", {
|
|
94
|
-
className: "rounded-lg border border-slate-200 bg-slate-50 px-4 py-3",
|
|
95
|
-
children: [/* @__PURE__ */ s("dt", {
|
|
96
|
-
className: "text-sm font-medium text-slate-950",
|
|
97
|
-
children: /* @__PURE__ */ s("span", { children: b("cancellation_policy_modal_tier_deadline", { duration: O(e.upToHours) }) })
|
|
98
|
-
}), /* @__PURE__ */ s("dd", {
|
|
99
|
-
className: "mt-1 text-sm text-slate-600",
|
|
100
|
-
children: /* @__PURE__ */ s("span", { children: b("cancellation_policy_modal_tier_refund", { percentage: v(e.refundPercentage, x.language) }) })
|
|
101
|
-
})]
|
|
102
|
-
}, `${e.upToHours}-${e.refundPercentage}`))
|
|
103
|
-
})
|
|
104
|
-
}),
|
|
105
|
-
/* @__PURE__ */ s(i, {
|
|
106
|
-
className: "border-t border-slate-200 px-5 py-4 sm:px-6",
|
|
107
|
-
children: /* @__PURE__ */ s(e, {
|
|
108
|
-
type: "button",
|
|
109
|
-
variant: "outline",
|
|
110
|
-
className: "h-11 w-full rounded-xl sm:w-auto",
|
|
111
|
-
onClick: () => D(!1),
|
|
112
|
-
children: /* @__PURE__ */ s("span", { children: b("close_modal") })
|
|
113
|
-
})
|
|
87
|
+
})]
|
|
114
88
|
})
|
|
115
|
-
|
|
116
|
-
|
|
89
|
+
}),
|
|
90
|
+
/* @__PURE__ */ c("div", {
|
|
91
|
+
className: "overflow-y-auto",
|
|
92
|
+
children: [/* @__PURE__ */ s("dl", {
|
|
93
|
+
className: "divide-y divide-slate-200 border-b border-slate-200 bg-slate-50",
|
|
94
|
+
children: w.map((e) => /* @__PURE__ */ c("div", {
|
|
95
|
+
className: "px-5 py-4 sm:px-6",
|
|
96
|
+
children: [/* @__PURE__ */ s("dt", {
|
|
97
|
+
className: "text-sm font-medium text-slate-950",
|
|
98
|
+
children: /* @__PURE__ */ s("span", { children: y("cancellation_policy_modal_tier_deadline", { duration: D(e.upToHours) }) })
|
|
99
|
+
}), /* @__PURE__ */ s("dd", {
|
|
100
|
+
className: "mt-1 text-sm text-slate-600",
|
|
101
|
+
children: /* @__PURE__ */ s("span", { children: y("cancellation_policy_modal_tier_refund", { percentage: _(e.refundPercentage, b.language) }) })
|
|
102
|
+
})]
|
|
103
|
+
}, `${e.upToHours}-${e.refundPercentage}`))
|
|
104
|
+
}), /* @__PURE__ */ s("p", {
|
|
105
|
+
className: "px-5 py-4 text-base leading-6 text-slate-500 sm:px-6",
|
|
106
|
+
children: /* @__PURE__ */ s("span", { children: y("cancellation_policy_modal_disclaimer") })
|
|
107
|
+
})]
|
|
108
|
+
}),
|
|
109
|
+
/* @__PURE__ */ s(i, {
|
|
110
|
+
className: "border-t border-slate-200 px-5 py-4 sm:px-6",
|
|
111
|
+
children: /* @__PURE__ */ s(e, {
|
|
112
|
+
type: "button",
|
|
113
|
+
variant: "outline",
|
|
114
|
+
className: "h-11 w-full rounded-xl sm:w-auto",
|
|
115
|
+
onClick: () => E(!1),
|
|
116
|
+
children: /* @__PURE__ */ s("span", { children: y("close_modal") })
|
|
117
|
+
})
|
|
118
|
+
})
|
|
119
|
+
]
|
|
117
120
|
})
|
|
118
121
|
})
|
|
119
|
-
]
|
|
122
|
+
})]
|
|
120
123
|
});
|
|
121
124
|
}
|
|
122
125
|
//#endregion
|
|
123
|
-
export {
|
|
126
|
+
export { v as StorefrontCancellationPolicyNotice, g as resolveStorefrontCancellationPolicyTeaserTier };
|
|
@@ -36,12 +36,12 @@ function m({ lines: m, itemCount: h, totalPerBaseUnitMinor: g, baseUnitLabel: _,
|
|
|
36
36
|
m.length === 0 ? /* @__PURE__ */ s("p", {
|
|
37
37
|
className: "text-sm text-slate-600",
|
|
38
38
|
children: /* @__PURE__ */ s("span", { children: F("cart_empty") })
|
|
39
|
-
}) : /* @__PURE__ */ s("
|
|
40
|
-
className: "
|
|
39
|
+
}) : /* @__PURE__ */ s("ul", {
|
|
40
|
+
className: "divide-y divide-slate-200",
|
|
41
41
|
children: m.map((i) => {
|
|
42
42
|
let o = e(i.unitPriceMinor, I.language), l = i.insufficientCapacity === !0, u = i.availabilityIssue === "quantity_unavailable" ? F("availability_quantity_unavailable") : F("availability_out_of_stock");
|
|
43
|
-
return /* @__PURE__ */ c("
|
|
44
|
-
className: "flex items-start justify-between gap-3
|
|
43
|
+
return /* @__PURE__ */ c("li", {
|
|
44
|
+
className: "flex items-start justify-between gap-3 py-4 first:pt-0 last:pb-0",
|
|
45
45
|
children: [/* @__PURE__ */ c("div", {
|
|
46
46
|
className: "flex min-w-0 flex-1 flex-col gap-1",
|
|
47
47
|
children: [
|
|
@@ -2,8 +2,9 @@ import { BikeProduct } from '../../lib/products';
|
|
|
2
2
|
type StorefrontInsuranceNoticeProps = {
|
|
3
3
|
bikes: BikeProduct[];
|
|
4
4
|
currency: string;
|
|
5
|
+
fallbackLanguage?: string;
|
|
5
6
|
className?: string;
|
|
6
7
|
};
|
|
7
|
-
export declare function StorefrontInsuranceNotice({ bikes, currency, className, }: StorefrontInsuranceNoticeProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare function StorefrontInsuranceNotice({ bikes, currency, fallbackLanguage, className, }: StorefrontInsuranceNoticeProps): import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export {};
|
|
9
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StorefrontInsuranceNotice/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StorefrontInsuranceNotice/index.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAsC,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAOzF,KAAK,8BAA8B,GAAG;IACpC,KAAK,EAAE,WAAW,EAAE,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,wBAAgB,yBAAyB,CAAC,EACxC,KAAK,EACL,QAAQ,EACR,gBAAgB,EAChB,SAAS,GACV,EAAE,8BAA8B,2CA2KhC"}
|
|
@@ -1,187 +1,180 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { getLocalizedValue as e } from "../../localization.js";
|
|
2
|
+
import { findStorefrontInsurancePricingBike as t } from "../../lib/products.js";
|
|
3
|
+
import { formatStorefrontPriceMinor as n } from "../../lib/pricing.js";
|
|
4
|
+
import { Button as r } from "../../ui/button.js";
|
|
5
|
+
import { ResponsiveDialog as i, ResponsiveDialogContent as a, ResponsiveDialogDescription as o, ResponsiveDialogFooter as s, ResponsiveDialogHeader as c, ResponsiveDialogTitle as l } from "../../chunks/pkg/ui/dist/ResponsiveDialog-BJ0RG6gh.js";
|
|
6
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
7
|
+
import { useSearchParams as f } from "@rpcbase/router";
|
|
8
|
+
import { useTranslation as p } from "react-i18next";
|
|
9
|
+
import { CheckCircle2 as m, Info as h, Umbrella as g } from "lucide-react";
|
|
9
10
|
//#region src/components/StorefrontInsuranceNotice/index.tsx
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
let
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
});
|
|
26
|
-
}, O = [{
|
|
27
|
-
kind: "bike",
|
|
28
|
-
label: x("insurance_modal_muscular_bike"),
|
|
29
|
-
price: D("bike")
|
|
30
|
-
}, {
|
|
31
|
-
kind: "e-bike",
|
|
32
|
-
label: x("insurance_modal_electric_bike"),
|
|
33
|
-
price: D("e-bike")
|
|
34
|
-
}];
|
|
35
|
-
return /* @__PURE__ */ l("li", {
|
|
36
|
-
className: f("flex items-start gap-3", b),
|
|
11
|
+
var _ = "show_insurance_modal";
|
|
12
|
+
function v({ bikes: v, currency: y, fallbackLanguage: b, className: x }) {
|
|
13
|
+
let { t: S, i18n: C } = p(), [w, T] = f(), E = w.get(_) === "true", D = (e) => {
|
|
14
|
+
let t = new URLSearchParams(w);
|
|
15
|
+
e ? t.set(_, "true") : t.delete(_), T(t, { replace: !0 });
|
|
16
|
+
}, O = (r, i) => {
|
|
17
|
+
let a = t(v, r), o = a?.insurance?.pricePerDayMinor;
|
|
18
|
+
return {
|
|
19
|
+
kind: r,
|
|
20
|
+
label: (a ? e(a.name, C.language, b).trim() : "") || i,
|
|
21
|
+
price: typeof o == "number" ? S("insurance_modal_price_per_day", { price: n(o, C.language, { currency: y }) }) : S("insurance_modal_price_unavailable")
|
|
22
|
+
};
|
|
23
|
+
}, k = [O("bike", S("insurance_modal_muscular_bike")), O("e-bike", S("insurance_modal_electric_bike"))];
|
|
24
|
+
return /* @__PURE__ */ d("li", {
|
|
25
|
+
className: x,
|
|
37
26
|
"data-testid": "storefront-insurance-notice",
|
|
38
|
-
children: [
|
|
39
|
-
|
|
27
|
+
children: [/* @__PURE__ */ d("button", {
|
|
28
|
+
type: "button",
|
|
29
|
+
className: "group flex w-full cursor-pointer items-start gap-3 rounded-md text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-950 focus-visible:ring-offset-2",
|
|
30
|
+
"aria-label": S("insurance_info_aria_label"),
|
|
31
|
+
"aria-haspopup": "dialog",
|
|
32
|
+
"aria-expanded": E,
|
|
33
|
+
onClick: () => D(!0),
|
|
34
|
+
children: [/* @__PURE__ */ u(g, {
|
|
40
35
|
className: "mt-0.5 h-5 w-5 shrink-0 text-success",
|
|
41
36
|
"aria-hidden": "true"
|
|
42
|
-
}),
|
|
43
|
-
/* @__PURE__ */ l("div", {
|
|
37
|
+
}), /* @__PURE__ */ d("span", {
|
|
44
38
|
className: "min-w-0 flex-1",
|
|
45
|
-
children: [/* @__PURE__ */
|
|
39
|
+
children: [/* @__PURE__ */ d("span", {
|
|
46
40
|
className: "flex min-w-0 items-start gap-1.5",
|
|
47
|
-
children: [/* @__PURE__ */
|
|
41
|
+
children: [/* @__PURE__ */ u("span", {
|
|
48
42
|
className: "min-w-0 text-sm font-medium text-slate-950",
|
|
49
|
-
children:
|
|
50
|
-
}), /* @__PURE__ */
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"aria-label": x("insurance_info_aria_label"),
|
|
54
|
-
onClick: () => E(!0),
|
|
55
|
-
children: /* @__PURE__ */ c(m, {
|
|
43
|
+
children: S("feature_guarantee_insurance_title")
|
|
44
|
+
}), /* @__PURE__ */ u("span", {
|
|
45
|
+
className: "mt-[-1px] inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-slate-500 transition group-hover:bg-slate-100 group-hover:text-slate-950 group-focus-visible:bg-slate-100 group-focus-visible:text-slate-950",
|
|
46
|
+
children: /* @__PURE__ */ u(h, {
|
|
56
47
|
className: "h-3.5 w-3.5",
|
|
57
48
|
"aria-hidden": "true"
|
|
58
49
|
})
|
|
59
50
|
})]
|
|
60
|
-
}), /* @__PURE__ */
|
|
61
|
-
className: "text-xs text-slate-600",
|
|
62
|
-
children:
|
|
51
|
+
}), /* @__PURE__ */ u("span", {
|
|
52
|
+
className: "block text-xs text-slate-600",
|
|
53
|
+
children: S("feature_guarantee_insurance_description")
|
|
63
54
|
})]
|
|
64
|
-
})
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
})]
|
|
55
|
+
})]
|
|
56
|
+
}), /* @__PURE__ */ u(i, {
|
|
57
|
+
open: E,
|
|
58
|
+
onOpenChange: D,
|
|
59
|
+
children: /* @__PURE__ */ u(a, {
|
|
60
|
+
"data-testid": "storefront-insurance-modal",
|
|
61
|
+
className: "overflow-hidden border-slate-200 bg-white p-0",
|
|
62
|
+
desktopClassName: "max-w-xl gap-0",
|
|
63
|
+
mobileClassName: "max-h-[92dvh] gap-0",
|
|
64
|
+
children: /* @__PURE__ */ d("div", {
|
|
65
|
+
className: "flex max-h-[90dvh] w-full min-w-0 flex-col",
|
|
66
|
+
children: [
|
|
67
|
+
/* @__PURE__ */ u(c, {
|
|
68
|
+
className: "border-b border-slate-200 px-5 py-4 text-left sm:px-6",
|
|
69
|
+
children: /* @__PURE__ */ d("div", {
|
|
70
|
+
className: "flex items-start gap-3",
|
|
71
|
+
children: [/* @__PURE__ */ u(h, {
|
|
72
|
+
className: "mt-0.5 h-5 w-5 shrink-0 text-success",
|
|
73
|
+
"aria-hidden": "true"
|
|
74
|
+
}), /* @__PURE__ */ d("span", {
|
|
75
|
+
className: "min-w-0 space-y-1",
|
|
76
|
+
children: [/* @__PURE__ */ u(l, {
|
|
77
|
+
className: "text-left text-lg font-semibold leading-6 text-slate-950",
|
|
78
|
+
children: /* @__PURE__ */ u("span", { children: S("insurance_modal_title") })
|
|
79
|
+
}), /* @__PURE__ */ u(o, {
|
|
80
|
+
className: "text-left text-sm text-slate-600",
|
|
81
|
+
children: /* @__PURE__ */ u("span", { children: S("insurance_modal_description") })
|
|
92
82
|
})]
|
|
93
|
-
})
|
|
94
|
-
})
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
83
|
+
})]
|
|
84
|
+
})
|
|
85
|
+
}),
|
|
86
|
+
/* @__PURE__ */ d("div", {
|
|
87
|
+
className: "overflow-y-auto",
|
|
88
|
+
children: [
|
|
89
|
+
/* @__PURE__ */ d("section", {
|
|
90
|
+
className: "border-b border-slate-200 bg-slate-50",
|
|
91
|
+
"data-testid": "storefront-insurance-pricing-section",
|
|
92
|
+
children: [/* @__PURE__ */ d("div", {
|
|
93
|
+
className: "px-5 py-4 sm:px-6",
|
|
94
|
+
children: [/* @__PURE__ */ u("h3", {
|
|
95
|
+
className: "text-base font-semibold text-slate-950",
|
|
96
|
+
children: /* @__PURE__ */ u("span", { children: S("insurance_modal_pricing_title") })
|
|
97
|
+
}), /* @__PURE__ */ u("p", {
|
|
104
98
|
className: "mt-1 text-sm text-slate-600",
|
|
105
|
-
children: /* @__PURE__ */
|
|
106
|
-
}),
|
|
107
|
-
/* @__PURE__ */ c("dl", {
|
|
108
|
-
className: "mt-3 grid gap-3 sm:grid-cols-2",
|
|
109
|
-
children: O.map((e) => /* @__PURE__ */ l("div", {
|
|
110
|
-
className: "rounded-lg border border-slate-200 bg-slate-50 px-4 py-3",
|
|
111
|
-
"data-testid": `storefront-insurance-price-${e.kind}`,
|
|
112
|
-
children: [/* @__PURE__ */ c("dt", {
|
|
113
|
-
className: "text-sm font-medium text-slate-950",
|
|
114
|
-
children: /* @__PURE__ */ c("span", { children: e.label })
|
|
115
|
-
}), /* @__PURE__ */ c("dd", {
|
|
116
|
-
className: "mt-1 text-sm text-slate-600",
|
|
117
|
-
children: /* @__PURE__ */ c("span", { children: e.price })
|
|
118
|
-
})]
|
|
119
|
-
}, e.kind))
|
|
120
|
-
})
|
|
121
|
-
] }),
|
|
122
|
-
/* @__PURE__ */ l("section", {
|
|
123
|
-
className: "mt-5",
|
|
124
|
-
children: [/* @__PURE__ */ c("h3", {
|
|
125
|
-
className: "text-sm font-semibold text-slate-950",
|
|
126
|
-
children: /* @__PURE__ */ c("span", { children: x("insurance_modal_coverage_title") })
|
|
127
|
-
}), /* @__PURE__ */ c("ul", {
|
|
128
|
-
className: "mt-2 grid gap-2",
|
|
129
|
-
children: [
|
|
130
|
-
x("insurance_modal_coverage_accidental_damage"),
|
|
131
|
-
x("insurance_modal_coverage_assault_or_break_in"),
|
|
132
|
-
x("insurance_modal_coverage_secured_bike_theft")
|
|
133
|
-
].map((e) => /* @__PURE__ */ l("li", {
|
|
134
|
-
className: "flex items-start gap-2 text-sm text-slate-600",
|
|
135
|
-
children: [/* @__PURE__ */ c(p, {
|
|
136
|
-
className: "mt-0.5 h-4 w-4 shrink-0 text-success",
|
|
137
|
-
"aria-hidden": "true"
|
|
138
|
-
}), /* @__PURE__ */ c("span", { children: e })]
|
|
139
|
-
}, e))
|
|
99
|
+
children: /* @__PURE__ */ u("span", { children: S("insurance_modal_pricing_description") })
|
|
140
100
|
})]
|
|
141
|
-
}),
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
children: [/* @__PURE__ */
|
|
147
|
-
className: "text-sm font-
|
|
148
|
-
children: /* @__PURE__ */
|
|
149
|
-
}), /* @__PURE__ */
|
|
150
|
-
className: "mt-1 text-sm text-slate-600",
|
|
151
|
-
children: /* @__PURE__ */ c("span", { children: x("insurance_modal_claim_description") })
|
|
152
|
-
})]
|
|
153
|
-
}), /* @__PURE__ */ l("section", {
|
|
154
|
-
className: "rounded-lg border border-slate-200 px-4 py-3",
|
|
155
|
-
children: [/* @__PURE__ */ c("h3", {
|
|
156
|
-
className: "text-sm font-semibold text-slate-950",
|
|
157
|
-
children: /* @__PURE__ */ c("span", { children: x("insurance_modal_exclusions_title") })
|
|
158
|
-
}), /* @__PURE__ */ c("p", {
|
|
101
|
+
}), /* @__PURE__ */ u("dl", {
|
|
102
|
+
className: "grid divide-y divide-slate-200 border-t border-slate-200 sm:grid-cols-2 sm:divide-x sm:divide-y-0",
|
|
103
|
+
children: k.map((e) => /* @__PURE__ */ d("div", {
|
|
104
|
+
className: "px-5 py-4 sm:px-6",
|
|
105
|
+
"data-testid": `storefront-insurance-price-${e.kind}`,
|
|
106
|
+
children: [/* @__PURE__ */ u("dt", {
|
|
107
|
+
className: "text-sm font-medium text-slate-950",
|
|
108
|
+
children: /* @__PURE__ */ u("span", { children: e.label })
|
|
109
|
+
}), /* @__PURE__ */ u("dd", {
|
|
159
110
|
className: "mt-1 text-sm text-slate-600",
|
|
160
|
-
children: /* @__PURE__ */
|
|
111
|
+
children: /* @__PURE__ */ u("span", { children: e.price })
|
|
161
112
|
})]
|
|
113
|
+
}, e.kind))
|
|
114
|
+
})]
|
|
115
|
+
}),
|
|
116
|
+
/* @__PURE__ */ d("section", {
|
|
117
|
+
className: "border-b border-slate-200 px-5 py-5 sm:px-6",
|
|
118
|
+
children: [/* @__PURE__ */ u("h3", {
|
|
119
|
+
className: "text-base font-semibold text-slate-950",
|
|
120
|
+
children: /* @__PURE__ */ u("span", { children: S("insurance_modal_coverage_title") })
|
|
121
|
+
}), /* @__PURE__ */ u("ul", {
|
|
122
|
+
className: "mt-3 grid gap-2.5",
|
|
123
|
+
children: [
|
|
124
|
+
S("insurance_modal_coverage_accidental_damage"),
|
|
125
|
+
S("insurance_modal_coverage_assault_or_break_in"),
|
|
126
|
+
S("insurance_modal_coverage_secured_bike_theft")
|
|
127
|
+
].map((e) => /* @__PURE__ */ d("li", {
|
|
128
|
+
className: "flex items-start gap-2 text-sm leading-5 text-slate-600",
|
|
129
|
+
children: [/* @__PURE__ */ u(m, {
|
|
130
|
+
className: "mt-0.5 h-4 w-4 shrink-0 text-success",
|
|
131
|
+
"aria-hidden": "true"
|
|
132
|
+
}), /* @__PURE__ */ u("span", { children: e })]
|
|
133
|
+
}, e))
|
|
134
|
+
})]
|
|
135
|
+
}),
|
|
136
|
+
/* @__PURE__ */ d("div", {
|
|
137
|
+
className: "grid divide-y divide-slate-200 border-b border-slate-200 sm:grid-cols-2 sm:divide-x sm:divide-y-0",
|
|
138
|
+
children: [/* @__PURE__ */ d("section", {
|
|
139
|
+
className: "px-5 py-5 sm:px-6",
|
|
140
|
+
children: [/* @__PURE__ */ u("h3", {
|
|
141
|
+
className: "text-base font-semibold text-slate-950",
|
|
142
|
+
children: /* @__PURE__ */ u("span", { children: S("insurance_modal_claim_title") })
|
|
143
|
+
}), /* @__PURE__ */ u("p", {
|
|
144
|
+
className: "mt-2 text-sm leading-5 text-slate-600",
|
|
145
|
+
children: /* @__PURE__ */ u("span", { children: S("insurance_modal_claim_description") })
|
|
146
|
+
})]
|
|
147
|
+
}), /* @__PURE__ */ d("section", {
|
|
148
|
+
className: "px-5 py-5 sm:px-6",
|
|
149
|
+
children: [/* @__PURE__ */ u("h3", {
|
|
150
|
+
className: "text-base font-semibold text-slate-950",
|
|
151
|
+
children: /* @__PURE__ */ u("span", { children: S("insurance_modal_exclusions_title") })
|
|
152
|
+
}), /* @__PURE__ */ u("p", {
|
|
153
|
+
className: "mt-2 text-sm leading-5 text-slate-600",
|
|
154
|
+
children: /* @__PURE__ */ u("span", { children: S("insurance_modal_exclusions_description") })
|
|
162
155
|
})]
|
|
163
|
-
})
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
})
|
|
168
|
-
]
|
|
169
|
-
}),
|
|
170
|
-
/* @__PURE__ */ c(a, {
|
|
171
|
-
className: "border-t border-slate-200 px-5 py-4 sm:px-6",
|
|
172
|
-
children: /* @__PURE__ */ c(t, {
|
|
173
|
-
type: "button",
|
|
174
|
-
variant: "outline",
|
|
175
|
-
className: "h-11 w-full rounded-xl sm:w-auto",
|
|
176
|
-
onClick: () => E(!1),
|
|
177
|
-
children: /* @__PURE__ */ c("span", { children: x("close_modal") })
|
|
156
|
+
})]
|
|
157
|
+
}),
|
|
158
|
+
/* @__PURE__ */ u("p", {
|
|
159
|
+
className: "bg-slate-50 px-5 py-4 text-base leading-6 text-slate-600 sm:px-6",
|
|
160
|
+
children: /* @__PURE__ */ u("span", { children: S("insurance_modal_terms_note") })
|
|
178
161
|
})
|
|
162
|
+
]
|
|
163
|
+
}),
|
|
164
|
+
/* @__PURE__ */ u(s, {
|
|
165
|
+
className: "border-t border-slate-200 px-5 py-4 sm:px-6",
|
|
166
|
+
children: /* @__PURE__ */ u(r, {
|
|
167
|
+
type: "button",
|
|
168
|
+
variant: "outline",
|
|
169
|
+
className: "h-11 w-full rounded-xl sm:w-auto",
|
|
170
|
+
onClick: () => D(!1),
|
|
171
|
+
children: /* @__PURE__ */ u("span", { children: S("close_modal") })
|
|
179
172
|
})
|
|
180
|
-
|
|
181
|
-
|
|
173
|
+
})
|
|
174
|
+
]
|
|
182
175
|
})
|
|
183
176
|
})
|
|
184
|
-
]
|
|
177
|
+
})]
|
|
185
178
|
});
|
|
186
179
|
}
|
|
187
180
|
//#endregion
|
package/dist/i18n/en.d.ts
CHANGED
|
@@ -19,6 +19,12 @@ export declare const storefront: {
|
|
|
19
19
|
checkout_button: string;
|
|
20
20
|
storefront_popup_title_fallback: string;
|
|
21
21
|
status_open: string;
|
|
22
|
+
status_closed: string;
|
|
23
|
+
status_hours_unavailable: string;
|
|
24
|
+
status_opens_at: string;
|
|
25
|
+
status_opens_at_tomorrow: string;
|
|
26
|
+
status_opens_on: string;
|
|
27
|
+
status_opens_on_date: string;
|
|
22
28
|
business_hours_modal_title: string;
|
|
23
29
|
business_hours_modal_description: string;
|
|
24
30
|
business_hours_google_maps_note: string;
|
|
@@ -40,7 +46,6 @@ export declare const storefront: {
|
|
|
40
46
|
insurance_modal_muscular_bike: string;
|
|
41
47
|
insurance_modal_electric_bike: string;
|
|
42
48
|
insurance_modal_price_per_day: string;
|
|
43
|
-
insurance_modal_price_range_per_day: string;
|
|
44
49
|
insurance_modal_price_unavailable: string;
|
|
45
50
|
insurance_modal_coverage_title: string;
|
|
46
51
|
insurance_modal_coverage_accidental_damage: string;
|
|
@@ -58,6 +63,7 @@ export declare const storefront: {
|
|
|
58
63
|
cancellation_policy_modal_description: string;
|
|
59
64
|
cancellation_policy_modal_tier_deadline: string;
|
|
60
65
|
cancellation_policy_modal_tier_refund: string;
|
|
66
|
+
cancellation_policy_modal_disclaimer: string;
|
|
61
67
|
cancellation_policy_duration_hours_one: string;
|
|
62
68
|
cancellation_policy_duration_hours_other: string;
|
|
63
69
|
cancellation_policy_duration_days_one: string;
|
package/dist/i18n/en.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmgBtB,CAAA"}
|