PageSourceSearch

https://collier.cz/_app/immutable/chunks/Dx8ztSA3.js

js collier.cz collected 2026-10-05 18:27:09 UTC 2,378 bytes, 1 lines download raw bytes

1import{D as e,E as t,F as n,H as r,J as i,K as a,O as o,Y as s,a as c,it as l,k as u,lt as d,p as f,q as p,rt as m,st as h,tt as g,w as _}from"./Ju_VlADS.js";import{i as v}from"./Dd2ATMXH.js";import"./xihTtKlq.js";import{i as y,n as b,r as x,t as S}from"./BSVK31Yu.js";import{n as C,r as w}from"./zGUhiNSi.js";import"./BYR3R0Z9.js";import"./IX-Hog39.js";import"./C1F4CMxx.js";import"./Bp8Ym5C6.js";import"./DwS6Mukv.js";import"./axXWB8lF.js";import"./BXplG83O.js";import"./BqLB5GK0.js";import"./CQ8xp5zx.js";import"./CBKspljK.js";import"./DyG-DMrG.js";import"./Di694hNA.js";function T(e,t){throw new v(e,t)}var E=e=>e.sort((e,t)=>new Date(t.published).getTime()-new Date(e.published).getTime()),D=async e=>{try{return E(await e(`/articles.json`).then(e=>{if(!e.ok)throw Error(`${e.status} error: ${e.statusText}`);return e.json()}).catch(e=>(console.error(e),[])))}catch(e){console.error(`Error loading articles: `,e),e instanceof Error?T(500,`Error loading articles: ${e.message}`):T(500,`Error loading articles`)}},O=u(`<div class="md:pt-4 lg:pt-8"><img class="rounded-3xl"/></div>`);function k(t,i){l(i,!0);let o=c(i,`alt`,3,``),s=c(i,`name`,3,`avatar`),u=g(()=>`/formatted-images/heroes/${s()}-square.webp`);y(t,{get query(){return x},children:h,$$slots:{default:(t,i)=>{let s=g(()=>i.matches),c=g(()=>b(n(s)));var l=O(),p=a(l);f(p,`loading`,`lazy`),f(p,`decoding`,`async`),d(l),r(()=>{f(p,`src`,n(u)),f(p,`alt`,o()),f(p,`height`,n(c).small?`400`:`300`),f(p,`width`,n(c).small?`400`:`300`)}),e(t,l)}}}),m()}var A=u(`<article class="grid grid-cols-1 sm:grid-cols-[2fr,1fr] sm:gap-2 lg:gap-4"><div><h2><a> </a></h2> <!> <div class="mb-2"> </div> <!></div> <!></article>`);function j(u,v){l(v,!0);let T=c(v,`category`,3,``),E=c(v,`tags`,19,()=>[``]);var D=A(),O=a(D),j=a(O),M=a(j),N=i(M,!0);d(j);var P=s(j,2);w(P,{get category(){return T()},get date(){return v.published}});var F=s(P,2),I=i(F,!0),L=s(F,2);C(L,{get tags(){return E()}}),d(O);var R=s(O,2),z=t=>{y(t,{get query(){return x},children:h,$$slots:{default:(t,r)=>{let i=g(()=>r.matches),a=g(()=>b(n(i)));var s=o(),c=p(s),l=e=>{k(e,{get name(){return v.heroImage}})},u=e=>{S(e,{get name(){return v.heroImage},hero:!0})};_(c,e=>{n(a).small?e(l):e(u,-1)}),e(t,s)}}})};_(R,e=>{v.heroImage&&e(z)}),d(D),r(()=>{f(M,`href`,`/articles/${v.slug??``}/`),t(N,v.title),t(I,v.description)}),e(u,D),m()}export{D as n,T as r,j as t};

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.