{"version":3,"file":"shared-lib.-bRVdPxh.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Image","React.useRef"],"sources":["https:/framerusercontent.com/modules/hYwsFwMbjV92mjv7Tzbw/8bTAyAkEYYhLgZmvcaHC/MAgzqLHRQ.js","https:/framerusercontent.com/modules/aqR9j4S18REXSifBCqrv/2M4oRG1X3hpqkCYkWTaJ/LegoHandCursor.js","https:/framerusercontent.com/modules/m5BGdabGXPS2REZcJSPO/p9wmC1TisfuVfeMJlCai/siteMetadata.js"],"sourcesContent":["// Generated by Framer (397058d)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,cx,getLoadingLazyAtYPosition,Image,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const serializationHash=\"framer-f2FqQ\";const variantClassNames={qj27eZ_uw:\"framer-v-9h2ytd\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"qj27eZ_uw\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-9h2ytd\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"qj27eZ_uw\",ref:refBinding,style:{...style},children:/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",intrinsicHeight:235,intrinsicWidth:256,loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0),pixelHeight:470,pixelWidth:512,src:\"https://framerusercontent.com/images/kieh0twHYFvfpgemnx1KVBGMRfU.png?width=512&height=470\"},className:\"framer-1xyisvv\",\"data-framer-name\":\"Blank\",layoutDependency:layoutDependency,layoutId:\"BQwevFkEN\"})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-f2FqQ.framer-e5zru7, .framer-f2FqQ .framer-e5zru7 { display: block; }\",\".framer-f2FqQ.framer-9h2ytd { height: 235px; overflow: var(--overflow-clip-fallback, clip); position: relative; width: 256px; }\",\".framer-f2FqQ .framer-1xyisvv { aspect-ratio: 1.0893617021276596 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 235px); left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 235\n * @framerIntrinsicWidth 256\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerMAgzqLHRQ=withCSS(Component,css,\"framer-f2FqQ\");export default FramerMAgzqLHRQ;FramerMAgzqLHRQ.displayName=\"BlankCursor\";FramerMAgzqLHRQ.defaultProps={height:235,width:256};addFonts(FramerMAgzqLHRQ,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerMAgzqLHRQ\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"235\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"256\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MAgzqLHRQ.map","import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{motion,useAnimation}from\"framer-motion\";export default function LegoHandCursor(){const controls=useAnimation();const cursorRef=React.useRef(null);const handImage=\"https://www.dropbox.com/scl/fi/7zfr8nw6aro9wfvfs0os5/Hand.png?rlkey=fk9x6f18ipj9awa2xvni2me1s&raw=1\";// Offset to align tip of hand with cursor\nconst offsetX=-10;const offsetY=-5;React.useEffect(()=>{// Hide default cursor globally\nconst style=document.createElement(\"style\");style.innerHTML=`\n            html, body, * { cursor: none !important; }\n            iframe, a, button, [role='button'] { cursor: none !important; }\n        `;document.head.appendChild(style);const handleMove=e=>{if(!cursorRef.current)return;// Move hand to mouse position\ncursorRef.current.style.left=`${e.clientX+offsetX}px`;cursorRef.current.style.top=`${e.clientY+offsetY}px`;// Detect element under cursor\nconst element=document.elementFromPoint(e.clientX,e.clientY);// Check if over clickable element\nconst isClickable=element?.closest(\"button, a, [role='button'], [data-clickable]\");// Check if over any LEGO brick or HoverX\nconst isOverTarget=element?.closest(\"[data-framer-name^='Brick'], [data-framer-name='HoverX1'], [data-framer-name='HoverX2'], [data-framer-name='HoverX3']\");// Scale hand if hovering button or target\ncontrols.start({scale:isClickable||isOverTarget?1.2:1,transition:{type:\"spring\",stiffness:300,damping:20}});};window.addEventListener(\"mousemove\",handleMove);return()=>{window.removeEventListener(\"mousemove\",handleMove);style.remove();};},[controls]);return /*#__PURE__*/_jsx(motion.div,{ref:cursorRef,animate:controls,style:{position:\"fixed\",left:0,top:0,width:40,height:40,pointerEvents:\"none\",backgroundImage:`url(${handImage})`,backgroundSize:\"contain\",backgroundRepeat:\"no-repeat\",transform:\"translate(-50%, -50%)\",transformOrigin:\"center center\",zIndex:9999}});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LegoHandCursor\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LegoHandCursor.map","// Generated by Framer (6d60981)\nexport default function metadata(params,activeLocale){return{description:\"A creative microsite showing how LEGO-based therapy supports neurodivergent minds, combining fun, focus, and learning through play.\",favicon:\"https://framerusercontent.com/assets/cGpgXvV2jGFC2eC4tic61rYGk0.png\",robots:\"max-image-preview:large\",title:\"The Spectrum of Play\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"6mBAC2C,IAA2H,IAAkE,IAA4B,CAAgC,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,CAA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