@nethesis/phone-island 1.0.9-dev.7 → 1.0.10-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (583) hide show
  1. package/dist/App.js +1 -1
  2. package/dist/App.js.map +1 -1
  3. package/dist/_virtual/index6.js +1 -1
  4. package/dist/_virtual/index8.js +1 -1
  5. package/dist/components/SideView/hooks/useSideViewLogic.js +1 -1
  6. package/dist/components/SideView/hooks/useSideViewLogic.js.map +1 -1
  7. package/dist/components/Socket.js +1 -1
  8. package/dist/components/Socket.js.map +1 -1
  9. package/dist/components/TranscriptionView/TranscriptionView.js.map +1 -1
  10. package/dist/lib/devices/devices.js +1 -1
  11. package/dist/node_modules/@fortawesome/react-fontawesome/index.es.js +1 -1
  12. package/dist/node_modules/framer-motion/dist/es/animation/hooks/animation-controls.mjs.js +1 -1
  13. package/dist/node_modules/framer-motion/dist/es/animation/hooks/animation-controls.mjs.js.map +1 -1
  14. package/dist/node_modules/framer-motion/dist/es/animation/hooks/use-animation.mjs.js +1 -1
  15. package/dist/node_modules/framer-motion/dist/es/animation/hooks/use-animation.mjs.js.map +1 -1
  16. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs.js +1 -1
  17. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs.js.map +1 -1
  18. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs.js +1 -1
  19. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs.js.map +1 -1
  20. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs.js +1 -1
  21. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs.js.map +1 -1
  22. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs.js.map +1 -1
  23. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs.js.map +1 -1
  24. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs.js.map +1 -1
  25. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.mjs.js.map +1 -1
  26. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs.js.map +1 -1
  27. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs.js.map +1 -1
  28. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs.js.map +1 -1
  29. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs.js +1 -1
  30. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs.js.map +1 -1
  31. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.mjs.js.map +1 -1
  32. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs.js.map +1 -1
  33. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs.js +1 -1
  34. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs.js.map +1 -1
  35. package/dist/node_modules/framer-motion/dist/es/events/event-info.mjs.js.map +1 -1
  36. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs.js +1 -1
  37. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs.js.map +1 -1
  38. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.mjs.js +1 -1
  39. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.mjs.js.map +1 -1
  40. package/dist/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.mjs.js +1 -1
  41. package/dist/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.mjs.js.map +1 -1
  42. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs.js +1 -1
  43. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs.js.map +1 -1
  44. package/dist/node_modules/framer-motion/dist/es/gestures/focus.mjs.js +1 -1
  45. package/dist/node_modules/framer-motion/dist/es/gestures/focus.mjs.js.map +1 -1
  46. package/dist/node_modules/framer-motion/dist/es/gestures/hover.mjs.js +1 -1
  47. package/dist/node_modules/framer-motion/dist/es/gestures/hover.mjs.js.map +1 -1
  48. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs.js +1 -1
  49. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs.js.map +1 -1
  50. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.mjs.js +1 -1
  51. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.mjs.js.map +1 -1
  52. package/dist/node_modules/framer-motion/dist/es/gestures/press.mjs.js +1 -1
  53. package/dist/node_modules/framer-motion/dist/es/gestures/press.mjs.js.map +1 -1
  54. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs.js +1 -1
  55. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs.js.map +1 -1
  56. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.mjs.js +1 -1
  57. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.mjs.js.map +1 -1
  58. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.mjs.js.map +1 -1
  59. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.mjs.js +1 -1
  60. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.mjs.js.map +1 -1
  61. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.mjs.js +1 -1
  62. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.mjs.js.map +1 -1
  63. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.mjs.js.map +1 -1
  64. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs.js +1 -1
  65. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs.js.map +1 -1
  66. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.mjs.js +1 -1
  67. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.mjs.js.map +1 -1
  68. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.mjs.js +1 -1
  69. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.mjs.js.map +1 -1
  70. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs.js +1 -1
  71. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs.js.map +1 -1
  72. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs.js.map +1 -1
  73. package/dist/node_modules/framer-motion/dist/es/motion/index.mjs.js +1 -1
  74. package/dist/node_modules/framer-motion/dist/es/motion/index.mjs.js.map +1 -1
  75. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.mjs.js.map +1 -1
  76. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs.js +1 -1
  77. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs.js.map +1 -1
  78. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs.js +1 -1
  79. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs.js.map +1 -1
  80. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs.js +1 -1
  81. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs.js.map +1 -1
  82. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs.js +1 -1
  83. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs.js.map +1 -1
  84. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs.js +1 -1
  85. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs.js.map +1 -1
  86. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.mjs.js +2 -0
  87. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.mjs.js.map +1 -0
  88. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs.js +1 -1
  89. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs.js.map +1 -1
  90. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs.js +1 -1
  91. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs.js.map +1 -1
  92. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.mjs.js +1 -1
  93. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.mjs.js.map +1 -1
  94. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs.js +1 -1
  95. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs.js.map +1 -1
  96. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs.js.map +1 -1
  97. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.mjs.js +2 -0
  98. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.mjs.js.map +1 -0
  99. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.mjs.js +1 -1
  100. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.mjs.js.map +1 -1
  101. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs.js.map +1 -1
  102. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs.js.map +1 -1
  103. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.mjs.js +1 -1
  104. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.mjs.js.map +1 -1
  105. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs.js +2 -0
  106. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs.js.map +1 -0
  107. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs.js.map +1 -1
  108. package/dist/node_modules/framer-motion/dist/es/utils/distance.mjs.js.map +1 -1
  109. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.mjs.js.map +1 -1
  110. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.mjs.js.map +1 -1
  111. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs.js.map +1 -1
  112. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs.js +2 -0
  113. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs.js.map +1 -0
  114. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.mjs.js.map +1 -1
  115. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs.js.map +1 -1
  116. package/dist/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js +1 -1
  117. package/dist/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js.map +1 -1
  118. package/dist/node_modules/mic-check/lib/index.js +1 -1
  119. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs.js +1 -1
  120. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs.js.map +1 -1
  121. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs.js +1 -1
  122. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs.js.map +1 -1
  123. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs.js +1 -1
  124. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs.js.map +1 -1
  125. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs.js +1 -1
  126. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs.js.map +1 -1
  127. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.mjs.js +2 -0
  128. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.mjs.js.map +1 -0
  129. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.mjs.js +2 -0
  130. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.mjs.js.map +1 -0
  131. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.mjs.js +1 -1
  132. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.mjs.js.map +1 -1
  133. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs.js.map +1 -1
  134. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.mjs.js +2 -0
  135. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.mjs.js.map +1 -0
  136. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs.js.map +1 -1
  137. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs.js.map +1 -1
  138. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs.js.map +1 -1
  139. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs.js +1 -1
  140. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs.js.map +1 -1
  141. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs.js +2 -0
  142. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs.js.map +1 -0
  143. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs.js +2 -0
  144. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs.js.map +1 -0
  145. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs.js +2 -0
  146. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs.js.map +1 -0
  147. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs.js.map +1 -0
  148. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs.js +1 -1
  149. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs.js.map +1 -1
  150. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs.js +1 -1
  151. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs.js.map +1 -1
  152. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs.js.map +1 -1
  153. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs.js.map +1 -1
  154. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs.js.map +1 -1
  155. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs.js.map +1 -1
  156. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs.js.map +1 -1
  157. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs.js.map +1 -1
  158. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs.js.map +1 -1
  159. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs.js +1 -1
  160. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs.js.map +1 -1
  161. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs.js.map +1 -0
  162. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs.js.map +1 -0
  163. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs.js +1 -1
  164. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs.js.map +1 -1
  165. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs.js +2 -0
  166. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs.js.map +1 -0
  167. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs.js +1 -1
  168. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs.js.map +1 -1
  169. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs.js +1 -1
  170. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs.js.map +1 -1
  171. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs.js +2 -0
  172. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs.js.map +1 -0
  173. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs.js +1 -1
  174. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs.js.map +1 -1
  175. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.mjs.js.map +1 -1
  176. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs.js +1 -1
  177. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs.js.map +1 -1
  178. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.mjs.js +2 -0
  179. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.mjs.js.map +1 -0
  180. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs.js +2 -0
  181. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs.js.map +1 -0
  182. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs.js +1 -1
  183. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs.js.map +1 -1
  184. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs.js +2 -0
  185. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs.js.map +1 -0
  186. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs.js.map +1 -1
  187. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs.js.map +1 -1
  188. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.mjs.js.map +1 -1
  189. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs.js.map +1 -1
  190. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs.js +1 -1
  191. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs.js.map +1 -1
  192. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs.js +2 -0
  193. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs.js.map +1 -0
  194. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs.js.map +1 -1
  195. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.mjs.js +2 -0
  196. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.mjs.js.map +1 -0
  197. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.mjs.js +1 -1
  198. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.mjs.js.map +1 -1
  199. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.mjs.js.map +1 -1
  200. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.mjs.js.map +1 -0
  201. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.mjs.js +1 -1
  202. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.mjs.js.map +1 -1
  203. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.mjs.js.map +1 -1
  204. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.mjs.js.map +1 -1
  205. package/dist/node_modules/motion-dom/dist/es/frameloop/order.mjs.js.map +1 -1
  206. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.mjs.js +1 -1
  207. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.mjs.js.map +1 -1
  208. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.mjs.js.map +1 -1
  209. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs.js.map +1 -1
  210. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs.js.map +1 -1
  211. package/dist/node_modules/motion-dom/dist/es/gestures/hover.mjs.js +1 -1
  212. package/dist/node_modules/motion-dom/dist/es/gestures/hover.mjs.js.map +1 -1
  213. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.mjs.js +1 -1
  214. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.mjs.js.map +1 -1
  215. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs.js +1 -1
  216. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs.js.map +1 -1
  217. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs.js.map +1 -1
  218. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs.js.map +1 -1
  219. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs.js.map +1 -1
  220. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs.js.map +1 -1
  221. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.mjs.js.map +1 -1
  222. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs.js +2 -0
  223. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs.js.map +1 -0
  224. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs.js.map +1 -0
  225. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.mjs.js.map +1 -0
  226. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs.js +2 -0
  227. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs.js.map +1 -0
  228. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs.js +2 -0
  229. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs.js.map +1 -0
  230. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs.js +2 -0
  231. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs.js.map +1 -0
  232. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.mjs.js.map +1 -0
  233. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.mjs.js.map +1 -0
  234. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs.js +2 -0
  235. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs.js.map +1 -0
  236. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.mjs.js.map +1 -0
  237. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs.js +2 -0
  238. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs.js.map +1 -0
  239. package/dist/node_modules/motion-dom/dist/es/projection/node/state.mjs.js.map +1 -0
  240. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.mjs.js +2 -0
  241. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.mjs.js.map +1 -0
  242. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs.js +2 -0
  243. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs.js.map +1 -0
  244. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.mjs.js +2 -0
  245. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.mjs.js.map +1 -0
  246. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs.js +2 -0
  247. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs.js.map +1 -0
  248. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/styles/transform.mjs.js +1 -1
  249. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.mjs.js.map +1 -0
  250. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs.js.map +1 -0
  251. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs.js.map +1 -0
  252. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.mjs.js.map +1 -0
  253. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs.js.map +1 -0
  254. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.mjs.js.map +1 -0
  255. package/dist/node_modules/motion-dom/dist/es/render/Feature.mjs.js.map +1 -0
  256. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.mjs.js +2 -0
  257. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.mjs.js.map +1 -0
  258. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.mjs.js +2 -0
  259. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.mjs.js.map +1 -0
  260. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.mjs.js.map +1 -1
  261. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs.js +1 -1
  262. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs.js.map +1 -1
  263. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.mjs.js.map +1 -1
  264. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/dom/utils/camel-to-dash.mjs.js +1 -1
  265. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs.js.map +1 -0
  266. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs.js +2 -0
  267. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs.js.map +1 -0
  268. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs.js +2 -0
  269. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs.js.map +1 -0
  270. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs.js +2 -0
  271. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs.js.map +1 -0
  272. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.mjs.js +2 -0
  273. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.mjs.js.map +1 -0
  274. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs.js +2 -0
  275. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs.js.map +1 -0
  276. package/dist/node_modules/motion-dom/dist/es/render/store.mjs.js.map +1 -0
  277. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs.js +2 -0
  278. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs.js.map +1 -0
  279. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs.js +2 -0
  280. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs.js.map +1 -0
  281. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs.js.map +1 -0
  282. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.mjs.js.map +1 -0
  283. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.mjs.js +2 -0
  284. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.mjs.js.map +1 -0
  285. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.mjs.js.map +1 -0
  286. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs.js +2 -0
  287. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs.js.map +1 -0
  288. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.mjs.js +2 -0
  289. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.mjs.js.map +1 -0
  290. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.mjs.js.map +1 -0
  291. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs.js.map +1 -0
  292. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs.js +2 -0
  293. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs.js.map +1 -0
  294. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs.js +2 -0
  295. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs.js.map +1 -0
  296. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.mjs.js.map +1 -0
  297. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs.js.map +1 -0
  298. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.mjs.js.map +1 -1
  299. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs.js +1 -1
  300. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs.js.map +1 -1
  301. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.mjs.js +2 -0
  302. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.mjs.js.map +1 -0
  303. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.mjs.js +2 -0
  304. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.mjs.js.map +1 -0
  305. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs.js.map +1 -0
  306. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs.js.map +1 -0
  307. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs.js.map +1 -0
  308. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.mjs.js +2 -0
  309. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.mjs.js.map +1 -0
  310. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs.js.map +1 -0
  311. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.mjs.js.map +1 -0
  312. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.mjs.js +2 -0
  313. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.mjs.js.map +1 -0
  314. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.mjs.js +2 -0
  315. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.mjs.js.map +1 -0
  316. package/dist/node_modules/motion-dom/dist/es/resize/index.mjs.js +2 -0
  317. package/dist/node_modules/motion-dom/dist/es/resize/index.mjs.js.map +1 -0
  318. package/dist/node_modules/motion-dom/dist/es/stats/buffer.mjs.js.map +1 -1
  319. package/dist/node_modules/motion-dom/dist/es/utils/delay.mjs.js +2 -0
  320. package/dist/node_modules/motion-dom/dist/es/utils/delay.mjs.js.map +1 -0
  321. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.mjs.js +1 -1
  322. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.mjs.js.map +1 -1
  323. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.mjs.js +2 -0
  324. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.mjs.js.map +1 -0
  325. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs.js +2 -0
  326. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs.js.map +1 -0
  327. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs.js +2 -0
  328. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs.js.map +1 -0
  329. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.mjs.js +1 -1
  330. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.mjs.js.map +1 -1
  331. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.mjs.js +1 -1
  332. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.mjs.js.map +1 -1
  333. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.mjs.js.map +1 -1
  334. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.mjs.js.map +1 -1
  335. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.mjs.js.map +1 -1
  336. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.mjs.js.map +1 -1
  337. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs.js +1 -1
  338. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs.js.map +1 -1
  339. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.mjs.js.map +1 -1
  340. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.mjs.js.map +1 -1
  341. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.mjs.js.map +1 -1
  342. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs.js +1 -1
  343. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs.js.map +1 -1
  344. package/dist/node_modules/motion-dom/dist/es/value/index.mjs.js +1 -1
  345. package/dist/node_modules/motion-dom/dist/es/value/index.mjs.js.map +1 -1
  346. package/dist/node_modules/motion-dom/dist/es/value/types/auto.mjs.js.map +1 -1
  347. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.mjs.js.map +1 -1
  348. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs.js.map +1 -1
  349. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.mjs.js.map +1 -1
  350. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.mjs.js +1 -1
  351. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.mjs.js.map +1 -1
  352. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.mjs.js.map +1 -1
  353. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.mjs.js.map +1 -1
  354. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.mjs.js.map +1 -1
  355. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.mjs.js +1 -1
  356. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.mjs.js.map +1 -1
  357. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.mjs.js +2 -0
  358. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.mjs.js.map +1 -0
  359. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.mjs.js.map +1 -1
  360. package/dist/node_modules/motion-dom/dist/es/value/types/int.mjs.js.map +1 -1
  361. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.mjs.js +1 -1
  362. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.mjs.js.map +1 -1
  363. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.mjs.js +1 -1
  364. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.mjs.js.map +1 -1
  365. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.mjs.js +1 -1
  366. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.mjs.js.map +1 -1
  367. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.mjs.js.map +1 -1
  368. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs.js.map +1 -1
  369. package/dist/node_modules/motion-dom/dist/es/value/types/test.mjs.js.map +1 -1
  370. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.mjs.js +1 -1
  371. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.mjs.js.map +1 -1
  372. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.mjs.js.map +1 -1
  373. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.mjs.js.map +1 -1
  374. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.mjs.js.map +1 -1
  375. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs.js.map +1 -1
  376. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs.js.map +1 -1
  377. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.mjs.js.map +1 -1
  378. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs.js.map +1 -1
  379. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs.js.map +1 -0
  380. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs.js.map +1 -0
  381. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs.js.map +1 -0
  382. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.mjs.js.map +1 -0
  383. package/dist/node_modules/motion-utils/dist/es/array.mjs.js.map +1 -1
  384. package/dist/node_modules/motion-utils/dist/es/clamp.mjs.js.map +1 -1
  385. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.mjs.js +1 -1
  386. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.mjs.js.map +1 -1
  387. package/dist/node_modules/motion-utils/dist/es/easing/back.mjs.js.map +1 -1
  388. package/dist/node_modules/motion-utils/dist/es/easing/circ.mjs.js.map +1 -1
  389. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.mjs.js.map +1 -1
  390. package/dist/node_modules/motion-utils/dist/es/easing/ease.mjs.js.map +1 -1
  391. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs.js.map +1 -1
  392. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.mjs.js.map +1 -1
  393. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs.js.map +1 -1
  394. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.mjs.js.map +1 -1
  395. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.mjs.js +1 -1
  396. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.mjs.js.map +1 -1
  397. package/dist/node_modules/motion-utils/dist/es/errors.mjs.js +1 -1
  398. package/dist/node_modules/motion-utils/dist/es/errors.mjs.js.map +1 -1
  399. package/dist/node_modules/motion-utils/dist/es/format-error-message.mjs.js +2 -0
  400. package/dist/node_modules/motion-utils/dist/es/format-error-message.mjs.js.map +1 -0
  401. package/dist/node_modules/motion-utils/dist/es/global-config.mjs.js.map +1 -1
  402. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.mjs.js.map +1 -1
  403. package/dist/node_modules/motion-utils/dist/es/is-object.mjs.js +2 -0
  404. package/dist/node_modules/motion-utils/dist/es/is-object.mjs.js.map +1 -0
  405. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.mjs.js.map +1 -1
  406. package/dist/node_modules/motion-utils/dist/es/memo.mjs.js.map +1 -1
  407. package/dist/node_modules/motion-utils/dist/es/noop.mjs.js.map +1 -1
  408. package/dist/node_modules/motion-utils/dist/es/pipe.mjs.js +1 -1
  409. package/dist/node_modules/motion-utils/dist/es/pipe.mjs.js.map +1 -1
  410. package/dist/node_modules/motion-utils/dist/es/progress.mjs.js +1 -1
  411. package/dist/node_modules/motion-utils/dist/es/progress.mjs.js.map +1 -1
  412. package/dist/node_modules/motion-utils/dist/es/subscription-manager.mjs.js.map +1 -1
  413. package/dist/node_modules/motion-utils/dist/es/time-conversion.mjs.js.map +1 -1
  414. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.mjs.js +1 -1
  415. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.mjs.js.map +1 -1
  416. package/dist/node_modules/motion-utils/dist/es/warn-once.mjs.js +1 -1
  417. package/dist/node_modules/motion-utils/dist/es/warn-once.mjs.js.map +1 -1
  418. package/dist/node_modules/prop-types/index.js +1 -1
  419. package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  420. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +1 -1
  421. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -1
  422. package/dist/package.json.js +1 -1
  423. package/dist/services/user.js +1 -1
  424. package/dist/services/user.js.map +1 -1
  425. package/package.json +1 -1
  426. package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.mjs.js +0 -2
  427. package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.mjs.js.map +0 -1
  428. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs.js +0 -2
  429. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs.js.map +0 -1
  430. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs.js +0 -2
  431. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs.js.map +0 -1
  432. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs.js +0 -2
  433. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs.js.map +0 -1
  434. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.mjs.js +0 -2
  435. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.mjs.js.map +0 -1
  436. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.mjs.js.map +0 -1
  437. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.mjs.js.map +0 -1
  438. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs.js.map +0 -1
  439. package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs.js +0 -2
  440. package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs.js.map +0 -1
  441. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs.js.map +0 -1
  442. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs.js.map +0 -1
  443. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.mjs.js +0 -2
  444. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.mjs.js.map +0 -1
  445. package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.mjs.js.map +0 -1
  446. package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.mjs.js.map +0 -1
  447. package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs.js +0 -2
  448. package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs.js.map +0 -1
  449. package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.mjs.js +0 -2
  450. package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.mjs.js.map +0 -1
  451. package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.mjs.js.map +0 -1
  452. package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.mjs.js.map +0 -1
  453. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs.js +0 -2
  454. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs.js.map +0 -1
  455. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs.js +0 -2
  456. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs.js.map +0 -1
  457. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.mjs.js +0 -2
  458. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.mjs.js.map +0 -1
  459. package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.mjs.js.map +0 -1
  460. package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.mjs.js.map +0 -1
  461. package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs.js +0 -2
  462. package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs.js.map +0 -1
  463. package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs.js.map +0 -1
  464. package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs.js +0 -2
  465. package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs.js.map +0 -1
  466. package/dist/node_modules/framer-motion/dist/es/projection/node/state.mjs.js.map +0 -1
  467. package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.mjs.js +0 -2
  468. package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.mjs.js.map +0 -1
  469. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs.js +0 -2
  470. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs.js.map +0 -1
  471. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs.js +0 -2
  472. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs.js.map +0 -1
  473. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs.js +0 -2
  474. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs.js.map +0 -1
  475. package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.mjs.js.map +0 -1
  476. package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.mjs.js.map +0 -1
  477. package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.mjs.js.map +0 -1
  478. package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.mjs.js.map +0 -1
  479. package/dist/node_modules/framer-motion/dist/es/render/VisualElement.mjs.js +0 -2
  480. package/dist/node_modules/framer-motion/dist/es/render/VisualElement.mjs.js.map +0 -1
  481. package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.mjs.js +0 -2
  482. package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.mjs.js.map +0 -1
  483. package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.mjs.js +0 -2
  484. package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.mjs.js.map +0 -1
  485. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs.js +0 -2
  486. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs.js.map +0 -1
  487. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs.js.map +0 -1
  488. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs.js +0 -2
  489. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs.js.map +0 -1
  490. package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs.js +0 -2
  491. package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs.js.map +0 -1
  492. package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.mjs.js +0 -2
  493. package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.mjs.js.map +0 -1
  494. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs.js +0 -2
  495. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs.js.map +0 -1
  496. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs.js +0 -2
  497. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs.js.map +0 -1
  498. package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.mjs.js +0 -2
  499. package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.mjs.js.map +0 -1
  500. package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs.js +0 -2
  501. package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs.js.map +0 -1
  502. package/dist/node_modules/framer-motion/dist/es/render/store.mjs.js.map +0 -1
  503. package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs.js +0 -2
  504. package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs.js.map +0 -1
  505. package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.mjs.js +0 -2
  506. package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.mjs.js.map +0 -1
  507. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs.js +0 -2
  508. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs.js.map +0 -1
  509. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs.js.map +0 -1
  510. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs.js.map +0 -1
  511. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.mjs.js +0 -2
  512. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.mjs.js.map +0 -1
  513. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.mjs.js.map +0 -1
  514. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs.js +0 -2
  515. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs.js.map +0 -1
  516. package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.mjs.js +0 -2
  517. package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.mjs.js.map +0 -1
  518. package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.mjs.js.map +0 -1
  519. package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.mjs.js.map +0 -1
  520. package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.mjs.js.map +0 -1
  521. package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs.js +0 -2
  522. package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs.js.map +0 -1
  523. package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs.js.map +0 -1
  524. package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.mjs.js +0 -2
  525. package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.mjs.js.map +0 -1
  526. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs.js.map +0 -1
  527. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs.js.map +0 -1
  528. package/dist/node_modules/framer-motion/dist/es/render/utils/setters.mjs.js +0 -2
  529. package/dist/node_modules/framer-motion/dist/es/render/utils/setters.mjs.js.map +0 -1
  530. package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.mjs.js.map +0 -1
  531. package/dist/node_modules/framer-motion/dist/es/utils/delay.mjs.js +0 -2
  532. package/dist/node_modules/framer-motion/dist/es/utils/delay.mjs.js.map +0 -1
  533. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs.js +0 -2
  534. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs.js.map +0 -1
  535. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.mjs.js.map +0 -1
  536. package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.mjs.js.map +0 -1
  537. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.mjs.js.map +0 -1
  538. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.mjs.js.map +0 -1
  539. package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs.js.map +0 -1
  540. package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs.js.map +0 -1
  541. package/dist/node_modules/motion-dom/dist/es/animation/drivers/driver-frameloop.mjs.js +0 -2
  542. package/dist/node_modules/motion-dom/dist/es/animation/drivers/driver-frameloop.mjs.js.map +0 -1
  543. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.mjs.js +0 -2
  544. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.mjs.js.map +0 -1
  545. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.mjs.js +0 -2
  546. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.mjs.js.map +0 -1
  547. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.mjs.js +0 -2
  548. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.mjs.js.map +0 -1
  549. package/dist/utils/genericFunctions/summaryEvents.js +0 -2
  550. package/dist/utils/genericFunctions/summaryEvents.js.map +0 -1
  551. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/interfaces/visual-element.mjs.js +0 -0
  552. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/optimized-appear/data-id.mjs.js +0 -0
  553. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/optimized-appear/get-appear-id.mjs.js +0 -0
  554. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/events/add-dom-event.mjs.js +0 -0
  555. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/conversion.mjs.js +0 -0
  556. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/copy.mjs.js +0 -0
  557. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/models.mjs.js +0 -0
  558. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/utils.mjs.js +0 -0
  559. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/HTMLProjectionNode.mjs.js +0 -0
  560. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/state.mjs.js +0 -0
  561. /package/dist/node_modules/{framer-motion/dist/es/render → motion-dom/dist/es/projection}/utils/compare-by-depth.mjs.js +0 -0
  562. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/each-axis.mjs.js +0 -0
  563. /package/dist/node_modules/{framer-motion/dist/es/render → motion-dom/dist/es/projection}/utils/flat-tree.mjs.js +0 -0
  564. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/has-transform.mjs.js +0 -0
  565. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/measure.mjs.js +0 -0
  566. /package/dist/node_modules/{framer-motion/dist/es/motion/features → motion-dom/dist/es/render}/Feature.mjs.js +0 -0
  567. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/store.mjs.js +0 -0
  568. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/camel-case-attrs.mjs.js +0 -0
  569. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/is-svg-tag.mjs.js +0 -0
  570. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/render.mjs.js +0 -0
  571. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/get-variant-context.mjs.js +0 -0
  572. /package/dist/node_modules/{framer-motion/dist/es/animation → motion-dom/dist/es/render}/utils/is-animation-controls.mjs.js +0 -0
  573. /package/dist/node_modules/{framer-motion/dist/es/animation → motion-dom/dist/es/render}/utils/is-keyframes-target.mjs.js +0 -0
  574. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/is-variant-label.mjs.js +0 -0
  575. /package/dist/node_modules/{framer-motion/dist/es → motion-dom/dist/es/render}/utils/reduced-motion/state.mjs.js +0 -0
  576. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/resolve-dynamic-variants.mjs.js +0 -0
  577. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/resolve-variants.mjs.js +0 -0
  578. /package/dist/node_modules/{framer-motion/dist/es → motion-dom/dist/es/render}/utils/shallow-compare.mjs.js +0 -0
  579. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/variant-props.mjs.js +0 -0
  580. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/value/utils/is-motion-value.mjs.js +0 -0
  581. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/value/utils/resolve-motion-value.mjs.js +0 -0
  582. /package/dist/node_modules/{framer-motion/dist/es/value/use-will-change → motion-dom/dist/es/value/will-change}/add-will-change.mjs.js +0 -0
  583. /package/dist/node_modules/{framer-motion/dist/es/value/use-will-change → motion-dom/dist/es/value/will-change}/is.mjs.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visual-element-target.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs"],"sourcesContent":["import { getValueTransition } from '../utils/get-value-transition.mjs';\nimport { resolveTransition } from '../utils/resolve-transition.mjs';\nimport { positionalKeys } from '../../render/utils/keys-position.mjs';\nimport { setTarget } from '../../render/utils/setters.mjs';\nimport { addValueToWillChange } from '../../value/will-change/add-will-change.mjs';\nimport { getOptimisedAppearId } from '../optimized-appear/get-appear-id.mjs';\nimport { animateMotionValue } from './motion-value.mjs';\nimport { frame } from '../../frameloop/frame.mjs';\n\n/**\n * Decide whether we should block this animation. Previously, we achieved this\n * just by checking whether the key was listed in protectedKeys, but this\n * posed problems if an animation was triggered by afterChildren and protectedKeys\n * had been set to true in the meantime.\n */\nfunction shouldBlockAnimation({ protectedKeys, needsAnimating }, key) {\n const shouldBlock = protectedKeys.hasOwnProperty(key) && needsAnimating[key] !== true;\n needsAnimating[key] = false;\n return shouldBlock;\n}\nfunction animateTarget(visualElement, targetAndTransition, { delay = 0, transitionOverride, type } = {}) {\n let { transition, transitionEnd, ...target } = targetAndTransition;\n const defaultTransition = visualElement.getDefaultTransition();\n transition = transition\n ? resolveTransition(transition, defaultTransition)\n : defaultTransition;\n const reduceMotion = transition?.reduceMotion;\n const skipAnimations = transition?.skipAnimations;\n if (transitionOverride)\n transition = transitionOverride;\n const animations = [];\n const animationTypeState = type &&\n visualElement.animationState &&\n visualElement.animationState.getState()[type];\n const path = transition?.path;\n if (path) {\n // path mutates `target` to claim x/y; loop below skips them.\n path.animateVisualElement(visualElement, target, transition, delay, animations);\n }\n for (const key in target) {\n const value = visualElement.getValue(key, visualElement.latestValues[key] ?? null);\n const valueTarget = target[key];\n if (valueTarget === undefined ||\n (animationTypeState &&\n shouldBlockAnimation(animationTypeState, key))) {\n continue;\n }\n const valueTransition = {\n delay,\n ...getValueTransition(transition || {}, key),\n };\n if (skipAnimations)\n valueTransition.skipAnimations = true;\n /**\n * If the value is already at the defined target, skip the animation.\n * We still re-assert the value via frame.update to take precedence\n * over any stale transitionEnd callbacks from previous animations.\n */\n const currentValue = value.get();\n if (currentValue !== undefined &&\n !value.isAnimating() &&\n !Array.isArray(valueTarget) &&\n valueTarget === currentValue &&\n !valueTransition.velocity) {\n frame.update(() => value.set(valueTarget));\n continue;\n }\n /**\n * If this is the first time a value is being animated, check\n * to see if we're handling off from an existing animation.\n */\n let isHandoff = false;\n if (window.MotionHandoffAnimation) {\n const appearId = getOptimisedAppearId(visualElement);\n if (appearId) {\n const startTime = window.MotionHandoffAnimation(appearId, key, frame);\n if (startTime !== null) {\n valueTransition.startTime = startTime;\n isHandoff = true;\n }\n }\n }\n addValueToWillChange(visualElement, key);\n const shouldReduceMotion = reduceMotion ?? visualElement.shouldReduceMotion;\n value.start(animateMotionValue(key, value, valueTarget, shouldReduceMotion && positionalKeys.has(key)\n ? { type: false }\n : valueTransition, visualElement, isHandoff));\n const animation = value.animation;\n if (animation) {\n animations.push(animation);\n }\n }\n if (transitionEnd) {\n const applyTransitionEnd = () => frame.update(() => {\n transitionEnd && setTarget(visualElement, transitionEnd);\n });\n if (animations.length) {\n Promise.all(animations).then(applyTransitionEnd);\n }\n else {\n applyTransitionEnd();\n }\n }\n return animations;\n}\n\nexport { animateTarget };\n//# sourceMappingURL=visual-element-target.mjs.map\n"],"names":["shouldBlockAnimation","_ref","key","protectedKeys","needsAnimating","shouldBlock","hasOwnProperty","animateTarget","visualElement","targetAndTransition","delay","transitionOverride","type","arguments","length","undefined","transition","transitionEnd","target","defaultTransition","getDefaultTransition","resolveTransition","reduceMotion","skipAnimations","animations","animationTypeState","animationState","getState","path","animateVisualElement","value","getValue","latestValues","valueTarget","valueTransition","getValueTransition","currentValue","get","isAnimating","Array","isArray","velocity","frame","update","set","isHandoff","window","MotionHandoffAnimation","appearId","getOptimisedAppearId","startTime","addValueToWillChange","shouldReduceMotion","start","animateMotionValue","positionalKeys","has","animation","push","applyTransitionEnd","setTarget","Promise","all","then"],"mappings":"6cAqBA,SAASA,EAAoBC,EAEzBC,GAAW,IADXC,cAAEA,EAAaC,eAAEA,GAAoCH,EAGrD,MAAMI,EACFF,EAAcG,eAAeJ,KAAgC,IAAxBE,EAAeF,GAGxD,OADAE,EAAeF,IAAO,EACfG,CACX,uBAEgBE,SACZC,EACAC,GAC2E,IAA3EC,MAAEA,EAAQ,EAACC,mBAAEA,EAAkBC,KAAEA,GAAIC,UAAAC,OAAAD,QAAAE,IAAAF,aAAAA,UAAA,GAAoC,IAErEG,WACAA,EAAUC,cACVA,KACGC,GACHT,EAEJ,MAAMU,EAAoBX,EAAcY,uBACxCJ,EAAaA,EACPK,EAAiBA,kBAACL,EAAYG,GAC9BA,EAEN,MAAMG,EAAgBN,GAA2CM,aAC3DC,EAAiBP,GAAYO,eAE/BZ,IAAoBK,EAAaL,GAErC,MAAMa,EAAkD,GAElDC,EACFb,GACAJ,EAAckB,gBACdlB,EAAckB,eAAeC,WAAWf,GAEtCgB,EAAQZ,GAAkDY,KAC5DA,GAEAA,EAAKC,qBACDrB,EACAU,EACAF,EACAN,EACAc,GAIR,IAAK,MAAMtB,KAAOgB,EAAQ,CACtB,MAAMY,EAAQtB,EAAcuB,SACxB7B,EACAM,EAAcwB,aAAa9B,IAAQ,MAEjC+B,EAAcf,EAAOhB,GAE3B,QACoBa,IAAhBkB,GACCR,GACGzB,EAAqByB,EAAoBvB,GAE7C,SAGJ,MAAMgC,EAAkB,CACpBxB,WACGyB,qBAAmBnB,GAAc,CAAE,EAAEd,IAGxCqB,IAAgBW,EAAgBX,gBAAiB,GAOrD,MAAMa,EAAeN,EAAMO,MAC3B,QACqBtB,IAAjBqB,IACCN,EAAMQ,gBACNC,MAAMC,QAAQP,IACfA,IAAgBG,IACfF,EAAgBO,SACnB,CACEC,EAAKA,MAACC,QAAO,IAAMb,EAAMc,IAAIX,KAC7B,QACJ,CAMA,IAAIY,GAAY,EAChB,GAAIC,OAAOC,uBAAwB,CAC/B,MAAMC,EAAWC,uBAAqBzC,GAEtC,GAAIwC,EAAU,CACV,MAAME,EAAYJ,OAAOC,uBACrBC,EACA9C,EACAwC,EAAAA,OAGc,OAAdQ,IACAhB,EAAgBgB,UAAYA,EAC5BL,GAAY,EAEpB,CACJ,CAEAM,uBAAqB3C,EAAeN,GAEpC,MAAMkD,EACF9B,GAAgBd,EAAc4C,mBAElCtB,EAAMuB,MACFC,qBACIpD,EACA4B,EACAG,EACAmB,GAAsBG,EAAcA,eAACC,IAAItD,GACnC,CAAEU,MAAM,GACRsB,EACN1B,EACAqC,IAIR,MAAMY,EAAY3B,EAAM2B,UAEpBA,GACAjC,EAAWkC,KAAKD,EAExB,CAEA,GAAIxC,EAAe,CACf,MAAM0C,EAAqBA,IACvBjB,QAAMC,QAAO,KACT1B,GAAiB2C,EAASA,UAACpD,EAAeS,EAAc,IAG5DO,EAAWV,OACX+C,QAAQC,IAAItC,GAAYuC,KAAKJ,GAE7BA,GAER,CAEA,OAAOnC,CACX"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../render/utils/resolve-dynamic-variants.mjs.js"),t=require("../utils/calc-child-stagger.mjs.js"),i=require("./visual-element-target.mjs.js");function n(r,o){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const l=e.resolveVariant(r,o,"exit"===a.type?r.presenceContext?.custom:void 0);let{transition:s=r.getDefaultTransition()||{}}=l||{};a.transitionOverride&&(s=a.transitionOverride);const d=l?()=>Promise.all(i.animateTarget(r,l,a)):()=>Promise.resolve(),v=r.variantChildren&&r.variantChildren.size?function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const{delayChildren:i=0,staggerChildren:l,staggerDirection:d}=s;return function(e,i){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,s=arguments.length>6?arguments[6]:void 0;const d=[];for(const v of e.variantChildren)v.notify("AnimationStart",i),d.push(n(v,i,{...s,delay:r+("function"==typeof o?0:o)+t.calcChildStagger(e.variantChildren,v,o,a,l)}).then((()=>v.notify("AnimationComplete",i))));return Promise.all(d)}(r,o,e,i,l,d,a)}:()=>Promise.resolve(),{when:c}=s;if(c){const[e,t]="beforeChildren"===c?[d,v]:[v,d];return e().then((()=>t()))}return Promise.all([d(),v(a.delay)])}exports.animateVariant=n;
2
+ //# sourceMappingURL=visual-element-variant.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visual-element-variant.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs"],"sourcesContent":["import { resolveVariant } from '../../render/utils/resolve-dynamic-variants.mjs';\nimport { calcChildStagger } from '../utils/calc-child-stagger.mjs';\nimport { animateTarget } from './visual-element-target.mjs';\n\nfunction animateVariant(visualElement, variant, options = {}) {\n const resolved = resolveVariant(visualElement, variant, options.type === \"exit\"\n ? visualElement.presenceContext?.custom\n : undefined);\n let { transition = visualElement.getDefaultTransition() || {} } = resolved || {};\n if (options.transitionOverride) {\n transition = options.transitionOverride;\n }\n /**\n * If we have a variant, create a callback that runs it as an animation.\n * Otherwise, we resolve a Promise immediately for a composable no-op.\n */\n const getAnimation = resolved\n ? () => Promise.all(animateTarget(visualElement, resolved, options))\n : () => Promise.resolve();\n /**\n * If we have children, create a callback that runs all their animations.\n * Otherwise, we resolve a Promise immediately for a composable no-op.\n */\n const getChildAnimations = visualElement.variantChildren && visualElement.variantChildren.size\n ? (forwardDelay = 0) => {\n const { delayChildren = 0, staggerChildren, staggerDirection, } = transition;\n return animateChildren(visualElement, variant, forwardDelay, delayChildren, staggerChildren, staggerDirection, options);\n }\n : () => Promise.resolve();\n /**\n * If the transition explicitly defines a \"when\" option, we need to resolve either\n * this animation or all children animations before playing the other.\n */\n const { when } = transition;\n if (when) {\n const [first, last] = when === \"beforeChildren\"\n ? [getAnimation, getChildAnimations]\n : [getChildAnimations, getAnimation];\n return first().then(() => last());\n }\n else {\n return Promise.all([getAnimation(), getChildAnimations(options.delay)]);\n }\n}\nfunction animateChildren(visualElement, variant, delay = 0, delayChildren = 0, staggerChildren = 0, staggerDirection = 1, options) {\n const animations = [];\n for (const child of visualElement.variantChildren) {\n child.notify(\"AnimationStart\", variant);\n animations.push(animateVariant(child, variant, {\n ...options,\n delay: delay +\n (typeof delayChildren === \"function\" ? 0 : delayChildren) +\n calcChildStagger(visualElement.variantChildren, child, delayChildren, staggerChildren, staggerDirection),\n }).then(() => child.notify(\"AnimationComplete\", variant)));\n }\n return Promise.all(animations);\n}\n\nexport { animateVariant };\n//# sourceMappingURL=visual-element-variant.mjs.map\n"],"names":["animateVariant","visualElement","variant","options","arguments","length","undefined","resolved","resolveVariant","type","presenceContext","custom","transition","getDefaultTransition","transitionOverride","getAnimation","Promise","all","animateTarget","resolve","getChildAnimations","variantChildren","size","forwardDelay","delayChildren","staggerChildren","staggerDirection","delay","animations","child","notify","push","calcChildStagger","then","animateChildren","when","first","last"],"mappings":"oOAOM,SAAUA,EACZC,EACAC,GAC2C,IAA3CC,EAAAC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAyC,CAAA,EAEzC,MAAMG,EAAWC,EAAAA,eACbP,EACAC,EACiB,SAAjBC,EAAQM,KACFR,EAAcS,iBAAiBC,YAC/BL,GAGV,IAAIM,WAAEA,EAAaX,EAAcY,wBAA0B,CAAA,GACvDN,GAAY,CAAA,EAEZJ,EAAQW,qBACRF,EAAaT,EAAQW,oBAOzB,MAAMC,EAAmCR,EACnC,IAAMS,QAAQC,IAAIC,EAAaA,cAACjB,EAAeM,EAAUJ,IACzD,IAAMa,QAAQG,UAMdC,EACFnB,EAAcoB,iBAAmBpB,EAAcoB,gBAAgBC,KACzD,WAAqB,IAApBC,EAAYnB,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,EACZ,MAAMoB,cACFA,EAAgB,EAACC,gBACjBA,EAAeC,iBACfA,GACAd,EAEJ,OA6BlB,SACIX,EACAC,GAKsC,IAJtCyB,EAAAvB,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAgB,EAChBoB,EAAApB,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAgD,EAChDqB,EAAerB,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,EAClBsB,EAAgBtB,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,EACnBD,EAAsCC,UAAAC,OAAAD,EAAAA,kBAAAE,EAEtC,MAAMsB,EAA6B,GAEnC,IAAK,MAAMC,KAAS5B,EAAcoB,gBAC9BQ,EAAMC,OAAO,iBAAkB5B,GAC/B0B,EAAWG,KACP/B,EAAe6B,EAAO3B,EAAS,IACxBC,EACHwB,MACIA,GAC0B,mBAAlBH,EAA+B,EAAIA,GAC3CQ,EAAAA,iBACI/B,EAAcoB,gBACdQ,EACAL,EACAC,EACAC,KAETO,MAAK,IAAMJ,EAAMC,OAAO,oBAAqB5B,MAIxD,OAAOc,QAAQC,IAAIW,EACvB,CA5DyBM,CACHjC,EACAC,EACAqB,EACAC,EACAC,EACAC,EACAvB,EAER,EACA,IAAMa,QAAQG,WAMlBgB,KAAEA,GAASvB,EACjB,GAAIuB,EAAM,CACN,MAAOC,EAAOC,GACD,mBAATF,EACM,CAACpB,EAAcK,GACf,CAACA,EAAoBL,GAE/B,OAAOqB,IAAQH,MAAK,IAAMI,MAE1B,OAAOrB,QAAQC,IAAI,CAACF,IAAgBK,EAAmBjB,EAAQwB,QAEvE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visual-element.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs"],"sourcesContent":["import { resolveVariant } from '../../render/utils/resolve-dynamic-variants.mjs';\nimport { animateTarget } from './visual-element-target.mjs';\nimport { animateVariant } from './visual-element-variant.mjs';\n\nfunction animateVisualElement(visualElement, definition, options = {}) {\n visualElement.notify(\"AnimationStart\", definition);\n let animation;\n if (Array.isArray(definition)) {\n const animations = definition.map((variant) => animateVariant(visualElement, variant, options));\n animation = Promise.all(animations);\n }\n else if (typeof definition === \"string\") {\n animation = animateVariant(visualElement, definition, options);\n }\n else {\n const resolvedDefinition = typeof definition === \"function\"\n ? resolveVariant(visualElement, definition, options.custom)\n : definition;\n animation = Promise.all(animateTarget(visualElement, resolvedDefinition, options));\n }\n return animation.then(() => {\n visualElement.notify(\"AnimationComplete\", definition);\n });\n}\n\nexport { animateVisualElement };\n//# sourceMappingURL=visual-element.mjs.map\n"],"names":["visualElement","definition","animation","options","arguments","length","undefined","notify","Array","isArray","animations","map","variant","animateVariant","Promise","all","resolvedDefinition","resolveVariant","custom","animateTarget","then"],"mappings":"8PAOM,SACFA,EACAC,GAC2C,IAGvCC,EAHJC,EAAAC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAyC,CAAA,EAKzC,GAHAJ,EAAcO,OAAO,iBAAkBN,GAGnCO,MAAMC,QAAQR,GAAa,CAC3B,MAAMS,EAAaT,EAAWU,KAAKC,GAC/BC,EAAcA,eAACb,EAAeY,EAAST,KAE3CD,EAAYY,QAAQC,IAAIL,EAC5B,MAAO,GAA0B,iBAAfT,EACdC,EAAYW,EAAAA,eAAeb,EAAeC,EAAYE,OACnD,CACH,MAAMa,EACoB,mBAAff,EACDgB,EAAcA,eAACjB,EAAeC,EAAYE,EAAQe,QAClDjB,EAEVC,EAAYY,QAAQC,IAChBI,EAAAA,cAAcnB,EAAegB,EAAoBb,GAEzD,CAEA,OAAOD,EAAUkB,MAAK,KAClBpB,EAAcO,OAAO,oBAAqBN,EAAW,GAE7D"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../render/utils/keys-position.mjs.js"),s=require("../../value/types/dimensions.mjs.js"),r=require("../utils/css-variables-conversion.mjs.js"),t=require("../utils/is-css-variable.mjs.js"),i=require("./KeyframesResolver.mjs.js"),n=require("./utils/is-none.mjs.js"),a=require("./utils/make-none-animatable.mjs.js"),o=require("./utils/unit-conversion.mjs.js");class l extends i.KeyframeResolver{constructor(e,s,r,t,i){super(e,s,r,t,i,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:n,name:a}=this;if(!n||!n.current)return;super.readKeyframes();for(let e=0;e<i.length;e++){let s=i[e];if("string"==typeof s&&(s=s.trim(),t.isCSSVariableToken(s))){const t=r.getVariableValue(s,n.current);void 0!==t&&(i[e]=t),e===i.length-1&&(this.finalKeyframe=s)}}if(this.resolveNoneKeyframes(),!e.positionalKeys.has(a)||2!==i.length)return;const[l,u]=i,m=s.findDimensionValueType(l),f=s.findDimensionValueType(u);if(m!==f)if(o.isNumOrPxType(m)&&o.isNumOrPxType(f))for(let e=0;e<i.length;e++){const s=i[e];"string"==typeof s&&(i[e]=parseFloat(s))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:s}=this,r=[];for(let s=0;s<e.length;s++)(null===e[s]||n.isNone(e[s]))&&r.push(s);r.length&&a.makeNoneKeyframesAnimatable(e,r,s)}measureInitialState(){const{element:e,unresolvedKeyframes:s,name:r}=this;if(!e||!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=o.positionalValues[r](e.measureViewportBox(),window.getComputedStyle(e.current)),s[0]=this.measuredOrigin;const t=s[s.length-1];void 0!==t&&e.getValue(r,t).jump(t,!1)}measureEndState(){const{element:e,name:s,unresolvedKeyframes:r}=this;if(!e||!e.current)return;const t=e.getValue(s);t&&t.jump(this.measuredOrigin,!1);const i=r.length-1,n=r[i];r[i]=o.positionalValues[s](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==n&&void 0===this.finalKeyframe&&(this.finalKeyframe=n),this.removedTransforms?.length&&this.removedTransforms.forEach((s=>{let[r,t]=s;e.getValue(r).set(t)})),this.resolveNoneKeyframes()}}exports.DOMKeyframesResolver=l;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../render/utils/keys-position.mjs.js"),s=require("../../value/types/dimensions.mjs.js"),r=require("../utils/css-variables-conversion.mjs.js"),t=require("../utils/is-css-variable.mjs.js"),i=require("./KeyframesResolver.mjs.js"),n=require("./utils/is-none.mjs.js"),a=require("./utils/make-none-animatable.mjs.js"),o=require("./utils/unit-conversion.mjs.js");class l extends i.KeyframeResolver{constructor(e,s,r,t,i){super(e,s,r,t,i,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:n,name:a}=this;if(!n||!n.current)return;super.readKeyframes();for(let e=0;e<i.length;e++){let s=i[e];if("string"==typeof s&&(s=s.trim(),t.isCSSVariableToken(s))){const t=r.getVariableValue(s,n.current);void 0!==t&&(i[e]=t),e===i.length-1&&(this.finalKeyframe=s)}}if(this.resolveNoneKeyframes(),!e.positionalKeys.has(a)||2!==i.length)return;const[l,u]=i,m=s.findDimensionValueType(l),f=s.findDimensionValueType(u);if(t.containsCSSVariable(l)!==t.containsCSSVariable(u)&&o.positionalValues[a])this.needsMeasurement=!0;else if(m!==f)if(o.isNumOrPxType(m)&&o.isNumOrPxType(f))for(let e=0;e<i.length;e++){const s=i[e];"string"==typeof s&&(i[e]=parseFloat(s))}else o.positionalValues[a]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:s}=this,r=[];for(let s=0;s<e.length;s++)(null===e[s]||n.isNone(e[s]))&&r.push(s);r.length&&a.makeNoneKeyframesAnimatable(e,r,s)}measureInitialState(){const{element:e,unresolvedKeyframes:s,name:r}=this;if(!e||!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=o.positionalValues[r](e.measureViewportBox(),window.getComputedStyle(e.current)),s[0]=this.measuredOrigin;const t=s[s.length-1];void 0!==t&&e.getValue(r,t).jump(t,!1)}measureEndState(){const{element:e,name:s,unresolvedKeyframes:r}=this;if(!e||!e.current)return;const t=e.getValue(s);t&&t.jump(this.measuredOrigin,!1);const i=r.length-1,n=r[i];r[i]=o.positionalValues[s](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==n&&void 0===this.finalKeyframe&&(this.finalKeyframe=n),this.removedTransforms?.length&&this.removedTransforms.forEach((s=>{let[r,t]=s;e.getValue(r).set(t)})),this.resolveNoneKeyframes()}}exports.DOMKeyframesResolver=l;
2
2
  //# sourceMappingURL=DOMKeyframesResolver.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DOMKeyframesResolver.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs"],"sourcesContent":["import { positionalKeys } from '../../render/utils/keys-position.mjs';\nimport { findDimensionValueType } from '../../value/types/dimensions.mjs';\nimport { getVariableValue } from '../utils/css-variables-conversion.mjs';\nimport { isCSSVariableToken } from '../utils/is-css-variable.mjs';\nimport { KeyframeResolver } from './KeyframesResolver.mjs';\nimport { isNone } from './utils/is-none.mjs';\nimport { makeNoneKeyframesAnimatable } from './utils/make-none-animatable.mjs';\nimport { isNumOrPxType, positionalValues } from './utils/unit-conversion.mjs';\n\nclass DOMKeyframesResolver extends KeyframeResolver {\n constructor(unresolvedKeyframes, onComplete, name, motionValue, element) {\n super(unresolvedKeyframes, onComplete, name, motionValue, element, true);\n }\n readKeyframes() {\n const { unresolvedKeyframes, element, name } = this;\n if (!element || !element.current)\n return;\n super.readKeyframes();\n /**\n * If any keyframe is a CSS variable, we need to find its value by sampling the element\n */\n for (let i = 0; i < unresolvedKeyframes.length; i++) {\n let keyframe = unresolvedKeyframes[i];\n if (typeof keyframe === \"string\") {\n keyframe = keyframe.trim();\n if (isCSSVariableToken(keyframe)) {\n const resolved = getVariableValue(keyframe, element.current);\n if (resolved !== undefined) {\n unresolvedKeyframes[i] = resolved;\n }\n if (i === unresolvedKeyframes.length - 1) {\n this.finalKeyframe = keyframe;\n }\n }\n }\n }\n /**\n * Resolve \"none\" values. We do this potentially twice - once before and once after measuring keyframes.\n * This could be seen as inefficient but it's a trade-off to avoid measurements in more situations, which\n * have a far bigger performance impact.\n */\n this.resolveNoneKeyframes();\n /**\n * Check to see if unit type has changed. If so schedule jobs that will\n * temporarily set styles to the destination keyframes.\n * Skip if we have more than two keyframes or this isn't a positional value.\n * TODO: We can throw if there are multiple keyframes and the value type changes.\n */\n if (!positionalKeys.has(name) || unresolvedKeyframes.length !== 2) {\n return;\n }\n const [origin, target] = unresolvedKeyframes;\n const originType = findDimensionValueType(origin);\n const targetType = findDimensionValueType(target);\n /**\n * Either we don't recognise these value types or we can animate between them.\n */\n if (originType === targetType)\n return;\n /**\n * If both values are numbers or pixels, we can animate between them by\n * converting them to numbers.\n */\n if (isNumOrPxType(originType) && isNumOrPxType(targetType)) {\n for (let i = 0; i < unresolvedKeyframes.length; i++) {\n const value = unresolvedKeyframes[i];\n if (typeof value === \"string\") {\n unresolvedKeyframes[i] = parseFloat(value);\n }\n }\n }\n else {\n /**\n * Else, the only way to resolve this is by measuring the element.\n */\n this.needsMeasurement = true;\n }\n }\n resolveNoneKeyframes() {\n const { unresolvedKeyframes, name } = this;\n const noneKeyframeIndexes = [];\n for (let i = 0; i < unresolvedKeyframes.length; i++) {\n if (unresolvedKeyframes[i] === null ||\n isNone(unresolvedKeyframes[i])) {\n noneKeyframeIndexes.push(i);\n }\n }\n if (noneKeyframeIndexes.length) {\n makeNoneKeyframesAnimatable(unresolvedKeyframes, noneKeyframeIndexes, name);\n }\n }\n measureInitialState() {\n const { element, unresolvedKeyframes, name } = this;\n if (!element || !element.current)\n return;\n if (name === \"height\") {\n this.suspendedScrollY = window.pageYOffset;\n }\n this.measuredOrigin = positionalValues[name](element.measureViewportBox(), window.getComputedStyle(element.current));\n unresolvedKeyframes[0] = this.measuredOrigin;\n // Set final key frame to measure after next render\n const measureKeyframe = unresolvedKeyframes[unresolvedKeyframes.length - 1];\n if (measureKeyframe !== undefined) {\n element.getValue(name, measureKeyframe).jump(measureKeyframe, false);\n }\n }\n measureEndState() {\n const { element, name, unresolvedKeyframes } = this;\n if (!element || !element.current)\n return;\n const value = element.getValue(name);\n value && value.jump(this.measuredOrigin, false);\n const finalKeyframeIndex = unresolvedKeyframes.length - 1;\n const finalKeyframe = unresolvedKeyframes[finalKeyframeIndex];\n unresolvedKeyframes[finalKeyframeIndex] = positionalValues[name](element.measureViewportBox(), window.getComputedStyle(element.current));\n if (finalKeyframe !== null && this.finalKeyframe === undefined) {\n this.finalKeyframe = finalKeyframe;\n }\n // If we removed transform values, reapply them before the next render\n if (this.removedTransforms?.length) {\n this.removedTransforms.forEach(([unsetTransformName, unsetTransformValue]) => {\n element\n .getValue(unsetTransformName)\n .set(unsetTransformValue);\n });\n }\n this.resolveNoneKeyframes();\n }\n}\n\nexport { DOMKeyframesResolver };\n"],"names":["DOMKeyframesResolver","KeyframeResolver","constructor","unresolvedKeyframes","onComplete","name","motionValue","element","super","readKeyframes","this","current","i","length","keyframe","trim","isCSSVariableToken","resolved","getVariableValue","undefined","finalKeyframe","resolveNoneKeyframes","positionalKeys","has","origin","target","originType","findDimensionValueType","targetType","isNumOrPxType","value","parseFloat","needsMeasurement","noneKeyframeIndexes","isNone","push","makeNoneKeyframesAnimatable","measureInitialState","suspendedScrollY","window","pageYOffset","measuredOrigin","positionalValues","measureViewportBox","getComputedStyle","measureKeyframe","getValue","jump","measureEndState","finalKeyframeIndex","removedTransforms","forEach","_ref","unsetTransformName","unsetTransformValue","set"],"mappings":"0bASA,MAAMA,UAA6BC,EAAAA,iBAC/BC,WAAAA,CAAYC,EAAqBC,EAAYC,EAAMC,EAAaC,GAC5DC,MAAML,EAAqBC,EAAYC,EAAMC,EAAaC,GAAS,EACvE,CACAE,aAAAA,GACI,MAAMN,oBAAEA,EAAmBI,QAAEA,EAAOF,KAAEA,GAASK,KAC/C,IAAKH,IAAYA,EAAQI,QACrB,OACJH,MAAMC,gBAIN,IAAK,IAAIG,EAAI,EAAGA,EAAIT,EAAoBU,OAAQD,IAAK,CACjD,IAAIE,EAAWX,EAAoBS,GACnC,GAAwB,iBAAbE,IACPA,EAAWA,EAASC,OAChBC,EAAAA,mBAAmBF,IAAW,CAC9B,MAAMG,EAAWC,EAAgBA,iBAACJ,EAAUP,EAAQI,cACnCQ,IAAbF,IACAd,EAAoBS,GAAKK,GAEzBL,IAAMT,EAAoBU,OAAS,IACnCH,KAAKU,cAAgBN,EAE7B,CAER,CAaA,GAPAJ,KAAKW,wBAOAC,EAAcA,eAACC,IAAIlB,IAAwC,IAA/BF,EAAoBU,OACjD,OAEJ,MAAOW,EAAQC,GAAUtB,EACnBuB,EAAaC,yBAAuBH,GACpCI,EAAaD,yBAAuBF,GAI1C,GAAIC,IAAeE,EAMnB,GAAIC,EAAaA,cAACH,IAAeG,EAAaA,cAACD,GAC3C,IAAK,IAAIhB,EAAI,EAAGA,EAAIT,EAAoBU,OAAQD,IAAK,CACjD,MAAMkB,EAAQ3B,EAAoBS,GACb,iBAAVkB,IACP3B,EAAoBS,GAAKmB,WAAWD,GAE5C,MAMApB,KAAKsB,kBAAmB,CAEhC,CACAX,oBAAAA,GACI,MAAMlB,oBAAEA,EAAmBE,KAAEA,GAASK,KAChCuB,EAAsB,GAC5B,IAAK,IAAIrB,EAAI,EAAGA,EAAIT,EAAoBU,OAAQD,KACb,OAA3BT,EAAoBS,IACpBsB,EAAAA,OAAO/B,EAAoBS,MAC3BqB,EAAoBE,KAAKvB,GAG7BqB,EAAoBpB,QACpBuB,EAAAA,4BAA4BjC,EAAqB8B,EAAqB5B,EAE9E,CACAgC,mBAAAA,GACI,MAAM9B,QAAEA,EAAOJ,oBAAEA,EAAmBE,KAAEA,GAASK,KAC/C,IAAKH,IAAYA,EAAQI,QACrB,OACS,WAATN,IACAK,KAAK4B,iBAAmBC,OAAOC,aAEnC9B,KAAK+B,eAAiBC,mBAAiBrC,GAAME,EAAQoC,qBAAsBJ,OAAOK,iBAAiBrC,EAAQI,UAC3GR,EAAoB,GAAKO,KAAK+B,eAE9B,MAAMI,EAAkB1C,EAAoBA,EAAoBU,OAAS,QACjDM,IAApB0B,GACAtC,EAAQuC,SAASzC,EAAMwC,GAAiBE,KAAKF,GAAiB,EAEtE,CACAG,eAAAA,GACI,MAAMzC,QAAEA,EAAOF,KAAEA,EAAIF,oBAAEA,GAAwBO,KAC/C,IAAKH,IAAYA,EAAQI,QACrB,OACJ,MAAMmB,EAAQvB,EAAQuC,SAASzC,GAC/ByB,GAASA,EAAMiB,KAAKrC,KAAK+B,gBAAgB,GACzC,MAAMQ,EAAqB9C,EAAoBU,OAAS,EAClDO,EAAgBjB,EAAoB8C,GAC1C9C,EAAoB8C,GAAsBP,mBAAiBrC,GAAME,EAAQoC,qBAAsBJ,OAAOK,iBAAiBrC,EAAQI,UACzG,OAAlBS,QAAiDD,IAAvBT,KAAKU,gBAC/BV,KAAKU,cAAgBA,GAGrBV,KAAKwC,mBAAmBrC,QACxBH,KAAKwC,kBAAkBC,SAAQC,IAA+C,IAA7CC,EAAoBC,GAAoBF,EACrE7C,EACKuC,SAASO,GACTE,IAAID,EAAoB,IAGrC5C,KAAKW,sBACT"}
1
+ {"version":3,"file":"DOMKeyframesResolver.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs"],"sourcesContent":["import { positionalKeys } from '../../render/utils/keys-position.mjs';\nimport { findDimensionValueType } from '../../value/types/dimensions.mjs';\nimport { getVariableValue } from '../utils/css-variables-conversion.mjs';\nimport { isCSSVariableToken, containsCSSVariable } from '../utils/is-css-variable.mjs';\nimport { KeyframeResolver } from './KeyframesResolver.mjs';\nimport { isNone } from './utils/is-none.mjs';\nimport { makeNoneKeyframesAnimatable } from './utils/make-none-animatable.mjs';\nimport { positionalValues, isNumOrPxType } from './utils/unit-conversion.mjs';\n\nclass DOMKeyframesResolver extends KeyframeResolver {\n constructor(unresolvedKeyframes, onComplete, name, motionValue, element) {\n super(unresolvedKeyframes, onComplete, name, motionValue, element, true);\n }\n readKeyframes() {\n const { unresolvedKeyframes, element, name } = this;\n if (!element || !element.current)\n return;\n super.readKeyframes();\n /**\n * If any keyframe is a CSS variable, we need to find its value by sampling the element\n */\n for (let i = 0; i < unresolvedKeyframes.length; i++) {\n let keyframe = unresolvedKeyframes[i];\n if (typeof keyframe === \"string\") {\n keyframe = keyframe.trim();\n if (isCSSVariableToken(keyframe)) {\n const resolved = getVariableValue(keyframe, element.current);\n if (resolved !== undefined) {\n unresolvedKeyframes[i] = resolved;\n }\n if (i === unresolvedKeyframes.length - 1) {\n this.finalKeyframe = keyframe;\n }\n }\n }\n }\n /**\n * Resolve \"none\" values. We do this potentially twice - once before and once after measuring keyframes.\n * This could be seen as inefficient but it's a trade-off to avoid measurements in more situations, which\n * have a far bigger performance impact.\n */\n this.resolveNoneKeyframes();\n /**\n * Check to see if unit type has changed. If so schedule jobs that will\n * temporarily set styles to the destination keyframes.\n * Skip if we have more than two keyframes or this isn't a positional value.\n * TODO: We can throw if there are multiple keyframes and the value type changes.\n */\n if (!positionalKeys.has(name) || unresolvedKeyframes.length !== 2) {\n return;\n }\n const [origin, target] = unresolvedKeyframes;\n const originType = findDimensionValueType(origin);\n const targetType = findDimensionValueType(target);\n /**\n * If one keyframe contains embedded CSS variables (e.g. in calc()) and the other\n * doesn't, we need to measure to convert to pixels. This handles GitHub issue #3410.\n */\n const originHasVar = containsCSSVariable(origin);\n const targetHasVar = containsCSSVariable(target);\n if (originHasVar !== targetHasVar && positionalValues[name]) {\n this.needsMeasurement = true;\n return;\n }\n /**\n * Either we don't recognise these value types or we can animate between them.\n */\n if (originType === targetType)\n return;\n /**\n * If both values are numbers or pixels, we can animate between them by\n * converting them to numbers.\n */\n if (isNumOrPxType(originType) && isNumOrPxType(targetType)) {\n for (let i = 0; i < unresolvedKeyframes.length; i++) {\n const value = unresolvedKeyframes[i];\n if (typeof value === \"string\") {\n unresolvedKeyframes[i] = parseFloat(value);\n }\n }\n }\n else if (positionalValues[name]) {\n /**\n * Else, the only way to resolve this is by measuring the element.\n */\n this.needsMeasurement = true;\n }\n }\n resolveNoneKeyframes() {\n const { unresolvedKeyframes, name } = this;\n const noneKeyframeIndexes = [];\n for (let i = 0; i < unresolvedKeyframes.length; i++) {\n if (unresolvedKeyframes[i] === null ||\n isNone(unresolvedKeyframes[i])) {\n noneKeyframeIndexes.push(i);\n }\n }\n if (noneKeyframeIndexes.length) {\n makeNoneKeyframesAnimatable(unresolvedKeyframes, noneKeyframeIndexes, name);\n }\n }\n measureInitialState() {\n const { element, unresolvedKeyframes, name } = this;\n if (!element || !element.current)\n return;\n if (name === \"height\") {\n this.suspendedScrollY = window.pageYOffset;\n }\n this.measuredOrigin = positionalValues[name](element.measureViewportBox(), window.getComputedStyle(element.current));\n unresolvedKeyframes[0] = this.measuredOrigin;\n // Set final key frame to measure after next render\n const measureKeyframe = unresolvedKeyframes[unresolvedKeyframes.length - 1];\n if (measureKeyframe !== undefined) {\n element.getValue(name, measureKeyframe).jump(measureKeyframe, false);\n }\n }\n measureEndState() {\n const { element, name, unresolvedKeyframes } = this;\n if (!element || !element.current)\n return;\n const value = element.getValue(name);\n value && value.jump(this.measuredOrigin, false);\n const finalKeyframeIndex = unresolvedKeyframes.length - 1;\n const finalKeyframe = unresolvedKeyframes[finalKeyframeIndex];\n unresolvedKeyframes[finalKeyframeIndex] = positionalValues[name](element.measureViewportBox(), window.getComputedStyle(element.current));\n if (finalKeyframe !== null && this.finalKeyframe === undefined) {\n this.finalKeyframe = finalKeyframe;\n }\n // If we removed transform values, reapply them before the next render\n if (this.removedTransforms?.length) {\n this.removedTransforms.forEach(([unsetTransformName, unsetTransformValue]) => {\n element\n .getValue(unsetTransformName)\n .set(unsetTransformValue);\n });\n }\n this.resolveNoneKeyframes();\n }\n}\n\nexport { DOMKeyframesResolver };\n//# sourceMappingURL=DOMKeyframesResolver.mjs.map\n"],"names":["DOMKeyframesResolver","KeyframeResolver","constructor","unresolvedKeyframes","onComplete","name","motionValue","element","super","readKeyframes","this","current","i","length","keyframe","trim","isCSSVariableToken","resolved","getVariableValue","undefined","finalKeyframe","resolveNoneKeyframes","positionalKeys","has","origin","target","originType","findDimensionValueType","targetType","containsCSSVariable","positionalValues","needsMeasurement","isNumOrPxType","value","parseFloat","noneKeyframeIndexes","isNone","push","makeNoneKeyframesAnimatable","measureInitialState","suspendedScrollY","window","pageYOffset","measuredOrigin","measureViewportBox","getComputedStyle","measureKeyframe","getValue","jump","measureEndState","finalKeyframeIndex","removedTransforms","forEach","_ref","unsetTransformName","unsetTransformValue","set"],"mappings":"0bAmBM,MAAOA,UAEHC,EAAAA,iBAONC,WAAAA,CACIC,EACAC,EACAC,EACAC,EACAC,GAEAC,MAAML,EAAqBC,EAAYC,EAAMC,EAAaC,GAAS,EACvE,CAEAE,aAAAA,GACI,MAAMN,oBAAEA,EAAmBI,QAAEA,EAAOF,KAAEA,GAASK,KAE/C,IAAKH,IAAYA,EAAQI,QAAS,OAElCH,MAAMC,gBAKN,IAAK,IAAIG,EAAI,EAAGA,EAAIT,EAAoBU,OAAQD,IAAK,CACjD,IAAIE,EAAWX,EAAoBS,GAEnC,GAAwB,iBAAbE,IACPA,EAAWA,EAASC,OAEhBC,EAAAA,mBAAmBF,IAAW,CAC9B,MAAMG,EAAWC,EAAgBA,iBAACJ,EAAUP,EAAQI,cAEnCQ,IAAbF,IACAd,EAAoBS,GAAKK,GAGzBL,IAAMT,EAAoBU,OAAS,IACnCH,KAAKU,cAAgBN,EAE7B,CAER,CAeA,GARAJ,KAAKW,wBAQAC,EAAcA,eAACC,IAAIlB,IAAwC,IAA/BF,EAAoBU,OACjD,OAGJ,MAAOW,EAAQC,GAAUtB,EACnBuB,EAAaC,yBAAuBH,GACpCI,EAAaD,yBAAuBF,GAS1C,GAHqBI,sBAAoBL,KACpBK,sBAAoBJ,IAEJK,EAAgBA,iBAACzB,GAClDK,KAAKqB,kBAAmB,OAO5B,GAAIL,IAAeE,EAMnB,GAAII,EAAaA,cAACN,IAAeM,EAAaA,cAACJ,GAC3C,IAAK,IAAIhB,EAAI,EAAGA,EAAIT,EAAoBU,OAAQD,IAAK,CACjD,MAAMqB,EAAQ9B,EAAoBS,GACb,iBAAVqB,IACP9B,EAAoBS,GAAKsB,WAAWD,GAE5C,MACOH,EAAAA,iBAAiBzB,KAIxBK,KAAKqB,kBAAmB,EAEhC,CAEAV,oBAAAA,GACI,MAAMlB,oBAAEA,EAAmBE,KAAEA,GAASK,KAEhCyB,EAAgC,GACtC,IAAK,IAAIvB,EAAI,EAAGA,EAAIT,EAAoBU,OAAQD,KAEb,OAA3BT,EAAoBS,IACpBwB,EAAAA,OAAOjC,EAAoBS,MAE3BuB,EAAoBE,KAAKzB,GAI7BuB,EAAoBtB,QACpByB,EAAAA,4BACInC,EACAgC,EACA9B,EAGZ,CAEAkC,mBAAAA,GACI,MAAMhC,QAAEA,EAAOJ,oBAAEA,EAAmBE,KAAEA,GAASK,KAE/C,IAAKH,IAAYA,EAAQI,QAAS,OAErB,WAATN,IACAK,KAAK8B,iBAAmBC,OAAOC,aAGnChC,KAAKiC,eAAiBb,mBAAiBzB,GACnCE,EAAQqC,qBACRH,OAAOI,iBAAiBtC,EAAQI,UAGpCR,EAAoB,GAAKO,KAAKiC,eAG9B,MAAMG,EACF3C,EAAoBA,EAAoBU,OAAS,QAE7BM,IAApB2B,GACAvC,EAAQwC,SAAS1C,EAAMyC,GAAiBE,KAAKF,GAAiB,EAEtE,CAEAG,eAAAA,GACI,MAAM1C,QAAEA,EAAOF,KAAEA,EAAIF,oBAAEA,GAAwBO,KAE/C,IAAKH,IAAYA,EAAQI,QAAS,OAElC,MAAMsB,EAAQ1B,EAAQwC,SAAS1C,GAC/B4B,GAASA,EAAMe,KAAKtC,KAAKiC,gBAAgB,GAEzC,MAAMO,EAAqB/C,EAAoBU,OAAS,EAClDO,EAAgBjB,EAAoB+C,GAE1C/C,EAAoB+C,GAAsBpB,mBAAiBzB,GACvDE,EAAQqC,qBACRH,OAAOI,iBAAiBtC,EAAQI,UAGd,OAAlBS,QAAiDD,IAAvBT,KAAKU,gBAC/BV,KAAKU,cAAgBA,GAIrBV,KAAKyC,mBAAmBtC,QACxBH,KAAKyC,kBAAkBC,SACnBC,IAA8C,IAA5CC,EAAoBC,GAAoBF,EACtC9C,EACKwC,SAASO,GACTE,IAAID,EAAoB,IAKzC7C,KAAKW,sBACT"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./utils/fill-wildcards.mjs.js"),s=require("./utils/unit-conversion.mjs.js"),t=require("../../frameloop/frame.mjs.js");const r=new Set;let i=!1,l=!1,o=!1;function n(){if(l){const e=Array.from(r).filter((e=>e.needsMeasurement)),t=new Set(e.map((e=>e.element))),i=new Map;t.forEach((e=>{const t=s.removeNonTranslationalTransform(e);t.length&&(i.set(e,t),e.render())})),e.forEach((e=>e.measureInitialState())),t.forEach((e=>{e.render();const s=i.get(e);s&&s.forEach((s=>{let[t,r]=s;e.getValue(t)?.set(r)}))})),e.forEach((e=>e.measureEndState())),e.forEach((e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)}))}l=!1,i=!1,r.forEach((e=>e.complete(o))),r.clear()}function a(){r.forEach((e=>{e.readKeyframes(),e.needsMeasurement&&(l=!0)}))}exports.KeyframeResolver=class{constructor(e,s,t,r,i){let l=arguments.length>5&&void 0!==arguments[5]&&arguments[5];this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=s,this.name=t,this.motionValue=r,this.element=i,this.isAsync=l}scheduleResolve(){this.isScheduled=!0,this.isAsync?(r.add(this),i||(i=!0,t.frame.read(a),t.frame.resolveKeyframes(n))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:s,name:t,element:r,motionValue:i}=this;if(null===s[0]){const e=i?.get(),l=s[s.length-1];if(void 0!==e)s[0]=e;else if(r&&t){const e=r.readValue(t,l);null!=e&&(s[0]=e)}void 0===s[0]&&(s[0]=l),i&&void 0===e&&i.set(s[0])}e.fillWildcards(s)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),r.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,r.delete(this))}resume(){this.isComplete||this.scheduleResolve()}},exports.flushKeyframeResolvers=function(){o=!0,a(),n(),o=!1};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./utils/fill-wildcards.mjs.js"),s=require("./utils/unit-conversion.mjs.js"),t=require("../../frameloop/frame.mjs.js");const r=new Set;let n=!1,a=!1,l=!1;function i(){if(a){const e=Array.from(r).filter((e=>e.needsMeasurement)),t=new Set(e.map((e=>e.element))),n=new Map;t.forEach((e=>{const t=s.removeNonTranslationalTransform(e);t.length&&(n.set(e,t),e.render())})),e.forEach((e=>e.measureInitialState())),t.forEach((e=>{e.render();const s=n.get(e);s&&s.forEach((s=>{let[t,r]=s;e.getValue(t)?.set(r)}))})),e.forEach((e=>e.measureEndState())),e.forEach((e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)}))}a=!1,n=!1,r.forEach((e=>e.complete(l))),r.clear()}function o(){r.forEach((e=>{e.readKeyframes(),e.needsMeasurement&&(a=!0)}))}exports.KeyframeResolver=class{constructor(e,s,t,r,n){let a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=s,this.name=t,this.motionValue=r,this.element=n,this.isAsync=a}scheduleResolve(){this.state="scheduled",this.isAsync?(r.add(this),n||(n=!0,t.frame.read(o),t.frame.resolveKeyframes(i))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:s,name:t,element:r,motionValue:n}=this;if(null===s[0]){const e=n?.get(),a=s[s.length-1];if(void 0!==e)s[0]=e;else if(r&&t){const e=r.readValue(t,a);null!=e&&(s[0]=e)}void 0===s[0]&&(s[0]=a),n&&void 0===e&&n.set(s[0])}e.fillWildcards(s)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),r.delete(this)}cancel(){"scheduled"===this.state&&(r.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}},exports.flushKeyframeResolvers=function(){l=!0,o(),i(),l=!1};
2
2
  //# sourceMappingURL=KeyframesResolver.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"KeyframesResolver.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs"],"sourcesContent":["import { fillWildcards } from './utils/fill-wildcards.mjs';\nimport { removeNonTranslationalTransform } from './utils/unit-conversion.mjs';\nimport { frame } from '../../frameloop/frame.mjs';\n\nconst toResolve = new Set();\nlet isScheduled = false;\nlet anyNeedsMeasurement = false;\nlet isForced = false;\nfunction measureAllKeyframes() {\n if (anyNeedsMeasurement) {\n const resolversToMeasure = Array.from(toResolve).filter((resolver) => resolver.needsMeasurement);\n const elementsToMeasure = new Set(resolversToMeasure.map((resolver) => resolver.element));\n const transformsToRestore = new Map();\n /**\n * Write pass\n * If we're measuring elements we want to remove bounding box-changing transforms.\n */\n elementsToMeasure.forEach((element) => {\n const removedTransforms = removeNonTranslationalTransform(element);\n if (!removedTransforms.length)\n return;\n transformsToRestore.set(element, removedTransforms);\n element.render();\n });\n // Read\n resolversToMeasure.forEach((resolver) => resolver.measureInitialState());\n // Write\n elementsToMeasure.forEach((element) => {\n element.render();\n const restore = transformsToRestore.get(element);\n if (restore) {\n restore.forEach(([key, value]) => {\n element.getValue(key)?.set(value);\n });\n }\n });\n // Read\n resolversToMeasure.forEach((resolver) => resolver.measureEndState());\n // Write\n resolversToMeasure.forEach((resolver) => {\n if (resolver.suspendedScrollY !== undefined) {\n window.scrollTo(0, resolver.suspendedScrollY);\n }\n });\n }\n anyNeedsMeasurement = false;\n isScheduled = false;\n toResolve.forEach((resolver) => resolver.complete(isForced));\n toResolve.clear();\n}\nfunction readAllKeyframes() {\n toResolve.forEach((resolver) => {\n resolver.readKeyframes();\n if (resolver.needsMeasurement) {\n anyNeedsMeasurement = true;\n }\n });\n}\nfunction flushKeyframeResolvers() {\n isForced = true;\n readAllKeyframes();\n measureAllKeyframes();\n isForced = false;\n}\nclass KeyframeResolver {\n constructor(unresolvedKeyframes, onComplete, name, motionValue, element, isAsync = false) {\n /**\n * Track whether this resolver has completed. Once complete, it never\n * needs to attempt keyframe resolution again.\n */\n this.isComplete = false;\n /**\n * Track whether this resolver is async. If it is, it'll be added to the\n * resolver queue and flushed in the next frame. Resolvers that aren't going\n * to trigger read/write thrashing don't need to be async.\n */\n this.isAsync = false;\n /**\n * Track whether this resolver needs to perform a measurement\n * to resolve its keyframes.\n */\n this.needsMeasurement = false;\n /**\n * Track whether this resolver is currently scheduled to resolve\n * to allow it to be cancelled and resumed externally.\n */\n this.isScheduled = false;\n this.unresolvedKeyframes = [...unresolvedKeyframes];\n this.onComplete = onComplete;\n this.name = name;\n this.motionValue = motionValue;\n this.element = element;\n this.isAsync = isAsync;\n }\n scheduleResolve() {\n this.isScheduled = true;\n if (this.isAsync) {\n toResolve.add(this);\n if (!isScheduled) {\n isScheduled = true;\n frame.read(readAllKeyframes);\n frame.resolveKeyframes(measureAllKeyframes);\n }\n }\n else {\n this.readKeyframes();\n this.complete();\n }\n }\n readKeyframes() {\n const { unresolvedKeyframes, name, element, motionValue } = this;\n // If initial keyframe is null we need to read it from the DOM\n if (unresolvedKeyframes[0] === null) {\n const currentValue = motionValue?.get();\n // TODO: This doesn't work if the final keyframe is a wildcard\n const finalKeyframe = unresolvedKeyframes[unresolvedKeyframes.length - 1];\n if (currentValue !== undefined) {\n unresolvedKeyframes[0] = currentValue;\n }\n else if (element && name) {\n const valueAsRead = element.readValue(name, finalKeyframe);\n if (valueAsRead !== undefined && valueAsRead !== null) {\n unresolvedKeyframes[0] = valueAsRead;\n }\n }\n if (unresolvedKeyframes[0] === undefined) {\n unresolvedKeyframes[0] = finalKeyframe;\n }\n if (motionValue && currentValue === undefined) {\n motionValue.set(unresolvedKeyframes[0]);\n }\n }\n fillWildcards(unresolvedKeyframes);\n }\n setFinalKeyframe() { }\n measureInitialState() { }\n renderEndStyles() { }\n measureEndState() { }\n complete(isForced = false) {\n this.isComplete = true;\n this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, isForced);\n toResolve.delete(this);\n }\n cancel() {\n if (!this.isComplete) {\n this.isScheduled = false;\n toResolve.delete(this);\n }\n }\n resume() {\n if (!this.isComplete)\n this.scheduleResolve();\n }\n}\n\nexport { KeyframeResolver, flushKeyframeResolvers };\n"],"names":["toResolve","Set","isScheduled","anyNeedsMeasurement","isForced","measureAllKeyframes","resolversToMeasure","Array","from","filter","resolver","needsMeasurement","elementsToMeasure","map","element","transformsToRestore","Map","forEach","removedTransforms","removeNonTranslationalTransform","length","set","render","measureInitialState","restore","get","_ref","key","value","getValue","measureEndState","undefined","suspendedScrollY","window","scrollTo","complete","clear","readAllKeyframes","readKeyframes","constructor","unresolvedKeyframes","onComplete","name","motionValue","isAsync","arguments","this","isComplete","scheduleResolve","add","frame","read","resolveKeyframes","currentValue","finalKeyframe","valueAsRead","readValue","fillWildcards","setFinalKeyframe","renderEndStyles","delete","cancel","resume"],"mappings":"yMAIA,MAAMA,EAAY,IAAIC,IACtB,IAAIC,GAAc,EACdC,GAAsB,EACtBC,GAAW,EACf,SAASC,IACL,GAAIF,EAAqB,CACrB,MAAMG,EAAqBC,MAAMC,KAAKR,GAAWS,QAAQC,GAAaA,EAASC,mBACzEC,EAAoB,IAAIX,IAAIK,EAAmBO,KAAKH,GAAaA,EAASI,WAC1EC,EAAsB,IAAIC,IAKhCJ,EAAkBK,SAASH,IACvB,MAAMI,EAAoBC,kCAAgCL,GACrDI,EAAkBE,SAEvBL,EAAoBM,IAAIP,EAASI,GACjCJ,EAAQQ,SAAQ,IAGpBhB,EAAmBW,SAASP,GAAaA,EAASa,wBAElDX,EAAkBK,SAASH,IACvBA,EAAQQ,SACR,MAAME,EAAUT,EAAoBU,IAAIX,GACpCU,GACAA,EAAQP,SAAQS,IAAkB,IAAhBC,EAAKC,GAAMF,EACzBZ,EAAQe,SAASF,IAAMN,IAAIO,EAAM,GAEzC,IAGJtB,EAAmBW,SAASP,GAAaA,EAASoB,oBAElDxB,EAAmBW,SAASP,SACUqB,IAA9BrB,EAASsB,kBACTC,OAAOC,SAAS,EAAGxB,EAASsB,iBAChC,GAER,CACA7B,GAAsB,EACtBD,GAAc,EACdF,EAAUiB,SAASP,GAAaA,EAASyB,SAAS/B,KAClDJ,EAAUoC,OACd,CACA,SAASC,IACLrC,EAAUiB,SAASP,IACfA,EAAS4B,gBACL5B,EAASC,mBACTR,GAAsB,EAC1B,GAER,0BAOA,MACIoC,WAAAA,CAAYC,EAAqBC,EAAYC,EAAMC,EAAa7B,GAA0B,IAAjB8B,EAAOC,UAAAzB,OAAA,QAAAW,IAAAc,UAAA,IAAAA,UAAA,GAK5EC,KAAKC,YAAa,EAMlBD,KAAKF,SAAU,EAKfE,KAAKnC,kBAAmB,EAKxBmC,KAAK5C,aAAc,EACnB4C,KAAKN,oBAAsB,IAAIA,GAC/BM,KAAKL,WAAaA,EAClBK,KAAKJ,KAAOA,EACZI,KAAKH,YAAcA,EACnBG,KAAKhC,QAAUA,EACfgC,KAAKF,QAAUA,CACnB,CACAI,eAAAA,GACIF,KAAK5C,aAAc,EACf4C,KAAKF,SACL5C,EAAUiD,IAAIH,MACT5C,IACDA,GAAc,EACdgD,QAAMC,KAAKd,GACXa,QAAME,iBAAiB/C,MAI3ByC,KAAKR,gBACLQ,KAAKX,WAEb,CACAG,aAAAA,GACI,MAAME,oBAAEA,EAAmBE,KAAEA,EAAI5B,QAAEA,EAAO6B,YAAEA,GAAgBG,KAE5D,GAA+B,OAA3BN,EAAoB,GAAa,CACjC,MAAMa,EAAeV,GAAalB,MAE5B6B,EAAgBd,EAAoBA,EAAoBpB,OAAS,GACvE,QAAqBW,IAAjBsB,EACAb,EAAoB,GAAKa,OAExB,GAAIvC,GAAW4B,EAAM,CACtB,MAAMa,EAAczC,EAAQ0C,UAAUd,EAAMY,GACxCC,UACAf,EAAoB,GAAKe,EAEjC,MAC+BxB,IAA3BS,EAAoB,KACpBA,EAAoB,GAAKc,GAEzBX,QAAgCZ,IAAjBsB,GACfV,EAAYtB,IAAImB,EAAoB,GAE5C,CACAiB,EAAaA,cAACjB,EAClB,CACAkB,gBAAAA,GAAqB,CACrBnC,mBAAAA,GAAwB,CACxBoC,eAAAA,GAAoB,CACpB7B,eAAAA,GAAoB,CACpBK,QAAAA,GAA2B,IAAlB/B,EAAQyC,UAAAzB,OAAA,QAAAW,IAAAc,UAAA,IAAAA,UAAA,GACbC,KAAKC,YAAa,EAClBD,KAAKL,WAAWK,KAAKN,oBAAqBM,KAAKQ,cAAelD,GAC9DJ,EAAU4D,OAAOd,KACrB,CACAe,MAAAA,GACSf,KAAKC,aACND,KAAK5C,aAAc,EACnBF,EAAU4D,OAAOd,MAEzB,CACAgB,MAAAA,GACShB,KAAKC,YACND,KAAKE,iBACb,kCA9FJ,WACI5C,GAAW,EACXiC,IACAhC,IACAD,GAAW,CACf"}
