1import{l as Rt,g as Ke}from"../chunks/BKknxEG5.js";import"../chunks/DsnmJJEf.js";import{p as qt,e as Xe,g as e,t as k,a as f,c as r,s,u as v,b as Ht,aq as Ye,I as T,f as y,ap as re,r as t,at as Nt}from"../chunks/CYGRAPIB.js";import{d as Vt,b as V,s as c}from"../chunks/D9UuDnCi.js";import{i as I}from"../chunks/nU4rHKDQ.js";import{e as ae}from"../chunks/DTvJC0Jp.js";import{d as Qt,s as p,a as we,r as Wt}from"../chunks/BEZvtooX.js";import{a as Gt}from"../chunks/D6jb07Cq.js";import{n as Ut,a as Jt,b as Kt,c as Xt,d as Yt,e as Zt,f as er,g as tr,h as rr,i as ar,j as sr,s as Ze,k as et}from"../chunks/Dw6EI4r3.js";import{B as ir,b as or}from"../chunks/CpWhE398.js";import{n as tt,a as rt,f as nr,b as lr,c as dr,d as cr,e as vr}from"../chunks/BOaRkzI8.js";import{N as pr}from"../chunks/DZPQBCwR.js";import{S as mr}from"../chunks/D0T9t0sD.js";import{W as ur}from"../chunks/DaKR3ZoL.js";import{P as xr}from"../chunks/CtgGnEb9.js";import{H as gr}from"../chunks/zVtv-ACl.js";import{P as Q,h as W}from"../chunks/T8_RqQZ_.js";import{r as at}from"../chunks/kaiQ09si.js";import{f as st}from"../chunks/ww51vty2.js";import{S as fr}from"../chunks/D39W6VI3.js";import{F as _r}from"../chunks/v1RUe_n1.js";import{C as hr,a as br}from"../chunks/ALTFPcKP.js";const ye=[{id:"enterprise-ai",name:"Enterprise AI",description:"AI implementations and strategies for enterprise organizations"},{id:"technical-insights",name:"Technical Insights",description:"Deep technical analysis and emerging AI methodologies"},{id:"ai-breakthroughs",name:"AI Breakthroughs",description:"Latest breakthroughs and innovations in artificial intelligence"},{id:"industry-analysis",name:"Industry Analysis",description:"Market trends and industry-specific AI applications"},{id:"research-updates",name:"Research Updates",description:"Latest developments from AI research institutions"}],wr=!0;async function yr(){const X=await Rt(),G=X.filter(L=>L.featured);return{articles:X,featuredArticles:G}}const ia=Object.freeze(Object.defineProperty({__proto__:null,load:yr,prerender:wr},Symbol.toStringTag,{value:"Module"}));var Ir=y('<span class="absolute left-3 top-1/2 -translate-y-1/2"><!></span>'),jr=y('<span class="inline sm:hidden mr-1.5"><!></span>'),Ar=y('<button role="tab" aria-controls="news-content"> </button>'),kr=y('<div class="aspect-video overflow-hidden"><picture><source type="image/avif"/> <source type="image/webp"/> <img sizes="(max-width: 1024px) 100vw, 1024px" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-300" width="1024" height="576" loading="lazy" decoding="async"/></picture></div>'),Cr=y('<a class="group card-pixel overflow-hidden hover:border-border/80 transition-all duration-300"><!> <div class="p-6"><div class="flex items-center gap-2 mb-3"><span class="inline-flex items-center gap-1 text-xs font-medium px-2 py-0.5 bg-primary/10 text-primary border border-primary/20 rounded-full"> </span> <span class="text-xs text-muted-foreground"> </span></div> <h3 class="text-xl font-semibold text-foreground leading-snug mb-2 group-hover:text-primary transition-colors"> </h3> <p class="text-sm text-muted-foreground line-clamp-3"> </p> <div class="flex items-center justify-between mt-4 text-xs text-muted-foreground"><span> </span> <time> </time></div></div></a>'),$r=y('<section class="py-12"><div class="max-w-6xl mx-auto px-4 sm:px-6"><div class="mb-8"><h2 class="text-2xl sm:text-3xl font-bold text-foreground leading-tight mb-2 font-pixel"> </h2> <p class="text-muted-foreground"> </p></div> <div class="grid lg:grid-cols-2 gap-6 sm:gap-8"></div></div></section>'),Pr=y('<div class="text-center py-16"><p class="text-lg text-muted-foreground">No articles found. Try adjusting your search or filter.</p></div>'),Sr=y('<div class="aspect-video overflow-hidden"><picture><source type="image/avif"/> <source type="image/webp"/> <img sizes="(max-width: 1024px) 100vw, 1024px" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-300" width="1024" height="576" loading="lazy" decoding="async"/></picture></div>'),zr=y('<a class="group card-pixel overflow-hidden hover:border-border/80 transition-all duration-300"><!> <div class="p-5"><div class="flex items-center gap-2 mb-3"><span class="inline-flex items-center gap-1 text-xs font-medium px-2 py-0.5 bg-primary/10 text-primary border border-primary/20 rounded-full"> </span> <span class="text-xs text-muted-foreground"> </span></div> <h3 class="text-lg font-semibold text-foreground leading-snug mb-2 group-hover:text-primary transition-colors"> </h3> <p class="text-sm text-muted-foreground line-clamp-3"> </p> <div class="flex items-center justify-between mt-4 text-xs text-muted-foreground"><span> </span> <time> </time></div></div></a>'),Tr=y('<div class="grid sm:grid-cols-2 lg:grid-cols-3 gap-6 sm:gap-8"></div>'),Lr=y("<button> </button>"),Mr=y('<nav class="flex items-center justify-center gap-2 mt-12"><button class="min-h-[44px] min-w-[44px] flex items-center justify-center btn-pixel-outline disabled:opacity-50 disabled:cursor-not-allowed"><!></button> <!> <button class="min-h-[44px] min-w-[44px] flex items-center justify-center btn-pixel-outline disabled:opacity-50 disabled:cursor-not-allowed"><!></button></nav>'),Er=y('<section class="py-16 lg:py-24 bg-surface relative overflow-hidden"><!> <div class="relative container mx-auto px-6 text-center"><span class="inline-flex items-center gap-2 px-4 py-2 text-xs sm:text-sm font-medium bg-primary/10 text-primary border border-primary/20 rounded-full mb-4"><!> </span> <h1 class="text-4xl sm:text-5xl font-bold text-foreground leading-tight mb-6 font-pixel"> </h1> <p class="text-xl text-muted-foreground max-w-3xl mx-auto leading-relaxed"> </p></div></section> <section class="py-6 border-b border-border"><div class="max-w-6xl mx-auto px-4 sm:px-6"><div class="flex flex-col sm:flex-row gap-4 items-start sm:items-center justify-between mb-0"><div class="relative w-full sm:w-80"><!> <input type="search" placeholder="Search articles..." class="w-full pl-10 pr-4 py-2 rounded-lg border border-border bg-background text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-primary/50"/></div> <div class="flex flex-wrap gap-2" role="tablist"><button role="tab" aria-controls="news-content"><!> All</button> <!></div></div></div></section> <!>
1 <section id="news-content" class="py-12 bg-surface"><div class="max-w-6xl mx-auto px-4 sm:px-6"><div class="flex items-center justify-between mb-8"><div><h2 class="text-2xl sm:text-3xl font-bold text-foreground leading-tight mb-2 font-pixel"> </h2> <p class="text-muted-foreground"> </p></div></div> <p aria-live="polite" class="text-sm text-muted-foreground mb-6"><!></p> <!> <!></div></section> <section class="py-16 border-t border-border"><div class="max-w-2xl mx-auto px-4 sm:px-6"><div class="card-pixel p-8 sm:p-10 text-center"><div class="flex justify-center mb-4"><!></div> <h2 class="text-2xl font-bold text-foreground mb-2 font-pixel"> </h2> <p class="text-muted-foreground mb-6"> </p> <!></div></div></section>',1),Br=y("<!> <!> <!> <!>",1);function oa(X,G){qt(G,!0);const L=12;let C=re("all"),Ie=re(""),U=re(""),_=re(1),je;function Ae(d){T(C,d,!0),T(_,1)}function it(d){T(Ie,d,!0),clearTimeout(je),je=setTimeout(()=>{T(U,d,!0),T(_,1)},300)}const ke=v(()=>{let d=G.data.featuredArticles;if(e(C)!=="all"){const x=ye.find(g=>g.id===e(C));x&&(d=d.filter(g=>g.category===x.name))}if(e(U).trim()){const x=e(U).toLowerCase();d=d.filter(g=>g.title.toLowerCase().includes(x)||g.excerpt.toLowerCase().includes(x))}return d}),F=v(()=>{let d=G.data.articles;if(e(C)!=="all"){const x=ye.find(g=>g.id===e(C));x&&(d=d.filter(g=>g.category===x.name))}if(e(U).trim()){const x=e(U).toLowerCase();d=d.filter(g=>g.title.toLowerCase().includes(x)||g.excerpt.toLowerCase().includes(x))}return d}),Y=v(()=>Math.ceil(e(F).length/L)),Ce=v(()=>e(F).slice((e(_)-1)*L,e(_)*L)),ot=v(()=>e(F).length===0?0:(e(_)-1)*L+1),nt=v(()=>Math.min(e(_)*L,e(F).length));var $e=Br(),Pe=Xe($e);{let d=v(()=>Ze()),x=v(()=>et());mr(Pe,{get title(){return e(d)},get description(){return e(x)},ogImage:"https://www.yanok.ai/images/og/news.png",keywords:"AI news, AI research, machine learning insights, enterprise AI, AI breakthroughs, agentic AI news",canonicalPath:"/news"})}var Se=s(Pe,2);{let d=v(()=>[{name:or(),url:"https://www.yanok.ai/"},{name:nr(),url:"https://www.yanok.ai/news"}]);ir(Se,{get items(){return e(d)}})}var ze=s(Se,2);{let d=v(()=>Ze()),x=v(()=>et());ur(ze,{get name(){return e(d)},get description(){return e(x)},type:"CollectionPage",url:"https://www.yanok.ai/news"})}var lt=s(ze,2);xr(lt,{children:(d,x)=>{var g=Er(),se=Xe(g),Te=r(se);gr(Te,{});var Le=s(Te,2),ie=r(Le),Me=r(ie);{var dt=a=>{Q(a,{icon:"Newspaper",size:"sm"})},ct=v(()=>W("Newspaper"));I(Me,a=>{e(ct)&&a(dt)})}var vt=s(Me);t(ie);var oe=s(ie,2),pt=r(oe,!0);t(oe);var Ee=s(oe,2),mt=r(Ee,!0);t(Ee),t(Le),t(se);var ne=s(se,2),Be=r(ne),Fe=r(Be),le=r(Fe),Oe=r(le);{var ut=a=>{var i=Ir(),o=r(i);Q(o,{icon:"Search",size:"sm",class:"text-muted-foreground"}),t(i),f(a,i)},xt=v(()=>W("Search")),gt=a=>{fr(a,{class:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"})};I(Oe,a=>{e(xt)?a(ut):a(gt,-1)})}var Z=s(Oe,2);Wt(Z),t(le);var de=s(le,2),O=r(de),ft=r(O);{var _t=a=>{var i=jr(),o=r(i);Q(o,{icon:"Filter",size:"xs"}),t(i),f(a,i)},ht=v(()=>W("Filter")),bt=a=>{_r(a,{class:"w-3 h-3 mr-1.5 inline sm:hidden"})};I(ft,a=>{e(ht)?a(_t):a(bt,-1)})}Nt(),t(O);var wt=s(O,2);ae(wt,17,()=>ye,a=>a.id,(a,i)=>{var o=Ar(),l=r(o,!0);t(o),k(()=>{p(o,"aria-selected",e(C)===e(i).id),we(o,1,`min-h-[44px] px-4 py-2 text-sm font-medium transition-colors ${e(C)===e(i).id?"btn-pixel":"btn-pixel-outline"}`),c(l,e(i).name)}),V("click",o,()=>Ae(e(i).id)),f(a,o)}),t(de),t(Fe),t(Be),t(ne);var De=s(ne,2);{var yt=a=>{var i=$r(),o=r(i),l=r(o),h=r(l),A=r(h,!0);t(h);var z=s(h,2),$=r(z,!0);t(z),t(l);var b=s(l,2);ae(b,21,()=>e(ke),j=>j.id,(j,m)=>{var P=Cr(),D=r(P);{var n=B=>{var K=kr(),Ge=r(K),Ue=r(Ge),Je=s(Ue,2),be=s(Je,2);t(Ge),t(K),k((Ot,Dt)=>{p(Ue,"srcset",Ot),p(Je,"srcset",Dt),p(be,"src",e(m).image),p(be,"srcset",`${e(m).image} 1024w`),p(be,"alt",e(m).title)},[()=>`${e(m).image.replace(".jpg",".avif")} 1024w`,()=>`${e(m).image.replace(".jpg",".webp")} 1024w`]),f(B,K)};I(D,B=>{e(m).image&&B(n)})}var w=s(D,2),u=r(w),M=r(u),ee=r(M,!0);t(M);var R=s(M,2),fe=r(R);t(R),t(u);var q=s(u,2),_e=r(q,!0);t(q);var S=s(q,2),E=r(S,!0);t(S);var J=s(S,2),H=r(J),te=r(H,!0);t(H);var N=s(H,2),he=r(N,!0);t(N),t(J),t(w),t(P),k((B,K)=>{p(P,"href",B),c(ee,e(m).category),c(fe,`${e(m).readTime??""} min read`),c(_e,e(m).title),c(E,e(m).excerpt),c(te,e(m).author),c(he,K)},[()=>at(`/news/${Ke(e(m))}
1`),()=>st(e(m).publishDate)]),f(j,P)}),t(b),t(o),t(i),k((j,m)=>{c(A,j),c($,m)},[()=>er(),()=>tr()]),f(a,i)};I(De,a=>{e(ke).length>0&&a(yt)})}var ce=s(De,2),Re=r(ce),ve=r(Re),qe=r(ve),pe=r(qe),It=r(pe,!0);t(pe);var He=s(pe,2),jt=r(He,!0);t(He),t(qe),t(ve);var me=s(ve,2),At=r(me);{var kt=a=>{var i=Ye("No articles found. Try adjusting your search or filter.");f(a,i)},Ct=a=>{var i=Ye();k(()=>c(i,`Showing ${e(ot)??""}â${e(nt)??""} of ${e(F).length??""} articles`)),f(a,i)};I(At,a=>{e(F).length===0?a(kt):a(Ct,-1)})}t(me);var Ne=s(me,2);{var $t=a=>{var i=Pr();f(a,i)},Pt=a=>{var i=Tr();ae(i,21,()=>e(Ce),o=>o.id,(o,l)=>{var h=zr(),A=r(h);{var z=S=>{var E=Sr(),J=r(E),H=r(J),te=s(H,2),N=s(te,2);t(J),t(E),k((he,B)=>{p(H,"srcset",he),p(te,"srcset",B),p(N,"src",e(l).image),p(N,"srcset",`${e(l).image} 1024w`),p(N,"alt",e(l).title)},[()=>`${e(l).image.replace(".jpg",".avif")} 1024w`,()=>`${e(l).image.replace(".jpg",".webp")} 1024w`]),f(S,E)};I(A,S=>{e(l).image&&S(z)})}var $=s(A,2),b=r($),j=r(b),m=r(j,!0);t(j);var P=s(j,2),D=r(P);t(P),t(b);var n=s(b,2),w=r(n,!0);t(n);var u=s(n,2),M=r(u,!0);t(u);var ee=s(u,2),R=r(ee),fe=r(R,!0);t(R);var q=s(R,2),_e=r(q,!0);t(q),t(ee),t($),t(h),k((S,E)=>{p(h,"href",S),c(m,e(l).category),c(D,`${e(l).readTime??""} min read`),c(w,e(l).title),c(M,e(l).excerpt),c(fe,e(l).author),c(_e,E)},[()=>at(`/news/${Ke(e(l))}`),()=>st(e(l).publishDate)]),f(o,h)}),t(i),f(a,i)};I(Ne,a=>{e(Ce).length===0?a($t):a(Pt,-1)})}var St=s(Ne,2);{var zt=a=>{var i=Mr(),o=r(i),l=r(o);{var h=n=>{Q(n,{icon:"ChevronLeft",size:"sm"})},A=v(()=>W("ChevronLeft")),z=n=>{hr(n,{class:"w-4 h-4"})};I(l,n=>{e(A)?n(h):n(z,-1)})}t(o);var $=s(o,2);ae($,16,()=>Array.from({length:e(Y)},(n,w)=>w+1),n=>n,(n,w)=>{var u=Lr(),M=r(u,!0);t(u),k(()=>{p(u,"aria-label",`Page ${w}`),p(u,"aria-current",e(_)===w?"page":void 0),we(u,1,`min-h-[44px] min-w-[44px] flex items-center justify-center text-sm font-medium transition-colors ${e(_)===w?"btn-pixel":"btn-pixel-outline"}`),c(M,w)}),V("click",u,()=>{T(_,w,!0),document.getElementById("news-content")?.scrollIntoView({behavior:"smooth"})}),f(n,u)});var b=s($,2),j=r(b);{var m=n=>{Q(n,{icon:"ChevronRight",size:"sm"})},P=v(()=>W("ChevronRight")),D=n=>{br(n,{class:"w-4 h-4"})};I(j,n=>{e(P)?n(m):n(D,-1)})}t(b),t(i),k((n,w,u)=>{p(i,"aria-label",n),o.disabled=e(_)===1,p(o,"aria-label",w),b.disabled=e(_)===e(Y),p(b,"aria-label",u)},[()=>rr(),()=>ar(),()=>sr()]),V("click",o,()=>{T(_,Math.max(1,e(_)-1),!0),document.getElementById("news-content")?.scrollIntoView({behavior:"smooth"})}),V("click",b,()=>{T(_,Math.min(e(Y),e(_)+1),!0),document.getElementById("news-content")?.scrollIntoView({behavior:"smooth"})}),f(a,i)};I(St,a=>{e(Y)>1&&a(zt)})}t(Re),t(ce);var Ve=s(ce,2),Qe=r(Ve),We=r(Qe),ue=r(We),Tt=r(ue);{var Lt=a=>{Q(a,{icon:"Mail",size:"lg",class:"text-primary"})},Mt=v(()=>W("Mail"));I(Tt,a=>{e(Mt)&&a(Lt)})}t(ue);var xe=s(ue,2),Et=r(xe,!0);t(xe);var ge=s(xe,2),Bt=r(ge,!0);t(ge);var Ft=s(ge,2);{let a=v(()=>tt()),i=v(()=>rt()),o=v(()=>lr()),l=v(()=>dr()),h=v(()=>cr()),A=v(()=>vr());pr(Ft,{get title(){return e(a)},get description(){return e(i)},get successMessage(){return e(o)},get errorMessage(){return e(l)},get placeholder(){return e(h)},get submitLabel(){return e(A)}})}t(We),t(Qe),t(Ve),k((a,i,o,l,h,A,z,$,b)=>{c(vt,` ${a??""}`),c(pt,i),c(mt,o),Qt(Z,e(Ie)),p(Z,"aria-label",l),p(de,"aria-label",h),p(O,"aria-selected",e(C)==="all"),we(O,1,`min-h-[44px] px-4 py-2 text-sm font-medium transition-colors ${e(C)==="all"?"btn-pixel":"btn-pixel-outline"}`),c(It,A),c(jt,z),c(Et,$),c(Bt,b)},[()=>Ut(),()=>Jt(),()=>Kt(),()=>Xt(),()=>Gt(),()=>Yt(),()=>Zt(),()=>tt(),()=>rt()]),V("input",Z,a=>it(a.currentTarget.value)),V("click",O,()=>Ae("all")),f(d,g)},$$slots:{default:!0}}),f(X,$e),Ht()}Vt(["input","click"]);export{oa as component,ia as universal};
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.