{"version":3,"file":"ScrollColor.DxIbGaOp.mjs","names":[],"sources":["https:/framerusercontent.com/modules/1vesKKptp5SkudAFI7y6/UkERpVab85xISyfrubTn/ScrollColor.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";// Configurações\nconst scrollbarWidth=3// Vertical bar width\n;const scrollbarHeight=3// Height of the horizontal bar (adjusted to be lower)\n;const scrollbarBorderRadius=24;const scrollbarBackgroundColor=\"#C7D7ED\";const thumbBorderRadius=0;const thumbColor=\"#243746\";const hoverColor=\"#224967\";const focusColor=\"#1A2833\";export function customScrollbar(Component){return props=>{useEffect(()=>{const styleTag=document.createElement(\"style\");styleTag.innerHTML=`\n                ::-webkit-scrollbar {\n                    width: ${scrollbarWidth}px;\n                    height: ${scrollbarHeight}px; /* Define a altura da horizontal */\n                }\n                ::-webkit-scrollbar-track {\n                    background: ${scrollbarBackgroundColor};\n                    border-radius: ${scrollbarBorderRadius}px;\n                }\n                ::-webkit-scrollbar-thumb {\n                    background-color: ${thumbColor};\n                    border: transparent;\n                    border-radius: ${thumbBorderRadius}px;\n                }\n                ::-webkit-scrollbar-thumb:hover {\n                    background-color: ${hoverColor};\n                }\n                ::-webkit-scrollbar-thumb:active {\n                    background-color: ${focusColor};\n                }\n            `;document.head.appendChild(styleTag);return()=>{document.head.removeChild(styleTag);};},[]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"customScrollbar\":{\"type\":\"reactHoc\",\"name\":\"customScrollbar\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScrollColor.map"],"mappings":"kHAGoL,SAAgB,EAAgB,EAAU,CAAC,MAAO,KAAQ,MAAc,CAAC,IAAM,EAAS,SAAS,cAAc,QAAQ,CAoBzP,MApB0P,GAAS,UAAU;;6BAElS,EAAe;8BACd,EAAgB;;;kCAGZ,EAAyB;qCACtB,EAAsB;;;wCAGnB,EAAW;;qCAEd,EAAkB;;;wCAGf,EAAW;;;wCAGX,EAAW;;cAErC,SAAS,KAAK,YAAY,EAAS,KAAW,CAAC,SAAS,KAAK,YAAY,EAAS,GAAK,EAAE,CAAC,CAAqB,EAAK,EAAU,CAAC,GAAG,EAAM,CAAC,mCAvB5G,IAA6B,CAClE,EAAe,EACd,EAAgB,EAChB,EAAsB,GAAS,EAAyB,UAAgB,EAAkB,EAAQ,EAAW,UAAgB,EAAW,UAAgB,EAAW"}