{"version":3,"file":"CustomScroll_Dark.1wk0ab6M.mjs","names":["__esmMin","init_npm_react_18_3_1","c","init_jsx_runtime","ce","customScrollbar","styleTag","scrollbarWidth","scrollbarBackgroundColor","scrollbarBorderRadius","thumbColor","thumbBorderRadius","hoverColor","focusColor","Component","props","init_CustomScroll_Dark"],"sources":["https:/framerusercontent.com/modules/sbVVXFJBaEF0LWYBrBVz/rojSd2hkqJLSuUj8mElN/CustomScroll_Dark.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";const scrollbarWidth=10;const scrollbarBorderRadius=0;const scrollbarBackgroundColor=\"#111010\";const thumbBorderRadius=0;const thumbColor=\"#7d7d7d\";const hoverColor=\"#d9d9d9\";const focusColor=\"#d9d9d9\";import{useEffect}from\"react\";export function customScrollbar(Component){return props=>{useEffect(()=>{const styleTag=document.createElement(\"style\");styleTag.innerHTML=`\n                \n                ::-webkit-scrollbar {\n                    width: ${scrollbarWidth}px;\n                }\n                ::-webkit-scrollbar-track {\n                    background: ${scrollbarBackgroundColor};\n                    padding: 4px;\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);};},[scrollbarWidth,thumbColor,scrollbarBackgroundColor,scrollbarBorderRadius,thumbBorderRadius,hoverColor,focusColor]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"customScrollbar\":{\"type\":\"reactHoc\",\"name\":\"customScrollbar\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CustomScroll_Dark.map"],"mappings":"A,kHAAkR,SAAgBK,EAAgB,EAAU,CAAC,MAAO,KAAQD,MAAc,CAAC,IAAME,EAAS,SAAS,cAAc,OAAO,EAqBtV,MArBwV,GAAS,UAAU;;;6BAGhYC,EAAe;;;kCAGVC,EAAyB;;qCAEtBC,EAAsB;;;wCAGnBC,EAAW;;qCAEdC,EAAkB;;;wCAGfC,EAAW;;;wCAGXC,EAAW;;cAErC,SAAS,KAAK,YAAYP,CAAQ,MAAY,CAAC,SAAS,KAAK,YAAYA,CAAQ,CAAE,CAAE,EAAE,CAACC,EAAeG,EAAWF,EAAyBC,EAAsBE,EAAkBC,EAAWC,CAAU,CAAC,EAAsB,gBAAKC,EAAU,CAAC,GAAGC,CAAK,CAAC,EAAI,C,wDArBzN,EAAe,GAAS,EAAsB,EAAQ,EAAyB,UAAgB,EAAkB,EAAQ,EAAW,UAAgB,EAAW,UAAgB,EAAW,S"}