1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[224],{6753:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/seller/[userId]",function(){return r(6315)}])},4381:function(e,t,r){"use strict";r.d(t,{II:function(){return o},Ph:function(){return m},gx:function(){return x},sb:function(){return c},xb:function(){return u},zx:function(){return d}});var n=r(5893),a=r(8955),s=r(1664),i=r.n(s),l=function(e){var t=e.children;return(0,n.jsx)("form",{className:"w-full",children:t})};t.ZP=l;var o=function(e){var t=e.label,r=e.name,a=e.type,s=e.value,i=e.onChange,l=e.multiple,o=e.disabled;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("label",{className:"block text-base mb-1",children:t}),(0,n.jsx)("input",{name:r,type:a,value:s,onChange:i,required:!0,multiple:l,disabled:o,className:"w-full border-1 border-dark rounded-md px-4 py-3 mb-6 outline-none bg-light transition duration-300 ease-in-out focus:border-primary",placeholder:"Enter ".concat(t)})]})},c=function(e){var t=e.label,r=e.value,s=e.onChange,i=r&&!(0,a.tm)(r);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("label",{className:"block text-base mb-1",children:t}),(0,n.jsx)(a.ZP,{placeholder:"e.g. 0801 234 5678",defaultCountry:"NG",countries:["NG"],countryCallingCodeEditable:!1,international:!1,countrySelectProps:{disabled:!0,"aria-label":"Nigeria"},maxLength:13,name:"phoneNumber",value:r,onChange:s,className:"w-full border-1 rounded-md px-4 py-3 mb-1 outline-none bg-light transition duration-300 ease-in-out focus:border-primary ".concat(i?"border-red-500":"border-dark")}),(0,n.jsx)("p",{className:"text-xs mb-6 ".concat(i?"text-red-500":"text-gray-500"),children:i?"That doesn't look like a valid Nigerian number":"Enter your 11-digit Nigerian mobile number"})]})},d=function(e){var t=e.children,r=e.disabled,a=e.onClick,s=e.type;return(0,n.jsx)("button",{type:s,disabled:r,onClick:a,className:"my-6 w-full text-xl no-underline block text-center py-3 px-8 font-medium rounded-full cursor-pointer relative whitespace-nowrap z-2 transition border-2 border-dark duration-300 ease-[cubic-bezier(0.42, 0, 0.58, 1)] hover:bg-primary hover:text-light hover:border-primary",children:t})},u=function(e){var t=e.href,r=e.children;return(0,n.jsx)(i(),{href:t,children:(0,n.jsx)("div",{className:"my-6 w-full text-xl no-underline block text-center py-3 px-8 font-medium rounded-full cursor-pointer relative whitespace-nowrap z-2 transition border-2 border-dark duration-300 ease-[cubic-bezier(0.42, 0, 0.58, 1)] hover:bg-primary hover:text-light hover:border-primary",children:r})})},m=function(e){var t=e.name,r=e.onChange,a=e.label,s=e.value,i=e.children;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("label",{className:"block text-base mb-1",children:a}),(0,n.jsx)("select",{name:t,value:s,onChange:r,required:!0,className:"w-full border-1 border-dark rounded-md px-4 py-3 mb-6 outline-none bg-light transition duration-300 ease-in-out focus:border-primary",children:i})]})},x=function(e){var t=e.label,r=e.onChange,a=e.value,s=e.name;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("label",{className:"block text-base mb-1",children:t}),(0,n.jsx)("textarea",{name:s,value:a,onChange:r,required:!0,className:"w-full h-[150px] resize-none border-1 border-dark rounded-md px-4 py-3 mb-6 outline-none bg-light transition duration-300 ease-in-out focus:border-primary",placeholder:"Enter ".concat(t)})]})}},6315:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return L},default:function(){return E}});var n=r(7568),a=r(4924),s=r(6042),i=r(9396),l=r(828),o=r(9815),c=r(7582),d=r(5893),u=r(8953),m=r(6569);r(5675);var x=r(9603),h=r(9417),p=r(2920),b=r(9367),g=r(7294),f=r(2175),v=r(1773),y=r(3395),N=r(4381),j=r(3024),w=function(e){var t=e.user,r=e.activeListingsCount,a=(0,g.useState)(!1),l=a[0],o=a[1],u=(0,g.useState)(!1),w=u[0],_=u[1],k=(0,g.useState)(!1),C=k[0],Z=k[1],S=(0,g.useContext)(y.Z).user;(0,g.useEffect)(function(){_(!0)},[]);var A,L,E=function(e){return e?e.split("-").map(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}).join(" "):""},P=function(){if(!S||!t)return!1;var e=t._id||t.id;return(S._id||S.id)===e},I=function(){var e=t._id||t.id;(0,v.L)("profile-whatsapp-click",null,{userId:e})},G=(A=(0,n.Z)(function(e,r){var n,a,l;return(0,c.__generator)(this,function(c){switch(c.label){case 0:if(n=r.setSubmitting,!S)return p.Am.error("You must be logged in to give a review"),[2];if(P())return p.Am.error("You cannot give a review to yourself"),[2];n(!0),c.label=1;case 1:return c.trys.push([1,3,4,5]),a=t._id||t.id,[4,m.Z.post("/feedbacks",(0,i.Z)((0,s.Z)({},e),{givenTo:a}),{headers:{Authorization:S.token}})];case 2:return c.sent(),p.Am.success("Review submitted successfully"),[3,5];case 3:return l=c.sent(),p.Am.error(l.message),[3,5];case 4:return n(!1),o(!1),[7];case 5:return[2]}})}),function(e,t){return A.apply(this,arguments)}),T=(L=[],(null==t?void 0:t.locality)&&L.push(E(t.locality)),(null==t?void 0:t.state)&&L.push(E(t.state)),L.join(", ")),F=(null==t?void 0:t.street_address)||T;return w&&t?(0,d.jsxs)("div",{className:"w-full bg-light border-1 border-dark-20 rounded-xl",children:[(0,d.jsxs)(b.ZP,{id:"feedback",show:l,onClose:function(){return o(!1)},children:[(0,d.jsx)(b.xB,{children:"Leave Feedback"}),(0,d.jsx)(b.fe,{children:(0,d.jsx)(f.J9,{initialValues:{rating:1,review:""},onSubmit:G,children:function(e){var t=e.values,r=e.handleChange,n=e.setFieldValue,a=e.handleSubmit,s=e.isSubmitting;return(0,d.jsxs)(N.ZP,{children:[(0,d.jsx)("label",{className:"block text-base mb-1",children:"Rating"}),(0,d.jsx)("div",{className:"w-full flex items-center mb-4",children:[,,,,,].fill(0).map(function(e,r){return(0,d.jsx)("div",{onClick:function(){return n("rating",r+1)},className:"cursor-pointer",children:(0,d.jsx)(x.G,{icon:h.Tab,className:"".concat(r+1>t.rating?"text-dark/10":"text-yellow"," h-6 w-6 mr-1")})},r)})}),(0,d.jsx)(N.gx,{name:"review",value:t.review,onChange:r,label:"Review"}),(0,d.jsx)(N.zx,{type:"submit",disabled:s,onClick:a,children:s?"Loading...":"Submit"})]})}})})]}),(0,d.jsxs)("div",{className:"flex flex-col items-center m-6",children:[(0,d.jsx)("div",{className:"w-[120px] h-[120px] rounded-full bg-gray-200 flex items-center justify-center overflow-hidden flex-shrink-0",children:t.photoURL&&!C?(0,d.jsx)("img",{src:t.photoURL,alt:t.displayName||"User",className:"w-full h-full object-cover rounded-full",onError:function(){return Z(!0)},loading:"lazy"}):(0,d.jsx)(x.G,{icon:h.ILF,className:"w-16 h-16 text-gray-400"})}),(0,d.jsx)("h2",{className:"text-2xl font-bold mt-4 text-center",children:t.displayName||"User"}),F&&(0,d.jsx)("div",{className:"mt-3 w-full",children:(0,d.jsx)("div",{className:"bg-gray-50 rounded-lg p-3 border border-gray-200",children:(0,d.jsxs)("div",{className:"flex items-center justify-center gap-1.5",children:[(0,d.jsx)(x.G,{icon:h.opg,className:"text-primary text-sm flex-shrink-0"}),(0,d.jsxs)("div",{className:"text-center",children:[t.street_address&&(0,d.jsx)("p",{className:"text-sm text-gray-800",children:t.street_address}),T&&(0,d.jsx)("p",{className:"text-sm text-gray-800",children:T})]})]})})}),(0,d.jsx)("div",{className:"flex items-center mt-3",children:(0,d.jsx)("div",{className:"flex ml-4",children:t.rating&&(0,d.jsxs)(d.Fragment,{children:[Array(Math.floor(t.rating)).fill(0).map(function(e,t){return(0,d.jsx)(x.G,{icon:h.Tab,className:"text-yellow h-5 w-5 mr-1"},t)}),Array(5-Math.floor(t.rating)).fill(0).map(function(e,t){return(0,d.jsx)(x.G,{icon:h.Tab,className:"text-dark/10 h-5 w-5 mr-1"},t)})]})})}),(0,d.jsxs)("div",{className:"w-full mt-2",children:[t.phoneNumber&&(0,d.jsx)("p",{className:"text-base font-bold text-gray-800 text-center",children:t.phoneNumber}),t.phoneNumber&&(0,d.jsx)("div",{className:"flex justify-center mt-2",children:(0,d.jsxs)("a",{target:"_blank",href:"https://api.whatsapp.com/se
1nd?phone=".concat(t.phoneNumber.replace("+","").replace(/\s/g,""),"&text=Hello ").concat(t.displayName||"",", I want to inquire about one of your listed ads from Naijaspider.com"),onClick:I,className:"flex items-center gap-2 text-sm font-medium px-4 py-2 rounded-full bg-[#25D366] text-white hover:bg-[#128C7E] transition-all duration-300 shadow-md",rel:"noopener noreferrer",children:[(0,d.jsx)(x.G,{icon:j.VHX,style:{fontSize:"1rem"}}),(0,d.jsx)("span",{children:"WhatsApp"})]})})]}),t.description&&(0,d.jsx)("div",{className:"mt-3 w-full",children:(0,d.jsx)("p",{className:"text-sm text-gray-600 text-center",children:t.description})}),void 0!==r&&(0,d.jsxs)("p",{className:"text-sm text-gray-500 text-center mt-2",children:[r," ",1===r?"listing":"listings"]}),t.last_active&&(0,d.jsxs)("p",{className:"text-xs text-gray-400 text-center mt-3",children:["Last seen ",t.last_active]}),!P()&&(0,d.jsx)("button",{onClick:function(){return o(!0)},className:"bg-primary text-base font-semibold px-6 py-2 rounded-lg mt-4 text-white hover:bg-primary/90 transition-colors",children:"Leave Feedback"})]})]}):null},_=r(4647),k=r(9008),C=r.n(k),Z=r(1163),S=function(e){var t,r,n,a,s,i,l,o,c,d,u,m,x;return e&&"object"==typeof e?{_id:null!==(t=e._id)&&void 0!==t?t:null,title:null!==(r=e.title)&&void 0!==r?r:null,price:null!==(n=e.price)&&void 0!==n?n:null,status:null!==(a=e.status)&&void 0!==a?a:null,primaryImage:null!==(s=e.primaryImage)&&void 0!==s?s:null,categoryName:null!==(i=e.categoryName)&&void 0!==i?i:null,subcategoryName:null!==(l=e.subcategoryName)&&void 0!==l?l:null,stateName:null!==(o=e.stateName)&&void 0!==o?o:null,localityName:null!==(c=e.localityName)&&void 0!==c?c:null,slug:null!==(d=e.slug)&&void 0!==d?d:null,attributes:null!==(u=e.attributes)&&void 0!==u?u:null,description:null!==(m=e.description)&&void 0!==m?m:"",contactForPrice:null!==(x=e.contactForPrice)&&void 0!==x&&x}:null},A=function(e){var t,r,n,a;return e&&"object"==typeof e?{rating:null!==(r=e.rating)&&void 0!==r?r:null,review:null!==(n=e.review)&&void 0!==n?n:null,givenBy:{displayName:null!==(a=null===(t=e.givenBy)||void 0===t?void 0:t.displayName)&&void 0!==a?a:null}}:null},L=!0,E=function(e){var t,r=e.user,p=(0,Z.useRouter)(),b="https://naijaspider.com".concat(p.asPath),f=(0,g.useState)([]),v=f[0],y=f[1],N=(0,g.useState)({}),j=N[0],k=N[1],L=(0,g.useState)({}),E=L[0],P=L[1],I=(0,g.useState)([]),G=I[0],T=I[1],F=(0,g.useState)(!0),z=F[0],B=F[1],R=(0,g.useState)(!0),U=R[0],D=R[1],q=(0,g.useState)(null),M=q[0],O=q[1],V=(0,g.useState)({}),W=V[0],H=V[1],X=(0,g.useState)(0),J=X[0],Y=X[1];(0,g.useEffect)(function(){if(null==r?void 0:r._id){var e=!0;return(0,n.Z)(function(){var t,n,a,s,i,o;return(0,c.__generator)(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,3,4]),[4,Promise.all([m.Z.get("/products/counts",{params:{userId:r._id,groupBy:"subcategoryId",status:1}}),m.Z.get("/feedbacks/".concat(r._id))])];case 1:if(n=(t=l.Z.apply(void 0,[o.sent(),2]))[0],a=t[1],!e)return[2];return i=(s=n.data||{})._total||0,y(Object.entries(s).filter(function(e){var t=(0,l.Z)(e,1)[0];return!t.startsWith("_")&&!t.endsWith("__name")&&!t.endsWith("__categoryName")}).map(function(e){var t=(0,l.Z)(e,2),r=t[0],n=t[1];return{id:r,name:s["".concat(r,"__name")]||r,categoryName:s["".concat(r,"__categoryName")]||"Uncategorized",count:n}}).filter(function(e){return e.count>0}).sort(function(e,t){return e.name.localeCompare(t.name)})),Y(i),T(Array.isArray(a.data)?a.data.map(A).filter(Boolean):[]),[3,4];case 2:if(o.sent(),!e)return[2];return O("Failed to load seller data."),[3,4];case 3:return e&&(B(!1),D(!1)),[7];case 4:return[2]}})})(),function(){e=!1}}},[null==r?void 0:r._id]);var K=(0,g.useCallback)((t=(0,n.Z)(function(e){var t,n;return(0,c.__generator)(this,function(l){switch(l.label){case 0:if(j[e]||E[e])return[2];P(function(t){return(0,i.Z)((0,s.Z)({},t),(0,a.Z)({},e,!0))}),l.label=1;case 1:return l.trys.push([1,3,4,5]),[4,m.Z.get("/products/user/".concat(r._id),{params:{subcategoryId:e}})];case 2:return n=Array.isArray((t=l.sent()).data)?t.data.map(S).filter(Boolean):[],k(function(t){return(0,i.Z)((0,s.Z)({},t),(0,a.Z)({},e,n))}),[3,5];case 3:return l.sent(),[3,5];case 4:return P(function(t){return(0,i.Z)((0,s.Z)({},t),(0,a.Z)({},e,!1))}),[7];case 5:return[2]}})}),function(e){return t.apply(this,arguments)}),[null==r?void 0:r._id,j,E]),Q=function(e){var t=!W[e];H(function(r){return(0,i.Z)((0,s.Z)({},r),(0,a.Z)({},e,t))}),t&&K(e)},$=G.length?(G.reduce(function(e,t){return e+(t.rating||0)},0)/G.length).toFixed(1):0,ee=function(e){return e?e.includes("-")?e.split("-").map(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}).join(" "):e:""},et=ee(r.locality),er=ee(r.state),en={"@context":"https://schema.org","@type":"LocalBusiness",name:r.displayName,description:r.description,url:"https://naijaspider.com".concat(p.asPath),telephone:r.phoneNumber,address:{"@type":"PostalAddress",streetAddress:r.street_address||"Address not provided",addressLocality:et||"",addressRegion:er||"",addressCountry:"NG"},areaServed:et||"Nigeria",contactPoint:{"@type":"ContactPoint",telephone:r.phoneNumber,contactType:"customer service",availableLanguage:["English"],areaServed:"NG"}};return(0,d.jsxs)(u.Z,{children:[(0,d.jsxs)(C(),{children:[(0,d.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(en)}}),(0,d.jsxs)("title",{children:[r.displayName," | ",r.phoneNumber," | NaijaSpider"]}),(0,d.jsx)("meta",{name:"description",content:"".concat(r.displayName," | ").concat(r.phoneNumber," | ").concat(J," active ads | Rating: ").concat($," | NaijaSpider")}),(0,d.jsx)("link",{rel:"canonical",href:b}),(0,d.jsx)("meta",{name:"robots",content:"noindex,follow"})]}),(0,d.jsx)("div",{className:"my-8 md:my-16",children:(0,d.jsxs)("div",{className:"block lg:grid filters-gri
1d gap-8",children:[(0,d.jsx)("div",{children:(0,d.jsx)(w,{user:r,activeListingsCount:J})}),(0,d.jsxs)("div",{className:"space-y-6 md:space-y-8",children:[(0,d.jsxs)("div",{className:"bg-gradient-to-r from-blue-50 to-purple-50 p-4 md:p-6 rounded-xl border border-gray-200",children:[(0,d.jsxs)("h1",{className:"text-2xl md:text-4xl font-bold text-gray-800 mb-2",children:[r.displayName,"'s Active Ads"]}),(0,d.jsxs)("div",{className:"flex flex-wrap gap-3 md:gap-6 text-xs md:text-sm text-gray-600",children:[(0,d.jsxs)("span",{className:"flex items-center",children:[(0,d.jsx)(x.G,{icon:h.Tab,className:"text-yellow mr-1"}),(0,d.jsxs)("a",{href:"#reviews-section",className:"hover:underline cursor-pointer",onClick:function(e){var t;e.preventDefault(),null===(t=document.getElementById("reviews-section"))||void 0===t||t.scrollIntoView({behavior:"smooth"})},children:[$," Rating (",G.length," reviews)"]})]}),(0,d.jsxs)("span",{children:["\uD83D\uDCE6 ",J," Active Ads"]}),v.length>0&&(0,d.jsx)("span",{className:"text-blue-600 text-xs",children:"\uD83D\uDCA1 Click any category to view ads"})]})]}),z?(0,d.jsxs)("div",{className:"bg-white rounded-lg shadow-sm p-8 text-center border border-gray-200",children:[(0,d.jsx)("div",{className:"inline-block animate-spin rounded-full h-8 w-8 border-b-2 border-primary mb-3"}),(0,d.jsx)("p",{className:"text-gray-500",children:"Loading categories..."})]}):M?(0,d.jsx)("div",{className:"bg-white rounded-lg shadow-sm p-8 text-center border border-red-200",children:(0,d.jsx)("p",{className:"text-red-500",children:M})}):v.length>0?(0,d.jsx)("div",{className:"space-y-4",children:v.map(function(e){var t=!!W[e.id],r=j[e.id],n=!!E[e.id];return(0,d.jsxs)("div",{className:"bg-white rounded-xl border border-gray-200 overflow-hidden shadow-sm hover:shadow-md transition-shadow",children:[(0,d.jsxs)("div",{className:"p-4 md:p-5 cursor-pointer hover:bg-gray-50 transition-colors",onClick:function(){return Q(e.id)},children:[(0,d.jsxs)("div",{className:"flex items-center justify-between",children:[(0,d.jsx)("div",{className:"flex-1",children:(0,d.jsxs)("h2",{className:"text-base md:text-xl font-bold text-gray-800 flex flex-wrap items-center gap-1 md:gap-2",children:[(0,d.jsx)("span",{className:"bg-primary w-1.5 md:w-2 h-5 md:h-6 rounded-full mr-1 md:mr-2"}),(0,d.jsx)("span",{className:"text-sm md:text-xl",children:e.name}),(0,d.jsxs)("span",{className:"text-xs md:text-sm font-normal text-gray-500",children:["in ",e.categoryName]})]})}),(0,d.jsxs)("div",{className:"flex items-center gap-2 md:gap-3",children:[(0,d.jsxs)("span",{className:"text-xs md:text-sm bg-gray-100 px-2 py-1 rounded-full text-gray-600",children:[e.count," ",1===e.count?"ad":"ads"]}),(0,d.jsx)(x.G,{icon:t?h.mTx:h.ptq,className:"text-gray-400 text-sm md:text-base"})]})]}),!t&&(0,d.jsxs)("p",{className:"text-xs text-gray-400 mt-2 ml-6",children:["Click to view ",e.count," ",1===e.count?"ad":"ads"," in"," ",e.name]})]}),t&&(0,d.jsx)("div",{className:"p-4 md:p-5 border-t border-gray-100",children:n?(0,d.jsxs)("div",{className:"text-center py-6",children:[(0,d.jsx)("div",{className:"inline-block animate-spin rounded-full h-6 w-6 border-b-2 border-primary mb-2"}),(0,d.jsx)("p",{className:"text-gray-500 text-sm",children:"Loading ads..."})]}):(null==r?void 0:r.length)?(0,d.jsx)(_.Z,{products:r}):(0,d.jsx)("p",{className:"text-gray-500 text-sm text-center py-4",children:"No ads in this category."})})]},e.id)})}):(0,d.jsx)("div",{className:"bg-white rounded-lg shadow-sm p-8 text-center border border-gray-200",children:(0,d.jsx)("p",{className:"text-gray-500",children:"No active ads found"})}),(0,d.jsxs)("div",{id:"reviews-section",className:"bg-white p-4 md:p-6 rounded-xl border border-gray-200",children:[(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4 mb-6",children:[(0,d.jsx)("h3",{className:"text-2xl md:text-3xl font-bold text-gray-800",children:"Customer Reviews"}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("div",{className:"flex",children:(0,o.Z)([,,,,,]).map(function(e,t){return(0,d.jsx)(x.G,{icon:h.Tab,className:"h-4 w-4 md:h-5 md:w-5 ".concat(t<Math.floor($)?"text-yellow":"text-dark/10")},t)}
1)}),(0,d.jsxs)("span",{className:"text-base md:text-lg font-semibold text-gray-700",children:[$," (",G.length," reviews)"]})]})]}),U?(0,d.jsxs)("div",{className:"text-center py-8",children:[(0,d.jsx)("div",{className:"inline-block animate-spin rounded-full h-8 w-8 border-b-2 border-primary mb-3"}),(0,d.jsx)("p",{className:"text-gray-500",children:"Loading reviews..."})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-6",children:G.map(function(e,t){var r,n,a,s;return(0,d.jsx)("div",{className:"bg-gray-50 p-3 md:p-4 rounded-lg border border-gray-200 hover:shadow-sm transition-shadow",children:(0,d.jsxs)("div",{className:"flex items-start gap-3 md:gap-4",children:[(0,d.jsx)("div",{className:"flex-shrink-0",children:(0,d.jsx)("div",{className:"w-10 h-10 md:w-12 md:h-12 bg-gradient-to-br from-blue-400 to-purple-500 rounded-full flex items-center justify-center text-white font-bold text-sm md:text-base",children:(null===(a=null===(r=e.givenBy)||void 0===r?void 0:null===(n=r.displayName)||void 0===n?void 0:n.charAt(0))||void 0===a?void 0:a.toUpperCase())||"U"})}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("p",{className:"font-semibold text-gray-800 text-sm md:text-base",children:null===(s=e.givenBy)||void 0===s?void 0:s.displayName}),(0,d.jsx)("div",{className:"flex items-center gap-1 mb-2",children:(0,o.Z)([,,,,,]).map(function(t,r){return(0,d.jsx)(x.G,{icon:h.Tab,className:"h-3 w-3 md:h-4 md:w-4 ".concat(r<e.rating?"text-yellow":"text-dark/10")},r)})}),(0,d.jsx)("p",{className:"text-gray-600 leading-relaxed text-sm md:text-base",children:e.review})]})]})},t)})}),0===G.length&&(0,d.jsxs)("div",{className:"text-center py-8 text-gray-500",children:[(0,d.jsx)(x.G,{icon:h.Tab,className:"h-12 w-12 text-gray-300 mb-4"}),(0,d.jsx)("p",{className:"text-lg",children:"No reviews yet"}),(0,d.jsx)("p",{className:"text-sm",children:"Be the first to review this seller!"})]})]})]})]})]})})]})}},1773:function(e,t,r){"use strict";r.d(t,{L:function(){return a}});var n=r(6569),a=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=t?"/products/".concat(e,"/").concat(t):"/users/".concat(e);n.Z.put(a,r).catch(function(){})}},828:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(3375),a=r(1566);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||(0,n.Z)(e,t)||(0,a.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}}},function(e){e.O(0,[7497,7861,2175,4647,9774,2888,179],function(){return e(e.s=6753)}),_N_E=e.O()}]);
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.