PageSourceSearch

https://udgifoundation.org/_next/static/chunks/2905.884e2a8c7132264e.js

js udgifoundation.org collected 2026-10-07 07:47:29 UTC 19,912 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2905],{6962:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(78340).A)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]])},7915:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(78340).A)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},12905:(e,t,s)=>{s.r(t),s.d(t,{AdminVolunteers:()=>D});var a=s(95155),r=s(12115),n=s(86079),l=s(57684),i=s(92289),d=s(12651),c=s(28206),o=s(62791),m=s(6962),x=s(24538),u=s(85118),h=s(21628),p=s(7915),f=s(68459),j=s(86901),g=s(57420),v=s(6296),y=s(84980),N=s(33210),b=s(81477),w=s(89239),A=s(45160),k=s(60529),C=s(18349),S=s(86846),E=s(42763),M=s(52300),$=s(92900),I=s(66609),z=s(42631);let V=["new","contacted","onboarded","active","inactive"],L={new:{label:"New",color:"#0e7490",icon:l.A},contacted:{label:"Contacted",color:"#2563eb",icon:i.A},onboarded:{label:"Onboarded",color:"#f59e0b",icon:d.A},active:{label:"Active",color:"#16a34a",icon:c.A},inactive:{label:"Inactive",color:"#9ca3af",icon:o.A}},O=e=>e?new Date(e).toLocaleDateString("en-IN",{day:"numeric",month:"short",year:"numeric"}):"—";function D(){let{user:e}=(0,$.CU)(),[t,s]=(0,r.useState)([]),[l,o]=(0,r.useState)(!0),[D,T]=(0,r.useState)(null),[F,G]=(0,r.useState)(""),[P,W]=(0,r.useState)("all"),[_,q]=(0,r.useState)(null),[H,J]=(0,r.useState)(!1),[R,Q]=(0,r.useState)(""),U=(0,r.useCallback)(()=>{o(!0),fetch("/api/admin/volunteers").then(e=>e.json()).then(e=>{e.ok?s(e.data||[]):I.toast.error("Failed to load volunteers")}).catch(()=>I.toast.error("Network error")).finally(()=>o(!1))},[]);(0,r.useEffect)(()=>{U()},[U]);let Z=(0,r.useMemo)(()=>{let e={total:t.length};for(let s of V)e[s]=t.filter(e=>e.status===s).length;return e},[t]),B=(0,r.useMemo)(()=>{let e=F.toLowerCase().trim();return t.filter(t=>{let s=!e||t.name.toLowerCase().includes(e)||t.email.toLowerCase().includes(e)||(t.city||"").toLowerCase().includes(e)||(t.state||"").toLowerCase().includes(e),a="all"===P||t.status===P;return s&&a})},[t,F,P]),K=async(e,t)=>{T(e.id);let a=e.status;s(s=>s.map(s=>s.id===e.id?{...s,status:t}:s)),_?.id===e.id&&q(e=>e?{...e,status:t}:e);try{let s=await fetch("/api/admin/volunteers",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:e.id,status:t})});if(!(await s.json()).ok)throw Error();I.toast.success(`Marked as ${L[t].label}`)}catch{s(t=>t.map(t=>t.id===e.id?{...t,status:a}:t)),_?.id===e.id&&q(e=>e?{...e,status:a}:e),I.toast.error("Failed to update status")}finally{T(null)}},X=async()=>{if(_){T(_.id);try{let e=await fetch("/api/admin/volunteers",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:_.id,notes:R})});if(!(await e.json()).ok)throw Error();I.toast.success("Notes saved"),s(e=>e.map(e=>e.id===_.id?{...e,notes:R}:e)),q(e=>e?{...e,notes:R}:e)}catch{I.toast.error("Failed to save notes")}finally{T(null)}}},Y=async e=>{if(confirm(`Delete volunteer "${e.name}"?`)){T(e.id);try{let t=await fetch(`/api/admin/volunteers?id=${e.id}`,{method:"DELETE"});if(!(await t.json()).ok)throw Error();I.toast.success("Volunteer deleted"),J(!1),U()}catch{I.toast.error("Failed to delete")}finally{T(null)}}};return e&&!["admin","superadmin","sub_admin","subadmin"].includes(e.role)?(0,a.jsx)("div",{className:"p-8 text-center text-muted-foreground",children:"Admin access required"}):(0,a.jsxs)("div",{className:"p-4 md:p-6 lg:p-8 space-y-6",children:[(0,a.jsxs)("div",{className:"flex flex-col md:flex-row md:items-center md:justify-between gap-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"text-2xl md:text-3xl font-bold font-heading",children:"Volunteers"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground mt-1",children:"Volunteer applications & onboarding pipeline"})]}),(0,a.jsxs)(A.E,{variant:"secondary",className:"gap-1.5 py-1.5 w-fit",children:[(0,a.jsx)(c.A,{className:"w-3.5 h-3.5 text-brand"})," ",Z.total," volunteers"]})]}),(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsxs)(w.$,{size:"sm",variant:"outline",onClick:()=>{let e=B.map(e=>({Name:e.name,Email:e.email,Phone:e.phone,City:e.city||"",State:e.state||"",Skills:e.skills||"",Interests:e.interests||"",Availability:e.availability||"",Experience:e.experience||"",Message:e.message||"",Status:e.status,Notes:e.notes||"","Created At":new Date(e.createdAt).toLocaleDateString("en-IN")}));(0,z.bJ)(e,`volunteers_${new Date().toISOString().slice(0,10)}`,"Volunteers"),I.toast.success(`Exported ${e.length} volunteers to Excel`)},disabled:l||0===B.length,children:[(0,a.jsx)(m.A,{className:"w-4 h-4 mr-1.5"})," Export Excel (",B.length,")"]})}),(0,a.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-5 ga
1p-3",children:V.map((e,t)=>{let s=L[e];return(0,a.jsx)(n.P.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.05*t},children:(0,a.jsx)(b.Zp,{className:`shadow-soft cursor-pointer hover:shadow-card transition-shadow ${P===e?"ring-2 ring-primary":""}`,children:(0,a.jsxs)(b.Wu,{className:"p-4",onClick:()=>W(P===e?"all":e),children:[(0,a.jsx)(s.icon,{className:"w-4 h-4 mb-1",style:{color:s.color}}),(0,a.jsx)("div",{className:"text-2xl font-bold tabular-nums",children:l?(0,a.jsx)(S.E,{className:"h-7 w-12"}):(0,a.jsx)(M.q,{value:Z[e]||0})}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:s.label})]})})},e)})}),(0,a.jsxs)(b.Zp,{className:"shadow-soft",children:[(0,a.jsx)(b.aR,{children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row md:items-center md:justify-between gap-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(b.ZB,{className:"text-base",children:"Volunteers Directory"}),(0,a.jsxs)(b.BT,{children:[B.length," of ",Z.total," volunteers ","all"!==P&&`(filtered: ${L[P].label})`]})]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(k.p,{placeholder:"Search name, email, city...",value:F,onChange:e=>G(e.target.value),className:"h-9 md:w-64"}),"all"!==P&&(0,a.jsx)(w.$,{size:"sm",variant:"ghost",onClick:()=>W("all"),children:"Clear"})]})]})}),(0,a.jsx)(b.Wu,{children:(0,a.jsx)("div",{className:"overflow-x-auto -mx-6 px-6",children:(0,a.jsxs)("table",{className:"w-full text-sm",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{className:"border-b text-left text-muted-foreground",children:[(0,a.jsx)("th",{className:"py-2 pr-3 font-medium",children:"Volunteer"}),(0,a.jsx)("th",{className:"py-2 px-3 font-medium",children:"Location"}),(0,a.jsx)("th",{className:"py-2 px-3 font-medium",children:"Interests"}),(0,a.jsx)("th",{className:"py-2 px-3 font-medium",children:"Status"}),(0,a.jsx)("th",{className:"py-2 px-3 font-medium",children:"Applied"}),(0,a.jsx)("th",{className:"py-2 pl-3 font-medium text-right",children:"Actions"})]})}),(0,a.jsxs)("tbody",{children:[l?Array.from({length:5}).map((e,t)=>(0,a.jsx)("tr",{className:"border-b last:border-0",children:(0,a.jsx)("td",{colSpan:6,className:"py-3",children:(0,a.jsx)(S.E,{className:"h-8 w-full"})})},t)):B.map(e=>{let t=L[e.status]||L.new,s=V.indexOf(e.status),r=s>=0&&s<V.length-1;return(0,a.jsxs)("tr",{className:"border-b last:border-0 hover:bg-muted/40",children:[(0,a.jsx)("td",{className:"py-2.5 pr-3",children:(0,a.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,a.jsx)("div",{className:"w-8 h-8 rounded-full bg-gradient-brand flex items-center justify-center text-white text-xs font-medium",children:e.name.split(" ").map(e=>e[0]).slice(0,2).join("")}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("div",{className:"font-medium truncate",children:e.name}),(0,a.jsxs)("div",{className:"text-xs text-muted-foreground truncate flex items-center gap-1",children:[(0,a.jsx)(i.A,{className:"w-3 h-3"})," ",e.email]})]})]})}),(0,a.jsxs)("td",{className:"py-2.5 px-3 text-xs text-muted-foreground",children:[(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(x.A,{className:"w-3 h-3"})," ",e.city||"—",", ",e.state||"—"]}),(0,a.jsxs)("span",{className:"flex items-center gap-1 mt-0.5",children:[(0,a.jsx)(u.A,{className:"w-3 h-3"})," ",e.phone]})]}),(0,a.jsx)("td",{className:"py-2.5 px-3 text-xs text-muted-foreground max-w-[200px] truncate",children:e.interests||"—"}),(0,a.jsx)("td",{className:"py-2.5 px-3",children:(0,a.jsxs)(A.E,{variant:"outline",className:"text-xs gap-1.5",style:{borderColor:t.color,color:t.color},children:[(0,a.jsx)(t.icon,{className:"w-3 h-3"})," ",t.label]})}),(0,a.jsx)("td",{className:"py-2.5 px-3 text-xs text-muted-foreground",children:O(e.createdAt)}),(0,a.jsx)("td",{className:"py-2.5 pl-3 text-right",children:(0,a.jsxs)("div",{className:"inline-flex gap-1",children:[r&&(0,a.jsxs)(w.$,{size:"sm",variant:"ghost",className:"h-8 px-2",disabled:D===e.id,onClick:()=>{let t;(t=V.indexOf(e.status))<V.length-1&&K(e,V[t+1])},title:"Advance to next stage",children:[(0,a.jsx)(h.A,{className:"w-3.5 h-3.5"})," Advance"]}),(0,a.jsx)(w.$,{size:"sm",variant:"ghost",className:"h-8 w-8 p-0",onClick:()=>{q(e),Q(e.notes||""),J(!0)},title:"View",children:(0,a.jsx)(p.A,{className:"w-4 h-4"})}),(0,a.jsx)(w.$,{size:"sm",variant:"ghost",className:"h-8 w-8 p-0 text-destructive",disabled:D===e.id,onClick:()=>Y(e),title:"Delete",children:(0,a.jsx)(f.A,{className:"w-4 h-4"})})]})})]},e.id)}),!l&&0===B.length&&(0,a.jsx)("tr",{children:(0,a.jsx)("td",{colSpan:6,className:"py-10 text-center text-muted-foreground text-sm",children:"No volunteers found."})})]})]})})})]}),(0,a.jsx)(E.lG,{open:H,onOpenChange:J,children:(0,a.jsx)(E.Cf,{className:"max-w-2xl max-h-[90vh] overflow-y-auto scrollbar-thin",children:_&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(E.c7,{children:[(0,a.jsxs)(E.L3,{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:"w-12 h-12 rounded-full bg-gradient-brand flex items-center justify-center text-white font-medium",children:_.name.split(" ").map(e=>e[0]).slice(0,2).join("")}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{children:_.name}),(0,a.jsxs)("div",{className:"text-xs font-normal text-muted-foreground flex items-center gap-1",children:[(0,a.jsx)(i.A,{className:"w-3 h-3"})," ",_.email]})]})]}),(0,a.jsx)(E.rr,{children:"Volunteer application & pipeline status"})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"rounded-lg border p-4",children:[(0,a.jsxs)("div",{className:"text-sm font-semibold mb-3 flex items-center gap-2",children:[(0,a.jsx)(j.A,{className:"w-4 h-4 text-brand"})," Pipeline Status"]}),(0,a.jsx)("div",{className:"flex items-center gap-1 overflow-x-auto scrollbar-thin",children:V.map((e,t)=>{let s=L[e],r=_.status===e,n=V.indexOf(_.status)>t;return(0,a.jsxs)("div",{className:"flex items-center gap-1 shrink-0",children:[(0,a.jsxs)("button",{disabled:D===_.id,onClick:()=>K(_,e),className:`px-2.5 py-1.5 rounded-md text-xs font-medium border transition-colors ${r?"border-primary bg-primary text-primary-foreground":n?"border-muted-foreground
1/30 bg-muted/40":"border-muted-foreground/20"}`,children:[(0,a.jsx)(s.icon,{className:"w-3 h-3 inline mr-1",style:{color:r?"white":s.color}}),s.label]}),t<V.length-1&&(0,a.jsx)(h.A,{className:"w-3 h-3 text-muted-foreground"})]},e)})})]}),(0,a.jsxs)("div",{className:"rounded-lg border p-4",children:[(0,a.jsxs)("div",{className:"text-sm font-semibold mb-2 flex items-center gap-2",children:[(0,a.jsx)(u.A,{className:"w-4 h-4 text-brand"})," Contact & Location"]}),(0,a.jsx)("div",{className:"grid grid-cols-2 gap-3 text-xs",children:[["Email",_.email],["Phone",_.phone],["City",_.city],["State",_.state],["Availability",_.availability],["Experience",_.experience]].map(([e,t])=>(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-muted-foreground",children:e}),(0,a.jsx)("div",{className:"font-medium",children:t||"—"})]},e))})]}),(0,a.jsxs)("div",{className:"rounded-lg border p-4",children:[(0,a.jsxs)("div",{className:"text-sm font-semibold mb-2 flex items-center gap-2",children:[(0,a.jsx)(j.A,{className:"w-4 h-4 text-brand"})," Skills & Interests"]}),(0,a.jsxs)("div",{className:"text-xs space-y-2",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Skills: "}),(0,a.jsx)("span",{className:"font-medium",children:_.skills||"—"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Interests: "}),(0,a.jsx)("span",{className:"font-medium",children:_.interests||"—"})]})]})]}),_.message&&(0,a.jsxs)("div",{className:"rounded-lg border p-4",children:[(0,a.jsxs)("div",{className:"text-sm font-semibold mb-2 flex items-center gap-2",children:[(0,a.jsx)(i.A,{className:"w-4 h-4 text-brand"})," Message"]}),(0,a.jsxs)("div",{className:"text-xs italic text-muted-foreground",children:["“",_.message,"”"]})]}),(0,a.jsxs)("div",{className:"rounded-lg border p-4 space-y-2",children:[(0,a.jsxs)("div",{className:"text-sm font-semibold flex items-center gap-2",children:[(0,a.jsx)(g.A,{className:"w-4 h-4 text-brand"})," Admin Notes"]}),(0,a.jsx)(C.T,{value:R,onChange:e=>Q(e.target.value),rows:3,placeholder:"Internal notes about this volunteer..."}),(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsxs)(w.$,{size:"sm",onClick:X,disabled:D===_.id,children:[D===_.id?(0,a.jsx)(v.A,{className:"w-3.5 h-3.5 mr-1 animate-spin"}):(0,a.jsx)(d.A,{className:"w-3.5 h-3.5 mr-1"}),"Save Notes"]})})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-3 text-xs",children:[(0,a.jsxs)("div",{className:"rounded-lg border p-3",children:[(0,a.jsxs)("div",{className:"text-muted-foreground flex items-center gap-1",children:[(0,a.jsx)(g.A,{className:"w-3 h-3"})," Applied"]}),(0,a.jsx)("div",{className:"font-medium",children:O(_.createdAt)})]}),(0,a.jsxs)("div",{className:"rounded-lg border p-3",children:[(0,a.jsxs)("div",{className:"text-muted-foreground flex items-center gap-1",children:[(0,a.jsx)(y.A,{className:"w-3 h-3"})," Last Updated"]}),(0,a.jsx)("div",{className:"font-medium",children:O(_.updatedAt)})]})]})]}),(0,a.jsxs)(E.Es,{className:"gap-2",children:[(0,a.jsxs)(w.$,{variant:"outline",size:"sm",className:"text-destructive",disabled:D===_.id,onClick:()=>Y(_),children:[(0,a.jsx)(f.A,{className:"w-4 h-4 mr-1.5"})," Delete"]}),(0,a.jsxs)(w.$,{size:"sm",onClick:()=>J(!1),children:[(0,a.jsx)(N.A,{className:"w-4 h-4 mr-1.5"})," Close"]})]})]})})})]})}},18349:(e,t,s)=>{s.d(t,{T:()=>n});var a=s(95155);s(12115);var r=s(40980);function n({className:e,...t}){return(0,a.jsx)("textarea",{"data-slot":"textarea",className:(0,r.cn)("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),...t})}},19211:(e,t,s)=>{s.d(t,{z:()=>f});var a=s(51469),r=s(14405),n=s(27933);function l(e){return"number"==typeof e?e:parseFloat(e)}var i=s(12115),d=s(24866),c=s(28245),o=s(21649),m=s(28819),x=s(65239);function u(e,t){let s=(0,c.d)(t()),a=()=>s.set(t());return a(),(0,x.E)(()=>{let t=()=>n.Gt.preRender(a,!1,!0),s=e.map(e=>e.on("change",t));return()=>
1{s.forEach(e=>e()),(0,n.WG)(a)}}),s}var h=s(6900);function p(e,t){let s=(0,m.M)(()=>[]);return u(e,()=>{s.length=0;let a=e.length;for(let t=0;t<a;t++)s[t]=e[t].get();return t(s)})}function f(e,t={}){return function(e,t={}){let{isStatic:s}=(0,i.useContext)(d.Q),x=()=>(0,a.S)(e)?e.get():e;if(s)return function e(t,s,a,r){if("function"==typeof t){let e;return h.bt.current=[],t(),e=u(h.bt.current,t),h.bt.current=void 0,e}if(void 0!==a&&!Array.isArray(a)&&"function"!=typeof s){var n=t,l=s,i=a,d=r;let c=(0,m.M)(()=>Object.keys(i)),o=(0,m.M)(()=>({}));for(let t of c)o[t]=e(n,l,i[t],d);return o}let c="function"==typeof s?s:function(...e){let t=!Array.isArray(e[0]),s=t?0:-1,a=e[0+s],r=e[1+s],n=e[2+s],l=e[3+s],i=(0,o.G)(r,n,l);return t?i(a):i}(s,a,r),x=Array.isArray(t)?p(t,c):p([t],([e])=>c(e)),f=Array.isArray(t)?void 0:t.accelerate;return f&&!f.isTransformed&&"function"!=typeof s&&Array.isArray(a)&&r?.clamp!==!1&&(x.accelerate={...f,times:s,keyframes:a,isTransformed:!0,...r?.ease?{ease:r.ease}:{}}),x}(x);let f=(0,c.d)(x());return(0,i.useInsertionEffect)(()=>(function(e,t,s={}){let i,d=e.get(),c=null,o=d,m="string"==typeof d?d.replace(/[\d.-]/g,""):void 0,x=()=>{c&&(c.stop(),c=null),e.animation=void 0},u=()=>{(()=>{let t=l(e.get()),a=l(o);if(t===a)return x();let n=c?c.getGeneratorVelocity():e.getVelocity();x(),c=new r.s({keyframes:[t,a],velocity:n,type:"spring",restDelta:.001,restSpeed:.01,...s,onUpdate:i})})(),e.animation=c??void 0,e.events.animationStart?.notify(),c?.then(()=>{e.animation=void 0,e.events.animationComplete?.notify()})};if(e.attach((e,t)=>{o=e,i=e=>{var s,a;return t((s=e,(a=m)?s+a:s))},n.Gt.postRender(u)},x),(0,a.S)(t)){let a=!0===s.skipInitialAnimation,r=t.on("change",t=>{var s,r,n,l;a?(a=!1,e.jump((s=t,(r=m)?s+r:s),!1)):e.set((n=t,(l=m)?n+l:n))}),n=e.on("destroy",r);return()=>{r(),n()}}return x})(f,e,t),[f,JSON.stringify(t)]),f}(e,{type:"spring",...t})}},28245:(e,t,s)=>{s.d(t,{d:()=>i});var a=s(6900),r=s(12115),n=s(24866),l=s(28819);function i(e){let t=(0,l.M)(()=>(0,a.OQ)(e)),{isStatic:s}=(0,r.useContext)(n.Q);if(s){let[,s]=(0,r.useState)(e);(0,r.useEffect)(()=>t.on("change",s),[])}return t}},52300:(e,t,s)=>{s.d(t,{q:()=>d});var a=s(95155),r=s(61792),n=s(28245),l=s(19211),i=s(12115);function d({value:e,suffix:t="",prefix:s="",duration:c=2,className:o}){let m=(0,i.useRef)(null),x=(0,r.W)(m,{once:!0,margin:"-50px"}),u=(0,n.d)(0),h=(0,l.z)(u,{duration:1e3*c,bounce:0});return(0,i.useEffect)(()=>{x&&u.set(e)},[x,e,u]),(0,i.useEffect)(()=>h.on("change",e=>{m.current&&(m.current.textContent=s+Math.floor(e).toLocaleString("en-IN")+t)}),[h,s,t]),(0,a.jsxs)("span",{ref:m,className:o,children:[s,"0",t]})}},57684:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(78340).A)("user-plus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]])},61792:(e,t,s)=>{s.d(t,{W:()=>l});var a=s(12115),r=s(58392);let n={some:0,all:1};function l(e,{root:t,margin:s,amount:i,once:d=!1,initial:c=!1}={}){let[o,m]=(0,a.useState)(c);return(0,a.useEffect)(()=>{if(!e.current||d&&o)return;let a={root:t&&t.current||void 0,margin:s,amount:i};return function(e,t,{root:s,margin:a,amount:l="some"}={}){let i=(0,r.K)(e),d=new WeakMap,c=new IntersectionObserver(e=>{e.forEach(e=>{let s=d.get(e.target);if(!!s!==e.isIntersecting)if(e.isIntersecting){let s=t(e.target,e);"function"==typeof s?d.set(e.target,s):c.unobserve(e.target)}else"function"==typeof s&&(s(e),d.delete(e.target))})},{root:s,rootMargin:a,threshold:"number"==typeof l?l:n[l]});return i.forEach(e=>c.observe(e)),()=>c.disconnect()}(e.current,()=>(m(!0),d?void 0:()=>m(!1)),a)},[t,e,s,d,i]),o}},62791:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(78340).A)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},68459:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(78340).A)("trash-2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}
1],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},86846:(e,t,s)=>{s.d(t,{E:()=>n});var a=s(95155),r=s(40980);function n({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"skeleton",className:(0,r.cn)("bg-accent animate-pulse rounded-md",e),...t})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.