1import{r as d,j as e,U as S,Q as u}from"./vendor-react.CxFsstgM.js";import{N as A,F as C,B as m}from"./index.js";import w from"./StickyCTA.DHq4l71h.js";import{S as y}from"./SEOBreadcrumbs.DRgam2DQ.js";import{s as P}from"./asnApi.BArR1kKN.js";import{C as T,b as E,c as $,a as D}from"./card.B3sPcGAN.js";import{U as L}from"./UltimasBusquedas.CDH2eBNA.js";import{a as B}from"./ipDetection.BnLIb7tc.js";import{V as N,o as R,ay as j,_ as k}from"./vendor-icons.B6ULercA.js";import"./vendor-data.BaQWlRlR.js";import"./vendor-charts.GUtNyth0.js";const J=()=>{const[o,f]=d.useState([]),[h,x]=d.useState(!0);d.useEffect(()=>{(async()=>{x(!0);try{const t=["chile","claro","entel","movistar","vtr","gtd","mundo","tie","netline","hosting.cl","netuno","rdc","redvoiss","solucionhost","hostingplus","ecohosting","pluschile","webhost","gigas"];console.log("ð Starting ASN search with caching...");const c=Date.now(),v=t.map(async r=>{try{return(await P(r)).filter(l=>l.country_code==="CL"||B(`AS${l.asn}`)||l.name&&/chile|claro|entel|movistar|vtr|gtd|ecohosting|pluschile|hosting\.cl/i.test(l.name)||l.description&&/chile|claro|entel|movistar|vtr|gtd|ecohosting|pluschile/i.test(l.description))}catch(n){return console.warn(`Error searching for ${r}:`,n),[]}}),b=(await Promise.all(v)).flat();console.log(`â
ASN searches completed in ${Date.now()-c}ms`);const g=b.filter((r,n,p)=>p.findIndex(l=>l.asn===r.asn)===n).sort((r,n)=>r.asn-n.asn);f(g),console.log(`ð Total unique Chilean ASNs found: ${g.length}`)}catch(t){console.error("Error loading Chilean ASNs:",t)}finally{x(!1)}})()},[]);const i={telecom:o.filter(s=>s.name&&/claro|entel|movistar|vtr|wom|virgin|simple|telefon|telecom|movil/i.test(s.name)),hosting:o.filter(s=>s.name&&/hosting|host|server|datacenter|cloud|netuno|solucion|eco.*host|plus.*chile|webhost|gigas/i.test(s.name)),isp:o.filter(s=>s.name&&/gtd|mundo|tie|netline|rdc|redvoiss|internet|isp|provider|banda|fibra/i.test(s.name)&&!/hosting|host|server|datacenter|cloud/i.test(s.name)),others:o.filter(s=>{const t=s.name||"",c=s.description||"";return!(/claro|entel|movistar|vtr|wom|virgin|simple|telefon|telecom|movil/i.test(t)||/hosting|host|server|datacenter|cloud|netuno|solucion|eco.*host|plus.*chile|webhost|gigas/i.test(t)||/gtd|mundo|tie|netline|rdc|redvoiss|internet|isp|provider|banda|fibra/i.test(t)&&!/hosting|host|server|datacenter|cloud/i.test(t))&&(t.includes("chile")||c.includes("chile")||s.country_code==="CL")})},a=s=>e.jsxs(T,{className:"hover:shadow-md transition-shadow",children:[e.jsxs(E,{className:"pb-3",children:[e.jsxs($,{className:"text-lg flex items-center gap-2",children:[e.jsxs(u,{to:`/asn/AS${s.asn}`,className:"hover:underline",children:["AS",s.asn]}),e.jsxs(m,{variant:"secondary",className:"gap-1",children:[e.jsx(N,{className:"h-3 w-3"}),"ð¨ð±"]})]}),e.jsx("p",{className:"text-sm font-medium text-foreground",children:s.name||"Sin nombre"})]}),e.jsxs(D,{className:"pt-0",children:[e.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:s.description||"Proveedor chileno"}),e.jsxs("div",{className:"flex flex-wrap gap-2 text-xs",children:[s.country_code&&e.jsxs(m,{variant:"outline",children:["PaÃs: ",s.country_code]}),e.jsxs(m,{variant:"outline",children:["ASN: ",s.asn]})]})]})]},s.asn);return e.jsxs(e.Fragment,{children:[e.jsx(A,{}),e.jsxs("main",{className:"container mx-auto px-4 py-8",children:[e.jsxs(S,{children:[e.jsx("title",{children:"ASN Chile: Sistemas Autónomos | EligeTuHosting.cl"}),e.jsx("meta",{name:"description",content:"Directorio completo de ASNs chilenos: Claro, Entel, Movistar, VTR, GTD, empresas de hosting y más proveedores de internet de Chile."}),e.jsx("link",{rel:"canonical",href:`${window.location.origin}/asn/chile`}),e.jsx("meta",{httpEquiv:"content-language",content:"es-CL"}),e.jsx("link",{rel:"alternate",hrefLang:"es-cl",href:`${window.location.origin}/asn/chile`}),e.jsx("meta",{property:"og:title",content:"ASN Chile: Sistemas Autónomos de Proveedores Chilenos"}),e.jsx("meta",{property:"og:description",content:"Directorio completo de ASNs chilenos: Claro, Entel, Movistar, VTR, GTD y más."}),e.jsx("meta",{property:"og:url",content:`${window.location.origin}/asn/chile`})]}),e.jsx(y,{items:[{name:"ASN",href:"/asn"}],pageName:"Chile"}),e.jsxs("header",{className:"mb-8",children:[e.jsxs("h1",{className:"text-3xl font-bold flex items-center gap-3",children:[e.jsx(N,{className:"h-8 w-8 text-blue-600"}),"ASN Chile"]}),e.jsx("p",{className:"text-muted-foreground mt-2",children:"Directorio de sistemas autónomos (ASN) de proveedores chilenos: telecomunicaciones, hosting, ISPs y más."})]}),h&&e.jsxs("div",{className:"flex items-center gap-2 text-sm mb-8",children:[e.jsx(R,{className:"h-4 w-4 animate-spin"}),"Cargando ASNs chilenosâ¦"]}),!h&&e.jsx("div",{className:"mb-6 p-4 bg-blue-50 rounded-lg border border-blue-200",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-4 text-sm",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-2xl font-bold text-blue-600",children:o.length}),e.jsx("p",{className:"text-muted-foreground",children:"Total ASNs"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-2xl font-bold text-green-600",children:i.telecom.length}),e.jsx("p",{className:"text-muted-foreground",children:"Telecomunicaciones"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-2xl font-bold text-purple-600",children:i.hosting.length}),e.jsx("p",{className:"text-muted-foreground",children:"Hosting"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-2xl font-bold text-orange-600",children:i.isp.length}),e.jsx("p",{className:"text-muted-foreground",children:"ISPs"})]})]})}),e.jsxs("section",{className:"mb-8",children:[e.jsxs("h2",{className:"text-2xl font-semibold mb-4 flex items-center gap-2",children:[e.jsx(j,{className:"h-6 w-6 text-green-600"}),"Telecomunicaciones"]}),e.jsx("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",children:i.telecom.slice(0,24).map(a)})]}),e.jsxs("section",{className:"mb-8",children:[e.jsxs("h2",{className:"text-2xl font-semibold mb-4 flex items-center gap-2",children:[e.jsx(k,{className:"h-6 w-6 text-purple-600"}),"Hosting y Servidores"]}),e.jsx("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",children:i.hosting.slice(0,24).map(a)})]}),e.jsxs("section",{className:"mb-8",children:[e.jsxs("h2",{className:"text-2xl font-semibold mb-4 flex items-center gap-2",children:[e.jsx(j,{className:"h-6 w-6 text-orange-600"}),"Proveedores de Internet (ISP)"]}),e.jsx("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",children:i.isp.slice(0,24).map(a)})]}),i.others.length>0&&e.jsxs("section",{className:"mb-8",children:[e.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"Otros Proveedores"}),e.jsx("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",children:i.others.slice(0,24).map(a)})]}),o.length>0&&e.jsx("div",{className:"text-center py-4",children:e.jsxs("p",{className:"text-muted-foreground mb-4",children:["¿Buscas un ASN especÃfico? Usa el"," ",e.jsx(u,{to:"/asn",className:"text-blue-600 hover:underline",children:"directorio general de ASN"})]})}),e.jsx("div",{className:"mt-12",children:e.jsx(L,{})})]}),e.jsx(w,{}),e.jsx(C,{})]})};export{J 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.