PageSourceSearch

https://nbmedical.com/chunk-FMPB67FY.js

js nbmedical.com collected 2026-10-02 07:02:10 UTC 4,290 bytes, 1 lines download raw bytes

1import{a as x}from"./chunk-53VQFLC6.js";import{a as _}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 E}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 B}from"./chunk-JB47OGZK.js";import"./chunk-YZUIGZAI.js";import{d as D,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 S}from"./chunk-ZUSG72XP.js";import"./chunk-HJWJPZ5W.js";import{c as M}from"./chunk-LQY2VBIU.js";import"./chunk-WRBQWUEI.js";import{k as P}from"./chunk-LRSFZQSP.js";import{Ab as g,Ac as y,Bb as f,Cb as a,Pb as b,Ra as m,Z as r,bd as C,eb as l,qa as p,sb as d,sc as h,sd as v,tc as w,ub as u,vd as s,zb as o}from"./chunk-IXJZIWF6.js";import"./chunk-IZQOVDKO.js";import"./chunk-6IZLXKZM.js";function W(n,A){n&1&&a(0,"nbm-course-access-code",1),n&2&&o("productPage",!0)}function L(n,A){if(n&1&&a(0,"nbm-webinar-page-display",2),n&2){let e=b();o("webinar",e.webinar())}}var K=(()=>{class n{constructor(){this.route=r(P),this.googleTagManagerService=r(M),this.jsonLdService=r(S),this.currencyPipe=new C("en-GB","GBP"),this.routeData=v(this.route.data),this.webinar=y(()=>this.routeData()?.webinar??null),p(()=>{let e=this.webinar();e&&(this.setJsonLdData(),this.googleTagManagerService.sendDetailView(e,D.Webinars))})}get minPrice(){let e=this.webinar(),t;
1return e?.variants.forEach(i=>{t===void 0&&(t=i.price),t>i.price&&(t=i.price)}),t}get maxPrice(){let e=this.webinar(),t;return e?.variants.forEach(i=>{t===void 0&&(t=i.price),t<i.price&&(t=i.price)}),t}setJsonLdData(){let e=this.webinar();!e||"locked"in e||this.jsonLdService.insertSchema(e.isLive?{"@context":"https://schema.org","@type":"EducationEvent",name:e.name,startDate:e.webinarStartDate,endDate:e.webinarEndDate,eventAttendanceMode:"https://schema.org/OnlineEventAttendanceMode",eventStatus:"https://schema.org/EventScheduled",location:{"@type":"VirtualLocation",url:`${s.publicUrl}/webinars/${e.slug}`},image:"https://www.nbmedical.com/assets/img/logo.webp",description:e.plainSummary,offers:{"@type":"Offer",url:`${s.publicUrl}/webinars/${e.slug}`,price:e.variants[0].price,priceCurrency:"GBP",availability:"https://schema.org/InStock",validFrom:e.availableFrom},organizer:{"@type":"Organization",name:"NB Medical",url:"https://www.nbmedical.com"}}:{"@context":"http://schema.org/","@type":"Course",name:e.name,image:"https://www.nbmedical.com/assets/img/logo.webp",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:this.maxPrice,priceCurrency:"GBP"}}]},"webinar")}get metaDescription(){let e=this.webinar();if(!e)return"";if("locked"in e)return"NB Medical presents our bespoke course";let t=e.contentTypes?.[0]?.slug,i=t?x[t]:void 0;return i||`NB Medical presents our ${e.name}. Available from ${this.currencyPipe.transform(this.minPrice)}`}get requiresAccessCode(){let e=this.webinar();return e?"locked"in e:!1}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=l({type:n,selectors:[["nbm-webinar-page"]],decls:4,vars:9,consts:[["titleTextClass","text-white",3,"title","titleBgClass","description","fullWidth","noBottomMargin","hideTitle"],[3,"productPage"],[3,"webinar"]],template:function(t,i){if(t&1&&(g(0,"nbm-site-page",0),h(1,"contentTypeSlug"),d(2,W,1,1,"nbm-course-access-code",1)(3,L,1,1,"nbm-webinar-page-display",2),f()),t&2){let c;o("title",(c=i.webinar())==null?null:c.name)("titleBgClass","bg-gradient bg-"+w(1,7,i.webinar()))("description",i.metaDescription)("fullWidth",!0)("noBottomMargin",!0)("hideTitle",!0),m(2),u(i.requiresAccessCode?2:3)}},dependencies:[T,E,_,B],encapsulation:2})}}return n})();export{K as WebinarPageComponent};

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.