hive-react-kit 0.4.8 → 0.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,6 +13,7 @@ interface HiveContributionsLandingProps {
13
13
  isDividerShow?: boolean;
14
14
  dividerColor?: string;
15
15
  isExpensesCTA?: boolean;
16
+ onViewExpenses?: () => void;
16
17
  extraSupporters?: SupporterItem[];
17
18
  }
18
19
  declare const HiveContributionsLanding: React.FC<HiveContributionsLandingProps>;
package/dist/index.cjs.js CHANGED
@@ -1087,9 +1087,7 @@ and ensure you are accounting for this risk.
1087
1087
  transition-colors cursor-pointer`,children:t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx("img",{src:xe.userAvatar(f.follower),alt:f.follower,className:"w-12 h-12 rounded-full object-cover",onError:h=>{h.target.src=`https://ui-avatars.com/api/?name=${f.follower}&background=random`}}),t.jsx("div",{className:"flex-1 min-w-0",children:t.jsxs("h3",{className:"font-semibold text-gray-900 dark:text-white truncate",children:["@",f.follower]})})]})},`${f.follower}-${o}`))})})},Bd=({username:e,onSelectUser:a})=>{const[s,i]=T.useState([]),[r,n]=T.useState(!0),[u,c]=T.useState(null),d=async()=>{try{n(!0),c(null);const f=await xe.getFollowing(e);i(f)}catch(f){c(f instanceof Error?f.message:"Failed to load following list")}finally{n(!1)}};return T.useEffect(()=>{d()},[e]),r?t.jsx("div",{className:"flex items-center justify-center min-h-[400px]",children:t.jsxs("div",{className:"flex items-center gap-2 text-gray-500 dark:text-gray-400",children:[t.jsx(q.Loader2,{className:"w-5 h-5 animate-spin"}),"Loading following list..."]})}):u?t.jsx("div",{className:"flex flex-col items-center justify-center min-h-[400px] space-y-4",children:t.jsxs("div",{className:"text-center",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white mb-2",children:"Failed to load following list"}),t.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-4",children:u}),t.jsxs("button",{onClick:d,className:"m-2 inline-flex items-center justify-center rounded-md border border-input text-gray-400 cursor-pointer bg-background p-2 text-sm font-medium text-foreground shadow-sm transition-colors hover:bg-accent hover:text-accent-foreground disabled:opacity-50 disabled:pointer-events-none",children:[t.jsx(q.RefreshCw,{className:"w-4 h-4 mr-2"}),"Try Again"]})]})}):s.length===0?t.jsx("div",{className:"flex items-center justify-center min-h-[400px]",children:t.jsx("p",{className:"text-gray-500 dark:text-gray-400",children:"This user is not following anyone."})}):t.jsx("div",{className:"space-y-6",children:t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4",children:s.map((f,o)=>t.jsx("div",{onClick:()=>a&&a(f.following),className:`bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700
1088
1088
  rounded-xl p-4 hover:bg-gray-300 dark:hover:bg-gray-700
1089
1089
  transition-colors cursor-pointer`,children:t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx("img",{src:xe.userAvatar(f.following),alt:f.following,className:"w-12 h-12 rounded-full object-cover",onError:h=>{h.target.src=`https://ui-avatars.com/api/?name=${f.following}&background=random`}}),t.jsx("div",{className:"flex-1 min-w-0",children:t.jsxs("h3",{className:"font-semibold text-gray-900 dark:text-white truncate",children:["@",f.following]})})]})},`${f.following}-${o}`))})})},qd=({username:e})=>{const[a,s]=T.useState(null),[i,r]=T.useState(!0),[n,u]=T.useState(null),c=async()=>{try{r(!0),u(null);const l=await xe.getProfile(e);s(l)}catch(l){u(l instanceof Error?l.message:"Failed to load user details")}finally{r(!1)}};T.useEffect(()=>{c()},[e]);const d=l=>{try{return new Date(l).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}catch{return l}},f=l=>l.replace(/<[^>]*>/g,"");if(i)return t.jsx("div",{className:"flex items-center justify-center min-h-[400px]",children:t.jsxs("div",{className:"flex items-center gap-2 text-gray-500 dark:text-gray-400",children:[t.jsx(q.Loader2,{className:"w-5 h-5 animate-spin"}),"Loading user details..."]})});if(n)return t.jsx("div",{className:"flex flex-col items-center justify-center min-h-[400px] space-y-4",children:t.jsxs("div",{className:"text-center",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white mb-2",children:"Failed to load user details"}),t.jsx("p",{className:"text-gray-500 dark:text-gray-400 mb-4",children:n}),t.jsxs("button",{onClick:c,className:"m-2 inline-flex items-center justify-center rounded-md border border-input bg-background p-2 text-sm font-medium text-foreground shadow-sm transition-colors hover:bg-accent hover:text-accent-foreground disabled:opacity-50 disabled:pointer-events-none",children:[t.jsx(q.RefreshCw,{className:"w-4 h-4"}),"Try Again"]})]})});if(!a?.result)return t.jsx("div",{className:"flex items-center justify-center min-h-[400px]",children:t.jsx("p",{className:"text-gray-500 dark:text-gray-400",children:"No user details available"})});const o=a.result,h=o.metadata?.profile;return t.jsx("div",{className:"space-y-6",children:t.jsxs("div",{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-xl p-6",children:[h?.about&&t.jsxs("div",{className:"mb-6",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white mb-3",children:"About"}),t.jsx("div",{className:"text-gray-600 dark:text-gray-300 leading-relaxed whitespace-pre-wrap",children:f(h.about)})]}),t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:[t.jsxs("div",{className:"bg-gray-50 dark:bg-gray-900 p-4 rounded-lg",children:[t.jsx("h4",{className:"text-sm font-medium text-gray-500 dark:text-gray-400 mb-1",children:"Location"}),t.jsx("p",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:h?.location||"Not specified"})]}),t.jsxs("div",{className:"bg-gray-50 dark:bg-gray-900 p-4 rounded-lg",children:[t.jsx("h4",{className:"text-sm font-medium text-gray-500 dark:text-gray-400 mb-1",children:"Website"}),t.jsx("a",{href:h?.website,target:"_blank",rel:"noopener noreferrer",className:"text-lg font-semibold text-blue-500 hover:underline",children:h?.website||"Not specified"})]}),t.jsxs("div",{className:"bg-gray-50 dark:bg-gray-900 p-4 rounded-lg",children:[t.jsx("h4",{className:"text-sm font-medium text-gray-500 dark:text-gray-400 mb-1",children:"Joined"}),t.jsx("p",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:o.created?d(o.created):"Unknown"})]}),t.jsxs("div",{className:"bg-gray-50 dark:bg-gray-900 p-4 rounded-lg",children:[t.jsx("h4",{className:"text-sm font-medium text-gray-500 dark:text-gray-400 mb-1",children:"Followers"}),t.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:o.stats?.followers?.toLocaleString()||"0"})]}),t.jsxs("div",{className:"bg-gray-50 dark:bg-gray-900 p-4 rounded-lg",children:[t.jsx("h4",{className:"text-sm font-medium text-gray-500 dark:text-gray-400 mb-1",children:"Following"}),t.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:o.stats?.following?.toLocaleString()||"0"})]}),t.jsxs("div",{className:"bg-gray-50 dark:bg-gray-900 p-4 rounded-lg",children:[t.jsx("h4",{className:"text-sm font-medium text-gray-500 dark:text-gray-400 mb-1",children:"Post Count"}),t.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:o.post_count?.toLocaleString()||"0"})]})]})]})})},wm=({username:e,onVideoClick:a,onAuthorClick:s,onBack:i,onClickUserInfoTab:r,onClickFollowersTab:n,onClickFollowingTab:u,onBookmarkToggle:c,onRss:d,onShare:f,onMoreMenu:o,showMoreMenu:h=!1})=>{const[l,p]=T.useState("videos"),[y,w]=T.useState(null),[b,g]=T.useState(!1),[v,N]=T.useState(!0);T.useEffect(()=>{(async()=>{try{N(!0);const D=await xe.getProfile(e);w(D)}catch(D){console.error("Failed to fetch user details:",D)}finally{N(!1)}})()},[e]);const j=()=>{if(f)f(e);else{const E=`https://3speak.tv/user/${e}`;navigator.share?navigator.share({title:y?.result?.name||e,url:E}):navigator.clipboard.writeText(E)}},x=()=>{d?d(e):window.open(`https://3speak.tv/rss/${e}.xml`,"_blank")},m=E=>{s(E)};if(v)return t.jsx("div",{className:"space-y-6",children:t.jsxs("div",{className:"animate-pulse",children:[t.jsx("div",{className:"h-8 bg-gray-200 dark:bg-gray-700 rounded w-32 mb-6"}),t.jsxs("div",{className:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-xl p-6",children:[t.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[t.jsx("div",{className:"w-16 h-16 bg-gray-200 dark:bg-gray-700 rounded-full"}),t.jsxs("div",{className:"flex-1 space-y-2",children:[t.jsx("div",{className:"h-6 bg-gray-200 dark:bg-gray-700 rounded w-48"}),t.jsx("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-32"})]})]}),t.jsx("div",{className:"flex gap-2",children:Array.from({length:4}).map((E,D)=>t.jsx("div",{className:"h-10 bg-gray-200 dark:bg-gray-700 rounded w-20"},D))})]})]})});const k=y?.result,_=k?.metadata?.profile;return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("button",{onClick:i,className:"flex items-center justify-center mr-4 px-2 text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700 rounded-full",children:[t.jsx(q.ArrowLeft,{className:"w-4 h-4 mr-2"}),"Back"]}),t.jsxs("div",{className:"relative bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-xl overflow-hidden",children:[t.jsx("img",{src:_.cover_image||xe.userAvatar(e),alt:"Cover",className:"w-full h-48 object-cover",onError:E=>{E.target.src=xe.userAvatar(e)}}),t.jsx("div",{className:"p-6",children:t.jsxs("div",{className:"flex flex-col md:flex-row items-start md:items-center gap-6",children:[t.jsx("img",{src:_?.profile_image,alt:_?.name,className:"w-24 h-24 rounded-full object-cover border-4 border-white dark:border-gray-800 -mt-16",onError:E=>{E.target.src=xe.userAvatar(e)}}),t.jsxs("div",{className:"flex-1",children:[t.jsx("h1",{className:"text-2xl font-bold text-gray-900 dark:text-white mb-2",children:_?.name||e}),t.jsx("p",{className:"text-gray-600 dark:text-gray-400 mb-4",children:_?.about||"No description available"}),t.jsxs("div",{className:"flex flex-wrap gap-6 text-sm",children:[t.jsxs("div",{className:"flex items-center gap-2 text-gray-500 dark:text-gray-400",children:[t.jsx(q.Users,{className:"w-4 h-4"}),t.jsxs("span",{children:[(k?.stats?.followers||0).toLocaleString()," Followers"]})]}),t.jsxs("div",{className:"flex items-center gap-2 text-gray-500 dark:text-gray-400",children:[t.jsx(q.Users,{className:"w-4 h-4"}),t.jsxs("span",{children:[(k?.stats?.following||0).toLocaleString()," Following"]})]}),t.jsxs("div",{className:"flex items-center gap-2 text-gray-500 dark:text-gray-400",children:[t.jsx(q.Calendar,{className:"w-4 h-4"}),t.jsxs("span",{children:["Joined"," ",k?.created?new Date(k.created).getFullYear():"Unknown"]})]})]})]}),t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(mo,{id:e,toastType:"user",onAdd:(E,D)=>{c?c(E,!0):console.log("Added:",E,D)},onRemove:(E,D)=>{c?c(E,!1):console.log("Removed:",E,D)}}),t.jsx("button",{onClick:x,className:"p-2 border border-gray-300 dark:border-gray-600 rounded-lg text-gray-700 dark:text-gray-300 hover:bg-gray-300 dark:hover:bg-gray-700",children:t.jsx(q.Rss,{className:"w-4 h-4"})}),t.jsx("button",{onClick:j,className:"p-2 border border-gray-300 dark:border-gray-600 rounded-lg text-gray-700 dark:text-gray-300 hover:bg-gray-300 dark:hover:bg-gray-700",children:t.jsx(q.Share2,{className:"w-4 h-4"})}),h&&t.jsx("button",{onClick:()=>{o&&o(e)},className:"p-2 border border-gray-300 dark:border-gray-600 rounded-lg text-gray-700 dark:text-gray-300 hover:bg-gray-300 dark:hover:bg-gray-700",children:t.jsx(q.MoreVertical,{className:"w-4 h-4"})})]})]})})]}),t.jsxs("div",{children:[t.jsx("div",{className:"grid grid-cols-4 bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-lg overflow-hidden",children:[{key:"videos",label:"Videos"},{key:"about",label:"User Info",callback:r},{key:"followers",label:"Followers",callback:n},{key:"following",label:"Following",callback:u}].map((E,D)=>t.jsx("button",{onClick:()=>{E.callback?E.callback():p(E.key)},className:`px-4 py-2 text-xs sm:text-sm font-medium transition-colors ${l===E.key?"bg-blue-600 dark:bg-blue-500 text-white":"text-gray-700 dark:text-gray-300 hover:bg-gray-300 dark:hover:bg-gray-700"}`,children:E.label},E.key))}),t.jsxs("div",{className:"mt-6",children:[l==="videos"&&t.jsx(dn,{feedType:Ze.USER,username:e,onVideoClick:a,onAuthorClick:s}),l==="about"&&t.jsx(qd,{username:e}),l==="followers"&&t.jsx(Fd,{username:e,onSelectUser:m}),l==="following"&&t.jsx(Bd,{username:e,onSelectUser:m})]})]})]})},Nm=e=>{window.open(e,"_blank")},jm=({app:e,backgroundColor:a,boxShadow:s})=>{const i=()=>{Nm(e.url)};return t.jsx("div",{className:"card hover-lift cursor-pointer transition-all duration-300 h-full",onClick:i,style:{backgroundColor:a??"rgba(15,23,42,0.9)",boxShadow:s??"0 18px 45px rgba(0,0,0,0.6)",border:"1px solid rgba(148,163,184,0.25)"},children:t.jsx("div",{className:"card-body p-6",children:t.jsxs("div",{className:"flex items-start gap-4",children:[t.jsx("div",{className:"flex-shrink-0",children:e.useCircleBackground!==!1?t.jsx("div",{className:"avatar",children:t.jsx("div",{className:"w-16 h-16 rounded-full",children:t.jsx("img",{src:e.imagePath,alt:`${e.name} logo`,className:"w-full h-full object-cover",onError:r=>{r.currentTarget.src="/placeholder.svg"}})})}):t.jsx("img",{src:e.imagePath,alt:`${e.name} logo`,className:"w-16 h-16 object-contain",onError:r=>{r.currentTarget.src="/placeholder.svg"}})}),t.jsxs("div",{className:"flex-1 min-w-0",children:[t.jsxs("div",{className:"flex items-start justify-between",children:[t.jsx("h3",{className:"card-title text-lg font-bold text-base-content mb-2 line-clamp-2",children:e.name}),e.isComingSoon&&t.jsx("div",{className:"badge badge-warning badge-sm",children:"Coming Soon"})]}),t.jsx("div",{className:"text-base-content/70 text-sm leading-relaxed",children:e.description.split(`
