1import{W as u,aa as i}from"/build/_shared/chunk-MNIONJ2S.js";import{h as e,i as n}from"/build/_shared/chunk-2ADOHOB6.js";n();function f({item:t,currency:s,position:r}){return t.product.type==="pod"?e.createElement(N,{item:t,currency:s,position:r}):t.product.type==="variable"?e.createElement(y,{item:t,currency:s,position:r}):null}var N=({item:t,currency:s})=>{let{product:r,price:c,regularPrice:a,subTotal:p,option:d,quantity:l}=t,{name:m,image:o,style:x}=r,{size:v,color:b}=d;return e.createElement("div",{className:"mb-5 flex gap-4 border-b border-[#e5e7eb] pb-5 last:mb-0 last:border-b-0 last:pb-0"},e.createElement("div",{className:"shrink-0"},e.createElement("div",{className:"h-[72px] w-[72px] overflow-hidden rounded-[10px] border border-[#e5e7eb] bg-[#e5e7eb]"},e.createElement("img",{src:u(o,b,200),alt:m,className:"h-full w-full object-cover"}))),e.createElement("div",{className:"min-w-0 flex-1"},e.createElement("p",{className:"line-clamp-2 text-[0.95rem] font-medium leading-[1.4] text-[#1a1a2e]"},m),e.createElement("p",{className:"mt-1 text-[0.8rem] text-[#6b7280]"},x.name,"/",b,"/",v),e.createElement("p",{className:"mt-1 text-[0.8rem] text-[#6b7280]"},"Qty: ",l),a&&e.createElement("p",{className:"mt-1 text-xs"},e.createElement("del",{className:"text-[#9ca3af]"},i(a,s.symbol))),e.createElement("p",{className:"mt-1 text-base font-semibold text-[#1a1a2e]"},i(p,s.symbol))))},y=({item:t,currency:s})=>{let{product:r,price:c,subTotal:a,quantity:p,previewUrl:d,variant:l}=t,m=r?.name||r?.slug||l?.sku||"Product",o=d||r?.images?.[0]?.src;return e.createElement("div",{className:"mb-5 flex gap-4 border-b border-[#e5e7eb] pb-5 last:mb-0 last:border-b-0 last:pb-0"},e.createElement("div",{className:"shrink-0"},e.createElement("div",{className:"h-[72px] w-[72px] overflow-hidden rounded-[10px] border border-[#e5e7eb] bg-[#e5e7eb]"},o&&e.createElement("img",{src:o,alt:m,className:"h-full w-full object-cover"}))),e.createElement("div",{className:"min-w-0 flex-1"},e.createElement("p",{className:"line-clamp-2 text-[0.95rem] font-medium leading-[1.4] text-[#1a1a2e]"},m),e.createElement("p",{className:"mt-1 text-[0.8rem] text-[#6b7280]"},l?.sku),e.createElement("p",{className:"mt-1 text-[0.8rem] text-[#6b7280]"},"Qty: ",p),e.createElement("p",{className:"mt-1 text-base font-semibold text-[#1a1a2e]"},i(a,s.symbol))))};export{f as a};
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.