1import{_ as te}from"./kapWK5Bp.js";import{d as w,aR as Se,aS as Ie,a5 as D,x as e,r as R,aT as Be,ar as N,o,y,I as h,m as M,ag as K,Y as _e,au as ue,a as f,cy as Te,cz as ne,aU as fe,z as b,aW as J,aX as Z,cA as qe,c as p,n as P,M as V,f as c,t as C,A as x,K as T,L as A,J as z,g as E,_ as se,C as O,aa as Ae,aC as Ee,ab as Re,ac as Me,aV as Pe,aP as Le,cB as Ne,cC as de,cD as Fe,cE as je,ah as pe,N as me,i as ve,a4 as ze,a3 as Ue,aQ as Ve,j as ge,P as U,l as He,k as G,cF as Ke,w as We,s as Ye,O as oe,T as ae,U as le,B as ie,aI as Ge,cG as Qe,v as he,W as Xe}from"./8YhcnBgr.js";import{u as H}from"./BIWnD71Y.js";import{_ as ye}from"./jf_4iDYE.js";import{g as Je,F as Ze,u as et,a as tt}from"./sTIk6VqS.js";import{u as ee}from"./DQRv91Un.js";import{_ as nt}from"./CoxHGEPN.js";import st from"./DyWEISsf.js";import{u as re}from"./MbH6AwhP.js";import{_ as ot}from"./CCxrbIdE.js";import"./oIBRwIYb.js";import"./4V0GJjqO.js";import"./B_577Owy.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"bff5deaf4b8f46512290172a43019daa5e92bee7"};var l=new n.Error().stack;l&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[l]="345eb032-b553-44d6-899e-700d22c11e78",n._sentryDebugIdIdentifier="sentry-dbid-345eb032-b553-44d6-899e-700d22c11e78")}catch{}})();const[F,at]=Be("DialogRoot");var lt=w({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1,default:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(n,{emit:l}){const s=n,t=Se(s,"open",l,{defaultValue:s.defaultOpen,passive:s.open===void 0}),u=R(),d=R(),{modal:i}=Ie(s);return at({open:t,modal:i,openModal:()=>{t.value=!0},onOpenChange:r=>{t.value=r},onOpenToggle:()=>{t.value=!t.value},contentId:"",titleId:"",descriptionId:"",triggerElement:u,contentElement:d}),(r,_)=>D(r.$slots,"default",{open:e(t),close:()=>t.value=!1})}}),it=lt,rt=w({__name:"DialogClose",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(n){const l=n;N();const s=F();return(a,t)=>(o(),y(e(K),M(l,{type:a.as==="button"?"button":void 0,onClick:t[0]||(t[0]=u=>e(s).onOpenChange(!1))}),{default:h(()=>[D(a.$slots,"default")]),_:3},16,["type"]))}}),ct=rt,ut=w({__name:"DialogContentImpl",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(n,{emit:l}){const s=n,a=l,t=F(),{forwardRef:u,currentElement:d}=N();return t.titleId||=ee(void 0,"reka-dialog-title"),t.descriptionId||=ee(void 0,"reka-dialog-description"),_e(()=>{t.contentElement=d,ue()!==document.body&&(t.triggerElement.value=ue())}),(i,r)=>(o(),y(e(Ze),{"as-child":"",loop:"",trapped:s.trapFocus,onMountAutoFocus:r[5]||(r[5]=_=>a("openAutoFocus",_)),onUnmountAutoFocus:r[6]||(r[6]=_=>a("closeAutoFocus",_))},{default:h(()=>[f(e(Te),M({id:e(t).contentId,ref:e(u),as:i.as,"as-child":i.asChild,"disable-outside-pointer-events":i.disableOutsidePointerEvents,role:"dialog","aria-describedby":e(t).descriptionId,"aria-labelledby":e(t).titleId,"data-state":e(Je)(e(t).open.value)},i.$attrs,{onDismiss:r[0]||(r[0]=_=>e(t).onOpenChange(!1)),onEscapeKeyDown:r[1]||(r[1]=_=>a("escapeKeyDown",_)),onFocusOutside:r[2]||(r[2]=_=>a("focusOutside",_)),onInteractOutside:r[3]||(r[3]=_=>a("interactOutside",_)),onPointerDownOutside:r[4]||(r[4]=_=>a("pointerDownOutside",_))}),{default:h(()=>[D(i.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),be=ut,dt=w({__name:"DialogContentModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(n,{emit:l}){const s=n,a=l,t=F(),u=ne(a),{forwardRef:d,currentElement:i}=N();return et(i),(r,_)=>(o(),y(be,M({...s,...e(u)},{ref:e(d),"trap-focus":e(t).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:_[0]||(_[0]=v=>{v.defaultPrevented||(v.preventDefault(),e(t).triggerElement.value?.focus())}),onPointerDownOutside:_[1]||(_[1]=v=>{const k=v.detail.originalEvent,m=k.button===0&&k.ctrlKey===!0;(k.button===2||m)&&v.preventDefault()}),onFocusOutside:_[2]||(_[2]=v=>{v.preventDefault()})}),{default:h(()=>[D(r.$slots,"default")]),_:3},16,["trap-focus"]))}}),pt=dt,_t=w({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(n,{emit:l}){const s=n,t=ne(l);N();const u=F(),d=R(!1),i=R(!1);return(r,_)=>(o(),y(be,M({...s,...e(t)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:_[0]||(_[0]=v=>{v.defaultPrevented||(d.value||e(u).triggerElement.value?.focus(),v.preventDefault()),d.value=!1,i.value=!1}),onInteractOutside:_[1]||(_[1]=v=>{v.defaultPrevented||(d.value=!0,v.detail.originalEvent.type==="pointerdown"&&(i.value=!0));const k=v.target;e(u).triggerElement.value?.contains(k)&&v.preventDefault(),v.detail.originalEvent.type==="focusin"&&i.value&&v.preventDefault()})}),{default:h(()=>[D(r.$slots,"default")]),_:3},16))}}),ft=_t,mt=w({__name:"DialogContent",props:{forceMount:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(n,{emit:l}){const s=n,a=l,t=F(),u=ne(a),{forwardRef:d}=N();return(i,r)=>(o(),y(e(fe),{present:i.forceMount||e(t).open.value},{default:h(()=>[e(t).modal.value?(o(),y(pt,M({key:0,ref:e(d)},{...s,...e(u),...i.$attrs}),{default:h(()=>[D(i.$slots,"default")]),_:3},16)):(o(),y(ft,M({key:1,ref:e(d)},{...s,...e(u),...i.$attrs}),{default:h(()=>[D(i.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),vt=mt,gt=w({__name:"DialogDescription",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"p"}},setup(n){const l=n;N();const s=F();return(a,t)=>(o(),y(e(K),M(l,{id:e(s).descriptionId}),{default:h(()=>[D(a.$slots,"default")]),_:3},16,["id"]))}}),Q=gt,ht=w({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(n){const l=F();return tt(!0),N(),(s,a)=>(o(),y(e(K),{as:s.as,"as-child":s.asChild,"data-state":e(l).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:h(()=>[D(s.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),yt=ht,bt=w({__name:"DialogOverlay",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(n){const l=F(),{forwardRef:s}=N();return(a,t)=>e(l)?.modal.value?(o(),y(e(fe),{key:0,present:a.forceMount||e(l).open.value},{default:h(()=>[f(yt,M(a.$attrs,{ref:e(s),as:a.as,"as-child":a.asChild}),{default:h(()=>[D(a.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):b("v-if",!0)}}),xt=bt,kt=w({__name:"DialogPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(n){const l=n;return(s,a)=>(o(),y(e(qe),J(Z(l)),{default:h(()=>[D(s.$slots,"default")]),_:3},16))}}),wt=kt,$t=w({__name:"DialogTitle",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"h2"}},setup(n){const l=n,s=F();return N(),(a,t)=>(o(),y(e(K),M(l,{id:e(s).titleId}),{default:h(()=>[D(a.$slots,"default")]),_:3},16,["id"]))}}),X=$t,Dt=w({__name:"DialogTrigger",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(n){const l=n,s=F(),{forwardRef:a,currentElement:t}=N();return s.contentId||=ee(void 0,"reka-dialog-content"),_e(()=>{s.triggerElement.value=t.value}),(u,d)=>(o(),y(e(K),M(l,{ref:e(a),type:u.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":e(s).open.value||!1,"aria-controls":e(s).open.value?e(s).contentId:void 0,"data-state":e(s).open.value?"open":"closed",onClick:e(s).onOpenToggle}),{default:h(()=>[D(u.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),Ct=Dt;const Ot={},St={href:"#main",class:"skip",tabindex:"0"};function It(n,l){return o(),p("a",St," Skip to main content ")}const Bt=Object.assign(te(Ot,[["render",It],["__scopeId","data-v-e34cb4f5"]]),{__name:"SkipToMain"}),Tt=["aria-label"],qt={class:"truncate"}
1,At=w({__name:"NavigationTopLevel",props:{buttonClasses:{}},setup(n){const l=P(),{linkHelper:s}=H(),a=R(!1),t=[{titleKey:"patients",link:"/",hierarchy:"/patients"},{titleKey:"healthcareProfessionals",link:"/healthcare-professionals",hierarchy:"/healthcare-professionals"},{titleKey:"corporatePartners",link:"/corporate-partners",hierarchy:"/corporate-partners"}],u=O(()=>a.value?"max-h-[500px] xl:flex":"max-h-0 pb-0 xl:max-h-none xl:flex"),d=()=>{a.value=!a.value};return(i,r)=>{const _=V,v=se,k=z;return o(),p("nav",{"aria-label":i.$t("topLevelNavigation"),class:"relative w-full py-1 xl:py-0"},[f(_,{ui:{base:["px-0 relative z-20 capitalize xl:hidden ml-6 gap-3!",n.buttonClasses]},"aria-expanded":e(a),variant:"link",color:"neutral-light",size:"xs","trailing-icon":e(a)?"i-solar-alt-arrow-up-line-duotone":"i-solar-alt-arrow-down-line-duotone",onClick:d},{default:h(()=>[c("span",qt,C(e(l).getAudienceName),1)]),_:1},8,["ui","aria-expanded","trailing-icon"]),c("ul",{class:x([e(u),"text-neutral transition-max-h absolute top-full right-0 left-0 z-20 flex w-full flex-col gap-2 overflow-hidden bg-white p-6 pt-0 drop-shadow duration-300 ease-in-out","xl:static xl:flex-row xl:gap-0 xl:divide-x xl:divide-snow/30 xl:overflow-visible xl:bg-transparent xl:px-0 xl:py-1.5 xl:text-snow xl:drop-shadow-none"])},[r[2]||(r[2]=c("li",{class:"py-4 text-sm text-jet-black-800 xl:hidden"}," Switch to: ",-1)),(o(),p(T,null,A(t,(m,g)=>c("li",{key:m.hierarchy,class:x(["flex w-full py-1",[g===0?"xl:pr-4! xl:pl-0!":"xl:px-4","xl:w-auto"]])},[f(k,{to:e(s)(m.link),class:x(["relative flex w-full px-0! py-1 text-lg leading-none font-light! opacity-90 hover:underline",`/${e(l).currentAudience}`===m.hierarchy?"is-active":"","xl:text-neutral-light! xl:inline-flex xl:w-auto xl:text-16"]),onClick:r[0]||(r[0]=$=>a.value=!1)},{default:h(()=>[E(C(i.$t(m.titleKey))+" ",1),f(v,{class:"ml-auto size-4 xl:hidden",name:"i-solar-alt-arrow-right-line-duotone"}),r[1]||(r[1]=c("span",{"aria-hidden":"true",class:"is-active__arrow"},null,-1))]),_:2},1032,["to","class"])],2)),64))],2),e(a)?(o(),p("div",{key:0,class:"fixed inset-0 z-10 bg-black/20 xl:hidden","aria-label":"Overlay","aria-hidden":"true",onClick:d})):b("",!0)],8,Tt)}}}),xe=Object.assign(At,{__name:"NavigationTopLevel"}),Et=w({__name:"AudienceTopLinks",setup(n){const l=P(),s=O(()=>l.currentAudience),a=O(()=>s.value==="patients"?"patients":"other"),t={patients:{title:"myHealthNet",link:"https://portal.healthnethomecare.co.uk/"},other:{title:"Clinician Gateway",link:"https://my.healthnethomecare.co.uk/"}};return(u,d)=>{const i=se,r=z;return o(),y(r,{to:t[e(a)].link,class:"mr-6 flex items-center gap-3 text-16 whitespace-nowrap xl:mr-0 xl:rounded-lg! xl:bg-primary xl:px-3 xl:py-2 xl:whitespace-nowrap xl:text-black",target:"_blank"},{default:h(()=>[E(C(t[e(a)].title)+" ",1),f(i,{name:"i-solar-alt-arrow-right-outline",class:"hidden size-4 xl:inline-flex"})]),_:1},8,["to"])}}}),ke=Object.assign(Et,{__name:"AudienceTopLinks"}),Rt={},Mt={class:"bg-neutral"},Pt={class:"container xl:container-px"},Lt={class:"grid grid-cols-1 items-center"},Nt={class:x(["text-neutral-light z-31 ml-auto flex items-center gap-2","col-span-1 col-start-1 row-span-1 row-start-1"])},Ft={class:"hidden text-16 whitespace-nowrap xl:inline-block"};function jt(n,l){const s=xe,a=ke;return o(),p("div",Mt,[c("div",Pt,[c("div",Lt,[f(s,{class:"z-31 col-span-1 col-start-1 row-span-1 row-start-1","button-classes":"min-w-31 max-w-[calc(100%-12rem)]"}),c("span",Nt,[c("span",Ft,C(n.$t("loginTo"))+": ",1),f(a)])])])])}const zt=Object.assign(te(Rt,[["render",jt]]),{__name:"SiteHeaderTopBar"}),Y={textKey:"haveAQuestion",link:{patients:{default:"/help-support/contact"},"healthcare-professionals":{default:"/healthcare-professionals/contact"},"corporate-partners":{default:"/corporate-partners/contact"}}},Ut={link:{patients:{default:"/"},"healthcare-professionals":{default:"/healthcare-professionals"},"corporate-partners":{default:"/corporate-partners"}}},Vt=w({__name:"SiteBrand",props:{audienceSpecific:{type:Boolean}},setup(n){const l=n,{linkHelper:s}=H(),a=P(),t=O(()=>{if(!l.audienceSpecific)return s("/");const u=Ut.link[a.currentAudience||"patients"];return s(u.default)});return(u,d)=>{const i=z;return o(),y(i,{to:e(t),class:"flex"},{default:h(()=>[...d[0]||(d[0]=[c("span",{class:"sr-only"},"Go to the homepage",-1),c("svg",{class:"block aspect-212/41 w-full",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"none",viewBox:"0 0 212 41"},[c("path",{fill:"currentColor",d:"M23.2153 36.5693v-7.3592c0-2.0173-1.6353-3.6526-3.6526-3.6526S15.91 27.1928 15.91 29.2101v7.3592c0 2.0173 1.6354 3.6527 3.6527 3.6527s3.6526-1.6354 3.6526-3.6527M3.643 23.7574h7.3786c2.0119 0 3.643-1.631 3.643-3.643v-.0193c0-2.012-1.6311-3.643-3.643-3.643H3.643c-2.012 0-3.643 1.631-3.643 3.643v.0193c0 2.012 1.631 3.643 3.643 3.643"}),c("path",{fill:"url(#a)",d:"M35.8904 16.4507c2.0171 0 3.6527 1.6356 3.6527 3.6527s-1.6356 3.6526-3.6527 3.6526h-9.3279c-5.8841 0-10.6538-4.7697-10.6538-10.
16538V3.6527C15.9087 1.6354 17.5442 0 19.5613 0s3.6527 1.6355 3.6527 3.6527v5.584h.0055v3.8669c0 1.8429 1.5001 3.343 3.343 3.343h6.3292l2.9987.0055z"}),c("path",{fill:"currentColor",d:"M33.2956 10.4865c2.2808 0 4.1297-1.8489 4.1297-4.1296 0-2.2808-1.8489-4.1296-4.1297-4.1296S29.166 4.0762 29.166 6.3569s1.8489 4.1296 4.1296 4.1296M61.8878 18.8287h-9.6694V9.516h-4.5748v22.6472h4.5748V22.527h9.6694v9.6362h4.5748V9.516h-4.5748zM83.1829 27.41a7.21 7.21 0 0 1-1.865.9899 6.17 6.17 0 0 1-2.0766.3567c-.8226 0-1.5899-.1355-2.3033-.405s-1.3148-.654-1.8014-1.1517q-.73-.7466-.9249-1.6217c.0649 0 .199.0055.405.0166.2046.011.4383.0166.6982.0166s.4867.011.6816.0332c1.2332.0442 2.4872-.0166 3.7632-.1784 1.2761-.1617 2.4499-.4645 3.52-.9083 1.0714-.4438 1.93-1.0438 2.5798-1.8014.6484-.7563.9733-1.6978.9733-2.8232 0-.8654-.2005-1.6659-.6001-2.4014-.4009-.7355-.9622-1.3674-1.6866-1.8982-.7245-.5296-1.5623-.9415-2.5149-1.2333-.9525-.2917-1.9687-.4382-3.0498-.4382-1.2761 0-2.4872.2226-3.6333.665-1.1461.4438-2.1637 1.077-3.0499 1.8982-.8876.8226-1.5788 1.807-2.0765 2.9531q-.7466 1.7192-.7466 3.8282c0 1.406.2433 2.6019.73 3.7149.4866 1.1143 1.1682 2.071 2.0447 2.8715s1.9024 1.4171 3.0817 1.8498 2.4609.6484 3.8448.6484c1.124 0 2.2065-.141 3.2448-.4217 1.0383-.2806 2.0116-.7189 2.9199-1.3134s1.7088-1.3466 2.4015-2.2549l-3.1467-2.3683c-.3677.4978-.8392.9568-1.4115 1.3784zm-8.5178-7.3979c.4328-.7244 1.0328-1.3134 1.8015-1.7682.7673-.4549 1.6493-.6816 2.6447-.6816.6263 0 1.1849.1023 1.6715.3083.4867.206.8765.4756 1.1683.8115.2917.336.4382.719.4382 1.1517 0 .5184-.1894.947-.5682 1.2816-.3788.3359-.8765.5945-1.4931.7784q-.925.2758-2.0116.3732a24.2 24.2 0 0 1-2.1581.0968c-.4328 0-.8434-.011-1.2333-.0318a31 31 0 0 1-.9733-.065c.0429-.7783.2807-1.5304.7134-2.2549M103.672 18.1139c-.476-1.2982-1.244-2.3143-2.303-3.0498-1.061-.7356-2.3036-1.1033-3.7318-1.1033-1.5788 0-2.9738.3954-4.1849 1.1848-1.2125.7894-2.1637 1.8775-2.8549 3.2614-.6927 1.3839-1.0383 2.9738-1.0383 4.7697s.3456 3.3582 1.0383 4.7532 1.6438 2.4872 2.8549 3.2766 2.6061 1.1848 4.1849 1.1848c1.4282 0 2.6708-.3677 3.7318-1.1033 1.06-.7355 1.827-1.7627 2.303-3.0816v1.5249c0 .7355.216 1.3259.648 1.7683.433.4438 1.017.665 1.752.665h2.207V14.1889h-4.608v3.9264zm-.665 7.8846c-.444.7784-1.022 1.3742-1.736 1.7848-.715.4106-1.4936.6166-2.337.6166-.8433 0-1.5636-.2046-2.2867-.6166-.7258-.4106-1.3092-1.0064-1.7516-1.7848-.4438-.7784-.665-1.7199-.665-2.8231s.2212-2.0766.665-2.855c.4424-.7783 1.0272-1.3673 1.7516-1.7682.7245-.3996 1.4876-.6 2.2867-.6.8434 0 1.622.2004 2.337.6.713.4009 1.292.9899 1.736 1.7682s.665 1.731.665 2.855-.221 2.0433-.665 2.8231M118.728 28.4649c-.39 0-.726-.1189-1.007-.3567-.282-.2378-.422-.5945-.422-1.0714V8.1542h-4.574v19.1757c0 1.2111.243 2.1899.73 2.9365.486.7465 1.114 1.2871 1.881 1.6217.768.3345 1.551.5032 2.353.5032.974 0 1.839-.1949 2.595-.5834l-.843-3.4715c-.195.0871-.433.1299-.713.1299zM130.749 28.3032c-.227.0871-.47.1299-.73.1299-.412 0-.778-.141-1.103-.4216-.324-.2807-.487-.7024-.487-1.2651v-8.8247h3.958v-3.7314h-5.873c.39-.0857.725-.2489 1.005-.4867.281-.2377.504-.5198.665-.8433.162-.3249.244-.6484.244-.9733V9.7455h-4.543v2.8881c0 .4756-.136.8544-.405 1.135-.271.2821-.645.4217-1.12.4217h-1.363v3.7314h2.79v8.663c0 1.8609.492 3.2932 1.476 4.2996.984 1.0065 2.32 1.5084 4.007 1.5084.735 0 1.406-.1078 2.011-.3249.606-.2157 1.189-.5516 1.752-1.0051l-1.623-3.148c-.216.1742-.438.3027-.665.3898zM150.183 14.8705c-1.027-.6055-2.223-.9083-3.585-.9083-.823 0-1.622.1673-2.401.5032-.779.336-1.46.806-2.045 1.4116-.584.6055-1.018 1.3092-1.298 2.1083V8.1542h-4.575v24.0104h4.575v-9.3763c0-.9512.167-1.796.503-2.5315.334-.7355.806-1.3189 1.411-1.7516.606-.4328 1.31-.6484 2.11-.6484 1.189 0 2.153.4106 2.888 1.2332.736.8226 1.104 1.9466 1.104 3.3747v9.7013h4.543V21.5882c0-1.601-.283-2.9683-.844-4.1047-.563-1.1351-1.357-2.0061-2.385-2.6116zM172.555 25.0252 162.302 9.516h-4.574v22.6472h4.574V16.6871l10.253 15.4761h4.575V9.516h-4.575zM193.85 27.41a7.2 7.2 0 0 1-1.865.9899 6.17 6.17 0 0 1-2.076.3567c-.823 0-1.59-.1355-2.304-.405-.713-.2696-1.314-.654-1.801-1.1517s-.795-1.0383-.925-1.6217c.065 0 .199.0055.405.0166.205.011.438.0166.698.0166s.487.011.682.0332c1.233.0442 2.487-.0166 3.763-.1784s2.45-.4645 3.52-.9083c1.072-.4438 1.93-1.0438 2.58-1.8014.648-.7563.973-1.6978.973-2.8232q0-1.2981-.6-2.4014c-.401-.7355-.962-1.3674-1.686-1.8982-.725-.5296-1.563-.9415-2.515-1.2333-.953-.2917-1.969-.4382-3.05-.4382-1.276 0-2.487.2226-3.633.665-1.147.4438-2.164 1.077-3.05 1.8982
1-.888.8226-1.579 1.807-2.077 2.9531s-.746 2.4222-.746 3.8282.243 2.6019.73 3.7149c.486 1.1143 1.168 2.071 2.044 2.8715.877.8005 1.903 1.4171 3.082 1.8498s2.461.6484 3.845.6484c1.124 0 2.206-.141 3.245-.4217 1.038-.2806 2.011-.7189 2.919-1.3134.909-.5945 1.709-1.3466 2.402-2.2549l-3.147-2.3683c-.367.4978-.839.9568-1.411 1.3784zm-8.517-7.3979c.432-.7244 1.032-1.3134 1.801-1.7682.767-.4549 1.649-.6816 2.645-.6816.626 0 1.185.1023 1.671.3083.487.206.877.4756 1.169.8115.291.336.438.719.438 1.1517 0 .5184-.19.947-.568 1.2816-.379.3359-.877.5945-1.494.7784-.616.1838-1.287.3083-2.011.3732-.726.065-1.444.0968-2.158.0968-.433 0-.844-.011-1.233-.0318-.39-.0207-.714-.0428-.974-.065.043-.7783.281-1.5304.714-2.2549M210.381 27.9133c-.215.1742-.438.3028-.665.3899-.226.0871-.47.1299-.73.1299-.412 0-.778-.141-1.103-.4216-.324-.2807-.487-.7024-.487-1.2651v-8.8247h3.959v-3.7314h-5.873c.389-.0857.724-.2489 1.005-.4867.28-.2377.503-.5198.665-.8433.161-.3249.243-.6484.243-.9733V9.7455h-4.543v2.8881c0 .4756-.136.8544-.405 1.135-.271.2821-.644.4217-1.12.4217h-1.363v3.7314h2.79v8.663c0 1.8609.492 3.2932 1.476 4.2996.985 1.0065 2.32 1.5084 4.007 1.5084.735 0 1.406-.1078 2.012-.3249.605-.2157 1.188-.5516 1.751-1.0051l-1.623-3.148z"}),c("defs",null,[c("linearGradient",{id:"a",x1:"17.8",x2:"35.2503",y1:"8.3118",y2:"24.2496",gradientUnits:"userSpaceOnUse"},[c("stop",{"stop-color":"#0c81e4"}),c("stop",{offset:"1","stop-color":"#25f39f"})])])],-1)])]),_:1},8,["to"])}}}),W=Object.assign(Vt,{__name:"SiteBrand"});function Ht(n,l={}){const s=n.detail.originalEvent,a=s.target;if(!a?.isConnected){n.preventDefault();return}l.scrollable&&(s.offsetX>a.clientWidth||s.offsetY>a.clientHeight)&&n.preventDefault()}const Kt={slots:{overlay:"fixed inset-0 bg-elevated/75",content:"fixed bg-default divide-y divide-default sm:ring ring-default sm:shadow-lg flex flex-col focus:outline-none",header:"flex items-center gap-1.5 p-4 sm:px-6 min-h-(--ui-header-height)",wrapper:"",body:"flex-1 overflow-y-auto p-4 sm:p-6",footer:"flex items-center gap-1.5 p-4 sm:px-6",title:"text-highlighted font-semibold",description:"mt-1 text-muted text-sm",close:"absolute top-4 end-4"},variants:{side:{top:{content:""},right:{content:"max-w-md"},bottom:{content:""},left:{content:"max-w-md"}},inset:{true:{content:"rounded-lg"}},transition:{true:{overlay:"data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]"}}},compoundVariants:[{side:"top",inset:!0,class:{content:"max-h-[calc(100%-2rem)] inset-x-4 top-4"}},{side:"top",inset:!1,class:{content:"max-h-full inset-x-0 top-0"}},{side:"right",inset:!0,class:{content:"w-[calc(100%-2rem)] inset-y-4 right-4"}},{side:"right",inset:!1,class:{content:"w-full inset-y-0 right-0"}},{side:"bottom",inset:!0,class:{content:"max-h-[calc(100%-2rem)] inset-x-4 bottom-4"}},{side:"bottom",inset:!1,class:{content:"max-h-full inset-x-0 bottom-0"}},{side:"left",inset:!0,class:{content:"w-[calc(100%-2rem)] inset-y-4 left-4"}},{side:"left",inset:!1,class:{content:"w-full inset-y-0 left-0"}},{transition:!0,side:"top",class:{content:"data-[state=open]:animate-[slide-in-from-top_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-top_200ms_ease-in-out]"}},{transition:!0,side:"right",class:{content:"data-[state=open]:animate-[slide-in-from-right_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-right_200ms_ease-in-out]"}},{transition:!0,side:"bottom",class:{content:"data-[state=open]:animate-[slide-in-from-bottom_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-bottom_200ms_ease-in-out]"}},{transition:!0,side:"left",class:{content:"data-[state=open]:animate-[slide-in-from-left_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-left_200ms_ease-in-out]"}}]},we={__name:"USlideover",props:{title:{type:String,required:!1},description:{type:String,required:!1},content:{type:Object,required:!1},overlay:{type:Boolean,required:!1,default:!0},transition:{type:Boolean,required:!1,default:!0},side:{type:null,required:!1,default:"right"},inset:{type:Boolean,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},close:{type:[Boolean,Object],required:!1,default:!0},closeIcon:{type:null,required:!1},dismissible:{type:Boolean,required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["after:leave","after:enter","close:prevent","update:open"],setup(n,{emit:l}){const s=n,a=l,t=Ae(),{t:u}=Ee(),d=Re(),i=Me("slideover",s),r=Pe(Le(s,"open","defaultOpen","modal"),a),_=Ne(de(()=>s.portal)),v=de(()=>s.content),k=O(()=>s.dismissible?{pointerDownOutside:Ht}:["interactOutside","escapeKeyDown"].reduce(($,S)=>($[S]=I=>{I.preventDefault(),a("close:prevent")},$),{})),m=O(()=>pe({extend:pe(Kt),...d.ui?.slideover||{}})({transition:s.transition,side:s.side,inset:s.inset}));return(g,$)=>(o(),y(e(it),J(Z(e(r))),{default:h(({open:S,close:I})=>[t.default?(o(),y(e(Ct),{key:0,"as-child":"",class:x(s.class)},{default:h(()=>[D(g.$slots,"default",{open:S})]),_:2},1032,["class"])):b("",!0),f(e(wt),J(Z(e(_))),{default:h(()=>[n.overlay?(o(),y(e(xt),{key:0,"data-slot":"overlay",class:x(m.value.overlay({class:e(i)?.overlay}))},null,8,["class"])):b("",!0),f(e(vt),M({"data-side":n.side,"data-slot":"content",class:m.value.content({class:[!t.default&&s.class,e(i)?.content]}
1)},v.value,{onAfterEnter:$[0]||($[0]=B=>a("after:enter")),onAfterLeave:$[1]||($[1]=B=>a("after:leave"))},Fe(k.value)),{default:h(()=>[!n.title&&!t.title||!n.description&&!t.description||t.content?(o(),y(e(je),{key:0},{default:h(()=>[!n.title&&!t.title?(o(),y(e(X),{key:0})):t.content?(o(),y(e(X),{key:1},{default:h(()=>[D(g.$slots,"title",{},()=>[E(C(n.title),1)])]),_:3})):b("",!0),!n.description&&!t.description?(o(),y(e(Q),{key:2})):t.content?(o(),y(e(Q),{key:3},{default:h(()=>[D(g.$slots,"description",{},()=>[E(C(n.description),1)])]),_:3})):b("",!0)]),_:3})):b("",!0),D(g.$slots,"content",{close:I},()=>[t.header||n.title||t.title||n.description||t.description||s.close||t.close?(o(),p("div",{key:0,"data-slot":"header",class:x(m.value.header({class:e(i)?.header}))},[D(g.$slots,"header",{close:I},()=>[c("div",{"data-slot":"wrapper",class:x(m.value.wrapper({class:e(i)?.wrapper}))},[n.title||t.title?(o(),y(e(X),{key:0,"data-slot":"title",class:x(m.value.title({class:e(i)?.title}))},{default:h(()=>[D(g.$slots,"title",{},()=>[E(C(n.title),1)])]),_:3},8,["class"])):b("",!0),n.description||t.description?(o(),y(e(Q),{key:1,"data-slot":"description",class:x(m.value.description({class:e(i)?.description}))},{default:h(()=>[D(g.$slots,"description",{},()=>[E(C(n.description),1)])]),_:3},8,["class"])):b("",!0)],2),D(g.$slots,"actions"),s.close||t.close?(o(),y(e(ct),{key:0,"as-child":""},{default:h(()=>[D(g.$slots,"close",{ui:m.value},()=>[s.close?(o(),y(V,M({key:0,icon:n.closeIcon||e(d).ui.icons.close,color:"neutral",variant:"ghost","aria-label":e(u)("slideover.close")},typeof s.close=="object"?s.close:{},{"data-slot":"close",class:m.value.close({class:e(i)?.close})}),null,16,["icon","aria-label","class"])):b("",!0)])]),_:2},1024)):b("",!0)])],2)):b("",!0),c("div",{"data-slot":"body",class:x(m.value.body({class:e(i)?.body}))},[D(g.$slots,"body",{close:I})],2),t.footer?(o(),p("div",{key:1,"data-slot":"footer",class:x(m.value.footer({class:e(i)?.footer}))},[D(g.$slots,"footer",{close:I})],2)):b("",!0)])]),_:2},1040,["data-side","class"])]),_:2},1040)]),_:3},16))}},Wt={class:"bg-neutral flex justify-center container-px py-6 text-white"},Yt={class:"mb-10 flex justify-start container-px pt-4 text-white"},Gt={class:"flex h-full overflow-y-auto"},Qt={class:"flex flex-col gap-6 container-px"},Xt={key:0},Jt={key:0},Zt=w({__name:"MobileNavigationPrimaryNavItem",props:{navItem:{}},setup(n){const l=R(!1),{linkHelper:s,showNavItem:a,megamenuLinkTitle:t,isActive:u}=H(),d=P(),i=n,r=O(()=>t(i.navItem)||""),_=O(()=>i.navItem?.link?.story?.content?.associatedDescription||""),v=me({slots:{buttonBase:"w-full justify-between hover:underline",trailingIcon:"size-7",linkTextWrapper:"flex flex-col text-left gap-0",linkTextTitle:"text-lg font-light",linkTextDescription:"text-sm leading-tight font-light text-jet-black-800",subnavTextWrapper:"flex gap-4 items-start",subnavBaseButton:"gap-4"}}),{buttonBase:k,trailingIcon:m,linkTextWrapper:g,linkTextTitle:$,linkTextDescription:S,subnavBaseButton:I}=v({});return(B,q)=>{const L=V,De=W,ce=ye,Ce=we,Oe=z;return o(),p("li",null,[n.navItem.megamenu?(o(),y(Ce,{key:0,open:e(l),"onUpdate:open":q[1]||(q[1]=j=>ve(l)?l.value=j:null),title:`${e(r)} sub-navigation`,description:`Sub-navigation for ${e(r)}`,ui:{content:"divide-y-0"}},{content:h(()=>[c("div",Wt,[f(De,{class:"max-w-53","audience-specific":""})]),c("div",Yt,[f(L,{label:"Go back",variant:"link",ui:{base:"gap-4!",leadingIcon:"size-7"},color:"neutral",icon:"i-solar-alt-arrow-left-line-duotone",onClick:q[0]||(q[0]=j=>l.value=!1)})]),c("div",Gt,[c("ul",Qt,[e(a)(n.navItem)?(o(),p("li",Xt,[f(ce,{item:n.navItem,ui:{buttonBase:e(I)(),linkTextWrapper:e(g)(),linkTextTitle:e($)(),linkTextDescription:e(S)()}},null,8,["item","ui"])])):b("",!0),(o(!0),p(T,null,A(e(d).getNavItemMegamenu(i.navItem)?.navLinks||[],j=>(o(),p(T,{key:j.id},[e(a)(j)?(o(),p("li",Jt,[f(ce,{class:x([e(u)(j)]),item:j,ui:{buttonBase:e(I)(),linkTextWrapper:e(g)(),linkTextTitle:e($)(),linkTextDescription:e(S)()}},null,8,["class","item","ui"])])):b("",!0)],64))),128))])])]),default:h(()=>[f(L,{variant:"link",color:"neutral","trailing-icon":"i-solar-alt-arrow-right-line-duotone",ui:{base:e(k)(),trailingIcon:e(m)()},class:x([e(u)(n.navItem)])},{default:h(()=>[c("span",{class:x(e(g)())},[c("span",{class:x(e($)())},C(e(r)),3),c("span",{class:x(e(S)())},C(e(_)),3)],2)]),_:1},8,["ui","class"])]),_:1},8,["open","title","description"])):e(a)(n.navItem)?(o(),y(Oe,{key:1,class:x([e(k)(),e(u)(n.navItem)]),to:e(s)(n.navItem?.link?.story?.full_slug)},{default:h(()=>[c("span",{class:x(e(g)())},[c("span",{class:x(e($)())},C(e(r)),3),c("span",{class:x(e(S)())},C(e(_)),3)],2)]),_:1},8,["class","to"])):b("",!0)])}}}),en=Object.assign(Zt,{__name:"MobileNavigationPrimaryNavItem"}),tn=w({__name:"SocialLinks",props:{ui:{}},setup(n){const{trackEvent:l}=Ue(),s=P(),a=[{name:"Facebook",url:"https://www.facebook.com/HealthNetHomecareLtd",icon:"i-ri-facebook-fill"},{name:"LinkedIn",url:"https://www.linkedin.com/company/healthnet-homecare/",icon:"i-ri-linkedin-fill"}],t=O(()=>{switch(s.currentAudience){case"healthcare-professionals":case"corporate-partners":return[a[1]];default:return[a[0]]}}
1),u=me({slots:{base:"flex gap-4",button:"flex h-10 w-10 items-center justify-center rounded-full transition-opacity hover:opacity-80",icon:"h-6 w-6"}}),{base:d,button:i,icon:r}=u(),_=v=>{l({event:"follow",method:v})};return(v,k)=>{const m=ze,g=V;return o(),p("ul",{class:x(e(d)({class:n.ui?.base}))},[(o(!0),p(T,null,A(e(t),$=>(o(),p("li",{key:$.name},[f(g,{variant:"link",href:$.url,"aria-label":$.name,target:"_blank",rel:"noopener noreferrer",class:x(e(i)({class:n.ui?.button})),onClick:S=>_($.name)},{default:h(()=>[f(m,{name:$.icon,class:x(e(r)({class:n.ui?.icon}))},null,8,["name","class"])]),_:2},1032,["href","aria-label","class","onClick"])]))),128))],2)}}}),$e=Object.assign(tn,{__name:"SocialLinks"}),nn={class:"ml-auto xl:hidden"},sn={class:"bg-neutral relative flex w-full"},on={class:"absolute top-0 right-0 z-10 flex h-full items-center"},an={class:"flex h-full flex-col overflow-y-auto"},ln={class:"flex justify-between container-px py-6"},rn={key:0,class:"shrink-0 container-px"},cn={class:"flex flex-col gap-6"},un={class:"container mt-4 flex grow flex-col container-px pt-2"},dn={class:"text-xs"},pn=w({__name:"MobileNavigationPrimary",props:{nav:{}},setup(n){const l=P(),s=Ve(),a=O(()=>s.isGreaterOrEquals("xl")),t=ge(),u=R(!1),d=O(()=>l.currentAudience||"patients");return U(()=>t.path,()=>{t.path==="/"||t.path==="/healthcare-professionals"||t.path==="/corporate-partners"||(u.value=!1)}),U(a,i=>{i&&(u.value=!1)},{immediate:!0}),(i,r)=>{const _=V,v=xe,k=ke,m=W,g=en,$=$e,S=we;return o(),p("div",nn,[f(S,{open:e(u),"onUpdate:open":r[1]||(r[1]=I=>ve(u)?u.value=I:null),title:"Show website navigation",description:"Main website navigation",ui:{content:"divide-y-0 pb-4 xl:hidden"}},{content:h(()=>[c("div",sn,[f(v,{"nav-classes":"w-full",class:"w-full"}),c("div",on,[f(k,{class:"mr-6"})])]),c("div",an,[c("div",ln,[f(m,{class:"max-w-53","audience-specific":""}),f(_,{label:"Close",variant:"link",ui:{base:"gap-4! leading-none"},color:"neutral",size:"xl","trailing-icon":"i-solar-close-square-outline",onClick:r[0]||(r[0]=I=>u.value=!1)})]),n.nav?.length>0?(o(),p("nav",rn,[c("ul",cn,[(o(!0),p(T,null,A(n.nav,I=>(o(),y(g,{key:I._uid,"nav-item":I},null,8,["nav-item"]))),128))])])):b("",!0),c("div",un,[r[2]||(r[2]=c("hr",{class:"mb-6 h-px w-full border-0 bg-jet-black-200","aria-hidden":"true"},null,-1)),f(_,{label:i.$t(e(Y).textKey),to:e(Y).link[e(d)].default,variant:"outline",color:"neutral",class:"mb-8 self-start","trailing-icon":"i-solar-alt-arrow-right-line-duotone",size:"xl"},null,8,["label","to"]),r[3]||(r[3]=c("p",{class:"mt-auto mb-4"},[E(" HealthNet Homecare (UK) Limited"),c("br"),E(" Unit 1 & 2 Alfred Eley Close"),c("br"),E(" Swadlincote, England, DE11 0WU ")],-1)),c("p",dn,C(i.$t("followUsOnSocialMedia")),1),f($)])])]),default:h(()=>[f(_,{label:"Menu",variant:"link","trailing-icon":"i-solar-hamburger-menu-broken",size:"xl",ui:{base:"gap-4!",trailingIcon:"size-7"}})]),_:1},8,["open"])])}}}),_n=Object.assign(pn,{__name:"MobileNavigationPrimary"}),fn={class:"flex w-full rounded-lg border border-neutral-200 bg-white p-4 shadow"},mn={class:"grid w-full grid-cols-2 gap-6"},vn={key:0,class:"flex w-full"},gn=w({__name:"DesktopNavigationPrimaryMegamenu",props:{item:{},i:{}},setup(n){const l=P(),{isActive:s,showNavItem:a}=H();return(t,u)=>{const d=ye;return e(l).getNavItemMegamenu(n.item)?.navLinks?(o(),p("div",{key:0,ref:"megamenuRef",class:x(["absolute top-full z-100 hidden w-159.5 pt-4 group-focus-within:flex group-hover:flex",[n.i===0?"left-0":"left-1/2 -translate-x-1/2"]])},[c("div",fn,[c("ul",mn,[(o(!0),p(T,null,A(e(l).getNavItemMegamenu(n.item)?.navLinks,i=>(o(),p(T,{key:i._uid},[e(a)(i)?(o(),p("li",vn,[f(d,{class:x(e(s)(i)),item:i},null,8,["class","item"])])):b("",!0)],64))),128))])])],2)):b("",!0)}}}),hn=Object.assign(gn,{__name:"DesktopNavigationPrimaryMegamenu"}),yn={key:1,"aria-hidden":"true",class:"absolute top-1/2 right-0 h-5 w-px -translate-y-1/2 bg-neutral-400"},bn=w({__name:"DesktopNavigationPrimaryNavItem",props:{item:{},i:{},isLast:{type:Boolean}},setup(n){const{linkHelper:l,megamenuLinkTitle:s,isActive:a}=H(),t=R(null),u=ge(),d=()=>{t.value?.blur()};return U(()=>u.path,()=>{t.value&&t.value.querySelectorAll("a, button, [tabindex]").forEach(r=>{r instanceof HTMLElement&&r.blur()})}),(i,r)=>{const _=z,v=hn;return o(),p("li",{ref_key:"navItemRef",ref:t,class:"group relative pr-3 2xl:pr-6",onClick:d},[f(_,{class:x(["group flex flex-col items-start text-16 hover:text-blue-900"]),to:e(l)(n.item?.link?.story?.full_slug||"")},{default:h(()=>[c("span",{class:x(["pb-1 leading-none",e(a)(n.item)])},C(e(s)(n.item)),3)]),_:1},8,["to"]),n.item.megamenu?(o(),y(v,{key:0,item:n.item,i:n.i},null,8,["item","i"])):b("",!0),n.isLast?b("",!0):(o(),p("span",yn))],512)}}}),xn=Object.assign(bn,{__name:"DesktopNavigationPrimaryNavItem"}),kn={key:0},wn=w({__name:"DesktopNavigationPrimary",props:{ulClasses:{},nav:{}},setup(n){return(l,s)=>{const a=xn;return n.nav?.length>0?(o(),p("nav",kn,[c("ul",{class:x(n.ulClasses)},[(o(!0),p(T,null,A(n.nav,(t,u)=>(o(),y(a,{key:t._uid,item:t,i:u,"is-last":u===n.nav.length-1},null,8,["item","i","is-last"]))),128))],2)])):b("",!0)}}}),$n=Object.assign(wn,{__name:"DesktopNavigationPrimary"}),Dn={class:"container container-px py-6 xl:py-8"},Cn={class:"flex w-full items-center"},On={class:"ml-12 hidden xl:flex xl:items-center"},Sn=w({__name:"SiteHeaderMainBar",setup(n){const l=P(),s=O(()=>l.currentAudience||"patients"),a=O(()=>l.getPrimaryNavByAudience?.navItems||[]);return(t,u)=>{const d=W,i=_n,r=$n,_=V;return o(),p("div",Dn,[c("div",Cn,[f(d,{class:"max-w-45 lg:max-w-53","audience-specific":""}),f(i,{nav:e(a)},null,8,["nav"]),c("div",On,[f(r,{nav:e(a),"ul-classes":"flex gap-3 2xl:gap-6 xl:items-center"},null,8,["nav"])]),f(_,{label:t.$t(e(Y).textKey),to:e(Y).link[e(s)].default,class:"ml-auto hidden text-16! xl:flex",variant:"outline",color:"neutral",size:"xl","trailing-icon":"i-solar-alt-arrow-right-line-duotone"},null,8,["label","to"])])])}}}),In=Object.assign(Sn,{__name:"SiteHeaderMainBar"}),Bn=()=>{const n=He(),{t:l}=G(),s=async()=>
1{if(n.trustpilotData.reviewsCount>0)return n.trustpilotData;try{const{data:t,error:u}=await Ke("/api/trustpilot/summary","$c0N-XgLR0N");if(u.value)return console.error("Failed to fetch Trustpilot data:",u.value),n.trustpilotData;if(t.value?.success&&t.value?.data){const d=t.value.data,i=d.trustLevel||"";n.trustpilotData={stars:d.stars||0,rated:i,reviewsCount:d.numberOfReviews||0}}return n.trustpilotData}catch(t){return console.error("Error fetching Trustpilot data:",t),n.trustpilotData}},a=O(()=>{const t=n.trustpilotData.rated;return t?l(`trustpilot.${t.toLowerCase()}`):""});return{trustpilotData:O(()=>n.trustpilotData),translatedRating:a,fetchTrustpilotSummary:s}},Tn={class:"flex gap-1"},qn={class:"hidden md:inline"},An={class:"font-medium"},En={class:"hidden md:inline"},Rn={class:"inline-flex items-center gap-0.5"},Mn={class:"text-blue-900 underline"},Pn={class:"font-medium"},Ln=w({__name:"TrustpilotBar",async setup(n){let l,s;const{translatedRating:a,trustpilotData:t,fetchTrustpilotSummary:u}=Bn();[l,s]=We(()=>u()),await l,s(),Ye([{"@type":"MedicalOrganization",aggregateRating:{"@type":"AggregateRating",bestRating:5,ratingV
1alue:O(()=>Number(t.value.stars||5)),reviewCount:O(()=>Number(t.value.reviewsCount||250))}}]);const d=i=>i>=1e6?(i/1e6).toFixed(1).replace(/\.0$/,"")+"M":i>=1e3?(i/1e3).toFixed(1).replace(/\.0$/,"")+"K":i.toString();return(i,r)=>{const _=se,v=z;return e(t)?.reviewsCount>0?(o(),y(v,{key:0,to:"https://uk.trustpilot.com/review/healthnethomecare.co.uk",target:"_blank",class:"flex w-full justify-between gap-2 font-normal text-jet-black-950 sm:w-auto"},{default:h(()=>[c("span",Tn,[r[0]||(r[0]=c("span",{class:"md:hidden"},"Trustpilot",-1)),c("span",qn,C(i.$t("wereRated")),1),c("span",An,C(e(a)),1),c("span",En,C(i.$t("on"))+" Trustpilot",1)]),c("span",Rn,[(o(!0),p(T,null,A(e(t).stars,k=>(o(),p("span",{key:`star-${k}`,class:"flex aspect-square items-center bg-[#51B37F] p-0.5 leading-none"},[f(_,{name:"i-simple-icons-trustpilot",class:"m-auto size-4 text-white"})]))),128))]),c("span",Mn,[c("span",Pn,C(d(e(t).reviewsCount)),1),r[1]||(r[1]=E(" reviews ",-1))])]),_:1})):b("",!0)}}}),Nn=Object.assign(Ln,{__name:"TrustpilotBar"}),Fn={class:"bg-green-100 py-1 text-sm shadow-sm"},jn={class:"container flex justify-between container-px"},zn={class:"hidden xl:flex"},Un=w({__name:"SiteHeaderBottomBar",setup(n){const l=P(),s=O(()=>l.getPrimaryNavByAudience||null);return(a,t)=>{const u=nt,d=Nn;return o(),p("div",Fn,[c("div",jn,[c("div",zn,[(o(),y(u,{key:e(s)?._uid,content:e(s)?.headerBottom},null,8,["content"]))]),f(d)])])}}}),Vn=Object.assign(Un,{__name:"SiteHeaderBottomBar"}),Hn={role:"banner",class:"w-full bg-neutral-200/20"},Kn=w({__name:"SiteHeader",setup(n){return(l,s)=>{const a=zt,t=In,u=Vn;return o(),p("header",Hn,[f(a),f(t),f(u)])}}}),Wn=Object.assign(Kn,{__name:"SiteHeader"}),Yn=["aria-label"],Gn={key:1,role:"status",class:"grid h-105 grid-cols-1 items-center justify-center gap-2 lg:h-60.5 lg:grid-cols-2"},Qn=w({__name:"PatientsDualSignposts",setup(n){const l=R(null),{getLanguage:s}=re(),{locale:a}=G(),t=R(null),u=oe(l,{threshold:0,once:!0,rootMargin:"600px"});return U(u,async d=>{if(!d||!l.value||t.value)return;const i=ae(),r=ie(),{data:_}=await i.get("cdn/stories/",{version:r.public.STORYBLOK_VERSION||"draft",by_uuids:r.public.STORY_UUID_PATIENTS_DUAL_SIGNPOSTS,language:s(a.value),resolve_links:"link"});if(_.stories.length>0){t.value=_.stories[0].content;const v=_.stories[0].id;v&&le(v,k=>{t.value=k.content},{preventClicks:!0})}else console.warn("Patients dual signposts not found")},{once:!0}),(d,i)=>{const r=st;return o(),p("section",{"aria-label":d.$t("patientsDualSignposts"),ref_key:"wrapperRef",ref:l,class:"my-10 lg:my-8"},[e(t)?(o(),y(r,{key:0,blok:e(t),"a11y-rating":"aaa"},null,8,["blok"])):(o(),p("div",Gn,[...i[0]||(i[0]=[c("span",{class:"sr-only"},"Loading...",-1),c("span",{"aria-hidden":"true",class:"h-full animate-pulse bg-black/5"},null,-1),c("span",{"aria-hidden":"true",class:"h-full animate-pulse bg-black/5"},null,-1)])]))],8,Yn)}}}),Xn=Object.assign(Qn,{__name:"PatientsDualSignposts"}),Jn=["aria-label"],Zn={key:0,class:"container grid-layout container-px py-8 lg:pt-10 lg:pb-8.5"},es={class:"hidden max-w-87 space-y-6 lg:col-span-4 lg:block xl:col-span-5"},ts={class:"whitespace-pre-wrap"},ns={class:"font-sans text-sm tracking-[0.5px]"},ss={class:"col-span-full flex flex-col justify-between gap-y-8 md:flex-row md:gap-x-20 lg:col-span-8 lg:gap-x-12 xl:col-span-7 xl:gap-x-20"},os=["aria-label"],as={class:"font-sans text-lg tracking-[0.5px] md:text-sm"},ls={class:"space-y-4"},is=w({__name:"SiteUpperFooter",setup(n){const l=Ge("wrapperRef"),{currentAudience:s}=Qe(P()),{getLanguage:a}=re(),{locale:t}=G(),u=R(null),d=O(()=>{if(!u.value)return null;switch(s.value){case"healthcare-professionals":return u.value.hpLinks;case"corporate-partners":return u.value.corporateLinks;default:return u.value.patientLinks}}),i=oe(l,{threshold:0,once:!0,rootMargin:"600px"});return U(i,async r=>{if(!r||!l.value||u.value)return;const _=ae(),v=ie(),{data:k}=await _.get("cdn/stories/",{version:v.public.STORYBLOK_VERSION||"draft",by_uuids:v.public.STORY_UUID_UPPER_FOOTER,language:a(t.value),resolve_links:"link"});if(k.stories.length>
10){u.value=k.stories[0].content;const m=k.stories[0].id;m&&le(m,g=>{u.value=g.content},{preventClicks:!0})}else console.warn("Upper footer story not found")},{once:!0}),(r,_)=>{const v=W,k=$e,m=he("storyblok-component");return o(),p("section",{"aria-label":r.$t("upperFooter"),ref_key:"wrapperRef",ref:l,class:"border-gradient min-h-80 bg-snow shadow-[0px_4px_16px_0px_var(--tw-shadow-color)] shadow-blue-900/15 md:min-h-86 lg:min-h-65"},[e(u)?(o(),p("div",Zn,[c("div",es,[f(v,{class:"max-w-53"}),c("p",ts,C(e(u).address),1),c("div",null,[c("p",ns,C(r.$t("followUsOnSocialMedia")),1),f(k,{ui:{base:"gap-2 mt-2",button:"size-11",icon:"size-8"}})])]),c("div",ss,[(o(!0),p(T,null,A(e(d),(g,$)=>(o(),p("nav",{key:g._uid,class:"space-y-4",role:"navigation","aria-label":`${r.$t("upperFooterNavigationColumn")} ${$+1}`},[c("h4",as,C(g.columnTitle),1),c("ul",ls,[(o(!0),p(T,null,A(g.links,S=>(o(),p("li",{key:S._uid},[f(m,{blok:S,class:"font-sans! text-base! text-blue-900! transition-colors hover:text-jet-black-950! hover:underline!"},null,8,["blok"])]))),128))])],8,os))),128))])])):b("",!0)],8,Jn)}}}),rs=Object.assign(te(is,[["__scopeId","data-v-86cb88c1"]]),{__name:"SiteUpperFooter"}),cs={key:0,class:"container min-h-120 container-px"},us={class:"mx-auto hidden max-w-195.5 py-10 text-center text-lg xl:block"},ds={key:0,class:"hidden w-full grid-cols-3 gap-4 border-b border-jet-black-200 pb-10 text-center xl:grid"},ps={class:"flex w-auto"},_s={class:"grid-layout pt-8 max-lg:gap-y-4 xl:border-b xl:border-jet-black-200 xl:py-10"},fs=["aria-label"],ms={key:0,class:"flex flex-col gap-4"},vs={key:0},gs={key:0},hs={class:"cky-banner-element cursor-pointer text-base! text-blue-900! hover:underline"},ys={class:"grid-layout border-b border-jet-black-200 pt-8 pb-8 max-lg:gap-y-4 xl:py-10"},bs={class:"text-md xl:text-xs col-span-full"},xs=["aria-label"],ks={key:0,class:"flex flex-col gap-4"},ws={key:0},$s={class:"flex flex-col gap-8 pt-6 pb-12 md:flex-row md:items-center md:justify-between xl:py-10"},Ds={class:"text-sm"},Cs=w({__name:"SiteDeepFooter",setup(n){const l=R(null),{getLanguage:s}=re(),{locale:a}=G(),{basicLinkUrl:t}=H(),u=z,d=R(null),i=["lg:col-span-5","lg:col-span-4","lg:col-span-3"],r=O(()=>i.map((m,g)=>({items:d.value?.[`topColumn${g+1}`],spanClass:m}))),_=O(()=>i.map((m,g)=>({items:d.value?.[`bottomColumn${g+1}`],spanClass:m}))),v=oe(l,{threshold:0,once:!0,rootMargin:"600px"}),k=m=>m?.source&&m?.source?.startsWith("http")?{type:u,props:{to:m.source,target:"_blank",class:"hover:scale-105 transition-transform duration-300"}}:{type:"div",props:{}};return U(v,async m=>{if(!m||!l.value||d.value)return;const g=ae(),$=ie(),{data:S}=await g.get("cdn/stories/",{version:$.public.STORYBLOK_VERSION||"draft",by_uuids:$.public.STORY_UUID_DEEP_FOOTER,language:s(a.value),resolve_links:"link"});if(S.stories.length>0){d.value=S.stories[0].content;const I=S.stories[0].id;I&&le(I,B=>{d.value=B.content},{preventClicks:!0})}else console.warn("Deep footer story not found")},{once:!0}),(m,g)=>{const $=ot,S=he("storyblok-component"),I=W;return o(),p("footer",{ref_key:"wrapperRef",ref:l,class:"bg-blue-400/20"},[e(d)?(o(),p("div",cs,[c("p",us,C(e(d)?.tagline),1),e(d)?.logos?.length?(o(),p("div",ds,[(o(!0),p(T,null,A(e(d)?.logos,(B,q)=>(o(),y(Xe(k(B).type),{key:B.id,to:k(B).props?.to,target:k(B).props?.target,class:x([[k(B).props?.class,q%3===0?"mr-auto":"",q%3===1?"mx-auto":"",q%3===2?"ml-auto":""],"inline-flex"])},{default:h(()=>[c("div",ps,[B?(o(),y($,{key:0,media:B,"hide-spinner":"",sizes:[{dimensions:"0x0",from:"1px"}],class:"h-full max-h-18 w-auto"},null,8,["media"])):b("",!0)])]),_:2},1032,["to","target","class"]))),128))])):b("",!0),c("div",_s,[(o(!0),p(T,null,A(e(r),(B,q)=>(o(),p("nav",{key:q,role:"navigation","aria-label":`${m.$t("topFooterNavigationColumn")} ${q+1}`,class:x(["col-span-full",B.spanClass])},[B.items?.length?(o(),p("ul",ms,[(o(!0),p(T,null,A(B.items,L=>(o(),p(T,{key:L._uid},[e(t)(L)?(o(),p("li",vs,[f(S,{class:"text-base! text-blue-900! hover:underline",blok:L},null,8,["blok"])])):b("",!0)],64))),128)),q===1?(o(),p("li",gs,[c("button",hs,C(m.$t("cookieSettings")),1)])):b("",!0)])):b("",!0)],10,fs))),128))]),c("div",ys,[c("h4",bs,C(e(d)?.title),
11),(o(!0),p(T,null,A(e(_),(B,q)=>(o(),p("nav",{key:q,role:"navigation","aria-label":`${m.$t("bottomFooterNavigationColumn")} ${q+1}`,class:x(["col-span-full",B.spanClass])},[B.items?.length?(o(),p("ul",ks,[(o(!0),p(T,null,A(B.items,L=>(o(),p(T,{key:L._uid},[e(t)(L)?(o(),p("li",ws,[f(S,{class:"text-base! text-blue-900! hover:underline",blok:L},null,8,["blok"])])):b("",!0)],64))),128))])):b("",!0)],10,xs))),128))]),c("div",$s,[c("p",Ds,[E(C(m.$t("footerStatement"))+" ",1),f(e(u),{to:"https://www.effectdigital.com/",target:"_blank",class:"underline"},{default:h(()=>[...g[0]||(g[0]=[E(" Effect Digital",-1)])]),_:1}),g[1]||(g[1]=E(". ",-1))]),f(I,{class:"max-w-31.5"})])])):b("",!0)],512)}}}),Os=Object.assign(Cs,{__name:"SiteDeepFooter"}),Ss={class:"layout"},zs=w({__name:"default",setup(n){const l=P(),s=O(()=>l.currentAudience==="patients");return(a,t)=>{const u=Bt,d=Wn,i=Xn,r=rs,_=Os;return o(),p("div",Ss,[f(u),f(d),c("div",null,[D(a.$slots,"default")]),e(s)?(o(),y(i,{key:0})):b("",!0),f(r),f(_)])}}});export{zs as default};
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.