{"version":3,"file":"TaskCardsInfiniteCarousel.l4X_eUtX.mjs","names":["useState","useRef","_Fragment","useRef","_Fragment"],"sources":["https:/framerusercontent.com/modules/k2wuuxYk0HRcRbFAa1mc/a2qo1NZRTOoHmKtL8gzO/LaneTickerBottomDetection.js","https:/framerusercontent.com/modules/nSEWLApcZoIdHAIO6EMz/pawdT6Y5sUla4P5jDzCA/TaskCardsInfiniteCarousel.js"],"sourcesContent":["// Lane Ticker - SIMPLIFIED VERSION\n// Vertical only, no dragging - just make it work\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useRef,useState,useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";// ============================================================================\n// HELPER FUNCTIONS\n// ============================================================================\nconst createDefaultIcon=color=>{const svgString=`<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"20\" cy=\"20\" r=\"12\" fill=\"${color}\"/></svg>`;return`data:image/svg+xml,${encodeURIComponent(svgString)}`;};const shuffleArray=array=>{const shuffled=[...array];for(let i=shuffled.length-1;i>0;i--){const j=Math.floor(Math.random()*(i+1));[shuffled[i],shuffled[j]]=[shuffled[j],shuffled[i]];}return shuffled;};const LaneBox=({icon,boxSize,boxPadding,boxRadius,showDots,randomDotDelay,shouldShowDot,animationType})=>{const[showDot,setShowDot]=useState(false);const[isVisible,setIsVisible]=useState(false);const boxRef=useRef(null);// Show dot after delay when visible\nuseEffect(()=>{if(!showDots||!shouldShowDot)return;const observer=new IntersectionObserver(entries=>{entries.forEach(entry=>{setIsVisible(entry.isIntersecting);});},{threshold:.1});if(boxRef.current){observer.observe(boxRef.current);}return()=>observer.disconnect();},[showDots,shouldShowDot]);useEffect(()=>{if(!showDots||!shouldShowDot||!isVisible){setShowDot(false);return;}const timer=setTimeout(()=>{setShowDot(true);},randomDotDelay*1e3);return()=>clearTimeout(timer);},[isVisible,showDots,shouldShowDot,randomDotDelay]);const animationClass=animationType===\"wobble\"?\"wobble-hor-bottom\":animationType===\"vibrate\"?\"vibrate-1\":\"\";return /*#__PURE__*/_jsxs(\"div\",{ref:boxRef,className:animationClass,style:{position:\"relative\",overflow:\"visible\",width:boxSize,height:boxSize,userSelect:\"none\",flexShrink:0,padding:boxPadding,backgroundColor:\"white\",borderRadius:boxRadius,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",boxShadow:\"0 2px 8px rgba(0, 0, 0, 0.08)\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",backgroundImage:`url(${icon})`,backgroundSize:\"contain\",backgroundPosition:\"center\",backgroundRepeat:\"no-repeat\"}}),showDots&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:-5,right:-5,width:15,height:15,borderRadius:\"50%\",backgroundColor:\"#FF4444\",opacity:showDot?1:0,transition:\"opacity 0.2s ease\",pointerEvents:\"none\",boxShadow:\"0 2px 4px rgba(255, 68, 68, 0.3)\"}})]});};// Gap spacer component\nconst Gap=({size})=>/*#__PURE__*/_jsx(\"div\",{style:{width:size,height:size,flexShrink:0}});// ============================================================================\n// MAIN COMPONENT\n// ============================================================================\n/**\n * Lane Ticker - Simplified vertical scrolling\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function LaneTicker(props){const{boxes=[{icon:undefined},{icon:undefined},{icon:undefined},{icon:undefined},{icon:undefined}],boxSize=40,boxPadding=8,boxRadius=10,scrollDirection=\"forward\",speed=50,gap=15,randomize=false,showDots=true,dotDelay=.5,gapCount=0,itemDensity=100}=props;// Expand boxes based on density\nconst expandedBoxes=useState(()=>{const targetCount=Math.floor(boxes.length*itemDensity/100);const additionalCount=targetCount-boxes.length;if(additionalCount<=0)return boxes;const expanded=[...boxes];for(let i=0;i<additionalCount;i++){const randomBox=boxes[Math.floor(Math.random()*boxes.length)];const randomPosition=Math.floor(Math.random()*(expanded.length+1));expanded.splice(randomPosition,0,randomBox);}return expanded;})[0];// Randomize order\nconst[orderedBoxes]=useState(()=>randomize?shuffleArray(expandedBoxes):expandedBoxes);// Create items with gaps\nconst[itemsWithGaps]=useState(()=>{const colors=[\"#4285F4\",\"#EA4335\",\"#34A853\",\"#FBBC04\",\"#9333EA\",\"#EC4899\"];const items=orderedBoxes.map((box,index)=>{const rand=Math.random();const animationType=rand<.7?\"none\":rand<.85?\"wobble\":\"vibrate\";return{type:\"box\",icon:box.icon||createDefaultIcon(colors[index%colors.length]),randomDotDelay:Math.random()*dotDelay*2,shouldShowDot:Math.random()<.7,animationType};});// Insert random gaps\nlet gapsPlaced=0;let attempts=0;const maxAttempts=gapCount*50;while(gapsPlaced<gapCount&&attempts<maxAttempts){const randomPosition=Math.floor(Math.random()*(items.length-1))+1;const hasAdjacentGap=randomPosition>0&&items[randomPosition-1]?.type===\"gap\"||randomPosition<items.length&&items[randomPosition]?.type===\"gap\";const isAtEdge=randomPosition===0||randomPosition===items.length;if(!hasAdjacentGap&&!isAtEdge){items.splice(randomPosition,0,{type:\"gap\"});gapsPlaced++;}attempts++;}return items;});// Animation calculations\nconst totalItems=itemsWithGaps.length;const totalDistance=boxSize*totalItems+gap*(totalItems-1);const duration=totalDistance/speed;const animationName=useRef(`lane-${Math.random().toString(36).substr(2,9)}`);const animationDirection=scrollDirection===\"reverse\"?\"reverse\":\"normal\";return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .laneTicker .wobble-hor-bottom { \n                    animation: laneTicker-wobble-hor-bottom .8s both; \n                }\n                \n                .laneTicker .vibrate-1 { \n                    animation: laneTicker-vibrate-1 .3s linear infinite both; \n                }\n                \n                @keyframes laneTicker-wobble-hor-bottom { \n                    0%, 100% { transform: translateX(0%); transform-origin: 50% 50%; } \n                    15% { transform: translateX(-30px) rotate(-6deg); } \n                    30% { transform: translateX(15px) rotate(6deg); } \n                    45% { transform: translateX(-15px) rotate(-3.6deg); } \n                    60% { transform: translateX(9px) rotate(2.4deg); } \n                    75% { transform: translateX(-6px) rotate(-1.2deg); } \n                }\n                \n                @keyframes laneTicker-vibrate-1 { \n                    0% { transform: translate(0); } \n                    20% { transform: translate(-2px, 2px); } \n                    40% { transform: translate(-2px, -2px); } \n                    60% { transform: translate(2px, 2px); } \n                    80% { transform: translate(2px, -2px); } \n                    100% { transform: translate(0); } \n                }\n\n                @keyframes ${animationName.current} {\n                    0%   { translate: 0 -100%; }\n                    5%   { translate: 0 -90%; }\n                    10%  { translate: 0 -90%; }\n                    15%  { translate: 0 -80%; }\n                    20%  { translate: 0 -80%; }\n                    25%  { translate: 0 -70%; }\n                    30%  { translate: 0 -70%; }\n                    35%  { translate: 0 -60%; }\n                    40%  { translate: 0 -60%; }\n                    45%  { translate: 0 -50%; }\n                    50%  { translate: 0 -50%; }\n                    55%  { translate: 0 -40%; }\n                    60%  { translate: 0 -40%; }\n                    65%  { translate: 0 -30%; }\n                    70%  { translate: 0 -30%; }\n                    75%  { translate: 0 -20%; }\n                    80%  { translate: 0 -20%; }\n                    85%  { translate: 0 -10%; }\n                    90%  { translate: 0 -10%; }\n                    95%  { translate: 0 0; }\n                    100% { translate: 0 0; }\n                }\n            `}),/*#__PURE__*/_jsx(\"div\",{className:\"laneTicker\",style:{position:\"relative\",display:\"block\",overflow:\"hidden\",height:\"100%\",width:\"100%\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{// border: \"10px solid orange\",\noverflow:\"hidden\",height:\"100%\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",// border: \"1px solid lime\",\nalignItems:\"center\",padding:`0 ${gap/2}px ${gap}px ${gap/2}px`,flexDirection:\"column\",gap:`${gap}px`,animation:`${animationName.current} ${duration}s infinite linear`,animationDirection:animationDirection},children:itemsWithGaps.map((item,index)=>item.type===\"gap\"?/*#__PURE__*/_jsx(Gap,{size:boxSize},`gap-1-${index}`):/*#__PURE__*/_jsx(LaneBox,{icon:item.icon,boxSize:boxSize,boxPadding:boxPadding,boxRadius:boxRadius,showDots:showDots,randomDotDelay:item.randomDotDelay,shouldShowDot:item.shouldShowDot,animationType:item.animationType},`box-1-${index}`))}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",// border: \"1px solid lime\",\nalignItems:\"center\",padding:`0 ${gap/2}px ${gap}px ${gap/2}px`,flexDirection:\"column\",gap:`${gap}px`,animation:`${animationName.current} ${duration}s infinite linear`,animationDirection:animationDirection},children:itemsWithGaps.map((item,index)=>item.type===\"gap\"?/*#__PURE__*/_jsx(Gap,{size:boxSize},`gap-2-${index}`):/*#__PURE__*/_jsx(LaneBox,{icon:item.icon,boxSize:boxSize,boxPadding:boxPadding,boxRadius:boxRadius,showDots:showDots,randomDotDelay:item.randomDotDelay,shouldShowDot:item.shouldShowDot,animationType:item.animationType},`box-2-${index}`))})]})})]});}// ============================================================================\n// PROPERTY CONTROLS\n// ============================================================================\naddPropertyControls(LaneTicker,{boxes:{type:ControlType.Array,title:\"Boxes\",control:{type:ControlType.Object,controls:{icon:{type:ControlType.Image,title:\"Icon\"}}},defaultValue:[{icon:undefined},{icon:undefined},{icon:undefined},{icon:undefined},{icon:undefined}]},boxSize:{type:ControlType.Number,title:\"Box Size\",defaultValue:40,min:16,max:80,step:2,unit:\"px\"},boxPadding:{type:ControlType.Number,title:\"Box Padding\",defaultValue:8,min:0,max:20,step:1,unit:\"px\"},boxRadius:{type:ControlType.Number,title:\"Box Radius\",defaultValue:10,min:0,max:20,step:1,unit:\"px\"},scrollDirection:{type:ControlType.Enum,title:\"Scroll\",options:[\"forward\",\"reverse\"],optionTitles:[\"Forward\",\"Reverse\"],defaultValue:\"forward\",displaySegmentedControl:true},speed:{type:ControlType.Number,title:\"Speed\",defaultValue:50,min:10,max:200,step:5,unit:\"px/s\"},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:15,min:0,max:60,step:2,unit:\"px\"},gapCount:{type:ControlType.Number,title:\"Empty Spaces\",defaultValue:0,min:0,max:10,step:1,displayStepper:true},itemDensity:{type:ControlType.Number,title:\"Fill %\",defaultValue:100,min:100,max:300,step:10,unit:\"%\"},randomize:{type:ControlType.Boolean,title:\"Randomize Order\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"},showDots:{type:ControlType.Boolean,title:\"Show Dots\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"},dotDelay:{type:ControlType.Number,title:\"Max Dot Delay\",defaultValue:.5,min:0,max:3,step:.1,unit:\"s\",hidden:props=>!props.showDots}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LaneTicker\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LaneTickerBottomDetection.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";export default function InfiniteCarousel({cards,duration=25}){const carouselRef=useRef(null);// Calculate timing for each card step\nconst stepDuration=duration/cards.length;const transitionTime=stepDuration*.5// First half of each step\n;const pauseTime=stepDuration*.5// Second half of each step\n;useEffect(()=>{const carousel=carouselRef.current;if(!carousel)return;let animationFrameId;function updateSnappedCard(){const cardElements=carousel.querySelectorAll(\".carousel__slide\");const groups=carousel.querySelectorAll(\".inner_group\");// Calculate center based on the intended viewport (3 cards + 2 gaps)\nconst cardWidth=200// var(--cardWidth)\n;const gap=10// var(--gap)\n;const cardWidths=3*cardWidth;const gapWidths=2*gap;const visibleWidth=cardWidths+gapWidths;const viewportCenter=visibleWidth/2;let closestCard=null;let minDistance=Infinity;cardElements.forEach(card=>{const cardRect=card.getBoundingClientRect();const carouselRect=carousel.getBoundingClientRect();const cardCenter=cardRect.left-carouselRect.left+cardRect.width/2;const distance=Math.abs(cardCenter-viewportCenter);if(distance<minDistance){minDistance=distance;closestCard=card;}});cardElements.forEach(card=>card.classList.remove(\"snapped\"));groups.forEach(group=>group.classList.remove(\"snapped-first\",\"snapped-last\"));if(closestCard){closestCard.classList.add(\"snapped\");const parentGroup=closestCard.parentElement;const groupCards=Array.from(parentGroup.querySelectorAll(\".carousel__slide\"));if(closestCard===groupCards[0]){parentGroup.classList.add(\"snapped-first\");}if(closestCard===groupCards[groupCards.length-1]){parentGroup.classList.add(\"snapped-last\");}}}function animate(){updateSnappedCard();animationFrameId=requestAnimationFrame(animate);}animationFrameId=requestAnimationFrame(animate);return()=>{if(animationFrameId){cancelAnimationFrame(animationFrameId);}};},[]);const renderCard=(card,index)=>/*#__PURE__*/_jsx(\"div\",{className:\"carousel__slide\",children:/*#__PURE__*/_jsxs(\"div\",{className:`card ${card.priority}`,children:[/*#__PURE__*/_jsxs(\"header\",{children:[/*#__PURE__*/_jsx(\"div\",{className:\"title\",children:card.title}),/*#__PURE__*/_jsx(\"label\",{children:card.priority.charAt(0).toUpperCase()+card.priority.slice(1)})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"rows\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"row\",children:/*#__PURE__*/_jsx(\"div\",{className:\"thumb\"})}),/*#__PURE__*/_jsx(\"div\",{className:\"row\",children:/*#__PURE__*/_jsx(\"div\",{className:\"thumb\"})})]}),/*#__PURE__*/_jsxs(\"footer\",{children:[/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"30\",height:\"30\",fill:\"none\",children:[/*#__PURE__*/_jsx(\"path\",{fill:\"#62ccac\",d:\"M0 15C0 6.716 6.716 0 15 0s15 6.716 15 15-6.716 15-15 15S0 23.284 0 15\"}),/*#__PURE__*/_jsx(\"path\",{fill:\"transparent\",stroke:\"#fff\",strokeLinecap:\"round\",strokeLinejoin:\"round\",strokeWidth:\"2\",d:\"m20.167 11-7.334 7.333L9.5 15\"})]}),/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"30\",height:\"30\",fill:\"none\",children:[/*#__PURE__*/_jsx(\"path\",{fill:\"#d9d9d9\",d:\"M0 15C0 6.716 6.716 0 15 0s15 6.716 15 15-6.716 15-15 15S0 23.284 0 15\"}),/*#__PURE__*/_jsx(\"path\",{fill:\"#fff\",stroke:\"#d9d9d9\",strokeMiterlimit:\"10\",strokeWidth:\".5\",d:\"m17.127 15.335 4.172-4.172c.239-.24.371-.558.371-.896a1.26 1.26 0 0 0-.371-.896A1.26 1.26 0 0 0 20.403 9a1.26 1.26 0 0 0-.896.371l-4.172 4.172-4.172-4.172A1.26 1.26 0 0 0 10.267 9a1.26 1.26 0 0 0-.896.371 1.26 1.26 0 0 0-.371.896c0 .338.132.657.371.896l4.172 4.172-4.172 4.172a1.26 1.26 0 0 0-.371.896c0 .338.132.657.371.896.24.239.558.371.896.371s.656-.132.896-.371l4.172-4.172 4.172 4.172c.24.239.558.371.896.371s.656-.132.896-.371c.239-.24.371-.558.371-.896a1.26 1.26 0 0 0-.371-.896Z\"})]})]})]})},index);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n        :root {\n          --cardWidth: 200px;\n          --gap: 10px;\n          --animationDuration: ${duration}s;\n          --transitionDuration: ${transitionTime}s;\n        }\n        .carousel-wrapper {\n          width: 100%;\n        //   border: 3px solid lavender;\n          display: flex;\n          justify-content: center;\n          overflow: hidden;\n          padding-inline: var(--gap);\n        }\n        .carousel {\n          padding-block: var(--gap);\n          \n          width: calc(3 * var(--cardWidth) + (2 * var(--gap)));\n          display: grid;\n          grid-auto-flow: column;\n          scrollbar-width: none;\n        }\n        \n        .inner_group {\n          position: relative;\n          display: grid;\n          grid-auto-flow: column;\n          grid-auto-columns: var(--cardWidth);\n          gap: var(--gap);\n          padding-right: var(--gap);\n        //   border: 1px solid lime;\n          animation: spin var(--animationDuration) infinite cubic-bezier(0.25, 0.1, 0.25, 0.9);\n        }\n        \n        .inner_group .carousel__slide .card {\n          opacity: .5;\n          // transform: scale(0.95);\n        }\n        \n        .inner_group.snapped-first:has(~ .inner_group) ~ .inner_group:last-of-type .carousel__slide:last-child .card,\n        .inner_group .carousel__slide:has(+ .snapped) .card {\n          // opacity: 1;\n          // border: 1px solid lime;\n          animation: slide-out-bck-center var(--transitionDuration) cubic-bezier(0.55, 0.085, 0.68, 0.53) both;\n        }\n        \n        .inner_group .carousel__slide.snapped .card {\n          // border: 1px solid orange;\n          // transform: scale(0.95);\n          opacity: 1;\n          transform: scale(1.025);\n          // animation: currently-visible-card var(--transitionDuration) cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n        }\n        \n        .inner_group.snapped-last + .inner_group .carousel__slide:first-child .card,\n        .inner_group .carousel__slide.snapped + .carousel__slide .card {\n          // border: 1px solid lime;\n          // transform: scale(0.95);\n          opacity: .5;\n          animation: card-appear var(--transitionDuration) cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n        }\n        \n        .carousel__slide {\n          inline-size: var(--cardWidth);\n          block-size: var(--cardWidth);\n          display: grid;\n          align-items: stretch;\n          padding: 5px;\n        }\n        \n        .carousel {\n          overflow-x: auto;\n          overscroll-behavior-x: contain;\n          scroll-snap-type: x mandatory;\n        }\n        \n        .carousel__slide {\n          scroll-snap-align: center;\n        }\n        \n        .card {\n          --priorityColor: lime;\n          display: grid;\n          grid-template-rows: auto 1fr auto;\n          padding: 25px 15px 15px 15px;\n          gap: 15px;\n          position: relative;\n          background-color: white;\n          border: 1px solid #D9D5D1;\n          border-radius: 8px;\n          font-family: \"DM Sans\", system-ui, sans-serif;\n        }\n        \n        .card.high { --priorityColor: #FBCBCB; }\n        .card.medium { --priorityColor: #FFF690; }\n        .card.low { --priorityColor: #D9D9D9; }\n        \n        .card::after {\n          content: \" \";\n          width: 70px;\n          height: 5px;\n          position: absolute;\n          top: 0;\n          left: 15px;\n          background-color: var(--priorityColor);\n        }\n        \n        .card .title {\n          font-size: 16px;\n          font-weight: 600;\n          line-height: 1;\n          padding-bottom: 5px;\n        }\n        \n        .card label {\n          width: min-content;\n          padding: 4px 8px;\n          border-radius: 4px;\n          font-size: 12px;\n          font-weight: 600;\n          line-height: 1;\n          color: #5A5350;\n          background-color: var(--priorityColor);\n        }\n        \n        .card .row .thumb {\n          background-color: #F3F1EF;\n          border-radius: 10px;\n          width: 94%;\n          height: 10px;\n          display: inline-block;\n        }\n        \n        .card .row:nth-child(2) .thumb {\n          width: 68%;\n        }\n        \n        .card footer {\n          display: flex;\n          gap: 10px;\n        }\n        \n        @keyframes spin {\n            0%   { translate: 0 0; }\n            8.33%  { translate: calc((var(--cardWidth) + var(--gap)) * -1) 0; }\n            16.66% { translate: calc((var(--cardWidth) + var(--gap)) * -1) 0; }\n            25%    { translate: calc((var(--cardWidth) + var(--gap)) * -2) 0; }\n            33.33% { translate: calc((var(--cardWidth) + var(--gap)) * -2) 0; }\n            41.66% { translate: calc((var(--cardWidth) + var(--gap)) * -3) 0; }\n            50%    { translate: calc((var(--cardWidth) + var(--gap)) * -3) 0; }\n            58.33% { translate: calc((var(--cardWidth) + var(--gap)) * -4) 0; }\n            66.66% { translate: calc((var(--cardWidth) + var(--gap)) * -4) 0; }\n            75%    { translate: calc((var(--cardWidth) + var(--gap)) * -5) 0; }\n            83.33% { translate: calc((var(--cardWidth) + var(--gap)) * -5) 0; }\n            91.66% { translate: calc((var(--cardWidth) + var(--gap)) * -6) 0; }\n            100%   { translate: calc((var(--cardWidth) + var(--gap)) * -6) 0; }\n        }\n        \n        @keyframes slide-out-bck-center {\n          0% { \n            // transform: translateZ(0) scale(1);\n            transform: translateZ(0);\n            opacity: 1; \n          }\n          100% { \n            // transform: translateZ(-1100px) scale(0.95);\n            transform: translateZ(-1100px);\n            opacity: .5;\n          }\n        }\n        \n        @keyframes currently-visible-card {\n            0% {\n                transform: scale(1);\n            }\n            100% {\n                transform: scale(1.1);\n            }\n        }\n\n        @keyframes card-appear {\n            0% {\n                opacity: .5;\n                // transform: scale(0.95);\n                // transform: scale(0.95) translateY(10px);\n            }\n            100% {\n                opacity: 1;\n                // transform: scale(1) translateY(0);\n            }\n        }\n      `}),/*#__PURE__*/_jsx(\"div\",{className:\"carousel-wrapper\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"carousel carousel--inert\",ref:carouselRef,children:[/*#__PURE__*/_jsx(\"div\",{className:\"inner_group\",children:cards.map((card,index)=>renderCard(card,index))}),/*#__PURE__*/_jsx(\"div\",{className:\"inner_group\",children:cards.map((card,index)=>renderCard(card,`dup-${index}`))})]})})]});}// Default props for testing\nInfiniteCarousel.defaultProps={duration:25,cards:[{title:\"Send contract to Jake Thompson\",priority:\"high\"},{title:\"Reply to pricing questions from\",priority:\"medium\"},{title:\"Renew agreement with Microsoft\",priority:\"high\"},{title:\"Update CRM after call with IBM\",priority:\"low\"},{title:\"Follow up with Sarah on proposal\",priority:\"medium\"},{title:\"Schedule demo with Acme Corp\",priority:\"medium\"}]};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"InfiniteCarousel\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TaskCardsInfiniteCarousel.map"],"mappings":"iMAeG,SAAwB,EAAW,EAAM,CAAC,GAAK,CAAC,QAAM,CAAC,CAAC,KAAK,IAAA,GAAU,CAAC,CAAC,KAAK,IAAA,GAAU,CAAC,CAAC,KAAK,IAAA,GAAU,CAAC,CAAC,KAAK,IAAA,GAAU,CAAC,CAAC,KAAK,IAAA,GAAU,CAAC,CAAC,UAAQ,GAAG,aAAW,EAAE,YAAU,GAAG,kBAAgB,UAAU,QAAM,GAAG,MAAI,GAAG,YAAU,GAAM,WAAS,GAAK,WAAS,GAAG,WAAS,EAAE,cAAY,KAAK,EAC/R,EAAcA,MAAa,CAA4D,IAAM,EAA/C,KAAK,MAAM,EAAM,OAAO,EAAY,IAAI,CAAmC,EAAM,OAAO,GAAG,GAAiB,EAAE,OAAO,EAAM,IAAM,EAAS,CAAC,GAAG,EAAM,C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