{"version":3,"file":"shared-lib.DNexSLwl.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/ep6sbUQ9YqVbneGZQVyz/vIKT28HqWiFcWUyzkY01/CutomCurser.js","https:/framerusercontent.com/modules/wgFTh8SW9SLmueeS61tq/j1FJkTtQGwA4t3DaN5eU/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export function CustomCursor(){useEffect(()=>{let isMouseUser=false;let dot=null;let styleEl=null;const showCursor=()=>{if(isMouseUser)return;isMouseUser=true;styleEl=document.createElement(\"style\");styleEl.id=\"cursor-style\";styleEl.textContent=\"* { cursor: none !important; }\";document.head.appendChild(styleEl);dot=document.createElement(\"div\");dot.id=\"custom-cursor\";dot.style.cssText=`\n                position: fixed;\n                width: 15px;\n                height: 15px;\n                background: #F5F5F5;\n                border-radius: 50%;\n                pointer-events: none;\n                z-index: 99999;\n                transform: translate(-50%, -50%);\n                top: -20px;\n                left: -20px;\n            `;document.body.appendChild(dot);};const hideCursor=()=>{if(!isMouseUser)return;isMouseUser=false;styleEl?.remove();dot?.remove();dot=null;styleEl=null;};const onPointer=e=>{if(e.pointerType===\"mouse\")showCursor();if(e.pointerType===\"touch\")hideCursor();};const onMove=e=>{if(dot){dot.style.left=e.clientX+\"px\";dot.style.top=e.clientY+\"px\";}};document.addEventListener(\"pointermove\",onPointer);document.addEventListener(\"mousemove\",onMove);return()=>{document.removeEventListener(\"pointermove\",onPointer);document.removeEventListener(\"mousemove\",onMove);document.getElementById(\"custom-cursor\")?.remove();document.getElementById(\"cursor-style\")?.remove();};},[]);return{};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withCustomCursor(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...CustomCursor(props)});};}withCustomCursor.displayName=\"CustomCursor\";\nexport const __FramerMetadata__ = {\"exports\":{\"CustomCursor\":{\"type\":\"override\",\"name\":\"CustomCursor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCustomCursor\":{\"type\":\"reactHoc\",\"name\":\"withCustomCursor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CutomCurser.map","// Generated by Framer (3f060d6)\nexport default function metadata(params,activeLocale){return{description:\"Professionelle Eventfotografie, Pressekits und Multicam-Produktion. Authentische Bilder die den Moment festhalten — f\\xfcr Festivals, Konzerte und Events in der Schweiz.\",robots:\"max-image-preview:large\",title:\"Nico Frerk | Eventfotografie\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"0KAAwE,SAAgB,GAAc,CAW6jB,OAX5jB,MAAc,CAAC,IAAI,EAAY,GAAU,EAAI,KAAS,EAAQ,KAAW,MAAe,CAAI,IAAmB,EAAY,GAAK,EAAQ,SAAS,cAAc,OAAO,EAAE,EAAQ,GAAG,eAAe,EAAQ,YAAY,iCAAiC,SAAS,KAAK,YAAY,CAAO,EAAE,EAAI,SAAS,cAAc,KAAK,EAAE,EAAI,GAAG,gBAAgB,EAAI,MAAM,QAAQ;;;;;;;;;;;cAW9b,SAAS,KAAK,YAAY,CAAG,EAAE,EAAQ,MAAe,CAAK,IAAmB,EAAY,GAAM,GAAS,OAAO,EAAE,GAAK,OAAO,EAAE,EAAI,KAAK,EAAQ,KAAK,EAAQ,EAAU,GAAG,CAAI,EAAE,cAAc,SAAQ,EAAW,EAAK,EAAE,cAAc,SAAQ,EAAW,CAAE,EAAQ,EAAO,GAAG,CAAI,IAAK,EAAI,MAAM,KAAK,EAAE,QAAQ,KAAK,EAAI,MAA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