import{a as r,c as a,M as s,i as u}from"./BK7Prl6f.js";function d(){const e=r(),{public:{storyblokMode:t}}=s();return{storyblokContentVersion:a(()=>e.fullPath.includes("/preview/")?"draft":e.query._storyblok_published?"published":e.query._storyblok?"draft":t)}}const c=[{storefrontCode:"uk",tenantKey:"UK",contentKey:"uk",contentLocale:"en-GB",warehouseRegion:"NL",markets:["GB"]},{storefrontCode:"de",tenantKey:"DE",contentKey:"de",contentLocale:"de-DE",warehouseRegion:"NL",markets:["DE"]},{storefrontCode:"at",contentLocale:"de-DE",warehouseRegion:"NL",tenantKey:"DE",contentKey:"de",markets:["AT"]},{storefrontCode:"be",contentLocale:"default",warehouseRegion:"NL",tenantKey:"NL",contentKey:"eu",markets:["BE"]},{storefrontCode:"ch",contentLocale:"de-DE",warehouseRegion:"NL",tenantKey:"DE",contentKey:"de",markets:["CH"]},{storefrontCode:"nl",tenantKey:"NL",contentLocale:"default",warehouseRegion:"NL",contentKey:"eu",markets:["NL"]},{storefrontCode:"us",tenantKey:"US",contentKey:"us",contentLocale:"default",warehouseRegion:"US",markets:["US"],blockedRegions:{US:["AS","GU","FM","MH","MP","PW","AA","AE","AP","VI"]}},{storefrontCode:"eu",tenantKey:"EU",contentKey:"eu",contentLocale:"default",warehouseRegion:"NL",markets:["SE","CZ","DK","EE","ES","FI","HR","HU","IE","IT","LT","LU","LV","NO","PL","PT","SI","SK","FR"]},{storefrontCode:"gl",tenantKey:"GL",contentKey:"gl",contentLocale:"default",warehouseRegion:"NL",markets:["AU","AE","IL","NZ","SG","TW","JP","KR"]}];function f(){const e=r();if(!e.fullPath.includes("/preview/")){const{$currentStorefront:o}=u();return{language:o.contentLocale}}let t="default";return c.forEach(o=>{const n=o.contentLocale;n!=="default"&&e.fullPath.includes(n)&&(t=n)}),{language:t}}export{d as a,f as u}; //# sourceMappingURL=DpspDI9j.js.map