PageSourceSearch

https://www.aliciakennedy.news/assets/communityTheme-Dh8U7vsl.js

js aliciakennedy.news collected 2026-09-25 18:22:24 UTC 1,691 bytes, 22 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]="521df68c-31bb-50cf-8205-abbe2e3bfd76")}catch(e){}}();
3import{s as e}from"./jsx-runtime-D4ePz0Hl.js";import{t}from"./react-BXH-GOAS.js";var n=e(t(),1),r=e=>{let t=e.replace(`#`,``),n=t.length===3?t.split(``).map(e=>e+e).join(``):t;return`${Number.parseInt(n.slice(0,2),16)} ${Number.parseInt(n.slice(2,4),16)} ${Number.parseInt(n.slice(4,6),16)}`},i=e=>{if(!e)return!1;let[t,n,i]=r(e).split(` `).map(Number);return(t+n+i)/3>127},a={primary:`#030712`,textOnPrimary:`#FFFFFF`,bg:`#FFFFFF`,textOnBg:`#000000`},o=e=>(0,n.useMemo)(()=>{let t=e?.primary_color??a.primary,n=e?.text_on_primary_color??a.textOnPrimary,i=e?.background_color??a.bg,o=e?.text_on_background_color??a.textOnBg;return`:root {
4  --community-primary: ${t};
5  --community-primary-rgb: ${r(t)};
6  --community-primary-on-light: var(--community-primary);
7  --community-accent: var(--community-primary);
8  --community-text-on-primary: ${n};
9  --community-text-on-primary-rgb: ${r(n)};
10  --community-bg: ${i};
11  --community-bg-rgb: ${r(i)};
12  --community-text-on-bg: ${o};
13  --community-text-on-bg-rgb: ${r(o)};
14}
15@supports (color: oklch(from red l c h)) {
16  :root {
17    --community-primary-on-light: oklch(from var(--community-primary) min(l, 0.5) c h);
18    --community-accent: hsl(from var(--community-primary) h s calc(l * 0.85));
19  }
20}`},[e]);export{r as n,o as r,i as t};
21//# sourceMappingURL=communityTheme-Dh8U7vsl.js.map
22//# debugId=521df68c-31bb-50cf-8205-abbe2e3bfd76

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.