{"version":3,"file":"shared-lib.nvL9X6MS.mjs","names":[],"sources":["https:/framerusercontent.com/modules/olWPiy6LaEGZQJMpfRWa/XTqtCGHXSg44jV8pz2jf/Customecursor.js","https:/framerusercontent.com/modules/zyn4sBjVxoTzbSx0rVxQ/LMrCZ5r8xXX9Fb2bQAgb/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export function withCustomCursor(Component){return props=>{useEffect(()=>{// Create cursor elements\nconst dot=document.createElement(\"div\");const ring=document.createElement(\"div\");// Dot styles\ndot.style.cssText=`\n                width: 10px;\n                height: 10px;\n                background: #0F0E17;\n                border-radius: 50%;\n                position: fixed;\n                top: 0;\n                left: 0;\n                pointer-events: none;\n                z-index: 9999;\n                transform: translate(-50%, -50%);\n                transition: width 0.2s, height 0.2s, background 0.2s;\n            `;// Ring styles\nring.style.cssText=`\n                width: 36px;\n                height: 36px;\n                border: 1.5px solid rgba(15, 14, 23, 0.35);\n                border-radius: 50%;\n                position: fixed;\n                top: 0;\n                left: 0;\n                pointer-events: none;\n                z-index: 9998;\n                transform: translate(-50%, -50%);\n            `;document.body.appendChild(dot);document.body.appendChild(ring);document.body.style.cursor=\"none\";// Mouse tracking\nlet mx=0,my=0;let rx=0,ry=0;const onMove=e=>{mx=e.clientX;my=e.clientY;dot.style.left=mx+\"px\";dot.style.top=my+\"px\";};// Smooth lagging ring animation\nconst animate=()=>{rx+=(mx-rx)*.12;ry+=(my-ry)*.12;ring.style.left=rx+\"px\";ring.style.top=ry+\"px\";requestAnimationFrame(animate);};// Hover effect on links and buttons\nconst onEnter=()=>{dot.style.width=\"14px\";dot.style.height=\"14px\";ring.style.width=\"48px\";ring.style.height=\"48px\";ring.style.borderColor=\"rgba(15, 14, 23, 0.6)\";};const onLeave=()=>{dot.style.width=\"10px\";dot.style.height=\"10px\";ring.style.width=\"36px\";ring.style.height=\"36px\";ring.style.borderColor=\"rgba(15, 14, 23, 0.35)\";};document.addEventListener(\"mousemove\",onMove);document.querySelectorAll(\"a, button\").forEach(el=>{el.addEventListener(\"mouseenter\",onEnter);el.addEventListener(\"mouseleave\",onLeave);});animate();// Cleanup on unmount\nreturn()=>{document.removeEventListener(\"mousemove\",onMove);document.body.removeChild(dot);document.body.removeChild(ring);document.body.style.cursor=\"auto\";};},[]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withCustomCursor\":{\"type\":\"reactHoc\",\"name\":\"withCustomCursor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Customecursor.map","// Generated by Framer (3e39c08)\nexport default function metadata(params,activeLocale){return{description:\"Made with Framer\",robots:\"max-image-preview:large\",title:\"My Framer Site\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"kHAAwE,SAAgB,EAAiB,EAAU,CAAC,MAAO,KAAQ,MAAc,CACjJ,IAAM,EAAI,SAAS,cAAc,MAAM,CAAO,EAAK,SAAS,cAAc,MAAM,CAChF,EAAI,MAAM,QAAQ;;;;;;;;;;;;cAalB,EAAK,MAAM,QAAQ;;;;;;;;;;;cAWL,SAAS,KAAK,YAAY,EAAI,CAAC,SAAS,KAAK,YAAY,EAAK,CAAC,SAAS,KAAK,MAAM,OAAO,OACxG,IAAI,EAAG,EAAE,EAAG,EAAM,EAAG,EAAE,EAAG,EAAQ,EAAO,GAAG,CAAC,EAAG,EAAE,QAAQ,EAAG,EAAE,QAAQ,EAAI,MAAM,KAAK,EAAG,KAAK,EAAI,MAAM,IAAI,EAAG,MACzG,MAAY,CAAC,IAAK,EAAG,GAAI,IAAI,IAAK,EAAG,GAAI,IAAI,EAAK,MAAM,KAAK,E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