{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/hlo0WlPlFyM5tDgdKrQ4/tEZ2poLC8UMGMBIhLot6/StarReview.js", "ssg:https://framerusercontent.com/modules/Bftf9issxDfRjV0fz6fc/xPNoEv8YgV4JQogvxG7A/ThreadedCommentSection.js"],
  "sourcesContent": ["// Get Started: https://www.framer.com/developers\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";import{createClient}from\"@supabase/supabase-js\";import*as faCore from\"https://cdn.framerauth.com/packages/overrides/core/live/latest/core.js\";// Initialize Supabase client\nconst supabaseUrl=\"https://hdwrljquydrzeprnllnl.supabase.co\";const supabaseAnonKey=\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imhkd3JsanF1eWRyemVwcm5sbG5sIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NDYyNjk3MzUsImV4cCI6MjA2MTg0NTczNX0.oW8qgBSaV_1iILbIMV4M9FRHmPOjtwQUUMth--AxiXg\";const supabase=createClient(supabaseUrl,supabaseAnonKey);/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function StarReview(props){const{pageId,size,activeColor,inactiveColor,fontSize,fontColor}=props;const{store}=faCore.useStore();const[rating,setRating]=useState(0);const[averageRating,setAverageRating]=useState(0);const[reviewCount,setReviewCount]=useState(0)// New state for review count\n;const[loading,setLoading]=useState(false);const[hoverRating,setHoverRating]=useState(0);const[showError,setShowError]=useState(false);const user_data={id:store.user?.id,email:store.user?.email,name:store.user?.first_name,linkedin:store.user?.last_name};// Fetch initial rating data\nuseEffect(()=>{const fetchRatings=async()=>{try{// Get user's rating\nif(user_data.id){const{data:userRating,error:userError}=await supabase.from(\"ratings\").select(\"*\").eq(\"page_id\",pageId).eq(\"user_id\",user_data.id).single();if(userError&&userError.code!==\"PGRST116\"){console.error(\"Error fetching user rating:\",userError);}else if(userRating){setRating(userRating.rating);}}// Get average rating and review count\nconst{data:ratings,error:avgError}=await supabase.from(\"ratings\").select(\"rating\").eq(\"page_id\",pageId);if(avgError){console.error(\"Error fetching average rating:\",avgError);return;}if(ratings&&ratings.length>0){const avg=ratings.reduce((acc,curr)=>acc+curr.rating,0)/ratings.length;setAverageRating(Math.round(avg*10)/10);setReviewCount(ratings.length)// Set the review count\n;}else{setReviewCount(0)// Set to 0 if no ratings\n;}}catch(error){console.error(\"Error in fetchRatings:\",error);}};fetchRatings();// Set up real-time subscription for ratings\nconst ratingsChannel=supabase.channel(\"ratings_changes\").on(\"postgres_changes\",{event:\"*\",schema:\"public\",table:\"ratings\",filter:`page_id=eq.${pageId}`},async payload=>{console.log(\"Received rating change:\",payload);// Refetch average rating and review count when any rating changes\nconst{data:ratings,error}=await supabase.from(\"ratings\").select(\"rating\").eq(\"page_id\",pageId);if(!error){if(ratings&&ratings.length>0){const avg=ratings.reduce((acc,curr)=>acc+curr.rating,0)/ratings.length;setAverageRating(Math.round(avg*10)/10);setReviewCount(ratings.length)// Update review count\n;}else{setAverageRating(0);setReviewCount(0)// Reset if no ratings\n;}}}).subscribe();return()=>{supabase.removeChannel(ratingsChannel);};},[pageId,user_data.id]);const handleRating=async newRating=>{if(!user_data.id){setShowError(true);setTimeout(()=>setShowError(false),3e3)// Hide error after 3 seconds\n;return;}setLoading(true);try{// Check if user already has a rating\nconst{data:existingRating}=await supabase.from(\"ratings\").select(\"id\").eq(\"page_id\",pageId).eq(\"user_id\",user_data.id).single();if(existingRating){// Update existing rating\nconst{error}=await supabase.from(\"ratings\").update({rating:newRating}).eq(\"id\",existingRating.id);if(error)throw error;}else{// Insert new rating\nconst{error}=await supabase.from(\"ratings\").insert([{rating:newRating,user_id:user_data.id,user_name:user_data.name||\"Anonymous\",page_id:pageId}]);if(error)throw error;}setRating(newRating);}catch(error){console.error(\"Error updating rating:\",error);}finally{setLoading(false);}};const starVariants={initial:{scale:1},hover:{scale:1.2},tap:{scale:.9}};const renderStar=index=>{const isActive=hoverRating?index<=hoverRating:index<=rating;const color=isActive?activeColor:inactiveColor;return /*#__PURE__*/_jsx(motion.svg,{width:size,height:size,viewBox:\"0 0 24 24\",fill:color,style:{cursor:\"pointer\",marginRight:4},variants:starVariants,initial:\"initial\",whileHover:\"hover\",whileTap:\"tap\",onHoverStart:()=>setHoverRating(index),onHoverEnd:()=>setHoverRating(0),onClick:()=>handleRating(index),children:/*#__PURE__*/_jsx(\"path\",{d:\"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z\"})},index);};return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",gap:8},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\"},children:[1,2,3,4,5].map(index=>renderStar(index))}),averageRating>0&&/*#__PURE__*/_jsxs(\"div\",{style:{fontSize,color:fontColor,display:\"flex\",alignItems:\"center\",gap:4,fontFamily:\"Space Grotesk, sans-serif\"},children:[/*#__PURE__*/_jsx(\"span\",{children:\"Average Rating:\"}),/*#__PURE__*/_jsx(\"span\",{style:{fontWeight:600},children:averageRating.toFixed(1)}),/*#__PURE__*/_jsxs(\"span\",{children:[\"(\",reviewCount,\" \",reviewCount===1?\"review\":\"reviews\",\")\"]})]}),loading&&/*#__PURE__*/_jsx(\"div\",{style:{fontSize,color:fontColor,fontFamily:\"Space Grotesk, sans-serif\"},children:\"Updating...\"}),showError&&/*#__PURE__*/_jsx(\"div\",{style:{fontSize,color:\"#ff0000\",fontFamily:\"Space Grotesk, sans-serif\"},children:\"Please login first\"})]});}addPropertyControls(StarReview,{pageId:{title:\"Page ID\",type:ControlType.String,defaultValue:\"home-page\"},size:{title:\"Star Size\",type:ControlType.Number,defaultValue:24,min:12,max:48,step:4},activeColor:{title:\"Active Color\",type:ControlType.Color,defaultValue:\"#FFD700\"},inactiveColor:{title:\"Inactive Color\",type:ControlType.Color,defaultValue:\"#E0E0E0\"},fontSize:{title:\"Font Size\",type:ControlType.Number,defaultValue:14,min:10,max:24,step:1},fontColor:{title:\"Font Color\",type:ControlType.Color,defaultValue:\"#666\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StarReview\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StarReview.map", "import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{createClient}from\"@supabase/supabase-js\";import*as faCore from\"https://cdn.framerauth.com/packages/overrides/core/live/latest/core.js\";import{motion,AnimatePresence}from\"framer-motion\";// Initialize Supabase client\nconst supabaseUrl=\"https://hdwrljquydrzeprnllnl.supabase.co\";const supabaseAnonKey=\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imhkd3JsanF1eWRyemVwcm5sbG5sIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NDYyNjk3MzUsImV4cCI6MjA2MTg0NTczNX0.oW8qgBSaV_1iILbIMV4M9FRHmPOjtwQUUMth--AxiXg\";const supabase=createClient(supabaseUrl,supabaseAnonKey);// Initial Avatar component\nfunction InitialAvatar({name,backgroundColor,textColor,fontSize}){const initial=name?name[0]?.toUpperCase():\"?\";return /*#__PURE__*/_jsx(\"div\",{style:{width:40,height:40,borderRadius:\"50%\",backgroundColor,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",fontSize,fontWeight:700,color:textColor,fontFamily:\"Inter, Arial, sans-serif\",flexShrink:0},children:initial});}// List of bad words for filtering\nconst badWords=[\"badword1\",\"badword2\",\"badword3\"];function containsBadWords(text){const lowerText=text.toLowerCase();return badWords.some(word=>lowerText.includes(word.toLowerCase()));}// Function to format timestamp\nfunction formatRelativeTime(dateStr){const commentDate=new Date(dateStr);const now=new Date;const diffInMs=now.getTime()-commentDate.getTime();const diffInMinutes=Math.floor(diffInMs/(1e3*60));const diffInHours=Math.floor(diffInMs/(1e3*60*60));const diffInDays=Math.floor(diffInMs/(1e3*60*60*24));const diffInYears=now.getFullYear()-commentDate.getFullYear();if(diffInMinutes<60){return`${diffInMinutes} ${diffInMinutes===1?\"minute\":\"minutes\"} ago`;}else if(diffInHours<24){return`${diffInHours} ${diffInHours===1?\"hour\":\"hours\"} ago`;}else if(diffInYears>=1){return commentDate.toLocaleString(\"en-US\",{month:\"long\",day:\"numeric\",year:\"numeric\"});}else{return commentDate.toLocaleString(\"en-US\",{month:\"long\",day:\"numeric\"});}}export default function ThreadedCommentSection(props){const{pageId,backgroundColor,borderColor,borderRadius,borderWidth,padding,fontFamily,fontSize,textColor,commentTitleColor,commentTextColor,accentColor,secondaryColor,avatarBackgroundColor,avatarTextColor,avatarFontSize,inputBackgroundColor,inputBorderColor,inputTextColor,buttonBackgroundColor,buttonTextColor,buttonFontFamily,buttonBorderRadius,sortDropdownBorderRadius,likeIconColor,shadow,spacing,maxWidth,replyDeleteFontSize,commentsPerPage,paginationButtonBackgroundColor,paginationButtonTextColor,paginationButtonFontSize,paginationButtonFontFamily,paginationButtonBorderRadius,paginationButtonPadding,paginationTextColor,paginationFontSize,paginationFontFamily,weightLikes,weightNewest,weightOldest,loadMoreButtonBackgroundColor,loadMoreButtonTextColor,loadMoreButtonFontSize,loadMoreButtonFontFamily,loadMoreButtonBorderRadius,loadMoreButtonPadding,commentsTitle}=props;const{store}=faCore.useStore();const user_data={id:store.user?.id,email:store.user?.email,name:store.user?.first_name,linkedin:store.user?.last_name};const[comments,setComments]=React.useState([]);const[replies,setReplies]=React.useState([]);const[newComment,setNewComment]=React.useState(\"\");const[replyingTo,setReplyingTo]=React.useState(null);const[replyText,setReplyText]=React.useState(\"\");const[loading,setLoading]=React.useState(false);const[deleteConfirm,setDeleteConfirm]=React.useState({commentId:null,replyId:null});const[sortBy,setSortBy]=React.useState(\"relevance\");const[currentPage,setCurrentPage]=React.useState(1);const[expandedComments,setExpandedComments]=React.useState([]);const[visibleReplies,setVisibleReplies]=React.useState({});const[showLoginError,setShowLoginError]=React.useState(false);// Fetch comments and replies\nReact.useEffect(()=>{const fetchData=async()=>{try{const{data:commentsData,error:commentsError}=await supabase.from(\"comments\").select(\"*\").eq(\"page_id\",pageId);if(commentsError)throw commentsError;if(!commentsData){setComments([]);setReplies([]);return;}const{data:repliesData,error:repliesError}=await supabase.from(\"replies\").select(\"*\").in(\"comment_id\",commentsData.map(c=>c.id)).order(\"created_at\",{ascending:true});if(repliesError)throw repliesError;setComments(commentsData);setReplies(repliesData||[]);}catch(error){console.error(\"[ThreadedCommentSection] Error fetching data:\",error);}};fetchData();const commentsChannel=supabase.channel(\"comments_changes\").on(\"postgres_changes\",{event:\"*\",schema:\"public\",table:\"comments\",filter:`page_id=eq.${pageId}`},payload=>{if(payload.eventType===\"INSERT\"){setComments(prev=>[payload.new,...prev]);}else if(payload.eventType===\"DELETE\"){setComments(prev=>prev.filter(c=>c.id!==payload.old.id));}else if(payload.eventType===\"UPDATE\"){setComments(prev=>prev.map(c=>c.id===payload.new.id?payload.new:c));}}).subscribe();const repliesChannel=supabase.channel(\"replies_changes\").on(\"postgres_changes\",{event:\"*\",schema:\"public\",table:\"replies\"},payload=>{if(payload.eventType===\"INSERT\"){setReplies(prev=>[...prev,payload.new]);}else if(payload.eventType===\"DELETE\"){setReplies(prev=>prev.filter(r=>r.id!==payload.old.id));}else if(payload.eventType===\"UPDATE\"){setReplies(prev=>prev.map(r=>r.id===payload.new.id?payload.new:r));}}).subscribe();return()=>{supabase.removeChannel(commentsChannel);supabase.removeChannel(repliesChannel);};},[pageId]);async function handleSubmit(e){e.preventDefault();console.log(\"Form submitted, user_data.id:\",user_data.id,\"newComment:\",newComment);if(!newComment.trim()){setShowLoginError(false)// Clear error if input is empty\n;return;}if(containsBadWords(newComment)){setShowLoginError(false)// Clear login error for bad words\n;return;}if(!user_data.id){console.log(\"Setting showLoginError to true\");setShowLoginError(true);return;}setLoading(true);try{const{data,error}=await supabase.from(\"comments\").insert([{content:newComment,user_id:user_data.id,user_name:user_data.name||\"Anonymous\",page_id:pageId,likes:0}]).select();if(error)throw error;const{data:commentsData,error:commentsError}=await supabase.from(\"comments\").select(\"*\").eq(\"page_id\",pageId);if(!commentsError&&commentsData){setComments(commentsData);setCurrentPage(1);}setNewComment(\"\");setShowLoginError(false);}catch(error){console.error(\"[ThreadedCommentSection] Error submitting comment:\",error);}finally{setLoading(false);}}async function handleReplySubmit(e,commentId){e.preventDefault();if(!replyText.trim()||!user_data.id||containsBadWords(replyText))return;setLoading(true);try{const{data,error}=await supabase.from(\"replies\").insert([{content:replyText,user_id:user_data.id,user_name:user_data.name||\"Anonymous\",comment_id:commentId,likes:0}]).select();if(error)throw error;const{data:repliesData,error:repliesError}=await supabase.from(\"replies\").select(\"*\").in(\"comment_id\",comments.map(c=>c.id)).order(\"created_at\",{ascending:true});if(!repliesError&&repliesData){setReplies(repliesData);}setReplyingTo(null);setReplyText(\"\");}catch(error){console.error(\"[ThreadedCommentSection] Error submitting reply:\",error);}finally{setLoading(false);}}async function handleLike(commentId,replyId){if(!user_data.id)return;try{if(replyId===null){const comment=comments.find(c=>c.id===commentId);if(!comment)return;const likedBy=comment.liked_by||[];const hasLiked=likedBy.includes(user_data.id);const newLikedBy=hasLiked?likedBy.filter(id=>id!==user_data.id):[...likedBy,user_data.id];const newLikes=hasLiked?comment.likes-1:comment.likes+1;const{error}=await supabase.from(\"comments\").update({likes:newLikes,liked_by:newLikedBy}).eq(\"id\",commentId);if(error)throw error;setComments(prev=>prev.map(c=>c.id===commentId?{...c,likes:newLikes,liked_by:newLikedBy}:c));}else{const reply=replies.find(r=>r.id===replyId);if(!reply)return;const likedBy=reply.liked_by||[];const hasLiked=likedBy.includes(user_data.id);const newLikedBy=hasLiked?likedBy.filter(id=>id!==user_data.id):[...likedBy,user_data.id];const newLikes=hasLiked?reply.likes-1:reply.likes+1;const{error}=await supabase.from(\"replies\").update({likes:newLikes,liked_by:newLikedBy}).eq(\"id\",replyId);if(error)throw error;setReplies(prev=>prev.map(r=>r.id===replyId?{...r,likes:newLikes,liked_by:newLikedBy}:r));}}catch(error){console.error(\"[ThreadedCommentSection] Error updating likes:\",error);}}async function confirmDelete(commentId,replyId){try{if(replyId===null){const{error:repliesError}=await supabase.from(\"replies\").delete().eq(\"comment_id\",commentId);if(repliesError)throw repliesError;const{error:commentError}=await supabase.from(\"comments\").delete().eq(\"id\",commentId).eq(\"user_id\",user_data.id);if(commentError)throw commentError;setComments(prev=>prev.filter(c=>c.id!==commentId));setReplies(prev=>prev.filter(r=>r.comment_id!==commentId));}else{const{error}=await supabase.from(\"replies\").delete().eq(\"id\",replyId).eq(\"user_id\",user_data.id);if(error)throw error;setReplies(prev=>prev.filter(r=>r.id!==replyId));}}catch(error){console.error(\"[ThreadedCommentSection] Error in delete operation:\",error);}finally{setDeleteConfirm({commentId:null,replyId:null});}}const sortedComments=React.useMemo(()=>{let result=[...comments];if(sortBy===\"relevance\"){const maxLikes=Math.max(...result.map(c=>c.likes),1);const dates=result.map(c=>new Date(c.created_at).getTime());const newestDate=Math.max(...dates);const oldestDate=Math.min(...dates);const dateRange=newestDate-oldestDate||1;result=result.map(comment=>{const normalizedLikes=comment.likes/maxLikes;const commentDate=new Date(comment.created_at).getTime();const normalizedNewest=(commentDate-oldestDate)/dateRange;const normalizedOldest=(commentDate-newestDate)/(oldestDate-newestDate);const score=weightLikes*normalizedLikes+weightNewest*normalizedNewest+weightOldest*normalizedOldest;return{...comment,relevanceScore:score};}).sort((a,b)=>(b.relevanceScore||0)-(a.relevanceScore||0));}else if(sortBy===\"likes\"){result.sort((a,b)=>b.likes-a.likes);}else if(sortBy===\"old\"){result.sort((a,b)=>new Date(a.created_at).getTime()-new Date(b.created_at).getTime());}else{result.sort((a,b)=>new Date(b.created_at).getTime()-new Date(a.created_at).getTime());}return result;},[comments,sortBy,weightLikes,weightNewest,weightOldest]);// Pagination logic\nconst totalPages=Math.ceil(sortedComments.length/commentsPerPage);const startIndex=(currentPage-1)*commentsPerPage;const endIndex=startIndex+commentsPerPage;const paginatedComments=sortedComments.slice(startIndex,endIndex);const goToPreviousPage=()=>{if(currentPage>1){setCurrentPage(currentPage-1);}};const goToNextPage=()=>{if(currentPage<totalPages){setCurrentPage(currentPage+1);}};const toggleExpandComment=commentId=>{setExpandedComments(prev=>prev.includes(commentId)?prev.filter(id=>id!==commentId):[...prev,commentId]);};// Function to check if comment exceeds 2 lines\nconst isCommentLong=content=>{const lines=content.split(\"\\n\").length;const words=content.split(\" \").length;return lines>2||lines===2&&words>10// Rough estimate for 2 lines\n;};// Function to handle loading more replies\nconst loadMoreReplies=commentId=>{const currentVisible=visibleReplies[commentId]||3;const totalReplies=replies.filter(r=>r.comment_id===commentId).length;setVisibleReplies(prev=>({...prev,[commentId]:Math.min(currentVisible+3,totalReplies)}));};return /*#__PURE__*/_jsxs(\"div\",{style:{background:backgroundColor,borderRadius,border:`${borderWidth}px solid ${borderColor}`,boxShadow:shadow,padding:padding,fontFamily,color:textColor,position:\"relative\",width:\"100%\",maxWidth:\"1200px\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                    @media (max-width: 991px) {\n                        div[style*=\"maxWidth: 1200px\"] {\n                            max-width: 762px !important;\n                            padding: ${padding*.75}px !important;\n                        }\n                    }\n                    @media (max-width: 767px) {\n                        div[style*=\"maxWidth: 1200px\"] {\n                            max-width: 342px !important;\n                            padding: ${padding*.5}px !important;\n                        }\n                        textarea {\n                            font-size: ${fontSize*.9}px !important;\n                        }\n                        button {\n                            padding: 8px 16px !important;\n                            font-size: ${fontSize*.9}px !important;\n                        }\n                        select {\n                            font-size: ${fontSize*.9}px !important;\n                        }\n                    }\n                    .comment-content, .reply-content {\n                        word-break: break-word;\n                        overflow-wrap: break-word;\n                    }\n                    .comment-content {\n                        display: -webkit-box;\n                        -webkit-line-clamp: 2;\n                        -webkit-box-orient: vertical;\n                        overflow: hidden;\n                        text-overflow: ellipsis;\n                    }\n                    .comment-content.expanded {\n                        -webkit-line-clamp: unset;\n                    }\n                `}),/*#__PURE__*/_jsx(AnimatePresence,{children:deleteConfirm.commentId!==null||deleteConfirm.replyId!==null?/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},style:{position:\"fixed\",top:0,left:0,right:0,bottom:0,background:\"rgba(0,0,0,0.5)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",zIndex:1e3},children:/*#__PURE__*/_jsxs(motion.div,{initial:{scale:.8},animate:{scale:1},exit:{scale:.8},style:{background:\"#fff\",borderRadius:12,padding:24,maxWidth:400,width:\"90%\",textAlign:\"center\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsxs(\"h3\",{style:{marginBottom:16,color:\"#333\",fontSize:fontSize},children:[\"Are you sure you want to delete this\",\" \",deleteConfirm.replyId?\"reply\":\"comment\",\"?\"]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:16,justifyContent:\"center\",flexWrap:\"wrap\"},children:[/*#__PURE__*/_jsx(\"button\",{onClick:()=>confirmDelete(deleteConfirm.commentId,deleteConfirm.replyId),style:{background:accentColor,color:buttonTextColor,border:\"none\",borderRadius:buttonBorderRadius,padding:\"8px 20px\",fontWeight:600,fontSize,cursor:\"pointer\",fontFamily:buttonFontFamily},children:\"Yes\"}),/*#__PURE__*/_jsx(\"button\",{onClick:()=>setDeleteConfirm({commentId:null,replyId:null}),style:{background:secondaryColor,color:buttonTextColor,border:\"none\",borderRadius:buttonBorderRadius,padding:\"8px 20px\",fontWeight:600,fontSize,cursor:\"pointer\",fontFamily:buttonFontFamily},children:\"Cancel\"})]})]})}):null}),/*#__PURE__*/_jsxs(\"div\",{style:{marginBottom:spacing},children:[/*#__PURE__*/_jsx(\"h2\",{style:{fontSize:fontSize+4,color:commentTitleColor,fontWeight:700,marginBottom:10},children:commentsTitle}),/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"2px\",backgroundColor:\"#ffffff\"}})]}),/*#__PURE__*/_jsxs(\"div\",{style:{marginBottom:spacing,display:\"flex\",gap:12,alignItems:\"center\",flexWrap:\"wrap\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:fontSize-2,fontWeight:600},children:\"Sort by:\"}),/*#__PURE__*/_jsxs(\"select\",{value:sortBy,onChange:e=>setSortBy(e.target.value),style:{padding:\"6px 12px\",borderRadius:sortDropdownBorderRadius,border:`1px solid ${inputBorderColor}`,background:inputBackgroundColor,color:inputTextColor,fontFamily,fontSize:fontSize-2},children:[/*#__PURE__*/_jsx(\"option\",{value:\"relevance\",children:\"Relevance\"}),/*#__PURE__*/_jsx(\"option\",{value:\"new\",children:\"Newest\"}),/*#__PURE__*/_jsx(\"option\",{value:\"old\",children:\"Oldest\"}),/*#__PURE__*/_jsx(\"option\",{value:\"likes\",children:\"Most Likes\"})]})]}),/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleSubmit,style:{marginBottom:spacing},children:[/*#__PURE__*/_jsx(\"textarea\",{value:newComment,onChange:e=>setNewComment(e.target.value),placeholder:\"Add comment...\",style:{width:\"100%\",minHeight:80,borderRadius:buttonBorderRadius,border:`1px solid ${inputBorderColor}`,padding:12,fontSize,resize:\"vertical\",marginBottom:12,background:inputBackgroundColor,color:inputTextColor,fontFamily,boxSizing:\"border-box\"}}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",disabled:loading||containsBadWords(newComment),style:{background:buttonBackgroundColor,color:buttonTextColor,border:\"none\",borderRadius:buttonBorderRadius,padding:\"10px 24px\",fontWeight:600,fontSize,cursor:!containsBadWords(newComment)?\"pointer\":\"not-allowed\",opacity:!containsBadWords(newComment)?1:.5,float:\"right\",fontFamily:buttonFontFamily},children:loading?\"Submitting...\":\"Submit\"}),showLoginError&&/*#__PURE__*/_jsx(\"div\",{style:{color:\"#ff4d4f\",fontSize:fontSize-2,marginTop:8,clear:\"both\"},children:\"Please Log In First\"}),/*#__PURE__*/_jsx(\"div\",{style:{clear:\"both\"}})]}),/*#__PURE__*/_jsx(\"div\",{children:paginatedComments.map(comment=>{const commentReplies=replies.filter(reply=>reply.comment_id===comment.id);const visibleReplyCount=visibleReplies[comment.id]||3;const displayedReplies=commentReplies.slice(0,visibleReplyCount);const isExpanded=expandedComments.includes(comment.id);return /*#__PURE__*/_jsx(\"div\",{style:{marginBottom:spacing},children:/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"flex-start\",gap:16},children:[/*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsx(InitialAvatar,{name:comment.user_name,backgroundColor:avatarBackgroundColor,textColor:avatarTextColor,fontSize:avatarFontSize})}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,minWidth:0},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",marginBottom:8,gap:8,flexWrap:\"wrap\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontWeight:600,fontSize,color:commentTitleColor,wordBreak:\"break-word\"},children:comment.user_name}),/*#__PURE__*/_jsx(\"span\",{style:{color:secondaryColor,fontSize:fontSize-2},children:formatRelativeTime(comment.created_at)})]}),/*#__PURE__*/_jsxs(\"div\",{style:{marginBottom:12},children:[/*#__PURE__*/_jsx(\"div\",{className:`comment-content ${isExpanded?\"expanded\":\"\"}`,style:{fontSize,color:commentTextColor},children:comment.content}),isCommentLong(comment.content)&&/*#__PURE__*/_jsx(\"button\",{onClick:()=>toggleExpandComment(comment.id),style:{background:\"none\",border:\"none\",color:accentColor,fontSize:fontSize-2,cursor:\"pointer\",padding:0,marginTop:4},children:isExpanded?\"Read less\":\"Read more\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:20,marginBottom:12,flexWrap:\"wrap\"},children:[/*#__PURE__*/_jsxs(motion.span,{whileHover:{scale:1.1},style:{color:comment.liked_by?.includes(user_data.id)?likeIconColor:secondaryColor,fontWeight:600,fontSize:fontSize-1,display:\"flex\",alignItems:\"center\",gap:6,cursor:\"pointer\"},onClick:()=>handleLike(comment.id,null),children:[comment.liked_by?.includes(user_data.id)?/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",viewBox:\"0 0 24 24\",fill:likeIconColor,width:\"24px\",height:\"24px\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M7.493 18.5c-.425 0-.82-.236-.975-.632A7.48 7.48 0 0 1 6 15.125c0-1.75.599-3.358 1.602-4.634.151-.192.373-.309.6-.397.473-.183.89-.514 1.212-.924a9.042 9.042 0 0 1 2.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 0 0 .322-1.672V2.75A.75.75 0 0 1 15 2a2.25 2.25 0 0 1 2.25 2.25c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282m0 0h3.126c1.026 0 1.945.694 2.054 1.715.045.422.068.85.068 1.285a11.95 11.95 0 0 1-2.649 7.521c-.388.482-.987.729-1.605.729H14.23c-.483 0-.964-.078-1.423 -.23l-3.114-1.04a4.501 4.501 0 0 0-1.423 -.23h-.777ZM2.331 10.727a11.969 11.969 0 0 0-.831 4.398 12 12 0 0 0 .52 3.507C2.28 19.482 3.105 20 3.994 20H4.9c.445 0 .72-.498.523-.898a8.963 8.963 0 0 1-.924-3.977c0-1.708.476-3.305 1.302-4.666.245-.403-.028-.959-.5-.959H4.25c-.832 0-1.612.453-1.918 1.227Z\"})}):/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",fill:\"none\",viewBox:\"0 0 24 24\",strokeWidth:\"1.5\",stroke:\"currentColor\",width:\"24px\",height:\"24px\",children:/*#__PURE__*/_jsx(\"path\",{strokeLinecap:\"round\",strokeLinejoin:\"round\",d:\"M6.633 10.25c.806 0 1.533-.446 2.031-1.08a9.041 9.041 0 0 1 2.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 0 0 .322-1.672V2.75a.75.75 0 0 1 .75-.75 2.25 2.25 0 0 1 2.25 2.25c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282m0 0h3.126c1.026 0 1.945.694 2.054 1.715.045.422.068.85.068 1.285a11.95 11.95 0 0 1-2.649 7.521c-.388.482-.987.729-1.605.729H13.48c-.483 0-.964-.078-1.423 -.23l-3.114-1.04a4.501 4.501 0 0 0-1.423 -.23H5.904m10.598-9.75H14.25M5.904 18.5c.083.205.173.405.27.602.197.4-.078.898-.523.898h-.908c-.889 0-1.713-.518-1.972-1.368a12 12 0 0 1-.521-3.507c0-1.553.295-3.036.831-4.398C3.387 9.953 4.167 9.5 5 9.5h1.053c.472 0 .745.556.5.96a8.958 8.958 0 0 0-1.302 4.665c0 1.194.232 2.333.654 3.375Z\"})}),/*#__PURE__*/_jsx(\"span\",{style:{color:comment.liked_by?.includes(user_data.id)?likeIconColor:secondaryColor,fontWeight:comment.liked_by?.includes(user_data.id)?700:600},children:comment.likes})]}),user_data.id&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{style:{color:secondaryColor,fontSize:replyDeleteFontSize,cursor:\"pointer\",fontWeight:600},onClick:()=>setReplyingTo(comment.id),children:\"Reply\"}),user_data.id===comment.user_id&&/*#__PURE__*/_jsx(\"span\",{style:{color:\"#ff4d4f\",fontSize:replyDeleteFontSize,cursor:\"pointer\",fontWeight:600},onClick:()=>setDeleteConfirm({commentId:comment.id,replyId:null}),children:\"Delete\"})]})]}),/*#__PURE__*/_jsxs(\"div\",{children:[displayedReplies.map((reply,replyIndex)=>/*#__PURE__*/_jsxs(\"div\",{style:{marginBottom:replyIndex===displayedReplies.length-1?0:spacing,display:\"flex\",alignItems:\"flex-start\",marginLeft:40,borderLeft:`4px solid ${secondaryColor}`,paddingLeft:16,paddingTop:12,paddingBottom:12,paddingRight:16,background:`${secondaryColor}08`,borderRadius:8,boxShadow:\"0 1px 3px rgba(0,0,0,0.05)\",gap:16},children:[/*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsx(InitialAvatar,{name:reply.user_name,backgroundColor:avatarBackgroundColor,textColor:avatarTextColor,fontSize:avatarFontSize})}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,minWidth:0},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",marginBottom:8,gap:8,flexWrap:\"wrap\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontWeight:600,fontSize,color:commentTitleColor,wordBreak:\"break-word\"},children:reply.user_name}),/*#__PURE__*/_jsx(\"span\",{style:{color:secondaryColor,fontSize:fontSize-2},children:formatRelativeTime(reply.created_at)})]}),/*#__PURE__*/_jsx(\"div\",{className:\"reply-content\",style:{fontSize,marginBottom:12,color:commentTextColor,lineHeight:1.5},children:reply.content}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:20,flexWrap:\"wrap\"},children:[/*#__PURE__*/_jsxs(motion.span,{whileHover:{scale:1.1},style:{color:reply.liked_by?.includes(user_data.id)?likeIconColor:secondaryColor,fontWeight:600,fontSize:fontSize-1,display:\"flex\",alignItems:\"center\",gap:6,cursor:\"pointer\"},onClick:()=>handleLike(comment.id,reply.id),children:[reply.liked_by?.includes(user_data.id)?/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",viewBox:\"0 0 24 24\",fill:likeIconColor,width:\"24px\",height:\"24px\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M7.493 18.5c-.425 0-.82-.236-.975-.632A7.48 7.48 0 0 1 6 15.125c0-1.75.599-3.358 1.602-4.634.151-.192.373-.309.6-.397.473-.183.89-.514 1.212-.924a9.042 9.042 0 0 1 2.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 0 0 .322-1.672V2.75A.75.75 0 0 1 15 2a2.25 2.25 0 0 1 2.25 2.25c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282m0 0h3.126c1.026 0 1.945.694 2.054 1.715.045.422.068.85.068 1.285a11.95 11.95 0 0 1-2.649 7.521c-.388.482-.987.729-1.605.729H14.23c-.483 0-.964-.078-1.423 -.23l-3.114-1.04a4.501 4.501 0 0 0-1.423 -.23h-.777ZM2.331 10.727a11.969 11.969 0 0 0-.831 4.398 12 12 0 0 0 .52 3.507C2.28 19.482 3.105 20 3.994 20H4.9c.445 0 .72-.498.523-.898a8.963 8.963 0 0 1-.924-3.977c0-1.708.476-3.305 1.302-4.666.245-.403-.028-.959-.5-.959H4.25c-.832 0-1.612.453-1.918 1.227Z\"})}):/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",fill:\"none\",viewBox:\"0 0 24 24\",strokeWidth:\"1.5\",stroke:\"currentColor\",width:\"24px\",height:\"24px\",children:/*#__PURE__*/_jsx(\"path\",{strokeLinecap:\"round\",strokeLinejoin:\"round\",d:\"M6.633 10.25c.806 0 1.533-.446 2.031-1.08a9.041 9.041 0 0 1 2.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 0 0 .322-1.672V2.75a.75.75 0 0 1 .75-.75 2.25 2.25 0 0 1 2.25 2.25c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282m0 0h3.126c1.026 0 1.945.694 2.054 1.715.045.422.068.85.068 1.285a11.95 11.95 0 0 1-2.649 7.521c-.388.482-.987.729-1.605.729H13.48c-.483 0-.964-.078-1.423 -.23l-3.114-1.04a4.501 4.501 0 0 0-1.423 -.23H5.904m10.598-9.75H14.25M5.904 18.5c.083.205.173.405.27.602.197.4-.078.898-.523.898h-.908c-.889 0-1.713-.518-1.972-1.368a12 12 0 0 1-.521-3.507c0-1.553.295-3.036.831-4.398C3.387 9.953 4.167 9.5 5 9.5h1.053c.472 0 .745.556.5.96a8.958 8.958 0 0 0-1.302 4.665c0 1.194.232 2.333.654 3.375Z\"})}),/*#__PURE__*/_jsx(\"span\",{style:{color:reply.liked_by?.includes(user_data.id)?likeIconColor:secondaryColor,fontWeight:reply.liked_by?.includes(user_data.id)?700:600},children:reply.likes})]}),user_data.id===reply.user_id&&/*#__PURE__*/_jsx(\"span\",{style:{color:\"#ff4d4f\",fontSize:replyDeleteFontSize,cursor:\"pointer\",fontWeight:600},onClick:()=>setDeleteConfirm({commentId:comment.id,replyId:reply.id}),children:\"Delete\"})]})]})]},reply.id)),commentReplies.length>3&&visibleReplyCount<commentReplies.length&&/*#__PURE__*/_jsx(\"div\",{style:{marginLeft:40,marginTop:spacing},children:/*#__PURE__*/_jsx(\"button\",{onClick:()=>loadMoreReplies(comment.id),style:{background:loadMoreButtonBackgroundColor,color:loadMoreButtonTextColor,border:\"none\",borderRadius:loadMoreButtonBorderRadius,padding:loadMoreButtonPadding,fontWeight:600,fontSize:loadMoreButtonFontSize,cursor:\"pointer\",fontFamily:loadMoreButtonFontFamily},children:\"Load More Replies\"})}),replyingTo===comment.id&&user_data.id&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"flex-start\",marginLeft:40,borderLeft:`4px solid ${secondaryColor}`,paddingLeft:16,paddingTop:12,paddingBottom:12,paddingRight:16,marginTop:spacing,background:`${secondaryColor}08`,borderRadius:8,boxShadow:\"0 1px 3px rgba(0,0,0,0.05)\",gap:16},children:[/*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsx(InitialAvatar,{name:user_data.name||\"Anonymous\",backgroundColor:avatarBackgroundColor,textColor:avatarTextColor,fontSize:avatarFontSize})}),/*#__PURE__*/_jsxs(\"form\",{onSubmit:e=>handleReplySubmit(e,comment.id),style:{flex:1,minWidth:0},children:[/*#__PURE__*/_jsx(\"textarea\",{value:replyText,onChange:e=>setReplyText(e.target.value),placeholder:\"Write a reply...\",style:{width:\"100%\",minHeight:60,borderRadius:buttonBorderRadius,border:`1px solid ${inputBorderColor}`,padding:12,fontSize,resize:\"vertical\",marginBottom:12,background:inputBackgroundColor,color:inputTextColor,fontFamily,lineHeight:1.5,boxSizing:\"border-box\"}}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",disabled:loading||containsBadWords(replyText),style:{background:buttonBackgroundColor,color:buttonTextColor,border:\"none\",borderRadius:buttonBorderRadius,padding:\"8px 20px\",fontWeight:600,fontSize,cursor:!containsBadWords(replyText)?\"pointer\":\"not-allowed\",float:\"right\",fontFamily:buttonFontFamily,opacity:!containsBadWords(replyText)?1:.5},children:loading?\"Submitting...\":\"Reply\"}),/*#__PURE__*/_jsx(\"div\",{style:{clear:\"both\"}})]})]})]})]})]})},comment.id);})}),sortedComments.length>0&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",marginTop:spacing,flexWrap:\"wrap\",gap:12},children:[/*#__PURE__*/_jsxs(\"span\",{style:{color:paginationTextColor,fontSize:paginationFontSize,fontFamily:paginationFontFamily,fontWeight:600},children:[\"Page \",currentPage,\" of \",totalPages]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:8},children:[currentPage>1&&/*#__PURE__*/_jsx(\"button\",{onClick:goToPreviousPage,style:{background:paginationButtonBackgroundColor,color:paginationButtonTextColor,border:\"none\",borderRadius:paginationButtonBorderRadius,padding:paginationButtonPadding,fontWeight:600,fontSize:paginationButtonFontSize,cursor:\"pointer\",fontFamily:paginationButtonFontFamily},children:\"Previous\"}),currentPage<totalPages&&/*#__PURE__*/_jsx(\"button\",{onClick:goToNextPage,style:{background:paginationButtonBackgroundColor,color:paginationButtonTextColor,border:\"none\",borderRadius:paginationButtonBorderRadius,padding:paginationButtonPadding,fontWeight:600,fontSize:paginationButtonFontSize,cursor:\"pointer\",fontFamily:paginationButtonFontFamily},children:\"Next\"})]})]})]});}addPropertyControls(ThreadedCommentSection,{pageId:{type:ControlType.String,title:\"Page ID\",description:\"Unique identifier for this comment section\",defaultValue:\"home-page\"},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"#ffffff\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#e0e0e0\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:12,min:0,max:50,unit:\"px\"},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:1,min:0,max:10,unit:\"px\"},padding:{type:ControlType.Number,title:\"Padding\",defaultValue:32,min:0,max:100,unit:\"px\"},fontFamily:{type:ControlType.String,title:\"Font Family\",defaultValue:\"Inter, Arial, sans-serif\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:16,min:12,max:24,unit:\"px\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#333333\"},commentTitleColor:{type:ControlType.Color,title:\"Comment Title Color\",defaultValue:\"#333333\"},commentTextColor:{type:ControlType.Color,title:\"Comment Text Color\",defaultValue:\"#333333\"},accentColor:{type:ControlType.Color,title:\"Accent Color\",defaultValue:\"#ff6600\"},secondaryColor:{type:ControlType.Color,title:\"Secondary Color\",defaultValue:\"#888888\"},avatarBackgroundColor:{type:ControlType.Color,title:\"Avatar Background\",defaultValue:\"#6200ea\"},avatarTextColor:{type:ControlType.Color,title:\"Avatar Text Color\",defaultValue:\"#ffffff\"},avatarFontSize:{type:ControlType.Number,title:\"Avatar Font Size\",defaultValue:18,min:12,max:24,unit:\"px\"},inputBackgroundColor:{type:ControlType.Color,title:\"Input Background\",defaultValue:\"#f8f8f8\"},inputBorderColor:{type:ControlType.Color,title:\"Input Border Color\",defaultValue:\"#e0e0e0\"},inputTextColor:{type:ControlType.Color,title:\"Input Text Color\",defaultValue:\"#333333\"},buttonBackgroundColor:{type:ControlType.Color,title:\"Button Background\",defaultValue:\"#ff6600\"},buttonTextColor:{type:ControlType.Color,title:\"Button Text Color\",defaultValue:\"#ffffff\"},buttonFontFamily:{type:ControlType.String,title:\"Button Font Family\",defaultValue:\"Inter, Arial, sans-serif\"},buttonBorderRadius:{type:ControlType.Number,title:\"Button Border Radius\",defaultValue:6,min:0,max:20,unit:\"px\"},sortDropdownBorderRadius:{type:ControlType.Number,title:\"Sort Dropdown Border Radius\",defaultValue:6,min:0,max:20,unit:\"px\"},likeIconColor:{type:ControlType.Color,title:\"Like Icon Color\",defaultValue:\"#ff6600\"},shadow:{type:ControlType.String,title:\"Shadow\",defaultValue:\"0 2px 8px rgba(0,0,0,0.06)\"},spacing:{type:ControlType.Number,title:\"Spacing\",defaultValue:24,min:8,max:48,unit:\"px\"},maxWidth:{type:ControlType.Number,title:\"Max Width\",defaultValue:1200,min:300,max:1400,unit:\"px\"},replyDeleteFontSize:{type:ControlType.Number,title:\"Reply/Delete Font Size\",defaultValue:14,min:10,max:20,unit:\"px\"},commentsPerPage:{type:ControlType.Number,title:\"Comments Per Page\",defaultValue:10,min:1,max:50,unit:\"comments\"},paginationButtonBackgroundColor:{type:ControlType.Color,title:\"Pagination Button Background\",defaultValue:\"#ff6600\"},paginationButtonTextColor:{type:ControlType.Color,title:\"Pagination Button Text Color\",defaultValue:\"#ffffff\"},paginationButtonFontSize:{type:ControlType.Number,title:\"Pagination Button Font Size\",defaultValue:14,min:10,max:20,unit:\"px\"},paginationButtonFontFamily:{type:ControlType.String,title:\"Pagination Button Font Family\",defaultValue:\"Inter, Arial, sans-serif\"},paginationButtonBorderRadius:{type:ControlType.Number,title:\"Pagination Button Border Radius\",defaultValue:6,min:0,max:20,unit:\"px\"},paginationButtonPadding:{type:ControlType.String,title:\"Pagination Button Padding\",defaultValue:\"8px 16px\"},paginationTextColor:{type:ControlType.Color,title:\"Pagination Text Color\",defaultValue:\"#333333\"},paginationFontSize:{type:ControlType.Number,title:\"Pagination Font Size\",defaultValue:14,min:10,max:20,unit:\"px\"},paginationFontFamily:{type:ControlType.String,title:\"Pagination Font Family\",defaultValue:\"Inter, Arial, sans-serif\"},weightLikes:{type:ControlType.Number,title:\"Weight Likes\",defaultValue:.6,min:0,max:1,step:.1},weightNewest:{type:ControlType.Number,title:\"Weight Newest\",defaultValue:.3,min:0,max:1,step:.1},weightOldest:{type:ControlType.Number,title:\"Weight Oldest\",defaultValue:.1,min:0,max:1,step:.1},loadMoreButtonBackgroundColor:{type:ControlType.Color,title:\"Load More Button Background\",defaultValue:\"#f0f0f0\"},loadMoreButtonTextColor:{type:ControlType.Color,title:\"Load More Button Text Color\",defaultValue:\"#333333\"},loadMoreButtonFontSize:{type:ControlType.Number,title:\"Load More Button Font Size\",defaultValue:14,min:10,max:20,unit:\"px\"},loadMoreButtonFontFamily:{type:ControlType.String,title:\"Load More Button Font Family\",defaultValue:\"Inter, Arial, sans-serif\"},loadMoreButtonBorderRadius:{type:ControlType.Number,title:\"Load More Button Border Radius\",defaultValue:6,min:0,max:20,unit:\"px\"},loadMoreButtonPadding:{type:ControlType.String,title:\"Load More Button Padding\",defaultValue:\"8px 16px\"},commentsTitle:{type:ControlType.String,title:\"Comments Title\",defaultValue:\"Comments\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ThreadedCommentSection\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ThreadedCommentSection.map"],
  "mappings": "mOAEA,IAAMA,GAAY,2CAAiDC,GAAgB,mNAAyNC,EAASC,GAAaH,GAAYC,EAAe,EAG3U,SAARG,GAA4BC,EAAM,CAAC,GAAK,CAAC,OAAAC,EAAO,KAAAC,EAAK,YAAAC,EAAY,cAAAC,EAAc,SAAAC,EAAS,UAAAC,CAAS,EAAEN,EAAW,CAAC,MAAAO,CAAK,EAASC,GAAS,EAAO,CAACC,EAAOC,EAAS,EAAEC,EAAS,CAAC,EAAO,CAACC,EAAcC,CAAgB,EAAEF,EAAS,CAAC,EAAO,CAACG,EAAYC,CAAc,EAAEJ,EAAS,CAAC,EAC9Q,CAACK,EAAQC,CA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E,cAAc,CAAC,KAAKA,EAAY,OAAO,MAAM,iBAAiB,aAAa,UAAU,CAAC,CAAC",
  "names": ["supabaseUrl", "supabaseAnonKey", "supabase", "createClient", "StarReview", "props", "pageId", "size", "activeColor", "inactiveColor", "fontSize", "fontColor", "store", "f", "rating", "setRating", "ye", "averageRating", "setAverageRating", "reviewCount", "setReviewCount", "loading", "setLoading", "hoverRating", "setHoverRating", "showError", "setShowError", "user_data", "ue", "userRating", "userError", "ratings", "avgError", "avg", "acc", "curr", "error", "ratingsChannel", "payload", "handleRating", "newRating", "existingRating", "starVariants", "renderStar", "index", "color", "p", "motion", "u", "addPropertyControls", "ControlType", "supabaseUrl", "supabaseAnonKey", "supabase", "createClient", "InitialAvatar", "name", "backgroundColor", "textColor", "fontSize", "initial", "p", "badWords", "containsBadWords", "text", "lowerText", "word", "formatRelativeTime", "dateStr", "commentDate", "now", "diffInMs", "diffInMinutes", "diffInHours", "diffInDays", "diffInYears", "ThreadedCommentSection", "props", "pageId", "borderColor", "borderRadius", "borderWidth", "padding", "fontFamily", "commentTitleColor", "commentTextColor", "accentColor", "secondaryColor", "avatarBackgroundColor", "avatarTextColor", "avatarFontSize", "inputBackgroundColor", "inputBorderColor", "inputTextColor", "buttonBackgroundColor", "buttonTextColor", "buttonFontFamily", "buttonBorderRadius", "sortDropdownBorderRadius", "likeIconColor", "shadow", "spacing", "maxWidth", "replyDeleteFontSize", "commentsPerPage", "paginationButtonBackgroundColor", "paginationButtonTextColor", "paginationButtonFontSize", "paginationButtonFontFamily", "paginationButtonBorderRadius", "paginationButtonPadding", "paginationTextColor", "paginationFontSize", "paginationFontFamily", "weightLikes", "weightNewest", "weightOldest", "loadMoreButtonBackgroundColor", "loadMoreButtonTextColor", "loadMoreButtonFontSize", "loadMoreButtonFontFamily", "loadMoreButtonBorderRadius", "loadMoreButtonPadding", "commentsTitle", "store", "f", "user_data", "comments", "setComments", "ye", "replies", "setReplies", "newComment", "setNewComment", "replyingTo", "setReplyingTo", "replyText", "setReplyText", "loading", "setLoading", "deleteConfirm", "setDeleteConfirm", "sortBy", "setSortBy", "currentPage", "setCurrentPage", "expandedComments", "setExpandedComments", "visibleReplies", "setVisibleReplies", "showLoginError", "setShowLoginError", "ue", "commentsData", "commentsError", "repliesData", "repliesError", "c", "error", "commentsChannel", "payload", "prev", "repliesChannel", "handleSubmit", "data", "handleReplySubmit", "commentId", "handleLike", "replyId", "comment", "likedBy", "hasLiked", "newLikedBy", "id", "newLikes", "reply", "r", "confirmDelete", "commentError", "sortedComments", "se", "result", "maxLikes", "dates", "newestDate", "oldestDate", "dateRange", "normalizedLikes", "normalizedNewest", "normalizedOldest", "score", "a", "b", "totalPages", "startIndex", "endIndex", "paginatedComments", "goToPreviousPage", "goToNextPage", "toggleExpandComment", "isCommentLong", "content", "lines", "words", "loadMoreReplies", "currentVisible", "totalReplies", "u", "AnimatePresence", "motion", "commentReplies", "visibleReplyCount", "displayedReplies", "isExpanded", "l", "replyIndex", "e", "addPropertyControls", "ControlType"]
}
