{"version":3,"file":"Social_Proof_Grid.CkMfb0PA.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","SVG","RichText","p","useState","useMemo","useRef","useCallback"],"sources":["https:/framerusercontent.com/modules/dplE0gKtguE7nkTokSIo/BAd6V5cIUAWdASW33HLI/mDBMCWM0p.js","https:/framerusercontent.com/modules/QL97r3sC6csYN0FbLk6p/CtgSRCU1lIPeFwfPd9lK/Social_Proof_Grid.js"],"sourcesContent":["// Generated by Framer (e999480)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,cx,Link,RichText,SVG,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={Z796C_UtB:{hover:true}};const serializationHash=\"framer-MRfZB\";const variantClassNames={Z796C_UtB:\"framer-v-1javj9y\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"Z796C_UtB\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Link,{href:\"https://www.producthunt.com/products/warp\",motionChild:true,nodeId:\"Z796C_UtB\",openInNewTab:true,scopeId:\"mDBMCWM0p\",children:/*#__PURE__*/_jsxs(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-1javj9y\",className,classNames)} framer-1jhesv9`,layoutDependency:layoutDependency,layoutId:\"Z796C_UtB\",ref:refBinding,style:{opacity:1,...style},variants:{\"Z796C_UtB-hover\":{opacity:.51}},children:[/*#__PURE__*/_jsx(SVG,{className:\"framer-bf9c9p\",\"data-framer-name\":\"svgexport-1 (2) 1\",layout:\"position\",layoutDependency:layoutDependency,layoutId:\"HzXFtpt4a\",opacity:1,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 20 20\"><g><path d=\"M 0 20 L 0 0 L 20 0 L 20 20 Z\" fill=\"transparent\"></path><path d=\"M 20 10 C 20 15.523 15.523 20 10 20 C 4.477 20 0 15.523 0 10 C 0 4.477 4.477 0 10 0 C 15.523 0 20 4.477 20 10 Z\" fill=\"rgb(255, 97, 84)\"></path><path d=\"M 11.334 10 L 8.5 10 L 8.5 7 L 11.334 7 C 11.731 7 12.113 7.158 12.394 7.439 C 12.675 7.721 12.834 8.102 12.834 8.5 C 12.834 8.898 12.675 9.279 12.394 9.561 C 12.113 9.842 11.731 10 11.334 10 Z M 11.334 5 L 6.5 5 L 6.5 15 L 8.5 15 L 8.5 12 L 11.334 12 C 12.262 12 13.152 11.631 13.808 10.975 C 14.465 10.319 14.834 9.428 14.834 8.5 C 14.834 7.572 14.465 6.681 13.808 6.025 C 13.152 5.369 12.262 5 11.334 5 Z\" fill=\"rgb(255,255,255)\"></path></g></svg>',svgContentId:9478597558,withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7TWF0dGVyIFJlZ3VsYXI=\",\"--framer-font-family\":'\"Matter Regular\", \"Matter Regular Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-letter-spacing\":\"-0.2px\",\"--framer-line-height\":\"28px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgba(250, 249, 246, 0.7))\"},children:\"4.8\"})}),className:\"framer-16t3hph\",\"data-framer-name\":\"4.8\",fonts:[\"CUSTOMV2;Matter Regular\"],layoutDependency:layoutDependency,layoutId:\"Y9p20U9Ig\",style:{\"--extracted-r6o4lv\":\"rgba(250, 249, 246, 0.7)\",\"--framer-paragraph-spacing\":\"0px\"},variants:{\"Z796C_UtB-hover\":{\"--extracted-r6o4lv\":\"rgba(255, 255, 255, 0.7)\"}},verticalAlignment:\"center\",withExternalLayout:true,...addPropertyOverrides({\"Z796C_UtB-hover\":{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7TWF0dGVyIFJlZ3VsYXI=\",\"--framer-font-family\":'\"Matter Regular\", \"Matter Regular Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-letter-spacing\":\"-0.2px\",\"--framer-line-height\":\"28px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgba(255, 255, 255, 0.7))\"},children:\"4.8\"})})}},baseVariant,gestureVariant)}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-14cilta\",layoutDependency:layoutDependency,layoutId:\"c7RfHsl7l\",children:[/*#__PURE__*/_jsx(SVG,{className:\"framer-cigiw7\",layoutDependency:layoutDependency,layoutId:\"F0xW9lYqt\",requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 19 18\" overflow=\"visible\"><path d=\"M 9.5 0 L 11.651 6.41 C 11.719 6.615 11.911 6.753 12.127 6.753 L 19 6.753 L 13.408 10.815 C 13.323 10.876 13.26 10.963 13.228 11.063 C 13.195 11.163 13.195 11.27 13.228 11.369 L 15.379 18 L 9.795 13.947 C 9.71 13.884 9.606 13.851 9.5 13.851 C 9.394 13.851 9.29 13.884 9.204 13.947 L 3.621 18 L 5.772 11.369 L 5.772 11.369 C 5.839 11.165 5.766 10.941 5.592 10.815 L 0 6.753 L 6.873 6.753 C 6.978 6.753 7.081 6.72 7.167 6.658 C 7.252 6.597 7.316 6.51 7.349 6.41 Z\" fill=\"rgb(255, 219, 61)\"></path></svg>',withExternalLayout:true}),/*#__PURE__*/_jsx(SVG,{className:\"framer-1xqh1z1\",layoutDependency:layoutDependency,layoutId:\"zCjFf26gq\",requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 19 18\" overflow=\"visible\"><path d=\"M 9.5 0 L 11.651 6.41 C 11.719 6.615 11.911 6.753 12.127 6.753 L 19 6.753 L 13.408 10.815 C 13.323 10.876 13.26 10.963 13.228 11.063 C 13.195 11.163 13.195 11.27 13.228 11.369 L 15.379 18 L 9.795 13.947 C 9.71 13.884 9.606 13.851 9.5 13.851 C 9.394 13.851 9.29 13.884 9.204 13.947 L 3.621 18 L 5.772 11.369 L 5.772 11.369 C 5.839 11.165 5.766 10.941 5.592 10.815 L 0 6.753 L 6.873 6.753 C 6.978 6.753 7.081 6.72 7.167 6.658 C 7.252 6.597 7.316 6.51 7.349 6.41 Z\" fill=\"rgb(255, 219, 61)\"></path></svg>',withExternalLayout:true}),/*#__PURE__*/_jsx(SVG,{className:\"framer-1uslpcz\",layoutDependency:layoutDependency,layoutId:\"rYODLNLkJ\",requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 19 18\" overflow=\"visible\"><path d=\"M 9.5 0 L 11.651 6.41 C 11.719 6.615 11.911 6.753 12.127 6.753 L 19 6.753 L 13.408 10.815 C 13.323 10.876 13.26 10.963 13.228 11.063 C 13.195 11.163 13.195 11.27 13.228 11.369 L 15.379 18 L 9.795 13.947 C 9.71 13.884 9.606 13.851 9.5 13.851 C 9.394 13.851 9.29 13.884 9.204 13.947 L 3.621 18 L 5.772 11.369 L 5.772 11.369 C 5.839 11.165 5.766 10.941 5.592 10.815 L 0 6.753 L 6.873 6.753 C 6.978 6.753 7.081 6.72 7.167 6.658 C 7.252 6.597 7.316 6.51 7.349 6.41 Z\" fill=\"rgb(255, 219, 61)\"></path></svg>',withExternalLayout:true}),/*#__PURE__*/_jsx(SVG,{className:\"framer-1gmmcc1\",layoutDependency:layoutDependency,layoutId:\"RL9cyhZCn\",requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 19 18\" overflow=\"visible\"><path d=\"M 9.5 0 L 11.651 6.41 C 11.719 6.615 11.911 6.753 12.127 6.753 L 19 6.753 L 13.408 10.815 C 13.323 10.876 13.26 10.963 13.228 11.063 C 13.195 11.163 13.195 11.27 13.228 11.369 L 15.379 18 L 9.795 13.947 C 9.71 13.884 9.606 13.851 9.5 13.851 C 9.394 13.851 9.29 13.884 9.204 13.947 L 3.621 18 L 5.772 11.369 L 5.772 11.369 C 5.839 11.165 5.766 10.941 5.592 10.815 L 0 6.753 L 6.873 6.753 C 6.978 6.753 7.081 6.72 7.167 6.658 C 7.252 6.597 7.316 6.51 7.349 6.41 Z\" fill=\"rgb(255, 219, 61)\"></path></svg>',withExternalLayout:true}),/*#__PURE__*/_jsx(SVG,{className:\"framer-1yq8bor\",layoutDependency:layoutDependency,layoutId:\"sYw_krheN\",requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 19 18\" overflow=\"visible\"><path d=\"M 9.5 0 L 11.651 6.41 C 11.719 6.615 11.911 6.753 12.127 6.753 L 19 6.753 L 13.408 10.815 C 13.323 10.876 13.26 10.963 13.228 11.063 C 13.195 11.163 13.195 11.27 13.228 11.369 L 15.379 18 L 9.795 13.947 C 9.71 13.884 9.606 13.851 9.5 13.851 C 9.394 13.851 9.29 13.884 9.204 13.947 L 3.621 18 L 5.772 11.369 L 5.772 11.369 C 5.839 11.165 5.766 10.941 5.592 10.815 L 0 6.753 L 6.873 6.753 C 6.978 6.753 7.081 6.72 7.167 6.658 C 7.252 6.597 7.316 6.51 7.349 6.41 Z\" fill=\"rgb(255, 219, 61)\"></path></svg>',withExternalLayout:true})]})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-MRfZB.framer-1jhesv9, .framer-MRfZB .framer-1jhesv9 { display: block; }\",\".framer-MRfZB.framer-1javj9y { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px; height: min-content; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; text-decoration: none; width: min-content; }\",\".framer-MRfZB .framer-bf9c9p { flex: none; height: 20px; position: relative; width: 20px; }\",\".framer-MRfZB .framer-16t3hph { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-MRfZB .framer-14cilta { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 3px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; width: min-content; }\",\".framer-MRfZB .framer-cigiw7, .framer-MRfZB .framer-1xqh1z1, .framer-MRfZB .framer-1uslpcz, .framer-MRfZB .framer-1gmmcc1, .framer-MRfZB .framer-1yq8bor { height: 18px; position: relative; width: 19px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 28\n * @framerIntrinsicWidth 168\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"A6mf4r1db\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramermDBMCWM0p=withCSS(Component,css,\"framer-MRfZB\");export default FramermDBMCWM0p;FramermDBMCWM0p.displayName=\"PH-Chip\";FramermDBMCWM0p.defaultProps={height:28,width:168};addFonts(FramermDBMCWM0p,[{explicitInter:true,fonts:[{cssFamilyName:\"Matter Regular\",source:\"custom\",style:\"normal\",uiFamilyName:\"Matter\",url:\"https://framerusercontent.com/assets/1GMD2UigoZKzfizwAt9SlFkSoU.woff2\",weight:\"400\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramermDBMCWM0p\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"A6mf4r1db\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerColorSyntax\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicWidth\":\"168\",\"framerIntrinsicHeight\":\"28\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./mDBMCWM0p.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useCallback,useEffect,useMemo,useRef,useState}from\"react\";function extractTweetInfo(url){const m=url.match(/(?:twitter\\.com|x\\.com)\\/(\\w+)\\/status\\/(\\d+)/);if(!m)return null;return{username:m[1],id:m[2]};}async function fetchTweet(info,translateToEn){try{const langSuffix=translateToEn?\"/en\":\"\";const res=await fetch(`https://api.fxtwitter.com/${info.username}/status/${info.id}${langSuffix}`);if(!res.ok)return null;const json=await res.json();const t=json.tweet;if(!t)return null;const text=t.translation?.text??t.text??\"\";return{name:t.author?.name??\"Unknown\",handle:`@${t.author?.screen_name??info.username}`,text,avatarUrl:t.author?.avatar_url??\"\",tweetUrl:t.url??`https://x.com/${info.username}/status/${info.id}`};}catch{return null;}}// -- Helpers ----------------------------------------------------------------\nfunction highlightMentions(text,accent){const parts=text.split(/(@\\w+|https?:\\/\\/\\S+)/g);return parts.map((p,i)=>p.startsWith(\"@\")||p.startsWith(\"http\")?/*#__PURE__*/_jsx(\"span\",{style:{color:accent},children:p},i):p);}function pickRandom(max,count){const arr=Array.from({length:max},(_,i)=>i);for(let i=arr.length-1;i>0;i--){const j=Math.floor(Math.random()*(i+1));[arr[i],arr[j]]=[arr[j],arr[i]];}return arr.slice(0,count);}// -- Hooks ------------------------------------------------------------------\nfunction useIsMobile(breakpoint=640){const[mobile,setMobile]=useState(false);useEffect(()=>{if(typeof window===\"undefined\")return;const mq=window.matchMedia(`(max-width: ${breakpoint-1}px)`);setMobile(mq.matches);const handler=e=>setMobile(e.matches);mq.addEventListener(\"change\",handler);return()=>mq.removeEventListener(\"change\",handler);},[breakpoint]);return mobile;}// -- Sub-components ---------------------------------------------------------\nfunction TweetCard({tweet,accentColor,cardBg,cardBorder,textColor,textSecondaryColor,hoverOpacity,hoverTransition}){const[isHovered,setIsHovered]=useState(false);const card=/*#__PURE__*/_jsxs(\"figure\",{style:{...styles.card,backgroundColor:cardBg,border:cardBorder,opacity:isHovered?hoverOpacity:1,transition:`opacity ${hoverTransition}s ease`},children:[/*#__PURE__*/_jsxs(\"figcaption\",{style:styles.cardHeader,children:[/*#__PURE__*/_jsx(\"div\",{style:{...styles.avatar,...tweet.avatarUrl?{}:{backgroundColor:accentColor}},children:tweet.avatarUrl?/*#__PURE__*/_jsx(\"img\",{src:tweet.avatarUrl,alt:tweet.name,style:styles.avatarImg}):/*#__PURE__*/_jsx(\"span\",{style:styles.avatarInitial,children:tweet.name.charAt(0).toUpperCase()})}),/*#__PURE__*/_jsxs(\"div\",{style:{minWidth:0},children:[/*#__PURE__*/_jsx(\"p\",{style:{...styles.name,color:textColor},children:tweet.name}),/*#__PURE__*/_jsx(\"p\",{style:{...styles.handle,color:textSecondaryColor},children:tweet.handle})]})]}),/*#__PURE__*/_jsx(\"blockquote\",{style:{...styles.quote,color:textColor},children:/*#__PURE__*/_jsx(\"p\",{style:styles.quoteText,children:highlightMentions(tweet.text,accentColor)})})]});return /*#__PURE__*/_jsx(\"a\",{href:tweet.tweetUrl,target:\"_blank\",rel:\"noopener noreferrer\",style:styles.cardLink,onMouseEnter:()=>setIsHovered(true),onMouseLeave:()=>setIsHovered(false),children:card});}function LoadingSkeleton({cardBg,cardBorder}){return /*#__PURE__*/_jsx(\"div\",{style:{...styles.card,backgroundColor:cardBg,border:cardBorder,minHeight:140,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",opacity:.5},children:/*#__PURE__*/_jsx(\"div\",{style:styles.spinner})});}// -- Main component ---------------------------------------------------------\nexport default function SocialProofTweetGrid(props){const{tweetUrls,autoTranslate,visibleCount:visibleCountProp,minInterval,maxInterval,accentColor,cardBg,cardBorder,textColor,textSecondaryColor,backgroundColor,hoverOpacity,hoverTransition,style}=props;const isMobile=useIsMobile();const tweetInfos=useMemo(()=>{return tweetUrls.split(\"\\n\").map(l=>l.trim()).filter(Boolean).map(extractTweetInfo).filter(info=>info!==null);},[tweetUrls]);const[tweets,setTweets]=useState([]);const[loading,setLoading]=useState(false);const fetchedKeyRef=useRef(\"\");useEffect(()=>{const key=tweetInfos.map(i=>i.id).join(\",\");if(key===fetchedKeyRef.current)return;fetchedKeyRef.current=key;if(tweetInfos.length===0){setTweets([]);return;}let cancelled=false;setLoading(true);Promise.allSettled(tweetInfos.map(info=>fetchTweet(info,autoTranslate))).then(results=>{if(cancelled)return;const fetched=results.map(r=>r.status===\"fulfilled\"?r.value:null).filter(t=>t!==null);setTweets(fetched);setLoading(false);});return()=>{cancelled=true;};},[tweetInfos,autoTranslate]);const visibleCount=Math.min(visibleCountProp,tweets.length);const[slots,setSlots]=useState([]);const reserveRef=useRef([]);const[fadingSlot,setFadingSlot]=useState(null);useEffect(()=>{if(tweets.length===0){setSlots([]);return;}setSlots(pickRandom(tweets.length,Math.min(visibleCountProp,tweets.length)));},[tweets.length,visibleCountProp]);useEffect(()=>{const vis=new Set(slots);reserveRef.current=tweets.map((_,i)=>i).filter(i=>!vis.has(i));},[slots,tweets]);const swap=useCallback(()=>{if(reserveRef.current.length===0||visibleCount===0)return;const slotIdx=Math.floor(Math.random()*visibleCount);setFadingSlot(slotIdx);setTimeout(()=>{setSlots(prev=>{const reserve=reserveRef.current;if(reserve.length===0)return prev;const ri=Math.floor(Math.random()*reserve.length);const newIdx=reserve[ri];const oldIdx=prev[slotIdx];reserve.splice(ri,1);reserve.push(oldIdx);const next=[...prev];next[slotIdx]=newIdx;return next;});setFadingSlot(null);},400);},[visibleCount]);useEffect(()=>{if(tweets.length<=visibleCount||visibleCount===0)return;function scheduleNext(){const delay=minInterval+Math.random()*(maxInterval-minInterval);return setTimeout(()=>{swap();timer.current=scheduleNext();},delay);}const timer={current:scheduleNext()};return()=>clearTimeout(timer.current);},[swap,tweets.length,visibleCount,minInterval,maxInterval]);if(loading&&tweets.length===0){const n=visibleCountProp;const skeletonCols=[[],[],[]];Array.from({length:n}).forEach((_,i)=>skeletonCols[i%3].push(i));return /*#__PURE__*/_jsx(\"div\",{style:{...styles.wrapper,...style},children:isMobile?/*#__PURE__*/_jsx(\"div\",{style:styles.mobileList,children:Array.from({length:n}).map((_,i)=>/*#__PURE__*/_jsx(LoadingSkeleton,{cardBg:cardBg,cardBorder:cardBorder},i))}):/*#__PURE__*/_jsx(\"div\",{style:styles.grid,children:skeletonCols.map((col,ci)=>/*#__PURE__*/_jsx(\"div\",{style:styles.column,children:col.map(i=>/*#__PURE__*/_jsx(LoadingSkeleton,{cardBg:cardBg,cardBorder:cardBorder},i))},ci))})});}if(tweets.length===0){return /*#__PURE__*/_jsx(\"div\",{style:{...styles.wrapper,...style,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",minHeight:200,color:textSecondaryColor,fontSize:14},children:\"Paste tweet URLs in the property panel to populate the grid.\"});}const columns=[[],[],[]];slots.forEach((itemIdx,slotIdx)=>{columns[slotIdx%3].push({itemIdx,slotIdx});});const renderCard=(itemIdx,slotIdx)=>{const tweet=tweets[itemIdx];if(!tweet)return null;return /*#__PURE__*/_jsx(\"div\",{style:{...styles.fadeWrap,opacity:fadingSlot===slotIdx?0:1},children:/*#__PURE__*/_jsx(TweetCard,{tweet:tweet,accentColor:accentColor,cardBg:cardBg,cardBorder:cardBorder,textColor:textColor,textSecondaryColor:textSecondaryColor,hoverOpacity:hoverOpacity,hoverTransition:hoverTransition})},slotIdx);};return /*#__PURE__*/_jsxs(\"div\",{style:{...styles.wrapper,...style},children:[isMobile?/*#__PURE__*/_jsx(\"div\",{style:styles.mobileList,children:slots.map((itemIdx,slotIdx)=>renderCard(itemIdx,slotIdx))}):/*#__PURE__*/_jsx(\"div\",{style:styles.grid,children:columns.map((col,ci)=>/*#__PURE__*/_jsx(\"div\",{style:styles.column,children:col.map(({itemIdx,slotIdx})=>renderCard(itemIdx,slotIdx))},ci))}),/*#__PURE__*/_jsx(\"div\",{style:{...styles.gradient,background:`linear-gradient(to top, ${backgroundColor}, ${backgroundColor}99, transparent)`}})]});}// -- Default props ----------------------------------------------------------\nSocialProofTweetGrid.defaultProps={tweetUrls:\"\",autoTranslate:true,visibleCount:9,minInterval:3e3,maxInterval:6e3,accentColor:\"#00d4ff\",cardBg:\"rgba(255,255,255,0.04)\",cardBorder:\"1px solid rgba(255,255,255,0.08)\",textColor:\"#f0f0f0\",textSecondaryColor:\"#888888\",backgroundColor:\"#000000\",hoverOpacity:.75,hoverTransition:.2};// -- Framer property controls -----------------------------------------------\naddPropertyControls(SocialProofTweetGrid,{tweetUrls:{type:ControlType.String,title:\"Tweet URLs\",placeholder:\"https://x.com/user/status/123\\nhttps://x.com/user/status/456\",displayTextArea:true},autoTranslate:{type:ControlType.Boolean,title:\"Auto-Translate\",defaultValue:true,enabledTitle:\"English\",disabledTitle:\"Original\"},visibleCount:{type:ControlType.Number,title:\"Visible Cards\",defaultValue:9,min:3,max:15,step:3},minInterval:{type:ControlType.Number,title:\"Min Swap (ms)\",defaultValue:3e3,min:1e3,max:1e4,step:500},maxInterval:{type:ControlType.Number,title:\"Max Swap (ms)\",defaultValue:6e3,min:2e3,max:15e3,step:500},accentColor:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#00d4ff\"},cardBg:{type:ControlType.Color,title:\"Card BG\",defaultValue:\"rgba(255,255,255,0.04)\"},cardBorder:{type:ControlType.String,title:\"Card Border\",defaultValue:\"1px solid rgba(255,255,255,0.08)\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#f0f0f0\"},textSecondaryColor:{type:ControlType.Color,title:\"Secondary Text\",defaultValue:\"#888888\"},backgroundColor:{type:ControlType.Color,title:\"Fade BG\",defaultValue:\"#000000\"},hoverOpacity:{type:ControlType.Number,title:\"Hover Opacity\",defaultValue:.75,min:0,max:1,step:.05},hoverTransition:{type:ControlType.Number,title:\"Hover Speed\",defaultValue:.2,min:0,max:1,step:.05,unit:\"s\"}});// -- Keyframes (injected once) ----------------------------------------------\nconst SPINNER_ID=\"__spg-spinner-keyframes\";if(typeof document!==\"undefined\"&&!document.getElementById(SPINNER_ID)){const sheet=document.createElement(\"style\");sheet.id=SPINNER_ID;sheet.textContent=`@keyframes spg-spin { to { transform: rotate(360deg) } }`;document.head.appendChild(sheet);}// -- Styles -----------------------------------------------------------------\nconst styles={wrapper:{position:\"relative\",width:\"100%\",overflow:\"hidden\"},grid:{display:\"flex\",gap:12},column:{display:\"flex\",flex:1,flexDirection:\"column\",gap:12},mobileList:{display:\"flex\",flexDirection:\"column\",gap:12},fadeWrap:{transition:\"opacity 0.4s ease-in-out\"},card:{display:\"flex\",flexDirection:\"column\",gap:16,borderRadius:12,padding:24,margin:0},cardLink:{display:\"block\",textDecoration:\"none\",color:\"inherit\"},cardHeader:{display:\"flex\",alignItems:\"center\",gap:12},avatar:{width:40,height:40,borderRadius:\"50%\",overflow:\"hidden\",flexShrink:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},avatarImg:{width:\"100%\",height:\"100%\",objectFit:\"cover\",borderRadius:\"50%\"},avatarInitial:{fontSize:16,fontWeight:600,color:\"#000\"},name:{fontSize:14,lineHeight:\"20px\",fontWeight:600,margin:0},handle:{fontSize:14,lineHeight:\"20px\",margin:0},quote:{margin:0,padding:0,border:\"none\"},quoteText:{fontSize:16,lineHeight:\"28px\",margin:0,display:\"-webkit-box\",WebkitLineClamp:3,WebkitBoxOrient:\"vertical\",overflow:\"hidden\"},gradient:{position:\"absolute\",left:0,right:0,bottom:0,height:320,pointerEvents:\"none\"},spinner:{width:20,height:20,border:\"2px solid rgba(255,255,255,0.15)\",borderTopColor:\"rgba(255,255,255,0.6)\",borderRadius:\"50%\",animation:\"spg-spin 0.8s linear infinite\"}};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SocialProofTweetGrid\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Social_Proof_Grid.map"],"mappings":"gXAC2a,SAAS,EA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