PageSourceSearch

https://global.sennheiser-hearing.com/cdn/shopifycloud/checkout-we…/c1/ShippingMethodRateLabel.DfFHFGoZ.js

js sennheiser-hearing.com collected 2026-09-24 08:46:52 UTC 1,529 bytes, 1 lines download raw bytes

1import{u as o,W as p}from"./esnext-vendor.D7ldIee_.js";import{l as m,P as d}from"./hydrate.ByRIsqvd.js";import{bc as i}from"./addresses-is-address-empty.-MuOhIyI.js";var u=(r=>(r.Light="LIGHT",r.Dark="DARK",r))(u||{});const h=[90,49,244],s=[255,255,255];function c(r){const t=r.map(n=>{const e=n/255;return e<=.03928?e/12.92:((e+.055)/1.055)**2.4});return t[0]*.2126+t[1]*.7152+t[2]*.0722}function g(r,t){const n=c(r),e=c(t),a=Math.max(n,e),b=Math.min(n,e);return(a+.05)/(b+.05)}function k(r){let t=r,n="rgba(255, 255, 255, 1)";for(;t;){const e=getComputedStyle(t).backgroundColor;if(e){const a=f(e);if(a[3]&&a[3]>.1){n=e;break}}t=t.parentElement}return n}function C(r){let t=s;if(r.startsWith("#"))t=$(r);else if(r.startsWith("rgb")&&(t=f(r),t.length===4&&t[3]<=.043&&t.slice(0,3).every(n=>n===0)))return u.Light;return g(t,h)>g(t,s)?u.Light:u.Dark}function $(r){let t=0,n=0,e=0;return r.length===4?(t=+`0x${r[1]}${r[1]}`,n=+`0x${r[2]}${r[2]}`,e=+`0x${r[3]}${r[3]}`):r.length===7&&(t=+`0x${r[1]}${r[2]}`,n=+`0x${r[3]}${r[4]}`,e=+`0x${r[5]}${r[6]}`),[t,n,e]}function f(r){const n=(r.match(/(\d+\.\d+|\d+)/g)||[]).map(Number);for(;n.length<4;)n.push(1);return n}function E({methodTitle:r,price:t,showInterpunct:n=!1,sellingPlan:e}){return t&&n&&e?o(l,{children:[r,i,t,o(m,{type:"strong",children:e})]}):n&&t?o(l,{children:[r,i,t]}):o(l,{children:r})}function l({children:r}){const t=p.toArray(r).flatMap((n,e,a)=>e<a.length-1?[n," "]:n);return o(d,{children:o(m,{type:"strong",children:t})})}export{E as S,u as T,k as g,C as p};

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.