1import{g as J,r as g,j as e,S as G,L as se,o as te,V as ae,D as le}from"./index-DWcc2SW7.js";import{a as oe,T as ne}from"./toggle-right-CsdxUdSw.js";import{U as re}from"./user-plus-_LkokHYp.js";import{W as ie}from"./wand-2-3p0mtYzB.js";import{F as ce}from"./file-spreadsheet-CMKgVVUs.js";/** 2 * @license lucide-react v0.344.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const de=J("Command",[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]]);/** 7 * @license lucide-react v0.344.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const me=J("LayoutTemplate",[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"9",height:"7",x:"3",y:"14",rx:"1",key:"jqznyg"}],["rect",{width:"5",height:"7",x:"16",y:"14",rx:"1",key:"q5h2i8"}]]),I=[{id:"comment",label:"Comment Backlinks"},{id:"edu-backlinks",label:"EDU Backlinks"},{id:"gov-backlinks",label:"Gov Backlinks"},{id:"social-links",label:"Social Links"},{id:"profile-backlinks",label:"Profile Backlinks"},{id:"company-backlinks",label:"Company Backlinks"},{id:"tools-websites",label:"Tools Websites"},{id:"review-sites",label:"Review Sites"},{id:"forum-backlinks",label:"Forum Backlinks"},{id:"social-bookmarking",label:"Social Bookmarking"},{id:"article-submission",label:"Guest Posting"},{id:"local-citations",label:"Local Citations"},{id:"product-launching",label:"Product Launching"}],ue={comment:["Comment","Name","Email","Website"],"edu-backlinks":["Comment","Name","Email","Password","Website"],"gov-backlinks":["Comment","Name","Email","Website"],"social-links":["Username","Name","First Name","Last Name","Email","Website Name","Website","Password","Address","Bio"],"profile-backlinks":["Username","Name","First Name","Last Name","Email","Website Name","Website","Password","Address","Bio"],"product-launching":["Username","Name","First Name","Last Name","Email","Website Name","Website","Password","Address","Bio"],"forum-backlinks":["Username","Name","First Name","Last Name","Email","Website Name","Website","Password","Address","Bio"],"social-bookmarking":["Username","Name","First Name","Last Name","Email","Website Name","Website","Password","Address"],"review-sites":["Username","Name","First Name","Last Name","Email","Website Name","Website","Password","Address","Bio"],"company-backlinks":["Username","Name","First Name","Last Name","Email","Website Name","Website","Password","Address","Bio"],"tools-websites":["Username","Name","First Name","Last Name","Email","Website Name","Website","Password","Address","Bio"],"article-submission":["Username","Name","First Name","Last Name","Email","Website Name","Website","Password","Address","Bio"],"local-citations":["Username","Name","First","Last","Email","Title","Website","Password","Company","Phone","Address","City","State","Zip","Bio"]},O=["James","Mary","Robert","Patricia","John","Jennifer","Michael","Linda","David","Elizabeth","William","Barbara"],q=["Smith","Johnson","Williams","Brown","Jones","Garcia","Miller","Davis","Rodriguez","Martinez","Hernandez","Lopez"],z=["gmail.com","outlook.com","yahoo.com","proton.me","icloud.com"],be=a=>{if(!a||!a.length)return"";const i=Object.keys(a[0]);return[i.join(","),...a.map(r=>i.map(c=>(""+(r[c]||"")).replace(/,/g,"").replace(/"/g,"")).join(","))].join(` 12`)},xe=a=>{try{const i=a.startsWith("http")?a:`https://${a}`,r=new URL(i).hostname.split(".");let c=r[0]==="www"?r[1]:r[0];return c.charAt(0).toUpperCase()+c.slice(1)}catch{return""}},pe=()=>{const a=O[Math.floor(Math.random()*O.length)],i=q[Math.floor(Math.random()*q.length)],n=z[Math.floor(Math.random()*z.length)],r=Math.floor(Math.random()*999);return{firstName:a,lastName:i,fullName:`${a} ${i}`,username:`${a.toLowerCase()}${i.toLowerCase()}${r}`,email:`${a.toLowerCase()}.${i.toLowerCase()}${r}@${n}`}},ge=()=>{const a="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*";return Array.from({length:14},()=>a[Math.floor(Math.random()*a.length)]).join("")},E=async(a,i,n,r="",c=[])=>{let P=`You are a helpful AI assistant. Return strictly valid JSON. The output must be an object with a single key "results" which is an array of str
12ings. Generate exactly ${n} items.`,N="";a==="comment"?N=`Generate ${n} unique, detailed, and professional overview of company/service: "${i}". The overview should provide a detailed description of the company's value, features, or services. ${r?`Style instruction: ${r}`:""} Avoid numbering. IMPORTANT: Do NOT use commas (,) or double quotes (") in your generated comments as they break CSV formatting.`:a==="bio"?N=`Generate ${n} unique, professional, and short overview of company/service (approx 100 words) for an enthusiast in: "${i}". ${r?`Style instruction: ${r}`:""} Avoid numbering. IMPORTANT: Do NOT use commas (,) or double quotes (") in your generated bios as they break CSV formatting.`:a==="profile-bio"?N=`Generate ${n} unique, detailed, and professional overview of company/service: "${i}". The overview should provide a detailed description of the company's value, features, or services. This is for a website profile bio. ${r?`Style instruction: ${r}`:""} Avoid numbering. IMPORTANT: Do NOT use commas (,) or double quotes (") in your generated bios as they break CSV formatting.`:a==="domain-refine"&&(N=`For the following list of URLs, analyze the domain name and estimate/infer the likely Website Title. Compare the estimated Title and the Domain to determine the official Company Name. 13 14 Input URLs: ${JSON.stringify(c)} 15 16 ${r?`Additional Requirement: ${r}`:""} 17 18 Return strictly a JSON array of the determined Company Names. exactly ${c.length} items.`);try{const w=await fetch("/api/deepseek",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:N,systemInstruction:P,responseMimeType:"application/json",temperature:.7,action:"csvGeneration"})});if(!w.ok){let A=w.statusText;try{const j=await w.json();A=JSON.stringify(j)}catch{}throw new Error(`DeepSeek API Error: ${w.status} - ${A}`)}const y=(await w.json()).text;if(!y)throw new Error("No text returned from DeepSeek");return JSON.parse(y).results||[]}catch(w){return console.error("DeepSeek Generation Failed:",w),Array.from({length:n},(C,y)=>`[Fallback] ${a} for ${i} #${y+1}`)}};function je(){const[a,i]=g.useState(I[0].id),[n,r]=g.useState(!1),[c,P]=g.useState(!1),[N,w]=g.useState(17),[C,y]=g.useState(""),[h,A]=g.useState(""),[j,V]=g.useState(""),[l,_]=g.useState({Name:"John Doe",Email:"[email protected]",Website:"https://example.com",Username:"johndoe",Password:"Password123!","Website Name":"My Awesome Site",Company:"",Phone:"",Address:"",City:"",State:"",Zip:"",Title:""}),[W,T]=g.useState(!1),[k,L]=g.useState([]),[D,B]=g.useState(null),u=ue[a]||[],Z=s=>{const d=s.target.value;i(d),L([]),w({"local-citations":28,"forum-backlinks":11,"tools-websites":5,"company-backlinks":3,"profile-backlinks":67,"edu-backlinks":20,"gov-backlinks":1,comment:17}[d]||5)},m=(s,d)=>{_(x=>({...x,[s]:d}))},H=async()=>{T(!0),L([]);let s=[],d=N;if(n&&(s=C.split(` 19`).map(p=>p.trim()).filter(p=>p.length>0),d=s.length,d===0)){$("Please paste at least one domain."),T(!1);return}let x=[],v=[],R=[];const Y=u.includes("Comment"),Q=u.includes("Bio"),X=u.includes("Website Name")&&n;try{const p=[];if(h&&Y&&p.push(E("comment",h,d,j).then(b=>x=b)),h&&Q){const b=a==="profile-backlinks"?"profile-bio":"bio";p.push(E(b,h,d,j).then(o=>v=o))}X&&p.push(E("domain-refine","",d,j,s).then(b=>R=b)),await Promise.all(p)}catch(p){console.error("AI Generation failed",p),$("AI Generation failed. Using fallbacks.")}const M=Array.from({length:d}).map((p,b)=>{const o={},S=c?pe():null,U=n?s[b]:l.Website||"";return u.forEach(t=>{const F=f=>(""+f).replace(/,/g,"").replace(/"/g,"");if(t==="Comment"){const f=x[b]||(h?`[Pending AI] ${h}`:"Great post!");o[t]=F(f)}else if(t==="Bio"){const f=v[b]||(h?`[Pending AI] ${h} enthusiast.`:"Content Creator.");o[t]=F(f)}else if(t==="Name"||t==="First"||t==="Last"||t==="First Name"||t==="Last Name")if(c)t==="Name"&&(o[t]=S.fullName),(t==="First"||t==="First Name")&&(o[t]=S.firstName),(t==="Last"||t==="Last Name")&&(o[t]=S.lastName);else{t==="Name"&&(o[t]=l.Name);const f=l.Name.split(" ");(t==="First"||t==="First Name")&&(o[t]=f[0]||""),(t==="Last"||t==="Last Name")&&(o[t]=f.slice(1).join(" ")||"")}else if(t==="Email")if(a==="edu-backlinks"||a==="profile-backlinks")o[t]=l.Email||"";else if(c)o[t]=S.email;else{const[f,ee]=(l.Email||"[email protected]").split("@");o[t]=`${f}+${b+1}@${ee||"test.com"}`}else t==="Address"?o[t]=l.Address||"":t==="Username"?c?o[t]=S.username:o[t]=`${l.Username||"user"}${b+1}`:t==="Password"?a==="edu-backlinks"?o[t]=ge():o[t]=l.Password||"Password123!":t==="Website"?o[t]=U:t==="Website Name"?n?o[t]=R[b]||xe(U):o[t]=l["Website Name"]:o[t]=l[t]||""}),o});L(M),T(!1),$(`Generated ${M.length} rows successfully!`)},$=s=>{B(s),setTimeout(()=>B(null),3e3)},K=()=>
19{if(!k.length)return;const s=be(k),d=new Blob([s],{type:"text/csv;charset=utf-8;"}),x=URL.createObjectURL(d),v=document.createElement("a");v.href=x,v.setAttribute("download",`${a}_${n?"multi":"single"}_${new Date().toISOString().slice(0,10)}.csv`),document.body.appendChild(v),v.click(),document.body.removeChild(v),$("CSV Downloaded!")};return e.jsx("div",{className:"h-full bg-gradient-to-br from-slate-50 via-white to-blue-50/30 p-6 overflow-y-auto",children:e.jsxs("div",{className:"max-w-7xl mx-auto",children:[D&&e.jsx("div",{className:"mb-4 inline-block animate-fade-in bg-green-100 text-green-700 border border-green-300 px-4 py-2 rounded-full text-sm font-medium",children:D}),e.jsxs("div",{className:"flex flex-col lg:flex-row gap-8",children:[e.jsxs("div",{className:"w-full lg:w-1/3 space-y-6",children:[e.jsxs("div",{className:"bg-white rounded-2xl shadow-lg border border-slate-200 overflow-hidden",children:[e.jsxs("div",{className:"bg-slate-50 px-5 py-3 border-b border-slate-200 flex items-center gap-2",children:[e.jsx(me,{className:"w-4 h-4 text-blue-500"}),e.jsx("span",{className:"text-sm font-bold text-slate-700",children:"Backlink Type"})]}),e.jsx("div",{className:"p-5",children:e.jsx("select",{value:a,onChange:Z,className:"w-full bg-slate-50 border border-slate-200 rounded-lg p-3 text-slate-800 focus:ring-2 focus:ring-blue-500 focus:border-blue-500 outline-none transition appearance-none cursor-pointer",children:I.map(s=>e.jsx("option",{value:s.id,children:s.label},s.id))})})]}),e.jsxs("div",{className:"bg-white rounded-2xl shadow-lg border border-slate-200 overflow-hidden",children:[e.jsxs("div",{className:"bg-slate-50 px-5 py-3 border-b border-slate-200 flex items-center gap-2",children:[e.jsx(G,{className:"w-4 h-4 text-purple-500"}),e.jsx("span",{className:"text-sm font-bold text-slate-700",children:"Configuration"})]}),e.jsxs("div",{className:"p-5 space-y-6",children:[e.jsxs("div",{className:"flex items-center justify-between bg-slate-50 p-3 rounded-lg border border-slate-200",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx("span",{className:"text-sm font-bold text-slate-700",children:"Multiple Domains"}),e.jsx("span",{className:"text-[10px] text-slate-400",children:"Turn on if you want to create backlinks for multiple domains"})]}),e.jsx("button",{onClick:()=>r(!n),className:"text-blue-500 hover:text-blue-600 transition",children:n?e.jsx(oe,{className:"w-8 h-8"}):e.jsx(ne,{className:"w-8 h-8 text-slate-400"})})]}),n?e.jsxs("div",{children:[e.jsxs("label",{className:"block text-xs font-bold text-slate-500 uppercase mb-1.5 tracking-wider flex items-center gap-2",children:[e.jsx(se,{className:"w-3 h-3"}),"Paste Domains (One per line)"]}),e.jsx("textarea",{rows:6,placeholder:`https://example.com 20https://mysite.org 21www.anotherone.net`,value:C,onChange:s=>y(s.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-lg p-2.5 text-xs font-mono text-slate-800 focus:border-blue-500 outline-none resize-none"}),e.jsxs("p",{className:"text-[10px] text-slate-400 mt-1 text-right",children:[C.split(` 22`).filter(Boolean).length," valid rows"]})]}):e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-bold text-slate-500 uppercase mb-1.5 tracking-wider",children:"Row Count"}),e.jsx("input",{type:"number",min:"1",max:"50",value:N,readOnly:!0,disabled:!0,className:"w-full bg-slate-100 border border-slate-200 rounded-lg p-2.5 text-slate-500 cursor-not-allowed outline-none"})]}),e.jsx("div",{className:"h-px bg-slate-200"}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"text-xs font-bold text-slate-500 uppercase tracking-wider",children:"Identity"}),e.jsxs("div",{className:"flex items-center gap-2 cursor-pointer group",onClick:()=>P(!c),children:[e.jsx("div",{className:`w-4 h-4 rounded border flex items-center justify-center transition ${c?"bg-blue-500 border-blue-500":"border-slate-300"}`,children:c&&e.jsx("span",{className:"text-white text-[10px]",children:"â"})}),e.jsx("span",{className:`text-xs ${c?"text-blue-500":"text-slate-400"} group-hover:text-blue-400 transition`,children:"Randomize?"})]})]}),c?e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"bg-blue-50 border border-blue-200 p-3 rounded-lg flex items-center gap-3",children:[e.jsx(re,{className:"w-5 h-5 text-blue-500"}),e.jsx("div",{className:"flex flex-col",children:e.jsx("p",{className:"text-xs text-blue-600",children:"Generating unique identities."})})]}),(a==="edu-backlinks"||a==="profile-backlinks")&&u.includes("Email")&&e.jsxs("div",{className:"animate-fade-in",children:[e.jsx("label",{className:"block text-[10px] font-bold text-slate-500 uppercase mb-1",children:"Static Email (Required)"}),e.jsx("input",{placeholder:"Base Email (e.g. [email protected])",value:l.Email,onChange:s=>m("Email",s.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-lg p-2.5 text-sm text-slate-800 focus:border-blue-500 outline-none"})]})]}):e.jsxs("div",{className:"space-y-3 animate-fade-in",children:[u.includes("Name")&&e.jsx("input",{placeholder:"Base Name (e.g. John Doe)",value:l.Name,onChange:s=>m("Name",s.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-lg p-2.5 text-sm text-slate-800 focus:border-blue-500 outline-none"}),u.includes("Email")&&e.jsx("input",{placeholder:"Base Email (e.g. [email protected])",value:l.Email,onChange:s=>m("Email",s.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-lg p-2.5 text-sm text-slate-800 focus:border-blue-500 outline-none"}),u.includes("Username")&&e.jsx("input",{placeholder:"Base Username (e.g. johndoe)",value:l.Username,onChange:s=>m("Username",s.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-lg p-2.5 text-sm text-slate-800 focus:border-blue-500 outline-none"})]}),!n&&e.jsxs("div",{className:"space-y-3 pt-2",children:[u.includes("Website")&&e.jsx("input",{placeholder:"Website URL",value:l.Website,onChange:s=>m("Website",s.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-lg p-2.5 text-sm text-slate-800 focus:border-blue-500 outline-none"}),u.includes("Website Name")&&e.jsx("input",{placeholder:"Website Name (e.g. My Site)",value:l["Website Name"],onChange:s=>m("Website Name",s.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-lg p-2.5 text-sm text-slate-800 focus:border-blue-500 outline-none"})]}),u.includes("Password")&&a!=="edu-backlinks"&&e.jsx("input",{type:"text",placeholder:"Default Password",value:l.Password,onChange:s=>m("Password",s.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-lg p-2.5 text-sm text-slate-800 focus:border-blue-500 outline-none"}),a==="edu-backlinks"&&e.jsx("div",{className:"text-[10px] text-green-600 bg-green-50 p-2 rounded border border-green-200 text-center",children:"Strong unique passwords enabled for EDU."}),a==="profile-backlinks"&&u.includes("Address")&&e.jsx("input",{placeholder:"Address",value:l.Address,onChange:s=>m("Address",s.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-lg p-2.5 text-sm text-slate-800 focus:border-blue-500 outline-none"}),a==="local-citations"&&e.jsxs("div",{className:"space-y-3 pt-2",children:[e.jsx("label",{className:"block text-xs font-bold text-slate-500 uppercase tracking-wider",children:"Local Business Details"}),e.jsx("input",{placeholder:"Company",value:l.Company,onChange:s=>m("Company",s.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-lg p-2.5 text-sm text-slate-800 focus:border-blue-500 outline-none"}),e.jsx("input",{placeholder:"Title (e.g. Owner, Manager)",value:l.Title,onChange:s=>m("Title",s.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-lg p-2.5 text-sm text-slate-800 focus:border-blue-500 outline-none"}),e.jsx("input",{placeholder:"Phone",value:l.Phone,onChange:s=>m("Phone",s.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-lg p-2.5 text-sm text-slate-800 focus:border-blue-500 outline-none"}),e.jsx("input",{placeholder:"Address",value:l.Address,onChange:s=>m("Address",s.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-lg p-2.5 text-sm text-slate-800 focus:border-blue-500 outline-none"}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsx("input",{placeholder:"City",value:l.City,onChange:s=>m("City",s.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-lg p-2.5 text-sm text-slate-800 focus:border-blue-500 outline-none"}),e.jsx("input",{placeholder:"State",value:l.State,onChange:s=>m("State",s.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-lg p-2.5 text-sm text-slate-800 focus:border-blue-500 outline-none"})]}),e.jsx("input",{placeholder:"Zip",value:l.Zip,onChange:s=>
22m("Zip",s.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-lg p-2.5 text-sm text-slate-800 focus:border-blue-500 outline-none"})]})]}),e.jsx("div",{className:"h-px bg-slate-200"}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("label",{className:"block text-xs font-bold text-slate-500 uppercase tracking-wider flex items-center gap-2",children:[e.jsx(te,{className:"w-3 h-3"}),"AI Settings"]}),e.jsx("input",{type:"text",placeholder:"Company Name / Topic (Required for Content)",value:h,onChange:s=>A(s.target.value),className:"w-full bg-slate-50 border border-blue-300 rounded-lg p-2.5 text-slate-800 focus:border-blue-500 transition"}),e.jsxs("div",{className:"relative",children:[e.jsx(de,{className:"absolute left-3 top-2.5 w-4 h-4 text-slate-400"}),e.jsx("input",{type:"text",placeholder:"Custom Command (e.g. 'Use emojis', 'Be witty')",value:j,onChange:s=>V(s.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-lg pl-9 p-2.5 text-slate-800 focus:border-purple-500 transition text-xs"})]})]}),e.jsx("button",{onClick:H,disabled:W,className:`w-full py-3.5 rounded-lg font-bold text-white shadow-lg transition-all transform active:scale-95 flex items-center justify-center gap-2 mt-4 23 ${W?"bg-slate-400 cursor-wait":"bg-gradient-to-r from-blue-500 to-purple-500 hover:from-blue-600 hover:to-purple-600 hover:shadow-blue-500/25"}`,children:W?e.jsxs(e.Fragment,{children:[e.jsx(ae,{className:"w-5 h-5 animate-spin"}),n?"Processing Domains...":"Generating..."]}):e.jsxs(e.Fragment,{children:[e.jsx(ie,{className:"w-5 h-5"}),"Generate Data"]})})]})]})]}),e.jsxs("div",{className:"w-full lg:w-2/3 bg-white rounded-2xl shadow-lg border border-slate-200 flex flex-col overflow-hidden",children:[e.jsxs("div",{className:"p-4 border-b border-slate-200 flex justify-between items-center bg-slate-50",children:[e.jsxs("h3",{className:"font-bold text-slate-800 flex items-center gap-2",children:[e.jsx(ce,{className:"w-5 h-5 text-green-500"}),"Data Preview"]}),k.length>0&&e.jsxs("button",{onClick:K,className:"bg-green-500 hover:bg-green-600 text-white text-xs font-bold py-2 px-4 rounded-lg flex items-center gap-2 transition hover:shadow-lg hover:shadow-green-500/20",children:[e.jsx(le,{className:"w-4 h-4"}),"Download CSV"]})]}),e.jsx("div",{className:"flex-1 overflow-auto",children:k.length===0?e.jsxs("div",{className:"flex flex-col items-center justify-center text-slate-400 p-8 text-center h-96",children:[e.jsx("div",{className:"w-20 h-20 bg-slate-100 rounded-full flex items-center justify-center mb-4",children:e.jsx(G,{className:"w-10 h-10 opacity-50"})}),e.jsx("h4",{className:"text-lg font-medium text-slate-600 mb-2",children:"Ready to Generate"}),e.jsx("p",{className:"text-sm max-w-sm",children:n?"Paste your domains on the left and click Generate to extract names and build the CSV.":"Configure your settings and click Generate to see the results here."})]}):e.jsxs("table",{className:"w-full text-left text-sm text-slate-600 border-collapse",children:[e.jsx("thead",{className:"text-xs text-slate-500 uppercase bg-slate-50 sticky top-0 z-10",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-3 border-b border-slate-200 w-12 text-center bg-slate-50",children:"#"}),u.map(s=>e.jsx("th",{className:"px-4 py-3 border-b border-slate-200 whitespace-nowrap bg-slate-50 font-semibold tracking-wide",children:s},s))]})}),e.jsx("tbody",{children:k.map((s,d)=>e.jsxs("tr",{className:"border-b border-slate-100 hover:bg-slate-50 transition group",children:[e.jsx("td",{className:"px-4 py-3 font-mono text-slate-400 text-center border-r border-slate-100",children:d+1}),u.map(x=>e.jsx("td",{className:"px-4 py-3 max-w-[250px] truncate group-hover:text-slate-800 transition-colors",title:s[x],children:s[x]},x))]},d))})]})}),e.jsxs("div",{className:"p-2 bg-slate-50 border-t border-slate-200 text-xs text-center text-slate-400 flex justify-between px-4",children:[e.jsxs("span",{children:["Status: ",W?"Processing...":"Ready"]}),e.jsxs("span",{children:[k.length," rows generated"]})]})]})]})]})})}export{je as default};
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.