PageSourceSearch

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

js ewn.co.za collected 2026-10-02 02:32:46 UTC 1,690 bytes, 1 lines download raw bytes

1import{_ as N}from"./CI-PKlKp.js";import{i as V,y as S,c as o,A as s,n as e,B as a,F as l,l as k,w as $,m as x,U as E,o as t,b as g,a as O,N as f,O as F,f as H,P,Q as G,h as Q}from"./CBZx7rdy.js";import{_ as j}from"./DTQ3aOFE.js";import{_ as q}from"./BXrdiHdf.js";import{_ as D}from"./BO2MJVnM.js";import{u as I}from"./B5UFgdjn.js";import"./DTmifBnS.js";const J=P(G),K={class:"w-full mt-4"},R={key:2,class:"space-y-4 lg:p-0"},W={class:"grid place-items-center -mx-spacing-m"},X={key:3,class:"grid place-items-center"},re=V({__name:"latest",async setup(Y){let r,m;const{initialLoading:y,initialError:h,error:A,loading:p,heroTeaser:i,teasers:M,loadMore:d,hasMore:T}=([r,m]=S(()=>I()),r=await r,m(),r);return(n,u)=>{const w=N,C=Q,B=j,L=x,U=q,b=J,v=D,z=E;return t(),o("div",K,[e(y)?(t(),s(w,{key:0})):e(h)||e(A)?(t(),s(C,{key:1})):(t(),o("div",R,[e(i)?(t(),s(B,{key:0,class:"lg:block hidden",teaser:e(i)},null,8,["teaser"])):a("",!0),e(i)?(t(),s(L,{key:1,teaser:e(i),class:"lg:hidden"},null,8,["teaser"])):a("",!0),(t(!0),o(l,null,k(e(M),(_,c)=>(t(),o(l,{key:c},[g(U,{teaser:_},null,8,["teaser"]),O("div",W,[!(c%3)&&c!=0?(t(),s(b,{key:0,"slot-id":("AdUnits"in n?n.AdUnits:e(f))[("MenuTab"in n?n.MenuTab:e(F)).Latest][0].id,pos:[Math.ceil(c/3).toString()],class:"col-span-2 grid place-items-center -mx-4",sizes:("AdUnits"in n?n.AdUnits:e(f)).takeOver[0].size},null,8,["slot-id","pos","sizes"])):a("",!0)])],64))),128)),e(p)?(t(),o(l,{key:2},k(3,_=>g(v,{key:_,type:"horizontal"})),64)):a("",!0),e(T)?(t(),o("div",X,[e(d)?(t(),s(z,{key:0,loading:e(p),onClick:e(d)},{default:$(()=>u[0]||(u[0]=[H(" Show More ")])),_:1},8,["loading","onClick"])):a("",!0)])):a("",!0)]))])}}});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.