import{q as l,j as s,b as d}from"./BulkImageUpload-DGPbX05r.js";import{U as t}from"./User-DMCQU0ZG.js";import o from"./Path-BGQq4Hlj.js";import"./bootstrap.esm-e_F80uXB.js";const p=r=>{const i=r.package,{currency:a}=l().props,c=({validity:e})=>e==0?s.jsx("span",{children:"Lifetime"}):e>=12?s.jsxs("span",{children:[e/12," Years"]}):s.jsxs("span",{children:[e," Months"]});return s.jsxs(t,{children:[s.jsx(o,{title:"Packages"}),s.jsx("div",{className:"container-fluid user-container",children:s.jsxs("div",{className:"container pb-5",children:[s.jsx("div",{className:"title text-center pt-0 pb-4",children:s.jsx("h2",{className:"fs-4 pb-2",children:"Choose the right Package for you to get Started"})}),s.jsx("div",{className:"row",children:i&&i.map((e,n)=>s.jsx("div",{className:"col-md-4",children:s.jsxs("div",{className:"card pricecard  rounded border-0 text-center",children:[s.jsxs("div",{className:"card-header",children:[s.jsx("h6",{className:"",children:e.name}),s.jsx("p",{children:e.desic}),s.jsxs("h4",{className:"mb-0",children:[a,parseFloat(e.price).toFixed(2)]})]}),s.jsx("div",{className:"card-body",children:s.jsxs("ul",{children:[s.jsxs("li",{children:["Total No of Listings ",s.jsxs("span",{children:[" -   ",e.listing]})]}),s.jsxs("li",{children:["Verified Badge ",s.jsxs("span",{children:[" -   ",e.verification]})]}),s.jsxs("li",{children:["Messages from Visitors ",s.jsxs("span",{children:[" -   ",e.message," "]})]}),s.jsxs("li",{children:["Accept Reviews ",s.jsxs("span",{children:[" -   ",e.review]})]}),s.jsxs("li",{children:["No of Services Allowed / Listing ",s.jsxs("span",{children:[" -   ",e.services]})]}),s.jsxs("li",{children:["No of Products Allowed / Listing ",s.jsxs("span",{children:[" -   ",e.products]})]}),s.jsxs("li",{children:["No of Images Allowed / Listing ",s.jsxs("span",{children:[" -   ",e.images]})]}),s.jsxs("li",{children:["Package Validity ",s.jsxs("span",{children:[" -   ",s.jsx(c,{validity:e.validity})]})]})]})}),s.jsx("div",{className:"card-footer text-muted",children:s.jsx(d,{className:"btn w-100 btn-primary",method:"post",data:{id:e.id},href:"purchase",as:"button",children:"Choose Package"})})]})},n))})]})})]})};export{p as default};
