1import{a as m}from"./nuxt-CwEKrHoy.js";import{g as e}from"./runtime-core.esm-bundler-vVj0RfwH.js";var p=["gsw-CH","de-CH","de-DE","de-AT"],D=()=>{const{$shopContext:a}=m(),r=e(()=>p.includes(a.locale)),o=e(()=>r.value?"TT.MM.JJJJ":"MM/DD/YYYY"),n=e(()=>r.value?/^\d{2}\.\d{2}\.\d{4}$/:/^\d{2}\/\d{2}\/\d{4}$/);function s(t){if(r.value){const[i,l,f]=t.split(".");return`${f}-${l}-${i}`}const[u,d,c]=t.split("/");return`${c}-${u}-${d}`}return{dateOfBirthFormat:o,dateOfBirthRegex:n,dateOfBirthRange:e(()=>{const t=new Date().getFullYear();return{fromDate:t-99,toDate:t-16}}),parseDateOfBirthToISO:s}};export{D as t};
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.