1import{_ as c}from"./DYA-JQ9i.js";import{_ as u}from"./CFStDwU3.js";import{_ as f}from"./DeKnwH19.js";import{a as m}from"./44E7dNL6.js";import{P as p}from"./jFQDT9xi.js";import{u as h}from"./BEEwUUFa.js";import{u as v}from"./DBBgtW7s.js";import{as as y,b_ as g,ai as t,an as k,dg as o,ct as d,ae as P,bR as a,ap as B,c5 as S,c9 as x}from"./C9Z41gEb.js";const E=y({__name:"product-slider",props:{products:{},context:{default:void 0},contentAlign:{default:void 0},headlineLevel:{default:void 0},moreProducts:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},isMobileSlider:{type:Boolean,default:!1},hideButtons:{type:Boolean,default:!1},hideFade:{type:Boolean,default:!1},stockPredictions:{default:void 0}},emits:["navigation"],setup(e){const i=e;g(p,h()),v({type:"product-slider"});const l=P(()=>i.isLoading?Array.from({length:5}).fill({}):i.products);return(s,b)=>(a(),t(u,{class:"ws-product-slider","content-align":e.contentAlign,"hide-buttons":e.hideButtons,"hide-fade":e.hideFade,items:d(l)},k({item:o(({item:n,index:r})=>[e.isLoading?(a(),t(c,{key:0})):(a(),t(x(s.$extensions.productDiscovery.product.tile),{key:1,class:"fill-height",small:"","headline-level":e.headlineLevel,index:r,product:n,context:e.context,"stock-prediction":d(m)(e.stockPredictions,n.sku)},null,8,["headline-level","index","product","context","stock-prediction"]))]),_:2},[e.moreProducts?{name:"afterGroupItems",fn:o(()=>[B(f,null,{default:o(()=>[S(s.$slots,"moreProducts")]),_:3})]),key:"0"}:void 0]),1032,["content-align","hide-buttons","hide-fade","items"]))}});export{E as _};
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.