@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
@@ -1 +1 @@
1
- {"version":3,"file":"use-visual-state.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs"],"sourcesContent":["import { useContext } from 'react';\nimport { isAnimationControls } from '../../animation/utils/is-animation-controls.mjs';\nimport { MotionContext } from '../../context/MotionContext/index.mjs';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\nimport { isControllingVariants, isVariantNode } from '../../render/utils/is-controlling-variants.mjs';\nimport { resolveVariantFromProps } from '../../render/utils/resolve-variants.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\nimport { resolveMotionValue } from '../../value/utils/resolve-motion-value.mjs';\n\nfunction makeState({ scrapeMotionValuesFromProps, createRenderState, }, props, context, presenceContext) {\n const state = {\n latestValues: makeLatestValues(props, context, presenceContext, scrapeMotionValuesFromProps),\n renderState: createRenderState(),\n };\n return state;\n}\nconst makeUseVisualState = (config) => (props, isStatic) => {\n const context = useContext(MotionContext);\n const presenceContext = useContext(PresenceContext);\n const make = () => makeState(config, props, context, presenceContext);\n return isStatic ? make() : useConstant(make);\n};\nfunction makeLatestValues(props, context, presenceContext, scrapeMotionValues) {\n const values = {};\n const motionValues = scrapeMotionValues(props, {});\n for (const key in motionValues) {\n values[key] = resolveMotionValue(motionValues[key]);\n }\n let { initial, animate } = props;\n const isControllingVariants$1 = isControllingVariants(props);\n const isVariantNode$1 = isVariantNode(props);\n if (context &&\n isVariantNode$1 &&\n !isControllingVariants$1 &&\n props.inherit !== false) {\n if (initial === undefined)\n initial = context.initial;\n if (animate === undefined)\n animate = context.animate;\n }\n let isInitialAnimationBlocked = presenceContext\n ? presenceContext.initial === false\n : false;\n isInitialAnimationBlocked = isInitialAnimationBlocked || initial === false;\n const variantToSet = isInitialAnimationBlocked ? animate : initial;\n if (variantToSet &&\n typeof variantToSet !== \"boolean\" &&\n !isAnimationControls(variantToSet)) {\n const list = Array.isArray(variantToSet) ? variantToSet : [variantToSet];\n for (let i = 0; i < list.length; i++) {\n const resolved = resolveVariantFromProps(props, list[i]);\n if (resolved) {\n const { transitionEnd, transition, ...target } = resolved;\n for (const key in target) {\n let valueTarget = target[key];\n if (Array.isArray(valueTarget)) {\n /**\n * Take final keyframe if the initial animation is blocked because\n * we want to initialise at the end of that blocked animation.\n */\n const index = isInitialAnimationBlocked\n ? valueTarget.length - 1\n : 0;\n valueTarget = valueTarget[index];\n }\n if (valueTarget !== null) {\n values[key] = valueTarget;\n }\n }\n for (const key in transitionEnd) {\n values[key] = transitionEnd[key];\n }\n }\n }\n }\n return values;\n}\n\nexport { makeUseVisualState };\n"],"names":["makeLatestValues","props","context","presenceContext","scrapeMotionValues","values","motionValues","key","resolveMotionValue","initial","animate","isControllingVariants$1","isControllingVariants","isVariantNode$1","isVariantNode","inherit","undefined","isInitialAnimationBlocked","variantToSet","isAnimationControls","list","Array","isArray","i","length","resolved","resolveVariantFromProps","transitionEnd","transition","target","valueTarget","config","isStatic","useContext","MotionContext","PresenceContext","make","_ref","scrapeMotionValuesFromProps","createRenderState","latestValues","renderState","makeState","useConstant"],"mappings":"keAsBA,SAASA,EAAiBC,EAAOC,EAASC,EAAiBC,GACvD,MAAMC,EAAS,CAAA,EACTC,EAAeF,EAAmBH,EAAO,CAAE,GACjD,IAAK,MAAMM,KAAOD,EACdD,EAAOE,GAAOC,EAAAA,mBAAmBF,EAAaC,IAElD,IAAIE,QAAEA,EAAOC,QAAEA,GAAYT,EAC3B,MAAMU,EAA0BC,wBAAsBX,GAChDY,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ual-state.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs"],"sourcesContent":["\"use client\";\nimport { resolveMotionValue, isControllingVariants, isVariantNode, isAnimationControls, resolveVariantFromProps } from 'motion-dom';\nimport { useContext } from 'react';\nimport { MotionContext } from '../../context/MotionContext/index.mjs';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\n\nfunction makeState({ scrapeMotionValuesFromProps, createRenderState, }, props, context, presenceContext) {\n const state = {\n latestValues: makeLatestValues(props, context, presenceContext, scrapeMotionValuesFromProps),\n renderState: createRenderState(),\n };\n return state;\n}\nfunction makeLatestValues(props, context, presenceContext, scrapeMotionValues) {\n const values = {};\n const motionValues = scrapeMotionValues(props, {});\n for (const key in motionValues) {\n values[key] = resolveMotionValue(motionValues[key]);\n }\n let { initial, animate } = props;\n const isControllingVariants$1 = isControllingVariants(props);\n const isVariantNode$1 = isVariantNode(props);\n if (context &&\n isVariantNode$1 &&\n !isControllingVariants$1 &&\n props.inherit !== false) {\n if (initial === undefined)\n initial = context.initial;\n if (animate === undefined)\n animate = context.animate;\n }\n let isInitialAnimationBlocked = presenceContext\n ? presenceContext.initial === false\n : false;\n isInitialAnimationBlocked = isInitialAnimationBlocked || initial === false;\n const variantToSet = isInitialAnimationBlocked ? animate : initial;\n if (variantToSet &&\n typeof variantToSet !== \"boolean\" &&\n !isAnimationControls(variantToSet)) {\n const list = Array.isArray(variantToSet) ? variantToSet : [variantToSet];\n for (let i = 0; i < list.length; i++) {\n const resolved = resolveVariantFromProps(props, list[i]);\n if (resolved) {\n const { transitionEnd, transition, ...target } = resolved;\n for (const key in target) {\n let valueTarget = target[key];\n if (Array.isArray(valueTarget)) {\n /**\n * Take final keyframe if the initial animation is blocked because\n * we want to initialise at the end of that blocked animation.\n */\n const index = isInitialAnimationBlocked\n ? valueTarget.length - 1\n : 0;\n valueTarget = valueTarget[index];\n }\n if (valueTarget !== null) {\n values[key] = valueTarget;\n }\n }\n for (const key in transitionEnd) {\n values[key] = transitionEnd[key];\n }\n }\n }\n }\n return values;\n}\nconst makeUseVisualState = (config) => (props, isStatic) => {\n const context = useContext(MotionContext);\n const presenceContext = useContext(PresenceContext);\n const make = () => makeState(config, props, context, presenceContext);\n return isStatic ? make() : useConstant(make);\n};\n\nexport { makeUseVisualState };\n//# sourceMappingURL=use-visual-state.mjs.map\n"],"names":["makeLatestValues","props","context","presenceContext","scrapeMotionValues","key","motionValues","initial","animate","isControllingVariants$1","isControllingVariants","isVariantNode$1","isVariantNode","inherit","isInitialAnimationBlocked","variantToSet","isAnimationControls","list","Array","isArray","i","length","target","valueTarget","values","transitionEnd","config","isStatic","useContext","MotionContext","PresenceContext","make","_ref","scrapeMotionValuesFromProps","createRenderState","makeState","useConstant"],"mappings":"+kBA2DA,SAAAA,EAAAC,EAAAC,EAAAC,EAAAC,wBASI,IAAAC,MAAAA,KAAAC,kCAIA,IAAAC,QAAAA,EAAAC,QAAAA,GAAAP,EACA,MAAAQ,EAAAC,wBAAAT,GACAU,EAAAC,gBAAAX,GAEAC,OAGIO,IACA,IAAAR,EAAAY,uBAE2BN,EAAAL,EAAAK,sBACAC,EAAAN,EAAAM,0BAI3BL,EAAAI,QAEJO,EAAAA,IAAA,IAAAP,gBAIA,GAAAQ,yBAGIC,EAAAA,oBAAAD,GAAA,CAEA,MAAAE,EAAAC,MAAAC,QAAAJ,GAAAA,EAAA,CAAAA,GACA,IAAAK,IAAAA,IAAAA,EAAAH,EAAAI,OAAAD,IAAA,4FAIQ,IAAAf,MAAAA,KAAAiB,EAAA,CACI,IAAAC,EAAAD,EAAAjB,GAEA,GAAAa,MAAAC,QAAAI,GAAA,CAQIA,EAAAA,IAFIA,EAAAF,YAKR,OAAAE,IACIC,EAAAnB,GAAAkB,GAGR,IAAAlB,MAAAA,KAAAoB,cASZ,OAAAD,CACJ,4BAEOE,GAAAzB,CAAAA,EAAA0B,KAGC,MAAAzB,EAAA0B,aAAAC,EAAAA,eACA1B,EAAAyB,aAAAE,EAAAA,iBACAC,EAAAA,IArGR,SAAAC,EAAA/B,EAAAC,EAAAC,GAAA,IAAA8B,4BAAAA,EAAAC,kBAAAA,GAAAF,EAmBI,MAVA,yCAWJ,CAiFQG,CAAAT,EAAAzB,EAAAC,EAAAC,GAEA,OAAAwB,EAAAI,IAAAK,EAAAA,YAAAL,EAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const t=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);exports.isValidMotionProp=function(a){return a.startsWith("while")||a.startsWith("drag")&&"draggable"!==a||a.startsWith("layout")||a.startsWith("onTap")||a.startsWith("onPan")||a.startsWith("onLayout")||t.has(a)};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const t=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);exports.isValidMotionProp=function(a){return a.startsWith("while")||a.startsWith("drag")&&"draggable"!==a||a.startsWith("layout")||a.startsWith("onTap")||a.startsWith("onPan")||a.startsWith("onLayout")||t.has(a)};
2
2
  //# sourceMappingURL=valid-prop.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"valid-prop.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs"],"sourcesContent":["/**\n * A list of all valid MotionProps.\n *\n * @privateRemarks\n * This doesn't throw if a `MotionProp` name is missing - it should.\n */\nconst validMotionProps = new Set([\n \"animate\",\n \"exit\",\n \"variants\",\n \"initial\",\n \"style\",\n \"values\",\n \"variants\",\n \"transition\",\n \"transformTemplate\",\n \"custom\",\n \"inherit\",\n \"onBeforeLayoutMeasure\",\n \"onAnimationStart\",\n \"onAnimationComplete\",\n \"onUpdate\",\n \"onDragStart\",\n \"onDrag\",\n \"onDragEnd\",\n \"onMeasureDragConstraints\",\n \"onDirectionLock\",\n \"onDragTransitionEnd\",\n \"_dragX\",\n \"_dragY\",\n \"onHoverStart\",\n \"onHoverEnd\",\n \"onViewportEnter\",\n \"onViewportLeave\",\n \"globalTapTarget\",\n \"ignoreStrict\",\n \"viewport\",\n]);\n/**\n * Check whether a prop name is a valid `MotionProp` key.\n *\n * @param key - Name of the property to check\n * @returns `true` is key is a valid `MotionProp`.\n *\n * @public\n */\nfunction isValidMotionProp(key) {\n return (key.startsWith(\"while\") ||\n (key.startsWith(\"drag\") && key !== \"draggable\") ||\n key.startsWith(\"layout\") ||\n key.startsWith(\"onTap\") ||\n key.startsWith(\"onPan\") ||\n key.startsWith(\"onLayout\") ||\n validMotionProps.has(key));\n}\n\nexport { isValidMotionProp };\n"],"names":["validMotionProps","Set","key","startsWith","has"],"mappings":"oEAMA,MAAMA,EAAmB,IAAIC,IAAI,CAC7B,UACA,OACA,WACA,UACA,QACA,SACA,WACA,aACA,oBACA,SACA,UACA,wBACA,mBACA,sBACA,WACA,cACA,SACA,YACA,2BACA,kBACA,sBACA,SACA,SACA,eACA,aACA,kBACA,kBACA,kBACA,eACA,uCAUJ,SAA2BC,GACvB,OAAQA,EAAIC,WAAW,UAClBD,EAAIC,WAAW,SAAmB,cAARD,GAC3BA,EAAIC,WAAW,WACfD,EAAIC,WAAW,UACfD,EAAIC,WAAW,UACfD,EAAIC,WAAW,aACfH,EAAiBI,IAAIF,EAC7B"}
