{"version":3,"file":"CourtesyNote.CQQorHso.mjs","names":[],"sources":["https:/framerusercontent.com/modules/BguY7oGLIDCqtfDV5van/FKV6vJ37Ki4YHLFqlFGP/CourtesyNote.js"],"sourcesContent":["// English-only line on Imprint and Privacy: \"This is a courtesy translation. The German version is legally binding.\"\n// Renders nothing in the default (German) locale, so the German page stays as in the prototype.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useLocaleInfo}from\"framer\";const CSS=`.xh-cn{margin:0;font-family:\"Instrument Sans\",\"Instrument Sans Placeholder\",sans-serif;font-size:17px;line-height:1.6;color:#1a2321;-webkit-font-smoothing:antialiased}@media (max-width:640px){.xh-cn{font-size:16.5px}}.xh-cn a{color:#163934;text-decoration:underline;text-decoration-color:rgba(22,57,52,.35);text-underline-offset:3px;text-decoration-thickness:1px}.xh-cn a:hover{text-decoration-color:currentColor}.xh-cn a:focus-visible{outline:2px solid #163934;outline-offset:3px;border-radius:6px}`;/**\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 28\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */export default function CourtesyNote(props){const{activeLocale}=useLocaleInfo();const isDefault=!activeLocale||!activeLocale.slug;if(isDefault&&!props.preview)return null;return /*#__PURE__*/_jsxs(\"p\",{className:\"xh-cn\",style:{...props.style},children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),props.before,/*#__PURE__*/_jsx(\"a\",{href:props.href,hrefLang:\"de\",lang:\"de\",children:props.linkLabel}),props.after]});}addPropertyControls(CourtesyNote,{before:{type:ControlType.String,title:\"Before\",defaultValue:\"This is a courtesy translation. The \"},linkLabel:{type:ControlType.String,title:\"Link text\",defaultValue:\"German version\"},after:{type:ControlType.String,title:\"After\",defaultValue:\" is legally binding.\"},href:{type:ControlType.String,title:\"German page\",defaultValue:\"/impressum\",preventLocalization:true},preview:{type:ControlType.Boolean,title:\"Show in German (canvas check only)\",defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CourtesyNote\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"28\",\"framerIntrinsicWidth\":\"600\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CourtesyNote.map"],"mappings":"2KAOG,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,gBAAc,EAAc,EAA6F,OAA3E,CAAC,GAAc,CAAC,EAAa,OAAmB,CAAC,EAAM,QAAe,KAAyB,EAAM,IAAI,CAAC,UAAU,QAAQ,MAAM,CAAC,GAAG,EAAM,KAAK,EAAE,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS,CAAG,CAAC,EAAE,EAAM,OAAoB,EAAK,IAAI,CAAC,KAAK,EAAM,KAAK,SAAS,KAAK,KAAK,KAAK,SAAS,EAAM,SAAS,CAAC,EAAE,EAAM,KAAK,CAAC,CAAC,CAAE,mBALxW,IAAkE,EAAO,EAAI,sfAK4R,EAAoB,EAAa,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,aAAa,sCAAsC,EAAE,UAAU,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,gBAAgB,EAAE,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,QAAQ,aAAa,sBAAsB,EAAE,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,cAAc,aAAa,aAAa,oBAAoB,EAAI,EAAE,QAAQ,CAAC,KAAK,EAAY,QAAQ,MAAM,qCAAqC,aAAa,EAAK,CAAC,CAAC"}