import{_ as c,o as r,b as o,v as p,n as u,q as g}from"./main-DtyiNRRn.js";const l={name:"ProductPackageSizeFi",props:{item:{type:Object,default:()=>({})},alignRight:{type:Boolean,default:!1}},computed:{packageSize(){var a,t,i,n;if(!this.item||Object.keys(this.item).length===0)return null;const e=((a=this.item.bestPrice)==null?void 0:a.quantityStepRanges)||((t=this.item.data)==null?void 0:t.quantityStepRanges)||((i=this.item.data)==null?void 0:i.bestPrice.quantityStepRanges)||((n=this.item)==null?void 0:n.quantityStepRanges);return e?e[0].rangeValue:null}}};function d(e,a,t,i,n,s){return s.packageSize?(r(),o("div",{key:0,class:u({"product-package-size-fi":!0,"product-package-size-fi--align-right":t.alignRight})},p(e.$dict.get("online-Shop.Product.Unit-Description",[s.packageSize])),3)):g("",!0)}const f=c(l,[["render",d],["__scopeId","data-v-2ee7dea4"]]);export{f as P};