PageSourceSearch

https://www.777english.co.kr/_/fo-shopping/assets/accent-palette-Cem6D2nc.js

js 777english.co.kr collected 2026-09-24 12:13:28 UTC 2,184 bytes, 1 lines download raw bytes

1function b(o){const n=o.trim();return n===""?"0px":/^\d+(\.\d+)?$/.test(n)?`${n}px`:n}function s(o){if(o.buttonSbUseSet.trim()!=="Y")return null;const n=o.brandColor.trim()||"#006fff",t=o.buttonSbBackgroundColor.trim()||n,r=o.buttonSbFontColor.trim()||"#ffffff",e=o.buttonSbBorderColor.trim()||t;return{bg:t,text:r,border:e,borderWidth:b(o.buttonSbBorderWidth),hoverBg:o.buttonSbHoverBackgroundColor.trim()||t,hoverText:o.buttonSbHoverFontColor.trim()||r,hoverBorder:o.buttonSbHoverBorderColor.trim()||e,hoverBorderWidth:b(o.buttonSbHoverBorderWidth.trim()||o.buttonSbBorderWidth)}}function a(o=document.documentElement){const n=getComputedStyle(o),t=r=>n.getPropertyValue(`--unit-style-${r}`).trim();return{buttonSbUseSet:t("button_sb_use_set"),buttonSbBackgroundColor:t("button_sb_background_color"),buttonSbFontColor:t("button_sb_font_color"),buttonSbBorderColor:t("button_sb_border_color"),buttonSbBorderWidth:t("button_sb_border_width"),buttonSbHoverBackgroundColor:t("button_sb_hover_background_color"),buttonSbHoverFontColor:t("button_sb_hover_font_color"),buttonSbHoverBorderColor:t("button_sb_hover_border_color"),buttonSbHoverBorderWidth:t("button_sb_hover_border_width"),brandColor:t("brand_color"),buttonStyle:t("button_style"),buttonRadius:t("button_radius")}}function l(o,n){const t=o.trim();if(t==="st00")return"0px";if(t==="st02")return"30px";const r=n.trim();return/^\d+(\.\d+)?$/.test(r)?`${r}px`:"6px"}function _(o,n=document.documentElement){const t=a(n),r=(i,c)=>o.style.setProperty(i,c);r("--cart-action-button-radius-input",l(t.buttonStyle,t.buttonRadius));const e=s(t);if(e===null)return;r("--cart-brand-input",e.bg),r("--cart-brand-text-input",e.text),r("--cart-brand-border-input",e.border),r("--cart-brand-border-width-input",e.borderWidth),r("--cart-brand-hover-input",e.hoverBg),r("--cart-brand-hover-text-input",e.hoverText),r("--cart-brand-hover-border-input",e.hoverBorder),r("--cart-brand-hover-border-width-input",e.hoverBorderWidth);const d=t.buttonSbBorderColor.trim(),u=t.buttonSbBorderWidth.trim();r("--cart-action-button-border-color-input",d||getComputedStyle(o).color),u!==""&&r("--cart-action-button-border-width-input",b(u))}export{_ as a};

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.