1
+ {"version":3,"file":"valid-prop.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs"],"sourcesContent":["/**\n * A list of all valid MotionProps.\n *\n * @privateRemarks\n * This doesn't throw if a `MotionProp` name is missing - it should.\n */\nconst validMotionProps = new Set([\n \"animate\",\n \"exit\",\n \"variants\",\n \"initial\",\n \"style\",\n \"values\",\n \"variants\",\n \"transition\",\n \"transformTemplate\",\n \"custom\",\n \"inherit\",\n \"onBeforeLayoutMeasure\",\n \"onAnimationStart\",\n \"onAnimationComplete\",\n \"onUpdate\",\n \"onDragStart\",\n \"onDrag\",\n \"onDragEnd\",\n \"onMeasureDragConstraints\",\n \"onDirectionLock\",\n \"onDragTransitionEnd\",\n \"_dragX\",\n \"_dragY\",\n \"onHoverStart\",\n \"onHoverEnd\",\n \"onViewportEnter\",\n \"onViewportLeave\",\n \"globalTapTarget\",\n \"propagate\",\n \"ignoreStrict\",\n \"viewport\",\n]);\n/**\n * Check whether a prop name is a valid `MotionProp` key.\n *\n * @param key - Name of the property to check\n * @returns `true` is key is a valid `MotionProp`.\n *\n * @public\n */\nfunction isValidMotionProp(key) {\n return (key.startsWith(\"while\") ||\n (key.startsWith(\"drag\") && key !== \"draggable\") ||\n key.startsWith(\"layout\") ||\n key.startsWith(\"onTap\") ||\n key.startsWith(\"onPan\") ||\n key.startsWith(\"onLayout\") ||\n validMotionProps.has(key));\n}\n\nexport { isValidMotionProp };\n//# sourceMappingURL=valid-prop.mjs.map\n"],"names":["validMotionProps","Set","key","startsWith","has"],"mappings":"oEAQA,MAAMA,EAAmB,IAAIC,IAAuB,CAChD,UACA,OACA,WACA,UACA,QACA,SACA,WACA,aACA,oBACA,SACA,UACA,wBACA,mBACA,sBACA,WACA,cACA,SACA,YACA,2BACA,kBACA,sBACA,SACA,SACA,eACA,aACA,kBACA,kBACA,kBACA,YACA,eACA,uCAWE,SAA4BC,GAC9B,OACIA,EAAIC,WAAW,UACdD,EAAIC,WAAW,SAAmB,cAARD,GAC3BA,EAAIC,WAAW,WACfD,EAAIC,WAAW,UACfD,EAAIC,WAAW,UACfD,EAAIC,WAAW,aACfH,EAAiBI,IAAIF,EAE7B"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../motion-utils/dist/es/warn-once.mjs.js");exports.createDOMMotionComponentProxy=function(t){if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy((function(){return"production"!==process.env.NODE_ENV&&e.warnOnce(!1,"motion() is deprecated. Use motion.create() instead."),t(...arguments)}),{get:(e,o)=>"create"===o?t:(n.has(o)||n.set(o,t(o)),n.get(o))})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../motion/index.mjs.js"),o=require("../../../../../motion-utils/dist/es/warn-once.mjs.js");exports.createMotionProxy=function(t,n){if("undefined"==typeof Proxy)return e.createMotionComponent;const r=new Map,i=(o,r)=>e.createMotionComponent(o,r,t,n);return new Proxy(((e,t)=>("production"!==process.env.NODE_ENV&&o.warnOnce(!1,"motion() is deprecated. Use motion.create() instead."),i(e,t))),{get:(o,s)=>"create"===s?i:(r.has(s)||r.set(s,e.createMotionComponent(s,void 0,t,n)),r.get(s))})};
2
2
  //# sourceMappingURL=create-proxy.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-proxy.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/components/create-proxy.mjs"],"sourcesContent":["import { warnOnce } from 'motion-utils';\n\nfunction createDOMMotionComponentProxy(componentFactory) {\n if (typeof Proxy === \"undefined\") {\n return componentFactory;\n }\n /**\n * A cache of generated `motion` components, e.g `motion.div`, `motion.input` etc.\n * Rather than generating them anew every render.\n */\n const componentCache = new Map();\n const deprecatedFactoryFunction = (...args) => {\n if (process.env.NODE_ENV !== \"production\") {\n warnOnce(false, \"motion() is deprecated. Use motion.create() instead.\");\n }\n return componentFactory(...args);\n };\n return new Proxy(deprecatedFactoryFunction, {\n /**\n * Called when `motion` is referenced with a prop: `motion.div`, `motion.input` etc.\n * The prop name is passed through as `key` and we can use that to generate a `motion`\n * DOM component with that name.\n */\n get: (_target, key) => {\n if (key === \"create\")\n return componentFactory;\n /**\n * If this element doesn't exist in the component cache, create it and cache.\n */\n if (!componentCache.has(key)) {\n componentCache.set(key, componentFactory(key));\n }\n return componentCache.get(key);\n },\n });\n}\n\nexport { createDOMMotionComponentProxy };\n"],"names":["componentFactory","Proxy","componentCache","Map","process","env","NODE_ENV","warnOnce","arguments","get","_target","key","has","set"],"mappings":"gLAEA,SAAuCA,GACnC,GAAqB,oBAAVC,MACP,OAAOD,EAMX,MAAME,EAAiB,IAAIC,IAO3B,OAAO,IAAIF,OANuB,WAI9B,MAH6B,eAAzBG,QAAQC,IAAIC,UACZC,YAAS,EAAO,wDAEbP,KAAiBQ,aAEgB,CAMxCC,IAAKA,CAACC,EAASC,IACC,WAARA,EACOX,GAINE,EAAeU,IAAID,IACpBT,EAAeW,IAAIF,EAAKX,EAAiBW,IAEtCT,EAAeO,IAAIE,KAGtC"}
1
+ {"version":3,"file":"create-proxy.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/components/create-proxy.mjs"],"sourcesContent":["import { warnOnce } from 'motion-utils';\nimport { createMotionComponent } from '../../motion/index.mjs';\n\nfunction createMotionProxy(preloadedFeatures, createVisualElement) {\n if (typeof Proxy === \"undefined\") {\n return createMotionComponent;\n }\n /**\n * A cache of generated `motion` components, e.g `motion.div`, `motion.input` etc.\n * Rather than generating them anew every render.\n */\n const componentCache = new Map();\n const factory = (Component, options) => {\n return createMotionComponent(Component, options, preloadedFeatures, createVisualElement);\n };\n /**\n * Support for deprecated`motion(Component)` pattern\n */\n const deprecatedFactoryFunction = (Component, options) => {\n if (process.env.NODE_ENV !== \"production\") {\n warnOnce(false, \"motion() is deprecated. Use motion.create() instead.\");\n }\n return factory(Component, options);\n };\n return new Proxy(deprecatedFactoryFunction, {\n /**\n * Called when `motion` is referenced with a prop: `motion.div`, `motion.input` etc.\n * The prop name is passed through as `key` and we can use that to generate a `motion`\n * DOM component with that name.\n */\n get: (_target, key) => {\n if (key === \"create\")\n return factory;\n /**\n * If this element doesn't exist in the component cache, create it and cache.\n */\n if (!componentCache.has(key)) {\n componentCache.set(key, createMotionComponent(key, undefined, preloadedFeatures, createVisualElement));\n }\n return componentCache.get(key);\n },\n });\n}\n\nexport { createMotionProxy };\n//# sourceMappingURL=create-proxy.mjs.map\n"],"names":["preloadedFeatures","createVisualElement","Proxy","createMotionComponent","componentCache","Map","factory","Component","options","deprecatedFactoryFunction","process","env","NODE_ENV","warnOnce","get","_target","key","has","set","undefined"],"mappings":"2MAqBM,SACFA,EACAC,GAEA,GAAqB,oBAAVC,MACP,OAAOC,wBAOX,MAAMC,EAAiB,IAAIC,IAErBC,EAAUA,CAACC,EAAmBC,IACzBL,EAAqBA,sBACxBI,EACAC,EACAR,EACAC,GAoBR,OAAO,IAAIC,OAbuBO,CAC9BF,EACAC,KAE6B,eAAzBE,QAAQC,IAAIC,UACZC,YACI,EACA,wDAGDP,EAAQC,EAAWC,KAGc,CAMxCM,IAAKA,CAACC,EAASC,IACC,WAARA,EAAyBV,GAKxBF,EAAea,IAAID,IACpBZ,EAAec,IACXF,EACAb,EAAqBA,sBACjBa,OACAG,EACAnB,EACAC,IAKLG,EAAeU,IAAIE,KAGtC"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../motion/features/animations.mjs.js"),s=require("../../../motion/features/drag.mjs.js"),r=require("../../../motion/features/gestures.mjs.js"),t=require("../../../motion/features/layout.mjs.js");const o={...e.animations,...r.gestureAnimations,...s.drag,...t.layout};exports.featureBundle=o;
2
+ //# sourceMappingURL=feature-bundle.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature-bundle.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.mjs"],"sourcesContent":["import { animations } from '../../../motion/features/animations.mjs';\nimport { drag } from '../../../motion/features/drag.mjs';\nimport { gestureAnimations } from '../../../motion/features/gestures.mjs';\nimport { layout } from '../../../motion/features/layout.mjs';\n\nconst featureBundle = {\n ...animations,\n ...gestureAnimations,\n ...drag,\n ...layout,\n};\n\nexport { featureBundle };\n//# sourceMappingURL=feature-bundle.mjs.map\n"],"names":["featureBundle","animations","gestureAnimations","drag","layout"],"mappings":"4RAKO,MAAMA,EAAgB,IACtBC,EAAUA,cACVC,EAAiBA,qBACjBC,EAAIA,QACJC,EAAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../create-proxy.mjs.js"),o=require("./create.mjs.js");const r=e.createDOMMotionComponentProxy(o.createMotionComponent);exports.motion=r;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../dom/create-visual-element.mjs.js"),r=require("../create-proxy.mjs.js"),t=require("./feature-bundle.mjs.js");const s=r.createMotionProxy(t.featureBundle,e.createDomVisualElement);exports.motion=s;
2
2
  //# sourceMappingURL=proxy.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"proxy.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs"],"sourcesContent":["import { createDOMMotionComponentProxy } from '../create-proxy.mjs';\nimport { createMotionComponent } from './create.mjs';\n\nconst motion = /*@__PURE__*/ createDOMMotionComponentProxy(createMotionComponent);\n\nexport { motion };\n"],"names":["motion","createDOMMotionComponentProxy","createMotionComponent"],"mappings":"yIAGA,MAAMA,EAAuBC,EAA6BA,8BAACC,EAAqBA"}
1
+ {"version":3,"file":"proxy.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs"],"sourcesContent":["import { createDomVisualElement } from '../../dom/create-visual-element.mjs';\nimport { createMotionProxy } from '../create-proxy.mjs';\nimport { featureBundle } from './feature-bundle.mjs';\n\nconst motion = /*@__PURE__*/ createMotionProxy(featureBundle, createDomVisualElement);\n\nexport { motion };\n//# sourceMappingURL=proxy.mjs.map\n"],"names":["motion","createMotionProxy","featureBundle","createDomVisualElement"],"mappings":"qMAIO,MAAMA,EAAuBC,EAAAA,kBAChCC,EAAAA,cACAC,EAAsBA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),s=require("../html/HTMLVisualElement.mjs.js"),t=require("../svg/SVGVisualElement.mjs.js"),r=require("./utils/is-svg-component.mjs.js");exports.createDomVisualElement=(l,i)=>r.isSVGComponent(l)?new t.SVGVisualElement(i):new s.HTMLVisualElement(i,{allowProjection:l!==e.Fragment});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),s=require("./utils/is-svg-component.mjs.js"),t=require("../../../../../motion-dom/dist/es/render/svg/SVGVisualElement.mjs.js"),r=require("../../../../../motion-dom/dist/es/render/html/HTMLVisualElement.mjs.js");exports.createDomVisualElement=(i,n)=>n.isSVG??s.isSVGComponent(i)?new t.SVGVisualElement(n):new r.HTMLVisualElement(n,{allowProjection:i!==e.Fragment});
2
2
  //# sourceMappingURL=create-visual-element.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-visual-element.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs"],"sourcesContent":["import { Fragment } from 'react';\nimport { HTMLVisualElement } from '../html/HTMLVisualElement.mjs';\nimport { SVGVisualElement } from '../svg/SVGVisualElement.mjs';\nimport { isSVGComponent } from './utils/is-svg-component.mjs';\n\nconst createDomVisualElement = (Component, options) => {\n return isSVGComponent(Component)\n ? new SVGVisualElement(options)\n : new HTMLVisualElement(options, {\n allowProjection: Component !== Fragment,\n });\n};\n\nexport { createDomVisualElement };\n"],"names":["createDomVisualElement","Component","options","isSVGComponent","SVGVisualElement","HTMLVisualElement","allowProjection","Fragment"],"mappings":"iQAK+BA,CAACC,EAAWC,IAChCC,EAAcA,eAACF,GAChB,IAAIG,EAAAA,iBAAiBF,GACrB,IAAIG,EAAiBA,kBAACH,EAAS,CAC7BI,gBAAiBL,IAAcM,EAAAA"}
1
+ {"version":3,"file":"create-visual-element.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs"],"sourcesContent":["import { SVGVisualElement, HTMLVisualElement } from 'motion-dom';\nimport { Fragment } from 'react';\nimport { isSVGComponent } from './utils/is-svg-component.mjs';\n\nconst createDomVisualElement = (Component, options) => {\n /**\n * Use explicit isSVG override if provided, otherwise auto-detect\n */\n const isSVG = options.isSVG ?? isSVGComponent(Component);\n return isSVG\n ? new SVGVisualElement(options)\n : new HTMLVisualElement(options, {\n allowProjection: Component !== Fragment,\n });\n};\n\nexport { createDomVisualElement };\n//# sourceMappingURL=create-visual-element.mjs.map\n"],"names":["createDomVisualElement","Component","options","isSVG","isSVGComponent","SVGVisualElement","HTMLVisualElement","allowProjection","Fragment"],"mappings":"6UAK2DA,CACvDC,EACAC,IAKcA,EAAQC,OAASC,EAAcA,eAACH,GAGxC,IAAII,EAAgBA,iBAACH,GACrB,IAAII,EAAiBA,kBAACJ,EAAS,CAC3BK,gBAAiBN,IAAcO,EAAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),s=require("../html/use-props.mjs.js"),r=require("./utils/filter-props.mjs.js"),t=require("./utils/is-svg-component.mjs.js"),i=require("../svg/use-props.mjs.js"),u=require("../../value/utils/is-motion-value.mjs.js");exports.createUseRender=function(){let o=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(l,n,p,m,a)=>{let{latestValues:j}=m;const c=(t.isSVGComponent(l)?i.useSVGProps:s.useHTMLProps)(n,j,a,l),v=r.filterProps(n,"string"==typeof l,o),d=l!==e.Fragment?{...v,...c,ref:p}:{},{children:f}=n,g=e.useMemo((()=>u.isMotionValue(f)?f.get():f),[f]);return e.createElement(l,{...d,children:g})}};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),s=require("../html/use-props.mjs.js"),r=require("../svg/use-props.mjs.js"),t=require("./utils/filter-props.mjs.js"),i=require("./utils/is-svg-component.mjs.js"),o=require("../../../../../motion-dom/dist/es/value/utils/is-motion-value.mjs.js");exports.useRender=function(u,n,l,p,m){let{latestValues:j}=p,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];const c=((arguments.length>6?arguments[6]:void 0)??i.isSVGComponent(u)?r.useSVGProps:s.useHTMLProps)(n,j,m,u),d=t.filterProps(n,"string"==typeof u,a),v=u!==e.Fragment?{...d,...c,ref:l}:{},{children:g}=n,f=e.useMemo((()=>o.isMotionValue(g)?g.get():g),[g]);return e.createElement(u,{...v,children:f})};
2
2
  //# sourceMappingURL=use-render.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-render.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/dom/use-render.mjs"],"sourcesContent":["import { Fragment, useMemo, createElement } from 'react';\nimport { useHTMLProps } from '../html/use-props.mjs';\nimport { filterProps } from './utils/filter-props.mjs';\nimport { isSVGComponent } from './utils/is-svg-component.mjs';\nimport { useSVGProps } from '../svg/use-props.mjs';\nimport { isMotionValue } from '../../value/utils/is-motion-value.mjs';\n\nfunction createUseRender(forwardMotionProps = false) {\n const useRender = (Component, props, ref, { latestValues }, isStatic) => {\n const useVisualProps = isSVGComponent(Component)\n ? useSVGProps\n : useHTMLProps;\n const visualProps = useVisualProps(props, latestValues, isStatic, Component);\n const filteredProps = filterProps(props, typeof Component === \"string\", forwardMotionProps);\n const elementProps = Component !== Fragment\n ? { ...filteredProps, ...visualProps, ref }\n : {};\n /**\n * If component has been handed a motion value as its child,\n * memoise its initial value and render that. Subsequent updates\n * will be handled by the onChange handler\n */\n const { children } = props;\n const renderedChildren = useMemo(() => (isMotionValue(children) ? children.get() : children), [children]);\n return createElement(Component, {\n ...elementProps,\n children: renderedChildren,\n });\n };\n return useRender;\n}\n\nexport { createUseRender };\n"],"names":["forwardMotionProps","arguments","length","undefined","useRender","Component","props","ref","_ref","isStatic","latestValues","visualProps","isSVGComponent","useSVGProps","useHTMLProps","filteredProps","filterProps","elementProps","Fragment","children","renderedChildren","useMemo","isMotionValue","get","createElement"],"mappings":"0UAOA,WAAqD,IAA5BA,EAAkBC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,IAAAA,UAAA,GAsBvC,MArBkBG,CAACC,EAAWC,EAAOC,EAAGC,EAAoBC,KAAa,IAA/BC,aAAEA,GAAcF,EACtD,MAGMG,GAHiBC,EAAcA,eAACP,GAChCQ,EAAAA,YACAC,EAAAA,cAC6BR,EAAOI,EAAcD,EAAUJ,GAC5DU,EAAgBC,EAAAA,YAAYV,EAA4B,iBAAdD,EAAwBL,GAClEiB,EAAeZ,IAAca,WAC7B,IAAKH,KAAkBJ,EAAaJ,OACpC,IAMAY,SAAEA,GAAab,EACfc,EAAmBC,EAAAA,SAAQ,IAAOC,EAAAA,cAAcH,GAAYA,EAASI,MAAQJ,GAAW,CAACA,IAC/F,OAAOK,EAAAA,cAAcnB,EAAW,IACzBY,EACHE,SAAUC,GACZ,CAGV"}
