1(function(){const pathname=window.location.pathname,search=window.location.search,hash=window.location.hash,AUTH_PATH_PREFIXES=["/account","/en/account","/de/account","/customer_authentication","/authentication"],AUTH_QUERY_KEYS=["return_url","redirect_uri","code","state","token","id_token","login_hint","analytics_trace_id"];if((()=>{if(pathname.includes("/challenge")||pathname.includes("/password")||AUTH_PATH_PREFIXES.some(prefix=>pathname.startsWith(prefix)))return!0;if(!search)return!1;const params=new URLSearchParams(search);return AUTH_QUERY_KEYS.some(key=>params.has(key))})())return;const userLang=navigator.language||navigator.userLanguage,preferredLang=localStorage.getItem("preferredLang"),stripLocalePrefix=path=>path.startsWith("/en/")?path.slice(3)||"/":path==="/en"?"/":path.startsWith("/de/")?path.slice(3)||"/":path==="/de"?"/":path,withQuery=path=>`${path}${search}${hash}`,currentPath=stripLocalePrefix(pathname);if(!preferredLang||preferredLang!==userLang){if(userLang.startsWith("de")){if(pathname!==currentPath){window.location.href=withQuery(currentPath);return}}else if(userLang.startsWith("en")){if(!pathname.startsWith("/en")){window.location.href=withQuery(`/en${currentPath}`);return}}else if(pathname.startsWith("/en")){window.location.href=withQuery(currentPath);return}localStorage.setItem("preferredLang",userLang)}})(); 2//# sourceMappingURL=/cdn/shop/t/10/assets/preferred-language.js.map?v=100658251866600149031784115004
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.