{"version":3,"file":"Hide_cursor.C8eFIo7W.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/Xkj0mvLP28PO5ehN8otd/q9n3o1b91Bt20a808S0v/Hide_cursor.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export function HideNativeCursor(){useEffect(()=>{// avoid duplicating the style tag if the override mounts multiple times\nconst existing=document.querySelector('style[data-hide-native-cursor=\"true\"]');if(existing)return;const style=document.createElement(\"style\");style.setAttribute(\"data-hide-native-cursor\",\"true\");style.textContent=`\n      html, body, * { cursor: none !important; }\n      /* keep touch behavior normal */\n      @media (pointer: coarse) {\n        html, body, * { cursor: auto !important; }\n      }\n    `;document.head.appendChild(style);return()=>{style.remove();};},[]);return{};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withHideNativeCursor(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...HideNativeCursor(props)});};}withHideNativeCursor.displayName=\"HideNativeCursor\";\nexport const __FramerMetadata__ = {\"exports\":{\"HideNativeCursor\":{\"type\":\"override\",\"name\":\"HideNativeCursor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHideNativeCursor\":{\"type\":\"reactHoc\",\"name\":\"withHideNativeCursor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Hide_cursor.map"],"mappings":"0KAAwE,SAAgB,GAAkB,CAOjC,OAPkC,MAAc,CAC1C,GAAhE,SAAS,cAAc,wCAAwC,CAAa,OAAO,IAAM,EAAM,SAAS,cAAc,QAAQ,CAMtG,OANuG,EAAM,aAAa,0BAA0B,OAAO,CAAC,EAAM,YAAY;;;;;;MAM/M,SAAS,KAAK,YAAY,EAAM,KAAW,CAAC,EAAM,QAAQ,GAAK,EAAE,CAAC,CAAO,EAAE,CAAqJ,SAAgB,EAAqB,EAAE,CAAC,MAAO,KAAQ,EAA+BA,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAiB,EAAM,CAAC,CAAC,mBAP9W,IAA6B,IAO8J,CAAuL,EAAqB,YAAY"}