{"version":3,"file":"OutfitFormsFix.0j2uKCex.mjs","names":["__esmMin","init_npm_react_18_3_1","ce","init_jsx_runtime","c","addPropertyControls","init_framer_Duogf4LG","ControlType","OutfitFormsFix","props","enabled","STYLE_ID","style","CSS","el","init_OutfitFormsFix"],"sources":["https:/framerusercontent.com/modules/1QKbXNs3ESPaCd3nTKOn/xS6kEf0E6PLsyqXcFhrw/OutfitFormsFix.js"],"sourcesContent":["// Erstellt von 584.studio\n// Globaler Font-Fix für Formulare: erzwingt Outfit auf allen\n// input/textarea/select/button-Elementen (inkl. Platzhaltertexten).\n// Framer-native Form-Inputs lassen sich nicht per Property stylen —\n// dieser Style-Inject übernimmt das zuverlässig.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";const STYLE_ID=\"pvz-outfit-forms-fix\";const CSS=`\ninput, textarea, select, option, button {\n    font-family: \"Outfit\", sans-serif !important;\n}\ninput::placeholder, textarea::placeholder {\n    font-family: \"Outfit\", sans-serif !important;\n}\n`;/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n */export default function OutfitFormsFix(props){const{enabled=true}=props;useEffect(()=>{if(!enabled)return;if(typeof document===\"undefined\")return;if(document.getElementById(STYLE_ID))return;const style=document.createElement(\"style\");style.id=STYLE_ID;style.textContent=CSS;document.head.appendChild(style);return()=>{const el=document.getElementById(STYLE_ID);if(el)el.remove();};},[enabled]);return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{width:1,height:1,opacity:0,pointerEvents:\"none\"}});}addPropertyControls(OutfitFormsFix,{enabled:{type:ControlType.Boolean,title:\"Aktiv\",defaultValue:true,enabledTitle:\"An\",disabledTitle:\"Aus\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"OutfitFormsFix\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"1\",\"framerIntrinsicWidth\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./OutfitFormsFix.map"],"mappings":"A,0KAiBG,SAAwBQ,EAAe,EAAM,CAAC,GAAK,CAAC,UAAQ,IAAMC,EAAwU,OAAlUP,MAAc,CAA4D,GAAxD,CAACQ,GAAkB,OAAO,SAAW,KAAsB,SAAS,eAAeC,CAAQ,EAAE,OAAO,IAAMC,EAAM,SAAS,cAAc,OAAO,EAA2E,MAAzE,GAAM,GAAGD,EAAS,EAAM,YAAYE,EAAI,SAAS,KAAK,YAAYD,CAAK,MAAY,CAAC,IAAME,EAAG,SAAS,eAAeH,CAAQ,EAAKG,GAAGA,EAAG,OAAO,CAAE,CAAE,EAAE,CAACJ,CAAO,CAAC,EAAsB,gBAAK,MAAM,CAAC,cAAc,OAAO,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,cAAc,MAAM,CAAC,CAAC,CAAE,C,kDAZ1X,EAAS,uBAA6B,EAAI;;;;;;;EAYiVL,EAAoBG,EAAe,CAAC,QAAQ,CAAC,KAAKD,EAAY,QAAQ,MAAM,QAAQ,aAAa,GAAK,aAAa,KAAK,cAAc,KAAK,CAAC,CAAC,C"}