import{r as e,j as r,u as c,O as l}from"./index-DxNxE5m4.js";import{E as f}from"./index-D8miKb97.js";import{u as d}from"./useAppContext-CsLZBrkc.js";import{u,S as h}from"./useSessionStorage-DmksBZ2q.js";import{u as x,G as g}from"./google-analytics-DgVNd9tY.js";import{P as b,i as S}from"./PublicPageWrapper-qKwDgu0w.js";import{S as w}from"./searchParams-Dxk4-yyQ.js";import{a as y}from"./FrootImage-CwU30PNw.js";import{l as j}from"./links-CAH9SV_K.js";import"./_sentry-release-injection-file-DmrSj-oX.js";import{C as E}from"./center-CCvx47U6.js";import{S as s}from"./stack-DgkagaDI.js";import{T as n}from"./text-CT7B28w3.js";import{L as _}from"./link-xv5q1dKl.js";import{B as v}from"./button-BbBS63xa.js";import{B as P}from"./box-WX2wpVfe.js";import{b as k}from"./index-Cjq7XsPA.js";import"./Error-D11FT1tp.js";import"./ExternalLinkIcon-CYEru4Yy.js";import"./RefreshIcon-0gwMKBB1.js";import"./frootIcon-Dgim63fa.js";import"./index-BnfoCzO9.js";import"./strings-CC03JdDg.js";import"./icon-DmXU3eqw.js";import"./use-theme-BljIc0Ij.js";import"./emotion-element-5486c51c.browser.esm-Bivpyl8b.js";import"./use-style-config-V51jHKUD.js";import"./flex-BqdYWhF7.js";import"./node-DbRr1hYI.js";import"./hub-Bec1COEg.js";import"./index-zFMnizkj.js";import"./index-B_cZlr31.js";import"./constants-d1ZthGZb.js";import"./useBreakpointValueWithFallback-Bo38V-Yo.js";import"./use-breakpoint-value-BcBk82cj.js";import"./responsive-DLeUNZll.js";import"./env-CQJuyjFf.js";import"./use-safe-layout-effect-Ddozyabk.js";import"./useSafeIntercom-J9UCSFEz.js";import"./index-CSa306x6.js";import"./PassionfrootLogo-Dmg7Ikhm.js";import"./image-BmTmFJMM.js";import"./use-image-BxRxBFC5.js";import"./index-browser-CyBOYXQn.js";import"./children-B9RWqopt.js";import"./theming-props-vS6FENbJ.js";import"./use-merge-refs-DDSf7oJd.js";import"./spinner-pG-Sn2bC.js";import"./emotion-react.browser.esm-BH6AnLx7.js";import"./hoist-non-react-statics.cjs-DzZCQZh1.js";import"./define-styles-16jIJIQc.js";import"./attr-CI71RCHq.js";import"./index-B7GvlSJl.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="42fbd967-0049-4864-8a51-4b6fe287ea81",o._sentryDebugIdIdentifier="sentry-dbid-42fbd967-0049-4864-8a51-4b6fe287ea81")}catch{}})();function A(o,t){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},o),e.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}const I=e.forwardRef(A);function R(){return r.jsx(b,{variant:"storefront",hideBranding:!1,children:r.jsx(E,{children:r.jsxs(s,{direction:"column",align:"center",justify:"center",px:4,textAlign:"center",mt:{base:"auto",lg:"92px"},mb:{base:"auto",lg:4},maxW:"424px",children:[r.jsx(y,{size:{width:152}}),r.jsxs(s,{direction:"column",align:"center",pt:4,pb:4,children:[r.jsx(n,{textStyle:{base:"2xl",lg:"3xl"},color:"gray.800",fontWeight:"bold",children:"Storefront page not found"}),r.jsx(n,{textStyle:"md",color:"gray.700",children:"Oh no! The storefront you’re looking for doesn’t exist or has been removed."})]}),r.jsx(_,{href:j.socials.website,_hover:{textDecoration:"none"},children:r.jsx(v,{variant:"solid",colorScheme:"black",children:r.jsxs(s,{direction:"row",align:"center",children:[r.jsx(n,{children:"Visit Passionfroot"}),r.jsx(P,{as:I,width:4,color:"white",strokeWidth:2})]})})})]})})})}function Or(){const o=x(),{ENV:t}=d(),a=c(),[m]=k(),i=m.get(w.storefront.source),[B,p]=u(h.storefrontSource,i);return e.useEffect(()=>{i&&p(i)},[i]),e.useEffect(()=>{!S()&&o.track.pageView({pf_page_type:"storefront"})},[a.pathname]),r.jsx(g,{tagId:t.GOOGLE_TAG_ID,children:r.jsx(l,{})})}function Dr(){return r.jsx(f,{routeErrorHandler:r.jsx(R,{})})}export{Dr as ErrorBoundary,Or as default};
//# sourceMappingURL=_layout-DpOJDJf8.js.map
