{"version":3,"file":"HideScrollBar.CLcmP3K7.mjs","names":[],"sources":["https:/framerusercontent.com/modules/9yyr3ZRFPzJLJick5KKi/ZiCuLexaR9lpOeDULHsy/HideScrollBar.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";const scrollbarWidth=0;const scrollbarBorderRadius=0;const scrollbarBackgroundColor=\"#7B7B7B\";const thumbBorderRadius=0;const thumbColor=\"#2A2A2A\";const hoverColor=\"#1C1C1C\";const focusColor=\"#000000\";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});};}export function withPointerEventsNone(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,pointerEvents:\"none\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"customScrollbar\":{\"type\":\"reactHoc\",\"name\":\"customScrollbar\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPointerEventsNone\":{\"type\":\"reactHoc\",\"name\":\"withPointerEventsNone\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HideScrollBar.map"],"mappings":"kHAAiR,SAAgB,EAAgB,EAAU,CAAC,MAAO,KAAQ,MAAc,CAAC,IAAM,EAAS,SAAS,cAAc,OAAO,EAqBrV,MArBuV,GAAS,UAAU;;;6BAG/X,EAAe;;;kCAGV,EAAyB;;qCAEtB,EAAsB;;;wCAGnB,EAAW;;qCAEd,EAAkB;;;wCAGf,EAAW;;;wCAGX,EAAW;;cAErC,SAAS,KAAK,YAAY,CAAQ,MAAY,CAAC,SAAS,KAAK,YAAY,CAAQ,CAAE,CAAE,EAAE,CAAC,EAAe,EAAW,EAAyB,EAAsB,EAAkB,EAAW,CAAU,CAAC,EAAsB,EAAK,EAAU,CAAC,GAAG,CAAK,CAAC,EAAI,CAAC,SAAgB,EAAsB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,cAAc,MAAM,CAAC,CAAC,CAAI,+BArB9X,IAAsO,EAA/N,EAAe,EAAQ,EAAsB,EAAQ,EAAyB,UAAgB,EAAkB,EAAQ,EAAW,UAAgB,EAAW,UAAgB,EAAW"}