1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./entry.zgkKdxzu.css","./Post.CwDoVcIy.css","./Recommended.DamV707v.css"])))=>i.map(i=>d[i]); 2import{b5 as Q,bh as M,b6 as o,bA as C,bk as e,bt as f,bu as N,bF as n,ba as a,bE as l,bI as y,b7 as r,bN as W,b9 as h,bd as X,bf as $,cd as H,bv as x,ce as Y,bc as B,bq as ee,bH as te,cf as se,c3 as V,c4 as Z,bb as s,br as ae,bJ as q,bK as F,be as oe,bj as ne,bV as g,cg as U,bw as I}from"./7djDz4NW.js";import{_ as ie}from"./C3J8ikYT.js";import{_ as re}from"./7gAt9WYb.js";import{_ as le}from"./DieZ3XKr.js";import{_ as de}from"./BYAUB8sL.js";import{_ as ce}from"./DSLRvaqx.js";import{_ as me}from"./BgofmZCI.js";import{d as J}from"./BGJeDKOD.js";import{s as ue}from"./CKccoXkS.js";import{u as pe,a as _e}from"./BnjyLl4D.js";import{u as fe}from"./kf8F1IZc.js";import{u as ke}from"./DOtS_Xhx.js";import"./CbAC5NJI.js";import"./BFRmW-mn.js";import"./dgBQVS3w.js";import"./D9763jIk.js";import"./4PsoIHJP.js";import"./BHFtEmvE.js";import"./UkmkPdYt.js";import"./Dv6fPvp3.js";const he=V(()=>Z(()=>import("./7djDz4NW.js").then(t=>t.ds),__vite__mapDeps([0]),import.meta.url).then(t=>t.default||t)),be={key:0,class:"article-info__author-avatars flex items-center"},ge={class:"flex flex-1 flex-col gap-1"},ye={key:0,class:"article-info__author-develop text-body-sm text-neutral-dark-200"},xe={class:"leading-none"},ve={key:0,class:"desktop:hidden whitespace-break-spaces"},we={key:1,class:"article-info__reading-time text-body-sm text-basic-content-weak desktop:block hidden whitespace-nowrap"},ze={class:"desktop:flex-col-reverse desktop:items-start desktop:gap-2 flex flex-wrap items-center gap-1"},Ae={key:0,class:"desktop:flex-col desktop:items-start flex items-center"},$e=["datetime"],Ce={key:1,class:"desktop:flex desktop:flex-col desktop:items-start desktop:gap-0 hidden items-center gap-1"},je=["datetime"],Le={class:"article-info__reading-time text-body-sm text-basic-content-weak desktop:hidden whitespace-nowrap"},Te={key:0,class:"desktop:hidden order-2 flex w-full flex-wrap items-center gap-1"},De={class:"desktop:flex-col-reverse desktop:items-start desktop:gap-2 flex flex-wrap items-center gap-1"},Se={key:0,class:"desktop:flex-col desktop:items-start flex items-center"},Pe=["datetime"],Re={class:"article-info__reading-time text-body-sm text-basic-content-weak desktop:hidden whitespace-nowrap"},Ee={class:"desktop:flex-col desktop:items-start desktop:gap-0 flex items-center gap-1"},Oe=["datetime"],Ie={key:2,class:"article-info__comments-group desktop:order-2 order-1 flex flex-col gap-2.5"},Me={class:"article-info__comments-header text-basic-content-strong text-label-sm desktop:block hidden font-semibold"},Ne={class:"flex items-center gap-2"},Be={class:"desktop:inline mobile:sr-only"},Ve=Q({__name:"ArticleAuthor",props:{publishedAt:{},modifiedAt:{},readingTime:{},showComments:{type:Boolean,default:!0},commentsCount:{default:0},showAvatar:{type:Boolean,default:!0},authorsLabel:{},authors:{}},setup(t){const _=M(),d=$(()=>t.publishedAt?H(t.publishedAt):""),m=$(()=>!t.modifiedAt||y(t.modifiedAt).tz().isSame(y(t.publishedAt).tz())?null:H(t.modifiedAt)),p=$(()=>t.commentsCount>0?"DoÅÄ cz do dyskusji!":"Rozpocznij dyskusjÄ!"),j=new Intl.PluralRules("pl-PL"),v=new Map([["one","komentarz"],["few","komentarze"],["many","komentarzy"]]),L=$(()=>{const u=j.select(t.commentsCount);return v.get(u)}),T=async()=>{if(navigator.share)try{await navigator.share({title:document.title,url:M().href})}catch(u){u.name}};function w(u){return u.path?se:"span"}return(u,i)=>{const D=re,b=le,z=te,S=he,P=de,R=W,E=X;return s(),o("div",{class:C(["article-info desktop:mb-0 desktop:flex-col desktop:justify-start mb-6 flex items-start justify-between gap-2",{"desktop:gap-8":e(m)||e(d)||t.readingTime,"desktop:gap-4":!e(m)&&!e(d
2)&&!t.readingTime,"flex-wrap":e(m)}])},[t.authors?.length?(s(),o("div",{key:0,class:C(["article-info__author-group desktop:flex-auto desktop:flex-col desktop:items-start desktop:gap-3 order-0 flex flex-1 gap-2.5",t.authors&&t.authors.length>1?"flex-col items-start":"items-center"])},[t.showAvatar?(s(),o("div",be,[t.authors&&t.authors.length>0?(s(!0),o(f,{key:0},N(t.authors,c=>(s(),x(Y(w(c)),{key:"article-info__author-avatar__"+c["@id"],href:c.path,class:"block"},{default:h(()=>[r(D,{image:c.avatar,label:`${c.firstname} ${c.lastname}`,lazy:!1,style:{"--i":"1"}},null,8,["image","label"])]),_:2},1032,["href"]))),128)):n("",!0)])):n("",!0),a("div",ge,[a("div",{class:C(["desktop:mb-4 flex flex-col",{"desktop:flex-col! flex-row! flex-wrap":t.authors&&t.authors.length>1}])},[t.authorsLabel?(s(),o("span",ye,l(t.authorsLabel),1)):n("",!0),(s(!0),o(f,null,N(t.authors,(c,O)=>(s(),o("div",xe,[(s(),x(Y(w(c)),{class:"article-info__author-name text-header text-body-sm font-semibold underline",href:c.path},{default:h(()=>[B(l(c.firstname)+" "+l(c.lastname),1)]),_:2},1032,["href"])),O<(t.authors?.length??0)-1?(s(),o("span",ve,", ")):n("",!0)]))),256)),t.readingTime?(s(),o("span",we,l(t.readingTime)+" czytania",1)):n("",!0)],2),e(m)||e(d)||t.readingTime?(s(),o("div",{key:0,class:C(["desktop:flex-col-reverse desktop:items-start desktop:gap-4 flex flex-wrap items-center gap-1",{"desktop:!flex !hidden":e(m)}])},[a("div",ze,[e(d)?(s(),o("div",Ae,[i[1]||(i[1]=a("span",{class:"article-info__date-header text-basic-black text-body-sm desktop:block hidden font-semibold"},"Opublikowano:",-1)),a("time",{class:"article-info__date text-body-sm text-basic-content-weak whitespace-nowrap",datetime:e(y)(t.publishedAt).toISOString()},l(e(d)),9,$e)])):n("",!0),e(m)?(s(),o("div",Ce,[i[2]||(i[2]=a("span",{class:"article-info__date-header text-basic-black text-body-sm flex font-semibold"},[a("span",{class:"desktop:hidden"},"Aktualizacja:"),a("span",{class:"desktop:inline hidden"},"Ostatnia aktualizacja:")],-1)),a("time",{class:"article-info__date text-body-sm text-basic-content-weak whitespace-nowrap",datetime:e(y)(t.modifiedAt).toISOString()},l(e(m)),9,je)])):n("",!0),t.readingTime?(s(),o(f,{key:2},[i[3]||(i[3]=a("div",{class:"separator text-body-sm text-basic-content-weak desktop:hidden"},"â¢",-1)),a("span",Le,l(t.readingTime),1)],64)):n("",!0)])],2)):n("",!0)])],2)):n("",!0),e(m)?(s(),o(f,{key:1},[e(d)||t.readingTime?(s(),o("div",Te,[a("div",De,[e(d)?(s(),o("div",Se,[i[4]||(i[4]=a("span",{class:"article-info__date-header text-basic-black text-body-sm desktop:block hidden font-semibold"},"Opublikowano:",-1)),a("time",{class:"article-info__date text-body-sm text-basic-content-weak whitespace-nowrap",datetime:e(y)(t.publishedAt).toISOString()},l(e(d)),9,Pe)])):n("",!0),t.readingTime?(s(),o(f,{key:1},[i[5]||(i[5]=a("div",{class:"separator text-body-sm text-basic-content-weak desktop:hidden"},"â¢",-1)),a("span",Re,l(t.readingTime),1)],64)):n("",!0),e(m)?(s(),o(f,{key:2},[i[7]||(i[7]=a("div",{class:"separator text-body-sm text-basic-content-weak desktop:hidden hidden min-[360px]:block"}," ⢠",-1)),a("div",Ee,[i[6]||(i[6]=a("span",{class:"article-info__date-header text-basic-black text-body-sm flex font-semibold"},[a("span",{class:"desktop:hidden"},"Aktualizacja:"),a("span",{class:"desktop:inline hidden"},"Ostatnia aktualizacja:")],-1)),a("time",{class:"article-info__date text-body-sm text-basic-content-weak whitespace-nowrap",datetime:e(y)(t.modifiedAt).toISOString()},l(e(m)),9,Oe)])],64)):n("",!0)])])):n("",!0)],64)):n("",!0),r(b,{class:"article-info__share-group desktop:order-1 desktop:!flex desktop:w-auto order-3 !hidden w-full flex-wrap gap-2"}),t.showComments?(s(),o("div",Ie,[a("span",Me,l(e(p)),1),a("div",Ne,[r(R,null,{fallback:h(()=>[r(P,{class:"desktop:w-37 h-10 w-14.5 max-w-full rounded-full"})]),default:h(()=>[r(S,{color:"secondary",size:"md",class:"relative",onClick:i[0]||(i[0]=async()=>await("navigateTo"in u?u.navigateTo:e(ee))(e(_).pathname+"/komentarze")),rel:"nofollow ugc","hydrate-on-idle":""},{default:h(()=>[r(z,{class:"size-4",name:"zero:chat-bubble"}),B(" "+l(t.commentsCount)+" ",1),a("span",Be,l(e(L)),1)]),_:1})]),_:1}),r(E,{color:"secondary",size:"md",class:"desktop:!hidden max-w-10",onClick:T},{default:h(()=>[r(z,{name:"zero:share-2"})]),_:1})])])):n("",!0)],2)}}}),Ze=Object.assign(ae(Ve,[["__scopeId","data-v-ec4791d9"]]),{__name:"CardArticleAuthor"}),He=V(()=>Z(()=>import("./D689ipVS.js"),__vite__mapDeps([0]),import.meta.url).then(t=>t.default||t)),Ye=V(()=>Z(()=>import("./BCY1iDzE.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(t=>t.default||t)),qe={class:"live mobile:lock-mobile ua-container py-4"},Fe={key:0},Ue={key:1,class:"live__header flex flex-col gap-2 py-8"},Je={key:0},Ge={class:"live__content desktop:grid desktop:grid-cols-12 gap-5 pb-10"},Ke={key:0,class:"col-span-2"},Qe={class:"sticky top-2 pt-8"},We={class:"desktop:pr-5 desktop:pt-0 col-span-7 pt-5"},Xe={key:0,class:"live__content__header text-heading-md pb-8 font-semibold"},et={class:"col-span-3"},tt={class:"sticky top-[calc(var(--header-height,0px)-0.875rem)] pt-2"},st={class:"desktop:grid desktop:grid-cols-12"},at={key:0,class:"col-span-3 pt-14 pb-10"},ot={class:"sticky top-[calc(var(--header-height,0px)-1rem)] pt-4"},G="Puls wydarzeÅ i szybkie fakty - Zero.pl",K=3,At=Q({__name:"index",async setup(t){let _,d;const m=M(),{data:p}=([_,d]=q(()=>pe()),_=await _,d(),_);if(!p.value)throw F({statusCode:404,statusMessage:"Live category not found."});const j=$(()=>p.value?.id??0),{posts:v,fetchMore:L,fetchPending:T,canFetchMore:w}=([_,d]=q(()=>_e(j,{withVotes:!0,autoReconnect:!1})),_=await _,d(),_);if(!v.value?.length)throw F({statusCode:404,statusMessage:"No live posts in category."});oe({title:G,description:"JesteÅmy w centrum wydarzeÅ. Czysty konkret minuta po minucie. Zobacz, co wÅaÅnie teraz dzieje siÄ w kraju i na Åwiecie.",ogTitle:"Puls wydarzeÅ i szybkie fakty - Zero.pl",ogDescription:"JesteÅmy w centrum wydarzeÅ. Czysty konkret minuta po minucie. Zobacz, co wÅaÅnie teraz dzieje siÄ w kraju i na Åwiecie.",ogType:"article",articlePublishedTime:p.value.createdAt,articleModifiedTime:p.value.updatedAt,ogImage:"https://cdn.zero.pl/images/zero-og.png"}),fe({title:G,sections:["Na żywo"],authors:["Redakcja Zero.pl"]});const{getAdSlotProps:u}=ke(),i=U("isLoadedPage"),D=U("isNavChanging");return ne(()=>{D?.changeIsNavChanging?.(!1),i?.changeIsLoadedPage?.(!0)}),(b,z)=>{const S=ie,P=Ze,R=ce,E=He,c=me,O=Ye;return s(),o("div",qe,[e(p)&&e(v)?.length?(s(),o(f,{key:0},[b.$device.isDesktop?(s(),o("div",Fe,[r(e(g),{slot:"live_category/x01"})])):n("",!0),b.$device.isDesktop?(s(),o("header",Ue,[r(S,{items:[{label:"Na żywo",href:e(m).href},{label:e(y)(e(p).createdAt).format("DD.MM.YYYY")}]},null,8,["items"]),a("h1",null,l(e(J)(e(p).title)),1),e(p).description?(s(),o("p",Je,l(e(J)(e(ue)(e(p).description))),1)):n("",!0)])):n("",!0),a("div",Ge,[b.$device.isDesktop?(s(),o("div",Ke,[r(P,{authors:[{"@id":"","@type":"User",firstname:"Redakcja",lastname:"Zero.pl",email:"[email protected]",position:"",contact_data:[],highlight:!1,description:"",custom_fields:{},path:"/redakcja",avatar:"/logo.png"}],"show-comments":!1}),a("div",Qe,[r(e(g),{slot:"live_category_side/x70","hide-wrapped-label-bottom":!0,"refresh-interval":30})])])):n("",!0),a("div",We,[b.$device.isDesktop?(s(),o("h2",Xe," Relacja na żywo ")):n("",!0),(s(!0),o(f,null,N(e(v),(k,A)=>(s(),o(f,{key:k.id},[r(R,{post:k},null,8,["post"]),A===0||A>1&&A%K===0?(s(),x(e(g),I({class:"mb-4",key:`livePostContentAdRectangle_${A}`,"force-full":""},{ref_for:!0},e(u)({device:"mobile",format:"Rectangle",type:"relacja_live"},0,A),{"refresh-interval":30}),null,16)):n("",!0)],64))),128)),r(E,{pending:e(T),"can-fetch-more":e(w),onLoad:e(L)}
2,null,8,["pending","can-fetch-more","onLoad"]),e(w)?n("",!0):(s(),x(c,{key:1},{"time-relative":h(()=>[...z[0]||(z[0]=[B("Start relacji",-1)])]),_:1}))]),a("div",et,[a("div",tt,[r(e(g),{class:"sticky top-16",slot:"live_category_side/x51","refresh-interval":30,"hide-wrapped-label-bottom":!0})])])]),a("div",st,[r(O,{class:"desktop:pr-5 col-span-9",query:{cat:"1,50"}},{"after-post":h(({index:k})=>[k===2||k>2&&(k+1)%K===0?(s(),o(f,{key:0},[k%2===0?(s(),x(e(g),I({key:0,"force-full":""},e(u)({device:"mobile",format:"Halfpage",type:"kategoria_relacja_live"},0,k)),null,16)):(s(),x(e(g),I({key:1,"force-full":""},e(u)({device:"mobile",format:"Rectangle",type:"kategoria_relacja_live"},0,k)),null,16))],64)):n("",!0)]),_:1}),b.$device.isDesktop?(s(),o("div",at,[a("div",ot,[r(e(g),{slot:"live_category_side/x52"})])])):n("",!0)])],64)):n("",!0)])}}});export{At 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.