import { isBrowser as o } from "../is-browser.es.js";
import { hasReducedMotionListener as n, prefersReducedMotion as t } from "./state.es.js";
function c() {
  if (n.current = !0, !!o)
    if (window.matchMedia) {
      const e = window.matchMedia("(prefers-reduced-motion)"), r = () => t.current = e.matches;
      e.addEventListener("change", r), r();
    } else
      t.current = !1;
}
export {
  c as initPrefersReducedMotion
};
//# sourceMappingURL=index.es.js.map