1
+ {"version":3,"file":"use-render.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/dom/use-render.mjs"],"sourcesContent":["\"use client\";\nimport { isMotionValue } from 'motion-dom';\nimport { Fragment, useMemo, createElement } from 'react';\nimport { useHTMLProps } from '../html/use-props.mjs';\nimport { useSVGProps } from '../svg/use-props.mjs';\nimport { filterProps } from './utils/filter-props.mjs';\nimport { isSVGComponent } from './utils/is-svg-component.mjs';\n\nfunction useRender(Component, props, ref, { latestValues, }, isStatic, forwardMotionProps = false, isSVG) {\n const useVisualProps = (isSVG ?? isSVGComponent(Component)) ? useSVGProps : useHTMLProps;\n const visualProps = useVisualProps(props, latestValues, isStatic, Component);\n const filteredProps = filterProps(props, typeof Component === \"string\", forwardMotionProps);\n const elementProps = Component !== Fragment ? { ...filteredProps, ...visualProps, ref } : {};\n /**\n * If component has been handed a motion value as its child,\n * memoise its initial value and render that. Subsequent updates\n * will be handled by the onChange handler\n */\n const { children } = props;\n const renderedChildren = useMemo(() => (isMotionValue(children) ? children.get() : children), [children]);\n return createElement(Component, {\n ...elementProps,\n children: renderedChildren,\n });\n}\n\nexport { useRender };\n//# sourceMappingURL=use-render.mjs.map\n"],"names":["visualProps","isSVGComponent","Component","useSVGProps","useHTMLProps","props","latestValues","isStatic","filteredProps","filterProps","forwardMotionProps","children","renderedChildren","useMemo","isMotionValue","get","elementProps"],"mappings":"ocA4BI,MAGAA,6CAHAC,EAAAA,eAAAC,GAAAC,EAAAA,YAAAC,gBAGAC,EAAAC,EAAAC,EAAAL,GAMAM,EAAAC,EAAAA,YAAAJ,mBAAAH,EAAAQ,0CAaAC,SAAAA,GAAAN,EACAO,EAAAC,EAAAA,SAAA,IAAAC,EAAAA,cAAAH,GAAAA,EAAAI,MAAAJ,IAAAA,iCAMIK,EACAL,SAAAC,GAER"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("../../../motion/utils/valid-prop.mjs.js");let t=t=>!o.isValidMotionProp(t);function i(i){i&&(t=t=>t.startsWith("on")?!o.isValidMotionProp(t):i(t))}try{i(require("@emotion/is-prop-valid").default)}catch{}exports.filterProps=function(i,r,e){const s={};for(const a in i)"values"===a&&"object"==typeof i.values||(t(a)||!0===e&&o.isValidMotionProp(a)||!r&&!o.isValidMotionProp(a)||i.draggable&&a.startsWith("onDrag"))&&(s[a]=i[a]);return s},exports.loadExternalIsValidProp=i;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("../../../motion/utils/valid-prop.mjs.js"),t=require("../../../../../../motion-dom/dist/es/value/utils/is-motion-value.mjs.js");let i=t=>!o.isValidMotionProp(t);function e(t){"function"==typeof t&&(i=i=>i.startsWith("on")?!o.isValidMotionProp(i):t(i))}try{e(require("@emotion/is-prop-valid").default)}catch{}exports.filterProps=function(e,r,s){const a={};for(const n in e)"values"===n&&"object"==typeof e.values||t.isMotionValue(e[n])||(i(n)||!0===s&&o.isValidMotionProp(n)||!r&&!o.isValidMotionProp(n)||e.draggable&&n.startsWith("onDrag"))&&(a[n]=e[n]);return a},exports.loadExternalIsValidProp=e;
2
2
  //# sourceMappingURL=filter-props.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"filter-props.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs"],"sourcesContent":["import { isValidMotionProp } from '../../../motion/utils/valid-prop.mjs';\n\nlet shouldForward = (key) => !isValidMotionProp(key);\nfunction loadExternalIsValidProp(isValidProp) {\n if (!isValidProp)\n return;\n // Explicitly filter our events\n shouldForward = (key) => key.startsWith(\"on\") ? !isValidMotionProp(key) : isValidProp(key);\n}\n/**\n * Emotion and Styled Components both allow users to pass through arbitrary props to their components\n * to dynamically generate CSS. They both use the `@emotion/is-prop-valid` package to determine which\n * of these should be passed to the underlying DOM node.\n *\n * However, when styling a Motion component `styled(motion.div)`, both packages pass through *all* props\n * as it's seen as an arbitrary component rather than a DOM node. Motion only allows arbitrary props\n * passed through the `custom` prop so it doesn't *need* the payload or computational overhead of\n * `@emotion/is-prop-valid`, however to fix this problem we need to use it.\n *\n * By making it an optionalDependency we can offer this functionality only in the situations where it's\n * actually required.\n */\ntry {\n /**\n * We attempt to import this package but require won't be defined in esm environments, in that case\n * isPropValid will have to be provided via `MotionContext`. In a 6.0.0 this should probably be removed\n * in favour of explicit injection.\n */\n loadExternalIsValidProp(require(\"@emotion/is-prop-valid\").default);\n}\ncatch {\n // We don't need to actually do anything here - the fallback is the existing `isPropValid`.\n}\nfunction filterProps(props, isDom, forwardMotionProps) {\n const filteredProps = {};\n for (const key in props) {\n /**\n * values is considered a valid prop by Emotion, so if it's present\n * this will be rendered out to the DOM unless explicitly filtered.\n *\n * We check the type as it could be used with the `feColorMatrix`\n * element, which we support.\n */\n if (key === \"values\" && typeof props.values === \"object\")\n continue;\n if (shouldForward(key) ||\n (forwardMotionProps === true && isValidMotionProp(key)) ||\n (!isDom && !isValidMotionProp(key)) ||\n // If trying to use native HTML drag events, forward drag listeners\n (props[\"draggable\"] &&\n key.startsWith(\"onDrag\"))) {\n filteredProps[key] =\n props[key];\n }\n }\n return filteredProps;\n}\n\nexport { filterProps, loadExternalIsValidProp };\n"],"names":["shouldForward","key","isValidMotionProp","loadExternalIsValidProp","isValidProp","startsWith","require","default","props","isDom","forwardMotionProps","filteredProps","values"],"mappings":"6HAEA,IAAIA,EAAiBC,IAASC,EAAiBA,kBAACD,GAChD,SAASE,EAAwBC,GACxBA,IAGLJ,EAAiBC,GAAQA,EAAII,WAAW,OAASH,EAAAA,kBAAkBD,GAAOG,EAAYH,GAC1F,CAcA,IAMIE,EAAwBG,QAAQ,0BAA0BC,QAC9D,CACA,MACI,qBAEJ,SAAqBC,EAAOC,EAAOC,GAC/B,MAAMC,EAAgB,CAAA,EACtB,IAAK,MAAMV,KAAOO,EAQF,WAARP,GAA4C,iBAAjBO,EAAMI,SAEjCZ,EAAcC,KACU,IAAvBS,GAA+BR,EAAAA,kBAAkBD,KAChDQ,IAAUP,EAAAA,kBAAkBD,IAE7BO,EAAiB,WACdP,EAAII,WAAW,aACnBM,EAAcV,GACVO,EAAMP,IAGlB,OAAOU,CACX"}