1
+ {"version":3,"file":"KeyframesResolver.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs"],"sourcesContent":["import { fillWildcards } from './utils/fill-wildcards.mjs';\nimport { removeNonTranslationalTransform } from './utils/unit-conversion.mjs';\nimport { frame } from '../../frameloop/frame.mjs';\n\nconst toResolve = new Set();\nlet isScheduled = false;\nlet anyNeedsMeasurement = false;\nlet isForced = false;\nfunction measureAllKeyframes() {\n if (anyNeedsMeasurement) {\n const resolversToMeasure = Array.from(toResolve).filter((resolver) => resolver.needsMeasurement);\n const elementsToMeasure = new Set(resolversToMeasure.map((resolver) => resolver.element));\n const transformsToRestore = new Map();\n /**\n * Write pass\n * If we're measuring elements we want to remove bounding box-changing transforms.\n */\n elementsToMeasure.forEach((element) => {\n const removedTransforms = removeNonTranslationalTransform(element);\n if (!removedTransforms.length)\n return;\n transformsToRestore.set(element, removedTransforms);\n element.render();\n });\n // Read\n resolversToMeasure.forEach((resolver) => resolver.measureInitialState());\n // Write\n elementsToMeasure.forEach((element) => {\n element.render();\n const restore = transformsToRestore.get(element);\n if (restore) {\n restore.forEach(([key, value]) => {\n element.getValue(key)?.set(value);\n });\n }\n });\n // Read\n resolversToMeasure.forEach((resolver) => resolver.measureEndState());\n // Write\n resolversToMeasure.forEach((resolver) => {\n if (resolver.suspendedScrollY !== undefined) {\n window.scrollTo(0, resolver.suspendedScrollY);\n }\n });\n }\n anyNeedsMeasurement = false;\n isScheduled = false;\n toResolve.forEach((resolver) => resolver.complete(isForced));\n toResolve.clear();\n}\nfunction readAllKeyframes() {\n toResolve.forEach((resolver) => {\n resolver.readKeyframes();\n if (resolver.needsMeasurement) {\n anyNeedsMeasurement = true;\n }\n });\n}\nfunction flushKeyframeResolvers() {\n isForced = true;\n readAllKeyframes();\n measureAllKeyframes();\n isForced = false;\n}\nclass KeyframeResolver {\n constructor(unresolvedKeyframes, onComplete, name, motionValue, element, isAsync = false) {\n this.state = \"pending\";\n /**\n * Track whether this resolver is async. If it is, it'll be added to the\n * resolver queue and flushed in the next frame. Resolvers that aren't going\n * to trigger read/write thrashing don't need to be async.\n */\n this.isAsync = false;\n /**\n * Track whether this resolver needs to perform a measurement\n * to resolve its keyframes.\n */\n this.needsMeasurement = false;\n this.unresolvedKeyframes = [...unresolvedKeyframes];\n this.onComplete = onComplete;\n this.name = name;\n this.motionValue = motionValue;\n this.element = element;\n this.isAsync = isAsync;\n }\n scheduleResolve() {\n this.state = \"scheduled\";\n if (this.isAsync) {\n toResolve.add(this);\n if (!isScheduled) {\n isScheduled = true;\n frame.read(readAllKeyframes);\n frame.resolveKeyframes(measureAllKeyframes);\n }\n }\n else {\n this.readKeyframes();\n this.complete();\n }\n }\n readKeyframes() {\n const { unresolvedKeyframes, name, element, motionValue } = this;\n // If initial keyframe is null we need to read it from the DOM\n if (unresolvedKeyframes[0] === null) {\n const currentValue = motionValue?.get();\n // TODO: This doesn't work if the final keyframe is a wildcard\n const finalKeyframe = unresolvedKeyframes[unresolvedKeyframes.length - 1];\n if (currentValue !== undefined) {\n unresolvedKeyframes[0] = currentValue;\n }\n else if (element && name) {\n const valueAsRead = element.readValue(name, finalKeyframe);\n if (valueAsRead !== undefined && valueAsRead !== null) {\n unresolvedKeyframes[0] = valueAsRead;\n }\n }\n if (unresolvedKeyframes[0] === undefined) {\n unresolvedKeyframes[0] = finalKeyframe;\n }\n if (motionValue && currentValue === undefined) {\n motionValue.set(unresolvedKeyframes[0]);\n }\n }\n fillWildcards(unresolvedKeyframes);\n }\n setFinalKeyframe() { }\n measureInitialState() { }\n renderEndStyles() { }\n measureEndState() { }\n complete(isForcedComplete = false) {\n this.state = \"complete\";\n this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, isForcedComplete);\n toResolve.delete(this);\n }\n cancel() {\n if (this.state === \"scheduled\") {\n toResolve.delete(this);\n this.state = \"pending\";\n }\n }\n resume() {\n if (this.state === \"pending\")\n this.scheduleResolve();\n }\n}\n\nexport { KeyframeResolver, flushKeyframeResolvers };\n//# sourceMappingURL=KeyframesResolver.mjs.map\n"],"names":["toResolve","Set","isScheduled","anyNeedsMeasurement","isForced","measureAllKeyframes","resolversToMeasure","Array","from","filter","resolver","needsMeasurement","elementsToMeasure","map","element","transformsToRestore","Map","forEach","removedTransforms","removeNonTranslationalTransform","length","set","render","measureInitialState","restore","get","_ref","key","value","getValue","measureEndState","undefined","suspendedScrollY","window","scrollTo","complete","clear","readAllKeyframes","readKeyframes","constructor","unresolvedKeyframes","onComplete","name","motionValue","isAsync","arguments","this","state","scheduleResolve","add","frame","read","resolveKeyframes","currentValue","finalKeyframe","valueAsRead","readValue","fillWildcards","setFinalKeyframe","renderEndStyles","isForcedComplete","delete","cancel","resume","flushKeyframeResolvers"],"mappings":"yMAWA,MAAMA,EAAY,IAAIC,IACtB,IAAIC,GAAc,EACdC,GAAsB,EACtBC,GAAW,EAEf,SAASC,IACL,GAAIF,EAAqB,CACrB,MAAMG,EAAqBC,MAAMC,KAAKR,GAAWS,QAC5CC,GAA+BA,EAASC,mBAEvCC,EAAoB,IAAIX,IAC1BK,EAAmBO,KAAKH,GAAaA,EAASI,WAE5CC,EAAsB,IAAIC,IAShCJ,EAAkBK,SAASH,IACvB,MAAMI,EAAoBC,kCACtBL,GAGCI,EAAkBE,SAEvBL,EAAoBM,IAAIP,EAASI,GAEjCJ,EAAQQ,SAAQ,IAIpBhB,EAAmBW,SAASP,GAAaA,EAASa,wBAGlDX,EAAkBK,SAASH,IACvBA,EAAQQ,SAER,MAAME,EAAUT,EAAoBU,IAAIX,GACpCU,GACAA,EAAQP,SAAQS,IAAiB,IAAfC,EAAKC,GAAMF,EACzBZ,EAAQe,SAASF,IAAMN,IAAIO,EAAM,GAEzC,IAIJtB,EAAmBW,SAASP,GAAaA,EAASoB,oBAGlDxB,EAAmBW,SAASP,SACUqB,IAA9BrB,EAASsB,kBACTC,OAAOC,SAAS,EAAGxB,EAASsB,iBAChC,GAER,CAEA7B,GAAsB,EACtBD,GAAc,EAEdF,EAAUiB,SAASP,GAAaA,EAASyB,SAAS/B,KAClDJ,EAAUoC,OACd,CAEA,SAASC,IACLrC,EAAUiB,SAASP,IACfA,EAAS4B,gBAEL5B,EAASC,mBACTR,GAAsB,EAC1B,GAER,gCAyCIoC,WAAAA,CACIC,EACAC,EACAC,EACAC,EACA7B,GACe,IAAf8B,EAAOC,UAAAzB,OAAA,QAAAW,IAAAc,UAAA,IAAAA,UAAA,GArBXC,KAAAC,MAA8C,UAOtCD,KAAAF,SAAU,EAMlBE,KAAAnC,kBAAmB,EAUfmC,KAAKN,oBAAsB,IAAIA,GAC/BM,KAAKL,WAAaA,EAClBK,KAAKJ,KAAOA,EACZI,KAAKH,YAAcA,EACnBG,KAAKhC,QAAUA,EACfgC,KAAKF,QAAUA,CACnB,CAEAI,eAAAA,GACIF,KAAKC,MAAQ,YAETD,KAAKF,SACL5C,EAAUiD,IAAIH,MAET5C,IACDA,GAAc,EACdgD,QAAMC,KAAKd,GACXa,QAAME,iBAAiB/C,MAG3ByC,KAAKR,gBACLQ,KAAKX,WAEb,CAEAG,aAAAA,GACI,MAAME,oBAAEA,EAAmBE,KAAEA,EAAI5B,QAAEA,EAAO6B,YAAEA,GAAgBG,KAG5D,GAA+B,OAA3BN,EAAoB,GAAa,CACjC,MAAMa,EAAeV,GAAalB,MAG5B6B,EACFd,EAAoBA,EAAoBpB,OAAS,GAErD,QAAqBW,IAAjBsB,EACAb,EAAoB,GAAKa,OACtB,GAAIvC,GAAW4B,EAAM,CACxB,MAAMa,EAAczC,EAAQ0C,UAAUd,EAAMY,GAExCC,UACAf,EAAoB,GAAKe,EAEjC,MAE+BxB,IAA3BS,EAAoB,KACpBA,EAAoB,GAAKc,GAGzBX,QAAgCZ,IAAjBsB,GACfV,EAAYtB,IAAImB,EAAoB,GAE5C,CAEAiB,EAAaA,cAACjB,EAClB,CAEAkB,gBAAAA,GAAoB,CACpBnC,mBAAAA,GAAuB,CACvBoC,eAAAA,GAAmB,CACnB7B,eAAAA,GAAmB,CAEnBK,QAAAA,GAAiC,IAAxByB,EAAgBf,UAAAzB,OAAA,QAAAW,IAAAc,UAAA,IAAAA,UAAA,GACrBC,KAAKC,MAAQ,WAEbD,KAAKL,WACDK,KAAKN,oBACLM,KAAKQ,cACLM,GAGJ5D,EAAU6D,OAAOf,KACrB,CAEAgB,MAAAA,GACuB,cAAfhB,KAAKC,QACL/C,EAAU6D,OAAOf,MACjBA,KAAKC,MAAQ,UAErB,CAEAgB,MAAAA,GACuB,YAAfjB,KAAKC,OAAqBD,KAAKE,iBACvC,kCAnIYgB,WACZ5D,GAAW,EACXiC,IACAhC,IACAD,GAAW,CACf"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-final.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs"],"sourcesContent":["const isNotNull = (value) => value !== null;\nfunction getFinalKeyframe(keyframes, { repeat, repeatType = \"loop\" }, finalKeyframe, speed = 1) {\n const resolvedKeyframes = keyframes.filter(isNotNull);\n const useFirstKeyframe = speed < 0 || (repeat && repeatType !== \"loop\" && repeat % 2 === 1);\n const index = useFirstKeyframe ? 0 : resolvedKeyframes.length - 1;\n return !index || finalKeyframe === undefined\n ? resolvedKeyframes[index]\n : finalKeyframe;\n}\n\nexport { getFinalKeyframe };\n"],"names":["isNotNull","value","keyframes","_ref","finalKeyframe","repeat","repeatType","speed","arguments","length","undefined","resolvedKeyframes","filter","index"],"mappings":"oEAAA,MAAMA,EAAaC,GAAoB,OAAVA,2BAC7B,SAA0BC,EAASC,EAAmCC,GAA0B,IAA3DC,OAAEA,EAAMC,WAAEA,EAAa,QAAQH,EAAiBI,EAAKC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,EACzF,MAAMG,EAAoBT,EAAUU,OAAOZ,GAErCa,EADmBN,EAAQ,GAAMF,GAAyB,SAAfC,GAAyBD,EAAS,GAAM,EACxD,EAAIM,EAAkBF,OAAS,EAChE,OAAQI,QAA2BH,IAAlBN,EAEXA,EADAO,EAAkBE,EAE5B"}
1
+ {"version":3,"file":"get-final.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs"],"sourcesContent":["const isNotNull = (value) => value !== null;\nfunction getFinalKeyframe(keyframes, { repeat, repeatType = \"loop\" }, finalKeyframe, speed = 1) {\n const resolvedKeyframes = keyframes.filter(isNotNull);\n const useFirstKeyframe = speed < 0 || (repeat && repeatType !== \"loop\" && repeat % 2 === 1);\n const index = useFirstKeyframe ? 0 : resolvedKeyframes.length - 1;\n return !index || finalKeyframe === undefined\n ? resolvedKeyframes[index]\n : finalKeyframe;\n}\n\nexport { getFinalKeyframe };\n//# sourceMappingURL=get-final.mjs.map\n"],"names":["isNotNull","value","getFinalKeyframe","keyframes","_ref","finalKeyframe","repeat","repeatType","speed","arguments","length","undefined","resolvedKeyframes","filter","index"],"mappings":"oEAEA,MAAMA,EAAaC,GAA6B,OAAVA,2BAEtBC,SACZC,EAAcC,EAEdC,GACiB,IAFjBC,OAAEA,EAAMC,WAAEA,EAAa,QAAkCH,EAEzDI,EAAAC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAgB,EAEhB,MAAMG,EAAoBT,EAAUU,OAAOb,GAGrCc,EADFN,EAAQ,GAAMF,GAAyB,SAAfC,GAAyBD,EAAS,GAAM,EACnC,EAAIM,EAAkBF,OAAS,EAEhE,OAAQI,QAA2BH,IAAlBN,EAEXA,EADAO,EAAkBE,EAE5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"default.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs"],"sourcesContent":["import { fillOffset } from './fill.mjs';\n\nfunction defaultOffset(arr) {\n const offset = [0];\n fillOffset(offset, arr.length - 1);\n return offset;\n}\n\nexport { defaultOffset };\n"],"names":["arr","offset","fillOffset","length"],"mappings":"yHAEA,SAAuBA,GACnB,MAAMC,EAAS,CAAC,GAEhB,OADAC,EAAAA,WAAWD,EAAQD,EAAIG,OAAS,GACzBF,CACX"}
1
+ {"version":3,"file":"default.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs"],"sourcesContent":["import { fillOffset } from './fill.mjs';\n\nfunction defaultOffset(arr) {\n const offset = [0];\n fillOffset(offset, arr.length - 1);\n return offset;\n}\n\nexport { defaultOffset };\n//# sourceMappingURL=default.mjs.map\n"],"names":["arr","offset","fillOffset","length"],"mappings":"yHAEM,SAAwBA,GAC1B,MAAMC,EAAS,CAAC,GAEhB,OADAC,EAAAA,WAAWD,EAAQD,EAAIG,OAAS,GACzBF,CACX"}
@@ -1 +1 @@
1
- {"version":3,"file":"fill.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs"],"sourcesContent":["import { progress } from 'motion-utils';\nimport { mixNumber } from '../../../utils/mix/number.mjs';\n\nfunction fillOffset(offset, remaining) {\n const min = offset[offset.length - 1];\n for (let i = 1; i <= remaining; i++) {\n const offsetProgress = progress(0, remaining, i);\n offset.push(mixNumber(min, 1, offsetProgress));\n }\n}\n\nexport { fillOffset };\n"],"names":["offset","remaining","min","length","i","offsetProgress","progress","push","mixNumber"],"mappings":"6MAGA,SAAoBA,EAAQC,GACxB,MAAMC,EAAMF,EAAOA,EAAOG,OAAS,GACnC,IAAK,IAAIC,EAAI,EAAGA,GAAKH,EAAWG,IAAK,CACjC,MAAMC,EAAiBC,EAAQA,SAAC,EAAGL,EAAWG,GAC9CJ,EAAOO,KAAKC,EAASA,UAACN,EAAK,EAAGG,GAClC,CACJ"}
1
+ {"version":3,"file":"fill.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs"],"sourcesContent":["import { progress } from 'motion-utils';\nimport { mixNumber } from '../../../utils/mix/number.mjs';\n\nfunction fillOffset(offset, remaining) {\n const min = offset[offset.length - 1];\n for (let i = 1; i <= remaining; i++) {\n const offsetProgress = progress(0, remaining, i);\n offset.push(mixNumber(min, 1, offsetProgress));\n }\n}\n\nexport { fillOffset };\n//# sourceMappingURL=fill.mjs.map\n"],"names":["offset","remaining","min","length","i","offsetProgress","progress","push","mixNumber"],"mappings":"6MAGM,SAAqBA,EAAkBC,GACzC,MAAMC,EAAMF,EAAOA,EAAOG,OAAS,GACnC,IAAK,IAAIC,EAAI,EAAGA,GAAKH,EAAWG,IAAK,CACjC,MAAMC,EAAiBC,EAAQA,SAAC,EAAGL,EAAWG,GAC9CJ,EAAOO,KAAKC,EAASA,UAACN,EAAK,EAAGG,GAClC,CACJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"time.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs"],"sourcesContent":["function convertOffsetToTimes(offset, duration) {\n return offset.map((o) => o * duration);\n}\n\nexport { convertOffsetToTimes };\n"],"names":["offset","duration","map","o"],"mappings":"iGAAA,SAA8BA,EAAQC,GAClC,OAAOD,EAAOE,KAAKC,GAAMA,EAAIF,GACjC"}
1
+ {"version":3,"file":"time.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs"],"sourcesContent":["function convertOffsetToTimes(offset, duration) {\n return offset.map((o) => o * duration);\n}\n\nexport { convertOffsetToTimes };\n//# sourceMappingURL=time.mjs.map\n"],"names":["offset","duration","map","o"],"mappings":"iGAAM,SAA+BA,EAAkBC,GACnD,OAAOD,EAAOE,KAAKC,GAAMA,EAAIF,GACjC"}
@@ -1 +1 @@
1
- {"version":3,"file":"fill-wildcards.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs"],"sourcesContent":["function fillWildcards(keyframes) {\n for (let i = 1; i < keyframes.length; i++) {\n keyframes[i] ?? (keyframes[i] = keyframes[i - 1]);\n }\n}\n\nexport { fillWildcards };\n"],"names":["keyframes","i","length"],"mappings":"0FAAA,SAAuBA,GACnB,IAAK,IAAIC,EAAI,EAAGA,EAAID,EAAUE,OAAQD,IAClCD,EAAUC,KAAOD,EAAUC,GAAKD,EAAUC,EAAI,GAEtD"}
1
+ {"version":3,"file":"fill-wildcards.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs"],"sourcesContent":["function fillWildcards(keyframes) {\n for (let i = 1; i < keyframes.length; i++) {\n keyframes[i] ?? (keyframes[i] = keyframes[i - 1]);\n }\n}\n\nexport { fillWildcards };\n//# sourceMappingURL=fill-wildcards.mjs.map\n"],"names":["keyframes","i","length"],"mappings":"0FAEM,SACFA,GAEA,IAAK,IAAIC,EAAI,EAAGA,EAAID,EAAUE,OAAQD,IAClCD,EAAUC,KAAVD,EAAUC,GAAOD,EAAUC,EAAI,GAEvC"}
@@ -1 +1 @@
1
- {"version":3,"file":"is-none.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs"],"sourcesContent":["import { isZeroValueString } from 'motion-utils';\n\nfunction isNone(value) {\n if (typeof value === \"number\") {\n return value === 0;\n }\n else if (value !== null) {\n return value === \"none\" || value === \"0\" || isZeroValueString(value);\n }\n else {\n return true;\n }\n}\n\nexport { isNone };\n"],"names":["value","isZeroValueString"],"mappings":"uKAEA,SAAgBA,GACZ,MAAqB,iBAAVA,EACU,IAAVA,EAEQ,OAAVA,IACY,SAAVA,GAA8B,MAAVA,GAAiBC,EAAAA,kBAAkBD,GAKtE"}
1
+ {"version":3,"file":"is-none.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs"],"sourcesContent":["import { isZeroValueString } from 'motion-utils';\n\nfunction isNone(value) {\n if (typeof value === \"number\") {\n return value === 0;\n }\n else if (value !== null) {\n return value === \"none\" || value === \"0\" || isZeroValueString(value);\n }\n else {\n return true;\n }\n}\n\nexport { isNone };\n//# sourceMappingURL=is-none.mjs.map\n"],"names":["value","isZeroValueString"],"mappings":"uKAGM,SAAiBA,GACnB,MAAqB,iBAAVA,EACU,IAAVA,EACU,OAAVA,IACU,SAAVA,GAA8B,MAAVA,GAAiBC,EAAAA,kBAAkBD,GAItE"}
@@ -1 +1 @@
1
- {"version":3,"file":"make-none-animatable.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs"],"sourcesContent":["import { analyseComplexValue } from '../../../value/types/complex/index.mjs';\nimport { getAnimatableNone } from '../../../value/types/utils/animatable-none.mjs';\n\n/**\n * If we encounter keyframes like \"none\" or \"0\" and we also have keyframes like\n * \"#fff\" or \"200px 200px\" we want to find a keyframe to serve as a template for\n * the \"none\" keyframes. In this case \"#fff\" or \"200px 200px\" - then these get turned into\n * zero equivalents, i.e. \"#fff0\" or \"0px 0px\".\n */\nconst invalidTemplates = new Set([\"auto\", \"none\", \"0\"]);\nfunction makeNoneKeyframesAnimatable(unresolvedKeyframes, noneKeyframeIndexes, name) {\n let i = 0;\n let animatableTemplate = undefined;\n while (i < unresolvedKeyframes.length && !animatableTemplate) {\n const keyframe = unresolvedKeyframes[i];\n if (typeof keyframe === \"string\" &&\n !invalidTemplates.has(keyframe) &&\n analyseComplexValue(keyframe).values.length) {\n animatableTemplate = unresolvedKeyframes[i];\n }\n i++;\n }\n if (animatableTemplate && name) {\n for (const noneIndex of noneKeyframeIndexes) {\n unresolvedKeyframes[noneIndex] = getAnimatableNone(name, animatableTemplate);\n }\n }\n}\n\nexport { makeNoneKeyframesAnimatable };\n"],"names":["invalidTemplates","Set","unresolvedKeyframes","noneKeyframeIndexes","name","animatableTemplate","i","length","keyframe","has","analyseComplexValue","values","noneIndex","getAnimatableNone"],"mappings":"8LASA,MAAMA,EAAmB,IAAIC,IAAI,CAAC,OAAQ,OAAQ,0CAClD,SAAqCC,EAAqBC,EAAqBC,GAC3E,IACIC,EADAC,EAAI,EAER,KAAOA,EAAIJ,EAAoBK,SAAWF,GAAoB,CAC1D,MAAMG,EAAWN,EAAoBI,GACb,iBAAbE,IACNR,EAAiBS,IAAID,IACtBE,sBAAoBF,GAAUG,OAAOJ,SACrCF,EAAqBH,EAAoBI,IAE7CA,GACJ,CACA,GAAID,GAAsBD,EACtB,IAAK,MAAMQ,KAAaT,EACpBD,EAAoBU,GAAaC,EAAiBA,kBAACT,EAAMC,EAGrE"}
1
+ {"version":3,"file":"make-none-animatable.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs"],"sourcesContent":["import { analyseComplexValue } from '../../../value/types/complex/index.mjs';\nimport { getAnimatableNone } from '../../../value/types/utils/animatable-none.mjs';\n\n/**\n * If we encounter keyframes like \"none\" or \"0\" and we also have keyframes like\n * \"#fff\" or \"200px 200px\" we want to find a keyframe to serve as a template for\n * the \"none\" keyframes. In this case \"#fff\" or \"200px 200px\" - then these get turned into\n * zero equivalents, i.e. \"#fff0\" or \"0px 0px\".\n */\nconst invalidTemplates = new Set([\"auto\", \"none\", \"0\"]);\nfunction makeNoneKeyframesAnimatable(unresolvedKeyframes, noneKeyframeIndexes, name) {\n let i = 0;\n let animatableTemplate = undefined;\n while (i < unresolvedKeyframes.length && !animatableTemplate) {\n const keyframe = unresolvedKeyframes[i];\n if (typeof keyframe === \"string\" &&\n !invalidTemplates.has(keyframe) &&\n analyseComplexValue(keyframe).values.length) {\n animatableTemplate = unresolvedKeyframes[i];\n }\n i++;\n }\n if (animatableTemplate && name) {\n for (const noneIndex of noneKeyframeIndexes) {\n unresolvedKeyframes[noneIndex] = getAnimatableNone(name, animatableTemplate);\n }\n }\n}\n\nexport { makeNoneKeyframesAnimatable };\n//# sourceMappingURL=make-none-animatable.mjs.map\n"],"names":["invalidTemplates","Set","makeNoneKeyframesAnimatable","unresolvedKeyframes","noneKeyframeIndexes","name","animatableTemplate","i","length","keyframe","has","analyseComplexValue","values","noneIndex","getAnimatableNone"],"mappings":"8LAWA,MAAMA,EAAmB,IAAIC,IAAI,CAAC,OAAQ,OAAQ,0CAElCC,SACZC,EACAC,EACAC,GAEA,IACIC,EADAC,EAAI,EAER,KAAOA,EAAIJ,EAAoBK,SAAWF,GAAoB,CAC1D,MAAMG,EAAWN,EAAoBI,GAEb,iBAAbE,IACNT,EAAiBU,IAAID,IACtBE,sBAAoBF,GAAUG,OAAOJ,SAErCF,EAAqBH,EAAoBI,IAE7CA,GACJ,CAEA,GAAID,GAAsBD,EACtB,IAAK,MAAMQ,KAAaT,EACpBD,EAAoBU,GAAaC,EAAiBA,kBAC9CT,EACAC,EAIhB"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../render/dom/parse-transform.mjs.js"),r=require("../../../render/utils/keys-transform.mjs.js"),t=require("../../../value/types/numbers/index.mjs.js"),s=require("../../../value/types/numbers/units.mjs.js");const a=new Set(["x","y","z"]),n=r.transformPropOrder.filter((e=>!a.has(e)));const o={width:(e,r)=>{let{x:t}=e,{paddingLeft:s="0",paddingRight:a="0"}=r;return t.max-t.min-parseFloat(s)-parseFloat(a)},height:(e,r)=>{let{y:t}=e,{paddingTop:s="0",paddingBottom:a="0"}=r;return t.max-t.min-parseFloat(s)-parseFloat(a)},top:(e,r)=>{let{top:t}=r;return parseFloat(t)},left:(e,r)=>{let{left:t}=r;return parseFloat(t)},bottom:(e,r)=>{let{y:t}=e,{top:s}=r;return parseFloat(s)+(t.max-t.min)},right:(e,r)=>{let{x:t}=e,{left:s}=r;return parseFloat(s)+(t.max-t.min)},x:(r,t)=>{let{transform:s}=t;return e.parseValueFromTransform(s,"x")},y:(r,t)=>{let{transform:s}=t;return e.parseValueFromTransform(s,"y")}};o.translateX=o.x,o.translateY=o.y,exports.isNumOrPxType=e=>e===t.number||e===s.px,exports.positionalValues=o,exports.removeNonTranslationalTransform=function(e){const r=[];return n.forEach((t=>{const s=e.getValue(t);void 0!==s&&(r.push([t,s.get()]),s.set(t.startsWith("scale")?1:0))})),r};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("../../../render/dom/parse-transform.mjs.js"),e=require("../../../render/utils/keys-transform.mjs.js"),t=require("../../../value/types/numbers/index.mjs.js"),s=require("../../../value/types/numbers/units.mjs.js");const a=new Set(["x","y","z"]),o=e.transformPropOrder.filter((r=>!a.has(r)));const n={width:(r,e)=>{let{x:t}=r,{paddingLeft:s="0",paddingRight:a="0",boxSizing:o}=e;const n=t.max-t.min;return"border-box"===o?n:n-parseFloat(s)-parseFloat(a)},height:(r,e)=>{let{y:t}=r,{paddingTop:s="0",paddingBottom:a="0",boxSizing:o}=e;const n=t.max-t.min;return"border-box"===o?n:n-parseFloat(s)-parseFloat(a)},top:(r,e)=>{let{top:t}=e;return parseFloat(t)},left:(r,e)=>{let{left:t}=e;return parseFloat(t)},bottom:(r,e)=>{let{y:t}=r,{top:s}=e;return parseFloat(s)+(t.max-t.min)},right:(r,e)=>{let{x:t}=r,{left:s}=e;return parseFloat(s)+(t.max-t.min)},x:(e,t)=>{let{transform:s}=t;return r.parseValueFromTransform(s,"x")},y:(e,t)=>{let{transform:s}=t;return r.parseValueFromTransform(s,"y")}};n.translateX=n.x,n.translateY=n.y,exports.isNumOrPxType=r=>r===t.number||r===s.px,exports.positionalValues=n,exports.removeNonTranslationalTransform=function(r){const e=[];return o.forEach((t=>{const s=r.getValue(t);void 0!==s&&(e.push([t,s.get()]),s.set(t.startsWith("scale")?1:0))})),e};
2
2
  //# sourceMappingURL=unit-conversion.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"unit-conversion.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs"],"sourcesContent":["import { parseValueFromTransform } from '../../../render/dom/parse-transform.mjs';\nimport { transformPropOrder } from '../../../render/utils/keys-transform.mjs';\nimport { number } from '../../../value/types/numbers/index.mjs';\nimport { px } from '../../../value/types/numbers/units.mjs';\n\nconst isNumOrPxType = (v) => v === number || v === px;\nconst transformKeys = new Set([\"x\", \"y\", \"z\"]);\nconst nonTranslationalTransformKeys = transformPropOrder.filter((key) => !transformKeys.has(key));\nfunction removeNonTranslationalTransform(visualElement) {\n const removedTransforms = [];\n nonTranslationalTransformKeys.forEach((key) => {\n const value = visualElement.getValue(key);\n if (value !== undefined) {\n removedTransforms.push([key, value.get()]);\n value.set(key.startsWith(\"scale\") ? 1 : 0);\n }\n });\n return removedTransforms;\n}\nconst positionalValues = {\n // Dimensions\n width: ({ x }, { paddingLeft = \"0\", paddingRight = \"0\" }) => x.max - x.min - parseFloat(paddingLeft) - parseFloat(paddingRight),\n height: ({ y }, { paddingTop = \"0\", paddingBottom = \"0\" }) => y.max - y.min - parseFloat(paddingTop) - parseFloat(paddingBottom),\n top: (_bbox, { top }) => parseFloat(top),\n left: (_bbox, { left }) => parseFloat(left),\n bottom: ({ y }, { top }) => parseFloat(top) + (y.max - y.min),\n right: ({ x }, { left }) => parseFloat(left) + (x.max - x.min),\n // Transform\n x: (_bbox, { transform }) => parseValueFromTransform(transform, \"x\"),\n y: (_bbox, { transform }) => parseValueFromTransform(transform, \"y\"),\n};\n// Alias translate longform names\npositionalValues.translateX = positionalValues.x;\npositionalValues.translateY = positionalValues.y;\n\nexport { isNumOrPxType, positionalValues, removeNonTranslationalTransform };\n"],"names":["isNumOrPxType","transformKeys","Set","nonTranslationalTransformKeys","transformPropOrder","filter","key","has","positionalValues","width","_ref","_ref2","x","paddingLeft","paddingRight","max","min","parseFloat","height","_ref3","_ref4","y","paddingTop","paddingBottom","top","_bbox","_ref5","left","_ref6","bottom","_ref7","_ref8","right","_ref9","_ref0","_ref1","transform","parseValueFromTransform","_ref10","translateX","translateY","v","number","px","visualElement","removedTransforms","forEach","value","getValue","undefined","push","get","set","startsWith"],"mappings":"uSAKMA,MACAC,EAAgB,IAAIC,IAAI,CAAC,IAAK,IAAK,MACnCC,EAAgCC,EAAAA,mBAAmBC,QAAQC,IAASL,EAAcM,IAAID,KAY5F,MAAME,EAAmB,CAErBC,MAAOA,CAAAC,EAAAC,KAAA,IAACC,EAAEA,GAAGF,GAAEG,YAAEA,EAAc,IAAGC,aAAEA,EAAe,KAAKH,EAAA,OAAKC,EAAEG,IAAMH,EAAEI,IAAMC,WAAWJ,GAAeI,WAAWH,EAAa,EAC/HI,OAAQA,CAAAC,EAAAC,KAAA,IAACC,EAAEA,GAAGF,GAAEG,WAAEA,EAAa,IAAGC,cAAEA,EAAgB,KAAKH,EAAA,OAAKC,EAAEN,IAAMM,EAAEL,IAAMC,WAAWK,GAAcL,WAAWM,EAAc,EAChIC,IAAKA,CAACC,EAAKC,KAAA,IAAEF,IAAEA,GAAKE,EAAA,OAAKT,WAAWO,EAAI,EACxCG,KAAMA,CAACF,EAAKG,KAAA,IAAED,KAAEA,GAAMC,EAAA,OAAKX,WAAWU,EAAK,EAC3CE,OAAQA,CAAAC,EAAAC,KAAA,IAACV,EAAEA,GAAGS,GAAEN,IAAEA,GAAKO,EAAA,OAAKd,WAAWO,IAAQH,EAAEN,IAAMM,EAAEL,IAAI,EAC7DgB,MAAOA,CAAAC,EAAAC,KAAA,IAACtB,EAAEA,GAAGqB,GAAEN,KAAEA,GAAMO,EAAA,OAAKjB,WAAWU,IAASf,EAAEG,IAAMH,EAAEI,IAAI,EAE9DJ,EAAGA,CAACa,EAAKU,KAAA,IAAEC,UAAEA,GAAWD,EAAA,OAAKE,EAAuBA,wBAACD,EAAW,IAAI,EACpEf,EAAGA,CAACI,EAAKa,KAAA,IAAEF,UAAEA,GAAWE,EAAA,OAAKD,EAAuBA,wBAACD,EAAW,IAAI,GAGxE5B,EAAiB+B,WAAa/B,EAAiBI,EAC/CJ,EAAiBgC,WAAahC,EAAiBa,wBA5BxBoB,GAAMA,IAAMC,EAAMA,QAAID,IAAME,EAAEA,sEAGrD,SAAyCC,GACrC,MAAMC,EAAoB,GAQ1B,OAPA1C,EAA8B2C,SAASxC,IACnC,MAAMyC,EAAQH,EAAcI,SAAS1C,QACvB2C,IAAVF,IACAF,EAAkBK,KAAK,CAAC5C,EAAKyC,EAAMI,QACnCJ,EAAMK,IAAI9C,EAAI+C,WAAW,SAAW,EAAI,GAC5C,IAEGR,CACX"}
