import{kt as e}from"./BA99CCI5.js";import"./D7pSEO6W.js";var t=`fontSettings`,n={sans:`dm-sans`,mono:`geist-mono`},r={"dm-sans":`'DM Sans', ui-sans-serif, system-ui, sans-serif`,inter:`'Inter', ui-sans-serif, system-ui, sans-serif`,"ibm-plex-sans":`'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif`},i={"geist-mono":`'Geist Mono', ui-monospace, monospace`,"jetbrains-mono":`'JetBrains Mono', ui-monospace, monospace`,"ibm-plex-mono":`'IBM Plex Mono', ui-monospace, monospace`},a=[{value:`dm-sans`,label:`DM Sans`},{value:`inter`,label:`Inter`},{value:`ibm-plex-sans`,label:`IBM Plex Sans`}],o=[{value:`geist-mono`,label:`Geist Mono`},{value:`jetbrains-mono`,label:`JetBrains Mono`},{value:`ibm-plex-mono`,label:`IBM Plex Mono`}];function s(e){let t=document.documentElement;t.style.setProperty(`--font-sans`,r[e.sans]),t.style.setProperty(`--font-mono`,i[e.mono])}function c(){let a={...n};try{let e=JSON.parse(localStorage.getItem(t)||`null`);e?.sans&&r[e.sans]&&(a.sans=e.sans),e?.mono&&i[e.mono]&&(a.mono=e.mono)}catch{}s(a);let{subscribe:o,set:c}=e(a);function l(e){c(e),s(e),localStorage.setItem(t,JSON.stringify(e))}return{subscribe:o,setFonts:l}}var l=c();function u(){let t=`lucide`;{let e=localStorage.getItem(`navIconStyle`);e&&(e===`emoji`||e===`lucide`)&&(t=e)}let{subscribe:n,set:r}=e(t);function i(e){r(e),localStorage.setItem(`navIconStyle`,e),document.documentElement.dataset.navIcons=e}function a(){i(localStorage.getItem(`navIconStyle`)===`emoji`?`lucide`:`emoji`)}return{subscribe:n,setStyle:i,toggle:a}}var d=u();export{a as i,l as n,o as r,d as t};