1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,92904,18534,e=>{"use strict";var t=e.i(10740),a=e.i(27684),s=e.i(89457),i=e.i(10940);function l(e){let s,l=(0,a.c)(2),{children:n}=e;return l[0]!==n?(s=(0,t.jsx)(i.default,{src:"/images/icons/standard-icons/chevron-left-white.svg",alt:"Back arrow",focusSrc:"/images/icons/standard-icons/chevron-left-black.svg",hoverSrc:"/images/icons/standard-icons/chevron-left-blue.svg",size:"sm",imgClassName:"min-w-6 w-6! flex-shrink-0",eager:!0,children:n}),l[0]=n,l[1]=s):s=l[1],s}e.s(["default",0,l],18534),e.s(["default",0,function(e){let i,n,r,c=(0,a.c)(7),{className:o}=e,d=(0,s.useRouter)(),u=(0,s.usePathname)();c[0]!==u||c[1]!==d?(i=e=>{if(e.preventDefault(),window.history.length>2)d.back();else{let e=u.split("/").filter(Boolean),t=`/${e.slice(0,-1).join("/")}`;u.includes("/health-wellbeing/articles/")&&(t="/health-wellbeing"),d.push(t||"/")}},c[0]=u,c[1]=d,c[2]=i):i=c[2];let h=i,m=`${void 0===o?"btn standard-btn-blue px-10":o} group leading-none transition-none! `;return c[3]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(l,{children:(0,t.jsx)("span",{children:"Back"})}),c[3]=n):n=c[3],c[4]!==h||c[5]!==m?(r=(0,t.jsx)("button",{onClick:h,className:m,children:n}),c[4]=h,c[5]=m,c[6]=r):r=c[6],r}],92904)},84530,e=>{"use strict";var t=e.i(10740),a=e.i(27684);e.s(["default",0,function(e){let s,i,l=(0,a.c)(8),{directUrl:n,trackingLabel:r,label:c,className:o,dataTestId:d}=e,u=void 0===n?"":n,h=void 0===c?"Get a quote":c;return l[0]!==u?(s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return`https://my-i.wpa.org.uk/get-quote${e}`}(u),l[0]=u,l[1]=s):s=l[1],l[2]!==o||l[3]!==d||l[4]!==h||l[5]!==s||l[6]!==r?(i=(0,t.jsx)("a",{href:s,"data-track-quote":r,className:o,"data-testid":d,children:h}),l[2]=o,l[3]=d,l[4]=h,l[5]=s,l[6]=r,l[7]=i):i=l[7],i}],84530)},35521,e=>{"use strict";var t=e.i(10740),a=e.i(27684),s=e.i(79052),i=e.i(81918),l=e.i(92904),n=e.i(84530),r=e.i(18534);function c(e){let i,l,n=(0,a.c)(3),{className:c}=e,o=`${void 0===c?"btn standard-btn-blue px-10":c} group leading-none transition-none! inline-block`;return n[0]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(r.default,{children:(0,t.jsx)("span",{children:"News"})}),n[0]=i):i=n[0],n[1]!==o?(l=(0,t.jsx)(s.default,{href:"/news",className:o,children:i}),n[1]=o,n[2]=l):l=n[2],l}var o=e.i(95634);function d(e){let s,i,l,n=(0,a.c)(9),{data:r,id:c,testId:o}=e;if(n[0]!==r){let e;n[2]===Symbol.for("react.memo_cache_sentinel")?(e=/</g,n[2]=e):e=n[2],s=JSON.stringify(r).replace(e,"\\u003c"),n[0]=r,n[1]=s}else s=n[1];let d=s;return n[3]!==d?(i={__html:d},n[3]=d,n[4]=i):i=n[4],n[5]!==c||n[6]!==i||n[7]!==o?(l=(0,t.jsx)("script",{id:c,type:"application/ld+json","data-testid":o,dangerouslySetInnerHTML:i}),n[5]=c,n[6]=i,n[7]=o,n[8]=l):l=n[8],l}function u(e){let i,l,n,r,c,u,m=(0,a.c)(12),{breadcrumbs:f}=e;if(m[0]!==f)i={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Homepage",item:"https://www.wpa.org.uk/"},...f.map((e,t)=>({"@type":"ListItem",position:t+2,name:e.label,item:e.href?"https://www.wpa.org.uk"+e.href:void 0}))]},m[0]=f,m[1]=i;else i=m[1];let g=i;return m[2]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)(s.default,{href:"/",className:"font-light my-auto hover:opacity-70 group","aria-label":"Go to homepage","data-testid":"breadcrumb-home-link",children:(0,t.jsx)(o.default,{src:"/images/icons/standard-icons/house-fill-white.svg",focusSrc:"/images/icons/standard-icons/house-fill-black.svg",alt:"Homepage",size:"sm",eager:!0})}),m[2]=l):l=m[2],m[3]!==f?(n=f.map(h),m[3]=f,m[4]=n):n=m[4],m[5]!==n?(r=(0,t.jsxs)("nav",{className:"animate-fade-in-up inline-flex flex-wrap gap-1 sm:gap-3 m-bottom text-sm sm:text-base 2xl:text-lg","aria-label":"breadcrumb",children:[l,n]}),m[5]=n,m[6]=r):r=m[6],m[7]!==g?(c=(0,t.jsx)(d,{id:"ld-structuredData",data:g,testId:"structured-data"}),m[7]=g,m[8]=c):c=m[8],m[9]!==r||m[10]!==c?(u=(0,t.jsxs)(t.Fragment,{children:[r,c]}),m[9]=r,m[10]=c,m[11]=u):u=m[11],u}function h(e){return(0,t.jsxs)("div",{className:"flex gap-1 sm:gap-3",children:[(0,t.jsx)(o.default,{src:"/images/icons/standard-icons/chevron-right-white.svg",alt:"Chevron",size:"xs",className:"my-auto",eager:!0}),(0,t.jsx)(s.default,{href:e.href,className:"text-white font-light my-auto","data-testid":"breadcrumb"+e.href.split("/").join("-")+"-link",children:e.label},e.href)]},e.href)}var m=e.i(23368),f=e.i(69227);e.s(["default",0,function(e){let r,d,h,g,x,b,p,v,w,j,N,y,k,S,$=(0,a.c)(43),{backgroundImage:_,breadcrumbs:I,heading:L,subtitle:z,link:C,getQuoteButton:E,logo:T,hasOverlay:B,backButton:P,newsButton:U,publishedDate:O}=e,[R,q]=(0,i.useState)(!1);$[0]!==_.src||$[1]!==R?(r=(0,f.isValidImageSrc)(_.src)&&!R,$[0]=_.src,$[1]=R,$[2]=r):r=$[2];let A=r;$[3]!==_.alt||$[4]!==_.src||$[5]!==A?(d=A?(0,t.jsx)(m.default,{src:_.src,alt:_.alt,width:1920,height:1080,preload:!0,sizes:"100vw",className:"absolute h-full w-full object-cover inset-0 text-transparent",style:{color:""},fetchPriority:"high",onError:()=>q(!0)}):(0,t.jsx)("div",{className:"absolute h-full w-full bg-k40 inset-0"}),$[3]=_.alt,$[4]=_.src,$[5]=A,$[6]=d):d=$[6];let H=`relative text-white pt-16 ${void 0===B||B?"bg-black/40":""}`;$[7]!==I?(h=I&&I.length>0&&(0,t.jsx)(u,{breadcrumbs:I}),$[7]=I,$[8]=h):h=$[8];let V=`animate-fade-in-up ${L.className||""}`;return $[9]!==L.image?(g=L.image&&(0,t.jsx)(o.default,{src:L.image.src,alt:L.image.alt,size:L.image.size||"xl"}),$[9]=L.image,$[10]=g):g=$[10],$[11]!==L.content||$[12]!==V||$[13]!==g?(x=(0,t.jsxs)("h1",{className:V,id:"hero",children:[g,L.content]}
1),$[11]=L.content,$[12]=V,$[13]=g,$[14]=x):x=$[14],$[15]!==O?(b=O&&(0,t.jsx)("p",{className:"animate-fade-in-up font-medium text-white",children:O}),$[15]=O,$[16]=b):b=$[16],$[17]!==z?(p=z&&(0,t.jsx)("p",{className:`subtitle animate-fade-in-up ${z.className||""}`,children:z.content}),$[17]=z,$[18]=p):p=$[18],$[19]!==P||$[20]!==E||$[21]!==C||$[22]!==U?(v=(E||C||P||U)&&(0,t.jsxs)("div",{className:"flex flex-wrap gap-default",children:[E&&(0,t.jsx)(n.default,{directUrl:E.directUrl,trackingLabel:E.trackingLabel,label:E?.label,className:`animate-fade-in-up ${E.className}`,dataTestId:E.dataTestId}),C&&(0,t.jsx)(s.default,{href:C.href,className:`animate-fade-in-up ${C.className}`,"data-testid":C.dataTestId,children:C.label}),P&&(0,t.jsx)(l.default,{className:"animate-fade-in-up btn standard-btn-blue px-10"}),U&&(0,t.jsx)(c,{className:"animate-fade-in-up btn standard-btn-blue px-10"})]}),$[19]=P,$[20]=E,$[21]=C,$[22]=U,$[23]=v):v=$[23],$[24]!==p||$[25]!==v||$[26]!==x||$[27]!==b?(w=(0,t.jsxs)("div",{className:"md:w-6/12",children:[x,b,p,v]}),$[24]=p,$[25]=v,$[26]=x,$[27]=b,$[28]=w):w=$[28],$[29]!==T?(j=T&&(0,t.jsx)(m.default,{src:T.src,alt:T.alt,width:0,height:0,sizes:"(max-width: 768px) 50vw, 25vw",className:`${T.className} animate-fade-in-up`,style:{color:""}}),$[29]=T,$[30]=j):j=$[30],$[31]!==w||$[32]!==j?(N=(0,t.jsxs)("div",{className:"md:flex md:justify-between",children:[w,j]}),$[31]=w,$[32]=j,$[33]=N):N=$[33],$[34]!==N||$[35]!==h?(y=(0,t.jsxs)("div",{className:"content-container",children:[h,N]}),$[34]=N,$[35]=h,$[36]=y):y=$[36],$[37]!==y||$[38]!==H?(k=(0,t.jsx)("div",{className:H,children:y}),$[37]=y,$[38]=H,$[39]=k):k=$[39],$[40]!==k||$[41]!==d?(S=(0,t.jsxs)("section",{className:"relative","aria-labelledby":"hero",children:[d,k]}),$[40]=k,$[41]=d,$[42]=S):S=$[42],S}],35521)},90438,e=>{"use strict";var t=e.i(27684),a=e.i(81918);let s=!1;function i(){return document.addEventListener("click",l,!0),()=>document.removeEventListener("click",l,!0)}function l(e){e.target.closest?.('nav[aria-label="Pagination Navigation"] a')&&(s=!0)}e.s(["__resetPaginationClicked",0,function(){s=!1},"default",0,function(e){let l,n,r,c=(0,t.c)(4),{focusTargetId:o}=e;return c[0]!==o?(l=()=>{if(!s)return;s=!1;let e=o||window.location.hash?.slice(1);if(!e)return;let t=document.getElementById(e);t&&(t.setAttribute("tabindex","-1"),t.focus({preventScroll:!0}))},n=[o],c[0]=o,c[1]=l,c[2]=n):(l=c[1],n=c[2]),(0,a.useEffect)(l,n),c[3]===Symbol.for("react.memo_cache_sentinel")?(r=[],c[3]=r):r=c[3],(0,a.useEffect)(i,r),null}])},37484,e=>{"use strict";var t=e.i(10740),a=e.i(27684),s=e.i(79052),i=e.i(81918),l=e.i(23368),n=e.i(69227);e.s(["default",0,function(e){let r,c,o,d,u,h,m,f,g,x,b=(0,a.c)(42),{imageSrc:p,imageAlt:v,imagePosition:w,imageSizes:j,imageContainerClassName:N,href:y,title:k,description:S,dataTestId:$,category:_,publishedDate:I,onClick:L,isGray:z,overlay:C,contentClassName:E,isExternalLink:T}=e,B=void 0===j?"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw":j,P=void 0!==T&&T,[U,O]=(0,i.useState)(!1);b[0]!==p||b[1]!==U?(r=(0,n.isValidImageSrc)(p)&&!U,b[0]=p,b[1]=U,b[2]=r):r=b[2];let R=r,q=`relative w-full overflow-hidden h-48 md:h-64 ${void 0===N?"":N}`;b[3]!==R||b[4]!==v||b[5]!==w||b[6]!==B||b[7]!==p?(c=R?(0,t.jsx)(l.default,{src:p,alt:v,width:"0",height:"0",loading:"lazy",sizes:B,className:`object-cover ${w||"object-center"} absolute h-full w-full inset-0 group-hover:scale-110 group-focus-visible:scale-110 transition-all duration-1000 ease-in-out text-transparent`,style:{color:""},onError:()=>O(!0)}):(0,t.jsx)("div",{className:"w-full h-full bg-k40"}),b[3]=R,b[4]=v,b[5]=w,b[6]=B,b[7]=p,b[8]=c):c=b[8],b[9]!==C||b[10]!==q||b[11]!==c?(o=(0,t.jsxs)("div",{className:q,children:[c,C]}),b[9]=C,b[10]=q,b[11]=c,b[12]=o):o=b[12];let A=`p-5 flex-1 flex flex-col group-hover:bg-transparent transition-colors ${E||""}`;b[13]!==_?(d=_&&(0,t.jsx)("p",{className:"group-hover:text-white group-focus-visible:text-white text-lg",children:_}),b[13]=_,b[14]=d):d=b[14],b[15]!==I?(u=I&&(0,t.jsx)("p",{className:"group-hover:text-white group-focus-visible:text-white text-sm",children:I}),b[15]=I,b[16]=u):u=b[16];let H=`text-provident-blue group-hover:text-white group-focus-visible:text-white ${S?"":"mb-0"}`;b[17]!==H||b[18]!==k?(h=(0,t.jsx)("h3",{className:H,children:k}),b[17]=H,b[18]=k,b[19]=h):h=b[19],b[20]!==S?(m=S&&(0,t.jsx)("p",{className:"font-light group-hover:no-underline group-hover:text-white group-focus-visible:text-white mb-0",children:S}),b[20]=S,b[21]=m):m=b[21],b[22]!==u||b[23]!==h||b[24]!==m||b[25]!==A||b[26]!==d?(f=(0,t.jsxs)("div",{className:A,children:[d,u,h,m]}),b[22]=u,b[23]=h,b[24]=m,b[25]=A,b[26]=d,b[27]=f):f=b[27],b[28]!==f||b[29]!==o?(g=(0,t.jsxs)(t.Fragment,{children:[o,f]}),b[28]=f,b[29]=o,b[30]=g):g=b[30];let V=g,D=`group border-0 flex flex-col basis-full rounded-lg overflow-hidden h-full w-full ${z?"bg-k5":"bg-white"} hover:bg-provident-blue hover:no-underline focus-visible:outline-solid focus-visible:outline-offset-0 focus-visible:outline-4 focus-visible:outline-corn-yellow focus-visible:bg-provident-blue focus-visible:text-white`,F=y||"#";if(L){let e;return b[31]!==D||b[32]!==$||b[33]!==L||b[34]!==V?(e=(0,t.jsx)("button",{onClick:L,className:D,"data-testid":$,children:V}),b[31]=D,b[32]=$,b[33]=L,b[34]=V,b[35]=e):e=b[35],e}return b[36]!==D||b[37]!==$||b[38]!==P||b[39]!==F||b[40]!==V?(x=P?(0,t.jsx)("a",{href:F,target:"_blank",rel:"noopener",className:D,"data-testid":$,children:V}):(0,t.jsx)(s.default,{href:F,className:D,"data-testid":$,children:V}),b[36]=D,b[37]=$,b[38]=P,b[39]=F,b[40]=V,b[41]=x):x=b[41],x}])},69227,e=>{"use strict";let t=["sacmsmedia.blob.core.windows.net","cdn.wpa.org.uk","dev.wpa.org.uk"];e.s(["isValidImageSrc",0,e=>{if(!e)return!1;if(e.startsWith("/"))return!0;try{let a=new URL(e);return t.includes(a.hostname)}catch{return!1}}])}]);
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.