(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4002],{54718:function(e,r,t){"use strict";var n,a,l=t(67294);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r0){var l=r.map((function(r){var t=r.children.filter((function(r){return r.title.toLowerCase().includes(e.toLowerCase())}));return t.length>0?{title:r.title,children:t}:null})).filter((function(e){return null!==e})),i=t.map((function(e){return(0,a.Z)((0,n.Z)({},e),{childrenLength:l.find((function(r){return(null===r||void 0===r?void 0:r.title[0])===e.letter&&(null===r||void 0===r?void 0:r.children.length)>0}))?e.childrenLength:0})}));return C(i),void k(l)}C(t),k(r)}),200);return(0,l.jsxs)("div",{"data-test-id":"GlossaryPage",children:[(0,l.jsx)(_.PB,{title:v(j.T.Title),description:v(j.T.Description),canonical:(0,w.Jj)(d,v(j.T.Slug))}),(0,l.jsx)(i.b,{id:0,name:v(j.T.Title),breadcrumbs:[],url:v(j.T.Slug),locale:d}),(0,l.jsx)(o.Z,{variant:"center",children:(0,l.jsxs)(s.Z,{children:[(0,l.jsx)("h1",{children:v(j.T.Title)}),(0,l.jsx)("p",{children:v(j.T.Description)})]})}),(0,l.jsx)(c.Z,{variant:"page-inner",children:(0,l.jsxs)(s.Z,{width:"consultation-narrow",children:[(0,l.jsx)("div",{className:u().fixed,children:(0,l.jsxs)("div",{className:u().searchContainer,children:[(0,l.jsx)("div",{className:u().alphabet,children:N.map((function(e){var r=e.letter,t=e.childrenLength;return(0,l.jsx)("span",{onClick:function(){var e=document.getElementById(r);if(e&&t>0){var n=e.getBoundingClientRect();window.scrollTo({top:n.top+window.scrollY-120,behavior:"smooth"})}},className:x()(u().letter,0===t&&u().disableLetter),children:r})}))}),(0,l.jsxs)("div",{className:u().search,children:[(0,l.jsx)(m.I,{onChange:E,label:"",placeholder:v(j.T.SearchPlaceholder),field:"text",required:!1,disabled:!1,type:"text",validate:void 0,validateOnBlur:!0,autoComplete:"na",hasError:void 0,id:"medical_glossary_search",maxLength:256,className:u().searchBox},"medical_glossary_search"),(0,l.jsx)(p.Z,{})]})]})}),null===Z||void 0===Z?void 0:Z.map((function(e){var r;return(0,l.jsxs)("div",{className:u().glossary,id:null===e||void 0===e?void 0:e.title,children:[(0,l.jsx)("div",{className:u().heading,children:(0,l.jsx)("h1",{className:u().capitalLetter,children:null===e||void 0===e?void 0:e.title})}),(0,l.jsx)("div",{className:u().glossaryDefinitions,children:null===e||void 0===e||null===(r=e.children)||void 0===r?void 0:r.map((function(e){return(0,l.jsx)("div",{children:(0,l.jsx)(h.Z,{href:"/".concat(v(j.T.Slug),"/").concat(e.slug),children:e.title})})}))})]})}))]})})]})}},94845:function(e){e.exports={list:"BreadCrumbs_list__IAXtf",item:"BreadCrumbs_item____fk3",link:"BreadCrumbs_link__Pd8xX"}},82802:function(e){e.exports={fixed:"Glossary_fixed__EVvoJ",searchContainer:"Glossary_searchContainer__Qx2Uk",alphabet:"Glossary_alphabet__QknF9",search:"Glossary_search__4XdX9",searchBox:"Glossary_searchBox__1alvU",letter:"Glossary_letter__qdNrq",disableLetter:"Glossary_disableLetter__pXMlJ",heading:"Glossary_heading__cEHwt",capitalLetter:"Glossary_capitalLetter__A4AuH",glossary:"Glossary_glossary__S2PrD",glossaryDefinitions:"Glossary_glossaryDefinitions__NwYQe"}},28050:function(e){e.exports={field:"Input_field__oDU16",error:"Input_error__5HqQS",hidden:"Input_hidden__Q4ZkB",textInput:"Input_textInput__a3yOZ",textInputImperial:"Input_textInputImperial__y45xc",imperialField:"Input_imperialField__2COqe",textInputMetric:"Input_textInputMetric__WO3WP",imperialWrapper:"Input_imperialWrapper__EKHPb",inputError:"Input_inputError__Zu2hY",errorText:"Input_errorText__eRoyq",icon:"Input_icon__VQSK7",pwFieldWrapper:"Input_pwFieldWrapper__Ym_0t",pwFieldSwitch:"Input_pwFieldSwitch__i4iU7",caption:"Input_caption__UuFz_",textArea:"Input_textArea__P9k0E"}}},function(e){e.O(0,[8489,9774,2888,179],(function(){return r=26957,e(e.s=r);var r}));var r=e.O();_N_E=r}]);