1import{_ as b}from"./Ce8m-lLt.js";import{b as P,d as g,E as h,c as n,j as c,m as e,v as k,x as l,k as C,l as u,o as V,s as j,t as B,q as i}from"./B30BqIw0.js";import{u as N}from"./1V3UmDFY.js";import{u as T}from"./B8GnoRgu.js";import{u as L}from"./QEOfgnAY.js";const S=["id"],E={class:"flex items-center gap-2"},F={key:1,class:"flex gap-2 justify-end text-base text-uppababy mb-2"},w=P({__name:"SharedListingProductPrice",props:{product:{}},setup(p){const d=p;let a={listing:{variantsFrom:"variants from",previously:"previously",to:"to"}};a=g(N(),a);const{product:t}=h(d),{price:m,unitPrice:f,displayFromVariants:v,isListPrice:x,regulationPrice:s}=T(t),{getTaxInclusivePrice:r}=L(),_=n(()=>r(f.value,t.value)),y=n(()=>r(m.value?.listPrice?.price,t.value,!0));return(q,z)=>{const o=b;return i(),c("div",{id:e(t).id,class:"flex flex-col items-start"},[e(x)?(i(),k(o,{key:0,class:"text-base text-uppababy-pdpgrey font-400 basis-2/6 justify-end line-through",value:e(y)},null,8,["value"])):l("",!0),C("div",E,[u(o,{class:V(["text-gray-900 basis-2/6 text-base font-400 font-normal",{"justify-end text-uppababy text-xl":e(s)||!e(s)||!e(v)}]),value:e(_)},null,8,["class","value"])]),e(s)?(i(),c("div",F,[j(B(e(a).listing.previously)+" ",1),u(o,{value:e(s)},null,8,["value"])])):l("",!0)],8,S)}}});
1export{w 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.