1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];if(null!=i)for(var n in i)i.hasOwnProperty(n)&&(e[n]=i[n])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:product-catalog-ssr":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7ab86f0f-675c-498b-a7d5-19b2221b62ae",e._sentryDebugIdIdentifier="sentry-dbid-7ab86f0f-675c-498b-a7d5-19b2221b62ae")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7245,8465],{904:(e,t,i)=>{i.d(t,{m:()=>h});var n=i(54568),a=i(23201),r=i(81543),o=i(49081),l=i(7620),s=i(51136);let c={primary:(0,s.AH)(["max-width:200px;padding:var(--space-100) var(--space-200);border-radius:var(--panel-radius-normal);border:1px solid var(--border-transparent);background:var(--bg-primary-invert);color:var(--text-primary-invert);font-size:var(--font-size-300);font-weight:var(--font-weight-500);line-height:var(--font-line-height-300);letter-spacing:var(--font-letter-spacing-loose);"]),secondary:(0,s.AH)(["max-width:252px;padding:var(--space-200) var(--space-300);border-radius:var(--panel-radius-normal);border:1px solid var(--border-secondary);background:var(--bg-primary);box-shadow:0 1px 2px 0 rgba(0,0,0,0.12);color:var(--text-secondary);font-size:var(--font-size-300);font-weight:var(--font-weight-400);line-height:var(--font-line-height-300);letter-spacing:var(--font-letter-spacing-loose);"])},d=s.Ay.div.withConfig({componentId:"sc-33173691-0"})(["display:inline-flex;"]),p=s.Ay.div.withConfig({componentId:"sc-33173691-1"})(e=>{let{$variant:t,$maxWidth:i}=e;return(0,s.AH)(["display:inline-flex;justify-content:center;align-items:center;white-space:normal;text-align:left;"," ",""],c[t],void 0!==i&&(0,s.AH)(["max-width:","px;"],i))}),h=e=>{let{content:t,children:i,variant:s="primary",placement:c="secondary"===s?"top":"bottom",offset:h=8,maxWidth:u,disabled:f=!1,portal:g=!0,interactive:m=!1}=e,[v,y]=(0,l.useState)(!1),{refs:b,floatingStyles:x,context:w}=(0,a.we)({open:v&&!f,onOpenChange:y,placement:c,middleware:[(0,r.cY)(h),(0,r.UU)({fallbackPlacements:["top","bottom","left","right"]}),(0,r.BN)({padding:8})],whileElementsMounted:o.ll}),j=(0,a.Mk)(w,{move:!m,handleClose:m?(0,a.iB)():void 0}),A=(0,a.iQ)(w),C=(0,a.s9)(w,{ancestorScroll:!0}),I=(0,a.It)(w,{role:"tooltip"}),{getReferenceProps:P,getFloatingProps:z}=(0,a.bv)([j,A,C,I]),{isMounted:k,styles:S}=(0,a.DL)(w,{duration:150}),_=k&&t&&(0,n.jsx)("div",{ref:b.setFloating,style:{...x,zIndex:1100},...z(),children:(0,n.jsx)(p,{$variant:s,$maxWidth:u,style:S,children:t})});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d,{ref:b.setReference,...P(),children:i}),g?(0,n.jsx)(a.XF,{children:_}):_]})}},2903:(e,t,i)=>{i.d(t,{PzS:()=>n.PzS});var n=i(27945)},10565:(e,t,i)=>{i.d(t,{V:()=>l});var n=i(54568),a=i(27945),r=i(904);let o=i(51136).Ay.span.withConfig({componentId:"sc-15a0d6fd-0"})(["display:inline-flex;align-items:center;vertical-align:middle;color:inherit;cursor:default;"]),l=e=>{let{size:t=16,tooltipContent:i,placement:l,maxWidth:s}=e;return i?(0,n.jsx)(r.m,{content:i,placement:l,maxWidth:s,children:(0,n.jsx)(o,{children:(0,n.jsx)(a.JGH,{height:t,width:t})})}):null}},18799:(e,t,i)=>{i.d(t,{A_:()=>c,UD:()=>o,Yd:()=>r,ip:()=>l,x:()=>s});var n=i(15174),a=i(67916);let r=async e=>{let[t,i,r]=e,o=JSON.stringify(i);return await a.A.fetch("".concat((0,n.hj)(),"/api/customization/product/").concat(t.productId),{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json",...r?{"X-ShopId":r}:void 0},body:o})},o=async()=>await a.A.fetch("".concat((0,n.hj)(),"/api/customization/request-customization/count")),l=async()=>await a.A.fetch("".concat((0,n.hj)(),"/api/customization/images")),s=async e=>{let[t]=e;return await a.A.fetch("".concat((0,n.hj)(),"/api/customization/request-asset-upload-link"),{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t)})},c=async e=>{let[t]=e;return await a.A.fetch("".concat((0,n.hj)(),"/api/customization/save-media-library-image"),{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t)})}},84147:(e,t,i)=>{i.d(t,{r:()=>o});var n=i(27541),a=i(7620),r=i(49247);let o=()=>{let e=(0,n.useRouter)(),t=(0,r.$)();return(0,a.useMemo)(()=>
1{if(!t)return e;let i=e=>e.startsWith("/")?"".concat(t).concat(e):e;return{...e,push:(t,n)=>e.push(i(t),n),replace:(t,n)=>e.replace(i(t),n),prefetch:(t,n)=>e.prefetch(i(t),n)}},[e,t])}},87245:(e,t,i)=>{i.r(t),i.d(t,{ProductCatalogChatbot:()=>m});var n=i(54568),a=i(27541),r=i(7620),o=i(82136),l=i(54216),s=i(61621),c=i(84147),d=i(49247),p=i(98465),h=i(12422),u=i(4455),f=i(18799),g=i(90810);let m=e=>{let{headerLayout:t="desktop"}=e,i=(0,c.r)(),m=(0,d.$)(),v=m?"".concat(m,"/catalog/products"):"",y=(0,a.usePathname)(),{closeChatbot:b,chatbotOpen:x,shopId:w}=(0,g.P)(),j=(0,r.useMemo)(()=>({fetchImages:async()=>{let{data:e}=await (0,f.ip)();return Array.isArray(e)?e:e.images},uploadImage:async e=>{let{width:t,height:i}=await (0,u.hT)(e),n=e.type||"application/octet-stream",{data:a}=await (0,f.x)([{type:"MEDIA_LIBRARY_IMAGE",contentType:n,fileName:e.name,size:e.size}]);await (0,h.wn)({uploadUrl:a.uploadUrl,file:e,contentType:n,size:e.size,fileName:e.name});let{data:r}=await (0,f.A_)([{uri:a.fileUrl,width:t,height:i}]);return{id:r.id,uri:r.uri,thumbnail:r.thumbnail}}}),[]),{open:A,close:C}=(0,l.k3)(),I=(0,r.useCallback)(()=>{A(p.SubscriptionModal,{onClose:C})},[A,C]),P=(0,r.useCallback)(e=>{let t="/products",n=((e,t)=>{if(!t)return;let i=t.endsWith("/")?t.slice(0,-1):t,n=e.slice(i.length);if(e===i||e.startsWith("".concat(i,"/"))||e.startsWith("".concat(i,"?"))||e.startsWith("".concat(i,"#")))return n?n.startsWith("/")?n:"/".concat(n):"/"})(e,v);return n?void i.push(n):t&&e.startsWith(t)?void i.push(e.slice(t.length)||"/"):void(window.location.href=e)},[i,v]);return w?(0,n.jsx)(o.c,{children:(0,n.jsx)(s.ac,{shopId:w,onClose:b,onNavigate:P,currentPathname:y,headerLayout:t,isOpen:x,mediaLibrary:j,onSubscribe:I})}):null}},98465:(e,t,i)=>{i.r(t),i.d(t,{SubscriptionModal:()=>O});var n=i(54568),a=i(96442),r=i(82540),o=i(4763),l=i(79052),s=i(27541),c=i(27102),d=i(27945),p=i(93263),h=i(10565),u=i(2903),f=i(51136);let g=f.Ay.div.withConfig({componentId:"sc-114097e3-0"})(["display:flex;align-items:center;"]),m=f.Ay.div.withConfig({componentId:"sc-114097e3-1"})(["margin-right:var(--space-250);",""],e=>{let{$appearance:t}=e;return"highlighted"===t&&(0,f.AH)(["color:var(--border-pro);"])}),v=f.Ay.div.withConfig({componentId:"sc-114097e3-2"})(["font-weight:var(--font-weight-500);line-height:var(--font-line-height-400);"]),y=f.Ay.div.withConfig({componentId:"sc-114097e3-3"})(["margin-right:var(--space-150);cursor:pointer;"]),b=e=>{let{icon:t=u.PzS,iconSize:i=20,iconAppearance:a="normal",tooltip:r,children:o}=e;return(0,n.jsxs)(g,{children:[(0,n.jsx)(m,{$appearance:a,children:(0,n.jsx)(t,{height:i})}),(0,n.jsx)(v,{children:o}),r&&(0,n.jsx)(y,{children:(0,n.jsx)(h.V,{tooltipContent:r,placement:"top"})})]})},x=f.Ay.div.withConfig({componentId:"sc-719abb80-0"})(["display:flex;flex-direction:column;flex:1;margin-bottom:24px;"]),w=f.Ay.div.withConfig({componentId:"sc-719abb80-1"})(["margin-bottom:20px;line-height:var(--font-line-height-400);"]),j=f.Ay.div.withConfig({componentId:"sc-719abb80-2"})(["font-size:var(--font-size-300);line-height:var(--font-line-height-300);letter-spacing:var(--font-letter-spacing-loose);color:var(--text-secondary);margin-bottom:12px;"]),A=f.Ay.div.withConfig({componentId:"sc-719abb80-3"})(["display:flex;flex-direction:column;gap:var(--space-300);"]),C=f.Ay.div.withConfig({componentId:"sc-719abb80-4"})(["display:flex;flex-direction:column;gap:var(--space-300);"]);f.Ay.div.withConfig({componentId:"sc-719abb80-5"})(["color:var(--text-primary);font-family:var(--font-family-body);font-size:var(--font-size-200);font-weight:var(--font-weight-400);line-height:var(--font-line-height-200);letter-spacing:var(--font-letter-spacing-looser);"]);var I=i(95747);i(46538);var P=i(15174),z=i(67916);async function k(e){return await z.A.fetch("".concat((0,P.hj)(),"/api/v1/saas/shop/plans"),e)}var S=i(68245);let _=()=>{let e=(0,s.useParams)(),t=(0,p.L)(),{getTopSubscriptionLimitLabel:i}=(()=>{let e,t=(0,I.useQuery)({...e,queryKey:["subscriptionPlans"],queryFn:async()=>{let{data:e}=await k();return e}});return{getTopSubscriptionLimitLabel:function(e){var i;let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!(null==(i=t.data)?void 0:i.length))return 0;let a=t.data[0]["".concat(e,"Limit")],r=-1===a?"unlimited":"up to ".concat(a);return n?r.charAt(0).toUpperCase()+r.slice(1):r}}})();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(x,{children:[(0,n.jsx)(w,{children:"Grow your brand with Fourthwall Pro for $19.00 per month or only $180.00 per year."}),(0,n.jsx)(j,{children:"Whatâs in it for you?"}),(0,n.jsxs)(A,{children:[(0,n.jsx)(b,{icon:d.yBj,children:"$10 per month of shop credit"}),(0,n.jsx)(b,{icon:d.a2l,children:"Free domain of your choice"}),(0,n.jsx)(b,{icon:d.gqV,children:"No fees on digital products"}),(0,n.jsxs)(b,{icon:d.n_M,children:[i("members",!0)," team members"]}),(0,n.jsxs)(b,{icon:d.V$p,children:[i("offers",!0)," products"]}),(0,n.jsx)(b,{icon:d.Twg,children:"Priority customer support"})]})]}),(0,n.jsx)(C,{children:(0,n.jsx)(c.$,{label:"Upgrade to Pro",appearance:"primary",fullWidth:!0,onClick:()=>{var i,n,a;window.location.href="".concat((0,S.cX)(null!=(a=null==e?void 0:e.shopSlug)?a:null==(i=t.data)?void 0:i.slug,null==(n=t.data)?void 0:n.internalBaseUri),"?saas_plan=yearly")}})})]})};var M=i(39325);let T=f.Ay.div.withConfig({componentId:"sc-cbe60be-0"})(["display:flex;position:relative;justify-content:center;flex-direction:column-reverse;min-height:calc(100vh);","{height:600px;min-height:auto;flex-direction:row;}"],M.HP.tablet),U=f.Ay.div.withConfig({componentId:"sc-cbe60be-1"})(["flex:1;padding:var(--space-600);display:flex;flex-direction:column;","{padding:var(--space-700);max-width:430px;min-width:430px;}"],M.HP.tablet),W=f.Ay.div.withConfig({componentId:"sc-cbe60be-2"})(["display:flex;position:relative;","{flex:1;}"],M.HP.tablet),N=f.Ay.div.withConfig({componentId:"sc-cbe60be-3"})(["margin-bottom:var(--space-500);display:flex;align-items:center;gap:var(--space-400);"]),$=f.Ay.button.withConfig({componentId:"sc-cbe60be-4"})(["position:absolute;top:var(--space-100);right:var(--space-100);z-index:2;cursor:pointer;display:block;padding:var(--space-150);color:var(--color-gray-200);"]),H=(0,a.default)(()=>Promise.all([i.e(2107),i.e(2982),i.e(7923)]).then(i.bind(i,77923)),{loadableGenerated:{webpack:()=>[77923]}}),O=e=>{let{onClose:t}=e,i=(0,r.P)();return(0,n.jsx)(o.n,{onClose:t,withoutPadding:!0,withoutCloseButton:!0,width:i.tablet?"930px":void 0,size:i.tablet?void 0:"fullScreen",children:(0,n.jsxs)(T,{children:[(0,n.jsx)($,{"aria-label":"Close",type:"button",onClick:t,children:(0,n.jsx)(l.USm,{height:16})}),(0,n.jsxs)(U,{children:[(0,n.jsx)(N,{children:(0,n.jsx)("h3",{children:"Upgrade to Fourthwall Pro"})}),(0,n.jsx)(_,{})]}),(0,n.jsx)(W,{children:(0,n.jsx)(H,{})})]})})}}}]);
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.