PageSourceSearch

https://www.tankerkoenig.de/_nuxt/BEbv6ACE.js

js tankerkoenig.de collected 2026-09-25 14:17:04 UTC 981 bytes, 1 lines download raw bytes

1import{m as c,l as f}from"./CIlsd43Y.js";const d="tk-theme",i="light",r=["light","dark","system"];function h(e){return e==="light"||e==="dark"||e==="system"}function l(e,n){return e==="system"?n?"dark":"light":e}function E(e){const n=r.indexOf(e);return r[(n+1)%r.length]}function M(e){return h(e)?e:i}const t=c(i),a=c(!1);let u=!1;function v(){return typeof window<"u"&&!!window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches}function s(){typeof document>"u"||(l(t.value,a.value)==="dark"?document.documentElement.dataset.theme="dark":delete document.documentElement.dataset.theme)}function y(){u||(u=!0,t.value=M(localStorage.getItem(d)),a.value=v(),s(),window.matchMedia("(prefers-color-scheme: dark)").addEventListener?.("change",o=>{a.value=o.matches,t.value==="system"&&s()}));const e=f(()=>l(t.value,a.value));function n(o){t.value=o,localStorage.setItem(d,o),s()}function m(){n(E(t.value))}return{mode:t,resolved:e,setMode:n,cycle:m}}export{y as u};

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.