1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ed416fbc-e7c4-4ca4-a559-f4203baf12e9",e._sentryDebugIdIdentifier="sentry-dbid-ed416fbc-e7c4-4ca4-a559-f4203baf12e9")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1688,6378],{68682:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/lp/artists/[slug]",function(){return s(41664)}])},42587:function(e,t,s){"use strict";s.d(t,{z:function(){return a}});var l=s(20229);async function a(){let e=await fetch("".concat((0,l.W)(),"/api/reviews/random"));return await e.json()}},97136:function(e,t,s){"use strict";s.d(t,{n:function(){return n}});var l=s(68425),a=s(36019);let r=function(e){let{rootMargin:t=80,threshold:s=.1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[l,r]=(0,a.useState)(!1),n=(0,a.useMemo)(()=>"undefined"==typeof IntersectionObserver?null:new IntersectionObserver(e=>{r(e.some(e=>e.isIntersecting))},{rootMargin:"".concat(t,"px"),threshold:s}),[t,s]);return(0,a.useEffect)(()=>{if(!e.current||!n)return;let t=e.current;return n.observe(t),()=>{n.disconnect()}},[e,n]),{isOnScreen:l,observer:n}},n=e=>{let{children:t,className:s,fallback:n,...i}=e,o=(0,a.useRef)(null),{isOnScreen:c,observer:m}=r(o,{...i}),[d,x]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{!d&&c&&(x(c),null==m||m.disconnect())},[c,m]),(0,l.jsxs)("div",{ref:o,className:s,"data-on-screen-component":!0,"data-loaded":d,children:[d&&t,!d&&n]})}},62413:function(e,t,s){"use strict";s.d(t,{S:function(){return r}});var l=s(68425),a=s(25951);function r(e){let{children:t}=e;return(0,l.jsx)(a.R,{overrides:{h2:{props:{className:"tracking-normal font-body text-xl font-medium mb-2 sm:text-2xl"}},a:{props:{className:"text-secondary-default underline font-medium",target:"_blank"}},p:{props:{className:"leading-6 text-cool-800 [&:not(:last-of-type)]:mb-6"}}},children:t})}},33615:function(e,t,s){"use strict";s.d(t,{R:function(){return m}});var l=s(68425),a=s(36973),r=s.n(a),n=s(76381),i=s.n(n),o=s(36019),c=s(94366);let m=e=>{let{artists:t,textColor:s="text-cool-600",textClassName:a,clickable:n=!0,className:m}=e,d=r()("text-sm",s,a,n&&"hover:text-secondary-default");return(0,l.jsx)("div",{className:r()("flex space-x-1 overflow-hidden overflow-ellipsis whitespace-nowrap",m),children:null==t?void 0:t.map((e,r)=>(0,l.jsxs)(o.Fragment,{children:[n?(0,l.jsx)(i(),{href:(0,c.Yy)(e.name,e.id),className:d,children:e.name}):(0,l.jsx)("span",{className:d,children:e.name}),t[r+1]&&(0,l.jsx)("span",{className:"text-sm ".concat(s," ").concat(a),children:"x"})]},e.id))})}},71837:function(e,t,s){"use strict";s.d(t,{e:function(){return j}});var l=s(68425),a=s(36973),r=s.n(a),n=s(97136),i=s(33615),o=s(63031),c=s(30),m=s(42255),d=s(63519),x=s(54147),f=s(9807),u=s.n(f),p=s(76381),h=s.n(p),g=s(36019),b=s(67886);let j=e=>{let{id:t,className:s,src:a,artworkName:m,artists:f,lastSale:p,href:j="#",onLinkClick:w,saveButton:y,priority:v,additionalSrc:_,buyPrice:k,sellPrice:z,dynamicTrades:C,showOnlyBuyPrice:Z=!1,badge:S}=e,{t:F}=(0,x.Z)(),[I,P]=(0,g.useState)(!1),{pricePicker:A,userCurrency:E,userRegion:T}=(0,d.L)(),J=(0,g.useMemo)(()=>{let e=A.fromEditionAttributes(C);return e.userCurrency!==E||e.userRegion!==T?{buyPrice:void 0,sellPrice:void 0,isLoading:!0}:{buyPrice:k||e.lowestAsk,sellPrice:z||e.highestBid,isLoading:!1}},[T,E,A,C,k,z]),O=()=>{if(w){w();return}(0,b.b4)()},L={className:"object-contain",fill:!0,quality:75,priority:v,onLoad:()=>P(!0)},R=a&&m?(0,l.jsxs)("div",{className:"relative h-full w-full",children:[!I&&!v&&(0,l.jsx)(o.Yc,{}),(null==_?void 0:_.medium)&&(0,l.jsx)(u(),{src:_.medium,alt:m,...L,className:"hidden object-contain lg:block",sizes:"(max-width:1023px) 0vw, 15vw"}),(0,l.jsx)(u(),{src:a,alt:m,...L,className:r()("object-contain",(null==_?void 0:_.medium)&&"lg:hidden"),sizes:(null==_?void 0:_.medium)?"(max-width:1023px) 15vw, 0vw":"15vw"})]}):(0,l.jsx)(o.Yc,{});return(0,l.jsxs)("div",{className:"shimmer-interaction group ".concat(s),id:t?"artwork-".concat(t):void 0,children:[(0,l.jsxs)(h(),{href:j||"#",prefetch:!1,title:m,className:"[&_*]:pointer-events-none",onClick:O,"data-e2e":"artwork-card-link",children:[(0,l.jsxs)("div",{className:"aspect-h-5 aspect-w-4 relative flex items-center justify-center rounded-[4px] bg-warm-50",children:[S&&(0,l.jsx)("div",{className:"absolute left-2.5 top-2.5 z-10",children:S}),(0,l.jsx)("div",{className:"flex items-center justify-center",children:(0,l.jsxs)("div",{className:"flex h-13/20 w-13/20 items-center duration-300 ease-in-out group-hover:scale-105",children:[!v&&(0,l.jsx)(n.n,{className:"relative flex h-full w-full items-center drop-shadow-[0_4px_5px_rgba(38,35,56,0.15)]",fallback:(0,l.jsx)(o.Yc,{}),children:R}),v&&(0,l.jsx)("div",{className:"relative flex h-full w-full items-center drop-shadow-[0_4px_5px_rgba(38,35,56,0.15)]",children:R})]})})]}),(0,l.jsxs)("div",{className:"mt-4 flex items-center justify-between space-x-3",children:[m?(0,l.jsx)("p",{className:"overflow-hidden overflow-ellipsis whitespace-nowrap text-sm font-medium sm:text-base",children:m}):(0,l.jsx)(o.B3,{}),y]})]}),(0,l.jsx)("div",{className:"mb-2.5",onClick:b.b4,children:f?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"hidden md:block",children:(0,l.jsx)(i.R,{artists:f})}),(0,l.jsx)("div",{className:"md:hidden",children:(0,l.jsx)(i.R,{artists:f,clickable:!1})})]}):(0,l.jsx)(o.jw,{})}),m&&p?(0,l.jsx)(l.Fragment,{children:!!p&&(0,l.jsxs)("span",{children:[(0,l.jsx)("span",{className:"text-sm text-cool-600",children:F("common:last_sale")})," ",(0,l.jsx)("span",{className:"text-base font-medium",children:(0,l.jsx)(c.t,{formattingOptions:{to:E,from:E},children:p/100})})]})}):(0,l.jsx)(l.Fragment,{children:m&&!J.isLoading?(0,l.jsx)(h(),{href:j||"#",prefetch:!1,className:"artwork-card__buttons mb-[2px] flex flex-row [&_*]:pointer-events-none",onClick:O,children:!p&&(0,l.jsxs)(l.Fragment,{children:[!J.buyPrice&&(0,l.jsx)("div",{className:"border-cool-success-dark rounded border px-2 py-1 text-xs font-medium text-success-dark",children:F("common:make_Offer")}),!!J.buyPrice&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(N,{className:"border-emerald-800 bg-emerald-800",children:J.buyPrice}),!Z&&(0,l.jsx)(N,{className:"ml-2 bg-cool-900 text-cool-50",children:J.sellPrice})]})]})}):(0,l.jsxs)("div",{className:"flex space-x-2",children:[(0,l.jsx)(o.fj,{}),!Z&&(0,l.jsx)(o.fj,{})]})})]})};function N(e){let{children:t,className:s}=e;return(0,l.jsx)("div",{className:r()("flex w-max flex-row justify-between overflow-hidden truncate whitespace-nowrap rounded border px-2 py-1 text-xs font-medium text-cool-50",s),children:(0,l.jsx)(c.t,{formattingOptions:{notation:"compact",maximumFractionDigits:1,to:m.K.USER,from:m.K.USER},children:t})})}},63031:function(e,t,s){"use strict";s.d(t,{B3:function(){return i},V_:function(){return r},Yc:function(){return n},fj:function(){return c},jw:function(){return o}});var l=s(68425),a=s(94070);let r=e=>{let{className:t}=e;return(0,l.jsxs)("div",{className:"group flex flex-col ".concat(t),children:[(0,l.jsx)("div",{className:"aspect-h-5 aspect-w-4 flex items-center justify-center rounded-[4px] bg-warm-50",children:(0,l.jsx)("div",{className:"flex items-center justify-center",children:(0,l.jsx)("div",{className:"flex h-13/20 w-13/20 items-center duration-300 ease-in-out group-hover:scale-105",children:(0,l.jsx)("div",{className:"flex h-full w-full items-center drop-shadow-[0_4px_5px_rgba(38,35,56,0.15)]",children:(0,l.jsx)(n,{})})})})}),(0,l.jsxs)("div",{className:"mb-2.5 mt-4 flex flex-col",children:[(0,l.jsx)(i,{}),(0,l.jsx)(o,{})]}),(0,l.jsxs)("div",{className:"flex space-x-2",children:[(0,l.jsx)(c,{}),(0,l.jsx)(c,{})]})]})};function n(){return(0,l.jsx)(a.Z,{className:"absolute left-0 top-0 h-full w-full",containerClassName:"relative h-full w-full"})}function i(){return(0,l.jsx)(a.Z,{className:"h-4 w-3/4 lg:min-w-[138px]",containerClassName:"h-6 w-full",borderRadius:8})}function o(){return(0,l.jsx)(a.Z,{className:"h-4 w-3/4 lg:min-w-[138px]",containerClassName:"h-[22px] w-full",borderRadius:8})}function c(){return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(a.Z,{className:"h-full",containerClassName:"h-7 flex",width:80,borderRadius:8})})}},81743:function(e,t,s){"use strict";s.d(t,{l:function(){return p}});var l=s(68425),a=s(36973),r=s.n(a),n=s(36019);let i=e=>{let{children:t,className:s}=e;return(0,l.jsx)(l.Fragment,{children:n.Children.map(t,e=>(0,n.isValidElement)(e)?(0,n.cloneElement)(e,{className:"".concat(e.props.className," ").concat(s)}):e)})};
1var o=s(11230),c=s(28010),m=s(70565),d=s(85374),x=s(54147),f=s(76381),u=s.n(f);let p=(0,n.memo)(function(e){let{children:t,title:s,viewAllHref:a,viewAllLabel:f="View all",hasPagination:p=!1,className:h,headerClassName:g="",bodyContainerClassName:b,bodyClassName:j="",headerContent:N,titleClassName:w,mobileOnly:y=!1,grid:v,onCarouselEnd:_,hideArrows:k=!1}=e,{t:z}=(0,x.Z)("common"),C=(0,n.useRef)(null),[Z,S]=(0,n.useState)(!0),[F,I]=(0,n.useState)(!1),[P,A]=(0,n.useState)(0),[E,T]=(0,n.useState)(0),J=(0,d.qY)();(0,n.useEffect)(()=>{if(C.current){let{scrollWidth:e,clientWidth:t}=C.current;A(Math.ceil(e/t))}},[]);let O=(0,n.useMemo)(()=>["iOS","Mac OS"].includes((null==J?void 0:J.os)||"")&&["ios","safari"].includes((null==J?void 0:J.name)||""),[null==J?void 0:J.os,null==J?void 0:J.name]),L=(0,n.useCallback)(e=>{let t=C.current;if(t){let s=parseInt(getComputedStyle(t).paddingLeft),l=parseInt(getComputedStyle(t).paddingRight),{clientWidth:a,scrollWidth:r}=t;if(!(r>a))return null;let n=e*(a-s-l)+16*e;t.scrollTo({left:n,behavior:"smooth"}),O&&(t.style.transform=e===P-1?"translateX(-".concat(l,"px)"):"translateX(0)"),e>=0&&e<P&&T(e),S(n<=0),I(n+a>=r)}},[P,O]),R=(0,n.useCallback)(e=>{let t=e.target,s=100*t.scrollLeft/(t.scrollWidth-t.clientWidth);S(0===s),I(100===s),s>=99&&(null==_||_())},[_]);return(0,l.jsxs)("div",{className:"relative w-full overflow-x-visible ".concat(h),children:[(0,l.jsxs)("header",{className:"container mb-4 flex w-full justify-between sm:mb-8 xl:mb-3 ".concat(g),children:[N,(0,l.jsxs)("div",{className:"inline-flex items-center space-x-6",children:[s&&(0,l.jsx)("h2",{className:r()(w||"font-body text-lg font-medium tracking-normal sm:font-display sm:text-2xl"),children:s}),a&&(0,l.jsx)(o.z,{type:"link",href:a,pill:!0,style:"outline",className:"hidden sm:flex",children:f})]}),a&&(0,l.jsxs)(u(),{href:a,className:"flex items-center text-sm font-medium text-secondary-default transition-colors duration-200 hover:underline sm:hidden",children:[f,(0,l.jsx)(c.J,{name:"arrow-chevron-forward",className:"ml-2 text-base"})]}),!k&&(0,l.jsxs)("div",{className:"icon hidden space-x-2 sm:flex ",children:[(0,l.jsxs)(o.z,{pill:!0,style:"outline",onClick:()=>{L(E-1)},disabled:Z,"aria-label":z("prev_page"),className:"max-w-[40px]",children:[(0,l.jsx)("span",{className:"sr-only",children:z("prev_page")}),(0,l.jsx)(c.J,{name:"back-arrow",className:"icon"})]}),(0,l.jsxs)(o.z,{pill:!0,style:"outline",onClick:()=>{L(E+1)},disabled:F,"aria-label":z("next_page"),className:"max-w-[40px]",children:[(0,l.jsx)("span",{className:"sr-only",children:z("next_page")}),(0,l.jsx)(c.J,{name:"forward-arrow"})]})]})]}),(0,l.jsx)("div",{className:r()("2xl:p-container relative w-full",b),children:(0,l.jsx)("div",{ref:C,className:r()("sm:no-scrollbar sm:p-container relative flex w-full space-x-4 overflow-x-auto px-6 2xl:px-0",j),onScroll:(0,m.Z)(R,100),children:(0,l.jsx)(i,{className:r()("carousel-home flex flex-shrink-0 flex-col",{"[@media(max-width:339px)]:w-[calc(90%_-_2_/_3_*_theme(margin.4))]":!(null==v?void 0:v.xxs),"w-[calc(50%_-_1_/_2_*_theme(margin.4))]":!(null==v?void 0:v.xs),"sm:w-[calc(33.33%_-_2_/_3_*_theme(margin.4))]":!(null==v?void 0:v.sm),"md:w-[calc(25%_-_3_/_4_*_theme(margin.4))]":!y&&!(null==v?void 0:v.md),"lg:w-[calc(20%_-_4_/_5_*_theme(margin.4))]":!y&&!(null==v?void 0:v.lg),"xl:w-[calc(16.66%_-_4_/_5_*_theme(margin.4))]":!y&&!(null==v?void 0:v.xl)},null==v?void 0:v.xxs,null==v?void 0:v.xs,null==v?void 0:v.sm,null==v?void 0:v.md,null==v?void 0:v.lg,null==v?void 0:v.xl),children:t})})}),p&&(0,l.jsx)("ul",{className:"mt-10 flex justify-center space-x-3 sm:hidden",children:Array.from(Array(P),(e,t)=>(0,l.jsx)("li",{children:(0,l.jsx)("a",{href:"#",className:"block h-2 w-2 cursor-default rounded-full bg-cool-400 transition-colors duration-200 ".concat(t===E&&"bg-cool-900")})},t))})]})});p.displayName="Carousel"},49221:function(e,t,s){"use strict";s.d(t,{u:function(){return f}});var l=s(68425),a=s(11230),r=s(28010),n=s(54147),i=s(90158),o=s(36019),c=s(72448),m=s(17880),d=s(79711);let x=(0,o.lazy)(()=>s.e(4206).then(s.bind(s,24450)).then(e=>({default:e.MyAccountPopupMenu}))),f=e=>{let{isMobile:t=!1}=e,{t:s}=(0,n.Z)(),{setIsOpen:f}=(0,m.yT)(),{logout:u,isAuthenticated:p}
1=(0,m.aC)(),h=(0,i.useRouter)(),{setIsOpen:g,setState:b}=(0,m.fI)();return(0,l.jsxs)(l.Fragment,{children:[p&&!t&&(0,l.jsx)(d.i,{hasArrow:!1,contentClassName:"mt-1 !p-4 !z-[999999]",placement:"bottom-left",content:(0,l.jsx)(o.Suspense,{children:(0,l.jsx)(x,{})}),children:(0,l.jsxs)("button",{type:"button",className:"flex items-center p-2",children:[(0,l.jsx)("span",{className:"sr-only",children:s("common:my_account")}),(0,l.jsx)(r.J,{name:"filled-user",filled:!0,className:"text-primary-default",size:16})]})}),p&&t&&(0,l.jsx)(a.z,{pill:!0,style:"solid-white",className:"whitespace-nowrap",onClick:async()=>{h.pathname.includes("/my-account")&&h.push("/"),await u(),f(!1)},size:"xl","data-e2e":"log-out-button",children:s("common:log_out")}),!p&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a.z,{pill:!0,style:"solid-white",className:"ml-3 whitespace-nowrap lg:ml-0 lg:mr-3",onClick:()=>{f(!1),g(!0),b("login")},size:t?"xl":"md","data-e2e":"log-in-button",children:(0,c.Qs)(s("common:log_in"))}),(0,l.jsx)(a.z,{pill:!0,className:"whitespace-nowrap",onClick:()=>{f(!1),g(!0),b("register")},size:t?"xl":"md",style:"solid-primary","data-e2e":"sign-up-button",children:s("common:sign_up")})]})]})}},6378:function(e,t,s){"use strict";s.r(t),s.d(t,{Footer:function(){return h}});var l=s(68425),a=s(28010),r=s(61792),n=s(13782),i=s(75139),o=s(17880),c=s(54147),m=s(76381),d=s.n(m),x=s(36019),f=s(28683),u=s(11230);let p=["stripe","mastercard","visa","american_express","apple","dhl"],h=()=>{let{t:e}=(0,c.Z)(),{setIsOpen:t,setState:s}=(0,o.fI)(),{setIsOpen:m}=(0,o.yT)();return(0,l.jsx)("footer",{className:"bg-cool-900 py-16",children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-4",children:[(0,l.jsxs)("div",{className:"lg:col-span-1",children:[(0,l.jsx)(r.T,{light:!0}),(0,l.jsxs)("p",{className:"mb-6 mt-2 text-cool-150 lg:mb-24",children:[e("common:buy_sell_discover")," ",(0,l.jsx)("br",{className:"hidden lg:block 2xl:hidden"}),e("common:give_back")]}),(0,l.jsx)("div",{className:"flex w-fit flex-col md:flex-row md:items-center lg:block",children:(0,l.jsx)("ul",{className:"-mx-1.5 -my-1.5 grid grid-cols-6",children:p.map(e=>(0,l.jsx)("li",{className:"mx-1.5 my-1.5",children:(0,l.jsx)(a.J,{custom:!0,name:e,size:32})},e))})}),(0,l.jsx)(n.Z,{className:"my-8 block bg-cool-700 lg:hidden"})]}),(0,l.jsxs)("div",{className:"col-span-3 grid grid-cols-2 md:grid-cols-3",children:[(0,l.jsxs)("div",{className:"flex flex-col space-y-2 lg:col-span-1",children:[(0,l.jsx)("p",{className:"text-sm font-medium text-cool-150",children:e("common:collect")}),(0,l.jsx)("nav",{children:(0,l.jsx)("ul",{className:"flex flex-col space-y-2",children:i.Rt.map((t,s)=>(0,l.jsx)("li",{children:(0,l.jsx)(d(),{href:t.href,prefetch:!1,className:"text-sm text-cool-400 hover:underline",children:e("common:".concat(t.label))})},s))})})]}),(0,l.jsxs)("div",{className:"col-span-1 flex flex-col space-y-2",children:[(0,l.jsx)("p",{className:"text-sm font-medium text-cool-150",children:e("common:how_it_works")}),(0,l.jsx)("nav",{children:(0,l.jsx)("ul",{className:"flex flex-col space-y-2",children:i.ts.map((t,s)=>(0,l.jsx)("li",{children:(0,l.jsx)(d(),{href:t.href,prefetch:!1,className:"text-sm text-cool-400 hover:underline",target:t.target||"_self",children:e("common:".concat(t.label))})},s))})})]}),(0,l.jsxs)("div",{className:"col-span-3 md:col-span-1",children:[(0,l.jsx)("p",{className:"text-sm font-medium text-cool-150",children:e("common:join_newsletter")}),(0,l.jsx)("p",{className:"mb-6 mt-2 text-sm text-cool-400",children:e("common:subscribe")}),(0,l.jsx)(u.z,{pill:!0,className:"w-full whitespace-nowrap",onClick:()=>{m(!1),t(!0),s("register")},size:"md",style:"solid-white","data-e2e":"sign-up-button",children:e("common:sign_up")}),(0,l.jsx)(n.Z,{className:"my-8 bg-cool-700"}),(0,l.jsxs)("div",{className:"sm:hidden",children:[(0,l.jsxs)(d(),{href:f.Z.invest.base,className:"mt-8 flex items-center space-x-1.5 text-sm text-cool-150",children:[(0,l.jsx)("span",{children:e("common:invest")}),(0,l.jsx)(a.J,{name:"forward-arrow"})]}),(0,l.jsx)("p",{className:"mt-1.5 text-sm text-cool-400",children:e("common:were_redefining_the_art_market")})]}),(0,l.jsxs)("div",{className:"hidden sm:block",children:[(0,l.jsxs)(d(),{href:f.Z.invest.base,className:"mt-8 flex items-center space-x-1.5 text-sm text-cool-150",children:[(0,l.jsx)("span",{children:e("common:invest")}),(0,l.jsx)(a.J,{name:"forward-arrow"})]}),(0,l.jsx)("p",{className:"mt-1.5 text-sm text-cool-400",children:e("common:were_redefining_the_art_market")})]})]})]})]}),(0,l.jsx)(n.Z,{className:"my-12 bg-cool-700"}),(0,l.jsxs)("div",{className:"flex flex-col-reverse items-center justify-between text-sm text-cool-400 lg:flex-row",children:[(0,l.jsxs)("div",{className:"flex flex-col-reverse items-center lg:flex-row",children:[(0,l.jsxs)("p",{className:"mt-5 text-center sm:mt-3 sm:text-left lg:mr-3 lg:mt-0",children:[e("common:copyright")," \xa9 2022 FairArt Ltd."," ",e("common:all_rights_reserved")]}),(0,l.jsx)("div",{className:"sm:justify-left -mx-1.5 -my-1.5 flex flex-wrap justify-center",children:i.sy.map((t,s)=>{let{label:a,href:r}=t;return(0,l.jsxs)(x.Fragment,{children:[(0,l.jsx)("span",{className:"my-1.5 hidden text-cool-700 ".concat(0===s?"lg:block":"sm:block"),children:"|"}),(0,l.jsx)(d(),{href:r,prefetch:!1,className:"mx-1.5 my-1.5 hover:underline",target:"_blank",children:e("common:".concat(a))})]},r)})})]}),(0,l.jsx)(n.Z,{className:"my-12 bg-cool-700 lg:my-0 lg:hidden"}),(0,l.jsxs)("a",{href:"https://www.instagram.com/fairart_official/",target:"_blank",rel:"noreferrer",className:"-mx-1.5 -my-1.5 flex items-center hover:underline",children:[(0,l.jsx)("p",{className:"mx-1.5 my-1.5 text-sm text-cool-300",children:"@fairart_official"}),(0,l.jsx)(a.J,{name:"instagram",custom:!0,size:32,className:"mx-1.5 my-1.5"})]})]})]})})}},19343:function(e,t,s){"use strict";s.d(t,{k:function(){return c}});var l=s(68425),a=s(36973),r=s.n(a),n=s(28010);let i={info:{className:"border-secondary-default bg-secondary-default",iconName:"filled-alert-info",iconClassName:"text-secondary-default"},success:{className:"bg-success-default border-success-default",iconName:"filled-success",iconClassName:"text-success-default"},error:{className:"bg-chili-800 border-chili-800",iconName:"filled-close",iconClassName:"text-danger-dark"},purple:{className:"bg-primary-default border-primary-default !bg-opacity-100",iconName:"filled-alert-info",iconClassName:"text-cool-50"},"purple-transparent":{className:"bg-purple-100 border-purple-100 !bg-opacity-100 text-purple-900",iconName:"filled-alert-info",iconClassName:"text-purple-700"},"primary-light":{className:"bg-primary-light !bg-opacity-100 border-none",iconName:"filled-alert-info",iconClassName:"text-primary-default"},warning:{className:"bg-warning-light !bg-opacity-100 border-secondary-default/20",iconName:"filled-alert-info",iconClassName:"text-warning-default"},"warning-default":{className:"bg-warning-default !bg-opacity-50 border-warning-default",iconName:"filled-alert-info",iconClassName:"text-warning-dark"},gray:{className:"bg-warm-100 !bg-opacity-100 border-transparent",iconName:"filled-alert-info",iconClassName:"text-secondary-default"}},o={sm:"text-sm px-4 py-3",md:"text-md px-4 py-3",base:"text-base px-4 py-2.5"},c=e=>{let{children:t,theme:s="info",size:a="sm",className:c,iconSize:m=16,iconClassName:d,iconName:x,fullOpacity:f=!1,wFull:u=!1}=e;return(0,l.jsxs)("div",{className:r()("flex items-start rounded border text-cool-800",c,i[s].className,o[a],!f&&"border-opacity-10 bg-opacity-5"),children:[(0,l.jsx)(n.J,{name:x||i[s].iconName,className:r()(d,i[s].iconClassName,"mr-2 mt-[2px]",f&&"!text-cool-50"),size:m,filled:!0}),(0,l.jsx)("div",{className:r()(f&&"text-cool-50",u&&"w-full"),children:t})]})}},61792:function(e,t,s){"use strict";s.d(t,{T:function(){return d}});var l=s(68425),a=s(9807),r=s.n(a),n=s(94070),i=s(17880),o=s(90158),c=s(28683);let m=()=>(0,l.jsx)(n.Z,{className:"absolute left-0 top-0 h-full w-full"}),d=e=>{let{light:t,className:s,clickable:a=!0}=e,{setIsOpen:n}=(0,i.yT)(),{setIsOpen:d}=(0,i.Ir)(),{isLogoLoaded:x,setIsLogoLoaded:f}=(0,i.r$)(),u=(0,o.useRouter)(),p={alt:"FairArt Logo",fill:!0,quality:100,className:"object-contain object-center",sizes:"20vw",onLoad:()=>f(!0)},h=(0,l.jsx)(l.Fragment,{children:t?(0,l.jsxs)("div",{className:"relative flex h-[26px] w-[106px] items-center",children:[!x&&(0,l.jsx)(m,{}),(0,l.jsx)(r(),{src:"/files/logo-fairart-light.png",...p})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"relative hidden h-[26px] w-[106px] items-center lg:flex",children:[!x&&(0,l.jsx)(m,{}),(0,l.jsx)(r(),{src:"/files/logo-fairart-".concat(t?"light":"dark",".png"),...p})]}),(0,l.jsxs)("div",{className:"relative flex h-[24px] w-[114px] items-center lg:hidden",children:[!x&&(0,l.jsx)(m,{}),(0,l.jsx)(r(),{src:"/files/logo-fairart-dark.png",...p})]})]})});return(0,l.jsx)("div",{className:"flex ".concat(s),children:a?(0,l.jsx)("span",{className:"flex cursor-pointer items-center justify-start",onClick:()=>{u.asPath.startsWith(c.Z.bidOrBuy.reviewBid)?window.confirm("You have unsaved changes. Are you sure you want to leave?")&&(n(!1),d(!1),u.push("/")):(n(!1),d(!1),u.push("/"))},children:h}):(0,l.jsx)("div",{className:"flex items-center justify-start",children:h})})}},25951:function(e,t,s){"use strict";s.d(t,{R:function(){return x}});var l=s(68425),a=s(25027),r=s(36019),n=s(36973),i=s.n(n),o=s(9807),c=s.n(o),m=s(17544),d=s(94366);let x=e=>{let{children:t,increasedMargins:s,overrides:n}=e;return(0,l.jsx)(a.ZP,{options:{wrapper:r.Fragment,overrides:{h1:{props:{className:"text-2xl md:text-3xl font-normal font-body text-cool-800 mb-2 mt-6 first:mt-0 last:mb-0 tracking-normal"}},h2:{props:{className:i()("text-xl md:text-2xl font-normal font-body text-cool-800 first:mt-0 last:mb-0 tracking-normal mt-6",s?"mb-4 lg:mb-6":"mb-2.5")}},h3:{props:{className:"text-lg leading-8 font-normal font-body text-cool-800 mb-2.5 mt-6 first:mt-0 last:mb-0 tracking-normal"}},h4:{props:{className:"text-base leading-7 md:leading-8 md:text-xl font-normal font-body text-cool-800 mb-1.5 mt-6 first:mt-0 last:mb-0 tracking-normal"}},p:{props:{className:"text-sm leading-6 sm:leading-7 sm:text-base font-normal font-body text-cool-800 mb-2.5 first:mt-0 last:mb-0"}},img:{component:e=>{let{alt:t,src:a,...r}=e;return(0,l.jsxs)("span",{className:i()("relative mx-auto flex max-h-[1000px] w-full max-w-full flex-col pb-[100%]",s?"mb-15 my-12 sm:mb-[4.25rem] lg:my-14":"my-8 mb-11 sm:my-10 sm:mb-[3.25rem]"),children:[(0,l.jsx)(c(),{...r,fill:!0,src:(0,m.Jn)(a,"large"),alt:t,quality:50,className:"object-contain object-center",sizes:"(max-width: 900px) 80vw, 50vw",fetchPriority:"low",loading:"lazy"}),t&&(0,l.jsx)("span",{className:"absolute -bottom-6 mt-auto block w-full text-center text-sm italic text-cool-700",children:t})]})},props:{className:"mx-auto mb-3 max-w-full"}},a:{component:e=>{let{href:t,children:s,...a}=e;
1return(0,l.jsx)("a",{href:(0,d.hE)(t),className:"text-secondary-default underline",target:"_blank",...a,children:s})}},ul:{props:{className:"list-disc list-inside pl-4 mb-6 first:mt-0 last:mb-0"}},li:{props:{className:"text-base font-normal font-body text-cool-800"}},...n}},children:t})}},34132:function(e,t,s){"use strict";s.d(t,{h:function(){return n}});var l=s(68425),a=s(42184),r=s.n(a);let n=e=>{let{pageTitle:t,pageDescription:s,imageName:a,relativeUrl:n="",children:i}=e;return(0,l.jsxs)(r(),{children:[(0,l.jsx)("title",{children:t}),(0,l.jsx)("meta",{name:"description",content:s}),(0,l.jsx)("meta",{property:"og:title",content:t}),(0,l.jsx)("meta",{property:"og:description",content:s}),a&&(0,l.jsx)("meta",{property:"og:image",content:"/files/og/".concat(a,".jpg")}),n&&(0,l.jsx)("link",{rel:"canonical",href:"".concat("https://fairart.com").concat(n)}),i]})}},86761:function(e,t,s){"use strict";s.d(t,{p:function(){return p}});var l=s(68425),a=s(36973),r=s.n(a),n=s(28010);let i={lightGreen:"bg-[#00B67A]",darkGreen:"bg-emerald-900"};function o(e){let{className:t,iconSize:s,color:a="lightGreen"}=e;return(0,l.jsx)("div",{className:r()("relative flex items-center justify-center rounded-[1px] p-0.5",i[a],t),children:(0,l.jsx)(n.J,{name:"trustpilot-star",custom:!0,size:s})})}var c=s(59724);function m(e){let{className:t,count:s=5,itemClass:a,iconSize:n,iconColor:i}=e;return(0,l.jsx)("div",{className:r()(t,"flex items-center justify-center space-x-0.5"),children:(0,c.w6)(0,s).map(e=>(0,l.jsx)(o,{className:a,iconSize:n,color:i},e))})}var d=s(28683),x=s(54147);let f={authForm:{root:"space-x-2.5 p-2",text:"text-sm",icon:"w-[1.125rem] h-[1.125rem]",iconSize:13},lg:{root:"space-x-5 px-[0.875rem] py-2 flex-wrap justify-center",text:"text-base font-medium",icon:"w-6 h-6",iconSize:18},md:{root:"space-x-5 px-[0.875rem] py-2 flex-wrap justify-center",text:"text-sm font-medium",icon:"w-6 h-6",iconSize:18},sm:{root:"space-x-3 px-[0.875rem] py-2 flex-wrap justify-center",text:"text-xs font-medium",icon:"w-5 h-5",iconSize:15}},u={lightGreen:{root:"bg-[#E6F5F1]",text:""},darkGreen:{root:"bg-success-default",text:"text-cool-50"}};function p(e){let{size:t="md",color:s="lightGreen",className:a}=e,{t:n}=(0,x.Z)("common"),i=f[t],o=u[s];return(0,l.jsxs)("a",{href:d.Z.trustpilot,target:"_blank",rel:"noopener noreferrer",className:r()("flex items-center gap-y-1 rounded",i.root,o.root,a),children:[(0,l.jsx)("p",{className:r()("whitespace-nowrap font-body tracking-normal",o.text,i.text),children:n("review_banner_text")}),(0,l.jsx)(m,{itemClass:i.icon,iconSize:i.iconSize,iconColor:s})]})}},79711:function(e,t,s){"use strict";s.d(t,{i:function(){return c}});var l=s(68425),a=s(36973),r=s.n(a),n=s(28010),i=s(36019);let o={top:{container:"bottom-full right-1/2 translate-x-1/2 pb-3",tooltip:"before:top-full before:border-t-cool-50 before:left-1/2 before:-translate-x-1/2"},"top-left":{container:"bottom-full right-0 pb-3",tooltip:"before:top-full before:border-t-cool-50 before:right-0 before:-translate-x-4"},"top-right":{container:"bottom-full left-0 pb-3",tooltip:"before:top-full before:border-t-cool-50 before:left-0 before:translate-x-4"},bottom:{container:"top-full right-1/2 translate-x-1/2 pt-3",tooltip:"before:bottom-full before:border-b-cool-50 before:left-1/2 before:-translate-x-1/2"},"bottom-left":{container:"top-full right-0 pt-3",tooltip:"before:bottom-full before:border-b-cool-50 before:right-0 before:-translate-x-4"},"bottom-right":{container:"top-full left-0 pt-3",tooltip:"before:bottom-full before:border-b-cool-50 before:left-0 before:translate-x-4"},left:{container:"right-full top-1/2 pr-3 -translate-y-1/2",tooltip:"before:left-full before:border-l-cool-50 before:top-1/2 before:-translate-y-1/2"},"left-top":{container:"right-full top-0 pr-3",tooltip:"before:left-full before:border-l-cool-50 before:top-0 before:translate-y-4"},"left-bottom":{container:"right-full bottom-0 pr-3",tooltip:"before:left-full before:border-l-cool-50 before:bottom-0 before:-translate-y-4"},right:{container:"left-full top-1/2 -translate-y-1/2 pl-3",tooltip:"before:right-full before:border-r-cool-50 before:top-1/2 before:-translate-y-1/2"},"right-top":{container:"left-full top-0 pl-3",tooltip:"before:right-full before:border-r-cool-50 before:top-0 before:translate-y-4"},"right-bottom":{container:"left-full top-1/2 -translate-y-1/2 pl-3",tooltip:"before:right-full before:border-r-cool-50 before:top-1/2 before:-translate-y-1/2"}},c=e=>{let{children:t,className:s,content:a,contentClassName:c,placement:m="top",hasArrow:d=!0}=e,[x,f]=(0,i.useState)(!1);return a?(0,l.jsxs)("div",{className:"group relative ".concat(s),onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),children:[t||(0,l.jsx)(n.J,{name:"tooltip",className:"text-cool-500",size:16}),(0,l.jsx)("div",{className:r()("absolute z-30 scale-0 transition-all duration-200 ease-in-out group-hover:scale-100",o[m].container,x&&a?"block":"hidden"),children:(0,l.jsx)("div",{className:"relative inline-block w-max rounded-2xl bg-cool-50 px-6 py-4 text-sm text-cool-700 shadow-[0_2px_20px_0_rgba(38,35,56,0.15)] before:absolute before:bottom-0 before:h-0 before:w-0 before:border-8 before:border-solid before:border-transparent ".concat(d?"before:block":"before:hidden"," ").concat(c," ").concat(o[m].tooltip),children:x&&a})})]}):(0,l.jsx)(l.Fragment,{children:t})}},18042:function(e,t,s){"use strict";s.d(t,{A:function(){return o}});var l=s(68425),a=s(36973),r=s.n(a),n=s(25027),i=s(89291);function o(e){let{className:t,type:s,text:a,artworkName:o,artistName:c,artworkHref:m}=e;return(0,l.jsxs)("div",{className:r()(t,"py-5 px-6 md:py-6 md:px-8 bg-cool-50 border border-warm-100 flex flex-col rounded-lg h-max"),children:[(0,l.jsx)("span",{className:"font-display text-primary-default text-3xl font-bold",children:"â"}),a&&(0,l.jsx)("blockquote",{className:"text-sm md:text-base",children:(0,l.jsx)(n.ZP,{children:a})}),s&&o&&c&&m&&(0,l.jsx)("i",{className:"text-sm text-cool-600 mt-6 line-clamp-2",children:(0,l.jsx)(i.default,{i18nKey:"common:".concat(s,"_of_artwork_name"),components:{b:(0,l.jsx)("a",{href:m,target:"_blank",rel:"noopener noreferrer",className:"text-secondary-default"})},values:{artistName:c,artworkName:o}})})]})}},75139:function(e,t,s){"use strict";s.d(t,{Rt:function(){return a},sy:function(){return n},ts:function(){return r}});var l=s(28683);let a=[{label:"artworks",href:l.Z.artworks}
1,{label:"artists",href:l.Z.artists},{label:"buy",href:l.Z.artworks+"?availablities=Buy+now&sortBy=Recommended"},{label:"sell",href:l.Z.sell},{label:"collections",href:l.Z.artworksCollections}],r=[{label:"overview",href:l.Z.howItWorks.base},{label:"buyers",href:l.Z.howItWorks.forBuyers},{label:"sellers",href:l.Z.howItWorks.forSellers},{label:"artist_royalties",href:l.Z.howItWorks.forArtists},{label:"shipping",href:l.Z.howItWorks.shipping},{label:"authentication",href:l.Z.howItWorks.guarantee},{label:"fees",href:l.Z.howItWorks.fees},{label:"help_center",href:l.Z.intercom.base,target:"_blank"}],n=[{label:"terms_&_conditions",href:l.Z.termsAndConditions},{label:"privacy_policy",href:l.Z.privacyPolicy},{label:"cookie_policy",href:l.Z.cookiesPolicyTermly}]},12107:function(e,t,s){"use strict";s.d(t,{D:function(){return r}});var l=s(17880),a=s(36019);function r(e){let{id:t,shouldDisplay:s,afterDisplay:r}=e,{user:n,isLoading:i}=(0,l.aC)(),{setConfig:o,setIsOpen:c,setState:m}=(0,l.fI)();(0,a.useEffect)(()=>{if(n||i)return;let e=()=>{100*window.scrollY/(document.body.clientHeight-window.innerHeight)>=20&&(m("register"),o({closeable:!1}),c(!0),window.removeEventListener("scroll",e),null==r||r())};return s()&&window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[t,n,i,s,r,m,o,c])}},41664:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return D},default:function(){return B}});var l=s(68425),a=s(6378),r=s(34132),n=s(71837),i=s(63519),o=s(54147),c=s(11230),m=s(36019),d=s(94366);let x=e=>e<8?"":8===e?"hidden sm:block":9===e?"hidden lg:block":"hidden xl:block",f=e=>{let{artist:t,artworks:s}=e,{t:a}=(0,o.Z)("lp"),{pricePicker:r,userCurrency:f,userRegion:u}=(0,i.L)(),p=(0,m.useMemo)(()=>{let e=s;return r&&f&&u&&(e=s.filter(e=>{let t=r.fromEditionAttributes(e.dynamicTrades);return!!(t.lowestAsk&&t.lowestAsk>0)})),[...e].sort((e,t)=>{let s=e=>{if(r&&f&&u&&e.dynamicTrades){let t=r.fromEditionAttributes(e.dynamicTrades);if(t.lowestAsk&&t.highestBid&&t.lowestAsk>0)return(t.lowestAsk-t.highestBid)/t.lowestAsk*100;if(t.lowestAsk&&t.lowestAsk>0)return 101}return null!=e.spreadPercentage?e.spreadPercentage:999},l=s(e),a=s(t);return l!==a?l-a:0})},[s,r,f,u]),h=(0,m.useMemo)(()=>p.slice(0,12),[p]),g=t.slug?"/artists/".concat(t.slug):(0,d.Yy)(t.name);return(0,l.jsx)("section",{id:"available-now",className:"border-t border-cool-200 py-10 sm:py-14",children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsxs)("div",{className:"mb-6 sm:mb-8",children:[(0,l.jsx)("h2",{className:"font-body text-lg font-medium tracking-normal text-cool-900 sm:font-display sm:text-2xl",children:a("available_now_title")}),(0,l.jsxs)("p",{className:"mt-1 font-body text-sm text-cool-700 sm:text-base",children:[(0,l.jsx)("span",{className:"lg:hidden",children:a("authenticated_works_short",{count:p.length})}),(0,l.jsx)("span",{className:"hidden lg:inline",children:a("authenticated_works_long",{count:p.length})})]})]}),h.length>0?(0,l.jsx)("div",{className:"grid grid-cols-2 gap-4 sm:grid-cols-3 md:grid-cols-3 lg:grid-cols-5 xl:grid-cols-6 sm:gap-6",children:h.map((e,t)=>(0,l.jsx)(n.e,{...e,className:x(t),showOnlyBuyPrice:!0},e.id||t))}):(0,l.jsx)("div",{className:"rounded-xl border border-cool-200 bg-warm-50 py-12 text-center text-cool-600",children:(0,l.jsx)("p",{className:"font-body text-sm sm:text-base",children:a("no_listings")})}),(0,l.jsx)("div",{className:"mt-8 flex justify-center sm:mt-12",children:(0,l.jsxs)(c.z,{type:"link",href:g,style:"solid-black",pill:!0,size:"lg",className:"w-full md:w-auto",children:[a("browse_all_works",{name:t.name}),(0,l.jsx)("span",{className:"ml-2 text-base leading-none",children:"â"})]})})]})})};var u=s(28010),p=s(19343);let h=()=>{let{t:e}=(0,o.Z)("lp"),t=[{title:e("authenticity_guarantee_title"),description:e("authenticity_guarantee_desc")},{title:e("new_condition_title"),description:e("new_condition_desc")},{title:e("global_shipping_title"),description:e("global_shipping_desc")},{title:e("artist_royalties_title"),description:e("artist_royalties_desc")}],s=[{icon:"filled-shield",title:e("mobile_guarantee_title"),description:e("mobile_guarantee_desc")},{icon:"filled-new",title:e("mobile_condition_title"),description:e("mobile_condition_desc")},{icon:"box-filled",title:e("mobile_shipping_title"),description:e("mobile_shipping_desc")}];return(0,l.jsx)("section",{className:"w-full border-t border-cool-200 py-8 sm:py-10 lg:bg-primary-light lg:py-6",children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsx)("div",{className:"hidden lg:block",children:(0,l.jsx)("div",{className:"flex w-full items-center justify-between",children:t.map(e=>(0,l.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,l.jsx)("div",{className:"flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-primary-default text-cool-50",children:(0,l.jsx)(u.J,{name:"check",size:16,className:"text-cool-50"})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"font-body text-sm font-bold text-cool-900",children:e.title}),(0,l.jsx)("p",{className:"font-body text-xs text-cool-600",children:e.description})]})]},e.title))})}),(0,l.jsxs)("div",{className:"lg:hidden",children:[(0,l.jsx)("h2",{className:"mb-4 font-body text-lg font-medium tracking-normal text-cool-900 sm:font-display sm:text-2xl",children:e("buying_on_fairart")}),(0,l.jsx)("ul",{className:"space-y-2 lg:mb-6",children:s.map(e=>(0,l.jsx)("li",{children:(0,l.jsxs)(p.k,{iconName:e.icon,theme:"primary-light",children:[(0,l.jsx)("h2",{className:"font-body text-sm font-bold tracking-normal",children:e.title}),(0,l.jsx)("p",{className:"text-sm",children:e.description})]})}
1,e.title))})]})]})})};var g=s(49221),b=s(61792),j=s(86761),N=s(28683);let w=()=>{let{t:e}=(0,o.Z)("lp");return(0,l.jsx)("header",{className:"w-full border-b border-cool-200",children:(0,l.jsxs)("div",{className:"container flex h-16 items-center justify-between sm:h-20",children:[(0,l.jsx)(b.T,{}),(0,l.jsxs)("div",{className:"flex items-center space-x-3 sm:space-x-3.5",children:[(0,l.jsxs)("div",{className:"relative hidden items-center space-x-2 rounded-lg bg-success-lightest px-3.5 py-2 transition-opacity hover:opacity-90 lg:flex",children:[(0,l.jsx)("a",{href:N.Z.trustpilot,target:"_blank",rel:"noopener noreferrer",className:"absolute inset-0 z-10"}),(0,l.jsx)(j.p,{size:"authForm",className:"!bg-transparent !p-0 !space-x-0 !flex-nowrap [&_p]:hidden [&_div]:!flex-nowrap"}),(0,l.jsx)("span",{className:"text-sm font-medium text-cool-900",children:e("trustpilot_badge")})]}),(0,l.jsx)(g.u,{})]})]})})};var y=s(62413),v=s(30),_=s(9807),k=s.n(_),z=s(17544);let C=e=>{let{artist:t,artworks:s,demandPercentage:a,description:r}=e,{t:n}=(0,o.Z)("lp"),{pricePicker:d,userCurrency:x,userRegion:f}=(0,i.L)(),{minLowestAsk:p,maxLowestAsk:h,availableCount:g}=(0,m.useMemo)(()=>{let e=[];return(s.forEach(t=>{let s=null;if(d&&x&&f&&t.dynamicTrades){let e=d.fromEditionAttributes(t.dynamicTrades);e.lowestAsk&&e.lowestAsk>0&&(s=e.lowestAsk)}else if(t.dynamicTrades){var l,a,r;let e=(null===(l=t.dynamicTrades.lowestAskUk)||void 0===l?void 0:l.adjustedPriceUk)||(null===(a=t.dynamicTrades.lowestAskUk)||void 0===a?void 0:a.priceGbp)||(null===(r=t.dynamicTrades.lowestAskUk)||void 0===r?void 0:r.price);e&&e>0&&(s=e>100?e/100:e)}else t.buyPrice&&t.buyPrice>0&&(s=t.buyPrice);null!==s&&s>0&&e.push(s)}),0===e.length)?{minLowestAsk:null,maxLowestAsk:null,availableCount:0}:{minLowestAsk:Math.min(...e),maxLowestAsk:Math.max(...e),availableCount:e.length}},[s,d,x,f]),b=(0,m.useMemo)(()=>{let e=t.profile||t.avatar||(t.images&&t.images.length>0?t.images[0]:null);return e?"string"==typeof e?(0,z.mj)(e):(0,z.Pq)(t.name,e,"largest"):(0,z.g2)(t.name)},[t]);return(0,l.jsx)("section",{className:"bg-warm-100 pt-6 pb-10 sm:pt-10 sm:pb-16",children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsxs)("div",{className:"relative mb-6 flex w-full flex-col items-center justify-center gap-y-0.5 rounded-lg bg-success-lightest px-4 py-2.5 transition-opacity hover:opacity-90 xs:flex-row xs:gap-y-0 xs:space-x-2 lg:hidden",children:[(0,l.jsx)("a",{href:N.Z.trustpilot,target:"_blank",rel:"noopener noreferrer",className:"absolute inset-0 z-10"}),(0,l.jsxs)("div",{className:"flex items-center space-x-1.5",children:[(0,l.jsx)("span",{className:"font-body text-sm font-bold text-cool-900",children:n("trustpilot_score")}),(0,l.jsx)(j.p,{size:"sm",className:"!bg-transparent !p-0 !space-x-0 [&_p]:hidden"})]}),(0,l.jsxs)("span",{className:"font-body text-sm font-medium text-cool-900",children:[(0,l.jsx)("span",{className:"hidden xs:inline",children:"\xb7 "}),n("trustpilot_collectors").replace(/^\s*·\s*/,"")]})]}),(0,l.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-12 lg:gap-12 lg:items-center",children:[(0,l.jsx)("div",{className:"hidden lg:col-span-5 lg:flex lg:items-center lg:justify-center",children:(0,l.jsx)("div",{className:"relative overflow-hidden rounded-xl bg-warm-50 shadow-sm w-full",style:{maxWidth:400,maxHeight:500,aspectRatio:"4 / 5"},children:(0,l.jsx)(k(),{src:b,alt:t.name,fill:!0,priority:!0,quality:90,className:"object-cover object-center",sizes:"400px"})})}),(0,l.jsxs)("div",{className:"flex flex-col lg:col-span-7",children:[(0,l.jsxs)("div",{className:"hidden w-fit items-center space-x-1.5 rounded-full border border-emerald-500/20 bg-success-lightest px-3.5 py-1 text-xs font-bold uppercase tracking-wider text-emerald-800 lg:flex",children:[(0,l.jsx)(u.J,{name:"filled-shield",size:14,className:"text-emerald-700"}),(0,l.jsx)("span",{children:n("guarantee_badge")})]}),(0,l.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-start sm:gap-6 lg:mt-4",children:[(0,l.jsx)("div",{className:"order-2 mt-5 sm:order-1 sm:mt-0 relative w-full shrink-0 overflow-hidden rounded-xl bg-warm-50 shadow-sm sm:h-[130px] sm:w-[195px] sm:min-w-[195px] lg:hidden",style:{aspectRatio:"3 / 2"},children:(0,l.jsx)(k(),{src:b,alt:t.name,fill:!0,priority:!0,qual
1ity:90,className:"object-cover object-center",sizes:"(max-width: 640px) 100vw, 250px"})}),(0,l.jsxs)("div",{className:"order-1 sm:order-2 flex-1",children:[(0,l.jsxs)("h1",{className:"font-body text-2xl font-bold tracking-tight text-cool-900 sm:text-2xl lg:text-4xl xl:text-5xl",children:[(0,l.jsx)("span",{children:n("an_authentic",{name:t.name})}),(0,l.jsx)("br",{}),(0,l.jsx)("span",{className:"text-primary-default",children:null!==p?(0,l.jsxs)(l.Fragment,{children:[n("from_only"),(0,l.jsx)(v.t,{formattingOptions:{to:x,from:x,maximumFractionDigits:0},children:p}),"."]}):n("available_now_heading")})]}),(0,l.jsxs)("div",{className:"mt-3 sm:mt-2.5 flex flex-wrap items-center gap-x-4 gap-y-1.5 text-xs font-medium text-cool-800 sm:text-xs lg:text-sm lg:mt-4",children:[(0,l.jsxs)("span",{className:"flex items-center space-x-1.5",children:[(0,l.jsx)("span",{className:"font-bold text-success-default",children:(0,l.jsx)(u.J,{name:"check",className:"text-success-default"})}),(0,l.jsx)("span",{children:n("authenticity_guaranteed")})]}),(0,l.jsxs)("span",{className:"flex items-center space-x-1.5",children:[(0,l.jsx)("span",{className:"font-bold text-success-default",children:(0,l.jsx)(u.J,{name:"check",className:"text-success-default"})}),(0,l.jsx)("span",{children:n("new_condition")})]}),(0,l.jsxs)("span",{className:"flex items-center space-x-1.5",children:[(0,l.jsx)("span",{className:"font-bold text-success-default",children:(0,l.jsx)(u.J,{name:"check",className:"text-success-default"})}),(0,l.jsx)("span",{children:n("insured_shipping")})]})]})]})]}),(r||t.description2)&&(0,l.jsx)("div",{className:"mt-5 text-sm leading-relaxed text-cool-700 sm:text-sm lg:mt-6 lg:text-base",children:(0,l.jsx)(y.S,{children:r||t.description2||""})}),(0,l.jsx)("div",{className:"mt-6 rounded-xl border border-cool-300 bg-cool-50 p-5 sm:p-6 lg:mt-8",children:(0,l.jsxs)("div",{className:"grid divide-x divide-cool-300 ".concat(null!=a?"grid-cols-2 sm:grid-cols-3 lg:grid-cols-2 xl:grid-cols-3":"grid-cols-2"),children:[(0,l.jsxs)("div",{className:"pr-4 text-left",children:[(0,l.jsx)("p",{className:"font-body text-lg font-bold text-cool-900 lg:text-2xl",children:g}),(0,l.jsx)("p",{className:"mt-1 font-body text-xs text-cool-500",children:n("works_available")})]}),(0,l.jsxs)("div",{className:"px-4 text-left first:pl-0 last:pr-0 sm:px-6",children:[(0,l.jsx)("p",{className:"font-body text-lg font-bold text-cool-900 lg:text-2xl",children:null!==p&&null!==h?p===h?(0,l.jsx)(v.t,{formattingOptions:{to:x,from:x,notation:"compact",maximumFractionDigits:1},children:p}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.t,{formattingOptions:{to:x,from:x,notation:"compact",maximumFractionDigits:1},children:p})," â ",(0,l.jsx)(v.t,{formattingOptions:{to:x,from:x,notation:"compact",maximumFractionDigits:1},children:h})]}):"â"}),(0,l.jsx)("p",{className:"mt-1 font-body text-xs text-cool-500",children:n("price_range")})]}),null!=a&&(0,l.jsxs)("div",{className:"hidden pl-4 text-left sm:block sm:pl-6 lg:hidden xl:block",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-1 font-body text-lg font-bold text-success-default lg:text-2xl",children:[(0,l.jsx)(u.J,{name:"arrow-up",size:20,className:"text-success-default"}),(0,l.jsxs)("span",{children:[a,"%"]})]}),(0,l.jsx)("p",{className:"mt-1 font-body text-xs text-cool-500",children:n("demand_this_month")})]})]})}),(0,l.jsx)("div",{className:"mt-6 lg:mt-8",children:(0,l.jsxs)(c.z,{type:"link",href:"#available-now",style:"solid-black",pill:!0,size:"lg",className:"w-full lg:w-fit",children:[n("browse_works",{name:t.name}),(0,l.jsx)("span",{className:"ml-2 text-base leading-none",children:"â"})]})})]})]})]})})};var Z=s(42587),S=s(81743),F=s(18042),I=s(94070),P=s(92243),A=s(59724);let E=()=>{let{t:e}=(0,o.Z)("lp"),{data:t,isFetchedAfterMount:s}=(0,P.useQuery)("reviews",async()=>{let{data:e}=await (0,Z.z)();return e||[]},{refetchOnWindowFocus:!1}),a={xs:"w-[calc(100%/1.3_-_theme(margin.4))]",sm:"sm:w-[calc(100%/1.3_-_theme(margin.4))]",md:"md:w-[calc(100%/2.5_-_theme(margin.4))]",lg:"lg:w-[calc(33.333%_-_2_/_3_*_theme(margin.4))]",xl:"xl:w-[calc(25%_-_3_/_4_*_theme(margin.4))]"},r=(0,l.jsxs)("div",{className:"flex flex-col gap-y-1 md:flex-row md:items-center md:gap-x-3",children:[(0,l.jsxs)("div",{className:"flex items-center gap-x-3",children:[(0,l.jsx)(j.p,{size:"sm",className:"!bg-transparent !p-0 !space-x-0 [&_p]:hidden"}),(0,l.jsx)("span",{className:"font-body text-xl font-bold tracking-normal text-cool-900 sm:text-2xl",children:e("reviews_score")})]}),(0,l.jsxs)("span",{className:"font-body text-sm font-medium text-cool-900 sm:text-2xl",children:[(0,l.jsx)("span",{className:"hidden md:inline-block md:mr-3",children:"\xb7"}),e("reviews_subtitle")]})]});return s?(null==t?void 0:t.length)?(0,l.jsx)("section",{className:"border-t border-cool-200 bg-warm-50 py-10 sm:py-14",children:(0,l.jsx)(S.l,{title:r,className:"bg-transparent",bodyClassName:"mt-6 sm:mt-8",grid:a,children:t.map(e=>{var t;let{id:s,name:a,artists:r}=e.artwork||{};return(0,l.jsx)(F.A,{artworkName:a,artistName:null==r?void 0:null===(t=r[0])||void 0===t?void 0:t.name,artworkHref:r&&a&&s?(0,d.zv)(r,a,s):void 0,text:e.text,type:e.type},e.id)})})}):null:(0,l.jsx)("section",{className:"border-t border-cool-200 bg-warm-50 py-10 sm:py-14",children:(0,l.jsx)(S.l,{title:r,className:"bg-transparent",bodyClassName:"mt-6 sm:mt-8",grid:a,children:(0,A.w6)(0,6).map(e=>(0,l.jsx)(I.Z,{className:"aspect-4/3 w-full rounded-lg"},e))})})};var T=s(17880);let J=e=>{let{artist:t}=e,{t:s}=(0,o.Z)("lp"),{setIsOpen:a,setState:r}=(0,T.fI)(),n=(0,m.useMemo)(()=>{let e=t.profile||t.avatar||(t.images&&t.images.length>0?t.images[0]:null);return e?"string"==typeof e?(0,z.mj)(e):(0,z.Pq)(t.name,e,"largest"):(0,z.g2)(t.name)},[t]);return(0,l.jsx)("section",{className:"border-t border-cool-200 bg-primary-light lg:bg-warm-50 py-10 sm:py-12 lg:py-10 xl:py-14",children:(0,l.jsx)("div",{className:"w-full px-6 sm:px-8 lg:container lg:px-6",children:(0,l.jsx)("div",{className:"relative overflow-hidden lg:rounded-xl bg-primary-light",children:(0,l.jsxs)("div",{className:"grid grid-cols-1 items-center lg:grid-cols-12",children:[(0,l.jsxs)("div",{className:"flex flex-col items-center text-center lg:col-span-7 lg:items-start lg:py-12 lg:pl-12 lg:pr-8 lg:text-left",children:[(0,l.jsx)("h2",{className:"font-body text-xl font-bold tracking-tight text-cool-900 sm:text-2xl lg:text-3xl",children:s("own_first_title",{name:t.name})}),(0,l.jsx)("p",{className:"mt-2 max-w-xs font-body text-xs text-cool-600 sm:max-w-md
1sm:text-sm lg:max-w-lg lg:text-base",children:s("own_first_subtitle")}),(0,l.jsx)(c.z,{onClick:()=>{r("register"),a(!0)},style:"solid-primary",pill:!0,size:"lg",className:"mt-6 w-full sm:max-w-xs lg:w-fit",children:s("sign_up_now")}),(0,l.jsxs)("div",{className:"mt-5 flex flex-col items-center gap-y-2 text-xs font-medium text-cool-700 lg:hidden",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-4 sm:space-x-6",children:[(0,l.jsxs)("span",{className:"flex items-center space-x-1.5",children:[(0,l.jsx)(u.J,{name:"check",size:14,className:"text-success-default"}),(0,l.jsx)("span",{children:s("free_badge")})]}),(0,l.jsxs)("span",{className:"flex items-center space-x-1.5",children:[(0,l.jsx)(u.J,{name:"check",size:14,className:"text-success-default"}),(0,l.jsx)("span",{children:s("explore_artworks")})]})]}),(0,l.jsx)("div",{children:(0,l.jsxs)("span",{className:"flex items-center space-x-1.5",children:[(0,l.jsx)(u.J,{name:"check",size:14,className:"text-success-default"}),(0,l.jsx)("span",{children:s("discover_artists")})]})})]}),(0,l.jsxs)("div",{className:"mt-5 hidden flex-wrap items-center gap-x-6 text-sm font-medium text-cool-700 lg:flex lg:justify-start",children:[(0,l.jsxs)("span",{className:"flex items-center space-x-1.5",children:[(0,l.jsx)(u.J,{name:"check",size:14,className:"text-success-default"}),(0,l.jsx)("span",{children:s("free_badge")})]}),(0,l.jsxs)("span",{className:"flex items-center space-x-1.5",children:[(0,l.jsx)(u.J,{name:"check",size:14,className:"text-success-default"}),(0,l.jsx)("span",{children:s("explore_artworks")})]}),(0,l.jsxs)("span",{className:"flex items-center space-x-1.5",children:[(0,l.jsx)(u.J,{name:"check",size:14,className:"text-success-default"}),(0,l.jsx)("span",{children:s("discover_artists")})]})]})]}),(0,l.jsx)("div",{className:"hidden h-full min-h-[320px] w-full items-center justify-end lg:col-span-5 lg:flex",children:(0,l.jsx)("div",{className:"relative h-full min-h-[320px] w-full overflow-hidden rounded-l-[140px] rounded-r-xl bg-warm-100 shadow-md",children:(0,l.jsx)(k(),{src:n,alt:t.name,fill:!0,quality:90,className:"object-cover object-center",sizes:"35vw"})})})]})})})})},O=e=>{let{artworks:t}=e,{t:s}=(0,o.Z)("lp");return t&&0!==t.length?(0,l.jsx)("section",{className:"border-t border-cool-200 py-10 sm:py-14",children:(0,l.jsx)(S.l,{headerContent:(0,l.jsxs)("div",{className:"mb-6 sm:mb-8",children:[(0,l.jsx)("h2",{className:"font-body text-lg font-medium tracking-normal text-cool-900 sm:font-display sm:text-2xl",children:s("trending_title")}),(0,l.jsx)("p",{className:"mt-1 font-body text-sm text-cool-700 sm:text-base",children:s("trending_subtitle")})]}),children:t.map((e,t)=>(0,l.jsx)(n.e,{...e,showOnlyBuyPrice:!0,badge:(0,l.jsxs)("span",{className:"rounded-full bg-cool-50 px-2.5 py-0.5 font-body text-xs font-bold text-primary-default shadow-sm",children:["#",t+1]})},e.id||t))})}):null};var L=s(12107);let R="shown_register_artist_lp",M=e=>{let{artist:t,artworks:s,trendingArtworks:n,demandPercentage:i,description:c,url:d,signUpModal:x}=e,{t:u}=(0,o.Z)("lp");(0,L.D)({id:t.id,shouldDisplay:(0,m.useCallback)(()=>{if(!x)return!1;try{let e=localStorage.getItem(R);return!e||"yes"!==e}catch(e){return console.error(e),!1}},[x]),afterDisplay:(0,m.useCallback)(()=>{localStorage.setItem(R,"yes")},[])});let p=u("page_description",{name:t.name})||"",g=u("page_title",{name:t.name}),b=t.profile?(0,z.Pq)(t.name,t.profile,"large"):t.avatar?(0,z.Pq)(t.name,t.avatar,"large"):z.__;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(r.h,{pageTitle:g,pageDescription:p,relativeUrl:d,children:[(0,l.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),(0,l.jsx)("meta",{property:"og:url",content:"".concat("https://fairart.com").concat(d)}),(0,l.jsx)("meta",{property:"og:type",content:"website"}),(0,l.jsx)("meta",{property:"og:site_name",content:"FairArt"}),(0,l.jsx)("meta",{property:"og:image",content:b}),(0,l.jsx)("meta",{property:"og:image:alt",content:t.name})]}),(0,l.jsxs)("div",{className:"flex min-h-screen flex-col justify-between",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"sticky top-0 z-50 w-full bg-cool-50",children:(0,l.jsx)(w,{})}),(0,l.jsx)(C,{artist:t,artworks:s,demandPercentage:i,description:c}),(0,l.jsx)(O,{artworks:n}),(0,l.jsx)(h,{}),(0,l.jsx)(f,{artist:t,artworks:s}),(0,l.jsx)(E,{}),(0,l.jsx)(J,{artist:t})]}),(0,l.jsx)(a.Footer,{})]})]})};var D=!0;function B(e){return(0,l.jsx)(M,{...e})}},67886:function(e,t,s){"use strict";s.d(t,{b4:function(){return i},iz:function(){return n},tk:function(){return r}});let l={scrollPosition:"scrollPosition",page:"page",redirectedFrom:"redirectedFrom"},a=()=>({scrollPosition:Number(sessionStorage.getItem(l.scrollPosition))||void 0,page:Number(sessionStorage.getItem(l.page))||0,redirectedFrom:sessionStorage.getItem(l.redirectedFrom)||void 0}),r=function(){let{page:e,redirectedFrom:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};sessionStorage.setItem(l.scrollPosition,String(window.scrollY)),e&&sessionStorage.setItem(l.page,String(e)),t&&sessionStorage.setItem(l.redirectedFrom,t)},n=e=>{let{scrollPosition:t,redirectedFrom:s}=a();return new Promise(!t||isNaN(t)||s&&s!==e?e=>setTimeout(e,1):e=>setTimeout(()=>{window.scrollTo({top:t}),i(),e(!0)},100))},i=()=>{sessionStorage.removeItem(l.scrollPosition),sessionStorage.removeItem(l.page),sessionStorage.removeItem(l.redirectedFrom)}}},function(e){e.O(0,[5027,2888,9774,179],function(){return e(e.s=68682)}),_N_E=e.O()}]); 2//# sourceMappingURL=[slug]-94cc5b93bbacb1b8.js.map
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.