1import{a as D}from"./chunk-LNIJ2HUA.js";import"./chunk-J3XPSEKY.js";import"./chunk-NJ52MWOP.js";import"./chunk-4BUZVP2S.js";import"./chunk-X4SHYDUW.js";import"./chunk-LZ4IU7MX.js";import"./chunk-K5MOEJHJ.js";import"./chunk-DMOUHCSB.js";import"./chunk-XOCNTRU3.js";import"./chunk-VEN27BFE.js";import"./chunk-4YL5A6AE.js";import"./chunk-RPOZN3D3.js";import{a as B}from"./chunk-NWUPVDF4.js";import"./chunk-XV5FY7WU.js";import"./chunk-EH3ZA36I.js";import"./chunk-S5HQIT7E.js";import"./chunk-GD7JF4J3.js";import"./chunk-Y3MPSEMC.js";import{a as P}from"./chunk-JB47OGZK.js";import"./chunk-YZUIGZAI.js";import{d as S,m as T}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{a as v}from"./chunk-ZUSG72XP.js";import"./chunk-HJWJPZ5W.js";import{c as M}from"./chunk-LQY2VBIU.js";import"./chunk-WRBQWUEI.js";import{k as y}from"./chunk-LRSFZQSP.js";import{Ab as g,Ac as s,Bb as f,Cb as a,Pb as C,Ra as l,Z as o,eb as m,m as c,qa as p,sb as d,sc as b,sd as w,tc as h,ub as u,zb as r}from"./chunk-IXJZIWF6.js";import"./chunk-IZQOVDKO.js";import"./chunk-6IZLXKZM.js";function A(i,_){i&1&&a(0,"nbm-course-access-code",1),i&2&&r("productPage",!0)}function x(i,_){if(i&1&&a(0,"nbm-webinar-page-display",2),i&2){let e=C();r("webinar",e.details)}}var R=(()=>{class i{get details(){return this.webinar()}constructor(){this.route=o(y),this.googleTagManagerService=o(M),this.jsonLdService=o(v),this.webinar=w(this.route.data.pipe(c(e=>e.webinar)),{requireSync:!0}),this.requiresAccessCode=s(()=>{let e=this.webinar();return e?"locked"in e:!1}),this.metaDescription=s(()=>{let e=this.webinar();return e?"locked"in e?"NB Medical presents our bespoke course":`NB Medical presents our ${e.name}. Available for free`:""}),p(()=>{let e=this.webinar();e&&(this.googleTagManagerService.sendDetailView(e,S.Webinars),"locked"in e||this.jsonLdService.insertSchema({"@context":"http://schema.org/","@type":"Course",name:e.name,image:"https://www.nbmedical.com/assets/img/logo.png",description:e.plainSummary,provider:{"@type":"Organization",name:"NB Medical Education",url:"https://www.nbmedical.com"},hasCourseInstance:[{"@type":"CourseInstance",courseMode:["distance learning","Online"],offers:{"@type":"Offer",price:0,priceCurrency:"GBP"}}]},"webinar"))})}static{this.\u0275fac=function(n){return new(n||i)}}static{this.\u0275cmp=m({type:i,selectors:[["nbm-clinics-page"]],decls:4,vars:9,consts:[["titleTextClass","text-white",3,"title","titleBgClass","description","fullWidth","noBottomMargin","hideTitle"],[3,"productPage"],[3,"webinar"]],template:function(n,t){n&1&&(g(0,"nbm-site-page",0),b(1,"contentTypeSlug"),d(2,A,1,1,"nbm-course-access-code",1)(3,x,1,1,"nbm-webinar-page-display",2),f()),n&2&&(r("title",t.details==null?null:t.details.name)("titleBgClass","bg-gradient bg-"+h(1,7,t.details))("description",t.metaDescription())("fullWidth",!0)("noBottomMargin",!0)("hideTitle",!0),l(2),u(t.requiresAccessCode()?2:3))},dependencies:[T,B,D,P],encapsulation:2})}}return i})();export{R as ClinicsPageComponent};
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.