{"version":3,"file":"Test.D-ec58e0.mjs","names":["useId","useState","React.useRef","React.useState","React.useMemo","React.useCallback","baseY","cardSizeRatio","padding","i","x","y","angle","isMobile","raycaster","count"],"sources":["https:/framerusercontent.com/modules/FUaIbpsv96WSbB5esvSn/YBw1SITEMw39ZBcoKkJc/SmoothTabs.js","https:/framerusercontent.com/modules/4bcCqJHBbI5PSj0VHTNJ/W98SXLOfKkS9vBjxVlmQ/Test.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect,useId}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function SmoothTabs(props){const{items=[],font,inactiveColor,activeColor,menuMinWidth,menuMaxWidth,menuMinHeight,menuMaxHeight,containerColor,containerRadius,containerPadding,containerBlur,activeTabColor,activeTabRadius,activeTabBlur,transition,onTabChange}=props;const id=useId();// Find the index of the item marked as active\nconst defaultActiveIndex=items.findIndex(item=>item.active===true);const initialIndex=defaultActiveIndex!==-1?defaultActiveIndex:0;// Initialize with the first tab active, or based on current URL if needed\nconst[activeIndex,setActiveIndex]=useState(initialIndex);// Update active index if the default active item changes\nuseEffect(()=>{if(defaultActiveIndex!==-1){setActiveIndex(defaultActiveIndex);}},[defaultActiveIndex]);// Handle item click\nconst handleItemClick=(index,item)=>{setActiveIndex(index);if(onTabChange)onTabChange(index,item);};return /*#__PURE__*/_jsx(\"div\",{style:{backgroundColor:containerColor,borderRadius:containerRadius,padding:containerPadding,backdropFilter:`blur(${containerBlur}px)`,WebkitBackdropFilter:`blur(${containerBlur}px)`,display:\"inline-flex\",flexWrap:\"wrap\",gap:0,position:\"relative\",// Ensure container fits content\nwidth:\"max-content\"},children:items.map((item,index)=>{const isActive=index===activeIndex;return /*#__PURE__*/_jsxs(motion.a,{href:item.link,target:item.newTab?\"_blank\":undefined,rel:item.newTab?\"noopener noreferrer\":undefined,onClick:()=>handleItemClick(index,item),animate:{color:isActive?activeColor:inactiveColor},whileHover:{color:activeColor},transition:transition,style:{position:\"relative\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\",textDecoration:\"none\",// Dimensions\nminWidth:menuMinWidth,maxWidth:menuMaxWidth,minHeight:menuMinHeight,maxHeight:menuMaxHeight,padding:\"8px 16px\",// Font styles\n...font,color:isActive?activeColor:inactiveColor,zIndex:1},children:[isActive&&/*#__PURE__*/_jsx(motion.div,{layoutId:`${id}-activeTabIndicator`,style:{position:\"absolute\",top:0,left:0,right:0,bottom:0,backgroundColor:activeTabColor,borderRadius:activeTabRadius,zIndex:-1,backdropFilter:`blur(${activeTabBlur}px)`,WebkitBackdropFilter:`blur(${activeTabBlur}px)`},transition:transition}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"relative\",zIndex:2},children:item.label})]},index);})});}addPropertyControls(SmoothTabs,{items:{type:ControlType.Array,title:\"Menu Items\",control:{type:ControlType.Object,controls:{label:{type:ControlType.String,defaultValue:\"Tab\"},targetVariant:{type:ControlType.String,title:\"Variant\"},active:{type:ControlType.Boolean,title:\"Active\"},link:{type:ControlType.Link},newTab:{type:ControlType.Boolean,title:\"New Tab\"}}},defaultValue:[{label:\"Home\",targetVariant:\"Variant 1\",active:true},{label:\"About\",targetVariant:\"Variant 2\"},{label:\"Services\",targetVariant:\"Variant 3\"},{label:\"Contact\",targetVariant:\"Variant 4\"}]},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultValue:{fontSize:16,fontWeight:600}},inactiveColor:{type:ControlType.Color,title:\"Inactive Color\",defaultValue:\"#888888\"},activeColor:{type:ControlType.Color,title:\"Active Color\",defaultValue:\"#000000\"},menuMinWidth:{type:ControlType.Number,title:\"Min Width\",defaultValue:80,min:0},menuMaxWidth:{type:ControlType.Number,title:\"Max Width\",defaultValue:200,min:0},menuMinHeight:{type:ControlType.Number,title:\"Min Height\",defaultValue:40,min:0},menuMaxHeight:{type:ControlType.Number,title:\"Max Height\",defaultValue:60,min:0},containerColor:{type:ControlType.Color,title:\"Container\",defaultValue:\"#F5F5F5\"},containerBlur:{type:ControlType.Number,title:\"Blur\",defaultValue:0,min:0,max:50},containerRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:12,min:0},containerPadding:{type:ControlType.Number,title:\"Padding\",defaultValue:4,min:0},activeTabColor:{type:ControlType.Color,title:\"Active BG\",defaultValue:\"#FFFFFF\"},activeTabBlur:{type:ControlType.Number,title:\"Blur\",defaultValue:0,min:0,max:50},activeTabRadius:{type:ControlType.Number,title:\"Active Radius\",defaultValue:8,min:0},onTabChange:{type:ControlType.EventHandler},transition:{type:ControlType.Transition,title:\"Transition\",defaultValue:{type:\"spring\",stiffness:500,damping:30,mass:1}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SmoothTabs\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SmoothTabs.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";const THREE_MODULE_URL=\"https://unpkg.com/three@0.158.0/build/three.module.js\";const THREE_UMD_URL=\"https://unpkg.com/three@0.158.0/build/three.min.js\";let threeModulePromise=null;// Video thumbnail cache\nconst videoThumbnailCache=new Map;const TEXTURE_CACHE_TTL_MS=6e4;const textureCache=new Map;const resolveImageSource=image=>{if(!image)return null;if(typeof image===\"string\")return image;if(typeof image===\"object\"){return image.src||image.url||image.default||null;}return null;};const getTextureCacheKey=(textureUrl,cardWidth,cardHeight)=>`${textureUrl}_${cardWidth}x${cardHeight}`;const retainCachedTexture=(cacheKey,count=1)=>{const entry=textureCache.get(cacheKey);if(!entry)return;entry.refCount+=count;entry.lastUsed=performance.now();};const releaseCachedTexture=(cacheKey,count=1)=>{const entry=textureCache.get(cacheKey);if(!entry)return;entry.refCount=Math.max(0,entry.refCount-count);entry.lastUsed=performance.now();pruneTextureCache();};const pruneTextureCache=()=>{const now=performance.now();textureCache.forEach((entry,key)=>{if(entry.refCount===0&&now-entry.lastUsed>TEXTURE_CACHE_TTL_MS){try{entry.texture?.dispose?.();}catch(e){console.warn(\"Failed to dispose cached texture\",e);}textureCache.delete(key);}});};const getVideoUrl=item=>{if(item.mediaType!==\"video\")return null;if(item.videoSource===\"upload\"&&item.videoUpload){return resolveImageSource(item.videoUpload)||item.videoUpload;}if(item.videoSource===\"url\"&&item.videoUrl){return item.videoUrl;}if(!item.videoSource){if(item.videoUpload)return item.videoUpload;if(item.videoUrl)return item.videoUrl;}return null;};const estimateCardPixelSize=(cardWidth,cardHeight,multiplier=1,container)=>{if(!container){return{width:Math.round(cardWidth*300*multiplier),height:Math.round(cardHeight*300*multiplier)};}const{clientWidth,clientHeight}=container;const minDimension=Math.max(1,Math.min(clientWidth,clientHeight));const basePixels=minDimension*.6;return{width:Math.round(Math.min(1536,Math.max(256,basePixels*(cardWidth/cardHeight))*multiplier)),height:Math.round(Math.min(1536,Math.max(256,basePixels)*multiplier))};};const captureVideoThumbnailBase=(videoUrl,quality,targetWidth,targetHeight)=>{return new Promise(resolve=>{const video=document.createElement(\"video\");video.crossOrigin=\"anonymous\";video.preload=\"metadata\";video.muted=true;video.playsInline=true;let timeoutId=null;const cleanup=()=>{video.pause();video.removeAttribute(\"src\");video.load();video.remove();if(timeoutId!==null){clearTimeout(timeoutId);}};video.onloadedmetadata=()=>{const seekTime=Math.min(1,video.duration*.1||0);video.currentTime=seekTime;};video.onseeked=()=>{try{const canvas=document.createElement(\"canvas\");const ctx=canvas.getContext(\"2d\");if(!ctx){cleanup();resolve(null);return;}const canvasWidth=targetWidth||Math.max(1,video.videoWidth||512);const canvasHeight=targetHeight||Math.max(1,video.videoHeight||512);canvas.width=canvasWidth;canvas.height=canvasHeight;ctx.drawImage(video,0,0,canvas.width,canvas.height);const thumbnail=canvas.toDataURL(\"image/jpeg\",quality);cleanup();resolve(thumbnail);}catch(error){console.warn(\"Failed to capture video thumbnail:\",error);cleanup();resolve(null);}};video.onerror=()=>{cleanup();resolve(null);};timeoutId=window.setTimeout(()=>{cleanup();resolve(null);},3e3);video.src=videoUrl;});};const captureVideoThumbnailFallback=(videoUrl,targetWidth,targetHeight)=>{return new Promise(resolve=>{const video=document.createElement(\"video\");video.crossOrigin=\"anonymous\";video.preload=\"metadata\";video.muted=true;video.playsInline=true;video.style.position=\"absolute\";video.style.width=\"1px\";video.style.height=\"1px\";video.style.opacity=\"0\";video.style.pointerEvents=\"none\";const cleanup=()=>{video.pause();video.removeAttribute(\"src\");video.load();if(video.parentNode){video.parentNode.removeChild(video);}};video.onloadedmetadata=()=>{const seekTime=Math.min(1,video.duration*.1||0);video.currentTime=seekTime;};video.onseeked=()=>{try{const canvas=document.createElement(\"canvas\");const ctx=canvas.getContext(\"2d\");if(!ctx){cleanup();resolve(null);return;}canvas.width=targetWidth||640;canvas.height=targetHeight||480;ctx.drawImage(video,0,0,canvas.width,canvas.height);const thumbnail=canvas.toDataURL(\"image/jpeg\",.75);canvas.remove();cleanup();resolve(thumbnail);}catch(error){cleanup();resolve(null);}};video.onerror=()=>{cleanup();resolve(null);};document.body.appendChild(video);video.src=videoUrl;});};const captureVideoThumbnail=(videoUrl,targetWidth,targetHeight,quality=.85)=>{if(videoThumbnailCache.has(videoUrl)){return videoThumbnailCache.get(videoUrl);}const thumbnailPromise=(async()=>{const direct=await captureVideoThumbnailBase(videoUrl,quality,targetWidth,targetHeight);if(direct)return direct;const fallback=await captureVideoThumbnailFallback(videoUrl,targetWidth,targetHeight);if(fallback)return fallback;return null;})();videoThumbnailCache.set(videoUrl,thumbnailPromise);return thumbnailPromise;};// Optimized texture loading with size-based caching and Canvas resizing\nasync function loadOptimizedTexture(textureUrl,targetWidth,targetHeight){// 1. Check cache with size-based key\nconst cacheKey=getTextureCacheKey(textureUrl,targetWidth,targetHeight);const cachedEntry=textureCache.get(cacheKey);if(cachedEntry){cachedEntry.lastUsed=performance.now();return cachedEntry.texture;}// 2. Load image asynchronously\nconst img=new Image;img.crossOrigin=\"anonymous\";return new Promise((resolve,reject)=>{img.onload=async()=>{// 3. Create optimized Canvas\nconst canvas=document.createElement(\"canvas\");const ctx=canvas.getContext(\"2d\");if(!ctx){throw new Error(\"Failed to get 2D context\");}// 4. Calculate optimal size with device pixel ratio\ncanvas.width=targetWidth;canvas.height=targetHeight;// 5. High-quality resizing\nctx.imageSmoothingEnabled=true;ctx.imageSmoothingQuality=\"high\";ctx.drawImage(img,0,0,canvas.width,canvas.height);// 6. Create Three.js texture\nconst THREE=await getThreeModule();const texture=new THREE.CanvasTexture(canvas);// 7. Optimize texture settings\ntexture.generateMipmaps=true;texture.minFilter=THREE.LinearMipmapLinearFilter;texture.magFilter=THREE.LinearFilter;texture.wrapS=THREE.ClampToEdgeWrapping;texture.wrapT=THREE.ClampToEdgeWrapping;texture.flipY=true;texture.premultiplyAlpha=false;texture.colorSpace=THREE.SRGBColorSpace??texture.colorSpace;texture.anisotropy=16;// 8. Cache the optimized texture\ntextureCache.set(cacheKey,{texture,refCount:0,lastUsed:performance.now()});resolve(texture);};img.onerror=()=>reject(new Error(\"Image load failed\"));img.src=textureUrl;});}// Helper function to get media source for display\nasync function getMediaSource(item,textureSize){if(item.mediaType===\"video\"){const poster=resolveImageSource(item.posterImage);if(poster)return poster;const videoUrl=getVideoUrl(item);if(videoUrl){const thumbnail=await captureVideoThumbnail(videoUrl,textureSize.width,textureSize.height);if(thumbnail)return thumbnail;}return null;}return resolveImageSource(item.image);}function getThreeModule(){if(threeModulePromise)return threeModulePromise;threeModulePromise=(async()=>{try{return await import(/* @vite-ignore */THREE_MODULE_URL);}catch(err){// Fallback to global THREE (UMD) once\nif(window.THREE)return window.THREE;await new Promise((resolve,reject)=>{const s=document.createElement(\"script\");s.src=THREE_UMD_URL;s.async=true;s.onload=()=>resolve();s.onerror=()=>reject(new Error(\"Failed to load THREE UMD\"));document.head.appendChild(s);});return window.THREE;}})();return threeModulePromise;}// Helper function to convert Framer font object to CSS\nconst getFontCSS=font=>{if(!font)return{fontFamily:\"Inter, ui-sans-serif, system-ui, -apple-system\",fontSize:\"15px\",fontWeight:\"400\",letterSpacing:\"0em\",lineHeight:\"1.3em\"};let fontSize=font.fontSize||font.size||15;if(fontSize===undefined||fontSize===null){fontSize=15;}if(typeof fontSize===\"number\"){fontSize=`${fontSize}px`;}else if(typeof fontSize===\"string\"){if(!fontSize.includes(\"px\")&&!fontSize.includes(\"em\")&&!fontSize.includes(\"rem\")&&!fontSize.includes(\"%\")){fontSize=`${fontSize}px`;}}const fontFamily=font.fontFamily||\"Inter\";let fontWeight=\"400\";if(font.fontWeight){fontWeight=font.fontWeight;}else if(font.weight){fontWeight=font.weight;}else if(font.variant){switch(font.variant){case\"Bold\":fontWeight=\"700\";break;case\"Medium\":fontWeight=\"500\";break;case\"Light\":fontWeight=\"300\";break;case\"Regular\":default:fontWeight=\"400\";break;}}const letterSpacing=font.letterSpacing||\"0em\";const lineHeight=font.lineHeight||\"1.3em\";return{fontFamily:`${fontFamily}, ui-sans-serif, system-ui, -apple-system`,fontSize,fontWeight,letterSpacing,lineHeight};};const ActiveCard=({hovered,cardWidth,cardHeight,getMultipliedItems,preview})=>{const[mediaLoaded,setMediaLoaded]=React.useState({});const multipliedItems=getMultipliedItems();if(multipliedItems.length===0)return null;// Always show first item in Framer editor, show hovered item in actual use\nconst isEditor=RenderTarget.current()===RenderTarget.canvas;const hoveredItem=hovered!==null?multipliedItems[hovered%multipliedItems.length]:isEditor?multipliedItems[0]:null;const aspectRatio=cardHeight/cardWidth;const baseWidth=preview.width||220;const calculatedHeight=preview.height||baseWidth*aspectRatio;const getPositionStyles=position=>{const gap=preview.gap||10;const hasText=hoveredItem?.text&&preview.titleVisibility!==false;const textHeight=hasText?20:0;const padding=preview.padding||{};const topPadding=padding.top??20;const leftPadding=padding.left??20;const bottomPadding=padding.bottom??20;const rightPadding=padding.right??20;const width=baseWidth+leftPadding+rightPadding;const imageHeight=calculatedHeight;const totalHeight=imageHeight+(hasText?gap+textHeight:0)+topPadding+bottomPadding;switch(position){case\"topleft\":return{top:`${topPadding}px`,left:`${leftPadding}px`};case\"topcenter\":return{top:`${topPadding}px`,left:`calc(50% - ${width/2}px)`};case\"topright\":return{top:`${topPadding}px`,right:`${rightPadding}px`};case\"centerleft\":return{top:`calc(50% - ${totalHeight/2}px)`,left:`${leftPadding}px`};case\"center\":return{top:`calc(50% - ${totalHeight/2}px)`,left:`calc(50% - ${width/2}px)`};case\"centerright\":return{top:`calc(50% - ${totalHeight/2}px)`,right:`${rightPadding}px`};case\"bottomleft\":return{bottom:`${bottomPadding}px`,left:`${leftPadding}px`};case\"bottomcenter\":return{bottom:`${bottomPadding}px`,left:`calc(50% - ${width/2}px)`};case\"bottomright\":return{bottom:`${bottomPadding}px`,right:`${rightPadding}px`};default:return{bottom:`${bottomPadding}px`,left:`${leftPadding}px`};}};const positionStyles=getPositionStyles(preview.position||\"bottomleft\");const handleClick=()=>{if(hoveredItem?.link){const openInNewTab=hoveredItem.openInNewTab!==false// default to true\n;window.open(hoveredItem.link,openInNewTab?\"_blank\":\"_self\");}};const handleMediaLoad=mediaUrl=>{if(!mediaUrl||mediaLoaded[mediaUrl])return;setMediaLoaded(prev=>({...prev,[mediaUrl]:true}));};return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"fixed\",...positionStyles,width:`${baseWidth}px`,zIndex:9999,transition:\"opacity 0.4s ease, visibility 0s linear 0.4s\",transform:\"translateY(0) scale(1)\",opacity:isEditor?preview.visibility!==false?1:0:hovered!==null&&preview.visibility!==false?1:0,visibility:isEditor?preview.visibility!==false?\"visible\":\"hidden\":hovered!==null&&preview.visibility!==false?\"visible\":\"hidden\",pointerEvents:hoveredItem?.link?\"auto\":\"none\",cursor:hoveredItem?.link?\"pointer\":\"default\"},onClick:handleClick,children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:`${calculatedHeight}px`,backgroundColor:\"transparent\",overflow:\"hidden\",position:\"relative\"},children:hoveredItem&&(()=>{if(hoveredItem?.mediaType===\"video\"){const videoUrl=getVideoUrl(hoveredItem);if(videoUrl){return /*#__PURE__*/_jsx(\"video\",{src:videoUrl,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\"},autoPlay:true,muted:true,loop:true,playsInline:true,preload:\"auto\",onLoadedData:()=>handleMediaLoad(videoUrl)});}const posterSrc=resolveImageSource(hoveredItem.posterImage);return posterSrc?/*#__PURE__*/_jsx(\"img\",{src:posterSrc,alt:hoveredItem?.text||\"\",style:{width:\"100%\",height:\"100%\",objectFit:\"cover\"},onLoad:()=>handleMediaLoad(posterSrc)}):/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",backgroundColor:\"#f0f0f0\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:\"#999\",fontSize:\"14px\"},children:\"No media\"});}const imageSrc=resolveImageSource(hoveredItem?.image);return imageSrc?/*#__PURE__*/_jsx(\"img\",{src:imageSrc,alt:hoveredItem?.text||\"\",style:{width:\"100%\",height:\"100%\",objectFit:\"cover\"},onLoad:()=>handleMediaLoad(imageSrc)}):/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",backgroundColor:\"#f0f0f0\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:\"#999\",fontSize:\"14px\"},children:\"No media\"});})()}),hoveredItem?.text&&preview.titleVisibility!==false&&/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",color:preview.color||\"#333333\",textAlign:preview.textAlign||\"left\",marginTop:`${preview.gap||10}px`,...getFontCSS(preview.font)},children:hoveredItem.text})]});};const updateMobileFixedImage=(element,currentItem,cardWidth,cardHeight,preview)=>{if(!currentItem)return;const aspectRatio=cardHeight/cardWidth;const baseWidth=preview.width||cardWidth*100;const calculatedHeight=preview.height||baseWidth*aspectRatio;const mediaContainer=element.querySelector(\"div:first-child\");const existingVideo=mediaContainer?.querySelector(\"video\");const existingImage=mediaContainer?.querySelector(\"img\");const videoUrl=getVideoUrl(currentItem);if(currentItem.mediaType===\"video\"&&videoUrl){let videoElement=existingVideo;if(!videoElement){if(existingImage)existingImage.remove();videoElement=document.createElement(\"video\");mediaContainer?.appendChild(videoElement);}if(videoElement){if(videoElement.src!==videoUrl){videoElement.pause();videoElement.currentTime=0;videoElement.src=videoUrl;videoElement.load();}videoElement.style.width=`${baseWidth}px`;videoElement.style.height=`${calculatedHeight}px`;videoElement.style.objectFit=\"cover\";videoElement.autoplay=true;videoElement.muted=true;videoElement.loop=true;videoElement.playsInline=true;videoElement.preload=\"auto\";}}else{let imageElement=existingImage;if(!imageElement){if(existingVideo)existingVideo.remove();imageElement=document.createElement(\"img\");mediaContainer?.appendChild(imageElement);}if(imageElement){const imageSrc=resolveImageSource(currentItem.image)||\"\";if(imageElement.src!==imageSrc){imageElement.src=imageSrc;}imageElement.alt=currentItem.text||\"\";imageElement.style.width=`${baseWidth}px`;imageElement.style.height=`${calculatedHeight}px`;imageElement.style.objectFit=\"cover\";}}const textElement=element.querySelector(\"div:last-child\");if(currentItem?.text&&preview.titleVisibility!==false){if(textElement&&textElement!==element.querySelector(\"div:first-child\")){// Update existing text element\nconst fontCSS=getFontCSS(preview.font);textElement.style.cssText=`\n                width: 100%;\n                color: ${preview.color||\"#333333\"};\n                text-align: ${preview.textAlign||\"left\"};\n                margin-top: ${preview.gap||10}px;\n                font-family: ${fontCSS.fontFamily};\n                font-size: ${fontCSS.fontSize};\n                font-weight: ${fontCSS.fontWeight};\n                letter-spacing: ${fontCSS.letterSpacing};\n                line-height: ${fontCSS.lineHeight};\n            `;textElement.textContent=currentItem.text;}else{const newTextElement=document.createElement(\"div\");const fontCSS=getFontCSS(preview.font);newTextElement.style.cssText=`\n                width: 100%;\n                color: ${preview.color||\"#333333\"};\n                text-align: ${preview.textAlign||\"left\"};\n                margin-top: ${preview.gap||10}px;\n                font-family: ${fontCSS.fontFamily};\n                font-size: ${fontCSS.fontSize};\n                font-weight: ${fontCSS.fontWeight};\n                letter-spacing: ${fontCSS.letterSpacing};\n                line-height: ${fontCSS.lineHeight};\n            `;newTextElement.textContent=currentItem.text;element.appendChild(newTextElement);}}else if(textElement&&textElement!==element.querySelector(\"div:first-child\")){element.removeChild(textElement);}const handleClick=()=>{if(currentItem?.link){const openInNewTab=currentItem.openInNewTab!==false// default to true\n;window.open(currentItem.link,openInNewTab?\"_blank\":\"_self\");}};element.removeEventListener(\"click\",element._clickHandler);element.addEventListener(\"click\",handleClick);element._clickHandler=handleClick;};const createMobileFixedImage=(currentItem,cardWidth,cardHeight,preview)=>{if(!currentItem)return null;const aspectRatio=cardHeight/cardWidth;const baseWidth=preview.width||180;const calculatedHeight=preview.height||baseWidth*aspectRatio;// Convert position string to CSS styles\nconst getPositionStyles=position=>{const gap=preview.gap||10;const hasText=currentItem?.text&&preview.titleVisibility!==false;const textHeight=hasText?20:0// Estimated text height\n;const padding=preview.padding||{};const topPadding=padding.top??20;const leftPadding=padding.left??20;const bottomPadding=padding.bottom??20;const rightPadding=padding.right??20;const width=baseWidth+leftPadding+rightPadding;const imageHeight=calculatedHeight;const totalHeight=imageHeight+(hasText?gap+textHeight:0)+topPadding+bottomPadding;switch(position){case\"topleft\":return{top:`${topPadding}px`,left:`${leftPadding}px`};case\"topcenter\":return{top:`${topPadding}px`,left:`calc(50% - ${width/2}px)`};case\"topright\":return{top:`${topPadding}px`,right:`${rightPadding}px`};case\"centerleft\":return{top:`calc(50% - ${totalHeight/2}px)`,left:`${leftPadding}px`};case\"center\":return{top:`calc(50% - ${totalHeight/2}px)`,left:`calc(50% - ${width/2}px)`};case\"centerright\":return{top:`calc(50% - ${totalHeight/2}px)`,right:`${rightPadding}px`};case\"bottomleft\":return{bottom:`${bottomPadding}px`,left:`${leftPadding}px`};case\"bottomcenter\":return{bottom:`${bottomPadding}px`,left:`calc(50% - ${width/2}px)`};case\"bottomright\":return{bottom:`${bottomPadding}px`,right:`${rightPadding}px`};default:return{top:\"50%\",right:`${rightPadding}px`,transform:\"translateY(-50%)\"};}};const positionStyles=getPositionStyles(preview.position||\"centerright\");const handleClick=()=>{if(currentItem?.link){const openInNewTab=currentItem.openInNewTab!==false// default to true\n;window.open(currentItem.link,openInNewTab?\"_blank\":\"_self\");}};// Create main container div\nconst mobileFixedImageContainer=document.createElement(\"div\");mobileFixedImageContainer.style.cssText=`\n        position: fixed;\n        ${positionStyles.top?`top: ${positionStyles.top};`:\"\"}\n        ${positionStyles.left?`left: ${positionStyles.left};`:\"\"}\n        ${positionStyles.right?`right: ${positionStyles.right};`:\"\"}\n        ${positionStyles.bottom?`bottom: ${positionStyles.bottom};`:\"\"}\n        ${positionStyles.transform?`transform: ${positionStyles.transform};`:\"\"}\n        width: ${baseWidth}px;\n        z-index: 9999;\n        transition: all 0.3s ease;\n        opacity: ${preview.visibility!==false?1:0};\n        pointer-events: ${currentItem?.link?\"auto\":\"none\"};\n        cursor: ${currentItem?.link?\"pointer\":\"default\"};\n    `;// Create media container div\nconst mediaContainer=document.createElement(\"div\");mediaContainer.style.cssText=`\n        width: 100%;\n        height: ${calculatedHeight}px;\n        background-color: white;\n        overflow: hidden;\n    `;const videoUrl=getVideoUrl(currentItem);if(currentItem.mediaType===\"video\"&&videoUrl){const videoElement=document.createElement(\"video\");videoElement.src=videoUrl;videoElement.style.cssText=`\n            width: 100%;\n            height: 100%;\n            object-fit: cover;\n        `;videoElement.autoplay=true;videoElement.loop=true;videoElement.muted=true;videoElement.playsInline=true;videoElement.preload=\"auto\";mediaContainer.appendChild(videoElement);}else{const imageSrc=resolveImageSource(currentItem.image);if(imageSrc){const imageElement=document.createElement(\"img\");imageElement.src=imageSrc;imageElement.alt=currentItem.text||\"\";imageElement.style.cssText=`\n                width: 100%;\n                height: 100%;\n                object-fit: cover;\n            `;mediaContainer.appendChild(imageElement);}else{const placeholderElement=document.createElement(\"div\");placeholderElement.style.cssText=`\n                width: 100%;\n                height: 100%;\n                background-color: #f0f0f0;\n                display: flex;\n                align-items: center;\n                justify-content: center;\n                color: #999;\n                font-size: 14px;\n            `;placeholderElement.textContent=\"No media\";mediaContainer.appendChild(placeholderElement);}}mobileFixedImageContainer.appendChild(mediaContainer);// Create text element if needed\nif(currentItem?.text&&preview.titleVisibility!==false){const textElement=document.createElement(\"div\");const fontCSS=getFontCSS(preview.font);textElement.style.cssText=`\n            width: 100%;\n            color: ${preview.color||\"#333333\"};\n            text-align: ${preview.textAlign||\"left\"};\n            margin-top: ${preview.gap||10}px;\n            font-family: ${fontCSS.fontFamily};\n            font-size: ${fontCSS.fontSize};\n            font-weight: ${fontCSS.fontWeight};\n            letter-spacing: ${fontCSS.letterSpacing};\n            line-height: ${fontCSS.lineHeight};\n        `;textElement.textContent=currentItem.text;mobileFixedImageContainer.appendChild(textElement);}// Add click event listener\nif(currentItem?.link){mobileFixedImageContainer.addEventListener(\"click\",handleClick);mobileFixedImageContainer._clickHandler=handleClick;}return mobileFixedImageContainer;};// @framerDisableUnlink\n/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 100\n * @framerIntrinsicHeight 100\n */export default function ImageWheel3D({items,cardWidth=1.2,cardHeight=1.8,backgroundColor,borderRadius=.05,tiltAngle=-.28,control=false,itemMultiplier=1,padding=.2,// Preview settings\npreview={visibility:true,width:220,height:330,position:\"bottomleft\"},style}){const containerRef=React.useRef(null);const rendererRef=React.useRef(null);const sceneRef=React.useRef(null);const cameraRef=React.useRef(null);const groupRef=React.useRef(null);const raycasterRef=React.useRef(null);const pointerRef=React.useRef({x:0,y:0});const isDraggingRef=React.useRef(false);const dragStartXRef=React.useRef(0);const startRotationRef=React.useRef(0);const hoveredRef=React.useRef(null);const resizeObserverRef=React.useRef(null);const hoverStateRef=React.useRef({currentCard:null,isHovering:false,lastHoverTime:0});// Overlay state management - simplified like reference code\nconst[hovered,setHovered]=React.useState(null);const hoveredStateRef=React.useRef(hovered);React.useEffect(()=>{hoveredStateRef.current=hovered;},[hovered]);const[currentMobileItem,setCurrentMobileItem]=React.useState(null);const[isMobile,setIsMobile]=React.useState(false);const[scrollProgress,setScrollProgress]=React.useState(0);const[wheelLoaded,setWheelLoaded]=React.useState(false);const mobileFixedImageRef=React.useRef(null);const animationStatesRef=React.useRef(new Map);const texturesRef=React.useRef([]);const cachedTextureUsageRef=React.useRef(new Map);const scrollProgressRef=React.useRef(0);const currentScrollRef=React.useRef(0)// Current scroll value for smooth interpolation\n;const rotationCountRef=React.useRef(0)// Track complete rotations to maintain continuous wheel movement\n;const loadingStatesRef=React.useRef(new Map)// Track loading states for each card\n;const animationFrameRef=React.useRef(null);const isAnimateMode=Boolean(control);// 공유 아이템 배열을 한 번만 계산해서 전역으로 재사용\nconst multipliedItems=React.useMemo(()=>{if(!items||items.length===0)return[];const list=[];const multiplier=Math.max(1,itemMultiplier);for(let i=0;i<multiplier;i++){items.forEach((item,index)=>{const resolvedImage=resolveImageSource(item.image)||undefined;const resolvedPoster=resolveImageSource(item.posterImage)||undefined;const resolvedVideoUpload=resolveImageSource(item.videoUpload)||item.videoUpload;list.push({mediaType:item.mediaType||\"image\",image:resolvedImage,posterImage:resolvedPoster,videoSource:item.videoSource,videoUrl:item.videoUrl,videoUpload:resolvedVideoUpload,text:item.text||`Item ${index+1}`,link:item.link,openInNewTab:item.openInNewTab});});}return list;},[items,itemMultiplier]);const getMultipliedItems=React.useCallback(()=>multipliedItems,[multipliedItems]);// Check if mobile on mount and set initial mobile item\nReact.useEffect(()=>{const checkMobile=()=>{const mobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);setIsMobile(mobile);// Set initial mobile item\nif(mobile&&multipliedItems.length>0){setCurrentMobileItem(multipliedItems[0]);}};checkMobile();window.addEventListener(\"resize\",checkMobile);return()=>window.removeEventListener(\"resize\",checkMobile);},[multipliedItems]);// Create and manage mobile fixed image DOM element\nReact.useEffect(()=>{if(isMobile&&!isAnimateMode&&wheelLoaded){// Create mobile fixed image if it doesn't exist\nif(!mobileFixedImageRef.current&&currentMobileItem){const mobileFixedImageElement=createMobileFixedImage(currentMobileItem,cardWidth,cardHeight,preview);if(mobileFixedImageElement){document.body.appendChild(mobileFixedImageElement);mobileFixedImageRef.current=mobileFixedImageElement;}}}else{// Remove mobile fixed image when not on mobile or when control is animate\nif(mobileFixedImageRef.current){document.body.removeChild(mobileFixedImageRef.current);mobileFixedImageRef.current=null;}}// Cleanup function\nreturn()=>{if(mobileFixedImageRef.current){try{// Remove click handler before removing element\nif(mobileFixedImageRef.current._clickHandler){mobileFixedImageRef.current.removeEventListener(\"click\",mobileFixedImageRef.current._clickHandler);}document.body.removeChild(mobileFixedImageRef.current);}catch(e){// Element might already be removed\n}mobileFixedImageRef.current=null;}};},[isMobile,isAnimateMode,wheelLoaded,currentMobileItem])// Depend on both isMobile and control to handle animate mode\n;// Update mobile fixed image content when item changes\nReact.useEffect(()=>{if(isMobile&&!isAnimateMode&&mobileFixedImageRef.current&&currentMobileItem){// Update the existing element instead of recreating\nupdateMobileFixedImage(mobileFixedImageRef.current,currentMobileItem,cardWidth,cardHeight,preview);}},[currentMobileItem,cardWidth,cardHeight,preview,isAnimateMode]);// Smooth interpolation function (similar to easing.damp)\nconst smoothLerp=(current,target,factor)=>{return current+(target-current)*factor;};// Track scroll progress for mobile image updates\nReact.useEffect(()=>{if(isMobile&&!isAnimateMode&&multipliedItems.length>0){const totalItems=multipliedItems.length;const currentItemIndex=Math.floor(scrollProgress*totalItems);if(totalItems>0){const newItem=multipliedItems[currentItemIndex%totalItems];if(newItem&&newItem!==currentMobileItem){setCurrentMobileItem(newItem);}}}},[scrollProgress,isMobile,isAnimateMode,multipliedItems,currentMobileItem]);// Animate mobile scroll progress without polling\nReact.useEffect(()=>{if(!(isMobile&&!isAnimateMode))return;let rafId=null;const syncScrollProgress=()=>{rafId=requestAnimationFrame(syncScrollProgress);const currentProgress=scrollProgressRef.current;if(Math.abs(currentProgress-scrollProgress)>5e-4){setScrollProgress(currentProgress);}};syncScrollProgress();return()=>{if(rafId!==null)cancelAnimationFrame(rafId);};},[isMobile,isAnimateMode,scrollProgress]);// Main scene rebuilding function\nconst rebuildScene=React.useCallback(async()=>{const container=containerRef.current;if(!container)return;// Set default dimensions if container is empty\nif(container.clientWidth===0||container.clientHeight===0){container.style.width=\"100%\";container.style.height=\"200px\";}const THREE=await getThreeModule();// Clean up previous animation frame\nif(animationFrameRef.current!==null)cancelAnimationFrame(animationFrameRef.current);const prevRenderer=rendererRef.current;if(prevRenderer){try{prevRenderer.dispose();if(prevRenderer.domElement?.parentElement){prevRenderer.domElement.parentElement.removeChild(prevRenderer.domElement);}}catch{// ignore\n}rendererRef.current=null;}// Create new renderer with performance optimizations\nconst renderer=new THREE.WebGLRenderer({antialias:true,alpha:true,powerPreference:\"high-performance\",preserveDrawingBuffer:false,stencil:false,depth:true});renderer.setPixelRatio(window.devicePixelRatio||1)// Keep original pixel ratio\n;renderer.setSize(container.clientWidth,container.clientHeight);renderer.setClearColor(new THREE.Color(0),0)// Transparent background\n;renderer.outputColorSpace=THREE.SRGBColorSpace??renderer.outputColorSpace;container.appendChild(renderer.domElement);rendererRef.current=renderer;const scene=new THREE.Scene;sceneRef.current=scene;const camera=new THREE.PerspectiveCamera(75,1,.01,1e3)// 75° field of view\n;// Set camera aspect ratio\nconst cw=Math.max(container.clientWidth,1);const ch=Math.max(container.clientHeight,1);camera.aspect=cw/ch;camera.updateProjectionMatrix();// Position camera to center the wheel on screen\nconst baseY=400// Adjusted Y distance to center the wheel on screen\n;camera.position.set(0,baseY,baseY);camera.lookAt(0,0,0);camera.baseY=baseY;cameraRef.current=camera;const ambient=new THREE.AmbientLight(16777215,.9);scene.add(ambient);const hemi=new THREE.HemisphereLight(16777215,4473924,.5);scene.add(hemi);const dir=new THREE.DirectionalLight(16777215,.6);dir.position.set(5,10,7);scene.add(dir);const group=new THREE.Group;groupRef.current=group;scene.add(group);// Apply tilt for 3D perspective\ngroup.rotation.x=tiltAngle;// No scaleFactor - always scale 1.0, let radius calculation handle all sizing\ngroup.scale.setScalar(1);// Calculate wheel radius dynamically to fill container\n// Mathematical approach:\n// 1. Camera is at (0, baseY, baseY) looking at (0, 0, 0)\n// 2. Distance from camera to origin: baseY * sqrt(2)\n// 3. FOV is vertical FOV, so view frustum height at origin = 2 * distance * tan(FOV/2)\n// 4. View frustum width = height * aspect\n// 5. Wheel should fill the smaller dimension (to fit both width and height)\n// 6. Since scaleFactor is always 1.0, radius directly equals target visible radius\n// 7. Therefore: radius = (frustumSize / 2) * (1 - 2*padding)\n// Calculate frustum size and card size ratio\n// This will be used for both wheel radius and responsive card sizing\nconst calculateFrustumAndCardRatio=()=>{const cw=Math.max(container.clientWidth,1);const ch=Math.max(container.clientHeight,1);const baseY=400// Camera Y/Z position\n;const fovDeg=75// Vertical FOV in degrees\n;const fovRad=fovDeg*Math.PI/180// Convert to radians\n;// Calculate distance from camera to origin (where wheel is located)\n// Camera at (0, baseY, baseY), origin at (0, 0, 0)\nconst cameraDistance=Math.sqrt(baseY*baseY+baseY*baseY)// = baseY * sqrt(2)\n;// Calculate view frustum size at origin (where wheel is)\n// FOV is vertical FOV, so height = 2 * distance * tan(FOV/2)\nconst frustumHeight=2*cameraDistance*Math.tan(fovRad/2);const frustumWidth=frustumHeight*(cw/ch)// Aspect ratio\n;// Use smaller dimension to ensure wheel fits in both directions\nconst frustumSize=Math.min(frustumWidth,frustumHeight);// Calculate reference frustum size (for 800px container as baseline)\n// This ensures cards maintain consistent size relative to container\nconst referenceContainerSize=800;const referenceAspect=1// Assume square for reference\n;const referenceFrustumHeight=2*cameraDistance*Math.tan(fovRad/2);const referenceFrustumWidth=referenceFrustumHeight*referenceAspect;const referenceFrustumSize=Math.min(referenceFrustumWidth,referenceFrustumHeight);// Calculate size ratio for responsive card sizing\n// Cards will scale proportionally to container size\nconst cardSizeRatio=frustumSize/referenceFrustumSize;// Calculate target wheel radius\n// Wheel should fill (1 - 2*padding) of the frustum\n// Since scaleFactor is 1.0, radius directly equals target visible radius\nconst radius=frustumSize/2*(1-2*padding);return{radius:Math.max(radius,1),cardSizeRatio:cardSizeRatio};};const{radius:calculatedWheelRadius,cardSizeRatio}=calculateFrustumAndCardRatio();const raycaster=new THREE.Raycaster;raycasterRef.current=raycaster;// Initialize texture loader\nconst loader=new THREE.TextureLoader;loader.setCrossOrigin(\"anonymous\");loader.setPath(\"\");// Clear previous texture cache\ntexturesRef.current.forEach(t=>t?.dispose?.());texturesRef.current=[];// Process items and create cards\n// Duplicate items based on multiplier\nconst count=multipliedItems.length;if(count===0){// Show placeholder ring when no items\nconst geo=new THREE.TorusGeometry(1,.02,8,64);const mat=new THREE.ShaderMaterial({uniforms:{color:{value:new THREE.Color(14540253)}},vertexShader:`\n                    varying vec2 vUv;\n                    void main() {\n                        vUv = uv;\n                        gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n                    }\n                `,fragmentShader:`\n                    uniform vec3 color;\n                    varying vec2 vUv;\n                    \n                    void main() {\n                        gl_FragColor = vec4(color, 1.0);\n                    }\n                `,side:THREE.DoubleSide});const ring=new THREE.Mesh(geo,mat);scene.add(ring);}const twoPi=Math.PI*2;const createTextSprite=label=>{const canvas=document.createElement(\"canvas\");const ctx=canvas.getContext(\"2d\");const padding=12;const fontSize=28;const fontFamily=\"Inter, ui-sans-serif, system-ui, -apple-system\";ctx.font=`${fontSize}px ${fontFamily}`;const textWidth=Math.ceil(ctx.measureText(label).width);canvas.width=textWidth+padding*2;canvas.height=fontSize+padding*2;// Redraw with correct resolution\nconst ctx2=canvas.getContext(\"2d\");ctx2.font=`${fontSize}px ${fontFamily}`;ctx2.fillStyle=\"rgba(0,0,0,0.8)\";ctx2.textBaseline=\"top\";ctx2.fillText(label,padding,padding);const texture=new THREE.CanvasTexture(canvas);texture.needsUpdate=true;const material=new THREE.ShaderMaterial({uniforms:{map:{value:texture}},vertexShader:`\n                    varying vec2 vUv;\n                    void main() {\n                        vUv = uv;\n                        gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n                    }\n                `,fragmentShader:`\n                    uniform sampler2D map;\n                    varying vec2 vUv;\n                    \n                    void main() {\n                        gl_FragColor = texture2D(map, vUv);\n                    }\n                `,transparent:true,depthTest:false});const sprite=new THREE.Sprite(material);const scaleFactor=.0045;sprite.scale.set(canvas.width*scaleFactor,canvas.height*scaleFactor,1);return sprite;};const textureSize=estimateCardPixelSize(cardWidth,cardHeight,window.devicePixelRatio||1,container);// Process all textures with caching for better performance\ncachedTextureUsageRef.current=new Map;const texturePromises=multipliedItems.map(async(item,i)=>{// Get media source (handles both images and video thumbnails)\nconst mediaSource=await getMediaSource(item,textureSize);let texture;let cacheKey=null;// Load texture with optimized caching\ntry{if(mediaSource){cacheKey=getTextureCacheKey(mediaSource,textureSize.width,textureSize.height);// Use optimized texture loading with size-based caching\ntexture=await loadOptimizedTexture(mediaSource,textureSize.width,textureSize.height);// If no cached texture, create canvas texture as fallback\nif(!texture){texture=await new Promise(resolve=>{const img=new Image;img.crossOrigin=\"anonymous\";img.onload=()=>{const canvas=document.createElement(\"canvas\");const ctx=canvas.getContext(\"2d\");canvas.width=img.width;canvas.height=img.height;// Draw image directly (rounded corners handled by shader)\nctx.drawImage(img,0,0);const roundedTexture=new THREE.CanvasTexture(canvas);roundedTexture.needsUpdate=true;// Apply same optimizations as cached loader\nroundedTexture.minFilter=THREE.LinearMipmapLinearFilter;roundedTexture.magFilter=THREE.LinearFilter;roundedTexture.generateMipmaps=true;roundedTexture.wrapS=THREE.ClampToEdgeWrapping;roundedTexture.wrapT=THREE.ClampToEdgeWrapping;roundedTexture.flipY=true;roundedTexture.premultiplyAlpha=false;roundedTexture.colorSpace=THREE.SRGBColorSpace??roundedTexture.colorSpace;roundedTexture.anisotropy=16;resolve(roundedTexture);};img.onerror=()=>{console.warn(\"ImageWheel: failed to load texture\",mediaSource);resolve(null);};img.src=mediaSource;});}}}catch{texture=null;}if(texture&&cacheKey){const cachedEntry=textureCache.get(cacheKey);if(cachedEntry&&cachedEntry.texture===texture){retainCachedTexture(cacheKey);const usageMap=cachedTextureUsageRef.current;usageMap.set(cacheKey,(usageMap.get(cacheKey)||0)+1);}else if(!texturesRef.current.includes(texture)){texturesRef.current.push(texture);}}else if(texture&&!texturesRef.current.includes(texture)){texturesRef.current.push(texture);}return{texture,item,index:i,cacheKey};});// Wait for all textures to load\nconst textureResults=await Promise.all(texturePromises);// Create cards with loaded textures\nconst cards=[];for(let i=0;i<count;i++){const{texture,item}=textureResults[i];// Create material with simple texture mapping\nconst material=texture?new THREE.MeshBasicMaterial({map:texture,transparent:true,side:THREE.DoubleSide}):new THREE.ShaderMaterial({uniforms:{color:{value:new THREE.Color(13421772)}},vertexShader:`\n                          varying vec2 vUv;\n                          void main() {\n                              vUv = uv;\n                              gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n                          }\n                      `,fragmentShader:`\n                          uniform vec3 color;\n                          varying vec2 vUv;\n                          \n                          void main() {\n                              gl_FragColor = vec4(color, 1.0);\n                          }\n                      `,side:THREE.DoubleSide,transparent:false});// Create card geometry with rounded corners\nconst segments=32// Number of segments for rounded corners\n;const geometry=new THREE.PlaneGeometry(cardWidth,cardHeight,segments,segments);// Apply rounded corners\nif(borderRadius>0){const positions=geometry.attributes.position;const radius=Math.min(cardWidth,cardHeight)*borderRadius;for(let i=0;i<positions.count;i++){const x=positions.getX(i);const y=positions.getY(i);// Round at corner areas\nconst halfWidth=cardWidth/2;const halfHeight=cardHeight/2;let newX=x;let newY=y;// Top right corner\nif(x>halfWidth-radius&&y>halfHeight-radius){const dx=x-(halfWidth-radius);const dy=y-(halfHeight-radius);const dist=Math.sqrt(dx*dx+dy*dy);if(dist>radius){const angle=Math.atan2(dy,dx);newX=halfWidth-radius+Math.cos(angle)*radius;newY=halfHeight-radius+Math.sin(angle)*radius;}}else if(x<-halfWidth+radius&&y>halfHeight-radius){const dx=x-(-halfWidth+radius);const dy=y-(halfHeight-radius);const dist=Math.sqrt(dx*dx+dy*dy);if(dist>radius){const angle=Math.atan2(dy,dx);newX=-halfWidth+radius+Math.cos(angle)*radius;newY=halfHeight-radius+Math.sin(angle)*radius;}}else if(x>halfWidth-radius&&y<-halfHeight+radius){const dx=x-(halfWidth-radius);const dy=y-(-halfHeight+radius);const dist=Math.sqrt(dx*dx+dy*dy);if(dist>radius){const angle=Math.atan2(dy,dx);newX=halfWidth-radius+Math.cos(angle)*radius;newY=-halfHeight+radius+Math.sin(angle)*radius;}}else if(x<-halfWidth+radius&&y<-halfHeight+radius){const dx=x-(-halfWidth+radius);const dy=y-(-halfHeight+radius);const dist=Math.sqrt(dx*dx+dy*dy);if(dist>radius){const angle=Math.atan2(dy,dx);newX=-halfWidth+radius+Math.cos(angle)*radius;newY=-halfHeight+radius+Math.sin(angle)*radius;}}positions.setXYZ(i,newX,newY,0);}positions.needsUpdate=true;}const mesh=new THREE.Mesh(geometry,material);mesh.scale.set(cardSizeRatio,cardSizeRatio,1);mesh.castShadow=false;mesh.receiveShadow=false;mesh.renderOrder=i// Set render order for proper layering\n;// Set card metadata\nmesh.userData.index=i;mesh.userData.link=item?.link||\"\";mesh.userData.openInNewTab=item?.openInNewTab!==false// default to true\n;mesh.userData.originalPosition=new THREE.Vector3;mesh.userData.labelSprite=null;// Hit area removed - handle hover detection with card itself\n// Position cards in circular pattern\nconst laneRadius=calculatedWheelRadius;// Distribute cards evenly around circle\nconst angle=i/count*twoPi;// Store angle for resize updates\nmesh.userData.angle=angle;// Calculate circular position with precision rounding\nconst x=Math.round(laneRadius*Math.sin(angle)*1e3)/1e3;const y=100// All cards on same horizontal plane\n;const z=Math.round(laneRadius*Math.cos(angle)*1e3)/1e3;// Add depth offset for 3D perspective\nconst depthOffset=Math.cos(angle)*.1// Front cards closer, back cards farther\n;mesh.position.set(x,y,z+depthOffset);// Rotate cards to face circle center\nmesh.rotation.y=Math.PI/2+angle;// Store absolute original position for animations (before any transformations)\nmesh.userData.originalPosition=new THREE.Vector3(x,y,z+depthOffset);// Hit area removed - handle hover detection with card itself\n// Create label sprite (hidden by default)\nconst labelText=item?.text||\"\";const sprite=createTextSprite(labelText);sprite.position.set(0,cardHeight*.65,0);sprite.visible=false;sprite.raycast=()=>{};mesh.add(sprite);mesh.userData.labelSprite=sprite;group.add(mesh);cards.push(mesh);}const onResize=()=>{if(!container||!renderer||!camera)return;const{clientWidth,clientHeight}=container;// Only resize if dimensions actually changed\nif(renderer.domElement.width!==clientWidth||renderer.domElement.height!==clientHeight){renderer.setSize(clientWidth,clientHeight);camera.aspect=Math.max(clientWidth,1)/Math.max(clientHeight,1);camera.updateProjectionMatrix();if(groupRef.current){// Keep scale at 1.0 - radius calculation handles all sizing\ngroupRef.current.scale.setScalar(1);// Recalculate wheel radius and card ratio for new container size\nconst{radius:newRadius,cardSizeRatio:newCardSizeRatio}=calculateFrustumAndCardRatio();// Update card positions and scales with new radius/ratio\ngroupRef.current.children.forEach(child=>{if(child.userData.angle!==undefined&&child.userData.originalPosition){const angle=child.userData.angle;const x=Math.round(newRadius*Math.sin(angle)*1e3)/1e3;const z=Math.round(newRadius*Math.cos(angle)*1e3)/1e3;const depthOffset=Math.cos(angle)*.1;child.position.set(x,100,z+depthOffset);child.userData.originalPosition.set(x,100,z+depthOffset);}// Apply responsive scaling\nchild.scale.set(newCardSizeRatio,newCardSizeRatio,1);});}}};// Unified event handling system - no external scroll container needed\nconst setupUnifiedEventHandling=()=>{// Create minimal scroll content for mobile only\nconst isMobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);let mobileScrollContainer=null;if(isMobile){mobileScrollContainer=document.createElement(\"div\");mobileScrollContainer.style.cssText=`\n                    position: fixed;\n                    top: 0;\n                    left: 0;\n                    width: 100%;\n                    height: 100vh;\n                    overflow-y: auto;\n                    overflow-x: hidden;\n                    pointer-events: auto;\n                    z-index: 1;\n                    background: transparent;\n                    -webkit-overflow-scrolling: touch;\n                `;const scrollContent=document.createElement(\"div\");scrollContent.style.cssText=`\n                    width: 100%;\n                    height: 500vh;\n                    background: transparent;\n                    pointer-events: none;\n                `;mobileScrollContainer.appendChild(scrollContent);document.body.appendChild(mobileScrollContainer);mobileScrollContainer.lastScrollTop=0;mobileScrollContainer.totalScrollDistance=0;// Handle mobile scroll events with throttling\nlet lastScrollTime=0;const scrollThrottle=16// ~60fps\n;const handleMobileScroll=()=>{const now=Date.now();if(now-lastScrollTime<scrollThrottle)return;lastScrollTime=now;if(isAnimateMode)return;const scrollTop=mobileScrollContainer.scrollTop;const maxScroll=mobileScrollContainer.scrollHeight-mobileScrollContainer.clientHeight;// Get scroll state from container\nconst lastScrollTop=mobileScrollContainer.lastScrollTop||0;// Calculate scroll delta\nconst scrollDelta=scrollTop-lastScrollTop;// Handle infinite scroll - only forward direction\nif(scrollTop>=maxScroll*.99){// Reset to beginning to continue infinite scroll\nmobileScrollContainer.scrollTop=0;mobileScrollContainer.lastScrollTop=0;return;}// Handle normal scroll - mobile only, forward direction\nif(Math.abs(scrollDelta)>0){// Only handle forward scroll (downward)\nif(scrollDelta>0){// Calculate progress for this delta\nconst scrollScale=2e-4// Same as touch sensitivity\n;const deltaProgress=scrollDelta*scrollScale;// Update scroll progress incrementally\nconst newProgress=scrollProgressRef.current+deltaProgress;// Track when we complete a full rotation cycle\nif(newProgress>=1){rotationCountRef.current+=1;}// Keep scroll progress in 0-1 range\nscrollProgressRef.current=newProgress%1;}}mobileScrollContainer.lastScrollTop=scrollTop;};mobileScrollContainer.addEventListener(\"scroll\",handleMobileScroll,{passive:true});mobileScrollContainer.handleMobileScroll=handleMobileScroll;}let scrollTimeout;let touchStartY=0;let touchStartTime=0;let lastTouchY=0;// Unified wheel/touch handler with throttling\nlet lastScrollUpdate=0;const scrollUpdateThrottle=8// ~120fps for smoother scrolling\n;const handleUnifiedScroll=(deltaY,isTouch=false)=>{if(isAnimateMode)return;const now=Date.now();if(now-lastScrollUpdate<scrollUpdateThrottle)return;lastScrollUpdate=now;const scale=isTouch?2e-4:2e-4// Use same scale for consistency\n;// Update scroll progress with modulo to cycle 0-1, but track rotation count\nconst newProgress=scrollProgressRef.current+deltaY*scale;// Track when we complete a full rotation cycle\nif(newProgress>=1){rotationCountRef.current+=1;}else if(newProgress<0){rotationCountRef.current-=1;}// Keep scroll progress in 0-1 range while maintaining continuous wheel rotation\nscrollProgressRef.current=newProgress%1;if(scrollProgressRef.current<0){scrollProgressRef.current+=1;}clearTimeout(scrollTimeout);scrollTimeout=setTimeout(()=>{// Scroll timeout completed\n},150);};// Touch event handlers - only for non-mobile or when mobile scroll container is not available\nconst handleTouchStart=e=>{touchStartY=e.touches[0].clientY;touchStartTime=Date.now();lastTouchY=touchStartY;};const handleTouchMove=e=>{if(isAnimateMode)return;const currentY=e.touches[0].clientY;const deltaY=lastTouchY-currentY;lastTouchY=currentY;// Detect if this is a scroll gesture (vertical movement)\nconst timeDelta=Date.now()-touchStartTime;const distance=Math.abs(currentY-touchStartY);if(distance>10&&timeDelta>50){// Minimum threshold for scroll\n// On mobile, let the scroll container handle it\nif(!isMobile){handleUnifiedScroll(deltaY,true);}// Don't prevent default on mobile - let it scroll naturally\n}};const handleTouchEnd=()=>{// Touch ended\n};// Wheel event handler (desktop)\nconst handleWheel=e=>{if(isAnimateMode)return;// Check if we're over the canvas area\nconst rect=renderer.domElement.getBoundingClientRect();const isOverCanvas=e.clientX>=rect.left&&e.clientX<=rect.right&&e.clientY>=rect.top&&e.clientY<=rect.bottom;if(isOverCanvas){e.preventDefault()// Prevent page scroll\n;handleUnifiedScroll(e.deltaY,false);}};// Add event listeners to canvas\nrenderer.domElement.addEventListener(\"wheel\",handleWheel,{passive:false});renderer.domElement.addEventListener(\"touchstart\",handleTouchStart,{passive:true});renderer.domElement.addEventListener(\"touchmove\",handleTouchMove,{passive:true});renderer.domElement.addEventListener(\"touchend\",handleTouchEnd,{passive:true});// Return cleanup function\nreturn()=>{renderer.domElement.removeEventListener(\"wheel\",handleWheel);renderer.domElement.removeEventListener(\"touchstart\",handleTouchStart);renderer.domElement.removeEventListener(\"touchmove\",handleTouchMove);renderer.domElement.removeEventListener(\"touchend\",handleTouchEnd);clearTimeout(scrollTimeout);// Clean up mobile scroll container\nif(mobileScrollContainer&&mobileScrollContainer.parentNode){try{const handleMobileScroll=mobileScrollContainer.handleMobileScroll;if(handleMobileScroll){mobileScrollContainer.removeEventListener(\"scroll\",handleMobileScroll);}// Clear stored state\ndelete mobileScrollContainer.lastScrollTop;mobileScrollContainer.parentNode.removeChild(mobileScrollContainer);}catch(e){console.warn(\"Error cleaning up mobile scroll container:\",e);}}};};// Initialize canvas dimensions\nrequestAnimationFrame(()=>{onResize();});window.addEventListener(\"resize\",onResize);// Observe container size changes directly to reflect Framer layout edits\nif(resizeObserverRef.current){resizeObserverRef.current.disconnect();resizeObserverRef.current=null;}if(typeof ResizeObserver!==\"undefined\"&&container){resizeObserverRef.current=new ResizeObserver(()=>onResize());resizeObserverRef.current.observe(container);}// Setup unified event handling\nlet cleanupEventHandling=null;if(!isAnimateMode){cleanupEventHandling=setupUnifiedEventHandling();}const onPointerDown=event=>{isDraggingRef.current=true;dragStartXRef.current=event.clientX;startRotationRef.current=group.rotation.y;};const onPointerUp=()=>{isDraggingRef.current=false;};const onPointerLeave=()=>{isDraggingRef.current=false;// Clear hover state when leaving canvas\nhoverStateRef.current.currentCard=null;hoverStateRef.current.isHovering=false;setHovered(null)// ✅ Clear React state for UI update\n;hoveredRef.current=null;// Reset cursor to default when leaving canvas\nrenderer.domElement.style.cursor=\"default\";// Reset all card animations to default state\nanimationStatesRef.current.forEach(animState=>{animState.targetY=0;animState.targetScale=1;});};const onClick=()=>{// Use raycast to find clicked object\nraycaster.setFromCamera(pointerRef.current,camera);const groupIntersects=raycaster.intersectObjects(group.children,true);const hit=groupIntersects.length>0?groupIntersects[0].object:null;const targetCard=hit;if(targetCard&&targetCard.userData.link){const openInNewTab=targetCard.userData.openInNewTab!==false// default to true\n;window.open(targetCard.userData.link,openInNewTab?\"_blank\":\"_self\");}};// Handle pointer movement for hover and drag\nconst onPointerMoveCombined=event=>{// Update pointer position for raycast\nconst rect=renderer.domElement.getBoundingClientRect();const newX=(event.clientX-rect.left)/rect.width*2-1;const newY=-((event.clientY-rect.top)/rect.height*2-1);pointerRef.current.x=newX;pointerRef.current.y=newY;// Handle drag rotation\nif(isDraggingRef.current){const deltaX=event.clientX-dragStartXRef.current;const rotationDelta=deltaX/Math.max(container.clientWidth,1)*(Math.PI*2);group.rotation.y=startRotationRef.current+rotationDelta;}// Update cursor based on hover state\nconst raycaster=raycasterRef.current;if(raycaster){raycaster.setFromCamera(pointerRef.current,camera);const groupIntersects=raycaster.intersectObjects(group.children,true);const hit=groupIntersects.length>0?groupIntersects[0].object:null;const targetCard=hit;if(targetCard&&targetCard.userData.link){renderer.domElement.style.cursor=\"pointer\";}else{renderer.domElement.style.cursor=\"default\";}}};renderer.domElement.addEventListener(\"pointermove\",onPointerMoveCombined);renderer.domElement.addEventListener(\"pointerdown\",onPointerDown);renderer.domElement.addEventListener(\"pointerup\",onPointerUp);renderer.domElement.addEventListener(\"pointerleave\",onPointerLeave);renderer.domElement.addEventListener(\"click\",onClick);const animate=_time=>{animationFrameRef.current=requestAnimationFrame(animate);// Apply smooth scroll interpolation\nif(!isAnimateMode){// Calculate continuous rotation angle by combining scroll progress with rotation count\nconst targetRot=(scrollProgressRef.current+rotationCountRef.current)*Math.PI*2;// Smooth interpolation with damping factor\nconst dampingFactor=.1// Adjust for smoothness - lower = smoother but slower\n;currentScrollRef.current=smoothLerp(currentScrollRef.current,targetRot,dampingFactor);group.rotation.y=currentScrollRef.current;// Update scroll progress state for mobile\nif(isMobile&&!isAnimateMode){setScrollProgress(scrollProgressRef.current);}}else if(isAnimateMode&&!isDraggingRef.current){group.rotation.y+=-.2*Math.PI/180;}// Dynamic camera position based on mouse movement (X and Y) - only when pointer moves\nif(Math.abs(pointerRef.current.x)>.01||Math.abs(pointerRef.current.y)>.01){const baseY=camera.baseY||100;const baseZ=baseY;// Calculate target camera position with more dramatic effect\nconst targetX=-pointerRef.current.x*30// Much more dramatic left/right movement\n;const targetY=baseY+pointerRef.current.y*100// Much more dramatic up/down movement\n;const targetZ=baseZ+Math.abs(pointerRef.current.x)*30// Much more dramatic depth change\n;// Smooth camera movement using lerp (similar to easing.damp3)\nconst cameraLerpFactor=.08// Faster response\n;camera.position.x=smoothLerp(camera.position.x,targetX,cameraLerpFactor);camera.position.y=smoothLerp(camera.position.y,targetY,cameraLerpFactor);camera.position.z=smoothLerp(camera.position.z,targetZ,cameraLerpFactor);// Always look at center\ncamera.lookAt(0,0,0);}// Raycast for hover detection (like reference code but with raycast) - only when not in animate mode\nif(!isAnimateMode){const shouldRaycast=isDraggingRef.current||Math.abs(pointerRef.current.x)>.01||Math.abs(pointerRef.current.y)>.01;if(shouldRaycast){raycaster.setFromCamera(pointerRef.current,camera);const groupIntersects=raycaster.intersectObjects(group.children,true);const hit=groupIntersects.length>0?groupIntersects[0].object:null;const targetCard=hit;if(targetCard&&targetCard.userData.index!==hoveredStateRef.current){// Start hover on new card\nsetHovered(targetCard.userData.index);hoveredRef.current=targetCard;}else if(!targetCard&&hoveredStateRef.current!==null){// Clear hover\nsetHovered(null);hoveredRef.current=null;}}}// Apply smooth hover animations for cards\n// Only update cards that actually need animation\ngroup.children.forEach(child=>{if(child.userData.originalPosition&&child.userData.index!==undefined){const originalPos=child.userData.originalPosition;// Initialize animation state if needed\nif(!animationStatesRef.current.has(child)){animationStatesRef.current.set(child,{targetY:0,currentY:0,targetScale:1,currentScale:1});}const animState=animationStatesRef.current.get(child);// Set target values based on hover state - use both hovered state and hoveredRef (only in scroll mode)\nconst isHovered=!isAnimateMode&&(child.userData.index===hovered||child===hoveredRef.current);const newTargetY=isHovered?20:0;// Only update if target changed\nif(Math.abs(animState.targetY-newTargetY)>.01){animState.targetY=newTargetY;}// Apply smooth damping\nconst damping=.1;const deltaY=animState.targetY-animState.currentY;// Only update if there's significant change\nif(Math.abs(deltaY)>.01){animState.currentY+=deltaY*damping;// Update card position\nchild.position.set(originalPos.x,originalPos.y+animState.currentY,originalPos.z);}}});// Render the scene\nrenderer.render(scene,camera);};animate(0);// Set wheel as loaded after scene is built and animation starts\nsetWheelLoaded(true);// Cleanup\nreturn()=>{if(animationFrameRef.current!==null)cancelAnimationFrame(animationFrameRef.current);// Clear animation states\nanimationStatesRef.current.clear();loadingStatesRef.current.clear();window.removeEventListener(\"resize\",onResize);if(resizeObserverRef.current){resizeObserverRef.current.disconnect();resizeObserverRef.current=null;}// Clean up unified event handling\nif(cleanupEventHandling){cleanupEventHandling();}renderer.domElement.removeEventListener(\"pointermove\",onPointerMoveCombined);renderer.domElement.removeEventListener(\"pointerdown\",onPointerDown);renderer.domElement.removeEventListener(\"pointerup\",onPointerUp);renderer.domElement.removeEventListener(\"pointerleave\",onPointerLeave);renderer.domElement.removeEventListener(\"click\",onClick);// Dispose of geometries and materials with better error handling\ntry{// Dispose group children (cards)\ngroup.children.forEach(mesh=>{if(mesh.geometry){mesh.geometry.dispose();}const material=mesh.material;if(Array.isArray(material)){material.forEach(m=>{if(m&&m.dispose)m.dispose();});}else if(material&&material.dispose){material.dispose();}// Also clean up ShaderMaterial uniforms\nif(material&&material.uniforms){Object.values(material.uniforms).forEach(uniform=>{if(uniform&&uniform.value&&uniform.value.dispose){uniform.value.dispose();}});}});// Dispose scene children (other objects)\nscene.children.forEach(mesh=>{if(mesh.geometry){mesh.geometry.dispose();}const material=mesh.material;if(Array.isArray(material)){material.forEach(m=>{if(m&&m.dispose)m.dispose();});}else if(material&&material.dispose){material.dispose();}// Also clean up ShaderMaterial uniforms\nif(material&&material.uniforms){Object.values(material.uniforms).forEach(uniform=>{if(uniform&&uniform.value&&uniform.value.dispose){uniform.value.dispose();}});}});}catch(e){console.warn(\"Error disposing geometries/materials:\",e);}// Dispose textures\ntry{cachedTextureUsageRef.current.forEach((count,cacheKey)=>{releaseCachedTexture(cacheKey,count);});cachedTextureUsageRef.current.clear();texturesRef.current.forEach(texture=>{if(texture&&texture.dispose){texture.dispose();}});texturesRef.current=[];}catch(e){console.warn(\"Error disposing textures:\",e);}try{if(renderer&&renderer.dispose){renderer.dispose();}}catch(e){console.warn(\"Error disposing renderer:\",e);}rendererRef.current=null;// Clear container\ntry{while(container.firstChild){container.removeChild(container.firstChild);}}catch(e){console.warn(\"Error clearing container:\",e);}};},[multipliedItems,padding,cardWidth,cardHeight]);// Only rebuild scene when items, padding, or card size change (not on scroll)\nReact.useEffect(()=>{let cleanup;let cancelled=false;setWheelLoaded(false)// Reset wheel loaded state when rebuilding\n;rebuildScene().then(fn=>{if(!cancelled)cleanup=fn;});return()=>{cancelled=true;if(cleanup)cleanup();};// eslint-disable-next-line react-hooks/exhaustive-deps\n},[multipliedItems,padding,cardWidth,cardHeight])// Depend on multipliedItems, padding, card size (rebuildScene is stable)\n;// Check if component is in fixed sizing mode (Framer passes width: \"100%\", height: \"100%\")\nconst isFixedSize=style?.width===\"100%\"&&style?.height===\"100%\";return /*#__PURE__*/_jsxs(\"div\",{style:{...style,position:\"relative\",// Only apply minWidth/minHeight in auto-sizing (fit) mode\n...isFixedSize?{}:{minWidth:\"100px\",minHeight:\"100px\"}},children:[/*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{width:\"100%\",height:\"100%\",position:\"absolute\",top:\"50%\",left:\"50%\",transform:\"translate(-50%, -50%)\",// isolate canvas from parent layout (stack/grid) effects\ncontain:\"strict\",overflow:\"hidden\",backgroundColor:backgroundColor||\"#ffffff\"}}),!isMobile&&!isAnimateMode&&wheelLoaded&&/*#__PURE__*/_jsx(ActiveCard,{hovered:hovered,cardWidth:cardWidth,cardHeight:cardHeight,getMultipliedItems:getMultipliedItems,preview:preview})]});}const defaultItems=Array.from({length:10}).map((_,i)=>({mediaType:\"image\",image:`https://picsum.photos/seed/wheel_${i+1}/600/900`,text:`Item ${i+1}`,link:\"\",openInNewTab:true}));ImageWheel3D.defaultProps={items:defaultItems,cardWidth:1.2,cardHeight:1.8,padding:.2,control:false};ImageWheel3D.displayName=\"3dImageWheel\";addPropertyControls(ImageWheel3D,{control:{type:ControlType.Boolean,title:\"Effect\",enabledTitle:\"Animate\",disabledTitle:\"Scroll\",defaultValue:false},items:{type:ControlType.Array,title:\"Items\",control:{type:ControlType.Object,// Simple item title for Property Panel\nitemTitle:item=>{const mediaType=item?.mediaType||\"image\";const text=item?.text?.trim()||\"No title\";// Simple format: TYPE - Text\nreturn`${mediaType.toUpperCase()} - ${text}`;},controls:{// Media type selection\nmediaType:{type:ControlType.Enum,title:\"Media Type\",options:[\"image\",\"video\"],optionTitles:[\"Image\",\"Video\"],defaultValue:\"image\",description:\"Choose the type of media for this item\"},image:{type:ControlType.ResponsiveImage,title:\"Image\",hidden:props=>props.mediaType!==\"image\"},videoSource:{type:ControlType.Enum,title:\"Video Source\",options:[\"url\",\"upload\"],optionTitles:[\"URL\",\"Upload\"],defaultValue:\"url\",hidden:props=>props.mediaType!==\"video\"},videoUrl:{type:ControlType.String,title:\"Video URL\",placeholder:\"https://example.com/video.mp4\",description:\"Use a direct .mp4 link from a video hosting service such as Gumlet or Cloudflare R2.\",hidden:props=>props.mediaType!==\"video\"||props.videoSource!==\"url\"},videoUpload:{type:ControlType.File,title:\"Upload Video\",allowedFileTypes:[\"mp4\",\"webm\",\"mov\"],description:\"Upload a video file (MP4, WebM, MOV). Large files may impact loading time.\",hidden:props=>props.mediaType!==\"video\"||props.videoSource!==\"upload\"},posterImage:{type:ControlType.ResponsiveImage,title:\"Poster Image\",description:\"In most cases, the first frame of your video is automatically captured and used as the poster(card) image. However, when uploading a video via URL, poster generation may fail due to CORS restrictions. If this happens, please contact your video hosting provider or upload a poster image manually.\",hidden:props=>props.mediaType!==\"video\"},text:{type:ControlType.String,title:\"Title\",placeholder:\"Enter a title for this item\"},link:{type:ControlType.Link,title:\"Link (Optional)\",description:\"Make this item clickable with a link\"},openInNewTab:{type:ControlType.Boolean,title:\"Open Link in New Tab\",defaultValue:true,description:\"Open the link in a new browser tab\",hidden:props=>!props.link}}}},itemMultiplier:{type:ControlType.Number,title:\"Item Multiplier\",min:1,max:20,step:1},padding:{type:ControlType.Number,title:\"Padding\",min:0,max:1,step:.01,defaultValue:.2,description:\"Padding as a 0–1 fraction of the container size.\"},cardWidth:{type:ControlType.Number,title:\"Card Width\",min:10,max:3e3,step:1,defaultValue:100},cardHeight:{type:ControlType.Number,title:\"Card Height\",min:10,max:3e3,step:1,defaultValue:100},borderRadius:{type:ControlType.Number,title:\"Card Radius\",min:.01,max:.2,step:.01,defaultValue:.05},backgroundColor:{type:ControlType.Color,title:\"Background Color\"},preview:{type:ControlType.Object,title:\"Preview\",description:\"Explore more components at [THE DESIGN FUTURIST](https://thedesignfuturist.zip)\",hidden:props=>props.control===true,controls:{visibility:{type:ControlType.Boolean,title:\"Visibility\",defaultValue:true},width:{type:ControlType.Number,title:\"Width\",min:10,max:3e3,step:1,defaultValue:220},height:{type:ControlType.Number,title:\"Height\",min:10,max:3e3,step:1,defaultValue:330},position:{type:ControlType.Enum,title:\"Position\",options:[\"topleft\",\"topcenter\",\"topright\",\"center\",\"bottomleft\",\"bottomcenter\",\"bottomright\"],optionTitles:[\"Top Left\",\"Top Center\",\"Top Right\",\"Center\",\"Bottom Left\",\"Bottom Center\",\"Bottom Right\"],defaultValue:\"bottomleft\"},padding:{type:ControlType.Object,title:\"Padding\",controls:{top:{type:ControlType.Number,title:\"Top\",min:0,max:200,step:1,defaultValue:20},left:{type:ControlType.Number,title:\"Left\",min:0,max:200,step:1,defaultValue:20},bottom:{type:ControlType.Number,title:\"Bottom\",min:0,max:200,step:1,defaultValue:20},right:{type:ControlType.Number,title:\"Right\",min:0,max:200,step:1,defaultValue:20}}},titleVisibility:{type:ControlType.Boolean,title:\"Title Visibility\",defaultValue:true},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontFamily:\"Inter\",fontSize:15,fontWeight:\"400\",letterSpacing:\"0em\",lineHeight:\"1.3em\"}},color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#333333\"},textAlign:{type:ControlType.Enum,title:\"Text Align\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"left\"},gap:{type:ControlType.Number,title:\"Gap\",min:0,max:100,step:1,defaultValue:10}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ImageWheel3D\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"100\",\"framerIntrinsicHeight\":\"100\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Test.map"],"mappings":"4RAGG,SAAwB,EAAW,EAAM,CAAC,GAAK,CAAC,QAAM,EAAE,CAAC,OAAK,gBAAc,cAAY,eAAa,eAAa,gBAAc,gBAAc,iBAAe,kBAAgB,mBAAiB,gBAAc,iBAAe,kBAAgB,gBAAc,cAAW,gBAAa,EAAY,GAAGA,GAAO,CACpS,EAAmB,EAAM,UAAU,GAAM,EAAK,SAAS,GAAK,CAC7D,CAAC,EAAY,GAAgBC,EADoD,IAAqB,GAAsB,EAAnB,EACtD,CACxD,MAAc,CAAI,IAAqB,IAAI,EAAe,EAAmB,EAAI,CAAC,EAAmB,CAAC,CACtG,IAAM,GAAiB,EAAM,IAAO,CAAC,EAAe,EAAM,CAAI,IAAY,GAAY,EAAM,EAAK,EAAG,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,gBAAgB,EAAe,aAAa,EAAgB,QAAQ,EAAiB,eAAe,QAAQ,EAAc,KAAK,qBAAqB,QAAQ,EAAc,KAAK,QAAQ,cAAc,SAAS,OAAO,IAAI,EAAE,SAAS,WAC/W,MAAM,cAAc,CAAC,SAAS,EAAM,KAAK,EAAK,IAAQ,CAAC,IAAM,EAAS,I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