1
+ {"version":3,"file":"filter-props.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs"],"sourcesContent":["import { isMotionValue } from 'motion-dom';\nimport { isValidMotionProp } from '../../../motion/utils/valid-prop.mjs';\n\nlet shouldForward = (key) => !isValidMotionProp(key);\nfunction loadExternalIsValidProp(isValidProp) {\n if (typeof isValidProp !== \"function\")\n return;\n // Explicitly filter our events\n shouldForward = (key) => key.startsWith(\"on\") ? !isValidMotionProp(key) : isValidProp(key);\n}\n/**\n * Emotion and Styled Components both allow users to pass through arbitrary props to their components\n * to dynamically generate CSS. They both use the `@emotion/is-prop-valid` package to determine which\n * of these should be passed to the underlying DOM node.\n *\n * However, when styling a Motion component `styled(motion.div)`, both packages pass through *all* props\n * as it's seen as an arbitrary component rather than a DOM node. Motion only allows arbitrary props\n * passed through the `custom` prop so it doesn't *need* the payload or computational overhead of\n * `@emotion/is-prop-valid`, however to fix this problem we need to use it.\n *\n * By making it an optionalDependency we can offer this functionality only in the situations where it's\n * actually required.\n */\ntry {\n /**\n * We attempt to import this package but require won't be defined in esm environments, in that case\n * isPropValid will have to be provided via `MotionContext`. In a 6.0.0 this should probably be removed\n * in favour of explicit injection.\n *\n * String concatenation prevents bundlers like webpack (e.g. Storybook)\n * from statically resolving this optional dependency at build time.\n */\n const emotionPkg = \"@emotion/is-prop-\" + \"valid\";\n loadExternalIsValidProp(require(emotionPkg).default);\n}\ncatch {\n // We don't need to actually do anything here - the fallback is the existing `isPropValid`.\n}\nfunction filterProps(props, isDom, forwardMotionProps) {\n const filteredProps = {};\n for (const key in props) {\n /**\n * values is considered a valid prop by Emotion, so if it's present\n * this will be rendered out to the DOM unless explicitly filtered.\n *\n * We check the type as it could be used with the `feColorMatrix`\n * element, which we support.\n */\n if (key === \"values\" && typeof props.values === \"object\")\n continue;\n if (isMotionValue(props[key]))\n continue;\n if (shouldForward(key) ||\n (forwardMotionProps === true && isValidMotionProp(key)) ||\n (!isDom && !isValidMotionProp(key)) ||\n // If trying to use native HTML drag events, forward drag listeners\n (props[\"draggable\"] &&\n key.startsWith(\"onDrag\"))) {\n filteredProps[key] =\n props[key];\n }\n }\n return filteredProps;\n}\n\nexport { filterProps, loadExternalIsValidProp };\n//# sourceMappingURL=filter-props.mjs.map\n"],"names":["shouldForward","key","isValidMotionProp","loadExternalIsValidProp","isValidProp","startsWith","require","default","filterProps","props","isDom","forwardMotionProps","filteredProps","values","isMotionValue"],"mappings":"kNAIA,IAAIA,EAAiBC,IAAiBC,EAAiBA,kBAACD,GAIlD,SAAUE,EAAwBC,GACT,mBAAhBA,IAGXJ,EAAiBC,GACbA,EAAII,WAAW,OAASH,EAAAA,kBAAkBD,GAAOG,EAAYH,GACrE,CAeA,IAUIE,EAAwBG,QADL,0BACyBC,QAChD,CAAE,2BAIcC,SACZC,EACAC,EACAC,GAEA,MAAMC,EAA6B,CAAA,EAEnC,IAAK,MAAMX,KAAOQ,EAQF,WAARR,GAA4C,iBAAjBQ,EAAMI,QAEjCC,gBAAcL,EAAMR,MAGpBD,EAAcC,KACU,IAAvBU,GAA+BT,EAAAA,kBAAkBD,KAChDS,IAAUR,EAAAA,kBAAkBD,IAE7BQ,EAAsC,WACnCR,EAAII,WAAW,aAEnBO,EAAcX,GACVQ,EAAMR,IAIlB,OAAOW,CACX"}
@@ -1 +1 @@
1
- {"version":3,"file":"is-svg-component.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs"],"sourcesContent":["import { lowercaseSVGElements } from '../../svg/lowercase-elements.mjs';\n\nfunction isSVGComponent(Component) {\n if (\n /**\n * If it's not a string, it's a custom React component. Currently we only support\n * HTML custom React components.\n */\n typeof Component !== \"string\" ||\n /**\n * If it contains a dash, the element is a custom HTML webcomponent.\n */\n Component.includes(\"-\")) {\n return false;\n }\n else if (\n /**\n * If it's in our list of lowercase SVG tags, it's an SVG component\n */\n lowercaseSVGElements.indexOf(Component) > -1 ||\n /**\n * If it contains a capital letter, it's an SVG component\n */\n /[A-Z]/u.test(Component)) {\n return true;\n }\n return false;\n}\n\nexport { isSVGComponent };\n"],"names":["Component","includes","lowercaseSVGElements","indexOf","test"],"mappings":"gJAEA,SAAwBA,GACpB,MAKqB,iBAAdA,IAIHA,EAAUC,SAAS,SAOvBC,EAAAA,qBAAqBC,QAAQH,IAAc,GAIvC,SAASI,KAAKJ,GAItB"}
1
+ {"version":3,"file":"is-svg-component.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs"],"sourcesContent":["import { lowercaseSVGElements } from '../../svg/lowercase-elements.mjs';\n\nfunction isSVGComponent(Component) {\n if (\n /**\n * If it's not a string, it's a custom React component. Currently we only support\n * HTML custom React components.\n */\n typeof Component !== \"string\" ||\n /**\n * If it contains a dash, the element is a custom HTML webcomponent.\n */\n Component.includes(\"-\")) {\n return false;\n }\n else if (\n /**\n * If it's in our list of lowercase SVG tags, it's an SVG component\n */\n lowercaseSVGElements.indexOf(Component) > -1 ||\n /**\n * If it contains a capital letter, it's an SVG component\n */\n /[A-Z]/u.test(Component)) {\n return true;\n }\n return false;\n}\n\nexport { isSVGComponent };\n//# sourceMappingURL=is-svg-component.mjs.map\n"],"names":["Component","includes","lowercaseSVGElements","indexOf","test"],"mappings":"gJAGM,SAAyBA,GAC3B,MAKyB,iBAAdA,IAIPA,EAAUC,SAAS,SAOnBC,EAAAA,qBAAqBC,QAAQH,IAAe,GAI5C,SAASI,KAAKJ,GAMtB"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../motion/utils/use-visual-state.mjs.js"),s=require("./utils/create-render-state.mjs.js"),t=require("../../../../../motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs.js");const r=e.makeUseVisualState({scrapeMotionValuesFromProps:t.scrapeMotionValuesFromProps,createRenderState:s.createHtmlRenderState});exports.useHTMLVisualState=r;
2
+ //# sourceMappingURL=use-html-visual-state.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-html-visual-state.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/html/use-html-visual-state.mjs"],"sourcesContent":["\"use client\";\nimport { scrapeHTMLMotionValuesFromProps } from 'motion-dom';\nimport { makeUseVisualState } from '../../motion/utils/use-visual-state.mjs';\nimport { createHtmlRenderState } from './utils/create-render-state.mjs';\n\nconst useHTMLVisualState = /*@__PURE__*/ makeUseVisualState({\n scrapeMotionValuesFromProps: scrapeHTMLMotionValuesFromProps,\n createRenderState: createHtmlRenderState,\n});\n\nexport { useHTMLVisualState };\n//# sourceMappingURL=use-html-visual-state.mjs.map\n"],"names":["useHTMLVisualState","makeUseVisualState","scrapeMotionValuesFromProps","scrapeHTMLMotionValuesFromProps","createRenderState","createHtmlRenderState"],"mappings":"6QAMOA,MAAAA,EAAAC,EAAAA,mBAAA,CACHC,4BAAAC,EAAAD,4BACAE,kBAAAC,EAAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("../../motion/utils/is-forced-motion-value.mjs.js"),r=require("../../value/utils/is-motion-value.mjs.js"),s=require("./utils/build-styles.mjs.js"),n=require("./utils/create-render-state.mjs.js");function o(e,s,n){for(const o in s)r.isMotionValue(s[o])||t.isForcedMotionValue(o,n)||(e[o]=s[o])}function i(t,r){const i={};return o(i,t.style||{},t),Object.assign(i,function(t,r){let{transformTemplate:o}=t;return e.useMemo((()=>{const e=n.createHtmlRenderState();return s.buildHTMLStyles(e,r,o),Object.assign({},e.vars,e.style)}),[r])}(t,r)),i}exports.copyRawValuesOnly=o,exports.useHTMLProps=function(e,t){const r={},s=i(e,t);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=s,r};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./utils/create-render-state.mjs.js"),s=require("../../../../../motion-dom/dist/es/value/utils/is-motion-value.mjs.js"),r=require("../../../../../motion-dom/dist/es/render/utils/is-forced-motion-value.mjs.js"),o=require("../../../../../motion-dom/dist/es/render/html/utils/build-styles.mjs.js");function n(e,t,o){for(const n in t)s.isMotionValue(t[n])||r.isForcedMotionValue(n,o)||(e[n]=t[n])}function i(s,r){const i={};return n(i,s.style||{},s),Object.assign(i,function(s,r){let{transformTemplate:n}=s;return e.useMemo((()=>{const e=t.createHtmlRenderState();return o.buildHTMLStyles(e,r,n),Object.assign({},e.vars,e.style)}),[r])}(s,r)),i}exports.copyRawValuesOnly=n,exports.useHTMLProps=function(e,t){const s={},r=i(e,t);return e.drag&&!1!==e.dragListener&&(s.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(s.tabIndex=0),s.style=r,s};
2
2
  //# sourceMappingURL=use-props.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-props.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/html/use-props.mjs"],"sourcesContent":["import { useMemo } from 'react';\nimport { isForcedMotionValue } from '../../motion/utils/is-forced-motion-value.mjs';\nimport { isMotionValue } from '../../value/utils/is-motion-value.mjs';\nimport { buildHTMLStyles } from './utils/build-styles.mjs';\nimport { createHtmlRenderState } from './utils/create-render-state.mjs';\n\nfunction copyRawValuesOnly(target, source, props) {\n for (const key in source) {\n if (!isMotionValue(source[key]) && !isForcedMotionValue(key, props)) {\n target[key] = source[key];\n }\n }\n}\nfunction useInitialMotionValues({ transformTemplate }, visualState) {\n return useMemo(() => {\n const state = createHtmlRenderState();\n buildHTMLStyles(state, visualState, transformTemplate);\n return Object.assign({}, state.vars, state.style);\n }, [visualState]);\n}\nfunction useStyle(props, visualState) {\n const styleProp = props.style || {};\n const style = {};\n /**\n * Copy non-Motion Values straight into style\n */\n copyRawValuesOnly(style, styleProp, props);\n Object.assign(style, useInitialMotionValues(props, visualState));\n return style;\n}\nfunction useHTMLProps(props, visualState) {\n // The `any` isn't ideal but it is the type of createElement props argument\n const htmlProps = {};\n const style = useStyle(props, visualState);\n if (props.drag && props.dragListener !== false) {\n // Disable the ghost element when a user drags\n htmlProps.draggable = false;\n // Disable text selection\n style.userSelect =\n style.WebkitUserSelect =\n style.WebkitTouchCallout =\n \"none\";\n // Disable scrolling on the draggable direction\n style.touchAction =\n props.drag === true\n ? \"none\"\n : `pan-${props.drag === \"x\" ? \"y\" : \"x\"}`;\n }\n if (props.tabIndex === undefined &&\n (props.onTap || props.onTapStart || props.whileTap)) {\n htmlProps.tabIndex = 0;\n }\n htmlProps.style = style;\n return htmlProps;\n}\n\nexport { copyRawValuesOnly, useHTMLProps };\n"],"names":["copyRawValuesOnly","target","source","props","key","isMotionValue","isForcedMotionValue","useStyle","visualState","style","Object","assign","_ref","transformTemplate","useMemo","state","createHtmlRenderState","buildHTMLStyles","vars","useInitialMotionValues","htmlProps","drag","dragListener","draggable","userSelect","WebkitUserSelect","WebkitTouchCallout","touchAction","undefined","tabIndex","onTap","onTapStart","whileTap"],"mappings":"wSAMA,SAASA,EAAkBC,EAAQC,EAAQC,GACvC,IAAK,MAAMC,KAAOF,EACTG,EAAAA,cAAcH,EAAOE,KAAUE,EAAmBA,oBAACF,EAAKD,KACzDF,EAAOG,GAAOF,EAAOE,GAGjC,CAQA,SAASG,EAASJ,EAAOK,GACrB,MACMC,EAAQ,CAAA,EAMd,OAFAT,EAAkBS,EALAN,EAAMM,OAAS,GAKGN,GACpCO,OAAOC,OAAOF,EAdlB,SAA+BG,EAAwBJ,GAAa,IAApCK,kBAAEA,GAAmBD,EACjD,OAAOE,EAAOA,SAAC,KACX,MAAMC,EAAQC,EAAAA,wBAEd,OADAC,EAAAA,gBAAgBF,EAAOP,EAAaK,GAC7BH,OAAOC,OAAO,CAAE,EAAEI,EAAMG,KAAMH,EAAMN,MAAM,GAClD,CAACD,GACR,CAQyBW,CAAuBhB,EAAOK,IAC5CC,CACX,kDACA,SAAsBN,EAAOK,GAEzB,MAAMY,EAAY,CAAA,EACZX,EAAQF,EAASJ,EAAOK,GAoB9B,OAnBIL,EAAMkB,OAA+B,IAAvBlB,EAAMmB,eAEpBF,EAAUG,WAAY,EAEtBd,EAAMe,WACFf,EAAMgB,iBACFhB,EAAMiB,mBACF,OAEZjB,EAAMkB,aACa,IAAfxB,EAAMkB,KACA,OACA,QAAsB,MAAflB,EAAMkB,KAAe,IAAM,WAEzBO,IAAnBzB,EAAM0B,WACL1B,EAAM2B,OAAS3B,EAAM4B,YAAc5B,EAAM6B,YAC1CZ,EAAUS,SAAW,GAEzBT,EAAUX,MAAQA,EACXW,CACX"}
1
+ {"version":3,"file":"use-props.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/html/use-props.mjs"],"sourcesContent":["\"use client\";\nimport { isMotionValue, isForcedMotionValue, buildHTMLStyles } from 'motion-dom';\nimport { useMemo } from 'react';\nimport { createHtmlRenderState } from './utils/create-render-state.mjs';\n\nfunction copyRawValuesOnly(target, source, props) {\n for (const key in source) {\n if (!isMotionValue(source[key]) && !isForcedMotionValue(key, props)) {\n target[key] = source[key];\n }\n }\n}\nfunction useInitialMotionValues({ transformTemplate }, visualState) {\n return useMemo(() => {\n const state = createHtmlRenderState();\n buildHTMLStyles(state, visualState, transformTemplate);\n return Object.assign({}, state.vars, state.style);\n }, [visualState]);\n}\nfunction useStyle(props, visualState) {\n const styleProp = props.style || {};\n const style = {};\n /**\n * Copy non-Motion Values straight into style\n */\n copyRawValuesOnly(style, styleProp, props);\n Object.assign(style, useInitialMotionValues(props, visualState));\n return style;\n}\nfunction useHTMLProps(props, visualState) {\n // The `any` isn't ideal but it is the type of createElement props argument\n const htmlProps = {};\n const style = useStyle(props, visualState);\n if (props.drag && props.dragListener !== false) {\n // Disable the ghost element when a user drags\n htmlProps.draggable = false;\n // Disable text selection\n style.userSelect =\n style.WebkitUserSelect =\n style.WebkitTouchCallout =\n \"none\";\n // Disable scrolling on the draggable direction\n style.touchAction =\n props.drag === true\n ? \"none\"\n : `pan-${props.drag === \"x\" ? \"y\" : \"x\"}`;\n }\n if (props.tabIndex === undefined &&\n (props.onTap || props.onTapStart || props.whileTap)) {\n htmlProps.tabIndex = 0;\n }\n htmlProps.style = style;\n return htmlProps;\n}\n\nexport { copyRawValuesOnly, useHTMLProps };\n//# sourceMappingURL=use-props.mjs.map\n"],"names":["key","source","isMotionValue","isForcedMotionValue","props","useStyle","visualState","copyRawValuesOnly","style","Object","assign","_ref","transformTemplate","state","createHtmlRenderState","buildHTMLStyles","vars","useInitialMotionValues","htmlProps","draggable","userSelect","WebkitUserSelect","WebkitTouchCallout","touchAction","drag","undefined","tabIndex","onTap","onTapStart","whileTap"],"mappings":"8ZAaI,IAAAA,MAAAA,KAAAC,EACIC,EAAAA,cAAAD,EAAAD,KAAAG,EAAAA,oBAAAH,EAAAI,eAIR,CAeA,SAAAC,EAAAD,EAAAE,GAII,WAUA,OAJAC,EAAAC,EANAJ,EAAAI,OAAA,GAMAJ,GAEAK,OAAAC,OAAAF,EAzBJ,SAAAG,EAAAL,GAAA,IAAAM,kBAAAA,GAAAD,yBAKQ,MAAAE,EAAAC,EAAAA,wBAIA,OAFAC,EAAAA,gBAAAF,EAAAP,EAAAM,GAEAH,OAAAC,OAAAG,CAAAA,EAAAA,EAAAG,KAAAH,EAAAL,MAAA,GACJ,CAAAF,GACJ,CAcIW,CAAAb,EAAAE,IAEAE,CACJ,kDAEM,SAAAJ,EAAAE,uBAkCF,qCAxBIY,EAAAC,WAAA,EAGAX,EAAAY,WACIZ,EAAAa,iBACAb,EAAAc,mBACI,OAGRd,EAAAe,wBAEQ,OACA,QAAA,MAAAnB,EAAAoB,KAAA,IAAA,WAGZC,IAAArB,EAAAsB,WAEItB,EAAAuB,OAAAvB,EAAAwB,YAAAxB,EAAAyB,YAEAX,EAAAQ,SAAA,GAGJR,EAAAV,MAAAA,EAEAU,CACJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-render-state.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs"],"sourcesContent":["const createHtmlRenderState = () => ({\n style: {},\n transform: {},\n transformOrigin: {},\n vars: {},\n});\n\nexport { createHtmlRenderState };\n"],"names":["createHtmlRenderState","style","transform","transformOrigin","vars"],"mappings":"kGAA8BA,KAAO,CACjCC,MAAO,CAAE,EACTC,UAAW,CAAE,EACbC,gBAAiB,CAAE,EACnBC,KAAM,CAAC"}
1
+ {"version":3,"file":"create-render-state.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs"],"sourcesContent":["const createHtmlRenderState = () => ({\n style: {},\n transform: {},\n transformOrigin: {},\n vars: {},\n});\n\nexport { createHtmlRenderState };\n//# sourceMappingURL=create-render-state.mjs.map\n"],"names":["createHtmlRenderState","style","transform","transformOrigin","vars"],"mappings":"kGAEqCA,KAAwB,CACzDC,MAAO,CAAE,EACTC,UAAW,CAAE,EACbC,gBAAiB,CAAE,EACnBC,KAAM,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"lowercase-elements.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs"],"sourcesContent":["/**\n * We keep these listed separately as we use the lowercase tag names as part\n * of the runtime bundle to detect SVG components\n */\nconst lowercaseSVGElements = [\n \"animate\",\n \"circle\",\n \"defs\",\n \"desc\",\n \"ellipse\",\n \"g\",\n \"image\",\n \"line\",\n \"filter\",\n \"marker\",\n \"mask\",\n \"metadata\",\n \"path\",\n \"pattern\",\n \"polygon\",\n \"polyline\",\n \"rect\",\n \"stop\",\n \"switch\",\n \"symbol\",\n \"svg\",\n \"text\",\n \"tspan\",\n \"use\",\n \"view\",\n];\n\nexport { lowercaseSVGElements };\n"],"names":[],"mappings":"iGAI6B,CACzB,UACA,SACA,OACA,OACA,UACA,IACA,QACA,OACA,SACA,SACA,OACA,WACA,OACA,UACA,UACA,WACA,OACA,OACA,SACA,SACA,MACA,OACA,QACA,MACA"}
1
+ {"version":3,"file":"lowercase-elements.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs"],"sourcesContent":["/**\n * We keep these listed separately as we use the lowercase tag names as part\n * of the runtime bundle to detect SVG components\n */\nconst lowercaseSVGElements = [\n \"animate\",\n \"circle\",\n \"defs\",\n \"desc\",\n \"ellipse\",\n \"g\",\n \"image\",\n \"line\",\n \"filter\",\n \"marker\",\n \"mask\",\n \"metadata\",\n \"path\",\n \"pattern\",\n \"polygon\",\n \"polyline\",\n \"rect\",\n \"stop\",\n \"switch\",\n \"symbol\",\n \"svg\",\n \"text\",\n \"tspan\",\n \"use\",\n \"view\",\n];\n\nexport { lowercaseSVGElements };\n//# sourceMappingURL=lowercase-elements.mjs.map\n"],"names":[],"mappings":"iGAIoC,CAChC,UACA,SACA,OACA,OACA,UACA,IACA,QACA,OACA,SACA,SACA,OACA,WACA,OACA,UACA,UACA,WACA,OACA,OACA,SACA,SACA,MACA,OACA,QACA,MACA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),s=require("../html/use-props.mjs.js"),t=require("./utils/build-attrs.mjs.js"),r=require("./utils/create-render-state.mjs.js"),u=require("./utils/is-svg-tag.mjs.js");exports.useSVGProps=function(l,i,a,o){const n=e.useMemo((()=>{const e=r.createSvgRenderState();return t.buildSVGAttrs(e,i,u.isSVGTag(o),l.transformTemplate),{...e.attrs,style:{...e.style}}}),[i]);if(l.style){const e={};s.copyRawValuesOnly(e,l.style,l),n.style={...e,...n.style}}return n};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),s=require("../html/use-props.mjs.js"),t=require("./utils/create-render-state.mjs.js"),r=require("../../../../../motion-dom/dist/es/render/svg/utils/build-attrs.mjs.js"),i=require("../../../../../motion-dom/dist/es/render/svg/utils/is-svg-tag.mjs.js");exports.useSVGProps=function(u,o,l,n){const a=e.useMemo((()=>{const e=t.createSvgRenderState();return r.buildSVGAttrs(e,o,i.isSVGTag(n),u.transformTemplate,u.style),{...e.attrs,style:{...e.style}}}),[o]);if(u.style){const e={};s.copyRawValuesOnly(e,u.style,u),a.style={...e,...a.style}}return a};
2
2
  //# sourceMappingURL=use-props.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-props.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/svg/use-props.mjs"],"sourcesContent":["import { useMemo } from 'react';\nimport { copyRawValuesOnly } from '../html/use-props.mjs';\nimport { buildSVGAttrs } from './utils/build-attrs.mjs';\nimport { createSvgRenderState } from './utils/create-render-state.mjs';\nimport { isSVGTag } from './utils/is-svg-tag.mjs';\n\nfunction useSVGProps(props, visualState, _isStatic, Component) {\n const visualProps = useMemo(() => {\n const state = createSvgRenderState();\n buildSVGAttrs(state, visualState, isSVGTag(Component), props.transformTemplate);\n return {\n ...state.attrs,\n style: { ...state.style },\n };\n }, [visualState]);\n if (props.style) {\n const rawStyles = {};\n copyRawValuesOnly(rawStyles, props.style, props);\n visualProps.style = { ...rawStyles, ...visualProps.style };\n }\n return visualProps;\n}\n\nexport { useSVGProps };\n"],"names":["props","visualState","_isStatic","Component","visualProps","useMemo","state","createSvgRenderState","buildSVGAttrs","isSVGTag","transformTemplate","attrs","style","rawStyles","copyRawValuesOnly"],"mappings":"oRAMA,SAAqBA,EAAOC,EAAaC,EAAWC,GAChD,MAAMC,EAAcC,EAAAA,SAAQ,KACxB,MAAMC,EAAQC,EAAAA,uBAEd,OADAC,EAAaA,cAACF,EAAOL,EAAaQ,EAAAA,SAASN,GAAYH,EAAMU,mBACtD,IACAJ,EAAMK,MACTC,MAAO,IAAKN,EAAMM,OACrB,GACF,CAACX,IACJ,GAAID,EAAMY,MAAO,CACb,MAAMC,EAAY,CAAA,EAClBC,EAAAA,kBAAkBD,EAAWb,EAAMY,MAAOZ,GAC1CI,EAAYQ,MAAQ,IAAKC,KAAcT,EAAYQ,MACvD,CACA,OAAOR,CACX"}
