{"version":3,"file":"CMSProjectSlider.B3kidIPe.mjs","names":["useState","useRef","_Fragment"],"sources":["https:/framerusercontent.com/modules/xruqQGqXBH6kHOvfyg1A/p0flU6OyJA5PjUz8u8hM/CMSProjectSlider.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect,useRef}from\"react\";import{motion,useMotionValue,useAnimationFrame,useMotionValueEvent,useAnimation}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";const ARROW_ICONS={chevron:stroke=>/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:stroke,strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{width:\"60%\",height:\"60%\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M15 18l-6-6 6-6\"})}),arrow:stroke=>/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:stroke,strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{width:\"60%\",height:\"60%\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M19 12H5M12 19l-7-7 7-7\"})}),longArrow:stroke=>/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:stroke,strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{width:\"60%\",height:\"60%\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M21 12H3M9 18l-6-6 6-6\"})})};export default function CMSCarousel(props){const{children,displayType,autoPlay,interval,draggable,slideTransition,loop,itemsPerView,gap,paddingX,paddingY,align,direction,tickerSpeed,tickerDirection,pauseOnHover,showArrows,arrowStyle,arrowThickness,arrowSize,arrowPadding,arrowBgColor,arrowIconColor,arrowRadius,showDots,dotSize,dotGap,dotActiveColor,dotInactiveColor,dotContainerBg,dotContainerPadding,dotContainerRadius}=props;const[currentIndex,setCurrentIndex]=useState(0);const[totalItems,setTotalItems]=useState(0);const[containerSize,setContainerSize]=useState({w:1200,h:800});const containerRef=useRef(null);const trackRef=useRef(null);const isDraggingRef=useRef(false);const isHoveredRef=useRef(false);const isAnimatingRef=useRef(false);const physicalIndexRef=useRef(0);const controls=useAnimation();const tickerX=useMotionValue(0);const tickerY=useMotionValue(0);// 실시간 크기 측정\nuseEffect(()=>{if(!containerRef.current)return;const observer=new ResizeObserver(entries=>{for(let entry of entries){setContainerSize({w:entry.contentRect.width,h:entry.contentRect.height});}});observer.observe(containerRef.current);return()=>observer.disconnect();},[]);// CMS 아이템 개수 측정\nuseEffect(()=>{if(!trackRef.current||!children)return;const updateCount=()=>{const wrappers=Array.from(trackRef.current.children).filter(el=>el.tagName!==\"STYLE\");if(wrappers.length>0){const firstWrapper=wrappers[0];const count=firstWrapper.children?firstWrapper.children.length:0;if(count>0&&count!==totalItems){setTotalItems(count);}}};const observer=new MutationObserver(updateCount);observer.observe(trackRef.current,{childList:true,subtree:true});updateCount();return()=>observer.disconnect();},[children,totalItems]);// 반응형\nlet activeItems=itemsPerView;let activeGap=gap;let activePaddingX=paddingX;if(containerSize.w<768){activeItems=1;activeGap=Math.max(8,Math.floor(gap*.5));activePaddingX=Math.floor(paddingX*.5);}else if(containerSize.w<1100){activeItems=Math.min(2,itemsPerView);activeGap=Math.max(12,Math.floor(gap*.75));activePaddingX=Math.floor(paddingX*.75);}const isTicker=displayType===\"ticker\";const isVertical=direction===\"vertical\"&&!isTicker;const viewCount=displayType===\"slideshow\"?1:activeItems;const finalGap=displayType===\"slideshow\"?0:activeGap;const activePaddingY=displayType===\"slideshow\"?0:paddingY;const finalPaddingX=displayType===\"slideshow\"?0:activePaddingX;const trackLength=isVertical?containerSize.h-activePaddingY*2:containerSize.w-finalPaddingX*2;const itemPixels=(trackLength-finalGap*(viewCount-1))/viewCount;const stepSize=totalItems>0?itemPixels+finalGap:0;// 초기 위치 세팅\nuseEffect(()=>{if(totalItems===0||stepSize===0)return;if(isTicker)return;if(loop){physicalIndexRef.current=totalItems;controls.set({[isVertical?\"y\":\"x\"]:-(totalItems*stepSize)});}else{physicalIndexRef.current=0;controls.set({[isVertical?\"y\":\"x\"]:0});}setCurrentIndex(0);},[totalItems,stepSize,loop,isVertical,isTicker]);// 연속 스와이프 시 animation 중복 실행 방지\nconst moveToIndex=async targetIndex=>{if(totalItems===0||isAnimatingRef.current)return;isAnimatingRef.current=true;let finalIndex=targetIndex;if(!loop){finalIndex=Math.max(0,Math.min(targetIndex,totalItems-1));}const targetPosition=-(finalIndex*stepSize);// 패널에서 설정한 트랜지션 속성 적용\nawait controls.start({[isVertical?\"y\":\"x\"]:targetPosition,transition:slideTransition});// 무한루프 스냅 보정\nif(loop){if(finalIndex>=totalItems*2){finalIndex=finalIndex-totalItems;controls.set({[isVertical?\"y\":\"x\"]:-(finalIndex*stepSize)});}if(finalIndex<totalItems){finalIndex=finalIndex+totalItems;controls.set({[isVertical?\"y\":\"x\"]:-(finalIndex*stepSize)});}}physicalIndexRef.current=finalIndex;let logical=finalIndex%totalItems;if(logical<0)logical+=totalItems;setCurrentIndex(logical);isAnimatingRef.current=false;};const nextSlide=()=>{moveToIndex(physicalIndexRef.current+1);};const prevSlide=()=>{moveToIndex(physicalIndexRef.current-1);};// autoplay\nuseEffect(()=>{if(isTicker||!autoPlay||totalItems<=1)return;const timer=setInterval(()=>{if(isDraggingRef.current||isAnimatingRef.current)return;moveToIndex(physicalIndexRef.current+1);},interval*1e3);return()=>clearInterval(timer);},[isTicker,autoPlay,interval,totalItems,slideTransition]);// 스와이프 종료\nconst onDragEnd=(_,info)=>{isDraggingRef.current=false;if(isTicker)return;// animation 중 추가 입력 방지\nif(isAnimatingRef.current)return;const offset=isVertical?info.offset.y:info.offset.x;const velocity=isVertical?info.velocity.y:info.velocity.x;const threshold=50;const velocityThreshold=500;if(offset<-threshold||velocity<-velocityThreshold){nextSlide();}else if(offset>threshold||velocity>velocityThreshold){prevSlide();}else{moveToIndex(physicalIndexRef.current);}};// ticker loop\nuseMotionValueEvent(tickerX,\"change\",latest=>{if(!isTicker)return;const wrapDistance=totalItems*stepSize;if(tickerDirection===\"left\"&&latest<=-wrapDistance){tickerX.set(latest+wrapDistance);}if(tickerDirection===\"right\"&&latest>=0){tickerX.set(latest-wrapDistance);}});useMotionValueEvent(tickerY,\"change\",latest=>{if(!isTicker)return;const wrapDistance=totalItems*stepSize;if(tickerDirection===\"up\"&&latest<=-wrapDistance){tickerY.set(latest+wrapDistance);}if(tickerDirection===\"down\"&&latest>=0){tickerY.set(latest-wrapDistance);}});useAnimationFrame((t,delta)=>{if(!isTicker||isDraggingRef.current||pauseOnHover&&isHoveredRef.current||stepSize===0)return;const speedMultiplier=tickerSpeed/50*(delta/16.66);if(tickerDirection===\"left\")tickerX.set(tickerX.get()-speedMultiplier);if(tickerDirection===\"right\")tickerX.set(tickerX.get()+speedMultiplier);if(tickerDirection===\"up\")tickerY.set(tickerY.get()-speedMultiplier);if(tickerDirection===\"down\")tickerY.set(tickerY.get()+speedMultiplier);});const itemCSSSize=`calc((100% - ${(viewCount-1)*finalGap}px) / ${viewCount})`;if(!children){return /*#__PURE__*/_jsx(\"div\",{style:placeholderStyle,children:\"CMS 컬렉션을 연결해주세요.\"});}const renderContent=()=>{if(totalItems===0)return children;if(isTicker){return /*#__PURE__*/_jsxs(_Fragment,{children:[children,children]});}if(loop){return /*#__PURE__*/_jsxs(_Fragment,{children:[children,children,children]});}return children;};return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{...containerStyle,padding:`${activePaddingY}px ${finalPaddingX}px`},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .cms-track-wrapper {\n                    display: flex !important;\n                    flex-direction: ${isVertical?\"column\":\"row\"} !important;\n                    flex-wrap: nowrap !important;\n                    width: 100% !important;\n                    height: 100% !important;\n                    gap: ${finalGap}px !important;\n                    align-items: ${align===\"flex-start\"?\"flex-start\":align===\"flex-end\"?\"flex-end\":\"center\"} !important;\n                }\n\n                .cms-track-wrapper > div,\n                .cms-track-wrapper > ul {\n                    display: contents !important;\n                }\n\n                .cms-track-wrapper > div > *,\n                .cms-track-wrapper > ul > * {\n                    flex: 0 0 ${itemCSSSize} !important;\n                    width: ${isVertical?\"100%\":itemCSSSize} !important;\n                    height: ${isVertical?itemCSSSize:\"100%\"} !important;\n                    box-sizing: border-box !important;\n                    pointer-events: ${isDraggingRef.current?\"none\":\"auto\"} !important;\n                    user-select: none !important;\n                    overflow: hidden !important;\n                }\n\n                .cms-track-wrapper img,\n                .cms-track-wrapper a {\n                    -webkit-user-drag: none !important;\n                    user-select: none !important;\n                }\n            `}),/*#__PURE__*/_jsx(motion.div,{ref:trackRef,className:\"cms-track-wrapper\",drag:draggable&&!isTicker?isVertical?\"y\":\"x\":false,dragElastic:.08,dragMomentum:false,animate:controls,onDragStart:()=>{isDraggingRef.current=true;controls.stop();},onDragEnd:onDragEnd,onMouseEnter:()=>isHoveredRef.current=true,onMouseLeave:()=>isHoveredRef.current=false,style:isTicker?{x:tickerX,y:tickerY,cursor:draggable?\"grab\":\"default\"}:{cursor:draggable?\"grab\":\"default\"},children:renderContent()}),showArrows&&!isTicker&&totalItems>1&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"button\",{onClick:prevSlide,style:{...navBtnBase,left:20,width:arrowSize,height:arrowSize,backgroundColor:arrowBgColor,color:arrowIconColor,borderRadius:arrowRadius,padding:arrowPadding},children:/*#__PURE__*/_jsx(\"div\",{style:{...iconWrapper},children:ARROW_ICONS[arrowStyle](arrowThickness)})}),/*#__PURE__*/_jsx(\"button\",{onClick:nextSlide,style:{...navBtnBase,right:20,width:arrowSize,height:arrowSize,backgroundColor:arrowBgColor,color:arrowIconColor,borderRadius:arrowRadius,padding:arrowPadding},children:/*#__PURE__*/_jsx(\"div\",{style:{transform:\"rotate(180deg)\",...iconWrapper},children:ARROW_ICONS[arrowStyle](arrowThickness)})})]}),showDots&&!isTicker&&totalItems>1&&/*#__PURE__*/_jsx(\"div\",{style:{...dotContainerStyle,backgroundColor:dotContainerBg,padding:dotContainerPadding,borderRadius:dotContainerRadius,gap:dotGap},children:Array.from({length:totalItems}).map((_,i)=>/*#__PURE__*/_jsx(\"div\",{onClick:()=>moveToIndex(loop?i+totalItems:i),style:{...dotBase,width:dotSize,height:dotSize,backgroundColor:currentIndex===i?dotActiveColor:dotInactiveColor}},i))})]});}const containerStyle={width:\"100%\",height:\"100%\",position:\"relative\",overflow:\"hidden\"};const placeholderStyle={width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",backgroundColor:\"#f5f5f5\",color:\"#999\"};const navBtnBase={position:\"absolute\",top:\"50%\",transform:\"translateY(-50%)\",border:\"none\",cursor:\"pointer\",zIndex:10,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"opacity 0.2s\"};const iconWrapper={display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:\"100%\",height:\"100%\"};const dotContainerStyle={position:\"absolute\",bottom:20,left:\"50%\",transform:\"translateX(-50%)\",display:\"flex\",zIndex:10,alignItems:\"center\"};const dotBase={borderRadius:\"50%\",cursor:\"pointer\",transition:\"all 0.3s\"};addPropertyControls(CMSCarousel,{children:{type:ControlType.ComponentInstance,title:\"CMS 연결\"},displayType:{type:ControlType.Enum,title:\"디스플레이 타입\",options:[\"slideshow\",\"carousel\",\"ticker\"],optionTitles:[\"Slideshow (1장씩)\",\"Carousel (여러 장)\",\"Ticker (무한회전)\"],defaultValue:\"slideshow\"},direction:{type:ControlType.SegmentedEnum,title:\"스크롤 방향\",options:[\"horizontal\",\"vertical\"],defaultValue:\"horizontal\",hidden:props=>props.displayType===\"ticker\"},align:{type:ControlType.Enum,title:\"세로 정렬\",options:[\"flex-start\",\"center\",\"flex-end\"],defaultValue:\"center\",hidden:props=>props.displayType===\"ticker\"},loop:{type:ControlType.Boolean,title:\"무한 루프\",defaultValue:true,hidden:props=>props.displayType===\"ticker\"},autoPlay:{type:ControlType.Boolean,title:\"자동 재생\",defaultValue:false,hidden:props=>props.displayType===\"ticker\"},interval:{type:ControlType.Number,title:\"대기 시간(s)\",defaultValue:3,min:.5,hidden:props=>!props.autoPlay||props.displayType===\"ticker\"},slideTransition:{type:ControlType.Transition,title:\"애니메이션 전환\",defaultValue:{type:\"spring\",stiffness:300,damping:30},hidden:props=>props.displayType===\"ticker\"},draggable:{type:ControlType.Boolean,title:\"드래그(스와이프)\",defaultValue:true,hidden:props=>props.displayType===\"ticker\"},itemsPerView:{type:ControlType.Number,title:\"최대 표시 개수\",defaultValue:3,min:1,hidden:props=>props.displayType===\"slideshow\"},gap:{type:ControlType.Number,title:\"최대 간격 (Gap)\",defaultValue:20,hidden:props=>props.displayType===\"slideshow\"},paddingX:{type:ControlType.Number,title:\"최대 좌우 여백\",defaultValue:0,hidden:props=>props.displayType===\"slideshow\"},paddingY:{type:ControlType.Number,title:\"상하 여백\",defaultValue:0,hidden:props=>props.displayType===\"slideshow\"},tickerSpeed:{type:ControlType.Number,title:\"회전 속도\",defaultValue:40,min:1,max:200,hidden:props=>props.displayType!==\"ticker\"},tickerDirection:{type:ControlType.Enum,title:\"회전 방향\",options:[\"left\",\"right\",\"up\",\"down\"],defaultValue:\"left\",hidden:props=>props.displayType!==\"ticker\"},pauseOnHover:{type:ControlType.Boolean,title:\"마우스 오버시 정지\",defaultValue:true,hidden:props=>props.displayType!==\"ticker\"},showArrows:{type:ControlType.Boolean,title:\"화살표 표시\",defaultValue:true,hidden:props=>props.displayType===\"ticker\"},arrowStyle:{type:ControlType.Enum,title:\"↳ 스타일\",options:[\"chevron\",\"arrow\",\"longArrow\"],defaultValue:\"chevron\",hidden:props=>!props.showArrows||props.displayType===\"ticker\"},arrowThickness:{type:ControlType.Number,title:\"↳ 선 두께\",defaultValue:2,min:1,max:8,hidden:props=>!props.showArrows||props.displayType===\"ticker\"},arrowSize:{type:ControlType.Number,title:\"↳ 전체 크기\",defaultValue:48,hidden:props=>!props.showArrows||props.displayType===\"ticker\"},arrowPadding:{type:ControlType.Number,title:\"↳ 안쪽 여백\",defaultValue:10,hidden:props=>!props.showArrows||props.displayType===\"ticker\"},arrowRadius:{type:ControlType.Number,title:\"↳ 라운드\",defaultValue:40,hidden:props=>!props.showArrows||props.displayType===\"ticker\"},arrowBgColor:{type:ControlType.Color,title:\"↳ 배경 색상\",defaultValue:\"rgba(255,255,255,0.8)\",hidden:props=>!props.showArrows||props.displayType===\"ticker\"},arrowIconColor:{type:ControlType.Color,title:\"↳ 아이콘 색상\",defaultValue:\"#000\",hidden:props=>!props.showArrows||props.displayType===\"ticker\"},showDots:{type:ControlType.Boolean,title:\"점(Dots) 표시\",defaultValue:true,hidden:props=>props.displayType===\"ticker\"},dotSize:{type:ControlType.Number,title:\"↳ 점 크기\",defaultValue:8,hidden:props=>!props.showDots||props.displayType===\"ticker\"},dotGap:{type:ControlType.Number,title:\"↳ 점 간격\",defaultValue:10,hidden:props=>!props.showDots||props.displayType===\"ticker\"},dotActiveColor:{type:ControlType.Color,title:\"↳ 활성 색상\",defaultValue:\"#FFF\",hidden:props=>!props.showDots||props.displayType===\"ticker\"},dotInactiveColor:{type:ControlType.Color,title:\"↳ 비활성 색상\",defaultValue:\"rgba(255,255,255,0.3)\",hidden:props=>!props.showDots||props.displayType===\"ticker\"},dotContainerBg:{type:ControlType.Color,title:\"↳ 배경 박스 색상\",defaultValue:\"transparent\",hidden:props=>!props.showDots||props.displayType===\"ticker\"},dotContainerPadding:{type:ControlType.Number,title:\"↳ 박스 안쪽 여백\",defaultValue:10,hidden:props=>!props.showDots||props.displayType===\"ticker\"},dotContainerRadius:{type:ControlType.Number,title:\"↳ 박스 라운드\",defaultValue:20,hidden:props=>!props.showDots||props.displayType===\"ticker\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CMSCarousel\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingUR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