1
+ {"version":3,"file":"unit-conversion.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs"],"sourcesContent":["import { parseValueFromTransform } from '../../../render/dom/parse-transform.mjs';\nimport { transformPropOrder } from '../../../render/utils/keys-transform.mjs';\nimport { number } from '../../../value/types/numbers/index.mjs';\nimport { px } from '../../../value/types/numbers/units.mjs';\n\nconst isNumOrPxType = (v) => v === number || v === px;\nconst transformKeys = new Set([\"x\", \"y\", \"z\"]);\nconst nonTranslationalTransformKeys = transformPropOrder.filter((key) => !transformKeys.has(key));\nfunction removeNonTranslationalTransform(visualElement) {\n const removedTransforms = [];\n nonTranslationalTransformKeys.forEach((key) => {\n const value = visualElement.getValue(key);\n if (value !== undefined) {\n removedTransforms.push([key, value.get()]);\n value.set(key.startsWith(\"scale\") ? 1 : 0);\n }\n });\n return removedTransforms;\n}\nconst positionalValues = {\n // Dimensions\n width: ({ x }, { paddingLeft = \"0\", paddingRight = \"0\", boxSizing }) => {\n const width = x.max - x.min;\n return boxSizing === \"border-box\"\n ? width\n : width - parseFloat(paddingLeft) - parseFloat(paddingRight);\n },\n height: ({ y }, { paddingTop = \"0\", paddingBottom = \"0\", boxSizing }) => {\n const height = y.max - y.min;\n return boxSizing === \"border-box\"\n ? height\n : height - parseFloat(paddingTop) - parseFloat(paddingBottom);\n },\n top: (_bbox, { top }) => parseFloat(top),\n left: (_bbox, { left }) => parseFloat(left),\n bottom: ({ y }, { top }) => parseFloat(top) + (y.max - y.min),\n right: ({ x }, { left }) => parseFloat(left) + (x.max - x.min),\n // Transform\n x: (_bbox, { transform }) => parseValueFromTransform(transform, \"x\"),\n y: (_bbox, { transform }) => parseValueFromTransform(transform, \"y\"),\n};\n// Alias translate longform names\npositionalValues.translateX = positionalValues.x;\npositionalValues.translateY = positionalValues.y;\n\nexport { isNumOrPxType, positionalValues, removeNonTranslationalTransform };\n//# sourceMappingURL=unit-conversion.mjs.map\n"],"names":["isNumOrPxType","transformKeys","Set","nonTranslationalTransformKeys","transformPropOrder","filter","key","has","positionalValues","width","_ref","_ref2","x","paddingLeft","paddingRight","boxSizing","max","min","parseFloat","height","_ref3","_ref4","y","paddingTop","paddingBottom","top","_bbox","_ref5","left","_ref6","bottom","_ref7","_ref8","right","_ref9","_ref0","_ref1","transform","parseValueFromTransform","_ref10","translateX","translateY","v","number","px","visualElement","removedTransforms","forEach","value","getValue","undefined","push","get","set","startsWith"],"mappings":"uSAUaA,MAQPC,EAAgB,IAAIC,IAAI,CAAC,IAAK,IAAK,MACnCC,EAAgCC,EAAAA,mBAAmBC,QACpDC,IAASL,EAAcM,IAAID,KAmBzB,MAAME,EACT,CAEIC,MAAOA,CAAAC,EAAAC,KAGH,IAFAC,EAAEA,GAAGF,GACLG,YAAEA,EAAc,IAAGC,aAAEA,EAAe,IAAGC,UAAEA,GAAWJ,EAEpD,MAAMF,EAAQG,EAAEI,IAAMJ,EAAEK,IACxB,MAAqB,eAAdF,EACDN,EACAA,EAAQS,WAAWL,GAAeK,WAAWJ,EAAa,EAEpEK,OAAQA,CAAAC,EAAAC,KAGJ,IAFAC,EAAEA,GAAGF,GACLG,WAAEA,EAAa,IAAGC,cAAEA,EAAgB,IAAGT,UAAEA,GAAWM,EAEpD,MAAMF,EAASG,EAAEN,IAAMM,EAAEL,IACzB,MAAqB,eAAdF,EACDI,EACAA,EAASD,WAAWK,GAAcL,WAAWM,EAAc,EAGrEC,IAAKA,CAACC,EAAKC,KAAA,IAAEF,IAAEA,GAAKE,EAAA,OAAKT,WAAWO,EAAc,EAClDG,KAAMA,CAACF,EAAKG,KAAA,IAAED,KAAEA,GAAMC,EAAA,OAAKX,WAAWU,EAAe,EACrDE,OAAQA,CAAAC,EAAAC,KAAA,IAACV,EAAEA,GAAGS,GAAEN,IAAEA,GAAKO,EAAA,OAAKd,WAAWO,IAAkBH,EAAEN,IAAMM,EAAEL,IAAI,EACvEgB,MAAOA,CAAAC,EAAAC,KAAA,IAACvB,EAAEA,GAAGsB,GAAEN,KAAEA,GAAMO,EAAA,OACnBjB,WAAWU,IAAmBhB,EAAEI,IAAMJ,EAAEK,IAAI,EAGhDL,EAAGA,CAACc,EAAKU,KAAA,IAAEC,UAAEA,GAAWD,EAAA,OAAKE,EAAuBA,wBAACD,EAAW,IAAI,EACpEf,EAAGA,CAACI,EAAKa,KAAA,IAAEF,UAAEA,GAAWE,EAAA,OAAKD,EAAuBA,wBAACD,EAAW,IAAI,GAI5E7B,EAAiBgC,WAAahC,EAAiBI,EAC/CJ,EAAiBiC,WAAajC,EAAiBc,wBAhEjBoB,GAC1BA,IAAMC,EAAMA,QAAID,IAAME,EAAAA,sEAapB,SAA0CC,GAC5C,MAAMC,EAAuC,GAW7C,OATA3C,EAA8B4C,SAASzC,IACnC,MAAM0C,EACFH,EAAcI,SAAS3C,QACb4C,IAAVF,IACAF,EAAkBK,KAAK,CAAC7C,EAAK0C,EAAMI,QACnCJ,EAAMK,IAAI/C,EAAIgD,WAAW,SAAW,EAAI,GAC5C,IAGGR,CACX"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-id.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs"],"sourcesContent":["import { camelToDash } from '../../render/dom/utils/camel-to-dash.mjs';\n\nconst optimizedAppearDataId = \"framerAppearId\";\nconst optimizedAppearDataAttribute = \"data-\" + camelToDash(optimizedAppearDataId);\n\nexport { optimizedAppearDataAttribute, optimizedAppearDataId };\n//# sourceMappingURL=data-id.mjs.map\n"],"names":["optimizedAppearDataId","optimizedAppearDataAttribute","camelToDash"],"mappings":"oEAEO,MAAMA,EAAwB,iBAExBC,EACT,+DAAUC,YAAYF"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-appear-id.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs"],"sourcesContent":["import { optimizedAppearDataAttribute } from './data-id.mjs';\n\nfunction getOptimisedAppearId(visualElement) {\n return visualElement.props[optimizedAppearDataAttribute];\n}\n\nexport { getOptimisedAppearId };\n//# sourceMappingURL=get-appear-id.mjs.map\n"],"names":["visualElement","props","optimizedAppearDataAttribute"],"mappings":"mIAGM,SACFA,GAEA,OAAOA,EAAcC,MAAMC,EAAAA,6BAC/B"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.WithPromise=class{constructor(){this.count=0,this.updateFinished()}get finished(){return this._finished}updateFinished(){this.count++,this._finished=new Promise((e=>{this.resolve=e}))}notifyFinished(){this.resolve()}then(e,i){return this.finished.then(e,i)}};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.WithPromise=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise((e=>{this.resolve=e}))}notifyFinished(){this.resolve()}then(e,i){return this.finished.then(e,i)}};
2
2
  //# sourceMappingURL=WithPromise.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"WithPromise.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs"],"sourcesContent":["class WithPromise {\n constructor() {\n this.count = 0;\n this.updateFinished();\n }\n get finished() {\n return this._finished;\n }\n updateFinished() {\n this.count++;\n this._finished = new Promise((resolve) => {\n this.resolve = resolve;\n });\n }\n notifyFinished() {\n this.resolve();\n }\n /**\n * Allows the animation to be awaited.\n *\n * @deprecated Use `finished` instead.\n */\n then(onResolve, onReject) {\n return this.finished.then(onResolve, onReject);\n }\n}\n\nexport { WithPromise };\n"],"names":["constructor","this","count","updateFinished","finished","_finished","Promise","resolve","notifyFinished","then","onResolve","onReject"],"mappings":"wFAAA,MACIA,WAAAA,GACIC,KAAKC,MAAQ,EACbD,KAAKE,gBACT,CACA,YAAIC,GACA,OAAOH,KAAKI,SAChB,CACAF,cAAAA,GACIF,KAAKC,QACLD,KAAKI,UAAY,IAAIC,SAASC,IAC1BN,KAAKM,QAAUA,CAAO,GAE9B,CACAC,cAAAA,GACIP,KAAKM,SACT,CAMAE,IAAAA,CAAKC,EAAWC,GACZ,OAAOV,KAAKG,SAASK,KAAKC,EAAWC,EACzC"}
