PageSourceSearch

https://shop.antiquealive.com/cdn/shopifycloud/checkout-web/assets/c1/Section-SectionStyleOverride.DC78UZTk.js

js antiquealive.com collected 2026-09-24 20:53:02 UTC 2,056 bytes, 1 lines download raw bytes

1import{T as _,u as b,i as B}from"./esnext-vendor.BBoIVOQW.js";import{X as R,u as x,aq as N}from"./hydrate.Tsur0pib.js";import{T as w,ak as L}from"./addresses-is-address-empty.ZJ1ThpFy.js";function d(r){return Object.fromEntries(Object.entries(r??{}).filter(([,n])=>n!=null))}const P={background:"base",border:"full",borderStyle:"base",borderWidth:"base",cornerRadius:"base"},W="base";function D(r,n){return r?{background:n?void 0:"subdued200",border:"none",borderStyle:"base",borderWidth:"base",cornerRadius:"large",shadow:"extraSmall"}:P}function l(r,n,e){return{...d(r),...d(n),...d(e)}}function Y(r,n,e){if(!r&&!n)return;const a=Array.isArray(e)?e[0]:e,o=Array.isArray(e)?e[1]:e;return[r??a,n??o]}const F={background:"transparent",border:"none",cornerRadius:"base"};function H({children:r,condition:n,target:e}){return b(B,{when:n,fallback:r,children:b(M,{target:e,children:r})})}function M({children:r,target:n}){const{main:{section:e},expressCheckout:{background:a,padding:o},orderSummary:{mobile:{background:i,padding:u}={}}}=R(),{shop:I}=w(),t=I.hasFlagEnabled(L),g=x(),{vaulted:{background:S,border:m,borderStyle:p,borderWidth:k,cornerRadius:y,shadow:h,padding:C},lineItems:{blockPadding:f,inlinePadding:v}}=g,O=e?.colorScheme!=null&&g.colors?.schemes?.[e.colorScheme]?.base?.background!=null,T=_(()=>{const s=D(t,O);switch(n){case"card":return{padding:W,...l(s,void 0,e)};case"edgeToEdgeCard":return{...l(s,void 0,e),padding:"none"};case"plain":return F;case"expressCheckout":return{...e,background:a??e?.background,padding:o??e?.padding};case"vaulted":{const A=t?s:{},c=d({background:S,border:m,borderStyle:p,borderWidth:k,cornerRadius:y,shadow:h,padding:C}),E=d(e);return{...l(A,c,e),padding:c.padding??E.padding,...t?{}:{background:c.background??E.background}}}case"lineItems":return{...e,padding:Y(f,v,e?.padding)??e?.padding};case"mobileOrderSummary":return u||i?{...e,background:i??e?.background,padding:u??e?.padding}:e??{};default:return e??{}}},[e,n,a,o,i,u,S,m,p,k,y,h,C,O,t,f,v]);return b(N,{style:T,children:r})}export{H as M,M as S};

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.