PageSourceSearch

https://www.ewn.co.za/_nuxt/G_hdBzPh.js

js ewn.co.za collected 2026-10-02 02:33:06 UTC 2,944 bytes, 1 lines download raw bytes

1import{i as B,a1 as V,j as C,aj as z,aK as W,s as $,a9 as j,Z as M,c as n,A,B as o,n as e,a as i,b as _,w,I as O,o as a,aL as Q,t as g,aN as R,a4 as S,P as D,N as P,Q as G,h as K}from"./CBZx7rdy.js";import{p as Z,_ as q}from"./BZzmG6MK.js";import{_ as F}from"./BxuJWLtB.js";import{u as H,b as J,a as X}from"./DeRQV9iI.js";import"./DB0RT30T.js";import"./DNPHahWu.js";import"./DYRToSYT.js";const Y=D(G),ee={key:1,class:"w-full mt-4"},se={class:"lg:grid grid-cols-12 gap-5"},te={class:"col-span-7 lg:sticky lg:top-4 lg:h-fit"},ae={class:"mt-3"},ne={class:"flex flex-col gap-1"},oe={key:0,class:"lg:px-4 lg:py-1 px-[10px] bg-error/90 rounded w-fit text-white font-bold mb-1 block text-xs lg:text-base backdrop-blur-xl"},ie={key:1,class:"lg:px-4 lg:py-1 px-[10px] bg-surface-01/90 w-fit rounded text-white text-xs lg:text-base font-bold mb-1 block backdrop-blur-xl"},le={key:2,class:"text-3xl tracking-tighter font-extrabold"},re={key:3,class:"text-paragraph-md"},ce={key:0,class:"mt-3"},de={class:"col-span-5"},be=B({__name:"[livestream]",setup(ue){const h=V(),s=C(null),{ewnTVLanguage:T}=z(),L=H("cursor",void 0),{loading:E,result:l,error:U}=J(),{result:I}=X({first:10,language:W[T.value],cursor:L.value}),v=()=>{var c,d,u,m;const t=h.params.livestream,r=(m=(u=(d=(c=l==null?void 0:l.value)==null?void 0:c.livestreamAsset)==null?void 0:d.livestreamAssetList)==null?void 0:u.items)==null?void 0:m.find(p=>p.livestreamAsset._url.includes(t));return s.value=(r==null?void 0:r.livestreamAsset)??null};return $(v),j(()=>{Z()}),M(()=>h.params.livestream,v,{immediate:!0}),(t,r)=>{var f,b;const c=K,d=S,u=q,m=Y,p=O,N=F;return a(),n("div",null,[e(U)?(a(),A(c,{key:0})):o("",!0),e(E)?o("",!0):(a(),n("div",ee,[i("div",se,[i("div",te,[_(p,null,{default:w(()=>[e(s)?(a(),A(u,{key:0,data:{duration:e(s).duration||0,image:e(s).headerImage,mediaId:e(s).mediaId,title:e(s).headline,mediaType:e(s).__typename,autoplay:!1,isLiveStream:!0,playbackToken:e(s).playbackToken,publishedAt:e(s).publishedAt}},{default:w(()=>{var x,y,k;return[i("header",null,[i("div",ae,[i("div",ne,[("usePublishedInPast"in t?t.usePublishedInPast:e(Q))((x=e(s).publishedAt)==null?void 0:x.iso8601)?(a(),n("span",oe," Live ")):(a(),n("span",ie,g(((y=e(s).publishedAt)==null?void 0:y.iso8601)&&("usePreciseTimeUntil"in t?t.usePreciseTimeUntil:e(R))((k=e(s).publishedAt)==null?void 0:k.iso8601)),1)),e(s).headline?(a(),n("h1",le,g(e(s).headline),1)):o("",!0),e(s).text?(a(),n("p",re,g(e(s).text),1)):o("",!0)])]),e(s).tags?(a(),n("div",ce,[_(d,{tags:e(s).tags,max:
15},null,8,["tags"])])):o("",!0)])]}),_:1},8,["data"])):o("",!0),_(m,{"slot-id":("AdUnits"in t?t.AdUnits:e(P)).tv[0].id,sizes:("AdUnits"in t?t.AdUnits:e(P)).tv[0].size,class:"mt-3"},null,8,["slot-id","sizes"])]),_:1})]),i("div",de,[_(N,{livestreams:(b=(f=e(l))==null?void 0:f.livestreamAsset)==null?void 0:b.livestreamAssetList,"ewn-tv-items":e(I)||[]},null,8,["livestreams","ewn-tv-items"])])])]))])}}});export{be 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.