1import{i as e}from"./DFKnjcOR.js";import{D as t,On as n,_ as r,b as i,g as a,k as o,mt as s,qt as c,tr as l,v as u,y as d}from"./B4b-2GOK.js";import{t as f}from"./184eaqFL.js";import{t as p}from"./CszsjVhO.js";import{t as m}from"./CgdQ4AwD.js";import{t as h}from"./GC5PPzQz.js";import{t as g}from"./Czf742BW.js";import{t as _}from"./Hd1Rk5dq2.js";var v={class:`flex flex-row items-center gap-2 rounded-2xl bg-gray-200 py-2 pr-6 pl-2 transition-colors duration-100 hover:bg-gray-200/60`},y={class:`flex h-16 w-24 items-center justify-center overflow-hidden rounded-[10px] bg-white`},b={class:`flex flex-col gap-2`},x={class:`flex items-baseline gap-2`},S={key:0,class:`text-md font-inter font-semibold`},C={key:1,class:`h-4 w-10 animate-pulse rounded-sm bg-gray-400 opacity-40`},w={key:2,class:`font-inter text-sm font-medium text-grey-500 line-through`},T={key:0,class:`h-4 w-10 rounded-sm bg-gray-400 opacity-20`},E=o({__name:`ExplorerProductCard`,props:{productTitle:{},handle:{},sku:{},price:{},compareAtPrice:{},image:{},url:{}},setup(e){let o=e,{product:E}=g(()=>o.handle),{getProductPrice:D,getCompareAtPrice:O}=h(E,()=>o.sku),k=a(()=>o.handle?E.value&&D.value||null:o.price??null),A=a(()=>o.handle?E.value?O.value:void 0:o.compareAtPrice);return(a,o)=>{let h=m,g=f,E=p;return s(),u(E,{to:e.url,class:`transition-all duration-200`},{default:c(()=>[r(`div`,v,[r(`div`,y,[t(h,{src:e.image.src,alt:a.$t(e.image.alt),width:`100`,height:`64`,format:`webp`,loading:`lazy`,fit:`cover`,sizes:`64px`},null,8,[`src`,`alt`])]),r(`div`,b,[t(_,{text:e.productTitle},null,8,[`text`]),t(g,null,{fallback:c(()=>[e.handle||e.price?(s(),i(`div`,T)):d(``,!0)]),default:c(()=>[r(`div`,x,[n(k)===null?e.handle?(s(),i(`div`,C)):d(``,!0):(s(),i(`span`,S,l(a.$customCurrency(n(k),`currency`)),1)),n(A)?(s(),i(`span`,w,l(a.$customCurrency(n(A),`currency`)),1)):d(``,!0)])]),_:1})])])]),_:1},8,[`to`])}}}),D=e({default:()=>O}),O=Object.assign(E,{__name:`CustomsItemsExplorerProductCard`});export{D as n,O as t};
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.