1
+ {"version":3,"file":"use-props.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/svg/use-props.mjs"],"sourcesContent":["\"use client\";\nimport { buildSVGAttrs, isSVGTag } from 'motion-dom';\nimport { useMemo } from 'react';\nimport { copyRawValuesOnly } from '../html/use-props.mjs';\nimport { createSvgRenderState } from './utils/create-render-state.mjs';\n\nfunction useSVGProps(props, visualState, _isStatic, Component) {\n const visualProps = useMemo(() => {\n const state = createSvgRenderState();\n buildSVGAttrs(state, visualState, isSVGTag(Component), props.transformTemplate, props.style);\n return {\n ...state.attrs,\n style: { ...state.style },\n };\n }, [visualState]);\n if (props.style) {\n const rawStyles = {};\n copyRawValuesOnly(rawStyles, props.style, props);\n visualProps.style = { ...rawStyles, ...visualProps.style };\n }\n return visualProps;\n}\n\nexport { useSVGProps };\n//# sourceMappingURL=use-props.mjs.map\n"],"names":["props","visualState","_isStatic","Component","visualProps","useMemo","state","createSvgRenderState","buildSVGAttrs","isSVGTag","transformTemplate","style","rawStyles"],"mappings":"0WASM,SAAAA,EAAAC,EAAAC,EAAAC,GAMF,MAAAC,EAAAC,EAAAA,SAAA,KACI,MAAAC,EAAAC,EAAAA,8BAEAC,gBAAAF,EAAAL,EAAAQ,WAAAN,GAAAH,EAAAU,kBAAAV,EAAAW,mBAUIA,MAAA,IAAAL,EAAAK,UAER,CAAAV,IAEA,GAAAD,EAAAW,MAAA,6CAGIP,EAAAO,MAAA,IAAAC,KAAAR,EAAAO,OAGJ,OAAAP,CACJ"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../motion/utils/use-visual-state.mjs.js"),s=require("./utils/create-render-state.mjs.js"),t=require("../../../../../motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs.js");const r=e.makeUseVisualState({scrapeMotionValuesFromProps:t.scrapeMotionValuesFromProps,createRenderState:s.createSvgRenderState});exports.useSVGVisualState=r;
2
+ //# sourceMappingURL=use-svg-visual-state.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-svg-visual-state.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs"],"sourcesContent":["\"use client\";\nimport { scrapeSVGMotionValuesFromProps } from 'motion-dom';\nimport { makeUseVisualState } from '../../motion/utils/use-visual-state.mjs';\nimport { createSvgRenderState } from './utils/create-render-state.mjs';\n\nconst useSVGVisualState = /*@__PURE__*/ makeUseVisualState({\n scrapeMotionValuesFromProps: scrapeSVGMotionValuesFromProps,\n createRenderState: createSvgRenderState,\n});\n\nexport { useSVGVisualState };\n//# sourceMappingURL=use-svg-visual-state.mjs.map\n"],"names":["useSVGVisualState","makeUseVisualState","scrapeMotionValuesFromProps","scrapeSVGMotionValuesFromProps","createRenderState","createSvgRenderState"],"mappings":"4QAMOA,MAAAA,EAAAC,EAAAA,mBAAA,CACHC,4BAAAC,EAAAD,4BACAE,kBAAAC,EAAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-render-state.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs"],"sourcesContent":["import { createHtmlRenderState } from '../../html/utils/create-render-state.mjs';\n\nconst createSvgRenderState = () => ({\n ...createHtmlRenderState(),\n attrs: {},\n});\n\nexport { createSvgRenderState };\n"],"names":["createSvgRenderState","createHtmlRenderState","attrs"],"mappings":"8JAE6BA,KAAO,IAC7BC,0BACHC,MAAO,CAAC"}
1
+ {"version":3,"file":"create-render-state.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs"],"sourcesContent":["import { createHtmlRenderState } from '../../html/utils/create-render-state.mjs';\n\nconst createSvgRenderState = () => ({\n ...createHtmlRenderState(),\n attrs: {},\n});\n\nexport { createSvgRenderState };\n//# sourceMappingURL=create-render-state.mjs.map\n"],"names":["createSvgRenderState","createHtmlRenderState","attrs"],"mappings":"8JAGoCA,KAAuB,IACpDC,0BACHC,MAAO,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"distance.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/distance.mjs"],"sourcesContent":["const distance = (a, b) => Math.abs(a - b);\nfunction distance2D(a, b) {\n // Multi-dimensional\n const xDelta = distance(a.x, b.x);\n const yDelta = distance(a.y, b.y);\n return Math.sqrt(xDelta ** 2 + yDelta ** 2);\n}\n\nexport { distance, distance2D };\n"],"names":["distance","a","b","Math","abs","xDelta","x","yDelta","y","sqrt"],"mappings":"oEAAA,MAAMA,EAAWA,CAACC,EAAGC,IAAMC,KAAKC,IAAIH,EAAIC,yCACxC,SAAoBD,EAAGC,GAEnB,MAAMG,EAASL,EAASC,EAAEK,EAAGJ,EAAEI,GACzBC,EAASP,EAASC,EAAEO,EAAGN,EAAEM,GAC/B,OAAOL,KAAKM,KAAKJ,GAAU,EAAIE,GAAU,EAC7C"}
1
+ {"version":3,"file":"distance.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/distance.mjs"],"sourcesContent":["const distance = (a, b) => Math.abs(a - b);\nfunction distance2D(a, b) {\n // Multi-dimensional\n const xDelta = distance(a.x, b.x);\n const yDelta = distance(a.y, b.y);\n return Math.sqrt(xDelta ** 2 + yDelta ** 2);\n}\n\nexport { distance, distance2D };\n//# sourceMappingURL=distance.mjs.map\n"],"names":["distance","a","b","Math","abs","xDelta","x","yDelta","y","sqrt"],"mappings":"oEAEO,MAAMA,EAAWA,CAACC,EAAWC,IAAcC,KAAKC,IAAIH,EAAIC,yCAEzD,SAAqBD,EAAUC,GAEjC,MAAMG,EAASL,EAASC,EAAEK,EAAGJ,EAAEI,GACzBC,EAASP,EAASC,EAAEO,EAAGN,EAAEM,GAC/B,OAAOL,KAAKM,KAAKJ,GAAU,EAAIE,GAAU,EAC7C"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-context-window.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/get-context-window.mjs"],"sourcesContent":["// Fixes https://github.com/motiondivision/motion/issues/2270\nconst getContextWindow = ({ current }) => {\n return current ? current.ownerDocument.defaultView : null;\n};\n\nexport { getContextWindow };\n"],"names":["_ref","current","ownerDocument","defaultView"],"mappings":"6FACyBA,IAAiB,IAAhBC,QAAEA,GAASD,EACjC,OAAOC,EAAUA,EAAQC,cAAcC,YAAc,IAAI"}
1
+ {"version":3,"file":"get-context-window.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/get-context-window.mjs"],"sourcesContent":["// Fixes https://github.com/motiondivision/motion/issues/2270\nconst getContextWindow = ({ current }) => {\n return current ? current.ownerDocument.defaultView : null;\n};\n\nexport { getContextWindow };\n//# sourceMappingURL=get-context-window.mjs.map\n"],"names":["_ref","current","ownerDocument","defaultView"],"mappings":"6FAGgCA,IAAwC,IAAvCC,QAAEA,GAAiCD,EAChE,OAAOC,EAAUA,EAAQC,cAAcC,YAAc,IAAI"}
@@ -1 +1 @@
1
- {"version":3,"file":"is-browser.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/is-browser.mjs"],"sourcesContent":["const isBrowser = typeof window !== \"undefined\";\n\nexport { isBrowser };\n"],"names":["isBrowser","window"],"mappings":"oEAAA,MAAMA,EAA8B,oBAAXC"}
1
+ {"version":3,"file":"is-browser.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/is-browser.mjs"],"sourcesContent":["const isBrowser = typeof window !== \"undefined\";\n\nexport { isBrowser };\n//# sourceMappingURL=is-browser.mjs.map\n"],"names":["isBrowser","window"],"mappings":"0EAAaA,EAA8B,oBAAXC"}
@@ -1 +1 @@
1
- {"version":3,"file":"is-ref-object.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/is-ref-object.mjs"],"sourcesContent":["function isRefObject(ref) {\n return (ref &&\n typeof ref === \"object\" &&\n Object.prototype.hasOwnProperty.call(ref, \"current\"));\n}\n\nexport { isRefObject };\n"],"names":["ref","Object","prototype","hasOwnProperty","call"],"mappings":"wFAAA,SAAqBA,GACjB,OAAQA,GACW,iBAARA,GACPC,OAAOC,UAAUC,eAAeC,KAAKJ,EAAK,UAClD"}
1
+ {"version":3,"file":"is-ref-object.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/is-ref-object.mjs"],"sourcesContent":["function isRefObject(ref) {\n return (ref &&\n typeof ref === \"object\" &&\n Object.prototype.hasOwnProperty.call(ref, \"current\"));\n}\n\nexport { isRefObject };\n//# sourceMappingURL=is-ref-object.mjs.map\n"],"names":["ref","Object","prototype","hasOwnProperty","call"],"mappings":"wFAEM,SAA+BA,GACjC,OACIA,GACe,iBAARA,GACPC,OAAOC,UAAUC,eAAeC,KAAKJ,EAAK,UAElD"}
@@ -0,0 +1,2 @@
1
+ "use strict";function e(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react"));function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}exports.useComposedRefs=function(){for(var e=arguments.length,n=new Array(e),u=0;u<e;u++)n[u]=arguments[u];return t.useCallback(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{let n=!1;const u=t.map((t=>{const u=r(t,e);return n||"function"!=typeof u||(n=!0),u}));if(n)return()=>{for(let e=0;e<u.length;e++){const n=u[e];"function"==typeof n?n():r(t[e],null)}}}}(...n),n)};
2
+ //# sourceMappingURL=use-composed-ref.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-composed-ref.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs"],"sourcesContent":["import * as React from 'react';\n\n/**\n * Taken from https://github.com/radix-ui/primitives/blob/main/packages/react/compose-refs/src/compose-refs.tsx\n */\n/**\n * Set a given ref to a given value\n * This utility takes care of different types of refs: callback refs and RefObject(s)\n */\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n }\n else if (ref !== null && ref !== undefined) {\n ref.current = value;\n }\n}\n/**\n * A utility to compose multiple refs together\n * Accepts callback refs and RefObject(s)\n */\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup === \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n // React <19 will log an error to the console if a callback ref returns a\n // value. We don't use ref cleanups internally so this will only happen if a\n // user's ref callback returns a value, which we only expect if they are\n // using the cleanup functionality added in React 19.\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup === \"function\") {\n cleanup();\n }\n else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\n/**\n * A custom hook that composes multiple refs\n * Accepts callback refs and RefObject(s)\n */\nfunction useComposedRefs(...refs) {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n return React.useCallback(composeRefs(...refs), refs);\n}\n\nexport { useComposedRefs };\n//# sourceMappingURL=use-composed-ref.mjs.map\n"],"names":["setRef","ref","value","current","_len2","arguments","length","refs","Array","_key2","React","useCallback","_len","_key","node","hasCleanup","cleanups","map","cleanup","i","composeRefs"],"mappings":"6XAWA,SAASA,EAAUC,EAAqBC,GACpC,GAAmB,mBAARD,EACP,OAAOA,EAAIC,GACJD,UACLA,EAAkCE,QAAUD,EAEtD,yBAuCA,WAAqD,IAAA,IAAAE,EAAAC,UAAAC,OAAtBC,EAAsBC,IAAAA,MAAAJ,GAAAK,EAAA,EAAAA,EAAAL,EAAAK,IAAtBF,EAAsBE,GAAAJ,UAAAI,GAEjD,OAAOC,EAAMC,YAnCjB,WAAiD,IAAA,IAAAC,EAAAP,UAAAC,OAAtBC,EAAsBC,IAAAA,MAAAI,GAAAC,EAAA,EAAAA,EAAAD,EAAAC,IAAtBN,EAAsBM,GAAAR,UAAAQ,GAC7C,OAAQC,IACJ,IAAIC,GAAa,EACjB,MAAMC,EAAWT,EAAKU,KAAKhB,IACvB,MAAMiB,EAAUlB,EAAOC,EAAKa,GAI5B,OAHKC,GAAiC,mBAAZG,IACtBH,GAAa,GAEVG,CAAO,IAMlB,GAAIH,EACA,MAAO,KACH,IAAK,IAAII,EAAI,EAAGA,EAAIH,EAASV,OAAQa,IAAK,CACtC,MAAMD,EAAUF,EAASG,GACF,mBAAZD,EACPA,IAEAlB,EAAOO,EAAKY,GAAI,KAExB,EAER,CAER,CAQ6BC,IAAeb,GAAOA,EACnD"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-constant.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/use-constant.mjs"],"sourcesContent":["import { useRef } from 'react';\n\n/**\n * Creates a constant value over the lifecycle of a component.\n *\n * Even if `useMemo` is provided an empty array as its final argument, it doesn't offer\n * a guarantee that it won't re-run for performance reasons later on. By using `useConstant`\n * you can ensure that initialisers don't execute twice or more.\n */\nfunction useConstant(init) {\n const ref = useRef(null);\n if (ref.current === null) {\n ref.current = init();\n }\n return ref.current;\n}\n\nexport { useConstant };\n"],"names":["init","ref","useRef","current"],"mappings":"+GASA,SAAqBA,GACjB,MAAMC,EAAMC,SAAO,MAInB,OAHoB,OAAhBD,EAAIE,UACJF,EAAIE,QAAUH,KAEXC,EAAIE,OACf"}
1
+ {"version":3,"file":"use-constant.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/use-constant.mjs"],"sourcesContent":["\"use client\";\nimport { useRef } from 'react';\n\n/**\n * Creates a constant value over the lifecycle of a component.\n *\n * Even if `useMemo` is provided an empty array as its final argument, it doesn't offer\n * a guarantee that it won't re-run for performance reasons later on. By using `useConstant`\n * you can ensure that initialisers don't execute twice or more.\n */\nfunction useConstant(init) {\n const ref = useRef(null);\n if (ref.current === null) {\n ref.current = init();\n }\n return ref.current;\n}\n\nexport { useConstant };\n//# sourceMappingURL=use-constant.mjs.map\n"],"names":["init","ref","useRef","current"],"mappings":"+GAaM,SAAAA,GACF,MAAAC,EAAAC,SAAA,aAEA,OAAAD,EAAAE,UACIF,EAAAE,QAAAH,cAIR"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-isomorphic-effect.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs"],"sourcesContent":["import { useLayoutEffect, useEffect } from 'react';\nimport { isBrowser } from './is-browser.mjs';\n\nconst useIsomorphicLayoutEffect = isBrowser ? useLayoutEffect : useEffect;\n\nexport { useIsomorphicLayoutEffect };\n"],"names":["useIsomorphicLayoutEffect","isBrowser","useLayoutEffect","useEffect"],"mappings":"2FAGA,MAAMA,iCAAqCC,UAAGC,kBAAkBC,EAAAA"}
1
+ {"version":3,"file":"use-isomorphic-effect.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs"],"sourcesContent":["\"use client\";\nimport { useLayoutEffect, useEffect } from 'react';\nimport { isBrowser } from './is-browser.mjs';\n\nconst useIsomorphicLayoutEffect = isBrowser ? useLayoutEffect : useEffect;\n\nexport { useIsomorphicLayoutEffect };\n//# sourceMappingURL=use-isomorphic-effect.mjs.map\n"],"names":["useIsomorphicLayoutEffect","isBrowser","useLayoutEffect","useEffect"],"mappings":"2FAKO,MAAAA,iCAAAC,UAAAC,kBAAAC,EAAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../@babel/runtime/helpers/esm/classCallCheck.js"),o=require("../../../@babel/runtime/helpers/esm/createClass.js"),t=[],n=t.forEach,i=t.slice;var a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,r=function(e,o,t,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};t&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+60*t*1e3)),n&&(i.domain=n),document.cookie=function(e,o,t){var n=t||{};n.path=n.path||"/";var i=encodeURIComponent(o),r="".concat(e,"=").concat(i);if(n.maxAge>0){var s=n.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");r+="; Max-Age=".concat(Math.floor(s))}if(n.domain){if(!a.test(n.domain))throw new TypeError("option domain is invalid");r+="; Domain=".concat(n.domain)}if(n.path){if(!a.test(n.path))throw new TypeError("option path is invalid");r+="; Path=".concat(n.path)}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw new TypeError("option expires is invalid");r+="; Expires=".concat(n.expires.toUTCString())}if(n.httpOnly&&(r+="; HttpOnly"),n.secure&&(r+="; Secure"),n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:r+="; SameSite=Strict";break;case"lax":r+="; SameSite=Lax";break;case"strict":r+="; SameSite=Strict";break;case"none":r+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r}(e,encodeURIComponent(o),i)},s=function(e){for(var o="".concat(e,"="),t=document.cookie.split(";"),n=0;n<t.length;n++){for(var i=t[n];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(o))return i.substring(o.length,i.length)}return null},u={name:"cookie",lookup:function(e){var o;if(e.lookupCookie&&"undefined"!=typeof document){var t=s(e.lookupCookie);t&&(o=t)}return o},cacheUserLanguage:function(e,o){o.lookupCookie&&"undefined"!=typeof document&&r(o.lookupCookie,e,o.cookieMinutes,o.cookieDomain,o.cookieOptions)}},c={name:"querystring",lookup:function(e){var o;if("undefined"!=typeof window){var t=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(t=window.location.hash.substring(window.location.hash.indexOf("?")));for(var n=t.substring(1).split("&"),i=0;i<n.length;i++){var a=n[i].indexOf("=");if(a>0)n[i].substring(0,a)===e.lookupQuerystring&&(o=n[i].substring(a+1))}}return o}},l=null,d=function(){if(null!==l)return l;try{l="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){l=!1}return l},g={name:"localStorage",lookup:function(e){var o;if(e.lookupLocalStorage&&d()){var t=window.localStorage.getItem(e.lookupLocalStorage);t&&(o=t)}return o},cacheUserLanguage:function(e,o){o.lookupLocalStorage&&d()&&window.localStorage.setItem(o.lookupLocalStorage,e)}},p=null,f=function(){if(null!==p)return p;try{p="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){p=!1}return p},h={name:"sessionStorage",lookup:function(e){var o;if(e.lookupSessionStorage&&f()){var t=window.sessionStorage.getItem(e.lookupSessionStorage);t&&(o=t)}return o},cacheUserLanguage:function(e,o){o.lookupSessionStorage&&f()&&window.sessionStorage.setItem(o.lookupSessionStorage,e)}},m={name:"navigator",lookup:function(e){var o=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var t=0;t<navigator.languages.length;t++)o.push(navigator.languages[t]);navigator.userLanguage&&o.push(navigator.userLanguage),navigator.language&&o.push(navigator.language)}return o.length>0?o:void 0}},v={name:"htmlTag",lookup:function(e){var o,t=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return t&&"function"==typeof t.getAttribute&&(o=t.getAttribute("lang")),o}},w={name:"path",lookup:function(e){var o;if("undefined"!=typeof window){var t=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(t instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof t[e.lookupFromPathIndex])return;o=t[e.lookupFromPathIndex].replace("/","")}else o=t[0].replace("/","")}return o}},k={name:"subdomain",lookup:function(e){var o="number"==typeof e.lookupFromSubdomainIndex?e.lookupFromSubdomainIndex+1:1,t="undefined"!=typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(t)return t[o]}};var S=function(){function t(o){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.default(this,t),this.type="languageDetector",this.detectors={},this.init(o,n)}return o.default(t,[{key:"init",value:function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e||{languageUtils:{}},this.options=function(e){return n.call(i.call(arguments,1),(function(o){if(o)for(var t in o)void 0===e[t]&&(e[t]=o[t])})),e}(o,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(e){return e}}),"string"==typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(e){return e.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=t,this.addDetector(u),this.addDetector(c),this.addDetector(g),this.addDetector(h),this.addDetector(m),this.addDetector(v),this.addDetector(w),this.addDetector(k)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var o=this;e||(e=this.options.order);var t=[];return e.forEach((function(e){if(o.detectors[e]){var n=o.detectors[e].lookup(o.options);n&&"string"==typeof n&&(n=[n]),n&&(t=t.concat(n))}})),t=t.map((function(e){return o.options.convertDetectedLanguage(e)})),this.services.languageUtils.getBestMatchFromCodes?t:t.length>0?t[0]:null}},{key:"cacheUserLanguage",value:function(e,o){var t=this;o||(o=this.options.caches),o&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||o.forEach((function(o){t.detectors[o]&&t.detectors[o].cacheUserLanguage(e,t.options)})))}}]),t}();S.type="languageDetector",exports.default=S;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../@babel/runtime/helpers/esm/classCallCheck.js"),o=require("../../../@babel/runtime/helpers/esm/createClass.js"),t=[],n=t.forEach,i=t.slice;var a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,r=function(e,o,t,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};t&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+60*t*1e3)),n&&(i.domain=n),document.cookie=function(e,o,t){var n=t||{};n.path=n.path||"/";var i=encodeURIComponent(o),r="".concat(e,"=").concat(i);if(n.maxAge>0){var s=n.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");r+="; Max-Age=".concat(Math.floor(s))}if(n.domain){if(!a.test(n.domain))throw new TypeError("option domain is invalid");r+="; Domain=".concat(n.domain)}if(n.path){if(!a.test(n.path))throw new TypeError("option path is invalid");r+="; Path=".concat(n.path)}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw new TypeError("option expires is invalid");r+="; Expires=".concat(n.expires.toUTCString())}if(n.httpOnly&&(r+="; HttpOnly"),n.secure&&(r+="; Secure"),n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:r+="; SameSite=Strict";break;case"lax":r+="; SameSite=Lax";break;case"strict":r+="; SameSite=Strict";break;case"none":r+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r}(e,encodeURIComponent(o),i)},s=function(e){for(var o="".concat(e,"="),t=document.cookie.split(";"),n=0;n<t.length;n++){for(var i=t[n];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(o))return i.substring(o.length,i.length)}return null},u={name:"cookie",lookup:function(e){var o;if(e.lookupCookie&&"undefined"!=typeof document){var t=s(e.lookupCookie);t&&(o=t)}return o},cacheUserLanguage:function(e,o){o.lookupCookie&&"undefined"!=typeof document&&r(o.lookupCookie,e,o.cookieMinutes,o.cookieDomain,o.cookieOptions)}},c={name:"querystring",lookup:function(e){var o;if("undefined"!=typeof window){var t=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(t=window.location.hash.substring(window.location.hash.indexOf("?")));for(var n=t.substring(1).split("&"),i=0;i<n.length;i++){var a=n[i].indexOf("=");if(a>0)n[i].substring(0,a)===e.lookupQuerystring&&(o=n[i].substring(a+1))}}return o}},l=null,d=function(){if(null!==l)return l;try{l="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){l=!1}return l},g={name:"localStorage",lookup:function(e){var o;if(e.lookupLocalStorage&&d()){var t=window.localStorage.getItem(e.lookupLocalStorage);t&&(o=t)}return o},cacheUserLanguage:function(e,o){o.lookupLocalStorage&&d()&&window.localStorage.setItem(o.lookupLocalStorage,e)}},p=null,h=function(){if(null!==p)return p;try{p="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){p=!1}return p},f={name:"sessionStorage",lookup:function(e){var o;if(e.lookupSessionStorage&&h()){var t=window.sessionStorage.getItem(e.lookupSessionStorage);t&&(o=t)}return o},cacheUserLanguage:function(e,o){o.lookupSessionStorage&&h()&&window.sessionStorage.setItem(o.lookupSessionStorage,e)}},m={name:"navigator",lookup:function(e){var o=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var t=0;t<navigator.languages.length;t++)o.push(navigator.languages[t]);navigator.userLanguage&&o.push(navigator.userLanguage),navigator.language&&o.push(navigator.language)}return o.length>0?o:void 0}},v={name:"htmlTag",lookup:function(e){var o,t=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return t&&"function"==typeof t.getAttribute&&(o=t.getAttribute("lang")),o}},w={name:"path",lookup:function(e){var o;if("undefined"!=typeof window){var t=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(t instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof t[e.lookupFromPathIndex])return;o=t[e.lookupFromPathIndex].replace("/","")}else o=t[0].replace("/","")}return o}},k={name:"subdomain",lookup:function(e){var o="number"==typeof e.lookupFromSubdomainIndex?e.lookupFromSubdomainIndex+1:1,t="undefined"!=typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(t)return t[o]}},S=!1;try{document.cookie,S=!0}catch(e){}var x=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];S||x.splice(1,1);var y=function(){return o.default((function o(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.default(this,o),this.type="languageDetector",this.detectors={},this.init(t,n)}),[{key:"init",value:function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e||{languageUtils:{}},this.options=function(e){return n.call(i.call(arguments,1),(function(o){if(o)for(var t in o)void 0===e[t]&&(e[t]=o[t])})),e}(o,this.options||{},{order:x,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(e){return e}}),"string"==typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(e){return e.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=t,this.addDetector(u),this.addDetector(c),this.addDetector(g),this.addDetector(f),this.addDetector(m),this.addDetector(v),this.addDetector(w),this.addDetector(k)}},{key:"addDetector",value:function(e){return this.detectors[e.name]=e,this}},{key:"detect",value:function(e){var o=this;e||(e=this.options.order);var t=[];return e.forEach((function(e){if(o.detectors[e]){var n=o.detectors[e].lookup(o.options);n&&"string"==typeof n&&(n=[n]),n&&(t=t.concat(n))}})),t=t.map((function(e){return o.options.convertDetectedLanguage(e)})),this.services.languageUtils.getBestMatchFromCodes?t:t.length>0?t[0]:null}},{key:"cacheUserLanguage",value:function(e,o){var t=this;o||(o=this.options.caches),o&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||o.forEach((function(o){t.detectors[o]&&t.detectors[o].cacheUserLanguage(e,t.options)})))}}])}();y.type="languageDetector",exports.default=y;
2
2
  //# sourceMappingURL=i18nextBrowserLanguageDetector.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"i18nextBrowserLanguageDetector.js","sources":["../../../../../node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js"],"sourcesContent":["import _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck';\nimport _createClass from '@babel/runtime/helpers/esm/createClass';\n\nvar arr = [];\nvar each = arr.forEach;\nvar slice = arr.slice;\nfunction defaults(obj) {\n each.call(slice.call(arguments, 1), function (source) {\n if (source) {\n for (var prop in source) {\n if (obj[prop] === undefined) obj[prop] = source[prop];\n }\n }\n });\n return obj;\n}\n\n// eslint-disable-next-line no-control-regex\nvar fieldContentRegExp = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/;\nvar serializeCookie = function serializeCookie(name, val, options) {\n var opt = options || {};\n opt.path = opt.path || '/';\n var value = encodeURIComponent(val);\n var str = \"\".concat(name, \"=\").concat(value);\n if (opt.maxAge > 0) {\n var maxAge = opt.maxAge - 0;\n if (Number.isNaN(maxAge)) throw new Error('maxAge should be a Number');\n str += \"; Max-Age=\".concat(Math.floor(maxAge));\n }\n if (opt.domain) {\n if (!fieldContentRegExp.test(opt.domain)) {\n throw new TypeError('option domain is invalid');\n }\n str += \"; Domain=\".concat(opt.domain);\n }\n if (opt.path) {\n if (!fieldContentRegExp.test(opt.path)) {\n throw new TypeError('option path is invalid');\n }\n str += \"; Path=\".concat(opt.path);\n }\n if (opt.expires) {\n if (typeof opt.expires.toUTCString !== 'function') {\n throw new TypeError('option expires is invalid');\n }\n str += \"; Expires=\".concat(opt.expires.toUTCString());\n }\n if (opt.httpOnly) str += '; HttpOnly';\n if (opt.secure) str += '; Secure';\n if (opt.sameSite) {\n var sameSite = typeof opt.sameSite === 'string' ? opt.sameSite.toLowerCase() : opt.sameSite;\n switch (sameSite) {\n case true:\n str += '; SameSite=Strict';\n break;\n case 'lax':\n str += '; SameSite=Lax';\n break;\n case 'strict':\n str += '; SameSite=Strict';\n break;\n case 'none':\n str += '; SameSite=None';\n break;\n default:\n throw new TypeError('option sameSite is invalid');\n }\n }\n return str;\n};\nvar cookie = {\n create: function create(name, value, minutes, domain) {\n var cookieOptions = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {\n path: '/',\n sameSite: 'strict'\n };\n if (minutes) {\n cookieOptions.expires = new Date();\n cookieOptions.expires.setTime(cookieOptions.expires.getTime() + minutes * 60 * 1000);\n }\n if (domain) cookieOptions.domain = domain;\n document.cookie = serializeCookie(name, encodeURIComponent(value), cookieOptions);\n },\n read: function read(name) {\n var nameEQ = \"\".concat(name, \"=\");\n var ca = document.cookie.split(';');\n for (var i = 0; i < ca.length; i++) {\n var c = ca[i];\n while (c.charAt(0) === ' ') {\n c = c.substring(1, c.length);\n }\n if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);\n }\n return null;\n },\n remove: function remove(name) {\n this.create(name, '', -1);\n }\n};\nvar cookie$1 = {\n name: 'cookie',\n lookup: function lookup(options) {\n var found;\n if (options.lookupCookie && typeof document !== 'undefined') {\n var c = cookie.read(options.lookupCookie);\n if (c) found = c;\n }\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupCookie && typeof document !== 'undefined') {\n cookie.create(options.lookupCookie, lng, options.cookieMinutes, options.cookieDomain, options.cookieOptions);\n }\n }\n};\n\nvar querystring = {\n name: 'querystring',\n lookup: function lookup(options) {\n var found;\n if (typeof window !== 'undefined') {\n var search = window.location.search;\n if (!window.location.search && window.location.hash && window.location.hash.indexOf('?') > -1) {\n search = window.location.hash.substring(window.location.hash.indexOf('?'));\n }\n var query = search.substring(1);\n var params = query.split('&');\n for (var i = 0; i < params.length; i++) {\n var pos = params[i].indexOf('=');\n if (pos > 0) {\n var key = params[i].substring(0, pos);\n if (key === options.lookupQuerystring) {\n found = params[i].substring(pos + 1);\n }\n }\n }\n }\n return found;\n }\n};\n\nvar hasLocalStorageSupport = null;\nvar localStorageAvailable = function localStorageAvailable() {\n if (hasLocalStorageSupport !== null) return hasLocalStorageSupport;\n try {\n hasLocalStorageSupport = window !== 'undefined' && window.localStorage !== null;\n var testKey = 'i18next.translate.boo';\n window.localStorage.setItem(testKey, 'foo');\n window.localStorage.removeItem(testKey);\n } catch (e) {\n hasLocalStorageSupport = false;\n }\n return hasLocalStorageSupport;\n};\nvar localStorage = {\n name: 'localStorage',\n lookup: function lookup(options) {\n var found;\n if (options.lookupLocalStorage && localStorageAvailable()) {\n var lng = window.localStorage.getItem(options.lookupLocalStorage);\n if (lng) found = lng;\n }\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupLocalStorage && localStorageAvailable()) {\n window.localStorage.setItem(options.lookupLocalStorage, lng);\n }\n }\n};\n\nvar hasSessionStorageSupport = null;\nvar sessionStorageAvailable = function sessionStorageAvailable() {\n if (hasSessionStorageSupport !== null) return hasSessionStorageSupport;\n try {\n hasSessionStorageSupport = window !== 'undefined' && window.sessionStorage !== null;\n var testKey = 'i18next.translate.boo';\n window.sessionStorage.setItem(testKey, 'foo');\n window.sessionStorage.removeItem(testKey);\n } catch (e) {\n hasSessionStorageSupport = false;\n }\n return hasSessionStorageSupport;\n};\nvar sessionStorage = {\n name: 'sessionStorage',\n lookup: function lookup(options) {\n var found;\n if (options.lookupSessionStorage && sessionStorageAvailable()) {\n var lng = window.sessionStorage.getItem(options.lookupSessionStorage);\n if (lng) found = lng;\n }\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupSessionStorage && sessionStorageAvailable()) {\n window.sessionStorage.setItem(options.lookupSessionStorage, lng);\n }\n }\n};\n\nvar navigator$1 = {\n name: 'navigator',\n lookup: function lookup(options) {\n var found = [];\n if (typeof navigator !== 'undefined') {\n if (navigator.languages) {\n // chrome only; not an array, so can't use .push.apply instead of iterating\n for (var i = 0; i < navigator.languages.length; i++) {\n found.push(navigator.languages[i]);\n }\n }\n if (navigator.userLanguage) {\n found.push(navigator.userLanguage);\n }\n if (navigator.language) {\n found.push(navigator.language);\n }\n }\n return found.length > 0 ? found : undefined;\n }\n};\n\nvar htmlTag = {\n name: 'htmlTag',\n lookup: function lookup(options) {\n var found;\n var htmlTag = options.htmlTag || (typeof document !== 'undefined' ? document.documentElement : null);\n if (htmlTag && typeof htmlTag.getAttribute === 'function') {\n found = htmlTag.getAttribute('lang');\n }\n return found;\n }\n};\n\nvar path = {\n name: 'path',\n lookup: function lookup(options) {\n var found;\n if (typeof window !== 'undefined') {\n var language = window.location.pathname.match(/\\/([a-zA-Z-]*)/g);\n if (language instanceof Array) {\n if (typeof options.lookupFromPathIndex === 'number') {\n if (typeof language[options.lookupFromPathIndex] !== 'string') {\n return undefined;\n }\n found = language[options.lookupFromPathIndex].replace('/', '');\n } else {\n found = language[0].replace('/', '');\n }\n }\n }\n return found;\n }\n};\n\nvar subdomain = {\n name: 'subdomain',\n lookup: function lookup(options) {\n // If given get the subdomain index else 1\n var lookupFromSubdomainIndex = typeof options.lookupFromSubdomainIndex === 'number' ? options.lookupFromSubdomainIndex + 1 : 1;\n // get all matches if window.location. is existing\n // first item of match is the match itself and the second is the first group macht which sould be the first subdomain match\n // is the hostname no public domain get the or option of localhost\n var language = typeof window !== 'undefined' && window.location && window.location.hostname && window.location.hostname.match(/^(\\w{2,5})\\.(([a-z0-9-]{1,63}\\.[a-z]{2,6})|localhost)/i);\n\n // if there is no match (null) return undefined\n if (!language) return undefined;\n // return the given group match\n return language[lookupFromSubdomainIndex];\n }\n};\n\nfunction getDefaults() {\n return {\n order: ['querystring', 'cookie', 'localStorage', 'sessionStorage', 'navigator', 'htmlTag'],\n lookupQuerystring: 'lng',\n lookupCookie: 'i18next',\n lookupLocalStorage: 'i18nextLng',\n lookupSessionStorage: 'i18nextLng',\n // cache user language\n caches: ['localStorage'],\n excludeCacheFor: ['cimode'],\n // cookieMinutes: 10,\n // cookieDomain: 'myDomain'\n\n convertDetectedLanguage: function convertDetectedLanguage(l) {\n return l;\n }\n };\n}\nvar Browser = /*#__PURE__*/function () {\n function Browser(services) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n _classCallCheck(this, Browser);\n this.type = 'languageDetector';\n this.detectors = {};\n this.init(services, options);\n }\n _createClass(Browser, [{\n key: \"init\",\n value: function init(services) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var i18nOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n this.services = services || {\n languageUtils: {}\n }; // this way the language detector can be used without i18next\n this.options = defaults(options, this.options || {}, getDefaults());\n if (typeof this.options.convertDetectedLanguage === 'string' && this.options.convertDetectedLanguage.indexOf('15897') > -1) {\n this.options.convertDetectedLanguage = function (l) {\n return l.replace('-', '_');\n };\n }\n\n // backwards compatibility\n if (this.options.lookupFromUrlIndex) this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex;\n this.i18nOptions = i18nOptions;\n this.addDetector(cookie$1);\n this.addDetector(querystring);\n this.addDetector(localStorage);\n this.addDetector(sessionStorage);\n this.addDetector(navigator$1);\n this.addDetector(htmlTag);\n this.addDetector(path);\n this.addDetector(subdomain);\n }\n }, {\n key: \"addDetector\",\n value: function addDetector(detector) {\n this.detectors[detector.name] = detector;\n }\n }, {\n key: \"detect\",\n value: function detect(detectionOrder) {\n var _this = this;\n if (!detectionOrder) detectionOrder = this.options.order;\n var detected = [];\n detectionOrder.forEach(function (detectorName) {\n if (_this.detectors[detectorName]) {\n var lookup = _this.detectors[detectorName].lookup(_this.options);\n if (lookup && typeof lookup === 'string') lookup = [lookup];\n if (lookup) detected = detected.concat(lookup);\n }\n });\n detected = detected.map(function (d) {\n return _this.options.convertDetectedLanguage(d);\n });\n if (this.services.languageUtils.getBestMatchFromCodes) return detected; // new i18next v19.5.0\n return detected.length > 0 ? detected[0] : null; // a little backward compatibility\n }\n }, {\n key: \"cacheUserLanguage\",\n value: function cacheUserLanguage(lng, caches) {\n var _this2 = this;\n if (!caches) caches = this.options.caches;\n if (!caches) return;\n if (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(lng) > -1) return;\n caches.forEach(function (cacheName) {\n if (_this2.detectors[cacheName]) _this2.detectors[cacheName].cacheUserLanguage(lng, _this2.options);\n });\n }\n }]);\n return Browser;\n}();\nBrowser.type = 'languageDetector';\n\nexport { Browser as default };\n"],"names":["arr","each","forEach","slice","fieldContentRegExp","cookie","name","value","minutes","domain","cookieOptions","arguments","length","undefined","path","sameSite","expires","Date","setTime","getTime","document","val","options","opt","encodeURIComponent","str","concat","maxAge","Number","isNaN","Error","Math","floor","test","TypeError","toUTCString","httpOnly","secure","toLowerCase","serializeCookie","nameEQ","ca","split","i","c","charAt","substring","indexOf","cookie$1","lookup","found","lookupCookie","cacheUserLanguage","lng","cookieMinutes","cookieDomain","querystring","window","search","location","hash","params","pos","lookupQuerystring","hasLocalStorageSupport","localStorageAvailable","localStorage","testKey","setItem","removeItem","e","lookupLocalStorage","getItem","hasSessionStorageSupport","sessionStorageAvailable","sessionStorage","lookupSessionStorage","navigator$1","navigator","languages","push","userLanguage","language","htmlTag","documentElement","getAttribute","pathname","match","Array","lookupFromPathIndex","replace","subdomain","lookupFromSubdomainIndex","hostname","Browser","services","_classCallCheck","this","type","detectors","init","_createClass","key","i18nOptions","languageUtils","obj","call","source","prop","defaults","order","caches","excludeCacheFor","convertDetectedLanguage","l","lookupFromUrlIndex","addDetector","detector","detectionOrder","_this","detected","detectorName","map","d","getBestMatchFromCodes","_this2","cacheName"],"mappings":"2MAGIA,EAAM,GACNC,EAAOD,EAAIE,QACXC,EAAQH,EAAIG,MAahB,IAAIC,EAAqB,wCAoDrBC,EACM,SAAgBC,EAAMC,EAAOC,EAASC,GAC5C,IAAIC,EAAgBC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,CACtFG,KAAM,IACNC,SAAU,UAERP,IACFE,EAAcM,QAAU,IAAIC,KAC5BP,EAAcM,QAAQE,QAAQR,EAAcM,QAAQG,UAAsB,GAAVX,EAAe,MAE7EC,IAAQC,EAAcD,OAASA,GACnCW,SAASf,OA9DS,SAAyBC,EAAMe,EAAKC,GACxD,IAAIC,EAAMD,GAAW,GACrBC,EAAIT,KAAOS,EAAIT,MAAQ,IACvB,IAAIP,EAAQiB,mBAA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ACjBmF,KAAKmB,YAAYzB,EACnB,GACC,CACDW,IAAK,cACL/F,MAAO,SAAqB8G,GAC1BpB,KAAKE,UAAUkB,EAAS/G,MAAQ+G,CAClC,GACC,CACDf,IAAK,SACL/F,MAAO,SAAgB+G,GACrB,IAAIC,EAAQtB,KACPqB,IAAgBA,EAAiBrB,KAAK3E,QAAQwF,OACnD,IAAIU,EAAW,GAWf,OAVAF,EAAepH,SAAQ,SAAUuH,GAC/B,GAAIF,EAAMpB,UAAUsB,GAAe,CACjC,IAAIxE,EAASsE,EAAMpB,UAAUsB,GAAcxE,OAAOsE,EAAMjG,SACpD2B,GAA4B,iBAAXA,IAAqBA,EAAS,CAACA,IAChDA,IAAQuE,EAAWA,EAAS9F,OAAOuB,GACzC,CACF,IACAuE,EAAWA,EAASE,KAAI,SAAUC,GAChC,OAAOJ,EAAMjG,QAAQ2F,wBAAwBU,EAC/C,IACI1B,KAAKF,SAASS,cAAcoB,sBAA8BJ,EACvDA,EAAS5G,OAAS,EAAI4G,EAAS,GAAK,IAC7C,GACC,CACDlB,IAAK,oBACL/F,MAAO,SAA2B8C,EAAK0D,GACrC,IAAIc,EAAS5B,KACRc,IAAQA,EAASd,KAAK3E,QAAQyF,QAC9BA,IACDd,KAAK3E,QAAQ0F,iBAAmBf,KAAK3E,QAAQ0F,gBAAgBjE,QAAQM,IAAQ,GACjF0D,EAAO7G,SAAQ,SAAU4H,GACnBD,EAAO1B,UAAU2B,IAAYD,EAAO1B,UAAU2B,GAAW1E,kBAAkBC,EAAKwE,EAAOvG,QAC7F,IACF,KAEKwE,CACT,CAxE2B,GAyE3BA,EAAQI,KAAO"}
1
+ {"version":3,"file":"i18nextBrowserLanguageDetector.js","sources":["../../../../../node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js"],"sourcesContent":["import _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck';\nimport _createClass from '@babel/runtime/helpers/esm/createClass';\n\nvar arr = [];\nvar each = arr.forEach;\nvar slice = arr.slice;\nfunction defaults(obj) {\n each.call(slice.call(arguments, 1), function (source) {\n if (source) {\n for (var prop in source) {\n if (obj[prop] === undefined) obj[prop] = source[prop];\n }\n }\n });\n return obj;\n}\n\n// eslint-disable-next-line no-control-regex\nvar fieldContentRegExp = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/;\nvar serializeCookie = function serializeCookie(name, val, options) {\n var opt = options || {};\n opt.path = opt.path || '/';\n var value = encodeURIComponent(val);\n var str = \"\".concat(name, \"=\").concat(value);\n if (opt.maxAge > 0) {\n var maxAge = opt.maxAge - 0;\n if (Number.isNaN(maxAge)) throw new Error('maxAge should be a Number');\n str += \"; Max-Age=\".concat(Math.floor(maxAge));\n }\n if (opt.domain) {\n if (!fieldContentRegExp.test(opt.domain)) {\n throw new TypeError('option domain is invalid');\n }\n str += \"; Domain=\".concat(opt.domain);\n }\n if (opt.path) {\n if (!fieldContentRegExp.test(opt.path)) {\n throw new TypeError('option path is invalid');\n }\n str += \"; Path=\".concat(opt.path);\n }\n if (opt.expires) {\n if (typeof opt.expires.toUTCString !== 'function') {\n throw new TypeError('option expires is invalid');\n }\n str += \"; Expires=\".concat(opt.expires.toUTCString());\n }\n if (opt.httpOnly) str += '; HttpOnly';\n if (opt.secure) str += '; Secure';\n if (opt.sameSite) {\n var sameSite = typeof opt.sameSite === 'string' ? opt.sameSite.toLowerCase() : opt.sameSite;\n switch (sameSite) {\n case true:\n str += '; SameSite=Strict';\n break;\n case 'lax':\n str += '; SameSite=Lax';\n break;\n case 'strict':\n str += '; SameSite=Strict';\n break;\n case 'none':\n str += '; SameSite=None';\n break;\n default:\n throw new TypeError('option sameSite is invalid');\n }\n }\n return str;\n};\nvar cookie = {\n create: function create(name, value, minutes, domain) {\n var cookieOptions = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {\n path: '/',\n sameSite: 'strict'\n };\n if (minutes) {\n cookieOptions.expires = new Date();\n cookieOptions.expires.setTime(cookieOptions.expires.getTime() + minutes * 60 * 1000);\n }\n if (domain) cookieOptions.domain = domain;\n document.cookie = serializeCookie(name, encodeURIComponent(value), cookieOptions);\n },\n read: function read(name) {\n var nameEQ = \"\".concat(name, \"=\");\n var ca = document.cookie.split(';');\n for (var i = 0; i < ca.length; i++) {\n var c = ca[i];\n while (c.charAt(0) === ' ') c = c.substring(1, c.length);\n if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);\n }\n return null;\n },\n remove: function remove(name) {\n this.create(name, '', -1);\n }\n};\nvar cookie$1 = {\n name: 'cookie',\n lookup: function lookup(options) {\n var found;\n if (options.lookupCookie && typeof document !== 'undefined') {\n var c = cookie.read(options.lookupCookie);\n if (c) found = c;\n }\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupCookie && typeof document !== 'undefined') {\n cookie.create(options.lookupCookie, lng, options.cookieMinutes, options.cookieDomain, options.cookieOptions);\n }\n }\n};\n\nvar querystring = {\n name: 'querystring',\n lookup: function lookup(options) {\n var found;\n if (typeof window !== 'undefined') {\n var search = window.location.search;\n if (!window.location.search && window.location.hash && window.location.hash.indexOf('?') > -1) {\n search = window.location.hash.substring(window.location.hash.indexOf('?'));\n }\n var query = search.substring(1);\n var params = query.split('&');\n for (var i = 0; i < params.length; i++) {\n var pos = params[i].indexOf('=');\n if (pos > 0) {\n var key = params[i].substring(0, pos);\n if (key === options.lookupQuerystring) {\n found = params[i].substring(pos + 1);\n }\n }\n }\n }\n return found;\n }\n};\n\nvar hasLocalStorageSupport = null;\nvar localStorageAvailable = function localStorageAvailable() {\n if (hasLocalStorageSupport !== null) return hasLocalStorageSupport;\n try {\n hasLocalStorageSupport = window !== 'undefined' && window.localStorage !== null;\n var testKey = 'i18next.translate.boo';\n window.localStorage.setItem(testKey, 'foo');\n window.localStorage.removeItem(testKey);\n } catch (e) {\n hasLocalStorageSupport = false;\n }\n return hasLocalStorageSupport;\n};\nvar localStorage = {\n name: 'localStorage',\n lookup: function lookup(options) {\n var found;\n if (options.lookupLocalStorage && localStorageAvailable()) {\n var lng = window.localStorage.getItem(options.lookupLocalStorage);\n if (lng) found = lng;\n }\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupLocalStorage && localStorageAvailable()) {\n window.localStorage.setItem(options.lookupLocalStorage, lng);\n }\n }\n};\n\nvar hasSessionStorageSupport = null;\nvar sessionStorageAvailable = function sessionStorageAvailable() {\n if (hasSessionStorageSupport !== null) return hasSessionStorageSupport;\n try {\n hasSessionStorageSupport = window !== 'undefined' && window.sessionStorage !== null;\n var testKey = 'i18next.translate.boo';\n window.sessionStorage.setItem(testKey, 'foo');\n window.sessionStorage.removeItem(testKey);\n } catch (e) {\n hasSessionStorageSupport = false;\n }\n return hasSessionStorageSupport;\n};\nvar sessionStorage = {\n name: 'sessionStorage',\n lookup: function lookup(options) {\n var found;\n if (options.lookupSessionStorage && sessionStorageAvailable()) {\n var lng = window.sessionStorage.getItem(options.lookupSessionStorage);\n if (lng) found = lng;\n }\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupSessionStorage && sessionStorageAvailable()) {\n window.sessionStorage.setItem(options.lookupSessionStorage, lng);\n }\n }\n};\n\nvar navigator$1 = {\n name: 'navigator',\n lookup: function lookup(options) {\n var found = [];\n if (typeof navigator !== 'undefined') {\n if (navigator.languages) {\n // chrome only; not an array, so can't use .push.apply instead of iterating\n for (var i = 0; i < navigator.languages.length; i++) {\n found.push(navigator.languages[i]);\n }\n }\n if (navigator.userLanguage) {\n found.push(navigator.userLanguage);\n }\n if (navigator.language) {\n found.push(navigator.language);\n }\n }\n return found.length > 0 ? found : undefined;\n }\n};\n\nvar htmlTag = {\n name: 'htmlTag',\n lookup: function lookup(options) {\n var found;\n var htmlTag = options.htmlTag || (typeof document !== 'undefined' ? document.documentElement : null);\n if (htmlTag && typeof htmlTag.getAttribute === 'function') {\n found = htmlTag.getAttribute('lang');\n }\n return found;\n }\n};\n\nvar path = {\n name: 'path',\n lookup: function lookup(options) {\n var found;\n if (typeof window !== 'undefined') {\n var language = window.location.pathname.match(/\\/([a-zA-Z-]*)/g);\n if (language instanceof Array) {\n if (typeof options.lookupFromPathIndex === 'number') {\n if (typeof language[options.lookupFromPathIndex] !== 'string') {\n return undefined;\n }\n found = language[options.lookupFromPathIndex].replace('/', '');\n } else {\n found = language[0].replace('/', '');\n }\n }\n }\n return found;\n }\n};\n\nvar subdomain = {\n name: 'subdomain',\n lookup: function lookup(options) {\n // If given get the subdomain index else 1\n var lookupFromSubdomainIndex = typeof options.lookupFromSubdomainIndex === 'number' ? options.lookupFromSubdomainIndex + 1 : 1;\n // get all matches if window.location. is existing\n // first item of match is the match itself and the second is the first group macht which sould be the first subdomain match\n // is the hostname no public domain get the or option of localhost\n var language = typeof window !== 'undefined' && window.location && window.location.hostname && window.location.hostname.match(/^(\\w{2,5})\\.(([a-z0-9-]{1,63}\\.[a-z]{2,6})|localhost)/i);\n\n // if there is no match (null) return undefined\n if (!language) return undefined;\n // return the given group match\n return language[lookupFromSubdomainIndex];\n }\n};\n\n// some environments, throws when accessing document.cookie\nvar canCookies = false;\ntry {\n // eslint-disable-next-line no-unused-expressions\n document.cookie;\n canCookies = true;\n // eslint-disable-next-line no-empty\n} catch (e) {}\nvar order = ['querystring', 'cookie', 'localStorage', 'sessionStorage', 'navigator', 'htmlTag'];\nif (!canCookies) order.splice(1, 1);\nfunction getDefaults() {\n return {\n order: order,\n lookupQuerystring: 'lng',\n lookupCookie: 'i18next',\n lookupLocalStorage: 'i18nextLng',\n lookupSessionStorage: 'i18nextLng',\n // cache user language\n caches: ['localStorage'],\n excludeCacheFor: ['cimode'],\n // cookieMinutes: 10,\n // cookieDomain: 'myDomain'\n\n convertDetectedLanguage: function convertDetectedLanguage(l) {\n return l;\n }\n };\n}\nvar Browser = /*#__PURE__*/function () {\n function Browser(services) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n _classCallCheck(this, Browser);\n this.type = 'languageDetector';\n this.detectors = {};\n this.init(services, options);\n }\n return _createClass(Browser, [{\n key: \"init\",\n value: function init(services) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var i18nOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n this.services = services || {\n languageUtils: {}\n }; // this way the language detector can be used without i18next\n this.options = defaults(options, this.options || {}, getDefaults());\n if (typeof this.options.convertDetectedLanguage === 'string' && this.options.convertDetectedLanguage.indexOf('15897') > -1) {\n this.options.convertDetectedLanguage = function (l) {\n return l.replace('-', '_');\n };\n }\n\n // backwards compatibility\n if (this.options.lookupFromUrlIndex) this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex;\n this.i18nOptions = i18nOptions;\n this.addDetector(cookie$1);\n this.addDetector(querystring);\n this.addDetector(localStorage);\n this.addDetector(sessionStorage);\n this.addDetector(navigator$1);\n this.addDetector(htmlTag);\n this.addDetector(path);\n this.addDetector(subdomain);\n }\n }, {\n key: \"addDetector\",\n value: function addDetector(detector) {\n this.detectors[detector.name] = detector;\n return this;\n }\n }, {\n key: \"detect\",\n value: function detect(detectionOrder) {\n var _this = this;\n if (!detectionOrder) detectionOrder = this.options.order;\n var detected = [];\n detectionOrder.forEach(function (detectorName) {\n if (_this.detectors[detectorName]) {\n var lookup = _this.detectors[detectorName].lookup(_this.options);\n if (lookup && typeof lookup === 'string') lookup = [lookup];\n if (lookup) detected = detected.concat(lookup);\n }\n });\n detected = detected.map(function (d) {\n return _this.options.convertDetectedLanguage(d);\n });\n if (this.services.languageUtils.getBestMatchFromCodes) return detected; // new i18next v19.5.0\n return detected.length > 0 ? detected[0] : null; // a little backward compatibility\n }\n }, {\n key: \"cacheUserLanguage\",\n value: function cacheUserLanguage(lng, caches) {\n var _this2 = this;\n if (!caches) caches = this.options.caches;\n if (!caches) return;\n if (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(lng) > -1) return;\n caches.forEach(function (cacheName) {\n if (_this2.detectors[cacheName]) _this2.detectors[cacheName].cacheUserLanguage(lng, _this2.options);\n });\n }\n }]);\n}();\nBrowser.type = 'languageDetector';\n\nexport { Browser as default };\n"],"names":["arr","each","forEach","slice","fieldContentRegExp","cookie","name","value","minutes","domain","cookieOptions","arguments","length","undefined","path","sameSite","expires","Date","setTime","getTime","document","val","options","opt","encodeURIComponent","str","concat","maxAge","Number","isNaN","Error","Math","floor","test","TypeError","toUTCString","httpOnly","secure","toLowerCase","serializeCookie","nameEQ","ca","split","i","c","charAt","substring","indexOf","cookie$1","lookup","found","lookupCookie","cacheUserLanguage","lng","cookieMinutes","cookieDomain","querystring","window","search","location","hash","params","pos","lookupQuerystring","hasLocalStorageSupport","localStorageAvailable","localStorage","testKey","setItem","removeItem","e","lookupLocalStorage","getItem","hasSessionStorageSupport","sessionStorageAvailable","sessionStorage","lookupSessionStorage","navigator$1","navigator","languages","push","userLanguage","language","htmlTag","documentElement","getAttribute","pathname","match","Array","lookupFromPathIndex","replace","subdomain","lookupFromSubdomainIndex","hostname","canCookies","order","splice","Browser","_createClass","services","_classCallCheck","this","type","detectors","init","key","i18nOptions","languageUtils","obj","call","source","prop","defaults","caches","excludeCacheFor","convertDetectedLanguage","l","lookupFromUrlIndex","addDetector","detector","detectionOrder","_this","detected","detectorName","map","d","getBestMatchFromCodes","_this2","cacheName"],"mappings":"2MAGIA,EAAM,GACNC,EAAOD,EAAIE,QACXC,EAAQH,EAAIG,MAahB,IAAIC,EAAqB,wCAoDrBC,EACM,SAAgBC,EAAMC,EAAOC,EAASC,GAC5C,IAAIC,EAAgBC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,CACtFG,KAAM,IACNC,SAAU,UAERP,IACFE,EAAcM,QAAU,IAAIC,KAC5BP,EAAcM,QAAQE,QAAQR,EAAcM,QAAQG,UAAsB,GAAVX,EAAe,MAE7EC,IAAQC,EAAcD,OAASA,GACnCW,SAASf,OA9DS,SAAyBC,EAAMe,EAAKC,GACxD,IAAIC,EAAMD,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,2 @@
1
- "use strict";var e=require("../../../_virtual/index8.js");require("./requestMediaPermissions.js");var r=require("../../../_virtual/requestMediaPermissions.js");!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.requestMediaPermissions=e.MediaPermissionsErrorType=void 0;var i=r.__exports;Object.defineProperty(e,"MediaPermissionsErrorType",{enumerable:!0,get:function(){return i.MediaPermissionsErrorType}}),Object.defineProperty(e,"requestMediaPermissions",{enumerable:!0,get:function(){return i.requestMediaPermissions}})}(e.__exports);
1
+ "use strict";var e=require("../../../_virtual/index6.js");require("./requestMediaPermissions.js");var r=require("../../../_virtual/requestMediaPermissions.js");!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.requestMediaPermissions=e.MediaPermissionsErrorType=void 0;var i=r.__exports;Object.defineProperty(e,"MediaPermissionsErrorType",{enumerable:!0,get:function(){return i.MediaPermissionsErrorType}}),Object.defineProperty(e,"requestMediaPermissions",{enumerable:!0,get:function(){return i.requestMediaPermissions}})}(e.__exports);
2
2
  //# sourceMappingURL=index.js.map