PageSourceSearch

https://app.switchgrid.tech/assets/useResolvedTheme-Dul54pzE.js

js switchgrid.tech collected 2026-10-05 22:34:48 UTC 1,054 bytes, 6 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b66cda75-ba8c-5144-9440-9df052a9f6ea")}catch(e){}}();
3import{r as n}from"./chunk-OB3PAWPO-CHbvl5dC.js";function s(){if(typeof document>"u")return"dark";const e=document.documentElement;return e.classList.contains("theme-dark")?"dark":e.classList.contains("theme-light")||window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}function o(e){const t=new MutationObserver(e);t.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]});const r=window.matchMedia("(prefers-color-scheme: light)");return r.addEventListener("change",e),()=>{t.disconnect(),r.removeEventListener("change",e)}}function i(){return n.useSyncExternalStore(o,s,()=>"dark")}export{i as u};
4//# sourceMappingURL=useResolvedTheme-Dul54pzE.js.map
5
6//# debugId=b66cda75-ba8c-5144-9440-9df052a9f6ea

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.