@loczer/storefront-sdk 0.217.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.
- 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/BookingPeriodSelector/components/BookingEndDateField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingStartDateField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.js +1 -1
- package/dist/components/Map/index.js +1 -1
- package/dist/index.d.ts +3 -0
- 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/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
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region ../../node_modules/motion-dom/dist/es/render/svg/utils/path.mjs
|
|
2
|
+
var e = {
|
|
3
|
+
offset: "stroke-dashoffset",
|
|
4
|
+
array: "stroke-dasharray"
|
|
5
|
+
}, t = {
|
|
6
|
+
offset: "strokeDashoffset",
|
|
7
|
+
array: "strokeDasharray"
|
|
8
|
+
};
|
|
9
|
+
function n(n, r, i = 1, a = 0, o = !0) {
|
|
10
|
+
n.pathLength = 1;
|
|
11
|
+
let s = o ? e : t;
|
|
12
|
+
n[s.offset] = `${-a}`, n[s.array] = `${r} ${i}`;
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { n as buildSVGPath };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { camelToDash as e } from "../../dom/utils/camel-to-dash-DkTMivH-.js";
|
|
2
|
+
import { renderHTML as t } from "../../html/utils/render-D0WyK2kl.js";
|
|
3
|
+
import { camelCaseAttributes as n } from "./camel-case-attrs-eLNLAV8t.js";
|
|
4
|
+
//#region ../../node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
|
|
5
|
+
function r(r, i, a, o) {
|
|
6
|
+
t(r, i, void 0, o);
|
|
7
|
+
for (let t in i.attrs) r.setAttribute(n.has(t) ? t : e(t), i.attrs[t]);
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
export { r as renderSVG };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { transformPropOrder as e } from "../../utils/keys-transform-D89O3jUI.js";
|
|
2
|
+
import { isMotionValue as t } from "../../../value/utils/is-motion-value-DjNWSbJA.js";
|
|
3
|
+
import { scrapeMotionValuesFromProps as n } from "../../html/utils/scrape-motion-values-Dnanh7Pq.js";
|
|
4
|
+
//#region ../../node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
|
|
5
|
+
function r(r, i, a) {
|
|
6
|
+
let o = n(r, i, a);
|
|
7
|
+
for (let n in r) if (t(r[n]) || t(i[n])) {
|
|
8
|
+
let t = e.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
|
|
9
|
+
o[t] = r[n];
|
|
10
|
+
}
|
|
11
|
+
return o;
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { r as scrapeMotionValuesFromProps };
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { calcChildStagger as e } from "../../animation/utils/calc-child-stagger-Zf1BbESP.js";
|
|
2
|
+
import { resolveVariant as t } from "./resolve-dynamic-variants-CctcYJsO.js";
|
|
3
|
+
import { isKeyframesTarget as n } from "./is-keyframes-target-BjHS8PGf.js";
|
|
4
|
+
import { animateVisualElement as r } from "../../animation/interfaces/visual-element-DZ-rOn58.js";
|
|
5
|
+
import { isAnimationControls as i } from "./is-animation-controls-B7ktiywN.js";
|
|
6
|
+
import { isVariantLabel as a } from "./is-variant-label-CVoIfHaT.js";
|
|
7
|
+
import { variantPriorityOrder as o } from "./variant-props-wnjnGla7.js";
|
|
8
|
+
import { getVariantContext as s } from "./get-variant-context-qR057mHU.js";
|
|
9
|
+
import { shallowCompare as c } from "./shallow-compare-D_Ag1Ugh.js";
|
|
10
|
+
//#region ../../node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
|
|
11
|
+
var l = [...o].reverse(), u = o.length;
|
|
12
|
+
function d(e) {
|
|
13
|
+
return (t) => Promise.all(t.map(({ animation: t, options: n }) => r(e, t, n)));
|
|
14
|
+
}
|
|
15
|
+
function f(r) {
|
|
16
|
+
let o = d(r), f = h(), m = !0, g = !1, _ = (e) => (n, i) => {
|
|
17
|
+
let a = t(r, i, e === "exit" ? r.presenceContext?.custom : void 0);
|
|
18
|
+
if (a) {
|
|
19
|
+
let { transition: e, transitionEnd: t, ...r } = a;
|
|
20
|
+
n = {
|
|
21
|
+
...n,
|
|
22
|
+
...r,
|
|
23
|
+
...t
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
return n;
|
|
27
|
+
};
|
|
28
|
+
function v(e) {
|
|
29
|
+
o = e(r);
|
|
30
|
+
}
|
|
31
|
+
function y(d) {
|
|
32
|
+
let { props: h } = r, v = s(r.parent) || {}, y = [], b = /* @__PURE__ */ new Set(), x = {}, S = Infinity;
|
|
33
|
+
for (let o = 0; o < u; o++) {
|
|
34
|
+
let s = l[o], u = f[s], C = h[s] === void 0 ? v[s] : h[s], w = a(C), T = s === d ? u.isActive : null;
|
|
35
|
+
T === !1 && (S = o);
|
|
36
|
+
let E = C === v[s] && C !== h[s] && w;
|
|
37
|
+
if (E && (m || g) && r.manuallyAnimateOnMount && (E = !1), u.protectedKeys = { ...x }, !u.isActive && T === null || !C && !u.prevProp || i(C) || typeof C == "boolean") continue;
|
|
38
|
+
if (s === "exit" && u.isActive && T !== !0) {
|
|
39
|
+
u.prevResolvedValues && (x = {
|
|
40
|
+
...x,
|
|
41
|
+
...u.prevResolvedValues
|
|
42
|
+
});
|
|
43
|
+
continue;
|
|
44
|
+
}
|
|
45
|
+
let D = p(u.prevProp, C), O = D || s === d && u.isActive && !E && w || o > S && w, k = !1, A = Array.isArray(C) ? C : [C], j = A.reduce(_(s), {});
|
|
46
|
+
T === !1 && (j = {});
|
|
47
|
+
let { prevResolvedValues: M = {} } = u, N = {
|
|
48
|
+
...M,
|
|
49
|
+
...j
|
|
50
|
+
}, P = (e) => {
|
|
51
|
+
O = !0, b.has(e) && (k = !0, b.delete(e)), u.needsAnimating[e] = !0;
|
|
52
|
+
let t = r.getValue(e);
|
|
53
|
+
t && (t.liveStyle = !1);
|
|
54
|
+
};
|
|
55
|
+
for (let e in N) {
|
|
56
|
+
let t = j[e], r = M[e];
|
|
57
|
+
if (x.hasOwnProperty(e)) continue;
|
|
58
|
+
let i = !1;
|
|
59
|
+
i = n(t) && n(r) ? !c(t, r) || D : t !== r, i ? t == null ? b.add(e) : P(e) : t !== void 0 && b.has(e) ? P(e) : u.protectedKeys[e] = !0;
|
|
60
|
+
}
|
|
61
|
+
u.prevProp = C, u.prevResolvedValues = j, u.isActive && (x = {
|
|
62
|
+
...x,
|
|
63
|
+
...j
|
|
64
|
+
}), (m || g) && r.blockInitialAnimation && (O = !1);
|
|
65
|
+
let F = E && D;
|
|
66
|
+
O && (!F || k) && y.push(...A.map((n) => {
|
|
67
|
+
let i = { type: s };
|
|
68
|
+
if (typeof n == "string" && (m || g) && !F && r.manuallyAnimateOnMount && r.parent) {
|
|
69
|
+
let { parent: a } = r, o = t(a, n);
|
|
70
|
+
if (a.enteringChildren && o) {
|
|
71
|
+
let { delayChildren: t } = o.transition || {};
|
|
72
|
+
i.delay = e(a.enteringChildren, r, t);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
animation: n,
|
|
77
|
+
options: i
|
|
78
|
+
};
|
|
79
|
+
}));
|
|
80
|
+
}
|
|
81
|
+
if (b.size) {
|
|
82
|
+
let e = {};
|
|
83
|
+
if (typeof h.initial != "boolean") {
|
|
84
|
+
let n = t(r, Array.isArray(h.initial) ? h.initial[0] : h.initial);
|
|
85
|
+
n && n.transition && (e.transition = n.transition);
|
|
86
|
+
}
|
|
87
|
+
b.forEach((t) => {
|
|
88
|
+
let n = r.getBaseTarget(t), i = r.getValue(t);
|
|
89
|
+
i && (i.liveStyle = !0), e[t] = n ?? null;
|
|
90
|
+
}), y.push({ animation: e });
|
|
91
|
+
}
|
|
92
|
+
let C = !!y.length;
|
|
93
|
+
return m && (h.initial === !1 || h.initial === h.animate) && !r.manuallyAnimateOnMount && (C = !1), m = !1, g = !1, C ? o(y) : Promise.resolve();
|
|
94
|
+
}
|
|
95
|
+
function b(e, t) {
|
|
96
|
+
if (f[e].isActive === t) return Promise.resolve();
|
|
97
|
+
r.variantChildren?.forEach((n) => n.animationState?.setActive(e, t)), f[e].isActive = t;
|
|
98
|
+
let n = y(e);
|
|
99
|
+
for (let e in f) f[e].protectedKeys = {};
|
|
100
|
+
return n;
|
|
101
|
+
}
|
|
102
|
+
return {
|
|
103
|
+
animateChanges: y,
|
|
104
|
+
setActive: b,
|
|
105
|
+
setAnimateFunction: v,
|
|
106
|
+
getState: () => f,
|
|
107
|
+
reset: () => {
|
|
108
|
+
f = h(), g = !0;
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
function p(e, t) {
|
|
113
|
+
return typeof t == "string" ? t !== e : Array.isArray(t) ? !c(t, e) : !1;
|
|
114
|
+
}
|
|
115
|
+
function m(e = !1) {
|
|
116
|
+
return {
|
|
117
|
+
isActive: e,
|
|
118
|
+
protectedKeys: {},
|
|
119
|
+
needsAnimating: {},
|
|
120
|
+
prevResolvedValues: {}
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
function h() {
|
|
124
|
+
return {
|
|
125
|
+
animate: m(!0),
|
|
126
|
+
whileInView: m(),
|
|
127
|
+
whileHover: m(),
|
|
128
|
+
whileTap: m(),
|
|
129
|
+
whileDrag: m(),
|
|
130
|
+
whileFocus: m(),
|
|
131
|
+
exit: m()
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
//#endregion
|
|
135
|
+
export { p as checkVariantsDidChange, f as createAnimationState };
|
package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/get-variant-context-qR057mHU.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { isVariantLabel as e } from "./is-variant-label-CVoIfHaT.js";
|
|
2
|
+
import { variantProps as t } from "./variant-props-wnjnGla7.js";
|
|
3
|
+
//#region ../../node_modules/motion-dom/dist/es/render/utils/get-variant-context.mjs
|
|
4
|
+
var n = t.length;
|
|
5
|
+
function r(i) {
|
|
6
|
+
if (!i) return;
|
|
7
|
+
if (!i.isControllingVariants) {
|
|
8
|
+
let e = i.parent && r(i.parent) || {};
|
|
9
|
+
return i.props.initial !== void 0 && (e.initial = i.props.initial), e;
|
|
10
|
+
}
|
|
11
|
+
let a = {};
|
|
12
|
+
for (let r = 0; r < n; r++) {
|
|
13
|
+
let n = t[r], o = i.props[n];
|
|
14
|
+
(e(o) || o === !1) && (a[n] = o);
|
|
15
|
+
}
|
|
16
|
+
return a;
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { r as getVariantContext };
|
package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants-BTh61RuJ.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { isAnimationControls as e } from "./is-animation-controls-B7ktiywN.js";
|
|
2
|
+
import { isVariantLabel as t } from "./is-variant-label-CVoIfHaT.js";
|
|
3
|
+
import { variantProps as n } from "./variant-props-wnjnGla7.js";
|
|
4
|
+
//#region ../../node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs
|
|
5
|
+
function r(r) {
|
|
6
|
+
return e(r.animate) || n.some((e) => t(r[e]));
|
|
7
|
+
}
|
|
8
|
+
function i(e) {
|
|
9
|
+
return !!(r(e) || e.variants);
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { r as isControllingVariants, i as isVariantNode };
|
package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value-DJbn-QIQ.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { transformProps as e } from "./keys-transform-D89O3jUI.js";
|
|
2
|
+
import { scaleCorrectors as t } from "../../projection/styles/scale-correction-Dqs0DG_x.js";
|
|
3
|
+
//#region ../../node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs
|
|
4
|
+
function n(n, { layout: r, layoutId: i }) {
|
|
5
|
+
return e.has(n) || n.startsWith("origin") || (r || i !== void 0) && (!!t[n] || n === "opacity");
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { n as isForcedMotionValue, t as scaleCorrectors };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { transformPropOrder as e } from "./keys-transform-D89O3jUI.js";
|
|
2
|
+
//#region ../../node_modules/motion-dom/dist/es/render/utils/keys-position.mjs
|
|
3
|
+
var t = /* @__PURE__ */ new Set([
|
|
4
|
+
"width",
|
|
5
|
+
"height",
|
|
6
|
+
"top",
|
|
7
|
+
"left",
|
|
8
|
+
"right",
|
|
9
|
+
"bottom",
|
|
10
|
+
...e
|
|
11
|
+
]);
|
|
12
|
+
//#endregion
|
|
13
|
+
export { t as positionalKeys };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region ../../node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs
|
|
2
|
+
var e = [
|
|
3
|
+
"transformPerspective",
|
|
4
|
+
"x",
|
|
5
|
+
"y",
|
|
6
|
+
"z",
|
|
7
|
+
"translateX",
|
|
8
|
+
"translateY",
|
|
9
|
+
"translateZ",
|
|
10
|
+
"scale",
|
|
11
|
+
"scaleX",
|
|
12
|
+
"scaleY",
|
|
13
|
+
"rotate",
|
|
14
|
+
"rotateX",
|
|
15
|
+
"rotateY",
|
|
16
|
+
"rotateZ",
|
|
17
|
+
"skew",
|
|
18
|
+
"skewX",
|
|
19
|
+
"skewY"
|
|
20
|
+
], t = /* @__PURE__ */ new Set([...e, "pathRotation"]);
|
|
21
|
+
//#endregion
|
|
22
|
+
export { e as transformPropOrder, t as transformProps };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { motionValue as e } from "../../value/index-Bwg0vVXH.js";
|
|
2
|
+
import { isMotionValue as t } from "../../value/utils/is-motion-value-DjNWSbJA.js";
|
|
3
|
+
//#region ../../node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
|
|
4
|
+
function n(n, r, i) {
|
|
5
|
+
for (let a in r) {
|
|
6
|
+
let o = r[a], s = i[a];
|
|
7
|
+
if (t(o)) n.addValue(a, o);
|
|
8
|
+
else if (t(s)) n.addValue(a, e(o, { owner: n }));
|
|
9
|
+
else if (s !== o) if (n.hasValue(a)) {
|
|
10
|
+
let e = n.getValue(a);
|
|
11
|
+
e.liveStyle === !0 ? e.jump(o) : e.hasAnimated || e.set(o);
|
|
12
|
+
} else {
|
|
13
|
+
let t = n.getStaticValue(a);
|
|
14
|
+
n.addValue(a, e(t === void 0 ? o : t, { owner: n }));
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
for (let e in i) r[e] === void 0 && n.removeValue(e);
|
|
18
|
+
return r;
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { n as updateMotionValuesFromProps };
|
package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index-CBQsVFcz.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { hasReducedMotionListener as e, prefersReducedMotion as t } from "./state-ClY5PInV.js";
|
|
2
|
+
//#region ../../node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.mjs
|
|
3
|
+
var n = typeof window < "u";
|
|
4
|
+
function r() {
|
|
5
|
+
if (e.current = !0, n) if (window.matchMedia) {
|
|
6
|
+
let e = window.matchMedia("(prefers-reduced-motion)"), n = () => t.current = e.matches;
|
|
7
|
+
e.addEventListener("change", n), n();
|
|
8
|
+
} else t.current = !1;
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { e as hasReducedMotionListener, r as initPrefersReducedMotion, t as prefersReducedMotion };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { resolveVariantFromProps as e } from "./resolve-variants-YRQnmPS8.js";
|
|
2
|
+
//#region ../../node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs
|
|
3
|
+
function t(t, n, r) {
|
|
4
|
+
let i = t.getProps();
|
|
5
|
+
return e(i, n, r === void 0 ? i.custom : r, t);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { t as resolveVariant };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region ../../node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs
|
|
2
|
+
function e(e) {
|
|
3
|
+
let t = [{}, {}];
|
|
4
|
+
return e?.values.forEach((e, n) => {
|
|
5
|
+
t[0][n] = e.get(), t[1][n] = e.getVelocity();
|
|
6
|
+
}), t;
|
|
7
|
+
}
|
|
8
|
+
function t(t, n, r, i) {
|
|
9
|
+
if (typeof n == "function") {
|
|
10
|
+
let [a, o] = e(i);
|
|
11
|
+
n = n(r === void 0 ? t.custom : r, a, o);
|
|
12
|
+
}
|
|
13
|
+
if (typeof n == "string" && (n = t.variants && t.variants[n]), typeof n == "function") {
|
|
14
|
+
let [a, o] = e(i);
|
|
15
|
+
n = n(r === void 0 ? t.custom : r, a, o);
|
|
16
|
+
}
|
|
17
|
+
return n;
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { t as resolveVariantFromProps };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { motionValue as e } from "../../value/index-Bwg0vVXH.js";
|
|
2
|
+
import { resolveVariant as t } from "./resolve-dynamic-variants-CctcYJsO.js";
|
|
3
|
+
import { isKeyframesTarget as n } from "./is-keyframes-target-BjHS8PGf.js";
|
|
4
|
+
//#region ../../node_modules/motion-dom/dist/es/render/utils/setters.mjs
|
|
5
|
+
function r(t, n, r) {
|
|
6
|
+
t.hasValue(n) ? t.getValue(n).set(r) : t.addValue(n, e(r));
|
|
7
|
+
}
|
|
8
|
+
function i(e) {
|
|
9
|
+
return n(e) ? e[e.length - 1] || 0 : e;
|
|
10
|
+
}
|
|
11
|
+
function a(e, n) {
|
|
12
|
+
let { transitionEnd: a = {}, transition: o = {}, ...s } = t(e, n) || {};
|
|
13
|
+
s = {
|
|
14
|
+
...s,
|
|
15
|
+
...a
|
|
16
|
+
};
|
|
17
|
+
for (let t in s) r(e, t, i(s[t]));
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { a as setTarget };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region ../../node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
if (!Array.isArray(t)) return !1;
|
|
4
|
+
let n = t.length;
|
|
5
|
+
if (n !== e.length) return !1;
|
|
6
|
+
for (let r = 0; r < n; r++) if (t[r] !== e[r]) return !1;
|
|
7
|
+
return !0;
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
export { e as shallowCompare };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region ../../node_modules/motion-dom/dist/es/render/utils/variant-props.mjs
|
|
2
|
+
var e = [
|
|
3
|
+
"animate",
|
|
4
|
+
"whileInView",
|
|
5
|
+
"whileFocus",
|
|
6
|
+
"whileHover",
|
|
7
|
+
"whileTap",
|
|
8
|
+
"whileDrag",
|
|
9
|
+
"exit"
|
|
10
|
+
], t = ["initial", ...e];
|
|
11
|
+
//#endregion
|
|
12
|
+
export { e as variantPriorityOrder, t as variantProps };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { resolveElements as e } from "../utils/resolve-elements-Dtu6Z_Ty.js";
|
|
2
|
+
import { isSVGElement as t } from "../utils/is-svg-element-DBzZMKGK.js";
|
|
3
|
+
//#region ../../node_modules/motion-dom/dist/es/resize/handle-element.mjs
|
|
4
|
+
var n = /* @__PURE__ */ new WeakMap(), r, i = (e, n, r) => (i, a) => a && a[0] ? a[0][e + "Size"] : t(i) && "getBBox" in i ? i.getBBox()[n] : i[r], a = /*@__PURE__*/ i("inline", "width", "offsetWidth"), o = /*@__PURE__*/ i("block", "height", "offsetHeight");
|
|
5
|
+
function s({ target: e, borderBoxSize: t }) {
|
|
6
|
+
n.get(e)?.forEach((n) => {
|
|
7
|
+
n(e, {
|
|
8
|
+
get width() {
|
|
9
|
+
return a(e, t);
|
|
10
|
+
},
|
|
11
|
+
get height() {
|
|
12
|
+
return o(e, t);
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function c(e) {
|
|
18
|
+
e.forEach(s);
|
|
19
|
+
}
|
|
20
|
+
function l() {
|
|
21
|
+
typeof ResizeObserver > "u" || (r = new ResizeObserver(c));
|
|
22
|
+
}
|
|
23
|
+
function u(t, i) {
|
|
24
|
+
r || l();
|
|
25
|
+
let a = e(t);
|
|
26
|
+
return a.forEach((e) => {
|
|
27
|
+
let t = n.get(e);
|
|
28
|
+
t || (t = /* @__PURE__ */ new Set(), n.set(e, t)), t.add(i), r?.observe(e);
|
|
29
|
+
}), () => {
|
|
30
|
+
a.forEach((e) => {
|
|
31
|
+
let t = n.get(e);
|
|
32
|
+
t?.delete(i), t?.size || r?.unobserve(e);
|
|
33
|
+
});
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
export { u as resizeElement };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region ../../node_modules/motion-dom/dist/es/resize/handle-window.mjs
|
|
2
|
+
var e = /* @__PURE__ */ new Set(), t;
|
|
3
|
+
function n() {
|
|
4
|
+
t = () => {
|
|
5
|
+
let t = {
|
|
6
|
+
get width() {
|
|
7
|
+
return window.innerWidth;
|
|
8
|
+
},
|
|
9
|
+
get height() {
|
|
10
|
+
return window.innerHeight;
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
e.forEach((e) => e(t));
|
|
14
|
+
}, window.addEventListener("resize", t);
|
|
15
|
+
}
|
|
16
|
+
function r(r) {
|
|
17
|
+
return e.add(r), t || n(), () => {
|
|
18
|
+
e.delete(r), !e.size && typeof t == "function" && (window.removeEventListener("resize", t), t = void 0);
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
export { r as resizeWindow };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { resizeElement as e } from "./handle-element-C0cdHgCp.js";
|
|
2
|
+
import { resizeWindow as t } from "./handle-window-CYcfJ-yc.js";
|
|
3
|
+
//#region ../../node_modules/motion-dom/dist/es/resize/index.mjs
|
|
4
|
+
function n(n, r) {
|
|
5
|
+
return typeof n == "function" ? t(n) : e(n, r);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { n as resize };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { cancelFrame as e, frame as t } from "../frameloop/frame-CKZTADU1.js";
|
|
2
|
+
import { time as n } from "../frameloop/sync-time-C_QyRCNd.js";
|
|
3
|
+
//#region ../../node_modules/motion-dom/dist/es/utils/delay.mjs
|
|
4
|
+
function r(r, i) {
|
|
5
|
+
let a = n.now(), o = ({ timestamp: t }) => {
|
|
6
|
+
let n = t - a;
|
|
7
|
+
n >= i && (e(o), r(n - i));
|
|
8
|
+
};
|
|
9
|
+
return t.setup(o, !0), () => e(o);
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { r as delay };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { clamp as e } from "../../../../motion-utils/dist/es/clamp-B15uFKIC.js";
|
|
2
|
+
import { invariant as t } from "../../../../motion-utils/dist/es/errors-zYMa5JTQ.js";
|
|
3
|
+
import { MotionGlobalConfig as n } from "../../../../motion-utils/dist/es/global-config-BqV2nflf.js";
|
|
4
|
+
import { noop as r } from "../../../../motion-utils/dist/es/noop-DF4YCrc8.js";
|
|
5
|
+
import { pipe as i } from "../../../../motion-utils/dist/es/pipe-BweOLNhL.js";
|
|
6
|
+
import { progress as a } from "../../../../motion-utils/dist/es/progress-B3YfSCwx.js";
|
|
7
|
+
import { mix as o } from "./mix/index-BRygSkxI.js";
|
|
8
|
+
//#region ../../node_modules/motion-dom/dist/es/utils/interpolate.mjs
|
|
9
|
+
function s(e, t, a) {
|
|
10
|
+
let s = [], c = a || n.mix || o, l = e.length - 1;
|
|
11
|
+
for (let n = 0; n < l; n++) {
|
|
12
|
+
let a = c(e[n], e[n + 1]);
|
|
13
|
+
t && (a = i(Array.isArray(t) ? t[n] || r : t, a)), s.push(a);
|
|
14
|
+
}
|
|
15
|
+
return s;
|
|
16
|
+
}
|
|
17
|
+
function c(n, r, { clamp: i = !0, ease: o, mixer: c } = {}) {
|
|
18
|
+
let l = n.length;
|
|
19
|
+
if (t(l === r.length, "Both input and output ranges must be the same length", "range-length"), l === 1) return () => r[0];
|
|
20
|
+
if (l === 2 && r[0] === r[1]) return () => r[1];
|
|
21
|
+
let u = n[0] === n[1];
|
|
22
|
+
n[0] > n[l - 1] && (n = [...n].reverse(), r = [...r].reverse());
|
|
23
|
+
let d = s(r, o, c), f = d.length, p = (e) => {
|
|
24
|
+
if (u && e < n[0]) return r[0];
|
|
25
|
+
let t = 0;
|
|
26
|
+
if (f > 1) for (; t < n.length - 2 && !(e < n[t + 1]); t++);
|
|
27
|
+
let i = a(n[t], n[t + 1], e);
|
|
28
|
+
return d[t](i);
|
|
29
|
+
};
|
|
30
|
+
return i ? (t) => p(e(n[0], n[l - 1], t)) : p;
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
export { c as interpolate };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { isObject as e } from "../../../../motion-utils/dist/es/is-object-QQQynvgM.js";
|
|
2
|
+
//#region ../../node_modules/motion-dom/dist/es/utils/is-html-element.mjs
|
|
3
|
+
function t(t) {
|
|
4
|
+
return e(t) && "offsetHeight" in t && !("ownerSVGElement" in t);
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { t as isHTMLElement };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { isObject as e } from "../../../../motion-utils/dist/es/is-object-QQQynvgM.js";
|
|
2
|
+
//#region ../../node_modules/motion-dom/dist/es/utils/is-svg-element.mjs
|
|
3
|
+
function t(t) {
|
|
4
|
+
return e(t) && "ownerSVGElement" in t;
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { t as isSVGElement };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { warning as e } from "../../../../../motion-utils/dist/es/errors-zYMa5JTQ.js";
|
|
2
|
+
import { rgba as t } from "../../value/types/color/rgba-CdLIc-3D.js";
|
|
3
|
+
import { hex as n } from "../../value/types/color/hex-D_nQPreB.js";
|
|
4
|
+
import { hsla as r } from "../../value/types/color/hsla-UmYS8wgv.js";
|
|
5
|
+
import { hslaToRgba as i } from "../../value/types/color/hsla-to-rgba-DcyRElEM.js";
|
|
6
|
+
import { mixImmediate as a } from "./immediate-BKaWg21K.js";
|
|
7
|
+
import { mixNumber as o } from "./number-BQSwMPU1.js";
|
|
8
|
+
//#region ../../node_modules/motion-dom/dist/es/utils/mix/color.mjs
|
|
9
|
+
var s = (e, t, n) => {
|
|
10
|
+
let r = e * e, i = n * (t * t - r) + r;
|
|
11
|
+
return i < 0 ? 0 : Math.sqrt(i);
|
|
12
|
+
}, c = [
|
|
13
|
+
n,
|
|
14
|
+
t,
|
|
15
|
+
r
|
|
16
|
+
], l = (e) => c.find((t) => t.test(e));
|
|
17
|
+
function u(t) {
|
|
18
|
+
let n = l(t);
|
|
19
|
+
if (e(!!n, `'${t}' is not an animatable color. Use the equivalent color code instead.`, "color-not-animatable"), !n) return !1;
|
|
20
|
+
let a = n.parse(t);
|
|
21
|
+
return n === r && (a = i(a)), a;
|
|
22
|
+
}
|
|
23
|
+
var d = (e, n) => {
|
|
24
|
+
let r = u(e), i = u(n);
|
|
25
|
+
if (!r || !i) return a(e, n);
|
|
26
|
+
let c = { ...r };
|
|
27
|
+
return (e) => (c.red = s(r.red, i.red, e), c.green = s(r.green, i.green, e), c.blue = s(r.blue, i.blue, e), c.alpha = o(r.alpha, i.alpha, e), t.transform(c));
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
30
|
+
export { d as mixColor, s as mixLinearColor };
|