PageSourceSearch

https://www.realitatea.net/_nuxt/G_NSKtZj.js

js realitatea.net collected 2026-09-24 17:39:37 UTC 4,280 bytes, 1 lines download raw bytes

1import{a as v}from"./Cws8CABK.js";import{d as S,o as t,c as o,f as r,w as m,g as h,e as a,F as p,r as f,m as k,_ as w,t as y,n as d,P as N,B as A,q as _}from"./CD6cw12B.js";import{_ as P}from"./BcOdHXA9.js";import{_ as L}from"./CxVMLojW.js";import{_ as B}from"./CtCLe1uW.js";import{u as C}from"./BcwHe3eZ.js";import{A as W}from"./C51W80eH.js";import"./D1X_xuHQ.js";import"./C_18auKa.js";const j={class:"space-y-4"},I={class:"space-y-3"},U={class:"flex-1 min-w-0"},F={class:"text-sm font-display font-bold line-clamp-2 text-theme-ui-card-text dark:text-theme-ui-d-card-text group-hover:text-theme-accent transition-colors"},M={class:"text-xs text-theme-secondary-500 dark:text-theme-secondary-300 mt-1 block"},V=S({__name:"PopularArticles",props:{articles:{}},setup(e){const{getArticleUrl:c}=C();return(g,i)=>{const u=v,n=B,x=w;return t(),o("div",j,[r(u,null,{default:m(()=>[...i[0]||(i[0]=[h("Popular",-1)])]),_:1}),a("div",I,[(t(!0),o(p,null,f(e.articles,(s,b)=>(t(),o("div",{key:b,class:"flex gap-3 group"},[r(x,{to:k(c)(s),class:"cursor-pointer w-32 h-[88px] md:w-20 md:h-14 aspect-[3/2] flex-shrink-0 overflow-hidden"},{default:m(()=>[r(n,{src:s.photo,alt:s.title,width:160,height:106,"video-id":s.videoId,class:"w-full h-full object-cover"},null,8,["src","alt","video-id"])]),_:2},1032,["to"]),a("div",U,[a("h3",F,[r(x,{to:k(c)(s),class:"cursor-pointer"},{default:m(()=>[h(y(s.title),1)]),_:2},1032,["to"])]),a("time",M,y(s.time),1)])]))),128))])])}}}),H=Object.assign(V,{__name:"SidebarPopularArticles"}),O={key:0,class:"space-y-4"},z={class:"space-y-2"},q=["href"],D={class:"text-sm font-display font-bold text-theme-ui-card-text dark:text-theme-ui-d-card-text group-hover:text-white"},E=S({__name:"PopularCategories",props:{categories:{default:()=>[]}},setup(e){const{getCategoryUrl:c}=C();return(g,i)=>{const u=v;return e.categories.length>0?(t(),o("div",O,[r(u,null,{default:m(()=>[...i[0]||(i[0]=[h("Categorii Populare",-1)])]),_:1}),a("ul",z,[(t(!0),o(p,null,f(e.categories,n=>(t(),o("li",{key:n.id},[a("a",{href:k(c)(n),class:"flex items-center justify-between py-2 px-3 bg-theme-secondary-50 dark:bg-theme-secondary-800/50 hover:bg-theme-primary-500 hover:text-white transition-colors group"},[a("span",D,y(n.name),1)],8,q)]))),128))])])):d("",!0)}}}),R=Object.assign(E,{__name:"SidebarPopularCategories"}),T={class:"grid grid-cols-1 lg:grid-cols-12 gap-3 md:gap-8"},G={key:0,class:"mt-3 md:mt-8 flex justify-center"},J={key:0,class:"lg:col-span-4 order-1 lg:order-none space-y-3 md:space-y-8 h-fit lg:sticky md:top-[var(--navbar-height)]"},K={key:1,class:"md:hidden order-2 lg:order-none"},Q=S({__name:"LatestWithSidebar",props:{articles:{},hasMore:{type:Boolean},moreLink:{},heading:{},gridColumns:{},sidebarWidgets:{},popularArticles:{},sidebarCategories:{},adSlotName:{},mobileAdSlotName:{},showAuthor:{type:Boolean}},setup(e){return(c,g)=>{const i=v,u=w,n=P,x=L,s=H,b=R;return t(),o("div",T,[a("div",{class:A(e.sidebarWidgets.length?"lg:col-span-8 order-3 lg:order-none":"lg:col-span-12")},[N(c.$slots,"heading",{},()=>[e.heading?(t(),_(i,{key:0},{default:m(()=>[h(y(e.heading),1)]),_:1})):d("",!0)]),a("div",{class:A(["mt-3 md:mt-6 grid grid-cols-1 gap-3 md:gap-6",e.gridColumns===4?"md:grid-cols-4":"md:grid-cols-3"])},[(t(!0),o(p,null,f(e.articles,(l,$)=>(t(),_(W,{key:$,"article-data":l,"show-author":e.showAuthor,sizes:"xs:100vw sm:592px md:224px lg:194px xl:244px"},null,8,["article-data","show-author"]))),128))],2),e.hasMore?(t(),o("div",G,[r(u,{to:e.moreLink,class:"px-6 py-3 bg-theme-primary-500 hover:bg-theme-primary-600 text-white font-medium transition-colors"},{default:m(()=>[...g[0]||(g[0]=[h(" Mai Multe ",-1)])]),_:1},8,["to"])])):d("",!0)],2),e.sidebarWidgets.length?(t(),o("aside",J,[r(n,{name:e.adSlotName||"sidebar-top"},null,8,["name"]),(t(!0),o(p,null,f(e.sidebarWidgets,l=>(t(),o(p,{key:l},[l==="socialFollow"?(t(),_(x,{key:0})):l==="popular"||l==="mostRead"?(t(),_(s,{key:1,articles:e.popularArticles},null,8,["articles"])):l==="popularCategories"?(t(),_(b,{key:2,categories:e.sidebarCategories},null,8,["categories"])):d("",!0)],64))),128))])):d("",!0),e.mobileAdSlotName?(t(),o("div",K,[r(n,{name:e.mobileAdSlotName}
1,null,8,["name"])])):d("",!0)])}}}),re=Object.assign(Q,{__name:"SectionsLatestWithSidebar"});export{re 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.