1090
- `).map((r,n)=>t.jsx("div",{className:"mb-1",children:r},n))})]})]})})})},km=()=>{const[e,a]=T.useState({width:typeof window<"u"?window.innerWidth:0,height:typeof window<"u"?window.innerHeight:0});T.useEffect(()=>{const n=()=>{a({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[]);const s=e.width<850,i=e.width<=1050&&e.width>=850,r=e.width>1050;return{isMobileView:s,isTabletView:i,isWebView:r,screenSize:e}},_m=({apps:e,cardBackgroundColor:a,cardShadow:s})=>{const{isMobileView:i,isTabletView:r}=km(),n=()=>i?"grid-cols-1":r?"grid-cols-2":"grid-cols-3";return t.jsx("div",{className:"container mx-auto px-4 lg:px-16",children:t.jsx("div",{className:`grid ${n()} gap-6 lg:gap-8`,children:e.map((u,c)=>t.jsx(jm,{app:u,backgroundColor:a,boxShadow:s},c))})})},Em=.07,Am=85,Sm=()=>{const[e,a]=T.useState({hiveUsd:Em,usdInr:Am}),[s,i]=T.useState(!0);return T.useEffect(()=>{(async()=>{try{const u=await(await fetch("https://api.coingecko.com/api/v3/simple/price?ids=hive&vs_currencies=usd,inr")).json();u?.hive?.usd&&u?.hive?.inr&&a({hiveUsd:u.hive.usd,usdInr:u.hive.inr/u.hive.usd})}catch{}finally{i(!1)}})()},[]),{rates:e,loading:s}},Cm={USD:{symbol:"$",suffix:"",locale:"en-US"},HIVE:{symbol:"",suffix:" HIVE",locale:"en-US"},INR:{symbol:"₹",suffix:"",locale:"en-IN"}},Ot={salary3:1250,salary2:900,rent:300,utilities:50,vps:175,devPrograms:15,domains:15,infraDepMonth:50,infraMaintMonth:20,furnDepMonth:30,infraCost:6e3,furnitureCost:2400},oe={accent:"#818cf8",error:"#f87171",errorBg:"rgba(248,113,113,0.12)",errorBorder:"rgba(248,113,113,0.3)",warning:"#fbbf24",warningBg:"rgba(251,191,36,0.15)",success:"#34d399",successBg:"rgba(52,211,153,0.15)",info:"#38bdf8",infoBg:"rgba(56,189,248,0.15)",primary:"#6366f1",primaryBg:"rgba(99,102,241,0.15)",progressTrack:"rgba(30,41,59,0.72)"},Dm=(e,a)=>e==="USD"?1:e==="INR"?a.usdInr:1/a.hiveUsd,Vd=(e,a)=>{const s=Dm(e,a);return{salary3:Math.round(Ot.salary3*s),salary2:Math.round(Ot.salary2*s),rent:Math.round(Ot.rent*s),utilities:Math.round(Ot.utilities*s),vps:Math.round(Ot.vps*s),devPrograms:Math.round(Ot.devPrograms*s),domains:Math.round(Ot.domains*s),infraDepMonth:Math.round(Ot.infraDepMonth*s),infraMaintMonth:Math.round(Ot.infraMaintMonth*s),furnDepMonth:Math.round(Ot.furnDepMonth*s),infraCost:Math.round(Ot.infraCost*s),furnitureCost:Math.round(Ot.furnitureCost*s)}},Tm=(e,a)=>{const{symbol:s,suffix:i,locale:r}=Cm[a],n=Math.round(e).toLocaleString(r);return`${s}${n}${i}`},Om=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Pm(e,a){const s=Vd(e,a),i=[];let r=1,n=1,u=1;const c=new Date(2022,0),d=new Date(2026,2),f=new Date(c);for(;f<=d;){const o=f.getFullYear(),h=f.getMonth(),l=f>=new Date(2022,6);l&&h===6&&!(o===2022&&h===6)&&(r*=.9,n*=.9,u*=.85);let p=s.salary3;o===2026&&h>=1&&(p=s.salary2),o>2026&&(p=s.salary2);const y=l?s.rent:0,w=l?s.utilities:0,b=l?s.vps:0,g=l?s.devPrograms:0,v=l?s.domains:0,N=l?Math.round(s.infraDepMonth*r):0,j=l?Math.round(s.infraMaintMonth*n):0,x=l?Math.round(s.furnDepMonth*u):0,m=p+y+w+b+g+v+N+j+x;i.push({year:o,month:h,label:`${Om[h]} ${o}`,salaries:p,rent:y,utilities:w,vps:b,devPrograms:g,domains:v,infraDepreciation:N,infraMaintenance:j,furnitureDepreciation:x,total:m}),f.setMonth(f.getMonth()+1)}return i}const Lm=({row:e,fmt:a,textColor:s,cardBackgroundColor:i,dividerColor:r})=>{const[n,u]=T.useState(!1),c=[];return c.push({label:"Salaries",value:e.salaries}),e.rent&&c.push({label:"Rent",value:e.rent}),e.utilities&&c.push({label:"Utilities",value:e.utilities}),e.vps&&c.push({label:"VPS & Hosting",value:e.vps}),e.devPrograms&&c.push({label:"Dev Programs",value:e.devPrograms}),e.domains&&c.push({label:"Domains",value:e.domains}),e.infraDepreciation&&c.push({label:"Infra Depreciation",value:e.infraDepreciation}),e.infraMaintenance&&c.push({label:"Infra Maintenance",value:e.infraMaintenance}),e.furnitureDepreciation&&c.push({label:"Furniture Depreciation",value:e.furnitureDepreciation}),t.jsxs("div",{style:{borderBottom:`1px solid ${r}`},children:[t.jsxs("button",{type:"button",onClick:()=>u(d=>!d),className:"w-full flex justify-between items-center py-3 px-2 transition-colors",style:{color:s},children:[t.jsx("span",{className:"font-medium text-sm",children:e.label}),t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx("span",{className:"font-bold text-sm",style:{color:oe.error},children:a(e.total)}),t.jsx("span",{className:`text-xs transition-transform duration-200 ${n?"rotate-180":""}`,style:{color:oe.accent},children:"▼"})]})]}),n&&t.jsxs("div",{className:"px-4 pb-4 pt-1 rounded-b-lg mx-2 mb-1",style:{backgroundColor:i},children:[c.map((d,f)=>t.jsxs("div",{className:"flex justify-between py-1.5",style:{borderTop:f>0?`1px solid ${r}`:"none"},children:[t.jsx("span",{className:"text-sm",style:{color:oe.accent},children:d.label}),t.jsx("span",{className:"font-medium text-sm",style:{color:s},children:a(d.value)})]},d.label)),t.jsxs("div",{className:"flex justify-between py-2 mt-1",style:{borderTop:`2px solid ${r}`},children:[t.jsx("span",{className:"font-bold text-sm",style:{color:s},children:"Total"}),t.jsx("span",{className:"font-bold text-sm",style:{color:oe.error},children:a(e.total)})]})]})]})},Mm=({onBack:e,backgroundColor:a="#111827",textColor:s="#e5e7eb",cardBackgroundColor:i="rgba(15,23,42,0.85)",dividerColor:r="rgba(148,163,184,0.4)"})=>{const[n,u]=T.useState("USD"),{rates:c,loading:d}=Sm(),f=T.useMemo(()=>Pm(n,c),[n,c]),o=T.useMemo(()=>Vd(n,c),[n,c]),h=N=>Tm(N,n),l=[...new Set(f.map(N=>N.year))],p={};l.forEach(N=>{p[N]=f.filter(j=>j.year===N).reduce((j,x)=>j+x.total,0)});const y=f.reduce((N,j)=>N+j.total,0),w=o.infraCost+o.furnitureCost,b=y+w,g=["USD","HIVE","INR"],v="0 18px 45px rgba(0,0,0,0.6)";return t.jsxs("div",{className:"min-h-screen relative overflow-hidden",children:[t.jsx("div",{className:"fixed inset-0 z-0",style:{backgroundColor:a}}),t.jsx("div",{className:"fixed inset-0 z-10 backdrop-blur-md",style:{backgroundColor:a,opacity:.6}}),t.jsx("div",{className:"fixed inset-0 z-20 bg-gradient-to-br from-base-100 via-transparent to-base-100/10"}),t.jsx("div",{className:"fixed inset-0 z-20 bg-gradient-to-b from-base-100 via-transparent to-base-100/10"}),t.jsx("div",{className:"relative z-30",style:{color:s},children:t.jsxs("main",{className:"min-h-screen",children:[t.jsx("div",{className:"pt-8 pb-4",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsxs("button",{type:"button",onClick:e,className:"inline-flex items-center gap-2 hover:underline font-medium",style:{color:oe.accent},children:[t.jsx(qp,{className:"w-4 h-4"})," Back to Contributions View"]})})}),t.jsx("section",{className:"py-12",children:t.jsxs("div",{className:"container mx-auto px-4 text-center",children:[t.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full font-semibold text-sm mb-6",style:{backgroundColor:oe.errorBg,color:oe.error},children:[t.jsx(Dd,{className:"w-4 h-4"}),"Transparency Report — Running in Heavy Debt"]}),t.jsxs("h1",{className:"text-4xl md:text-5xl font-extrabold mb-4",style:{color:s},children:["Our Expenses — Every Single"," ",n==="USD"?"Dollar":n==="HIVE"?"Hive":"Rupee"]}),t.jsxs("p",{className:"max-w-2xl mx-auto text-lg",style:{color:s,opacity:.85},children:["We have never asked for funding. Every rupee has come out of our own pockets. All we ask in return is"," ",t.jsx("span",{className:"font-bold",style:{color:oe.accent},children:"your Hive witness vote"}),"."]})]})}),t.jsx("section",{className:"pb-8",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("div",{className:"flex justify-center",children:t.jsx("div",{className:"inline-flex rounded-xl p-1 gap-1",style:{backgroundColor:i,boxShadow:v},children:g.map(N=>t.jsxs("button",{onClick:()=>u(N),className:"px-6 py-2.5 rounded-lg font-semibold text-sm transition-all duration-200",style:n===N?{backgroundColor:oe.primary,color:"#ffffff",boxShadow:"0 4px 14px rgba(99,102,241,0.4)"}:{color:s,opacity:.7},children:[N==="INR"&&"₹ INR",N==="USD"&&"$ USD",N==="HIVE"&&"HIVE"]},N))})}),t.jsx("p",{className:"text-center text-xs mt-2",style:{color:s,opacity:.5},children:d?"Fetching live rates…":t.jsxs(t.Fragment,{children:["Live rates via CoinGecko: 1 HIVE ≈ $",c.hiveUsd.toFixed(4)," • 1 USD ≈ ₹",c.usdInr.toFixed(2)]})})]})}),t.jsx("section",{className:"py-8",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-center mb-8",style:{color:s},children:"Month-by-Month Expense Breakdown"}),t.jsx("div",{className:"max-w-6xl mx-auto hidden md:block rounded-2xl",style:{backgroundColor:i,boxShadow:v},children:t.jsxs("table",{className:"w-full border-collapse text-xs",children:[t.jsx("thead",{children:t.jsx("tr",{style:{borderBottom:`2px solid ${r}`},children:[{label:"Month",align:"left",cls:"pl-6"},{label:"Salaries",align:"right",cls:""},{label:"Rent",align:"right",cls:""},{label:"Utilities",align:"right",cls:""},{label:"VPS",align:"right",cls:"hidden lg:table-cell"},{label:"Dev Prog",align:"right",cls:"hidden lg:table-cell"},{label:"Domains",align:"right",cls:"hidden lg:table-cell"},{label:"Infra Dep.",align:"right",cls:"hidden xl:table-cell"},{label:"Infra Maint.",align:"right",cls:"hidden xl:table-cell"},{label:"Furn. Dep.",align:"right",cls:"hidden xl:table-cell"},{label:"Total",align:"right",cls:"pr-6"}].map(({label:N,align:j,cls:x})=>t.jsx("th",{className:`px-3 py-4 font-semibold uppercase tracking-wider whitespace-nowrap ${x}`,style:{textAlign:j,color:s,opacity:.5},children:N},N))})}),t.jsxs("tbody",{children:[l.map(N=>{const j=f.filter(x=>x.year===N);return t.jsxs(T.Fragment,{children:[t.jsx("tr",{children:t.jsx("td",{colSpan:11,className:"px-3 py-3 font-bold text-center tracking-widest uppercase",style:{backgroundColor:oe.primaryBg,color:oe.primary},children:N})}),j.map(x=>t.jsxs("tr",{className:"transition-colors",style:{borderBottom:`1px solid ${r}`},onMouseEnter:m=>m.currentTarget.style.backgroundColor="rgba(255,255,255,0.03)",onMouseLeave:m=>m.currentTarget.style.backgroundColor="transparent",children:[t.jsx("td",{className:"pl-6 pr-3 py-3 font-medium whitespace-nowrap",style:{color:s},children:x.label}),t.jsx("td",{className:"px-3 py-3 text-right tabular-nums whitespace-nowrap",style:{color:s,opacity:.85},children:h(x.salaries)}),t.jsx("td",{className:"px-3 py-3 text-right tabular-nums whitespace-nowrap",style:{color:s,opacity:.85},children:x.rent?h(x.rent):t.jsx("span",{style:{opacity:.3},children:"—"})}),t.jsx("td",{className:"px-3 py-3 text-right tabular-nums whitespace-nowrap",style:{color:s,opacity:.85},children:x.utilities?h(x.utilities):t.jsx("span",{style:{opacity:.3},children:"—"})}),t.jsx("td",{className:"px-5 py-3 text-right tabular-nums whitespace-nowrap hidden lg:table-cell",style:{color:s,opacity:.85},children:x.vps?h(x.vps):t.jsx("span",{style:{opacity:.3},children:"—"})}),t.jsx("td",{className:"px-5 py-3 text-right tabular-nums whitespace-nowrap hidden lg:table-cell",style:{color:s,opacity:.85},children:x.devPrograms?h(x.devPrograms):t.jsx("span",{style:{opacity:.3},children:"—"})}),t.jsx("td",{className:"px-5 py-3 text-right tabular-nums whitespace-nowrap hidden lg:table-cell",style:{color:s,opacity:.85},children:x.domains?h(x.domains):t.jsx("span",{style:{opacity:.3},children:"—"})}),t.jsx("td",{className:"px-5 py-3 text-right tabular-nums whitespace-nowrap hidden xl:table-cell",style:{color:s,opacity:.85},children:x.infraDepreciation?h(x.infraDepreciation):t.jsx("span",{style:{opacity:.3},children:"—"})}),t.jsx("td",{className:"px-5 py-3 text-right tabular-nums whitespace-nowrap hidden xl:table-cell",style:{color:s,opacity:.85},children:x.infraMaintenance?h(x.infraMaintenance):t.jsx("span",{style:{opacity:.3},children:"—"})}),t.jsx("td",{className:"px-5 py-3 text-right tabular-nums whitespace-nowrap hidden xl:table-cell",style:{color:s,opacity:.85},children:x.furnitureDepreciation?h(x.furnitureDepreciation):t.jsx("span",{style:{opacity:.3},children:"—"})}),t.jsx("td",{className:"pl-3 pr-6 py-3 text-right font-bold tabular-nums whitespace-nowrap",style:{color:oe.error},children:h(x.total)})]},x.label)),t.jsxs("tr",{style:{borderTop:`2px solid ${oe.errorBorder}`,backgroundColor:"rgba(248,113,113,0.06)"},children:[t.jsxs("td",{colSpan:10,className:"pl-6 pr-3 py-3.5 font-bold",style:{color:oe.error},children:[N," Total"]}),t.jsx("td",{className:"pl-3 pr-6 py-3.5 text-right font-bold tabular-nums whitespace-nowrap",style:{color:oe.error},children:h(p[N])})]})]},N)}),t.jsxs("tr",{style:{borderTop:`3px solid ${oe.error}`,backgroundColor:oe.errorBg},children:[t.jsx("td",{colSpan:10,className:"pl-6 pr-3 py-4 text-2xl font-extrabold",style:{color:oe.error},children:"GRAND TOTAL (Recurring)"}),t.jsx("td",{className:"pl-3 pr-6 py-4 text-right text-2xl font-extrabold tabular-nums whitespace-nowrap",style:{color:oe.error},children:h(y)})]}),t.jsxs("tr",{style:{backgroundColor:oe.errorBg,borderTop:`1px solid ${r}`},children:[t.jsx("td",{colSpan:10,className:"pl-6 pr-3 py-3 text-2xl font-extrabold",style:{color:oe.warning},children:"+ Capital Investments"}),t.jsx("td",{className:"pl-3 pr-6 py-3 text-right text-2xl font-extrabold tabular-nums whitespace-nowrap",style:{color:oe.warning},children:h(w)})]}),t.jsxs("tr",{style:{backgroundColor:"rgba(248,113,113,0.16)",borderTop:`2px solid ${oe.error}`},children:[t.jsx("td",{colSpan:10,className:"pl-6 pr-3 py-4 text-2xl font-extrabold",style:{color:oe.error},children:"TOTAL EXPENSES"}),t.jsx("td",{className:"pl-3 pr-6 py-4 text-right text-2xl font-extrabold tabular-nums whitespace-nowrap",style:{color:oe.error},children:h(b)})]})]})]})}),t.jsxs("div",{className:"md:hidden max-w-lg mx-auto",children:[l.map(N=>{const j=f.filter(x=>x.year===N);return t.jsxs(T.Fragment,{children:[t.jsx("div",{className:"font-extrabold text-center py-3 text-lg rounded-lg mt-4 first:mt-0",style:{backgroundColor:oe.primaryBg,color:oe.primary},children:N}),j.map(x=>t.jsx(Lm,{row:x,fmt:h,textColor:s,cardBackgroundColor:i,dividerColor:r},x.label)),t.jsxs("div",{className:"flex justify-between items-center py-4 mb-2",style:{borderTop:`2px solid ${oe.errorBorder}`},children:[t.jsxs("span",{className:"font-extrabold text-lg",style:{color:oe.error},children:[N," Total"]}),t.jsx("span",{className:"font-extrabold text-lg",style:{color:oe.error},children:h(p[N])})]})]},N)}),t.jsxs("div",{className:"mt-2 rounded-xl overflow-hidden",children:[t.jsxs("div",{className:"flex justify-between items-center px-4 py-4",style:{backgroundColor:oe.errorBg,borderTop:`4px solid ${oe.error}`},children:[t.jsx("span",{className:"font-extrabold text-base",style:{color:oe.error},children:"GRAND TOTAL (Recurring)"}),t.jsx("span",{className:"font-extrabold text-base",style:{color:oe.error},children:h(y)})]}),t.jsxs("div",{className:"flex justify-between items-center px-4 py-3",style:{backgroundColor:oe.errorBg},children:[t.jsx("span",{className:"font-extrabold text-base",style:{color:oe.warning},children:"+ Capital Investments"}),t.jsx("span",{className:"font-extrabold text-base",style:{color:oe.warning},children:h(w)})]}),t.jsxs("div",{className:"flex justify-between items-center px-4 py-4",style:{backgroundColor:"rgba(248,113,113,0.18)",borderTop:`2px solid ${oe.error}`},children:[t.jsx("span",{className:"font-extrabold text-lg",style:{color:oe.error},children:"TOTAL EXPENSES"}),t.jsx("span",{className:"font-extrabold text-lg",style:{color:oe.error},children:h(b)})]})]})]})]})}),t.jsx("div",{className:"py-2",children:t.jsx("div",{className:"max-w-5xl mx-auto",style:{height:1,backgroundColor:r}})}),t.jsx("section",{className:"py-8",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 max-w-5xl mx-auto",children:[{icon:Lp,iconColor:oe.error,borderColor:oe.error,label:"Total Recurring Expenses",value:h(y),valueColor:oe.error,sub:null},{icon:Li,iconColor:oe.warning,borderColor:oe.warning,label:"Capital Investments",value:h(w),valueColor:oe.warning,sub:null},{icon:Fp,iconColor:oe.error,borderColor:oe.error,label:"Grand Total Spent",value:h(b),valueColor:oe.error,sub:null},{icon:kc,iconColor:oe.success,borderColor:oe.success,label:"Revenue / Funding",value:h(0),valueColor:oe.success,sub:"Zero. Nothing. Nada."}].map(({icon:N,iconColor:j,borderColor:x,label:m,value:k,valueColor:_,sub:E})=>t.jsxs("div",{className:"card glass-effect p-6 rounded-xl text-center border-l-4",style:{backgroundColor:i,boxShadow:v,borderColor:x},children:[t.jsx(N,{className:"w-8 h-8 mx-auto mb-2",style:{color:j}}),t.jsx("p",{className:"text-sm uppercase tracking-wide mb-1",style:{color:s,opacity:.6},children:m}),t.jsx("p",{className:"text-2xl font-extrabold",style:{color:_},children:k}),E&&t.jsx("p",{className:"text-xs mt-1 font-semibold",style:{color:oe.error},children:E})]},m))})})}),t.jsx("div",{className:"py-2",children:t.jsx("div",{className:"max-w-5xl mx-auto",style:{height:1,backgroundColor:r}})}),t.jsx("section",{className:"py-8",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-center mb-8",style:{color:s},children:"Capital Investments (One-Time)"}),t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 max-w-3xl mx-auto",children:[t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl",style:{backgroundColor:i,boxShadow:v},children:[t.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[t.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center",style:{backgroundColor:oe.warningBg},children:t.jsx(Li,{className:"w-5 h-5",style:{color:oe.warning}})}),t.jsx("h3",{className:"text-lg font-bold",style:{color:s},children:"IT Infrastructure"})]}),t.jsx("p",{className:"text-sm mb-2",style:{color:s,opacity:.75},children:"Laptops, computers, networking equipment — purchased since July 2022"}),t.jsx("p",{className:"text-2xl font-extrabold",style:{color:oe.warning},children:h(o.infraCost)}),t.jsx("p",{className:"text-xs mt-1",style:{color:s,opacity:.45},children:"Depreciating at 10%/year • 5%/year maintenance"})]}),t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl",style:{backgroundColor:i,boxShadow:v},children:[t.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[t.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center",style:{backgroundColor:oe.infoBg},children:t.jsx(Rp,{className:"w-5 h-5",style:{color:oe.info}})}),t.jsx("h3",{className:"text-lg font-bold",style:{color:s},children:"Fixtures & Furniture"})]}),t.jsx("p",{className:"text-sm mb-2",style:{color:s,opacity:.75},children:"Office furniture, fixtures, and setup — since July 2022"}),t.jsx("p",{className:"text-2xl font-extrabold",style:{color:oe.info},children:h(o.furnitureCost)}),t.jsx("p",{className:"text-xs mt-1",style:{color:s,opacity:.45},children:"Depreciating at 15%/year"})]})]})]})}),t.jsx("div",{className:"py-2",children:t.jsx("div",{className:"max-w-5xl mx-auto",style:{height:1,backgroundColor:r}})}),t.jsx("section",{className:"py-8",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-center mb-8",style:{color:s},children:"Monthly Recurring Expense Categories"}),t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 max-w-5xl mx-auto",children:[{icon:Dp,iconBg:oe.primaryBg,iconColor:oe.primary,label:"Developer Salaries",desc:`3 devs (Jan 2022 – Jan 2026): ${h(o.salary3)}/mo
1091
- 2 devs (Feb 2026 – present): ${h(o.salary2)}/mo`},{icon:Bp,iconBg:oe.errorBg,iconColor:oe.error,label:"Office Rent",desc:`${h(o.rent)}/month since July 2022`},{icon:Td,iconBg:oe.warningBg,iconColor:oe.warning,label:"Utilities",desc:`Internet, Electricity & Backup = ${h(o.utilities)}/mo`},{icon:Tp,iconBg:oe.infoBg,iconColor:oe.info,label:"VPS & Hosting",desc:`Hive witness, VSC witness, app backends — ${h(o.vps)}/mo`},{icon:$p,iconBg:oe.successBg,iconColor:oe.success,label:"Dev Programs & Domains",desc:`Apple/Google dev programs ${h(o.devPrograms)} + Domains ${h(o.domains)} = ${h(o.devPrograms+o.domains)}/mo`},{icon:Li,iconBg:oe.warningBg,iconColor:oe.warning,label:"Depreciation & Maintenance",desc:`IT infra: 10% depreciation + 5% maintenance/yr
1092
- Furniture: 15% depreciation/yr`}].map(({icon:N,iconBg:j,iconColor:x,label:m,desc:k})=>t.jsxs("div",{className:"card glass-effect hover-lift p-5 rounded-xl",style:{backgroundColor:i,boxShadow:v},children:[t.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[t.jsx("div",{className:"w-9 h-9 rounded-lg flex items-center justify-center",style:{backgroundColor:j},children:t.jsx(N,{className:"w-5 h-5",style:{color:x}})}),t.jsx("h3",{className:"font-bold text-sm",style:{color:s},children:m})]}),t.jsx("p",{className:"text-xs whitespace-pre-line",style:{color:s,opacity:.7},children:k})]},m))})]})}),t.jsx("div",{className:"py-2",children:t.jsx("div",{className:"max-w-5xl mx-auto",style:{height:1,backgroundColor:r}})}),t.jsx("section",{className:"py-12",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsx("div",{className:"max-w-3xl mx-auto",children:t.jsxs("div",{className:"card glass-effect rounded-2xl p-8",style:{backgroundColor:i,boxShadow:v,border:`2px solid ${r}`},children:[t.jsxs("div",{className:"text-center mb-6",children:[t.jsx(Mp,{className:"w-12 h-12 mx-auto mb-4",style:{color:oe.error}}),t.jsx("h2",{className:"text-3xl font-extrabold mb-2",style:{color:oe.error},children:"The Hard Truth"})]}),t.jsxs("div",{className:"space-y-4 text-base",style:{color:s,opacity:.9},children:[t.jsxs("p",{children:["We have spent"," ",t.jsx("span",{className:"font-extrabold",style:{color:oe.error},children:h(b)})," ","of our own money building apps, running infrastructure, and supporting the Hive ecosystem."]}),t.jsxs("p",{children:["Except for 3Speak-funded projects —"," ",t.jsx("span",{className:"font-semibold",style:{color:s},children:"Distriator"}),","," ",t.jsx("span",{className:"font-semibold",style:{color:s},children:"CheckInWithXYZ"})," ","&"," ",t.jsx("span",{className:"font-semibold",style:{color:s},children:"3Speak"})," ","— we have"," ",t.jsx("span",{className:"font-extrabold",style:{color:oe.error},children:"never received any funding"})," ","for any of our other projects. Everything else has been entirely self-funded."]}),t.jsxs("p",{children:["We have"," ",t.jsx("span",{className:"font-bold",style:{color:oe.error},children:"never asked for DHF funding or any grants"}),". We have not monetized any of our apps. We have not put ads in our apps. Everything is free, open-source, and built for the Hive community."]}),t.jsxs("p",{children:["On top of all this, we are holding"," ",t.jsx("span",{className:"font-extrabold",style:{color:oe.accent},children:"Hive Power (staked HIVE) worth $11,000"})," ","— locked for 3 months — and we are continuously investing and increasing our stake in Hive. We don't just build on Hive, we put our money where our mouth is."]}),t.jsxs("p",{children:["Since July 2023, we also send approximately"," ",t.jsx("span",{className:"font-bold",style:{color:s},children:"$10 to $20 worth of support every month"})," ","to community initiatives like"," ",t.jsx("span",{className:"font-semibold",children:"Ladies of Hive"}),","," ",t.jsx("span",{className:"font-semibold",children:"Shadow Hunters"}),","," ",t.jsx("span",{className:"font-semibold",children:"Reflection Hunters"}),","," ",t.jsx("span",{className:"font-semibold",children:"Bird Watchers"}),","," ",t.jsx("span",{className:"font-semibold",children:"Power Plant Vegan"}),","," ",t.jsx("span",{className:"font-semibold",children:"India United"}),", and"," ",t.jsx("span",{className:"font-semibold",children:"Amazing Drinks"}),". On top of that, we actively support many Hive users by upvoting their content and rewarding them with Hive inflation through our curation efforts."]}),t.jsxs("p",{children:["This is not sustainable. We are running in"," ",t.jsx("span",{className:"font-extrabold",style:{color:oe.error},children:"heavy debt"}),". Every month, the expenses pile up — salaries, rent, hosting, infrastructure — and nothing comes back."]}),t.jsx("p",{className:"font-semibold",style:{color:s},children:"This is taking a heavy toll — financially, mentally, and emotionally. Building for years without any return is exhausting. But we keep going because we believe in Hive and its community."})]}),t.jsx("div",{className:"my-6",style:{height:1,backgroundColor:r}}),t.jsxs("div",{className:"text-center",children:[t.jsx("h3",{className:"text-2xl font-extrabold mb-3",style:{color:oe.accent},children:"All We Ask Is Your Witness Vote"}),t.jsxs("p",{className:"mb-6 max-w-lg mx-auto",style:{color:s,opacity:.85},children:["We have never asked for money. We are not asking for money now. Just your"," ",t.jsx("span",{className:"font-bold",style:{color:oe.accent},children:"Hive witness vote for @sagarkothari88"})," ","— that's it. That small gesture of support means the world to us and helps us keep building for the ecosystem."]}),t.jsxs("a",{href:"https://vote.hive.uno/@sagarkothari88",target:"_blank",rel:"noopener noreferrer",className:"btn btn-primary btn-lg gap-2",children:[t.jsx(kc,{className:"w-5 h-5"}),"Vote @sagarkothari88 as Witness"]})]})]})})})}),t.jsx("section",{className:"py-8",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[t.jsx("h3",{className:"text-xl font-bold mb-4",style:{color:s},children:"Debt vs Revenue"}),t.jsx("div",{className:"w-full rounded-full h-8 overflow-hidden mb-2",style:{backgroundColor:oe.progressTrack},children:t.jsx("div",{className:"h-full rounded-full flex items-center justify-end pr-3",style:{width:"100%",background:`linear-gradient(90deg, ${oe.error}, rgba(248,113,113,0.7))`},children:t.jsxs("span",{className:"text-xs font-bold text-white",children:["DEBT: ",h(b)]})})}),t.jsx("div",{className:"w-full rounded-full h-8 overflow-hidden",style:{backgroundColor:oe.progressTrack},children:t.jsx("div",{className:"h-full rounded-full flex items-center pl-3",style:{width:"2%",minWidth:"80px",backgroundColor:oe.success},children:t.jsx("span",{className:"text-xs font-bold text-white",children:h(0)})})}),t.jsxs("p",{className:"text-xs mt-2",style:{color:s,opacity:.45},children:["Revenue bar is at minimum width because the actual value is ",h(0)]})]})})}),t.jsx("div",{className:"py-20"})]})})]})},$m=[{imagePath:Ne.hreplier,name:"hReplier",url:"https://hreplier.sagarkothari88.one/",description:`- Easily Manage your Hive Blog's replies
1090
+ `).map((r,n)=>t.jsx("div",{className:"mb-1",children:r},n))})]})]})})})},km=()=>{const[e,a]=T.useState({width:typeof window<"u"?window.innerWidth:0,height:typeof window<"u"?window.innerHeight:0});T.useEffect(()=>{const n=()=>{a({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[]);const s=e.width<850,i=e.width<=1050&&e.width>=850,r=e.width>1050;return{isMobileView:s,isTabletView:i,isWebView:r,screenSize:e}},_m=({apps:e,cardBackgroundColor:a,cardShadow:s})=>{const{isMobileView:i,isTabletView:r}=km(),n=()=>i?"grid-cols-1":r?"grid-cols-2":"grid-cols-3";return t.jsx("div",{className:"container mx-auto px-4 lg:px-16",children:t.jsx("div",{className:`grid ${n()} gap-6 lg:gap-8`,children:e.map((u,c)=>t.jsx(jm,{app:u,backgroundColor:a,boxShadow:s},c))})})},Em=[{imagePath:Ne.hreplier,name:"hReplier",url:"https://hreplier.sagarkothari88.one/",description:`- Easily Manage your Hive Blog's replies
1093
1091
  - We are working on Hive Inbox as Key contributors`},{imagePath:Ne.template,name:"hSnaps",url:"https://hsnaps.sagarkothari88.one/",description:`- A Snaps App for Hive Blockchain
