{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/hQiDLJmY6vzk3pizXHul/o5zN3LoEpaxfkHCzsglG/Global_Stats.js", "ssg:https://framerusercontent.com/modules/8r0ZSvxFzkqnnseVWJpT/TMYqKTW4y23cj01LTgNX/Recent_Reports.js", "ssg:https://framerusercontent.com/modules/9ibqbqUOl2Pk6BCueSGI/g7Ti4f8WmOvo3sak5TRH/Search_Reports.js"],
  "sourcesContent": ["// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers/\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/components/auto-sizing\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function GlobalChargebackStats(props){const[stats,setStats]=useState(null);const[loading,setLoading]=useState(true);const[error,setError]=useState(null);const[activePlatformTab,setActivePlatformTab]=useState(\"all\");useEffect(()=>{fetchStats();},[]);const fetchStats=async()=>{try{setLoading(true);const response=await fetch(\"https://spicyservice-d2293c546f39.herokuapp.com/api/public/chargebackStats\");if(!response.ok){throw new Error(\"Failed to fetch stats\");}const data=await response.json();setStats(data.data);setError(null);}catch(err){setError(\"Failed to load stats. Please try again later.\");console.error(err);}finally{setLoading(false);}};const formatCurrency=amount=>{return new Intl.NumberFormat(\"en-US\",{style:\"currency\",currency:\"USD\"}).format(amount);};const formatDate=dateString=>{if(!dateString)return\"N/A\";const date=new Date(dateString);return date.toLocaleDateString(\"en-US\",{year:\"numeric\",month:\"short\",day:\"numeric\"});};// Get available platforms from stats\nconst getPlatforms=()=>{if(!stats||!stats.platformStats)return[\"all\"];const platforms=Object.keys(stats.platformStats);const orderedPlatforms=[\"all\"];// Ensure OnlyFans is first, then Fansly\nif(platforms.includes(\"OnlyFans\")){orderedPlatforms.push(\"OnlyFans\");}if(platforms.includes(\"Fansly\")){orderedPlatforms.push(\"Fansly\");}// Sort remaining platforms by report count\nconst remainingPlatforms=platforms.filter(platform=>platform!==\"OnlyFans\"&&platform!==\"Fansly\").sort((a,b)=>{const countA=stats.platformStats[a]?.totalReports||0;const countB=stats.platformStats[b]?.totalReports||0;return countB-countA// Sort in descending order\n;});// Add sorted remaining platforms\norderedPlatforms.push(...remainingPlatforms);return orderedPlatforms;};// Filter top offenders by platform\nconst getFilteredTopOffenders=()=>{if(!stats)return[];// If a specific platform is selected and we have per-platform data\nif(activePlatformTab!==\"all\"&&stats.topOffendersByPlatform&&stats.topOffendersByPlatform[activePlatformTab]){return stats.topOffendersByPlatform[activePlatformTab];}// Fall back to global top offenders for 'all' view\nif(activePlatformTab===\"all\"&&stats.topOffenders){return stats.topOffenders;}return[];};return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:/*#__PURE__*/_jsx(\"div\",{style:contentContainerStyle,children:loading?/*#__PURE__*/_jsxs(\"div\",{style:loadingStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:spinnerStyle}),/*#__PURE__*/_jsx(\"div\",{children:\"Loading stats...\"})]}):error?/*#__PURE__*/_jsx(\"div\",{style:errorStyle,children:error}):stats?/*#__PURE__*/_jsxs(\"div\",{style:statsContainerStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:tabsContainerStyle,children:getPlatforms().map(platform=>/*#__PURE__*/_jsx(\"button\",{style:{...tabStyle,...activePlatformTab===platform?activeTabStyle:{}},onClick:()=>setActivePlatformTab(platform),children:platform===\"all\"?\"All platforms\":platform},platform))}),/*#__PURE__*/_jsxs(\"div\",{style:statsCardsStyle,children:[/*#__PURE__*/_jsxs(\"div\",{style:statCardStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:statValueStyle,children:activePlatformTab===\"all\"?stats.totalReports:stats.platformStats[activePlatformTab]?.totalReports||0}),/*#__PURE__*/_jsx(\"div\",{style:statLabelStyle,children:\"Total reports\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:statCardStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:statValueStyle,children:formatCurrency(activePlatformTab===\"all\"?stats.totalAmount:stats.platformStats[activePlatformTab]?.totalAmount||0)}),/*#__PURE__*/_jsx(\"div\",{style:statLabelStyle,children:\"Total amount\"})]}),activePlatformTab===\"all\"&&/*#__PURE__*/_jsxs(\"div\",{style:statCardStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:statValueStyle,children:stats.uniqueOffenders}),/*#__PURE__*/_jsx(\"div\",{style:statLabelStyle,children:\"Unique offenders\"})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:sectionStyle,children:[/*#__PURE__*/_jsxs(\"h3\",{style:subheadingStyle,children:[\"Top Offenders\",\" \",activePlatformTab!==\"all\"&&`on ${activePlatformTab}`]}),getFilteredTopOffenders().length>0?/*#__PURE__*/_jsx(\"div\",{style:tableContainerStyle,children:/*#__PURE__*/_jsxs(\"table\",{style:tableStyle,children:[/*#__PURE__*/_jsx(\"thead\",{children:/*#__PURE__*/_jsxs(\"tr\",{children:[/*#__PURE__*/_jsx(\"th\",{style:tableHeaderStyle,children:\"Username\"}),/*#__PURE__*/_jsx(\"th\",{style:tableHeaderStyle,children:\"Reports\"}),/*#__PURE__*/_jsx(\"th\",{style:tableHeaderStyle,children:\"Total amount\"}),activePlatformTab===\"all\"&&/*#__PURE__*/_jsx(\"th\",{style:tableHeaderStyle,children:\"Platform\"}),/*#__PURE__*/_jsx(\"th\",{style:tableHeaderStyle,children:\"Latest activity\"})]})}),/*#__PURE__*/_jsx(\"tbody\",{children:getFilteredTopOffenders().map((offender,index)=>/*#__PURE__*/_jsxs(\"tr\",{style:tableRowStyle,children:[/*#__PURE__*/_jsx(\"td\",{style:tableCellStyle,children:offender.username}),/*#__PURE__*/_jsx(\"td\",{style:tableCellStyle,children:offender.reportCount}),/*#__PURE__*/_jsx(\"td\",{style:tableCellAmountStyle,children:offender.totalAmount===0?/*#__PURE__*/_jsx(\"span\",{style:noDateStyle,children:\"Not reported\"}):formatCurrency(offender.totalAmount)}),activePlatformTab===\"all\"&&/*#__PURE__*/_jsx(\"td\",{style:tableCellStyle,children:offender.platforms&&offender.platforms.length>1?/*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsxs(\"div\",{style:multiplePlatformsStyle,children:[offender.platforms.length,\" \",\"platforms:\",\" \",offender.platforms.join(\", \")]})}):offender.platforms||\"Unknown\"}),/*#__PURE__*/_jsx(\"td\",{style:tableCellStyle,children:offender.latestChargebackDate?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:primaryDateStyle,children:formatDate(offender.latestChargebackDate)}),offender.latestReportDate&&/*#__PURE__*/_jsxs(\"div\",{style:secondaryDateStyle,children:[\"Reported:\",\" \",formatDate(offender.latestReportDate)]})]}):offender.latestReportDate?/*#__PURE__*/_jsxs(\"div\",{style:secondaryDateStyle,children:[\"Reported:\",\" \",formatDate(offender.latestReportDate)]}):/*#__PURE__*/_jsx(\"div\",{style:noDateStyle,children:\"No dates available\"})})]},index))})]})}):/*#__PURE__*/_jsx(\"p\",{style:noDataStyle,children:\"No offenders data available\"})]}),activePlatformTab===\"all\"&&stats.platformStats&&/*#__PURE__*/_jsxs(\"div\",{style:sectionStyle,children:[/*#__PURE__*/_jsx(\"h3\",{style:subheadingStyle,children:\"Platform breakdown\"}),/*#__PURE__*/_jsx(\"div\",{style:tableContainerStyle,children:/*#__PURE__*/_jsxs(\"table\",{style:tableStyle,children:[/*#__PURE__*/_jsx(\"thead\",{children:/*#__PURE__*/_jsxs(\"tr\",{children:[/*#__PURE__*/_jsx(\"th\",{style:tableHeaderStyle,children:\"Platform\"}),/*#__PURE__*/_jsx(\"th\",{style:tableHeaderStyle,children:\"Reports\"}),/*#__PURE__*/_jsx(\"th\",{style:tableHeaderStyle,children:\"Total amount\"}),/*#__PURE__*/_jsx(\"th\",{style:tableHeaderStyle,children:\"Latest activity\"})]})}),/*#__PURE__*/_jsx(\"tbody\",{children:Object.entries(stats.platformStats).map(([platform,data],index)=>/*#__PURE__*/_jsxs(\"tr\",{style:tableRowStyle,children:[/*#__PURE__*/_jsx(\"td\",{style:tableCellStyle,children:platform}),/*#__PURE__*/_jsx(\"td\",{style:tableCellStyle,children:data.totalReports}),/*#__PURE__*/_jsx(\"td\",{style:tableCellAmountStyle,children:data.totalAmount===0?/*#__PURE__*/_jsx(\"span\",{style:notReportedStyle,children:\"Not reported\"}):formatCurrency(data.totalAmount)}),/*#__PURE__*/_jsx(\"td\",{style:tableCellStyle,children:data.latestChargebackDate?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:primaryDateStyle,children:formatDate(data.latestChargebackDate)}),data.latestReportDate&&/*#__PURE__*/_jsxs(\"div\",{style:secondaryDateStyle,children:[\"Reported:\",\" \",formatDate(data.latestReportDate)]})]}):data.latestReportDate?/*#__PURE__*/_jsxs(\"div\",{style:secondaryDateStyle,children:[\"Reported:\",\" \",formatDate(data.latestReportDate)]}):/*#__PURE__*/_jsx(\"div\",{style:noDateStyle,children:\"No dates available\"})})]},index))})]})})]}),/*#__PURE__*/_jsxs(\"div\",{style:lastUpdatedStyle,children:[\"Last updated:\",\" \",new Date(stats.lastUpdated).toLocaleString()]})]}):/*#__PURE__*/_jsx(\"div\",{style:noDataStyle,children:\"No stats available\"})})});}// Light mode styles\nconst containerStyle={padding:\"16px\",width:\"100%\",maxWidth:\"100%\",backgroundColor:\"transparent\",color:\"#333333\",fontFamily:\"Open Sans, sans-serif\",display:\"flex\",justifyContent:\"center\",boxSizing:\"border-box\",\"@media (max-width: 480px)\":{padding:\"12px 8px\"}};const contentContainerStyle={width:\"100%\",maxWidth:\"100%\",boxSizing:\"border-box\"};const headingStyle={textAlign:\"center\",marginBottom:\"20px\",color:\"#333333\",fontSize:\"24px\",fontWeight:\"600\",fontFamily:\"Times New Roman, serif\",letterSpacing:\"-1.2px\"};const subheadingStyle={fontSize:\"18px\",fontWeight:\"600\",marginBottom:\"15px\",color:\"#333333\",fontFamily:\"Times New Roman, serif\",letterSpacing:\"-1.2px\"};const statsContainerStyle={display:\"flex\",flexDirection:\"column\",width:\"100%\",boxSizing:\"border-box\"};const tabsContainerStyle={display:\"flex\",flexWrap:\"wrap\",border:\"none\",gap:\"8px\",marginBottom:\"20px\",width:\"100%\",boxSizing:\"border-box\"};const tabStyle={padding:\"12px 30px\",backgroundColor:\"#f0f5ff\",border:\"none\",color:\"#333333\",borderRadius:\"4px\",cursor:\"pointer\",fontWeight:\"500\",transition:\"all 0.2s ease\",fontSize:\"14px\",fontWeight:\"600\",fontFamily:\"Open Sans, sans-serif\"};const activeTabStyle={backgroundColor:\"#6366F1\",border:\"none\",color:\"white\",fontWeight:\"600\",fontFamily:\"Open Sans, sans-serif\"};const statsCardsStyle={display:\"grid\",gridTemplateColumns:\"repeat(auto-fit, minmax(150px, 1fr))\",gap:\"16px\",marginBottom:\"20px\",width:\"100%\",boxSizing:\"border-box\",\"@media (max-width: 480px)\":{gridTemplateColumns:\"1fr\"}};const statCardStyle={backgroundColor:\"white\",boxShadow:\"0 2px 4px rgba(0, 0, 0, 0.1)\",borderRadius:\"6px\",padding:\"16px\",textAlign:\"center\",border:\"1px solid #e0e0e0\"};const statValueStyle={fontSize:\"22px\",fontWeight:\"700\",marginBottom:\"8px\",color:\"#6366F1\",fontFamily:\"Open Sans, sans-serif\"};const statLabelStyle={fontSize:\"14px\",color:\"#555555\",fontWeight:\"500\",fontFamily:\"Open Sans, sans-serif\"};const sectionStyle={backgroundColor:\"white\",boxShadow:\"0 2px 4px rgba(0, 0, 0, 0.1)\",borderRadius:\"6px\",padding:\"16px\",marginBottom:\"12px\",border:\"1px solid #e0e0e0\",width:\"100%\",boxSizing:\"border-box\",overflowX:\"auto\"};const tableContainerStyle={overflowX:\"auto\",WebkitOverflowScrolling:\"touch\",width:\"100%\",boxSizing:\"border-box\",maxWidth:\"100%\"};const tableStyle={width:\"100%\",borderCollapse:\"collapse\",minWidth:\"600px\",tableLayout:\"fixed\",\"@media (max-width: 640px)\":{minWidth:\"auto\",width:\"100%\",fontSize:\"12px\"}};const tableHeaderStyle={textAlign:\"left\",padding:\"12px\",backgroundColor:\"#f5f8ff\",color:\"#333333\",borderBottom:\"1px solid #e0e0e0\",fontWeight:\"600\",fontSize:\"14px\",whiteSpace:\"nowrap\"};const tableRowStyle={borderBottom:\"1px solid #e0e0e0\",transition:\"background-color 0.2s\"};const tableCellStyle={padding:\"12px\",color:\"#333333\",fontSize:\"14px\"};const tableCellAmountStyle={padding:\"12px\",fontWeight:\"600\",color:\"#6366F1\",fontSize:\"14px\"};const loadingStyle={display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",padding:\"40px 20px\",gap:\"15px\",color:\"#555555\"};const spinnerStyle={width:\"36px\",height:\"36px\",border:\"3px solid rgba(0, 0, 0, 0.1)\",borderRadius:\"50%\",borderTop:\"3px solid #6366F1\",animation:\"spin 1s linear infinite\"};const errorStyle={backgroundColor:\"#fff0f0\",color:\"#d32f2f\",padding:\"12px\",borderRadius:\"4px\",textAlign:\"center\",border:\"1px solid #ffcdd2\",marginTop:\"16px\",fontSize:\"14px\"};const noDataStyle={textAlign:\"center\",padding:\"20px\",color:\"#666666\",fontStyle:\"italic\"};const lastUpdatedStyle={fontSize:\"12px\",color:\"#888888\",textAlign:\"right\"};const refreshButtonStyle={padding:\"12px 30px\",backgroundColor:\"#6366F1\",color:\"white\",border:\"none\",borderRadius:\"4px\",cursor:\"pointer\",alignSelf:\"center\",marginTop:\"16px\",fontSize:\"14px\",fontWeight:\"600\",fontFamily:\"Open Sans, sans-serif\"};const primaryDateStyle={// color: '#6366F1',\nfontWeight:\"600\",fontSize:\"14px\"};const secondaryDateStyle={color:\"#666666\",fontSize:\"12px\",marginTop:\"2px\"};const noDateStyle={color:\"#999999\",fontStyle:\"italic\",fontSize:\"13px\",fontWeight:\"300\"};const multiplePlatformsStyle={fontSize:\"12px\",color:\"#666666\",marginTop:\"0px\",fontStyle:\"italic\"};const notReportedStyle={color:\"#999999\",fontStyle:\"italic\",fontSize:\"13px\",fontWeight:\"300\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GlobalChargebackStats\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Global_Stats.map", "// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers/\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/components/auto-sizing\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function RecentReports(props){const[reports,setReports]=useState([]);const[loading,setLoading]=useState(true);const[error,setError]=useState(null);const[limit,setLimit]=useState(props.limit||5);const[offset,setOffset]=useState(0);const[hasMore,setHasMore]=useState(true);const[loadingMore,setLoadingMore]=useState(false);useEffect(()=>{fetchRecentReports();},[limit]);const fetchRecentReports=async(resetData=true)=>{try{if(resetData){setLoading(true);setOffset(0);}else{setLoadingMore(true);}setError(null);const fetchOffset=resetData?0:offset;const response=await fetch(`https://spicyservice-d2293c546f39.herokuapp.com/api/public/recentChargebackReports?limit=${limit}&offset=${fetchOffset}`);if(!response.ok){const errorData=await response.json();throw new Error(errorData.error?.message||\"Failed to fetch recent reports\");}const data=await response.json();if(resetData){setReports(data.data||[]);setOffset(limit)// Set offset to limit for next load more\n;}else{setReports(prevReports=>[...prevReports,...data.data||[]]);setOffset(prevOffset=>prevOffset+limit);}// Set pagination data\nsetHasMore(data.pagination?.hasMore||false);}catch(err){console.error(\"Error fetching recent reports:\",err);setError(err.message||\"Failed to load recent reports. Please try again.\");}finally{setLoading(false);setLoadingMore(false);}};const handleLoadMore=()=>{if(!loadingMore&&hasMore){fetchRecentReports(false);}};const formatCurrency=amount=>{if(amount<0)return\"unknown\";return new Intl.NumberFormat(\"en-US\",{style:\"currency\",currency:\"USD\"}).format(amount);};const formatDate=dateString=>{if(!dateString)return\"N/A\";const date=new Date(dateString);return date.toLocaleDateString(\"en-US\",{year:\"numeric\",month:\"short\",day:\"numeric\"});};const getTimeAgo=dateString=>{if(!dateString)return\"N/A\";const date=new Date(dateString);const now=new Date;const seconds=Math.floor((now-date)/1e3);let interval=Math.floor(seconds/31536e3);if(interval>=1){return interval===1?\"1 year ago\":`${interval} years ago`;}interval=Math.floor(seconds/2592e3);if(interval>=1){return interval===1?\"1 month ago\":`${interval} months ago`;}interval=Math.floor(seconds/86400);if(interval>=1){return interval===1?\"1 day ago\":`${interval} days ago`;}interval=Math.floor(seconds/3600);if(interval>=1){return interval===1?\"1 hour ago\":`${interval} hours ago`;}interval=Math.floor(seconds/60);if(interval>=1){return interval===1?\"1 minute ago\":`${interval} minutes ago`;}return seconds<10?\"just now\":`${Math.floor(seconds)} seconds ago`;};return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:/*#__PURE__*/_jsx(\"div\",{style:contentContainerStyle,children:loading?/*#__PURE__*/_jsxs(\"div\",{style:loadingContainerStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:spinnerStyle}),/*#__PURE__*/_jsx(\"div\",{children:\"Loading recent reports...\"})]}):error?/*#__PURE__*/_jsx(\"div\",{style:errorStyle,children:error}):reports.length>0?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:reportsListStyle,children:reports.map((report,index)=>/*#__PURE__*/_jsxs(\"div\",{style:reportCardStyle,children:[/*#__PURE__*/_jsxs(\"div\",{style:reportHeaderStyle,children:[/*#__PURE__*/_jsx(\"span\",{style:usernameStyle,children:report.fanUsername}),/*#__PURE__*/_jsx(\"span\",{style:amountStyle,children:formatCurrency(report.amount)})]}),/*#__PURE__*/_jsxs(\"div\",{style:reportDetailsStyle,children:[/*#__PURE__*/_jsxs(\"div\",{style:detailItemStyle,children:[/*#__PURE__*/_jsx(\"span\",{style:detailLabelStyle,children:\"Platform:\"}),/*#__PURE__*/_jsx(\"span\",{style:platformStyle,children:report.platform||\"Not specified\"})]}),report.chargebackDate?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:detailItemStyle,children:[/*#__PURE__*/_jsx(\"span\",{style:detailLabelStyle,children:\"Chargeback:\"}),/*#__PURE__*/_jsx(\"span\",{style:primaryDateValueStyle,title:formatDate(report.chargebackDate),children:formatDate(report.chargebackDate)})]}),/*#__PURE__*/_jsxs(\"div\",{style:detailItemStyle,children:[/*#__PURE__*/_jsx(\"span\",{style:detailLabelStyle,children:\"Reported:\"}),/*#__PURE__*/_jsx(\"span\",{style:secondaryDateValueStyle,title:formatDate(report.date||report.createdAt),children:getTimeAgo(report.date||report.createdAt)})]})]}):/*#__PURE__*/_jsxs(\"div\",{style:detailItemStyle,children:[/*#__PURE__*/_jsx(\"span\",{style:detailLabelStyle,children:\"Reported:\"}),/*#__PURE__*/_jsx(\"span\",{style:detailValueStyle,title:formatDate(report.date||report.createdAt),children:getTimeAgo(report.date||report.createdAt)})]}),report.description&&/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{style:descriptionLabelStyle,children:\"Description:\"}),/*#__PURE__*/_jsx(\"div\",{style:descriptionStyle,children:/*#__PURE__*/_jsx(\"div\",{style:descriptionTextStyle,children:report.description})})]})]})]},`${report._id||report.fanUsername}-${index}`))}),loadingMore&&/*#__PURE__*/_jsxs(\"div\",{style:loadingMoreStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:spinnerStyle}),/*#__PURE__*/_jsx(\"div\",{children:\"Loading more reports...\"})]}),/*#__PURE__*/_jsx(\"div\",{style:buttonsContainerStyle,children:hasMore&&!loadingMore?/*#__PURE__*/_jsx(\"button\",{onClick:handleLoadMore,style:refreshButtonStyle,children:\"load more\"}):/*#__PURE__*/_jsx(\"button\",{onClick:()=>handleLoadMore,style:refreshButtonStyle,children:\"refresh reports\"})})]}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:noReportsStyle,children:\"No recent reports available\"}),/*#__PURE__*/_jsx(\"div\",{style:refreshButtonContainerStyle,children:/*#__PURE__*/_jsx(\"button\",{onClick:()=>fetchRecentReports(),style:refreshButtonStyle,children:\"refresh reports\"})})]})})});}// Light mode styles\nconst containerStyle={padding:\"16px\",width:\"100%\",maxWidth:\"100%\",backgroundColor:\"transparent\",color:\"#333333\",fontFamily:\"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif\",display:\"flex\",justifyContent:\"center\",boxSizing:\"border-box\"};const contentContainerStyle={width:\"100%\",maxWidth:\"100%\",boxSizing:\"border-box\"};const headingStyle={textAlign:\"center\",marginBottom:\"20px\",color:\"#333333\",fontSize:\"24px\",fontWeight:\"600\",fontFamily:\"Times New Roman, serif\",letterSpacing:\"-1.2px\"};const reportsListStyle={display:\"flex\",flexDirection:\"column\",gap:\"16px\",width:\"100%\",boxSizing:\"border-box\"};const reportCardStyle={backgroundColor:\"white\",borderRadius:\"8px\",padding:\"16px\",boxShadow:\"0 2px 4px rgba(0, 0, 0, 0.1)\",border:\"1px solid #e0e0e0\",width:\"100%\",boxSizing:\"border-box\"};const reportHeaderStyle={display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",marginBottom:\"12px\",paddingBottom:\"8px\",borderBottom:\"1px solid #e0e0e0\",flexWrap:\"wrap\",gap:\"8px\"};const usernameStyle={fontSize:\"16px\",fontWeight:\"600\",color:\"#333333\"};const amountStyle={color:\"#6366F1\",fontWeight:\"700\",fontSize:\"16px\"};const reportDetailsStyle={display:\"flex\",flexDirection:\"column\",gap:\"6px\",marginBottom:\"12px\"};const detailItemStyle={display:\"flex\",gap:\"8px\",flexWrap:\"wrap\",fontSize:\"14px\"};const detailLabelStyle={fontWeight:\"500\",color:\"#666666\",minWidth:\"70px\"};const detailValueStyle={color:\"#333333\"};const descriptionStyle={backgroundColor:\"#f5f8ff\",padding:\"10px\",borderRadius:\"6px\",marginTop:\"8px\",fontSize:\"14px\"};const descriptionLabelStyle={fontWeight:\"500\",marginBottom:\"4px\",color:\"#555555\",fontSize:\"14px\"};const descriptionTextStyle={fontSize:\"14px\",lineHeight:\"1.4\",color:\"#333333\"};const loadingContainerStyle={display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",padding:\"40px 20px\",gap:\"12px\",color:\"#555555\"};const spinnerStyle={width:\"36px\",height:\"36px\",border:\"3px solid rgba(0, 0, 0, 0.1)\",borderRadius:\"50%\",borderTop:\"3px solid #6366F1\",animation:\"spin 1s linear infinite\"};const errorStyle={backgroundColor:\"#fff0f0\",color:\"#d32f2f\",padding:\"12px\",borderRadius:\"4px\",textAlign:\"center\",border:\"1px solid #ffcdd2\",marginTop:\"16px\",fontSize:\"14px\"};const noReportsStyle={textAlign:\"center\",padding:\"24px 16px\",color:\"#666666\",fontStyle:\"italic\",backgroundColor:\"white\",borderRadius:\"8px\",border:\"1px solid #e0e0e0\"};const refreshButtonContainerStyle={display:\"flex\",justifyContent:\"center\",marginTop:\"20px\"};const refreshButtonStyle={padding:\"12px 30px\",backgroundColor:\"#6366F1\",color:\"white\",border:\"none\",borderRadius:\"4px\",cursor:\"pointer\",fontSize:\"14px\",fontWeight:\"600\",transition:\"background-color 0.2s\",fontFamily:\"Open Sans, sans-serif\"};const primaryDateValueStyle={};const secondaryDateValueStyle={};const loadingMoreStyle={display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",padding:\"20px\",gap:\"8px\",color:\"#555555\"};const buttonsContainerStyle={display:\"flex\",justifyContent:\"center\",marginTop:\"20px\",gap:\"12px\",flexWrap:\"wrap\"};const platformStyle={};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"RecentReports\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Recent_Reports.map", "// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers/\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/components/auto-sizing\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function SearchChargebacks(props){const[searchTerm,setSearchTerm]=useState(\"\");const[results,setResults]=useState([]);const[loading,setLoading]=useState(false);const[error,setError]=useState(null);const[page,setPage]=useState(1);const[hasMore,setHasMore]=useState(true);const[searching,setSearching]=useState(false);const[searchQuery,setSearchQuery]=useState(\"\");const[pagination,setPagination]=useState(null);const[summary,setSummary]=useState(null);const[hasSearched,setHasSearched]=useState(false);// Reset results when search query changes\nuseEffect(()=>{if(searchQuery){setResults([]);setPage(1);setHasMore(true);setSearching(true);setHasSearched(false);fetchResults(1,true)// Fetch first page immediately\n;}},[searchQuery]);// Load more results when page changes\nuseEffect(()=>{if(page>1&&searchQuery){fetchResults(page,false);}},[page]);const fetchResults=async(pageNum,isNewSearch=false)=>{try{setLoading(true);setError(null);// Use the correct parameter name: fanUsername instead of username\nconst response=await fetch(`https://spicyservice-d2293c546f39.herokuapp.com/api/public/searchChargebackReports?fanUsername=${encodeURIComponent(searchQuery)}&page=${pageNum}&limit=5`);if(!response.ok){const errorData=await response.json();throw new Error(errorData.error?.message||\"Failed to fetch results\");}const data=await response.json();console.log(`Search results for page ${pageNum}:`,data);// Always handle results, even if data.data is empty\nif(data){// Update pagination and summary info\nif(data.pagination){setPagination(data.pagination);setHasMore(data.pagination.hasNextPage);}if(data.summary){setSummary(data.summary);}setResults(prevResults=>{// If it's a new search, replace results, otherwise append\nconst baseResults=isNewSearch?[]:[...prevResults];// Simply add new items without deduplication\nif(Array.isArray(data.data)){data.data.forEach(item=>{// Add a unique ID for React keys\nconst uniqueId=`${item.fanUsername}-${item.amount}-${item.chargebackDate}-${Math.random().toString(36).substr(2,9)}`;baseResults.push({...item,uniqueId});});}return baseResults;});}else{// If no data returned, clear results for new search\nif(isNewSearch){setResults([]);}setHasMore(false);}}catch(err){console.error(\"Search error:\",err);setError(err.message||\"Failed to load results. Please try again.\");// Clear results on error for new search\nif(isNewSearch){setResults([]);}}finally{setLoading(false);setSearching(false);setHasSearched(true);}};const handleInputChange=e=>{setSearchTerm(e.target.value);if(e.target.value.trim().length===0){setError(null);setHasSearched(false);}};const handleSearch=e=>{e.preventDefault();if(searchTerm.trim().length<3){setError(\"Please enter at least 3 characters to search\");setHasSearched(false);return;}// Set the search query which triggers the search\nsetSearchQuery(searchTerm);};const handleLoadMore=()=>{if(loading||!hasMore)return;setPage(prevPage=>prevPage+1);};const formatCurrency=amount=>{if(amount<0)return\"unknown\";return new Intl.NumberFormat(\"en-US\",{style:\"currency\",currency:\"USD\"}).format(amount);};const formatDate=dateString=>{if(!dateString)return\"N/A\";const date=new Date(dateString);return date.toLocaleDateString(\"en-US\",{year:\"numeric\",month:\"short\",day:\"numeric\"});};return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:/*#__PURE__*/_jsxs(\"div\",{style:contentContainerStyle,children:[/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleSearch,style:searchFormStyle,children:[/*#__PURE__*/_jsxs(\"div\",{style:{...searchInputContainerStyle,...searchInputContainerWideStyle},children:[/*#__PURE__*/_jsx(\"input\",{type:\"text\",value:searchTerm,onChange:handleInputChange,placeholder:\"Enter a fan's username to search\",style:searchInputStyle,minLength:3}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",style:{...searchButtonStyle,...searchButtonWideStyle},children:\"search\"})]}),error&&/*#__PURE__*/_jsx(\"div\",{style:errorStyle,children:error})]}),/*#__PURE__*/_jsxs(\"div\",{style:resultsContainerStyle,children:[results.length>0?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:resultCountStyle,children:[\"Showing \",results.length,\" of\",\" \",pagination?.totalReports||results.length,\" \",\"reports\",summary&&/*#__PURE__*/_jsxs(\"span\",{style:totalAmountStyle,children:[\" \",\"with a total of\",\" \",formatCurrency(summary.totalAmount)]})]}),/*#__PURE__*/_jsxs(\"div\",{style:resultsListStyle,children:[results.map(report=>/*#__PURE__*/_jsxs(\"div\",{style:resultCardStyle,children:[/*#__PURE__*/_jsxs(\"div\",{style:resultHeaderStyle,children:[/*#__PURE__*/_jsx(\"span\",{style:resultUsernameStyle,children:report.fanUsername}),/*#__PURE__*/_jsx(\"span\",{style:resultAmountStyle,children:formatCurrency(report.amount)})]}),/*#__PURE__*/_jsxs(\"div\",{style:resultDetailsStyle,children:[/*#__PURE__*/_jsxs(\"div\",{style:detailItemStyle,children:[/*#__PURE__*/_jsx(\"span\",{style:detailLabelStyle,children:\"Platform:\"}),/*#__PURE__*/_jsx(\"span\",{style:detailValueStyle,children:report.platform||\"Not specified\"})]}),report.chargebackDate?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:detailItemStyle,children:[/*#__PURE__*/_jsx(\"span\",{style:detailLabelStyle,children:\"Chargeback:\"}),/*#__PURE__*/_jsx(\"span\",{style:detailValueStyle,children:formatDate(report.chargebackDate)})]}),/*#__PURE__*/_jsxs(\"div\",{style:detailItemStyle,children:[/*#__PURE__*/_jsx(\"span\",{style:detailLabelStyle,children:\"Reported:\"}),/*#__PURE__*/_jsx(\"span\",{style:detailValueStyle,children:formatDate(report.date||report.createdAt)})]})]}):/*#__PURE__*/_jsxs(\"div\",{style:detailItemStyle,children:[/*#__PURE__*/_jsx(\"span\",{style:detailLabelStyle,children:\"Reported:\"}),/*#__PURE__*/_jsx(\"span\",{style:detailValueStyle,children:formatDate(report.date||report.createdAt)})]}),report.description&&/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{style:descriptionLabelStyle,children:\"Description:\"}),/*#__PURE__*/_jsx(\"div\",{style:resultDescriptionStyle,children:/*#__PURE__*/_jsx(\"div\",{style:descriptionTextStyle,children:report.description})})]})]})]},report.uniqueId)),loading&&/*#__PURE__*/_jsxs(\"div\",{style:loadingContainerStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:spinnerStyle}),/*#__PURE__*/_jsx(\"div\",{children:\"Loading results...\"})]}),!loading&&hasMore&&/*#__PURE__*/_jsx(\"div\",{style:loadMoreContainerStyle,children:/*#__PURE__*/_jsx(\"button\",{onClick:handleLoadMore,style:loadMoreButtonStyle,disabled:loading,children:\"load more results\"})}),!hasMore&&results.length>0&&/*#__PURE__*/_jsx(\"div\",{style:endMessageStyle,children:\"No more results to load\"})]})]}):hasSearched&&results.length===0&&!loading?/*#__PURE__*/_jsxs(\"div\",{style:errorStyle,children:['No reports found for \"',searchQuery,'\"']}):null,loading&&results.length===0&&/*#__PURE__*/_jsxs(\"div\",{style:loadingContainerStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:spinnerStyle}),/*#__PURE__*/_jsx(\"div\",{children:\"Searching...\"})]})]})]})});}// Light mode styles\nconst containerStyle={padding:\"16px\",width:\"100%\",maxWidth:\"100%\",backgroundColor:\"transparent\",color:\"#333333\",fontFamily:\"Open Sans, sans-serif\",display:\"flex\",justifyContent:\"center\",boxSizing:\"border-box\"};const contentContainerStyle={width:\"100%\",maxWidth:\"100%\",boxSizing:\"border-box\"};const searchFormStyle={width:\"100%\",boxSizing:\"border-box\"};const searchInputContainerStyle={display:\"flex\",flexDirection:\"column\",gap:\"10px\",width:\"100%\",boxSizing:\"border-box\"};const searchInputContainerWideStyle={};const searchInputStyle={flex:\"1\",padding:\"12px\",borderRadius:\"4px\",border:\"1px solid #d0d0d0\",fontSize:\"15px\",backgroundColor:\"white\",color:\"#333333\",outline:\"none\",width:\"100%\",boxSizing:\"border-box\",fontFamily:\"Open Sans, sans-serif\"};const searchButtonStyle={padding:\"12px 30px\",backgroundColor:\"#6366F1\",color:\"white\",border:\"none\",borderRadius:\"4px\",cursor:\"pointer\",fontSize:\"15px\",fontWeight:\"600\",transition:\"background-color 0.2s\",fontFamily:\"Open Sans, sans-serif\",width:\"100%\"};const searchButtonWideStyle={width:\"auto\"};const errorStyle={backgroundColor:\"#fff0f0\",color:\"#d32f2f\",padding:\"12px\",borderRadius:\"4px\",textAlign:\"center\",border:\"1px solid #ffcdd2\",marginTop:\"16px\",fontSize:\"14px\"};const resultsContainerStyle={marginTop:\"16px\",width:\"100%\",boxSizing:\"border-box\"};const resultCountStyle={marginBottom:\"15px\",color:\"#666666\",fontSize:\"14px\"};const totalAmountStyle={color:\"#6366F1\",fontWeight:\"600\"};const resultsListStyle={display:\"flex\",flexDirection:\"column\",gap:\"16px\",width:\"100%\",boxSizing:\"border-box\"};const resultCardStyle={backgroundColor:\"white\",borderRadius:\"8px\",padding:\"16px\",boxShadow:\"0 2px 4px rgba(0, 0, 0, 0.1)\",border:\"1px solid #e0e0e0\",width:\"100%\",boxSizing:\"border-box\"};const resultHeaderStyle={display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",marginBottom:\"12px\",paddingBottom:\"8px\",borderBottom:\"1px solid #e0e0e0\",flexWrap:\"wrap\",gap:\"6px\"};const resultUsernameStyle={fontSize:\"16px\",fontWeight:\"600\",color:\"#333333\"};const resultAmountStyle={fontSize:\"16px\",fontWeight:\"700\",color:\"#6366F1\"};const resultDetailsStyle={display:\"flex\",flexDirection:\"column\",gap:\"6px\",marginBottom:\"12px\"};const detailItemStyle={display:\"flex\",gap:\"8px\",flexWrap:\"wrap\"};const detailLabelStyle={fontWeight:\"500\",color:\"#666666\",minWidth:\"70px\",fontSize:\"14px\"};const detailValueStyle={color:\"#333333\",fontSize:\"14px\"};const resultDescriptionStyle={backgroundColor:\"#f5f8ff\",padding:\"10px\",borderRadius:\"6px\",marginTop:\"8px\",fontSize:\"14px\"};const descriptionLabelStyle={fontWeight:\"500\",marginBottom:\"4px\",color:\"#555555\",fontSize:\"14px\",fontFamily:\"Open Sans, sans-serif\"};const descriptionTextStyle={fontSize:\"14px\",lineHeight:\"1.4\",color:\"#333333\"};const loadingContainerStyle={display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",padding:\"40px 20px\",color:\"#555555\",gap:\"12px\",fontSize:\"14px\"};const spinnerStyle={width:\"36px\",height:\"36px\",border:\"3px solid rgba(0, 0, 0, 0.1)\",borderRadius:\"50%\",borderTop:\"3px solid #6366F1\",animation:\"spin 1s linear infinite\"};const noResultsStyle={textAlign:\"center\",padding:\"24px 16px\",color:\"#666666\",backgroundColor:\"white\",borderRadius:\"8px\",border:\"1px solid #e0e0e0\",fontStyle:\"italic\",fontSize:\"14px\"};const endMessageStyle={textAlign:\"center\",padding:\"12px\",color:\"#888888\",fontSize:\"14px\"};const loadMoreContainerStyle={display:\"flex\",justifyContent:\"center\",marginTop:\"20px\"};const loadMoreButtonStyle={padding:\"12px 30px\",backgroundColor:\"#6366F1\",color:\"white\",border:\"none\",borderRadius:\"4px\",cursor:\"pointer\",fontSize:\"14px\",fontWeight:\"600\",transition:\"background-color 0.2s\"};// Add these styles before the resultDescriptionStyle definition\nconst primaryDateValueStyle={// color: '#2c5282',\n// fontWeight: '600',\nfontSize:\"14px\"};const secondaryDateValueStyle={// color: '#666666',\n// fontSize: '13px',\nfontSize:\"14px\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SearchChargebacks\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Search_Reports.map"],
  "mappings": "qEAQkB,SAARA,GAAuCC,EAAM,CAAC,GAAK,CAACC,EAAMC,CAAQ,EAAEC,EAAS,IAAI,EAAO,CAACC,EAAQC,CAAU,EAAEF,EAAS,EAAI,EAAO,CAACG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", "setActivePlatformTab", "ue", "fetchStats", "response", "data", "err", "formatCurrency", "amount", "formatDate", "dateString", "getPlatforms", "platforms", "orderedPlatforms", "remainingPlatforms", "platform", "a", "b", "countA", "getFilteredTopOffenders", "p", "containerStyle", "contentContainerStyle", "u", "loadingStyle", "spinnerStyle", "errorStyle", "statsContainerStyle", "tabsContainerStyle", "tabStyle", "activeTabStyle", "statsCardsStyle", "statCardStyle", "statValueStyle", "statLabelStyle", "sectionStyle", "subheadingStyle", "tableContainerStyle", "tableStyle", "tableHeaderStyle", "offender", "index", "tableRowStyle", "tableCellStyle", "tableCellAmountStyle", "noDateStyle", "multiplePlatformsStyle", "l", "primaryDateStyle", "secondaryDateStyle", "noDataStyle", "notReportedStyle", "lastUpdatedStyle", "subheadingStyle", "statsContainerStyle", "tabsContainerStyle", "tabStyle", "activeTabStyle", "statsCardsStyle", "statCardStyle", "statValueStyle", "statLabelStyle", "sectionStyle", "tableContainerStyle", "tableStyle", "tableHeaderStyle", "tableRowStyle", "tableCellStyle", "tableCellAmountStyle", "loadingStyle", "spinnerStyle", "errorStyle", "noDataStyle", "lastUpdatedStyle", "primaryDateStyle", "secondaryDateStyle", "noDateStyle", "multiplePlatformsStyle", "notReportedStyle", "RecentReports", "props", "reports", "setReports", "ye", "loading", "setLoading", "error", "setError", "limit", "setLimit", "offset", "setOffset", "hasMore", "setHasMore", "loadingMore", "setLoadingMore", "ue", "fetchRecentReports", "resetData", "response", "errorData", "data", "prevReports", "prevOffset", "err", "handleLoadMore", "formatCurrency", "amount", "formatDate", "dateString", "getTimeAgo", "date", "seconds", "interval", "p", "containerStyle", "contentContainerStyle", "u", "loadingContainerStyle", "spinnerStyle", "errorStyle", "l", "reportsListStyle", "report", "index", "reportCardStyle", "reportHeaderStyle", "usernameStyle", "amountStyle", "reportDetailsStyle", "detailItemStyle", "detailLabelStyle", "platformStyle", "primaryDateValueStyle", "secondaryDateValueStyle", "detailValueStyle", "descriptionLabelStyle", "descriptionStyle", "descriptionTextStyle", "loadingMoreStyle", "buttonsContainerStyle", "refreshButtonStyle", "noReportsStyle", "refreshButtonContainerStyle", "reportsListStyle", "reportCardStyle", "reportHeaderStyle", "usernameStyle", "amountStyle", "reportDetailsStyle", "detailItemStyle", "detailLabelStyle", "detailValueStyle", "descriptionStyle", "descriptionLabelStyle", "descriptionTextStyle", "loadingContainerStyle", "spinnerStyle", "errorStyle", "noReportsStyle", "refreshButtonContainerStyle", "refreshButtonStyle", "primaryDateValueStyle", "secondaryDateValueStyle", "loadingMoreStyle", "buttonsContainerStyle", "platformStyle", "SearchChargebacks", "props", "searchTerm", "setSearchTerm", "ye", "results", "setResults", "loading", "setLoading", "error", "setError", "page", "setPage", "hasMore", "setHasMore", "searching", "setSearching", "searchQuery", "setSearchQuery", "pagination", "setPagination", "summary", "setSummary", "hasSearched", "setHasSearched", "ue", "fetchResults", "pageNum", "isNewSearch", "response", "errorData", "data", "prevResults", "baseResults", "item", "uniqueId", "err", "handleInputChange", "e", "handleSearch", "handleLoadMore", "prevPage", "formatCurrency", "amount", "formatDate", "dateString", "p", "containerStyle", "u", "contentContainerStyle", "searchFormStyle", "searchInputContainerStyle", "searchInputContainerWideStyle", "searchInputStyle", "searchButtonStyle", "searchButtonWideStyle", "errorStyle", "resultsContainerStyle", "l", "resultCountStyle", "totalAmountStyle", "resultsListStyle", "report", "resultCardStyle", "resultHeaderStyle", "resultUsernameStyle", "resultAmountStyle", "resultDetailsStyle", "detailItemStyle", "detailLabelStyle", "detailValueStyle", "descriptionLabelStyle", "resultDescriptionStyle", "descriptionTextStyle", "loadingContainerStyle", "spinnerStyle", "loadMoreContainerStyle", "loadMoreButtonStyle", "endMessageStyle", "endMessageStyle", "loadMoreContainerStyle", "loadMoreButtonStyle"]
}
