PageSourceSearch

https://sanjeed.in/static/scripts/script-0-5827d5f2.js

js sanjeed.in collected 2026-09-24 10:41:42 UTC 916 bytes, 28 lines download raw bytes

1
2(function () {
3  var reduced = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
4  if (reduced) return;
5  var bound = false;
6  function onTheme(e) {
7    var theme = e && e.detail && e.detail.theme;
8    if (!theme) return;
9    var body = document.body;
10    body.classList.add("sunlit-ready");
11    body.classList.remove("sunlit-sunrise", "sunlit-sunset");
12    // force reflow so the next animation restarts
13    void body.offsetWidth;
14    body.classList.add(theme === "light" ? "sunlit-sunrise" : "sunlit-sunset");
15  }
16  function onAnimEnd(e) {
17    if (e.target !== document.body) return;
18    document.body.classList.remove("sunlit-sunrise", "sunlit-sunset");
19  }
20  function bind() {
21    if (bound) return;
22    bound = true;
23    document.addEventListener("themechange", onTheme);
24    document.body.addEventListener("animationend", onAnimEnd);
25  }
26  bind();
27  document.addEventListener("nav", bind);
28})();

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.