1094
1092
  - We are working on Hive Snaps as Key contributors`},{imagePath:Ne.hive_fest_fact_logo,name:"Hive Fest Fact",url:"https://hivefestfacts.sagarkothari88.one/",description:"- Hive Fest Facts is a platform dedicated to sharing interesting and informative facts about Hive Fest, the annual gathering of the Hive blockchain community."},{imagePath:Ne.hpolls_logo,name:"hPolls",url:"https://hpolls.sagarkothari88.one/",description:`- Create and manage polls on the Hive blockchain
1095
1093
  - We are working on HPolls as Key contributors`},{imagePath:Ne.stats_logo,name:"hStats",url:"https://hive-stats.sagarkothari88.one/",description:`- View Statstics for any Hive User
@@ -1114,6 +1112,8 @@ Furniture: 15% depreciation/yr`}].map(({icon:N,iconBg:j,iconColor:x,label:m,desc
1114
1112
  - costs $10 per month`,url:"https://vote.hive.uno/@sagarkothari88",useCircleBackground:!1},{imagePath:Ne.nodes,name:"Hive Union Indexer Node",description:`- Running A Union Inddexer Node
1115
1113
  - costs $10 per month`,url:"https://vote.hive.uno/@sagarkothari88",useCircleBackground:!1},{imagePath:Ne.developers,name:"Additional Developers",description:`- In order to manage on going development, we've a team of developers, community managers
1116
1114
  - As a team, we are able to make an impact
1117
- - Cost of developers is on us as a Contribution for Hive Community members`,url:"https://vote.hive.uno/@sagarkothari88",useCircleBackground:!1},{imagePath:Ne.template,name:"uptime with kuma",description:"- We provide transperancy to all the services which we provide for hive blockchain. With uptime, we show status of all the services we provide",url:"https://uptime.sagarkothari88.one/status/sagar",useCircleBackground:!1}],Rm=[{title:"Powered by Hive.io",description:"Explore the Hive blockchain",avatar:"https://images.hive.blog/u/hiveio/avatar",link:"https://hive.io/",buttonText:"Visit"},{title:"Cheered by @starkerz",description:"Community supporter",avatar:"https://images.ecency.com/webp/u/starkerz/avatar/medium",link:"https://peakd.com/@starkerz",buttonText:"View"},{title:"Encouraged by @theycallmedan",description:"Hive advocate & supporter",avatar:"https://images.ecency.com/webp/u/theycallmedan/avatar/medium",link:"https://peakd.com/@theycallmedan",buttonText:"View"},{title:"Github",description:"It's all open source",avatar:"https://avatars.githubusercontent.com/u/259840578?s=200&v=4",link:"https://github.com/orgs/TechCoderLabz/repositories",buttonText:"View"}],Im=[{icon:q.Zap,title:"Simplicity Wins",desc:"Blockchain technology should feel as easy as using any modern mobile app."},{icon:q.Code2,title:"Open Ecosystem",desc:"All our apps are open source so developers can learn, extend, and build."},{icon:q.Rocket,title:"Build First, Talk Later",desc:"We prefer shipping real products and improving with community feedback."},{icon:q.Users,title:"Community Over Ownership",desc:"These are tools built for the entire Hive ecosystem, not closed platforms."}],Fm=[{name:"Distriator",logo:Ne.distriator_logo},{name:"CheckInWithXYZ",logo:Ne.checkinwithxyz},{name:"hReplier",logo:Ne.hreplier},{name:"hStats",logo:Ne.stats_logo},{name:"hPolls",logo:Ne.hpolls_logo},{name:"hFestFacts",logo:Ne.hive_fest_fact_logo},{name:"hSnaps",logo:Ne.template}],Bm=[{name:"hApprover",desc:"Approve Hive transactions from your phone",logo:Ne.happrover_logo},{name:"hCurators",desc:`- Request to curate content on behalf of them for their communities.
1118
- - We have staked Hive Power to curate & reward Hive content creators`,logo:Ne.vote_logo}],qm=["hSurvey","hChat","hShorts","hVideos","hGovernance","hFind","hMarketPlace"],Xs="#f87171",Vm=({backgroundColor:e="#020617",textColor:a="#e5e7eb",cardBackgroundColor:s="rgba(15,23,42,0.85)",isDividerShow:i=!0,dividerColor:r="rgba(148,163,184,0.4)",isExpensesCTA:n=!1,extraSupporters:u=[]})=>{const c=[...Rm,...u],d="0 18px 45px rgba(0,0,0,0.6)",[f,o]=T.useState(!1);return f?t.jsx(Mm,{onBack:()=>o(!1),backgroundColor:e,textColor:a,cardBackgroundColor:s,dividerColor:r}):t.jsxs("div",{className:"min-h-screen relative overflow-hidden",children:[t.jsx("div",{className:"fixed inset-0 z-0",style:{backgroundColor:e}}),t.jsx("div",{className:"fixed inset-0 z-10 backdrop-blur-md",style:{backgroundColor:"rgba(15,23,42,0.6)"}}),t.jsx("div",{className:"fixed inset-0 z-20 bg-gradient-to-br from-base-100 via-transparent to-base-100/10"}),t.jsx("div",{className:"fixed inset-0 z-20 bg-gradient-to-b from-base-100 via-transparent to-base-100/10"}),t.jsx("div",{className:"relative z-30",style:{color:a},children:t.jsx("main",{className:"min-h-screen",children:t.jsxs(t.Fragment,{children:[i&&t.jsx("div",{className:"py-8",children:t.jsx("div",{style:{height:1,width:"100%",maxWidth:"72rem",margin:"0 auto",backgroundColor:r,opacity:.8}})}),t.jsx("section",{className:"py-12",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"Our Vision & Mission"}),t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 max-w-4xl mx-auto",children:[t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl",style:{backgroundColor:s,boxShadow:d},children:[t.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[t.jsx("div",{className:"w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center text-primary",children:t.jsx(q.Eye,{className:"w-6 h-6"})}),t.jsx("h3",{className:"text-xl font-bold text-base-content",children:"Vision"})]}),t.jsx("p",{className:"text-base-content font-semibold mb-2",children:"Make Hive accessible to the world through simple, powerful applications."}),t.jsx("p",{className:"text-base-content/70",children:"We aim to bridge the gap between traditional social apps and decentralized technologies by creating familiar, easy-to-use products."})]}),t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl",style:{backgroundColor:s,boxShadow:d},children:[t.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[t.jsx("div",{className:"w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center text-primary",children:t.jsx(q.Crosshair,{className:"w-6 h-6"})}),t.jsx("h3",{className:"text-xl font-bold text-base-content",children:"Mission"})]}),t.jsx("p",{className:"text-base-content font-semibold mb-2",children:"Build open, user-friendly applications that help Hive reach Web2 audiences."}),t.jsx("p",{className:"text-base-content/70",children:"Everything we build is open source and community driven."})]})]}),t.jsx("div",{className:"max-w-4xl mx-auto mt-6",children:t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl",style:{backgroundColor:s,boxShadow:d},children:[t.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[t.jsx("div",{className:"w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center text-primary",children:t.jsx(q.Star,{className:"w-6 h-6"})}),t.jsx("h3",{className:"text-xl font-bold text-base-content",children:"Goal"})]}),t.jsx("p",{className:"text-base-content font-semibold mb-2",children:"Help Hive grow by making it easier for Web2 users to discover and use."}),t.jsx("p",{className:"text-base-content/70",children:"Built without external funding, with passion for Hive, for the entire community, and completely open source."})]})}),n&&t.jsx("div",{className:"max-w-4xl mx-auto mt-6",children:t.jsx("button",{type:"button",onClick:()=>o(!0),className:"w-full text-left",children:t.jsx("div",{className:"card glass-effect hover-lift p-6 rounded-xl border-2 transition-colors",style:{backgroundColor:s,borderColor:r,boxShadow:d},children:t.jsxs("div",{className:"flex flex-col sm:flex-row items-center gap-4",children:[t.jsx("div",{className:"w-12 h-12 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:r},children:t.jsx("span",{className:"text-xl font-bold",style:{color:Xs},children:"₹"})}),t.jsxs("div",{className:"text-center sm:text-left flex-1",children:[t.jsx("h3",{className:"text-xl font-bold",style:{color:Xs},children:"Running in Heavy Debt — See Our Expenses"}),t.jsx("p",{className:"text-sm mt-1",style:{color:a},children:"We have spent our own money with zero revenue. No funding, no ads, no monetization. Open this transparent breakdown to understand how much it really costs."})]}),t.jsx("span",{className:"btn btn-outline btn-sm shrink-0",style:{color:Xs,borderColor:Xs,backgroundColor:"rgba(233, 57, 57, 0.26)"},children:"View Expenses →"})]})})})})]})}),i&&t.jsx("div",{className:"py-4",children:t.jsx("div",{style:{height:1,width:"100%",maxWidth:"72rem",margin:"0 auto",backgroundColor:r,opacity:.8}})}),t.jsx("section",{className:"py-12",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"What We Believe"}),t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 max-w-5xl mx-auto",children:Im.map(({icon:h,title:l,desc:p})=>t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl text-center",style:{backgroundColor:s,boxShadow:d},children:[t.jsx("div",{className:"w-16 h-16 rounded-lg bg-primary/20 flex items-center justify-center mx-auto mb-4 text-primary",children:t.jsx(h,{className:"w-6 h-6"})}),t.jsx("h3",{className:"text-lg font-bold text-base-content mb-2",children:l}),t.jsx("p",{className:"text-base-content/70 text-sm",children:p})]},l))})]})}),i&&t.jsx("div",{className:"py-4",children:t.jsx("div",{style:{height:1,width:"100%",maxWidth:"72rem",margin:"0 auto",backgroundColor:r,opacity:.8}})}),t.jsx("section",{className:"py-12",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-4",children:"Apps We've Built & What's Coming"}),t.jsx("p",{className:"text-base-content/70 text-center mb-12 max-w-xl mx-auto",children:"We focus on building multiple specialized apps, each solving a specific problem."}),t.jsxs("div",{className:"max-w-5xl mx-auto",children:[t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:Fm.map(h=>t.jsxs("div",{className:"flex items-center gap-3 glass-effect hover-lift px-5 py-4 rounded-xl",style:{backgroundColor:s,boxShadow:d},children:[t.jsx("span",{className:"shrink-0 inline-flex text-green-500",children:t.jsx(q.CheckCircle,{className:"w-5 h-5"})}),t.jsx("img",{src:h.logo,alt:h.name,className:"w-8 h-8 shrink-0 rounded-lg object-contain"}),t.jsx("span",{className:"font-medium text-base-content",children:h.name}),t.jsx("span",{className:"ml-auto shrink-0 badge badge-success badge-outline text-xs",children:"Delivered"})]},h.name))}),t.jsx("p",{className:"mt-8 mb-4 text-center text-sm font-medium uppercase tracking-wide text-base-content/60",children:"In Development"}),t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 max-w-2xl mx-auto",children:Bm.map(h=>t.jsxs("div",{className:"glass-effect hover-lift px-5 py-4 rounded-xl",style:{backgroundColor:s,boxShadow:d},children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx("span",{className:"shrink-0 inline-flex items-center justify-center bg-amber-500/20 p-1.5 rounded-full text-amber-400",children:t.jsx(q.Clock,{className:"w-5 h-5 shrink-0"})}),t.jsx("img",{src:h.logo,alt:h.name,className:"w-8 h-8 shrink-0 rounded-lg object-contain"}),t.jsx("span",{className:"font-medium text-base-content",children:h.name})]}),t.jsx("span",{className:"shrink-0 badge badge-warning badge-outline text-xs",children:"In Dev"})]}),t.jsx("p",{className:"mt-2 text-sm text-base-content/70 ml-8",children:h.desc.split(`
1119
- `).map((l,p)=>t.jsxs("span",{children:[p>0&&t.jsx("br",{}),l]},p))})]},h.name))}),t.jsx("p",{className:"mt-8 mb-4 text-center text-sm font-medium uppercase tracking-wide text-base-content/60",children:"Planned"}),t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:qm.map(h=>t.jsxs("div",{className:"flex items-center gap-3 glass-effect hover-lift px-5 py-4 rounded-xl",style:{backgroundColor:s,boxShadow:d},children:[t.jsx("span",{className:"shrink-0 inline-flex items-center justify-center bg-sky-500/20 p-1.5 rounded-full text-sky-400",children:t.jsx(q.Calendar,{className:"w-5 h-5 shrink-0"})}),t.jsx("span",{className:"font-medium text-base-content",children:h}),t.jsx("span",{className:"ml-auto shrink-0 badge badge-info badge-outline text-xs",children:"Planned"})]},h))})]})]})}),i&&t.jsx("div",{className:"py-4",children:t.jsx("div",{style:{height:1,width:"100%",maxWidth:"72rem",margin:"0 auto",backgroundColor:r,opacity:.8}})}),t.jsxs("section",{className:"py-12",children:[t.jsx("div",{className:"container mx-auto px-4 text-center mb-12",children:t.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:"Contributions by @sagarkothari88 & team"})}),t.jsx(_m,{apps:$m,cardBackgroundColor:s,cardShadow:d})]}),i&&t.jsx("div",{className:"py-4",children:t.jsx("div",{style:{height:1,width:"100%",maxWidth:"72rem",margin:"0 auto",backgroundColor:r,opacity:.8}})}),t.jsx("section",{className:"py-12",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"Powered by"}),t.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 max-w-5xl mx-auto",children:[c.map((h,l)=>t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl",style:{backgroundColor:s,boxShadow:d},children:[t.jsx("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center overflow-hidden rounded-xl",style:{backgroundColor:r},children:t.jsx("img",{src:h.avatar,alt:h.title,className:"h-full w-full object-cover"})}),t.jsx("h3",{className:"mt-3 text-lg font-semibold",style:{color:a},children:h.title}),t.jsx("p",{className:"mt-1 text-sm",style:{color:a,opacity:.6},children:h.description}),t.jsx("div",{className:"mt-4",children:t.jsxs("a",{href:h.link,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium text-white transition-colors",style:{backgroundColor:"#e31337"},children:[h.buttonText,t.jsx(q.ExternalLink,{className:"w-4 h-4"})]})})]},l)),t.jsxs("a",{href:"https://discord.gg/WEKa8JKg7W",target:"_blank",rel:"noopener noreferrer",className:"card glass-effect hover-lift flex flex-col p-6 rounded-xl",style:{backgroundColor:s,boxShadow:d},children:[t.jsx("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-xl",style:{backgroundColor:r},children:t.jsx("img",{src:"https://cdn.simpleicons.org/discord/5865F2",alt:"Discord",className:"h-6 w-6",width:24,height:24})}),t.jsx("h3",{className:"mt-3 text-lg font-semibold",style:{color:a},children:"Contact Support"}),t.jsx("p",{className:"mt-1 text-sm",style:{color:a,opacity:.6},children:"Get help on Discord"}),t.jsx("div",{className:"mt-4",children:t.jsxs("span",{className:"inline-flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium text-white transition-colors",style:{backgroundColor:"#e31337"},children:["Join",t.jsx(q.ExternalLink,{className:"w-4 h-4"})]})})]})]})]})}),t.jsx("div",{className:"py-20"})]})})})]})},Um=1,zm=1e6;let Ii=0;function Hm(){return Ii=(Ii+1)%Number.MAX_SAFE_INTEGER,Ii.toString()}const Fi=new Map,Tc=e=>{if(Fi.has(e))return;const a=setTimeout(()=>{Fi.delete(e),rs({type:"REMOVE_TOAST",toastId:e})},zm);Fi.set(e,a)},Ud=(e,a)=>{switch(a.type){case"ADD_TOAST":return{...e,toasts:[a.toast,...e.toasts].slice(0,Um)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(s=>s.id===a.toast.id?{...s,...a.toast}:s)};case"DISMISS_TOAST":{const{toastId:s}=a;return s?Tc(s):e.toasts.forEach(i=>{Tc(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===s||s===void 0?{...i,open:!1}:i)}}case"REMOVE_TOAST":return a.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(s=>s.id!==a.toastId)}}},tn=[];let rn={toasts:[]};function rs(e){rn=Ud(rn,e),tn.forEach(a=>{a(rn)})}function zd({...e}){const a=Hm(),s=r=>rs({type:"UPDATE_TOAST",toast:{...r,id:a}}),i=()=>rs({type:"DISMISS_TOAST",toastId:a});return rs({type:"ADD_TOAST",toast:{...e,id:a,open:!0,onOpenChange:r=>{r||i()}}}),{id:a,dismiss:i,update:s}}function Wm(){const[e,a]=an.useState(rn);return an.useEffect(()=>(tn.push(a),()=>{const s=tn.indexOf(a);s>-1&&tn.splice(s,1)}),[e]),{...e,toast:zd,dismiss:s=>rs({type:"DISMISS_TOAST",toastId:s})}}exports.ActivityList=Qp;exports.ApiVideoFeedType=Ze;exports.CommentsList=ym;exports.CommentsModal=fo;exports.CommunitiesList=pm;exports.CommunityAbout=$d;exports.CommunityDetail=mm;exports.CommunityMembers=Id;exports.CommunityPostDetails=gm;exports.CommunityTeam=Rd;exports.FavouriteWidget=mo;exports.FollowersList=Yp;exports.FollowingList=Zp;exports.HiveContributionsLanding=Vm;exports.HiveToolbar=dm;exports.ListOfWitnesses=tm;exports.Modal=Ad;exports.PostActionButton=fm;exports.PostFeedList=Pd;exports.ProposalsList=Gp;exports.TransactionHistory=sm;exports.UpvoteList=xm;exports.UpvoteListModal=ho;exports.UserAccount=vm;exports.UserChannel=om;exports.UserFollowers=Fd;exports.UserFollowing=Bd;exports.UserInfo=qd;exports.UserProfilePage=wm;exports.VideoCard=Mc;exports.VideoDetail=wp;exports.VideoFeed=dn;exports.VideoInfo=$c;exports.Wallet=Hp;exports.apiService=Pe;exports.reducer=Ud;exports.server=cr;exports.toast=zd;exports.useIsMobile=Md;exports.useToast=Wm;exports.useWalletStore=Od;exports.witnessService=pt;
1115
+ - Cost of developers is on us as a Contribution for Hive Community members`,url:"https://vote.hive.uno/@sagarkothari88",useCircleBackground:!1},{imagePath:Ne.template,name:"uptime with kuma",description:"- We provide transperancy to all the services which we provide for hive blockchain. With uptime, we show status of all the services we provide",url:"https://uptime.sagarkothari88.one/status/sagar",useCircleBackground:!1}],Am=[{title:"Powered by Hive.io",description:"Explore the Hive blockchain",avatar:"https://images.hive.blog/u/hiveio/avatar",link:"https://hive.io/",buttonText:"Visit"},{title:"Cheered by @starkerz",description:"Community supporter",avatar:"https://images.ecency.com/webp/u/starkerz/avatar/medium",link:"https://peakd.com/@starkerz",buttonText:"View"},{title:"Encouraged by @theycallmedan",description:"Hive advocate & supporter",avatar:"https://images.ecency.com/webp/u/theycallmedan/avatar/medium",link:"https://peakd.com/@theycallmedan",buttonText:"View"},{title:"Github",description:"It's all open source",avatar:"https://avatars.githubusercontent.com/u/259840578?s=200&v=4",link:"https://github.com/orgs/TechCoderLabz/repositories",buttonText:"View"}],Sm=[{icon:q.Zap,title:"Simplicity Wins",desc:"Blockchain technology should feel as easy as using any modern mobile app."},{icon:q.Code2,title:"Open Ecosystem",desc:"All our apps are open source so developers can learn, extend, and build."},{icon:q.Rocket,title:"Build First, Talk Later",desc:"We prefer shipping real products and improving with community feedback."},{icon:q.Users,title:"Community Over Ownership",desc:"These are tools built for the entire Hive ecosystem, not closed platforms."}],Cm=[{name:"Distriator",logo:Ne.distriator_logo},{name:"CheckInWithXYZ",logo:Ne.checkinwithxyz},{name:"hReplier",logo:Ne.hreplier},{name:"hStats",logo:Ne.stats_logo},{name:"hPolls",logo:Ne.hpolls_logo},{name:"hFestFacts",logo:Ne.hive_fest_fact_logo},{name:"hSnaps",logo:Ne.template}],Dm=[{name:"hApprover",desc:"Approve Hive transactions from your phone",logo:Ne.happrover_logo},{name:"hCurators",desc:`- Request to curate content on behalf of them for their communities.
1116
+ - We have staked Hive Power to curate & reward Hive content creators`,logo:Ne.vote_logo}],Tm=["hSurvey","hChat","hShorts","hVideos","hGovernance","hFind","hMarketPlace"],Xs="#f87171",Om=({backgroundColor:e="#020617",textColor:a="#e5e7eb",cardBackgroundColor:s="rgba(15,23,42,0.85)",isDividerShow:i=!0,dividerColor:r="rgba(148,163,184,0.4)",isExpensesCTA:n=!1,onViewExpenses:u,extraSupporters:c=[]})=>{const d=[...Am,...c],f="0 18px 45px rgba(0,0,0,0.6)";return t.jsxs("div",{className:"min-h-screen relative overflow-hidden",children:[t.jsx("div",{className:"fixed inset-0 z-0",style:{backgroundColor:e}}),t.jsx("div",{className:"fixed inset-0 z-10 backdrop-blur-md",style:{backgroundColor:"rgba(15,23,42,0.6)"}}),t.jsx("div",{className:"fixed inset-0 z-20 bg-gradient-to-br from-base-100 via-transparent to-base-100/10"}),t.jsx("div",{className:"fixed inset-0 z-20 bg-gradient-to-b from-base-100 via-transparent to-base-100/10"}),t.jsx("div",{className:"relative z-30",style:{color:a},children:t.jsx("main",{className:"min-h-screen",children:t.jsxs(t.Fragment,{children:[i&&t.jsx("div",{className:"py-8",children:t.jsx("div",{style:{height:1,width:"100%",maxWidth:"72rem",margin:"0 auto",backgroundColor:r,opacity:.8}})}),t.jsx("section",{className:"py-12",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"Our Vision & Mission"}),t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 max-w-4xl mx-auto",children:[t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl",style:{backgroundColor:s,boxShadow:f},children:[t.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[t.jsx("div",{className:"w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center text-primary",children:t.jsx(q.Eye,{className:"w-6 h-6"})}),t.jsx("h3",{className:"text-xl font-bold text-base-content",children:"Vision"})]}),t.jsx("p",{className:"text-base-content font-semibold mb-2",children:"Make Hive accessible to the world through simple, powerful applications."}),t.jsx("p",{className:"text-base-content/70",children:"We aim to bridge the gap between traditional social apps and decentralized technologies by creating familiar, easy-to-use products."})]}),t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl",style:{backgroundColor:s,boxShadow:f},children:[t.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[t.jsx("div",{className:"w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center text-primary",children:t.jsx(q.Crosshair,{className:"w-6 h-6"})}),t.jsx("h3",{className:"text-xl font-bold text-base-content",children:"Mission"})]}),t.jsx("p",{className:"text-base-content font-semibold mb-2",children:"Build open, user-friendly applications that help Hive reach Web2 audiences."}),t.jsx("p",{className:"text-base-content/70",children:"Everything we build is open source and community driven."})]})]}),t.jsx("div",{className:"max-w-4xl mx-auto mt-6",children:t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl",style:{backgroundColor:s,boxShadow:f},children:[t.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[t.jsx("div",{className:"w-12 h-12 rounded-lg bg-primary/20 flex items-center justify-center text-primary",children:t.jsx(q.Star,{className:"w-6 h-6"})}),t.jsx("h3",{className:"text-xl font-bold text-base-content",children:"Goal"})]}),t.jsx("p",{className:"text-base-content font-semibold mb-2",children:"Help Hive grow by making it easier for Web2 users to discover and use."}),t.jsx("p",{className:"text-base-content/70",children:"Built without external funding, with passion for Hive, for the entire community, and completely open source."})]})}),n&&t.jsx("div",{className:"max-w-4xl mx-auto mt-6",children:t.jsx("button",{type:"button",onClick:u,className:"w-full text-left",children:t.jsx("div",{className:"card glass-effect hover-lift p-6 rounded-xl border-2 transition-colors",style:{backgroundColor:s,borderColor:r,boxShadow:f},children:t.jsxs("div",{className:"flex flex-col sm:flex-row items-center gap-4",children:[t.jsx("div",{className:"w-12 h-12 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:r},children:t.jsx("span",{className:"text-xl font-bold",style:{color:Xs},children:"₹"})}),t.jsxs("div",{className:"text-center sm:text-left flex-1",children:[t.jsx("h3",{className:"text-xl font-bold",style:{color:Xs},children:"Running in Heavy Debt — See Our Expenses"}),t.jsx("p",{className:"text-sm mt-1",style:{color:a},children:"We have spent our own money with zero revenue. No funding, no ads, no monetization. Open this transparent breakdown to understand how much it really costs."})]}),t.jsx("span",{className:"btn btn-outline btn-sm shrink-0",style:{color:Xs,borderColor:Xs,backgroundColor:"rgba(233, 57, 57, 0.26)"},children:"View Expenses →"})]})})})})]})}),i&&t.jsx("div",{className:"py-4",children:t.jsx("div",{style:{height:1,width:"100%",maxWidth:"72rem",margin:"0 auto",backgroundColor:r,opacity:.8}})}),t.jsx("section",{className:"py-12",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"What We Believe"}),t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 max-w-5xl mx-auto",children:Sm.map(({icon:o,title:h,desc:l})=>t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl text-center",style:{backgroundColor:s,boxShadow:f},children:[t.jsx("div",{className:"w-16 h-16 rounded-lg bg-primary/20 flex items-center justify-center mx-auto mb-4 text-primary",children:t.jsx(o,{className:"w-6 h-6"})}),t.jsx("h3",{className:"text-lg font-bold text-base-content mb-2",children:h}),t.jsx("p",{className:"text-base-content/70 text-sm",children:l})]},h))})]})}),i&&t.jsx("div",{className:"py-4",children:t.jsx("div",{style:{height:1,width:"100%",maxWidth:"72rem",margin:"0 auto",backgroundColor:r,opacity:.8}})}),t.jsx("section",{className:"py-12",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-4",children:"Apps We've Built & What's Coming"}),t.jsx("p",{className:"text-base-content/70 text-center mb-12 max-w-xl mx-auto",children:"We focus on building multiple specialized apps, each solving a specific problem."}),t.jsxs("div",{className:"max-w-5xl mx-auto",children:[t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:Cm.map(o=>t.jsxs("div",{className:"flex items-center gap-3 glass-effect hover-lift px-5 py-4 rounded-xl",style:{backgroundColor:s,boxShadow:f},children:[t.jsx("span",{className:"shrink-0 inline-flex text-green-500",children:t.jsx(q.CheckCircle,{className:"w-5 h-5"})}),t.jsx("img",{src:o.logo,alt:o.name,className:"w-8 h-8 shrink-0 rounded-lg object-contain"}),t.jsx("span",{className:"font-medium text-base-content",children:o.name}),t.jsx("span",{className:"ml-auto shrink-0 badge badge-success badge-outline text-xs",children:"Delivered"})]},o.name))}),t.jsx("p",{className:"mt-8 mb-4 text-center text-sm font-medium uppercase tracking-wide text-base-content/60",children:"In Development"}),t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 max-w-2xl mx-auto",children:Dm.map(o=>t.jsxs("div",{className:"glass-effect hover-lift px-5 py-4 rounded-xl",style:{backgroundColor:s,boxShadow:f},children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx("span",{className:"shrink-0 inline-flex items-center justify-center bg-amber-500/20 p-1.5 rounded-full text-amber-400",children:t.jsx(q.Clock,{className:"w-5 h-5 shrink-0"})}),t.jsx("img",{src:o.logo,alt:o.name,className:"w-8 h-8 shrink-0 rounded-lg object-contain"}),t.jsx("span",{className:"font-medium text-base-content",children:o.name})]}),t.jsx("span",{className:"shrink-0 badge badge-warning badge-outline text-xs",children:"In Dev"})]}),t.jsx("p",{className:"mt-2 text-sm text-base-content/70 ml-8",children:o.desc.split(`
1117
+ `).map((h,l)=>t.jsxs("span",{children:[l>0&&t.jsx("br",{}),h]},l))})]},o.name))}),t.jsx("p",{className:"mt-8 mb-4 text-center text-sm font-medium uppercase tracking-wide text-base-content/60",children:"Planned"}),t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:Tm.map(o=>t.jsxs("div",{className:"flex items-center gap-3 glass-effect hover-lift px-5 py-4 rounded-xl",style:{backgroundColor:s,boxShadow:f},children:[t.jsx("span",{className:"shrink-0 inline-flex items-center justify-center bg-sky-500/20 p-1.5 rounded-full text-sky-400",children:t.jsx(q.Calendar,{className:"w-5 h-5 shrink-0"})}),t.jsx("span",{className:"font-medium text-base-content",children:o}),t.jsx("span",{className:"ml-auto shrink-0 badge badge-info badge-outline text-xs",children:"Planned"})]},o))})]})]})}),i&&t.jsx("div",{className:"py-4",children:t.jsx("div",{style:{height:1,width:"100%",maxWidth:"72rem",margin:"0 auto",backgroundColor:r,opacity:.8}})}),t.jsxs("section",{className:"py-12",children:[t.jsx("div",{className:"container mx-auto px-4 text-center mb-12",children:t.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:"Contributions by @sagarkothari88 & team"})}),t.jsx(_m,{apps:Em,cardBackgroundColor:s,cardShadow:f})]}),i&&t.jsx("div",{className:"py-4",children:t.jsx("div",{style:{height:1,width:"100%",maxWidth:"72rem",margin:"0 auto",backgroundColor:r,opacity:.8}})}),t.jsx("section",{className:"py-12",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"Powered by"}),t.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 max-w-5xl mx-auto",children:[d.map((o,h)=>t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl",style:{backgroundColor:s,boxShadow:f},children:[t.jsx("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center overflow-hidden rounded-xl",style:{backgroundColor:r},children:t.jsx("img",{src:o.avatar,alt:o.title,className:"h-full w-full object-cover"})}),t.jsx("h3",{className:"mt-3 text-lg font-semibold",style:{color:a},children:o.title}),t.jsx("p",{className:"mt-1 text-sm",style:{color:a,opacity:.6},children:o.description}),t.jsx("div",{className:"mt-4",children:t.jsxs("a",{href:o.link,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium text-white transition-colors",style:{backgroundColor:"#e31337"},children:[o.buttonText,t.jsx(q.ExternalLink,{className:"w-4 h-4"})]})})]},h)),t.jsxs("a",{href:"https://discord.gg/WEKa8JKg7W",target:"_blank",rel:"noopener noreferrer",className:"card glass-effect hover-lift flex flex-col p-6 rounded-xl",style:{backgroundColor:s,boxShadow:f},children:[t.jsx("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-xl",style:{backgroundColor:r},children:t.jsx("img",{src:"https://cdn.simpleicons.org/discord/5865F2",alt:"Discord",className:"h-6 w-6",width:24,height:24})}),t.jsx("h3",{className:"mt-3 text-lg font-semibold",style:{color:a},children:"Contact Support"}),t.jsx("p",{className:"mt-1 text-sm",style:{color:a,opacity:.6},children:"Get help on Discord"}),t.jsx("div",{className:"mt-4",children:t.jsxs("span",{className:"inline-flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium text-white transition-colors",style:{backgroundColor:"#e31337"},children:["Join",t.jsx(q.ExternalLink,{className:"w-4 h-4"})]})})]})]})]})}),t.jsx("div",{className:"py-20"})]})})})]})},Pm=.07,Lm=85,Mm=()=>{const[e,a]=T.useState({hiveUsd:Pm,usdInr:Lm}),[s,i]=T.useState(!0);return T.useEffect(()=>{(async()=>{try{const u=await(await fetch("https://api.coingecko.com/api/v3/simple/price?ids=hive&vs_currencies=usd,inr")).json();u?.hive?.usd&&u?.hive?.inr&&a({hiveUsd:u.hive.usd,usdInr:u.hive.inr/u.hive.usd})}catch{}finally{i(!1)}})()},[]),{rates:e,loading:s}},$m={USD:{symbol:"$",suffix:"",locale:"en-US"},HIVE:{symbol:"",suffix:" HIVE",locale:"en-US"},INR:{symbol:"₹",suffix:"",locale:"en-IN"}},Ot={salary3:1250,salary2:900,rent:300,utilities:50,vps:175,devPrograms:15,domains:15,infraDepMonth:50,infraMaintMonth:20,furnDepMonth:30,infraCost:6e3,furnitureCost:2400},oe={accent:"#818cf8",error:"#f87171",errorBg:"rgba(248,113,113,0.12)",errorBorder:"rgba(248,113,113,0.3)",warning:"#fbbf24",warningBg:"rgba(251,191,36,0.15)",success:"#34d399",successBg:"rgba(52,211,153,0.15)",info:"#38bdf8",infoBg:"rgba(56,189,248,0.15)",primary:"#6366f1",primaryBg:"rgba(99,102,241,0.15)",progressTrack:"rgba(30,41,59,0.72)"},Rm=(e,a)=>e==="USD"?1:e==="INR"?a.usdInr:1/a.hiveUsd,Vd=(e,a)=>{const s=Rm(e,a);return{salary3:Math.round(Ot.salary3*s),salary2:Math.round(Ot.salary2*s),rent:Math.round(Ot.rent*s),utilities:Math.round(Ot.utilities*s),vps:Math.round(Ot.vps*s),devPrograms:Math.round(Ot.devPrograms*s),domains:Math.round(Ot.domains*s),infraDepMonth:Math.round(Ot.infraDepMonth*s),infraMaintMonth:Math.round(Ot.infraMaintMonth*s),furnDepMonth:Math.round(Ot.furnDepMonth*s),infraCost:Math.round(Ot.infraCost*s),furnitureCost:Math.round(Ot.furnitureCost*s)}},Im=(e,a)=>{const{symbol:s,suffix:i,locale:r}=$m[a],n=Math.round(e).toLocaleString(r);return`${s}${n}${i}`},Fm=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Bm(e,a){const s=Vd(e,a),i=[];let r=1,n=1,u=1;const c=new Date(2022,0),d=new Date(2026,2),f=new Date(c);for(;f<=d;){const o=f.getFullYear(),h=f.getMonth(),l=f>=new Date(2022,6);l&&h===6&&!(o===2022&&h===6)&&(r*=.9,n*=.9,u*=.85);let p=s.salary3;o===2026&&h>=1&&(p=s.salary2),o>2026&&(p=s.salary2);const y=l?s.rent:0,w=l?s.utilities:0,b=l?s.vps:0,g=l?s.devPrograms:0,v=l?s.domains:0,N=l?Math.round(s.infraDepMonth*r):0,j=l?Math.round(s.infraMaintMonth*n):0,x=l?Math.round(s.furnDepMonth*u):0,m=p+y+w+b+g+v+N+j+x;i.push({year:o,month:h,label:`${Fm[h]} ${o}`,salaries:p,rent:y,utilities:w,vps:b,devPrograms:g,domains:v,infraDepreciation:N,infraMaintenance:j,furnitureDepreciation:x,total:m}),f.setMonth(f.getMonth()+1)}return i}const qm=({row:e,fmt:a,textColor:s,cardBackgroundColor:i,dividerColor:r})=>{const[n,u]=T.useState(!1),c=[];return c.push({label:"Salaries",value:e.salaries}),e.rent&&c.push({label:"Rent",value:e.rent}),e.utilities&&c.push({label:"Utilities",value:e.utilities}),e.vps&&c.push({label:"VPS & Hosting",value:e.vps}),e.devPrograms&&c.push({label:"Dev Programs",value:e.devPrograms}),e.domains&&c.push({label:"Domains",value:e.domains}),e.infraDepreciation&&c.push({label:"Infra Depreciation",value:e.infraDepreciation}),e.infraMaintenance&&c.push({label:"Infra Maintenance",value:e.infraMaintenance}),e.furnitureDepreciation&&c.push({label:"Furniture Depreciation",value:e.furnitureDepreciation}),t.jsxs("div",{style:{borderBottom:`1px solid ${r}`},children:[t.jsxs("button",{type:"button",onClick:()=>u(d=>!d),className:"w-full flex justify-between items-center py-3 px-2 transition-colors",style:{color:s},children:[t.jsx("span",{className:"font-medium text-sm",children:e.label}),t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx("span",{className:"font-bold text-sm",style:{color:oe.error},children:a(e.total)}),t.jsx("span",{className:`text-xs transition-transform duration-200 ${n?"rotate-180":""}`,style:{color:oe.accent},children:"▼"})]})]}),n&&t.jsxs("div",{className:"px-4 pb-4 pt-1 rounded-b-lg mx-2 mb-1",style:{backgroundColor:i},children:[c.map((d,f)=>t.jsxs("div",{className:"flex justify-between py-1.5",style:{borderTop:f>0?`1px solid ${r}`:"none"},children:[t.jsx("span",{className:"text-sm",style:{color:oe.accent},children:d.label}),t.jsx("span",{className:"font-medium text-sm",style:{color:s},children:a(d.value)})]},d.label)),t.jsxs("div",{className:"flex justify-between py-2 mt-1",style:{borderTop:`2px solid ${r}`},children:[t.jsx("span",{className:"font-bold text-sm",style:{color:s},children:"Total"}),t.jsx("span",{className:"font-bold text-sm",style:{color:oe.error},children:a(e.total)})]})]})]})},Vm=({onBack:e,backgroundColor:a="#111827",textColor:s="#e5e7eb",cardBackgroundColor:i="rgba(15,23,42,0.85)",dividerColor:r="rgba(148,163,184,0.4)"})=>{const[n,u]=T.useState("USD"),{rates:c,loading:d}=Mm(),f=T.useMemo(()=>Bm(n,c),[n,c]),o=T.useMemo(()=>Vd(n,c),[n,c]),h=N=>Im(N,n),l=[...new Set(f.map(N=>N.year))],p={};l.forEach(N=>{p[N]=f.filter(j=>j.year===N).reduce((j,x)=>j+x.total,0)});const y=f.reduce((N,j)=>N+j.total,0),w=o.infraCost+o.furnitureCost,b=y+w,g=["USD","HIVE","INR"],v="0 18px 45px rgba(0,0,0,0.6)";return t.jsxs("div",{className:"min-h-screen relative overflow-hidden",children:[t.jsx("div",{className:"fixed inset-0 z-0",style:{backgroundColor:a}}),t.jsx("div",{className:"fixed inset-0 z-10 backdrop-blur-md",style:{backgroundColor:a,opacity:.6}}),t.jsx("div",{className:"fixed inset-0 z-20 bg-gradient-to-br from-base-100 via-transparent to-base-100/10"}),t.jsx("div",{className:"fixed inset-0 z-20 bg-gradient-to-b from-base-100 via-transparent to-base-100/10"}),t.jsx("div",{className:"relative z-30",style:{color:s},children:t.jsxs("main",{className:"min-h-screen",children:[t.jsx("div",{className:"pt-8 pb-4",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsxs("button",{type:"button",onClick:e,className:"inline-flex items-center gap-2 hover:underline font-medium",style:{color:oe.accent},children:[t.jsx(qp,{className:"w-4 h-4"})," Back to Contributions View"]})})}),t.jsx("section",{className:"py-12",children:t.jsxs("div",{className:"container mx-auto px-4 text-center",children:[t.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full font-semibold text-sm mb-6",style:{backgroundColor:oe.errorBg,color:oe.error},children:[t.jsx(Dd,{className:"w-4 h-4"}),"Transparency Report — Running in Heavy Debt"]}),t.jsxs("h1",{className:"text-4xl md:text-5xl font-extrabold mb-4",style:{color:s},children:["Our Expenses — Every Single"," ",n==="USD"?"Dollar":n==="HIVE"?"Hive":"Rupee"]}),t.jsxs("p",{className:"max-w-2xl mx-auto text-lg",style:{color:s,opacity:.85},children:["We have never asked for funding. Every rupee has come out of our own pockets. All we ask in return is"," ",t.jsx("span",{className:"font-bold",style:{color:oe.accent},children:"your Hive witness vote"}),"."]})]})}),t.jsx("section",{className:"pb-8",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("div",{className:"flex justify-center",children:t.jsx("div",{className:"inline-flex rounded-xl p-1 gap-1",style:{backgroundColor:i,boxShadow:v},children:g.map(N=>t.jsxs("button",{onClick:()=>u(N),className:"px-6 py-2.5 rounded-lg font-semibold text-sm transition-all duration-200",style:n===N?{backgroundColor:oe.primary,color:"#ffffff",boxShadow:"0 4px 14px rgba(99,102,241,0.4)"}:{color:s,opacity:.7},children:[N==="INR"&&"₹ INR",N==="USD"&&"$ USD",N==="HIVE"&&"HIVE"]},N))})}),t.jsx("p",{className:"text-center text-xs mt-2",style:{color:s,opacity:.5},children:d?"Fetching live rates…":t.jsxs(t.Fragment,{children:["Live rates via CoinGecko: 1 HIVE ≈ $",c.hiveUsd.toFixed(4)," • 1 USD ≈ ₹",c.usdInr.toFixed(2)]})})]})}),t.jsx("section",{className:"py-8",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-center mb-8",style:{color:s},children:"Month-by-Month Expense Breakdown"}),t.jsx("div",{className:"max-w-6xl mx-auto hidden md:block rounded-2xl",style:{backgroundColor:i,boxShadow:v},children:t.jsxs("table",{className:"w-full border-collapse text-xs",children:[t.jsx("thead",{children:t.jsx("tr",{style:{borderBottom:`2px solid ${r}`},children:[{label:"Month",align:"left",cls:"pl-6"},{label:"Salaries",align:"right",cls:""},{label:"Rent",align:"right",cls:""},{label:"Utilities",align:"right",cls:""},{label:"VPS",align:"right",cls:"hidden lg:table-cell"},{label:"Dev Prog",align:"right",cls:"hidden lg:table-cell"},{label:"Domains",align:"right",cls:"hidden lg:table-cell"},{label:"Infra Dep.",align:"right",cls:"hidden xl:table-cell"},{label:"Infra Maint.",align:"right",cls:"hidden xl:table-cell"},{label:"Furn. Dep.",align:"right",cls:"hidden xl:table-cell"},{label:"Total",align:"right",cls:"pr-6"}].map(({label:N,align:j,cls:x})=>t.jsx("th",{className:`px-3 py-4 font-semibold uppercase tracking-wider whitespace-nowrap ${x}`,style:{textAlign:j,color:s,opacity:.5},children:N},N))})}),t.jsxs("tbody",{children:[l.map(N=>{const j=f.filter(x=>x.year===N);return t.jsxs(T.Fragment,{children:[t.jsx("tr",{children:t.jsx("td",{colSpan:11,className:"px-3 py-3 font-bold text-center tracking-widest uppercase",style:{backgroundColor:oe.primaryBg,color:oe.primary},children:N})}),j.map(x=>t.jsxs("tr",{className:"transition-colors",style:{borderBottom:`1px solid ${r}`},onMouseEnter:m=>m.currentTarget.style.backgroundColor="rgba(255,255,255,0.03)",onMouseLeave:m=>m.currentTarget.style.backgroundColor="transparent",children:[t.jsx("td",{className:"pl-6 pr-3 py-3 font-medium whitespace-nowrap",style:{color:s},children:x.label}),t.jsx("td",{className:"px-3 py-3 text-right tabular-nums whitespace-nowrap",style:{color:s,opacity:.85},children:h(x.salaries)}),t.jsx("td",{className:"px-3 py-3 text-right tabular-nums whitespace-nowrap",style:{color:s,opacity:.85},children:x.rent?h(x.rent):t.jsx("span",{style:{opacity:.3},children:"—"})}),t.jsx("td",{className:"px-3 py-3 text-right tabular-nums whitespace-nowrap",style:{color:s,opacity:.85},children:x.utilities?h(x.utilities):t.jsx("span",{style:{opacity:.3},children:"—"})}),t.jsx("td",{className:"px-5 py-3 text-right tabular-nums whitespace-nowrap hidden lg:table-cell",style:{color:s,opacity:.85},children:x.vps?h(x.vps):t.jsx("span",{style:{opacity:.3},children:"—"})}),t.jsx("td",{className:"px-5 py-3 text-right tabular-nums whitespace-nowrap hidden lg:table-cell",style:{color:s,opacity:.85},children:x.devPrograms?h(x.devPrograms):t.jsx("span",{style:{opacity:.3},children:"—"})}),t.jsx("td",{className:"px-5 py-3 text-right tabular-nums whitespace-nowrap hidden lg:table-cell",style:{color:s,opacity:.85},children:x.domains?h(x.domains):t.jsx("span",{style:{opacity:.3},children:"—"})}),t.jsx("td",{className:"px-5 py-3 text-right tabular-nums whitespace-nowrap hidden xl:table-cell",style:{color:s,opacity:.85},children:x.infraDepreciation?h(x.infraDepreciation):t.jsx("span",{style:{opacity:.3},children:"—"})}),t.jsx("td",{className:"px-5 py-3 text-right tabular-nums whitespace-nowrap hidden xl:table-cell",style:{color:s,opacity:.85},children:x.infraMaintenance?h(x.infraMaintenance):t.jsx("span",{style:{opacity:.3},children:"—"})}),t.jsx("td",{className:"px-5 py-3 text-right tabular-nums whitespace-nowrap hidden xl:table-cell",style:{color:s,opacity:.85},children:x.furnitureDepreciation?h(x.furnitureDepreciation):t.jsx("span",{style:{opacity:.3},children:"—"})}),t.jsx("td",{className:"pl-3 pr-6 py-3 text-right font-bold tabular-nums whitespace-nowrap",style:{color:oe.error},children:h(x.total)})]},x.label)),t.jsxs("tr",{style:{borderTop:`2px solid ${oe.errorBorder}`,backgroundColor:"rgba(248,113,113,0.06)"},children:[t.jsxs("td",{colSpan:10,className:"pl-6 pr-3 py-3.5 font-bold",style:{color:oe.error},children:[N," Total"]}),t.jsx("td",{className:"pl-3 pr-6 py-3.5 text-right font-bold tabular-nums whitespace-nowrap",style:{color:oe.error},children:h(p[N])})]})]},N)}),t.jsxs("tr",{style:{borderTop:`3px solid ${oe.error}`,backgroundColor:oe.errorBg},children:[t.jsx("td",{colSpan:10,className:"pl-6 pr-3 py-4 text-2xl font-extrabold",style:{color:oe.error},children:"GRAND TOTAL (Recurring)"}),t.jsx("td",{className:"pl-3 pr-6 py-4 text-right text-2xl font-extrabold tabular-nums whitespace-nowrap",style:{color:oe.error},children:h(y)})]}),t.jsxs("tr",{style:{backgroundColor:oe.errorBg,borderTop:`1px solid ${r}`},children:[t.jsx("td",{colSpan:10,className:"pl-6 pr-3 py-3 text-2xl font-extrabold",style:{color:oe.warning},children:"+ Capital Investments"}),t.jsx("td",{className:"pl-3 pr-6 py-3 text-right text-2xl font-extrabold tabular-nums whitespace-nowrap",style:{color:oe.warning},children:h(w)})]}),t.jsxs("tr",{style:{backgroundColor:"rgba(248,113,113,0.16)",borderTop:`2px solid ${oe.error}`},children:[t.jsx("td",{colSpan:10,className:"pl-6 pr-3 py-4 text-2xl font-extrabold",style:{color:oe.error},children:"TOTAL EXPENSES"}),t.jsx("td",{className:"pl-3 pr-6 py-4 text-right text-2xl font-extrabold tabular-nums whitespace-nowrap",style:{color:oe.error},children:h(b)})]})]})]})}),t.jsxs("div",{className:"md:hidden max-w-lg mx-auto",children:[l.map(N=>{const j=f.filter(x=>x.year===N);return t.jsxs(T.Fragment,{children:[t.jsx("div",{className:"font-extrabold text-center py-3 text-lg rounded-lg mt-4 first:mt-0",style:{backgroundColor:oe.primaryBg,color:oe.primary},children:N}),j.map(x=>t.jsx(qm,{row:x,fmt:h,textColor:s,cardBackgroundColor:i,dividerColor:r},x.label)),t.jsxs("div",{className:"flex justify-between items-center py-4 mb-2",style:{borderTop:`2px solid ${oe.errorBorder}`},children:[t.jsxs("span",{className:"font-extrabold text-lg",style:{color:oe.error},children:[N," Total"]}),t.jsx("span",{className:"font-extrabold text-lg",style:{color:oe.error},children:h(p[N])})]})]},N)}),t.jsxs("div",{className:"mt-2 rounded-xl overflow-hidden",children:[t.jsxs("div",{className:"flex justify-between items-center px-4 py-4",style:{backgroundColor:oe.errorBg,borderTop:`4px solid ${oe.error}`},children:[t.jsx("span",{className:"font-extrabold text-base",style:{color:oe.error},children:"GRAND TOTAL (Recurring)"}),t.jsx("span",{className:"font-extrabold text-base",style:{color:oe.error},children:h(y)})]}),t.jsxs("div",{className:"flex justify-between items-center px-4 py-3",style:{backgroundColor:oe.errorBg},children:[t.jsx("span",{className:"font-extrabold text-base",style:{color:oe.warning},children:"+ Capital Investments"}),t.jsx("span",{className:"font-extrabold text-base",style:{color:oe.warning},children:h(w)})]}),t.jsxs("div",{className:"flex justify-between items-center px-4 py-4",style:{backgroundColor:"rgba(248,113,113,0.18)",borderTop:`2px solid ${oe.error}`},children:[t.jsx("span",{className:"font-extrabold text-lg",style:{color:oe.error},children:"TOTAL EXPENSES"}),t.jsx("span",{className:"font-extrabold text-lg",style:{color:oe.error},children:h(b)})]})]})]})]})}),t.jsx("div",{className:"py-2",children:t.jsx("div",{className:"max-w-5xl mx-auto",style:{height:1,backgroundColor:r}})}),t.jsx("section",{className:"py-8",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 max-w-5xl mx-auto",children:[{icon:Lp,iconColor:oe.error,borderColor:oe.error,label:"Total Recurring Expenses",value:h(y),valueColor:oe.error,sub:null},{icon:Li,iconColor:oe.warning,borderColor:oe.warning,label:"Capital Investments",value:h(w),valueColor:oe.warning,sub:null},{icon:Fp,iconColor:oe.error,borderColor:oe.error,label:"Grand Total Spent",value:h(b),valueColor:oe.error,sub:null},{icon:kc,iconColor:oe.success,borderColor:oe.success,label:"Revenue / Funding",value:h(0),valueColor:oe.success,sub:"Zero. Nothing. Nada."}].map(({icon:N,iconColor:j,borderColor:x,label:m,value:k,valueColor:_,sub:E})=>t.jsxs("div",{className:"card glass-effect p-6 rounded-xl text-center border-l-4",style:{backgroundColor:i,boxShadow:v,borderColor:x},children:[t.jsx(N,{className:"w-8 h-8 mx-auto mb-2",style:{color:j}}),t.jsx("p",{className:"text-sm uppercase tracking-wide mb-1",style:{color:s,opacity:.6},children:m}),t.jsx("p",{className:"text-2xl font-extrabold",style:{color:_},children:k}),E&&t.jsx("p",{className:"text-xs mt-1 font-semibold",style:{color:oe.error},children:E})]},m))})})}),t.jsx("div",{className:"py-2",children:t.jsx("div",{className:"max-w-5xl mx-auto",style:{height:1,backgroundColor:r}})}),t.jsx("section",{className:"py-8",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-center mb-8",style:{color:s},children:"Capital Investments (One-Time)"}),t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 max-w-3xl mx-auto",children:[t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl",style:{backgroundColor:i,boxShadow:v},children:[t.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[t.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center",style:{backgroundColor:oe.warningBg},children:t.jsx(Li,{className:"w-5 h-5",style:{color:oe.warning}})}),t.jsx("h3",{className:"text-lg font-bold",style:{color:s},children:"IT Infrastructure"})]}),t.jsx("p",{className:"text-sm mb-2",style:{color:s,opacity:.75},children:"Laptops, computers, networking equipment — purchased since July 2022"}),t.jsx("p",{className:"text-2xl font-extrabold",style:{color:oe.warning},children:h(o.infraCost)}),t.jsx("p",{className:"text-xs mt-1",style:{color:s,opacity:.45},children:"Depreciating at 10%/year • 5%/year maintenance"})]}),t.jsxs("div",{className:"card glass-effect hover-lift p-6 rounded-xl",style:{backgroundColor:i,boxShadow:v},children:[t.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[t.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center",style:{backgroundColor:oe.infoBg},children:t.jsx(Rp,{className:"w-5 h-5",style:{color:oe.info}})}),t.jsx("h3",{className:"text-lg font-bold",style:{color:s},children:"Fixtures & Furniture"})]}),t.jsx("p",{className:"text-sm mb-2",style:{color:s,opacity:.75},children:"Office furniture, fixtures, and setup — since July 2022"}),t.jsx("p",{className:"text-2xl font-extrabold",style:{color:oe.info},children:h(o.furnitureCost)}),t.jsx("p",{className:"text-xs mt-1",style:{color:s,opacity:.45},children:"Depreciating at 15%/year"})]})]})]})}),t.jsx("div",{className:"py-2",children:t.jsx("div",{className:"max-w-5xl mx-auto",style:{height:1,backgroundColor:r}})}),t.jsx("section",{className:"py-8",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-center mb-8",style:{color:s},children:"Monthly Recurring Expense Categories"}),t.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 max-w-5xl mx-auto",children:[{icon:Dp,iconBg:oe.primaryBg,iconColor:oe.primary,label:"Developer Salaries",desc:`3 devs (Jan 2022 – Jan 2026): ${h(o.salary3)}/mo
1118
+ 2 devs (Feb 2026 – present): ${h(o.salary2)}/mo`},{icon:Bp,iconBg:oe.errorBg,iconColor:oe.error,label:"Office Rent",desc:`${h(o.rent)}/month since July 2022`},{icon:Td,iconBg:oe.warningBg,iconColor:oe.warning,label:"Utilities",desc:`Internet, Electricity & Backup = ${h(o.utilities)}/mo`},{icon:Tp,iconBg:oe.infoBg,iconColor:oe.info,label:"VPS & Hosting",desc:`Hive witness, VSC witness, app backends — ${h(o.vps)}/mo`},{icon:$p,iconBg:oe.successBg,iconColor:oe.success,label:"Dev Programs & Domains",desc:`Apple/Google dev programs ${h(o.devPrograms)} + Domains ${h(o.domains)} = ${h(o.devPrograms+o.domains)}/mo`},{icon:Li,iconBg:oe.warningBg,iconColor:oe.warning,label:"Depreciation & Maintenance",desc:`IT infra: 10% depreciation + 5% maintenance/yr
1119
+ Furniture: 15% depreciation/yr`}].map(({icon:N,iconBg:j,iconColor:x,label:m,desc:k})=>t.jsxs("div",{className:"card glass-effect hover-lift p-5 rounded-xl",style:{backgroundColor:i,boxShadow:v},children:[t.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[t.jsx("div",{className:"w-9 h-9 rounded-lg flex items-center justify-center",style:{backgroundColor:j},children:t.jsx(N,{className:"w-5 h-5",style:{color:x}})}),t.jsx("h3",{className:"font-bold text-sm",style:{color:s},children:m})]}),t.jsx("p",{className:"text-xs whitespace-pre-line",style:{color:s,opacity:.7},children:k})]},m))})]})}),t.jsx("div",{className:"py-2",children:t.jsx("div",{className:"max-w-5xl mx-auto",style:{height:1,backgroundColor:r}})}),t.jsx("section",{className:"py-12",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsx("div",{className:"max-w-3xl mx-auto",children:t.jsxs("div",{className:"card glass-effect rounded-2xl p-8",style:{backgroundColor:i,boxShadow:v,border:`2px solid ${r}`},children:[t.jsxs("div",{className:"text-center mb-6",children:[t.jsx(Mp,{className:"w-12 h-12 mx-auto mb-4",style:{color:oe.error}}),t.jsx("h2",{className:"text-3xl font-extrabold mb-2",style:{color:oe.error},children:"The Hard Truth"})]}),t.jsxs("div",{className:"space-y-4 text-base",style:{color:s,opacity:.9},children:[t.jsxs("p",{children:["We have spent"," ",t.jsx("span",{className:"font-extrabold",style:{color:oe.error},children:h(b)})," ","of our own money building apps, running infrastructure, and supporting the Hive ecosystem."]}),t.jsxs("p",{children:["Except for 3Speak-funded projects —"," ",t.jsx("span",{className:"font-semibold",style:{color:s},children:"Distriator"}),","," ",t.jsx("span",{className:"font-semibold",style:{color:s},children:"CheckInWithXYZ"})," ","&"," ",t.jsx("span",{className:"font-semibold",style:{color:s},children:"3Speak"})," ","— we have"," ",t.jsx("span",{className:"font-extrabold",style:{color:oe.error},children:"never received any funding"})," ","for any of our other projects. Everything else has been entirely self-funded."]}),t.jsxs("p",{children:["We have"," ",t.jsx("span",{className:"font-bold",style:{color:oe.error},children:"never asked for DHF funding or any grants"}),". We have not monetized any of our apps. We have not put ads in our apps. Everything is free, open-source, and built for the Hive community."]}),t.jsxs("p",{children:["On top of all this, we are holding"," ",t.jsx("span",{className:"font-extrabold",style:{color:oe.accent},children:"Hive Power (staked HIVE) worth $11,000"})," ","— locked for 3 months — and we are continuously investing and increasing our stake in Hive. We don't just build on Hive, we put our money where our mouth is."]}),t.jsxs("p",{children:["Since July 2023, we also send approximately"," ",t.jsx("span",{className:"font-bold",style:{color:s},children:"$10 to $20 worth of support every month"})," ","to community initiatives like"," ",t.jsx("span",{className:"font-semibold",children:"Ladies of Hive"}),","," ",t.jsx("span",{className:"font-semibold",children:"Shadow Hunters"}),","," ",t.jsx("span",{className:"font-semibold",children:"Reflection Hunters"}),","," ",t.jsx("span",{className:"font-semibold",children:"Bird Watchers"}),","," ",t.jsx("span",{className:"font-semibold",children:"Power Plant Vegan"}),","," ",t.jsx("span",{className:"font-semibold",children:"India United"}),", and"," ",t.jsx("span",{className:"font-semibold",children:"Amazing Drinks"}),". On top of that, we actively support many Hive users by upvoting their content and rewarding them with Hive inflation through our curation efforts."]}),t.jsxs("p",{children:["This is not sustainable. We are running in"," ",t.jsx("span",{className:"font-extrabold",style:{color:oe.error},children:"heavy debt"}),". Every month, the expenses pile up — salaries, rent, hosting, infrastructure — and nothing comes back."]}),t.jsx("p",{className:"font-semibold",style:{color:s},children:"This is taking a heavy toll — financially, mentally, and emotionally. Building for years without any return is exhausting. But we keep going because we believe in Hive and its community."})]}),t.jsx("div",{className:"my-6",style:{height:1,backgroundColor:r}}),t.jsxs("div",{className:"text-center",children:[t.jsx("h3",{className:"text-2xl font-extrabold mb-3",style:{color:oe.accent},children:"All We Ask Is Your Witness Vote"}),t.jsxs("p",{className:"mb-6 max-w-lg mx-auto",style:{color:s,opacity:.85},children:["We have never asked for money. We are not asking for money now. Just your"," ",t.jsx("span",{className:"font-bold",style:{color:oe.accent},children:"Hive witness vote for @sagarkothari88"})," ","— that's it. That small gesture of support means the world to us and helps us keep building for the ecosystem."]}),t.jsxs("a",{href:"https://vote.hive.uno/@sagarkothari88",target:"_blank",rel:"noopener noreferrer",className:"btn btn-primary btn-lg gap-2",children:[t.jsx(kc,{className:"w-5 h-5"}),"Vote @sagarkothari88 as Witness"]})]})]})})})}),t.jsx("section",{className:"py-8",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[t.jsx("h3",{className:"text-xl font-bold mb-4",style:{color:s},children:"Debt vs Revenue"}),t.jsx("div",{className:"w-full rounded-full h-8 overflow-hidden mb-2",style:{backgroundColor:oe.progressTrack},children:t.jsx("div",{className:"h-full rounded-full flex items-center justify-end pr-3",style:{width:"100%",background:`linear-gradient(90deg, ${oe.error}, rgba(248,113,113,0.7))`},children:t.jsxs("span",{className:"text-xs font-bold text-white",children:["DEBT: ",h(b)]})})}),t.jsx("div",{className:"w-full rounded-full h-8 overflow-hidden",style:{backgroundColor:oe.progressTrack},children:t.jsx("div",{className:"h-full rounded-full flex items-center pl-3",style:{width:"2%",minWidth:"80px",backgroundColor:oe.success},children:t.jsx("span",{className:"text-xs font-bold text-white",children:h(0)})})}),t.jsxs("p",{className:"text-xs mt-2",style:{color:s,opacity:.45},children:["Revenue bar is at minimum width because the actual value is ",h(0)]})]})})}),t.jsx("div",{className:"py-20"})]})})]})},Um=1,zm=1e6;let Ii=0;function Hm(){return Ii=(Ii+1)%Number.MAX_SAFE_INTEGER,Ii.toString()}const Fi=new Map,Tc=e=>{if(Fi.has(e))return;const a=setTimeout(()=>{Fi.delete(e),rs({type:"REMOVE_TOAST",toastId:e})},zm);Fi.set(e,a)},Ud=(e,a)=>{switch(a.type){case"ADD_TOAST":return{...e,toasts:[a.toast,...e.toasts].slice(0,Um)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(s=>s.id===a.toast.id?{...s,...a.toast}:s)};case"DISMISS_TOAST":{const{toastId:s}=a;return s?Tc(s):e.toasts.forEach(i=>{Tc(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===s||s===void 0?{...i,open:!1}:i)}}case"REMOVE_TOAST":return a.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(s=>s.id!==a.toastId)}}},tn=[];let rn={toasts:[]};function rs(e){rn=Ud(rn,e),tn.forEach(a=>{a(rn)})}function zd({...e}){const a=Hm(),s=r=>rs({type:"UPDATE_TOAST",toast:{...r,id:a}}),i=()=>rs({type:"DISMISS_TOAST",toastId:a});return rs({type:"ADD_TOAST",toast:{...e,id:a,open:!0,onOpenChange:r=>{r||i()}}}),{id:a,dismiss:i,update:s}}function Wm(){const[e,a]=an.useState(rn);return an.useEffect(()=>(tn.push(a),()=>{const s=tn.indexOf(a);s>-1&&tn.splice(s,1)}),[e]),{...e,toast:zd,dismiss:s=>rs({type:"DISMISS_TOAST",toastId:s})}}exports.ActivityList=Qp;exports.ApiVideoFeedType=Ze;exports.CommentsList=ym;exports.CommentsModal=fo;exports.CommunitiesList=pm;exports.CommunityAbout=$d;exports.CommunityDetail=mm;exports.CommunityMembers=Id;exports.CommunityPostDetails=gm;exports.CommunityTeam=Rd;exports.ExpensesView=Vm;exports.FavouriteWidget=mo;exports.FollowersList=Yp;exports.FollowingList=Zp;exports.HiveContributionsLanding=Om;exports.HiveToolbar=dm;exports.ListOfWitnesses=tm;exports.Modal=Ad;exports.PostActionButton=fm;exports.PostFeedList=Pd;exports.ProposalsList=Gp;exports.TransactionHistory=sm;exports.UpvoteList=xm;exports.UpvoteListModal=ho;exports.UserAccount=vm;exports.UserChannel=om;exports.UserFollowers=Fd;exports.UserFollowing=Bd;exports.UserInfo=qd;exports.UserProfilePage=wm;exports.VideoCard=Mc;exports.VideoDetail=wp;exports.VideoFeed=dn;exports.VideoInfo=$c;exports.Wallet=Hp;exports.apiService=Pe;exports.reducer=Ud;exports.server=cr;exports.toast=zd;exports.useIsMobile=Md;exports.useToast=Wm;exports.useWalletStore=Od;exports.witnessService=pt;
package/dist/index.d.ts CHANGED
@@ -31,6 +31,7 @@ export { default as UserFollowing } from './components/user/UserFollowing';
31
31
  export { default as UserInfo } from './components/user/UserInfo';
32
32
  export { default as UserProfilePage } from './components/user/UserProfilePage';
33
33
  export { default as HiveContributionsLanding } from './components/landing-page/HiveContributionsLanding';
34
+ export { default as ExpensesView } from './components/landing-page/ExpensesView';
34
35
  export * from './hooks/use-mobile';
35
36
  export * from './hooks/use-toast';
36
37
  export * from './types/comment';