1import{D as e,E as t,On as n,Qn as r,_ as i,b as a,et as o,k as s,mt as c,nr as l,qt as u,v as d,xt as f,y as p}from"./Ib1jYPSS.js";import{t as m}from"./BDNMzG2s2.js";import{t as h}from"./C6J5DZAz2.js";import{n as g,t as _}from"./BJqjXgUT.js";var v=[`inert`],y={key:1,class:`tapp-product-card__title`},b=[`innerHTML`],x={key:3,class:`tapp-product-card__price`},S={class:`tapp-product-card__cta`},C={key:4,class:`tapp-product-card__image`},w=[`src`],T={class:`tapp-product-card__premium-usps`},E={class:`tapp-product-card__usps`},D={class:`tapp-product-card__highlight-usps`},O=s({__name:`TappProductCard`,props:{attrsButton:{},imageUrl:{},label:{},title:{},subTitle:{},price:{},priceFrom:{},priceTo:{},discount:{},pricePrefix:{},priceSuffix:{},showCover:{type:Boolean},disabled:{type:Boolean},highlight:{type:Boolean},shouldBeFirst:{type:Boolean}},emits:[`buttonClick`],setup(s,{emit:m}){let O=m;function k(){O(`buttonClick`)}return(m,O)=>{let A=_,j=h;return c(),a(`div`,{inert:s.disabled,class:r([`tapp-product-card`,{"tapp-product-card--disabled":s.disabled,"tapp-product-card--highlight":s.highlight,"tapp-product-card--has-label":s.label,"tapp-product-card--should-be-first":s.shouldBeFirst}]),"data-testid":`tapp-product-card`},[s.label?(c(),a(`span`,{key:0,class:r([`tapp-product-card__label`,{"tapp-product-card__label--disabled":s.disabled}])},l(s.label),3)):p(``,!0),s.title?(c(),a(`h3`,y,l(s.title),1)):p(``,!0),s.subTitle?(c(),a(`div`,{key:2,class:`tapp-product-card__subtitle`,innerHTML:s.subTitle},null,8,b)):p(``,!0),O[0]||=i(`hr`,{class:`tapp-product-card__line`},null,-1),m.$slots.price||s.price||s.priceFrom?(c(),a(`div`,x,[f(m.$slots,`price`,{},()=>[s.price||s.priceFrom?(c(),d(A,{key:0,variant:s.priceFrom?n(g).fromTo:n(g).default,"price-from":s.priceFrom,"price-to":s.priceTo,price:s.price,prefix:s.pricePrefix,suffix:s.priceSuffix,discount:s.discount},null,8,[`variant`,`price-from`,`price-to`,`price`,`prefix`,`suffix`,`discount`])):p(``,!0)])])):p(``,!0),i(`div`,S,[f(m.$slots,`cta`,{},()=>[e(j,o(s.attrsButton,{"full-width":``,onClick:k}),{default:u(()=>[t(l(s.attrsButton?.text??`Bestel nu`),1)]),_:1},16)])]),s.showCover?(c(),a(`div`,C,[f(m.$slots,`image`,{},()=>[i(`img`,{src:s.imageUrl},null,8,w)]),f(m.$slots,`preview`)])):p(``,!0),i(`div`,T,[f(m.$slots,`premium-usps`)]),i(`div`,E,[f(m.$slots,`usps`)]),i(`div`,D,[f(m.$slots,`highlight-usps`)])],10,v)}}}),k={},A={class:`tapp-product-grid-container`},j={class:`tapp-product-grid`};function M(e,t){return c(),a(`div`,A,[i(`div`,j,[f(e.$slots,`default`)])])}var N=m(k,[[`render`,M]]);export{O as n,N as t}; 2//# sourceMappingURL=BoAQN5Rd.js.map
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.