1import{a as F}from"./chunk-DV6M6OWY.js";import{a as k}from"./chunk-KTC6MUEY.js";import{a as R}from"./chunk-WWIUPKBP.js";import{a as E}from"./chunk-ZVLEUJDW.js";import"./chunk-PVCBSVIW.js";import"./chunk-HCNUKTEI.js";import{a as N}from"./chunk-OSOV3FBG.js";import"./chunk-3OIZFZLX.js";import"./chunk-JB47OGZK.js";import{a as G}from"./chunk-2RZQ4PAU.js";import"./chunk-YZUIGZAI.js";import"./chunk-C23CQY3D.js";import{m as L}from"./chunk-S33CAPPZ.js";import"./chunk-2K2V3AF7.js";import"./chunk-C6TWE4FZ.js";import"./chunk-Q2YLND27.js";import"./chunk-NU4ZUM7K.js";import"./chunk-NLZC42V6.js";import"./chunk-ZBQW7NJG.js";import"./chunk-ZUSG72XP.js";import"./chunk-HJWJPZ5W.js";import{c as M}from"./chunk-LQY2VBIU.js";import"./chunk-WRBQWUEI.js";import{k as V,n as P}from"./chunk-LRSFZQSP.js";import{Ab as r,Ac as f,Bb as s,Cb as b,Lb as D,Nb as x,P as O,Pb as p,Ra as l,Z as m,ac as c,da as g,ea as C,eb as y,m as w,sb as h,sd as _,ub as v,xb as T,yb as S,zb as d}from"./chunk-IXJZIWF6.js";import"./chunk-IZQOVDKO.js";import"./chunk-6IZLXKZM.js";var B=()=>m(R).getOnDemandCourses();var A=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=y({type:i,selectors:[["nbm-seo-courses"]],decls:10,vars:1,consts:[[1,"py-lg-5","p-3"],[3,"title"]],template:function(t,o){t&1&&(r(0,"div",0)(1,"nbm-content-container",1)(2,"p"),c(3," NB Medical courses deliver high-quality medical education for healthcare professionals across primary care, combining expert teaching with practical, clinically focused learning. Designed specifically for busy healthcare professionals, these courses cover the topics that matter most in everyday practice, helping healthcare professionals stay up to date with the latest guidance, evidence and best practice. "),s(),r(4,"p"),c(5," Available in both live and on demand formats, NB Medical courses offer flexible learning opportunities that fit around demanding clinical schedules. From large scale national events to focused topic based updates, every course is built around real clinical scenarios and practical patient management. Sessions are delivered by experienced GP and nurse educators who understand the challenges faced in modern primary care and present information in a clear, engaging and accessible way. "),s(),r(6,"p"),c(7," NB Medical's course portfolio includes the Hot Topics GP update course as well as specialty-focused education, and multidisciplinary learning suitable for GPs, nurses, pharmacists, ACPs and wider healthcare teams. Interactive learning features, including polling, audience participation and question and answer sessions, help make each course engaging and relevant to current practice. "),s(),r(8,"p"),c(9," Whether you are looking to build confidence in a specific area, broaden your clinical knowledge, support appraisal and revalidation, or simply stay current with evolving clinical guidance, NB Medical courses provide trusted, evidence-based education that supports high standards of patient care across primary care settings. "),s()()()),t&2&&(l(),d("title","NB Medical Online Courses"))},dependencies:[G],encapsulation:2})}}return i})();var H=(i,a)=>a.id;function Q(i,a){if(i&1&&(r(0,"div",11),b(1,"nbm-online-courses-card",12),s()),i&2){let e=a.$implicit,t=a.$index;l(),d("webinar",e)("index",t)}}function U(i,a){i&1&&(r(0,"div",2)(1,"div",10),c(2,"No online courses match your filters"),s()())}function z(i,a){if(i&1&&(r(0,"div",9),T(1,Q,2,2,"div",11,H,!1,U,3,0,"div",2),s()),i&2){let e=p(2);l(),S(e.displayedCourses())}}function J(i,a){i&1&&(r(0,"div",10),c(1,"Sorry but there are no online courses available at the moment."),s())}function K(i,a){if(i&1){let e=D();r(0,"div",1)(1,"div",2)(2,"div",3)(3,"h3",4),c(4,"Filters"),s(),r(5,"div",5)(6,"div",6)(7,"nbm-dropdown-filter",7),x("filterValue",function(o){g(e);let n=p();return C(n.assignSpeciality(o))})("resetValue",function(){g(e);let o=p();return C(o.assignSpeciality(void 0))}),s()(),r(8,"div",6)(9,"nbm-dropdown-filter",8),x("filterValue",function(o){g(e);let n=p();return C(n.assignDuration(o))})("resetValue",function(){g(e);let o=p();return C(o.assignDuration(void 0))}),s()()()()()(),h(10,z,4,1,"div",9)(11,J,2,0,"div",10)}if(i&2){let e,t=p();l(7),d("options",t.specialityOptions())("currentValue",t.speciality()),l(2),d("options",t.durationOptions)("currentValue",(e=t.duration())==null?null:e.toString()),l(),v(a.length?10:11)}}function X(i,a){i&1&&b(0,"nbm-seo-courses")}var W=(()=>{class i{constructor(){this.router=m(P),this.route=m(V),this.googleTagManagerService=m(M),this.durationOptions=[{label:"Half Day",criteria:3},{label:"Full Day",criteria:6}
1],this.params={speciality:void 0,duration:void 0},this.routeParams=_(this.route.params),this.routeQueryParams=_(this.route.queryParams),this.courses=_(this.route.data.pipe(w(e=>e.courses),O(e=>this.googleTagManagerService.sendImpressionView(e)))),this.speciality=f(()=>this.routeParams()?.contentType),this.duration=f(()=>{let e=this.routeQueryParams()?.duration;return e?Number(e):void 0}),this.specialityOptions=f(()=>{let e=this.courses();if(!e)return[];let t=[];for(let o of e)for(let n of o.contentTypes)t.some(u=>u.criteria==n.slug)||t.push({label:n.name,criteria:n.slug});return t.sort((o,n)=>o.label.localeCompare(n.label))}),this.specialityName=f(()=>{let e=this.speciality(),t=this.courses();return!e||!t?void 0:t.find(n=>n.contentTypes.some(u=>u.slug===e))?.contentTypes.find(n=>n.slug===e)?.name}),this.displayedCourses=f(()=>{let e=this.courses();if(!e)return[];let t=this.speciality(),o=this.duration(),n=e.slice();return t&&(n=n.filter(u=>u.contentTypes.some($=>$.slug===t))),o&&(n=n.filter(u=>u.credits===o)),n})}get breadcrumbTitle(){return this.specialityName()??void 0}get title(){return this.breadcrumbTitle?`${this.breadcrumbTitle} GP CPD Online Courses & GP Online Training`:"GP CPD Online Courses & GP Online Training"}assignSpeciality(e){this.params.speciality=e;let t=e?["speciality",this.params.speciality]:[];this.router.navigate(["/courses",...t],{queryParams:{duration:this.params.duration}})}assignDuration(e){this.params.duration=e===void 0?void 0:parseFloat(e);let t=this.params.speciality?["speciality",this.params.speciality]:[];this.router.navigate(["/courses",...t],{queryParams:{duration:this.params.duration}})}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=y({type:i,selectors:[["nbm-legacy-online-courses"]],decls:3,vars:4,consts:[[3,"breadcrumbTitle","title"],[1,"row"],[1,"col"],[1,"bg-grey","border","p-3","mb-3","rounded-4"],[1,"mb-0"],[1,"d-flex","flex-wrap"],[1,"mt-3","me-3","d-inline"],["label","Speciality","filterType","speciality",3,"filterValue","resetValue","options","currentValue"],["label","Duration","filterType","duration",3,"filterValue","resetValue","options","currentValue"],[1,"row","mb-5"],[1,"alert","alert-info"],[1,"col-lg-6","col-xl-4","mb-3"],[3,"webinar","index"]],template:function(t,o){if(t&1&&(r(0,"nbm-site-page",0),h(1,K,12,5),h(2,X,1,0,"nbm-seo-courses"),s()),t&2){let n;d("breadcrumbTitle",o.breadcrumbTitle)("title",o.title),l(),v((n=o.courses())?1:-1,n),l(),v(o.speciality()?-1:2)}},dependencies:[L,F,E,A],encapsulation:2})}}return i})();var q=k("/courses",N.OnlineCourse);var I=W,Y=B,be=[{path:"",children:[{path:"",data:{title:"Online Courses",metaTitle:"GP Online Courses | Online GP CPD Courses by NB Medical",description:"GP online courses from NB Medical. Remote access and automatic upload of GP CPD online",list:"Online Courses"},children:[{path:"",data:{list:"Online Courses",isLive:!0},resolve:{courses:Y},runGuardsAndResolvers:"always",children:[{path:"",component:I,data:{list:"Online Courses",isLive:!0},runGuardsAndResolvers:"always"},{path:"speciality/:contentType",component:I,data:{list:"Online Courses",isLive:!0,placeholder:!0},runGuardsAndResolvers:"always"}]},{path:":slug",resolve:{webinar:q},data:{title:"Online Courses",list:"Online Courses",isLive:!0},runGuardsAndResolvers:"always",children:[{path:"",loadComponent:()=>import("./chunk-KTU5R3TX.js").then(i=>i.OnlineCoursesPageComponent),data:{list:"Online Courses"}},{path:"group-booking",data:{title:"Group Booking"},loadChildren:()=>import("./chunk-KZ62ZWQB.js").then(i=>i.routes)}]}]}]}];export{be 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.