1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[360],{8871:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/product/[id]",function(){return l(4798)}])},4798:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSP:function(){return c},default:function(){return m}});var s=l(5893);l(7294);var r=l(9008),n=l.n(r),i=l(1664),a=l.n(i);l(625);var o=l(615),d=e=>{let{headerText:t,alertText:l}=e;return(0,s.jsx)("div",{className:"mb-3 bg-teal-100 border-t-4 border-teal-500 rounded-b text-teal-900 px-4 py-3 shadow-md",role:"alert",children:(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("div",{className:"py-1",children:(0,s.jsx)("svg",{className:"fill-current h-6 w-6 text-teal-500 mr-4",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:(0,s.jsx)("path",{d:"M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm12.73-1.41A8 8 0 1 0 4.34 4.34a8 8 0 0 0 11.32 11.32zM9 11V9h2v6H9v-4zm0-6h2v2H9V5z"})})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"font-bold",children:t||""}),(0,s.jsx)("p",{className:"text-sm",children:l||""})]})]})})},c=!0,m=e=>{var t,l;let{listing:r}=e,i=e=>{if(!e)return;let t=e.provider,l=e.url;if(l)return(0,s.jsx)("div",{className:"mb-5",children:(0,s.jsxs)(a(),{href:l,target:"_blank",className:"ml-auto mt-1.5 text-white border-0 py-2 px-6 hover:font-bold hover:text-white hover:no-underline focus:outline-none rounded ".concat((()=>{switch(t){case"mercari":return"bg-[#916ade]";case"ebay":return"bg-[#3266a8]";default:return"bg-[#7F353D]"}})()),children:["Buy on ",(()=>{switch(t){case"mercari":return"Mercari";case"ebay":return"eBay";case"poshmark":return"Poshmark";default:return"Stripe"}})()]})},"provider-".concat(e.provider,"-").concat(null==r?void 0:r._id))};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n(),{children:[(0,s.jsx)("meta",{name:"description",content:null==r?void 0:r.description}),(0,s.jsx)("meta",{property:"og:url",content:"https://dollfinder.app/product/".concat(null==r?void 0:r.id)}),(0,s.jsx)("title",{children:null==r?void 0:r.title}),(0,s.jsx)("meta",{property:"og:type",content:"product"}),(0,s.jsx)("meta",{property:"og:title",content:null==r?void 0:r.title}),(0,s.jsx)("meta",{property:"og:description",content:null==r?void 0:r.description}),(0,s.jsx)("meta",{property:"og:image",content:null==r?void 0:r.imageUrls[0]})]}),(0,s.jsx)("section",{className:"text-gray-700 body-font overflow-hidden bg-white",children:(0,s.jsx)("div",{className:"container px-5 py-24 mx-auto",children:(0,s.jsxs)("div",{className:"lg:w-4/5 mx-auto flex flex-wrap",children:[(0,s.jsx)("div",{className:"lg:w-1/2 w-full object-cover object-center rounded border border-gray-200",children:(0,s.jsx)(o.lr,{showThumbs:!0,children:null==r?void 0:null===(t=r.imageUrls)||void 0===t?void 0:t.map((e,t)=>(0,s.jsx)("img",{src:e,alt:"image",width:100,height:200},"carousel-item-".concat(t)))})}),(0,s.jsxs)("div",{className:"lg:w-1/2 w-full lg:pl-10 lg:py-6 mt-6 lg:mt-0",children:[(0,s.jsxs)("h2",{className:"text-sm title-font text-gray-500 tracking-widest",children:["FOR SALE by ",null==r?void 0:r.username]}),(0,s.jsx)("h1",{className:"text-gray-900 text-3xl title-font font-medium mb-1",children:null==r?void 0:r.title}),(0,s.jsx)("div",{className:"mt-4 mb-6",children:(0,s.jsx)("p",{className:"leading-relaxed",children:null==r?void 0:r.description})}),(0,s.jsxs)("div",{className:"mt-2.5 border-b-2",style:{borderColor:"#EDEDED"},children:[(0,s.jsx)("h3",{className:"mb-4 mt-2.5 font-medium",children:"ADDITIONAL DETAILS"}),(0,s.jsx)("div",{className:"flex",children:(0,s.jsxs)("span",{className:"title-font font-medium text-xs text-gray-900",children:["Condition: ",null==r?void 0:r.condition]})}),(0,s.jsx)("div",{className:"flex",children:(0,s.jsxs)("span",{className:"title-font font-medium text-xs text-gray-900",children:["Category: ",null==r?void 0:r.category]})}),(0,s.jsx)("div",{className:"flex mt-2.5",children:(0,s.jsxs)("div",{className:"title-font font-medium text-2xl text-gray-900",children:[(0,s.jsxs)("span",{className:"",children:["$",null==r?void 0:r.price]}),(0,s.jsxs)("span",{className:"text-xs",children:[" ","(+ shipping)"]})]})})]}),!(null==r?void 0:r.isSold)&&(0,s.jsxs)("div",{className:"mt-5",children:[null===(l=r.checkouts)||void 0===l?void 0:l.map((e,t)=>i(e)),(0,s.jsx)(a(),{href:null==r?void 0:r.listingUrl,target:"_blank",className:"ml-auto mt-1.5 text-white border-0 py-2 px-6 hover:font-bold hover:text-white hover:no-underline focus:outline-none rounded bg-mainButtonColor",children:"Buy with Stripe"})]}),(null==r?void 0:r.isSold)&&(0,s.jsx)("div",{className:"mt-5",children:(0,s.jsx)(d,{headerText:"This listing sold",alertText:"The listing was sold and shipped by Doll Finder"})})]})]})})})]})}}},function(e){e.O(0,[655,888,774,179],function(){return e(e.s=8871)}),_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.