PageSourceSearch

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

js nbmedical.com collected 2026-10-02 07:02:08 UTC 14,497 bytes, 1 lines download raw bytes

1import{a as we}from"./chunk-J3XPSEKY.js";import{b as ke}from"./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{a as fe,b as ye}from"./chunk-RPOZN3D3.js";import{a as be}from"./chunk-XV5FY7WU.js";import{a as D}from"./chunk-EH3ZA36I.js";import{a as he}from"./chunk-GD7JF4J3.js";import{b as ge}from"./chunk-UZ5DIOPB.js";import"./chunk-5TQ5JKNM.js";import"./chunk-OSOV3FBG.js";import{a as ue}from"./chunk-TDPCHFIO.js";import"./chunk-3OIZFZLX.js";import{a as _}from"./chunk-JB47OGZK.js";import"./chunk-YZUIGZAI.js";import"./chunk-C23CQY3D.js";import{c as ce,d as se,i as de,m as me}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 Z}from"./chunk-ZUSG72XP.js";import"./chunk-HJWJPZ5W.js";import{c as ee,g as te,h as oe,i as ie,j as ne,k as re,l as ae,la as pe,m as le}from"./chunk-LQY2VBIU.js";import"./chunk-WRBQWUEI.js";import{k as Y,o as C}from"./chunk-LRSFZQSP.js";import{$b as f,Ab as r,Ac as T,Bb as a,Cb as p,Dc as q,Ec as k,Lb as z,Na as W,Nb as J,Pb as u,Ra as n,Z as v,ac as d,bc as V,bd as Q,cc as B,da as R,dc as H,ea as j,eb as g,jc as K,kb as G,pa as U,pc as y,qa as $,sb as b,sc as c,sd as X,tc as s,ub as h,vd as x,wb as S,xb as P,yb as N,zb as l}from"./chunk-IXJZIWF6.js";import"./chunk-IZQOVDKO.js";import"./chunk-6IZLXKZM.js";var Be=(()=>{class o{constructor(){this.book=k(void 0)}static{this.\u0275fac=function(i){return new(i||o)}}static{this.\u0275cmp=g({type:o,selectors:[["nbm-included-in-book"]],inputs:{book:[1,"book"]},decls:13,vars:22,consts:[[3,"title","accentTypeSlug"],["perkType","book-perk",1,"g-col-12",3,"typeSlug"],["perkType","online-book-perk",1,"g-col-12",3,"typeSlug"],["perkType","kiss-summaries-perk",1,"g-col-12",3,"typeSlug"],["perkType","cpd-upload-perk",1,"g-col-12",3,"typeSlug"],["perkType","blog-access",1,"g-col-12",3,"typeSlug"]],template:function(i,t){i&1&&(r(0,"nbm-whats-included-wrapper",0),c(1,"contentTypeDisplay"),c(2,"contentTypeSlug"),p(3,"nbm-perk",1),c(4,"contentTypeSlug"),p(5,"nbm-perk",2),c(6,"contentTypeSlug"),p(7,"nbm-perk",3),c(8,"contentTypeSlug"),p(9,"nbm-perk",4),c(10,"contentTypeSlug"),p(11,"nbm-perk",5),c(12,"contentTypeSlug"),a()),i&2&&(l("title",K("What is included when you purchase the ",s(1,8,t.book())," Book?"))("accentTypeSlug",s(2,10,t.book())),n(3),l("typeSlug",s(4,12,t.book())),n(2),l("typeSlug",s(6,14,t.book())),n(2),l("typeSlug",s(8,16,t.book())),n(2),l("typeSlug",s(10,18,t.book())),n(2),l("typeSlug",s(12,20,t.book())))},dependencies:[fe,ye,_,ue],encapsulation:2})}}return o})();var Ce={"advanced-clinical-practice-update":"Receive a physical book and access to the ebook online to stay up to date with the latest developments in advanced clinical practice with practical teaching for primary care teams. Buy now for \xA375 or only \xA335 with an NB Plus subscription.",paediatrics:"Build confidence managing common paediatric presentations in primary care with practical, evidence-based learning. All the learning you need in one physical book. Buy now for \xA375 or only \xA335 with an NB Plus subscription.",obesity:"Improve your approach to obesity management with practical guidance on diagnosis, treatment and patient support, in one physical book with online ebook access. Buy now for \xA355 or only \xA335 with an NB Plus subscription.","hot-topics-gp-update":"Stay current with the latest clinical guidance and key updates for everyday general practice, with a physical book and access to the ebook online. Buy now for \xA3155 or only \xA335 with an NB Plus subscription.","womens-health":"Refresh your knowledge of common women\u2019s health issues with practical guidance for primary care consultations. All the learning you need in one physical book. Buy now for \xA375 or only \xA335 with an NB Plus subscription.","cardiology-and-ecg":"Improve your confidence interpreting ECGs and managing common cardiology presentations in primary care, with a physical book and online ebook access. Buy now for \xA375 or only \xA335 with an NB Plus subscription.","mens-health":"Update your knowledge of common men\u2019s health presentations with practical advice for primary care management, all in one physical book. Buy now for \xA355 or only \xA335 with an NB Plus subscription.",cancer:"Recognise red flags earlier and improve cancer diagnosis in primary care with practical, case-based learning. Receive a physical book and access to the ebook online. Buy now for \xA375 or only \xA335 with an NB Plus subscription.","urgent-care":"Develop a safer, more confident approach to urgent presentations commonly seen in primary care, with a physical book and access to the ebook online. Buy now for \xA3155 or only \xA335 with an NB Plus subscription.",diabetes:"Stay up to date with the latest guidance in diabetes care, treatment and patient management. All the learning you need in one physical book. Buy now for \xA375 or only \xA335 with an NB Plus subscription.","mental-health":"Enhance your confidence managing common mental health conditions in primary care consultations, with a physical book and online ebook access. Buy now for \xA355 or only \xA335 with an NB Plus subscription.",dermatology:"Improve your recognition and management of common skin conditions seen in general practice. Receive a physical book and access to the ebook online. Buy now for \xA375 or only \xA335 with an NB Plus subscription.","palliative-and-end-of-life-care":"Strengthen your approach to palliative and end of life care with practical guidance for compassionate patient support, all in one physical book. Only \xA335 with an NB Plus subscription.","abnormal-bloods":"Make sense of abnormal blood results commonly seen in clinic with practical, case-based learning. All the learning you need in one physical book. Buy now for \xA375 or only \xA335 with an NB Plus subscription.",nurse:"Practical, up-to-date education designed to support nurses managing patients in primary care, with a physical book and access to the ebook online. Buy now for \xA3130 or only \xA335 with an NB Plus subscription.","lifestyle-medicine":"Discover practical lifestyle medicine strategies to support prevention and long-term patient health, with a physical book and online ebook access. Only \xA335 with an NB Plus subscription."};var Se=o=>["/books",o],_e=(()=>{class o{constructor(){this.includeBottomMarginOnNotice=k(void 0),this.newerBook=k(void 0),this.hideNewerBookNotice=q()}onHideNewerBookNotice(){this.hideNewerBookNotice.emit()}static{this.\u0275fac=function(i){return new(i||o)}}static{this.\u0275cmp=g({type:o,selectors:[["nbm-newer-book-notice"]],inputs:{includeBottomMarginOnNotice:[1,"includeBottomMarginOnNotice"],newerBook:[1,"newerBook"]},outputs:{hideNewerBookNotice:"hideNewerBookNotice"},decls:14,vars:6,consts:[[1,"text-center","p-1"],[1,"d-flex","align-items-center","justify-content-center","notice","text-white","m-0","p-1","mx-auto","bg-release-date","newer-book-notice-header"],[1,"icon-exclamation-circle","icon-2x","me-2"],[1,"emphasis","mx-1"],[1,"mx-1"],[1,"d-flex","justify-content-center","text-center"],[3,"routerLink"]],template:function(i,t){i&1&&(r(0,"div",0)(1,"div",1),p(2,"span",2),r(3,"span",3),d(4,"NEW BOOK "),a(),r(5,"span",4),d(6,"Coming Soon"),a()()(),r(7,"div",5)(8,"p"),d(9),c(10,"dayjsDate"),p(11,"br"),r(12,"a",6),d(13," Click here for details"),a()()()),i&2&&(n(9),B(" A new version will be released on ",s(10,2,t.newerBook().releaseDate)),n(3),l("routerLink",y(4,Se,t.newerBook().slug)))},dependencies:[C,pe],styles:[".newer-book-notice-header[_ngcontent-%COMP%]{font-size:1.25rem}.newer-book-notice[_ngcontent-%COMP%]{font-size:1rem}
1.close[_ngcontent-%COMP%]{font-size:1.875rem}.notice[_ngcontent-%COMP%]{font-weight:500}.emphasis[_ngcontent-%COMP%]{font-weight:700;font-size:1.5rem}.border[_ngcontent-%COMP%]{border-width:3px!important;border-radius:1em!important}"]})}}return o})();var Pe=o=>[o],Ne=o=>["/books/",o,"preview"];function Te(o,m){if(o&1&&p(0,"nbm-newer-book-notice",7),o&2){let e=u();l("newerBook",e.newerBook())}}function xe(o,m){if(o&1&&(r(0,"div",12),p(1,"i",24),r(2,"h4"),d(3,"This is a pre-order item"),a(),p(4,"nbm-release-date",4),a()),o&2){let e=u();n(4),l("info",e.book())}}function De(o,m){o&1&&(r(0,"span"),d(1,"- Subject to change *"),a())}function Me(o,m){if(o&1&&(r(0,"li"),d(1),a()),o&2){let e=m.$implicit;n(),V(e)}}function Ee(o,m){if(o&1&&(r(0,"ol",29),P(1,Me,2,1,"li",null,S),a()),o&2){let e=u().$implicit;n(),N(e.topics)}}function Ie(o,m){if(o&1&&(r(0,"div",18,0)(2,"div",25)(3,"button",26),d(4),a()(),r(5,"div",27)(6,"div",28),G(7,Ee,3,0,"ng-template"),a()()()),o&2){let e=m.$implicit,i=u();n(4),H(" ",i.getTopicNumber(e),". ",e.title," ")}}function Ae(o,m){if(o&1){let e=z();r(0,"nbm-inline-item-pager",30),J("pageUpdated",function(t){R(e);let w=u();return j(w.setPage(t))}),a()}if(o&2){let e=u();l("items",e.pagedChapters())}}var wt=(()=>{class o{constructor(){this.route=v(Y),this.googleTagManagerService=v(ee),this.jsonLdService=v(Z),this.currencyPipe=new Q("en-GB","GBP"),this.page=1,this.routeData=X(this.route.data),this.book=T(()=>this.routeData()?.book??null),this.newerBook=T(()=>this.routeData()?.newerBook??null),this.pagedChapters=U(D.empty()),$(()=>{let e=this.book();e&&(this.googleTagManagerService.sendDetailView(e,se.Books),this.setPagedChapters(),this.setJsonLdData())})}setJsonLdData(){let e=this.book();e&&this.jsonLdService.insertSchema({"@context":"https://schema.org","@type":"Product",name:e.name,description:e.description||this.metaDescription,image:e.image??`${x.publicUrl}/assets/img/logo.webp`,brand:{"@type":"Brand",name:"NB Medical Education"},sku:e.id,offers:{"@type":"Offer",url:`${x.publicUrl}/books/${e.slug}`,price:this.minPrice,priceCurrency:"GBP",availability:e.released?"https://schema.org/InStock":"https://schema.org/PreOrder"}},"product")}get minPrice(){let e=this.book(),i;
1return e?.variants.forEach(t=>{i===void 0&&(i=t.price),i>t.price&&(i=t.price)}),i}get maxPrice(){let e=this.book(),i;return e?.variants.forEach(t=>{i===void 0&&(i=t.price),i<t.price&&(i=t.price)}),i}setPagedChapters(){let e=this.book();e&&this.pagedChapters.set(D.getFromArray(e.chapters,this.page,10))}setPage(e){e<=1&&(e=1),this.page=e,this.setPagedChapters()}getTopicNumber(e){return this.book()?.chapters.indexOf(e)+1}get metaDescription(){let e=this.book();if(!e)return"";let i=e.contentTypes?.[0]?.slug,t=i?Ce[i]:void 0;return t||`NB Medical presents our ${e.name}. Available from ${this.currencyPipe.transform(this.minPrice)}`}get bookTitle(){let e=this.book(),i=e?.name??"";return e?.released||(i+=" - Preorder"),i}static{this.\u0275fac=function(i){return new(i||o)}}static{this.\u0275cmp=g({type:o,selectors:[["nbm-book-details"]],decls:38,vars:45,consts:[["chapterItem","ngbAccordionItem"],["titleTextClass","text-white",3,"title","titleBgClass","description","image","hideTitle","fullWidth","noBottomMargin"],[3,"additionalClasses"],[1,"px-lg-5","px-3"],[3,"info"],[1,"container","main-content","offset-container"],[1,"product-grid"],[3,"newerBook"],[1,"p-5"],[1,"nb-no-max-height","img-fluid",3,"src","alt"],[3,"additionalClasses","href","target","originalText"],[3,"additionalClasses","routerLink","originalText"],[1,"bg-info","border-secondary","border","shadow","rounded","border-3","p-3","pb-2","text-white","text-center"],[1,"equal-grid"],[1,"px-2"],[1,"text-center","mt-5","bg-dark","text-white","p-2","mb-0"],[1,"mb-5"],["ngbAccordion",""],["ngbAccordionItem",""],[3,"items"],[1,"px-3","mt-5"],[3,"book"],[1,"my-5","pt-5","text-center"],[3,"hideTitle"],[1,"icon-3x","icon-info-circle"],["ngbAccordionHeader",""],["ngbAccordionButton","",1,"p-3","text-start"],["ngbAccordionCollapse",""],["ngbAccordionBody",""],[1,"m-0"],[3,"pageUpdated","items"]],template:function(i,t){if(i&1&&(r(0,"nbm-site-page",1),c(1,"contentTypeSlug"),r(2,"nbm-jumbotron",2),c(3,"contentTypeSlug"),r(4,"div",3)(5,"div"),c(6,"contentTypeSlug"),r(7,"h1"),d(8),a(),p(9,"nbm-release-date",4),a()()(),r(10,"div",5)(11,"div",6)(12,"div"),b(13,Te,1,1,"nbm-newer-book-notice",7),r(14,"p",8),p(15,"img",9),a(),r(16,"div"),p(17,"nbm-plain-button",10)(18,"nbm-plain-button",11),a()(),r(19,"div"),b(20,xe,5,1,"div",12),p(21,"nbm-add-to-cart",4)(22,"nbm-nb-plus-book-offer-short-promo",2),a()(),r(23,"div",13)(24,"div",14)(25,"h3",15),d(26," Table of Contents "),b(27,De,2,0,"span"),a(),r(28,"div",16)(29,"div",17),P(30,Ie,8,2,"div",18,S),a()(),b(32,Ae,1,1,"nbm-inline-item-pager",19),a(),r(33,"div",20),p(34,"nbm-included-in-book",21),a()(),r(35,"h4",22),d(36,"Join us at one of our upcoming courses or live webinars"),a(),p(37,"nbm-upcoming-courses",23),a()()),i&2){let w,M,E,I,A,O,L,F;l("title",t.bookTitle)("titleBgClass","bg-gradient bg-"+s(1,35,t.book()))("description",t.metaDescription)("image",(w=t.book())==null?null:w.image)("hideTitle",!0)("fullWidth",!0)("noBottomMargin",!0),n(2),l("additionalClasses",y(41,Pe,"h-35-max justify-content-center d-grid border-bottom bg-dark border-5 border-0 border border-"+s(3,37,t.book()))),n(3),f("text-white ps-3 mb-3 border border-5 position-relative border-0 border-start gio  border-"+s(6,39,t.book())),n(3),B(" ",(M=t.book())==null?null:M.name," "),n(),l("info",t.book()),n(3),f("text-center align-items-center d-grid  bg-white border me-lg-1 mb-1 mb-lg-0 border-dark"),n(),h(t.newerBook()?13:-1),n(2),l("src",((E=t.book())==null?null:E.image)+"?crop=Portrait&width=1600&height=2000",W)("alt",(I=t.book())==null?null:I.name),n(),f("mb-3"),n(),l("additionalClasses","bg-white")("href",(A=t.book())==null?null:A.previewPdf)("target","_blank")("originalText","SAMPLE PDF"),n(),l("additionalClasses","bg-white ms-2")("routerLink",y(43,Ne,(O=t.book())==null?null:O.slug))("originalText","PREVIEW ONLINE"),n(),f("p-3 bg-light-blue border border-dark"),n(),h((L=t.book())!=null&&L.released?-1:20),n(),l("info",t.book()),n(),l("additionalClasses","border-dark position-relative bg-white text-dark mx-lg-5 mt-5 border-2 product-grid"),n(5),h((F=t.book())!=null&&F.released?-1:27),n(3),N(t.pagedChapters().data),n(2),h(t.pagedChapters().hasMultiplePages?32:-1),n(2),l("book",t.book()),n(3),l("hideTitle",!0)}}
1,dependencies:[C,le,ie,ae,re,ne,te,oe,me,he,be,we,ke,de,Be,ge,ce,_e,_],encapsulation:2})}}return o})();export{wt as BookDetailsComponent};

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.