import{D as e}from"./src-BOCweS1p.js";import{L as t,W as n,h as r}from"./vscode-api-DjORcpSo.js";import{t as i}from"./setting-storage-CwKZnsvR.js";var a=`(prefers-reduced-motion: reduce)`,o=n(r,u()),s=t(r,({get:t})=>i(t,e.reducedMotionPreference)),c=t(r,({get:e})=>l({preference:e(s),systemPrefersReducedMotion:e(o)}));function l({preference:e,systemPrefersReducedMotion:t}){switch(e){case`off`:return!1;case`on`:return!0;case`system`:return t}}function u(){return typeof window>`u`||typeof window.matchMedia!=`function`?!1:window.matchMedia(a).matches}function d(){return typeof window>`u`||typeof window.matchMedia!=`function`?null:window.matchMedia(a)}export{o as i,u as n,c as r,d as t};
//# sourceMappingURL=reduced-motion-preference-Bd5_3c7y.js.map