{"version":3,"file":"HideScrollbar.C860JJwS.mjs","names":[],"sources":["https:/framerusercontent.com/modules/RphSZJnBMu7D80W6HKj1/vi4rY9eLx2nUDexccfl5/HideScrollbar.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";/**\n * @framerDisableUnlink\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n */export default function ScrollbarHider(){useEffect(()=>{// CSS in den head injizieren\nconst style=document.createElement(\"style\");style.id=\"scrollbar-hider\";style.textContent=`\n            /* Scrollbar verstecken, aber Scrollen beibehalten */\n            body::-webkit-scrollbar {\n                display: none;\n            }\n            \n            body {\n                -ms-overflow-style: none;  /* IE und Edge */\n                scrollbar-width: none;     /* Firefox */\n            }\n            \n            /* F\\xfcr alle scrollbaren Container */\n            *::-webkit-scrollbar {\n                display: none;\n            }\n            \n            * {\n                -ms-overflow-style: none;\n                scrollbar-width: none;\n            }\n        `;// Prüfen ob Style bereits existiert\nconst existingStyle=document.getElementById(\"scrollbar-hider\");if(!existingStyle){document.head.appendChild(style);}// Cleanup beim Unmount\nreturn()=>{const styleToRemove=document.getElementById(\"scrollbar-hider\");if(styleToRemove){document.head.removeChild(styleToRemove);}};},[]);// Rendert nichts sichtbares\nreturn /*#__PURE__*/_jsx(\"div\",{style:{width:1,height:1,opacity:0,pointerEvents:\"none\"}});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ScrollbarHider\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1\",\"framerDisableUnlink\":\"* @framerSupportedLayoutWidth fixed\",\"framerIntrinsicHeight\":\"1\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HideScrollbar.map"],"mappings":"2JAMG,SAAwB,GAAgB,CAwB3C,OAxB4C,MAAc,CAC1D,IAAM,EAAM,SAAS,cAAc,QAAQ,CAsB3C,MAtB4C,GAAM,GAAG,kBAAkB,EAAM,YAAY;;;;;;;;;;;;;;;;;;;;UAqBrE,SAAS,eAAe,kBAAkB,EAAoB,SAAS,KAAK,YAAY,EAAM,KACxG,CAAC,IAAM,EAAc,SAAS,eAAe,kBAAkB,CAAI,GAAe,SAAS,KAAK,YAAY,EAAc,GAAM,EAAE,CAAC,CACzH,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,cAAc,OAAO,CAAC,CAAC,kBA9B9C,IAA6B"}