(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1474,7505],{2268:(e,t,r)=>{"use strict";r.d(t,{L:()=>a});let a=e=>(e||"").split(/\r\n/).filter(Boolean)},3650:(e,t,r)=>{"use strict";r.d(t,{GI:()=>n,Jb:()=>i,ae:()=>o});var a=r(52420),s=r(2268),l=r(56399);function o(e){if(e&&e.regularPrice&&e.regularPrice.amount&&null!==e.regularPrice.amount.value&&e.regularPrice.amount.currency){if(e.minimalPrice&&e.minimalPrice.amount&&null!==e.minimalPrice.amount.value&&e.minimalPrice.amount.value{let{id:t,name:r,small_image:i,url_key:n}=e;return{id:t,name:r,small_image:{url:i.url,label:i.label},link:(0,a.u)(n),displayPrice:o(e.price),bullets:(0,s.L)(e.bullet_points),stars:e.star_average,totalReviews:null===e.number_of_reviews?0:e.number_of_reviews,stock_status:e.stock_status?e.stock_status:l.yY.IN_STOCK,feefo_rating:e.feefo_rating,feefo_number_of_reviews:e.feefo_number_of_reviews,feefo_product_stars:e.feefo_product_stars}})}function n(e,t){let r={category_id:e};if(t.sort&&t.sort.match(/^name/)&&("name-ASC"===t.sort?r.sortName=l.uy.ASC:r.sortName=l.uy.DESC),t.sort&&t.sort.match(/^price/)&&("price-ASC"===t.sort?r.sortPrice=l.uy.DESC:r.sortPrice=l.uy.ASC),t.stock_status&&(r.stockStatus=l.yY.IN_STOCK),t.medical_product_type)switch(t.medical_product_type){case"0":break;case l.PZ.OverTheCounter:case l.PZ.Prescription:r.productType=String(t.medical_product_type)}return r}},4629:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(37876),s=r(17564),l=r(89099),o=r(19666),i=r(94666);let n=e=>{let{price:t,showFree:r=!0,...n}=e,{t:c}=(0,o.B)(),{locale:u}=(0,l.useRouter)(),m=parseFloat(String(t)),d=(0,i.RC)(u),_=Math.abs(m).toLocaleString(d,{minimumFractionDigits:2,maximumFractionDigits:2});return 0===m&&r?(0,a.jsx)("span",{...n,children:c(s.Pd.Free)}):(0,a.jsxs)("span",{...n,children:[m<0?"-":"",(0,i.$g)(_,u)]})}},6611:(e,t,r)=>{"use strict";r.d(t,{g:()=>_});var a=r(37876),s=r(19647),l=r.n(s),o=r(68827),i=r.n(o),n=r(23813),c=r(65486),u=r(65827),m=r(19666),d=r(17564);let _=e=>{let{author:t}=e,{t:r}=(0,m.B)(),{image:s,firstname:o,lastname:_,job_title:h,degree_level:p,short_bio:g,url_key:v}=(0,c.H)(t),f=[h,p].filter(Boolean);return(0,a.jsxs)("div",{className:l().root,children:[(0,a.jsx)("h3",{className:l().heading,children:r(d.Pd.MedicalReviewer)}),(0,a.jsxs)("div",{className:l().author,children:[s&&(0,a.jsx)("div",{className:l().image,children:(0,a.jsx)(i(),{alt:r(d.Pd.MedicalReviewer),objectFit:"contain",src:s,width:295,height:295})}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("h4",{className:l().name,children:[o," ",_]}),f.length>0&&(0,a.jsx)("div",{className:l().jobTitle,children:(0,a.jsx)("span",{children:f.join(" • ")})}),g&&(0,a.jsx)("p",{className:l().bio,children:g}),(0,a.jsx)(n.v,{to:"/medical-team/".concat(v),variant:"primary-light",size:"small",className:l().button,children:"Read more"})]})]}),(0,a.jsx)(u.Z,{type:"reviewer",author:t})]})}},6731:(e,t,r)=>{"use strict";r.d(t,{r:()=>d});var a=r(37876),s=r(48230),l=r.n(s),o=r(19475),i=r.n(o),n=r(52420),c=r(86121),u=r(62867),m=r(94666);let d=e=>{let t,r=[...e.breadcrumbs].sort((e,t)=>e.category_level-t.category_level),s=[...r=r.map(e=>{2===e.category_level&&(t=e.category_url_key);let r=e.category_url_key;return 3===e.category_level&&(r="".concat(t,"/").concat(e.category_url_key)),{...e,link:r}}),{category_id:e.id,category_name:e.name,category_level:r.length+2,category_url_key:e.url}].map(r=>{let a=3===r.category_level?"".concat(t,"/").concat(r.category_url_key):r.category_url_key;return{position:r.category_level-1,name:r.category_name,item:"".concat((0,m.FB)(e.locale,!0),"/").concat(a)}});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u.gk,{useAppDir:!0,itemListElements:s}),(0,a.jsx)(c.mc,{children:(0,a.jsxs)("ul",{className:i().list,children:[(0,a.jsx)("li",{className:i().item,children:(0,a.jsx)(l(),{href:"/",locale:!1,prefetch:!1,className:i().link,children:"Home"})}),r.map(e=>(0,a.jsx)("li",{className:i().item,children:(0,a.jsx)(l(),{href:(0,n.u)(e.link),locale:!1,prefetch:!1,className:i().link,children:e.category_name})},e.category_id)),(0,a.jsx)("li",{className:i().item,children:(0,a.jsx)("span",{children:e.name})})]})})]})}},14179:(e,t,r)=>{"use strict";r.d(t,{c:()=>w});var a=r(37876),s=r(58103),l=r.n(s),o=r(14232),i=r(63261),n=r(63219),c=r(62907),u=r.n(c),m=r(45536),d=r(58435),_=r(6611),h=r(40740),p=r(38477),g=r(91967),v=r(90920),f=r(17564),x=r(19666);let y=e=>{let{heading:t,content:r,contentClassName:s}=e,[i,n]=(0,o.useState)(!1);return(0,a.jsxs)("div",{className:l()(u().accordion,{[u().accordionOpen]:i}),children:[(0,a.jsxs)("div",{role:"button",tabIndex:0,onClick:()=>n(!i),className:u().accordionHeading,children:[t,(0,a.jsx)(h.A,{})]}),(0,a.jsx)("div",{className:l()(u().accordionBody,s),children:r})]})},j=e=>!!["h2","h3","h4","h5","h6","p"].includes(e.type)&&0===(0,g.A)(p.Ay.onlyText(e)).length,w=(0,o.memo)(e=>{let t=(0,o.useMemo)(()=>{if(!e.content)return null;try{return(0,i.Ay)(e.content,{replace:e=>{if(e instanceof n.Element&&"iframe"===e.tagName){let t=(0,i.$5)(e.attribs);return(0,a.jsx)(m.V,{...t})}}})}catch(e){console.warn("Error parsing product content",e)}},[e.content]),r=(0,o.useMemo)(()=>{if(!(0,v.A)(t))return[];let e=[],r=null,a=null;for(let l of t){var s;if((null==(s=l.props)?void 0:s.className)&&l.props.className.includes("accordion"))return[];!j(l)&&("h2"===l.type?(r&&e.push(r),a&&(e.push(a),a=null),(r=[]).push(l)):"h1"===l.type?(a=[]).push(l):r&&r.push(l))}return r&&r.length>0&&e.push(r),e},[t]),{t:s}=(0,x.B)();return(0,a.jsx)("div",{className:l()({[u().root]:!0,[e.className||""]:!0}),children:(0,a.jsxs)("div",{className:u().content,children:[(0,a.jsx)("h2",{children:s(f.Pd.MoreInformation)}),r.length>0?r.map((e,t)=>{let[r,...s]=e;return r?s.length?(0,a.jsx)(y,{heading:r,content:s,contentClassName:"rich-text"},t):r:null}):(0,a.jsx)("div",{className:"rich-text",children:t}),(0,a.jsxs)("div",{className:u().authors,children:[e.author&&(0,a.jsx)(d.U,{author:e.author}),e.medicalReviewer&&(0,a.jsx)(_.g,{author:e.medicalReviewer})]})]})})})},16867:e=>{e.exports={reviews:"InlineSummary_reviews__skCBe",reviewsSmall:"InlineSummary_reviewsSmall__34rxb",stars:"InlineSummary_stars__bhh2p",logo:"InlineSummary_logo__Oi3iO",starsIcons:"InlineSummary_starsIcons__iCK7g",starsText:"InlineSummary_starsText__i_kxu",starsTextCarousel:"InlineSummary_starsTextCarousel__LFkaO"}},17505:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var a=r(37876);r(14232);var s=r(65381),l=r.n(s);let o=e=>{let t=[],r=[],s=e.input||0,o=Math.round(10*s)/10;for(let e=1;e<=Math.floor(o);e+=1)t.push(e);for(let e=1;e<=5-Math.ceil(s);e+=1)r.push(e);let i=Math.round((o-Math.floor(o))*10);return(0,a.jsxs)("div",{className:l().root,children:[t.map(e=>(0,a.jsx)("img",{width:"25",height:"25",src:"https://www.ukmeds.co.uk/images/feefo/feefo-star.svg",alt:"star"},e)),i>0&&(0,a.jsx)("img",{width:"25",height:"25",src:"https://www.ukmeds.co.uk/images/feefo/".concat("feefo-star".concat(i),".svg"),alt:"star"}),r.map(e=>(0,a.jsx)("img",{width:"25",height:"25",src:"https://www.ukmeds.co.uk/images/feefo/feefo-star0.svg",alt:"star"},e))]})}},19475:e=>{e.exports={list:"BreadCrumbs_list__WUOzs",item:"BreadCrumbs_item__dpmAR",link:"BreadCrumbs_link__9QZoW"}},19647:e=>{e.exports={root:"Author_root__UubeW",heading:"Author_heading__sIGh3",author:"Author_author__QmJBs",image:"Author_image__1ifBI",name:"Author_name__sCEj8",jobTitle:"Author_jobTitle__9_OqI",bio:"Author_bio__QAUXc",dot:"Author_dot__pmOnT",button:"Author_button__Bydu5"}},23403:e=>{e.exports={root:"ProductFullDetail_root__W85E3",mainSection:"ProductFullDetail_mainSection__aSIHy",form:"ProductFullDetail_form__Eb_Zu",options:"ProductFullDetail_options__Y_6AM",title:"ProductFullDetail_title__r8g7v",titleReview:"ProductFullDetail_titleReview__3h9cA",productReview:"ProductFullDetail_productReview__7QBIh",priceSection:"ProductFullDetail_priceSection__y7JZu",prices:"ProductFullDetail_prices__nAjWw",totalStrike:"ProductFullDetail_totalStrike__d_taC",imageNote:"ProductFullDetail_imageNote__P0ntt",leftCol:"ProductFullDetail_leftCol__Gs3gf",countdown:"ProductFullDetail_countdown__pEEyD",productIcons:"ProductFullDetail_productIcons__ZE7kG",buttonContainer:"ProductFullDetail_buttonContainer__kmWIv",consultationInfo:"ProductFullDetail_consultationInfo__EmA8L",cartActions:"ProductFullDetail_cartActions__LNKKB",cartActionsInner:"ProductFullDetail_cartActionsInner__SfZX3",details:"ProductFullDetail_details__Mm2sk",description:"ProductFullDetail_description__xWjrs",detailsNoOptions:"ProductFullDetail_detailsNoOptions__QogVL",ctaPrescriptionNotice:"ProductFullDetail_ctaPrescriptionNotice__mC915",ctaNotice:"ProductFullDetail_ctaNotice__CVwHh",totals:"ProductFullDetail_totals__JrDeH",vatDisclaimer:"ProductFullDetail_vatDisclaimer__C8PMc",sticky:"ProductFullDetail_sticky__tMtvB",banner:"ProductFullDetail_banner__ja3Ve",categoryImageContainer:"ProductFullDetail_categoryImageContainer__DvHQw",categoryImage:"ProductFullDetail_categoryImage__RIVuj",bannerIconBlock:"ProductFullDetail_bannerIconBlock___8nUU"}},26967:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>p});var a=r(37876);r(14232);var s=r(35946),l=r(17505),o=r(16867),i=r.n(o),n=r(58103),c=r.n(n),u=r(19666),m=r(17564),d=r(89099);let _="https://www.feefo.com/en-GB/reviews/".concat("uk-meds"),h="ukmeds"===m.YY.EU||"ukmeds"===m.YY.NM?"feefo-white-yellow.svg":"feefo-grey-yellow.svg",p=(0,s.Ng)(function(e){return{summary:e.reviews.feefo.summary}})(e=>{let{className:t,propSummary:r,summary:s,size:o="large",logo:n=!0,carousel:p=!1}=e,g=r||s,v=(0,d.useRouter)().asPath.includes("black-friday"),{t:f}=(0,u.B)();return[m.YY.NM,m.YY.PX].includes("ukmeds")?null:(0,a.jsxs)("a",{className:c()(i().reviews,{[i().reviewsSmall]:"small"===o},t),href:_,target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsxs)("div",{className:i().stars,children:[(0,a.jsx)("div",{className:i().starsIcons,children:(0,a.jsx)(l.default,{input:g.rating})}),"large"===o&&(0,a.jsxs)("span",{className:p?i().starsTextCarousel:i().starsText,children:[g.rating," out of 5 - ",g.number_of_reviews," ",f(m.Pd.Reviews)]})]}),n&&(0,a.jsx)("div",{className:i().logo,children:(0,a.jsx)("img",{src:"https://www.ukmeds.co.uk/images/feefo/".concat(v?"feefo-white-yellow.svg":h),alt:"Feefo"})})]})})},40740:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a,s=r(14232);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>u});var a=r(37876),s=r(55757),l=r.n(s),o=r(17564),i=r(19666),n=r(56399),c=r(4629);let u=e=>{let{currencyCode:t,subtotal:r=0,dataStatus:s,items_qty:u,label:m="",originalPrice:d,hasDiscount:_}=e,{t:h}=(0,i.B)(),p=s===n.t3.Pending,g=0===u,v=(()=>{switch(s){case n.t3.Pending:return(0,a.jsx)("span",{children:"..."});case n.t3.Idle:case n.t3.Success:if(g)return(0,a.jsx)(c.A,{price:0});if(t)return(0,a.jsx)(c.A,{price:r})}return null})();return(0,a.jsxs)("dl",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer",className:l().root,"data-component":"TotalsSummary",children:[(0,a.jsxs)("dt",{className:l().subtotalLabel,children:[p&&(0,a.jsx)("span",{children:h(o.Pd.PleaseWait)}),!p&&"ukmeds"===o.YY.DE&&(0,a.jsx)("span",{children:m||h(o.Pd.OrderTotal)}),!p&&"ukmeds"!==o.YY.DE&&m&&(0,a.jsx)("span",{children:m})]}),(0,a.jsxs)("dd",{className:l().subtotalValue,"data-test-id":"minicart.subtotal",children:[v,"\xa0",_&&(0,a.jsx)("span",{className:l().totalStrike,children:(0,a.jsx)(c.A,{price:d})})]}),(0,a.jsx)("link",{itemProp:"availability",href:"http://schema.org/InStock"}),(0,a.jsx)("meta",{itemProp:"priceCurrency",content:t}),(0,a.jsx)("meta",{itemProp:"priceValidUntil",content:""}),(0,a.jsx)("meta",{itemProp:"price",content:"".concat(r)}),(0,a.jsx)("div",{itemProp:"seller",itemType:"http://schema.org/Organization",itemScope:!0,children:(0,a.jsx)("meta",{itemProp:"name",content:h(o.Pd.CompanyName)})})]})}},41852:e=>{e.exports={root:"Placeholder_root__xfkLs",webstory:"Placeholder_webstory__AOrUN",video:"Placeholder_video__H_cJM"}},45536:(e,t,r)=>{"use strict";r.d(t,{V:()=>u});var a=r(37876),s=r(14232),l=r(41852),o=r.n(l),i=r(58103),n=r.n(i);let c=e=>{let{width:t,height:r,type:s}=e;return""!==s?(0,a.jsx)("div",{className:n()({[o().root]:!0,[o().video]:"video"===s,[o().webstory]:"webstory"===s}),style:{width:t||""}}):t&&r?(0,a.jsx)("div",{className:n()({[o().root]:!0}),style:{width:t,height:r}}):null},u=e=>{let[t,r]=(0,s.useState)(!1);return((0,s.useEffect)(()=>{let e=()=>{r(!0),window.removeEventListener("scroll",e)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),t)?(0,a.jsx)("iframe",{...e}):(0,a.jsx)(c,{width:e.width,height:e.height,type:e.type})}},55757:e=>{e.exports={root:"TotalsSummary_root___Q_Kx",subtotalLabel:"TotalsSummary_subtotalLabel__Gc8Jj",subtotalValue:"TotalsSummary_subtotalValue___N2up",totalStrike:"TotalsSummary_totalStrike__NK8FQ"}},58435:(e,t,r)=>{"use strict";r.d(t,{U:()=>m});var a=r(37876),s=r(19647),l=r.n(s),o=r(68827),i=r.n(o),n=r(23813),c=r(65486),u=r(65827);let m=e=>{let{author:t}=e,{image:r,firstname:s,lastname:o,job_title:m,degree_level:d,short_bio:_,url_key:h}=(0,c.H)(t),p=[m,d].filter(Boolean);return(0,a.jsxs)("div",{className:l().root,children:[(0,a.jsx)("h3",{className:l().heading,children:"Author"}),(0,a.jsxs)("div",{className:l().author,children:[r&&(0,a.jsx)("div",{className:l().image,children:(0,a.jsx)(i(),{alt:"Content author",objectFit:"contain",src:r,width:295,height:295})}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("h4",{className:l().name,children:[s," ",o]}),p.length>0&&(0,a.jsx)("div",{className:l().jobTitle,children:(0,a.jsx)("span",{children:p.join(" • ")})}),_&&(0,a.jsx)("p",{className:l().bio,children:_}),(0,a.jsx)(n.v,{to:"/medical-team/".concat(h),variant:"primary-light",size:"small",className:l().button,children:"Read more"})]})]}),(0,a.jsx)(u.Z,{type:"author",author:t})]})}},61019:(e,t,r)=>{"use strict";r.d(t,{Yp:()=>l,bP:()=>s,i5:()=>a});let a=e=>{let t=document.createElement("a");t.href=e;let r=t.pathname.split("/").filter(Boolean);return["index.php","magento"].indexOf(r[0])>-1?"/".concat(r.slice(1).join("/")):r.includes("uk-meds-plus")?"/customer/meds-plus":"/".concat(r.join("/"))};function s(e){return e&&"string"==typeof e?e.replace(/(https?:\/\/|\/\/)(.+?)\/media/g,"/media"):""}let l=e=>e.replace(/([^:]\/)\/+/g,"$1")},62907:e=>{e.exports={content:"CmsAutoNav_content__oapnG",accordion:"CmsAutoNav_accordion__sExfQ",accordionHeading:"CmsAutoNav_accordionHeading__mRvh_",accordionBody:"CmsAutoNav_accordionBody__qAhOY",accordionOpen:"CmsAutoNav_accordionOpen__kRmLJ",authors:"CmsAutoNav_authors__g01RC"}},65381:e=>{e.exports={root:"ReviewStars_root__4opF1"}},65486:(e,t,r)=>{"use strict";r.d(t,{H:()=>l});var a=r(61261),s=r(14232);let l=e=>({image:(0,s.useMemo)(()=>{if(!e.photo)return null;let t=(0,a.A)(e.photo);return t?JSON.parse(t).url:null},[e.photo]),...e})},65827:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var a=r(37876),s=r(17564),l=r(61261),o=r(45105),i=r.n(o),n=r(94666),c=r(61019);let u=e=>{let{type:t,author:r}=e;if(-1===[s.YY.UK,s.YY.EU].indexOf("ukmeds"))return null;let o=m((0,l.A)(r.photo)),{contact:c}=(0,n.zj)(),u={"@type":"Organization",name:c.name,url:"https://www.ukmeds.co.uk"},d={"@type":"Person",name:"".concat(r.firstname," ").concat(r.lastname),givenName:r.firstname,familyName:r.lastname,additionalType:"https://www.wikidata.org/wiki/".concat("author"===t?"Q7978831":"Q39631"),image:o};return r.university&&(d.alumniOf=[{"@type":"CollegeOrUniversity",name:r.university}]),r.job_title&&(d.jobTitle=r.job_title),(null==r?void 0:r.gmc_number)&&(d.memberOf={"@context":"https://schema.org","@type":"Organization",name:"The General Medical Council"},d.description="GMC Number: ".concat(r.gmc_number)),(0,a.jsx)(i(),{id:t,type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org",...d,worksFor:u})}})},m=e=>{var t;if(!e)return"".concat("https://www.ukmeds.co.uk","https://www.ukmeds.co.uk/images/ukmeds/logo.svg");let r=JSON.parse(e);return null!=(t="".concat("https://www.ukmeds.co.uk").concat((0,c.bP)(null==r?void 0:r.url)))?t:"".concat("https://www.ukmeds.co.uk","https://www.ukmeds.co.uk/images/ukmeds/logo.svg")}},74345:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(14232),s=r(96220);let l=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];arguments.length>3&&void 0!==arguments[3]&&arguments[3];let l=new s.B7,[o,i]=(0,a.useState)(t),[n]=(0,a.useState)(l);return(0,a.useEffect)(()=>{let t=e(l).subscribe(e=>i(e));return()=>{t.unsubscribe(),n.complete()}},r),[o,e=>n.next(e)]}},81857:(e,t,r)=>{"use strict";r.d(t,{e:()=>o,q:()=>l});var a=r(61019);let s="https://www.ukmeds.co.uk/images/".concat("ukmeds","/placeholder.jpg"),l=e=>e.indexOf("placeholder")>-1?s:"".concat("https://m2.ukmeds.co.uk").concat((0,a.bP)(e)),o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAFCAQAAADIpIVQAAAADklEQVR42mNkgAJGIhgAALQABsHyMOcAAAAASUVORK5CYII="}}]);