PageSourceSearch

https://sidearmsports.com/SCardsGroup.es.da381672.mjs

js sidearmsports.com collected 2026-09-24 06:30:12 UTC 1,298 bytes, 1 lines download raw bytes

1import{e as v,f as C,g as k,h as i,i as p,j as b,k as w,l as y,o as j,c as O,a as _,m as B,n as N}from"./index.a8b11f73.mjs";const S={class:"s-cards-group__content"},E={name:"SCardsGroup"},z=v({...E,props:{theme:{type:String,default:"light-theme",validator:function(l){return["light-theme","dark-theme"].indexOf(l)!==-1}},wrapper:Boolean,placementConfig:{type:Object,required:!1}},setup(l){const a=l,d=C(),m="s-cards-group",{themeClasses:g}=k(a,m),h=i(()=>[g.value,{"s-cards-group--wrapper":a.wrapper,"s-cards-group--card-top":c.value==="top","s-cards-group--card-left":c.value==="left"}]),n=i(()=>d.width),c=p("top"),f=()=>{let e,r;a.placementConfig&&Object.keys(a.placementConfig).length&&(Object.keys(a.placementConfig).forEach(s=>{const u=a.placementConfig?a.placementConfig[s]:{};n&&n.value&&n.value>=Number(s)&&(e=u)}),e&&e&&Object.keys(e).length&&Object.keys(e).forEach(s=>{const u=e[s];t&&t.value&&t.value>=Number(s)&&(r=u),r&&(c.value=r)}))},o=p(null),t=p(null);return b(()=>{t.value=o.value.offsetWidth,new w.ResizeSensor(o.value,()=>{t.value=o.value.offsetWidth}),f()}),y(()=>d.width,()=>{f()}),(e,r)=>(j(),O("div",{"data-test-id":"s-cards-group__root",class:N(["s-cards-group",...h.value]),ref_key:"componentRef",ref:o},[_("div",S,[B(e.$slots,"default")])],2))}});export{z as default};

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.