PageSourceSearch

https://www.urbanekuensteruhr.de/chunk-GBRTDMI2.js

js urbanekuensteruhr.de collected 2026-10-02 12:37:56 UTC 2,372 bytes, 2 lines download raw bytes

1import{a as g}from"./chunk-VFHYWK2Q.js";import{b as L}from"./chunk-KYU7VZRO.js";import{a as u}from"./chunk-RHUJMWSY.js";import{T as w,U as C,V as G,W as x}from"./chunk-FLKPQEL7.js";import{a as m,b as d}from"./chunk-KUN5WTS7.js";import"./chunk-7SY5SJP4.js";import{O as R,Z as v}from"./chunk-YNKQPWSP.js";import"./chunk-4EY2W66C.js";import"./chunk-ZR73OBID.js";import"./chunk-6R4CBI6E.js";import"./chunk-ZEH2WMTB.js";import"./chunk-3H2GI3MM.js";import{L as M,aa as l,na as a,t as i,y as A}from"./chunk-N4XFLIUN.js";import{a as h,b as f}from"./chunk-DIH54OSL.js";var N=r=>a(w).fetch({variables:{site:r.data.site}}).pipe(d(),m(),l(e=>i(e.data??null)),M(e=>(console.error("Could not resolve the section navigation",e),i(null)))),S=(r,e)=>{let t=a(v);return a(C).fetch({variables:{site:r.data.site}}).pipe(d(),m(),l(o=>o.data?.entry?i(o.data):u(t,e.url)))},q=(r,e)=>{let t=a(v),o=a(g),n=null;try{if(n=r.queryParamMap.has("year")?L.fromFormat(r.queryParamMap.get("year"),"yyyy"):null,!n?.isValid)throw o.addError({name:"Not a valid year",message:"The parameter year is not a valid year"}),new Error("Not a valid year")}catch(c){console.error(c);let y=t.parseUrl(e.url);return y.queryParams=f(h({},y.queryParams),{errorCode:422}),t.navigateByUrl(y.toString(),{skipLocationChange:!0})}let P=n.startOf("year").toFormat("yyyy-MM-dd"),p=n.endOf("year").toFormat("yyyy-MM-dd"),s=["and",`>= ${P}`,`<= ${p}`];return console.log(s),a(G).fetch({variables:{site:r.data.site,publicationDateRange:s}}).pipe(d(),m(),l(c=>c.data?.entry?i(c.data):u(t,e.url)))},Q=async(r,e)=>{let t=r.queryParamMap.has("year"),o=a(v),n=a(g);if(t)return!0;{let p=((await A(a(x).fetch({variables:{site:r.data.site}}))).data?.entry).publicationDate,s=o.parseUrl(e.url);return p?(s.queryParams=f(h({},s.queryParams),{year:p}),new R(s)):u(o,e.url)}};var b=[{path:"",loadComponent:()=>import("./chunk-MGV3SOSG.js"),canActivate:[Q],resolve:{page:q},runGuardsAndResolvers:"pathParamsOrQueryParamsChange",children:[{path:":year/:slug",loadComponent:()=>import("./chunk-ZO4QQIXO.js")}]}],z=[{path:"",resolve:{nav:N},children:[{path:"archiv",children:b},{path:"archive",children:b},{path:"",loadComponent:()=>import("./chunk-KUHWYEKN.js"),resolve:{page:S},children:[{path:":slug",loadComponent:()=>import("./chunk-ZO4QQIXO.js")}]}]}];export{z as default,b as pressArchiveRoutes};
2//# sourceMappingURL=chunk-GBRTDMI2.js.map

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.