PageSourceSearch

https://shop.jtsstrength.com/cdn/shopifycloud/checkout-web/assets/c1/useShopPayButtonClassName.DeL41vx0.js

js jtsstrength.com collected 2026-09-24 09:31:36 UTC 1,722 bytes, 1 lines download raw bytes

1import{cR as S,K as f,N as m,jn as C}from"./addresses-is-address-empty.-MuOhIyI.js";import{T as p,u as P,g}from"./esnext-vendor.D7ldIee_.js";import{S as d}from"./shared-shop-theme.BJKdwdMa.js";import{S as v}from"./hooks-useReplaceShopPayInHistory.Cz4PqGkk.js";import{b as k,a as y}from"./hooks-useShouldRevealCustomization.C_GYHzzt.js";import{_ as B,u as L}from"./hydrate.ByRIsqvd.js";const b=/\S+@\S+\.\S{2,}/;function X(s,o){if(!S(s))return o}function z(s,o){return b.test(s)?void 0:o}const c=new f(0,0,100);function T({foregroundColor:s,backgroundColor:o,section:n="main"}){const e=B(),{colors:t}=L(),a=e[n];let r=c;if(o===void 0){const u=a.colorScheme;r=u?t.schemes?.[u]?.base?.background??c:c}else r=o;const{isValidContrast:h}=p(()=>k({backgroundColor:r,foregroundColor:s}),[r,s]);return h}const _="_8ssCG",E="zS4x6",x="PrlUn",D="SsCEp",I="eEpXo",O="PJvCw",R="aTkbO",l={xsmall:_,small:E,medium:x,large:D,ShopPayLogo:I,ShopLogo:O,inline:R};function K({accessibilityVisibility:s="visible",color:o="white",inline:n,size:e="medium"}){const t=o==="branded"?d.toRgb():o,a=s==="hidden";return P(v,{className:g(l.ShopLogo,l[e],{[l.inline]:n}),style:{fill:t},"aria-hidden":a||void 0,"aria-label":a?void 0:"Shop",role:a?void 0:"img"})}const U="_0mzUL",i={Button:U,"Button--dark":"_6W0f3","Button--contrast":"aFsKX","Button--progressing":"XVUQD"};function A({progressing:s=!1}={}){const o=T({foregroundColor:d}),n=y(),e=m().shopPay.app.config,t=C(e,n);return p(()=>g(i.Button,{[i["Button--contrast"]]:!o&&!t,[i["Button--dark"]]:t,[i["Button--progressing"]]:s}),[t,o,s])}function W(){const{shopPay:s}=m(),o=s.session.isInternalProgressing.value;return A({progressing:o})}export{K as S,z as a,T as b,A as c,l as s,W as u,X as v};

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.