PageSourceSearch

https://eu.j5create.com/cdn/shopifycloud/checkout-web/assets/c1/ShippingMethodRateLabel.Doe-JTYM.js

js j5create.com collected 2026-09-24 18:07:10 UTC 1,475 bytes, 1 lines download raw bytes

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