1
+ {"version":3,"file":"WithPromise.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs"],"sourcesContent":["class WithPromise {\n constructor() {\n this.updateFinished();\n }\n get finished() {\n return this._finished;\n }\n updateFinished() {\n this._finished = new Promise((resolve) => {\n this.resolve = resolve;\n });\n }\n notifyFinished() {\n this.resolve();\n }\n /**\n * Allows the animation to be awaited.\n *\n * @deprecated Use `finished` instead.\n */\n then(onResolve, onReject) {\n return this.finished.then(onResolve, onReject);\n }\n}\n\nexport { WithPromise };\n//# sourceMappingURL=WithPromise.mjs.map\n"],"names":["constructor","this","updateFinished","finished","_finished","Promise","resolve","notifyFinished","then","onResolve","onReject"],"mappings":"8FAKIA,WAAAA,GACIC,KAAKC,gBACT,CAEA,YAAIC,GACA,OAAOF,KAAKG,SAChB,CAEUF,cAAAA,GACND,KAAKG,UAAY,IAAIC,SAAeC,IAChCL,KAAKK,QAAUA,CAAO,GAE9B,CAEUC,cAAAA,GACNN,KAAKK,SACT,CAOAE,IAAAA,CAAKC,EAAyBC,GAC1B,OAAOT,KAAKE,SAASK,KAAKC,EAAWC,EACzC"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.calcChildStagger=function(e,t,o){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;const n=Array.from(e).sort(((e,t)=>e.sortNodePosition(t))).indexOf(t),s=e.size,c=(s-1)*r;return"function"==typeof o?o(n,s):1===i?n*r:c-n*r};
2
+ //# sourceMappingURL=calc-child-stagger.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calc-child-stagger.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs"],"sourcesContent":["function calcChildStagger(children, child, delayChildren, staggerChildren = 0, staggerDirection = 1) {\n const index = Array.from(children)\n .sort((a, b) => a.sortNodePosition(b))\n .indexOf(child);\n const numChildren = children.size;\n const maxStaggerDuration = (numChildren - 1) * staggerChildren;\n const delayIsFunction = typeof delayChildren === \"function\";\n return delayIsFunction\n ? delayChildren(index, numChildren)\n : staggerDirection === 1\n ? index * staggerChildren\n : maxStaggerDuration - index * staggerChildren;\n}\n\nexport { calcChildStagger };\n//# sourceMappingURL=calc-child-stagger.mjs.map\n"],"names":["children","child","delayChildren","staggerChildren","arguments","length","undefined","staggerDirection","index","Array","from","sort","a","b","sortNodePosition","indexOf","numChildren","size","maxStaggerDuration"],"mappings":"6FAGM,SACFA,EACAC,EACAC,GAE4B,IAD5BC,EAAAC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAA0B,EAC1BG,EAAAH,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAA2B,EAE3B,MAAMI,EAAQC,MAAMC,KAAKV,GACpBW,MAAK,CAACC,EAAGC,IAAMD,EAAEE,iBAAiBD,KAClCE,QAAQd,GACPe,EAAchB,EAASiB,KACvBC,GAAsBF,EAAc,GAAKb,EAG/C,MAFiD,mBAAlBD,EAGzBA,EAAcM,EAAOQ,GACA,IAArBT,EACAC,EAAQL,EACRe,EAAqBV,EAAQL,CACvC"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../generators/utils/is-generator.mjs.js"),t=require("./is-animatable.mjs.js"),i=require("../../../../../motion-utils/dist/es/errors.mjs.js");exports.canAnimate=function(r,n,a,s){const o=r[0];if(null===o)return!1;if("display"===n||"visibility"===n)return!0;const l=r[r.length-1],u=t.isAnimatable(o,n),m=t.isAnimatable(l,n);return i.warning(u===m,`You are trying to animate ${n} from "${o}" to "${l}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${l} via the \`style\` property.`),!(!u||!m)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}(r)||("spring"===a||e.isGenerator(a))&&s)};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../generators/utils/is-generator.mjs.js"),t=require("./is-animatable.mjs.js"),r=require("../../../../../motion-utils/dist/es/errors.mjs.js");exports.canAnimate=function(i,n,s,a){const o=i[0];if(null===o)return!1;if("display"===n||"visibility"===n)return!0;const l=i[i.length-1],u=t.isAnimatable(o,n),m=t.isAnimatable(l,n);return r.warning(u===m,`You are trying to animate ${n} from "${o}" to "${l}". "${u?l:o}" is not an animatable value.`,"value-not-animatable"),!(!u||!m)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(i)||("spring"===s||e.isGenerator(s))&&a)};
2
2
  //# sourceMappingURL=can-animate.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"can-animate.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs"],"sourcesContent":["import { warning } from 'motion-utils';\nimport { isGenerator } from '../generators/utils/is-generator.mjs';\nimport { isAnimatable } from './is-animatable.mjs';\n\nfunction hasKeyframesChanged(keyframes) {\n const current = keyframes[0];\n if (keyframes.length === 1)\n return true;\n for (let i = 0; i < keyframes.length; i++) {\n if (keyframes[i] !== current)\n return true;\n }\n}\nfunction canAnimate(keyframes, name, type, velocity) {\n /**\n * Check if we're able to animate between the start and end keyframes,\n * and throw a warning if we're attempting to animate between one that's\n * animatable and another that isn't.\n */\n const originKeyframe = keyframes[0];\n if (originKeyframe === null)\n return false;\n /**\n * These aren't traditionally animatable but we do support them.\n * In future we could look into making this more generic or replacing\n * this function with mix() === mixImmediate\n */\n if (name === \"display\" || name === \"visibility\")\n return true;\n const targetKeyframe = keyframes[keyframes.length - 1];\n const isOriginAnimatable = isAnimatable(originKeyframe, name);\n const isTargetAnimatable = isAnimatable(targetKeyframe, name);\n warning(isOriginAnimatable === isTargetAnimatable, `You are trying to animate ${name} from \"${originKeyframe}\" to \"${targetKeyframe}\". ${originKeyframe} is not an animatable value - to enable this animation set ${originKeyframe} to a value animatable to ${targetKeyframe} via the \\`style\\` property.`);\n // Always skip if any of these are true\n if (!isOriginAnimatable || !isTargetAnimatable) {\n return false;\n }\n return (hasKeyframesChanged(keyframes) ||\n ((type === \"spring\" || isGenerator(type)) && velocity));\n}\n\nexport { canAnimate };\n"],"names":["keyframes","name","type","velocity","originKeyframe","targetKeyframe","length","isOriginAnimatable","isAnimatable","isTargetAnimatable","warning","current","i","hasKeyframesChanged","isGenerator"],"mappings":"mPAaA,SAAoBA,EAAWC,EAAMC,EAAMC,GAMvC,MAAMC,EAAiBJ,EAAU,GACjC,GAAuB,OAAnBI,EACA,OAAO,EAMX,GAAa,YAATH,GAA+B,eAATA,EACtB,OAAO,EACX,MAAMI,EAAiBL,EAAUA,EAAUM,OAAS,GAC9CC,EAAqBC,EAAAA,aAAaJ,EAAgBH,GAClDQ,EAAqBD,EAAAA,aAAaH,EAAgBJ,GAGxD,OAFAS,EAAOA,QAACH,IAAuBE,EAAoB,6BAA6BR,WAAcG,UAAuBC,OAAoBD,+DAA4EA,8BAA2CC,oCAE3PE,IAAuBE,KA9BhC,SAA6BT,GACzB,MAAMW,EAAUX,EAAU,GAC1B,GAAyB,IAArBA,EAAUM,OACV,OAAO,EACX,IAAK,IAAIM,EAAI,EAAGA,EAAIZ,EAAUM,OAAQM,IAClC,GAAIZ,EAAUY,KAAOD,EACjB,OAAO,CAEnB,CAyBYE,CAAoBb,KACb,WAATE,GAAqBY,EAAWA,YAACZ,KAAUC,EACrD"}
