PageSourceSearch

https://shop.boardgaming.com/cdn/shopifycloud/checkout-web/assets/c1/d5d34b3b.D0jJQL_d.js

js boardgaming.com collected 2026-10-03 23:24:56 UTC 1,371 bytes, 1 lines download raw bytes

1import{z as t,t as r}from"./2c1ab0fe.GMbxnz74.js";import{a6 as e}from"./164ad2e3.B4L1MRYB.js";import{S as n,ak as a}from"./4c290a1e.DMQ9xOwP.js";var o=(t=>(t.Light="LIGHT",t.Dark="DARK",t))(o||{});const s=[90,49,244],u=[255,255,255];function i(t){const r=t.map(t=>{const r=t/255;return r<=.03928?r/12.92:((r+.055)/1.055)**2.4});return.2126*r[0]+.7152*r[1]+.0722*r[2]}function c(t,r){const e=i(t),n=i(r);return(Math.max(e,n)+.05)/(Math.min(e,n)+.05)}function m(t){let r=t,e="rgba(255, 255, 255, 1)";for(;r;){const t=getComputedStyle(r).backgroundColor;if(t){const r=l(t);if(r[3]&&r[3]>.1){e=t;break}}r=r.parentElement}return e}function f(t){let r=u;if(t.startsWith("#"))r=function(t){let r=0,e=0,n=0;return 4===t.length?(r=Number(`0x${t[1]}${t[1]}`),e=Number(`0x${t[2]}${t[2]}`),n=Number(`0x${t[3]}${t[3]}`)):7===t.length&&(r=Number(`0x${t[1]}${t[2]}`),e=Number(`0x${t[3]}${t[4]}`),n=Number(`0x${t[5]}${t[6]}`)),[r,e,n]}(t);else if(t.startsWith("rgb")&&(r=l(t),4===r.length&&r[3]<=.043&&r.slice(0,3).every(t=>0===t)))return o.Light;return c(r,s)>c(r,u)?o.Light:o.Dark}function l(t){const r=(t.match(/(\d+\.\d+|\d+)/g)||[]).map(Number);for(;r.length<4;)r.push(1);return r}const h=()=>{const{checkout:o}=n(),s=o.configuration.visibility.showAside,u=a(),i=e({base:!0,medium:!1}),c=t(s),m=t(i);return r(()=>!(c.value&&!m.value&&u.value))};export{o as T,m as g,f as p,h 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.