(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6544],{25275:(t,e,n)=>{"use strict";n.d(e,{M:()=>o});var r=n(14232),i=n(48352),a=n.n(i);function o(t,e){(0,r.useEffect)(()=>{a()(t,{loaded(){}}).observe()},e?[t,e]:[t])}},31415:function(t,e){var n,r;void 0===(r="function"==typeof(n=function(){"use strict";var t=function(t){return t&&"getComputedStyle"in window&&"smooth"===window.getComputedStyle(t)["scroll-behavior"]};if("undefined"==typeof window||!("document"in window))return{};var e=function(e,n,r){n=n||999,r||0===r||(r=9);var i,a=function(t){i=t},o=function(){clearTimeout(i),a(0)},s=function(t){return Math.max(0,e.getTopOf(t)-r)},c=function(r,i,s){if(o(),0===i||i&&i<0||t(e.body))e.toY(r),s&&s();else{var c=e.getY(),d=Math.max(0,r)-c,l=new Date().getTime();i=i||Math.min(Math.abs(d),n),function t(){a(setTimeout(function(){var n=Math.min(1,(new Date().getTime()-l)/i),r=Math.max(0,Math.floor(c+d*(n<.5?2*n*n:n*(4-2*n)-1)));e.toY(r),n<1&&e.getHeight()+rl?d(t,n,i):o+r>u+l?c(o-l+r,n,i):i&&i()},center:function(t,n,r,i){c(Math.max(0,e.getTopOf(t)-e.getHeight()/2+(r||t.getBoundingClientRect().height/2)),n,i)},stop:o,moving:function(){return!!i},getY:e.getY,getTopOf:e.getTopOf}},n=document.documentElement,r=function(){return window.scrollY||n.scrollTop},i=e({body:document.scrollingElement||document.body,toY:function(t){window.scrollTo(0,t)},getY:r,getHeight:function(){return window.innerHeight||n.clientHeight},getTopOf:function(t){return t.getBoundingClientRect().top+r()-n.offsetTop}});if(i.createScroller=function(t,r,i){return e({body:t,toY:function(e){t.scrollTop=e},getY:function(){return t.scrollTop},getHeight:function(){return Math.min(t.clientHeight,window.innerHeight||n.clientHeight)},getTopOf:function(t){return t.offsetTop}},r,i)},"addEventListener"in window&&!window.noZensmooth&&!t(document.body)){var a="history"in window&&"pushState"in history,o=a&&"scrollRestoration"in history;o&&(history.scrollRestoration="auto"),window.addEventListener("load",function(){o&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(t){t.state&&"zenscrollY"in t.state&&i.toY(t.state.zenscrollY)},!1)),window.location.hash&&setTimeout(function(){var t=i.setup().edgeOffset;if(t){var e=document.getElementById(window.location.href.split("#")[1]);if(e){var n=Math.max(0,i.getTopOf(e)-t),r=i.getY()-n;0<=r&&r<9&&window.scrollTo(0,n)}}},9)},!1);var s=RegExp("(^|\\s)noZensmooth(\\s|$)");window.addEventListener("click",function(t){for(var e=t.target;e&&"A"!==e.tagName;)e=e.parentNode;if(e&&1===t.which&&!t.shiftKey&&!t.metaKey&&!t.ctrlKey&&!t.altKey){if(o){var n=history.state&&"object"==typeof history.state?history.state:{};n.zenscrollY=i.getY();try{history.replaceState(n,"")}catch(t){}}var r=e.getAttribute("href")||"";if(0===r.indexOf("#")&&!s.test(e.className)){var c=0,d=document.getElementById(r.substring(1));if("#"!==r){if(!d)return;c=i.getTopOf(d)}t.preventDefault();var l=function(){window.location=r},u=i.setup().edgeOffset;u&&(c=Math.max(0,c-u),a&&(l=function(){history.pushState({},"",r)})),i.toY(c,null,l)}}},!1)}return i}())?n.apply(e,[]):n)||(t.exports=r)},48352:function(t){t.exports=function(){"use strict";var t="undefined"!=typeof document&&document.documentMode,e={rootMargin:"0px",threshold:0,load:function(e){if("picture"===e.nodeName.toLowerCase()){var n=e.querySelector("img"),r=!1;null===n&&(n=document.createElement("img"),r=!0),t&&e.getAttribute("data-iesrc")&&(n.src=e.getAttribute("data-iesrc")),e.getAttribute("data-alt")&&(n.alt=e.getAttribute("data-alt")),r&&e.append(n)}if("video"===e.nodeName.toLowerCase()&&!e.getAttribute("data-src")&&e.children){for(var i=e.children,a=void 0,o=0;o<=i.length-1;o++)(a=i[o].getAttribute("data-src"))&&(i[o].src=a);e.load()}e.getAttribute("data-poster")&&(e.poster=e.getAttribute("data-poster")),e.getAttribute("data-src")&&(e.src=e.getAttribute("data-src")),e.getAttribute("data-srcset")&&e.setAttribute("srcset",e.getAttribute("data-srcset"));var s=",";if(e.getAttribute("data-background-delimiter")&&(s=e.getAttribute("data-background-delimiter")),e.getAttribute("data-background-image"))e.style.backgroundImage="url('"+e.getAttribute("data-background-image").split(s).join("'),url('")+"')";else if(e.getAttribute("data-background-image-set")){var c=e.getAttribute("data-background-image-set").split(s),d=c[0].substr(0,c[0].indexOf(" "))||c[0];d=-1===d.indexOf("url(")?"url("+d+")":d,1===c.length?e.style.backgroundImage=d:e.setAttribute("style",(e.getAttribute("style")||"")+"background-image: "+d+"; background-image: -webkit-image-set("+c+"); background-image: image-set("+c+")")}e.getAttribute("data-toggle-class")&&e.classList.toggle(e.getAttribute("data-toggle-class"))},loaded:function(){}};function n(t){t.setAttribute("data-loaded",!0)}var r=function(t){return"true"===t.getAttribute("data-loaded")},i=function(t){var e=1{t.exports={navWrapper:"FaqHeader_navWrapper__770J5",nav:"FaqHeader_nav__m9tUN",navItem:"FaqHeader_navItem__ycWoy",navLink:"FaqHeader_navLink__rgJup",navFig:"FaqHeader_navFig__t9IU5"}},62248:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__N_SSG:()=>w,default:()=>y});var r=n(37876),i=n(62867),a=n(86121),o=n(17564),s=n(19666);n(14232);var c=n(31415),d=n.n(c),l=n(68827),u=n.n(l),g=n(61013),f=n(25275),h=n(50234),m=n.n(h),b=n(94666);let v=t=>{let{navItems:e}=t,{t:n}=(0,s.B)();return(0,f.M)("[data-faq-image]"),(0,r.jsx)(g.A,{variant:"full-width",children:(0,r.jsxs)(a.mc,{className:m().navWrapper,children:[(0,r.jsx)("h1",{children:n(o.eg.Heading)}),(0,r.jsx)("p",{children:n(o.eg.SubHeading)}),(0,r.jsx)("ul",{className:m().nav,children:e.map(t=>{let e=t.label.replace(/ /g,"-").toLowerCase();return"ukmeds"===o.YY.DE&&(e=(0,b.OF)(e)),(0,r.jsx)("li",{className:m().navItem,children:(0,r.jsxs)("a",{href:"#".concat(e),className:m().navLink,onClick:t=>{t.preventDefault(),function(t){let e=document.querySelector(t);d().to(e)}("#".concat(e))},children:[(0,r.jsx)("figure",{className:m().navFig,children:(0,r.jsx)(u(),{layout:"fill",src:t.image.url,alt:t.label})}),t.label]})},t.id)})})]})})},p=t=>{let{id:e,question:n,answer:i}=t;return(0,r.jsxs)("div",{children:[(0,r.jsx)("input",{id:e,name:e,type:"checkbox"}),(0,r.jsx)("label",{htmlFor:e,children:n}),(0,r.jsx)("div",{className:"accordion-content",children:(0,r.jsx)("p",{dangerouslySetInnerHTML:{__html:i}})})]})};var w=!0;let y=t=>{let{navItems:e,sections:n}=t,{t:c}=(0,s.B)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.bV,{title:c(o.eg.Heading),description:c(o.eg.SubHeading)}),(0,r.jsxs)("div",{"data-test-id":"CmsPage",children:[(0,r.jsx)(v,{navItems:e}),(0,r.jsx)(a.mO,{variant:"page-inner",children:(0,r.jsx)(a.mc,{width:"blog-narrow",children:(0,r.jsx)("div",{className:"rich-text",children:n.map(t=>{let e=t.label.replace(/ /g,"-").toLowerCase();return"ukmeds"===o.YY.DE&&(e=(0,b.OF)(e)),(0,r.jsxs)("div",{id:e,className:"accordion",children:[(0,r.jsx)("img",{src:t.image.url,alt:t.label}),(0,r.jsx)("h2",{children:t.label}),t.items.map(t=>(0,r.jsx)(p,{...t},t.id))]},t.id)})})})})]})]})}},82460:(t,e,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/help/frequently-asked-questions",function(){return n(62248)}])}},t=>{t.O(0,[636,6593,8792],()=>t(t.s=82460)),_N_E=t.O()}]);