1
+ {"version":3,"file":"can-animate.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs"],"sourcesContent":["import { warning } from 'motion-utils';\nimport { isGenerator } from '../generators/utils/is-generator.mjs';\nimport { isAnimatable } from './is-animatable.mjs';\n\nfunction hasKeyframesChanged(keyframes) {\n const current = keyframes[0];\n if (keyframes.length === 1)\n return true;\n for (let i = 0; i < keyframes.length; i++) {\n if (keyframes[i] !== current)\n return true;\n }\n}\nfunction canAnimate(keyframes, name, type, velocity) {\n /**\n * Check if we're able to animate between the start and end keyframes,\n * and throw a warning if we're attempting to animate between one that's\n * animatable and another that isn't.\n */\n const originKeyframe = keyframes[0];\n if (originKeyframe === null) {\n return false;\n }\n /**\n * These aren't traditionally animatable but we do support them.\n * In future we could look into making this more generic or replacing\n * this function with mix() === mixImmediate\n */\n if (name === \"display\" || name === \"visibility\")\n return true;\n const targetKeyframe = keyframes[keyframes.length - 1];\n const isOriginAnimatable = isAnimatable(originKeyframe, name);\n const isTargetAnimatable = isAnimatable(targetKeyframe, name);\n warning(isOriginAnimatable === isTargetAnimatable, `You are trying to animate ${name} from \"${originKeyframe}\" to \"${targetKeyframe}\". \"${isOriginAnimatable ? targetKeyframe : originKeyframe}\" is not an animatable value.`, \"value-not-animatable\");\n // Always skip if any of these are true\n if (!isOriginAnimatable || !isTargetAnimatable) {\n return false;\n }\n return (hasKeyframesChanged(keyframes) ||\n ((type === \"spring\" || isGenerator(type)) && velocity));\n}\n\nexport { canAnimate };\n//# sourceMappingURL=can-animate.mjs.map\n"],"names":["keyframes","name","type","velocity","originKeyframe","targetKeyframe","length","isOriginAnimatable","isAnimatable","isTargetAnimatable","warning","current","i","hasKeyframesChanged","isGenerator"],"mappings":"mPAcM,SACFA,EACAC,EACAC,EACAC,GAOA,MAAMC,EAAiBJ,EAAU,GACjC,GAAuB,OAAnBI,EACA,OAAO,EAQX,GAAa,YAATH,GAA+B,eAATA,EAAuB,OAAO,EAExD,MAAMI,EAAiBL,EAAUA,EAAUM,OAAS,GAC9CC,EAAqBC,EAAAA,aAAaJ,EAAgBH,GAClDQ,EAAqBD,EAAAA,aAAaH,EAAgBJ,GAWxD,OATAS,EAAOA,QACHH,IAAuBE,EACvB,6BAA6BR,WAAcG,UAAuBC,QAC9DE,EAAqBF,EAAiBD,iCAE1C,2BAICG,IAAuBE,KA5ChC,SAA6BT,GACzB,MAAMW,EAAUX,EAAU,GAC1B,GAAyB,IAArBA,EAAUM,OAAc,OAAO,EACnC,IAAK,IAAIM,EAAI,EAAGA,EAAIZ,EAAUM,OAAQM,IAClC,GAAIZ,EAAUY,KAAOD,EAAS,OAAO,CAE7C,CA2CQE,CAAoBb,KACT,WAATE,GAAqBY,EAAWA,YAACZ,KAAUC,EAErD"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./is-css-variable.mjs.js"),r=require("../../../../../motion-utils/dist/es/errors.mjs.js"),t=require("../../../../../motion-utils/dist/es/is-numerical-string.mjs.js");const i=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function s(e){const r=i.exec(e);if(!r)return[,];const[,t,s,a]=r;return[`--${t??s}`,a]}exports.getVariableValue=function i(a,n){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;r.invariant(o<=4,`Max CSS variable fallback depth detected in property "${a}". This may indicate a circular fallback dependency.`);const[l,u]=s(a);if(!l)return;const c=window.getComputedStyle(n).getPropertyValue(l);if(c){const e=c.trim();return t.isNumericalString(e)?parseFloat(e):e}return e.isCSSVariableToken(u)?i(u,n,o+1):u},exports.parseCSSVariable=s;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./is-css-variable.mjs.js"),r=require("../../../../../motion-utils/dist/es/errors.mjs.js"),t=require("../../../../../motion-utils/dist/es/is-numerical-string.mjs.js");const i=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function s(e){const r=i.exec(e);if(!r)return[,];const[,t,s,a]=r;return[`--${t??s}`,a]}exports.getVariableValue=function i(a,n){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;r.invariant(o<=4,`Max CSS variable fallback depth detected in property "${a}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[c,l]=s(a);if(!c)return;const u=window.getComputedStyle(n).getPropertyValue(c);if(u){const e=u.trim();return t.isNumericalString(e)?parseFloat(e):e}return e.isCSSVariableToken(l)?i(l,n,o+1):l},exports.parseCSSVariable=s;
2
2
  //# sourceMappingURL=css-variables-conversion.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"css-variables-conversion.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs"],"sourcesContent":["import { invariant, isNumericalString } from 'motion-utils';\nimport { isCSSVariableToken } from './is-css-variable.mjs';\n\n/**\n * Parse Framer's special CSS variable format into a CSS token and a fallback.\n *\n * ```\n * `var(--foo, #fff)` => [`--foo`, '#fff']\n * ```\n *\n * @param current\n */\nconst splitCSSVariableRegex = \n// eslint-disable-next-line redos-detector/no-unsafe-regex -- false positive, as it can match a lot of words\n/^var\\(--(?:([\\w-]+)|([\\w-]+), ?([a-zA-Z\\d ()%#.,-]+))\\)/u;\nfunction parseCSSVariable(current) {\n const match = splitCSSVariableRegex.exec(current);\n if (!match)\n return [,];\n const [, token1, token2, fallback] = match;\n return [`--${token1 ?? token2}`, fallback];\n}\nconst maxDepth = 4;\nfunction getVariableValue(current, element, depth = 1) {\n invariant(depth <= maxDepth, `Max CSS variable fallback depth detected in property \"${current}\". This may indicate a circular fallback dependency.`);\n const [token, fallback] = parseCSSVariable(current);\n // No CSS variable detected\n if (!token)\n return;\n // Attempt to read this CSS variable off the element\n const resolved = window.getComputedStyle(element).getPropertyValue(token);\n if (resolved) {\n const trimmed = resolved.trim();\n return isNumericalString(trimmed) ? parseFloat(trimmed) : trimmed;\n }\n return isCSSVariableToken(fallback)\n ? getVariableValue(fallback, element, depth + 1)\n : fallback;\n}\n\nexport { getVariableValue, parseCSSVariable };\n"],"names":["splitCSSVariableRegex","parseCSSVariable","current","match","exec","token1","token2","fallback","getVariableValue","element","depth","arguments","length","undefined","invariant","token","resolved","window","getComputedStyle","getPropertyValue","trimmed","trim","isNumericalString","parseFloat","isCSSVariableToken"],"mappings":"yPAYA,MAAMA,EAEN,2DACA,SAASC,EAAiBC,GACtB,MAAMC,EAAQH,EAAsBI,KAAKF,GACzC,IAAKC,EACD,MAAO,IACX,MAASE,CAAAA,EAAQC,EAAQC,GAAYJ,EACrC,MAAO,CAAC,KAAKE,GAAUC,IAAUC,EACrC,0BAEA,SAASC,EAAiBN,EAASO,GAAoB,IAAXC,EAAKC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,EAChDG,EAASA,UAACJ,GAFG,EAEgB,yDAAyDR,yDACtF,MAAOa,EAAOR,GAAYN,EAAiBC,GAE3C,IAAKa,EACD,OAEJ,MAAMC,EAAWC,OAAOC,iBAAiBT,GAASU,iBAAiBJ,GACnE,GAAIC,EAAU,CACV,MAAMI,EAAUJ,EAASK,OACzB,OAAOC,EAAAA,kBAAkBF,GAAWG,WAAWH,GAAWA,CAC9D,CACA,OAAOI,EAAkBA,mBAACjB,GACpBC,EAAiBD,EAAUE,EAASC,EAAQ,GAC5CH,CACV"}
