1import{w as c,a as l,k as p,j as e,M as h,l as m,S as d,m as g,O as f,n as y,i as x,r as u}from"./chunk-KS7C4IRE-CbKV5SBs.js";import{O as j,c as w,a as r,b as i,D as s,T as a}from"./marketing-meta-Cwh8x2zH.js";const E="Select a store before continuing.";function F(){return[{rel:"manifest",href:"/site.webmanifest"},{rel:"icon",type:"image/png",sizes:"48x48",href:"/favicon-48.png"},{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32.png"},{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16.png"},{rel:"apple-touch-icon",href:"/apple-touch-icon.png",sizes:"180x180",type:"image/png"},{rel:"mask-icon",href:"/safari-pinned-tab.svg",color:"#0A0A0A"}]}function T({data:n}){const t=w(n?.pathname??"/");return[{title:r},{name:"description",content:i},{property:"og:site_name",content:"OptAEO"},{property:"og:type",content:"website"},{property:"og:locale",content:"en_GB"},{property:"og:title",content:r},{property:"og:description",content:i},{property:"og:url",content:t},{property:"og:image",content:s},{property:"og:image:width",content:"1200"},{property:"og:image:height",content:"630"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:site",content:a},{name:"twitter:creator",content:a},{name:"twitter:title",content:r},{name:"twitter:description",content:i},{name:"twitter:image",content:s},{tagName:"link",rel:"canonical",href:t},{name:"theme-color",content:"#0A0A0A"},{name:"msapplication-TileColor",content:"#0A0A0A"},{name:"msapplication-config",content:"/browserconfig.xml"}]}function _({children:n}){const t=p("root"),o=!!(t?.isEmbedded&&t?.shopifyApiKey);return e.jsxs("html",{lang:"en",children:[e.jsxs("head",{children:[e.jsx("meta",{charSet:"utf-8"}),e.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),o&&e.jsxs(e.Fragment,{children:[e.jsx("meta",{name:"shopify-api-key",content:t.shopifyApiKey}),e.jsx("script",{src:"https://cdn.shopify.com/shopifycloud/app-bridge.js"})]}),e.jsx(h,{}),e.jsx(m,{}),e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:j}})]}),e.jsxs("body",{children:[n,e.jsx(d,{}),e.jsx(g,{})]})]})}const v=c(function(){return e.jsx(f,{})}),O=l(function(){const t=y(),o=x(t)&&t.status===409&&typeof t.data=="string"&&t.data===E;return u.useEffect(()=>{o&&typeof window<"u"&&window.location.replace("/select-store")},[o]),o?e.jsxs("html",{lang:"en",children:[e.jsxs("head",{children:[e.jsx("meta",{charSet:"utf-8"}),e.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),e.jsx("meta",{httpEquiv:"refresh",content:"0;url=/select-store"}),e.jsx("title",{children:"Choose a store - OptAEO"})]}),e.jsx("body",{style:{background:"#09090B",color:"#F4F4F5",fontFamily:"system-ui",display:"flex",alignItems:"center",justifyContent:"center",minHeight:"100vh",margin:0},children:e.jsx("div",{style:{textAlign:"center"},children:e.jsxs("p",{style:{color:"#71717A",fontSize:"14px"},children:["Taking you to choose a store⦠",e.jsx("a",{href:"/select-store",style:{color:"#F4F4F5"},children:"Continue"})]})})})]}):e.jsxs("html",{lang:"en",children:[e.jsxs("head",{children:[e.jsx("meta",{charSet:"utf-8"}),e.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),e.jsx("title",{children:"Error - OptAEO"})]}),e.jsx("body",{style:{background:"#09090B",color:"#F4F4F5",fontFamily:"system-ui",display:"flex",alignItems:"center",justifyContent:"center",minHeight:"100vh",margin:0},children:e.jsxs("div",{style:{textAlign:"center"},children:[e.jsx("h1",{style:{fontSize:"24px",fontWeight:600,marginBottom:"8px"},children:"Something went wrong"}),e.jsx("p",{style:{color:"#71717A",fontSize:"14px"},children:"Please try refreshing the page or contact [email protected]"})]})})]})});export{O as ErrorBoundary,_ as Layout,v as default,F as links,T as meta};
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.