1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[810],{70249:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/community/[id]",function(){return r(40635)}])},40635:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return ChatRoomPage}});var a=r(85893),s=r(67294),n=r(11163),i=r(41664),l=r.n(i),o=r(11032),c=r(98898),d=r(56186),u=r(52913),m=r(43407);let h=s.forwardRef(function({title:e,titleId:t,...r},a){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 19.128a9.38 9.38 0 0 0 2.625.372 9.337 9.337 0 0 0 4.121-.952 4.125 4.125 0 0 0-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 0 1 8.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0 1 11.964-3.07M12 6.375a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0Zm8.25 2.25a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z"}))}),x=s.forwardRef(function({title:e,titleId:t,...r},a){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 8.25h15m-16.5 7.5h15m-1.8-13.5-3.9 19.5m-2.1-19.5-3.9 19.5"}))});var f=r(76249),g=r(50882),p=r(31415);function ChatRoomPage(){let e=(0,n.useRouter)(),{id:t}=e.query,{user:r,isAuthenticated:i,loading:v}=(0,o.a)(),[b,y]=(0,s.useState)(null),[w,j]=(0,s.useState)([]),[_,N]=(0,s.useState)([]),[k,E]=(0,s.useState)(null),[S,C]=(0,s.useState)(""),[O,D]=(0,s.use
1State)(!0),[L,M]=(0,s.useState)(!1),[T,R]=(0,s.useState)(null),[Z,B]=(0,s.useState)(!1),[U,q]=(0,s.useState)(!1),A=(0,s.useRef)(null),P=(0,s.useRef)(null),W=(0,s.useRef)(null);(null==r?void 0:r.subscription_status)==="active"||(null==r?void 0:r.subscription_status)==="trialing"||(null==r?void 0:r.role)==="admin"||null==r||r.role;let scrollToBottom=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];P.current&&P.current.scrollTo({top:P.current.scrollHeight,behavior:e?"auto":"smooth"})};(0,s.useEffect)(()=>{scrollToBottom()},[_]),(0,s.useEffect)(()=>{t&&(fetchAllData(),r&&fetchUserSubscription())},[t,r]);let fetchUserSubscription=async()=>{try{let{data:e}=await c.O.from("creator_fans").select("*, creator_subscription_tiers(*)").eq("email",r.email).eq("status","active");E(e||[])}catch(e){console.error("Error fetching subscription:",e)}};(0,s.useEffect)(()=>{if(!t)return;let e=c.O.channel("room-".concat(t)).on("postgres_changes",{event:"INSERT",schema:"public",table:"chat_messages",filter:"room_id=eq.".concat(t)},async e=>{if(e.new.user_id===(null==r?void 0:r.id))return;let t=await fetchProfile(e.new.user_id),a={...e.new,user:t};N(e=>[...e,a])}).subscribe();return()=>{c.O.removeChannel(e)}},[t]),(0,s.useEffect)(()=>{if(!t)return;let e=c.O.channel("room-deletes-".concat(t)).on("postgres_changes",{event:"DELETE",schema:"public",table:"chat_messages",filter:"room_id=eq.".concat(t)},e=>{N(t=>t.filter(t=>t.id!==e.old.id))}).subscribe();return()=>c.O.removeChannel(e)},[t]);let fetchProfile=async e=>{if(!e)return{first_name:"Unknown User",type:"unknown"};let{data:t}=await c.O.from("fan_profiles").select("first_name, last_name, username, avatar_url").eq("id",e).maybeSingle();if(t)return{...t,type:"fan"};let{data:r}=await c.O.from("creators").select("brand_name, logo_url, subdomain").eq("user_id",e).maybeSingle();return r?{username:r.subdomain,first_name:r.brand_name,avatar_url:r.logo_url,type:"creator"}:{first_name:"Unknown User",type:"unknown"}},fetchAllData=async()=>{try{D(!0);let{data:e}=await c.O.from("chat_rooms").select("*, creator_subscription_tiers(name)").eq("is_active",!0).order("name");j(e||[]);let{data:r,error:a}=await c.O.from("chat_rooms").select("*, creator_subscription_tiers(name)").eq("id",t).single();if(a)throw a;y(r);let{data:s,error:n}=await c.O.from("chat_messages").select("*").eq("room_id",t).eq("is_deleted",!1).order("created_at",{ascending:!0}).limit(100);if(n)throw n;if(s&&s.length>0){let e=[...new Set(s.map(e=>e.user_id))],{data:t}=await c.O.from("fan_profiles").select("id, first_name, last_name, username, avatar_url").in("id",e),{data:r}=await c.O.from("creators").select("user_id, brand_name, logo_url, subdomain").in("user_id",e),a={};null==t||t.forEach(e=>{a[e.id]={...e,type:"fan"}}),null==r||r.forEach(e=>{a[e.user_id]={username:e.subdomain,first_name:e.brand_name,avatar_url:e.logo_url,type:"creator"}});let n=s.map(e=>({...e,user:a[e.user_id]||{first_name:"Unknown User"}}));N(n)}else N([])}catch(e){console.error("Error fetching data:",e),R("Failed to load chat room")}finally{D(!1)}},handleSendMessage=async e=>{if(e.preventDefault(),!S.trim()||!(null==r?void 0:r.id)||L)return;let a=S.trim();C(""),M(!0);let s="temp-".concat(Date.now()),n={id:s,content:a,user_id:r.id,user:{first_name:r.first_name,last_name:r.last_name,username:r.username,avatar_url:r.avatar_url,type:"creator"===r.role?"creator":"fan"},created_at:new Date().toISOString(),pending:!0};N(e=>[...e,n]),setTimeout(()=>scrollToBottom(),50);try{let{data:{session:e}}=await c.O.auth.getSession(),r=await fetch("/api/chat/chatroom-messages/send",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(null==e?void 0:e.access_token)},body:JSON.stringify({chatroomId:t,content:a,system:"additional"})});if(r.ok){let e=await r.json();N(t=>t.map(t=>t.id===s?{...e.message,user:n.user}:t))}else{let e=await r.json();"Message blocked by moderation"===e.error?alert("Your message was blocked by AI moderation: "+e.reason):console.error("Error sending message:",e.error),N(e=>e.filter(e=>e.id!==s)),C(a)}}catch(e){console.error("Error sending message:",e),N(e=>e.filter(e=>e.id!==s)),C(a)}finally{M(!1),setTimeout(()=>{var e;return null===(e=W.current)||void 0===e?void 0:e.focus()},100)}},handleDeleteMessage=async e=>{if(window.confirm("Are you sure you want to delete this message?"))try{let{data:{session:t}}=await c.O.auth.getSession(),r=await fetch("/api/chat/chatroom-messages/delete",{method:"DELETE",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(null==t?void 0:t.access_token)},body:JSON.stringify({messageId:e,system:"additional"})});if(r.ok)N(t=>t.filter(t=>t.id!==e));else{let e=await r.json();alert(e.error||"Failed to delete message")}}catch(e){console.error("Error deleting message:",e),alert("Error deleting message")}},z=(0,s.useMemo)(()=>{let e={};return _.forEach(t=>{t.user&&(e[t.user_id]=t.user)}),Object.values(e)},[_]),formatTime=e=>{let t=new Date(e),r=new Date,a=t.toDateString()===r.toDateString();return a?t.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):t.toLocaleDateString([],{month:"short",day:"numeric"})+" "+t.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})},I=(0,s.useMemo)(()=>
1{if(!b)return!1;if(!b.is_members_only||(null==r?void 0:r.role)==="admin"||(null==r?void 0:r.role)==="creator")return!0;let e=null==k?void 0:k.find(e=>e.creator_id===b.creator_id);return!!e&&(!b.tier_id||e.tier_id===b.tier_id)},[b,k,r]);if(O||v)return(0,a.jsx)("div",{className:"min-h-screen bg-gray-900 flex items-center justify-center",children:(0,a.jsx)("div",{className:"w-12 h-12 border-4 border-purple-500 border-t-transparent rounded-full animate-spin"})});if(T||!b)return(0,a.jsx)("div",{className:"min-h-screen bg-gray-900 flex items-center justify-center text-center p-4",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"text-xl font-bold text-white mb-2",children:"Room not found"}),(0,a.jsx)(l(),{href:"/community",className:"text-purple-400 hover:text-purple-300",children:"Back to Community"})]})});if(!I){var H,F;return(0,a.jsx)("div",{className:"min-h-screen bg-gray-900 flex items-center justify-center p-4",children:(0,a.jsxs)("div",{className:"bg-gray-800 rounded-2xl border border-gray-700 p-8 max-w-md w-full text-center",children:[(0,a.jsx)("div",{className:"w-16 h-16 bg-purple-500/20 rounded-2xl flex items-center justify-center mx-auto mb-4",children:(0,a.jsx)(d.Z,{className:"h-8 w-8 text-purple-400"})}),(0,a.jsx)("h2",{className:"text-2xl font-bold text-white mb-2",children:(null===(H=b.creator_subscription_tiers)||void 0===H?void 0:H.name)?"".concat(b.creator_subscription_tiers.name," Only"):"Members Only"}),(0,a.jsx)("p",{className:"text-gray-400 mb-6",children:(null===(F=b.creator_subscription_tiers)||void 0===F?void 0:F.name)?"This chat room is exclusive to ".concat(b.creator_subscription_tiers.name," members."):"This chat room is exclusive to members."}),(0,a.jsx)(l(),{href:"/subscription",className:"w-full inline-flex items-center justify-center px-6 py-3 bg-gradient-to-r from-purple-500 to-pink-500 text-white font-medium rounded-xl",children:"Become a Member"})]})})}return(0,a.jsxs)("div",{className:"h-screen bg-gray-900 flex overflow-hidden",children:[(0,a.jsxs)("div",{className:"hidden md:flex w-64 bg-gray-800 border-r border-gray-700 flex-col",children:[(0,a.jsxs)("div",{className:"p-4 border-b border-gray-700 flex items-center justify-between",children:[(0,a.jsx)("h2",{className:"text-lg font-bold text-white",children:"Rooms"}),(0,a.jsx)(l(),{href:"/community",className:"text-gray-400 hover:text-white",children:(0,a.jsx)(u.Z,{className:"h-5 w-5"})})]}),(0,a.jsx)("div",{className:"flex-1 overflow-y-auto p-2 space-y-1",children:w.map(e=>(0,a.jsxs)(l(),{href:"/community/".concat(e.id),className:"flex items-center gap-3 px-3 py-2 rounded-lg transition-colors ".concat(e.id===t?"bg-purple-500 text-white":"text-gray-400 hover:bg-gray-700/50 hover:text-gray-200"),children:[(0,a.jsx)("span",{className:"text-xl",children:e.icon||"\uD83D\uDCAC"}),(0,a.jsx)("span",{className:"font-medium truncate",children:e.name})]},e.id))})]}),(0,a.jsxs)("div",{className:"flex-1 flex flex-col min-w-0 bg-gray-900 relative",children:[(0,a.jsxs)("div",{className:"flex-shrink-0 bg-gray-800 border-b border-gray-700 px-4 py-3 flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 truncate",children:[(0,a.jsx)("button",{onClick:()=>B(!Z),className:"md:hidden p-2 -ml-2 text-gray-400 hover:text-white",children:(0,a.jsx)(m.Z,{className:"h-6 w-6"})}),(0,a.jsx)("div",{className:"w-10 h-10 bg-gray-700 rounded-xl flex items-center justify-center text-xl flex-shrink-0",children:b.icon||"\uD83D\uDCAC"}),(0,a.jsxs)("div",{className:"truncate",children:[(0,a.jsx)("h1",{className:"text-white font-bold truncate",children:b.name}),(0,a.jsx)("p",{className:"text-xs text-gray-400 truncate",children:b.description})]})]}),(0,a.jsx)("button",{onClick:()=>q(!U),className:"lg:hidden p-2 text-gray-400 hover:text-white",children:(0,a.jsx)(h,{className:"h-6 w-6"})})]}),(0,a.jsxs)("div",{ref:P,className:"flex-1 overflow-y-auto p-4 space-y-4",children:[0===_.length?(0,a.jsxs)("div",{className:"h-full flex flex-col items-center justify-center text-center text-gray-500",children:[(0,a.jsx)(x,{className:"h-16 w-16 mb-4 opacity-20"}),(0,a.jsxs)("h3",{className:"text-xl font-medium text-white mb-2",children:["Welcome to ",b.name,"!"]}),(0,a.jsx)("p",{children:"No messages yet. Why not start the conversation?"})]}):_.map((e,t)=>{var s,n,i,l,o,c,d,u,m,h;e.user_id,null==r||r.id;
1let x=0===t||(null===(s=_[t-1])||void 0===s?void 0:s.user_id)!==e.user_id||new Date(e.created_at)-new Date(_[t-1].created_at)>3e5;return(0,a.jsxs)("div",{className:"flex gap-3 ".concat(x?"mt-4":"mt-1"),children:[x?(0,a.jsx)("div",{className:"flex-shrink-0 mt-1",children:(null===(n=e.user)||void 0===n?void 0:n.avatar_url)?(0,a.jsx)("img",{src:e.user.avatar_url,className:"w-10 h-10 rounded-xl object-cover"}):(0,a.jsx)("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center text-white font-bold ".concat((null===(i=e.user)||void 0===i?void 0:i.type)==="creator"?"bg-purple-600":"bg-gray-700"),children:((null===(o=e.user)||void 0===o?void 0:null===(l=o.first_name)||void 0===l?void 0:l[0])||"U").toUpperCase()})}):(0,a.jsx)("div",{className:"w-10 flex-shrink-0 hidden md:block"}),(0,a.jsxs)("div",{className:"min-w-0 flex-1 group",children:[x&&(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"font-bold text-sm ".concat((null===(c=e.user)||void 0===c?void 0:c.type)==="creator"?"text-purple-400":"text-gray-200"),children:(null===(d=e.user)||void 0===d?void 0:d.type)==="creator"?null===(u=e.user)||void 0===u?void 0:u.first_name:(null===(m=e.user)||void 0===m?void 0:m.username)||(null===(h=e.user)||void 0===h?void 0:h.first_name)}),(0,a.jsx)("span",{className:"text-[10px] text-gray-500 uppercase font-medium tracking-wider",children:formatTime(e.created_at)}),e.pending&&(0,a.jsx)("span",{className:"text-[10px] text-purple-500 animate-pulse",children:"Sending..."})]}),((null==r?void 0:r.id)===b.creator_id||(null==r?void 0:r.role)==="admin"||(null==r?void 0:r.id)===e.user_id)&&!e.pending&&(0,a.jsx)("button",{onClick:()=>handleDeleteMessage(e.id),className:"text-gray-600 hover:text-red-400 opacity-0 group-hover:opacity-100 transition-opacity",title:"Delete message",children:(0,a.jsx)(f.Z,{className:"h-3.5 w-3.5"})})]}),(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("p",{className:"text-gray-300 text-sm whitespace-pre-wrap break-words leading-relaxed ".concat(e.pending?"opacity-50":""),children:e.content}),!x&&((null==r?void 0:r.id)===b.creator_id||(null==r?void 0:r.role)==="admin"||(null==r?void 0:r.id)===e.user_id)&&!e.pending&&(0,a.jsx)("button",{onClick:()=>handleDeleteMessage(e.id),className:"text-gray-600 hover:text-red-400 opacity-0 group-hover:opacity-100 transition-opacity flex-shrink-0 mt-0.5",title:"Delete message",children:(0,a.jsx)(f.Z,{className:"h-3.5 w-3.5"})})]})]})]},e.id)}),(0,a.jsx)("div",{ref:A})]}),(0,a.jsx)("div",{className:"p-4 bg-gray-900",children:(0,a.jsxs)("form",{onSubmit:handleSendMessage,className:"bg-gray-800 rounded-2xl border border-gray-700 p-2 flex items-center gap-2 shadow-xl focus-within:border-purple-500/50 transition-all",children:[(0,a.jsx)("input",{ref:W,type:"text",value:S,onChange:e=>C(e.target.value),placeholder:"Message #".concat(b.name),className:"flex-1 bg-transparent border-none text-white placeholder-gray-500 focus:ring-0 px-4 py-2"}),(0,a.jsx)("button",{type:"submit",disabled:!S.trim()||L,className:"p-2 bg-purple-600 text-white rounded-xl hover:bg-purple-500 disabled:opacity-50 disabled:bg-gray-700 transition-all",children:(0,a.jsx)(g.Z,{className:"h-5 w-5"})})]})}),Z&&(0,a.jsxs)("div",{className:"fixed inset-0 z-50 md:hidden",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:()=>B(!1)}),(0,a.jsxs)("div",{className:"absolute left-0 top-0 bottom-0 w-64 bg-gray-800 border-r border-gray-700 flex flex-col animate-in slide-in-from-left duration-200",children:[(0,a.jsxs)("div",{className:"p-4 border-b border-gray-700 flex items-center justify-between",children:[(0,a.jsx)("h2",{className:"text-lg font-bold text-white",children:"Rooms"}),(0,a.jsx)("button",{onClick:()=>B(!1),children:(0,a.jsx)(p.Z,{className:"h-6 w-6 text-gray-400"})})]}),(0,a.jsx)("div",{className:"flex-1 overflow-y-auto p-2",children:w.map(e=>(0,a.jsxs)(l(),{href:"/community/".concat(e.id),className:"flex items-center gap-3 px-3 py-3 rounded-xl mb-1 ".concat(e.id===t?"bg-purple-600 text-white":"text-gray-400"),onClick:()=>B(!1),children:[(0,a.jsx)("span",{className:"text-xl",children:e.icon}),(0,a.jsx)("span",{className:"font-medium truncate",children:e.name})]},e.id))})]})]})]}),(0,a.jsxs)("div",{className:"\n fixed lg:relative inset-y-0 right-0 z-50 lg:z-0 w-64 bg-gray-800 border-l border-gray-700 flex flex-col\n transition-transform duration-200 lg:translate-x-0\n ".concat(U?"translate-x-0":"translate-x-full","\n "),children:[(0,a.jsxs)("div",{className:"p-4 border-b border-gray-700 flex items-center justify-between",children:[(0,a.jsxs)("h2",{className:"text-lg font-bold text-white flex items-center gap-2",children:[(0,a.jsx)(h,{className:"h-5 w-5"})," Participants"]}),(0,a.jsx)("button",{className:"lg:hidden",onClick:()=>q(!1),children:(0,a.jsx)(p.Z,{className:"h-6 w-6 text-gray-400"})})]}),(0,a.jsx)("div",{className:"flex-1 overflow-y-auto p-4 space-y-4",children:(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("p",{className:"text-xs font-bold text-gray-500 uppercase tracking-widest",children:["Online â ",z.length]}),z.map(e=>{var t;return(0,a.jsxs)("div",{className:"flex items-center gap-3 group px-2 py-1 rounded-lg hover:bg-gray-700/50 transition-colors cursor-default",children:[(0,a.jsxs)("div",{className:"relative",children:[e.avatar_url?(0,a.jsx)("img",{src:e.avatar_url,className:"w-8 h-8 rounded-full object-cover"}):(0,a.jsx)("div",{className:"w-8 h-8 rounded-full flex items-center justify-center text-white text-xs font-bold ".concat("creator"===e.type?"bg-purple-600":"bg-gray-700"),children:((null===(t=e.first_name)||void 0===t?void 0:t[0])||"U").toUpperCase()}),(0,a.jsx)("div",{className:"absolute -right-0.5 -bottom-0.5 w-3 h-3 bg-green-500 border-2 border-gray-800 rounded-full"})]}),(0,a.jsx)("span",{className:"text-sm font-medium truncate group-hover:text-white transition-colors ".concat("creator"===e.type?"text-purple-400":"text-gray-400"),children:"creator"===e.type?e.first_name:e.username||e.first_name})]},e.id||e.username)})]})})]})]})}},11163:function(e,t,r){e.exports=r(24751)},52913:function(e,t,r){"use strict";var a=r(67294);let s=a.forwardRef(function({title:e,titleId:t,...r},s){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"}))});t.Z=s},56186:function(e,t,r){"use strict";var a=r(67294);let s=a.forwardRef(function({title:e,titleId:t,...r},s){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"}))});t.Z=s},50882:function(e,t,r){"use strict";var a=r(67294);let s=a.forwardRef(function({title:e,titleId:t,...r},s){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 12 3.269 3.125A59.769 59.769 0 0 1 21.485 12 59.768 59.768 0 0 1 3.27 20.875L5.999 12Zm0 0h7.5"}))});t.Z=s},76249:function(e,t,r){"use strict";var a=r(67294);let s=a.forwardRef(function({title:e,titleId:t,...r},s){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"}))});t.Z=s}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=70249)}),_N_E=e.O()}]);
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.