1
+ {"version":3,"file":"css-variables-conversion.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs"],"sourcesContent":["import { invariant, isNumericalString } from 'motion-utils';\nimport { isCSSVariableToken } from './is-css-variable.mjs';\n\n/**\n * Parse Framer's special CSS variable format into a CSS token and a fallback.\n *\n * ```\n * `var(--foo, #fff)` => [`--foo`, '#fff']\n * ```\n *\n * @param current\n */\nconst splitCSSVariableRegex = \n// eslint-disable-next-line redos-detector/no-unsafe-regex -- false positive, as it can match a lot of words\n/^var\\(--(?:([\\w-]+)|([\\w-]+), ?([a-zA-Z\\d ()%#.,-]+))\\)/u;\nfunction parseCSSVariable(current) {\n const match = splitCSSVariableRegex.exec(current);\n if (!match)\n return [,];\n const [, token1, token2, fallback] = match;\n return [`--${token1 ?? token2}`, fallback];\n}\nconst maxDepth = 4;\nfunction getVariableValue(current, element, depth = 1) {\n invariant(depth <= maxDepth, `Max CSS variable fallback depth detected in property \"${current}\". This may indicate a circular fallback dependency.`, \"max-css-var-depth\");\n const [token, fallback] = parseCSSVariable(current);\n // No CSS variable detected\n if (!token)\n return;\n // Attempt to read this CSS variable off the element\n const resolved = window.getComputedStyle(element).getPropertyValue(token);\n if (resolved) {\n const trimmed = resolved.trim();\n return isNumericalString(trimmed) ? parseFloat(trimmed) : trimmed;\n }\n return isCSSVariableToken(fallback)\n ? getVariableValue(fallback, element, depth + 1)\n : fallback;\n}\n\nexport { getVariableValue, parseCSSVariable };\n//# sourceMappingURL=css-variables-conversion.mjs.map\n"],"names":["splitCSSVariableRegex","parseCSSVariable","current","match","exec","token1","token2","fallback","getVariableValue","element","depth","arguments","length","undefined","invariant","token","resolved","window","getComputedStyle","getPropertyValue","trimmed","trim","isNumericalString","parseFloat","isCSSVariableToken"],"mappings":"yPAcA,MAAMA,EAEF,2DACE,SAAUC,EAAiBC,GAC7B,MAAMC,EAAQH,EAAsBI,KAAKF,GACzC,IAAKC,EAAO,MAAO,IAEnB,MAASE,CAAAA,EAAQC,EAAQC,GAAYJ,EACrC,MAAO,CAAC,KAAKE,GAAUC,IAAUC,EACrC,0BAGM,SAAUC,EACZN,EACAO,GACS,IAATC,EAAKC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,EAERG,YACIJ,GAPS,EAQT,yDAAyDR,wDACzD,qBAGJ,MAAOa,EAAOR,GAAYN,EAAiBC,GAG3C,IAAKa,EAAO,OAGZ,MAAMC,EAAWC,OAAOC,iBAAiBT,GAASU,iBAAiBJ,GAEnE,GAAIC,EAAU,CACV,MAAMI,EAAUJ,EAASK,OACzB,OAAOC,EAAAA,kBAAkBF,GAAWG,WAAWH,GAAWA,CAC9D,CAEA,OAAOI,EAAkBA,mBAACjB,GACpBC,EAAiBD,EAAUE,EAASC,EAAQ,GAC5CH,CACV"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../render/utils/keys-transform.mjs.js");const s={type:"spring",stiffness:500,damping:25,restSpeed:10},t={type:"keyframes",duration:.8},r={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};exports.getDefaultTransition=(a,n)=>{let{keyframes:i}=n;return i.length>2?t:e.transformProps.has(a)?a.startsWith("scale")?{type:"spring",stiffness:550,damping:0===i[1]?2*Math.sqrt(550):30,restSpeed:10}:s:r};
2
+ //# sourceMappingURL=default-transitions.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default-transitions.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs"],"sourcesContent":["import { transformProps } from '../../render/utils/keys-transform.mjs';\n\nconst underDampedSpring = {\n type: \"spring\",\n stiffness: 500,\n damping: 25,\n restSpeed: 10,\n};\nconst criticallyDampedSpring = (target) => ({\n type: \"spring\",\n stiffness: 550,\n damping: target === 0 ? 2 * Math.sqrt(550) : 30,\n restSpeed: 10,\n});\nconst keyframesTransition = {\n type: \"keyframes\",\n duration: 0.8,\n};\n/**\n * Default easing curve is a slightly shallower version of\n * the default browser easing curve.\n */\nconst ease = {\n type: \"keyframes\",\n ease: [0.25, 0.1, 0.35, 1],\n duration: 0.3,\n};\nconst getDefaultTransition = (valueKey, { keyframes }) => {\n if (keyframes.length > 2) {\n return keyframesTransition;\n }\n else if (transformProps.has(valueKey)) {\n return valueKey.startsWith(\"scale\")\n ? criticallyDampedSpring(keyframes[1])\n : underDampedSpring;\n }\n return ease;\n};\n\nexport { getDefaultTransition };\n//# sourceMappingURL=default-transitions.mjs.map\n"],"names":["underDampedSpring","type","stiffness","damping","restSpeed","keyframesTransition","duration","ease","getDefaultTransition","valueKey","_ref","keyframes","length","transformProps","has","startsWith","Math","sqrt"],"mappings":"8HAGA,MAAMA,EAAoD,CACtDC,KAAM,SACNC,UAAW,IACXC,QAAS,GACTC,UAAW,IAYTC,EAAsD,CACxDJ,KAAM,YACNK,SAAU,IAORC,EAAuC,CACzCN,KAAM,YACNM,KAAM,CAAC,IAAM,GAAK,IAAM,GACxBD,SAAU,iCAGsBE,CAChCC,EAAgBC,KAEgB,IADhCC,UAAEA,GAAkCD,EAEpC,OAAIC,EAAUC,OAAS,EACZP,EACAQ,EAAcA,eAACC,IAAIL,GACnBA,EAASM,WAAW,SA7BG,CAClCd,KAAM,SACNC,UAAW,IACXC,QAAoB,IA2BaQ,EAAU,GA3BnB,EAAIK,KAAKC,KAAK,KAAO,GAC7Cb,UAAW,IA2BDJ,EAGHO,CAAI"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getValueTransition=function(e,t){return e?.[t]??e?.default??e};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./resolve-transition.mjs.js");exports.getValueTransition=function(r,t){const s=r?.[t]??r?.default??r;return s!==r?e.resolveTransition(s,r):s};
2
2
  //# sourceMappingURL=get-value-transition.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-value-transition.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs"],"sourcesContent":["function getValueTransition(transition, key) {\n return (transition?.[key] ??\n transition?.[\"default\"] ??\n transition);\n}\n\nexport { getValueTransition };\n"],"names":["transition","key"],"mappings":"+FAAA,SAA4BA,EAAYC,GACpC,OAAQD,IAAaC,IACjBD,GAAsB,SACtBA,CACR"}
