{"version":3,"file":"CMSItemsTicker.DYN6aKEx.mjs","names":["useState","useRef","duplicatedContent"],"sources":["https:/framer.com/m/Utlis-SwIN.js@U9vmYX0zDZtz999aDBu4","https:/framerusercontent.com/modules/MEwNH2Jtzb5hmutaeYr3/XffSsuJlIcRteD3q8GAb/CMSItemsTicker.js"],"sourcesContent":["// new utils\nexport const findQueryInProps=obj=>{if(obj==null)return null;// Check if `query` exists in the current level\nif(obj.hasOwnProperty(\"query\"))return obj.query;// Iterate over the properties\nfor(let key in obj){if(obj.hasOwnProperty(key)&&typeof obj[key]===\"object\"){let result=findQueryInProps(obj[key]);if(result!==null)return result;}}// If `query` is not found\nreturn null;};export const updateQueryInProps=(obj,newQuery)=>{if(obj==null)return obj;// Check if `query` exists in the current level\nif(obj.hasOwnProperty(\"query\"))return{...obj,query:newQuery};// Iterate over the properties\nfor(let key in obj){if(obj.hasOwnProperty(key)&&typeof obj[key]===\"object\"){const updatedChild=updateQueryInProps(obj[key],newQuery);if(updatedChild!==obj[key]){return{...obj,[key]:updatedChild};}}}return obj;};export const findPropsBeforeQuery=obj=>{if(obj==null)return null;// Check if `query` exists in the current level\nif(obj.hasOwnProperty(\"query\"))return obj;// Iterate over the properties\nfor(let key in obj){if(obj.hasOwnProperty(key)&&typeof obj[key]===\"object\"){let result=findPropsBeforeQuery(obj[key]);if(result!==null)return result;}}// If `query` is not found\nreturn null;};\nexport const __FramerMetadata__ = {\"exports\":{\"findQueryInProps\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateQueryInProps\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"findPropsBeforeQuery\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Utlis.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget,// @ts-ignore\nuseQueryData}from\"framer\";import{cloneElement,useEffect,useRef,useState}from\"react\";import{findPropsBeforeQuery}from\"https://framer.com/m/Utlis-SwIN.js@U9vmYX0zDZtz999aDBu4\";/**\n * @framerDisableUnlink\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerIntrinsicWidth 600\n * @framerSupportedLayoutHeight any-prefer-auto\n */export default function CMSItemsTicker(props){const{collectionList,direction,speed,itemSpacing,draggable}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const clProps=!isCanvas?findPropsBeforeQuery(collectionList?.[0]?.props):undefined;const data=clProps?.query?useQueryData(clProps.query):[];const[renderedItems,setRenderedItems]=useState([]);const tickerRef=useRef(null);const containerRef=useRef(null);const dragStartTime=useRef(0);const dragStartPos=useRef({x:0,y:0});const currentTranslate=useRef(0);const isDragging=useRef(false);const animationFrame=useRef(null);const lastDragPosition=useRef(0);const startTime=useRef(Date.now());const singleContentSize=useRef(0);const wrapItem=(item,index)=>{return /*#__PURE__*/_jsx(\"div\",{style:{marginRight:direction===\"left\"||direction===\"right\"?itemSpacing:0,marginBottom:direction===\"up\"||direction===\"down\"?itemSpacing:0,display:direction===\"up\"||direction===\"down\"?\"block\":\"inline-block\",width:direction===\"up\"||direction===\"down\"?\"100%\":\"auto\",position:\"relative\",flexShrink:0},onDragStart:e=>e.preventDefault(),children:/*#__PURE__*/cloneElement(item,{style:{...item.props.style,userSelect:\"none\",WebkitUserSelect:\"none\",pointerEvents:isDragging.current?\"none\":\"auto\",width:\"100%\",height:\"100%\"},draggable:false})},index);};useEffect(()=>{if(data&&clProps?.children){const childrenData=clProps.children(data);const items=childrenData?.props?.children||[];if(Array.isArray(items)){const styledItems=items.map(wrapItem);setRenderedItems(styledItems);}else{setRenderedItems([]);}}else{setRenderedItems([]);}},[collectionList,direction,itemSpacing,data]);// Generate dummy items for canvas preview\nconst generateDummyItems=()=>{const items=[];const itemCount=8;for(let i=0;i<itemCount;i++){const baseWidth=120+i%3*40;items.push({id:i,title:`Item ${i+1}`,width:direction===\"up\"||direction===\"down\"?\"100%\":baseWidth});}return items;};// Calculate and create enough duplicates to fill the container\nconst createDuplicatedContent=()=>{if(!containerRef.current||renderedItems.length===0){return[...renderedItems,...renderedItems,...renderedItems,...renderedItems];}const containerSize=direction===\"left\"||direction===\"right\"?containerRef.current.offsetWidth:containerRef.current.offsetHeight;// Estimate content size and create enough duplicates\nconst estimatedItemSize=200;const estimatedContentSize=renderedItems.length*(estimatedItemSize+itemSpacing);const duplicatesNeeded=Math.ceil(containerSize*4/estimatedContentSize);const totalDuplicates=Math.max(duplicatesNeeded,4);const duplicatedContent=[];for(let i=0;i<totalDuplicates;i++){duplicatedContent.push(...renderedItems);}return duplicatedContent;};const handleMouseDown=e=>{if(!draggable)return;e.preventDefault();isDragging.current=false;dragStartTime.current=Date.now();dragStartPos.current={x:e.clientX,y:e.clientY};lastDragPosition.current=direction===\"left\"||direction===\"right\"?e.clientX:e.clientY;document.addEventListener(\"mousemove\",handleMouseMove);document.addEventListener(\"mouseup\",handleMouseUp);if(animationFrame.current){cancelAnimationFrame(animationFrame.current);}tickerRef.current.style.cursor=\"grabbing\";};const handleMouseMove=e=>{e.preventDefault();const currentPos=direction===\"left\"||direction===\"right\"?e.clientX:e.clientY;const dragDistance=Math.abs(currentPos-lastDragPosition.current);if(!isDragging.current&&dragDistance>5){isDragging.current=true;tickerRef.current.style.pointerEvents=\"none\";}if(isDragging.current){const delta=currentPos-lastDragPosition.current;currentTranslate.current+=delta;const transform=direction===\"left\"||direction===\"right\"?`translateX(${currentTranslate.current}px)`:`translateY(${currentTranslate.current}px)`;tickerRef.current.style.transform=transform;}lastDragPosition.current=currentPos;};const handleMouseUp=e=>{document.removeEventListener(\"mousemove\",handleMouseMove);document.removeEventListener(\"mouseup\",handleMouseUp);const timeDiff=Date.now()-dragStartTime.current;const clickThreshold=200;if(timeDiff<clickThreshold&&!isDragging.current){tickerRef.current.style.pointerEvents=\"auto\";}isDragging.current=false;tickerRef.current.style.cursor=\"grab\";tickerRef.current.style.pointerEvents=\"auto\";// Reset timing when resuming animation\nstartTime.current=Date.now();startAnimation();};const handleTouchStart=e=>{if(!draggable)return;e.preventDefault();isDragging.current=false;dragStartTime.current=Date.now();const touch=e.touches[0];dragStartPos.current={x:touch.clientX,y:touch.clientY};lastDragPosition.current=direction===\"left\"||direction===\"right\"?touch.clientX:touch.clientY;if(animationFrame.current){cancelAnimationFrame(animationFrame.current);}};const handleTouchMove=e=>{e.preventDefault();const touch=e.touches[0];const currentPos=direction===\"left\"||direction===\"right\"?touch.clientX:touch.clientY;const dragDistance=Math.abs(currentPos-lastDragPosition.current);if(!isDragging.current&&dragDistance>5){isDragging.current=true;tickerRef.current.style.pointerEvents=\"none\";}if(isDragging.current){const delta=currentPos-lastDragPosition.current;currentTranslate.current+=delta;const transform=direction===\"left\"||direction===\"right\"?`translateX(${currentTranslate.current}px)`:`translateY(${currentTranslate.current}px)`;tickerRef.current.style.transform=transform;}lastDragPosition.current=currentPos;};const handleTouchEnd=()=>{const timeDiff=Date.now()-dragStartTime.current;const clickThreshold=200;if(timeDiff<clickThreshold&&!isDragging.current){tickerRef.current.style.pointerEvents=\"auto\";}isDragging.current=false;tickerRef.current.style.pointerEvents=\"auto\";// Reset timing when resuming animation\nstartTime.current=Date.now();startAnimation();};const startAnimation=()=>{const animate=()=>{if(!isDragging.current&&tickerRef.current&&singleContentSize.current>0){// Use time-based animation instead of frame-based for consistency\nconst elapsed=Date.now()-startTime.current;const distance=elapsed*speed*.1%singleContentSize.current;let newTranslate;if(direction===\"left\"){newTranslate=-distance;}else if(direction===\"right\"){newTranslate=distance-singleContentSize.current;}else if(direction===\"up\"){newTranslate=-distance;}else if(direction===\"down\"){newTranslate=distance-singleContentSize.current;}currentTranslate.current=newTranslate;const transform=direction===\"left\"||direction===\"right\"?`translateX(${newTranslate}px)`:`translateY(${newTranslate}px)`;tickerRef.current.style.transform=transform;}animationFrame.current=requestAnimationFrame(animate);};animate();};// Calculate single content size and initialize\nuseEffect(()=>{if(renderedItems.length>0&&tickerRef.current&&containerRef.current){const timer=setTimeout(()=>{if(!tickerRef.current)return;// Calculate single content size more reliably\nconst totalChildren=tickerRef.current.children.length;const duplicateCount=Math.ceil(totalChildren/renderedItems.length);singleContentSize.current=direction===\"left\"||direction===\"right\"?Math.round(tickerRef.current.scrollWidth/duplicateCount):Math.round(tickerRef.current.scrollHeight/duplicateCount);// Set initial position for right/down directions\nif(direction===\"right\"||direction===\"down\"){currentTranslate.current=-singleContentSize.current;}else{currentTranslate.current=0;}// Reset start time\nstartTime.current=Date.now();startAnimation();},50);return()=>clearTimeout(timer);}},[renderedItems,direction,speed]);useEffect(()=>{// Reset timing when speed changes\nstartTime.current=Date.now();},[speed]);useEffect(()=>{return()=>{if(animationFrame.current){cancelAnimationFrame(animationFrame.current);}};},[]);const containerStyle={...props.style,overflow:\"visible\",whiteSpace:direction===\"up\"||direction===\"down\"?\"normal\":\"nowrap\"};const tickerStyle={display:direction===\"up\"||direction===\"down\"?\"block\":\"inline-flex\",alignItems:\"center\",cursor:draggable?\"grab\":\"default\",userSelect:\"none\",WebkitUserSelect:\"none\",touchAction:\"none\",willChange:\"transform\",position:\"relative\"};const duplicatedContent=createDuplicatedContent();// Check if collection is connected\nconst n=collectionList&&collectionList.length>0?1:0;return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:containerStyle,children:isCanvas?n===0?// Empty state when nothing connected\n/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",textAlign:\"center\",justifyContent:\"center\",height:\"100%\",backgroundColor:\"rgba(153, 102, 255, 0.1)\",padding:\"40px\",gap:\"12px\"},children:[/*#__PURE__*/_jsx(\"span\",{role:\"img\",\"aria-label\":\"icon\",style:{fontSize:\"32px\"},children:\"📰\"}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:0,fontSize:\"14px\",color:\"#96F\",fontWeight:600},children:\"CMS Items Ticker\"}),/*#__PURE__*/_jsx(\"p\",{style:{margin:\"4px 0 0 0\",fontSize:\"12px\",color:\"rgba(153, 102, 255, 0.7)\"},children:\"Connect to a CMS to begin\"})]})]}):// Preview with dummy items\n/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{style:{color:\"#594FEE\",fontSize:\"12px\",fontFamily:\"Arial, sans-serif\",textAlign:\"center\",marginBottom:\"16px\"},children:\"Preview to see the ticker in action\"}),/*#__PURE__*/_jsx(\"div\",{style:tickerStyle,children:(()=>{const dummyItems=generateDummyItems();return dummyItems.map((item,index)=>/*#__PURE__*/_jsx(\"div\",{style:{marginRight:direction===\"left\"||direction===\"right\"?`${itemSpacing}px`:0,marginBottom:direction===\"up\"||direction===\"down\"?`${itemSpacing}px`:0,display:direction===\"up\"||direction===\"down\"?\"block\":\"inline-block\",width:item.width,height:direction===\"up\"||direction===\"down\"?\"80px\":\"60px\",backgroundColor:\"rgba(153, 102, 255, 0.15)\",borderRadius:\"6px\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",fontSize:\"12px\",color:\"#594FEE\",fontWeight:\"500\",flexShrink:0},children:item.title},index));})()})]}):renderedItems.length>0?/*#__PURE__*/_jsx(\"div\",{ref:tickerRef,style:tickerStyle,onMouseDown:handleMouseDown,onTouchStart:handleTouchStart,onTouchMove:handleTouchMove,onTouchEnd:handleTouchEnd,children:duplicatedContent.map((item,index)=>/*#__PURE__*/_jsx(\"div\",{style:{marginRight:direction===\"left\"||direction===\"right\"?itemSpacing:0,marginBottom:direction===\"up\"||direction===\"down\"?itemSpacing:0,display:direction===\"up\"||direction===\"down\"?\"block\":\"inline-block\",width:direction===\"up\"||direction===\"down\"?\"100%\":\"auto\",position:\"relative\",flexShrink:0},children:item},index))}):/*#__PURE__*/_jsx(\"div\",{children:\"Segment\"})});}CMSItemsTicker.displayName=\"CMS Items Ticker\";addPropertyControls(CMSItemsTicker,{collectionList:{type:ControlType.ComponentInstance,description:\"Please ensure that the CMS item that you are connected to is vertically stacked and have a fixed width for the best results\"},direction:{type:ControlType.Enum,defaultValue:\"left\",options:[\"left\",\"right\",\"up\",\"down\"],optionTitles:[\"←\",\"→\",\"↑\",\"↓\"],displaySegmentedControl:true},speed:{type:ControlType.Number,defaultValue:1,min:0,max:30,displayStepper:true},itemSpacing:{type:ControlType.Number,defaultValue:20,min:0,description:\"v2.2 \\n[via SegmentUI](https://www.segmentUI.com)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CMSItemsTicker\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-auto\",\"framerIntrinsicWidth\":\"600\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"*\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CMSItemsTicker.map"],"mappings":"oVAMgO,EAAqB,GAAK,CAAC,GAAG,GAAK,KAAK,OAAO,KAC/Q,GAAG,EAAI,eAAe,QAAQ,CAAC,OAAO,EACtC,IAAI,IAAI,KAAO,EAAK,GAAG,EAAI,eAAe,EAAI,EAAE,OAAO,EAAI,IAAO,SAAS,CAAC,IAAI,EAAO,EAAqB,EAAI,GAAK,CAAC,GAAG,IAAS,KAAK,OAAO,EAC9I,OAAO,SCFJ,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,iBAAe,YAAU,QAAM,cAAY,aAAW,EAAY,EAAS,EAAa,SAAS,GAAG,EAAa,OAAa,EAAS,EAA0D,IAAA,GAAjD,EAAqB,IAAiB,IAAI,MAAM,CAAiB,EAAK,GAAS,MAAM,EAAa,EAAQ,MAAM,CAAC,EAAE,CAAM,CAAC,EAAc,GAAkBA,EAAS,EAAE,CAAC,CAAO,EAAUC,EAAO,KAAK,CAAO,EAAaA,EAAO,KAAK,CAAO,EAAcA,EAAO,EAAE,CAAO,EAAaA,EAAO,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,CAAO,E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