PageSourceSearch

https://store.frontlinegaming.org/cdn/shopifycloud/checkout-web/as…/Section-SectionStyleOverride.Dli5IR65.js

js frontlinegaming.org collected 2026-09-24 09:54:15 UTC 2,051 bytes, 1 lines download raw bytes

1import{T,u as b,i as B}from"./esnext-vendor.D7ldIee_.js";import{_ as N,u as R,at as x}from"./hydrate.ByRIsqvd.js";import{N as w,af as L}from"./addresses-is-address-empty.-MuOhIyI.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}={}}}=N(),{shop:I}=w(),t=I.hasFlagEnabled(L),g=R(),{vaulted:{background:S,border:m,borderStyle:p,borderWidth:k,cornerRadius:y,shadow:h,padding:f},lineItems:{blockPadding:C,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:f}),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(C,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,f,O,t,C,v]);return b(x,{style:_,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.