1
+ {"version":3,"file":"get-value-transition.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs"],"sourcesContent":["import { resolveTransition } from './resolve-transition.mjs';\n\nfunction getValueTransition(transition, key) {\n const valueTransition = transition?.[key] ??\n transition?.[\"default\"] ??\n transition;\n if (valueTransition !== transition) {\n return resolveTransition(valueTransition, transition);\n }\n return valueTransition;\n}\n\nexport { getValueTransition };\n//# sourceMappingURL=get-value-transition.mjs.map\n"],"names":["transition","key","valueTransition","resolveTransition"],"mappings":"4IAEM,SAA6BA,EAAiBC,GAChD,MAAMC,EACFF,IAAaC,IACbD,GAAsB,SACtBA,EAEJ,OAAIE,IAAoBF,EACbG,EAAiBA,kBAACD,EAAiBF,GAGvCE,CACX"}
@@ -1 +1 @@
1
- {"version":3,"file":"is-animatable.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/is-animatable.mjs"],"sourcesContent":["import { complex } from '../../value/types/complex/index.mjs';\n\n/**\n * Check if a value is animatable. Examples:\n *\n * ✅: 100, \"100px\", \"#fff\"\n * ❌: \"block\", \"url(2.jpg)\"\n * @param value\n *\n * @internal\n */\nconst isAnimatable = (value, name) => {\n // If the list of keys tat might be non-animatable grows, replace with Set\n if (name === \"zIndex\")\n return false;\n // If it's a number or a keyframes array, we can animate it. We might at some point\n // need to do a deep isAnimatable check of keyframes, or let Popmotion handle this,\n // but for now lets leave it like this for performance reasons\n if (typeof value === \"number\" || Array.isArray(value))\n return true;\n if (typeof value === \"string\" && // It's animatable if we have a string\n (complex.test(value) || value === \"0\") && // And it contains numbers and/or colors\n !value.startsWith(\"url(\") // Unless it starts with \"url(\"\n ) {\n return true;\n }\n return false;\n};\n\nexport { isAnimatable };\n"],"names":["isAnimatable","value","name","Array","isArray","complex","test","startsWith"],"mappings":"iJAWqBA,CAACC,EAAOC,IAEZ,WAATA,MAKiB,iBAAVD,IAAsBE,MAAMC,QAAQH,OAE1B,iBAAVA,IACNI,EAAAA,QAAQC,KAAKL,IAAoB,MAAVA,GACvBA,EAAMM,WAAW"}
1
+ {"version":3,"file":"is-animatable.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/is-animatable.mjs"],"sourcesContent":["import { complex } from '../../value/types/complex/index.mjs';\n\n/**\n * Check if a value is animatable. Examples:\n *\n * ✅: 100, \"100px\", \"#fff\"\n * ❌: \"block\", \"url(2.jpg)\"\n * @param value\n *\n * @internal\n */\nconst isAnimatable = (value, name) => {\n // If the list of keys that might be non-animatable grows, replace with Set\n if (name === \"zIndex\")\n return false;\n // If it's a number or a keyframes array, we can animate it. We might at some point\n // need to do a deep isAnimatable check of keyframes, or let Popmotion handle this,\n // but for now lets leave it like this for performance reasons\n if (typeof value === \"number\" || Array.isArray(value))\n return true;\n if (typeof value === \"string\" && // It's animatable if we have a string\n (complex.test(value) || value === \"0\") && // And it contains numbers and/or colors\n !value.startsWith(\"url(\") // Unless it starts with \"url(\"\n ) {\n return true;\n }\n return false;\n};\n\nexport { isAnimatable };\n//# sourceMappingURL=is-animatable.mjs.map\n"],"names":["isAnimatable","value","name","Array","isArray","complex","test","startsWith"],"mappings":"iJAY4BA,CACxBC,EACAC,IAGa,WAATA,MAKiB,iBAAVD,IAAsBE,MAAMC,QAAQH,OAG1B,iBAAVA,IACNI,EAAAA,QAAQC,KAAKL,IAAoB,MAAVA,GACvBA,EAAMM,WAAW"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const s=s=>e=>"string"==typeof e&&e.startsWith(s),e=s("--"),t=s("var(--"),r=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;exports.isCSSVariableName=e,exports.isCSSVariableToken=s=>!!t(s)&&r.test(s.split("/*")[0].trim());
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const s=s=>t=>"string"==typeof t&&t.startsWith(s),t=s("--"),e=s("var(--"),r=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;exports.containsCSSVariable=function(s){return"string"==typeof s&&s.split("/*")[0].includes("var(--")},exports.isCSSVariableName=t,exports.isCSSVariableToken=s=>!!e(s)&&r.test(s.split("/*")[0].trim());
2
2
  //# sourceMappingURL=is-css-variable.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"is-css-variable.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs"],"sourcesContent":["const checkStringStartsWith = (token) => (key) => typeof key === \"string\" && key.startsWith(token);\nconst isCSSVariableName = \n/*@__PURE__*/ checkStringStartsWith(\"--\");\nconst startsAsVariableToken = \n/*@__PURE__*/ checkStringStartsWith(\"var(--\");\nconst isCSSVariableToken = (value) => {\n const startsWithToken = startsAsVariableToken(value);\n if (!startsWithToken)\n return false;\n // Ensure any comments are stripped from the value as this can harm performance of the regex.\n return singleCssVariableRegex.test(value.split(\"/*\")[0].trim());\n};\nconst singleCssVariableRegex = /var\\(--(?:[\\w-]+\\s*|[\\w-]+\\s*,(?:\\s*[^)(\\s]|\\s*\\((?:[^)(]|\\([^)(]*\\))*\\))+\\s*)\\)$/iu;\n\nexport { isCSSVariableName, isCSSVariableToken };\n"],"names":["checkStringStartsWith","token","key","startsWith","isCSSVariableName","startsAsVariableToken","singleCssVariableRegex","value","test","split","trim"],"mappings":"oEAAA,MAAMA,EAAyBC,GAAWC,GAAuB,iBAARA,GAAoBA,EAAIC,WAAWF,GACtFG,EACQJ,EAAsB,MAC9BK,EACQL,EAAsB,UAQ9BM,EAAyB,6IAPHC,KACAF,EAAsBE,IAIvCD,EAAuBE,KAAKD,EAAME,MAAM,MAAM,GAAGC"}
