{"version":3,"file":"Form_language_detection.DXwWdx2F.mjs","names":[],"sources":["https:/framerusercontent.com/modules/ScSqBgseq1u9yceDEcNp/7QvjRJyDtwZIyJnPMaoN/Form_language_detection.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useLocaleInfo}from\"framer\";export function withLanguage(Component){return props=>{const{activeLocale}=useLocaleInfo();const code=(activeLocale?.code??activeLocale?.slug??\"\").toLowerCase();const lang=code.startsWith(\"de\")?\"de\":\"en\";return /*#__PURE__*/_jsx(Component,{...props,value:lang,defaultValue:lang});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withLanguage\":{\"type\":\"reactHoc\",\"name\":\"withLanguage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Form_language_detection.map"],"mappings":"uJAA6E,SAAgB,EAAa,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,gBAAc,EAAc,EAA8E,GAAhE,GAAc,MAAM,GAAc,MAAM,GAAA,CAAI,YAA4B,CAAC,CAAC,WAAW,IAAI,EAAE,KAAK,KAAK,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,EAAK,aAAa,CAAI,CAAC,CAAE,CAAE,iBAA7T,IAAkC"}