1import{a as r}from"./chunk-SUARDUVF.js";import"./chunk-EH3ZA36I.js";import"./chunk-D32A7DK2.js";import"./chunk-YZUIGZAI.js";import"./chunk-WRBQWUEI.js";import{m as c,n as l}from"./chunk-LRSFZQSP.js";import{Z as o,l as i,m}from"./chunk-IXJZIWF6.js";import"./chunk-IZQOVDKO.js";import{g as p}from"./chunk-6IZLXKZM.js";var d=e=>p(null,null,function*(){let t=o(r),a=o(l),s=e.paramMap.get("speciality")||"",g=parseInt(e.queryParamMap.get("page")||"1",10),n=yield i(t.getSummariesForSpeciality(s,g));if(n.count===0){yield a.navigate(["/blog"]);return}return n});var u=e=>p(null,null,function*(){let t=o(r),a=o(l),s=parseInt(e.paramMap.get("year")||"0",10),g=parseInt(e.queryParamMap.get("page")||"1",10),n=yield i(t.getSummariesForYear(s,g));if(n.count===0){yield a.navigate(["/blog"]);return}return n});var f=e=>{let t=o(r),a=e.queryParams.page||1;return t.getSummaries(a)};var v=e=>{let t=o(r),a=o(l);return t.getDetails(e.params.slug,e.queryParamMap.get("preview")).pipe(m(s=>s||new c(a.parseUrl("/blog"))))};var H=[{path:"",data:{title:"Blog",description:"Read the latest blog from NB Medical Education, the UK\u2019s leading supplier of GP Update and CPD courses for Healthcare Professionals"},children:[{path:"",loadComponent:()=>import("./chunk-3WLGDUMH.js").then(e=>e.BlogComponent),resolve:{blogs:f},data:{list:"Blog List"},runGuardsAndResolvers:"always"},{path:"year/:year",loadComponent:()=>import("./chunk-3WLGDUMH.js").then(e=>e.BlogComponent),resolve:{blogs:u},data:{placeholder:!0,list:"Blog List"},runGuardsAndResolvers:"always"},{path:"speciality/:speciality",loadComponent:()=>import("./chunk-3WLGDUMH.js").then(e=>e.BlogComponent),resolve:{blogs:d},data:{placeholder:!0,list:"Blog List"},runGuardsAndResolvers:"always"},{path:":slug",data:{placeholder:!0,list:"Blog"},loadComponent:()=>import("./chunk-EQEJAIXW.js").then(e=>e.BlogPageComponent),resolve:{blog:v},runGuardsAndResolvers:"always"}]}];export{H as routes};
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.