{"version":3,"file":"shared-lib.9LWCVLSY.mjs","names":["useRef","useCallback"],"sources":["https:/framerusercontent.com/modules/EsE6TEJ2Zx3xfIRLqhJq/0vjnwufN8axJw3CO32E0/CursorSprinkle.js","https:/framerusercontent.com/modules/4ZZkhDgxJjpfNMGa4pBA/2zdjVNnwncsrjyAJlQGB/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useCallback}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";/**\n * Cursor Sprinkle\n *\n * Spawns small sparkle particles that trail the cursor as it moves, with a\n * bigger burst radiating out on click/tap. Purely decorative: pointer events\n * are disabled so it never blocks interaction with the page underneath.\n *\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function CursorSprinkle(props){const{color=\"#f7c46c\",accentColor=\"#ffffff\",trailDensity=3,burstCount=10}=props;const isStatic=useIsStaticRenderer();const containerRef=useRef(null);const lastSpawnRef=useRef(0);const spawnParticle=useCallback((x,y,isBurst)=>{const container=containerRef.current;if(!container)return;const size=4+Math.random()*5;const angle=Math.random()*Math.PI*2;const distance=isBurst?24+Math.random()*46:6+Math.random()*10;const driftX=Math.cos(angle)*distance;const driftY=Math.sin(angle)*distance;const duration=isBurst?700+Math.random()*300:500+Math.random()*250;const particleColor=Math.random()<.35?accentColor:color;const el=document.createElement(\"div\");el.style.position=\"absolute\";el.style.left=`${x}px`;el.style.top=`${y}px`;el.style.width=`${size}px`;el.style.height=`${size}px`;el.style.background=particleColor;el.style.clipPath=\"polygon(50% 0%, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0% 50%, 37% 37%)\";el.style.transform=\"translate(-50%, -50%) scale(1) rotate(0deg)\";el.style.opacity=\"1\";el.style.willChange=\"transform, opacity\";el.style.transition=`transform ${duration}ms cubic-bezier(0.16,1,0.3,1), opacity ${duration}ms ease-out`;container.appendChild(el);requestAnimationFrame(()=>{el.style.transform=`translate(calc(-50% + ${driftX}px), calc(-50% + ${driftY}px)) scale(0.2) rotate(140deg)`;el.style.opacity=\"0\";});setTimeout(()=>el.remove(),duration+60);},[color,accentColor]);useEffect(()=>{if(isStatic||typeof window===\"undefined\")return;function handlePointerMove(e){const now=performance.now();const minInterval=1e3/(trailDensity*6);if(now-lastSpawnRef.current<minInterval)return;lastSpawnRef.current=now;spawnParticle(e.clientX,e.clientY,false);}function handlePointerDown(e){for(let i=0;i<burstCount;i++){spawnParticle(e.clientX,e.clientY,true);}}window.addEventListener(\"pointermove\",handlePointerMove);window.addEventListener(\"pointerdown\",handlePointerDown);return()=>{window.removeEventListener(\"pointermove\",handlePointerMove);window.removeEventListener(\"pointerdown\",handlePointerDown);};},[isStatic,spawnParticle,trailDensity,burstCount]);return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:1,height:1},children:!isStatic&&/*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{position:\"fixed\",inset:0,pointerEvents:\"none\",zIndex:9999,overflow:\"hidden\"}})});}addPropertyControls(CursorSprinkle,{color:{type:ControlType.Color,title:\"Sparkle Color\",defaultValue:\"#f7c46c\"},accentColor:{type:ControlType.Color,title:\"Accent Color\",defaultValue:\"#ffffff\"},trailDensity:{type:ControlType.Number,title:\"Trail Density\",defaultValue:3,min:1,max:8,step:1},burstCount:{type:ControlType.Number,title:\"Click Burst Count\",defaultValue:10,min:4,max:24,step:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CursorSprinkle\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicHeight\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CursorSprinkle.map","// Generated by Framer (0e6a859)\nexport default function metadata(params,activeLocale){return{description:\"Lumps Creavouse memproduksi digital ads video, music video, dan AI Video dengan mata sinematik yang diakui lebih dari 20 festival film. Studio di Bandung sejak 2017.\",favicon:\"https://framerusercontent.com/assets/8gnwdoAaq2QuR8tbKabYvMd2UI.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/WGMcdJgim27vrfVvmGr7N1KQWoU.png\",title:\"Lumps Creavouse | Video Prodcution, Music Video & Digital Ads Bandung\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"8MAYG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,QAAM,UAAU,cAAY,UAAU,eAAa,EAAE,aAAW,IAAI,EAAY,EAAS,EAAoB,EAAQ,EAAaA,EAAO,IAAI,EAAQ,EAAaA,EAAO,CAAC,EAAQ,EAAcC,GAAa,EAAE,EAAE,IAAU,CAAC,IAAM,EAAU,EAAa,QAAQ,GAAG,CAAC,EAAU,OAAO,IAAM,EAAK,EAAE,KAAK,OAAO,EAAE,EAAQ,EAAM,KAAK,OAAO,EAAE,KAAK,GAAG,EAAQ,EAAS,EAAQ,GAAG,KAAK,OAAO,EAAE,GAAG,EAAE,KAAK,OAAO,EAAE,GAAS,EAAO,KAAK,IAAI,CAAK,EAAE,EAAe,EAAO,KAAK,IAAI,CAAK,EAAE,EAAe,EAAS,EAAQ,IAAI,KAAK,OAAO,EAAE,IAAI,IAAI,KAAK,OAAO,EAAE,IAAU,EAAc,KAAK,OAAO,EAAE,IAAI,EAAY,EAAY,EAAG,SAAS,cAAc,KAAK,EAAE,EAAG,MAAM,SAAS,WAAW,EAAG,MAAM,KAAK,GAAG,EAAE,IAAI,EAAG,MAAM,IAAI,GAAG,EAAE,IAAI,EAAG,MA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