1
+ {"version":3,"file":"is-css-variable.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs"],"sourcesContent":["const checkStringStartsWith = (token) => (key) => typeof key === \"string\" && key.startsWith(token);\nconst isCSSVariableName = \n/*@__PURE__*/ checkStringStartsWith(\"--\");\nconst startsAsVariableToken = \n/*@__PURE__*/ checkStringStartsWith(\"var(--\");\nconst isCSSVariableToken = (value) => {\n const startsWithToken = startsAsVariableToken(value);\n if (!startsWithToken)\n return false;\n // Ensure any comments are stripped from the value as this can harm performance of the regex.\n return singleCssVariableRegex.test(value.split(\"/*\")[0].trim());\n};\nconst singleCssVariableRegex = /var\\(--(?:[\\w-]+\\s*|[\\w-]+\\s*,(?:\\s*[^)(\\s]|\\s*\\((?:[^)(]|\\([^)(]*\\))*\\))+\\s*)\\)$/iu;\n/**\n * Check if a value contains a CSS variable anywhere (e.g. inside calc()).\n * Unlike isCSSVariableToken which checks if the value IS a var() token,\n * this checks if the value CONTAINS var() somewhere in the string.\n */\nfunction containsCSSVariable(value) {\n if (typeof value !== \"string\")\n return false;\n // Strip comments to avoid false positives\n return value.split(\"/*\")[0].includes(\"var(--\");\n}\n\nexport { containsCSSVariable, isCSSVariableName, isCSSVariableToken };\n//# sourceMappingURL=is-css-variable.mjs.map\n"],"names":["checkStringStartsWith","token","key","startsWith","isCSSVariableName","startsAsVariableToken","singleCssVariableRegex","value","split","includes","test","trim"],"mappings":"oEAMA,MAAMA,EACiBC,GAClBC,GACkB,iBAARA,GAAoBA,EAAIC,WAAWF,GAErCG,EACKJ,EAAuC,MAEnDK,EACYL,EAAwC,UAYpDM,EACF,kHAOE,SACFC,GAEA,MAAqB,iBAAVA,GAEJA,EAAMC,MAAM,MAAM,GAAGC,SAAS,SACzC,yDAxBIF,KAEwBF,EAAsBE,IAKvCD,EAAuBI,KAAKH,EAAMC,MAAM,MAAM,GAAGG"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);exports.isTransitionDefined=function(r){for(const t in r)if(!e.has(t))return!0;return!1};
2
+ //# sourceMappingURL=is-transition-defined.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-transition-defined.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.mjs"],"sourcesContent":["const orchestrationKeys = new Set([\n \"when\",\n \"delay\",\n \"delayChildren\",\n \"staggerChildren\",\n \"staggerDirection\",\n \"repeat\",\n \"repeatType\",\n \"repeatDelay\",\n \"from\",\n \"elapsed\",\n]);\n/**\n * Decide whether a transition is defined on a given Transition.\n * This filters out orchestration options and returns true\n * if any options are left.\n */\nfunction isTransitionDefined(transition) {\n for (const key in transition) {\n if (!orchestrationKeys.has(key))\n return true;\n }\n return false;\n}\n\nexport { isTransitionDefined };\n//# sourceMappingURL=is-transition-defined.mjs.map\n"],"names":["orchestrationKeys","Set","transition","key","has"],"mappings":"oEAGA,MAAMA,EAAoB,IAAIC,IAAI,CAC9B,OACA,QACA,gBACA,kBACA,mBACA,SACA,aACA,cACA,OACA,wCAQE,SACFC,GAEA,IAAK,MAAMC,KAAOD,EACd,IAAKF,EAAkBI,IAAID,GAAM,OAAO,EAE5C,OAAO,CACX"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.makeAnimationInstant=function(e){e.duration=0,e.type="keyframes"};
2
+ //# sourceMappingURL=make-animation-instant.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"make-animation-instant.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs"],"sourcesContent":["function makeAnimationInstant(options) {\n options.duration = 0;\n options.type = \"keyframes\";\n}\n\nexport { makeAnimationInstant };\n//# sourceMappingURL=make-animation-instant.mjs.map\n"],"names":["options","duration","type"],"mappings":"iGAEM,SACFA,GAKAA,EAAQC,SAAW,EACnBD,EAAQE,KAAO,WACnB"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../generators/inertia.mjs.js"),r=require("../generators/keyframes.mjs.js"),s=require("../generators/spring/index.mjs.js");const t={decay:e.inertia,inertia:e.inertia,tween:r.keyframes,keyframes:r.keyframes,spring:s.spring};exports.replaceTransitionType=function(e){"string"==typeof e.type&&(e.type=t[e.type])};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../generators/inertia.mjs.js"),r=require("../generators/keyframes.mjs.js"),s=require("../generators/spring.mjs.js");const t={decay:e.inertia,inertia:e.inertia,tween:r.keyframes,keyframes:r.keyframes,spring:s.spring};exports.replaceTransitionType=function(e){"string"==typeof e.type&&(e.type=t[e.type])};
2
2
  //# sourceMappingURL=replace-transition-type.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"replace-transition-type.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs"],"sourcesContent":["import { inertia } from '../generators/inertia.mjs';\nimport { keyframes } from '../generators/keyframes.mjs';\nimport { spring } from '../generators/spring/index.mjs';\n\nconst transitionTypeMap = {\n decay: inertia,\n inertia,\n tween: keyframes,\n keyframes: keyframes,\n spring,\n};\nfunction replaceTransitionType(transition) {\n if (typeof transition.type === \"string\") {\n transition.type = transitionTypeMap[transition.type];\n }\n}\n\nexport { replaceTransitionType };\n"],"names":["transitionTypeMap","decay","inertia","tween","keyframes","spring","transition","type"],"mappings":"6MAIA,MAAMA,EAAoB,CACtBC,MAAOC,EAAOA,gBACdA,EAAOA,QACPC,MAAOC,EAASA,UAChBA,UAAWA,EAASA,UACpBC,OAAAA,EAAAA,sCAEJ,SAA+BC,GACI,iBAApBA,EAAWC,OAClBD,EAAWC,KAAOP,EAAkBM,EAAWC,MAEvD"}
1
+ {"version":3,"file":"replace-transition-type.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs"],"sourcesContent":["import { inertia } from '../generators/inertia.mjs';\nimport { keyframes } from '../generators/keyframes.mjs';\nimport { spring } from '../generators/spring.mjs';\n\nconst transitionTypeMap = {\n decay: inertia,\n inertia,\n tween: keyframes,\n keyframes: keyframes,\n spring,\n};\nfunction replaceTransitionType(transition) {\n if (typeof transition.type === \"string\") {\n transition.type = transitionTypeMap[transition.type];\n }\n}\n\nexport { replaceTransitionType };\n//# sourceMappingURL=replace-transition-type.mjs.map\n"],"names":["transitionTypeMap","decay","inertia","tween","keyframes","spring","transition","type"],"mappings":"uMAKA,MAAMA,EAAyD,CAC3DC,MAAOC,EAAOA,gBACdA,EAAOA,QACPC,MAAOC,EAASA,UAChBA,UAAWA,EAASA,UACpBC,OAAAA,EAAAA,sCAGE,SAAgCC,GACH,iBAApBA,EAAWC,OAClBD,EAAWC,KAAOP,EAAkBM,EAAWC,MAEvD"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.resolveTransition=function(e,r){if(e?.inherit&&r){const{inherit:t,...i}=e;return{...r,...i}}return e};
2
+ //# sourceMappingURL=resolve-transition.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-transition.mjs.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs"],"sourcesContent":["/**\n * If `transition` has `inherit: true`, shallow-merge it with\n * `parentTransition` (child keys win) and strip the `inherit` key.\n * Otherwise return `transition` unchanged.\n */\nfunction resolveTransition(transition, parentTransition) {\n if (transition?.inherit && parentTransition) {\n const { inherit: _, ...rest } = transition;\n return { ...parentTransition, ...rest };\n }\n return transition;\n}\n\nexport { resolveTransition };\n//# sourceMappingURL=resolve-transition.mjs.map\n"],"names":["transition","parentTransition","inherit","_","rest"],"mappings":"8FAKM,SACFA,EACAC,GAEA,GAAID,GAAYE,SAAWD,EAAkB,CACzC,MAAQC,QAASC,KAAMC,GAASJ,EAChC,MAAO,IAAKC,KAAqBG,EACrC,CAEA,OAAOJ,CACX"}
@@ -1 +1 @@
1
- {"version":3,"file":"cubic-bezier.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs"],"sourcesContent":["const cubicBezierAsString = ([a, b, c, d]) => `cubic-bezier(${a}, ${b}, ${c}, ${d})`;\n\nexport { cubicBezierAsString };\n"],"names":["_ref","a","b","c","d"],"mappings":"gGAA4BA,IAAA,IAAEC,EAAGC,EAAGC,EAAGC,GAAEJ,EAAA,MAAK,gBAAgBC,MAAMC,MAAMC,MAAMC,IAAI"}
1
+ {"version":3,"file":"cubic-bezier.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs"],"sourcesContent":["const cubicBezierAsString = ([a, b, c, d]) => `cubic-bezier(${a}, ${b}, ${c}, ${d})`;\n\nexport { cubicBezierAsString };\n//# sourceMappingURL=cubic-bezier.mjs.map\n"],"names":["_ref","a","b","c","d"],"mappings":"gGAEmCA,IAAA,IAAEC,EAAGC,EAAGC,EAAGC,GAAoBJ,EAAA,MAC9D,gBAAgBC,MAAMC,MAAMC,MAAMC,IAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"map-easing.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs"],"sourcesContent":["import { isBezierDefinition } from 'motion-utils';\nimport { supportsLinearEasing } from '../../../utils/supports/linear-easing.mjs';\nimport { generateLinearEasing } from '../utils/linear.mjs';\nimport { cubicBezierAsString } from './cubic-bezier.mjs';\nimport { supportedWaapiEasing } from './supported.mjs';\n\nfunction mapEasingToNativeEasing(easing, duration) {\n if (!easing) {\n return undefined;\n }\n else if (typeof easing === \"function\") {\n return supportsLinearEasing()\n ? generateLinearEasing(easing, duration)\n : \"ease-out\";\n }\n else if (isBezierDefinition(easing)) {\n return cubicBezierAsString(easing);\n }\n else if (Array.isArray(easing)) {\n return easing.map((segmentEasing) => mapEasingToNativeEasing(segmentEasing, duration) ||\n supportedWaapiEasing.easeOut);\n }\n else {\n return supportedWaapiEasing[easing];\n }\n}\n\nexport { mapEasingToNativeEasing };\n"],"names":["mapEasingToNativeEasing","easing","duration","supportsLinearEasing","generateLinearEasing","isBezierDefinition","cubicBezierAsString","Array","isArray","map","segmentEasing","supportedWaapiEasing","easeOut"],"mappings":"sWAMA,SAASA,EAAwBC,EAAQC,GACrC,OAAKD,EAGsB,mBAAXA,EACLE,EAAAA,uBACDC,EAAoBA,qBAACH,EAAQC,GAC7B,WAEDG,EAAAA,mBAAmBJ,GACjBK,EAAAA,oBAAoBL,GAEtBM,MAAMC,QAAQP,GACZA,EAAOQ,KAAKC,GAAkBV,EAAwBU,EAAeR,IACxES,uBAAqBC,UAGlBD,EAAAA,qBAAqBV,QAf5B,CAiBR"}
1
+ {"version":3,"file":"map-easing.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs"],"sourcesContent":["import { isBezierDefinition } from 'motion-utils';\nimport { supportsLinearEasing } from '../../../utils/supports/linear-easing.mjs';\nimport { generateLinearEasing } from '../utils/linear.mjs';\nimport { cubicBezierAsString } from './cubic-bezier.mjs';\nimport { supportedWaapiEasing } from './supported.mjs';\n\nfunction mapEasingToNativeEasing(easing, duration) {\n if (!easing) {\n return undefined;\n }\n else if (typeof easing === \"function\") {\n return supportsLinearEasing()\n ? generateLinearEasing(easing, duration)\n : \"ease-out\";\n }\n else if (isBezierDefinition(easing)) {\n return cubicBezierAsString(easing);\n }\n else if (Array.isArray(easing)) {\n return easing.map((segmentEasing) => mapEasingToNativeEasing(segmentEasing, duration) ||\n supportedWaapiEasing.easeOut);\n }\n else {\n return supportedWaapiEasing[easing];\n }\n}\n\nexport { mapEasingToNativeEasing };\n//# sourceMappingURL=map-easing.mjs.map\n"],"names":["mapEasingToNativeEasing","easing","duration","supportsLinearEasing","generateLinearEasing","isBezierDefinition","cubicBezierAsString","Array","isArray","map","segmentEasing","supportedWaapiEasing","easeOut"],"mappings":"sWAMM,SAAUA,EACZC,EACAC,GAEA,OAAKD,EAEwB,mBAAXA,EACPE,EAAAA,uBACDC,EAAoBA,qBAACH,EAAQC,GAC7B,WACCG,EAAAA,mBAAmBJ,GACnBK,EAAAA,oBAAoBL,GACpBM,MAAMC,QAAQP,GACdA,EAAOQ,KACTC,GACIV,EAAwBU,EAAeR,IACxCS,uBAAqBC,UAGtBD,EAAAA,qBAAqBV,QAd5B,CAgBR"}
@@ -1 +1 @@
1
- {"version":3,"file":"supported.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/waapi/easing/supported.mjs"],"sourcesContent":["import { cubicBezierAsString } from './cubic-bezier.mjs';\n\nconst supportedWaapiEasing = {\n linear: \"linear\",\n ease: \"ease\",\n easeIn: \"ease-in\",\n easeOut: \"ease-out\",\n easeInOut: \"ease-in-out\",\n circIn: /*@__PURE__*/ cubicBezierAsString([0, 0.65, 0.55, 1]),\n circOut: /*@__PURE__*/ cubicBezierAsString([0.55, 0, 1, 0.45]),\n backIn: /*@__PURE__*/ cubicBezierAsString([0.31, 0.01, 0.66, -0.59]),\n backOut: /*@__PURE__*/ cubicBezierAsString([0.33, 1.53, 0.69, 0.99]),\n};\n\nexport { supportedWaapiEasing };\n"],"names":["supportedWaapiEasing","linear","ease","easeIn","easeOut","easeInOut","circIn","cubicBezierAsString","circOut","backIn","backOut"],"mappings":"2GAEA,MAAMA,EAAuB,CACzBC,OAAQ,SACRC,KAAM,OACNC,OAAQ,UACRC,QAAS,WACTC,UAAW,cACXC,OAAsBC,EAAmBA,oBAAC,CAAC,EAAG,IAAM,IAAM,IAC1DC,QAAuBD,EAAmBA,oBAAC,CAAC,IAAM,EAAG,EAAG,MACxDE,OAAsBF,EAAmBA,oBAAC,CAAC,IAAM,IAAM,KAAO,MAC9DG,QAAuBH,EAAmBA,oBAAC,CAAC,IAAM,KAAM,IAAM"}
1
+ {"version":3,"file":"supported.mjs.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/animation/waapi/easing/supported.mjs"],"sourcesContent":["import { cubicBezierAsString } from './cubic-bezier.mjs';\n\nconst supportedWaapiEasing = {\n linear: \"linear\",\n ease: \"ease\",\n easeIn: \"ease-in\",\n easeOut: \"ease-out\",\n easeInOut: \"ease-in-out\",\n circIn: /*@__PURE__*/ cubicBezierAsString([0, 0.65, 0.55, 1]),\n circOut: /*@__PURE__*/ cubicBezierAsString([0.55, 0, 1, 0.45]),\n backIn: /*@__PURE__*/ cubicBezierAsString([0.31, 0.01, 0.66, -0.59]),\n backOut: /*@__PURE__*/ cubicBezierAsString([0.33, 1.53, 0.69, 0.99]),\n};\n\nexport { supportedWaapiEasing };\n//# sourceMappingURL=supported.mjs.map\n"],"names":["supportedWaapiEasing","linear","ease","easeIn","easeOut","easeInOut","circIn","cubicBezierAsString","circOut","backIn","backOut"],"mappings":"2GAEO,MAAMA,EAAuB,CAChCC,OAAQ,SACRC,KAAM,OACNC,OAAQ,UACRC,QAAS,WACTC,UAAW,cACXC,OAAsBC,EAAmBA,oBAAC,CAAC,EAAG,IAAM,IAAM,IAC1DC,QAAuBD,EAAmBA,oBAAC,CAAC,IAAM,EAAG,EAAG,MACxDE,OAAsBF,EAAmBA,oBAAC,CAAC,IAAM,IAAM,KAAW,MAClEG,QAAuBH,EAAmBA,oBAAC,CAAC,IAAM,KAAM,IAAM"}